diff --git a/FatePaths/-----------------------------------------.cs b/FatePaths/-----------------------------------------.cs new file mode 100644 index 00000000..2401adf3 --- /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 00000000..f4e83946 --- /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 00000000..98de8e36 --- /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 1f0d80c9..daec3bec 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 00000000..7848e7b0 Binary files /dev/null and b/FatePaths/Questionable.FatePaths.FateBundle differ diff --git a/FatePaths/Questionable.FatePaths.FateDefinitionSchema b/FatePaths/Questionable.FatePaths.FateDefinitionSchema index c8cef808..9ce73ed0 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 3e2bfcbe..22c285cc 100644 --- a/FatePaths/Questionable.FatePaths/AssemblyFateDefinitionLoader.cs +++ b/FatePaths/Questionable.FatePaths/AssemblyFateDefinitionLoader.cs @@ -1,105 +1,146 @@ 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.Reflection; +using System.Runtime.CompilerServices; +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 { - if (_definitions == null) + [MethodImpl(MethodImplOptions.NoInlining)] + get { - _definitions = new Dictionary(); - LoadDefinitions(); + return _206B_200B_202A_202A_200E_206D_200D_206B_202C_200B_200F_202D_202D_206D_200D_200B_202A_202B_200F_202D_202B_200E_206B_206D_202C_206E_206C_202C_206D_200C_202A_206E_200B_200C_202A_200E_206D_200D_200C_206B_202E(_206D_202B_206F_206C_200B_202C_206C_200D_200D_200D_206D_200E_202A_200D_202C_206F_200C_206B_202E_202B_202B_200B_202E_202E_202E_206D_202D_206C_202B_206A_202C_200E_202A_202A_206E_206B_206E_202C_200D_200D_202E(_200C_202A_202B_206F_206B_200B_202E_202C_206E_200E_206C_200C_200E_206D_206F_206B_200D_206B_206B_200C_200E_202B_202D_206B_206E_202A_202E_206C_206B_202C_200E_200C_206F_206C_206B_206C_206F_202E_206F_200D_202E(typeof(AssemblyFateDefinitionLoader).TypeHandle)), global::_003CModule_003E._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(657022072)); } - return _definitions ?? throw new InvalidOperationException("fate definition data is not initialized"); } - private static void AddDefinition(ushort id, FateDefinition definition) + internal static IReadOnlyDictionary GetDefinitions() { - _definitions[id] = definition; + return Definitions.Value; } - private static void LoadDefinitions() + [MethodImpl(MethodImplOptions.NoInlining)] + private static IReadOnlyDictionary LoadDefinitions() { - LoadDefinition0(); + Stopwatch stopwatch = _200F_202C_206F_200F_202B_202D_200C_202A_202A_206E_202B_202D_206D_202B_200F_200F_206E_206A_200F_200E_202E_206A_206C_206E_206E_206E_202B_206B_200F_206B_206F_200B_206A_206C_202E_206F_202A_200C_206B_206D_202E(); + Stream stream = _206B_200B_202A_202A_200E_206D_200D_206B_202C_200B_200F_202D_202D_206D_200D_200B_202A_202B_200F_202D_202B_200E_206B_206D_202C_206E_206C_202C_206D_200C_202A_206E_200B_200C_202A_200E_206D_200D_200C_206B_202E(_206D_202B_206F_206C_200B_202C_206C_200D_200D_200D_206D_200E_202A_200D_202C_206F_200C_206B_202E_202B_202B_200B_202E_202E_202E_206D_202D_206C_202B_206A_202C_200E_202A_202A_206E_206B_206E_202C_200D_200D_202E(_200C_202A_202B_206F_206B_200B_202E_202C_206E_200E_206C_200C_200E_206D_206F_206B_200D_206B_206B_200C_200E_202B_202D_206B_206E_202A_202E_206C_206B_202C_200E_200C_206F_206C_206B_206C_206F_202E_206F_200D_202E(typeof(AssemblyFateDefinitionLoader).TypeHandle)), global::_003CModule_003E._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(1087605776)); + try + { + byte[] array = PathBundleSecret.Key(); + List> list = PathBundle.Deserialize(stream, array); + _206B_202D_202C_200F_206D_202E_202C_200F_206B_202C_206E_202A_200B_206E_206E_206E_200B_200D_206F_206B_206B_202C_202E_202E_202D_206A_200C_202E_202C_202E_206F_202D_202A_206D_202C_202D_206D_206B_202C_202E((Span)array); + Dictionary dictionary = new Dictionary(list.Count); + using (List>.Enumerator enumerator = list.GetEnumerator()) + { + int num = 2495585; + while (true) + { + int num2 = num; + int num3 = 2495585; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 2495585; + break; + case 3: + var (s, value) = (KeyValuePair)(ref enumerator.Current); + dictionary[ushort.Parse(s, _206C_206D_202D_200D_200C_202C_206D_206B_200B_200C_200F_202B_206B_200E_206A_202E_200E_206A_200D_206D_202D_206F_206D_200E_200E_200B_206B_200B_206E_202D_202B_202B_206D_202D_206D_202E_202C_202B_200D_206D_202E())] = value; + num = 2495585; + break; + case 0: + num = (enumerator.MoveNext() ? 2495586 : 2495584); + break; + case 1: + goto end_IL_005c; + } + continue; + end_IL_005c: + break; + } + } + DecodeDuration = _206C_202E_200B_202B_202D_202D_202D_202E_206E_202C_200D_202C_200D_202A_200C_202A_206C_200F_206D_206B_202E_202B_200C_206C_200F_200B_202E_206E_202B_200D_200E_206F_202D_200B_200E_202D_200C_202B_200E_202D_202E(stopwatch); + return dictionary; + } + finally + { + int num = ((stream == null) ? (-1196840161) : (-1196840164)); + while (true) + { + int num7 = num; + int num3 = -1196840163; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1196840164; + break; + case 1: + _206C_206E_202A_206A_202A_202B_202B_206D_206E_200E_202A_202E_200F_202B_206D_206E_200F_206F_200E_200B_200D_202E_202D_206D_206E_202B_200D_202E_200C_206D_202A_202C_202A_202B_200B_200E_200C_202E_206A_206F_202E((IDisposable)stream); + num = -1196840161; + break; + case 2: + goto end_IL_0143; + } + continue; + end_IL_0143: + break; + } + } } - private static void LoadDefinition0() + static Type _200C_202A_202B_206F_206B_200B_202E_202C_206E_200E_206C_200C_200E_206D_206F_206B_200D_206B_206B_200C_200E_202B_202D_206B_206E_202A_202E_206C_206B_202C_200E_200C_206F_206C_206B_206C_206F_202E_206F_200D_202E(RuntimeTypeHandle P_0) { - 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); + return Type.GetTypeFromHandle(P_0); + } + + static Assembly _206D_202B_206F_206C_200B_202C_206C_200D_200D_200D_206D_200E_202A_200D_202C_206F_200C_206B_202E_202B_202B_200B_202E_202E_202E_206D_202D_206C_202B_206A_202C_200E_202A_202A_206E_206B_206E_202C_200D_200D_202E(Type P_0) + { + return P_0.Assembly; + } + + static Stream _206B_200B_202A_202A_200E_206D_200D_206B_202C_200B_200F_202D_202D_206D_200D_200B_202A_202B_200F_202D_202B_200E_206B_206D_202C_206E_206C_202C_206D_200C_202A_206E_200B_200C_202A_200E_206D_200D_200C_206B_202E(Assembly P_0, string P_1) + { + return P_0.GetManifestResourceStream(P_1); + } + + static Stopwatch _200F_202C_206F_200F_202B_202D_200C_202A_202A_206E_202B_202D_206D_202B_200F_200F_206E_206A_200F_200E_202E_206A_206C_206E_206E_206E_202B_206B_200F_206B_206F_200B_206A_206C_202E_206F_202A_200C_206B_206D_202E() + { + return Stopwatch.StartNew(); + } + + static void _206B_202D_202C_200F_206D_202E_202C_200F_206B_202C_206E_202A_200B_206E_206E_206E_200B_200D_206F_206B_206B_202C_202E_202E_202D_206A_200C_202E_202C_202E_206F_202D_202A_206D_202C_202D_206D_206B_202C_202E(Span P_0) + { + CryptographicOperations.ZeroMemory(P_0); + } + + static CultureInfo _206C_206D_202D_200D_200C_202C_206D_206B_200B_200C_200F_202B_206B_200E_206A_202E_200E_206A_200D_206D_202D_206F_206D_200E_200E_200B_206B_200B_206E_202D_202B_202B_206D_202D_206D_202E_202C_202B_200D_206D_202E() + { + return CultureInfo.InvariantCulture; + } + + static TimeSpan _206C_202E_200B_202B_202D_202D_202D_202E_206E_202C_200D_202C_200D_202A_200C_202A_206C_200F_206D_206B_202E_202B_200C_206C_200F_200B_202E_206E_202B_200D_200E_206F_202D_200B_200E_202D_200C_202B_200E_202D_202E(Stopwatch P_0) + { + return P_0.Elapsed; + } + + static void _206C_206E_202A_206A_202A_202B_202B_206D_206E_200E_202A_202E_200F_202B_206D_206E_200F_206F_200E_200B_200D_202E_202D_206D_206E_202B_200D_202E_200C_206D_202A_202C_202A_202B_200B_200E_200C_202E_206A_206F_202E(IDisposable P_0) + { + P_0.Dispose(); } } diff --git a/FatePaths/Questionable.FatePaths/PathBundleSecret.cs b/FatePaths/Questionable.FatePaths/PathBundleSecret.cs new file mode 100644 index 00000000..bf4ffe26 --- /dev/null +++ b/FatePaths/Questionable.FatePaths/PathBundleSecret.cs @@ -0,0 +1,64 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Questionable.FatePaths; + +internal static class PathBundleSecret +{ + private static readonly byte[] A; + + private static readonly byte[] B; + + internal static byte[] Key() + { + byte[] array = new byte[A.Length]; + int num = 0; + int num2 = -1653942217; + while (true) + { + int num3 = num2; + int num4 = -1653942219; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 3: + num2 = -1653942217; + break; + case 2: + num2 = ((num < array.Length) ? (-1653942220) : (-1653942219)); + break; + case 0: + return array; + case 1: + { + int num6 = num; + byte num7 = A[num]; + num4 = B[num]; + num5 = num7; + array[num6] = (byte)((num5 | num4) - (num5 & num4)); + int num8 = num; + num4 = 1; + num5 = num8; + num = (num5 | num4) + (num5 & num4); + num2 = -1653942217; + break; + } + } + } + } + + static PathBundleSecret() + { + byte[] array = new byte[32]; + _206D_202B_202B_206F_202C_206D_200C_206E_202C_202E_200D_200F_202B_200C_200C_206D_202C_206F_206A_202E_206F_206B_200C_200D_206E_200C_206C_200B_200E_200F_202C_200F_200D_200D_200F_202E_200B_200D_206D_202A_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + A = array; + byte[] array2 = new byte[32]; + _206D_202B_202B_206F_202C_206D_200C_206E_202C_202E_200D_200F_202B_200C_200C_206D_202C_206F_206A_202E_206F_206B_200C_200D_206E_200C_206C_200B_200E_200F_202C_200F_200D_200D_200F_202E_200B_200D_206D_202A_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + B = array2; + } + + static void _206D_202B_202B_206F_202C_206D_200C_206E_202C_202E_200D_200F_202B_200C_200C_206D_202C_206F_206A_202E_206F_206B_200C_200D_206E_200C_206C_200B_200E_200F_202C_200F_200D_200D_200F_202E_200B_200D_206D_202A_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } +} diff --git a/GatheringPaths/-----------------------------------------.cs b/GatheringPaths/-----------------------------------------.cs new file mode 100644 index 00000000..e7320ab5 --- /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 00000000..8613630e --- /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 0e020f6e..0d666427 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 00000000..2d0d2df2 Binary files /dev/null and b/GatheringPaths/Questionable.GatheringPaths.GatheringBundle differ diff --git a/GatheringPaths/Questionable.GatheringPaths.GatheringLocationSchema b/GatheringPaths/Questionable.GatheringPaths.GatheringLocationSchema index e1794f05..14912abb 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 53d688c4..8e7d44f8 100644 --- a/GatheringPaths/Questionable.GatheringPaths/AssemblyGatheringLocationLoader.cs +++ b/GatheringPaths/Questionable.GatheringPaths/AssemblyGatheringLocationLoader.cs @@ -1,23992 +1,146 @@ 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.Reflection; +using System.Runtime.CompilerServices; +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 { - if (_locations == null) + [MethodImpl(MethodImplOptions.NoInlining)] + get { - _locations = new Dictionary(); - LoadLocations(); + return _202D_200C_200E_200F_202A_200B_206C_202B_200D_200D_202D_202D_200B_200D_202A_202A_200B_206E_200B_202D_202D_200D_202A_206A_206E_202C_200F_206C_200F_206E_206C_200D_206B_206A_202C_206D_206C_202E_200F_200C_202E(_202A_202D_206A_206D_206A_200D_200F_200D_206E_202D_200C_200D_202A_202C_206F_200C_200C_200B_200D_200F_206F_202A_206A_200F_206E_200B_200E_206C_200E_200D_202C_200B_202D_202C_206C_206E_202A_206E_206D_206B_202E(_200E_202C_200C_200B_206D_206E_202A_206F_206B_202A_202C_200F_206B_202E_206D_206F_202E_202D_200F_206B_206D_206E_206B_206D_206C_200C_200F_202A_202B_200E_206E_202B_200B_202A_202E_202C_200C_202E_206D_202C_202E(typeof(AssemblyGatheringLocationLoader).TypeHandle)), global::_003CModule_003E._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(657022072)); } - return _locations ?? throw new InvalidOperationException("location data is not initialized"); } - private static void AddLocation(ushort questId, GatheringRoot root) + internal static IReadOnlyDictionary GetLocations() { - _locations[questId] = root; + return Locations.Value; } - private static void LoadLocations() + [MethodImpl(MethodImplOptions.NoInlining)] + private static IReadOnlyDictionary 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) + Stopwatch stopwatch = _202A_202A_202D_206C_206F_200F_206B_200C_200B_202E_206D_200E_206C_206A_200D_202B_202B_206D_200B_200C_200E_202E_202A_206F_206A_206D_206F_202B_206F_200C_206A_202B_206A_202D_206F_206D_202D_206D_202B_202A_202E(); + Stream stream = _202D_200C_200E_200F_202A_200B_206C_202B_200D_200D_202D_202D_200B_200D_202A_202A_200B_206E_200B_202D_202D_200D_202A_206A_206E_202C_200F_206C_200F_206E_206C_200D_206B_206A_202C_206D_206C_202E_200F_200C_202E(_202A_202D_206A_206D_206A_200D_200F_200D_206E_202D_200C_200D_202A_202C_206F_200C_200C_200B_200D_200F_206F_202A_206A_200F_206E_200B_200E_206C_200E_200D_202C_200B_202D_202C_206C_206E_202A_206E_206D_206B_202E(_200E_202C_200C_200B_206D_206E_202A_206F_206B_202A_202C_200F_206B_202E_206D_206F_202E_202D_200F_206B_206D_206E_206B_206D_206C_200C_200F_202A_202B_200E_206E_202B_200B_202A_202E_202C_200C_202E_206D_202C_202E(typeof(AssemblyGatheringLocationLoader).TypeHandle)), global::_003CModule_003E._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(-1881698)); + try { - AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat, - SkipConditions = new SkipConditions + byte[] array = PathBundleSecret.Key(); + List> list = PathBundle.Deserialize(stream, array); + _206E_200D_206E_200B_202D_202E_202D_206C_206B_206F_200E_200E_206D_200D_206F_200C_206B_202B_206B_202D_202C_206B_200B_200B_200C_202C_200E_206F_200D_200C_200F_206E_202C_206E_206E_206F_206C_202A_206A_202E_202E((Span)array); + Dictionary dictionary = new Dictionary(list.Count); + using (List>.Enumerator enumerator = list.GetEnumerator()) { - AetheryteShortcutIf = new SkipAetheryteCondition + int num = 2495585; + while (true) { - 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 + int num2 = num; + int num3 = 2495585; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - Position = new Vector3(23.8063f, 17.44395f, -861.3718f), - MaximumDistance = 250f, - TerritoryId = 1189 + case 2: + num = 2495585; + break; + case 3: + var (s, value) = (KeyValuePair)(ref enumerator.Current); + dictionary[ushort.Parse(s, _206B_202B_200D_200E_202E_202D_202D_206E_206D_206A_200E_206D_202B_206D_200C_202D_206B_200F_200D_202B_202E_202E_206C_202B_200F_206F_206C_200D_200F_200B_206E_200C_202E_206B_202D_206E_200B_200D_200B_206E_202E())] = value; + num = 2495585; + break; + case 0: + num = (enumerator.MoveNext() ? 2495586 : 2495584); + break; + case 1: + goto end_IL_005c; } + continue; + end_IL_005c: + break; } } - }; - 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 + DecodeDuration = _200C_206E_202D_202A_206D_202C_200B_202E_200C_200F_202D_206B_200B_206A_200C_202B_206F_202C_202E_202A_206F_200C_206D_202A_200F_206C_202D_202A_206C_206A_206A_202D_206E_206C_206E_206A_206A_206E_206F_202B_202E(stopwatch); + return dictionary; + } + finally { - 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 + int num = ((stream == null) ? (-1196840161) : (-1196840164)); + while (true) { - AetheryteShortcutIf = new SkipAetheryteCondition + int num7 = num; + int num3 = -1196840163; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) { - NearPosition = new NearPositionCondition - { - Position = new Vector3(-605.548f, 9.998135f, -373.28378f), - MaximumDistance = 250f, - TerritoryId = 1189 - } + case 0: + num = -1196840164; + break; + case 1: + _202B_202A_200B_200F_206F_206C_206E_200E_206D_202C_202C_202C_206B_206D_202C_206D_202D_200D_200F_202C_206C_202A_202E_202B_206A_200C_202E_202C_202A_206D_206C_202B_206E_206A_202C_206A_202D_202C_202E_200F_202E((IDisposable)stream); + num = -1196840161; + break; + case 2: + goto end_IL_0143; } + continue; + end_IL_0143: + break; } - }; - 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() + static Type _200E_202C_200C_200B_206D_206E_202A_206F_206B_202A_202C_200F_206B_202E_206D_206F_202E_202D_200F_206B_206D_206E_206B_206D_206C_200C_200F_202A_202B_200E_206E_202B_200B_202A_202E_202C_200C_202E_206D_202C_202E(RuntimeTypeHandle P_0) { - 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); + return Type.GetTypeFromHandle(P_0); + } + + static Assembly _202A_202D_206A_206D_206A_200D_200F_200D_206E_202D_200C_200D_202A_202C_206F_200C_200C_200B_200D_200F_206F_202A_206A_200F_206E_200B_200E_206C_200E_200D_202C_200B_202D_202C_206C_206E_202A_206E_206D_206B_202E(Type P_0) + { + return P_0.Assembly; + } + + static Stream _202D_200C_200E_200F_202A_200B_206C_202B_200D_200D_202D_202D_200B_200D_202A_202A_200B_206E_200B_202D_202D_200D_202A_206A_206E_202C_200F_206C_200F_206E_206C_200D_206B_206A_202C_206D_206C_202E_200F_200C_202E(Assembly P_0, string P_1) + { + return P_0.GetManifestResourceStream(P_1); + } + + static Stopwatch _202A_202A_202D_206C_206F_200F_206B_200C_200B_202E_206D_200E_206C_206A_200D_202B_202B_206D_200B_200C_200E_202E_202A_206F_206A_206D_206F_202B_206F_200C_206A_202B_206A_202D_206F_206D_202D_206D_202B_202A_202E() + { + return Stopwatch.StartNew(); + } + + static void _206E_200D_206E_200B_202D_202E_202D_206C_206B_206F_200E_200E_206D_200D_206F_200C_206B_202B_206B_202D_202C_206B_200B_200B_200C_202C_200E_206F_200D_200C_200F_206E_202C_206E_206E_206F_206C_202A_206A_202E_202E(Span P_0) + { + CryptographicOperations.ZeroMemory(P_0); + } + + static CultureInfo _206B_202B_200D_200E_202E_202D_202D_206E_206D_206A_200E_206D_202B_206D_200C_202D_206B_200F_200D_202B_202E_202E_206C_202B_200F_206F_206C_200D_200F_200B_206E_200C_202E_206B_202D_206E_200B_200D_200B_206E_202E() + { + return CultureInfo.InvariantCulture; + } + + static TimeSpan _200C_206E_202D_202A_206D_202C_200B_202E_200C_200F_202D_206B_200B_206A_200C_202B_206F_202C_202E_202A_206F_200C_206D_202A_200F_206C_202D_202A_206C_206A_206A_202D_206E_206C_206E_206A_206A_206E_206F_202B_202E(Stopwatch P_0) + { + return P_0.Elapsed; + } + + static void _202B_202A_200B_200F_206F_206C_206E_200E_206D_202C_202C_202C_206B_206D_202C_206D_202D_200D_200F_202C_206C_202A_202E_202B_206A_200C_202E_202C_202A_206D_206C_202B_206E_206A_202C_206A_202D_202C_202E_200F_202E(IDisposable P_0) + { + P_0.Dispose(); } } diff --git a/GatheringPaths/Questionable.GatheringPaths/PathBundleSecret.cs b/GatheringPaths/Questionable.GatheringPaths/PathBundleSecret.cs new file mode 100644 index 00000000..4c6d1816 --- /dev/null +++ b/GatheringPaths/Questionable.GatheringPaths/PathBundleSecret.cs @@ -0,0 +1,64 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Questionable.GatheringPaths; + +internal static class PathBundleSecret +{ + private static readonly byte[] A; + + private static readonly byte[] B; + + internal static byte[] Key() + { + byte[] array = new byte[A.Length]; + int num = 0; + int num2 = -1653942217; + while (true) + { + int num3 = num2; + int num4 = -1653942219; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 3: + num2 = -1653942217; + break; + case 2: + num2 = ((num < array.Length) ? (-1653942220) : (-1653942219)); + break; + case 0: + return array; + case 1: + { + int num6 = num; + byte num7 = A[num]; + num4 = B[num]; + num5 = num7; + array[num6] = (byte)((num5 | num4) - (num5 & num4)); + int num8 = num; + num4 = 1; + num5 = num8; + num = (num5 | num4) + (num5 & num4); + num2 = -1653942217; + break; + } + } + } + } + + static PathBundleSecret() + { + byte[] array = new byte[32]; + _200C_200B_206F_200D_202D_200C_200D_202D_206E_206B_202D_206A_206A_206E_206E_200F_200C_202B_206E_202A_200E_200D_202C_202D_202E_202B_200C_206F_206D_206F_202A_206A_206D_200C_206C_202B_206F_200E_202C_206F_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + A = array; + byte[] array2 = new byte[32]; + _200C_200B_206F_200D_202D_200C_200D_202D_206E_206B_202D_206A_206A_206E_206E_200F_200C_202B_206E_202A_200E_200D_202C_202D_202E_202B_200C_206F_206D_206F_202A_206A_206D_200C_206C_202B_206F_200E_202C_206F_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + B = array2; + } + + static void _200C_200B_206F_200D_202D_200C_200D_202D_206E_206B_202D_206A_206A_206E_206E_200F_200C_202B_206E_202A_200E_200D_202C_202D_202E_202B_200C_206F_206D_206F_202A_206A_206D_200C_206C_202B_206F_200E_202C_206F_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } +} diff --git a/LLib/-----------------------------------------.cs b/LLib/-----------------------------------------.cs new file mode 100644 index 00000000..607b25bd --- /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 00000000..2b6d9b6a --- /dev/null +++ b/LLib/--z__ReadOnlyArray.cs @@ -0,0 +1,170 @@ +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 _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E(); + } + } + + 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 _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E(); + } + } + + public _003C_003Ez__ReadOnlyArray(T[] items) + { + _items = items; + } + + IEnumerator IEnumerable.GetEnumerator() + { + return _206B_206C_206A_206E_200B_202D_200B_202E_200C_200E_202E_200D_202C_202A_202B_200F_202C_200D_206E_200E_200C_200E_200F_202D_200F_202E_200E_200D_202A_200F_200F_202B_206D_202D_206B_202B_200D_202E_206E_202E_202E((IEnumerable)_items); + } + + void ICollection.CopyTo(Array array, int index) + { + _200E_202C_200B_206C_202D_206C_206A_206D_200B_206A_202D_200B_200B_200C_206D_200C_200E_202D_200D_206B_206C_206A_206F_206D_206D_202A_206D_206E_202C_206A_202B_206B_206D_202D_202D_206A_206F_206D_200E_206A_202E((ICollection)_items, array, index); + } + + int IList.Add(object? value) + { + throw _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E(); + } + + void IList.Clear() + { + throw _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E(); + } + + bool IList.Contains(object? value) + { + return _200D_202E_202D_202E_206D_202B_206D_202A_200E_202A_202C_200F_202B_202C_206B_200C_202A_202D_202B_200C_200D_202E_202B_202B_200E_206A_202B_200C_206B_206C_206C_206A_206D_200B_202D_206F_200D_200E_200E_206D_202E((IList)_items, value); + } + + int IList.IndexOf(object? value) + { + return _202D_200D_202C_202B_200B_206E_206B_200C_202E_200B_206E_206B_206B_200D_206A_202A_206E_200B_202C_202B_200E_200B_200F_202C_202C_202A_200C_206E_202A_206F_206C_200E_206B_200F_202E_200E_206D_206F_200C_202A_202E((IList)_items, value); + } + + void IList.Insert(int index, object? value) + { + throw _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E(); + } + + void IList.Remove(object? value) + { + throw _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E(); + } + + void IList.RemoveAt(int index) + { + throw _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)_items).GetEnumerator(); + } + + void ICollection.Add(T item) + { + throw _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E(); + } + + void ICollection.Clear() + { + throw _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E(); + } + + 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 _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E(); + } + + int IList.IndexOf(T item) + { + return ((IList)_items).IndexOf(item); + } + + void IList.Insert(int index, T item) + { + throw _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E(); + } + + void IList.RemoveAt(int index) + { + throw _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E(); + } + + static IEnumerator _206B_206C_206A_206E_200B_202D_200B_202E_200C_200E_202E_200D_202C_202A_202B_200F_202C_200D_206E_200E_200C_200E_200F_202D_200F_202E_200E_200D_202A_200F_200F_202B_206D_202D_206B_202B_200D_202E_206E_202E_202E(IEnumerable P_0) + { + return P_0.GetEnumerator(); + } + + static void _200E_202C_200B_206C_202D_206C_206A_206D_200B_206A_202D_200B_200B_200C_206D_200C_200E_202D_200D_206B_206C_206A_206F_206D_206D_202A_206D_206E_202C_206A_202B_206B_206D_202D_202D_206A_206F_206D_200E_206A_202E(ICollection P_0, Array P_1, int P_2) + { + P_0.CopyTo(P_1, P_2); + } + + static NotSupportedException _206B_206D_206B_202E_200D_206A_202C_200D_202C_206E_206B_202C_200F_202B_206C_206F_206A_200C_202B_206C_202D_206D_206A_202A_202B_206B_200E_206C_206E_202E_206F_200D_200B_200C_200B_200C_202E_200C_206F_206B_202E() + { + return new NotSupportedException(); + } + + static bool _200D_202E_202D_202E_206D_202B_206D_202A_200E_202A_202C_200F_202B_202C_206B_200C_202A_202D_202B_200C_200D_202E_202B_202B_200E_206A_202B_200C_206B_206C_206C_206A_206D_200B_202D_206F_200D_200E_200E_206D_202E(IList P_0, object P_1) + { + return P_0.Contains(P_1); + } + + static int _202D_200D_202C_202B_200B_206E_206B_200C_202E_200B_206E_206B_206B_200D_206A_202A_206E_200B_202C_202B_200E_200B_200F_202C_202C_202A_200C_206E_202A_206F_206C_200E_206B_200F_202E_200E_206D_206F_200C_202A_202E(IList P_0, object P_1) + { + return P_0.IndexOf(P_1); + } +} diff --git a/LLib/-Module-.cs b/LLib/-Module-.cs new file mode 100644 index 00000000..7589bcca --- /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 00000000..092d5754 --- /dev/null +++ b/LLib/LLib.Buddy/BuddyActions.cs @@ -0,0 +1,237 @@ +using System.Runtime.CompilerServices; +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(); + int num = ((ptr != null) ? 1651046355 : 1651046352); + while (true) + { + int num2 = num; + int num3 = 1651046354; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return false; + case 1: + return ptr->UseAction(ActionType.GeneralAction, 24u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + } + continue; + IL_004b: + num = 1651046352; + } + } + + public unsafe static bool TryDismissCompanion() + { + ActionManager* ptr = ActionManager.Instance(); + int num = ((ptr != null) ? (-1011078578) : (-1011078577)); + while (true) + { + int num2 = num; + int num3 = -1011078578; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return ptr->UseAction(ActionType.GeneralAction, 25u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + case 1: + return false; + case 2: + goto IL_0062; + } + continue; + IL_0062: + num = -1011078577; + } + } + + public static bool TrySetOrder(byte order) + { + int num = (BuddyStateHelper.IsCompanionSummoned() ? (-1422028975) : (-1422028974)); + while (true) + { + int num2 = num; + int num3 = -1422028976; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + GameMain.ExecuteCommand(500, order); + return true; + case 2: + return false; + case 0: + goto IL_005a; + } + continue; + IL_005a: + num = -1422028974; + } + } + + public unsafe static bool IsCompanionUnlocked() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr == null) ? (-114934898) : (-114934899)); + while (true) + { + int num2 = num; + int num3 = -114934897; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return ptr->IsUnlockLinkUnlocked(8u); + case 0: + goto IL_0055; + } + continue; + IL_0055: + num = -114934899; + } + } + + public unsafe static bool CanSummonCompanion(ICondition condition) + { + int num = (IsCompanionUnlocked() ? (-985374925) : (-985374926)); + InventoryManager* ptr = default(InventoryManager*); + while (true) + { + int num2 = num; + int num3 = -985374920; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 9: + return false; + case 4: + num = (_206B_200F_206E_202A_202E_202C_202D_202D_206F_202A_206D_200D_202C_202E_206D_200E_202C_202E_202C_200B_200C_206B_206F_200F_200E_202B_206D_206F_200D_202D_206B_206E_206B_206D_200B_202B_200C_200F_200D_200E_202E(condition, ConditionFlag.BoundByDuty) ? (-985374920) : (-985374917)); + break; + case 7: + return false; + case 1: + num = ((!_206B_200F_206E_202A_202E_202C_202D_202D_206F_202A_206D_200D_202C_202E_206D_200E_202C_202E_202C_200B_200C_206B_206F_200F_200E_202B_206D_206F_200D_202D_206B_206E_206B_206D_200B_202B_200C_200F_200D_200E_202E(condition, ConditionFlag.InCombat)) ? (-985374918) : (-985374920)); + break; + case 11: + num = ((!BuddyStateHelper.IsCompanionSummoned()) ? (-985374916) : (-985374913)); + break; + case 3: + num = (_206B_200F_206E_202A_202E_202C_202D_202D_206F_202A_206D_200D_202C_202E_206D_200E_202C_202E_202C_200B_200C_206B_206F_200F_200E_202B_206D_206F_200D_202D_206B_206E_206B_206D_200B_202B_200C_200F_200D_200E_202E(condition, ConditionFlag.Mounted) ? (-985374920) : (-985374919)); + break; + case 10: + return false; + case 5: + return true; + case 8: + num = -985374926; + break; + case 6: + num = ((ptr->GetInventoryItemCount(4868u, isHq: false, checkEquipped: true, checkArmory: true, 0) != 0) ? (-985374915) : (-985374927)); + break; + case 0: + return false; + case 2: + ptr = InventoryManager.Instance(); + num = ((ptr == null) ? (-985374927) : (-985374914)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsFeedAddonReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon(global::_003CModule_003E._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(2118248575), out addonPtr); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TrySelectFeedItem(IGameGui gameGui, int index) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(1623486615), out addonPtr) ? 590168373 : 590168372); + while (true) + { + int num2 = num; + int num3 = 590168373; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + AddonCallback.Fire(addonPtr, 0, index); + return true; + case 1: + return false; + case 2: + goto IL_0066; + } + continue; + IL_0066: + num = 590168372; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryConfirmFeed(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(184774238), out addonPtr) ? 596817817 : 596817818); + while (true) + { + int num2 = num; + int num3 = 596817819; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0054; + case 2: + AddonCallback.ClickYes(addonPtr); + return true; + case 1: + return false; + } + continue; + IL_0054: + num = 596817818; + } + } + + static bool _206B_200F_206E_202A_202E_202C_202D_202D_206F_202A_206D_200D_202C_202E_206D_200E_202C_202E_202C_200B_200C_206B_206F_200F_200E_202B_206D_206F_200D_202D_206B_206E_206B_206D_200B_202B_200C_200F_200D_200E_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } +} diff --git a/LLib/LLib.Buddy/BuddyEquipActions.cs b/LLib/LLib.Buddy/BuddyEquipActions.cs new file mode 100644 index 00000000..dddab84f --- /dev/null +++ b/LLib/LLib.Buddy/BuddyEquipActions.cs @@ -0,0 +1,150 @@ +using System.Runtime.CompilerServices; +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(); + int num = ((ptr != null) ? 1019459524 : 1019459527); + while (true) + { + int num2 = num; + int num3 = 1019459526; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return ptr->UseAction(ActionType.GeneralAction, 26u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + case 1: + return false; + } + continue; + IL_004b: + num = 1019459527; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsBuddyAddonReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon(global::_003CModule_003E._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(583695867), out addonPtr); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TrySelectBardingSlot(IGameGui gameGui, int slot) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(-70251581), out addonPtr) ? (-765945705) : (-765945708)); + while (true) + { + int num2 = num; + int num3 = -765945707; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 2: + AddonCallback.Fire(addonPtr, 0, 2); + AddonCallback.Fire(addonPtr, 1, slot); + return true; + case 1: + return false; + } + continue; + IL_0052: + num = -765945708; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryEquipBarding(IGameGui gameGui, int bardingIndex) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(1272603864), out addonPtr) ? (-427454791) : (-427454790)); + while (true) + { + int num2 = num; + int num3 = -427454792; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 2: + return false; + case 1: + AddonCallback.Fire(addonPtr, 2, bardingIndex); + return true; + } + continue; + IL_0052: + num = -427454790; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryUnequipBarding(IGameGui gameGui, int slot) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(1272603864), out addonPtr) ? 170791386 : 170791385); + while (true) + { + int num2 = num; + int num3 = 170791387; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 1: + AddonCallback.Fire(addonPtr, 3, slot); + return true; + case 2: + return false; + } + continue; + IL_0052: + num = 170791385; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryCloseBuddyAddon(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(583695867), out addonPtr) ? (-1191072356) : (-1191072353)); + while (true) + { + int num2 = num; + int num3 = -1191072355; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + AddonCallback.Fire(addonPtr, -1); + return true; + case 2: + return false; + case 0: + goto IL_0066; + } + continue; + IL_0066: + num = -1191072353; + } + } +} diff --git a/LLib/LLib.Buddy/BuddyStateHelper.cs b/LLib/LLib.Buddy/BuddyStateHelper.cs new file mode 100644 index 00000000..2ec2c549 --- /dev/null +++ b/LLib/LLib.Buddy/BuddyStateHelper.cs @@ -0,0 +1,527 @@ +using System; +using FFXIVClientStructs.FFXIV.Client.Game.UI; + +namespace LLib.Buddy; + +public static class BuddyStateHelper +{ + public unsafe static bool IsCompanionSummoned() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? (-1349796682) : (-1349796683)); + while (true) + { + int num2 = num; + int num3 = -1349796684; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return ptr->Buddy.CompanionInfo.TimeLeft > 0f; + case 1: + return false; + case 0: + goto IL_0063; + } + continue; + IL_0063: + num = -1349796683; + } + } + + public unsafe static bool IsCompanionMounted() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? (-1440023216) : (-1440023213)); + while (true) + { + int num2 = num; + int num3 = -1440023215; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return ptr->Buddy.CompanionInfo.Mounted; + case 2: + return false; + } + continue; + IL_0049: + num = -1440023213; + } + } + + public unsafe static string GetCompanionName() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? 1483608628 : 1483608631); + while (true) + { + int num2 = num; + int num3 = 1483608630; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return ptr->Buddy.CompanionInfo.NameString; + case 1: + return string.Empty; + } + continue; + IL_004b: + num = 1483608631; + } + } + + public unsafe static byte GetCompanionColorStainId() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? 345206792 : 345206793); + while (true) + { + int num2 = num; + int num3 = 345206792; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return ptr->Buddy.CompanionInfo.CurrentColorStainId; + case 1: + return 0; + case 2: + goto IL_005c; + } + continue; + IL_005c: + num = 345206793; + } + } + + public unsafe static byte GetCompanionRank() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? 424961589 : 424961588); + while (true) + { + int num2 = num; + int num3 = 424961589; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return ptr->Buddy.CompanionInfo.Rank; + case 1: + return 0; + case 2: + goto IL_005c; + } + continue; + IL_005c: + num = 424961588; + } + } + + public unsafe static uint GetCompanionCurrentXP() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? (-7933264) : (-7933261)); + while (true) + { + int num2 = num; + int num3 = -7933262; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return ptr->Buddy.CompanionInfo.CurrentXP; + case 1: + return 0u; + case 0: + goto IL_005c; + } + continue; + IL_005c: + num = -7933261; + } + } + + public unsafe static byte GetCompanionStars() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? 1600521884 : 1600521887); + while (true) + { + int num2 = num; + int num3 = 1600521885; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return 0; + case 1: + return ptr->Buddy.CompanionInfo.Stars; + } + continue; + IL_0049: + num = 1600521887; + } + } + + public unsafe static byte GetCompanionSkillPoints() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? 624298941 : 624298942); + while (true) + { + int num2 = num; + int num3 = 624298940; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return ptr->Buddy.CompanionInfo.SkillPoints; + case 2: + return 0; + case 0: + goto IL_005c; + } + continue; + IL_005c: + num = 624298942; + } + } + + public unsafe static byte GetDefenderLevel() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? (-1160271461) : (-1160271462)); + while (true) + { + int num2 = num; + int num3 = -1160271461; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004c; + case 1: + return 0; + case 0: + return ptr->Buddy.CompanionInfo.Levels[0]; + } + continue; + IL_004c: + num = -1160271462; + } + } + + public unsafe static byte GetAttackerLevel() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? 35779603 : 35779600); + while (true) + { + int num2 = num; + int num3 = 35779602; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004c; + case 1: + return ptr->Buddy.CompanionInfo.Levels[1]; + case 2: + return 0; + } + continue; + IL_004c: + num = 35779600; + } + } + + public unsafe static byte GetHealerLevel() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? (-1648020324) : (-1648020321)); + while (true) + { + int num2 = num; + int num3 = -1648020323; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return ptr->Buddy.CompanionInfo.Levels[2]; + case 2: + return 0; + case 0: + goto IL_006b; + } + continue; + IL_006b: + num = -1648020321; + } + } + + public unsafe static (byte Head, byte Chest, byte Feet) GetEquippedBardingIds() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? (-214194545) : (-214194548)); + while (true) + { + int num2 = num; + int num3 = -214194546; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004c; + case 1: + { + Span buddyEquipRowIds = ptr->Buddy.CompanionInfo.BuddyEquipRowIds; + return (Head: buddyEquipRowIds[0], Chest: buddyEquipRowIds[1], Feet: buddyEquipRowIds[2]); + } + case 2: + return (Head: 0, Chest: 0, Feet: 0); + } + continue; + IL_004c: + num = -214194548; + } + } + + public unsafe static bool IsBardingUnlocked(uint bardingId) + { + UIState* ptr = UIState.Instance(); + int num = ((ptr == null) ? 1179942104 : 1179942107); + while (true) + { + int num2 = num; + int num3 = 1179942105; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return ptr->Buddy.CompanionInfo.IsBuddyEquipUnlocked(bardingId); + case 1: + return false; + } + continue; + IL_004b: + num = 1179942107; + } + } + + public unsafe static byte GetActiveCommand() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? 360275929 : 360275930); + while (true) + { + int num2 = num; + int num3 = 360275928; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return ptr->Buddy.CompanionInfo.ActiveCommand; + case 2: + return 0; + case 0: + goto IL_005c; + } + continue; + IL_005c: + num = 360275930; + } + } + + public unsafe static byte GetFavoriteFeed() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? 816585553 : 816585552); + while (true) + { + int num2 = num; + int num3 = 816585553; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return ptr->Buddy.CompanionInfo.FavoriteFeed; + case 1: + return 0; + case 2: + goto IL_005e; + } + continue; + IL_005e: + num = 816585552; + } + } + + public unsafe static bool IsPetSummoned() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? 318028987 : 318028984); + while (true) + { + int num2 = num; + int num3 = 318028985; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = ((ptr->Buddy.PetInfo.Pet == null) ? 318028985 : 318028986); + break; + case 3: + return ptr->Buddy.PetInfo.Pet->EntityId != 0; + case 0: + return false; + case 1: + return false; + case 4: + num = 318028984; + break; + } + } + } + + public unsafe static byte GetPetOrder() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? (-105624424) : (-105624421)); + while (true) + { + int num2 = num; + int num3 = -105624422; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return 0; + case 2: + return ptr->Buddy.PetInfo.Order; + } + continue; + IL_0049: + num = -105624421; + } + } + + public unsafe static byte GetPetStance() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? 25937805 : 25937806); + while (true) + { + int num2 = num; + int num3 = 25937807; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return ptr->Buddy.PetInfo.Stance; + case 1: + return 0; + } + continue; + IL_0049: + num = 25937806; + } + } + + public unsafe static bool IsBattleBuddyPresent() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? (-506116548) : (-506116552)); + int num7 = default(int); + Span battleBuddies = default(Span); + while (true) + { + int num2 = num; + int num3 = -506116551; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return true; + case 6: + { + int num8 = num7; + num3 = 1; + num4 = num8; + num7 = (num4 | num3) + (num4 & num3); + num = -506116546; + break; + } + case 0: + num = ((battleBuddies[num7].EntityId == 0) ? (-506116545) : (-506116550)); + break; + case 1: + return false; + case 2: + num = -506116552; + break; + case 7: + num = ((num7 < battleBuddies.Length) ? (-506116551) : (-506116547)); + break; + case 4: + return false; + case 5: + battleBuddies = ptr->Buddy.BattleBuddies; + num7 = 0; + num = -506116546; + break; + } + } + } + + public unsafe static bool HasDutyHelpers() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr != null) ? 132041618 : 132041619); + while (true) + { + int num2 = num; + int num3 = 132041618; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 1: + return false; + case 0: + return ptr->Buddy.DutyHelperInfo.HasHelpers; + } + continue; + IL_0049: + num = 132041619; + } + } +} diff --git a/LLib/LLib.External/PluginFeaturePauser.cs b/LLib/LLib.External/PluginFeaturePauser.cs new file mode 100644 index 00000000..101173d1 --- /dev/null +++ b/LLib/LLib.External/PluginFeaturePauser.cs @@ -0,0 +1,238 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +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; + + [MethodImpl(MethodImplOptions.NoInlining)] + public PluginFeaturePauser(IDalamudPluginInterface pluginInterface, string getEnabledEndpoint, string setEnabledEndpoint, ILogger logger) + { + _200B_202A_202E_202D_200B_202D_206D_206F_202A_206D_206C_200C_206E_206F_206F_206A_206B_202D_200B_202B_206E_206D_202D_202D_202B_202E_206E_206A_202D_206C_200D_200B_206A_206E_200C_206F_206A_206F_206D_206F_202E((object)pluginInterface, global::_003CModule_003E._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(766607579)); + _202B_206D_202B_206C_200E_202A_206D_206D_206F_200D_202D_206A_202C_206E_200C_206B_206C_202D_206F_200D_206F_206E_200B_206E_206E_200D_200F_206F_202D_200B_200C_202C_200C_206B_202D_206E_206C_202C_200F_206C_202E(getEnabledEndpoint, global::_003CModule_003E._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(1664369552)); + _202B_206D_202B_206C_200E_202A_206D_206D_206F_200D_202D_206A_202C_206E_200C_206B_206C_202D_206F_200D_206F_206E_200B_206E_206E_200D_200F_206F_202D_200B_200C_202C_200C_206B_202D_206E_206C_202C_200F_206C_202E(setEnabledEndpoint, global::_003CModule_003E._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(1390048610)); + _200B_202A_202E_202D_200B_202D_206D_206F_202A_206D_206C_200C_206E_206F_206F_206A_206B_202D_200B_202B_206E_206D_202D_202D_202B_202E_206E_206A_202D_206C_200D_200B_206A_206E_200C_206F_206A_206F_206D_206F_202E((object)logger, global::_003CModule_003E._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(1584978576)); + _getEnabled = pluginInterface.GetIpcSubscriber(getEnabledEndpoint); + _setEnabled = pluginInterface.GetIpcSubscriber(setEnabledEndpoint); + _logger = logger; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Disable(IEnumerable features) + { + int num = ((_pausedFeatures != null) ? (-124220902) : (-124220903)); + while (true) + { + int num2 = num; + int num3 = -124220901; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -124220903; + break; + case 2: + _pausedFeatures = new HashSet(); + num = -124220902; + break; + case 1: + { + IEnumerator enumerator = features.GetEnumerator(); + try + { + while (_200B_200C_206B_200F_200D_206E_202E_206E_202B_200D_202D_206C_206F_200D_200C_206E_206E_206A_202B_200E_202A_202A_200F_200D_202A_200D_202C_206B_200C_202D_200D_200F_202E_202B_200B_202E_206E_202C_200F_206F_202E((IEnumerator)enumerator)) + { + string current = enumerator.Current; + if (_pausedFeatures.Contains(current)) + { + continue; + } + try + { + num = ((_getEnabled.InvokeFunc(current) != true) ? 879033807 : 879033804); + while (true) + { + int num5 = num; + num3 = 879033805; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = 879033804; + break; + case 1: + _setEnabled.InvokeAction(current, arg2: false); + _pausedFeatures.Add(current); + _200E_202B_202C_200F_202C_202B_200C_206D_202E_202E_200B_206B_206A_202E_200E_202D_202E_200C_206C_202D_202E_202D_200C_200D_206F_202E_200C_202E_206C_206C_200E_202B_200D_206A_202A_206B_202C_206C_200E_202E(_logger, global::_003CModule_003E._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(-2022871407), new object[1] { current }); + num = 879033807; + break; + case 2: + goto end_IL_00c8; + } + continue; + end_IL_00c8: + break; + } + } + catch (Exception ex) + { + num = ((ex is IpcError) ? 285871159 : 285871156); + while (true) + { + int num8 = num; + num3 = 285871157; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 285871156; + break; + case 1: + _200C_200F_202D_202D_202E_206E_202B_200F_206F_202B_202A_206C_200F_200C_206E_206F_206C_202E_202B_206F_202C_206A_206F_200C_200D_206D_206B_206D_206C_202B_202E_202E_206E_206F_206A_200D_200C_206D_206F_202D_202E(_logger, ex, global::_003CModule_003E._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(-578647561), new object[1] { current }); + num = 285871159; + break; + case 2: + goto end_IL_0170; + } + continue; + end_IL_0170: + break; + } + } + } + return; + } + finally + { + num = ((enumerator == null) ? 1678269636 : 1678269639); + while (true) + { + int num9 = num; + num3 = 1678269637; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 1: + goto end_IL_0207; + case 2: + _206D_200B_200D_200B_206C_206B_202D_202B_202E_200E_206B_202D_202A_200D_206A_200B_206F_206D_206B_202C_206A_200E_202B_206B_202C_202A_206A_200F_200E_200B_202C_206B_206F_200B_200D_202C_200B_206F_206B_202E((IDisposable)enumerator); + num = 1678269636; + break; + case 0: + num = 1678269639; + break; + } + continue; + end_IL_0207: + break; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Restore() + { + int num = ((_pausedFeatures != null) ? (-1219556396) : (-1219556395)); + while (true) + { + int num2 = num; + int num3 = -1219556396; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0051; + case 1: + return; + case 0: + { + HashSet hashSet = new HashSet(); + foreach (string pausedFeature in _pausedFeatures) + { + try + { + _setEnabled.InvokeAction(pausedFeature, arg2: true); + _200E_202B_202C_200F_202C_202B_200C_206D_202E_202E_200B_206B_206A_202E_200E_202D_202E_200C_206C_202D_202E_202D_200C_200D_206F_202E_200C_202E_206C_206C_200E_202B_200D_206A_202A_206B_202C_206C_200E_202E(_logger, global::_003CModule_003E._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(1936594651), new object[1] { pausedFeature }); + } + catch (Exception ex) + { + hashSet.Add(pausedFeature); + _200C_200F_202D_202D_202E_206E_202B_200F_206F_202B_202A_206C_200F_200C_206E_206F_206C_202E_202B_206F_202C_206A_206F_200C_200D_206D_206B_206D_206C_202B_202E_202E_206E_206F_206A_200D_200C_206D_206F_202D_202E(_logger, ex, global::_003CModule_003E._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(902723695), new object[1] { pausedFeature }); + } + } + _pausedFeatures = ((hashSet.Count == 0) ? null : hashSet); + return; + } + } + continue; + IL_0051: + num = -1219556395; + } + } + + public void Dispose() + { + Restore(); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _200B_202A_202E_202D_200B_202D_206D_206F_202A_206D_206C_200C_206E_206F_206F_206A_206B_202D_200B_202B_206E_206D_202D_202D_202B_202E_206E_206A_202D_206C_200D_200B_206A_206E_200C_206F_206A_206F_206D_206F_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static void _202B_206D_202B_206C_200E_202A_206D_206D_206F_200D_202D_206A_202C_206E_200C_206B_206C_202D_206F_200D_206F_206E_200B_206E_206E_200D_200F_206F_202D_200B_200C_202C_200C_206B_202D_206E_206C_202C_200F_206C_202E(string P_0, string P_1) + { + ArgumentException.ThrowIfNullOrEmpty(P_0, P_1); + } + + static void _200E_202B_202C_200F_202C_202B_200C_206D_202E_202E_200B_206B_206A_202E_200E_202D_202E_200C_206C_202D_202E_202D_200C_200D_206F_202E_200C_202E_206C_206C_200E_202B_200D_206A_202A_206B_202C_206C_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _200C_200F_202D_202D_202E_206E_202B_200F_206F_202B_202A_206C_200F_200C_206E_206F_206C_202E_202B_206F_202C_206A_206F_200C_200D_206D_206B_206D_206C_202B_202E_202E_206E_206F_206A_200D_200C_206D_206F_202D_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static bool _200B_200C_206B_200F_200D_206E_202E_206E_202B_200D_202D_206C_206F_200D_200C_206E_206E_206A_202B_200E_202A_202A_200F_200D_202A_200D_202C_206B_200C_202D_200D_200F_202E_202B_200B_202E_206E_202C_200F_206F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206D_200B_200D_200B_206C_206B_202D_202B_202E_200E_206B_202D_202A_200D_206A_200B_206F_206D_206B_202C_206A_200E_202B_206B_202C_202A_206A_200F_200E_200B_202C_206B_206F_200B_200D_202C_200B_206F_206B_202E(IDisposable P_0) + { + P_0.Dispose(); + } +} diff --git a/LLib/LLib.Fishing/WaterSurfaceDetector.cs b/LLib/LLib.Fishing/WaterSurfaceDetector.cs new file mode 100644 index 00000000..1bb9b882 --- /dev/null +++ b/LLib/LLib.Fishing/WaterSurfaceDetector.cs @@ -0,0 +1,273 @@ +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 = MathF.PI * 2f / (float)searchSteps; + List list = new List(); + int num2 = 0; + int num3 = -766816580; + Vector3? hitPoint = default(Vector3?); + float num9 = default(float); + while (true) + { + int num4 = num3; + int num5 = -766816580; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 3: + return null; + case 0: + num3 = ((num2 < searchSteps) ? (-766816579) : (-766816582)); + break; + case 9: + num3 = ((!hitPoint.HasValue) ? (-766816584) : (-766816588)); + break; + case 1: + { + float rotation = (float)num2 * num; + num3 = ((!CheckFishableAtRotation(position, rotation, out var _)) ? (-766816578) : (-766816583)); + break; + } + case 8: + return (num9, hitPoint.Value); + case 6: + num3 = ((list.Count != 0) ? (-766816581) : (-766816577)); + break; + case 4: + return null; + case 2: + { + int num10 = num2; + num5 = 1; + num6 = num10; + num2 = (num6 | num5) + (num6 & num5); + num3 = -766816580; + break; + } + case 5: + list.Add(num2); + num3 = -766816578; + break; + case 7: + { + List list2 = (from g in FindContiguousGroups(list, searchSteps) + orderby g.Count descending + select g).First(); + num9 = ((float)list2[0] + (float)(list2.Count - 1) / 2f) % (float)searchSteps * num; + num3 = ((!CheckFishableAtRotation(position, num9, out hitPoint)) ? (-766816584) : (-766816587)); + break; + } + case 10: + num3 = -766816580; + break; + } + } + } + + private unsafe static bool CheckFishableAtRotation(Vector3 position, float rotation, out Vector3? hitPoint) + { + hitPoint = null; + Framework* ptr = Framework.Instance(); + int num = ((ptr == null) ? (-9575683) : (-9575687)); + BGCollisionModule* bGCollisionModule = default(BGCollisionModule*); + Matrix4x4 matrix = default(Matrix4x4); + Vector3 vector3 = default(Vector3); + RaycastHit raycastHit2 = default(RaycastHit); + RaycastHit raycastHit = default(RaycastHit); + while (true) + { + int num2 = num; + int num3 = -9575688; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + ReadOnlySpan readOnlySpan; + switch (num5 - (num6 + num6)) + { + case 0: + { + bGCollisionModule = ptr->BGCollisionModule; + float num8 = _200B_202E_206E_202C_202E_202E_202E_200D_206A_202D_206E_206B_202C_206E_202E_206D_206D_200E_206B_202B_202D_202E_206D_202A_206F_200E_202C_206A_206F_206A_202C_200B_200F_206F_206A_202E_202E_206F_200F_202B_202E(rotation); + float num9 = _202A_206D_202E_200E_200F_202D_206D_202A_206C_206C_206A_200D_206B_206E_206D_200E_206B_202B_206F_206F_206E_206D_206B_202B_200E_200D_206F_202B_206E_202E_206F_200D_202E_202D_206A_202B_200F_206C_202D_206F_202E(rotation); + matrix = new Matrix4x4 + { + M11 = num8, + M13 = 0f - num9, + M22 = 1f, + M31 = num9, + M33 = num8 + }; + vector3 = Vector3.Transform(new Vector3(0f, 0f, 2f), matrix) + position; + vector3.Y += 2f; + Vector3 vector4 = new Vector3(position.X, position.Y + 0.87f, position.Z); + Vector3 vector5 = Vector3.Normalize(vector3 - vector4); + float maxDistance = Vector3.Distance(vector4, vector3); + byte* intPtr2 = stackalloc byte[16]; + readOnlySpan = new int[4] { 16384, 0, 16384, 0 }; + // IL cpblk instruction + Unsafe.CopyBlockUnaligned(intPtr2, ref readOnlySpan[0], 16); + int* flags2 = (int*)intPtr2; + num = ((!bGCollisionModule->RaycastMaterialFilter(&raycastHit2, &vector4, &vector5, maxDistance, 1, flags2)) ? (-9575686) : (-9575681)); + break; + } + case 5: + return false; + case 1: + num = ((ptr->BGCollisionModule != null) ? (-9575688) : (-9575683)); + break; + case 6: + num = -9575687; + break; + case 7: + return false; + case 4: + hitPoint = raycastHit.Point; + return true; + case 3: + return false; + case 2: + { + Vector3 vector = Vector3.Transform(new Vector3(0f, -80f, 40f), matrix); + float num7 = vector.Length(); + Vector3 vector2 = vector / num7; + byte* intPtr = stackalloc byte[16]; + readOnlySpan = new int[4] { 32768, 0, 32768, 0 }; + // IL cpblk instruction + Unsafe.CopyBlockUnaligned(intPtr, ref readOnlySpan[0], 16); + int* flags = (int*)intPtr; + num = ((!bGCollisionModule->RaycastMaterialFilter(&raycastHit, &vector3, &vector2, num7, 1, flags)) ? (-9575685) : (-9575684)); + break; + } + } + } + } + + private static List> FindContiguousGroups(List angles, int maxSteps) + { + int num = ((angles.Count != 0) ? 1779780775 : 1779780774); + List list3 = default(List); + List list5 = default(List); + int num8 = default(int); + List> list2 = default(List>); + while (true) + { + int num2 = num; + int num3 = 1779780780; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + list3.Add(list5[num8]); + num = 1779780783; + break; + case 6: + num = ((list5[0] != 0) ? 1779780777 : 1779780772); + break; + case 0: + { + int num12 = list5[num8]; + List list6 = list5; + int num13 = num8; + num3 = 1; + num4 = num13; + num = ((num12 - list6[~(~num4 + num3)] != 1) ? 1779780779 : 1779780776); + break; + } + case 1: + list2.Add(list3); + num = ((list2.Count <= 1) ? 1779780777 : 1779780778); + break; + case 9: + num = ((num8 < list5.Count) ? 1779780780 : 1779780781); + break; + case 2: + num = 1779780774; + break; + case 8: + { + List list7 = list5; + int num14 = list7[list7.Count - 1]; + num3 = 1; + num4 = maxSteps; + num = ((num14 != ~(~num4 + num3)) ? 1779780777 : 1779780768); + break; + } + case 5: + return list2; + case 10: + return new List>(); + case 11: + list5 = angles.OrderBy((int a) => a).ToList(); + list2 = new List>(); + list3 = new List { list5[0] }; + num8 = 1; + num = 1779780773; + break; + case 7: + { + list2.Add(list3); + int num11 = 1; + List list4 = new List(num11); + CollectionsMarshal.SetCount(list4, num11); + CollectionsMarshal.AsSpan(list4)[0] = list5[num8]; + list3 = list4; + num = 1779780783; + break; + } + case 12: + { + List> list = list2; + List item = list[list.Count - 1].Concat(list2[0]).ToList(); + list2.RemoveAt(list2.Count - 1); + list2.RemoveAt(0); + list2.Add(item); + num = 1779780777; + break; + } + case 3: + { + int num7 = num8; + num3 = 1; + num4 = num7; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num8 = num9 + (num10 + num10); + num = 1779780773; + break; + } + } + } + } + + static float _200B_202E_206E_202C_202E_202E_202E_200D_206A_202D_206E_206B_202C_206E_202E_206D_206D_200E_206B_202B_202D_202E_206D_202A_206F_200E_202C_206A_206F_206A_202C_200B_200F_206F_206A_202E_202E_206F_200F_202B_202E(float P_0) + { + return MathF.Cos(P_0); + } + + static float _202A_206D_202E_200E_200F_202D_206D_202A_206C_206C_206A_200D_206B_206E_206D_200E_206B_202B_206F_206F_206E_206D_206B_202B_200E_200D_206F_202B_206E_202E_206F_200D_202E_202D_206A_202B_200F_206C_202D_206F_202E(float P_0) + { + return MathF.Sin(P_0); + } +} diff --git a/LLib/LLib.GameData/ClassJobHelper.cs b/LLib/LLib.GameData/ClassJobHelper.cs new file mode 100644 index 00000000..883ffd2e --- /dev/null +++ b/LLib/LLib.GameData/ClassJobHelper.cs @@ -0,0 +1,41 @@ +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; + int num2 = ((num == 0) ? 1968883418 : 1968883419); + while (true) + { + int num3 = num2; + int num4 = 1968883416; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + return false; + case 3: + return QuestManager.IsQuestComplete(num); + case 4: + return PlayerStateHelper.GetClassJobLevel(row.ExpArrayIndex) > 0; + case 2: + num2 = ((row.ExpArrayIndex >= 0) ? 1968883420 : 1968883417); + break; + case 0: + num2 = 1968883419; + break; + } + } + } + + 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 00000000..13a7f0ca --- /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 00000000..8db0f8a7 --- /dev/null +++ b/LLib/LLib.GameData/ConditionHelper.cs @@ -0,0 +1,255 @@ +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Plugin.Services; + +namespace LLib.GameData; + +public static class ConditionHelper +{ + public static bool IsBoundByDuty(ICondition condition) + { + int num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.BoundByDuty) ? 982422876 : 982422878); + while (true) + { + int num2 = num; + int num3 = 982422877; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 982422878; + break; + case 0: + return _206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.BoundByDuty95); + case 1: + return true; + case 3: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.BoundByDuty56) ? 982422876 : 982422877); + break; + } + } + } + + public static bool IsInCombat(ICondition condition) + { + return _206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.InCombat); + } + + public static bool IsInCutscene(ICondition condition) + { + int num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.OccupiedInCutSceneEvent) ? 298384256 : 298384257); + while (true) + { + int num2 = num; + int num3 = 298384256; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 298384257; + break; + case 1: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.WatchingCutscene) ? 298384256 : 298384258); + break; + case 0: + return true; + case 2: + return _206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.WatchingCutscene78); + } + } + } + + public static bool IsBetweenAreas(ICondition condition) + { + int num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.BetweenAreas) ? 617778151 : 617778150); + while (true) + { + int num2 = num; + int num3 = 617778151; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0048; + case 0: + return true; + case 1: + return _206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.BetweenAreas51); + } + continue; + IL_0048: + num = 617778150; + } + } + + public static bool IsCrafting(ICondition condition) + { + int num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Crafting) ? (-531070532) : (-531070529)); + while (true) + { + int num2 = num; + int num3 = -531070530; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -531070529; + break; + case 2: + return true; + case 0: + return _206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.ExecutingCraftingAction); + case 1: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.PreparingToCraft) ? (-531070532) : (-531070530)); + break; + } + } + } + + public static bool IsGathering(ICondition condition) + { + int num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Gathering) ? (-1745581447) : (-1745581446)); + while (true) + { + int num2 = num; + int num3 = -1745581448; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0047; + case 2: + return _206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.ExecutingGatheringAction); + case 1: + return true; + } + continue; + IL_0047: + num = -1745581446; + } + } + + public static bool IsOccupied(ICondition condition) + { + int num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Occupied) ? 149420092 : 149420094); + while (true) + { + int num2 = num; + int num3 = 149420092; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = 149420094; + break; + case 4: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Occupied38) ? 149420092 : 149420093); + break; + case 3: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Occupied33) ? 149420092 : 149420088); + break; + case 0: + return true; + case 2: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Occupied30) ? 149420092 : 149420095); + break; + case 1: + return _206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Occupied39); + } + } + } + + public static bool IsLockedIn(ICondition condition) + { + int num = (IsBoundByDuty(condition) ? 829421731 : 829421732); + while (true) + { + int num2 = num; + int num3 = 829421734; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = (IsBetweenAreas(condition) ? 829421731 : 829421730); + break; + case 0: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Unconscious) ? 829421731 : 829421733); + break; + case 4: + num = (IsOccupied(condition) ? 829421731 : 829421734); + break; + case 3: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Jumping) ? 829421731 : 829421728); + break; + case 2: + num = (IsInCutscene(condition) ? 829421731 : 829421735); + break; + case 6: + return _206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Jumping61); + case 7: + num = 829421732; + break; + case 5: + return true; + } + } + } + + public static bool IsUnavailable(ICondition condition) + { + int num = (IsLockedIn(condition) ? 721479038 : 721479035); + while (true) + { + int num2 = num; + int num3 = 721479037; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.UsingFashionAccessory) ? 721479038 : 721479030); + break; + case 2: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Mounted) ? 721479038 : 721479029); + break; + case 3: + return true; + case 6: + num = (IsCrafting(condition) ? 721479038 : 721479032); + break; + case 0: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.PlayingLordOfVerminion) ? 721479038 : 721479031); + break; + case 5: + num = (IsGathering(condition) ? 721479038 : 721479039); + break; + case 9: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Mounting71) ? 721479038 : 721479036); + break; + case 8: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Mounting) ? 721479038 : 721479028); + break; + case 1: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.ChocoboRacing) ? 721479038 : 721479037); + break; + case 4: + num = 721479035; + break; + case 11: + return _206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.InFlight); + case 10: + num = (_206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(condition, ConditionFlag.Performing) ? 721479038 : 721479034); + break; + } + } + } + + static bool _206D_202D_206B_202B_206A_206D_206B_206B_200E_206B_202C_206C_200E_202C_206D_202C_200B_206D_206A_206D_200C_206C_206C_202E_202D_206A_206B_200F_206F_202A_202B_202A_200B_206C_206E_200D_200D_200D_200E_200C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } +} diff --git a/LLib/LLib.GameData/EClassJob.cs b/LLib/LLib.GameData/EClassJob.cs index 3b2948fc..f16f9281 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 a985ffaa..2dc07fcb 100644 --- a/LLib/LLib.GameData/EClassJobExtensions.cs +++ b/LLib/LLib.GameData/EClassJobExtensions.cs @@ -1,5 +1,8 @@ -using System; +using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; +using Dalamud.Plugin.Services; +using Lumina.Excel.Sheets; namespace LLib.GameData; @@ -7,182 +10,1250 @@ public static class EClassJobExtensions { public static bool IsClass(this EClassJob classJob) { - bool flag; - switch (classJob) + int num = ((classJob < EClassJob.Gladiator) ? (-1021997813) : (-1021997816)); + bool flag = default(bool); + while (true) { - case EClassJob.Gladiator: - case EClassJob.Pugilist: - case EClassJob.Marauder: - case EClassJob.Lancer: - case EClassJob.Archer: - case EClassJob.Conjurer: - case EClassJob.Thaumaturge: - case EClassJob.Arcanist: - case EClassJob.Rogue: - flag = true; - break; - default: - flag = false; - break; + int num2 = num; + int num3 = -1021997812; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + flag = false; + num = -1021997809; + break; + case 4: + num = ((classJob <= EClassJob.Thaumaturge) ? (-1021997810) : (-1021997819)); + break; + case 5: + num = ((classJob != EClassJob.Rogue) ? (-1021997813) : (-1021997810)); + break; + case 8: + return true; + case 2: + flag = true; + num = -1021997809; + break; + case 3: + num = (flag ? (-1021997820) : (-1021997812)); + break; + case 0: + num = (classJob.IsCrafter() ? (-1021997820) : (-1021997811)); + break; + case 1: + return classJob.IsGatherer(); + case 6: + num = -1021997816; + break; + case 9: + num = ((classJob == EClassJob.Arcanist) ? (-1021997810) : (-1021997815)); + break; + } } - if (!flag && !classJob.IsCrafter()) - { - return classJob.IsGatherer(); - } - return true; } 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) + { + int num; + EClassJob? result = default(EClassJob?); + switch (classJob) + { + default: + num = 1515021; + goto IL_0044; + case EClassJob.Bard: + result = EClassJob.Archer; + num = 1515018; + goto IL_0044; + case EClassJob.Paladin: + goto IL_00ac; + case EClassJob.Dragoon: + goto IL_00be; + case EClassJob.BlackMage: + goto IL_00d0; + case EClassJob.Summoner: + goto IL_00e2; + case EClassJob.Arcanist: + case EClassJob.Rogue: + goto IL_00f5; + case EClassJob.Scholar: + goto IL_010a; + case EClassJob.Ninja: + goto IL_0128; + case EClassJob.Monk: + goto IL_013b; + case EClassJob.Warrior: + goto IL_0158; + case EClassJob.WhiteMage: + goto IL_016a; + IL_0044: + while (true) + { + int num2 = num; + int num3 = 1515022; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_0044; + case 4: + return result; + case 7: + goto IL_00ac; + case 10: + goto IL_00be; + case 0: + goto IL_00d0; + case 11: + goto IL_00e2; + case 8: + goto IL_00f5; + case 2: + goto IL_010a; + case 3: + num = 1515014; + break; + case 5: + goto IL_0128; + case 9: + goto IL_013b; + case 13: + num = 1515021; + break; + case 12: + goto IL_0158; + case 6: + goto IL_016a; + } + continue; + end_IL_0044: + break; + } + goto case EClassJob.Bard; + IL_016a: + result = EClassJob.Conjurer; + num = 1515018; + goto IL_0044; + IL_0158: + result = EClassJob.Marauder; + num = 1515018; + goto IL_0044; + IL_013b: + result = EClassJob.Pugilist; + num = 1515018; + goto IL_0044; + IL_0128: + result = EClassJob.Rogue; + num = 1515018; + goto IL_0044; + IL_010a: + result = EClassJob.Arcanist; + num = 1515018; + goto IL_0044; + IL_00f5: + result = null; + num = 1515018; + goto IL_0044; + IL_00e2: + result = EClassJob.Arcanist; + num = 1515018; + goto IL_0044; + IL_00d0: + result = EClassJob.Thaumaturge; + num = 1515018; + goto IL_0044; + IL_00be: + result = EClassJob.Lancer; + num = 1515018; + goto IL_0044; + IL_00ac: + result = EClassJob.Gladiator; + num = 1515018; + goto IL_0044; + } } public static EClassJob AsJob(this EClassJob classJob) { - return classJob switch + int num; + EClassJob result = default(EClassJob); + switch (classJob) { - EClassJob.Gladiator => EClassJob.Paladin, - EClassJob.Marauder => EClassJob.Warrior, - EClassJob.Pugilist => EClassJob.Monk, - EClassJob.Lancer => EClassJob.Dragoon, - EClassJob.Rogue => EClassJob.Ninja, - EClassJob.Archer => EClassJob.Bard, - EClassJob.Conjurer => EClassJob.WhiteMage, - EClassJob.Thaumaturge => EClassJob.BlackMage, - EClassJob.Arcanist => EClassJob.Summoner, - _ => classJob, - }; + default: + num = 2104859750; + goto IL_002f; + case EClassJob.Archer: + result = EClassJob.Bard; + num = 2104859754; + goto IL_002f; + case EClassJob.Marauder: + goto IL_0094; + case EClassJob.Lancer: + goto IL_00a2; + case EClassJob.Conjurer: + goto IL_00d4; + case EClassJob.Pugilist: + goto IL_00e2; + case EClassJob.Gladiator: + goto IL_00f0; + case EClassJob.Thaumaturge: + goto IL_0155; + IL_002f: + while (true) + { + int num2 = num; + int num3 = 2104859745; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 11: + return result; + case 4: + goto end_IL_002f; + case 14: + goto IL_0094; + case 9: + goto IL_00a2; + case 10: + num = 2104859757; + break; + case 1: + result = EClassJob.Ninja; + num = 2104859754; + break; + case 13: + num = 2104859750; + break; + case 5: + goto IL_00d4; + case 0: + goto IL_00e2; + case 3: + goto IL_00f0; + case 7: + goto IL_00fe; + case 6: + goto IL_011c; + case 2: + result = EClassJob.Summoner; + num = 2104859754; + break; + case 12: + result = classJob; + num = 2104859754; + break; + case 8: + goto IL_0155; + } + continue; + IL_011c: + num = ((classJob == EClassJob.Rogue) ? 2104859744 : 2104859755); + continue; + IL_00fe: + num = ((classJob == EClassJob.Arcanist) ? 2104859747 : 2104859751); + continue; + end_IL_002f: + break; + } + goto case EClassJob.Archer; + IL_0155: + result = EClassJob.BlackMage; + num = 2104859754; + goto IL_002f; + IL_00f0: + result = EClassJob.Paladin; + num = 2104859754; + goto IL_002f; + IL_00e2: + result = EClassJob.Monk; + num = 2104859754; + goto IL_002f; + IL_00d4: + result = EClassJob.WhiteMage; + num = 2104859754; + goto IL_002f; + IL_00a2: + result = EClassJob.Dragoon; + num = 2104859754; + goto IL_002f; + IL_0094: + result = EClassJob.Warrior; + num = 2104859754; + goto IL_002f; + } } public static bool IsTank(this EClassJob classJob) { - switch (classJob) + int num = ((classJob > EClassJob.Paladin) ? 2088962462 : 2088962449); + bool result = default(bool); + while (true) { - case EClassJob.Gladiator: - case EClassJob.Marauder: - case EClassJob.Paladin: - case EClassJob.Warrior: - case EClassJob.DarkKnight: - case EClassJob.Gunbreaker: - return true; - default: - return false; + int num2 = num; + int num3 = 2088962455; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + num = 2088962449; + break; + case 6: + num = ((classJob == EClassJob.Gladiator) ? 2088962452 : 2088962461); + break; + case 9: + num = ((classJob == EClassJob.Warrior) ? 2088962452 : 2088962451); + break; + case 2: + result = false; + num = 2088962463; + break; + case 5: + num = 2088962453; + break; + case 3: + result = true; + num = 2088962463; + break; + case 4: + num = ((classJob == EClassJob.DarkKnight) ? 2088962452 : 2088962455); + break; + case 10: + num = ((classJob == EClassJob.Marauder) ? 2088962452 : 2088962454); + break; + case 8: + return result; + case 0: + num = ((classJob != EClassJob.Gunbreaker) ? 2088962453 : 2088962452); + break; + case 1: + num = ((classJob == EClassJob.Paladin) ? 2088962452 : 2088962450); + break; + } } } public static bool IsHealer(this EClassJob classJob) { - switch (classJob) + int num = ((classJob > EClassJob.WhiteMage) ? (-693082528) : (-693082517)); + bool result = default(bool); + while (true) { - case EClassJob.Conjurer: - case EClassJob.WhiteMage: - case EClassJob.Scholar: - case EClassJob.Astrologian: - case EClassJob.Sage: - return true; - default: - return false; + int num2 = num; + int num3 = -693082519; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + num = ((classJob == EClassJob.Astrologian) ? (-693082515) : (-693082520)); + break; + case 3: + result = false; + num = -693082519; + break; + case 8: + num = ((classJob == EClassJob.WhiteMage) ? (-693082515) : (-693082513)); + break; + case 2: + num = ((classJob == EClassJob.Conjurer) ? (-693082515) : (-693082527)); + break; + case 0: + return result; + case 1: + num = ((classJob != EClassJob.Sage) ? (-693082518) : (-693082515)); + break; + case 5: + num = -693082517; + break; + case 6: + num = -693082518; + break; + case 4: + result = true; + num = -693082519; + break; + case 9: + num = ((classJob == EClassJob.Scholar) ? (-693082515) : (-693082514)); + break; + } } } public static bool IsMelee(this EClassJob classJob) { - switch (classJob) + int num = ((classJob > EClassJob.Monk) ? 1922031772 : 1922031771); + bool result = default(bool); + while (true) { - case EClassJob.Pugilist: - case EClassJob.Lancer: - case EClassJob.Monk: - case EClassJob.Dragoon: - case EClassJob.Rogue: - case EClassJob.Ninja: - case EClassJob.Samurai: - case EClassJob.Reaper: - case EClassJob.Viper: - return true; - default: - return false; + int num2 = num; + int num3 = 1922031765; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = ((classJob == EClassJob.Samurai) ? 1922031774 : 1922031769); + break; + case 11: + result = true; + num = 1922031767; + break; + case 4: + num = ((classJob == EClassJob.Dragoon) ? 1922031774 : 1922031765); + break; + case 13: + num = ((classJob == EClassJob.Monk) ? 1922031774 : 1922031762); + break; + case 7: + num = 1922031775; + break; + case 9: + num = ((classJob > EClassJob.Ninja) ? 1922031766 : 1922031761); + break; + case 6: + num = 1922031771; + break; + case 5: + num = 1922031775; + break; + case 1: + num = ((classJob == EClassJob.Lancer) ? 1922031774 : 1922031768); + break; + case 8: + num = 1922031775; + break; + case 12: + switch (classJob) + { + case EClassJob.Reaper: + case EClassJob.Viper: + case EClassJob.Beastmaster: + break; + default: + goto IL_015e; + case EClassJob.Sage: + case EClassJob.Pictomancer: + goto IL_016b; + } + goto case 11; + case 2: + return result; + case 10: + goto IL_016b; + case 0: + num = ((classJob - 29 <= EClassJob.Gladiator) ? 1922031774 : 1922031773); + break; + case 14: + { + num = ((classJob == EClassJob.Pugilist) ? 1922031774 : 1922031764); + break; + } + IL_016b: + result = false; + num = 1922031767; + break; + IL_015e: + num = 1922031760; + break; + } } } public static bool IsPhysicalRanged(this EClassJob classJob) { - switch (classJob) + int num = ((classJob > EClassJob.Bard) ? 361445859 : 361445862); + bool result = default(bool); + while (true) { - case EClassJob.Archer: - case EClassJob.Bard: - case EClassJob.Machinist: - case EClassJob.Dancer: - return true; - default: - return false; + int num2 = num; + int num3 = 361445858; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 361445862; + break; + case 7: + num = ((classJob != EClassJob.Dancer) ? 361445856 : 361445863); + break; + case 6: + num = ((classJob == EClassJob.Bard) ? 361445863 : 361445858); + break; + case 2: + result = false; + num = 361445866; + break; + case 1: + num = ((classJob == EClassJob.Machinist) ? 361445863 : 361445861); + break; + case 5: + result = true; + num = 361445866; + break; + case 0: + num = 361445856; + break; + case 4: + num = ((classJob == EClassJob.Archer) ? 361445863 : 361445860); + break; + case 8: + return result; + } } } public static bool IsCaster(this EClassJob classJob) { - switch (classJob) + int num = ((classJob > EClassJob.Summoner) ? (-152910150) : (-152910151)); + bool result = default(bool); + while (true) { - case EClassJob.Thaumaturge: - case EClassJob.BlackMage: - case EClassJob.Arcanist: - case EClassJob.Summoner: - case EClassJob.RedMage: - case EClassJob.BlueMage: - case EClassJob.Pictomancer: - return true; - default: - return false; + int num2 = num; + int num3 = -152910147; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = ((classJob - 25 <= EClassJob.Pugilist) ? (-152910149) : (-152910145)); + break; + case 7: + num = ((classJob - 35 <= EClassJob.Gladiator) ? (-152910149) : (-152910148)); + break; + case 3: + return result; + case 6: + result = true; + num = -152910146; + break; + case 2: + num = -152910155; + break; + case 8: + result = false; + num = -152910146; + break; + case 1: + num = ((classJob != EClassJob.Pictomancer) ? (-152910155) : (-152910149)); + break; + case 4: + num = ((classJob == EClassJob.Thaumaturge) ? (-152910149) : (-152910152)); + break; + case 0: + num = -152910151; + break; + } + } + } + + public static bool IsDps(this EClassJob classJob) + { + int num = (classJob.IsMelee() ? 652988313 : 652988314); + while (true) + { + int num2 = num; + int num3 = 652988315; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return true; + case 1: + num = (classJob.IsPhysicalRanged() ? 652988313 : 652988315); + break; + case 3: + num = 652988314; + break; + case 0: + return classJob.IsCaster(); + } } } public static bool DealsPhysicalDamage(this EClassJob classJob) { - if (!classJob.IsTank() && !classJob.IsMelee()) + int num = (classJob.IsTank() ? (-1539913949) : (-1539913950)); + while (true) { - return classJob.IsPhysicalRanged(); + int num2 = num; + int num3 = -1539913951; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1539913950; + break; + case 2: + return true; + case 1: + return classJob.IsPhysicalRanged(); + case 3: + num = (classJob.IsMelee() ? (-1539913949) : (-1539913952)); + break; + } } - return true; } public static bool DealsMagicDamage(this EClassJob classJob) { - if (!classJob.IsHealer()) + int num = (classJob.IsHealer() ? (-686525847) : (-686525846)); + while (true) { - return classJob.IsCaster(); + int num2 = num; + int num3 = -686525845; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return true; + case 1: + return classJob.IsCaster(); + case 0: + goto IL_004f; + } + continue; + IL_004f: + num = -686525846; } - return true; } public static bool IsCrafter(this EClassJob classJob) { - if (classJob >= EClassJob.Carpenter) + int num = ((classJob < EClassJob.Carpenter) ? 1685178901 : 1685178902); + while (true) { - return classJob <= EClassJob.Culinarian; + int num2 = num; + int num3 = 1685178903; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0042; + case 1: + return classJob <= EClassJob.Culinarian; + case 2: + return false; + } + continue; + IL_0042: + num = 1685178902; } - return false; } public static bool IsGatherer(this EClassJob classJob) { - if (classJob >= EClassJob.Miner) + int num = ((classJob < EClassJob.Miner) ? (-1618937167) : (-1618937166)); + while (true) { - return classJob <= EClassJob.Fisher; + int num2 = num; + int num3 = -1618937168; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0043; + case 1: + return false; + case 2: + return classJob <= EClassJob.Fisher; + } + continue; + IL_0043: + num = -1618937166; } - return false; } + public static bool IsLimitedJob(this EClassJob classJob) + { + int num = ((classJob == EClassJob.BlueMage) ? 421326945 : 421326949); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = 421326945; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 421326949; + break; + case 1: + return result; + case 0: + result = true; + num = 421326944; + break; + case 4: + num = ((classJob != EClassJob.Beastmaster) ? 421326946 : 421326945); + break; + case 3: + result = false; + num = 421326944; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public static string ToFriendlyString(this EClassJob classJob) { - return classJob switch + int num = ((classJob == EClassJob.WhiteMage) ? 1982513328 : 1982513340); + string result = default(string); + while (true) { - EClassJob.WhiteMage => "White Mage", - EClassJob.BlackMage => "Black Mage", - EClassJob.DarkKnight => "Dark Knight", - EClassJob.RedMage => "Red Mage", - EClassJob.BlueMage => "Blue Mage", - _ => classJob.ToString(), - }; + int num2 = num; + int num3 = 1982513334; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 8: + num = 1982513340; + continue; + case 0: + result = global::_003CModule_003E._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(1101047022); + num = 1982513330; + continue; + case 6: + result = global::_003CModule_003E._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(-1414195190); + num = 1982513330; + continue; + case 5: + result = global::_003CModule_003E._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(-1506629366); + num = 1982513330; + continue; + case 2: + num = 1982513329; + continue; + case 3: + goto IL_00bb; + case 10: + num = ((classJob == EClassJob.BlackMage) ? 1982513331 : 1982513343); + continue; + case 4: + return result; + case 1: + goto IL_00f1; + case 9: + switch (classJob) + { + case EClassJob.RedMage: + break; + case EClassJob.BlueMage: + goto IL_00bb; + case EClassJob.DarkKnight: + goto IL_00f1; + default: + goto IL_0124; + case EClassJob.Astrologian: + case EClassJob.Samurai: + goto end_IL_002d; + } + goto case 0; + case 7: + break; + IL_0124: + num = 1982513332; + continue; + IL_00f1: + result = global::_003CModule_003E._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(2050012990); + num = 1982513330; + continue; + IL_00bb: + result = global::_003CModule_003E._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(656115751); + num = 1982513330; + continue; + end_IL_002d: + break; + } + result = classJob.ToString(); + num = 1982513330; + } + } + + public static bool IsInCategory(this EClassJob classJob, ClassJobCategory category) + { + int num; + bool result = default(bool); + switch (classJob) + { + default: + num = -1564064857; + goto IL_00c1; + case EClassJob.Dragoon: + result = category.DRG; + num = -1564064876; + goto IL_00c1; + case EClassJob.Samurai: + goto IL_01af; + case EClassJob.Miner: + goto IL_01c2; + case EClassJob.Beastmaster: + goto IL_01d5; + case EClassJob.Carpenter: + goto IL_01e8; + case EClassJob.Astrologian: + goto IL_01fb; + case EClassJob.Fisher: + goto IL_020e; + case EClassJob.Sage: + goto IL_022c; + case EClassJob.Goldsmith: + goto IL_023f; + case EClassJob.Thaumaturge: + goto IL_0252; + case EClassJob.WhiteMage: + goto IL_0265; + case EClassJob.Lancer: + goto IL_0278; + case EClassJob.Leatherworker: + goto IL_028b; + case EClassJob.Pictomancer: + goto IL_029e; + case EClassJob.Botanist: + goto IL_02b1; + case EClassJob.Pugilist: + goto IL_02c4; + case EClassJob.Reaper: + goto IL_02d7; + case EClassJob.Viper: + goto IL_02ea; + case EClassJob.Paladin: + goto IL_02fd; + case EClassJob.Weaver: + goto IL_0310; + case EClassJob.Rogue: + goto IL_0323; + case EClassJob.Gunbreaker: + goto IL_0336; + case EClassJob.Culinarian: + goto IL_0354; + case EClassJob.Arcanist: + goto IL_0367; + case EClassJob.Blacksmith: + goto IL_037a; + case EClassJob.Summoner: + goto IL_038d; + case EClassJob.Marauder: + goto IL_03a0; + case EClassJob.BlueMage: + goto IL_03b3; + case EClassJob.Adventurer: + goto IL_03c6; + case EClassJob.Ninja: + goto IL_03d9; + case EClassJob.Monk: + goto IL_03ec; + case EClassJob.Archer: + goto IL_03ff; + case EClassJob.Alchemist: + goto IL_0412; + case EClassJob.Bard: + goto IL_0425; + case EClassJob.BlackMage: + goto IL_043a; + case EClassJob.Scholar: + goto IL_044d; + case EClassJob.Conjurer: + goto IL_0460; + case EClassJob.Machinist: + goto IL_0473; + case EClassJob.Gladiator: + goto IL_0486; + case EClassJob.Warrior: + goto IL_0499; + case EClassJob.Armorer: + goto IL_04ac; + case EClassJob.DarkKnight: + goto IL_04bf; + case EClassJob.Dancer: + goto IL_04d2; + case EClassJob.RedMage: + goto IL_04e5; + IL_00c1: + while (true) + { + int num2 = num; + int num3 = -1564064836; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 31: + goto end_IL_00c1; + case 5: + goto IL_01af; + case 4: + goto IL_01c2; + case 45: + goto IL_01d5; + case 14: + goto IL_01e8; + case 34: + goto IL_01fb; + case 18: + goto IL_020e; + case 9: + num = -1564064857; + break; + case 6: + goto IL_022c; + case 41: + goto IL_023f; + case 11: + goto IL_0252; + case 21: + goto IL_0265; + case 12: + goto IL_0278; + case 39: + goto IL_028b; + case 16: + goto IL_029e; + case 25: + goto IL_02b1; + case 44: + goto IL_02c4; + case 1: + goto IL_02d7; + case 2: + goto IL_02ea; + case 47: + goto IL_02fd; + case 37: + goto IL_0310; + case 38: + goto IL_0323; + case 36: + goto IL_0336; + case 27: + num = -1564064867; + break; + case 46: + goto IL_0354; + case 20: + goto IL_0367; + case 30: + goto IL_037a; + case 23: + goto IL_038d; + case 17: + goto IL_03a0; + case 29: + goto IL_03b3; + case 10: + goto IL_03c6; + case 3: + goto IL_03d9; + case 35: + goto IL_03ec; + case 26: + goto IL_03ff; + case 13: + goto IL_0412; + case 7: + goto IL_0425; + case 40: + return result; + case 15: + goto IL_043a; + case 0: + goto IL_044d; + case 43: + goto IL_0460; + case 42: + goto IL_0473; + case 8: + goto IL_0486; + case 28: + goto IL_0499; + case 22: + goto IL_04ac; + case 32: + goto IL_04bf; + case 19: + goto IL_04d2; + case 24: + goto IL_04e5; + case 33: + result = false; + num = -1564064876; + break; + } + continue; + end_IL_00c1: + break; + } + goto case EClassJob.Dragoon; + IL_04e5: + result = category.RDM; + num = -1564064876; + goto IL_00c1; + IL_04d2: + result = category.DNC; + num = -1564064876; + goto IL_00c1; + IL_04bf: + result = category.DRK; + num = -1564064876; + goto IL_00c1; + IL_04ac: + result = category.ARM; + num = -1564064876; + goto IL_00c1; + IL_0499: + result = category.WAR; + num = -1564064876; + goto IL_00c1; + IL_0486: + result = category.GLA; + num = -1564064876; + goto IL_00c1; + IL_0473: + result = category.MCH; + num = -1564064876; + goto IL_00c1; + IL_0460: + result = category.CNJ; + num = -1564064876; + goto IL_00c1; + IL_044d: + result = category.SCH; + num = -1564064876; + goto IL_00c1; + IL_043a: + result = category.BLM; + num = -1564064876; + goto IL_00c1; + IL_0425: + result = category.BRD; + num = -1564064876; + goto IL_00c1; + IL_0412: + result = category.ALC; + num = -1564064876; + goto IL_00c1; + IL_03ff: + result = category.ARC; + num = -1564064876; + goto IL_00c1; + IL_03ec: + result = category.MNK; + num = -1564064876; + goto IL_00c1; + IL_03d9: + result = category.NIN; + num = -1564064876; + goto IL_00c1; + IL_03c6: + result = category.ADV; + num = -1564064876; + goto IL_00c1; + IL_03b3: + result = category.BLU; + num = -1564064876; + goto IL_00c1; + IL_03a0: + result = category.MRD; + num = -1564064876; + goto IL_00c1; + IL_038d: + result = category.SMN; + num = -1564064876; + goto IL_00c1; + IL_037a: + result = category.BSM; + num = -1564064876; + goto IL_00c1; + IL_0367: + result = category.ACN; + num = -1564064876; + goto IL_00c1; + IL_0354: + result = category.CUL; + num = -1564064876; + goto IL_00c1; + IL_0336: + result = category.GNB; + num = -1564064876; + goto IL_00c1; + IL_0323: + result = category.ROG; + num = -1564064876; + goto IL_00c1; + IL_0310: + result = category.WVR; + num = -1564064876; + goto IL_00c1; + IL_02fd: + result = category.PLD; + num = -1564064876; + goto IL_00c1; + IL_02ea: + result = category.VPR; + num = -1564064876; + goto IL_00c1; + IL_02d7: + result = category.RPR; + num = -1564064876; + goto IL_00c1; + IL_02c4: + result = category.PGL; + num = -1564064876; + goto IL_00c1; + IL_02b1: + result = category.BTN; + num = -1564064876; + goto IL_00c1; + IL_029e: + result = category.PCT; + num = -1564064876; + goto IL_00c1; + IL_028b: + result = category.LTW; + num = -1564064876; + goto IL_00c1; + IL_0278: + result = category.LNC; + num = -1564064876; + goto IL_00c1; + IL_0265: + result = category.WHM; + num = -1564064876; + goto IL_00c1; + IL_0252: + result = category.THM; + num = -1564064876; + goto IL_00c1; + IL_023f: + result = category.GSM; + num = -1564064876; + goto IL_00c1; + IL_022c: + result = category.SGE; + num = -1564064876; + goto IL_00c1; + IL_020e: + result = category.FSH; + num = -1564064876; + goto IL_00c1; + IL_01fb: + result = category.AST; + num = -1564064876; + goto IL_00c1; + IL_01e8: + result = category.CRP; + num = -1564064876; + goto IL_00c1; + IL_01d5: + result = category.Unknown0; + num = -1564064876; + goto IL_00c1; + IL_01c2: + result = category.MIN; + num = -1564064876; + goto IL_00c1; + IL_01af: + result = category.SAM; + num = -1564064876; + goto IL_00c1; + } + } + + public static int GetLevel(this EClassJob classJob, IDataManager dataManager) + { + ClassJob? rowOrDefault = dataManager.GetExcelSheet().GetRowOrDefault((uint)classJob); + int num = ((!rowOrDefault.HasValue) ? (-2126726363) : (-2126726364)); + while (true) + { + int num2 = num; + int num3 = -2126726361; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return 0; + case 3: + num = ((rowOrDefault.Value.ExpArrayIndex >= 0) ? (-2126726362) : (-2126726363)); + break; + case 1: + return PlayerStateHelper.GetClassJobLevel(rowOrDefault.Value.ExpArrayIndex); + case 0: + num = -2126726364; + break; + } + } + } + + public static int GetExperience(this EClassJob classJob, IDataManager dataManager) + { + ClassJob? rowOrDefault = dataManager.GetExcelSheet().GetRowOrDefault((uint)classJob); + int num = ((!rowOrDefault.HasValue) ? 638644957 : 638644959); + while (true) + { + int num2 = num; + int num3 = 638644958; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 638644959; + break; + case 0: + return PlayerStateHelper.GetClassJobExperience(rowOrDefault.Value.ExpArrayIndex); + case 3: + return 0; + case 1: + num = ((rowOrDefault.Value.ExpArrayIndex >= 0) ? 638644958 : 638644957); + break; + } + } + } + + public static List GetActions(this EClassJob classJob, IDataManager dataManager) + { + return (from a in dataManager.GetExcelSheet().Where(delegate(Action a) + { + int num = ((a.ClassJob.RowId != (uint)classJob) ? 783603201 : 783603202); + while (true) + { + int num2 = num; + int num3 = 783603203; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + return a.ClassJobLevel > 0; + case 0: + goto IL_0064; + } + continue; + IL_0064: + num = 783603202; + } + }) + 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 00000000..abe87fbf --- /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 00000000..355e8cb8 --- /dev/null +++ b/LLib/LLib.GameData/ECombatRoleExtensions.cs @@ -0,0 +1,37 @@ +namespace LLib.GameData; + +public static class ECombatRoleExtensions +{ + public static ECombatRole GetCombatRole(this EClassJob classJob) + { + int num = ((!classJob.IsTank()) ? 1662519896 : 1662519898); + while (true) + { + int num2 = num; + int num3 = 1662519899; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return ECombatRole.None; + case 1: + return ECombatRole.Tank; + case 2: + num = 1662519898; + break; + case 3: + num = ((!classJob.IsHealer()) ? 1662519903 : 1662519902); + break; + case 4: + num = ((!classJob.IsDps()) ? 1662519899 : 1662519901); + break; + case 6: + return ECombatRole.Dps; + case 5: + return ECombatRole.Healer; + } + } + } +} diff --git a/LLib/LLib.GameData/EPublicEventType.cs b/LLib/LLib.GameData/EPublicEventType.cs new file mode 100644 index 00000000..b75ceba8 --- /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 b05aac95..54b6be53 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 00000000..4f7f1a08 --- /dev/null +++ b/LLib/LLib.GameData/GameStateHelper.cs @@ -0,0 +1,470 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +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.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) + { + uint value; + int num = ((!_territoryToAetherCurrentCompFlgSet.TryGetValue(territoryId, out value)) ? 403824667 : 403824666); + while (true) + { + int num2 = num; + int num3 = 403824667; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004e; + case 0: + return false; + case 1: + return PlayerStateHelper.IsAetherCurrentZoneComplete(value); + } + continue; + IL_004e: + num = 403824666; + } + } + + public bool IsFlyingUnlockedInCurrentZone() + { + return IsFlyingUnlocked(_206E_200D_200F_206A_202B_200B_206B_206B_200E_200D_202A_206A_200D_206F_200E_200E_200E_206D_202A_206E_206C_200F_200D_206A_200D_200F_200E_206D_206E_206B_200E_200F_202E_200E_202C_200C_202A_206E_200F_206E_202E(_clientState)); + } + + public unsafe ushort? GetMountId() + { + IPlayerCharacter playerCharacter = _200F_206D_206D_202B_202B_200E_200D_200F_200C_202C_200E_202A_200E_202A_206D_202D_206D_200E_202B_200E_202C_202A_200D_206D_202E_202E_202A_202D_206D_206B_206A_202D_202D_200D_202C_206C_206B_200F_202B_202B_202E(_objectTable); + int num = ((playerCharacter != null) ? 1199000575 : 1199000574); + BattleChara* ptr = default(BattleChara*); + while (true) + { + int num2 = num; + int num3 = 1199000570; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = ((ptr->Mount.MountId != 0) ? 1199000568 : 1199000569); + break; + case 4: + return null; + case 5: + ptr = (BattleChara*)_202B_206A_206C_202B_206B_202C_202C_206B_206F_206E_206D_206F_202E_200B_206D_202E_206A_206A_206A_200C_206E_200B_206C_200C_200D_206D_202C_206E_206D_202E_200B_202B_206C_202A_202E_206A_202E_206B_202E_202B_202E((IGameObject)playerCharacter); + num = ((ptr == null) ? 1199000569 : 1199000571); + break; + case 3: + return null; + case 2: + return ptr->Mount.MountId; + case 0: + num = 1199000574; + break; + } + } + } + + public unsafe bool HasStatusPreventingMount() + { + int num = ((!_202D_206E_206A_206C_206E_202D_200B_200D_200B_202E_200B_206E_200E_200D_200B_200E_202C_206F_206A_206C_202C_202B_200D_206E_202A_202D_202C_202D_200B_200F_200E_206E_200F_206E_206C_202A_206A_202D_202C_202E(_condition, ConditionFlag.Swimming)) ? (-1891317293) : (-1891317282)); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + StatusManager* statusManager = default(StatusManager*); + while (true) + { + int num2 = num; + int num3 = -1891317286; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + return false; + case 4: + num = (IsFlyingUnlockedInCurrentZone() ? (-1891317293) : (-1891317288)); + break; + case 7: + { + BattleChara* ptr = (BattleChara*)_202B_206A_206C_202B_206B_202C_202C_206B_206F_206E_206D_206F_202E_200B_206D_202E_206A_206A_206A_200C_206E_200B_206C_200C_200D_206D_202C_206E_206D_202E_200B_202B_206C_202A_202E_206A_202E_206B_202E_202B_202E((IGameObject)playerCharacter); + statusManager = ptr->GetStatusManager(); + num = (statusManager->HasStatus(1151u) ? (-1891317287) : (-1891317296)); + break; + } + case 5: + num = -1891317282; + break; + case 9: + num = (PlayerStateHelper.IsAnyMountUnlocked() ? (-1891317286) : (-1891317285)); + break; + case 10: + num = ((!statusManager->HasStatus(1945u)) ? (-1891317284) : (-1891317287)); + break; + case 6: + return HasStatusPreventingMountOrSprint(); + case 3: + return true; + case 1: + return true; + case 0: + playerCharacter = _200F_206D_206D_202B_202B_200E_200D_200F_200C_202C_200E_202A_200E_202A_206D_202D_206D_200E_202B_200E_202C_202A_200D_206D_202E_202E_202A_202D_206D_206B_206A_202D_202D_200D_202C_206C_206B_200F_202B_202B_202E(_objectTable); + num = ((playerCharacter != null) ? (-1891317283) : (-1891317294)); + break; + case 2: + return true; + } + } + } + + public bool HasStatusPreventingSprint() + { + return HasStatusPreventingMountOrSprint(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe bool Mount(uint preferredMountId = 0u) + { + int num = ((!_202D_206E_206A_206C_206E_202D_200B_200D_200B_202E_200B_206E_200E_200D_200B_200E_202C_206F_206A_206C_202C_202B_200D_206E_202A_202D_202C_202D_200B_200F_200E_206E_200F_206E_206C_202A_206A_202D_202C_202E(_condition, ConditionFlag.Mounted)) ? (-2056897107) : (-2056897108)); + while (true) + { + int num2 = num; + int num3 = -2056897114; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 13: + num = -2056897108; + break; + case 9: + num = ((ActionManager.Instance()->GetActionStatus(ActionType.GeneralAction, 9u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) != 0) ? (-2056897118) : (-2056897113)); + break; + case 3: + return false; + case 8: + num = ((!PlayerStateHelper.IsMountUnlocked(preferredMountId)) ? (-2056897105) : (-2056897116)); + break; + case 4: + return false; + case 7: + _202D_202E_206F_202A_206D_206A_206B_200C_202A_200D_206B_202C_202C_202C_206E_202E_206F_202E_200B_206C_206E_202A_206A_202D_200F_206B_200D_202D_206D_200F_202D_202C_206E_206D_200D_202B_202B_200C_202D_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1476715702), new object[1] { preferredMountId }); + num = ((!ActionManager.Instance()->UseAction(ActionType.Mount, preferredMountId, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) ? (-2056897115) : (-2056897117)); + break; + case 6: + _200B_206F_202B_202C_200E_206D_206A_202A_202C_200B_202B_206D_206F_200D_206D_206A_206A_202E_200F_202C_200E_202E_200C_202E_206D_202C_200D_206E_200B_200E_206B_202C_200B_200E_206F_202E_202D_206C_202D_202E((ILogger)_logger, global::_003CModule_003E._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(1773045698), Array.Empty()); + return true; + case 10: + return true; + case 1: + _202D_202E_206F_202A_206D_206A_206B_200C_202A_200D_206B_202C_202C_202C_206E_202E_206F_202E_200B_206C_206E_202A_206A_202D_200F_206B_200D_202D_206D_200F_202D_202C_206E_206D_200D_202B_202B_200C_202D_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1930041306), Array.Empty()); + num = ((!ActionManager.Instance()->UseAction(ActionType.GeneralAction, 9u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) ? (-2056897118) : (-2056897120)); + break; + case 2: + num = ((ActionManager.Instance()->GetActionStatus(ActionType.Mount, preferredMountId, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) != 0) ? (-2056897115) : (-2056897119)); + break; + case 5: + _200B_206F_202B_202C_200E_206D_206A_202A_202C_200B_202B_206D_206F_200D_206D_206A_206A_202E_200F_202C_200E_202E_200C_202E_206D_202C_200D_206E_200B_200E_206B_202C_200B_200E_206F_202E_202D_206C_202D_202E((ILogger)_logger, global::_003CModule_003E._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(-297265243), new object[1] { preferredMountId }); + return true; + case 11: + num = ((!HasStatusPreventingMount()) ? (-2056897114) : (-2056897110)); + break; + case 0: + num = ((preferredMountId == 0) ? (-2056897105) : (-2056897106)); + break; + case 12: + _202D_202E_206F_202A_206D_206A_206B_200C_202A_200D_206B_202C_202C_202C_206E_202E_206F_202E_200B_206C_206E_202A_206A_202D_200F_206B_200D_202D_206D_200F_202D_202C_206E_206D_200D_202B_202B_200C_202D_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1799024315), Array.Empty()); + return false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe bool Unmount() + { + int num = (_202D_206E_206A_206C_206E_202D_200B_200D_200B_202E_200B_206E_200E_200D_200B_200E_202C_206F_206A_206C_202C_202B_200D_206E_202A_202D_202C_202D_200B_200F_200E_206E_200F_206E_206C_202A_206A_202D_202C_202E(_condition, ConditionFlag.Mounted) ? (-837931161) : (-837931166)); + while (true) + { + int num2 = num; + int num3 = -837931167; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -837931166; + break; + case 3: + return true; + case 1: + _202D_202E_206F_202A_206D_206A_206B_200C_202A_200D_206B_202C_202C_202C_206E_202E_206F_202E_200B_206C_206E_202A_206A_202D_200F_206B_200D_202D_206D_200F_202D_202C_206E_206D_200D_202B_202B_200C_202D_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-714588632), Array.Empty()); + return false; + case 0: + _202D_202E_206F_202A_206D_206A_206B_200C_202A_200D_206B_202C_202C_202C_206E_202E_206F_202E_200B_206C_206E_202A_206A_202D_200F_206B_200D_202D_206D_200F_202D_202C_206E_206D_200D_202B_202B_200C_202D_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1741093506), Array.Empty()); + num = ((!ActionManager.Instance()->UseAction(ActionType.GeneralAction, 23u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) ? (-837931163) : (-837931164)); + break; + case 6: + num = ((ActionManager.Instance()->GetActionStatus(ActionType.GeneralAction, 23u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) ? (-837931167) : (-837931168)); + break; + case 5: + _200B_206F_202B_202C_200E_206D_206A_202A_202C_200B_202B_206D_206F_200D_206D_206A_206A_202E_200F_202C_200E_202E_200C_202E_206D_202C_200D_206E_200B_200E_206B_202C_200B_200E_206F_202E_202D_206C_202D_202E((ILogger)_logger, global::_003CModule_003E._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(-97506348), Array.Empty()); + return true; + case 4: + return false; + } + } + } + + public unsafe int? GetFreeInventorySlots() + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? (-1831709052) : (-1831709042)); + int num7 = default(int); + int num8 = default(int); + InventoryType inventoryType = default(InventoryType); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + InventoryItem* inventorySlot = default(InventoryItem*); + while (true) + { + int num2 = num; + int num3 = -1831709050; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + { + int num10 = num7; + num3 = 1; + num4 = num10; + int num11 = num4 ^ num3; + int num12 = num4 & num3; + num7 = num11 + (num12 + num12); + num = -1831709055; + break; + } + case 7: + { + int num9 = num8; + num3 = 1; + num4 = num9; + num8 = (num4 | num3) + (num4 & num3); + num = -1831709054; + break; + } + case 12: + num = ((inventoryType <= InventoryType.Inventory4) ? (-1831709053) : (-1831709050)); + break; + case 11: + num8 = 0; + num = -1831709054; + break; + case 8: + return null; + case 0: + return num7; + case 13: + num = -1831709042; + break; + case 3: + return null; + case 5: + inventoryContainer = ptr->GetInventoryContainer(inventoryType); + num = ((inventoryContainer != null) ? (-1831709043) : (-1831709051)); + break; + case 10: + num = ((inventorySlot->ItemId != 0) ? (-1831709055) : (-1831709049)); + break; + case 4: + num = ((num8 < inventoryContainer->Size) ? (-1831709056) : (-1831709041)); + break; + case 6: + inventorySlot = inventoryContainer->GetInventorySlot(num8); + num = ((inventorySlot == null) ? (-1831709049) : (-1831709044)); + break; + case 2: + num7 = 0; + inventoryType = InventoryType.Inventory1; + num = -1831709046; + break; + case 9: + inventoryType++; + num = -1831709046; + break; + } + } + } + + public uint GetItemLevel(uint itemId) + { + return _dataManager.GetExcelSheet().GetRowOrDefault(itemId)?.LevelItem.RowId ?? 0; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe bool IsLoadingScreenVisible() + { + AtkUnitBase* addonPtr; + int num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(108265439), out addonPtr)) ? (-1210184014) : (-1210184015)); + while (true) + { + int num2 = num; + int num3 = -1210184006; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 10: + return true; + case 4: + num = ((!LAddon.IsAddonReady(addonPtr)) ? (-1210184004) : (-1210184003)); + break; + case 0: + num = ((!LAddon.IsAddonReady(addonPtr)) ? (-1210184008) : (-1210184013)); + break; + case 6: + return false; + case 5: + return true; + case 3: + num = -1210184015; + break; + case 8: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(-342678724), out addonPtr)) ? (-1210184008) : (-1210184006)); + break; + case 9: + num = ((!addonPtr->IsVisible) ? (-1210184008) : (-1210184016)); + break; + case 2: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(190562947), out addonPtr)) ? (-1210184004) : (-1210184002)); + break; + case 11: + num = ((!LAddon.IsAddonReady(addonPtr)) ? (-1210184014) : (-1210184005)); + break; + case 7: + num = ((!addonPtr->IsVisible) ? (-1210184004) : (-1210184010)); + break; + case 12: + return true; + case 1: + num = ((!addonPtr->IsVisible) ? (-1210184014) : (-1210184001)); + break; + } + } + } + + private unsafe bool HasStatusPreventingMountOrSprint() + { + IPlayerCharacter playerCharacter = _200F_206D_206D_202B_202B_200E_200D_200F_200C_202C_200E_202A_200E_202A_206D_202D_206D_200E_202B_200E_202C_202A_200D_206D_202E_202E_202A_202D_206D_206B_206A_202D_202D_200D_202C_206C_206B_200F_202B_202B_202E(_objectTable); + int num = ((playerCharacter != null) ? 509350324 : 509350327); + StatusManager* statusManager = default(StatusManager*); + while (true) + { + int num2 = num; + int num3 = 509350321; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = (statusManager->HasStatus(404u) ? 509350322 : 509350323); + break; + case 1: + return statusManager->HasStatus(2730u); + case 7: + num = (statusManager->HasStatus(2729u) ? 509350322 : 509350320); + break; + case 4: + num = 509350327; + break; + case 6: + return false; + case 2: + num = (statusManager->HasStatus(416u) ? 509350322 : 509350326); + break; + case 5: + { + BattleChara* ptr = (BattleChara*)_202B_206A_206C_202B_206B_202C_202C_206B_206F_206E_206D_206F_202E_200B_206D_202E_206A_206A_206A_200C_206E_200B_206C_200C_200D_206D_202C_206E_206D_202E_200B_202B_206C_202A_202E_206A_202E_206B_202E_202B_202E((IGameObject)playerCharacter); + statusManager = ptr->GetStatusManager(); + num = (statusManager->HasStatus(565u) ? 509350322 : 509350321); + break; + } + case 3: + return true; + } + } + } + + static uint _206E_200D_200F_206A_202B_200B_206B_206B_200E_200D_202A_206A_200D_206F_200E_200E_200E_206D_202A_206E_206C_200F_200D_206A_200D_200F_200E_206D_206E_206B_200E_200F_202E_200E_202C_200C_202A_206E_200F_206E_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static IPlayerCharacter _200F_206D_206D_202B_202B_200E_200D_200F_200C_202C_200E_202A_200E_202A_206D_202D_206D_200E_202B_200E_202C_202A_200D_206D_202E_202E_202A_202D_206D_206B_206A_202D_202D_200D_202C_206C_206B_200F_202B_202B_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static nint _202B_206A_206C_202B_206B_202C_202C_206B_206F_206E_206D_206F_202E_200B_206D_202E_206A_206A_206A_200C_206E_200B_206C_200C_200D_206D_202C_206E_206D_202E_200B_202B_206C_202A_202E_206A_202E_206B_202E_202B_202E(IGameObject P_0) + { + return P_0.Address; + } + + static bool _202D_206E_206A_206C_206E_202D_200B_200D_200B_202E_200B_206E_200E_200D_200B_200E_202C_206F_206A_206C_202C_202B_200D_206E_202A_202D_202C_202D_200B_200F_200E_206E_200F_206E_206C_202A_206A_202D_202C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static void _202D_202E_206F_202A_206D_206A_206B_200C_202A_200D_206B_202C_202C_202C_206E_202E_206F_202E_200B_206C_206E_202A_206A_202D_200F_206B_200D_202D_206D_200F_202D_202C_206E_206D_200D_202B_202B_200C_202D_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _200B_206F_202B_202C_200E_206D_206A_202A_202C_200B_202B_206D_206F_200D_206D_206A_206A_202E_200F_202C_200E_202E_200C_202E_206D_202C_200D_206E_200B_200E_206B_202C_200B_200E_206F_202E_202D_206C_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } +} diff --git a/LLib/LLib.GameData/GrandCompanyHelper.cs b/LLib/LLib.GameData/GrandCompanyHelper.cs new file mode 100644 index 00000000..36797177 --- /dev/null +++ b/LLib/LLib.GameData/GrandCompanyHelper.cs @@ -0,0 +1,62 @@ +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(); + int num = ((ptr != null) ? (-333040930) : (-333040931)); + while (true) + { + int num2 = num; + int num3 = -333040929; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 1: + return ptr->GrandCompany; + case 2: + return 0; + } + continue; + IL_004b: + num = -333040931; + } + } + + public unsafe static byte GetGrandCompanyRank() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 871865385 : 871865386); + while (true) + { + int num2 = num; + int num3 = 871865387; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return ptr->GetGrandCompanyRank(); + case 1: + return 0; + } + continue; + IL_0049: + num = 871865386; + } + } +} diff --git a/LLib/LLib.GameData/PlayerStateHelper.cs b/LLib/LLib.GameData/PlayerStateHelper.cs new file mode 100644 index 00000000..a85bcd83 --- /dev/null +++ b/LLib/LLib.GameData/PlayerStateHelper.cs @@ -0,0 +1,2227 @@ +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(); + int num = ((ptr != null) ? 622565099 : 622565096); + while (true) + { + int num2 = num; + int num3 = 622565097; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return ptr->CharacterNameString; + case 1: + return string.Empty; + } + continue; + IL_004b: + num = 622565096; + } + } + + public unsafe static string GetOnlineId() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 1549891514 : 1549891513); + while (true) + { + int num2 = num; + int num3 = 1549891512; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return ptr->OnlineIdString; + case 1: + return string.Empty; + } + continue; + IL_0049: + num = 1549891513; + } + } + + public unsafe static byte GetCurrentClassJobId() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 1578162240 : 1578162241); + while (true) + { + int num2 = num; + int num3 = 1578162240; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return ptr->CurrentClassJobId; + case 1: + return 0; + case 2: + goto IL_0052; + } + continue; + IL_0052: + num = 1578162241; + } + } + + public unsafe static byte GetRace() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 815415223 : 815415220); + while (true) + { + int num2 = num; + int num3 = 815415221; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 1: + return 0; + case 2: + return ptr->Race; + } + continue; + IL_004b: + num = 815415220; + } + } + + public unsafe static byte GetSex() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? (-2146489787) : (-2146489786)); + while (true) + { + int num2 = num; + int num3 = -2146489788; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return 0; + case 1: + return ptr->Sex; + } + continue; + IL_004b: + num = -2146489786; + } + } + + public unsafe static byte GetTribe() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 2134298848 : 2134298851); + while (true) + { + int num2 = num; + int num3 = 2134298850; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return ptr->Tribe; + case 1: + return 0; + case 0: + goto IL_0052; + } + continue; + IL_0052: + num = 2134298851; + } + } + + public unsafe static byte GetMaxExpansion() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 314367618 : 314367619); + while (true) + { + int num2 = num; + int num3 = 314367618; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004b; + case 1: + return 0; + case 0: + return ptr->MaxExpansion; + } + continue; + IL_004b: + num = 314367619; + } + } + + public unsafe static byte GetStartTown() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? (-331480694) : (-331480695)); + while (true) + { + int num2 = num; + int num3 = -331480693; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return ptr->StartTown; + case 2: + return 0; + case 0: + goto IL_0052; + } + continue; + IL_0052: + num = -331480695; + } + } + + public unsafe static byte GetFirstClass() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 167290764 : 167290767); + while (true) + { + int num2 = num; + int num3 = 167290765; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 1: + return ptr->FirstClass; + case 2: + return 0; + } + continue; + IL_004b: + num = 167290767; + } + } + + public unsafe static short GetClassJobLevel(int expArrayIndex) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? (-683518906) : (-683518905)); + while (true) + { + int num2 = num; + int num3 = -683518906; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004c; + case 0: + return ptr->ClassJobLevels[expArrayIndex]; + case 1: + return 0; + } + continue; + IL_004c: + num = -683518905; + } + } + + public unsafe static int GetClassJobExperience(int expArrayIndex) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 1898247155 : 1898247154); + while (true) + { + int num2 = num; + int num3 = 1898247155; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return ptr->ClassJobExperience[expArrayIndex]; + case 1: + return 0; + case 2: + goto IL_005f; + } + continue; + IL_005f: + num = 1898247154; + } + } + + public unsafe static uint GetFreeAetheryteId() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 2110699587 : 2110699584); + while (true) + { + int num2 = num; + int num3 = 2110699586; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return ptr->FreeAetheryteId; + case 2: + return 0u; + } + continue; + IL_0049: + num = 2110699584; + } + } + + public unsafe static uint GetFreeAetherytePSPlusId() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 524234665 : 524234666); + while (true) + { + int num2 = num; + int num3 = 524234664; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return 0u; + case 1: + return ptr->FreeAetherytePSPlus; + } + continue; + IL_0049: + num = 524234666; + } + } + + public unsafe static uint GetFreeAetheryteNSOId() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 977827610 : 977827611); + while (true) + { + int num2 = num; + int num3 = 977827610; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return ptr->FreeAetheryteNSO; + case 1: + return 0u; + case 2: + goto IL_0054; + } + continue; + IL_0054: + num = 977827611; + } + } + + public static bool IsFreeAetheryte(uint aetheryteId) + { + int num = ((GetFreeAetheryteId() == aetheryteId) ? (-1031394487) : (-1031394488)); + while (true) + { + int num2 = num; + int num3 = -1031394487; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return GetFreeAetheryteNSOId() == aetheryteId; + case 0: + return true; + case 2: + num = -1031394488; + break; + case 1: + num = ((GetFreeAetherytePSPlusId() == aetheryteId) ? (-1031394487) : (-1031394486)); + break; + } + } + } + + public unsafe static bool IsFavouriteAetheryte(uint aetheryteId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? (-814303290) : (-814303295)); + int num8 = default(int); + while (true) + { + int num2 = num; + int num3 = -814303296; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = -814303295; + break; + case 7: + num = ((ptr->FavouriteAetherytes[num8] != aetheryteId) ? (-814303294) : (-814303291)); + break; + case 3: + return false; + case 0: + num = ((num8 < ptr->FavouriteAetheryteCount) ? (-814303289) : (-814303293)); + break; + case 6: + num8 = 0; + num = -814303296; + break; + case 1: + return false; + case 5: + return true; + case 2: + { + int num7 = num8; + num3 = 1; + num4 = num7; + num8 = (num4 | num3) + (num4 & num3); + num = -814303296; + break; + } + } + } + } + + public unsafe static List GetFavouriteAetherytes() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? (-894678688) : (-894678683)); + List list = default(List); + ushort num6 = default(ushort); + int num5 = default(int); + while (true) + { + int num2 = num; + int num3 = -894678684; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -894678683; + break; + case 3: + list.Add(num6); + num = -894678686; + break; + case 5: + num6 = ptr->FavouriteAetherytes[num5]; + num = ((num6 == 0) ? (-894678686) : (-894678681)); + break; + case 7: + return list; + case 4: + list = new List(); + num5 = 0; + num = -894678682; + break; + case 6: + { + int num7 = num5; + num3 = 1; + num4 = num7; + num5 = (num4 | num3) + (num4 & num3); + num = -894678682; + break; + } + case 2: + num = ((num5 < ptr->FavouriteAetheryteCount) ? (-894678687) : (-894678685)); + break; + case 1: + return new List(); + } + } + } + + public unsafe static uint GetHomeAetheryteId() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 1546678320 : 1546678323); + while (true) + { + int num2 = num; + int num3 = 1546678321; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return 0u; + case 1: + return ptr->HomeAetheryteId; + } + continue; + IL_0049: + num = 1546678323; + } + } + + public unsafe static bool HasFavouriteSlotAvailable() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? (-1110880782) : (-1110880783)); + int num7 = default(int); + while (true) + { + int num2 = num; + int num3 = -1110880781; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + num = -1110880783; + break; + case 3: + num = ((num7 < ptr->FavouriteAetheryteCount) ? (-1110880778) : (-1110880781)); + break; + case 2: + return false; + case 0: + return false; + case 1: + num7 = 0; + num = -1110880784; + break; + case 4: + { + int num8 = num7; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num7 = num9 + (num10 + num10); + num = -1110880784; + break; + } + case 6: + return true; + case 5: + num = ((ptr->FavouriteAetherytes[num7] != 0) ? (-1110880777) : (-1110880779)); + break; + } + } + } + + public unsafe static bool IsMentor() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-6609924) : (-6609923)); + while (true) + { + int num2 = num; + int num3 = -6609924; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + return ptr->IsMentor(); + case 2: + goto IL_0054; + } + continue; + IL_0054: + num = -6609923; + } + } + + public unsafe static bool IsBattleMentor() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 688011153 : 688011154); + while (true) + { + int num2 = num; + int num3 = 688011155; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 1: + return ptr->IsBattleMentor(); + case 2: + return false; + } + continue; + IL_004b: + num = 688011154; + } + } + + public unsafe static bool IsTradeMentor() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1068792182) : (-1068792183)); + while (true) + { + int num2 = num; + int num3 = -1068792181; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return ptr->IsTradeMentor(); + case 1: + return false; + } + continue; + IL_0049: + num = -1068792183; + } + } + + public unsafe static bool IsNovice() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1157353749) : (-1157353752)); + while (true) + { + int num2 = num; + int num3 = -1157353751; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return ptr->IsNovice(); + case 2: + return false; + } + continue; + IL_0049: + num = -1157353752; + } + } + + public unsafe static bool IsReturner() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-146346552) : (-146346551)); + while (true) + { + int num2 = num; + int num3 = -146346552; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 1: + return ptr->IsReturner(); + case 0: + return false; + } + continue; + IL_0049: + num = -146346551; + } + } + + public unsafe static byte GetMentorVersion() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 1350105722 : 1350105721); + while (true) + { + int num2 = num; + int num3 = 1350105723; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return ptr->MentorVersion; + case 2: + return 0; + case 0: + goto IL_0054; + } + continue; + IL_0054: + num = 1350105721; + } + } + + public unsafe static bool IsPlayerStateFlagSet(PlayerStateFlag flag) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1522263479) : (-1522263478)); + while (true) + { + int num2 = num; + int num3 = -1522263477; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + return ptr->IsPlayerStateFlagSet(flag); + case 0: + goto IL_0055; + } + continue; + IL_0055: + num = -1522263478; + } + } + + public unsafe static byte GetBeastTribeRank(byte alliedSocietyId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 1418987817 : 1418987816); + while (true) + { + int num2 = num; + int num3 = 1418987817; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 0: + return ptr->GetBeastTribeRank(alliedSocietyId); + case 1: + return 0; + } + continue; + IL_0049: + num = 1418987816; + } + } + + public unsafe static int GetCurrentPose(EmoteController.PoseType poseType) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? (-1004004491) : (-1004004490)); + while (true) + { + int num2 = num; + int num3 = -1004004492; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return 0; + case 1: + return ptr->CurrentPose(poseType); + } + continue; + IL_004b: + num = -1004004490; + } + } + + public unsafe static byte GetGoldSaucerContentStatus() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 1519531706 : 1519531707); + while (true) + { + int num2 = num; + int num3 = 1519531706; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004b; + case 1: + return 0; + case 0: + return ptr->GoldSaucerContentStatus; + } + continue; + IL_004b: + num = 1519531707; + } + } + + public unsafe static uint GetActiveFestivalId(int index) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 217589694 : 217589693); + while (true) + { + int num2 = num; + int num3 = 217589695; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004e; + case 1: + return ptr->ActiveFestivalIds[index]; + case 2: + return 0u; + } + continue; + IL_004e: + num = 217589693; + } + } + + public unsafe static uint GetActiveFestivalPhase(int index) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? (-2009718353) : (-2009718356)); + while (true) + { + int num2 = num; + int num3 = -2009718355; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return ptr->ActiveFestivalPhases[index]; + case 1: + return 0u; + case 0: + goto IL_0061; + } + continue; + IL_0061: + num = -2009718356; + } + } + + public unsafe static bool IsMeister(uint classJobId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 340405753 : 340405752); + while (true) + { + int num2 = num; + int num3 = 340405753; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + return ptr->IsMeisterFlag(classJobId); + case 2: + goto IL_0055; + } + continue; + IL_0055: + num = 340405752; + } + } + + public unsafe static bool IsMeisterWithSoulStone(uint classJobId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 1639624127 : 1639624124); + while (true) + { + int num2 = num; + int num3 = 1639624125; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 1: + return ptr->IsMeisterFlagAndHasSoulStoneEquipped(classJobId); + case 2: + return false; + } + continue; + IL_004b: + num = 1639624124; + } + } + + public unsafe static bool IsMeisterMaxCount() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1571337682) : (-1571337683)); + while (true) + { + int num2 = num; + int num3 = -1571337681; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return ptr->IsMeisterFlagMaxCount(); + case 1: + return false; + } + continue; + IL_0049: + num = -1571337683; + } + } + + public unsafe static byte GetMeisterFlag() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? (-899158117) : (-899158118)); + while (true) + { + int num2 = num; + int num3 = -899158117; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004b; + case 1: + return 0; + case 0: + return ptr->MeisterFlag; + } + continue; + IL_004b: + num = -899158118; + } + } + + public unsafe static byte GetDeliveryLevel() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 1942457918 : 1942457917); + while (true) + { + int num2 = num; + int num3 = 1942457916; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return ptr->DeliveryLevel; + case 1: + return 0; + } + continue; + IL_004b: + num = 1942457917; + } + } + + public unsafe static int GetPenaltyTimestamp(int index) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 59901669 : 59901670); + while (true) + { + int num2 = num; + int num3 = 59901671; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return ptr->PenaltyTimestamps[index]; + case 1: + return 0; + case 0: + goto IL_0061; + } + continue; + IL_0061: + num = 59901670; + } + } + + public static int GetDutyFinderPenaltyTimestamp() + { + return GetPenaltyTimestamp(0); + } + + public unsafe static bool IsMountUnlocked(uint mountId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-85690625) : (-85690628)); + while (true) + { + int num2 = num; + int num3 = -85690627; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + return ptr->IsMountUnlocked(mountId); + case 0: + goto IL_0055; + } + continue; + IL_0055: + num = -85690628; + } + } + + public unsafe static bool IsAnyMountUnlocked() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 753037439 : 753037436); + while (true) + { + int num2 = num; + int num3 = 753037438; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return ptr->NumOwnedMounts > 0; + case 1: + return false; + } + continue; + IL_004b: + num = 753037436; + } + } + + public unsafe static bool IsOrnamentUnlocked(uint ornamentId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 1330167974 : 1330167973); + while (true) + { + int num2 = num; + int num3 = 1330167975; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return ptr->IsOrnamentUnlocked(ornamentId); + case 0: + goto IL_0055; + } + continue; + IL_0055: + num = 1330167973; + } + } + + public unsafe static bool IsGlassesUnlocked(ushort glassesId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 2130615081 : 2130615082); + while (true) + { + int num2 = num; + int num3 = 2130615080; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return false; + case 2: + return ptr->IsGlassesUnlocked(glassesId); + } + continue; + IL_0049: + num = 2130615082; + } + } + + public unsafe static bool IsOrchestrionRollUnlocked(uint rollId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 1221964641 : 1221964642); + while (true) + { + int num2 = num; + int num3 = 1221964643; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + return ptr->IsOrchestrionRollUnlocked(rollId); + case 0: + goto IL_0055; + } + continue; + IL_0055: + num = 1221964642; + } + } + + public unsafe static bool IsFramersKitUnlocked(uint kitId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 1337831057 : 1337831056); + while (true) + { + int num2 = num; + int num3 = 1337831057; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004b; + case 0: + return false; + case 1: + return ptr->IsFramersKitUnlocked(kitId); + } + continue; + IL_004b: + num = 1337831056; + } + } + + public unsafe static bool IsMcGuffinUnlocked(uint id) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 1298879102 : 1298879103); + while (true) + { + int num2 = num; + int num3 = 1298879102; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 1: + return ptr->IsMcGuffinUnlocked(id); + case 2: + goto IL_0053; + } + continue; + IL_0053: + num = 1298879103; + } + } + + public unsafe static bool IsDungeonCompleted(uint dungeonId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-993305962) : (-993305963)); + while (true) + { + int num2 = num; + int num3 = -993305961; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 2: + return GetBitSafe(ptr->CompletedDungeonsBitArray, dungeonId); + case 0: + goto IL_0058; + } + continue; + IL_0058: + num = -993305963; + } + } + + public unsafe static bool IsRaidCompleted(uint raidId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-926274817) : (-926274820)); + while (true) + { + int num2 = num; + int num3 = -926274818; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return false; + case 2: + return GetBitSafe(ptr->CompletedRaidsBitArray, raidId); + } + continue; + IL_0049: + num = -926274820; + } + } + + public unsafe static bool IsTrialCompleted(uint trialId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1242533675) : (-1242533674)); + while (true) + { + int num2 = num; + int num3 = -1242533676; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return GetBitSafe(ptr->CompletedTrialsBitArray, trialId); + case 1: + return false; + } + continue; + IL_004b: + num = -1242533674; + } + } + + public unsafe static bool IsFrontlineCompleted(uint frontlineId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 1536431418 : 1536431417); + while (true) + { + int num2 = num; + int num3 = 1536431416; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + return GetBitSafe(ptr->CompletedFrontlinesBitArray, frontlineId); + case 0: + goto IL_005a; + } + continue; + IL_005a: + num = 1536431417; + } + } + + public unsafe static bool IsCrystallineConflictCompleted(uint id) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1237265056) : (-1237265053)); + while (true) + { + int num2 = num; + int num3 = -1237265055; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return false; + case 2: + return GetBitSafe(ptr->CompletedCrystallineConflictsBitArray, id); + } + continue; + IL_0049: + num = -1237265053; + } + } + + public unsafe static bool IsGuildOrderCompleted(uint orderId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-73722255) : (-73722256)); + while (true) + { + int num2 = num; + int num3 = -73722255; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 1: + return GetBitSafe(ptr->CompletedGuildOrdersBitArray, orderId); + case 2: + goto IL_0058; + } + continue; + IL_0058: + num = -73722256; + } + } + + public unsafe static bool IsMaskedCarnivaleCompleted(uint stageId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-820654768) : (-820654767)); + while (true) + { + int num2 = num; + int num3 = -820654768; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 0: + return false; + case 1: + return GetBitSafe(ptr->CompletedMaskedCarnivaleBitArray, stageId); + } + continue; + IL_0049: + num = -820654767; + } + } + + public unsafe static bool IsMiscContentCompleted(uint contentId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 825419022 : 825419021); + while (true) + { + int num2 = num; + int num3 = 825419020; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return false; + case 1: + return GetBitSafe(ptr->CompletedMiscContentBitArray, contentId); + } + continue; + IL_004b: + num = 825419021; + } + } + + public unsafe static bool IsBeginnerTrainingCompleted(uint trainingId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1010016233) : (-1010016236)); + while (true) + { + int num2 = num; + int num3 = -1010016234; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return false; + case 2: + return GetBitSafe(ptr->CompletedBeginnerTrainingBitArray, trainingId); + } + continue; + IL_0049: + num = -1010016236; + } + } + + public unsafe static bool IsVVDNotebookContentCompleted(uint contentId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1861355372) : (-1861355369)); + while (true) + { + int num2 = num; + int num3 = -1861355370; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + return GetBitSafe(ptr->CompletedVVDNotebookContentsBitArray, contentId); + case 0: + goto IL_005a; + } + continue; + IL_005a: + num = -1861355369; + } + } + + public unsafe static bool IsDungeonUnlocked(uint dungeonId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 1637335958 : 1637335959); + while (true) + { + int num2 = num; + int num3 = 1637335958; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 0: + return false; + case 1: + return GetBitSafe(ptr->UnlockedDungeonsBitArray, dungeonId); + } + continue; + IL_0049: + num = 1637335959; + } + } + + public unsafe static bool IsRaidUnlocked(uint raidId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 1897736670 : 1897736671); + while (true) + { + int num2 = num; + int num3 = 1897736670; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + return GetBitSafe(ptr->UnlockedRaidsBitArray, raidId); + case 2: + goto IL_005a; + } + continue; + IL_005a: + num = 1897736671; + } + } + + public unsafe static bool IsTrialUnlocked(uint trialId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1440829942) : (-1440829943)); + while (true) + { + int num2 = num; + int num3 = -1440829944; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return GetBitSafe(ptr->UnlockedTrialsBitArray, trialId); + case 2: + return false; + } + continue; + IL_0049: + num = -1440829943; + } + } + + public unsafe static bool IsFrontlineUnlocked(uint frontlineId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1660154923) : (-1660154924)); + while (true) + { + int num2 = num; + int num3 = -1660154923; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 1: + return GetBitSafe(ptr->UnlockedFrontlinesBitArray, frontlineId); + case 0: + return false; + } + continue; + IL_0049: + num = -1660154924; + } + } + + public unsafe static bool IsCrystallineConflictUnlocked(uint id) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 37169208 : 37169209); + while (true) + { + int num2 = num; + int num3 = 37169208; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 1: + return GetBitSafe(ptr->UnlockedCrystallineConflictsBitArray, id); + case 2: + goto IL_0058; + } + continue; + IL_0058: + num = 37169209; + } + } + + public unsafe static bool IsGuildOrderUnlocked(uint orderId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1895125962) : (-1895125963)); + while (true) + { + int num2 = num; + int num3 = -1895125961; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 2: + return GetBitSafe(ptr->UnlockedGuildOrdersBitArray, orderId); + case 0: + goto IL_0058; + } + continue; + IL_0058: + num = -1895125963; + } + } + + public unsafe static bool IsMiscContentUnlocked(uint contentId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 121866217 : 121866218); + while (true) + { + int num2 = num; + int num3 = 121866216; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 1: + return false; + case 2: + return GetBitSafe(ptr->UnlockedMiscContentBitArray, contentId); + } + continue; + IL_004b: + num = 121866218; + } + } + + public unsafe static bool IsSpecialContentUnlocked(uint contentId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1206882405) : (-1206882406)); + while (true) + { + int num2 = num; + int num3 = -1206882405; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + return GetBitSafe(ptr->UnlockedSpecialContentBitArray, contentId); + case 2: + goto IL_005a; + } + continue; + IL_005a: + num = -1206882406; + } + } + + public unsafe static bool IsFishCaught(uint fishId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 1476471736 : 1476471739); + while (true) + { + int num2 = num; + int num3 = 1476471738; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 1: + return ptr->IsFishCaught(fishId); + case 2: + return false; + } + continue; + IL_004b: + num = 1476471739; + } + } + + public unsafe static bool IsSpearfishCaught(uint fishId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 916540449 : 916540448); + while (true) + { + int num2 = num; + int num3 = 916540449; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 0: + return false; + case 1: + return ptr->IsSpearfishCaught(fishId); + } + continue; + IL_0049: + num = 916540448; + } + } + + public unsafe static bool IsFishingSpotUnlocked(uint spotId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-501535389) : (-501535390)); + while (true) + { + int num2 = num; + int num3 = -501535389; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004b; + case 0: + return false; + case 1: + return GetBitSafe(ptr->UnlockedFishingSpotsBitArray, spotId); + } + continue; + IL_004b: + num = -501535390; + } + } + + public unsafe static bool IsSpearfishingNotebookUnlocked(uint notebookId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-2066723645) : (-2066723646)); + while (true) + { + int num2 = num; + int num3 = -2066723645; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 1: + return GetBitSafe(ptr->UnlockedSpearfishingNotebooksBitArray, notebookId); + case 2: + goto IL_0058; + } + continue; + IL_0058: + num = -2066723646; + } + } + + public unsafe static bool IsSecretRecipeBookUnlocked(uint bookId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-1515319093) : (-1515319094)); + while (true) + { + int num2 = num; + int num3 = -1515319093; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + return ptr->IsSecretRecipeBookUnlocked(bookId); + case 2: + goto IL_0055; + } + continue; + IL_0055: + num = -1515319094; + } + } + + public unsafe static bool IsFolkloreBookUnlocked(uint bookId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-549279574) : (-549279575)); + while (true) + { + int num2 = num; + int num3 = -549279576; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return false; + case 1: + return ptr->IsFolkloreBookUnlocked(bookId); + } + continue; + IL_004b: + num = -549279575; + } + } + + public unsafe static bool IsAdventureComplete(uint adventureId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 811132530 : 811132529); + while (true) + { + int num2 = num; + int num3 = 811132531; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return ptr->IsAdventureComplete(adventureId); + case 0: + goto IL_0055; + } + continue; + IL_0055: + num = 811132529; + } + } + + public unsafe static bool IsBotanistFolkloreTomeUnlocked(uint tomeId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-467172317) : (-467172320)); + while (true) + { + int num2 = num; + int num3 = -467172318; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 2: + return GetBitSafe(ptr->UnlockedBotanistFolkloreTomesBitArray, tomeId); + case 0: + goto IL_0058; + } + continue; + IL_0058: + num = -467172320; + } + } + + public unsafe static bool IsMinerFolkloreTomeUnlocked(uint tomeId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 2107606707 : 2107606704); + while (true) + { + int num2 = num; + int num3 = 2107606705; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return GetBitSafe(ptr->UnlockedMinerFolkloreTomesBitArray, tomeId); + case 2: + return false; + } + continue; + IL_0049: + num = 2107606704; + } + } + + public unsafe static bool IsFishingFolkloreTomeUnlocked(uint tomeId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 2052975858 : 2052975857); + while (true) + { + int num2 = num; + int num3 = 2052975856; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return false; + case 1: + return GetBitSafe(ptr->UnlockedFishingFolkloreTomesBitArray, tomeId); + } + continue; + IL_004b: + num = 2052975857; + } + } + + public unsafe static bool IsAetherCurrentUnlocked(uint aetherCurrentId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-2079078502) : (-2079078501)); + while (true) + { + int num2 = num; + int num3 = -2079078502; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 0: + return false; + case 1: + return ptr->IsAetherCurrentUnlocked(aetherCurrentId); + } + continue; + IL_0049: + num = -2079078501; + } + } + + public unsafe static bool IsAetherCurrentZoneComplete(uint compFlgSetId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-832592099) : (-832592098)); + while (true) + { + int num2 = num; + int num3 = -832592097; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + return ptr->IsAetherCurrentZoneComplete(compFlgSetId); + case 0: + goto IL_0055; + } + continue; + IL_0055: + num = -832592098; + } + } + + public unsafe static bool IsWeeklyBingoExpired() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 233473812 : 233473815); + while (true) + { + int num2 = num; + int num3 = 233473813; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return ptr->IsWeeklyBingoExpired(); + case 0: + goto IL_0054; + } + continue; + IL_0054: + num = 233473815; + } + } + + public unsafe static long GetWeeklyBingoExpireTimestamp() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? (-575063473) : (-575063474)); + while (true) + { + int num2 = num; + int num3 = -575063473; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 0: + return ptr->GetWeeklyBingoExpireUnixTimestamp(); + case 1: + return 0L; + } + continue; + IL_0049: + num = -575063474; + } + } + + public unsafe static DateTime GetWeeklyBingoExpireDateTime() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 2135264578 : 2135264577); + while (true) + { + int num2 = num; + int num3 = 2135264576; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return ptr->WeeklyBingoExpireDateTime; + case 1: + return DateTime.MinValue; + } + continue; + IL_004b: + num = 2135264577; + } + } + + public unsafe static uint GetWeeklyBingoExpMultiplier() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 1700448851 : 1700448848); + while (true) + { + int num2 = num; + int num3 = 1700448850; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 1: + return ptr->GetWeeklyBingoExpMultiplier(); + case 2: + return 0u; + } + continue; + IL_004b: + num = 1700448848; + } + } + + public unsafe static PlayerState.WeeklyBingoTaskStatus GetWeeklyBingoTaskStatus(int index) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? (-1463129243) : (-1463129242)); + while (true) + { + int num2 = num; + int num3 = -1463129241; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return ptr->GetWeeklyBingoTaskStatus(index); + case 1: + return PlayerState.WeeklyBingoTaskStatus.Open; + } + continue; + IL_004b: + num = -1463129242; + } + } + + public unsafe static bool IsWeeklyBingoStickerPlaced(int index) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-747776692) : (-747776689)); + while (true) + { + int num2 = num; + int num3 = -747776690; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return false; + case 1: + return ptr->IsWeeklyBingoStickerPlaced(index); + case 0: + goto IL_0053; + } + continue; + IL_0053: + num = -747776689; + } + } + + public unsafe static int GetWeeklyBingoNumPlacedStickers() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? (-1111468010) : (-1111468011)); + while (true) + { + int num2 = num; + int num3 = -1111468012; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return ptr->WeeklyBingoNumPlacedStickers; + case 1: + return 0; + case 0: + goto IL_0054; + } + continue; + IL_0054: + num = -1111468011; + } + } + + public unsafe static uint GetWeeklyBingoNumSecondChancePoints() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 584156333 : 584156334); + while (true) + { + int num2 = num; + int num3 = 584156335; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return 0u; + case 2: + return ptr->WeeklyBingoNumSecondChancePoints; + } + continue; + IL_0049: + num = 584156334; + } + } + + public unsafe static bool HasWeeklyBingoJournal() + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? (-650781034) : (-650781035)); + while (true) + { + int num2 = num; + int num3 = -650781033; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return ptr->HasWeeklyBingoJournal; + case 0: + goto IL_0054; + } + continue; + IL_0054: + num = -650781035; + } + } + + public unsafe static bool IsRouletteComplete(byte rouletteId) + { + InstanceContent* ptr = InstanceContent.Instance(); + int num = ((ptr == null) ? 1446148648 : 1446148651); + while (true) + { + int num2 = num; + int num3 = 1446148650; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 1: + return ptr->IsRouletteComplete(rouletteId); + case 2: + return false; + } + continue; + IL_004b: + num = 1446148651; + } + } + + public unsafe static uint GetContentValue(uint key) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr != null) ? 1170238729 : 1170238730); + while (true) + { + int num2 = num; + int num3 = 1170238731; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return ptr->GetContentValue(key); + case 1: + return 0u; + case 0: + goto IL_0055; + } + continue; + IL_0055: + num = 1170238730; + } + } + + 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 00000000..cd20558d --- /dev/null +++ b/LLib/LLib.GameData/PublicEvent.cs @@ -0,0 +1,175 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +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) +{ + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206D_206E_202C_202E_206E_202B_200B_206C_200C_206A_206D_202D_202D_200D_200C_206F_200B_200C_206D_206A_200B_202D_200F_206B_206A_206E_202A_202C_206E_206B_206E_202C_200E_206E_202A_206D_202B_200D_202B_200F_202E(); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(stringBuilder, global::_003CModule_003E._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(-1204097607)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(stringBuilder, global::_003CModule_003E._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(579144622)); + int num = ((!PrintMembers(stringBuilder)) ? 1670321463 : 1670321462); + while (true) + { + int num2 = num; + int num3 = 1670321463; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1670321462; + break; + case 1: + _202D_206C_206C_200D_202B_202A_202C_202A_200F_206D_206D_202C_206F_202D_206A_202B_200B_200C_202D_202C_200E_206B_200D_206F_206F_206C_206E_200C_200D_200E_206A_200B_202C_200C_202A_206D_202B_200C_202E_200E_202E(stringBuilder, ' '); + num = 1670321463; + break; + case 0: + _202D_206C_206C_200D_202B_202A_202C_202A_200F_206D_206D_202C_206F_202D_206A_202B_200B_200C_202D_202C_200E_206B_200D_206F_206F_206C_206E_200C_200D_200E_206A_200B_202C_200C_202A_206D_202B_200C_202E_200E_202E(stringBuilder, '}'); + return _202C_202D_206B_206A_206C_206B_206C_206B_206C_200E_206E_200E_202B_206B_200B_200D_202C_202D_206E_206F_206F_200B_206A_200B_206D_202E_200D_200C_202E_200E_200B_200E_200B_202E_202D_200F_206B_200B_202E_202E_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(1703345461)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, Type.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(1294221790)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, Id.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(-596371270)); + _202D_206C_202B_202E_202D_202D_202C_206E_202D_202C_202D_202E_202E_206F_202A_200C_206A_206B_206A_200E_206D_202A_202A_202E_202B_200F_202D_200D_202D_200D_200B_206F_200F_206D_206A_200D_202B_202C_206B_202D_202E(builder, (object)Name); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(-1841021490)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, Position.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(-1574188482)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, Radius.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(-1538801490)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, Level.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(1645586278)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, MaxLevel.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(-1015149807)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, Progress.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(1063554664)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, Duration.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(-1641383873)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, TimeRemaining.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(-889184607)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, IsActive.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(-1150615736)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, IsPending.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(-460512089)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, HasBonus.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(-713893414)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, FateRule.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(-1765562739)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, MotivationNpcDataId.ToString()); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, global::_003CModule_003E._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(1235406246)); + _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(builder, ChainFateId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(PublicEvent other) + { + int num = ((!EqualityComparer.Default.Equals(Type, other.Type)) ? (-285443445) : (-285443439)); + while (true) + { + int num2 = num; + int num3 = -285443429; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = ((!EqualityComparer.Default.Equals(Position, other.Position)) ? (-285443445) : (-285443431)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(HasBonus, other.HasBonus)) ? (-285443445) : (-285443435)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(Level, other.Level)) ? (-285443445) : (-285443437)); + break; + case 5: + num = -285443439; + break; + case 2: + num = ((!EqualityComparer.Default.Equals(Radius, other.Radius)) ? (-285443445) : (-285443425)); + break; + case 14: + num = ((!EqualityComparer.Default.Equals(FateRule, other.FateRule)) ? (-285443445) : (-285443434)); + break; + case 15: + return EqualityComparer.Default.Equals(ChainFateId, other.ChainFateId); + case 10: + num = ((!EqualityComparer.Default.Equals(Id, other.Id)) ? (-285443445) : (-285443429)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(Progress, other.Progress)) ? (-285443445) : (-285443433)); + break; + case 16: + return false; + case 8: + num = ((!EqualityComparer.Default.Equals(MaxLevel, other.MaxLevel)) ? (-285443445) : (-285443430)); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(TimeRemaining, other.TimeRemaining)) ? (-285443445) : (-285443438)); + break; + case 9: + num = ((!EqualityComparer.Default.Equals(IsActive, other.IsActive)) ? (-285443445) : (-285443440)); + break; + case 13: + num = ((!EqualityComparer.Default.Equals(MotivationNpcDataId, other.MotivationNpcDataId)) ? (-285443445) : (-285443436)); + break; + case 12: + num = ((!EqualityComparer.Default.Equals(Duration, other.Duration)) ? (-285443445) : (-285443428)); + break; + case 11: + num = ((!EqualityComparer.Default.Equals(IsPending, other.IsPending)) ? (-285443445) : (-285443427)); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(Name, other.Name)) ? (-285443445) : (-285443432)); + break; + } + } + } + + bool IEquatable.Equals(PublicEvent other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206D_206E_202C_202E_206E_202B_200B_206C_200C_206A_206D_202D_202D_200D_200C_206F_200B_200C_206D_206A_200B_202D_200F_206B_206A_206E_202A_202C_206E_206B_206E_202C_200E_206E_202A_206D_202B_200D_202B_200F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_200D_202E_202A_206C_202E_200C_200B_202B_200F_200D_200F_202C_202B_200C_200F_202A_200D_200C_202C_202A_202D_206D_206F_202D_206F_202C_202E_206B_202D_202A_206F_200E_200E_202E_202E_202B_206E_202C_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202D_206C_206C_200D_202B_202A_202C_202A_200F_206D_206D_202C_206F_202D_206A_202B_200B_200C_202D_202C_200E_206B_200D_206F_206F_206C_206E_200C_200D_200E_206A_200B_202C_200C_202A_206D_202B_200C_202E_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202C_202D_206B_206A_206C_206B_206C_206B_206C_200E_206E_200E_202B_206B_200B_200D_202C_202D_206E_206F_206F_200B_206A_200B_206D_202E_200D_200C_202E_200E_200B_200E_200B_202E_202D_200F_206B_200B_202E_202E_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _202D_206C_202B_202E_202D_202D_202C_206E_202D_202C_202D_202E_202E_206F_202A_200C_206A_206B_206A_200E_206D_202A_202A_202E_202B_200F_202D_200D_202D_200D_200B_206F_200F_206D_206A_200D_202B_202C_206B_202D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } +} diff --git a/LLib/LLib.GameData/PublicEventHelper.cs b/LLib/LLib.GameData/PublicEventHelper.cs new file mode 100644 index 00000000..42ff0633 --- /dev/null +++ b/LLib/LLib.GameData/PublicEventHelper.cs @@ -0,0 +1,731 @@ +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(); + int num = ((ptr != null) ? (-2066813597) : (-2066813594)); + List list = default(List); + int num5 = default(int); + FateContext* value = default(FateContext*); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = -2066813595; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + list = new List(); + num5 = 0; + num = -2066813588; + break; + case 5: + value = ptr->Fates[num5].Value; + num = ((value == null) ? (-2066813587) : (-2066813595)); + break; + case 7: + num = -2066813594; + break; + case 10: + num = ((!flag) ? (-2066813587) : (-2066813586)); + break; + case 0: + { + FateState state = value->State; + num = ((state - 3 > FateState.Unk1) ? (-2066813599) : (-2066813596)); + break; + } + case 8: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = -2066813588; + break; + } + case 1: + flag = true; + num = -2066813585; + break; + case 2: + return list; + case 4: + flag = false; + num = -2066813585; + break; + case 11: + list.Add(ToPublicEvent(value)); + num = -2066813587; + break; + case 3: + return Array.Empty(); + case 9: + num = ((num5 < ptr->Fates.Count) ? (-2066813600) : (-2066813593)); + break; + } + } + } + + public unsafe IReadOnlyList GetActiveDynamicEvents() + { + DynamicEventContainer* instance = DynamicEventContainer.GetInstance(); + int num = ((instance != null) ? (-104590452) : (-104590451)); + int num7 = default(int); + Span events = default(Span); + ref DynamicEvent reference = default(ref DynamicEvent); + List list = default(List); + while (true) + { + int num2 = num; + int num3 = -104590454; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = ((num7 < events.Length) ? (-104590450) : (-104590456)); + break; + case 7: + return Array.Empty(); + case 5: + num = -104590451; + break; + case 4: + reference = ref events[num7]; + num = ((reference.State == DynamicEventState.Inactive) ? (-104590454) : (-104590453)); + break; + case 2: + return list; + case 1: + list.Add(ToPublicEvent(ref reference)); + num = -104590454; + break; + case 0: + { + int num8 = num7; + num3 = 1; + num4 = num8; + num7 = (num4 | num3) + (num4 & num3); + num = -104590455; + break; + } + case 6: + list = new List(); + events = instance->Events; + num7 = 0; + num = -104590455; + break; + } + } + } + + public unsafe IReadOnlyList GetActiveMechaEvents() + { + WKSManager* ptr = WKSManager.Instance(); + int num = ((ptr != null) ? 1500071953 : 1500071952); + ref WKSMechaEvent reference = default(ref WKSMechaEvent); + Span events = default(Span); + int num7 = default(int); + List list = default(List); + WKSMechaEventModule* mechaEventModule = default(WKSMechaEventModule*); + while (true) + { + int num2 = num; + int num3 = 1500071954; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + reference = ref events[num7]; + num = (((reference.Flags & WKSMechaEventFlag.IsEventActive) == 0) ? 1500071957 : 1500071955); + break; + case 5: + return list; + case 2: + return Array.Empty(); + case 6: + return Array.Empty(); + case 7: + { + int num8 = num7; + num3 = 1; + num4 = num8; + num7 = (num4 | num3) + (num4 & num3); + num = 1500071958; + break; + } + case 0: + num = 1500071952; + break; + case 4: + num = ((num7 < events.Length) ? 1500071962 : 1500071959); + break; + case 1: + list.Add(ToPublicEvent(ref reference)); + num = 1500071957; + break; + case 3: + mechaEventModule = ptr->MechaEventModule; + num = ((mechaEventModule != null) ? 1500071963 : 1500071956); + break; + case 9: + list = new List(); + events = mechaEventModule->Events; + num7 = 0; + num = 1500071958; + break; + } + } + } + + 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) + { + int num; + PublicEvent? result = default(PublicEvent?); + switch (type) + { + default: + num = 1438969819; + goto IL_001d; + case EPublicEventType.Fate: + result = GetFateById((ushort)id); + num = 1438969820; + goto IL_001d; + case EPublicEventType.DynamicEvent: + goto IL_006b; + case EPublicEventType.MechaEvent: + goto IL_00aa; + IL_001d: + while (true) + { + int num2 = num; + int num3 = 1438969816; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + goto end_IL_001d; + case 4: + return result; + case 1: + goto IL_006b; + case 5: + num = 1438969819; + break; + case 0: + result = null; + num = 1438969820; + break; + case 3: + num = 1438969816; + break; + case 2: + goto IL_00aa; + } + continue; + end_IL_001d: + break; + } + goto case EPublicEventType.Fate; + IL_00aa: + result = GetMechaEventById(id); + num = 1438969820; + goto IL_001d; + IL_006b: + result = GetDynamicEventById((ushort)id); + num = 1438969820; + goto IL_001d; + } + } + + public unsafe PublicEvent? GetCurrentPlayerEvent() + { + FateManager* ptr = FateManager.Instance(); + int num = ((ptr == null) ? 2074475056 : 2074475058); + while (true) + { + int num2 = num; + int num3 = 2074475059; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 2074475058; + break; + case 1: + num = ((ptr->CurrentFate != null) ? 2074475057 : 2074475056); + break; + case 3: + return null; + case 2: + return ToPublicEvent(ptr->CurrentFate); + } + } + } + + public unsafe PublicEvent? GetCurrentDynamicEvent() + { + DynamicEventContainer* instance = DynamicEventContainer.GetInstance(); + int num = ((instance != null) ? 285703707 : 285703710); + DynamicEvent* currentEvent = default(DynamicEvent*); + while (true) + { + int num2 = num; + int num3 = 285703707; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + currentEvent = instance->GetCurrentEvent(); + num = ((currentEvent == null) ? 285703704 : 285703711); + break; + case 4: + num = ((currentEvent->State != DynamicEventState.Inactive) ? 285703706 : 285703704); + break; + case 2: + num = 285703710; + break; + case 3: + return null; + case 5: + return null; + case 1: + return ToPublicEvent(ref *currentEvent); + } + } + } + + public unsafe PublicEvent? GetCurrentMechaEvent() + { + WKSManager* ptr = WKSManager.Instance(); + int num = ((ptr != null) ? 599849311 : 599849304); + WKSMechaEvent* currentEvent = default(WKSMechaEvent*); + WKSMechaEventModule* mechaEventModule = default(WKSMechaEventModule*); + while (true) + { + int num2 = num; + int num3 = 599849305; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return ToPublicEvent(ref *currentEvent); + case 6: + mechaEventModule = ptr->MechaEventModule; + num = ((mechaEventModule != null) ? 599849308 : 599849307); + break; + case 7: + num = (((currentEvent->Flags & WKSMechaEventFlag.IsEventActive) != 0) ? 599849306 : 599849309); + break; + case 0: + num = 599849304; + break; + case 2: + return null; + case 4: + return null; + case 1: + return null; + case 5: + currentEvent = mechaEventModule->CurrentEvent; + num = ((currentEvent == null) ? 599849309 : 599849310); + break; + } + } + } + + public unsafe bool IsFateActive(ushort fateId) + { + int num = ((fateId != 0) ? 1838657614 : 1838657615); + FateContext* fateById = default(FateContext*); + FateManager* ptr = default(FateManager*); + while (true) + { + int num2 = num; + int num3 = 1838657612; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return fateById->State == FateState.Running; + case 6: + return false; + case 3: + return false; + case 4: + fateById = ptr->GetFateById(fateId); + num = ((fateById != null) ? 1838657613 : 1838657610); + break; + case 2: + ptr = FateManager.Instance(); + num = ((ptr != null) ? 1838657608 : 1838657609); + break; + case 5: + return false; + case 0: + num = 1838657615; + break; + } + } + } + + private unsafe PublicEvent? GetFateById(ushort fateId) + { + int num = ((fateId != 0) ? (-1398838121) : (-1398838127)); + FateContext* fateById = default(FateContext*); + FateManager* ptr = default(FateManager*); + while (true) + { + int num2 = num; + int num3 = -1398838126; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + fateById = ptr->GetFateById(fateId); + num = ((fateById != null) ? (-1398838124) : (-1398838122)); + break; + case 4: + return null; + case 3: + return null; + case 2: + return null; + case 6: + return ToPublicEvent(fateById); + case 5: + ptr = FateManager.Instance(); + num = ((ptr != null) ? (-1398838125) : (-1398838128)); + break; + case 0: + num = -1398838127; + break; + } + } + } + + private unsafe PublicEvent? GetDynamicEventById(ushort dynamicEventId) + { + int num = ((dynamicEventId != 0) ? 190075853 : 190075849); + Span events = default(Span); + DynamicEventContainer* instance = default(DynamicEventContainer*); + int num5 = default(int); + ref DynamicEvent reference = default(ref DynamicEvent); + while (true) + { + int num2 = num; + int num3 = 190075855; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + events = instance->Events; + num5 = 0; + num = 190075847; + break; + case 2: + instance = DynamicEventContainer.GetInstance(); + num = ((instance != null) ? 190075854 : 190075852); + break; + case 10: + reference = ref events[num5]; + num = ((reference.DynamicEventId != dynamicEventId) ? 190075851 : 190075848); + break; + case 0: + num = 190075849; + break; + case 4: + { + int num6 = num5; + num3 = 1; + num4 = num6; + num5 = (num4 | num3) + (num4 & num3); + num = 190075847; + break; + } + case 7: + num = ((reference.State == DynamicEventState.Inactive) ? 190075851 : 190075846); + break; + case 5: + return null; + case 9: + return ToPublicEvent(ref reference); + case 3: + return null; + case 6: + return null; + case 8: + num = ((num5 < events.Length) ? 190075845 : 190075850); + break; + } + } + } + + private unsafe PublicEvent? GetMechaEventById(uint mechaEventDataRowId) + { + int num = ((mechaEventDataRowId != 0) ? 1662115952 : 1662115954); + int num5 = default(int); + Span events = default(Span); + WKSMechaEventModule* mechaEventModule = default(WKSMechaEventModule*); + WKSManager* ptr = default(WKSManager*); + ref WKSMechaEvent reference = default(ref WKSMechaEvent); + while (true) + { + int num2 = num; + int num3 = 1662115957; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 12: + { + int num6 = num5; + num3 = 1; + num4 = num6; + num5 = (num4 | num3) + (num4 & num3); + num = 1662115955; + break; + } + case 10: + events = mechaEventModule->Events; + num5 = 0; + num = 1662115955; + break; + case 5: + ptr = WKSManager.Instance(); + num = ((ptr != null) ? 1662115956 : 1662115964); + break; + case 0: + return ToPublicEvent(ref reference); + case 9: + return null; + case 8: + return null; + case 2: + reference = ref events[num5]; + num = ((reference.WKSMechaEventDataRowId != mechaEventDataRowId) ? 1662115961 : 1662115953); + break; + case 6: + num = ((num5 < events.Length) ? 1662115959 : 1662115965); + break; + case 11: + return null; + case 3: + num = 1662115954; + break; + case 1: + mechaEventModule = ptr->MechaEventModule; + num = ((mechaEventModule != null) ? 1662115967 : 1662115966); + break; + case 7: + return null; + case 4: + num = (((reference.Flags & WKSMechaEventFlag.IsEventActive) == 0) ? 1662115961 : 1662115957); + break; + } + } + } + + private unsafe static PublicEvent ToPublicEvent(FateContext* fate) + { + float num = fate->Duration; + float timeRemaining = 0f; + int num2 = ((!(num > 0f)) ? (-597185620) : (-597185618)); + while (true) + { + int num3 = num2; + int num4 = -597185619; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + 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); + case 2: + { + float num6 = DateTimeOffset.UtcNow.ToUnixTimeSeconds() - fate->StartTimeEpoch; + timeRemaining = _206C_202D_202E_202E_200C_206F_206B_202C_206F_202E_206E_202A_206C_202E_206B_200D_202A_202A_202A_200C_200E_202C_206C_202B_200F_202C_206F_206E_206B_202E_206D_202D_202C_206F_200E_202D_206B_200E_206B_206B_202E(0f, num - num6); + num2 = -597185620; + break; + } + case 3: + num2 = ((fate->StartTimeEpoch <= 0) ? (-597185620) : (-597185617)); + break; + case 0: + num2 = -597185618; + break; + } + } + } + + 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; + int num3 = ((state - 1 > DynamicEventState.Register) ? 1959810557 : 1959810558); + bool isPending = default(bool); + while (true) + { + int num4 = num3; + int num5 = 1959810556; + int num6 = num4; + switch ((num6 | num5) - (num6 & num5)) + { + case 3: + num3 = 1959810558; + break; + case 1: + isPending = false; + num3 = 1959810556; + break; + case 2: + isPending = true; + num3 = 1959810556; + break; + case 0: + 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(); + int num2 = ((mechaEvent.EventEndTimestamp > mechaEvent.EventStartTimestamp) ? 783714395 : 783714386); + string name = default(string); + WKSMechaEventMapMarker* value = default(WKSMechaEventMapMarker*); + Vector3 position = default(Vector3); + float radius = default(float); + float progress = default(float); + float duration = default(float); + float timeRemaining = default(float); + while (true) + { + int num3 = num2; + int num4 = 783714385; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + int num10; + float num14; + float num8; + float num9; + bool isPending; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 11: + num10 = 0; + goto IL_008f; + case 5: + num14 = 0f; + goto IL_0149; + case 1: + num2 = (((mechaEvent.Flags & WKSMechaEventFlag.IsEventActive) == 0) ? 783714394 : 783714397); + continue; + case 2: + num8 = 0f; + break; + case 0: + num2 = 783714386; + continue; + case 3: + num9 = 0f; + goto IL_024c; + case 8: + { + long num11 = mechaEvent.EventEndTimestamp; + long num12 = num; + long num13 = num11; + num14 = ~(~num13 + num12); + goto IL_0149; + } + case 12: + num10 = ((mechaEvent.EventProgress == 0) ? 1 : 0); + goto IL_008f; + case 9: + num2 = ((mechaEvent.EventProgressMax > 0) ? 783714390 : 783714387); + continue; + case 4: + name = value->Name.ToString(); + position = value->MapMarkerData.Position; + radius = value->MapMarkerData.Radius; + num2 = 783714392; + continue; + case 6: + value = mechaEvent.MapMarkerPtrs[0].Value; + num2 = ((value == null) ? 783714392 : 783714389); + continue; + case 10: + { + int eventEndTimestamp = mechaEvent.EventEndTimestamp; + num4 = mechaEvent.EventStartTimestamp; + num5 = eventEndTimestamp; + num9 = ~(~num5 + num4); + goto IL_024c; + } + case 7: + { + num8 = (float)mechaEvent.EventProgress / (float)mechaEvent.EventProgressMax * 100f; + break; + } + IL_008f: + isPending = (byte)num10 != 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); + IL_024c: + duration = num9; + num2 = ((mechaEvent.EventEndTimestamp > num) ? 783714393 : 783714388); + continue; + IL_0149: + timeRemaining = num14; + position = Vector3.Zero; + radius = 0f; + name = string.Empty; + num2 = ((mechaEvent.MapMarkerPtrs.Count <= 0) ? 783714392 : 783714391); + continue; + } + progress = num8; + num2 = (((mechaEvent.Flags & WKSMechaEventFlag.PilotRegistrationOpen) == 0) ? 783714394 : 783714384); + } + } + + static float _206C_202D_202E_202E_200C_206F_206B_202C_206F_202E_206E_202A_206C_202E_206B_200D_202A_202A_202A_200C_200E_202C_206C_202B_200F_202C_206F_206E_206B_202E_206D_202D_202C_206F_200E_202D_206B_200E_206B_206B_202E(float P_0, float P_1) + { + return Math.Max(P_0, P_1); + } +} diff --git a/LLib/LLib.GameData/SatisfactionSupplyHelper.cs b/LLib/LLib.GameData/SatisfactionSupplyHelper.cs new file mode 100644 index 00000000..20a23858 --- /dev/null +++ b/LLib/LLib.GameData/SatisfactionSupplyHelper.cs @@ -0,0 +1,294 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using Dalamud.Plugin.Services; +using Lumina.Excel; +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(); + int num; + int num3; + int num4; + using (SubrowExcelSheet.FlatEnumerator flatEnumerator = _dataManager.GetSubrowExcelSheet().Flatten().GetEnumerator()) + { + num = -1981977636; + SatisfactionSupply current = default(SatisfactionSupply); + while (true) + { + int num2 = num; + num3 = -1981977636; + num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + list.Add(current); + num = -1981977636; + break; + case 1: + current = flatEnumerator.Current; + num = ((current.RowId != supplyIndex) ? (-1981977636) : (-1981977634)); + break; + case 4: + num = -1981977636; + break; + case 0: + num = (flatEnumerator.MoveNext() ? (-1981977635) : (-1981977633)); + break; + case 3: + goto end_IL_0038; + } + continue; + end_IL_0038: + break; + } + } + uint num7 = 63874652 * supplyIndex; + num3 = (int)(437113358 * seed); + num4 = (int)num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + uint num10 = (uint)(num8 - (num9 + num9)); + int num11 = -547857059 * (int)supplyIndex; + num3 = (int)(811033966 * seed); + num4 = num11; + uint num12 = (uint)((num4 | num3) - (num4 & num3)); + int num13 = -311827390 * (int)supplyIndex; + num3 = (int)(570616410 * seed); + num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + uint num16 = (uint)(num14 - (num15 + num15)); + int num17 = -1359202047 * (int)supplyIndex; + num3 = -418962442 * (int)seed; + num4 = num17; + int num18 = num4 + num3; + int num19 = num4 & num3; + uint num20 = (uint)(num18 - (num19 + num19)); + uint[] array = new uint[3]; + _206C_202C_202B_202D_202E_200F_200B_202E_202C_202D_202C_206D_206A_200D_206C_200E_200F_206A_202A_200C_200E_200D_200D_206A_206F_202C_202B_206F_200B_200F_206C_206D_202C_206C_200B_206B_206C_202B_200F_200C_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + uint[] array2 = array; + uint num21 = num10; + int num22 = 1; + num = 1311110073; + int num33 = default(int); + SatisfactionSupply satisfactionSupply2 = default(SatisfactionSupply); + int num46 = default(int); + int num34 = default(int); + long num43 = default(long); + SatisfactionSupply satisfactionSupply = default(SatisfactionSupply); + while (true) + { + int num23 = num; + num3 = 1311110070; + num4 = num23; + int num24 = num4 + num3; + int num25 = num4 & num3; + switch (num24 - (num25 + num25)) + { + case 7: + { + uint num26 = num21; + num3 = (int)(num21 << 11); + num4 = (int)num26; + int num27 = num4 + num3; + int num28 = num4 & num3; + uint num29 = (uint)(num27 - (num28 + num28)); + num10 = num16; + num16 = num20; + num21 = num12; + uint num30 = num20; + num3 = (int)(num20 >> 11); + num4 = (int)num29; + num3 = (num4 | num3) - (num4 & num3) >>> 8; + num4 = (int)num29; + int num31 = num4 + num3; + int num32 = num4 & num3; + num3 = num31 - (num32 + num32); + num4 = (int)num30; + num20 = (uint)((num4 | num3) - (num4 & num3)); + num12 = num10; + num = ((num33 <= 0) ? 1311110072 : 1311110071); + break; + } + case 12: + satisfactionSupply2 = list[num46]; + num = ((satisfactionSupply2.Slot != num22) ? 1311110064 : 1311110078); + break; + case 10: + num = ((num34 < list.Count) ? 1311110070 : 1311110072); + break; + case 4: + num = ((num43 >= satisfactionSupply.ProbabilityPercent) ? 1311110075 : 1311110077); + break; + case 2: + num = ((num46 < list.Count) ? 1311110074 : 1311110065); + break; + case 0: + satisfactionSupply = list[num34]; + num = ((satisfactionSupply.Slot != num22) ? 1311110067 : 1311110066); + break; + case 6: + { + int num47 = num46; + num3 = 1; + num4 = num47; + int num48 = num4 ^ num3; + int num49 = num4 & num3; + num46 = num48 + (num49 + num49); + num = 1311110068; + break; + } + case 8: + num33 += satisfactionSupply2.ProbabilityPercent; + num = 1311110064; + break; + case 16: + num = 1311110073; + break; + case 9: + num33 = 0; + num46 = 0; + num = 1311110068; + break; + case 1: + num43 = num20 % num33; + num34 = 0; + num = 1311110076; + break; + case 3: + return array2; + case 13: + { + long num42 = num43; + long num44 = satisfactionSupply.ProbabilityPercent; + long num45 = num42; + num43 = ~(~num45 + num44); + num = 1311110067; + break; + } + case 5: + { + int num39 = num34; + num3 = 1; + num4 = num39; + int num40 = num4 ^ num3; + int num41 = num4 & num3; + num34 = num40 + (num41 + num41); + num = 1311110076; + break; + } + case 11: + { + int num38 = num22; + num3 = 1; + num4 = num38; + array2[~(~num4 + num3)] = (uint)num34; + num = 1311110072; + break; + } + case 14: + { + int num35 = num22; + num3 = 1; + num4 = num35; + int num36 = num4 ^ num3; + int num37 = num4 & num3; + num22 = num36 + (num37 + num37); + num = 1311110073; + break; + } + case 15: + num = ((num22 < 4) ? 1311110079 : 1311110069); + break; + } + } + } + + public int CalculateBonusGuaranteeIndex(int timestamp) + { + int count = _dataManager.GetExcelSheet().Count; + int num = ((count != 0) ? 473391985 : 473391984); + while (true) + { + int num2 = num; + int num3 = 473391985; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_005f; + case 1: + return -1; + case 0: + num3 = 1657008000; + num4 = timestamp; + return ~(~num4 + num3) / 604800 % count; + } + continue; + IL_005f: + num = 473391984; + } + } + + public static int CalculateTurnInsToNextRank(ushort currentSatisfaction, ushort maxSatisfaction, int maxTurnIns) + { + int num = ((currentSatisfaction < maxSatisfaction) ? 423147797 : 423147794); + int num5 = default(int); + int num6 = default(int); + while (true) + { + int num2 = num; + int num3 = 423147798; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 423147794; + break; + case 3: + num3 = currentSatisfaction; + num4 = maxSatisfaction; + num5 = ~(~num4 + num3); + num6 = maxSatisfaction / maxTurnIns; + num = ((num6 != 0) ? 423147799 : 423147796); + break; + case 4: + return maxTurnIns; + case 2: + return maxTurnIns; + case 1: + return _200D_202D_206D_206C_206D_202A_202A_200D_202E_200B_200B_200C_206E_202E_200D_200B_206B_206C_206F_202C_200B_200C_202D_200B_206C_200F_200B_202E_200C_206F_206F_206D_200D_200E_202A_206E_202C_206F_202D_206E_202E((int)_202E_200D_206F_200C_200B_206B_202E_206E_206D_206D_200E_206B_202D_206D_206D_200E_206B_200E_206A_202B_206F_206A_202D_202B_202C_202D_206E_202B_200D_206F_200F_206D_200D_200B_200F_200C_200F_202B_206B_200D_202E((double)num5 / (double)num6), maxTurnIns); + } + } + } + + static void _206C_202C_202B_202D_202E_200F_200B_202E_202C_202D_202C_206D_206A_200D_206C_200E_200F_206A_202A_200C_200E_200D_200D_206A_206F_202C_202B_206F_200B_200F_206C_206D_202C_206C_200B_206B_206C_202B_200F_200C_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } + + static double _202E_200D_206F_200C_200B_206B_202E_206E_206D_206D_200E_206B_202D_206D_206D_200E_206B_200E_206A_202B_206F_206A_202D_202B_202C_202D_206E_202B_200D_206F_200F_206D_200D_200B_200F_200C_200F_202B_206B_200D_202E(double P_0) + { + return Math.Ceiling(P_0); + } + + static int _200D_202D_206D_206C_206D_202A_202A_200D_202E_200B_200B_200C_206E_202E_200D_200B_206B_206C_206F_202C_200B_200C_202D_200B_206C_200F_200B_202E_200C_206F_206F_206D_200D_200E_202A_206E_202C_206F_202D_206E_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } +} diff --git a/LLib/LLib.GameData/TeleportHelper.cs b/LLib/LLib.GameData/TeleportHelper.cs new file mode 100644 index 00000000..1e99f9b6 --- /dev/null +++ b/LLib/LLib.GameData/TeleportHelper.cs @@ -0,0 +1,198 @@ +using System.Runtime.CompilerServices; +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(); + int num = ((ptr == null) ? 2130643281 : 2130643280); + while (true) + { + int num2 = num; + int num3 = 2130643281; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + return ptr->IsAetheryteUnlocked(aetheryteId); + case 2: + goto IL_0055; + } + continue; + IL_0055: + num = 2130643280; + } + } + + public unsafe bool CanTeleport() + { + ActionManager* ptr = ActionManager.Instance(); + int num = ((ptr == null) ? 978178038 : 978178037); + while (true) + { + int num2 = num; + int num3 = 978178036; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 1: + return ptr->GetActionStatus(ActionType.Action, 5u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0; + case 2: + return false; + } + continue; + IL_004b: + num = 978178037; + } + } + + public unsafe bool IsTeleportUnlocked() + { + UIState* ptr = UIState.Instance(); + int num = ((ptr == null) ? 249650035 : 249650034); + while (true) + { + int num2 = num; + int num3 = 249650035; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 1: + return ptr->IsUnlockLinkUnlocked(_teleportUnlockLink); + case 2: + goto IL_0058; + } + continue; + IL_0058: + num = 249650034; + } + } + + public unsafe bool IsFreeAetheryte(uint aetheryteId) + { + PlayerState* ptr = PlayerState.Instance(); + int num = ((ptr == null) ? 1806053406 : 1806053402); + while (true) + { + int num2 = num; + int num3 = 1806053406; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return ptr->FreeAetheryteNSO == aetheryteId; + case 4: + num = ((ptr->FreeAetheryteId == aetheryteId) ? 1806053405 : 1806053407); + break; + case 5: + num = 1806053402; + break; + case 3: + return true; + case 1: + num = ((ptr->FreeAetherytePSPlus == aetheryteId) ? 1806053405 : 1806053404); + break; + case 0: + return false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe bool Teleport(uint aetheryteId, byte subIndex = 0) + { + int num = (IsTeleportUnlocked() ? 1160662395 : 1160662390); + Telepo* ptr = default(Telepo*); + while (true) + { + int num2 = num; + int num3 = 1160662396; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + ptr = Telepo.Instance(); + num = ((ptr != null) ? 1160662397 : 1160662396); + break; + case 5: + _206C_202B_206D_200E_200D_200C_206E_206A_200F_206D_206A_206A_206E_206D_206E_206D_206A_202A_200F_206B_200D_200F_206E_200C_202A_202D_202C_202C_202D_206E_200D_206D_206A_200B_206F_200D_206C_202E_206D_202E((ILogger)_logger, global::_003CModule_003E._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(-979996593), new object[1] { aetheryteId }); + return false; + case 9: + num = (IsAetheryteUnlocked(aetheryteId) ? 1160662388 : 1160662394); + break; + case 7: + num = (CanTeleport() ? 1160662389 : 1160662392); + break; + case 0: + return false; + case 8: + num = ((!_gameState.IsLoadingScreenVisible()) ? 1160662398 : 1160662393); + break; + case 3: + num = 1160662390; + break; + case 1: + _206A_200F_200F_206F_200B_206F_206D_206B_200C_202E_200F_202B_206E_200B_200E_200E_202A_200C_200D_202B_202A_206F_200D_206A_200B_200E_202D_206B_206A_202A_206D_206B_206F_200D_202E_206B_200B_206B_200F_206B_202E((ILogger)_logger, global::_003CModule_003E._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(2083148089), new object[1] { aetheryteId }); + return ptr->Teleport(aetheryteId, subIndex); + case 6: + _202C_206E_200D_200E_206D_200D_202B_200F_200C_202B_206A_206B_206D_202C_202B_202B_202C_200F_200B_206A_200D_200E_206A_200B_206E_202E_206B_206C_202C_200C_202E_206B_200D_206F_200D_206A_206A_202A_206B_206D_202E((ILogger)_logger, global::_003CModule_003E._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(-1264034910), new object[1] { aetheryteId }); + return false; + case 4: + _206C_202B_206D_200E_200D_200C_206E_206A_200F_206D_206A_206A_206E_206D_206E_206D_206A_202A_200F_206B_200D_200F_206E_200C_202A_202D_202C_202C_202D_206E_200D_206D_206A_200B_206F_200D_206C_202E_206D_202E((ILogger)_logger, global::_003CModule_003E._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(1137941263), new object[1] { aetheryteId }); + return false; + case 10: + _202C_206E_200D_200E_206D_200D_202B_200F_200C_202B_206A_206B_206D_202C_202B_202B_202C_200F_200B_206A_200D_200E_206A_200B_206E_202E_206B_206C_202C_200C_202E_206B_200D_206F_200D_206A_206A_202A_206B_206D_202E((ILogger)_logger, global::_003CModule_003E._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(-637254207), new object[1] { aetheryteId }); + return false; + } + } + } + + static void _202C_206E_200D_200E_206D_200D_202B_200F_200C_202B_206A_206B_206D_202C_202B_202B_202C_200F_200B_206A_200D_200E_206A_200B_206E_202E_206B_206C_202C_200C_202E_206B_200D_206F_200D_206A_206A_202A_206B_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _206C_202B_206D_200E_200D_200C_206E_206A_200F_206D_206A_206A_206E_206D_206E_206D_206A_202A_200F_206B_200D_200F_206E_200C_202A_202D_202C_202C_202D_206E_200D_206D_206A_200B_206F_200D_206C_202E_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _206A_200F_200F_206F_200B_206F_206D_206B_200C_202E_200F_202B_206E_200B_200E_200E_202A_200C_200D_202B_202A_206F_200D_206A_200B_200E_202D_206B_206A_202A_206D_206B_206F_200D_202E_206B_200B_206B_200F_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } +} diff --git a/LLib/LLib.GameData/WeatherHelper.cs b/LLib/LLib.GameData/WeatherHelper.cs new file mode 100644 index 00000000..253d62ce --- /dev/null +++ b/LLib/LLib.GameData/WeatherHelper.cs @@ -0,0 +1,157 @@ +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); + int num = (rowOrDefault.HasValue ? 1395957685 : 1395957681); + while (true) + { + int num2 = num; + int num3 = 1395957685; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + { + WeatherRate value = rowOrDefault.Value.WeatherRate.Value; + uint target = CalculateTarget(unixSeconds); + return ResolveWeather(value, target); + } + case 0: + num = (rowOrDefault.Value.WeatherRate.IsValid ? 1395957684 : 1395957687); + break; + case 4: + return null; + case 3: + num = 1395957681; + break; + case 2: + return null; + } + } + } + + internal static uint CalculateTarget(long unixSeconds) + { + long num = unixSeconds / 175; + long num2 = 8L; + long num3 = num; + long num4 = num3 ^ num2; + long num5 = num3 & num2; + uint num6 = (uint)((num4 + (num5 + num5) - num % 8) % 24); + int num7 = (int)(unixSeconds / 4200) * 100; + int num8 = (int)num6; + int num9 = num7; + int num10 = num9 ^ num8; + int num11 = num9 & num8; + uint num12 = (uint)(num10 + (num11 + num11)); + uint num13 = num12 << 11; + num8 = (int)num12; + num9 = (int)num13; + int num14 = num9 + num8; + int num15 = num9 & num8; + uint num16 = (uint)(num14 - (num15 + num15)); + uint num17 = num16 >> 8; + num8 = (int)num16; + num9 = (int)num17; + return (uint)((num9 | num8) - (num9 & num8)) % 100u; + } + + private static Weather? ResolveWeather(WeatherRate weatherRate, uint target) + { + Weather? result = null; + int num = 0; + int num2 = 0; + int num3 = -1371049026; + RowRef rowRef = default(RowRef); + while (true) + { + int num4 = num3; + int num5 = -1371049029; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 0: + return rowRef.Value; + case 4: + num3 = (rowRef.IsValid ? (-1371049029) : (-1371049027)); + break; + case 2: + result = rowRef.Value; + num3 = -1371049030; + break; + case 6: + return null; + case 7: + rowRef = weatherRate.Weather[num2]; + num3 = ((!rowRef.IsValid) ? (-1371049030) : (-1371049031)); + break; + case 9: + num3 = ((weatherRate.Rate[num2] <= 0) ? (-1371049039) : (-1371049028)); + break; + case 8: + num3 = -1371049026; + break; + case 1: + num += weatherRate.Rate[num2]; + num3 = ((target >= num) ? (-1371049039) : (-1371049025)); + break; + case 10: + { + int num9 = num2; + num5 = 1; + num6 = num9; + num2 = (num6 | num5) + (num6 & num5); + num3 = -1371049026; + break; + } + case 3: + return result; + case 5: + num3 = ((num2 < weatherRate.Rate.Count) ? (-1371049038) : (-1371049032)); + break; + } + } + } +} diff --git a/LLib/LLib.GameUI/AddonCallback.cs b/LLib/LLib.GameUI/AddonCallback.cs new file mode 100644 index 00000000..04ef1f23 --- /dev/null +++ b/LLib/LLib.GameUI/AddonCallback.cs @@ -0,0 +1,188 @@ +using FFXIVClientStructs.FFXIV.Component.GUI; + +namespace LLib.GameUI; + +public static class AddonCallback +{ + public unsafe static void Fire(AtkUnitBase* addon, params int[] args) + { + int num = ((addon != null) ? 1413141629 : 1413141631); + int num5 = default(int); + AtkValue* ptr = default(AtkValue*); + while (true) + { + int num2 = num; + int num3 = 1413141624; + int num4 = num2; + int num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1413141631; + break; + case 2: + num = ((num5 < args.Length) ? 1413141625 : 1413141630); + break; + case 4: + num9 = args.Length; + goto IL_0099; + case 7: + return; + case 0: + num9 = 1; + goto IL_0099; + case 5: + num = ((args.Length == 0) ? 1413141624 : 1413141628); + break; + case 1: + { + ptr[num5].Type = AtkValueType.Int; + ptr[num5].Int = args[num5]; + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = 1413141626; + break; + } + case 6: + { + addon->FireCallback((uint)args.Length, ptr); + return; + } + IL_0099: + ptr = stackalloc AtkValue[num9]; + num5 = 0; + num = 1413141626; + break; + } + } + } + + public unsafe static void FireWithUpdate(AtkUnitBase* addon, params int[] args) + { + int num = ((addon != null) ? 914584294 : 914584289); + AtkValue* ptr = default(AtkValue*); + int num8 = default(int); + while (true) + { + int num2 = num; + int num3 = 914584290; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num7; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((args.Length == 0) ? 914584293 : 914584291); + break; + case 3: + return; + case 7: + num7 = 1; + goto IL_007b; + case 5: + num = 914584289; + break; + case 0: + { + ptr[num8].Type = AtkValueType.Int; + ptr[num8].Int = args[num8]; + int num9 = num8; + num3 = 1; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num8 = num10 + (num11 + num11); + num = 914584288; + break; + } + case 2: + num = ((num8 < args.Length) ? 914584290 : 914584292); + break; + case 1: + num7 = args.Length; + goto IL_007b; + case 6: + { + addon->FireCallback((uint)args.Length, ptr, close: true); + return; + } + IL_007b: + ptr = stackalloc AtkValue[num7]; + num8 = 0; + num = 914584288; + break; + } + } + } + + public unsafe static void ClickYes(AtkUnitBase* addon) + { + int num = ((addon != null) ? (-2035549555) : (-2035549554)); + while (true) + { + int num2 = num; + int num3 = -2035549553; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0043; + case 1: + return; + case 2: + addon->FireCallbackInt(0); + return; + } + continue; + IL_0043: + num = -2035549554; + } + } + + public unsafe static bool ClickButton(AtkUnitBase* addon, AtkComponentButton* button) + { + int num = ((addon == null) ? (-1621168599) : (-1621168597)); + AtkComponentNode* ownerNode = default(AtkComponentNode*); + AtkEvent* ptr = default(AtkEvent*); + while (true) + { + int num2 = num; + int num3 = -1621168595; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + ownerNode = button->AtkComponentBase.OwnerNode; + num = ((ownerNode != null) ? (-1621168603) : (-1621168595)); + break; + case 1: + addon->ReceiveEvent(ptr->State.EventType, (int)ptr->Param, ptr, null); + return true; + case 2: + num = (button->IsEnabled ? (-1621168598) : (-1621168599)); + break; + case 5: + return false; + case 4: + return false; + case 8: + ptr = ownerNode->AtkResNode.AtkEventManager.Event; + num = ((ptr != null) ? (-1621168596) : (-1621168600)); + break; + case 3: + num = -1621168597; + break; + case 0: + return false; + case 6: + num = ((button == null) ? (-1621168599) : (-1621168593)); + break; + } + } + } +} diff --git a/LLib/LLib.GameUI/AgentHelper.cs b/LLib/LLib.GameUI/AgentHelper.cs new file mode 100644 index 00000000..ab5ee8c9 --- /dev/null +++ b/LLib/LLib.GameUI/AgentHelper.cs @@ -0,0 +1,67 @@ +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) + { + int num = ((agent != null) ? (-130884679) : (-130884676)); + int num8 = default(int); + AtkValue* ptr = default(AtkValue*); + while (true) + { + int num2 = num; + int num3 = -130884678; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num7; + switch (num5 - (num6 + num6)) + { + case 0: + num = -130884676; + break; + case 3: + num = ((args.Length == 0) ? (-130884674) : (-130884675)); + break; + case 7: + num7 = args.Length; + goto IL_00fd; + case 5: + num = ((num8 < args.Length) ? (-130884677) : (-130884680)); + break; + case 1: + { + ptr[num8].Type = AtkValueType.Int; + ptr[num8].Int = args[num8]; + int num9 = num8; + num3 = 1; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num8 = num10 + (num11 + num11); + num = -130884673; + break; + } + case 4: + num7 = 1; + goto IL_00fd; + case 2: + { + AtkValue* returnValue = stackalloc AtkValue[1]; + agent->ReceiveEvent(returnValue, (args.Length == 0) ? null : ptr, (uint)args.Length, eventId); + return; + } + case 6: + return; + IL_00fd: + ptr = stackalloc AtkValue[num7]; + num8 = 0; + num = -130884673; + break; + } + } + } +} diff --git a/LLib/LLib.GameUI/LAddon.cs b/LLib/LLib.GameUI/LAddon.cs index c017924b..60449300 100644 --- a/LLib/LLib.GameUI/LAddon.cs +++ b/LLib/LLib.GameUI/LAddon.cs @@ -1,5 +1,5 @@ using System; -using System.Linq; +using System.Runtime.CompilerServices; using Dalamud.Game.NativeWrapper; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Component.GUI; @@ -13,41 +13,170 @@ public static class LAddon public unsafe static AtkUnitBase* GetAddonById(uint id) { AtkUnitList* ptr = &AtkStage.Instance()->RaptureAtkUnitManager->AtkUnitManager.DepthLayerOneList; - for (int i = 0; i < 18; i++) + int num = 0; + int num2 = 2129774169; + AtkUnitBase* value = default(AtkUnitBase*); + AtkUnitList* ptr2 = default(AtkUnitList*); + int num10 = default(int); + int num7 = default(int); + while (true) { - AtkUnitList* ptr2 = ptr + i; - foreach (int item in Enumerable.Range(0, Math.Min(ptr2->Count, ptr2->Entries.Length))) + int num3 = num2; + int num4 = 2129774174; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) { - AtkUnitBase* value = ptr2->Entries[item].Value; - if (value != null && value->Id == id) - { - return value; - } + case 9: + num2 = 2129774169; + break; + case 5: + { + int num11 = num; + num4 = 1; + num5 = num11; + num = (num5 | num4) + (num5 & num4); + num2 = 2129774169; + break; + } + case 8: + num2 = ((value->Id != id) ? 2129774174 : 2129774175); + break; + case 7: + num2 = ((num < 18) ? 2129774170 : 2129774172); + break; + case 1: + return value; + case 4: + ptr2 = ptr + num; + num10 = _200F_202C_206F_202D_200F_202D_206D_200E_200D_206E_200B_200B_202A_202B_200F_202A_200C_200B_206C_206F_200B_202A_200E_202C_202E_206A_202D_206D_200F_200E_202C_206A_206A_206F_202D_206B_200B_200C_206C_202A_202E((int)ptr2->Count, ptr2->Entries.Length); + num7 = 0; + num2 = 2129774168; + break; + case 3: + value = ptr2->Entries[num7].Value; + num2 = ((value == null) ? 2129774174 : 2129774166); + break; + case 6: + num2 = ((num7 < num10) ? 2129774173 : 2129774171); + break; + case 0: + { + int num6 = num7; + num4 = 1; + num5 = num6; + int num8 = num5 ^ num4; + int num9 = num5 & num4; + num7 = num8 + (num9 + num9); + num2 = 2129774168; + break; + } + case 2: + return null; } } - return null; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe static bool TryGetAddonByName(this IGameGui gameGui, string addonName, out T* addonPtr) where T : unmanaged { - ArgumentNullException.ThrowIfNull(gameGui, "gameGui"); - ArgumentException.ThrowIfNullOrEmpty(addonName, "addonName"); - AtkUnitBasePtr addonByName = gameGui.GetAddonByName(addonName); - if (!addonByName.IsNull) + _206F_202D_200B_200D_206C_206D_200D_202D_202B_200C_206D_206C_206E_200D_200F_206E_200B_202E_200F_206F_200E_200F_206A_202B_202C_202B_206F_206A_206C_206F_200E_202E_200F_200E_202C_202D_200F_206F_200C_206D_202E((object)gameGui, global::_003CModule_003E._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(1115223157)); + _206D_200C_206B_206E_200E_202E_202B_206D_206F_202B_200D_200D_206A_202D_202E_202B_202D_206E_206F_206E_206A_202E_202C_202A_206E_200B_206B_206F_200E_202E_202A_200F_202E_206A_206E_206A_206D_206F_206B_206F_202E(addonName, global::_003CModule_003E._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(-709864046)); + AtkUnitBasePtr atkUnitBasePtr = _200F_202D_202D_200E_200F_200C_200E_202D_202E_200B_202A_206B_202A_206A_206A_206F_206D_202A_206D_206C_200E_202D_202C_206A_200D_202E_202D_206E_200C_206A_206B_200F_206C_200E_202D_202C_200B_202D_200E_200F_202E(gameGui, addonName, 1); + int num = (atkUnitBasePtr.IsNull ? (-1471855993) : (-1471855994)); + while (true) { - addonPtr = (T*)addonByName.Address; - return true; + int num2 = num; + int num3 = -1471855993; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0072; + case 0: + addonPtr = null; + return false; + case 1: + addonPtr = (T*)atkUnitBasePtr.Address; + return true; + } + continue; + IL_0072: + num = -1471855994; } - addonPtr = null; - return false; } public unsafe static bool IsAddonReady(AtkUnitBase* addon) { - if (addon->IsVisible) + int num = ((addon == null) ? 1974833566 : 1974833564); + while (true) { - return addon->UldManager.LoadedState == AtkLoadState.Loaded; + int num2 = num; + int num3 = 1974833565; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return addon->UldManager.LoadedState == AtkLoadState.Loaded; + case 1: + num = ((!addon->IsVisible) ? 1974833566 : 1974833565); + break; + case 3: + return false; + case 2: + num = 1974833564; + break; + } } - return false; + } + + public unsafe static bool TryGetReadyAddon(this IGameGui gameGui, string addonName, out T* addonPtr) where T : unmanaged + { + int num = ((!gameGui.TryGetAddonByName(addonName, out addonPtr)) ? 1276632889 : 1276632891); + while (true) + { + int num2 = num; + int num3 = 1276632890; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return true; + case 1: + num = ((!IsAddonReady((AtkUnitBase*)addonPtr)) ? 1276632889 : 1276632888); + break; + case 3: + addonPtr = null; + return false; + case 0: + num = 1276632891; + break; + } + } + } + + static int _200F_202C_206F_202D_200F_202D_206D_200E_200D_206E_200B_200B_202A_202B_200F_202A_200C_200B_206C_206F_200B_202A_200E_202C_202E_206A_202D_206D_200F_200E_202C_206A_206A_206F_202D_206B_200B_200C_206C_202A_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static void _206F_202D_200B_200D_206C_206D_200D_202D_202B_200C_206D_206C_206E_200D_200F_206E_200B_202E_200F_206F_200E_200F_206A_202B_202C_202B_206F_206A_206C_206F_200E_202E_200F_200E_202C_202D_200F_206F_200C_206D_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static void _206D_200C_206B_206E_200E_202E_202B_206D_206F_202B_200D_200D_206A_202D_202E_202B_202D_206E_206F_206E_206A_202E_202C_202A_206E_200B_206B_206F_200E_202E_202A_200F_202E_206A_206E_206A_206D_206F_206B_206F_202E(string P_0, string P_1) + { + ArgumentException.ThrowIfNullOrEmpty(P_0, P_1); + } + + static AtkUnitBasePtr _200F_202D_202D_200E_200F_200C_200E_202D_202E_200B_202A_206B_202A_206A_206A_206F_206D_202A_206D_206C_200E_202D_202C_206A_200D_202E_202D_206E_200C_206A_206B_200F_206C_200E_202D_202C_200B_202D_200E_200F_202E(IGameGui P_0, string P_1, int P_2) + { + return P_0.GetAddonByName(P_1, P_2); } } diff --git a/LLib/LLib.GameUI/LAtkValue.cs b/LLib/LLib.GameUI/LAtkValue.cs index 4c97992b..69c4f61d 100644 --- a/LLib/LLib.GameUI/LAtkValue.cs +++ b/LLib/LLib.GameUI/LAtkValue.cs @@ -1,4 +1,5 @@ using System; +using Dalamud.Game.Text.SeStringHandling; using Dalamud.Memory; using FFXIVClientStructs.FFXIV.Component.GUI; @@ -8,14 +9,38 @@ public static class LAtkValue { public unsafe static string? ReadAtkString(this AtkValue atkValue) { - if (atkValue.Type == AtkValueType.Undefined) + AtkValueType atkValueType = atkValue.Type & AtkValueType.TypeMask; + int num = ((atkValueType == AtkValueType.String) ? 1097061061 : 1097061058); + while (true) { - return null; + int num2 = num; + int num3 = 1097061057; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = 1097061058; + break; + case 3: + num = ((atkValueType == AtkValueType.ConstString) ? 1097061061 : 1097061057); + break; + case 4: + num = ((!atkValue.String.HasValue) ? 1097061059 : 1097061056); + break; + case 1: + return _200F_206A_206C_206F_202D_202E_200D_200B_202D_200B_200B_202E_200C_200C_200C_206B_202A_202D_206C_202B_206A_200E_200E_202B_206C_200E_206D_202E_202B_206C_200F_200F_200B_206F_202B_202E_200E_202C_206A_202A_202E(new IntPtr((byte*)atkValue.String)).WithCertainMacroCodeReplacements(); + case 2: + return null; + case 0: + return null; + } } - if (atkValue.String.HasValue) - { - return MemoryHelper.ReadSeStringNullTerminated(new IntPtr((byte*)atkValue.String)).WithCertainMacroCodeReplacements(); - } - return null; + } + + static SeString _200F_206A_206C_206F_202D_202E_200D_200B_202D_200B_200B_202E_200C_200C_200C_206B_202A_202D_206C_202B_206A_200E_200E_202B_206C_200E_206D_202E_202B_206C_200F_200F_200B_206F_202B_202E_200E_202C_206A_202A_202E(nint P_0) + { + return MemoryHelper.ReadSeStringNullTerminated(P_0); } } diff --git a/LLib/LLib.GameUI/SeStringExtensions.cs b/LLib/LLib.GameUI/SeStringExtensions.cs index c26be1a0..e8688bab 100644 --- a/LLib/LLib.GameUI/SeStringExtensions.cs +++ b/LLib/LLib.GameUI/SeStringExtensions.cs @@ -7,10 +7,29 @@ public static class SeStringExtensions { public static string WithCertainMacroCodeReplacements(this SeString? str) { - if (str == null) + int num = ((str != null) ? 678693076 : 678693077); + while (true) { - return string.Empty; + int num2 = num; + int num3 = 678693076; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return new ReadOnlySeString(_200E_206E_206F_206E_200D_202D_206F_206C_202E_206A_202A_200F_202A_202E_202B_206A_206B_202C_200D_202E_200E_202D_200D_206C_206A_206E_200F_206D_200D_200D_202B_206D_206A_206F_202B_200C_202C_202C_206B_206F_202E(str)).WithCertainMacroCodeReplacements(); + case 1: + return string.Empty; + case 2: + goto IL_0058; + } + continue; + IL_0058: + num = 678693077; } - return new ReadOnlySeString(str.Encode()).WithCertainMacroCodeReplacements(); + } + + static byte[] _200E_206E_206F_206E_200D_202D_206F_206C_202E_206A_202A_200F_202A_202E_202B_206A_206B_202C_200D_202E_200E_202D_200D_206C_206A_206E_200F_206D_200D_200D_202B_206D_206A_206F_202B_200C_202C_202C_206B_206F_202E(SeString P_0) + { + return P_0.Encode(); } } diff --git a/LLib/LLib.Gear/BestItemFinder.cs b/LLib/LLib.Gear/BestItemFinder.cs new file mode 100644 index 00000000..614ffcf1 --- /dev/null +++ b/LLib/LLib.Gear/BestItemFinder.cs @@ -0,0 +1,355 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +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; + + public static readonly IReadOnlyList ArmoryEquippedAndBags; + + private readonly GearStatsCalculator _calculator; + + private readonly ExcelSheet _itemSheet; + + private readonly ExcelSheet _classJobCategorySheet; + + [MethodImpl(MethodImplOptions.NoInlining)] + public BestItemFinder(GearStatsCalculator calculator, IDataManager dataManager) + { + _206D_206D_200D_200E_206B_206F_200E_200E_206D_200F_200F_202C_206F_200D_200C_200E_206A_202D_206A_200D_202A_202E_200B_206C_206C_202A_206A_202B_202D_202E_200F_200B_206E_202C_202A_206F_202D_202B_200F_200C_202E((object)calculator, global::_003CModule_003E._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(1061074664)); + _206D_206D_200D_200E_206B_206F_200E_200E_206D_200F_200F_202C_206F_200D_200C_200E_206A_202D_206A_200D_202A_202E_200B_206C_206C_202A_206A_202B_202D_202E_200F_200B_206E_202C_202A_206F_202D_202B_200F_200C_202E((object)dataManager, global::_003CModule_003E._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(-1509101314)); + _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; + int num = (job.DealsMagicDamage() ? (-539654856) : (-539654853)); + InventoryItem* inventorySlot = default(InventoryItem*); + BestItemRef valueOrDefault = default(BestItemRef); + int num10 = default(int); + Item value = default(Item); + Item? rowOrDefault = default(Item?); + InventoryType current = default(InventoryType); + ItemRankingKey itemRankingKey = default(ItemRankingKey); + EBaseParam param = default(EBaseParam); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + InventoryManager* ptr = default(InventoryManager*); + while (true) + { + int num2 = num; + int num3 = -539654855; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num13; + switch (num5 - (num6 + num6)) + { + case 3: + num = -539654853; + break; + case 2: + num13 = 12; + goto IL_0093; + case 0: + return null; + case 1: + num13 = 13; + goto IL_0093; + case 4: + { + IEnumerator enumerator = containers.GetEnumerator(); + try + { + num = 1383035705; + while (true) + { + int num7 = num; + num3 = 1383035707; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + num = (_202D_206A_202A_206D_202C_202E_206A_206C_200D_200F_206E_202B_206D_206D_200B_206D_206B_200E_200D_206E_206C_206A_202B_206D_200B_200D_202B_202B_206B_206A_200D_202A_200B_206D_200B_202D_206A_202E_206F_206D_202E((IEnumerator)enumerator) ? 1383035691 : 1383035701); + break; + case 13: + num = ((inventorySlot->ItemId == 0) ? 1383035706 : 1383035700); + break; + case 4: + num = ((valueOrDefault.Slot == num10) ? 1383035706 : 1383035690); + break; + case 6: + value = rowOrDefault.Value; + num = ((!IsAcceptedSlot(value.EquipSlotCategory.RowId, acceptedSlotCategories)) ? 1383035706 : 1383035697); + break; + case 5: + valueOrDefault = excludeContainerSlot.GetValueOrDefault(); + num = ((valueOrDefault.Container != current) ? 1383035690 : 1383035711); + break; + case 0: + num = 1383035705; + break; + case 3: + { + EquipmentStats equipmentStats = _calculator.CalculateGearStats(inventorySlot); + itemRankingKey = new ItemRankingKey(value.LevelItem.RowId, priority.Score(equipmentStats), equipmentStats.Get(param)); + num = ((!IsUpgrade(rankingMode, itemRankingKey, best)) ? 1383035706 : 1383035708); + break; + } + case 9: + inventorySlot = inventoryContainer->GetInventorySlot(num10); + num = ((inventorySlot == null) ? 1383035706 : 1383035702); + break; + case 10: + num = ((value.LevelEquip > playerLevel) ? 1383035706 : 1383035703); + break; + case 15: + num = ((!excludeContainerSlot.HasValue) ? 1383035690 : 1383035710); + break; + case 7: + result = new BestItemRef(current, num10, inventorySlot->ItemId, itemRankingKey.ItemLevel, itemRankingKey.Score); + best = itemRankingKey; + num = 1383035706; + break; + case 11: + num = ((num10 < inventoryContainer->Size) ? 1383035698 : 1383035705); + break; + case 12: + num = ((!IsItemForJob(value, job)) ? 1383035706 : 1383035704); + break; + case 16: + current = enumerator.Current; + inventoryContainer = ptr->GetInventoryContainer(current); + num = ((inventoryContainer == null) ? 1383035705 : 1383035699); + break; + case 1: + { + int num11 = num10; + num3 = 1; + num4 = num11; + num10 = (num4 | num3) + (num4 & num3); + num = 1383035696; + break; + } + case 17: + rowOrDefault = _itemSheet.GetRowOrDefault(inventorySlot->ItemId); + num = ((!rowOrDefault.HasValue) ? 1383035706 : 1383035709); + break; + case 8: + num10 = 0; + num = 1383035696; + break; + case 14: + return result; + } + } + } + finally + { + num = ((enumerator == null) ? 1816874723 : 1816874720); + while (true) + { + int num12 = num; + num3 = 1816874722; + num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1816874720; + break; + case 2: + _206C_202E_206F_206E_206E_200E_200C_206A_200B_206E_202C_202E_206D_202D_202D_202E_206E_206D_200D_200D_202A_202B_202C_202B_200B_200F_202B_202B_200F_200C_202D_206C_200D_202B_200E_200F_206D_206E_206B_200C_202E((IDisposable)enumerator); + num = 1816874723; + break; + case 1: + goto end_IL_042f; + } + continue; + end_IL_042f: + break; + } + } + } + IL_0093: + param = (EBaseParam)num13; + ptr = InventoryManager.Instance(); + num = ((ptr != null) ? (-539654851) : (-539654855)); + break; + } + } + } + + public static bool IsUpgrade(EItemRankingMode mode, ItemRankingKey candidate, ItemRankingKey best) + { + int num = ((mode != EItemRankingMode.DamageFirst) ? (-1413450028) : (-1413450032)); + while (true) + { + int num2 = num; + int num3 = -1413450029; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + num = -1413450032; + break; + case 7: + num = ((mode != EItemRankingMode.ItemLevelFirst) ? (-1413450031) : (-1413450025)); + break; + case 9: + return candidate.ItemLevel > best.ItemLevel; + case 4: + num = ((candidate.ItemLevel == best.ItemLevel) ? (-1413450027) : (-1413450022)); + break; + case 2: + num = ((candidate.Score == best.Score) ? (-1413450029) : (-1413450026)); + break; + case 5: + return candidate.Score > best.Score; + case 1: + return candidate.Damage > best.Damage; + case 3: + num = ((candidate.Damage == best.Damage) ? (-1413450028) : (-1413450030)); + break; + case 6: + return candidate.Score > best.Score; + case 0: + return candidate.ItemLevel > best.ItemLevel; + } + } + } + + public bool IsItemForJob(Item item, EClassJob job) + { + uint rowId = item.ClassJobCategory.RowId; + int num = ((rowId != 0) ? (-1361138782) : (-1361138777)); + ClassJobCategory? rowOrDefault = default(ClassJobCategory?); + while (true) + { + int num2 = num; + int num3 = -1361138778; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -1361138777; + break; + case 2: + return false; + case 1: + return true; + case 0: + return job.IsInCategory(rowOrDefault.Value); + case 4: + rowOrDefault = _classJobCategorySheet.GetRowOrDefault(rowId); + num = (rowOrDefault.HasValue ? (-1361138778) : (-1361138780)); + break; + } + } + } + + private static bool IsAcceptedSlot(uint itemSlotCategory, IReadOnlyList accepted) + { + IEnumerator enumerator = accepted.GetEnumerator(); + try + { + int num = -1139406440; + while (true) + { + int num2 = num; + int num3 = -1139406439; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = (_202D_206A_202A_206D_202C_202E_206A_206C_200D_200F_206E_202B_206D_206D_200B_206D_206B_200E_200D_206E_206C_206A_202B_206D_200B_200D_202B_202B_206B_206A_200D_202A_200B_206D_200B_202D_206A_202E_206F_206D_202E((IEnumerator)enumerator) ? (-1139406438) : (-1139406439)); + break; + case 3: + num = ((enumerator.Current != itemSlotCategory) ? (-1139406440) : (-1139406437)); + break; + case 4: + num = -1139406440; + break; + case 2: + return true; + case 0: + goto end_IL_0012; + } + continue; + end_IL_0012: + break; + } + } + finally + { + int num = ((enumerator == null) ? (-1966232189) : (-1966232192)); + while (true) + { + int num7 = num; + int num3 = -1966232191; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1966232192; + break; + case 1: + _206C_202E_206F_206E_206E_200E_200C_206A_200B_206E_202C_202E_206D_202D_202D_202E_206E_206D_200D_200D_202A_202B_202C_202B_200B_200F_202B_202B_200F_200C_202D_206C_200D_202B_200E_200F_206D_206E_206B_200C_202E((IDisposable)enumerator); + num = -1966232189; + break; + case 2: + goto end_IL_00c5; + } + continue; + end_IL_00c5: + break; + } + } + return false; + } + + static BestItemFinder() + { + InventoryType[] array = new InventoryType[12]; + _200B_206D_202E_206F_206A_206F_202B_200E_206E_200B_202D_206C_200F_206D_200D_206B_206A_202C_202C_206E_206E_202C_206D_206C_206F_202C_200F_200F_202A_202D_202B_206F_200E_202C_202C_200D_200B_206D_200D_200D_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + ArmoryAndEquipped = new global::_003C_003Ez__ReadOnlyArray(array); + InventoryType[] array2 = new InventoryType[16]; + _200B_206D_202E_206F_206A_206F_202B_200E_206E_200B_202D_206C_200F_206D_200D_206B_206A_202C_202C_206E_206E_202C_206D_206C_206F_202C_200F_200F_202A_202D_202B_206F_200E_202C_202C_200D_200B_206D_200D_200D_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + ArmoryEquippedAndBags = new global::_003C_003Ez__ReadOnlyArray(array2); + } + + static void _206D_206D_200D_200E_206B_206F_200E_200E_206D_200F_200F_202C_206F_200D_200C_200E_206A_202D_206A_200D_202A_202E_200B_206C_206C_202A_206A_202B_202D_202E_200F_200B_206E_202C_202A_206F_202D_202B_200F_200C_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static bool _202D_206A_202A_206D_202C_202E_206A_206C_200D_200F_206E_202B_206D_206D_200B_206D_206B_200E_200D_206E_206C_206A_202B_206D_200B_200D_202B_202B_206B_206A_200D_202A_200B_206D_200B_202D_206A_202E_206F_206D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206C_202E_206F_206E_206E_200E_200C_206A_200B_206E_202C_202E_206D_202D_202D_202E_206E_206D_200D_200D_202A_202B_202C_202B_200B_200F_202B_202B_200F_200C_202D_206C_200D_202B_200E_200F_206D_206E_206B_200C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _200B_206D_202E_206F_206A_206F_202B_200E_206E_200B_202D_206C_200F_206D_200D_206B_206A_202C_202C_206E_206E_202C_206D_206C_206F_202C_200F_200F_202A_202D_202B_206F_200E_202C_202C_200D_200B_206D_200D_200D_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } +} diff --git a/LLib/LLib.Gear/BestItemRef.cs b/LLib/LLib.Gear/BestItemRef.cs new file mode 100644 index 00000000..87c91d84 --- /dev/null +++ b/LLib/LLib.Gear/BestItemRef.cs @@ -0,0 +1,117 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +using FFXIVClientStructs.FFXIV.Client.Game; + +namespace LLib.Gear; + +public readonly record struct BestItemRef(InventoryType Container, int Slot, uint ItemId, uint ItemLevel, float SubstatScore) +{ + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200D_200D_206E_202E_200C_202C_200E_206A_202B_202A_200F_202B_202B_200D_206C_200E_206B_202B_202A_200D_206A_206A_206D_206D_202D_206F_200E_202D_206D_200F_202C_206E_206E_202E_200B_206D_206C_200D_202D_200C_202E(); + _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(stringBuilder, global::_003CModule_003E._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(879982736)); + _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(stringBuilder, global::_003CModule_003E._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(1581517409)); + int num = ((!PrintMembers(stringBuilder)) ? 1969490728 : 1969490729); + while (true) + { + int num2 = num; + int num3 = 1969490728; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _200D_206F_202B_200E_206D_206B_206B_206B_202A_206B_202D_206F_202C_206D_202C_202B_206A_200D_200C_206A_206D_200E_200F_206E_206E_206A_206B_206D_202E_206C_206A_206C_206F_202E_202B_202B_206F_200E_206A_206C_202E(stringBuilder, '}'); + return _202D_200F_202C_200D_206A_202D_206E_206B_202E_206C_200C_200B_200B_202E_202C_200F_200E_206C_206E_206E_202C_202A_200F_200F_200F_202B_206C_200B_202A_206D_200C_206A_200B_202C_202A_206B_202D_206C_200D_200C_202E((object)stringBuilder); + case 1: + _200D_206F_202B_200E_206D_206B_206B_206B_202A_206B_202D_206F_202C_206D_202C_202B_206A_200D_200C_206A_206D_200E_200F_206E_206E_206A_206B_206D_202E_206C_206A_206C_206F_202E_202B_202B_206F_200E_206A_206C_202E(stringBuilder, ' '); + num = 1969490728; + break; + case 2: + num = 1969490729; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(builder, global::_003CModule_003E._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(-926004725)); + _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(builder, Container.ToString()); + _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(builder, global::_003CModule_003E._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(-991935084)); + _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(builder, Slot.ToString()); + _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(builder, global::_003CModule_003E._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(-1773173997)); + _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(builder, ItemId.ToString()); + _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(builder, global::_003CModule_003E._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(-928952484)); + _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(builder, ItemLevel.ToString()); + _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(builder, global::_003CModule_003E._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(-2040749927)); + _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(builder, SubstatScore.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(BestItemRef other) + { + int num = ((!EqualityComparer.Default.Equals(Container, other.Container)) ? 542422515 : 542422514); + while (true) + { + int num2 = num; + int num3 = 542422515; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((!EqualityComparer.Default.Equals(ItemLevel, other.ItemLevel)) ? 542422515 : 542422518); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(Slot, other.Slot)) ? 542422515 : 542422512); + break; + case 0: + return false; + case 5: + return EqualityComparer.Default.Equals(SubstatScore, other.SubstatScore); + case 3: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? 542422515 : 542422519); + break; + case 2: + num = 542422514; + break; + } + } + } + + bool IEquatable.Equals(BestItemRef other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _200D_200D_206E_202E_200C_202C_200E_206A_202B_202A_200F_202B_202B_200D_206C_200E_206B_202B_202A_200D_206A_206A_206D_206D_202D_206F_200E_202D_206D_200F_202C_206E_206E_202E_200B_206D_206C_200D_202D_200C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206A_206C_202E_200E_202B_200E_200B_206F_202D_206C_206A_206A_206B_200E_202B_200B_206D_206F_202E_206D_202C_206B_206B_206F_200E_202A_200D_206B_200F_200E_206A_206D_200D_206A_206B_200B_200B_200F_202E_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_206F_202B_200E_206D_206B_206B_206B_202A_206B_202D_206F_202C_206D_202C_202B_206A_200D_200C_206A_206D_200E_200F_206E_206E_206A_206B_206D_202E_206C_206A_206C_206F_202E_202B_202B_206F_200E_206A_206C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202D_200F_202C_200D_206A_202D_206E_206B_202E_206C_200C_200B_200B_202E_202C_200F_200E_206C_206E_206E_202C_202A_200F_200F_200F_202B_206C_200B_202A_206D_200C_206A_200B_202C_202A_206B_202D_206C_200D_200C_202E(object P_0) + { + return P_0.ToString(); + } +} diff --git a/LLib/LLib.Gear/DesynthActions.cs b/LLib/LLib.Gear/DesynthActions.cs new file mode 100644 index 00000000..5fc9e738 --- /dev/null +++ b/LLib/LLib.Gear/DesynthActions.cs @@ -0,0 +1,463 @@ +using System.Runtime.CompilerServices; +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(); + int num = ((ptr != null) ? 423836342 : 423836341); + while (true) + { + int num2 = num; + int num3 = 423836343; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + ptr->AgentInterface.Show(); + return true; + case 2: + return false; + case 0: + goto IL_005a; + } + continue; + IL_005a: + num = 423836341; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsDesynthAddonReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon(global::_003CModule_003E._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(-866883789), out addonPtr); + } + + public unsafe static void SetCategory(AgentSalvage.SalvageItemCategory category) + { + AgentSalvage* ptr = AgentSalvage.Instance(); + int num = ((ptr == null) ? (-1642327650) : (-1642327651)); + while (true) + { + int num2 = num; + int num3 = -1642327649; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1642327651; + break; + case 1: + return; + case 2: + ptr->SelectedCategory = category; + num = -1642327650; + break; + } + } + } + + public unsafe static AgentSalvage.SalvageItemCategory GetCategory() + { + AgentSalvage* ptr = AgentSalvage.Instance(); + int num = ((ptr != null) ? 1275547526 : 1275547525); + while (true) + { + int num2 = num; + int num3 = 1275547527; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return AgentSalvage.SalvageItemCategory.InventoryEquipment; + case 1: + return ptr->SelectedCategory; + } + continue; + IL_004b: + num = 1275547525; + } + } + + public unsafe static void RefreshItemList() + { + AgentSalvage* ptr = AgentSalvage.Instance(); + int num = ((ptr == null) ? 213710031 : 213710028); + while (true) + { + int num2 = num; + int num3 = 213710029; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 213710028; + break; + case 2: + return; + case 1: + ptr->ItemListRefresh(isSalvageResultAddonOpen: true); + num = 213710031; + break; + } + } + } + + public unsafe static int GetItemCount() + { + AgentSalvage* ptr = AgentSalvage.Instance(); + int num = ((ptr != null) ? (-832139057) : (-832139060)); + while (true) + { + int num2 = num; + int num3 = -832139059; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return (int)ptr->ItemCount; + case 1: + return 0; + case 0: + goto IL_0052; + } + continue; + IL_0052: + num = -832139060; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TrySelectItem(IGameGui gameGui, int itemIndex) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(1627601716), out addonPtr) ? (-770746818) : (-770746819)); + while (true) + { + int num2 = num; + int num3 = -770746817; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0054; + case 2: + return false; + case 1: + AddonCallback.FireWithUpdate(addonPtr, 12, itemIndex); + return true; + } + continue; + IL_0054: + num = -770746819; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsConfirmDialogReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon(global::_003CModule_003E._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(-1828930182), out addonPtr); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryConfirmDesynth(IGameGui gameGui, bool nqOnly = false) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(221638269), out addonPtr) ? (-763680542) : (-763680543)); + while (true) + { + int num2 = num; + int num3 = -763680541; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 1: + AddonCallback.FireWithUpdate(addonPtr, 15, nqOnly ? 1 : 0); + AddonCallback.FireWithUpdate(addonPtr, default(int), default(int)); + return true; + case 2: + return false; + } + continue; + IL_0052: + num = -763680543; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsResultDialogReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon(global::_003CModule_003E._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(-132278347), out addonPtr); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryCloseResultDialog(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(937498069), out addonPtr) ? (-1405203810) : (-1405203811)); + while (true) + { + int num2 = num; + int num3 = -1405203809; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + addonPtr->Close(fireCallback: true); + return true; + case 2: + return false; + case 0: + goto IL_0060; + } + continue; + IL_0060: + num = -1405203811; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryCloseDesynthWindow(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(-2023860148), out addonPtr) ? 176704598 : 176704597); + while (true) + { + int num2 = num; + int num3 = 176704599; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 2: + return false; + case 1: + addonPtr->Close(fireCallback: true); + return true; + } + continue; + IL_0052: + num = 176704597; + } + } + + public unsafe static AgentSalvage.SalvageListItem? GetItemAtIndex(int index) + { + AgentSalvage* ptr = AgentSalvage.Instance(); + int num = ((ptr == null) ? 1959558310 : 1959558311); + while (true) + { + int num2 = num; + int num3 = 1959558309; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1959558311; + break; + case 2: + num = ((ptr->ItemList == null) ? 1959558310 : 1959558305); + break; + case 1: + return ptr->ItemList[index]; + case 4: + num = ((index < 0) ? 1959558310 : 1959558304); + break; + case 5: + num = ((index < ptr->ItemCount) ? 1959558308 : 1959558310); + break; + case 3: + return null; + } + } + } + + public unsafe static bool TryDesynthDirect(InventoryItem* item) + { + int num = ((item == null) ? (-1819563004) : (-1819563003)); + AgentSalvage* ptr = default(AgentSalvage*); + while (true) + { + int num2 = num; + int num3 = -1819563004; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1819563003; + break; + case 1: + num = ((item->ItemId != 0) ? (-1819563007) : (-1819563004)); + break; + case 5: + ptr = AgentSalvage.Instance(); + num = ((ptr != null) ? (-1819563001) : (-1819563008)); + break; + case 4: + return false; + case 3: + { + 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; + } + case 0: + return false; + } + } + } + + public static bool IsDesynthUnlocked() + { + return GearFeatures.IsDesynthUnlocked(); + } + + public static bool IsItemDesynthable(IDataManager dataManager, uint itemId) + { + Item row; + int num = (dataManager.GetExcelSheet().TryGetRow(itemId, out row) ? (-1608454273) : (-1608454276)); + while (true) + { + int num2 = num; + int num3 = -1608454274; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return row.Desynth > 0; + case 2: + return false; + case 0: + goto IL_0068; + } + continue; + IL_0068: + num = -1608454276; + } + } + + public unsafe static bool CanPlayerDesynthItem(IDataManager dataManager, uint itemId) + { + Item row; + int num = (dataManager.GetExcelSheet().TryGetRow(itemId, out row) ? (-1179010991) : (-1179010980)); + PlayerState* ptr = default(PlayerState*); + ClassJob? valueNullable = default(ClassJob?); + while (true) + { + int num2 = num; + int num3 = -1179010983; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = -1179010980; + break; + case 6: + return false; + case 1: + return false; + case 7: + return false; + case 5: + return false; + case 3: + ptr = PlayerState.Instance(); + num = ((ptr != null) ? (-1179010981) : (-1179010984)); + break; + case 2: + return ptr->ClassJobLevels[valueNullable.Value.ExpArrayIndex] >= 30; + case 8: + num = ((row.Desynth > 0) ? (-1179010983) : (-1179010978)); + break; + case 0: + valueNullable = row.ClassJobRepair.ValueNullable; + num = (valueNullable.HasValue ? (-1179010982) : (-1179010977)); + break; + } + } + } + + public unsafe static float GetDesynthLevel(uint classJobId) + { + PlayerState* ptr = PlayerState.Instance(); + bool flag = ptr == null; + int num = (flag ? 659072519 : 659072518); + bool flag2 = default(bool); + while (true) + { + int num2 = num; + int num3 = 659072516; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + return ptr->GetDesynthesisLevel(classJobId); + case 8: + num = ((classJobId <= 15) ? 659072513 : 659072516); + break; + case 2: + num = ((classJobId < 8) ? 659072516 : 659072524); + break; + case 5: + flag2 = false; + num = 659072517; + break; + case 3: + num = ((!flag) ? 659072515 : 659072512); + break; + case 1: + flag = flag2; + num = 659072519; + break; + case 0: + flag2 = true; + num = 659072517; + break; + case 4: + return 0f; + case 6: + num = 659072518; + break; + } + } + } +} diff --git a/LLib/LLib.Gear/EEquipSlotCategory.cs b/LLib/LLib.Gear/EEquipSlotCategory.cs new file mode 100644 index 00000000..47934add --- /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 00000000..cac6d0e1 --- /dev/null +++ b/LLib/LLib.Gear/EEquipSlotCategoryExtensions.cs @@ -0,0 +1,407 @@ +using FFXIVClientStructs.FFXIV.Client.Game; + +namespace LLib.Gear; + +public static class EEquipSlotCategoryExtensions +{ + public static InventoryType? GetArmoryContainer(this EEquipSlotCategory slot) + { + int num; + InventoryType? result = default(InventoryType?); + switch (slot) + { + default: + num = -2089769317; + goto IL_0047; + case EEquipSlotCategory.Ears: + result = InventoryType.ArmoryEar; + num = -2089769327; + goto IL_0047; + case EEquipSlotCategory.Shield: + goto IL_00b7; + case EEquipSlotCategory.Hands: + goto IL_00cd; + case EEquipSlotCategory.Head: + goto IL_00e3; + case (EEquipSlotCategory)6u: + goto IL_00f9; + case EEquipSlotCategory.Body: + goto IL_010e; + case EEquipSlotCategory.Legs: + goto IL_0131; + case EEquipSlotCategory.Feet: + goto IL_0147; + case EEquipSlotCategory.Wrists: + goto IL_015d; + case EEquipSlotCategory.OneHandedMainHand: + case EEquipSlotCategory.TwoHandedMainHand: + goto IL_017e; + case EEquipSlotCategory.Neck: + goto IL_0194; + case EEquipSlotCategory.Rings: + goto IL_01aa; + IL_0047: + while (true) + { + int num2 = num; + int num3 = -2089769328; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + goto end_IL_0047; + case 8: + goto IL_00b7; + case 10: + goto IL_00cd; + case 5: + goto IL_00e3; + case 2: + goto IL_00f9; + case 9: + goto IL_010e; + case 1: + return result; + case 0: + num = -2089769317; + break; + case 12: + goto IL_0131; + case 6: + goto IL_0147; + case 13: + goto IL_015d; + case 11: + num = -2089769326; + break; + case 4: + goto IL_017e; + case 3: + goto IL_0194; + case 14: + goto IL_01aa; + } + continue; + end_IL_0047: + break; + } + goto case EEquipSlotCategory.Ears; + IL_01aa: + result = InventoryType.ArmoryRings; + num = -2089769327; + goto IL_0047; + IL_0194: + result = InventoryType.ArmoryNeck; + num = -2089769327; + goto IL_0047; + IL_017e: + result = InventoryType.ArmoryMainHand; + num = -2089769327; + goto IL_0047; + IL_015d: + result = InventoryType.ArmoryWrist; + num = -2089769327; + goto IL_0047; + IL_0147: + result = InventoryType.ArmoryFeets; + num = -2089769327; + goto IL_0047; + IL_0131: + result = InventoryType.ArmoryLegs; + num = -2089769327; + goto IL_0047; + IL_010e: + result = InventoryType.ArmoryBody; + num = -2089769327; + goto IL_0047; + IL_00f9: + result = null; + num = -2089769327; + goto IL_0047; + IL_00e3: + result = InventoryType.ArmoryHead; + num = -2089769327; + goto IL_0047; + IL_00cd: + result = InventoryType.ArmoryHands; + num = -2089769327; + goto IL_0047; + IL_00b7: + result = InventoryType.ArmoryOffHand; + num = -2089769327; + goto IL_0047; + } + } + + public unsafe static int? FindFreeSlot(InventoryType container) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? (-1184837257) : (-1184837263)); + int num5 = default(int); + InventoryItem* inventorySlot = default(InventoryItem*); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + while (true) + { + int num2 = num; + int num3 = -1184837262; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + return null; + case 0: + num5 = 0; + num = -1184837260; + break; + case 2: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = -1184837260; + break; + } + case 1: + return null; + case 9: + return num5; + case 10: + inventorySlot = inventoryContainer->GetInventorySlot(num5); + num = ((inventorySlot == null) ? (-1184837264) : (-1184837254)); + break; + case 3: + return null; + case 5: + inventoryContainer = ptr->GetInventoryContainer(container); + num = ((inventoryContainer != null) ? (-1184837262) : (-1184837259)); + break; + case 8: + num = ((inventorySlot->ItemId != 0) ? (-1184837264) : (-1184837253)); + break; + case 4: + num = -1184837263; + break; + case 6: + num = ((num5 < inventoryContainer->Size) ? (-1184837256) : (-1184837261)); + break; + } + } + } + + public unsafe static bool TryUnequipItem(int equippedSlotIndex) + { + int num; + InventoryType? inventoryType2 = default(InventoryType?); + InventoryManager* ptr = default(InventoryManager*); + InventoryType valueOrDefault2 = default(InventoryType); + int valueOrDefault = default(int); + InventoryType? inventoryType = default(InventoryType?); + int? num7 = default(int?); + InventoryItem* inventorySlot = default(InventoryItem*); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + switch (equippedSlotIndex) + { + default: + num = 1686328571; + goto IL_004a; + case 6: + inventoryType2 = InventoryType.ArmoryLegs; + num = 1686328552; + goto IL_004a; + case 11: + case 12: + goto IL_0106; + case 0: + goto IL_0147; + case 7: + goto IL_018d; + case 3: + goto IL_01d1; + case 1: + goto IL_022c; + case 5: + goto IL_0259; + case 10: + goto IL_0271; + case 13: + goto IL_029d; + case 4: + goto IL_02db; + case 8: + goto IL_0301; + case 2: + goto IL_0351; + case 9: + goto IL_036b; + IL_004a: + while (true) + { + int num2 = num; + int num3 = 1686328567; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 24: + return false; + case 14: + goto end_IL_004a; + case 8: + goto IL_0106; + case 27: + return false; + case 31: + goto IL_0120; + case 6: + goto IL_0147; + case 22: + goto IL_015f; + case 30: + return false; + case 4: + goto IL_018d; + case 11: + goto IL_01a5; + case 15: + goto IL_01d1; + case 16: + goto IL_01e9; + case 20: + goto IL_0208; + case 18: + goto IL_022c; + case 2: + ptr->MoveItemSlot(InventoryType.EquippedItems, (ushort)equippedSlotIndex, valueOrDefault2, (ushort)valueOrDefault, a6: true); + return true; + case 19: + goto IL_0259; + case 3: + goto IL_0271; + case 13: + valueOrDefault2 = inventoryType.GetValueOrDefault(); + num = 1686328557; + break; + case 5: + goto IL_029d; + case 26: + goto IL_02b5; + case 7: + goto IL_02db; + case 0: + num = 1686328571; + break; + case 28: + return false; + case 1: + goto IL_0301; + case 21: + goto IL_0319; + case 12: + num = 1686328548; + break; + case 23: + return false; + case 25: + goto IL_0351; + case 17: + return false; + case 29: + goto IL_036b; + case 10: + valueOrDefault = num7.GetValueOrDefault(); + num = 1686328565; + break; + case 9: + goto IL_0398; + } + continue; + IL_0398: + num = ((inventorySlot->ItemId != 0) ? 1686328545 : 1686328553); + continue; + IL_015f: + num7 = FindFreeSlot(valueOrDefault2); + num = ((!num7.HasValue) ? 1686328556 : 1686328573); + continue; + IL_0208: + num = ((equippedSlotIndex < inventoryContainer->Size) ? 1686328546 : 1686328555); + continue; + IL_0319: + inventorySlot = inventoryContainer->GetInventorySlot(equippedSlotIndex); + num = ((inventorySlot == null) ? 1686328553 : 1686328574); + continue; + IL_0120: + inventoryType = inventoryType2; + num = ((!inventoryType.HasValue) ? 1686328544 : 1686328570); + continue; + IL_01a5: + inventoryContainer = ptr->GetInventoryContainer(InventoryType.EquippedItems); + num = ((inventoryContainer != null) ? 1686328551 : 1686328559); + continue; + IL_02b5: + ptr = InventoryManager.Instance(); + num = ((ptr != null) ? 1686328572 : 1686328550); + continue; + IL_01e9: + num = ((equippedSlotIndex < 0) ? 1686328555 : 1686328547); + continue; + end_IL_004a: + break; + } + goto case 6; + IL_036b: + inventoryType2 = InventoryType.ArmoryNeck; + num = 1686328552; + goto IL_004a; + IL_0351: + inventoryType2 = InventoryType.ArmoryHead; + num = 1686328552; + goto IL_004a; + IL_0301: + inventoryType2 = InventoryType.ArmoryEar; + num = 1686328552; + goto IL_004a; + IL_02db: + inventoryType2 = InventoryType.ArmoryHands; + num = 1686328552; + goto IL_004a; + IL_029d: + inventoryType2 = InventoryType.ArmorySoulCrystal; + num = 1686328552; + goto IL_004a; + IL_0271: + inventoryType2 = InventoryType.ArmoryWrist; + num = 1686328552; + goto IL_004a; + IL_0259: + inventoryType2 = null; + num = 1686328552; + goto IL_004a; + IL_022c: + inventoryType2 = InventoryType.ArmoryOffHand; + num = 1686328552; + goto IL_004a; + IL_01d1: + inventoryType2 = InventoryType.ArmoryBody; + num = 1686328552; + goto IL_004a; + IL_018d: + inventoryType2 = InventoryType.ArmoryFeets; + num = 1686328552; + goto IL_004a; + IL_0147: + inventoryType2 = InventoryType.ArmoryMainHand; + num = 1686328552; + goto IL_004a; + IL_0106: + inventoryType2 = InventoryType.ArmoryRings; + num = 1686328552; + goto IL_004a; + } + } +} diff --git a/LLib/LLib.Gear/EItemRankingMode.cs b/LLib/LLib.Gear/EItemRankingMode.cs new file mode 100644 index 00000000..6d569b99 --- /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 00000000..9e9c7bf6 --- /dev/null +++ b/LLib/LLib.Gear/EquipmentSlots.cs @@ -0,0 +1,58 @@ +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(); + int num = ((ptr != null) ? (-579848400) : (-579848397)); + while (true) + { + int num2 = num; + int num3 = -579848398; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return null; + case 2: + return ptr->GetInventoryContainer(InventoryType.EquippedItems); + } + continue; + IL_0049: + num = -579848397; + } + } + + public unsafe static bool TryGetEquippedItem(InventoryContainer* container, int slotIndex, out InventoryItem* item) + { + item = container->GetInventorySlot(slotIndex); + int num = ((item == null) ? 365336456 : 365336459); + while (true) + { + int num2 = num; + int num3 = 365336458; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004d; + case 2: + return false; + case 1: + return item->ItemId != 0; + } + continue; + IL_004d: + num = 365336459; + } + } +} diff --git a/LLib/LLib.Gear/EquipmentStats.cs b/LLib/LLib.Gear/EquipmentStats.cs index b87d3833..c18a75a3 100644 --- a/LLib/LLib.Gear/EquipmentStats.cs +++ b/LLib/LLib.Gear/EquipmentStats.cs @@ -1,25 +1,20 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; namespace LLib.Gear; public sealed record EquipmentStats(Dictionary Stats, byte MateriaCount) { - private sealed class KeyValuePairComparer : IEqualityComparer> + [CompilerGenerated] + private Type EqualityContract { - public bool Equals(KeyValuePair x, KeyValuePair y) + [CompilerGenerated] + get { - 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); + return _206D_200D_202A_206A_206A_206A_200F_202C_202C_202D_206D_206F_206C_200D_200C_206C_202D_202E_202B_206E_202B_202B_202D_206C_200C_200F_202E_206D_200B_202E_200B_206E_202D_202A_200D_200B_200C_206B_200E_200D_202E(typeof(EquipmentStats).TypeHandle); } } @@ -31,19 +26,79 @@ public sealed record EquipmentStats(Dictionary Stats, byte public short GetEquipment(EBaseParam param) { Stats.TryGetValue(param, out StatInfo value); - return value?.EquipmentValue ?? 0; + int num = (((object)value != null) ? (-1344068202) : (-1344068203)); + while (true) + { + int num2 = num; + int num3 = -1344068204; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0052; + case 1: + return 0; + case 2: + return value.EquipmentValue; + } + continue; + IL_0052: + num = -1344068203; + } } public short GetMateria(EBaseParam param) { Stats.TryGetValue(param, out StatInfo value); - return value?.MateriaValue ?? 0; + int num = (((object)value != null) ? 1796035726 : 1796035727); + while (true) + { + int num2 = num; + int num3 = 1796035726; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0052; + case 0: + return value.MateriaValue; + case 1: + return 0; + } + continue; + IL_0052: + num = 1796035727; + } } public bool IsOvercapped(EBaseParam param) { Stats.TryGetValue(param, out StatInfo value); - return value?.Overcapped ?? false; + int num = (((object)value != null) ? 1825983400 : 1825983403); + while (true) + { + int num2 = num; + int num3 = 1825983401; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0052; + case 1: + return value.Overcapped; + case 2: + return false; + } + continue; + IL_0052: + num = 1825983403; + } } public bool Has(EBaseParam substat) @@ -58,15 +113,197 @@ public sealed record EquipmentStats(Dictionary Stats, byte public bool Equals(EquipmentStats? other) { - if (other != null && MateriaCount == other.MateriaCount) + int num = ((other == null) ? 948419368 : 948419369); + StatInfo statInfo = default(StatInfo); + StatInfo value2 = default(StatInfo); + while (true) { - return Stats.SequenceEqual(other.Stats, new KeyValuePairComparer()); + int num2 = num; + int num3 = 948419368; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 948419369; + break; + case 1: + num = ((MateriaCount != other.MateriaCount) ? 948419368 : 948419372); + break; + case 4: + num = ((Stats.Count == other.Stats.Count) ? 948419370 : 948419368); + break; + case 0: + return false; + case 2: + { + using (Dictionary.Enumerator enumerator = Stats.GetEnumerator()) + { + num = -2102937561; + while (true) + { + int num7 = num; + num3 = -2102937566; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 3: + return false; + case 2: + num = (_202B_206A_200D_206F_202E_202A_200C_200F_200D_202D_202B_202B_200C_202E_200B_202B_206A_200E_200F_206C_202D_202B_200C_200D_206E_206A_206B_200D_202C_206E_202C_202D_206F_202E_202A_202A_200C_206A_202B_202C_202E((object)statInfo, (object)value2) ? (-2102937561) : (-2102937567)); + break; + case 5: + num = (enumerator.MoveNext() ? (-2102937562) : (-2102937565)); + break; + case 0: + num = -2102937561; + break; + case 4: + { + enumerator.Current.Deconstruct(out var key, out var value); + EBaseParam key2 = key; + statInfo = value; + num = ((!other.Stats.TryGetValue(key2, out value2)) ? (-2102937567) : (-2102937568)); + break; + } + case 1: + goto end_IL_00dc; + } + continue; + end_IL_00dc: + break; + } + } + return true; + } + } } - return false; + } + + bool IEquatable.Equals(EquipmentStats? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); } public override int GetHashCode() { - return HashCode.Combine(MateriaCount, Stats); + int num = MateriaCount.GetHashCode(); + using Dictionary.Enumerator enumerator = Stats.GetEnumerator(); + int num2 = 1490502903; + while (true) + { + int num3 = num2; + int num4 = 1490502902; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 3: + num2 = 1490502903; + break; + case 2: + { + enumerator.Current.Deconstruct(out var key, out var value); + EBaseParam value2 = key; + StatInfo value3 = value; + num ^= HashCode.Combine(value2, value3); + num2 = 1490502903; + break; + } + case 1: + num2 = (enumerator.MoveNext() ? 1490502900 : 1490502902); + break; + case 0: + return num; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206D_200D_206D_206D_200B_200C_206E_200E_206C_200C_206F_206D_202D_206F_202D_202D_200F_202D_206A_202A_206B_206F_202E_206E_200C_206E_202D_202C_202B_200B_200E_200D_202D_200E_202C_206D_202B_206C_202D_202B_202E(); + _206D_202C_202C_200D_200B_202D_206F_206D_206A_200F_202B_200F_206E_202C_206E_206E_200D_202C_206E_206C_206F_202D_202D_202B_206F_202A_202A_202D_200E_206D_200F_206D_206B_206F_202C_200B_206C_202E_202D_200D_202E(stringBuilder, global::_003CModule_003E._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(137609556)); + _206D_202C_202C_200D_200B_202D_206F_206D_206A_200F_202B_200F_206E_202C_206E_206E_200D_202C_206E_206C_206F_202D_202D_202B_206F_202A_202A_202D_200E_206D_200F_206D_206B_206F_202C_200B_206C_202E_202D_200D_202E(stringBuilder, global::_003CModule_003E._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(1808631505)); + int num = ((!PrintMembers(stringBuilder)) ? (-1401190179) : (-1401190180)); + while (true) + { + int num2 = num; + int num3 = -1401190179; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _200C_206A_202D_200E_200F_200E_200C_202A_200E_200E_206B_202A_202A_206B_202B_206E_202D_202D_206A_206A_202C_206D_206B_200F_206A_200F_202D_200D_202C_200F_200F_200F_206A_206A_206C_206C_200E_200F_200D_206B_202E(stringBuilder, '}'); + return _202E_200B_206C_202B_206C_200C_202E_206E_206B_206D_202B_202C_202D_202C_206B_202B_206E_202B_202D_206E_206C_200C_202A_206C_206F_206F_202C_200F_200C_200F_202B_206A_206A_202E_202E_202A_200D_202C_202C_202E((object)stringBuilder); + case 1: + _200C_206A_202D_200E_200F_200E_200C_202A_200E_200E_206B_202A_202A_206B_202B_206E_202D_202D_206A_206A_202C_206D_206B_200F_206A_200F_202D_200D_202C_200F_200F_200F_206A_206A_206C_206C_200E_200F_200D_206B_202E(stringBuilder, ' '); + num = -1401190179; + break; + case 2: + num = -1401190180; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_202B_202C_202E_202C_206E_206E_200F_202B_200C_200C_202B_202D_206C_206F_206D_206E_200D_202C_206F_202D_202E_202A_206D_206A_202C_200B_206E_202D_200C_200F_202A_200C_202B_202C_206A_202E_206D_206B_202A_202E(); + _206D_202C_202C_200D_200B_202D_206F_206D_206A_200F_202B_200F_206E_202C_206E_206E_200D_202C_206E_206C_206F_202D_202D_202B_206F_202A_202A_202D_200E_206D_200F_206D_206B_206F_202C_200B_206C_202E_202D_200D_202E(builder, global::_003CModule_003E._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(-716646928)); + _200E_202D_206A_200C_206A_200D_202A_200F_200C_206E_202B_206A_200D_206D_206F_206A_206B_206C_206C_202B_206D_200F_200D_200D_200C_206F_200D_200E_206A_206E_200F_202A_202B_200B_206B_206E_202C_200C_200D_202E_202E(builder, (object)Stats); + _206D_202C_202C_200D_200B_202D_206F_206D_206A_200F_202B_200F_206E_202C_206E_206E_200D_202C_206E_206C_206F_202D_202D_202B_206F_202A_202A_202D_200E_206D_200F_206D_206B_206F_202C_200B_206C_202E_202D_200D_202E(builder, global::_003CModule_003E._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(-88604916)); + _206D_202C_202C_200D_200B_202D_206F_206D_206A_200F_202B_200F_206E_202C_206E_206E_200D_202C_206E_206C_206F_202D_202D_202B_206F_202A_202A_202D_200E_206D_200F_206D_206B_206F_202C_200B_206C_202E_202D_200D_202E(builder, MateriaCount.ToString()); + return true; + } + + static Type _206D_200D_202A_206A_206A_206A_200F_202C_202C_202D_206D_206F_206C_200D_200C_206C_202D_202E_202B_206E_202B_202B_202D_206C_200C_200F_202E_206D_200B_202E_200B_206E_202D_202A_200D_200B_200C_206B_200E_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _202B_206A_200D_206F_202E_202A_200C_200F_200D_202D_202B_202B_200C_202E_200B_202B_206A_200E_200F_206C_202D_202B_200C_200D_206E_206A_206B_200D_202C_206E_202C_202D_206F_202E_202A_202A_200C_206A_202B_202C_202E(object P_0, object P_1) + { + return object.Equals(P_0, P_1); + } + + static StringBuilder _206D_200D_206D_206D_200B_200C_206E_200E_206C_200C_206F_206D_202D_206F_202D_202D_200F_202D_206A_202A_206B_206F_202E_206E_200C_206E_202D_202C_202B_200B_200E_200D_202D_200E_202C_206D_202B_206C_202D_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206D_202C_202C_200D_200B_202D_206F_206D_206A_200F_202B_200F_206E_202C_206E_206E_200D_202C_206E_206C_206F_202D_202D_202B_206F_202A_202A_202D_200E_206D_200F_206D_206B_206F_202C_200B_206C_202E_202D_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200C_206A_202D_200E_200F_200E_200C_202A_200E_200E_206B_202A_202A_206B_202B_206E_202D_202D_206A_206A_202C_206D_206B_200F_206A_200F_202D_200D_202C_200F_200F_200F_206A_206A_206C_206C_200E_200F_200D_206B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202E_200B_206C_202B_206C_200C_202E_206E_206B_206D_202B_202C_202D_202C_206B_202B_206E_202B_202D_206E_206C_200C_202A_206C_206F_206F_202C_200F_200C_200F_202B_206A_206A_202E_202E_202A_200D_202C_202C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206C_202B_202C_202E_202C_206E_206E_200F_202B_200C_200C_202B_202D_206C_206F_206D_206E_200D_202C_206F_202D_202E_202A_206D_206A_202C_200B_206E_202D_200C_200F_202A_200C_202B_202C_206A_202E_206D_206B_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200E_202D_206A_200C_206A_200D_202A_200F_200C_206E_202B_206A_200D_206D_206F_206A_206B_206C_206C_202B_206D_200F_200D_200D_200C_206F_200D_200E_206A_206E_200F_202A_202B_200B_206B_206E_202C_200C_200D_202E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); } } diff --git a/LLib/LLib.Gear/ExtendedBaseParam.cs b/LLib/LLib.Gear/ExtendedBaseParam.cs index 31ecdd8d..45f0e7f4 100644 --- a/LLib/LLib.Gear/ExtendedBaseParam.cs +++ b/LLib/LLib.Gear/ExtendedBaseParam.cs @@ -27,15 +27,47 @@ public readonly struct ExtendedBaseParam : IExcelRow private static ushort EquipSlotCategoryPctCtor(ExcelPage page, uint parentOffset, uint offset, uint i) { - if (i != 0) + int num = ((i == 0) ? 1726719508 : 1726719511); + while (true) { - return page.ReadUInt16(offset + 8 + (i - 1) * 2); + int num2 = num; + int num3 = 1726719510; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0043; + case 2: + return 0; + case 1: + { + num3 = 8; + num4 = (int)offset; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + int num9 = num7 + (num8 + num8); + num3 = 1; + num4 = (int)i; + num3 = ~(~num4 + num3) * 2; + num4 = num9; + return _206B_202D_206F_202C_206F_202A_206D_202D_202E_206C_206D_206A_200D_200F_206B_200D_200E_202D_206F_206A_202C_200F_206B_200B_200B_200E_200C_202D_206E_200C_206E_206E_200E_200B_202A_202E_202B_206A_206A_206F_202E(page, (nuint)(uint)((num4 | num3) + (num4 & num3))); + } + } + continue; + IL_0043: + num = 1726719511; } - return 0; } public static ExtendedBaseParam Create(ExcelPage page, uint offset, uint row) { return new ExtendedBaseParam(page, offset, row); } + + static ushort _206B_202D_206F_202C_206F_202A_206D_202D_202E_206C_206D_206A_200D_200F_206B_200D_200E_202D_206F_206A_202C_200F_206B_200B_200B_200E_200C_202D_206E_200C_206E_206E_200E_200B_202A_202E_202B_206A_206A_206F_202E(ExcelPage P_0, nuint P_1) + { + return P_0.ReadUInt16(P_1); + } } diff --git a/LLib/LLib.Gear/ExtractActions.cs b/LLib/LLib.Gear/ExtractActions.cs new file mode 100644 index 00000000..6be6a603 --- /dev/null +++ b/LLib/LLib.Gear/ExtractActions.cs @@ -0,0 +1,163 @@ +using System.Runtime.CompilerServices; +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(); + int num = ((ptr != null) ? 1517753475 : 1517753472); + while (true) + { + int num2 = num; + int num3 = 1517753473; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return ptr->UseAction(ActionType.GeneralAction, 14u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + case 1: + return false; + } + continue; + IL_004b: + num = 1517753472; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsExtractionAddonReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon(global::_003CModule_003E._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(1975097749), out addonPtr); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryExtractFirst(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(-1577561758), out addonPtr) ? 1656734997 : 1656734996); + while (true) + { + int num2 = num; + int num3 = 1656734997; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + AddonCallback.FireWithUpdate(addonPtr, 2, 0); + return true; + case 1: + return false; + case 2: + goto IL_0068; + } + continue; + IL_0068: + num = 1656734996; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsConfirmDialogReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon(global::_003CModule_003E._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(1781947130), out addonPtr); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryConfirmExtraction(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(839489786), out addonPtr) ? (-1818884272) : (-1818884269)); + while (true) + { + int num2 = num; + int num3 = -1818884271; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 2: + return false; + case 1: + AddonCallback.Fire(addonPtr, default(int)); + return true; + } + continue; + IL_0052: + num = -1818884269; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TrySwitchCategory(IGameGui gameGui, int category) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(1975097749), out addonPtr) ? (-1576577779) : (-1576577778)); + while (true) + { + int num2 = num; + int num3 = -1576577780; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + AddonCallback.Fire(addonPtr, 1, category); + return true; + case 2: + return false; + case 0: + goto IL_006a; + } + continue; + IL_006a: + num = -1576577778; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryCloseExtractionWindow(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(1686317250), out addonPtr) ? 930280316 : 930280319); + while (true) + { + int num2 = num; + int num3 = 930280317; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 2: + return false; + case 1: + AddonCallback.Fire(addonPtr, -1); + return true; + } + continue; + IL_0052: + num = 930280319; + } + } + + 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 00000000..02f80a8d --- /dev/null +++ b/LLib/LLib.Gear/GearConditionHelper.cs @@ -0,0 +1,352 @@ +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(); + int num = ((equippedContainer != null) ? 136938409 : 136938411); + int? result = default(int?); + int num9 = default(int); + int num8 = default(int); + InventoryItem* item = default(InventoryItem*); + while (true) + { + int num2 = num; + int num3 = 136938412; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 10: + return result; + case 8: + result = num9; + num = 136938405; + break; + case 4: + num = ((num8 == 5) ? 136938405 : 136938410); + break; + case 7: + return null; + case 6: + num = ((!EquipmentSlots.TryGetEquippedItem(equippedContainer, num8, out item)) ? 136938405 : 136938414); + break; + case 1: + num = ((num9 >= result.Value) ? 136938405 : 136938404); + break; + case 2: + num9 = item->Condition * 100 / 30000; + num = ((!result.HasValue) ? 136938404 : 136938413); + break; + case 5: + result = null; + num8 = 0; + num = 136938415; + break; + case 3: + num = ((num8 < 13) ? 136938408 : 136938406); + break; + case 0: + num = 136938411; + break; + case 9: + { + int num7 = num8; + num3 = 1; + num4 = num7; + num8 = (num4 | num3) + (num4 & num3); + num = 136938415; + break; + } + } + } + } + + public unsafe static List GetAllSlotConditions() + { + List list = new List(13); + InventoryContainer* equippedContainer = EquipmentSlots.GetEquippedContainer(); + int num = ((equippedContainer != null) ? 1727066767 : 1727066762); + int num5 = default(int); + InventoryItem* item = default(InventoryItem*); + while (true) + { + int num2 = num; + int num3 = 1727066761; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = ((num5 < 13) ? 1727066764 : 1727066763); + break; + case 6: + num5 = 0; + num = 1727066765; + break; + case 3: + return list; + case 8: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = 1727066765; + break; + } + case 7: + list.Add(new SlotCondition(num5, item->ItemId, item->Condition * 100 / 30000)); + num = 1727066753; + break; + case 5: + num = ((num5 == 5) ? 1727066753 : 1727066760); + break; + case 0: + num = 1727066762; + break; + case 1: + num = ((!EquipmentSlots.TryGetEquippedItem(equippedContainer, num5, out item)) ? 1727066753 : 1727066766); + break; + case 2: + return list; + } + } + } + + public unsafe static bool HasSpiritbondReadyItem(bool includeBags = false) + { + InventoryContainer* equippedContainer = EquipmentSlots.GetEquippedContainer(); + int num = ((equippedContainer == null) ? 566966460 : 566966456); + int num5 = default(int); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + int num6 = default(int); + InventoryItem* item = default(InventoryItem*); + InventoryType inventoryType = default(InventoryType); + InventoryItem* inventorySlot = default(InventoryItem*); + InventoryManager* ptr = default(InventoryManager*); + while (true) + { + int num2 = num; + int num3 = 566966450; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 15: + num = ((num5 < inventoryContainer->Size) ? 566966433 : 566966438); + break; + case 14: + num = (includeBags ? 566966451 : 566966463); + break; + case 4: + num = ((!EquipmentSlots.TryGetEquippedItem(equippedContainer, num6, out item)) ? 566966442 : 566966449); + break; + case 24: + { + int num8 = num6; + num3 = 1; + num4 = num8; + num6 = (num4 | num3) + (num4 & num3); + num = 566966452; + break; + } + case 5: + { + int num7 = num5; + num3 = 1; + num4 = num7; + num5 = (num4 | num3) + (num4 & num3); + num = 566966461; + break; + } + case 7: + num5 = 0; + num = 566966461; + break; + case 18: + num = 566966456; + break; + case 3: + num = ((item->SpiritbondOrCollectability < 10000) ? 566966442 : 566966458); + break; + case 10: + num6 = 0; + num = 566966452; + break; + case 6: + num = ((num6 < 13) ? 566966459 : 566966460); + break; + case 20: + inventoryType++; + num = 566966439; + break; + case 12: + num = (((inventorySlot->Flags & InventoryItem.ItemFlags.Collectable) != InventoryItem.ItemFlags.None) ? 566966455 : 566966457); + break; + case 19: + inventorySlot = inventoryContainer->GetInventorySlot(num5); + num = ((inventorySlot == null) ? 566966455 : 566966434); + break; + case 2: + return false; + case 8: + return true; + case 17: + inventoryContainer = ptr->GetInventoryContainer(inventoryType); + num = ((inventoryContainer == null) ? 566966438 : 566966453); + break; + case 11: + num = ((inventorySlot->SpiritbondOrCollectability < 10000) ? 566966455 : 566966437); + break; + case 23: + return true; + case 22: + return false; + case 13: + return false; + case 16: + num = ((inventorySlot->ItemId == 0) ? 566966455 : 566966462); + break; + case 21: + num = ((inventoryType <= InventoryType.Inventory4) ? 566966435 : 566966436); + break; + case 9: + num = ((num6 == 5) ? 566966442 : 566966454); + break; + case 0: + inventoryType = InventoryType.Inventory1; + num = 566966439; + break; + case 1: + ptr = InventoryManager.Instance(); + num = ((ptr != null) ? 566966450 : 566966448); + break; + } + } + } + + public unsafe static int? GetLowestSpiritbondPercent() + { + InventoryContainer* equippedContainer = EquipmentSlots.GetEquippedContainer(); + int num = ((equippedContainer != null) ? 1500996181 : 1500996188); + int? result = default(int?); + int num8 = default(int); + int num7 = default(int); + InventoryItem* item = default(InventoryItem*); + while (true) + { + int num2 = num; + int num3 = 1500996182; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = 1500996188; + break; + case 6: + result = num8; + num = 1500996183; + break; + case 9: + num = ((num7 < 13) ? 1500996177 : 1500996180); + break; + case 10: + return null; + case 0: + num = ((!EquipmentSlots.TryGetEquippedItem(equippedContainer, num7, out item)) ? 1500996183 : 1500996190); + break; + case 5: + num = ((num8 >= result.Value) ? 1500996183 : 1500996176); + break; + case 1: + { + int num9 = num7; + num3 = 1; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num7 = num10 + (num11 + num11); + num = 1500996191; + break; + } + case 8: + num8 = item->SpiritbondOrCollectability * 100 / 10000; + num = ((!result.HasValue) ? 1500996176 : 1500996179); + break; + case 7: + num = ((num7 == 5) ? 1500996183 : 1500996182); + break; + case 2: + return result; + case 3: + result = null; + num7 = 0; + num = 1500996191; + break; + } + } + } + + public unsafe static List GetAllSpiritbondInfo() + { + List list = new List(13); + InventoryContainer* equippedContainer = EquipmentSlots.GetEquippedContainer(); + int num = ((equippedContainer != null) ? 818481642 : 818481641); + int num5 = default(int); + InventoryItem* item = default(InventoryItem*); + while (true) + { + int num2 = num; + int num3 = 818481643; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = ((!EquipmentSlots.TryGetEquippedItem(equippedContainer, num5, out item)) ? 818481647 : 818481643); + break; + case 7: + num = ((num5 == 5) ? 818481647 : 818481646); + break; + case 1: + num5 = 0; + num = 818481645; + break; + case 4: + { + int num6 = num5; + num3 = 1; + num4 = num6; + num5 = (num4 | num3) + (num4 & num3); + num = 818481645; + break; + } + case 8: + return list; + case 2: + return list; + case 6: + num = ((num5 < 13) ? 818481644 : 818481635); + break; + case 0: + list.Add(new SlotSpiritbond(num5, item->ItemId, item->SpiritbondOrCollectability * 100 / 10000, item->SpiritbondOrCollectability >= 10000)); + num = 818481647; + break; + case 3: + num = 818481641; + break; + } + } + } +} diff --git a/LLib/LLib.Gear/GearFeatures.cs b/LLib/LLib.Gear/GearFeatures.cs new file mode 100644 index 00000000..b77fff9e --- /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 b63fba64..f96528ad 100644 --- a/LLib/LLib.Gear/GearStatsCalculator.cs +++ b/LLib/LLib.Gear/GearStatsCalculator.cs @@ -1,6 +1,9 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using Lumina.Excel; @@ -10,15 +13,236 @@ namespace LLib.Gear; public sealed class GearStatsCalculator { - private sealed record MateriaInfo(EBaseParam BaseParam, Collection Values, bool HasItem); + private sealed record MateriaInfo(EBaseParam BaseParam, Collection Values, bool HasItem) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_200E_202C_202C_206A_206B_206F_202B_200B_206C_202A_206A_206E_202C_206C_206B_202A_200E_202D_202C_200C_206B_206A_202B_202D_200F_206F_202A_206F_202D_200B_202E_200B_200D_206F_206B_202B_200D_206F_202B_202E(typeof(MateriaInfo).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200E_206B_206B_202B_200C_200E_206C_202E_202C_202D_202B_202A_206E_202E_200C_206F_202A_202E_206F_206A_202C_206D_202B_200D_206E_200D_202A_202B_206D_202E_206F_206F_202A_206D_206F_200E_200B_202B_206D_206C_202E(); + _206A_206C_200F_200C_202A_202E_200D_202E_206E_206C_200B_206D_202A_200B_200B_206E_200B_206C_206B_200C_200C_206E_206D_200B_206C_202B_202E_206E_206B_202C_206A_200D_200F_206A_200F_206A_200B_200C_206F_206D_202E(stringBuilder, global::_003CModule_003E._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(-451610657)); + _206A_206C_200F_200C_202A_202E_200D_202E_206E_206C_200B_206D_202A_200B_200B_206E_200B_206C_206B_200C_200C_206E_206D_200B_206C_202B_202E_206E_206B_202C_206A_200D_200F_206A_200F_206A_200B_200C_206F_206D_202E(stringBuilder, global::_003CModule_003E._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(1808631505)); + int num = ((!PrintMembers(stringBuilder)) ? 3927346 : 3927345); + while (true) + { + int num2 = num; + int num3 = 3927347; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _202B_202B_202D_202C_200B_206A_202A_200C_202E_206E_200C_202C_200D_202E_202A_202B_200B_200B_202A_200D_206B_202E_206B_206F_200C_200C_202D_206F_200B_200B_206D_206A_206B_202C_206B_200D_206C_202A_202C_202A_202E(stringBuilder, '}'); + return _200D_200C_206A_202A_206D_206E_200D_200B_200D_202C_202A_202E_206D_200F_206D_206A_202C_206D_200D_206D_206D_200E_200D_202C_202D_200B_202B_206A_202D_200D_206B_206E_206E_202E_206F_206B_202A_202C_206E_202B_202E((object)stringBuilder); + case 2: + _202B_202B_202D_202C_200B_206A_202A_200C_202E_206E_200C_202C_200D_202E_202A_202B_200B_200B_202A_200D_206B_202E_206B_206F_200C_200C_202D_206F_200B_200B_206D_206A_206B_202C_206B_200D_206C_202A_202C_202A_202E(stringBuilder, ' '); + num = 3927346; + break; + case 0: + num = 3927345; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_206B_200D_206D_202C_206F_206E_200F_200E_206E_200C_200D_200F_206B_206A_206A_206C_202B_200D_200C_202B_200D_206A_200C_206D_200F_202D_206F_206C_206B_206C_206B_202E_202B_200B_206D_200E_206F_202A_202E_202E(); + _206A_206C_200F_200C_202A_202E_200D_202E_206E_206C_200B_206D_202A_200B_200B_206E_200B_206C_206B_200C_200C_206E_206D_200B_206C_202B_202E_206E_206B_202C_206A_200D_200F_206A_200F_206A_200B_200C_206F_206D_202E(builder, global::_003CModule_003E._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(-1366977224)); + _206A_206C_200F_200C_202A_202E_200D_202E_206E_206C_200B_206D_202A_200B_200B_206E_200B_206C_206B_200C_200C_206E_206D_200B_206C_202B_202E_206E_206B_202C_206A_200D_200F_206A_200F_206A_200B_200C_206F_206D_202E(builder, BaseParam.ToString()); + _206A_206C_200F_200C_202A_202E_200D_202E_206E_206C_200B_206D_202A_200B_200B_206E_200B_206C_206B_200C_200C_206E_206D_200B_206C_202B_202E_206E_206B_202C_206A_200D_200F_206A_200F_206A_200B_200C_206F_206D_202E(builder, global::_003CModule_003E._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(-629506369)); + _206A_206C_200F_200C_202A_202E_200D_202E_206E_206C_200B_206D_202A_200B_200B_206E_200B_206C_206B_200C_200C_206E_206D_200B_206C_202B_202E_206E_206B_202C_206A_200D_200F_206A_200F_206A_200B_200C_206F_206D_202E(builder, Values.ToString()); + _206A_206C_200F_200C_202A_202E_200D_202E_206E_206C_200B_206D_202A_200B_200B_206E_200B_206C_206B_200C_200C_206E_206D_200B_206C_202B_202E_206E_206B_202C_206A_200D_200F_206A_200F_206A_200B_200C_206F_206D_202E(builder, global::_003CModule_003E._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(2080820800)); + _206A_206C_200F_200C_202A_202E_200D_202E_206E_206C_200B_206D_202A_200B_200B_206E_200B_206C_206B_200C_200C_206E_206D_200B_206C_202B_202E_206E_206B_202C_206A_200D_200F_206A_200F_206A_200B_200C_206F_206D_202E(builder, HasItem.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(MateriaInfo? other) + { + int num = (((object)this == other) ? 217201442 : 217201446); + while (true) + { + int num2 = num; + int num3 = 217201441; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = ((!_206D_202A_206F_202A_202D_206D_206B_206C_206B_206D_200E_206C_202B_200E_206D_200D_202C_206B_206C_200C_200B_202E_200E_200E_206F_206F_206C_200F_200F_206F_206E_206D_202D_202E_200C_202B_206C_206A_200F_202C_202E(EqualityContract, other.EqualityContract)) ? 217201441 : 217201445); + break; + case 7: + num = (((object)other == null) ? 217201441 : 217201440); + break; + case 3: + return true; + case 5: + num = 217201446; + break; + case 0: + return false; + case 4: + num = ((!EqualityComparer.Default.Equals(BaseParam, other.BaseParam)) ? 217201441 : 217201443); + break; + case 2: + num = ((!EqualityComparer>.Default.Equals(Values, other.Values)) ? 217201441 : 217201447); + break; + case 6: + return EqualityComparer.Default.Equals(HasItem, other.HasItem); + } + } + } + + bool IEquatable.Equals(MateriaInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_200E_202C_202C_206A_206B_206F_202B_200B_206C_202A_206A_206E_202C_206C_206B_202A_200E_202D_202C_200C_206B_206A_202B_202D_200F_206F_202A_206F_202D_200B_202E_200B_200D_206F_206B_202B_200D_206F_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200E_206B_206B_202B_200C_200E_206C_202E_202C_202D_202B_202A_206E_202E_200C_206F_202A_202E_206F_206A_202C_206D_202B_200D_206E_200D_202A_202B_206D_202E_206F_206F_202A_206D_206F_200E_200B_202B_206D_206C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206A_206C_200F_200C_202A_202E_200D_202E_206E_206C_200B_206D_202A_200B_200B_206E_200B_206C_206B_200C_200C_206E_206D_200B_206C_202B_202E_206E_206B_202C_206A_200D_200F_206A_200F_206A_200B_200C_206F_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202B_202B_202D_202C_200B_206A_202A_200C_202E_206E_200C_202C_200D_202E_202A_202B_200B_200B_202A_200D_206B_202E_206B_206F_200C_200C_202D_206F_200B_200B_206D_206A_206B_202C_206B_200D_206C_202A_202C_202A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200D_200C_206A_202A_206D_206E_200D_200B_200D_202C_202A_202E_206D_200F_206D_206A_202C_206D_200D_206D_206D_200E_200D_202C_202D_200B_202B_206A_202D_200D_206B_206E_206E_202E_206F_206B_202A_202C_206E_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202E_206B_200D_206D_202C_206F_206E_200F_200E_206E_200C_200D_200F_206B_206A_206A_206C_202B_200D_200C_202B_200D_206A_200C_206D_200F_202D_206F_206C_206B_206C_206B_202E_202B_200B_206D_200E_206F_202A_202E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _206D_202A_206F_202A_202D_206D_206B_206C_206B_206D_200E_206C_202B_200E_206D_200D_202C_206B_206C_200C_200B_202E_200E_200E_206F_206F_206C_200F_200F_206F_206E_206D_202D_202E_200C_202B_206C_206A_200F_202C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func> _003C_003E9__7_0; + + public static Func<(EBaseParam, int y, ushort), (EBaseParam, int)> _003C_003E9__7_1; + + public static Func<(EBaseParam, int y, ushort), ushort> _003C_003E9__7_2; + + public static Func _003C_003E9__7_3; + + public static Func _003C_003E9__7_4; + + public static Func _003C_003E9__7_5; + + internal IEnumerable<(EBaseParam, int y, ushort)> _003C_002Ector_003Eb__7_0(ExtendedBaseParam x) + { + _003C_003Ec__DisplayClass7_0 CS_0024_003C_003E8__locals3 = new _003C_003Ec__DisplayClass7_0 + { + x = x + }; + return from y in _202E_202C_202D_206C_200D_200C_206B_200C_206E_202A_206F_202E_206C_200E_206F_200D_202E_206F_202C_206F_200B_206C_206F_206C_206D_202D_202A_202E_202E_206E_206E_202A_206B_202B_202D_206F_202E_206B_202E_202C_202E(0, CS_0024_003C_003E8__locals3.x.EquipSlotCategoryPct.Count) + select ((EBaseParam)CS_0024_003C_003E8__locals3.x.RowId, y: y, CS_0024_003C_003E8__locals3.x.EquipSlotCategoryPct[y]); + } + + internal (EBaseParam, int) _003C_002Ector_003Eb__7_1((EBaseParam, int y, ushort) x) + { + return (x.Item1, x.y); + } + + internal ushort _003C_002Ector_003Eb__7_2((EBaseParam, int y, ushort) x) + { + return x.Item3; + } + + internal bool _003C_002Ector_003Eb__7_3(Materia x) + { + int num = ((x.RowId == 0) ? (-1542142344) : (-1542142341)); + while (true) + { + int num2 = num; + int num3 = -1542142343; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004a; + case 2: + return x.BaseParam.RowId != 0; + case 1: + return false; + } + continue; + IL_004a: + num = -1542142341; + } + } + + internal uint _003C_002Ector_003Eb__7_4(Materia x) + { + return x.RowId; + } + + internal MateriaInfo _003C_002Ector_003Eb__7_5(Materia x) + { + return new MateriaInfo((EBaseParam)x.BaseParam.RowId, x.Value, x.Item[0].RowId != 0); + } + + static IEnumerable _202E_202C_202D_206C_200D_200C_206B_200C_206E_202A_206F_202E_206C_200E_206F_200D_202E_206F_202C_206F_200B_206C_206F_206C_206D_202D_202A_202E_202E_206E_206E_202A_206B_202B_202D_206F_202E_206B_202E_202C_202E(int P_0, int P_1) + { + return Enumerable.Range(P_0, P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass7_0 + { + public ExtendedBaseParam x; + + internal (EBaseParam, int y, ushort) _003C_002Ector_003Eb__6(int y) + { + return ((EBaseParam)x.RowId, y: y, x.EquipSlotCategoryPct[y]); + } + } private const uint EternityRingItemId = 8575u; - private static readonly uint[] CanHaveOffhand = new uint[14] - { - 2u, 6u, 8u, 12u, 14u, 16u, 18u, 20u, 22u, 24u, - 26u, 28u, 30u, 32u - }; + private static readonly uint[] CanHaveOffhand; private readonly ExcelSheet _itemSheet; @@ -28,17 +252,19 @@ public sealed class GearStatsCalculator private readonly Dictionary _materiaStats; + [MethodImpl(MethodImplOptions.NoInlining)] public GearStatsCalculator(IDataManager? dataManager) - : this(dataManager?.GetExcelSheet() ?? throw new ArgumentNullException("dataManager"), dataManager.GetExcelSheet(), dataManager.GetExcelSheet(), dataManager.GetExcelSheet()) + : this(dataManager?.GetExcelSheet() ?? throw _202D_206D_206E_202C_200B_200E_206C_202A_200B_200E_206A_200F_200F_202B_206E_200D_206F_200F_200C_206C_200E_200E_206F_200D_202D_206F_206B_206F_202D_200E_206A_200D_202D_200F_206E_200F_206B_206B_200D_206F_202E(global::_003CModule_003E._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(167281534)), dataManager.GetExcelSheet(), dataManager.GetExcelSheet(), dataManager.GetExcelSheet()) { } + [MethodImpl(MethodImplOptions.NoInlining)] public GearStatsCalculator(ExcelSheet itemLevelSheet, ExcelSheet baseParamSheet, ExcelSheet materiaSheet, ExcelSheet itemSheet) { - ArgumentNullException.ThrowIfNull(itemLevelSheet, "itemLevelSheet"); - ArgumentNullException.ThrowIfNull(baseParamSheet, "baseParamSheet"); - ArgumentNullException.ThrowIfNull(materiaSheet, "materiaSheet"); - ArgumentNullException.ThrowIfNull(itemSheet, "itemSheet"); + _202A_202D_206D_206A_200C_202C_200D_202E_202B_206C_206C_206A_200B_200C_200C_206D_202C_200E_206B_206F_202B_200D_206E_206F_202C_200F_202E_206B_200F_202A_202E_202B_200B_206B_200C_200B_206D_202D_206B_206F_202E((object)itemLevelSheet, global::_003CModule_003E._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(-1517214085)); + _202A_202D_206D_206A_200C_202C_200D_202E_202B_206C_206C_206A_200B_200C_200C_206D_202C_200E_206B_206F_202B_200D_206E_206F_202C_200F_202E_206B_200F_202A_202E_202B_200B_206B_200C_200B_206D_202D_206B_206F_202E((object)baseParamSheet, global::_003CModule_003E._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(1818459179)); + _202A_202D_206D_206A_200C_202C_200D_202E_202B_206C_206C_206A_200B_200C_200C_206D_202C_200E_206B_206F_202B_200D_206E_206F_202C_200F_202E_206B_200F_202A_202E_202B_200B_206B_200C_200B_206D_202D_206B_206F_202E((object)materiaSheet, global::_003CModule_003E._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(-1786404470)); + _202A_202D_206D_206A_200C_202C_200D_202E_202B_206C_206C_206A_200B_200C_200C_206D_202C_200E_206B_206F_202B_200D_206E_206F_202C_200F_202E_206B_200F_202A_202E_202B_200B_206B_200C_200B_206D_202D_206B_206F_202E((object)itemSheet, global::_003CModule_003E._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(-1610602393)); _itemSheet = itemSheet; foreach (ItemLevel item in itemLevelSheet) { @@ -65,155 +291,597 @@ public sealed class GearStatsCalculator _itemLevelStatCaps[(item.RowId, EBaseParam.Craftsmanship)] = item.Craftsmanship; _itemLevelStatCaps[(item.RowId, EBaseParam.Control)] = item.Control; } - _equipSlotCategoryPct = baseParamSheet.SelectMany((ExtendedBaseParam x) => from y in Enumerable.Range(0, x.EquipSlotCategoryPct.Count) + _equipSlotCategoryPct = baseParamSheet.SelectMany((ExtendedBaseParam x) => from y in _003C_003Ec._202E_202C_202D_206C_200D_200C_206B_200C_206E_202A_206F_202E_206C_200E_206F_200D_202E_206F_202C_206F_200B_206C_206F_206C_206D_202D_202A_202E_202E_206E_206E_202A_206B_202B_202D_206F_202E_206B_202E_202C_202E(0, x.EquipSlotCategoryPct.Count) select ((EBaseParam)x.RowId, y: y, x.EquipSlotCategoryPct[y])).ToDictionary(((EBaseParam, int y, ushort) x) => (x.Item1, x.y), ((EBaseParam, int y, ushort) x) => x.Item3); - _materiaStats = materiaSheet.Where((Materia x) => x.RowId != 0 && x.BaseParam.RowId != 0).ToDictionary((Materia x) => x.RowId, (Materia x) => new MateriaInfo((EBaseParam)x.BaseParam.RowId, x.Value, x.Item[0].RowId != 0)); + _materiaStats = materiaSheet.Where(delegate(Materia x) + { + int num = ((x.RowId == 0) ? (-1542142344) : (-1542142341)); + while (true) + { + int num2 = num; + int num3 = -1542142343; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004a; + case 2: + return x.BaseParam.RowId != 0; + case 1: + return false; + } + continue; + IL_004a: + num = -1542142341; + } + }).ToDictionary((Materia x) => x.RowId, (Materia x) => new MateriaInfo((EBaseParam)x.BaseParam.RowId, x.Value, x.Item[0].RowId != 0)); } public unsafe EquipmentStats CalculateGearStats(InventoryItem* item) { List<(uint, byte)> list = new List<(uint, byte)>(); byte b = 0; - if (item->ItemId != 8575) + int num = ((item->ItemId == 8575) ? 190071822 : 190071818); + int num11 = default(int); + Item? rowOrDefault = default(Item?); + ushort num10 = default(ushort); + while (true) { - for (int i = 0; i < 5; i++) + int num2 = num; + int num3 = 190071819; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - ushort num = item->Materia[i]; - if (num != 0) + case 6: + { + int num12 = num11; + num3 = 1; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + num11 = num13 + (num14 + num14); + num = 190071820; + break; + } + case 1: + num11 = 0; + num = 190071820; + break; + case 5: + rowOrDefault = _itemSheet.GetRowOrDefault(item->ItemId); + num = (rowOrDefault.HasValue ? 190071817 : 190071819); + break; + case 7: + num = ((num11 < 5) ? 190071811 : 190071822); + break; + case 3: + num = 190071818; + break; + case 8: + num10 = item->Materia[num11]; + num = ((num10 == 0) ? 190071821 : 190071823); + break; + case 0: + return new EquipmentStats(new Dictionary(), 0); + case 2: + return CalculateGearStats(rowOrDefault.Value, _206B_200B_206C_206A_200B_200C_206B_200B_202A_206F_206B_206A_206E_206A_200C_202E_206C_200E_200D_200E_202A_206E_200F_206B_200C_200D_200D_206F_206F_200D_206F_200D_206F_202C_202C_202A_200F_206C_206C_200E_202E((Enum)item->Flags, (Enum)InventoryItem.ItemFlags.HighQuality), list)with { - b++; - list.Add((num, item->MateriaGrades[i])); - } + MateriaCount = b + }; + case 4: + { + byte num7 = b; + num3 = 1; + num4 = num7; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + b = (byte)(num8 + (num9 + num9)); + list.Add((num10, item->MateriaGrades[num11])); + num = 190071821; + break; + } } } - return CalculateGearStats(_itemSheet.GetRow(item->ItemId), item->Flags.HasFlag(InventoryItem.ItemFlags.HighQuality), list)with - { - MateriaCount = b - }; } + [MethodImpl(MethodImplOptions.NoInlining)] public EquipmentStats CalculateGearStats(Item item, bool highQuality, IReadOnlyList<(uint MateriaId, byte Grade)> materias) { - ArgumentNullException.ThrowIfNull(materias, "materias"); + _202A_202D_206D_206A_200C_202C_200D_202E_202B_206C_206C_206A_200B_200C_200C_206D_202C_200E_206B_206F_202B_200D_206E_206F_202C_200F_202E_206B_200F_202A_202E_202B_200B_206B_200C_200B_206D_202D_206B_206F_202E((object)materias, global::_003CModule_003E._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(-6679386)); Dictionary dictionary = new Dictionary(); - for (int i = 0; i < item.BaseParam.Count; i++) + int num = ((item.DamagePhys <= 0) ? (-1164820612) : (-1164820623)); + int num12 = default(int); + int num11 = default(int); + MateriaInfo value = default(MateriaInfo); + (uint, byte) current = default((uint, byte)); + while (true) { - AddEquipmentStat(dictionary, item.BaseParam[i], item.BaseParamValue[i]); - } - if (highQuality) - { - for (int j = 0; j < item.BaseParamSpecial.Count; j++) + int num2 = num; + int num3 = -1164820618; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - AddEquipmentStat(dictionary, item.BaseParamSpecial[j], item.BaseParamValueSpecial[j]); + case 3: + num12 = 0; + num = -1164820618; + break; + case 4: + { + AddEquipmentStat(dictionary, item.BaseParam[num12], item.BaseParamValue[num12]); + int num13 = num12; + num3 = 1; + num4 = num13; + num12 = (num4 | num3) + (num4 & num3); + num = -1164820618; + break; + } + case 5: + dictionary[EBaseParam.DamageMag] = new StatInfo((short)item.DamageMag, 0, Overcapped: false); + num = -1164820619; + break; + case 6: + { + AddEquipmentStat(dictionary, item.BaseParamSpecial[num11], item.BaseParamValueSpecial[num11]); + int num14 = num11; + num3 = 1; + num4 = num14; + num11 = (num4 | num3) + (num4 & num3); + num = -1164820620; + break; + } + case 10: + num = ((item.DamageMag <= 0) ? (-1164820619) : (-1164820621)); + break; + case 1: + num11 = 0; + num = -1164820620; + break; + case 8: + num = ((!highQuality) ? (-1164820611) : (-1164820617)); + break; + case 7: + dictionary[EBaseParam.DamagePhys] = new StatInfo((short)item.DamagePhys, 0, Overcapped: false); + num = -1164820612; + break; + case 0: + num = ((num12 < item.BaseParam.Count) ? (-1164820622) : (-1164820610)); + break; + case 9: + num = -1164820623; + break; + case 2: + num = ((num11 < item.BaseParamSpecial.Count) ? (-1164820624) : (-1164820611)); + break; + case 11: + { + IEnumerator<(uint, byte)> enumerator = materias.GetEnumerator(); + try + { + num = -1326444285; + while (true) + { + int num5 = num; + num3 = -1326444286; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 1: + num = (_202E_202E_202D_206D_206F_202E_202C_200F_200C_202B_206C_200D_200E_202B_202E_202E_202E_206F_202B_206A_200E_202B_202A_206C_206E_206C_206B_200C_202B_206D_202A_202D_206E_200B_202A_202A_206A_200B_202B_202E((IEnumerator)enumerator) ? (-1326444287) : (-1326444286)); + break; + case 2: + AddMateriaStat(item, dictionary, value, current.Item2); + num = -1326444285; + break; + case 3: + current = enumerator.Current; + num = ((!_materiaStats.TryGetValue(current.Item1, out value)) ? (-1326444285) : (-1326444288)); + break; + case 4: + num = -1326444285; + break; + case 0: + goto end_IL_0238; + } + continue; + end_IL_0238: + break; + } + } + finally + { + num = ((enumerator == null) ? (-851721026) : (-851721027)); + while (true) + { + int num8 = num; + num3 = -851721025; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 1: + goto end_IL_0319; + case 2: + _202B_202D_200E_206F_202E_200D_202E_200B_202E_202C_202E_206E_206F_206C_200F_200C_202C_202D_206C_202E_200D_202E_200B_206D_200D_200D_206C_202E_206E_206C_202E_206C_202B_202B_202B_202D_206E_200E_200C_206D_202E((IDisposable)enumerator); + num = -851721026; + break; + case 0: + num = -851721027; + break; + } + continue; + end_IL_0319: + break; + } + } + return new EquipmentStats(dictionary, 0); + } } } - foreach (var materia in materias) - { - if (_materiaStats.TryGetValue(materia.MateriaId, out MateriaInfo value)) - { - AddMateriaStat(item, dictionary, value, materia.Grade); - } - } - return new EquipmentStats(dictionary, 0); } private static void AddEquipmentStat(Dictionary result, RowRef baseParam, short value) { - if (baseParam.RowId != 0) + int num = ((baseParam.RowId != 0) ? (-1609748606) : (-1609748602)); + StatInfo value2 = default(StatInfo); + while (true) { - if (result.TryGetValue((EBaseParam)baseParam.RowId, out StatInfo value2)) + int num2 = num; + int num3 = -1609748606; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 2: + num = -1609748602; + break; + case 3: result[(EBaseParam)baseParam.RowId] = value2 with { EquipmentValue = (short)(value2.EquipmentValue + value) }; - } - else - { + return; + case 4: + return; + case 1: result[(EBaseParam)baseParam.RowId] = new StatInfo(value, 0, Overcapped: false); + return; + case 0: + num = ((!result.TryGetValue((EBaseParam)baseParam.RowId, out value2)) ? (-1609748605) : (-1609748607)); + break; } } } private void AddMateriaStat(Item item, Dictionary result, MateriaInfo materiaInfo, short grade) { - if (!result.TryGetValue(materiaInfo.BaseParam, out StatInfo value)) + StatInfo value; + int num = (result.TryGetValue(materiaInfo.BaseParam, out value) ? 1378115408 : 1378115409); + short num5 = default(short); + while (true) { - value = (result[materiaInfo.BaseParam] = new StatInfo(0, 0, Overcapped: false)); - } - if (materiaInfo.HasItem) - { - short num = (short)(GetMaximumStatValue(item, materiaInfo.BaseParam) - value.EquipmentValue); - if (value.MateriaValue + materiaInfo.Values[grade] > num) - { - result[materiaInfo.BaseParam] = value with - { - MateriaValue = num, - Overcapped = true - }; - } - else + int num2 = num; + int num3 = 1378115413; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 6: + num = 1378115409; + break; + case 0: result[materiaInfo.BaseParam] = value with { MateriaValue = (short)(value.MateriaValue + materiaInfo.Values[grade]) }; + return; + case 4: + value = (result[materiaInfo.BaseParam] = new StatInfo(0, 0, Overcapped: false)); + num = 1378115408; + break; + case 2: + result[materiaInfo.BaseParam] = value with + { + MateriaValue = num5, + Overcapped = true + }; + return; + case 5: + num = ((!materiaInfo.HasItem) ? 1378115413 : 1378115414); + break; + case 3: + num5 = (short)_206C_206F_200B_206F_202D_200C_202E_202C_202E_200C_202A_200D_200D_200D_200F_206B_206A_200B_200B_206E_200D_206E_206E_202B_206E_202D_200F_202B_200C_202E_202A_206D_200F_206E_202C_206B_200F_206B_206D_202C_202E(0, GetMaximumStatValue(item, materiaInfo.BaseParam) - value.EquipmentValue); + num = ((value.MateriaValue + materiaInfo.Values[grade] <= num5) ? 1378115412 : 1378115415); + break; + case 1: + result[materiaInfo.BaseParam] = value with + { + MateriaValue = (short)(value.MateriaValue + materiaInfo.Values[grade]) + }; + return; } } - else - { - result[materiaInfo.BaseParam] = value with - { - MateriaValue = (short)(value.MateriaValue + materiaInfo.Values[grade]) - }; - } } public short GetMaximumStatValue(Item item, EBaseParam baseParamValue) { - if (_itemLevelStatCaps.TryGetValue((item.LevelItem.RowId, baseParamValue), out var value)) + ushort value; + int num = ((!_itemLevelStatCaps.TryGetValue((item.LevelItem.RowId, baseParamValue), out value)) ? 740973538 : 740973537); + while (true) { - return (short)Math.Round((float)(value * _equipSlotCategoryPct[(baseParamValue, (int)item.EquipSlotCategory.RowId)]) / 1000f, MidpointRounding.AwayFromZero); + int num2 = num; + int num3 = 740973536; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_006a; + case 1: + return (short)_200B_206F_202B_202B_206A_200F_200E_206E_206D_206E_206F_202C_200E_200D_202E_202B_202D_202E_200B_206A_206E_206D_202A_200D_206B_206A_206F_206A_202E_206E_202B_200B_200B_200C_206A_206F_202C_206E_202C_200C_202E((double)((float)(value * _equipSlotCategoryPct[(baseParamValue, (int)item.EquipSlotCategory.RowId)]) / 1000f), MidpointRounding.AwayFromZero); + case 2: + return 0; + } + continue; + IL_006a: + num = 740973537; } - return 0; } public unsafe short CalculateAverageItemLevel(InventoryContainer* container) { - uint num = 0u; - int num2 = 12; - for (int i = 0; i < 13; i++) + int num = ((container != null) ? 1354599352 : 1354599354); + Item? rowOrDefault = default(Item?); + InventoryItem* inventorySlot = default(InventoryItem*); + int num10 = default(int); + int num8 = default(int); + uint num7 = default(uint); + while (true) { - if (i == 5) + int num2 = num; + int num3 = 1354599355; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - continue; - } - InventoryItem* inventorySlot = container->GetInventorySlot(i); - if (inventorySlot == null || inventorySlot->ItemId == 0) + case 2: + rowOrDefault = _itemSheet.GetRowOrDefault(inventorySlot->ItemId); + num = ((!rowOrDefault.HasValue) ? 1354599358 : 1354599349); + break; + case 5: { - continue; + int num13 = num10; + num3 = 1; + num4 = num13; + int num14 = num4 ^ num3; + int num15 = num4 & num3; + num10 = num14 + (num15 + num15); + num = 1354599348; + break; } - Item? rowOrDefault = _itemSheet.GetRowOrDefault(inventorySlot->ItemId); - if (!rowOrDefault.HasValue) + case 1: + return 0; + case 16: + num = ((num10 != 0) ? 1354599346 : 1354599347); + break; + case 9: { - continue; + int num11 = num8; + num3 = 1; + num4 = num11; + num8 = ~(~num4 + num3); + num = 1354599358; + break; } - if (rowOrDefault.Value.ItemUICategory.RowId == 105) + case 11: + inventorySlot = container->GetInventorySlot(num10); + num = ((inventorySlot == null) ? 1354599358 : 1354599336); + break; + case 17: + num = ((num10 != 0) ? 1354599345 : 1354599356); + break; + case 12: { - if (i == 0) - { - num2--; - } - num2--; - continue; + num7 += rowOrDefault.Value.LevelItem.RowId; + int num12 = num10; + num3 = 1; + num4 = num12; + num10 = (num4 | num3) + (num4 & num3); + num = 1354599345; + break; } - if (i == 0 && !((ReadOnlySpan)CanHaveOffhand).Contains(rowOrDefault.Value.ItemUICategory.RowId)) + case 15: + num = ((num10 < 13) ? 1354599355 : 1354599337); + break; + case 3: + num7 = 0u; + num8 = 12; + num10 = 0; + num = 1354599348; + break; + case 6: + num = 1354599354; + break; + case 7: + num = (((ReadOnlySpan)CanHaveOffhand).Contains(rowOrDefault.Value.ItemUICategory.RowId) ? 1354599345 : 1354599351); + break; + case 0: + num = ((num10 == 5) ? 1354599358 : 1354599344); + break; + case 18: + num = ((num8 > 0) ? 1354599350 : 1354599359); + break; + case 4: + return 0; + case 14: + num = ((rowOrDefault.Value.ItemUICategory.RowId != 105) ? 1354599338 : 1354599339); + break; + case 19: + num = ((inventorySlot->ItemId == 0) ? 1354599358 : 1354599353); + break; + case 10: + num7 += rowOrDefault.Value.LevelItem.RowId; + num = 1354599358; + break; + case 8: { - num += rowOrDefault.Value.LevelItem.RowId; - i++; + int num9 = num8; + num3 = 1; + num4 = num9; + num8 = ~(~num4 + num3); + num = 1354599346; + break; + } + case 13: + return (short)(num7 / num8); } - num += rowOrDefault.Value.LevelItem.RowId; } - return (short)(num / num2); + } + + public unsafe EquipmentStats CalculateGearsetStats(InventoryContainer* container) + { + int num = ((container != null) ? 335366351 : 335366348); + EBaseParam key = default(EBaseParam); + StatInfo statInfo = default(StatInfo); + StatInfo value = default(StatInfo); + while (true) + { + int num2 = num; + int num3 = 335366349; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004c; + case 1: + return new EquipmentStats(new Dictionary(), 0); + case 2: + { + Dictionary dictionary = new Dictionary(); + byte b = 0; + int num5 = 0; + while (num5 < 13) + { + if (num5 != 5) + { + InventoryItem* inventorySlot = container->GetInventorySlot(num5); + if (inventorySlot != null && inventorySlot->ItemId != 0) + { + EquipmentStats equipmentStats = CalculateGearStats(inventorySlot); + b += equipmentStats.MateriaCount; + using Dictionary.Enumerator enumerator = equipmentStats.Stats.GetEnumerator(); + num = 2133896260; + while (true) + { + int num6 = num; + num3 = 2133896256; + num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + dictionary[key] = statInfo; + num = 2133896260; + break; + case 1: + { + enumerator.Current.Deconstruct(out var key2, out var value2); + key = key2; + statInfo = value2; + num = ((!dictionary.TryGetValue(key, out value)) ? 2133896261 : 2133896256); + break; + } + case 3: + num = 2133896260; + break; + case 4: + num = (enumerator.MoveNext() ? 2133896257 : 2133896258); + break; + case 0: + dictionary[key] = value with + { + EquipmentValue = (short)(value.EquipmentValue + statInfo.EquipmentValue), + MateriaValue = (short)(value.MateriaValue + statInfo.MateriaValue), + Overcapped = (value.Overcapped || statInfo.Overcapped) + }; + num = 2133896260; + break; + case 2: + goto end_IL_00c3; + } + continue; + end_IL_00c3: + break; + } + } + } + int num7 = num5; + num3 = 1; + num4 = num7; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + num5 = num8 + (num9 + num9); + } + return new EquipmentStats(dictionary, b); + } + } + continue; + IL_004c: + num = 335366348; + } + } + + static GearStatsCalculator() + { + uint[] array = new uint[14]; + _206C_206E_200D_206F_206A_206D_200C_200C_200E_200B_200E_200C_202E_202E_200E_202A_206B_200F_206D_206A_206C_206F_206B_200F_202A_206A_206F_206F_202A_202B_202E_206A_202E_202E_200B_200B_202D_202A_206C_206C_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + CanHaveOffhand = array; + } + + static ArgumentNullException _202D_206D_206E_202C_200B_200E_206C_202A_200B_200E_206A_200F_200F_202B_206E_200D_206F_200F_200C_206C_200E_200E_206F_200D_202D_206F_206B_206F_202D_200E_206A_200D_202D_200F_206E_200F_206B_206B_200D_206F_202E(string P_0) + { + return new ArgumentNullException(P_0); + } + + static void _202A_202D_206D_206A_200C_202C_200D_202E_202B_206C_206C_206A_200B_200C_200C_206D_202C_200E_206B_206F_202B_200D_206E_206F_202C_200F_202E_206B_200F_202A_202E_202B_200B_206B_200C_200B_206D_202D_206B_206F_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static bool _206B_200B_206C_206A_200B_200C_206B_200B_202A_206F_206B_206A_206E_206A_200C_202E_206C_200E_200D_200E_202A_206E_200F_206B_200C_200D_200D_206F_206F_200D_206F_200D_206F_202C_202C_202A_200F_206C_206C_200E_202E(Enum P_0, Enum P_1) + { + return P_0.HasFlag(P_1); + } + + static bool _202E_202E_202D_206D_206F_202E_202C_200F_200C_202B_206C_200D_200E_202B_202E_202E_202E_206F_202B_206A_200E_202B_202A_206C_206E_206C_206B_200C_202B_206D_202A_202D_206E_200B_202A_202A_206A_200B_202B_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202B_202D_200E_206F_202E_200D_202E_200B_202E_202C_202E_206E_206F_206C_200F_200C_202C_202D_206C_202E_200D_202E_200B_206D_200D_200D_206C_202E_206E_206C_202E_206C_202B_202B_202B_202D_206E_200E_200C_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static int _206C_206F_200B_206F_202D_200C_202E_202C_202E_200C_202A_200D_200D_200D_200F_206B_206A_200B_200B_206E_200D_206E_206E_202B_206E_202D_200F_202B_200C_202E_202A_206D_200F_206E_202C_206B_200F_206B_206D_202C_202E(int P_0, int P_1) + { + return Math.Max(P_0, P_1); + } + + static double _200B_206F_202B_202B_206A_200F_200E_206E_206D_206E_206F_202C_200E_200D_202E_202B_202D_202E_200B_206A_206E_206D_202A_200D_206B_206A_206F_206A_202E_206E_202B_200B_200B_200C_206A_206F_202C_206E_202C_200C_202E(double P_0, MidpointRounding P_1) + { + return Math.Round(P_0, P_1); + } + + static void _206C_206E_200D_206F_206A_206D_200C_200C_200E_200B_200E_200C_202E_202E_200E_202A_206B_200F_206D_206A_206C_206F_206B_200F_202A_206A_206F_206F_202A_202B_202E_206A_202E_202E_200B_200B_202D_202A_206C_206C_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); } } diff --git a/LLib/LLib.Gear/GearsetHelper.cs b/LLib/LLib.Gear/GearsetHelper.cs new file mode 100644 index 00000000..6b93c2b2 --- /dev/null +++ b/LLib/LLib.Gear/GearsetHelper.cs @@ -0,0 +1,89 @@ +using FFXIVClientStructs.FFXIV.Client.UI.Misc; + +namespace LLib.Gear; + +public static class GearsetHelper +{ + public unsafe static int GetCurrentGearsetIndex() + { + RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); + int num = ((ptr != null) ? (-1692442216) : (-1692442213)); + while (true) + { + int num2 = num; + int num3 = -1692442214; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return -1; + case 2: + return ptr->CurrentGearsetIndex; + } + continue; + IL_0049: + num = -1692442213; + } + } + + public unsafe static bool TryEquipGearset(int gearsetIndex) + { + RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); + int num = ((ptr == null) ? 231059237 : 231059236); + while (true) + { + int num2 = num; + int num3 = 231059239; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + ptr->EquipGearset(gearsetIndex, 0); + return true; + case 1: + num = (ptr->IsValidGearset(gearsetIndex) ? 231059239 : 231059237); + break; + case 2: + return false; + case 3: + num = ((gearsetIndex < 0) ? 231059237 : 231059238); + break; + case 4: + num = 231059236; + break; + } + } + } + + public unsafe static byte GetGearsetClassJob(int gearsetIndex) + { + RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); + int num = ((ptr == null) ? (-76399401) : (-76399403)); + while (true) + { + int num2 = num; + int num3 = -76399402; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return 0; + case 2: + num = (ptr->IsValidGearset(gearsetIndex) ? (-76399406) : (-76399401)); + break; + case 4: + return ptr->GetGearset(gearsetIndex)->ClassJob; + case 0: + num = -76399403; + break; + case 3: + num = ((gearsetIndex < 0) ? (-76399401) : (-76399404)); + break; + } + } + } +} diff --git a/LLib/LLib.Gear/ItemRankingKey.cs b/LLib/LLib.Gear/ItemRankingKey.cs new file mode 100644 index 00000000..e4a72a91 --- /dev/null +++ b/LLib/LLib.Gear/ItemRankingKey.cs @@ -0,0 +1,106 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +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); + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206A_202E_200D_202A_202D_206B_202D_200F_206A_202A_206A_202E_200E_200C_206F_202A_206E_206D_202C_206E_206F_202D_202E_206E_206F_200F_206A_200C_200F_206E_202C_200C_200F_206B_200C_200B_202C_202E_202D_200F_202E(); + _206A_200D_202A_206C_200D_206F_206F_206B_202E_206E_200D_202A_202A_200D_200E_206E_206A_200E_200C_202C_206B_200F_202B_202E_202C_206E_206F_206E_206A_200E_202E_206A_206C_202E_202B_200D_200D_206D_200B_200D_202E(stringBuilder, global::_003CModule_003E._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(1583508102)); + _206A_200D_202A_206C_200D_206F_206F_206B_202E_206E_200D_202A_202A_200D_200E_206E_206A_200E_200C_202C_206B_200F_202B_202E_202C_206E_206F_206E_206A_200E_202E_206A_206C_202E_202B_200D_200D_206D_200B_200D_202E(stringBuilder, global::_003CModule_003E._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(1148273145)); + int num = ((!PrintMembers(stringBuilder)) ? 83489676 : 83489679); + while (true) + { + int num2 = num; + int num3 = 83489678; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 83489679; + break; + case 1: + _202A_206F_206A_206A_200C_206D_200B_202B_202D_206F_202B_202C_202A_200F_206D_206E_200B_206A_206B_206B_206F_202D_202E_206C_200C_200F_206E_202E_206C_202B_206E_200E_202B_200E_202E_206F_202A_200B_206A_206B_202E(stringBuilder, ' '); + num = 83489676; + break; + case 2: + _202A_206F_206A_206A_200C_206D_200B_202B_202D_206F_202B_202C_202A_200F_206D_206E_200B_206A_206B_206B_206F_202D_202E_206C_200C_200F_206E_202E_206C_202B_206E_200E_202B_200E_202E_206F_202A_200B_206A_206B_202E(stringBuilder, '}'); + return _206C_202E_200D_200D_206E_202D_206C_206B_206A_202B_200F_202D_202C_206C_202B_202B_202A_200F_206A_202B_206F_206D_202B_206E_200D_200C_202C_206E_206C_202C_202E_200D_202B_206D_200B_202B_202E_202E_202B_202D_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206A_200D_202A_206C_200D_206F_206F_206B_202E_206E_200D_202A_202A_200D_200E_206E_206A_200E_200C_202C_206B_200F_202B_202E_202C_206E_206F_206E_206A_200E_202E_206A_206C_202E_202B_200D_200D_206D_200B_200D_202E(builder, global::_003CModule_003E._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(-802987284)); + _206A_200D_202A_206C_200D_206F_206F_206B_202E_206E_200D_202A_202A_200D_200E_206E_206A_200E_200C_202C_206B_200F_202B_202E_202C_206E_206F_206E_206A_200E_202E_206A_206C_202E_202B_200D_200D_206D_200B_200D_202E(builder, ItemLevel.ToString()); + _206A_200D_202A_206C_200D_206F_206F_206B_202E_206E_200D_202A_202A_200D_200E_206E_206A_200E_200C_202C_206B_200F_202B_202E_202C_206E_206F_206E_206A_200E_202E_206A_206C_202E_202B_200D_200D_206D_200B_200D_202E(builder, global::_003CModule_003E._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(892084588)); + _206A_200D_202A_206C_200D_206F_206F_206B_202E_206E_200D_202A_202A_200D_200E_206E_206A_200E_200C_202C_206B_200F_202B_202E_202C_206E_206F_206E_206A_200E_202E_206A_206C_202E_202B_200D_200D_206D_200B_200D_202E(builder, Score.ToString()); + _206A_200D_202A_206C_200D_206F_206F_206B_202E_206E_200D_202A_202A_200D_200E_206E_206A_200E_200C_202C_206B_200F_202B_202E_202C_206E_206F_206E_206A_200E_202E_206A_206C_202E_202B_200D_200D_206D_200B_200D_202E(builder, global::_003CModule_003E._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(-1290468425)); + _206A_200D_202A_206C_200D_206F_206F_206B_202E_206E_200D_202A_202A_200D_200E_206E_206A_200E_200C_202C_206B_200F_202B_202E_202C_206E_206F_206E_206A_200E_202E_206A_206C_202E_202B_200D_200D_206D_200B_200D_202E(builder, Damage.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(ItemRankingKey other) + { + int num = ((!EqualityComparer.Default.Equals(ItemLevel, other.ItemLevel)) ? (-23667421) : (-23667422)); + while (true) + { + int num2 = num; + int num3 = -23667421; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 1: + num = ((!EqualityComparer.Default.Equals(Score, other.Score)) ? (-23667421) : (-23667424)); + break; + case 2: + num = -23667422; + break; + case 3: + return EqualityComparer.Default.Equals(Damage, other.Damage); + } + } + } + + bool IEquatable.Equals(ItemRankingKey other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206A_202E_200D_202A_202D_206B_202D_200F_206A_202A_206A_202E_200E_200C_206F_202A_206E_206D_202C_206E_206F_202D_202E_206E_206F_200F_206A_200C_200F_206E_202C_200C_200F_206B_200C_200B_202C_202E_202D_200F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206A_200D_202A_206C_200D_206F_206F_206B_202E_206E_200D_202A_202A_200D_200E_206E_206A_200E_200C_202C_206B_200F_202B_202E_202C_206E_206F_206E_206A_200E_202E_206A_206C_202E_202B_200D_200D_206D_200B_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202A_206F_206A_206A_200C_206D_200B_202B_202D_206F_202B_202C_202A_200F_206D_206E_200B_206A_206B_206B_206F_202D_202E_206C_200C_200F_206E_202E_206C_202B_206E_200E_202B_200E_202E_206F_202A_200B_206A_206B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_202E_200D_200D_206E_202D_206C_206B_206A_202B_200F_202D_202C_206C_202B_202B_202A_200F_206A_202B_206F_206D_202B_206E_200D_200C_202C_206E_206C_202C_202E_200D_202B_206D_200B_202B_202E_202E_202B_202D_202E(object P_0) + { + return P_0.ToString(); + } +} diff --git a/LLib/LLib.Gear/MateriaHelper.cs b/LLib/LLib.Gear/MateriaHelper.cs new file mode 100644 index 00000000..1b7e48c6 --- /dev/null +++ b/LLib/LLib.Gear/MateriaHelper.cs @@ -0,0 +1,269 @@ +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); + int num = ((item == null) ? (-1527939717) : (-1527939716)); + int num7 = default(int); + uint num9 = default(uint); + while (true) + { + int num2 = num; + int num3 = -1527939719; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + return list; + case 4: + num7 = 0; + num = -1527939727; + break; + case 6: + list.Add(new MeldSlotInfo(num7, num9, item->MateriaGrades[num7])); + num = -1527939720; + break; + case 1: + { + int num8 = num7; + num3 = 1; + num4 = num8; + num7 = (num4 | num3) + (num4 & num3); + num = -1527939727; + break; + } + case 0: + num = -1527939716; + break; + case 3: + num9 = item->Materia[num7]; + num = ((num9 == 0) ? (-1527939720) : (-1527939713)); + break; + case 5: + num = ((item->ItemId != 0) ? (-1527939715) : (-1527939717)); + break; + case 8: + num = ((num7 < 5) ? (-1527939718) : (-1527939714)); + break; + case 2: + return list; + } + } + } + + public static int GetNormalSlotCount(IDataManager dataManager, uint itemId) + { + Item row; + int num = (dataManager.GetExcelSheet().TryGetRow(itemId, out row) ? (-1343561605) : (-1343561608)); + while (true) + { + int num2 = num; + int num3 = -1343561607; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return row.MateriaSlotCount; + case 1: + return 0; + case 0: + goto IL_0067; + } + continue; + IL_0067: + num = -1343561608; + } + } + + public static bool CanOvermeld(IDataManager dataManager, uint itemId) + { + Item row; + int num = (dataManager.GetExcelSheet().TryGetRow(itemId, out row) ? (-2077097183) : (-2077097182)); + while (true) + { + int num2 = num; + int num3 = -2077097184; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return row.IsAdvancedMeldingPermitted; + case 2: + return false; + case 0: + goto IL_0065; + } + continue; + IL_0065: + num = -2077097182; + } + } + + public static int GetOvermeldSuccessRate(IDataManager dataManager, byte grade, int overmeldSlot, bool isHq) + { + int num = ((overmeldSlot >= 0) ? 943397358 : 943397347); + MateriaGrade row = default(MateriaGrade); + while (true) + { + int num2 = num; + int num3 = 943397355; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 943397347; + break; + case 2: + return row.OvermeldHQPercent[overmeldSlot]; + case 4: + num = ((overmeldSlot < row.OvermeldHQPercent.Count) ? 943397353 : 943397345); + break; + case 8: + return 0; + case 5: + num = (dataManager.GetExcelSheet().TryGetRow(grade, out row) ? 943397354 : 943397356); + break; + case 3: + num = ((overmeldSlot < row.OvermeldNQPercent.Count) ? 943397346 : 943397357); + break; + case 7: + return 0; + case 10: + return 0; + case 9: + return row.OvermeldNQPercent[overmeldSlot]; + case 1: + num = ((!isHq) ? 943397352 : 943397359); + break; + case 6: + return 0; + } + } + } + + public unsafe static int CountMateriaInInventory(uint materiaItemId) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? 244394904 : 244394907); + while (true) + { + int num2 = num; + int num3 = 244394905; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return ptr->GetInventoryItemCount(materiaItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); + case 2: + return 0; + case 0: + goto IL_0059; + } + continue; + IL_0059: + num = 244394907; + } + } + + public static int EstimateMateriaNeeded(int successRatePercent, int confidencePercent = 90) + { + int num = ((successRatePercent < 100) ? 394334376 : 394334378); + double num5 = default(double); + while (true) + { + int num2 = num; + int num3 = 394334379; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + { + double num6 = (double)successRatePercent / 100.0; + double num7 = (double)_200E_200C_202D_202E_206D_206B_202B_202E_200E_200F_200F_202B_202A_202A_206D_200B_202E_200F_206E_206A_200D_206D_200F_200E_206B_200B_202A_200B_206A_200C_206E_202E_206E_206F_206B_206B_206A_200B_200B_202A_202E(confidencePercent, 0, 99) / 100.0; + num5 = _202B_200F_202E_202E_200D_202C_206D_206B_200E_200E_202A_200D_206D_206D_202E_202A_200C_202C_200C_202A_206A_206B_200F_200E_206B_202B_206F_202B_202E_200E_202D_202E_206B_202A_202C_206C_206B_202B_200C_206B_202E(_200F_202B_200B_200C_206C_200E_202A_206D_206C_206D_200B_200C_202B_206A_200E_202A_206F_202B_206A_200D_200F_200D_200B_202E_202C_202C_200F_206B_206F_202E_200F_200C_200F_202C_202E_206F_200F_200B_206C_200C_202E(1.0 - num7) / _200F_202B_200B_200C_206C_200E_202A_206D_206C_206D_200B_200C_202B_206A_200E_202A_206F_202B_206A_200D_200F_200D_200B_202E_202C_202C_200F_206B_206F_202E_200F_200C_200F_202C_202E_206F_200F_200B_206C_200C_202E(1.0 - num6)); + num = ((!(num5 < 1.0)) ? 394334379 : 394334371); + break; + } + case 1: + return 1; + case 7: + num = 394334378; + break; + case 5: + return int.MaxValue; + case 6: + return (int)num5; + case 4: + return int.MaxValue; + case 0: + num = ((!(num5 > 2147483647.0)) ? 394334381 : 394334382); + break; + case 3: + num = ((successRatePercent > 0) ? 394334377 : 394334383); + break; + case 8: + return 1; + } + } + } + + public static uint GetMateriaItemId(IDataManager dataManager, uint materiaRowId, byte grade) + { + Materia row; + int num = (dataManager.GetExcelSheet().TryGetRow(materiaRowId, out row) ? (-1528382481) : (-1528382482)); + while (true) + { + int num2 = num; + int num3 = -1528382483; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return 0u; + case 3: + return 0u; + case 4: + return row.Item[grade].RowId; + case 2: + num = ((grade < row.Item.Count) ? (-1528382487) : (-1528382484)); + break; + case 0: + num = -1528382482; + break; + } + } + } + + static int _200E_200C_202D_202E_206D_206B_202B_202E_200E_200F_200F_202B_202A_202A_206D_200B_202E_200F_206E_206A_200D_206D_200F_200E_206B_200B_202A_200B_206A_200C_206E_202E_206E_206F_206B_206B_206A_200B_200B_202A_202E(int P_0, int P_1, int P_2) + { + return Math.Clamp(P_0, P_1, P_2); + } + + static double _200F_202B_200B_200C_206C_200E_202A_206D_206C_206D_200B_200C_202B_206A_200E_202A_206F_202B_206A_200D_200F_200D_200B_202E_202C_202C_200F_206B_206F_202E_200F_200C_200F_202C_202E_206F_200F_200B_206C_200C_202E(double P_0) + { + return Math.Log(P_0); + } + + static double _202B_200F_202E_202E_200D_202C_206D_206B_200E_200E_202A_200D_206D_206D_202E_202A_200C_202C_200C_202A_206A_206B_200F_200E_206B_202B_206F_202B_202E_200E_202D_202E_206B_202A_202C_206C_206B_202B_200C_206B_202E(double P_0) + { + return Math.Ceiling(P_0); + } +} diff --git a/LLib/LLib.Gear/MeldActions.cs b/LLib/LLib.Gear/MeldActions.cs new file mode 100644 index 00000000..b9485467 --- /dev/null +++ b/LLib/LLib.Gear/MeldActions.cs @@ -0,0 +1,661 @@ +using System.Runtime.CompilerServices; +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(); + int num = ((ptr != null) ? (-92377207) : (-92377206)); + while (true) + { + int num2 = num; + int num3 = -92377205; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return ptr->UseAction(ActionType.GeneralAction, 13u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + case 1: + return false; + } + continue; + IL_0049: + num = -92377206; + } + } + + public unsafe static bool IsMeldAgentReady() + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + int num = ((agentByInternalId == null) ? 1012581320 : 1012581323); + while (true) + { + int num2 = num; + int num3 = 1012581322; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0050; + case 2: + return false; + case 1: + return agentByInternalId->IsAgentActive(); + } + continue; + IL_0050: + num = 1012581323; + } + } + + public unsafe static void CloseMeldAgent() + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + int num = ((agentByInternalId == null) ? 1172237178 : 1172237177); + while (true) + { + int num2 = num; + int num3 = 1172237179; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return; + case 2: + agentByInternalId->Hide(); + num = 1172237178; + break; + case 0: + num = 1172237177; + break; + } + } + } + + public unsafe static bool TrySelectItemCategory(int category) + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + int num = ((agentByInternalId == null) ? 1631304881 : 1631304883); + while (true) + { + int num2 = num; + int num3 = 1631304882; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return false; + case 2: + AgentHelper.SendEvent(agentByInternalId, 0uL, 0, category); + return true; + case 0: + num = 1631304883; + break; + case 1: + num = (agentByInternalId->IsAgentActive() ? 1631304880 : 1631304881); + break; + } + } + } + + public unsafe static bool TrySelectItem(int itemIndex) + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + int num = ((agentByInternalId == null) ? (-2072200034) : (-2072200035)); + while (true) + { + int num2 = num; + int num3 = -2072200036; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -2072200035; + break; + case 2: + return false; + case 1: + num = (agentByInternalId->IsAgentActive() ? (-2072200033) : (-2072200034)); + break; + case 3: + AgentHelper.SendEvent(agentByInternalId, 0uL, 1, itemIndex, 1, 0); + return true; + } + } + } + + public unsafe static bool TrySelectMateria(int materiaIndex) + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + int num = ((agentByInternalId == null) ? 1070130699 : 1070130696); + while (true) + { + int num2 = num; + int num3 = 1070130698; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 2: + num = (agentByInternalId->IsAgentActive() ? 1070130697 : 1070130699); + break; + case 3: + AgentHelper.SendEvent(agentByInternalId, 0uL, 2, materiaIndex, 1, 0); + return true; + case 0: + num = 1070130696; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryConfirmMeld(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(627835042), out addonPtr) ? 1229741423 : 1229741420); + while (true) + { + int num2 = num; + int num3 = 1229741422; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 2: + return false; + case 1: + AddonCallback.Fire(addonPtr, 0, 0, 1); + addonPtr->Close(fireCallback: true); + return true; + } + continue; + IL_0052: + num = 1229741420; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryConfirmOvermeld(IGameGui gameGui) + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + int num = ((agentByInternalId == null) ? (-1324266092) : (-1324266093)); + AtkUnitBase* addonPtr = default(AtkUnitBase*); + while (true) + { + int num2 = num; + int num3 = -1324266089; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + AddonCallback.ClickYes(addonPtr); + addonPtr->Close(fireCallback: true); + return true; + case 4: + num = (agentByInternalId->IsAgentActive() ? (-1324266090) : (-1324266092)); + break; + case 2: + return false; + case 1: + num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(184774238), out addonPtr) ? (-1324266089) : (-1324266091)); + break; + case 5: + num = -1324266093; + break; + case 3: + return false; + } + } + } + + public unsafe static bool TryRequestRetrieve() + { + AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.MateriaAttach); + int num = ((agentByInternalId == null) ? (-1148814480) : (-1148814479)); + while (true) + { + int num2 = num; + int num3 = -1148814480; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + num = (agentByInternalId->IsAgentActive() ? (-1148814477) : (-1148814480)); + break; + case 2: + num = -1148814479; + break; + case 3: + AgentHelper.SendEvent(agentByInternalId, 4uL, 0, 1, 0, 0, 0); + return true; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryConfirmRetrieve(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(-507581273), out addonPtr) ? (-1428512463) : (-1428512462)); + while (true) + { + int num2 = num; + int num3 = -1428512461; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 2: + AddonCallback.Fire(addonPtr, default(int)); + addonPtr->Close(fireCallback: true); + return true; + case 1: + return false; + } + continue; + IL_0052: + num = -1428512462; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsMeldDialogReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon(global::_003CModule_003E._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(2146370651), out addonPtr); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsRetrieveDialogReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon(global::_003CModule_003E._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(1509768351), out addonPtr); + } + + public unsafe static bool IsAgentLoading() + { + AgentMateriaAttach* ptr = AgentMateriaAttach.Instance(); + int num = ((ptr == null) ? (-1447124743) : (-1447124742)); + while (true) + { + int num2 = num; + int num3 = -1447124741; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + return ptr->UpdateState != 0; + case 0: + goto IL_0057; + } + continue; + IL_0057: + num = -1447124742; + } + } + + public unsafe static int GetSelectedItemIndex() + { + AgentMateriaAttach* ptr = AgentMateriaAttach.Instance(); + int num = ((ptr == null) ? (-10593117) : (-10593120)); + while (true) + { + int num2 = num; + int num3 = -10593119; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return -1; + case 1: + return ptr->SelectedItemIndex; + case 0: + goto IL_0054; + } + continue; + IL_0054: + num = -10593120; + } + } + + public static AgentMateriaAttach.FilterCategory GetFilterCategory(InventoryType inventoryType) + { + int num = ((inventoryType > InventoryType.EquippedItems) ? (-1327648937) : (-1327648944)); + AgentMateriaAttach.FilterCategory result = default(AgentMateriaAttach.FilterCategory); + while (true) + { + int num2 = num; + int num3 = -1327648930; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 11: + result = AgentMateriaAttach.FilterCategory.Equipped; + num = -1327648933; + break; + case 4: + result = AgentMateriaAttach.FilterCategory.ArmouryWeapon; + num = -1327648933; + break; + case 10: + result = AgentMateriaAttach.FilterCategory.Inventory; + num = -1327648933; + break; + case 14: + num = ((inventoryType <= InventoryType.Inventory4) ? (-1327648940) : (-1327648931)); + break; + case 9: + switch (inventoryType) + { + case InventoryType.ArmoryOffHand: + break; + default: + goto IL_00f8; + case InventoryType.ArmoryHead: + case InventoryType.ArmoryBody: + case InventoryType.ArmoryHands: + goto IL_010e; + case InventoryType.ArmoryWrist: + goto IL_011b; + case InventoryType.ArmoryLegs: + case InventoryType.ArmoryFeets: + goto IL_0128; + case InventoryType.ArmoryEar: + case InventoryType.ArmoryNeck: + goto IL_0135; + case InventoryType.ArmoryWaist: + goto IL_016e; + } + goto case 4; + case 15: + num = -1327648944; + break; + case 7: + goto IL_010e; + case 2: + goto IL_011b; + case 6: + goto IL_0128; + case 8: + goto IL_0135; + case 1: + num = ((inventoryType == InventoryType.ArmoryMainHand) ? (-1327648934) : (-1327648946)); + break; + case 16: + num = -1327648930; + break; + case 0: + goto IL_016e; + case 5: + return result; + case 3: + num = ((inventoryType == InventoryType.EquippedItems) ? (-1327648939) : (-1327648942)); + break; + case 12: + num = -1327648930; + break; + case 13: + { + num = ((inventoryType == InventoryType.ArmoryRings) ? (-1327648932) : (-1327648929)); + break; + } + IL_010e: + result = AgentMateriaAttach.FilterCategory.ArmouryHeadBodyHands; + num = -1327648933; + break; + IL_00f8: + num = -1327648941; + break; + IL_016e: + result = AgentMateriaAttach.FilterCategory.None; + num = -1327648933; + break; + IL_0135: + result = AgentMateriaAttach.FilterCategory.ArmouryNeckEars; + num = -1327648933; + break; + IL_0128: + result = AgentMateriaAttach.FilterCategory.ArmouryLegsFeet; + num = -1327648933; + break; + IL_011b: + result = AgentMateriaAttach.FilterCategory.ArmouryWristRing; + num = -1327648933; + break; + } + } + } + + public unsafe static int? FindItemIndex(InventoryItem* target) + { + int num = ((target != null) ? (-1032587333) : (-1032587331)); + AgentMateriaAttach* ptr = default(AgentMateriaAttach*); + int num5 = default(int); + AgentMateriaAttach.MateriaAttachEntry* value = default(AgentMateriaAttach.MateriaAttachEntry*); + while (true) + { + int num2 = num; + int num3 = -1032587332; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + num = ((!ptr->IsAgentActive()) ? (-1032587329) : (-1032587330)); + break; + case 3: + return null; + case 10: + num = ((num5 < ptr->ItemCount) ? (-1032587339) : (-1032587336)); + break; + case 7: + ptr = AgentMateriaAttach.Instance(); + num = ((ptr == null) ? (-1032587329) : (-1032587340)); + break; + case 4: + return null; + case 12: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = -1032587338; + break; + } + case 9: + value = ptr->Data->ItemsSorted[num5].Value; + num = ((value == null) ? (-1032587344) : (-1032587335)); + break; + case 5: + num = ((value->Item != target) ? (-1032587344) : (-1032587337)); + break; + case 1: + return null; + case 2: + num = ((ptr->Data != null) ? (-1032587334) : (-1032587329)); + break; + case 11: + return num5; + case 0: + num = -1032587331; + break; + case 6: + num5 = 0; + num = -1032587338; + break; + } + } + } + + public unsafe static int? FindMateriaIndex(uint materiaItemId) + { + AgentMateriaAttach* ptr = AgentMateriaAttach.Instance(); + int num = ((ptr == null) ? 2014235157 : 2014235164); + AgentMateriaAttach.MateriaAttachEntry* value = default(AgentMateriaAttach.MateriaAttachEntry*); + int num6 = default(int); + while (true) + { + int num2 = num; + int num3 = 2014235167; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 11: + num = ((value->Item->ItemId != materiaItemId) ? 2014235158 : 2014235159); + break; + case 0: + num = ((ptr->Data != null) ? 2014235166 : 2014235157); + break; + case 10: + return null; + case 8: + return num6; + case 7: + return null; + case 3: + num = ((!ptr->IsAgentActive()) ? 2014235157 : 2014235167); + break; + case 2: + num = 2014235164; + break; + case 4: + num = ((num6 < ptr->MateriaCount) ? 2014235162 : 2014235160); + break; + case 1: + num6 = 0; + num = 2014235163; + break; + case 5: + value = ptr->Data->MateriaSorted[num6].Value; + num = ((value == null) ? 2014235158 : 2014235161); + break; + case 6: + num = ((value->Item == null) ? 2014235158 : 2014235156); + break; + case 9: + { + int num5 = num6; + num3 = 1; + num4 = num5; + num6 = (num4 | num3) + (num4 & num3); + num = 2014235163; + break; + } + } + } + } + + public static bool IsMeldingUnlocked() + { + return GearFeatures.IsMeldingUnlocked(); + } + + public static bool IsOvermeldingUnlocked() + { + return GearFeatures.IsOvermeldingUnlocked(); + } + + public unsafe static bool CanMeldItem(IDataManager dataManager, InventoryItem* item) + { + int num = ((item == null) ? (-1684140330) : (-1684140332)); + Item row = default(Item); + int num5 = default(int); + int num6 = default(int); + while (true) + { + int num2 = num; + int num3 = -1684140328; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = (dataManager.GetExcelSheet().TryGetRow(item->ItemId, out row) ? (-1684140324) : (-1684140325)); + break; + case 5: + num5 = row.MateriaSlotCount; + num = ((!row.IsAdvancedMeldingPermitted) ? (-1684140336) : (-1684140333)); + break; + case 4: + num = ((row.MateriaSlotCount != 0) ? (-1684140323) : (-1684140335)); + break; + case 2: + num = -1684140332; + break; + case 1: + num = ((item->Materia[num6] != 0) ? (-1684140334) : (-1684140321)); + break; + case 13: + return false; + case 11: + num5 = 5; + num = -1684140336; + break; + case 0: + num = ((num6 < num5) ? (-1684140327) : (-1684140331)); + break; + case 10: + { + int num7 = num6; + num3 = 1; + num4 = num7; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + num6 = num8 + (num9 + num9); + num = -1684140328; + break; + } + case 8: + num6 = 0; + num = -1684140328; + break; + case 7: + return true; + case 9: + return false; + case 14: + return false; + case 3: + return false; + case 12: + num = ((item->ItemId != 0) ? (-1684140322) : (-1684140330)); + break; + } + } + } +} diff --git a/LLib/LLib.Gear/MeldInstruction.cs b/LLib/LLib.Gear/MeldInstruction.cs new file mode 100644 index 00000000..57234d65 --- /dev/null +++ b/LLib/LLib.Gear/MeldInstruction.cs @@ -0,0 +1,111 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace LLib.Gear; + +public readonly record struct MeldInstruction(uint ItemId, int SlotIndex, uint MateriaItemId, bool IsOvermeld) +{ + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_202B_202C_200C_200F_202E_206B_206B_200F_206D_200F_206E_200F_202A_202E_202B_202B_206C_202A_200C_206D_202B_200F_200F_206F_200E_202B_206F_202A_200B_206E_206D_206B_202C_202A_200F_200C_206F_202A_202C_202E(); + _206B_202B_200E_206B_200D_200D_206E_206E_200B_206E_206E_206C_206A_200D_200B_202E_202D_206D_206B_206C_202D_206A_206F_206A_202E_206E_206F_200F_206B_200B_206F_206E_206D_200E_202E_206C_206A_200F_200D_202C_202E(stringBuilder, global::_003CModule_003E._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(910491666)); + _206B_202B_200E_206B_200D_200D_206E_206E_200B_206E_206E_206C_206A_200D_200B_202E_202D_206D_206B_206C_202D_206A_206F_206A_202E_206E_206F_200F_206B_200B_206F_206E_206D_200E_202E_206C_206A_200F_200D_202C_202E(stringBuilder, global::_003CModule_003E._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(1808631505)); + int num = ((!PrintMembers(stringBuilder)) ? 1348202798 : 1348202799); + while (true) + { + int num2 = num; + int num3 = 1348202798; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1348202799; + break; + case 0: + _202E_206B_202B_200B_206D_206D_200D_202D_200B_202D_206C_202C_206D_206C_202E_202D_202C_206A_202A_200D_202B_206B_206F_206E_202E_206A_200B_202E_202C_200B_206C_200B_200C_202A_202C_206C_206A_206C_206A_202A_202E(stringBuilder, '}'); + return _202A_200D_206C_206B_202A_202A_206D_200D_200B_200F_202A_202B_206C_200F_202E_206A_206C_206B_202A_202A_206B_200B_200E_202D_206C_206A_200D_202E_206E_202E_206C_202E_202D_200E_200B_202A_202E_200E_202D_206B_202E((object)stringBuilder); + case 1: + _202E_206B_202B_200B_206D_206D_200D_202D_200B_202D_206C_202C_206D_206C_202E_202D_202C_206A_202A_200D_202B_206B_206F_206E_202E_206A_200B_202E_202C_200B_206C_200B_200C_202A_202C_206C_206A_206C_206A_202A_202E(stringBuilder, ' '); + num = 1348202798; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206B_202B_200E_206B_200D_200D_206E_206E_200B_206E_206E_206C_206A_200D_200B_202E_202D_206D_206B_206C_202D_206A_206F_206A_202E_206E_206F_200F_206B_200B_206F_206E_206D_200E_202E_206C_206A_200F_200D_202C_202E(builder, global::_003CModule_003E._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(-1758736713)); + _206B_202B_200E_206B_200D_200D_206E_206E_200B_206E_206E_206C_206A_200D_200B_202E_202D_206D_206B_206C_202D_206A_206F_206A_202E_206E_206F_200F_206B_200B_206F_206E_206D_200E_202E_206C_206A_200F_200D_202C_202E(builder, ItemId.ToString()); + _206B_202B_200E_206B_200D_200D_206E_206E_200B_206E_206E_206C_206A_200D_200B_202E_202D_206D_206B_206C_202D_206A_206F_206A_202E_206E_206F_200F_206B_200B_206F_206E_206D_200E_202E_206C_206A_200F_200D_202C_202E(builder, global::_003CModule_003E._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(66042605)); + _206B_202B_200E_206B_200D_200D_206E_206E_200B_206E_206E_206C_206A_200D_200B_202E_202D_206D_206B_206C_202D_206A_206F_206A_202E_206E_206F_200F_206B_200B_206F_206E_206D_200E_202E_206C_206A_200F_200D_202C_202E(builder, SlotIndex.ToString()); + _206B_202B_200E_206B_200D_200D_206E_206E_200B_206E_206E_206C_206A_200D_200B_202E_202D_206D_206B_206C_202D_206A_206F_206A_202E_206E_206F_200F_206B_200B_206F_206E_206D_200E_202E_206C_206A_200F_200D_202C_202E(builder, global::_003CModule_003E._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(1813688100)); + _206B_202B_200E_206B_200D_200D_206E_206E_200B_206E_206E_206C_206A_200D_200B_202E_202D_206D_206B_206C_202D_206A_206F_206A_202E_206E_206F_200F_206B_200B_206F_206E_206D_200E_202E_206C_206A_200F_200D_202C_202E(builder, MateriaItemId.ToString()); + _206B_202B_200E_206B_200D_200D_206E_206E_200B_206E_206E_206C_206A_200D_200B_202E_202D_206D_206B_206C_202D_206A_206F_206A_202E_206E_206F_200F_206B_200B_206F_206E_206D_200E_202E_206C_206A_200F_200D_202C_202E(builder, global::_003CModule_003E._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(-2051131662)); + _206B_202B_200E_206B_200D_200D_206E_206E_200B_206E_206E_206C_206A_200D_200B_202E_202D_206D_206B_206C_202D_206A_206F_206A_202E_206E_206F_200F_206B_200B_206F_206E_206D_200E_202E_206C_206A_200F_200D_202C_202E(builder, IsOvermeld.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(MeldInstruction other) + { + int num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? 1583334064 : 1583334069); + while (true) + { + int num2 = num; + int num3 = 1583334068; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 1583334069; + break; + case 0: + num = ((!EqualityComparer.Default.Equals(MateriaItemId, other.MateriaItemId)) ? 1583334064 : 1583334070); + break; + case 2: + return EqualityComparer.Default.Equals(IsOvermeld, other.IsOvermeld); + case 1: + num = ((!EqualityComparer.Default.Equals(SlotIndex, other.SlotIndex)) ? 1583334064 : 1583334068); + break; + case 4: + return false; + } + } + } + + bool IEquatable.Equals(MeldInstruction other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206F_202B_202C_200C_200F_202E_206B_206B_200F_206D_200F_206E_200F_202A_202E_202B_202B_206C_202A_200C_206D_202B_200F_200F_206F_200E_202B_206F_202A_200B_206E_206D_206B_202C_202A_200F_200C_206F_202A_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206B_202B_200E_206B_200D_200D_206E_206E_200B_206E_206E_206C_206A_200D_200B_202E_202D_206D_206B_206C_202D_206A_206F_206A_202E_206E_206F_200F_206B_200B_206F_206E_206D_200E_202E_206C_206A_200F_200D_202C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202E_206B_202B_200B_206D_206D_200D_202D_200B_202D_206C_202C_206D_206C_202E_202D_202C_206A_202A_200D_202B_206B_206F_206E_202E_206A_200B_202E_202C_200B_206C_200B_200C_202A_202C_206C_206A_206C_206A_202A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202A_200D_206C_206B_202A_202A_206D_200D_200B_200F_202A_202B_206C_200F_202E_206A_206C_206B_202A_202A_206B_200B_200E_202D_206C_206A_200D_202E_206E_202E_206C_202E_202D_200E_200B_202A_202E_200E_202D_206B_202E(object P_0) + { + return P_0.ToString(); + } +} diff --git a/LLib/LLib.Gear/MeldResult.cs b/LLib/LLib.Gear/MeldResult.cs new file mode 100644 index 00000000..be5d6421 --- /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 00000000..0be84ba7 --- /dev/null +++ b/LLib/LLib.Gear/MeldSlotInfo.cs @@ -0,0 +1,110 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace LLib.Gear; + +public readonly record struct MeldSlotInfo(int SlotIndex, uint MateriaId, byte Grade) +{ + public bool IsEmpty => MateriaId == 0; + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206D_206A_202B_206C_202D_200F_200E_206E_202D_202D_206B_202B_202C_202C_200B_200F_206F_202E_202E_206C_206D_206E_206F_200E_202E_206B_200B_202A_206E_200B_206A_206D_202B_202E_202E_202E_206C_200F_202A_200F_202E(); + _200B_202C_202A_202C_200B_202E_202E_200E_202C_206E_206D_202D_200F_202E_200B_206B_200F_206B_202E_202C_206D_200C_206C_200D_206C_200E_200D_202E_206D_200B_206B_206A_200D_200C_200D_206E_206A_202B_206A_206C_202E(stringBuilder, global::_003CModule_003E._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(-178237641)); + _200B_202C_202A_202C_200B_202E_202E_200E_202C_206E_206D_202D_200F_202E_200B_206B_200F_206B_202E_202C_206D_200C_206C_200D_206C_200E_200D_202E_206D_200B_206B_206A_200D_200C_200D_206E_206A_202B_206A_206C_202E(stringBuilder, global::_003CModule_003E._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(1808631505)); + int num = ((!PrintMembers(stringBuilder)) ? (-753586067) : (-753586066)); + while (true) + { + int num2 = num; + int num3 = -753586068; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -753586066; + break; + case 1: + _202D_200E_206F_206F_202C_200D_202A_202C_202D_200C_206F_206F_206B_202B_206C_200E_206F_202C_202B_206A_206C_206B_206F_200E_206E_202A_202C_206C_206E_206C_200D_206D_206C_202C_202A_202B_202A_206E_200C_202E_202E(stringBuilder, '}'); + return _206F_202A_200E_202E_206A_206F_200F_206A_206C_206F_206D_206F_200F_200E_200E_202D_202D_206C_202C_206C_206D_206C_200F_202E_206A_200C_200D_200D_200D_206D_206C_202D_206D_200D_202C_206C_202E_200D_206A_206E_202E((object)stringBuilder); + case 2: + _202D_200E_206F_206F_202C_200D_202A_202C_202D_200C_206F_206F_206B_202B_206C_200E_206F_202C_202B_206A_206C_206B_206F_200E_206E_202A_202C_206C_206E_206C_200D_206D_206C_202C_202A_202B_202A_206E_200C_202E_202E(stringBuilder, ' '); + num = -753586067; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_202C_202A_202C_200B_202E_202E_200E_202C_206E_206D_202D_200F_202E_200B_206B_200F_206B_202E_202C_206D_200C_206C_200D_206C_200E_200D_202E_206D_200B_206B_206A_200D_200C_200D_206E_206A_202B_206A_206C_202E(builder, global::_003CModule_003E._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(1108590379)); + _200B_202C_202A_202C_200B_202E_202E_200E_202C_206E_206D_202D_200F_202E_200B_206B_200F_206B_202E_202C_206D_200C_206C_200D_206C_200E_200D_202E_206D_200B_206B_206A_200D_200C_200D_206E_206A_202B_206A_206C_202E(builder, SlotIndex.ToString()); + _200B_202C_202A_202C_200B_202E_202E_200E_202C_206E_206D_202D_200F_202E_200B_206B_200F_206B_202E_202C_206D_200C_206C_200D_206C_200E_200D_202E_206D_200B_206B_206A_200D_200C_200D_206E_206A_202B_206A_206C_202E(builder, global::_003CModule_003E._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(-548869315)); + _200B_202C_202A_202C_200B_202E_202E_200E_202C_206E_206D_202D_200F_202E_200B_206B_200F_206B_202E_202C_206D_200C_206C_200D_206C_200E_200D_202E_206D_200B_206B_206A_200D_200C_200D_206E_206A_202B_206A_206C_202E(builder, MateriaId.ToString()); + _200B_202C_202A_202C_200B_202E_202E_200E_202C_206E_206D_202D_200F_202E_200B_206B_200F_206B_202E_202C_206D_200C_206C_200D_206C_200E_200D_202E_206D_200B_206B_206A_200D_200C_200D_206E_206A_202B_206A_206C_202E(builder, global::_003CModule_003E._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(-1808759350)); + _200B_202C_202A_202C_200B_202E_202E_200E_202C_206E_206D_202D_200F_202E_200B_206B_200F_206B_202E_202C_206D_200C_206C_200D_206C_200E_200D_202E_206D_200B_206B_206A_200D_200C_200D_206E_206A_202B_206A_206C_202E(builder, Grade.ToString()); + _200B_202C_202A_202C_200B_202E_202E_200E_202C_206E_206D_202D_200F_202E_200B_206B_200F_206B_202E_202C_206D_200C_206C_200D_206C_200E_200D_202E_206D_200B_206B_206A_200D_200C_200D_206E_206A_202B_206A_206C_202E(builder, global::_003CModule_003E._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(-1359578170)); + _200B_202C_202A_202C_200B_202E_202E_200E_202C_206E_206D_202D_200F_202E_200B_206B_200F_206B_202E_202C_206D_200C_206C_200D_206C_200E_200D_202E_206D_200B_206B_206A_200D_200C_200D_206E_206A_202B_206A_206C_202E(builder, IsEmpty.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(MeldSlotInfo other) + { + int num = ((!EqualityComparer.Default.Equals(SlotIndex, other.SlotIndex)) ? (-1955436948) : (-1955436946)); + while (true) + { + int num2 = num; + int num3 = -1955436945; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1955436946; + break; + case 1: + num = ((!EqualityComparer.Default.Equals(MateriaId, other.MateriaId)) ? (-1955436948) : (-1955436947)); + break; + case 3: + return false; + case 2: + return EqualityComparer.Default.Equals(Grade, other.Grade); + } + } + } + + bool IEquatable.Equals(MeldSlotInfo other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206D_206A_202B_206C_202D_200F_200E_206E_202D_202D_206B_202B_202C_202C_200B_200F_206F_202E_202E_206C_206D_206E_206F_200E_202E_206B_200B_202A_206E_200B_206A_206D_202B_202E_202E_202E_206C_200F_202A_200F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200B_202C_202A_202C_200B_202E_202E_200E_202C_206E_206D_202D_200F_202E_200B_206B_200F_206B_202E_202C_206D_200C_206C_200D_206C_200E_200D_202E_206D_200B_206B_206A_200D_200C_200D_206E_206A_202B_206A_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202D_200E_206F_206F_202C_200D_202A_202C_202D_200C_206F_206F_206B_202B_206C_200E_206F_202C_202B_206A_206C_206B_206F_200E_206E_202A_202C_206C_206E_206C_200D_206D_206C_202C_202A_202B_202A_206E_200C_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206F_202A_200E_202E_206A_206F_200F_206A_206C_206F_206D_206F_200F_200E_200E_202D_202D_206C_202C_206C_206D_206C_200F_202E_206A_200C_200D_200D_200D_206D_206C_202D_206D_200D_202C_206C_202E_200D_206A_206E_202E(object P_0) + { + return P_0.ToString(); + } +} diff --git a/LLib/LLib.Gear/RepairActions.cs b/LLib/LLib.Gear/RepairActions.cs new file mode 100644 index 00000000..756acf5c --- /dev/null +++ b/LLib/LLib.Gear/RepairActions.cs @@ -0,0 +1,450 @@ +using System; +using System.Runtime.CompilerServices; +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(); + int num = ((ptr != null) ? 68220505 : 68220506); + while (true) + { + int num2 = num; + int num3 = 68220504; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return ptr->UseAction(ActionType.GeneralAction, 6u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + case 2: + return false; + case 0: + goto IL_0061; + } + continue; + IL_0061: + num = 68220506; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsRepairAddonReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + return gameGui.TryGetReadyAddon(global::_003CModule_003E._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(2048825811), out addonPtr); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryRepairAll(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(419098168), out addonPtr) ? (-498234615) : (-498234614)); + while (true) + { + int num2 = num; + int num3 = -498234613; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 2: + return AddonCallback.ClickButton(addonPtr, ((AddonRepair*)addonPtr)->RepairAllButton); + case 1: + return false; + } + continue; + IL_0052: + num = -498234614; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryConfirmDialog(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(2048825811), out addonPtr) ? 2047386500 : 2047386499); + AtkUnitBase* addonPtr2 = default(AtkUnitBase*); + while (true) + { + int num2 = num; + int num3 = 2047386496; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + AddonCallback.ClickYes(addonPtr2); + return true; + case 3: + return false; + case 4: + num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(423301839), out addonPtr2) ? 2047386498 : 2047386497); + break; + case 1: + return false; + case 0: + num = 2047386499; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static string DescribeRepairAddon(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-469715628), out addonPtr) ? 1483181869 : 1483181871); + AtkComponentButton* repairAllButton = default(AtkComponentButton*); + while (true) + { + int num2 = num; + int num3 = 1483181870; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + string text; + string value; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1483181871; + break; + case 3: + repairAllButton = ((AddonRepair*)addonPtr)->RepairAllButton; + num = ((repairAllButton == null) ? 1483181864 : 1483181866); + break; + case 1: + return global::_003CModule_003E._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(1020358053); + case 0: + text = global::_003CModule_003E._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(1832920714); + goto IL_00eb; + case 5: + text = global::_003CModule_003E._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(120055411); + goto IL_00eb; + case 6: + text = global::_003CModule_003E._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(2048905668); + goto IL_00eb; + case 4: + { + num = (repairAllButton->IsEnabled ? 1483181867 : 1483181870); + break; + } + IL_00eb: + value = text; + defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(44, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-734034791)); + defaultInterpolatedStringHandler.AppendFormatted(addonPtr->IsVisible); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-199296985)); + defaultInterpolatedStringHandler.AppendFormatted(LAddon.IsAddonReady(addonPtr)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1116769434)); + defaultInterpolatedStringHandler.AppendFormatted(value); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryCloseRepairWindow(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(1033968236), out addonPtr) ? (-405897678) : (-405897677)); + while (true) + { + int num2 = num; + int num3 = -405897678; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0052; + case 0: + addonPtr->Close(fireCallback: true); + return true; + case 1: + return false; + } + continue; + IL_0052: + num = -405897677; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TrySelectRepairFromMenu(IGameGui gameGui, int repairIndex) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetReadyAddon(global::_003CModule_003E._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(-779772561), out addonPtr) ? 1787787027 : 1787787024); + while (true) + { + int num2 = num; + int num3 = 1787787025; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 1: + return false; + case 2: + AddonCallback.FireWithUpdate(addonPtr, repairIndex); + return true; + } + continue; + IL_0052: + num = 1787787024; + } + } + + public static int? FindRepairIndex(IDataManager dataManager, uint npcBaseId) + { + ENpcBase row; + int num = (dataManager.GetExcelSheet().TryGetRow(npcBaseId, out row) ? (-1361038007) : (-1361038008)); + int num5 = default(int); + while (true) + { + int num2 = num; + int num3 = -1361038006; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = -1361038003; + break; + } + case 2: + return null; + case 3: + num5 = 0; + num = -1361038003; + break; + case 1: + num = ((row.ENpcData[num5].RowId != 720915) ? (-1361038004) : (-1361038002)); + break; + case 7: + num = ((num5 < row.ENpcData.Count) ? (-1361038005) : (-1361038001)); + break; + case 4: + return num5; + case 0: + num = -1361038008; + break; + case 5: + return null; + } + } + } + + public static bool CanSelfRepairItem(uint itemId, IDataManager dataManager, Func jobLevelLookup) + { + Item row; + int num = (dataManager.GetExcelSheet().TryGetRow(itemId, out row) ? 1632671578 : 1632671580); + uint rowId = default(uint); + uint num7 = default(uint); + while (true) + { + int num2 = num; + int num3 = 1632671577; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + return false; + case 6: + { + byte num8 = jobLevelLookup(rowId); + int num9 = _206E_206F_206E_202B_202E_202E_206A_202A_202B_200F_206E_200D_200F_206C_200B_206D_206D_202E_200D_200B_200D_206C_200D_202E_206F_202B_206C_206B_206B_206B_200D_202B_206C_200F_202B_206E_202C_206C_202B_202A_202E(row.LevelEquip - 10, 1); + num = ((num8 >= num9) ? 1632671576 : 1632671581); + break; + } + case 0: + return HasDarkMatterOrBetter(dataManager, num7); + case 5: + return false; + case 2: + return false; + case 4: + return false; + case 3: + rowId = row.ClassJobRepair.RowId; + num = ((rowId != 0) ? 1632671583 : 1632671579); + break; + case 8: + num = 1632671580; + break; + case 1: + num7 = row.ItemRepair.ValueNullable?.Item.RowId ?? 0; + num = ((num7 != 0) ? 1632671577 : 1632671582); + break; + } + } + } + + public unsafe static bool CanSelfRepairAny(IDataManager dataManager, Func jobLevelLookup, int thresholdPercent = 100) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? 1849138139 : 1849138142); + int num7 = default(int); + InventoryItem* inventorySlot = default(InventoryItem*); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + while (true) + { + int num2 = num; + int num3 = 1849138143; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return true; + case 9: + num7 = 0; + num = 1849138140; + break; + case 5: + num = ((!CanSelfRepairItem(inventorySlot->ItemId, dataManager, jobLevelLookup)) ? 1849138131 : 1849138143); + break; + case 2: + num = 1849138142; + break; + case 7: + inventorySlot = inventoryContainer->GetInventorySlot(num7); + num = ((inventorySlot == null) ? 1849138131 : 1849138132); + break; + case 10: + return false; + case 6: + num = ((inventorySlot->Condition * 100 / 30000 >= thresholdPercent) ? 1849138131 : 1849138138); + break; + case 11: + num = ((inventorySlot->ItemId == 0) ? 1849138131 : 1849138137); + break; + case 8: + return false; + case 12: + { + int num8 = num7; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num7 = num9 + (num10 + num10); + num = 1849138140; + break; + } + case 3: + num = ((num7 < inventoryContainer->Size) ? 1849138136 : 1849138133); + break; + case 4: + inventoryContainer = ptr->GetInventoryContainer(InventoryType.EquippedItems); + num = ((inventoryContainer != null) ? 1849138134 : 1849138135); + break; + case 1: + return false; + } + } + } + + private unsafe static bool HasDarkMatterOrBetter(IDataManager dataManager, uint requiredItemId) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? (-248963167) : (-248963166)); + ItemRepairResource current = default(ItemRepairResource); + while (true) + { + int num2 = num; + int num3 = -248963165; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0054; + case 1: + return false; + case 2: + { + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + bool flag = false; + using (ExcelSheet.Enumerator enumerator = excelSheet.GetEnumerator()) + { + num = 975190741; + while (true) + { + int num7 = num; + num3 = 975190742; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 3: + num = (enumerator.MoveNext() ? 975190743 : 975190742); + break; + case 6: + flag = true; + num = 975190737; + break; + case 1: + current = enumerator.Current; + num = ((current.Item.RowId != requiredItemId) ? 975190737 : 975190736); + break; + case 5: + num = ((ptr->GetInventoryItemCount(current.Item.RowId, isHq: false, checkEquipped: true, checkArmory: true, 0) <= 0) ? 975190741 : 975190740); + break; + case 4: + num = 975190741; + break; + case 7: + num = ((!flag) ? 975190741 : 975190739); + break; + case 2: + return true; + case 0: + goto end_IL_0086; + } + continue; + end_IL_0086: + break; + } + } + return false; + } + } + continue; + IL_0054: + num = -248963166; + } + } + + static int _206E_206F_206E_202B_202E_202E_206A_202A_202B_200F_206E_200D_200F_206C_200B_206D_206D_202E_200D_200B_200D_206C_200D_202E_206F_202B_206C_206B_206B_206B_200D_202B_206C_200F_202B_206E_202C_206C_202B_202A_202E(int P_0, int P_1) + { + return Math.Max(P_0, P_1); + } +} diff --git a/LLib/LLib.Gear/SlotCondition.cs b/LLib/LLib.Gear/SlotCondition.cs new file mode 100644 index 00000000..196ad6a8 --- /dev/null +++ b/LLib/LLib.Gear/SlotCondition.cs @@ -0,0 +1,106 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace LLib.Gear; + +public readonly record struct SlotCondition(int SlotIndex, uint ItemId, int ConditionPercent) +{ + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200E_202C_206F_200F_200F_200E_202B_202C_206F_206B_200D_206B_206C_202B_200D_200F_206D_200E_200C_200E_206A_206D_206D_202E_206A_202D_206B_206C_206D_200D_200F_202B_206D_202D_202B_200B_202C_200C_206B_206C_202E(); + _202E_206A_200B_200C_206E_200D_206F_206C_206E_202B_200D_202D_206D_200B_206F_206A_206A_202A_206F_206B_206B_202A_206D_206C_202D_206C_202B_206F_200F_206D_202D_200E_206E_202D_200F_202B_206F_200E_202B_202C_202E(stringBuilder, global::_003CModule_003E._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(401739836)); + _202E_206A_200B_200C_206E_200D_206F_206C_206E_202B_200D_202D_206D_200B_206F_206A_206A_202A_206F_206B_206B_202A_206D_206C_202D_206C_202B_206F_200F_206D_202D_200E_206E_202D_200F_202B_206F_200E_202B_202C_202E(stringBuilder, global::_003CModule_003E._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(1148273145)); + int num = ((!PrintMembers(stringBuilder)) ? (-272952950) : (-272952951)); + while (true) + { + int num2 = num; + int num3 = -272952952; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _200D_202E_200E_202A_200E_206F_206E_202B_206D_202D_206E_200C_200D_200B_200E_206A_200F_206D_206F_202B_202D_200D_202C_206C_200F_206A_202E_206E_202A_202B_200C_202C_206C_200B_202B_200C_206A_200E_206A_206F_202E(stringBuilder, '}'); + return _206D_206E_206B_206B_202B_206F_202D_200E_200C_206D_200D_200F_200D_202D_202E_206A_200E_206D_200E_206C_200E_206F_206F_202E_200F_202E_202D_206B_200D_206D_200D_202C_206D_200D_200C_206E_202A_202B_202D_202E_202E((object)stringBuilder); + case 1: + _200D_202E_200E_202A_200E_206F_206E_202B_206D_202D_206E_200C_200D_200B_200E_206A_200F_206D_206F_202B_202D_200D_202C_206C_200F_206A_202E_206E_202A_202B_200C_202C_206C_200B_202B_200C_206A_200E_206A_206F_202E(stringBuilder, ' '); + num = -272952950; + break; + case 0: + num = -272952951; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_206A_200B_200C_206E_200D_206F_206C_206E_202B_200D_202D_206D_200B_206F_206A_206A_202A_206F_206B_206B_202A_206D_206C_202D_206C_202B_206F_200F_206D_202D_200E_206E_202D_200F_202B_206F_200E_202B_202C_202E(builder, global::_003CModule_003E._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(-578928888)); + _202E_206A_200B_200C_206E_200D_206F_206C_206E_202B_200D_202D_206D_200B_206F_206A_206A_202A_206F_206B_206B_202A_206D_206C_202D_206C_202B_206F_200F_206D_202D_200E_206E_202D_200F_202B_206F_200E_202B_202C_202E(builder, SlotIndex.ToString()); + _202E_206A_200B_200C_206E_200D_206F_206C_206E_202B_200D_202D_206D_200B_206F_206A_206A_202A_206F_206B_206B_202A_206D_206C_202D_206C_202B_206F_200F_206D_202D_200E_206E_202D_200F_202B_206F_200E_202B_202C_202E(builder, global::_003CModule_003E._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(466953188)); + _202E_206A_200B_200C_206E_200D_206F_206C_206E_202B_200D_202D_206D_200B_206F_206A_206A_202A_206F_206B_206B_202A_206D_206C_202D_206C_202B_206F_200F_206D_202D_200E_206E_202D_200F_202B_206F_200E_202B_202C_202E(builder, ItemId.ToString()); + _202E_206A_200B_200C_206E_200D_206F_206C_206E_202B_200D_202D_206D_200B_206F_206A_206A_202A_206F_206B_206B_202A_206D_206C_202D_206C_202B_206F_200F_206D_202D_200E_206E_202D_200F_202B_206F_200E_202B_202C_202E(builder, global::_003CModule_003E._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(-1004296737)); + _202E_206A_200B_200C_206E_200D_206F_206C_206E_202B_200D_202D_206D_200B_206F_206A_206A_202A_206F_206B_206B_202A_206D_206C_202D_206C_202B_206F_200F_206D_202D_200E_206E_202D_200F_202B_206F_200E_202B_202C_202E(builder, ConditionPercent.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(SlotCondition other) + { + int num = ((!EqualityComparer.Default.Equals(SlotIndex, other.SlotIndex)) ? (-1584065341) : (-1584065343)); + while (true) + { + int num2 = num; + int num3 = -1584065344; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1584065343; + break; + case 1: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? (-1584065341) : (-1584065342)); + break; + case 2: + return EqualityComparer.Default.Equals(ConditionPercent, other.ConditionPercent); + case 3: + return false; + } + } + } + + bool IEquatable.Equals(SlotCondition other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _200E_202C_206F_200F_200F_200E_202B_202C_206F_206B_200D_206B_206C_202B_200D_200F_206D_200E_200C_200E_206A_206D_206D_202E_206A_202D_206B_206C_206D_200D_200F_202B_206D_202D_202B_200B_202C_200C_206B_206C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_206A_200B_200C_206E_200D_206F_206C_206E_202B_200D_202D_206D_200B_206F_206A_206A_202A_206F_206B_206B_202A_206D_206C_202D_206C_202B_206F_200F_206D_202D_200E_206E_202D_200F_202B_206F_200E_202B_202C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_202E_200E_202A_200E_206F_206E_202B_206D_202D_206E_200C_200D_200B_200E_206A_200F_206D_206F_202B_202D_200D_202C_206C_200F_206A_202E_206E_202A_202B_200C_202C_206C_200B_202B_200C_206A_200E_206A_206F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206D_206E_206B_206B_202B_206F_202D_200E_200C_206D_200D_200F_200D_202D_202E_206A_200E_206D_200E_206C_200E_206F_206F_202E_200F_202E_202D_206B_200D_206D_200D_202C_206D_200D_200C_206E_202A_202B_202D_202E_202E(object P_0) + { + return P_0.ToString(); + } +} diff --git a/LLib/LLib.Gear/SlotSpiritbond.cs b/LLib/LLib.Gear/SlotSpiritbond.cs new file mode 100644 index 00000000..11f8932e --- /dev/null +++ b/LLib/LLib.Gear/SlotSpiritbond.cs @@ -0,0 +1,109 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace LLib.Gear; + +public readonly record struct SlotSpiritbond(int SlotIndex, uint ItemId, int SpiritbondPercent, bool IsReady) +{ + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202D_206C_206D_200D_206C_206F_200B_202A_200D_200D_202B_202D_206E_202C_202D_200B_206A_206C_200E_200F_206A_202B_202A_200F_202E_202E_206B_202A_206C_202C_206C_206C_200E_202D_206B_206A_206E_202C_200F_202B_202E(); + _202D_202D_206E_202B_202C_200F_202E_206F_202A_206F_206E_200E_206A_202C_206D_202E_200F_206A_200C_202E_200F_206F_202B_202A_206B_202C_200E_200C_200D_200C_200B_200E_200F_202D_206A_202B_200D_206C_202D_202C_202E(stringBuilder, global::_003CModule_003E._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(2109045036)); + _202D_202D_206E_202B_202C_200F_202E_206F_202A_206F_206E_200E_206A_202C_206D_202E_200F_206A_200C_202E_200F_206F_202B_202A_206B_202C_200E_200C_200D_200C_200B_200E_200F_202D_206A_202B_200D_206C_202D_202C_202E(stringBuilder, global::_003CModule_003E._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(579144622)); + int num = ((!PrintMembers(stringBuilder)) ? (-2119618883) : (-2119618882)); + while (true) + { + int num2 = num; + int num3 = -2119618881; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -2119618882; + break; + case 1: + _202E_200F_206D_202D_206A_206B_206E_202E_200D_200F_200C_206D_206E_200C_200C_206A_200D_200B_202B_206E_200C_200C_202A_202A_200F_206C_200C_206D_206C_202C_200B_200C_200C_200C_202C_200D_206F_200B_206A_206C_202E(stringBuilder, ' '); + num = -2119618883; + break; + case 2: + _202E_200F_206D_202D_206A_206B_206E_202E_200D_200F_200C_206D_206E_200C_200C_206A_200D_200B_202B_206E_200C_200C_202A_202A_200F_206C_200C_206D_206C_202C_200B_200C_200C_200C_202C_200D_206F_200B_206A_206C_202E(stringBuilder, '}'); + return _202E_206B_202D_206B_200C_200E_202E_206B_202B_202C_202E_206A_206F_206F_206F_202E_206F_200D_206D_200B_200E_202A_206B_206C_200D_206B_202B_206B_206D_202C_200C_202D_200D_202B_202C_200E_200E_206E_200F_206A_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202D_202D_206E_202B_202C_200F_202E_206F_202A_206F_206E_200E_206A_202C_206D_202E_200F_206A_200C_202E_200F_206F_202B_202A_206B_202C_200E_200C_200D_200C_200B_200E_200F_202D_206A_202B_200D_206C_202D_202C_202E(builder, global::_003CModule_003E._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(-78434179)); + _202D_202D_206E_202B_202C_200F_202E_206F_202A_206F_206E_200E_206A_202C_206D_202E_200F_206A_200C_202E_200F_206F_202B_202A_206B_202C_200E_200C_200D_200C_200B_200E_200F_202D_206A_202B_200D_206C_202D_202C_202E(builder, SlotIndex.ToString()); + _202D_202D_206E_202B_202C_200F_202E_206F_202A_206F_206E_200E_206A_202C_206D_202E_200F_206A_200C_202E_200F_206F_202B_202A_206B_202C_200E_200C_200D_200C_200B_200E_200F_202D_206A_202B_200D_206C_202D_202C_202E(builder, global::_003CModule_003E._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(-1773173997)); + _202D_202D_206E_202B_202C_200F_202E_206F_202A_206F_206E_200E_206A_202C_206D_202E_200F_206A_200C_202E_200F_206F_202B_202A_206B_202C_200E_200C_200D_200C_200B_200E_200F_202D_206A_202B_200D_206C_202D_202C_202E(builder, ItemId.ToString()); + _202D_202D_206E_202B_202C_200F_202E_206F_202A_206F_206E_200E_206A_202C_206D_202E_200F_206A_200C_202E_200F_206F_202B_202A_206B_202C_200E_200C_200D_200C_200B_200E_200F_202D_206A_202B_200D_206C_202D_202C_202E(builder, global::_003CModule_003E._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(1225522819)); + _202D_202D_206E_202B_202C_200F_202E_206F_202A_206F_206E_200E_206A_202C_206D_202E_200F_206A_200C_202E_200F_206F_202B_202A_206B_202C_200E_200C_200D_200C_200B_200E_200F_202D_206A_202B_200D_206C_202D_202C_202E(builder, SpiritbondPercent.ToString()); + _202D_202D_206E_202B_202C_200F_202E_206F_202A_206F_206E_200E_206A_202C_206D_202E_200F_206A_200C_202E_200F_206F_202B_202A_206B_202C_200E_200C_200D_200C_200B_200E_200F_202D_206A_202B_200D_206C_202D_202C_202E(builder, global::_003CModule_003E._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(1842281916)); + _202D_202D_206E_202B_202C_200F_202E_206F_202A_206F_206E_200E_206A_202C_206D_202E_200F_206A_200C_202E_200F_206F_202B_202A_206B_202C_200E_200C_200D_200C_200B_200E_200F_202D_206A_202B_200D_206C_202D_202C_202E(builder, IsReady.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(SlotSpiritbond other) + { + int num = ((!EqualityComparer.Default.Equals(SlotIndex, other.SlotIndex)) ? (-364855096) : (-364855094)); + while (true) + { + int num2 = num; + int num3 = -364855096; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((!EqualityComparer.Default.Equals(SpiritbondPercent, other.SpiritbondPercent)) ? (-364855096) : (-364855093)); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? (-364855096) : (-364855095)); + break; + case 4: + num = -364855094; + break; + case 0: + return false; + case 3: + return EqualityComparer.Default.Equals(IsReady, other.IsReady); + } + } + } + + bool IEquatable.Equals(SlotSpiritbond other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _202D_206C_206D_200D_206C_206F_200B_202A_200D_200D_202B_202D_206E_202C_202D_200B_206A_206C_200E_200F_206A_202B_202A_200F_202E_202E_206B_202A_206C_202C_206C_206C_200E_202D_206B_206A_206E_202C_200F_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202D_202D_206E_202B_202C_200F_202E_206F_202A_206F_206E_200E_206A_202C_206D_202E_200F_206A_200C_202E_200F_206F_202B_202A_206B_202C_200E_200C_200D_200C_200B_200E_200F_202D_206A_202B_200D_206C_202D_202C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202E_200F_206D_202D_206A_206B_206E_202E_200D_200F_200C_206D_206E_200C_200C_206A_200D_200B_202B_206E_200C_200C_202A_202A_200F_206C_200C_206D_206C_202C_200B_200C_200C_200C_202C_200D_206F_200B_206A_206C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202E_206B_202D_206B_200C_200E_202E_206B_202B_202C_202E_206A_206F_206F_206F_202E_206F_200D_206D_200B_200E_202A_206B_206C_200D_206B_202B_206B_206D_202C_200C_202D_200D_202B_202C_200E_200E_206E_200F_206A_202E(object P_0) + { + return P_0.ToString(); + } +} diff --git a/LLib/LLib.Gear/StatInfo.cs b/LLib/LLib.Gear/StatInfo.cs index d9080e8c..2949a1f8 100644 --- a/LLib/LLib.Gear/StatInfo.cs +++ b/LLib/LLib.Gear/StatInfo.cs @@ -1,6 +1,147 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + namespace LLib.Gear; public sealed record StatInfo(short EquipmentValue, short MateriaValue, bool Overcapped) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_200D_206E_200F_202B_200B_200B_206C_206A_202A_202A_206B_200D_202B_206E_206C_202B_200D_206B_206E_206F_200B_206B_206A_200D_202A_206C_202C_206F_206E_200F_202B_200D_202E_206E_206A_206C_200F_202B_202D_202E(typeof(StatInfo).TypeHandle); + } + } + public short TotalValue => (short)(EquipmentValue + MateriaValue); + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202B_202A_202C_200D_202C_200C_200F_200F_206A_206A_200E_202A_200D_202D_206B_206E_200E_202B_202A_200C_202B_206A_206C_202C_206D_202B_206E_202D_200D_206A_202A_206A_200C_200E_206A_206E_206E_202E_200F_202D_202E(); + _200C_202A_206E_202A_206A_202E_202D_200E_202A_202A_200F_200F_206F_202D_200C_202C_200E_206F_202A_202D_200D_200B_202E_206E_206A_206E_206B_200B_200E_200C_202D_202D_202C_206C_200F_206A_200B_200B_202C_206F_202E(stringBuilder, global::_003CModule_003E._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(-1952140969)); + _200C_202A_206E_202A_206A_202E_202D_200E_202A_202A_200F_200F_206F_202D_200C_202C_200E_206F_202A_202D_200D_200B_202E_206E_206A_206E_206B_200B_200E_200C_202D_202D_202C_206C_200F_206A_200B_200B_202C_206F_202E(stringBuilder, global::_003CModule_003E._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(579144622)); + int num = ((!PrintMembers(stringBuilder)) ? 1013311267 : 1013311264); + while (true) + { + int num2 = num; + int num3 = 1013311266; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1013311264; + break; + case 2: + _200C_206C_202D_200D_200C_202E_200F_202C_206A_206A_206A_200C_206C_206C_206F_202E_202B_200D_200B_202C_202D_206F_200F_202E_206B_202E_200D_200D_206E_202D_202E_206D_206C_200C_200E_200F_206D_206F_200E_200D_202E(stringBuilder, ' '); + num = 1013311267; + break; + case 1: + _200C_206C_202D_200D_200C_202E_200F_202C_206A_206A_206A_200C_206C_206C_206F_202E_202B_200D_200B_202C_202D_206F_200F_202E_206B_202E_200D_200D_206E_202D_202E_206D_206C_200C_200E_200F_206D_206F_200E_200D_202E(stringBuilder, '}'); + return _202A_200B_206C_200E_206C_202B_202D_206F_206B_202A_200D_200F_202D_200D_202B_202A_200F_200D_200E_202B_202C_202B_202A_200F_206E_206C_206F_202E_206D_202D_202B_200C_202D_200B_202B_202A_200B_206F_200F_206E_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_206C_202B_206D_206F_206C_206D_202C_202D_206E_200D_200B_200E_206E_200B_200B_200E_206D_206D_200E_202E_202C_206F_202D_206C_206E_206F_206C_206A_206A_200E_206F_206E_206F_206A_200C_206A_206F_206D_200F_202E(); + _200C_202A_206E_202A_206A_202E_202D_200E_202A_202A_200F_200F_206F_202D_200C_202C_200E_206F_202A_202D_200D_200B_202E_206E_206A_206E_206B_200B_200E_200C_202D_202D_202C_206C_200F_206A_200B_200B_202C_206F_202E(builder, global::_003CModule_003E._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(771577716)); + _200C_202A_206E_202A_206A_202E_202D_200E_202A_202A_200F_200F_206F_202D_200C_202C_200E_206F_202A_202D_200D_200B_202E_206E_206A_206E_206B_200B_200E_200C_202D_202D_202C_206C_200F_206A_200B_200B_202C_206F_202E(builder, EquipmentValue.ToString()); + _200C_202A_206E_202A_206A_202E_202D_200E_202A_202A_200F_200F_206F_202D_200C_202C_200E_206F_202A_202D_200D_200B_202E_206E_206A_206E_206B_200B_200E_200C_202D_202D_202C_206C_200F_206A_200B_200B_202C_206F_202E(builder, global::_003CModule_003E._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(1148322998)); + _200C_202A_206E_202A_206A_202E_202D_200E_202A_202A_200F_200F_206F_202D_200C_202C_200E_206F_202A_202D_200D_200B_202E_206E_206A_206E_206B_200B_200E_200C_202D_202D_202C_206C_200F_206A_200B_200B_202C_206F_202E(builder, MateriaValue.ToString()); + _200C_202A_206E_202A_206A_202E_202D_200E_202A_202A_200F_200F_206F_202D_200C_202C_200E_206F_202A_202D_200D_200B_202E_206E_206A_206E_206B_200B_200E_200C_202D_202D_202C_206C_200F_206A_200B_200B_202C_206F_202E(builder, global::_003CModule_003E._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(2107946747)); + _200C_202A_206E_202A_206A_202E_202D_200E_202A_202A_200F_200F_206F_202D_200C_202C_200E_206F_202A_202D_200D_200B_202E_206E_206A_206E_206B_200B_200E_200C_202D_202D_202C_206C_200F_206A_200B_200B_202C_206F_202E(builder, Overcapped.ToString()); + _200C_202A_206E_202A_206A_202E_202D_200E_202A_202A_200F_200F_206F_202D_200C_202C_200E_206F_202A_202D_200D_200B_202E_206E_206A_206E_206B_200B_200E_200C_202D_202D_202C_206C_200F_206A_200B_200B_202C_206F_202E(builder, global::_003CModule_003E._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(-2076013549)); + _200C_202A_206E_202A_206A_202E_202D_200E_202A_202A_200F_200F_206F_202D_200C_202C_200E_206F_202A_202D_200D_200B_202E_206E_206A_206E_206B_200B_200E_200C_202D_202D_202C_206C_200F_206A_200B_200B_202C_206F_202E(builder, TotalValue.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(StatInfo? other) + { + int num = (((object)this == other) ? 1623034008 : 1623034013); + while (true) + { + int num2 = num; + int num3 = 1623034015; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + return true; + case 2: + num = (((object)other == null) ? 1623034011 : 1623034010); + break; + case 4: + return false; + case 0: + num = 1623034013; + break; + case 6: + return EqualityComparer.Default.Equals(Overcapped, other.Overcapped); + case 1: + num = ((!EqualityComparer.Default.Equals(EquipmentValue, other.EquipmentValue)) ? 1623034011 : 1623034012); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(MateriaValue, other.MateriaValue)) ? 1623034011 : 1623034009); + break; + case 5: + num = ((!_202A_202C_206E_202E_206B_202B_202E_200B_200D_200E_200C_206D_206A_200D_206D_202B_206C_202E_206B_202D_206E_206F_206C_206A_202C_202B_206D_200B_200C_200C_200C_202D_206D_200C_206F_206D_206E_206B_200F_202E(EqualityContract, other.EqualityContract)) ? 1623034011 : 1623034014); + break; + } + } + } + + bool IEquatable.Equals(StatInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_200D_206E_200F_202B_200B_200B_206C_206A_202A_202A_206B_200D_202B_206E_206C_202B_200D_206B_206E_206F_200B_206B_206A_200D_202A_206C_202C_206F_206E_200F_202B_200D_202E_206E_206A_206C_200F_202B_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202B_202A_202C_200D_202C_200C_200F_200F_206A_206A_200E_202A_200D_202D_206B_206E_200E_202B_202A_200C_202B_206A_206C_202C_206D_202B_206E_202D_200D_206A_202A_206A_200C_200E_206A_206E_206E_202E_200F_202D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200C_202A_206E_202A_206A_202E_202D_200E_202A_202A_200F_200F_206F_202D_200C_202C_200E_206F_202A_202D_200D_200B_202E_206E_206A_206E_206B_200B_200E_200C_202D_202D_202C_206C_200F_206A_200B_200B_202C_206F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200C_206C_202D_200D_200C_202E_200F_202C_206A_206A_206A_200C_206C_206C_206F_202E_202B_200D_200B_202C_202D_206F_200F_202E_206B_202E_200D_200D_206E_202D_202E_206D_206C_200C_200E_200F_206D_206F_200E_200D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202A_200B_206C_200E_206C_202B_202D_206F_206B_202A_200D_200F_202D_200D_202B_202A_200F_200D_200E_202B_202C_202B_202A_200F_206E_206C_206F_202E_206D_202D_202B_200C_202D_200B_202B_202A_200B_206F_200F_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206D_206C_202B_206D_206F_206C_206D_202C_202D_206E_200D_200B_200E_206E_200B_200B_200E_206D_206D_200E_202E_202C_206F_202D_206C_206E_206F_206C_206A_206A_200E_206F_206E_206F_206A_200C_206A_206F_206D_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _202A_202C_206E_202E_206B_202B_202E_200B_200D_200E_200C_206D_206A_200D_206D_202B_206C_202E_206B_202D_206E_206F_206C_206A_202C_202B_206D_200B_200C_200C_200C_202D_206D_200C_206F_206D_206E_206B_200F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } } diff --git a/LLib/LLib.Gear/StatPriority.cs b/LLib/LLib.Gear/StatPriority.cs new file mode 100644 index 00000000..765f623b --- /dev/null +++ b/LLib/LLib.Gear/StatPriority.cs @@ -0,0 +1,244 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +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; + IEnumerator> enumerator = _weights.GetEnumerator(); + try + { + int num2 = -280188401; + EBaseParam param = default(EBaseParam); + float num6 = default(float); + while (true) + { + int num3 = num2; + int num4 = -280188405; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -280188401; + break; + case 2: + { + enumerator.Current.Deconstruct(out var key, out var value); + param = key; + num6 = value; + num2 = ((num6 == 0f) ? (-280188401) : (-280188406)); + break; + } + case 1: + num += (float)stats.Get(param) * num6; + num2 = -280188401; + break; + case 4: + num2 = (_202C_206A_206A_200E_202C_206E_206B_200B_206A_202B_202C_206A_206B_200F_206A_206D_200C_206D_202E_200F_206B_206C_206E_202A_200B_206D_202B_202A_202C_202A_206B_206C_202D_206D_202E_206F_200C_202D_200D_206F_202E((IEnumerator)enumerator) ? (-280188407) : (-280188408)); + break; + case 3: + return num; + } + } + } + finally + { + int num2 = ((enumerator == null) ? (-1972077866) : (-1972077865)); + while (true) + { + int num7 = num2; + int num4 = -1972077866; + int num5 = num7; + int num8 = num5 + num4; + int num9 = num5 & num4; + switch (num8 - (num9 + num9)) + { + case 2: + num2 = -1972077865; + break; + case 0: + goto end_IL_00f9; + case 1: + _206B_200F_206A_200C_200F_202A_200C_206A_206F_200D_206A_206C_206A_206C_202C_202C_202A_206E_206B_202D_202E_200F_202D_206D_206E_206D_206B_200F_200D_206B_200D_202B_202A_206F_202D_206D_206C_200B_200F_206C_202E((IDisposable)enumerator); + num2 = -1972077866; + break; + } + continue; + end_IL_00f9: + break; + } + } + } + + public static StatPriority ForJob(EClassJob job) + { + EBaseParam[] relevantParams = GetRelevantParams(job); + Dictionary dictionary = new Dictionary(relevantParams.Length); + EBaseParam[] array = relevantParams; + int num = 0; + int num2 = 1591763655; + while (true) + { + int num3 = num2; + int num4 = 1591763652; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = 1591763655; + break; + case 2: + { + EBaseParam key = array[num]; + dictionary[key] = 1f; + int num8 = num; + num4 = 1; + num5 = num8; + num = (num5 | num4) + (num5 & num4); + num2 = 1591763655; + break; + } + case 1: + return new StatPriority(dictionary); + case 3: + num2 = ((num < array.Length) ? 1591763654 : 1591763653); + break; + } + } + } + + private static EBaseParam[] GetRelevantParams(EClassJob job) + { + int num = ((!job.IsCrafter()) ? 1757392226 : 1757392244); + bool flag = default(bool); + bool flag2 = default(bool); + while (true) + { + int num2 = num; + int num3 = 1757392228; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + { + EBaseParam[] array4 = new EBaseParam[5]; + _206A_202D_202E_200E_206C_206D_202E_206E_200B_202A_206C_206E_206E_200F_202C_202B_206C_200F_202C_202C_206E_200B_202A_202C_202C_206C_206F_202E_206B_206D_202D_206D_202D_200E_206C_200C_200E_206C_206B_206A_202E((Array)array4, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + return array4; + } + case 16: + { + EBaseParam[] array = new EBaseParam[3]; + _206A_202D_202E_200E_206C_206D_202E_206E_200B_202A_206C_206E_206E_200F_202C_202B_206C_200F_202C_202C_206E_200B_202A_202C_202C_206C_206F_202E_206B_206D_202D_206D_202D_200E_206C_200C_200E_206C_206B_206A_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + return array; + } + case 14: + { + EBaseParam[] array6 = new EBaseParam[5]; + _206A_202D_202E_200E_206C_206D_202E_206E_200B_202A_206C_206E_206E_200F_202C_202B_206C_200F_202C_202C_206E_200B_202A_202C_202C_206C_206F_202E_206B_206D_202D_206D_202D_200E_206C_200C_200E_206C_206B_206A_202E((Array)array6, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + return array6; + } + case 2: + num = ((job - 29 <= EClassJob.Gladiator) ? 1757392232 : 1757392225); + break; + case 9: + { + EBaseParam[] array7 = new EBaseParam[5]; + _206A_202D_202E_200E_206C_206D_202E_206E_200B_202A_206C_206E_206E_200F_202C_202B_206C_200F_202C_202C_206E_200B_202A_202C_202C_206C_206F_202E_206B_206D_202D_206D_202D_200E_206C_200C_200E_206C_206B_206A_202E((Array)array7, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + return array7; + } + case 13: + num = ((!job.IsTank()) ? 1757392239 : 1757392227); + break; + case 19: + { + EBaseParam[] array3 = new EBaseParam[5]; + _206A_202D_202E_200E_206C_206D_202E_206E_200B_202A_206C_206E_206E_200F_202C_202B_206C_200F_202C_202C_206E_200B_202A_202C_202C_206C_206F_202E_206B_206D_202D_206D_202D_200E_206C_200C_200E_206C_206B_206A_202E((Array)array3, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + return array3; + } + case 8: + flag = flag2; + num = 1757392229; + break; + case 4: + { + EBaseParam[] array2 = new EBaseParam[3]; + _206A_202D_202E_200E_206C_206D_202E_206E_200B_202A_206C_206E_206E_200F_202C_202B_206C_200F_202C_202C_206E_200B_202A_202C_202C_206C_206F_202E_206B_206D_202D_206D_202D_200E_206C_200C_200E_206C_206B_206A_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + return array2; + } + case 3: + flag2 = false; + num = 1757392236; + break; + case 18: + num = 1757392244; + break; + case 5: + num = ((job != EClassJob.Viper) ? 1757392231 : 1757392232); + break; + case 17: + num = ((!job.IsCaster()) ? 1757392235 : 1757392228); + break; + case 15: + return Array.Empty(); + case 7: + { + EBaseParam[] array5 = new EBaseParam[7]; + _206A_202D_202E_200E_206C_206D_202E_206E_200B_202A_206C_206E_206E_200F_202C_202B_206C_200F_202C_202C_206E_200B_202A_202C_202C_206C_206F_202E_206B_206D_202D_206D_202D_200E_206C_200C_200E_206C_206B_206A_202E((Array)array5, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + return array5; + } + case 10: + num = ((!job.IsMelee()) ? 1757392245 : 1757392237); + break; + case 12: + flag2 = true; + num = 1757392236; + break; + case 1: + num = ((!flag) ? 1757392238 : 1757392247); + break; + case 11: + flag = job.IsPhysicalRanged(); + num = (flag ? 1757392229 : 1757392230); + break; + case 6: + num = ((!job.IsGatherer()) ? 1757392240 : 1757392224); + break; + case 20: + num = ((!job.IsHealer()) ? 1757392233 : 1757392234); + break; + } + } + } + + static bool _202C_206A_206A_200E_202C_206E_206B_200B_206A_202B_202C_206A_206B_200F_206A_206D_200C_206D_202E_200F_206B_206C_206E_202A_200B_206D_202B_202A_202C_202A_206B_206C_202D_206D_202E_206F_200C_202D_200D_206F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206B_200F_206A_200C_200F_202A_200C_206A_206F_200D_206A_206C_206A_206C_202C_202C_202A_206E_206B_202D_202E_200F_202D_206D_206E_206D_206B_200F_200D_206B_200D_202B_202A_206F_202D_206D_206C_200B_200F_206C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _206A_202D_202E_200E_206C_206D_202E_206E_200B_202A_206C_206E_206E_200F_202C_202B_206C_200F_202C_202C_206E_200B_202A_202C_202C_206C_206F_202E_206B_206D_202D_206D_202D_200E_206C_200C_200E_206C_206B_206A_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } +} diff --git a/LLib/LLib.ImGui/IEditablePolygonSet.cs b/LLib/LLib.ImGui/IEditablePolygonSet.cs new file mode 100644 index 00000000..11b3dd1d --- /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 6a3ad29d..e2d2256a 100644 --- a/LLib/LLib.ImGui/LWindow.cs +++ b/LLib/LLib.ImGui/LWindow.cs @@ -1,3 +1,4 @@ +using System; using Dalamud.Bindings.ImGui; using Dalamud.Interface.Windowing; @@ -9,9 +10,7 @@ public abstract class LWindow : Window private bool _wasCollapsedLastFrame; - protected bool ClickedHeaderLastFrame { get; private set; } - - protected bool ClickedHeaderCurrentFrame { get; private set; } + private bool _closeRequested; protected bool UncollapseNextFrame { get; set; } @@ -19,15 +18,29 @@ public abstract class LWindow : Window { get { - if (base.IsOpen) + int num = ((!_202C_202D_206F_200C_202D_202E_200B_200E_206C_206A_200F_200F_202D_200D_200C_200B_200E_202C_200E_206C_200E_206D_202B_200D_202C_206E_200D_200E_202A_202C_202A_202B_200B_206C_206A_200D_200C_200F_202A_200F_202E()) ? 683185440 : 683185441); + while (true) { - return !_wasCollapsedLastFrame; + int num2 = num; + int num3 = 683185440; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0046; + case 0: + return false; + case 1: + return !_wasCollapsedLastFrame; + } + continue; + IL_0046: + num = 683185441; } - return false; } set { - base.IsOpen = value; + _200F_200D_206A_200C_200C_200F_206F_200F_206C_202A_200D_206F_206D_206F_206D_200D_202D_202B_202D_206B_202D_202A_202B_202A_206E_200C_206D_202E_202C_200F_206B_206F_202D_202E_202A_202D_202E_202E_202C_206F_202E(value); UncollapseNextFrame = value; } } @@ -36,11 +49,35 @@ public abstract class LWindow : Window { get { - return (int?)(100000f * base.BgAlpha); + float? num = _202B_200B_200F_206E_202D_200E_200F_206B_202C_200F_206F_206E_206A_206B_200F_206C_202D_202E_200C_206B_200B_206C_202D_206C_206F_200B_206B_202E_206A_200D_206A_206D_206C_206C_202A_206A_202C_206C_206F_202E(); + int num2 = ((!num.HasValue) ? (-473648869) : (-473648872)); + float valueOrDefault = default(float); + while (true) + { + int num3 = num2; + int num4 = -473648870; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = -473648872; + break; + case 3: + return (int)_202B_202B_200E_200C_200F_200B_200D_200D_200D_206D_200B_206B_202A_202B_200C_206C_206E_206D_206A_202C_206A_202D_206D_206E_206D_200E_202A_206C_200B_200D_206F_206F_200E_200C_206B_200E_200C_206F_206D_200D_202E(100000f * valueOrDefault); + case 2: + valueOrDefault = num.GetValueOrDefault(); + num2 = -473648871; + break; + case 1: + return null; + } + } } set { - base.BgAlpha = (float?)value / 100000f; + _200F_202B_206C_202C_206F_200C_200B_202D_200C_206E_202C_206D_202A_206D_202C_206A_202B_202B_202C_206E_200C_206D_206E_200D_202C_200B_200D_202C_200C_200C_206B_200E_200B_200D_200C_200C_206F_200E_202C_206D_202E((float?)value / 100000f); } } @@ -51,54 +88,123 @@ public abstract class LWindow : Window private void LoadWindowConfig() { - if (!(this is IPersistableWindowConfig persistableWindowConfig)) + IPersistableWindowConfig persistableWindowConfig = this as IPersistableWindowConfig; + int num = ((persistableWindowConfig == null) ? (-1866426683) : (-1866426684)); + WindowConfig windowConfig = default(WindowConfig); + while (true) { - return; - } - WindowConfig windowConfig = persistableWindowConfig.WindowConfig; - if (windowConfig != null) - { - if (base.AllowPinning) + int num2 = num; + int num3 = -1866426683; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - base.IsPinned = windowConfig.IsPinned; + case 5: + Alpha = windowConfig.Alpha; + num = -1866426685; + break; + case 4: + _202A_202A_206B_206A_202A_200B_200B_206D_206E_206A_200C_202D_206E_202B_202B_206C_202D_206A_202B_200E_202C_202D_206E_202E_200F_202B_206D_206B_206A_202A_206B_200E_206C_200E_200D_206A_206B_200B_202E_206E_202E(windowConfig.IsPinned); + num = -1866426686; + break; + case 8: + num = ((!_206F_202C_200E_206A_202C_202E_200D_202E_202E_200F_206C_200C_200C_202C_202B_200F_200E_200C_206E_200E_200D_206F_206C_202A_206C_206B_206E_202E_202B_206B_200F_202A_202E_202B_200D_206A_206E_200C_202C_202C_202E()) ? (-1866426686) : (-1866426687)); + break; + case 6: + _initializedConfig = true; + num = -1866426683; + break; + case 0: + return; + case 7: + num = ((!_202A_206A_200E_200F_202C_206F_206E_206A_206E_200C_200E_202E_202C_202B_206D_206A_206F_200B_200D_202B_206A_202C_200E_206C_206F_206D_206D_200B_206F_202D_200F_206E_206E_206D_206A_200E_202C_206C_202B_206A_202E()) ? (-1866426688) : (-1866426682)); + break; + case 3: + _200D_200B_202D_200D_200D_206F_200B_202E_200E_202A_206D_202B_206D_202B_206F_200D_200E_206C_200D_206A_206E_200B_206A_200E_200F_200C_202B_206E_206A_200C_202B_206E_206F_206A_200B_202C_202B_202C_206B_206F_202E(windowConfig.IsClickthrough); + num = -1866426688; + break; + case 1: + windowConfig = persistableWindowConfig.WindowConfig; + num = ((windowConfig == null) ? (-1866426685) : (-1866426675)); + break; + case 2: + num = -1866426684; + break; } - if (base.AllowClickthrough) - { - base.IsClickthrough = windowConfig.IsClickthrough; - } - Alpha = windowConfig.Alpha; } - _initializedConfig = true; } private void UpdateWindowConfig() { - if (!(this is IPersistableWindowConfig persistableWindowConfig) || Dalamud.Bindings.ImGui.ImGui.IsAnyMouseDown()) + IPersistableWindowConfig persistableWindowConfig = this as IPersistableWindowConfig; + int num = ((persistableWindowConfig == null) ? (-692903602) : (-692903601)); + WindowConfig windowConfig = default(WindowConfig); + bool flag = default(bool); + while (true) { - return; - } - WindowConfig windowConfig = persistableWindowConfig.WindowConfig; - if (windowConfig != null) - { - bool flag = false; - if (base.AllowPinning && windowConfig.IsPinned != base.IsPinned) + int num2 = num; + int num3 = -692903608; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - windowConfig.IsPinned = base.IsPinned; + case 0: + num = -692903601; + break; + case 6: + return; + case 1: + windowConfig.IsPinned = _200C_202C_202B_206A_206E_202C_200C_202A_206A_206B_202D_202C_200F_200F_206C_206C_206D_206E_202D_206A_206B_200D_202C_206C_200E_206E_200F_200F_202E_206B_206C_200E_206B_202E_202A_200C_202A_206B_206F_206B_202E(); flag = true; - } - if (base.AllowClickthrough && windowConfig.IsClickthrough != base.IsClickthrough) - { - windowConfig.IsClickthrough = base.IsClickthrough; + num = -692903603; + break; + case 3: + num = ((windowConfig.IsClickthrough == _200C_206A_200D_200B_202B_202B_206A_202B_206A_206A_202D_202B_202E_206E_202E_200B_206B_202E_200F_202D_202C_200F_202D_200F_202C_200F_202C_206A_206E_202C_202D_200C_202C_200C_206D_206E_206B_200F_200C_206B_202E()) ? (-692903606) : (-692903604)); + break; + case 4: + windowConfig.IsClickthrough = _200C_206A_200D_200B_202B_202B_206A_202B_206A_206A_202D_202B_202E_206E_202E_200B_206B_202E_200F_202D_202C_200F_202D_200F_202C_200F_202C_206A_206E_202C_202D_200C_202C_200C_206D_206E_206B_200F_200C_206B_202E(); flag = true; - } - if (windowConfig.Alpha != Alpha) - { + num = -692903606; + break; + case 12: + flag = false; + num = ((!_206F_202C_200E_206A_202C_202E_200D_202E_202E_200F_206C_200C_200C_202C_202B_200F_200E_200C_206E_200E_200D_206F_206C_202A_206C_206B_206E_202E_202B_206B_200F_202A_202E_202B_200D_206A_206E_200C_202C_202C_202E()) ? (-692903603) : (-692903615)); + break; + case 13: windowConfig.Alpha = Alpha; flag = true; - } - if (flag) + num = -692903616; + break; + case 5: + num = ((!_202A_206A_200E_200F_202C_206F_206E_206A_206E_200C_200E_202E_202C_202B_206D_206A_206F_200B_200D_202B_206A_202C_200E_206C_206F_206D_206D_200B_206F_202D_200F_206E_206E_206D_206A_200E_202C_206C_202B_206A_202E()) ? (-692903606) : (-692903605)); + break; + case 10: + windowConfig = persistableWindowConfig.WindowConfig; + num = ((windowConfig == null) ? (-692903602) : (-692903612)); + break; + case 7: + num = (_206E_206F_206B_200D_200F_202D_202A_202D_206D_200F_200B_200F_200C_202E_200E_200E_202C_206E_206C_206F_206E_202E_202C_206B_200F_202C_206E_206A_206B_206D_206D_202A_200F_206A_206C_200E_206F_200B_200C_206A_202E() ? (-692903602) : (-692903614)); + break; + case 8: + num = ((!flag) ? (-692903602) : (-692903613)); + break; + case 2: { + int? alpha = windowConfig.Alpha; + int? alpha2 = Alpha; + bool num7 = alpha.GetValueOrDefault() == alpha2.GetValueOrDefault(); + num3 = ((alpha.HasValue == alpha2.HasValue) ? 1 : 0); + num4 = (num7 ? 1 : 0); + num = ((num4 + num3 - (num4 | num3) != 0) ? (-692903616) : (-692903611)); + break; + } + case 11: persistableWindowConfig.SaveWindowConfig(); + num = -692903602; + break; + case 9: + num = ((windowConfig.IsPinned == _200C_202C_202B_206A_206E_202C_200C_202A_206A_206B_202D_202C_200F_200F_206C_206C_206D_206E_202D_206A_206B_200D_202C_206C_200E_206E_200F_200F_202E_206B_206C_200E_206B_202E_202A_200C_202A_206B_206F_206B_202E()) ? (-692903603) : (-692903607)); + break; } } } @@ -108,10 +214,16 @@ public abstract class LWindow : Window IsOpenAndUncollapsed = !IsOpenAndUncollapsed; } + protected void RequestClose() + { + _closeRequested = true; + } + public override void OnOpen() { + _closeRequested = false; UncollapseNextFrame = true; - base.OnOpen(); + _202B_206D_200D_206C_206F_202B_202C_200F_206E_206F_206B_200D_200E_202E_202A_200E_202C_202E_206A_202C_206F_206B_206B_206C_206F_202D_200E_200D_206A_202E_200B_200F_206E_202B_202A_202C_206D_206B_200C_206E_202E(); } public override void Update() @@ -121,18 +233,42 @@ public abstract class LWindow : Window public override void PreDraw() { - if (!_initializedConfig) + int num = ((!_closeRequested) ? (-306664405) : (-306664404)); + while (true) { - LoadWindowConfig(); + int num2 = num; + int num3 = -306664406; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = (_initializedConfig ? (-306664408) : (-306664402)); + break; + case 6: + _closeRequested = false; + _200F_200D_206A_200C_200C_200F_206F_200F_206C_202A_200D_206F_206D_206F_206D_200D_202D_202B_202D_206B_202D_202A_202B_202A_206E_200C_206D_202E_202C_200F_206B_206F_202D_202E_202A_202D_202E_202E_202C_206F_202E(false); + num = -306664405; + break; + case 4: + LoadWindowConfig(); + num = -306664408; + break; + case 0: + _202E_206B_206E_206C_202C_202A_200D_202C_206E_200E_206C_206F_202B_202D_206A_206B_200F_206C_200D_206E_206A_206C_200C_200B_200B_202A_200D_200C_202A_206A_206D_206C_202A_202C_200B_200D_202E_200D_200E_202B_202E(false); + UncollapseNextFrame = false; + num = -306664407; + break; + case 5: + num = -306664404; + break; + case 3: + _200E_200F_200F_202A_206E_202D_200D_206C_206A_200D_202E_200C_200F_202D_200B_202E_200E_200D_202A_206C_206F_202E_202E_200F_200D_206E_206A_202A_206A_206B_206E_202D_202C_200F_206E_206C_206E_200C_206A_200C_202E(); + return; + case 2: + num = ((!UncollapseNextFrame) ? (-306664407) : (-306664406)); + break; + } } - if (UncollapseNextFrame) - { - Dalamud.Bindings.ImGui.ImGui.SetNextWindowCollapsed(collapsed: false); - UncollapseNextFrame = false; - } - base.PreDraw(); - ClickedHeaderLastFrame = ClickedHeaderCurrentFrame; - ClickedHeaderCurrentFrame = false; } public sealed override void Draw() @@ -145,10 +281,105 @@ public abstract class LWindow : Window public override void PostDraw() { - base.PostDraw(); - if (_initializedConfig) + _200B_202E_202E_206B_202B_202A_206B_200B_202D_206E_202D_200F_202B_200C_200C_200B_206A_206E_206C_206B_206E_202D_202D_206E_200C_206B_202B_206F_202E_202B_206A_206B_206D_202E_202B_206E_200B_206A_200E_200C_202E(); + int num = ((!_initializedConfig) ? (-1105315844) : (-1105315843)); + while (true) { - UpdateWindowConfig(); + int num2 = num; + int num3 = -1105315844; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1105315843; + break; + case 0: + return; + case 1: + UpdateWindowConfig(); + num = -1105315844; + break; + } } } + + bool _202C_202D_206F_200C_202D_202E_200B_200E_206C_206A_200F_200F_202D_200D_200C_200B_200E_202C_200E_206C_200E_206D_202B_200D_202C_206E_200D_200E_202A_202C_202A_202B_200B_206C_206A_200D_200C_200F_202A_200F_202E() + { + return base.IsOpen; + } + + void _200F_200D_206A_200C_200C_200F_206F_200F_206C_202A_200D_206F_206D_206F_206D_200D_202D_202B_202D_206B_202D_202A_202B_202A_206E_200C_206D_202E_202C_200F_206B_206F_202D_202E_202A_202D_202E_202E_202C_206F_202E(bool P_0) + { + base.IsOpen = P_0; + } + + float? _202B_200B_200F_206E_202D_200E_200F_206B_202C_200F_206F_206E_206A_206B_200F_206C_202D_202E_200C_206B_200B_206C_202D_206C_206F_200B_206B_202E_206A_200D_206A_206D_206C_206C_202A_206A_202C_206C_206F_202E() + { + return base.BgAlpha; + } + + static float _202B_202B_200E_200C_200F_200B_200D_200D_200D_206D_200B_206B_202A_202B_200C_206C_206E_206D_206A_202C_206A_202D_206D_206E_206D_200E_202A_206C_200B_200D_206F_206F_200E_200C_206B_200E_200C_206F_206D_200D_202E(float P_0) + { + return MathF.Round(P_0); + } + + void _200F_202B_206C_202C_206F_200C_200B_202D_200C_206E_202C_206D_202A_206D_202C_206A_202B_202B_202C_206E_200C_206D_206E_200D_202C_200B_200D_202C_200C_200C_206B_200E_200B_200D_200C_200C_206F_200E_202C_206D_202E(float? P_0) + { + base.BgAlpha = P_0; + } + + bool _206F_202C_200E_206A_202C_202E_200D_202E_202E_200F_206C_200C_200C_202C_202B_200F_200E_200C_206E_200E_200D_206F_206C_202A_206C_206B_206E_202E_202B_206B_200F_202A_202E_202B_200D_206A_206E_200C_202C_202C_202E() + { + return base.AllowPinning; + } + + void _202A_202A_206B_206A_202A_200B_200B_206D_206E_206A_200C_202D_206E_202B_202B_206C_202D_206A_202B_200E_202C_202D_206E_202E_200F_202B_206D_206B_206A_202A_206B_200E_206C_200E_200D_206A_206B_200B_202E_206E_202E(bool P_0) + { + base.IsPinned = P_0; + } + + bool _202A_206A_200E_200F_202C_206F_206E_206A_206E_200C_200E_202E_202C_202B_206D_206A_206F_200B_200D_202B_206A_202C_200E_206C_206F_206D_206D_200B_206F_202D_200F_206E_206E_206D_206A_200E_202C_206C_202B_206A_202E() + { + return base.AllowClickthrough; + } + + void _200D_200B_202D_200D_200D_206F_200B_202E_200E_202A_206D_202B_206D_202B_206F_200D_200E_206C_200D_206A_206E_200B_206A_200E_200F_200C_202B_206E_206A_200C_202B_206E_206F_206A_200B_202C_202B_202C_206B_206F_202E(bool P_0) + { + base.IsClickthrough = P_0; + } + + static bool _206E_206F_206B_200D_200F_202D_202A_202D_206D_200F_200B_200F_200C_202E_200E_200E_202C_206E_206C_206F_206E_202E_202C_206B_200F_202C_206E_206A_206B_206D_206D_202A_200F_206A_206C_200E_206F_200B_200C_206A_202E() + { + return Dalamud.Bindings.ImGui.ImGui.IsAnyMouseDown(); + } + + bool _200C_202C_202B_206A_206E_202C_200C_202A_206A_206B_202D_202C_200F_200F_206C_206C_206D_206E_202D_206A_206B_200D_202C_206C_200E_206E_200F_200F_202E_206B_206C_200E_206B_202E_202A_200C_202A_206B_206F_206B_202E() + { + return base.IsPinned; + } + + bool _200C_206A_200D_200B_202B_202B_206A_202B_206A_206A_202D_202B_202E_206E_202E_200B_206B_202E_200F_202D_202C_200F_202D_200F_202C_200F_202C_206A_206E_202C_202D_200C_202C_200C_206D_206E_206B_200F_200C_206B_202E() + { + return base.IsClickthrough; + } + + void _202B_206D_200D_206C_206F_202B_202C_200F_206E_206F_206B_200D_200E_202E_202A_200E_202C_202E_206A_202C_206F_206B_206B_206C_206F_202D_200E_200D_206A_202E_200B_200F_206E_202B_202A_202C_206D_206B_200C_206E_202E() + { + base.OnOpen(); + } + + static void _202E_206B_206E_206C_202C_202A_200D_202C_206E_200E_206C_206F_202B_202D_206A_206B_200F_206C_200D_206E_206A_206C_200C_200B_200B_202A_200D_200C_202A_206A_206D_206C_202A_202C_200B_200D_202E_200D_200E_202B_202E(bool P_0) + { + Dalamud.Bindings.ImGui.ImGui.SetNextWindowCollapsed(P_0); + } + + void _200E_200F_200F_202A_206E_202D_200D_206C_206A_200D_202E_200C_200F_202D_200B_202E_200E_200D_202A_206C_206F_202E_202E_200F_200D_206E_206A_202A_206A_206B_206E_202D_202C_200F_206E_206C_206E_200C_206A_200C_202E() + { + base.PreDraw(); + } + + void _200B_202E_202E_206B_202B_202A_206B_200B_202D_206E_202D_200F_202B_200C_200C_200B_206A_206E_206C_206B_206E_202D_202D_206E_200C_206B_202B_206F_202E_202B_206A_206B_206D_202E_202B_206E_200B_206A_200E_200C_202E() + { + base.PostDraw(); + } } diff --git a/LLib/LLib.ImGui/MapPolygonEditor.cs b/LLib/LLib.ImGui/MapPolygonEditor.cs new file mode 100644 index 00000000..0c87690d --- /dev/null +++ b/LLib/LLib.ImGui/MapPolygonEditor.cs @@ -0,0 +1,1647 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Draw(IEditablePolygonSet polygons, Vector3? playerPosition, Vector2? size = null) + { + Vector2 vector = _202A_200B_202A_206D_202C_202C_202E_200C_202D_202E_200C_206D_206F_202A_206B_206E_200E_200F_206F_206A_206A_202B_202C_200F_200D_200F_202D_200F_200B_200C_202C_202D_200D_202C_200B_200D_202A_200B_206D_206B_202E(); + Vector2? vector2 = size; + int num = (vector2.HasValue ? 1179262283 : 1179262292); + ImDrawListPtr drawList = default(ImDrawListPtr); + Vector2 vector3 = default(Vector2); + Vector2 vector4 = default(Vector2); + bool flag = default(bool); + int nearVertexIndex = default(int); + Vector2 vector5 = default(Vector2); + Vector2 vector6 = default(Vector2); + IDalamudTextureWrap textureWrap = default(IDalamudTextureWrap); + while (true) + { + int num2 = num; + int num3 = 1179262298; + int num4 = num2; + Vector2 vector7; + Vector2 vector8; + switch ((num4 | num3) - (num4 & num3)) + { + case 10: + num = ((!_isDrawing) ? 1179262280 : 1179262301); + break; + case 7: + DrawPolygonInProgress(drawList, vector3, vector4); + num = 1179262280; + break; + case 18: + HandleMouseInput(polygons, vector3, vector4, flag); + HandleDrawingInput(polygons, vector3, vector4, flag); + _206C_202E_202E_202C_202E_202B_206C_206D_202C_206B_206F_206B_202B_206C_206D_200B_206E_200B_206D_202D_206B_202C_200C_206A_206B_206B_206C_206A_200B_200B_200B_202B_200B_202E_206D_200B_206A_200D_202B_206E_202E(); + return; + case 8: + HandleVertexDrag(polygons, vector3, vector4, flag, nearVertexIndex); + num = (_isDraggingVertex ? 1179262291 : 1179262299); + break; + case 1: + HandlePanZoom(vector5, vector6, flag); + num = 1179262291; + break; + case 5: + _206D_202C_202B_206C_202B_200D_202B_200E_202E_206F_202E_200D_200B_202B_206A_202E_200F_206D_202A_206F_200F_200B_202D_200B_206A_202E_206E_202D_202E_200D_206C_200F_206C_202D_202C_202B_202B_200F_206D_206E_202E((ImU8String)global::_003CModule_003E._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(-2135402966)); + num = 1179262294; + break; + case 17: + vector7 = vector2.GetValueOrDefault(); + goto IL_0167; + case 0: + _206D_202C_202B_206C_202B_200D_202B_200E_202E_206F_202E_200D_200B_202B_206A_202E_200F_206D_202A_206F_200F_200B_202D_200B_206A_202E_206E_202D_202E_200D_206C_200F_206C_202D_202C_202B_202B_200F_206D_206E_202E((ImU8String)global::_003CModule_003E._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(1849117165)); + num = 1179262294; + break; + case 19: + num = ((SelectedIndex >= polygons.PolygonCount) ? 1179262290 : 1179262300); + break; + case 12: + _206C_202E_202E_202C_202E_202B_206C_206D_202C_206B_206F_206B_202B_206C_206D_200B_206E_200B_206D_202D_206B_202C_200C_206A_206B_206B_206C_206A_200B_200B_200B_202B_200B_202E_206D_200B_206A_200D_202B_206E_202E(); + return; + case 14: + vector7 = new Vector2(vector.X, _206A_202A_200D_202A_206E_202A_202E_200B_206E_200E_202A_206B_202A_202C_200D_206C_200F_206D_206B_206D_200F_200C_202D_206F_202A_202A_206E_206F_206C_202B_206D_202E_206B_206D_200D_200E_200B_200F_200F_200D_202E(vector.Y, 400f)); + goto IL_0167; + case 6: + { + IList vertices = polygons.GetVertices(SelectedIndex); + nearVertexIndex = FindNearestVertexHandle(vertices, vector3, vector4); + num = 1179262290; + break; + } + case 13: + vector5 = _200D_206C_202C_202A_200F_200F_200F_200D_202E_202E_200F_206C_200E_200B_206C_200E_206A_202A_202E_200D_202D_200F_200D_202B_200C_206D_200D_202A_202E_202C_202A_202A_206F_202E_200E_200E_202E_200C_206F_206C_202E(); + vector6 = _202A_200B_202A_206D_202C_202C_202E_200C_202D_202E_200C_206D_206F_202A_206B_206E_200E_200F_206F_206A_206A_202B_202C_200F_200D_200F_202D_200F_200B_200C_202C_202D_200D_202C_200B_200D_202A_200B_206D_206B_202E(); + _206E_200D_206A_202C_202D_206B_202B_206B_202A_206F_200F_206C_206A_202C_200B_202E_200F_206C_202C_202A_200F_202C_206E_206D_202A_206A_200E_202E_200F_200E_206E_206D_202D_202B_206F_206B_200D_200E_206D_206F_202E((ImU8String)global::_003CModule_003E._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(1669427471), vector6, ImGuiButtonFlags.None); + flag = _200D_200B_206C_202A_202C_206F_200C_202E_200F_202C_202E_200E_202A_202A_206C_200B_206F_200D_202A_206D_202B_202B_202A_206F_206F_206C_202E_206D_202B_200C_206C_206C_200E_200C_206F_202E_206F_206B_200F_200D_202E(); + textureWrap = _mapService.GetTextureWrap(); + num = ((textureWrap != null) ? 1179262282 : 1179262297); + break; + case 2: + num = ((SelectedIndex < 0) ? 1179262290 : 1179262281); + break; + case 9: + vector3 = vector5 + _offset + vector6 * 0.5f - vector4 * 0.5f; + drawList = _200B_200C_202B_202C_206F_206E_206A_202B_200B_202D_202D_206D_202C_200B_202B_200F_206E_206C_206D_202D_206E_200F_206A_200E_202D_206F_200C_200F_202D_202A_202A_202C_202E_206B_202C_206D_202C_202A_202D_202E_202E(); + drawList.AddImage(_200B_202A_202D_202A_200B_206F_202A_200D_206A_202C_206B_206F_206C_206E_206C_202C_206D_206F_202E_206A_202C_202E_206A_202C_206B_206B_202C_202B_206A_206F_206F_206D_200E_206C_200F_202B_206B_206E_202B_200E_202E(textureWrap), vector3, vector3 + vector4); + DrawPolygons(drawList, polygons, vector3, vector4); + num = ((!playerPosition.HasValue) ? 1179262288 : 1179262293); + break; + case 11: + num = 1179262292; + break; + case 3: + _202B_206C_200F_200F_200D_202C_206D_200C_200B_200D_202A_202D_206F_202B_206E_206C_202B_200D_206D_202E_206A_202A_200B_206B_202B_206E_200C_200C_200D_206C_202D_206A_202B_206F_200D_200F_202C_202B_206D_200E_202E(vector5 + new Vector2(8f, 8f)); + num = ((!_mapService.IsSearching) ? 1179262303 : 1179262298); + break; + case 16: + { + float value = 2048f * _zoom; + vector4 = new Vector2(value); + vector3 = vector5 + _offset + vector6 * 0.5f - vector4 * 0.5f; + nearVertexIndex = -1; + num = (_isDrawing ? 1179262290 : 1179262296); + break; + } + case 4: + _206C_202E_202E_202C_202E_202B_206C_206D_202C_206B_206F_206B_202B_206C_206D_200B_206E_200B_206D_202D_206B_202C_200C_206A_206B_206B_206C_206A_200B_200B_200B_202B_200B_202E_206D_200B_206A_200D_202B_206E_202E(); + return; + case 15: + { + Vector3 valueOrDefault = playerPosition.GetValueOrDefault(); + Vector2 center = _mapService.WorldToScreen(valueOrDefault.X, valueOrDefault.Z, vector3, vector4); + drawList.AddCircleFilled(center, 4f, 4278255360u); + drawList.AddCircle(center, 6f, 4278190080u); + num = 1179262288; + break; + } + IL_0167: + vector8 = vector7; + num = (_206A_202A_202E_206F_202E_200F_200E_202E_206A_206D_206D_202E_200D_202D_206C_202A_200E_202E_206B_202B_200C_202A_206E_200B_206E_202A_206F_206E_202C_200B_200B_202A_206A_206B_202A_206B_202C_202B_202C_202A_202E((ImU8String)global::_003CModule_003E._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(1901948127), vector8, true, ImGuiWindowFlags.None) ? 1179262295 : 1179262302); + break; + } + } + } + + private void DrawPolygons(ImDrawListPtr drawList, IEditablePolygonSet polygons, Vector2 imagePos, Vector2 imageSizeVec) + { + int num = 0; + int num2 = 1957768774; + IList vertices = default(IList); + string label = default(string); + while (true) + { + int num3 = num2; + int num4 = 1957768782; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 5: + num2 = 1957768774; + break; + case 6: + vertices = polygons.GetVertices(num); + num2 = ((vertices.Count < 3) ? 1957768778 : 1957768777); + break; + case 8: + num2 = ((num < polygons.PolygonCount) ? 1957768776 : 1957768781); + break; + case 1: + DrawVertexHandles(drawList, vertices, imagePos, imageSizeVec); + num2 = 1957768780; + break; + case 4: + { + int num12 = num; + num4 = 1; + num5 = num12; + int num13 = num5 ^ num4; + int num14 = num5 & num4; + num = num13 + (num14 + num14); + num2 = 1957768774; + break; + } + case 2: + label = polygons.GetLabel(num); + num2 = (_206C_200B_206A_206F_200D_206E_202D_206B_206C_206F_200E_200E_202E_200B_206F_206B_202B_202B_200D_200B_202C_206B_202A_206D_200F_202B_202C_206D_202E_200C_206A_202B_200D_202C_202E_202A_202C_200E_206E_202C_202E(label) ? 1957768778 : 1957768782); + break; + case 7: + { + uint num6 = polygons.GetColor(num); + bool num7 = num == SelectedIndex; + if (num7) + { + uint num8 = num6; + num4 = 16777215; + num5 = (int)num8; + int num9 = num5 + num4 - (num5 | num4); + num4 = -1879048192; + num5 = num9; + num6 = (uint)((num5 & num4) + (num5 ^ num4)); + } + DrawFilledPolygon(drawList, vertices, imagePos, imageSizeVec, num6); + float thickness = (num7 ? 3f : 1f); + int num11; + if (!num7) + { + uint num10 = num6; + num4 = -16777216; + num5 = (int)num10; + num11 = num5 + num4 - (num5 & num4); + } + else + { + num11 = -1; + } + uint color = (uint)num11; + DrawPolygonBorder(drawList, vertices, imagePos, imageSizeVec, color, thickness); + num2 = ((!num7) ? 1957768780 : 1957768783); + break; + } + case 3: + return; + case 0: + { + Vector2 vector = ComputeCentroid(vertices); + Vector2 pos = _mapService.WorldToScreen(vector.X, vector.Y, imagePos, imageSizeVec); + drawList.AddText(pos, uint.MaxValue, label); + num2 = 1957768778; + break; + } + } + } + } + + private void DrawFilledPolygon(ImDrawListPtr drawList, IList verts, Vector2 imagePos, Vector2 imageSizeVec, uint color) + { + Vector2[] array = new Vector2[verts.Count]; + int num = 0; + int num2 = 303773687; + int num9 = default(int); + int num8 = default(int); + bool flag = default(bool); + List list = default(List); + float polySignedArea = default(float); + int num13 = default(int); + int num14 = default(int); + int num15 = default(int); + while (true) + { + int num3 = num2; + int num4 = 303773680; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 14: + { + int num16 = num9; + num4 = 1; + num5 = num16; + int num17 = num5 ^ num4; + int num18 = num5 & num4; + num9 = num17 + (num18 + num18); + num2 = 303773689; + break; + } + case 11: + { + array[num] = _mapService.WorldToScreen(verts[num].X, verts[num].Y, imagePos, imageSizeVec); + int num10 = num; + num4 = 1; + num5 = num10; + num = (num5 | num4) + (num5 & num4); + num2 = 303773687; + break; + } + case 6: + num2 = ((num8 < verts.Count) ? 303773683 : 303773688); + break; + case 2: + flag = false; + num9 = 0; + num2 = 303773689; + break; + case 3: + { + list.Add(num8); + int num19 = num8; + num4 = 1; + num5 = num19; + int num20 = num5 ^ num4; + int num21 = num5 & num4; + num8 = num20 + (num21 + num21); + num2 = 303773686; + break; + } + case 12: + num2 = ((list.Count > 2) ? 303773682 : 303773680); + break; + case 4: + num2 = 303773687; + break; + case 5: + num2 = ((!flag) ? 303773680 : 303773692); + break; + case 8: + polySignedArea = SignedArea(array, list); + num2 = 303773692; + break; + case 0: + return; + case 10: + list = new List(verts.Count); + num8 = 0; + num2 = 303773686; + break; + case 13: + drawList.AddTriangleFilled(array[num13], array[num14], array[num15], color); + list.RemoveAt(num9); + flag = true; + num2 = 303773685; + break; + case 1: + { + int num11 = num9; + num4 = 1; + num5 = num11; + int index = (~(~num5 + num4) + list.Count) % list.Count; + int num12 = num9; + num4 = 1; + num5 = num12; + int index2 = ((num5 | num4) + (num5 & num4)) % list.Count; + num13 = list[index]; + num14 = list[num9]; + num15 = list[index2]; + num2 = ((!IsEar(array, list, num13, num14, num15, polySignedArea)) ? 303773694 : 303773693); + break; + } + case 9: + num2 = ((num9 < list.Count) ? 303773681 : 303773685); + break; + case 7: + num2 = ((num < verts.Count) ? 303773691 : 303773690); + break; + } + } + } + + private static float SignedArea(Vector2[] verts, List indices) + { + float num = 0f; + int num2 = 0; + int num3 = 747837533; + while (true) + { + int num4 = num3; + int num5 = 747837535; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 1: + return num; + case 3: + { + Vector2 vector = verts[indices[num2]]; + int num9 = num2; + num5 = 1; + num6 = num9; + Vector2 vector2 = verts[indices[((num6 | num5) + (num6 & num5)) % indices.Count]]; + num += (vector2.X - vector.X) * (vector2.Y + vector.Y); + int num10 = num2; + num5 = 1; + num6 = num10; + int num11 = num6 ^ num5; + int num12 = num6 & num5; + num2 = num11 + (num12 + num12); + num3 = 747837533; + break; + } + case 2: + num3 = ((num2 < indices.Count) ? 747837532 : 747837534); + break; + case 0: + num3 = 747837533; + break; + } + } + } + + 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); + int num2 = ((!(polySignedArea > 0f)) ? (-640455158) : (-640455157)); + int current = default(int); + while (true) + { + int num3 = num2; + int num4 = -640455158; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 3: + num2 = ((!(num <= 0f)) ? (-640455153) : (-640455160)); + break; + case 1: + num2 = ((!(num >= 0f)) ? (-640455158) : (-640455156)); + break; + case 4: + num2 = -640455157; + break; + case 0: + num2 = ((!(polySignedArea <= 0f)) ? (-640455153) : (-640455159)); + break; + case 2: + return false; + case 6: + return false; + case 5: + { + using (List.Enumerator enumerator = indices.GetEnumerator()) + { + num2 = -95069085; + while (true) + { + int num6 = num2; + num4 = -95069086; + num5 = num6; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + num2 = (enumerator.MoveNext() ? (-95069087) : (-95069082)); + break; + case 5: + num2 = ((current == curr) ? (-95069085) : (-95069088)); + break; + case 6: + return false; + case 3: + current = enumerator.Current; + num2 = ((current == prev) ? (-95069085) : (-95069081)); + break; + case 0: + num2 = -95069085; + break; + case 2: + num2 = ((current == next) ? (-95069085) : (-95069083)); + break; + case 7: + num2 = ((!PointInTriangle(verts[current], vector, vector2, vector3)) ? (-95069085) : (-95069084)); + break; + case 4: + goto end_IL_011b; + } + continue; + end_IL_011b: + break; + } + } + 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; + int num4 = ((num > 0f) ? (-1226120995) : (-1226120996)); + while (true) + { + int num5 = num4; + int num6 = -1226120994; + int num7 = num5; + int num8; + bool flag2; + switch ((num7 | num6) - (num7 & num6)) + { + case 3: + num8 = 1; + goto IL_00b3; + case 1: + num8 = ((num3 > 0f) ? 1 : 0); + goto IL_00b3; + case 2: + num4 = ((num2 > 0f) ? (-1226120995) : (-1226120993)); + break; + case 0: + { + num4 = -1226120996; + break; + } + IL_00b3: + flag2 = (byte)num8 != 0; + num6 = (flag2 ? 1 : 0); + num7 = (flag ? 1 : 0); + return (num7 | num6) - (num7 ^ num6) == 0; + } + } + } + + 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) + { + int num = 0; + int num2 = -1536705379; + while (true) + { + int num3 = num2; + int num4 = -1536705377; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 3: + num2 = -1536705379; + break; + case 0: + return; + case 2: + num2 = ((num < verts.Count) ? (-1536705378) : (-1536705377)); + break; + case 1: + { + int num8 = num; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + int index = (num9 + (num10 + num10)) % verts.Count; + Vector2 p = _mapService.WorldToScreen(verts[num].X, verts[num].Y, imagePos, imageSizeVec); + Vector2 p2 = _mapService.WorldToScreen(verts[index].X, verts[index].Y, imagePos, imageSizeVec); + drawList.AddLine(p, p2, color, thickness); + int num11 = num; + num4 = 1; + num5 = num11; + num = (num5 | num4) + (num5 & num4); + num2 = -1536705379; + break; + } + } + } + } + + private void DrawVertexHandles(ImDrawListPtr drawList, IList verts, Vector2 imagePos, Vector2 imageSizeVec) + { + _hoveredVertexIndex = FindNearestVertexHandle(verts, imagePos, imageSizeVec); + _hoveredEdgeIndex = -1; + int num = ((_hoveredVertexIndex >= 0) ? (-717290128) : (-717290123)); + int num8 = default(int); + Vector2 center = default(Vector2); + uint col = default(uint); + Vector2 center2 = default(Vector2); + uint col2 = default(uint); + while (true) + { + int num2 = num; + int num3 = -717290126; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + float num12; + float num13; + float radius; + Vector2 vector2; + bool num14; + float radius2; + int num15; + switch (num5 - (num6 + num6)) + { + case 3: + num = -717290123; + break; + case 7: + num = (_isDraggingVertex ? (-717290128) : (-717290124)); + break; + case 0: + num = ((num8 < verts.Count) ? (-717290122) : (-717290125)); + break; + case 1: + return; + case 10: + num12 = 7f; + goto IL_00e2; + case 6: + _hoveredEdgeIndex = FindNearestEdgeMidpoint(verts, imagePos, imageSizeVec); + num = -717290128; + break; + case 5: + num12 = 5f; + goto IL_00e2; + case 9: + num13 = 6f; + goto IL_0156; + case 8: + num13 = 4f; + goto IL_0156; + case 2: + num8 = 0; + num = -717290126; + break; + case 4: + { + int num7 = num8; + num3 = 1; + num4 = num7; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + int index = (num9 + (num10 + num10)) % verts.Count; + Vector2 vector = (verts[num8] + verts[index]) / 2f; + center = _mapService.WorldToScreen(vector.X, vector.Y, imagePos, imageSizeVec); + bool num11 = num8 == _hoveredEdgeIndex; + col = (num11 ? 4278255615u : 2164260863u); + num = (num11 ? (-717290117) : (-717290118)); + break; + } + IL_0156: + radius = num13; + drawList.AddCircleFilled(center, radius, col); + vector2 = verts[num8]; + center2 = _mapService.WorldToScreen(vector2.X, vector2.Y, imagePos, imageSizeVec); + num14 = num8 == _hoveredVertexIndex; + col2 = (num14 ? 4278255615u : uint.MaxValue); + num = (num14 ? (-717290120) : (-717290121)); + break; + IL_00e2: + radius2 = num12; + drawList.AddCircleFilled(center2, radius2, col2); + drawList.AddCircle(center2, radius2, 4278190080u); + num15 = num8; + num3 = 1; + num4 = num15; + num8 = (num4 | num3) + (num4 & num3); + num = -717290126; + break; + } + } + } + + private void DrawPolygonInProgress(ImDrawListPtr drawList, Vector2 imagePos, Vector2 imageSizeVec) + { + Vector2 vector = _206F_202E_202D_206E_200D_200D_202D_206F_206F_206E_202C_202C_202D_200C_206D_202E_206A_200E_200B_200B_202C_202A_200C_200C_200E_202C_200B_206A_206B_202D_202D_206C_200D_202D_200C_202C_206E_202D_202E_206B_202E(); + int num = ((_drawingVertices.Count != 0) ? 147595329 : 147595340); + int num8 = default(int); + Vector2 vector2 = default(Vector2); + Vector2 center = default(Vector2); + int num7 = default(int); + while (true) + { + int num2 = num; + int num3 = 147595328; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num18; + uint col; + int num19; + switch (num5 - (num6 + num6)) + { + case 1: + num8 = 0; + num = 147595332; + break; + case 12: + drawList.AddCircle(vector, 4f, uint.MaxValue); + return; + case 3: + { + Vector2 p = _mapService.WorldToScreen(_drawingVertices[num8].X, _drawingVertices[num8].Y, imagePos, imageSizeVec); + MapTextureService mapService = _mapService; + List drawingVertices = _drawingVertices; + int num9 = num8; + num3 = 1; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + float x = drawingVertices[num10 + (num11 + num11)].X; + List drawingVertices2 = _drawingVertices; + int num12 = num8; + num3 = 1; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + Vector2 p2 = mapService.WorldToScreen(x, drawingVertices2[num13 + (num14 + num14)].Y, imagePos, imageSizeVec); + drawList.AddLine(p, p2, uint.MaxValue, 2f); + int num15 = num8; + num3 = 1; + num4 = num15; + int num16 = num4 ^ num3; + int num17 = num4 & num3; + num8 = num16 + (num17 + num17); + num = 147595332; + break; + } + case 0: + num = 147595340; + break; + case 5: + drawList.AddCircle(vector2, 12f, 4278255360u, 0, 2f); + num = 147595337; + break; + case 13: + center = _mapService.WorldToScreen(_drawingVertices[num7].X, _drawingVertices[num7].Y, imagePos, imageSizeVec); + num = ((num7 == 0) ? 147595338 : 147595336); + break; + case 4: + num = ((num8 < _drawingVertices.Count - 1) ? 147595331 : 147595339); + break; + case 7: + { + MapTextureService mapService2 = _mapService; + List drawingVertices3 = _drawingVertices; + float x2 = drawingVertices3[drawingVertices3.Count - 1].X; + List drawingVertices4 = _drawingVertices; + Vector2 p3 = mapService2.WorldToScreen(x2, drawingVertices4[drawingVertices4.Count - 1].Y, imagePos, imageSizeVec); + drawList.AddLine(p3, vector, 2164260863u, 1.5f); + num = ((_drawingVertices.Count < 3) ? 147595337 : 147595334); + break; + } + case 6: + vector2 = _mapService.WorldToScreen(_drawingVertices[0].X, _drawingVertices[0].Y, imagePos, imageSizeVec); + num = ((!(Vector2.Distance(vector, vector2) < 12f)) ? 147595337 : 147595333); + break; + case 9: + return; + case 10: + num18 = -16711936; + goto IL_02e3; + case 8: + num18 = -1; + goto IL_02e3; + case 2: + num = ((num7 < _drawingVertices.Count) ? 147595341 : 147595335); + break; + case 11: + { + num7 = 0; + num = 147595330; + break; + } + IL_02e3: + col = (uint)num18; + drawList.AddCircleFilled(center, 4f, col); + num19 = num7; + num3 = 1; + num4 = num19; + num7 = (num4 | num3) + (num4 & num3); + num = 147595330; + break; + } + } + } + + private void HandlePanZoom(Vector2 canvasPos, Vector2 canvasSize, bool isHovered) + { + ImGuiIOPtr imGuiIOPtr = _202A_206D_200D_200B_206F_206A_202B_202E_202B_200F_200B_206E_206E_202C_200B_206A_202A_200F_202A_200C_206C_202A_202C_206F_202D_206C_202C_206F_206C_206D_206A_200E_206E_200B_200E_202B_206A_200E_202C_202D_202E(); + int num = ((!isHovered) ? (-621061490) : (-621061489)); + while (true) + { + int num2 = num; + int num3 = -621061492; + int num4 = num2; + int num5; + bool flag; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -621061489; + break; + case 7: + { + Vector2 vector = _206F_202E_202D_206E_200D_200D_202D_206F_206F_206E_202C_202C_202D_200C_206D_202E_206A_200E_200B_200B_202C_202A_200C_200C_200E_202C_200B_206A_206B_202D_202D_206C_200D_202D_200C_202C_206E_202D_202E_206B_202E(); + Vector2 vector2 = vector - _lastMousePos; + _offset += vector2; + _lastMousePos = vector; + return; + } + case 5: + num5 = 1; + goto IL_00af; + case 4: + num = (_isPanning ? (-621061493) : (-621061500)); + break; + case 8: + _isPanning = true; + _lastMousePos = _206F_202E_202D_206E_200D_200D_202D_206F_206F_206E_202C_202C_202D_200C_206D_202E_206A_200E_200B_200B_202C_202A_200C_200C_200E_202C_200B_206A_206B_202D_202D_206C_200D_202D_200C_202C_206E_202D_202E_206B_202E(); + _panStartPos = _lastMousePos; + return; + case 1: + { + float zoom = _zoom; + _zoom = _206A_202A_200D_202A_206E_202A_202E_200B_206E_200E_202A_206B_202A_202C_200D_206C_200F_206D_206B_206D_200F_200C_202D_206F_202A_202A_206E_206F_206C_202B_206D_202E_206B_206D_200D_200E_200B_200F_200F_200D_202E(0.1f, _202A_206A_206F_206A_202E_200B_202C_206A_200B_206F_206D_202B_202D_206D_202C_202D_206D_200D_200B_200E_200D_206A_202E_200D_200D_202B_206A_202C_206F_200E_200D_202A_206F_206D_206B_202C_202E_206B_206D_206D_202E(3f, _zoom + imGuiIOPtr.MouseWheel * 0.05f)); + Vector2 vector3 = _206F_202E_202D_206E_200D_200D_202D_206F_206F_206E_202C_202C_202D_200C_206D_202E_206A_200E_200B_200B_202C_202A_200C_200C_200E_202C_200B_206A_206B_202D_202D_206C_200D_202D_200C_202C_206E_202D_202E_206B_202E() - canvasPos - canvasSize * 0.5f - _offset; + _offset -= vector3 * (_zoom / zoom - 1f); + num = -621061490; + break; + } + case 6: + num5 = (_202D_200B_206D_200B_206C_200D_206E_202C_200F_206A_200C_202C_202A_206B_206D_202D_206B_200C_206F_206B_200D_202C_206D_206A_200B_202D_200F_206E_202D_202C_200E_202D_202E_202B_206D_202A_202B_202C_206E_202C_202E(ImGuiMouseButton.Middle) ? 1 : 0); + goto IL_00af; + case 2: + num = (_202D_200B_206D_200B_206C_200D_206E_202C_200F_206A_200C_202C_202A_206B_206D_202D_206B_200C_206F_206B_200D_202C_206D_206A_200B_202D_200F_206E_202D_202C_200E_202D_202E_202B_206D_202A_202B_202C_206E_202C_202E(ImGuiMouseButton.Left) ? (-621061495) : (-621061498)); + break; + case 10: + num = (_202D_200B_206D_200B_206C_200D_206E_202C_200F_206A_200C_202C_202A_206B_206D_202D_206B_200C_206F_206B_200D_202C_206D_206A_200B_202D_200F_206E_202D_202C_200E_202D_202E_202B_206D_202A_202B_202C_206E_202C_202E(ImGuiMouseButton.Right) ? (-621061495) : (-621061494)); + break; + case 9: + _isPanning = false; + return; + case 3: + { + num = ((!(_206F_200F_206B_200F_200D_200F_202C_202A_206A_200B_200C_206E_206B_206C_200F_200D_206C_200B_202B_200D_200C_206F_206B_206E_200B_206E_206E_206E_206C_202C_200C_200E_202C_202B_200D_206E_200B_200D_206C_202E_202E(imGuiIOPtr.MouseWheel) > 0.01f)) ? (-621061490) : (-621061491)); + break; + } + IL_00af: + flag = (byte)num5 != 0; + num3 = (flag ? 1 : 0); + num4 = (isHovered ? 1 : 0); + num = ((num4 + num3 - (num4 | num3) == 0) ? (-621061499) : (-621061496)); + break; + } + } + } + + private void HandleVertexDrag(IEditablePolygonSet polygons, Vector2 imagePos, Vector2 imageSizeVec, bool mapHovered, int nearVertexIndex) + { + int num = (_isDraggingVertex ? (-1319429381) : (-1319429404)); + IList vertices = default(IList); + IList vertices2 = default(IList); + while (true) + { + int num2 = num; + int num3 = -1319429406; + int num4 = num2; + int num5; + int num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1319429404; + break; + case 5: + num = ((!_202E_202A_206A_200F_200E_206A_202D_202E_200E_202E_206A_206E_200B_200D_200B_202C_200C_206A_202E_206E_200E_202E_200F_202B_200E_202B_202E_206E_206B_202D_202D_200C_202A_206D_206B_206F_200E_200D_206E_202D_202E(ImGuiMouseButton.Left)) ? (-1319429397) : (-1319429386)); + break; + case 16: + num = ((!_202B_206C_206A_200D_202D_206B_200D_206C_206C_200B_206F_200B_206B_202C_202E_202D_206E_200C_206B_206E_202E_206E_206A_206F_202A_202D_202C_200D_202E_200F_206B_202E_200F_206A_206E_202B_200E_206C_202D_202E_202E(ImGuiMouseButton.Left)) ? (-1319429392) : (-1319429402)); + break; + case 4: + _isDraggingVertex = false; + _dragPolyIndex = -1; + _dragVertexIndex = -1; + _suppressClickThisFrame = true; + num = -1319429392; + break; + case 19: + num = ((_dragPolyIndex >= polygons.PolygonCount) ? (-1319429394) : (-1319429407)); + break; + case 22: + num = ((SelectedIndex < 0) ? (-1319429389) : (-1319429395)); + break; + case 14: + { + Vector2 vector = _206F_202E_202D_206E_200D_200D_202D_206F_206F_206E_202C_202C_202D_200C_206D_202E_206A_200E_200B_200B_202C_202A_200C_200C_200E_202C_200B_206A_206B_202D_202D_206C_200D_202D_200C_202C_206E_202D_202E_206B_202E(); + Vector2 vector2 = _mapService.ScreenToWorld(vector, imagePos, imageSizeVec); + Vector2? vector3 = FindSnapTarget(polygons, _dragPolyIndex, _dragVertexIndex, vector, imagePos, imageSizeVec); + vertices[_dragVertexIndex] = vector3 ?? vector2; + num = -1319429394; + break; + } + case 11: + vertices2 = polygons.GetVertices(SelectedIndex); + num = ((vertices2.Count <= 3) ? (-1319429389) : (-1319429393)); + break; + case 10: + num = ((!_202D_200B_206D_200B_206C_200D_206E_202C_200F_206A_200C_202C_202A_206B_206D_202D_206B_200C_206F_206B_200D_202C_206D_206A_200B_202D_200F_206E_202D_202C_200E_202D_202E_202B_206D_202A_202B_202C_206E_202C_202E(ImGuiMouseButton.Left)) ? (-1319429394) : (-1319429387)); + break; + case 9: + num = ((!_isDraggingVertex) ? (-1319429394) : (-1319429400)); + break; + case 12: + num = ((!_isDraggingVertex) ? (-1319429392) : (-1319429390)); + break; + case 15: + num = ((SelectedIndex >= polygons.PolygonCount) ? (-1319429389) : (-1319429399)); + break; + case 24: + num = ((nearVertexIndex < 0) ? (-1319429397) : (-1319429401)); + break; + case 6: + num5 = ((!_isDrawing) ? 1 : 0); + goto IL_02be; + case 25: + num5 = 0; + goto IL_02be; + case 2: + num = ((_dragVertexIndex >= vertices.Count) ? (-1319429394) : (-1319429396)); + break; + case 21: + num = ((!_202E_202A_206A_200F_200E_206A_202D_202E_200E_202E_206A_206E_200B_200D_200B_202C_200C_206A_202E_206E_200E_202E_200F_202B_200E_202B_202E_206E_206B_202D_202D_200C_202A_206D_206B_206F_200E_200D_206E_202D_202E(ImGuiMouseButton.Right)) ? (-1319429389) : (-1319429388)); + break; + case 13: + vertices2.RemoveAt(nearVertexIndex); + num = -1319429389; + break; + case 18: + num = (_isDraggingVertex ? (-1319429403) : (-1319429405)); + break; + case 7: + num6 = 0; + goto IL_0363; + case 3: + vertices = polygons.GetVertices(_dragPolyIndex); + num = ((_dragVertexIndex < 0) ? (-1319429394) : (-1319429408)); + break; + case 8: + num = ((nearVertexIndex < 0) ? (-1319429389) : (-1319429385)); + break; + case 20: + _isDraggingVertex = true; + _dragPolyIndex = SelectedIndex; + _dragVertexIndex = nearVertexIndex; + num = -1319429397; + break; + case 1: + num6 = ((!_isDrawing) ? 1 : 0); + goto IL_0363; + case 23: + num = ((_dragPolyIndex < 0) ? (-1319429394) : (-1319429391)); + break; + case 17: + return; + IL_02be: + num = ((((uint)num5 & (mapHovered ? 1u : 0u)) == 0) ? (-1319429397) : (-1319429382)); + break; + IL_0363: + num = ((((uint)num6 & (mapHovered ? 1u : 0u)) == 0) ? (-1319429389) : (-1319429398)); + break; + } + } + } + + private void HandleMouseInput(IEditablePolygonSet polygons, Vector2 imagePos, Vector2 imageSizeVec, bool mapHovered) + { + int num = (_202B_206C_206A_200D_202D_206B_200D_206C_206C_200B_206F_200B_206B_202C_202E_202D_206E_200C_206B_206E_202E_206E_206A_206F_202A_202D_202C_200D_202E_200F_206B_202E_200F_206A_206E_202B_200E_206C_202D_202E_202E(ImGuiMouseButton.Left) ? 1762495191 : 1762495193); + int num8 = default(int); + int num7 = default(int); + IList vertices2 = default(IList); + int hoveredEdgeIndex = default(int); + Vector2 point = default(Vector2); + while (true) + { + int num2 = num; + int num3 = 1762495184; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = ((SelectedIndex < 0) ? 1762495175 : 1762495192); + break; + case 18: + num8 = num7; + num = 1762495196; + break; + case 5: + vertices2 = polygons.GetVertices(SelectedIndex); + hoveredEdgeIndex = _hoveredEdgeIndex; + num = ((hoveredEdgeIndex >= vertices2.Count) ? 1762495175 : 1762495194); + break; + case 8: + num = ((SelectedIndex >= polygons.PolygonCount) ? 1762495175 : 1762495189); + break; + case 17: + num = ((num8 < 0) ? 1762495199 : 1762495198); + break; + case 21: + return; + case 4: + num = ((!_isDraggingVertex) ? 1762495190 : 1762495173); + break; + case 1: + num = (mapHovered ? 1762495174 : 1762495172); + break; + case 23: + num8 = -1; + num7 = 0; + num = 1762495195; + break; + case 20: + return; + case 12: + { + int num9 = num7; + num3 = 1; + num4 = num9; + num7 = (num4 | num3) + (num4 & num3); + num = 1762495195; + break; + } + case 11: + num = ((num7 < polygons.PolygonCount) ? 1762495168 : 1762495169); + break; + case 13: + return; + case 0: + num = (_isDrawing ? 1762495173 : 1762495188); + break; + case 10: + { + int num10 = hoveredEdgeIndex; + num3 = 1; + num4 = num10; + int num11 = num4 ^ num3; + int num12 = num4 & num3; + int index = (num11 + (num12 + num12)) % vertices2.Count; + Vector2 item = (vertices2[hoveredEdgeIndex] + vertices2[index]) / 2f; + vertices2.Insert(index, item); + return; + } + case 14: + SelectedIndex = num8; + num = 1762495199; + break; + case 7: + num = ((!_suppressClickThisFrame) ? 1762495184 : 1762495187); + break; + case 9: + return; + case 22: + { + Vector2 screenPos = _206F_202E_202D_206E_200D_200D_202D_206F_206F_206E_202C_202C_202D_200C_206D_202E_206A_200E_200B_200B_202C_202A_200C_200C_200E_202C_200B_206A_206B_202D_202D_206C_200D_202D_200C_202C_206E_202D_202E_206B_202E(); + point = _mapService.ScreenToWorld(screenPos, imagePos, imageSizeVec); + num = ((_hoveredEdgeIndex < 0) ? 1762495175 : 1762495186); + break; + } + case 16: + { + IList vertices = polygons.GetVertices(num7); + num = ((!PointInPolygon(point, vertices)) ? 1762495196 : 1762495170); + break; + } + case 6: + num = ((!(Vector2.Distance(_206F_202E_202D_206E_200D_200D_202D_206F_206F_206E_202C_202C_202D_200C_206D_202E_206A_200E_200B_200B_202C_202A_200C_200C_200E_202C_200B_206A_206B_202D_202D_206C_200D_202D_200C_202C_206E_202D_202E_206B_202E(), _panStartPos) > 4f)) ? 1762495185 : 1762495197); + break; + case 3: + _suppressClickThisFrame = false; + return; + case 15: + return; + case 19: + num = 1762495193; + break; + } + } + } + + private void HandleDrawingInput(IEditablePolygonSet polygons, Vector2 imagePos, Vector2 imageSizeVec, bool mapHovered) + { + int num = (_isDrawing ? 1750843241 : 1750843236); + Vector2 item = default(Vector2); + Vector2 vector = default(Vector2); + while (true) + { + int num2 = num; + int num3 = 1750843243; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _drawingVertices.Add(item); + num = 1750843238; + break; + case 1: + num = ((!_200D_202D_206D_202D_206B_206A_206F_202D_206C_202C_206C_206B_206D_206C_206E_200C_202A_206B_202A_202D_206B_202C_200D_200D_202A_200D_200D_206C_200C_200E_206C_200C_200C_206D_206B_206C_202A_200C_200D_206E_202E(ImGuiMouseButton.Left)) ? 1750843232 : 1750843245); + break; + case 16: + num = ((_drawingVertices.Count < 3) ? 1750843244 : 1750843246); + break; + case 11: + num = ((!_202E_202A_206A_200F_200E_206A_202D_202E_200E_202E_206A_206E_200B_200D_200B_202C_200C_206A_202E_206E_200E_202E_200F_202B_200E_202B_202E_206E_206B_202D_202D_200C_202A_206D_206B_206F_200E_200D_206E_202D_202E(ImGuiMouseButton.Left)) ? 1750843238 : 1750843234); + break; + case 12: + return; + case 13: + return; + case 17: + num = ((!_206A_200C_206A_206E_200E_200F_202B_206A_206E_206C_206A_202B_202B_200C_200F_200B_202A_206F_206F_200F_206E_200D_206F_200C_200C_206A_200B_200F_206C_202B_200D_202B_202E_202B_200F_202C_202B_200D_202C_202D_202E(ImGuiKey.Enter)) ? 1750843244 : 1750843259); + break; + case 10: + { + Vector2 value = _mapService.WorldToScreen(_drawingVertices[0].X, _drawingVertices[0].Y, imagePos, imageSizeVec); + num = ((!(Vector2.Distance(vector, value) < 12f)) ? 1750843243 : 1750843247); + break; + } + case 15: + return; + case 2: + num = ((!_206A_200C_206A_206E_200E_200F_202B_206A_206E_206C_206A_202B_202B_200C_200F_200B_202A_206F_206F_200F_206E_200D_206F_200C_200C_206A_200B_200F_206C_202B_200D_202B_202E_202B_200F_202C_202B_200D_202C_202D_202E(ImGuiKey.Escape)) ? 1750843258 : 1750843237); + break; + case 4: + FinishDrawing(polygons); + return; + case 7: + num = (mapHovered ? 1750843242 : 1750843239); + break; + case 3: + num = 1750843236; + break; + case 8: + FinishDrawing(polygons); + return; + case 5: + FinishDrawing(polygons); + return; + case 9: + vector = _206F_202E_202D_206E_200D_200D_202D_206F_206F_206E_202C_202C_202D_200C_206D_202E_206A_200E_200B_200B_202C_202A_200C_200C_200E_202C_200B_206A_206B_202D_202D_206C_200D_202D_200C_202C_206E_202D_202E_206B_202E(); + item = _mapService.ScreenToWorld(vector, imagePos, imageSizeVec); + num = ((_drawingVertices.Count < 3) ? 1750843243 : 1750843233); + break; + case 14: + _isDrawing = false; + _drawingVertices.Clear(); + return; + case 6: + num = ((_drawingVertices.Count < 3) ? 1750843232 : 1750843235); + break; + } + } + } + + private void FinishDrawing(IEditablePolygonSet polygons) + { + _isDrawing = false; + int num = ((_drawingVertices.Count >= 3) ? 1071882970 : 1071882969); + while (true) + { + int num2 = num; + int num3 = 1071882968; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_005e; + case 1: + _drawingVertices.Clear(); + return; + case 2: + { + List drawingVertices = _drawingVertices; + int count = drawingVertices.Count; + List list = new List(count); + CollectionsMarshal.SetCount(list, count); + Span span = CollectionsMarshal.AsSpan(list); + int num7 = 0; + Span span2 = CollectionsMarshal.AsSpan(drawingVertices); + span2.CopyTo(span.Slice(num7, span2.Length)); + num7 += span2.Length; + polygons.AddPolygon(list); + SelectedIndex = polygons.PolygonCount - 1; + _drawingVertices.Clear(); + return; + } + } + continue; + IL_005e: + num = 1071882969; + } + } + + private int FindNearestVertexHandle(IList verts, Vector2 imagePos, Vector2 imageSizeVec) + { + Vector2 value = _206F_202E_202D_206E_200D_200D_202D_206F_206F_206E_202C_202C_202D_200C_206D_202E_206A_200E_200B_200B_202C_202A_200C_200C_200E_202C_200B_206A_206B_202D_202D_206C_200D_202D_200C_202C_206E_202D_202E_206B_202E(); + float num = 12f; + int result = -1; + int num2 = 0; + int num3 = 1099861971; + float num9 = default(float); + while (true) + { + int num4 = num3; + int num5 = 1099861975; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 4: + num3 = ((num2 < verts.Count) ? 1099861974 : 1099861973); + break; + case 2: + return result; + case 0: + num3 = 1099861971; + break; + case 3: + { + int num10 = num2; + num5 = 1; + num6 = num10; + num2 = (num6 | num5) + (num6 & num5); + num3 = 1099861971; + break; + } + case 5: + num = num9; + result = num2; + num3 = 1099861972; + break; + case 1: + { + Vector2 value2 = _mapService.WorldToScreen(verts[num2].X, verts[num2].Y, imagePos, imageSizeVec); + num9 = Vector2.Distance(value, value2); + num3 = ((!(num9 < num)) ? 1099861972 : 1099861970); + break; + } + } + } + } + + private int FindNearestEdgeMidpoint(IList verts, Vector2 imagePos, Vector2 imageSizeVec) + { + int num = ((verts.Count >= 2) ? (-1822434936) : (-1822434929)); + float num8 = default(float); + float num9 = default(float); + int result = default(int); + int num7 = default(int); + Vector2 value = default(Vector2); + while (true) + { + int num2 = num; + int num3 = -1822434930; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -1822434929; + break; + case 4: + num8 = num9; + result = num7; + num = -1822434930; + break; + case 5: + { + int num13 = num7; + num3 = 1; + num4 = num13; + int num14 = num4 ^ num3; + int num15 = num4 & num3; + int index = (num14 + (num15 + num15)) % verts.Count; + Vector2 vector = (verts[num7] + verts[index]) / 2f; + Vector2 value2 = _mapService.WorldToScreen(vector.X, vector.Y, imagePos, imageSizeVec); + num9 = Vector2.Distance(value, value2); + num = ((!(num9 < num8)) ? (-1822434930) : (-1822434934)); + break; + } + case 0: + { + int num10 = num7; + num3 = 1; + num4 = num10; + int num11 = num4 ^ num3; + int num12 = num4 & num3; + num7 = num11 + (num12 + num12); + num = -1822434935; + break; + } + case 1: + return -1; + case 6: + value = _206F_202E_202D_206E_200D_200D_202D_206F_206F_206E_202C_202C_202D_200C_206D_202E_206A_200E_200B_200B_202C_202A_200C_200C_200E_202C_200B_206A_206B_202D_202D_206C_200D_202D_200C_202C_206E_202D_202E_206B_202E(); + num8 = 10f; + result = -1; + num7 = 0; + num = -1822434935; + break; + case 2: + return result; + case 7: + num = ((num7 < verts.Count) ? (-1822434933) : (-1822434932)); + break; + } + } + } + + private Vector2? FindSnapTarget(IEditablePolygonSet polygons, int currentPolyIndex, int currentVertexIndex, Vector2 mouseScreenPos, Vector2 imagePos, Vector2 imageSizeVec) + { + float num = 10f; + Vector2? result = null; + int num2 = 0; + int num3 = 302081773; + float num8 = default(float); + IList vertices = default(IList); + int num7 = default(int); + while (true) + { + int num4 = num3; + int num5 = 302081770; + int num6 = num4; + switch ((num6 | num5) - (num6 & num5)) + { + case 3: + num = num8; + result = vertices[num7]; + num3 = 302081775; + break; + case 6: + { + int num9 = num2; + num5 = 1; + num6 = num9; + num2 = (num6 | num5) + (num6 & num5); + num3 = 302081773; + break; + } + case 8: + { + Vector2 value = _mapService.WorldToScreen(vertices[num7].X, vertices[num7].Y, imagePos, imageSizeVec); + num8 = Vector2.Distance(mouseScreenPos, value); + num3 = ((!(num8 < num)) ? 302081775 : 302081769); + break; + } + case 10: + num3 = ((num2 != currentPolyIndex) ? 302081762 : 302081770); + break; + case 4: + num3 = 302081773; + break; + case 7: + num3 = ((num2 < polygons.PolygonCount) ? 302081771 : 302081763); + break; + case 1: + vertices = polygons.GetVertices(num2); + num7 = 0; + num3 = 302081768; + break; + case 5: + { + int num10 = num7; + num5 = 1; + num6 = num10; + num7 = (num6 | num5) + (num6 & num5); + num3 = 302081768; + break; + } + case 9: + return result; + case 0: + num3 = ((num7 == currentVertexIndex) ? 302081775 : 302081762); + break; + case 2: + num3 = ((num7 < vertices.Count) ? 302081760 : 302081772); + break; + } + } + } + + private static bool PointInPolygon(Vector2 point, IList verts) + { + int num = ((verts.Count >= 3) ? 1302891100 : 1302891101); + bool flag = default(bool); + float x2 = default(float); + int num7 = default(int); + float y = default(float); + float x = default(float); + int index = default(int); + float y2 = default(float); + while (true) + { + int num2 = num; + int num3 = 1302891097; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + flag = !flag; + num = 1302891098; + break; + case 7: + x2 = verts[num7].X; + y = verts[num7].Y; + x = verts[index].X; + y2 = verts[index].Y; + num = ((y > point.Y == y2 > point.Y) ? 1302891098 : 1302891096); + break; + case 0: + return flag; + case 1: + num = ((!(point.X < (x - x2) * (point.Y - y) / (y2 - y) + x2)) ? 1302891098 : 1302891103); + break; + case 4: + return false; + case 5: + flag = false; + num7 = 0; + index = verts.Count - 1; + num = 1302891089; + break; + case 2: + num = 1302891101; + break; + case 3: + { + int num8 = num7; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num7 = num9 + (num10 + num10); + index = num8; + num = 1302891089; + break; + } + case 8: + num = ((num7 < verts.Count) ? 1302891102 : 1302891097); + break; + } + } + } + + private static Vector2 ComputeCentroid(IList verts) + { + float num = 0f; + float num2 = 0f; + int num3 = 0; + int num4 = 321919645; + while (true) + { + int num5 = num4; + int num6 = 321919644; + int num7 = num5; + int num8 = num7 + num6; + int num9 = num7 & num6; + switch (num8 - (num9 + num9)) + { + case 0: + num4 = 321919645; + break; + case 1: + num4 = ((num3 < verts.Count) ? 321919646 : 321919647); + break; + case 3: + return new Vector2(num / (float)verts.Count, num2 / (float)verts.Count); + case 2: + { + num += verts[num3].X; + num2 += verts[num3].Y; + int num10 = num3; + num6 = 1; + num7 = num10; + num3 = (num7 | num6) + (num7 & num6); + num4 = 321919645; + break; + } + } + } + } + + static Vector2 _202A_200B_202A_206D_202C_202C_202E_200C_202D_202E_200C_206D_206F_202A_206B_206E_200E_200F_206F_206A_206A_202B_202C_200F_200D_200F_202D_200F_200B_200C_202C_202D_200D_202C_200B_200D_202A_200B_206D_206B_202E() + { + return Dalamud.Bindings.ImGui.ImGui.GetContentRegionAvail(); + } + + static float _206A_202A_200D_202A_206E_202A_202E_200B_206E_200E_202A_206B_202A_202C_200D_206C_200F_206D_206B_206D_200F_200C_202D_206F_202A_202A_206E_206F_206C_202B_206D_202E_206B_206D_200D_200E_200B_200F_200F_200D_202E(float P_0, float P_1) + { + return MathF.Max(P_0, P_1); + } + + static bool _206A_202A_202E_206F_202E_200F_200E_202E_206A_206D_206D_202E_200D_202D_206C_202A_200E_202E_206B_202B_200C_202A_206E_200B_206E_202A_206F_206E_202C_200B_200B_202A_206A_206B_202A_206B_202C_202B_202C_202A_202E(ImU8String P_0, Vector2 P_1, bool P_2, ImGuiWindowFlags P_3) + { + return Dalamud.Bindings.ImGui.ImGui.BeginChild(P_0, P_1, P_2, P_3); + } + + static void _206C_202E_202E_202C_202E_202B_206C_206D_202C_206B_206F_206B_202B_206C_206D_200B_206E_200B_206D_202D_206B_202C_200C_206A_206B_206B_206C_206A_200B_200B_200B_202B_200B_202E_206D_200B_206A_200D_202B_206E_202E() + { + Dalamud.Bindings.ImGui.ImGui.EndChild(); + } + + static Vector2 _200D_206C_202C_202A_200F_200F_200F_200D_202E_202E_200F_206C_200E_200B_206C_200E_206A_202A_202E_200D_202D_200F_200D_202B_200C_206D_200D_202A_202E_202C_202A_202A_206F_202E_200E_200E_202E_200C_206F_206C_202E() + { + return Dalamud.Bindings.ImGui.ImGui.GetCursorScreenPos(); + } + + static bool _206E_200D_206A_202C_202D_206B_202B_206B_202A_206F_200F_206C_206A_202C_200B_202E_200F_206C_202C_202A_200F_202C_206E_206D_202A_206A_200E_202E_200F_200E_206E_206D_202D_202B_206F_206B_200D_200E_206D_206F_202E(ImU8String P_0, Vector2 P_1, ImGuiButtonFlags P_2) + { + return Dalamud.Bindings.ImGui.ImGui.InvisibleButton(P_0, P_1, P_2); + } + + static bool _200D_200B_206C_202A_202C_206F_200C_202E_200F_202C_202E_200E_202A_202A_206C_200B_206F_200D_202A_206D_202B_202B_202A_206F_206F_206C_202E_206D_202B_200C_206C_206C_200E_200C_206F_202E_206F_206B_200F_200D_202E() + { + return Dalamud.Bindings.ImGui.ImGui.IsItemHovered(); + } + + static void _202B_206C_200F_200F_200D_202C_206D_200C_200B_200D_202A_202D_206F_202B_206E_206C_202B_200D_206D_202E_206A_202A_200B_206B_202B_206E_200C_200C_200D_206C_202D_206A_202B_206F_200D_200F_202C_202B_206D_200E_202E(Vector2 P_0) + { + Dalamud.Bindings.ImGui.ImGui.SetCursorScreenPos(P_0); + } + + static void _206D_202C_202B_206C_202B_200D_202B_200E_202E_206F_202E_200D_200B_202B_206A_202E_200F_206D_202A_206F_200F_200B_202D_200B_206A_202E_206E_202D_202E_200D_206C_200F_206C_202D_202C_202B_202B_200F_206D_206E_202E(ImU8String P_0) + { + Dalamud.Bindings.ImGui.ImGui.TextDisabled(P_0); + } + + static ImDrawListPtr _200B_200C_202B_202C_206F_206E_206A_202B_200B_202D_202D_206D_202C_200B_202B_200F_206E_206C_206D_202D_206E_200F_206A_200E_202D_206F_200C_200F_202D_202A_202A_202C_202E_206B_202C_206D_202C_202A_202D_202E_202E() + { + return Dalamud.Bindings.ImGui.ImGui.GetWindowDrawList(); + } + + static ImTextureID _200B_202A_202D_202A_200B_206F_202A_200D_206A_202C_206B_206F_206C_206E_206C_202C_206D_206F_202E_206A_202C_202E_206A_202C_206B_206B_202C_202B_206A_206F_206F_206D_200E_206C_200F_202B_206B_206E_202B_200E_202E(IDalamudTextureWrap P_0) + { + return P_0.Handle; + } + + static bool _206C_200B_206A_206F_200D_206E_202D_206B_206C_206F_200E_200E_202E_200B_206F_206B_202B_202B_200D_200B_202C_206B_202A_206D_200F_202B_202C_206D_202E_200C_206A_202B_200D_202C_202E_202A_202C_200E_206E_202C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static Vector2 _206F_202E_202D_206E_200D_200D_202D_206F_206F_206E_202C_202C_202D_200C_206D_202E_206A_200E_200B_200B_202C_202A_200C_200C_200E_202C_200B_206A_206B_202D_202D_206C_200D_202D_200C_202C_206E_202D_202E_206B_202E() + { + return Dalamud.Bindings.ImGui.ImGui.GetMousePos(); + } + + static ImGuiIOPtr _202A_206D_200D_200B_206F_206A_202B_202E_202B_200F_200B_206E_206E_202C_200B_206A_202A_200F_202A_200C_206C_202A_202C_206F_202D_206C_202C_206F_206C_206D_206A_200E_206E_200B_200E_202B_206A_200E_202C_202D_202E() + { + return Dalamud.Bindings.ImGui.ImGui.GetIO(); + } + + static float _206F_200F_206B_200F_200D_200F_202C_202A_206A_200B_200C_206E_206B_206C_200F_200D_206C_200B_202B_200D_200C_206F_206B_206E_200B_206E_206E_206E_206C_202C_200C_200E_202C_202B_200D_206E_200B_200D_206C_202E_202E(float P_0) + { + return MathF.Abs(P_0); + } + + static float _202A_206A_206F_206A_202E_200B_202C_206A_200B_206F_206D_202B_202D_206D_202C_202D_206D_200D_200B_200E_200D_206A_202E_200D_200D_202B_206A_202C_206F_200E_200D_202A_206F_206D_206B_202C_202E_206B_206D_206D_202E(float P_0, float P_1) + { + return MathF.Min(P_0, P_1); + } + + static bool _202D_200B_206D_200B_206C_200D_206E_202C_200F_206A_200C_202C_202A_206B_206D_202D_206B_200C_206F_206B_200D_202C_206D_206A_200B_202D_200F_206E_202D_202C_200E_202D_202E_202B_206D_202A_202B_202C_206E_202C_202E(ImGuiMouseButton P_0) + { + return Dalamud.Bindings.ImGui.ImGui.IsMouseDown(P_0); + } + + static bool _202E_202A_206A_200F_200E_206A_202D_202E_200E_202E_206A_206E_200B_200D_200B_202C_200C_206A_202E_206E_200E_202E_200F_202B_200E_202B_202E_206E_206B_202D_202D_200C_202A_206D_206B_206F_200E_200D_206E_202D_202E(ImGuiMouseButton P_0) + { + return Dalamud.Bindings.ImGui.ImGui.IsMouseClicked(P_0); + } + + static bool _202B_206C_206A_200D_202D_206B_200D_206C_206C_200B_206F_200B_206B_202C_202E_202D_206E_200C_206B_206E_202E_206E_206A_206F_202A_202D_202C_200D_202E_200F_206B_202E_200F_206A_206E_202B_200E_206C_202D_202E_202E(ImGuiMouseButton P_0) + { + return Dalamud.Bindings.ImGui.ImGui.IsMouseReleased(P_0); + } + + static bool _206A_200C_206A_206E_200E_200F_202B_206A_206E_206C_206A_202B_202B_200C_200F_200B_202A_206F_206F_200F_206E_200D_206F_200C_200C_206A_200B_200F_206C_202B_200D_202B_202E_202B_200F_202C_202B_200D_202C_202D_202E(ImGuiKey P_0) + { + return Dalamud.Bindings.ImGui.ImGui.IsKeyPressed(P_0); + } + + static bool _200D_202D_206D_202D_206B_206A_206F_202D_206C_202C_206C_206B_206D_206C_206E_200C_202A_206B_202A_202D_206B_202C_200D_200D_202A_200D_200D_206C_200C_200E_206C_200C_200C_206D_206B_206C_202A_200C_200D_206E_202E(ImGuiMouseButton P_0) + { + return Dalamud.Bindings.ImGui.ImGui.IsMouseDoubleClicked(P_0); + } +} diff --git a/LLib/LLib.ImGui/MapTextureService.cs b/LLib/LLib.ImGui/MapTextureService.cs new file mode 100644 index 00000000..f722e6f8 --- /dev/null +++ b/LLib/LLib.ImGui/MapTextureService.cs @@ -0,0 +1,363 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool LoadForTerritory(uint territoryType) + { + int num = ((territoryType != _loadedTerritoryType) ? (-703602804) : (-703602806)); + List list2 = default(List); + string value = default(string); + Map? map = default(Map?); + string[] array = default(string[]); + string text = default(string); + TerritoryType? rowOrDefault = default(TerritoryType?); + while (true) + { + int num2 = num; + int num3 = -703602814; + int num4 = num2; + Map? obj; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + return false; + case 3: + num = ((_200E_206C_202D_200C_200F_206A_202A_200E_200E_202C_202D_202D_202B_206B_206F_206F_200F_206D_206A_206E_202C_206E_200F_200F_206B_202A_206A_202A_200F_206A_206F_206A_200E_200D_206E_206D_206B_206B_200D_206E_202E() >= _retryAtMs) ? (-703602796) : (-703602814)); + continue; + case 16: + num = ((_candidateTextures == null) ? (-703602797) : (-703602813)); + continue; + case 21: + _failed = true; + return false; + case 1: + PollCandidates(); + return _resolvedTexture != null; + case 7: + num = ((!_failed) ? (-703602799) : (-703602816)); + continue; + case 15: + { + List list = list2; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(19, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(674220722)); + defaultInterpolatedStringHandler.AppendFormatted(value); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-27764842)); + defaultInterpolatedStringHandler.AppendFormatted(value); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(582629916)); + list.Add(defaultInterpolatedStringHandler.ToStringAndClear()); + num = -703602795; + continue; + } + case 23: + _206F_200B_200E_206D_200C_200B_206B_206C_202A_206C_206C_206C_206D_202E_206E_206F_206A_200C_200D_200C_202D_202D_200E_206D_202E_202D_200D_202C_206C_200B_200E_202B_200F_202E_202E_206A_202D_206C_206A_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1609496745), new object[2] + { + territoryType, + _200C_200F_206E_202C_206F_206E_206F_206F_200E_206B_202E_200B_206C_200F_200B_206A_200C_200E_202C_202A_202A_200B_202D_202C_202D_206B_202E_206A_200D_200E_202D_206E_202B_202C_200C_200C_202B_206C_206B_202E_202E(global::_003CModule_003E._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(1645706687), (IEnumerable)list2) + }); + _candidateTextures = list2.Select((string p) => _202E_206B_206B_200F_206B_206E_202B_202D_200C_200F_202C_202E_200B_206B_200B_202B_202B_200D_202B_202A_202C_202C_206F_206C_206D_200E_202A_200C_200E_200E_202C_202B_206B_200C_202D_202B_200B_202E_200D_206B_202E(_textureProvider, p)).ToList(); + PollCandidates(); + return _resolvedTexture != null; + case 14: + num = ((territoryType != _loadedTerritoryType) ? (-703602799) : (-703602811)); + continue; + case 17: + num = ((territoryType != _loadedTerritoryType) ? (-703602796) : (-703602815)); + continue; + case 20: + num = ((map.Value.RowId != 0) ? (-703602808) : (-703602809)); + continue; + case 19: + num = ((territoryType != _loadedTerritoryType) ? (-703602797) : (-703602798)); + continue; + case 13: + return true; + case 9: + obj = null; + break; + case 4: + num = -703602806; + continue; + case 2: + return false; + case 18: + array = _202B_200D_202E_202E_200B_206D_206C_206E_200C_200B_200E_202E_202B_200F_202C_200F_202E_206B_200E_206B_200C_202E_206D_206C_206F_206C_202D_200F_200B_200F_202D_206B_202A_206E_206D_206B_206A_202B_202A_200D_202E(text, '/', StringSplitOptions.None); + num = ((array.Length == 2) ? (-703602807) : (-703602793)); + continue; + case 5: + _failed = true; + return false; + case 11: + { + value = array[0]; + string text2 = array[1]; + List list3 = new List(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(14, 3); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1333505234)); + defaultInterpolatedStringHandler2.AppendFormatted(text); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-102430846)); + defaultInterpolatedStringHandler2.AppendFormatted(value); + defaultInterpolatedStringHandler2.AppendFormatted(text2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-25096421)); + list3.Add(defaultInterpolatedStringHandler2.ToStringAndClear()); + list2 = list3; + num = ((!_206A_200E_206B_206F_206B_200E_202B_206E_202E_200C_206F_206A_202E_200F_206B_206E_206A_200B_200D_202D_200B_202B_206A_200C_202E_206C_206D_206D_206D_206C_200F_202B_200D_200D_202C_206F_206B_206A_206A_206D_202E(text2, global::_003CModule_003E._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(-1596345032))) ? (-703602795) : (-703602803)); + continue; + } + case 6: + _failed = true; + return false; + case 8: + num = ((_resolvedTexture == null) ? (-703602804) : (-703602801)); + continue; + case 22: + _resolvedTexture = null; + _candidateTextures = null; + _failed = false; + _retryAtMs = 0L; + _loadedTerritoryType = territoryType; + _searchFrames = 0; + rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault(territoryType); + num = (rowOrDefault.HasValue ? (-703602802) : (-703602805)); + continue; + case 10: + _sizeFactor = map.Value.SizeFactor; + _offsetX = map.Value.OffsetX; + _offsetY = map.Value.OffsetY; + text = map.Value.Id.ExtractText(); + num = ((!_206C_200D_202E_202D_202C_202E_200C_202D_202C_202A_200F_206D_200B_206B_200B_206B_202A_206A_200D_206F_206C_200B_206A_200E_206C_206E_200B_202E_200C_200E_206E_206F_206F_202A_206C_200D_200B_200B_206C_206B_202E(text)) ? (-703602800) : (-703602812)); + continue; + case 12: + obj = rowOrDefault.GetValueOrDefault().Map.ValueNullable; + break; + } + map = obj; + num = ((!map.HasValue) ? (-703602809) : (-703602794)); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void PollCandidates() + { + int num = ((_candidateTextures != null) ? 1719406812 : 1719406813); + ISharedImmediateTexture current = default(ISharedImmediateTexture); + while (true) + { + int num2 = num; + int num3 = 1719406812; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004b; + case 1: + return; + case 0: + { + using (List.Enumerator enumerator = _candidateTextures.GetEnumerator()) + { + num = -2142994811; + while (true) + { + int num7 = num; + num3 = -2142994811; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = (enumerator.MoveNext() ? (-2142994815) : (-2142994809)); + break; + case 4: + current = enumerator.Current; + num = ((_202E_200B_200C_200B_206D_200E_200B_206F_200D_206E_202C_206D_200C_206C_200D_202D_206E_200E_206F_200C_206B_200F_200B_206A_206E_200F_202D_200D_200D_202E_202E_200C_200B_206A_206B_202E_206D_202E_202A_202D_202E(current, (IDalamudTextureWrap)null) == null) ? (-2142994811) : (-2142994812)); + break; + case 3: + num = -2142994811; + break; + case 1: + _resolvedTexture = current; + _candidateTextures = null; + return; + case 2: + goto end_IL_006e; + } + continue; + end_IL_006e: + break; + } + } + int searchFrames = _searchFrames; + num3 = 1; + num4 = searchFrames; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + _searchFrames = num8 + (num9 + num9); + num = ((_searchFrames < 120) ? 613954225 : 613954226); + while (true) + { + int num10 = num; + num3 = 613954224; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 613954226; + break; + case 2: + _206D_206F_202C_200D_202B_202E_200C_200B_206C_206A_206D_202B_206B_202B_206B_202C_202A_206B_202C_200E_206E_200F_200F_206D_202A_206B_206F_206B_200D_200F_200D_206D_200C_206B_200D_202B_200D_206A_206D_200C_202E((ILogger)_logger, global::_003CModule_003E._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(1519773533), new object[2] { _loadedTerritoryType, 30L }); + _candidateTextures = null; + _retryAtMs = _200E_206C_202D_200C_200F_206A_202A_200E_200E_202C_202D_202D_202B_206B_206F_206F_200F_206D_206A_206E_202C_206E_200F_200F_206B_202A_206A_202A_200F_206A_206F_206A_200E_200D_206E_206D_206B_206B_200D_206E_202E() + 30000; + num = 613954225; + break; + case 1: + return; + } + } + } + } + continue; + IL_004b: + num = 1719406813; + } + } + + public IDalamudTextureWrap? GetTextureWrap() + { + ISharedImmediateTexture? resolvedTexture = _resolvedTexture; + if (resolvedTexture == null) + { + return null; + } + return _202E_200B_200C_200B_206D_200E_200B_206F_200D_206E_202C_206D_200C_206C_200D_202D_206E_200E_206F_200C_206B_200F_200B_206A_206E_200F_202D_200D_200D_202E_202E_200C_200B_206A_206B_202E_206D_202E_202A_202D_202E(resolvedTexture, (IDalamudTextureWrap)null); + } + + 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); + } + + static long _200E_206C_202D_200C_200F_206A_202A_200E_200E_202C_202D_202D_202B_206B_206F_206F_200F_206D_206A_206E_202C_206E_200F_200F_206B_202A_206A_202A_200F_206A_206F_206A_200E_200D_206E_206D_206B_206B_200D_206E_202E() + { + return Environment.TickCount64; + } + + static bool _206C_200D_202E_202D_202C_202E_200C_202D_202C_202A_200F_206D_200B_206B_200B_206B_202A_206A_200D_206F_206C_200B_206A_200E_206C_206E_200B_202E_200C_200E_206E_206F_206F_202A_206C_200D_200B_200B_206C_206B_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string[] _202B_200D_202E_202E_200B_206D_206C_206E_200C_200B_200E_202E_202B_200F_202C_200F_202E_206B_200E_206B_200C_202E_206D_206C_206F_206C_202D_200F_200B_200F_202D_206B_202A_206E_206D_206B_206A_202B_202A_200D_202E(string P_0, char P_1, StringSplitOptions P_2) + { + return P_0.Split(P_1, P_2); + } + + static bool _206A_200E_206B_206F_206B_200E_202B_206E_202E_200C_206F_206A_202E_200F_206B_206E_206A_200B_200D_202D_200B_202B_206A_200C_202E_206C_206D_206D_206D_206C_200F_202B_200D_200D_202C_206F_206B_206A_206A_206D_202E(string P_0, string P_1) + { + return P_0 != P_1; + } + + static string _200C_200F_206E_202C_206F_206E_206F_206F_200E_206B_202E_200B_206C_200F_200B_206A_200C_200E_202C_202A_202A_200B_202D_202C_202D_206B_202E_206A_200D_200E_202D_206E_202B_202C_200C_200C_202B_206C_206B_202E_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static void _206F_200B_200E_206D_200C_200B_206B_206C_202A_206C_206C_206C_206D_202E_206E_206F_206A_200C_200D_200C_202D_202D_200E_206D_202E_202D_200D_202C_206C_200B_200E_202B_200F_202E_202E_206A_202D_206C_206A_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static IDalamudTextureWrap _202E_200B_200C_200B_206D_200E_200B_206F_200D_206E_202C_206D_200C_206C_200D_202D_206E_200E_206F_200C_206B_200F_200B_206A_206E_200F_202D_200D_200D_202E_202E_200C_200B_206A_206B_202E_206D_202E_202A_202D_202E(ISharedImmediateTexture P_0, IDalamudTextureWrap P_1) + { + return P_0.GetWrapOrDefault(P_1); + } + + static void _206D_206F_202C_200D_202B_202E_200C_200B_206C_206A_206D_202B_206B_202B_206B_202C_202A_206B_202C_200E_206E_200F_200F_206D_202A_206B_206F_206B_200D_200F_200D_206D_200C_206B_200D_202B_200D_206A_206D_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static ISharedImmediateTexture _202E_206B_206B_200F_206B_206E_202B_202D_200C_200F_202C_202E_200B_206B_200B_202B_202B_200D_202B_202A_202C_202C_206F_206C_206D_200E_202A_200C_200E_200E_202C_202B_206B_200C_202D_202B_200B_202E_200D_206B_202E(ITextureProvider P_0, string P_1) + { + return P_0.GetFromGame(P_1); + } +} diff --git a/LLib/LLib.ImGui/WindowFlash.cs b/LLib/LLib.ImGui/WindowFlash.cs new file mode 100644 index 00000000..3b23e39c --- /dev/null +++ b/LLib/LLib.ImGui/WindowFlash.cs @@ -0,0 +1,79 @@ +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) + { + int num = ((hwnd != 0) ? (-1584485795) : (-1584485796)); + while (true) + { + int num2 = num; + int num3 = -1584485795; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + { + FLASHWINFO pwfi = new FLASHWINFO + { + cbSize = (uint)Marshal.SizeOf(), + hwnd = hwnd, + dwFlags = ((count == 0) ? 15u : 3u), + uCount = count, + dwTimeout = 0u + }; + FlashWindowEx(ref pwfi); + return; + } + case 1: + return; + case 2: + goto IL_0093; + } + continue; + IL_0093: + num = -1584485796; + } + } +} diff --git a/LLib/LLib.Inventory/CofferHelper.cs b/LLib/LLib.Inventory/CofferHelper.cs new file mode 100644 index 00000000..a3155af2 --- /dev/null +++ b/LLib/LLib.Inventory/CofferHelper.cs @@ -0,0 +1,52 @@ +using Lumina.Excel.Sheets; + +namespace LLib.Inventory; + +public static class CofferHelper +{ + public static bool IsGearCoffer(Item item) + { + ItemAction? valueNullable = item.ItemAction.ValueNullable; + int num = (valueNullable.HasValue ? (-77683553) : (-77683554)); + bool flag = default(bool); + uint rowId = default(uint); + while (true) + { + int num2 = num; + int num3 = -77683553; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return false; + case 8: + return item.ItemUICategory.RowId == 61; + case 7: + flag = false; + num = -77683558; + break; + case 5: + num = ((!flag) ? (-77683557) : (-77683561)); + break; + case 3: + flag = true; + num = -77683558; + break; + case 2: + num = -77683554; + break; + case 6: + num = ((rowId != 1085) ? (-77683560) : (-77683556)); + break; + case 1: + return false; + case 0: + rowId = valueNullable.Value.RowId; + num = ((rowId == 388) ? (-77683556) : (-77683559)); + break; + } + } + } +} diff --git a/LLib/LLib.Inventory/InventoryContainers.cs b/LLib/LLib.Inventory/InventoryContainers.cs new file mode 100644 index 00000000..49667480 --- /dev/null +++ b/LLib/LLib.Inventory/InventoryContainers.cs @@ -0,0 +1,313 @@ +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(); + int num = ((ptr != null) ? 422803500 : 422803490); + ReadOnlySpan readOnlySpan = default(ReadOnlySpan); + int num7 = default(int); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + int num9 = default(int); + int num11 = default(int); + InventoryItem* inventorySlot = default(InventoryItem*); + while (true) + { + int num2 = num; + int num3 = 422803495; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + { + InventoryType inventoryType = readOnlySpan[num7]; + inventoryContainer = ptr->GetInventoryContainer(inventoryType); + num = ((inventoryContainer == null) ? 422803501 : 422803493); + break; + } + case 11: + num9 = 0; + readOnlySpan = containers; + num7 = 0; + num = 422803492; + break; + case 0: + num = ((num11 < inventoryContainer->Size) ? 422803491 : 422803501); + break; + case 10: + { + int num14 = num7; + num3 = 1; + num4 = num14; + num7 = (num4 | num3) + (num4 & num3); + num = 422803492; + break; + } + case 7: + { + int num10 = num11; + num3 = 1; + num4 = num10; + int num12 = num4 ^ num3; + int num13 = num4 & num3; + num11 = num12 + (num13 + num13); + num = 422803495; + break; + } + case 9: + { + int num8 = num9; + num3 = 1; + num4 = num8; + num9 = (num4 | num3) + (num4 & num3); + num = 422803488; + break; + } + case 5: + return 0; + case 12: + return num9; + case 6: + num = 422803490; + break; + case 8: + num = ((inventorySlot->ItemId != 0) ? 422803488 : 422803502); + break; + case 2: + num11 = 0; + num = 422803495; + break; + case 4: + inventorySlot = inventoryContainer->GetInventorySlot(num11); + num = ((inventorySlot == null) ? 422803502 : 422803503); + break; + case 3: + num = ((num7 < readOnlySpan.Length) ? 422803494 : 422803499); + break; + } + } + } + + public unsafe static int CountItems(uint itemId, ReadOnlySpan containers) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? 107037197 : 107037193); + int num11 = default(int); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + int num7 = default(int); + ReadOnlySpan readOnlySpan = default(ReadOnlySpan); + int num5 = default(int); + InventoryItem* inventorySlot = default(InventoryItem*); + while (true) + { + int num2 = num; + int num3 = 107037196; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 9: + num11 = 0; + num = 107037196; + break; + case 0: + num = ((num11 < inventoryContainer->Size) ? 107037190 : 107037191); + break; + case 1: + num7 = 0; + readOnlySpan = containers; + num5 = 0; + num = 107037184; + break; + case 3: + num = ((inventorySlot->ItemId != itemId) ? 107037192 : 107037188); + break; + case 7: + num = 107037193; + break; + case 8: + { + int num6 = num7; + num3 = inventorySlot->Quantity; + num4 = num6; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + num7 = num8 + (num9 + num9); + num = 107037192; + break; + } + case 5: + return 0; + case 10: + inventorySlot = inventoryContainer->GetInventorySlot(num11); + num = ((inventorySlot == null) ? 107037192 : 107037199); + break; + case 4: + { + int num12 = num11; + num3 = 1; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + num11 = num13 + (num14 + num14); + num = 107037196; + break; + } + case 6: + { + InventoryType inventoryType = readOnlySpan[num5]; + inventoryContainer = ptr->GetInventoryContainer(inventoryType); + num = ((inventoryContainer == null) ? 107037191 : 107037189); + break; + } + case 2: + return num7; + case 11: + { + int num10 = num5; + num3 = 1; + num4 = num10; + num5 = (num4 | num3) + (num4 & num3); + num = 107037184; + break; + } + case 12: + num = ((num5 < readOnlySpan.Length) ? 107037194 : 107037198); + break; + } + } + } + + public unsafe static List GetHqItems(ReadOnlySpan containers) + { + List list = new List(); + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? (-877452053) : (-877452056)); + InventoryItem* inventorySlot = default(InventoryItem*); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + int num5 = default(int); + ReadOnlySpan readOnlySpan = default(ReadOnlySpan); + int num9 = default(int); + while (true) + { + int num2 = num; + int num3 = -877452054; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + inventorySlot = inventoryContainer->GetInventorySlot(num5); + num = ((inventorySlot == null) ? (-877452055) : (-877452050)); + break; + case 2: + return list; + case 9: + num = -877452056; + break; + case 0: + { + InventoryType inventoryType = readOnlySpan[num9]; + inventoryContainer = ptr->GetInventoryContainer(inventoryType); + num = ((inventoryContainer == null) ? (-877452051) : (-877452057)); + break; + } + case 7: + { + int num10 = num9; + num3 = 1; + num4 = num10; + int num11 = num4 ^ num3; + int num12 = num4 & num3; + num9 = num11 + (num12 + num12); + num = -877452064; + break; + } + case 10: + num = ((num9 < readOnlySpan.Length) ? (-877452054) : (-877452063)); + break; + case 6: + num = ((num5 < inventoryContainer->Size) ? (-877452049) : (-877452051)); + break; + case 12: + num = (((inventorySlot->Flags & InventoryItem.ItemFlags.HighQuality) == 0) ? (-877452055) : (-877452062)); + break; + case 8: + list.Add(*inventorySlot); + num = -877452055; + break; + case 1: + readOnlySpan = containers; + num9 = 0; + num = -877452064; + break; + case 4: + num = ((inventorySlot->ItemId == 0) ? (-877452055) : (-877452058)); + break; + case 3: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = -877452052; + break; + } + case 11: + return list; + case 13: + num5 = 0; + num = -877452052; + break; + } + } + } +} diff --git a/LLib/LLib.Inventory/InventoryHelper.cs b/LLib/LLib.Inventory/InventoryHelper.cs new file mode 100644 index 00000000..49bc1782 --- /dev/null +++ b/LLib/LLib.Inventory/InventoryHelper.cs @@ -0,0 +1,474 @@ +using System; +using System.Runtime.CompilerServices; +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(); + int num = ((ptr != null) ? (-1076709592) : (-1076709591)); + while (true) + { + int num2 = num; + int num3 = -1076709592; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return ptr->GetInventoryItemCount(itemId, isHq: false, checkEquipped, checkArmory, 0) + ptr->GetInventoryItemCount(itemId, isHq: true, checkEquipped, checkArmory, 0); + case 1: + return 0; + case 2: + goto IL_0063; + } + continue; + IL_0063: + num = -1076709591; + } + } + + public unsafe static int GetItemCount(uint itemId, InventoryType inventoryType) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? (-397486013) : (-397486005)); + int num7 = default(int); + int num8 = default(int); + InventoryItem* inventorySlot = default(InventoryItem*); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + while (true) + { + int num2 = num; + int num3 = -397486013; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return 0; + case 7: + { + int num9 = num7; + num3 = 1; + num4 = num9; + num7 = (num4 | num3) + (num4 & num3); + num = -397486009; + break; + } + case 8: + return 0; + case 3: + { + int num10 = num8; + num3 = inventorySlot->Quantity; + num4 = num10; + int num11 = num4 ^ num3; + int num12 = num4 & num3; + num8 = num11 + (num12 + num12); + num = -397486012; + break; + } + case 0: + inventoryContainer = ptr->GetInventoryContainer(inventoryType); + num = ((inventoryContainer != null) ? (-397486007) : (-397486014)); + break; + case 4: + num = ((num7 < inventoryContainer->Size) ? (-397486010) : (-397486011)); + break; + case 6: + return num8; + case 9: + num = ((inventorySlot->ItemId != itemId) ? (-397486012) : (-397486016)); + break; + case 10: + num8 = 0; + num7 = 0; + num = -397486009; + break; + case 5: + inventorySlot = inventoryContainer->GetInventorySlot(num7); + num = ((inventorySlot == null) ? (-397486012) : (-397486006)); + break; + case 2: + num = -397486005; + break; + } + } + } + + public static bool HasFreeInventorySlot() + { + return CountFreeInventorySlots() > 0; + } + + public unsafe static int CountFreeInventorySlots() + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? 1747914912 : 1747914917); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + InventoryType inventoryType = default(InventoryType); + int num5 = default(int); + int num9 = default(int); + InventoryItem* inventorySlot = default(InventoryItem*); + while (true) + { + int num2 = num; + int num3 = 1747914921; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + inventoryContainer = ptr->GetInventoryContainer(inventoryType); + num = ((inventoryContainer == null) ? 1747914922 : 1747914926); + break; + case 4: + num = ((inventoryType <= InventoryType.Inventory4) ? 1747914927 : 1747914915); + break; + case 2: + num = ((num5 < inventoryContainer->Size) ? 1747914921 : 1747914922); + break; + case 3: + inventoryType++; + num = 1747914925; + break; + case 5: + { + int num10 = num9; + num3 = 1; + num4 = num10; + num9 = (num4 | num3) + (num4 & num3); + num = 1747914920; + break; + } + case 7: + num5 = 0; + num = 1747914923; + break; + case 9: + num9 = 0; + inventoryType = InventoryType.Inventory1; + num = 1747914925; + break; + case 8: + num = ((inventorySlot->ItemId != 0) ? 1747914920 : 1747914924); + break; + case 10: + return num9; + case 12: + return 0; + case 11: + num = 1747914917; + break; + case 1: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = 1747914923; + break; + } + case 0: + inventorySlot = inventoryContainer->GetInventorySlot(num5); + num = ((inventorySlot == null) ? 1747914924 : 1747914913); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static int CountInventorySlotsWithCondition(uint itemId, Predicate predicate) + { + _206A_202D_202D_202C_200F_206B_206C_202C_206D_202D_206C_200C_206B_202B_200C_200E_202C_200E_200F_206B_202B_202D_200F_202D_200B_200B_206D_206A_200C_200B_202D_206F_202C_200F_206C_206A_206A_206D_200E_200C_202E((object)predicate, global::_003CModule_003E._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(-279872189)); + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? (-1746491217) : (-1746491226)); + InventoryType inventoryType = default(InventoryType); + int num7 = default(int); + int num11 = default(int); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + InventoryItem* inventorySlot = default(InventoryItem*); + while (true) + { + int num2 = num; + int num3 = -1746491230; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 14: + num = ((inventoryType <= InventoryType.Inventory4) ? (-1746491221) : (-1746491231)); + break; + case 11: + num7 = 0; + num = -1746491225; + break; + case 13: + num11 = 0; + inventoryType = InventoryType.Inventory1; + num = -1746491220; + break; + case 9: + inventoryContainer = ptr->GetInventoryContainer(inventoryType); + num = ((inventoryContainer == null) ? (-1746491230) : (-1746491223)); + break; + case 5: + num = ((num7 < inventoryContainer->Size) ? (-1746491232) : (-1746491230)); + break; + case 10: + { + int num8 = num7; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num7 = num9 + (num10 + num10); + num = -1746491225; + break; + } + case 2: + inventorySlot = inventoryContainer->GetInventorySlot(num7); + num = ((inventorySlot == null) ? (-1746491224) : (-1746491227)); + break; + case 8: + { + int num12 = num11; + num3 = 1; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + num11 = num13 + (num14 + num14); + num = -1746491224; + break; + } + case 0: + inventoryType++; + num = -1746491220; + break; + case 7: + num = ((inventorySlot->ItemId == 0) ? (-1746491224) : (-1746491218)); + break; + case 6: + num = -1746491226; + break; + case 3: + return num11; + case 1: + num = ((!predicate(inventorySlot->Quantity)) ? (-1746491224) : (-1746491222)); + break; + case 12: + num = ((inventorySlot->ItemId != itemId) ? (-1746491224) : (-1746491229)); + break; + case 4: + return 0; + } + } + } + + public static bool IsItemEquipped(uint itemId) + { + return GetEquippedItemSlot(itemId) >= 0; + } + + public unsafe static int GetEquippedItemSlot(uint itemId) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? 1216447237 : 1216447232); + InventoryItem* inventorySlot = default(InventoryItem*); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + int num8 = default(int); + while (true) + { + int num2 = num; + int num3 = 1216447236; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 9: + inventorySlot = inventoryContainer->GetInventorySlot(num8); + num = ((inventorySlot == null) ? 1216447246 : 1216447244); + break; + case 3: + return num8; + case 10: + { + int num7 = num8; + num3 = 1; + num4 = num7; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num8 = num9 + (num10 + num10); + num = 1216447236; + break; + } + case 4: + return -1; + case 6: + return -1; + case 5: + num = 1216447232; + break; + case 0: + num = ((num8 < inventoryContainer->Size) ? 1216447245 : 1216447234); + break; + case 2: + num8 = 0; + num = 1216447236; + break; + case 7: + return -1; + case 1: + inventoryContainer = ptr->GetInventoryContainer(InventoryType.EquippedItems); + num = ((inventoryContainer != null) ? 1216447238 : 1216447235); + break; + case 8: + num = ((inventorySlot->ItemId != itemId) ? 1216447246 : 1216447239); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static int GetRemainingStackCapacity(uint itemId, ExcelSheet itemSheet) + { + _206A_202D_202D_202C_200F_206B_206C_202C_206D_202D_206C_200C_206B_202B_200C_200E_202C_200E_200F_206B_202B_202D_200F_202D_200B_200B_206D_206A_200C_200B_202D_206F_202C_200F_206C_206A_206A_206D_200E_200C_202E((object)itemSheet, global::_003CModule_003E._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(-2041652730)); + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? 2074514221 : 2074514216); + int num9 = default(int); + InventoryType inventoryType = default(InventoryType); + int num7 = default(int); + InventoryItem* inventorySlot = default(InventoryItem*); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + int num8 = default(int); + while (true) + { + int num2 = num; + int num3 = 2074514213; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 14: + return 0; + case 8: + num9 = (int)(itemSheet.GetRowOrDefault(itemId)?.StackSize ?? 0); + num = ((num9 > 1) ? 2074514215 : 2074514219); + break; + case 10: + inventoryType++; + num = 2074514220; + break; + case 11: + num7 = 0; + num = 2074514213; + break; + case 1: + inventorySlot = inventoryContainer->GetInventorySlot(num7); + num = ((inventorySlot == null) ? 2074514214 : 2074514211); + break; + case 4: + return num8; + case 2: + num8 = 0; + inventoryType = InventoryType.Inventory1; + num = 2074514220; + break; + case 6: + num = ((inventorySlot->ItemId != itemId) ? 2074514214 : 2074514208); + break; + case 15: + { + int num11 = num8; + int num12 = num9; + num3 = inventorySlot->Quantity; + num4 = num12; + num3 = ~(~num4 + num3); + num4 = num11; + num8 = (num4 | num3) + (num4 & num3); + num = 2074514214; + break; + } + case 12: + num = 2074514216; + break; + case 3: + { + int num10 = num7; + num3 = 1; + num4 = num10; + num7 = (num4 | num3) + (num4 & num3); + num = 2074514213; + break; + } + case 7: + inventoryContainer = ptr->GetInventoryContainer(inventoryType); + num = ((inventoryContainer == null) ? 2074514223 : 2074514222); + break; + case 9: + num = ((inventoryType <= InventoryType.Inventory4) ? 2074514210 : 2074514209); + break; + case 0: + num = ((num7 < inventoryContainer->Size) ? 2074514212 : 2074514223); + break; + case 13: + return 0; + case 5: + num = (((inventorySlot->Flags & InventoryItem.ItemFlags.HighQuality) != InventoryItem.ItemFlags.None) ? 2074514214 : 2074514218); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static int GetMaxHoldableQuantity(uint itemId, ExcelSheet itemSheet) + { + _206A_202D_202D_202C_200F_206B_206C_202C_206D_202D_206C_200C_206B_202B_200C_200E_202C_200E_200F_206B_202B_202D_200F_202D_200B_200B_206D_206A_200C_200B_202D_206F_202C_200F_206C_206A_206A_206D_200E_200C_202E((object)itemSheet, global::_003CModule_003E._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(-2041652730)); + Item? rowOrDefault = itemSheet.GetRowOrDefault(itemId); + int num = (rowOrDefault.HasValue ? (-1200966345) : (-1200966350)); + int stackSize = default(int); + while (true) + { + int num2 = num; + int num3 = -1200966351; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + num = ((!rowOrDefault.Value.IsUnique) ? (-1200966349) : (-1200966352)); + break; + case 1: + return (GetItemCount(itemId, checkEquipped: true, checkArmory: true) <= 0) ? 1 : 0; + case 4: + return GetRemainingStackCapacity(itemId, itemSheet) + CountFreeInventorySlots() * stackSize; + case 3: + return 0; + case 2: + stackSize = (int)rowOrDefault.Value.StackSize; + num = ((stackSize > 0) ? (-1200966347) : (-1200966348)); + break; + case 0: + num = -1200966350; + break; + case 5: + return 0; + } + } + } + + static void _206A_202D_202D_202C_200F_206B_206C_202C_206D_202D_206C_200C_206B_202B_200C_200E_202C_200E_200F_206B_202B_202D_200F_202D_200B_200B_206D_206A_200C_200B_202D_206F_202C_200F_206C_206A_206A_206D_200E_200C_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } +} diff --git a/LLib/LLib.Inventory/ItemHandle.cs b/LLib/LLib.Inventory/ItemHandle.cs new file mode 100644 index 00000000..4cd99176 --- /dev/null +++ b/LLib/LLib.Inventory/ItemHandle.cs @@ -0,0 +1,207 @@ +using System; +using System.Runtime.CompilerServices; +using System.Text; +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 + { + int num = ((RawId >= 1000000) ? 357166028 : 357166029); + while (true) + { + int num2 = num; + int num3 = 357166028; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004b; + case 1: + return RawId; + case 0: + return RawId % 1000000; + } + continue; + IL_004b: + num = 357166029; + } + } + } + + 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) + { + int num = ((slot != null) ? (-1287272070) : (-1287272069)); + while (true) + { + int num2 = num; + int num3 = -1287272070; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0043; + case 0: + return new ItemHandle(slot->ItemId); + case 1: + return new ItemHandle(0u); + } + continue; + IL_0043: + num = -1287272069; + } + } + + public unsafe int GetCount(bool checkEquipped = false, bool checkArmory = false) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? 991214794 : 991214795); + while (true) + { + int num2 = num; + int num3 = 991214794; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 0: + return ptr->GetInventoryItemCount(Id, isHq: false, checkEquipped, checkArmory, 0) + ptr->GetInventoryItemCount(Id, isHq: true, checkEquipped, checkArmory, 0); + case 1: + return 0; + } + continue; + IL_0049: + num = 991214795; + } + } + + 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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206E_206E_206A_200B_206C_200B_202B_202B_200C_206E_206F_206C_206C_202A_200B_200B_200C_206D_206F_200E_206A_200E_202A_202B_206A_206D_200C_200E_206D_200D_202A_202D_206A_206C_200F_200C_206C_200F_202E_206E_202E(); + _200F_206B_200D_200E_206E_206A_206E_200F_206F_200C_200E_206E_206D_200E_200B_202C_202D_202E_200F_206D_202D_200C_206E_200D_206B_206D_206F_206A_200F_206E_202E_202A_206A_200B_200C_206C_206F_206B_200D_202A_202E(stringBuilder, global::_003CModule_003E._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(29412539)); + _200F_206B_200D_200E_206E_206A_206E_200F_206F_200C_200E_206E_206D_200E_200B_202C_202D_202E_200F_206D_202D_200C_206E_200D_206B_206D_206F_206A_200F_206E_202E_202A_206A_200B_200C_206C_206F_206B_200D_202A_202E(stringBuilder, global::_003CModule_003E._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(1808631505)); + int num = ((!PrintMembers(stringBuilder)) ? 631534302 : 631534303); + while (true) + { + int num2 = num; + int num3 = 631534302; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 631534303; + break; + case 1: + _202C_200E_202D_200E_200E_200C_202C_206A_206B_206D_202C_206B_200E_200C_200E_202D_202D_206F_206B_206B_202A_200E_202E_206A_202B_206C_206E_200C_200F_206B_200B_200C_202A_200C_202E_200E_200E_206B_200C_206C_202E(stringBuilder, ' '); + num = 631534302; + break; + case 0: + _202C_200E_202D_200E_200E_200C_202C_206A_206B_206D_202C_206B_200E_200C_200E_202D_202D_206F_206B_206B_202A_200E_202E_206A_202B_206C_206E_200C_200F_206B_200B_200C_202A_200C_202E_200E_200E_206B_200C_206C_202E(stringBuilder, '}'); + return _200B_202B_206F_200F_200E_202E_206C_202B_206E_200B_206C_200B_202E_202E_206C_206F_206D_206A_202A_206B_206C_202B_200B_200C_206C_200F_202E_202B_200E_200B_202A_200D_200E_206F_200C_200F_202B_206B_206C_206E_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_206B_200D_200E_206E_206A_206E_200F_206F_200C_200E_206E_206D_200E_200B_202C_202D_202E_200F_206D_202D_200C_206E_200D_206B_206D_206F_206A_200F_206E_202E_202A_206A_200B_200C_206C_206F_206B_200D_202A_202E(builder, global::_003CModule_003E._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(-595664961)); + _200F_206B_200D_200E_206E_206A_206E_200F_206F_200C_200E_206E_206D_200E_200B_202C_202D_202E_200F_206D_202D_200C_206E_200D_206B_206D_206F_206A_200F_206E_202E_202A_206A_200B_200C_206C_206F_206B_200D_202A_202E(builder, RawId.ToString()); + _200F_206B_200D_200E_206E_206A_206E_200F_206F_200C_200E_206E_206D_200E_200B_202C_202D_202E_200F_206D_202D_200C_206E_200D_206B_206D_206F_206A_200F_206E_202E_202A_206A_200B_200C_206C_206F_206B_200D_202A_202E(builder, global::_003CModule_003E._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(-1970731150)); + _200F_206B_200D_200E_206E_206A_206E_200F_206F_200C_200E_206E_206D_200E_200B_202C_202D_202E_200F_206D_202D_200C_206E_200D_206B_206D_206F_206A_200F_206E_202E_202A_206A_200B_200C_206C_206F_206B_200D_202A_202E(builder, Id.ToString()); + _200F_206B_200D_200E_206E_206A_206E_200F_206F_200C_200E_206E_206D_200E_200B_202C_202D_202E_200F_206D_202D_200C_206E_200D_206B_206D_206F_206A_200F_206E_202E_202A_206A_200B_200C_206C_206F_206B_200D_202A_202E(builder, global::_003CModule_003E._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(1700323707)); + _200F_206B_200D_200E_206E_206A_206E_200F_206F_200C_200E_206E_206D_200E_200B_202C_202D_202E_200F_206D_202D_200C_206E_200D_206B_206D_206F_206A_200F_206E_202E_202A_206A_200B_200C_206C_206F_206B_200D_202A_202E(builder, IsHq.ToString()); + return true; + } + + static StringBuilder _206E_206E_206A_200B_206C_200B_202B_202B_200C_206E_206F_206C_206C_202A_200B_200B_200C_206D_206F_200E_206A_200E_202A_202B_206A_206D_200C_200E_206D_200D_202A_202D_206A_206C_200F_200C_206C_200F_202E_206E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200F_206B_200D_200E_206E_206A_206E_200F_206F_200C_200E_206E_206D_200E_200B_202C_202D_202E_200F_206D_202D_200C_206E_200D_206B_206D_206F_206A_200F_206E_202E_202A_206A_200B_200C_206C_206F_206B_200D_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_200E_202D_200E_200E_200C_202C_206A_206B_206D_202C_206B_200E_200C_200E_202D_202D_206F_206B_206B_202A_200E_202E_206A_202B_206C_206E_200C_200F_206B_200B_200C_202A_200C_202E_200E_200E_206B_200C_206C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_202B_206F_200F_200E_202E_206C_202B_206E_200B_206C_200B_202E_202E_206C_206F_206D_206A_202A_206B_206C_202B_200B_200C_206C_200F_202E_202B_200E_200B_202A_200D_200E_206F_200C_200F_202B_206B_206C_206E_202E(object P_0) + { + return P_0.ToString(); + } +} diff --git a/LLib/LLib.Logging/DalamudLoggerProvider.cs b/LLib/LLib.Logging/DalamudLoggerProvider.cs new file mode 100644 index 00000000..da7fa10b --- /dev/null +++ b/LLib/LLib.Logging/DalamudLoggerProvider.cs @@ -0,0 +1,635 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; +using System.Runtime.CompilerServices; +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() + { + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + } + + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec__8 where TState : notnull + { + public static readonly _003C_003Ec__8 _003C_003E9 = new _003C_003Ec__8(); + + public static Action _003C_003E9__8_0; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal void _003CLog_003Eb__8_0(object? scope, StringBuilder builder) + { + int num; + if (scope is IEnumerable> enumerable) + { + IEnumerator> enumerator = enumerable.GetEnumerator(); + try + { + num = 1757387982; + while (true) + { + int num2 = num; + int num3 = 1757387982; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = (_202E_200F_206A_200B_200E_206F_200D_206F_200E_202A_206D_200F_206F_202C_200F_206C_200F_202E_200E_200C_202C_200F_206F_200E_200B_200C_200B_202A_200F_206D_200E_206C_200B_206B_200C_202B_206C_200E_202D_206D_202E((IEnumerator)enumerator) ? 1757387983 : 1757387980); + break; + case 1: + { + KeyValuePair current = enumerator.Current; + _206C_206C_200B_206D_202D_206E_202E_202D_200E_206A_200E_200C_206E_206B_206A_200D_200C_200D_200E_206E_200B_202E_202E_206A_206A_206A_206E_200B_200E_200E_200D_200F_206F_200F_206F_202B_200C_206A_202E_202B_202E(_202B_202D_202A_202C_202B_200C_200F_202C_206A_206D_200E_202C_200C_200F_200E_200B_202B_206F_202E_200E_200C_200C_206F_206E_200E_206D_200D_202C_200C_206B_200E_202D_202C_202A_202E_200F_200E_200B_200D_200F_202E(_202E_202A_206C_206E_206F_202C_206D_206E_202C_200C_200C_202B_200E_202B_202B_200D_200E_200B_202B_206B_202B_206E_200C_206B_206E_206B_200E_202C_202C_202C_206E_206B_202A_206B_206A_200D_200B_200B_206F_202E_202E(_206C_206C_200B_206D_202D_206E_202E_202D_200E_206A_200E_200C_206E_206B_206A_200D_200C_200D_200E_206E_200B_202E_202E_206A_206A_206A_206E_200B_200E_200E_200D_200F_206F_200F_206F_202B_200C_206A_202E_202B_202E(_202E_202A_206C_206E_206F_202C_206D_206E_202C_200C_200C_202B_200E_202B_202B_200D_200E_200B_202B_206B_202B_206E_200C_206B_206E_206B_200E_202C_202C_202C_206E_206B_202A_206B_206A_200D_200B_200B_206F_202E_202E(builder, '<'), current.Key), '='), current.Value), global::_003CModule_003E._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(783152655)); + num = 1757387982; + break; + } + case 3: + num = 1757387982; + break; + case 2: + return; + } + } + } + finally + { + num = ((enumerator == null) ? 1601489106 : 1601489107); + while (true) + { + int num7 = num; + int num3 = 1601489106; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1601489107; + break; + case 1: + _200E_202B_206E_200C_200B_200E_206F_200F_200B_206F_200B_202A_200D_206D_206C_202C_200D_200C_206F_200F_206C_206A_202B_206B_200C_206A_202E_206F_206B_200B_206F_202C_200E_202C_202D_202E_206A_202D_206F_206B_202E((IDisposable)enumerator); + num = 1601489106; + break; + case 0: + goto end_IL_00e6; + } + continue; + end_IL_00e6: + break; + } + } + } + num = ((scope == null) ? (-1655192650) : (-1655192651)); + while (true) + { + int num8 = num; + int num3 = -1655192649; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1655192651; + break; + case 2: + _206C_206C_200B_206D_202D_206E_202E_202D_200E_206A_200E_200C_206E_206B_206A_200D_200C_200D_200E_206E_200B_202E_202E_206A_206A_206A_206E_200B_200E_200E_200D_200F_206F_200F_206F_202B_200C_206A_202E_202B_202E(_202B_202D_202A_202C_202B_200C_200F_202C_206A_206D_200E_202C_200C_200F_200E_200B_202B_206F_202E_200E_200C_200C_206F_206E_200E_206D_200D_202C_200C_206B_200E_202D_202C_202A_202E_200F_200E_200B_200D_200F_202E(_202E_202A_206C_206E_206F_202C_206D_206E_202C_200C_200C_202B_200E_202B_202B_200D_200E_200B_202B_206B_202B_206E_200C_206B_206E_206B_200E_202C_202C_202C_206E_206B_202A_206B_206A_200D_200B_200B_206F_202E_202E(builder, '<'), scope), global::_003CModule_003E._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(783152655)); + num = -1655192650; + break; + case 1: + return; + } + } + } + + static StringBuilder _202E_202A_206C_206E_206F_202C_206D_206E_202C_200C_200C_202B_200E_202B_202B_200D_200E_200B_202B_206B_202B_206E_200C_206B_206E_206B_200E_202C_202C_202C_206E_206B_202A_206B_206A_200D_200B_200B_206F_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206C_206C_200B_206D_202D_206E_202E_202D_200E_206A_200E_200C_206E_206B_206A_200D_200C_200D_200E_206E_200B_202E_202E_206A_206A_206A_206E_200B_200E_200E_200D_200F_206F_200F_206F_202B_200C_206A_202E_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202B_202D_202A_202C_202B_200C_200F_202C_206A_206D_200E_202C_200C_200F_200E_200B_202B_206F_202E_200E_200C_200C_206F_206E_200E_206D_200D_202C_200C_206B_200E_202D_202C_202A_202E_200F_200E_200B_200D_200F_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202E_200F_206A_200B_200E_206F_200D_206F_200E_202A_206D_200F_206F_202C_200F_206C_200F_202E_200E_200C_202C_200F_206F_200E_200B_200C_200B_202A_200F_206D_200E_206C_200B_206B_200C_202B_206C_200E_202D_206D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200E_202B_206E_200C_200B_200E_206F_200F_200B_206F_200B_202A_200D_206D_206C_202C_200D_200C_206F_200F_206C_206A_202B_206B_200C_206A_202E_206F_206B_200B_206F_202C_200E_202C_202D_202E_206A_202D_206F_206B_202E(IDisposable P_0) + { + P_0.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 + { + IExternalScopeProvider? scopeProvider = ScopeProvider; + return ((scopeProvider != null) ? _200D_200D_200D_200D_202E_202C_202B_202A_200D_206C_202C_202B_206E_200C_202A_200F_202E_200C_202C_202D_206B_206A_206D_206C_206B_200D_200B_202E_206B_200B_202A_202E_200B_200F_206D_206C_202A_200F_200F_202E(scopeProvider, (object)state) : null) ?? NullScope.Instance; + } + + IDisposable ILogger.BeginScope(TState state) + { + //ILSpy generated this explicit interface implementation from .override directive in BeginScope + return this.BeginScope(state); + } + + public bool IsEnabled(LogLevel logLevel) + { + int num = ((logLevel != LogLevel.None) ? 833573961 : 833573962); + while (true) + { + int num2 = num; + int num3 = 833573960; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0042; + case 1: + return ToSerilogLevel(logLevel) >= _200C_202A_200F_206D_200B_200B_206C_206B_202D_202A_206F_206A_202E_200E_200E_202B_202A_202B_200F_202E_206E_200C_206D_202C_200B_202E_206B_206B_202B_202C_202D_206B_202B_200C_202E_206A_202E_202B_202C_206B_202E(_pluginLog); + case 2: + return false; + } + continue; + IL_0042: + num = 833573962; + } + } + + bool ILogger.IsEnabled(LogLevel logLevel) + { + //ILSpy generated this explicit interface implementation from .override directive in IsEnabled + return this.IsEnabled(logLevel); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Log(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func formatter) + { + int num = (IsEnabled(logLevel) ? (-262151412) : (-262151415)); + StringBuilder stringBuilder = default(StringBuilder); + LogEventLevel logEventLevel = default(LogEventLevel); + while (true) + { + int num2 = num; + int num3 = -262151412; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 4: + num = -262151415; + continue; + case 3: + _202D_206F_206C_206C_206A_202A_200D_200F_206B_200B_206A_206D_200D_206E_200F_202D_202B_206F_202E_200F_200E_206C_206F_206A_206D_206C_206C_200C_206A_202A_206F_206F_206E_206C_202E_200B_206A_202A_206B_200F_202E(stringBuilder, formatter(state, null)); + _202B_202B_202B_200F_202D_200E_202B_206B_200C_206E_200B_206E_206E_202A_202D_206C_200B_200F_202E_206B_200B_202D_206F_200D_200E_202D_206A_202E_200E_202C_202E_202E_206C_202A_202B_206F_206A_206C_206B_206A_202E(_pluginLog, logEventLevel, exception, _202E_202E_206E_200E_200D_200E_206F_202D_202D_202D_200D_200C_202D_200B_202A_200F_202E_202B_200F_206E_202B_200E_200B_206E_202A_206B_202B_200D_202C_206F_202A_202E_202E_206C_202E_202E_200C_200F_200B_206C_202E((object)stringBuilder), Array.Empty()); + return; + case 0: + { + _206B_206F_202E_206A_200C_200F_200F_200B_206E_202C_206C_206F_200B_206A_202D_202B_202E_200D_202B_206B_206F_206A_202A_206A_206B_206E_206D_200D_206E_206C_200D_202C_206F_206E_200D_206A_200D_200B_200E_202D_202E((object)formatter, global::_003CModule_003E._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(134909540)); + logEventLevel = ToSerilogLevel(logLevel); + stringBuilder = _206B_206B_202C_206B_206D_200B_206F_202A_206D_200D_200F_200C_202A_200D_202E_206E_202A_206E_202A_202B_206F_202C_202B_206D_202E_206E_202D_200F_202B_206C_202C_200F_200D_206F_200E_206A_200C_200F_206D_202E(); + IExternalScopeProvider? scopeProvider = ScopeProvider; + if (scopeProvider == null) + { + break; + } + scopeProvider.ForEachScope([MethodImpl(MethodImplOptions.NoInlining)] (object? scope, StringBuilder builder) => + { + int num5; + if (scope is IEnumerable> enumerable) + { + IEnumerator> enumerator = enumerable.GetEnumerator(); + try + { + num5 = 1757387982; + while (true) + { + int num6 = num5; + int num7 = 1757387982; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + switch (num9 - (num10 + num10)) + { + case 0: + num5 = (_003C_003Ec__8._202E_200F_206A_200B_200E_206F_200D_206F_200E_202A_206D_200F_206F_202C_200F_206C_200F_202E_200E_200C_202C_200F_206F_200E_200B_200C_200B_202A_200F_206D_200E_206C_200B_206B_200C_202B_206C_200E_202D_206D_202E((IEnumerator)enumerator) ? 1757387983 : 1757387980); + break; + case 1: + { + KeyValuePair current = enumerator.Current; + _003C_003Ec__8._206C_206C_200B_206D_202D_206E_202E_202D_200E_206A_200E_200C_206E_206B_206A_200D_200C_200D_200E_206E_200B_202E_202E_206A_206A_206A_206E_200B_200E_200E_200D_200F_206F_200F_206F_202B_200C_206A_202E_202B_202E(_003C_003Ec__8._202B_202D_202A_202C_202B_200C_200F_202C_206A_206D_200E_202C_200C_200F_200E_200B_202B_206F_202E_200E_200C_200C_206F_206E_200E_206D_200D_202C_200C_206B_200E_202D_202C_202A_202E_200F_200E_200B_200D_200F_202E(_003C_003Ec__8._202E_202A_206C_206E_206F_202C_206D_206E_202C_200C_200C_202B_200E_202B_202B_200D_200E_200B_202B_206B_202B_206E_200C_206B_206E_206B_200E_202C_202C_202C_206E_206B_202A_206B_206A_200D_200B_200B_206F_202E_202E(_003C_003Ec__8._206C_206C_200B_206D_202D_206E_202E_202D_200E_206A_200E_200C_206E_206B_206A_200D_200C_200D_200E_206E_200B_202E_202E_206A_206A_206A_206E_200B_200E_200E_200D_200F_206F_200F_206F_202B_200C_206A_202E_202B_202E(_003C_003Ec__8._202E_202A_206C_206E_206F_202C_206D_206E_202C_200C_200C_202B_200E_202B_202B_200D_200E_200B_202B_206B_202B_206E_200C_206B_206E_206B_200E_202C_202C_202C_206E_206B_202A_206B_206A_200D_200B_200B_206F_202E_202E(builder, '<'), current.Key), '='), current.Value), global::_003CModule_003E._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(783152655)); + num5 = 1757387982; + break; + } + case 3: + num5 = 1757387982; + break; + case 2: + return; + } + } + } + finally + { + num5 = ((enumerator == null) ? 1601489106 : 1601489107); + while (true) + { + int num11 = num5; + int num7 = 1601489106; + int num8 = num11; + switch ((num8 | num7) - (num8 & num7)) + { + case 2: + num5 = 1601489107; + break; + case 1: + _003C_003Ec__8._200E_202B_206E_200C_200B_200E_206F_200F_200B_206F_200B_202A_200D_206D_206C_202C_200D_200C_206F_200F_206C_206A_202B_206B_200C_206A_202E_206F_206B_200B_206F_202C_200E_202C_202D_202E_206A_202D_206F_206B_202E((IDisposable)enumerator); + num5 = 1601489106; + break; + case 0: + goto end_IL_00e6; + } + continue; + end_IL_00e6: + break; + } + } + } + num5 = ((scope == null) ? (-1655192650) : (-1655192651)); + while (true) + { + int num12 = num5; + int num7 = -1655192649; + int num8 = num12; + switch ((num8 | num7) - (num8 & num7)) + { + case 0: + num5 = -1655192651; + break; + case 2: + _003C_003Ec__8._206C_206C_200B_206D_202D_206E_202E_202D_200E_206A_200E_200C_206E_206B_206A_200D_200C_200D_200E_206E_200B_202E_202E_206A_206A_206A_206E_200B_200E_200E_200D_200F_206F_200F_206F_202B_200C_206A_202E_202B_202E(_003C_003Ec__8._202B_202D_202A_202C_202B_200C_200F_202C_206A_206D_200E_202C_200C_200F_200E_200B_202B_206F_202E_200E_200C_200C_206F_206E_200E_206D_200D_202C_200C_206B_200E_202D_202C_202A_202E_200F_200E_200B_200D_200F_202E(_003C_003Ec__8._202E_202A_206C_206E_206F_202C_206D_206E_202C_200C_200C_202B_200E_202B_202B_200D_200E_200B_202B_206B_202B_206E_200C_206B_206E_206B_200E_202C_202C_202C_206E_206B_202A_206B_206A_200D_200B_200B_206F_202E_202E(builder, '<'), scope), global::_003CModule_003E._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(783152655)); + num5 = -1655192650; + break; + case 1: + return; + } + } + }, stringBuilder); + num = -262151411; + continue; + } + case 5: + return; + case 2: + _202D_206F_206C_206C_206A_202A_200D_200F_206B_200B_206A_206D_200D_206E_200F_202D_202B_206F_202E_200F_200E_206C_206F_206A_206D_206C_206C_200C_206A_202A_206F_206F_206E_206C_202E_200B_206A_202A_206B_200F_202E(_202D_206F_206C_206C_206A_202A_200D_200F_206B_200B_206A_206D_200D_206E_200F_202D_202B_206F_202E_200F_200E_206C_206F_206A_206D_206C_206C_200C_206A_202A_206F_206F_206E_206C_202E_200B_206A_202A_206B_200F_202E(stringBuilder, _name), global::_003CModule_003E._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(-1104179104)); + num = -262151409; + continue; + case 1: + break; + } + num = (_202C_202D_200B_206A_200B_200F_206C_200D_200D_202E_200B_206F_202B_200F_200E_206E_202B_200F_200D_206D_206E_206D_206B_206A_200E_200C_200B_202C_206A_206D_206F_202A_200C_200B_202C_202D_202C_200D_206F_206C_202E(_name) ? (-262151409) : (-262151410)); + } + } + + void ILogger.Log(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func formatter) + { + //ILSpy generated this explicit interface implementation from .override directive in Log + this.Log(logLevel, eventId, state, exception, formatter); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static LogEventLevel ToSerilogLevel(LogLevel logLevel) + { + int num; + LogEventLevel result = default(LogEventLevel); + switch (logLevel) + { + default: + num = -1396162966; + goto IL_0029; + case LogLevel.Critical: + result = LogEventLevel.Fatal; + num = -1396162971; + goto IL_0029; + case LogLevel.Error: + goto IL_007b; + case LogLevel.Information: + goto IL_0093; + case LogLevel.Debug: + goto IL_00ab; + case LogLevel.Warning: + goto IL_00b8; + case LogLevel.Trace: + goto IL_00dc; + IL_0029: + while (true) + { + int num2 = num; + int num3 = -1396162973; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + goto end_IL_0029; + case 6: + return result; + case 1: + goto IL_007b; + case 9: + num = -1396162975; + break; + case 7: + goto IL_0093; + case 8: + num = -1396162966; + break; + case 0: + goto IL_00ab; + case 5: + goto IL_00b8; + case 2: + throw _200C_206F_206D_200F_202B_206C_200D_202B_202A_200F_200C_202A_206C_202E_200C_202C_206C_206C_206A_206A_206B_202D_206B_206F_206D_206F_206C_206B_206D_206C_202E_206C_206D_206C_200C_202A_200D_202E_206A_206B_202E(global::_003CModule_003E._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(1228083926), (object)logLevel, (string)null); + case 3: + goto IL_00dc; + } + continue; + end_IL_0029: + break; + } + goto case LogLevel.Critical; + IL_00dc: + result = LogEventLevel.Verbose; + num = -1396162971; + goto IL_0029; + IL_00b8: + result = LogEventLevel.Warning; + num = -1396162971; + goto IL_0029; + IL_00ab: + result = LogEventLevel.Debug; + num = -1396162971; + goto IL_0029; + IL_0093: + result = LogEventLevel.Information; + num = -1396162971; + goto IL_0029; + IL_007b: + result = LogEventLevel.Error; + num = -1396162971; + goto IL_0029; + } + } + + static IDisposable _200D_200D_200D_200D_202E_202C_202B_202A_200D_206C_202C_202B_206E_200C_202A_200F_202E_200C_202C_202D_206B_206A_206D_206C_206B_200D_200B_202E_206B_200B_202A_202E_200B_200F_206D_206C_202A_200F_200F_202E(IExternalScopeProvider P_0, object P_1) + { + return P_0.Push(P_1); + } + + static LogEventLevel _200C_202A_200F_206D_200B_200B_206C_206B_202D_202A_206F_206A_202E_200E_200E_202B_202A_202B_200F_202E_206E_200C_206D_202C_200B_202E_206B_206B_202B_202C_202D_206B_202B_200C_202E_206A_202E_202B_202C_206B_202E(IPluginLog P_0) + { + return P_0.MinimumLogLevel; + } + + static void _206B_206F_202E_206A_200C_200F_200F_200B_206E_202C_206C_206F_200B_206A_202D_202B_202E_200D_202B_206B_206F_206A_202A_206A_206B_206E_206D_200D_206E_206C_200D_202C_206F_206E_200D_206A_200D_200B_200E_202D_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static StringBuilder _206B_206B_202C_206B_206D_200B_206F_202A_206D_200D_200F_200C_202A_200D_202E_206E_202A_206E_202A_202B_206F_202C_202B_206D_202E_206E_202D_200F_202B_206C_202C_200F_200D_206F_200E_206A_200C_200F_206D_202E() + { + return new StringBuilder(); + } + + static bool _202C_202D_200B_206A_200B_200F_206C_200D_200D_202E_200B_206F_202B_200F_200E_206E_202B_200F_200D_206D_206E_206D_206B_206A_200E_200C_200B_202C_206A_206D_206F_202A_200C_200B_202C_202D_202C_200D_206F_206C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static StringBuilder _202D_206F_206C_206C_206A_202A_200D_200F_206B_200B_206A_206D_200D_206E_200F_202D_202B_206F_202E_200F_200E_206C_206F_206A_206D_206C_206C_200C_206A_202A_206F_206F_206E_206C_202E_200B_206A_202A_206B_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static string _202E_202E_206E_200E_200D_200E_206F_202D_202D_202D_200D_200C_202D_200B_202A_200F_202E_202B_200F_206E_202B_200E_200B_206E_202A_206B_202B_200D_202C_206F_202A_202E_202E_206C_202E_202E_200C_200F_200B_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202B_202B_202B_200F_202D_200E_202B_206B_200C_206E_200B_206E_206E_202A_202D_206C_200B_200F_202E_206B_200B_202D_206F_200D_200E_202D_206A_202E_200E_202C_202E_202E_206C_202A_202B_206F_206A_206C_206B_206A_202E(IPluginLog P_0, LogEventLevel P_1, Exception P_2, string P_3, object[] P_4) + { + P_0.Write(P_1, P_2, P_3, P_4); + } + + static ArgumentOutOfRangeException _200C_206F_206D_200F_202B_206C_200D_202B_202A_200F_200C_202A_206C_202E_200C_202C_206C_206C_206A_206A_206B_202D_206B_206F_206D_206F_206C_206B_206D_206C_202E_206C_206D_206C_200C_202A_200D_202E_206A_206B_202E(string P_0, object P_1, string P_2) + { + return new ArgumentOutOfRangeException(P_0, P_1, P_2); + } + } + + private readonly IPluginLog _pluginLog; + + private readonly Func _categoryNameFormatter; + + private IExternalScopeProvider? _scopeProvider; + + [MethodImpl(MethodImplOptions.NoInlining)] + public DalamudLoggerProvider(IPluginLog pluginLog, Func? categoryNameFormatter = null) + { + _200B_206D_206B_206A_202A_206D_200B_206F_202B_206A_200C_206F_206E_206E_206B_206E_200C_206E_200E_206F_206B_202E_200E_200B_200E_202E_202A_206B_202D_206D_200F_200F_200F_200E_206E_206C_206B_200D_206B_200C_202E((object)pluginLog, global::_003CModule_003E._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(1117547694)); + _pluginLog = pluginLog; + _categoryNameFormatter = categoryNameFormatter ?? ((Func)((string t) => t)); + } + + public ILogger CreateLogger(string categoryName) + { + string name = _categoryNameFormatter(categoryName); + int num = ((!LooksObfuscated(name)) ? (-1377550317) : (-1377550318)); + while (true) + { + int num2 = num; + int num3 = -1377550317; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return new DalamudLogger(name, this, _pluginLog); + case 1: + name = null; + num = -1377550317; + break; + case 2: + num = -1377550318; + break; + } + } + } + + ILogger ILoggerProvider.CreateLogger(string categoryName) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateLogger + return this.CreateLogger(categoryName); + } + + private static bool LooksObfuscated(string? name) + { + int num = ((!_200B_202E_206E_206B_206D_202D_206E_200F_206A_202A_200C_200B_200C_206D_202E_206E_206A_202A_202A_202E_206A_206A_202A_200F_200E_206A_202D_202A_206A_206E_206F_202A_206F_200B_202D_206A_202E_202D_202E_200F_202E(name)) ? (-1967590757) : (-1967590764)); + char c = default(char); + string text = default(string); + int num5 = default(int); + UnicodeCategory unicodeCategory = default(UnicodeCategory); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = -1967590755; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + c = _202A_206E_202A_206B_206B_200B_206B_206A_200E_206E_202B_206B_200D_200B_200F_202B_206F_206C_200E_200B_202D_200E_206D_200C_202A_202B_206D_200E_206A_206E_200D_200E_202A_206C_206D_206A_200D_206E_200E_202A_202E(text, num5); + num = ((!char.IsControl(c)) ? (-1967590758) : (-1967590756)); + break; + case 11: + return false; + case 2: + return true; + case 7: + unicodeCategory = _200D_200D_206D_200C_200F_206D_200D_200F_206F_202C_200C_200B_202B_206B_206C_206C_206F_206B_206B_206A_206E_206A_202D_206B_202B_202E_202D_206D_206C_202D_206C_202E_200B_200F_202E_206D_200D_200E_202A_202D_202E(c); + num = (((uint)(unicodeCategory - 15) <= 2u) ? (-1967590768) : (-1967590767)); + break; + case 3: + num = ((!flag) ? (-1967590755) : (-1967590753)); + break; + case 5: + num = ((num5 < _206C_206E_200B_206A_200F_202D_202B_206F_206B_206B_206A_206A_202B_202A_202B_206A_202D_206A_206F_202A_206B_206A_206B_206B_202D_206D_206E_200F_202E_206E_202E_200F_202D_206A_206D_206F_200F_200D_202E_202E(text)) ? (-1967590759) : (-1967590762)); + break; + case 8: + flag = false; + num = -1967590754; + break; + case 0: + { + int num6 = num5; + num3 = 1; + num4 = num6; + num5 = (num4 | num3) + (num4 & num3); + num = -1967590760; + break; + } + case 1: + return true; + case 9: + return false; + case 10: + num = -1967590764; + break; + case 12: + num = ((unicodeCategory != UnicodeCategory.OtherNotAssigned) ? (-1967590763) : (-1967590768)); + break; + case 6: + text = name; + num5 = 0; + num = -1967590760; + break; + case 13: + flag = true; + num = -1967590754; + break; + } + } + } + + public void SetScopeProvider(IExternalScopeProvider scopeProvider) + { + _scopeProvider = scopeProvider; + } + + void ISupportExternalScope.SetScopeProvider(IExternalScopeProvider scopeProvider) + { + //ILSpy generated this explicit interface implementation from .override directive in SetScopeProvider + this.SetScopeProvider(scopeProvider); + } + + public void Dispose() + { + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _200B_206D_206B_206A_202A_206D_200B_206F_202B_206A_200C_206F_206E_206E_206B_206E_200C_206E_200E_206F_206B_202E_200E_200B_200E_202E_202A_206B_202D_206D_200F_200F_200F_200E_206E_206C_206B_200D_206B_200C_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static bool _200B_202E_206E_206B_206D_202D_206E_200F_206A_202A_200C_200B_200C_206D_202E_206E_206A_202A_202A_202E_206A_206A_202A_200F_200E_206A_202D_202A_206A_206E_206F_202A_206F_200B_202D_206A_202E_202D_202E_200F_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static char _202A_206E_202A_206B_206B_200B_206B_206A_200E_206E_202B_206B_200D_200B_200F_202B_206F_206C_200E_200B_202D_200E_206D_200C_202A_202B_206D_200E_206A_206E_200D_200E_202A_206C_206D_206A_200D_206E_200E_202A_202E(string P_0, int P_1) + { + return P_0[P_1]; + } + + static UnicodeCategory _200D_200D_206D_200C_200F_206D_200D_200F_206F_202C_200C_200B_202B_206B_206C_206C_206F_206B_206B_206A_206E_206A_202D_206B_202B_202E_202D_206D_206C_202D_206C_202E_200B_200F_202E_206D_200D_200E_202A_202D_202E(char P_0) + { + return CharUnicodeInfo.GetUnicodeCategory(P_0); + } + + static int _206C_206E_200B_206A_200F_202D_202B_206F_206B_206B_206A_206A_202B_202A_202B_206A_202D_206A_206F_202A_206B_206A_206B_206B_202D_206D_206E_200F_202E_206E_202E_200F_202D_206A_206D_206F_200F_200D_202E_202E(string P_0) + { + return P_0.Length; + } +} diff --git a/LLib/LLib.Movement.Unstuck/DriveMode.cs b/LLib/LLib.Movement.Unstuck/DriveMode.cs new file mode 100644 index 00000000..e7efe88f --- /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 00000000..922f5f8b --- /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 00000000..ad98f2a2 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/RecoveryDecision.cs @@ -0,0 +1,109 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace LLib.Movement.Unstuck; + +public readonly record struct RecoveryDecision(RecoveryDecisionKind Kind, IRecoveryRung? Rung, RecoveryExhaustion? Exhaustion) +{ + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200C_206E_200E_206B_206B_202E_200D_206B_200B_200F_206F_206D_206F_200C_206A_206C_202A_206E_206D_200B_200F_202B_200B_206A_206D_206E_202E_206F_200D_206F_206F_202E_206E_202A_206B_200D_202A_202D_206C_200F_202E(); + _200C_202E_202C_206A_200C_206A_202A_206D_206E_206D_206A_206F_206F_206C_202C_206B_206A_202E_206F_202B_200D_200B_206F_202B_206F_206B_206E_200E_200F_206A_200E_202A_202C_202D_200C_202B_206C_206B_206D_202D_202E(stringBuilder, global::_003CModule_003E._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(74641930)); + _200C_202E_202C_206A_200C_206A_202A_206D_206E_206D_206A_206F_206F_206C_202C_206B_206A_202E_206F_202B_200D_200B_206F_202B_206F_206B_206E_200E_200F_206A_200E_202A_202C_202D_200C_202B_206C_206B_206D_202D_202E(stringBuilder, global::_003CModule_003E._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(1581517409)); + int num = ((!PrintMembers(stringBuilder)) ? 836946002 : 836946003); + while (true) + { + int num2 = num; + int num3 = 836946002; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 836946003; + break; + case 0: + _200F_202E_206E_202E_202C_206A_206D_200E_200B_206C_206C_206B_206F_206F_206F_206D_200C_202C_200D_200D_200D_202D_200B_202A_206C_202B_200B_200C_200C_206D_200D_206A_202A_200D_200D_202E_206D_206F_202E_202C_202E(stringBuilder, '}'); + return _200B_206A_206D_200D_206C_200B_206A_200E_206E_206D_200F_202C_200D_206A_202B_202C_202D_200B_206D_200B_200B_202A_202D_206B_202D_206B_206A_202B_206D_202A_206D_202C_202A_200B_206C_200D_200F_200C_200D_200C_202E((object?)stringBuilder); + case 1: + _200F_202E_206E_202E_202C_206A_206D_200E_200B_206C_206C_206B_206F_206F_206F_206D_200C_202C_200D_200D_200D_202D_200B_202A_206C_202B_200B_200C_200C_206D_200D_206A_202A_200D_200D_202E_206D_206F_202E_202C_202E(stringBuilder, ' '); + num = 836946002; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_202E_202C_206A_200C_206A_202A_206D_206E_206D_206A_206F_206F_206C_202C_206B_206A_202E_206F_202B_200D_200B_206F_202B_206F_206B_206E_200E_200F_206A_200E_202A_202C_202D_200C_202B_206C_206B_206D_202D_202E(builder, global::_003CModule_003E._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(-409624799)); + _200C_202E_202C_206A_200C_206A_202A_206D_206E_206D_206A_206F_206F_206C_202C_206B_206A_202E_206F_202B_200D_200B_206F_202B_206F_206B_206E_200E_200F_206A_200E_202A_202C_202D_200C_202B_206C_206B_206D_202D_202E(builder, Kind.ToString()); + _200C_202E_202C_206A_200C_206A_202A_206D_206E_206D_206A_206F_206F_206C_202C_206B_206A_202E_206F_202B_200D_200B_206F_202B_206F_206B_206E_200E_200F_206A_200E_202A_202C_202D_200C_202B_206C_206B_206D_202D_202E(builder, global::_003CModule_003E._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(1157142729)); + _202D_206A_206D_200C_200E_202A_202E_202D_202B_200F_200E_202E_200B_206C_206E_202E_200B_202B_206F_200B_200F_206A_206C_206C_200F_206B_206A_206C_202C_206B_206B_206C_206F_206C_202C_200C_202E_200E_200F_202A_202E(builder, (object?)Rung); + _200C_202E_202C_206A_200C_206A_202A_206D_206E_206D_206A_206F_206F_206C_202C_206B_206A_202E_206F_202B_200D_200B_206F_202B_206F_206B_206E_200E_200F_206A_200E_202A_202C_202D_200C_202B_206C_206B_206D_202D_202E(builder, global::_003CModule_003E._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(-113611179)); + _202D_206A_206D_200C_200E_202A_202E_202D_202B_200F_200E_202E_200B_206C_206E_202E_200B_202B_206F_200B_200F_206A_206C_206C_200F_206B_206A_206C_202C_206B_206B_206C_206F_206C_202C_200C_202E_200E_200F_202A_202E(builder, (object?)Exhaustion); + return true; + } + + [CompilerGenerated] + public bool Equals(RecoveryDecision other) + { + int num = ((!EqualityComparer.Default.Equals(Kind, other.Kind)) ? 379657536 : 379657539); + while (true) + { + int num2 = num; + int num3 = 379657538; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 379657539; + break; + case 0: + return EqualityComparer.Default.Equals(Exhaustion, other.Exhaustion); + case 2: + return false; + case 1: + num = ((!EqualityComparer.Default.Equals(Rung, other.Rung)) ? 379657536 : 379657538); + break; + } + } + } + + bool IEquatable.Equals(RecoveryDecision other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder? _200C_206E_200E_206B_206B_202E_200D_206B_200B_200F_206F_206D_206F_200C_206A_206C_202A_206E_206D_200B_200F_202B_200B_206A_206D_206E_202E_206F_200D_206F_206F_202E_206E_202A_206B_200D_202A_202D_206C_200F_202E() + { + return new StringBuilder(); + } + + static StringBuilder? _200C_202E_202C_206A_200C_206A_202A_206D_206E_206D_206A_206F_206F_206C_202C_206B_206A_202E_206F_202B_200D_200B_206F_202B_206F_206B_206E_200E_200F_206A_200E_202A_202C_202D_200C_202B_206C_206B_206D_202D_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _200F_202E_206E_202E_202C_206A_206D_200E_200B_206C_206C_206B_206F_206F_206F_206D_200C_202C_200D_200D_200D_202D_200B_202A_206C_202B_200B_200C_200C_206D_200D_206A_202A_200D_200D_202E_206D_206F_202E_202C_202E(StringBuilder? P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string? _200B_206A_206D_200D_206C_200B_206A_200E_206E_206D_200F_202C_200D_206A_202B_202C_202D_200B_206D_200B_200B_202A_202D_206B_202D_206B_206A_202B_206D_202A_206D_202C_202A_200B_206C_200D_200F_200C_200D_200C_202E(object? P_0) + { + return P_0.ToString(); + } + + static StringBuilder? _202D_206A_206D_200C_200E_202A_202E_202D_202B_200F_200E_202E_200B_206C_206E_202E_200B_202B_206F_200B_200F_206A_206C_206C_200F_206B_206A_206C_202C_206B_206B_206C_206F_206C_202C_200C_202E_200E_200F_202A_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } +} diff --git a/LLib/LLib.Movement.Unstuck/RecoveryDecisionKind.cs b/LLib/LLib.Movement.Unstuck/RecoveryDecisionKind.cs new file mode 100644 index 00000000..70ed9790 --- /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 00000000..f18ec7f0 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/RecoveryExhaustion.cs @@ -0,0 +1,153 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace LLib.Movement.Unstuck; + +public sealed record RecoveryExhaustion(int Attempts, IReadOnlyList RungsFired, long FirstStallMs, long LastStallMs) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_206F_206F_202A_202B_206F_200B_202A_200E_202C_206A_200E_200E_200F_200C_200E_206B_206A_206B_200F_206C_200E_206E_206E_200B_206F_202C_202C_202B_202B_200E_202A_206E_202C_202A_202D_206F_202A_200E_200D_202E(typeof(RecoveryExhaustion).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202E_206B_206F_206E_200B_206D_206E_200E_200E_200B_202B_206A_206B_206E_206A_206B_202C_206C_202C_206C_202C_206D_206C_206B_202B_200B_200C_206F_202A_200D_206C_202B_206C_206B_200C_200B_206D_200E_202E_206D_202E(); + _206C_206D_200C_202C_206F_206A_202E_202D_202B_200D_200F_200F_200F_200F_202E_202E_200F_200F_202E_200E_206A_202D_200B_200E_200B_202D_202E_200F_200E_202A_206E_200E_206A_202D_206A_206D_206B_202A_200E_206E_202E(stringBuilder, global::_003CModule_003E._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(-390353260)); + _206C_206D_200C_202C_206F_206A_202E_202D_202B_200D_200F_200F_200F_200F_202E_202E_200F_200F_202E_200E_206A_202D_200B_200E_200B_202D_202E_200F_200E_202A_206E_200E_206A_202D_206A_206D_206B_202A_200E_206E_202E(stringBuilder, global::_003CModule_003E._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(1148273145)); + int num = ((!PrintMembers(stringBuilder)) ? (-834076820) : (-834076819)); + while (true) + { + int num2 = num; + int num3 = -834076820; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -834076819; + break; + case 0: + _206D_202C_200C_206A_200B_206C_202B_202B_202B_200E_202C_206C_206A_200D_200E_200D_206E_200B_200E_206D_206C_200B_200E_202B_206C_200D_200D_206C_206C_200E_202B_200C_200E_200F_206A_206E_206C_202E_202C_206A_202E(stringBuilder, '}'); + return _200B_202D_202D_200B_206A_202A_202A_206B_206C_206C_200D_206E_206C_206E_206C_206F_206C_202E_200D_200E_202D_202C_206D_200B_200B_206C_202E_206D_200C_206D_206B_202A_206C_200F_202A_206D_200D_206B_200D_206E_202E((object)stringBuilder); + case 1: + _206D_202C_200C_206A_200B_206C_202B_202B_202B_200E_202C_206C_206A_200D_200E_200D_206E_200B_200E_206D_206C_200B_200E_202B_206C_200D_200D_206C_206C_200E_202B_200C_200E_200F_206A_206E_206C_202E_202C_206A_202E(stringBuilder, ' '); + num = -834076820; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_200B_200F_206F_206E_206F_202D_206D_206C_202D_206E_202A_200E_206D_202C_206D_202C_200C_206E_202C_200F_206F_206B_200E_200F_206B_206A_200B_202A_206A_206B_206A_206F_206C_200B_202D_206D_200D_202E_202E(); + _206C_206D_200C_202C_206F_206A_202E_202D_202B_200D_200F_200F_200F_200F_202E_202E_200F_200F_202E_200E_206A_202D_200B_200E_200B_202D_202E_200F_200E_202A_206E_200E_206A_202D_206A_206D_206B_202A_200E_206E_202E(builder, global::_003CModule_003E._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(-53828862)); + _206C_206D_200C_202C_206F_206A_202E_202D_202B_200D_200F_200F_200F_200F_202E_202E_200F_200F_202E_200E_206A_202D_200B_200E_200B_202D_202E_200F_200E_202A_206E_200E_206A_202D_206A_206D_206B_202A_200E_206E_202E(builder, Attempts.ToString()); + _206C_206D_200C_202C_206F_206A_202E_202D_202B_200D_200F_200F_200F_200F_202E_202E_200F_200F_202E_200E_206A_202D_200B_200E_200B_202D_202E_200F_200E_202A_206E_200E_206A_202D_206A_206D_206B_202A_200E_206E_202E(builder, global::_003CModule_003E._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(-596316751)); + _200D_202A_200F_200E_206A_202C_202A_200F_206C_200F_200B_206C_202E_200E_200B_206D_206F_200B_206B_202C_200C_202D_200C_202B_206E_200C_206D_200F_202B_202D_206E_206B_200E_206A_200B_206E_200C_206F_206D_202E_202E(builder, (object)RungsFired); + _206C_206D_200C_202C_206F_206A_202E_202D_202B_200D_200F_200F_200F_200F_202E_202E_200F_200F_202E_200E_206A_202D_200B_200E_200B_202D_202E_200F_200E_202A_206E_200E_206A_202D_206A_206D_206B_202A_200E_206E_202E(builder, global::_003CModule_003E._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(118713089)); + _206C_206D_200C_202C_206F_206A_202E_202D_202B_200D_200F_200F_200F_200F_202E_202E_200F_200F_202E_200E_206A_202D_200B_200E_200B_202D_202E_200F_200E_202A_206E_200E_206A_202D_206A_206D_206B_202A_200E_206E_202E(builder, FirstStallMs.ToString()); + _206C_206D_200C_202C_206F_206A_202E_202D_202B_200D_200F_200F_200F_200F_202E_202E_200F_200F_202E_200E_206A_202D_200B_200E_200B_202D_202E_200F_200E_202A_206E_200E_206A_202D_206A_206D_206B_202A_200E_206E_202E(builder, global::_003CModule_003E._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(616880075)); + _206C_206D_200C_202C_206F_206A_202E_202D_202B_200D_200F_200F_200F_200F_202E_202E_200F_200F_202E_200E_206A_202D_200B_200E_200B_202D_202E_200F_200E_202A_206E_200E_206A_202D_206A_206D_206B_202A_200E_206E_202E(builder, LastStallMs.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(RecoveryExhaustion? other) + { + int num = (((object)this == other) ? (-542937588) : (-542937600)); + while (true) + { + int num2 = num; + int num3 = -542937596; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return EqualityComparer.Default.Equals(LastStallMs, other.LastStallMs); + case 1: + return false; + case 2: + num = ((!_202B_200F_202A_206D_206D_200B_206D_200D_202E_200F_200D_206E_200F_202C_206C_206E_206E_200B_206F_200B_206F_202B_200E_202E_206C_202C_206A_200E_200E_206C_202C_200F_206E_206E_206F_200C_200C_206E_206B_200E_202E(EqualityContract, other.EqualityContract)) ? (-542937595) : (-542937596)); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(Attempts, other.Attempts)) ? (-542937595) : (-542937597)); + break; + case 8: + return true; + case 6: + num = ((!EqualityComparer.Default.Equals(FirstStallMs, other.FirstStallMs)) ? (-542937595) : (-542937593)); + break; + case 7: + num = ((!EqualityComparer>.Default.Equals(RungsFired, other.RungsFired)) ? (-542937595) : (-542937598)); + break; + case 4: + num = (((object)other == null) ? (-542937595) : (-542937594)); + break; + case 5: + num = -542937600; + break; + } + } + } + + bool IEquatable.Equals(RecoveryExhaustion? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_206F_206F_202A_202B_206F_200B_202A_200E_202C_206A_200E_200E_200F_200C_200E_206B_206A_206B_200F_206C_200E_206E_206E_200B_206F_202C_202C_202B_202B_200E_202A_206E_202C_202A_202D_206F_202A_200E_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202E_206B_206F_206E_200B_206D_206E_200E_200E_200B_202B_206A_206B_206E_206A_206B_202C_206C_202C_206C_202C_206D_206C_206B_202B_200B_200C_206F_202A_200D_206C_202B_206C_206B_200C_200B_206D_200E_202E_206D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206C_206D_200C_202C_206F_206A_202E_202D_202B_200D_200F_200F_200F_200F_202E_202E_200F_200F_202E_200E_206A_202D_200B_200E_200B_202D_202E_200F_200E_202A_206E_200E_206A_202D_206A_206D_206B_202A_200E_206E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_202C_200C_206A_200B_206C_202B_202B_202B_200E_202C_206C_206A_200D_200E_200D_206E_200B_200E_206D_206C_200B_200E_202B_206C_200D_200D_206C_206C_200E_202B_200C_200E_200F_206A_206E_206C_202E_202C_206A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_202D_202D_200B_206A_202A_202A_206B_206C_206C_200D_206E_206C_206E_206C_206F_206C_202E_200D_200E_202D_202C_206D_200B_200B_206C_202E_206D_200C_206D_206B_202A_206C_200F_202A_206D_200D_206B_200D_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206C_200B_200F_206F_206E_206F_202D_206D_206C_202D_206E_202A_200E_206D_202C_206D_202C_200C_206E_202C_200F_206F_206B_200E_200F_206B_206A_200B_202A_206A_206B_206A_206F_206C_200B_202D_206D_200D_202E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200D_202A_200F_200E_206A_202C_202A_200F_206C_200F_200B_206C_202E_200E_200B_206D_206F_200B_206B_202C_200C_202D_200C_202B_206E_200C_206D_200F_202B_202D_206E_206B_200E_206A_200B_206E_200C_206F_206D_202E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202B_200F_202A_206D_206D_200B_206D_200D_202E_200F_200D_206E_200F_202C_206C_206E_206E_200B_206F_200B_206F_202B_200E_202E_206C_202C_206A_200E_200E_206C_202C_200F_206E_206E_206F_200C_200C_206E_206B_200E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/LLib/LLib.Movement.Unstuck/RecoveryLadder.cs b/LLib/LLib.Movement.Unstuck/RecoveryLadder.cs new file mode 100644 index 00000000..e1dc24a4 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/RecoveryLadder.cs @@ -0,0 +1,241 @@ +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 + { + get + { + RecoveryMode mode = _003Coptions_003EP.Mode; + int num = ((mode == RecoveryMode.Aggressive) ? (-304547260) : (-304547257)); + int result = default(int); + while (true) + { + int num2 = num; + int num3 = -304547258; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + result = _003Coptions_003EP.PassiveCap; + num = -304547258; + break; + case 1: + num = ((mode == RecoveryMode.Passive) ? (-304547262) : (-304547264)); + break; + case 6: + num = -304547261; + break; + case 2: + result = _003Coptions_003EP.AggressiveCap; + num = -304547258; + break; + case 5: + result = _003Coptions_003EP.ConservativeCap; + num = -304547258; + break; + case 3: + num = -304547257; + break; + case 0: + return result; + } + } + } + } + + 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) + { + int num = ((!IsExhausted) ? 1754338781 : 1754338772); + IRecoveryRung recoveryRung = default(IRecoveryRung); + int num7 = default(int); + while (true) + { + int num2 = num; + int num3 = 1754338771; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 9: + { + long num8 = _lastRunAnyMs; + long num9 = nowMs; + num = ((~(~num9 + num8) >= _003Coptions_003EP.GlobalCooldownMs) ? 1754338774 : 1754338768); + break; + } + case 0: + num = ((!_hasRunAny) ? 1754338774 : 1754338778); + break; + case 14: + num = ((Attempts < Cap) ? 1754338771 : 1754338783); + break; + case 16: + num = ((!recoveryRung.CanRun(Attempts + 1, nowMs)) ? 1754338773 : 1754338782); + break; + case 10: + recoveryRung = _rungs[num7]; + num = ((!_hasRun[num7]) ? 1754338755 : 1754338776); + break; + case 4: + num = 1754338772; + break; + case 13: + Consume(nowMs); + _rungsFired.Add(recoveryRung.Name); + _hasRun[num7] = true; + _lastRunMs[num7] = nowMs; + _hasRunAny = true; + _lastRunAnyMs = nowMs; + return new RecoveryDecision(RecoveryDecisionKind.Run, recoveryRung, null); + case 6: + { + int num10 = num7; + num3 = 1; + num4 = num10; + int num11 = num4 ^ num3; + int num12 = num4 & num3; + num7 = num11 + (num12 + num12); + num = 1754338769; + break; + } + case 12: + IsExhausted = true; + return new RecoveryDecision(RecoveryDecisionKind.Exhausted, null, new RecoveryExhaustion(Attempts, _rungsFired.ToArray(), _firstStallMs, _lastStallMs)); + case 1: + Consume(nowMs); + return new RecoveryDecision(RecoveryDecisionKind.Observe, null, null); + case 5: + num = ((_003Coptions_003EP.Mode != RecoveryMode.Passive) ? 1754338779 : 1754338770); + break; + case 11: + { + long num8 = _lastRunMs[num7]; + long num9 = nowMs; + num = ((~(~num9 + num8) < recoveryRung.CooldownMs) ? 1754338773 : 1754338755); + break; + } + case 3: + return new RecoveryDecision(RecoveryDecisionKind.None, null, null); + case 2: + num = ((num7 < _rungs.Length) ? 1754338777 : 1754338780); + break; + case 15: + return new RecoveryDecision(RecoveryDecisionKind.None, null, null); + case 7: + return new RecoveryDecision(RecoveryDecisionKind.None, null, null); + case 8: + num7 = 0; + num = 1754338769; + break; + } + } + } + + public void Reset() + { + Attempts = 0; + IsExhausted = false; + _rungsFired.Clear(); + _hasRunAny = false; + int num = 0; + int num2 = -478483629; + while (true) + { + int num3 = num2; + int num4 = -478483631; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + return; + case 2: + num2 = ((num < _hasRun.Length) ? (-478483632) : (-478483631)); + break; + case 1: + { + _hasRun[num] = false; + int num8 = num; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + num = num9 + (num10 + num10); + num2 = -478483629; + break; + } + case 3: + num2 = -478483629; + break; + } + } + } + + private void Consume(long nowMs) + { + int num = ((Attempts != 0) ? 1659706856 : 1659706857); + while (true) + { + int num2 = num; + int num3 = 1659706856; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1659706857; + break; + case 1: + _firstStallMs = nowMs; + num = 1659706856; + break; + case 0: + { + int attempts = Attempts; + num3 = 1; + num4 = attempts; + Attempts = (num4 | num3) + (num4 & num3); + _lastStallMs = nowMs; + return; + } + } + } + } +} diff --git a/LLib/LLib.Movement.Unstuck/RecoveryLadderOptions.cs b/LLib/LLib.Movement.Unstuck/RecoveryLadderOptions.cs new file mode 100644 index 00000000..4fdc8582 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/RecoveryLadderOptions.cs @@ -0,0 +1,163 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace LLib.Movement.Unstuck; + +public sealed record RecoveryLadderOptions +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200E_200F_202D_206F_200E_202B_206A_206E_206C_202A_200D_202B_206E_202C_202E_200D_202E_202D_200C_202D_202E_200B_206A_206B_206F_200E_202B_200C_206F_206E_200F_200E_200F_202C_200B_202A_202D_202C_200C_206A_202E(typeof(RecoveryLadderOptions).TypeHandle); + } + } + + 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; + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206E_206D_202C_202E_200B_202D_200E_202D_206F_206A_206E_206A_202B_202A_206C_206B_206D_200F_206D_200F_200B_206D_200C_200F_202B_202A_206D_200C_200B_206D_200D_202C_202E_206A_202D_206A_202D_202E_206B_202D_202E(); + _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(stringBuilder, global::_003CModule_003E._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(-1014979507)); + _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(stringBuilder, global::_003CModule_003E._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(1808631505)); + int num = ((!PrintMembers(stringBuilder)) ? 128748061 : 128748062); + while (true) + { + int num2 = num; + int num3 = 128748063; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 128748062; + break; + case 2: + _200D_202B_206E_206C_206E_206F_200F_200D_200F_200E_200B_206C_202E_206D_202D_206C_206A_200C_202D_200D_200E_206F_206E_200F_202A_202B_202D_202A_202B_202D_202E_200E_206C_200E_202D_206E_200B_206B_202E_202E(stringBuilder, '}'); + return _200B_202B_200E_202E_200F_202D_206E_202B_200B_202B_200D_200C_200C_202D_200F_202B_200E_202E_206E_202B_206B_200B_200E_202E_202A_200E_200D_202B_200F_202A_200E_206D_206E_202D_202B_202C_202E_200D_202D_206B_202E((object)stringBuilder); + case 1: + _200D_202B_206E_206C_206E_206F_200F_200D_200F_200E_200B_206C_202E_206D_202D_206C_206A_200C_202D_200D_200E_206F_206E_200F_202A_202B_202D_202A_202B_202D_202E_200E_206C_200E_202D_206E_200B_206B_202E_202E(stringBuilder, ' '); + num = 128748061; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_206D_206F_206A_202D_206A_206F_206C_206D_202E_200E_200D_202D_206B_200B_200D_206E_200F_202B_206A_200E_202A_206D_206F_206B_206B_202A_202E_206B_206E_206A_206F_200F_200F_200D_206B_200E_206C_200D_206F_202E(); + _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(builder, global::_003CModule_003E._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(-537195815)); + _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(builder, Mode.ToString()); + _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(builder, global::_003CModule_003E._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(-1738569869)); + _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(builder, AggressiveCap.ToString()); + _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(builder, global::_003CModule_003E._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(1436744253)); + _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(builder, ConservativeCap.ToString()); + _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(builder, global::_003CModule_003E._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(56536959)); + _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(builder, PassiveCap.ToString()); + _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(builder, global::_003CModule_003E._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(1236985358)); + _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(builder, GlobalCooldownMs.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(RecoveryLadderOptions? other) + { + int num = (((object)this == other) ? (-1889404605) : (-1889404604)); + while (true) + { + int num2 = num; + int num3 = -1889404603; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((!EqualityComparer.Default.Equals(PassiveCap, other.PassiveCap)) ? (-1889404595) : (-1889404601)); + break; + case 9: + num = ((!_206D_202D_206B_200C_200C_200F_200E_202D_202D_206F_202A_200F_206D_200E_202B_200E_202A_206C_206B_206E_202C_200C_200B_206C_202A_202D_202A_202D_202D_206F_200F_206C_202B_200B_200F_202B_206A_202D_206D_206B_202E(EqualityContract, other.EqualityContract)) ? (-1889404595) : (-1889404607)); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(ConservativeCap, other.ConservativeCap)) ? (-1889404595) : (-1889404603)); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(AggressiveCap, other.AggressiveCap)) ? (-1889404595) : (-1889404602)); + break; + case 8: + return false; + case 1: + num = (((object)other == null) ? (-1889404595) : (-1889404596)); + break; + case 6: + return true; + case 2: + return EqualityComparer.Default.Equals(GlobalCooldownMs, other.GlobalCooldownMs); + case 5: + num = -1889404604; + break; + case 4: + num = ((!EqualityComparer.Default.Equals(Mode, other.Mode)) ? (-1889404595) : (-1889404606)); + break; + } + } + } + + bool IEquatable.Equals(RecoveryLadderOptions? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200E_200F_202D_206F_200E_202B_206A_206E_206C_202A_200D_202B_206E_202C_202E_200D_202E_202D_200C_202D_202E_200B_206A_206B_206F_200E_202B_200C_206F_206E_200F_200E_200F_202C_200B_202A_202D_202C_200C_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206E_206D_202C_202E_200B_202D_200E_202D_206F_206A_206E_206A_202B_202A_206C_206B_206D_200F_206D_200F_200B_206D_200C_200F_202B_202A_206D_200C_200B_206D_200D_202C_202E_206A_202D_206A_202D_202E_206B_202D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202C_206D_202E_200E_202D_206D_206F_200E_200E_200E_206F_200B_206E_202A_206C_200C_206E_200E_202C_200C_206F_202B_206B_206A_200C_200C_200F_202B_206B_206D_206B_206B_202B_200F_206F_202E_200E_202E_200F_202C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_202B_206E_206C_206E_206F_200F_200D_200F_200E_200B_206C_202E_206D_202D_206C_206A_200C_202D_200D_200E_206F_206E_200F_202A_202B_202D_202A_202B_202D_202E_200E_206C_200E_202D_206E_200B_206B_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_202B_200E_202E_200F_202D_206E_202B_200B_202B_200D_200C_200C_202D_200F_202B_200E_202E_206E_202B_206B_200B_200E_202E_202A_200E_200D_202B_200F_202A_200E_206D_206E_202D_202B_202C_202E_200D_202D_206B_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206C_206D_206F_206A_202D_206A_206F_206C_206D_202E_200E_200D_202D_206B_200B_200D_206E_200F_202B_206A_200E_202A_206D_206F_206B_206B_202A_202E_206B_206E_206A_206F_200F_200F_200D_206B_200E_206C_200D_206F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _206D_202D_206B_200C_200C_200F_200E_202D_202D_206F_202A_200F_206D_200E_202B_200E_202A_206C_206B_206E_202C_200C_200B_206C_202A_202D_202A_202D_202D_206F_200F_206C_202B_200B_200F_202B_206A_202D_206D_206B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/LLib/LLib.Movement.Unstuck/RecoveryMode.cs b/LLib/LLib.Movement.Unstuck/RecoveryMode.cs new file mode 100644 index 00000000..b8d458df --- /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 00000000..5d19e715 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/StallDetector.cs @@ -0,0 +1,227 @@ +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) + { + int num = (sample.Driving ? 860999294 : 860999280); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = 860999289; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + num5 = (sample.DistanceToTarget.HasValue ? 1 : 0); + goto IL_0163; + case 4: + num = ((sample.TimestampMs - _lastDrivenMs > options.ContinuityGapMs) ? 860999295 : 860999282); + break; + case 1: + return ObserveProgress(in sample); + case 11: + num = ((sample.Mode != _anchorMode) ? 860999295 : 860999289); + break; + case 10: + return ObserveDisplacement(in sample); + case 7: + num = ((sample.Mode == DriveMode.Ground) ? 860999292 : 860999281); + break; + case 2: + num = 860999280; + break; + case 6: + Anchor(in sample, flag); + return null; + case 9: + return null; + case 0: + num = ((flag == _anchorUsesProgress) ? 860999290 : 860999295); + break; + case 5: + num5 = 0; + goto IL_0163; + case 3: + { + _lastDrivenMs = sample.TimestampMs; + num = (flag ? 860999288 : 860999283); + break; + } + IL_0163: + flag = (byte)num5 != 0; + num = ((!_hasAnchor) ? 860999295 : 860999293); + break; + } + } + } + + public void Reset() + { + _hasAnchor = false; + _cooldownUntilMs = 0L; + } + + private StallVerdict? ObserveProgress(in StallSample sample) + { + float value = sample.DistanceToTarget.Value; + int num = ((!(value < _bestDistance)) ? 755996687 : 755996681); + long num7 = default(long); + float num8 = default(float); + while (true) + { + int num2 = num; + int num3 = 755996685; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 755996681; + break; + case 3: + return null; + case 6: + return Trip(in sample, num7, num8); + case 2: + num8 = _referenceBestDistance - _bestDistance; + num = ((!(num8 >= options.ProgressImprovementThreshold)) ? 755996684 : 755996680); + break; + case 5: + _referenceBestDistance = _bestDistance; + _anchorMs = sample.TimestampMs; + _anchorPosition = sample.Position; + return null; + case 1: + num7 = sample.TimestampMs - _anchorMs; + num = ((num7 < options.ProgressWindowMs) ? 755996686 : 755996683); + break; + case 4: + _bestDistance = value; + num = 755996687; + break; + } + } + } + + private StallVerdict? ObserveDisplacement(in StallSample sample) + { + int num = ((sample.Mode == DriveMode.Ground) ? 508532326 : 508532323); + long num9 = default(long); + float num8 = default(float); + while (true) + { + int num2 = num; + int num3 = 508532327; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + float num7; + switch (num5 - (num6 + num6)) + { + case 2: + num9 = sample.TimestampMs - _anchorMs; + num = ((num9 < options.GroundWindowMs) ? 508532324 : 508532322); + break; + case 5: + return Trip(in sample, num9, num8); + case 1: + num7 = DistanceXZ(_anchorPosition, sample.Position); + goto IL_00ae; + case 3: + return null; + case 0: + num = 508532323; + break; + case 4: + num7 = Vector3.Distance(_anchorPosition, sample.Position); + goto IL_00ae; + case 6: + { + _anchorMs = sample.TimestampMs; + _anchorPosition = sample.Position; + return null; + } + IL_00ae: + num8 = num7; + num = ((!(num8 >= options.GroundDistanceThreshold)) ? 508532325 : 508532321); + break; + } + } + } + + private StallVerdict? Trip(in StallSample sample, long elapsedMs, float measured) + { + bool num = sample.TimestampMs < _cooldownUntilMs; + Anchor(in sample, _anchorUsesProgress); + int num2 = ((!num) ? (-1156731677) : (-1156731680)); + while (true) + { + int num3 = num2; + int num4 = -1156731679; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 2: + _cooldownUntilMs = sample.TimestampMs + options.CooldownMs; + return new StallVerdict(elapsedMs, measured, sample.Mode); + case 1: + return null; + case 0: + goto IL_0092; + } + continue; + IL_0092: + num2 = -1156731680; + } + } + + 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 _206A_202D_200C_206C_206C_206B_202D_202E_206B_200B_200B_206F_206F_202B_200D_200F_206A_202C_200C_202A_202D_202C_200B_206F_206F_200F_206F_206B_206E_200D_202C_200C_200D_206F_202A_202D_202D_200B_200D_202C_202E(num * num + num2 * num2); + } + + static float _206A_202D_200C_206C_206C_206B_202D_202E_206B_200B_200B_206F_206F_202B_200D_200F_206A_202C_200C_202A_202D_202C_200B_206F_206F_200F_206F_206B_206E_200D_202C_200C_200D_206F_202A_202D_202D_200B_200D_202C_202E(float P_0) + { + return MathF.Sqrt(P_0); + } +} diff --git a/LLib/LLib.Movement.Unstuck/StallDetectorOptions.cs b/LLib/LLib.Movement.Unstuck/StallDetectorOptions.cs new file mode 100644 index 00000000..ddb550e7 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/StallDetectorOptions.cs @@ -0,0 +1,168 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace LLib.Movement.Unstuck; + +public sealed record StallDetectorOptions +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_202A_206D_206E_202B_200C_200C_200C_200B_200E_200C_206F_202C_206B_200C_200D_206D_202A_202E_200F_200D_206A_206E_206C_206F_206F_200C_202C_202E_200C_202B_200C_206C_202E_200E_206C_206C_206E_200F_202E_202E(typeof(StallDetectorOptions).TypeHandle); + } + } + + 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; + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202D_202B_206E_200E_206A_202D_206E_206C_200B_206E_202C_200B_206D_206B_206C_200E_200E_206C_200B_200C_202C_202C_206F_206F_202C_206B_202D_200B_202C_206F_206B_202A_200B_200B_200D_206E_200B_202D_206C_206A_202E(); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(stringBuilder, global::_003CModule_003E._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(701563104)); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(stringBuilder, global::_003CModule_003E._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(1148273145)); + int num = ((!PrintMembers(stringBuilder)) ? (-1370681067) : (-1370681068)); + while (true) + { + int num2 = num; + int num3 = -1370681067; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1370681068; + break; + case 0: + _202D_202E_200E_202E_200D_206E_200B_206F_202E_202B_206E_202A_202A_200B_202A_202B_200C_202C_202D_200C_202D_202B_206B_200B_206D_206F_200D_200B_202E_202A_202C_202A_206B_206C_200B_200D_202B_206D_202B_206F_202E(stringBuilder, '}'); + return _206D_202D_200B_200D_206B_206D_200F_200B_200F_200D_202C_202D_206B_200F_206E_202C_202A_202C_200F_202B_206F_206E_206B_200B_206C_200B_202B_206E_206F_206F_206B_202B_202C_202C_202D_202E_200F_206A_202D_202C_202E((object)stringBuilder); + case 1: + _202D_202E_200E_202E_200D_206E_200B_206F_202E_202B_206E_202A_202A_200B_202A_202B_200C_202C_202D_200C_202D_202B_206B_200B_206D_206F_200D_200B_202E_202A_202C_202A_206B_206C_200B_200D_202B_206D_202B_206F_202E(stringBuilder, ' '); + num = -1370681067; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206E_206F_200D_206F_200E_202B_200B_202B_206A_202A_206C_200C_200D_206A_200D_202D_200C_202A_206E_202C_206B_200E_206A_202E_206A_206F_200E_200D_200D_202A_200B_206A_206B_206F_202B_200B_200D_200F_202E_206B_202E(); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(builder, global::_003CModule_003E._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(486831587)); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(builder, GroundDistanceThreshold.ToString()); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(builder, global::_003CModule_003E._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(456054749)); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(builder, GroundWindowMs.ToString()); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(builder, global::_003CModule_003E._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(1152636967)); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(builder, ProgressImprovementThreshold.ToString()); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(builder, global::_003CModule_003E._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(942915890)); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(builder, ProgressWindowMs.ToString()); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(builder, global::_003CModule_003E._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(-1835438226)); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(builder, ContinuityGapMs.ToString()); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(builder, global::_003CModule_003E._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(-1517208652)); + _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(builder, CooldownMs.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(StallDetectorOptions? other) + { + int num = (((object)this == other) ? 1683992717 : 1683992704); + while (true) + { + int num2 = num; + int num3 = 1683992711; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 3: + num = ((!EqualityComparer.Default.Equals(ProgressWindowMs, other.ProgressWindowMs)) ? 1683992710 : 1683992707); + break; + case 6: + num = 1683992704; + break; + case 0: + num = ((!EqualityComparer.Default.Equals(GroundDistanceThreshold, other.GroundDistanceThreshold)) ? 1683992710 : 1683992706); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(ProgressImprovementThreshold, other.ProgressImprovementThreshold)) ? 1683992710 : 1683992708); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(ContinuityGapMs, other.ContinuityGapMs)) ? 1683992710 : 1683992719); + break; + case 10: + return true; + case 9: + num = ((!_200D_206F_206A_200F_206A_200F_206A_200C_200B_206F_200C_202B_202E_200C_206F_206E_206C_200E_200C_206D_202D_202B_206B_202A_202A_206D_202C_206E_200D_202E_206B_202D_206D_206D_206F_202D_206C_206C_206D_206F_202E(EqualityContract, other.EqualityContract)) ? 1683992710 : 1683992711); + break; + case 7: + num = (((object)other == null) ? 1683992710 : 1683992718); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(GroundWindowMs, other.GroundWindowMs)) ? 1683992710 : 1683992709); + break; + case 8: + return EqualityComparer.Default.Equals(CooldownMs, other.CooldownMs); + } + } + } + + bool IEquatable.Equals(StallDetectorOptions? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_202A_206D_206E_202B_200C_200C_200C_200B_200E_200C_206F_202C_206B_200C_200D_206D_202A_202E_200F_200D_206A_206E_206C_206F_206F_200C_202C_202E_200C_202B_200C_206C_202E_200E_206C_206C_206E_200F_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202D_202B_206E_200E_206A_202D_206E_206C_200B_206E_202C_200B_206D_206B_206C_200E_200E_206C_200B_200C_202C_202C_206F_206F_202C_206B_202D_200B_202C_206F_206B_202A_200B_200B_200D_206E_200B_202D_206C_206A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200F_202D_206D_202B_206F_206D_202A_206B_206C_200F_200D_206E_206F_202C_200E_202E_206C_206A_206E_202C_206A_200D_200F_202A_200C_200B_202E_202C_200D_206E_202D_200F_202A_202D_206F_206E_206D_200D_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202D_202E_200E_202E_200D_206E_200B_206F_202E_202B_206E_202A_202A_200B_202A_202B_200C_202C_202D_200C_202D_202B_206B_200B_206D_206F_200D_200B_202E_202A_202C_202A_206B_206C_200B_200D_202B_206D_202B_206F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206D_202D_200B_200D_206B_206D_200F_200B_200F_200D_202C_202D_206B_200F_206E_202C_202A_202C_200F_202B_206F_206E_206B_200B_206C_200B_202B_206E_206F_206F_206B_202B_202C_202C_202D_202E_200F_206A_202D_202C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206E_206F_200D_206F_200E_202B_200B_202B_206A_202A_206C_200C_200D_206A_200D_202D_200C_202A_206E_202C_206B_200E_206A_202E_206A_206F_200E_200D_200D_202A_200B_206A_206B_206F_202B_200B_200D_200F_202E_206B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _200D_206F_206A_200F_206A_200F_206A_200C_200B_206F_200C_202B_202E_200C_206F_206E_206C_200E_200C_206D_202D_202B_206B_202A_202A_206D_202C_206E_200D_202E_206B_202D_206D_206D_206F_202D_206C_206C_206D_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/LLib/LLib.Movement.Unstuck/StallSample.cs b/LLib/LLib.Movement.Unstuck/StallSample.cs new file mode 100644 index 00000000..b175e906 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/StallSample.cs @@ -0,0 +1,115 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace LLib.Movement.Unstuck; + +public readonly record struct StallSample(long TimestampMs, Vector3 Position, DriveMode Mode, bool Driving, float? DistanceToTarget) +{ + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206C_206D_202E_200F_202B_206A_206E_200E_200F_206F_202C_206D_206E_200E_200D_200D_200D_202B_200E_206C_200F_206F_206A_202D_206E_206B_202C_202D_206D_200D_202D_202A_206F_206C_206A_206E_206A_202B_206C_206C_202E(); + _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(stringBuilder, global::_003CModule_003E._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(-843870221)); + _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(stringBuilder, global::_003CModule_003E._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(1581517409)); + int num = ((!PrintMembers(stringBuilder)) ? (-435415033) : (-435415036)); + while (true) + { + int num2 = num; + int num3 = -435415035; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _206E_200B_206D_200C_206C_202A_202C_202B_206F_200D_200D_200D_206C_206A_206B_200B_200C_202B_202A_206D_206B_200B_202A_202C_206E_202B_202B_202A_200C_202E_206B_206D_206A_206A_202E_202E_206E_200C_200C_206F_202E(stringBuilder, '}'); + return _206B_206E_206D_206A_206D_202D_202D_200C_202B_202E_206F_202D_206F_206B_202C_202D_206A_202B_200C_202D_206C_206C_202B_206A_202C_202A_200F_206D_202B_206C_200D_202B_202B_206C_206C_206D_206B_200D_200C_206A_202E((object)stringBuilder); + case 1: + _206E_200B_206D_200C_206C_202A_202C_202B_206F_200D_200D_200D_206C_206A_206B_200B_200C_202B_202A_206D_206B_200B_202A_202C_206E_202B_202B_202A_200C_202E_206B_206D_206A_206A_202E_202E_206E_200C_200C_206F_202E(stringBuilder, ' '); + num = -435415033; + break; + case 0: + num = -435415036; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(builder, global::_003CModule_003E._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(1273497407)); + _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(builder, TimestampMs.ToString()); + _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(builder, global::_003CModule_003E._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(-73966411)); + _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(builder, Position.ToString()); + _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(builder, global::_003CModule_003E._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(-1530027189)); + _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(builder, Mode.ToString()); + _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(builder, global::_003CModule_003E._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(-1807392495)); + _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(builder, Driving.ToString()); + _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(builder, global::_003CModule_003E._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(371582453)); + _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(builder, DistanceToTarget.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(StallSample other) + { + int num = ((!EqualityComparer.Default.Equals(TimestampMs, other.TimestampMs)) ? 364630668 : 364630670); + while (true) + { + int num2 = num; + int num3 = 364630671; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = 364630670; + break; + case 0: + return EqualityComparer.Default.Equals(DistanceToTarget, other.DistanceToTarget); + case 3: + return false; + case 1: + num = ((!EqualityComparer.Default.Equals(Position, other.Position)) ? 364630668 : 364630669); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(Mode, other.Mode)) ? 364630668 : 364630667); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(Driving, other.Driving)) ? 364630668 : 364630671); + break; + } + } + } + + bool IEquatable.Equals(StallSample other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206C_206D_202E_200F_202B_206A_206E_200E_200F_206F_202C_206D_206E_200E_200D_200D_200D_202B_200E_206C_200F_206F_206A_202D_206E_206B_202C_202D_206D_200D_202D_202A_206F_206C_206A_206E_206A_202B_206C_206C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202A_202C_206C_206C_200D_206F_206B_206F_202E_200D_202E_200C_200C_202A_200D_202C_206E_206C_206C_200C_200B_206D_202B_200C_206E_200C_200C_200B_206A_202E_202D_206A_206D_206B_206C_202E_200D_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206E_200B_206D_200C_206C_202A_202C_202B_206F_200D_200D_200D_206C_206A_206B_200B_200C_202B_202A_206D_206B_200B_202A_202C_206E_202B_202B_202A_200C_202E_206B_206D_206A_206A_202E_202E_206E_200C_200C_206F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206B_206E_206D_206A_206D_202D_202D_200C_202B_202E_206F_202D_206F_206B_202C_202D_206A_202B_200C_202D_206C_206C_202B_206A_202C_202A_200F_206D_202B_206C_200D_202B_202B_206C_206C_206D_206B_200D_200C_206A_202E(object P_0) + { + return P_0.ToString(); + } +} diff --git a/LLib/LLib.Movement.Unstuck/StallVerdict.cs b/LLib/LLib.Movement.Unstuck/StallVerdict.cs new file mode 100644 index 00000000..2abcadd6 --- /dev/null +++ b/LLib/LLib.Movement.Unstuck/StallVerdict.cs @@ -0,0 +1,106 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace LLib.Movement.Unstuck; + +public readonly record struct StallVerdict(long WindowMs, float MovedDistance, DriveMode Mode) +{ + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200C_206C_206B_202E_202E_206B_200E_202D_200D_202A_200F_206D_206C_206F_206B_200E_206C_206E_206E_202C_200B_206D_202C_202A_202B_202C_206E_200D_206C_200D_200C_200C_202A_206A_206F_202C_200D_206D_206D_202E(); + _206F_206B_200E_202C_200D_206B_200E_206E_206A_200D_200B_206B_202E_206F_202B_202E_202A_206A_206C_200C_202E_202B_202E_206D_200D_206E_202B_200B_206E_200D_200D_200F_206F_200B_206C_200D_206A_200C_206D_206A_202E(stringBuilder, global::_003CModule_003E._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(-1822422138)); + _206F_206B_200E_202C_200D_206B_200E_206E_206A_200D_200B_206B_202E_206F_202B_202E_202A_206A_206C_200C_202E_202B_202E_206D_200D_206E_202B_200B_206E_200D_200D_200F_206F_200B_206C_200D_206A_200C_206D_206A_202E(stringBuilder, global::_003CModule_003E._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(1581517409)); + int num = ((!PrintMembers(stringBuilder)) ? (-1803587058) : (-1803587059)); + while (true) + { + int num2 = num; + int num3 = -1803587060; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _200E_202E_200F_202A_200D_206A_206C_206E_200D_200C_202C_206F_200C_200F_202A_206E_200D_202A_202A_206F_202A_206B_202A_206F_206C_202C_200C_202E_200B_202B_200F_202E_202A_206D_202D_200D_202B_200D_200F_206A_202E(stringBuilder, '}'); + return _202E_202D_202D_202B_200B_200C_206B_206C_200F_200E_206E_206C_200F_200D_206C_206A_202B_206A_202A_206D_202E_206C_202E_202B_200C_206C_206A_206E_206F_206E_206B_200C_206B_200E_206F_202B_206E_202D_202C_200D_202E((object)stringBuilder); + case 1: + _200E_202E_200F_202A_200D_206A_206C_206E_200D_200C_202C_206F_200C_200F_202A_206E_200D_202A_202A_206F_202A_206B_202A_206F_206C_202C_200C_202E_200B_202B_200F_202E_202A_206D_202D_200D_202B_200D_200F_206A_202E(stringBuilder, ' '); + num = -1803587058; + break; + case 0: + num = -1803587059; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206F_206B_200E_202C_200D_206B_200E_206E_206A_200D_200B_206B_202E_206F_202B_202E_202A_206A_206C_200C_202E_202B_202E_206D_200D_206E_202B_200B_206E_200D_200D_200F_206F_200B_206C_200D_206A_200C_206D_206A_202E(builder, global::_003CModule_003E._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(1679493069)); + _206F_206B_200E_202C_200D_206B_200E_206E_206A_200D_200B_206B_202E_206F_202B_202E_202A_206A_206C_200C_202E_202B_202E_206D_200D_206E_202B_200B_206E_200D_200D_200F_206F_200B_206C_200D_206A_200C_206D_206A_202E(builder, WindowMs.ToString()); + _206F_206B_200E_202C_200D_206B_200E_206E_206A_200D_200B_206B_202E_206F_202B_202E_202A_206A_206C_200C_202E_202B_202E_206D_200D_206E_202B_200B_206E_200D_200D_200F_206F_200B_206C_200D_206A_200C_206D_206A_202E(builder, global::_003CModule_003E._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(-980000238)); + _206F_206B_200E_202C_200D_206B_200E_206E_206A_200D_200B_206B_202E_206F_202B_202E_202A_206A_206C_200C_202E_202B_202E_206D_200D_206E_202B_200B_206E_200D_200D_200F_206F_200B_206C_200D_206A_200C_206D_206A_202E(builder, MovedDistance.ToString()); + _206F_206B_200E_202C_200D_206B_200E_206E_206A_200D_200B_206B_202E_206F_202B_202E_202A_206A_206C_200C_202E_202B_202E_206D_200D_206E_202B_200B_206E_200D_200D_200F_206F_200B_206C_200D_206A_200C_206D_206A_202E(builder, global::_003CModule_003E._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(-830019758)); + _206F_206B_200E_202C_200D_206B_200E_206E_206A_200D_200B_206B_202E_206F_202B_202E_202A_206A_206C_200C_202E_202B_202E_206D_200D_206E_202B_200B_206E_200D_200D_200F_206F_200B_206C_200D_206A_200C_206D_206A_202E(builder, Mode.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(StallVerdict other) + { + int num = ((!EqualityComparer.Default.Equals(WindowMs, other.WindowMs)) ? 449006355 : 449006353); + while (true) + { + int num2 = num; + int num3 = 449006355; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 449006353; + break; + case 1: + return EqualityComparer.Default.Equals(Mode, other.Mode); + case 0: + return false; + case 2: + num = ((!EqualityComparer.Default.Equals(MovedDistance, other.MovedDistance)) ? 449006355 : 449006354); + break; + } + } + } + + bool IEquatable.Equals(StallVerdict other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _200C_206C_206B_202E_202E_206B_200E_202D_200D_202A_200F_206D_206C_206F_206B_200E_206C_206E_206E_202C_200B_206D_202C_202A_202B_202C_206E_200D_206C_200D_200C_200C_202A_206A_206F_202C_200D_206D_206D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206F_206B_200E_202C_200D_206B_200E_206E_206A_200D_200B_206B_202E_206F_202B_202E_202A_206A_206C_200C_202E_202B_202E_206D_200D_206E_202B_200B_206E_200D_200D_200F_206F_200B_206C_200D_206A_200C_206D_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200E_202E_200F_202A_200D_206A_206C_206E_200D_200C_202C_206F_200C_200F_202A_206E_200D_202A_202A_206F_202A_206B_202A_206F_206C_202C_200C_202E_200B_202B_200F_202E_202A_206D_202D_200D_202B_200D_200F_206A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202E_202D_202D_202B_200B_200C_206B_206C_200F_200E_206E_206C_200F_200D_206C_206A_202B_206A_202A_206D_202E_206C_202E_202B_200C_206C_206A_206E_206F_206E_206B_200C_206B_200E_206F_202B_206E_202D_202C_200D_202E(object P_0) + { + return P_0.ToString(); + } +} diff --git a/LLib/LLib.Movement/MovementOverrideHook.cs b/LLib/LLib.Movement/MovementOverrideHook.cs new file mode 100644 index 00000000..aa99718e --- /dev/null +++ b/LLib/LLib.Movement/MovementOverrideHook.cs @@ -0,0 +1,1354 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; +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 = MathF.PI / 4f; + + private static readonly uint[] MisdirectionStatusIds; + + 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 => _202C_200F_206E_202D_202A_202D_202E_206A_202D_202B_206E_200F_200D_200E_202A_202A_200E_206D_206D_202B_200C_206E_200E_202B_202A_200E_202B_200E_202E_206C_202C_206F_202D_202C_200B_202C_206B_202B_200D_206F_202E() - _lastUserInputAtMs < 250; + + public float Precision { get; set; } = 0.1f; + + public System.Numerics.Vector3? DesiredDirection + { + get + { + return _desiredDirection; + } + set + { + System.Numerics.Vector3? desiredDirection = _desiredDirection; + System.Numerics.Vector3? vector = value; + int num = ((desiredDirection.HasValue == vector.HasValue) ? (-1630909431) : (-1630909425)); + while (true) + { + int num2 = num; + int num3 = -1630909430; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + num = -1630909425; + break; + case 2: + if (desiredDirection.GetValueOrDefault() == vector.GetValueOrDefault()) + { + goto case 6; + } + goto case 5; + case 6: + num = -1630909429; + break; + case 5: + num = -1630909426; + break; + case 3: + num = (desiredDirection.HasValue ? (-1630909432) : (-1630909428)); + break; + case 4: + _desiredDirection = value; + num = ((!value.HasValue) ? (-1630909427) : (-1630909430)); + break; + case 0: + _desiredPosition = null; + num = -1630909427; + break; + case 7: + ResetStallTracking(); + return; + case 1: + return; + } + } + } + } + + public System.Numerics.Vector3? DesiredPosition + { + get + { + return _desiredPosition; + } + set + { + System.Numerics.Vector3? desiredPosition = _desiredPosition; + System.Numerics.Vector3? vector = value; + int num = ((desiredPosition.HasValue == vector.HasValue) ? 1571063872 : 1571063873); + while (true) + { + int num2 = num; + int num3 = 1571063878; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 3: + num = 1571063873; + continue; + case 5: + _desiredPosition = value; + num = ((!value.HasValue) ? 1571063878 : 1571063879); + continue; + case 6: + num = (desiredPosition.HasValue ? 1571063874 : 1571063876); + continue; + case 8: + return; + case 0: + ResetStallTracking(); + return; + case 1: + _desiredDirection = null; + num = 1571063878; + continue; + case 4: + if (!(desiredPosition.GetValueOrDefault() == vector.GetValueOrDefault())) + { + break; + } + goto case 2; + case 2: + num = 1571063886; + continue; + case 7: + break; + } + num = 1571063875; + } + } + } + + public System.Numerics.Vector3? DesiredFlyPosition + { + get + { + return _desiredFlyPosition; + } + set + { + System.Numerics.Vector3? desiredFlyPosition = _desiredFlyPosition; + System.Numerics.Vector3? vector = value; + int num = ((desiredFlyPosition.HasValue == vector.HasValue) ? 175204761 : 175204766); + while (true) + { + int num2 = num; + int num3 = 175204762; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return; + case 6: + if (desiredFlyPosition.GetValueOrDefault() == vector.GetValueOrDefault()) + { + goto case 1; + } + goto case 4; + case 1: + num = 175204762; + break; + case 4: + num = 175204760; + break; + case 5: + num = 175204766; + break; + case 3: + num = (desiredFlyPosition.HasValue ? 175204764 : 175204763); + break; + case 2: + _desiredFlyPosition = value; + ResetFlyStallTracking(); + return; + } + } + } + } + + public MovementOverrideHook(ILogger logger, IObjectTable objectTable, IGameConfig gameConfig, ISigScanner sigScanner, IGameInteropProvider interop, bool enabled = true) + { + _logger = logger; + _objectTable = objectTable; + _gameConfig = gameConfig; + _202B_206B_206B_202B_202A_206A_200E_200F_206C_206E_206F_200C_200F_202C_206B_206B_202B_206A_202C_206A_206E_206E_206B_206E_206D_200D_200D_206C_206B_202E_206F_206A_200C_202A_200E_206E_200E_202B_206A_202C_202E(_gameConfig, (EventHandler)OnGameConfigChanged); + UpdateLegacyMode(); + TryInstallHook(sigScanner, interop, enabled); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void TryInstallHook(ISigScanner sigScanner, IGameInteropProvider interop, bool enabled) + { + int num = (enabled ? (-1900473583) : (-1900473584)); + while (true) + { + int num2 = num; + int num3 = -1900473583; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004a; + case 1: + _200C_200F_202B_200E_202B_200C_206E_200D_202A_202D_206A_202D_200D_200F_206C_200E_202C_202C_206D_206D_206D_200E_202E_200C_200C_206B_200D_200C_206D_206E_200D_202B_206D_206D_202A_202B_202A_206E_200C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-1885951886), Array.Empty()); + IsAvailable = false; + return; + case 0: + try + { + nint num5 = _202E_206A_202B_200D_202E_206C_200D_206D_200C_200B_202C_206B_202B_200D_206C_206A_206E_202A_202D_200E_200B_200F_200E_206C_200E_200C_200D_206E_202E_202D_202B_200F_206E_200D_202E_202B_202E_206B_202C_200F_202E(sigScanner, global::_003CModule_003E._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(4336795)); + _isInputEnabled1 = Marshal.GetDelegateForFunctionPointer(num5); + nint num6 = _202E_206A_202B_200D_202E_206C_200D_206D_200C_200B_202C_206B_202B_200D_206C_206A_206E_202A_202D_200E_200B_200F_200E_206C_200E_200C_200D_206E_202E_202D_202B_200F_206E_200D_202E_202B_202E_206B_202C_200F_202E(sigScanner, global::_003CModule_003E._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(-343401937)); + _isInputEnabled2 = Marshal.GetDelegateForFunctionPointer(num6); + _rmiWalkHook = interop.HookFromSignature(global::_003CModule_003E._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(211326417), RMIWalkDetour); + _rmiWalkHook.Enable(); + _rmiFlyHook = interop.HookFromSignature(global::_003CModule_003E._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(509698149), RMIFlyDetour); + _rmiFlyHook.Enable(); + IsAvailable = true; + _200C_200F_202B_200E_202B_200C_206E_200D_202A_202D_206A_202D_200D_200F_206C_200E_202C_202C_206D_206D_206D_200E_202E_200C_200C_206B_200D_200C_206D_206E_200D_202B_206D_206D_202A_202B_202A_206E_200C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(113861434), new object[4] { _rmiWalkHook.Address, _rmiFlyHook.Address, num5, num6 }); + } + catch (Exception ex) + { + num = ((!IsTrampolineExhaustion(ex)) ? (-1568159259) : (-1568159263)); + while (true) + { + int num7 = num; + num3 = -1568159264; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 2: + num = -1568159263; + continue; + case 0: + { + _rmiWalkHook = null; + Hook? rmiFlyHook = _rmiFlyHook; + if (rmiFlyHook == null) + { + break; + } + rmiFlyHook.Dispose(); + num = -1568159261; + continue; + } + case 4: + { + IsAvailable = false; + _isInputEnabled1 = null; + _isInputEnabled2 = null; + Hook? rmiWalkHook = _rmiWalkHook; + if (rmiWalkHook == null) + { + goto case 0; + } + rmiWalkHook.Dispose(); + num = -1568159264; + continue; + } + case 1: + _206C_206C_202A_200B_206C_200C_200E_202B_200C_202B_202D_200B_200D_200D_202A_200B_206D_202E_200B_206B_206D_200D_202D_200B_206C_202C_206A_202C_206E_202D_200B_206C_206F_206F_202B_200E_206F_202A_200C_206A_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-763323413), Array.Empty()); + num = -1568159260; + continue; + case 5: + _206C_206C_202A_200B_206C_200C_200E_202B_200C_202B_202D_200B_200D_200D_202A_200B_206D_202E_200B_206B_206D_200D_202D_200B_206C_202C_206A_202C_206E_202D_200B_206C_206F_206F_202B_200E_206F_202A_200C_206A_202E((ILogger)_logger, ex, global::_003CModule_003E._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(1136207760), Array.Empty()); + num = -1568159260; + continue; + case 3: + break; + } + break; + } + _rmiFlyHook = null; + return; + } + try + { + nint num8 = (nint)(_forcedMovementDirection = (float*)_206F_202A_206B_202A_200C_202D_206F_202E_206C_206D_202A_206B_200C_200E_202D_200D_202C_200C_206A_206D_206A_206A_200C_202C_202B_200E_206E_202B_200B_206A_200D_200D_206C_206A_206C_200B_200C_206E_202D_206B_202E(sigScanner, global::_003CModule_003E._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(-334079399), 0)); + _mcIsInputActiveHook = interop.HookFromSignature(global::_003CModule_003E._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(-1492373940), MCIsInputActiveDetour); + _mcIsInputActiveHook.Enable(); + _200C_200F_202B_200E_202B_200C_206E_200D_202A_202D_206A_202D_200D_200F_206C_200E_202C_202C_206D_206D_206D_200E_202E_200C_200C_206B_200D_200C_206D_206E_200D_202B_206D_206D_202A_202B_202A_206E_200C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-1868632107), new object[2] { _mcIsInputActiveHook.Address, num8 }); + return; + } + catch (Exception ex2) + { + _206C_206C_202A_200B_206C_200C_200E_202B_200C_202B_202D_200B_200D_200D_202A_200B_206D_202E_200B_206B_206D_200D_202D_200B_206C_202C_206A_202C_206E_202D_200B_206C_206F_206F_202B_200E_206F_202A_200C_206A_202E((ILogger)_logger, ex2, global::_003CModule_003E._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(164606071), Array.Empty()); + _forcedMovementDirection = null; + _mcIsInputActiveHook?.Dispose(); + _mcIsInputActiveHook = null; + return; + } + } + continue; + IL_004a: + num = -1900473584; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static bool IsTrampolineExhaustion(Exception ex) + { + int num = (_206C_202D_206F_202C_206C_200D_200E_202B_206B_206C_200E_206F_206F_206B_206B_200B_202C_206F_202E_200C_206A_200C_200E_202D_200D_206B_206C_206E_200D_206C_206B_206B_200C_200F_200D_202C_206B_200E_206C_200D_202E(_200B_200E_202A_200F_206F_200D_206F_206C_202C_206E_206E_206C_202C_202C_200B_202B_206F_200B_202D_206C_200D_206F_206A_206A_202B_202A_200F_206E_200D_200D_202B_202A_202E_202E_206B_200D_200E_202D_206E_202B_202E(ex), global::_003CModule_003E._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(493339631), StringComparison.Ordinal) ? (-550622530) : (-550622529)); + while (true) + { + int num2 = num; + int num3 = -550622530; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0058; + case 0: + return true; + case 1: + return _206C_202D_206F_202C_206C_200D_200E_202B_206B_206C_200E_206F_206F_206B_206B_200B_202C_206F_202E_200C_206A_200C_200E_202D_200D_206B_206C_206E_200D_206C_206B_206B_200C_200F_200D_202C_206B_200E_206C_200D_202E(_200B_200E_202A_200F_206F_200D_206F_206C_202C_206E_206E_206C_202C_202C_200B_202B_206F_200B_202D_206C_200D_206F_206A_206A_202B_202A_200F_206E_200D_200D_202B_202A_202E_202E_206B_200D_200E_202D_206E_202B_202E(ex), global::_003CModule_003E._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(2133354563), StringComparison.OrdinalIgnoreCase); + } + continue; + IL_0058: + num = -550622529; + } + } + + private unsafe byte MCIsInputActiveDetour(void* self, byte inputSourceFlags) + { + int num = ((!_forcedControlState.HasValue) ? 1868292107 : 1868292104); + while (true) + { + int num2 = num; + int num3 = 1868292106; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004d; + case 1: + return _mcIsInputActiveHook.Original(self, inputSourceFlags); + case 2: + return _forcedControlState.Value ? ((byte)1) : ((byte)0); + } + continue; + IL_004d: + num = 1868292104; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void RMIFlyDetour(void* self, PlayerMoveControllerFlyInput* result) + { + _rmiFlyHook.Original(self, result); + int num = ((result->Forward != 0f) ? (-511834047) : (-511834036)); + float num6 = default(float); + float num12 = default(float); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + bool flag = default(bool); + float num5 = default(float); + float? num10 = default(float?); + long num8 = default(long); + System.Numerics.Vector3 vector2 = default(System.Numerics.Vector3); + System.Numerics.Vector3 valueOrDefault = default(System.Numerics.Vector3); + System.Numerics.Vector3? desiredFlyPosition = default(System.Numerics.Vector3?); + while (true) + { + int num2 = num; + int num3 = -511834024; + int num4 = num2; + int num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 15: + { + Func? isExternalPathfindingActive = IsExternalPathfindingActive; + num = ((isExternalPathfindingActive == null || !isExternalPathfindingActive()) ? (-511834032) : (-511834039)); + break; + } + case 26: + return; + case 29: + _desiredFlyPosition = null; + ResetFlyStallTracking(); + return; + case 16: + return; + case 0: + num6 = _202B_200B_200F_200C_202D_206C_206D_202B_202A_200B_200F_206B_200C_206D_200B_202D_206E_202C_206F_206C_202D_200D_200F_202A_202A_200D_200B_206B_206A_206C_202C_206C_200E_206C_206D_200B_206C_202D_202A_206D_202E(num12); + num = ((_flyStallImprovementMs == 0L) ? (-511834041) : (-511834034)); + break; + case 8: + playerCharacter = _200B_206D_206B_202B_206D_200D_200B_200C_206D_200C_206B_206F_202B_206A_200D_202C_202A_200D_202C_200C_200E_206F_200E_202C_202B_206A_202E_200C_202E_202C_206D_202A_206E_202A_202D_202A_202A_200F_200D_200D_202E(_objectTable); + num = ((playerCharacter != null) ? (-511834018) : (-511834038)); + break; + case 14: + num = ((!flag) ? (-511834025) : (-511834040)); + break; + case 5: + num5 = num10.Value + MathF.PI; + num = -511834033; + break; + case 27: + { + long num7 = num8; + long flyStallImprovementMs = _flyStallImprovementMs; + long num9 = num7; + num = ((~(~num9 + flyStallImprovementMs) < 500) ? (-511834020) : (-511834035)); + break; + } + case 17: + return; + case 19: + num = -511834036; + break; + case 18: + return; + case 1: + { + System.Numerics.Vector3 vector = _202E_202C_206C_206F_200D_200F_206A_206F_202A_200B_206F_200D_206E_202B_200C_202A_202B_202B_200B_200E_200D_202E_206C_206B_202D_200C_200B_200B_206C_200D_200B_206F_200B_206B_202B_206A_206C_200C_202B_200E_202E((IGameObject)playerCharacter); + vector2 = valueOrDefault - vector; + num12 = vector2.X * vector2.X + vector2.Y * vector2.Y + vector2.Z * vector2.Z; + num = ((!(num12 < Precision * Precision)) ? (-511834022) : (-511834043)); + break; + } + case 12: + valueOrDefault = desiredFlyPosition.GetValueOrDefault(); + num = -511834023; + break; + case 20: + num = ((result->Left != 0f) ? (-511834047) : (-511834048)); + break; + case 23: + num8 = _202C_200F_206E_202D_202A_202D_202E_206A_202D_202B_206E_200F_200D_200E_202A_202A_200E_206D_206D_202B_200C_206E_200E_202B_202A_200E_202B_200E_202E_206C_202C_206F_202D_202C_200B_202C_206B_202B_200D_206F_202E(); + num = ((num8 >= _flyStallCooldownUntilMs) ? (-511834024) : (-511834046)); + break; + case 13: + _lastUserInputAtMs = _202C_200F_206E_202D_202A_202D_202E_206A_202D_202B_206E_200F_200D_200E_202A_202A_200E_206D_206D_202B_200C_206E_200E_202B_202A_200E_202B_200E_202E_206C_202C_206F_202D_202C_200B_202C_206B_202B_200D_206F_202E(); + num = -511834044; + break; + case 9: + return; + case 22: + { + long num19 = num8; + long flyStallImprovementMs = _flyLastDriveMs; + long num9 = num19; + num = ((~(~num9 + flyStallImprovementMs) > 250) ? (-511834041) : (-511834030)); + break; + } + case 4: + { + _flyLastDriveMs = num8; + float num17 = _200E_206F_200F_200B_206F_200B_200B_200B_200B_206C_206E_206A_202D_206C_202D_200C_202B_202B_200B_200F_206A_202B_200D_206B_206A_202E_206E_202A_202A_202C_206A_202C_206D_206A_202A_202A_206F_202D_206E_206F_202E(vector2.X, vector2.Z) - num5; + result->Forward = _206B_202D_206C_200D_206A_206A_202E_206B_200D_206C_202E_206A_202A_206C_200B_206C_202C_200B_206D_200B_206C_202B_202D_200C_200F_200D_202D_202C_206C_202C_206E_202A_200D_206B_206F_200F_202B_200D_202A_206D_202E(num17); + result->Left = _206D_202C_200F_202D_200D_200C_206D_202D_206E_206F_206D_206F_200E_200D_200D_200B_200C_202C_202D_200C_202D_200E_200E_200B_206F_200E_202C_202E_206D_200E_200C_200D_206A_202C_200D_206B_206E_200D_200F_206F_202E(num17); + float num18 = _202B_200B_200F_200C_202D_206C_206D_202B_202A_200B_200F_206B_200C_206D_200B_202D_206E_202C_206F_206C_202D_200D_200F_202A_202A_200D_200B_206B_206A_206C_202C_206C_200E_206C_206D_200B_206C_202D_202A_206D_202E(vector2.X * vector2.X + vector2.Z * vector2.Z); + result->Up = _200E_206F_200F_200B_206F_200B_200B_200B_200B_206C_206E_206A_202D_206C_202D_200C_202B_202B_200B_200F_206A_202B_200D_206B_206A_202E_206E_202A_202A_202C_206A_202C_206D_206A_202A_202A_206F_202D_206E_206F_202E(vector2.Y, num18); + return; + } + case 21: + { + ILogger logger = _logger; + string text = global::_003CModule_003E._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(-934855556); + object[] obj = new object[2] { num6, null }; + long num13 = num8; + long flyStallImprovementMs = _flyStallImprovementMs; + long num9 = num13; + obj[1] = ~(~num9 + flyStallImprovementMs); + _206E_200C_206E_206B_202C_202D_200E_200F_206D_202E_202A_202A_206B_202A_200E_200D_200E_202E_202D_200C_206A_200E_206A_200D_200E_202A_200F_200F_206A_206A_206E_206B_206C_202B_202B_206D_206E_200F_206B_206C_202E((ILogger)logger, text, obj); + _desiredFlyPosition = null; + ResetFlyStallTracking(); + long num14 = num8; + flyStallImprovementMs = 500L; + num9 = num14; + long num15 = num9 ^ flyStallImprovementMs; + long num16 = num9 & flyStallImprovementMs; + _flyStallCooldownUntilMs = num15 + (num16 + num16); + return; + } + case 2: + num = ((!_legacyMode) ? (-511834017) : (-511834042)); + break; + case 3: + return; + case 24: + num11 = ((result->Up != 0f) ? 1 : 0); + goto IL_0447; + case 25: + num11 = 1; + goto IL_0447; + case 6: + desiredFlyPosition = _desiredFlyPosition; + num = ((!desiredFlyPosition.HasValue) ? (-511834029) : (-511834028)); + break; + case 28: + num = (IsAvailable ? (-511834026) : (-511834021)); + break; + case 31: + _flyStallBestDist = num6; + _flyStallImprovementMs = num8; + num = -511834020; + break; + case 30: + num10 = TryGetCameraAzimuth(); + num = (num10.HasValue ? (-511834019) : (-511834031)); + break; + case 11: + return; + case 10: + num = ((!(num6 < _flyStallBestDist - 0.3f)) ? (-511834045) : (-511834041)); + break; + case 7: + { + num5 = _206F_206B_206B_202D_200E_202B_206C_202A_202D_206A_202D_206D_206B_200B_206E_206D_200B_202B_206D_206F_200F_200E_200C_202E_206E_200B_206B_200C_206D_206E_200C_202D_206C_200D_202B_200F_200B_200F_200E_206C_202E((IGameObject)playerCharacter); + num = -511834033; + break; + } + IL_0447: + flag = (byte)num11 != 0; + num = ((!flag) ? (-511834044) : (-511834027)); + break; + } + } + } + + private static bool PlayerHasMisdirection(IPlayerCharacter player) + { + StatusList statusList = _202E_206C_206D_202E_206C_206C_200D_206B_206A_206F_200B_202D_206C_200F_200C_200B_206C_206A_206A_202C_206B_202C_206A_206F_200B_200E_202E_206B_202D_202D_206F_202E_200B_206C_206A_206D_206F_202B_206B_200E_202E((IBattleChara)player); + int num = 0; + int num2 = -1842578236; + uint num8 = default(uint); + IStatus status = default(IStatus); + int num9 = default(int); + while (true) + { + int num3 = num2; + int num4 = -1842578235; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 9: + num2 = -1842578236; + break; + case 2: + { + int num13 = num; + num4 = 1; + num5 = num13; + int num14 = num5 ^ num4; + int num15 = num5 & num4; + num = num14 + (num15 + num15); + num2 = -1842578236; + break; + } + case 0: + num8 = _200F_200B_206A_200E_206A_200E_206F_206B_206B_202B_202A_206E_206C_202B_200F_200E_202B_202A_202E_200F_206D_206E_200F_200F_202B_202D_202A_206A_200B_206F_200B_200D_206D_200C_200F_206A_200E_200F_200F_202D_202E(status); + num9 = 0; + num2 = -1842578237; + break; + case 3: + num2 = ((num8 != MisdirectionStatusIds[num9]) ? (-1842578240) : (-1842578238)); + break; + case 5: + { + int num10 = num9; + num4 = 1; + num5 = num10; + int num11 = num5 ^ num4; + int num12 = num5 & num4; + num9 = num11 + (num12 + num12); + num2 = -1842578237; + break; + } + case 6: + num2 = ((num9 < MisdirectionStatusIds.Length) ? (-1842578234) : (-1842578233)); + break; + case 1: + num2 = ((num < _200F_202E_200C_200D_200F_202C_206F_206B_200D_200D_200D_202A_206C_202D_202A_200C_200D_206C_200D_202D_202C_206F_206C_200C_206B_200E_206B_202B_200B_200B_206C_202D_202B_202B_206D_206F_206F_206C_206A_202B_202E(statusList)) ? (-1842578227) : (-1842578239)); + break; + case 7: + return true; + case 4: + return false; + case 8: + status = _200C_202B_200D_206B_202C_202E_200B_200F_200F_202B_200C_200B_206A_202D_200E_202E_200F_206A_202E_200F_206C_202D_206A_206B_206B_206A_202C_200B_202C_202B_206E_202D_202E_200E_200D_200B_200C_200C_200B_202D_202E(statusList, num); + num2 = ((status == null) ? (-1842578233) : (-1842578235)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void RMIWalkDetour(void* self, float* sumLeft, float* sumForward, float* sumTurnLeft, byte* haveBackwardOrStrafe, byte* a6, byte bAdditiveUnk) + { + int num = ((bAdditiveUnk != 0) ? (-1181401386) : (-1181401372)); + float num11 = default(float); + System.Numerics.Vector3 vector = default(System.Numerics.Vector3); + long num14 = default(long); + float? num12 = default(float?); + float referenceRotation = default(float); + float num9 = default(float); + System.Numerics.Vector3? vector2 = default(System.Numerics.Vector3?); + float item = default(float); + float item2 = default(float); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = -1181401394; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num21; + switch (num5 - (num6 + num6)) + { + case 8: + num = ((num11 < -MathF.PI) ? (-1181401363) : (-1181401398)); + break; + case 35: + num11 += MathF.PI * 2f; + num = -1181401402; + break; + case 48: + IsActive = false; + return; + case 33: + _stallCheckPosition = vector; + _stallCheckStartMs = num14; + num = -1181401375; + break; + case 15: + _stallCheckPosition = vector; + _stallCheckStartMs = num14; + num = -1181401375; + break; + case 46: + num = ((!_legacyMode) ? (-1181401370) : (-1181401394)); + break; + case 21: + num = -1181401402; + break; + case 10: + num21 = 1; + goto IL_01b5; + case 34: + num = ((!_isInputEnabled1(self)) ? (-1181401403) : (-1181401378)); + break; + case 0: + num12 = TryGetCameraAzimuth(); + num = (num12.HasValue ? (-1181401380) : (-1181401397)); + break; + case 18: + referenceRotation = num12.Value + MathF.PI; + num = -1181401395; + break; + case 36: + { + float num7 = vector.X - _stallCheckPosition.X; + float num8 = vector.Z - _stallCheckPosition.Z; + num9 = num7 * num7 + num8 * num8; + num = ((!(num9 < 0.09f)) ? (-1181401407) : (-1181401408)); + break; + } + case 50: + IsActive = false; + return; + case 4: + { + bool flag2 = _206E_206E_200B_200C_202D_206C_200D_200E_200D_200B_206C_206E_200F_206E_206A_202C_200C_202D_206A_200D_202C_206E_206D_200F_202A_206A_200B_200C_200D_202A_202D_202B_206A_202D_206D_202C_206F_200F_206D_202A_202E(num11) <= MathF.PI / 4f; + _forcedControlState = flag2; + num = (flag2 ? (-1181401396) : (-1181401374)); + break; + } + case 32: + num21 = ((*sumForward != 0f) ? 1 : 0); + goto IL_01b5; + case 42: + _forcedControlState = null; + num = -1181401386; + break; + case 6: + num14 = _202C_200F_206E_202D_202A_202D_202E_206A_202D_202B_206E_200F_200D_200E_202A_202A_200E_206D_206D_202B_200C_206E_200E_202B_202A_200E_202B_200E_202E_206C_202C_206F_202D_202C_200B_202C_206B_202B_200D_206F_202E(); + num = ((num14 >= _stallCooldownUntilMs) ? (-1181401376) : (-1181401365)); + break; + case 25: + { + long num20 = num14; + long stallCheckStartMs = _lastDriveMs; + long num15 = num20; + num = ((~(~num15 + stallCheckStartMs) <= 250) ? (-1181401345) : (-1181401361)); + break; + } + case 29: + return; + case 38: + num = ((*sumLeft != 0f) ? (-1181401404) : (-1181401362)); + break; + case 28: + IsActive = false; + return; + case 11: + IsActive = false; + return; + case 23: + _lastUserInputAtMs = _202C_200F_206E_202D_202A_202D_202E_206A_202D_202B_206E_200F_200D_200E_202A_202A_200E_206D_206D_202B_200C_206E_200E_202B_202A_200E_202B_200E_202E_206C_202C_206F_202D_202C_200B_202C_206B_202B_200D_206F_202E(); + num = -1181401377; + break; + case 3: + { + (float left, float forward) tuple = WorldToPlayerRelative(vector2.Value, referenceRotation); + item = tuple.left; + item2 = tuple.forward; + num = ((!PlayerHasMisdirection(playerCharacter)) ? (-1181401396) : (-1181401401)); + break; + } + case 30: + IsActive = false; + return; + case 43: + num = -1181401372; + break; + case 20: + IsActive = false; + return; + case 7: + { + Func? isExternalPathfindingActive = IsExternalPathfindingActive; + num = ((isExternalPathfindingActive == null || !isExternalPathfindingActive()) ? (-1181401393) : (-1181401392)); + break; + } + case 1: + num = ((_isInputEnabled1 == null) ? (-1181401390) : (-1181401405)); + break; + case 17: + num = (IsAvailable ? (-1181401369) : (-1181401382)); + break; + case 40: + referenceRotation = _206F_206B_206B_202D_200E_202B_206C_202A_202D_206A_202D_206D_206B_200B_206E_206D_200B_202B_206D_206F_200F_200E_200C_202E_206E_200B_206B_200C_206D_206E_200C_202D_206C_200D_202B_200F_200B_200F_200E_206C_202E((IGameObject)playerCharacter); + num = -1181401395; + break; + case 22: + vector = _202E_202C_206C_206F_200D_200F_206A_206F_202A_200B_206F_200D_206E_202B_200C_202A_202B_202B_200B_200E_200D_202E_206C_206B_202D_200C_200B_200B_206C_200D_200B_206F_200B_206B_202B_206A_206C_200C_202B_200E_202E((IGameObject)playerCharacter); + vector2 = ComputeDesiredWorldDirection(vector); + num = (vector2.HasValue ? (-1181401400) : (-1181401406)); + break; + case 2: + num = ((_stallCheckStartMs == 0L) ? (-1181401361) : (-1181401385)); + break; + case 27: + num11 -= MathF.PI * 2f; + num = -1181401373; + break; + case 26: + playerCharacter = _200B_206D_206B_202B_206D_200D_200B_200C_206D_200C_206B_206F_202B_206A_200D_202C_202A_200D_202C_200C_200E_206F_200E_202C_202B_206A_202E_200C_202E_202C_206D_202A_206E_202A_202D_202A_202A_200F_200D_200D_202E(_objectTable); + num = ((playerCharacter != null) ? (-1181401384) : (-1181401348)); + break; + case 44: + *sumLeft = 0f; + *sumForward = 0f; + IsActive = false; + return; + case 24: + _rmiWalkHook.Original(self, sumLeft, sumForward, sumTurnLeft, haveBackwardOrStrafe, a6, bAdditiveUnk); + num = ((bAdditiveUnk == 0) ? (-1181401368) : (-1181401389)); + break; + case 47: + _lastDriveMs = num14; + *sumLeft = item; + *sumForward = item2; + IsActive = true; + return; + case 49: + { + long num19 = num14; + long stallCheckStartMs = _stallCheckStartMs; + long num15 = num19; + num = ((~(~num15 + stallCheckStartMs) < 500) ? (-1181401375) : (-1181401366)); + break; + } + case 45: + num = ((num11 > MathF.PI) ? (-1181401387) : (-1181401381)); + break; + case 16: + num = (_isInputEnabled2(self) ? (-1181401388) : (-1181401403)); + break; + case 14: + { + ILogger logger = _logger; + string text = global::_003CModule_003E._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(1233622867); + object[] obj = new object[2] + { + _202B_200B_200F_200C_202D_206C_206D_202B_202A_200B_200F_206B_200C_206D_200B_202D_206E_202C_206F_206C_202D_200D_200F_202A_202A_200D_200B_206B_206A_206C_202C_206C_200E_206C_206D_200B_206C_202D_202A_206D_202E(num9), + null + }; + long num13 = num14; + long stallCheckStartMs = _stallCheckStartMs; + long num15 = num13; + obj[1] = ~(~num15 + stallCheckStartMs); + _206E_200C_206E_206B_202C_202D_200E_200F_206D_202E_202A_202A_206B_202A_200E_200D_200E_202E_202D_200C_206A_200E_206A_200D_200E_202A_200F_200F_206A_206A_206E_206B_206C_202B_202B_206D_206E_200F_206B_206C_202E((ILogger)logger, text, obj); + _desiredDirection = null; + _desiredPosition = null; + ResetStallTracking(); + long num16 = num14; + stallCheckStartMs = 500L; + num15 = num16; + long num17 = num15 ^ stallCheckStartMs; + long num18 = num15 & stallCheckStartMs; + _stallCooldownUntilMs = num17 + (num18 + num18); + _forcedControlState = null; + IsActive = false; + return; + } + case 31: + IsActive = false; + return; + case 13: + num = ((_isInputEnabled2 != null) ? (-1181401364) : (-1181401390)); + break; + case 41: + num = ((!flag) ? (-1181401399) : (-1181401391)); + break; + case 39: + { + float num10 = _200E_206F_200F_200B_206F_200B_200B_200B_200B_206C_206E_206A_202D_206C_202D_200C_202B_202B_200B_200F_206A_202B_200D_206B_206A_202E_206E_202A_202A_202C_206A_202C_206D_206A_202A_202A_206F_202D_206E_206F_202E(vector2.Value.X, vector2.Value.Z); + float forcedMovementDirection = *_forcedMovementDirection; + num11 = num10 - forcedMovementDirection; + num = -1181401373; + break; + } + case 12: + IsActive = false; + return; + case 5: + IsActive = false; + return; + case 37: + IsActive = false; + return; + case 19: + num = ((_mcIsInputActiveHook != null) ? (-1181401367) : (-1181401346)); + break; + case 9: + { + num = ((_forcedMovementDirection == null) ? (-1181401346) : (-1181401379)); + break; + } + IL_01b5: + flag = (byte)num21 != 0; + num = ((!flag) ? (-1181401377) : (-1181401383)); + break; + } + } + } + + private void OnGameConfigChanged(object? sender, ConfigChangeEvent evt) + { + UpdateLegacyMode(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void UpdateLegacyMode() + { + uint num2 = default(uint); + int num = ((!_202B_206F_202D_206E_202A_206C_206A_200B_202D_200B_206D_206C_206E_206C_202E_206A_202D_200F_202A_200B_206A_200B_202E_202D_206F_202C_206F_202E_206F_206D_206A_206A_206B_202E_202E_202E_202A_206D_202B_206A_202E(_206D_200E_206E_202E_206B_200D_206A_206E_206E_200C_202B_202A_200F_206B_202A_202E_202C_202A_206E_202E_200C_206C_202D_206F_202C_200C_200F_206B_206B_200C_200B_202D_202D_200B_202D_206C_202A_200D_200B_202E_202E(_gameConfig), global::_003CModule_003E._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(-1244554421), ref num2)) ? (-1166724982) : (-1166724977)); + bool flag = default(bool); + while (true) + { + int num3 = num; + int num4 = -1166724978; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + int num8; + switch (num6 - (num7 + num7)) + { + case 4: + num8 = 0; + goto IL_006a; + case 1: + num8 = ((num2 == 1) ? 1 : 0); + goto IL_006a; + case 0: + return; + case 2: + num = -1166724977; + break; + case 3: + { + _legacyMode = flag; + _200C_200F_202B_200E_202B_200C_206E_200D_202A_202D_206A_202D_200D_200F_206C_200E_202C_202C_206D_206D_206D_200E_202E_200C_200C_206B_200D_200C_206D_206E_200D_202B_206D_206D_202A_202B_202A_206E_200C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-1714575420), new object[1] { flag ? global::_003CModule_003E._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(527119189) : global::_003CModule_003E._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(-585283226) }); + num = -1166724978; + break; + } + IL_006a: + flag = (byte)num8 != 0; + num = ((flag == _legacyMode) ? (-1166724978) : (-1166724979)); + break; + } + } + } + + private unsafe static float? TryGetCameraAzimuth() + { + CameraManager* ptr = CameraManager.Instance(); + int num = ((ptr != null) ? 129017006 : 129017005); + FFXIVClientStructs.FFXIV.Client.Game.Camera* activeCamera = default(FFXIVClientStructs.FFXIV.Client.Game.Camera*); + FFXIVClientStructs.FFXIV.Client.Graphics.Render.Camera* renderCamera = default(FFXIVClientStructs.FFXIV.Client.Graphics.Render.Camera*); + while (true) + { + int num2 = num; + int num3 = 129017004; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + return null; + case 2: + activeCamera = ptr->GetActiveCamera(); + num = ((activeCamera != null) ? 129017007 : 129017002); + break; + case 1: + return null; + case 5: + return null; + case 4: + { + FFXIVClientStructs.FFXIV.Common.Math.Matrix4x4 viewMatrix = renderCamera->ViewMatrix; + return _200E_206F_200F_200B_206F_200B_200B_200B_200B_206C_206E_206A_202D_206C_202D_200C_202B_202B_200B_200F_206A_202B_200D_206B_206A_202E_206E_202A_202A_202C_206A_202C_206D_206A_202A_202A_206F_202D_206E_206F_202E(viewMatrix.M13, viewMatrix.M33); + } + case 0: + num = 129017005; + break; + case 3: + renderCamera = activeCamera->SceneCamera.RenderCamera; + num = ((renderCamera != null) ? 129017000 : 129017001); + break; + } + } + } + + 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? vector = _desiredDirection; + int num = ((!vector.HasValue) ? (-84514510) : (-84514509)); + System.Numerics.Vector3 valueOrDefault = default(System.Numerics.Vector3); + float num9 = default(float); + float num7 = default(float); + float num8 = default(float); + float num6 = default(float); + while (true) + { + int num2 = num; + int num3 = -84514510; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = -84514509; + break; + case 4: + _desiredPosition = null; + ResetStallTracking(); + return null; + case 1: + valueOrDefault = vector.GetValueOrDefault(); + num9 = valueOrDefault.X * valueOrDefault.X + valueOrDefault.Z * valueOrDefault.Z; + num = ((!(num9 < 1E-08f)) ? (-84514507) : (-84514511)); + break; + case 6: + return null; + case 2: + { + System.Numerics.Vector3 valueOrDefault2 = vector.GetValueOrDefault(); + num7 = valueOrDefault2.X - playerPosition.X; + num8 = valueOrDefault2.Z - playerPosition.Z; + num6 = num7 * num7 + num8 * num8; + num = ((!(num6 < Precision * Precision)) ? (-84514502) : (-84514506)); + break; + } + case 7: + { + float num10 = _202B_200B_200F_200C_202D_206C_206D_202B_202A_200B_200F_206B_200C_206D_200B_202D_206E_202C_206F_206C_202D_200D_200F_202A_202A_200D_200B_206B_206A_206C_202C_206C_200E_206C_206D_200B_206C_202D_202A_206D_202E(num9); + return new System.Numerics.Vector3(valueOrDefault.X / num10, 0f, valueOrDefault.Z / num10); + } + case 3: + return null; + case 0: + vector = _desiredPosition; + num = ((!vector.HasValue) ? (-84514508) : (-84514512)); + break; + case 8: + { + float num5 = _202B_200B_200F_200C_202D_206C_206D_202B_202A_200B_200F_206B_200C_206D_200B_202D_206E_202C_206F_206C_202D_200D_200F_202A_202A_200D_200B_206B_206A_206C_202C_206C_200E_206C_206D_200B_206C_202D_202A_206D_202E(num6); + return new System.Numerics.Vector3(num7 / num5, 0f, num8 / num5); + } + } + } + } + + private static (float left, float forward) WorldToPlayerRelative(System.Numerics.Vector3 worldDir, float referenceRotation) + { + float num = _206D_202C_200F_202D_200D_200C_206D_202D_206E_206F_206D_206F_200E_200D_200D_200B_200C_202C_202D_200C_202D_200E_200E_200B_206F_200E_202C_202E_206D_200E_200C_200D_206A_202C_200D_206B_206E_200D_200F_206F_202E(referenceRotation); + float num2 = _206B_202D_206C_200D_206A_206A_202E_206B_200D_206C_202E_206A_202A_206C_200B_206C_202C_200B_206D_200B_206C_202B_202D_200C_200F_200D_202D_202C_206C_202C_206E_202A_200D_206B_206F_200F_202B_200D_202A_206D_202E(referenceRotation); + float item = worldDir.X * num + worldDir.Z * num2; + return (left: worldDir.X * num2 - worldDir.Z * num, forward: item); + } + + public void Dispose() + { + _202C_200C_202E_206D_206F_202C_206C_202D_206E_206C_200B_206D_206F_202E_202B_202D_206A_206E_200D_200E_202A_200F_202B_202C_202E_202A_202B_206D_200E_206F_206D_200F_200C_202B_206C_200C_206C_206A_206B_200E_202E(_gameConfig, (EventHandler)OnGameConfigChanged); + Hook? mcIsInputActiveHook = _mcIsInputActiveHook; + if (mcIsInputActiveHook == null) + { + goto IL_00e8; + } + mcIsInputActiveHook.Disable(); + int num = -1239037411; + goto IL_0039; + IL_0112: + _rmiFlyHook = null; + Hook? rmiWalkHook = _rmiWalkHook; + if (rmiWalkHook == null) + { + goto IL_00c6; + } + rmiWalkHook.Disable(); + num = -1239037416; + goto IL_0039; + IL_00e8: + Hook? mcIsInputActiveHook2 = _mcIsInputActiveHook; + if (mcIsInputActiveHook2 == null) + { + goto IL_007b; + } + mcIsInputActiveHook2.Dispose(); + num = -1239037412; + goto IL_0039; + IL_0039: + while (true) + { + int num2 = num; + int num3 = -1239037410; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1239037411; + break; + case 2: + goto end_IL_0039; + case 5: + goto IL_00a4; + case 6: + goto IL_00c6; + case 3: + goto IL_00e8; + case 1: + goto IL_010a; + case 4: + goto IL_0112; + } + continue; + end_IL_0039: + break; + } + goto IL_007b; + IL_007b: + _mcIsInputActiveHook = null; + Hook? rmiFlyHook = _rmiFlyHook; + if (rmiFlyHook == null) + { + goto IL_00a4; + } + rmiFlyHook.Disable(); + num = -1239037413; + goto IL_0039; + IL_00c6: + Hook? rmiWalkHook2 = _rmiWalkHook; + if (rmiWalkHook2 == null) + { + goto IL_010a; + } + rmiWalkHook2.Dispose(); + num = -1239037409; + goto IL_0039; + IL_00a4: + Hook? rmiFlyHook2 = _rmiFlyHook; + if (rmiFlyHook2 == null) + { + goto IL_0112; + } + rmiFlyHook2.Dispose(); + num = -1239037414; + goto IL_0039; + IL_010a: + _rmiWalkHook = null; + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static MovementOverrideHook() + { + uint[] array = new uint[4]; + _202D_200F_206F_200F_200C_200E_200C_200D_200B_202A_206C_200E_202C_202C_200B_206A_206F_202D_206D_202E_202D_202B_206E_206F_200D_206F_206F_206B_200D_206E_202C_200C_206A_206D_200D_206E_200F_206B_202E_202D_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + MisdirectionStatusIds = array; + } + + static long _202C_200F_206E_202D_202A_202D_202E_206A_202D_202B_206E_200F_200D_200E_202A_202A_200E_206D_206D_202B_200C_206E_200E_202B_202A_200E_202B_200E_202E_206C_202C_206F_202D_202C_200B_202C_206B_202B_200D_206F_202E() + { + return Environment.TickCount64; + } + + static void _202B_206B_206B_202B_202A_206A_200E_200F_206C_206E_206F_200C_200F_202C_206B_206B_202B_206A_202C_206A_206E_206E_206B_206E_206D_200D_200D_206C_206B_202E_206F_206A_200C_202A_200E_206E_200E_202B_206A_202C_202E(IGameConfig P_0, EventHandler P_1) + { + P_0.UiControlChanged += P_1; + } + + static void _200C_200F_202B_200E_202B_200C_206E_200D_202A_202D_206A_202D_200D_200F_206C_200E_202C_202C_206D_206D_206D_200E_202E_200C_200C_206B_200D_200C_206D_206E_200D_202B_206D_206D_202A_202B_202A_206E_200C_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static nint _202E_206A_202B_200D_202E_206C_200D_206D_200C_200B_202C_206B_202B_200D_206C_206A_206E_202A_202D_200E_200B_200F_200E_206C_200E_200C_200D_206E_202E_202D_202B_200F_206E_200D_202E_202B_202E_206B_202C_200F_202E(ISigScanner P_0, string P_1) + { + return P_0.ScanText(P_1); + } + + static void _206C_206C_202A_200B_206C_200C_200E_202B_200C_202B_202D_200B_200D_200D_202A_200B_206D_202E_200B_206B_206D_200D_202D_200B_206C_202C_206A_202C_206E_202D_200B_206C_206F_206F_202B_200E_206F_202A_200C_206A_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static nint _206F_202A_206B_202A_200C_202D_206F_202E_206C_206D_202A_206B_200C_200E_202D_200D_202C_200C_206A_206D_206A_206A_200C_202C_202B_200E_206E_202B_200B_206A_200D_200D_206C_206A_206C_200B_200C_206E_202D_206B_202E(ISigScanner P_0, string P_1, int P_2) + { + return P_0.GetStaticAddressFromSig(P_1, P_2); + } + + static string _200B_200E_202A_200F_206F_200D_206F_206C_202C_206E_206E_206C_202C_202C_200B_202B_206F_200B_202D_206C_200D_206F_206A_206A_202B_202A_200F_206E_200D_200D_202B_202A_202E_202E_206B_200D_200E_202D_206E_202B_202E(Exception P_0) + { + return P_0.Message; + } + + static bool _206C_202D_206F_202C_206C_200D_200E_202B_206B_206C_200E_206F_206F_206B_206B_200B_202C_206F_202E_200C_206A_200C_200E_202D_200D_206B_206C_206E_200D_206C_206B_206B_200C_200F_200D_202C_206B_200E_206C_200D_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static IPlayerCharacter _200B_206D_206B_202B_206D_200D_200B_200C_206D_200C_206B_206F_202B_206A_200D_202C_202A_200D_202C_200C_200E_206F_200E_202C_202B_206A_202E_200C_202E_202C_206D_202A_206E_202A_202D_202A_202A_200F_200D_200D_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static System.Numerics.Vector3 _202E_202C_206C_206F_200D_200F_206A_206F_202A_200B_206F_200D_206E_202B_200C_202A_202B_202B_200B_200E_200D_202E_206C_206B_202D_200C_200B_200B_206C_200D_200B_206F_200B_206B_202B_206A_206C_200C_202B_200E_202E(IGameObject P_0) + { + return P_0.Position; + } + + static float _206F_206B_206B_202D_200E_202B_206C_202A_202D_206A_202D_206D_206B_200B_206E_206D_200B_202B_206D_206F_200F_200E_200C_202E_206E_200B_206B_200C_206D_206E_200C_202D_206C_200D_202B_200F_200B_200F_200E_206C_202E(IGameObject P_0) + { + return P_0.Rotation; + } + + static float _202B_200B_200F_200C_202D_206C_206D_202B_202A_200B_200F_206B_200C_206D_200B_202D_206E_202C_206F_206C_202D_200D_200F_202A_202A_200D_200B_206B_206A_206C_202C_206C_200E_206C_206D_200B_206C_202D_202A_206D_202E(float P_0) + { + return MathF.Sqrt(P_0); + } + + static void _206E_200C_206E_206B_202C_202D_200E_200F_206D_202E_202A_202A_206B_202A_200E_200D_200E_202E_202D_200C_206A_200E_206A_200D_200E_202A_200F_200F_206A_206A_206E_206B_206C_202B_202B_206D_206E_200F_206B_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static float _200E_206F_200F_200B_206F_200B_200B_200B_200B_206C_206E_206A_202D_206C_202D_200C_202B_202B_200B_200F_206A_202B_200D_206B_206A_202E_206E_202A_202A_202C_206A_202C_206D_206A_202A_202A_206F_202D_206E_206F_202E(float P_0, float P_1) + { + return MathF.Atan2(P_0, P_1); + } + + static float _206B_202D_206C_200D_206A_206A_202E_206B_200D_206C_202E_206A_202A_206C_200B_206C_202C_200B_206D_200B_206C_202B_202D_200C_200F_200D_202D_202C_206C_202C_206E_202A_200D_206B_206F_200F_202B_200D_202A_206D_202E(float P_0) + { + return MathF.Cos(P_0); + } + + static float _206D_202C_200F_202D_200D_200C_206D_202D_206E_206F_206D_206F_200E_200D_200D_200B_200C_202C_202D_200C_202D_200E_200E_200B_206F_200E_202C_202E_206D_200E_200C_200D_206A_202C_200D_206B_206E_200D_200F_206F_202E(float P_0) + { + return MathF.Sin(P_0); + } + + static StatusList _202E_206C_206D_202E_206C_206C_200D_206B_206A_206F_200B_202D_206C_200F_200C_200B_206C_206A_206A_202C_206B_202C_206A_206F_200B_200E_202E_206B_202D_202D_206F_202E_200B_206C_206A_206D_206F_202B_206B_200E_202E(IBattleChara P_0) + { + return P_0.StatusList; + } + + static IStatus _200C_202B_200D_206B_202C_202E_200B_200F_200F_202B_200C_200B_206A_202D_200E_202E_200F_206A_202E_200F_206C_202D_206A_206B_206B_206A_202C_200B_202C_202B_206E_202D_202E_200E_200D_200B_200C_200C_200B_202D_202E(StatusList P_0, int P_1) + { + return P_0[P_1]; + } + + static uint _200F_200B_206A_200E_206A_200E_206F_206B_206B_202B_202A_206E_206C_202B_200F_200E_202B_202A_202E_200F_206D_206E_200F_200F_202B_202D_202A_206A_200B_206F_200B_200D_206D_200C_200F_206A_200E_200F_200F_202D_202E(IStatus P_0) + { + return P_0.StatusId; + } + + static int _200F_202E_200C_200D_200F_202C_206F_206B_200D_200D_200D_202A_206C_202D_202A_200C_200D_206C_200D_202D_202C_206F_206C_200C_206B_200E_206B_202B_200B_200B_206C_202D_202B_202B_206D_206F_206F_206C_206A_202B_202E(StatusList P_0) + { + return P_0.Length; + } + + static float _206E_206E_200B_200C_202D_206C_200D_200E_200D_200B_206C_206E_200F_206E_206A_202C_200C_202D_206A_200D_202C_206E_206D_200F_202A_206A_200B_200C_200D_202A_202D_202B_206A_202D_206D_202C_206F_200F_206D_202A_202E(float P_0) + { + return MathF.Abs(P_0); + } + + static GameConfigSection _206D_200E_206E_202E_206B_200D_206A_206E_206E_200C_202B_202A_200F_206B_202A_202E_202C_202A_206E_202E_200C_206C_202D_206F_202C_200C_200F_206B_206B_200C_200B_202D_202D_200B_202D_206C_202A_200D_200B_202E_202E(IGameConfig P_0) + { + return P_0.UiControl; + } + + static bool _202B_206F_202D_206E_202A_206C_206A_200B_202D_200B_206D_206C_206E_206C_202E_206A_202D_200F_202A_200B_206A_200B_202E_202D_206F_202C_206F_202E_206F_206D_206A_206A_206B_202E_202E_202E_202A_206D_202B_206A_202E(GameConfigSection P_0, string P_1, ref uint P_2) + { + return P_0.TryGetUInt(P_1, out P_2); + } + + static void _202C_200C_202E_206D_206F_202C_206C_202D_206E_206C_200B_206D_206F_202E_202B_202D_206A_206E_200D_200E_202A_200F_202B_202C_202E_202A_202B_206D_200E_206F_206D_200F_200C_202B_206C_200C_206C_206A_206B_200E_202E(IGameConfig P_0, EventHandler P_1) + { + P_0.UiControlChanged -= P_1; + } + + static void _202D_200F_206F_200F_200C_200E_200C_200D_200B_202A_206C_200E_202C_202C_200B_206A_206F_202D_206D_202E_202D_202B_206E_206F_200D_206F_206F_206B_200D_206E_202C_200C_206A_206D_200D_206E_200F_206B_202E_202D_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } +} diff --git a/LLib/LLib.Movement/MovementSignatures.cs b/LLib/LLib.Movement/MovementSignatures.cs new file mode 100644 index 00000000..afb5351c --- /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 00000000..79bbb7c2 --- /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 00000000..2bc8dd7c --- /dev/null +++ b/LLib/LLib.Notifications/OutOfGameNotifier.cs @@ -0,0 +1,487 @@ +using System; +using System.IO; +using System.Runtime.CompilerServices; +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(); + int num = ((ptr != null) ? 539179088 : 539179091); + while (true) + { + int num2 = num; + int num3 = 539179090; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return (nint)ptr->hWnd; + case 1: + return 0; + } + continue; + IL_004b: + num = 539179091; + } + } + } + + public bool IsGameForeground + { + get + { + nint gameWindowHandle = GameWindowHandle; + int num = ((gameWindowHandle == 0) ? 1427669893 : 1427669894); + while (true) + { + int num2 = num; + int num3 = 1427669892; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0049; + case 1: + return false; + case 2: + return NativeMethods.GetForegroundWindow() == gameWindowHandle; + } + continue; + IL_0049: + num = 1427669894; + } + } + } + + public OutOfGameNotifier(ILogger logger) + { + _logger = logger; + } + + public void FlashTaskbar() + { + WindowFlash.Flash(GameWindowHandle, 0u); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void PlayAlertSound(string? wavPath) + { + int num = (_202E_202E_200E_206D_200E_202B_206E_206C_202D_202D_202D_200B_206D_200C_200E_206B_206B_202D_202B_206A_202B_206A_200D_206B_206E_202B_200B_202C_206D_206F_200B_206C_200D_206D_206B_206E_200B_200C_200D_200D_202E(wavPath) ? 199681171 : 199681169); + while (true) + { + int num2 = num; + int num3 = 199681171; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = 199681169; + break; + case 3: + num = ((!NativeMethods.PlaySound(wavPath, 0, 131075u)) ? 199681170 : 199681175); + break; + case 1: + _200E_200D_202A_200C_206A_206E_200D_202D_206C_202E_202D_202C_202E_200D_200E_206D_206D_200D_200E_206F_206F_200E_202B_202B_200C_200B_200B_200B_206E_200E_206B_206F_200B_206C_200B_202C_206B_200C_200B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-928191835), new object[1] { wavPath }); + num = 199681171; + break; + case 2: + num = ((!_200C_200B_202C_206C_206B_202D_206B_202C_202D_206C_202D_200C_206A_200F_206F_206B_202D_200F_206B_202E_206F_202B_206D_200C_202B_206D_202C_200D_200F_202E_202E_200E_206E_200F_200C_206D_200F_202A_200B_200E_202E(wavPath)) ? 199681171 : 199681168); + break; + case 0: + num = (NativeMethods.MessageBeep(64u) ? 199681172 : 199681173); + break; + case 7: + return; + case 6: + _200E_200D_202A_200C_206A_206E_200D_202D_206C_202E_202D_202C_202E_200D_200E_206D_206D_200D_200E_206F_206F_200E_202B_202B_200C_200B_200B_200B_206E_200E_206B_206F_200B_206C_200B_202C_206B_200C_200B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1376931042), Array.Empty()); + num = 199681172; + break; + case 4: + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void ShowTrayNotification(string title, string message) + { + nint gameWindowHandle = GameWindowHandle; + int num = ((gameWindowHandle != 0) ? (-102834731) : (-102834730)); + nint num8 = default(nint); + while (true) + { + int num2 = num; + int num3 = -102834732; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0050; + case 2: + _202C_202E_200B_206C_202C_206E_206E_202C_206B_206D_206F_206B_202C_202C_202A_206B_200B_206C_202B_202C_206F_206F_206F_202B_202C_200E_206B_200D_206B_200D_202C_202E_206D_206E_206D_206D_202D_206B_202E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-498044301), Array.Empty()); + return; + case 1: + try + { + num = (_trayIconRegistered ? (-1863308179) : (-1863308178)); + while (true) + { + int num5 = num; + num3 = -1863308179; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 4: + { + NOTIFYICONDATA lpData3 = new NOTIFYICONDATA + { + cbSize = (uint)Marshal.SizeOf(), + hWnd = gameWindowHandle, + uID = 176u, + uTimeoutOrVersion = 4u + }; + NativeMethods.Shell_NotifyIcon(4u, ref lpData3); + _trayHWnd = gameWindowHandle; + _trayIconRegistered = true; + num = -1863308179; + break; + } + case 3: + num8 = GetGameIcon(gameWindowHandle); + num = ((num8 != 0) ? (-1863308184) : (-1863308180)); + break; + case 8: + _202C_202E_200B_206C_202C_206E_206E_202C_206B_206D_206F_206B_202C_202C_202A_206B_200B_206C_202B_202C_206F_206F_206F_202B_202C_200E_206B_200D_206B_200D_202C_202E_206D_206E_206D_206D_202D_206B_202E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-218723301), Array.Empty()); + num = -1863308177; + break; + case 7: + _202C_202E_200B_206C_202C_206E_206E_202C_206B_206D_206F_206B_202C_202C_202A_206B_200B_206C_202B_202C_206F_206F_206F_202B_202C_200E_206B_200D_206B_200D_202C_202E_206D_206E_206D_206D_202D_206B_202E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(621311524), Array.Empty()); + return; + case 6: + num = -1863308178; + break; + case 1: + num8 = NativeMethods.LoadIcon(0, 32512); + num = -1863308184; + break; + case 0: + { + NOTIFYICONDATA lpData2 = new NOTIFYICONDATA + { + cbSize = (uint)Marshal.SizeOf(), + hWnd = _trayHWnd, + uID = 176u, + uFlags = 16u, + szInfoTitle = Truncate(title, 63), + szInfo = Truncate(message, 255), + dwInfoFlags = 1u + }; + num = (NativeMethods.Shell_NotifyIcon(1u, ref lpData2) ? (-1863308177) : (-1863308187)); + break; + } + case 5: + { + NOTIFYICONDATA lpData = new NOTIFYICONDATA + { + cbSize = (uint)Marshal.SizeOf(), + hWnd = gameWindowHandle, + uID = 176u, + uFlags = 6u, + hIcon = num8, + szTip = Truncate(title, 127) + }; + num = (NativeMethods.Shell_NotifyIcon(0u, ref lpData) ? (-1863308183) : (-1863308182)); + break; + } + case 2: + return; + } + } + } + catch (Exception ex) + { + _206E_206A_206C_200C_200F_206C_202C_206E_206D_202C_200B_202B_202D_206C_202E_206C_200C_200E_206E_200E_202C_206F_202C_200B_202D_200F_200C_200F_202E_200F_200C_200D_206E_202B_200D_202B_202A_202B_200E_202E_202E((ILogger)_logger, ex, global::_003CModule_003E._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(1309216025), Array.Empty()); + return; + } + } + continue; + IL_0050: + num = -102834730; + } + } + + private static nint GetGameIcon(nint hWnd) + { + nint num = NativeMethods.SendMessage(hWnd, 127u, 1, 0); + int num2 = ((num != 0) ? 1006480639 : 1006480632); + while (true) + { + int num3 = num2; + int num4 = 1006480638; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 4: + num2 = 1006480632; + break; + case 5: + num = NativeMethods.GetClassLongPtr(hWnd, -14); + num2 = 1006480637; + break; + case 1: + num2 = ((num != 0) ? 1006480637 : 1006480635); + break; + case 2: + return num; + case 0: + num = NativeMethods.GetClassLongPtr(hWnd, -34); + num2 = 1006480636; + break; + case 3: + num2 = ((num != 0) ? 1006480636 : 1006480638); + break; + case 6: + num = NativeMethods.SendMessage(hWnd, 127u, 0, 0); + num2 = 1006480639; + break; + } + } + } + + private static string Truncate(string value, int maxChars) + { + int num = ((_202C_206C_206F_202B_202E_206A_202C_206B_200F_200E_200F_200C_202E_202E_206C_206D_200C_200D_206A_202D_206B_200B_206E_206F_206F_200E_206B_202C_202A_202D_206C_206B_200D_200D_200E_200B_202A_202C_200D_206D_202E(value) <= maxChars) ? (-362575814) : (-362575815)); + while (true) + { + int num2 = num; + int num3 = -362575813; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0047; + case 2: + return _200D_200D_200D_206C_200B_206C_200B_206A_206B_202D_202B_202E_200D_206E_206D_202A_200C_206C_200C_202C_206D_200B_200C_202B_202B_200F_202B_202A_200E_202E_200C_200B_206B_206A_202A_200C_200C_206D_206B_206A_202E(value, 0, maxChars); + case 1: + return value; + } + continue; + IL_0047: + num = -362575815; + } + } + + public void Dispose() + { + int num = ((!_disposed) ? 413573275 : 413573272); + while (true) + { + int num2 = num; + int num3 = 413573273; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return; + case 1: + return; + case 4: + { + NOTIFYICONDATA lpData = new NOTIFYICONDATA + { + cbSize = (uint)Marshal.SizeOf(), + hWnd = _trayHWnd, + uID = 176u + }; + NativeMethods.Shell_NotifyIcon(2u, ref lpData); + _trayIconRegistered = false; + return; + } + case 2: + _disposed = true; + num = (_trayIconRegistered ? 413573277 : 413573273); + break; + case 3: + num = 413573272; + break; + } + } + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static bool _202E_202E_200E_206D_200E_202B_206E_206C_202D_202D_202D_200B_206D_200C_200E_206B_206B_202D_202B_206A_202B_206A_200D_206B_206E_202B_200B_202C_206D_206F_200B_206C_200D_206D_206B_206E_200B_200C_200D_200D_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _200C_200B_202C_206C_206B_202D_206B_202C_202D_206C_202D_200C_206A_200F_206F_206B_202D_200F_206B_202E_206F_202B_206D_200C_202B_206D_202C_200D_200F_202E_202E_200E_206E_200F_200C_206D_200F_202A_200B_200E_202E(string P_0) + { + return File.Exists(P_0); + } + + static void _200E_200D_202A_200C_206A_206E_200D_202D_206C_202E_202D_202C_202E_200D_200E_206D_206D_200D_200E_206F_206F_200E_202B_202B_200C_200B_200B_200B_206E_200E_206B_206F_200B_206C_200B_202C_206B_200C_200B_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static void _202C_202E_200B_206C_202C_206E_206E_202C_206B_206D_206F_206B_202C_202C_202A_206B_200B_206C_202B_202C_206F_206F_206F_202B_202C_200E_206B_200D_206B_200D_202C_202E_206D_206E_206D_206D_202D_206B_202E_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _206E_206A_206C_200C_200F_206C_202C_206E_206D_202C_200B_202B_202D_206C_202E_206C_200C_200E_206E_200E_202C_206F_202C_200B_202D_200F_200C_200F_202E_200F_200C_200D_206E_202B_200D_202B_202A_202B_200E_202E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static int _202C_206C_206F_202B_202E_206A_202C_206B_200F_200E_200F_200C_202E_202E_206C_206D_200C_200D_206A_202D_206B_200B_206E_206F_206F_200E_206B_202C_202A_202D_206C_206B_200D_200D_200E_200B_202A_202C_200D_206D_202E(string P_0) + { + return P_0.Length; + } + + static string _200D_200D_200D_206C_200B_206C_200B_206A_206B_202D_202B_202E_200D_206E_206D_202A_200C_206C_200C_202C_206D_200B_200C_202B_202B_200F_202B_202A_200E_202E_200C_200B_206B_206A_202A_200C_200C_206D_206B_206A_202E(string P_0, int P_1, int P_2) + { + return P_0.Substring(P_1, P_2); + } +} diff --git a/LLib/LLib.Notifications/WindowsSounds.cs b/LLib/LLib.Notifications/WindowsSounds.cs new file mode 100644 index 00000000..5fb36fba --- /dev/null +++ b/LLib/LLib.Notifications/WindowsSounds.cs @@ -0,0 +1,118 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.CompilerServices; + +namespace LLib.Notifications; + +public static class WindowsSounds +{ + public static string MediaDirectory + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return _200F_200F_200E_200D_206C_200B_206F_206F_202E_200B_206D_202C_202E_200B_200C_200F_202C_200F_206B_200D_202E_200C_200E_206C_206C_200C_202D_202B_200F_206D_206F_200F_206B_202A_200E_202B_200F_206F_206C_206E_202E(_206A_202A_202B_200B_200D_200F_206C_202A_206B_202E_202A_206D_202C_202D_200D_202E_202D_206E_206A_200B_206C_200D_206A_200D_202E_206E_206F_200F_200E_200D_202C_200D_200B_200B_202D_206F_200E_206C_200E_206F_202E(Environment.SpecialFolder.Windows), global::_003CModule_003E._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(-1437924549)); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static IReadOnlyList ListWavFileNames() + { + try + { + int num = (_200B_206D_200F_202A_200F_206D_200F_206C_202A_200B_200F_200D_200F_206A_206A_206C_202D_206F_200E_202D_202C_200B_200F_202B_202D_206D_206C_200D_200D_206D_206D_200B_206A_202A_200E_202A_200E_202D_206F_200E_202E(MediaDirectory) ? 1352349132 : 1352349133); + while (true) + { + int num2 = num; + int num3 = 1352349132; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004c; + case 1: + return Array.Empty(); + case 0: + return _200E_202C_200D_200C_206E_202E_206D_200F_200B_202D_206B_202D_206B_206B_206D_206E_202B_206E_200E_202D_206E_206E_206B_202D_200C_206E_202E_202D_202E_202B_200E_206E_202B_200B_202D_206E_206B_200F_206A_202A_202E(MediaDirectory, global::_003CModule_003E._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(-258286566)).Select(Path.GetFileName).OfType().OrderBy((string x) => x, _206E_200D_202B_206E_200B_206F_206E_202C_206E_200F_202D_206D_202E_202C_206A_206B_202C_206B_206F_206E_200F_206A_206A_206F_200C_206F_200D_200F_202E_200C_206E_202E_200E_206A_202D_200D_202C_200D_206D_202C_202E()) + .ToArray(); + } + continue; + IL_004c: + num = 1352349133; + } + } + catch (Exception) + { + return Array.Empty(); + } + } + + public static string? ResolvePath(string? fileName) + { + int num = ((!_200C_202D_206A_200D_206E_202A_202B_202C_202A_206A_202D_206E_202B_202E_202B_200F_206C_206B_200D_206D_200E_202A_200F_202A_200F_206D_200E_200E_206B_206D_200D_200D_200C_202E_206B_206D_206E_206A_202A_200D_202E(fileName)) ? 301346880 : 301346882); + string text = default(string); + while (true) + { + int num2 = num; + int num3 = 301346883; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = 301346882; + break; + case 1: + return null; + case 2: + return null; + case 0: + return text; + case 3: + text = _200F_200F_200E_200D_206C_200B_206F_206F_202E_200B_206D_202C_202E_200B_200C_200F_202C_200F_206B_200D_202E_200C_200E_206C_206C_200C_202D_202B_200F_206D_206F_200F_206B_202A_200E_202B_200F_206F_206C_206E_202E(MediaDirectory, fileName); + num = (_206C_200F_206E_206F_200D_202E_206B_206A_206C_206D_200C_202D_200E_200D_206E_202D_202C_206F_200D_200E_202E_200C_206E_206C_202A_202B_206E_206E_200E_200B_200B_206D_206A_206B_206F_200D_200B_200B_200F_206A_202E(text) ? 301346883 : 301346881); + break; + } + } + } + + static string _206A_202A_202B_200B_200D_200F_206C_202A_206B_202E_202A_206D_202C_202D_200D_202E_202D_206E_206A_200B_206C_200D_206A_200D_202E_206E_206F_200F_200E_200D_202C_200D_200B_200B_202D_206F_200E_206C_200E_206F_202E(Environment.SpecialFolder P_0) + { + return Environment.GetFolderPath(P_0); + } + + static string _200F_200F_200E_200D_206C_200B_206F_206F_202E_200B_206D_202C_202E_200B_200C_200F_202C_200F_206B_200D_202E_200C_200E_206C_206C_200C_202D_202B_200F_206D_206F_200F_206B_202A_200E_202B_200F_206F_206C_206E_202E(string P_0, string P_1) + { + return Path.Combine(P_0, P_1); + } + + static bool _200B_206D_200F_202A_200F_206D_200F_206C_202A_200B_200F_200D_200F_206A_206A_206C_202D_206F_200E_202D_202C_200B_200F_202B_202D_206D_206C_200D_200D_206D_206D_200B_206A_202A_200E_202A_200E_202D_206F_200E_202E(string P_0) + { + return Directory.Exists(P_0); + } + + static IEnumerable _200E_202C_200D_200C_206E_202E_206D_200F_200B_202D_206B_202D_206B_206B_206D_206E_202B_206E_200E_202D_206E_206E_206B_202D_200C_206E_202E_202D_202E_202B_200E_206E_202B_200B_202D_206E_206B_200F_206A_202A_202E(string P_0, string P_1) + { + return Directory.EnumerateFiles(P_0, P_1); + } + + static StringComparer _206E_200D_202B_206E_200B_206F_206E_202C_206E_200F_202D_206D_202E_202C_206A_206B_202C_206B_206F_206E_200F_206A_206A_206F_200C_206F_200D_200F_202E_200C_206E_202E_200E_206A_202D_200D_202C_200D_206D_202C_202E() + { + return StringComparer.OrdinalIgnoreCase; + } + + static bool _200C_202D_206A_200D_206E_202A_202B_202C_202A_206A_202D_206E_202B_202E_202B_200F_206C_206B_200D_206D_200E_202A_200F_202A_200F_206D_200E_200E_206B_206D_200D_200D_200C_202E_206B_206D_206E_206A_202A_200D_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _206C_200F_206E_206F_200D_202E_206B_206A_206C_206D_200C_202D_200E_200D_206E_202D_202C_206F_200D_200E_202E_200C_206E_206C_202A_202B_206E_206E_200E_200B_200B_206D_206A_206B_206F_200D_200B_200B_200F_206A_202E(string P_0) + { + return File.Exists(P_0); + } +} diff --git a/LLib/LLib.Shop.Model/EShopType.cs b/LLib/LLib.Shop.Model/EShopType.cs new file mode 100644 index 00000000..4ac6e25b --- /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 a444f33c..a865103f 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,65 @@ 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) + { + int num = ((other != null) ? (-673406129) : (-673406143)); + while (true) + { + int num2 = num; + int num3 = -673406136; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + num = ((Price != other.Price) ? (-673406130) : (-673406133)); + break; + case 9: + return false; + case 2: + return OwnedItems == other.OwnedItems; + case 0: + num = -673406143; + break; + case 6: + return false; + case 7: + num = ((this != other) ? (-673406135) : (-673406132)); + break; + case 3: + num = ((CurrencyItemId != other.CurrencyItemId) ? (-673406130) : (-673406134)); + break; + case 4: + return true; + case 5: + num = ((ItemId != other.ItemId) ? (-673406130) : (-673406144)); + break; + case 1: + num = ((Position != other.Position) ? (-673406130) : (-673406131)); + break; + } + } + } + + bool IEquatable.Equals(ItemForSale? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + 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 c146e24b..aa057e51 100644 --- a/LLib/LLib.Shop.Model/PurchaseState.cs +++ b/LLib/LLib.Shop.Model/PurchaseState.cs @@ -8,17 +8,25 @@ public sealed class PurchaseState public int OwnedItems { get; set; } - public int ItemsLeftToBuy => Math.Max(0, DesiredItems - OwnedItems); + public int InitialOwnedItems { get; } + + public int ItemsLeftToBuy => _206E_206B_202A_202D_202E_206B_206B_206B_206A_206C_200D_200D_200B_202E_200B_200D_200B_202D_200C_206F_202E_202D_202C_206B_200E_206D_206E_202C_206D_206C_202C_200E_206C_200B_206B_202D_202E_200E_206E_200D_202E(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; + } + + static int _206E_206B_202A_202D_202E_206B_206B_206B_206A_206C_200D_200D_200B_202E_200B_200D_200B_202D_200C_206F_202E_202D_202C_206B_200E_206D_206E_202C_206D_206C_202C_200E_206C_200B_206B_202D_202E_200E_206E_200D_202E(int P_0, int P_1) + { + return Math.Max(P_0, P_1); } } diff --git a/LLib/LLib.Shop.Model/ShopSearchResult.cs b/LLib/LLib.Shop.Model/ShopSearchResult.cs new file mode 100644 index 00000000..37044b6c --- /dev/null +++ b/LLib/LLib.Shop.Model/ShopSearchResult.cs @@ -0,0 +1,169 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +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) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_202B_206E_202C_206C_206B_202A_200F_206C_206C_206C_206C_200C_202C_200E_200E_206B_200C_206E_200F_200F_206C_206F_206F_206C_206C_206C_202B_200F_200C_206D_202D_206D_200C_200B_206B_200C_206F_200E_202A_202E(typeof(ShopSearchResult).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200D_206C_206E_206C_200F_200F_206F_200D_200F_202C_202A_202B_200C_200F_206A_206B_200E_206E_206F_200E_206F_202E_202C_202A_200F_206D_200F_200C_202A_202E_206E_202E_200D_200D_206D_202C_200F_202D_206A_202E_202E(); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(stringBuilder, global::_003CModule_003E._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(-172046224)); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(stringBuilder, global::_003CModule_003E._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(1148273145)); + int num = ((!PrintMembers(stringBuilder)) ? 861671392 : 861671393); + while (true) + { + int num2 = num; + int num3 = 861671392; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _202C_202B_206F_206B_206B_202A_200D_202D_206A_200B_200E_202E_206A_202A_200C_200F_202D_206F_202C_206B_206A_202A_206E_206C_206D_202C_202C_202B_206B_206F_202C_202C_206A_200C_200F_206D_200B_202A_202A_200D_202E(stringBuilder, '}'); + return _202A_200C_202E_202E_206D_206B_200D_206F_200C_206E_202D_200D_202A_206D_200E_202C_202A_200F_206E_202B_200E_202C_206A_202B_206B_206B_206D_206B_206D_206F_200E_200D_202C_202E_202C_200B_206C_200D_206D_206F_202E((object)stringBuilder); + case 1: + _202C_202B_206F_206B_206B_202A_200D_202D_206A_200B_200E_202E_206A_202A_200C_200F_202D_206F_202C_206B_206A_202A_206E_206C_206D_202C_202C_202B_206B_206F_202C_202C_206A_200C_200F_206D_200B_202A_202A_200D_202E(stringBuilder, ' '); + num = 861671392; + break; + case 2: + num = 861671393; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_206A_206D_202B_206C_206F_200C_202E_200D_206D_202E_206B_206F_200B_200B_200D_206B_206E_200E_202A_202E_202E_200B_206A_202C_206D_202C_206A_200F_200C_202A_206A_202C_202C_206D_206B_206A_200B_202B_200C_202E(); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._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(1462184987)); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, ShopId.ToString()); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._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(402538369)); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, NpcId.ToString()); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._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(1525167587)); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, TerritoryId.ToString()); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._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(77058786)); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, NpcPosition.ToString()); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._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(47056198)); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, ShopType.ToString()); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._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(180433324)); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, Price.ToString()); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._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(2138166188)); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, CurrencyItemId.ToString()); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._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(-846071550)); + _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, DialogOptionIndex.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(ShopSearchResult? other) + { + int num = (((object)this == other) ? (-1154151868) : (-1154151871)); + while (true) + { + int num2 = num; + int num3 = -1154151865; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1154151871; + break; + case 7: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? (-1154151867) : (-1154151866)); + break; + case 6: + num = (((object)other == null) ? (-1154151867) : (-1154151860)); + break; + case 9: + num = ((!EqualityComparer.Default.Equals(CurrencyItemId, other.CurrencyItemId)) ? (-1154151867) : (-1154151869)); + break; + case 10: + num = ((!EqualityComparer.Default.Equals(Price, other.Price)) ? (-1154151867) : (-1154151858)); + break; + case 12: + num = ((!EqualityComparer.Default.Equals(NpcId, other.NpcId)) ? (-1154151867) : (-1154151872)); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(ShopType, other.ShopType)) ? (-1154151867) : (-1154151859)); + break; + case 3: + return true; + case 11: + num = ((!_200D_206D_202D_200B_200E_200B_202C_206C_200E_200F_206E_202B_202C_202D_206F_206E_206D_202D_202D_202A_202A_206A_206B_202C_206B_206B_200D_202D_202D_202D_202D_200D_200C_200D_206C_200B_206D_206B_206F_202B_202E(EqualityContract, other.EqualityContract)) ? (-1154151867) : (-1154151870)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(NpcPosition, other.NpcPosition)) ? (-1154151867) : (-1154151857)); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(ShopId, other.ShopId)) ? (-1154151867) : (-1154151861)); + break; + case 2: + return false; + case 4: + return EqualityComparer.Default.Equals(DialogOptionIndex, other.DialogOptionIndex); + } + } + } + + bool IEquatable.Equals(ShopSearchResult? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_202B_206E_202C_206C_206B_202A_200F_206C_206C_206C_206C_200C_202C_200E_200E_206B_200C_206E_200F_200F_206C_206F_206F_206C_206C_206C_202B_200F_200C_206D_202D_206D_200C_200B_206B_200C_206F_200E_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200D_206C_206E_206C_200F_200F_206F_200D_200F_202C_202A_202B_200C_200F_206A_206B_200E_206E_206F_200E_206F_202E_202C_202A_200F_206D_200F_200C_202A_202E_206E_202E_200D_200D_206D_202C_200F_202D_206A_202E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_202B_206F_206B_206B_202A_200D_202D_206A_200B_200E_202E_206A_202A_200C_200F_202D_206F_202C_206B_206A_202A_206E_206C_206D_202C_202C_202B_206B_206F_202C_202C_206A_200C_200F_206D_200B_202A_202A_200D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202A_200C_202E_202E_206D_206B_200D_206F_200C_206E_202D_200D_202A_206D_200E_202C_202A_200F_206E_202B_200E_202C_206A_202B_206B_206B_206D_206B_206D_206F_200E_200D_202C_202E_202C_200B_206C_200D_206D_206F_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200F_206A_206D_202B_206C_206F_200C_202E_200D_206D_202E_206B_206F_200B_200B_200D_206B_206E_200E_202A_202E_202E_200B_206A_202C_206D_202C_206A_200F_200C_202A_206A_202C_202C_206D_206B_206A_200B_202B_200C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _200D_206D_202D_200B_200E_200B_202C_206C_200E_200F_206E_202B_202C_202D_206F_206E_206D_202D_202D_202A_202A_206A_206B_202C_206B_206B_200D_202D_202D_202D_202D_200D_200C_200D_206C_200B_206D_206B_206F_202B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/LLib/LLib.Shop.Searchers/GCShopSearcher.cs b/LLib/LLib.Shop.Searchers/GCShopSearcher.cs new file mode 100644 index 00000000..5d583a0d --- /dev/null +++ b/LLib/LLib.Shop.Searchers/GCShopSearcher.cs @@ -0,0 +1,274 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +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; + + private static readonly uint[] QuartermasterNpcIds; + + 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(); + int num; + using (ExcelSheet.Enumerator enumerator = excelSheet2.GetEnumerator()) + { + num = 1051383977; + uint rowId = default(uint); + GCShop current = default(GCShop); + while (true) + { + int num2 = num; + int num3 = 1051383979; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1051383977; + break; + case 2: + num = (enumerator.MoveNext() ? 1051383983 : 1051383976); + break; + case 1: + dictionary.TryAdd(rowId, current.RowId); + num = 1051383977; + break; + case 4: + current = enumerator.Current; + rowId = current.GrandCompany.RowId; + num = ((rowId == 0) ? 1051383977 : 1051383978); + break; + case 3: + goto end_IL_0063; + } + continue; + end_IL_0063: + break; + } + } + Dictionary dictionary2 = new Dictionary(); + using (SubrowExcelSheet.Enumerator enumerator2 = subrowExcelSheet.GetEnumerator()) + { + num = 754964801; + uint num8 = default(uint); + uint value2 = default(uint); + uint rowId3 = default(uint); + uint value = default(uint); + SubrowCollection current2 = default(SubrowCollection); + uint rowId2 = default(uint); + int num7 = default(int); + GCScripShopCategory row = default(GCScripShopCategory); + uint costGCSeals = default(uint); + GCScripShopItem gCScripShopItem = default(GCScripShopItem); + while (true) + { + int num5 = num; + int num3 = 754964806; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 17: + num8 = 1u; + num = 754964805; + break; + case 2: + num = ((!dictionary2.TryGetValue(num8, out value2)) ? 754964815 : 754964813); + break; + case 6: + num = ((!dictionary2.TryGetValue(rowId3, out value)) ? 754964803 : 754964822); + break; + case 13: + current2 = enumerator2.Current; + rowId2 = current2.RowId; + num7 = 0; + num = 754964808; + break; + case 10: + { + uint num9 = num8; + num3 = 1; + num4 = (int)num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num8 = (uint)(num10 + (num11 + num11)); + num = 754964805; + break; + } + case 0: + rowId3 = row.GrandCompany.RowId; + num = ((rowId3 != 0) ? 754964800 : 754964823); + break; + case 14: + num = ((num7 < current2.Count) ? 754964809 : 754964801); + break; + case 1: + costGCSeals = gCScripShopItem.CostGCSeals; + num = ((!excelSheet.TryGetRow(rowId2, out row)) ? 754964810 : 754964806); + break; + case 8: + num = 754964810; + break; + case 9: + dictionary2[num8] = costGCSeals; + num = 754964812; + break; + case 7: + num = (enumerator2.MoveNext() ? 754964811 : 754964820); + break; + case 4: + num = 754964801; + break; + case 11: + num = ((costGCSeals >= value2) ? 754964812 : 754964815); + break; + case 5: + dictionary2[rowId3] = costGCSeals; + num = 754964810; + break; + case 3: + num = ((num8 < (uint)QuartermasterNpcIds.Length) ? 754964804 : 754964814); + break; + case 16: + num = ((costGCSeals >= value) ? 754964810 : 754964803); + break; + case 15: + gCScripShopItem = current2[num7]; + num = ((gCScripShopItem.Item.RowId != itemId) ? 754964810 : 754964807); + break; + case 12: + { + int num6 = num7; + num3 = 1; + num4 = num6; + num7 = (num4 | num3) + (num4 & num3); + num = 754964808; + break; + } + case 18: + goto end_IL_014c; + } + continue; + end_IL_014c: + break; + } + } + num = ((dictionary2.Count != 0) ? (-231383589) : (-231383590)); + (ushort, Vector3)? position = default((ushort, Vector3)?); + uint num14 = default(uint); + uint num16 = default(uint); + uint price = default(uint); + uint currencyItemId = default(uint); + while (true) + { + int num12 = num; + int num3 = -231383589; + int num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_046f; + case 1: + return list; + case 0: + { + using Dictionary.Enumerator enumerator3 = dictionary2.GetEnumerator(); + num = 1589717565; + while (true) + { + int num13 = num; + num3 = 1589717566; + num4 = num13; + int num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + { + (ushort, Vector3) valueOrDefault = position.GetValueOrDefault(); + dictionary.TryGetValue(num14, out var value3); + list.Add(new ShopSearchResult(value3, num16, valueOrDefault.Item1, valueOrDefault.Item2, EShopType.GCShop, price, currencyItemId)); + num = 1589717565; + break; + } + case 1: + num15 = 0; + goto IL_0563; + case 7: + num = 1589717565; + break; + case 3: + num = (enumerator3.MoveNext() ? 1589717564 : 1589717563); + break; + case 0: + num15 = (int)SealItemIds[num14]; + goto IL_0563; + case 2: + { + enumerator3.Current.Deconstruct(out var key, out var value4); + num14 = key; + price = value4; + num = ((num14 >= (uint)QuartermasterNpcIds.Length) ? 1589717565 : 1589717562); + break; + } + case 4: + num16 = QuartermasterNpcIds[num14]; + num = ((num16 == 0) ? 1589717565 : 1589717558); + break; + case 8: + num = ((num14 < (uint)SealItemIds.Length) ? 1589717566 : 1589717567); + break; + case 5: + { + return list; + } + IL_0563: + currencyItemId = (uint)num15; + position = _positionCache.GetPosition(num16); + num = ((!position.HasValue) ? 1589717565 : 1589717560); + break; + } + } + } + } + continue; + IL_046f: + num = -231383590; + } + } + + static GCShopSearcher() + { + uint[] array = new uint[4]; + _200F_206D_202A_206E_202D_200C_206D_200D_200B_202E_202B_206B_206B_206E_202B_206A_202B_206D_202C_200E_206F_200C_200B_202B_200C_202B_206C_202C_202E_200F_206D_200B_202B_202B_206E_206B_206A_200D_206A_200F_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + SealItemIds = array; + uint[] array2 = new uint[4]; + _200F_206D_202A_206E_202D_200C_206D_200D_200B_202E_202B_206B_206B_206E_202B_206A_202B_206D_202C_200E_206F_200C_200B_202B_200C_202B_206C_202C_202E_200F_206D_200B_202B_202B_206E_206B_206A_200D_206A_200F_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + QuartermasterNpcIds = array2; + } + + static void _200F_206D_202A_206E_202D_200C_206D_200D_200B_202E_202B_206B_206B_206E_202B_206A_202B_206D_202C_200E_206F_200C_200B_202B_200C_202B_206C_202C_202E_200F_206D_200B_202B_202B_206E_206B_206A_200D_206A_200F_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } +} diff --git a/LLib/LLib.Shop.Searchers/GilShopSearcher.cs b/LLib/LLib.Shop.Searchers/GilShopSearcher.cs new file mode 100644 index 00000000..98e06fe6 --- /dev/null +++ b/LLib/LLib.Shop.Searchers/GilShopSearcher.cs @@ -0,0 +1,160 @@ +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(); + int num = (_dataManager.GetExcelSheet().TryGetRow(itemId, out var row) ? (-465006418) : (-465006419)); + uint rowId = default(uint); + RowRef current2 = default(RowRef); + SubrowCollection row2 = default(SubrowCollection); + bool flag = default(bool); + int num15 = default(int); + while (true) + { + int num2 = num; + int num3 = -465006420; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_009d; + case 1: + return list; + case 2: + { + 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 num7 = 0; + using Collection.Enumerator enumerator2 = item.ENpcData.GetEnumerator(); + num = 342150999; + while (true) + { + int num8 = num; + num3 = 342150993; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 5: + rowId = current2.RowId; + num = (subrowExcelSheet.TryGetRow(rowId, out row2) ? 342150994 : 342150992); + break; + case 3: + flag = false; + num15 = 0; + num = 342151000; + break; + case 7: + num = ((row2[num15].Item.RowId != itemId) ? 342151005 : 342150997); + break; + case 8: + current2 = enumerator2.Current; + num = ((current2.RowId >> 16 != 4) ? 342150999 : 342150996); + break; + case 9: + num = ((num15 < row2.Count) ? 342150998 : 342150995); + break; + case 6: + num = (enumerator2.MoveNext() ? 342151001 : 342151003); + break; + case 1: + { + int num18 = num7; + num3 = 1; + num4 = num18; + int num19 = num4 ^ num3; + int num20 = num4 & num3; + num7 = num19 + (num20 + num20); + num = 342150999; + break; + } + case 13: + num = 342150999; + break; + case 4: + flag = true; + num = 342150995; + break; + case 2: + num = ((!flag) ? 342150993 : 342151002); + break; + case 11: + list.Add(new ShopSearchResult(rowId, item.RowId, valueOrDefault.Item1, valueOrDefault.Item2, EShopType.GilShop, priceMid, 1u, num7)); + num = 342150993; + break; + case 12: + { + int num14 = num15; + num3 = 1; + num4 = num14; + int num16 = num4 ^ num3; + int num17 = num4 & num3; + num15 = num16 + (num17 + num17); + num = 342151000; + break; + } + case 0: + { + int num11 = num7; + num3 = 1; + num4 = num11; + int num12 = num4 ^ num3; + int num13 = num4 & num3; + num7 = num12 + (num13 + num13); + num = 342150999; + break; + } + case 10: + goto end_IL_0120; + } + continue; + end_IL_0120: + break; + } + } + return list; + } + } + } + continue; + IL_009d: + num = -465006419; + } + } +} diff --git a/LLib/LLib.Shop.Searchers/SpecialShopSearcher.cs b/LLib/LLib.Shop.Searchers/SpecialShopSearcher.cs new file mode 100644 index 00000000..9406ba7b --- /dev/null +++ b/LLib/LLib.Shop.Searchers/SpecialShopSearcher.cs @@ -0,0 +1,298 @@ +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(); + uint rowId = default(uint); + RowRef current2 = default(RowRef); + SpecialShop shop = default(SpecialShop); + uint price = default(uint); + uint currencyItemId = default(uint); + SpecialShop.ItemStruct itemStruct = default(SpecialShop.ItemStruct); + int num13 = default(int); + int num9 = default(int); + bool flag = default(bool); + int num12 = default(int); + SpecialShop.ItemStruct.ItemCostsStruct itemCostsStruct = default(SpecialShop.ItemStruct.ItemCostsStruct); + 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; + using Collection.Enumerator enumerator2 = item.ENpcData.GetEnumerator(); + int num2 = 1586357649; + while (true) + { + int num3 = num2; + int num4 = 1586357637; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 5: + rowId = current2.RowId; + num2 = (excelSheet2.TryGetRow(rowId, out shop) ? 1586357643 : 1586357652); + break; + case 8: + list.Add(new ShopSearchResult(rowId, item.RowId, valueOrDefault.Item1, valueOrDefault.Item2, EShopType.SpecialShop, price, currencyItemId, num)); + num2 = 1586357638; + break; + case 2: + itemStruct = shop.Item[num13]; + num9 = 0; + num2 = 1586357640; + break; + case 18: + flag = true; + num12 = 0; + num2 = 1586357651; + break; + case 1: + num2 = ((num13 < shop.Item.Count) ? 1586357639 : 1586357635); + break; + case 16: + itemCostsStruct = itemStruct.ItemCosts[num12]; + num2 = ((itemCostsStruct.ItemCost.RowId == 0) ? 1586357646 : 1586357642); + break; + case 17: + { + int num19 = num; + num4 = 1; + num5 = num19; + num = (num5 | num4) + (num5 & num4); + num2 = 1586357649; + break; + } + case 10: + num2 = (flag ? 1586357635 : 1586357648); + break; + case 11: + { + int num18 = num12; + num4 = 1; + num5 = num18; + num12 = (num5 | num4) + (num5 & num4); + num2 = 1586357651; + break; + } + case 3: + { + int num15 = num; + num4 = 1; + num5 = num15; + int num16 = num5 ^ num4; + int num17 = num5 & num4; + num = num16 + (num17 + num17); + num2 = 1586357649; + break; + } + case 12: + num2 = 1586357649; + break; + case 6: + num2 = ((!flag) ? 1586357638 : 1586357645); + break; + case 13: + num2 = ((num9 < itemStruct.ReceiveItems.Count) ? 1586357634 : 1586357647); + break; + case 7: + num2 = ((itemStruct.ReceiveItems[num9].Item.RowId != itemId) ? 1586357633 : 1586357655); + break; + case 14: + flag = false; + currencyItemId = 0u; + price = 0u; + num13 = 0; + num2 = 1586357636; + break; + case 20: + num2 = (enumerator2.MoveNext() ? 1586357644 : 1586357654); + break; + case 9: + current2 = enumerator2.Current; + num2 = ((current2.RowId >> 16 != 27) ? 1586357649 : 1586357632); + break; + case 21: + { + int num14 = num13; + num4 = 1; + num5 = num14; + num13 = (num5 | num4) + (num5 & num4); + num2 = 1586357636; + break; + } + case 22: + num2 = ((num12 < itemStruct.ItemCosts.Count) ? 1586357653 : 1586357637); + break; + case 15: + currencyItemId = ConvertCurrencyItemId(itemCostsStruct.ItemCost.RowId, in shop); + price = itemCostsStruct.CurrencyCost; + num2 = 1586357647; + break; + case 0: + num2 = 1586357647; + break; + case 4: + { + int num8 = num9; + num4 = 1; + num5 = num8; + int num10 = num5 ^ num4; + int num11 = num5 & num4; + num9 = num10 + (num11 + num11); + num2 = 1586357640; + break; + } + case 19: + goto end_IL_009b; + } + continue; + end_IL_009b: + break; + } + } + return list; + } + + private uint ConvertCurrencyItemId(uint costItemId, in SpecialShop shop) + { + int num = ((costItemId == 0) ? 1435581379 : 1435581385); + uint num8 = default(uint); + ushort num7 = default(ushort); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = 1435581387; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + uint num10; + switch (num5 - (num6 + num6)) + { + case 3: + num8 = SpecialCurrencies.GetValueOrDefault(costItemId, costItemId); + num = 1435581387; + break; + case 7: + num = ((num7 == 8) ? 1435581389 : 1435581390); + break; + case 4: + num8 = costItemId; + num = 1435581387; + break; + case 15: + num10 = costItemId; + goto IL_014f; + case 12: + flag = false; + num = 1435581386; + break; + case 14: + num7 = 16; + num = 1435581403; + break; + case 5: + num = ((num7 != 16) ? 1435581391 : 1435581384); + break; + case 16: + num = ((num7 == 4) ? 1435581382 : 1435581388); + break; + case 11: + num = 1435581385; + break; + case 8: + return costItemId; + case 17: + { + uint[] tomestoneItemIds = _tomestoneItemIds; + num3 = 1; + num4 = (int)costItemId; + num10 = tomestoneItemIds[~(~num4 + num3)]; + goto IL_014f; + } + case 10: + flag = true; + num = 1435581386; + break; + case 2: + num = ((costItemId < 8) ? 1435581378 : 1435581379); + break; + case 13: + num = ((costItemId <= _tomestoneItemIds.Length) ? 1435581402 : 1435581380); + break; + case 0: + return num8; + case 6: + num8 = 1u; + num = 1435581387; + break; + case 1: + num = ((!flag) ? 1435581403 : 1435581381); + break; + case 9: + { + num7 = shop.UseCurrencyType; + num8 = shop.RowId; + uint num9 = num8; + num3 = 1770637; + num4 = (int)num9; + num = (((uint)(~(~num4 + num3)) > 1u) ? 1435581383 : 1435581377); + break; + } + IL_014f: + num8 = num10; + num = 1435581387; + break; + } + } + } +} diff --git a/LLib/LLib.Shop/GcSupplyActions.cs b/LLib/LLib.Shop/GcSupplyActions.cs new file mode 100644 index 00000000..2090e6c0 --- /dev/null +++ b/LLib/LLib.Shop/GcSupplyActions.cs @@ -0,0 +1,750 @@ +using System.Runtime.CompilerServices; +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; + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsSelectStringReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(1633169237), out addonPtr) ? 1661521836 : 1661521839); + while (true) + { + int num2 = num; + int num3 = 1661521838; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0054; + case 1: + return false; + case 2: + return LAddon.IsAddonReady(addonPtr); + } + continue; + IL_0054: + num = 1661521839; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TrySelectStringOption(IGameGui gameGui, int index) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-223032717), out addonPtr) ? (-1381192086) : (-1381192087)); + while (true) + { + int num2 = num; + int num3 = -1381192088; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = (LAddon.IsAddonReady(addonPtr) ? (-1381192088) : (-1381192085)); + break; + case 1: + return false; + case 0: + AddonCallback.Fire(addonPtr, index); + return true; + case 3: + return false; + case 4: + num = -1381192087; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryCloseSelectString(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-223032717), out addonPtr) ? (-378189346) : (-378189345)); + while (true) + { + int num2 = num; + int num3 = -378189346; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + AddonCallback.Fire(addonPtr, -1); + return true; + case 1: + return false; + case 2: + goto IL_0068; + } + continue; + IL_0068: + num = -378189345; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsSupplyListReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1021783127), out addonPtr) ? 1360876237 : 1360876238); + while (true) + { + int num2 = num; + int num3 = 1360876236; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return LAddon.IsAddonReady(addonPtr); + case 2: + return false; + case 0: + goto IL_005b; + } + continue; + IL_005b: + num = 1360876238; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TrySwitchToExpertTab(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1021783127), out addonPtr) ? (-1935915101) : (-1935915100)); + while (true) + { + int num2 = num; + int num3 = -1935915097; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + AddonCallback.Fire(addonPtr, 0, 2, 0); + return true; + case 4: + num = (LAddon.IsAddonReady(addonPtr) ? (-1935915097) : (-1935915098)); + break; + case 3: + return false; + case 2: + num = -1935915100; + break; + case 1: + return false; + } + } + } + + private unsafe static bool IsListLoaded(AtkUnitBase* addon) + { + AtkValue atkValues = *addon->AtkValues; + AtkValueType type = atkValues.Type; + int num = ((type == AtkValueType.Int) ? 440834222 : 440834223); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = 440834218; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 440834223; + break; + case 4: + result = atkValues.Int == 2; + num = 440834217; + break; + case 1: + result = atkValues.UInt == 2; + num = 440834217; + break; + case 2: + result = false; + num = 440834217; + break; + case 3: + return result; + case 5: + num = ((type != AtkValueType.UInt) ? 440834216 : 440834219); + break; + } + } + } + + private unsafe static bool IsExpertTab(AtkUnitBase* addon) + { + AtkValue atkValue = addon->AtkValues[5]; + AtkValueType type = atkValue.Type; + int num = ((type == AtkValueType.Int) ? (-1706563251) : (-1706563253)); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = -1706563256; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + result = atkValue.UInt == 2; + num = -1706563255; + break; + case 1: + return result; + case 0: + result = false; + num = -1706563255; + break; + case 2: + num = -1706563253; + break; + case 5: + result = atkValue.Int == 2; + num = -1706563255; + break; + case 3: + num = ((type != AtkValueType.UInt) ? (-1706563256) : (-1706563252)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsExpertTabActive(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-56578548), out addonPtr) ? (-429976172) : (-429976171)); + while (true) + { + int num2 = num; + int num3 = -429976175; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + num = ((addonPtr->AtkValuesCount >= 7) ? (-429976174) : (-429976173)); + break; + case 4: + return false; + case 5: + num = (LAddon.IsAddonReady(addonPtr) ? (-429976176) : (-429976170)); + break; + case 7: + return false; + case 3: + return IsExpertTab(addonPtr); + case 2: + return false; + case 0: + num = -429976171; + break; + case 1: + num = ((addonPtr->AtkValues == null) ? (-429976173) : (-429976169)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static int GetListItemCount(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-791024633), out addonPtr) ? (-2072162579) : (-2072162586)); + AtkValue atkValue = default(AtkValue); + while (true) + { + int num2 = num; + int num3 = -2072162587; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + num = (LAddon.IsAddonReady(addonPtr) ? (-2072162581) : (-2072162590)); + break; + case 9: + num = ((addonPtr->AtkValuesCount >= 7) ? (-2072162589) : (-2072162577)); + break; + case 0: + num = -2072162586; + break; + case 7: + return -1; + case 5: + return atkValue.Int; + case 10: + return -1; + case 11: + num = ((atkValue.Type != AtkValueType.UInt) ? (-2072162583) : (-2072162591)); + break; + case 12: + return -1; + case 4: + return (int)atkValue.UInt; + case 14: + num = ((addonPtr->AtkValues == null) ? (-2072162577) : (-2072162580)); + break; + case 3: + return -1; + case 13: + num = (IsExpertTab(addonPtr) ? (-2072162588) : (-2072162585)); + break; + case 2: + return -1; + case 6: + num = ((!IsListLoaded(addonPtr)) ? (-2072162585) : (-2072162584)); + break; + case 1: + atkValue = addonPtr->AtkValues[6]; + num = ((atkValue.Type != AtkValueType.Int) ? (-2072162578) : (-2072162592)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static uint GetListItemId(IGameGui gameGui, int itemIndex) + { + int num = ((itemIndex < 0) ? 157882237 : 157882223); + AtkValue atkValue = default(AtkValue); + AtkUnitBase* addonPtr = default(AtkUnitBase*); + while (true) + { + int num2 = num; + int num3 = 157882237; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 12: + num = ((atkValue.Int <= 0) ? 157882235 : 157882226); + break; + case 3: + return atkValue.UInt; + case 5: + num = ((atkValue.Type != AtkValueType.Int) ? 157882235 : 157882225); + break; + case 14: + { + ushort atkValuesCount = addonPtr->AtkValuesCount; + num3 = itemIndex; + num4 = 425; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + num = ((atkValuesCount > num5 + (num6 + num6)) ? 157882233 : 157882228); + break; + } + case 0: + return 0u; + case 15: + return (uint)atkValue.Int; + case 17: + return 0u; + case 18: + num = ((itemIndex < 40) ? 157882221 : 157882237); + break; + case 8: + num = 157882223; + break; + case 1: + num = ((addonPtr->AtkValues == null) ? 157882228 : 157882227); + break; + case 9: + return 0u; + case 13: + return 0u; + case 16: + num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(2078745431), out addonPtr) ? 157882239 : 157882231); + break; + case 2: + num = (LAddon.IsAddonReady(addonPtr) ? 157882236 : 157882224); + break; + case 6: + return 0u; + case 7: + num = (IsExpertTab(addonPtr) ? 157882230 : 157882220); + break; + case 11: + { + AtkValue* atkValues = addonPtr->AtkValues; + num3 = itemIndex; + num4 = 425; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + atkValue = atkValues[num7 + (num8 + num8)]; + num = ((atkValue.Type != AtkValueType.UInt) ? 157882232 : 157882238); + break; + } + case 10: + return 0u; + case 4: + num = ((!IsListLoaded(addonPtr)) ? 157882220 : 157882234); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static int GetListItemSealReward(IGameGui gameGui, int itemIndex) + { + int num = ((itemIndex < 0) ? 942417142 : 942417140); + AtkUnitBase* addonPtr = default(AtkUnitBase*); + AtkValue atkValue = default(AtkValue); + while (true) + { + int num2 = num; + int num3 = 942417143; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 11: + return -1; + case 17: + num = ((!IsListLoaded(addonPtr)) ? 942417138 : 942417143); + break; + case 9: + { + ushort atkValuesCount = addonPtr->AtkValuesCount; + num3 = itemIndex; + num4 = 265; + num = ((atkValuesCount > (num4 | num3) + (num4 & num3)) ? 942417126 : 942417144); + break; + } + case 14: + return -1; + case 12: + num = 942417140; + break; + case 4: + num = ((addonPtr->AtkValues == null) ? 942417144 : 942417150); + break; + case 2: + return (int)atkValue.UInt; + case 3: + num = ((itemIndex < 40) ? 942417137 : 942417142); + break; + case 0: + num = (IsExpertTab(addonPtr) ? 942417151 : 942417138); + break; + case 16: + num = ((atkValue.Type != AtkValueType.UInt) ? 942417149 : 942417141); + break; + case 1: + return -1; + case 13: + return atkValue.Int; + case 7: + num = (LAddon.IsAddonReady(addonPtr) ? 942417139 : 942417145); + break; + case 5: + return -1; + case 15: + return -1; + case 6: + num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(2078745431), out addonPtr) ? 942417136 : 942417148); + break; + case 10: + return -1; + case 8: + { + AtkValue* atkValues = addonPtr->AtkValues; + num3 = itemIndex; + num4 = 265; + atkValue = atkValues[(num4 | num3) + (num4 & num3)]; + num = ((atkValue.Type != AtkValueType.Int) ? 942417127 : 942417146); + break; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TrySelectItem(IGameGui gameGui, int itemIndex) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(2047037119), out addonPtr) ? 83215981 : 83215979); + while (true) + { + int num2 = num; + int num3 = 83215977; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 83215979; + break; + case 4: + num = (LAddon.IsAddonReady(addonPtr) ? 83215976 : 83215978); + break; + case 3: + return false; + case 1: + AddonCallback.Fire(addonPtr, 1, itemIndex, 0); + return true; + case 2: + return false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryForceRefresh(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(2078745431), out addonPtr) ? 1468289263 : 1468289256); + while (true) + { + int num2 = num; + int num3 = 1468289259; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1468289256; + break; + case 3: + return false; + case 4: + num = (LAddon.IsAddonReady(addonPtr) ? 1468289258 : 1468289257); + break; + case 1: + AddonCallback.Fire(addonPtr, 2); + return true; + case 2: + return false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryCloseSupplyList(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-56578548), out addonPtr) ? (-131329648) : (-131329645)); + while (true) + { + int num2 = num; + int num3 = -131329647; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 2: + return false; + case 1: + AddonCallback.Fire(addonPtr, -1); + return true; + } + continue; + IL_0052: + num = -131329645; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsRewardDialogReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1608495528), out addonPtr) ? 578433628 : 578433629); + while (true) + { + int num2 = num; + int num3 = 578433628; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0052; + case 0: + return LAddon.IsAddonReady(addonPtr); + case 1: + return false; + } + continue; + IL_0052: + num = 578433629; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryConfirmTurnIn(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(275890163), out addonPtr) ? 799150129 : 799150135); + while (true) + { + int num2 = num; + int num3 = 799150131; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 799150135; + break; + case 4: + return false; + case 1: + AddonCallback.Fire(addonPtr, default(int)); + return true; + case 2: + num = (LAddon.IsAddonReady(addonPtr) ? 799150130 : 799150131); + break; + case 0: + return false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsHqConfirmReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(1402346953), out addonPtr) ? 140237471 : 140237470); + while (true) + { + int num2 = num; + int num3 = 140237471; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0054; + case 1: + return false; + case 0: + return LAddon.IsAddonReady(addonPtr); + } + continue; + IL_0054: + num = 140237470; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryConfirmHqTrade(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-502173951), out addonPtr) ? 1659793375 : 1659793372); + while (true) + { + int num2 = num; + int num3 = 1659793374; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return false; + case 0: + AddonCallback.ClickYes(addonPtr); + return true; + case 4: + num = 1659793372; + break; + case 1: + num = (LAddon.IsAddonReady(addonPtr) ? 1659793374 : 1659793373); + break; + case 2: + return false; + } + } + } + + public static int GetCurrentSeals() + { + return GrandCompanyShop.GetCompanySeals(); + } + + public static int GetMaxSeals(IDataManager dataManager) + { + byte grandCompanyRank = GrandCompanyHelper.GetGrandCompanyRank(); + int num = ((grandCompanyRank != 0) ? 1262186934 : 1262186932); + GrandCompanyRank row = default(GrandCompanyRank); + while (true) + { + int num2 = num; + int num3 = 1262186933; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1262186932; + break; + case 1: + return 0; + case 4: + return (int)row.MaxSeals; + case 2: + return 0; + case 3: + num = (dataManager.GetExcelSheet().TryGetRow(grandCompanyRank, out row) ? 1262186929 : 1262186935); + break; + } + } + } + + public static bool IsItemExpertDeliverable(IDataManager dataManager, uint itemId) + { + Item row; + int num = (dataManager.GetExcelSheet().TryGetRow(itemId, out row) ? (-1763780714) : (-1763780716)); + while (true) + { + int num2 = num; + int num3 = -1763780715; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1763780716; + break; + case 0: + return false; + case 3: + num = ((row.Rarity >= 2) ? (-1763780719) : (-1763780715)); + break; + case 1: + return false; + case 4: + return row.Desynth > 0; + } + } + } +} diff --git a/LLib/LLib.Shop/GrandCompanyShop.cs b/LLib/LLib.Shop/GrandCompanyShop.cs index 4e247823..aa9cd15e 100644 --- a/LLib/LLib.Shop/GrandCompanyShop.cs +++ b/LLib/LLib.Shop/GrandCompanyShop.cs @@ -1,12 +1,20 @@ using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; +using System.Threading; using Dalamud.Game.Addon.Lifecycle; using Dalamud.Game.Addon.Lifecycle.AddonArgTypes; +using Dalamud.Game.NativeWrapper; using Dalamud.Plugin.Services; 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 +27,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,258 +43,1233 @@ 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; + + [CompilerGenerated] + private EventHandler? m_PurchaseCompleted; + + [CompilerGenerated] + private EventHandler? m_ShopOpened; + + [CompilerGenerated] + private EventHandler? m_ShopClosed; + public bool IsOpen { get; private set; } public bool IsPurchaseInProgress => _pendingPurchase != null; public bool IsAwaitingConfirmation { get; private set; } - public event EventHandler? PurchaseCompleted; - - public event EventHandler? ShopOpened; - - public event EventHandler? ShopClosed; - - public GrandCompanyShop(IPluginLog pluginLog, IGameGui gameGui, IAddonLifecycle addonLifecycle) + public event EventHandler? PurchaseCompleted { + [CompilerGenerated] + add + { + EventHandler eventHandler = this.m_PurchaseCompleted; + int num = 1165402561; + while (true) + { + int num2 = num; + int num3 = 1165402563; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1165402561; + break; + case 1: + return; + case 2: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_202E_202C_206F_200C_202C_206D_202A_206E_206B_200B_200F_202B_200F_206C_200F_200F_202E_200C_200E_206D_206B_202B_206A_202A_202D_202A_200D_200E_206F_206C_200D_202C_200C_206D_200B_206E_206C_206E_202E_206B_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_PurchaseCompleted, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? 1165402561 : 1165402562); + break; + } + } + } + } + [CompilerGenerated] + remove + { + EventHandler eventHandler = this.m_PurchaseCompleted; + int num = -1559785428; + while (true) + { + int num2 = num; + int num3 = -1559785427; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_200B_200F_200D_200E_200E_206D_200C_206C_206F_200B_202C_202C_206F_202C_202B_206D_206A_202B_206C_202C_206E_200C_200D_202E_200D_202A_202A_200B_202C_202B_206B_200F_206B_200E_206A_206C_200F_200D_200F_206D_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_PurchaseCompleted, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? (-1559785428) : (-1559785427)); + break; + } + case 2: + num = -1559785428; + break; + } + } + } + } + + public event EventHandler? ShopOpened + { + [CompilerGenerated] + add + { + EventHandler eventHandler = this.m_ShopOpened; + int num = 1361377683; + while (true) + { + int num2 = num; + int num3 = 1361377682; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1361377683; + break; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_202E_202C_206F_200C_202C_206D_202A_206E_206B_200B_200F_202B_200F_206C_200F_200F_202E_200C_200E_206D_206B_202B_206A_202A_202D_202A_200D_200E_206F_206C_200D_202C_200C_206D_200B_206E_206C_206E_202E_206B_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_ShopOpened, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? 1361377683 : 1361377680); + break; + } + case 2: + return; + } + } + } + [CompilerGenerated] + remove + { + EventHandler eventHandler = this.m_ShopOpened; + int num = -281406326; + while (true) + { + int num2 = num; + int num3 = -281406328; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -281406326; + break; + case 1: + return; + case 2: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_200B_200F_200D_200E_200E_206D_200C_206C_206F_200B_202C_202C_206F_202C_202B_206D_206A_202B_206C_202C_206E_200C_200D_202E_200D_202A_202A_200B_202C_202B_206B_200F_206B_200E_206A_206C_200F_200D_200F_206D_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_ShopOpened, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? (-281406326) : (-281406327)); + break; + } + } + } + } + } + + public event EventHandler? ShopClosed + { + [CompilerGenerated] + add + { + EventHandler eventHandler = this.m_ShopClosed; + int num = 1747740711; + while (true) + { + int num2 = num; + int num3 = 1747740710; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1747740711; + break; + case 0: + return; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_202E_202C_206F_200C_202C_206D_202A_206E_206B_200B_200F_202B_200F_206C_200F_200F_202E_200C_200E_206D_206B_202B_206A_202A_202D_202A_200D_200E_206F_206C_200D_202C_200C_206D_200B_206E_206C_206E_202E_206B_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_ShopClosed, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? 1747740711 : 1747740710); + break; + } + } + } + } + [CompilerGenerated] + remove + { + EventHandler eventHandler = this.m_ShopClosed; + int num = 34666078; + while (true) + { + int num2 = num; + int num3 = 34666076; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 34666078; + break; + case 1: + return; + case 2: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_200B_200F_200D_200E_200E_206D_200C_206C_206F_200B_202C_202C_206F_202C_202B_206D_206A_202B_206C_202C_206E_200C_200D_202E_200D_202A_202A_200B_202C_202B_206B_200F_206B_200E_206A_206C_200F_200D_200F_206D_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_ShopClosed, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? 34666078 : 34666077); + break; + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public GrandCompanyShop(IPluginLog pluginLog, IGameGui gameGui, IAddonLifecycle addonLifecycle, IDataManager dataManager) + { + _206D_202D_200F_202D_200D_206A_200F_206C_202D_202C_200F_200D_206D_206E_206B_200D_202A_200D_206E_206A_206C_200D_206F_200F_206D_200C_200D_200F_206E_200F_206A_200C_206B_206B_202B_202E_206D_200B_200B_206A_202E((object)pluginLog, global::_003CModule_003E._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(1267946466)); + _206D_202D_200F_202D_200D_206A_200F_206C_202D_202C_200F_200D_206D_206E_206B_200D_202A_200D_206E_206A_206C_200D_206F_200F_206D_200C_200D_200F_206E_200F_206A_200C_206B_206B_202B_202E_206D_200B_200B_206A_202E((object)gameGui, global::_003CModule_003E._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(-89144403)); + _206D_202D_200F_202D_200D_206A_200F_206C_202D_202C_200F_200D_206D_206E_206B_200D_202A_200D_206E_206A_206C_200D_206F_200F_206D_200C_200D_200F_206E_200F_206A_200C_206B_206B_202B_202E_206D_200B_200B_206A_202E((object)addonLifecycle, global::_003CModule_003E._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(1756451262)); + _206D_202D_200F_202D_200D_206A_200F_206C_202D_202C_200F_200D_206D_206E_206B_200D_202A_200D_206E_206A_206C_200D_206F_200F_206D_200C_200D_200F_206E_200F_206A_200C_206B_206B_202B_202E_206D_200B_200B_206A_202E((object)dataManager, global::_003CModule_003E._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(167281534)); _pluginLog = pluginLog; _gameGui = gameGui; _addonLifecycle = addonLifecycle; - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "GrandCompanyExchange", OnShopPostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PreFinalize, "GrandCompanyExchange", OnShopPreFinalize); - _addonLifecycle.RegisterListener(AddonEvent.PostUpdate, "SelectYesno", OnSelectYesNoPostUpdate); + _itemSheet = dataManager.GetExcelSheet(); + _202A_206B_206F_206E_202E_206A_202B_202C_200E_202A_200C_200C_200B_200E_206B_202E_202E_202C_200B_202D_206F_206A_206C_206F_200B_206A_206A_202B_206F_206B_200B_206A_200C_206B_202E_206E_200F_202E_200E_200D_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(1178205757), (IAddonLifecycle.AddonEventDelegate)OnShopPostSetup); + _202A_206B_206F_206E_202E_206A_202B_202C_200E_202A_200C_200C_200B_200E_206B_202E_202E_202C_200B_202D_206F_206A_206C_206F_200B_206A_206A_202B_206F_206B_200B_206A_200C_206B_202E_206E_200F_202E_200E_200D_202E(_addonLifecycle, AddonEvent.PreFinalize, global::_003CModule_003E._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(-1848412387), (IAddonLifecycle.AddonEventDelegate)OnShopPreFinalize); + _202A_206B_206F_206E_202E_206A_202B_202C_200E_202A_200C_200C_200B_200E_206B_202E_202E_202C_200B_202D_206F_206A_206C_206F_200B_206A_206A_202B_206F_206B_200B_206A_200C_206B_202E_206E_200F_202E_200E_200D_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-502173951), (IAddonLifecycle.AddonEventDelegate)OnSelectYesNoPostSetup); + _202A_206B_206F_206E_202E_206A_202B_202C_200E_202A_200C_200C_200B_200E_206B_202E_202E_202C_200B_202D_206F_206A_206C_206F_200B_206A_206A_202B_206F_206B_200B_206A_200C_206B_202E_206E_200F_202E_200E_200D_202E(_addonLifecycle, AddonEvent.PostUpdate, global::_003CModule_003E._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(423301839), (IAddonLifecycle.AddonEventDelegate)OnSelectYesNoPostUpdate); } + [MethodImpl(MethodImplOptions.NoInlining)] private void OnShopPostSetup(AddonEvent type, AddonArgs args) { IsOpen = true; _navigationStep = 0; - _pluginLog.Debug("[GCShop] Shop opened"); + _200D_206E_200E_202C_202B_202B_206B_206D_206F_202E_200E_206D_202C_206C_200D_200C_206F_206C_206F_202C_206C_200E_202D_202D_202A_200B_202E_206C_206D_200F_206A_200C_202A_202D_202A_206B_200B_200E_200C_202C_202E(_pluginLog, global::_003CModule_003E._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(1066347615), Array.Empty()); this.ShopOpened?.Invoke(this, EventArgs.Empty); } + [MethodImpl(MethodImplOptions.NoInlining)] private void OnShopPreFinalize(AddonEvent type, AddonArgs args) { + uint? num = _pendingPurchase?.ItemId; IsOpen = false; - _pendingPurchase = null; - IsAwaitingConfirmation = false; - _pluginLog.Debug("[GCShop] Shop closed"); - this.ShopClosed?.Invoke(this, EventArgs.Empty); + ResetPurchaseState(); + _200D_206E_200E_202C_202B_202B_206B_206D_206F_202E_200E_206D_202C_206C_200D_200C_206F_206C_206F_202C_206C_200E_202D_202D_202A_200B_202E_206C_206D_200F_206A_200C_202A_202D_202A_206B_200B_200E_200C_202C_202E(_pluginLog, global::_003CModule_003E._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(666829825), Array.Empty()); + EventHandler? eventHandler = this.ShopClosed; + if (eventHandler == null) + { + goto IL_00d9; + } + eventHandler(this, EventArgs.Empty); + int num2 = -1294964905; + goto IL_0075; + IL_00d9: + num2 = ((!num.HasValue) ? (-1294964908) : (-1294964906)); + goto IL_0075; + IL_0075: + while (true) + { + int num3 = num2; + int num4 = -1294964907; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 0: + num2 = -1294964905; + continue; + case 3: + { + EventHandler? eventHandler2 = this.PurchaseCompleted; + if (eventHandler2 == null) + { + return; + } + eventHandler2(this, new PurchaseCompletedEventArgs(num.Value, success: false)); + num2 = -1294964908; + continue; + } + case 2: + break; + case 1: + return; + } + break; + } + goto IL_00d9; } - private unsafe void OnSelectYesNoPostUpdate(AddonEvent type, AddonArgs args) + private void OnSelectYesNoPostSetup(AddonEvent type, AddonArgs args) { - if (_pendingPurchase != null && IsAwaitingConfirmation) + int num = ((_pendingPurchase == null) ? 1914486152 : 1914486153); + while (true) { - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; - if (LAddon.IsAddonReady(address)) + int num2 = num; + int num3 = 1914486154; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _pluginLog.Information("[GCShop] Confirming purchase dialog"); - ClickYes(address); - address->Close(fireCallback: true); - IsAwaitingConfirmation = false; + case 1: + _yesNoArmed = true; + num = 1914486152; + break; + case 2: + return; + case 0: + num = 1914486153; + break; + case 3: + num = ((!IsAwaitingConfirmation) ? 1914486152 : 1914486155); + break; } } } - public bool StartPurchase(uint itemId, int rankTabIndex, int categoryTabIndex) + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void OnSelectYesNoPostUpdate(AddonEvent type, AddonArgs args) { - if (!IsOpen || _pendingPurchase != null) + int num = ((_pendingPurchase == null) ? (-1083928703) : (-1083928698)); + AtkUnitBase* address = default(AtkUnitBase*); + while (true) { - return false; + int num2 = num; + int num3 = -1083928701; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + address = (AtkUnitBase*)_206F_202E_200B_202E_206B_206B_206B_202A_200C_206C_202D_200C_202E_200C_202D_202E_202E_206B_206B_206D_206E_202D_206F_206B_200D_200C_206F_202D_206B_202E_206E_202E_202C_200F_202E_206A_202A_202A_200F_206D_202E(args).Address; + num = (LAddon.IsAddonReady(address) ? (-1083928704) : (-1083928699)); + break; + case 3: + _yesNoArmed = false; + _202B_202B_202A_206C_206D_206F_200F_202B_202B_200B_200D_200B_200F_202A_202D_200B_202C_202C_200D_202D_202D_206F_200B_206D_202C_200D_202B_206E_202D_202C_202C_202A_200F_200C_200B_206C_200E_202E_202A_206A_202E(_pluginLog, global::_003CModule_003E._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(-1268211520), Array.Empty()); + AddonCallback.ClickYes(address); + address->Close(fireCallback: true); + IsAwaitingConfirmation = false; + _lastActionMs = _202E_202B_202B_206F_200E_200E_202E_206D_200E_206F_200F_206E_200B_206D_206A_206E_206D_202B_200C_200F_206C_202C_202E_202D_206A_200E_202A_200C_200C_202D_202C_202A_206E_206B_200D_206B_202E_206D_202E_202E(); + return; + case 2: + return; + case 6: + return; + case 4: + num = -1083928698; + break; + case 5: + num = ((!IsAwaitingConfirmation) ? (-1083928703) : (-1083928702)); + break; + case 1: + num = (_yesNoArmed ? (-1083928701) : (-1083928703)); + break; + } } - _pendingPurchase = new GrandCompanyPurchaseRequest + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool StartPurchase(uint itemId, int rankTabIndex, int categoryTabIndex, int quantity) + { + int num = ((!IsOpen) ? 1313706852 : 1313706855); + while (true) { - ItemId = itemId, - RankTabIndex = rankTabIndex, - CategoryTabIndex = categoryTabIndex - }; - _navigationStep = 0; - _lastActionTime = DateTime.MinValue; - _pluginLog.Information($"[GCShop] Starting purchase of item {itemId}"); - return true; + int num2 = num; + int num3 = 1313706853; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1313706855; + break; + case 1: + return false; + case 3: + { + _pendingPurchase = new GrandCompanyPurchaseRequest + { + ItemId = itemId, + RankTabIndex = rankTabIndex, + CategoryTabIndex = categoryTabIndex, + DesiredQuantity = quantity + }; + _navigationStep = 0; + _lastActionMs = 0L; + _itemCountBeforePurchase = -1; + IPluginLog pluginLog = _pluginLog; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(37, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(243895174)); + defaultInterpolatedStringHandler.AppendFormatted(quantity); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1293415020)); + defaultInterpolatedStringHandler.AppendFormatted(itemId); + _202B_202B_202A_206C_206D_206F_200F_202B_202B_200B_200D_200B_200F_202A_202D_200B_202C_202C_200D_202D_202D_206F_200B_206D_202C_200D_202B_206E_202D_202C_202C_202A_200F_200C_200B_206C_200E_202E_202A_206A_202E(pluginLog, defaultInterpolatedStringHandler.ToStringAndClear(), Array.Empty()); + return true; + } + case 2: + num = ((_pendingPurchase == null) ? 1313706854 : 1313706852); + break; + } + } } public void CancelPurchase() { - _pendingPurchase = null; - IsAwaitingConfirmation = false; - _navigationStep = 0; + uint? num = _pendingPurchase?.ItemId; + ResetPurchaseState(); + int num2 = ((!num.HasValue) ? (-828309669) : (-828309670)); + while (true) + { + int num3 = num2; + int num4 = -828309669; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = -828309670; + break; + case 0: + return; + case 1: + { + EventHandler? eventHandler = this.PurchaseCompleted; + if (eventHandler == null) + { + return; + } + eventHandler(this, new PurchaseCompletedEventArgs(num.Value, success: false)); + num2 = -828309669; + break; + } + } + } } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe bool ProcessPurchase() { - if (_pendingPurchase == null || !IsOpen) + int num = ((_pendingPurchase == null) ? 636680118 : 636680125); + long num11 = default(long); + int num10 = default(int); + int num15 = default(int); + int maxHoldableQuantity = default(int); + int inventoryItemCount = default(int); + InventoryManager* ptr2 = default(InventoryManager*); + AtkUnitBase* addonPtr = default(AtkUnitBase*); + InventoryManager* ptr = default(InventoryManager*); + GrandCompanyItem grandCompanyItem = default(GrandCompanyItem); + int num12 = default(int); + int num9 = default(int); + while (true) { - return false; - } - if ((DateTime.Now - _lastActionTime).TotalMilliseconds < 600.0) - { - 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; - } - if (!_gameGui.TryGetAddonByName("GrandCompanyExchange", out var addonPtr) || !LAddon.IsAddonReady(addonPtr)) - { - return false; - } - switch (_navigationStep) - { - case 0: - FireCallback(addonPtr, 1, _pendingPurchase.RankTabIndex); - _navigationStep++; - _lastActionTime = DateTime.Now; - break; - case 1: - FireCallback(addonPtr, 2, _pendingPurchase.CategoryTabIndex); - _navigationStep++; - _lastActionTime = DateTime.Now; - break; - case 2: - { - GrandCompanyItem grandCompanyItem = FindItemInShop(addonPtr, _pendingPurchase.ItemId); - if (grandCompanyItem != null) + int num2 = num; + int num3 = 636680111; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num8; + int num7; + int navigationStep2; + int num16; + int num17; + int navigationStep3; + int num18; + int num19; + switch (num5 - (num6 + num6)) { - _pluginLog.Information($"[GCShop] Found item {grandCompanyItem.ItemId} at index {grandCompanyItem.Index}, purchasing..."); - FirePurchaseCallback(addonPtr, grandCompanyItem); + default: + continue; + case 13: + num11 = _202E_202B_202B_206F_200E_200E_202E_206D_200E_206F_200F_206E_200B_206D_206A_206E_206D_202B_200C_200F_206C_202C_202E_202D_206A_200E_202A_200C_200C_202D_202C_202A_206E_206B_200D_206B_202E_206D_202E_202E() - _lastActionMs; + num = ((num11 >= 100) ? 636680076 : 636680104); + continue; + case 1: + { + IPluginLog pluginLog3 = _pluginLog; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(61, 4); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-2005174402)); + defaultInterpolatedStringHandler3.AppendFormatted(_pendingPurchase.ItemId); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-2111689734)); + defaultInterpolatedStringHandler3.AppendFormatted(num10); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-356398602)); + defaultInterpolatedStringHandler3.AppendFormatted(num15); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-967737798)); + defaultInterpolatedStringHandler3.AppendFormatted(maxHoldableQuantity); + _200E_202D_200D_200E_202A_200F_202D_206A_206A_200E_202B_206F_202C_200F_206F_206D_200C_202D_200B_206F_206E_200F_200C_206B_200D_206C_206B_200F_200F_206C_200C_202B_206D_200F_202A_202D_200D_206C_202E_206C_202E(pluginLog3, defaultInterpolatedStringHandler3.ToStringAndClear(), Array.Empty()); + CancelPurchase(); + num = 636680108; + continue; + } + case 8: + num = 636680108; + continue; + case 35: + num = ((num11 < 3000) ? 636680117 : 636680114); + continue; + case 18: + num = (IsOpen ? 636680123 : 636680118); + continue; + case 30: + num = ((_navigationStep != 0) ? 636680074 : 636680079); + continue; + case 2: + switch (_navigationStep) + { + case 2: + goto IL_048f; + case 0: + goto IL_0509; + case 1: + goto IL_0597; + case 3: + goto end_IL_003b; + } + num = 636680103; + continue; + case 29: + { + IPluginLog pluginLog5 = _pluginLog; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler5 = new DefaultInterpolatedStringHandler(66, 1); + defaultInterpolatedStringHandler5.AppendLiteral(global::_003CModule_003E._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(-47133297)); + defaultInterpolatedStringHandler5.AppendFormatted(3000); + defaultInterpolatedStringHandler5.AppendLiteral(global::_003CModule_003E._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(1573770018)); + _200E_202D_200D_200E_202A_200F_202D_206A_206A_200E_202B_206F_202C_200F_206F_206D_200C_202D_200B_206F_206E_200F_200C_206B_200D_206C_206B_200F_200F_206C_200C_202B_206D_200F_202A_202D_200D_206C_202E_206C_202E(pluginLog5, defaultInterpolatedStringHandler5.ToStringAndClear(), Array.Empty()); + CancelPurchase(); + return false; + } + case 9: + { + IPluginLog pluginLog4 = _pluginLog; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(32, 1); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(-701323076)); + defaultInterpolatedStringHandler4.AppendFormatted(_pendingPurchase.ItemId); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(-229047175)); + _200E_202D_200D_200E_202A_200F_202D_206A_206A_200E_202B_206F_202C_200F_206F_206D_200C_202D_200B_206F_206E_200F_200C_206B_200D_206C_206B_200F_200F_206C_200C_202B_206D_200F_202A_202D_200D_206C_202E_206C_202E(pluginLog4, defaultInterpolatedStringHandler4.ToStringAndClear(), Array.Empty()); + CancelPurchase(); + num = 636680108; + continue; + } + case 14: + inventoryItemCount = ptr2->GetInventoryItemCount(_pendingPurchase.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); + num = ((inventoryItemCount < _pendingPurchase.DesiredQuantity) ? 636680074 : 636680105); + continue; + case 20: + ptr2 = InventoryManager.Instance(); + num = ((ptr2 == null) ? 636680074 : 636680113); + continue; + case 26: + num = ((_navigationStep != 2) ? 636680127 : 636680106); + continue; + case 7: + return false; + case 6: + { + IPluginLog pluginLog = _pluginLog; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(37, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(848483749)); + defaultInterpolatedStringHandler.AppendFormatted(inventoryItemCount); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(245261652)); + defaultInterpolatedStringHandler.AppendFormatted(_pendingPurchase.ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1873420954)); + defaultInterpolatedStringHandler.AppendFormatted(_pendingPurchase.DesiredQuantity); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2066276253)); + _202B_202B_202A_206C_206D_206F_200F_202B_202B_200B_200D_200B_200F_202A_202D_200B_202C_202C_200D_202D_202D_206F_200B_206D_202C_200D_202B_206E_202D_202C_202C_202A_200F_200C_200B_206C_200E_202E_202A_206A_202E(pluginLog, defaultInterpolatedStringHandler.ToStringAndClear(), Array.Empty()); + uint itemId = _pendingPurchase.ItemId; + ResetPurchaseState(); + EventHandler? eventHandler = this.PurchaseCompleted; + if (eventHandler == null) + { + goto case 27; + } + eventHandler(this, new PurchaseCompletedEventArgs(itemId, success: true)); + num = 636680116; + continue; + } + case 32: + num = ((_itemCountBeforePurchase != -1) ? 636680074 : 636680097); + continue; + case 19: + goto IL_048f; + case 37: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1848412387), out addonPtr)) ? 636680112 : 636680101); + continue; + case 4: + return false; + case 11: + num8 = 0; + goto IL_07ab; + case 22: + goto IL_0509; + case 28: + ptr = InventoryManager.Instance(); + num = ((ptr != null) ? 636680096 : 636680122); + continue; + case 34: + num = 636680125; + continue; + case 33: + goto IL_0597; + case 17: + num = ((!_awaitingAddonReady) ? 636680109 : 636680098); + continue; + case 36: + { + IPluginLog pluginLog2 = _pluginLog; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(61, 4); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(979872393)); + defaultInterpolatedStringHandler2.AppendFormatted(grandCompanyItem.ItemId); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(2094782171)); + defaultInterpolatedStringHandler2.AppendFormatted(grandCompanyItem.Index); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(889356428)); + defaultInterpolatedStringHandler2.AppendFormatted(num12); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-326512158)); + defaultInterpolatedStringHandler2.AppendFormatted(num9); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-361921312)); + _202B_202B_202A_206C_206D_206F_200F_202B_202B_200B_200D_200B_200F_202A_202D_200B_202C_202C_200D_202D_202D_206F_200B_206D_202C_200D_202B_206E_202D_202C_202C_202A_200F_200C_200B_206C_200E_202E_202A_206A_202E(pluginLog2, defaultInterpolatedStringHandler2.ToStringAndClear(), Array.Empty()); + FirePurchaseCallback(addonPtr, grandCompanyItem, num12); IsAwaitingConfirmation = true; - _navigationStep++; - _lastActionTime = DateTime.Now; + int navigationStep = _navigationStep; + num3 = 1; + num4 = navigationStep; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + _navigationStep = num13 + (num14 + num14); + _lastActionMs = _202E_202B_202B_206F_200E_200E_202E_206D_200E_206F_200F_206E_200B_206D_206A_206E_206D_202B_200C_200F_206C_202C_202E_202D_206A_200E_202A_200C_200C_202D_202C_202A_206E_206B_200D_206B_202E_206D_202E_202E(); + num = 636680108; + continue; } - else - { - _pluginLog.Warning($"[GCShop] Item {_pendingPurchase.ItemId} not found in shop"); - _lastActionTime = DateTime.Now; - } - 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)); + case 21: + num7 = 0; + goto IL_0814; + case 25: + return false; + case 5: + num = ((GetAtkValueInt(addonPtr, 1) > 0) ? 636680127 : 636680107); + continue; + case 12: + _pendingPurchase.InitialCount = num9; + num = 636680119; + continue; + case 31: + return false; + case 27: return true; + case 24: + _itemCountBeforePurchase = num9; + num10 = _pendingPurchase.DesiredQuantity - (num9 - _pendingPurchase.InitialCount); + num = ((grandCompanyItem.SealCost != 0) ? 636680120 : 636680100); + continue; + case 23: + num8 = GetCompanySeals() / (int)grandCompanyItem.SealCost; + goto IL_07ab; + case 15: + num7 = ptr->GetInventoryItemCount(_pendingPurchase.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); + goto IL_0814; + case 3: + return false; + case 10: + num = (LAddon.IsAddonReady(addonPtr) ? 636680126 : 636680112); + continue; + case 16: + _awaitingAddonReady = false; + num = 636680109; + continue; + case 0: + break; + IL_048f: + grandCompanyItem = FindItemInShop(addonPtr, _pendingPurchase.ItemId); + num = ((grandCompanyItem == null) ? 636680102 : 636680115); + continue; + IL_0814: + num9 = num7; + num = ((_pendingPurchase.InitialCount != -1) ? 636680119 : 636680099); + continue; + IL_07ab: + num15 = num8; + maxHoldableQuantity = InventoryHelper.GetMaxHoldableQuantity(_pendingPurchase.ItemId, _itemSheet); + num12 = _200D_206A_206D_200D_206A_200C_206A_200C_206A_200B_206B_206C_200B_206D_202C_206F_206D_202A_206A_202A_206C_200B_200C_206A_202E_200B_206A_200E_200C_206B_206B_206E_200D_200D_202E_206A_200F_202B_200E_202A_202E(_200D_206A_206D_200D_206A_200C_206A_200C_206A_200B_206B_206C_200B_206D_202C_206F_206D_202A_206A_202A_206C_200B_200C_206A_202E_200B_206A_200E_200C_206B_206B_206E_200D_200D_202E_206A_200F_202B_200E_202A_202E(num10, 99), _200D_206A_206D_200D_206A_200C_206A_200C_206A_200B_206B_206C_200B_206D_202C_206F_206D_202A_206A_202A_206C_200B_200C_206A_202E_200B_206A_200E_200C_206B_206B_206E_200D_200D_202E_206A_200F_202B_200E_202A_202E(num15, maxHoldableQuantity)); + num = ((num12 > 0) ? 636680075 : 636680110); + continue; + IL_0597: + AddonCallback.Fire(addonPtr, 2, _pendingPurchase.CategoryTabIndex); + navigationStep2 = _navigationStep; + num3 = 1; + num4 = navigationStep2; + num16 = num4 ^ num3; + num17 = num4 & num3; + _navigationStep = num16 + (num17 + num17); + _lastActionMs = _202E_202B_202B_206F_200E_200E_202E_206D_200E_206F_200F_206E_200B_206D_206A_206E_206D_202B_200C_200F_206C_202C_202E_202D_206A_200E_202A_200C_200C_202D_202C_202A_206E_206B_200D_206B_202E_206D_202E_202E(); + _awaitingAddonReady = true; + num = 636680108; + continue; + IL_0509: + AddonCallback.Fire(addonPtr, 1, _pendingPurchase.RankTabIndex); + navigationStep3 = _navigationStep; + num3 = 1; + num4 = navigationStep3; + num18 = num4 ^ num3; + num19 = num4 & num3; + _navigationStep = num18 + (num19 + num19); + _lastActionMs = _202E_202B_202B_206F_200E_200E_202E_206D_200E_206F_200F_206E_200B_206D_206A_206E_206D_202B_200C_200F_206C_202C_202E_202D_206A_200E_202A_200C_200C_202D_202C_202A_206E_206B_200D_206B_202E_206D_202E_202E(); + _awaitingAddonReady = true; + num = 636680108; + continue; + end_IL_003b: + break; } break; } - return false; + return WaitForPurchaseCompletion(); } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void CloseShop() { - if (IsOpen && _gameGui.TryGetAddonByName("GrandCompanyExchange", out var addonPtr)) + int num = (IsOpen ? (-576018868) : (-576018870)); + AtkUnitBase* addonPtr = default(AtkUnitBase*); + while (true) { - addonPtr->Close(fireCallback: true); + int num2 = num; + int num3 = -576018872; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + addonPtr->Close(fireCallback: true); + num = -576018869; + break; + case 3: + return; + case 2: + return; + case 0: + num = -576018870; + break; + case 4: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(1178205757), out addonPtr)) ? (-576018869) : (-576018871)); + break; + } } } public unsafe static int GetCompanySeals() { - return (int)InventoryManager.Instance()->GetCompanySeals(PlayerState.Instance()->GrandCompany); + InventoryManager* ptr = InventoryManager.Instance(); + PlayerState* ptr2 = PlayerState.Instance(); + int num = ((ptr == null) ? 1253116757 : 1253116759); + while (true) + { + int num2 = num; + int num3 = 1253116758; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return 0; + case 1: + num = ((ptr2 != null) ? 1253116758 : 1253116757); + break; + case 2: + num = 1253116759; + break; + case 0: + return (int)ptr->GetCompanySeals(ptr2->GrandCompany); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe ReadOnlyCollection GetAvailableItems() + { + int num = ((!IsOpen) ? 1134948284 : 1134948272); + int atkValueInt2 = default(int); + AtkUnitBase* addonPtr = default(AtkUnitBase*); + List list2 = default(List); + int num6 = default(int); + int atkValueInt = default(int); + while (true) + { + int num2 = num; + int num3 = 1134948277; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + atkValueInt2 = GetAtkValueInt(addonPtr, 1); + list2 = new List(atkValueInt2); + num6 = 0; + num = 1134948277; + break; + case 2: + num = (LAddon.IsAddonReady(addonPtr) ? 1134948274 : 1134948284); + break; + case 4: + return list2.AsReadOnly(); + case 3: + { + AtkUnitBase* addon = addonPtr; + num3 = num6; + num4 = 317; + atkValueInt = GetAtkValueInt(addon, (num4 | num3) + (num4 & num3)); + num = ((atkValueInt <= 0) ? 1134948276 : 1134948275); + break; + } + case 9: + return EmptyItems; + case 8: + num = 1134948272; + break; + case 0: + num = ((num6 < atkValueInt2) ? 1134948278 : 1134948273); + break; + case 6: + { + List list = list2; + GrandCompanyItem obj = new GrandCompanyItem + { + Index = num6, + ItemId = (uint)atkValueInt + }; + AtkUnitBase* addon2 = addonPtr; + num3 = num6; + num4 = 167; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + obj.IconId = (uint)GetAtkValueInt(addon2, num7 + (num8 + num8)); + AtkUnitBase* addon3 = addonPtr; + num3 = num6; + num4 = 67; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + obj.SealCost = (uint)GetAtkValueInt(addon3, num9 + (num10 + num10)); + list.Add(obj); + num = 1134948276; + break; + } + case 5: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(1178205757), out addonPtr)) ? 1134948284 : 1134948279); + break; + case 1: + { + int num5 = num6; + num3 = 1; + num4 = num5; + num6 = (num4 | num3) + (num4 & num3); + num = 1134948277; + break; + } + } + } } private unsafe static GrandCompanyItem? FindItemInShop(AtkUnitBase* addon, uint targetItemId) { int atkValueInt = GetAtkValueInt(addon, 1); - if (atkValueInt <= 0) + int num = ((atkValueInt > 0) ? 1303324821 : 1303324817); + int num5 = default(int); + int atkValueInt2 = default(int); + while (true) { - return null; - } - for (int i = 0; i < atkValueInt; i++) - { - int atkValueInt2 = GetAtkValueInt(addon, 317 + i); - if (atkValueInt2 == (int)targetItemId) + int num2 = num; + int num3 = 1303324819; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - return new GrandCompanyItem + case 4: + return null; + case 2: + return null; + case 0: + num = 1303324817; + break; + case 1: + { + int num8 = num5; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num5 = num9 + (num10 + num10); + num = 1303324816; + break; + } + case 3: + num = ((num5 < atkValueInt) ? 1303324822 : 1303324823); + break; + case 6: + num5 = 0; + num = 1303324816; + break; + case 7: + { + GrandCompanyItem obj = new GrandCompanyItem { - Index = i, - ItemId = (uint)atkValueInt2, - IconId = (uint)GetAtkValueInt(addon, 167 + i), - SealCost = (uint)GetAtkValueInt(addon, 67 + i) + Index = num5, + ItemId = (uint)atkValueInt2 }; + num3 = num5; + num4 = 167; + int num11 = num4 ^ num3; + int num12 = num4 & num3; + obj.IconId = (uint)GetAtkValueInt(addon, num11 + (num12 + num12)); + num3 = num5; + num4 = 67; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + obj.SealCost = (uint)GetAtkValueInt(addon, num13 + (num14 + num14)); + return obj; + } + case 5: + { + num3 = num5; + num4 = 317; + int num6 = num4 ^ num3; + int num7 = num4 & num3; + atkValueInt2 = GetAtkValueInt(addon, num6 + (num7 + num7)); + num = ((atkValueInt2 != (int)targetItemId) ? 1303324818 : 1303324820); + break; + } } } - return null; } - private unsafe void FireCallback(AtkUnitBase* addon, params int[] args) + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe bool WaitForPurchaseCompletion() { - AtkValue* ptr = stackalloc AtkValue[args.Length]; - for (int i = 0; i < args.Length; i++) + long num = _202E_202B_202B_206F_200E_200E_202E_206D_200E_206F_200F_206E_200B_206D_206A_206E_206D_202B_200C_200F_206C_202C_202E_202D_206A_200E_202A_200C_200C_202D_202C_202A_206E_206B_200D_206B_202E_206D_202E_202E() - _lastActionMs; + int num2 = ((!IsAwaitingConfirmation) ? 1518393876 : 1518393882); + int num8 = default(int); + InventoryManager* ptr = default(InventoryManager*); + while (true) { - ptr[i].Type = AtkValueType.Int; - ptr[i].Int = args[i]; + int num3 = num2; + int num4 = 1518393887; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 2: + num2 = 1518393882; + break; + case 7: + return false; + case 8: + { + IPluginLog pluginLog3 = _pluginLog; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(33, 2); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(32368461)); + defaultInterpolatedStringHandler3.AppendFormatted(num8); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(640094798)); + defaultInterpolatedStringHandler3.AppendFormatted(_pendingPurchase.ItemId); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-1848110280)); + _202B_202B_202A_206C_206D_206F_200F_202B_202B_200B_200D_200B_200F_202A_202D_200B_202C_202C_200D_202D_202D_206F_200B_206D_202C_200D_202B_206E_202D_202C_202C_202A_200F_200C_200B_206C_200E_202E_202A_206A_202E(pluginLog3, defaultInterpolatedStringHandler3.ToStringAndClear(), Array.Empty()); + uint itemId = _pendingPurchase.ItemId; + int quantityPurchased = num8; + ResetPurchaseState(); + EventHandler? eventHandler = this.PurchaseCompleted; + if (eventHandler == null) + { + goto case 4; + } + eventHandler(this, new PurchaseCompletedEventArgs(itemId, success: true, quantityPurchased)); + num2 = 1518393883; + break; + } + case 3: + return false; + case 0: + _200E_202D_200D_200E_202A_200F_202D_206A_206A_200E_202B_206F_202C_200F_206F_206D_200C_202D_200B_206F_206E_200F_200C_206B_200D_206C_206B_200F_200F_206C_200C_202B_206D_200F_202A_202D_200D_206C_202E_206C_202E(_pluginLog, global::_003CModule_003E._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(201100359), Array.Empty()); + CancelPurchase(); + num2 = 1518393880; + break; + case 4: + return true; + case 11: + ptr = InventoryManager.Instance(); + num2 = ((ptr == null) ? 1518393878 : 1518393886); + break; + case 10: + { + IPluginLog pluginLog = _pluginLog; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(65, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-504508394)); + defaultInterpolatedStringHandler.AppendFormatted(3000); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(222200661)); + _200E_202D_200D_200E_202A_200F_202D_206A_206A_200E_202B_206F_202C_200F_206F_206D_200C_202D_200B_206F_206E_200F_200C_206B_200D_206C_206B_200F_200F_206C_200C_202B_206D_200F_202A_202D_200D_206C_202E_206C_202E(pluginLog, defaultInterpolatedStringHandler.ToStringAndClear(), Array.Empty()); + CancelPurchase(); + num2 = 1518393884; + break; + } + case 5: + num2 = ((num < 3000) ? 1518393880 : 1518393887); + break; + case 9: + num2 = ((num < 3000) ? 1518393884 : 1518393877); + break; + case 1: + num2 = ((ptr->GetInventoryItemCount(_pendingPurchase.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) <= _itemCountBeforePurchase) ? 1518393878 : 1518393875); + break; + case 6: + { + IPluginLog pluginLog2 = _pluginLog; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(48, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(2052935036)); + defaultInterpolatedStringHandler2.AppendFormatted(num8); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1145280286)); + defaultInterpolatedStringHandler2.AppendFormatted(_pendingPurchase.DesiredQuantity); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-413392469)); + _202B_202B_202A_206C_206D_206F_200F_202B_202B_200B_200D_200B_200F_202A_202D_200B_202C_202C_200D_202D_202D_206F_200B_206D_202C_200D_202B_206E_202D_202C_202C_202A_200F_200C_200B_206C_200E_202E_202A_206A_202E(pluginLog2, defaultInterpolatedStringHandler2.ToStringAndClear(), Array.Empty()); + _navigationStep = 2; + _lastActionMs = _202E_202B_202B_206F_200E_200E_202E_206D_200E_206F_200F_206E_200B_206D_206A_206E_206D_202B_200C_200F_206C_202C_202E_202D_206A_200E_202A_200C_200C_202D_202C_202A_206E_206B_200D_206B_202E_206D_202E_202E(); + _awaitingAddonReady = true; + return false; + } + case 12: + num8 = ptr->GetInventoryItemCount(_pendingPurchase.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) - _pendingPurchase.InitialCount; + num2 = ((num8 < _pendingPurchase.DesiredQuantity) ? 1518393881 : 1518393879); + break; + } } - addon->FireCallback((uint)args.Length, ptr); } - 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; + ptr->Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int; ptr->Int = 0; - ptr[1].Type = AtkValueType.Int; + ptr[1].Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int; ptr[1].Int = item.Index; - ptr[2].Type = AtkValueType.Int; - ptr[2].Int = 1; - ptr[3].Type = AtkValueType.Int; + ptr[2].Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int; + ptr[2].Int = quantity; + ptr[3].Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int; ptr[3].Int = 0; - ptr[4].Type = AtkValueType.Int; + ptr[4].Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int; ptr[4].Int = 0; - ptr[5].Type = AtkValueType.Int; + ptr[5].Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int; ptr[5].Int = 0; - ptr[6].Type = AtkValueType.UInt; + ptr[6].Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.UInt; ptr[6].UInt = item.ItemId; - ptr[7].Type = AtkValueType.UInt; + ptr[7].Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.UInt; ptr[7].UInt = item.IconId; - ptr[8].Type = AtkValueType.UInt; + ptr[8].Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.UInt; ptr[8].UInt = item.SealCost; 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) + int num = ((addon == null) ? (-57715483) : (-57715477)); + int result = default(int); + AtkValue atkValue = default(AtkValue); + while (true) { - return -1; + int num2 = num; + int num3 = -57715475; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 7: + num = ((index < addon->AtkValuesCount) ? (-57715474) : (-57715483)); + continue; + case 6: + num = ((addon->AtkValues == null) ? (-57715483) : (-57715476)); + continue; + case 10: + result = ((atkValue.Byte != 0) ? 1 : 0); + num = -57715480; + continue; + case 2: + goto IL_00c7; + case 3: + atkValue = addon->AtkValues[index]; + switch (atkValue.Type) + { + case FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Bool: + break; + case FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int64: + goto IL_00c7; + default: + goto IL_0109; + case FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.UInt: + goto IL_0140; + case FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int: + goto end_IL_0033; + } + goto case 10; + case 5: + return result; + case 8: + return -1; + case 1: + num = ((index < 0) ? (-57715483) : (-57715478)); + continue; + case 0: + num = -57715477; + continue; + case 11: + goto IL_0140; + case 4: + num = -57715473; + continue; + case 9: + break; + IL_0140: + result = (int)atkValue.UInt; + num = -57715480; + continue; + IL_0109: + num = -57715479; + continue; + IL_00c7: + result = -1; + num = -57715480; + continue; + end_IL_0033: + break; + } + result = atkValue.Int; + num = -57715480; } - AtkValue atkValue = addon->AtkValues[index]; - return atkValue.Type switch - { - AtkValueType.Int => atkValue.Int, - AtkValueType.UInt => (int)atkValue.UInt, - AtkValueType.Bool => (atkValue.Byte != 0) ? 1 : 0, - _ => -1, - }; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Dispose() { - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "GrandCompanyExchange", OnShopPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PreFinalize, "GrandCompanyExchange", OnShopPreFinalize); - _addonLifecycle.UnregisterListener(AddonEvent.PostUpdate, "SelectYesno", OnSelectYesNoPostUpdate); + _206D_206E_206A_202D_202B_206F_202D_206F_206F_200E_202A_206E_200C_202D_202D_200F_200E_202D_202E_202E_206A_202C_200F_202A_202E_200B_206F_202E_206E_206A_206A_206A_202D_206C_200E_200D_206F_206E_202C_206D_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-238810398), (IAddonLifecycle.AddonEventDelegate)OnShopPostSetup); + _206D_206E_206A_202D_202B_206F_202D_206F_206F_200E_202A_206E_200C_202D_202D_200F_200E_202D_202E_202E_206A_202C_200F_202A_202E_200B_206F_202E_206E_206A_206A_206A_202D_206C_200E_200D_206F_206E_202C_206D_202E(_addonLifecycle, AddonEvent.PreFinalize, global::_003CModule_003E._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(1178205757), (IAddonLifecycle.AddonEventDelegate)OnShopPreFinalize); + _206D_206E_206A_202D_202B_206F_202D_206F_206F_200E_202A_206E_200C_202D_202D_200F_200E_202D_202E_202E_206A_202C_200F_202A_202E_200B_206F_202E_206E_206A_206A_206A_202D_206C_200E_200D_206F_206E_202C_206D_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(423301839), (IAddonLifecycle.AddonEventDelegate)OnSelectYesNoPostSetup); + _206D_206E_206A_202D_202B_206F_202D_206F_206F_200E_202A_206E_200C_202D_202D_200F_200E_202D_202E_202E_206A_202C_200F_202A_202E_200B_206F_202E_206E_206A_206A_206A_202D_206C_200E_200D_206F_206E_202C_206D_202E(_addonLifecycle, AddonEvent.PostUpdate, global::_003CModule_003E._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(423301839), (IAddonLifecycle.AddonEventDelegate)OnSelectYesNoPostUpdate); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _206D_202D_200F_202D_200D_206A_200F_206C_202D_202C_200F_200D_206D_206E_206B_200D_202A_200D_206E_206A_206C_200D_206F_200F_206D_200C_200D_200F_206E_200F_206A_200C_206B_206B_202B_202E_206D_200B_200B_206A_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static void _202A_206B_206F_206E_202E_206A_202B_202C_200E_202A_200C_200C_200B_200E_206B_202E_202E_202C_200B_202D_206F_206A_206C_206F_200B_206A_206A_202B_206F_206B_200B_206A_200C_206B_202E_206E_200F_202E_200E_200D_202E(IAddonLifecycle P_0, AddonEvent P_1, string P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.RegisterListener(P_1, P_2, P_3); + } + + static Delegate _202E_202C_206F_200C_202C_206D_202A_206E_206B_200B_200F_202B_200F_206C_200F_200F_202E_200C_200E_206D_206B_202B_206A_202A_202D_202A_200D_200E_206F_206C_200D_202C_200C_206D_200B_206E_206C_206E_202E_206B_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Combine(P_0, P_1); + } + + static Delegate _200B_200F_200D_200E_200E_206D_200C_206C_206F_200B_202C_202C_206F_202C_202B_206D_206A_202B_206C_202C_206E_200C_200D_202E_200D_202A_202A_200B_202C_202B_206B_200F_206B_200E_206A_206C_200F_200D_200F_206D_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Remove(P_0, P_1); + } + + static void _200D_206E_200E_202C_202B_202B_206B_206D_206F_202E_200E_206D_202C_206C_200D_200C_206F_206C_206F_202C_206C_200E_202D_202D_202A_200B_202E_206C_206D_200F_206A_200C_202A_202D_202A_206B_200B_200E_200C_202C_202E(IPluginLog P_0, string P_1, object[] P_2) + { + P_0.Debug(P_1, P_2); + } + + static AtkUnitBasePtr _206F_202E_200B_202E_206B_206B_206B_202A_200C_206C_202D_200C_202E_200C_202D_202E_202E_206B_206B_206D_206E_202D_206F_206B_200D_200C_206F_202D_206B_202E_206E_202E_202C_200F_202E_206A_202A_202A_200F_206D_202E(AddonArgs P_0) + { + return P_0.Addon; + } + + static void _202B_202B_202A_206C_206D_206F_200F_202B_202B_200B_200D_200B_200F_202A_202D_200B_202C_202C_200D_202D_202D_206F_200B_206D_202C_200D_202B_206E_202D_202C_202C_202A_200F_200C_200B_206C_200E_202E_202A_206A_202E(IPluginLog P_0, string P_1, object[] P_2) + { + P_0.Information(P_1, P_2); + } + + static long _202E_202B_202B_206F_200E_200E_202E_206D_200E_206F_200F_206E_200B_206D_206A_206E_206D_202B_200C_200F_206C_202C_202E_202D_206A_200E_202A_200C_200C_202D_202C_202A_206E_206B_200D_206B_202E_206D_202E_202E() + { + return Environment.TickCount64; + } + + static void _200E_202D_200D_200E_202A_200F_202D_206A_206A_200E_202B_206F_202C_200F_206F_206D_200C_202D_200B_206F_206E_200F_200C_206B_200D_206C_206B_200F_200F_206C_200C_202B_206D_200F_202A_202D_200D_206C_202E_206C_202E(IPluginLog P_0, string P_1, object[] P_2) + { + P_0.Warning(P_1, P_2); + } + + static int _200D_206A_206D_200D_206A_200C_206A_200C_206A_200B_206B_206C_200B_206D_202C_206F_206D_202A_206A_202A_206C_200B_200C_206A_202E_200B_206A_200E_200C_206B_206B_206E_200D_200D_202E_206A_200F_202B_200E_202A_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static void _206D_206E_206A_202D_202B_206F_202D_206F_206F_200E_202A_206E_200C_202D_202D_200F_200E_202D_202E_202E_206A_202C_200F_202A_202E_200B_206F_202E_206E_206A_206A_206A_202D_206C_200E_200D_206F_206E_202C_206D_202E(IAddonLifecycle P_0, AddonEvent P_1, string P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.UnregisterListener(P_1, P_2, P_3); } } diff --git a/LLib/LLib.Shop/IShopWindow.cs b/LLib/LLib.Shop/IShopWindow.cs index 11d971e3..3cf4d69c 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 00000000..85d481f4 --- /dev/null +++ b/LLib/LLib.Shop/NpcPositionCache.cs @@ -0,0 +1,1147 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Numerics; +using System.Runtime.CompilerServices; +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] + { + global::_003CModule_003E._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(-1908634427), + global::_003CModule_003E._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(-2021484130), + global::_003CModule_003E._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(-418261511), + global::_003CModule_003E._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(280692179) + }; + + 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 = _202C_200B_202B_202C_206D_206E_202B_202C_200B_206B_200C_206C_202A_200B_200F_202C_206B_200E_206A_206D_200F_200D_206B_206D_200B_200C_206D_200D_206F_202E_202A_206E_202B_206C_206D_200F_206C_200D_206A_206B_202E(); + + private volatile Dictionary? _cache; + + public bool IsBuilt => _cache != null; + + private string? CacheFilePath + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + int num = (_206B_202C_200C_202A_200C_202B_200D_206B_206D_206C_200C_206E_200D_202E_202C_206E_206F_200E_202B_200E_202A_206C_202E_200E_202E_202D_206A_206B_206B_200B_200B_202B_200D_202E_202E_206E_200F_202B_206A_202E(_options.CacheDirectory) ? (-1379965594) : (-1379965593)); + while (true) + { + int num2 = num; + int num3 = -1379965594; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return _202A_206E_206D_202D_206F_200F_206B_206D_206F_202C_206A_202B_200B_206F_206C_206B_200E_206A_206A_202B_206F_200D_200F_202C_206D_202B_200F_200E_200C_202B_206A_206F_206D_202B_206B_202B_206A_206D_206E_202A_202E(_options.CacheDirectory, global::_003CModule_003E._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(1995757655)); + case 1: + num = ((!_206B_202C_200C_202A_200C_202B_200D_206B_206D_206C_200C_206E_200D_202E_202C_206E_206F_200E_202B_200E_202A_206C_202E_200E_202E_202D_206A_206B_206B_200B_200B_202B_200D_202E_202E_206E_200F_202B_206A_202E(_options.GameVersion)) ? (-1379965596) : (-1379965594)); + break; + case 0: + return null; + case 3: + num = -1379965593; + break; + } + } + } + } + + 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; + int num = ((cache == null) ? (-89260434) : (-89260433)); + (ushort, Vector3, bool) value = default((ushort, Vector3, bool)); + while (true) + { + int num2 = num; + int num3 = -89260436; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return (value.Item1, value.Item2); + case 2: + return null; + case 3: + num = (cache.TryGetValue(npcId, out value) ? (-89260435) : (-89260434)); + break; + case 0: + num = -89260433; + break; + } + } + } + + public (ushort TerritoryId, Vector3 Position, bool FestivalOnly)? TryGetPlacement(uint npcId) + { + Dictionary cache = _cache; + int num = ((cache == null) ? 704628277 : 704628279); + (ushort, Vector3, bool) value = default((ushort, Vector3, bool)); + while (true) + { + int num2 = num; + int num3 = 704628276; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return value; + case 1: + return null; + case 3: + num = (cache.TryGetValue(npcId, out value) ? 704628278 : 704628277); + break; + case 0: + num = 704628279; + break; + } + } + } + + public bool TryLoadFromDisk() + { + int num = ((_cache == null) ? (-139769747) : (-139769746)); + while (true) + { + int num2 = num; + int num3 = -139769748; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0050; + case 2: + return true; + case 1: + { + object buildLock = _buildLock; + bool flag = false; + try + { + _200B_206A_200F_200D_200E_202A_200C_200E_206E_206B_206E_206A_202E_206E_206B_206F_200E_206B_206E_206D_202B_200D_202C_202A_206D_202A_202C_200C_206F_200F_206A_202D_206C_202A_200B_206A_202B_200E_206C_206D_202E(buildLock, ref flag); + num = ((_cache != null) ? (-1432120080) : (-1432120079)); + while (true) + { + int num7 = num; + num3 = -1432120080; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + num = -1432120079; + break; + case 1: + _cache = LoadFromDisk(); + num = -1432120080; + break; + case 0: + return _cache != null; + } + } + } + finally + { + num = ((!flag) ? 1654086869 : 1654086870); + while (true) + { + int num10 = num; + num3 = 1654086868; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 1: + goto end_IL_010f; + case 2: + _200D_200C_206C_202E_206E_206F_206F_202E_206A_200D_206B_202A_206D_200F_202D_206D_200E_200C_200D_202B_202B_206F_202C_202E_200B_206D_202E_206E_202E_202B_202B_200D_202D_206D_202E_200C_206A_206C_200F_202E_202E(buildLock); + num = 1654086869; + break; + case 0: + num = 1654086870; + break; + } + continue; + end_IL_010f: + break; + } + } + } + } + continue; + IL_0050: + num = -139769746; + } + } + + public void WarmUp(CancellationToken cancellationToken = default(CancellationToken)) + { + EnsureBuilt(cancellationToken); + } + + public (ushort TerritoryId, Vector3 Position)? GetPosition(uint npcId) + { + EnsureBuilt(); + (ushort, Vector3, bool) value; + int num = (_cache.TryGetValue(npcId, out value) ? (-2002474753) : (-2002474754)); + while (true) + { + int num2 = num; + int num3 = -2002474753; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0067; + case 1: + return null; + case 0: + return (value.Item1, value.Item2); + } + continue; + IL_0067: + num = -2002474754; + } + } + + public (ushort TerritoryId, Vector3 Position, bool FestivalOnly)? GetPlacement(uint npcId) + { + EnsureBuilt(); + (ushort, Vector3, bool) value; + int num = (_cache.TryGetValue(npcId, out value) ? 1062147025 : 1062147024); + while (true) + { + int num2 = num; + int num3 = 1062147025; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0067; + case 0: + return value; + case 1: + return null; + } + continue; + IL_0067: + num = 1062147024; + } + } + + public IReadOnlyCollection GetAllNpcIds() + { + EnsureBuilt(); + return _cache.Keys; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void EnsureBuilt(CancellationToken cancellationToken = default(CancellationToken)) + { + int num = ((_cache == null) ? 699426378 : 699426379); + Dictionary dictionary = default(Dictionary); + while (true) + { + int num2 = num; + int num3 = 699426378; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0050; + case 1: + return; + case 0: + { + object buildLock = _buildLock; + bool flag = false; + try + { + _200B_206A_200F_200D_200E_202A_200C_200E_206E_206B_206E_206A_202E_206E_206B_206F_200E_206B_206E_206D_202B_200D_202C_202A_206D_202A_202C_200C_206F_200F_206A_202D_206C_202A_200B_206A_202B_200E_206C_206D_202E(buildLock, ref flag); + num = ((_cache == null) ? 563419148 : 563419149); + while (true) + { + int num7 = num; + num3 = 563419150; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 563419149; + break; + case 2: + dictionary = LoadFromDisk(); + num = ((dictionary != null) ? 563419151 : 563419146); + break; + case 3: + return; + case 4: + dictionary = BuildNpcPositionCache(cancellationToken); + SaveToDisk(dictionary); + _202D_206F_206E_200E_200F_206F_206B_206A_202A_206E_206F_202B_206E_206E_202C_200F_202D_206B_206A_200F_206C_202D_202E_202C_200E_206A_200F_206B_202A_200D_202D_206D_206E_206B_200B_202C_206A_206B_202B_202A_202E((ILogger)_logger, global::_003CModule_003E._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(955007798), new object[1] { dictionary.Count }); + num = 563419151; + break; + case 1: + _cache = dictionary; + return; + } + } + } + finally + { + num = ((!flag) ? (-2036326357) : (-2036326358)); + while (true) + { + int num8 = num; + num3 = -2036326357; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + goto end_IL_016e; + case 1: + _200D_200C_206C_202E_206E_206F_206F_202E_206A_200D_206B_202A_206D_200F_202D_206D_200E_200C_200D_202B_202B_206F_202C_202E_200B_206D_202E_206E_202E_202B_202B_200D_202D_206D_202E_200C_206A_206C_200F_202E_202E(buildLock); + num = -2036326357; + break; + case 2: + num = -2036326358; + break; + } + continue; + end_IL_016e: + break; + } + } + } + } + continue; + IL_0050: + num = 699426379; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private Dictionary? LoadFromDisk() + { + string cacheFilePath = CacheFilePath; + int num = ((cacheFilePath == null) ? 923324017 : 923324018); + int num10 = default(int); + int num11 = default(int); + Dictionary dictionary = default(Dictionary); + while (true) + { + int num2 = num; + int num3 = 923324017; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 923324018; + break; + case 3: + num = (_202E_202B_206B_202B_202C_200E_206A_200B_200E_202C_202C_202A_202A_206A_202B_202C_202B_206A_206D_206F_200F_206E_206A_206B_202D_200E_202B_206E_202B_202B_200D_200F_202A_206C_200F_200F_200F_206E_200E_200F_202E(cacheFilePath) ? 923324016 : 923324017); + break; + case 0: + return null; + case 1: + try + { + BinaryReader binaryReader = _202C_206B_202E_200D_206B_202A_202D_202D_202D_202A_206A_200D_206C_200F_206B_200D_202B_206D_202C_202D_200E_200D_202A_206B_202B_200B_202B_202E_206F_206C_206D_200F_202D_200B_202E_202C_202D_200D_202D_206B_202E((Stream)_202C_206E_200B_206F_200F_202B_202A_206E_200D_206A_200F_200F_206D_206F_200F_206D_200C_202B_202C_202A_200F_202C_200D_200F_202B_200F_206F_202E_206D_200D_206C_200B_206E_202A_202E_202B_206F_200C_202A_200F_202E(cacheFilePath)); + try + { + num = ((_202B_202B_202D_202B_202B_202C_200F_202A_206F_202B_206C_206E_200D_206F_202C_202A_202C_202C_206D_206D_206B_202C_206C_202B_206B_202A_202A_206F_202E_206A_206D_200E_206C_200E_202B_200B_200C_202C_202A_200F_202E(binaryReader) != 1129336401) ? 1097724439 : 1097724435); + while (true) + { + int num7 = num; + num3 = 1097724436; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 4: + num = ((num10 < num11) ? 1097724433 : 1097724434); + break; + case 3: + _202D_206F_206E_200E_200F_206F_206B_206A_202A_206E_206F_202B_206E_206E_202C_200F_202D_206B_206A_200F_206C_202D_202E_202C_200E_206A_200F_206B_202A_200D_202D_206D_206E_206B_200B_202C_206A_206B_202B_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-1352529546), Array.Empty()); + num = 1097724444; + break; + case 9: + num11 = _206F_200B_200D_206A_200E_200E_200F_200D_206E_206A_200D_206E_206B_200B_200F_206D_200B_200C_202C_200C_200C_202D_206D_202D_202D_206A_200F_200C_200C_200C_200C_202B_200E_200C_202A_206D_202E_206B_206E_200F_202E(binaryReader); + dictionary = new Dictionary(num11); + num10 = 0; + num = 1097724432; + break; + case 2: + num = ((!_206D_202D_202D_206C_206E_206B_206E_206A_200B_202B_202A_202B_202E_202D_202A_200C_202D_202A_206F_206F_200D_202C_200E_202A_200C_206A_202E_202B_206A_202E_202C_206A_202E_206B_202A_202B_206F_206D_200E_200C_202E(_206D_202A_202D_200F_202E_202C_200C_200E_200D_202E_206F_202D_202A_200B_206B_206D_206B_202C_206B_206D_206F_206C_206B_200E_206E_206C_206C_200E_206F_200C_200B_206E_202A_200C_202C_200B_202E_200C_206E_200E_202E(binaryReader), _options.GameVersion)) ? 1097724445 : 1097724437); + break; + case 6: + _202D_206F_206E_200E_200F_206F_206B_206A_202A_206E_206F_202B_206E_206E_202C_200F_202D_206B_206A_200F_206C_202D_202E_202C_200E_206A_200F_206B_202A_200D_202D_206D_206E_206B_200B_202C_206A_206B_202B_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-922037796), new object[1] { dictionary.Count }); + return dictionary; + case 5: + { + uint key = _202B_202B_202D_202B_202B_202C_200F_202A_206F_202B_206C_206E_200D_206F_202C_202A_202C_202C_206D_206D_206B_202C_206C_202B_206B_202A_202A_206F_202E_206A_206D_200E_206C_200E_202B_200B_200C_202C_202A_200F_202E(binaryReader); + ushort item = _202C_200B_202A_202E_206C_200E_200F_206C_200E_202E_202A_206C_202B_202C_202D_202A_202B_206D_202C_202C_200E_202E_202A_202D_200C_200F_200F_202C_206C_206A_202B_206F_202A_202C_202A_202D_202C_200B_206F_202E_202E(binaryReader); + Vector3 item2 = new Vector3(_206F_200B_202B_206A_206B_206A_200B_202C_202D_200D_206B_200B_206B_202B_202D_206A_206F_200B_206A_200B_206F_202C_202A_200E_206E_206D_206E_202D_206B_200F_202E_202E_200B_206B_206F_202E_206D_200D_206A_200E_202E(binaryReader), _206F_200B_202B_206A_206B_206A_200B_202C_202D_200D_206B_200B_206B_202B_202D_206A_206F_200B_206A_200B_206F_202C_202A_200E_206E_206D_206E_202D_206B_200F_202E_202E_200B_206B_206F_202E_206D_200D_206A_200E_202E(binaryReader), _206F_200B_202B_206A_206B_206A_200B_202C_202D_200D_206B_200B_206B_202B_202D_206A_206F_200B_206A_200B_206F_202C_202A_200E_206E_206D_206E_202D_206B_200F_202E_202E_200B_206B_206F_202E_206D_200D_206A_200E_202E(binaryReader)); + bool item3 = _206A_200B_200D_200D_202C_202A_200B_206F_206D_202C_206C_202C_202B_202D_202C_202D_206F_200C_206E_200C_206E_200B_200F_202D_202A_200F_202E_202C_202B_206D_206A_206D_200B_200C_200B_200F_200F_202B_200C_206F_202E(binaryReader); + dictionary[key] = (item, item2, item3); + int num12 = num10; + num3 = 1; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + num10 = num13 + (num14 + num14); + num = 1097724432; + break; + } + case 1: + _202D_206F_206E_200E_200F_206F_206B_206A_202A_206E_206F_202B_206E_206E_202C_200F_202D_206B_206A_200F_206C_202D_202E_202C_200E_206A_200F_206B_202A_200D_202D_206D_206E_206B_200B_202C_206A_206B_202B_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-691142266), Array.Empty()); + num = 1097724444; + break; + case 0: + num = 1097724435; + break; + case 7: + num = ((_206F_200B_200D_206A_200E_200E_200F_200D_206E_206A_200D_206E_206B_200B_200F_206D_200B_200C_202C_200C_200C_202D_206D_202D_202D_206A_200F_200C_200C_200C_200C_202B_200E_200C_202A_206D_202E_206B_206E_200F_202E(binaryReader) == 1) ? 1097724438 : 1097724439); + break; + case 8: + goto end_IL_00bd; + } + continue; + end_IL_00bd: + break; + } + } + finally + { + num = ((binaryReader == null) ? (-215914217) : (-215914220)); + while (true) + { + int num15 = num; + num3 = -215914218; + num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 1: + goto end_IL_02b9; + case 2: + _206D_202C_200F_202A_200D_202A_206B_206D_202E_202D_200D_206B_202B_202D_200E_206F_202D_202A_202C_200D_202E_202D_206A_206E_206B_202D_200B_202C_206B_206A_202D_206E_202D_206A_206A_206F_206C_202B_200C_206A_202E((IDisposable)binaryReader); + num = -215914217; + break; + case 0: + num = -215914220; + break; + } + continue; + end_IL_02b9: + break; + } + } + } + catch (Exception ex) + { + _200F_202C_202E_206C_206C_202B_206C_202D_202D_206E_202B_202D_200E_206B_206B_200B_206B_202B_206B_200B_202E_202C_206A_206B_206E_202A_200D_202C_202A_200F_202C_202A_202A_206F_206F_200E_202C_202B_200D_206D_202E((ILogger)_logger, ex, global::_003CModule_003E._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(1077656609), Array.Empty()); + } + try + { + _202B_202E_202C_206C_206B_206F_202C_200E_206E_200B_202A_206F_202A_200D_206C_206B_200F_200B_200E_200F_206B_202A_202C_206D_202E_206B_206E_200F_206C_200B_202B_206A_202B_206E_206D_202A_200C_206A_202B_202B_202E(cacheFilePath); + } + catch (Exception) + { + } + return null; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void SaveToDisk(Dictionary cache) + { + string cacheFilePath = CacheFilePath; + int num = ((cacheFilePath != null) ? (-1878126128) : (-1878126125)); + while (true) + { + int num2 = num; + int num3 = -1878126126; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0053; + case 1: + return; + case 2: + try + { + _206A_200D_206F_206D_200C_202A_200C_202D_206E_206C_206D_206E_206D_202D_206B_202D_206C_202B_200F_202E_206C_206D_200F_202D_202E_206E_200B_202B_200F_200B_206C_200D_206B_200D_202A_202E_206C_206B_200F_202A_202E(_options.CacheDirectory); + string text = _200D_200D_206D_206D_206E_200C_200E_202B_206F_200B_200C_200E_200D_202B_206E_206C_200F_202E_206B_200F_206D_206B_200C_200F_200F_206D_202B_202E_202D_206D_200C_200E_200E_206A_202A_206C_200E_206F_202D_206C_202E(cacheFilePath, global::_003CModule_003E._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(236937827)); + BinaryWriter binaryWriter = _202E_206F_200E_206B_206A_206D_206D_200F_206A_202A_200D_200F_200D_202C_200C_200F_206F_202A_202E_202E_202C_202B_206E_206F_200F_200C_200F_200B_200F_206F_202E_200B_200E_206C_206A_202C_206F_202D_202B_206C_202E((Stream)_206D_206E_202B_200B_200B_202A_202D_206F_206C_206F_206F_202B_200F_200E_206E_206D_206A_202C_202E_200E_206F_202C_200F_200E_200B_202A_202A_200E_200F_202C_202A_200C_202E_206C_202C_200C_206C_202B_202A_206D_202E(text)); + try + { + _206F_202A_202B_206C_202E_200C_200B_200F_206D_200E_202D_202B_202D_206D_206B_206F_202D_200E_200C_200B_202E_200C_206E_200E_200E_200E_206E_206F_206F_206C_206F_200B_206E_206C_200E_202B_200F_200B_200D_206B_202E(binaryWriter, 1129336401u); + _200E_206C_202B_202B_200C_200B_200E_200D_200B_200D_206B_206E_202D_202A_206D_202D_200F_202A_200E_206E_200B_202C_206C_200C_200F_206B_202A_206D_206B_202C_206C_202B_206C_202A_202D_200F_206E_206D_206E_200F_202E(binaryWriter, 1); + _202A_202A_206F_206B_206A_200F_202D_206E_202D_206D_206D_202E_206A_202B_202D_202C_206E_202A_202A_202D_202E_202D_200C_202B_202A_206E_200C_200D_206B_206B_202A_200F_202B_202A_206C_202A_206B_202C_202B_206A_202E(binaryWriter, _options.GameVersion); + _200E_206C_202B_202B_200C_200B_200E_200D_200B_200D_206B_206E_202D_202A_206D_202D_200F_202A_200E_206E_200B_202C_206C_200C_200F_206B_202A_206D_206B_202C_206C_202B_206C_202A_202D_200F_206E_206D_206E_200F_202E(binaryWriter, cache.Count); + using Dictionary.Enumerator enumerator = cache.GetEnumerator(); + num = 177392188; + while (true) + { + int num7 = num; + num3 = 177392188; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = (enumerator.MoveNext() ? 177392189 : 177392190); + break; + case 1: + var (num11, tuple2) = (KeyValuePair)(ref enumerator.Current); + _206F_202A_202B_206C_202E_200C_200B_200F_206D_200E_202D_202B_202D_206D_206B_206F_202D_200E_200C_200B_202E_200C_206E_200E_200E_200E_206E_206F_206F_206C_206F_200B_206E_206C_200E_202B_200F_200B_200D_206B_202E(binaryWriter, num11); + _206E_200B_200E_200C_200B_206E_206A_200D_202D_202D_200E_202A_202A_202E_202D_206E_206B_206F_202B_206C_202B_202C_206C_206E_202C_206E_200D_200C_206A_206F_200F_206E_206A_202B_202C_200C_200D_202B_202A_200E_202E(binaryWriter, tuple2.Item1); + _200E_202D_206C_202B_202A_206B_200D_202D_200B_206F_202C_202A_200E_202A_202B_200B_200D_202E_206F_200C_202A_202C_202E_206C_206B_202D_202E_202E_200D_206B_200B_206E_200C_206C_200F_202A_200C_202D_206D_200F_202E(binaryWriter, tuple2.Item2.X); + _200E_202D_206C_202B_202A_206B_200D_202D_200B_206F_202C_202A_200E_202A_202B_200B_200D_202E_206F_200C_202A_202C_202E_206C_206B_202D_202E_202E_200D_206B_200B_206E_200C_206C_200F_202A_200C_202D_206D_200F_202E(binaryWriter, tuple2.Item2.Y); + _200E_202D_206C_202B_202A_206B_200D_202D_200B_206F_202C_202A_200E_202A_202B_200B_200D_202E_206F_200C_202A_202C_202E_206C_206B_202D_202E_202E_200D_206B_200B_206E_200C_206C_200F_202A_200C_202D_206D_200F_202E(binaryWriter, tuple2.Item2.Z); + _200F_206E_202A_202E_200C_202D_206D_202B_206B_200B_200B_202A_200C_206D_206E_200B_206F_202D_200C_206E_206C_202D_206A_206A_206F_202C_200B_200F_206F_202C_200D_200E_202C_206C_202B_202A_206B_200B_202E_202E_202E(binaryWriter, tuple2.Item3); + num = 177392188; + break; + case 3: + num = 177392188; + break; + case 2: + goto end_IL_00d1; + } + continue; + end_IL_00d1: + break; + } + } + finally + { + num = ((binaryWriter == null) ? (-2116583790) : (-2116583791)); + while (true) + { + int num12 = num; + num3 = -2116583789; + num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -2116583791; + break; + case 1: + goto end_IL_01e9; + case 2: + _206D_202C_200F_202A_200D_202A_206B_206D_202E_202D_200D_206B_202B_202D_200E_206F_202D_202A_202C_200D_202E_202D_206A_206E_206B_202D_200B_202C_206B_206A_202D_206E_202D_206A_206A_206F_206C_202B_200C_206A_202E((IDisposable)binaryWriter); + num = -2116583790; + break; + } + continue; + end_IL_01e9: + break; + } + } + _206C_206F_200E_206B_200F_202E_206D_206F_202D_206B_202B_202C_200B_200B_206C_200F_202D_202B_202B_202B_200E_206A_200E_206E_206E_200D_206C_200E_202B_202A_206F_200E_202B_202C_202B_206C_200D_200E_206D_202B_202E(text, cacheFilePath, true); + return; + } + catch (Exception ex) + { + _200F_202C_202E_206C_206C_202B_206C_202D_202D_206E_202B_202D_200E_206B_206B_200B_206B_202B_206B_200B_202E_202C_206A_206B_206E_202A_200D_202C_202A_200F_202C_202A_202A_206F_206F_200E_202C_202B_200D_206D_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-1457796029), Array.Empty()); + return; + } + } + continue; + IL_0053: + num = -1878126125; + } + } + + private Dictionary BuildNpcPositionCache(CancellationToken cancellationToken) + { + Dictionary dictionary = new Dictionary(); + HashSet hashSet = new HashSet(); + using (ExcelSheet.Enumerator enumerator = _dataManager.GetExcelSheet().GetEnumerator()) + { + int num = -1281480948; + while (true) + { + int num2 = num; + int num3 = -1281480948; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1281480948; + break; + case 0: + num = (enumerator.MoveNext() ? (-1281480945) : (-1281480947)); + break; + case 3: + hashSet.Add(enumerator.Current.Territory.RowId); + num = -1281480948; + break; + case 1: + goto end_IL_0035; + } + continue; + end_IL_0035: + break; + } + } + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + HashSet visitedLgbPaths = new HashSet(); + using (ExcelSheet.Enumerator enumerator2 = excelSheet.GetEnumerator()) + { + int num = 1492955023; + TerritoryType current = default(TerritoryType); + while (true) + { + int num5 = num; + int num3 = 1492955023; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = (enumerator2.MoveNext() ? 1492955019 : 1492955022); + break; + case 3: + ScanLgbFiles(dictionary, visitedLgbPaths, current, cancellationToken); + num = 1492955023; + break; + case 4: + current = enumerator2.Current; + num = ((!hashSet.Contains(current.RowId)) ? 1492955023 : 1492955020); + break; + case 2: + num = 1492955023; + break; + case 1: + goto end_IL_0105; + } + continue; + end_IL_0105: + break; + } + } + using (ExcelSheet.Enumerator enumerator2 = excelSheet.GetEnumerator()) + { + int num = -1441158644; + while (true) + { + int num8 = num; + int num3 = -1441158642; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -1441158644; + break; + case 2: + num = (enumerator2.MoveNext() ? (-1441158641) : (-1441158642)); + break; + case 1: + { + TerritoryType current2 = enumerator2.Current; + ScanLgbFiles(dictionary, visitedLgbPaths, current2, cancellationToken); + num = -1441158644; + break; + } + case 0: + goto end_IL_01dc; + } + continue; + end_IL_01dc: + break; + } + } + ExcelSheet excelSheet2 = _dataManager.GetExcelSheet(); + ExcelSheet excelSheet3 = _dataManager.GetExcelSheet(); + using ExcelSheet.Enumerator enumerator3 = _dataManager.GetExcelSheet().GetEnumerator(); + int num = -1886979544; + Level current3 = default(Level); + while (true) + { + int num9 = num; + int num3 = -1886979543; + int num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = ((!excelSheet3.HasRow(current3.Object.RowId)) ? (-1886979544) : (-1886979537)); + break; + case 5: + num = ((!current3.Territory.IsValid) ? (-1886979544) : (-1886979551)); + break; + case 2: + num = ((current3.Object.RowId == 0) ? (-1886979544) : (-1886979540)); + break; + case 7: + current3 = enumerator3.Current; + num = ((current3.RowId == 0) ? (-1886979544) : (-1886979541)); + break; + case 6: + dictionary.TryAdd(current3.Object.RowId, ((ushort)current3.Territory.RowId, new Vector3(current3.X, current3.Y, current3.Z), false)); + num = -1886979544; + break; + case 8: + num = (excelSheet2.HasRow(current3.Object.RowId) ? (-1886979537) : (-1886979542)); + break; + case 0: + num = -1886979544; + break; + case 1: + num = (enumerator3.MoveNext() ? (-1886979538) : (-1886979539)); + break; + case 4: + return dictionary; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void ScanLgbFiles(Dictionary cache, HashSet visitedLgbPaths, TerritoryType territory, CancellationToken cancellationToken) + { + cancellationToken.ThrowIfCancellationRequested(); + string text = territory.Bg.ExtractText(); + int num = ((!_206B_202C_200C_202A_200C_202B_200D_206B_206D_206C_200C_206E_200D_202E_202C_206E_206F_200E_202B_200E_202A_206C_202E_200E_202E_202D_206A_206B_206B_200B_200B_202B_200D_202E_202E_206E_200F_202B_206A_202E(text)) ? (-1877077488) : (-1877077481)); + int num10 = default(int); + LgbFile file = default(LgbFile); + (ushort, Vector3, bool) value = default((ushort, Vector3, bool)); + bool flag = default(bool); + uint baseId = default(uint); + LayerCommon.InstanceObject instanceObject = default(LayerCommon.InstanceObject); + LayerCommon.InstanceObject[] instanceObjects = default(LayerCommon.InstanceObject[]); + int num17 = default(int); + LayerCommon.Layer[] array = default(LayerCommon.Layer[]); + int num14 = default(int); + LayerCommon.Layer layer = default(LayerCommon.Layer); + while (true) + { + int num2 = num; + int num3 = -1877077484; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1877077481; + break; + case 3: + return; + case 4: + num10 = _206A_200D_206A_200C_202E_202A_202C_202C_202E_206C_206B_200F_202A_200B_202A_206D_206C_202D_200F_200B_200C_206A_200C_206A_202E_200D_206C_206B_206D_200E_200F_206A_202D_202D_200E_206A_200D_202C_206D_200C_202E(text, global::_003CModule_003E._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(507453428), StringComparison.Ordinal); + num = ((num10 >= 0) ? (-1877077482) : (-1877077483)); + break; + case 1: + return; + case 2: + { + int num7 = 0; + string[] lgbFileNames = LgbFileNames; + int num8 = 0; + while (true) + { + if (num8 < lgbFileNames.Length) + { + string text2 = lgbFileNames[num8]; + string[] obj = new string[5] + { + global::_003CModule_003E._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(-849387939), + null, + null, + null, + null + }; + int num9 = num10; + num3 = 1; + num4 = num9; + obj[1] = _202D_202D_200D_206A_206D_202D_200B_202A_200B_202B_202D_206C_206C_202B_202E_206F_200C_206A_202D_206C_200B_200E_202E_200E_200B_206C_200D_202B_206F_202A_200E_202D_202D_202B_200C_200E_200C_202E_202A_206C_202E(text, 0, (num4 | num3) + (num4 & num3)); + obj[2] = global::_003CModule_003E._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(993927731); + obj[3] = text2; + obj[4] = global::_003CModule_003E._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(2127002196); + string text3 = _202D_202D_206A_206E_200C_200E_200D_206C_200D_206E_200C_200D_202E_202A_206D_206D_200E_202B_206E_206A_206E_206E_206B_202E_206C_202D_206F_200B_206D_206A_206A_206C_202D_206B_206F_200C_202C_200B_202D_206E_202E(obj); + if (!visitedLgbPaths.Add(text3)) + { + goto IL_0458; + } + try + { + file = _dataManager.GetFile(text3); + } + catch (Exception ex) + { + _206D_206F_200F_202C_200C_206A_206A_206C_200F_202B_206F_206D_200E_200D_202C_202D_200D_200D_202A_200E_200E_206E_202B_200F_202D_206C_206F_206B_202D_206E_202B_202A_206C_206B_200B_206A_200C_202E_206D_202D_202E((ILogger)_logger, ex, global::_003CModule_003E._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(1684031378), new object[1] { text3 }); + goto IL_0458; + } + num = ((file == null) ? (-959666391) : (-959666381)); + } + else + { + num = -959666382; + } + while (true) + { + int num11 = num; + num3 = -959666372; + num4 = num11; + int num12; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 3: + num = ((!(_options.ScanThrottle > TimeSpan.Zero)) ? (-959666387) : (-959666380)); + continue; + case 0: + { + bool num18 = !value.Item3; + num3 = (flag ? 1 : 0); + num4 = (num18 ? 1 : 0); + num = ((num4 + num3 - (num4 & num3) != 0) ? (-959666376) : (-959666373)); + continue; + } + case 19: + num = -959666381; + continue; + case 13: + baseId = ((LayerCommon.EventInstanceObject)instanceObject.Object).ParentData.BaseId; + num = -959666386; + continue; + case 11: + instanceObject = instanceObjects[num17]; + num = ((instanceObject.AssetType != LayerEntryType.EventNPC) ? (-959666374) : (-959666379)); + continue; + case 6: + num = ((instanceObject.AssetType != LayerEntryType.EventObject) ? (-959666376) : (-959666383)); + continue; + case 17: + return; + case 7: + cache[baseId] = ((ushort)territory.RowId, new Vector3(instanceObject.Transform.Translation.X, instanceObject.Transform.Translation.Y, instanceObject.Transform.Translation.Z), flag); + num = -959666376; + continue; + case 15: + { + int num19 = num7; + num3 = 1; + num4 = num19; + num7 = (num4 | num3) + (num4 & num3); + array = _202B_202E_206F_206F_202B_200B_206B_202A_206E_206D_206F_202E_202E_200D_200C_206D_206F_202A_200D_206F_206E_206C_202A_200B_202D_206B_202D_200B_206E_200C_206E_206B_206F_206F_200C_206E_202A_202A_200C_200C_202E(file); + num14 = 0; + num = -959666384; + continue; + } + case 14: + num = ((num7 <= 0) ? (-959666387) : (-959666369)); + continue; + case 2: + num12 = ((layer.IsTemporary != 0) ? 1 : 0); + goto IL_051b; + case 8: + _206C_200B_206C_206F_206E_206A_206C_206A_206F_200D_206A_202E_206F_206B_200B_200C_206E_206E_206D_202D_200B_202B_202A_200D_206A_206C_206C_200D_200C_202A_202C_202B_206A_206D_200B_200B_202B_206C_202E_206A_202E(_options.ScanThrottle); + num = -959666387; + continue; + case 4: + { + int num20 = num17; + num3 = 1; + num4 = num20; + num17 = (num4 | num3) + (num4 & num3); + num = -959666371; + continue; + } + case 9: + baseId = ((LayerCommon.ENPCInstanceObject)instanceObject.Object).ParentData.ParentData.BaseId; + num = -959666386; + continue; + case 18: + num = ((baseId == 0) ? (-959666376) : (-959666388)); + continue; + case 16: + num = ((!cache.TryGetValue(baseId, out value)) ? (-959666373) : (-959666372)); + continue; + case 21: + break; + case 5: + layer = array[num14]; + num = ((layer.FestivalID != 0) ? (-959666378) : (-959666370)); + continue; + case 1: + num = ((num17 < instanceObjects.Length) ? (-959666377) : (-959666392)); + continue; + case 12: + num = ((num14 < array.Length) ? (-959666375) : (-959666391)); + continue; + case 20: + { + int num13 = num14; + num3 = 1; + num4 = num13; + int num15 = num4 ^ num3; + int num16 = num4 & num3; + num14 = num15 + (num16 + num16); + num = -959666384; + continue; + } + case 10: + { + num12 = 1; + goto IL_051b; + } + IL_051b: + flag = (byte)num12 != 0; + instanceObjects = layer.InstanceObjects; + num17 = 0; + num = -959666371; + continue; + } + break; + } + goto IL_0458; + IL_0458: + int num21 = num8; + num3 = 1; + num4 = num21; + num8 = (num4 | num3) + (num4 & num3); + } + } + } + } + } + + static object _202C_200B_202B_202C_206D_206E_202B_202C_200B_206B_200C_206C_202A_200B_200F_202C_206B_200E_206A_206D_200F_200D_206B_206D_200B_200C_206D_200D_206F_202E_202A_206E_202B_206C_206D_200F_206C_200D_206A_206B_202E() + { + return new object(); + } + + static void _200B_206A_200F_200D_200E_202A_200C_200E_206E_206B_206E_206A_202E_206E_206B_206F_200E_206B_206E_206D_202B_200D_202C_202A_206D_202A_202C_200C_206F_200F_206A_202D_206C_202A_200B_206A_202B_200E_206C_206D_202E(object P_0, ref bool P_1) + { + Monitor.Enter(P_0, ref P_1); + } + + static void _200D_200C_206C_202E_206E_206F_206F_202E_206A_200D_206B_202A_206D_200F_202D_206D_200E_200C_200D_202B_202B_206F_202C_202E_200B_206D_202E_206E_202E_202B_202B_200D_202D_206D_202E_200C_206A_206C_200F_202E_202E(object P_0) + { + Monitor.Exit(P_0); + } + + static void _202D_206F_206E_200E_200F_206F_206B_206A_202A_206E_206F_202B_206E_206E_202C_200F_202D_206B_206A_200F_206C_202D_202E_202C_200E_206A_200F_206B_202A_200D_202D_206D_206E_206B_200B_202C_206A_206B_202B_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206B_202C_200C_202A_200C_202B_200D_206B_206D_206C_200C_206E_200D_202E_202C_206E_206F_200E_202B_200E_202A_206C_202E_200E_202E_202D_206A_206B_206B_200B_200B_202B_200D_202E_202E_206E_200F_202B_206A_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string _202A_206E_206D_202D_206F_200F_206B_206D_206F_202C_206A_202B_200B_206F_206C_206B_200E_206A_206A_202B_206F_200D_200F_202C_206D_202B_200F_200E_200C_202B_206A_206F_206D_202B_206B_202B_206A_206D_206E_202A_202E(string P_0, string P_1) + { + return Path.Combine(P_0, P_1); + } + + static bool _202E_202B_206B_202B_202C_200E_206A_200B_200E_202C_202C_202A_202A_206A_202B_202C_202B_206A_206D_206F_200F_206E_206A_206B_202D_200E_202B_206E_202B_202B_200D_200F_202A_206C_200F_200F_200F_206E_200E_200F_202E(string P_0) + { + return File.Exists(P_0); + } + + static FileStream _202C_206E_200B_206F_200F_202B_202A_206E_200D_206A_200F_200F_206D_206F_200F_206D_200C_202B_202C_202A_200F_202C_200D_200F_202B_200F_206F_202E_206D_200D_206C_200B_206E_202A_202E_202B_206F_200C_202A_200F_202E(string P_0) + { + return File.OpenRead(P_0); + } + + static BinaryReader _202C_206B_202E_200D_206B_202A_202D_202D_202D_202A_206A_200D_206C_200F_206B_200D_202B_206D_202C_202D_200E_200D_202A_206B_202B_200B_202B_202E_206F_206C_206D_200F_202D_200B_202E_202C_202D_200D_202D_206B_202E(Stream P_0) + { + return new BinaryReader(P_0); + } + + static uint _202B_202B_202D_202B_202B_202C_200F_202A_206F_202B_206C_206E_200D_206F_202C_202A_202C_202C_206D_206D_206B_202C_206C_202B_206B_202A_202A_206F_202E_206A_206D_200E_206C_200E_202B_200B_200C_202C_202A_200F_202E(BinaryReader P_0) + { + return P_0.ReadUInt32(); + } + + static int _206F_200B_200D_206A_200E_200E_200F_200D_206E_206A_200D_206E_206B_200B_200F_206D_200B_200C_202C_200C_200C_202D_206D_202D_202D_206A_200F_200C_200C_200C_200C_202B_200E_200C_202A_206D_202E_206B_206E_200F_202E(BinaryReader P_0) + { + return P_0.ReadInt32(); + } + + static string _206D_202A_202D_200F_202E_202C_200C_200E_200D_202E_206F_202D_202A_200B_206B_206D_206B_202C_206B_206D_206F_206C_206B_200E_206E_206C_206C_200E_206F_200C_200B_206E_202A_200C_202C_200B_202E_200C_206E_200E_202E(BinaryReader P_0) + { + return P_0.ReadString(); + } + + static bool _206D_202D_202D_206C_206E_206B_206E_206A_200B_202B_202A_202B_202E_202D_202A_200C_202D_202A_206F_206F_200D_202C_200E_202A_200C_206A_202E_202B_206A_202E_202C_206A_202E_206B_202A_202B_206F_206D_200E_200C_202E(string P_0, string P_1) + { + return P_0 != P_1; + } + + static ushort _202C_200B_202A_202E_206C_200E_200F_206C_200E_202E_202A_206C_202B_202C_202D_202A_202B_206D_202C_202C_200E_202E_202A_202D_200C_200F_200F_202C_206C_206A_202B_206F_202A_202C_202A_202D_202C_200B_206F_202E_202E(BinaryReader P_0) + { + return P_0.ReadUInt16(); + } + + static float _206F_200B_202B_206A_206B_206A_200B_202C_202D_200D_206B_200B_206B_202B_202D_206A_206F_200B_206A_200B_206F_202C_202A_200E_206E_206D_206E_202D_206B_200F_202E_202E_200B_206B_206F_202E_206D_200D_206A_200E_202E(BinaryReader P_0) + { + return P_0.ReadSingle(); + } + + static bool _206A_200B_200D_200D_202C_202A_200B_206F_206D_202C_206C_202C_202B_202D_202C_202D_206F_200C_206E_200C_206E_200B_200F_202D_202A_200F_202E_202C_202B_206D_206A_206D_200B_200C_200B_200F_200F_202B_200C_206F_202E(BinaryReader P_0) + { + return P_0.ReadBoolean(); + } + + static void _206D_202C_200F_202A_200D_202A_206B_206D_202E_202D_200D_206B_202B_202D_200E_206F_202D_202A_202C_200D_202E_202D_206A_206E_206B_202D_200B_202C_206B_206A_202D_206E_202D_206A_206A_206F_206C_202B_200C_206A_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _200F_202C_202E_206C_206C_202B_206C_202D_202D_206E_202B_202D_200E_206B_206B_200B_206B_202B_206B_200B_202E_202C_206A_206B_206E_202A_200D_202C_202A_200F_202C_202A_202A_206F_206F_200E_202C_202B_200D_206D_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static void _202B_202E_202C_206C_206B_206F_202C_200E_206E_200B_202A_206F_202A_200D_206C_206B_200F_200B_200E_200F_206B_202A_202C_206D_202E_206B_206E_200F_206C_200B_202B_206A_202B_206E_206D_202A_200C_206A_202B_202B_202E(string P_0) + { + File.Delete(P_0); + } + + static DirectoryInfo _206A_200D_206F_206D_200C_202A_200C_202D_206E_206C_206D_206E_206D_202D_206B_202D_206C_202B_200F_202E_206C_206D_200F_202D_202E_206E_200B_202B_200F_200B_206C_200D_206B_200D_202A_202E_206C_206B_200F_202A_202E(string P_0) + { + return Directory.CreateDirectory(P_0); + } + + static string _200D_200D_206D_206D_206E_200C_200E_202B_206F_200B_200C_200E_200D_202B_206E_206C_200F_202E_206B_200F_206D_206B_200C_200F_200F_206D_202B_202E_202D_206D_200C_200E_200E_206A_202A_206C_200E_206F_202D_206C_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static FileStream _206D_206E_202B_200B_200B_202A_202D_206F_206C_206F_206F_202B_200F_200E_206E_206D_206A_202C_202E_200E_206F_202C_200F_200E_200B_202A_202A_200E_200F_202C_202A_200C_202E_206C_202C_200C_206C_202B_202A_206D_202E(string P_0) + { + return File.Create(P_0); + } + + static BinaryWriter _202E_206F_200E_206B_206A_206D_206D_200F_206A_202A_200D_200F_200D_202C_200C_200F_206F_202A_202E_202E_202C_202B_206E_206F_200F_200C_200F_200B_200F_206F_202E_200B_200E_206C_206A_202C_206F_202D_202B_206C_202E(Stream P_0) + { + return new BinaryWriter(P_0); + } + + static void _206F_202A_202B_206C_202E_200C_200B_200F_206D_200E_202D_202B_202D_206D_206B_206F_202D_200E_200C_200B_202E_200C_206E_200E_200E_200E_206E_206F_206F_206C_206F_200B_206E_206C_200E_202B_200F_200B_200D_206B_202E(BinaryWriter P_0, uint P_1) + { + P_0.Write(P_1); + } + + static void _200E_206C_202B_202B_200C_200B_200E_200D_200B_200D_206B_206E_202D_202A_206D_202D_200F_202A_200E_206E_200B_202C_206C_200C_200F_206B_202A_206D_206B_202C_206C_202B_206C_202A_202D_200F_206E_206D_206E_200F_202E(BinaryWriter P_0, int P_1) + { + P_0.Write(P_1); + } + + static void _202A_202A_206F_206B_206A_200F_202D_206E_202D_206D_206D_202E_206A_202B_202D_202C_206E_202A_202A_202D_202E_202D_200C_202B_202A_206E_200C_200D_206B_206B_202A_200F_202B_202A_206C_202A_206B_202C_202B_206A_202E(BinaryWriter P_0, string P_1) + { + P_0.Write(P_1); + } + + static void _206E_200B_200E_200C_200B_206E_206A_200D_202D_202D_200E_202A_202A_202E_202D_206E_206B_206F_202B_206C_202B_202C_206C_206E_202C_206E_200D_200C_206A_206F_200F_206E_206A_202B_202C_200C_200D_202B_202A_200E_202E(BinaryWriter P_0, ushort P_1) + { + P_0.Write(P_1); + } + + static void _200E_202D_206C_202B_202A_206B_200D_202D_200B_206F_202C_202A_200E_202A_202B_200B_200D_202E_206F_200C_202A_202C_202E_206C_206B_202D_202E_202E_200D_206B_200B_206E_200C_206C_200F_202A_200C_202D_206D_200F_202E(BinaryWriter P_0, float P_1) + { + P_0.Write(P_1); + } + + static void _200F_206E_202A_202E_200C_202D_206D_202B_206B_200B_200B_202A_200C_206D_206E_200B_206F_202D_200C_206E_206C_202D_206A_206A_206F_202C_200B_200F_206F_202C_200D_200E_202C_206C_202B_202A_206B_200B_202E_202E_202E(BinaryWriter P_0, bool P_1) + { + P_0.Write(P_1); + } + + static void _206C_206F_200E_206B_200F_202E_206D_206F_202D_206B_202B_202C_200B_200B_206C_200F_202D_202B_202B_202B_200E_206A_200E_206E_206E_200D_206C_200E_202B_202A_206F_200E_202B_202C_202B_206C_200D_200E_206D_202B_202E(string P_0, string P_1, bool P_2) + { + File.Move(P_0, P_1, P_2); + } + + static int _206A_200D_206A_200C_202E_202A_202C_202C_202E_206C_206B_200F_202A_200B_202A_206D_206C_202D_200F_200B_200C_206A_200C_206A_202E_200D_206C_206B_206D_200E_200F_206A_202D_202D_200E_206A_200D_202C_206D_200C_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.IndexOf(P_1, P_2); + } + + static string _202D_202D_200D_206A_206D_202D_200B_202A_200B_202B_202D_206C_206C_202B_202E_206F_200C_206A_202D_206C_200B_200E_202E_200E_200B_206C_200D_202B_206F_202A_200E_202D_202D_202B_200C_200E_200C_202E_202A_206C_202E(string P_0, int P_1, int P_2) + { + return P_0.Substring(P_1, P_2); + } + + static string _202D_202D_206A_206E_200C_200E_200D_206C_200D_206E_200C_200D_202E_202A_206D_206D_200E_202B_206E_206A_206E_206E_206B_202E_206C_202D_206F_200B_206D_206A_206A_206C_202D_206B_206F_200C_202C_200B_202D_206E_202E(string[] P_0) + { + return string.Concat(P_0); + } + + static void _206D_206F_200F_202C_200C_206A_206A_206C_200F_202B_206F_206D_200E_200D_202C_202D_200D_200D_202A_200E_200E_206E_202B_200F_202D_206C_206F_206B_202D_206E_202B_202A_206C_206B_200B_206A_200C_202E_206D_202D_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogTrace(P_1, P_2, P_3); + } + + static LayerCommon.Layer[] _202B_202E_206F_206F_202B_200B_206B_202A_206E_206D_206F_202E_202E_200D_200C_206D_206F_202A_200D_206F_206E_206C_202A_200B_202D_206B_202D_200B_206E_200C_206E_206B_206F_206F_200C_206E_202A_202A_200C_200C_202E(LgbFile P_0) + { + return P_0.Layers; + } + + static void _206C_200B_206C_206F_206E_206A_206C_206A_206F_200D_206A_202E_206F_206B_200B_200C_206E_206E_206D_202D_200B_202B_202A_200D_206A_206C_206C_200D_200C_202A_202C_202B_206A_206D_200B_200B_202B_206C_202E_206A_202E(TimeSpan P_0) + { + Thread.Sleep(P_0); + } +} diff --git a/LLib/LLib.Shop/NpcPositionCacheOptions.cs b/LLib/LLib.Shop/NpcPositionCacheOptions.cs new file mode 100644 index 00000000..e3c0f57f --- /dev/null +++ b/LLib/LLib.Shop/NpcPositionCacheOptions.cs @@ -0,0 +1,152 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace LLib.Shop; + +public sealed record NpcPositionCacheOptions +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200D_200B_200C_206D_206E_206F_200D_202D_206B_202E_202C_206F_206E_200C_202B_202D_206F_206C_206A_202C_202A_206C_200C_200D_206A_200D_200B_202D_202A_200E_202D_206C_200C_200F_202B_206F_202E_206E_206F_200E_202E(typeof(NpcPositionCacheOptions).TypeHandle); + } + } + + public string? CacheDirectory { get; init; } + + public string? GameVersion { get; init; } + + public TimeSpan ScanThrottle { get; init; } = TimeSpan.Zero; + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202B_206D_202A_206F_202C_206F_202C_200C_200F_206C_202A_202E_200E_202D_200D_200D_200D_202E_206F_200B_202B_200E_200D_206C_200F_206C_206B_206C_206E_200C_200D_206F_206F_200E_206D_200F_200E_202C_206F_200C_202E(); + _206D_206E_200B_202D_202C_206E_202C_202B_206C_206D_202B_202A_206A_200E_206A_206B_200C_202D_206B_200B_200C_206B_202E_200C_200C_202E_206A_200B_202A_206D_206E_200F_206E_202C_206C_202D_202B_202E_200D_206E_202E(stringBuilder, global::_003CModule_003E._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(-186520668)); + _206D_206E_200B_202D_202C_206E_202C_202B_206C_206D_202B_202A_206A_200E_206A_206B_200C_202D_206B_200B_200C_206B_202E_200C_200C_202E_206A_200B_202A_206D_206E_200F_206E_202C_206C_202D_202B_202E_200D_206E_202E(stringBuilder, global::_003CModule_003E._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(579144622)); + int num = ((!PrintMembers(stringBuilder)) ? (-658124115) : (-658124116)); + while (true) + { + int num2 = num; + int num3 = -658124115; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -658124116; + break; + case 1: + _202E_200D_202E_200E_206C_200D_206A_206B_202B_200B_206B_206F_206F_206F_206D_206C_202D_202C_206F_202A_206B_206A_202D_202E_202A_206F_200B_206F_200E_206A_200D_202B_202B_200B_206A_202A_202E_200D_200C_202E_202E(stringBuilder, ' '); + num = -658124115; + break; + case 0: + _202E_200D_202E_200E_206C_200D_206A_206B_202B_200B_206B_206F_206F_206F_206D_206C_202D_202C_206F_202A_206B_206A_202D_202E_202A_206F_200B_206F_200E_206A_200D_202B_202B_200B_206A_202A_202E_200D_200C_202E_202E(stringBuilder, '}'); + return _200B_202C_202C_200F_200F_206F_200B_200D_202E_202B_206F_206F_200D_200D_206B_200E_200F_202A_202D_202C_200B_206C_200D_202B_206E_202C_206F_206A_206F_206B_202A_200D_206F_202D_200F_200E_206E_200C_206C_200C_202E((object?)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206E_202A_202D_202A_202E_202A_200B_200B_202B_202B_202D_202E_206D_206D_206B_202B_202A_202D_206E_206E_200F_200B_206B_206E_200E_202C_206A_202E_206D_200D_202C_202A_202A_206F_200C_202D_202E_206E_200B_206C_202E(); + _206D_206E_200B_202D_202C_206E_202C_202B_206C_206D_202B_202A_206A_200E_206A_206B_200C_202D_206B_200B_200C_206B_202E_200C_200C_202E_206A_200B_202A_206D_206E_200F_206E_202C_206C_202D_202B_202E_200D_206E_202E(builder, global::_003CModule_003E._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(624739849)); + _206C_202D_206D_202A_202B_202D_206C_206F_202B_206D_206C_202C_206F_202E_200F_206C_202C_200E_200E_202C_206A_200F_202C_200B_202B_200D_202E_200C_206F_206A_206C_202C_202C_206E_200E_206D_202E_200F_206A_206F_202E(builder, (object?)CacheDirectory); + _206D_206E_200B_202D_202C_206E_202C_202B_206C_206D_202B_202A_206A_200E_206A_206B_200C_202D_206B_200B_200C_206B_202E_200C_200C_202E_206A_200B_202A_206D_206E_200F_206E_202C_206C_202D_202B_202E_200D_206E_202E(builder, global::_003CModule_003E._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(1054887383)); + _206C_202D_206D_202A_202B_202D_206C_206F_202B_206D_206C_202C_206F_202E_200F_206C_202C_200E_200E_202C_206A_200F_202C_200B_202B_200D_202E_200C_206F_206A_206C_202C_202C_206E_200E_206D_202E_200F_206A_206F_202E(builder, (object?)GameVersion); + _206D_206E_200B_202D_202C_206E_202C_202B_206C_206D_202B_202A_206A_200E_206A_206B_200C_202D_206B_200B_200C_206B_202E_200C_200C_202E_206A_200B_202A_206D_206E_200F_206E_202C_206C_202D_202B_202E_200D_206E_202E(builder, global::_003CModule_003E._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(2000135391)); + _206D_206E_200B_202D_202C_206E_202C_202B_206C_206D_202B_202A_206A_200E_206A_206B_200C_202D_206B_200B_200C_206B_202E_200C_200C_202E_206A_200B_202A_206D_206E_200F_206E_202C_206C_202D_202B_202E_200D_206E_202E(builder, ScanThrottle.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(NpcPositionCacheOptions? other) + { + int num = (((object)this == other) ? (-1497695151) : (-1497695145)); + while (true) + { + int num2 = num; + int num3 = -1497695146; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = -1497695145; + break; + case 3: + return false; + case 1: + num = (((object)other == null) ? (-1497695147) : (-1497695146)); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(GameVersion, other.GameVersion)) ? (-1497695147) : (-1497695152)); + break; + case 6: + return EqualityComparer.Default.Equals(ScanThrottle, other.ScanThrottle); + case 7: + return true; + case 4: + num = ((!EqualityComparer.Default.Equals(CacheDirectory, other.CacheDirectory)) ? (-1497695147) : (-1497695148)); + break; + case 0: + num = ((!_200C_202B_206E_200C_206B_202A_202C_202D_200D_206D_200C_200F_200F_200D_206B_206F_206F_206C_202D_206D_202A_206D_200D_200C_202E_200B_200C_200B_200F_202D_206D_206E_200C_200C_202C_206F_200B_200F_202D_202C_202E(EqualityContract, other.EqualityContract)) ? (-1497695147) : (-1497695150)); + break; + } + } + } + + bool IEquatable.Equals(NpcPositionCacheOptions? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _200D_200B_200C_206D_206E_206F_200D_202D_206B_202E_202C_206F_206E_200C_202B_202D_206F_206C_206A_202C_202A_206C_200C_200D_206A_200D_200B_202D_202A_200E_202D_206C_200C_200F_202B_206F_202E_206E_206F_200E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder? _202B_206D_202A_206F_202C_206F_202C_200C_200F_206C_202A_202E_200E_202D_200D_200D_200D_202E_206F_200B_202B_200E_200D_206C_200F_206C_206B_206C_206E_200C_200D_206F_206F_200E_206D_200F_200E_202C_206F_200C_202E() + { + return new StringBuilder(); + } + + static StringBuilder? _206D_206E_200B_202D_202C_206E_202C_202B_206C_206D_202B_202A_206A_200E_206A_206B_200C_202D_206B_200B_200C_206B_202E_200C_200C_202E_206A_200B_202A_206D_206E_200F_206E_202C_206C_202D_202B_202E_200D_206E_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _202E_200D_202E_200E_206C_200D_206A_206B_202B_200B_206B_206F_206F_206F_206D_206C_202D_202C_206F_202A_206B_206A_202D_202E_202A_206F_200B_206F_200E_206A_200D_202B_202B_200B_206A_202A_202E_200D_200C_202E_202E(StringBuilder? P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string? _200B_202C_202C_200F_200F_206F_200B_200D_202E_202B_206F_206F_200D_200D_206B_200E_200F_202A_202D_202C_200B_206C_200D_202B_206E_202C_206F_206A_206F_206B_202A_200D_206F_202D_200F_200E_206E_200C_206C_200C_202E(object? P_0) + { + return P_0.ToString(); + } + + static void _206E_202A_202D_202A_202E_202A_200B_200B_202B_202B_202D_202E_206D_206D_206B_202B_202A_202D_206E_206E_200F_200B_206B_206E_200E_202C_206A_202E_206D_200D_202C_202A_202A_206F_200C_202D_202E_206E_200B_206C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _206C_202D_206D_202A_202B_202D_206C_206F_202B_206D_206C_202C_206F_202E_200F_206C_202C_200E_200E_202C_206A_200F_202C_200B_202B_200D_202E_200C_206F_206A_206C_202C_202C_206E_200E_206D_202E_200F_206A_206F_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_202B_206E_200C_206B_202A_202C_202D_200D_206D_200C_200F_200F_200D_206B_206F_206F_206C_202D_206D_202A_206D_200D_200C_202E_200B_200C_200B_200F_202D_206D_206E_200C_200C_202C_206F_200B_200F_202D_202C_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; + } +} diff --git a/LLib/LLib.Shop/PurchaseCompletedEventArgs.cs b/LLib/LLib.Shop/PurchaseCompletedEventArgs.cs index fe57d428..7e987e25 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 f0a83fb5..e1fbeb7c 100644 --- a/LLib/LLib.Shop/RegularShopBase.cs +++ b/LLib/LLib.Shop/RegularShopBase.cs @@ -1,16 +1,21 @@ using System; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Threading; using Dalamud.Game.Addon.Lifecycle; using Dalamud.Game.Addon.Lifecycle.AddonArgTypes; +using Dalamud.Game.NativeWrapper; 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 +27,17 @@ public class RegularShopBase private readonly IAddonLifecycle _addonLifecycle; + private readonly ExcelSheet _itemSheet; + + private long _purchaseDeadlineMs; + + [CompilerGenerated] + private EventHandler? m_PurchaseCompleted; + + private const int MaxPurchaseQuantity = 99; + + private const int MaxWaitMs = 3000; + public ItemForSale? ItemForSale { get; set; } public PurchaseState? PurchaseState { get; private set; } @@ -36,240 +52,596 @@ public class RegularShopBase } set { - PurchaseState.IsAwaitingYesNo = value; + int num = ((PurchaseState == null) ? (-314894367) : (-314894366)); + while (true) + { + int num2 = num; + int num3 = -314894368; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -314894366; + break; + case 1: + return; + case 2: + PurchaseState.IsAwaitingYesNo = value; + num = -314894367; + break; + } + } } } - public RegularShopBase(IShopWindow parentWindow, string addonName, IPluginLog pluginLog, IGameGui gameGui, IAddonLifecycle addonLifecycle) + public event EventHandler? PurchaseCompleted { + [CompilerGenerated] + add + { + EventHandler eventHandler = this.m_PurchaseCompleted; + int num = 660558086; + while (true) + { + int num2 = num; + int num3 = 660558087; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_202E_202D_202E_200D_200B_206C_202C_200F_206C_200C_206B_202A_200B_202A_200D_206B_202B_206B_200F_200C_206C_206C_206B_202B_202C_200D_206B_202A_200E_206D_206B_200E_200E_206E_202D_206D_200F_206E_202C_206E_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_PurchaseCompleted, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? 660558086 : 660558085); + break; + } + case 0: + num = 660558086; + break; + } + } + } + [CompilerGenerated] + remove + { + EventHandler eventHandler = this.m_PurchaseCompleted; + int num = 1746183052; + while (true) + { + int num2 = num; + int num3 = 1746183053; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1746183052; + break; + case 2: + return; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_200B_206D_202C_206D_206C_200D_202B_200D_202A_202E_200E_200C_200E_206D_202B_206E_200F_206E_200E_200B_202C_206E_202C_206A_206B_206F_206B_200B_206D_202D_202C_202C_206D_202B_202D_206B_200D_200C_200C_202C_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_PurchaseCompleted, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? 1746183052 : 1746183055); + break; + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public RegularShopBase(IShopWindow parentWindow, string addonName, IPluginLog pluginLog, IGameGui gameGui, IAddonLifecycle addonLifecycle, IDataManager dataManager) + { + _206B_206A_202C_200C_206E_200C_202C_206A_200D_202A_202D_206D_200E_200B_206E_206F_200B_206A_206F_202D_200F_202A_202C_200E_202C_202B_206A_202C_200F_202D_206D_202D_202A_206C_202C_206C_206B_200B_200D_200F_202E((object)parentWindow, global::_003CModule_003E._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(1152352366)); + _200F_206D_202A_206D_200C_206A_202D_200D_206E_200F_206E_206D_206F_202B_202C_202A_200E_202D_206C_202B_200E_202D_206F_206C_202B_202B_206F_206F_206D_202C_202B_202E_200D_202A_206D_206A_206C_200C_206F_200F_202E(addonName, global::_003CModule_003E._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(876094366)); + _206B_206A_202C_200C_206E_200C_202C_206A_200D_202A_202D_206D_200E_200B_206E_206F_200B_206A_206F_202D_200F_202A_202C_200E_202C_202B_206A_202C_200F_202D_206D_202D_202A_206C_202C_206C_206B_200B_200D_200F_202E((object)pluginLog, global::_003CModule_003E._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(-2117874046)); + _206B_206A_202C_200C_206E_200C_202C_206A_200D_202A_202D_206D_200E_200B_206E_206F_200B_206A_206F_202D_200F_202A_202C_200E_202C_202B_206A_202C_200F_202D_206D_202D_202A_206C_202C_206C_206B_200B_200D_200F_202E((object)gameGui, global::_003CModule_003E._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(608358874)); + _206B_206A_202C_200C_206E_200C_202C_206A_200D_202A_202D_206D_200E_200B_206E_206F_200B_206A_206F_202D_200F_202A_202C_200E_202C_202B_206A_202C_200F_202D_206D_202D_202A_206C_202C_206C_206B_200B_200D_200F_202E((object)addonLifecycle, global::_003CModule_003E._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(1756451262)); + _206B_206A_202C_200C_206E_200C_202C_206A_200D_202A_202D_206D_200E_200B_206E_206F_200B_206A_206F_202D_200F_202A_202C_200E_202C_202B_206A_202C_200F_202D_206D_202D_202A_206C_202C_206C_206B_200B_200D_200F_202E((object)dataManager, global::_003CModule_003E._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(990210437)); _parentWindow = parentWindow; _addonName = addonName; _pluginLog = pluginLog; _gameGui = gameGui; _addonLifecycle = addonLifecycle; - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, _addonName, ShopPostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PreFinalize, _addonName, ShopPreFinalize); - _addonLifecycle.RegisterListener(AddonEvent.PostUpdate, _addonName, ShopPostUpdate); + _itemSheet = dataManager.GetExcelSheet(); + _202B_200B_206D_200B_206F_200C_200C_206E_200B_206E_206D_206B_206E_202A_200B_206F_202B_206F_206F_206E_200D_200F_206D_200E_202C_200D_206E_200C_200D_202A_202C_200B_202A_202E_202D_202E_202A_206B_206F_200C_202E(_addonLifecycle, AddonEvent.PostSetup, _addonName, (IAddonLifecycle.AddonEventDelegate)ShopPostSetup); + _202B_200B_206D_200B_206F_200C_200C_206E_200B_206E_206D_206B_206E_202A_200B_206F_202B_206F_206F_206E_200D_200F_206D_200E_202C_200D_206E_200C_200D_202A_202C_200B_202A_202E_202D_202E_202A_206B_206F_200C_202E(_addonLifecycle, AddonEvent.PreFinalize, _addonName, (IAddonLifecycle.AddonEventDelegate)ShopPreFinalize); + _202B_200B_206D_200B_206F_200C_200C_206E_200B_206E_206D_206B_206E_202A_200B_206F_202B_206F_206F_206E_200D_200F_206D_200E_202C_200D_206E_200C_200D_202A_202C_200B_202A_202E_202D_202E_202A_206B_206F_200C_202E(_addonLifecycle, AddonEvent.PostUpdate, _addonName, (IAddonLifecycle.AddonEventDelegate)ShopPostUpdate); } private unsafe void ShopPostSetup(AddonEvent type, AddonArgs args) { - if (!_parentWindow.IsEnabled) + int num = (_parentWindow.IsEnabled ? (-1920873629) : (-1920873630)); + while (true) { - ItemForSale = null; - _parentWindow.IsOpen = false; - return; - } - _parentWindow.UpdateShopStock((AtkUnitBase*)args.Addon.Address); - PostUpdateShopStock(); - if (ItemForSale != null) - { - _parentWindow.IsOpen = true; + int num2 = num; + int num3 = -1920873629; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + _parentWindow.IsOpen = true; + num = -1920873632; + break; + case 0: + _parentWindow.UpdateShopStock((AtkUnitBase*)_206F_200C_202D_200F_200F_206B_206F_200D_202B_206C_202E_206C_206F_200D_206F_206B_200C_200B_202E_200D_200B_200C_206B_200F_200B_202E_202C_202C_206A_200C_206D_200D_206D_200B_200E_202C_206D_200B_200C_202A_202E(args).Address); + PostUpdateShopStock(); + num = ((ItemForSale == null) ? (-1920873632) : (-1920873625)); + break; + case 3: + return; + case 2: + num = -1920873630; + break; + case 1: + ItemForSale = null; + _parentWindow.IsOpen = false; + return; + } } } private void ShopPreFinalize(AddonEvent type, AddonArgs args) { - PurchaseState = null; - _parentWindow.RestoreExternalPluginState(); - _parentWindow.IsOpen = false; + int num = ((PurchaseState == null) ? (-1080756393) : (-1080756395)); + while (true) + { + int num2 = num; + int num3 = -1080756396; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _parentWindow.IsOpen = false; + return; + case 1: + num = ((ItemForSale == null) ? (-1080756393) : (-1080756400)); + break; + case 4: + CompletePurchase(ItemForSale.ItemId, success: false); + num = -1080756396; + break; + case 3: + PurchaseState = null; + _parentWindow.RestoreExternalPluginState(); + num = -1080756396; + break; + case 2: + num = -1080756395; + break; + } + } } private unsafe void ShopPostUpdate(AddonEvent type, AddonArgs args) { - if (!_parentWindow.IsEnabled) + int num = (_parentWindow.IsEnabled ? (-1011514953) : (-1011514956)); + Vector2 valueOrDefault = default(Vector2); + Vector2? position = default(Vector2?); + short num6 = default(short); + short num5 = default(short); + while (true) { - ItemForSale = null; - _parentWindow.IsOpen = false; - return; - } - _parentWindow.UpdateShopStock((AtkUnitBase*)args.Addon.Address); - PostUpdateShopStock(); - if (ItemForSale != null) - { - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; - short num = 0; - short num2 = 0; - address->GetPosition(&num, &num2); - ushort num3 = 0; - ushort num4 = 0; - address->GetSize(&num3, &num4, scaled: true); - num += (short)num3; - Vector2? position = _parentWindow.Position; - if (position.HasValue) + int num2 = num; + int num3 = -1011514953; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - Vector2 valueOrDefault = position.GetValueOrDefault(); - if ((short)valueOrDefault.X != num || (short)valueOrDefault.Y != num2) - { - _parentWindow.Position = new Vector2(num, num2); - } + case 0: + _parentWindow.UpdateShopStock((AtkUnitBase*)_206F_200C_202D_200F_200F_206B_206F_200D_202B_206C_202E_206C_206F_200D_206F_206B_200C_200B_202E_200D_200B_200C_206B_200F_200B_202E_202C_202C_206A_200C_206D_200D_206D_200B_200E_202C_206D_200B_200C_202A_202E(args).Address); + PostUpdateShopStock(); + num = ((ItemForSale == null) ? (-1011514945) : (-1011514954)); + break; + case 8: + _parentWindow.IsOpen = false; + return; + case 6: + valueOrDefault = position.GetValueOrDefault(); + num = (((short)valueOrDefault.X != num6) ? (-1011514958) : (-1011514955)); + break; + case 7: + num = -1011514956; + break; + case 4: + _parentWindow.IsOpen = true; + return; + case 5: + _parentWindow.Position = new Vector2(num6, num5); + num = -1011514957; + break; + case 1: + { + AtkUnitBase* address = (AtkUnitBase*)_206F_200C_202D_200F_200F_206B_206F_200D_202B_206C_202E_206C_206F_200D_206F_206B_200C_200B_202E_200D_200B_200C_206B_200F_200B_202E_202C_202C_206A_200C_206D_200D_206D_200B_200E_202C_206D_200B_200C_202A_202E(args).Address; + num6 = 0; + num5 = 0; + address->GetPosition(&num6, &num5); + ushort num7 = 0; + ushort num8 = 0; + address->GetSize(&num7, &num8, scaled: true); + num6 += (short)num7; + position = _parentWindow.Position; + num = ((!position.HasValue) ? (-1011514957) : (-1011514959)); + break; + } + case 2: + num = (((short)valueOrDefault.Y == num5) ? (-1011514957) : (-1011514958)); + break; + case 3: + ItemForSale = null; + _parentWindow.IsOpen = false; + return; } - _parentWindow.IsOpen = true; - } - else - { - _parentWindow.IsOpen = false; } } private void PostUpdateShopStock() { - if (ItemForSale != null && PurchaseState != null) + int num = ((ItemForSale == null) ? 662202299 : 662202301); + int ownedItems = default(int); + while (true) { - int ownedItems = (int)ItemForSale.OwnedItems; - if (PurchaseState.OwnedItems != ownedItems) + int num2 = num; + int num3 = 662202297; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 3: + ownedItems = (int)ItemForSale.OwnedItems; + num = ((PurchaseState.OwnedItems == ownedItems) ? 662202299 : 662202296); + break; + case 2: + return; + case 0: + num = 662202301; + break; + case 4: + num = ((PurchaseState == null) ? 662202299 : 662202298); + break; + case 1: PurchaseState.OwnedItems = ownedItems; - PurchaseState.NextStep = DateTime.Now.AddSeconds(0.25); + PurchaseState.NextStepMs = _202E_202E_202D_202D_202D_202D_206B_202B_200E_206D_206E_206C_206B_202C_200C_200D_206C_200E_200C_202E_200B_202D_206B_202C_200E_202E_202C_200C_200E_202A_206C_200C_206F_200D_200E_206D_202A_202E_206C_202E() + 250; + num = 662202299; + break; } } } - 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() { - if (ItemForSale == null) + int num = ((ItemForSale != null) ? (-1965181968) : (-1965181966)); + int maxHoldableQuantity = default(int); + while (true) { - return 0; + int num2 = num; + int num3 = -1965181965; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + maxHoldableQuantity = InventoryHelper.GetMaxHoldableQuantity(ItemForSale.ItemId, _itemSheet); + num = ((ItemForSale.Price != 0) ? (-1965181967) : (-1965181965)); + break; + case 2: + return _200E_202C_200C_202A_206C_202C_206E_206F_206D_202C_202C_200C_200B_200E_206D_206E_202D_206A_202D_202D_202D_202A_202B_200C_206E_206E_206D_206A_206D_206C_200E_206A_202B_206C_200D_200C_206F_206D_200C_202D_202E((int)(GetCurrencyCount(ItemForSale.CurrencyItemId) / ItemForSale.Price), maxHoldableQuantity); + case 4: + num = -1965181966; + break; + case 1: + return 0; + case 0: + return maxHoldableQuantity; + } } - return (int)(_parentWindow.GetCurrencyCount() / ItemForSale.Price); } public void CancelAutoPurchase() { - PurchaseState = null; - _parentWindow.RestoreExternalPluginState(); - } - - public void StartAutoPurchase(int toPurchase) - { - PurchaseState = new PurchaseState((int)ItemForSale.OwnedItems + toPurchase, (int)ItemForSale.OwnedItems); - _parentWindow.SaveExternalPluginState(); - } - - public unsafe void HandleNextPurchaseStep() - { - if (ItemForSale == null || PurchaseState == null) + int num = ((ItemForSale == null) ? (-639138042) : (-639138043)); + while (true) { - 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 = num; + int num3 = -639138041; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - 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; + case 1: + return; + case 2: + num = ((PurchaseState == null) ? (-639138042) : (-639138044)); + break; + case 0: + num = -639138043; + break; + case 3: + CompletePurchase(ItemForSale.ItemId, success: false); + num = -639138042; + break; } } - else + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void StartAutoPurchase(int toPurchase) + { + int num = ((ItemForSale != null) ? 547091109 : 547091110); + while (true) { - _pluginLog.Information($"Stopping item purchase (desired = {PurchaseState.DesiredItems}, owned = {PurchaseState.OwnedItems})"); - PurchaseState = null; - _parentWindow.RestoreExternalPluginState(); + int num2 = num; + int num3 = 547091111; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 1: + throw _200D_200C_202A_202D_202C_206D_206F_202E_202A_206E_202B_200E_200C_200F_200C_206B_200E_202E_206E_202E_202B_206C_200E_200D_200C_206B_200D_200F_202D_206D_202E_206A_206B_200D_200E_200E_200F_202D_202A_202A_202E(global::_003CModule_003E._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(-1974882015)); + case 2: + PurchaseState = new PurchaseState((int)ItemForSale.OwnedItems + toPurchase, (int)ItemForSale.OwnedItems); + _parentWindow.SaveExternalPluginState(); + return; + } + continue; + IL_0046: + num = 547091110; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe void HandleNextPurchaseStep() + { + int num = ((ItemForSale == null) ? (-1459965159) : (-1459965154)); + int num7 = default(int); + AtkUnitBase* addonPtr = default(AtkUnitBase*); + while (true) + { + int num2 = num; + int num3 = -1459965163; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + num = -1459965154; + break; + case 10: + return; + case 0: + _206B_200E_206A_206A_202E_202E_202E_200F_206C_202B_206E_200C_202C_200F_202E_200E_206E_202E_202C_202C_206E_206B_206E_206C_200E_206F_202C_202B_202B_206E_202C_202C_202C_200F_202C_200C_206B_206D_200F_202B_202E(_pluginLog, _200E_206A_206B_200B_206E_200D_202B_200B_202C_200C_206A_202E_206F_202C_206E_200D_200B_200F_202D_202B_206A_202E_200D_206F_200B_206E_200F_202E_206D_200C_206C_200B_206F_202C_206E_200D_200C_202E_206D_202B_202E(global::_003CModule_003E._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(-1851945026), ItemForSale.ItemName), Array.Empty()); + CompletePurchase(ItemForSale.ItemId, success: false); + return; + case 2: + num = ((PurchaseState.NextStepMs != long.MaxValue) ? (-1459965153) : (-1459965155)); + break; + case 13: + { + IPluginLog pluginLog2 = _pluginLog; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(45, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1919731444)); + defaultInterpolatedStringHandler2.AppendFormatted(PurchaseState.DesiredItems); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1891359698)); + defaultInterpolatedStringHandler2.AppendFormatted(PurchaseState.OwnedItems); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-542666901)); + _202C_202E_200D_202B_202D_200B_200B_206E_202C_200D_202B_206E_206E_206B_202D_206B_202E_200D_202C_202D_206C_206E_202C_200C_206E_202B_202E_202A_202D_206F_200B_200D_206C_206C_200F_200B_206D_202D_202D_200E_202E(pluginLog2, defaultInterpolatedStringHandler2.ToStringAndClear(), Array.Empty()); + CompletePurchase(ItemForSale.ItemId, success: true); + return; + } + case 1: + num = ((!PurchaseState.IsComplete) ? (-1459965168) : (-1459965160)); + break; + case 5: + { + int maxHoldableQuantity = InventoryHelper.GetMaxHoldableQuantity(ItemForSale.ItemId, _itemSheet); + num7 = _200E_202C_200C_202A_206C_202C_206E_206F_206D_202C_202C_200C_200B_200E_206D_206E_202D_206A_202D_202D_202D_202A_202B_200C_206E_206E_206D_206A_206D_206C_200E_206A_202B_206C_200D_200C_206F_206D_200C_202D_202E(99, maxHoldableQuantity); + num = ((num7 != 0) ? (-1459965167) : (-1459965163)); + break; + } + case 3: + num = ((!_gameGui.TryGetAddonByName(_addonName, out addonPtr)) ? (-1459965161) : (-1459965156)); + break; + case 4: + num = ((_202E_202E_202D_202D_202D_202D_206B_202B_200E_206D_206E_206C_206B_202C_200C_200D_206C_200E_200C_202E_200B_202D_206B_202C_200E_202E_202C_200C_200E_202A_206C_200C_206F_200D_200E_206D_202A_202E_206C_202E() < PurchaseState.NextStepMs) ? (-1459965161) : (-1459965162)); + break; + case 9: + { + int num8 = _200E_202C_200C_202A_206C_202C_206E_206F_206D_202C_202C_200C_200B_200E_206D_206E_202D_206A_202D_202D_202D_202A_202B_200C_206E_206E_206D_206A_206D_206C_200E_206A_202B_206C_200D_200C_206F_206D_200C_202D_202E(PurchaseState.ItemsLeftToBuy, num7); + IPluginLog pluginLog3 = _pluginLog; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(9, 2); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-2017196427)); + defaultInterpolatedStringHandler3.AppendFormatted(num8); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(640094798)); + defaultInterpolatedStringHandler3.AppendFormatted(ItemForSale.ItemName); + _202C_202E_200D_202B_202D_200B_200B_206E_202C_200D_202B_206E_206E_206B_202D_206B_202E_200D_202C_202D_206C_206E_202C_200C_206E_202B_202E_202A_202D_206F_200B_200D_206C_206C_200F_200B_206D_202D_202D_200E_202E(pluginLog3, defaultInterpolatedStringHandler3.ToStringAndClear(), Array.Empty()); + _parentWindow.TriggerPurchase(addonPtr, num8); + PurchaseState.NextStepMs = long.MaxValue; + _purchaseDeadlineMs = _202E_202E_202D_202D_202D_202D_206B_202B_200E_206D_206E_206C_206B_202C_200C_200D_206C_200E_200C_202E_200B_202D_206B_202C_200E_202E_202C_200C_200E_202A_206C_200C_206F_200D_200E_206D_202A_202E_206C_202E() + 3000; + PurchaseState.IsAwaitingYesNo = true; + return; + } + case 11: + num = ((PurchaseState != null) ? (-1459965164) : (-1459965159)); + break; + case 8: + num = ((_202E_202E_202D_202D_202D_202D_206B_202B_200E_206D_206E_206C_206B_202C_200C_200D_206C_200E_200C_202E_200B_202D_206B_202C_200E_202E_202C_200C_200E_202A_206C_200C_206F_200D_200E_206D_202A_202E_206C_202E() < _purchaseDeadlineMs) ? (-1459965153) : (-1459965166)); + break; + case 7: + { + IPluginLog pluginLog = _pluginLog; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(51, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(785267404)); + defaultInterpolatedStringHandler.AppendFormatted(ItemForSale.ItemName); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1250823657)); + defaultInterpolatedStringHandler.AppendFormatted(3000); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1905813856)); + _206B_200E_206A_206A_202E_202E_202E_200F_206C_202B_206E_200C_202C_200F_202E_200E_206E_202E_202C_202C_206E_206B_206E_206C_200E_206F_202C_202B_202B_206E_202C_202C_202C_200F_202C_200C_206B_206D_200F_202B_202E(pluginLog, defaultInterpolatedStringHandler.ToStringAndClear(), Array.Empty()); + CompletePurchase(ItemForSale.ItemId, success: false); + num = -1459965153; + break; + } + case 12: + return; + } + } + } + + private void CompletePurchase(uint itemId, bool success) + { + int num = ((!success) ? (-1114779348) : (-1114779346)); + while (true) + { + int num2 = num; + int num3 = -1114779347; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num7; + int quantityPurchased; + switch (num5 - (num6 + num6)) + { + case 2: + num7 = PurchaseState.OwnedItems - PurchaseState.InitialOwnedItems; + goto IL_005e; + case 3: + num = ((PurchaseState != null) ? (-1114779345) : (-1114779348)); + break; + case 0: + num = -1114779346; + break; + case 1: + { + num7 = 0; + goto IL_005e; + } + IL_005e: + quantityPurchased = num7; + PurchaseState = null; + _parentWindow.RestoreExternalPluginState(); + this.PurchaseCompleted?.Invoke(this, new PurchaseCompletedEventArgs(itemId, success, quantityPurchased)); + return; + } + } + } + + protected virtual void Dispose(bool disposing) + { + int num = ((!disposing) ? 1043096164 : 1043096167); + while (true) + { + int num2 = num; + int num3 = 1043096165; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1043096167; + break; + case 2: + _200E_202B_202D_200C_206B_200F_202E_202D_206D_206F_202C_202E_206A_202A_206D_200E_202D_200D_202B_206A_206F_202C_206D_206E_200B_200E_206B_200F_200F_202C_206A_200E_206A_200F_206B_200B_202B_202C_200F_200F_202E(_addonLifecycle, AddonEvent.PostSetup, _addonName, (IAddonLifecycle.AddonEventDelegate)ShopPostSetup); + _200E_202B_202D_200C_206B_200F_202E_202D_206D_206F_202C_202E_206A_202A_206D_200E_202D_200D_202B_206A_206F_202C_206D_206E_200B_200E_206B_200F_200F_202C_206A_200E_206A_200F_206B_200B_202B_202C_200F_200F_202E(_addonLifecycle, AddonEvent.PreFinalize, _addonName, (IAddonLifecycle.AddonEventDelegate)ShopPreFinalize); + _200E_202B_202D_200C_206B_200F_202E_202D_206D_206F_202C_202E_206A_202A_206D_200E_202D_200D_202B_206A_206F_202C_206D_206E_200B_200E_206B_200F_200F_202C_206A_200E_206A_200F_206B_200B_202B_202C_200F_200F_202E(_addonLifecycle, AddonEvent.PostUpdate, _addonName, (IAddonLifecycle.AddonEventDelegate)ShopPostUpdate); + num = 1043096164; + break; + case 1: + return; + } } } public void Dispose() { - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, _addonName, ShopPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PreFinalize, _addonName, ShopPreFinalize); - _addonLifecycle.UnregisterListener(AddonEvent.PostUpdate, _addonName, ShopPostUpdate); + Dispose(disposing: true); + _200B_202C_202A_200E_200F_202E_202C_206C_206F_206B_206F_206C_206E_200B_200C_200F_202B_206D_206B_206E_202D_202E_200E_200E_206D_202E_200C_200B_202B_202D_200D_202A_206B_202C_200F_206B_202A_206C_206E_200F_202E((object)this); } - public bool HasFreeInventorySlot() + void IDisposable.Dispose() { - return CountFreeInventorySlots() > 0; + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); } - public unsafe int CountFreeInventorySlots() + static void _206B_206A_202C_200C_206E_200C_202C_206A_200D_202A_202D_206D_200E_200B_206E_206F_200B_206A_206F_202D_200F_202A_202C_200E_202C_202B_206A_202C_200F_202D_206D_202D_202A_206C_202C_206C_206B_200B_200D_200F_202E(object P_0, string P_1) { - 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; + ArgumentNullException.ThrowIfNull(P_0, P_1); } - private unsafe int DetermineMaxStackSize(uint itemId) + static void _200F_206D_202A_206D_200C_206A_202D_200D_206E_200F_206E_206D_206F_202B_202C_202A_200E_202D_206C_202B_200E_202D_206F_206C_202B_202B_206F_206F_206D_202C_202B_202E_200D_202A_206D_206A_206C_200C_206F_200F_202E(string P_0, string P_1) { - 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); + ArgumentException.ThrowIfNullOrEmpty(P_0, P_1); } - public unsafe int CountInventorySlotsWithCondition(uint itemId, Predicate predicate) + static void _202B_200B_206D_200B_206F_200C_200C_206E_200B_206E_206D_206B_206E_202A_200B_206F_202B_206F_206F_206E_200D_200F_206D_200E_202C_200D_206E_200C_200D_202A_202C_200B_202A_202E_202D_202E_202A_206B_206F_200C_202E(IAddonLifecycle P_0, AddonEvent P_1, string P_2, IAddonLifecycle.AddonEventDelegate P_3) { - 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; + P_0.RegisterListener(P_1, P_2, P_3); + } + + static Delegate _202E_202D_202E_200D_200B_206C_202C_200F_206C_200C_206B_202A_200B_202A_200D_206B_202B_206B_200F_200C_206C_206C_206B_202B_202C_200D_206B_202A_200E_206D_206B_200E_200E_206E_202D_206D_200F_206E_202C_206E_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Combine(P_0, P_1); + } + + static Delegate _200B_206D_202C_206D_206C_200D_202B_200D_202A_202E_200E_200C_200E_206D_202B_206E_200F_206E_200E_200B_202C_206E_202C_206A_206B_206F_206B_200B_206D_202D_202C_202C_206D_202B_202D_206B_200D_200C_200C_202C_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Remove(P_0, P_1); + } + + static AtkUnitBasePtr _206F_200C_202D_200F_200F_206B_206F_200D_202B_206C_202E_206C_206F_200D_206F_206B_200C_200B_202E_200D_200B_200C_206B_200F_200B_202E_202C_202C_206A_200C_206D_200D_206D_200B_200E_202C_206D_200B_200C_202A_202E(AddonArgs P_0) + { + return P_0.Addon; + } + + static long _202E_202E_202D_202D_202D_202D_206B_202B_200E_206D_206E_206C_206B_202C_200C_200D_206C_200E_200C_202E_200B_202D_206B_202C_200E_202E_202C_200C_200E_202A_206C_200C_206F_200D_200E_206D_202A_202E_206C_202E() + { + return Environment.TickCount64; + } + + static int _200E_202C_200C_202A_206C_202C_206E_206F_206D_202C_202C_200C_200B_200E_206D_206E_202D_206A_202D_202D_202D_202A_202B_200C_206E_206E_206D_206A_206D_206C_200E_206A_202B_206C_200D_200C_206F_206D_200C_202D_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static InvalidOperationException _200D_200C_202A_202D_202C_206D_206F_202E_202A_206E_202B_200E_200C_200F_200C_206B_200E_202E_206E_202E_202B_206C_200E_200D_200C_206B_200D_200F_202D_206D_202E_206A_206B_200D_200E_200E_200F_202D_202A_202A_202E(string P_0) + { + return new InvalidOperationException(P_0); + } + + static void _202C_202E_200D_202B_202D_200B_200B_206E_202C_200D_202B_206E_206E_206B_202D_206B_202E_200D_202C_202D_206C_206E_202C_200C_206E_202B_202E_202A_202D_206F_200B_200D_206C_206C_200F_200B_206D_202D_202D_200E_202E(IPluginLog P_0, string P_1, object[] P_2) + { + P_0.Information(P_1, P_2); + } + + static string _200E_206A_206B_200B_206E_200D_202B_200B_202C_200C_206A_202E_206F_202C_206E_200D_200B_200F_202D_202B_206A_202E_200D_206F_200B_206E_200F_202E_206D_200C_206C_200B_206F_202C_206E_200D_200C_202E_206D_202B_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _206B_200E_206A_206A_202E_202E_202E_200F_206C_202B_206E_200C_202C_200F_202E_200E_206E_202E_202C_202C_206E_206B_206E_206C_200E_206F_202C_202B_202B_206E_202C_202C_202C_200F_202C_200C_206B_206D_200F_202B_202E(IPluginLog P_0, string P_1, object[] P_2) + { + P_0.Warning(P_1, P_2); + } + + static void _200E_202B_202D_200C_206B_200F_202E_202D_206D_206F_202C_202E_206A_202A_206D_200E_202D_200D_202B_206A_206F_202C_206D_206E_200B_200E_206B_200F_200F_202C_206A_200E_206A_200F_206B_200B_202B_202C_200F_200F_202E(IAddonLifecycle P_0, AddonEvent P_1, string P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.UnregisterListener(P_1, P_2, P_3); + } + + static void _200B_202C_202A_200E_200F_202E_202C_206C_206F_206B_206F_206C_206E_200B_200C_200F_202B_206D_206B_206E_202D_202E_200E_200E_206D_202E_200C_200B_202B_202D_200D_202A_206B_202C_200F_206B_202A_206C_206E_200F_202E(object P_0) + { + GC.SuppressFinalize(P_0); } } diff --git a/LLib/LLib.Shop/SatisfactionSupplyActions.cs b/LLib/LLib.Shop/SatisfactionSupplyActions.cs new file mode 100644 index 00000000..5f4ff9b7 --- /dev/null +++ b/LLib/LLib.Shop/SatisfactionSupplyActions.cs @@ -0,0 +1,580 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +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) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_200F_202A_202D_202C_206E_202E_202A_202A_202D_200F_202B_206E_206D_206C_202B_206E_206B_200D_200C_200D_200C_200C_200E_202B_202D_200D_202E_206D_206C_200D_202A_202D_200D_206B_202A_206F_200B_202E_200D_202E(); + _202E_206E_202A_200B_206C_202C_206A_206E_206D_202E_206D_202B_202A_206B_202E_206D_200D_206B_200E_202D_206E_202E_206F_206B_206C_200D_206B_200D_200C_202A_202B_206E_200E_206E_206B_200E_206A_200D_206B_200C_202E(stringBuilder, global::_003CModule_003E._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(-1314736612)); + _202E_206E_202A_200B_206C_202C_206A_206E_206D_202E_206D_202B_202A_206B_202E_206D_200D_206B_200E_202D_206E_202E_206F_206B_206C_200D_206B_200D_200C_202A_202B_206E_200E_206E_206B_200E_206A_200D_206B_200C_202E(stringBuilder, global::_003CModule_003E._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(1581517409)); + int num = ((!PrintMembers(stringBuilder)) ? 745418664 : 745418667); + while (true) + { + int num2 = num; + int num3 = 745418666; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _200E_206F_202E_202A_202C_200C_200F_202D_206C_202D_200E_202A_202D_202B_200F_200C_202C_206A_200B_200B_202E_206D_206D_200E_200F_206A_202D_206A_200D_200F_200C_206D_206D_206B_200E_202E_200E_202A_202A_206F_202E(stringBuilder, '}'); + return _200C_200F_200B_200C_200C_202C_200E_200E_200C_202D_202C_200F_206F_200C_206C_206D_200F_206C_206E_200B_202E_200F_202C_206B_206D_206A_200D_202C_206B_206D_200E_200F_202B_206E_200E_202E_200C_202A_202B_206F_202E((object)stringBuilder); + case 1: + _200E_206F_202E_202A_202C_200C_200F_202D_206C_202D_200E_202A_202D_202B_200F_200C_202C_206A_200B_200B_202E_206D_206D_200E_200F_206A_202D_206A_200D_200F_200C_206D_206D_206B_200E_202E_200E_202A_202A_206F_202E(stringBuilder, ' '); + num = 745418664; + break; + case 0: + num = 745418667; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_206E_202A_200B_206C_202C_206A_206E_206D_202E_206D_202B_202A_206B_202E_206D_200D_206B_200E_202D_206E_202E_206F_206B_206C_200D_206B_200D_200C_202A_202B_206E_200E_206E_206B_200E_206A_200D_206B_200C_202E(builder, global::_003CModule_003E._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(2105858442)); + _202E_206E_202A_200B_206C_202C_206A_206E_206D_202E_206D_202B_202A_206B_202E_206D_200D_206B_200E_202D_206E_202E_206F_206B_206C_200D_206B_200D_200C_202A_202B_206E_200E_206E_206B_200E_206A_200D_206B_200C_202E(builder, Rank.ToString()); + _202E_206E_202A_200B_206C_202C_206A_206E_206D_202E_206D_202B_202A_206B_202E_206D_200D_206B_200E_202D_206E_202E_206F_206B_206C_200D_206B_200D_200C_202A_202B_206E_200E_206E_206B_200E_206A_200D_206B_200C_202E(builder, global::_003CModule_003E._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(2014742517)); + _202E_206E_202A_200B_206C_202C_206A_206E_206D_202E_206D_202B_202A_206B_202E_206D_200D_206B_200E_202D_206E_202E_206F_206B_206C_200D_206B_200D_200C_202A_202B_206E_200E_206E_206B_200E_206A_200D_206B_200C_202E(builder, SatisfactionCurrent.ToString()); + _202E_206E_202A_200B_206C_202C_206A_206E_206D_202E_206D_202B_202A_206B_202E_206D_200D_206B_200E_202D_206E_202E_206F_206B_206C_200D_206B_200D_200C_202A_202B_206E_200E_206E_206B_200E_206A_200D_206B_200C_202E(builder, global::_003CModule_003E._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(1923626592)); + _202E_206E_202A_200B_206C_202C_206A_206E_206D_202E_206D_202B_202A_206B_202E_206D_200D_206B_200E_202D_206E_202E_206F_206B_206C_200D_206B_200D_200C_202A_202B_206E_200E_206E_206B_200E_206A_200D_206B_200C_202E(builder, SatisfactionMax.ToString()); + _202E_206E_202A_200B_206C_202C_206A_206E_206D_202E_206D_202B_202A_206B_202E_206D_200D_206B_200E_202D_206E_202E_206F_206B_206C_200D_206B_200D_200C_202A_202B_206E_200E_206E_206B_200E_206A_200D_206B_200C_202E(builder, global::_003CModule_003E._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(564142829)); + _202E_206E_202A_200B_206C_202C_206A_206E_206D_202E_206D_202B_202A_206B_202E_206D_200D_206B_200E_202D_206E_202E_206F_206B_206C_200D_206B_200D_200C_202A_202B_206E_200E_206E_206B_200E_206A_200D_206B_200C_202E(builder, UsedDeliveries.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(NpcState other) + { + int num = ((!EqualityComparer.Default.Equals(Rank, other.Rank)) ? 1376880194 : 1376880192); + while (true) + { + int num2 = num; + int num3 = 1376880193; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return EqualityComparer.Default.Equals(UsedDeliveries, other.UsedDeliveries); + case 3: + return false; + case 4: + num = ((!EqualityComparer.Default.Equals(SatisfactionMax, other.SatisfactionMax)) ? 1376880194 : 1376880193); + break; + case 2: + num = 1376880192; + break; + case 1: + num = ((!EqualityComparer.Default.Equals(SatisfactionCurrent, other.SatisfactionCurrent)) ? 1376880194 : 1376880197); + break; + } + } + } + + bool IEquatable.Equals(NpcState other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206F_200F_202A_202D_202C_206E_202E_202A_202A_202D_200F_202B_206E_206D_206C_202B_206E_206B_200D_200C_200D_200C_200C_200E_202B_202D_200D_202E_206D_206C_200D_202A_202D_200D_206B_202A_206F_200B_202E_200D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_206E_202A_200B_206C_202C_206A_206E_206D_202E_206D_202B_202A_206B_202E_206D_200D_206B_200E_202D_206E_202E_206F_206B_206C_200D_206B_200D_200C_202A_202B_206E_200E_206E_206B_200E_206A_200D_206B_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200E_206F_202E_202A_202C_200C_200F_202D_206C_202D_200E_202A_202D_202B_200F_200C_202C_206A_200B_200B_202E_206D_206D_200E_200F_206A_202D_206A_200D_200F_200C_206D_206D_206B_200E_202E_200E_202A_202A_206F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200C_200F_200B_200C_200C_202C_200E_200E_200C_202D_202C_200F_206F_200C_206C_206D_200F_206C_206E_200B_202E_200F_202C_206B_206D_206A_200D_202C_206B_206D_200E_200F_202B_206E_200E_202E_200C_202A_202B_206F_202E(object P_0) + { + return P_0.ToString(); + } + } + + private const string SatisfactionSupplyAddon = "SatisfactionSupply"; + + private const string SatisfactionSupplyResultAddon = "SatisfactionSupplyResult"; + + private const string TalkAddon = "Talk"; + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsSatisfactionSupplyReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-799124681), out addonPtr) ? 288080028 : 288080031); + while (true) + { + int num2 = num; + int num3 = 288080030; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0054; + case 2: + return LAddon.IsAddonReady(addonPtr); + case 1: + return false; + } + continue; + IL_0054: + num = 288080031; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsSatisfactionSupplyFullyReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(1887910937), out addonPtr) ? (-536091870) : (-536091865)); + AgentSatisfactionSupply* ptr = default(AgentSatisfactionSupply*); + while (true) + { + int num2 = num; + int num3 = -536091868; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + ptr = AgentSatisfactionSupply.Instance(); + num = ((ptr == null) ? (-536091871) : (-536091872)); + break; + case 2: + return ptr->NpcInfo.Initialized; + case 6: + num = (LAddon.IsAddonReady(addonPtr) ? (-536091867) : (-536091869)); + break; + case 7: + return false; + case 8: + num = ((!ptr->NpcInfo.Valid) ? (-536091871) : (-536091866)); + break; + case 0: + num = -536091865; + break; + case 4: + num = ((!ptr->IsAgentActive()) ? (-536091871) : (-536091860)); + break; + case 5: + return false; + case 3: + return false; + } + } + } + + public unsafe static bool TrySelectDeliverySlot(IGameGui gameGui, int slot) + { + int num = (IsSatisfactionSupplyFullyReady(gameGui) ? 1316647877 : 1316647878); + while (true) + { + int num2 = num; + int num3 = 1316647876; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + { + 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; + } + case 2: + return false; + case 0: + goto IL_009f; + } + continue; + IL_009f: + num = 1316647878; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryCloseSatisfactionSupply(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-304354033), out addonPtr) ? (-1559808430) : (-1559808431)); + while (true) + { + int num2 = num; + int num3 = -1559808429; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0052; + case 1: + addonPtr->FireCallbackInt(0); + return true; + case 2: + return false; + } + continue; + IL_0052: + num = -1559808431; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsTalkInProgress(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-5198087), out addonPtr) ? 208572511 : 208572508); + while (true) + { + int num2 = num; + int num3 = 208572510; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 208572508; + break; + case 0: + return LAddon.IsAddonReady(addonPtr); + case 2: + return false; + case 4: + return false; + case 1: + num = ((!addonPtr->IsVisible) ? 208572506 : 208572510); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryProgressTalk(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(1257507185), out addonPtr) ? 1712398322 : 1712398327); + while (true) + { + int num2 = num; + int num3 = 1712398326; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return false; + case 1: + return false; + case 3: + num = 1712398327; + break; + case 0: + num = (LAddon.IsAddonReady(addonPtr) ? 1712398323 : 1712398324); + break; + case 5: + addonPtr->FireCallbackInt(0); + return true; + case 4: + num = ((!addonPtr->IsVisible) ? 1712398324 : 1712398326); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsSatisfactionSupplyResultVisible(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1902425193), out addonPtr) ? 744661943 : 744661940); + while (true) + { + int num2 = num; + int num3 = 744661941; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return LAddon.IsAddonReady(addonPtr); + case 1: + return false; + case 0: + goto IL_005b; + } + continue; + IL_005b: + num = 744661940; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryCloseSatisfactionSupplyResult(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-2097771631), out addonPtr) ? (-1858872072) : (-1858872069)); + while (true) + { + int num2 = num; + int num3 = -1858872071; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0054; + case 2: + return false; + case 1: + addonPtr->Close(fireCallback: true); + return true; + } + continue; + IL_0054: + num = -1858872069; + } + } + + public unsafe static bool IsNpcTradeReady() + { + AgentNpcTrade* ptr = AgentNpcTrade.Instance(); + int num = ((ptr == null) ? 553633651 : 553633650); + while (true) + { + int num2 = num; + int num3 = 553633651; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004b; + case 1: + return ptr->IsAgentActive(); + case 0: + return false; + } + continue; + IL_004b: + num = 553633650; + } + } + + public unsafe static (bool Exists, bool Active, int SelectedSlot) GetNpcTradeState() + { + AgentNpcTrade* ptr = AgentNpcTrade.Instance(); + int num = ((ptr != null) ? 1702648938 : 1702648937); + while (true) + { + int num2 = num; + int num3 = 1702648939; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return (Exists: false, Active: false, SelectedSlot: -99); + case 1: + return (Exists: true, Active: ptr->IsAgentActive(), SelectedSlot: ptr->SelectedTurnInSlot); + } + continue; + IL_0049: + num = 1702648937; + } + } + + public unsafe static bool TryConfirmTrade() + { + AgentNpcTrade* ptr = AgentNpcTrade.Instance(); + int num = ((ptr == null) ? (-859221764) : (-859221774)); + AtkValue atkValue = default(AtkValue); + Span span = default(Span); + while (true) + { + int num2 = num; + int num3 = -859221772; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 0: + atkValue = new AtkValue(); + span = stackalloc AtkValue[4]; + num = ((ptr->SelectedTurnInSlot >= 0) ? (-859221771) : (-859221776)); + break; + case 6: + num = (ptr->IsAgentActive() ? (-859221772) : (-859221764)); + break; + case 8: + return false; + case 7: + return false; + case 5: + 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; + case 1: + num = ((ptr->SelectedTurnInSlot == 0) ? (-859221775) : (-859221770)); + break; + case 9: + num = -859221774; + break; + case 3: + num = ((ptr->SelectedTurnInSlotItemOptions > 0) ? (-859221775) : (-859221773)); + break; + case 4: + span[0].SetInt(2); + span[1].SetInt(0); + span[2].SetInt(0); + span[3].SetInt(0); + ptr->ReceiveEvent(&atkValue, span.GetPointer(0), 4u, 0uL); + num = ((ptr->SelectedTurnInSlot != 0) ? (-859221773) : (-859221769)); + break; + } + } + } + + public unsafe static int GetRemainingAllowances() + { + SatisfactionSupplyManager* ptr = SatisfactionSupplyManager.Instance(); + int num = ((ptr != null) ? (-1768883873) : (-1768883876)); + while (true) + { + int num2 = num; + int num3 = -1768883874; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return 0; + case 1: + return ptr->GetRemainingAllowances(); + } + continue; + IL_0049: + num = -1768883876; + } + } + + public unsafe static NpcState GetNpcState(int npcIndex) + { + SatisfactionSupplyManager* ptr = SatisfactionSupplyManager.Instance(); + int num = ((ptr != null) ? (-1038874379) : (-1038874380)); + while (true) + { + int num2 = num; + int num3 = -1038874384; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1038874380; + break; + case 2: + return new NpcState(ptr->SatisfactionRanks[npcIndex], ptr->Satisfaction[npcIndex], 0, ptr->UsedAllowances[npcIndex]); + case 1: + return default(NpcState); + case 3: + num = ((npcIndex < ptr->SatisfactionRanks.Length) ? (-1038874382) : (-1038874383)); + break; + case 5: + num = ((npcIndex < 0) ? (-1038874383) : (-1038874381)); + break; + case 4: + return default(NpcState); + } + } + } + + public unsafe static uint GetSupplySeed() + { + SatisfactionSupplyManager* ptr = SatisfactionSupplyManager.Instance(); + int num = ((ptr != null) ? (-919360628) : (-919360625)); + while (true) + { + int num2 = num; + int num3 = -919360626; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 1: + return 0u; + case 2: + return ptr->SupplySeed; + } + continue; + IL_004b: + num = -919360625; + } + } + + public unsafe static byte GetBonusGuaranteeRowId() + { + SatisfactionSupplyManager* ptr = SatisfactionSupplyManager.Instance(); + int num = ((ptr != null) ? (-1374760124) : (-1374760121)); + while (true) + { + int num2 = num; + int num3 = -1374760123; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return ptr->BonusGuaranteeRowId; + case 2: + return byte.MaxValue; + case 0: + goto IL_0058; + } + continue; + IL_0058: + num = -1374760121; + } + } +} diff --git a/LLib/LLib.Shop/VendorPurchaseActions.cs b/LLib/LLib.Shop/VendorPurchaseActions.cs new file mode 100644 index 00000000..6a7fef71 --- /dev/null +++ b/LLib/LLib.Shop/VendorPurchaseActions.cs @@ -0,0 +1,302 @@ +using System.Runtime.CompilerServices; +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"; + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsDialogReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = ((!gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1862554063), out addonPtr)) ? 148759857 : 148759862); + AtkUnitBase* addonPtr2 = default(AtkUnitBase*); + while (true) + { + int num2 = num; + int num3 = 148759859; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return true; + case 5: + num = ((!LAddon.IsAddonReady(addonPtr)) ? 148759857 : 148759858); + break; + case 0: + return false; + case 2: + num = ((!gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1204054181), out addonPtr2)) ? 148759859 : 148759863); + break; + case 6: + num = 148759862; + break; + case 1: + return true; + case 4: + num = ((!LAddon.IsAddonReady(addonPtr2)) ? 148759859 : 148759856); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TrySelectDialogOption(IGameGui gameGui, int index) + { + AtkUnitBase* addonPtr; + int num = ((!gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1862554063), out addonPtr)) ? (-479532860) : (-479532861)); + AtkUnitBase* addonPtr2 = default(AtkUnitBase*); + while (true) + { + int num2 = num; + int num3 = -479532858; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -479532861; + break; + case 2: + num = ((!gameGui.TryGetAddonByName(global::_003CModule_003E._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(-100229517), out addonPtr2)) ? (-479532857) : (-479532862)); + break; + case 5: + num = ((!LAddon.IsAddonReady(addonPtr)) ? (-479532860) : (-479532858)); + break; + case 4: + num = ((!LAddon.IsAddonReady(addonPtr2)) ? (-479532857) : (-479532864)); + break; + case 6: + AddonCallback.Fire(addonPtr2, index); + return true; + case 0: + AddonCallback.Fire(addonPtr, index); + return true; + case 1: + return false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool IsShopReady(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(854458650), out addonPtr) ? 1690879529 : 1690879530); + while (true) + { + int num2 = num; + int num3 = 1690879531; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0054; + case 1: + return false; + case 2: + return LAddon.IsAddonReady(addonPtr); + } + continue; + IL_0054: + num = 1690879530; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static int FindItemDisplayIndex(IGameGui gameGui, uint itemId) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-526765299), out addonPtr) ? 2111523499 : 2111523488); + int num6 = default(int); + int num5 = default(int); + uint uInt = default(uint); + while (true) + { + int num2 = num; + int num3 = 2111523490; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + num = ((addonPtr->AtkValues == null) ? 2111523494 : 2111523490); + break; + case 7: + { + int num7 = num6; + num3 = 1; + num4 = num7; + num6 = (num4 | num3) + (num4 & num3); + num = 2111523502; + break; + } + case 5: + { + num3 = num6; + num4 = 441; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + num5 = num8 + (num9 + num9); + num = ((num5 < addonPtr->AtkValuesCount) ? 2111523492 : 2111523503); + break; + } + case 14: + uInt = addonPtr->AtkValues[2].UInt; + num6 = 0; + num = 2111523502; + break; + case 12: + num = ((num6 < uInt) ? 2111523495 : 2111523491); + break; + case 2: + return -1; + case 10: + return -1; + case 9: + num = (LAddon.IsAddonReady(addonPtr) ? 2111523498 : 2111523496); + break; + case 3: + return num6; + case 0: + num = ((addonPtr->AtkValuesCount > 2) ? 2111523500 : 2111523494); + break; + case 1: + return -1; + case 4: + return -1; + case 13: + return -1; + case 11: + num = 2111523488; + break; + case 6: + num = ((addonPtr->AtkValues[num5].UInt != itemId) ? 2111523493 : 2111523489); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryBuyItem(IGameGui gameGui, int itemIndex, int quantity) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-364498650), out addonPtr) ? (-705089016) : (-705089011)); + while (true) + { + int num2 = num; + int num3 = -705089012; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = (LAddon.IsAddonReady(addonPtr) ? (-705089009) : (-705089012)); + break; + case 0: + return false; + case 2: + num = -705089011; + break; + case 1: + return false; + case 3: + { + 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; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryConfirmPurchase(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-502173951), out addonPtr) ? 723548803 : 723548800); + while (true) + { + int num2 = num; + int num3 = 723548802; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + AddonCallback.ClickYes(addonPtr); + return true; + case 2: + return false; + case 4: + num = 723548800; + break; + case 1: + num = (LAddon.IsAddonReady(addonPtr) ? 723548801 : 723548802); + break; + case 0: + return false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe static bool TryCloseShop(IGameGui gameGui) + { + AtkUnitBase* addonPtr; + int num = (gameGui.TryGetAddonByName(global::_003CModule_003E._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(-364498650), out addonPtr) ? 206614822 : 206614821); + while (true) + { + int num2 = num; + int num3 = 206614820; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + addonPtr->Close(fireCallback: true); + return true; + case 1: + return false; + case 0: + goto IL_0060; + } + continue; + IL_0060: + num = 206614821; + } + } +} diff --git a/LLib/LLib.Shop/VendorResolver.cs b/LLib/LLib.Shop/VendorResolver.cs new file mode 100644 index 00000000..067428b2 --- /dev/null +++ b/LLib/LLib.Shop/VendorResolver.cs @@ -0,0 +1,117 @@ +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) + { + int num; + List result = default(List); + switch (shopType) + { + default: + num = -1685291890; + goto IL_001d; + case EShopType.SpecialShop: + result = _specialShopSearcher.Search(itemId); + num = -1685291895; + goto IL_001d; + case EShopType.GCShop: + goto IL_006c; + case EShopType.GilShop: + goto IL_00ab; + IL_001d: + while (true) + { + int num2 = num; + int num3 = -1685291889; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + return result; + case 4: + goto end_IL_001d; + case 2: + goto IL_006c; + case 0: + result = new List(); + num = -1685291895; + break; + case 5: + num = -1685291890; + break; + case 1: + num = -1685291889; + break; + case 3: + goto IL_00ab; + } + continue; + end_IL_001d: + break; + } + goto case EShopType.SpecialShop; + IL_00ab: + result = _gilShopSearcher.Search(itemId); + num = -1685291895; + goto IL_001d; + IL_006c: + result = _gcShopSearcher.Search(itemId); + num = -1685291895; + goto IL_001d; + } + } + + public ShopSearchResult? FindGilVendor(uint itemId) + { + List list = _gilShopSearcher.Search(itemId); + int num = ((list.Count > 0) ? 274593349 : 274593348); + while (true) + { + int num2 = num; + int num3 = 274593349; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0056; + case 1: + return null; + case 0: + return list[0]; + } + continue; + IL_0056: + num = 274593348; + } + } +} diff --git a/LLib/LLib.csproj b/LLib/LLib.csproj index 2f4b8ba9..737da723 100644 --- a/LLib/LLib.csproj +++ b/LLib/LLib.csproj @@ -22,12 +22,18 @@ 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\Dalamud.Bindings.ImGui.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\15.0.3.2\InteropGenerator.Runtime.dll diff --git a/LLib/LLib/AtomicFile.cs b/LLib/LLib/AtomicFile.cs new file mode 100644 index 00000000..69f61cd7 --- /dev/null +++ b/LLib/LLib/AtomicFile.cs @@ -0,0 +1,257 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Runtime.CompilerServices; + +namespace LLib; + +public static class AtomicFile +{ + [MethodImpl(MethodImplOptions.NoInlining)] + public static void WriteAllText(string path, string contents) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 2); + defaultInterpolatedStringHandler.AppendFormatted(path); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(657022072)); + defaultInterpolatedStringHandler.AppendFormatted(Guid.NewGuid(), global::_003CModule_003E._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(-2122338139)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1367875388)); + string text = defaultInterpolatedStringHandler.ToStringAndClear(); + try + { + FileStream fileStream = _200F_202A_202C_202D_206D_202A_206A_202E_200F_206D_200F_206D_206B_202E_206E_206A_200D_200D_202D_200C_200C_206C_206E_200F_200B_202D_206D_200B_206B_200C_202E_206D_206B_202D_200B_206C_200C_202B_202B_202E_202E(text, FileMode.CreateNew, FileAccess.Write, FileShare.None); + try + { + StreamWriter streamWriter = _202C_202C_202D_206A_202A_200B_200E_206B_206F_206A_202C_206B_206E_202E_206C_206F_206B_206F_206B_202B_202C_200F_202A_206A_202E_202C_200F_206B_200F_206D_202D_202A_200C_200E_202C_206A_202D_206B_202D_202B_202E((Stream)fileStream); + try + { + _206F_206F_202B_202B_206A_206A_202A_206C_200C_200E_206C_206A_200C_200E_202A_200E_206F_206F_202E_202B_202E_202E_202A_202B_206B_200F_202B_206F_202C_202D_200C_202A_202D_202B_202A_206D_202B_206B_206D_206D_202E((TextWriter)streamWriter, contents); + _206D_202E_200C_200D_202D_206D_202B_206B_202C_200E_202E_202D_206B_202C_206C_206C_206C_202C_202D_206D_200E_200F_200C_202C_202A_206A_200B_202E_200D_206F_200C_206D_202C_206B_200B_200C_200F_200B_202D_202A_202E((TextWriter)streamWriter); + _200C_200F_202A_206C_200D_206A_200F_206D_206E_202B_200D_200F_202B_206D_202A_202D_200E_206A_202C_200C_200C_202C_202C_206E_202B_200C_206A_206D_200E_200F_206E_200B_200C_202B_200D_206A_200D_202C_206A_200D_202E(fileStream, true); + } + finally + { + int num = ((streamWriter == null) ? 2495584 : 2495587); + while (true) + { + int num2 = num; + int num3 = 2495585; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + goto end_IL_0099; + case 2: + _206E_202D_202D_200F_202E_206C_206E_200C_206C_200E_202E_206A_206C_200D_200E_202B_206E_202C_200D_206E_200F_202A_206F_202B_202D_206F_206C_206C_206E_200D_200B_200F_202E_206E_200C_200D_206A_200C_206F_202C_202E((IDisposable)streamWriter); + num = 2495584; + break; + case 0: + num = 2495587; + break; + } + continue; + end_IL_0099: + break; + } + } + } + finally + { + int num = ((fileStream == null) ? 135208521 : 135208522); + while (true) + { + int num7 = num; + int num3 = 135208520; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 135208522; + break; + case 2: + _206E_202D_202D_200F_202E_206C_206E_200C_206C_200E_202E_206A_206C_200D_200E_202B_206E_202C_200D_206E_200F_202A_206F_202B_202D_206F_206C_206C_206E_200D_200B_200F_202E_206E_200C_200D_206A_200C_206F_202C_202E((IDisposable)fileStream); + num = 135208521; + break; + case 1: + goto end_IL_0109; + } + continue; + end_IL_0109: + break; + } + } + _202D_202C_200C_200B_200F_206E_202E_200C_200F_202D_202C_200C_200E_206A_200B_206A_200D_202E_200E_200C_200D_206D_206C_206E_206D_200B_202D_200E_202D_200E_206C_202D_200D_206F_202A_202D_206B_202A_202E_202E_202E(text, path, true); + CleanupOrphanedTempFiles(path, text); + } + catch + { + try + { + _206D_200C_200C_202B_206D_206F_206F_200D_200E_200D_200F_200E_202D_202C_206D_202D_200B_202C_202E_206D_200F_206F_206C_206E_206B_206D_202B_202E_206F_200C_206B_200E_202D_206A_200C_206D_202C_206A_200D_206C_202E(text); + } + catch + { + } + throw; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static void CleanupOrphanedTempFiles(string path, string currentTmp) + { + try + { + string text = _200C_200D_200F_202B_202B_200B_200D_206E_206C_206B_200F_206D_202E_206B_200E_206B_206C_200B_206C_202A_206F_206C_206A_200E_202B_206B_202E_206A_200D_202D_202B_200C_202D_206B_200E_200E_206C_200E_200F_200D_202E(path); + int num = ((text == null) ? (-1500986327) : (-1500986326)); + string text2; + while (true) + { + int num2 = num; + int num3 = -1500986327; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 2: + num = -1500986326; + continue; + case 3: + num = ((_200C_206E_200D_202A_200C_202D_200F_200E_200F_202E_202B_206A_200F_206C_200B_200F_202B_200F_200D_206D_206F_200F_202E_206D_202C_200E_202A_202C_206A_202D_200D_202B_200B_202B_206D_206B_200B_200C_202E_202E_202E(text) > 0) ? (-1500986328) : (-1500986327)); + continue; + case 0: + text2 = global::_003CModule_003E._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(-1154351772); + break; + case 1: + text2 = text; + break; + } + break; + } + string text3 = _202B_200F_206B_206B_206A_202C_200D_200D_200D_202A_202A_206D_202E_202A_200E_200C_206B_202A_202A_200B_200E_206B_206C_206D_200C_206F_202E_206A_206B_202B_206F_206C_200F_202C_206A_200F_202E_202C_206E_206F_202E(_202C_206E_200F_200F_202D_200B_206D_202C_202E_206E_200F_200B_206E_200C_200F_202C_206F_206B_206B_206C_200E_202B_206E_206F_202E_206D_206A_202E_202E_202B_202D_206E_206E_206D_202E_206A_206D_206B_200D_202C_202E(path), global::_003CModule_003E._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(-1112271862)); + IEnumerator enumerator = _202D_206C_206F_200F_206C_206E_206C_200C_200E_202B_202A_202B_202C_206A_206D_202C_202D_206F_202B_200E_206C_206C_200B_206D_202D_202E_206B_202E_200B_200C_206F_206B_200B_200E_200F_200F_206A_200C_200C_202C_202E(text2, text3).GetEnumerator(); + try + { + while (_200D_202B_206F_200E_206A_200C_202D_200E_206D_206A_206E_206F_200D_202A_202D_202C_202E_202D_206C_206D_206F_206C_206F_200D_206F_206D_200B_202E_200E_200B_200B_206D_206D_202C_200C_202B_202C_200B_206B_206A_202E((IEnumerator)enumerator)) + { + string current = enumerator.Current; + if (!_206E_200B_202D_202A_206E_202D_202C_202E_206B_206D_202E_200D_206E_206A_200B_202D_200F_206D_206F_200E_206B_206A_200B_206A_206A_206C_200D_206A_206C_200D_202C_202C_200D_206D_202D_206B_200D_200C_202A_202C_202E(_202C_206E_200F_200F_202D_200B_206D_202C_202E_206E_200F_200B_206E_200C_200F_202C_206F_206B_206B_206C_200E_202B_206E_206F_202E_206D_206A_202E_202E_202B_202D_206E_206E_206D_202E_206A_206D_206B_200D_202C_202E(current), _202C_206E_200F_200F_202D_200B_206D_202C_202E_206E_200F_200B_206E_200C_200F_202C_206F_206B_206B_206C_200E_202B_206E_206F_202E_206D_206A_202E_202E_202B_202D_206E_206E_206D_202E_206A_206D_206B_200D_202C_202E(currentTmp), StringComparison.Ordinal)) + { + try + { + _206D_200C_200C_202B_206D_206F_206F_200D_200E_200D_200F_200E_202D_202C_206D_202D_200B_202C_202E_206D_200F_206F_206C_206E_206B_206D_202B_202E_206F_200C_206B_200E_202D_206A_200C_206D_202C_206A_200D_206C_202E(current); + } + catch + { + } + } + } + } + finally + { + num = ((enumerator == null) ? (-1811405444) : (-1811405441)); + while (true) + { + int num5 = num; + int num3 = -1811405443; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1811405441; + break; + case 2: + _206E_202D_202D_200F_202E_206C_206E_200C_206C_200E_202E_206A_206C_200D_200E_202B_206E_202C_200D_206E_200F_202A_206F_202B_202D_206F_206C_206C_206E_200D_200B_200F_202E_206E_200C_200D_206A_200C_206F_202C_202E((IDisposable)enumerator); + num = -1811405444; + break; + case 1: + goto end_IL_0126; + } + continue; + end_IL_0126: + break; + } + } + } + catch + { + } + } + + static FileStream _200F_202A_202C_202D_206D_202A_206A_202E_200F_206D_200F_206D_206B_202E_206E_206A_200D_200D_202D_200C_200C_206C_206E_200F_200B_202D_206D_200B_206B_200C_202E_206D_206B_202D_200B_206C_200C_202B_202B_202E_202E(string P_0, FileMode P_1, FileAccess P_2, FileShare P_3) + { + return new FileStream(P_0, P_1, P_2, P_3); + } + + static StreamWriter _202C_202C_202D_206A_202A_200B_200E_206B_206F_206A_202C_206B_206E_202E_206C_206F_206B_206F_206B_202B_202C_200F_202A_206A_202E_202C_200F_206B_200F_206D_202D_202A_200C_200E_202C_206A_202D_206B_202D_202B_202E(Stream P_0) + { + return new StreamWriter(P_0); + } + + static void _206F_206F_202B_202B_206A_206A_202A_206C_200C_200E_206C_206A_200C_200E_202A_200E_206F_206F_202E_202B_202E_202E_202A_202B_206B_200F_202B_206F_202C_202D_200C_202A_202D_202B_202A_206D_202B_206B_206D_206D_202E(TextWriter P_0, string P_1) + { + P_0.Write(P_1); + } + + static void _206D_202E_200C_200D_202D_206D_202B_206B_202C_200E_202E_202D_206B_202C_206C_206C_206C_202C_202D_206D_200E_200F_200C_202C_202A_206A_200B_202E_200D_206F_200C_206D_202C_206B_200B_200C_200F_200B_202D_202A_202E(TextWriter P_0) + { + P_0.Flush(); + } + + static void _200C_200F_202A_206C_200D_206A_200F_206D_206E_202B_200D_200F_202B_206D_202A_202D_200E_206A_202C_200C_200C_202C_202C_206E_202B_200C_206A_206D_200E_200F_206E_200B_200C_202B_200D_206A_200D_202C_206A_200D_202E(FileStream P_0, bool P_1) + { + P_0.Flush(P_1); + } + + static void _206E_202D_202D_200F_202E_206C_206E_200C_206C_200E_202E_206A_206C_200D_200E_202B_206E_202C_200D_206E_200F_202A_206F_202B_202D_206F_206C_206C_206E_200D_200B_200F_202E_206E_200C_200D_206A_200C_206F_202C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202D_202C_200C_200B_200F_206E_202E_200C_200F_202D_202C_200C_200E_206A_200B_206A_200D_202E_200E_200C_200D_206D_206C_206E_206D_200B_202D_200E_202D_200E_206C_202D_200D_206F_202A_202D_206B_202A_202E_202E_202E(string P_0, string P_1, bool P_2) + { + File.Move(P_0, P_1, P_2); + } + + static void _206D_200C_200C_202B_206D_206F_206F_200D_200E_200D_200F_200E_202D_202C_206D_202D_200B_202C_202E_206D_200F_206F_206C_206E_206B_206D_202B_202E_206F_200C_206B_200E_202D_206A_200C_206D_202C_206A_200D_206C_202E(string P_0) + { + File.Delete(P_0); + } + + static string _200C_200D_200F_202B_202B_200B_200D_206E_206C_206B_200F_206D_202E_206B_200E_206B_206C_200B_206C_202A_206F_206C_206A_200E_202B_206B_202E_206A_200D_202D_202B_200C_202D_206B_200E_200E_206C_200E_200F_200D_202E(string P_0) + { + return Path.GetDirectoryName(P_0); + } + + static int _200C_206E_200D_202A_200C_202D_200F_200E_200F_202E_202B_206A_200F_206C_200B_200F_202B_200F_200D_206D_206F_200F_202E_206D_202C_200E_202A_202C_206A_202D_200D_202B_200B_202B_206D_206B_200B_200C_202E_202E_202E(string P_0) + { + return P_0.Length; + } + + static string _202C_206E_200F_200F_202D_200B_206D_202C_202E_206E_200F_200B_206E_200C_200F_202C_206F_206B_206B_206C_200E_202B_206E_206F_202E_206D_206A_202E_202E_202B_202D_206E_206E_206D_202E_206A_206D_206B_200D_202C_202E(string P_0) + { + return Path.GetFileName(P_0); + } + + static string _202B_200F_206B_206B_206A_202C_200D_200D_200D_202A_202A_206D_202E_202A_200E_200C_206B_202A_202A_200B_200E_206B_206C_206D_200C_206F_202E_206A_206B_202B_206F_206C_200F_202C_206A_200F_202E_202C_206E_206F_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static IEnumerable _202D_206C_206F_200F_206C_206E_206C_200C_200E_202B_202A_202B_202C_206A_206D_202C_202D_206F_202B_200E_206C_206C_200B_206D_202D_202E_206B_202E_200B_200C_206F_206B_200B_200E_200F_200F_206A_200C_200C_202C_202E(string P_0, string P_1) + { + return Directory.EnumerateFiles(P_0, P_1); + } + + static bool _206E_200B_202D_202A_206E_202D_202C_202E_206B_206D_202E_200D_206E_206A_200B_202D_200F_206D_206F_200E_206B_206A_200B_206A_206A_206C_200D_206A_206C_200D_202C_202C_200D_206D_202D_206B_200D_200C_202A_202C_202E(string P_0, string P_1, StringComparison P_2) + { + return string.Equals(P_0, P_1, P_2); + } + + static bool _200D_202B_206F_200E_206A_200C_202D_200E_206D_206A_206E_206F_200D_202A_202D_202C_202E_202D_206C_206D_206F_206C_206F_200D_206F_206D_200B_202E_200E_200B_200B_206D_206D_202C_200C_202B_202C_200B_206B_206A_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } +} diff --git a/LLib/LLib/ChatHelper.cs b/LLib/LLib/ChatHelper.cs new file mode 100644 index 00000000..13c02dc4 --- /dev/null +++ b/LLib/LLib/ChatHelper.cs @@ -0,0 +1,51 @@ +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(); + int num = ((ptr != null) ? 97201329 : 97201331); + UIModule* uIModule = default(UIModule*); + while (true) + { + int num2 = num; + int num3 = 97201328; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 97201331; + break; + case 3: + return; + case 2: + return; + case 1: + uIModule = ptr->GetUIModule(); + num = ((uIModule != null) ? 97201332 : 97201330); + break; + case 4: + { + Utf8String utf8String = new Utf8String(command); + try + { + uIModule->ProcessChatBoxEntry(&utf8String); + return; + } + finally + { + ((IDisposable)utf8String/*cast due to .constrained prefix*/).Dispose(); + } + } + } + } + } +} diff --git a/LLib/LLib/DalamudReflector.cs b/LLib/LLib/DalamudReflector.cs index b4acce01..0ba3c7c6 100644 --- a/LLib/LLib/DalamudReflector.cs +++ b/LLib/LLib/DalamudReflector.cs @@ -1,8 +1,16 @@ using System; using System.Collections; +using System.Collections.Concurrent; using System.Collections.Generic; +using System.Diagnostics; using System.Diagnostics.CodeAnalysis; +using System.Globalization; +using System.Linq; using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Threading; +using System.Threading.Tasks; using Dalamud.Plugin; using Dalamud.Plugin.Services; @@ -10,91 +18,2951 @@ namespace LLib; public sealed class DalamudReflector : IDisposable { - private readonly IDalamudPluginInterface _pluginInterface; + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass22_0 + { + public string repoUrl; - private readonly IFramework _framework; + internal bool _003CFindAvailableManifest_003Eb__0(string alias) + { + return RepoUrlEquals(repoUrl, alias); + } + } + + [StructLayout(LayoutKind.Auto)] + [CompilerGenerated] + private struct _003CAddPluginAsync_003Ed__9 : IAsyncStateMachine + { + public int _003C_003E1__state; + + public AsyncTaskMethodBuilder _003C_003Et__builder; + + public DalamudReflector _003C_003E4__this; + + public string internalName; + + public string thirdPartyRepoUrl; + + public IReadOnlyList aliases; + + private object _003CpluginManager_003E5__2; + + private Assembly _003Cassembly_003E5__3; + + private MethodInfo _003CreloadMethod_003E5__4; + + private Task _003CinstallTask_003E5__5; + + private bool _003Cloaded_003E5__6; + + private ConfiguredTaskAwaitable.ConfiguredTaskAwaiter _003C_003Eu__1; + + [MethodImpl(MethodImplOptions.NoInlining)] + private void MoveNext() + { + int num = _003C_003E1__state; + DalamudReflector dalamudReflector = _003C_003E4__this; + bool result; + try + { + switch (num) + { + case 2: + goto IL_016d; + case 0: + goto IL_0603; + case 1: + goto IL_062c; + } + int num2 = -158450101; + goto IL_002c; + IL_016d: + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter awaiter = _003C_003Eu__1; + _003C_003Eu__1 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = (_003C_003E1__state = -1); + num2 = -158450083; + goto IL_002c; + IL_002c: + int num7 = default(int); + object[] array = default(object[]); + object obj3 = default(object); + object obj = default(object); + object obj2 = default(object); + MethodInfo methodInfo = default(MethodInfo); + Type type = default(Type); + ParameterInfo[] array2 = default(ParameterInfo[]); + Type type2 = default(Type); + object obj4 = default(object); + while (true) + { + int num3 = num2; + int num4 = -158450089; + int num5 = num3; + int num6; + switch ((num5 | num4) - (num5 & num4)) + { + case 8: + goto IL_00d4; + case 2: + goto end_IL_002c; + case 28: + goto IL_0196; + case 31: + goto IL_01f2; + case 0: + { + int num8 = num7; + num4 = 1; + num5 = num8; + num7 = (num5 | num4) + (num5 & num4); + num2 = -158450057; + break; + } + case 30: + throw _206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(_202E_206D_206D_202C_206A_206F_202A_200B_200F_206B_206F_202D_206D_200F_202D_200B_206A_200F_200C_206F_206A_206F_200E_200B_206C_202D_206E_206C_200D_206E_200C_206A_206E_200B_202A_206E_202E_206F_200D_202C_202E(global::_003CModule_003E._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(1931795628), internalName, global::_003CModule_003E._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(2124475057))); + case 15: + array[num7] = obj3; + num2 = -158450089; + break; + case 33: + goto IL_0285; + case 13: + array[num7] = null; + num2 = -158450089; + break; + case 24: + goto IL_02ee; + case 26: + goto IL_0346; + case 20: + result = true; + goto end_IL_000e; + case 9: + goto IL_039c; + case 32: + goto IL_03d2; + case 23: + goto IL_03f5; + case 10: + goto IL_041b; + case 18: + goto IL_047f; + case 21: + num = (_003C_003E1__state = 2); + _003C_003Eu__1 = awaiter; + _003C_003Et__builder.AwaitUnsafeOnCompleted(ref awaiter, ref this); + return; + case 12: + awaiter.GetResult(); + obj = FindAvailableManifest(_003CpluginManager_003E5__2, internalName, thirdPartyRepoUrl, aliases); + num2 = -158450108; + break; + case 11: + goto IL_050e; + case 16: + num2 = -158450101; + break; + case 1: + goto IL_0599; + case 7: + throw _206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(-169019911)); + case 6: + goto IL_0603; + case 17: + goto IL_062c; + case 4: + num = (_003C_003E1__state = 0); + _003C_003Eu__1 = awaiter; + _003C_003Et__builder.AwaitUnsafeOnCompleted(ref awaiter, ref this); + return; + case 3: + num = (_003C_003E1__state = 1); + _003C_003Eu__1 = awaiter; + _003C_003Et__builder.AwaitUnsafeOnCompleted(ref awaiter, ref this); + return; + case 22: + goto IL_06b5; + case 5: + result = false; + goto end_IL_000e; + case 14: + array[num7] = false; + num2 = -158450089; + break; + case 29: + _003Cloaded_003E5__6 = (bool)obj2; + num6 = 1; + goto IL_0752; + case 19: + goto IL_0721; + case 25: + array[num7] = obj; + num2 = -158450089; + break; + case 27: + { + num6 = 0; + goto IL_0752; + } + IL_0752: + result = (byte)((uint)num6 & (_003Cloaded_003E5__6 ? 1u : 0u)) != 0; + goto end_IL_000e; + } + continue; + IL_0721: + num2 = ((obj != null) ? (-158450081) : (-158450103)); + continue; + IL_00d4: + methodInfo = _206B_206D_206A_200F_202E_206C_202A_206C_206E_206A_200B_206B_202C_202D_206D_206C_202B_202D_200E_200C_200F_202C_206C_200C_202B_200E_200C_200B_206F_202D_202E_202C_202E_200B_206B_200B_206A_206E_200E_200F_202E(_200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E(_003CpluginManager_003E5__2), global::_003CModule_003E._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(1435604918), BindingFlags.Instance | BindingFlags.Public) ?? throw _206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(-1358635013)); + type = _200F_206E_206B_200C_200D_206A_200E_200B_202A_206F_200D_202D_202C_202B_202C_206D_206F_206C_202E_202E_202D_202A_206F_202C_202A_206B_206C_200D_200F_202A_206E_202E_202E_202B_206A_206C_206D_200C_202D_200F_202E(_003Cassembly_003E5__3, global::_003CModule_003E._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(-1964451499)) ?? throw _206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(-1640054167)); + obj3 = _200D_200E_200E_200D_202D_200B_202A_206F_202D_202A_206B_206E_200C_202C_202A_206C_206F_206B_200E_206B_200D_200D_200F_200B_206B_200F_202E_206A_200B_200C_206C_206B_202B_200C_200E_200D_202E_202D_206E_200E_202E(type, global::_003CModule_003E._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(1257923011)); + array2 = _200F_202A_202D_202D_206E_202B_202D_206B_200D_200E_200E_202E_206A_206E_202A_200B_200E_202E_200E_202B_200C_200C_202B_200E_202A_206B_206D_206A_206C_200D_206A_202C_202D_202C_200C_202B_206B_202C_202B_206E_202E((MethodBase)methodInfo); + array = new object[array2.Length]; + num7 = 0; + num2 = -158450057; + continue; + IL_047f: + num2 = ((!_206F_206F_202A_200B_206D_200B_200E_200F_206D_202B_206D_206C_202A_206D_202A_206F_206A_200B_206D_202E_202E_202C_206B_200F_202D_202E_200F_202C_200D_200C_206B_206A_202E_202A_206C_202D_206C_202B_206B_206B_202E(type2, _206C_206A_206B_200D_206E_206A_206F_200D_202A_206D_200E_206C_200B_202D_202A_202C_200E_206E_206E_200C_200D_206B_200B_206A_200C_206D_206D_206F_206D_206C_206D_200D_202E_202E_206B_200C_200E_206E_206E_200D_202E(typeof(bool).TypeHandle))) ? (-158450112) : (-158450087)); + continue; + IL_06b5: + num2 = ((thirdPartyRepoUrl == null) ? (-158450108) : (-158450058)); + continue; + IL_03d2: + num2 = ((num7 < array2.Length) ? (-158450082) : (-158450097)); + continue; + IL_01f2: + awaiter = _200B_206F_206B_202B_206D_202A_200D_202D_206C_206C_202B_202A_206D_206A_200D_206B_200B_202D_206C_206C_206D_206A_206F_200E_206C_202B_202D_200B_202C_202D_202B_202B_206E_206E_200B_202B_200B_200D_206B_202B_202E(_003CinstallTask_003E5__5, false).GetAwaiter(); + num2 = (awaiter.IsCompleted ? (-158450083) : (-158450110)); + continue; + IL_0599: + obj2 = _200D_202B_202D_206C_200E_206F_202C_200F_200F_200C_206E_206B_202E_200D_200D_206E_200E_202A_200D_202D_200C_206B_206C_202A_206F_202A_200E_206D_206D_202B_206A_202A_202D_206F_200D_206C_206F_206F_206A_202A_202E(_202A_200E_206F_206C_206E_200F_206B_202C_202A_206D_200B_200C_200B_206E_206C_202C_202C_200C_202A_200D_200D_202D_206B_200F_202C_200D_206A_206E_206F_200E_202A_206D_202E_200E_202E_200F_202B_200C_200E_206B_202E(_200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E(obj4), global::_003CModule_003E._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(1946306806)) ?? throw _206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(241214595)), obj4); + num2 = ((!(obj2 is bool)) ? (-158450100) : (-158450102)); + continue; + IL_041b: + awaiter.GetResult(); + obj4 = _200D_202B_202D_206C_200E_206F_202C_200F_200F_200C_206E_206B_202E_200D_200D_206E_200E_202A_200D_202D_200C_206B_206C_202A_206F_202A_200E_206D_206D_202B_206A_202A_202D_206F_200D_206C_206F_206F_206A_202A_202E(_202A_200E_206F_206C_206E_200F_206B_202C_202A_206D_200B_200C_200B_206E_206C_202C_202C_200C_202A_200D_200D_202D_206B_200F_202C_200D_206A_206E_206F_200E_202A_206D_202E_200E_202E_200F_202B_200C_200E_206B_202E(_200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E((object)_003CinstallTask_003E5__5), global::_003CModule_003E._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(-1037220679)) ?? throw _206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(1256600865)), (object)_003CinstallTask_003E5__5); + num2 = ((obj4 != null) ? (-158450090) : (-158450094)); + continue; + IL_02ee: + object obj5 = _200D_206A_202B_202A_206B_202B_206B_202D_206B_200F_202D_202E_202D_200B_202E_200C_206C_202C_202D_206D_206D_206A_202B_200E_206E_200B_200F_202C_206B_200C_202D_200B_202C_202E_206A_206A_206B_206A_202E((MethodBase)methodInfo, _003CpluginManager_003E5__2, array) ?? throw _206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(121476692)); + _003CinstallTask_003E5__5 = obj5 as Task; + num2 = ((_003CinstallTask_003E5__5 != null) ? (-158450104) : (-158450096)); + continue; + IL_039c: + type2 = _206C_202C_206E_200C_206F_200D_206F_206E_202C_202B_202E_206E_200F_206C_206C_200F_202C_206D_200E_202D_206F_200D_202E_202E_206D_206F_206C_200F_202C_202C_206E_200E_206D_206A_200C_206F_200C_202D_200B_206F_202E(array2[num7]); + num2 = ((!_202B_202C_202A_206C_200E_206E_202B_206B_202C_206C_206A_206C_200D_202E_206A_200D_200F_202A_200C_200E_206B_206E_202D_206D_206D_202E_202E_200C_200D_200B_202D_206D_206A_200D_202A_200F_202A_206C_206F_202D_202E(type2, _200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E(obj))) ? (-158450107) : (-158450098)); + continue; + IL_0285: + AddOrEnableThirdPartyRepo(_003Cassembly_003E5__3, thirdPartyRepoUrl); + awaiter = _200B_206F_206B_202B_206D_202A_200D_202D_206C_206C_202B_202A_206D_206A_200D_206B_200B_202D_206C_206C_206D_206A_206F_200E_206C_202B_202D_200B_202C_202D_202B_202B_206E_206E_200B_202B_200B_200D_206B_202B_202E(InvokeReloadAsync(_003CpluginManager_003E5__2, _003CreloadMethod_003E5__4), false).GetAwaiter(); + num2 = (awaiter.IsCompleted ? (-158450085) : (-158450092)); + continue; + IL_050e: + _003CreloadMethod_003E5__4 = _206B_206D_206A_200F_202E_206C_202A_206C_206E_206A_200B_206B_202C_202D_206D_206C_202B_202D_200E_200C_200F_202C_206C_200C_202B_200E_200C_200B_206F_202D_202E_202C_202E_200B_206B_200B_206A_206E_200E_200F_202E(_200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E(_003CpluginManager_003E5__2), global::_003CModule_003E._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(-1659108735), BindingFlags.Instance | BindingFlags.Public) ?? throw _206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(-54915131)); + awaiter = _200B_206F_206B_202B_206D_202A_200D_202D_206C_206C_202B_202A_206D_206A_200D_206B_200B_202D_206C_206C_206D_206A_206F_200E_206C_202B_202D_200B_202C_202D_202B_202B_206E_206E_200B_202B_200B_200D_206B_202B_202E(InvokeReloadAsync(_003CpluginManager_003E5__2, _003CreloadMethod_003E5__4), false).GetAwaiter(); + num2 = (awaiter.IsCompleted ? (-158450099) : (-158450093)); + continue; + IL_0196: + _003CpluginManager_003E5__2 = dalamudReflector.GetPluginManager(); + _003Cassembly_003E5__3 = _200B_202A_202B_202D_202B_206F_202B_200D_202C_202E_206F_206A_202A_206B_206F_206B_200B_202D_206E_202A_206A_200E_206E_202C_200E_206B_202A_200D_206A_202B_200B_200D_200B_206A_206F_200D_206D_202A_200E_200F_202E(_200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E((object)dalamudReflector._pluginInterface)); + num2 = ((!IsVariantLoaded(_003CpluginManager_003E5__2, internalName, thirdPartyRepoUrl, aliases)) ? (-158450084) : (-158450109)); + continue; + IL_03f5: + num2 = ((!_206F_206F_202A_200B_206D_200B_200E_200F_206D_202B_206D_206C_202A_206D_202A_206F_206A_200B_206D_202E_202E_202C_206B_200F_202D_202E_200F_202C_200D_200C_206B_206A_202E_202A_206C_202D_206C_202B_206B_206B_202E(type2, type)) ? (-158450086) : (-158450088)); + continue; + IL_0346: + awaiter.GetResult(); + obj = FindAvailableManifest(_003CpluginManager_003E5__2, internalName, thirdPartyRepoUrl, aliases); + num2 = ((obj != null) ? (-158450108) : (-158450111)); + continue; + end_IL_002c: + break; + } + goto IL_016d; + IL_062c: + awaiter = _003C_003Eu__1; + _003C_003Eu__1 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = (_003C_003E1__state = -1); + num2 = -158450085; + goto IL_002c; + IL_0603: + awaiter = _003C_003Eu__1; + _003C_003Eu__1 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = (_003C_003E1__state = -1); + num2 = -158450099; + goto IL_002c; + end_IL_000e:; + } + catch (Exception exception) + { + _003C_003E1__state = -2; + _003CpluginManager_003E5__2 = null; + _003Cassembly_003E5__3 = null; + _003CreloadMethod_003E5__4 = null; + _003CinstallTask_003E5__5 = null; + _003C_003Et__builder.SetException(exception); + return; + } + _003C_003E1__state = -2; + _003CpluginManager_003E5__2 = null; + _003Cassembly_003E5__3 = null; + _003CreloadMethod_003E5__4 = null; + _003CinstallTask_003E5__5 = null; + _003C_003Et__builder.SetResult(result); + } + + void IAsyncStateMachine.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + this.MoveNext(); + } + + [DebuggerHidden] + private void SetStateMachine(IAsyncStateMachine stateMachine) + { + _003C_003Et__builder.SetStateMachine(stateMachine); + } + + void IAsyncStateMachine.SetStateMachine(IAsyncStateMachine stateMachine) + { + //ILSpy generated this explicit interface implementation from .override directive in SetStateMachine + this.SetStateMachine(stateMachine); + } + + static Type _200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E(object P_0) + { + return P_0.GetType(); + } + + static Assembly _200B_202A_202B_202D_202B_206F_202B_200D_202C_202E_206F_206A_202A_206B_206F_206B_200B_202D_206E_202A_206A_200E_206E_202C_200E_206B_202A_200D_206A_202B_200B_200D_200B_206A_206F_200D_206D_202A_200E_200F_202E(Type P_0) + { + return P_0.Assembly; + } + + static MethodInfo _206B_206D_206A_200F_202E_206C_202A_206C_206E_206A_200B_206B_202C_202D_206D_206C_202B_202D_200E_200C_200F_202C_206C_200C_202B_200E_200C_200B_206F_202D_202E_202C_202E_200B_206B_200B_206A_206E_200E_200F_202E(Type P_0, string P_1, BindingFlags P_2) + { + return P_0.GetMethod(P_1, P_2); + } + + static InvalidOperationException _206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(string P_0) + { + return new InvalidOperationException(P_0); + } + + static ConfiguredTaskAwaitable _200B_206F_206B_202B_206D_202A_200D_202D_206C_206C_202B_202A_206D_206A_200D_206B_200B_202D_206C_206C_206D_206A_206F_200E_206C_202B_202D_200B_202C_202D_202B_202B_206E_206E_200B_202B_200B_200D_206B_202B_202E(Task P_0, bool P_1) + { + return P_0.ConfigureAwait(P_1); + } + + static string _202E_206D_206D_202C_206A_206F_202A_200B_200F_206B_206F_202D_206D_200F_202D_200B_206A_200F_200C_206F_206A_206F_200E_200B_206C_202D_206E_206C_200D_206E_200C_206A_206E_200B_202A_206E_202E_206F_200D_202C_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static Type _200F_206E_206B_200C_200D_206A_200E_200B_202A_206F_200D_202D_202C_202B_202C_206D_206F_206C_202E_202E_202D_202A_206F_202C_202A_206B_206C_200D_200F_202A_206E_202E_202E_202B_206A_206C_206D_200C_202D_200F_202E(Assembly P_0, string P_1) + { + return P_0.GetType(P_1); + } + + static object _200D_200E_200E_200D_202D_200B_202A_206F_202D_202A_206B_206E_200C_202C_202A_206C_206F_206B_200E_206B_200D_200D_200F_200B_206B_200F_202E_206A_200B_200C_206C_206B_202B_200C_200E_200D_202E_202D_206E_200E_202E(Type P_0, string P_1) + { + return Enum.Parse(P_0, P_1); + } + + static ParameterInfo[] _200F_202A_202D_202D_206E_202B_202D_206B_200D_200E_200E_202E_206A_206E_202A_200B_200E_202E_200E_202B_200C_200C_202B_200E_202A_206B_206D_206A_206C_200D_206A_202C_202D_202C_200C_202B_206B_202C_202B_206E_202E(MethodBase P_0) + { + return P_0.GetParameters(); + } + + static Type _206C_202C_206E_200C_206F_200D_206F_206E_202C_202B_202E_206E_200F_206C_206C_200F_202C_206D_200E_202D_206F_200D_202E_202E_206D_206F_206C_200F_202C_202C_206E_200E_206D_206A_200C_206F_200C_202D_200B_206F_202E(ParameterInfo P_0) + { + return P_0.ParameterType; + } + + static bool _202B_202C_202A_206C_200E_206E_202B_206B_202C_206C_206A_206C_200D_202E_206A_200D_200F_202A_200C_200E_206B_206E_202D_206D_206D_202E_202E_200C_200D_200B_202D_206D_206A_200D_202A_200F_202A_206C_206F_202D_202E(Type P_0, Type P_1) + { + return P_0.IsAssignableFrom(P_1); + } + + static Type _206C_206A_206B_200D_206E_206A_206F_200D_202A_206D_200E_206C_200B_202D_202A_202C_200E_206E_206E_200C_200D_206B_200B_206A_200C_206D_206D_206F_206D_206C_206D_200D_202E_202E_206B_200C_200E_206E_206E_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _206F_206F_202A_200B_206D_200B_200E_200F_206D_202B_206D_206C_202A_206D_202A_206F_206A_200B_206D_202E_202E_202C_206B_200F_202D_202E_200F_202C_200D_200C_206B_206A_202E_202A_206C_202D_206C_202B_206B_206B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + + static object _200D_206A_202B_202A_206B_202B_206B_202D_206B_200F_202D_202E_202D_200B_202E_200C_206C_202C_202D_206D_206D_206A_202B_200E_206E_200B_200F_202C_206B_200C_202D_200B_202C_202E_206A_206A_206B_206A_202E(MethodBase P_0, object P_1, object[] P_2) + { + return P_0.Invoke(P_1, P_2); + } + + static PropertyInfo _202A_200E_206F_206C_206E_200F_206B_202C_202A_206D_200B_200C_200B_206E_206C_202C_202C_200C_202A_200D_200D_202D_206B_200F_202C_200D_206A_206E_206F_200E_202A_206D_202E_200E_202E_200F_202B_200C_200E_206B_202E(Type P_0, string P_1) + { + return P_0.GetProperty(P_1); + } + + static object _200D_202B_202D_206C_200E_206F_202C_200F_200F_200C_206E_206B_202E_200D_200D_206E_200E_202A_200D_202D_200C_206B_206C_202A_206F_202A_200E_206D_206D_202B_206A_202A_202D_206F_200D_206C_206F_206F_206A_202A_202E(PropertyInfo P_0, object P_1) + { + return P_0.GetValue(P_1); + } + } + + [StructLayout(LayoutKind.Auto)] + [CompilerGenerated] + private struct _003CEnablePluginAsync_003Ed__10 : IAsyncStateMachine + { + public int _003C_003E1__state; + + public AsyncTaskMethodBuilder _003C_003Et__builder; + + public DalamudReflector _003C_003E4__this; + + public string internalName; + + public string thirdPartyRepoUrl; + + public IReadOnlyList aliases; + + private Assembly _003Cassembly_003E5__2; + + private object _003ClocalPlugin_003E5__3; + + private Type _003ClocalPluginType_003E5__4; + + private PropertyInfo _003CisLoadedProperty_003E5__5; + + private bool _003CloadedAfter_003E5__6; + + private ConfiguredTaskAwaitable.ConfiguredTaskAwaiter _003C_003Eu__1; + + [MethodImpl(MethodImplOptions.NoInlining)] + private void MoveNext() + { + int num = _003C_003E1__state; + DalamudReflector dalamudReflector = _003C_003E4__this; + bool result; + try + { + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter awaiter = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + object obj2 = default(object); + int num6 = default(int); + int num2; + if (num != 0) + { + num2 = -517751488; + PropertyInfo propertyInfo = default(PropertyInfo); + object obj3 = default(object); + string text = default(string); + IDisposable disposable = default(IDisposable); + while (true) + { + int num3 = num2; + int num4 = -517751487; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 0: + num2 = -517751488; + continue; + case 1: + if (num != 1) + { + num2 = -517751485; + continue; + } + awaiter = _003C_003Eu__1; + _003C_003Eu__1 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = (_003C_003E1__state = -1); + num2 = -219266637; + break; + case 2: + { + object pluginManager = dalamudReflector.GetPluginManager(); + _003Cassembly_003E5__2 = _202B_202C_206B_206B_206C_206D_206D_206B_206F_202A_202B_200B_206A_202A_206D_200D_202C_206B_202D_202D_202B_206B_206F_200C_202D_206D_206B_206B_202D_206D_202C_200C_206C_202A_202E_206D_200E_200F_206E_200D_202E(_202B_206E_206C_206A_202A_202C_202E_206C_206B_206B_200F_200D_202B_202A_200E_200C_206F_206E_202E_200D_206E_206D_202B_202D_206A_202D_200E_200F_200E_206B_206B_200E_206C_206E_200B_206E_206E_206B_206A_202D_202E((object)dalamudReflector._pluginInterface)); + IEnumerable obj = (_202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(_202C_206D_202A_200D_200B_200E_202C_206B_206E_200D_206F_200C_202A_206E_206D_200D_206D_206A_200D_202E_202C_206A_206A_206C_206D_206A_200D_200B_206D_200D_200F_202B_202B_200F_202A_206C_202E_202D_206D_206B_202E(_202B_206E_206C_206A_202A_202C_202E_206C_206B_206B_200F_200D_202B_202A_200E_200C_206F_206E_202E_200D_206E_206D_202B_202D_206A_202D_200E_200F_200E_206B_206B_200E_206C_206E_200B_206E_206E_206B_206A_202D_202E(pluginManager), global::_003CModule_003E._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(-797332337)) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-1353226340)), pluginManager) as IEnumerable) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-1803355673)); + _003ClocalPlugin_003E5__3 = null; + obj2 = null; + num6 = 0; + IEnumerator enumerator = _206B_206D_202C_206B_200B_206F_202A_206B_202A_206D_200F_202B_200D_206A_200B_200D_202D_202B_200F_206C_206C_206D_202C_200F_202E_200F_202B_200D_206B_200B_202E_206E_206A_206B_202E_202E_206F_200C_200B_206B_202E(obj); + try + { + num2 = 1208540772; + while (true) + { + int num7 = num2; + num4 = 1208540771; + num5 = num7; + int num8 = num5 + num4; + int num9 = num5 & num4; + switch (num8 - (num9 + num9)) + { + case 5: + propertyInfo = _206D_202A_202B_200C_206D_202D_202A_202E_206E_202A_202C_200F_202B_206C_206E_202E_206D_202A_206F_206F_200E_206A_206F_206C_200E_206F_200F_206B_206C_206E_206A_206E_206E_206F_200C_200E_200F_206B_202A_202D_202E(_202B_206E_206C_206A_202A_202C_202E_206C_206B_206B_200F_200D_202B_202A_200E_200C_206F_206E_202E_200D_206E_206D_202B_202D_206A_202D_200E_200F_200E_206B_206B_200E_206C_206E_200B_206E_206E_206B_206A_202D_202E(obj3), global::_003CModule_003E._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(-1994460583), BindingFlags.Instance | BindingFlags.Public); + num2 = (_206B_206B_202C_206D_202D_200E_202B_202B_200C_200D_200F_206A_202C_206C_202B_206B_206D_202B_206C_200F_202B_202C_206E_200E_200F_200F_202D_200E_206D_200C_202D_206B_206A_206F_206A_200D_206B_200C_206D_206C_202E(propertyInfo, (PropertyInfo)null) ? 1208540772 : 1208540769); + break; + case 4: + num2 = (_206B_206C_200D_202B_202D_202B_200D_200D_200E_206D_200B_206A_206B_202A_206E_202C_206A_202E_202D_202D_202B_206B_206A_202C_206F_202A_200C_200D_202C_200B_200D_202B_200B_202D_206B_200D_200C_200F_202E_206C_202E(text, internalName) ? 1208540772 : 1208540773); + break; + case 2: + text = _202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(propertyInfo, obj3) as string; + num2 = ((text == null) ? 1208540772 : 1208540775); + break; + case 6: + { + int num10 = num6; + num4 = 1; + num5 = num10; + num6 = (num5 | num4) + (num5 & num4); + num2 = ((obj2 != null) ? 1208540779 : 1208540778); + break; + } + case 9: + obj2 = obj3; + num2 = 1208540779; + break; + case 0: + _003ClocalPlugin_003E5__3 = obj3; + num2 = 1208540770; + break; + case 10: + obj3 = _206C_202A_206F_202B_200B_206F_206D_202D_200D_200B_200F_206E_200C_202E_202A_200C_200F_202C_206D_202B_206E_206F_200D_206B_200E_206A_206E_202A_200F_200B_202A_206C_202C_202E_206E_206D_200B_202A_206B_200E_202E(enumerator); + num2 = ((obj3 == null) ? 1208540772 : 1208540774); + break; + case 8: + num2 = ((!LocalPluginMatchesRepo(obj3, thirdPartyRepoUrl, aliases)) ? 1208540772 : 1208540771); + break; + case 3: + num2 = 1208540772; + break; + case 7: + num2 = (_202A_206F_206C_202A_200F_202C_206A_200B_202A_206B_206A_202B_202E_202B_202C_206A_202E_202D_206F_202D_200E_206F_206A_206A_202B_206C_200D_200E_202E_202E_202A_206A_206B_206F_202E_200E_200D_206F_206B_200F_202E(enumerator) ? 1208540777 : 1208540770); + break; + case 1: + goto end_IL_00f5; + } + continue; + end_IL_00f5: + break; + } + } + finally + { + num2 = ((num >= 0) ? 1809875927 : 1809875925); + while (true) + { + int num11 = num2; + num4 = 1809875926; + num5 = num11; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + _200E_200E_202C_202B_200B_200D_202B_202E_206F_200F_202E_200C_206A_202D_206E_202E_202D_200C_202B_202D_206A_202E_200D_200B_200F_202B_200B_202D_200D_202C_206D_206C_202C_202B_202C_206A_200B_202B_206F_206A_202E(disposable); + num2 = 1809875927; + break; + case 1: + goto end_IL_02de; + case 2: + num2 = 1809875925; + break; + case 3: + disposable = enumerator as IDisposable; + num2 = ((disposable == null) ? 1809875927 : 1809875926); + break; + } + continue; + end_IL_02de: + break; + } + } + num2 = ((_003ClocalPlugin_003E5__3 != null) ? (-219266648) : (-219266644)); + break; + } + } + break; + } + } + else + { + awaiter = _003C_003Eu__1; + _003C_003Eu__1 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = (_003C_003E1__state = -1); + num2 = -219266653; + } + string text3 = default(string); + object[] array2 = default(object[]); + int num17 = default(int); + object obj5 = default(object); + object obj4 = default(object); + Type type = default(Type); + ParameterInfo[] array3 = default(ParameterInfo[]); + Type type2 = default(Type); + int num16 = default(int); + string[] array = default(string[]); + Guid guid = default(Guid); + MethodInfo methodInfo = default(MethodInfo); + bool flag = default(bool); + while (true) + { + int num12 = num2; + int num4 = -219266628; + int num5 = num12; + int num14; + string text2; + int num13; + switch ((num5 | num4) - (num5 & num4)) + { + case 21: + num = (_003C_003E1__state = 1); + _003C_003Eu__1 = awaiter; + _003C_003Et__builder.AwaitUnsafeOnCompleted(ref awaiter, ref this); + return; + case 7: + throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(930706806)); + case 35: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(37, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-704778144)); + defaultInterpolatedStringHandler.AppendFormatted(internalName); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1141968393)); + defaultInterpolatedStringHandler.AppendFormatted(text3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-831521228)); + throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 14: + array2[num17] = obj5; + num2 = -219266659; + break; + case 0: + num14 = 0; + goto IL_04fe; + case 18: + throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(_200F_200F_202C_200E_202B_200D_206B_200C_206F_206F_206F_200E_200F_200D_206C_206A_202C_202C_200E_206A_206A_202D_200B_200B_202A_202A_200B_206D_200C_202C_200D_200F_202B_206B_202E_202B_200C_200B_202B_200F_202E(global::_003CModule_003E._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(-704778144), internalName, global::_003CModule_003E._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(-1737777117))); + case 3: + text2 = _200F_200F_202C_200E_202B_200D_206B_200C_206F_206F_206F_200E_200F_200D_206C_206A_202C_202C_200E_206A_206A_202D_200B_200B_202A_202A_200B_206D_200C_202C_200D_200F_202B_206B_202E_202B_200C_200B_202B_200F_202E(global::_003CModule_003E._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(1931795628), internalName, global::_003CModule_003E._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(1283726812)); + goto IL_0562; + case 9: + _003CisLoadedProperty_003E5__5 = _202C_206D_202A_200D_200B_200E_202C_206B_206E_200D_206F_200C_202A_206E_206D_200D_206D_206A_200D_202E_202C_206A_206A_206C_206D_206A_200D_200B_206D_200D_200F_202B_202B_200F_202A_206C_202E_202D_206D_206B_202E(_003ClocalPluginType_003E5__4, global::_003CModule_003E._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(-904839146)) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-952438240)); + obj4 = _202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(_003CisLoadedProperty_003E5__5, _003ClocalPlugin_003E5__3); + num2 = ((!(obj4 is bool)) ? (-219266628) : (-219266655)); + break; + case 20: + num2 = ((_003ClocalPlugin_003E5__3 != null) ? (-219266636) : (-219266652)); + break; + case 27: + array2[num17] = false; + num2 = -219266659; + break; + case 34: + type = _200F_206B_200D_206F_206A_202A_202B_202C_206D_200E_206B_206B_206E_206E_200D_206C_200B_206B_206E_206B_200D_200E_202B_202B_200E_200F_200B_206E_206F_202D_202C_202C_202C_206F_202A_206F_200D_206B_206F_200C_202E(array3[num17]); + num2 = ((!_206B_206A_206C_200C_202D_200E_206E_202B_206A_202A_206E_206F_200C_200E_206E_202E_200E_206E_200B_206E_202A_206E_202E_206F_202C_200C_206E_200E_206A_206F_202B_206A_202B_200B_206A_202E_206B_200B_200E_206E_202E(type, type2)) ? (-219266639) : (-219266638)); + break; + case 10: + result = true; + goto end_IL_0379; + case 30: + num13 = 0; + goto IL_0651; + case 5: + obj4 = _202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(_206D_202A_202B_200C_206D_202D_202A_202E_206E_202A_202C_200F_202B_206C_206E_202E_206D_202A_206F_206F_200E_206A_206F_206C_200E_206F_200F_206B_206C_206E_206A_206E_206E_206F_200C_200E_200F_206B_202A_202D_202E(_003ClocalPluginType_003E5__4, global::_003CModule_003E._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(-592843582), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(2067190462)), _003ClocalPlugin_003E5__3); + num2 = ((!(obj4 is Guid)) ? (-219266629) : (-219266632)); + break; + case 16: + num2 = ((num6 != 1) ? (-219266648) : (-219266641)); + break; + case 33: + { + int num18 = num17; + num4 = 1; + num5 = num18; + num17 = (num5 | num4) + (num5 & num4); + num2 = -219266660; + break; + } + case 11: + num2 = ((num16 < array.Length) ? (-219266626) : (-219266635)); + break; + case 12: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(70, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(709905315)); + defaultInterpolatedStringHandler2.AppendFormatted(internalName); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-2030116922)); + defaultInterpolatedStringHandler2.AppendFormatted(thirdPartyRepoUrl ?? global::_003CModule_003E._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(-889155816)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1771580269)); + text2 = defaultInterpolatedStringHandler2.ToStringAndClear(); + goto IL_0562; + } + case 24: + num2 = ((num6 == 0) ? (-219266625) : (-219266640)); + break; + case 6: + array2[num17] = (_200C_200D_202E_202E_200E_200C_206A_206D_206C_206E_200E_200C_206D_206B_200B_202D_200D_206E_200B_206D_200D_200B_200D_200D_206D_200D_202D_206B_206C_202C_206E_200D_200D_200B_206E_202B_202B_202D_206F_206F_202E(array3[num17]) ? _200E_202B_206F_200C_200C_200C_202D_206B_200C_200B_202C_200F_206F_200C_200B_200C_202A_206C_206D_206A_200E_200E_200F_206C_200F_202A_200C_200C_202B_206A_202D_202B_206D_206D_200C_206E_206B_202B_200F_206A_202E(array3[num17]) : null); + num2 = -219266659; + break; + case 1: + result = true; + goto end_IL_0379; + case 4: + guid = (Guid)obj4; + num2 = -219266650; + break; + case 32: + num2 = ((num17 < array3.Length) ? (-219266658) : (-219266643)); + break; + case 17: + awaiter = _202E_206A_200F_200F_200D_206E_200D_200D_200F_200E_200B_206A_202D_200B_206C_200F_206D_200D_202E_206E_206A_202B_206D_200F_206F_202C_200E_206A_200D_202C_202B_206A_206B_206E_206D_200E_202C_202C_202E_206B_202E(((_206E_206E_200F_202A_206A_200C_206E_200F_200F_200E_200D_206B_206E_206D_206E_202C_200F_202C_202A_200D_202D_206B_200C_202B_202E_200E_200E_200C_202A_206F_202E_206A_206A_206C_200E_206B_202A_202C_200B_200E_202E((MethodBase)methodInfo, _003ClocalPlugin_003E5__3, array2) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(1001583693))) as Task) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(796993768)), false).GetAwaiter(); + num2 = (awaiter.IsCompleted ? (-219266637) : (-219266647)); + break; + case 2: + { + text3 = array[num16]; + PropertyInfo propertyInfo2 = _206D_202A_202B_200C_206D_202D_202A_202E_206E_202A_202C_200F_202B_206C_206E_202E_206D_202A_206F_206F_200E_206A_206F_206C_200E_206F_200F_206B_206C_206E_206A_206E_206E_206F_200C_200E_200F_206B_202A_202D_202E(_003ClocalPluginType_003E5__4, text3, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + obj4 = (((object)propertyInfo2 != null) ? _206B_202A_200C_206C_200C_202D_200D_202D_206E_206B_202E_206B_200C_200D_200D_206D_206D_202B_202C_200F_206A_200D_206E_206E_206C_202E_206F_200D_206F_200D_206A_202D_202A_202C_206C_202B_200F_200B_206D_202B_202E(propertyInfo2, _003ClocalPlugin_003E5__3) : null); + num2 = ((!(obj4 is bool)) ? (-219266664) : (-219266645)); + break; + } + case 22: + num2 = -219266644; + break; + case 26: + { + Type type3 = _202E_200B_202B_202E_202A_202B_202A_202E_202E_202D_200B_200D_202C_202B_206F_202C_202A_202C_202E_202E_202C_206C_200C_202B_202D_206B_202B_200C_200D_200E_200B_206D_200B_206F_206E_200D_206B_200B_200F_202E(_003Cassembly_003E5__2, global::_003CModule_003E._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(1664398343)) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-933355142)); + object obj6 = _202A_206C_206E_206A_206D_206A_206C_206C_206F_200E_202D_202D_206C_202C_202C_200D_202B_200C_206E_200D_202A_202E_202A_200B_202D_202D_206C_200F_200D_200D_206F_206B_200C_202A_202D_206C_202D_200B_202D_202E_202E((MethodBase)(_200B_200B_200D_200C_200E_202A_200D_206E_202A_202C_206D_206F_202C_206E_206F_202B_200D_206D_206E_200D_206F_202D_206E_206B_200E_202A_200F_200B_200C_202C_206C_200D_202E_206D_206B_202B_200B_206F_202E(_206F_200F_206F_206A_202A_202C_200E_206E_202E_202B_200C_206B_200E_200E_206F_202E_206D_206B_202E_202C_200C_206A_202C_200B_202E_202D_202B_200F_202A_206F_200F_202B_206E_206F_202D_206E_206B_202D_200C_206E_202E(_202E_200B_202B_202E_202A_202B_202A_202E_202E_202D_200B_200D_202C_202B_206F_202C_202A_202C_202E_202E_202C_206C_200C_202B_202D_206B_202B_200C_200D_200E_200B_206D_200B_206F_206E_200D_206B_200B_200F_202E(_003Cassembly_003E5__2, global::_003CModule_003E._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(1909913745)) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(2073227713)), new Type[1] { type3 }), global::_003CModule_003E._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(619471143)) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-2972004))), (object)null, BindingFlags.Default, (Binder)null, Array.Empty(), (CultureInfo)null) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-555459542)); + object obj7 = _202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(_206D_202A_202B_200C_206D_202D_202A_202E_206E_202A_202C_200F_202B_206C_206E_202E_206D_202A_206F_206F_200E_206A_206F_206C_200E_206F_200F_206B_206C_206E_206A_206E_206E_206F_200C_200E_200F_206B_202A_202D_202E(type3, global::_003CModule_003E._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(-420103450), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(1512306431)), obj6) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-1036682349)); + awaiter = _202E_206A_200F_200F_200D_206E_200D_200D_200F_200E_200B_206A_202D_200B_206C_200F_206D_200D_202E_206E_206A_202B_206D_200F_206F_202C_200E_206A_200D_202C_202B_206A_206B_206E_206D_200E_202C_202C_202E_206B_202E(((_206E_206E_200F_202A_206A_200C_206E_200F_200F_200E_200D_206B_206E_206D_206E_202C_200F_202C_202A_200D_202D_206B_200C_202B_202E_200E_200E_200C_202A_206F_202E_206A_206A_206C_200E_206B_202A_202C_200B_200E_202E((MethodBase)(_206D_206C_206F_202A_202B_206E_200B_206B_200C_206E_200F_202E_202A_202C_206F_202A_202D_206A_200D_200F_200E_206F_202D_206D_202A_206D_206F_206F_206E_206C_206D_206B_206D_206E_202B_200D_202A_202E_202D_206D_202E(_202B_206E_206C_206A_202A_202C_202E_206C_206B_206B_200F_200D_202B_202A_200E_200C_206F_206E_202E_200D_206E_206D_202B_202D_206A_202D_200E_200F_200E_206B_206B_200E_206C_206E_200B_206E_206E_206B_206A_202D_202E(obj7), global::_003CModule_003E._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(2080206550), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(793866729))), obj7, new object[4] { guid, internalName, true, false }) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-86444387))) as Task) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(480378918)), false).GetAwaiter(); + num2 = (awaiter.IsCompleted ? (-219266653) : (-219266656)); + break; + } + case 31: + awaiter.GetResult(); + type2 = _202E_200B_202B_202E_202A_202B_202A_202E_202E_202D_200B_200D_202C_202B_206F_202C_202A_202C_202E_202E_202C_206C_200C_202B_202D_206B_202B_200C_200D_200E_200B_206D_200B_206F_206E_200D_206B_200B_200F_202E(_003Cassembly_003E5__2, global::_003CModule_003E._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(185084398)) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(303708542)); + obj5 = _200B_206E_200C_202B_200F_206A_202E_200E_200E_202C_202E_202C_200F_202B_200E_206A_202B_200B_202E_206F_206F_200E_206D_206B_200B_206D_206C_200C_202B_206C_200E_202A_202A_202B_206D_206C_202E_206C_206C_202D_202E(type2, global::_003CModule_003E._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(-302107944)); + methodInfo = _206D_206C_206F_202A_202B_206E_200B_206B_200C_206E_200F_202E_202A_202C_206F_202A_202D_206A_200D_200F_200E_206F_202D_206D_202A_206D_206F_206F_206E_206C_206D_206B_206D_206E_202B_200D_202A_202E_202D_206D_202E(_003ClocalPluginType_003E5__4, global::_003CModule_003E._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(-226194717), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) ?? throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(67221465)); + array3 = _200C_202C_200E_206B_200B_206A_200E_206B_202E_202D_202C_202B_206A_206A_202C_206F_202E_200B_206F_202D_206C_200D_206B_206F_202B_206E_206E_206F_202D_206E_200D_206D_206E_206E_202D_200D_206B_202D_202C_200D_202E((MethodBase)methodInfo); + array2 = new object[array3.Length]; + num17 = 0; + num2 = -219266660; + break; + case 28: + num = (_003C_003E1__state = 0); + _003C_003Eu__1 = awaiter; + _003C_003Et__builder.AwaitUnsafeOnCompleted(ref awaiter, ref this); + return; + case 8: + _003ClocalPluginType_003E5__4 = _202B_206E_206C_206A_202A_202C_202E_206C_206B_206B_200F_200D_202B_202A_200E_200C_206F_206E_202E_200D_206E_206D_202B_202D_206A_202D_200E_200F_200E_206B_206B_200E_206C_206E_200B_206E_206E_206B_206A_202D_202E(_003ClocalPlugin_003E5__3); + array = new string[4] + { + global::_003CModule_003E._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(510149799), + global::_003CModule_003E._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(-1905938056), + global::_003CModule_003E._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(-315909297), + global::_003CModule_003E._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(840433285) + }; + num16 = 0; + num2 = -219266633; + break; + case 19: + _003ClocalPlugin_003E5__3 = obj2; + num2 = -219266648; + break; + case 23: + num2 = ((!(bool)obj4) ? (-219266664) : (-219266657)); + break; + case 15: + awaiter.GetResult(); + obj4 = _202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(_003CisLoadedProperty_003E5__5, _003ClocalPlugin_003E5__3); + num2 = ((!(obj4 is bool)) ? (-219266654) : (-219266651)); + break; + case 36: + { + int num15 = num16; + num4 = 1; + num5 = num15; + num16 = (num5 | num4) + (num5 & num4); + num2 = -219266633; + break; + } + case 29: + flag = (bool)obj4; + num14 = 1; + goto IL_04fe; + case 13: + num2 = ((!_206B_206A_206C_200C_202D_200E_206E_202B_206A_202A_206E_206F_200C_200E_206E_202E_200E_206E_200B_206E_202A_206E_202E_206F_202C_200C_206E_200E_206A_206F_202B_206A_202B_200B_206A_202E_206B_200B_200E_206E_202E(type, _202A_206E_206D_200E_202D_202B_206C_202B_200D_200D_200D_200B_202D_200F_206B_206F_200B_206E_202A_200C_200D_200F_206F_202E_200E_206E_202E_200D_206B_202C_200E_200B_206C_206F_206D_202B_200B_200B_206E_200D_202E(typeof(bool).TypeHandle))) ? (-219266630) : (-219266649)); + break; + case 25: + { + _003CloadedAfter_003E5__6 = (bool)obj4; + num13 = 1; + goto IL_0651; + } + IL_0562: + throw _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(text2); + IL_04fe: + num2 = ((((uint)num14 & (flag ? 1u : 0u)) == 0) ? (-219266631) : (-219266634)); + break; + IL_0651: + num2 = ((((uint)num13 & (_003CloadedAfter_003E5__6 ? 1u : 0u)) == 0) ? (-219266642) : (-219266627)); + break; + } + continue; + end_IL_0379: + break; + } + } + catch (Exception exception) + { + _003C_003E1__state = -2; + _003Cassembly_003E5__2 = null; + _003ClocalPlugin_003E5__3 = null; + _003ClocalPluginType_003E5__4 = null; + _003CisLoadedProperty_003E5__5 = null; + _003C_003Et__builder.SetException(exception); + return; + } + _003C_003E1__state = -2; + _003Cassembly_003E5__2 = null; + _003ClocalPlugin_003E5__3 = null; + _003ClocalPluginType_003E5__4 = null; + _003CisLoadedProperty_003E5__5 = null; + _003C_003Et__builder.SetResult(result); + } + + void IAsyncStateMachine.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + this.MoveNext(); + } + + [DebuggerHidden] + private void SetStateMachine(IAsyncStateMachine stateMachine) + { + _003C_003Et__builder.SetStateMachine(stateMachine); + } + + void IAsyncStateMachine.SetStateMachine(IAsyncStateMachine stateMachine) + { + //ILSpy generated this explicit interface implementation from .override directive in SetStateMachine + this.SetStateMachine(stateMachine); + } + + static Type _202B_206E_206C_206A_202A_202C_202E_206C_206B_206B_200F_200D_202B_202A_200E_200C_206F_206E_202E_200D_206E_206D_202B_202D_206A_202D_200E_200F_200E_206B_206B_200E_206C_206E_200B_206E_206E_206B_206A_202D_202E(object P_0) + { + return P_0.GetType(); + } + + static Assembly _202B_202C_206B_206B_206C_206D_206D_206B_206F_202A_202B_200B_206A_202A_206D_200D_202C_206B_202D_202D_202B_206B_206F_200C_202D_206D_206B_206B_202D_206D_202C_200C_206C_202A_202E_206D_200E_200F_206E_200D_202E(Type P_0) + { + return P_0.Assembly; + } + + static PropertyInfo _202C_206D_202A_200D_200B_200E_202C_206B_206E_200D_206F_200C_202A_206E_206D_200D_206D_206A_200D_202E_202C_206A_206A_206C_206D_206A_200D_200B_206D_200D_200F_202B_202B_200F_202A_206C_202E_202D_206D_206B_202E(Type P_0, string P_1) + { + return P_0.GetProperty(P_1); + } + + static InvalidOperationException _202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(string P_0) + { + return new InvalidOperationException(P_0); + } + + static object _202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(PropertyInfo P_0, object P_1) + { + return P_0.GetValue(P_1); + } + + static IEnumerator _206B_206D_202C_206B_200B_206F_202A_206B_202A_206D_200F_202B_200D_206A_200B_200D_202D_202B_200F_206C_206C_206D_202C_200F_202E_200F_202B_200D_206B_200B_202E_206E_206A_206B_202E_202E_206F_200C_200B_206B_202E(IEnumerable P_0) + { + return P_0.GetEnumerator(); + } + + static object _206C_202A_206F_202B_200B_206F_206D_202D_200D_200B_200F_206E_200C_202E_202A_200C_200F_202C_206D_202B_206E_206F_200D_206B_200E_206A_206E_202A_200F_200B_202A_206C_202C_202E_206E_206D_200B_202A_206B_200E_202E(IEnumerator P_0) + { + return P_0.Current; + } + + static PropertyInfo _206D_202A_202B_200C_206D_202D_202A_202E_206E_202A_202C_200F_202B_206C_206E_202E_206D_202A_206F_206F_200E_206A_206F_206C_200E_206F_200F_206B_206C_206E_206A_206E_206E_206F_200C_200E_200F_206B_202A_202D_202E(Type P_0, string P_1, BindingFlags P_2) + { + return P_0.GetProperty(P_1, P_2); + } + + static bool _206B_206B_202C_206D_202D_200E_202B_202B_200C_200D_200F_206A_202C_206C_202B_206B_206D_202B_206C_200F_202B_202C_206E_200E_200F_200F_202D_200E_206D_200C_202D_206B_206A_206F_206A_200D_206B_200C_206D_206C_202E(PropertyInfo P_0, PropertyInfo P_1) + { + return P_0 == P_1; + } + + static bool _206B_206C_200D_202B_202D_202B_200D_200D_200E_206D_200B_206A_206B_202A_206E_202C_206A_202E_202D_202D_202B_206B_206A_202C_206F_202A_200C_200D_202C_200B_200D_202B_200B_202D_206B_200D_200C_200F_202E_206C_202E(string P_0, string P_1) + { + return P_0 != P_1; + } + + static bool _202A_206F_206C_202A_200F_202C_206A_200B_202A_206B_206A_202B_202E_202B_202C_206A_202E_202D_206F_202D_200E_206F_206A_206A_202B_206C_200D_200E_202E_202E_202A_206A_206B_206F_202E_200E_200D_206F_206B_200F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200E_200E_202C_202B_200B_200D_202B_202E_206F_200F_202E_200C_206A_202D_206E_202E_202D_200C_202B_202D_206A_202E_200D_200B_200F_202B_200B_202D_200D_202C_206D_206C_202C_202B_202C_206A_200B_202B_206F_206A_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static string _200F_200F_202C_200E_202B_200D_206B_200C_206F_206F_206F_200E_200F_200D_206C_206A_202C_202C_200E_206A_206A_202D_200B_200B_202A_202A_200B_206D_200C_202C_200D_200F_202B_206B_202E_202B_200C_200B_202B_200F_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static object _206B_202A_200C_206C_200C_202D_200D_202D_206E_206B_202E_206B_200C_200D_200D_206D_206D_202B_202C_200F_206A_200D_206E_206E_206C_202E_206F_200D_206F_200D_206A_202D_202A_202C_206C_202B_200F_200B_206D_202B_202E(PropertyInfo P_0, object P_1) + { + return P_0.GetValue(P_1); + } + + static Type _202E_200B_202B_202E_202A_202B_202A_202E_202E_202D_200B_200D_202C_202B_206F_202C_202A_202C_202E_202E_202C_206C_200C_202B_202D_206B_202B_200C_200D_200E_200B_206D_200B_206F_206E_200D_206B_200B_200F_202E(Assembly P_0, string P_1) + { + return P_0.GetType(P_1); + } + + static Type _206F_200F_206F_206A_202A_202C_200E_206E_202E_202B_200C_206B_200E_200E_206F_202E_206D_206B_202E_202C_200C_206A_202C_200B_202E_202D_202B_200F_202A_206F_200F_202B_206E_206F_202D_206E_206B_202D_200C_206E_202E(Type P_0, Type[] P_1) + { + return P_0.MakeGenericType(P_1); + } + + static MethodInfo _200B_200B_200D_200C_200E_202A_200D_206E_202A_202C_206D_206F_202C_206E_206F_202B_200D_206D_206E_200D_206F_202D_206E_206B_200E_202A_200F_200B_200C_202C_206C_200D_202E_206D_206B_202B_200B_206F_202E(Type P_0, string P_1) + { + return P_0.GetMethod(P_1); + } + + static object _202A_206C_206E_206A_206D_206A_206C_206C_206F_200E_202D_202D_206C_202C_202C_200D_202B_200C_206E_200D_202A_202E_202A_200B_202D_202D_206C_200F_200D_200D_206F_206B_200C_202A_202D_206C_202D_200B_202D_202E_202E(MethodBase P_0, object P_1, BindingFlags P_2, Binder P_3, object[] P_4, CultureInfo P_5) + { + return P_0.Invoke(P_1, P_2, P_3, P_4, P_5); + } + + static MethodInfo _206D_206C_206F_202A_202B_206E_200B_206B_200C_206E_200F_202E_202A_202C_206F_202A_202D_206A_200D_200F_200E_206F_202D_206D_202A_206D_206F_206F_206E_206C_206D_206B_206D_206E_202B_200D_202A_202E_202D_206D_202E(Type P_0, string P_1, BindingFlags P_2) + { + return P_0.GetMethod(P_1, P_2); + } + + static object _206E_206E_200F_202A_206A_200C_206E_200F_200F_200E_200D_206B_206E_206D_206E_202C_200F_202C_202A_200D_202D_206B_200C_202B_202E_200E_200E_200C_202A_206F_202E_206A_206A_206C_200E_206B_202A_202C_200B_200E_202E(MethodBase P_0, object P_1, object[] P_2) + { + return P_0.Invoke(P_1, P_2); + } + + static ConfiguredTaskAwaitable _202E_206A_200F_200F_200D_206E_200D_200D_200F_200E_200B_206A_202D_200B_206C_200F_206D_200D_202E_206E_206A_202B_206D_200F_206F_202C_200E_206A_200D_202C_202B_206A_206B_206E_206D_200E_202C_202C_202E_206B_202E(Task P_0, bool P_1) + { + return P_0.ConfigureAwait(P_1); + } + + static object _200B_206E_200C_202B_200F_206A_202E_200E_200E_202C_202E_202C_200F_202B_200E_206A_202B_200B_202E_206F_206F_200E_206D_206B_200B_206D_206C_200C_202B_206C_200E_202A_202A_202B_206D_206C_202E_206C_206C_202D_202E(Type P_0, string P_1) + { + return Enum.Parse(P_0, P_1); + } + + static ParameterInfo[] _200C_202C_200E_206B_200B_206A_200E_206B_202E_202D_202C_202B_206A_206A_202C_206F_202E_200B_206F_202D_206C_200D_206B_206F_202B_206E_206E_206F_202D_206E_200D_206D_206E_206E_202D_200D_206B_202D_202C_200D_202E(MethodBase P_0) + { + return P_0.GetParameters(); + } + + static Type _200F_206B_200D_206F_206A_202A_202B_202C_206D_200E_206B_206B_206E_206E_200D_206C_200B_206B_206E_206B_200D_200E_202B_202B_200E_200F_200B_206E_206F_202D_202C_202C_202C_206F_202A_206F_200D_206B_206F_200C_202E(ParameterInfo P_0) + { + return P_0.ParameterType; + } + + static bool _206B_206A_206C_200C_202D_200E_206E_202B_206A_202A_206E_206F_200C_200E_206E_202E_200E_206E_200B_206E_202A_206E_202E_206F_202C_200C_206E_200E_206A_206F_202B_206A_202B_200B_206A_202E_206B_200B_200E_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + + static Type _202A_206E_206D_200E_202D_202B_206C_202B_200D_200D_200D_200B_202D_200F_206B_206F_200B_206E_202A_200C_200D_200F_206F_202E_200E_206E_202E_200D_206B_202C_200E_200B_206C_206F_206D_202B_200B_200B_206E_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _200C_200D_202E_202E_200E_200C_206A_206D_206C_206E_200E_200C_206D_206B_200B_202D_200D_206E_200B_206D_200D_200B_200D_200D_206D_200D_202D_206B_206C_202C_206E_200D_200D_200B_206E_202B_202B_202D_206F_206F_202E(ParameterInfo P_0) + { + return P_0.HasDefaultValue; + } + + static object _200E_202B_206F_200C_200C_200C_202D_206B_200C_200B_202C_200F_206F_200C_200B_200C_202A_206C_206D_206A_200E_200E_200F_206C_200F_202A_200C_200C_202B_206A_202D_202B_206D_206D_200C_206E_206B_202B_200F_206A_202E(ParameterInfo P_0) + { + return P_0.DefaultValue; + } + } + + [StructLayout(LayoutKind.Auto)] + [CompilerGenerated] + private struct _003CInvokeReloadAsync_003Ed__13 : IAsyncStateMachine + { + public int _003C_003E1__state; + + public AsyncTaskMethodBuilder _003C_003Et__builder; + + public MethodInfo reloadMethod; + + public object pluginManager; + + private ConfiguredTaskAwaitable.ConfiguredTaskAwaiter _003C_003Eu__1; + + [MethodImpl(MethodImplOptions.NoInlining)] + private void MoveNext() + { + int num = _003C_003E1__state; + try + { + int num2 = ((num == 0) ? (-99592063) : (-99592058)); + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter awaiter = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + while (true) + { + int num3 = num2; + int num4 = -99592059; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + num = (_003C_003E1__state = 0); + _003C_003Eu__1 = awaiter; + _003C_003Et__builder.AwaitUnsafeOnCompleted(ref awaiter, ref this); + return; + case 4: + awaiter = _003C_003Eu__1; + _003C_003Eu__1 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = (_003C_003E1__state = -1); + num2 = -99592057; + break; + case 0: + num2 = -99592058; + break; + case 3: + awaiter = _200E_206A_200B_200D_202D_206B_202D_202C_200F_206B_200F_200E_206C_200F_206C_200F_202A_206C_206B_200C_202E_200B_206E_206E_206C_202D_202B_202A_202C_206C_200C_202E_202D_200F_202B_200D_206F_200E_206B_202A_202E(((Task)_202D_206C_206C_200E_200B_206C_206B_206F_200D_206B_206D_202C_206D_200E_206C_200C_206B_200C_206C_202C_202D_206F_206B_202D_206B_202C_200C_202A_206C_206D_206C_200B_200C_200E_200C_206E_202E_206D_206A_206A_202E((MethodBase)reloadMethod, pluginManager, new object[1] { true })) ?? throw _202A_202B_200C_202E_200D_200D_206F_200F_200E_206C_206F_206D_200C_206A_202B_206B_200F_202C_200B_200B_200F_202B_200F_206F_206E_206C_200D_202A_200F_206C_200B_200E_206E_206B_202A_200C_206C_200B_206E_206D_202E(global::_003CModule_003E._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(-7195696)), false).GetAwaiter(); + num2 = (awaiter.IsCompleted ? (-99592057) : (-99592060)); + break; + case 2: + awaiter.GetResult(); + goto end_IL_0025; + } + continue; + end_IL_0025: + break; + } + } + catch (Exception exception) + { + _003C_003E1__state = -2; + _003C_003Et__builder.SetException(exception); + return; + } + _003C_003E1__state = -2; + _003C_003Et__builder.SetResult(); + } + + void IAsyncStateMachine.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + this.MoveNext(); + } + + [DebuggerHidden] + private void SetStateMachine(IAsyncStateMachine stateMachine) + { + _003C_003Et__builder.SetStateMachine(stateMachine); + } + + void IAsyncStateMachine.SetStateMachine(IAsyncStateMachine stateMachine) + { + //ILSpy generated this explicit interface implementation from .override directive in SetStateMachine + this.SetStateMachine(stateMachine); + } + + static object _202D_206C_206C_200E_200B_206C_206B_206F_200D_206B_206D_202C_206D_200E_206C_200C_206B_200C_206C_202C_202D_206F_206B_202D_206B_202C_200C_202A_206C_206D_206C_200B_200C_200E_200C_206E_202E_206D_206A_206A_202E(MethodBase P_0, object P_1, object[] P_2) + { + return P_0.Invoke(P_1, P_2); + } + + static InvalidOperationException _202A_202B_200C_202E_200D_200D_206F_200F_200E_206C_206F_206D_200C_206A_202B_206B_200F_202C_200B_200B_200F_202B_200F_206F_206E_206C_200D_202A_200F_206C_200B_200E_206E_206B_202A_200C_206C_200B_206E_206D_202E(string P_0) + { + return new InvalidOperationException(P_0); + } + + static ConfiguredTaskAwaitable _200E_206A_200B_200D_202D_206B_202D_202C_200F_206B_200F_200E_206C_200F_206C_200F_202A_206C_206B_200C_202E_200B_206E_206E_206C_202D_202B_202A_202C_206C_200C_202E_202D_200F_202B_200D_206F_200E_206B_202A_202E(Task P_0, bool P_1) + { + return P_0.ConfigureAwait(P_1); + } + } + + private readonly IDalamudPluginInterface _pluginInterface; 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; + + [MethodImpl(MethodImplOptions.NoInlining)] public DalamudReflector(IDalamudPluginInterface pluginInterface, IFramework framework, IPluginLog pluginLog) { + _206B_200C_202D_200D_202D_206A_206F_202D_202B_200F_206F_206D_206C_202E_206E_206A_200C_202A_206F_202A_200E_202D_206E_202C_206A_206A_200D_200C_202E_206B_206C_202A_206C_200D_202E_206B_202C_206B_202B_206F_202E((object)pluginInterface, global::_003CModule_003E._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(766607579)); + _206B_200C_202D_200D_202D_206A_206F_202D_202B_200F_206F_206D_206C_202E_206E_206A_200C_202A_206F_202A_200E_202D_206E_202C_206A_206A_200D_200C_202E_206B_206C_202A_206C_200D_202E_206B_202C_206B_202B_206F_202E((object)framework, global::_003CModule_003E._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(-1938330958)); + _206B_200C_202D_200D_202D_206A_206F_202D_202B_200F_206F_206D_206C_202E_206E_206A_200C_202A_206F_202A_200E_202D_206E_202C_206A_206A_200D_200C_202E_206B_206C_202A_206C_200D_202E_206B_202C_206B_202B_206F_202E((object)pluginLog, global::_003CModule_003E._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(-2117874046)); _pluginInterface = pluginInterface; - _framework = framework; _pluginLog = pluginLog; - object pluginManager = GetPluginManager(); - pluginManager.GetType().GetEvent("OnInstalledPluginsChanged").AddEventHandler(pluginManager, new Action(OnInstalledPluginsChanged)); - _framework.Update += FrameworkUpdate; + _pluginManager = GetPluginManager(); + _202C_206A_202C_206C_200F_202D_200B_200D_202D_200B_202A_206F_200E_200D_202A_206F_206C_200E_200F_202E_202A_206F_200C_200F_200C_206C_202D_202B_200D_206F_202D_202A_202B_200D_206D_202B_200E_206E_202E_202B_202E(_202C_202B_202D_200C_202D_206F_202E_206B_202E_202C_206E_202E_200E_202D_202D_206B_202E_202E_206B_206A_202D_202A_206F_202B_202B_202B_200E_200F_206E_202C_206E_202E_200E_206E_206F_202B_202C_202D_206D_200D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(_pluginManager), global::_003CModule_003E._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(61100902)) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(704518146)), _pluginManager, (Delegate)new Action(OnInstalledPluginsChanged)); } + [MethodImpl(MethodImplOptions.NoInlining)] 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) - { - _pluginsChanged = false; - _pluginCache.Clear(); - } - } - - 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); - } - - public bool TryGetDalamudPlugin(string internalName, [MaybeNullWhen(false)] out IDalamudPlugin instance, bool suppressErrors = false, bool ignoreCache = false) - { - if (!ignoreCache && _pluginCache.TryGetValue(internalName, out instance)) - { - return true; - } try { - object pluginManager = GetPluginManager(); - foreach (object item in (IList)pluginManager.GetType().GetProperty("InstalledPlugins").GetValue(pluginManager)) + EventInfo eventInfo = _202C_202B_202D_200C_202D_206F_202E_206B_202E_202C_206E_202E_200E_202D_202D_206B_202E_202E_206B_206A_202D_202A_206F_202B_202B_202B_200E_200F_206E_202C_206E_202E_200E_206E_206F_202B_202C_202D_206D_200D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(_pluginManager), global::_003CModule_003E._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(901875249)); + if ((object)eventInfo != null) { - if ((string)item.GetType().GetProperty("Name").GetValue(item) == internalName) - { - IDalamudPlugin dalamudPlugin = (IDalamudPlugin)((item.GetType().Name == "LocalDevPlugin") ? item.GetType().BaseType : item.GetType()).GetField("instance", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(item); - if (dalamudPlugin != null) - { - instance = dalamudPlugin; - _pluginCache[internalName] = dalamudPlugin; - return true; - } - if (!suppressErrors) - { - _pluginLog.Warning("[DalamudReflector] Found requested plugin " + internalName + " but it was null"); - } - } + _200E_206A_200C_206C_200C_200C_206A_202B_206E_202E_206B_200F_206F_206E_200E_200C_202E_200D_202E_206C_202B_206F_200B_206B_206C_202C_200D_202D_206E_200F_200D_200D_202D_206B_200E_202D_206B_202D_206F_206C_202E(eventInfo, _pluginManager, (Delegate)new Action(OnInstalledPluginsChanged)); } - instance = null; - return false; } catch (Exception ex) { - if (!suppressErrors) - { - _pluginLog.Error(ex, "Can't find " + internalName + " plugin: " + ex.Message); - } - instance = null; - return false; + _200D_202D_206F_200C_206E_202A_202B_200E_202C_202B_206E_202A_202D_206D_202D_200D_202C_206A_202A_202E_206F_206C_206D_202C_202B_206B_206F_202D_202A_202C_206A_202A_202E_206F_202D_202C_206C_206C_200E_206A_202E(_pluginLog, ex, global::_003CModule_003E._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(-1858220140), Array.Empty()); } } + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private object GetPluginManager() + { + Assembly assembly = _200F_202E_200B_202A_200B_202C_206F_200D_202A_200D_200B_206D_200F_206A_200C_206C_202B_202E_202D_206D_202C_202E_200E_206F_200F_200C_202D_202D_206D_200F_200F_200C_206B_206F_200D_206B_200E_202A_200D_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E((object)_pluginInterface)); + Type type = _202A_206F_206D_200B_200D_202B_200B_202B_202D_200E_202A_206D_202D_202E_206A_206E_206C_200D_206C_200D_202B_206E_202B_200B_200E_206D_206D_200E_200C_200B_206D_206F_200D_200D_202D_200D_206C_206B_202C_202A_202E(assembly, global::_003CModule_003E._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(-986462569)) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(2104843711)); + Type type2 = _202A_206F_206D_200B_200D_202B_200B_202B_202D_200E_202A_206D_202D_202E_206A_206E_206C_200D_206C_200D_202B_206E_202B_200B_200E_206D_206D_200E_200C_200B_206D_206F_200D_200D_202D_200D_206C_206B_202C_202A_202E(assembly, global::_003CModule_003E._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(-99944467)) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(-1767393178)); + return _206D_200D_200B_206A_202A_206C_202A_202B_206C_200E_206E_200E_202E_206F_200E_206C_206A_202C_206C_202E_202B_206D_200B_206F_200C_202B_206C_200F_202C_200C_200C_206E_206E_200B_206C_200D_206C_206C_206E_206E_202E((MethodBase)(_200D_200E_200B_202D_206D_202E_200B_200D_202D_200D_200B_206B_202C_200B_202E_202C_202A_206F_202B_200F_200D_202A_202A_200D_200B_200C_202C_202A_206F_206C_200C_202B_206A_206A_202A_206E_206B_202D_206C_206C_202E(_206E_206A_200C_202D_206B_202B_206B_202A_206A_206D_202A_206D_206B_200C_200E_206E_206E_202E_202A_206E_206F_202C_202A_206A_202B_206C_200B_200C_200D_202C_206D_200D_200C_206C_200E_202B_200D_206D_202C_202E(type, new Type[1] { type2 }), global::_003CModule_003E._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(584300081)) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(1719334999))), (object)null, BindingFlags.Default, (Binder)null, Array.Empty(), (CultureInfo)null) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(-1317436628)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool TryGetDalamudPlugin(string internalName, [MaybeNullWhen(false)] out object instance, bool suppressErrors = false, bool ignoreCache = false) + { + int num = (ignoreCache ? 733685784 : 733685787); + while (true) + { + int num2 = num; + int num3 = 733685786; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return true; + case 1: + num = ((!_pluginCache.TryGetValue(internalName, out instance)) ? 733685784 : 733685785); + break; + case 0: + num = 733685787; + break; + case 2: + try + { + int num7 = _202D_202C_206B_206C_202E_206D_200B_202E_206F_206B_200F_206E_206D_200D_206A_206A_202A_206C_200B_206B_200F_200F_206B_200E_202C_202B_200F_200B_206D_206E_200D_200B_206B_200B_206D_202A_200C_202A_202D_206F_202E(ref _cacheVersion); + object pluginManager = GetPluginManager(); + IEnumerable plugins = (IEnumerable)(_200F_200E_202E_202C_202C_200F_200F_206E_202A_200E_200E_206B_200F_200B_206D_202A_206C_206C_206C_206A_200D_200E_200F_202E_206F_206B_206D_200C_206E_202E_206B_200C_206B_200E_202E_206D_202B_200F_200D_200D_202E(_206C_200B_202A_206D_206E_206B_206A_200D_200E_200D_200C_202E_202A_200E_202E_206A_206B_200B_200C_202B_200D_206D_202B_202C_202C_206B_206D_206D_202E_206A_202E_200D_206C_202E_200B_202A_206A_200D_206C_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(pluginManager), global::_003CModule_003E._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(-1507868704)) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(-1553385684)), pluginManager) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(-169322018))); + bool warnedNullInstance = false; + num = (TryFindByProperty(plugins, global::_003CModule_003E._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(1471187825), out var found) ? 1267877679 : 1267877678); + while (true) + { + int num8 = num; + num3 = 1267877674; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + return true; + case 5: + instance = found; + num = ((_202D_202C_206B_206C_202E_206D_200B_202E_206F_206B_200F_206E_206D_200D_206A_206A_202A_206C_200B_206B_200F_200F_206B_200E_202C_202B_200F_200B_206D_206E_200D_200B_206B_200B_206D_202A_200C_202A_202D_206F_202E(ref _cacheVersion) != num7) ? 1267877672 : 1267877676); + break; + case 1: + { + _pluginCache.TryRemove(internalName, out object _); + num = 1267877672; + break; + } + case 6: + _pluginCache[internalName] = found; + num = ((_202D_202C_206B_206C_202E_206D_200B_202E_206F_206B_200F_206E_206D_200D_206A_206A_202A_206C_200B_206B_200F_200F_206B_200E_202C_202B_200F_200B_206D_206E_200D_200B_206B_200B_206D_202A_200C_202A_202D_206F_202E(ref _cacheVersion) == num7) ? 1267877672 : 1267877675); + break; + case 4: + num = ((!TryFindByProperty(plugins, global::_003CModule_003E._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(1712180490), out found)) ? 1267877674 : 1267877679); + break; + case 3: + num = 1267877678; + break; + case 0: + instance = null; + return false; + } + } + [MethodImpl(MethodImplOptions.NoInlining)] + bool TryFindByProperty(IEnumerable enumerable, string propertyName, [MaybeNullWhen(false)] out object reference) + { + IEnumerator enumerator = _206D_200B_202A_206A_200B_206A_206B_202D_200F_206A_202C_206E_206B_202C_200C_206B_206E_202C_200F_202B_206F_202E_202E_200F_200D_206E_202A_202C_200E_200B_206A_200C_202C_206A_206D_200F_206F_206C_206B_206F_202E(enumerable); + try + { + int num14 = -2001915741; + object obj2 = default(object); + PropertyInfo propertyInfo = default(PropertyInfo); + object obj = default(object); + while (true) + { + int num15 = num14; + int num16 = -2001915739; + int num17 = num15; + int num18 = num17 + num16; + int num19 = num17 & num16; + Type type; + FieldInfo obj3; + switch (num18 - (num19 + num19)) + { + case 5: + type = _200D_200F_206A_206C_200B_200C_200B_206A_202C_200E_206F_202B_206B_200B_202E_206F_200D_206B_202C_202E_206C_200C_200D_200D_206C_206D_202E_200B_206E_200C_206A_200B_206A_206B_202E_200D_200D_202B_206E_206B_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(obj2)); + goto IL_0070; + case 11: + type = _202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(obj2); + goto IL_0070; + case 4: + warnedNullInstance = true; + _206F_202C_206D_202B_202C_206C_200B_200E_206F_200C_206F_206E_202C_206A_206A_206B_206F_202C_200C_206C_200D_200D_202D_202E_202C_200E_202C_200B_202A_206E_202B_202C_206E_206D_206A_206E_206E_206E_202B_206E_202E(_pluginLog, _200D_200B_202C_206F_200B_202C_206F_202A_200F_200E_206A_200B_202C_206E_202E_206E_200D_200C_202E_202E_202D_200F_206D_202A_200F_206D_206B_200C_206B_200B_206E_202A_200E_206F_206E_206D_206E_202A_206D_200D_202E(global::_003CModule_003E._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(-651447327), internalName, global::_003CModule_003E._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(-1207385205)), Array.Empty()); + num14 = -2001915741; + break; + case 0: + num14 = -2001915741; + break; + case 2: + num14 = (warnedNullInstance ? (-2001915741) : (-2001915743)); + break; + case 1: + num14 = (_200D_200F_200D_206F_200D_206D_202D_206E_200C_200F_202E_206D_206E_200C_200D_206A_200B_202B_202B_200E_202D_206E_200B_206D_200C_200D_200D_200B_202E_200B_202C_202C_200D_202C_200E_202E_200D_206E_206C_202A_202E((string)_200F_200E_202E_202C_202C_200F_200F_206E_202A_200E_200E_206B_200F_200B_206D_202A_206C_206C_206C_206A_200D_200E_200F_202E_206F_206B_206D_200C_206E_202E_206B_200C_206B_200E_202E_206D_202B_200F_200D_200D_202E(propertyInfo, obj2), internalName) ? (-2001915741) : (-2001915732)); + break; + case 7: + num14 = (suppressErrors ? (-2001915741) : (-2001915737)); + break; + case 8: + obj2 = _206F_200F_200C_202D_202E_202A_202A_202C_200D_200D_206F_206E_206B_200C_200B_202C_206D_206A_206D_202D_202B_200E_206D_202B_200B_202C_206D_200D_202D_206A_206A_202C_202E_206D_206E_206B_200F_200B_206D_202B_202E(enumerator); + propertyInfo = _206C_200B_202A_206D_206E_206B_206A_200D_200E_200D_200C_202E_202A_200E_202E_206A_206B_200B_200C_202B_200D_206D_202B_202C_202C_206B_206D_206D_202E_206A_202E_200D_206C_202E_200B_202A_206A_200D_206C_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(obj2), propertyName); + num14 = (_206A_206B_200D_202B_200F_206C_200D_206F_200B_206A_206D_202D_202B_206E_202D_206A_206E_206F_206B_206D_206E_202B_206C_206B_200F_206C_206B_200F_206D_200C_206E_206A_200D_200E_200C_206A_206D_206D_200B_200F_202E(propertyInfo, (PropertyInfo)null) ? (-2001915741) : (-2001915740)); + break; + case 9: + num14 = (_206C_200E_200C_200C_206B_206A_202A_200E_206E_200F_202E_200B_202B_206C_206F_202C_202A_206E_206F_202A_206F_202A_200F_200B_206D_202D_200D_206B_202A_202B_202E_202B_202A_206B_206A_200E_202B_206E_206B_202C_202E(_206D_200D_206E_200E_202E_200B_202B_206E_206B_200F_200F_202E_202A_200C_200E_202E_200E_202E_206D_202C_206A_200D_202A_206C_200B_202B_202A_202E_206F_206B_200D_200E_206D_206B_200F_206F_206A_206A_206C_206E_202E((MemberInfo)_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(obj2)), global::_003CModule_003E._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(-2129999289)) ? (-2001915744) : (-2001915730)); + break; + case 6: + num14 = (_206F_200C_200B_206E_202D_200C_200E_202E_200C_200F_206C_206E_200B_200C_202C_200D_200F_206C_206C_202B_202B_202B_206C_206B_200C_206A_200F_200C_202B_206F_202D_200C_206B_200D_206A_202B_200D_200F_206F_202C_202E(enumerator) ? (-2001915731) : (-2001915738)); + break; + case 10: + reference = obj; + return true; + case 3: + goto end_IL_0013; + IL_0070: + obj3 = (((object)type != null) ? _206C_206F_200C_206B_202B_202C_200F_206A_200C_202A_206D_200F_206F_202D_206E_202C_202B_200C_202B_200C_202C_202D_202B_200B_200E_202D_202C_202A_200D_206E_206F_202B_200D_206A_200F_206F_206D_200D_200F_206A_202E(type, global::_003CModule_003E._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(-1540023666), BindingFlags.Instance | BindingFlags.NonPublic) : null); + obj = (((object)obj3 != null) ? _200B_200C_202B_200B_200F_206A_206B_202E_200F_206D_200B_202A_206D_202B_200D_206A_200B_200F_200B_206A_202D_202A_202C_206E_202A_206C_200C_206D_206D_202D_202D_206F_200C_202D_206C_200F_202B_202C_206F_200C_202E(obj3, obj2) : null); + num14 = ((obj != null) ? (-2001915729) : (-2001915742)); + break; + } + continue; + end_IL_0013: + break; + } + } + finally + { + IDisposable disposable = enumerator as IDisposable; + int num14 = ((disposable == null) ? 668881106 : 668881105); + while (true) + { + int num20 = num14; + int num16 = 668881107; + int num17 = num20; + switch ((num17 | num16) - (num17 & num16)) + { + case 0: + num14 = 668881105; + break; + case 1: + goto end_IL_0279; + case 2: + _200F_206A_202B_200D_200B_206E_202D_200D_202A_200B_202D_206D_200B_206E_202E_206E_202A_200C_206A_200D_200F_206E_200F_202C_202E_200B_202A_200D_200D_200B_200E_200D_202D_206C_206E_200F_202C_202D_202D_202A_202E(disposable); + num14 = 668881106; + break; + } + continue; + end_IL_0279: + break; + } + } + reference = null; + return false; + } + } + catch (Exception ex) + { + num = (suppressErrors ? 2034033441 : 2034033442); + while (true) + { + int num11 = num; + num3 = 2034033443; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 0: + num = 2034033442; + break; + case 1: + _202B_200D_202A_206E_202E_202B_206F_206B_206A_202C_202A_200C_200E_206E_202E_206B_202C_206E_206F_200F_206C_206F_206A_206C_206C_200B_206A_206E_206B_202C_202A_202E_206D_202B_202E_200F_206A_202B_206B_200C_202E(_pluginLog, ex, _200E_206E_200B_206B_206E_202E_206A_206A_202C_202C_202D_202B_200D_206D_202E_206F_200B_200E_206E_200E_202D_200E_202B_200B_200F_200C_200B_200F_206B_202E_206D_200B_206F_206E_206E_200C_200E_206B_200F_202E(global::_003CModule_003E._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(1900988923), internalName, global::_003CModule_003E._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(-1295840145), _206D_202B_206D_202D_200C_202E_206E_206F_202E_200D_202E_202E_206D_202C_200D_200D_200C_202E_202D_200E_206A_206B_206E_202B_206F_200B_200D_200F_206B_200D_206B_202C_200D_202A_202D_200C_206D_200C_206D_206C_202E(ex)), Array.Empty()); + num = 2034033441; + break; + case 2: + instance = null; + return false; + } + } + } + } + } + } + + public async Task AddPluginAsync(string internalName, string? thirdPartyRepoUrl, IReadOnlyList? aliases = null) + { + int num = -158450101; + MethodInfo methodInfo = default(MethodInfo); + object pluginManager = default(object); + Type type2 = default(Type); + Assembly assembly = default(Assembly); + object obj2 = default(object); + ParameterInfo[] array2 = default(ParameterInfo[]); + object[] array = default(object[]); + int num6 = default(int); + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter configuredTaskAwaiter = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + Task installTask = default(Task); + MethodInfo reloadMethod = default(MethodInfo); + object obj = default(object); + Type type = default(Type); + object obj5 = default(object); + object obj4 = default(object); + bool loaded = default(bool); + int num5; + while (true) + { + int num2 = num; + int num3 = -158450089; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 8: + methodInfo = _003CAddPluginAsync_003Ed__9._206B_206D_206A_200F_202E_206C_202A_206C_206E_206A_200B_206B_202C_202D_206D_206C_202B_202D_200E_200C_200F_202C_206C_200C_202B_200E_200C_200B_206F_202D_202E_202C_202E_200B_206B_200B_206A_206E_200E_200F_202E(_003CAddPluginAsync_003Ed__9._200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E(pluginManager), global::_003CModule_003E._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(1435604918), BindingFlags.Instance | BindingFlags.Public) ?? throw _003CAddPluginAsync_003Ed__9._206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(-1358635013)); + type2 = _003CAddPluginAsync_003Ed__9._200F_206E_206B_200C_200D_206A_200E_200B_202A_206F_200D_202D_202C_202B_202C_206D_206F_206C_202E_202E_202D_202A_206F_202C_202A_206B_206C_200D_200F_202A_206E_202E_202E_202B_206A_206C_206D_200C_202D_200F_202E(assembly, global::_003CModule_003E._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(-1964451499)) ?? throw _003CAddPluginAsync_003Ed__9._206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(-1640054167)); + obj2 = _003CAddPluginAsync_003Ed__9._200D_200E_200E_200D_202D_200B_202A_206F_202D_202A_206B_206E_200C_202C_202A_206C_206F_206B_200E_206B_200D_200D_200F_200B_206B_200F_202E_206A_200B_200C_206C_206B_202B_200C_200E_200D_202E_202D_206E_200E_202E(type2, global::_003CModule_003E._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(1257923011)); + array2 = _003CAddPluginAsync_003Ed__9._200F_202A_202D_202D_206E_202B_202D_206B_200D_200E_200E_202E_206A_206E_202A_200B_200E_202E_200E_202B_200C_200C_202B_200E_202A_206B_206D_206A_206C_200D_206A_202C_202D_202C_200C_202B_206B_202C_202B_206E_202E((MethodBase)methodInfo); + array = new object[array2.Length]; + num6 = 0; + num = -158450057; + continue; + case 2: + configuredTaskAwaiter = configuredTaskAwaiter2; + configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = -158450083; + continue; + case 28: + pluginManager = GetPluginManager(); + assembly = _003CAddPluginAsync_003Ed__9._200B_202A_202B_202D_202B_206F_202B_200D_202C_202E_206F_206A_202A_206B_206F_206B_200B_202D_206E_202A_206A_200E_206E_202C_200E_206B_202A_200D_206A_202B_200B_200D_200B_206A_206F_200D_206D_202A_200E_200F_202E(_003CAddPluginAsync_003Ed__9._200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E((object)_pluginInterface)); + num = ((!IsVariantLoaded(pluginManager, internalName, thirdPartyRepoUrl, aliases)) ? (-158450084) : (-158450109)); + continue; + case 31: + configuredTaskAwaiter = _003CAddPluginAsync_003Ed__9._200B_206F_206B_202B_206D_202A_200D_202D_206C_206C_202B_202A_206D_206A_200D_206B_200B_202D_206C_206C_206D_206A_206F_200E_206C_202B_202D_200B_202C_202D_202B_202B_206E_206E_200B_202B_200B_200D_206B_202B_202E(installTask, false).GetAwaiter(); + num = (configuredTaskAwaiter.IsCompleted ? (-158450083) : (-158450110)); + continue; + case 0: + { + int num7 = num6; + num3 = 1; + num4 = num7; + num6 = (num4 | num3) + (num4 & num3); + num = -158450057; + continue; + } + case 30: + throw _003CAddPluginAsync_003Ed__9._206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(_003CAddPluginAsync_003Ed__9._202E_206D_206D_202C_206A_206F_202A_200B_200F_206B_206F_202D_206D_200F_202D_200B_206A_200F_200C_206F_206A_206F_200E_200B_206C_202D_206E_206C_200D_206E_200C_206A_206E_200B_202A_206E_202E_206F_200D_202C_202E(global::_003CModule_003E._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(1931795628), internalName, global::_003CModule_003E._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(2124475057))); + case 15: + array[num6] = obj2; + num = -158450089; + continue; + case 33: + AddOrEnableThirdPartyRepo(assembly, thirdPartyRepoUrl); + configuredTaskAwaiter = _003CAddPluginAsync_003Ed__9._200B_206F_206B_202B_206D_202A_200D_202D_206C_206C_202B_202A_206D_206A_200D_206B_200B_202D_206C_206C_206D_206A_206F_200E_206C_202B_202D_200B_202C_202D_202B_202B_206E_206E_200B_202B_200B_200D_206B_202B_202E(InvokeReloadAsync(pluginManager, reloadMethod), false).GetAwaiter(); + num = (configuredTaskAwaiter.IsCompleted ? (-158450085) : (-158450092)); + continue; + case 13: + array[num6] = null; + num = -158450089; + continue; + case 24: + { + object obj3 = _003CAddPluginAsync_003Ed__9._200D_206A_202B_202A_206B_202B_206B_202D_206B_200F_202D_202E_202D_200B_202E_200C_206C_202C_202D_206D_206D_206A_202B_200E_206E_200B_200F_202C_206B_200C_202D_200B_202C_202E_206A_206A_206B_206A_202E((MethodBase)methodInfo, pluginManager, array) ?? throw _003CAddPluginAsync_003Ed__9._206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(121476692)); + installTask = obj3 as Task; + num = ((installTask != null) ? (-158450104) : (-158450096)); + continue; + } + case 26: + configuredTaskAwaiter.GetResult(); + obj = FindAvailableManifest(pluginManager, internalName, thirdPartyRepoUrl, aliases); + num = ((obj != null) ? (-158450108) : (-158450111)); + continue; + case 20: + return true; + case 9: + type = _003CAddPluginAsync_003Ed__9._206C_202C_206E_200C_206F_200D_206F_206E_202C_202B_202E_206E_200F_206C_206C_200F_202C_206D_200E_202D_206F_200D_202E_202E_206D_206F_206C_200F_202C_202C_206E_200E_206D_206A_200C_206F_200C_202D_200B_206F_202E(array2[num6]); + num = ((!_003CAddPluginAsync_003Ed__9._202B_202C_202A_206C_200E_206E_202B_206B_202C_206C_206A_206C_200D_202E_206A_200D_200F_202A_200C_200E_206B_206E_202D_206D_206D_202E_202E_200C_200D_200B_202D_206D_206A_200D_202A_200F_202A_206C_206F_202D_202E(type, _003CAddPluginAsync_003Ed__9._200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E(obj))) ? (-158450107) : (-158450098)); + continue; + case 32: + num = ((num6 < array2.Length) ? (-158450082) : (-158450097)); + continue; + case 23: + num = ((!_003CAddPluginAsync_003Ed__9._206F_206F_202A_200B_206D_200B_200E_200F_206D_202B_206D_206C_202A_206D_202A_206F_206A_200B_206D_202E_202E_202C_206B_200F_202D_202E_200F_202C_200D_200C_206B_206A_202E_202A_206C_202D_206C_202B_206B_206B_202E(type, type2)) ? (-158450086) : (-158450088)); + continue; + case 10: + configuredTaskAwaiter.GetResult(); + obj5 = _003CAddPluginAsync_003Ed__9._200D_202B_202D_206C_200E_206F_202C_200F_200F_200C_206E_206B_202E_200D_200D_206E_200E_202A_200D_202D_200C_206B_206C_202A_206F_202A_200E_206D_206D_202B_206A_202A_202D_206F_200D_206C_206F_206F_206A_202A_202E(_003CAddPluginAsync_003Ed__9._202A_200E_206F_206C_206E_200F_206B_202C_202A_206D_200B_200C_200B_206E_206C_202C_202C_200C_202A_200D_200D_202D_206B_200F_202C_200D_206A_206E_206F_200E_202A_206D_202E_200E_202E_200F_202B_200C_200E_206B_202E(_003CAddPluginAsync_003Ed__9._200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E((object)installTask), global::_003CModule_003E._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(-1037220679)) ?? throw _003CAddPluginAsync_003Ed__9._206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(1256600865)), (object)installTask); + num = ((obj5 != null) ? (-158450090) : (-158450094)); + continue; + case 18: + num = ((!_003CAddPluginAsync_003Ed__9._206F_206F_202A_200B_206D_200B_200E_200F_206D_202B_206D_206C_202A_206D_202A_206F_206A_200B_206D_202E_202E_202C_206B_200F_202D_202E_200F_202C_200D_200C_206B_206A_202E_202A_206C_202D_206C_202B_206B_206B_202E(type, _003CAddPluginAsync_003Ed__9._206C_206A_206B_200D_206E_206A_206F_200D_202A_206D_200E_206C_200B_202D_202A_202C_200E_206E_206E_200C_200D_206B_200B_206A_200C_206D_206D_206F_206D_206C_206D_200D_202E_202E_206B_200C_200E_206E_206E_200D_202E(typeof(bool).TypeHandle))) ? (-158450112) : (-158450087)); + continue; + case 21: + await configuredTaskAwaiter; + goto case 2; + case 12: + configuredTaskAwaiter.GetResult(); + obj = FindAvailableManifest(pluginManager, internalName, thirdPartyRepoUrl, aliases); + num = -158450108; + continue; + case 11: + reloadMethod = _003CAddPluginAsync_003Ed__9._206B_206D_206A_200F_202E_206C_202A_206C_206E_206A_200B_206B_202C_202D_206D_206C_202B_202D_200E_200C_200F_202C_206C_200C_202B_200E_200C_200B_206F_202D_202E_202C_202E_200B_206B_200B_206A_206E_200E_200F_202E(_003CAddPluginAsync_003Ed__9._200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E(pluginManager), global::_003CModule_003E._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(-1659108735), BindingFlags.Instance | BindingFlags.Public) ?? throw _003CAddPluginAsync_003Ed__9._206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(-54915131)); + configuredTaskAwaiter = _003CAddPluginAsync_003Ed__9._200B_206F_206B_202B_206D_202A_200D_202D_206C_206C_202B_202A_206D_206A_200D_206B_200B_202D_206C_206C_206D_206A_206F_200E_206C_202B_202D_200B_202C_202D_202B_202B_206E_206E_200B_202B_200B_200D_206B_202B_202E(InvokeReloadAsync(pluginManager, reloadMethod), false).GetAwaiter(); + num = (configuredTaskAwaiter.IsCompleted ? (-158450099) : (-158450093)); + continue; + case 16: + num = -158450101; + continue; + case 1: + obj4 = _003CAddPluginAsync_003Ed__9._200D_202B_202D_206C_200E_206F_202C_200F_200F_200C_206E_206B_202E_200D_200D_206E_200E_202A_200D_202D_200C_206B_206C_202A_206F_202A_200E_206D_206D_202B_206A_202A_202D_206F_200D_206C_206F_206F_206A_202A_202E(_003CAddPluginAsync_003Ed__9._202A_200E_206F_206C_206E_200F_206B_202C_202A_206D_200B_200C_200B_206E_206C_202C_202C_200C_202A_200D_200D_202D_206B_200F_202C_200D_206A_206E_206F_200E_202A_206D_202E_200E_202E_200F_202B_200C_200E_206B_202E(_003CAddPluginAsync_003Ed__9._200D_206A_206A_202B_200C_206E_206C_200B_202D_202A_202D_206D_206D_200C_206F_202A_206C_202C_200B_206A_200B_200D_202D_200F_206C_206C_202C_206A_206F_202A_202B_202E_200F_200F_200F_206E_206C_206A_200D_206A_202E(obj5), global::_003CModule_003E._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(1946306806)) ?? throw _003CAddPluginAsync_003Ed__9._206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(241214595)), obj5); + num = ((!(obj4 is bool)) ? (-158450100) : (-158450102)); + continue; + case 7: + throw _003CAddPluginAsync_003Ed__9._206C_206F_206C_200D_200D_206D_202A_206E_206B_206F_202A_206E_206E_202D_200C_202B_200B_206B_206F_202D_202B_200C_202A_202B_202D_202B_202C_206C_202E_202E_200E_200B_206E_200B_206C_200E_200C_206D_206E_206D_202E(global::_003CModule_003E._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(-169019911)); + case 6: + configuredTaskAwaiter = configuredTaskAwaiter2; + configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = -158450099; + continue; + case 17: + configuredTaskAwaiter = configuredTaskAwaiter2; + configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = -158450085; + continue; + case 4: + await configuredTaskAwaiter; + goto case 6; + case 3: + await configuredTaskAwaiter; + goto case 17; + case 22: + num = ((thirdPartyRepoUrl == null) ? (-158450108) : (-158450058)); + continue; + case 5: + return false; + case 14: + array[num6] = false; + num = -158450089; + continue; + case 29: + loaded = (bool)obj4; + num5 = 1; + break; + case 19: + num = ((obj != null) ? (-158450081) : (-158450103)); + continue; + case 25: + array[num6] = obj; + num = -158450089; + continue; + case 27: + num5 = 0; + break; + } + break; + } + return (byte)((uint)num5 & (loaded ? 1u : 0u)) != 0; + } + + public async Task EnablePluginAsync(string internalName, string? thirdPartyRepoUrl, IReadOnlyList? aliases = null) + { + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter configuredTaskAwaiter = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + Assembly assembly = default(Assembly); + object localPlugin = default(object); + object obj2 = default(object); + int num5 = default(int); + PropertyInfo propertyInfo = default(PropertyInfo); + object obj3 = default(object); + string text = default(string); + IDisposable disposable = default(IDisposable); + string text3 = default(string); + object[] array3 = default(object[]); + int num17 = default(int); + object obj5 = default(object); + PropertyInfo isLoadedProperty = default(PropertyInfo); + Type localPluginType = default(Type); + object obj4 = default(object); + Type type = default(Type); + ParameterInfo[] array2 = default(ParameterInfo[]); + Type type2 = default(Type); + int num16 = default(int); + string[] array = default(string[]); + Guid guid = default(Guid); + MethodInfo methodInfo = default(MethodInfo); + bool flag = default(bool); + bool loadedAfter = default(bool); + while (true) + { + int num = -517751488; + while (true) + { + int num2 = num; + int num3 = -517751487; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + num = -517751488; + continue; + case 1: + { + int num11; + if (num11 != 1) + { + num = -517751485; + continue; + } + configuredTaskAwaiter = configuredTaskAwaiter2; + configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = -219266637; + break; + } + case 2: + { + object pluginManager = GetPluginManager(); + assembly = _003CEnablePluginAsync_003Ed__10._202B_202C_206B_206B_206C_206D_206D_206B_206F_202A_202B_200B_206A_202A_206D_200D_202C_206B_202D_202D_202B_206B_206F_200C_202D_206D_206B_206B_202D_206D_202C_200C_206C_202A_202E_206D_200E_200F_206E_200D_202E(_003CEnablePluginAsync_003Ed__10._202B_206E_206C_206A_202A_202C_202E_206C_206B_206B_200F_200D_202B_202A_200E_200C_206F_206E_202E_200D_206E_206D_202B_202D_206A_202D_200E_200F_200E_206B_206B_200E_206C_206E_200B_206E_206E_206B_206A_202D_202E((object)_pluginInterface)); + IEnumerable obj = (_003CEnablePluginAsync_003Ed__10._202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(_003CEnablePluginAsync_003Ed__10._202C_206D_202A_200D_200B_200E_202C_206B_206E_200D_206F_200C_202A_206E_206D_200D_206D_206A_200D_202E_202C_206A_206A_206C_206D_206A_200D_200B_206D_200D_200F_202B_202B_200F_202A_206C_202E_202D_206D_206B_202E(_003CEnablePluginAsync_003Ed__10._202B_206E_206C_206A_202A_202C_202E_206C_206B_206B_200F_200D_202B_202A_200E_200C_206F_206E_202E_200D_206E_206D_202B_202D_206A_202D_200E_200F_200E_206B_206B_200E_206C_206E_200B_206E_206E_206B_206A_202D_202E(pluginManager), global::_003CModule_003E._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(-797332337)) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-1353226340)), pluginManager) as IEnumerable) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-1803355673)); + localPlugin = null; + obj2 = null; + num5 = 0; + IEnumerator enumerator = _003CEnablePluginAsync_003Ed__10._206B_206D_202C_206B_200B_206F_202A_206B_202A_206D_200F_202B_200D_206A_200B_200D_202D_202B_200F_206C_206C_206D_202C_200F_202E_200F_202B_200D_206B_200B_202E_206E_206A_206B_202E_202E_206F_200C_200B_206B_202E(obj); + try + { + num = 1208540772; + while (true) + { + int num6 = num; + num3 = 1208540771; + num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 5: + propertyInfo = _003CEnablePluginAsync_003Ed__10._206D_202A_202B_200C_206D_202D_202A_202E_206E_202A_202C_200F_202B_206C_206E_202E_206D_202A_206F_206F_200E_206A_206F_206C_200E_206F_200F_206B_206C_206E_206A_206E_206E_206F_200C_200E_200F_206B_202A_202D_202E(_003CEnablePluginAsync_003Ed__10._202B_206E_206C_206A_202A_202C_202E_206C_206B_206B_200F_200D_202B_202A_200E_200C_206F_206E_202E_200D_206E_206D_202B_202D_206A_202D_200E_200F_200E_206B_206B_200E_206C_206E_200B_206E_206E_206B_206A_202D_202E(obj3), global::_003CModule_003E._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(-1994460583), BindingFlags.Instance | BindingFlags.Public); + num = (_003CEnablePluginAsync_003Ed__10._206B_206B_202C_206D_202D_200E_202B_202B_200C_200D_200F_206A_202C_206C_202B_206B_206D_202B_206C_200F_202B_202C_206E_200E_200F_200F_202D_200E_206D_200C_202D_206B_206A_206F_206A_200D_206B_200C_206D_206C_202E(propertyInfo, (PropertyInfo)null) ? 1208540772 : 1208540769); + break; + case 4: + num = (_003CEnablePluginAsync_003Ed__10._206B_206C_200D_202B_202D_202B_200D_200D_200E_206D_200B_206A_206B_202A_206E_202C_206A_202E_202D_202D_202B_206B_206A_202C_206F_202A_200C_200D_202C_200B_200D_202B_200B_202D_206B_200D_200C_200F_202E_206C_202E(text, internalName) ? 1208540772 : 1208540773); + break; + case 2: + text = _003CEnablePluginAsync_003Ed__10._202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(propertyInfo, obj3) as string; + num = ((text == null) ? 1208540772 : 1208540775); + break; + case 6: + { + int num9 = num5; + num3 = 1; + num4 = num9; + num5 = (num4 | num3) + (num4 & num3); + num = ((obj2 != null) ? 1208540779 : 1208540778); + break; + } + case 9: + obj2 = obj3; + num = 1208540779; + break; + case 0: + localPlugin = obj3; + num = 1208540770; + break; + case 10: + obj3 = _003CEnablePluginAsync_003Ed__10._206C_202A_206F_202B_200B_206F_206D_202D_200D_200B_200F_206E_200C_202E_202A_200C_200F_202C_206D_202B_206E_206F_200D_206B_200E_206A_206E_202A_200F_200B_202A_206C_202C_202E_206E_206D_200B_202A_206B_200E_202E(enumerator); + num = ((obj3 == null) ? 1208540772 : 1208540774); + break; + case 8: + num = ((!LocalPluginMatchesRepo(obj3, thirdPartyRepoUrl, aliases)) ? 1208540772 : 1208540771); + break; + case 3: + num = 1208540772; + break; + case 7: + num = (_003CEnablePluginAsync_003Ed__10._202A_206F_206C_202A_200F_202C_206A_200B_202A_206B_206A_202B_202E_202B_202C_206A_202E_202D_206F_202D_200E_206F_206A_206A_202B_206C_200D_200E_202E_202E_202A_206A_206B_206F_202E_200E_200D_206F_206B_200F_202E(enumerator) ? 1208540777 : 1208540770); + break; + case 1: + goto end_IL_00f5; + } + continue; + end_IL_00f5: + break; + } + } + finally + { + num = 1809875925; + while (true) + { + int num10 = num; + num3 = 1809875926; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _003CEnablePluginAsync_003Ed__10._200E_200E_202C_202B_200B_200D_202B_202E_206F_200F_202E_200C_206A_202D_206E_202E_202D_200C_202B_202D_206A_202E_200D_200B_200F_202B_200B_202D_200D_202C_206D_206C_202C_202B_202C_206A_200B_202B_206F_206A_202E(disposable); + num = 1809875927; + break; + case 1: + goto end_IL_02de; + case 2: + num = 1809875925; + break; + case 3: + disposable = enumerator as IDisposable; + num = ((disposable == null) ? 1809875927 : 1809875926); + break; + } + continue; + end_IL_02de: + break; + } + } + num = ((localPlugin != null) ? (-219266648) : (-219266644)); + break; + } + } + break; + } + while (true) + { + int num12 = num; + int num3 = -219266628; + int num4 = num12; + int num14; + string text2; + int num13; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 21: + break; + case 7: + throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(930706806)); + case 35: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(37, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-704778144)); + defaultInterpolatedStringHandler2.AppendFormatted(internalName); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1141968393)); + defaultInterpolatedStringHandler2.AppendFormatted(text3); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-831521228)); + throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(defaultInterpolatedStringHandler2.ToStringAndClear()); + } + case 14: + array3[num17] = obj5; + num = -219266659; + continue; + case 0: + num14 = 0; + goto IL_04fe; + case 18: + throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(_003CEnablePluginAsync_003Ed__10._200F_200F_202C_200E_202B_200D_206B_200C_206F_206F_206F_200E_200F_200D_206C_206A_202C_202C_200E_206A_206A_202D_200B_200B_202A_202A_200B_206D_200C_202C_200D_200F_202B_206B_202E_202B_200C_200B_202B_200F_202E(global::_003CModule_003E._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(-704778144), internalName, global::_003CModule_003E._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(-1737777117))); + case 3: + text2 = _003CEnablePluginAsync_003Ed__10._200F_200F_202C_200E_202B_200D_206B_200C_206F_206F_206F_200E_200F_200D_206C_206A_202C_202C_200E_206A_206A_202D_200B_200B_202A_202A_200B_206D_200C_202C_200D_200F_202B_206B_202E_202B_200C_200B_202B_200F_202E(global::_003CModule_003E._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(1931795628), internalName, global::_003CModule_003E._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(1283726812)); + goto IL_0562; + case 9: + isLoadedProperty = _003CEnablePluginAsync_003Ed__10._202C_206D_202A_200D_200B_200E_202C_206B_206E_200D_206F_200C_202A_206E_206D_200D_206D_206A_200D_202E_202C_206A_206A_206C_206D_206A_200D_200B_206D_200D_200F_202B_202B_200F_202A_206C_202E_202D_206D_206B_202E(localPluginType, global::_003CModule_003E._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(-904839146)) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-952438240)); + obj4 = _003CEnablePluginAsync_003Ed__10._202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(isLoadedProperty, localPlugin); + num = ((!(obj4 is bool)) ? (-219266628) : (-219266655)); + continue; + case 20: + num = ((localPlugin != null) ? (-219266636) : (-219266652)); + continue; + case 27: + array3[num17] = false; + num = -219266659; + continue; + case 34: + type = _003CEnablePluginAsync_003Ed__10._200F_206B_200D_206F_206A_202A_202B_202C_206D_200E_206B_206B_206E_206E_200D_206C_200B_206B_206E_206B_200D_200E_202B_202B_200E_200F_200B_206E_206F_202D_202C_202C_202C_206F_202A_206F_200D_206B_206F_200C_202E(array2[num17]); + num = ((!_003CEnablePluginAsync_003Ed__10._206B_206A_206C_200C_202D_200E_206E_202B_206A_202A_206E_206F_200C_200E_206E_202E_200E_206E_200B_206E_202A_206E_202E_206F_202C_200C_206E_200E_206A_206F_202B_206A_202B_200B_206A_202E_206B_200B_200E_206E_202E(type, type2)) ? (-219266639) : (-219266638)); + continue; + case 10: + return true; + case 30: + num13 = 0; + goto IL_0651; + case 5: + obj4 = _003CEnablePluginAsync_003Ed__10._202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(_003CEnablePluginAsync_003Ed__10._206D_202A_202B_200C_206D_202D_202A_202E_206E_202A_202C_200F_202B_206C_206E_202E_206D_202A_206F_206F_200E_206A_206F_206C_200E_206F_200F_206B_206C_206E_206A_206E_206E_206F_200C_200E_200F_206B_202A_202D_202E(localPluginType, global::_003CModule_003E._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(-592843582), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(2067190462)), localPlugin); + num = ((!(obj4 is Guid)) ? (-219266629) : (-219266632)); + continue; + case 16: + num = ((num5 != 1) ? (-219266648) : (-219266641)); + continue; + case 33: + { + int num18 = num17; + num3 = 1; + num4 = num18; + num17 = (num4 | num3) + (num4 & num3); + num = -219266660; + continue; + } + case 11: + num = ((num16 < array.Length) ? (-219266626) : (-219266635)); + continue; + case 12: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(70, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(709905315)); + defaultInterpolatedStringHandler.AppendFormatted(internalName); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2030116922)); + defaultInterpolatedStringHandler.AppendFormatted(thirdPartyRepoUrl ?? global::_003CModule_003E._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(-889155816)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1771580269)); + text2 = defaultInterpolatedStringHandler.ToStringAndClear(); + goto IL_0562; + } + case 24: + num = ((num5 == 0) ? (-219266625) : (-219266640)); + continue; + case 6: + array3[num17] = (_003CEnablePluginAsync_003Ed__10._200C_200D_202E_202E_200E_200C_206A_206D_206C_206E_200E_200C_206D_206B_200B_202D_200D_206E_200B_206D_200D_200B_200D_200D_206D_200D_202D_206B_206C_202C_206E_200D_200D_200B_206E_202B_202B_202D_206F_206F_202E(array2[num17]) ? _003CEnablePluginAsync_003Ed__10._200E_202B_206F_200C_200C_200C_202D_206B_200C_200B_202C_200F_206F_200C_200B_200C_202A_206C_206D_206A_200E_200E_200F_206C_200F_202A_200C_200C_202B_206A_202D_202B_206D_206D_200C_206E_206B_202B_200F_206A_202E(array2[num17]) : null); + num = -219266659; + continue; + case 1: + return true; + case 4: + guid = (Guid)obj4; + num = -219266650; + continue; + case 32: + num = ((num17 < array2.Length) ? (-219266658) : (-219266643)); + continue; + case 17: + configuredTaskAwaiter = _003CEnablePluginAsync_003Ed__10._202E_206A_200F_200F_200D_206E_200D_200D_200F_200E_200B_206A_202D_200B_206C_200F_206D_200D_202E_206E_206A_202B_206D_200F_206F_202C_200E_206A_200D_202C_202B_206A_206B_206E_206D_200E_202C_202C_202E_206B_202E(((_003CEnablePluginAsync_003Ed__10._206E_206E_200F_202A_206A_200C_206E_200F_200F_200E_200D_206B_206E_206D_206E_202C_200F_202C_202A_200D_202D_206B_200C_202B_202E_200E_200E_200C_202A_206F_202E_206A_206A_206C_200E_206B_202A_202C_200B_200E_202E((MethodBase)methodInfo, localPlugin, array3) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(1001583693))) as Task) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(796993768)), false).GetAwaiter(); + num = (configuredTaskAwaiter.IsCompleted ? (-219266637) : (-219266647)); + continue; + case 2: + { + text3 = array[num16]; + PropertyInfo propertyInfo2 = _003CEnablePluginAsync_003Ed__10._206D_202A_202B_200C_206D_202D_202A_202E_206E_202A_202C_200F_202B_206C_206E_202E_206D_202A_206F_206F_200E_206A_206F_206C_200E_206F_200F_206B_206C_206E_206A_206E_206E_206F_200C_200E_200F_206B_202A_202D_202E(localPluginType, text3, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + obj4 = (((object)propertyInfo2 != null) ? _003CEnablePluginAsync_003Ed__10._206B_202A_200C_206C_200C_202D_200D_202D_206E_206B_202E_206B_200C_200D_200D_206D_206D_202B_202C_200F_206A_200D_206E_206E_206C_202E_206F_200D_206F_200D_206A_202D_202A_202C_206C_202B_200F_200B_206D_202B_202E(propertyInfo2, localPlugin) : null); + num = ((!(obj4 is bool)) ? (-219266664) : (-219266645)); + continue; + } + case 22: + num = -219266644; + continue; + case 26: + { + Type type3 = _003CEnablePluginAsync_003Ed__10._202E_200B_202B_202E_202A_202B_202A_202E_202E_202D_200B_200D_202C_202B_206F_202C_202A_202C_202E_202E_202C_206C_200C_202B_202D_206B_202B_200C_200D_200E_200B_206D_200B_206F_206E_200D_206B_200B_200F_202E(assembly, global::_003CModule_003E._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(1664398343)) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-933355142)); + object obj6 = _003CEnablePluginAsync_003Ed__10._202A_206C_206E_206A_206D_206A_206C_206C_206F_200E_202D_202D_206C_202C_202C_200D_202B_200C_206E_200D_202A_202E_202A_200B_202D_202D_206C_200F_200D_200D_206F_206B_200C_202A_202D_206C_202D_200B_202D_202E_202E((MethodBase)(_003CEnablePluginAsync_003Ed__10._200B_200B_200D_200C_200E_202A_200D_206E_202A_202C_206D_206F_202C_206E_206F_202B_200D_206D_206E_200D_206F_202D_206E_206B_200E_202A_200F_200B_200C_202C_206C_200D_202E_206D_206B_202B_200B_206F_202E(_003CEnablePluginAsync_003Ed__10._206F_200F_206F_206A_202A_202C_200E_206E_202E_202B_200C_206B_200E_200E_206F_202E_206D_206B_202E_202C_200C_206A_202C_200B_202E_202D_202B_200F_202A_206F_200F_202B_206E_206F_202D_206E_206B_202D_200C_206E_202E(_003CEnablePluginAsync_003Ed__10._202E_200B_202B_202E_202A_202B_202A_202E_202E_202D_200B_200D_202C_202B_206F_202C_202A_202C_202E_202E_202C_206C_200C_202B_202D_206B_202B_200C_200D_200E_200B_206D_200B_206F_206E_200D_206B_200B_200F_202E(assembly, global::_003CModule_003E._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(1909913745)) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(2073227713)), new Type[1] { type3 }), global::_003CModule_003E._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(619471143)) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-2972004))), (object)null, BindingFlags.Default, (Binder)null, Array.Empty(), (CultureInfo)null) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-555459542)); + object obj7 = _003CEnablePluginAsync_003Ed__10._202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(_003CEnablePluginAsync_003Ed__10._206D_202A_202B_200C_206D_202D_202A_202E_206E_202A_202C_200F_202B_206C_206E_202E_206D_202A_206F_206F_200E_206A_206F_206C_200E_206F_200F_206B_206C_206E_206A_206E_206E_206F_200C_200E_200F_206B_202A_202D_202E(type3, global::_003CModule_003E._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(-420103450), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(1512306431)), obj6) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-1036682349)); + configuredTaskAwaiter = _003CEnablePluginAsync_003Ed__10._202E_206A_200F_200F_200D_206E_200D_200D_200F_200E_200B_206A_202D_200B_206C_200F_206D_200D_202E_206E_206A_202B_206D_200F_206F_202C_200E_206A_200D_202C_202B_206A_206B_206E_206D_200E_202C_202C_202E_206B_202E(((_003CEnablePluginAsync_003Ed__10._206E_206E_200F_202A_206A_200C_206E_200F_200F_200E_200D_206B_206E_206D_206E_202C_200F_202C_202A_200D_202D_206B_200C_202B_202E_200E_200E_200C_202A_206F_202E_206A_206A_206C_200E_206B_202A_202C_200B_200E_202E((MethodBase)(_003CEnablePluginAsync_003Ed__10._206D_206C_206F_202A_202B_206E_200B_206B_200C_206E_200F_202E_202A_202C_206F_202A_202D_206A_200D_200F_200E_206F_202D_206D_202A_206D_206F_206F_206E_206C_206D_206B_206D_206E_202B_200D_202A_202E_202D_206D_202E(_003CEnablePluginAsync_003Ed__10._202B_206E_206C_206A_202A_202C_202E_206C_206B_206B_200F_200D_202B_202A_200E_200C_206F_206E_202E_200D_206E_206D_202B_202D_206A_202D_200E_200F_200E_206B_206B_200E_206C_206E_200B_206E_206E_206B_206A_202D_202E(obj7), global::_003CModule_003E._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(2080206550), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(793866729))), obj7, new object[4] { guid, internalName, true, false }) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(-86444387))) as Task) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(480378918)), false).GetAwaiter(); + num = (configuredTaskAwaiter.IsCompleted ? (-219266653) : (-219266656)); + continue; + } + case 31: + configuredTaskAwaiter.GetResult(); + type2 = _003CEnablePluginAsync_003Ed__10._202E_200B_202B_202E_202A_202B_202A_202E_202E_202D_200B_200D_202C_202B_206F_202C_202A_202C_202E_202E_202C_206C_200C_202B_202D_206B_202B_200C_200D_200E_200B_206D_200B_206F_206E_200D_206B_200B_200F_202E(assembly, global::_003CModule_003E._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(185084398)) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(303708542)); + obj5 = _003CEnablePluginAsync_003Ed__10._200B_206E_200C_202B_200F_206A_202E_200E_200E_202C_202E_202C_200F_202B_200E_206A_202B_200B_202E_206F_206F_200E_206D_206B_200B_206D_206C_200C_202B_206C_200E_202A_202A_202B_206D_206C_202E_206C_206C_202D_202E(type2, global::_003CModule_003E._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(-302107944)); + methodInfo = _003CEnablePluginAsync_003Ed__10._206D_206C_206F_202A_202B_206E_200B_206B_200C_206E_200F_202E_202A_202C_206F_202A_202D_206A_200D_200F_200E_206F_202D_206D_202A_206D_206F_206F_206E_206C_206D_206B_206D_206E_202B_200D_202A_202E_202D_206D_202E(localPluginType, global::_003CModule_003E._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(-226194717), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) ?? throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(global::_003CModule_003E._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(67221465)); + array2 = _003CEnablePluginAsync_003Ed__10._200C_202C_200E_206B_200B_206A_200E_206B_202E_202D_202C_202B_206A_206A_202C_206F_202E_200B_206F_202D_206C_200D_206B_206F_202B_206E_206E_206F_202D_206E_200D_206D_206E_206E_202D_200D_206B_202D_202C_200D_202E((MethodBase)methodInfo); + array3 = new object[array2.Length]; + num17 = 0; + num = -219266660; + continue; + case 28: + await configuredTaskAwaiter; + configuredTaskAwaiter = configuredTaskAwaiter2; + configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = -219266653; + continue; + case 8: + localPluginType = _003CEnablePluginAsync_003Ed__10._202B_206E_206C_206A_202A_202C_202E_206C_206B_206B_200F_200D_202B_202A_200E_200C_206F_206E_202E_200D_206E_206D_202B_202D_206A_202D_200E_200F_200E_206B_206B_200E_206C_206E_200B_206E_206E_206B_206A_202D_202E(localPlugin); + array = new string[4] + { + global::_003CModule_003E._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(510149799), + global::_003CModule_003E._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(-1905938056), + global::_003CModule_003E._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(-315909297), + global::_003CModule_003E._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(840433285) + }; + num16 = 0; + num = -219266633; + continue; + case 19: + localPlugin = obj2; + num = -219266648; + continue; + case 23: + num = ((!(bool)obj4) ? (-219266664) : (-219266657)); + continue; + case 15: + configuredTaskAwaiter.GetResult(); + obj4 = _003CEnablePluginAsync_003Ed__10._202E_202B_202A_206A_206A_200C_200C_206E_202E_202B_200D_206E_200B_202C_202C_200C_202B_200B_206E_200E_206D_200B_200D_200D_206D_206F_202B_206D_202B_206F_206A_202C_200D_202C_202A_202D_206F_206C_202C_202E(isLoadedProperty, localPlugin); + num = ((!(obj4 is bool)) ? (-219266654) : (-219266651)); + continue; + case 36: + { + int num15 = num16; + num3 = 1; + num4 = num15; + num16 = (num4 | num3) + (num4 & num3); + num = -219266633; + continue; + } + case 29: + flag = (bool)obj4; + num14 = 1; + goto IL_04fe; + case 13: + num = ((!_003CEnablePluginAsync_003Ed__10._206B_206A_206C_200C_202D_200E_206E_202B_206A_202A_206E_206F_200C_200E_206E_202E_200E_206E_200B_206E_202A_206E_202E_206F_202C_200C_206E_200E_206A_206F_202B_206A_202B_200B_206A_202E_206B_200B_200E_206E_202E(type, _003CEnablePluginAsync_003Ed__10._202A_206E_206D_200E_202D_202B_206C_202B_200D_200D_200D_200B_202D_200F_206B_206F_200B_206E_202A_200C_200D_200F_206F_202E_200E_206E_202E_200D_206B_202C_200E_200B_206C_206F_206D_202B_200B_200B_206E_200D_202E(typeof(bool).TypeHandle))) ? (-219266630) : (-219266649)); + continue; + case 25: + { + loadedAfter = (bool)obj4; + num13 = 1; + goto IL_0651; + } + IL_0562: + throw _003CEnablePluginAsync_003Ed__10._202B_200B_200F_206E_202E_200D_206D_206B_202E_206E_206C_206F_202A_206A_200D_200D_200F_200E_206C_206D_206A_206B_202D_206B_206B_202D_206E_202A_206E_202D_206C_206D_200B_202A_200B_200B_200C_206E_206D_202C_202E(text2); + IL_04fe: + num = ((((uint)num14 & (flag ? 1u : 0u)) == 0) ? (-219266631) : (-219266634)); + continue; + IL_0651: + num = ((((uint)num13 & (loadedAfter ? 1u : 0u)) == 0) ? (-219266642) : (-219266627)); + continue; + } + break; + } + await configuredTaskAwaiter; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static bool LocalPluginMatchesRepo(object localPlugin, string? expectedRepoUrl, IReadOnlyList? aliases = null) + { + PropertyInfo propertyInfo = _202E_200C_202C_206F_202E_200C_202A_202A_202B_202C_200D_202D_200C_206C_202C_202C_200F_206C_206A_202A_202E_206F_202B_206E_206A_202D_200B_202D_206C_206B_200F_206F_206A_206A_202A_200B_202C_200F_200E_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(localPlugin), global::_003CModule_003E._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(-1685908891), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + object obj = (((object)propertyInfo != null) ? _202A_202B_200E_200F_202D_206F_206B_200C_202B_202E_200E_200E_202B_206F_206A_206C_200F_200E_202E_200D_206E_206B_202C_200E_206B_206F_206E_206F_206C_202C_206C_200B_202A_202A_200D_202B_202B_206B_206E_206B_202E(propertyInfo, localPlugin) : null); + int num = ((obj != null) ? (-1744615779) : (-1744615788)); + string installedFrom = default(string); + while (true) + { + int num2 = num; + int num3 = -1744615787; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 6: + return false; + case 8: + { + PropertyInfo propertyInfo2 = _202E_200C_202C_206F_202E_200C_202A_202A_202B_202C_200D_202D_200C_206C_202C_202C_200F_206C_206A_202A_202E_206F_202B_206E_206A_202D_200B_202D_206C_206B_200F_206F_206A_206A_202A_200B_202C_200F_200E_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(obj), global::_003CModule_003E._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(709710176), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + installedFrom = (((object)propertyInfo2 != null) ? _202A_202B_200E_200F_202D_206F_206B_200C_202B_202E_200E_200E_202B_206F_206A_206C_200F_200E_202E_200D_206E_206B_202C_200E_206B_206F_206E_206F_206C_202C_206C_200B_202A_202A_200D_202B_202B_206B_206E_206B_202E(propertyInfo2, obj) : null) as string; + num = ((!LocalPluginUrlMatches(installedFrom, expectedRepoUrl)) ? (-1744615791) : (-1744615792)); + continue; + } + case 7: + num = -1744615788; + continue; + case 3: + return aliases.Count == 0; + case 2: + num = ((aliases == null) ? (-1744615780) : (-1744615786)); + continue; + case 5: + return true; + case 1: + num = ((!_206D_202C_200B_202A_200E_202D_200D_206F_200C_206A_200E_202C_200B_200C_206B_200B_202B_206A_202A_206C_206E_206B_202D_206C_202D_202C_200F_206F_200C_202C_200E_202B_202E_206E_206A_206D_200E_202A_206D_206B_202E(expectedRepoUrl)) ? (-1744615789) : (-1744615785)); + continue; + case 9: + return true; + case 4: + if (aliases != null) + { + num = -1744615787; + continue; + } + break; + case 0: + { + IEnumerator enumerator = aliases.GetEnumerator(); + try + { + num = 1901558294; + while (true) + { + int num5 = num; + num3 = 1901558294; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + return true; + case 4: + { + string current = enumerator.Current; + num = ((!LocalPluginUrlMatches(installedFrom, current)) ? 1901558294 : 1901558292); + break; + } + case 3: + num = 1901558294; + break; + case 0: + num = (_206F_200C_200B_206E_202D_200C_200E_202E_200C_200F_206C_206E_200B_200C_202C_200D_200F_206C_206C_202B_202B_202B_206C_206B_200C_206A_200F_200C_202B_206F_202D_200C_206B_200D_206A_202B_200D_200F_206F_202C_202E((IEnumerator)enumerator) ? 1901558290 : 1901558295); + break; + case 1: + goto end_IL_0167; + } + continue; + end_IL_0167: + break; + } + } + finally + { + num = ((enumerator == null) ? 1363377408 : 1363377411); + while (true) + { + int num8 = num; + num3 = 1363377410; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num = 1363377411; + break; + case 2: + goto end_IL_022e; + case 1: + _200F_206A_202B_200D_200B_206E_202D_200D_202A_200B_202D_206D_200B_206E_202E_206E_202A_200C_206A_200D_200F_206E_200F_202C_202E_200B_202A_200D_200D_200B_200E_200D_202D_206C_206E_200F_202C_202D_202D_202A_202E((IDisposable)enumerator); + num = 1363377408; + break; + } + continue; + end_IL_022e: + break; + } + } + break; + } + } + break; + } + return false; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static bool LocalPluginUrlMatches(string? installedFrom, string? expectedRepoUrl) + { + bool flag = _206D_202C_200B_202A_200E_202D_200D_206F_200C_206A_200E_202C_200B_200C_206B_200B_202B_206A_202A_206C_206E_206B_202D_206C_202D_202C_200F_206F_200C_202C_200E_202B_202E_206E_206A_206D_200E_202A_206D_206B_202E(expectedRepoUrl); + int num = (_206D_202C_200B_202A_200E_202D_200D_206F_200C_206A_200E_202C_200B_200C_206B_200B_202B_206A_202A_206C_206E_206B_202D_206C_202D_202C_200F_206F_200C_202C_200E_202B_202E_206E_206A_206D_200E_202A_206D_206B_202E(installedFrom) ? 1968257030 : 1968257031); + bool flag2 = default(bool); + while (true) + { + int num2 = num; + int num3 = 1968257029; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 2: + num5 = (_200E_200D_200F_206B_200E_200E_206E_200B_206E_206A_202C_206E_200F_206D_200F_206C_206F_202C_206B_202D_200F_200C_202D_202C_200D_202E_206D_202A_202A_206A_200B_206F_202C_206B_200E_202A_206D_206D_206E_202E_202E(installedFrom, global::_003CModule_003E._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(-435753891), StringComparison.OrdinalIgnoreCase) ? 1 : 0); + goto IL_008c; + case 4: + return RepoUrlEquals(installedFrom, expectedRepoUrl); + case 3: + num5 = 1; + goto IL_008c; + case 6: + num3 = (flag2 ? 1 : 0); + num4 = (flag ? 1 : 0); + num = (((num4 & num3) + (num4 ^ num3) == 0) ? 1968257025 : 1968257028); + break; + case 5: + return true; + case 0: + { + num = 1968257031; + break; + } + IL_008c: + flag2 = (byte)num5 != 0; + num3 = (flag2 ? 1 : 0); + num4 = (flag ? 1 : 0); + num = ((num4 + num3 - (num4 | num3) == 0) ? 1968257027 : 1968257024); + break; + } + } + } + + private static async Task InvokeReloadAsync(object pluginManager, MethodInfo reloadMethod) + { + int num = -99592058; + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter configuredTaskAwaiter = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + while (true) + { + int num2 = num; + int num3 = -99592059; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + await configuredTaskAwaiter; + num = -99592063; + break; + case 4: + configuredTaskAwaiter = configuredTaskAwaiter2; + configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = -99592057; + break; + case 0: + num = -99592058; + break; + case 3: + configuredTaskAwaiter = _003CInvokeReloadAsync_003Ed__13._200E_206A_200B_200D_202D_206B_202D_202C_200F_206B_200F_200E_206C_200F_206C_200F_202A_206C_206B_200C_202E_200B_206E_206E_206C_202D_202B_202A_202C_206C_200C_202E_202D_200F_202B_200D_206F_200E_206B_202A_202E(((Task)_003CInvokeReloadAsync_003Ed__13._202D_206C_206C_200E_200B_206C_206B_206F_200D_206B_206D_202C_206D_200E_206C_200C_206B_200C_206C_202C_202D_206F_206B_202D_206B_202C_200C_202A_206C_206D_206C_200B_200C_200E_200C_206E_202E_206D_206A_206A_202E((MethodBase)reloadMethod, pluginManager, new object[1] { true })) ?? throw _003CInvokeReloadAsync_003Ed__13._202A_202B_200C_202E_200D_200D_206F_200F_200E_206C_206F_206D_200C_206A_202B_206B_200F_202C_200B_200B_200F_202B_200F_206F_206E_206C_200D_202A_200F_206C_200B_200E_206E_206B_202A_200C_206C_200B_206E_206D_202E(global::_003CModule_003E._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(-7195696)), false).GetAwaiter(); + num = (configuredTaskAwaiter.IsCompleted ? (-99592057) : (-99592060)); + break; + case 2: + configuredTaskAwaiter.GetResult(); + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static bool IsVariantLoaded(object pluginManager, string internalName, string? thirdPartyRepoUrl, IReadOnlyList? aliases = null) + { + IEnumerable enumerable = _200F_200E_202E_202C_202C_200F_200F_206E_202A_200E_200E_206B_200F_200B_206D_202A_206C_206C_206C_206A_200D_200E_200F_202E_206F_206B_206D_200C_206E_202E_206B_200C_206B_200E_202E_206D_202B_200F_200D_200D_202E(_206C_200B_202A_206D_206E_206B_206A_200D_200E_200D_200C_202E_202A_200E_202E_206A_206B_200B_200C_202B_200D_206D_202B_202C_202C_206B_206D_206D_202E_206A_202E_200D_206C_202E_200B_202A_206A_200D_206C_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(pluginManager), global::_003CModule_003E._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(-1069078896)) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(-1353226340)), pluginManager) as IEnumerable; + int num = ((enumerable != null) ? (-1331774432) : (-1331774431)); + object obj2 = default(object); + string text = default(string); + object obj = default(object); + while (true) + { + int num2 = num; + int num3 = -1331774432; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0084; + case 1: + return false; + case 0: + { + IEnumerator enumerator = _206D_200B_202A_206A_200B_206A_206B_202D_200F_206A_202C_206E_206B_202C_200C_206B_206E_202C_200F_202B_206F_202E_202E_200F_200D_206E_202A_202C_200E_200B_206A_200C_202C_206A_206D_200F_206F_206C_206B_206F_202E(enumerable); + try + { + num = 1358949611; + while (true) + { + int num7 = num; + num3 = 1358949609; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 9: + num = ((!LocalPluginMatchesRepo(obj2, thirdPartyRepoUrl, aliases)) ? 1358949611 : 1358949601); + break; + case 0: + { + PropertyInfo propertyInfo2 = _202E_200C_202C_206F_202E_200C_202A_202A_202B_202C_200D_202D_200C_206C_202C_202C_200F_206C_206A_202A_202E_206F_202B_206E_206A_202D_200B_202D_206C_206B_200F_206F_206A_206A_202A_200B_202C_200F_200E_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(obj2), global::_003CModule_003E._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(1288595854), BindingFlags.Instance | BindingFlags.Public); + text = (((object)propertyInfo2 != null) ? _202A_202B_200E_200F_202D_206F_206B_200C_202B_202E_200E_200E_202B_206F_206A_206C_200F_200E_202E_200D_206E_206B_202C_200E_206B_206F_206E_206F_206C_202C_206C_200B_202A_202A_200D_202B_202B_206B_206E_206B_202E(propertyInfo2, obj2) : null) as string; + num = ((text == null) ? 1358949611 : 1358949613); + break; + } + case 2: + num = (_206F_200C_200B_206E_202D_200C_200E_202E_200C_200F_206C_206E_200B_200C_202C_200D_200F_206C_206C_202B_202B_202B_206C_206B_200C_206A_200F_200C_202B_206F_202D_200C_206B_200D_206A_202B_200D_200F_206F_202C_202E(enumerator) ? 1358949612 : 1358949610); + break; + case 7: + num = 1358949611; + break; + case 4: + num = (_200D_200F_200D_206F_200D_206D_202D_206E_200C_200F_202E_206D_206E_200C_200D_206A_200B_202B_202B_200E_202D_206E_200B_206D_200C_200D_200D_200B_202E_200B_202C_202C_200D_202C_200E_202E_200D_206E_206C_202A_202E(text, internalName) ? 1358949611 : 1358949608); + break; + case 8: + return true; + case 1: + { + PropertyInfo propertyInfo = _202E_200C_202C_206F_202E_200C_202A_202A_202B_202C_200D_202D_200C_206C_202C_202C_200F_206C_206A_202A_202E_206F_202B_206E_206A_202D_200B_202D_206C_206B_200F_206F_206A_206A_202A_200B_202C_200F_200E_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(obj2), global::_003CModule_003E._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(1106796058), BindingFlags.Instance | BindingFlags.Public); + obj = (((object)propertyInfo != null) ? _202A_202B_200E_200F_202D_206F_206B_200C_202B_202E_200E_200E_202B_206F_206A_206C_200F_200E_202E_200D_206E_206B_202C_200E_206B_206F_206E_206F_206C_202C_206C_200B_202A_202A_200D_202B_202B_206B_206E_206B_202E(propertyInfo, obj2) : null); + num = ((!(obj is bool)) ? 1358949611 : 1358949615); + break; + } + case 5: + obj2 = _206F_200F_200C_202D_202E_202A_202A_202C_200D_200D_206F_206E_206B_200C_200B_202C_206D_206A_206D_202D_202B_200E_206D_202B_200B_202C_206D_200D_202D_206A_206A_202C_202E_206D_206E_206B_200F_200B_206D_202B_202E(enumerator); + num = ((obj2 == null) ? 1358949611 : 1358949609); + break; + case 6: + num = ((!(bool)obj) ? 1358949611 : 1358949600); + break; + case 3: + goto end_IL_00a5; + } + continue; + end_IL_00a5: + break; + } + } + finally + { + IDisposable disposable = enumerator as IDisposable; + num = ((disposable == null) ? (-2122455954) : (-2122455955)); + while (true) + { + int num8 = num; + num3 = -2122455953; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 1: + goto end_IL_0290; + case 2: + _200F_206A_202B_200D_200B_206E_202D_200D_202A_200B_202D_206D_200B_206E_202E_206E_202A_200C_206A_200D_200F_206E_200F_202C_202E_200B_202A_200D_200D_200B_200E_200D_202D_206C_206E_200F_202C_202D_202D_202A_202E(disposable); + num = -2122455954; + break; + case 0: + num = -2122455955; + break; + } + continue; + end_IL_0290: + break; + } + } + return false; + } + } + continue; + IL_0084: + num = -1331774431; + } + } + + internal static bool RepoUrlEquals(string? a, string? b) + { + int num = ((a == null) ? (-2066126507) : (-2066126505)); + while (true) + { + int num2 = num; + int num3 = -2066126506; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -2066126505; + break; + case 0: + return _200E_200D_200F_206B_200E_200E_206E_200B_206E_206A_202C_206E_200F_206D_200F_206C_206F_202C_206B_202D_200F_200C_202D_202C_200D_202E_206D_202A_202A_206A_200B_206F_202C_206B_200E_202A_206D_206D_206E_202E_202E(CanonicalizeRepoUrl(a), CanonicalizeRepoUrl(b), StringComparison.OrdinalIgnoreCase); + case 1: + num = ((b != null) ? (-2066126506) : (-2066126507)); + break; + case 3: + return _206C_200E_200C_200C_206B_206A_202A_200E_206E_200F_202E_200B_202B_206C_206F_202C_202A_206E_206F_202A_206F_202A_200F_200B_206D_202D_200D_206B_202A_202B_202E_202B_202A_206B_206A_200E_202B_206E_206B_202C_202E(a, b); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static string CanonicalizeRepoUrl(string url) + { + Uri uri = default(Uri); + int num = (_206F_200D_202B_206B_206C_206B_200C_202E_202B_206C_202E_200B_202A_200D_206A_202C_202D_202E_200D_202A_206F_200D_206E_202A_202A_202B_200E_206F_202A_200D_200E_200F_200D_202E_206F_200E_202C_202B_206F_202D_202E(url, UriKind.Absolute, ref uri) ? 530622185 : 530622188); + string text = default(string); + string[] array = default(string[]); + string value = default(string); + string value2 = default(string); + int num7 = default(int); + while (true) + { + int num2 = num; + int num3 = 530622183; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 10: + num = ((!_200F_202A_200C_206C_200F_206E_202A_206B_200E_206C_202A_202A_202E_206F_202E_202A_200B_200D_206C_202C_206D_200C_206E_200E_206F_200D_206F_200F_200E_200C_202E_206A_206A_200D_202C_206D_202D_206E_200E_202E(text, global::_003CModule_003E._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(-1128935720), StringComparison.OrdinalIgnoreCase)) ? 530622199 : 530622184); + break; + case 15: + num = ((array.Length < 5) ? 530622199 : 530622178); + break; + case 6: + value = array[0]; + value2 = array[1]; + num7 = 3; + num = ((array.Length < 6) ? 530622179 : 530622191); + break; + case 12: + num7 = 5; + num = 530622179; + break; + case 16: + { + UriBuilder uriBuilder = _206B_200E_202B_202B_202A_202C_206B_200C_206A_206D_202B_202E_200D_202D_202C_206E_206C_202A_206A_206A_200D_200C_206A_200D_206A_202D_202C_206A_202B_206B_200C_200B_202E_202A_206D_202C_206A_200D_202D_206E_202E(uri); + _206D_202A_206B_206F_206F_206F_202A_202A_206C_206A_202D_206B_206C_202D_200C_200D_202D_202B_202E_202A_200B_200D_206A_200C_202D_202B_206B_202E_200F_206F_200F_202E_206C_200C_206E_200E_200B_206E_200E_200E_202E(uriBuilder, _202D_206B_202E_202B_202E_206F_206A_202C_202E_206E_206A_200B_202A_200D_200C_206C_202B_200B_200F_206E_206E_206A_206F_200B_206E_206A_206C_200F_206C_200B_206B_200E_206E_206E_200F_206C_206D_200D_200E_200C_202E(text)); + _206D_202A_200C_200E_200D_200D_200C_206C_202C_200E_200C_206A_200E_202C_206A_202B_200E_200F_200F_206C_206D_206F_202C_206E_200C_202B_202A_200D_202C_200F_202B_206C_200D_206F_202B_202B_202E_200E_200E_206D_202E(uriBuilder, string.Empty); + _202B_200E_202D_206D_200D_206B_206D_206D_202E_206E_200E_200C_202A_202D_200F_200B_202B_200D_206F_202B_202D_206F_202B_200B_200C_206C_202A_200D_200B_206F_206C_202D_200C_202D_206E_200C_202A_206B_200C_202C_202E(uriBuilder, string.Empty); + _202E_200C_206F_206B_200F_200F_206D_206A_202B_202C_200E_200F_202E_206F_200F_200E_202C_200D_200F_206D_200F_200B_200D_200E_202D_202C_202D_206E_206B_202D_202E_202A_202B_200B_206E_200B_206F_202C_206A_200C_202E(uriBuilder, _200F_206B_206A_206D_202A_202E_200D_202E_206B_202C_200D_202A_206C_202A_202E_202B_202A_206A_202A_202B_206B_206D_200E_200C_206A_206D_202E_200E_206C_206D_206F_202D_206D_202A_206D_202E_202E_202E_200F_206E_202E(_202B_206B_202E_202C_200D_202B_200C_202C_206B_206C_206E_200F_202C_206A_206A_200D_206B_206F_206F_200C_206D_200B_200D_202D_200E_206D_202D_200E_206A_202A_200C_202D_202C_202A_200E_202E_202D_202C_200F_206C_202E(uri), '/')); + return _200F_206B_206A_206D_202A_202E_200D_202E_206B_202C_200D_202A_206C_202A_202E_202B_202A_206A_202A_202B_206B_206D_200E_200C_206A_206D_202E_200E_206C_206D_206F_202D_206D_202A_206D_202E_202E_202E_200F_206E_202E(_200D_202D_200E_206E_200F_202D_202D_202C_202B_200D_200F_206A_202D_202D_200E_202E_206D_206A_200E_200F_206A_206F_202D_200D_200F_200E_206F_200B_202D_202B_206B_202A_202C_206B_200D_202A_202E_202D_206C_202A_202E((object)_206B_206D_200E_206E_200D_206C_202B_202E_202C_200F_206A_202D_200D_206A_206B_200D_206A_200E_202B_206D_200D_206F_202B_206F_200D_202B_206F_200E_206C_206D_200E_206E_202A_202B_202E_206E_206A_202D_200C_202B_202E(uriBuilder)), '/'); + } + case 11: + return _200F_206B_206A_206D_202A_202E_200D_202E_206B_202C_200D_202A_206C_202A_202E_202B_202A_206A_202A_202B_206B_206D_200E_200C_206A_206D_202E_200E_206C_206D_206F_202D_206D_202A_206D_202E_202E_202E_200F_206E_202E(url, '/'); + case 4: + num = ((array.Length <= num7) ? 530622199 : 530622186); + break; + case 13: + { + string value6 = string.Join('/', array.Skip(num7)); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(36, 3); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(305796847)); + defaultInterpolatedStringHandler2.AppendFormatted(value); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(453460398)); + defaultInterpolatedStringHandler2.AppendFormatted(value2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1537983182)); + defaultInterpolatedStringHandler2.AppendFormatted(value6); + return defaultInterpolatedStringHandler2.ToStringAndClear(); + } + case 7: + num = ((!_200E_200D_200F_206B_200E_200E_206E_200B_206E_206A_202C_206E_200F_206D_200F_206C_206F_202C_206B_202D_200F_200C_202D_202C_200D_202E_206D_202A_202A_206A_200B_206F_202C_206B_200E_202A_206D_206D_206E_202E_202E(array[4], global::_003CModule_003E._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(1341608927), StringComparison.OrdinalIgnoreCase)) ? 530622179 : 530622187); + break; + case 3: + num = ((!_200E_200D_200F_206B_200E_200E_206E_200B_206E_206A_202C_206E_200F_206D_200F_206C_206F_202C_206B_202D_200F_200C_202D_202C_200D_202E_206D_202A_202A_206A_200B_206F_202C_206B_200E_202A_206D_206D_206E_202E_202E(array[2], global::_003CModule_003E._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(-26671864), StringComparison.OrdinalIgnoreCase)) ? 530622189 : 530622177); + break; + case 9: + num = ((!_200E_200D_200F_206B_200E_200E_206E_200B_206E_206A_202C_206E_200F_206D_200F_206C_206F_202C_206B_202D_200F_200C_202D_202C_200D_202E_206D_202A_202A_206A_200B_206F_202C_206B_200E_202A_206D_206D_206E_202E_202E(array[3], global::_003CModule_003E._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(602707159), StringComparison.OrdinalIgnoreCase)) ? 530622199 : 530622181); + break; + case 0: + num = 530622188; + break; + case 8: + num = ((!_200E_200D_200F_206B_200E_200E_206E_200B_206E_206A_202C_206E_200F_206D_200F_206C_206F_202C_206B_202D_200F_200C_202D_202C_200D_202E_206D_202A_202A_206A_200B_206F_202C_206B_200E_202A_206D_206D_206E_202E_202E(array[3], global::_003CModule_003E._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(-773139783), StringComparison.OrdinalIgnoreCase)) ? 530622179 : 530622176); + break; + case 2: + { + string value3 = array[0]; + string value4 = array[1]; + string value5 = string.Join('/', array.Skip(4)); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(36, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-332568864)); + defaultInterpolatedStringHandler.AppendFormatted(value3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1537983182)); + defaultInterpolatedStringHandler.AppendFormatted(value4); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1817903541)); + defaultInterpolatedStringHandler.AppendFormatted(value5); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + case 5: + num = ((!_200E_200D_200F_206B_200E_200E_206E_200B_206E_206A_202C_206E_200F_206D_200F_206C_206F_202C_206B_202D_200F_200C_202D_202C_200D_202E_206D_202A_202A_206A_200B_206F_202C_206B_200E_202A_206D_206D_206E_202E_202E(array[2], global::_003CModule_003E._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(-1962363194), StringComparison.OrdinalIgnoreCase)) ? 530622199 : 530622190); + break; + case 1: + num = ((array.Length < 4) ? 530622189 : 530622180); + break; + case 14: + text = _200B_206E_202A_200D_202B_202B_200C_206D_206D_202E_202C_206A_200C_202A_202E_206D_206A_200E_200B_200E_206B_206E_206F_206E_206F_206D_206E_200E_202C_202B_206C_200B_206D_206B_206F_206D_206D_200C_206E_206D_202E(uri); + array = _206C_206C_206D_200D_202B_200E_206E_202A_202A_206E_206A_202A_206B_200D_200C_202D_206E_202C_206B_206C_206F_200B_202C_202C_206A_206A_202B_200E_200E_200F_200B_200F_206E_202E_206C_206D_206B_202E_206F_206E_202E(_202B_206B_202E_202C_200D_202B_200C_202C_206B_206C_206E_200F_202C_206A_206A_200D_206B_206F_206F_200C_206D_200B_200D_202D_200E_206D_202D_200E_206A_202A_200C_202D_202C_202A_200E_202E_202D_202C_200F_206C_202E(uri), '/', StringSplitOptions.RemoveEmptyEntries); + num = ((!_200F_202A_200C_206C_200F_206E_202A_206B_200E_206C_202A_202A_202E_206F_202E_202A_200B_200D_206C_202C_206D_200C_206E_200E_206F_200D_206F_200F_200E_200C_202E_206A_206A_200D_202C_206D_202D_206E_200E_202E(text, global::_003CModule_003E._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(416896839), StringComparison.OrdinalIgnoreCase)) ? 530622189 : 530622182); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static void AddOrEnableThirdPartyRepo(Assembly assembly, string repoUrl) + { + object dalamudConfiguration = GetDalamudConfiguration(assembly); + IList list = (GetFieldOrPropertyValue(dalamudConfiguration, global::_003CModule_003E._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(-964957061)) as IList) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(1646915115)); + Type type = _202A_206F_206D_200B_200D_202B_200B_202B_202D_200E_202A_206D_202D_202E_206A_206E_206C_200D_206C_200D_202B_206E_202B_200B_200E_206D_206D_200E_200C_200B_206D_206F_200D_200D_202D_200D_206C_206B_202C_202A_202E(assembly, global::_003CModule_003E._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(1877024477)) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(1453439841)); + IEnumerator enumerator = _206D_200B_202A_206A_200B_206A_206B_202D_200F_206A_202C_206E_206B_202C_200C_206B_206E_202C_200F_202B_206F_202E_202E_200F_200D_206E_202A_202C_200E_200B_206A_200C_202C_206A_206D_200F_206F_206C_206B_206F_202E((IEnumerable)list); + try + { + int num = -1033870805; + bool flag = default(bool); + object obj = default(object); + object fieldOrPropertyValue = default(object); + while (true) + { + int num2 = num; + int num3 = -1033870808; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 9: + num = ((!flag) ? (-1033870806) : (-1033870802)); + break; + case 0: + num = ((!RepoUrlEquals(GetFieldOrPropertyValue(obj, global::_003CModule_003E._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(2027261338)) as string, repoUrl)) ? (-1033870805) : (-1033870814)); + break; + case 1: + SetFieldOrPropertyValue(obj, global::_003CModule_003E._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(-686673173), true); + flag = true; + num = -1033870815; + break; + case 10: + flag = false; + fieldOrPropertyValue = GetFieldOrPropertyValue(obj, global::_003CModule_003E._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(-1602768536)); + num = ((!(fieldOrPropertyValue is bool)) ? (-1033870815) : (-1033870816)); + break; + case 4: + num = -1033870805; + break; + case 6: + SaveDalamudConfig(dalamudConfiguration); + num = -1033870806; + break; + case 8: + num = (((bool)fieldOrPropertyValue) ? (-1033870815) : (-1033870807)); + break; + case 3: + num = (_206F_200C_200B_206E_202D_200C_200E_202E_200C_200F_206C_206E_200B_200C_202C_200D_200F_206C_206C_202B_202B_202B_206C_206B_200C_206A_200F_200C_202B_206F_202D_200C_206B_200D_206A_202B_200D_200F_206F_202C_202E(enumerator) ? (-1033870801) : (-1033870803)); + break; + case 7: + obj = _206F_200F_200C_202D_202E_202A_202A_202C_200D_200D_206F_206E_206B_200C_200B_202C_206D_206A_206D_202D_202B_200E_206D_202B_200B_202C_206D_200D_202D_206A_206A_202C_202E_206D_206E_206B_200F_200B_206D_202B_202E(enumerator); + num = ((obj == null) ? (-1033870805) : (-1033870808)); + break; + case 2: + return; + case 5: + goto end_IL_0070; + } + continue; + end_IL_0070: + break; + } + } + finally + { + IDisposable disposable = enumerator as IDisposable; + int num = ((disposable == null) ? (-317404082) : (-317404081)); + while (true) + { + int num5 = num; + int num3 = -317404082; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -317404081; + break; + case 0: + goto end_IL_0244; + case 1: + _200F_206A_202B_200D_200B_206E_202D_200D_202A_200B_202D_206D_200B_206E_202E_206E_202A_200C_206A_200D_200F_206E_200F_202C_202E_200B_202A_200D_200D_200B_200E_200D_202D_206C_206E_200F_202C_202D_202D_202A_202E(disposable); + num = -317404082; + break; + } + continue; + end_IL_0244: + break; + } + } + object obj2 = _206F_206C_202E_206D_200D_200F_202B_206F_200D_200E_202E_202B_206C_206B_202D_206D_206A_206A_206F_206B_200F_206E_206D_206A_200E_206F_206A_206A_206E_206B_206D_206D_200C_200C_200B_206C_202E_202D_200F_200F_202E(type) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(-1179183900)); + SetFieldOrPropertyValue(obj2, global::_003CModule_003E._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(2027261338), repoUrl); + SetFieldOrPropertyValue(obj2, global::_003CModule_003E._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(-2043613357), true); + _206B_206D_202C_206A_206A_206E_200B_206A_202A_206A_202B_206B_202E_202A_206D_206E_206A_206C_206B_206F_202B_206E_200C_206D_206F_202B_200D_202A_206E_206F_206B_206B_202C_200B_206A_202E_202C_200F_202D_206B_202E(list, obj2); + SaveDalamudConfig(dalamudConfiguration); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static object? GetFieldOrPropertyValue(object target, string name) + { + Type type = _202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(target); + FieldInfo fieldInfo = _206C_206F_200C_206B_202B_202C_200F_206A_200C_202A_206D_200F_206F_202D_206E_202C_202B_200C_202B_200C_202C_202D_202B_200B_200E_202D_202C_202A_200D_206E_206F_202B_200D_206A_200F_206F_206D_200D_200F_206A_202E(type, name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + int num = ((!_200E_206D_200C_206B_202C_200D_206B_202A_206F_202C_206D_206D_200E_202D_202A_200E_202E_206D_206E_202A_206A_206A_206B_206A_202B_206A_202A_202C_206D_200C_200C_206A_202C_200F_200F_202D_202C_206A_202D_206A_202E(fieldInfo, (FieldInfo)null)) ? 2137954489 : 2137954494); + PropertyInfo propertyInfo = default(PropertyInfo); + while (true) + { + int num2 = num; + int num3 = 2137954490; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(76, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1361415750)); + defaultInterpolatedStringHandler.AppendFormatted(name); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-628391309)); + defaultInterpolatedStringHandler.AppendFormatted(_200B_200F_206F_200F_202C_206D_200C_206D_202C_200E_200B_200D_200C_206E_206A_200D_202E_206E_200F_202E_202A_206A_202B_200D_200F_202D_202D_206D_200F_200C_200D_200B_206B_200F_206E_202C_202D_200E_202B_202A_202E(type)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-329405732)); + throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 3: + propertyInfo = _202E_200C_202C_206F_202E_200C_202A_202A_202B_202C_200D_202D_200C_206C_202C_202C_200F_206C_206A_202A_202E_206F_202B_206E_206A_202D_200B_202D_206C_206B_200F_206F_206A_206A_202A_200B_202C_200F_200E_202D_202E(type, name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + num = ((!_206F_206C_202A_202A_200D_202C_206D_202B_200C_206A_200E_200B_200E_206E_202A_206A_206A_206A_206F_206C_200B_202C_202E_202E_206D_206D_206D_200C_202B_202A_202B_202A_200F_206F_200E_200E_202A_200D_206B_200D_202E(propertyInfo, (PropertyInfo)null)) ? 2137954491 : 2137954488); + break; + case 2: + return _200F_200E_202E_202C_202C_200F_200F_206E_202A_200E_200E_206B_200F_200B_206D_202A_206C_206C_206C_206A_200D_200E_200F_202E_206F_206B_206D_200C_206E_202E_206B_200C_206B_200E_202E_206D_202B_200F_200D_200D_202E(propertyInfo, target); + case 4: + return _200B_200C_202B_200B_200F_206A_206B_202E_200F_206D_200B_202A_206D_202B_200D_206A_200B_200F_200B_206A_202D_202A_202C_206E_202A_206C_200C_206D_206D_202D_202D_206F_200C_202D_206C_200F_202B_202C_206F_200C_202E(fieldInfo, target); + case 0: + num = 2137954494; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static void SetFieldOrPropertyValue(object target, string name, object value) + { + Type type = _202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(target); + FieldInfo fieldInfo = _206C_206F_200C_206B_202B_202C_200F_206A_200C_202A_206D_200F_206F_202D_206E_202C_202B_200C_202B_200C_202C_202D_202B_200B_200E_202D_202C_202A_200D_206E_206F_202B_200D_206A_200F_206F_206D_200D_200F_206A_202E(type, name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + int num = ((!_200E_206D_200C_206B_202C_200D_206B_202A_206F_202C_206D_206D_200E_202D_202A_200E_202E_206D_206E_202A_206A_206A_206B_206A_202B_206A_202A_202C_206D_200C_200C_206A_202C_200F_200F_202D_202C_206A_202D_206A_202E(fieldInfo, (FieldInfo)null)) ? 1086843726 : 1086843724); + PropertyInfo propertyInfo = default(PropertyInfo); + while (true) + { + int num2 = num; + int num3 = 1086843725; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + propertyInfo = _202E_200C_202C_206F_202E_200C_202A_202A_202B_202C_200D_202D_200C_206C_202C_202C_200F_206C_206A_202A_202E_206F_202B_206E_206A_202D_200B_202D_206C_206B_200F_206F_206A_206A_202A_200B_202C_200F_200E_202D_202E(type, name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + num = ((!_206F_206C_202A_202A_200D_202C_206D_202B_200C_206A_200E_200B_200E_206E_202A_206A_206A_206A_206F_206C_200B_202C_202E_202E_206D_206D_206D_200C_202B_202A_202B_202A_200F_206F_200E_200E_202A_200D_206B_200D_202E(propertyInfo, (PropertyInfo)null)) ? 1086843727 : 1086843721); + break; + case 1: + _206F_206F_206A_202C_206A_202C_200E_200C_206D_200C_200B_200C_206F_206E_200F_200E_200B_206C_202A_206A_202B_200F_200D_202B_206B_202A_206D_206B_202B_206A_202D_202D_206C_202C_200E_200C_200F_200F_206F_202B_202E(fieldInfo, target, value); + return; + case 4: + num = ((!_200D_206E_200E_200E_202A_202D_202D_200C_200B_202D_200B_200B_200D_200F_206A_200B_202D_206F_206E_206E_200D_202E_202D_200C_202E_206A_206A_206D_200E_206F_200B_206A_206F_206F_202E_200D_202D_200E_200B_206B_202E(propertyInfo)) ? 1086843727 : 1086843725); + break; + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(75, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2111351755)); + defaultInterpolatedStringHandler.AppendFormatted(name); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1540325773)); + defaultInterpolatedStringHandler.AppendFormatted(_200B_200F_206F_200F_202C_206D_200C_206D_202C_200E_200B_200D_200C_206E_206A_200D_202E_206E_200F_202E_202A_206A_202B_200D_200F_202D_202D_206D_200F_200C_200D_200B_206B_200F_206E_202C_202D_200E_202B_202A_202E(type)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1985257044)); + throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 0: + _200F_206C_200E_206E_206F_206E_200F_200D_202C_206A_200C_206E_202C_206E_206B_206F_202A_202A_202E_202B_206E_206C_206F_206F_206E_206E_200D_206A_202C_206D_200E_206B_206E_200F_206E_206E_200B_200B_202D_202C_202E(propertyInfo, target, value); + return; + case 5: + num = 1086843724; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static object GetDalamudConfiguration(Assembly assembly) + { + Type obj = _202A_206F_206D_200B_200D_202B_200B_202B_202D_200E_202A_206D_202D_202E_206A_206E_206C_200D_206C_200D_202B_206E_202B_200B_200E_206D_206D_200E_200C_200B_206D_206F_200D_200D_202D_200D_206C_206B_202C_202A_202E(assembly, global::_003CModule_003E._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(24234399)) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(2073227713)); + Type type = _202A_206F_206D_200B_200D_202B_200B_202B_202D_200E_202A_206D_202D_202E_206A_206E_206C_200D_206C_200D_202B_206E_202B_200B_200E_206D_206D_200E_200C_200B_206D_206F_200D_200D_202D_200D_206C_206B_202C_202A_202E(assembly, global::_003CModule_003E._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(269892115)) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(2145503210)); + return _206D_200D_200B_206A_202A_206C_202A_202B_206C_200E_206E_200E_202E_206F_200E_206C_206A_202C_206C_202E_202B_206D_200B_206F_200C_202B_206C_200F_202C_200C_200C_206E_206E_200B_206C_200D_206C_206C_206E_206E_202E((MethodBase)(_200D_200E_200B_202D_206D_202E_200B_200D_202D_200D_200B_206B_202C_200B_202E_202C_202A_206F_202B_200F_200D_202A_202A_200D_200B_200C_202C_202A_206F_206C_200C_202B_206A_206A_202A_206E_206B_202D_206C_206C_202E(_206E_206A_200C_202D_206B_202B_206B_202A_206A_206D_202A_206D_206B_200C_200E_206E_206E_202E_202A_206E_206F_202C_202A_206A_202B_206C_200B_200C_200D_202C_206D_200D_200C_206C_200E_202B_200D_206D_202C_202E(obj, new Type[1] { type }), global::_003CModule_003E._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(323184710)) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(-1758761720))), (object)null, BindingFlags.Default, (Binder)null, Array.Empty(), (CultureInfo)null) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(933870238)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static void SaveDalamudConfig(object config) + { + _200E_200D_202B_206D_202B_202D_202E_200F_206F_202E_200D_206A_202D_200B_202C_206F_206A_206A_202C_206F_202A_206C_206D_202B_202B_202A_206B_206E_206D_200B_200D_200C_200E_202C_206F_206B_202C_202B_202D_202D_202E((MethodBase)(_202C_202A_200E_200C_200D_202C_200C_206E_206B_206F_202C_202B_200B_200C_202C_206A_200E_206F_200D_200C_202E_206D_202C_206D_200D_200C_200F_200F_200C_200C_202E_200F_206E_202C_202C_206B_206E_202E_206D_206F_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(config), global::_003CModule_003E._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(1757338491), BindingFlags.Instance | BindingFlags.Public) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(1710433567))), config, (object[])null); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static object? FindAvailableManifest(object pluginManager, string internalName, string? thirdPartyRepoUrl, IReadOnlyList? aliases) + { + IEnumerable obj = (_200F_200E_202E_202C_202C_200F_200F_206E_202A_200E_200E_206B_200F_200B_206D_202A_206C_206C_206C_206A_200D_200E_200F_202E_206F_206B_206D_200C_206E_202E_206B_200C_206B_200E_202E_206D_202B_200F_200D_200D_202E(_202E_200C_202C_206F_202E_200C_202A_202A_202B_202C_200D_202D_200C_206C_202C_202C_200F_206C_206A_202A_202E_206F_202B_206E_206A_202D_200B_202D_206C_206B_200F_206F_206A_206A_202A_200B_202C_200F_200E_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(pluginManager), global::_003CModule_003E._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(-1276746319), BindingFlags.Instance | BindingFlags.Public) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(-1333702208)), pluginManager) as IEnumerable) ?? throw _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(global::_003CModule_003E._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(-903554674)); + object obj2 = null; + IEnumerator enumerator = _206D_200B_202A_206A_200B_206A_206B_202D_200F_206A_202C_206E_206B_202C_200C_206B_206E_202C_200F_202B_206F_202E_202E_200F_200D_206E_202A_202C_200E_200B_206A_200C_202C_206A_206D_200F_206F_206C_206B_206F_202E(obj); + object obj5 = default(object); + try + { + int num = -850025118; + object obj3 = default(object); + object obj4 = default(object); + string text = default(string); + PropertyInfo propertyInfo2 = default(PropertyInfo); + _003C_003Ec__DisplayClass22_0 _003C_003Ec__DisplayClass22_ = default(_003C_003Ec__DisplayClass22_0); + while (true) + { + int num2 = num; + int num3 = -850025105; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 18: + { + PropertyInfo propertyInfo3 = _202E_200C_202C_206F_202E_200C_202A_202A_202B_202C_200D_202D_200C_206C_202C_202C_200F_206C_206A_202A_202E_206F_202B_206E_206A_202D_200B_202D_206C_206B_200F_206F_206A_206A_202A_200B_202C_200F_200E_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(obj3), global::_003CModule_003E._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(1147668931), BindingFlags.Instance | BindingFlags.Public); + obj5 = (((object)propertyInfo3 != null) ? _202A_202B_200E_200F_202D_206F_206B_200C_202B_202E_200E_200E_202B_206F_206A_206C_200F_200E_202E_200D_206E_206B_202C_200E_206B_206F_206E_206F_206C_202C_206C_200B_202A_202A_200D_202B_202B_206B_206E_206B_202E(propertyInfo3, obj3) : null); + num = ((!(obj5 is bool)) ? (-850025118) : (-850025108)); + break; + } + case 17: + obj5 = obj4; + goto end_IL_0063; + case 2: + obj2 = obj4; + num = -850025110; + break; + case 14: + obj4 = _206F_200F_200C_202D_202E_202A_202A_202C_200D_200D_206F_206E_206B_200C_200B_202C_206D_206A_206D_202D_202B_200E_206D_202B_200B_202C_206D_200D_202D_206A_206A_202C_202E_206D_206E_206B_200F_200B_206D_202B_202E(enumerator); + num = ((obj4 == null) ? (-850025118) : (-850025113)); + break; + case 0: + num = ((obj2 != null) ? (-850025110) : (-850025107)); + break; + case 3: + num = (((bool)obj5) ? (-850025118) : (-850025115)); + break; + case 12: + num = ((aliases == null) ? (-850025118) : (-850025112)); + break; + case 9: + num = -850025118; + break; + case 5: + { + PropertyInfo propertyInfo4 = _202E_200C_202C_206F_202E_200C_202A_202A_202B_202C_200D_202D_200C_206C_202C_202C_200F_206C_206A_202A_202E_206F_202B_206E_206A_202D_200B_202D_206C_206B_200F_206F_206A_206A_202A_200B_202C_200F_200E_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(obj4), global::_003CModule_003E._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(54205377), BindingFlags.Instance | BindingFlags.Public); + obj3 = (((object)propertyInfo4 != null) ? _202A_202B_200E_200F_202D_206F_206B_200C_202B_202E_200E_200E_202B_206F_206A_206C_200F_200E_202E_200D_206E_206B_202C_200E_206B_206F_206E_206F_206C_202C_206C_200B_202A_202A_200D_202B_202B_206B_206E_206B_202E(propertyInfo4, obj4) : null); + num = ((obj3 == null) ? (-850025118) : (-850025116)); + break; + } + case 16: + num = (_200D_200F_200D_206F_200D_206D_202D_206E_200C_200F_202E_206D_206E_200C_200D_206A_200B_202B_202B_200E_202D_206E_200B_206D_200C_200D_200D_200B_202E_200B_202C_202C_200D_202C_200E_202E_200D_206E_206C_202A_202E(text, internalName) ? (-850025118) : (-850025105)); + break; + case 10: + obj5 = obj4; + goto end_IL_0063; + case 8: + propertyInfo2 = _202E_200C_202C_206F_202E_200C_202A_202A_202B_202C_200D_202D_200C_206C_202C_202C_200F_206C_206A_202A_202E_206F_202B_206E_206A_202D_200B_202D_206C_206B_200F_206F_206A_206A_202A_200B_202C_200F_200E_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(obj4), global::_003CModule_003E._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(-1994460583), BindingFlags.Instance | BindingFlags.Public); + num = (_206A_206B_200D_202B_200F_206C_200D_206F_200B_206A_206D_202D_202B_206E_202D_206A_206E_206F_206B_206D_206E_202B_206C_206B_200F_206C_206B_200F_206D_200C_206E_206A_200D_200E_200C_206A_206D_206D_200B_200F_202E(propertyInfo2, (PropertyInfo)null) ? (-850025118) : (-850025109)); + break; + case 13: + num = (_206F_200C_200B_206E_202D_200C_200E_202E_200C_200F_206C_206E_200B_200C_202C_200D_200F_206C_206C_202B_202B_202B_206C_206B_200C_206A_200F_200C_202B_206F_202D_200C_206B_200D_206A_202B_200D_200F_206F_202C_202E(enumerator) ? (-850025119) : (-850025111)); + break; + case 4: + text = _200F_200E_202E_202C_202C_200F_200F_206E_202A_200E_200E_206B_200F_200B_206D_202A_206C_206C_206C_206A_200D_200E_200F_202E_206F_206B_206D_200C_206E_202E_206B_200C_206B_200E_202E_206D_202B_200F_200D_200D_202E(propertyInfo2, obj4) as string; + num = ((text == null) ? (-850025118) : (-850025089)); + break; + case 15: + obj5 = obj4; + goto end_IL_0063; + case 11: + num = ((thirdPartyRepoUrl != null) ? (-850025106) : (-850025091)); + break; + case 7: + num = ((!aliases.Any(_003C_003Ec__DisplayClass22_._003CFindAvailableManifest_003Eb__0)) ? (-850025118) : (-850025120)); + break; + case 1: + { + _003C_003Ec__DisplayClass22_ = new _003C_003Ec__DisplayClass22_0(); + _003C_003Ec__DisplayClass22_0 _003C_003Ec__DisplayClass22_2 = _003C_003Ec__DisplayClass22_; + PropertyInfo propertyInfo = _202E_200C_202C_206F_202E_200C_202A_202A_202B_202C_200D_202D_200C_206C_202C_202C_200F_206C_206A_202A_202E_206F_202B_206E_206A_202D_200B_202D_206C_206B_200F_206F_206A_206A_202A_200B_202C_200F_200E_202D_202E(_202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(obj3), global::_003CModule_003E._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(1503580727), BindingFlags.Instance | BindingFlags.Public); + _003C_003Ec__DisplayClass22_2.repoUrl = (((object)propertyInfo != null) ? _202A_202B_200E_200F_202D_206F_206B_200C_202B_202E_200E_200E_202B_206F_206A_206C_200F_200E_202E_200D_206E_206B_202C_200E_206B_206F_206E_206F_206C_202C_206C_200B_202A_202A_200D_202B_202B_206B_206E_206B_202E(propertyInfo, obj3) : null) as string; + num = ((!RepoUrlEquals(_003C_003Ec__DisplayClass22_.repoUrl, thirdPartyRepoUrl)) ? (-850025117) : (-850025090)); + break; + } + case 6: + return obj2; + } + continue; + end_IL_0063: + break; + } + } + finally + { + IDisposable disposable = enumerator as IDisposable; + int num = ((disposable == null) ? 980189250 : 980189249); + while (true) + { + int num5 = num; + int num3 = 980189248; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_03db; + case 1: + _200F_206A_202B_200D_200B_206E_202D_200D_202A_200B_202D_206D_200B_206E_202E_206E_202A_200C_206A_200D_200F_206E_200F_202C_202E_200B_202A_200D_200D_200B_200E_200D_202D_206C_206E_200F_202C_202D_202D_202A_202E(disposable); + num = 980189250; + break; + case 0: + num = 980189249; + break; + } + continue; + end_IL_03db: + break; + } + } + return obj5; + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void OnInstalledPluginsChanged() { - _pluginLog.Verbose("Installed plugins changed event fired"); - _pluginsChanged = true; + _200C_206D_206A_202D_202D_202C_206A_200D_206C_200D_206F_202D_206E_202B_200B_200E_202B_206D_206B_202B_206A_202A_206C_202A_206E_202A_202A_202A_202D_202A_206D_200F_202E_206B_202D_202E_200B_200B_200B_202C_202E(_pluginLog, global::_003CModule_003E._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(-2004059342), Array.Empty()); + _200C_206D_200D_206E_200E_202D_200F_202B_200C_202E_206D_206D_200F_206D_206C_202B_202C_206E_206D_200E_206F_200F_202C_206A_200E_202C_202B_200C_206F_206B_200E_206B_202A_206B_206B_202E_202D_206F_202B_206E_202E(ref _cacheVersion); + _pluginCache.Clear(); + } + + static void _206B_200C_202D_200D_202D_206A_206F_202D_202B_200F_206F_206D_206C_202E_206E_206A_200C_202A_206F_202A_200E_202D_206E_202C_206A_206A_200D_200C_202E_206B_206C_202A_206C_200D_202E_206B_202C_206B_202B_206F_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static Type _202E_206D_200C_206B_202C_200F_206C_206A_206D_206F_206C_202B_202B_200E_206D_202A_206A_202B_202C_206E_206A_200B_200C_200C_206E_200C_206D_202C_206D_202B_200C_206E_206A_206F_200E_202A_202E_200D_206D_206A_202E(object P_0) + { + return P_0.GetType(); + } + + static EventInfo _202C_202B_202D_200C_202D_206F_202E_206B_202E_202C_206E_202E_200E_202D_202D_206B_202E_202E_206B_206A_202D_202A_206F_202B_202B_202B_200E_200F_206E_202C_206E_202E_200E_206E_206F_202B_202C_202D_206D_200D_202E(Type P_0, string P_1) + { + return P_0.GetEvent(P_1); + } + + static InvalidOperationException _202D_206D_202E_200D_202C_202B_206A_200F_200B_206D_200D_202E_200D_202E_202A_200F_202B_202C_202D_206A_206C_200D_206B_206B_200B_202C_206F_206B_200E_202C_200C_202B_202B_206C_206D_206C_200E_200D_202D_206B_202E(string P_0) + { + return new InvalidOperationException(P_0); + } + + static void _202C_206A_202C_206C_200F_202D_200B_200D_202D_200B_202A_206F_200E_200D_202A_206F_206C_200E_200F_202E_202A_206F_200C_200F_200C_206C_202D_202B_200D_206F_202D_202A_202B_200D_206D_202B_200E_206E_202E_202B_202E(EventInfo P_0, object P_1, Delegate P_2) + { + P_0.AddEventHandler(P_1, P_2); + } + + static void _200E_206A_200C_206C_200C_200C_206A_202B_206E_202E_206B_200F_206F_206E_200E_200C_202E_200D_202E_206C_202B_206F_200B_206B_206C_202C_200D_202D_206E_200F_200D_200D_202D_206B_200E_202D_206B_202D_206F_206C_202E(EventInfo P_0, object P_1, Delegate P_2) + { + P_0.RemoveEventHandler(P_1, P_2); + } + + static void _200D_202D_206F_200C_206E_202A_202B_200E_202C_202B_206E_202A_202D_206D_202D_200D_202C_206A_202A_202E_206F_206C_206D_202C_202B_206B_206F_202D_202A_202C_206A_202A_202E_206F_202D_202C_206C_206C_200E_206A_202E(IPluginLog P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.Warning(P_1, P_2, P_3); + } + + static Assembly _200F_202E_200B_202A_200B_202C_206F_200D_202A_200D_200B_206D_200F_206A_200C_206C_202B_202E_202D_206D_202C_202E_200E_206F_200F_200C_202D_202D_206D_200F_200F_200C_206B_206F_200D_206B_200E_202A_200D_202D_202E(Type P_0) + { + return P_0.Assembly; + } + + static Type _202A_206F_206D_200B_200D_202B_200B_202B_202D_200E_202A_206D_202D_202E_206A_206E_206C_200D_206C_200D_202B_206E_202B_200B_200E_206D_206D_200E_200C_200B_206D_206F_200D_200D_202D_200D_206C_206B_202C_202A_202E(Assembly P_0, string P_1) + { + return P_0.GetType(P_1); + } + + static Type _206E_206A_200C_202D_206B_202B_206B_202A_206A_206D_202A_206D_206B_200C_200E_206E_206E_202E_202A_206E_206F_202C_202A_206A_202B_206C_200B_200C_200D_202C_206D_200D_200C_206C_200E_202B_200D_206D_202C_202E(Type P_0, Type[] P_1) + { + return P_0.MakeGenericType(P_1); + } + + static MethodInfo _200D_200E_200B_202D_206D_202E_200B_200D_202D_200D_200B_206B_202C_200B_202E_202C_202A_206F_202B_200F_200D_202A_202A_200D_200B_200C_202C_202A_206F_206C_200C_202B_206A_206A_202A_206E_206B_202D_206C_206C_202E(Type P_0, string P_1) + { + return P_0.GetMethod(P_1); + } + + static object _206D_200D_200B_206A_202A_206C_202A_202B_206C_200E_206E_200E_202E_206F_200E_206C_206A_202C_206C_202E_202B_206D_200B_206F_200C_202B_206C_200F_202C_200C_200C_206E_206E_200B_206C_200D_206C_206C_206E_206E_202E(MethodBase P_0, object P_1, BindingFlags P_2, Binder P_3, object[] P_4, CultureInfo P_5) + { + return P_0.Invoke(P_1, P_2, P_3, P_4, P_5); + } + + static int _202D_202C_206B_206C_202E_206D_200B_202E_206F_206B_200F_206E_206D_200D_206A_206A_202A_206C_200B_206B_200F_200F_206B_200E_202C_202B_200F_200B_206D_206E_200D_200B_206B_200B_206D_202A_200C_202A_202D_206F_202E(ref int P_0) + { + return Volatile.Read(in P_0); + } + + static PropertyInfo _206C_200B_202A_206D_206E_206B_206A_200D_200E_200D_200C_202E_202A_200E_202E_206A_206B_200B_200C_202B_200D_206D_202B_202C_202C_206B_206D_206D_202E_206A_202E_200D_206C_202E_200B_202A_206A_200D_206C_202D_202E(Type P_0, string P_1) + { + return P_0.GetProperty(P_1); + } + + static object _200F_200E_202E_202C_202C_200F_200F_206E_202A_200E_200E_206B_200F_200B_206D_202A_206C_206C_206C_206A_200D_200E_200F_202E_206F_206B_206D_200C_206E_202E_206B_200C_206B_200E_202E_206D_202B_200F_200D_200D_202E(PropertyInfo P_0, object P_1) + { + return P_0.GetValue(P_1); + } + + static string _206D_202B_206D_202D_200C_202E_206E_206F_202E_200D_202E_202E_206D_202C_200D_200D_200C_202E_202D_200E_206A_206B_206E_202B_206F_200B_200D_200F_206B_200D_206B_202C_200D_202A_202D_200C_206D_200C_206D_206C_202E(Exception P_0) + { + return P_0.Message; + } + + static string _200E_206E_200B_206B_206E_202E_206A_206A_202C_202C_202D_202B_200D_206D_202E_206F_200B_200E_206E_200E_202D_200E_202B_200B_200F_200C_200B_200F_206B_202E_206D_200B_206F_206E_206E_200C_200E_206B_200F_202E(string P_0, string P_1, string P_2, string P_3) + { + return P_0 + P_1 + P_2 + P_3; + } + + static void _202B_200D_202A_206E_202E_202B_206F_206B_206A_202C_202A_200C_200E_206E_202E_206B_202C_206E_206F_200F_206C_206F_206A_206C_206C_200B_206A_206E_206B_202C_202A_202E_206D_202B_202E_200F_206A_202B_206B_200C_202E(IPluginLog P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.Error(P_1, P_2, P_3); + } + + static PropertyInfo _202E_200C_202C_206F_202E_200C_202A_202A_202B_202C_200D_202D_200C_206C_202C_202C_200F_206C_206A_202A_202E_206F_202B_206E_206A_202D_200B_202D_206C_206B_200F_206F_206A_206A_202A_200B_202C_200F_200E_202D_202E(Type P_0, string P_1, BindingFlags P_2) + { + return P_0.GetProperty(P_1, P_2); + } + + static object _202A_202B_200E_200F_202D_206F_206B_200C_202B_202E_200E_200E_202B_206F_206A_206C_200F_200E_202E_200D_206E_206B_202C_200E_206B_206F_206E_206F_206C_202C_206C_200B_202A_202A_200D_202B_202B_206B_206E_206B_202E(PropertyInfo P_0, object P_1) + { + return P_0.GetValue(P_1); + } + + static bool _206D_202C_200B_202A_200E_202D_200D_206F_200C_206A_200E_202C_200B_200C_206B_200B_202B_206A_202A_206C_206E_206B_202D_206C_202D_202C_200F_206F_200C_202C_200E_202B_202E_206E_206A_206D_200E_202A_206D_206B_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _206F_200C_200B_206E_202D_200C_200E_202E_200C_200F_206C_206E_200B_200C_202C_200D_200F_206C_206C_202B_202B_202B_206C_206B_200C_206A_200F_200C_202B_206F_202D_200C_206B_200D_206A_202B_200D_200F_206F_202C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200F_206A_202B_200D_200B_206E_202D_200D_202A_200B_202D_206D_200B_206E_202E_206E_202A_200C_206A_200D_200F_206E_200F_202C_202E_200B_202A_200D_200D_200B_200E_200D_202D_206C_206E_200F_202C_202D_202D_202A_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _200E_200D_200F_206B_200E_200E_206E_200B_206E_206A_202C_206E_200F_206D_200F_206C_206F_202C_206B_202D_200F_200C_202D_202C_200D_202E_206D_202A_202A_206A_200B_206F_202C_206B_200E_202A_206D_206D_206E_202E_202E(string P_0, string P_1, StringComparison P_2) + { + return string.Equals(P_0, P_1, P_2); + } + + static IEnumerator _206D_200B_202A_206A_200B_206A_206B_202D_200F_206A_202C_206E_206B_202C_200C_206B_206E_202C_200F_202B_206F_202E_202E_200F_200D_206E_202A_202C_200E_200B_206A_200C_202C_206A_206D_200F_206F_206C_206B_206F_202E(IEnumerable P_0) + { + return P_0.GetEnumerator(); + } + + static object _206F_200F_200C_202D_202E_202A_202A_202C_200D_200D_206F_206E_206B_200C_200B_202C_206D_206A_206D_202D_202B_200E_206D_202B_200B_202C_206D_200D_202D_206A_206A_202C_202E_206D_206E_206B_200F_200B_206D_202B_202E(IEnumerator P_0) + { + return P_0.Current; + } + + static bool _200D_200F_200D_206F_200D_206D_202D_206E_200C_200F_202E_206D_206E_200C_200D_206A_200B_202B_202B_200E_202D_206E_200B_206D_200C_200D_200D_200B_202E_200B_202C_202C_200D_202C_200E_202E_200D_206E_206C_202A_202E(string P_0, string P_1) + { + return P_0 != P_1; + } + + static bool _206C_200E_200C_200C_206B_206A_202A_200E_206E_200F_202E_200B_202B_206C_206F_202C_202A_206E_206F_202A_206F_202A_200F_200B_206D_202D_200D_206B_202A_202B_202E_202B_202A_206B_206A_200E_202B_206E_206B_202C_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static bool _206F_200D_202B_206B_206C_206B_200C_202E_202B_206C_202E_200B_202A_200D_206A_202C_202D_202E_200D_202A_206F_200D_206E_202A_202A_202B_200E_206F_202A_200D_200E_200F_200D_202E_206F_200E_202C_202B_206F_202D_202E(string P_0, UriKind P_1, ref Uri P_2) + { + return Uri.TryCreate(P_0, P_1, out P_2); + } + + static string _200F_206B_206A_206D_202A_202E_200D_202E_206B_202C_200D_202A_206C_202A_202E_202B_202A_206A_202A_202B_206B_206D_200E_200C_206A_206D_202E_200E_206C_206D_206F_202D_206D_202A_206D_202E_202E_202E_200F_206E_202E(string P_0, char P_1) + { + return P_0.TrimEnd(P_1); + } + + static string _200B_206E_202A_200D_202B_202B_200C_206D_206D_202E_202C_206A_200C_202A_202E_206D_206A_200E_200B_200E_206B_206E_206F_206E_206F_206D_206E_200E_202C_202B_206C_200B_206D_206B_206F_206D_206D_200C_206E_206D_202E(Uri P_0) + { + return P_0.Host; + } + + static string _202B_206B_202E_202C_200D_202B_200C_202C_206B_206C_206E_200F_202C_206A_206A_200D_206B_206F_206F_200C_206D_200B_200D_202D_200E_206D_202D_200E_206A_202A_200C_202D_202C_202A_200E_202E_202D_202C_200F_206C_202E(Uri P_0) + { + return P_0.AbsolutePath; + } + + static string[] _206C_206C_206D_200D_202B_200E_206E_202A_202A_206E_206A_202A_206B_200D_200C_202D_206E_202C_206B_206C_206F_200B_202C_202C_206A_206A_202B_200E_200E_200F_200B_200F_206E_202E_206C_206D_206B_202E_206F_206E_202E(string P_0, char P_1, StringSplitOptions P_2) + { + return P_0.Split(P_1, P_2); + } + + static bool _200F_202A_200C_206C_200F_206E_202A_206B_200E_206C_202A_202A_202E_206F_202E_202A_200B_200D_206C_202C_206D_200C_206E_200E_206F_200D_206F_200F_200E_200C_202E_206A_206A_200D_202C_206D_202D_206E_200E_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Equals(P_1, P_2); + } + + static UriBuilder _206B_200E_202B_202B_202A_202C_206B_200C_206A_206D_202B_202E_200D_202D_202C_206E_206C_202A_206A_206A_200D_200C_206A_200D_206A_202D_202C_206A_202B_206B_200C_200B_202E_202A_206D_202C_206A_200D_202D_206E_202E(Uri P_0) + { + return new UriBuilder(P_0); + } + + static string _202D_206B_202E_202B_202E_206F_206A_202C_202E_206E_206A_200B_202A_200D_200C_206C_202B_200B_200F_206E_206E_206A_206F_200B_206E_206A_206C_200F_206C_200B_206B_200E_206E_206E_200F_206C_206D_200D_200E_200C_202E(string P_0) + { + return P_0.ToLowerInvariant(); + } + + static void _206D_202A_206B_206F_206F_206F_202A_202A_206C_206A_202D_206B_206C_202D_200C_200D_202D_202B_202E_202A_200B_200D_206A_200C_202D_202B_206B_202E_200F_206F_200F_202E_206C_200C_206E_200E_200B_206E_200E_200E_202E(UriBuilder P_0, string P_1) + { + P_0.Host = P_1; + } + + static void _206D_202A_200C_200E_200D_200D_200C_206C_202C_200E_200C_206A_200E_202C_206A_202B_200E_200F_200F_206C_206D_206F_202C_206E_200C_202B_202A_200D_202C_200F_202B_206C_200D_206F_202B_202B_202E_200E_200E_206D_202E(UriBuilder P_0, string P_1) + { + P_0.Query = P_1; + } + + static void _202B_200E_202D_206D_200D_206B_206D_206D_202E_206E_200E_200C_202A_202D_200F_200B_202B_200D_206F_202B_202D_206F_202B_200B_200C_206C_202A_200D_200B_206F_206C_202D_200C_202D_206E_200C_202A_206B_200C_202C_202E(UriBuilder P_0, string P_1) + { + P_0.Fragment = P_1; + } + + static void _202E_200C_206F_206B_200F_200F_206D_206A_202B_202C_200E_200F_202E_206F_200F_200E_202C_200D_200F_206D_200F_200B_200D_200E_202D_202C_202D_206E_206B_202D_202E_202A_202B_200B_206E_200B_206F_202C_206A_200C_202E(UriBuilder P_0, string P_1) + { + P_0.Path = P_1; + } + + static Uri _206B_206D_200E_206E_200D_206C_202B_202E_202C_200F_206A_202D_200D_206A_206B_200D_206A_200E_202B_206D_200D_206F_202B_206F_200D_202B_206F_200E_206C_206D_200E_206E_202A_202B_202E_206E_206A_202D_200C_202B_202E(UriBuilder P_0) + { + return P_0.Uri; + } + + static string _200D_202D_200E_206E_200F_202D_202D_202C_202B_200D_200F_206A_202D_202D_200E_202E_206D_206A_200E_200F_206A_206F_202D_200D_200F_200E_206F_200B_202D_202B_206B_202A_202C_206B_200D_202A_202E_202D_206C_202A_202E(object P_0) + { + return P_0.ToString(); + } + + static object _206F_206C_202E_206D_200D_200F_202B_206F_200D_200E_202E_202B_206C_206B_202D_206D_206A_206A_206F_206B_200F_206E_206D_206A_200E_206F_206A_206A_206E_206B_206D_206D_200C_200C_200B_206C_202E_202D_200F_200F_202E(Type P_0) + { + return Activator.CreateInstance(P_0); + } + + static int _206B_206D_202C_206A_206A_206E_200B_206A_202A_206A_202B_206B_202E_202A_206D_206E_206A_206C_206B_206F_202B_206E_200C_206D_206F_202B_200D_202A_206E_206F_206B_206B_202C_200B_206A_202E_202C_200F_202D_206B_202E(IList P_0, object P_1) + { + return P_0.Add(P_1); + } + + static FieldInfo _206C_206F_200C_206B_202B_202C_200F_206A_200C_202A_206D_200F_206F_202D_206E_202C_202B_200C_202B_200C_202C_202D_202B_200B_200E_202D_202C_202A_200D_206E_206F_202B_200D_206A_200F_206F_206D_200D_200F_206A_202E(Type P_0, string P_1, BindingFlags P_2) + { + return P_0.GetField(P_1, P_2); + } + + static bool _200E_206D_200C_206B_202C_200D_206B_202A_206F_202C_206D_206D_200E_202D_202A_200E_202E_206D_206E_202A_206A_206A_206B_206A_202B_206A_202A_202C_206D_200C_200C_206A_202C_200F_200F_202D_202C_206A_202D_206A_202E(FieldInfo P_0, FieldInfo P_1) + { + return P_0 != P_1; + } + + static object _200B_200C_202B_200B_200F_206A_206B_202E_200F_206D_200B_202A_206D_202B_200D_206A_200B_200F_200B_206A_202D_202A_202C_206E_202A_206C_200C_206D_206D_202D_202D_206F_200C_202D_206C_200F_202B_202C_206F_200C_202E(FieldInfo P_0, object P_1) + { + return P_0.GetValue(P_1); + } + + static bool _206F_206C_202A_202A_200D_202C_206D_202B_200C_206A_200E_200B_200E_206E_202A_206A_206A_206A_206F_206C_200B_202C_202E_202E_206D_206D_206D_200C_202B_202A_202B_202A_200F_206F_200E_200E_202A_200D_206B_200D_202E(PropertyInfo P_0, PropertyInfo P_1) + { + return P_0 != P_1; + } + + static string _200B_200F_206F_200F_202C_206D_200C_206D_202C_200E_200B_200D_200C_206E_206A_200D_202E_206E_200F_202E_202A_206A_202B_200D_200F_202D_202D_206D_200F_200C_200D_200B_206B_200F_206E_202C_202D_200E_202B_202A_202E(Type P_0) + { + return P_0.FullName; + } + + static void _206F_206F_206A_202C_206A_202C_200E_200C_206D_200C_200B_200C_206F_206E_200F_200E_200B_206C_202A_206A_202B_200F_200D_202B_206B_202A_206D_206B_202B_206A_202D_202D_206C_202C_200E_200C_200F_200F_206F_202B_202E(FieldInfo P_0, object P_1, object P_2) + { + P_0.SetValue(P_1, P_2); + } + + static bool _200D_206E_200E_200E_202A_202D_202D_200C_200B_202D_200B_200B_200D_200F_206A_200B_202D_206F_206E_206E_200D_202E_202D_200C_202E_206A_206A_206D_200E_206F_200B_206A_206F_206F_202E_200D_202D_200E_200B_206B_202E(PropertyInfo P_0) + { + return P_0.CanWrite; + } + + static void _200F_206C_200E_206E_206F_206E_200F_200D_202C_206A_200C_206E_202C_206E_206B_206F_202A_202A_202E_202B_206E_206C_206F_206F_206E_206E_200D_206A_202C_206D_200E_206B_206E_200F_206E_206E_200B_200B_202D_202C_202E(PropertyInfo P_0, object P_1, object P_2) + { + P_0.SetValue(P_1, P_2); + } + + static MethodInfo _202C_202A_200E_200C_200D_202C_200C_206E_206B_206F_202C_202B_200B_200C_202C_206A_200E_206F_200D_200C_202E_206D_202C_206D_200D_200C_200F_200F_200C_200C_202E_200F_206E_202C_202C_206B_206E_202E_206D_206F_202E(Type P_0, string P_1, BindingFlags P_2) + { + return P_0.GetMethod(P_1, P_2); + } + + static object _200E_200D_202B_206D_202B_202D_202E_200F_206F_202E_200D_206A_202D_200B_202C_206F_206A_206A_202C_206F_202A_206C_206D_202B_202B_202A_206B_206E_206D_200B_200D_200C_200E_202C_206F_206B_202C_202B_202D_202D_202E(MethodBase P_0, object P_1, object[] P_2) + { + return P_0.Invoke(P_1, P_2); + } + + static bool _206A_206B_200D_202B_200F_206C_200D_206F_200B_206A_206D_202D_202B_206E_202D_206A_206E_206F_206B_206D_206E_202B_206C_206B_200F_206C_206B_200F_206D_200C_206E_206A_200D_200E_200C_206A_206D_206D_200B_200F_202E(PropertyInfo P_0, PropertyInfo P_1) + { + return P_0 == P_1; + } + + static void _200C_206D_206A_202D_202D_202C_206A_200D_206C_200D_206F_202D_206E_202B_200B_200E_202B_206D_206B_202B_206A_202A_206C_202A_206E_202A_202A_202A_202D_202A_206D_200F_202E_206B_202D_202E_200B_200B_200B_202C_202E(IPluginLog P_0, string P_1, object[] P_2) + { + P_0.Verbose(P_1, P_2); + } + + static int _200C_206D_200D_206E_200E_202D_200F_202B_200C_202E_206D_206D_200F_206D_206C_202B_202C_206E_206D_200E_206F_200F_202C_206A_200E_202C_202B_200C_206F_206B_200E_206B_202A_206B_206B_202E_202D_206F_202B_206E_202E(ref int P_0) + { + return Interlocked.Increment(ref P_0); + } + + static string _206D_200D_206E_200E_202E_200B_202B_206E_206B_200F_200F_202E_202A_200C_200E_202E_200E_202E_206D_202C_206A_200D_202A_206C_200B_202B_202A_202E_206F_206B_200D_200E_206D_206B_200F_206F_206A_206A_206C_206E_202E(MemberInfo P_0) + { + return P_0.Name; + } + + static Type _200D_200F_206A_206C_200B_200C_200B_206A_202C_200E_206F_202B_206B_200B_202E_206F_200D_206B_202C_202E_206C_200C_200D_200D_206C_206D_202E_200B_206E_200C_206A_200B_206A_206B_202E_200D_200D_202B_206E_206B_202E(Type P_0) + { + return P_0.BaseType; + } + + static string _200D_200B_202C_206F_200B_202C_206F_202A_200F_200E_206A_200B_202C_206E_202E_206E_200D_200C_202E_202E_202D_200F_206D_202A_200F_206D_206B_200C_206B_200B_206E_202A_200E_206F_206E_206D_206E_202A_206D_200D_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _206F_202C_206D_202B_202C_206C_200B_200E_206F_200C_206F_206E_202C_206A_206A_206B_206F_202C_200C_206C_200D_200D_202D_202E_202C_200E_202C_200B_202A_206E_202B_202C_206E_206D_206A_206E_206E_206E_202B_206E_202E(IPluginLog P_0, string P_1, object[] P_2) + { + P_0.Warning(P_1, P_2); } } diff --git a/LLib/LLib/DataManagerExtensions.cs b/LLib/LLib/DataManagerExtensions.cs index 029aeafe..87f14b8e 100644 --- a/LLib/LLib/DataManagerExtensions.cs +++ b/LLib/LLib/DataManagerExtensions.cs @@ -1,5 +1,7 @@ using System; +using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; using System.Text.RegularExpressions; using Dalamud.Plugin.Services; using Lumina.Excel; @@ -10,10 +12,144 @@ namespace LLib; public static class DataManagerExtensions { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__7_0; + + public static Func _003C_003E9__8_0; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003CToRegex_003Eb__7_0(ReadOnlySePayload payload) + { + int num = ((payload.Type != ReadOnlySePayloadType.Text) ? 653215038 : 653215037); + while (true) + { + int num2 = num; + int num3 = 653215036; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0049; + case 2: + return global::_003CModule_003E._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(-1401261324); + case 1: + return _206E_200E_202D_206D_206F_200E_202C_206B_206E_202E_200D_200E_200F_200F_202D_206F_200B_202B_200B_200E_202E_206C_200C_202E_206A_200C_202E_200D_200D_206C_206C_206D_202A_202D_200B_206C_200C_200E_202C_202E(payload.ToString()); + } + continue; + IL_0049: + num = 653215037; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003CWithCertainMacroCodeReplacements_003Eb__8_0(ReadOnlySePayload payload) + { + ReadOnlySePayloadType type = payload.Type; + int num = ((type == ReadOnlySePayloadType.Text) ? 665720307 : 665720306); + MacroCode macroCode = default(MacroCode); + string result = default(string); + string text = default(string); + while (true) + { + int num2 = num; + int num3 = 665720319; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 15: + macroCode = payload.MacroCode; + num = ((macroCode > MacroCode.SoftHyphen) ? 665720311 : 665720310); + break; + case 5: + return result; + case 10: + text = global::_003CModule_003E._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(-1220250632); + num = 665720312; + break; + case 18: + num = 665720306; + break; + case 17: + num = ((macroCode == MacroCode.Hyphen) ? 665720309 : 665720318); + break; + case 4: + text = payload.ToString(); + num = 665720312; + break; + case 14: + text = global::_003CModule_003E._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(-581253858); + num = 665720312; + break; + case 0: + num = ((macroCode == MacroCode.SoftHyphen) ? 665720313 : 665720303); + break; + case 13: + num = ((type == ReadOnlySePayloadType.Macro) ? 665720304 : 665720308); + break; + case 12: + result = payload.ToString(); + num = 665720314; + break; + case 16: + num = 665720315; + break; + case 1: + num = 665720315; + break; + case 7: + result = text; + num = 665720314; + break; + case 6: + text = global::_003CModule_003E._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(336218591); + num = 665720312; + break; + case 8: + num = ((macroCode == MacroCode.NonBreakingSpace) ? 665720305 : 665720302); + break; + case 2: + text = _202A_200D_200D_202A_200B_200E_202E_202C_200D_202D_202B_200F_202C_206A_202D_202A_206B_206C_200D_206B_206A_206B_206E_202B_202B_206C_206F_202A_206B_202B_202C_206F_200F_202B_202B_200C_202E_200B_202D_202C_202E(); + num = 665720312; + break; + case 11: + num = 665720316; + break; + case 9: + num = ((macroCode == MacroCode.NewLine) ? 665720317 : 665720319); + break; + case 3: + result = payload.ToString(); + num = 665720314; + break; + } + } + } + + static string _206E_200E_202D_206D_206F_200E_202C_206B_206E_202E_200D_200E_200F_200F_202D_206F_200B_202B_200B_200E_202E_206C_200C_202E_206A_200C_202E_200D_200D_206C_206C_206D_202A_202D_200B_206C_200C_200E_202C_202E(string P_0) + { + return Regex.Escape(P_0); + } + + static string _202A_200D_200D_202A_200B_200E_202E_202C_200D_202D_202B_200F_202C_206A_202D_202A_206B_206C_200D_206B_206A_206B_206E_202B_202B_206C_206F_202A_206B_202B_202C_206F_200F_202B_202B_200C_202E_200B_202D_202C_202E() + { + return Environment.NewLine; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] 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; + _202A_202A_206D_206A_206B_202B_206E_206F_206F_206A_202B_202E_206A_202E_202A_206A_206A_202C_200D_206C_206E_202B_202B_206E_200E_200F_200F_202D_206E_202B_202C_200B_206E_206D_202D_200E_202E_206A_200B_202C_202E((object)dataManager, global::_003CModule_003E._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(1058761074)); + 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 @@ -24,23 +160,56 @@ public static class DataManagerExtensions public static Regex? GetRegex(this IDataManager dataManager, string key, IPluginLog? pluginLog) where T : struct, IQuestDialogueText, IExcelRow { ReadOnlySeString? seString = dataManager.GetSeString(key); - if (!seString.HasValue) + int num = (seString.HasValue ? 532905786 : 532905785); + while (true) { - return null; + int num2 = num; + int num3 = 532905787; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0051; + case 1: + return seString.ToRegex(); + case 2: + return null; + } + continue; + IL_0051: + num = 532905785; } - return new Regex(string.Join("", seString.Select((ReadOnlySePayload payload) => (payload.Type == ReadOnlySePayloadType.Text) ? Regex.Escape(payload.ToString()) : "(.*)"))); } + [MethodImpl(MethodImplOptions.NoInlining)] public static ReadOnlySeString? GetSeString(this IDataManager dataManager, uint rowId, Func mapper) where T : struct, IExcelRow { - ArgumentNullException.ThrowIfNull(dataManager, "dataManager"); - ArgumentNullException.ThrowIfNull(mapper, "mapper"); + _202A_202A_206D_206A_206B_202B_206E_206F_206F_206A_202B_202E_206A_202E_202A_206A_206A_202C_200D_206C_206E_202B_202B_206E_200E_200F_200F_202D_206E_202B_202C_200B_206E_206D_202D_200E_202E_206A_200B_202C_202E((object)dataManager, global::_003CModule_003E._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(-1509101314)); + _202A_202A_206D_206A_206B_202B_206E_206F_206F_206A_202B_202E_206A_202E_202A_206A_206A_202C_200D_206C_206E_202B_202B_206E_200E_200F_200F_202D_206E_202B_202C_200B_206E_206D_202D_200E_202E_206A_200B_202C_202E((object)mapper, global::_003CModule_003E._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(1413795073)); T? rowOrDefault = dataManager.GetExcelSheet().GetRowOrDefault(rowId); - if (!rowOrDefault.HasValue) + int num = (rowOrDefault.HasValue ? 766901278 : 766901279); + while (true) { - return null; + int num2 = num; + int num3 = 766901278; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0086; + case 1: + return null; + case 0: + return mapper(rowOrDefault.Value); + } + continue; + IL_0086: + num = 766901279; } - return mapper(rowOrDefault.Value); } public static string? GetString(this IDataManager dataManager, uint rowId, Func mapper, IPluginLog? pluginLog = null) where T : struct, IExcelRow @@ -51,44 +220,188 @@ public static class DataManagerExtensions public static Regex? GetRegex(this IDataManager dataManager, uint rowId, Func mapper, IPluginLog? pluginLog = null) where T : struct, IExcelRow { ReadOnlySeString? seString = dataManager.GetSeString(rowId, mapper); - if (!seString.HasValue) + int num = (seString.HasValue ? (-1910871313) : (-1910871316)); + while (true) { - return null; + int num2 = num; + int num3 = -1910871314; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return seString.ToRegex(); + case 2: + return null; + case 0: + goto IL_005b; + } + continue; + IL_005b: + num = -1910871316; } - return seString.ToRegex(); } + [MethodImpl(MethodImplOptions.NoInlining)] public static Regex? GetRegex(this T excelRow, Func mapper, IPluginLog? pluginLog) where T : struct, IExcelRow { - ArgumentNullException.ThrowIfNull(mapper, "mapper"); + _202A_202A_206D_206A_206B_202B_206E_206F_206F_206A_202B_202E_206A_202E_202A_206A_206A_202C_200D_206C_206E_202B_202B_206E_200E_200F_200F_202D_206E_202B_202C_200B_206E_206D_202D_200E_202E_206A_200B_202C_202E((object)mapper, global::_003CModule_003E._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(211367094)); ReadOnlySeString? text = mapper(excelRow); - if (!text.HasValue) + int num = (text.HasValue ? 995158761 : 995158762); + while (true) { - return null; + int num2 = num; + int num3 = 995158760; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return text.ToRegex(); + case 2: + return null; + case 0: + goto IL_006a; + } + continue; + IL_006a: + num = 995158762; } - return text.ToRegex(); } + [MethodImpl(MethodImplOptions.NoInlining)] 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()) : "(.*)"))); + _202A_202A_206D_206A_206B_202B_206E_206F_206F_206A_202B_202E_206A_202E_202A_206A_206A_202C_200D_206C_206E_202B_202B_206E_200E_200F_200F_202D_206E_202B_202C_200B_206E_206D_202D_200E_202E_206A_200B_202C_202E((object)text, global::_003CModule_003E._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(782807675)); + return _206B_202D_202E_202A_206F_206D_202D_200D_202C_200E_200D_200D_206D_200B_202C_206F_202E_202A_206B_202A_202A_202C_202D_200E_200D_202D_200B_206A_206F_206F_206F_206E_202B_206F_200D_200F_200C_202A_200F_202E_202E(_200D_206D_200E_206E_202B_200C_202A_200D_206A_202D_206C_206C_200E_206E_202D_202D_200F_206D_202A_202D_200D_200F_200F_202E_200D_206F_202B_206F_202D_206D_206C_200B_206A_202B_206F_202A_206C_200C_206C_200C_202E(global::_003CModule_003E._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(-1158161199), text.Value.Select([MethodImpl(MethodImplOptions.NoInlining)] (ReadOnlySePayload payload) => + { + int num = ((payload.Type != ReadOnlySePayloadType.Text) ? 653215038 : 653215037); + while (true) + { + int num2 = num; + int num3 = 653215036; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0049; + case 2: + return global::_003CModule_003E._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(-1401261324); + case 1: + return _003C_003Ec._206E_200E_202D_206D_206F_200E_202C_206B_206E_202E_200D_200E_200F_200F_202D_206F_200B_202B_200B_200E_202E_206C_200C_202E_206A_200C_202E_200D_200D_206C_206C_206D_202A_202D_200B_206C_200C_200E_202C_202E(payload.ToString()); + } + continue; + IL_0049: + num = 653215037; + } + })), RegexOptions.Compiled); } + [MethodImpl(MethodImplOptions.NoInlining)] public static string WithCertainMacroCodeReplacements(this ReadOnlySeString text) { - return string.Join("", text.Select((ReadOnlySePayload payload) => payload.Type switch + return _200D_206D_200E_206E_202B_200C_202A_200D_206A_202D_206C_206C_200E_206E_202D_202D_200F_206D_202A_202D_200D_200F_200F_202E_200D_206F_202B_206F_202D_206D_206C_200B_206A_202B_206F_202A_206C_200C_206C_200C_202E(global::_003CModule_003E._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(336218591), text.Select([MethodImpl(MethodImplOptions.NoInlining)] (ReadOnlySePayload payload) => { - ReadOnlySePayloadType.Text => payload.ToString(), - ReadOnlySePayloadType.Macro => payload.MacroCode switch + ReadOnlySePayloadType type = payload.Type; + int num = ((type == ReadOnlySePayloadType.Text) ? 665720307 : 665720306); + MacroCode macroCode = default(MacroCode); + string result = default(string); + string text2 = default(string); + while (true) { - MacroCode.NewLine => Environment.NewLine, - MacroCode.NonBreakingSpace => " ", - MacroCode.Hyphen => "-", - MacroCode.SoftHyphen => "", - _ => payload.ToString(), - }, - _ => payload.ToString(), + int num2 = num; + int num3 = 665720319; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 15: + macroCode = payload.MacroCode; + num = ((macroCode > MacroCode.SoftHyphen) ? 665720311 : 665720310); + break; + case 5: + return result; + case 10: + text2 = global::_003CModule_003E._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(-1220250632); + num = 665720312; + break; + case 18: + num = 665720306; + break; + case 17: + num = ((macroCode == MacroCode.Hyphen) ? 665720309 : 665720318); + break; + case 4: + text2 = payload.ToString(); + num = 665720312; + break; + case 14: + text2 = global::_003CModule_003E._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(-581253858); + num = 665720312; + break; + case 0: + num = ((macroCode == MacroCode.SoftHyphen) ? 665720313 : 665720303); + break; + case 13: + num = ((type == ReadOnlySePayloadType.Macro) ? 665720304 : 665720308); + break; + case 12: + result = payload.ToString(); + num = 665720314; + break; + case 16: + num = 665720315; + break; + case 1: + num = 665720315; + break; + case 7: + result = text2; + num = 665720314; + break; + case 6: + text2 = global::_003CModule_003E._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(336218591); + num = 665720312; + break; + case 8: + num = ((macroCode == MacroCode.NonBreakingSpace) ? 665720305 : 665720302); + break; + case 2: + text2 = _003C_003Ec._202A_200D_200D_202A_200B_200E_202E_202C_200D_202D_202B_200F_202C_206A_202D_202A_206B_206C_200D_206B_206A_206B_206E_202B_202B_206C_206F_202A_206B_202B_202C_206F_200F_202B_202B_200C_202E_200B_202D_202C_202E(); + num = 665720312; + break; + case 11: + num = 665720316; + break; + case 9: + num = ((macroCode == MacroCode.NewLine) ? 665720317 : 665720319); + break; + case 3: + result = payload.ToString(); + num = 665720314; + break; + } + } })); } + + static void _202A_202A_206D_206A_206B_202B_206E_206F_206F_206A_202B_202E_206A_202E_202A_206A_206A_202C_200D_206C_206E_202B_202B_206E_200E_200F_200F_202D_206E_202B_202C_200B_206E_206D_202D_200E_202E_206A_200B_202C_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static string _200D_206D_200E_206E_202B_200C_202A_200D_206A_202D_206C_206C_200E_206E_202D_202D_200F_206D_202A_202D_200D_200F_200F_202E_200D_206F_202B_206F_202D_206D_206C_200B_206A_202B_206F_202A_206C_200C_206C_200C_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static Regex _206B_202D_202E_202A_206F_206D_202D_200D_202C_200E_200D_200D_206D_200B_202C_206F_202E_202A_206B_202A_202A_202C_202D_200E_200D_202D_200B_206A_206F_206F_206F_206E_202B_206F_200D_200F_200C_202A_200F_202E_202E(string P_0, RegexOptions P_1) + { + return new Regex(P_0, P_1); + } } diff --git a/LLib/LLib/PluginInstallState.cs b/LLib/LLib/PluginInstallState.cs new file mode 100644 index 00000000..b15fe084 --- /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 00000000..7993c108 --- /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 00000000..ac33438a --- /dev/null +++ b/LLib/LLib/PluginInstaller.cs @@ -0,0 +1,1073 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Threading.Tasks; +using Dalamud.Plugin; +using Dalamud.Plugin.Services; + +namespace LLib; + +public sealed class PluginInstaller : IDisposable +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass12_0 + { + public string internalName; + + internal bool _003CTryInstall_003Eb__0(IExposedPlugin p) + { + return _200E_206C_206B_206D_202E_202E_200B_206E_206F_206A_206B_202B_200E_206A_200C_202A_206A_202A_200B_206C_206A_200C_202E_206B_202C_202B_206B_206B_206E_202A_206B_202B_206C_206D_206D_200F_202D_202D_202A_206D_202E(_200E_202E_202B_206F_206B_206F_202D_200E_206D_206D_206A_202A_202D_200B_200C_202D_200E_200B_200D_206C_200E_202E_206F_202D_202A_202D_200E_206E_200C_206B_200B_206D_200D_206C_200E_200F_200D_206B_200F_206E_202E(p), internalName); + } + + static string _200E_202E_202B_206F_206B_206F_202D_200E_206D_206D_206A_202A_202D_200B_200C_202D_200E_200B_200D_206C_200E_202E_206F_202D_202A_202D_200E_206E_200C_206B_200B_206D_200D_206C_200E_200F_200D_206B_200F_206E_202E(IExposedPlugin P_0) + { + return P_0.InternalName; + } + + static bool _200E_206C_206B_206D_202E_202E_200B_206E_206F_206A_206B_202B_200E_206A_200C_202A_206A_202A_200B_206C_206A_200C_202E_206B_202C_202B_206B_206B_206E_202A_206B_202B_206C_206D_206D_200F_202D_202D_202A_206D_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass13_0 + { + public string internalName; + + public string thirdPartyRepoUrl; + + public IReadOnlyList aliases; + + internal bool _003CTryEnable_003Eb__0(IExposedPlugin p) + { + return _202D_200B_202B_202B_202E_200B_202C_200B_200C_206C_206E_206D_206C_206B_202A_202E_206C_202D_202D_200F_202D_200C_202E_200E_206D_206C_202D_202E_200E_206C_206A_200B_206F_202D_202E_202D_202B_206D_200E_206D_202E(_202E_202E_202A_206F_200C_200E_200F_200D_202A_200C_206E_200D_206F_206E_206E_200F_206B_202C_202B_206B_206C_202E_202E_202E_202B_206B_206E_200F_200E_206F_206C_206D_202E_202A_202B_202B_202E_206B_202B_202E_202E(p), internalName); + } + + internal bool _003CTryEnable_003Eb__1(IExposedPlugin p) + { + return MatchesRepo(p, thirdPartyRepoUrl, aliases); + } + + static string _202E_202E_202A_206F_200C_200E_200F_200D_202A_200C_206E_200D_206F_206E_206E_200F_206B_202C_202B_206B_206C_202E_202E_202E_202B_206B_206E_200F_200E_206F_206C_206D_202E_202A_202B_202B_202E_206B_202B_202E_202E(IExposedPlugin P_0) + { + return P_0.InternalName; + } + + static bool _202D_200B_202B_202B_202E_200B_202C_200B_200C_206C_206E_206D_206C_206B_202A_202E_206C_202D_202D_200F_202D_200C_202E_200E_206D_206C_202D_202E_200E_206C_206A_200B_206F_202D_202E_202D_202B_206D_200E_206D_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass14_0 + { + public PluginInstaller _003C_003E4__this; + + public PluginInstallState state; + + public string name; + + public string repoOrNull; + + public IReadOnlyList aliases; + + public Func _003C_003E9__1; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal void _003CDispose_003Eb__0(Task t) + { + try + { + int num = ((!_200E_200D_200C_202E_206F_200F_202B_206B_202C_200F_202E_200E_202C_206C_206B_206C_200F_200F_206F_206E_206C_200D_202B_202B_206B_206B_206E_206F_202D_200E_206B_200B_206F_206E_202A_200C_200F_200D_202A_202B_202E((Task)t)) ? 301551005 : 301551002); + while (true) + { + int num2 = num; + int num3 = 301551003; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 301551002; + break; + case 3: + num = ((!t.Result) ? 301551006 : 301551007); + break; + case 5: + if (_206E_202C_200E_200F_202B_206D_206C_200E_202B_206D_200E_206C_202D_206A_206B_206F_206E_206E_200C_206B_200B_206F_206D_202A_202B_202B_206C_202B_200D_202A_200F_200B_206F_206B_202A_200F_202E_206B_200B_206E_202E((Task)t)) + { + num = 301551001; + break; + } + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = global::_003CModule_003E._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(636778409); + return; + case 4: + state.Status = PluginInstallStatus.Succeeded; + state.ErrorMessage = null; + return; + case 1: + { + AggregateException ex = _206D_200E_206C_202C_202A_206C_202B_206A_202C_202B_206C_202D_206B_206B_206D_202E_200F_202D_200F_202A_200E_200F_200B_206E_206B_206E_200B_206D_202C_206F_200F_202B_206A_202B_202E_206D_202C_200E_202A_200C_202E((Task)t); + Exception ex2 = ((ex != null) ? _200C_202C_206A_206E_202E_200B_206F_200B_200E_206C_200B_200B_206F_206C_206D_200F_202A_202B_200E_200E_200C_200B_206E_206B_200D_206D_202C_200F_206C_206E_202D_206C_202B_206B_202C_200F_200C_202D_202E_206B_202E((Exception)ex) : null); + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = ((ex2 != null) ? _200C_200B_202E_200D_206C_200E_202E_200E_200B_202B_202C_206C_206C_200E_206E_206F_202E_200F_206A_206E_206F_200C_206C_202C_202E_200D_206F_206E_202D_202E_202C_202C_202E_202A_202D_200C_202C_206D_206C_206A_202E(ex2) : null) ?? global::_003CModule_003E._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(591139344); + _206E_206C_202D_202D_202D_200F_200B_200F_200B_200F_206C_200B_200D_202E_206C_206A_202C_200B_202E_206F_206B_206F_200D_206D_200C_206A_206E_200B_200D_200B_202B_206F_202A_202C_202A_206C_206A_200F_200E_202B_202E(_003C_003E4__this._log, ex2, _200B_206A_202A_202B_202E_202B_206F_200C_206C_206E_202C_200E_200D_206A_202B_200C_202B_206B_206A_206F_206A_200E_200B_202C_206D_200C_206F_206C_200D_206E_206B_202C_202D_206E_200C_202C_202A_206A_206F_202A_202E(global::_003CModule_003E._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(1519518124), name, global::_003CModule_003E._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(-977292932)), Array.Empty()); + return; + } + case 6: + num = ((!_206E_202C_200E_200F_202B_206D_206C_200E_202B_206D_200E_206C_202D_206A_206B_206F_206E_206E_200C_206B_200B_206F_206D_202A_202B_202B_206C_202B_200D_202A_200F_200B_206F_206B_202A_200F_202E_206B_200B_206E_202E((Task)t)) ? 301551006 : 301551000); + break; + case 2: + { + bool flag = false; + try + { + flag = _202A_200B_200C_200F_206B_200F_206B_206A_202A_202C_206B_206F_206E_200C_200E_200F_202E_202B_206A_200F_206D_202E_200C_206C_206C_202C_200B_206B_202A_200C_200C_206D_202D_200D_206B_206B_202E_200B_202B_202E(_003C_003E4__this._pluginInterface).Any(delegate(IExposedPlugin p) + { + int num7 = ((!_206B_206D_206D_206E_206A_206F_206A_202D_202B_202D_206A_202A_206E_200E_202C_200D_200F_202C_206D_202D_200C_206C_206A_206D_206C_202A_200E_206F_202B_200C_206F_202D_206A_206A_206B_202E_206A_206D_202C_202C_202E(_206E_200E_206C_202C_202C_206F_200E_200F_200F_202E_202E_202C_200E_202C_202C_206C_200C_200F_202A_202A_200B_206E_206E_206A_202C_200F_202B_202C_206C_202C_200B_202B_206D_200F_202A_202D_206A_202C_206C_202E_202E(p), name)) ? (-1300118370) : (-1300118369)); + while (true) + { + int num8 = num7; + int num9 = -1300118370; + int num10 = num8; + switch ((num10 | num9) - (num10 & num9)) + { + case 2: + goto IL_0051; + case 0: + return false; + case 1: + return MatchesRepo(p, repoOrNull, aliases); + } + continue; + IL_0051: + num7 = -1300118369; + } + }); + } + catch + { + } + state.Status = (flag ? PluginInstallStatus.Succeeded : PluginInstallStatus.Failed); + state.ErrorMessage = (flag ? null : global::_003CModule_003E._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(-2084381224)); + return; + } + } + } + } + catch + { + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = global::_003CModule_003E._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(-1428532838); + } + } + + internal bool _003CDispose_003Eb__1(IExposedPlugin p) + { + int num = ((!_206B_206D_206D_206E_206A_206F_206A_202D_202B_202D_206A_202A_206E_200E_202C_200D_200F_202C_206D_202D_200C_206C_206A_206D_206C_202A_200E_206F_202B_200C_206F_202D_206A_206A_206B_202E_206A_206D_202C_202C_202E(_206E_200E_206C_202C_202C_206F_200E_200F_200F_202E_202E_202C_200E_202C_202C_206C_200C_200F_202A_202A_200B_206E_206E_206A_202C_200F_202B_202C_206C_202C_200B_202B_206D_200F_202A_202D_206A_202C_206C_202E_202E(p), name)) ? (-1300118370) : (-1300118369)); + while (true) + { + int num2 = num; + int num3 = -1300118370; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0051; + case 0: + return false; + case 1: + return MatchesRepo(p, repoOrNull, aliases); + } + continue; + IL_0051: + num = -1300118369; + } + } + + static bool _200E_200D_200C_202E_206F_200F_202B_206B_202C_200F_202E_200E_202C_206C_206B_206C_200F_200F_206F_206E_206C_200D_202B_202B_206B_206B_206E_206F_202D_200E_206B_200B_206F_206E_202A_200C_200F_200D_202A_202B_202E(Task P_0) + { + return P_0.IsFaulted; + } + + static AggregateException _206D_200E_206C_202C_202A_206C_202B_206A_202C_202B_206C_202D_206B_206B_206D_202E_200F_202D_200F_202A_200E_200F_200B_206E_206B_206E_200B_206D_202C_206F_200F_202B_206A_202B_202E_206D_202C_200E_202A_200C_202E(Task P_0) + { + return P_0.Exception; + } + + static Exception _200C_202C_206A_206E_202E_200B_206F_200B_200E_206C_200B_200B_206F_206C_206D_200F_202A_202B_200E_200E_200C_200B_206E_206B_200D_206D_202C_200F_206C_206E_202D_206C_202B_206B_202C_200F_200C_202D_202E_206B_202E(Exception P_0) + { + return P_0.GetBaseException(); + } + + static string _200C_200B_202E_200D_206C_200E_202E_200E_200B_202B_202C_206C_206C_200E_206E_206F_202E_200F_206A_206E_206F_200C_206C_202C_202E_200D_206F_206E_202D_202E_202C_202C_202E_202A_202D_200C_202C_206D_206C_206A_202E(Exception P_0) + { + return P_0.Message; + } + + static string _200B_206A_202A_202B_202E_202B_206F_200C_206C_206E_202C_200E_200D_206A_202B_200C_202B_206B_206A_206F_206A_200E_200B_202C_206D_200C_206F_206C_200D_206E_206B_202C_202D_206E_200C_202C_202A_206A_206F_202A_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _206E_206C_202D_202D_202D_200F_200B_200F_200B_200F_206C_200B_200D_202E_206C_206A_202C_200B_202E_206F_206B_206F_200D_206D_200C_206A_206E_200B_200D_200B_202B_206F_202A_202C_202A_206C_206A_200F_200E_202B_202E(IPluginLog P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.Error(P_1, P_2, P_3); + } + + static bool _206E_202C_200E_200F_202B_206D_206C_200E_202B_206D_200E_206C_202D_206A_206B_206F_206E_206E_200C_206B_200B_206F_206D_202A_202B_202B_206C_202B_200D_202A_200F_200B_206F_206B_202A_200F_202E_206B_200B_206E_202E(Task P_0) + { + return P_0.IsCompletedSuccessfully; + } + + static IEnumerable _202A_200B_200C_200F_206B_200F_206B_206A_202A_202C_206B_206F_206E_200C_200E_200F_202E_202B_206A_200F_206D_202E_200C_206C_206C_202C_200B_206B_202A_200C_200C_206D_202D_200D_206B_206B_202E_200B_202B_202E(IDalamudPluginInterface P_0) + { + return P_0.InstalledPlugins; + } + + static string _206E_200E_206C_202C_202C_206F_200E_200F_200F_202E_202E_202C_200E_202C_202C_206C_200C_200F_202A_202A_200B_206E_206E_206A_202C_200F_202B_202C_206C_202C_200B_202B_206D_200F_202A_202D_206A_202C_206C_202E_202E(IExposedPlugin P_0) + { + return P_0.InternalName; + } + + static bool _206B_206D_206D_206E_206A_206F_206A_202D_202B_202D_206A_202A_206E_200E_202C_200D_200F_202C_206D_202D_200C_206C_206A_206D_206C_202A_200E_206F_202B_200C_206F_202D_206A_206A_206B_202E_206A_206D_202C_202C_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass15_0 + { + public string name; + + public string repoOrNull; + + public IReadOnlyList aliases; + + internal bool _003COnFrameworkUpdate_003Eb__0(IExposedPlugin p) + { + int num = ((!_202B_206F_206F_200E_202D_200F_200C_206D_202D_200D_206B_202E_200D_206D_200E_206D_200C_202B_200C_200B_200B_206D_200B_200C_206D_202A_200C_200C_206C_206B_206E_202D_206C_206A_200E_206A_202E_202B_206E_202A_202E(_200E_202B_202A_206A_202E_202C_200C_206E_202B_206F_200C_200B_206B_206B_202E_202A_206C_200B_206D_206F_200B_206A_202B_206F_206B_200F_202D_200E_202A_206D_206F_200C_206A_200F_200C_200E_206F_206D_206B_206A_202E(p), name)) ? 1406489619 : 1406489616); + while (true) + { + int num2 = num; + int num3 = 1406489617; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0051; + case 2: + return false; + case 1: + return MatchesRepo(p, repoOrNull, aliases); + } + continue; + IL_0051: + num = 1406489616; + } + } + + static string _200E_202B_202A_206A_202E_202C_200C_206E_202B_206F_200C_200B_206B_206B_202E_202A_206C_200B_206D_206F_200B_206A_202B_206F_206B_200F_202D_200E_202A_206D_206F_200C_206A_200F_200C_200E_206F_206D_206B_206A_202E(IExposedPlugin P_0) + { + return P_0.InternalName; + } + + static bool _202B_206F_206F_200E_202D_200F_200C_206D_202D_200D_206B_202E_200D_206D_200E_206D_200C_202B_200C_200B_200B_206D_200B_200C_206D_202A_200C_200C_206C_206B_206E_202D_206C_206A_200E_206A_202E_202B_206E_202A_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + } + + 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; + + [MethodImpl(MethodImplOptions.NoInlining)] + public PluginInstaller(DalamudReflector reflector, IFramework framework, IPluginLog log, IDalamudPluginInterface pluginInterface) + { + _206D_202C_200F_200F_202A_206B_206B_206E_200F_206E_202B_200C_202D_200F_206E_202C_206E_202D_200F_202D_200C_206F_206F_206E_206C_202A_200B_200F_202A_202D_200B_206C_206E_200E_200C_202A_206D_202B_206A_200D_202E((object)reflector, global::_003CModule_003E._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(657626286)); + _206D_202C_200F_200F_202A_206B_206B_206E_200F_206E_202B_200C_202D_200F_206E_202C_206E_202D_200F_202D_200C_206F_206F_206E_206C_202A_200B_200F_202A_202D_200B_206C_206E_200E_200C_202A_206D_202B_206A_200D_202E((object)framework, global::_003CModule_003E._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(-1938330958)); + _206D_202C_200F_200F_202A_206B_206B_206E_200F_206E_202B_200C_202D_200F_206E_202C_206E_202D_200F_202D_200C_206F_206F_206E_206C_202A_200B_200F_202A_202D_200B_206C_206E_200E_200C_202A_206D_202B_206A_200D_202E((object)log, global::_003CModule_003E._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(-1367271174)); + _206D_202C_200F_200F_202A_206B_206B_206E_200F_206E_202B_200C_202D_200F_206E_202C_206E_202D_200F_202D_200C_206F_206F_206E_206C_202A_200B_200F_202A_202D_200B_206C_206E_200E_200C_202A_206D_202B_206A_200D_202E((object)pluginInterface, global::_003CModule_003E._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(766607579)); + _reflector = reflector; + _framework = framework; + _log = log; + _pluginInterface = pluginInterface; + } + + public PluginInstallState GetState(string internalName, string? thirdPartyRepoUrl) + { + (string, string) key = (internalName, thirdPartyRepoUrl ?? string.Empty); + PluginInstallState value; + int num = (_states.TryGetValue(key, out value) ? (-539873295) : (-539873294)); + while (true) + { + int num2 = num; + int num3 = -539873296; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -539873294; + break; + case 2: + value = new PluginInstallState(); + _states[key] = value; + num = -539873295; + break; + case 1: + return value; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool TryInstall(string internalName, string? thirdPartyRepoUrl, IReadOnlyList? aliases = null) + { + int num = ((!_currentOperation.HasValue) ? (-1204487385) : (-1204487387)); + PluginInstallState state = default(PluginInstallState); + IExposedPlugin exposedPlugin = default(IExposedPlugin); + while (true) + { + int num2 = num; + int num3 = -1204487391; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1204487387; + break; + case 5: + return true; + case 6: + state = GetState(internalName, thirdPartyRepoUrl); + exposedPlugin = _206B_202B_202E_200D_200D_202B_202C_200E_202E_202D_200E_206A_206E_202B_200E_200D_202D_200C_206D_200F_200F_202E_200E_202E_202B_202E_202A_206A_206F_206D_202E_206F_202C_200D_206E_200F_206A_206D_202E_200C_202E(_pluginInterface).FirstOrDefault((IExposedPlugin p) => _003C_003Ec__DisplayClass12_0._200E_206C_206B_206D_202E_202E_200B_206E_206F_206A_206B_202B_200E_206A_200C_202A_206A_202A_200B_206C_206A_200C_202E_206B_202C_202B_206B_206B_206E_202A_206B_202B_206C_206D_206D_200F_202D_202D_202A_206D_202E(_003C_003Ec__DisplayClass12_0._200E_202E_202B_206F_206B_206F_202D_200E_206D_206D_206A_202A_202D_200B_200C_202D_200E_200B_200D_206C_200E_202E_206F_202D_202A_202D_200E_206E_200C_206B_200B_206D_200D_206C_200E_200F_200D_206B_200F_206E_202E(p), internalName)); + num = ((exposedPlugin == null) ? (-1204487389) : (-1204487392)); + break; + case 3: + _202A_200C_200E_200E_200F_206B_206E_202C_200D_200B_206F_206E_206C_200B_202C_200C_200B_206F_202D_206D_202D_200D_206E_202A_202B_206A_200B_200E_206A_202D_202A_206A_206B_206E_206D_200F_206F_200C_202A_200F_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); + _frameworkHooked = true; + num = -1204487388; + break; + case 2: + state.Status = PluginInstallStatus.InProgress; + state.ErrorMessage = null; + _currentOperation = (internalName, thirdPartyRepoUrl ?? string.Empty, aliases); + _installTask = _reflector.AddPluginAsync(internalName, thirdPartyRepoUrl, aliases); + num = (_frameworkHooked ? (-1204487388) : (-1204487390)); + break; + case 4: + return false; + case 1: + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = (_200B_206A_202C_206D_206C_200D_200E_206E_200D_202C_200C_206D_202C_206A_202C_206D_202D_200E_202E_206B_200B_202B_200E_200E_206B_200C_200B_206C_202B_200D_206B_206C_206F_206D_202C_206E_202A_202E_206F_206F_202E(exposedPlugin) ? global::_003CModule_003E._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(879990026) : global::_003CModule_003E._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(-776183824)); + return false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool TryEnable(string internalName, string? thirdPartyRepoUrl, IReadOnlyList? aliases = null) + { + int num = ((!_currentOperation.HasValue) ? (-1761587597) : (-1761587599)); + PluginInstallState state = default(PluginInstallState); + List list = default(List); + IExposedPlugin exposedPlugin = default(IExposedPlugin); + while (true) + { + int num2 = num; + int num3 = -1761587600; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + object obj; + switch (num5 - (num6 + num6)) + { + case 0: + return true; + case 6: + _202A_200C_200E_200E_200F_206B_206E_202C_200D_200B_206F_206E_206C_200B_202C_200C_200B_206F_202D_206D_202D_200D_206E_202A_202B_206A_200B_200E_206A_202D_202A_206A_206B_206E_206D_200F_206F_200C_202A_200F_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); + _frameworkHooked = true; + num = -1761587600; + break; + case 7: + state.Status = PluginInstallStatus.Succeeded; + state.ErrorMessage = null; + return false; + case 10: + num = -1761587599; + break; + case 2: + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = ((list.Count == 0) ? global::_003CModule_003E._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(-1598187262) : global::_003CModule_003E._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(94861650)); + return false; + case 8: + obj = list[0]; + goto IL_0113; + case 9: + state.Status = PluginInstallStatus.InProgress; + state.ErrorMessage = null; + _currentOperation = (internalName, thirdPartyRepoUrl ?? string.Empty, aliases); + _installTask = _reflector.EnablePluginAsync(internalName, thirdPartyRepoUrl, aliases); + num = (_frameworkHooked ? (-1761587600) : (-1761587594)); + break; + case 5: + num = ((!_200B_206A_202C_206D_206C_200D_200E_206E_200D_202C_200C_206D_202C_206A_202C_206D_202D_200E_202E_206B_200B_202B_200E_200E_206B_200C_200B_206C_202B_200D_206B_206C_206F_206D_202C_206E_202A_202E_206F_206F_202E(exposedPlugin)) ? (-1761587591) : (-1761587593)); + break; + case 3: + state = GetState(internalName, thirdPartyRepoUrl); + list = (from p in _206B_202B_202E_200D_200D_202B_202C_200E_202E_202D_200E_206A_206E_202B_200E_200D_202D_200C_206D_200F_200F_202E_200E_202E_202B_202E_202A_206A_206F_206D_202E_206F_202C_200D_206E_200F_206A_206D_202E_200C_202E(_pluginInterface) + where _003C_003Ec__DisplayClass13_0._202D_200B_202B_202B_202E_200B_202C_200B_200C_206C_206E_206D_206C_206B_202A_202E_206C_202D_202D_200F_202D_200C_202E_200E_206D_206C_202D_202E_200E_206C_206A_200B_206F_202D_202E_202D_202B_206D_200E_206D_202E(_003C_003Ec__DisplayClass13_0._202E_202E_202A_206F_200C_200E_200F_200D_202A_200C_206E_200D_206F_206E_206E_200F_206B_202C_202B_206B_206C_202E_202E_202E_202B_206B_206E_200F_200E_206F_206C_206D_202E_202A_202B_202B_202E_206B_202B_202E_202E(p), internalName) + select p).ToList(); + obj = list.FirstOrDefault((IExposedPlugin p) => MatchesRepo(p, thirdPartyRepoUrl, aliases)); + if (obj == null) + { + num = ((list.Count == 1) ? (-1761587592) : (-1761587596)); + break; + } + goto IL_0113; + case 1: + return false; + case 4: + { + obj = null; + goto IL_0113; + } + IL_0113: + exposedPlugin = (IExposedPlugin)obj; + num = ((exposedPlugin != null) ? (-1761587595) : (-1761587598)); + break; + } + } + } + + public void Dispose() + { + Task installTask = _installTask; + (string, string, IReadOnlyList)? currentOperation = _currentOperation; + int num = ((installTask == null) ? 1286770811 : 1286770810); + string name; + IReadOnlyList aliases; + string repoOrNull; + PluginInstallState state; + while (true) + { + int num2 = num; + int num3 = 1286770811; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 1286770810; + break; + case 0: + ClearCurrent(); + return; + case 1: + num = ((!currentOperation.HasValue) ? 1286770811 : 1286770809); + break; + case 2: + { + (string, string, IReadOnlyList) value = currentOperation.Value; + name = value.Item1; + string item = value.Item2; + aliases = value.Item3; + repoOrNull = ((_202A_200D_206F_200D_206E_202C_206D_200D_202E_206B_206E_202A_200E_206C_200F_206F_202A_202E_206C_202A_202C_200F_206A_206A_202B_200E_200F_200B_202B_202E_206B_200F_202D_202E_200E_200E_206C_202C_200B_200E_202E(item) == 0) ? null : item); + state = GetState(name, repoOrNull); + installTask.ContinueWith([MethodImpl(MethodImplOptions.NoInlining)] (Task t) => + { + try + { + int num7 = ((!_003C_003Ec__DisplayClass14_0._200E_200D_200C_202E_206F_200F_202B_206B_202C_200F_202E_200E_202C_206C_206B_206C_200F_200F_206F_206E_206C_200D_202B_202B_206B_206B_206E_206F_202D_200E_206B_200B_206F_206E_202A_200C_200F_200D_202A_202B_202E((Task)t)) ? 301551005 : 301551002); + while (true) + { + int num8 = num7; + int num9 = 301551003; + int num10 = num8; + int num11 = num10 + num9; + int num12 = num10 & num9; + switch (num11 - (num12 + num12)) + { + case 0: + num7 = 301551002; + break; + case 3: + num7 = ((!t.Result) ? 301551006 : 301551007); + break; + case 5: + if (!_003C_003Ec__DisplayClass14_0._206E_202C_200E_200F_202B_206D_206C_200E_202B_206D_200E_206C_202D_206A_206B_206F_206E_206E_200C_206B_200B_206F_206D_202A_202B_202B_206C_202B_200D_202A_200F_200B_206F_206B_202A_200F_202E_206B_200B_206E_202E((Task)t)) + { + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = global::_003CModule_003E._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(636778409); + return; + } + num7 = 301551001; + break; + case 4: + state.Status = PluginInstallStatus.Succeeded; + state.ErrorMessage = null; + return; + case 1: + { + AggregateException ex = _003C_003Ec__DisplayClass14_0._206D_200E_206C_202C_202A_206C_202B_206A_202C_202B_206C_202D_206B_206B_206D_202E_200F_202D_200F_202A_200E_200F_200B_206E_206B_206E_200B_206D_202C_206F_200F_202B_206A_202B_202E_206D_202C_200E_202A_200C_202E((Task)t); + Exception ex2 = ((ex != null) ? _003C_003Ec__DisplayClass14_0._200C_202C_206A_206E_202E_200B_206F_200B_200E_206C_200B_200B_206F_206C_206D_200F_202A_202B_200E_200E_200C_200B_206E_206B_200D_206D_202C_200F_206C_206E_202D_206C_202B_206B_202C_200F_200C_202D_202E_206B_202E((Exception)ex) : null); + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = ((ex2 != null) ? _003C_003Ec__DisplayClass14_0._200C_200B_202E_200D_206C_200E_202E_200E_200B_202B_202C_206C_206C_200E_206E_206F_202E_200F_206A_206E_206F_200C_206C_202C_202E_200D_206F_206E_202D_202E_202C_202C_202E_202A_202D_200C_202C_206D_206C_206A_202E(ex2) : null) ?? global::_003CModule_003E._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(591139344); + _003C_003Ec__DisplayClass14_0._206E_206C_202D_202D_202D_200F_200B_200F_200B_200F_206C_200B_200D_202E_206C_206A_202C_200B_202E_206F_206B_206F_200D_206D_200C_206A_206E_200B_200D_200B_202B_206F_202A_202C_202A_206C_206A_200F_200E_202B_202E(_log, ex2, _003C_003Ec__DisplayClass14_0._200B_206A_202A_202B_202E_202B_206F_200C_206C_206E_202C_200E_200D_206A_202B_200C_202B_206B_206A_206F_206A_200E_200B_202C_206D_200C_206F_206C_200D_206E_206B_202C_202D_206E_200C_202C_202A_206A_206F_202A_202E(global::_003CModule_003E._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(1519518124), name, global::_003CModule_003E._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(-977292932)), Array.Empty()); + return; + } + case 6: + num7 = ((!_003C_003Ec__DisplayClass14_0._206E_202C_200E_200F_202B_206D_206C_200E_202B_206D_200E_206C_202D_206A_206B_206F_206E_206E_200C_206B_200B_206F_206D_202A_202B_202B_206C_202B_200D_202A_200F_200B_206F_206B_202A_200F_202E_206B_200B_206E_202E((Task)t)) ? 301551006 : 301551000); + break; + case 2: + { + bool flag = false; + try + { + flag = _003C_003Ec__DisplayClass14_0._202A_200B_200C_200F_206B_200F_206B_206A_202A_202C_206B_206F_206E_200C_200E_200F_202E_202B_206A_200F_206D_202E_200C_206C_206C_202C_200B_206B_202A_200C_200C_206D_202D_200D_206B_206B_202E_200B_202B_202E(_pluginInterface).Any(delegate(IExposedPlugin p) + { + int num13 = ((!_003C_003Ec__DisplayClass14_0._206B_206D_206D_206E_206A_206F_206A_202D_202B_202D_206A_202A_206E_200E_202C_200D_200F_202C_206D_202D_200C_206C_206A_206D_206C_202A_200E_206F_202B_200C_206F_202D_206A_206A_206B_202E_206A_206D_202C_202C_202E(_003C_003Ec__DisplayClass14_0._206E_200E_206C_202C_202C_206F_200E_200F_200F_202E_202E_202C_200E_202C_202C_206C_200C_200F_202A_202A_200B_206E_206E_206A_202C_200F_202B_202C_206C_202C_200B_202B_206D_200F_202A_202D_206A_202C_206C_202E_202E(p), name)) ? (-1300118370) : (-1300118369)); + while (true) + { + int num14 = num13; + int num15 = -1300118370; + int num16 = num14; + switch ((num16 | num15) - (num16 & num15)) + { + case 2: + goto IL_0051; + case 0: + return false; + case 1: + return MatchesRepo(p, repoOrNull, aliases); + } + continue; + IL_0051: + num13 = -1300118369; + } + }); + } + catch + { + } + state.Status = (flag ? PluginInstallStatus.Succeeded : PluginInstallStatus.Failed); + state.ErrorMessage = (flag ? null : global::_003CModule_003E._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(-2084381224)); + return; + } + } + } + } + catch + { + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = global::_003CModule_003E._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(-1428532838); + } + }, _200D_200D_206B_200F_200F_200D_206C_200D_200D_202B_206F_200B_202B_202B_202A_200F_206B_202B_206B_202C_200B_200D_206A_206A_202B_200B_202D_206F_200C_200C_202D_200C_202D_200B_202D_202A_206D_206E_202D_202A_202E()); + num = 1286770811; + break; + } + } + } + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void OnFrameworkUpdate(IFramework framework) + { + Task installTask = _installTask; + (string, string, IReadOnlyList)? currentOperation = _currentOperation; + int num = ((installTask == null) ? (-20087938) : (-20087941)); + Exception ex2 = default(Exception); + string name = default(string); + IReadOnlyList aliases = default(IReadOnlyList); + string repoOrNull = default(string); + PluginInstallState state = default(PluginInstallState); + while (true) + { + int num2 = num; + int num3 = -20087938; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + object obj; + string errorMessage; + switch (num5 - (num6 + num6)) + { + case 6: + num = -20087941; + break; + case 7: + obj = _202E_206A_200F_206A_206B_200D_202D_202D_206A_202E_200E_206D_200E_202B_206C_206C_202A_200B_206E_206D_202D_206C_200F_202A_200C_206E_206F_200C_206A_206D_200C_202D_206B_206D_200D_202E_200C_206F_200D_202C_202E(ex2); + goto IL_008f; + case 0: + return; + case 8: + obj = null; + goto IL_008f; + case 9: + num = (_206B_206F_206E_206A_200D_202B_200B_202D_206E_200E_202B_200D_200E_200D_202C_202E_206D_206C_202E_200D_200E_202D_202B_200E_202E_202C_206C_206B_202B_206B_200E_200F_206B_206E_206D_200B_202E_206E_206A_206B_202E((Task)installTask) ? (-20087942) : (-20087939)); + break; + case 4: + { + (string, string, IReadOnlyList) value = currentOperation.Value; + name = value.Item1; + string item = value.Item2; + aliases = value.Item3; + repoOrNull = ((_202A_200D_206F_200D_206E_202C_206D_200D_202E_206B_206E_202A_200E_206C_200F_206F_202A_202E_206C_202A_202C_200F_206A_206A_202B_200E_200F_200B_202B_202E_206B_200F_202D_202E_200E_200E_206C_202C_200B_200E_202E(item) == 0) ? null : item); + state = GetState(name, repoOrNull); + num = ((!_202D_202D_202D_202B_206B_200D_202E_200C_202E_202D_200F_200B_202B_200E_206F_206C_206F_202D_200D_200F_202C_202B_200B_200D_202E_202A_202A_202D_200B_206B_200B_206B_202B_206A_200C_200E_200B_200E_200E_200C_202E((Task)installTask)) ? (-20087937) : (-20087940)); + break; + } + case 3: + return; + case 2: + { + AggregateException ex3 = _202B_202C_202E_200E_206A_202C_200C_206F_206F_206E_200D_200B_206D_206B_202C_202D_206C_202A_206D_202B_206D_202C_202C_202A_202A_200F_200C_200D_206D_200F_202B_200E_200E_206E_202C_206F_202E_206A_202B_206E_202E((Task)installTask); + ex2 = ((ex3 != null) ? _202D_200B_200C_202D_206A_202D_200C_202E_202A_200F_200B_200D_206B_200B_206B_200B_200E_206A_200D_200B_202B_206C_200E_202D_206B_202E_200B_202B_202C_202D_206A_200D_206A_200F_200B_206C_206F_206D_202A_206E_202E((Exception)ex3) : null); + num = ((ex2 != null) ? (-20087943) : (-20087946)); + break; + } + case 5: + num = (currentOperation.HasValue ? (-20087945) : (-20087938)); + break; + case 1: + { + bool result; + try + { + result = installTask.Result; + } + catch (Exception ex) + { + _200D_206A_202C_200C_202B_200F_202E_200B_202C_206B_200F_200B_206F_206F_200C_200D_206A_202C_202D_202D_206D_200C_200C_206C_202D_200F_200E_200F_206B_200F_200C_206E_200B_206C_202B_202B_200E_206E_206E_206B_202E(_log, ex, _202E_200C_200C_200C_200D_200B_206E_206B_206A_202D_200D_202C_206D_202E_202E_206F_206E_206F_202A_202E_202C_206C_206D_206A_202E_200B_206E_200F_200C_200E_202E_202E_200C_202D_202A_202B_202E_202A_202A_202E(global::_003CModule_003E._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(154304713), name, global::_003CModule_003E._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(-1085586749)), Array.Empty()); + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = _202E_206A_200F_206A_206B_200D_202D_202D_206A_202E_200E_206D_200E_202B_206C_206C_202A_200B_206E_206D_202D_206C_200F_202A_200C_206E_206F_200C_206A_206D_200C_202D_206B_206D_200D_202E_200C_206F_200D_202C_202E(ex); + ClearCurrent(); + return; + } + num = ((!result) ? (-2093940265) : (-2093940272)); + while (true) + { + int num7 = num; + num3 = -2093940269; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -2093940272; + break; + case 2: + _206F_202D_206B_202B_206D_206F_206A_206F_206D_200C_200B_206E_206B_200F_200D_206B_200C_200C_206E_202C_202D_200E_206B_202A_200C_200E_202D_202B_206A_200F_206F_202B_200B_206D_206C_206D_200E_206B_206E_202D_202E(_log, _202E_200C_200C_200C_200D_200B_206E_206B_206A_202D_200D_202C_206D_202E_202E_206F_206E_206F_202A_202E_202C_206C_206D_206A_202E_200B_206E_200F_200C_200E_202E_202E_200C_202D_202A_202B_202E_202A_202A_202E(global::_003CModule_003E._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(-1975449291), name, global::_003CModule_003E._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(66532366)), Array.Empty()); + state.Status = PluginInstallStatus.Succeeded; + state.ErrorMessage = null; + ClearCurrent(); + return; + case 4: + num = ((!_206B_202B_202E_200D_200D_202B_202C_200E_202E_202D_200E_206A_206E_202B_200E_200D_202D_200C_206D_200F_200F_202E_200E_202E_202B_202E_202A_206A_206F_206D_202E_206F_202C_200D_206E_200F_206A_206D_202E_200C_202E(_pluginInterface).Any(delegate(IExposedPlugin p) + { + int num8 = ((!_003C_003Ec__DisplayClass15_0._202B_206F_206F_200E_202D_200F_200C_206D_202D_200D_206B_202E_200D_206D_200E_206D_200C_202B_200C_200B_200B_206D_200B_200C_206D_202A_200C_200C_206C_206B_206E_202D_206C_206A_200E_206A_202E_202B_206E_202A_202E(_003C_003Ec__DisplayClass15_0._200E_202B_202A_206A_202E_202C_200C_206E_202B_206F_200C_200B_206B_206B_202E_202A_206C_200B_206D_206F_200B_206A_202B_206F_206B_200F_202D_200E_202A_206D_206F_200C_206A_200F_200C_200E_206F_206D_206B_206A_202E(p), name)) ? 1406489619 : 1406489616); + while (true) + { + int num9 = num8; + int num10 = 1406489617; + int num11 = num9; + switch ((num11 | num10) - (num11 & num10)) + { + case 0: + goto IL_0051; + case 2: + return false; + case 1: + return MatchesRepo(p, repoOrNull, aliases); + } + continue; + IL_0051: + num8 = 1406489616; + } + })) ? (-2093940270) : (-2093940271)); + break; + case 3: + _206F_202D_206B_202B_206D_206F_206A_206F_206D_200C_200B_206E_206B_200F_200D_206B_200C_200C_206E_202C_202D_200E_206B_202A_200C_200E_202D_202B_206A_200F_206F_202B_200B_206D_206C_206D_200E_206B_206E_202D_202E(_log, _206D_200D_200F_200F_200C_202B_202A_202E_206C_206F_202C_206E_200E_200F_202A_206A_206D_202A_202A_200C_206C_202C_202C_206C_200C_202A_202B_200E_206A_202B_202D_202A_202E_206A_202B_200F_206D_206D_206F_202E_202E(global::_003CModule_003E._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(-1920092139), name), Array.Empty()); + state.Status = PluginInstallStatus.Succeeded; + state.ErrorMessage = null; + ClearCurrent(); + return; + case 1: + _200F_202B_200F_206B_206D_206B_200E_200C_206A_206A_206F_202A_206D_206C_206C_206B_202D_206E_200D_200D_202B_200D_206C_206C_206B_206E_200C_202C_202A_202C_206A_202B_206B_202B_202B_202C_202B_202A_202D_206C_202E(_log, _202E_200C_200C_200C_200D_200B_206E_206B_206A_202D_200D_202C_206D_202E_202E_206F_206E_206F_202A_202E_202C_206C_206D_206A_202E_200B_206E_200F_200C_200E_202E_202E_200C_202D_202A_202B_202E_202A_202A_202E(global::_003CModule_003E._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(694138335), name, global::_003CModule_003E._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(-1663750406)), Array.Empty()); + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = global::_003CModule_003E._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(-2084381224); + ClearCurrent(); + return; + } + } + } + IL_008f: + if (obj == null) + { + obj = global::_003CModule_003E._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(591139344); + } + errorMessage = (string)obj; + _200D_206A_202C_200C_202B_200F_202E_200B_202C_206B_200F_200B_206F_206F_200C_200D_206A_202C_202D_202D_206D_200C_200C_206C_202D_200F_200E_200F_206B_200F_200C_206E_200B_206C_202B_202B_200E_206E_206E_206B_202E(_log, ex2, _202E_200C_200C_200C_200D_200B_206E_206B_206A_202D_200D_202C_206D_202E_202E_206F_206E_206F_202A_202E_202C_206C_206D_206A_202E_200B_206E_200F_200C_200E_202E_202E_200C_202D_202A_202B_202E_202A_202A_202E(global::_003CModule_003E._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(154304713), name, global::_003CModule_003E._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(-333020202)), Array.Empty()); + state.Status = PluginInstallStatus.Failed; + state.ErrorMessage = errorMessage; + ClearCurrent(); + return; + } + } + } + + private void ClearCurrent() + { + _currentOperation = null; + _installTask = null; + int num = ((!_frameworkHooked) ? 1877061817 : 1877061816); + while (true) + { + int num2 = num; + int num3 = 1877061817; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return; + case 1: + _206F_202C_206B_206A_202D_206E_206F_206F_202B_206D_202C_206B_206E_206D_202E_202E_200C_202A_202B_200D_206B_200E_206D_206C_202A_202B_206B_200D_206E_200F_200E_202B_200D_200C_200F_202A_200F_206D_200B_206A_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); + _frameworkHooked = false; + num = 1877061817; + break; + case 2: + num = 1877061816; + break; + } + } + } + + public static bool MatchesRepo(IExposedPlugin plugin, string? expectedRepoUrl, IReadOnlyList? aliases = null) + { + string installedFrom = TryGetInstalledFromUrl(plugin); + int num = ((!SingleRepoUrlMatches(installedFrom, expectedRepoUrl)) ? (-493404997) : (-493405000)); + while (true) + { + int num2 = num; + int num3 = -493404999; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 2: + if (aliases != null) + { + num = -493404999; + continue; + } + break; + case 1: + return true; + case 3: + num = -493405000; + continue; + case 0: + { + IEnumerator enumerator = aliases.GetEnumerator(); + try + { + num = 257099616; + while (true) + { + int num7 = num; + num3 = 257099617; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 1: + num = (_200E_206B_200D_202B_200B_200F_200D_202A_202A_202D_200E_200E_202B_200B_202C_206A_206B_202B_206D_202B_202E_200D_206D_206F_200D_206B_206D_206C_202C_200F_200D_200D_206A_206F_206F_206E_202A_206A_206F_206D_202E((IEnumerator)enumerator) ? 257099618 : 257099617); + break; + case 2: + return true; + case 3: + { + string current = enumerator.Current; + num = ((!SingleRepoUrlMatches(installedFrom, current)) ? 257099616 : 257099619); + break; + } + case 4: + num = 257099616; + break; + case 0: + goto end_IL_0090; + } + continue; + end_IL_0090: + break; + } + } + finally + { + num = ((enumerator == null) ? 1755953266 : 1755953267); + while (true) + { + int num10 = num; + num3 = 1755953266; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + goto end_IL_0156; + case 1: + _206C_202C_200F_202C_200D_200F_206B_200E_202A_202A_202A_206E_200F_202A_200D_206C_200F_202C_200C_206A_202B_206B_200D_206E_200C_206D_206D_202D_202B_200C_200F_206B_202C_206A_202D_200F_206D_200C_206F_200E_202E((IDisposable)enumerator); + num = 1755953266; + break; + case 2: + num = 1755953267; + break; + } + continue; + end_IL_0156: + break; + } + } + break; + } + } + break; + } + return false; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static bool SingleRepoUrlMatches(string? installedFrom, string? expectedRepoUrl) + { + bool flag = _206E_200E_206E_206B_206C_202D_200B_202B_200E_202A_202A_202B_200E_202D_202E_202A_200C_200D_200E_206C_202C_202B_202B_202A_206C_206A_206B_200B_202A_200F_202E_200F_202D_206D_206F_202B_206C_206F_200E_202B_202E(expectedRepoUrl); + int num = (_206E_200E_206E_206B_206C_202D_200B_202B_200E_202A_202A_202B_200E_202D_202E_202A_200C_200D_200E_206C_202C_202B_202B_202A_206C_206A_206B_200B_202A_200F_202E_200F_202D_206D_206F_202B_206C_206F_200E_202B_202E(installedFrom) ? 962949554 : 962949557); + bool flag2 = default(bool); + while (true) + { + int num2 = num; + int num3 = 962949556; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num7; + switch (num5 - (num6 + num6)) + { + case 6: + num7 = 1; + goto IL_0063; + case 5: + return DalamudReflector.RepoUrlEquals(installedFrom, expectedRepoUrl); + case 4: + num = 962949557; + break; + case 3: + return true; + case 0: + return false; + case 1: + num7 = (_206D_206C_206A_206D_206A_200C_206C_200B_200B_200C_206C_200B_200F_202B_200D_202D_202E_206D_200F_200C_206B_202C_202D_206B_202B_202B_202B_200B_206E_202C_202A_200F_200E_200E_206B_206A_202D_200E_202B_206F_202E(installedFrom, global::_003CModule_003E._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(682779368), StringComparison.OrdinalIgnoreCase) ? 1 : 0); + goto IL_0063; + case 2: + { + num3 = (flag2 ? 1 : 0); + num4 = (flag ? 1 : 0); + num = (((num4 & num3) + (num4 ^ num3) == 0) ? 962949553 : 962949556); + break; + } + IL_0063: + flag2 = (byte)num7 != 0; + num3 = (flag2 ? 1 : 0); + num4 = (flag ? 1 : 0); + num = ((num4 + num3 - (num4 | num3) == 0) ? 962949558 : 962949559); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static string? TryGetInstalledFromUrl(IExposedPlugin plugin) + { + PropertyInfo propertyInfo = _206E_202A_200C_206D_200B_206D_202E_200D_206E_200F_200C_202C_200F_206B_202A_200B_200F_206B_206F_206F_206E_200E_206B_206C_200F_202C_200E_200C_202A_206E_200F_200C_200D_200E_200F_206D_202A_202C_202E_200E_202E(_202E_202C_202B_202A_206A_200C_206B_206F_200B_200E_206A_200B_200C_202C_202C_206A_202D_200E_206B_202B_206E_202E_206D_202E_206C_206C_206C_206C_206C_200D_200F_206F_202B_206A_200B_202E_206F_202A_202C_200C_202E((object)plugin), global::_003CModule_003E._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(1760038507)); + object obj = (((object)propertyInfo != null) ? _206C_202D_206E_202B_206E_200E_202C_202C_206E_200C_202C_202C_202B_206B_200F_202C_200D_202A_206B_200B_200B_200F_200E_206A_206B_206E_206F_200E_206B_202C_206A_202C_202E_200D_202A_200C_202B_200E_202E_206B_202E(propertyInfo, (object)plugin) : null); + int num = ((obj != null) ? (-1115973018) : (-1115973019)); + while (true) + { + int num2 = num; + int num3 = -1115973017; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_006a; + case 1: + { + PropertyInfo propertyInfo2 = _206E_202A_200C_206D_200B_206D_202E_200D_206E_200F_200C_202C_200F_206B_202A_200B_200F_206B_206F_206F_206E_200E_206B_206C_200F_202C_200E_200C_202A_206E_200F_200C_200D_200E_200F_206D_202A_202C_202E_200E_202E(_202E_202C_202B_202A_206A_200C_206B_206F_200B_200E_206A_200B_200C_202C_202C_206A_202D_200E_206B_202B_206E_202E_206D_202E_206C_206C_206C_206C_206C_200D_200F_206F_202B_206A_200B_202E_206F_202A_202C_200C_202E(obj), global::_003CModule_003E._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(709710176)); + return (((object)propertyInfo2 != null) ? _206C_202D_206E_202B_206E_200E_202C_202C_206E_200C_202C_202C_202B_206B_200F_202C_200D_202A_206B_200B_200B_200F_200E_206A_206B_206E_206F_200E_206B_202C_206A_202C_202E_200D_202A_200C_202B_200E_202E_206B_202E(propertyInfo2, obj) : null) as string; + } + case 2: + return null; + } + continue; + IL_006a: + num = -1115973019; + } + } + + static void _206D_202C_200F_200F_202A_206B_206B_206E_200F_206E_202B_200C_202D_200F_206E_202C_206E_202D_200F_202D_200C_206F_206F_206E_206C_202A_200B_200F_202A_202D_200B_206C_206E_200E_200C_202A_206D_202B_206A_200D_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static IEnumerable _206B_202B_202E_200D_200D_202B_202C_200E_202E_202D_200E_206A_206E_202B_200E_200D_202D_200C_206D_200F_200F_202E_200E_202E_202B_202E_202A_206A_206F_206D_202E_206F_202C_200D_206E_200F_206A_206D_202E_200C_202E(IDalamudPluginInterface P_0) + { + return P_0.InstalledPlugins; + } + + static bool _200B_206A_202C_206D_206C_200D_200E_206E_200D_202C_200C_206D_202C_206A_202C_206D_202D_200E_202E_206B_200B_202B_200E_200E_206B_200C_200B_206C_202B_200D_206B_206C_206F_206D_202C_206E_202A_202E_206F_206F_202E(IExposedPlugin P_0) + { + return P_0.IsLoaded; + } + + static void _202A_200C_200E_200E_200F_206B_206E_202C_200D_200B_206F_206E_206C_200B_202C_200C_200B_206F_202D_206D_202D_200D_206E_202A_202B_206A_200B_200E_206A_202D_202A_206A_206B_206E_206D_200F_206F_200C_202A_200F_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update += P_1; + } + + static int _202A_200D_206F_200D_206E_202C_206D_200D_202E_206B_206E_202A_200E_206C_200F_206F_202A_202E_206C_202A_202C_200F_206A_206A_202B_200E_200F_200B_202B_202E_206B_200F_202D_202E_200E_200E_206C_202C_200B_200E_202E(string P_0) + { + return P_0.Length; + } + + static TaskScheduler _200D_200D_206B_200F_200F_200D_206C_200D_200D_202B_206F_200B_202B_202B_202A_200F_206B_202B_206B_202C_200B_200D_206A_206A_202B_200B_202D_206F_200C_200C_202D_200C_202D_200B_202D_202A_206D_206E_202D_202A_202E() + { + return TaskScheduler.Default; + } + + static bool _206B_206F_206E_206A_200D_202B_200B_202D_206E_200E_202B_200D_200E_200D_202C_202E_206D_206C_202E_200D_200E_202D_202B_200E_202E_202C_206C_206B_202B_206B_200E_200F_206B_206E_206D_200B_202E_206E_206A_206B_202E(Task P_0) + { + return P_0.IsCompleted; + } + + static bool _202D_202D_202D_202B_206B_200D_202E_200C_202E_202D_200F_200B_202B_200E_206F_206C_206F_202D_200D_200F_202C_202B_200B_200D_202E_202A_202A_202D_200B_206B_200B_206B_202B_206A_200C_200E_200B_200E_200E_200C_202E(Task P_0) + { + return P_0.IsFaulted; + } + + static AggregateException _202B_202C_202E_200E_206A_202C_200C_206F_206F_206E_200D_200B_206D_206B_202C_202D_206C_202A_206D_202B_206D_202C_202C_202A_202A_200F_200C_200D_206D_200F_202B_200E_200E_206E_202C_206F_202E_206A_202B_206E_202E(Task P_0) + { + return P_0.Exception; + } + + static Exception _202D_200B_200C_202D_206A_202D_200C_202E_202A_200F_200B_200D_206B_200B_206B_200B_200E_206A_200D_200B_202B_206C_200E_202D_206B_202E_200B_202B_202C_202D_206A_200D_206A_200F_200B_206C_206F_206D_202A_206E_202E(Exception P_0) + { + return P_0.GetBaseException(); + } + + static string _202E_206A_200F_206A_206B_200D_202D_202D_206A_202E_200E_206D_200E_202B_206C_206C_202A_200B_206E_206D_202D_206C_200F_202A_200C_206E_206F_200C_206A_206D_200C_202D_206B_206D_200D_202E_200C_206F_200D_202C_202E(Exception P_0) + { + return P_0.Message; + } + + static string _202E_200C_200C_200C_200D_200B_206E_206B_206A_202D_200D_202C_206D_202E_202E_206F_206E_206F_202A_202E_202C_206C_206D_206A_202E_200B_206E_200F_200C_200E_202E_202E_200C_202D_202A_202B_202E_202A_202A_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _200D_206A_202C_200C_202B_200F_202E_200B_202C_206B_200F_200B_206F_206F_200C_200D_206A_202C_202D_202D_206D_200C_200C_206C_202D_200F_200E_200F_206B_200F_200C_206E_200B_206C_202B_202B_200E_206E_206E_206B_202E(IPluginLog P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.Error(P_1, P_2, P_3); + } + + static string _206D_200D_200F_200F_200C_202B_202A_202E_206C_206F_202C_206E_200E_200F_202A_206A_206D_202A_202A_200C_206C_202C_202C_206C_200C_202A_202B_200E_206A_202B_202D_202A_202E_206A_202B_200F_206D_206D_206F_202E_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _206F_202D_206B_202B_206D_206F_206A_206F_206D_200C_200B_206E_206B_200F_200D_206B_200C_200C_206E_202C_202D_200E_206B_202A_200C_200E_202D_202B_206A_200F_206F_202B_200B_206D_206C_206D_200E_206B_206E_202D_202E(IPluginLog P_0, string P_1, object[] P_2) + { + P_0.Information(P_1, P_2); + } + + static void _200F_202B_200F_206B_206D_206B_200E_200C_206A_206A_206F_202A_206D_206C_206C_206B_202D_206E_200D_200D_202B_200D_206C_206C_206B_206E_200C_202C_202A_202C_206A_202B_206B_202B_202B_202C_202B_202A_202D_206C_202E(IPluginLog P_0, string P_1, object[] P_2) + { + P_0.Error(P_1, P_2); + } + + static void _206F_202C_206B_206A_202D_206E_206F_206F_202B_206D_202C_206B_206E_206D_202E_202E_200C_202A_202B_200D_206B_200E_206D_206C_202A_202B_206B_200D_206E_200F_200E_202B_200D_200C_200F_202A_200F_206D_200B_206A_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update -= P_1; + } + + static bool _200E_206B_200D_202B_200B_200F_200D_202A_202A_202D_200E_200E_202B_200B_202C_206A_206B_202B_206D_202B_202E_200D_206D_206F_200D_206B_206D_206C_202C_200F_200D_200D_206A_206F_206F_206E_202A_206A_206F_206D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206C_202C_200F_202C_200D_200F_206B_200E_202A_202A_202A_206E_200F_202A_200D_206C_200F_202C_200C_206A_202B_206B_200D_206E_200C_206D_206D_202D_202B_200C_200F_206B_202C_206A_202D_200F_206D_200C_206F_200E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _206E_200E_206E_206B_206C_202D_200B_202B_200E_202A_202A_202B_200E_202D_202E_202A_200C_200D_200E_206C_202C_202B_202B_202A_206C_206A_206B_200B_202A_200F_202E_200F_202D_206D_206F_202B_206C_206F_200E_202B_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _206D_206C_206A_206D_206A_200C_206C_200B_200B_200C_206C_200B_200F_202B_200D_202D_202E_206D_200F_200C_206B_202C_202D_206B_202B_202B_202B_200B_206E_202C_202A_200F_200E_200E_206B_206A_202D_200E_202B_206F_202E(string P_0, string P_1, StringComparison P_2) + { + return string.Equals(P_0, P_1, P_2); + } + + static Type _202E_202C_202B_202A_206A_200C_206B_206F_200B_200E_206A_200B_200C_202C_202C_206A_202D_200E_206B_202B_206E_202E_206D_202E_206C_206C_206C_206C_206C_200D_200F_206F_202B_206A_200B_202E_206F_202A_202C_200C_202E(object P_0) + { + return P_0.GetType(); + } + + static PropertyInfo _206E_202A_200C_206D_200B_206D_202E_200D_206E_200F_200C_202C_200F_206B_202A_200B_200F_206B_206F_206F_206E_200E_206B_206C_200F_202C_200E_200C_202A_206E_200F_200C_200D_200E_200F_206D_202A_202C_202E_200E_202E(Type P_0, string P_1) + { + return P_0.GetProperty(P_1); + } + + static object _206C_202D_206E_202B_206E_200E_202C_202C_206E_200C_202C_202C_202B_206B_200F_202C_200D_202A_206B_200B_200B_200F_200E_206A_206B_206E_206F_200E_206B_202C_206A_202C_202E_200D_202A_200C_202B_200E_202E_206B_202E(PropertyInfo P_0, object P_1) + { + return P_0.GetValue(P_1); + } +} diff --git a/LLib/LLib/PollHelper.cs b/LLib/LLib/PollHelper.cs new file mode 100644 index 00000000..c6208afb --- /dev/null +++ b/LLib/LLib/PollHelper.cs @@ -0,0 +1,455 @@ +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Threading; +using System.Threading.Tasks; +using Dalamud.Plugin.Services; + +namespace LLib; + +public static class PollHelper +{ + [StructLayout(LayoutKind.Auto)] + [CompilerGenerated] + private struct _003CPollUntilAsync_003Ed__1 : IAsyncStateMachine + { + public int _003C_003E1__state; + + public AsyncTaskMethodBuilder _003C_003Et__builder; + + public TimeSpan timeout; + + public TimeSpan? interval; + + public CancellationToken ct; + + public Func action; + + private bool _003Cinfinite_003E5__2; + + private long _003CdeadlineMs_003E5__3; + + private TimeSpan _003Cdelay_003E5__4; + + private TaskAwaiter _003C_003Eu__1; + + private void MoveNext() + { + int num = _003C_003E1__state; + bool result; + try + { + int num2 = ((num == 0) ? 1451400526 : 1451400517); + TaskAwaiter awaiter = default(TaskAwaiter); + while (true) + { + int num3 = num2; + int num4 = 1451400516; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 9: + ct.ThrowIfCancellationRequested(); + num2 = ((!action()) ? 1451400515 : 1451400516); + break; + case 0: + result = true; + goto end_IL_0025; + case 5: + result = false; + goto end_IL_0025; + case 8: + num2 = ((_202D_200B_206E_202E_206F_200B_200F_202E_200D_202C_206B_206E_206E_206C_200D_202E_202C_206D_200B_202D_202D_206A_206C_202A_202E_202A_202B_200C_206E_202B_202C_200E_206F_200E_206D_200F_206D_206C_206F_202A_202E() < _003CdeadlineMs_003E5__3) ? 1451400518 : 1451400513); + break; + case 4: + num2 = 1451400517; + break; + case 1: + _003Cinfinite_003E5__2 = timeout < TimeSpan.Zero; + _003CdeadlineMs_003E5__3 = _202D_200B_206E_202E_206F_200B_200F_202E_200D_202C_206B_206E_206E_206C_200D_202E_202C_206D_200B_202D_202D_206A_206C_202A_202E_202A_202B_200C_206E_202B_202C_200E_206F_200E_206D_200F_206D_206C_206F_202A_202E() + (long)timeout.TotalMilliseconds; + _003Cdelay_003E5__4 = interval ?? DefaultInterval; + num2 = 1451400525; + break; + case 7: + num2 = (_003Cinfinite_003E5__2 ? 1451400518 : 1451400524); + break; + case 2: + awaiter = _200C_202A_202A_202A_206C_206E_202C_206C_206A_200D_202D_200F_202B_200E_202D_202E_206F_206A_206F_200D_206E_202B_202D_200B_206D_202C_200B_206C_206C_200F_200D_206C_206D_206C_206F_202A_200C_206F_200C_206D_202E(_206B_202C_200F_200F_200C_202C_200E_200E_202B_202C_206C_200D_200E_206C_200F_206A_202C_206B_202B_206C_206F_200F_200C_206C_206F_202B_206E_202C_202A_200E_200B_202E_202C_202C_206A_200C_202A_206E_202B_206F_202E(_003Cdelay_003E5__4, ct)); + num2 = (awaiter.IsCompleted ? 1451400514 : 1451400519); + break; + case 6: + awaiter.GetResult(); + num2 = 1451400525; + break; + case 10: + awaiter = _003C_003Eu__1; + _003C_003Eu__1 = default(TaskAwaiter); + num = (_003C_003E1__state = -1); + num2 = 1451400514; + break; + case 3: + num = (_003C_003E1__state = 0); + _003C_003Eu__1 = awaiter; + _003C_003Et__builder.AwaitUnsafeOnCompleted(ref awaiter, ref this); + return; + } + continue; + end_IL_0025: + break; + } + } + catch (Exception exception) + { + _003C_003E1__state = -2; + _003C_003Et__builder.SetException(exception); + return; + } + _003C_003E1__state = -2; + _003C_003Et__builder.SetResult(result); + } + + void IAsyncStateMachine.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + this.MoveNext(); + } + + [DebuggerHidden] + private void SetStateMachine(IAsyncStateMachine stateMachine) + { + _003C_003Et__builder.SetStateMachine(stateMachine); + } + + void IAsyncStateMachine.SetStateMachine(IAsyncStateMachine stateMachine) + { + //ILSpy generated this explicit interface implementation from .override directive in SetStateMachine + this.SetStateMachine(stateMachine); + } + + static long _202D_200B_206E_202E_206F_200B_200F_202E_200D_202C_206B_206E_206E_206C_200D_202E_202C_206D_200B_202D_202D_206A_206C_202A_202E_202A_202B_200C_206E_202B_202C_200E_206F_200E_206D_200F_206D_206C_206F_202A_202E() + { + return Environment.TickCount64; + } + + static Task _206B_202C_200F_200F_200C_202C_200E_200E_202B_202C_206C_200D_200E_206C_200F_206A_202C_206B_202B_206C_206F_200F_200C_206C_206F_202B_206E_202C_202A_200E_200B_202E_202C_202C_206A_200C_202A_206E_202B_206F_202E(TimeSpan P_0, CancellationToken P_1) + { + return Task.Delay(P_0, P_1); + } + + static TaskAwaiter _200C_202A_202A_202A_206C_206E_202C_206C_206A_200D_202D_200F_202B_200E_202D_202E_206F_206A_206F_200D_206E_202B_202D_200B_206D_202C_200B_206C_206C_200F_200D_206C_206D_206C_206F_202A_200C_206F_200C_206D_202E(Task P_0) + { + return P_0.GetAwaiter(); + } + } + + [StructLayout(LayoutKind.Auto)] + [CompilerGenerated] + private struct _003CPollUntilOnFrameworkAsync_003Ed__2 : IAsyncStateMachine + { + public int _003C_003E1__state; + + public AsyncTaskMethodBuilder _003C_003Et__builder; + + public TimeSpan timeout; + + public TimeSpan? interval; + + public CancellationToken ct; + + public IFramework framework; + + public Func action; + + private bool _003Cinfinite_003E5__2; + + private long _003CdeadlineMs_003E5__3; + + private TimeSpan _003Cdelay_003E5__4; + + private TaskAwaiter _003C_003Eu__1; + + private TaskAwaiter _003C_003Eu__2; + + private void MoveNext() + { + int num = _003C_003E1__state; + bool result; + try + { + int num2 = ((num == 0) ? 30471137 : 30471145); + TaskAwaiter awaiter2 = default(TaskAwaiter); + TaskAwaiter awaiter = default(TaskAwaiter); + while (true) + { + int num3 = num2; + int num4 = 30471147; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 6: + num2 = ((_206C_202A_200D_202C_206C_206D_202B_206D_206E_202E_200C_200C_200C_206A_202A_202D_206B_206A_206B_200C_206F_206F_206D_200F_206A_202E_202E_200B_200C_200D_206E_202B_202D_202B_202B_206E_202E_200F_206A_206A_202E() < _003CdeadlineMs_003E5__3) ? 30471143 : 30471142); + break; + case 2: + num2 = ((num == 1) ? 30471144 : 30471136); + break; + case 12: + awaiter2 = _200C_200E_200B_200D_202D_206B_202A_202D_206E_202E_202D_202B_206B_206C_200C_200E_206E_202D_206C_200C_202D_206A_206B_206D_206B_206E_202D_200B_206F_200E_206D_200F_206B_206D_202D_206A_202C_206A_200F_200D_202E(_202A_206C_202B_200B_200D_206F_202B_202C_202E_202B_206F_202E_200B_206A_206F_200D_200C_202E_202E_206E_202E_202E_202B_202E_202C_206F_206C_200B_206B_202A_202B_206A_202E_202C_202C_200E_206B_206B_200D_202E_202E(_003Cdelay_003E5__4, ct)); + num2 = (awaiter2.IsCompleted ? 30471141 : 30471151); + break; + case 13: + result = false; + goto end_IL_0025; + case 8: + result = true; + goto end_IL_0025; + case 1: + ct.ThrowIfCancellationRequested(); + awaiter = framework.RunOnFrameworkThread(action).WaitAsync(ct).GetAwaiter(); + num2 = (awaiter.IsCompleted ? 30471138 : 30471150); + break; + case 14: + awaiter2.GetResult(); + num2 = 30471146; + break; + case 3: + awaiter2 = _003C_003Eu__2; + _003C_003Eu__2 = default(TaskAwaiter); + num = (_003C_003E1__state = -1); + num2 = 30471141; + break; + case 9: + num2 = ((!awaiter.GetResult()) ? 30471147 : 30471139); + break; + case 4: + num = (_003C_003E1__state = 1); + _003C_003Eu__2 = awaiter2; + _003C_003Et__builder.AwaitUnsafeOnCompleted(ref awaiter2, ref this); + return; + case 10: + awaiter = _003C_003Eu__1; + _003C_003Eu__1 = default(TaskAwaiter); + num = (_003C_003E1__state = -1); + num2 = 30471138; + break; + case 0: + num2 = (_003Cinfinite_003E5__2 ? 30471143 : 30471149); + break; + case 7: + num2 = 30471145; + break; + case 5: + num = (_003C_003E1__state = 0); + _003C_003Eu__1 = awaiter; + _003C_003Et__builder.AwaitUnsafeOnCompleted(ref awaiter, ref this); + return; + case 11: + _003Cinfinite_003E5__2 = timeout < TimeSpan.Zero; + _003CdeadlineMs_003E5__3 = _206C_202A_200D_202C_206C_206D_202B_206D_206E_202E_200C_200C_200C_206A_202A_202D_206B_206A_206B_200C_206F_206F_206D_200F_206A_202E_202E_200B_200C_200D_206E_202B_202D_202B_202B_206E_202E_200F_206A_206A_202E() + (long)timeout.TotalMilliseconds; + _003Cdelay_003E5__4 = interval ?? DefaultInterval; + num2 = 30471146; + break; + } + continue; + end_IL_0025: + break; + } + } + catch (Exception exception) + { + _003C_003E1__state = -2; + _003C_003Et__builder.SetException(exception); + return; + } + _003C_003E1__state = -2; + _003C_003Et__builder.SetResult(result); + } + + void IAsyncStateMachine.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + this.MoveNext(); + } + + [DebuggerHidden] + private void SetStateMachine(IAsyncStateMachine stateMachine) + { + _003C_003Et__builder.SetStateMachine(stateMachine); + } + + void IAsyncStateMachine.SetStateMachine(IAsyncStateMachine stateMachine) + { + //ILSpy generated this explicit interface implementation from .override directive in SetStateMachine + this.SetStateMachine(stateMachine); + } + + static long _206C_202A_200D_202C_206C_206D_202B_206D_206E_202E_200C_200C_200C_206A_202A_202D_206B_206A_206B_200C_206F_206F_206D_200F_206A_202E_202E_200B_200C_200D_206E_202B_202D_202B_202B_206E_202E_200F_206A_206A_202E() + { + return Environment.TickCount64; + } + + static Task _202A_206C_202B_200B_200D_206F_202B_202C_202E_202B_206F_202E_200B_206A_206F_200D_200C_202E_202E_206E_202E_202E_202B_202E_202C_206F_206C_200B_206B_202A_202B_206A_202E_202C_202C_200E_206B_206B_200D_202E_202E(TimeSpan P_0, CancellationToken P_1) + { + return Task.Delay(P_0, P_1); + } + + static TaskAwaiter _200C_200E_200B_200D_202D_206B_202A_202D_206E_202E_202D_202B_206B_206C_200C_200E_206E_202D_206C_200C_202D_206A_206B_206D_206B_206E_202D_200B_206F_200E_206D_200F_206B_206D_202D_206A_202C_206A_200F_200D_202E(Task P_0) + { + return P_0.GetAwaiter(); + } + } + + private static readonly TimeSpan DefaultInterval = TimeSpan.FromMilliseconds(100L); + + public static async Task PollUntilAsync(Func action, TimeSpan timeout, CancellationToken ct, TimeSpan? interval = null) + { + int num = 1451400517; + long deadlineMs = default(long); + bool infinite = default(bool); + TimeSpan delay = default(TimeSpan); + TaskAwaiter taskAwaiter = default(TaskAwaiter); + TaskAwaiter taskAwaiter2 = default(TaskAwaiter); + while (true) + { + int num2 = num; + int num3 = 1451400516; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 9: + ct.ThrowIfCancellationRequested(); + num = ((!action()) ? 1451400515 : 1451400516); + break; + case 0: + return true; + case 5: + return false; + case 8: + num = ((_003CPollUntilAsync_003Ed__1._202D_200B_206E_202E_206F_200B_200F_202E_200D_202C_206B_206E_206E_206C_200D_202E_202C_206D_200B_202D_202D_206A_206C_202A_202E_202A_202B_200C_206E_202B_202C_200E_206F_200E_206D_200F_206D_206C_206F_202A_202E() < deadlineMs) ? 1451400518 : 1451400513); + break; + case 4: + num = 1451400517; + break; + case 1: + infinite = timeout < TimeSpan.Zero; + deadlineMs = _003CPollUntilAsync_003Ed__1._202D_200B_206E_202E_206F_200B_200F_202E_200D_202C_206B_206E_206E_206C_200D_202E_202C_206D_200B_202D_202D_206A_206C_202A_202E_202A_202B_200C_206E_202B_202C_200E_206F_200E_206D_200F_206D_206C_206F_202A_202E() + (long)timeout.TotalMilliseconds; + delay = interval ?? DefaultInterval; + num = 1451400525; + break; + case 7: + num = (infinite ? 1451400518 : 1451400524); + break; + case 2: + taskAwaiter = _003CPollUntilAsync_003Ed__1._200C_202A_202A_202A_206C_206E_202C_206C_206A_200D_202D_200F_202B_200E_202D_202E_206F_206A_206F_200D_206E_202B_202D_200B_206D_202C_200B_206C_206C_200F_200D_206C_206D_206C_206F_202A_200C_206F_200C_206D_202E(_003CPollUntilAsync_003Ed__1._206B_202C_200F_200F_200C_202C_200E_200E_202B_202C_206C_200D_200E_206C_200F_206A_202C_206B_202B_206C_206F_200F_200C_206C_206F_202B_206E_202C_202A_200E_200B_202E_202C_202C_206A_200C_202A_206E_202B_206F_202E(delay, ct)); + num = (taskAwaiter.IsCompleted ? 1451400514 : 1451400519); + break; + case 6: + taskAwaiter.GetResult(); + num = 1451400525; + break; + case 10: + taskAwaiter = taskAwaiter2; + taskAwaiter2 = default(TaskAwaiter); + num = 1451400514; + break; + case 3: + await taskAwaiter; + num = 1451400526; + break; + } + } + } + + public static async Task PollUntilOnFrameworkAsync(this IFramework framework, Func action, TimeSpan timeout, CancellationToken ct, TimeSpan? interval = null) + { + long deadlineMs = default(long); + TaskAwaiter taskAwaiter2 = default(TaskAwaiter); + TimeSpan delay = default(TimeSpan); + TaskAwaiter taskAwaiter = default(TaskAwaiter); + TaskAwaiter taskAwaiter4 = default(TaskAwaiter); + TaskAwaiter taskAwaiter3 = default(TaskAwaiter); + bool infinite = default(bool); + while (true) + { + int num = 30471145; + while (true) + { + int num2 = num; + int num3 = 30471147; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num7; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 6: + num = ((_003CPollUntilOnFrameworkAsync_003Ed__2._206C_202A_200D_202C_206C_206D_202B_206D_206E_202E_200C_200C_200C_206A_202A_202D_206B_206A_206B_200C_206F_206F_206D_200F_206A_202E_202E_200B_200C_200D_206E_202B_202D_202B_202B_206E_202E_200F_206A_206A_202E() < deadlineMs) ? 30471143 : 30471142); + continue; + case 2: + num = ((num7 == 1) ? 30471144 : 30471136); + continue; + case 12: + taskAwaiter2 = _003CPollUntilOnFrameworkAsync_003Ed__2._200C_200E_200B_200D_202D_206B_202A_202D_206E_202E_202D_202B_206B_206C_200C_200E_206E_202D_206C_200C_202D_206A_206B_206D_206B_206E_202D_200B_206F_200E_206D_200F_206B_206D_202D_206A_202C_206A_200F_200D_202E(_003CPollUntilOnFrameworkAsync_003Ed__2._202A_206C_202B_200B_200D_206F_202B_202C_202E_202B_206F_202E_200B_206A_206F_200D_200C_202E_202E_206E_202E_202E_202B_202E_202C_206F_206C_200B_206B_202A_202B_206A_202E_202C_202C_200E_206B_206B_200D_202E_202E(delay, ct)); + num = (taskAwaiter2.IsCompleted ? 30471141 : 30471151); + continue; + case 13: + return false; + case 8: + return true; + case 1: + ct.ThrowIfCancellationRequested(); + taskAwaiter = framework.RunOnFrameworkThread(action).WaitAsync(ct).GetAwaiter(); + num = (taskAwaiter.IsCompleted ? 30471138 : 30471150); + continue; + case 14: + taskAwaiter2.GetResult(); + num = 30471146; + continue; + case 3: + taskAwaiter2 = taskAwaiter4; + taskAwaiter4 = default(TaskAwaiter); + num7 = -1; + num = 30471141; + continue; + case 9: + num = ((!taskAwaiter.GetResult()) ? 30471147 : 30471139); + continue; + case 4: + break; + case 10: + taskAwaiter = taskAwaiter3; + taskAwaiter3 = default(TaskAwaiter); + num7 = -1; + num = 30471138; + continue; + case 0: + num = (infinite ? 30471143 : 30471149); + continue; + case 7: + num = 30471145; + continue; + case 5: + await taskAwaiter; + num = 30471137; + continue; + case 11: + infinite = timeout < TimeSpan.Zero; + deadlineMs = _003CPollUntilOnFrameworkAsync_003Ed__2._206C_202A_200D_202C_206C_206D_202B_206D_206E_202E_200C_200C_200C_206A_202A_202D_206B_206A_206B_200C_206F_206F_206D_200F_206A_202E_202E_200B_200C_200D_206E_202B_202D_202B_202B_206E_202E_200F_206A_206A_202E() + (long)timeout.TotalMilliseconds; + delay = interval ?? DefaultInterval; + num = 30471146; + continue; + } + break; + } + await taskAwaiter2; + } + } +} diff --git a/LLib/LLib/QuestDialogueText.cs b/LLib/LLib/QuestDialogueText.cs index 054f28d4..b3d33d19 100644 --- a/LLib/LLib/QuestDialogueText.cs +++ b/LLib/LLib/QuestDialogueText.cs @@ -12,9 +12,21 @@ public readonly struct QuestDialogueText : IQuestDialogueText, IExcelRow _003Coffset_003EP; - public ReadOnlySeString Key => _003Cpage_003EP.ReadString(_003Coffset_003EP, _003Coffset_003EP); + public ReadOnlySeString Key => _202C_200E_200F_206D_206B_206A_206C_200D_202C_202A_206C_206D_200D_202E_200D_206F_206C_206F_202C_206E_206B_206C_202D_200F_200C_202B_206D_206F_206A_200F_202D_200B_200E_200E_200B_202B_200C_200C_200B_206E_202E(_003Cpage_003EP, (nuint)_003Coffset_003EP, (nuint)_003Coffset_003EP); - public ReadOnlySeString Value => _003Cpage_003EP.ReadString(_003Coffset_003EP + 4, _003Coffset_003EP); + public ReadOnlySeString Value + { + get + { + ExcelPage excelPage = _003Cpage_003EP; + uint num = _003Coffset_003EP; + int num2 = 4; + int num3 = (int)num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + return _202C_200E_200F_206D_206B_206A_206C_200D_202C_202A_206C_206D_200D_202E_200D_206F_206C_206F_202C_206E_206B_206C_202D_200F_200C_202B_206D_206F_206A_200F_202D_200B_200E_200E_200B_202B_200C_200C_200B_206E_202E(excelPage, (nuint)(uint)(num4 + (num5 + num5)), (nuint)_003Coffset_003EP); + } + } public QuestDialogueText(ExcelPage page, uint offset, uint row) { @@ -27,4 +39,9 @@ public readonly struct QuestDialogueText : IQuestDialogueText, IExcelRow _200F_202C_200C_202E_206A_206F_206E_206D_206C_202E_202E_202D_200B_206E_200D_200F_206F_202C_200D_200F_206C_200D_202E_206C_200D_202E_200C_206E_202A_206B_202E_202E_202C_206A_202E_200D_200E_206D_202D_206A_202E() >= _nextAllowedMs; + + public bool TryReset(double cooldownSeconds) + { + long num = _200F_202C_200C_202E_206A_206F_206E_206D_206C_202E_202E_202D_200B_206E_200D_200F_206F_202C_200D_200F_206C_200D_202E_206C_200D_202E_200C_206E_202A_206B_202E_202E_202C_206A_202E_200D_200E_206D_202D_206A_202E(); + int num2 = ((num >= _nextAllowedMs) ? (-1425131609) : (-1425131610)); + while (true) + { + int num3 = num2; + int num4 = -1425131609; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + { + long num6 = (long)(cooldownSeconds * 1000.0); + long num7 = num; + _nextAllowedMs = (num7 | num6) + (num7 & num6); + return true; + } + case 1: + return false; + case 2: + goto IL_0073; + } + continue; + IL_0073: + num2 = -1425131610; + } + } + + public void Clear() + { + _nextAllowedMs = 0L; + } + + static long _200F_202C_200C_202E_206A_206F_206E_206D_206C_202E_202E_202D_200B_206E_200D_200F_206F_202C_200D_200F_206C_200D_202E_206C_200D_202E_200C_206E_202A_206B_202E_202E_202C_206A_202E_200D_200E_206D_202D_206A_202E() + { + return Environment.TickCount64; + } +} diff --git a/QuestPaths/-----------------------------------------.cs b/QuestPaths/-----------------------------------------.cs new file mode 100644 index 00000000..022127e6 --- /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 00000000..fac2183c --- /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 00000000..6d6c49e4 --- /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 8a86757e..ad23532c 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 00000000..e6d9b3c9 Binary files /dev/null and b/QuestPaths/Questionable.QuestPaths.QuestBundle differ diff --git a/QuestPaths/Questionable.QuestPaths.QuestSchema b/QuestPaths/Questionable.QuestPaths.QuestSchema index aaffec77..62f99c60 100644 --- a/QuestPaths/Questionable.QuestPaths.QuestSchema +++ b/QuestPaths/Questionable.QuestPaths.QuestSchema @@ -114,34 +114,7 @@ "null" ], "description": "Set if pathfinding should stop closer or further away from the default stop distance", - "minimum": 0.25 - }, - "LandingZones": { - "description": "Convex polygon boundaries for randomized movement destinations. When present, Position becomes the interaction target and a random point within a zone is used as the movement destination.", - "type": "array", - "items": { - "type": "object", - "properties": { - "Vertices": { - "type": "array", - "items": { - "$ref": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-vector3.json" - }, - "minItems": 3 - }, - "YTolerance": { - "type": [ - "number", - "null" - ], - "minimum": 0 - } - }, - "required": [ - "Vertices" - ], - "additionalProperties": false - } + "minimum": 0 }, "IgnoreDistanceToObject": { "type": "boolean", @@ -199,7 +172,9 @@ "AcceptQuest", "CompleteQuest", "InitiateLeve", - "FateAction" + "FateAction", + "Fish", + "CriticalEncounter" ] }, "Disabled": { @@ -215,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", @@ -231,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", @@ -365,7 +335,7 @@ "type": "number" }, "TerritoryId": { - "type": "number" + "type": "integer" } }, "required": [ @@ -385,7 +355,7 @@ "type": "number" }, "TerritoryId": { - "type": "number" + "type": "integer" } }, "required": [ @@ -409,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 @@ -629,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": { @@ -899,16 +760,31 @@ "Position", "EnemySpawnType" ], - "oneOf": [ + "allOf": [ { - "required": [ - "KillEnemyDataIds" - ] - }, - { - "required": [ - "ComplexCombatData" - ] + "if": { + "properties": { + "EnemySpawnType": { + "not": { + "const": "FinishCombatIfAny" + } + } + } + }, + "then": { + "oneOf": [ + { + "required": [ + "KillEnemyDataIds" + ] + }, + { + "required": [ + "ComplexCombatData" + ] + } + ] + } } ] } @@ -1485,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": { @@ -1499,7 +1397,8 @@ "type": "string", "description": "The status to disable", "enum": [ - "Hidden" + "Hidden", + "Transfiguration" ] } }, @@ -1713,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 }, @@ -1774,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 } } @@ -1833,7 +1690,7 @@ "then": { "properties": { "TaxiStandId": { - "type": "number" + "type": "integer" } }, "required": [ @@ -1904,7 +1761,7 @@ "then": { "properties": { "ItemCount": { - "type": "number" + "type": "integer" }, "RequireHq": { "type": "boolean", @@ -1934,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 } @@ -1966,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 aa4a4c21..44d34822 100644 --- a/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs +++ b/QuestPaths/Questionable.QuestPaths/AssemblyQuestLoader.cs @@ -1,395748 +1,148 @@ 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.Reflection; +using System.Runtime.CompilerServices; +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); - private static Dictionary? _questPaths; + internal static TimeSpan? DecodeDuration { get; private set; } - public static Stream QuestSchema => typeof(AssemblyQuestLoader).Assembly.GetManifestResourceStream("Questionable.QuestPaths.QuestSchema"); - - public static IReadOnlyDictionary GetQuests() + internal static Stream QuestSchema { - if (_quests == null) + [MethodImpl(MethodImplOptions.NoInlining)] + get { - _quests = new Dictionary(); - _questPaths = new Dictionary(); - LoadQuests(); - } - return _quests ?? throw new InvalidOperationException("quest data is not initialized"); - } - - public static string? GetQuestPath(ElementId questId) - { - if (_questPaths == null) - { - GetQuests(); - } - Dictionary? questPaths = _questPaths; - if (questPaths == null || !questPaths.TryGetValue(questId, out string value)) - { - return null; - } - return value; - } - - private static void AddQuest(ElementId questId, QuestRoot root, string? relativePath = null) - { - _quests[questId] = root; - if (!string.IsNullOrEmpty(relativePath)) - { - _questPaths[questId] = relativePath; + return _200E_200D_206A_200C_200B_200B_206F_200B_206D_206E_202A_206A_202A_202B_202E_206B_206F_200B_202A_202E_202B_206F_200C_202E_202E_206E_202D_200D_202B_202C_200B_200C_202A_200B_206A_206B_206F_200B_200E_202E(_202C_202D_200C_206D_202A_200E_200C_206B_206B_206B_206B_206B_206B_202D_206B_206E_206C_200D_206F_202B_200C_206B_202D_202A_206B_200F_202E_200E_200B_206F_200C_200F_206D_202D_200F_206D_206C_202B_206C_206C_202E(_202D_202C_202A_206B_202E_206C_206E_206B_200B_202A_200D_200D_202A_202A_206D_206C_200F_202C_206A_202D_200F_202B_202E_202E_206D_202E_206F_202E_200D_200F_206C_200E_202E_200E_206E_200E_202D_202D_206C_206F_202E(typeof(AssemblyQuestLoader).TypeHandle)), global::_003CModule_003E._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(-1394732188)); } } - private static void LoadQuests() + internal static IReadOnlyDictionary GetQuests() { - 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(); + return Quests.Value; } - private static void LoadQuests0() + internal static string? GetQuestPath(ElementId questId) { - 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, "2.x - A Realm Reborn/Aethernet"); - 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, "3.x - Heavensward/Custom Deliveries/Zhloe"); - 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, "2.x - A Realm Reborn/Aethernet"); - 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, "4.x - Stormblood/Custom Deliveries/M'naago"); - 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, "2.x - A Realm Reborn/Aethernet"); - 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, "2.x - A Realm Reborn/Class Quests/BTN"); - 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, "4.x - Stormblood/Custom Deliveries/Kurenai"); - 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, "2.x - A Realm Reborn/Aethernet"); - 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, "2.x - A Realm Reborn/Class Quests/BTN"); - 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, "4.x - Stormblood/Custom Deliveries/Adkiragh"); - 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, "2.x - A Realm Reborn/Class Quests/BTN"); - 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, "3.x - Heavensward/Aethernet"); - 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, "5.x - Shadowbringers/Custom Deliveries/Kai-Shirr"); - 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, "2.x - A Realm Reborn/Class Quests/BTN"); - 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, "3.x - Heavensward/Aethernet"); - 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, "5.x - Shadowbringers/Custom Deliveries/Ehll Tou"); - 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, "2.x - A Realm Reborn/Class Quests/BTN"); - 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, "4.x - Stormblood/Aethernet"); - 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, "5.x - Shadowbringers/Custom Deliveries/Charlemend"); - 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, "4.x - Stormblood/Aethernet"); - 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, "6.x - Endwalker/Custom Deliveries/Ameliance"); - 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, "4.x - Stormblood/Aethernet"); - 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, "6.x - Endwalker/Custom Deliveries/Anden"); - 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, "5.x - Shadowbringers/Aethernet"); - 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, "6.x - Endwalker/Custom Deliveries/Margrat"); - 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, "5.x - Shadowbringers/Aethernet"); - 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, "7.x - Dawntrail/Custom Deliveries/Nitowikwe"); - 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, "6.x - Endwalker/Aethernet"); - 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, "6.x - Endwalker/Aethernet"); - 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, "7.x - Dawntrail/Aethernet"); - 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, "7.x - Dawntrail/Aethernet"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Gridania"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Gridania"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Gridania"); - 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, "2.x - A Realm Reborn/Raid Quests"); - 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, "2.x - A Realm Reborn/Raid Quests"); - 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, "3.x - Heavensward/Side Stories/Doman Adventurer's Guild"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Gridania"); - } - - 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, "3.x - Heavensward/Side Stories/Doman Adventurer's Guild"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/Unlocks/Instant"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "3.x - Heavensward/Allied Societies/Vath"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - } - - 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, "3.x - Heavensward/Side Stories/Doman Adventurer's Guild"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/LTW"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Limsa"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Limsa"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Limsa"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Limsa"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Limsa"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Limsa"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Limsa"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/CRP"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - } - - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/Class Quests/PLD"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/CRP"); - 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, "2.x - A Realm Reborn/Class Quests/BSM"); - 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, "2.x - A Realm Reborn/Class Quests/ARM"); - 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, "2.x - A Realm Reborn/Class Quests/GSM"); - 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, "2.x - A Realm Reborn/Class Quests/LTW"); - 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, "2.x - A Realm Reborn/Class Quests/WVR"); - 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, "2.x - A Realm Reborn/Class Quests/ALC"); - 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, "2.x - A Realm Reborn/Class Quests/CUL"); - 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, "2.x - A Realm Reborn/Class Quests/MIN"); - 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, "2.x - A Realm Reborn/Class Quests/BTN"); - } - - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Class Quests/CRP"); - 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, "2.x - A Realm Reborn/Class Quests/BTN"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Class Quests/NIN"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - } - - 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 = 1; - List list19 = new List(num2); - CollectionsMarshal.SetCount(list19, num2); - CollectionsMarshal.AsSpan(list19)[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(256) - }; - obj10.Steps = list19; - reference10 = obj10; - questRoot.QuestSequence = list2; - AddQuest(questId, questRoot, "2.x - A Realm Reborn/Class Quests/PLD"); - QuestId questId2 = new QuestId(256); - QuestRoot questRoot2 = new QuestRoot(); - num = 1; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - CollectionsMarshal.AsSpan(list20)[0] = "liza"; - questRoot2.Author = list20; - num = 9; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span10 = CollectionsMarshal.AsSpan(list21); - ref QuestSequence reference11 = ref span10[0]; - QuestSequence obj11 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list22 = new List(num2); - CollectionsMarshal.SetCount(list22, num2); - ref QuestStep reference12 = ref CollectionsMarshal.AsSpan(list22)[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 skipConditions6 = new SkipConditions(); - SkipAetheryteCondition obj13 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list23 = new List(num3); - CollectionsMarshal.SetCount(list23, num3); - CollectionsMarshal.AsSpan(list23)[0] = 131; - obj13.InTerritory = list23; - skipConditions6.AetheryteShortcutIf = obj13; - obj12.SkipConditions = skipConditions6; - reference12 = obj12; - obj11.Steps = list22; - reference11 = obj11; - ref QuestSequence reference13 = ref span10[1]; - QuestSequence obj14 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list24 = new List(num2); - CollectionsMarshal.SetCount(list24, num2); - Span span11 = CollectionsMarshal.AsSpan(list24); - ref QuestStep reference14 = ref span11[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 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)4, 0, EQuestWorkMode.Bitwise); - obj15.CompletionQuestVariablesFlags = list25; - reference14 = obj15; - ref QuestStep reference15 = ref span11[1]; - QuestStep obj16 = new QuestStep(EInteractionType.Emote, 1003984u, new Vector3(45.029297f, 3.9999998f, -128.16058f), 130) - { - 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)8, 0, EQuestWorkMode.Bitwise); - obj16.CompletionQuestVariablesFlags = list26; - reference15 = obj16; - ref QuestStep reference16 = ref span11[2]; - QuestStep obj17 = new QuestStep(EInteractionType.Emote, 1003992u, new Vector3(12.191956f, 4.0999947f, -155.53528f), 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)2, 0, EQuestWorkMode.Bitwise); - obj17.CompletionQuestVariablesFlags = list27; - reference16 = obj17; - ref QuestStep reference17 = ref span11[3]; - QuestStep obj18 = new QuestStep(EInteractionType.Emote, 1003994u, new Vector3(15.976135f, 7.9999995f, -124.071106f), 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)1, 0, EQuestWorkMode.Bitwise); - obj18.CompletionQuestVariablesFlags = list28; - reference17 = obj18; - obj14.Steps = list24; - reference13 = obj14; - ref QuestSequence reference18 = ref span10[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.Emote, 1004222u, new Vector3(21.927185f, 7.1999974f, -97.39838f), 130) - { - Emote = EEmote.Me - }; - obj19.Steps = list29; - reference18 = obj19; - ref QuestSequence reference19 = ref span10[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, 1001353u, new Vector3(21.072632f, 7.45f, -78.78235f), 130); - obj20.Steps = list30; - reference19 = obj20; - ref QuestSequence reference20 = ref span10[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, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahGladiator - } - }; - obj21.Steps = list31; - reference20 = obj21; - ref QuestSequence reference21 = ref span10[5]; - QuestSequence obj22 = new QuestSequence - { - Sequence = 5 - }; - num2 = 3; - List list32 = new List(num2); - CollectionsMarshal.SetCount(list32, num2); - Span span16 = CollectionsMarshal.AsSpan(list32); - span16[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-112.70276f, 7.7544775f, 9.123527f), 131); - span16[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-183.00035f, 13.958975f, -13.998203f), 130); - span16[2] = new QuestStep(EInteractionType.Interact, 1003985u, new Vector3(201.52588f, 52.038116f, 149.40112f), 140); - obj22.Steps = list32; - reference21 = obj22; - ref QuestSequence reference22 = ref span10[6]; - QuestSequence obj23 = new QuestSequence - { - Sequence = 6 - }; - num2 = 2; - List list33 = new List(num2); - CollectionsMarshal.SetCount(list33, num2); - Span span17 = CollectionsMarshal.AsSpan(list33); - ref QuestStep reference23 = ref span17[0]; - QuestStep obj24 = new QuestStep(EInteractionType.Combat, 2001408u, new Vector3(154.37549f, 52.536743f, 200.91553f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list34 = new List(num3); - CollectionsMarshal.SetCount(list34, num3); - CollectionsMarshal.AsSpan(list34)[0] = 1246u; - obj24.KillEnemyDataIds = list34; - num3 = 6; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - Span span18 = CollectionsMarshal.AsSpan(list35); - 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 = list35; - reference23 = obj24; - ref QuestStep reference24 = ref span17[1]; - QuestStep obj25 = new QuestStep(EInteractionType.Combat, 2001409u, new Vector3(141.83252f, 52.994507f, 221.54565f), 140) - { - EnemySpawnType = EEnemySpawnType.AfterInteraction - }; - num3 = 1; - List list36 = new List(num3); - CollectionsMarshal.SetCount(list36, num3); - CollectionsMarshal.AsSpan(list36)[0] = 1390u; - obj25.KillEnemyDataIds = list36; - num3 = 6; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - Span span19 = CollectionsMarshal.AsSpan(list37); - span19[0] = null; - span19[1] = null; - span19[2] = null; - span19[3] = null; - span19[4] = null; - span19[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - obj25.CompletionQuestVariablesFlags = list37; - reference24 = obj25; - obj23.Steps = list33; - reference22 = obj23; - ref QuestSequence reference25 = ref span10[7]; - QuestSequence obj26 = new QuestSequence - { - Sequence = 7 - }; - num2 = 1; - List list38 = new List(num2); - CollectionsMarshal.SetCount(list38, num2); - CollectionsMarshal.AsSpan(list38)[0] = new QuestStep(EInteractionType.Interact, 1003985u, new Vector3(201.52588f, 52.038116f, 149.40112f), 140); - obj26.Steps = list38; - reference25 = obj26; - ref QuestSequence reference26 = ref span10[8]; - QuestSequence obj27 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 3; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span20 = CollectionsMarshal.AsSpan(list39); - span20[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(473.74796f, 96.62057f, 159.993f), 140); - span20[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-117.06801f, 9.195247f, 9.181297f), 130); - span20[2] = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); - obj27.Steps = list39; - reference26 = obj27; - questRoot2.QuestSequence = list21; - AddQuest(questId2, questRoot2, "2.x - A Realm Reborn/Class Quests/PLD"); - QuestId questId3 = new QuestId(261); - QuestRoot questRoot3 = new QuestRoot(); - num = 1; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - CollectionsMarshal.AsSpan(list40)[0] = "Cacahuetes"; - questRoot3.Author = list40; - num = 7; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - Span span21 = CollectionsMarshal.AsSpan(list41); - ref QuestSequence reference27 = ref span21[0]; - QuestSequence obj28 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - ref QuestStep reference28 = ref CollectionsMarshal.AsSpan(list42)[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 skipConditions7 = new SkipConditions(); - SkipAetheryteCondition obj30 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list43 = new List(num3); - CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = 131; - obj30.InTerritory = list43; - skipConditions7.AetheryteShortcutIf = obj30; - obj29.SkipConditions = skipConditions7; - reference28 = obj29; - obj28.Steps = list42; - reference27 = obj28; - ref QuestSequence reference29 = ref span21[1]; - QuestSequence obj31 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list44 = new List(num2); - CollectionsMarshal.SetCount(list44, num2); - ref QuestStep reference30 = ref CollectionsMarshal.AsSpan(list44)[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 list45 = new List(num3); - CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = 1245u; - obj32.KillEnemyDataIds = list45; - reference30 = obj32; - obj31.Steps = list44; - reference29 = obj31; - ref QuestSequence reference31 = ref span21[2]; - QuestSequence obj33 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.Interact, 1002296u, new Vector3(-139.42175f, 4.019726f, 205.0354f), 141); - obj33.Steps = list46; - reference31 = obj33; - ref QuestSequence reference32 = ref span21[3]; - QuestSequence obj34 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list47 = new List(num2); - CollectionsMarshal.SetCount(list47, num2); - ref QuestStep reference33 = ref CollectionsMarshal.AsSpan(list47)[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 skipConditions8 = new SkipConditions(); - SkipAetheryteCondition obj36 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list48 = new List(num3); - CollectionsMarshal.SetCount(list48, num3); - CollectionsMarshal.AsSpan(list48)[0] = 131; - obj36.InTerritory = list48; - skipConditions8.AetheryteShortcutIf = obj36; - obj35.SkipConditions = skipConditions8; - reference33 = obj35; - obj34.Steps = list47; - reference32 = obj34; - ref QuestSequence reference34 = ref span21[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.SinglePlayerDuty, 2001426u, new Vector3(27.206787f, 12.985352f, 51.83484f), 141) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahGateOfNald - } - }; - obj37.Steps = list49; - reference34 = obj37; - ref QuestSequence reference35 = ref span21[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, 1003945u, new Vector3(24.917969f, 13f, 50.156372f), 141) - { - StopDistance = 5f - }; - obj38.Steps = list50; - reference35 = obj38; - ref QuestSequence reference36 = ref span21[6]; - QuestSequence obj39 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list51 = new List(num2); - CollectionsMarshal.SetCount(list51, num2); - ref QuestStep reference37 = ref CollectionsMarshal.AsSpan(list51)[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 list52 = new List(num3); - CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[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 = list52; - obj40.NextQuestId = new QuestId(262); - reference37 = obj40; - obj39.Steps = list51; - reference36 = obj39; - questRoot3.QuestSequence = list41; - AddQuest(questId3, questRoot3, "2.x - A Realm Reborn/Class Quests/PLD"); - QuestId questId4 = new QuestId(262); - QuestRoot questRoot4 = new QuestRoot(); - num = 1; - List list53 = new List(num); - CollectionsMarshal.SetCount(list53, num); - CollectionsMarshal.AsSpan(list53)[0] = "Cacahuetes"; - questRoot4.Author = list53; - num = 6; - List list54 = new List(num); - CollectionsMarshal.SetCount(list54, num); - Span span22 = CollectionsMarshal.AsSpan(list54); - ref QuestSequence reference38 = ref span22[0]; - QuestSequence obj41 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list55 = new List(num2); - CollectionsMarshal.SetCount(list55, num2); - ref QuestStep reference39 = ref CollectionsMarshal.AsSpan(list55)[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 skipConditions9 = new SkipConditions(); - SkipAetheryteCondition obj43 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list56 = new List(num3); - CollectionsMarshal.SetCount(list56, num3); - CollectionsMarshal.AsSpan(list56)[0] = 131; - obj43.InTerritory = list56; - skipConditions9.AetheryteShortcutIf = obj43; - obj42.SkipConditions = skipConditions9; - reference39 = obj42; - obj41.Steps = list55; - reference38 = obj41; - ref QuestSequence reference40 = ref span22[1]; - QuestSequence obj44 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list57 = new List(num2); - CollectionsMarshal.SetCount(list57, num2); - ref QuestStep reference41 = ref CollectionsMarshal.AsSpan(list57)[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 list58 = new List(num3); - CollectionsMarshal.SetCount(list58, num3); - CollectionsMarshal.AsSpan(list58)[0] = 1244u; - obj45.KillEnemyDataIds = list58; - reference41 = obj45; - obj44.Steps = list57; - reference40 = obj44; - ref QuestSequence reference42 = ref span22[2]; - QuestSequence obj46 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list59 = new List(num2); - CollectionsMarshal.SetCount(list59, num2); - CollectionsMarshal.AsSpan(list59)[0] = new QuestStep(EInteractionType.Interact, 1004224u, new Vector3(-220.93542f, -38.407475f, 63.91992f), 145); - obj46.Steps = list59; - reference42 = obj46; - ref QuestSequence reference43 = ref span22[3]; - QuestSequence obj47 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list60 = new List(num2); - CollectionsMarshal.SetCount(list60, num2); - ref QuestStep reference44 = ref CollectionsMarshal.AsSpan(list60)[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 skipConditions10 = new SkipConditions(); - SkipAetheryteCondition obj49 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list61 = new List(num3); - CollectionsMarshal.SetCount(list61, num3); - CollectionsMarshal.AsSpan(list61)[0] = 131; - obj49.InTerritory = list61; - skipConditions10.AetheryteShortcutIf = obj49; - obj48.SkipConditions = skipConditions10; - reference44 = obj48; - obj47.Steps = list60; - reference43 = obj47; - ref QuestSequence reference45 = ref span22[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.SinglePlayerDuty, 1004091u, new Vector3(24.12439f, 7.1999984f, -102.76953f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahGladiator, - To = EAetheryteLocation.UldahAdventurers - } - }; - obj50.Steps = list62; - reference45 = obj50; - ref QuestSequence reference46 = ref span22[5]; - QuestSequence obj51 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list63 = new List(num2); - CollectionsMarshal.SetCount(list63, num2); - CollectionsMarshal.AsSpan(list63)[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 = list63; - reference46 = obj51; - questRoot4.QuestSequence = list54; - AddQuest(questId4, questRoot4, "2.x - A Realm Reborn/Class Quests/PLD"); - QuestId questId5 = new QuestId(263); - QuestRoot questRoot5 = new QuestRoot(); - num = 1; - List list64 = new List(num); - CollectionsMarshal.SetCount(list64, num); - CollectionsMarshal.AsSpan(list64)[0] = "Cacahuetes"; - questRoot5.Author = list64; - num = 8; - List list65 = new List(num); - CollectionsMarshal.SetCount(list65, num); - Span span23 = CollectionsMarshal.AsSpan(list65); - ref QuestSequence reference47 = ref span23[0]; - QuestSequence obj52 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list66 = new List(num2); - CollectionsMarshal.SetCount(list66, num2); - ref QuestStep reference48 = ref CollectionsMarshal.AsSpan(list66)[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 skipConditions11 = new SkipConditions(); - SkipAetheryteCondition obj54 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list67 = new List(num3); - CollectionsMarshal.SetCount(list67, num3); - CollectionsMarshal.AsSpan(list67)[0] = 131; - obj54.InTerritory = list67; - skipConditions11.AetheryteShortcutIf = obj54; - obj53.SkipConditions = skipConditions11; - reference48 = obj53; - obj52.Steps = list66; - reference47 = obj52; - ref QuestSequence reference49 = ref span23[1]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list68 = new List(num2); - CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new QuestStep(EInteractionType.Interact, 1004140u, new Vector3(-72.34308f, -12.372956f, -69.13867f), 141) - { - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation - }; - obj55.Steps = list68; - reference49 = obj55; - ref QuestSequence reference50 = ref span23[2]; - QuestSequence obj56 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span24 = CollectionsMarshal.AsSpan(list69); - ref QuestStep reference51 = ref span24[0]; - QuestStep questStep2 = new QuestStep(EInteractionType.Interact, 1001462u, new Vector3(-93.33948f, -11.367981f, -41.397766f), 141); - 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)4, 0, EQuestWorkMode.Bitwise); - questStep2.CompletionQuestVariablesFlags = list70; - reference51 = questStep2; - ref QuestStep reference52 = ref span24[1]; - QuestStep questStep3 = new QuestStep(EInteractionType.Interact, 1001438u, new Vector3(-30.838562f, -1.0332576f, -145.67792f), 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)8, 0, EQuestWorkMode.Bitwise); - questStep3.CompletionQuestVariablesFlags = list71; - reference52 = questStep3; - ref QuestStep reference53 = ref span24[2]; - QuestStep questStep4 = new QuestStep(EInteractionType.Interact, 2001434u, new Vector3(-115.77026f, 0.015197754f, -149.24854f), 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)2, 0, EQuestWorkMode.Bitwise); - questStep4.CompletionQuestVariablesFlags = list72; - reference53 = questStep4; - obj56.Steps = list69; - reference50 = obj56; - ref QuestSequence reference54 = ref span23[3]; - QuestSequence obj57 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list73 = new List(num2); - CollectionsMarshal.SetCount(list73, num2); - CollectionsMarshal.AsSpan(list73)[0] = new QuestStep(EInteractionType.Interact, 1004140u, new Vector3(-72.34308f, -12.372956f, -69.13867f), 141); - obj57.Steps = list73; - reference54 = obj57; - ref QuestSequence reference55 = ref span23[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list74 = new List(num2); - CollectionsMarshal.SetCount(list74, num2); - CollectionsMarshal.AsSpan(list74)[0] = new QuestStep(EInteractionType.Interact, 1001285u, new Vector3(-68.77246f, 4.0411124f, -126.51257f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah - }; - obj58.Steps = list74; - reference55 = obj58; - ref QuestSequence reference56 = ref span23[5]; - QuestSequence obj59 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - ref QuestStep reference57 = ref CollectionsMarshal.AsSpan(list75)[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 list76 = new List(num3); - CollectionsMarshal.SetCount(list76, num3); - CollectionsMarshal.AsSpan(list76)[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 = list76; - reference57 = obj60; - obj59.Steps = list75; - reference56 = obj59; - ref QuestSequence reference58 = ref span23[6]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 6 - }; - num2 = 1; - List list77 = new List(num2); - CollectionsMarshal.SetCount(list77, num2); - CollectionsMarshal.AsSpan(list77)[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 = list77; - reference58 = obj61; - ref QuestSequence reference59 = ref span23[7]; - QuestSequence obj62 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - CollectionsMarshal.AsSpan(list78)[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 = list78; - reference59 = obj62; - questRoot5.QuestSequence = list65; - AddQuest(questId5, questRoot5, "2.x - A Realm Reborn/Class Quests/PLD"); - QuestId questId6 = new QuestId(264); - QuestRoot questRoot6 = new QuestRoot(); - num = 1; - List list79 = new List(num); - CollectionsMarshal.SetCount(list79, num); - CollectionsMarshal.AsSpan(list79)[0] = "Cacahuetes"; - questRoot6.Author = list79; - num = 7; - List list80 = new List(num); - CollectionsMarshal.SetCount(list80, num); - Span span28 = CollectionsMarshal.AsSpan(list80); - ref QuestSequence reference60 = ref span28[0]; - QuestSequence obj63 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list81 = new List(num2); - CollectionsMarshal.SetCount(list81, num2); - ref QuestStep reference61 = ref CollectionsMarshal.AsSpan(list81)[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 skipConditions12 = new SkipConditions(); - SkipAetheryteCondition obj65 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list82 = new List(num3); - CollectionsMarshal.SetCount(list82, num3); - CollectionsMarshal.AsSpan(list82)[0] = 131; - obj65.InTerritory = list82; - skipConditions12.AetheryteShortcutIf = obj65; - obj64.SkipConditions = skipConditions12; - reference61 = obj64; - obj63.Steps = list81; - reference60 = obj63; - ref QuestSequence reference62 = ref span28[1]; - QuestSequence obj66 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - ref QuestStep reference63 = ref CollectionsMarshal.AsSpan(list83)[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 list84 = new List(num3); - CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = 1243u; - obj67.KillEnemyDataIds = list84; - reference63 = obj67; - obj66.Steps = list83; - reference62 = obj66; - ref QuestSequence reference64 = ref span28[2]; - QuestSequence obj68 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - CollectionsMarshal.AsSpan(list85)[0] = new QuestStep(EInteractionType.Interact, 1004225u, new Vector3(62.974f, 54.60642f, 284.90112f), 140); - obj68.Steps = list85; - reference64 = obj68; - ref QuestSequence reference65 = ref span28[3]; - QuestSequence obj69 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list86 = new List(num2); - CollectionsMarshal.SetCount(list86, num2); - CollectionsMarshal.AsSpan(list86)[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 = list86; - reference65 = obj69; - ref QuestSequence reference66 = ref span28[4]; - QuestSequence obj70 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list87 = new List(num2); - CollectionsMarshal.SetCount(list87, num2); - CollectionsMarshal.AsSpan(list87)[0] = new QuestStep(EInteractionType.Interact, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131); - obj70.Steps = list87; - reference66 = obj70; - ref QuestSequence reference67 = ref span28[5]; - QuestSequence obj71 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - ref QuestStep reference68 = ref CollectionsMarshal.AsSpan(list88)[0]; - QuestStep obj72 = new QuestStep(EInteractionType.SinglePlayerDuty, 1004141u, new Vector3(-520.5005f, -21.460285f, 123.46069f), 145) - { - AetheryteShortcut = EAetheryteLocation.EasternThanalanCampDrybone - }; - num3 = 1; - List list89 = new List(num3); - CollectionsMarshal.SetCount(list89, num3); - CollectionsMarshal.AsSpan(list89)[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 = list89; - reference68 = obj72; - obj71.Steps = list88; - reference67 = obj71; - ref QuestSequence reference69 = ref span28[6]; - QuestSequence obj73 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list90 = new List(num2); - CollectionsMarshal.SetCount(list90, num2); - CollectionsMarshal.AsSpan(list90)[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 = list90; - reference69 = obj73; - questRoot6.QuestSequence = list80; - AddQuest(questId6, questRoot6, "2.x - A Realm Reborn/Class Quests/PLD"); - QuestId questId7 = new QuestId(265); - QuestRoot questRoot7 = new QuestRoot(); - num = 1; - List list91 = new List(num); - CollectionsMarshal.SetCount(list91, num); - CollectionsMarshal.AsSpan(list91)[0] = "Cacahuetes"; - questRoot7.Author = list91; - num = 6; - List list92 = new List(num); - CollectionsMarshal.SetCount(list92, num); - Span span29 = CollectionsMarshal.AsSpan(list92); - ref QuestSequence reference70 = ref span29[0]; - QuestSequence obj74 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - ref QuestStep reference71 = ref CollectionsMarshal.AsSpan(list93)[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 skipConditions13 = new SkipConditions(); - SkipAetheryteCondition obj76 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list94 = new List(num3); - CollectionsMarshal.SetCount(list94, num3); - CollectionsMarshal.AsSpan(list94)[0] = 131; - obj76.InTerritory = list94; - skipConditions13.AetheryteShortcutIf = obj76; - obj75.SkipConditions = skipConditions13; - reference71 = obj75; - obj74.Steps = list93; - reference70 = obj74; - ref QuestSequence reference72 = ref span29[1]; - QuestSequence obj77 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - ref QuestStep reference73 = ref CollectionsMarshal.AsSpan(list95)[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 list96 = new List(num3); - CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[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 = list96; - reference73 = obj78; - obj77.Steps = list95; - reference72 = obj77; - ref QuestSequence reference74 = ref span29[2]; - QuestSequence obj79 = new QuestSequence - { - Sequence = 2 - }; - num2 = 5; - List list97 = new List(num2); - CollectionsMarshal.SetCount(list97, num2); - Span span30 = CollectionsMarshal.AsSpan(list97); - span30[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 - } - } - }; - span30[1] = new QuestStep(EInteractionType.AttuneAetheryte, null, null, 146) - { - Aetheryte = EAetheryteLocation.SouthernThanalanLittleAlaMhigo, - SkipConditions = new SkipConditions - { - StepIf = new SkipStepConditions - { - AetheryteUnlocked = EAetheryteLocation.SouthernThanalanLittleAlaMhigo - } - } - }; - span30[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 reference75 = ref span30[3]; - QuestStep questStep5 = new QuestStep(EInteractionType.Interact, 2001455u, new Vector3(28.091797f, 6.9733276f, -611.2917f), 146); - num3 = 6; - List list98 = new List(num3); - CollectionsMarshal.SetCount(list98, num3); - Span span31 = CollectionsMarshal.AsSpan(list98); - span31[0] = null; - span31[1] = null; - span31[2] = null; - span31[3] = null; - span31[4] = null; - span31[5] = new QuestWorkValue((byte)4, 0, EQuestWorkMode.Bitwise); - questStep5.CompletionQuestVariablesFlags = list98; - reference75 = questStep5; - ref QuestStep reference76 = ref span30[4]; - QuestStep questStep6 = new QuestStep(EInteractionType.Interact, 2001435u, new Vector3(101.823364f, 7.248047f, -534.56934f), 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)8, 0, EQuestWorkMode.Bitwise); - questStep6.CompletionQuestVariablesFlags = list99; - reference76 = questStep6; - obj79.Steps = list97; - reference74 = obj79; - ref QuestSequence reference77 = ref span29[3]; - QuestSequence obj80 = new QuestSequence - { - Sequence = 3 - }; - num2 = 2; - List list100 = new List(num2); - CollectionsMarshal.SetCount(list100, num2); - Span span33 = CollectionsMarshal.AsSpan(list100); - span33[0] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(164.75665f, 3.3963587f, -585.49005f), 146); - span33[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 = list100; - reference77 = obj80; - ref QuestSequence reference78 = ref span29[4]; - QuestSequence obj81 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[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 = list101; - reference78 = obj81; - ref QuestSequence reference79 = ref span29[5]; - QuestSequence obj82 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list102 = new List(num2); - CollectionsMarshal.SetCount(list102, num2); - CollectionsMarshal.AsSpan(list102)[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 = list102; - reference79 = obj82; - questRoot7.QuestSequence = list92; - AddQuest(questId7, questRoot7, "2.x - A Realm Reborn/Class Quests/PLD"); - QuestId questId8 = new QuestId(271); - QuestRoot questRoot8 = new QuestRoot(); - num = 1; - List list103 = new List(num); - CollectionsMarshal.SetCount(list103, num); - CollectionsMarshal.AsSpan(list103)[0] = "Cacahuetes"; - questRoot8.Author = list103; - num = 2; - List list104 = new List(num); - CollectionsMarshal.SetCount(list104, num); - Span span34 = CollectionsMarshal.AsSpan(list104); - ref QuestSequence reference80 = ref span34[0]; - QuestSequence obj83 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000946u, new Vector3(-61.142883f, 42.299698f, -164.0498f), 128); - obj83.Steps = list105; - reference80 = obj83; - ref QuestSequence reference81 = ref span34[1]; - QuestSequence obj84 = 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 questStep7 = new QuestStep(EInteractionType.CompleteQuest, 1000947u, new Vector3(-54.64258f, 44f, -151.23218f), 128); - num3 = 1; - List list107 = new List(num3); - CollectionsMarshal.SetCount(list107, num3); - CollectionsMarshal.AsSpan(list107)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSCUL011_00271_Q1_000_1") - }; - questStep7.DialogueChoices = list107; - reference82 = questStep7; - obj84.Steps = list106; - reference81 = obj84; - questRoot8.QuestSequence = list104; - AddQuest(questId8, questRoot8, "2.x - A Realm Reborn/Class Quests/CUL"); - QuestId questId9 = new QuestId(272); - 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 span35 = CollectionsMarshal.AsSpan(list109); - ref QuestSequence reference83 = ref span35[0]; - QuestSequence obj85 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list110 = new List(num2); - CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new QuestStep(EInteractionType.AcceptQuest, 1005116u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj85.Steps = list110; - reference83 = obj85; - ref QuestSequence reference84 = ref span35[1]; - QuestSequence obj86 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list111 = new List(num2); - CollectionsMarshal.SetCount(list111, num2); - Span span36 = CollectionsMarshal.AsSpan(list111); - span36[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 - } - } - }; - span36[1] = new QuestStep(EInteractionType.AcceptQuest, 1001426u, new Vector3(123.33862f, 30.999996f, -384.9394f), 141) - { - PickUpQuestId = new QuestId(638) - }; - span36[2] = new QuestStep(EInteractionType.Interact, 1001425u, new Vector3(115.12927f, 31.876099f, -392.2027f), 141); - obj86.Steps = list111; - reference84 = obj86; - ref QuestSequence reference85 = ref span35[2]; - QuestSequence obj87 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 5; - List list112 = new List(num2); - CollectionsMarshal.SetCount(list112, num2); - Span span37 = CollectionsMarshal.AsSpan(list112); - span37[0] = new QuestStep(EInteractionType.UseItem, null, null, 145) - { - TargetTerritoryId = (ushort)140, - ItemId = 30362u - }; - span37[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(-492.96475f, 20.999884f, -380.82272f), 140); - span37[2] = new QuestStep(EInteractionType.Interact, 2001711u, new Vector3(-480.9181f, 18.00103f, -386.862f), 140) - { - TargetTerritoryId = (ushort)212 - }; - span37[3] = new QuestStep(EInteractionType.Interact, 2001715u, new Vector3(23.23944f, 2.090454f, -0.015319824f), 212) - { - TargetTerritoryId = (ushort)212 - }; - span37[4] = new QuestStep(EInteractionType.CompleteQuest, 1005116u, new Vector3(39.29187f, 1.2148079f, 0.8086548f), 212); - obj87.Steps = list112; - reference85 = obj87; - questRoot9.QuestSequence = list109; - AddQuest(questId9, questRoot9, "2.x - A Realm Reborn/MSQ-1/Shared"); - QuestId questId10 = new QuestId(273); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list113 = new List(num); - CollectionsMarshal.SetCount(list113, num); - CollectionsMarshal.AsSpan(list113)[0] = "Cacahuetes"; - questRoot10.Author = list113; - num = 2; - List list114 = new List(num); - CollectionsMarshal.SetCount(list114, num); - Span span38 = CollectionsMarshal.AsSpan(list114); - ref QuestSequence reference86 = ref span38[0]; - QuestSequence obj88 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list115 = new List(num2); - CollectionsMarshal.SetCount(list115, num2); - CollectionsMarshal.AsSpan(list115)[0] = new QuestStep(EInteractionType.AcceptQuest, 1000998u, new Vector3(-51.651794f, 42.79979f, 190.41736f), 128); - obj88.Steps = list115; - reference86 = obj88; - ref QuestSequence reference87 = ref span38[1]; - QuestSequence obj89 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list116 = new List(num2); - CollectionsMarshal.SetCount(list116, num2); - ref QuestStep reference88 = ref CollectionsMarshal.AsSpan(list116)[0]; - QuestStep questStep8 = new QuestStep(EInteractionType.CompleteQuest, 1001000u, new Vector3(-32.028687f, 41.499985f, 208.39233f), 128); - num3 = 1; - List list117 = new List(num3); - CollectionsMarshal.SetCount(list117, num3); - CollectionsMarshal.AsSpan(list117)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSARM011_00273_Q1_000_1") - }; - questStep8.DialogueChoices = list117; - reference88 = questStep8; - obj89.Steps = list116; - reference87 = obj89; - questRoot10.QuestSequence = list114; - AddQuest(questId10, questRoot10, "2.x - A Realm Reborn/Class Quests/ARM"); - QuestId questId11 = new QuestId(285); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list118 = new List(num); - CollectionsMarshal.SetCount(list118, num); - CollectionsMarshal.AsSpan(list118)[0] = "liza"; - questRoot11.Author = list118; - num = 2; - List list119 = new List(num); - CollectionsMarshal.SetCount(list119, num); - Span span39 = CollectionsMarshal.AsSpan(list119); - ref QuestSequence reference89 = ref span39[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, 1002277u, new Vector3(-97.550964f, 7.05f, 23.605652f), 131); - obj90.Steps = list120; - reference89 = obj90; - ref QuestSequence reference90 = ref span39[1]; - QuestSequence obj91 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list121 = new List(num2); - CollectionsMarshal.SetCount(list121, num2); - ref QuestStep reference91 = ref CollectionsMarshal.AsSpan(list121)[0]; - QuestStep questStep9 = new QuestStep(EInteractionType.CompleteQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); - num3 = 1; - List list122 = new List(num3); - CollectionsMarshal.SetCount(list122, num3); - CollectionsMarshal.AsSpan(list122)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSGLA011_00285_Q2_000_1") - }; - questStep9.DialogueChoices = list122; - questStep9.NextQuestId = new QuestId(286); - reference91 = questStep9; - obj91.Steps = list121; - reference90 = obj91; - questRoot11.QuestSequence = list119; - AddQuest(questId11, questRoot11, "2.x - A Realm Reborn/Class Quests/PLD"); - QuestId questId12 = new QuestId(286); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list123 = new List(num); - CollectionsMarshal.SetCount(list123, num); - CollectionsMarshal.AsSpan(list123)[0] = "liza"; - questRoot12.Author = list123; - num = 3; - List list124 = new List(num); - CollectionsMarshal.SetCount(list124, num); - Span span40 = CollectionsMarshal.AsSpan(list124); - ref QuestSequence reference92 = ref span40[0]; - QuestSequence obj92 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list125 = new List(num2); - CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new QuestStep(EInteractionType.AcceptQuest, 1001739u, new Vector3(-94.529724f, 6.4999976f, 39.81079f), 131); - obj92.Steps = list125; - reference92 = obj92; - ref QuestSequence reference93 = ref span40[1]; - QuestSequence obj93 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list126 = new List(num2); - CollectionsMarshal.SetCount(list126, num2); - Span span41 = CollectionsMarshal.AsSpan(list126); - ref QuestStep reference94 = ref span41[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 skipConditions14 = new SkipConditions(); - SkipStepConditions skipStepConditions5 = new SkipStepConditions(); - num3 = 1; - List list127 = new List(num3); - CollectionsMarshal.SetCount(list127, num3); - CollectionsMarshal.AsSpan(list127)[0] = 141; - skipStepConditions5.InTerritory = list127; - skipConditions14.StepIf = skipStepConditions5; - obj94.SkipConditions = skipConditions14; - reference94 = obj94; - ref QuestStep reference95 = ref span41[1]; - QuestStep obj95 = new QuestStep(EInteractionType.Combat, null, new Vector3(-116.10664f, 10.801613f, 276.979f), 141) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 2; - List list128 = new List(num3); - CollectionsMarshal.SetCount(list128, num3); - Span span42 = CollectionsMarshal.AsSpan(list128); - ref ComplexCombatData reference96 = ref span42[0]; - ComplexCombatData obj96 = new ComplexCombatData - { - DataId = 351u, - MinimumKillCount = 3u - }; - int num4 = 6; - List list129 = new List(num4); - CollectionsMarshal.SetCount(list129, num4); - Span span43 = CollectionsMarshal.AsSpan(list129); - span43[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span43[1] = null; - span43[2] = null; - span43[3] = null; - span43[4] = null; - span43[5] = null; - obj96.CompletionQuestVariablesFlags = list129; - reference96 = obj96; - ref ComplexCombatData reference97 = ref span42[1]; - ComplexCombatData obj97 = new ComplexCombatData - { - DataId = 141u, - MinimumKillCount = 3u - }; - num4 = 6; - List list130 = new List(num4); - CollectionsMarshal.SetCount(list130, num4); - Span span44 = CollectionsMarshal.AsSpan(list130); - span44[0] = null; - span44[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span44[2] = null; - span44[3] = null; - span44[4] = null; - span44[5] = null; - obj97.CompletionQuestVariablesFlags = list130; - reference97 = obj97; - obj95.ComplexCombatData = list128; - num3 = 6; - List list131 = new List(num3); - CollectionsMarshal.SetCount(list131, num3); - Span span45 = CollectionsMarshal.AsSpan(list131); - span45[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span45[1] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - span45[2] = null; - span45[3] = null; - span45[4] = null; - span45[5] = null; - obj95.CompletionQuestVariablesFlags = list131; - reference95 = obj95; - ref QuestStep reference98 = ref span41[2]; - QuestStep obj98 = new QuestStep(EInteractionType.Combat, null, new Vector3(39.635372f, 3.2401803f, 273.41232f), 141) - { - EnemySpawnType = EEnemySpawnType.OverworldEnemies - }; - num3 = 1; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - ref ComplexCombatData reference99 = ref CollectionsMarshal.AsSpan(list132)[0]; - ComplexCombatData obj99 = new ComplexCombatData - { - DataId = 205u, - MinimumKillCount = 3u - }; - num4 = 6; - List list133 = new List(num4); - CollectionsMarshal.SetCount(list133, num4); - Span span46 = CollectionsMarshal.AsSpan(list133); - span46[0] = null; - span46[1] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - span46[2] = null; - span46[3] = null; - span46[4] = null; - span46[5] = null; - obj99.CompletionQuestVariablesFlags = list133; - reference99 = obj99; - obj98.ComplexCombatData = list132; - num3 = 6; - List list134 = new List(num3); - CollectionsMarshal.SetCount(list134, num3); - 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; - obj98.CompletionQuestVariablesFlags = list134; - reference98 = obj98; - obj93.Steps = list126; - reference93 = obj93; - ref QuestSequence reference100 = ref span40[2]; - QuestSequence obj100 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - CollectionsMarshal.AsSpan(list135)[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 = list135; - reference100 = obj100; - questRoot12.QuestSequence = list124; - AddQuest(questId12, questRoot12, "2.x - A Realm Reborn/Class Quests/PLD"); - QuestId questId13 = new QuestId(288); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list136 = new List(num); - CollectionsMarshal.SetCount(list136, num); - CollectionsMarshal.AsSpan(list136)[0] = "Cacahuetes"; - questRoot13.Author = list136; - num = 7; - List list137 = new List(num); - CollectionsMarshal.SetCount(list137, num); - Span span48 = CollectionsMarshal.AsSpan(list137); - ref QuestSequence reference101 = ref span48[0]; - QuestSequence obj101 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list138 = new List(num2); - CollectionsMarshal.SetCount(list138, num2); - ref QuestStep reference102 = ref CollectionsMarshal.AsSpan(list138)[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 skipConditions15 = new SkipConditions(); - SkipAetheryteCondition obj103 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - CollectionsMarshal.AsSpan(list139)[0] = 131; - obj103.InTerritory = list139; - skipConditions15.AetheryteShortcutIf = obj103; - obj102.SkipConditions = skipConditions15; - reference102 = obj102; - obj101.Steps = list138; - reference101 = obj101; - ref QuestSequence reference103 = ref span48[1]; - QuestSequence obj104 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list140 = new List(num2); - CollectionsMarshal.SetCount(list140, num2); - ref QuestStep reference104 = ref CollectionsMarshal.AsSpan(list140)[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 list141 = new List(num3); - CollectionsMarshal.SetCount(list141, num3); - CollectionsMarshal.AsSpan(list141)[0] = 1245u; - obj105.KillEnemyDataIds = list141; - reference104 = obj105; - obj104.Steps = list140; - reference103 = obj104; - ref QuestSequence reference105 = ref span48[2]; - QuestSequence obj106 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list142 = new List(num2); - CollectionsMarshal.SetCount(list142, num2); - CollectionsMarshal.AsSpan(list142)[0] = new QuestStep(EInteractionType.Interact, 1002296u, new Vector3(-139.42175f, 4.019726f, 205.0354f), 141); - obj106.Steps = list142; - reference105 = obj106; - ref QuestSequence reference106 = ref span48[3]; - QuestSequence obj107 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - ref QuestStep reference107 = ref CollectionsMarshal.AsSpan(list143)[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 skipConditions16 = new SkipConditions(); - SkipAetheryteCondition obj109 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list144 = new List(num3); - CollectionsMarshal.SetCount(list144, num3); - CollectionsMarshal.AsSpan(list144)[0] = 131; - obj109.InTerritory = list144; - skipConditions16.AetheryteShortcutIf = obj109; - obj108.SkipConditions = skipConditions16; - reference107 = obj108; - obj107.Steps = list143; - reference106 = obj107; - ref QuestSequence reference108 = ref span48[4]; - QuestSequence obj110 = new QuestSequence - { - Sequence = 4 - }; - num2 = 1; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - CollectionsMarshal.AsSpan(list145)[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 = list145; - reference108 = obj110; - ref QuestSequence reference109 = ref span48[5]; - QuestSequence obj111 = new QuestSequence - { - Sequence = 5 - }; - num2 = 1; - List list146 = new List(num2); - CollectionsMarshal.SetCount(list146, num2); - CollectionsMarshal.AsSpan(list146)[0] = new QuestStep(EInteractionType.Interact, 1003945u, new Vector3(24.917969f, 13f, 50.156372f), 141) - { - StopDistance = 5f - }; - obj111.Steps = list146; - reference109 = obj111; - ref QuestSequence reference110 = ref span48[6]; - QuestSequence obj112 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - ref QuestStep reference111 = ref CollectionsMarshal.AsSpan(list147)[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 list148 = new List(num3); - CollectionsMarshal.SetCount(list148, num3); - CollectionsMarshal.AsSpan(list148)[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 = list148; - obj113.NextQuestId = new QuestId(262); - reference111 = obj113; - obj112.Steps = list147; - reference110 = obj112; - questRoot13.QuestSequence = list137; - AddQuest(questId13, questRoot13, "2.x - A Realm Reborn/Class Quests/PLD"); - QuestId questId14 = new QuestId(291); - QuestRoot questRoot14 = new QuestRoot(); - num = 1; - List list149 = new List(num); - CollectionsMarshal.SetCount(list149, num); - CollectionsMarshal.AsSpan(list149)[0] = "Cacahuetes"; - questRoot14.Author = list149; - num = 2; - List list150 = new List(num); - CollectionsMarshal.SetCount(list150, num); - Span span49 = CollectionsMarshal.AsSpan(list150); - ref QuestSequence reference112 = ref span49[0]; - QuestSequence obj114 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list151 = new List(num2); - CollectionsMarshal.SetCount(list151, num2); - ref QuestStep reference113 = ref CollectionsMarshal.AsSpan(list151)[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 skipConditions17 = new SkipConditions(); - SkipAetheryteCondition obj116 = new SkipAetheryteCondition - { - InSameTerritory = true - }; - num3 = 1; - List list152 = new List(num3); - CollectionsMarshal.SetCount(list152, num3); - CollectionsMarshal.AsSpan(list152)[0] = 128; - obj116.InTerritory = list152; - skipConditions17.AetheryteShortcutIf = obj116; - obj115.SkipConditions = skipConditions17; - num3 = 1; - List list153 = new List(num3); - CollectionsMarshal.SetCount(list153, num3); - CollectionsMarshal.AsSpan(list153)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSBSM011_00291_Q1_000_1") - }; - obj115.DialogueChoices = list153; - reference113 = obj115; - obj114.Steps = list151; - reference112 = obj114; - ref QuestSequence reference114 = ref span49[1]; - QuestSequence obj117 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list154 = new List(num2); - CollectionsMarshal.SetCount(list154, num2); - ref QuestStep reference115 = ref CollectionsMarshal.AsSpan(list154)[0]; - QuestStep questStep10 = new QuestStep(EInteractionType.CompleteQuest, 1000997u, new Vector3(-31.265808f, 44.49997f, 185.53442f), 128); - num3 = 1; - List list155 = new List(num3); - CollectionsMarshal.SetCount(list155, num3); - CollectionsMarshal.AsSpan(list155)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_CLSBSM011_00291_Q1_000_1") - }; - questStep10.DialogueChoices = list155; - questStep10.NextQuestId = new QuestId(292); - reference115 = questStep10; - obj117.Steps = list154; - reference114 = obj117; - questRoot14.QuestSequence = list150; - AddQuest(questId14, questRoot14, "2.x - A Realm Reborn/Class Quests/BSM"); - } - - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - } - - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Relics"); - 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, "2.x - A Realm Reborn/Relics"); - 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, "2.x - A Realm Reborn/Relics"); - 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, "2.x - A Realm Reborn/Relics"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/MSQ-2/E5-2.5"); - 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, "2.x - A Realm Reborn/MSQ-2/E5-2.5"); - 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, "2.x - A Realm Reborn/MSQ-2/E5-2.5"); - 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, "2.x - A Realm Reborn/MSQ-2/E5-2.5"); - 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, "2.x - A Realm Reborn/MSQ-2/E5-2.5"); - 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, "2.x - A Realm Reborn/MSQ-2/E5-2.5"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - } - - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Lower La Noscea"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Lower La Noscea"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "2.x - A Realm Reborn/MSQ-2/E5-2.5"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Unlocks/Gold Saucer"); - 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, "2.x - A Realm Reborn/Unlocks/Gold Saucer"); - 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, "2.x - A Realm Reborn/Unlocks/Gold Saucer"); - 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, "2.x - A Realm Reborn/Unlocks/Gold Saucer"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - } - - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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 = 6; - 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; - span108[4] = new QuestSequence - { - Sequence = 4 - }; - ref QuestSequence reference181 = ref span108[5]; - 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, "2.x - A Realm Reborn/Alliance Raid Quests"); - 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, "2.x - A Realm Reborn/Alliance Raid Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - } - - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "7.x - Dawntrail/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-2/A3-South Shroud, Buscarron’s Druthers"); - 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, "2.x - A Realm Reborn/MSQ-2/B0-Company of Heroes"); - 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, "2.x - A Realm Reborn/MSQ-2/B5-Western Thanalan"); - 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, "2.x - A Realm Reborn/MSQ-2/B5-Western Thanalan"); - 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, "2.x - A Realm Reborn/MSQ-2/C3-Garuda"); - 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, "2.x - A Realm Reborn/MSQ-2/C3-Garuda"); - 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, "2.x - A Realm Reborn/MSQ-2/C6-Mor Dhona"); - 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, "2.x - A Realm Reborn/MSQ-2/C6-Mor Dhona"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/WVR"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - } - - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Unlocks/Gold Saucer"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "7.x - Dawntrail/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/Class Quests/ALC"); - 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, "2.x - A Realm Reborn/Unlocks/Gold Saucer"); - 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, "3.x - Heavensward/Class Quests/WAR"); - 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, "3.x - Heavensward/Class Quests/WAR"); - 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, "3.x - Heavensward/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "3.x - Heavensward/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/MIN"); - 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, "3.x - Heavensward/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/MIN"); - } - - 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, "2.x - A Realm Reborn/Class Quests/MIN"); - 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, "3.x - Heavensward/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/GSM"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - } - - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/MSQ-1/Limsa"); - 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, "2.x - A Realm Reborn/Unlocks/Instant"); - 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, "2.x - A Realm Reborn/Unlocks/Instant"); - 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, "2.x - A Realm Reborn/Unlocks/Dungeons"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - } - - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/MSQ-1/Shared"); - 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, "2.x - A Realm Reborn/Relics"); - 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, "2.x - A Realm Reborn/MSQ-2/A0-Gridania to East Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A0-Gridania to East Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/East Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/East Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A1-East Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/East Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A1-East Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/East Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/East Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/East Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A2-East Shroud to South Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A2-East Shroud to South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A3-South Shroud, Buscarron’s Druthers"); - 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, "2.x - A Realm Reborn/MSQ-2/A3-South Shroud, Buscarron’s Druthers"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A4-Back from the Woods"); - 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, "2.x - A Realm Reborn/MSQ-2/A4-Back from the Woods"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/East Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A4-Back from the Woods"); - 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, "2.x - A Realm Reborn/MSQ-2/A4-Back from the Woods"); - 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, "2.x - A Realm Reborn/MSQ-2/A4-Back from the Woods"); - } - - 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, "2.x - A Realm Reborn/MSQ-2/A5-Southern Thanalan, Little Ala Mhigo"); - 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, "2.x - A Realm Reborn/MSQ-2/A5-Southern Thanalan, Little Ala Mhigo"); - 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, "2.x - A Realm Reborn/Side Quests/Thanalan/Southern Thanalan"); - 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, "2.x - A Realm Reborn/MSQ-2/A5-Southern Thanalan, Little Ala Mhigo"); - 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, "2.x - A Realm Reborn/MSQ-2/A5-Southern Thanalan, Little Ala Mhigo"); - 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, "2.x - A Realm Reborn/MSQ-2/A6-South Shroud, Quarrymill"); - 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, "2.x - A Realm Reborn/Unlocks/Dungeons"); - 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, "2.x - A Realm Reborn/MSQ-2/A6-South Shroud, Quarrymill"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A7-Southern Thanalan, Big Trouble in Little Ala Mhigo"); - 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, "2.x - A Realm Reborn/MSQ-2/A7-Southern Thanalan, Big Trouble in Little Ala Mhigo"); - 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, "2.x - A Realm Reborn/MSQ-2/A7-Southern Thanalan, Big Trouble in Little Ala Mhigo"); - 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, "2.x - A Realm Reborn/MSQ-2/A7-Southern Thanalan, Big Trouble in Little Ala Mhigo"); - 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, "2.x - A Realm Reborn/MSQ-2/A7-Southern Thanalan, Big Trouble in Little Ala Mhigo"); - 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, "2.x - A Realm Reborn/MSQ-2/A7-Southern Thanalan, Big Trouble in Little Ala Mhigo"); - 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, "2.x - A Realm Reborn/MSQ-2/A7-Southern Thanalan, Big Trouble in Little Ala Mhigo"); - 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, "2.x - A Realm Reborn/MSQ-2/A8-North Shroud, Murder investigation"); - 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, "2.x - A Realm Reborn/MSQ-2/A8-North Shroud, Murder investigation"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/North Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/North Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/North Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/North Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/North Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/North Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/North Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/North Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/North Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A9-Haukke Manor"); - } - - 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, "2.x - A Realm Reborn/MSQ-2/A9-Haukke Manor"); - 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, "2.x - A Realm Reborn/MSQ-2/A9-Haukke Manor"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Central Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Central Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Central Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Central Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/B0-Company of Heroes"); - 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, "2.x - A Realm Reborn/MSQ-2/B0-Company of Heroes"); - 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, "2.x - A Realm Reborn/MSQ-2/B0-Company of Heroes"); - 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, "2.x - A Realm Reborn/MSQ-2/B0-Company of Heroes"); - 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, "2.x - A Realm Reborn/MSQ-2/B0-Company of Heroes"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/B1-Forgotten Springs"); - 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, "2.x - A Realm Reborn/MSQ-2/B1-Forgotten Springs"); - 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, "2.x - A Realm Reborn/Side Quests/Thanalan/Southern Thanalan"); - 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, "2.x - A Realm Reborn/Side Quests/Thanalan/Southern Thanalan"); - 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, "2.x - A Realm Reborn/Side Quests/Thanalan/Southern Thanalan"); - 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, "2.x - A Realm Reborn/MSQ-2/B1-Forgotten Springs"); - 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, "2.x - A Realm Reborn/MSQ-2/B2-Eastern La Noscea, Brayflox, Cheese and Wine"); - 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, "2.x - A Realm Reborn/MSQ-2/B2-Eastern La Noscea, Brayflox, Cheese and Wine"); - 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, "2.x - A Realm Reborn/MSQ-2/B2-Eastern La Noscea, Brayflox, Cheese and Wine"); - 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, "2.x - A Realm Reborn/MSQ-2/B3-Eastern La Noscea, Wine"); - 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, "2.x - A Realm Reborn/MSQ-2/B3-Eastern La Noscea, Wine"); - 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, "2.x - A Realm Reborn/MSQ-2/B3-Eastern La Noscea, Wine"); - } - - 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, "2.x - A Realm Reborn/MSQ-2/B3-Eastern La Noscea, Wine"); - 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, "2.x - A Realm Reborn/MSQ-2/B3-Eastern La Noscea, Wine"); - 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, "2.x - A Realm Reborn/MSQ-2/B3-Eastern La Noscea, Wine"); - 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, "2.x - A Realm Reborn/MSQ-2/B4-Titan"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Outer La Noscea"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Outer La Noscea"); - 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, "2.x - A Realm Reborn/MSQ-2/B5-Western Thanalan"); - 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, "2.x - A Realm Reborn/MSQ-2/B5-Western Thanalan"); - 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, "2.x - A Realm Reborn/MSQ-2/B6-Coerthas Central Highlands, Camp Dragonhead"); - 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, "2.x - A Realm Reborn/MSQ-2/B6-Coerthas Central Highlands, Camp Dragonhead"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/North Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/B6-Coerthas Central Highlands, Camp Dragonhead"); - 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, "2.x - A Realm Reborn/MSQ-2/B6-Coerthas Central Highlands, Camp Dragonhead"); - 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, "2.x - A Realm Reborn/MSQ-2/B6-Coerthas Central Highlands, Camp Dragonhead"); - 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, "2.x - A Realm Reborn/MSQ-2/B6-Coerthas Central Highlands, Camp Dragonhead"); - 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, "2.x - A Realm Reborn/MSQ-2/B7-Coerthas Central Highlands, Camp Dragonhead"); - } - - 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, "2.x - A Realm Reborn/MSQ-2/B8-Coerthas Central Highlands, Inquistor"); - 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, "2.x - A Realm Reborn/MSQ-2/B8-Coerthas Central Highlands, Inquistor"); - 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, "2.x - A Realm Reborn/MSQ-2/B8-Coerthas Central Highlands, Inquistor"); - 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, "2.x - A Realm Reborn/Unlocks/Dungeons"); - 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, "2.x - A Realm Reborn/MSQ-2/B9-Coerthas Central Highlands, Whitebrim Front"); - 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, "2.x - A Realm Reborn/MSQ-2/B9-Coerthas Central Highlands, Whitebrim Front"); - 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, "2.x - A Realm Reborn/MSQ-2/C0-Coerthas Central Highlands, Whitebrim Front"); - 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, "2.x - A Realm Reborn/MSQ-2/C0-Coerthas Central Highlands, Whitebrim Front"); - 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, "2.x - A Realm Reborn/MSQ-2/C0-Coerthas Central Highlands, Whitebrim Front"); - 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, "2.x - A Realm Reborn/MSQ-2/C0-Coerthas Central Highlands, Whitebrim Front"); - } - - 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, "2.x - A Realm Reborn/MSQ-2/C1-Coerthas Central Highlands, The Enterprise"); - 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, "2.x - A Realm Reborn/MSQ-2/C1-Coerthas Central Highlands, The Enterprise"); - 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, "2.x - A Realm Reborn/MSQ-2/C1-Coerthas Central Highlands, The Enterprise"); - 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, "2.x - A Realm Reborn/MSQ-2/C1-Coerthas Central Highlands, The Enterprise"); - 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, "2.x - A Realm Reborn/MSQ-2/C1-Coerthas Central Highlands, The Enterprise"); - 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 = 10; - 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, - Mount = false - }; - 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; - span10[4] = new QuestStep(EInteractionType.Jump, null, new Vector3(317.62387f, -15.190073f, 252.21808f), 138) - { - JumpDestination = new JumpDestination - { - Position = new Vector3(313.6114f, -24.333132f, 252.43187f) - } - }; - ref QuestStep reference26 = ref span10[5]; - 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[6]; - 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[7]; - 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[8]; - 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[9]; - 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, "2.x - A Realm Reborn/MSQ-2/C2-Western La Noscea, Isles of Umbra"); - 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, "2.x - A Realm Reborn/MSQ-2/C2-Western La Noscea, Isles of Umbra"); - 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, "2.x - A Realm Reborn/MSQ-2/C2-Western La Noscea, Isles of Umbra"); - 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, "2.x - A Realm Reborn/MSQ-2/C2-Western La Noscea, Isles of Umbra"); - 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, "2.x - A Realm Reborn/MSQ-2/C2-Western La Noscea, Isles of Umbra"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Gridania"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Gridania"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Gridania"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/East Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/C3-Garuda"); - 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, "2.x - A Realm Reborn/MSQ-2/C4-Coerthas Central Highlands, Biggs and Wedge"); - 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, "2.x - A Realm Reborn/Unlocks/Dungeons"); - 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, "2.x - A Realm Reborn/MSQ-2/C4-Coerthas Central Highlands, Biggs and Wedge"); - 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, "2.x - A Realm Reborn/MSQ-2/C4-Coerthas Central Highlands, Biggs and Wedge"); - 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, "2.x - A Realm Reborn/MSQ-2/C4-Coerthas Central Highlands, Biggs and Wedge"); - 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, "2.x - A Realm Reborn/MSQ-2/C4-Coerthas Central Highlands, Biggs and Wedge"); - 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, "2.x - A Realm Reborn/MSQ-2/C4-Coerthas Central Highlands, Biggs and Wedge"); - 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, "2.x - A Realm Reborn/MSQ-2/C4-Coerthas Central Highlands, Biggs and Wedge"); - } - - 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, "2.x - A Realm Reborn/MSQ-2/C6-Mor Dhona"); - 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, "2.x - A Realm Reborn/MSQ-2/C6-Mor Dhona"); - 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, "2.x - A Realm Reborn/MSQ-2/C6-Mor Dhona"); - 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, "2.x - A Realm Reborn/MSQ-2/C6-Mor Dhona"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/South Shroud"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Side Quests/Thanalan/Southern Thanalan"); - 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, "2.x - A Realm Reborn/Side Quests/Thanalan/Southern Thanalan"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Western La Noscea"); - 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, "2.x - A Realm Reborn/MSQ-2/C9-Ultimate Weapon"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - } - - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/WAR"); - 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, "2.x - A Realm Reborn/Class Quests/PLD"); - 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, "2.x - A Realm Reborn/Class Quests/PLD"); - 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, "2.x - A Realm Reborn/Class Quests/PLD"); - 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, "2.x - A Realm Reborn/Class Quests/PLD"); - 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, "2.x - A Realm Reborn/Class Quests/PLD"); - 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, "2.x - A Realm Reborn/Class Quests/PLD"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/MNK"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/DRG"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/BLM"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/WHM"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/BRD"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Class Quests/SCH"); - 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, "2.x - A Realm Reborn/Class Quests/SCH"); - 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, "2.x - A Realm Reborn/Class Quests/SCH"); - } - - 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, "2.x - A Realm Reborn/Class Quests/SCH"); - 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, "2.x - A Realm Reborn/Class Quests/SCH"); - 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, "2.x - A Realm Reborn/Class Quests/SCH"); - 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, "2.x - A Realm Reborn/Class Quests/SMN"); - 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, "2.x - A Realm Reborn/Unlocks/PvP"); - 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, "2.x - A Realm Reborn/Unlocks/PvP"); - 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, "2.x - A Realm Reborn/Unlocks/PvP"); - 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, "2.x - A Realm Reborn/Class Quests/FSH"); - 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, "2.x - A Realm Reborn/Class Quests/FSH"); - 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, "2.x - A Realm Reborn/Class Quests/SCH"); - 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, "2.x - A Realm Reborn/Unlocks/Dungeons"); - 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, "2.x - A Realm Reborn/Unlocks/Dungeons"); - 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, "2.x - A Realm Reborn/Unlocks/Dungeons"); - 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, "2.x - A Realm Reborn/Unlocks/Dungeons"); - 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, "2.x - A Realm Reborn/Unlocks/Dungeons"); - 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, "2.x - A Realm Reborn/Unlocks/Dungeons"); - 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, "2.x - A Realm Reborn/Class Quests/FSH"); - } - - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Raid Quests"); - 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, "2.x - A Realm Reborn/Raid Quests"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/MSQ-2/E1-2.1"); - 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, "2.x - A Realm Reborn/MSQ-2/E1-2.1"); - 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, "2.x - A Realm Reborn/MSQ-2/E1-2.1"); - 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, "2.x - A Realm Reborn/MSQ-2/E1-2.1"); - 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, "2.x - A Realm Reborn/MSQ-2/E1-2.1"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Trial Quests"); - } - - 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, "2.x - A Realm Reborn/Alliance Raid Quests"); - 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, "2.x - A Realm Reborn/Alliance Raid Quests"); - 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, "2.x - A Realm Reborn/Alliance Raid Quests"); - 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, "2.x - A Realm Reborn/Alliance Raid Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Unlocks/Housing"); - 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, "2.x - A Realm Reborn/Unlocks/Housing"); - 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, "2.x - A Realm Reborn/Unlocks/Housing"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - AddQuest(new QuestId(1227), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - AddQuest(new QuestId(1234), new QuestRoot - { - Disabled = true, - Comment = "WIP too many cases", - QuestSequence = new List() - }, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - AddQuest(new QuestId(1235), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - AddQuest(new QuestId(1249), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }, "2.x - A Realm Reborn/Allied Societies/Amalj'aa/Dailies"); - } - - 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, "2.x - A Realm Reborn/Allied Societies/Sylphs/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Sylphs/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Sylphs/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sylphs/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sylphs/Dailies"); - AddQuest(new QuestId(1264), new QuestRoot - { - Disabled = true, - Comment = "This is a FATE Allied Society Quest", - QuestSequence = new List() - }, "2.x - A Realm Reborn/Allied Societies/Sylphs/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sylphs/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sylphs/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sylphs/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sylphs/Dailies"); - QuestId questId10 = new QuestId(1288); - QuestRoot questRoot10 = new QuestRoot(); - num = 1; - List list71 = new List(num); - CollectionsMarshal.SetCount(list71, num); - CollectionsMarshal.AsSpan(list71)[0] = "WigglyMuffin"; - questRoot10.Author = list71; - questRoot10.IsSeasonalQuest = true; - questRoot10.SeasonalQuestExpiry = new DateTime(2026, 7, 13, 14, 59, 0, DateTimeKind.Utc); - 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, 1005532u, new Vector3(47.3898f, 4.1f, -148.441f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahAdventurers - } - }; - 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); - ref QuestStep reference53 = ref CollectionsMarshal.AsSpan(list74)[0]; - QuestStep obj47 = new QuestStep(EInteractionType.Interact, 1005533u, new Vector3(-146.106f, 14.005f, 56.1548f), 130) - { - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.UldahAdventurers, - To = EAetheryteLocation.UldahThaumaturge - } - }; - num3 = 1; - List list75 = new List(num3); - CollectionsMarshal.SetCount(list75, num3); - CollectionsMarshal.AsSpan(list75)[0] = new DialogueChoice - { - Type = EDialogChoiceType.YesNo, - Prompt = new ExcelRef("TEXT_FESDXQ001_01288_CHOICE1Q1_100_015") - }; - obj47.DialogueChoices = list75; - reference53 = obj47; - obj46.Steps = list74; - reference52 = obj46; - ref QuestSequence reference54 = ref span36[2]; - QuestSequence obj48 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list76 = new List(num2); - CollectionsMarshal.SetCount(list76, num2); - ref QuestStep reference55 = ref CollectionsMarshal.AsSpan(list76)[0]; - QuestStep obj49 = new QuestStep(EInteractionType.Combat, null, new Vector3(-159.34824f, -30.519045f, 97.82834f), 141) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation, - EnemySpawnType = EEnemySpawnType.FateEnemies - }; - num3 = 2; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - Span span37 = CollectionsMarshal.AsSpan(list77); - span37[0] = 2309u; - span37[1] = 2310u; - obj49.KillEnemyDataIds = list77; - obj49.SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - }; - reference55 = obj49; - obj48.Steps = list76; - reference54 = obj48; - ref QuestSequence reference56 = ref span36[3]; - QuestSequence obj50 = new QuestSequence - { - Sequence = 3 - }; - num2 = 1; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - ref QuestStep reference57 = ref CollectionsMarshal.AsSpan(list78)[0]; - QuestStep obj51 = new QuestStep(EInteractionType.Combat, null, new Vector3(-159.34824f, -30.519045f, 97.82834f), 141) - { - Fly = true, - EnemySpawnType = EEnemySpawnType.FateEnemies - }; - num3 = 2; - List list79 = new List(num3); - CollectionsMarshal.SetCount(list79, num3); - Span span38 = CollectionsMarshal.AsSpan(list79); - span38[0] = 2309u; - span38[1] = 2310u; - obj51.KillEnemyDataIds = list79; - reference57 = obj51; - obj50.Steps = list78; - reference56 = obj50; - ref QuestSequence reference58 = ref span36[4]; - QuestSequence obj52 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list80 = new List(num2); - CollectionsMarshal.SetCount(list80, num2); - CollectionsMarshal.AsSpan(list80)[0] = new QuestStep(EInteractionType.CompleteQuest, 1005533u, new Vector3(-146.106f, 14.005f, 56.1548f), 130) - { - AetheryteShortcut = EAetheryteLocation.Uldah, - AethernetShortcut = new AethernetShortcut - { - From = EAetheryteLocation.Uldah, - To = EAetheryteLocation.UldahThaumaturge - } - }; - obj52.Steps = list80; - reference58 = obj52; - questRoot10.QuestSequence = list72; - AddQuest(questId10, questRoot10, "7.x - Dawntrail/Seasonal Events/Breaking Brick Mountains (2026)"); - QuestId questId11 = new QuestId(1289); - QuestRoot questRoot11 = new QuestRoot(); - num = 1; - List list81 = new List(num); - CollectionsMarshal.SetCount(list81, num); - CollectionsMarshal.AsSpan(list81)[0] = "alydev"; - questRoot11.Author = list81; - num = 5; - List list82 = new List(num); - CollectionsMarshal.SetCount(list82, num); - Span span39 = CollectionsMarshal.AsSpan(list82); - ref QuestSequence reference59 = ref span39[0]; - QuestSequence obj53 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list83 = new List(num2); - CollectionsMarshal.SetCount(list83, num2); - CollectionsMarshal.AsSpan(list83)[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 - } - } - } - }; - obj53.Steps = list83; - reference59 = obj53; - ref QuestSequence reference60 = ref span39[1]; - QuestSequence obj54 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list84 = new List(num2); - CollectionsMarshal.SetCount(list84, num2); - CollectionsMarshal.AsSpan(list84)[0] = new QuestStep(EInteractionType.Interact, 1005392u, new Vector3(210.25403f, -25.009617f, 223.71252f), 138); - obj54.Steps = list84; - reference60 = obj54; - ref QuestSequence reference61 = ref span39[2]; - QuestSequence obj55 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - ref QuestStep reference62 = ref CollectionsMarshal.AsSpan(list85)[0]; - QuestStep obj56 = new QuestStep(EInteractionType.Combat, null, new Vector3(219.21672f, -36.40546f, 321.90988f), 138) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list86 = new List(num3); - CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = 1390u; - obj56.KillEnemyDataIds = list86; - reference62 = obj56; - obj55.Steps = list85; - reference61 = obj55; - ref QuestSequence reference63 = ref span39[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, 1005393u, new Vector3(221.14893f, -36.405968f, 323.5675f), 138); - obj57.Steps = list87; - reference63 = obj57; - ref QuestSequence reference64 = ref span39[4]; - QuestSequence obj58 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - CollectionsMarshal.AsSpan(list88)[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 - } - } - } - }; - obj58.Steps = list88; - reference64 = obj58; - questRoot11.QuestSequence = list82; - AddQuest(questId11, questRoot11, "2.x - A Realm Reborn/Side Quests/La Noscea/Western La Noscea"); - QuestId questId12 = new QuestId(1290); - QuestRoot questRoot12 = new QuestRoot(); - num = 1; - List list89 = new List(num); - CollectionsMarshal.SetCount(list89, num); - CollectionsMarshal.AsSpan(list89)[0] = "alydev"; - questRoot12.Author = list89; - num = 5; - List list90 = new List(num); - CollectionsMarshal.SetCount(list90, num); - Span span40 = CollectionsMarshal.AsSpan(list90); - ref QuestSequence reference65 = ref span40[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, 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 - } - } - } - }; - obj59.Steps = list91; - reference65 = obj59; - ref QuestSequence reference66 = ref span40[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, 1005392u, new Vector3(210.25403f, -25.009617f, 223.71252f), 138); - obj60.Steps = list92; - reference66 = obj60; - ref QuestSequence reference67 = ref span40[2]; - QuestSequence obj61 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list93 = new List(num2); - CollectionsMarshal.SetCount(list93, num2); - CollectionsMarshal.AsSpan(list93)[0] = new QuestStep(EInteractionType.UseItem, 1005395u, new Vector3(523.6437f, 24.754877f, 292.37805f), 138) - { - ItemId = 2001083u - }; - obj61.Steps = list93; - reference67 = obj61; - ref QuestSequence reference68 = ref span40[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.Emote, 1005395u, new Vector3(523.6437f, 24.754877f, 292.37805f), 138) - { - Emote = EEmote.Soothe - }; - obj62.Steps = list94; - reference68 = obj62; - ref QuestSequence reference69 = ref span40[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, 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 - } - } - } - }; - obj63.Steps = list95; - reference69 = obj63; - questRoot12.QuestSequence = list90; - AddQuest(questId12, questRoot12, "2.x - A Realm Reborn/Side Quests/La Noscea/Western La Noscea"); - QuestId questId13 = new QuestId(1291); - QuestRoot questRoot13 = new QuestRoot(); - num = 1; - List list96 = new List(num); - CollectionsMarshal.SetCount(list96, num); - CollectionsMarshal.AsSpan(list96)[0] = "alydev"; - questRoot13.Author = list96; - num = 4; - List list97 = new List(num); - CollectionsMarshal.SetCount(list97, num); - Span span41 = CollectionsMarshal.AsSpan(list97); - ref QuestSequence reference70 = ref span41[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, 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 - } - } - } - }; - obj64.Steps = list98; - reference70 = obj64; - ref QuestSequence reference71 = ref span41[1]; - QuestSequence obj65 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - ref QuestStep reference72 = ref CollectionsMarshal.AsSpan(list99)[0]; - QuestStep obj66 = new QuestStep(EInteractionType.Combat, null, new Vector3(209.67606f, -16.937475f, 117.99471f), 138) - { - EnemySpawnType = EEnemySpawnType.AutoOnEnterArea - }; - num3 = 1; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - CollectionsMarshal.AsSpan(list100)[0] = 2447u; - obj66.KillEnemyDataIds = list100; - reference72 = obj66; - obj65.Steps = list99; - reference71 = obj65; - ref QuestSequence reference73 = ref span41[2]; - QuestSequence obj67 = new QuestSequence - { - Sequence = 2 - }; - num2 = 1; - List list101 = new List(num2); - CollectionsMarshal.SetCount(list101, num2); - CollectionsMarshal.AsSpan(list101)[0] = new QuestStep(EInteractionType.Interact, 1005396u, new Vector3(209.52148f, -16.919422f, 114.457886f), 138); - obj67.Steps = list101; - reference73 = obj67; - ref QuestSequence reference74 = ref span41[3]; - 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, 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 - } - } - } - }; - obj68.Steps = list102; - reference74 = obj68; - questRoot13.QuestSequence = list97; - AddQuest(questId13, questRoot13, "2.x - A Realm Reborn/Side Quests/La Noscea/Western La Noscea"); - } - - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Unlocks/Emotes/Throw"); - 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, "2.x - A Realm Reborn/Raid Quests"); - 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, "2.x - A Realm Reborn/Raid Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - AddQuest(new QuestId(1329), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - AddQuest(new QuestId(1342), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - } - - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - AddQuest(new QuestId(1368), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - AddQuest(new QuestId(1371), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - AddQuest(new QuestId(1372), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Kobolds/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - } - - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - AddQuest(new QuestId(1402), new QuestRoot - { - Disabled = true, - Comment = "Needs more testing and edge case handling", - QuestSequence = new List() - }, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Sahagin/Dailies"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Unlocks/Emotes/Harvest Dance"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Limsa"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/Side Stories/Hildibrand"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - } - - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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 = 7; - 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; - span53[5] = new QuestSequence - { - Sequence = 5 - }; - ref QuestSequence reference69 = ref span53[6]; - 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, "2.x - A Realm Reborn/Alliance Raid Quests"); - 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, "3.x - Heavensward/Side Stories/Tales of the Dragonsong War"); - 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, "3.x - Heavensward/Side Stories/Tales of the Dragonsong War"); - 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, "3.x - Heavensward/Side Stories/Tales of the Dragonsong War"); - 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, "3.x - Heavensward/Side Stories/Tales of the Dragonsong War"); - 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, "3.x - Heavensward/Side Stories/Tales of the Dragonsong War"); - 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, "3.x - Heavensward/Alliance Raid Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Story"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - } - - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - AddQuest(new QuestId(1516), new QuestRoot - { - Disabled = true, - QuestSequence = new List() - }, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Unlocks/PvP"); - 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, "2.x - A Realm Reborn/Trial Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - } - - 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, "3.x - Heavensward/Custom Deliveries/Zhloe"); - 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, "2.x - A Realm Reborn/Side Quests/Thanalan/The Waking Sands"); - 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, "4.x - Stormblood/Unlocks/The Hunt for Rathalos"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Side Quests/Black Shroud/Central Shroud"); - 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, "2.x - A Realm Reborn/Unlocks/Hunts"); - 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, "2.x - A Realm Reborn/Unlocks/Hunts"); - 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, "2.x - A Realm Reborn/Unlocks/Hunts"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Allied Societies/Ixal/Dailies"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "2.x - A Realm Reborn/Side Stories/Delivery Moogle Quests"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A1-Coerthas Western Highlands 1, Sea of Clouds 1"); - 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, "3.x - Heavensward/MSQ/A2-Raubahn"); - } - - 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, "3.x - Heavensward/MSQ/A2-Raubahn"); - 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, "3.x - Heavensward/MSQ/A2-Raubahn"); - 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, "3.x - Heavensward/MSQ/A3.1-Coerthas Western Highlands 2"); - 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, "3.x - Heavensward/MSQ/A3.1-Coerthas Western Highlands 2"); - 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, "3.x - Heavensward/MSQ/A3.1-Coerthas Western Highlands 2"); - 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, "3.x - Heavensward/MSQ/A3.1-Coerthas Western Highlands 2"); - 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, "3.x - Heavensward/MSQ/A3.1-Coerthas Western Highlands 2"); - 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, "3.x - Heavensward/MSQ/A3.1-Coerthas Western Highlands 2"); - 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, "3.x - Heavensward/MSQ/A3.1-Coerthas Western Highlands 2"); - 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, "3.x - Heavensward/MSQ/A3.2-The Dravanian Forelands"); - 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, "3.x - Heavensward/MSQ/A3.2-The Dravanian Forelands"); - 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, "3.x - Heavensward/MSQ/A3.2-The Dravanian Forelands"); - 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, "3.x - Heavensward/MSQ/A3.2-The Dravanian Forelands"); - 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, "3.x - Heavensward/MSQ/A3.2-The Dravanian Forelands"); - 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, "3.x - Heavensward/MSQ/A3.2-The Dravanian Forelands"); - 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, "3.x - Heavensward/MSQ/A3.2-The Dravanian Forelands"); - 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, "3.x - Heavensward/MSQ/A3.2-The Dravanian Forelands"); - 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, "3.x - Heavensward/MSQ/A3.2-The Dravanian Forelands"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A3.3-The Churning Mists"); - 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, "3.x - Heavensward/MSQ/A4-Ishgard"); - 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, "3.x - Heavensward/MSQ/A4-Ishgard"); - 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, "3.x - Heavensward/MSQ/A4-Ishgard"); - 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, "3.x - Heavensward/MSQ/A4-Ishgard"); - 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, "3.x - Heavensward/MSQ/A4-Ishgard"); - 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, "3.x - Heavensward/MSQ/A5-Sea of Clouds"); - 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, "3.x - Heavensward/MSQ/A5-Sea of Clouds"); - 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, "3.x - Heavensward/MSQ/A5-Sea of Clouds"); - 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, "3.x - Heavensward/MSQ/A5-Sea of Clouds"); - 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, "3.x - Heavensward/MSQ/A5-Sea of Clouds"); - 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, "3.x - Heavensward/MSQ/A5-Sea of Clouds"); - 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, "3.x - Heavensward/MSQ/A5-Sea of Clouds"); - 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, "3.x - Heavensward/MSQ/A5-Sea of Clouds"); - } - - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A6-The Dravanian Hinterlands"); - 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, "3.x - Heavensward/MSQ/A7-Azys Lla"); - 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, "3.x - Heavensward/MSQ/A7-Azys Lla"); - 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, "3.x - Heavensward/MSQ/A7-Azys Lla"); - 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, "3.x - Heavensward/MSQ/A7-Azys Lla"); - 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, "3.x - Heavensward/MSQ/A7-Azys Lla"); - 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, "3.x - Heavensward/MSQ/A7-Azys Lla"); - 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, "3.x - Heavensward/MSQ/A7-Azys Lla"); - 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, "3.x - Heavensward/Class Quests/SCH"); - 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, "3.x - Heavensward/Class Quests/SCH"); - 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, "3.x - Heavensward/Class Quests/SCH"); - 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, "3.x - Heavensward/Class Quests/SCH"); - 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, "3.x - Heavensward/Class Quests/SCH"); - 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, "3.x - Heavensward/Class Quests/SCH"); - 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, "3.x - Heavensward/Class Quests/WAR"); - 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, "3.x - Heavensward/Class Quests/BLM"); - 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, "3.x - Heavensward/Class Quests/BLM"); - 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, "3.x - Heavensward/Class Quests/BLM"); - 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, "3.x - Heavensward/Class Quests/BLM"); - 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, "3.x - Heavensward/Class Quests/BLM"); - 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, "3.x - Heavensward/Class Quests/BLM"); - 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, "3.x - Heavensward/Class Quests/NIN"); - 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, "3.x - Heavensward/Class Quests/NIN"); - 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, "3.x - Heavensward/Class Quests/NIN"); - 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, "3.x - Heavensward/Class Quests/NIN"); - 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, "3.x - Heavensward/Class Quests/NIN"); - 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, "3.x - Heavensward/Class Quests/DRG"); - 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, "3.x - Heavensward/Class Quests/DRG"); - 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, "3.x - Heavensward/Class Quests/DRG"); - 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, "3.x - Heavensward/Class Quests/DRG"); - 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, "3.x - Heavensward/Class Quests/DRG"); - 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, "3.x - Heavensward/Class Quests/DRG"); - 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, "3.x - Heavensward/Class Quests/DRG"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - } - - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "2.x - A Realm Reborn/Alliance Raid Quests"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/BRD"); - 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, "3.x - Heavensward/Class Quests/BRD"); - 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, "3.x - Heavensward/Class Quests/BRD"); - 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, "3.x - Heavensward/Class Quests/BRD"); - 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, "3.x - Heavensward/Class Quests/BRD"); - 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, "3.x - Heavensward/Class Quests/BRD"); - 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, "3.x - Heavensward/Class Quests/WHM"); - 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, "3.x - Heavensward/Class Quests/WHM"); - 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, "3.x - Heavensward/Class Quests/WHM"); - 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, "3.x - Heavensward/Class Quests/WHM"); - 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, "3.x - Heavensward/Class Quests/WHM"); - 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, "3.x - Heavensward/Class Quests/WHM"); - 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, "3.x - Heavensward/Class Quests/WHM"); - 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, "3.x - Heavensward/Side Quests/Ishgard"); - 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, "3.x - Heavensward/Aether Currents/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Aether Currents/The Sea of Clouds"); - } - - 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, "3.x - Heavensward/Aether Currents/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Aether Currents/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Side Quests/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Side Quests/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Side Quests/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Side Quests/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Side Quests/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Aether Currents/The Dravanian Forelands"); - 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, "3.x - Heavensward/Aether Currents/The Dravanian Forelands"); - 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, "3.x - Heavensward/Side Quests/The Dravanian Forelands"); - 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, "3.x - Heavensward/Side Quests/The Dravanian Forelands"); - 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, "3.x - Heavensward/Aether Currents/The Dravanian Forelands"); - } - - 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, "3.x - Heavensward/Aether Currents/The Dravanian Forelands"); - 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, "3.x - Heavensward/Aether Currents/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Aether Currents/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Aether Currents/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Aether Currents/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - } - - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/Side Quests/Ishgard"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/Ishgard"); - 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, "3.x - Heavensward/Aether Currents/The Sea of Clouds"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/The Churning Mists"); - 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, "3.x - Heavensward/Side Quests/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Side Quests/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Side Quests/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Side Quests/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Side Quests/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Side Quests/Coerthas Western Highlands"); - } - - 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, "3.x - Heavensward/Aether Currents/The Sea of Clouds"); - 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, "3.x - Heavensward/Aether Currents/The Sea of Clouds"); - 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, "3.x - Heavensward/Aether Currents/The Dravanian Hinterlands"); - 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, "3.x - Heavensward/Aether Currents/The Dravanian Hinterlands"); - 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, "3.x - Heavensward/Side Quests/The Dravanian Hinterlands"); - } - - 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, "3.x - Heavensward/Aether Currents/The Dravanian Hinterlands"); - 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, "3.x - Heavensward/Side Quests/The Dravanian Hinterlands"); - 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, "3.x - Heavensward/Side Quests/The Dravanian Hinterlands"); - 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, "3.x - Heavensward/Aether Currents/The Dravanian Hinterlands"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/Side Quests/Azys Lla"); - 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, "3.x - Heavensward/MSQ/A4-Ishgard"); - 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, "3.x - Heavensward/MSQ/A4-Ishgard"); - 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, "3.x - Heavensward/MSQ/A4-Ishgard"); - 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, "3.x - Heavensward/MSQ/A4-Ishgard"); - } - - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/AST"); - 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, "3.x - Heavensward/Class Quests/MNK"); - 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, "3.x - Heavensward/Class Quests/MNK"); - 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, "3.x - Heavensward/Class Quests/MNK"); - 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, "3.x - Heavensward/Class Quests/MNK"); - 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, "3.x - Heavensward/Class Quests/MNK"); - 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, "3.x - Heavensward/Class Quests/MNK"); - 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, "3.x - Heavensward/Class Quests/PLD"); - 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, "3.x - Heavensward/Class Quests/PLD"); - 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, "3.x - Heavensward/Class Quests/PLD"); - 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, "3.x - Heavensward/Class Quests/PLD"); - 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, "3.x - Heavensward/Class Quests/PLD"); - 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, "3.x - Heavensward/Class Quests/PLD"); - } - - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Unlocks/Collectables"); - 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, "3.x - Heavensward/Unlocks/Collectables"); - 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, "3.x - Heavensward/Unlocks/Collectables"); - } - - 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, "3.x - Heavensward/Class Quests/SMN"); - 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, "3.x - Heavensward/Class Quests/SMN"); - 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, "3.x - Heavensward/Class Quests/SMN"); - 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, "3.x - Heavensward/Class Quests/SMN"); - 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, "3.x - Heavensward/Class Quests/SMN"); - 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, "3.x - Heavensward/Class Quests/SMN"); - 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, "3.x - Heavensward/Unlocks/Instant"); - 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, "3.x - Heavensward/Unlocks/Misc"); - 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, "3.x - Heavensward/Class Quests/MCH"); - 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, "3.x - Heavensward/Class Quests/DRK"); - 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, "3.x - Heavensward/Aether Currents/Coerthas Western Highlands"); - 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, "3.x - Heavensward/Trial Quests"); - 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, "3.x - Heavensward/Trial Quests"); - 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, "3.x - Heavensward/Trial Quests"); - 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, "3.x - Heavensward/Unlocks/Misc"); - 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, "3.x - Heavensward/Unlocks/Hunts"); - 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, "3.x - Heavensward/Unlocks/Hunts"); - 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, "3.x - Heavensward/Unlocks/Hunts"); - 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, "3.x - Heavensward/Unlocks/Hunts"); - 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, "3.x - Heavensward/Class Quests/AST"); - } - - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/MSQ/B-3.1"); - 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, "3.x - Heavensward/MSQ/B-3.1"); - 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, "3.x - Heavensward/MSQ/B-3.1"); - 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, "3.x - Heavensward/MSQ/B-3.1"); - 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, "3.x - Heavensward/MSQ/B-3.1"); - 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, "3.x - Heavensward/MSQ/B-3.1"); - 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, "3.x - Heavensward/MSQ/B-3.1"); - 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, "3.x - Heavensward/MSQ/B-3.1"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Story"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Story"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Story"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Story"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Story"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Story"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Story"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - } - - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Dailies"); - 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, "3.x - Heavensward/Alliance Raid Quests"); - 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, "3.x - Heavensward/Alliance Raid Quests"); - 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, "7.x - Dawntrail/Seasonal Events/The Maiden's Rhapsody (2026)"); - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/Allied Societies/Vanu Vanu/Story"); - 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, "3.x - Heavensward/Side Stories/Hildibrand"); - 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, "3.x - Heavensward/Side Stories/Hildibrand"); - 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, "3.x - Heavensward/Side Stories/Hildibrand"); - 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, "3.x - Heavensward/Side Stories/Hildibrand"); - 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, "3.x - Heavensward/Trial Quests"); - 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, "3.x - Heavensward/MSQ/C-3.2"); - 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, "3.x - Heavensward/MSQ/C-3.2"); - 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, "3.x - Heavensward/MSQ/C-3.2"); - 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, "3.x - Heavensward/MSQ/C-3.2"); - 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, "3.x - Heavensward/MSQ/C-3.2"); - 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, "3.x - Heavensward/MSQ/C-3.2"); - 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, "3.x - Heavensward/MSQ/C-3.2"); - 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, "3.x - Heavensward/MSQ/C-3.2"); - 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, "3.x - Heavensward/MSQ/C-3.2"); - 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, "3.x - Heavensward/MSQ/C-3.2"); - 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, "3.x - Heavensward/MSQ/C-3.2"); - 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, "3.x - Heavensward/MSQ/D-3.3"); - 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, "3.x - Heavensward/MSQ/D-3.3"); - 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, "3.x - Heavensward/MSQ/D-3.3"); - 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, "3.x - Heavensward/MSQ/D-3.3"); - 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, "3.x - Heavensward/MSQ/D-3.3"); - 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, "3.x - Heavensward/MSQ/D-3.3"); - 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, "3.x - Heavensward/Raid Quests"); - } - - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Allied Societies/Vath/Story"); - 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, "3.x - Heavensward/Allied Societies/Vath/Story"); - 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, "3.x - Heavensward/Allied Societies/Vath/Story"); - 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, "3.x - Heavensward/Allied Societies/Vath/Story"); - 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, "3.x - Heavensward/Allied Societies/Vath/Story"); - 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, "3.x - Heavensward/Allied Societies/Vath/Story"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Vath/Dailies"); - 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, "3.x - Heavensward/Trial Quests"); - 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, "3.x - Heavensward/Alliance Raid Quests"); - 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, "3.x - Heavensward/Alliance Raid Quests"); - 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, "3.x - Heavensward/Trial Quests"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - } - - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Dailies"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Story"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Story"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Story"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Story"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Story"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Story"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Story"); - 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, "3.x - Heavensward/Allied Societies/Moogles/Story"); - 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, "3.x - Heavensward/Trial Quests"); - 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, "3.x - Heavensward/Trial Quests"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/Raid Quests"); - 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, "3.x - Heavensward/MSQ/E-3.4"); - 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, "3.x - Heavensward/MSQ/E-3.4"); - 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, "3.x - Heavensward/MSQ/E-3.4"); - 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, "3.x - Heavensward/MSQ/E-3.4"); - 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, "3.x - Heavensward/MSQ/E-3.4"); - 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, "3.x - Heavensward/MSQ/E-3.4"); - 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, "3.x - Heavensward/MSQ/E-3.4"); - 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, "3.x - Heavensward/MSQ/E-3.4"); - 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, "3.x - Heavensward/MSQ/E-3.4"); - } - - 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, "3.x - Heavensward/MSQ/E-3.4"); - 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, "3.x - Heavensward/MSQ/F-3.5"); - 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, "3.x - Heavensward/MSQ/F-3.5"); - 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, "3.x - Heavensward/MSQ/F-3.5"); - 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, "3.x - Heavensward/MSQ/F-3.5"); - 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, "3.x - Heavensward/MSQ/F-3.5"); - 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, "3.x - Heavensward/MSQ/G-3.56"); - 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, "3.x - Heavensward/MSQ/G-3.56"); - 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, "3.x - Heavensward/MSQ/G-3.56"); - 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, "3.x - Heavensward/MSQ/G-3.56"); - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/Side Stories/Scholasticate Quests"); - 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, "3.x - Heavensward/Side Stories/Hildibrand"); - 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, "3.x - Heavensward/Side Stories/Hildibrand"); - 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, "3.x - Heavensward/Side Stories/Hildibrand"); - 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, "3.x - Heavensward/Side Stories/Hildibrand"); - 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, "3.x - Heavensward/Alliance Raid Quests"); - 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, "3.x - Heavensward/Alliance Raid Quests"); - 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, "3.x - Heavensward/Allied Societies/Intersocietal Quests"); - 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, "3.x - Heavensward/Allied Societies/Intersocietal Quests"); - 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, "3.x - Heavensward/Allied Societies/Intersocietal Quests"); - 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, "3.x - Heavensward/Allied Societies/Intersocietal Quests"); - 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, "3.x - Heavensward/Unlocks/Dungeons"); - 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, "3.x - Heavensward/Unlocks/Misc"); - 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, "3.x - Heavensward/Trial Quests"); - 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, "3.x - Heavensward/Trial Quests"); - } - - 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, "4.x - Stormblood/Class Quests/AST"); - 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, "4.x - Stormblood/Class Quests/AST"); - 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, "4.x - Stormblood/Class Quests/AST"); - 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, "4.x - Stormblood/Class Quests/AST"); - 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, "4.x - Stormblood/Class Quests/AST"); - 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, "4.x - Stormblood/Class Quests/WHM"); - 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, "4.x - Stormblood/Class Quests/WHM"); - 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, "4.x - Stormblood/Class Quests/WHM"); - 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, "4.x - Stormblood/Class Quests/WHM"); - 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, "4.x - Stormblood/Class Quests/WHM"); - 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, "4.x - Stormblood/Class Quests/MNK"); - 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, "4.x - Stormblood/Class Quests/MNK"); - 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, "4.x - Stormblood/Class Quests/MNK"); - 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, "4.x - Stormblood/Class Quests/MNK"); - 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, "4.x - Stormblood/Class Quests/MNK"); - 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, "4.x - Stormblood/MSQ/A1.0-Rhalgr's Reach 1"); - 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, "4.x - Stormblood/MSQ/A1.0-Rhalgr's Reach 1"); - 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, "4.x - Stormblood/MSQ/A1.0-Rhalgr's Reach 1"); - 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, "4.x - Stormblood/MSQ/A1.0-Rhalgr's Reach 1"); - } - - 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, "4.x - Stormblood/MSQ/A1.0-Rhalgr's Reach 1"); - 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, "4.x - Stormblood/MSQ/A1.1-Peaks 1"); - 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, "4.x - Stormblood/MSQ/A1.1-Peaks 1"); - 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, "4.x - Stormblood/MSQ/A1.1-Peaks 1"); - 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, "4.x - Stormblood/MSQ/A1.1-Peaks 1"); - 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, "4.x - Stormblood/MSQ/A1.2-Fringes 1"); - 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, "4.x - Stormblood/MSQ/A1.2-Fringes 1"); - 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, "4.x - Stormblood/MSQ/A1.2-Fringes 1"); - 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, "4.x - Stormblood/MSQ/A1.2-Fringes 1"); - 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, "4.x - Stormblood/MSQ/A1.2-Fringes 1"); - 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, "4.x - Stormblood/MSQ/A1.2-Fringes 1"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/MSQ/A2-Kugane"); - 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, "4.x - Stormblood/MSQ/A2-Kugane"); - 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, "4.x - Stormblood/MSQ/A2-Kugane"); - 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, "4.x - Stormblood/MSQ/A2-Kugane"); - 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, "4.x - Stormblood/MSQ/A2-Kugane"); - 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, "4.x - Stormblood/MSQ/A2-Kugane"); - 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, "4.x - Stormblood/MSQ/A2-Kugane"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.2-Yanxia 1"); - 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, "4.x - Stormblood/MSQ/A3.2-Yanxia 1"); - 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, "4.x - Stormblood/MSQ/A3.2-Yanxia 1"); - 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, "4.x - Stormblood/MSQ/A3.2-Yanxia 1"); - 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, "4.x - Stormblood/MSQ/A3.2-Yanxia 1"); - 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, "4.x - Stormblood/MSQ/A3.2-Yanxia 1"); - 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, "4.x - Stormblood/MSQ/A3.2-Yanxia 1"); - 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, "4.x - Stormblood/MSQ/A3.2-Yanxia 1"); - } - - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A4-Azim Steppe"); - 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, "4.x - Stormblood/MSQ/A5-Yanxia 2"); - 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, "4.x - Stormblood/MSQ/A5-Yanxia 2"); - 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, "4.x - Stormblood/MSQ/A5-Yanxia 2"); - 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, "4.x - Stormblood/MSQ/A5-Yanxia 2"); - 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, "4.x - Stormblood/MSQ/A5-Yanxia 2"); - 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, "4.x - Stormblood/MSQ/A5-Yanxia 2"); - 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, "4.x - Stormblood/MSQ/A5-Yanxia 2"); - 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, "4.x - Stormblood/MSQ/A5-Yanxia 2"); - 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, "4.x - Stormblood/MSQ/A6.1-Fringes 2"); - 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, "4.x - Stormblood/MSQ/A6.1-Fringes 2"); - 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, "4.x - Stormblood/MSQ/A6.1-Fringes 2"); - 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, "4.x - Stormblood/MSQ/A6.1-Fringes 2"); - 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, "4.x - Stormblood/MSQ/A6.1-Fringes 2"); - 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, "4.x - Stormblood/MSQ/A6.1-Fringes 2"); - 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, "4.x - Stormblood/MSQ/A6.1-Fringes 2"); - 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, "4.x - Stormblood/MSQ/A6.1-Fringes 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A6.2-Peaks 2"); - 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, "4.x - Stormblood/MSQ/A7-Lochs"); - 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, "4.x - Stormblood/MSQ/A7-Lochs"); - } - - 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, "4.x - Stormblood/MSQ/A7-Lochs"); - 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, "4.x - Stormblood/MSQ/A7-Lochs"); - 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, "4.x - Stormblood/MSQ/A7-Lochs"); - 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, "4.x - Stormblood/MSQ/A7-Lochs"); - 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, "4.x - Stormblood/Class Quests/SAM"); - 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, "4.x - Stormblood/Class Quests/SAM"); - 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, "4.x - Stormblood/Class Quests/SAM"); - 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, "4.x - Stormblood/Class Quests/SAM"); - 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, "4.x - Stormblood/Class Quests/SAM"); - 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, "4.x - Stormblood/Class Quests/SAM"); - 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, "4.x - Stormblood/Class Quests/SAM"); - 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, "4.x - Stormblood/Class Quests/SAM"); - 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, "4.x - Stormblood/Class Quests/SAM"); - 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, "4.x - Stormblood/Class Quests/SAM"); - 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, "4.x - Stormblood/Class Quests/SAM"); - 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, "4.x - Stormblood/Class Quests/SAM"); - 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, "4.x - Stormblood/Class Quests/PLD"); - 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, "4.x - Stormblood/Class Quests/PLD"); - 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, "4.x - Stormblood/Class Quests/PLD"); - 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, "4.x - Stormblood/Class Quests/PLD"); - 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, "4.x - Stormblood/Class Quests/PLD"); - 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, "4.x - Stormblood/Class Quests/RDM"); - 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, "4.x - Stormblood/Class Quests/RDM"); - 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, "4.x - Stormblood/Class Quests/RDM"); - 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, "4.x - Stormblood/Class Quests/RDM"); - 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, "4.x - Stormblood/Class Quests/RDM"); - 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, "4.x - Stormblood/Class Quests/RDM"); - 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, "4.x - Stormblood/Class Quests/RDM"); - 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, "4.x - Stormblood/Class Quests/RDM"); - 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, "4.x - Stormblood/Class Quests/RDM"); - 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, "4.x - Stormblood/Class Quests/RDM"); - 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, "4.x - Stormblood/Class Quests/RDM"); - 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, "4.x - Stormblood/Class Quests/RDM"); - 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, "4.x - Stormblood/Class Quests/BLM"); - 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, "4.x - Stormblood/Class Quests/BLM"); - 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, "4.x - Stormblood/Class Quests/BLM"); - 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, "4.x - Stormblood/Class Quests/BLM"); - 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, "4.x - Stormblood/Class Quests/BLM"); - } - - 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, "4.x - Stormblood/Class Quests/BTN"); - 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, "4.x - Stormblood/Class Quests/BTN"); - 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, "4.x - Stormblood/Class Quests/BTN"); - 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, "4.x - Stormblood/Class Quests/SMN"); - 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, "4.x - Stormblood/Class Quests/SMN"); - 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, "4.x - Stormblood/Class Quests/SMN"); - 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, "4.x - Stormblood/Class Quests/SMN"); - 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, "4.x - Stormblood/Class Quests/SMN"); - 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, "4.x - Stormblood/MSQ/A3.2-Yanxia 1"); - 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, "4.x - Stormblood/Unlocks/Misc"); - 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, "4.x - Stormblood/Aether Currents/The Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/MSQ/A1.3-Rhalgr's Reach 2"); - 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, "4.x - Stormblood/Aether Currents/The Fringes"); - } - - 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, "4.x - Stormblood/Aether Currents/The Peaks"); - 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, "4.x - Stormblood/Aether Currents/The Fringes"); - 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, "4.x - Stormblood/Side Quests/The Fringes"); - 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, "4.x - Stormblood/Side Quests/The Fringes"); - 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, "4.x - Stormblood/Side Quests/The Fringes"); - 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, "4.x - Stormblood/Side Quests/Kugane"); - 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, "4.x - Stormblood/Side Quests/Kugane"); - 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, "4.x - Stormblood/Aether Currents/The Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/Aether Currents/The Ruby Sea"); - 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, "4.x - Stormblood/Aether Currents/The Ruby Sea"); - } - - 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, "4.x - Stormblood/Custom Deliveries/Kurenai"); - 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, "4.x - Stormblood/Custom Deliveries/Kurenai"); - 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, "4.x - Stormblood/Custom Deliveries/Kurenai"); - 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, "4.x - Stormblood/Custom Deliveries/Kurenai"); - 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, "4.x - Stormblood/Aether Currents/Yanxia"); - 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, "4.x - Stormblood/Aether Currents/Yanxia"); - 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, "4.x - Stormblood/Aether Currents/Yanxia"); - 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, "4.x - Stormblood/Aether Currents/Yanxia"); - 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, "4.x - Stormblood/Side Quests/Yanxia"); - 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, "4.x - Stormblood/Side Quests/Yanxia"); - 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, "4.x - Stormblood/Side Quests/Yanxia"); - 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, "4.x - Stormblood/Side Quests/Yanxia"); - 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, "4.x - Stormblood/Side Quests/Yanxia"); - 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, "4.x - Stormblood/Side Quests/Yanxia"); - 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, "4.x - Stormblood/Side Quests/Yanxia"); - 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, "4.x - Stormblood/Side Quests/Yanxia"); - 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, "4.x - Stormblood/Side Quests/Yanxia"); - } - - 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, "4.x - Stormblood/Side Quests/Yanxia"); - 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, "4.x - Stormblood/Side Quests/Yanxia"); - 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, "4.x - Stormblood/Custom Deliveries/Adkiragh"); - 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, "4.x - Stormblood/Aether Currents/The Azim Steppe"); - 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, "4.x - Stormblood/Aether Currents/The Azim Steppe"); - 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, "4.x - Stormblood/Aether Currents/The Azim Steppe"); - 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, "4.x - Stormblood/Aether Currents/The Azim Steppe"); - } - - 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, "4.x - Stormblood/Side Quests/Kugane"); - 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, "4.x - Stormblood/Aether Currents/The Fringes"); - 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, "4.x - Stormblood/Aether Currents/The Fringes"); - 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, "4.x - Stormblood/Side Quests/The Fringes"); - 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, "4.x - Stormblood/Side Quests/The Fringes"); - 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, "4.x - Stormblood/Side Quests/The Fringes"); - 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, "4.x - Stormblood/Side Quests/The Fringes"); - 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, "4.x - Stormblood/Side Quests/The Fringes"); - 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, "4.x - Stormblood/Aether Currents/The Peaks"); - } - - 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, "4.x - Stormblood/Aether Currents/The Peaks"); - 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, "4.x - Stormblood/Aether Currents/The Peaks"); - 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, "4.x - Stormblood/Aether Currents/The Lochs"); - 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, "4.x - Stormblood/Aether Currents/The Lochs"); - 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, "4.x - Stormblood/Aether Currents/The Lochs"); - 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, "4.x - Stormblood/Aether Currents/The Lochs"); - 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, "4.x - Stormblood/Class Quests/BRD"); - 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, "4.x - Stormblood/Class Quests/BRD"); - 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, "4.x - Stormblood/Class Quests/BRD"); - 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, "4.x - Stormblood/Class Quests/BRD"); - 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, "4.x - Stormblood/Class Quests/BRD"); - } - - 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, "4.x - Stormblood/Class Quests/WAR"); - 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, "4.x - Stormblood/Class Quests/WAR"); - 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, "4.x - Stormblood/Class Quests/WAR"); - 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, "4.x - Stormblood/Class Quests/WAR"); - 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, "4.x - Stormblood/Class Quests/WAR"); - 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, "4.x - Stormblood/Class Quests/MCH"); - 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, "4.x - Stormblood/Class Quests/MCH"); - 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, "4.x - Stormblood/Class Quests/MCH"); - 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, "4.x - Stormblood/Class Quests/MCH"); - 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, "4.x - Stormblood/Class Quests/MCH"); - 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, "4.x - Stormblood/Class Quests/DRG"); - 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, "4.x - Stormblood/Class Quests/DRG"); - 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, "4.x - Stormblood/Class Quests/DRG"); - 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, "4.x - Stormblood/Class Quests/DRG"); - 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, "4.x - Stormblood/Class Quests/DRG"); - 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, "4.x - Stormblood/Class Quests/DRK"); - 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, "4.x - Stormblood/Class Quests/DRK"); - 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, "4.x - Stormblood/Class Quests/DRK"); - 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, "4.x - Stormblood/Class Quests/DRK"); - 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, "4.x - Stormblood/Class Quests/DRK"); - 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, "4.x - Stormblood/Unlocks/Misc"); - 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, "4.x - Stormblood/Unlocks/Instant"); - 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, "4.x - Stormblood/Class Quests/SCH"); - 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, "4.x - Stormblood/Class Quests/SCH"); - 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, "4.x - Stormblood/Class Quests/SCH"); - 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, "4.x - Stormblood/Class Quests/SCH"); - 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, "4.x - Stormblood/Class Quests/SCH"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/MSQ/A3.2-Yanxia 1"); - 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, "4.x - Stormblood/MSQ/A3.2-Yanxia 1"); - 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, "4.x - Stormblood/Unlocks/Hunts"); - 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, "4.x - Stormblood/Unlocks/Hunts"); - 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, "4.x - Stormblood/Unlocks/Hunts"); - 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, "4.x - Stormblood/Unlocks/Hunts"); - 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, "4.x - Stormblood/Unlocks/Misc"); - 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, "4.x - Stormblood/Unlocks/Instant"); - 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, "4.x - Stormblood/Unlocks/Instant"); - 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, "4.x - Stormblood/MSQ/A5-Yanxia 2"); - 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, "4.x - Stormblood/MSQ/A5-Yanxia 2"); - 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, "4.x - Stormblood/Class Quests/NIN"); - 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, "4.x - Stormblood/Class Quests/NIN"); - } - - 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, "4.x - Stormblood/Class Quests/NIN"); - 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, "4.x - Stormblood/Class Quests/NIN"); - 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, "4.x - Stormblood/Class Quests/NIN"); - 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, "4.x - Stormblood/MSQ/A3.1-Ruby Sea"); - 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, "4.x - Stormblood/MSQ/A1.2-Fringes 1"); - 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, "4.x - Stormblood/MSQ/A1.2-Fringes 1"); - 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, "4.x - Stormblood/MSQ/B-4.1"); - 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, "4.x - Stormblood/MSQ/B-4.1"); - 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, "4.x - Stormblood/MSQ/B-4.1"); - 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, "4.x - Stormblood/MSQ/B-4.1"); - 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, "4.x - Stormblood/MSQ/B-4.1"); - 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, "4.x - Stormblood/MSQ/B-4.1"); - 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, "4.x - Stormblood/MSQ/B-4.1"); - 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, "4.x - Stormblood/MSQ/B-4.1"); - 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, "4.x - Stormblood/MSQ/B-4.1"); - 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, "4.x - Stormblood/MSQ/B-4.1"); - 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, "4.x - Stormblood/MSQ/B-4.1"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Story"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Story"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Story"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Story"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Story"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - } - - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Kojin/Dailies"); - 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, "4.x - Stormblood/Alliance Raid Quests"); - 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, "4.x - Stormblood/Alliance Raid Quests"); - 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, "4.x - Stormblood/Custom Deliveries/M'naago"); - 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, "4.x - Stormblood/Side Stories/Hildibrand"); - 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, "4.x - Stormblood/Trial Quests"); - 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, "4.x - Stormblood/Trial Quests"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "4.x - Stormblood/Side Stories/Hildibrand"); - 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, "4.x - Stormblood/Side Stories/Hildibrand"); - 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, "4.x - Stormblood/MSQ/C-4.2"); - 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, "4.x - Stormblood/MSQ/C-4.2"); - 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, "4.x - Stormblood/MSQ/C-4.2"); - 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, "4.x - Stormblood/MSQ/C-4.2"); - 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, "4.x - Stormblood/MSQ/C-4.2"); - 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, "4.x - Stormblood/MSQ/C-4.2"); - 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, "4.x - Stormblood/MSQ/C-4.2"); - 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, "4.x - Stormblood/MSQ/C-4.2"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Story"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Story"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Story"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Story"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Story"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Story"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - } - - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Ananta/Dailies"); - 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, "4.x - Stormblood/MSQ/D-4.3"); - 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, "4.x - Stormblood/MSQ/D-4.3"); - 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, "4.x - Stormblood/MSQ/D-4.3"); - 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, "4.x - Stormblood/MSQ/D-4.3"); - 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, "4.x - Stormblood/MSQ/D-4.3"); - 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, "4.x - Stormblood/MSQ/D-4.3"); - 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, "4.x - Stormblood/MSQ/D-4.3"); - 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, "4.x - Stormblood/Unlocks/Misc"); - 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, "2.x - A Realm Reborn/Unlocks/Gold Saucer"); - 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, "4.x - Stormblood/Side Stories/Doman Reconstruction"); - 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, "4.x - Stormblood/Side Stories/Doman Reconstruction"); - 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, "4.x - Stormblood/Alliance Raid Quests"); - 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, "4.x - Stormblood/Alliance Raid Quests"); - 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, "4.x - Stormblood/Alliance Raid Quests"); - 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, "4.x - Stormblood/Alliance Raid Quests"); - 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, "4.x - Stormblood/Side Stories/Hildibrand"); - 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, "4.x - Stormblood/Side Stories/Hildibrand"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Story"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Story"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Story"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Story"); - } - - 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, "4.x - Stormblood/Allied Societies/Namazu/Story"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Story"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Story"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Allied Societies/Namazu/Dailies"); - 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, "4.x - Stormblood/Custom Deliveries/Kurenai"); - 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, "4.x - Stormblood/Custom Deliveries/Kurenai"); - 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, "4.x - Stormblood/Side Stories/Doman Reconstruction"); - 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, "4.x - Stormblood/Unlocks/Dungeons"); - 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, "4.x - Stormblood/MSQ/E-4.4"); - 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, "4.x - Stormblood/MSQ/E-4.4"); - 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, "4.x - Stormblood/MSQ/E-4.4"); - 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, "4.x - Stormblood/MSQ/E-4.4"); - 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, "4.x - Stormblood/MSQ/E-4.4"); - 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, "4.x - Stormblood/MSQ/E-4.4"); - 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, "4.x - Stormblood/MSQ/E-4.4"); - } - - 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, "4.x - Stormblood/Side Stories/Hildibrand"); - 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, "4.x - Stormblood/Side Stories/Hildibrand"); - 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, "4.x - Stormblood/Trial Quests"); - 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, "4.x - Stormblood/Side Stories/Doman Reconstruction"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Raid Quests"); - 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, "4.x - Stormblood/Allied Societies/Intersocietal Quests"); - 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, "4.x - Stormblood/Allied Societies/Intersocietal Quests"); - 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, "4.x - Stormblood/Allied Societies/Intersocietal Quests"); - 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, "4.x - Stormblood/Allied Societies/Intersocietal Quests"); - 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, "4.x - Stormblood/Trial Quests"); - 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, "4.x - Stormblood/Trial Quests"); - 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, "4.x - Stormblood/Side Stories/Hildibrand"); - 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, "4.x - Stormblood/Side Stories/Hildibrand"); - 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, "4.x - Stormblood/Custom Deliveries/Adkiragh"); - 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, "4.x - Stormblood/Custom Deliveries/Adkiragh"); - 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, "4.x - Stormblood/MSQ/F-4.5"); - 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, "4.x - Stormblood/MSQ/F-4.5"); - 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, "4.x - Stormblood/MSQ/F-4.5"); - 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, "4.x - Stormblood/MSQ/F-4.5"); - 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, "4.x - Stormblood/MSQ/F-4.5"); - 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, "4.x - Stormblood/MSQ/H-4.55"); - 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, "4.x - Stormblood/MSQ/H-4.55"); - 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, "4.x - Stormblood/Alliance Raid Quests"); - 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, "4.x - Stormblood/Alliance Raid Quests"); - 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, "4.x - Stormblood/Alliance Raid Quests"); - 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, "4.x - Stormblood/Alliance Raid Quests"); - 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, "4.x - Stormblood/Class Quests/BLU"); - 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, "4.x - Stormblood/Class Quests/BLU"); - 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, "4.x - Stormblood/Class Quests/BLU"); - 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, "4.x - Stormblood/Class Quests/BLU"); - 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, "4.x - Stormblood/Class Quests/BLU"); - 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, "4.x - Stormblood/Class Quests/BLU"); - 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, "4.x - Stormblood/Class Quests/BLU"); - 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, "4.x - Stormblood/Class Quests/BLU"); - } - - 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, "2.x - A Realm Reborn/Unlocks/Gold Saucer"); - 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, "5.x - Shadowbringers/Class Quests/PLD"); - 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, "5.x - Shadowbringers/Class Quests/MNK"); - 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, "5.x - Shadowbringers/Class Quests/WAR"); - 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, "5.x - Shadowbringers/Class Quests/DRG"); - 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, "5.x - Shadowbringers/Class Quests/BRD"); - 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, "5.x - Shadowbringers/Class Quests/WHM"); - 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, "5.x - Shadowbringers/Class Quests/BLM"); - 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, "5.x - Shadowbringers/Class Quests/SCH"); - 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, "5.x - Shadowbringers/Class Quests/NIN"); - 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, "5.x - Shadowbringers/Class Quests/MCH"); - 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, "5.x - Shadowbringers/Class Quests/DRK"); - 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, "5.x - Shadowbringers/Class Quests/AST"); - 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, "5.x - Shadowbringers/Class Quests/SAM"); - 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, "5.x - Shadowbringers/Class Quests/RDM"); - 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, "5.x - Shadowbringers/Class Quests/GNB"); - 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, "5.x - Shadowbringers/Class Quests/DNC"); - 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, "5.x - Shadowbringers/Custom Deliveries/Crystalline Mean Quests/Facet of Forging"); - 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, "5.x - Shadowbringers/Custom Deliveries/Crystalline Mean Quests/Facet of Forging"); - 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, "5.x - Shadowbringers/Custom Deliveries/Crystalline Mean Quests/Facet of Crafting"); - 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, "5.x - Shadowbringers/Custom Deliveries/Crystalline Mean Quests/Facet of Nourishing"); - 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, "5.x - Shadowbringers/Custom Deliveries/Crystalline Mean Quests/Facet of Nourishing"); - 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, "5.x - Shadowbringers/Role Quests/Tank"); - 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, "5.x - Shadowbringers/Role Quests/Tank"); - 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, "5.x - Shadowbringers/Role Quests/Tank"); - 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, "5.x - Shadowbringers/Role Quests/Tank"); - 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, "5.x - Shadowbringers/Role Quests/Tank"); - 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, "5.x - Shadowbringers/Role Quests/Tank"); - 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, "5.x - Shadowbringers/Class Quests/DNC"); - } - - 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, "5.x - Shadowbringers/Class Quests/DNC"); - 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, "5.x - Shadowbringers/Class Quests/DNC"); - 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, "5.x - Shadowbringers/Class Quests/DNC"); - 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, "5.x - Shadowbringers/Class Quests/DNC"); - 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, "5.x - Shadowbringers/Class Quests/DNC"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Class Quests/GNB"); - 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, "5.x - Shadowbringers/Class Quests/GNB"); - 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, "5.x - Shadowbringers/Class Quests/GNB"); - 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, "5.x - Shadowbringers/Class Quests/GNB"); - 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, "5.x - Shadowbringers/Class Quests/GNB"); - 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, "5.x - Shadowbringers/Class Quests/GNB"); - 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, "5.x - Shadowbringers/Role Quests/Healer"); - 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, "5.x - Shadowbringers/Role Quests/Healer"); - 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, "5.x - Shadowbringers/Role Quests/Healer"); - 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, "5.x - Shadowbringers/Role Quests/Healer"); - 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, "5.x - Shadowbringers/Role Quests/Healer"); - 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, "5.x - Shadowbringers/Role Quests/Healer"); - 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, "5.x - Shadowbringers/Role Quests/Physical"); - 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, "5.x - Shadowbringers/Role Quests/Physical"); - 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, "5.x - Shadowbringers/Role Quests/Physical"); - 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, "5.x - Shadowbringers/Role Quests/Physical"); - 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, "5.x - Shadowbringers/Role Quests/Physical"); - 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, "5.x - Shadowbringers/Role Quests/Physical"); - 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, "5.x - Shadowbringers/MSQ/A1-Crystarium 1"); - 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, "5.x - Shadowbringers/MSQ/A1-Crystarium 1"); - 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, "5.x - Shadowbringers/MSQ/A1-Crystarium 1"); - 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, "5.x - Shadowbringers/MSQ/A2-Kholusia 1"); - 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, "5.x - Shadowbringers/MSQ/A2-Kholusia 1"); - 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, "5.x - Shadowbringers/MSQ/A2-Kholusia 1"); - 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, "5.x - Shadowbringers/MSQ/A2-Kholusia 1"); - 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, "5.x - Shadowbringers/MSQ/A2-Kholusia 1"); - 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, "5.x - Shadowbringers/MSQ/A2-Kholusia 1"); - 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, "5.x - Shadowbringers/MSQ/A2-Kholusia 1"); - 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, "5.x - Shadowbringers/MSQ/A2-Kholusia 1"); - 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, "5.x - Shadowbringers/MSQ/A2-Kholusia 1"); - 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, "5.x - Shadowbringers/MSQ/A3-Amh Araeng 1"); - 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, "5.x - Shadowbringers/MSQ/A3-Amh Araeng 1"); - 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, "5.x - Shadowbringers/MSQ/A3-Amh Araeng 1"); - 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, "5.x - Shadowbringers/MSQ/A3-Amh Araeng 1"); - 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, "5.x - Shadowbringers/MSQ/A3-Amh Araeng 1"); - 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, "5.x - Shadowbringers/MSQ/A3-Amh Araeng 1"); - 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, "5.x - Shadowbringers/MSQ/A3-Amh Araeng 1"); - 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, "5.x - Shadowbringers/MSQ/A3-Amh Araeng 1"); - 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, "5.x - Shadowbringers/MSQ/A3-Amh Araeng 1"); - } - - 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, "5.x - Shadowbringers/MSQ/A4-Crystarium 2"); - 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, "5.x - Shadowbringers/MSQ/A4-Crystarium 2"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/B-Il Mheg"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/MSQ/C-Rak'tika"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - } - - 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, "5.x - Shadowbringers/Aether Currents/Kholusia"); - 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, "5.x - Shadowbringers/Aether Currents/Kholusia"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - 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, "5.x - Shadowbringers/Aether Currents/Amh Araeng"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - 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, "5.x - Shadowbringers/Aether Currents/Lakeland"); - 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, "5.x - Shadowbringers/Aether Currents/Lakeland"); - 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, "5.x - Shadowbringers/Aether Currents/Lakeland"); - 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, "5.x - Shadowbringers/Aether Currents/Lakeland"); - 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, "5.x - Shadowbringers/Aether Currents/Il Mheg"); - 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, "5.x - Shadowbringers/Aether Currents/Il Mheg"); - } - - 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, "5.x - Shadowbringers/Aether Currents/Il Mheg"); - 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, "5.x - Shadowbringers/Aether Currents/Il Mheg"); - 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, "5.x - Shadowbringers/Aether Currents/Rak'tika"); - } - - 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, "5.x - Shadowbringers/Aether Currents/Rak'tika"); - 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, "5.x - Shadowbringers/Aether Currents/Rak'tika"); - 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, "5.x - Shadowbringers/Side Quests/The Rak'tika Greatwood"); - 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, "5.x - Shadowbringers/Side Quests/The Rak'tika Greatwood"); - 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, "5.x - Shadowbringers/Side Quests/The Rak'tika Greatwood"); - 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, "5.x - Shadowbringers/Side Quests/The Rak'tika Greatwood"); - } - - 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, "5.x - Shadowbringers/Aether Currents/Amh Araeng"); - 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, "5.x - Shadowbringers/Aether Currents/Amh Araeng"); - 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, "5.x - Shadowbringers/Side Quests/Eulmore"); - 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, "5.x - Shadowbringers/Side Quests/Eulmore"); - 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, "5.x - Shadowbringers/Side Quests/Eulmore"); - 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, "5.x - Shadowbringers/Side Quests/Eulmore"); - 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, "5.x - Shadowbringers/Side Quests/Eulmore"); - 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, "5.x - Shadowbringers/Side Quests/Eulmore"); - 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, "5.x - Shadowbringers/Side Quests/Eulmore"); - 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, "5.x - Shadowbringers/Side Quests/Eulmore"); - 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, "5.x - Shadowbringers/Side Quests/Eulmore"); - 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, "5.x - Shadowbringers/Aether Currents/Amh Araeng"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - 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, "5.x - Shadowbringers/Side Quests/Lakeland"); - 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, "5.x - Shadowbringers/Side Quests/Lakeland"); - 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, "5.x - Shadowbringers/Side Quests/Lakeland"); - 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, "5.x - Shadowbringers/Aether Currents/Kholusia"); - } - - 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, "5.x - Shadowbringers/Aether Currents/Kholusia"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - 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, "5.x - Shadowbringers/Side Quests/Crystarium"); - 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, "5.x - Shadowbringers/Aether Currents/Tempest"); - 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, "5.x - Shadowbringers/Aether Currents/Tempest"); - 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, "5.x - Shadowbringers/Aether Currents/Tempest"); - 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, "5.x - Shadowbringers/Aether Currents/Tempest"); - 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, "5.x - Shadowbringers/Unlocks/Dungeons"); - 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, "5.x - Shadowbringers/Unlocks/Dungeons"); - 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, "5.x - Shadowbringers/Unlocks/Hunts"); - 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, "5.x - Shadowbringers/Unlocks/Hunts"); - 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, "5.x - Shadowbringers/Unlocks/Hunts"); - } - - 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, "5.x - Shadowbringers/Unlocks/Hunts"); - 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, "5.x - Shadowbringers/Unlocks/Misc"); - 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, "5.x - Shadowbringers/Unlocks/Instant"); - 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, "5.x - Shadowbringers/Unlocks/Instant"); - 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, "5.x - Shadowbringers/Unlocks/Misc"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/MSQ/D-Amh Araeng 2"); - 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, "5.x - Shadowbringers/Role Quests/Magical Ranged"); - 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, "5.x - Shadowbringers/Role Quests/Magical Ranged"); - 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, "5.x - Shadowbringers/Role Quests/Magical Ranged"); - 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, "5.x - Shadowbringers/Role Quests/Magical Ranged"); - 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, "5.x - Shadowbringers/Role Quests/Magical Ranged"); - 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, "5.x - Shadowbringers/Role Quests/Magical Ranged"); - 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, "5.x - Shadowbringers/Role Quests"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/E-Kholusia 2"); - 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, "5.x - Shadowbringers/MSQ/F-Tempest"); - 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, "5.x - Shadowbringers/MSQ/F-Tempest"); - 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, "5.x - Shadowbringers/MSQ/F-Tempest"); - 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, "5.x - Shadowbringers/MSQ/F-Tempest"); - 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, "5.x - Shadowbringers/MSQ/F-Tempest"); - 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, "5.x - Shadowbringers/MSQ/F-Tempest"); - } - - 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, "5.x - Shadowbringers/MSQ/F-Tempest"); - 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, "5.x - Shadowbringers/MSQ/F-Tempest"); - 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, "5.x - Shadowbringers/MSQ/F-Tempest"); - 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, "5.x - Shadowbringers/MSQ/F-Tempest"); - 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, "5.x - Shadowbringers/MSQ/F-Tempest"); - 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, "5.x - Shadowbringers/Aether Currents/Rak'tika"); - 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, "5.x - Shadowbringers/Side Quests/The Rak'tika Greatwood"); - 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, "5.x - Shadowbringers/Side Quests/The Rak'tika Greatwood"); - 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, "5.x - Shadowbringers/Side Quests/The Rak'tika Greatwood"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "5.x - Shadowbringers/MSQ/G-5.1"); - 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, "5.x - Shadowbringers/MSQ/G-5.1"); - 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, "5.x - Shadowbringers/MSQ/G-5.1"); - 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, "5.x - Shadowbringers/MSQ/G-5.1"); - 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, "5.x - Shadowbringers/MSQ/G-5.1"); - 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, "5.x - Shadowbringers/MSQ/G-5.1"); - 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, "5.x - Shadowbringers/MSQ/G-5.1"); - 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, "5.x - Shadowbringers/MSQ/G-5.1"); - 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, "5.x - Shadowbringers/MSQ/G-5.1"); - 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, "5.x - Shadowbringers/MSQ/G-5.1"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - } - - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Pixies/Dailies"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "5.x - Shadowbringers/Custom Deliveries/Kai-Shirr"); - 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, "5.x - Shadowbringers/Side Quests/Eulmore"); - 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, "5.x - Shadowbringers/Side Quests/Eulmore"); - 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, "5.x - Shadowbringers/Class Quests/BLU"); - 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, "5.x - Shadowbringers/Class Quests/BLU"); - 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, "5.x - Shadowbringers/Class Quests/BLU"); - 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, "5.x - Shadowbringers/Class Quests/BLU"); - 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, "5.x - Shadowbringers/Class Quests/BLU"); - 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, "5.x - Shadowbringers/Class Quests/BLU"); - } - - 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, "5.x - Shadowbringers/Side Stories/Tales from the Shadows"); - 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, "5.x - Shadowbringers/MSQ/H-5.2"); - 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, "5.x - Shadowbringers/MSQ/H-5.2"); - 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, "5.x - Shadowbringers/MSQ/H-5.2"); - 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, "5.x - Shadowbringers/MSQ/H-5.2"); - 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, "5.x - Shadowbringers/MSQ/H-5.2"); - 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, "5.x - Shadowbringers/MSQ/H-5.2"); - 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, "5.x - Shadowbringers/MSQ/H-5.2"); - 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, "5.x - Shadowbringers/MSQ/H-5.2"); - 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, "5.x - Shadowbringers/MSQ/H-5.2"); - 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, "5.x - Shadowbringers/MSQ/H-5.2"); - 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, "5.x - Shadowbringers/MSQ/I-5.3"); - 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, "5.x - Shadowbringers/MSQ/I-5.3"); - 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, "5.x - Shadowbringers/MSQ/I-5.3"); - 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, "5.x - Shadowbringers/MSQ/I-5.3"); - 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, "5.x - Shadowbringers/MSQ/I-5.3"); - 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, "5.x - Shadowbringers/MSQ/I-5.3"); - 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, "5.x - Shadowbringers/MSQ/I-5.3"); - 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, "5.x - Shadowbringers/MSQ/I-5.3"); - 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, "5.x - Shadowbringers/MSQ/I-5.3"); - 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, "5.x - Shadowbringers/MSQ/I-5.3"); - 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, "5.x - Shadowbringers/MSQ/I-5.3"); - 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, "5.x - Shadowbringers/MSQ/I-5.3"); - 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, "5.x - Shadowbringers/Trial Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Story"); - } - - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Qitari/Dailies"); - 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, "5.x - Shadowbringers/Relics"); - 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, "5.x - Shadowbringers/Relics"); - 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, "5.x - Shadowbringers/Relics"); - 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, "5.x - Shadowbringers/Custom Deliveries/Ehll Tou"); - 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, "5.x - Shadowbringers/Trial Quests"); - 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, "2.x - A Realm Reborn/Class Quests/FSH"); - } - - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Ul'dah"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-1/Gridania"); - 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, "2.x - A Realm Reborn/MSQ-2/A0-Gridania to East Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A1-East Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A1-East Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A2-East Shroud to South Shroud"); - 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, "2.x - A Realm Reborn/MSQ-2/A3-South Shroud, Buscarron’s Druthers"); - 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, "2.x - A Realm Reborn/MSQ-2/A3-South Shroud, Buscarron’s Druthers"); - 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, "2.x - A Realm Reborn/MSQ-2/A3-South Shroud, Buscarron’s Druthers"); - 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, "2.x - A Realm Reborn/MSQ-2/A7-Southern Thanalan, Big Trouble in Little Ala Mhigo"); - 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, "2.x - A Realm Reborn/MSQ-2/A8-North Shroud, Murder investigation"); - 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, "2.x - A Realm Reborn/MSQ-2/B0-Company of Heroes"); - 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, "2.x - A Realm Reborn/MSQ-2/B2-Eastern La Noscea, Brayflox, Cheese and Wine"); - 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, "2.x - A Realm Reborn/MSQ-2/B5-Western Thanalan"); - 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, "2.x - A Realm Reborn/MSQ-2/B9-Coerthas Central Highlands, Whitebrim Front"); - 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, "2.x - A Realm Reborn/MSQ-2/B9-Coerthas Central Highlands, Whitebrim Front"); - 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, "2.x - A Realm Reborn/MSQ-2/C3-Garuda"); - 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, "2.x - A Realm Reborn/MSQ-2/C6-Mor Dhona"); - 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, "2.x - A Realm Reborn/MSQ-2/C9-Ultimate Weapon"); - 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, "2.x - A Realm Reborn/MSQ-2/C9-Ultimate Weapon"); - 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, "2.x - A Realm Reborn/MSQ-2/E1-2.1"); - 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, "2.x - A Realm Reborn/MSQ-2/E1-2.1"); - 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, "2.x - A Realm Reborn/MSQ-2/E1-2.1"); - 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, "2.x - A Realm Reborn/MSQ-2/E1-2.1"); - 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, "2.x - A Realm Reborn/MSQ-2/E1-2.1"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/MSQ-2/E2-2.2"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/MSQ-2/E3-2.3"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/MSQ-2/E4-2.4"); - 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, "2.x - A Realm Reborn/MSQ-2/E5-2.5"); - 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, "5.x - Shadowbringers/Custom Deliveries/Ehll Tou"); - 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, "3.x - Heavensward/Side Stories/Ishgard Restoration"); - 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, "3.x - Heavensward/Side Stories/Ishgard Restoration"); - 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, "5.x - Shadowbringers/Trial Quests"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - } - - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Story"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - 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, "5.x - Shadowbringers/Allied Societies/Dwarves/Dailies"); - } - - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Raid Quests"); - 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, "5.x - Shadowbringers/Trial Quests"); - 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, "5.x - Shadowbringers/Trial Quests"); - 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, "5.x - Shadowbringers/Role Quests"); - 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, "5.x - Shadowbringers/Side Stories/Void Quests"); - 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, "5.x - Shadowbringers/Side Stories/Void Quests"); - 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, "5.x - Shadowbringers/Side Stories/Void Quests"); - 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, "5.x - Shadowbringers/Class Quests/BLU"); - 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, "5.x - Shadowbringers/Class Quests/BLU"); - 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, "5.x - Shadowbringers/Class Quests/BLU"); - 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, "5.x - Shadowbringers/Class Quests/BLU"); - 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, "5.x - Shadowbringers/Class Quests/BLU"); - 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, "5.x - Shadowbringers/Class Quests/BLU"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - } - - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "3.x - Heavensward/Unlocks/Ishgard Restoration"); - 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, "5.x - Shadowbringers/MSQ/J-5.4"); - 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, "5.x - Shadowbringers/MSQ/J-5.4"); - 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, "5.x - Shadowbringers/MSQ/J-5.4"); - 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, "5.x - Shadowbringers/MSQ/J-5.4"); - 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, "5.x - Shadowbringers/MSQ/J-5.4"); - 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, "5.x - Shadowbringers/MSQ/J-5.4"); - 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, "5.x - Shadowbringers/MSQ/J-5.4"); - 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, "5.x - Shadowbringers/MSQ/J-5.4"); - 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, "5.x - Shadowbringers/MSQ/J-5.4"); - 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, "5.x - Shadowbringers/MSQ/J-5.4"); - 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, "5.x - Shadowbringers/Trial Quests"); - 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, "5.x - Shadowbringers/Trial Quests"); - 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, "5.x - Shadowbringers/Class Quests/SMN"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - } - - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "6.x - Endwalker/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/Alliance Raid Quests"); - 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, "5.x - Shadowbringers/MSQ/K-5.5"); - 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, "5.x - Shadowbringers/MSQ/K-5.5"); - 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, "5.x - Shadowbringers/MSQ/K-5.5"); - 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, "5.x - Shadowbringers/MSQ/K-5.5"); - 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, "5.x - Shadowbringers/MSQ/K-5.5"); - 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, "5.x - Shadowbringers/MSQ/K-5.5"); - 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, "5.x - Shadowbringers/MSQ/L-5.55"); - 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, "5.x - Shadowbringers/MSQ/L-5.55"); - 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, "5.x - Shadowbringers/MSQ/L-5.55"); - 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, "6.x - Endwalker/Class Quests/SGE"); - 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, "6.x - Endwalker/Class Quests/SGE"); - 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, "6.x - Endwalker/Class Quests/SGE"); - 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, "6.x - Endwalker/Class Quests/SGE"); - 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, "6.x - Endwalker/Class Quests/SGE"); - 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, "6.x - Endwalker/Class Quests/SGE"); - 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, "6.x - Endwalker/Class Quests/RPR"); - 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, "6.x - Endwalker/Class Quests/RPR"); - 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, "6.x - Endwalker/Class Quests/RPR"); - 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, "6.x - Endwalker/Class Quests/RPR"); - 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, "6.x - Endwalker/Class Quests/RPR"); - 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, "6.x - Endwalker/Class Quests/RPR"); - 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, "5.x - Shadowbringers/Custom Deliveries/Charlemend"); - 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, "3.x - Heavensward/Side Stories/Ishgard Restoration"); - } - - 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, "6.x - Endwalker/Role Quests/Tank"); - 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, "6.x - Endwalker/Role Quests/Tank"); - 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, "6.x - Endwalker/Role Quests/Tank"); - 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, "6.x - Endwalker/Role Quests/Tank"); - 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, "6.x - Endwalker/Role Quests/Tank"); - 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, "6.x - Endwalker/Role Quests/Tank"); - 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, "6.x - Endwalker/Role Quests/Healer"); - 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, "6.x - Endwalker/Role Quests/Healer"); - 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, "6.x - Endwalker/Role Quests/Healer"); - 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, "6.x - Endwalker/Role Quests/Healer"); - 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, "6.x - Endwalker/Role Quests/Healer"); - 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, "6.x - Endwalker/Role Quests/Healer"); - 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, "6.x - Endwalker/Role Quests/Melee"); - 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, "6.x - Endwalker/Role Quests/Melee"); - 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, "6.x - Endwalker/Role Quests/Melee"); - 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, "6.x - Endwalker/Role Quests/Melee"); - 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, "6.x - Endwalker/Role Quests/Melee"); - 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, "6.x - Endwalker/Role Quests/Melee"); - 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, "6.x - Endwalker/Role Quests/Physical Ranged"); - 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, "6.x - Endwalker/Role Quests/Physical Ranged"); - 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, "6.x - Endwalker/Role Quests/Physical Ranged"); - 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, "6.x - Endwalker/Role Quests/Physical Ranged"); - 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, "6.x - Endwalker/Role Quests/Physical Ranged"); - 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, "6.x - Endwalker/Role Quests/Physical Ranged"); - 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, "6.x - Endwalker/Role Quests/Magical Ranged"); - 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, "6.x - Endwalker/Role Quests/Magical Ranged"); - 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, "6.x - Endwalker/Role Quests/Magical Ranged"); - 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, "6.x - Endwalker/Role Quests/Magical Ranged"); - 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, "6.x - Endwalker/Role Quests/Magical Ranged"); - 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, "6.x - Endwalker/Role Quests/Magical Ranged"); - } - - 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, "6.x - Endwalker/Custom Deliveries/Studium/MIN, BTN"); - 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, "6.x - Endwalker/Custom Deliveries/Studium/MIN, BTN"); - 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, "6.x - Endwalker/Custom Deliveries/Studium/MIN, BTN"); - 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, "6.x - Endwalker/Custom Deliveries/Studium/MIN, BTN"); - 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, "6.x - Endwalker/Custom Deliveries/Studium/MIN, BTN"); - 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, "6.x - Endwalker/Custom Deliveries/Studium/MIN, BTN"); - 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, "6.x - Endwalker/Custom Deliveries/Studium/MIN, BTN"); - 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, "6.x - Endwalker/Unlocks/Misc"); - 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, "3.x - Heavensward/Unlocks/Misc"); - 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, "6.x - Endwalker/Unlocks/Misc"); - 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, "6.x - Endwalker/Unlocks/Hunts"); - 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, "6.x - Endwalker/Unlocks/Hunts"); - 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, "6.x - Endwalker/Unlocks/Hunts"); - 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, "6.x - Endwalker/Unlocks/Hunts"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - } - - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Aether Currents/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Aether Currents/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Aether Currents/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Aether Currents/Mare Lamentorum"); - 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, "6.x - Endwalker/Aether Currents/Mare Lamentorum"); - } - - 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, "6.x - Endwalker/Aether Currents/Mare Lamentorum"); - 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, "6.x - Endwalker/Aether Currents/Thavnair"); - 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, "6.x - Endwalker/Aether Currents/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Aether Currents/Elpis"); - } - - 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, "6.x - Endwalker/Aether Currents/Elpis"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "6.x - Endwalker/Aether Currents/Labyrinthos"); - 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, "6.x - Endwalker/Side Quests/Labyrinthos"); - 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, "6.x - Endwalker/Aether Currents/Labyrinthos"); - 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, "6.x - Endwalker/Side Quests/Ultima Thule"); - 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, "6.x - Endwalker/Side Quests/Ultima Thule"); - 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, "6.x - Endwalker/Side Quests/Ultima Thule"); - 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, "6.x - Endwalker/Side Quests/Ultima Thule"); - 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, "6.x - Endwalker/Side Quests/Ultima Thule"); - 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, "6.x - Endwalker/Aether Currents/Ultima Thule"); - 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, "6.x - Endwalker/Aether Currents/Ultima Thule"); - 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, "6.x - Endwalker/Side Quests/Ultima Thule"); - } - - 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, "6.x - Endwalker/Side Quests/Ultima Thule"); - 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, "6.x - Endwalker/Aether Currents/Ultima Thule"); - 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, "6.x - Endwalker/Aether Currents/Ultima Thule"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/A-Thavnair1-Labyrinthos1"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/B-Garlemald"); - 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, "6.x - Endwalker/MSQ/C-MareLamentorum"); - } - - 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, "6.x - Endwalker/MSQ/C-MareLamentorum"); - 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, "6.x - Endwalker/MSQ/C-MareLamentorum"); - 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, "6.x - Endwalker/MSQ/C-MareLamentorum"); - 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, "6.x - Endwalker/MSQ/C-MareLamentorum"); - 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, "6.x - Endwalker/MSQ/C-MareLamentorum"); - 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, "6.x - Endwalker/MSQ/C-MareLamentorum"); - 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, "6.x - Endwalker/MSQ/C-MareLamentorum"); - 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, "6.x - Endwalker/MSQ/C-MareLamentorum"); - 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, "6.x - Endwalker/MSQ/C-MareLamentorum"); - 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, "6.x - Endwalker/MSQ/D-Thavnair2"); - 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, "6.x - Endwalker/MSQ/D-Thavnair2"); - 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, "6.x - Endwalker/MSQ/D-Thavnair2"); - 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, "6.x - Endwalker/MSQ/D-Thavnair2"); - 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, "6.x - Endwalker/MSQ/D-Thavnair2"); - 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, "6.x - Endwalker/MSQ/D-Thavnair2"); - 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, "6.x - Endwalker/MSQ/D-Thavnair2"); - 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, "6.x - Endwalker/MSQ/D-Thavnair2"); - 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, "6.x - Endwalker/MSQ/D-Thavnair2"); - 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, "6.x - Endwalker/MSQ/D-Thavnair2"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/E-Elpis"); - 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, "6.x - Endwalker/MSQ/F-Labyrinthos2"); - 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, "6.x - Endwalker/MSQ/F-Labyrinthos2"); - 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, "6.x - Endwalker/MSQ/F-Labyrinthos2"); - 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, "6.x - Endwalker/MSQ/F-Labyrinthos2"); - 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, "6.x - Endwalker/MSQ/F-Labyrinthos2"); - 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, "6.x - Endwalker/MSQ/F-Labyrinthos2"); - 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, "6.x - Endwalker/MSQ/F-Labyrinthos2"); - 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, "6.x - Endwalker/MSQ/F-Labyrinthos2"); - 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, "6.x - Endwalker/MSQ/F-Labyrinthos2"); - 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, "6.x - Endwalker/MSQ/F-Labyrinthos2"); - 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, "6.x - Endwalker/MSQ/F-Labyrinthos2"); - } - - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/MSQ/G-UltimaThule"); - 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, "6.x - Endwalker/Custom Deliveries/Studium"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Aether Currents/Labyrinthos"); - 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, "6.x - Endwalker/Aether Currents/Labyrinthos"); - 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, "6.x - Endwalker/Aether Currents/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Side Quests/Thavnair"); - 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, "6.x - Endwalker/Aether Currents/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - } - - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Aether Currents/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Side Quests/Garlemald"); - 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, "6.x - Endwalker/Aether Currents/Elpis"); - 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, "6.x - Endwalker/Aether Currents/Elpis"); - 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, "6.x - Endwalker/Aether Currents/Mare Lamentorum"); - 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, "6.x - Endwalker/Side Quests/Mare Lamentorum"); - 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, "6.x - Endwalker/Side Quests/Mare Lamentorum"); - 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, "6.x - Endwalker/Side Quests/Mare Lamentorum"); - 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, "2.x - A Realm Reborn/MSQ-2/C9-Ultimate Weapon"); - 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, "2.x - A Realm Reborn/MSQ-2/C9-Ultimate Weapon"); - 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, "6.x - Endwalker/Custom Deliveries/Ameliance"); - 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, "6.x - Endwalker/MSQ/H-6.1"); - 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, "6.x - Endwalker/MSQ/H-6.1"); - 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, "6.x - Endwalker/MSQ/H-6.1"); - 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, "6.x - Endwalker/MSQ/H-6.1"); - 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, "6.x - Endwalker/MSQ/H-6.1"); - 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, "6.x - Endwalker/MSQ/H-6.1"); - 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, "6.x - Endwalker/MSQ/H-6.1"); - 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, "6.x - Endwalker/MSQ/H-6.1"); - 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, "6.x - Endwalker/MSQ/H-6.1"); - 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, "6.x - Endwalker/MSQ/H-6.1"); - 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, "6.x - Endwalker/Alliance Raid Quests"); - 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, "6.x - Endwalker/Alliance Raid Quests"); - 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, "6.x - Endwalker/Alliance Raid Quests"); - 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, "6.x - Endwalker/Alliance Raid Quests"); - 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, "6.x - Endwalker/Side Stories/Hildibrand"); - 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, "6.x - Endwalker/Side Stories/Hildibrand"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Story"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Story"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Story"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Story"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Story"); - } - - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Story"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Arkasodara/Dailies"); - 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, "6.x - Endwalker/Role Quests"); - 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, "6.x - Endwalker/Role Quests"); - 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, "6.x - Endwalker/Role Quests"); - 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, "6.x - Endwalker/Role Quests"); - 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, "6.x - Endwalker/Side Stories/Tataru's Grand Endeavor"); - 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, "6.x - Endwalker/Side Stories/Omega - Beyond the Rift"); - 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, "6.x - Endwalker/Side Stories/Omega - Beyond the Rift"); - 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, "2.x - A Realm Reborn/MSQ-2/E6-2.55"); - 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, "6.x - Endwalker/MSQ/I-6.2"); - 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, "6.x - Endwalker/MSQ/I-6.2"); - 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, "6.x - Endwalker/MSQ/I-6.2"); - 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, "6.x - Endwalker/MSQ/I-6.2"); - 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, "6.x - Endwalker/MSQ/I-6.2"); - 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, "6.x - Endwalker/MSQ/I-6.2"); - 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, "6.x - Endwalker/MSQ/I-6.2"); - 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, "6.x - Endwalker/MSQ/I-6.2"); - } - - 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, "6.x - Endwalker/MSQ/I-6.2"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Story"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Story"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Story"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Story"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Story"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Story"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Omicrons/Dailies"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Side Stories/Hildibrand"); - 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, "6.x - Endwalker/Side Stories/Hildibrand"); - 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, "6.x - Endwalker/Unlocks/Island Sanctuary"); - } - - 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, "6.x - Endwalker/Side Stories/Tataru's Grand Endeavor"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Side Stories/Tales of Newfound Adventure"); - 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, "6.x - Endwalker/Side Stories/Tales of Newfound Adventure"); - 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, "6.x - Endwalker/Side Stories/Tataru's Grand Endeavor"); - 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, "6.x - Endwalker/Alliance Raid Quests"); - 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, "6.x - Endwalker/Alliance Raid Quests"); - 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, "6.x - Endwalker/Alliance Raid Quests"); - 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, "6.x - Endwalker/Alliance Raid Quests"); - 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, "6.x - Endwalker/MSQ/J-6.3"); - 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, "6.x - Endwalker/MSQ/J-6.3"); - 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, "6.x - Endwalker/MSQ/J-6.3"); - 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, "6.x - Endwalker/MSQ/J-6.3"); - 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, "6.x - Endwalker/MSQ/J-6.3"); - 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, "6.x - Endwalker/MSQ/J-6.3"); - 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, "6.x - Endwalker/MSQ/J-6.3"); - 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, "6.x - Endwalker/MSQ/J-6.3"); - 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, "6.x - Endwalker/MSQ/J-6.3"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Story"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Story"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Story"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Story"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Story"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Story"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - } - - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Allied Societies/Loporrits/Dailies"); - 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, "6.x - Endwalker/Custom Deliveries/Anden"); - 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, "6.x - Endwalker/Custom Deliveries/Anden"); - 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, "6.x - Endwalker/Custom Deliveries/Anden"); - 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, "6.x - Endwalker/Side Stories/Hildibrand"); - 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, "6.x - Endwalker/Side Stories/Hildibrand"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/MSQ/K-6.4"); - 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, "6.x - Endwalker/MSQ/K-6.4"); - 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, "6.x - Endwalker/MSQ/K-6.4"); - 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, "6.x - Endwalker/MSQ/K-6.4"); - 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, "6.x - Endwalker/MSQ/K-6.4"); - 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, "6.x - Endwalker/MSQ/K-6.4"); - 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, "6.x - Endwalker/MSQ/K-6.4"); - 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, "6.x - Endwalker/MSQ/K-6.4"); - 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, "6.x - Endwalker/MSQ/K-6.4"); - 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, "6.x - Endwalker/MSQ/L-6.5"); - 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, "6.x - Endwalker/MSQ/L-6.5"); - 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, "6.x - Endwalker/MSQ/L-6.5"); - 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, "6.x - Endwalker/MSQ/L-6.5"); - 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, "6.x - Endwalker/MSQ/L-6.5"); - 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, "6.x - Endwalker/MSQ/L-6.5"); - } - - 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, "6.x - Endwalker/MSQ/L-6.5"); - 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, "6.x - Endwalker/MSQ/M-6.55"); - 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, "6.x - Endwalker/MSQ/M-6.55"); - 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, "6.x - Endwalker/MSQ/M-6.55"); - 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, "6.x - Endwalker/Side Stories/Hildibrand"); - 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, "6.x - Endwalker/Side Stories/Hildibrand"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "6.x - Endwalker/Side Stories/Tataru's Grand Endeavor"); - 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, "6.x - Endwalker/Side Stories/Tataru's Grand Endeavor"); - 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, "2.x - A Realm Reborn/Side Quests/La Noscea/Limsa"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Class Quests/BLU"); - 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, "6.x - Endwalker/Class Quests/BLU"); - 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, "6.x - Endwalker/Class Quests/BLU"); - 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, "6.x - Endwalker/Class Quests/BLU"); - 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, "6.x - Endwalker/Class Quests/BLU"); - 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, "6.x - Endwalker/Class Quests/BLU"); - 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, "6.x - Endwalker/Side Stories/Tales From the Calamity"); - 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, "6.x - Endwalker/Side Stories/Tales From the Calamity"); - 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, "6.x - Endwalker/Allied Societies/Allied"); - 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, "6.x - Endwalker/Allied Societies/Allied"); - 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, "6.x - Endwalker/Alliance Raid Quests"); - 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, "6.x - Endwalker/Alliance Raid Quests"); - 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, "6.x - Endwalker/Side Stories/Island Sanctuary"); - 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, "6.x - Endwalker/Side Stories/Hildibrand"); - } - - 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, "6.x - Endwalker/Side Stories/Hildibrand"); - 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, "7.x - Dawntrail/Seasonal Events/Fall Guys (2025)"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Side Quests/Radz-at-Han"); - 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, "6.x - Endwalker/Side Stories/Tataru's Grand Endeavor"); - 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, "6.x - Endwalker/Side Stories/Tataru's Grand Endeavor"); - 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, "6.x - Endwalker/Custom Deliveries/Margrat"); - 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, "6.x - Endwalker/Side Quests/Old Sharlayan"); - 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, "7.x - Dawntrail/Role Quests"); - 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, "7.x - Dawntrail/Role Quests/Tank"); - 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, "7.x - Dawntrail/Role Quests/Tank"); - 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, "7.x - Dawntrail/Role Quests/Tank"); - 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, "7.x - Dawntrail/Role Quests/Tank"); - 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, "7.x - Dawntrail/Role Quests/Tank"); - 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, "7.x - Dawntrail/Role Quests/Tank"); - 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, "7.x - Dawntrail/Role Quests/Healer"); - 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, "7.x - Dawntrail/Role Quests/Healer"); - 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, "7.x - Dawntrail/Role Quests/Healer"); - 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, "7.x - Dawntrail/Role Quests/Healer"); - 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, "7.x - Dawntrail/Role Quests/Healer"); - 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, "7.x - Dawntrail/Role Quests/Healer"); - 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, "7.x - Dawntrail/Role Quests/Melee"); - 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, "7.x - Dawntrail/Role Quests/Melee"); - 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, "7.x - Dawntrail/Role Quests/Melee"); - 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, "7.x - Dawntrail/Role Quests/Melee"); - 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, "7.x - Dawntrail/Role Quests/Melee"); - 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, "7.x - Dawntrail/Role Quests/Melee"); - 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, "7.x - Dawntrail/Role Quests/Physical Ranged"); - 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, "7.x - Dawntrail/Role Quests/Physical Ranged"); - 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, "7.x - Dawntrail/Role Quests/Physical Ranged"); - 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, "7.x - Dawntrail/Role Quests/Physical Ranged"); - 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, "7.x - Dawntrail/Role Quests/Physical Ranged"); - 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, "7.x - Dawntrail/Role Quests/Physical Ranged"); - 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, "7.x - Dawntrail/Role Quests/Magical Ranged"); - 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, "7.x - Dawntrail/Role Quests/Magical Ranged"); - 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, "7.x - Dawntrail/Role Quests/Magical Ranged"); - 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, "7.x - Dawntrail/Role Quests/Magical Ranged"); - 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, "7.x - Dawntrail/Role Quests/Magical Ranged"); - 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, "7.x - Dawntrail/Role Quests/Magical Ranged"); - 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, "7.x - Dawntrail/Class Quests/VPR"); - 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, "7.x - Dawntrail/Class Quests/VPR"); - } - - 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, "7.x - Dawntrail/Class Quests/VPR"); - 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, "7.x - Dawntrail/Class Quests/VPR"); - 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, "7.x - Dawntrail/Class Quests/VPR"); - 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, "7.x - Dawntrail/Class Quests/VPR"); - 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, "7.x - Dawntrail/Class Quests/PCT"); - 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, "7.x - Dawntrail/Class Quests/PCT"); - 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, "7.x - Dawntrail/Class Quests/PCT"); - 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, "7.x - Dawntrail/Class Quests/PCT"); - 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, "7.x - Dawntrail/Class Quests/PCT"); - 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, "7.x - Dawntrail/Class Quests/PCT"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/A-Kozama'uka1-Urqopacha1"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/B-Kozama'uka2-Urqopacha2"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - } - - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/C-Yak T'el"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/D-Shaaloani-HeritageFound1"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/E-SolutionNine-HeritageFound2"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - } - - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/MSQ/F-Living Memory"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Custom Deliveries/Wachumeqimeqi"); - 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, "7.x - Dawntrail/Custom Deliveries/Wachumeqimeqi"); - 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, "7.x - Dawntrail/Custom Deliveries/Wachumeqimeqi/MIN, BTN"); - 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, "7.x - Dawntrail/Custom Deliveries/Wachumeqimeqi/MIN, BTN"); - 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, "7.x - Dawntrail/Custom Deliveries/Wachumeqimeqi/MIN, BTN"); - 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, "7.x - Dawntrail/Custom Deliveries/Wachumeqimeqi/MIN, BTN"); - 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, "7.x - Dawntrail/Custom Deliveries/Wachumeqimeqi/MIN, BTN"); - 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, "7.x - Dawntrail/Custom Deliveries/Wachumeqimeqi/MIN, BTN"); - 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, "7.x - Dawntrail/Custom Deliveries/Wachumeqimeqi/MIN, BTN"); - } - - 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, "7.x - Dawntrail/Unlocks/Instant"); - 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, "7.x - Dawntrail/Unlocks/Misc"); - 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, "7.x - Dawntrail/Unlocks/Misc"); - 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, "7.x - Dawntrail/Unlocks/Instant"); - 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, "7.x - Dawntrail/Unlocks/Instant"); - 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, "7.x - Dawntrail/Unlocks/Instant"); - 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, "7.x - Dawntrail/Unlocks/Hunts"); - 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, "7.x - Dawntrail/Unlocks/Hunts"); - 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, "7.x - Dawntrail/Unlocks/Hunts"); - 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, "7.x - Dawntrail/Unlocks/Hunts"); - 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, "7.x - Dawntrail/Unlocks/Dungeons"); - 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, "7.x - Dawntrail/Unlocks/Dungeons"); - 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, "7.x - Dawntrail/Seasonal Events/Rising (2024)"); - 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, "7.x - Dawntrail/Seasonal Events/Rising (2024)"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Aether Currents/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Aether Currents/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - } - - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Aether Currents/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Aether Currents/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Urqopacha"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Aether Currents/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Aether Currents/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Aether Currents/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Aether Currents/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Kozama'uka"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Aether Currents/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - } - - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Aether Currents/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Aether Currents/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Aether Currents/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Yak T'el"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Aether Currents/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Aether Currents/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Aether Currents/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Aether Currents/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Shaaloani"); - 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, "7.x - Dawntrail/Side Quests/Heritage Found"); - } - - 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, "7.x - Dawntrail/Side Quests/Heritage Found"); - 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, "7.x - Dawntrail/Side Quests/Heritage Found"); - 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, "7.x - Dawntrail/Side Quests/Heritage Found"); - 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, "7.x - Dawntrail/Aether Currents/Heritage Found"); - 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, "7.x - Dawntrail/Side Quests/Heritage Found"); - 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, "7.x - Dawntrail/Side Quests/Heritage Found"); - 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, "7.x - Dawntrail/Aether Currents/Heritage Found"); - 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, "7.x - Dawntrail/Side Quests/Heritage Found"); - 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, "7.x - Dawntrail/Side Quests/Heritage Found"); - 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, "7.x - Dawntrail/Aether Currents/Heritage Found"); - 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, "7.x - Dawntrail/Aether Currents/Heritage Found"); - 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, "7.x - Dawntrail/Side Quests/Heritage Found"); - 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, "7.x - Dawntrail/Side Quests/Heritage Found"); - 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, "7.x - Dawntrail/Side Quests/Heritage Found"); - 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, "7.x - Dawntrail/Side Quests/Solution Nine"); - 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, "7.x - Dawntrail/Side Quests/Solution Nine"); - 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, "7.x - Dawntrail/Side Quests/Solution Nine"); - 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, "7.x - Dawntrail/Side Quests/Solution Nine"); - 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, "7.x - Dawntrail/Side Quests/Solution Nine"); - 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, "7.x - Dawntrail/Side Quests/Solution Nine"); - 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, "7.x - Dawntrail/Side Quests/Solution Nine"); - 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, "7.x - Dawntrail/Side Quests/Solution Nine"); - 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, "7.x - Dawntrail/Side Quests/Solution Nine"); - 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, "7.x - Dawntrail/Side Quests/Solution Nine"); - 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, "7.x - Dawntrail/Aether Currents/Living Memory"); - 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, "7.x - Dawntrail/Side Quests/Living Memory"); - 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, "7.x - Dawntrail/Aether Currents/Living Memory"); - 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, "7.x - Dawntrail/Side Quests/Living Memory"); - 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, "7.x - Dawntrail/Aether Currents/Living Memory"); - 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, "7.x - Dawntrail/Aether Currents/Living Memory"); - 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, "7.x - Dawntrail/Side Quests/Living Memory"); - 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, "7.x - Dawntrail/Side Quests/Living Memory"); - 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, "7.x - Dawntrail/Seasonal Events/Moonfire Faire (2024)"); - 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, "7.x - Dawntrail/Seasonal Events/Moonfire Faire (2024)"); - 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, "7.x - Dawntrail/Seasonal Events/All Saints' Wake (2024)"); - 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, "7.x - Dawntrail/Seasonal Events/All Saints' Wake (2024)"); - 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, "7.x - Dawntrail/Seasonal Events/Heavensturn (2025)"); - 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, "2.x - A Realm Reborn/Unlocks/Misc"); - 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, "7.x - Dawntrail/Role Quests"); - 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, "7.x - Dawntrail/Role Quests"); - 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, "7.x - Dawntrail/Role Quests"); - 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, "7.x - Dawntrail/Role Quests"); - 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, "7.x - Dawntrail/Side Stories/Hildibrand"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Story"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Story"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Story"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Story"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Story"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Story"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - } - - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Pelupelu/Dailies"); - 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, "7.x - Dawntrail/Seasonal Events/Starlight Celebration (2024)"); - 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, "7.x - Dawntrail/Seasonal Events/Starlight Celebration (2024)"); - 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, "7.x - Dawntrail/Seasonal Events/Heavensturn (2026)"); - 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, "7.x - Dawntrail/Seasonal Events/Heavensturn (2026)"); - 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, "7.x - Dawntrail/Seasonal Events/Starlight Celebration (2025)"); - 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, "7.x - Dawntrail/Alliance Raid Quests"); - 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, "7.x - Dawntrail/Alliance Raid Quests"); - 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, "7.x - Dawntrail/Alliance Raid Quests"); - 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, "7.x - Dawntrail/Alliance Raid Quests"); - 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, "7.x - Dawntrail/Seasonal Events/Little Ladies' Day (2025)"); - 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, "7.x - Dawntrail/Seasonal Events/Little Ladies' Day (2025)"); - 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, "7.x - Dawntrail/Custom Deliveries/Nitowikwe"); - 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, "7.x - Dawntrail/Custom Deliveries/Nitowikwe"); - 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, "7.x - Dawntrail/Custom Deliveries/Nitowikwe"); - 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, "7.x - Dawntrail/Seasonal Events/Hatching-tide (2025)"); - 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, "7.x - Dawntrail/Seasonal Events/Hatching-tide (2025)"); - 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, "7.x - Dawntrail/MSQ/G-7.1"); - 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, "7.x - Dawntrail/MSQ/G-7.1"); - 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, "7.x - Dawntrail/MSQ/G-7.1"); - 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, "7.x - Dawntrail/MSQ/G-7.1"); - 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, "7.x - Dawntrail/MSQ/G-7.1"); - 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, "7.x - Dawntrail/MSQ/G-7.1"); - } - - 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, "7.x - Dawntrail/MSQ/G-7.1"); - 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, "7.x - Dawntrail/Seasonal Events/Valentione's Day (2025)"); - 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, "6.x - Endwalker/Raid Quests"); - 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, "7.x - Dawntrail/Side Stories/Cosmic Exploration"); - 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, "7.x - Dawntrail/Side Stories/Cosmic Exploration"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Story"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Story"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Story"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Story"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Story"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Story"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Mamool Ja/Dailies"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Side Stories/Hildibrand"); - 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, "7.x - Dawntrail/Side Stories/Hildibrand"); - 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, "7.x - Dawntrail/Seasonal Events/Rising (2025)"); - 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, "7.x - Dawntrail/Seasonal Events/Rising (2025)"); - 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, "7.x - Dawntrail/MSQ/H-7.2"); - } - - 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, "7.x - Dawntrail/MSQ/H-7.2"); - 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, "7.x - Dawntrail/MSQ/H-7.2"); - 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, "7.x - Dawntrail/MSQ/H-7.2"); - 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, "7.x - Dawntrail/MSQ/H-7.2"); - 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, "7.x - Dawntrail/MSQ/H-7.2"); - 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, "7.x - Dawntrail/MSQ/H-7.2"); - 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, "7.x - Dawntrail/MSQ/H-7.2"); - 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, "7.x - Dawntrail/Side Quests/Tuliyollal"); - 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, "7.x - Dawntrail/Side Stories/Occult Crescent/Main Story"); - 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, "7.x - Dawntrail/Side Stories/Occult Crescent/Main Story"); - 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, "7.x - Dawntrail/Side Stories/Occult Crescent/Main Story"); - 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, "7.x - Dawntrail/Side Stories/Occult Crescent/Main Story"); - 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, "7.x - Dawntrail/Side Stories/Occult Crescent/Main Story"); - 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, "7.x - Dawntrail/Side Stories/Occult Crescent/Relics"); - 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, "7.x - Dawntrail/Seasonal Events/Moonfire Faire (2025)"); - 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, "7.x - Dawntrail/Seasonal Events/Make It Rain (2025)"); - 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, "7.x - Dawntrail/Side Stories/Cosmic Exploration"); - 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, "7.x - Dawntrail/Side Stories/Cosmic Exploration"); - 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, "7.x - Dawntrail/Seasonal Events/Valentione's Day (2026)"); - 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, "7.x - Dawntrail/Alliance Raid Quests"); - 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, "7.x - Dawntrail/Alliance Raid Quests"); - 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, "7.x - Dawntrail/Alliance Raid Quests"); - 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, "7.x - Dawntrail/Alliance Raid Quests"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Story"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Story"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Story"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Story"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Story"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Story"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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 = 1; - List list265 = new List(num); - CollectionsMarshal.SetCount(list265, num); - ref QuestSequence reference201 = ref CollectionsMarshal.AsSpan(list265)[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, 1054636u, new Vector3(506.70618f, 142.24991f, 800.2289f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj181.Steps = list266; - reference201 = obj181; - questRoot31.QuestSequence = list265; - AddQuest(questId31, questRoot31, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - QuestId questId32 = new QuestId(5338); - QuestRoot questRoot32 = new QuestRoot(); - num = 1; - List list267 = new List(num); - CollectionsMarshal.SetCount(list267, num); - CollectionsMarshal.AsSpan(list267)[0] = "CryoTechnic"; - questRoot32.Author = list267; - num = 4; - List list268 = new List(num); - CollectionsMarshal.SetCount(list268, num); - Span span94 = CollectionsMarshal.AsSpan(list268); - ref QuestSequence reference202 = ref span94[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, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho, - SkipConditions = new SkipConditions - { - AetheryteShortcutIf = new SkipAetheryteCondition - { - InSameTerritory = true - } - } - }; - obj182.Steps = list269; - reference202 = obj182; - ref QuestSequence reference203 = ref span94[1]; - QuestSequence obj183 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list270 = new List(num2); - CollectionsMarshal.SetCount(list270, num2); - CollectionsMarshal.AsSpan(list270)[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 - } - } - }; - obj183.Steps = list270; - reference203 = obj183; - ref QuestSequence reference204 = ref span94[2]; - QuestSequence obj184 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list271 = new List(num2); - CollectionsMarshal.SetCount(list271, num2); - Span span95 = CollectionsMarshal.AsSpan(list271); - span95[0] = new QuestStep(EInteractionType.Craft, null, null, 959) - { - ItemId = 46212u, - ItemCount = 3 - }; - span95[1] = new QuestStep(EInteractionType.Interact, 1055817u, new Vector3(458.15198f, 114.935f, 657.3739f), 1187); - obj184.Steps = list271; - reference204 = obj184; - ref QuestSequence reference205 = ref span94[3]; - QuestSequence obj185 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list272 = new List(num2); - CollectionsMarshal.SetCount(list272, num2); - CollectionsMarshal.AsSpan(list272)[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 - } - } - }; - obj185.Steps = list272; - reference205 = obj185; - questRoot32.QuestSequence = list268; - AddQuest(questId32, questRoot32, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - QuestId questId33 = new QuestId(5339); - QuestRoot questRoot33 = new QuestRoot(); - num = 1; - List list273 = new List(num); - CollectionsMarshal.SetCount(list273, num); - CollectionsMarshal.AsSpan(list273)[0] = "CryoTechnic"; - questRoot33.Author = list273; - num = 3; - List list274 = new List(num); - CollectionsMarshal.SetCount(list274, num); - Span span96 = CollectionsMarshal.AsSpan(list274); - ref QuestSequence reference206 = ref span96[0]; - QuestSequence obj186 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list275 = new List(num2); - CollectionsMarshal.SetCount(list275, num2); - CollectionsMarshal.AsSpan(list275)[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 - } - } - }; - obj186.Steps = list275; - reference206 = obj186; - ref QuestSequence reference207 = ref span96[1]; - QuestSequence obj187 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list276 = new List(num2); - CollectionsMarshal.SetCount(list276, num2); - Span span97 = CollectionsMarshal.AsSpan(list276); - ref QuestStep reference208 = ref span97[0]; - QuestStep obj188 = 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> list277 = new List>(num3); - CollectionsMarshal.SetCount(list277, num3); - Span> span98 = CollectionsMarshal.AsSpan(list277); - span98[0] = null; - ref List reference209 = ref span98[1]; - int num4 = 1; - List list278 = new List(num4); - CollectionsMarshal.SetCount(list278, num4); - CollectionsMarshal.AsSpan(list278)[0] = new QuestWorkValue(null, (byte)3, EQuestWorkMode.Bitwise); - reference209 = list278; - span98[2] = null; - span98[3] = null; - span98[4] = null; - span98[5] = null; - obj188.RequiredQuestVariables = list277; - reference208 = obj188; - ref QuestStep reference210 = ref span97[1]; - QuestStep obj189 = 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> list279 = new List>(num3); - CollectionsMarshal.SetCount(list279, num3); - Span> span99 = CollectionsMarshal.AsSpan(list279); - span99[0] = null; - ref List reference211 = ref span99[1]; - num4 = 1; - List list280 = new List(num4); - CollectionsMarshal.SetCount(list280, num4); - CollectionsMarshal.AsSpan(list280)[0] = new QuestWorkValue(null, (byte)1, EQuestWorkMode.Bitwise); - reference211 = list280; - span99[2] = null; - span99[3] = null; - span99[4] = null; - span99[5] = null; - obj189.RequiredQuestVariables = list279; - reference210 = obj189; - ref QuestStep reference212 = ref span97[2]; - QuestStep obj190 = 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> list281 = new List>(num3); - CollectionsMarshal.SetCount(list281, num3); - Span> span100 = CollectionsMarshal.AsSpan(list281); - span100[0] = null; - ref List reference213 = ref span100[1]; - num4 = 1; - List list282 = new List(num4); - CollectionsMarshal.SetCount(list282, num4); - CollectionsMarshal.AsSpan(list282)[0] = new QuestWorkValue(null, (byte)2, EQuestWorkMode.Bitwise); - reference213 = list282; - span100[2] = null; - span100[3] = null; - span100[4] = null; - span100[5] = null; - obj190.RequiredQuestVariables = list281; - reference212 = obj190; - obj187.Steps = list276; - reference207 = obj187; - ref QuestSequence reference214 = ref span96[2]; - QuestSequence obj191 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list283 = new List(num2); - CollectionsMarshal.SetCount(list283, num2); - CollectionsMarshal.AsSpan(list283)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - Land = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj191.Steps = list283; - reference214 = obj191; - questRoot33.QuestSequence = list274; - AddQuest(questId33, questRoot33, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - QuestId questId34 = new QuestId(5340); - QuestRoot questRoot34 = new QuestRoot(); - num = 1; - List list284 = new List(num); - CollectionsMarshal.SetCount(list284, num); - CollectionsMarshal.AsSpan(list284)[0] = "CryoTechnic"; - questRoot34.Author = list284; - num = 4; - List list285 = new List(num); - CollectionsMarshal.SetCount(list285, num); - Span span101 = CollectionsMarshal.AsSpan(list285); - ref QuestSequence reference215 = ref span101[0]; - QuestSequence obj192 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list286 = new List(num2); - CollectionsMarshal.SetCount(list286, num2); - CollectionsMarshal.AsSpan(list286)[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 - } - } - }; - obj192.Steps = list286; - reference215 = obj192; - ref QuestSequence reference216 = ref span101[1]; - QuestSequence obj193 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list287 = new List(num2); - CollectionsMarshal.SetCount(list287, num2); - Span span102 = CollectionsMarshal.AsSpan(list287); - ref QuestStep reference217 = ref span102[0]; - QuestStep obj194 = 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 list288 = new List(num3); - CollectionsMarshal.SetCount(list288, num3); - CollectionsMarshal.AsSpan(list288)[0] = 1187; - skipStepConditions18.NotInTerritory = list288; - skipConditions20.StepIf = skipStepConditions18; - obj194.SkipConditions = skipConditions20; - reference217 = obj194; - span102[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) - { - Fly = false - }; - span102[2] = new QuestStep(EInteractionType.Interact, 1055802u, new Vector3(74.75391f, 1.8866259f, 50.369995f), 1297); - obj193.Steps = list287; - reference216 = obj193; - ref QuestSequence reference218 = ref span101[2]; - QuestSequence obj195 = new QuestSequence - { - Sequence = 2 - }; - num2 = 4; - List list289 = new List(num2); - CollectionsMarshal.SetCount(list289, num2); - Span span103 = CollectionsMarshal.AsSpan(list289); - span103[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46214u, - ItemCount = 3 - }; - span103[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(68.66426f, 1.8905385f, 65.188644f), 1297); - span103[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(89.68089f, 3.372309f, 67.41638f), 1297); - span103[3] = new QuestStep(EInteractionType.Interact, 1055821u, new Vector3(88.97534f, 3.3723087f, 75.791504f), 1297); - obj195.Steps = list289; - reference218 = obj195; - ref QuestSequence reference219 = ref span101[3]; - QuestSequence obj196 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list290 = new List(num2); - CollectionsMarshal.SetCount(list290, num2); - CollectionsMarshal.AsSpan(list290)[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 - } - } - }; - obj196.Steps = list290; - reference219 = obj196; - questRoot34.QuestSequence = list285; - AddQuest(questId34, questRoot34, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - QuestId questId35 = new QuestId(5341); - QuestRoot questRoot35 = new QuestRoot(); - num = 1; - List list291 = new List(num); - CollectionsMarshal.SetCount(list291, num); - CollectionsMarshal.AsSpan(list291)[0] = "CryoTechnic"; - questRoot35.Author = list291; - num = 4; - List list292 = new List(num); - CollectionsMarshal.SetCount(list292, num); - Span span104 = CollectionsMarshal.AsSpan(list292); - ref QuestSequence reference220 = ref span104[0]; - QuestSequence obj197 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list293 = new List(num2); - CollectionsMarshal.SetCount(list293, num2); - CollectionsMarshal.AsSpan(list293)[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 - } - } - }; - obj197.Steps = list293; - reference220 = obj197; - ref QuestSequence reference221 = ref span104[1]; - QuestSequence obj198 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list294 = new List(num2); - CollectionsMarshal.SetCount(list294, num2); - Span span105 = CollectionsMarshal.AsSpan(list294); - ref QuestStep reference222 = ref span105[0]; - QuestStep obj199 = 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 list295 = new List(num3); - CollectionsMarshal.SetCount(list295, num3); - CollectionsMarshal.AsSpan(list295)[0] = 1187; - skipStepConditions19.NotInTerritory = list295; - skipConditions21.StepIf = skipStepConditions19; - obj199.SkipConditions = skipConditions21; - reference222 = obj199; - span105[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) - { - Fly = false - }; - span105[2] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(89.2292f, 3.372309f, 66.11308f), 1297); - span105[3] = new QuestStep(EInteractionType.Interact, 1055821u, new Vector3(88.97534f, 3.3723087f, 75.791504f), 1297); - obj198.Steps = list294; - reference221 = obj198; - ref QuestSequence reference223 = ref span104[2]; - QuestSequence obj200 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list296 = new List(num2); - CollectionsMarshal.SetCount(list296, num2); - Span span106 = CollectionsMarshal.AsSpan(list296); - span106[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46216u, - ItemCount = 3 - }; - span106[1] = new QuestStep(EInteractionType.Interact, 1055821u, new Vector3(88.97534f, 3.3723087f, 75.791504f), 1297); - obj200.Steps = list296; - reference223 = obj200; - ref QuestSequence reference224 = ref span104[3]; - QuestSequence obj201 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list297 = new List(num2); - CollectionsMarshal.SetCount(list297, num2); - CollectionsMarshal.AsSpan(list297)[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 - } - } - }; - obj201.Steps = list297; - reference224 = obj201; - questRoot35.QuestSequence = list292; - AddQuest(questId35, questRoot35, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - QuestId questId36 = new QuestId(5342); - QuestRoot questRoot36 = new QuestRoot(); - num = 1; - List list298 = new List(num); - CollectionsMarshal.SetCount(list298, num); - CollectionsMarshal.AsSpan(list298)[0] = "CryoTechnic"; - questRoot36.Author = list298; - num = 4; - List list299 = new List(num); - CollectionsMarshal.SetCount(list299, num); - Span span107 = CollectionsMarshal.AsSpan(list299); - ref QuestSequence reference225 = ref span107[0]; - QuestSequence obj202 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list300 = new List(num2); - CollectionsMarshal.SetCount(list300, num2); - CollectionsMarshal.AsSpan(list300)[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 - } - } - }; - obj202.Steps = list300; - reference225 = obj202; - ref QuestSequence reference226 = ref span107[1]; - QuestSequence obj203 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list301 = new List(num2); - CollectionsMarshal.SetCount(list301, num2); - ref QuestStep reference227 = ref CollectionsMarshal.AsSpan(list301)[0]; - QuestStep obj204 = 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 list302 = new List(num3); - CollectionsMarshal.SetCount(list302, num3); - CollectionsMarshal.AsSpan(list302)[0] = 1187; - skipStepConditions20.NotInTerritory = list302; - skipConditions22.StepIf = skipStepConditions20; - obj204.SkipConditions = skipConditions22; - reference227 = obj204; - obj203.Steps = list301; - reference226 = obj203; - ref QuestSequence reference228 = ref span107[2]; - QuestSequence obj205 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list303 = new List(num2); - CollectionsMarshal.SetCount(list303, num2); - Span span108 = CollectionsMarshal.AsSpan(list303); - span108[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46218u, - ItemCount = 3 - }; - span108[1] = new QuestStep(EInteractionType.Interact, 1055824u, new Vector3(520.714f, 111.135f, 608.5145f), 1187) - { - Fly = true, - Land = true - }; - obj205.Steps = list303; - reference228 = obj205; - ref QuestSequence reference229 = ref span107[3]; - QuestSequence obj206 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list304 = new List(num2); - CollectionsMarshal.SetCount(list304, num2); - CollectionsMarshal.AsSpan(list304)[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 - } - } - }; - obj206.Steps = list304; - reference229 = obj206; - questRoot36.QuestSequence = list299; - AddQuest(questId36, questRoot36, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - QuestId questId37 = new QuestId(5343); - QuestRoot questRoot37 = new QuestRoot(); - num = 1; - List list305 = new List(num); - CollectionsMarshal.SetCount(list305, num); - CollectionsMarshal.AsSpan(list305)[0] = "WigglyMuffin"; - questRoot37.Author = list305; - num = 4; - List list306 = new List(num); - CollectionsMarshal.SetCount(list306, num); - Span span109 = CollectionsMarshal.AsSpan(list306); - ref QuestSequence reference230 = ref span109[0]; - QuestSequence obj207 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list307 = new List(num2); - CollectionsMarshal.SetCount(list307, num2); - CollectionsMarshal.AsSpan(list307)[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 - } - } - }; - obj207.Steps = list307; - reference230 = obj207; - ref QuestSequence reference231 = ref span109[1]; - QuestSequence obj208 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list308 = new List(num2); - CollectionsMarshal.SetCount(list308, num2); - Span span110 = CollectionsMarshal.AsSpan(list308); - ref QuestStep reference232 = ref span110[0]; - QuestStep obj209 = 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 list309 = new List(num3); - CollectionsMarshal.SetCount(list309, num3); - CollectionsMarshal.AsSpan(list309)[0] = 1187; - skipStepConditions21.NotInTerritory = list309; - skipConditions23.StepIf = skipStepConditions21; - obj209.SkipConditions = skipConditions23; - reference232 = obj209; - span110[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(52.610603f, 0f, 68.19062f), 1297) - { - Fly = false - }; - span110[2] = new QuestStep(EInteractionType.Interact, 1055786u, new Vector3(97.24573f, 4.942853f, 198.19934f), 1297); - obj208.Steps = list308; - reference231 = obj208; - ref QuestSequence reference233 = ref span109[2]; - QuestSequence obj210 = new QuestSequence - { - Sequence = 2 - }; - num2 = 3; - List list310 = new List(num2); - CollectionsMarshal.SetCount(list310, num2); - Span span111 = CollectionsMarshal.AsSpan(list310); - ref QuestStep reference234 = ref span111[0]; - QuestStep obj211 = new QuestStep(EInteractionType.UseItem, 2014944u, new Vector3(162.2566f, 3.905f, 88.95158f), 1297) - { - ItemId = 2003777u - }; - num3 = 6; - List list311 = new List(num3); - CollectionsMarshal.SetCount(list311, num3); - Span span112 = CollectionsMarshal.AsSpan(list311); - span112[0] = null; - span112[1] = null; - span112[2] = null; - span112[3] = null; - span112[4] = null; - span112[5] = new QuestWorkValue((byte)8, null, EQuestWorkMode.Bitwise); - obj211.CompletionQuestVariablesFlags = list311; - reference234 = obj211; - ref QuestStep reference235 = ref span111[1]; - QuestStep obj212 = new QuestStep(EInteractionType.UseItem, 2014946u, new Vector3(99.3091f, 5.821984f, 15.11211f), 1297) - { - ItemId = 2003777u - }; - num3 = 6; - List list312 = new List(num3); - CollectionsMarshal.SetCount(list312, num3); - Span span113 = CollectionsMarshal.AsSpan(list312); - span113[0] = null; - span113[1] = null; - span113[2] = null; - span113[3] = null; - span113[4] = null; - span113[5] = new QuestWorkValue((byte)10, null, EQuestWorkMode.Bitwise); - obj212.CompletionQuestVariablesFlags = list312; - reference235 = obj212; - span111[2] = new QuestStep(EInteractionType.UseItem, 2014945u, new Vector3(72.99576f, 3.579935f, 29.1846f), 1297) - { - ItemId = 2003777u - }; - obj210.Steps = list310; - reference233 = obj210; - ref QuestSequence reference236 = ref span109[3]; - QuestSequence obj213 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list313 = new List(num2); - CollectionsMarshal.SetCount(list313, num2); - CollectionsMarshal.AsSpan(list313)[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 - } - } - }; - obj213.Steps = list313; - reference236 = obj213; - questRoot37.QuestSequence = list306; - AddQuest(questId37, questRoot37, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - QuestId questId38 = new QuestId(5344); - QuestRoot questRoot38 = new QuestRoot(); - num = 1; - List list314 = new List(num); - CollectionsMarshal.SetCount(list314, num); - CollectionsMarshal.AsSpan(list314)[0] = "WigglyMuffin"; - questRoot38.Author = list314; - num = 4; - List list315 = new List(num); - CollectionsMarshal.SetCount(list315, num); - Span span114 = CollectionsMarshal.AsSpan(list315); - ref QuestSequence reference237 = ref span114[0]; - QuestSequence obj214 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list316 = new List(num2); - CollectionsMarshal.SetCount(list316, num2); - CollectionsMarshal.AsSpan(list316)[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 - } - } - }; - obj214.Steps = list316; - reference237 = obj214; - ref QuestSequence reference238 = ref span114[1]; - QuestSequence obj215 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list317 = new List(num2); - CollectionsMarshal.SetCount(list317, num2); - CollectionsMarshal.AsSpan(list317)[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 - } - } - }; - obj215.Steps = list317; - reference238 = obj215; - ref QuestSequence reference239 = ref span114[2]; - QuestSequence obj216 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list318 = new List(num2); - CollectionsMarshal.SetCount(list318, num2); - Span span115 = CollectionsMarshal.AsSpan(list318); - span115[0] = new QuestStep(EInteractionType.Craft, null, null, 1187) - { - ItemId = 46220u, - ItemCount = 1 - }; - span115[1] = new QuestStep(EInteractionType.Interact, 1055787u, new Vector3(521.8126f, 111.135f, 713.4049f), 1187); - obj216.Steps = list318; - reference239 = obj216; - ref QuestSequence reference240 = ref span114[3]; - QuestSequence obj217 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list319 = new List(num2); - CollectionsMarshal.SetCount(list319, num2); - CollectionsMarshal.AsSpan(list319)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true - }; - obj217.Steps = list319; - reference240 = obj217; - questRoot38.QuestSequence = list315; - AddQuest(questId38, questRoot38, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - QuestId questId39 = new QuestId(5345); - QuestRoot questRoot39 = new QuestRoot(); - num = 1; - List list320 = new List(num); - CollectionsMarshal.SetCount(list320, num); - CollectionsMarshal.AsSpan(list320)[0] = "CryoTechnic"; - questRoot39.Author = list320; - num = 4; - List list321 = new List(num); - CollectionsMarshal.SetCount(list321, num); - Span span116 = CollectionsMarshal.AsSpan(list321); - ref QuestSequence reference241 = ref span116[0]; - QuestSequence obj218 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list322 = new List(num2); - CollectionsMarshal.SetCount(list322, num2); - CollectionsMarshal.AsSpan(list322)[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 - } - } - }; - obj218.Steps = list322; - reference241 = obj218; - ref QuestSequence reference242 = ref span116[1]; - QuestSequence obj219 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list323 = new List(num2); - CollectionsMarshal.SetCount(list323, num2); - Span span117 = CollectionsMarshal.AsSpan(list323); - ref QuestStep reference243 = ref span117[0]; - QuestStep obj220 = 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 list324 = new List(num3); - CollectionsMarshal.SetCount(list324, num3); - CollectionsMarshal.AsSpan(list324)[0] = 1187; - skipStepConditions22.NotInTerritory = list324; - skipConditions24.StepIf = skipStepConditions22; - obj220.SkipConditions = skipConditions24; - reference243 = obj220; - span117[1] = new QuestStep(EInteractionType.Interact, 1055788u, new Vector3(97.8866f, 4.942851f, 160.66211f), 1297); - obj219.Steps = list323; - reference242 = obj219; - ref QuestSequence reference244 = ref span116[2]; - QuestSequence obj221 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list325 = new List(num2); - CollectionsMarshal.SetCount(list325, num2); - Span span118 = CollectionsMarshal.AsSpan(list325); - span118[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46222u, - ItemCount = 4 - }; - span118[1] = new QuestStep(EInteractionType.Interact, 1055788u, new Vector3(97.8866f, 4.942851f, 160.66211f), 1297); - obj221.Steps = list325; - reference244 = obj221; - ref QuestSequence reference245 = ref span116[3]; - QuestSequence obj222 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list326 = new List(num2); - CollectionsMarshal.SetCount(list326, num2); - CollectionsMarshal.AsSpan(list326)[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 - } - } - }; - obj222.Steps = list326; - reference245 = obj222; - questRoot39.QuestSequence = list321; - AddQuest(questId39, questRoot39, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - QuestId questId40 = new QuestId(5346); - QuestRoot questRoot40 = new QuestRoot(); - num = 1; - List list327 = new List(num); - CollectionsMarshal.SetCount(list327, num); - CollectionsMarshal.AsSpan(list327)[0] = "WigglyMuffin"; - questRoot40.Author = list327; - num = 3; - List list328 = new List(num); - CollectionsMarshal.SetCount(list328, num); - Span span119 = CollectionsMarshal.AsSpan(list328); - ref QuestSequence reference246 = ref span119[0]; - QuestSequence obj223 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list329 = new List(num2); - CollectionsMarshal.SetCount(list329, num2); - CollectionsMarshal.AsSpan(list329)[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 - } - } - }; - obj223.Steps = list329; - reference246 = obj223; - ref QuestSequence reference247 = ref span119[1]; - QuestSequence obj224 = new QuestSequence - { - Sequence = 1 - }; - num2 = 4; - List list330 = new List(num2); - CollectionsMarshal.SetCount(list330, num2); - Span span120 = CollectionsMarshal.AsSpan(list330); - ref QuestStep reference248 = ref span120[0]; - QuestStep obj225 = new QuestStep(EInteractionType.Emote, 1055796u, new Vector3(-486.8086f, 60.107265f, 138.56714f), 1187) - { - Fly = true, - Emote = EEmote.Poke - }; - num3 = 6; - List> list331 = new List>(num3); - CollectionsMarshal.SetCount(list331, num3); - Span> span121 = CollectionsMarshal.AsSpan(list331); - span121[0] = null; - ref List reference249 = ref span121[1]; - num4 = 1; - List list332 = new List(num4); - CollectionsMarshal.SetCount(list332, num4); - CollectionsMarshal.AsSpan(list332)[0] = new QuestWorkValue((byte)3, null, EQuestWorkMode.Bitwise); - reference249 = list332; - span121[2] = null; - span121[3] = null; - span121[4] = null; - span121[5] = null; - obj225.RequiredQuestVariables = list331; - reference248 = obj225; - ref QuestStep reference250 = ref span120[1]; - QuestStep obj226 = 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> list333 = new List>(num3); - CollectionsMarshal.SetCount(list333, num3); - Span> span122 = CollectionsMarshal.AsSpan(list333); - span122[0] = null; - ref List reference251 = ref span122[1]; - num4 = 1; - List list334 = new List(num4); - CollectionsMarshal.SetCount(list334, num4); - CollectionsMarshal.AsSpan(list334)[0] = new QuestWorkValue((byte)1, null, EQuestWorkMode.Bitwise); - reference251 = list334; - span122[2] = null; - span122[3] = null; - span122[4] = null; - span122[5] = null; - obj226.RequiredQuestVariables = list333; - reference250 = obj226; - ref QuestStep reference252 = ref span120[2]; - QuestStep obj227 = new QuestStep(EInteractionType.Emote, 1055798u, new Vector3(-434.40912f, 118.59887f, 553.8567f), 1187) - { - Fly = true, - Emote = EEmote.Poke - }; - num3 = 6; - List> list335 = new List>(num3); - CollectionsMarshal.SetCount(list335, num3); - Span> span123 = CollectionsMarshal.AsSpan(list335); - span123[0] = null; - ref List reference253 = ref span123[1]; - num4 = 1; - List list336 = new List(num4); - CollectionsMarshal.SetCount(list336, num4); - CollectionsMarshal.AsSpan(list336)[0] = new QuestWorkValue((byte)4, null, EQuestWorkMode.Bitwise); - reference253 = list336; - span123[2] = null; - span123[3] = null; - span123[4] = null; - span123[5] = null; - obj227.RequiredQuestVariables = list335; - reference252 = obj227; - ref QuestStep reference254 = ref span120[3]; - QuestStep obj228 = new QuestStep(EInteractionType.Emote, 1055789u, new Vector3(509.69702f, 111.134995f, 693.78186f), 1187) - { - Fly = true, - Emote = EEmote.Poke - }; - num3 = 6; - List> list337 = new List>(num3); - CollectionsMarshal.SetCount(list337, num3); - Span> span124 = CollectionsMarshal.AsSpan(list337); - span124[0] = null; - ref List reference255 = ref span124[1]; - num4 = 1; - List list338 = new List(num4); - CollectionsMarshal.SetCount(list338, num4); - CollectionsMarshal.AsSpan(list338)[0] = new QuestWorkValue((byte)2, null, EQuestWorkMode.Bitwise); - reference255 = list338; - span124[2] = null; - span124[3] = null; - span124[4] = null; - span124[5] = null; - obj228.RequiredQuestVariables = list337; - reference254 = obj228; - obj224.Steps = list330; - reference247 = obj224; - ref QuestSequence reference256 = ref span119[2]; - QuestSequence obj229 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list339 = new List(num2); - CollectionsMarshal.SetCount(list339, num2); - CollectionsMarshal.AsSpan(list339)[0] = new QuestStep(EInteractionType.CompleteQuest, 1054635u, new Vector3(493.2173f, 142.24991f, 783.0471f), 1187) - { - Fly = true, - AetheryteShortcut = EAetheryteLocation.UrqopachaWorlarsEcho - }; - obj229.Steps = list339; - reference256 = obj229; - questRoot40.QuestSequence = list328; - AddQuest(questId40, questRoot40, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - QuestId questId41 = new QuestId(5347); - QuestRoot questRoot41 = new QuestRoot(); - num = 1; - List list340 = new List(num); - CollectionsMarshal.SetCount(list340, num); - CollectionsMarshal.AsSpan(list340)[0] = "CryoTechnic"; - questRoot41.Author = list340; - num = 4; - List list341 = new List(num); - CollectionsMarshal.SetCount(list341, num); - Span span125 = CollectionsMarshal.AsSpan(list341); - ref QuestSequence reference257 = ref span125[0]; - QuestSequence obj230 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list342 = new List(num2); - CollectionsMarshal.SetCount(list342, num2); - CollectionsMarshal.AsSpan(list342)[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 - } - } - }; - obj230.Steps = list342; - reference257 = obj230; - ref QuestSequence reference258 = ref span125[1]; - QuestSequence obj231 = new QuestSequence - { - Sequence = 1 - }; - num2 = 2; - List list343 = new List(num2); - CollectionsMarshal.SetCount(list343, num2); - Span span126 = CollectionsMarshal.AsSpan(list343); - ref QuestStep reference259 = ref span126[0]; - QuestStep obj232 = 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 list344 = new List(num3); - CollectionsMarshal.SetCount(list344, num3); - CollectionsMarshal.AsSpan(list344)[0] = 1187; - skipStepConditions23.NotInTerritory = list344; - skipConditions25.StepIf = skipStepConditions23; - obj232.SkipConditions = skipConditions25; - reference259 = obj232; - span126[1] = new QuestStep(EInteractionType.Interact, 1055790u, new Vector3(124.98657f, 3.9429288f, 184.6189f), 1297); - obj231.Steps = list343; - reference258 = obj231; - ref QuestSequence reference260 = ref span125[2]; - QuestSequence obj233 = new QuestSequence - { - Sequence = 2 - }; - num2 = 2; - List list345 = new List(num2); - CollectionsMarshal.SetCount(list345, num2); - Span span127 = CollectionsMarshal.AsSpan(list345); - span127[0] = new QuestStep(EInteractionType.Craft, null, null, 1297) - { - ItemId = 46224u, - ItemCount = 2 - }; - span127[1] = new QuestStep(EInteractionType.Interact, 1055790u, new Vector3(124.98657f, 3.9429288f, 184.6189f), 1297); - obj233.Steps = list345; - reference260 = obj233; - ref QuestSequence reference261 = ref span125[3]; - QuestSequence obj234 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list346 = new List(num2); - CollectionsMarshal.SetCount(list346, num2); - CollectionsMarshal.AsSpan(list346)[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 - } - } - }; - obj234.Steps = list346; - reference261 = obj234; - questRoot41.QuestSequence = list341; - AddQuest(questId41, questRoot41, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - QuestId questId42 = new QuestId(5348); - QuestRoot questRoot42 = new QuestRoot(); - num = 1; - List list347 = new List(num); - CollectionsMarshal.SetCount(list347, num); - CollectionsMarshal.AsSpan(list347)[0] = "CryoTechnic"; - questRoot42.Author = list347; - num = 3; - List list348 = new List(num); - CollectionsMarshal.SetCount(list348, num); - Span span128 = CollectionsMarshal.AsSpan(list348); - ref QuestSequence reference262 = ref span128[0]; - QuestSequence obj235 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list349 = new List(num2); - CollectionsMarshal.SetCount(list349, num2); - CollectionsMarshal.AsSpan(list349)[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 - } - } - }; - obj235.Steps = list349; - reference262 = obj235; - ref QuestSequence reference263 = ref span128[1]; - QuestSequence obj236 = new QuestSequence - { - Sequence = 1 - }; - num2 = 1; - List list350 = new List(num2); - CollectionsMarshal.SetCount(list350, num2); - CollectionsMarshal.AsSpan(list350)[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 - } - } - }; - obj236.Steps = list350; - reference263 = obj236; - ref QuestSequence reference264 = ref span128[2]; - QuestSequence obj237 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 2; - List list351 = new List(num2); - CollectionsMarshal.SetCount(list351, num2); - Span span129 = CollectionsMarshal.AsSpan(list351); - span129[0] = new QuestStep(EInteractionType.Craft, null, null, 1187) - { - ItemId = 46226u, - ItemCount = 1 - }; - span129[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 - } - } - }; - obj237.Steps = list351; - reference264 = obj237; - questRoot42.QuestSequence = list348; - AddQuest(questId42, questRoot42, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - QuestId questId43 = new QuestId(5349); - QuestRoot questRoot43 = new QuestRoot(); - num = 1; - List list352 = new List(num); - CollectionsMarshal.SetCount(list352, num); - CollectionsMarshal.AsSpan(list352)[0] = "CryoTechnic"; - questRoot43.Author = list352; - num = 3; - List list353 = new List(num); - CollectionsMarshal.SetCount(list353, num); - Span span130 = CollectionsMarshal.AsSpan(list353); - ref QuestSequence reference265 = ref span130[0]; - QuestSequence obj238 = new QuestSequence - { - Sequence = 0 - }; - num2 = 1; - List list354 = new List(num2); - CollectionsMarshal.SetCount(list354, num2); - CollectionsMarshal.AsSpan(list354)[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 - } - } - }; - obj238.Steps = list354; - reference265 = obj238; - ref QuestSequence reference266 = ref span130[1]; - QuestSequence obj239 = new QuestSequence - { - Sequence = 1 - }; - num2 = 3; - List list355 = new List(num2); - CollectionsMarshal.SetCount(list355, num2); - Span span131 = CollectionsMarshal.AsSpan(list355); - span131[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" - } - }; - span131[1] = new QuestStep(EInteractionType.WalkTo, null, new Vector3(145.29918f, 34.203415f, 104.64879f), 1187) - { - Fly = true, - Land = true - }; - span131[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" - } - }; - obj239.Steps = list355; - reference266 = obj239; - ref QuestSequence reference267 = ref span130[2]; - QuestSequence obj240 = new QuestSequence - { - Sequence = byte.MaxValue - }; - num2 = 1; - List list356 = new List(num2); - CollectionsMarshal.SetCount(list356, num2); - CollectionsMarshal.AsSpan(list356)[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 - } - } - } - }; - obj240.Steps = list356; - reference267 = obj240; - questRoot43.QuestSequence = list353; - AddQuest(questId43, questRoot43, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - } - - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/Allied Societies/Yok Huy/Dailies"); - 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, "7.x - Dawntrail/MSQ/I-7.3"); - 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, "7.x - Dawntrail/MSQ/I-7.3"); - 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, "7.x - Dawntrail/MSQ/I-7.3"); - 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, "7.x - Dawntrail/MSQ/I-7.3"); - 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, "7.x - Dawntrail/MSQ/I-7.3"); - 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, "7.x - Dawntrail/MSQ/I-7.3"); - 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, "7.x - Dawntrail/MSQ/I-7.3"); - 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, "7.x - Dawntrail/MSQ/I-7.3"); - 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, "7.x - Dawntrail/MSQ/I-7.3"); - 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, "7.x - Dawntrail/MSQ/I-7.3"); - 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, "7.x - Dawntrail/Unlocks/Monster Hunter Wilds"); - 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, "7.x - Dawntrail/Seasonal Events/All Saints' Wake (2025)"); - 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, "7.x - Dawntrail/Seasonal Events/All Saints' Wake (2025)"); - 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, "7.x - Dawntrail/Side Stories/Hildibrand"); - 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, "7.x - Dawntrail/Side Stories/Hildibrand"); - 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, "7.x - Dawntrail/Side Stories/Occult Crescent/Relics"); - 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, "7.x - Dawntrail/Side Stories/Occult Crescent/Relics"); - 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, "7.x - Dawntrail/Side Stories/Occult Crescent/Relics"); - } - - 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, "7.x - Dawntrail/Unlocks/Deep Dungeon"); - 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, "7.x - Dawntrail/Unlocks/Deep Dungeon"); - 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, "7.x - Dawntrail/Unlocks/Deep Dungeon"); - 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, "7.x - Dawntrail/Side Stories/Cosmic Exploration"); - 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, "7.x - Dawntrail/Side Stories/Cosmic Exploration"); - 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, "7.x - Dawntrail/Side Stories/Cosmic Exploration"); - 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, "7.x - Dawntrail/Side Stories/Cosmic Exploration"); - 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, "7.x - Dawntrail/Side Stories/Cosmic Exploration"); - 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, "7.x - Dawntrail/Side Stories/Cosmic Exploration"); - 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, "7.x - Dawntrail/Seasonal Events/Hatching-tide (2026)"); - 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, "7.x - Dawntrail/MSQ/J-7.4"); - 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, "7.x - Dawntrail/MSQ/J-7.4"); - 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, "7.x - Dawntrail/MSQ/J-7.4"); - 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, "7.x - Dawntrail/MSQ/J-7.4"); - 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, "7.x - Dawntrail/MSQ/J-7.4"); - 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, "7.x - Dawntrail/MSQ/J-7.4"); - 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, "7.x - Dawntrail/MSQ/J-7.4"); - 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, "7.x - Dawntrail/MSQ/J-7.4"); - 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, "7.x - Dawntrail/MSQ/J-7.4"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Raid Quests"); - 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, "7.x - Dawntrail/Seasonal Events/Make It Rain (2026)"); - 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, "7.x - Dawntrail/Seasonal Events/Little Ladies' Day (2026)"); - 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, "7.x - Dawntrail/Seasonal Events/Little Ladies' Day (2026)"); + return null; } - private static void LoadQuests109() + [MethodImpl(MethodImplOptions.NoInlining)] + private static IReadOnlyDictionary LoadQuests() { - 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 + Stopwatch stopwatch = _200B_200E_200D_200D_202B_206F_200E_202A_206E_206E_202A_206B_202B_202E_206C_200E_202A_200B_206E_200C_202A_200D_200C_200F_206E_206F_200C_206B_200E_200F_206B_206B_206F_202E_202B_206F_206C_200B_202B_202E(); + Stream stream = _200E_200D_206A_200C_200B_200B_206F_200B_206D_206E_202A_206A_202A_202B_202E_206B_206F_200B_202A_202E_202B_206F_200C_202E_202E_206E_202D_200D_202B_202C_200B_200C_202A_200B_206A_206B_206F_200B_200E_202E(_202C_202D_200C_206D_202A_200E_200C_206B_206B_206B_206B_206B_206B_202D_206B_206E_206C_200D_206F_202B_200C_206B_202D_202A_206B_200F_202E_200E_200B_206F_200C_200F_206D_202D_200F_206D_206C_202B_206C_206C_202E(_202D_202C_202A_206B_202E_206C_206E_206B_200B_202A_200D_200D_202A_202A_206D_206C_200F_202C_206A_202D_200F_202B_202E_202E_206D_202E_206F_202E_200D_200F_206C_200E_202E_200E_206E_200E_202D_202D_206C_206F_202E(typeof(AssemblyQuestLoader).TypeHandle)), global::_003CModule_003E._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(-1192865642)); + try { - 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, "7.x - Dawntrail/MSQ/K-7.5"); - 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, "7.x - Dawntrail/MSQ/K-7.5"); - 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, "7.x - Dawntrail/MSQ/K-7.5"); - 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, "7.x - Dawntrail/MSQ/K-7.5"); - 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, "7.x - Dawntrail/MSQ/K-7.5"); - 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, "7.x - Dawntrail/Alliance Raid Quests"); - 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 + byte[] array = PathBundleSecret.Key(); + List> list = PathBundle.Deserialize(stream, array); + _206E_200C_206B_206D_206B_202E_206E_200F_202B_200C_200F_202D_202B_200E_206E_206D_202B_206C_200E_202E_202C_200B_202B_206F_202E_206B_202A_202C_200D_206A_200D_200B_206D_206B_206E_200B_202D_202E_206F_206D_202E((Span)array); + Dictionary dictionary = new Dictionary(list.Count); + using (List>.Enumerator enumerator = list.GetEnumerator()) { - AetheryteShortcutIf = new SkipAetheryteCondition + int num = -221038175; + while (true) { - InSameTerritory = true + int num2 = num; + int num3 = -221038175; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = (enumerator.MoveNext() ? (-221038176) : (-221038174)); + break; + case 1: + var (text2, value) = (KeyValuePair)(ref enumerator.Current); + dictionary[_200D_206F_200D_206E_200B_202D_206C_206A_202E_200C_206B_200D_200C_206D_200E_202C_206C_200E_206E_202D_200C_202C_200F_200E_202B_206E_206F_206E_200C_206C_202A_206A_206F_200E_202D_200E_206F_206E_206B_206F_202E(text2)] = value; + num = -221038175; + break; + case 2: + num = -221038175; + break; + case 3: + goto end_IL_005c; + } + continue; + end_IL_005c: + break; } } - }; - 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) + DecodeDuration = _202A_206C_200C_202D_202A_202E_202C_206E_206E_206E_202C_202D_202B_200C_200F_200F_202E_206D_200D_206B_202E_202A_200B_202A_200E_200E_206A_200C_200F_202D_206D_206A_206B_202C_206B_202E_200C_200F_206F_206B_202E(stopwatch); + return dictionary; + } + finally { - AetheryteShortcut = EAetheryteLocation.YakTelMamook, - SkipConditions = new SkipConditions + int num = ((stream == null) ? (-142648274) : (-142648275)); + while (true) { - AetheryteShortcutIf = new SkipAetheryteCondition + int num5 = num; + int num3 = -142648273; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) { - InSameTerritory = true + case 0: + num = -142648275; + break; + case 2: + _202D_206B_200E_206C_202A_206B_206C_200E_206A_200D_206E_202E_200E_202A_206C_202C_200E_206E_200F_200F_202D_206E_202B_202C_206E_202D_202A_200F_202D_200C_202A_202C_202A_206A_202B_206F_206C_202C_206F_206D_202E((IDisposable)stream); + num = -142648274; + break; + case 1: + goto end_IL_013c; } + continue; + end_IL_013c: + break; } - }; - obj47.Steps = list68; - reference54 = obj47; - questRoot7.QuestSequence = list56; - AddQuest(questId7, questRoot7, "7.x - Dawntrail/Alliance Raid Quests"); + } + } + + static Type _202D_202C_202A_206B_202E_206C_206E_206B_200B_202A_200D_200D_202A_202A_206D_206C_200F_202C_206A_202D_200F_202B_202E_202E_206D_202E_206F_202E_200D_200F_206C_200E_202E_200E_206E_200E_202D_202D_206C_206F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static Assembly _202C_202D_200C_206D_202A_200E_200C_206B_206B_206B_206B_206B_206B_202D_206B_206E_206C_200D_206F_202B_200C_206B_202D_202A_206B_200F_202E_200E_200B_206F_200C_200F_206D_202D_200F_206D_206C_202B_206C_206C_202E(Type P_0) + { + return P_0.Assembly; + } + + static Stream _200E_200D_206A_200C_200B_200B_206F_200B_206D_206E_202A_206A_202A_202B_202E_206B_206F_200B_202A_202E_202B_206F_200C_202E_202E_206E_202D_200D_202B_202C_200B_200C_202A_200B_206A_206B_206F_200B_200E_202E(Assembly P_0, string P_1) + { + return P_0.GetManifestResourceStream(P_1); + } + + static Stopwatch _200B_200E_200D_200D_202B_206F_200E_202A_206E_206E_202A_206B_202B_202E_206C_200E_202A_200B_206E_200C_202A_200D_200C_200F_206E_206F_200C_206B_200E_200F_206B_206B_206F_202E_202B_206F_206C_200B_202B_202E() + { + return Stopwatch.StartNew(); + } + + static void _206E_200C_206B_206D_206B_202E_206E_200F_202B_200C_200F_202D_202B_200E_206E_206D_202B_206C_200E_202E_202C_200B_202B_206F_202E_206B_202A_202C_200D_206A_200D_200B_206D_206B_206E_200B_202D_202E_206F_206D_202E(Span P_0) + { + CryptographicOperations.ZeroMemory(P_0); + } + + static ElementId _200D_206F_200D_206E_200B_202D_206C_206A_202E_200C_206B_200D_200C_206D_200E_202C_206C_200E_206E_202D_200C_202C_200F_200E_202B_206E_206F_206E_200C_206C_202A_206A_206F_200E_202D_200E_206F_206E_206B_206F_202E(string P_0) + { + return ElementId.FromString(P_0); + } + + static TimeSpan _202A_206C_200C_202D_202A_202E_202C_206E_206E_206E_202C_202D_202B_200C_200F_200F_202E_206D_200D_206B_202E_202A_200B_202A_200E_200E_206A_200C_200F_202D_206D_206A_206B_202C_206B_202E_200C_200F_206F_206B_202E(Stopwatch P_0) + { + return P_0.Elapsed; + } + + static void _202D_206B_200E_206C_202A_206B_206C_200E_206A_200D_206E_202E_200E_202A_206C_202C_200E_206E_200F_200F_202D_206E_202B_202C_206E_202D_202A_200F_202D_200C_202A_202C_202A_206A_202B_206F_206C_202C_206F_206D_202E(IDisposable P_0) + { + P_0.Dispose(); } } diff --git a/QuestPaths/Questionable.QuestPaths/PathBundleSecret.cs b/QuestPaths/Questionable.QuestPaths/PathBundleSecret.cs new file mode 100644 index 00000000..ccccde73 --- /dev/null +++ b/QuestPaths/Questionable.QuestPaths/PathBundleSecret.cs @@ -0,0 +1,66 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Questionable.QuestPaths; + +internal static class PathBundleSecret +{ + private static readonly byte[] A; + + private static readonly byte[] B; + + internal static byte[] Key() + { + byte[] array = new byte[A.Length]; + int num = 0; + int num2 = 320407520; + while (true) + { + int num3 = num2; + int num4 = 320407521; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 3: + num2 = 320407520; + break; + case 0: + return array; + case 2: + { + int num6 = num; + byte num7 = A[num]; + num4 = B[num]; + num5 = num7; + int num8 = num5 + num4; + int num9 = num5 & num4; + array[num6] = (byte)(num8 - (num9 + num9)); + int num10 = num; + num4 = 1; + num5 = num10; + num = (num5 | num4) + (num5 & num4); + num2 = 320407520; + break; + } + case 1: + num2 = ((num < array.Length) ? 320407523 : 320407521); + break; + } + } + } + + static PathBundleSecret() + { + byte[] array = new byte[32]; + _206B_200D_200D_200D_200F_202A_200E_202D_202B_206C_206B_206D_202E_202A_206D_206A_200E_200C_202D_206D_206C_202B_202B_206D_202D_202C_200C_202D_200D_206F_200F_206B_206F_206B_206E_200F_200E_200E_200C_202D_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + A = array; + byte[] array2 = new byte[32]; + _206B_200D_200D_200D_200F_202A_200E_202D_202B_206C_206B_206D_202E_202A_206D_206A_200E_200C_202D_206D_206C_202B_202B_206D_202D_202C_200C_202D_200D_206F_200F_206B_206F_206B_206E_200F_200E_200E_200C_202D_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + B = array2; + } + + static void _206B_200D_200D_200D_200F_202A_200E_202D_202B_206C_206B_206D_202E_202A_206D_206A_200E_200C_202D_206D_206C_202B_202B_206D_202D_202C_200C_202D_200D_206F_200F_206B_206F_206B_206E_200F_200E_200E_200C_202D_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } +} diff --git a/Questionable.Model/-----------------------------------------.cs b/Questionable.Model/-----------------------------------------.cs new file mode 100644 index 00000000..e708d20d --- /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 00000000..468b5178 --- /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.CommonClassJob b/Questionable.Model/Questionable.Model.CommonClassJob index b56a76df..d8488f75 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 27a63256..bdec6d93 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 00000000..2d2e5696 --- /dev/null +++ b/Questionable.Model/Questionable.Model.Converter/StringListOrValueConverter.cs @@ -0,0 +1,148 @@ +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) + { + int num = ((reader.TokenType != JsonTokenType.String) ? 2003232125 : 2003232123); + List list = default(List); + while (true) + { + int num2 = num; + int num3 = 2003232122; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = 2003232123; + break; + case 1: + { + int num7 = 1; + List list2 = new List(num7); + CollectionsMarshal.SetCount(list2, num7); + CollectionsMarshal.AsSpan(list2)[0] = reader.GetString(); + return list2; + } + case 0: + num = ((reader.TokenType != JsonTokenType.EndArray) ? 2003232120 : 2003232126); + break; + case 2: + list.Add(reader.GetString()); + reader.Read(); + num = 2003232122; + break; + case 4: + return list; + case 6: + throw _200D_200C_200E_206B_202E_200D_200E_202D_206B_206D_206F_202D_202C_200F_202E_206B_206E_200E_206D_202C_206F_206F_200B_206A_206C_200D_202D_206A_206A_200C_206D_200D_206F_206D_202A_202C_202B_202D_200F_202B_202E(); + case 7: + num = ((reader.TokenType == JsonTokenType.StartArray) ? 2003232121 : 2003232124); + break; + case 3: + reader.Read(); + list = new List(); + num = 2003232122; + break; + } + } + } + + public override void Write(Utf8JsonWriter writer, List? value, JsonSerializerOptions options) + { + int num = ((value != null) ? (-1425131611) : (-1425131610)); + while (true) + { + int num2 = num; + int num3 = -1425131609; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1425131610; + break; + case 1: + _202D_200D_202A_200D_206A_202A_206B_202C_202B_202C_202E_206E_206C_206C_206F_202C_200E_200C_202E_206C_202C_206F_206A_206F_206E_202A_206D_206A_200B_206C_206E_200C_206A_200E_202D_202D_200D_206F_206F_202E_202E(writer); + return; + case 4: + _206A_206C_206B_206D_200B_206B_200B_200D_202A_206C_206E_202C_206E_206E_202E_202C_206A_206C_206A_200F_202E_206B_206E_200F_202A_200B_206D_200E_202E_202B_206B_202A_206B_202E_200E_206E_200B_200E_200D_200C_202E(writer, value[0]); + return; + case 2: + num = ((value.Count != 1) ? (-1425131612) : (-1425131613)); + break; + case 3: + { + _200E_206C_202B_200C_206B_200B_200E_206F_200E_202A_206B_206C_200C_200D_200B_202C_200D_200C_200D_200E_206C_200B_202A_202D_202D_202D_202D_202C_206C_200C_200D_200B_200B_200B_200B_206E_206C_202A_206D_200F_202E(writer); + using (List.Enumerator enumerator = value.GetEnumerator()) + { + num = -1381192088; + while (true) + { + int num5 = num; + num3 = -1381192088; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + num = -1381192088; + break; + case 1: + { + string current = enumerator.Current; + _206A_206C_206B_206D_200B_206B_200B_200D_202A_206C_206E_202C_206E_206E_202E_202C_206A_206C_206A_200F_202E_206B_206E_200F_202A_200B_206D_200E_202E_202B_206B_202A_206B_202E_200E_206E_200B_200E_200D_200C_202E(writer, current); + num = -1381192088; + break; + } + case 0: + num = (enumerator.MoveNext() ? (-1381192087) : (-1381192085)); + break; + case 3: + goto end_IL_00a6; + } + continue; + end_IL_00a6: + break; + } + } + _206B_202D_206B_200F_202C_206C_200C_206A_202C_202C_202D_200F_200E_200C_200D_200F_206C_200E_202E_206C_206F_202C_202E_200D_206C_206D_206A_200C_202B_206C_206D_202C_200E_202C_202B_206D_200B_200B_206B_202C_202E(writer); + return; + } + } + } + } + + static JsonException _200D_200C_200E_206B_202E_200D_200E_202D_206B_206D_206F_202D_202C_200F_202E_206B_206E_200E_206D_202C_206F_206F_200B_206A_206C_200D_202D_206A_206A_200C_206D_200D_206F_206D_202A_202C_202B_202D_200F_202B_202E() + { + return new JsonException(); + } + + static void _202D_200D_202A_200D_206A_202A_206B_202C_202B_202C_202E_206E_206C_206C_206F_202C_200E_200C_202E_206C_202C_206F_206A_206F_206E_202A_206D_206A_200B_206C_206E_200C_206A_200E_202D_202D_200D_206F_206F_202E_202E(Utf8JsonWriter P_0) + { + P_0.WriteNullValue(); + } + + static void _206A_206C_206B_206D_200B_206B_200B_200D_202A_206C_206E_202C_206E_206E_202E_202C_206A_206C_206A_200F_202E_206B_206E_200F_202A_200B_206D_200E_202E_202B_206B_202A_206B_202E_200E_206E_200B_200E_200D_200C_202E(Utf8JsonWriter P_0, string P_1) + { + P_0.WriteStringValue(P_1); + } + + static void _200E_206C_202B_200C_206B_200B_200E_206F_200E_202A_206B_206C_200C_200D_200B_202C_200D_200C_200D_200E_206C_200B_202A_202D_202D_202D_202D_202C_206C_200C_200D_200B_200B_200B_200B_206E_206C_202A_206D_200F_202E(Utf8JsonWriter P_0) + { + P_0.WriteStartArray(); + } + + static void _206B_202D_206B_200F_202C_206C_200C_206A_202C_202C_202D_200F_200E_200C_200D_200F_206C_200E_202E_206C_206F_202C_202E_200D_206C_206D_206A_200C_202B_206C_206D_202C_200E_202C_202B_206D_200B_200B_206B_202C_202E(Utf8JsonWriter P_0) + { + P_0.WriteEndArray(); + } +} diff --git a/Questionable.Model/Questionable.Model.Converter/VectorListConverter.cs b/Questionable.Model/Questionable.Model.Converter/VectorListConverter.cs new file mode 100644 index 00000000..6cddb8cf --- /dev/null +++ b/Questionable.Model/Questionable.Model.Converter/VectorListConverter.cs @@ -0,0 +1,117 @@ +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 = _206C_200C_200D_206E_202A_200E_206F_200E_206F_200B_200C_202E_200D_206F_206B_202E_200D_206C_202C_206A_200E_200C_202D_206E_202D_206A_202C_200C_206D_202D_202C_206F_206C_202B_200C_200C_206B_202C_202C_202C_202E(); + + public override List Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + int num = ((reader.TokenType == JsonTokenType.StartArray) ? 1775411337 : 1775411336); + List list = default(List); + while (true) + { + int num2 = num; + int num3 = 1775411340; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + throw _202B_206F_202B_202E_206E_200D_206B_200B_202A_202B_200D_206A_202A_200E_200C_202E_200F_206F_200F_202B_206A_206B_202E_202D_200C_200B_202A_206B_200F_206A_202B_206B_206E_202E_200D_206C_206C_202B_200D_200D_202E(); + case 0: + list.Add(ItemConverter.Read(ref reader, _206C_206A_202A_206E_206D_202D_206D_200C_206B_206C_200C_206E_206C_202A_200C_206F_200F_206F_206B_200B_206A_200F_206B_206C_200C_202E_206B_206D_202A_202C_206B_206E_206B_202C_202C_202C_206F_200F_200F_200E_202E(typeof(Vector3).TypeHandle), options)); + num = 1775411338; + break; + case 6: + num = (reader.Read() ? 1775411339 : 1775411343); + break; + case 4: + throw _202B_206F_202B_202E_206E_200D_206B_200B_202A_202B_200D_206A_202A_200E_200C_202E_200F_206F_200F_202B_206A_206B_202E_202D_200C_200B_202A_206B_200F_206A_202B_206B_206E_202E_200D_206C_206C_202B_200D_200D_202E(); + case 2: + num = 1775411336; + break; + case 7: + num = ((reader.TokenType != JsonTokenType.EndArray) ? 1775411340 : 1775411341); + break; + case 1: + return list; + case 5: + list = new List(); + num = 1775411338; + break; + } + } + } + + public override void Write(Utf8JsonWriter writer, List value, JsonSerializerOptions options) + { + _200B_200D_206A_206E_202B_202B_200D_206A_202A_202A_200B_206D_202D_206D_200F_206B_206C_202C_202B_200D_202C_200B_206A_200D_202A_206A_202C_202C_200F_200F_200D_202A_206B_200F_200E_206D_200E_206A_202D_202E_202E(writer); + using (List.Enumerator enumerator = value.GetEnumerator()) + { + int num = -1222196604; + while (true) + { + int num2 = num; + int num3 = -1222196603; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -1222196604; + break; + case 1: + num = (enumerator.MoveNext() ? (-1222196601) : (-1222196603)); + break; + case 2: + { + Vector3 current = enumerator.Current; + ItemConverter.Write(writer, current, options); + num = -1222196604; + break; + } + case 0: + goto end_IL_0018; + } + continue; + end_IL_0018: + break; + } + } + _200F_206C_202B_200F_206B_206F_206B_200B_200C_202A_202D_202B_200C_202E_206B_206D_202B_200B_206D_200D_206B_200D_202D_200F_206F_202B_200F_206A_202C_206F_202E_200B_202A_202D_206E_202C_200F_202C_206C_206E_202E(writer); + } + + static JsonException _202B_206F_202B_202E_206E_200D_206B_200B_202A_202B_200D_206A_202A_200E_200C_202E_200F_206F_200F_202B_206A_206B_202E_202D_200C_200B_202A_206B_200F_206A_202B_206B_206E_202E_200D_206C_206C_202B_200D_200D_202E() + { + return new JsonException(); + } + + static Type _206C_206A_202A_206E_206D_202D_206D_200C_206B_206C_200C_206E_206C_202A_200C_206F_200F_206F_206B_200B_206A_200F_206B_206C_200C_202E_206B_206D_202A_202C_206B_206E_206B_202C_202C_202C_206F_200F_200F_200E_202E(RuntimeTypeHandle P_0) + { + return System.Type.GetTypeFromHandle(P_0); + } + + static void _200B_200D_206A_206E_202B_202B_200D_206A_202A_202A_200B_206D_202D_206D_200F_206B_206C_202C_202B_200D_202C_200B_206A_200D_202A_206A_202C_202C_200F_200F_200D_202A_206B_200F_200E_206D_200E_206A_202D_202E_202E(Utf8JsonWriter P_0) + { + P_0.WriteStartArray(); + } + + static void _200F_206C_202B_200F_206B_206F_206B_200B_200C_202A_202D_202B_200C_202E_206B_206D_202B_200B_206D_200D_206B_200D_202D_200F_206F_202B_200F_206A_202C_206F_202E_200B_202A_202D_206E_202C_200F_202C_206C_206E_202E(Utf8JsonWriter P_0) + { + P_0.WriteEndArray(); + } + + static VectorConverter _206C_200C_200D_206E_202A_200E_206F_200E_206F_200B_200C_202E_200D_206F_206B_202E_200D_206C_202C_206A_200E_200C_202D_206E_202D_206A_202C_200C_206D_202D_202C_206F_206C_202B_200C_200C_206B_202C_202C_202C_202E() + { + return new VectorConverter(); + } +} diff --git a/Questionable.Model/Questionable.Model.Gathering/GatheringLocation.cs b/Questionable.Model/Questionable.Model.Gathering/GatheringLocation.cs index d320bf0e..e0eed123 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; @@ -23,11 +23,25 @@ public sealed class GatheringLocation public bool IsCone() { - if (MinimumAngle.HasValue) + int num = ((!MinimumAngle.HasValue) ? (-443145177) : (-443145178)); + while (true) { - return MaximumAngle.HasValue; + int num2 = num; + int num3 = -443145177; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 1: + return MaximumAngle.HasValue; + case 2: + goto IL_005f; + } + continue; + IL_005f: + num = -443145178; } - return false; } public float CalculateMinimumDistance() diff --git a/Questionable.Model/Questionable.Model.Gathering/GatheringPointId.cs b/Questionable.Model/Questionable.Model.Gathering/GatheringPointId.cs index da1b9827..2369b67e 100644 --- a/Questionable.Model/Questionable.Model.Gathering/GatheringPointId.cs +++ b/Questionable.Model/Questionable.Model.Gathering/GatheringPointId.cs @@ -14,45 +14,97 @@ public class GatheringPointId : IComparable, IEquatable.CompareTo(GatheringPointId? other) + { + //ILSpy generated this explicit interface implementation from .override directive in CompareTo + return this.CompareTo(other); } public bool Equals(GatheringPointId? other) { - if ((object)other == null) + int num = (((object)other != null) ? 1984551825 : 1984551830); + while (true) { - return false; + int num2 = num; + int num3 = 1984551829; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return Value == other.Value; + case 3: + return false; + case 2: + num = 1984551830; + break; + case 1: + return true; + case 4: + num = (((object)this != other) ? 1984551829 : 1984551828); + break; + } } - if ((object)this == other) - { - return true; - } - return Value == other.Value; + } + + bool IEquatable.Equals(GatheringPointId? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); } public override bool Equals(object? obj) { - if (obj == null) + int num = ((obj != null) ? 1644524089 : 1644524094); + while (true) { - return false; + int num2 = num; + int num3 = 1644524093; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = 1644524094; + break; + case 4: + num = ((this != obj) ? 1644524092 : 1644524095); + break; + case 1: + num = ((!_202B_206C_206D_200E_200B_206A_202E_200B_202E_206A_200C_202E_202D_202C_206E_202C_202E_206C_200C_202B_202D_206D_202C_206C_200E_206C_202B_202B_200C_202B_206A_206A_200F_200B_206F_206D_200C_202B_200F_200F_202E(_202C_202E_206C_206D_200C_206E_206F_200E_206F_200C_206F_202B_206F_206E_202D_206F_200B_202D_200D_200B_200F_202B_202D_202A_206D_206D_202B_206C_202C_202B_202B_200F_206D_200D_200F_202C_206C_206D_206E_200E_202E(obj), _202E_200B_200D_202C_202D_200D_200C_200E_200B_200C_206D_200E_202D_206F_206E_200E_200B_206E_206E_202B_206B_202D_200F_206C_202C_202B_202E_202A_200D_200B_206A_206D_200F_202C_206D_202D_200C_200D_206C_200D_202E((object?)this))) ? 1644524093 : 1644524088); + break; + case 3: + return false; + case 5: + return false; + case 2: + return true; + case 0: + return Equals((GatheringPointId)obj); + } } - if (this == obj) - { - return true; - } - if (obj.GetType() != GetType()) - { - return false; - } - return Equals((GatheringPointId)obj); } public override int GetHashCode() @@ -62,16 +114,41 @@ public class GatheringPointId : IComparable, IEquatable where T : notnull + { + public (string Id, int Offset, int Length)[] entries; + + public byte[] container; + + public KeyValuePair[] result; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal void _003CDeserialize_003Eb__0(int i) + { + (string Id, int Offset, int Length) tuple = entries[i]; + string item = tuple.Id; + int item2 = tuple.Offset; + int item3 = tuple.Length; + T val = JsonSerializer.Deserialize(new ReadOnlySpan(container, item2, item3)); + int num = ((val != null) ? 1712657816 : 1712657817); + while (true) + { + int num2 = num; + int num3 = 1712657816; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0087; + case 0: + { + T value = val; + result[i] = new KeyValuePair(item, value); + return; + } + case 1: + throw _206D_206E_200B_200C_202A_202C_202B_200D_202E_200D_206E_202D_200B_200C_200C_206B_206B_206B_200B_200C_200F_206D_206D_202E_206F_202D_206F_206B_202D_206F_202A_206A_202A_202B_206C_202B_200C_200D_206D_206C_202E(_200F_200D_200C_202B_200F_202D_202D_200D_200F_202B_200E_202B_200D_202B_206B_200D_206B_200B_202E_200E_200D_200E_200B_202A_202D_206A_202A_206E_206D_206D_206E_200F_206F_202A_200B_200C_200C_200B_202C_202B_202E(global::_003CModule_003E._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(1974405317), item)); + } + continue; + IL_0087: + num = 1712657817; + } + } + + static string _200F_200D_200C_202B_200F_202D_202D_200D_200F_202B_200E_202B_200D_202B_206B_200D_206B_200B_202E_200E_200D_200E_200B_202A_202D_206A_202A_206E_206D_206D_206E_200F_206F_202A_200B_200C_200C_200B_202C_202B_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static InvalidDataException _206D_206E_200B_200C_202A_202C_202B_200D_202E_200D_206E_202D_200B_200C_200C_206B_206B_206B_200B_200C_200F_206D_206D_202E_206F_202D_206F_206B_202D_206F_202A_206A_202A_202B_206C_202B_200C_200D_206D_206C_202E(string P_0) + { + return new InvalidDataException(P_0); + } + } + + 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) + { + MemoryStream memoryStream = _202B_206B_202B_206C_200C_200E_200B_202B_202C_206C_200F_206E_202B_200C_200B_200F_202A_202A_206F_206B_202C_202A_202A_200C_200F_206D_200B_202D_206C_202E_200D_202C_200D_200B_200D_206B_200B_206F_206D_202B_202E(); + try + { + BinaryWriter binaryWriter = _206E_206E_200E_202B_202D_200B_206B_206A_206F_206D_206A_206F_200F_206A_206C_200C_202C_202E_206E_202C_206A_200B_206C_206A_206B_200C_200B_200B_202C_206E_206B_202C_206D_206A_202B_202C_202B_200C_206C_206B_202E((Stream)memoryStream, _200D_206A_206D_200D_206B_202E_206E_200E_202D_206B_202E_200E_206D_202A_200E_206E_200B_202D_206F_206A_200C_202C_200F_202C_202B_200E_206F_202D_200B_206D_206F_200E_206A_200E_206E_206D_202E_202A_202E_202B_202E(), true); + try + { + _200F_206D_200F_202D_206F_200B_202A_202B_200E_206F_202B_200D_200B_206E_202E_202B_206F_206D_206B_202A_200E_206E_206E_200F_206E_206B_202A_202B_206C_200B_202E_200C_206F_200E_200D_206E_206C_202A_206A_200D_202E(binaryWriter, Magic); + _202C_200E_206F_206D_202B_206F_200C_206C_200D_200D_206E_202C_200F_206E_200F_200B_206B_202D_202D_206E_202D_202C_202C_200E_202B_206A_206D_206D_202C_206C_206E_206B_206F_206D_206E_202E_206D_206B_206C_200E_202E(binaryWriter, entries.Count); + IEnumerator> enumerator = entries.GetEnumerator(); + try + { + int num = 490624708; + while (true) + { + int num2 = num; + int num3 = 490624709; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = (_206A_200C_206E_200F_202A_206A_200C_206D_200C_206A_200F_200B_200D_202D_206B_200B_202A_206D_206F_200F_206F_200C_200B_206E_202D_206A_202C_206C_200B_206B_200D_202C_202E_200F_206D_202D_202D_202D_200D_206C_202E((IEnumerator)enumerator) ? 490624710 : 490624711); + break; + case 3: + { + enumerator.Current.Deconstruct(out var key2, out var value); + string text = key2; + byte[] array = value; + byte[] array2 = _200D_206C_206C_200D_200B_200E_202E_202D_202E_206A_206B_206D_202E_200F_200B_200D_202E_200F_200F_200B_200B_200B_206E_200C_206D_200E_206F_206F_200B_206A_202A_206E_200C_206A_202B_206A_200B_200D_206F_200C_202E(_200D_206A_206D_200D_206B_202E_206E_200E_202D_206B_202E_200E_206D_202A_200E_206E_200B_202D_206F_206A_200C_202C_200F_202C_202B_200E_206F_202D_200B_206D_206F_200E_206A_200E_206E_206D_202E_202A_202E_202B_202E(), text); + _200F_200F_200F_200B_200F_202A_200D_206D_200F_206D_206D_200D_206E_206A_202A_206D_206A_202E_200C_206F_200E_206A_202A_206E_206A_200D_200F_206C_202A_202B_200F_202E_202B_206A_206A_206F_206F_202B_202D_206C_202E(binaryWriter, checked((byte)array2.Length)); + _200F_206D_200F_202D_206F_200B_202A_202B_200E_206F_202B_200D_200B_206E_202E_202B_206F_206D_206B_202A_200E_206E_206E_200F_206E_206B_202A_202B_206C_200B_202E_200C_206F_200E_200D_206E_206C_202A_206A_200D_202E(binaryWriter, array2); + _202C_200E_206F_206D_202B_206F_200C_206C_200D_200D_206E_202C_200F_206E_200F_200B_206B_202D_202D_206E_202D_202C_202C_200E_202B_206A_206D_206D_202C_206C_206E_206B_206F_206D_206E_202E_206D_206B_206C_200E_202E(binaryWriter, array.Length); + _200F_206D_200F_202D_206F_200B_202A_202B_200E_206F_202B_200D_200B_206E_202E_202B_206F_206D_206B_202A_200E_206E_206E_200F_206E_206B_202A_202B_206C_200B_202E_200C_206F_200E_200D_206E_206C_202A_206A_200D_202E(binaryWriter, array); + num = 490624708; + break; + } + case 0: + num = 490624708; + break; + case 2: + goto end_IL_0041; + } + continue; + end_IL_0041: + break; + } + } + finally + { + int num = ((enumerator == null) ? (-755997639) : (-755997638)); + while (true) + { + int num7 = num; + int num3 = -755997640; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 1: + goto end_IL_0126; + case 2: + _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E((IDisposable)enumerator); + num = -755997639; + break; + case 0: + num = -755997638; + break; + } + continue; + end_IL_0126: + break; + } + } + } + finally + { + int num = ((binaryWriter == null) ? 1938638087 : 1938638086); + while (true) + { + int num10 = num; + int num3 = 1938638087; + int num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1938638086; + break; + case 0: + goto end_IL_0193; + case 1: + _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E((IDisposable)binaryWriter); + num = 1938638087; + break; + } + continue; + end_IL_0193: + break; + } + } + MemoryStream memoryStream2 = _202B_206B_202B_206C_200C_200E_200B_202B_202C_206C_200F_206E_202B_200C_200B_200F_202A_202A_206F_206B_202C_202A_202A_200C_200F_206D_200B_202D_206C_202E_200D_202C_200D_200B_200D_206B_200B_206F_206D_202B_202E(); + try + { + DeflateStream deflateStream = _206A_206F_206D_202D_200D_206A_202C_202E_202D_202E_206B_206C_200F_206E_200E_202A_202B_200B_206D_200F_206F_202E_200F_206A_202D_206A_206E_200E_200E_206A_206D_200D_200E_202D_206E_200F_206F_200E_206B_200D_202E((Stream)memoryStream2, CompressionLevel.Optimal, true); + int num3; + int num4; + try + { + _206B_200D_200F_202C_202A_200F_200B_206E_202B_206A_202C_200E_200C_206D_202A_202E_206F_206C_206E_200B_206D_200B_200E_206B_200B_206C_200B_206E_202D_206C_206A_200D_206B_202D_202C_200E_206E_200E_200F_206A_202E((Stream)deflateStream, _200B_206E_202C_200D_206C_200B_200D_202C_200F_200E_200F_206B_200B_206F_206D_202C_202E_202A_206B_206C_202E_200F_202B_206E_202E_206B_206E_206C_202C_200F_202A_206B_202B_206B_202B_206D_206C_206F_202A_206C_202E(memoryStream), 0, (int)_200E_202E_206A_200D_206B_202E_206B_206E_202C_206C_202B_200F_202A_206D_200D_200D_206C_206E_206B_200E_200D_200C_200D_202E_202A_202B_202C_202E_206E_202E_206A_206F_202D_206E_206C_206B_202B_200E_202B_206D_202E((Stream)memoryStream)); + } + finally + { + int num = ((deflateStream == null) ? (-1620706509) : (-1620706512)); + while (true) + { + int num11 = num; + num3 = -1620706511; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 0: + num = -1620706512; + break; + case 1: + _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E((IDisposable)deflateStream); + num = -1620706509; + break; + case 2: + goto end_IL_0228; + } + continue; + end_IL_0228: + break; + } + } + byte[] array3 = _200D_200B_202A_206E_202B_200B_206D_200B_200F_200F_202E_206D_206A_200B_200C_200F_206B_200D_202A_202E_200E_200D_206F_202B_206D_202B_202C_200B_206E_206B_206F_200F_206D_200B_200E_200F_202C_202E_206B_200F_202E(memoryStream2); + num3 = array3.Length; + num4 = 28; + byte[] array4 = new byte[(num4 | num3) + (num4 & num3)]; + _202C_206D_200D_200B_202D_202E_202B_202E_206F_200C_202A_202E_202A_202D_206F_202C_200F_200B_200F_200F_200B_206E_200E_200C_200F_200C_206D_200B_206E_206E_200E_200B_206C_200C_206B_206F_200F_200E_200D_202D_202E((Array)nonce, (Array)array4, 0); + AesGcm aesGcm = _206D_200E_202D_200D_206B_206E_202C_200D_206D_200B_206E_200C_202A_206F_200F_200B_206D_200D_206F_202A_202C_202C_202B_202B_200F_202B_206F_200C_202A_202B_202E_206C_200B_200C_202D_206C_202E_206F_206B_200C_202E(key, 16); + try + { + _202A_200B_202C_206F_206C_206C_200F_206A_200D_200D_206B_200E_206A_202D_206E_202E_206D_202D_200E_202A_206C_202D_202D_202A_200D_206F_200C_206B_202B_200D_206C_206D_206D_206E_206F_206F_206B_200D_200B_206E_202E(aesGcm, (ReadOnlySpan)nonce, (ReadOnlySpan)array3, array4.AsSpan(28), array4.AsSpan(12, 16), default(ReadOnlySpan)); + return array4; + } + finally + { + int num = ((aesGcm == null) ? (-854300539) : (-854300538)); + while (true) + { + int num14 = num; + num3 = -854300540; + num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) + { + case 0: + num = -854300538; + break; + case 1: + goto end_IL_02ff; + case 2: + _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E((IDisposable)aesGcm); + num = -854300539; + break; + } + continue; + end_IL_02ff: + break; + } + } + } + finally + { + int num = ((memoryStream2 == null) ? (-1540033213) : (-1540033214)); + while (true) + { + int num17 = num; + int num3 = -1540033213; + int num4 = num17; + int num18 = num4 + num3; + int num19 = num4 & num3; + switch (num18 - (num19 + num19)) + { + case 2: + num = -1540033214; + break; + case 0: + goto end_IL_036b; + case 1: + _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E((IDisposable)memoryStream2); + num = -1540033213; + break; + } + continue; + end_IL_036b: + break; + } + } + } + finally + { + int num = ((memoryStream == null) ? (-1562787015) : (-1562787016)); + while (true) + { + int num20 = num; + int num3 = -1562787015; + int num4 = num20; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_03d6; + case 1: + _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E((IDisposable)memoryStream); + num = -1562787015; + break; + case 2: + num = -1562787016; + break; + } + continue; + end_IL_03d6: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal static List> Deserialize(Stream stream, byte[] key) + { + byte[] container = Decode(stream, key); + MemoryStream memoryStream = _206C_200E_200B_206B_200D_202C_202C_202D_206A_200B_202C_206B_206F_206A_202C_202B_200F_200D_202E_200C_202A_202B_206C_202D_206D_200F_206D_200F_206C_206F_202A_206A_206B_206E_200C_206A_200F_202E_200B_202C_202E(container); + try + { + BinaryReader binaryReader = _206E_202D_206F_202A_202E_206E_202B_202A_200E_206A_200B_206F_200C_206E_200F_202E_200D_200E_200D_202D_202D_206B_206D_206B_206F_200C_206B_202C_202C_206D_200F_200B_202B_200F_202C_200C_206A_206D_206E_206F_202E((Stream)memoryStream, _200D_206A_206D_200D_206B_202E_206E_200E_202D_206B_202E_200E_206D_202A_200E_206E_200B_202D_206F_206A_200C_202C_200F_202C_202B_200E_206F_202D_200B_206D_206F_200E_206A_200E_206E_206D_202E_202A_202E_202B_202E()); + try + { + int num = (((ReadOnlySpan)_202C_206B_200F_200E_200C_202E_206C_202D_200C_200F_202B_200F_202A_206C_202B_206E_206F_200D_206F_206F_206D_202C_200C_200C_206E_202B_202B_202E_200B_200E_202B_206D_202D_202D_200C_206A_200E_202E_200B_202B_202E(binaryReader, Magic.Length).AsSpan()).SequenceEqual((ReadOnlySpan)Magic) ? (-1526478709) : (-1526478707)); + (string Id, int Offset, int Length)[] entries = default((string Id, int Offset, int Length)[]); + int num6 = default(int); + int num5 = default(int); + KeyValuePair[] result; + while (true) + { + int num2 = num; + int num3 = -1526478705; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + { + int num7 = _202D_200C_200D_206D_206E_200D_206B_200F_200D_202E_202A_202D_200D_200D_202A_200B_200E_206A_206A_200E_202B_206B_200B_206E_202B_202C_200C_200B_200E_200C_206B_202C_200F_206C_202D_202A_206F_200D_202A_206C_202E(binaryReader); + string item = _202C_200E_202E_200B_206A_206F_206E_202B_200B_206C_202B_202B_202D_200E_206E_206A_206F_200E_200E_206A_202E_200D_200B_206D_206F_200D_200E_206B_202D_202E_202B_202C_206F_200D_206E_200F_206B_202D_202B_202D_202E(_200D_206A_206D_200D_206B_202E_206E_200E_202D_206B_202E_200E_206D_202A_200E_206E_200B_202D_206F_206A_200C_202C_200F_202C_202B_200E_206F_202D_200B_206D_206F_200E_206A_200E_206E_206D_202E_202A_202E_202B_202E(), _202C_206B_200F_200E_200C_202E_206C_202D_200C_200F_202B_200F_202A_206C_202B_206E_206F_200D_206F_206F_206D_202C_200C_200C_206E_202B_202B_202E_200B_200E_202B_206D_202D_202D_200C_206A_200E_202E_200B_202B_202E(binaryReader, num7)); + int num8 = _202E_206A_202A_200C_202D_200E_202B_206F_200C_200E_200C_202A_200C_200F_200D_200B_206B_200E_206D_206B_202D_202C_200C_202D_206F_202B_202B_206E_200F_202D_200B_200B_200C_202D_206E_206F_200B_202C_202B_206D_202E(binaryReader); + entries[num6] = (Id: item, Offset: (int)_202C_206C_202C_200C_202E_206E_202C_200C_206F_206F_202C_202D_202E_206B_200B_206E_206F_200C_206F_202E_200D_206F_200F_206A_200D_202B_206B_200B_200E_206C_206A_200F_200D_200B_206B_200D_200D_202E_206E_202A_202E((Stream)memoryStream), Length: num8); + _206B_206D_206A_202B_206A_206D_200D_202B_200B_206F_200E_202A_200F_202A_202E_200D_206B_202C_200E_206D_200E_200D_200D_202C_200D_206F_202A_206D_200E_206A_206C_200C_202B_206C_202A_206E_206B_206F_206C_202A_202E((Stream)memoryStream, (long)num8, SeekOrigin.Current); + int num9 = num6; + num3 = 1; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num6 = num10 + (num11 + num11); + num = -1526478706; + break; + } + case 2: + throw _206D_202C_202C_200B_206B_206C_206E_202E_206A_200E_206C_200E_202B_206B_200F_202A_206F_206F_202D_206E_202D_202E_202A_202D_200F_200D_200B_202B_200C_202A_206F_206A_202C_206D_200C_206C_202B_206B_200B_206D_202E(global::_003CModule_003E._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(51227269)); + case 4: + num5 = _202E_206A_202A_200C_202D_200E_202B_206F_200C_200E_200C_202A_200C_200F_200D_200B_206B_200E_206D_206B_202D_202C_200C_202D_206F_202B_202B_206E_200F_202D_200B_200B_200C_202D_206E_206F_200B_202C_202B_206D_202E(binaryReader); + entries = new(string, int, int)[num5]; + num6 = 0; + num = -1526478706; + break; + case 1: + num = ((num6 < num5) ? (-1526478710) : (-1526478708)); + break; + case 0: + num = -1526478707; + break; + case 3: + result = new KeyValuePair[num5]; + _206C_206E_200D_200E_200D_206C_202A_206A_202B_206E_200B_200C_202D_200B_202E_202B_202D_202C_206D_202E_202C_200D_206A_202E_206D_202A_200E_202B_206F_206A_206F_202A_200F_206E_206A_206C_200B_206D_200F_200C_202E(0, num5, (Action)([MethodImpl(MethodImplOptions.NoInlining)] (int i) => + { + (string Id, int Offset, int Length) tuple = entries[i]; + string item2 = tuple.Id; + int item3 = tuple.Offset; + int item4 = tuple.Length; + T val = JsonSerializer.Deserialize(new ReadOnlySpan(container, item3, item4)); + int num16 = ((val != null) ? 1712657816 : 1712657817); + while (true) + { + int num17 = num16; + int num18 = 1712657816; + int num19 = num17; + int num20 = num19 + num18; + int num21 = num19 & num18; + switch (num20 - (num21 + num21)) + { + case 2: + goto IL_0087; + case 0: + { + T value = val; + result[i] = new KeyValuePair(item2, value); + return; + } + case 1: + throw _003C_003Ec__DisplayClass4_0._206D_206E_200B_200C_202A_202C_202B_200D_202E_200D_206E_202D_200B_200C_200C_206B_206B_206B_200B_200C_200F_206D_206D_202E_206F_202D_206F_206B_202D_206F_202A_206A_202A_202B_206C_202B_200C_200D_206D_206C_202E(_003C_003Ec__DisplayClass4_0._200F_200D_200C_202B_200F_202D_202D_200D_200F_202B_200E_202B_200D_202B_206B_200D_206B_200B_202E_200E_200D_200E_200B_202A_202D_206A_202A_206E_206D_206D_206E_200F_206F_202A_200B_200C_200C_200B_202C_202B_202E(global::_003CModule_003E._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(1974405317), item2)); + } + continue; + IL_0087: + num16 = 1712657817; + } + })); + return result.ToList(); + } + } + } + finally + { + int num = ((binaryReader == null) ? 1799475096 : 1799475099); + while (true) + { + int num12 = num; + int num3 = 1799475097; + int num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_01c2; + case 2: + _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E((IDisposable)binaryReader); + num = 1799475096; + break; + case 0: + num = 1799475099; + break; + } + continue; + end_IL_01c2: + break; + } + } + } + finally + { + int num = ((memoryStream == null) ? (-173658699) : (-173658698)); + while (true) + { + int num13 = num; + int num3 = -173658697; + int num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 2: + goto end_IL_022b; + case 1: + _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E((IDisposable)memoryStream); + num = -173658699; + break; + case 0: + num = -173658698; + break; + } + continue; + end_IL_022b: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static byte[] Decode(Stream stream, byte[] key) + { + MemoryStream memoryStream = _202B_206B_202B_206C_200C_200E_200B_202B_202C_206C_200F_206E_202B_200C_200B_200F_202A_202A_206F_206B_202C_202A_202A_200C_200F_206D_200B_202D_206C_202E_200D_202C_200D_200B_200D_206B_200B_206F_206D_202B_202E(); + try + { + _200C_206D_206F_206A_206C_200C_206C_202A_206C_206F_206D_200C_202A_200F_202E_206D_200F_202C_206E_200F_206E_200E_200C_200B_206A_202E_206C_202C_202B_206C_202D_200E_202C_202B_200D_206A_206C_200C_202A_202E(stream, (Stream)memoryStream); + byte[] array = _200D_200B_202A_206E_202B_200B_206D_200B_200F_200F_202E_206D_206A_200B_200C_200F_206B_200D_202A_202E_200E_200D_206F_202B_206D_202B_202C_200B_206E_206B_206F_200F_206D_200B_200E_200F_202C_202E_206B_200F_202E(memoryStream); + int num = ((array.Length >= 28) ? 1638669965 : 1638669966); + while (true) + { + int num2 = num; + int num3 = 1638669967; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0062; + case 1: + throw _206D_202C_202C_200B_206B_206C_206E_202E_206A_200E_206C_200E_202B_206B_200F_202A_206F_206F_202D_206E_202D_202E_202A_202D_200F_200D_200B_202B_200C_202A_206F_206A_202C_206D_200C_206C_202B_206B_200B_206D_202E(global::_003CModule_003E._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(275005039)); + case 2: + { + int num5 = array.Length; + num3 = 12; + num4 = num5; + int num6 = ~(~num4 + num3); + num3 = 16; + num4 = num6; + byte[] array2 = new byte[~(~num4 + num3)]; + AesGcm aesGcm = _206D_200E_202D_200D_206B_206E_202C_200D_206D_200B_206E_200C_202A_206F_200F_200B_206D_200D_206F_202A_202C_202C_202B_202B_200F_202B_206F_200C_202A_202B_202E_206C_200B_200C_202D_206C_202E_206F_206B_200C_202E(key, 16); + try + { + _200E_202B_206A_206B_202A_206B_206A_206F_200B_200C_200E_206C_206C_206F_200F_202E_202A_202A_202C_202E_206B_202E_200D_202A_206B_202C_200F_200C_200B_206D_202C_200F_202A_206D_206D_202D_200B_200C_200E_202C_202E(aesGcm, (ReadOnlySpan)array.AsSpan(0, 12), (ReadOnlySpan)array.AsSpan(28), (ReadOnlySpan)array.AsSpan(12, 16), (Span)array2, default(ReadOnlySpan)); + } + finally + { + num = ((aesGcm == null) ? (-1257203137) : (-1257203140)); + while (true) + { + int num7 = num; + num3 = -1257203138; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_0110; + case 2: + _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E((IDisposable)aesGcm); + num = -1257203137; + break; + case 0: + num = -1257203140; + break; + } + continue; + end_IL_0110: + break; + } + } + MemoryStream memoryStream2 = _202B_206B_202B_206C_200C_200E_200B_202B_202C_206C_200F_206E_202B_200C_200B_200F_202A_202A_206F_206B_202C_202A_202A_200C_200F_206D_200B_202D_206C_202E_200D_202C_200D_200B_200D_206B_200B_206F_206D_202B_202E(); + try + { + DeflateStream deflateStream = _206E_206E_202E_206A_200F_200B_206B_206A_206C_206D_200B_202E_206E_200C_206A_200D_202A_202E_200B_206D_206C_202D_202A_206B_202D_206B_202E_202C_200D_200F_206C_200F_200B_206B_200F_200D_202A_200E_202E_202E_202E((Stream)_206C_200E_200B_206B_200D_202C_202C_202D_206A_200B_202C_206B_206F_206A_202C_202B_200F_200D_202E_200C_202A_202B_206C_202D_206D_200F_206D_200F_206C_206F_202A_206A_206B_206E_200C_206A_200F_202E_200B_202C_202E(array2), CompressionMode.Decompress); + try + { + _200C_206D_206F_206A_206C_200C_206C_202A_206C_206F_206D_200C_202A_200F_202E_206D_200F_202C_206E_200F_206E_200E_200C_200B_206A_202E_206C_202C_202B_206C_202D_200E_202C_202B_200D_206A_206C_200C_202A_202E((Stream)deflateStream, (Stream)memoryStream2); + } + finally + { + num = ((deflateStream == null) ? (-710191620) : (-710191617)); + while (true) + { + int num8 = num; + num3 = -710191619; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 1: + goto end_IL_019c; + case 2: + _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E((IDisposable)deflateStream); + num = -710191620; + break; + case 0: + num = -710191617; + break; + } + continue; + end_IL_019c: + break; + } + } + return _200D_200B_202A_206E_202B_200B_206D_200B_200F_200F_202E_206D_206A_200B_200C_200F_206B_200D_202A_202E_200E_200D_206F_202B_206D_202B_202C_200B_206E_206B_206F_200F_206D_200B_200E_200F_202C_202E_206B_200F_202E(memoryStream2); + } + finally + { + num = ((memoryStream2 == null) ? (-535365269) : (-535365272)); + while (true) + { + int num11 = num; + num3 = -535365270; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 0: + num = -535365272; + break; + case 2: + _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E((IDisposable)memoryStream2); + num = -535365269; + break; + case 1: + goto end_IL_0215; + } + continue; + end_IL_0215: + break; + } + } + } + } + continue; + IL_0062: + num = 1638669966; + } + } + finally + { + int num = ((memoryStream == null) ? (-413653038) : (-413653037)); + while (true) + { + int num14 = num; + int num3 = -413653038; + int num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) + { + case 2: + num = -413653037; + break; + case 0: + goto end_IL_0280; + case 1: + _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E((IDisposable)memoryStream); + num = -413653038; + break; + } + continue; + end_IL_0280: + break; + } + } + } + + static MemoryStream _202B_206B_202B_206C_200C_200E_200B_202B_202C_206C_200F_206E_202B_200C_200B_200F_202A_202A_206F_206B_202C_202A_202A_200C_200F_206D_200B_202D_206C_202E_200D_202C_200D_200B_200D_206B_200B_206F_206D_202B_202E() + { + return new MemoryStream(); + } + + static Encoding _200D_206A_206D_200D_206B_202E_206E_200E_202D_206B_202E_200E_206D_202A_200E_206E_200B_202D_206F_206A_200C_202C_200F_202C_202B_200E_206F_202D_200B_206D_206F_200E_206A_200E_206E_206D_202E_202A_202E_202B_202E() + { + return Encoding.UTF8; + } + + static BinaryWriter _206E_206E_200E_202B_202D_200B_206B_206A_206F_206D_206A_206F_200F_206A_206C_200C_202C_202E_206E_202C_206A_200B_206C_206A_206B_200C_200B_200B_202C_206E_206B_202C_206D_206A_202B_202C_202B_200C_206C_206B_202E(Stream P_0, Encoding P_1, bool P_2) + { + return new BinaryWriter(P_0, P_1, P_2); + } + + static void _200F_206D_200F_202D_206F_200B_202A_202B_200E_206F_202B_200D_200B_206E_202E_202B_206F_206D_206B_202A_200E_206E_206E_200F_206E_206B_202A_202B_206C_200B_202E_200C_206F_200E_200D_206E_206C_202A_206A_200D_202E(BinaryWriter P_0, byte[] P_1) + { + P_0.Write(P_1); + } + + static void _202C_200E_206F_206D_202B_206F_200C_206C_200D_200D_206E_202C_200F_206E_200F_200B_206B_202D_202D_206E_202D_202C_202C_200E_202B_206A_206D_206D_202C_206C_206E_206B_206F_206D_206E_202E_206D_206B_206C_200E_202E(BinaryWriter P_0, int P_1) + { + P_0.Write(P_1); + } + + static byte[] _200D_206C_206C_200D_200B_200E_202E_202D_202E_206A_206B_206D_202E_200F_200B_200D_202E_200F_200F_200B_200B_200B_206E_200C_206D_200E_206F_206F_200B_206A_202A_206E_200C_206A_202B_206A_200B_200D_206F_200C_202E(Encoding P_0, string P_1) + { + return P_0.GetBytes(P_1); + } + + static void _200F_200F_200F_200B_200F_202A_200D_206D_200F_206D_206D_200D_206E_206A_202A_206D_206A_202E_200C_206F_200E_206A_202A_206E_206A_200D_200F_206C_202A_202B_200F_202E_202B_206A_206A_206F_206F_202B_202D_206C_202E(BinaryWriter P_0, byte P_1) + { + P_0.Write(P_1); + } + + static bool _206A_200C_206E_200F_202A_206A_200C_206D_200C_206A_200F_200B_200D_202D_206B_200B_202A_206D_206F_200F_206F_200C_200B_206E_202D_206A_202C_206C_200B_206B_200D_202C_202E_200F_206D_202D_202D_202D_200D_206C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206E_202B_200B_200C_200D_206A_202E_206F_202C_206D_202C_202D_206A_206E_202E_200E_206C_206C_202E_206B_202A_200F_200B_206F_202B_200F_200B_200D_202B_202D_202C_202C_200B_202A_200F_206C_202B_206A_200D_202E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static DeflateStream _206A_206F_206D_202D_200D_206A_202C_202E_202D_202E_206B_206C_200F_206E_200E_202A_202B_200B_206D_200F_206F_202E_200F_206A_202D_206A_206E_200E_200E_206A_206D_200D_200E_202D_206E_200F_206F_200E_206B_200D_202E(Stream P_0, CompressionLevel P_1, bool P_2) + { + return new DeflateStream(P_0, P_1, P_2); + } + + static byte[] _200B_206E_202C_200D_206C_200B_200D_202C_200F_200E_200F_206B_200B_206F_206D_202C_202E_202A_206B_206C_202E_200F_202B_206E_202E_206B_206E_206C_202C_200F_202A_206B_202B_206B_202B_206D_206C_206F_202A_206C_202E(MemoryStream P_0) + { + return P_0.GetBuffer(); + } + + static long _200E_202E_206A_200D_206B_202E_206B_206E_202C_206C_202B_200F_202A_206D_200D_200D_206C_206E_206B_200E_200D_200C_200D_202E_202A_202B_202C_202E_206E_202E_206A_206F_202D_206E_206C_206B_202B_200E_202B_206D_202E(Stream P_0) + { + return P_0.Length; + } + + static void _206B_200D_200F_202C_202A_200F_200B_206E_202B_206A_202C_200E_200C_206D_202A_202E_206F_206C_206E_200B_206D_200B_200E_206B_200B_206C_200B_206E_202D_206C_206A_200D_206B_202D_202C_200E_206E_200E_200F_206A_202E(Stream P_0, byte[] P_1, int P_2, int P_3) + { + P_0.Write(P_1, P_2, P_3); + } + + static byte[] _200D_200B_202A_206E_202B_200B_206D_200B_200F_200F_202E_206D_206A_200B_200C_200F_206B_200D_202A_202E_200E_200D_206F_202B_206D_202B_202C_200B_206E_206B_206F_200F_206D_200B_200E_200F_202C_202E_206B_200F_202E(MemoryStream P_0) + { + return P_0.ToArray(); + } + + static void _202C_206D_200D_200B_202D_202E_202B_202E_206F_200C_202A_202E_202A_202D_206F_202C_200F_200B_200F_200F_200B_206E_200E_200C_200F_200C_206D_200B_206E_206E_200E_200B_206C_200C_206B_206F_200F_200E_200D_202D_202E(Array P_0, Array P_1, int P_2) + { + P_0.CopyTo(P_1, P_2); + } + + static AesGcm _206D_200E_202D_200D_206B_206E_202C_200D_206D_200B_206E_200C_202A_206F_200F_200B_206D_200D_206F_202A_202C_202C_202B_202B_200F_202B_206F_200C_202A_202B_202E_206C_200B_200C_202D_206C_202E_206F_206B_200C_202E(byte[] P_0, int P_1) + { + return new AesGcm(P_0, P_1); + } + + static void _202A_200B_202C_206F_206C_206C_200F_206A_200D_200D_206B_200E_206A_202D_206E_202E_206D_202D_200E_202A_206C_202D_202D_202A_200D_206F_200C_206B_202B_200D_206C_206D_206D_206E_206F_206F_206B_200D_200B_206E_202E(AesGcm P_0, ReadOnlySpan P_1, ReadOnlySpan P_2, Span P_3, Span P_4, ReadOnlySpan P_5) + { + P_0.Encrypt(P_1, P_2, P_3, P_4, P_5); + } + + static MemoryStream _206C_200E_200B_206B_200D_202C_202C_202D_206A_200B_202C_206B_206F_206A_202C_202B_200F_200D_202E_200C_202A_202B_206C_202D_206D_200F_206D_200F_206C_206F_202A_206A_206B_206E_200C_206A_200F_202E_200B_202C_202E(byte[] P_0) + { + return new MemoryStream(P_0); + } + + static BinaryReader _206E_202D_206F_202A_202E_206E_202B_202A_200E_206A_200B_206F_200C_206E_200F_202E_200D_200E_200D_202D_202D_206B_206D_206B_206F_200C_206B_202C_202C_206D_200F_200B_202B_200F_202C_200C_206A_206D_206E_206F_202E(Stream P_0, Encoding P_1) + { + return new BinaryReader(P_0, P_1); + } + + static byte[] _202C_206B_200F_200E_200C_202E_206C_202D_200C_200F_202B_200F_202A_206C_202B_206E_206F_200D_206F_206F_206D_202C_200C_200C_206E_202B_202B_202E_200B_200E_202B_206D_202D_202D_200C_206A_200E_202E_200B_202B_202E(BinaryReader P_0, int P_1) + { + return P_0.ReadBytes(P_1); + } + + static InvalidDataException _206D_202C_202C_200B_206B_206C_206E_202E_206A_200E_206C_200E_202B_206B_200F_202A_206F_206F_202D_206E_202D_202E_202A_202D_200F_200D_200B_202B_200C_202A_206F_206A_202C_206D_200C_206C_202B_206B_200B_206D_202E(string P_0) + { + return new InvalidDataException(P_0); + } + + static int _202E_206A_202A_200C_202D_200E_202B_206F_200C_200E_200C_202A_200C_200F_200D_200B_206B_200E_206D_206B_202D_202C_200C_202D_206F_202B_202B_206E_200F_202D_200B_200B_200C_202D_206E_206F_200B_202C_202B_206D_202E(BinaryReader P_0) + { + return P_0.ReadInt32(); + } + + static byte _202D_200C_200D_206D_206E_200D_206B_200F_200D_202E_202A_202D_200D_200D_202A_200B_200E_206A_206A_200E_202B_206B_200B_206E_202B_202C_200C_200B_200E_200C_206B_202C_200F_206C_202D_202A_206F_200D_202A_206C_202E(BinaryReader P_0) + { + return P_0.ReadByte(); + } + + static string _202C_200E_202E_200B_206A_206F_206E_202B_200B_206C_202B_202B_202D_200E_206E_206A_206F_200E_200E_206A_202E_200D_200B_206D_206F_200D_200E_206B_202D_202E_202B_202C_206F_200D_206E_200F_206B_202D_202B_202D_202E(Encoding P_0, byte[] P_1) + { + return P_0.GetString(P_1); + } + + static long _202C_206C_202C_200C_202E_206E_202C_200C_206F_206F_202C_202D_202E_206B_200B_206E_206F_200C_206F_202E_200D_206F_200F_206A_200D_202B_206B_200B_200E_206C_206A_200F_200D_200B_206B_200D_200D_202E_206E_202A_202E(Stream P_0) + { + return P_0.Position; + } + + static long _206B_206D_206A_202B_206A_206D_200D_202B_200B_206F_200E_202A_200F_202A_202E_200D_206B_202C_200E_206D_200E_200D_200D_202C_200D_206F_202A_206D_200E_206A_206C_200C_202B_206C_202A_206E_206B_206F_206C_202A_202E(Stream P_0, long P_1, SeekOrigin P_2) + { + return P_0.Seek(P_1, P_2); + } + + static ParallelLoopResult _206C_206E_200D_200E_200D_206C_202A_206A_202B_206E_200B_200C_202D_200B_202E_202B_202D_202C_206D_202E_202C_200D_206A_202E_206D_202A_200E_202B_206F_206A_206F_202A_200F_206E_206A_206C_200B_206D_200F_200C_202E(int P_0, int P_1, Action P_2) + { + return Parallel.For(P_0, P_1, P_2); + } + + static void _200C_206D_206F_206A_206C_200C_206C_202A_206C_206F_206D_200C_202A_200F_202E_206D_200F_202C_206E_200F_206E_200E_200C_200B_206A_202E_206C_202C_202B_206C_202D_200E_202C_202B_200D_206A_206C_200C_202A_202E(Stream P_0, Stream P_1) + { + P_0.CopyTo(P_1); + } + + static void _200E_202B_206A_206B_202A_206B_206A_206F_200B_200C_200E_206C_206C_206F_200F_202E_202A_202A_202C_202E_206B_202E_200D_202A_206B_202C_200F_200C_200B_206D_202C_200F_202A_206D_206D_202D_200B_200C_200E_202C_202E(AesGcm P_0, ReadOnlySpan P_1, ReadOnlySpan P_2, ReadOnlySpan P_3, Span P_4, ReadOnlySpan P_5) + { + P_0.Decrypt(P_1, P_2, P_3, P_4, P_5); + } + + static DeflateStream _206E_206E_202E_206A_200F_200B_206B_206A_206C_206D_200B_202E_206E_200C_206A_200D_202A_202E_200B_206D_206C_202D_202A_206B_202D_206B_202E_202C_200D_200F_206C_200F_200B_206B_200F_200D_202A_200E_202E_202E_202E(Stream P_0, CompressionMode P_1) + { + return new DeflateStream(P_0, P_1); + } +} diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/ActionConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/ActionConverter.cs index 8476b038..a3e50517 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; @@ -9,231 +9,231 @@ public sealed class ActionConverter : EnumConverter { { EAction.DutyAction1, - "Duty Action I" + global::_003CModule_003E._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(-920443251) }, { EAction.DutyAction2, - "Duty Action II" + global::_003CModule_003E._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(-1676496598) }, { EAction.Dismount, - "Dismount" + 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(898657976) }, { EAction.HeavySwing, - "Heavy Swing" + global::_003CModule_003E._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(30436877) }, { EAction.Bootshine, - "Bootshine" + global::_003CModule_003E._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(-1171661279) }, { EAction.TwinSnakes, - "Twin Snakes" + global::_003CModule_003E._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(-214735499) }, { EAction.Demolish, - "Demolish" + global::_003CModule_003E._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(-852885337) }, { EAction.DragonKick, - "Dragon Kick" + global::_003CModule_003E._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(-1776359158) }, { EAction.HeavyShot, - "Heavy Shot" + global::_003CModule_003E._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(-1629894483) }, { EAction.Cure, - "Cure" + 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(2013561502) }, { EAction.Cure2, - "Cure II" + global::_003CModule_003E._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(-541372425) }, { EAction.Eukrasia, - "Eukrasia" + global::_003CModule_003E._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(1630459609) }, { EAction.Diagnosis, - "Diagnosis" + global::_003CModule_003E._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(-486914278) }, { EAction.EukrasianDiagnosis, - "Eukrasian Diagnosis" + global::_003CModule_003E._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(1292810806) }, { EAction.Esuna, - "Esuna" + global::_003CModule_003E._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(299804680) }, { EAction.Physick, - "Physick" + global::_003CModule_003E._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(-617667769) }, { EAction.AspectedBenefic, - "Aspected Benefic" + global::_003CModule_003E._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(-1535140218) }, { EAction.FormShift, - "Form Shift" + global::_003CModule_003E._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(-1758189639) }, { EAction.FieryBreath, - "Fiery Breath" + global::_003CModule_003E._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(1878817341) }, { EAction.BuffetSanuwa, - "Buffet (Sanuwa)" + 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(-395244183) }, { EAction.BuffetGriffin, - "Buffet (Griffin)" + global::_003CModule_003E._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(577639264) }, { EAction.Trample, - "Trample" + global::_003CModule_003E._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(-132809969) }, { EAction.Fumigate, - "Fumigate" + global::_003CModule_003E._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(-405848024) }, { EAction.Roar, - "Roar" + 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(-269278983) }, { EAction.Seed, - "Seed" + global::_003CModule_003E._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(-2085474108) }, { EAction.Inhale, - "Inhale" + 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(1909695965) }, { EAction.SiphonSnout, - "Siphon Snout" + 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(338447354) }, { EAction.PeculiarLight, - "Peculiar Light" + 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(-1777544994) }, { EAction.Cannonfire, - "Cannonfire" + global::_003CModule_003E._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(1919396001) }, { EAction.RedGulal, - "Red Gulal" + global::_003CModule_003E._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(-105501459) }, { EAction.YellowGulal, - "Yellow Gulal" + global::_003CModule_003E._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(-1177061311) }, { EAction.BlueGulal, - "Blue Gulal" + global::_003CModule_003E._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(-698242973) }, { EAction.ElectrixFlux, - "Electric Flux" + global::_003CModule_003E._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(756507430) }, { EAction.HopStep, - "Hop-step" + global::_003CModule_003E._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(-1270299825) }, { EAction.Hide, - "Hide" + global::_003CModule_003E._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(203189369) }, { EAction.FumaShuriken, - "Fuma Shuriken" + global::_003CModule_003E._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(1338224287) }, { EAction.Katon, - "Katon" + global::_003CModule_003E._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(241806869) }, { EAction.Raiton, - "Raiton" + global::_003CModule_003E._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(1012265295) }, { EAction.SlugShot, - "Slug Shot" + global::_003CModule_003E._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(1330328927) }, { EAction.BosomBrook, - "Bosom Brook" + global::_003CModule_003E._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(1753913563) }, { EAction.Souleater, - "Souleater" + global::_003CModule_003E._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(284812792) }, { EAction.Fire3, - "Fire III" + 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(2032344776) }, { EAction.Adloquium, - "Adloquium" + global::_003CModule_003E._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(2086382274) }, { EAction.WaterCannon, - "Water Cannon" + 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(-1717878783) }, { EAction.Wasshoi, - "Wasshoi" + global::_003CModule_003E._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(1239213002) }, { EAction.ShroudedLuminescence, - "Shrouded Luminescence" + global::_003CModule_003E._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(785504046) }, { EAction.BigSneeze, - "Big Sneeze" + global::_003CModule_003E._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(1056981152) }, { EAction.TrickstersTreat, - "Trickster's Treat" + global::_003CModule_003E._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(-804524713) }, { EAction.TreatersTrick, - "Treater's Trick" + 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(-1528930983) }, { EAction.CheerRhythmRed, - "Cheer Rhythm: Red" + 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(168282828) }, { EAction.CheerRhythmBlue, - "Cheer Rhythm: Blue" + global::_003CModule_003E._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(-969826103) }, { EAction.CheerRhythmGreen, - "Cheer Rhythm: Green" + global::_003CModule_003E._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(-2146195740) }, { EAction.CheerRhythmYellow, - "Cheer Rhythm: Yellow" + global::_003CModule_003E._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(-1031285962) }, { EAction.PruningPirouette, - "Pruning Pirouette" + global::_003CModule_003E._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(-1897838008) }, { EAction.RoaringEggscapade, - "Roaring Eggscapade" + global::_003CModule_003E._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(1113304102) }, { EAction.TheSpriganator, - "The Spriganator" + global::_003CModule_003E._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(1984099740) }, { EAction.CurtainCall, - "Curtain Call" + global::_003CModule_003E._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(1922010307) } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/AethernetShardConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/AethernetShardConverter.cs index 0c788f46..6bc40b47 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; @@ -10,579 +10,579 @@ public sealed class AethernetShardConverter : EnumConverter { { EAetheryteLocation.Gridania, - "[Gridania] Aetheryte Plaza" + global::_003CModule_003E._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(-154651820) }, { EAetheryteLocation.GridaniaArcher, - "[Gridania] Archers' Guild" + global::_003CModule_003E._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(1835846585) }, { EAetheryteLocation.GridaniaLeatherworker, - "[Gridania] Leatherworkers' Guild & Shaded Bower" + 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(-2051575057) }, { EAetheryteLocation.GridaniaLancer, - "[Gridania] Lancers' Guild" + 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(-354361246) }, { EAetheryteLocation.GridaniaConjurer, - "[Gridania] Conjurers' Guild" + 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(-291378646) }, { EAetheryteLocation.GridaniaBotanist, - "[Gridania] Botanists' Guild" + global::_003CModule_003E._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(-1528632174) }, { EAetheryteLocation.GridaniaAmphitheatre, - "[Gridania] Mih Khetto's Amphitheatre" + 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(1850029754) }, { EAetheryteLocation.GridaniaBlueBadgerGate, - "[Gridania] Blue Badger Gate (Central Shroud)" + global::_003CModule_003E._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(1556467724) }, { EAetheryteLocation.GridaniaYellowSerpentGate, - "[Gridania] Yellow Serpent Gate (North Shroud)" + global::_003CModule_003E._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(-2113422072) }, { EAetheryteLocation.GridaniaWhiteWolfGate, - "[Gridania] White Wolf Gate (Central Shroud)" + global::_003CModule_003E._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(-1139268377) }, { EAetheryteLocation.GridaniaAirship, - "[Gridania] Airship Landing" + global::_003CModule_003E._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(-570872123) }, { EAetheryteLocation.Uldah, - "[Ul'dah] Aetheryte Plaza" + global::_003CModule_003E._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(-450402229) }, { EAetheryteLocation.UldahAdventurers, - "[Ul'dah] Adventurers' Guild" + global::_003CModule_003E._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(574939248) }, { EAetheryteLocation.UldahThaumaturge, - "[Ul'dah] Thaumaturges' Guild" + global::_003CModule_003E._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(1547336503) }, { EAetheryteLocation.UldahGladiator, - "[Ul'dah] Gladiators' Guild" + 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(-725624068) }, { EAetheryteLocation.UldahMiner, - "[Ul'dah] Miners' Guild" + global::_003CModule_003E._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(1711110088) }, { EAetheryteLocation.UldahWeaver, - "[Ul'dah] Weavers' Guild" + global::_003CModule_003E._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(-1861314725) }, { EAetheryteLocation.UldahGoldsmith, - "[Ul'dah] Goldsmiths' Guild" + 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(489828606) }, { EAetheryteLocation.UldahSapphireAvenue, - "[Ul'dah] Sapphire Avenue Exchange" + 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(552811206) }, { EAetheryteLocation.UldahAlchemist, - "[Ul'dah] Alchemists' Guild" + global::_003CModule_003E._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(759288167) }, { EAetheryteLocation.UldahChamberOfRule, - "[Ul'dah] The Chamber of Rule" + global::_003CModule_003E._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(2020394816) }, { EAetheryteLocation.UldahGateOfTheSultana, - "[Ul'dah] Gate of the Sultana (Western Thanalan)" + global::_003CModule_003E._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(2062385624) }, { EAetheryteLocation.UldahGateOfNald, - "[Ul'dah] Gate of Nald (Central Thanalan)" + global::_003CModule_003E._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(475670255) }, { EAetheryteLocation.UldahGateOfThal, - "[Ul'dah] Gate of Thal (Central Thanalan)" + global::_003CModule_003E._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(818409103) }, { EAetheryteLocation.UldahAirship, - "[Ul'dah] Airship Landing" + global::_003CModule_003E._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(307685049) }, { EAetheryteLocation.Limsa, - "[Limsa Lominsa] Aetheryte Plaza" + global::_003CModule_003E._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(-60087978) }, { EAetheryteLocation.LimsaArcanist, - "[Limsa Lominsa] Arcanists' Guild" + global::_003CModule_003E._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(-543460730) }, { EAetheryteLocation.LimsaFisher, - "[Limsa Lominsa] Fishermen's Guild" + 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(319664080) }, { EAetheryteLocation.LimsaHawkersAlley, - "[Limsa Lominsa] Hawkers' Alley" + global::_003CModule_003E._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(-1447015526) }, { EAetheryteLocation.LimsaAftcastle, - "[Limsa Lominsa] The Aftcastle" + global::_003CModule_003E._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(-1096075411) }, { EAetheryteLocation.LimsaCulinarian, - "[Limsa Lominsa] Culinarians' Guild" + global::_003CModule_003E._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(1785177248) }, { EAetheryteLocation.LimsaMarauder, - "[Limsa Lominsa] Marauders' Guild" + global::_003CModule_003E._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(-439627582) }, { EAetheryteLocation.LimsaZephyrGate, - "[Limsa Lominsa] Zephyr Gate (Middle La Noscea)" + global::_003CModule_003E._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(-1162170065) }, { EAetheryteLocation.LimsaTempestGate, - "[Limsa Lominsa] Tempest Gate (Lower La Noscea)" + global::_003CModule_003E._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(548038336) }, { EAetheryteLocation.LimsaAirship, - "[Limsa Lominsa] Airship Landing" + global::_003CModule_003E._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(-1638683857) }, { EAetheryteLocation.GoldSaucer, - "[Gold Saucer] Aetheryte Plaza" + global::_003CModule_003E._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(2074043522) }, { EAetheryteLocation.GoldSaucerEntranceCardSquares, - "[Gold Saucer] Entrance & Card Squares" + global::_003CModule_003E._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(-731784547) }, { EAetheryteLocation.GoldSaucerWonderSquareEast, - "[Gold Saucer] Wonder Square East" + global::_003CModule_003E._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(-1441548926) }, { EAetheryteLocation.GoldSaucerWonderSquareWest, - "[Gold Saucer] Wonder Square West" + global::_003CModule_003E._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(-1514504991) }, { EAetheryteLocation.GoldSaucerEventSquare, - "[Gold Saucer] Event Square" + global::_003CModule_003E._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(-1639752060) }, { EAetheryteLocation.GoldSaucerCactpotBoard, - "[Gold Saucer] Cactpot Board" + global::_003CModule_003E._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(323881500) }, { EAetheryteLocation.GoldSaucerRoundSquare, - "[Gold Saucer] Round Square" + global::_003CModule_003E._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(-502177596) }, { EAetheryteLocation.GoldSaucerChocoboSquare, - "[Gold Saucer] Chocobo Square" + global::_003CModule_003E._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(-1328236692) }, { EAetheryteLocation.GoldSaucerMinionSquare, - "[Gold Saucer] Minion Square" + global::_003CModule_003E._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(937898268) }, { EAetheryteLocation.Ishgard, - "[Ishgard] Aetheryte Plaza" + global::_003CModule_003E._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(1952835700) }, { EAetheryteLocation.IshgardForgottenKnight, - "[Ishgard] The Forgotten Knight" + global::_003CModule_003E._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(-2130096812) }, { EAetheryteLocation.IshgardSkysteelManufactory, - "[Ishgard] Skysteel Manufactory" + global::_003CModule_003E._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(-2104950276) }, { EAetheryteLocation.IshgardBrume, - "[Ishgard] The Brume" + global::_003CModule_003E._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(1052253030) }, { EAetheryteLocation.IshgardAthenaeumAstrologicum, - "[Ishgard] Athenaeum Astrologicum" + global::_003CModule_003E._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(820873132) }, { EAetheryteLocation.IshgardJeweledCrozier, - "[Ishgard] The Jeweled Crozier" + 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(1349485343) }, { EAetheryteLocation.IshgardSaintReymanaudsCathedral, - "[Ishgard] Saint Reymanaud's Cathedral" + global::_003CModule_003E._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(-1848714494) }, { EAetheryteLocation.IshgardTribunal, - "[Ishgard] The Tribunal" + global::_003CModule_003E._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(978384048) }, { EAetheryteLocation.IshgardLastVigil, - "[Ishgard] The Last Vigil" + global::_003CModule_003E._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(1092540632) }, { EAetheryteLocation.IshgardGatesOfJudgement, - "[Ishgard] The Gates of Judgement (Coerthas Central Highlands)" + global::_003CModule_003E._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(130769485) }, { EAetheryteLocation.IshgardFirmament, - "[Ishgard] Firmament" + global::_003CModule_003E._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(512182304) }, { EAetheryteLocation.FirmamentMendicantsCourt, - "[Firmament] The Mendicant's Court" + global::_003CModule_003E._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(-1285043726) }, { EAetheryteLocation.FirmamentMattock, - "[Firmament] The Mattock" + 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(282097532) }, { EAetheryteLocation.FirmamentNewNest, - "[Firmament] The New Nest" + global::_003CModule_003E._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(2124367843) }, { EAetheryteLocation.FirmanentSaintRoellesDais, - "[Firmament] Saint Roelle's Dais" + global::_003CModule_003E._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(817035462) }, { EAetheryteLocation.FirmamentFeatherfall, - "[Firmament] Featherfall" + global::_003CModule_003E._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(1356631365) }, { EAetheryteLocation.FirmamentHoarfrostHall, - "[Firmament] Hoarfrost Hall" + global::_003CModule_003E._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(-622852614) }, { EAetheryteLocation.FirmamentWesternRisensongQuarter, - "[Firmament] Western Risensong Quarter" + global::_003CModule_003E._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(367074466) }, { - EAetheryteLocation.FIrmamentEasternRisensongQuarter, - "[Firmament] Eastern Risensong Quarter" + EAetheryteLocation.FirmamentEasternRisensongQuarter, + 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(-1107951117) }, { EAetheryteLocation.Idyllshire, - "[Idyllshire] Aetheryte Plaza" + global::_003CModule_003E._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(1024981516) }, { EAetheryteLocation.IdyllshireWest, - "[Idyllshire] West Idyllshire" + global::_003CModule_003E._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(2039918948) }, { EAetheryteLocation.IdyllshirePrologueGate, - "[Idyllshire] Prologue Gate (Western Hinterlands)" + global::_003CModule_003E._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(-2088254845) }, { EAetheryteLocation.IdyllshireEpilogueGate, - "[Idyllshire] Epilogue Gate (Eastern Hinterlands)" + global::_003CModule_003E._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(1606166755) }, { EAetheryteLocation.RhalgrsReach, - "[Rhalgr's Reach] Aetheryte Plaza" + 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(904175694) }, { EAetheryteLocation.RhalgrsReachWest, - "[Rhalgr's Reach] Western Rhalgr's Reach" + 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(422414557) }, { EAetheryteLocation.RhalgrsReachNorthEast, - "[Rhalgr's Reach] Northeastern Rhalgr's Reach" + global::_003CModule_003E._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(1266106510) }, { EAetheryteLocation.RhalgrsReachFringesGate, - "[Rhalgr's Reach] Fringes Gate" + 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(1156106094) }, { EAetheryteLocation.RhalgrsReachPeaksGate, - "[Rhalgr's Reach] Peaks Gate" + global::_003CModule_003E._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(903963554) }, { EAetheryteLocation.Kugane, - "[Kugane] Aetheryte Plaza" + 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(737327557) }, { EAetheryteLocation.KuganeShiokazeHostelry, - "[Kugane] Shiokaze Hostelry" + global::_003CModule_003E._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(389262993) }, { EAetheryteLocation.KuganePier1, - "[Kugane] Pier #1" + global::_003CModule_003E._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(-1984652830) }, { EAetheryteLocation.KuganeThavnairianConsulate, - "[Kugane] Thavnairian Consulate" + global::_003CModule_003E._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(-1654876663) }, { EAetheryteLocation.KuganeMarkets, - "[Kugane] Kogane Dori Markets" + global::_003CModule_003E._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(-1303936548) }, { EAetheryteLocation.KuganeBokairoInn, - "[Kugane] Bokairo Inn" + global::_003CModule_003E._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(84111244) }, { EAetheryteLocation.KuganeRubyBazaar, - "[Kugane] The Ruby Bazaar" + global::_003CModule_003E._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(279041210) }, { EAetheryteLocation.KuganeSekiseigumiBarracks, - "[Kugane] Sekiseigumi Barracks" + global::_003CModule_003E._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(-1028291171) }, { EAetheryteLocation.KuganeRakuzaDistrict, - "[Kugane] Rakuza District" + global::_003CModule_003E._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(-353698586) }, { EAetheryteLocation.KuganeRubyPrice, - "[Kugane] The Ruby Price" + global::_003CModule_003E._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(-1760655176) }, { EAetheryteLocation.KuganeAirship, - "[Kugane] Airship Landing" + global::_003CModule_003E._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(-305748688) }, { EAetheryteLocation.DomanEnclave, - "[Doman Enclave] Aetheryte Plaza" + global::_003CModule_003E._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(175036154) }, { EAetheryteLocation.DomanEnclaveNorthern, - "[Doman Enclave] The Northern Enclave" + global::_003CModule_003E._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(596539376) }, { EAetheryteLocation.DomanEnclaveSouthern, - "[Doman Enclave] The Southern Enclave" + global::_003CModule_003E._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(-1610418315) }, { EAetheryteLocation.DomanEnclaveDocks, - "[Doman Enclave] Ferry Docks" + 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(1237871968) }, { EAetheryteLocation.DomanEnclaveOneRiver, - "[Doman Enclave] The One River" + global::_003CModule_003E._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(1302316452) }, { EAetheryteLocation.DomanEnclaveGangos, - "[Doman Enclave] Gangos" + global::_003CModule_003E._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(-522822113) }, { EAetheryteLocation.Crystarium, - "[Crystarium] Aetheryte Plaza" + 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(1426819768) }, { EAetheryteLocation.CrystariumMarkets, - "[Crystarium] Musica Universalis Markets" + global::_003CModule_003E._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(1547488828) }, { EAetheryteLocation.CrystariumTemenosRookery, - "[Crystarium] Temenos Rookery" + global::_003CModule_003E._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(-1239932163) }, { EAetheryteLocation.CrystariumDossalGate, - "[Crystarium] The Dossal Gate" + 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(1996979557) }, { EAetheryteLocation.CrystariumPendants, - "[Crystarium] The Pendants" + 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(2059962157) }, { EAetheryteLocation.CrystariumAmaroLaunch, - "[Crystarium] The Amaro Launch" + global::_003CModule_003E._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(1278165338) }, { EAetheryteLocation.CrystariumCrystallineMean, - "[Crystarium] The Crystalline Mean" + 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(1704166220) }, { EAetheryteLocation.CrystariumCabinetOfCuriosity, - "[Crystarium] The Cabinet of Curiosity" + global::_003CModule_003E._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(1874586734) }, { EAetheryteLocation.CrystariumTessellation, - "[Crystarium] Tessellation (Lakeland)" + global::_003CModule_003E._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(1184483087) }, { EAetheryteLocation.Eulmore, - "[Eulmore] Aetheryte Plaza" + global::_003CModule_003E._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(1337286274) }, { EAetheryteLocation.EulmoreSoutheastDerelict, - "[Eulmore] Southeast Derelicts" + global::_003CModule_003E._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(490117002) }, { EAetheryteLocation.EulmoreNightsoilPots, - "[Eulmore] Nightsoil Pots" + global::_003CModule_003E._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(-858519344) }, { EAetheryteLocation.EulmoreGloryGate, - "[Eulmore] The Glory Gate" + global::_003CModule_003E._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(-1761215389) }, { EAetheryteLocation.EulmoreMainstay, - "[Eulmore] The Mainstay" + global::_003CModule_003E._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(1320723530) }, { EAetheryteLocation.EulmorePathToGlory, - "[Eulmore] The Path to Glory (Kholusia)" + global::_003CModule_003E._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(199706279) }, { EAetheryteLocation.OldSharlayan, - "[Old Sharlayan] Aetheryte Plaza" + global::_003CModule_003E._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(-1839208848) }, { EAetheryteLocation.OldSharlayanStudium, - "[Old Sharlayan] The Studium" + global::_003CModule_003E._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(367006088) }, { EAetheryteLocation.OldSharlayanBaldesionAnnex, - "[Old Sharlayan] The Baldesion Annex" + global::_003CModule_003E._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(-1204054181) }, { EAetheryteLocation.OldSharlayanRostra, - "[Old Sharlayan] The Rostra" + global::_003CModule_003E._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(-591635593) }, { EAetheryteLocation.OldSharlayanLeveilleurEstate, - "[Old Sharlayan] The Leveilleur Estate" + global::_003CModule_003E._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(184774238) }, { EAetheryteLocation.OldSharlayanJourneysEnd, - "[Old Sharlayan] Journey's End" + 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(1722949494) }, { EAetheryteLocation.OldSharlayanScholarsHarbor, - "[Old Sharlayan] Scholar's Harbor" + global::_003CModule_003E._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(-2093584763) }, { EAetheryteLocation.OldSharlayanHallOfArtifice, - "[Old Sharlayan] The Hall of Artifice (Labyrinthos)" + global::_003CModule_003E._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(-728935200) }, { EAetheryteLocation.RadzAtHan, - "[Radz-at-Han] Aetheryte Plaza" + global::_003CModule_003E._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(1847117793) }, { EAetheryteLocation.RadzAtHanMeghaduta, - "[Radz-at-Han] Meghaduta" + global::_003CModule_003E._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(-418488035) }, { EAetheryteLocation.RadzAtHanRuveydahFibers, - "[Radz-at-Han] Ruveydah Fibers" + global::_003CModule_003E._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(1873420954) }, { EAetheryteLocation.RadzAtHanAirship, - "[Radz-at-Han] Airship Landing" + global::_003CModule_003E._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(-1874028006) }, { EAetheryteLocation.RadzAtHanAlzadaalsPeace, - "[Radz-at-Han] Alzadaal's Peace" + global::_003CModule_003E._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(-1159535712) }, { EAetheryteLocation.RadzAtHanHallOfTheRadiantHost, - "[Radz-at-Han] Hall of the Radiant Host" + 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(718544283) }, { EAetheryteLocation.RadzAtHanMehrydesMeyhane, - "[Radz-at-Han] Mehryde's Meyhane" + global::_003CModule_003E._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(-1549395644) }, { EAetheryteLocation.RadzAtHanKama, - "[Radz-at-Han] Kama" + global::_003CModule_003E._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(785890257) }, { EAetheryteLocation.RadzAtHanHighCrucible, - "[Radz-at-Han] The High Crucible of Al-Kimiya" + 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(1833447809) }, { EAetheryteLocation.RadzAtHanGateOfFirstSight, - "[Radz-at-Han] The Gate of First Sight (Thavnair)" + 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(-219561939) }, { EAetheryteLocation.Tuliyollal, - "[Tuliyollal] Aetheryte Plaza" + 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(1540634472) }, { EAetheryteLocation.TuliyollalDirigibleLanding, - "[Tuliyollal] Dirigible Landing" + global::_003CModule_003E._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(1529685964) }, { EAetheryteLocation.TuliyollalTheResplendentQuarter, - "[Tuliyollal] The Resplendent Quarter" + global::_003CModule_003E._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(-1008767039) }, { EAetheryteLocation.TuliyollalTheForardCabins, - "[Tuliyollal] The For'ard Cabins" + global::_003CModule_003E._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(-1834383238) }, { EAetheryteLocation.TuliyollalBaysideBevyMarketplace, - "[Tuliyollal] Bayside Bevy Marketplace" + global::_003CModule_003E._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(-836977105) }, { EAetheryteLocation.TuliyollalVollokShoonsa, - "[Tuliyollal] Vollok Shoonsa" + global::_003CModule_003E._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(-1802696799) }, { EAetheryteLocation.TuliyollalWachumeqimeqi, - "[Tuliyollal] Wachumeqimeqi" + 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(-1831693487) }, { EAetheryteLocation.TuliyollalBrightploomPost, - "[Tuliyollal] Brightploom Post" + global::_003CModule_003E._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(-269334777) }, { EAetheryteLocation.TuliyollalArchOfTheDawnUrqopacha, - "[Tuliyollal] Arch of the Dawn (Urqopacha)" + global::_003CModule_003E._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(-1641380228) }, { EAetheryteLocation.TuliyollalArchOfTheDawnKozamauka, - "[Tuliyollal] Arch of the Dawn (Kozama'uka)" + global::_003CModule_003E._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(588439328) }, { EAetheryteLocation.TuliyollalIhuykatumu, - "[Tuliyollal] Ihuykatumu (Kozama'uka)" + global::_003CModule_003E._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(-1167210172) }, { EAetheryteLocation.TuliyollalDirigibleLandingYakTel, - "[Tuliyollal] Dirigible Landing (Yak T'el)" + 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(-745522402) }, { EAetheryteLocation.TuliyollalXakTuralSkygate, - "[Tuliyollal] Xak Tural Skygate (Shaaloani)" + global::_003CModule_003E._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(-2057072714) }, { EAetheryteLocation.SolutionNine, - "[Solution Nine] Aetheryte Plaza" + global::_003CModule_003E._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(-442784534) }, { EAetheryteLocation.SolutionNineInformationCenter, - "[Solution Nine] Information Center" + 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(-1038335739) }, { EAetheryteLocation.SolutionNineTrueVue, - "[Solution Nine] True Vue" + global::_003CModule_003E._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(-1457796029) }, { EAetheryteLocation.SolutionNineNeonStein, - "[Solution Nine] Neon Stein" + global::_003CModule_003E._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(-527950168) }, { EAetheryteLocation.SolutionNineTheArcadion, - "[Solution Nine] The Arcadion" + global::_003CModule_003E._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(-1721073376) }, { EAetheryteLocation.SolutionNineResolution, - "[Solution Nine] Resolution" + global::_003CModule_003E._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(-1557694312) }, { EAetheryteLocation.SolutionNineNexusArcade, - "[Solution Nine] Nexus Arcade" + global::_003CModule_003E._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(1093845183) }, { EAetheryteLocation.SolutionNineResidentialSector, - "[Solution Nine] Residential Sector" + global::_003CModule_003E._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(246675911) }, { EAetheryteLocation.SolutionNineScanningPortNine, - "[Solution Nine] Scanning Port Nine (Heritage Found)" + global::_003CModule_003E._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(631632294) } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/CombatItemUseConditionConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/CombatItemUseConditionConverter.cs index b0019805..8b2b53c6 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; @@ -9,15 +9,15 @@ public sealed class CombatItemUseConditionConverter : EnumConverter(2083549168) }, { ECombatItemUseCondition.HealthPercent, - "Health%" + global::_003CModule_003E._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(1244082044) }, { ECombatItemUseCondition.MissingStatus, - "MissingStatus" + 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(1125172324) } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/DialogueChoiceTypeConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/DialogueChoiceTypeConverter.cs index 0bae0b79..726e5a1e 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; @@ -9,11 +9,11 @@ public sealed class DialogueChoiceTypeConverter : EnumConverter(431163095) }, { EDialogChoiceType.List, - "List" + global::_003CModule_003E._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(-504112928) } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdConverter.cs index 73b0f456..19f839d9 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdConverter.cs @@ -8,22 +8,73 @@ public sealed class ElementIdConverter : JsonConverter { public override ElementId Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { - if (reader.TokenType == JsonTokenType.Number) + int num = ((reader.TokenType != JsonTokenType.Number) ? 937296843 : 937296840); + while (true) { - return new QuestId(reader.GetUInt16()); + int num2 = num; + int num3 = 937296842; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0049; + case 1: + return ElementId.FromString(reader.GetString() ?? throw _200F_200C_200C_202B_202D_206A_200F_206B_200D_206D_202B_202C_206D_206F_202E_206C_206A_200B_200B_206B_206C_202B_206F_206D_200B_206B_202C_200C_202E_200D_200C_200D_202B_202B_200C_202C_200F_202A_202C_202C_202E()); + case 2: + return new QuestId(reader.GetUInt16()); + } + continue; + IL_0049: + num = 937296840; } - return ElementId.FromString(reader.GetString() ?? throw new JsonException()); } public override void Write(Utf8JsonWriter writer, ElementId value, JsonSerializerOptions options) { - if (value is QuestId) + int num = ((!(value is QuestId)) ? (-1636085642) : (-1636085643)); + while (true) { - writer.WriteNumberValue(value.Value); - } - else - { - writer.WriteStringValue(value.ToString()); + int num2 = num; + int num3 = -1636085641; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0048; + case 1: + _206D_202E_202D_200B_202D_200B_206B_200E_200D_206F_202D_200D_206A_200F_202D_200F_200E_202E_202D_206C_200F_206E_200F_202C_206F_206B_200B_200F_200B_200C_206C_200B_206F_206B_202D_202B_202C_200D_202B_202E_202E(writer, _200E_202C_206D_200B_200D_206A_206F_206D_200B_200F_200D_200D_206E_206A_202D_200B_202A_202E_206D_202B_202E_200E_200E_200D_200D_200E_202D_200C_206A_202D_202E_200E_202E_202E_202C_206F_202B_200D_206B_202E((object)value)); + return; + case 2: + _202D_200D_206A_202D_206A_202E_202D_202D_202C_202B_202C_202E_202B_202B_200F_206C_206E_202C_206A_202A_200C_206E_202E_206E_200E_202E_202B_206A_200B_206E_202E_206B_206C_206B_200F_202E_202D_200C_202A_202E(writer, (int)value.Value); + return; + } + continue; + IL_0048: + num = -1636085643; } } + + static JsonException _200F_200C_200C_202B_202D_206A_200F_206B_200D_206D_202B_202C_206D_206F_202E_206C_206A_200B_200B_206B_206C_202B_206F_206D_200B_206B_202C_200C_202E_200D_200C_200D_202B_202B_200C_202C_200F_202A_202C_202C_202E() + { + return new JsonException(); + } + + static void _202D_200D_206A_202D_206A_202E_202D_202D_202C_202B_202C_202E_202B_202B_200F_206C_206E_202C_206A_202A_200C_206E_202E_206E_200E_202E_202B_206A_200B_206E_202E_206B_206C_206B_200F_202E_202D_200C_202A_202E(Utf8JsonWriter P_0, int P_1) + { + P_0.WriteNumberValue(P_1); + } + + static string _200E_202C_206D_200B_200D_206A_206F_206D_200B_200F_200D_200D_206E_206A_202D_200B_202A_202E_206D_202B_202E_200E_200E_200D_200D_200E_202D_200C_206A_202D_202E_200E_202E_202E_202C_206F_202B_200D_206B_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206D_202E_202D_200B_202D_200B_206B_200E_200D_206F_202D_200D_206A_200F_202D_200F_200E_202E_202D_206C_200F_206E_200F_202C_206F_206B_200B_200F_200B_200C_206C_200B_206F_206B_202D_202B_202C_200D_202B_202E_202E(Utf8JsonWriter P_0, string P_1) + { + P_0.WriteStringValue(P_1); + } } diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdListConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdListConverter.cs index 967ba51f..28c9d68d 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdListConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/ElementIdListConverter.cs @@ -9,41 +9,121 @@ public sealed class ElementIdListConverter : JsonConverter> { public override List Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { - if (reader.TokenType != JsonTokenType.StartArray) + int num = ((reader.TokenType == JsonTokenType.StartArray) ? (-129183690) : (-129183685)); + List list = default(List); + while (true) { - throw new JsonException(); - } - reader.Read(); - List list = new List(); - while (reader.TokenType != JsonTokenType.EndArray) - { - if (reader.TokenType == JsonTokenType.Number) + int num2 = num; + int num3 = -129183693; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 0: list.Add(new QuestId(reader.GetUInt16())); + num = -129183689; + break; + case 8: + throw _200D_206C_202A_200B_200B_200F_202E_202D_206B_200D_206F_200C_200C_202B_202D_206A_202E_206C_206B_202A_206E_206E_200F_200E_202C_202D_206E_200E_206E_202E_200B_206C_206E_200C_206B_206A_202E_206C_206A_200E_202E(); + case 3: + num = -129183685; + break; + case 1: + return list; + case 5: + reader.Read(); + list = new List(); + num = -129183691; + break; + case 4: + reader.Read(); + num = -129183691; + break; + case 2: + list.Add(ElementId.FromString(reader.GetString() ?? throw _200D_206C_202A_200B_200B_200F_202E_202D_206B_200D_206F_200C_200C_202B_202D_206A_202E_206C_206B_202A_206E_206E_200F_200E_202C_202D_206E_200E_206E_202E_200B_206C_206E_200C_206B_206A_202E_206C_206A_200E_202E())); + num = -129183689; + break; + case 7: + num = ((reader.TokenType != JsonTokenType.Number) ? (-129183695) : (-129183693)); + break; + case 6: + num = ((reader.TokenType != JsonTokenType.EndArray) ? (-129183692) : (-129183694)); + break; } - else - { - list.Add(ElementId.FromString(reader.GetString() ?? throw new JsonException())); - } - reader.Read(); } - return list; } public override void Write(Utf8JsonWriter writer, List value, JsonSerializerOptions options) { - writer.WriteStartArray(); - foreach (ElementId item in value) + _200B_206C_202D_200F_202E_206F_202C_206F_200F_200D_200B_206A_200D_206C_202A_202C_202A_202A_200C_202D_206D_202A_200C_202D_200D_206B_206B_206E_200D_200F_200B_200D_206B_202A_206E_206C_202A_200E_206A_202D_202E(writer); + using (List.Enumerator enumerator = value.GetEnumerator()) { - if (item is QuestId) + int num = 840120325; + ElementId current = default(ElementId); + while (true) { - writer.WriteNumberValue(item.Value); - } - else - { - writer.WriteStringValue(item.ToString()); + int num2 = num; + int num3 = 840120321; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 840120325; + break; + case 5: + current = enumerator.Current; + num = ((!(current is QuestId)) ? 840120320 : 840120322); + break; + case 1: + _200E_202A_200D_200C_200B_202C_202E_200E_202C_206C_206D_202C_200E_200C_200B_202D_202E_200E_200C_200F_200F_200F_206C_206F_206E_200D_200C_202B_200D_206E_206C_202E_200B_206D_202C_200C_206C_206F_206C_206C_202E(writer, _202B_202E_206E_202C_200F_206D_200D_202C_200B_202E_202B_200C_202E_202C_200C_206E_200D_202A_206D_200B_202B_202A_202A_206B_202C_202E_200D_200E_206C_200D_200C_202A_202B_206D_206F_202A_200C_206F_206A_202A_202E((object)current)); + num = 840120325; + break; + case 4: + num = (enumerator.MoveNext() ? 840120324 : 840120323); + break; + case 3: + _206E_206B_206E_200F_200E_206F_206E_206D_200C_202E_202A_206F_200B_202C_206A_202A_200B_202D_206F_202D_202C_202C_202A_200F_202E_202B_200F_206A_206F_206A_202A_206F_200D_200B_202C_200F_206B_206E_202A_202A_202E(writer, (int)current.Value); + num = 840120325; + break; + case 2: + goto end_IL_0018; + } + continue; + end_IL_0018: + break; } } - writer.WriteEndArray(); + _202E_202B_200E_200D_206F_200E_206B_206A_200D_206D_202C_206D_200B_202D_202D_202A_202B_202C_206E_206F_200F_206D_206B_200B_200D_202E_200D_200D_202B_206B_202B_202B_206E_202B_202E_200C_206C_200B_206E_202A_202E(writer); + } + + static JsonException _200D_206C_202A_200B_200B_200F_202E_202D_206B_200D_206F_200C_200C_202B_202D_206A_202E_206C_206B_202A_206E_206E_200F_200E_202C_202D_206E_200E_206E_202E_200B_206C_206E_200C_206B_206A_202E_206C_206A_200E_202E() + { + return new JsonException(); + } + + static void _200B_206C_202D_200F_202E_206F_202C_206F_200F_200D_200B_206A_200D_206C_202A_202C_202A_202A_200C_202D_206D_202A_200C_202D_200D_206B_206B_206E_200D_200F_200B_200D_206B_202A_206E_206C_202A_200E_206A_202D_202E(Utf8JsonWriter P_0) + { + P_0.WriteStartArray(); + } + + static void _206E_206B_206E_200F_200E_206F_206E_206D_200C_202E_202A_206F_200B_202C_206A_202A_200B_202D_206F_202D_202C_202C_202A_200F_202E_202B_200F_206A_206F_206A_202A_206F_200D_200B_202C_200F_206B_206E_202A_202A_202E(Utf8JsonWriter P_0, int P_1) + { + P_0.WriteNumberValue(P_1); + } + + static string _202B_202E_206E_202C_200F_206D_200D_202C_200B_202E_202B_200C_202E_202C_200C_206E_200D_202A_206D_200B_202B_202A_202A_206B_202C_202E_200D_200E_206C_200D_200C_202A_202B_206D_206F_202A_200C_206F_206A_202A_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200E_202A_200D_200C_200B_202C_202E_200E_202C_206C_206D_202C_200E_200C_200B_202D_202E_200E_200C_200F_200F_200F_206C_206F_206E_200D_200C_202B_200D_206E_206C_202E_200B_206D_202C_200C_206C_206F_206C_206C_202E(Utf8JsonWriter P_0, string P_1) + { + P_0.WriteStringValue(P_1); + } + + static void _202E_202B_200E_200D_206F_200E_206B_206A_200D_206D_202C_206D_200B_202D_202D_202A_202B_202C_206E_206F_200F_206D_206B_200B_200D_202E_200D_200D_202B_206B_202B_202B_206E_202B_202E_200C_206C_200B_206E_202A_202E(Utf8JsonWriter P_0) + { + P_0.WriteEndArray(); } } diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/EmoteConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/EmoteConverter.cs index 77b8cc78..a4135b3d 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; @@ -9,1063 +9,1063 @@ public sealed class EmoteConverter : EnumConverter { { EEmote.Surprised, - "surprised" + 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(98667450) }, { EEmote.Angry, - "angry" + global::_003CModule_003E._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(-1274243662) }, { EEmote.Furious, - "furious" + global::_003CModule_003E._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(-1348561989) }, { EEmote.Blush, - "blush" + 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(-864854824) }, { EEmote.Bow, - "bow" + 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(1795881261) }, { EEmote.Cheer, - "cheer" + global::_003CModule_003E._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(-221423317) }, { EEmote.Clap, - "clap" + 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(-801872224) }, { EEmote.Beckon, - "beckon" + global::_003CModule_003E._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(-903630718) }, { EEmote.Comfort, - "comfort" + global::_003CModule_003E._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(1266023059) }, { EEmote.Cry, - "cry" + global::_003CModule_003E._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(1030439780) }, { EEmote.Dance, - "dance" + global::_003CModule_003E._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(-1068591807) }, { EEmote.Doubt, - "doubt" + global::_003CModule_003E._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(439963963) }, { EEmote.Doze, - "doze" + global::_003CModule_003E._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(-324005700) }, { EEmote.Fume, - "fume" + global::_003CModule_003E._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(2029992722) }, { EEmote.Goodbye, - "goodbye" + global::_003CModule_003E._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(-1250823657) }, { EEmote.Wave, - "wave" + global::_003CModule_003E._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(-71185674) }, { EEmote.Huh, - "huh" + global::_003CModule_003E._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(872973505) }, { EEmote.Joy, - "joy" + global::_003CModule_003E._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(1692980971) }, { EEmote.Kneel, - "kneel" + global::_003CModule_003E._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(1017336384) }, { EEmote.Chuckle, - "chuckle" + global::_003CModule_003E._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(-669576444) }, { EEmote.Laugh, - "laugh" + global::_003CModule_003E._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(830680885) }, { EEmote.Lookout, - "lookout" + global::_003CModule_003E._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(-1180299182) }, { EEmote.Me, - "me" + global::_003CModule_003E._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(593751748) }, { EEmote.No, - "no" + global::_003CModule_003E._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(-1277764165) }, { EEmote.Deny, - "deny" + 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(1147271987) }, { EEmote.Panic, - "panic" + global::_003CModule_003E._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(1803231473) }, { EEmote.Point, - "point" + global::_003CModule_003E._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(1474653182) }, { EEmote.Poke, - "poke" + global::_003CModule_003E._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(612817019) }, { EEmote.Congratulate, - "congratulate" + global::_003CModule_003E._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(835104534) }, { EEmote.Psych, - "psych" + global::_003CModule_003E._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(1390201925) }, { EEmote.Salute, - "salute" + global::_003CModule_003E._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(-1025885930) }, { EEmote.Shocked, - "shocked" + global::_003CModule_003E._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(1182258233) }, { EEmote.Shrug, - "shrug" + global::_003CModule_003E._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(721748952) }, { EEmote.Rally, - "rally" + 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(246732313) }, { EEmote.Soothe, - "soothe" + global::_003CModule_003E._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(-168113590) }, { EEmote.Stagger, - "stagger" + global::_003CModule_003E._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(-1103389613) }, { EEmote.Stretch, - "stretch" + global::_003CModule_003E._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(889863284) }, { EEmote.Sulk, - "sulk" + global::_003CModule_003E._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(1225530109) }, { EEmote.Think, - "think" + global::_003CModule_003E._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(-617881224) }, { EEmote.Upset, - "upset" + global::_003CModule_003E._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(985341395) }, { EEmote.Welcome, - "welcome" + global::_003CModule_003E._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(-2129987918) }, { EEmote.Yes, - "yes" + global::_003CModule_003E._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(-2016616842) }, { EEmote.ThumbsUp, - "thumbsup" + global::_003CModule_003E._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(-1140011580) }, { EEmote.ExamineSelf, - "examineself" + global::_003CModule_003E._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(-2057484029) }, { EEmote.Pose, - "pose" + 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(-1516780487) }, { EEmote.BlowKiss, - "blowkiss" + 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(1751681935) }, { EEmote.Grovel, - "grovel" + global::_003CModule_003E._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(-1979751057) }, { EEmote.Happy, - "happy" + global::_003CModule_003E._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(-178230351) }, { EEmote.Disappointed, - "disappointed" + global::_003CModule_003E._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(-942200014) }, { EEmote.Lounge, - "lounge" + 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(-846071550) }, { EEmote.GroundSit, - "groundsit" + 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(1877647135) }, { EEmote.AirQuotes, - "airquotes" + global::_003CModule_003E._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(-928191835) }, { EEmote.GcSalute, - "gcsalute" + 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(1940629735) }, { EEmote.Pray, - "pray" + global::_003CModule_003E._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(-867420776) }, { EEmote.ImperialSalute, - "imperialsalute" + global::_003CModule_003E._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(2132984389) }, { EEmote.Visor, - "visor" + 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(914124861) }, { EEmote.Megaflare, - "megaflare" + global::_003CModule_003E._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(22441766) }, { EEmote.CrimsonLotus, - "crimsonlotus" + 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(1521851198) }, { EEmote.Charmed, - "charmed" + global::_003CModule_003E._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(849575682) }, { EEmote.CheerOn, - "cheeron" + global::_003CModule_003E._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(1618283828) }, { EEmote.CheerWave, - "cheerwave" + global::_003CModule_003E._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(1044505648) }, { EEmote.CheerJump, - "cheerjump" + 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(-1557663424) }, { EEmote.StraightFace, - "straightface" + global::_003CModule_003E._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(-569663416) }, { EEmote.Smile, - "smile" + global::_003CModule_003E._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(-156633868) }, { EEmote.Grin, - "grin" + global::_003CModule_003E._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(-2011746046) }, { EEmote.Smirk, - "smirk" + global::_003CModule_003E._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(-1346808624) }, { EEmote.Taunt, - "taunt" + global::_003CModule_003E._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(-286224556) }, { EEmote.ShutEyes, - "shuteyes" + global::_003CModule_003E._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(-640353371) }, { EEmote.Sad, - "sad" + global::_003CModule_003E._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(143922978) }, { EEmote.Scared, - "scared" + global::_003CModule_003E._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(963930444) }, { EEmote.Amazed, - "amazed" + 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(1292020461) }, { EEmote.Ouch, - "ouch" + global::_003CModule_003E._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(1158860410) }, { EEmote.Annoyed, - "annoyed" + global::_003CModule_003E._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(1978867876) }, { EEmote.Alert, - "alert" + 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(1355003061) }, { EEmote.Worried, - "worried" + global::_003CModule_003E._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(-2065974146) }, { EEmote.BigGrin, - "biggrin" + global::_003CModule_003E._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(1491542961) }, { EEmote.Reflect, - "reflect" + global::_003CModule_003E._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(848785856) }, { EEmote.Furrow, - "furrow" + global::_003CModule_003E._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(1144544209) }, { EEmote.Scoff, - "scoff" + global::_003CModule_003E._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(769000478) }, { EEmote.Throw, - "throw" + global::_003CModule_003E._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(2116620461) }, { EEmote.ChangePose, - "changepose" + global::_003CModule_003E._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(1199148012) }, { EEmote.StepDance, - "stepdance" + global::_003CModule_003E._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(256395680) }, { EEmote.HarvestDance, - "harvestdance" + global::_003CModule_003E._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(669425228) }, { EEmote.BallDance, - "balldance" + global::_003CModule_003E._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(308791400) }, { EEmote.MandervilleDance, - "mandervilledance" + global::_003CModule_003E._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(1948806332) }, { EEmote.Pet, - "pet" + global::_003CModule_003E._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(-251123493) }, { EEmote.HandOver, - "handover" + global::_003CModule_003E._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(406256383) }, { EEmote.BombDance, - "bombdance" + global::_003CModule_003E._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(1182368338) }, { EEmote.Hurray, - "hurray" + global::_003CModule_003E._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(-901075998) }, { EEmote.Slap, - "slap" + 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(1662168223) }, { EEmote.Hug, - "hug" + global::_003CModule_003E._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(1849206098) }, { EEmote.Embrace, - "embrace" + global::_003CModule_003E._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(-1903241685) }, { EEmote.Hildibrand, - "hildibrand" + 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(-2025072736) }, { EEmote.FistBump, - "fistbump" + global::_003CModule_003E._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(1336713752) }, { EEmote.ThavDance, - "thavdance" + 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(-1480328999) }, { EEmote.GoldDance, - "golddance" + global::_003CModule_003E._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(154867554) }, { EEmote.SundropDance, - "sundropdance" + global::_003CModule_003E._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(-1115886354) }, { EEmote.BattleStance, - "battlestance" + global::_003CModule_003E._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(-1378287355) }, { EEmote.VictoryPose, - "victorypose" + global::_003CModule_003E._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(-1963055626) }, { EEmote.Backflip, - "backflip" + global::_003CModule_003E._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(699114469) }, { EEmote.EasternGreeting, - "easterngreeting" + global::_003CModule_003E._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(-1578046250) }, { EEmote.Eureka, - "eureka" + global::_003CModule_003E._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(-887942603) }, { EEmote.MogDance, - "mogdance" + global::_003CModule_003E._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(1118849886) }, { EEmote.Haurchefant, - "haurchefant" + global::_003CModule_003E._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(-1298118204) }, { EEmote.EasternStretch, - "easternstretch" + global::_003CModule_003E._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(-884186219) }, { EEmote.EasternDance, - "easterndance" + global::_003CModule_003E._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(-1151219950) }, { EEmote.RangerPose1R, - "rangerpose1r" + global::_003CModule_003E._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(-1881645202) }, { EEmote.RangerPose2R, - "rangerpose2r" + global::_003CModule_003E._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(546457201) }, { EEmote.RangerPose3R, - "rangerpose3r" + global::_003CModule_003E._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(-356573702) }, { EEmote.Wink, - "wink" + global::_003CModule_003E._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(2000292546) }, { EEmote.RangerPose1L, - "rangerpose1l" + 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(657763012) }, { EEmote.RangerPose2L, - "rangerpose2l" + global::_003CModule_003E._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(1273195300) }, { EEmote.RangerPose3L, - "rangerpose3l" + global::_003CModule_003E._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(-482943921) }, { EEmote.Facepalm, - "facepalm" + global::_003CModule_003E._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(1028022924) }, { EEmote.Zantetsuken, - "zantetsuken" + global::_003CModule_003E._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(1811053747) }, { EEmote.Flex, - "flex" + global::_003CModule_003E._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(-150475210) }, { EEmote.Respect, - "respect" + 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(-1877007873) }, { EEmote.Sneer, - "sneer" + 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(846710812) }, { EEmote.PrettyPlease, - "prettyplease" + global::_003CModule_003E._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(-1858836049) }, { EEmote.PlayDead, - "playdead" + global::_003CModule_003E._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(-574059846) }, { EEmote.IceHeart, - "iceheart" + global::_003CModule_003E._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(2083978462) }, { EEmote.MoonLift, - "moonlift" + global::_003CModule_003E._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(1320008799) }, { EEmote.Dote, - "dote" + global::_003CModule_003E._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(-1096079056) }, { EEmote.Spectacles, - "spectacles" + global::_003CModule_003E._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(-715492218) }, { EEmote.Songbird, - "songbird" + global::_003CModule_003E._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(1554577618) }, { EEmote.WaterFloat, - "waterfloat" + global::_003CModule_003E._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(1599991099) }, { EEmote.WaterFlip, - "waterflip" + global::_003CModule_003E._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(1535548577) }, { EEmote.PuckerUp, - "puckerup" + global::_003CModule_003E._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(1844337056) }, { EEmote.PowerUp, - "powerup" + global::_003CModule_003E._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(-847407621) }, { EEmote.EasternBow, - "easternbow" + global::_003CModule_003E._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(-924473821) }, { EEmote.Squats, - "squats" + global::_003CModule_003E._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(-1314333753) }, { EEmote.PushUps, - "pushups" + global::_003CModule_003E._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(2063161094) }, { EEmote.SitUps, - "situps" + global::_003CModule_003E._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(-909810757) }, { EEmote.BreathControl, - "breathcontrol" + 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(1388138160) }, { EEmote.Converse, - "converse" + global::_003CModule_003E._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(619301595) }, { EEmote.Concentrate, - "concentrate" + 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(1451120760) }, { EEmote.Disturbed, - "disturbed" + global::_003CModule_003E._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(-1411798736) }, { EEmote.Simper, - "simper" + global::_003CModule_003E._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(969068684) }, { EEmote.Beam, - "beam" + global::_003CModule_003E._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(205099021) }, { EEmote.Attention, - "attention" + global::_003CModule_003E._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(-1074482573) }, { EEmote.AtEase, - "atease" + global::_003CModule_003E._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(1046127895) }, { EEmote.Box, - "box" + 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(-538906388) }, { EEmote.RitualPrayer, - "ritualprayer" + 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(-1628393862) }, { EEmote.Tremble, - "tremble" + global::_003CModule_003E._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(-1922521474) }, { EEmote.Winded, - "winded" + 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(-1020667525) }, { EEmote.Aback, - "aback" + global::_003CModule_003E._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(-1178528460) }, { EEmote.Greeting, - "greeting" + global::_003CModule_003E._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(-1623459731) }, { EEmote.BoxStep, - "boxstep" + global::_003CModule_003E._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(1919306646) }, { EEmote.SideStep, - "sidestep" + 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(1221290023) }, { EEmote.Ultima, - "ultima" + global::_003CModule_003E._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(1052754600) }, { EEmote.YolDance, - "yoldance" + global::_003CModule_003E._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(874056870) }, { EEmote.Splash, - "splash" + 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(739528886) }, { EEmote.Sweat, - "sweat" + global::_003CModule_003E._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(1962578928) }, { EEmote.Shiver, - "shiver" + global::_003CModule_003E._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(639725052) }, { EEmote.Elucidate, - "elucidate" + global::_003CModule_003E._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(450472234) }, { EEmote.Ponder, - "ponder" + 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(-1858224599) }, { EEmote.LeftWink, - "leftwink" + global::_003CModule_003E._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(-437148906) }, { EEmote.GetFantasy, - "getfantasy" + global::_003CModule_003E._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(268240384) }, { EEmote.PopotoStep, - "popotostep" + 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(1473220423) }, { EEmote.Hum, - "hum" + global::_003CModule_003E._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(-6981493) }, { EEmote.Confirm, - "confirm" + global::_003CModule_003E._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(164605638) }, { EEmote.Scheme, - "scheme" + global::_003CModule_003E._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(1767828257) }, { EEmote.Endure, - "endure" + global::_003CModule_003E._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(-252153869) }, { EEmote.Tomestone, - "tomestone" + global::_003CModule_003E._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(550517012) }, { EEmote.HeelToe, - "heeltoe" + global::_003CModule_003E._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(160657080) }, { EEmote.GoobbueDouble, - "goobbuedo" + global::_003CModule_003E._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(-1529732906) }, { EEmote.Gratuity, - "gratuity" + 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(-1706843347) }, { EEmote.FistPump, - "fistpump" + global::_003CModule_003E._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(-1341775306) }, { EEmote.Reprimand, - "reprimand" + global::_003CModule_003E._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(2140667863) }, { EEmote.Sabotender, - "sabotender" + global::_003CModule_003E._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(-1288380120) }, { EEmote.MandervilleMambo, - "mandervillemambo" + global::_003CModule_003E._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(1282398839) }, { EEmote.LaliHo, - "laliho" + global::_003CModule_003E._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(1403364557) }, { EEmote.SimulationM, - "simulationm" + 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(-428408073) }, { EEmote.SimulationF, - "simulationf" + global::_003CModule_003E._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(1312248632) }, { EEmote.Toast, - "toast" + global::_003CModule_003E._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(298409665) }, { EEmote.Lean, - "lean" + global::_003CModule_003E._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(837467568) }, { EEmote.Headache, - "headache" + global::_003CModule_003E._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(1913906614) }, { EEmote.Snap, - "snap" + global::_003CModule_003E._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(1527571215) }, { EEmote.BreakFast, - "breakfast" + global::_003CModule_003E._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(-1047027334) }, { EEmote.Read, - "read" + global::_003CModule_003E._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(802624359) }, { EEmote.Insist, - "insist" + 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(-239460273) }, { EEmote.Consider, - "consider" + global::_003CModule_003E._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(221295472) }, { EEmote.Wasshoi, - "wasshoi" + global::_003CModule_003E._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(-1450707239) }, { EEmote.FlowerShower, - "flowershower" + global::_003CModule_003E._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(-1306643854) }, { EEmote.FlameDance, - "flamedance" + 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(1457753538) }, { EEmote.HighFive, - "highfive" + global::_003CModule_003E._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(1886070129) }, { EEmote.Guard, - "guard" + global::_003CModule_003E._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(-2095397405) }, { EEmote.Malevolence, - "malevolence" + global::_003CModule_003E._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(1754638620) }, { EEmote.BeesKnees, - "beesknees" + global::_003CModule_003E._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(-1741293096) }, { EEmote.LaliHop, - "lalihop" + global::_003CModule_003E._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(528776740) }, { EEmote.EatRiceBall, - "eatriceball" + global::_003CModule_003E._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(-987906398) }, { EEmote.EatApple, - "eatapple" + 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(1101957601) }, { EEmote.WringHands, - "wringhands" + global::_003CModule_003E._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(-655437687) }, { EEmote.Sweep, - "sweep" + global::_003CModule_003E._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(758503886) }, { EEmote.PaintBlack, - "paintblack" + global::_003CModule_003E._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(-172025471) }, { EEmote.PaintRed, - "paintred" + global::_003CModule_003E._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(-1244554421) }, { EEmote.PaintYellow, - "paintyellow" + global::_003CModule_003E._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(773949116) }, { EEmote.PaintBlue, - "paintblue" + global::_003CModule_003E._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(1945193976) }, { EEmote.FakeSmile, - "fakesmile" + global::_003CModule_003E._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(-1405290692) }, { EEmote.Pantomime, - "pantomime" + global::_003CModule_003E._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(1700021600) }, { EEmote.Vexed, - "vexed" + global::_003CModule_003E._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(-390353260) }, { EEmote.Shush, - "shush" + global::_003CModule_003E._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(-1307825709) }, { EEmote.EatPizza, - "eatpizza" + global::_003CModule_003E._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(-1019901387) }, { EEmote.ClutchHead, - "clutchhead" + global::_003CModule_003E._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(-877678175) }, { EEmote.EatChocolate, - "eatchocolate" + global::_003CModule_003E._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(2059681963) }, { EEmote.EatEgg, - "eategg" + global::_003CModule_003E._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(-1414497297) }, { EEmote.Content, - "content" + global::_003CModule_003E._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(-778548601) }, { EEmote.Sheathe, - "sheathe" + 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(-472607399) }, { EEmote.Draw, - "draw" + global::_003CModule_003E._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(2004312001) }, { EEmote.Tea, - "tea" + global::_003CModule_003E._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(719332096) }, { EEmote.Determined, - "determined" + global::_003CModule_003E._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(-975143158) }, { EEmote.ShowRight, - "showright" + global::_003CModule_003E._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(16130706) }, { EEmote.ShowLeft, - "showleft" + global::_003CModule_003E._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(275011842) }, { EEmote.Deride, - "deride" + global::_003CModule_003E._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(1066026804) }, { EEmote.Wow, - "wow" + global::_003CModule_003E._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(469941808) }, { EEmote.EatPumpkinCookie, - "eatpumpkincookie" + global::_003CModule_003E._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(1289949274) }, { EEmote.Spirit, - "spirit" + 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(1895315349) }, { EEmote.MagicTrick, - "magictrick" + 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(324066738) }, { EEmote.LittleLadiesDance, - "littleladiesdance" + global::_003CModule_003E._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(-1055718362) }, { EEmote.Linkpearl, - "linkpearl" + global::_003CModule_003E._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(-295843029) }, { EEmote.EarWiggle, - "earwiggle" + global::_003CModule_003E._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(-272719976) }, { EEmote.Frighten, - "frighten" + global::_003CModule_003E._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(-1922947020) }, { EEmote.AdventOfLight, - "adventoflight" + global::_003CModule_003E._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(-528105845) }, { EEmote.JumpForJoy1, - "jumpforjoy1" + 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(-513490336) }, { EEmote.JumpForJoy2, - "jumpforjoy2" + global::_003CModule_003E._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(-1369083816) }, { EEmote.JumpForJoy3, - "jumpforjoy3" + global::_003CModule_003E._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(900986020) }, { EEmote.JumpForJoy4, - "jumpforjoy4" + global::_003CModule_003E._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(2029381536) }, { EEmote.JumpForJoy5, - "jumpforjoy5" + global::_003CModule_003E._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(-24362244) }, { EEmote.HandToHeart, - "handtoheart" + global::_003CModule_003E._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(-878739064) }, { EEmote.CheerOnBright, - "cheeronbright" + 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(-324542536) }, { EEmote.CheerWaveViolet, - "cheerwaveviolet" + global::_003CModule_003E._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(1591089667) }, { EEmote.CheerJumpGreen, - "cheerjumpgreen" + 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(-1351047410) }, { EEmote.AllSaintsCharm, - "allsaintscharm" + 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(-1996340295) }, { EEmote.LopHop, - "lophop" + global::_003CModule_003E._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(583393760) }, { EEmote.Reference, - "reference" + global::_003CModule_003E._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(-406435122) }, { EEmote.EatChicken, - "eatchicken" + global::_003CModule_003E._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(-1886434971) }, { EEmote.Sundering, - "sundering" + global::_003CModule_003E._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(1124925175) }, { EEmote.Slump, - "slump" + 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(308599853) }, { EEmote.LoveHeart, - "loveheart" + global::_003CModule_003E._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(-2054417066) }, { EEmote.HumbleTriumph, - "humbletriumph" + 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(916326190) }, { EEmote.VictoryReveal, - "victoryreveal" + global::_003CModule_003E._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(-904949689) }, { EEmote.FryEgg, - "fryegg" + global::_003CModule_003E._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(547939088) }, { EEmote.Uchiwasshoi, - "uchiwasshoi" + 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(-1681427295) }, { EEmote.Attend, - "attend" + 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(497547653) }, { EEmote.Water, - "water" + global::_003CModule_003E._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(2075878414) }, { EEmote.ShakeDrink, - "shakedrink" + global::_003CModule_003E._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(1311908751) }, { EEmote.Unbound, - "unbound" + 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(-465974621) }, { EEmote.Bouquet, - "bouquet" + global::_003CModule_003E._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(-1931848452) }, { EEmote.BlowBubbles, - "blowbubbles" + global::_003CModule_003E._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(1918187573) }, { EEmote.Ohokaliy, - "ohokaliy" + global::_003CModule_003E._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(-1610602393) }, { EEmote.Visage, - "visage" + global::_003CModule_003E._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(-1144672054) }, { EEmote.Photograph, - "photograph" + global::_003CModule_003E._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(-1415672427) }, { EEmote.Overreact, - "overreact" + 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(1838965527) }, { EEmote.Twirl, - "twirl" + global::_003CModule_003E._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(-165517427) }, { EEmote.Dazed, - "dazed" + global::_003CModule_003E._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(-197077325) }, { EEmote.Rage, - "rage" + global::_003CModule_003E._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(-1619791035) }, { EEmote.TomeScroll, - "tomescroll" + 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(-214044221) }, { EEmote.Study, - "study" + 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(1964930727) }, { EEmote.GridanianSip, - "gridaniansip" + global::_003CModule_003E._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(-457912376) }, { EEmote.UldahnSip, - "uldahnsip" + global::_003CModule_003E._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(1182102556) }, { EEmote.LominsanSip, - "lominsansip" + 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(456664716) }, { EEmote.GridanianGulp, - "gridaniangulp" + global::_003CModule_003E._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(-460814196) }, { EEmote.UldahnGulp, - "uldahngulp" + global::_003CModule_003E._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(719634203) }, { EEmote.LominsanGulp, - "lominsangulp" + global::_003CModule_003E._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(1709715073) }, { EEmote.Pen, - "pen" + global::_003CModule_003E._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(474461827) } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/EnemySpawnTypeConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/EnemySpawnTypeConverter.cs index 161f9f70..8c202679 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; @@ -9,35 +9,35 @@ public sealed class EnemySpawnTypeConverter : EnumConverter { { EEnemySpawnType.AfterInteraction, - "AfterInteraction" + 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(-1051601295) }, { EEnemySpawnType.AfterItemUse, - "AfterItemUse" + global::_003CModule_003E._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(1200775416) }, { EEnemySpawnType.AfterAction, - "AfterAction" + global::_003CModule_003E._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(-1185165004) }, { EEnemySpawnType.AfterEmote, - "AfterEmote" + global::_003CModule_003E._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(2039087727) }, { EEnemySpawnType.AutoOnEnterArea, - "AutoOnEnterArea" + global::_003CModule_003E._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(-1832294933) }, { EEnemySpawnType.OverworldEnemies, - "OverworldEnemies" + global::_003CModule_003E._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(111153979) }, { EEnemySpawnType.FateEnemies, - "FateEnemies" + global::_003CModule_003E._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(801257626) }, { EEnemySpawnType.FinishCombatIfAny, - "FinishCombatIfAny" + 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(2024596938) } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/ExcelRefConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/ExcelRefConverter.cs index e7c90655..a0872f8d 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/ExcelRefConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/ExcelRefConverter.cs @@ -8,31 +8,96 @@ public sealed class ExcelRefConverter : JsonConverter { public override ExcelRef? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { - return reader.TokenType switch + JsonTokenType tokenType = reader.TokenType; + int num = ((tokenType == JsonTokenType.String) ? (-1439045557) : (-1439045556)); + ExcelRef result = default(ExcelRef); + while (true) { - JsonTokenType.String => ExcelRef.FromKey(reader.GetString()), - JsonTokenType.Number => ExcelRef.FromRowId(reader.GetUInt32()), - _ => null, - }; + int num2 = num; + int num3 = -1439045553; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1439045556; + break; + case 6: + num = -1439045558; + break; + case 4: + result = ExcelRef.FromKey(reader.GetString()); + num = -1439045555; + break; + case 1: + result = ExcelRef.FromRowId(reader.GetUInt32()); + num = -1439045555; + break; + case 3: + num = ((tokenType == JsonTokenType.Number) ? (-1439045554) : (-1439045559)); + break; + case 2: + return result; + case 5: + result = null; + num = -1439045555; + break; + } + } } public override void Write(Utf8JsonWriter writer, ExcelRef? value, JsonSerializerOptions options) { - if (value == null) + int num = ((value != null) ? 1575360776 : 1575360781); + while (true) { - writer.WriteNullValue(); - return; + int num2 = num; + int num3 = 1575360779; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = 1575360781; + break; + case 2: + _206B_202A_206B_200C_206D_200F_206C_202B_206D_206C_202A_202D_202B_200C_206B_200F_202C_206B_206A_200B_200F_202D_202D_202E_200B_202E_206F_202D_200E_206F_200E_202C_206B_206A_202A_202B_202E_200E_206E_206E_202E(writer, value.AsKey()); + return; + case 1: + num = ((value.Type != ExcelRef.EType.RowId) ? 1575360783 : 1575360779); + break; + case 4: + throw _206E_200D_200D_202B_206C_202A_200F_202E_206D_200C_200C_206A_200B_206D_206E_202B_206E_206E_202C_202E_202A_206A_200D_200C_200F_202D_206F_200D_206C_200F_200E_206E_206E_200D_202B_206A_200F_206F_202D_200F_202E(); + case 3: + num = ((value.Type != ExcelRef.EType.Key) ? 1575360778 : 1575360777); + break; + case 6: + _200F_206C_202B_202A_206B_206A_206C_202A_206D_202D_206F_202B_200E_202B_202C_200C_206D_206E_206D_202D_206B_202A_206D_202E_200F_206C_202A_200B_200D_202A_206E_206E_202B_200C_206C_206F_202E_206A_202A_202A_202E(writer); + return; + case 0: + _200B_200E_202E_206E_202C_202A_206A_202B_200B_200D_206B_206E_206F_202D_200D_202C_202B_206F_202A_206D_200D_202B_200C_206D_202C_206B_202A_202B_202D_200F_200F_200D_200C_200F_202B_202A_206E_206C_206C_202A_202E(writer, value.AsRowId()); + return; + } } - if (value.Type == ExcelRef.EType.Key) - { - writer.WriteStringValue(value.AsKey()); - return; - } - if (value.Type == ExcelRef.EType.RowId) - { - writer.WriteNumberValue(value.AsRowId()); - return; - } - throw new JsonException(); + } + + static void _200F_206C_202B_202A_206B_206A_206C_202A_206D_202D_206F_202B_200E_202B_202C_200C_206D_206E_206D_202D_206B_202A_206D_202E_200F_206C_202A_200B_200D_202A_206E_206E_202B_200C_206C_206F_202E_206A_202A_202A_202E(Utf8JsonWriter P_0) + { + P_0.WriteNullValue(); + } + + static void _206B_202A_206B_200C_206D_200F_206C_202B_206D_206C_202A_202D_202B_200C_206B_200F_202C_206B_206A_200B_200F_202D_202D_202E_200B_202E_206F_202D_200E_206F_200E_202C_206B_206A_202A_202B_202E_200E_206E_206E_202E(Utf8JsonWriter P_0, string P_1) + { + P_0.WriteStringValue(P_1); + } + + static void _200B_200E_202E_206E_202C_202A_206A_202B_200B_200D_206B_206E_206F_202D_200D_202C_202B_206F_202A_206D_200D_202B_200C_206D_202C_206B_202A_202B_202D_200F_200F_200D_200C_200F_202B_202A_206E_206C_206C_202A_202E(Utf8JsonWriter P_0, uint P_1) + { + P_0.WriteNumberValue(P_1); + } + + static JsonException _206E_200D_200D_202B_206C_202A_200F_202E_206D_200C_200C_206A_200B_206D_206E_202B_206E_206E_202C_202E_202A_206A_200D_200C_200F_202D_206F_200D_206C_200F_200E_206E_206E_200D_202B_206A_200F_206F_202D_200F_202E() + { + return new JsonException(); } } diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/ExtendedClassJobConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/ExtendedClassJobConverter.cs index d5375e6a..0dbf9025 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; @@ -9,199 +9,203 @@ internal sealed class ExtendedClassJobConverter : EnumConverter(220085912) }, { EExtendedClassJob.Gladiator, - "Gladiator" + global::_003CModule_003E._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(1856855877) }, { EExtendedClassJob.Pugilist, - "Pugilist" + global::_003CModule_003E._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(-2014526783) }, { EExtendedClassJob.Marauder, - "Marauder" + global::_003CModule_003E._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(-1605052653) }, { EExtendedClassJob.Lancer, - "Lancer" + global::_003CModule_003E._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(1726604852) }, { EExtendedClassJob.Archer, - "Archer" + global::_003CModule_003E._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(1800052101) }, { EExtendedClassJob.Conjurer, - "Conjurer" + global::_003CModule_003E._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(-1887045234) }, { EExtendedClassJob.Thaumaturge, - "Thaumaturge" + global::_003CModule_003E._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(1239279937) }, { EExtendedClassJob.Carpenter, - "Carpenter" + global::_003CModule_003E._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(404863755) }, { EExtendedClassJob.Blacksmith, - "Blacksmith" + 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(705278727) }, { EExtendedClassJob.Armorer, - "Armorer" + global::_003CModule_003E._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(-775767864) }, { EExtendedClassJob.Goldsmith, - "Goldsmith" + global::_003CModule_003E._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(827454755) }, { EExtendedClassJob.Leatherworker, - "Leatherworker" + global::_003CModule_003E._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(-619062784) }, { EExtendedClassJob.Weaver, - "Weaver" + global::_003CModule_003E._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(1479280583) }, { EExtendedClassJob.Alchemist, - "Alchemist" + global::_003CModule_003E._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(-1290468425) }, { EExtendedClassJob.Culinarian, - "Culinarian" + global::_003CModule_003E._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(-2023860148) }, { EExtendedClassJob.Miner, - "Miner" + global::_003CModule_003E._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(-2137637697) }, { EExtendedClassJob.Botanist, - "Botanist" + 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(1983714001) }, { EExtendedClassJob.Fisher, - "Fisher" + global::_003CModule_003E._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(-1777503038) }, { EExtendedClassJob.Paladin, - "Paladin" + global::_003CModule_003E._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(130522344) }, { EExtendedClassJob.Monk, - "Monk" + 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(1564935464) }, { EExtendedClassJob.Warrior, - "Warrior" + global::_003CModule_003E._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(1291602378) }, { EExtendedClassJob.Dragoon, - "Dragoon" + global::_003CModule_003E._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(75520123) }, { EExtendedClassJob.Bard, - "Bard" + global::_003CModule_003E._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(1256169716) }, { EExtendedClassJob.WhiteMage, - "White Mage" + 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(538430590) }, { EExtendedClassJob.BlackMage, - "Black Mage" + 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(-1577561758) }, { EExtendedClassJob.Arcanist, - "Arcanist" + global::_003CModule_003E._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(1781947130) }, { EExtendedClassJob.Summoner, - "Summoner" + global::_003CModule_003E._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(-1576598069) }, { EExtendedClassJob.Scholar, - "Scholar" + global::_003CModule_003E._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(-807762853) }, { EExtendedClassJob.Rogue, - "Rogue" + global::_003CModule_003E._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(1190429901) }, { EExtendedClassJob.Ninja, - "Ninja" + global::_003CModule_003E._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(-240327074) }, { EExtendedClassJob.Machinist, - "Machinist" + global::_003CModule_003E._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(-1004296737) }, { EExtendedClassJob.DarkKnight, - "Dark Knight" + global::_003CModule_003E._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(-1426098160) }, { EExtendedClassJob.Astrologian, - "Astrologian" + global::_003CModule_003E._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(-1002513524) }, { EExtendedClassJob.Samurai, - "Samurai" + global::_003CModule_003E._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(2021699864) }, { EExtendedClassJob.RedMage, - "Red Mage" + global::_003CModule_003E._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(-1450405132) }, { EExtendedClassJob.BlueMage, - "Blue Mage" + 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(-1970924243) }, { EExtendedClassJob.Gunbreaker, - "Gunbreaker" + global::_003CModule_003E._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(-1541505151) }, { EExtendedClassJob.Dancer, - "Dancer" + 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(-1907941643) }, { EExtendedClassJob.Reaper, - "Reaper" + global::_003CModule_003E._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(238492990) }, { EExtendedClassJob.Sage, - "Sage" + global::_003CModule_003E._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(-1995027649) }, { EExtendedClassJob.Viper, - "Viper" + 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(-1844959043) }, { EExtendedClassJob.Pictomancer, - "Pictomancer" + global::_003CModule_003E._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(-6679386) + }, + { + EExtendedClassJob.Beastmaster, + 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(-1237232706) }, { EExtendedClassJob.DoW, - "DoW" + global::_003CModule_003E._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(1411791118) }, { EExtendedClassJob.DoM, - "DoM" + global::_003CModule_003E._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(1504403372) }, { EExtendedClassJob.DoH, - "DoH" + 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(-1174250106) }, { EExtendedClassJob.DoL, - "DoL" + global::_003CModule_003E._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(-1034508513) }, { EExtendedClassJob.ConfiguredCombatJob, - "ConfiguredCombatJob" + global::_003CModule_003E._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(483665366) }, { EExtendedClassJob.QuestStartJob, - "QuestStartJob" + global::_003CModule_003E._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(-280820024) } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/InteractionTypeConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/InteractionTypeConverter.cs index 8036ad48..97d1e1f4 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/InteractionTypeConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/InteractionTypeConverter.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using Questionable.Model.Common.Converter; +using SmartNav.Model.Converter; namespace Questionable.Model.Questing.Converter; @@ -9,127 +9,143 @@ public sealed class InteractionTypeConverter : EnumConverter { { EInteractionType.None, - "None" + 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(-1117900284) }, { EInteractionType.Interact, - "Interact" + global::_003CModule_003E._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(1309208735) }, { EInteractionType.WalkTo, - "WalkTo" + global::_003CModule_003E._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(-1106879120) }, { EInteractionType.AttuneAethernetShard, - "AttuneAethernetShard" + global::_003CModule_003E._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(-1549209074) }, { EInteractionType.AttuneAetheryte, - "AttuneAetheryte" + global::_003CModule_003E._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(1716223117) }, { EInteractionType.RegisterFreeOrFavoredAetheryte, - "RegisterFreeOrFavoredAetheryte" + global::_003CModule_003E._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(1646008794) }, { EInteractionType.AttuneAetherCurrent, - "AttuneAetherCurrent" + global::_003CModule_003E._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(896215651) }, { EInteractionType.Combat, - "Combat" + global::_003CModule_003E._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(1754940727) }, { EInteractionType.UseItem, - "UseItem" + 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(-1822859380) }, { EInteractionType.EquipItem, - "EquipItem" + 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(837876705) + }, + { + EInteractionType.UnequipItem, + global::_003CModule_003E._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(1846417149) }, { EInteractionType.PurchaseItem, - "PurchaseItem" + global::_003CModule_003E._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(-1523519145) }, { EInteractionType.EquipRecommended, - "EquipRecommended" + global::_003CModule_003E._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(-1066503502) }, { EInteractionType.Say, - "Say" + global::_003CModule_003E._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(958268620) }, { EInteractionType.Emote, - "Emote" + global::_003CModule_003E._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(-1426054162) }, { EInteractionType.Action, - "Action" + global::_003CModule_003E._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(-1123609333) }, { EInteractionType.StatusOff, - "StatusOff" + global::_003CModule_003E._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(-1568540604) }, { EInteractionType.WaitForObjectAtPosition, - "WaitForObjectAtPosition" + global::_003CModule_003E._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(-916266641) }, { EInteractionType.WaitForManualProgress, - "WaitForManualProgress" + global::_003CModule_003E._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(2036323045) }, { EInteractionType.Duty, - "Duty" + global::_003CModule_003E._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(1148322998) }, { EInteractionType.SinglePlayerDuty, - "SinglePlayerDuty" + 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(834560316) }, { EInteractionType.Jump, - "Jump" + global::_003CModule_003E._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(1391632879) }, { EInteractionType.Dive, - "Dive" + 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(1379304053) }, { EInteractionType.Craft, - "Craft" + 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(352799179) }, { EInteractionType.Gather, - "Gather" + global::_003CModule_003E._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(1454984084) }, { EInteractionType.Snipe, - "Snipe" + 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(1442286653) }, { EInteractionType.SwitchClass, - "SwitchClass" + global::_003CModule_003E._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(-1506629366) }, { EInteractionType.UnlockTaxiStand, - "UnlockTaxiStand" + global::_003CModule_003E._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(-1659367566) + }, + { + EInteractionType.MeldMateria, + global::_003CModule_003E._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(322492278) }, { EInteractionType.Instruction, - "Instruction" + global::_003CModule_003E._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(-353939349) }, { EInteractionType.AcceptQuest, - "AcceptQuest" + global::_003CModule_003E._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(-524676994) }, { EInteractionType.CompleteQuest, - "CompleteQuest" + global::_003CModule_003E._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(1545978293) }, { EInteractionType.FateAction, - "FateAction" + global::_003CModule_003E._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(-2127899613) + }, + { + EInteractionType.Fish, + global::_003CModule_003E._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(1262677760) + }, + { + EInteractionType.CriticalEncounter, + global::_003CModule_003E._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(-987368890) } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/JumpTypeConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/JumpTypeConverter.cs index 37d804ae..b19087ea 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; @@ -9,11 +9,11 @@ public sealed class JumpTypeConverter : EnumConverter { { EJumpType.SingleJump, - "SingleJump" + global::_003CModule_003E._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(-1386886680) }, { EJumpType.RepeatedJumps, - "RepeatedJumps" + global::_003CModule_003E._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(472729139) } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/LockedSkipConditionConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/LockedSkipConditionConverter.cs index 0e5521f4..6542607c 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; @@ -9,11 +9,11 @@ public sealed class LockedSkipConditionConverter : EnumConverter(1790290277) }, { ELockedSkipCondition.Unlocked, - "Unlocked" + global::_003CModule_003E._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(-2013924116) } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkConfigConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkConfigConverter.cs index 4c94d41b..bd81b86d 100644 --- a/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkConfigConverter.cs +++ b/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkConfigConverter.cs @@ -1,4 +1,5 @@ using System; +using System.Runtime.CompilerServices; using System.Text.Json; using System.Text.Json.Serialization; @@ -6,77 +7,189 @@ namespace Questionable.Model.Questing.Converter; public sealed class QuestWorkConfigConverter : JsonConverter { + [MethodImpl(MethodImplOptions.NoInlining)] public override QuestWorkValue Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { - if (reader.TokenType == JsonTokenType.Number) + int num = ((reader.TokenType != JsonTokenType.Number) ? 442773036 : 442773049); + EQuestWorkMode mode = default(EQuestWorkMode); + string text = default(string); + byte? high = default(byte?); + byte? low = default(byte?); + JsonTokenType tokenType = default(JsonTokenType); + while (true) { - return new QuestWorkValue(reader.GetByte()); - } - if (reader.TokenType != JsonTokenType.StartObject) - { - throw new JsonException(); - } - byte? high = null; - byte? low = null; - EQuestWorkMode mode = EQuestWorkMode.Bitwise; - while (reader.Read()) - { - switch (reader.TokenType) + int num2 = num; + int num3 = 442773048; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - case JsonTokenType.PropertyName: - { - string text = reader.GetString(); - if (text == null || !reader.Read()) - { - throw new JsonException(); - } - switch (text) - { - case "High": - high = reader.GetByte(); - break; - case "Low": - low = reader.GetByte(); - break; - case "Mode": - mode = new QuestWorkModeConverter().Read(ref reader, typeof(EQuestWorkMode), options); - break; - default: - throw new JsonException(); - } + case 19: + num = (reader.Read() ? 442773033 : 442773046); break; - } - case JsonTokenType.EndObject: + case 6: + throw _206C_202A_200B_206B_206C_206B_206C_200F_202C_200F_206E_202A_200E_206D_202D_206B_206B_200D_206C_202E_200C_200F_200B_206E_206E_202E_200D_206B_202E_206F_206E_206F_202E_202D_202B_202B_206D_200D_202D_202B_202E(); + case 10: + mode = new QuestWorkModeConverter().Read(ref reader, _202B_200D_206D_206C_202B_202B_206C_200D_202A_200C_200C_200D_200F_200F_200D_202A_200F_206F_200B_202D_200B_202C_202D_206D_206D_200C_202D_202D_206A_206F_200C_206B_206A_206D_206D_206E_206D_200C_206C_202C_202E(typeof(EQuestWorkMode).TypeHandle), options); + num = 442773035; + break; + case 8: + num = (_202E_206D_206B_202A_200C_206C_206E_200D_200F_206D_202D_202B_202A_200C_200E_200C_202D_206D_200D_206A_202B_200E_200D_200F_200C_200D_206B_206E_202C_200C_206B_202D_206E_206B_200D_200D_202C_202C_206B_202A_202E(text, 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(-232827495)) ? 442773042 : 442773041); + break; + case 1: + return new QuestWorkValue(reader.GetByte()); + case 9: + num = 442773050; + break; + case 15: + throw _206C_202A_200B_206B_206C_206B_206C_200F_202C_200F_206E_202A_200E_206D_202D_206B_206B_200D_206C_202E_200C_200F_200B_206E_206E_202E_200D_206B_202E_206F_206E_206F_202E_202D_202B_202B_206D_200D_202D_202B_202E(); + case 18: + high = reader.GetByte(); + num = 442773035; + break; + case 2: + throw _206C_202A_200B_206B_206C_206B_206C_200F_202C_200F_206E_202A_200E_206D_202D_206B_206B_200D_206C_202E_200C_200F_200B_206E_206E_202E_200D_206B_202E_206F_206E_206F_202E_202D_202B_202B_206D_200D_202D_202B_202E(); + case 5: + num = (_202E_206D_206B_202A_200C_206C_206E_200D_200F_206D_202D_202B_202A_200C_200E_200C_202D_206D_200D_206A_202B_200E_200D_200F_200C_200D_206B_206E_202C_200C_206B_202D_206E_206B_200D_200D_202C_202C_206B_202A_202E(text, global::_003CModule_003E._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(805197850)) ? 442773034 : 442773032); + break; + case 16: + num = (_202E_206D_206B_202A_200C_206C_206E_200D_200F_206D_202D_202B_202A_200C_200E_200C_202D_206D_200D_206A_202B_200E_200D_200F_200C_200D_206B_206E_202C_200C_206B_202D_206E_206B_200D_200D_202C_202C_206B_202A_202E(text, 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(856659979)) ? 442773045 : 442773040); + break; + case 13: + low = reader.GetByte(); + num = 442773035; + break; + case 20: + num = ((reader.TokenType == JsonTokenType.StartObject) ? 442773052 : 442773054); + break; + case 21: + num = (reader.Read() ? 442773053 : 442773047); + break; + case 7: + num = ((tokenType != JsonTokenType.PropertyName) ? 442773048 : 442773043); + break; + case 4: + high = null; + low = null; + mode = EQuestWorkMode.Bitwise; + num = 442773035; + break; + case 0: + throw _206C_202A_200B_206B_206C_206B_206C_200F_202C_200F_206E_202A_200E_206D_202D_206B_206B_200D_206C_202E_200C_200F_200B_206E_206E_202E_200D_206B_202E_206F_206E_206F_202E_202D_202B_202B_206D_200D_202D_202B_202E(); + case 3: + num = 442773049; + break; + case 11: + text = reader.GetString(); + num = ((text == null) ? 442773047 : 442773037); + break; + case 12: return new QuestWorkValue(high, low, mode); - default: - throw new JsonException(); + case 17: + tokenType = reader.TokenType; + num = ((tokenType == JsonTokenType.EndObject) ? 442773044 : 442773055); + break; + case 14: + throw _206C_202A_200B_206B_206C_206B_206C_200F_202C_200F_206E_202A_200E_206D_202D_206B_206B_200D_206C_202E_200C_200F_200B_206E_206E_202E_200D_206B_202E_206F_206E_206F_202E_202D_202B_202B_206D_200D_202D_202B_202E(); } } - throw new JsonException(); } + [MethodImpl(MethodImplOptions.NoInlining)] public override void Write(Utf8JsonWriter writer, QuestWorkValue value, JsonSerializerOptions options) { - if (value != null && value.High.HasValue && value.Low.HasValue && value.Mode == EQuestWorkMode.Bitwise) + int num = ((value == null) ? (-20087947) : (-20087945)); + while (true) { - byte value2 = (byte)((value.High.Value << 4) + value.Low.Value); - writer.WriteNumberValue(value2); - return; + int num2 = num; + int num3 = -20087938; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + _206C_202B_200D_206C_206E_202D_206D_202D_202A_206F_206E_202A_200B_202E_202E_202D_206F_206D_202C_202D_200C_202C_202A_200B_206C_202A_206B_206B_200E_200F_206A_202D_200F_200E_202C_206F_206F_206E_200F_206F_202E(writer); + return; + case 8: + num = ((!value.Low.HasValue) ? (-20087948) : (-20087944)); + break; + case 1: + _206E_202A_200C_202E_200E_202A_206C_206A_202C_202E_202B_206D_206D_202E_206E_200D_206D_200C_206E_206B_206F_202C_202A_200D_206E_206B_202E_206D_202C_200E_200C_200F_202A_200F_200D_200C_206C_200F_200E_202B_202E(writer, global::_003CModule_003E._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(-1703476951)); + new QuestWorkModeConverter().Write(writer, value.Mode, options); + num = -20087939; + break; + case 10: + num = ((value.Mode == EQuestWorkMode.Bitwise) ? (-20087939) : (-20087937)); + break; + case 2: + num = ((!value.Low.HasValue) ? (-20087947) : (-20087941)); + break; + case 0: + { + byte b = (byte)((value.High.Value << 4) + value.Low.Value); + _202C_206F_206C_202D_206B_200E_206C_200B_206F_202E_202C_202D_200F_200E_200C_200F_202D_200C_200F_202C_206E_202C_200F_206E_200D_202A_202C_206E_206D_202D_202C_202D_202D_202A_206B_200D_202B_206F_200E_206D_202E(writer, (int)b); + return; + } + case 5: + num = ((value.Mode != EQuestWorkMode.Bitwise) ? (-20087947) : (-20087938)); + break; + case 11: + _200B_206C_202E_206F_200E_200C_200B_200E_200D_206C_200C_206D_200D_206C_206B_200D_200F_202E_202E_206D_200F_202B_200D_202B_202B_206C_202D_206B_206F_206F_202A_200D_200D_200F_202C_200C_200C_200D_200C_202C_202E(writer); + num = ((!value.High.HasValue) ? (-20087946) : (-20087942)); + break; + case 7: + num = -20087945; + break; + case 6: + _206C_206E_200B_202B_206D_206D_200F_202B_202C_206E_206E_200C_206C_206D_202D_206D_202D_206A_202A_206D_200B_200F_200E_206B_206F_202A_200C_202D_206C_200E_200E_202D_202C_200B_202C_202B_202A_206C_200C_202C_202E(writer, global::_003CModule_003E._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(1470135272), (int)value.Low.Value); + num = -20087948; + break; + case 9: + num = ((!value.High.HasValue) ? (-20087947) : (-20087940)); + break; + case 4: + _206C_206E_200B_202B_206D_206D_200F_202B_202C_206E_206E_200C_206C_206D_202D_206D_202D_206A_202A_206D_200B_200F_200E_206B_206F_202A_200C_202D_206C_200E_200E_202D_202C_200B_202C_202B_202A_206C_200C_202C_202E(writer, global::_003CModule_003E._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(-44654621), (int)value.High.Value); + num = -20087946; + break; + } } - 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(); + } + + static JsonException _206C_202A_200B_206B_206C_206B_206C_200F_202C_200F_206E_202A_200E_206D_202D_206B_206B_200D_206C_202E_200C_200F_200B_206E_206E_202E_200D_206B_202E_206F_206E_206F_202E_202D_202B_202B_206D_200D_202D_202B_202E() + { + return new JsonException(); + } + + static bool _202E_206D_206B_202A_200C_206C_206E_200D_200F_206D_202D_202B_202A_200C_200E_200C_202D_206D_200D_206A_202B_200E_200D_200F_200C_200D_206B_206E_202C_200C_206B_202D_206E_206B_200D_200D_202C_202C_206B_202A_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static Type _202B_200D_206D_206C_202B_202B_206C_200D_202A_200C_200C_200D_200F_200F_200D_202A_200F_206F_200B_202D_200B_202C_202D_206D_206D_200C_202D_202D_206A_206F_200C_206B_206A_206D_206D_206E_206D_200C_206C_202C_202E(RuntimeTypeHandle P_0) + { + return System.Type.GetTypeFromHandle(P_0); + } + + static void _202C_206F_206C_202D_206B_200E_206C_200B_206F_202E_202C_202D_200F_200E_200C_200F_202D_200C_200F_202C_206E_202C_200F_206E_200D_202A_202C_206E_206D_202D_202C_202D_202D_202A_206B_200D_202B_206F_200E_206D_202E(Utf8JsonWriter P_0, int P_1) + { + P_0.WriteNumberValue(P_1); + } + + static void _200B_206C_202E_206F_200E_200C_200B_200E_200D_206C_200C_206D_200D_206C_206B_200D_200F_202E_202E_206D_200F_202B_200D_202B_202B_206C_202D_206B_206F_206F_202A_200D_200D_200F_202C_200C_200C_200D_200C_202C_202E(Utf8JsonWriter P_0) + { + P_0.WriteStartObject(); + } + + static void _206C_206E_200B_202B_206D_206D_200F_202B_202C_206E_206E_200C_206C_206D_202D_206D_202D_206A_202A_206D_200B_200F_200E_206B_206F_202A_200C_202D_206C_200E_200E_202D_202C_200B_202C_202B_202A_206C_200C_202C_202E(Utf8JsonWriter P_0, string P_1, int P_2) + { + P_0.WriteNumber(P_1, P_2); + } + + static void _206E_202A_200C_202E_200E_202A_206C_206A_202C_202E_202B_206D_206D_202E_206E_200D_206D_200C_206E_206B_206F_202C_202A_200D_206E_206B_202E_206D_202C_200E_200C_200F_202A_200F_200D_200C_206C_200F_200E_202B_202E(Utf8JsonWriter P_0, string P_1) + { + P_0.WritePropertyName(P_1); + } + + static void _206C_202B_200D_206C_206E_202D_206D_202D_202A_206F_206E_202A_200B_202E_202E_202D_206F_206D_202C_202D_200C_202C_202A_200B_206C_202A_206B_206B_200E_200F_206A_202D_200F_200E_202C_206F_206F_206E_200F_206F_202E(Utf8JsonWriter P_0) + { + P_0.WriteEndObject(); } } diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkModeConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/QuestWorkModeConverter.cs index 67541245..abaca113 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; @@ -9,11 +9,11 @@ public sealed class QuestWorkModeConverter : EnumConverter { { EQuestWorkMode.Bitwise, - "Bitwise" + global::_003CModule_003E._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(1893719908) }, { EQuestWorkMode.Exact, - "Exact" + global::_003CModule_003E._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(1802603983) } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/SkipConditionConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/SkipConditionConverter.cs index b7a2e552..54d26536 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; @@ -9,27 +9,27 @@ public sealed class SkipConditionConverter : EnumConverter { { EExtraSkipCondition.WakingSandsMainArea, - "WakingSandsMainArea" + global::_003CModule_003E._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(-1312725330) }, { EExtraSkipCondition.WakingSandsSolar, - "WakingSandsSolar" + global::_003CModule_003E._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(347424923) }, { EExtraSkipCondition.RisingStonesSolar, - "RisingStonesSolar" + global::_003CModule_003E._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(-556671983) }, { EExtraSkipCondition.RoguesGuild, - "RoguesGuild" + 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(-525640832) }, { EExtraSkipCondition.NotRoguesGuild, - "NotRoguesGuild" + global::_003CModule_003E._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(-754181016) }, { EExtraSkipCondition.DockStorehouse, - "DockStorehouse" + 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(2064364815) } }; diff --git a/Questionable.Model/Questionable.Model.Questing.Converter/StatusConverter.cs b/Questionable.Model/Questionable.Model.Questing.Converter/StatusConverter.cs index 68a1bedc..a173cd44 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,13 +7,17 @@ public sealed class StatusConverter : EnumConverter { private static readonly Dictionary Values = new Dictionary { + { + EStatus.Transfiguration, + global::_003CModule_003E._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(1080763882) + }, { EStatus.Hidden, - "Hidden" + global::_003CModule_003E._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(-535107510) }, { EStatus.FaceInTheCrowd, - "FaceInTheCrowd" + 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(-533388670) } }; diff --git a/Questionable.Model/Questionable.Model.Questing/EActionExtensions.cs b/Questionable.Model/Questionable.Model.Questing/EActionExtensions.cs index caf08cd9..1e276d99 100644 --- a/Questionable.Model/Questionable.Model.Questing/EActionExtensions.cs +++ b/Questionable.Model/Questionable.Model.Questing/EActionExtensions.cs @@ -4,34 +4,122 @@ public static class EActionExtensions { public static bool RequiresMount(this EAction action) { - switch (action) + int num = ((action > EAction.Wasshoi) ? 2059469552 : 2059469519); + bool result = default(bool); + while (true) { - case EAction.Dismount: - case EAction.FieryBreath: - case EAction.BigSneeze: - case EAction.BuffetGriffin: - case EAction.Trample: - case EAction.BuffetSanuwa: - case EAction.Fumigate: - case EAction.Roar: - case EAction.Seed: - case EAction.Inhale: - case EAction.Wasshoi: - case EAction.SiphonSnout: - case EAction.PeculiarLight: - case EAction.Cannonfire: - case EAction.RedGulal: - case EAction.YellowGulal: - case EAction.BlueGulal: - case EAction.ElectrixFlux: - case EAction.HopStep: - case EAction.BosomBrook: - case EAction.ShroudedLuminescence: - case EAction.TrickstersTreat: - case EAction.TreatersTrick: - return true; - default: - return false; + int num2 = num; + int num3 = 2059469521; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 27: + num = ((action == EAction.PeculiarLight) ? 2059469512 : 2059469507); + break; + case 13: + num = ((action == EAction.Fumigate) ? 2059469512 : 2059469533); + break; + case 19: + num = (((uint)(action - 1764) <= 1u) ? 2059469512 : 2059469553); + break; + case 8: + num = ((action > EAction.BigSneeze) ? 2059469504 : 2059469520); + break; + case 2: + num = ((action == EAction.Trample) ? 2059469512 : 2059469524); + break; + case 15: + num = ((action == EAction.Wasshoi) ? 2059469512 : 2059469555); + break; + case 9: + return result; + case 10: + num = ((action == EAction.SiphonSnout) ? 2059469512 : 2059469514); + break; + case 32: + num = 2059469525; + break; + case 33: + num = ((action > EAction.BlueGulal) ? 2059469505 : 2059469516); + break; + case 26: + num = (((uint)(action - 44517) > 1u) ? 2059469525 : 2059469512); + break; + case 4: + result = false; + num = 2059469528; + break; + case 34: + num = 2059469525; + break; + case 23: + num = 2059469519; + break; + case 21: + num = (((uint)(action - 6293) <= 1u) ? 2059469512 : 2059469526); + break; + case 18: + num = 2059469525; + break; + case 3: + num = ((action == EAction.Cannonfire) ? 2059469512 : 2059469509); + break; + case 0: + num = ((action == EAction.ElectrixFlux) ? 2059469512 : 2059469527); + break; + case 30: + num = ((action > EAction.Trample) ? 2059469517 : 2059469529); + break; + case 29: + num = ((action > EAction.PeculiarLight) ? 2059469522 : 2059469531); + break; + case 6: + num = ((action == EAction.HopStep) ? 2059469512 : 2059469530); + break; + case 12: + num = 2059469525; + break; + case 5: + num = 2059469525; + break; + case 7: + num = ((action == EAction.Inhale) ? 2059469512 : 2059469534); + break; + case 22: + num = ((action == EAction.ShroudedLuminescence) ? 2059469512 : 2059469515); + break; + case 16: + num = ((action > EAction.HopStep) ? 2059469535 : 2059469521); + break; + case 14: + num = ((action == EAction.BosomBrook) ? 2059469512 : 2059469511); + break; + case 20: + num = (((uint)(action - 29382) <= 2u) ? 2059469512 : 2059469518); + break; + case 11: + num = 2059469525; + break; + case 17: + num = ((action == EAction.BuffetGriffin) ? 2059469512 : 2059469523); + break; + case 25: + result = true; + num = 2059469528; + break; + case 1: + num = ((action == EAction.Dismount) ? 2059469512 : 2059469506); + break; + case 24: + num = ((action == EAction.BuffetSanuwa) ? 2059469512 : 2059469532); + break; + case 28: + num = ((action > EAction.Fumigate) ? 2059469508 : 2059469513); + break; + case 31: + num = 2059469525; + break; + } } } } diff --git a/Questionable.Model/Questionable.Model.Questing/EExtendedClassJob.cs b/Questionable.Model/Questionable.Model.Questing/EExtendedClassJob.cs index 71e996e2..56388863 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 8a9f1e81..d9e125e4 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 4201de14..03265150 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 661f8ae4..75c6605f 100644 --- a/Questionable.Model/Questionable.Model.Questing/ElementId.cs +++ b/Questionable.Model/Questionable.Model.Questing/ElementId.cs @@ -1,5 +1,8 @@ using System; +using System.Collections; +using System.Collections.Generic; using System.Globalization; +using System.Runtime.CompilerServices; namespace Questionable.Model.Questing; @@ -14,49 +17,104 @@ public abstract class ElementId : IComparable, IEquatable public int CompareTo(ElementId? other) { - if ((object)this == other) + int num = (((object)this != other) ? 1197187714 : 1197187715); + while (true) { - return 0; + int num2 = num; + int num3 = 1197187714; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1197187715; + break; + case 1: + return 0; + case 4: + return 1; + case 3: + return Value.CompareTo(other.Value); + case 0: + num = (((object)other != null) ? 1197187713 : 1197187718); + break; + } } - if ((object)other == null) - { - return 1; - } - return Value.CompareTo(other.Value); + } + + int IComparable.CompareTo(ElementId? other) + { + //ILSpy generated this explicit interface implementation from .override directive in CompareTo + return this.CompareTo(other); } public bool Equals(ElementId? other) { - if ((object)other == null) + int num = (((object)other != null) ? (-1056496819) : (-1056496824)); + while (true) { - return false; + int num2 = num; + int num3 = -1056496820; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -1056496824; + break; + case 1: + num = (((object)this != other) ? (-1056496818) : (-1056496823)); + break; + case 6: + return Value == other.Value; + case 0: + return false; + case 5: + return true; + case 4: + return false; + case 2: + num = ((!_200C_200B_200B_202C_206F_206A_206E_206A_206F_202A_200F_202B_200D_206C_206D_206B_206D_206C_202B_202A_202C_206C_206D_206A_206B_200C_206B_200D_206E_200F_206A_202D_206A_202D_202E_200E_200B_200E_206D_202D_202E(_202C_206B_200C_206A_206E_202B_200E_200D_206A_206F_202E_206F_206C_206D_200C_200C_206A_200F_202B_202C_202A_200C_202B_202A_206F_206B_200D_200E_206C_206E_206D_206B_200C_206E_200D_200E_200D_206C_206F_206A_202E((object?)other), _202E_202E_200B_202E_202A_202C_206B_202C_200D_200C_206E_206C_206E_200E_206C_202B_206C_200C_202D_202A_200C_200F_200C_200E_206C_200D_200B_206E_206A_200D_206B_206B_206E_202D_202B_202D_200F_200D_202B_202D_202E((object?)this))) ? (-1056496822) : (-1056496820)); + break; + } } - if ((object)this == other) - { - return true; - } - if (other.GetType() != GetType()) - { - return false; - } - return Value == other.Value; + } + + bool IEquatable.Equals(ElementId? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); } public override bool Equals(object? obj) { - if (obj == null) + int num = ((obj != null) ? (-1614624425) : (-1614624428)); + while (true) { - return false; + int num2 = num; + int num3 = -1614624426; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return Equals((ElementId)obj); + case 1: + num = ((this != obj) ? (-1614624429) : (-1614624432)); + break; + case 3: + return false; + case 6: + return true; + case 0: + num = -1614624428; + break; + case 2: + return false; + case 5: + num = ((!_200C_200B_200B_202C_206F_206A_206E_206A_206F_202A_200F_202B_200D_206C_206D_206B_206D_206C_202B_202A_202C_206C_206D_206A_206B_200C_206B_200D_206E_200F_206A_202D_206A_202D_202E_200E_200B_200E_206D_202D_202E(_202C_206B_200C_206A_206E_202B_200E_200D_206A_206F_202E_206F_206C_206D_200C_200C_206A_200F_202B_202C_202A_200C_202B_202A_206F_206B_200D_200E_206C_206E_206D_206B_200C_206E_200D_200E_200D_206C_206F_206A_202E(obj), _202E_202E_200B_202E_202A_202C_206B_202C_200D_200C_206E_206C_206E_200E_206C_202B_206C_200C_202D_202A_200C_200F_200C_200E_206C_200D_200B_206E_206A_200D_206B_206B_206E_202D_202B_202D_200F_200D_202B_202D_202E((object?)this))) ? (-1614624430) : (-1614624427)); + break; + } } - if (this == obj) - { - return true; - } - if (obj.GetType() != GetType()) - { - return false; - } - return Equals((ElementId)obj); } public override int GetHashCode() @@ -66,43 +124,111 @@ public abstract class ElementId : IComparable, IEquatable public static bool operator ==(ElementId? left, ElementId? right) { - return object.Equals(left, right); + return _206F_202B_202B_200B_200C_200E_206F_206B_206A_206D_202B_206E_206C_200B_202B_200D_202C_206A_200F_206F_200D_206A_200E_206B_200F_206F_206E_200B_206C_202D_202A_202E_206F_202B_206A_206E_200F_206A_206C_206D_202E((object?)left, (object?)right); } public static bool operator !=(ElementId? left, ElementId? right) { - return !object.Equals(left, right); + return !_206F_202B_202B_200B_200C_200E_206F_206B_206A_206D_202B_206E_206C_200B_202B_200D_202C_206A_200F_206F_200D_206A_200E_206B_200F_206F_206E_200B_206C_202D_202A_202E_206F_202B_206A_206E_200F_206A_206C_206D_202E((object?)left, (object?)right); } + [MethodImpl(MethodImplOptions.NoInlining)] public static ElementId FromString(string value) { - if (value.StartsWith("S")) + int num = ((!_200B_202C_206E_200D_200E_202D_200E_206E_200B_200F_206B_200E_206B_200E_202C_200F_200F_202A_200B_206C_200F_202C_200E_202D_202B_206E_206F_206E_200D_202E_200F_206B_206B_202A_200E_200E_200B_202A_202D_206B_202E(value, global::_003CModule_003E._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(2047666330))) ? (-1593570026) : (-1593570027)); + while (true) { - 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) + int num2 = num; + int num3 = -1593570025; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - return new AlliedSocietyDailyId(byte.Parse(array[0], CultureInfo.InvariantCulture), byte.Parse(array[1], CultureInfo.InvariantCulture)); + case 1: + num = ((!_200B_202C_206E_200D_200E_202D_200E_206E_200B_200F_206B_200E_206B_200E_202C_200F_200F_202A_200B_206C_200F_202C_200E_202D_202B_206E_206F_206E_200D_202E_200F_206B_206B_202A_200E_200E_200B_202A_202D_206B_202E(value, 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(1969362176))) ? (-1593570028) : (-1593570029)); + break; + case 2: + return new SatisfactionSupplyNpcId(ushort.Parse(_206E_206D_202D_202E_200E_200D_206B_200D_200B_202A_200E_206A_206B_202A_206F_202E_206C_206D_200B_206B_206A_206F_202D_206B_202C_206D_206D_202D_206E_206B_206A_200D_200B_206B_206F_202B_206A_206C_206A_200F_202E(value, 1), _206F_200B_206F_206A_206C_202D_200C_206F_200C_206E_202A_202C_206A_206B_206E_202B_206F_206F_200B_200C_202E_200C_202A_200B_200B_202A_202C_206D_202A_206F_200D_200C_202A_206F_200D_202D_206B_202E())); + case 0: + num = -1593570027; + break; + case 3: + return new QuestId(ushort.Parse(value, _206F_200B_206F_206A_206C_202D_200C_206F_200C_206E_202A_202C_206A_206B_206E_202B_206F_206F_200B_200C_202E_200C_202A_200B_200B_202A_202C_206D_202A_206F_200D_200C_202A_206F_200D_202D_206B_202E())); + case 4: + return new UnlockLinkId(ushort.Parse(_206E_206D_202D_202E_200E_200D_206B_200D_200B_202A_200E_206A_206B_202A_206F_202E_206C_206D_200B_206B_206A_206F_202D_206B_202C_206D_206D_202D_206E_206B_206A_200D_200B_206B_206F_202B_206A_206C_206A_200F_202E(value, 1), _206F_200B_206F_206A_206C_202D_200C_206F_200C_206E_202A_202C_206A_206B_206E_202B_206F_206F_200B_200C_202E_200C_202A_200B_200B_202A_202C_206D_202A_206F_200D_200C_202A_206F_200D_202D_206B_202E())); + } + } + } + + public static List FromStrings(IEnumerable values, out int skippedCount) + { + List list = new List(); + skippedCount = 0; + IEnumerator enumerator = values.GetEnumerator(); + try + { + int num = 1723974477; + ElementId elementId = default(ElementId); + while (true) + { + int num2 = num; + int num3 = 1723974478; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = 1723974477; + break; + case 1: + num = ((!(elementId != null)) ? 1723974476 : 1723974478); + break; + case 0: + list.Add(elementId); + num = 1723974477; + break; + case 3: + num = (_206A_202C_206C_202A_202C_206E_206C_202D_200B_200B_202D_202C_200B_200E_200E_202E_206D_202D_206A_202E_206E_206A_202B_206C_202C_202D_206D_206C_200D_206D_200B_200C_202A_206D_206C_206B_200E_200E_200C_206A_202E((IEnumerator?)enumerator) ? 1723974474 : 1723974472); + break; + case 2: + skippedCount++; + num = 1723974477; + break; + case 4: + num = ((!TryFromString(enumerator.Current, out elementId)) ? 1723974476 : 1723974479); + break; + case 6: + return list; + } + } + } + finally + { + int num = ((enumerator == null) ? (-1730205036) : (-1730205035)); + while (true) + { + int num7 = num; + int num3 = -1730205036; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1730205035; + break; + case 1: + _202C_202B_206B_206D_206B_206E_200B_206B_202E_202D_206A_206C_202E_206D_206C_202D_206B_206B_202B_200F_206F_206C_200F_200F_200D_206E_202E_200F_206B_200C_200F_200E_206D_202B_200F_200D_200C_206D_202C_202D_202E((IDisposable?)enumerator); + num = -1730205036; + break; + case 0: + goto end_IL_0112; + } + continue; + end_IL_0112: + break; } - return new AlliedSocietyDailyId(byte.Parse(value, CultureInfo.InvariantCulture), 0); } - return new QuestId(ushort.Parse(value, CultureInfo.InvariantCulture)); } public static bool TryFromString(string value, out ElementId? elementId) @@ -120,4 +246,49 @@ public abstract class ElementId : IComparable, IEquatable } public abstract override string ToString(); + + static Type? _202C_206B_200C_206A_206E_202B_200E_200D_206A_206F_202E_206F_206C_206D_200C_200C_206A_200F_202B_202C_202A_200C_202B_202A_206F_206B_200D_200E_206C_206E_206D_206B_200C_206E_200D_200E_200D_206C_206F_206A_202E(object? P_0) + { + return P_0.GetType(); + } + + static Type? _202E_202E_200B_202E_202A_202C_206B_202C_200D_200C_206E_206C_206E_200E_206C_202B_206C_200C_202D_202A_200C_200F_200C_200E_206C_200D_200B_206E_206A_200D_206B_206B_206E_202D_202B_202D_200F_200D_202B_202D_202E(object? P_0) + { + return P_0.GetType(); + } + + static bool _200C_200B_200B_202C_206F_206A_206E_206A_206F_202A_200F_202B_200D_206C_206D_206B_206D_206C_202B_202A_202C_206C_206D_206A_206B_200C_206B_200D_206E_200F_206A_202D_206A_202D_202E_200E_200B_200E_206D_202D_202E(Type? P_0, Type? P_1) + { + return P_0 != P_1; + } + + static bool _206F_202B_202B_200B_200C_200E_206F_206B_206A_206D_202B_206E_206C_200B_202B_200D_202C_206A_200F_206F_200D_206A_200E_206B_200F_206F_206E_200B_206C_202D_202A_202E_206F_202B_206A_206E_200F_206A_206C_206D_202E(object? P_0, object? P_1) + { + return object.Equals(P_0, P_1); + } + + static bool _200B_202C_206E_200D_200E_202D_200E_206E_200B_200F_206B_200E_206B_200E_202C_200F_200F_202A_200B_206C_200F_202C_200E_202D_202B_206E_206F_206E_200D_202E_200F_206B_206B_202A_200E_200E_200B_202A_202D_206B_202E(string? P_0, string? P_1) + { + return P_0.StartsWith(P_1); + } + + static string? _206E_206D_202D_202E_200E_200D_206B_200D_200B_202A_200E_206A_206B_202A_206F_202E_206C_206D_200B_206B_206A_206F_202D_206B_202C_206D_206D_202D_206E_206B_206A_200D_200B_206B_206F_202B_206A_206C_206A_200F_202E(string? P_0, int P_1) + { + return P_0.Substring(P_1); + } + + static CultureInfo? _206F_200B_206F_206A_206C_202D_200C_206F_200C_206E_202A_202C_206A_206B_206E_202B_206F_206F_200B_200C_202E_200C_202A_200B_200B_202A_202C_206D_202A_206F_200D_200C_202A_206F_200D_202D_206B_202E() + { + return CultureInfo.InvariantCulture; + } + + static bool _206A_202C_206C_202A_202C_206E_206C_202D_200B_200B_202D_202C_200B_200E_200E_202E_206D_202D_206A_202E_206E_206A_202B_206C_202C_202D_206D_206C_200D_206D_200B_200C_202A_206D_206C_206B_200E_200E_200C_206A_202E(IEnumerator? P_0) + { + return P_0.MoveNext(); + } + + static void _202C_202B_206B_206D_206B_206E_200B_206B_202E_202D_206A_206C_202E_206D_206C_202D_206B_206B_202B_200F_206F_206C_200F_200F_200D_206E_202E_200F_206B_200C_200F_200E_206D_202B_200F_200D_200C_206D_202C_202D_202E(IDisposable? P_0) + { + P_0.Dispose(); + } } diff --git a/Questionable.Model/Questionable.Model.Questing/ExcelRef.cs b/Questionable.Model/Questionable.Model.Questing/ExcelRef.cs index 146572ba..7a6e6564 100644 --- a/Questionable.Model/Questionable.Model.Questing/ExcelRef.cs +++ b/Questionable.Model/Questionable.Model.Questing/ExcelRef.cs @@ -56,28 +56,79 @@ public class ExcelRef public string AsKey() { - if (Type != EType.Key) + int num = ((Type == EType.Key) ? 50157888 : 50157889); + while (true) { - throw new InvalidOperationException(); + int num2 = num; + int num3 = 50157888; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0049; + case 0: + return _stringValue; + case 1: + throw _202A_206D_200F_202D_202D_206E_202B_206A_206B_200E_206A_206D_200B_202B_200F_202D_206D_200F_200E_202D_202A_206F_206D_200F_206B_200F_202A_206A_206B_202E_200B_206C_202B_206B_200C_202D_206D_202D_202D_202E_202E(); + } + continue; + IL_0049: + num = 50157889; } - return _stringValue; } public uint AsRowId() { - if (Type != EType.RowId) + int num = ((Type == EType.RowId) ? 565255808 : 565255811); + while (true) { - throw new InvalidOperationException(); + int num2 = num; + int num3 = 565255809; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0049; + case 1: + return _rowIdValue.Value; + case 2: + throw _202A_206D_200F_202D_202D_206E_202B_206A_206B_200E_206A_206D_200B_202B_200F_202D_206D_200F_200E_202D_202A_206F_206D_200F_206B_200F_202A_206A_206B_202E_200B_206C_202B_206B_200C_202D_206D_202D_202D_202E_202E(); + } + continue; + IL_0049: + num = 565255811; } - return _rowIdValue.Value; } public string AsRawString() { - if (Type != EType.RawString) + int num = ((Type == EType.RawString) ? (-1382216459) : (-1382216460)); + while (true) { - throw new InvalidOperationException(); + int num2 = num; + int num3 = -1382216459; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return _stringValue; + case 1: + throw _202A_206D_200F_202D_202D_206E_202B_206A_206B_200E_206A_206D_200B_202B_200F_202D_206D_200F_200E_202D_202A_206F_206D_200F_206B_200F_202A_206A_206B_202E_200B_206C_202B_206B_200C_202D_206D_202D_202D_202E_202E(); + case 2: + goto IL_0054; + } + continue; + IL_0054: + num = -1382216460; } - return _stringValue; + } + + static InvalidOperationException _202A_206D_200F_202D_202D_206E_202B_206A_206B_200E_206A_206D_200B_202B_200F_202D_206D_200F_200E_202D_202A_206F_206D_200F_206B_200F_202A_206A_206B_202E_200B_206C_202B_206B_200C_202D_206D_202D_202D_202E_202E() + { + return new InvalidOperationException(); } } diff --git a/Questionable.Model/Questionable.Model.Questing/FateDefinition.cs b/Questionable.Model/Questionable.Model.Questing/FateDefinition.cs index 6ed25f56..a33100e7 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 5d8fcc85..aa79f5f7 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 index 7ddfb378..6bcec8ac 100644 --- a/Questionable.Model/Questionable.Model.Questing/LandingZone.cs +++ b/Questionable.Model/Questionable.Model.Questing/LandingZone.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Numerics; 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/NearPositionCondition.cs b/Questionable.Model/Questionable.Model.Questing/NearPositionCondition.cs index dc8dd6b7..ad7ed039 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/QuestId.cs b/Questionable.Model/Questionable.Model.Questing/QuestId.cs index 6525d8be..885ac4fc 100644 --- a/Questionable.Model/Questionable.Model.Questing/QuestId.cs +++ b/Questionable.Model/Questionable.Model.Questing/QuestId.cs @@ -11,11 +11,17 @@ public sealed class QuestId : ElementId public static QuestId FromRowId(uint rowId) { - return new QuestId((ushort)(rowId & 0xFFFF)); + int num = 65535; + return new QuestId((ushort)((rowId | (uint)num) - (rowId ^ (uint)num))); } public override string ToString() { - return base.Value.ToString(CultureInfo.InvariantCulture); + return base.Value.ToString(_200F_200E_202C_202C_206D_206C_200C_200C_200D_200C_202B_206D_202C_200E_200D_206A_200B_206B_202D_200D_206A_202C_206C_206B_206F_200B_200D_202B_202A_202D_200E_200C_206F_202C_202E_206A_200C_206F_200E_206C_202E()); + } + + static CultureInfo _200F_200E_202C_202C_206D_206C_200C_200C_200D_200C_202B_206D_202C_200E_200D_206A_200B_206B_202D_200D_206A_202C_206C_206B_206F_200B_200D_202B_202A_202D_200E_200C_206F_202C_202E_206A_200C_206F_200E_206C_202E() + { + return CultureInfo.InvariantCulture; } } diff --git a/Questionable.Model/Questionable.Model.Questing/QuestRoot.cs b/Questionable.Model/Questionable.Model.Questing/QuestRoot.cs index 2d171de6..55b929c0 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 00000000..fbb17bb9 --- /dev/null +++ b/Questionable.Model/Questionable.Model.Questing/QuestRootSerializer.cs @@ -0,0 +1,636 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.CompilerServices; +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 +{ + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__4_0; + + public static Func _003C_003E9__5_0; + + public static Func _003C_003E9__5_1; + + public static Func _003C_003E9__6_0; + + public static Func _003C_003E9__6_1; + + internal bool _003CNoEmptyCollectionModifier_003Eb__4_0(object _, object? val) + { + ICollection collection = val as ICollection; + int num = ((collection == null) ? (-655689827) : (-655689826)); + while (true) + { + int num2 = num; + int num3 = -655689825; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + return _200E_200B_200C_206D_202A_206E_206A_202A_202B_200F_206D_202B_206F_202B_202D_200E_206A_202C_200C_206C_206B_206F_200C_202B_202C_200E_206B_200C_206E_200D_206D_202D_206D_206F_202A_202E_206E_200B_206A_200D_202E(collection) > 0; + case 0: + goto IL_0056; + } + continue; + IL_0056: + num = -655689826; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003CDialogueChoiceSerializationModifier_003Eb__5_0(JsonPropertyInfo x) + { + return _202D_206F_200C_206B_200B_206C_206C_202B_202D_206D_200D_202C_202A_206C_202E_206D_202E_206A_200B_206D_202A_200D_200E_202B_200E_206F_200F_202C_202D_202A_200F_206E_202A_200E_200E_206F_206D_206F_200E_200E_202E(_200E_206E_202E_202A_206F_206B_202D_206D_200C_206C_202E_202E_206C_206F_200E_200B_206C_206D_202E_200C_206E_206D_202A_206F_200B_200C_206B_202C_206F_206A_200C_202E_202E_202D_200B_200D_200B_202C_206B_206F_202E(x), global::_003CModule_003E._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(-282631776)); + } + + internal bool _003CDialogueChoiceSerializationModifier_003Eb__5_1(object obj, object? _) + { + DialogueChoice dialogueChoice = obj as DialogueChoice; + int num = ((dialogueChoice == null) ? 1809875924 : 1809875927); + while (true) + { + int num2 = num; + int num3 = 1809875926; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + return dialogueChoice.Type == EDialogChoiceType.YesNo; + case 0: + goto IL_0056; + } + continue; + IL_0056: + num = 1809875927; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003CNonDefaultBoolModifier_003Eb__6_0(JsonPropertyInfo x) + { + return _202D_206F_200C_206B_200B_206C_206C_202B_202D_206D_200D_202C_202A_206C_202E_206D_202E_206A_200B_206D_202A_200D_200E_202B_200E_206F_200F_202C_202D_202A_200F_206E_202A_200E_200E_206F_206D_206F_200E_200E_202E(_200E_206E_202E_202A_206F_206B_202D_206D_200C_206C_202E_202E_206C_206F_200E_200B_206C_206D_202E_200C_206E_206D_202A_206F_200B_200C_206B_202C_206F_206A_200C_202E_202E_202D_200B_200D_200B_202C_206B_206F_202E(x), global::_003CModule_003E._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(-395466289)); + } + + internal bool _003CNonDefaultBoolModifier_003Eb__6_1(object obj, object? _) + { + QuestRoot questRoot = obj as QuestRoot; + int num = ((questRoot == null) ? (-737791523) : (-737791524)); + while (true) + { + int num2 = num; + int num3 = -737791523; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004a; + case 0: + return false; + case 1: + return !questRoot.Interruptible; + } + continue; + IL_004a: + num = -737791524; + } + } + + static int _200E_200B_200C_206D_202A_206E_206A_202A_202B_200F_206D_202B_206F_202B_202D_200E_206A_202C_200C_206C_206B_206F_200C_202B_202C_200E_206B_200C_206E_200D_206D_202D_206D_206F_202A_202E_206E_200B_206A_200D_202E(ICollection P_0) + { + return P_0.Count; + } + + static string _200E_206E_202E_202A_206F_206B_202D_206D_200C_206C_202E_202E_206C_206F_200E_200B_206C_206D_202E_200C_206E_206D_202A_206F_200B_200C_206B_202C_206F_206A_200C_202E_202E_202D_200B_200D_200B_202C_206B_206F_202E(JsonPropertyInfo P_0) + { + return P_0.Name; + } + + static bool _202D_206F_200C_206B_200B_206C_206C_202B_202D_206D_200D_202C_202A_206C_202E_206D_202E_206A_200B_206D_202A_200D_200E_202B_200E_206F_200F_202C_202D_202A_200F_206E_202A_200E_200E_206F_206D_206F_200E_200E_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + } + + public const string SchemaUrl = "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/QuestPaths/quest-v1.json"; + + public static JsonSerializerOptions CreateOptions() + { + JsonSerializerOptions jsonSerializerOptions = _200C_206A_202B_202B_206D_206F_200C_206D_206B_200B_206F_202E_206B_206A_206D_206D_200B_206E_206F_206B_202B_206D_200D_206C_200E_202B_206B_200F_200F_202B_200B_206B_200B_206E_206C_206E_206B_202B_200D_206C_202E(); + _206F_202C_200E_202A_200F_200F_206B_200D_206A_200F_206D_206F_202E_200B_200D_200B_200B_200F_206D_200F_200E_202C_200C_206E_202D_200E_206D_202E_206C_206A_206D_206F_206C_202C_202A_202C_200E_206D_200D_202E(jsonSerializerOptions, _202E_206B_200E_200C_206E_202C_202D_200C_202B_200B_202C_202B_202B_202C_206D_202B_200B_200D_206A_206C_200B_206D_206D_202C_206E_200F_202E_206A_200C_206C_206C_206F_206B_202B_200C_202B_200D_200C_202E_206C_202E()); + _206D_200E_200C_206D_202B_202A_202C_206C_206C_202A_206C_206C_206F_202E_202C_200F_206F_202E_200E_200E_202B_206C_202D_206A_200E_200D_206C_200B_200B_200D_200E_206E_200D_200E_200B_206E_202E_202A_200D_202E(jsonSerializerOptions, JsonIgnoreCondition.WhenWritingDefault); + _202A_200B_202B_202C_206F_200B_202A_202C_206A_200C_206F_206B_200C_206F_200D_206E_202B_206F_206D_206C_202B_202E_200D_202A_206A_202B_200D_202A_206B_202D_202A_206B_206C_206E_202E_202C_202A_202C_200E_200E_202E(jsonSerializerOptions, true); + _200D_206A_200C_206A_202A_206E_202E_202D_200C_206A_200D_206C_202C_202B_202C_202C_206D_200B_200E_206E_206A_200D_206F_200E_206A_202A_206B_202B_206A_200D_200D_202E_200E_206E_206E_200E_202B_202D_206D_206C_202E(jsonSerializerOptions, false); + DefaultJsonTypeInfoResolver defaultJsonTypeInfoResolver = _200F_202B_202C_200E_206C_206F_202D_200C_202D_206F_202A_200D_206F_200F_200D_206D_206B_202C_206E_200F_200D_202A_206F_206D_202E_206C_200F_202A_206A_200F_202E_200F_206C_206B_200C_206B_200E_206B_206B_200C_202E(); + _200B_202A_202A_202E_206B_206D_200B_206B_200C_202A_202B_200B_200B_206C_206C_200E_202D_206D_202E_200C_206E_200C_202D_202B_200F_206B_200B_206E_206E_206C_202B_202B_202D_206A_206D_206D_202B_200D_202D_202E(defaultJsonTypeInfoResolver).Add(NoEmptyCollectionModifier); + _200B_202A_202A_202E_206B_206D_200B_206B_200C_202A_202B_200B_200B_206C_206C_200E_202D_206D_202E_200C_206E_200C_202D_202B_200F_206B_200B_206E_206E_206C_202B_202B_202D_206A_206D_206D_202B_200D_202D_202E(defaultJsonTypeInfoResolver).Add(DialogueChoiceSerializationModifier); + _200B_202A_202A_202E_206B_206D_200B_206B_200C_202A_202B_200B_200B_206C_206C_200E_202D_206D_202E_200C_206E_200C_202D_202B_200F_206B_200B_206E_206E_206C_202B_202B_202D_206A_206D_206D_202B_200D_202D_202E(defaultJsonTypeInfoResolver).Add(NonDefaultBoolModifier); + _206E_200F_200D_202E_206E_206A_200F_206D_206E_200D_206E_206B_206B_202A_202A_202B_206A_206F_206B_202A_206D_206B_206A_206C_206C_202E_206D_202E_206E_206A_202A_206E_206A_206B_206B_202B_202D_206D_206A_206D_202E(jsonSerializerOptions, (IJsonTypeInfoResolver)defaultJsonTypeInfoResolver); + return jsonSerializerOptions; + } + + public static QuestRoot Clone(QuestRoot source, JsonSerializerOptions options) + { + return JsonSerializer.Deserialize(JsonSerializer.Serialize(source, options), options); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static byte[] SerializeToUtf8(QuestRoot questRoot, JsonSerializerOptions options) + { + JsonObject obj = (JsonObject)JsonSerializer.SerializeToNode(questRoot, options); + JsonObject jsonObject = _202E_202D_200F_202C_202A_206A_202C_200B_206B_202B_200B_200C_200D_206B_206D_200D_200E_200B_200B_206B_206B_200C_200C_200B_200B_206B_206D_206A_206A_200E_202A_202C_202A_206F_206A_202A_206C_206A_202B_206C_202E((JsonNodeOptions?)null); + _200E_202C_200B_202D_206F_202C_206B_206C_200B_202A_206B_206F_202C_200B_206B_206B_200F_206D_202E_200C_200C_202C_206C_206A_202C_200E_206B_200C_206E_206D_202D_200E_200F_206B_202E_202D_206C_202D_200B_202B_202E(jsonObject, global::_003CModule_003E._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(993021410), _202D_206A_200D_200E_202C_206D_200E_200D_206A_202D_206B_206E_202C_200D_200D_202E_206F_200C_206A_206B_206E_202B_206C_206C_202A_200E_206A_200D_206A_206C_202E_202B_206B_200D_206C_200F_206C_202A_200C_202D_202E(global::_003CModule_003E._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(-550734837))); + IEnumerator> enumerator = _202C_200D_206C_206C_206D_206D_206C_200C_206C_202C_200F_200E_202A_206B_206D_200C_200F_206E_206E_206F_206A_206F_206D_206D_206F_202E_206B_200E_206A_202D_206B_206B_202A_200B_206B_202B_206D_206B_202B_206C_202E(obj); + try + { + int num = 576637742; + while (true) + { + int num2 = num; + int num3 = 576637740; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 576637742; + break; + case 2: + num = (_206C_202D_200C_206A_206E_206F_202D_200F_200B_202C_206C_202D_200C_206A_202D_200F_200E_202E_202A_206B_202D_200F_206B_200F_200C_202D_206A_202E_206B_200B_206B_206B_206E_206F_200D_206E_202A_206B_206D_206D_202E((IEnumerator)enumerator) ? 576637741 : 576637743); + break; + case 1: + var (text2, jsonNode2) = (KeyValuePair)(ref enumerator.Current); + _200E_202C_200B_202D_206F_202C_206B_206C_200B_202A_206B_206F_202C_200B_206B_206B_200F_206D_202E_200C_200C_202C_206C_206A_202C_200E_206B_200C_206E_206D_202D_200E_200F_206B_202E_202D_206C_202D_200B_202B_202E(jsonObject, text2, (jsonNode2 != null) ? _202D_200D_202A_202C_206D_206F_200F_206C_200F_202C_200E_202D_202B_200B_206D_206F_200C_202C_202D_202D_200C_206E_206B_200E_206D_202B_206C_206D_206F_202C_200B_206A_206A_202E_200F_200F_206E_202E_200E_200F_202E(jsonNode2) : null); + num = 576637742; + break; + case 3: + goto end_IL_004c; + } + continue; + end_IL_004c: + break; + } + } + finally + { + int num = ((enumerator == null) ? (-396801584) : (-396801583)); + while (true) + { + int num7 = num; + int num3 = -396801584; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + goto end_IL_0113; + case 1: + _206A_202C_206D_206D_206E_200B_200B_202B_206C_202B_206E_206B_206E_200B_202E_206D_202E_202D_200D_206B_200D_200C_202B_200C_200B_206B_200F_202A_206F_206A_206A_200F_202D_206E_202C_206C_206F_206C_206D_200C_202E((IDisposable)enumerator); + num = -396801584; + break; + case 2: + num = -396801583; + break; + } + continue; + end_IL_0113: + break; + } + } + MemoryStream memoryStream = _202E_202C_206A_200F_202B_200B_206B_200C_206B_200D_206B_202B_202B_202A_206A_200E_200D_206C_206D_202D_206D_206A_202A_206E_200E_202D_200C_206C_202B_202C_202A_206E_206C_200D_202A_206B_200D_200E_202E_206E_202E(); + try + { + Utf8JsonWriter utf8JsonWriter = _202C_206D_202B_202C_202C_206B_200C_206B_202C_202B_202E_206D_206D_202B_202D_202B_206C_200D_200E_206F_206A_200B_200D_202D_202B_200E_200E_202B_206A_202E_200D_206D_202A_202C_206D_202C_200C_202B_200E_206C_202E((Stream)memoryStream, new JsonWriterOptions + { + Encoder = _202E_206B_200E_200C_206E_202C_202D_200C_202B_200B_202C_202B_202B_202C_206D_202B_200B_200D_206A_206C_200B_206D_206D_202C_206E_200F_202E_206A_200C_206C_206C_206F_206B_202B_200C_202B_200D_200C_202E_206C_202E(), + Indented = true, + IndentSize = 2, + IndentCharacter = ' ' + }); + try + { + _200B_200C_200F_206A_202B_202B_202E_200D_206F_206C_206B_202E_206C_200E_206A_202B_200F_206A_200F_200C_206B_200D_206E_200D_200B_202E_202E_206C_206B_200D_200D_206B_206C_202D_202C_202E_206F_206E_202A_200D_202E((JsonNode)jsonObject, utf8JsonWriter, options); + } + finally + { + int num = ((utf8JsonWriter == null) ? (-2004320933) : (-2004320934)); + while (true) + { + int num10 = num; + int num3 = -2004320933; + int num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 2: + num = -2004320934; + break; + case 1: + _206A_202C_206D_206D_206E_200B_200B_202B_206C_202B_206E_206B_206E_200B_202E_206D_202E_202D_200D_206B_200D_200C_202B_200C_200B_206B_200F_202A_206F_206A_206A_200F_202D_206E_202C_206C_206F_206C_206D_200C_202E((IDisposable)utf8JsonWriter); + num = -2004320933; + break; + case 0: + goto end_IL_01ca; + } + continue; + end_IL_01ca: + break; + } + } + _202E_206A_200F_206F_206D_200B_200F_206E_202E_206E_206C_202C_202E_200D_202B_202B_202B_206E_200E_202D_206A_206C_200C_200E_200F_202C_206E_200F_206B_202A_206B_202E_206B_206D_202B_202D_202E_206E_202C_206E_202E((Stream)memoryStream, (byte)10); + return _206D_206E_206C_206D_202A_206D_202E_200E_206E_206A_202D_200B_206A_200C_206D_202B_202D_202B_206B_200F_206B_206F_202A_202B_202C_202C_202E_206C_200B_206F_200F_206E_206F_206C_202E_206B_200F_202A_200E_206D_202E(memoryStream); + } + finally + { + int num = ((memoryStream == null) ? (-1070998518) : (-1070998519)); + while (true) + { + int num13 = num; + int num3 = -1070998520; + int num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 0: + num = -1070998519; + break; + case 1: + _206A_202C_206D_206D_206E_200B_200B_202B_206C_202B_206E_206B_206E_200B_202E_206D_202E_202D_200D_206B_200D_200C_202B_200C_200B_206B_200F_202A_206F_206A_206A_200F_202D_206E_202C_206C_206F_206C_206D_200C_202E((IDisposable)memoryStream); + num = -1070998518; + break; + case 2: + goto end_IL_024b; + } + continue; + end_IL_024b: + break; + } + } + } + + private static void NoEmptyCollectionModifier(JsonTypeInfo typeInfo) + { + IEnumerator enumerator = _200C_206E_202C_202D_206B_206A_206E_200E_206A_202A_200C_202E_202E_200E_206A_200F_206D_200B_206D_200F_206A_200C_202B_200C_200E_200F_206D_206F_200B_202B_206D_200B_206C_202B_206C_206B_206E_200C_200D_202D_202E(typeInfo).GetEnumerator(); + try + { + int num = 1452355275; + JsonPropertyInfo current = default(JsonPropertyInfo); + while (true) + { + int num2 = num; + int num3 = 1452355274; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = (_206C_202D_200C_206A_206E_206F_202D_200F_200B_202C_206C_202D_200C_206A_202D_200F_200E_202E_202A_206B_202D_200F_206B_200F_200C_202D_206A_202E_206B_200B_206B_206B_206E_206F_200D_206E_202A_206B_206D_206D_202E((IEnumerator)enumerator) ? 1452355273 : 1452355278); + break; + case 2: + _206E_202A_206F_200B_202A_200D_202A_202D_202A_200E_206C_206F_202C_206E_206E_200F_206E_200B_200D_202E_206D_200B_206D_200C_206F_200C_206F_200F_202A_202C_202A_206D_202E_206F_202A_200F_200B_206C_202A_200F_202E(current, (Func)delegate(object _, object? val) + { + ICollection collection = val as ICollection; + int num10 = ((collection == null) ? (-655689827) : (-655689826)); + while (true) + { + int num11 = num10; + int num12 = -655689825; + int num13 = num11; + int num14 = num13 + num12; + int num15 = num13 & num12; + switch (num14 - (num15 + num15)) + { + case 2: + return false; + case 1: + return _003C_003Ec._200E_200B_200C_206D_202A_206E_206A_202A_202B_200F_206D_202B_206F_202B_202D_200E_206A_202C_200C_206C_206B_206F_200C_202B_202C_200E_206B_200C_206E_200D_206D_202D_206D_206F_202A_202E_206E_200B_206A_200D_202E(collection) > 0; + case 0: + goto IL_0056; + } + continue; + IL_0056: + num10 = -655689826; + } + }); + num = 1452355275; + break; + case 3: + current = enumerator.Current; + num = ((!_200F_206B_200D_202A_202C_206B_200B_206C_200F_200C_202B_202E_200D_202E_206F_202A_200F_206B_200D_202D_206F_206F_202E_200B_206C_206D_202E_206D_200C_206E_200C_202C_202A_200B_202A_200F_200D_202C_200D_202E_202E(_206B_206D_202D_200C_206F_206F_202D_206B_202C_200E_206B_206D_200B_200E_202C_206C_200F_206E_206C_206D_200F_202E_200E_200C_200C_202E_206A_202A_206F_206C_206C_202B_200F_202E_202C_206B_206B_200E_200F_202A_202E(typeof(ICollection).TypeHandle), _206B_200F_202D_206D_206C_202D_202D_206F_206B_206C_202C_206E_202C_202C_200C_206B_206A_206E_206C_200F_200B_206C_202A_202A_200C_202D_200C_200B_202A_200B_202A_202B_202C_202B_200D_202A_206C_206F_200F_202B_202E(current))) ? 1452355275 : 1452355272); + break; + case 0: + num = 1452355275; + break; + case 4: + return; + } + } + } + finally + { + int num = ((enumerator == null) ? (-517751485) : (-517751488)); + while (true) + { + int num7 = num; + int num3 = -517751487; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = -517751488; + break; + case 1: + _206A_202C_206D_206D_206E_200B_200B_202B_206C_202B_206E_206B_206E_200B_202E_206D_202E_202D_200D_206B_200D_200C_202B_200C_200B_206B_200F_202A_206F_206A_206A_200F_202D_206E_202C_206C_206F_206C_206D_200C_202E((IDisposable)enumerator); + num = -517751485; + break; + case 2: + goto end_IL_0100; + } + continue; + end_IL_0100: + break; + } + } + } + + private static void DialogueChoiceSerializationModifier(JsonTypeInfo typeInfo) + { + int num = ((!_202E_202E_202B_202B_202C_200C_206F_206A_200D_206B_206E_200F_206E_200C_206C_206C_206E_206B_200B_200C_206B_200B_202B_202E_206B_206C_206A_202D_206E_200F_202E_206A_202B_206E_202E_200D_202D_202E_206C_200F_202E(_202C_202E_206A_206F_200E_202B_202E_202B_200F_202C_202D_202C_206D_200F_200C_202D_206C_202D_206C_206D_206C_206A_202C_206F_200C_202B_206B_206A_206A_206A_206D_206A_202A_206A_202A_206B_206C_206D_200C_206B_202E(typeInfo), _206B_206D_202D_200C_206F_206F_202D_206B_202C_200E_206B_206D_200B_200E_202C_206C_200F_206E_206C_206D_200F_202E_200E_200C_200C_202E_206A_202A_206F_206C_206C_202B_200F_202E_202C_206B_206B_200E_200F_202A_202E(typeof(DialogueChoice).TypeHandle))) ? (-1647660698) : (-1647660700)); + JsonPropertyInfo jsonPropertyInfo = default(JsonPropertyInfo); + while (true) + { + int num2 = num; + int num3 = -1647660699; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = -1647660700; + break; + case 1: + return; + case 2: + return; + case 3: + jsonPropertyInfo = _200C_206E_202C_202D_206B_206A_206E_200E_206A_202A_200C_202E_202E_200E_206A_200F_206D_200B_206D_200F_206A_200C_202B_200C_200E_200F_206D_206F_200B_202B_206D_200B_206C_202B_206C_206B_206E_200C_200D_202D_202E(typeInfo).FirstOrDefault([MethodImpl(MethodImplOptions.NoInlining)] (JsonPropertyInfo x) => _003C_003Ec._202D_206F_200C_206B_200B_206C_206C_202B_202D_206D_200D_202C_202A_206C_202E_206D_202E_206A_200B_206D_202A_200D_200E_202B_200E_206F_200F_202C_202D_202A_200F_206E_202A_200E_200E_206F_206D_206F_200E_200E_202E(_003C_003Ec._200E_206E_202E_202A_206F_206B_202D_206D_200C_206C_202E_202E_206C_206F_200E_200B_206C_206D_202E_200C_206E_206D_202A_206F_200B_200C_206B_202C_206F_206A_200C_202E_202E_202D_200B_200D_200B_202C_206B_206F_202E(x), global::_003CModule_003E._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(-282631776))); + num = ((jsonPropertyInfo == null) ? (-1647660697) : (-1647660699)); + break; + case 0: + _206E_202A_206F_200B_202A_200D_202A_202D_202A_200E_206C_206F_202C_206E_206E_200F_206E_200B_200D_202E_206D_200B_206D_200C_206F_200C_206F_200F_202A_202C_202A_206D_202E_206F_202A_200F_200B_206C_202A_200F_202E(jsonPropertyInfo, (Func)delegate(object obj, object? _) + { + DialogueChoice dialogueChoice = obj as DialogueChoice; + int num5 = ((dialogueChoice == null) ? 1809875924 : 1809875927); + while (true) + { + int num6 = num5; + int num7 = 1809875926; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + switch (num9 - (num10 + num10)) + { + case 2: + return false; + case 1: + return dialogueChoice.Type == EDialogChoiceType.YesNo; + case 0: + goto IL_0056; + } + continue; + IL_0056: + num5 = 1809875927; + } + }); + num = -1647660697; + break; + } + } + } + + private static void NonDefaultBoolModifier(JsonTypeInfo typeInfo) + { + int num = ((!_202E_202E_202B_202B_202C_200C_206F_206A_200D_206B_206E_200F_206E_200C_206C_206C_206E_206B_200B_200C_206B_200B_202B_202E_206B_206C_206A_202D_206E_200F_202E_206A_202B_206E_202E_200D_202D_202E_206C_200F_202E(_202C_202E_206A_206F_200E_202B_202E_202B_200F_202C_202D_202C_206D_200F_200C_202D_206C_202D_206C_206D_206C_206A_202C_206F_200C_202B_206B_206A_206A_206A_206D_206A_202A_206A_202A_206B_206C_206D_200C_206B_202E(typeInfo), _206B_206D_202D_200C_206F_206F_202D_206B_202C_200E_206B_206D_200B_200E_202C_206C_200F_206E_206C_206D_200F_202E_200E_200C_200C_202E_206A_202A_206F_206C_206C_202B_200F_202E_202C_206B_206B_200E_200F_202A_202E(typeof(QuestRoot).TypeHandle))) ? 178105966 : 178105962); + JsonPropertyInfo jsonPropertyInfo = default(JsonPropertyInfo); + while (true) + { + int num2 = num; + int num3 = 178105966; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return; + case 4: + return; + case 2: + num = 178105962; + break; + case 3: + _206E_202A_206F_200B_202A_200D_202A_202D_202A_200E_206C_206F_202C_206E_206E_200F_206E_200B_200D_202E_206D_200B_206D_200C_206F_200C_206F_200F_202A_202C_202A_206D_202E_206F_202A_200F_200B_206C_202A_200F_202E(jsonPropertyInfo, (Func)delegate(object obj, object? _) + { + QuestRoot questRoot = obj as QuestRoot; + int num7 = ((questRoot == null) ? (-737791523) : (-737791524)); + while (true) + { + int num8 = num7; + int num9 = -737791523; + int num10 = num8; + int num11 = num10 + num9; + int num12 = num10 & num9; + switch (num11 - (num12 + num12)) + { + case 2: + goto IL_004a; + case 0: + return false; + case 1: + return !questRoot.Interruptible; + } + continue; + IL_004a: + num7 = -737791524; + } + }); + num = 178105967; + break; + case 0: + jsonPropertyInfo = _200C_206E_202C_202D_206B_206A_206E_200E_206A_202A_200C_202E_202E_200E_206A_200F_206D_200B_206D_200F_206A_200C_202B_200C_200E_200F_206D_206F_200B_202B_206D_200B_206C_202B_206C_206B_206E_200C_200D_202D_202E(typeInfo).FirstOrDefault([MethodImpl(MethodImplOptions.NoInlining)] (JsonPropertyInfo x) => _003C_003Ec._202D_206F_200C_206B_200B_206C_206C_202B_202D_206D_200D_202C_202A_206C_202E_206D_202E_206A_200B_206D_202A_200D_200E_202B_200E_206F_200F_202C_202D_202A_200F_206E_202A_200E_200E_206F_206D_206F_200E_200E_202E(_003C_003Ec._200E_206E_202E_202A_206F_206B_202D_206D_200C_206C_202E_202E_206C_206F_200E_200B_206C_206D_202E_200C_206E_206D_202A_206F_200B_200C_206B_202C_206F_206A_200C_202E_202E_202D_200B_200D_200B_202C_206B_206F_202E(x), global::_003CModule_003E._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(-395466289))); + num = ((jsonPropertyInfo == null) ? 178105967 : 178105965); + break; + } + } + } + + static JsonSerializerOptions _200C_206A_202B_202B_206D_206F_200C_206D_206B_200B_206F_202E_206B_206A_206D_206D_200B_206E_206F_206B_202B_206D_200D_206C_200E_202B_206B_200F_200F_202B_200B_206B_200B_206E_206C_206E_206B_202B_200D_206C_202E() + { + return new JsonSerializerOptions(); + } + + static JavaScriptEncoder _202E_206B_200E_200C_206E_202C_202D_200C_202B_200B_202C_202B_202B_202C_206D_202B_200B_200D_206A_206C_200B_206D_206D_202C_206E_200F_202E_206A_200C_206C_206C_206F_206B_202B_200C_202B_200D_200C_202E_206C_202E() + { + return JavaScriptEncoder.UnsafeRelaxedJsonEscaping; + } + + static void _206F_202C_200E_202A_200F_200F_206B_200D_206A_200F_206D_206F_202E_200B_200D_200B_200B_200F_206D_200F_200E_202C_200C_206E_202D_200E_206D_202E_206C_206A_206D_206F_206C_202C_202A_202C_200E_206D_200D_202E(JsonSerializerOptions P_0, JavaScriptEncoder P_1) + { + P_0.Encoder = P_1; + } + + static void _206D_200E_200C_206D_202B_202A_202C_206C_206C_202A_206C_206C_206F_202E_202C_200F_206F_202E_200E_200E_202B_206C_202D_206A_200E_200D_206C_200B_200B_200D_200E_206E_200D_200E_200B_206E_202E_202A_200D_202E(JsonSerializerOptions P_0, JsonIgnoreCondition P_1) + { + P_0.DefaultIgnoreCondition = P_1; + } + + static void _202A_200B_202B_202C_206F_200B_202A_202C_206A_200C_206F_206B_200C_206F_200D_206E_202B_206F_206D_206C_202B_202E_200D_202A_206A_202B_200D_202A_206B_202D_202A_206B_206C_206E_202E_202C_202A_202C_200E_200E_202E(JsonSerializerOptions P_0, bool P_1) + { + P_0.WriteIndented = P_1; + } + + static void _200D_206A_200C_206A_202A_206E_202E_202D_200C_206A_200D_206C_202C_202B_202C_202C_206D_200B_200E_206E_206A_200D_206F_200E_206A_202A_206B_202B_206A_200D_200D_202E_200E_206E_206E_200E_202B_202D_206D_206C_202E(JsonSerializerOptions P_0, bool P_1) + { + P_0.IncludeFields = P_1; + } + + static DefaultJsonTypeInfoResolver _200F_202B_202C_200E_206C_206F_202D_200C_202D_206F_202A_200D_206F_200F_200D_206D_206B_202C_206E_200F_200D_202A_206F_206D_202E_206C_200F_202A_206A_200F_202E_200F_206C_206B_200C_206B_200E_206B_206B_200C_202E() + { + return new DefaultJsonTypeInfoResolver(); + } + + static IList> _200B_202A_202A_202E_206B_206D_200B_206B_200C_202A_202B_200B_200B_206C_206C_200E_202D_206D_202E_200C_206E_200C_202D_202B_200F_206B_200B_206E_206E_206C_202B_202B_202D_206A_206D_206D_202B_200D_202D_202E(DefaultJsonTypeInfoResolver P_0) + { + return P_0.Modifiers; + } + + static void _206E_200F_200D_202E_206E_206A_200F_206D_206E_200D_206E_206B_206B_202A_202A_202B_206A_206F_206B_202A_206D_206B_206A_206C_206C_202E_206D_202E_206E_206A_202A_206E_206A_206B_206B_202B_202D_206D_206A_206D_202E(JsonSerializerOptions P_0, IJsonTypeInfoResolver P_1) + { + P_0.TypeInfoResolver = P_1; + } + + static JsonObject _202E_202D_200F_202C_202A_206A_202C_200B_206B_202B_200B_200C_200D_206B_206D_200D_200E_200B_200B_206B_206B_200C_200C_200B_200B_206B_206D_206A_206A_200E_202A_202C_202A_206F_206A_202A_206C_206A_202B_206C_202E(JsonNodeOptions? P_0) + { + return new JsonObject(P_0); + } + + static JsonNode _202D_206A_200D_200E_202C_206D_200E_200D_206A_202D_206B_206E_202C_200D_200D_202E_206F_200C_206A_206B_206E_202B_206C_206C_202A_200E_206A_200D_206A_206C_202E_202B_206B_200D_206C_200F_206C_202A_200C_202D_202E(string P_0) + { + return P_0; + } + + static void _200E_202C_200B_202D_206F_202C_206B_206C_200B_202A_206B_206F_202C_200B_206B_206B_200F_206D_202E_200C_200C_202C_206C_206A_202C_200E_206B_200C_206E_206D_202D_200E_200F_206B_202E_202D_206C_202D_200B_202B_202E(JsonObject P_0, string P_1, JsonNode P_2) + { + P_0.Add(P_1, P_2); + } + + static IEnumerator> _202C_200D_206C_206C_206D_206D_206C_200C_206C_202C_200F_200E_202A_206B_206D_200C_200F_206E_206E_206F_206A_206F_206D_206D_206F_202E_206B_200E_206A_202D_206B_206B_202A_200B_206B_202B_206D_206B_202B_206C_202E(JsonObject P_0) + { + return P_0.GetEnumerator(); + } + + static JsonNode _202D_200D_202A_202C_206D_206F_200F_206C_200F_202C_200E_202D_202B_200B_206D_206F_200C_202C_202D_202D_200C_206E_206B_200E_206D_202B_206C_206D_206F_202C_200B_206A_206A_202E_200F_200F_206E_202E_200E_200F_202E(JsonNode P_0) + { + return P_0.DeepClone(); + } + + static bool _206C_202D_200C_206A_206E_206F_202D_200F_200B_202C_206C_202D_200C_206A_202D_200F_200E_202E_202A_206B_202D_200F_206B_200F_200C_202D_206A_202E_206B_200B_206B_206B_206E_206F_200D_206E_202A_206B_206D_206D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206A_202C_206D_206D_206E_200B_200B_202B_206C_202B_206E_206B_206E_200B_202E_206D_202E_202D_200D_206B_200D_200C_202B_200C_200B_206B_200F_202A_206F_206A_206A_200F_202D_206E_202C_206C_206F_206C_206D_200C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static MemoryStream _202E_202C_206A_200F_202B_200B_206B_200C_206B_200D_206B_202B_202B_202A_206A_200E_200D_206C_206D_202D_206D_206A_202A_206E_200E_202D_200C_206C_202B_202C_202A_206E_206C_200D_202A_206B_200D_200E_202E_206E_202E() + { + return new MemoryStream(); + } + + static Utf8JsonWriter _202C_206D_202B_202C_202C_206B_200C_206B_202C_202B_202E_206D_206D_202B_202D_202B_206C_200D_200E_206F_206A_200B_200D_202D_202B_200E_200E_202B_206A_202E_200D_206D_202A_202C_206D_202C_200C_202B_200E_206C_202E(Stream P_0, JsonWriterOptions P_1) + { + return new Utf8JsonWriter(P_0, P_1); + } + + static void _200B_200C_200F_206A_202B_202B_202E_200D_206F_206C_206B_202E_206C_200E_206A_202B_200F_206A_200F_200C_206B_200D_206E_200D_200B_202E_202E_206C_206B_200D_200D_206B_206C_202D_202C_202E_206F_206E_202A_200D_202E(JsonNode P_0, Utf8JsonWriter P_1, JsonSerializerOptions P_2) + { + P_0.WriteTo(P_1, P_2); + } + + static void _202E_206A_200F_206F_206D_200B_200F_206E_202E_206E_206C_202C_202E_200D_202B_202B_202B_206E_200E_202D_206A_206C_200C_200E_200F_202C_206E_200F_206B_202A_206B_202E_206B_206D_202B_202D_202E_206E_202C_206E_202E(Stream P_0, byte P_1) + { + P_0.WriteByte(P_1); + } + + static byte[] _206D_206E_206C_206D_202A_206D_202E_200E_206E_206A_202D_200B_206A_200C_206D_202B_202D_202B_206B_200F_206B_206F_202A_202B_202C_202C_202E_206C_200B_206F_200F_206E_206F_206C_202E_206B_200F_202A_200E_206D_202E(MemoryStream P_0) + { + return P_0.ToArray(); + } + + static IList _200C_206E_202C_202D_206B_206A_206E_200E_206A_202A_200C_202E_202E_200E_206A_200F_206D_200B_206D_200F_206A_200C_202B_200C_200E_200F_206D_206F_200B_202B_206D_200B_206C_202B_206C_206B_206E_200C_200D_202D_202E(JsonTypeInfo P_0) + { + return P_0.Properties; + } + + static Type _206B_206D_202D_200C_206F_206F_202D_206B_202C_200E_206B_206D_200B_200E_202C_206C_200F_206E_206C_206D_200F_202E_200E_200C_200C_202E_206A_202A_206F_206C_206C_202B_200F_202E_202C_206B_206B_200E_200F_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static Type _206B_200F_202D_206D_206C_202D_202D_206F_206B_206C_202C_206E_202C_202C_200C_206B_206A_206E_206C_200F_200B_206C_202A_202A_200C_202D_200C_200B_202A_200B_202A_202B_202C_202B_200D_202A_206C_206F_200F_202B_202E(JsonPropertyInfo P_0) + { + return P_0.PropertyType; + } + + static bool _200F_206B_200D_202A_202C_206B_200B_206C_200F_200C_202B_202E_200D_202E_206F_202A_200F_206B_200D_202D_206F_206F_202E_200B_206C_206D_202E_206D_200C_206E_200C_202C_202A_200B_202A_200F_200D_202C_200D_202E_202E(Type P_0, Type P_1) + { + return P_0.IsAssignableFrom(P_1); + } + + static void _206E_202A_206F_200B_202A_200D_202A_202D_202A_200E_206C_206F_202C_206E_206E_200F_206E_200B_200D_202E_206D_200B_206D_200C_206F_200C_206F_200F_202A_202C_202A_206D_202E_206F_202A_200F_200B_206C_202A_200F_202E(JsonPropertyInfo P_0, Func P_1) + { + P_0.ShouldSerialize = P_1; + } + + static Type _202C_202E_206A_206F_200E_202B_202E_202B_200F_202C_202D_202C_206D_200F_200C_202D_206C_202D_206C_206D_206C_206A_202C_206F_200C_202B_206B_206A_206A_206A_206D_206A_202A_206A_202A_206B_206C_206D_200C_206B_202E(JsonTypeInfo P_0) + { + return P_0.Type; + } + + static bool _202E_202E_202B_202B_202C_200C_206F_206A_200D_206B_206E_200F_206E_200C_206C_206C_206E_206B_200B_200C_206B_200B_202B_202E_206B_206C_206A_202D_206E_200F_202E_206A_202B_206E_202E_200D_202D_202E_206C_200F_202E(Type P_0, Type P_1) + { + return P_0 != P_1; + } +} diff --git a/Questionable.Model/Questionable.Model.Questing/QuestSequence.cs b/Questionable.Model/Questionable.Model.Questing/QuestSequence.cs index 01ff48de..422bebf2 100644 --- a/Questionable.Model/Questionable.Model.Questing/QuestSequence.cs +++ b/Questionable.Model/Questionable.Model.Questing/QuestSequence.cs @@ -15,11 +15,28 @@ public sealed class QuestSequence public QuestStep? FindStep(int step) { - if (step < 0 || step >= Steps.Count) + int num = ((step < 0) ? (-1021069970) : (-1021069969)); + while (true) { - return null; + int num2 = num; + int num3 = -1021069971; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return null; + case 1: + return Steps[step]; + case 0: + num = -1021069969; + break; + case 2: + num = ((step < Steps.Count) ? (-1021069972) : (-1021069970)); + break; + } } - return Steps[step]; } public QuestStep? LastStep() diff --git a/Questionable.Model/Questionable.Model.Questing/QuestStep.cs b/Questionable.Model/Questionable.Model.Questing/QuestStep.cs index 2bad039e..a821dc25 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; @@ -46,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; } @@ -65,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; } @@ -99,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; } @@ -156,32 +159,46 @@ public sealed class QuestStep public float CalculateActualStopDistance() { float? stopDistance = StopDistance; - if (stopDistance.HasValue) + int num = ((!stopDistance.HasValue) ? (-455732266) : (-455732271)); + float result = default(float); + EInteractionType interactionType = default(EInteractionType); + while (true) { - return stopDistance.GetValueOrDefault(); + int num2 = num; + int num3 = -455732267; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + result = 10f; + num = -455732268; + break; + case 4: + return stopDistance.GetValueOrDefault(); + case 8: + num = (((uint)(interactionType - 4) <= 1u) ? (-455732265) : (-455732272)); + break; + case 5: + num = -455732270; + break; + case 3: + interactionType = InteractionType; + num = ((interactionType == EInteractionType.WalkTo) ? (-455732269) : (-455732259)); + break; + case 0: + num = -455732271; + break; + case 7: + result = 3f; + num = -455732268; + break; + case 6: + result = 0.25f; + num = -455732268; + break; + case 1: + return result; + } } - switch (InteractionType) - { - case EInteractionType.WalkTo: - return 0.25f; - case EInteractionType.AttuneAetheryte: - case EInteractionType.RegisterFreeOrFavoredAetheryte: - return 10f; - default: - 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/QuestWorkValue.cs b/Questionable.Model/Questionable.Model.Questing/QuestWorkValue.cs index 5d5caa87..0b30ce1b 100644 --- a/Questionable.Model/Questionable.Model.Questing/QuestWorkValue.cs +++ b/Questionable.Model/Questionable.Model.Questing/QuestWorkValue.cs @@ -1,3 +1,4 @@ +using System.Runtime.CompilerServices; using System.Text.Json.Serialization; using Questionable.Model.Questing.Converter; @@ -6,31 +7,66 @@ namespace Questionable.Model.Questing; [JsonConverter(typeof(QuestWorkConfigConverter))] public sealed class QuestWorkValue(byte? high, byte? low, EQuestWorkMode mode) { - public byte? High { get; set; } = high; + public byte? High { get; set; } - public byte? Low { get; set; } = low; + public byte? Low { get; set; } - public EQuestWorkMode Mode { get; set; } = mode; + public EQuestWorkMode Mode { get; set; } + + public QuestWorkValue(byte? high, byte? low, EQuestWorkMode mode) + { + High = high; + Low = low; + Mode = mode; + base._002Ector(); + } public QuestWorkValue(byte value) - : this((byte)(value >> 4), (byte)(value & 0xF), EQuestWorkMode.Bitwise) { + byte? high = (byte)(value >> 4); + int num = 15; + this._002Ector(high, (byte)((value | num) - (value ^ num)), EQuestWorkMode.Bitwise); } + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - if (High.HasValue && Low.HasValue) + int num = ((!High.HasValue) ? 30778248 : 30778253); + while (true) { - return ((byte)((High.Value << 4) + Low.Value)).ToString(); + int num2 = num; + int num3 = 30778255; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return ((byte)((High.Value << 4) + Low.Value)).ToString(); + case 2: + num = ((!Low.HasValue) ? 30778248 : 30778254); + break; + case 7: + num = ((!High.HasValue) ? 30778250 : 30778252); + break; + case 0: + return global::_003CModule_003E._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(-882791204); + case 3: + return _206A_200C_200D_206D_206F_202B_206F_202C_206C_200B_202C_202D_202B_206E_206B_206B_206B_202C_200C_202C_202C_206C_206E_200F_206D_202A_200E_200B_202B_206F_202B_200D_206E_206F_202A_200F_206C_206D_200E_202C_202E(High.Value.ToString(), global::_003CModule_003E._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(48541848)); + case 6: + num = 30778253; + break; + case 4: + return _206A_200C_200D_206D_206F_202B_206F_202C_206C_200B_202C_202D_202B_206E_206B_206B_206B_202C_200C_202C_202C_206C_206E_200F_206D_202A_200E_200B_202B_206F_202B_200D_206E_206F_202A_200F_206C_206D_200E_202C_202E(Low.Value.ToString(), global::_003CModule_003E._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(2110978622)); + case 5: + num = ((!Low.HasValue) ? 30778255 : 30778251); + break; + } } - if (High.HasValue) - { - return High.Value + "H"; - } - if (Low.HasValue) - { - return Low.Value + "L"; - } - return "-"; + } + + static string _206A_200C_200D_206D_206F_202B_206F_202C_206C_200B_202C_202D_202B_206E_206B_206B_206B_202C_200C_202C_202C_206C_206E_200F_206D_202A_200E_200B_202B_206F_202B_200D_206E_206F_202A_200F_206C_206D_200E_202C_202E(string P_0, string P_1) + { + return P_0 + P_1; } } diff --git a/Questionable.Model/Questionable.Model.Questing/SatisfactionSupplyNpcId.cs b/Questionable.Model/Questionable.Model.Questing/SatisfactionSupplyNpcId.cs index 290a5fd5..5a77acdd 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 f6894045..bb1949d4 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 7c70cf04..df63dd5d 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 818d5cc2..cfe7d15a 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 69d6e248..de92ba8f 100644 --- a/Questionable.Model/Questionable.Model.Questing/SkipStepConditions.cs +++ b/Questionable.Model/Questionable.Model.Questing/SkipStepConditions.cs @@ -1,8 +1,9 @@ using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; using System.Text.Json.Serialization; -using Questionable.Model.Common; using Questionable.Model.Questing.Converter; +using SmartNav.Model; namespace Questionable.Model.Questing; @@ -48,19 +49,139 @@ public sealed class SkipStepConditions public bool HasSkipConditions() { - if (Never) + int num = ((!Never) ? (-1487390778) : (-1487390776)); + while (true) { - return false; + int num2 = num; + int num3 = -1487390773; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 14: + num = ((QuestsAccepted.Count > 0) ? (-1487390781) : (-1487390769)); + break; + case 13: + num = ((CompletionQuestVariablesFlags.Count <= 0) ? (-1487390773) : (-1487390770)); + break; + case 11: + num = (MinimumLevel.HasValue ? (-1487390781) : (-1487390771)); + break; + case 3: + return false; + case 2: + num = ((Item != null) ? (-1487390781) : (-1487390779)); + break; + case 1: + num = (Diving.HasValue ? (-1487390781) : (-1487390782)); + break; + case 10: + num = ((InTerritory.Count > 0) ? (-1487390781) : (-1487390772)); + break; + case 15: + num = (Chocobo.HasValue ? (-1487390781) : (-1487390774)); + break; + case 19: + num = (AetheryteLocked.HasValue ? (-1487390781) : (-1487390757)); + break; + case 9: + num = (NotTargetable ? (-1487390781) : (-1487390783)); + break; + case 12: + num = -1487390776; + break; + case 0: + num = (Flying.HasValue ? (-1487390781) : (-1487390780)); + break; + case 18: + return ExtraCondition.HasValue; + case 8: + return true; + case 16: + num = (AetheryteUnlocked.HasValue ? (-1487390781) : (-1487390784)); + break; + case 7: + num = ((NotInTerritory.Count > 0) ? (-1487390781) : (-1487390775)); + break; + case 17: + num = ((NotNearPosition != null) ? (-1487390781) : (-1487390759)); + break; + case 4: + num = ((QuestsCompleted.Count > 0) ? (-1487390781) : (-1487390753)); + break; + case 6: + num = ((NearPosition != null) ? (-1487390781) : (-1487390758)); + break; + case 5: + num = (CompletionQuestVariablesFlags.Any((QuestWorkValue x) => x != null) ? (-1487390781) : (-1487390773)); + break; + case 20: + num = ((NotNamePlateIconId.Count > 0) ? (-1487390781) : (-1487390760)); + break; + } } - if ((CompletionQuestVariablesFlags.Count <= 0 || !CompletionQuestVariablesFlags.Any((QuestWorkValue x) => x != null)) && !Flying.HasValue && !Chocobo.HasValue && !Diving.HasValue && !NotTargetable && InTerritory.Count <= 0 && NotInTerritory.Count <= 0 && Item == null && QuestsAccepted.Count <= 0 && QuestsCompleted.Count <= 0 && NotNamePlateIconId.Count <= 0 && !AetheryteLocked.HasValue && !AetheryteUnlocked.HasValue && !MinimumLevel.HasValue && NearPosition == null && NotNearPosition == null) - { - return ExtraCondition.HasValue; - } - return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"{"Never"}: {Never}, {"CompletionQuestVariablesFlags"}: {CompletionQuestVariablesFlags}, {"Flying"}: {Flying}, {"Chocobo"}: {Chocobo}, {"Diving"}: {Diving}, {"NotTargetable"}: {NotTargetable}, {"InTerritory"}: {string.Join(" ", InTerritory)}, {"NotInTerritory"}: {string.Join(" ", NotInTerritory)}, {"Item"}: {Item}, {"QuestsAccepted"}: {string.Join(" ", QuestsAccepted)}, {"QuestsCompleted"}: {string.Join(" ", QuestsCompleted)}, {"NotNamePlateIconId"}: {string.Join(" ", NotNamePlateIconId)}, {"NearPosition"}: {NearPosition}, {"ExtraCondition"}: {ExtraCondition}"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(54, 28); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(-1770959126)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1976970320)); + defaultInterpolatedStringHandler.AppendFormatted(Never); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1869626143)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(-1553385684)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1976970320)); + defaultInterpolatedStringHandler.AppendFormatted(CompletionQuestVariablesFlags); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(382305646)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(-350975942)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1776596717)); + defaultInterpolatedStringHandler.AppendFormatted(Flying); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1869626143)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(-1544197877)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(107920315)); + defaultInterpolatedStringHandler.AppendFormatted(Chocobo); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1869626143)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(-1731183236)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1976970320)); + defaultInterpolatedStringHandler.AppendFormatted(Diving); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1869626143)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(2118852789)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1776596717)); + defaultInterpolatedStringHandler.AppendFormatted(NotTargetable); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1833048559)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(1379711779)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1776596717)); + defaultInterpolatedStringHandler.AppendFormatted(string.Join(global::_003CModule_003E._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(2081445888), InTerritory)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-641561799)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(-1826733459)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1976970320)); + defaultInterpolatedStringHandler.AppendFormatted(string.Join(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(-1595229972), NotInTerritory)); + defaultInterpolatedStringHandler.AppendLiteral(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(813575713)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(1712180490)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1776596717)); + defaultInterpolatedStringHandler.AppendFormatted(Item); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(382305646)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(-1917849384)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(107920315)); + defaultInterpolatedStringHandler.AppendFormatted(string.Join(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(-1595229972), QuestsAccepted)); + defaultInterpolatedStringHandler.AppendLiteral(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(813575713)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(2044649201)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1049618677)); + defaultInterpolatedStringHandler.AppendFormatted(string.Join(global::_003CModule_003E._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(108957871), QuestsCompleted)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(382305646)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(-405742690)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(107920315)); + defaultInterpolatedStringHandler.AppendFormatted(string.Join(global::_003CModule_003E._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(-1549529312), NotNamePlateIconId)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1833048559)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(429954667)); + defaultInterpolatedStringHandler.AppendLiteral(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(1903063187)); + defaultInterpolatedStringHandler.AppendFormatted(NearPosition); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-641561799)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(-634452865)); + defaultInterpolatedStringHandler.AppendLiteral(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(1903063187)); + defaultInterpolatedStringHandler.AppendFormatted(ExtraCondition); + return defaultInterpolatedStringHandler.ToStringAndClear(); } } diff --git a/Questionable.Model/Questionable.Model.Questing/UnlockLinkId.cs b/Questionable.Model/Questionable.Model.Questing/UnlockLinkId.cs index 9f372636..a102ba65 100644 --- a/Questionable.Model/Questionable.Model.Questing/UnlockLinkId.cs +++ b/Questionable.Model/Questionable.Model.Questing/UnlockLinkId.cs @@ -1,4 +1,5 @@ using System.Globalization; +using System.Runtime.CompilerServices; namespace Questionable.Model.Questing; @@ -9,8 +10,19 @@ public sealed class UnlockLinkId : ElementId { } + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "U" + base.Value.ToString(CultureInfo.InvariantCulture); + return _200D_206B_206E_202B_206B_200D_206D_202B_202C_206C_206C_200B_202B_200E_206A_202A_200C_206B_202E_202B_200C_206B_200C_200D_200E_206D_202E_202A_200E_202B_200F_200E_200F_206C_202C_206D_202E_202E_206E_200E_202E(global::_003CModule_003E._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(-326705716), base.Value.ToString(_200F_202A_206B_202C_206E_206D_206C_206E_206D_200D_206C_202E_202D_200E_206D_202A_202B_206C_206B_206E_206A_202D_206E_200B_202E_206D_200D_206E_202D_202C_202C_206B_202E_206A_206A_200B_206A_206B_200F_206D_202E())); + } + + static CultureInfo _200F_202A_206B_202C_206E_206D_206C_206E_206D_200D_206C_202E_202D_200E_206D_202A_202B_206C_206B_206E_206A_202D_206E_200B_202E_206D_200D_206E_202D_202C_202C_206B_202E_206A_206A_200B_206A_206B_200F_206D_202E() + { + return CultureInfo.InvariantCulture; + } + + static string _200D_206B_206E_202B_206B_200D_206D_202B_202C_206C_206C_200B_202B_200E_206A_202A_200C_206B_202E_202B_200C_206B_200C_200D_200E_206D_202E_202A_200E_202B_200F_200E_200F_206C_202C_206D_202E_202E_206E_200E_202E(string P_0, string P_1) + { + return P_0 + P_1; } } diff --git a/Questionable.Model/Questionable.Model.csproj b/Questionable.Model/Questionable.Model.csproj index 5fff03ae..a4970454 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 37e5996c..3b3fd95b 100644 --- a/Questionable.Model/Questionable.Model/AssemblyModelLoader.cs +++ b/Questionable.Model/Questionable.Model/AssemblyModelLoader.cs @@ -1,18 +1,75 @@ +using System; using System.IO; +using System.Reflection; +using System.Runtime.CompilerServices; +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 => _206C_206C_202A_202E_206D_202B_200E_200B_202C_200D_202B_202A_200D_206E_206A_206F_206F_200C_206A_206B_206E_206C_206D_206F_200F_200B_200B_202B_200C_202E_206C_200E_206F_202D_206A_206C_200F_200C_202B_206E_202E(); - public static Stream CommonAethernetShard => typeof(AssemblyModelLoader).Assembly.GetManifestResourceStream("Questionable.Model.CommonAethernetShard"); + public static Stream CommonAethernetShard => _202A_202E_206E_202E_202E_206D_202C_200F_202C_200D_206B_206F_206F_200E_206A_200F_206D_206C_206E_202D_200D_202A_202B_202E_200D_206B_200E_206F_200F_202A_206A_206F_206F_206D_206E_206A_206C_206E_200C_206B_202E(); - public static Stream CommonClassJob => typeof(AssemblyModelLoader).Assembly.GetManifestResourceStream("Questionable.Model.CommonClassJob"); + public static Stream CommonClassJob + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return _200B_200F_202A_206D_200C_206C_206E_200F_200E_206D_206F_206D_202A_202E_202A_200D_200F_206B_200C_206B_206E_206D_206B_200D_202D_202A_200E_202A_206C_200C_202B_202C_200B_200C_202E_202B_202C_206D_200C_200D_202E(_202E_200C_206F_206A_200F_200C_206F_202E_200C_206D_202E_200C_206E_200D_206A_202C_202D_206E_206E_206D_200E_206C_200C_200B_202A_206D_202E_202C_200B_200E_206F_202A_200E_202D_202C_206F_200B_202A_200F_206E_202E(_202B_200B_206E_200D_206D_206F_202E_200E_200C_206F_202C_200D_200E_200E_206F_200C_200C_202A_206E_206E_202D_206E_206C_206A_200D_206A_206A_202C_206F_200F_206D_200E_202B_200C_202C_206A_200E_206D_206C_206F_202E(typeof(AssemblyModelLoader).TypeHandle)), global::_003CModule_003E._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(657022072)); + } + } - public static Stream CommonCompletionFlags => typeof(AssemblyModelLoader).Assembly.GetManifestResourceStream("Questionable.Model.CommonCompletionFlags"); + public static Stream CommonCompletionFlags + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return _200B_200F_202A_206D_200C_206C_206E_200F_200E_206D_206F_206D_202A_202E_202A_200D_200F_206B_200C_206B_206E_206D_206B_200D_202D_202A_200E_202A_206C_200C_202B_202C_200B_200C_202E_202B_202C_206D_200C_200D_202E(_202E_200C_206F_206A_200F_200C_206F_202E_200C_206D_202E_200C_206E_200D_206A_202C_202D_206E_206E_206D_200E_206C_200C_200B_202A_206D_202E_202C_200B_200E_206F_202A_200E_202D_202C_206F_200B_202A_200F_206E_202E(_202B_200B_206E_200D_206D_206F_202E_200E_200C_206F_202C_200D_200E_200E_206F_200C_200C_202A_206E_206E_202D_206E_206C_206A_200D_206A_206A_202C_206F_200F_206D_200E_202B_200C_202C_206A_200E_206D_206C_206F_202E(typeof(AssemblyModelLoader).TypeHandle)), 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(2114110650)); + } + } - public static Stream CommonRequiredVariables => typeof(AssemblyModelLoader).Assembly.GetManifestResourceStream("Questionable.Model.CommonRequiredVariables"); + public static Stream CommonRequiredVariables + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return _200B_200F_202A_206D_200C_206C_206E_200F_200E_206D_206F_206D_202A_202E_202A_200D_200F_206B_200C_206B_206E_206D_206B_200D_202D_202A_200E_202A_206C_200C_202B_202C_200B_200C_202E_202B_202C_206D_200C_200D_202E(_202E_200C_206F_206A_200F_200C_206F_202E_200C_206D_202E_200C_206E_200D_206A_202C_202D_206E_206E_206D_200E_206C_200C_200B_202A_206D_202E_202C_200B_200E_206F_202A_200E_202D_202C_206F_200B_202A_200F_206E_202E(_202B_200B_206E_200D_206D_206F_202E_200E_200C_206F_202C_200D_200E_200E_206F_200C_200C_202A_206E_206E_202D_206E_206C_206A_200D_206A_206A_202C_206F_200F_206D_200E_202B_200C_202C_206A_200E_206D_206C_206F_202E(typeof(AssemblyModelLoader).TypeHandle)), global::_003CModule_003E._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(1657928596)); + } + } - public static Stream CommonVector3 => typeof(AssemblyModelLoader).Assembly.GetManifestResourceStream("Questionable.Model.CommonVector3"); + public static Stream CommonVector3 + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return _200B_200F_202A_206D_200C_206C_206E_200F_200E_206D_206F_206D_202A_202E_202A_200D_200F_206B_200C_206B_206E_206D_206B_200D_202D_202A_200E_202A_206C_200C_202B_202C_200B_200C_202E_202B_202C_206D_200C_200D_202E(_202E_200C_206F_206A_200F_200C_206F_202E_200C_206D_202E_200C_206E_200D_206A_202C_202D_206E_206E_206D_200E_206C_200C_200B_202A_206D_202E_202C_200B_200E_206F_202A_200E_202D_202C_206F_200B_202A_200F_206E_202E(_202B_200B_206E_200D_206D_206F_202E_200E_200C_206F_202C_200D_200E_200E_206F_200C_200C_202A_206E_206E_202D_206E_206C_206A_200D_206A_206A_202C_206F_200F_206D_200E_202B_200C_202C_206A_200E_206D_206C_206F_202E(typeof(AssemblyModelLoader).TypeHandle)), global::_003CModule_003E._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(-1903633621)); + } + } + + static Stream _206C_206C_202A_202E_206D_202B_200E_200B_202C_200D_202B_202A_200D_206E_206A_206F_206F_200C_206A_206B_206E_206C_206D_206F_200F_200B_200B_202B_200C_202E_206C_200E_206F_202D_206A_206C_200F_200C_202B_206E_202E() + { + return ModelResources.CommonAetheryte; + } + + static Stream _202A_202E_206E_202E_202E_206D_202C_200F_202C_200D_206B_206F_206F_200E_206A_200F_206D_206C_206E_202D_200D_202A_202B_202E_200D_206B_200E_206F_200F_202A_206A_206F_206F_206D_206E_206A_206C_206E_200C_206B_202E() + { + return ModelResources.CommonAethernetShard; + } + + static Type _202B_200B_206E_200D_206D_206F_202E_200E_200C_206F_202C_200D_200E_200E_206F_200C_200C_202A_206E_206E_202D_206E_206C_206A_200D_206A_206A_202C_206F_200F_206D_200E_202B_200C_202C_206A_200E_206D_206C_206F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static Assembly _202E_200C_206F_206A_200F_200C_206F_202E_200C_206D_202E_200C_206E_200D_206A_202C_202D_206E_206E_206D_200E_206C_200C_200B_202A_206D_202E_202C_200B_200E_206F_202A_200E_202D_202C_206F_200B_202A_200F_206E_202E(Type P_0) + { + return P_0.Assembly; + } + + static Stream _200B_200F_202A_206D_200C_206C_206E_200F_200E_206D_206F_206D_202A_202E_202A_200D_200F_206B_200C_206B_206E_206D_206B_200D_202D_202A_200E_202A_206C_200C_202B_202C_200B_200C_202E_202B_202C_206D_200C_200D_202E(Assembly P_0, string P_1) + { + return P_0.GetManifestResourceStream(P_1); + } } diff --git a/Questionable.Model/Questionable.Model/ExpansionData.cs b/Questionable.Model/Questionable.Model/ExpansionData.cs index af90eb8b..2bf6f2a0 100644 --- a/Questionable.Model/Questionable.Model/ExpansionData.cs +++ b/Questionable.Model/Questionable.Model/ExpansionData.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using System.Numerics; +using System.Runtime.CompilerServices; namespace Questionable.Model; @@ -9,64 +10,227 @@ public static class ExpansionData { { EExpansionVersion.ARealmReborn, - "2.x - A Realm Reborn" + global::_003CModule_003E._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(1600629017) }, { EExpansionVersion.Heavensward, - "3.x - Heavensward" + 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(2010245113) }, { EExpansionVersion.Stormblood, - "4.x - Stormblood" + global::_003CModule_003E._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(-1214854245) }, { EExpansionVersion.Shadowbringers, - "5.x - Shadowbringers" + 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(501979102) }, { EExpansionVersion.Endwalker, - "6.x - Endwalker" + global::_003CModule_003E._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(355179699) }, { EExpansionVersion.Dawntrail, - "7.x - Dawntrail" + global::_003CModule_003E._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(1427994859) } }; + [MethodImpl(MethodImplOptions.NoInlining)] public static string ToFriendlyString(this EExpansionVersion expansionVersion) { - if (expansionVersion == EExpansionVersion.ARealmReborn) + int num = ((expansionVersion != EExpansionVersion.ARealmReborn) ? 2495585 : 2495586); + string result = default(string); + while (true) { - return "A Realm Reborn"; + int num2 = num; + int num3 = 2495585; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return result; + case 0: + result = expansionVersion.ToString(); + num = 2495584; + break; + case 3: + result = global::_003CModule_003E._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(-2063217203); + num = 2495584; + break; + case 2: + num = 2495586; + break; + } } - return expansionVersion.ToString(); } + [MethodImpl(MethodImplOptions.NoInlining)] public static string ToAbbreviation(this EExpansionVersion expansionVersion) { - return expansionVersion switch + int num; + string result = default(string); + switch (expansionVersion) { - EExpansionVersion.ARealmReborn => "ARR", - EExpansionVersion.Heavensward => "HW", - EExpansionVersion.Stormblood => "SB", - EExpansionVersion.Shadowbringers => "ShB", - EExpansionVersion.Endwalker => "EW", - EExpansionVersion.Dawntrail => "DT", - _ => "?", - }; + default: + num = -1514715948; + goto IL_0029; + case EExpansionVersion.Stormblood: + result = global::_003CModule_003E._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(1303815993); + num = -1514715940; + goto IL_0029; + case EExpansionVersion.Heavensward: + goto IL_008b; + case EExpansionVersion.Shadowbringers: + goto IL_00a1; + case EExpansionVersion.Dawntrail: + goto IL_00b7; + case EExpansionVersion.ARealmReborn: + goto IL_00cd; + case EExpansionVersion.Endwalker: + goto IL_00f9; + IL_0029: + while (true) + { + int num2 = num; + int num3 = -1514715947; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = -1514715948; + break; + case 8: + goto end_IL_0029; + case 5: + goto IL_008b; + case 3: + goto IL_00a1; + case 0: + goto IL_00b7; + case 6: + goto IL_00cd; + case 7: + result = 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(1947262513); + num = -1514715940; + break; + case 2: + goto IL_00f9; + case 1: + num = -1514715950; + break; + case 9: + return result; + } + continue; + end_IL_0029: + break; + } + goto case EExpansionVersion.Stormblood; + IL_00f9: + result = global::_003CModule_003E._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(1716845541); + num = -1514715940; + goto IL_0029; + IL_00cd: + result = global::_003CModule_003E._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(-1752062659); + num = -1514715940; + goto IL_0029; + IL_00b7: + result = global::_003CModule_003E._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(-1876241525); + num = -1514715940; + goto IL_0029; + IL_00a1: + result = global::_003CModule_003E._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(-637152881); + num = -1514715940; + goto IL_0029; + IL_008b: + result = global::_003CModule_003E._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(-1050182429); + num = -1514715940; + goto IL_0029; + } } public static Vector4 GetExpansionColor(this EExpansionVersion expansionVersion) { - return expansionVersion switch + int num; + Vector4 result = default(Vector4); + switch (expansionVersion) { - EExpansionVersion.ARealmReborn => new Vector4(0.7f, 0.7f, 0.7f, 1f), - EExpansionVersion.Heavensward => new Vector4(0.4f, 0.6f, 0.9f, 1f), - EExpansionVersion.Stormblood => new Vector4(0.9f, 0.3f, 0.3f, 1f), - EExpansionVersion.Shadowbringers => new Vector4(0.5f, 0.4f, 0.7f, 1f), - EExpansionVersion.Endwalker => new Vector4(0.8f, 0.8f, 0.4f, 1f), - EExpansionVersion.Dawntrail => new Vector4(0.3f, 0.8f, 0.5f, 1f), - _ => new Vector4(0.5f, 0.5f, 0.5f, 1f), - }; + default: + num = 976463858; + goto IL_0029; + case EExpansionVersion.ARealmReborn: + result = new Vector4(0.7f, 0.7f, 0.7f, 1f); + num = 976463863; + goto IL_0029; + case EExpansionVersion.Endwalker: + goto IL_00b4; + case EExpansionVersion.Stormblood: + goto IL_00d9; + case EExpansionVersion.Shadowbringers: + goto IL_0109; + case EExpansionVersion.Dawntrail: + goto IL_013b; + case EExpansionVersion.Heavensward: + goto IL_0160; + IL_0029: + while (true) + { + int num2 = num; + int num3 = 976463859; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 9: + result = new Vector4(0.5f, 0.5f, 0.5f, 1f); + num = 976463863; + break; + case 5: + goto end_IL_0029; + case 3: + goto IL_00b4; + case 7: + goto IL_00d9; + case 8: + num = 976463858; + break; + case 2: + goto IL_0109; + case 1: + num = 976463866; + break; + case 4: + return result; + case 6: + goto IL_013b; + case 0: + goto IL_0160; + } + continue; + end_IL_0029: + break; + } + goto case EExpansionVersion.ARealmReborn; + IL_0160: + result = new Vector4(0.4f, 0.6f, 0.9f, 1f); + num = 976463863; + goto IL_0029; + IL_013b: + result = new Vector4(0.3f, 0.8f, 0.5f, 1f); + num = 976463863; + goto IL_0029; + IL_0109: + result = new Vector4(0.5f, 0.4f, 0.7f, 1f); + num = 976463863; + goto IL_0029; + IL_00d9: + result = new Vector4(0.9f, 0.3f, 0.3f, 1f); + num = 976463863; + goto IL_0029; + IL_00b4: + result = new Vector4(0.8f, 0.8f, 0.4f, 1f); + num = 976463863; + goto IL_0029; + } } } diff --git a/Questionable.Model/Questionable.Model/GatheringMath.cs b/Questionable.Model/Questionable.Model/GatheringMath.cs index 48263341..78a9d05f 100644 --- a/Questionable.Model/Questionable.Model/GatheringMath.cs +++ b/Questionable.Model/Questionable.Model/GatheringMath.cs @@ -6,20 +6,70 @@ namespace Questionable.Model; public static class GatheringMath { - private static readonly Random Rng = new Random(); + private static readonly Random Rng = _206D_206A_202A_200D_202D_206B_200B_206B_200E_202E_200C_206F_202E_206A_200E_206C_202C_206A_202E_206A_200C_206A_202B_200B_200E_206E_206A_202A_200B_200B_202B_202D_200C_206C_200C_202E_206C_200D_200C_202A_202E(); public static (Vector3, int, float) CalculateLandingLocation(GatheringLocation location) { - int num = ((!location.IsCone()) ? Rng.Next(0, 360) : Rng.Next(location.MinimumAngle.GetValueOrDefault(), location.MaximumAngle.GetValueOrDefault())); - float num2 = (float)Rng.Next((int)(location.CalculateMinimumDistance() * 100f), (int)(location.CalculateMaximumDistance() * 100f)) / 100f; - return (CalculateLandingLocation(location.Position, num, num2), num, num2); + int num = ((!location.IsCone()) ? 106991975 : 106991972); + int num6 = default(int); + while (true) + { + int num2 = num; + int num3 = 106991973; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 106991972; + break; + case 1: + num6 = _202C_206E_202B_200E_202C_206C_200F_200D_200F_200D_200F_206D_202A_206F_200E_200E_200B_206F_202D_200E_206F_206B_206A_202A_206D_206D_206F_200B_202D_200B_206B_202E_200B_206D_200F_202A_202E_206E_206A_200F_202E(Rng, location.MinimumAngle.GetValueOrDefault(), location.MaximumAngle.GetValueOrDefault()); + num = 106991973; + break; + case 2: + num6 = _202C_206E_202B_200E_202C_206C_200F_200D_200F_200D_200F_206D_202A_206F_200E_200E_200B_206F_202D_200E_206F_206B_206A_202A_206D_206D_206F_200B_202D_200B_206B_202E_200B_206D_200F_202A_202E_206E_206A_200F_202E(Rng, 0, 360); + num = 106991973; + break; + case 0: + { + float num5 = (float)_202C_206E_202B_200E_202C_206C_200F_200D_200F_200D_200F_206D_202A_206F_200E_200E_200B_206F_202D_200E_206F_206B_206A_202A_206D_206D_206F_200B_202D_200B_206B_202E_200B_206D_200F_202A_202E_206E_206A_200F_202E(Rng, (int)(location.CalculateMinimumDistance() * 100f), (int)(location.CalculateMaximumDistance() * 100f)) / 100f; + return (CalculateLandingLocation(location.Position, num6, num5), num6, num5); + } + } + } } public static Vector3 CalculateLandingLocation(GatheringLocation location, float angleScale, float rangeScale) { - int degrees = ((!location.IsCone()) ? ((int)(rangeScale * 360f)) : (location.MinimumAngle.GetValueOrDefault() + (int)(angleScale * (float)(location.MaximumAngle.GetValueOrDefault() - location.MinimumAngle.GetValueOrDefault())))); - float range = location.CalculateMinimumDistance() + rangeScale * (location.CalculateMaximumDistance() - location.CalculateMinimumDistance()); - return CalculateLandingLocation(location.Position, degrees, range); + int num = ((!location.IsCone()) ? (-2058900286) : (-2058900288)); + int degrees = default(int); + while (true) + { + int num2 = num; + int num3 = -2058900287; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -2058900288; + break; + case 0: + { + float range = location.CalculateMinimumDistance() + rangeScale * (location.CalculateMaximumDistance() - location.CalculateMinimumDistance()); + return CalculateLandingLocation(location.Position, degrees, range); + } + case 1: + degrees = location.MinimumAngle.GetValueOrDefault() + (int)(angleScale * (float)(location.MaximumAngle.GetValueOrDefault() - location.MinimumAngle.GetValueOrDefault())); + num = -2058900287; + break; + case 3: + degrees = (int)(rangeScale * 360f); + num = -2058900287; + break; + } + } } private static Vector3 CalculateLandingLocation(Vector3 position, int degrees, float range) @@ -27,9 +77,29 @@ public static class GatheringMath float num = 0f - (float)((double)degrees * Math.PI / 180.0); return new Vector3 { - X = position.X + range * (float)Math.Sin(num), + X = position.X + range * (float)_206E_200D_200F_200E_206A_200F_206C_206B_206B_206E_206C_200D_206F_206F_206E_200B_200D_200E_206E_202D_200B_200D_200D_200D_206A_202A_206D_206C_206B_200E_200E_200C_200B_206F_200B_206B_206B_206C_206E_202E_202E((double)num), Y = position.Y, - Z = position.Z + range * (float)Math.Cos(num) + Z = position.Z + range * (float)_202D_206F_206A_206E_206C_206B_200B_202C_206A_206E_206F_202A_202A_202E_206C_202D_202A_200D_202E_206B_200D_200C_200C_200F_200E_206C_202E_200E_200C_202B_206A_200B_206B_200E_200E_202E_202B_202D_200B_206C_202E((double)num) }; } + + static int _202C_206E_202B_200E_202C_206C_200F_200D_200F_200D_200F_206D_202A_206F_200E_200E_200B_206F_202D_200E_206F_206B_206A_202A_206D_206D_206F_200B_202D_200B_206B_202E_200B_206D_200F_202A_202E_206E_206A_200F_202E(Random P_0, int P_1, int P_2) + { + return P_0.Next(P_1, P_2); + } + + static double _206E_200D_200F_200E_206A_200F_206C_206B_206B_206E_206C_200D_206F_206F_206E_200B_200D_200E_206E_202D_200B_200D_200D_200D_206A_202A_206D_206C_206B_200E_200E_200C_200B_206F_200B_206B_206B_206C_206E_202E_202E(double P_0) + { + return Math.Sin(P_0); + } + + static double _202D_206F_206A_206E_206C_206B_200B_202C_206A_206E_206F_202A_202A_202E_206C_202D_202A_200D_202E_206B_200D_200C_200C_200F_200E_206C_202E_200E_200C_202B_206A_200B_206B_200E_200E_202E_202B_202D_200B_206C_202E(double P_0) + { + return Math.Cos(P_0); + } + + static Random _206D_206A_202A_200D_202D_206B_200B_206B_200E_202E_200C_206F_202E_206A_200E_206C_202C_206A_202E_206A_200C_206A_202B_200B_200E_206E_206A_202A_200B_200B_202B_202D_200C_206C_200C_202E_206C_200D_200C_202A_202E() + { + return new Random(); + } } diff --git a/Questionable.Model/Questionable.Model/LandingZoneMath.cs b/Questionable.Model/Questionable.Model/LandingZoneMath.cs index dae6e553..aad86a42 100644 --- a/Questionable.Model/Questionable.Model/LandingZoneMath.cs +++ b/Questionable.Model/Questionable.Model/LandingZoneMath.cs @@ -1,164 +1,438 @@ using System; using System.Collections.Generic; using System.Numerics; +using System.Runtime.CompilerServices; using Questionable.Model.Questing; namespace Questionable.Model; public static class LandingZoneMath { - private static readonly Random Rng = new Random(); + private static readonly Random Rng = _200C_202E_206B_200E_200F_202B_200F_202E_206E_206F_200C_200D_200F_200C_206E_202E_200C_200C_200E_202E_202B_206E_202B_206C_200E_206C_206B_202B_202B_202B_206E_200C_202A_202D_202B_206F_202E_200E_206A_206A_202E(); + [MethodImpl(MethodImplOptions.NoInlining)] public static Vector3 CalculateLandingLocation(IReadOnlyList zones) { - if (zones.Count == 0) + int num = ((zones.Count != 0) ? 2112702001 : 2112702014); + float num12 = default(float); + float num9 = default(float); + float num11 = default(float); + int num7 = default(int); + int num8 = default(int); + Span span = default(Span); + while (true) { - 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) + int num2 = num; + int num3 = 2112702011; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - return RandomPointInConvexPolygon(zones[j].Vertices); + case 3: + num12 = (float)(_206A_202D_206C_206F_200B_202B_206A_206C_200C_206A_200E_206B_200F_202A_206E_200E_200D_206A_202A_202A_200B_206B_200D_200C_200F_200F_206A_200D_206A_206D_206C_206C_200F_206A_202D_206B_206A_206A_200D_200F_202E(Rng) * (double)num9); + num11 = 0f; + num7 = 0; + num = 2112702009; + break; + case 6: + return RandomPointInConvexPolygon(zones[zones.Count - 1].Vertices); + case 10: + num = ((zones.Count != 1) ? 2112702011 : 2112702007); + break; + case 7: + num = ((num8 < zones.Count) ? 2112702000 : 2112702008); + break; + case 1: + { + int num13 = num7; + num3 = 1; + num4 = num13; + num7 = (num4 | num3) + (num4 & num3); + num = 2112702009; + break; + } + case 8: + num11 += span[num7]; + num = ((!(num12 <= num11)) ? 2112702010 : 2112702015); + break; + case 12: + return RandomPointInConvexPolygon(zones[0].Vertices); + case 9: + num = 2112702014; + break; + case 0: + num9 = 0f; + span = stackalloc float[zones.Count]; + num8 = 0; + num = 2112702012; + break; + case 11: + { + span[num8] = CalculatePolygonArea(zones[num8].Vertices); + num9 += span[num8]; + int num10 = num8; + num3 = 1; + num4 = num10; + num8 = (num4 | num3) + (num4 & num3); + num = 2112702012; + break; + } + case 4: + return RandomPointInConvexPolygon(zones[num7].Vertices); + case 5: + throw _202B_206B_202C_200B_206B_206A_202B_200E_200C_200D_202B_202D_202B_200B_202D_202D_200B_202C_206F_206F_200B_200D_202E_206E_200D_200B_200C_202C_202D_206D_200D_202A_200F_206E_206E_206A_200F_200F_202A_202B_202E(global::_003CModule_003E._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(1973710914), global::_003CModule_003E._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(-187426989)); + case 2: + num = ((num7 < zones.Count) ? 2112702003 : 2112702013); + break; } } - return RandomPointInConvexPolygon(zones[zones.Count - 1].Vertices); } + [MethodImpl(MethodImplOptions.NoInlining)] public static Vector3 RandomPointInConvexPolygon(IReadOnlyList vertices) { - if (vertices.Count < 3) + int num = ((vertices.Count >= 3) ? 1769041742 : 1769041734); + int num8 = default(int); + float num7 = default(float); + Span span = default(Span); + float num5 = default(float); + int num9 = default(int); + float num6 = default(float); + int num10 = default(int); + while (true) { - 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) + int num2 = num; + int num3 = 1769041740; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - return RandomPointInTriangle(vertices[0], vertices[j + 1], vertices[j + 2]); + case 12: + { + Vector3 a2 = vertices[0]; + int num19 = num8; + num3 = 1; + num4 = num19; + Vector3 b2 = vertices[(num4 | num3) + (num4 & num3)]; + int num20 = num8; + num3 = 2; + num4 = num20; + return RandomPointInTriangle(a2, b2, vertices[(num4 | num3) + (num4 & num3)]); + } + case 0: + num7 += span[num8]; + num = ((!(num5 <= num7)) ? 1769041733 : 1769041728); + break; + case 4: + return RandomPointInTriangle(vertices[0], vertices[vertices.Count - 2], vertices[vertices.Count - 1]); + case 9: + { + int num16 = num8; + num3 = 1; + num4 = num16; + int num17 = num4 ^ num3; + int num18 = num4 & num3; + num8 = num17 + (num18 + num18); + num = 1769041739; + break; + } + case 11: + { + ref float reference = ref span[num9]; + Vector3 a = vertices[0]; + int num11 = num9; + num3 = 1; + num4 = num11; + Vector3 b = vertices[(num4 | num3) + (num4 & num3)]; + int num12 = num9; + num3 = 2; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + reference = TriangleAreaXZ(a, b, vertices[num13 + (num14 + num14)]); + num6 += span[num9]; + int num15 = num9; + num3 = 1; + num4 = num15; + num9 = (num4 | num3) + (num4 & num3); + num = 1769041743; + break; + } + case 8: + num = 1769041734; + break; + case 6: + num10 = vertices.Count - 2; + span = stackalloc float[num10]; + num6 = 0f; + num9 = 0; + num = 1769041743; + break; + case 7: + num = ((num8 < num10) ? 1769041740 : 1769041736); + break; + case 10: + throw _202B_206B_202C_200B_206B_206A_202B_200E_200C_200D_202B_202D_202B_200B_202D_202D_200B_202C_206F_206F_200B_200D_202E_206E_200D_200B_200C_202C_202D_206D_200D_202A_200F_206E_206E_206A_200F_200F_202A_202B_202E(global::_003CModule_003E._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(1325412476), global::_003CModule_003E._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(935263915)); + case 2: + num = ((vertices.Count != 3) ? 1769041738 : 1769041741); + break; + case 3: + num = ((num9 < num10) ? 1769041735 : 1769041737); + break; + case 5: + num5 = (float)(_206A_202D_206C_206F_200B_202B_206A_206C_200C_206A_200E_206B_200F_202A_206E_200E_200D_206A_202A_202A_200B_206B_200D_200C_200F_200F_206A_200D_206A_206D_206C_206C_200F_206A_202D_206B_206A_206A_200D_200F_202E(Rng) * (double)num6); + num7 = 0f; + num8 = 0; + num = 1769041739; + break; + case 1: + return RandomPointInTriangle(vertices[0], vertices[1], vertices[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) + float num = (float)_206A_202D_206C_206F_200B_202B_206A_206C_200C_206A_200E_206B_200F_202A_206E_200E_200D_206A_202A_202A_200B_206B_200D_200C_200F_200F_206A_200D_206A_206D_206C_206C_200F_206A_202D_206B_206A_206A_200D_200F_202E(Rng); + float num2 = (float)_206A_202D_206C_206F_200B_202B_206A_206C_200C_206A_200E_206B_200F_202A_206E_200E_200D_206A_202A_202A_200B_206B_200D_200C_200F_200F_206A_200D_206A_206D_206C_206C_200F_206A_202D_206B_206A_206A_200D_200F_202E(Rng); + int num3 = ((!(num + num2 > 1f)) ? (-918918961) : (-918918964)); + while (true) { - num = 1f - num; - num2 = 1f - num2; + int num4 = num3; + int num5 = -918918962; + int num6 = num4; + switch ((num6 | num5) - (num6 & num5)) + { + case 1: + return a + num * (b - a) + num2 * (c - a); + case 2: + num = 1f - num; + num2 = 1f - num2; + num3 = -918918961; + break; + case 0: + num3 = -918918964; + break; + } } - 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; + return _206E_200E_200C_206E_200B_200F_200D_200B_200F_206E_206D_206E_202E_200D_202D_202A_202E_202B_206B_206E_202D_200D_202D_206B_200F_200C_200C_202C_202E_200F_200E_206B_202E_206C_206C_202E_202D_206D_206C_206F_202E((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) + int num = ((vertices.Count >= 3) ? 1886131755 : 1886131757); + int num7 = default(int); + float num8 = default(float); + while (true) { - return 0f; + int num2 = num; + int num3 = 1886131758; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return _206E_200E_200C_206E_200B_200F_200D_200B_200F_206E_206D_206E_202E_200D_202D_202A_202E_202B_206B_206E_202D_200D_202D_206B_200F_200C_200C_202C_202E_200F_200E_206B_202E_206C_206C_202E_202D_206D_206C_206F_202E(num8) * 0.5f; + case 3: + return 0f; + case 1: + { + int num9 = num7; + num3 = 1; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + int index = (num10 + (num11 + num11)) % vertices.Count; + num8 += vertices[num7].X * vertices[index].Z; + num8 -= vertices[index].X * vertices[num7].Z; + int num12 = num7; + num3 = 1; + num4 = num12; + num7 = (num4 | num3) + (num4 & num3); + num = 1886131754; + break; + } + case 5: + num8 = 0f; + num7 = 0; + num = 1886131754; + break; + case 2: + num = 1886131757; + break; + case 4: + num = ((num7 < vertices.Count) ? 1886131759 : 1886131758); + break; + } } - 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) + int num = ((vertices.Count >= 3) ? (-1470216164) : (-1470216169)); + bool? flag = default(bool?); + bool flag2 = default(bool); + int num6 = default(int); + int count = default(int); + float num7 = default(float); + while (true) { - 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)) + int num2 = num; + int num3 = -1470216161; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - bool flag2 = num > 0f; - if (!flag.HasValue) - { - flag = flag2; - } - else if (flag != flag2) - { - return false; - } + case 5: + return flag.HasValue; + case 10: + return false; + case 6: + flag = flag2; + num = -1470216162; + break; + case 2: + num = ((flag == flag2) ? (-1470216162) : (-1470216171)); + break; + case 0: + num = ((num6 < count) ? (-1470216165) : (-1470216166)); + break; + case 8: + return false; + case 4: + { + Vector3 vector = vertices[num6]; + int num8 = num6; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + Vector3 vector2 = vertices[(num9 + (num10 + num10)) % count]; + int num11 = num6; + num3 = 2; + num4 = num11; + Vector3 vector3 = vertices[((num4 | num3) + (num4 & num3)) % count]; + num7 = (vector2.X - vector.X) * (vector3.Z - vector2.Z) - (vector2.Z - vector.Z) * (vector3.X - vector2.X); + num = ((_206E_200E_200C_206E_200B_200F_200D_200B_200F_206E_206D_206E_202E_200D_202D_202A_202E_202B_206B_206E_202D_200D_202D_206B_200F_200C_200C_202C_202E_200F_200E_206B_202E_206C_206C_202E_202D_206D_206C_206F_202E(num7) < 1E-06f) ? (-1470216162) : (-1470216168)); + break; + } + case 7: + flag2 = num7 > 0f; + num = (flag.HasValue ? (-1470216163) : (-1470216167)); + break; + case 9: + num = -1470216169; + break; + case 3: + flag = null; + count = vertices.Count; + num6 = 0; + num = -1470216161; + break; + case 1: + { + int num5 = num6; + num3 = 1; + num4 = num5; + num6 = (num4 | num3) + (num4 & num3); + num = -1470216161; + break; + } } } - return flag.HasValue; } public static bool IsPointInConvexPolygon(Vector2 point, IReadOnlyList vertices) { - if (vertices.Count < 3) + int num = ((vertices.Count >= 3) ? (-1183918555) : (-1183918551)); + int num5 = default(int); + int count = default(int); + float num9 = default(float); + bool? flag = default(bool?); + bool flag2 = default(bool); + while (true) { - 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)) + int num2 = num; + int num3 = -1183918557; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - bool flag2 = num > 0f; - if (!flag.HasValue) - { - flag = flag2; - } - else if (flag != flag2) - { - return false; - } + case 0: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = -1183918549; + break; + } + case 5: + return true; + case 3: + { + Vector3 vector = vertices[num5]; + int num10 = num5; + num3 = 1; + num4 = num10; + Vector3 vector2 = vertices[((num4 | num3) + (num4 & num3)) % count]; + num9 = (vector2.X - vector.X) * (point.Y - vector.Z) - (vector2.Z - vector.Z) * (point.X - vector.X); + num = ((_206E_200E_200C_206E_200B_200F_200D_200B_200F_206E_206D_206E_202E_200D_202D_202A_202E_202B_206B_206E_202D_200D_202D_206B_200F_200C_200C_202C_202E_200F_200E_206B_202E_206C_206C_202E_202D_206D_206C_206F_202E(num9) < 1E-06f) ? (-1183918557) : (-1183918553)); + break; + } + case 9: + num = -1183918551; + break; + case 2: + flag = flag2; + num = -1183918557; + break; + case 1: + num = ((flag == flag2) ? (-1183918557) : (-1183918556)); + break; + case 6: + flag = null; + count = vertices.Count; + num5 = 0; + num = -1183918549; + break; + case 7: + return false; + case 4: + flag2 = num9 > 0f; + num = (flag.HasValue ? (-1183918558) : (-1183918559)); + break; + case 8: + num = ((num5 < count) ? (-1183918560) : (-1183918554)); + break; + case 10: + return false; } } - return true; + } + + static ArgumentException _202B_206B_202C_200B_206B_206A_202B_200E_200C_200D_202B_202D_202B_200B_202D_202D_200B_202C_206F_206F_200B_200D_202E_206E_200D_200B_200C_202C_202D_206D_200D_202A_200F_206E_206E_206A_200F_200F_202A_202B_202E(string P_0, string P_1) + { + return new ArgumentException(P_0, P_1); + } + + static double _206A_202D_206C_206F_200B_202B_206A_206C_200C_206A_200E_206B_200F_202A_206E_200E_200D_206A_202A_202A_200B_206B_200D_200C_200F_200F_206A_200D_206A_206D_206C_206C_200F_206A_202D_206B_206A_206A_200D_200F_202E(Random P_0) + { + return P_0.NextDouble(); + } + + static float _206E_200E_200C_206E_200B_200F_200D_200B_200F_206E_206D_206E_202E_200D_202D_202A_202E_202B_206B_206E_202D_200D_202D_206B_200F_200C_200C_202C_202E_200F_200E_206B_202E_206C_206C_202E_202D_206D_206C_206F_202E(float P_0) + { + return MathF.Abs(P_0); + } + + static Random _200C_202E_206B_200E_200F_202B_200F_202E_206E_206F_200C_200D_200F_200C_206E_202E_200C_200C_200E_202E_202B_206E_202B_206C_200E_206C_206B_202B_202B_202B_206E_200C_202A_202D_202B_206F_202E_200E_206A_206A_202E() + { + return new Random(); } } diff --git a/Questionable/-----------------------------------------.cs b/Questionable/-----------------------------------------.cs new file mode 100644 index 00000000..cd65c5c3 --- /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 00000000..e036806a --- /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 00000000..e69de29b diff --git a/Questionable/--f__AnonymousType3.cs b/Questionable/--f__AnonymousType3.cs new file mode 100644 index 00000000..e69de29b diff --git a/Questionable/--f__AnonymousType4.cs b/Questionable/--f__AnonymousType4.cs new file mode 100644 index 00000000..e69de29b diff --git a/Questionable/--f__AnonymousType5.cs b/Questionable/--f__AnonymousType5.cs new file mode 100644 index 00000000..e69de29b diff --git a/Questionable/--f__AnonymousType6.cs b/Questionable/--f__AnonymousType6.cs new file mode 100644 index 00000000..e69de29b diff --git a/Questionable/--f__AnonymousType7.cs b/Questionable/--f__AnonymousType7.cs new file mode 100644 index 00000000..e69de29b diff --git a/Questionable/--z__ReadOnlyArray.cs b/Questionable/--z__ReadOnlyArray.cs index 840f5158..1329fbd1 100644 --- a/Questionable/--z__ReadOnlyArray.cs +++ b/Questionable/--z__ReadOnlyArray.cs @@ -20,7 +20,7 @@ internal sealed class _003C_003Ez__ReadOnlyArray : IEnumerable, ICollection, } set { - throw new NotSupportedException(); + throw _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E(); } } @@ -44,7 +44,7 @@ internal sealed class _003C_003Ez__ReadOnlyArray : IEnumerable, ICollection, } set { - throw new NotSupportedException(); + throw _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E(); } } @@ -55,47 +55,47 @@ internal sealed class _003C_003Ez__ReadOnlyArray : IEnumerable, ICollection, IEnumerator IEnumerable.GetEnumerator() { - return ((IEnumerable)_items).GetEnumerator(); + return _200F_206A_202D_200D_200C_200C_200C_202C_202B_202A_202E_200D_202B_202C_202E_202B_206D_202B_206F_200E_200B_200D_200E_200E_202A_202D_202A_206D_200C_202A_202B_206F_200B_202D_202E_202D_202E_202D_202C_200C_202E((IEnumerable)_items); } void ICollection.CopyTo(Array array, int index) { - ((ICollection)_items).CopyTo(array, index); + _206D_202E_200E_202A_202C_206B_200D_206B_206F_202A_206F_206E_206B_200C_200D_206F_200E_206D_206A_202B_202B_202D_206E_206B_200E_202D_200E_206A_206A_206F_206A_200D_200B_200C_200F_202B_200E_206E_200D_202E((ICollection)_items, array, index); } int IList.Add(object? value) { - throw new NotSupportedException(); + throw _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E(); } void IList.Clear() { - throw new NotSupportedException(); + throw _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E(); } bool IList.Contains(object? value) { - return ((IList)_items).Contains(value); + return _202D_206E_202B_200D_202B_206A_200B_200C_200C_206F_200C_200D_206F_202C_200E_200B_200B_202C_202E_200F_200E_202C_206E_200F_202B_200B_206E_200F_202E_202E_202D_206F_200E_200C_206C_206E_200D_202E_202E_200E_202E((IList)_items, value); } int IList.IndexOf(object? value) { - return ((IList)_items).IndexOf(value); + return _200B_202D_206E_202A_202E_200E_202A_200D_206D_206A_206C_200D_202A_202D_202C_202C_200F_206A_202E_206A_202D_200E_200F_206B_206B_200D_202C_202C_206D_206D_202A_200E_206A_200C_200E_206C_200C_206D_206E_202E((IList)_items, value); } void IList.Insert(int index, object? value) { - throw new NotSupportedException(); + throw _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E(); } void IList.Remove(object? value) { - throw new NotSupportedException(); + throw _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E(); } void IList.RemoveAt(int index) { - throw new NotSupportedException(); + throw _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E(); } IEnumerator IEnumerable.GetEnumerator() @@ -105,12 +105,12 @@ internal sealed class _003C_003Ez__ReadOnlyArray : IEnumerable, ICollection, void ICollection.Add(T item) { - throw new NotSupportedException(); + throw _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E(); } void ICollection.Clear() { - throw new NotSupportedException(); + throw _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E(); } bool ICollection.Contains(T item) @@ -125,7 +125,7 @@ internal sealed class _003C_003Ez__ReadOnlyArray : IEnumerable, ICollection, bool ICollection.Remove(T item) { - throw new NotSupportedException(); + throw _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E(); } int IList.IndexOf(T item) @@ -135,11 +135,36 @@ internal sealed class _003C_003Ez__ReadOnlyArray : IEnumerable, ICollection, void IList.Insert(int index, T item) { - throw new NotSupportedException(); + throw _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E(); } void IList.RemoveAt(int index) { - throw new NotSupportedException(); + throw _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E(); + } + + static IEnumerator _200F_206A_202D_200D_200C_200C_200C_202C_202B_202A_202E_200D_202B_202C_202E_202B_206D_202B_206F_200E_200B_200D_200E_200E_202A_202D_202A_206D_200C_202A_202B_206F_200B_202D_202E_202D_202E_202D_202C_200C_202E(IEnumerable P_0) + { + return P_0.GetEnumerator(); + } + + static void _206D_202E_200E_202A_202C_206B_200D_206B_206F_202A_206F_206E_206B_200C_200D_206F_200E_206D_206A_202B_202B_202D_206E_206B_200E_202D_200E_206A_206A_206F_206A_200D_200B_200C_200F_202B_200E_206E_200D_202E(ICollection P_0, Array P_1, int P_2) + { + P_0.CopyTo(P_1, P_2); + } + + static NotSupportedException _206D_202A_206A_202B_206A_206A_206B_206F_200F_206A_206E_206C_202C_200D_200B_202A_206E_200E_202A_200F_206E_200F_202D_200B_202D_202E_202D_206F_202B_206A_202A_206E_200C_200D_202A_206F_200C_202A_206D_206C_202E() + { + return new NotSupportedException(); + } + + static bool _202D_206E_202B_200D_202B_206A_200B_200C_200C_206F_200C_200D_206F_202C_200E_200B_200B_202C_202E_200F_200E_202C_206E_200F_202B_200B_206E_200F_202E_202E_202D_206F_200E_200C_206C_206E_200D_202E_202E_200E_202E(IList P_0, object P_1) + { + return P_0.Contains(P_1); + } + + static int _200B_202D_206E_202A_202E_200E_202A_200D_206D_206A_206C_200D_202A_202D_202C_202C_200F_206A_202E_206A_202D_200E_200F_206B_206B_200D_202C_202C_206D_206D_202A_200E_206A_200C_200E_206C_200C_206D_206E_202E(IList P_0, object P_1) + { + return P_0.IndexOf(P_1); } } diff --git a/Questionable/--z__ReadOnlyList.cs b/Questionable/--z__ReadOnlyList.cs index 3329bf4a..c043a745 100644 --- a/Questionable/--z__ReadOnlyList.cs +++ b/Questionable/--z__ReadOnlyList.cs @@ -20,7 +20,7 @@ internal sealed class _003C_003Ez__ReadOnlyList : IEnumerable, ICollection, I } set { - throw new NotSupportedException(); + throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E(); } } @@ -44,7 +44,7 @@ internal sealed class _003C_003Ez__ReadOnlyList : IEnumerable, ICollection, I } set { - throw new NotSupportedException(); + throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E(); } } @@ -55,47 +55,47 @@ internal sealed class _003C_003Ez__ReadOnlyList : IEnumerable, ICollection, I IEnumerator IEnumerable.GetEnumerator() { - return ((IEnumerable)_items).GetEnumerator(); + return _202B_202E_206D_206E_206E_206D_202D_206E_200F_202E_202A_200E_202D_206B_200F_206A_206F_202E_200C_200D_202C_200B_200F_202E_206B_206B_206D_200C_202D_206A_200F_200F_202D_202A_200C_200B_202A_200E_200C_206D_202E((IEnumerable)_items); } void ICollection.CopyTo(Array array, int index) { - ((ICollection)_items).CopyTo(array, index); + _200D_206E_206D_202E_202E_202B_206A_202A_202A_206A_206B_206C_200D_202C_206D_202E_202D_206A_200E_206E_206A_202D_200E_202C_200F_202E_202B_206D_206A_202B_200D_200E_202E_200F_206C_200F_206D_206B_200E_200D_202E((ICollection)_items, array, index); } int IList.Add(object? value) { - throw new NotSupportedException(); + throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E(); } void IList.Clear() { - throw new NotSupportedException(); + throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E(); } bool IList.Contains(object? value) { - return ((IList)_items).Contains(value); + return _202C_202B_200B_206E_206A_206C_200C_202D_206B_206B_202A_206D_206E_206D_200B_202A_200F_206E_202B_206B_206C_206D_206F_200D_202D_200D_202D_202A_200D_202B_202C_206A_206C_200D_206B_202C_202C_200E_202A_206F_202E((IList)_items, value); } int IList.IndexOf(object? value) { - return ((IList)_items).IndexOf(value); + return _202D_202E_202C_202E_200F_206F_200E_206D_202B_200F_206A_202D_202B_200E_200D_206D_206A_206F_202A_206E_206A_202A_206A_206A_206F_200F_202A_200E_200E_206E_206A_202A_206B_200F_202A_202C_202D_202B_206A_206C_202E((IList)_items, value); } void IList.Insert(int index, object? value) { - throw new NotSupportedException(); + throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E(); } void IList.Remove(object? value) { - throw new NotSupportedException(); + throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E(); } void IList.RemoveAt(int index) { - throw new NotSupportedException(); + throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E(); } IEnumerator IEnumerable.GetEnumerator() @@ -105,12 +105,12 @@ internal sealed class _003C_003Ez__ReadOnlyList : IEnumerable, ICollection, I void ICollection.Add(T item) { - throw new NotSupportedException(); + throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E(); } void ICollection.Clear() { - throw new NotSupportedException(); + throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E(); } bool ICollection.Contains(T item) @@ -125,7 +125,7 @@ internal sealed class _003C_003Ez__ReadOnlyList : IEnumerable, ICollection, I bool ICollection.Remove(T item) { - throw new NotSupportedException(); + throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E(); } int IList.IndexOf(T item) @@ -135,11 +135,36 @@ internal sealed class _003C_003Ez__ReadOnlyList : IEnumerable, ICollection, I void IList.Insert(int index, T item) { - throw new NotSupportedException(); + throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E(); } void IList.RemoveAt(int index) { - throw new NotSupportedException(); + throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E(); + } + + static IEnumerator _202B_202E_206D_206E_206E_206D_202D_206E_200F_202E_202A_200E_202D_206B_200F_206A_206F_202E_200C_200D_202C_200B_200F_202E_206B_206B_206D_200C_202D_206A_200F_200F_202D_202A_200C_200B_202A_200E_200C_206D_202E(IEnumerable P_0) + { + return P_0.GetEnumerator(); + } + + static void _200D_206E_206D_202E_202E_202B_206A_202A_202A_206A_206B_206C_200D_202C_206D_202E_202D_206A_200E_206E_206A_202D_200E_202C_200F_202E_202B_206D_206A_202B_200D_200E_202E_200F_206C_200F_206D_206B_200E_200D_202E(ICollection P_0, Array P_1, int P_2) + { + P_0.CopyTo(P_1, P_2); + } + + static NotSupportedException _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E() + { + return new NotSupportedException(); + } + + static bool _202C_202B_200B_206E_206A_206C_200C_202D_206B_206B_202A_206D_206E_206D_200B_202A_200F_206E_202B_206B_206C_206D_206F_200D_202D_200D_202D_202A_200D_202B_202C_206A_206C_200D_206B_202C_202C_200E_202A_206F_202E(IList P_0, object P_1) + { + return P_0.Contains(P_1); + } + + static int _202D_202E_202C_202E_200F_206F_200E_206D_202B_200F_206A_202D_202B_200E_200D_206D_206A_206F_202A_206E_206A_202A_206A_206A_206F_200F_202A_200E_200E_206E_206A_202A_206B_200F_202A_202C_202D_202B_206A_206C_202E(IList P_0, object P_1) + { + return P_0.IndexOf(P_1); } } diff --git a/Questionable/--z__ReadOnlySingleElementList.cs b/Questionable/--z__ReadOnlySingleElementList.cs index 5b224264..a33c2325 100644 --- a/Questionable/--z__ReadOnlySingleElementList.cs +++ b/Questionable/--z__ReadOnlySingleElementList.cs @@ -19,11 +19,27 @@ internal sealed class _003C_003Ez__ReadOnlySingleElementList : IEnumerable, I bool IEnumerator.MoveNext() { - if (!_moveNextCalled) + int num = (_moveNextCalled ? (-1358713628) : (-1358713625)); + while (true) { - return _moveNextCalled = true; + int num2 = num; + int num3 = -1358713626; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + return _moveNextCalled = true; + case 0: + goto IL_0055; + } + continue; + IL_0055: + num = -1358713625; } - return false; } void IEnumerator.Reset() @@ -46,15 +62,29 @@ internal sealed class _003C_003Ez__ReadOnlySingleElementList : IEnumerable, I { get { - if (index != 0) + int num = ((index == 0) ? 745258458 : 745258459); + while (true) { - throw new IndexOutOfRangeException(); + int num2 = num; + int num3 = 745258458; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0041; + case 0: + return _item; + case 1: + throw _202E_206A_206F_200B_200E_206C_206D_202E_202A_200E_200F_202A_202E_206A_200D_206D_206D_206B_206C_200F_206C_206C_202B_206D_206A_206B_202C_200C_206F_200C_206D_206A_202D_202B_206D_202C_206E_202D_200F_202B_202E(); + } + continue; + IL_0041: + num = 745258459; } - return _item; } set { - throw new NotSupportedException(); + throw _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E(); } } @@ -68,11 +98,25 @@ internal sealed class _003C_003Ez__ReadOnlySingleElementList : IEnumerable, I { get { - if (index != 0) + int num = ((index == 0) ? (-543192047) : (-543192046)); + while (true) { - throw new IndexOutOfRangeException(); + int num2 = num; + int num3 = -543192048; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0041; + case 1: + return _item; + case 2: + throw _202E_206A_206F_200B_200E_206C_206D_202E_202A_200E_200F_202A_202E_206A_200D_206D_206D_206B_206C_200F_206C_206C_202B_206D_206A_206B_202C_200C_206F_200C_206D_206A_202D_202B_206D_202C_206E_202D_200F_202B_202E(); + } + continue; + IL_0041: + num = -543192046; } - return _item; } } @@ -84,15 +128,31 @@ internal sealed class _003C_003Ez__ReadOnlySingleElementList : IEnumerable, I { get { - if (index != 0) + int num = ((index == 0) ? (-1389399719) : (-1389399720)); + while (true) { - throw new IndexOutOfRangeException(); + int num2 = num; + int num3 = -1389399719; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return _item; + case 1: + throw _202E_206A_206F_200B_200E_206C_206D_202E_202A_200E_200F_202A_202E_206A_200D_206D_206D_206B_206C_200F_206C_206C_202B_206D_206A_206B_202C_200C_206F_200C_206D_206A_202D_202B_206D_202C_206E_202D_200F_202B_202E(); + case 2: + goto IL_0050; + } + continue; + IL_0050: + num = -1389399720; } - return _item; } set { - throw new NotSupportedException(); + throw _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E(); } } @@ -108,17 +168,17 @@ internal sealed class _003C_003Ez__ReadOnlySingleElementList : IEnumerable, I void ICollection.CopyTo(Array array, int index) { - array.SetValue(_item, index); + _206B_206E_206A_202D_206E_202D_206F_202B_202C_200E_202E_202A_206C_206F_206F_206B_200C_200F_206D_202A_206A_202B_200C_202B_200E_206D_202A_200E_206A_206F_206F_200C_206A_202C_202B_200D_206A_200B_206B_202A_202E(array, (object)_item, index); } int IList.Add(object? value) { - throw new NotSupportedException(); + throw _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E(); } void IList.Clear() { - throw new NotSupportedException(); + throw _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E(); } bool IList.Contains(object? value) @@ -128,26 +188,42 @@ internal sealed class _003C_003Ez__ReadOnlySingleElementList : IEnumerable, I int IList.IndexOf(object? value) { - if (!EqualityComparer.Default.Equals(_item, (T)value)) + int num = (EqualityComparer.Default.Equals(_item, (T)value) ? 82767569 : 82767568); + while (true) { - return -1; + int num2 = num; + int num3 = 82767569; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0058; + case 0: + return 0; + case 1: + return -1; + } + continue; + IL_0058: + num = 82767568; } - return 0; } void IList.Insert(int index, object? value) { - throw new NotSupportedException(); + throw _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E(); } void IList.Remove(object? value) { - throw new NotSupportedException(); + throw _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E(); } void IList.RemoveAt(int index) { - throw new NotSupportedException(); + throw _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E(); } IEnumerator IEnumerable.GetEnumerator() @@ -157,12 +233,12 @@ internal sealed class _003C_003Ez__ReadOnlySingleElementList : IEnumerable, I void ICollection.Add(T item) { - throw new NotSupportedException(); + throw _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E(); } void ICollection.Clear() { - throw new NotSupportedException(); + throw _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E(); } bool ICollection.Contains(T item) @@ -177,25 +253,54 @@ internal sealed class _003C_003Ez__ReadOnlySingleElementList : IEnumerable, I bool ICollection.Remove(T item) { - throw new NotSupportedException(); + throw _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E(); } int IList.IndexOf(T item) { - if (!EqualityComparer.Default.Equals(_item, item)) + int num = (EqualityComparer.Default.Equals(_item, item) ? (-1404189620) : (-1404189617)); + while (true) { - return -1; + int num2 = num; + int num3 = -1404189618; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0051; + case 2: + return 0; + case 1: + return -1; + } + continue; + IL_0051: + num = -1404189617; } - return 0; } void IList.Insert(int index, T item) { - throw new NotSupportedException(); + throw _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E(); } void IList.RemoveAt(int index) { - throw new NotSupportedException(); + throw _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E(); + } + + static void _206B_206E_206A_202D_206E_202D_206F_202B_202C_200E_202E_202A_206C_206F_206F_206B_200C_200F_206D_202A_206A_202B_200C_202B_200E_206D_202A_200E_206A_206F_206F_200C_206A_202C_202B_200D_206A_200B_206B_202A_202E(Array P_0, object P_1, int P_2) + { + P_0.SetValue(P_1, P_2); + } + + static IndexOutOfRangeException _202E_206A_206F_200B_200E_206C_206D_202E_202A_200E_200F_202A_202E_206A_200D_206D_206D_206B_206C_200F_206C_206C_202B_206D_206A_206B_202C_200C_206F_200C_206D_206A_202D_202B_206D_202C_206E_202D_200F_202B_202E() + { + return new IndexOutOfRangeException(); + } + + static NotSupportedException _202B_202E_202D_206F_202D_202A_206E_200D_200D_206E_206B_200B_206D_206A_206C_202D_206A_202B_202C_202A_206B_206B_200E_200D_200E_206E_202E_206A_202E_200D_202E_202D_202A_206E_202C_206C_200D_206B_206C_202C_202E() + { + return new NotSupportedException(); } } diff --git a/Questionable/-Module-.cs b/Questionable/-Module-.cs new file mode 100644 index 00000000..06b5d3c1 --- /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 7aef226c..5996f354 100644 --- a/Questionable/Questionable.Controller.CombatModules/BossModModule.cs +++ b/Questionable/Questionable.Controller.CombatModules/BossModModule.cs @@ -1,6 +1,11 @@ using System; +using System.Runtime.CompilerServices; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Ipc.Exceptions; +using Dalamud.Plugin.Services; +using Lumina.Excel; +using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; using Questionable.External; @@ -14,61 +19,210 @@ 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) { - if (_configuration.General.CombatModule != Configuration.ECombatModule.BossMod) + int num = ((_configuration.General.CombatModule == Configuration.ECombatModule.BossMod) ? (-1465780808) : (-1465780807)); + while (true) { - return false; + int num2 = num; + int num3 = -1465780808; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return _bossModIpc.IsSupported(); + case 1: + return false; + case 2: + goto IL_005f; + } + continue; + IL_005f: + num = -1465780807; } - return _bossModIpc.IsSupported(); } + bool ICombatModule.CanHandleFight(CombatController.CombatData combatData) + { + //ILSpy generated this explicit interface implementation from .override directive in CanHandleFight + return this.CanHandleFight(combatData); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public bool Start(CombatController.CombatData combatData) { try { - _bossModIpc.SetPreset(BossModIpc.EPreset.Overworld); - return true; + _200F_202B_206D_200D_202A_206D_206B_200D_206F_206C_202D_202B_200E_202B_202A_200C_202C_206C_206B_206F_206A_202B_206E_206A_200F_202D_206A_200F_206E_200D_202E_202B_200D_202E_202C_202C_200B_200C_200F_206B_202E((ILogger)_logger, global::_003CModule_003E._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(460354770), new object[1] { combatData.SpawnType }); + int num = (_bossModIpc.EnableAi(BossModIpc.EPreset.Active) ? (-1132234490) : (-1132234488)); + byte? b = default(byte?); + bool flag = default(bool); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + while (true) + { + int num2 = num; + int num3 = -1132234496; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + { + byte valueOrDefault = b.GetValueOrDefault(); + num3 = 3; + num4 = valueOrDefault; + num = (((uint)(~(~num4 + num3)) > 1u) ? (-1132234489) : (-1132234494)); + break; + } + case 2: + flag = true; + num = -1132234493; + break; + case 1: + b = _200C_202E_206E_200C_206E_206E_202C_200F_200C_200F_200B_200B_200C_206A_202A_206C_206E_206C_206D_206D_202D_200F_202B_206C_200B_206B_206E_200F_200E_206A_202A_202C_200D_206D_202D_206F_206E_202A_206B_200E_202E((ICharacter)playerCharacter).ValueNullable?.Role; + num = ((!b.HasValue) ? (-1132234489) : (-1132234491)); + break; + case 3: + { + bool flag2 = flag; + ILogger logger = _logger; + string text = global::_003CModule_003E._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(305098006); + object[] obj = new object[2] { flag2, null }; + ClassJob? valueNullable = _200C_202E_206E_200C_206E_206E_202C_200F_200C_200F_200B_200B_200C_206A_202A_206C_206E_206C_206D_206D_202D_200F_202B_206C_200B_206B_206E_200F_200E_206A_202A_202C_200D_206D_202D_206F_206E_202A_206B_200E_202E((ICharacter)playerCharacter).ValueNullable; + byte? b2; + if (!valueNullable.HasValue) + { + b = null; + b2 = b; + } + else + { + b2 = valueNullable.GetValueOrDefault().Role; + } + obj[1] = b2; + _200F_202B_206D_200D_202A_206D_206B_200D_206F_206C_202D_202B_200E_202B_202A_200C_202C_206C_206B_206F_206A_202B_206E_206A_200F_202D_206A_200F_206E_200D_202E_202B_200D_202E_202C_202C_200B_200C_200F_206B_202E((ILogger)logger, text, obj); + _bossModIpc.SetRangeStrategy(BossModIpc.EPreset.Active, flag2); + num = -1132234492; + break; + } + case 6: + playerCharacter = _206F_206B_200B_206F_200D_206E_202C_206B_202D_200F_202D_202A_206D_206C_202E_200E_200D_200F_206B_206E_202A_206D_206F_200D_200F_200E_206A_200E_206B_206C_200D_200F_206F_206E_202E_202E_206F_206E_200E_202A_202E(_objectTable); + num = ((playerCharacter == null) ? (-1132234492) : (-1132234495)); + break; + case 8: + _200E_202D_202D_206F_206D_202D_206D_206A_200B_200D_206E_206A_206E_200B_200B_200C_206E_206E_206E_200D_202B_206A_202C_202E_206B_200D_206A_202C_200E_206D_202E_202C_202A_200F_200D_202C_202B_206F_202E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-651638394), Array.Empty()); + return false; + case 0: + num = -1132234488; + break; + case 7: + flag = false; + num = -1132234493; + break; + case 4: + return true; + } + } } - catch (IpcError exception) + catch (IpcError ipcError) { - _logger.LogWarning(exception, "Could not start combat"); + _206E_206C_202C_202E_200F_206E_206B_206D_202B_202E_202C_202A_200D_200B_206B_200F_202E_202C_202B_206B_200E_202D_200B_206D_200B_206B_200C_202E_206B_206D_206F_200E_200E_202D_200E_206E_206A_202C_202A_206C_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-1300221531), Array.Empty()); return false; } } + bool ICombatModule.Start(CombatController.CombatData combatData) + { + //ILSpy generated this explicit interface implementation from .override directive in Start + return this.Start(combatData); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public bool Stop() { try { - _bossModIpc.ClearPreset(); + _bossModIpc.DisableAi(); return true; } - catch (IpcError exception) + catch (IpcError ipcError) { - _logger.LogWarning(exception, "Could not turn off combat"); + _206E_206C_202C_202E_200F_206E_206B_206D_202B_202E_202C_202A_200D_200B_206B_200F_202E_202C_202B_206B_200E_202D_200B_206D_200B_206B_200C_202E_206B_206D_206F_200E_200E_202D_200E_206E_206A_202C_202A_206C_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-52047300), Array.Empty()); return false; } } + bool ICombatModule.Stop() + { + //ILSpy generated this explicit interface implementation from .override directive in Stop + return this.Stop(); + } + public void Update(IGameObject gameObject) { } + void ICombatModule.Update(IGameObject gameObject) + { + //ILSpy generated this explicit interface implementation from .override directive in Update + this.Update(gameObject); + } + public bool CanAttack(IBattleNpc target) { return true; } + bool ICombatModule.CanAttack(IBattleNpc target) + { + //ILSpy generated this explicit interface implementation from .override directive in CanAttack + return this.CanAttack(target); + } + public void Dispose() { Stop(); } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _200F_202B_206D_200D_202A_206D_206B_200D_206F_206C_202D_202B_200E_202B_202A_200C_202C_206C_206B_206F_206A_202B_206E_206A_200F_202D_206A_200F_206E_200D_202E_202B_200D_202E_202C_202C_200B_200C_200F_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _200E_202D_202D_206F_206D_202D_206D_206A_200B_200D_206E_206A_206E_200B_200B_200C_206E_206E_206E_200D_202B_206A_202C_202E_206B_200D_206A_202C_200E_206D_202E_202C_202A_200F_200D_202C_202B_206F_202E_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static IPlayerCharacter _206F_206B_200B_206F_200D_206E_202C_206B_202D_200F_202D_202A_206D_206C_202E_200E_200D_200F_206B_206E_202A_206D_206F_200D_200F_200E_206A_200E_206B_206C_200D_200F_206F_206E_202E_202E_206F_206E_200E_202A_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static RowRef _200C_202E_206E_200C_206E_206E_202C_200F_200C_200F_200B_200B_200C_206A_202A_206C_206E_206C_206D_206D_202D_200F_202B_206C_200B_206B_206E_200F_200E_206A_202A_202C_200D_206D_202D_206F_206E_202A_206B_200E_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static void _206E_206C_202C_202E_200F_206E_206B_206D_202B_202E_202C_202A_200D_200B_206B_200F_202E_202C_202B_206B_200E_202D_200B_206D_200B_206B_200C_202E_206B_206D_206F_200E_200E_202D_200E_206E_206A_202C_202A_206C_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } } diff --git a/Questionable/Questionable.Controller.CombatModules/ItemUseModule.cs b/Questionable/Questionable.Controller.CombatModules/ItemUseModule.cs index bdc48d66..41dc8e6f 100644 --- a/Questionable/Questionable.Controller.CombatModules/ItemUseModule.cs +++ b/Questionable/Questionable.Controller.CombatModules/ItemUseModule.cs @@ -1,6 +1,8 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Reflection; +using System.Runtime.CompilerServices; using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; @@ -15,6 +17,65 @@ namespace Questionable.Controller.CombatModules; internal sealed class ItemUseModule : ICombatModule { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass15_0 + { + public IGameObject nextTarget; + + internal bool _003CUpdate_003Eb__0(ComplexCombatData x) + { + int num = ((_200F_200D_202D_206C_200E_200D_206C_206D_206F_206F_206E_206F_202D_202D_200F_202E_202B_200B_202C_206D_202B_200B_200D_200D_206D_200D_200E_206B_206D_206D_202D_206C_202C_202E_206D_200E_200D_206A_206B_202D_202E(x) != _202D_206F_202C_206C_206B_200F_202A_200B_206A_200E_200D_200E_202B_202A_200B_202B_202D_202D_202D_200E_206F_206B_206E_202E_202B_206E_200C_206C_202E_200D_202E_206E_206E_200B_202A_206B_206B_200D_206A_206A_202E(nextTarget)) ? 1884617909 : 1884617907); + ICharacter character = default(ICharacter); + while (true) + { + int num2 = num; + int num3 = 1884617910; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return _200D_202C_200D_206D_200D_206D_202B_206C_202E_202A_202C_202B_206D_202D_206F_200E_202D_206E_200B_200F_202C_200D_206C_206C_200B_206E_202B_202B_202A_200E_200E_206B_202D_202B_202E_206B_202E_206B_206B_202B_202E(x) == _202C_202C_200B_206B_200C_206A_206F_206B_202C_206B_206D_200D_206A_202A_200D_206B_202D_206C_200C_200C_200B_206F_200C_206E_200B_200B_206D_206C_200E_206E_202A_206C_202C_206C_206D_200F_206A_202A_206F_202E(character); + case 6: + character = nextTarget as ICharacter; + num = ((character == null) ? 1884617910 : 1884617906); + break; + case 3: + return false; + case 0: + return false; + case 2: + num = 1884617907; + break; + case 1: + return true; + case 5: + num = ((!_200D_202C_200D_206D_200D_206D_202B_206C_202E_202A_202C_202B_206D_202D_206F_200E_202D_206E_200B_200F_202C_200D_206C_206C_200B_206E_202B_202B_202A_200E_200E_206B_202D_202B_202E_206B_202E_206B_206B_202B_202E(x).HasValue) ? 1884617911 : 1884617904); + break; + } + } + } + + static uint _200F_200D_202D_206C_200E_200D_206C_206D_206F_206F_206E_206F_202D_202D_200F_202E_202B_200B_202C_206D_202B_200B_200D_200D_206D_200D_200E_206B_206D_206D_202D_206C_202C_202E_206D_200E_200D_206A_206B_202D_202E(ComplexCombatData P_0) + { + return P_0.DataId; + } + + static uint _202D_206F_202C_206C_206B_200F_202A_200B_206A_200E_200D_200E_202B_202A_200B_202B_202D_202D_202D_200E_206F_206B_206E_202E_202B_206E_200C_206C_202E_200D_202E_206E_206E_200B_202A_206B_206B_200D_206A_206A_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static uint? _200D_202C_200D_206D_200D_206D_202B_206C_202E_202A_202C_202B_206D_202D_206F_200E_202D_206E_200B_200F_202C_200D_206C_206C_200B_206E_202B_202B_202A_200E_200E_206B_202D_202B_202E_206B_202E_206B_206B_202B_202E(ComplexCombatData P_0) + { + return P_0.NameId; + } + + static uint _202C_202C_200B_206B_200C_206A_206F_206B_202C_206B_206D_200D_206A_202A_200D_206B_202D_206C_200C_200C_200B_206F_200C_206E_200B_200B_206D_206C_200E_206E_202A_206C_202C_206C_206D_200F_206A_202A_206F_202E(ICharacter P_0) + { + return P_0.NameId; + } + } + private readonly IServiceProvider _serviceProvider; private readonly ICondition _condition; @@ -27,13 +88,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) { @@ -42,142 +103,364 @@ internal sealed class ItemUseModule : ICombatModule _logger = logger; } + [MethodImpl(MethodImplOptions.NoInlining)] public bool CanHandleFight(CombatController.CombatData combatData) { - if (combatData.CombatItemUse == null) + int num = ((combatData.CombatItemUse != null) ? (-969597141) : (-969597144)); + while (true) { - return false; + int num2 = num; + int num3 = -969597142; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_005a; + case 1: + { + _delegate = (from x in _serviceProvider.GetRequiredService>() + where !(x is ItemUseModule) + select x).FirstOrDefault((ICombatModule x) => x.CanHandleFight(combatData)); + ILogger logger = _logger; + string text = global::_003CModule_003E._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(-150894400); + object[] array = new object[1]; + ICombatModule? combatModule = _delegate; + array[0] = ((combatModule != null) ? _202C_206B_202B_206E_200B_206D_200F_206D_206F_200D_200B_206F_206E_202B_202E_200D_202D_206A_206B_200E_202A_206A_202B_202D_206E_206A_206C_202C_200B_200E_206E_206C_200E_206E_206A_206C_202C_202E_202A_202E_202E((MemberInfo)_202A_200C_206B_202C_206A_206B_202C_202B_206A_200C_206A_206B_206B_202B_202D_202B_202D_206B_206F_202D_206C_202D_206C_202E_202C_206D_200D_202C_200D_202B_200D_200E_200E_206F_202B_200E_206A_202A_206E_202C_202E((object)combatModule)) : null); + _202D_200C_200B_202A_200C_202C_206F_206E_206C_202D_200D_206A_200E_202D_206F_206B_200D_202E_202C_206F_200B_202B_206B_200D_206D_200B_206B_202A_202D_200F_206F_200D_206B_206D_206B_206D_206F_200D_202B_206A_202E((ILogger)logger, text, array); + return _delegate != null; + } + case 2: + return false; + } + continue; + IL_005a: + num = -969597144; } - _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); - return _delegate != null; } - public unsafe bool Start(CombatController.CombatData combatData) + bool ICombatModule.CanHandleFight(CombatController.CombatData combatData) { - if (_delegate.Start(combatData)) + //ILSpy generated this explicit interface implementation from .override directive in CanHandleFight + return this.CanHandleFight(combatData); + } + + public bool Start(CombatController.CombatData combatData) + { + int num = ((!_delegate.Start(combatData)) ? 109561954 : 109561955); + while (true) { - _combatData = combatData; - _isDoingRotation = true; - _continueAt = DateTime.Now; - if (_combatData?.CombatItemUse != null) + int num2 = num; + int num3 = 109561954; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - InventoryManager* ptr = InventoryManager.Instance(); - _lastKnownItemCount = ptr->GetInventoryItemCount(_combatData.CombatItemUse.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); + case 2: + goto IL_004e; + case 1: + _combatData = combatData; + _isDoingRotation = true; + _continueAt = _202E_206A_202A_200D_206D_206A_206A_202B_202E_206E_202D_206D_206E_200C_202D_202D_206C_200E_206C_202B_200D_206F_200B_202C_200D_200F_200F_206C_206D_206C_202A_200D_202E_206A_206E_202D_200F_200B_202A_206A_202E(); _itemUsePending = false; + return true; + case 0: + return false; } - return true; + continue; + IL_004e: + num = 109561955; } - return false; + } + + bool ICombatModule.Start(CombatController.CombatData combatData) + { + //ILSpy generated this explicit interface implementation from .override directive in Start + return this.Start(combatData); } public bool Stop() { - if (_isDoingRotation) + int num = ((!_isDoingRotation) ? 1494033930 : 1494033931); + while (true) { - _delegate.Stop(); - _isDoingRotation = false; - _combatData = null; - _delegate = null; - _continueAt = DateTime.Now; + int num2 = num; + int num3 = 1494033930; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1494033931; + break; + case 0: + return true; + case 1: + _delegate.Stop(); + _isDoingRotation = false; + _combatData = null; + _delegate = null; + _continueAt = _202E_206A_202A_200D_206D_206A_206A_202B_202E_206E_202D_206D_206E_200C_202D_202D_206C_200E_206C_202B_200D_206F_200B_202C_200D_200F_200F_206C_206D_206C_202A_200D_202E_206A_206E_202D_200F_200B_202A_206A_202E(); + num = 1494033930; + break; + } } - return true; } + bool ICombatModule.Stop() + { + //ILSpy generated this explicit interface implementation from .override directive in Stop + return this.Stop(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void Update(IGameObject nextTarget) { - if (_delegate == null || _continueAt > DateTime.Now) + int num = ((_delegate != null) ? (-1423296184) : (-1423296167)); + long num7 = default(long); + int inventoryItemCount = default(int); + while (true) { - return; - } - if (_combatData?.CombatItemUse == null) - { - _delegate.Update(nextTarget); - } - else if (_combatData.KillEnemyDataIds.Contains(nextTarget.BaseId) || _combatData.ComplexCombatDatas.Any((ComplexCombatData x) => x.DataId == nextTarget.BaseId && (!x.NameId.HasValue || (nextTarget is ICharacter character && x.NameId == character.NameId)))) - { - if (_isDoingRotation) - { - int inventoryItemCount = InventoryManager.Instance()->GetInventoryItemCount(_combatData.CombatItemUse.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); - if (_itemUsePending) - { - if (DateTime.Now < _itemUsePendingUntil) - { - _logger.LogDebug("Item use pending; ignoring temporary inventory count={Count}", inventoryItemCount); - } - else - { - _itemUsePending = false; - } - } - if (!_itemUsePending && inventoryItemCount == 0) - { - _isDoingRotation = false; - _delegate.Stop(); - return; - } - _lastKnownItemCount = inventoryItemCount; - if (ShouldUseItem(nextTarget)) - { - _itemUsePending = true; - _itemUsePendingUntil = DateTime.Now.AddSeconds(3.0); - AgentInventoryContext.Instance()->UseItem(_combatData.CombatItemUse.ItemId, InventoryType.Invalid, 0u, 0); - _continueAt = DateTime.Now.AddSeconds(2.0); - } - else - { - _delegate.Update(nextTarget); - } - } - else if (_condition[ConditionFlag.Casting]) - { - DateTime dateTime = DateTime.Now.AddSeconds(0.5); - if (dateTime > _continueAt) - { - _continueAt = dateTime; - } - } - else + int num2 = num; + int num3 = -1423296181; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 17: + _delegate.Update(nextTarget); + return; + case 6: + num = ((!ShouldUseItem(nextTarget)) ? (-1423296182) : (-1423296189)); + break; + case 11: + num = ((_202E_206A_202A_200D_206D_206A_206A_202B_202E_206E_202D_206D_206E_200C_202D_202D_206C_200E_206C_202B_200D_206F_200B_202C_200D_200F_200F_206C_206D_206C_202A_200D_202E_206A_206E_202D_200F_200B_202A_206A_202E() >= _itemUsePendingUntil) ? (-1423296180) : (-1423296161)); + break; + case 2: + num = ((!_isDoingRotation) ? (-1423296174) : (-1423296162)); + break; + case 23: + num = ((!_isDoingRotation) ? (-1423296168) : (-1423296177)); + break; + case 5: + _continueAt = num7; + return; + case 22: + num = ((_combatData?.CombatItemUse != null) ? (-1423296190) : (-1423296166)); + break; + case 10: _isDoingRotation = true; _delegate.Start(_combatData); + return; + case 16: + _delegate.Update(nextTarget); + return; + case 19: + num = ((!_200D_200F_202C_206F_202E_202C_206A_202D_206E_206A_206A_206E_200B_202D_206E_202B_202C_206E_202B_206D_206C_200E_202E_200F_206C_202C_200B_202E_206F_200E_206E_200C_202B_202A_200E_200C_206B_200C_206F_206F_202E(_condition, ConditionFlag.Casting)) ? (-1423296191) : (-1423296186)); + break; + case 24: + num = -1423296167; + break; + case 3: + num = ((_continueAt <= _202E_206A_202A_200D_206D_206A_206A_202B_202E_206E_202D_206D_206E_200C_202D_202D_206C_200E_206C_202B_200D_206F_200B_202C_200D_200F_200F_206C_206D_206C_202A_200D_202E_206A_206E_202D_200F_200B_202A_206A_202E()) ? (-1423296163) : (-1423296188)); + break; + case 25: + return; + case 14: + num = ((inventoryItemCount != 0) ? (-1423296179) : (-1423296165)); + break; + case 1: + _delegate.Update(nextTarget); + return; + case 21: + _delegate.Update(nextTarget); + num = -1423296174; + break; + case 13: + num7 = _202E_206A_202A_200D_206D_206A_206A_202B_202E_206E_202D_206D_206E_200C_202D_202D_206C_200E_206C_202B_200D_206F_200B_202C_200D_200F_200F_206C_206D_206C_202A_200D_202E_206A_206E_202D_200F_200B_202A_206A_202E() + 500; + num = ((num7 <= _continueAt) ? (-1423296174) : (-1423296178)); + break; + case 12: + num = (_itemUsePending ? (-1423296179) : (-1423296187)); + break; + case 0: + num = ((!_combatData.ComplexCombatDatas.Any(delegate(ComplexCombatData x) + { + int num8 = ((_003C_003Ec__DisplayClass15_0._200F_200D_202D_206C_200E_200D_206C_206D_206F_206F_206E_206F_202D_202D_200F_202E_202B_200B_202C_206D_202B_200B_200D_200D_206D_200D_200E_206B_206D_206D_202D_206C_202C_202E_206D_200E_200D_206A_206B_202D_202E(x) != _003C_003Ec__DisplayClass15_0._202D_206F_202C_206C_206B_200F_202A_200B_206A_200E_200D_200E_202B_202A_200B_202B_202D_202D_202D_200E_206F_206B_206E_202E_202B_206E_200C_206C_202E_200D_202E_206E_206E_200B_202A_206B_206B_200D_206A_206A_202E(nextTarget)) ? 1884617909 : 1884617907); + ICharacter character = default(ICharacter); + while (true) + { + int num9 = num8; + int num10 = 1884617910; + int num11 = num9; + switch ((num11 | num10) - (num11 & num10)) + { + case 4: + return _003C_003Ec__DisplayClass15_0._200D_202C_200D_206D_200D_206D_202B_206C_202E_202A_202C_202B_206D_202D_206F_200E_202D_206E_200B_200F_202C_200D_206C_206C_200B_206E_202B_202B_202A_200E_200E_206B_202D_202B_202E_206B_202E_206B_206B_202B_202E(x) == _003C_003Ec__DisplayClass15_0._202C_202C_200B_206B_200C_206A_206F_206B_202C_206B_206D_200D_206A_202A_200D_206B_202D_206C_200C_200C_200B_206F_200C_206E_200B_200B_206D_206C_200E_206E_202A_206C_202C_206C_206D_200F_206A_202A_206F_202E(character); + case 6: + character = nextTarget as ICharacter; + num8 = ((character == null) ? 1884617910 : 1884617906); + break; + case 3: + return false; + case 0: + return false; + case 2: + num8 = 1884617907; + break; + case 1: + return true; + case 5: + num8 = ((!_003C_003Ec__DisplayClass15_0._200D_202C_200D_206D_200D_206D_202B_206C_202E_202A_202C_202B_206D_202D_206F_200E_202D_206E_200B_200F_202C_200D_206C_206C_200B_206E_202B_202B_202A_200E_200E_206B_202D_202B_202E_206B_202E_206B_206B_202B_202E(x).HasValue) ? 1884617911 : 1884617904); + break; + } + } + })) ? (-1423296183) : (-1423296164)); + break; + case 7: + _itemUsePending = false; + num = -1423296185; + break; + case 4: + inventoryItemCount = InventoryManager.Instance()->GetInventoryItemCount(_202A_206E_200D_202B_200D_202D_206C_206C_202B_200C_206D_206B_206A_206A_200E_202E_200C_206E_200C_202B_200F_200F_202B_200D_202A_202A_200F_206D_202A_200B_200C_200E_206C_202A_206E_206F_206B_206F_206A_206A_202E(_combatData.CombatItemUse), isHq: false, checkEquipped: true, checkArmory: true, 0); + num = ((!_itemUsePending) ? (-1423296185) : (-1423296192)); + break; + case 15: + return; + case 18: + return; + case 20: + _202D_200C_200B_202A_200C_202C_206F_206E_206C_202D_200D_206A_200E_202D_206F_206B_200D_202E_202C_206F_200B_202B_206B_200D_206D_200B_206B_202A_202D_200F_206F_200D_206B_206D_206B_206D_206F_200D_202B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-316452763), new object[1] { inventoryItemCount }); + num = -1423296185; + break; + case 9: + num = (_combatData.KillEnemyDataIds.Contains(_206D_202D_206D_202B_206E_202C_202B_202D_200E_200F_202E_202E_206E_202B_202E_202A_202B_202A_200F_206A_206F_202E_200C_200C_202A_206E_200F_206F_200B_200B_206B_206E_206D_206D_206D_206D_206A_202A_206A_200E_202E(nextTarget)) ? (-1423296164) : (-1423296181)); + break; + case 8: + _202D_200C_200B_202A_200C_202C_206F_206E_206C_202D_200D_206A_200E_202D_206F_206B_200D_202E_202C_206F_200B_202B_206B_200D_206D_200B_206B_202A_202D_200F_206F_200D_206B_206D_206B_206D_206F_200D_202B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-350550837), new object[1] { _202A_206E_200D_202B_200D_202D_206C_206C_202B_200C_206D_206B_206A_206A_200E_202E_200C_206E_200C_202B_200F_200F_202B_200D_202A_202A_200F_206D_202A_200B_200C_200E_206C_202A_206E_206F_206B_206F_206A_206A_202E(_combatData.CombatItemUse) }); + _itemUsePending = true; + _itemUsePendingUntil = _202E_206A_202A_200D_206D_206A_206A_202B_202E_206E_202D_206D_206E_200C_202D_202D_206C_200E_206C_202B_200D_206F_200B_202C_200D_200F_200F_206C_206D_206C_202A_200D_202E_206A_206E_202D_200F_200B_202A_206A_202E() + 3000; + AgentInventoryContext.Instance()->UseItem(_202A_206E_200D_202B_200D_202D_206C_206C_202B_200C_206D_206B_206A_206A_200E_202E_200C_206E_200C_202B_200F_200F_202B_200D_202A_202A_200F_206D_202A_200B_200C_200E_206C_202A_206E_206F_206B_206F_206A_206A_202E(_combatData.CombatItemUse), InventoryType.Invalid, 0u, 0); + _continueAt = _202E_206A_202A_200D_206D_206A_206A_202B_202E_206E_202D_206D_206E_200C_202D_202D_206C_200E_206C_202B_200D_206F_200B_202C_200D_200F_200F_206C_206D_206C_202A_200D_202E_206A_206E_202D_200F_200B_202A_206A_202E() + 2000; + return; } } - else if (_isDoingRotation) - { - _delegate.Update(nextTarget); - } + } + + void ICombatModule.Update(IGameObject nextTarget) + { + //ILSpy generated this explicit interface implementation from .override directive in Update + this.Update(nextTarget); } private unsafe bool ShouldUseItem(IGameObject gameObject) { - if (_combatData?.CombatItemUse == null) + int num = ((_combatData?.CombatItemUse != null) ? (-1964360590) : (-1964360581)); + BattleChara* ptr = default(BattleChara*); + while (true) { - return false; - } - if (gameObject is IBattleChara) - { - BattleChara* address = (BattleChara*)gameObject.Address; - if (_combatData.CombatItemUse.Condition == ECombatItemUseCondition.Incapacitated) + int num2 = num; + int num3 = -1964360589; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - return (address->ActorControlFlags & 0x40) != 0; + case 2: + { + byte actorControlFlags = ptr->ActorControlFlags; + num3 = 64; + num4 = actorControlFlags; + return (num4 | num3) - (num4 ^ num3) != 0; } - if (_combatData.CombatItemUse.Condition == ECombatItemUseCondition.HealthPercent) - { - return 100f * (float)address->Health / (float)address->MaxHealth < (float)_combatData.CombatItemUse.Value; - } - if (_combatData.CombatItemUse.Condition == ECombatItemUseCondition.MissingStatus) - { - return !address->StatusManager.HasStatus((uint)_combatData.CombatItemUse.Value); + case 0: + return 100f * (float)ptr->Health / (float)ptr->MaxHealth < (float)_206F_202B_200E_200D_200E_200D_206B_200C_200E_206C_200E_200E_202C_202E_206E_200D_206B_206C_200D_206A_202E_200C_206B_200D_200E_200C_206D_200B_200B_206D_202D_200B_202E_200F_200E_206D_200D_206D_200E_202E(_combatData.CombatItemUse); + case 9: + num = -1964360581; + break; + case 7: + return false; + case 6: + num = ((_206E_206C_206F_206C_206F_200F_200E_202A_200E_200B_200C_202C_206A_200E_200C_206A_202D_206F_200E_206E_202A_200D_200E_200E_206B_202C_202C_202E_202B_200C_202D_206F_200B_206F_200F_206F_206A_200F_202B_206F_202E(_combatData.CombatItemUse) != ECombatItemUseCondition.MissingStatus) ? (-1964360588) : (-1964360585)); + break; + case 4: + return !ptr->StatusManager.HasStatus((uint)_206F_202B_200E_200D_200E_200D_206B_200C_200E_206C_200E_200E_202C_202E_206E_200D_206B_206C_200D_206A_202E_200C_206B_200D_200E_200C_206D_200B_200B_206D_202D_200B_202E_200F_200E_206D_200D_206D_200E_202E(_combatData.CombatItemUse)); + case 8: + return false; + case 5: + ptr = (BattleChara*)_200D_200D_202A_206D_202B_206C_202E_200B_206F_202D_200C_206F_200E_200B_206C_200C_206F_200B_206D_206D_202E_202D_206F_206B_202A_206A_202B_206D_206D_200C_200F_202D_202D_206D_202D_206C_200C_202E_202D_202E_202E(gameObject); + num = ((_206E_206C_206F_206C_206F_200F_200E_202A_200E_200B_200C_202C_206A_200E_200C_206A_202D_206F_200E_206E_202A_200D_200E_200E_206B_202C_202C_202E_202B_200C_202D_206F_200B_206F_200F_206F_206A_200F_202B_206F_202E(_combatData.CombatItemUse) != ECombatItemUseCondition.Incapacitated) ? (-1964360592) : (-1964360591)); + break; + case 1: + num = ((!(gameObject is IBattleChara)) ? (-1964360588) : (-1964360586)); + break; + case 3: + num = ((_206E_206C_206F_206C_206F_200F_200E_202A_200E_200B_200C_202C_206A_200E_200C_206A_202D_206F_200E_206E_202A_200D_200E_200E_206B_202C_202C_202E_202B_200C_202D_206F_200B_206F_200F_206F_206A_200F_202B_206F_202E(_combatData.CombatItemUse) != ECombatItemUseCondition.HealthPercent) ? (-1964360587) : (-1964360589)); + break; } } - return false; } public bool CanAttack(IBattleNpc target) { return _delegate.CanAttack(target); } + + bool ICombatModule.CanAttack(IBattleNpc target) + { + //ILSpy generated this explicit interface implementation from .override directive in CanAttack + return this.CanAttack(target); + } + + static Type _202A_200C_206B_202C_206A_206B_202C_202B_206A_200C_206A_206B_206B_202B_202D_202B_202D_206B_206F_202D_206C_202D_206C_202E_202C_206D_200D_202C_200D_202B_200D_200E_200E_206F_202B_200E_206A_202A_206E_202C_202E(object P_0) + { + return P_0.GetType(); + } + + static string _202C_206B_202B_206E_200B_206D_200F_206D_206F_200D_200B_206F_206E_202B_202E_200D_202D_206A_206B_200E_202A_206A_202B_202D_206E_206A_206C_202C_200B_200E_206E_206C_200E_206E_206A_206C_202C_202E_202A_202E_202E(MemberInfo P_0) + { + return P_0.Name; + } + + static void _202D_200C_200B_202A_200C_202C_206F_206E_206C_202D_200D_206A_200E_202D_206F_206B_200D_202E_202C_206F_200B_202B_206B_200D_206D_200B_206B_202A_202D_200F_206F_200D_206B_206D_206B_206D_206F_200D_202B_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static long _202E_206A_202A_200D_206D_206A_206A_202B_202E_206E_202D_206D_206E_200C_202D_202D_206C_200E_206C_202B_200D_206F_200B_202C_200D_200F_200F_206C_206D_206C_202A_200D_202E_206A_206E_202D_200F_200B_202A_206A_202E() + { + return Environment.TickCount64; + } + + static uint _206D_202D_206D_202B_206E_202C_202B_202D_200E_200F_202E_202E_206E_202B_202E_202A_202B_202A_200F_206A_206F_202E_200C_200C_202A_206E_200F_206F_200B_200B_206B_206E_206D_206D_206D_206D_206A_202A_206A_200E_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static uint _202A_206E_200D_202B_200D_202D_206C_206C_202B_200C_206D_206B_206A_206A_200E_202E_200C_206E_200C_202B_200F_200F_202B_200D_202A_202A_200F_206D_202A_200B_200C_200E_206C_202A_206E_206F_206B_206F_206A_206A_202E(CombatItemUse P_0) + { + return P_0.ItemId; + } + + static bool _200D_200F_202C_206F_202E_202C_206A_202D_206E_206A_206A_206E_200B_202D_206E_202B_202C_206E_202B_206D_206C_200E_202E_200F_206C_202C_200B_202E_206F_200E_206E_200C_202B_202A_200E_200C_206B_200C_206F_206F_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static nint _200D_200D_202A_206D_202B_206C_202E_200B_206F_202D_200C_206F_200E_200B_206C_200C_206F_200B_206D_206D_202E_202D_206F_206B_202A_206A_202B_206D_206D_200C_200F_202D_202D_206D_202D_206C_200C_202E_202D_202E_202E(IGameObject P_0) + { + return P_0.Address; + } + + static ECombatItemUseCondition _206E_206C_206F_206C_206F_200F_200E_202A_200E_200B_200C_202C_206A_200E_200C_206A_202D_206F_200E_206E_202A_200D_200E_200E_206B_202C_202C_202E_202B_200C_202D_206F_200B_206F_200F_206F_206A_200F_202B_206F_202E(CombatItemUse P_0) + { + return P_0.Condition; + } + + static int _206F_202B_200E_200D_200E_200D_206B_200C_200E_206C_200E_200E_202C_202E_206E_200D_206B_206C_200D_206A_202E_200C_206B_200D_200E_200C_206D_200B_200B_206D_202D_200B_202E_200F_200E_206D_200D_206D_200E_202E(CombatItemUse P_0) + { + return P_0.Value; + } } diff --git a/Questionable/Questionable.Controller.CombatModules/Mount128Module.cs b/Questionable/Questionable.Controller.CombatModules/Mount128Module.cs index 64b30a87..495a7815 100644 --- a/Questionable/Questionable.Controller.CombatModules/Mount128Module.cs +++ b/Questionable/Questionable.Controller.CombatModules/Mount128Module.cs @@ -23,7 +23,38 @@ internal sealed class Mount128Module : ICombatModule public bool CanHandleFight(CombatController.CombatData combatData) { - return _gameFunctions.GetMountId() == 128; + ushort? mountId = _gameFunctions.GetMountId(); + int num = (mountId.HasValue ? 1315978543 : 1315978542); + int? obj; + while (true) + { + int num2 = num; + int num3 = 1315978543; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 2: + goto IL_005c; + case 0: + obj = mountId.GetValueOrDefault(); + break; + case 1: + obj = null; + break; + } + break; + IL_005c: + num = 1315978542; + } + return obj == 128; + } + + bool ICombatModule.CanHandleFight(CombatController.CombatData combatData) + { + //ILSpy generated this explicit interface implementation from .override directive in CanHandleFight + return this.CanHandleFight(combatData); } public bool Start(CombatController.CombatData combatData) @@ -31,30 +62,114 @@ internal sealed class Mount128Module : ICombatModule return true; } + bool ICombatModule.Start(CombatController.CombatData combatData) + { + //ILSpy generated this explicit interface implementation from .override directive in Start + return this.Start(combatData); + } + public bool Stop() { return true; } + bool ICombatModule.Stop() + { + //ILSpy generated this explicit interface implementation from .override directive in Stop + return this.Stop(); + } + public void Update(IGameObject gameObject) { EAction[] actions = _actions; - foreach (EAction action in actions) + int num = 0; + int num2 = -321000316; + while (true) { - if (_gameFunctions.UseAction(gameObject, action, checkCanUse: false)) + int num3 = num2; + int num4 = -321000313; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) { + case 5: + num2 = -321000316; + break; + case 4: + return; + case 0: + { + int num6 = num; + num4 = 1; + num5 = num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = num7 + (num8 + num8); + num2 = -321000316; + break; + } + case 2: + return; + case 1: + { + EAction action = actions[num]; + num2 = ((!_gameFunctions.UseAction(gameObject, action, checkCanUse: false)) ? (-321000313) : (-321000315)); + break; + } + case 3: + num2 = ((num < actions.Length) ? (-321000314) : (-321000317)); break; } } } + void ICombatModule.Update(IGameObject gameObject) + { + //ILSpy generated this explicit interface implementation from .override directive in Update + this.Update(gameObject); + } + public bool CanAttack(IBattleNpc target) { - uint baseId = target.BaseId; - if (baseId - 7504 <= 1 || baseId == 14107) + uint num = _200D_206E_206B_200C_200E_200F_200E_206A_200C_200E_202B_202A_206C_202B_206A_202B_200D_206F_200F_202D_200C_200E_206E_200D_200E_202A_200B_200B_206F_206F_202B_206D_202A_200E_202D_206F_206D_200F_202B_202E((IGameObject)target); + int num2 = 7504; + int num3 = (int)num; + int num4 = (((uint)(~(~num3 + num2)) <= 1u) ? 2050510022 : 2050510023); + bool result = default(bool); + while (true) { - return true; + int num5 = num4; + num2 = 2050510022; + num3 = num5; + switch ((num3 | num2) - (num3 & num2)) + { + case 2: + return result; + case 1: + num4 = ((num != 14107) ? 2050510018 : 2050510022); + break; + case 3: + num4 = 2050510023; + break; + case 0: + result = true; + num4 = 2050510020; + break; + case 4: + result = false; + num4 = 2050510020; + break; + } } - return false; + } + + bool ICombatModule.CanAttack(IBattleNpc target) + { + //ILSpy generated this explicit interface implementation from .override directive in CanAttack + return this.CanAttack(target); + } + + static uint _200D_206E_206B_200C_200E_200F_200E_206A_200C_200E_202B_202A_206C_202B_206A_202B_200D_206F_200F_202D_200C_200E_206E_200D_200E_202A_200B_200B_206F_206F_202B_206D_202A_200E_202D_206F_206D_200F_202B_202E(IGameObject P_0) + { + return P_0.BaseId; } } diff --git a/Questionable/Questionable.Controller.CombatModules/Mount147Module.cs b/Questionable/Questionable.Controller.CombatModules/Mount147Module.cs index 4806ebdc..cae93c4d 100644 --- a/Questionable/Questionable.Controller.CombatModules/Mount147Module.cs +++ b/Questionable/Questionable.Controller.CombatModules/Mount147Module.cs @@ -19,7 +19,38 @@ internal sealed class Mount147Module : ICombatModule public bool CanHandleFight(CombatController.CombatData combatData) { - return _gameFunctions.GetMountId() == 147; + ushort? mountId = _gameFunctions.GetMountId(); + int num = (mountId.HasValue ? (-1629535910) : (-1629535911)); + int? obj; + while (true) + { + int num2 = num; + int num3 = -1629535909; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 1: + obj = mountId.GetValueOrDefault(); + break; + case 2: + obj = null; + break; + case 0: + goto IL_009c; + } + break; + IL_009c: + num = -1629535911; + } + return obj == 147; + } + + bool ICombatModule.CanHandleFight(CombatController.CombatData combatData) + { + //ILSpy generated this explicit interface implementation from .override directive in CanHandleFight + return this.CanHandleFight(combatData); } public bool Start(CombatController.CombatData combatData) @@ -27,25 +58,85 @@ internal sealed class Mount147Module : ICombatModule return true; } + bool ICombatModule.Start(CombatController.CombatData combatData) + { + //ILSpy generated this explicit interface implementation from .override directive in Start + return this.Start(combatData); + } + public bool Stop() { return true; } + bool ICombatModule.Stop() + { + //ILSpy generated this explicit interface implementation from .override directive in Stop + return this.Stop(); + } + public void Update(IGameObject gameObject) { EAction[] actions = _actions; - foreach (EAction action in actions) + int num = 0; + int num2 = -1800928323; + while (true) { - if (_gameFunctions.UseAction(gameObject, action, checkCanUse: false)) + int num3 = num2; + int num4 = -1800928324; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) { + case 1: + num2 = ((num < actions.Length) ? (-1800928327) : (-1800928321)); break; + case 3: + return; + case 5: + { + EAction action = actions[num]; + num2 = ((!_gameFunctions.UseAction(gameObject, action, checkCanUse: false)) ? (-1800928322) : (-1800928328)); + break; + } + case 0: + num2 = -1800928323; + break; + case 2: + { + int num6 = num; + num4 = 1; + num5 = num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = num7 + (num8 + num8); + num2 = -1800928323; + break; + } + case 4: + return; } } } + void ICombatModule.Update(IGameObject gameObject) + { + //ILSpy generated this explicit interface implementation from .override directive in Update + this.Update(gameObject); + } + public bool CanAttack(IBattleNpc target) { - return target.BaseId == 8593; + return _200F_202B_206E_206D_206B_200D_202E_200E_202A_202D_202D_206E_206B_200D_200C_202B_206A_202D_206F_206E_202C_200E_202D_206D_206A_202E_206B_200B_202B_202A_206F_200C_200C_202E_200E_206C_206C_200E_200E_202C_202E((IGameObject)target) == 8593; + } + + bool ICombatModule.CanAttack(IBattleNpc target) + { + //ILSpy generated this explicit interface implementation from .override directive in CanAttack + return this.CanAttack(target); + } + + static uint _200F_202B_206E_206D_206B_200D_202E_200E_202A_202D_202D_206E_206B_200D_200C_202B_206A_202D_206F_206E_202C_200E_202D_206D_206A_202E_206B_200B_202B_202A_206F_200C_200C_202E_200E_206C_206C_200E_200E_202C_202E(IGameObject P_0) + { + return P_0.BaseId; } } diff --git a/Questionable/Questionable.Controller.CombatModules/RotationSolverRebornModule.cs b/Questionable/Questionable.Controller.CombatModules/RotationSolverRebornModule.cs index de109360..134bdbc5 100644 --- a/Questionable/Questionable.Controller.CombatModules/RotationSolverRebornModule.cs +++ b/Questionable/Questionable.Controller.CombatModules/RotationSolverRebornModule.cs @@ -1,4 +1,5 @@ using System; +using System.Runtime.CompilerServices; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin; using Dalamud.Plugin.Ipc; @@ -9,14 +10,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,76 +20,182 @@ internal sealed class RotationSolverRebornModule : ICombatModule, IDisposable private readonly ICallGateSubscriber _test; - private readonly ICallGateSubscriber _changeOperationMode; + private readonly ICallGateSubscriber _changeOperationMode; + private readonly ICallGateSubscriber _setConfig; + + [MethodImpl(MethodImplOptions.NoInlining)] public RotationSolverRebornModule(ILogger logger, IDalamudPluginInterface pluginInterface, Configuration configuration) { _logger = logger; _configuration = configuration; - _test = pluginInterface.GetIpcSubscriber("RotationSolverReborn.Test"); - _changeOperationMode = pluginInterface.GetIpcSubscriber("RotationSolverReborn.ChangeOperatingMode"); + _test = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(1411732443)); + _changeOperationMode = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(1860544423)); + _setConfig = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(1066419232)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool IsAvailable() + { + int num = ((_configuration.General.CombatModule == Configuration.ECombatModule.RotationSolverReborn) ? 1043338071 : 1043338068); + while (true) + { + int num2 = num; + int num3 = 1043338070; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0051; + case 2: + return false; + case 1: + try + { + _test.InvokeAction(global::_003CModule_003E._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(801710835)); + return true; + } + catch (IpcError) + { + return false; + } + } + continue; + IL_0051: + num = 1043338068; + } } public bool CanHandleFight(CombatController.CombatData combatData) { - if (_configuration.General.CombatModule != Configuration.ECombatModule.RotationSolverReborn) - { - return false; - } - try - { - _test.InvokeAction("Validate RSR is callable from Questionable"); - return true; - } - catch (IpcError) - { - return false; - } + return IsAvailable(); } + bool ICombatModule.CanHandleFight(CombatController.CombatData combatData) + { + //ILSpy generated this explicit interface implementation from .override directive in CanHandleFight + return this.CanHandleFight(combatData); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public bool Start(CombatController.CombatData combatData) { try { - _changeOperationMode.InvokeAction(StateCommandType.Manual); + _changeOperationMode.InvokeAction(4); + SetConfig(global::_003CModule_003E._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(1302352989), false); + SetConfig(global::_003CModule_003E._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(-21636385), true); + SetConfig(global::_003CModule_003E._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(440160262), 1); return true; } - catch (IpcError exception) + catch (IpcError ipcError) { - _logger.LogWarning(exception, "Could not start combat"); + _206B_200C_200B_202B_202B_206C_202B_200E_202D_202E_200C_206A_206D_202C_200B_202C_202E_200E_200E_200D_200F_206B_202A_206C_206F_202C_206D_206A_200E_202D_202E_200D_200F_202E_200E_200D_200E_200C_200F_202B_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-1187675745), Array.Empty()); return false; } } + bool ICombatModule.Start(CombatController.CombatData combatData) + { + //ILSpy generated this explicit interface implementation from .override directive in Start + return this.Start(combatData); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public bool Stop() { - if (!_changeOperationMode.HasAction) + int num = (_202B_200D_202B_206D_206F_202A_206C_206C_200D_200C_202B_202C_202C_202C_200E_206B_202D_202C_202A_206B_206B_206C_202B_202D_200F_206E_200D_206E_206B_206F_206A_206F_206A_200E_206B_200E_206B_206D_202A_206B_202E((ICallGateSubscriber)_changeOperationMode) ? (-427994100) : (-427994099)); + while (true) { - return true; - } - try - { - _changeOperationMode.InvokeAction(StateCommandType.Off); - return true; - } - catch (IpcError exception) - { - _logger.LogWarning(exception, "Could not turn off combat"); - return false; + int num2 = num; + int num3 = -427994100; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004e; + case 1: + return true; + case 0: + try + { + _changeOperationMode.InvokeAction(0); + return true; + } + catch (IpcError ipcError) + { + _206B_200C_200B_202B_202B_206C_202B_200E_202D_202E_200C_206A_206D_202C_200B_202C_202E_200E_200E_200D_200F_206B_202A_206C_206F_202C_206D_206A_200E_202D_202E_200D_200F_202E_200E_200D_200E_200C_200F_202B_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-52047300), Array.Empty()); + return false; + } + } + continue; + IL_004e: + num = -427994099; } } + bool ICombatModule.Stop() + { + //ILSpy generated this explicit interface implementation from .override directive in Stop + return this.Stop(); + } + public void Update(IGameObject gameObject) { } + void ICombatModule.Update(IGameObject gameObject) + { + //ILSpy generated this explicit interface implementation from .override directive in Update + this.Update(gameObject); + } + public bool CanAttack(IBattleNpc target) { return true; } + bool ICombatModule.CanAttack(IBattleNpc target) + { + //ILSpy generated this explicit interface implementation from .override directive in CanAttack + return this.CanAttack(target); + } + public void Dispose() { - Stop(); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void SetConfig(string key, object value) + { + try + { + _setConfig.InvokeAction(key, value); + } + catch (IpcError ipcError) + { + _202D_206C_200F_200F_206F_202B_206F_202C_206B_206E_206A_202D_202B_206A_202A_200D_206F_206F_200F_200F_202A_206E_206F_202E_206C_200D_200B_200E_206C_200B_206A_202E_202E_206D_200B_202E_200C_200E_202C_202D_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-1316823844), new object[1] { key }); + } + } + + static void _206B_200C_200B_202B_202B_206C_202B_200E_202D_202E_200C_206A_206D_202C_200B_202C_202E_200E_200E_200D_200F_206B_202A_206C_206F_202C_206D_206A_200E_202D_202E_200D_200F_202E_200E_200D_200E_200C_200F_202B_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static bool _202B_200D_202B_206D_206F_202A_206C_206C_200D_200C_202B_202C_202C_202C_200E_206B_202D_202C_202A_206B_206B_206C_202B_202D_200F_206E_200D_206E_206B_206F_206A_206F_206A_200E_206B_200E_206B_206D_202A_206B_202E(ICallGateSubscriber P_0) + { + return P_0.HasAction; + } + + static void _202D_206C_200F_200F_206F_202B_206F_202C_206B_206E_206A_202D_202B_206A_202A_200D_206F_206F_200F_200F_202A_206E_206F_202E_206C_200D_200B_200E_206C_200B_206A_202E_202E_206D_200B_202E_200C_200E_202C_202D_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogDebug(P_1, P_2, P_3); } } diff --git a/Questionable/Questionable.Controller.CombatModules/WrathComboModule.cs b/Questionable/Questionable.Controller.CombatModules/WrathComboModule.cs index 0386140b..8180e5f7 100644 --- a/Questionable/Questionable.Controller.CombatModules/WrathComboModule.cs +++ b/Questionable/Questionable.Controller.CombatModules/WrathComboModule.cs @@ -1,8 +1,14 @@ using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin; using Dalamud.Plugin.Ipc; using Dalamud.Plugin.Ipc.Exceptions; +using Dalamud.Plugin.Services; +using Lumina.Excel; +using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; using Questionable.Controller.Steps; @@ -42,7 +48,14 @@ internal sealed class WrathComboModule : ICombatModule, IDisposable OrbwalkerIntegration, AutoRezOutOfParty, DPSAoETargets, - SingleTargetExcogHPP + SingleTargetExcogHPP, + AutoRezDPSJobsHealersOnly, + DPSAlwaysHardTarget, + HealerAlwaysHardTarget, + BypassQuest, + BypassFATE, + IgnoreRangeInBoss, + UnTargetAndDisableForPenalty } public enum HealerRotationMode @@ -52,12 +65,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,118 +97,472 @@ 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) + [MethodImpl(MethodImplOptions.NoInlining)] + public WrathComboModule(ILogger logger, Configuration configuration, IObjectTable objectTable, IDalamudPluginInterface pluginInterface) { _logger = logger; _configuration = configuration; - _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"); - _callback = pluginInterface.GetIpcProvider("Questionable$Wrath.WrathComboCallback"); + _objectTable = objectTable; + _test = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-881363820)); + _registerForLeaseWithCallback = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-200781622)); + _releaseControl = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(254606733)); + _setAutoRotationState = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-1072043349)); + _setAutoRotationConfigState = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(920538037)); + _setCurrentJobAutoRotationReady = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-1662176505)); + _getComboNamesForJob = pluginInterface.GetIpcSubscriber>(global::_003CModule_003E._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(987268149)); + _setComboState = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(1902147951)); + _callback = pluginInterface.GetIpcProvider(global::_003CModule_003E._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(-437654203)); _callback.RegisterAction(Callback); } + public bool IsAvailable() + { + int num = ((_configuration.General.CombatModule == Configuration.ECombatModule.WrathCombo) ? (-1348986340) : (-1348986337)); + while (true) + { + int num2 = num; + int num3 = -1348986338; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0053; + case 1: + return false; + case 2: + try + { + _test.InvokeAction(); + return true; + } + catch (IpcError) + { + return false; + } + } + continue; + IL_0053: + num = -1348986337; + } + } + public bool CanHandleFight(CombatController.CombatData combatData) { - if (_configuration.General.CombatModule != Configuration.ECombatModule.WrathCombo) - { - return false; - } - try - { - _test.InvokeAction(); - return true; - } - catch (IpcError) - { - return false; - } + return IsAvailable(); } + bool ICombatModule.CanHandleFight(CombatController.CombatData combatData) + { + //ILSpy generated this explicit interface implementation from .override directive in CanHandleFight + return this.CanHandleFight(combatData); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public bool Start(CombatController.CombatData combatData) { try { - _lease = _registerForLeaseWithCallback.InvokeFunc("Questionable", "Questionable", "Questionable$Wrath"); - if (_lease.HasValue) + _lease = _registerForLeaseWithCallback.InvokeFunc(global::_003CModule_003E._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(1231541163), global::_003CModule_003E._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(-1179749275), global::_003CModule_003E._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(-121562455)); + int num = ((!_lease.HasValue) ? (-1358981583) : (-1358981584)); + while (true) { - _logger.LogDebug("Wrath combo lease: {Lease}", _lease.Value); - if (!_setAutoRotationState.InvokeFunc(_lease.Value, arg2: true).IsSuccess()) + int num2 = num; + int num3 = -1358981583; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _logger.LogError("Unable to set autorotation state"); + case 6: + num = -1358981584; + break; + case 5: + { + ESetResult eSetResult2 = _setCurrentJobAutoRotationReady.InvokeFunc(_lease.Value); + _202C_202A_202B_206B_202B_202D_206B_206D_202A_200D_202C_200F_200F_200B_202B_200E_200B_202D_200D_206A_200D_206C_202E_206E_202C_200D_200E_206B_200F_206E_206E_202C_200E_202E_206B_206D_200C_206B_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-246523235), new object[1] { eSetResult2 }); + num = (eSetResult2.IsSuccess() ? (-1358981581) : (-1358981579)); + break; + } + case 1: + { + _202C_202A_202B_206B_202B_202D_206B_206D_202A_200D_202C_200F_200F_200B_202B_200E_200B_202D_200D_206A_200D_206C_202E_206E_202C_200D_200E_206B_200F_206E_206E_202C_200E_202E_206B_206D_200C_206B_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1086439273), new object[1] { _lease.Value }); + ESetResult eSetResult = _setAutoRotationState.InvokeFunc(_lease.Value, arg2: true); + _202C_202A_202B_206B_202B_202D_206B_206D_202A_200D_202C_200F_200F_200B_202B_200E_200B_202D_200D_206A_200D_206C_202E_206E_202C_200D_200E_206B_200F_206E_206E_202C_200E_202E_206B_206D_200C_206B_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-650979249), new object[1] { eSetResult }); + num = (eSetResult.IsSuccess() ? (-1358981580) : (-1358981582)); + break; + } + case 4: + _200C_200D_202C_206F_200B_206E_206F_200D_200E_206D_200E_202E_200C_200C_202D_206A_202D_206E_202D_206F_200F_200D_200D_202E_206B_206F_200C_206C_202E_200F_202E_200C_202D_202E_202E_200E_206B_206E_202B_202D_202E((ILogger)_logger, global::_003CModule_003E._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(-831608674), Array.Empty()); Stop(); return false; - } - if (!_setCurrentJobAutoRotationReady.InvokeFunc(_lease.Value).IsSuccess()) - { - _logger.LogError("Unable to set current job for autorotation"); + case 2: + 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; + case 3: + _200C_200D_202C_206F_200B_206E_206F_200D_200E_206D_200E_202E_200C_200C_202D_206A_202D_206E_202D_206F_200F_200D_200D_202E_206B_206F_200C_206C_202E_200F_202E_200C_202D_202E_202E_200E_206B_206E_202B_202D_202E((ILogger)_logger, global::_003CModule_003E._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(-2060892089), Array.Empty()); Stop(); return false; + case 0: + _200C_200D_202C_206F_200B_206E_206F_200D_200E_206D_200E_202E_200C_200C_202D_206A_202D_206E_202D_206F_200F_200D_200D_202E_206B_206F_200C_206C_202E_200F_202E_200C_202D_202E_202E_200E_206B_206E_202B_202D_202E((ILogger)_logger, global::_003CModule_003E._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(-1103601186), Array.Empty()); + 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); - } - return true; } - _logger.LogError("Wrath combo did not return a lease"); - return false; } - catch (IpcError exception) + catch (IpcError ipcError) { - _logger.LogError(exception, "Unable to use wrath combo for combat"); + _206B_206A_206C_202C_200F_202D_206B_202C_206F_200D_200B_206A_206E_202E_200B_200F_200E_206C_200C_206B_200D_200D_206E_206F_202D_202B_206A_200D_206A_200F_202C_202C_202E_202E_206C_206B_202C_202C_202A_202D_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-1303013100), Array.Empty()); return false; } } + bool ICombatModule.Start(CombatController.CombatData combatData) + { + //ILSpy generated this explicit interface implementation from .override directive in Start + return this.Start(combatData); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public bool Stop() { try { - if (_lease.HasValue) + int num = ((!_lease.HasValue) ? (-1077439308) : (-1077439305)); + while (true) { - _releaseControl.InvokeAction(_lease.Value); - _lease = null; + int num2 = num; + int num3 = -1077439307; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1077439305; + break; + case 2: + _releaseControl.InvokeAction(_lease.Value); + _lease = null; + num = -1077439308; + break; + case 1: + return true; + } } - return true; } - catch (IpcError exception) + catch (IpcError ipcError) { - _logger.LogWarning(exception, "Could not turn off wrath combo"); + _202C_202C_202C_202B_200E_202C_202B_202B_202D_202C_206F_206C_202C_206C_202E_206F_206C_202D_200F_200B_200D_202D_200E_206E_200D_206E_200E_206B_206D_202D_206C_206E_202D_200E_202C_200D_202D_202D_200D_200C_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(1222809597), Array.Empty()); return false; } } + bool ICombatModule.Stop() + { + //ILSpy generated this explicit interface implementation from .override directive in Stop + return this.Stop(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public void Update(IGameObject nextTarget) { - if (!_lease.HasValue) + int num = (_lease.HasValue ? 1213985662 : 1213985663); + while (true) { - throw new TaskException("Wrath Combo Lease is cancelled"); + int num2 = num; + int num3 = 1213985662; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return; + case 1: + throw new TaskException(global::_003CModule_003E._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(688347319)); + case 2: + goto IL_005e; + } + continue; + IL_005e: + num = 1213985663; } } + void ICombatModule.Update(IGameObject nextTarget) + { + //ILSpy generated this explicit interface implementation from .override directive in Update + this.Update(nextTarget); + } + public bool CanAttack(IBattleNpc target) { return true; } + bool ICombatModule.CanAttack(IBattleNpc target) + { + //ILSpy generated this explicit interface implementation from .override directive in CanAttack + return this.CanAttack(target); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void EnableCombosForCurrentJob() + { + int num = (_lease.HasValue ? (-1738503464) : (-1738503461)); + uint num7 = default(uint); + string current = default(string); + ESetResult eSetResult = default(ESetResult); + while (true) + { + int num2 = num; + int num3 = -1738503463; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1738503461; + break; + case 1: + { + IPlayerCharacter playerCharacter = _200C_200E_200F_206E_202E_206F_206E_200B_206F_202E_202B_202C_206D_206F_202A_202D_200C_206A_200B_206A_206D_202E_206D_202E_206F_202B_206E_200B_202C_206F_200D_206D_206B_202A_206B_200D_206E_202B_202D_206F_202E(_objectTable); + num7 = ((playerCharacter != null) ? _200B_202E_206C_200D_202E_200B_202D_202C_200E_202B_202D_206F_202D_200D_206D_206E_206F_200E_206E_200B_200C_202A_206E_200C_206D_200F_206E_206B_200D_202D_206F_202B_206F_200C_206E_206E_206C_206A_202C_202A_202E((ICharacter)playerCharacter).RowId : 0u); + num = ((num7 != 0) ? (-1738503462) : (-1738503459)); + break; + } + case 2: + return; + case 4: + return; + case 3: + try + { + List list = _getComboNamesForJob.InvokeFunc(num7); + num = ((list == null) ? 406782414 : 406782415); + while (true) + { + int num8 = num; + num3 = 406782413; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num = 406782415; + break; + case 3: + _200E_202E_206F_200D_206A_200E_206B_202D_200D_200B_200D_206D_200C_200F_206A_200C_202E_202D_202C_206B_202D_200B_206D_202D_200E_206C_206A_206F_200E_202A_206E_202E_202C_206F_206F_202B_200C_200D_206F_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1097438702), new object[1] { num7 }); + return; + case 2: + num = ((list.Count != 0) ? 406782412 : 406782414); + break; + case 1: + { + _202C_202A_202B_206B_202B_202D_206B_206D_202A_200D_202C_200F_200F_200B_202B_200E_200B_202D_200D_206A_200D_206C_202E_206E_202C_200D_200E_206B_200F_206E_206E_202C_200E_202E_206B_206D_200C_206B_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-155886281), new object[3] + { + list.Count, + num7, + _206F_206D_206C_206C_206E_206A_200B_200D_200E_206A_206C_202C_206B_202D_200F_206D_206B_206A_202C_200E_200F_200F_202C_202C_206F_206F_202A_200F_202D_206B_200B_200F_200F_206D_206B_200E_202B_200C_200F_200C_202E(global::_003CModule_003E._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(1467939024), (IEnumerable)list) + }); + int num11 = 0; + using (List.Enumerator enumerator = list.GetEnumerator()) + { + num = 1772577375; + while (true) + { + int num12 = num; + num3 = 1772577374; + num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + _200E_202E_206F_200D_206A_200E_206B_202D_200D_200B_200D_206D_200C_200F_206A_200C_202E_202D_202C_206B_202D_200B_206D_202D_200E_206C_206A_206F_200E_202A_206E_202E_202C_206F_206F_202B_200C_200D_206F_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1020041796), new object[2] { current, eSetResult }); + num = 1772577375; + break; + case 3: + current = enumerator.Current; + eSetResult = _setComboState.InvokeFunc(_lease.Value, current, arg3: true, arg4: true); + num = ((!eSetResult.IsSuccess()) ? 1772577370 : 1772577371); + break; + case 0: + num = 1772577375; + break; + case 1: + num = (enumerator.MoveNext() ? 1772577373 : 1772577372); + break; + case 5: + { + int num13 = num11; + num3 = 1; + num4 = num13; + num11 = (num4 | num3) + (num4 & num3); + num = 1772577375; + break; + } + case 2: + goto end_IL_01cd; + } + continue; + end_IL_01cd: + break; + } + } + _202C_202A_202B_206B_202B_202D_206B_206D_202A_200D_202C_200F_200F_200B_202B_200E_200B_202D_200D_206A_200D_206C_202E_206E_202C_200D_200E_206B_200F_206E_206E_202C_200E_202E_206B_206D_200C_206B_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1723018308), new object[3] { num11, list.Count, num7 }); + return; + } + } + } + } + catch (IpcError ipcError) + { + _202C_202C_202C_202B_200E_202C_202B_202B_202D_202C_206F_206C_202C_206C_202E_206F_206C_202D_200F_200B_200D_202D_200E_206E_200D_206E_200E_206B_206D_202D_206C_206E_202D_200E_202C_200D_202D_202D_200D_200C_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-290281876), new object[1] { num7 }); + return; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void SetConfig(AutoRotationConfigOption configKey, object value) + { + int num = (_lease.HasValue ? 965536274 : 965536273); + while (true) + { + int num2 = num; + int num3 = 965536272; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0050; + case 1: + return; + case 2: + try + { + ESetResult eSetResult = _setAutoRotationConfigState.InvokeFunc(_lease.Value, configKey, value); + num = (eSetResult.IsSuccess() ? (-646726898) : (-646726899)); + while (true) + { + int num7 = num; + num3 = -646726897; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = -646726899; + break; + case 2: + _200E_202E_206F_200D_206A_200E_206B_202D_200D_200B_200D_206D_200C_200F_206A_200C_202E_202D_202C_206B_202D_200B_206D_202D_200E_206C_206A_206F_200E_202A_206E_202E_202C_206F_206F_202B_200C_200D_206F_206A_202E((ILogger)_logger, global::_003CModule_003E._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(1491997045), new object[3] { configKey, value, eSetResult }); + num = -646726898; + break; + case 1: + return; + } + } + } + catch (IpcError ipcError) + { + _202C_202C_202C_202B_200E_202C_202B_202B_202D_202C_206F_206C_202C_206C_202E_206F_206C_202D_200F_200B_200D_202D_200E_206E_200D_206E_200E_206B_206D_202D_206C_206E_202D_200E_202C_200D_202D_202D_200D_200C_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-931599605), new object[2] { configKey, value }); + return; + } + } + continue; + IL_0050: + num = 965536273; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void Callback(int reason, string additionalInfo) { - _logger.LogWarning("WrathCombo callback: {Reason} ({Info})", reason, additionalInfo); + _200E_202E_206F_200D_206A_200E_206B_202D_200D_200B_200D_206D_200C_200F_206A_200C_202E_202D_202C_206B_202D_200B_206D_202D_200E_206C_206A_206F_200E_202A_206E_202E_202C_206F_206F_202B_200C_200D_206F_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-935286471), new object[2] { reason, additionalInfo }); _lease = null; } public void Dispose() { - Stop(); - _callback.UnregisterAction(); + _lease = null; + _202C_206B_202E_206B_202D_200E_200F_206C_200E_206D_200C_200B_202B_202D_206E_206A_206C_206B_206F_206A_200D_202E_206D_206D_202C_200D_200E_206E_202C_202A_202B_200B_202B_202E_202B_206F_200D_200F_206F_202E((ICallGateProvider)_callback); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _202C_202A_202B_206B_202B_202D_206B_206D_202A_200D_202C_200F_200F_200B_202B_200E_200B_202D_200D_206A_200D_206C_202E_206E_202C_200D_200E_206B_200F_206E_206E_202C_200E_202E_206B_206D_200C_206B_200C_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _200C_200D_202C_206F_200B_206E_206F_200D_200E_206D_200E_202E_200C_200C_202D_206A_202D_206E_202D_206F_200F_200D_200D_202E_206B_206F_200C_206C_202E_200F_202E_200C_202D_202E_202E_200E_206B_206E_202B_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static void _206B_206A_206C_202C_200F_202D_206B_202C_206F_200D_200B_206A_206E_202E_200B_200F_200E_206C_200C_206B_200D_200D_206E_206F_202D_202B_206A_200D_206A_200F_202C_202C_202E_202E_206C_206B_202C_202C_202A_202D_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static void _202C_202C_202C_202B_200E_202C_202B_202B_202D_202C_206F_206C_202C_206C_202E_206F_206C_202D_200F_200B_200D_202D_200E_206E_200D_206E_200E_206B_206D_202D_206C_206E_202D_200E_202C_200D_202D_202D_200D_200C_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static IPlayerCharacter _200C_200E_200F_206E_202E_206F_206E_200B_206F_202E_202B_202C_206D_206F_202A_202D_200C_206A_200B_206A_206D_202E_206D_202E_206F_202B_206E_200B_202C_206F_200D_206D_206B_202A_206B_200D_206E_202B_202D_206F_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static RowRef _200B_202E_206C_200D_202E_200B_202D_202C_200E_202B_202D_206F_202D_200D_206D_206E_206F_200E_206E_200B_200C_202A_206E_200C_206D_200F_206E_206B_200D_202D_206F_202B_206F_200C_206E_206E_206C_206A_202C_202A_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static void _200E_202E_206F_200D_206A_200E_206B_202D_200D_200B_200D_206D_200C_200F_206A_200C_202E_202D_202C_206B_202D_200B_206D_202D_200E_206C_206A_206F_200E_202A_206E_202E_202C_206F_206F_202B_200C_200D_206F_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static string _206F_206D_206C_206C_206E_206A_200B_200D_200E_206A_206C_202C_206B_202D_200F_206D_206B_206A_202C_200E_200F_200F_202C_202C_206F_206F_202A_200F_202D_206B_200B_200F_200F_206D_206B_200E_202B_200C_200F_200C_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static void _202C_206B_202E_206B_202D_200E_200F_206C_200E_206D_200C_200B_202B_202D_206E_206A_206C_206B_206F_206A_200D_202E_206D_206D_202C_200D_200E_206E_202C_202A_202B_200B_202B_202E_202B_206F_200D_200F_206F_202E(ICallGateProvider P_0) + { + P_0.UnregisterAction(); } } diff --git a/Questionable/Questionable.Controller.CombatModules/WrathResultExtensions.cs b/Questionable/Questionable.Controller.CombatModules/WrathResultExtensions.cs index 442a40bc..3ed7bff8 100644 --- a/Questionable/Questionable.Controller.CombatModules/WrathResultExtensions.cs +++ b/Questionable/Questionable.Controller.CombatModules/WrathResultExtensions.cs @@ -4,10 +4,31 @@ internal static class WrathResultExtensions { public static bool IsSuccess(this WrathComboModule.ESetResult result) { - if ((uint)result <= 1u) + int num = (((uint)result > 1u) ? 142889615 : 142889612); + bool result2 = default(bool); + while (true) { - return true; + int num2 = num; + int num3 = 142889614; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 142889612; + break; + case 2: + result2 = true; + num = 142889613; + break; + case 1: + result2 = false; + num = 142889613; + break; + case 3: + return result2; + } } - return false; } } diff --git a/Questionable/Questionable.Controller.Conditions/BeforeDutyCondition.cs b/Questionable/Questionable.Controller.Conditions/BeforeDutyCondition.cs new file mode 100644 index 00000000..47e1fce1 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/BeforeDutyCondition.cs @@ -0,0 +1,54 @@ +using System.Runtime.CompilerServices; +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; + int num = ((!upcomingInteractionType.HasValue) ? (-1887031172) : (-1887031170)); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = -1887031171; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + result = false; + num = -1887031171; + break; + case 4: + result = true; + num = -1887031171; + break; + case 3: + { + EInteractionType valueOrDefault = upcomingInteractionType.GetValueOrDefault(); + num = (((uint)(valueOrDefault - 19) > 1u) ? (-1887031172) : (-1887031175)); + break; + } + case 0: + return result; + case 2: + num = -1887031170; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string GetDescription() + { + return global::_003CModule_003E._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(-2024271967); + } +} diff --git a/Questionable/Questionable.Controller.Conditions/EStopConditionMode.cs b/Questionable/Questionable.Controller.Conditions/EStopConditionMode.cs new file mode 100644 index 00000000..db3e8aa5 --- /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 00000000..e13f1f0a --- /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 00000000..850c6e33 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/GilThresholdCondition.cs @@ -0,0 +1,26 @@ +using System.Runtime.CompilerServices; + +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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string GetDescription() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-789256971)); + defaultInterpolatedStringHandler.AppendFormatted(MinGil, global::_003CModule_003E._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(-1282575127)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } +} diff --git a/Questionable/Questionable.Controller.Conditions/GlobalSequenceCondition.cs b/Questionable/Questionable.Controller.Conditions/GlobalSequenceCondition.cs new file mode 100644 index 00000000..89826d43 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/GlobalSequenceCondition.cs @@ -0,0 +1,26 @@ +using System.Runtime.CompilerServices; + +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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string GetDescription() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(48652591)); + defaultInterpolatedStringHandler.AppendFormatted(TargetSequence); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } +} diff --git a/Questionable/Questionable.Controller.Conditions/InventoryFullCondition.cs b/Questionable/Questionable.Controller.Conditions/InventoryFullCondition.cs new file mode 100644 index 00000000..f01fb714 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/InventoryFullCondition.cs @@ -0,0 +1,21 @@ +using System.Runtime.CompilerServices; + +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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string GetDescription() + { + return global::_003CModule_003E._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(915709300); + } +} diff --git a/Questionable/Questionable.Controller.Conditions/LevelCondition.cs b/Questionable/Questionable.Controller.Conditions/LevelCondition.cs new file mode 100644 index 00000000..0c9acbdf --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/LevelCondition.cs @@ -0,0 +1,26 @@ +using System.Runtime.CompilerServices; + +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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string GetDescription() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1980344015)); + defaultInterpolatedStringHandler.AppendFormatted(TargetLevel); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } +} diff --git a/Questionable/Questionable.Controller.Conditions/QuestAcceptCondition.cs b/Questionable/Questionable.Controller.Conditions/QuestAcceptCondition.cs new file mode 100644 index 00000000..6970fddb --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/QuestAcceptCondition.cs @@ -0,0 +1,45 @@ +using System.Runtime.CompilerServices; +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 ((QuestAcceptCondition)(object)context.AcceptedQuestId)?._200B_206A_200B_200C_206C_200C_200B_206A_202E_206F_202A_206B_202B_206C_202E_200C_202B_206B_202A_202D_206B_206C_206F_206E_206A_206E_202A_206A_206C_200F_206C_200B_206E_200B_200C_200B_206B_200F_206A_206D_202E(QuestId) ?? false; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string GetDescription() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-145606806)); + defaultInterpolatedStringHandler.AppendFormatted(QuestId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1158663954)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + public static QuestAcceptCondition CreateSession(ElementId questId) + { + return new QuestAcceptCondition + { + QuestId = questId, + _isSession = true, + Mode = EStopConditionMode.Stop + }; + } + + bool _200B_206A_200B_200C_206C_200C_200B_206A_202E_206F_202A_206B_202B_206C_202E_200C_202B_206B_202A_202D_206B_206C_206F_206E_206A_206E_202A_206A_206C_200F_206C_200B_206E_200B_200C_200B_206B_200F_206A_206D_202E(ElementId P_0) + { + return ((ElementId)(object)this).Equals(P_0); + } +} diff --git a/Questionable/Questionable.Controller.Conditions/QuestCompleteCondition.cs b/Questionable/Questionable.Controller.Conditions/QuestCompleteCondition.cs new file mode 100644 index 00000000..324a8187 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/QuestCompleteCondition.cs @@ -0,0 +1,112 @@ +using System.Runtime.CompilerServices; +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; + int num = ((!sequence.HasValue) ? 1923712411 : 1923712409); + int valueOrDefault = default(int); + while (true) + { + int num2 = num; + int num3 = 1923712408; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 0: + return context.CurrentSequence >= valueOrDefault; + case 1: + { + valueOrDefault = sequence.GetValueOrDefault(); + ElementId? currentQuestId = context.CurrentQuestId; + num = (((object)currentQuestId == null || !((QuestCompleteCondition)(object)currentQuestId)._206F_202D_200C_200B_200F_200D_200D_202B_206B_206D_202B_200D_202D_200D_206A_202C_202C_206D_206C_202D_206C_206A_202B_202E_202E_206C_206F_200D_206A_202A_200F_206B_206F_202E_206C_206F_200E_200F_202B_200D_202E(QuestId)) ? 1923712410 : 1923712408); + break; + } + case 4: + num = 1923712409; + break; + case 3: + return ((QuestCompleteCondition)(object)context.CompletedQuestId)?._206F_202D_200C_200B_200F_200D_200D_202B_206B_206D_202B_200D_202D_200D_206A_202C_202C_206D_206C_202D_206C_206A_202B_202E_202E_206C_206F_200D_206A_202A_200F_206B_206F_202E_206C_206F_200E_200F_202B_200D_202E(QuestId) ?? false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string GetDescription() + { + string text = _206C_202B_200F_200F_206A_206D_200D_206E_202C_202B_202C_206A_206F_200B_206A_206B_200C_202A_206B_200D_206E_202A_206D_206C_200F_202B_202A_206C_206A_202C_206D_202B_206B_202B_202B_206E_206F_206C_200E_202B_202E((object)QuestId); + int? sequence = Sequence; + int num = ((!sequence.HasValue) ? (-1343890336) : (-1343890335)); + int valueOrDefault = default(int); + while (true) + { + int num2 = num; + int num3 = -1343890336; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -1343890335; + break; + case 1: + valueOrDefault = sequence.GetValueOrDefault(); + num = -1343890334; + break; + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(19, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(18748268)); + defaultInterpolatedStringHandler.AppendFormatted(text); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1980091129)); + defaultInterpolatedStringHandler.AppendFormatted(valueOrDefault); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + case 0: + return _202B_202D_206E_206D_202D_206D_202C_206C_206D_206D_200F_206E_206F_206F_202D_200B_202A_202A_202D_206E_202E_200D_200F_206D_200B_202A_206A_200C_206F_206F_206F_202A_202A_200E_202C_202A_206B_200B_202A_200C_202E(global::_003CModule_003E._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(-1754422725), text, global::_003CModule_003E._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(-729035300)); + } + } + } + + public static QuestCompleteCondition CreateSession(ElementId questId) + { + return new QuestCompleteCondition + { + QuestId = questId, + _isSession = true, + Mode = EStopConditionMode.Stop + }; + } + + bool _206F_202D_200C_200B_200F_200D_200D_202B_206B_206D_202B_200D_202D_200D_206A_202C_202C_206D_206C_202D_206C_206A_202B_202E_202E_206C_206F_200D_206A_202A_200F_206B_206F_202E_206C_206F_200E_200F_202B_200D_202E(ElementId P_0) + { + return ((ElementId)(object)this).Equals(P_0); + } + + static string _206C_202B_200F_200F_206A_206D_200D_206E_202C_202B_202C_206A_206F_200B_206A_206B_200C_202A_206B_200D_206E_202A_206D_206C_200F_202B_202A_206C_206A_202C_206D_202B_206B_202B_202B_206E_206F_206C_200E_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static string _202B_202D_206E_206D_202D_206D_202C_206C_206D_206D_200F_206E_206F_206F_202D_200B_202A_202A_202D_206E_202E_200D_200F_206D_200B_202A_206A_200C_206F_206F_206F_202A_202A_200E_202C_202A_206B_200B_202A_200C_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } +} diff --git a/Questionable/Questionable.Controller.Conditions/QuestCountCondition.cs b/Questionable/Questionable.Controller.Conditions/QuestCountCondition.cs new file mode 100644 index 00000000..da7a9ec7 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/QuestCountCondition.cs @@ -0,0 +1,26 @@ +using System.Runtime.CompilerServices; + +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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string GetDescription() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(17, 1); + defaultInterpolatedStringHandler.AppendFormatted(Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1579947935)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } +} diff --git a/Questionable/Questionable.Controller.Conditions/StopCondition.cs b/Questionable/Questionable.Controller.Conditions/StopCondition.cs new file mode 100644 index 00000000..2ecc9977 --- /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 00000000..8616602a --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/StopConditionConverter.cs @@ -0,0 +1,434 @@ +using System; +using System.Runtime.CompilerServices; +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; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static StopCondition? ReadJsonCore(JsonReader reader) + { + JObject jObject = _206C_200E_206F_200F_202C_202D_200B_200E_200D_200D_200F_202E_206B_206E_202C_206B_206F_200E_206C_202D_200E_202E_206D_206E_202C_202E_206D_200C_206E_202E_206F_200C_202E_206D_206E_202D_206E_202C_206B_200D_202E(reader); + string text = _200F_202B_202C_206A_206F_200F_206B_202C_200C_202C_200B_202B_200E_206C_200F_200D_200E_206D_202D_206C_206B_200D_200B_202E_200B_200F_202E_202B_206E_206D_206D_202C_202D_206B_206E_206A_200B_206C_206E_202E_202E(jObject, global::_003CModule_003E._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(52233837))?.Value(); + int num = ((text == null) ? (-2010192551) : (-2010192556)); + ElementId elementId2 = default(ElementId); + StopCondition stopCondition2 = default(StopCondition); + ElementId elementId = default(ElementId); + StopCondition stopCondition = default(StopCondition); + int? num7 = default(int?); + char c = default(char); + while (true) + { + int num2 = num; + int num3 = -2010192547; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 10: + elementId2 = DeserializeElementId(_200F_202B_202C_206A_206F_200F_206B_202C_200C_202C_200B_202B_200E_206C_200F_200D_200E_206D_202D_206C_206B_200D_200B_202E_200B_200F_202E_202B_206E_206D_206D_202C_202D_206B_206E_206A_200B_206C_206E_202E_202E(jObject, global::_003CModule_003E._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(795152114))); + num = (((object)elementId2 == null) ? (-2010192551) : (-2010192558)); + break; + case 5: + num = (_206A_206B_206D_206E_206B_202D_200F_202C_200C_202B_206A_200C_206F_202B_206F_206F_200E_200F_202C_206A_200E_202A_200B_202B_202A_206D_206E_200C_200B_206F_200D_206F_202D_202D_200E_200F_200E_202E_200D_206A_202E(text, global::_003CModule_003E._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(1603904649)) ? (-2010192557) : (-2010192562)); + break; + case 4: + goto IL_0152; + case 3: + stopCondition2 = new QuestAcceptCondition + { + QuestId = elementId + }; + num = -2010192575; + break; + case 28: + stopCondition = stopCondition2; + num = ((stopCondition == null) ? (-2010192572) : (-2010192548)); + break; + case 6: + num = (_206A_206B_206D_206E_206B_202D_200F_202C_200C_202B_206A_200C_206F_202B_206F_206F_200E_200F_202C_206A_200E_202A_200B_202B_202A_206D_206E_200C_200B_206F_200D_206F_202D_202D_200E_200F_200E_202E_200D_206A_202E(text, global::_003CModule_003E._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(436457362)) ? (-2010192553) : (-2010192563)); + break; + case 25: + return stopCondition; + case 14: + elementId = DeserializeElementId(_200F_202B_202C_206A_206F_200F_206B_202C_200C_202C_200B_202B_200E_206C_200F_200D_200E_206D_202D_206C_206B_200D_200B_202E_200B_200F_202E_202B_206E_206D_206D_202C_202D_206B_206E_206A_200B_206C_206E_202E_202E(jObject, global::_003CModule_003E._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(795152114))); + num = (((object)elementId == null) ? (-2010192551) : (-2010192546)); + break; + case 0: + stopCondition2 = new BeforeDutyCondition(); + num = -2010192575; + break; + case 19: + num = -2010192551; + break; + case 15: + { + QuestCompleteCondition obj = new QuestCompleteCondition + { + QuestId = elementId2 + }; + JToken jToken = _200F_202B_202C_206A_206F_200F_206B_202C_200C_202C_200B_202B_200E_206C_200F_200D_200E_206D_202D_206C_206B_200D_200B_202E_200B_200F_202E_202B_206E_206D_206D_202C_202D_206B_206E_206A_200B_206C_206E_202E_202E(jObject, global::_003CModule_003E._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(5286166)); + int? sequence; + if (jToken == null) + { + num7 = null; + sequence = num7; + } + else + { + sequence = jToken.Value(); + } + obj.Sequence = sequence; + stopCondition2 = obj; + num = -2010192575; + break; + } + case 2: + goto IL_026d; + case 31: + stopCondition2 = new GilThresholdCondition + { + MinGil = (_200F_202B_202C_206A_206F_200F_206B_202C_200C_202C_200B_202B_200E_206C_200F_200D_200E_206D_202D_206C_206B_200D_200B_202E_200B_200F_202E_202B_206E_206D_206D_202C_202D_206B_206E_206A_200B_206C_206E_202E_202E(jObject, global::_003CModule_003E._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(-1170513832))?.Value() ?? 1000) + }; + num = -2010192575; + break; + case 7: + num = -2010192551; + break; + case 29: + num = -2010192551; + break; + case 24: + goto IL_02f2; + case 22: + num = -2010192551; + break; + case 9: + { + int num8 = _206F_202A_200E_206F_206E_206C_206D_206A_202D_202B_202B_206C_206B_206B_202B_200C_200F_200C_202D_202E_206B_206E_200B_200D_202C_206E_206C_202A_202D_200E_206F_202C_200D_206E_202A_202D_202B_200C_206D_206A_202E(text); + num3 = 5; + num4 = num8; + switch (~(~num4 + num3)) + { + case 6: + break; + case 1: + case 2: + case 3: + case 4: + goto IL_0152; + case 5: + goto IL_026d; + case 9: + goto IL_02f2; + default: + goto IL_0370; + case 7: + goto IL_0394; + case 8: + goto IL_03e3; + case 0: + goto IL_04e6; + } + goto case 5; + } + case 23: + num = -2010192556; + break; + case 11: + num = -2010192551; + break; + case 20: + goto IL_0394; + case 17: + num = ((c != 'Q') ? (-2010192551) : (-2010192549)); + break; + case 32: + goto IL_03e3; + case 16: + num = -2010192551; + break; + case 26: + stopCondition2 = new LevelCondition + { + TargetLevel = (_200F_202B_202C_206A_206F_200F_206B_202C_200C_202C_200B_202B_200E_206C_200F_200D_200E_206D_202D_206C_206B_200D_200B_202E_200B_200F_202E_202B_206E_206D_206D_202C_202D_206B_206E_206A_200B_206C_206E_202E_202E(jObject, global::_003CModule_003E._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(133157427))?.Value() ?? 50) + }; + num = -2010192575; + break; + case 12: + num = -2010192551; + break; + case 8: + stopCondition2 = new GlobalSequenceCondition + { + TargetSequence = (_200F_202B_202C_206A_206F_200F_206B_202C_200C_202C_200B_202B_200E_206C_200F_200D_200E_206D_202D_206C_206B_200D_200B_202E_200B_200F_202E_202B_206E_206D_206D_202C_202D_206B_206E_206A_200B_206C_206E_202E_202E(jObject, global::_003CModule_003E._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(-1825719736))?.Value() ?? 1) + }; + num = -2010192575; + break; + case 30: + num = (_206A_206B_206D_206E_206B_202D_200F_202C_200C_202B_206A_200C_206F_202B_206F_206F_200E_200F_202C_206A_200E_202A_200B_202B_202A_206D_206E_200C_200B_206F_200D_206F_202D_202D_200E_200F_200E_202E_200D_206A_202E(text, global::_003CModule_003E._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(-17723474)) ? (-2010192570) : (-2010192565)); + break; + case 18: + { + int valueOrDefault = num7.GetValueOrDefault(); + stopCondition.Mode = (EStopConditionMode)valueOrDefault; + num = -2010192572; + break; + } + case 21: + goto IL_04e6; + case 27: + stopCondition2 = new InventoryFullCondition(); + num = -2010192575; + break; + case 1: + num7 = _200F_202B_202C_206A_206F_200F_206B_202C_200C_202C_200B_202B_200E_206C_200F_200D_200E_206D_202D_206C_206B_200D_200B_202E_200B_200F_202E_202B_206E_206D_206D_202C_202D_206B_206E_206A_200B_206C_206E_202E_202E(jObject, global::_003CModule_003E._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(-672065767))?.Value(); + num = ((!num7.HasValue) ? (-2010192572) : (-2010192561)); + break; + case 13: + { + num = -2010192551; + break; + } + IL_0394: + num = (_206A_206B_206D_206E_206B_202D_200F_202C_200C_202B_206A_200C_206F_202B_206F_206F_200E_200F_202C_206A_200E_202A_200B_202B_202A_206D_206E_200C_200B_206F_200D_206F_202D_202D_200E_200F_200E_202E_200D_206A_202E(text, global::_003CModule_003E._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(-1252232514)) ? (-2010192574) : (-2010192576)); + break; + IL_0370: + num = -2010192559; + break; + IL_02f2: + num = (_206A_206B_206D_206E_206B_202D_200F_202C_200C_202B_206A_200C_206F_202B_206F_206F_200E_200F_202C_206A_200E_202A_200B_202B_202A_206D_206E_200C_200B_206F_200D_206F_202D_202D_200E_200F_200E_202E_200D_206A_202E(text, global::_003CModule_003E._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(1543657704)) ? (-2010192555) : (-2010192550)); + break; + IL_026d: + num = (_206A_206B_206D_206E_206B_202D_200F_202C_200C_202B_206A_200C_206F_202B_206F_206F_200E_200F_202C_206A_200E_202A_200B_202B_202A_206D_206E_200C_200B_206F_200D_206F_202D_202D_200E_200F_200E_202E_200D_206A_202E(text, global::_003CModule_003E._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(512682232)) ? (-2010192547) : (-2010192560)); + break; + IL_04e6: + num = (_206A_206B_206D_206E_206B_202D_200F_202C_200C_202B_206A_200C_206F_202B_206F_206F_200E_200F_202C_206A_200E_202A_200B_202B_202A_206D_206E_200C_200B_206F_200D_206F_202D_202D_200E_200F_200E_202E_200D_206A_202E(text, global::_003CModule_003E._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(-1372234188)) ? (-2010192569) : (-2010192554)); + break; + IL_03e3: + c = _206D_206F_202A_202E_202A_200F_206C_202D_202E_200D_200F_206B_206C_206C_200C_202E_200B_202A_202C_206A_202C_200F_200B_206F_206C_206A_200D_200C_206C_200D_206E_200F_206E_206E_202D_206A_206D_200C_202C_202A_202E(text, 0); + num = ((c == 'I') ? (-2010192573) : (-2010192564)); + break; + IL_0152: + stopCondition2 = null; + num = -2010192575; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override void WriteJson(JsonWriter writer, StopCondition? value, JsonSerializer serializer) + { + int num = ((value == null) ? (-588005033) : (-588005040)); + JObject jObject = default(JObject); + QuestCompleteCondition questCompleteCondition = default(QuestCompleteCondition); + LevelCondition levelCondition = default(LevelCondition); + QuestAcceptCondition questAcceptCondition = default(QuestAcceptCondition); + GlobalSequenceCondition globalSequenceCondition = default(GlobalSequenceCondition); + GilThresholdCondition gilThresholdCondition = default(GilThresholdCondition); + while (true) + { + int num2 = num; + int num3 = -588005025; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -588005040; + break; + case 11: + _202C_200D_202D_206A_200C_200F_206B_202B_206F_200D_200D_200C_202E_200E_206E_206F_202B_202E_200F_202E_202E_200D_202C_202C_206C_206B_202C_202B_206A_200D_206C_206F_202C_202D_206A_206A_206D_200E_202C_202E(jObject, global::_003CModule_003E._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(-1722090064), _206B_202A_206F_200D_202E_202A_202B_200B_202D_206A_206B_200B_206A_202A_202C_206C_206C_200B_206E_202D_200D_202C_200F_206C_206F_206B_206A_206E_206C_206A_200C_202E_202E_206B_202A_206A_206D_202D_202D_206F_202E(_200D_206A_206B_206D_206B_202D_202B_206F_206C_200F_202D_200C_202B_202A_200B_206E_206F_200B_206B_206C_206D_200D_200D_206F_206C_206F_200E_200B_200C_202E_206D_206D_200E_202B_202D_202C_200B_200C_206C_202E((object)questCompleteCondition.QuestId))); + num = ((!questCompleteCondition.Sequence.HasValue) ? (-588005027) : (-588005032)); + break; + case 13: + _202C_200D_202D_206A_200C_200F_206B_202B_206F_200D_200D_200C_202E_200E_206E_206F_202B_202E_200F_202E_202E_200D_202C_202C_206C_206B_202C_202B_206A_200D_206C_206F_202C_202D_206A_206A_206D_200E_202C_202E(jObject, global::_003CModule_003E._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(-1235586580), _202C_200E_202B_206A_202B_206A_206E_206E_202C_200E_202C_202A_206A_206C_206F_202A_200E_202D_200C_200E_200D_202C_206F_202D_206A_202C_200F_200B_202C_202E_200D_202A_202B_206D_206D_202B_202E_200F_202D_200E_202E(levelCondition.TargetLevel)); + num = -588005027; + break; + case 6: + questAcceptCondition = value as QuestAcceptCondition; + num = ((questAcceptCondition != null) ? (-588005030) : (-588005037)); + break; + case 9: + globalSequenceCondition = value as GlobalSequenceCondition; + num = ((globalSequenceCondition != null) ? (-588005028) : (-588005026)); + break; + case 5: + _202C_200D_202D_206A_200C_200F_206B_202B_206F_200D_200D_200C_202E_200E_206E_206F_202B_202E_200F_202E_202E_200D_202C_202C_206C_206B_202C_202B_206A_200D_206C_206F_202C_202D_206A_206A_206D_200E_202C_202E(jObject, global::_003CModule_003E._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(764363779), _206B_202A_206F_200D_202E_202A_202B_200B_202D_206A_206B_200B_206A_202A_202C_206C_206C_200B_206E_202D_200D_202C_200F_206C_206F_206B_206A_206E_206C_206A_200C_202E_202E_206B_202A_206A_206D_202D_202D_206F_202E(_200D_206A_206B_206D_206B_202D_202B_206F_206C_200F_202D_200C_202B_202A_200B_206E_206F_200B_206B_206C_206D_200D_200D_206F_206C_206F_200E_200B_200C_202E_206D_206D_200E_202B_202D_202C_200B_200C_206C_202E((object)questAcceptCondition.QuestId))); + num = -588005027; + break; + case 14: + { + JObject jObject2 = _202A_202B_202E_206A_202D_200C_206E_200C_202E_200B_206E_206A_206E_206C_206D_206A_206B_200D_206B_202B_202D_202A_202D_202D_206B_206A_202D_202B_206D_202B_206D_202A_202D_202E_202E_200E_202D_200D_202E_206A_202E(); + _202C_200D_202D_206A_200C_200F_206B_202B_206F_200D_200D_200C_202E_200E_206E_206F_202B_202E_200F_202E_202E_200D_202C_202C_206C_206B_202C_202B_206A_200D_206C_206F_202C_202D_206A_206A_206D_200E_202C_202E(jObject2, global::_003CModule_003E._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(-1591043485), _206B_202A_206F_200D_202E_202A_202B_200B_202D_206A_206B_200B_206A_202A_202C_206C_206C_200B_206E_202D_200D_202C_200F_206C_206F_206B_206A_206E_206C_206A_200C_202E_202E_206B_202A_206A_206D_202D_202D_206F_202E(value.Type.ToString())); + _202C_200D_202D_206A_200C_200F_206B_202B_206F_200D_200D_200C_202E_200E_206E_206F_202B_202E_200F_202E_202E_200D_202C_202C_206C_206B_202C_202B_206A_200D_206C_206F_202C_202D_206A_206A_206D_200E_202C_202E(jObject2, global::_003CModule_003E._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(1945719235), _202C_200E_202B_206A_202B_206A_206E_206E_202C_200E_202C_202A_206A_206C_206F_202A_200E_202D_200C_200E_200D_202C_206F_202D_206A_202C_200F_200B_202C_202E_200D_202A_202B_206D_206D_202B_202E_200F_202D_200E_202E((int)value.Mode)); + jObject = jObject2; + questCompleteCondition = value as QuestCompleteCondition; + num = ((questCompleteCondition != null) ? (-588005036) : (-588005031)); + break; + } + case 7: + _202C_200D_202D_206A_200C_200F_206B_202B_206F_200D_200D_200C_202E_200E_206E_206F_202B_202E_200F_202E_202E_200D_202C_202C_206C_206B_202C_202B_206A_200D_206C_206F_202C_202D_206A_206A_206D_200E_202C_202E(jObject, global::_003CModule_003E._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(-5124988), _202E_206B_200F_202D_202A_200B_202C_202B_200E_202E_206D_202A_206E_206A_206E_206A_206D_206B_206E_206E_200F_206E_206F_202B_202C_206D_202D_206B_206E_202A_202A_206F_206E_202B_200D_200B_202D_206F_202A_202E_202E(questCompleteCondition.Sequence)); + num = -588005027; + break; + case 1: + gilThresholdCondition = value as GilThresholdCondition; + num = ((gilThresholdCondition != null) ? (-588005035) : (-588005029)); + break; + case 10: + _202C_200D_202D_206A_200C_200F_206B_202B_206F_200D_200D_200C_202E_200E_206E_206F_202B_202E_200F_202E_202E_200D_202C_202C_206C_206B_202C_202B_206A_200D_206C_206F_202C_202D_206A_206A_206D_200E_202C_202E(jObject, global::_003CModule_003E._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(-51044274), _202C_200E_202B_206A_202B_206A_206E_206E_202C_200E_202C_202A_206A_206C_206F_202A_200E_202D_200C_200E_200D_202C_206F_202D_206A_202C_200F_200B_202C_202E_200D_202A_202B_206D_206D_202B_202E_200F_202D_200E_202E(gilThresholdCondition.MinGil)); + num = -588005027; + break; + case 12: + levelCondition = value as LevelCondition; + num = ((levelCondition != null) ? (-588005038) : (-588005034)); + break; + case 8: + _202B_206F_206B_202D_200F_202E_206B_206E_202C_202A_202B_200E_202B_206F_202D_206B_206A_200E_206E_206A_202A_202B_202C_202C_200D_206B_200B_206A_200D_206E_202C_206C_200B_202D_206C_200E_200E_206F_200D_202D_202E(writer); + return; + case 4: + num = -588005027; + break; + case 2: + _200F_206E_200B_206B_200B_200F_200B_200F_206F_206A_206D_200F_206F_202A_202E_202B_202C_202B_206B_200E_200B_206F_202D_200B_206E_206A_206C_200B_200E_202A_202A_200D_202E_206B_200B_206B_200E_206F_200B_200F_202E((JToken)jObject, writer); + return; + case 3: + _202C_200D_202D_206A_200C_200F_206B_202B_206F_200D_200D_200C_202E_200E_206E_206F_202B_202E_200F_202E_202E_200D_202C_202C_206C_206B_202C_202B_206A_200D_206C_206F_202C_202D_206A_206A_206D_200E_202C_202E(jObject, global::_003CModule_003E._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(-512840921), _202C_200E_202B_206A_202B_206A_206E_206E_202C_200E_202C_202A_206A_206C_206F_202A_200E_202D_200C_200E_200D_202C_206F_202D_206A_202C_200F_200B_202C_202E_200D_202A_202B_206D_206D_202B_202E_200F_202D_200E_202E(globalSequenceCondition.TargetSequence)); + num = -588005027; + break; + case 15: + num = ((!value.IsSession) ? (-588005039) : (-588005033)); + break; + } + } + } + + private static ElementId? DeserializeElementId(JToken? token) + { + int num = ((token != null) ? (-620565956) : (-620565958)); + ElementId result = default(ElementId); + string text = default(string); + while (true) + { + int num2 = num; + int num3 = -620565956; + int num4 = num2; + object obj; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -620565958; + break; + case 2: + return null; + case 1: + return result; + case 0: + obj = token.Value(); + goto IL_0069; + case 4: + num = (_200C_202C_200F_202B_202B_206A_200C_202B_206A_202D_202B_206B_202B_202D_202D_202C_200C_206F_202D_206D_202B_202B_202E_200F_202E_202A_206F_206A_202B_200C_202E_202A_206C_202D_206C_206F_206F_202E_206E_202D_202E(text, ref result) ? (-620565955) : (-620565954)); + break; + case 5: + return null; + case 6: + { + obj = null; + goto IL_0069; + } + IL_0069: + text = (string)obj; + num = ((text != null) ? (-620565960) : (-620565959)); + break; + } + } + } + + static JObject _206C_200E_206F_200F_202C_202D_200B_200E_200D_200D_200F_202E_206B_206E_202C_206B_206F_200E_206C_202D_200E_202E_206D_206E_202C_202E_206D_200C_206E_202E_206F_200C_202E_206D_206E_202D_206E_202C_206B_200D_202E(JsonReader P_0) + { + return JObject.Load(P_0); + } + + static JToken _200F_202B_202C_206A_206F_200F_206B_202C_200C_202C_200B_202B_200E_206C_200F_200D_200E_206D_202D_206C_206B_200D_200B_202E_200B_200F_202E_202B_206E_206D_206D_202C_202D_206B_206E_206A_200B_206C_206E_202E_202E(JObject P_0, string P_1) + { + return P_0[P_1]; + } + + static int _206F_202A_200E_206F_206E_206C_206D_206A_202D_202B_202B_206C_206B_206B_202B_200C_200F_200C_202D_202E_206B_206E_200B_200D_202C_206E_206C_202A_202D_200E_206F_202C_200D_206E_202A_202D_202B_200C_206D_206A_202E(string P_0) + { + return P_0.Length; + } + + static char _206D_206F_202A_202E_202A_200F_206C_202D_202E_200D_200F_206B_206C_206C_200C_202E_200B_202A_202C_206A_202C_200F_200B_206F_206C_206A_200D_200C_206C_200D_206E_200F_206E_206E_202D_206A_206D_200C_202C_202A_202E(string P_0, int P_1) + { + return P_0[P_1]; + } + + static bool _206A_206B_206D_206E_206B_202D_200F_202C_200C_202B_206A_200C_206F_202B_206F_206F_200E_200F_202C_206A_200E_202A_200B_202B_202A_206D_206E_200C_200B_206F_200D_206F_202D_202D_200E_200F_200E_202E_200D_206A_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static void _202B_206F_206B_202D_200F_202E_206B_206E_202C_202A_202B_200E_202B_206F_202D_206B_206A_200E_206E_206A_202A_202B_202C_202C_200D_206B_200B_206A_200D_206E_202C_206C_200B_202D_206C_200E_200E_206F_200D_202D_202E(JsonWriter P_0) + { + P_0.WriteNull(); + } + + static JObject _202A_202B_202E_206A_202D_200C_206E_200C_202E_200B_206E_206A_206E_206C_206D_206A_206B_200D_206B_202B_202D_202A_202D_202D_206B_206A_202D_202B_206D_202B_206D_202A_202D_202E_202E_200E_202D_200D_202E_206A_202E() + { + return new JObject(); + } + + static JToken _206B_202A_206F_200D_202E_202A_202B_200B_202D_206A_206B_200B_206A_202A_202C_206C_206C_200B_206E_202D_200D_202C_200F_206C_206F_206B_206A_206E_206C_206A_200C_202E_202E_206B_202A_206A_206D_202D_202D_206F_202E(string P_0) + { + return P_0; + } + + static void _202C_200D_202D_206A_200C_200F_206B_202B_206F_200D_200D_200C_202E_200E_206E_206F_202B_202E_200F_202E_202E_200D_202C_202C_206C_206B_202C_202B_206A_200D_206C_206F_202C_202D_206A_206A_206D_200E_202C_202E(JObject P_0, string P_1, JToken P_2) + { + P_0[P_1] = P_2; + } + + static JToken _202C_200E_202B_206A_202B_206A_206E_206E_202C_200E_202C_202A_206A_206C_206F_202A_200E_202D_200C_200E_200D_202C_206F_202D_206A_202C_200F_200B_202C_202E_200D_202A_202B_206D_206D_202B_202E_200F_202D_200E_202E(int P_0) + { + return P_0; + } + + static string _200D_206A_206B_206D_206B_202D_202B_206F_206C_200F_202D_200C_202B_202A_200B_206E_206F_200B_206B_206C_206D_200D_200D_206F_206C_206F_200E_200B_200C_202E_206D_206D_200E_202B_202D_202C_200B_200C_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static JToken _202E_206B_200F_202D_202A_200B_202C_202B_200E_202E_206D_202A_206E_206A_206E_206A_206D_206B_206E_206E_200F_206E_206F_202B_202C_206D_202D_206B_206E_202A_202A_206F_206E_202B_200D_200B_202D_206F_202A_202E_202E(int? P_0) + { + return P_0; + } + + static void _200F_206E_200B_206B_200B_200F_200B_200F_206F_206A_206D_200F_206F_202A_202E_202B_202C_202B_206B_200E_200B_206F_202D_200B_206E_206A_206C_200B_200E_202A_202A_200D_202E_206B_200B_206B_200E_206F_200B_200F_202E(JToken P_0, JsonWriter P_1) + { + P_0.WriteTo(P_1); + } + + static bool _200C_202C_200F_202B_202B_206A_200C_202B_206A_202D_202B_206B_202B_202D_202D_202C_200C_206F_202D_206D_202B_202B_202E_200F_202E_202A_206F_206A_202B_200C_202E_202A_206C_202D_206C_206F_206F_202E_206E_202D_202E(string P_0, ref ElementId P_1) + { + return ElementId.TryFromString(P_0, out P_1); + } +} diff --git a/Questionable/Questionable.Controller.Conditions/StopEvaluationContext.cs b/Questionable/Questionable.Controller.Conditions/StopEvaluationContext.cs new file mode 100644 index 00000000..c18804cb --- /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 00000000..0fca1058 --- /dev/null +++ b/Questionable/Questionable.Controller.Conditions/TimePlayedCondition.cs @@ -0,0 +1,27 @@ +using System; +using System.Runtime.CompilerServices; + +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); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string GetDescription() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 1); + defaultInterpolatedStringHandler.AppendFormatted(Minutes); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-470345411)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/DeliveryNpcApproachExecutor.cs b/Questionable/Questionable.Controller.CustomDelivery/DeliveryNpcApproachExecutor.cs new file mode 100644 index 00000000..00991450 --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/DeliveryNpcApproachExecutor.cs @@ -0,0 +1,603 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +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; + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + _candidates.Clear(); + _candidateIndex = 0; + _moving = false; + _pathfindTask = null; + _cancellationTokenSource = _202C_206C_202B_200E_200E_206D_202D_202C_200E_206F_206A_202B_202B_202A_206B_206A_206E_206B_200E_200F_206A_206B_200B_200D_206A_206D_200E_206C_200D_202D_202E_202B_202B_202A_200F_200F_200D_200F_202A_202A_202E(TimeSpan.FromSeconds(30L)); + IPlayerCharacter playerCharacter = _206D_202C_200D_202A_206B_202B_206F_202C_206A_200B_206F_200F_200E_202A_200F_202B_202A_206E_200E_206D_202A_200B_206C_202D_206E_206F_206E_206C_206F_202C_206F_202B_202A_200B_200E_202D_206A_206D_202E_206C_202E(objectTable); + IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.NpcDataId, null, warnIfMissing: false); + _npcPosition = ((gameObject != null) ? _200E_200C_200C_200B_202B_202D_206F_200F_202A_206A_206E_206F_206F_206E_202A_206B_206C_202B_206B_202B_206C_202E_206A_206A_206C_202B_206E_202A_206D_206A_202E_200B_200F_202E_200F_206C_200E_202D_200C_202A_202E(gameObject) : base.Task.NpcPosition); + _interactionDistance = 3f + ((gameObject != null) ? _200B_200D_202E_206D_206E_200F_200E_200B_206D_202D_202C_200E_200E_200B_206D_200E_200C_202B_206E_202E_202B_202A_202A_206D_206A_206B_206C_200B_206F_206A_202B_202B_202C_206B_200E_202A_206D_206A_200C_202B_202E(gameObject) : 0f) + ((playerCharacter != null) ? _200B_200D_202E_206D_206E_200F_200E_200B_206D_202D_202C_200E_200E_200B_206D_200E_200C_202B_206E_202E_202B_202A_202A_206D_206A_206B_206C_200B_206F_206A_202B_202B_202C_206B_200E_202A_206D_206A_200C_202B_202E((IGameObject)playerCharacter) : 0f); + int num = ((playerCharacter == null) ? (-965250056) : (-965250059)); + int num5 = default(int); + Vector3? pointOnFloor = default(Vector3?); + float num6 = default(float); + float num7 = default(float); + while (true) + { + int num2 = num; + int num3 = -965250056; + int num4 = num2; + int num14; + int num15; + float num16; + Vector3 position; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + _202A_200F_206B_200E_200D_206D_206F_206F_200D_206A_206A_202C_206C_206A_202C_206F_206A_202D_200B_206E_206D_202D_202C_206E_202E_200E_200B_206E_202B_206D_202E_200B_200D_206B_206E_206D_206E_200B_206B_202D_202E((ILogger)logger, global::_003CModule_003E._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(90792700), new object[3] + { + _candidates.Count, + base.Task.NpcDataId, + _interactionDistance + }); + StartNextPathfind(); + return true; + case 12: + num = ((num5 == 0) ? (-965250052) : (-965250055)); + break; + case 4: + num14 = 0; + goto IL_01a9; + case 9: + num = ((!(Vector2.Distance(new Vector2(pointOnFloor.Value.X, pointOnFloor.Value.Z), new Vector2(_npcPosition.X, _npcPosition.Z)) <= _interactionDistance)) ? (-965250064) : (-965250051)); + break; + case 13: + num = ((_200C_202B_200C_206A_206D_206A_202E_202B_206A_200F_200F_200F_202A_206F_206D_202B_200B_202C_200F_200D_206B_206D_200B_202E_202A_202A_202C_200C_206F_202E_200C_200F_202B_200D_200D_202C_202E_202E_200D_206A_202E(clientState) == base.Task.TerritoryId) ? (-965250054) : (-965250056)); + break; + case 5: + num = ((!HasLineOfSight(pointOnFloor.Value, _npcPosition)) ? (-965250064) : (-965250061)); + break; + case 0: + return true; + case 1: + { + int num11 = num5; + num3 = 1; + num4 = num11; + int num12 = num4 ^ num3; + int num13 = num4 & num3; + num14 = (num12 + (num13 + num13)) / 2 * ((num5 % 2 == 1) ? 1 : (-1)); + goto IL_01a9; + } + case 10: + num = ((num5 < 24) ? (-965250060) : (-965250049)); + break; + case 8: + { + int num8 = num5; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num5 = num9 + (num10 + num10); + num = -965250062; + break; + } + case 3: + num = -965250059; + break; + case 2: + num6 = _200E_200F_200D_206C_206A_202C_206B_206F_202B_202C_200E_200D_206A_200E_206D_200B_200B_202A_206E_202A_202D_202E_206B_200C_200B_206A_200B_200C_206E_200B_200D_206D_200C_202B_206F_200F_200B_202B_200C_200E_202E(_200E_200C_200C_200B_202B_202D_206F_200F_202A_206A_206E_206F_206F_206E_202A_206B_206C_202B_206B_202B_206C_202E_206A_206A_206C_202B_206E_202A_206D_206A_202E_200B_200F_202E_200F_206C_200E_202D_200C_202A_202E((IGameObject)playerCharacter).X - _npcPosition.X, _200E_200C_200C_200B_202B_202D_206F_200F_202A_206A_206E_206F_206F_206E_202A_206B_206C_202B_206B_202B_206C_202E_206A_206A_206C_202B_206E_202A_206D_206A_202E_200B_200F_202E_200F_206C_200E_202D_200C_202A_202E((IGameObject)playerCharacter).Z - _npcPosition.Z); + num7 = _202B_200F_200E_206C_200E_206B_202C_202D_200B_200C_202A_206C_200F_200B_200D_200C_200B_206E_206D_202C_202D_200E_200D_202C_202A_206F_200B_200C_202B_206E_200B_202B_200F_206B_206A_200B_206E_202A_206D_206F_202E(1f, _interactionDistance - 0.5f); + num5 = 0; + num = -965250062; + break; + case 11: + num = ((!HasBodyClearance(pointOnFloor.Value, _200B_200D_202E_206D_206E_200F_200E_200B_206D_202D_202C_200E_200E_200B_206D_200E_200C_202B_206E_202E_202B_202A_202A_206D_206A_206B_206C_200B_206F_206A_202B_202B_202C_206B_200E_202A_206D_206A_200C_202B_202E((IGameObject)playerCharacter) + 0.5f)) ? (-965250064) : (-965250050)); + break; + case 6: + { + _candidates.Add(pointOnFloor.Value); + num = -965250064; + break; + } + IL_01a9: + num15 = num14; + num16 = num6 + MathF.PI * 2f * (float)num15 / 24f; + position = new Vector3(_npcPosition.X + _202B_202D_206B_200B_200B_200B_202A_206A_202B_206F_202B_206F_206F_206D_206B_200C_206D_202A_206B_202D_200C_206B_206C_206F_206D_206B_202E_202A_202D_206A_206E_206F_200D_202C_200F_202A_206F_200D_206A_202E_202E(num16) * num7, _npcPosition.Y + 5f, _npcPosition.Z + _200B_202E_202E_206A_202B_202B_202A_200E_206A_202E_202D_200B_200C_202D_202D_202E_202C_200C_206C_200E_200F_206D_200D_200B_200C_202A_200B_206E_206E_202C_202D_202A_200B_202C_206C_206C_202C_202E_206D_202E_202E(num16) * num7); + pointOnFloor = navmeshIpc.GetPointOnFloor(position, unlandable: false, 0.75f); + num = ((!pointOnFloor.HasValue) ? (-965250064) : (-965250063)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + int num = ((!_moving) ? (-1907182923) : (-1907182931)); + Vector3 vector = default(Vector3); + NavPathfindResult result = default(NavPathfindResult); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + float num6 = default(float); + IPlayerCharacter playerCharacter2 = default(IPlayerCharacter); + while (true) + { + int num2 = num; + int num3 = -1907182938; + int num4 = num2; + float num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 17: + { + List candidates = _candidates; + int candidateIndex = _candidateIndex; + num3 = 1; + num4 = candidateIndex; + vector = candidates[~(~num4 + num3)]; + result = _pathfindTask.Result; + num = (result.HasPartialInfo ? (-1907182936) : (-1907182924)); + break; + } + case 16: + num = ((_candidateIndex < _candidates.Count) ? (-1907182927) : (-1907182930)); + break; + case 19: + num = ((_pathfindTask != null) ? (-1907182940) : (-1907182922)); + break; + case 8: + throw new MovementController.PathfindingFailedException(global::_003CModule_003E._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(1585195763)); + case 6: + num = ((!movementController.IsPathRunning) ? (-1907182925) : (-1907182941)); + break; + case 29: + num = ((!_202C_202E_202A_200B_206B_200F_200F_206E_202A_206B_202A_206A_202C_202A_200C_206A_202A_200C_200D_200C_202A_206E_206A_200D_206C_206E_206C_202C_202C_206E_206C_200D_202A_206D_202C_206A_202D_202C_202C_200E_202E((System.Threading.Tasks.Task)_pathfindTask)) ? (-1907182937) : (-1907182928)); + break; + case 7: + _202A_200F_206B_200E_200D_206D_206F_206F_200D_206A_206A_202C_206C_206A_202C_206F_206A_202D_200B_206E_206D_202D_202C_206E_202E_200E_200B_206E_202B_206D_202E_200B_200D_206B_206E_206D_206E_200B_206B_202D_202E((ILogger)logger, global::_003CModule_003E._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(190605907), new object[1] { vector }); + movementController.NavigateTo(EMovementType.Quest, base.Task.NpcDataId, result.Waypoints, fly: false, sprint: true, 0.5f); + _moving = true; + return ETaskResult.StillRunning; + case 24: + num = (result.IsPartial ? (-1907182929) : (-1907182933)); + break; + case 20: + throw new MovementController.PathfindingFailedException(global::_003CModule_003E._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(-1442579003)); + case 2: + num = (_200F_200F_202B_206F_206E_202E_206A_206B_202B_200D_200F_200F_202A_206E_206A_200F_200E_200D_206B_202E_206E_206D_206B_202E_206C_200C_200E_202B_202E_200B_200F_202D_200B_200E_200E_206B_202B_200C_206E_206D_202E((System.Threading.Tasks.Task)_pathfindTask) ? (-1907182917) : (-1907182913)); + break; + case 22: + throw new MovementController.PathfindingFailedException(global::_003CModule_003E._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(688174064)); + case 27: + num = ((playerCharacter == null) ? (-1907182929) : (-1907182942)); + break; + case 14: + num5 = result.EndDistance; + goto IL_02ae; + case 23: + StartNextPathfind(); + return ETaskResult.StillRunning; + case 11: + num = (movementController.IsPathfinding ? (-1907182941) : (-1907182944)); + break; + case 1: + num = ((!_202E_202B_206F_200E_200D_206D_206B_206F_206B_200B_206F_206F_200D_200D_200C_200F_200C_206F_200D_200B_200C_202D_206D_202D_206A_200D_206D_206B_206E_202E_206C_202C_206B_202E_200E_200F_202E_200D_206F_206B_202E((System.Threading.Tasks.Task)_pathfindTask)) ? (-1907182921) : (-1907182939)); + break; + case 0: + num = -1907182931; + break; + case 12: + num = ((!result.HasPartialInfo) ? (-1907182933) : (-1907182914)); + break; + case 13: + num = ((!(num6 <= 1f)) ? (-1907182929) : (-1907182915)); + break; + case 15: + { + List waypoints = result.Waypoints; + num5 = Vector3.Distance(waypoints[waypoints.Count - 1], vector); + goto IL_02ae; + } + case 21: + playerCharacter2 = _206D_202C_200D_202A_206B_202B_206F_202C_206A_200B_206F_200F_200E_202A_200F_202B_202A_206E_200E_206D_202A_200B_206C_202D_206E_206F_206E_206C_206F_202C_206F_202B_202A_200B_200E_202D_206A_206D_202E_206C_202E(objectTable); + num = ((playerCharacter2 == null) ? (-1907182926) : (-1907182918)); + break; + case 3: + _200E_206D_206E_206A_200C_202B_206B_202D_206B_200C_200D_202C_206A_206B_200F_206C_200D_200F_206B_202B_206E_202E_206B_202A_200C_206F_206A_206D_200E_200F_202D_202E_206E_206B_202D_200B_202C_202D_202B_200E_202E((ILogger)logger, (Exception)_206B_206A_200F_206E_202E_206D_200C_202A_200E_202A_202A_206F_206C_200B_202C_202E_206A_202C_202B_200D_200C_206D_200E_202C_206E_202B_206B_202C_202E_200C_200D_206E_206A_200D_200E_206B_200E_202A_206D_200D_202E((System.Threading.Tasks.Task)_pathfindTask), global::_003CModule_003E._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(-1595020908), Array.Empty()); + _pathfindTask = null; + return ETaskResult.StillRunning; + case 28: + num = ((!(Vector3.Distance(_200E_200C_200C_200B_202B_202D_206F_200F_202A_206A_206E_206F_206F_206E_202A_206B_206C_202B_206B_202B_206C_202E_206A_206A_206C_202B_206E_202A_206D_206A_202E_200B_200F_202E_200F_206C_200E_202D_200C_202A_202E((IGameObject)playerCharacter2), _npcPosition) <= _interactionDistance + 0.5f)) ? (-1907182926) : (-1907182916)); + break; + case 25: + return ETaskResult.StillRunning; + case 26: + return ETaskResult.TaskComplete; + case 18: + num = ((result.Waypoints.Count > 0) ? (-1907182935) : (-1907182932)); + break; + case 10: + num5 = float.MaxValue; + goto IL_02ae; + case 9: + _pathfindTask = null; + return ETaskResult.StillRunning; + case 4: + num = ((!HasCollisionFreePath(_200E_200C_200C_200B_202B_202D_206F_200F_202A_206A_206E_206F_206F_206E_202A_206B_206C_202B_206B_202B_206C_202E_206A_206A_206C_202B_206E_202A_206D_206A_202E_200B_200F_202E_200F_206C_200E_202D_200C_202A_202E((IGameObject)playerCharacter), result.Waypoints)) ? (-1907182929) : (-1907182943)); + break; + case 5: + { + return ETaskResult.StillRunning; + } + IL_02ae: + num6 = num5; + playerCharacter = _206D_202C_200D_202A_206B_202B_206F_202C_206A_200B_206F_200F_200E_202A_200F_202B_202A_206E_200E_206D_202A_200B_206C_202D_206E_206F_206E_206C_206F_202C_206F_202B_202A_200B_200E_202D_206A_206D_202E_206C_202E(objectTable); + num = ((result.Waypoints.Count <= 0) ? (-1907182929) : (-1907182934)); + break; + } + } + } + + private void StartNextPathfind() + { + IPlayerCharacter playerCharacter = _206D_202C_200D_202A_206B_202B_206F_202C_206A_200B_206F_200F_200E_202A_200F_202B_202A_206E_200E_206D_202A_200B_206C_202D_206E_206F_206E_206C_206F_202C_206F_202B_202A_200B_200E_202D_206A_206D_202E_206C_202E(objectTable); + int num = ((playerCharacter == null) ? 461991521 : 461991527); + while (true) + { + int num2 = num; + int num3 = 461991523; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((_cancellationTokenSource != null) ? 461991520 : 461991521); + break; + case 4: + num = ((_candidateIndex >= _candidates.Count) ? 461991521 : 461991522); + break; + case 2: + return; + case 0: + num = 461991527; + break; + case 3: + { + List candidates = _candidates; + int candidateIndex = _candidateIndex; + num3 = 1; + num4 = candidateIndex; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + _candidateIndex = num5 + (num6 + num6); + Vector3 targetPosition = candidates[candidateIndex]; + _pathfindTask = navmeshIpc.Pathfind(_200E_200C_200C_200B_202B_202D_206F_200F_202A_206A_206E_206F_206F_206E_202A_206B_206C_202B_206B_202B_206C_202E_206A_206A_206C_202B_206E_202A_206D_206A_202E_200B_200F_202E_200F_206C_200E_202D_200C_202A_202E((IGameObject)playerCharacter), targetPosition, fly: false, _202E_206E_200F_206F_200D_200C_206D_202A_200C_200D_202C_200F_202D_206F_206D_206F_206E_200D_206E_202C_200C_206E_200C_206F_206B_206B_200D_200C_200F_200D_202E_206E_202A_206F_202D_202C_206D_200C_206F_200D_202E(_cancellationTokenSource)); + return; + } + } + } + } + + private static bool HasLineOfSight(Vector3 from, Vector3 to) + { + return HasLineOfSightAtHeight(from, to, 2f); + } + + private static bool HasBodyClearance(Vector3 position, float radius) + { + int num = 0; + int num2 = 883120263; + while (true) + { + int num3 = num2; + int num4 = 883120261; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 4: + num2 = 883120263; + break; + case 0: + return false; + case 1: + return true; + case 2: + num2 = ((num < 8) ? 883120262 : 883120260); + break; + case 5: + { + int num9 = num; + num4 = 1; + num5 = num9; + num = (num5 | num4) + (num5 & num4); + num2 = 883120263; + break; + } + case 3: + { + float num8 = MathF.PI * 2f * (float)num / 8f; + num2 = (HasLineOfSightAtHeight(to: new Vector3(position.X + _202B_202D_206B_200B_200B_200B_202A_206A_202B_206F_202B_206F_206F_206D_206B_200C_206D_202A_206B_202D_200C_206B_206C_206F_206D_206B_202E_202A_202D_206A_206E_206F_200D_202C_200F_202A_206F_200D_206A_202E_202E(num8) * radius, position.Y, position.Z + _200B_202E_202E_206A_202B_202B_202A_200E_206A_202E_202D_200B_200C_202D_202D_202E_202C_200C_206C_200E_200F_206D_200D_200B_200C_202A_200B_206E_206E_202C_202D_202A_200B_202C_206C_206C_202C_202E_206D_202E_202E(num8) * radius), from: position, height: 1f) ? 883120256 : 883120261); + break; + } + } + } + } + + private static bool HasCollisionFreePath(Vector3 start, IReadOnlyList waypoints) + { + Vector3 vector = start; + IEnumerator enumerator = waypoints.GetEnumerator(); + try + { + int num = -1337017310; + Vector3 current = default(Vector3); + while (true) + { + int num2 = num; + int num3 = -1337017311; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = -1337017310; + break; + case 4: + return false; + case 1: + current = enumerator.Current; + num = ((!HasLineOfSightAtHeight(vector, current, 0.75f)) ? (-1337017307) : (-1337017309)); + break; + case 2: + num = (HasLineOfSightAtHeight(vector, current, 1.5f) ? (-1337017311) : (-1337017307)); + break; + case 3: + num = (_206D_202B_202E_200E_202C_206A_200E_200B_206E_202E_206F_206A_200C_206D_200B_206E_200F_202D_202C_206D_200D_206F_202A_200C_206D_200B_202E_200D_206A_206B_202D_202A_202A_206F_202D_200C_202C_206A_200B_200D_202E((IEnumerator)enumerator) ? (-1337017312) : (-1337017308)); + break; + case 0: + vector = current; + num = -1337017310; + break; + case 5: + goto end_IL_0015; + } + continue; + end_IL_0015: + break; + } + } + finally + { + int num = ((enumerator == null) ? (-1236481576) : (-1236481575)); + while (true) + { + int num5 = num; + int num3 = -1236481576; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + num = -1236481575; + break; + case 0: + goto end_IL_011d; + case 1: + _200F_200B_206B_200E_202D_202A_202C_200F_202B_206E_200D_200B_206D_206C_202C_206F_202D_200C_206F_202D_202A_202D_206F_202E_206B_206F_200B_202D_200B_200D_200E_202A_200F_200E_200E_200E_200F_206F_206E_206E_202E((IDisposable)enumerator); + num = -1236481576; + break; + } + continue; + end_IL_011d: + break; + } + } + return true; + } + + private unsafe static bool HasLineOfSightAtHeight(Vector3 from, Vector3 to, float height) + { + Framework* ptr = Framework.Instance(); + int num = ((ptr == null) ? (-2105382518) : (-2105382517)); + Vector3 vector = default(Vector3); + float num7 = default(float); + RaycastHit raycastHit = default(RaycastHit); + while (true) + { + int num2 = num; + int num3 = -2105382513; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + return true; + case 1: + return true; + case 3: + { + Vector3 vector2 = vector / num7; + int* flags = stackalloc int[4] { 16384, 0, 16384, 0 }; + return !ptr->BGCollisionModule->RaycastMaterialFilter(&raycastHit, &from, &vector2, num7, 1, flags); + } + case 0: + num = -2105382517; + break; + case 4: + num = ((ptr->BGCollisionModule != null) ? (-2105382515) : (-2105382518)); + break; + case 2: + from.Y += height; + to.Y += height; + vector = to - from; + num7 = vector.Length(); + num = ((!(num7 < 0.1f)) ? (-2105382516) : (-2105382514)); + break; + } + } + } + + public void StopNow() + { + CancellationTokenSource? cancellationTokenSource = _cancellationTokenSource; + if (cancellationTokenSource != null) + { + _200B_206A_202A_202E_200F_206E_206D_200F_206D_206C_206E_202E_200F_206A_202A_206A_206E_200F_202A_206F_206A_206F_202A_206D_200E_200B_202A_200E_206C_202E_202B_206F_206D_206C_206C_200E_206F_200C_202D_202D_202E(cancellationTokenSource); + } + movementController.Stop(); + } + + void IStoppableTaskExecutor.StopNow() + { + //ILSpy generated this explicit interface implementation from .override directive in StopNow + this.StopNow(); + } + + public void Dispose() + { + ((DeliveryNpcApproachExecutor)(object)_cancellationTokenSource)?._206B_200B_202D_206F_206A_206E_202D_202A_206A_206E_206B_206B_200B_202B_202E_206C_202E_200B_200C_200C_200F_206A_200F_206C_206B_200C_206C_206C_200B_202D_206C_202C_206E_202A_200C_200F_206A_206F_206B_206F_202E(); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static CancellationTokenSource _202C_206C_202B_200E_200E_206D_202D_202C_200E_206F_206A_202B_202B_202A_206B_206A_206E_206B_200E_200F_206A_206B_200B_200D_206A_206D_200E_206C_200D_202D_202E_202B_202B_202A_200F_200F_200D_200F_202A_202A_202E(TimeSpan P_0) + { + return new CancellationTokenSource(P_0); + } + + static IPlayerCharacter _206D_202C_200D_202A_206B_202B_206F_202C_206A_200B_206F_200F_200E_202A_200F_202B_202A_206E_200E_206D_202A_200B_206C_202D_206E_206F_206E_206C_206F_202C_206F_202B_202A_200B_200E_202D_206A_206D_202E_206C_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _200E_200C_200C_200B_202B_202D_206F_200F_202A_206A_206E_206F_206F_206E_202A_206B_206C_202B_206B_202B_206C_202E_206A_206A_206C_202B_206E_202A_206D_206A_202E_200B_200F_202E_200F_206C_200E_202D_200C_202A_202E(IGameObject P_0) + { + return P_0.Position; + } + + static float _200B_200D_202E_206D_206E_200F_200E_200B_206D_202D_202C_200E_200E_200B_206D_200E_200C_202B_206E_202E_202B_202A_202A_206D_206A_206B_206C_200B_206F_206A_202B_202B_202C_206B_200E_202A_206D_206A_200C_202B_202E(IGameObject P_0) + { + return P_0.HitboxRadius; + } + + static uint _200C_202B_200C_206A_206D_206A_202E_202B_206A_200F_200F_200F_202A_206F_206D_202B_200B_202C_200F_200D_206B_206D_200B_202E_202A_202A_202C_200C_206F_202E_200C_200F_202B_200D_200D_202C_202E_202E_200D_206A_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static float _200E_200F_200D_206C_206A_202C_206B_206F_202B_202C_200E_200D_206A_200E_206D_200B_200B_202A_206E_202A_202D_202E_206B_200C_200B_206A_200B_200C_206E_200B_200D_206D_200C_202B_206F_200F_200B_202B_200C_200E_202E(float P_0, float P_1) + { + return MathF.Atan2(P_0, P_1); + } + + static float _202B_200F_200E_206C_200E_206B_202C_202D_200B_200C_202A_206C_200F_200B_200D_200C_200B_206E_206D_202C_202D_200E_200D_202C_202A_206F_200B_200C_202B_206E_200B_202B_200F_206B_206A_200B_206E_202A_206D_206F_202E(float P_0, float P_1) + { + return MathF.Max(P_0, P_1); + } + + static float _202B_202D_206B_200B_200B_200B_202A_206A_202B_206F_202B_206F_206F_206D_206B_200C_206D_202A_206B_202D_200C_206B_206C_206F_206D_206B_202E_202A_202D_206A_206E_206F_200D_202C_200F_202A_206F_200D_206A_202E_202E(float P_0) + { + return MathF.Sin(P_0); + } + + static float _200B_202E_202E_206A_202B_202B_202A_200E_206A_202E_202D_200B_200C_202D_202D_202E_202C_200C_206C_200E_200F_206D_200D_200B_200C_202A_200B_206E_206E_202C_202D_202A_200B_202C_206C_206C_202C_202E_206D_202E_202E(float P_0) + { + return MathF.Cos(P_0); + } + + static void _202A_200F_206B_200E_200D_206D_206F_206F_200D_206A_206A_202C_206C_206A_202C_206F_206A_202D_200B_206E_206D_202D_202C_206E_202E_200E_200B_206E_202B_206D_202E_200B_200D_206B_206E_206D_206E_200B_206B_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _200F_200F_202B_206F_206E_202E_206A_206B_202B_200D_200F_200F_202A_206E_206A_200F_200E_200D_206B_202E_206E_206D_206B_202E_206C_200C_200E_202B_202E_200B_200F_202D_200B_200E_200E_206B_202B_200C_206E_206D_202E(System.Threading.Tasks.Task P_0) + { + return P_0.IsCompleted; + } + + static bool _202C_202E_202A_200B_206B_200F_200F_206E_202A_206B_202A_206A_202C_202A_200C_206A_202A_200C_200D_200C_202A_206E_206A_200D_206C_206E_206C_202C_202C_206E_206C_200D_202A_206D_202C_206A_202D_202C_202C_200E_202E(System.Threading.Tasks.Task P_0) + { + return P_0.IsCanceled; + } + + static bool _202E_202B_206F_200E_200D_206D_206B_206F_206B_200B_206F_206F_200D_200D_200C_200F_200C_206F_200D_200B_200C_202D_206D_202D_206A_200D_206D_206B_206E_202E_206C_202C_206B_202E_200E_200F_202E_200D_206F_206B_202E(System.Threading.Tasks.Task P_0) + { + return P_0.IsFaulted; + } + + static AggregateException _206B_206A_200F_206E_202E_206D_200C_202A_200E_202A_202A_206F_206C_200B_202C_202E_206A_202C_202B_200D_200C_206D_200E_202C_206E_202B_206B_202C_202E_200C_200D_206E_206A_200D_200E_206B_200E_202A_206D_200D_202E(System.Threading.Tasks.Task P_0) + { + return P_0.Exception; + } + + static void _200E_206D_206E_206A_200C_202B_206B_202D_206B_200C_200D_202C_206A_206B_200F_206C_200D_200F_206B_202B_206E_202E_206B_202A_200C_206F_206A_206D_200E_200F_202D_202E_206E_206B_202D_200B_202C_202D_202B_200E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogDebug(P_1, P_2, P_3); + } + + static CancellationToken _202E_206E_200F_206F_200D_200C_206D_202A_200C_200D_202C_200F_202D_206F_206D_206F_206E_200D_206E_202C_200C_206E_200C_206F_206B_206B_200D_200C_200F_200D_202E_206E_202A_206F_202D_202C_206D_200C_206F_200D_202E(CancellationTokenSource P_0) + { + return P_0.Token; + } + + static bool _206D_202B_202E_200E_202C_206A_200E_200B_206E_202E_206F_206A_200C_206D_200B_206E_200F_202D_202C_206D_200D_206F_202A_200C_206D_200B_202E_200D_206A_206B_202D_202A_202A_206F_202D_200C_202C_206A_200B_200D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200F_200B_206B_200E_202D_202A_202C_200F_202B_206E_200D_200B_206D_206C_202C_206F_202D_200C_206F_202D_202A_202D_206F_202E_206B_206F_200B_202D_200B_200D_200E_202A_200F_200E_200E_200E_200F_206F_206E_206E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _200B_206A_202A_202E_200F_206E_206D_200F_206D_206C_206E_202E_200F_206A_202A_206A_206E_200F_202A_206F_206A_206F_202A_206D_200E_200B_202A_200E_206C_202E_202B_206F_206D_206C_206C_200E_206F_200C_202D_202D_202E(CancellationTokenSource P_0) + { + P_0.Cancel(); + } + + void _206B_200B_202D_206F_206A_206E_202D_202A_206A_206E_206B_206B_200B_202B_202E_206C_202E_200B_200C_200C_200F_206A_200F_206C_206B_200C_206C_206C_200B_202D_206C_202C_206E_202A_200C_200F_206A_206F_206B_206F_202E() + { + ((CancellationTokenSource)(object)this).Dispose(); + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/DeliveryNpcApproachTask.cs b/Questionable/Questionable.Controller.CustomDelivery/DeliveryNpcApproachTask.cs new file mode 100644 index 00000000..54107dbf --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/DeliveryNpcApproachTask.cs @@ -0,0 +1,109 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +using Questionable.Controller.Steps; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed record DeliveryNpcApproachTask(ushort TerritoryId, Vector3 NpcPosition, uint NpcDataId) : ITask +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_206C_200F_206B_200B_202D_200D_200F_200C_206C_202A_206C_200E_206B_206A_200F_202A_200F_202E_206D_206D_202A_200C_206C_200D_200C_200D_202A_202C_202D_206F_206C_202B_206F_200C_202E_202C_202E_202C_206E_202E(typeof(DeliveryNpcApproachTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(21, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(853725271)); + defaultInterpolatedStringHandler.AppendFormatted(NpcDataId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202A_202A_202C_202E_206B_206A_200C_200E_206E_206A_200D_206C_200E_202D_206E_206E_200F_200E_202C_200E_202D_206F_200D_200D_200D_206E_200D_202D_206F_206E_206A_202A_206E_206C_206E_202C_202B_200C_202E_200C_202E(); + _202C_206E_200C_200D_202B_206D_206E_206A_200B_206C_202E_206F_202E_200C_206F_200C_206D_202C_206D_206E_206E_206B_202A_202E_206E_202D_200C_202E_202C_206F_200E_202A_206C_202A_206D_206B_202A_206A_200F_200C_202E(builder, global::_003CModule_003E._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(2145374973)); + _202C_206E_200C_200D_202B_206D_206E_206A_200B_206C_202E_206F_202E_200C_206F_200C_206D_202C_206D_206E_206E_206B_202A_202E_206E_202D_200C_202E_202C_206F_200E_202A_206C_202A_206D_206B_202A_206A_200F_200C_202E(builder, TerritoryId.ToString()); + _202C_206E_200C_200D_202B_206D_206E_206A_200B_206C_202E_206F_202E_200C_206F_200C_206D_202C_206D_206E_206E_206B_202A_202E_206E_202D_200C_202E_202C_206F_200E_202A_206C_202A_206D_206B_202A_206A_200F_200C_202E(builder, global::_003CModule_003E._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(-1319777869)); + _202C_206E_200C_200D_202B_206D_206E_206A_200B_206C_202E_206F_202E_200C_206F_200C_206D_202C_206D_206E_206E_206B_202A_202E_206E_202D_200C_202E_202C_206F_200E_202A_206C_202A_206D_206B_202A_206A_200F_200C_202E(builder, NpcPosition.ToString()); + _202C_206E_200C_200D_202B_206D_206E_206A_200B_206C_202E_206F_202E_200C_206F_200C_206D_202C_206D_206E_206E_206B_202A_202E_206E_202D_200C_202E_202C_206F_200E_202A_206C_202A_206D_206B_202A_206A_200F_200C_202E(builder, global::_003CModule_003E._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(-323573035)); + _202C_206E_200C_200D_202B_206D_206E_206A_200B_206C_202E_206F_202E_200C_206F_200C_206D_202C_206D_206E_206E_206B_202A_202E_206E_202D_200C_202E_202C_206F_200E_202A_206C_202A_206D_206B_202A_206A_200F_200C_202E(builder, NpcDataId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(DeliveryNpcApproachTask? other) + { + int num = (((object)this == other) ? (-2005585280) : (-2005585273)); + while (true) + { + int num2 = num; + int num3 = -2005585274; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -2005585273; + break; + case 7: + num = ((!_200C_202D_202D_202D_200F_200C_200E_202E_200C_200E_206E_200E_200B_202E_206A_206A_202D_202D_200C_202E_200C_202D_206F_200E_202E_206D_200E_206A_202B_200F_200C_202A_206E_202B_206A_206A_200E_206A_200E_202B_202E(EqualityContract, other.EqualityContract)) ? (-2005585274) : (-2005585275)); + break; + case 1: + num = (((object)other == null) ? (-2005585274) : (-2005585279)); + break; + case 6: + return true; + case 5: + return EqualityComparer.Default.Equals(NpcDataId, other.NpcDataId); + case 0: + return false; + case 3: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? (-2005585274) : (-2005585278)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(NpcPosition, other.NpcPosition)) ? (-2005585274) : (-2005585277)); + break; + } + } + } + + bool IEquatable.Equals(DeliveryNpcApproachTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_206C_200F_206B_200B_202D_200D_200F_200C_206C_202A_206C_200E_206B_206A_200F_202A_200F_202E_206D_206D_202A_200C_206C_200D_200C_200D_202A_202C_202D_206F_206C_202B_206F_200C_202E_202C_202E_202C_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202A_202A_202C_202E_206B_206A_200C_200E_206E_206A_200D_206C_200E_202D_206E_206E_200F_200E_202C_200E_202D_206F_200D_200D_200D_206E_200D_202D_206F_206E_206A_202A_206E_206C_206E_202C_202B_200C_202E_200C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202C_206E_200C_200D_202B_206D_206E_206A_200B_206C_202E_206F_202E_200C_206F_200C_206D_202C_206D_206E_206E_206B_202A_202E_206E_202D_200C_202E_202C_206F_200E_202A_206C_202A_206D_206B_202A_206A_200F_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_202D_202D_202D_200F_200C_200E_202E_200C_200E_206E_200E_200B_202E_206A_206A_202D_202D_200C_202E_200C_202D_206F_200E_202E_206D_200E_206A_202B_200F_200C_202A_206E_202B_206A_206A_200E_206A_200E_202B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/DeliveryPlan.cs b/Questionable/Questionable.Controller.CustomDelivery/DeliveryPlan.cs new file mode 100644 index 00000000..38c57119 --- /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 00000000..96bd44b2 --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/DeliveryPlannerService.cs @@ -0,0 +1,659 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe DeliveryPlan? CreatePlan(int npcIndex, EDeliverySlot slot) + { + int num = (_200D_206E_202C_202A_202A_202E_202E_206C_200D_200C_200E_200C_206B_206C_200D_200B_206B_206D_206C_202E_202A_206C_206E_200D_200B_206C_200D_200F_206B_202A_202C_202D_206A_206B_206F_200B_200F_202E_200F_200D_202E() ? (-1888935827) : (-1888935840)); + uint rowId = default(uint); + SatisfactionSupply subrow = default(SatisfactionSupply); + Configuration.CustomDeliveryConfiguration.ECollectabilityTier collectabilityTier = default(Configuration.CustomDeliveryConfiguration.ECollectabilityTier); + int num20 = default(int); + int num21 = default(int); + int num30 = default(int); + SatisfactionSupplyActions.NpcState npcState = default(SatisfactionSupplyActions.NpcState); + uint supplyIndex = default(uint); + SatisfactionNpc row = default(SatisfactionNpc); + uint num28 = default(uint); + uint num29 = default(uint); + Configuration.AchievementGoal value = default(Configuration.AchievementGoal); + int num27 = default(int); + int num9 = default(int); + int num19 = default(int); + VendorResolverService.RecipeInfo? recipe = default(VendorResolverService.RecipeInfo?); + List list = default(List); + ushort num7 = default(ushort); + ushort num18 = default(ushort); + ushort levelUnlock = default(ushort); + int satisfactionRequired = default(int); + int num26 = default(int); + VendorResolverService.IngredientInfo current = default(VendorResolverService.IngredientInfo); + int num15 = default(int); + int count = default(int); + int num14 = default(int); + VendorResolverService.VendorInfo? vendor = default(VendorResolverService.VendorInfo?); + while (true) + { + int num2 = num; + int num3 = -1888935819; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 14: + rowId = subrow.Item.RowId; + collectabilityTier = _configuration.CustomDeliveries.CollectabilityTier; + num = ((collectabilityTier == Configuration.CustomDeliveryConfiguration.ECollectabilityTier.Mid) ? (-1888935855) : (-1888935835)); + continue; + case 23: + _206A_200F_202C_202B_200B_202B_202C_202B_200F_206E_206F_206A_200C_200F_200E_200C_202A_200B_200F_206C_200E_206D_200E_206F_206E_202B_206D_200D_202E_202A_200B_202B_200C_206E_200C_202A_202E_200D_202C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-1441943308), new object[3] { npcIndex, num20, num21 }); + return null; + case 1: + _206A_200F_202C_202B_200B_202B_202C_202B_200F_206E_206F_206A_200C_200F_200E_200C_202A_200B_200F_206C_200E_206D_200E_206F_206E_202B_206D_200D_202E_202A_200B_202B_200C_206E_200C_202A_202E_200D_202C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-325747451), new object[1] { npcIndex }); + return null; + case 30: + { + uint rowId2 = subrow.Reward.RowId; + bool isBonus = subrow.IsBonus; + num30 = _rewardCalculator.MaxDeliveriesBeforeOvercap(rowId2, isBonus, _configuration.CustomDeliveries.CollectabilityTier); + num = ((num30 > 0) ? (-1888935826) : (-1888935820)); + continue; + } + case 39: + _206A_200F_202C_202B_200B_202B_202C_202B_200F_206E_206F_206A_200C_200F_200E_200C_202A_200B_200F_206C_200E_206D_200E_206F_206E_202B_206D_200D_202E_202A_200B_202B_200C_206E_200C_202A_202E_200D_202C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(72727050), new object[1] { npcIndex }); + return null; + case 31: + _206A_200F_202C_202B_200B_202B_202C_202B_200F_206E_206F_206A_200C_200F_200E_200C_202A_200B_200F_206C_200E_206D_200E_206F_206E_202B_206D_200D_202E_202A_200B_202B_200C_206E_200C_202A_202E_200D_202C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(350000111), new object[2] { npcIndex, npcState.Rank }); + return null; + case 40: + supplyIndex = (uint)row.SatisfactionNpcParams[npcState.Rank].SupplyIndex; + num28 = _202C_206E_206A_202A_206E_206D_206D_206C_200E_200C_206B_200C_202B_202E_200C_200B_206A_200D_202A_202D_202D_206D_206E_206A_206D_206F_200C_206C_206B_206B_202B_202E_206D_206A_206E_202A_202C_206F_200B_200E_202E(_supplyHelper, supplyIndex, num29)[(int)slot]; + num = ((num28 != uint.MaxValue) ? (-1888935833) : (-1888935823)); + continue; + case 6: + _206A_200F_202C_202B_200B_202B_202C_202B_200F_206E_206F_206A_200C_200F_200E_200C_202A_200B_200F_206C_200E_206D_200E_206F_206E_202B_206D_200D_202E_202A_200B_202B_200C_206E_200C_202A_202E_200D_202C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(1592384275), new object[3] { npcIndex, npcState.UsedDeliveries, value.TargetCount }); + return null; + case 18: + num = (_dataManager.GetSubrowExcelSheet().TryGetSubrow(supplyIndex, (ushort)num28, out subrow) ? (-1888935813) : (-1888935852)); + continue; + case 29: + num = ((num27 >= num9) ? (-1888935844) : (-1888935810)); + continue; + case 13: + { + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + num3 = 1; + num4 = npcIndex; + int num22 = num4 ^ num3; + int num23 = num4 & num3; + num = (excelSheet.TryGetRow((uint)(num22 + (num23 + num23)), out row) ? (-1888935842) : (-1888935849)); + continue; + } + case 35: + num = ((_configuration.CustomDeliveries.ScripOvercapMode == Configuration.CustomDeliveryConfiguration.EScripOvercapMode.Ignore) ? (-1888935856) : (-1888935829)); + continue; + case 2: + num19 = (int)value.TargetCount - npcState.UsedDeliveries; + num = ((num19 <= 0) ? (-1888935821) : (-1888935836)); + continue; + case 16: + num = ((collectabilityTier != Configuration.CustomDeliveryConfiguration.ECollectabilityTier.Low) ? (-1888935824) : (-1888935818)); + continue; + case 37: + recipe = null; + list = new List(); + if (slot == EDeliverySlot.Craft) + { + num = -1888935831; + continue; + } + break; + case 15: + _206A_200F_202C_202B_200B_202B_202C_202B_200F_206E_206F_206A_200C_200F_200E_200C_202A_200B_200F_206C_200E_206D_200E_206F_206E_202B_206D_200D_202E_202A_200B_202B_200C_206E_200C_202A_202E_200D_202C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-349074918), Array.Empty()); + return null; + case 33: + _206C_206F_206E_206A_206F_200F_202B_206D_206E_200D_202E_202D_206D_200B_200F_202B_202D_200F_200D_206C_202A_200C_200E_200E_206C_200D_206B_200F_206D_200E_202A_206C_200D_200B_202B_200B_202A_202C_202C_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-583199100), new object[2] { supplyIndex, num28 }); + return null; + case 32: + num7 = num18; + num = ((rowId != 0) ? (-1888935837) : (-1888935811)); + continue; + case 36: + num18 = subrow.CollectabilityMid; + num = -1888935851; + continue; + case 19: + _206A_200F_202C_202B_200B_202B_202C_202B_200F_206E_206F_206A_200C_200F_200E_200C_202A_200B_200F_206C_200E_206D_200E_206F_206E_202B_206D_200D_202E_202A_200B_202B_200C_206E_200C_202A_202E_200D_202C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(758096436), new object[3] { levelUnlock, slot, npcIndex }); + return null; + case 22: + num20 = row.DeliveriesPerWeek - npcState.UsedDeliveries; + num9 = _202E_200E_200B_202D_200C_200D_206B_202B_206F_202D_206F_200D_200E_200C_206B_202C_206A_202A_200F_206A_202A_200B_200B_202E_206F_202A_200C_200D_200D_200D_200D_206B_202E_202A_200B_206A_200C_206D_206D_200F_202E(num20, num21); + num = ((num9 > 0) ? (-1888935822) : (-1888935838)); + continue; + case 17: + num9 = _202E_200E_200B_202D_200C_200D_206B_202B_206F_202D_206F_200D_200E_200C_206B_202C_206A_202A_200F_206A_202A_200B_200B_202E_206F_202A_200C_200D_200D_200D_200D_206B_202E_202A_200B_206A_200C_206D_206D_200F_202E(num9, num19); + num = -1888935850; + continue; + case 27: + num = ((num30 >= num9) ? (-1888935856) : (-1888935812)); + continue; + case 9: + _206A_200F_202C_202B_200B_202B_202C_202B_200F_206E_206F_206A_200C_200F_200E_200C_202A_200B_200F_206C_200E_206D_200E_206F_206E_202B_206D_200D_202E_202A_200B_202B_200C_206E_200C_202A_202E_200D_202C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-252217524), new object[3] { num9, num30, npcIndex }); + num9 = num30; + num = -1888935856; + continue; + case 43: + levelUnlock = row.LevelUnlock; + num = (HasJobAtLevel(slot, levelUnlock) ? (-1888935843) : (-1888935834)); + continue; + case 8: + _206C_206F_206E_206A_206F_200F_202B_206D_206E_200D_202E_202D_206D_200B_200F_202B_202D_200F_200D_206C_202A_200C_200E_200E_206C_200D_206B_200F_206D_200E_202A_206C_200D_200B_202B_200B_202A_202C_202C_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1074922241), new object[2] { supplyIndex, num28 }); + return null; + case 12: + npcState = _200F_206F_206A_200F_202C_206F_206E_200E_202B_200C_200B_200D_200B_202C_206D_202B_206E_200B_202C_202D_202D_200D_206D_202E_200B_206E_202A_202D_202A_206E_202D_200B_202E_202E_202A_200B_202B_202D_202E_206C_202E(npcIndex); + num21 = _206F_206A_202D_202B_200F_206F_202E_206D_206F_200D_202D_206C_206C_206D_202C_206C_202B_202E_206D_202B_200D_202B_200D_200E_202E_206D_206B_206D_200E_202A_202A_206A_200C_202A_206F_202B_206C_206D_200E_200D_202E(); + num29 = _200C_206C_200F_202B_206A_206F_200B_206C_202A_206F_206F_206C_206B_202B_200F_202A_206D_206A_200D_206E_202A_206A_206D_206C_206D_202C_206F_200D_202E_200D_200E_202D_200E_206F_202C_206E_202C_202E_202A_206F_202E(); + num = ((npcState.Rank > 0) ? (-1888935853) : (-1888935830)); + continue; + case 10: + num = -1888935840; + continue; + case 38: + num = ((num21 > 0) ? (-1888935816) : (-1888935814)); + continue; + case 11: + _206A_200F_202C_202B_200B_202B_202C_202B_200F_206E_206F_206A_200C_200F_200E_200C_202A_200B_200F_206C_200E_206D_200E_206F_206E_202B_206D_200D_202E_202A_200B_202B_200C_206E_200C_202A_202E_200D_202C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(1847422502), new object[5] { num9, num27, npcState.SatisfactionCurrent, satisfactionRequired, num26 }); + num9 = num27; + num = -1888935844; + continue; + case 0: + num27 = (satisfactionRequired - npcState.SatisfactionCurrent + num26 - 1) / num26; + num = ((num27 <= 0) ? (-1888935844) : (-1888935832)); + continue; + case 34: + _206C_206F_206E_206A_206F_200F_202B_206D_206E_200D_202E_202D_206D_200B_200F_202B_202D_200F_200D_206C_202A_200C_200E_200E_206C_200D_206B_200F_206D_200E_202A_206C_200D_200B_202B_200B_202A_202C_202C_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1005271434), new object[1] { npcIndex }); + return null; + case 28: + recipe = _vendorResolver.ResolveRecipe(rowId); + num = (recipe.HasValue ? (-1888935828) : (-1888935825)); + continue; + case 24: + num = (IsNpcUnlocked(npcIndex) ? (-1888935815) : (-1888935854)); + continue; + case 42: + { + Configuration.CustomDeliveryConfiguration.ECollectabilityTier collectabilityTier2 = _configuration.CustomDeliveries.CollectabilityTier; + num26 = _rewardCalculator.CalculateSatisfactionPerDelivery(subrow.Reward.RowId, subrow.IsBonus, collectabilityTier2); + num = ((num26 <= 0) ? (-1888935844) : (-1888935819)); + continue; + } + case 21: + _206C_206F_206E_206A_206F_200F_202B_206D_206E_200D_202E_202D_206D_200B_200F_202B_202D_200F_200D_206C_202A_200C_200E_200E_206C_200D_206B_200F_206D_200E_202A_206C_200D_200B_202B_200B_202A_202C_202C_200F_202E((ILogger)_logger, global::_003CModule_003E._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(929546920), Array.Empty()); + return null; + case 41: + { + num3 = 1; + num4 = npcIndex; + int num24 = num4 ^ num3; + int num25 = num4 & num3; + ushort key = (ushort)(num24 + (num25 + num25)); + num = ((!_configuration.CustomDeliveries.AchievementGoals.TryGetValue(key, out value)) ? (-1888935850) : (-1888935839)); + continue; + } + case 7: + satisfactionRequired = row.SatisfactionNpcParams[npcState.Rank].SatisfactionRequired; + num = ((satisfactionRequired <= 0) ? (-1888935844) : (-1888935841)); + continue; + case 26: + _202E_202D_202C_206E_202C_206A_206E_202D_202E_202D_206C_200B_200E_202E_206C_200B_206A_202E_206B_206D_206B_200E_200B_200E_206B_206D_202A_206F_200C_202D_206E_206D_206C_206A_206B_200F_202E_200E_202B_200E_202E((ILogger)_logger, global::_003CModule_003E._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(-375018658), new object[1] { rowId }); + return null; + case 20: + num = ((!value.Active) ? (-1888935850) : (-1888935817)); + continue; + case 3: + num18 = subrow.CollectabilityLow; + num = -1888935851; + continue; + case 5: + num18 = subrow.CollectabilityHigh; + num = -1888935851; + continue; + case 4: + _206A_200F_202C_202B_200B_202B_202C_202B_200F_206E_206F_206A_200C_200F_200E_200C_202A_200B_200F_206C_200E_206D_200E_206F_206E_202B_206D_200D_202E_202A_200B_202B_200C_206E_200C_202A_202E_200D_202C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(1585031772), new object[2] { npcIndex, slot }); + return null; + case 25: + { + int inventoryItemCount = InventoryManager.Instance()->GetInventoryItemCount(rowId, isHq: false, checkEquipped: true, checkArmory: true, (short)num7); + int num8 = num9; + num3 = inventoryItemCount; + num4 = num8; + int num10 = _200C_206C_200D_202C_202B_202C_206A_206E_200E_200E_202D_202A_202C_206D_206B_206D_206D_200B_202B_206A_206D_202D_206D_200C_206C_200D_200E_200D_200C_202C_206D_206F_206B_206D_202A_200C_202B_200B_200C_206A_202E(0, ~(~num4 + num3)); + IEnumerator enumerator = recipe.Value.Ingredients.GetEnumerator(); + try + { + num = -2147286294; + while (true) + { + int num11 = num; + num3 = -2147286291; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 2: + num = -2147286294; + break; + case 1: + { + current = enumerator.Current; + num15 = num10 * current.CountPerCraft; + count = ((ItemHandle)current.ItemId).GetCount(); + int num16 = num15; + num3 = count; + num4 = num16; + num14 = _200C_206C_200D_202C_202B_202C_206A_206E_200E_200E_202D_202A_202C_206D_206B_206D_206D_200B_202B_206A_206D_202D_206D_200C_206C_200D_200E_200D_200C_202C_206D_206F_206B_206D_202A_200C_202B_200B_200C_206A_202E(0, ~(~num4 + num3)); + vendor = null; + num = ((num14 <= 0) ? (-2147286293) : (-2147286291)); + break; + } + case 3: + num = (vendor.HasValue ? (-2147286296) : (-2147286299)); + break; + case 6: + num = ((num14 <= 0) ? (-2147286296) : (-2147286290)); + break; + case 7: + num = (_202D_202B_206D_202B_202E_200E_200E_206F_202C_200E_200F_200E_200D_206B_202A_202C_206B_202E_202D_200F_200E_206C_200D_200D_202E_206C_202A_206A_200E_200D_202E_200E_206A_202E_206D_206D_206B_206B_202C_202B_202E((IEnumerator)enumerator) ? (-2147286292) : (-2147286295)); + break; + case 5: + list.Add(new IngredientPlan + { + ItemId = current.ItemId, + TotalNeeded = num15, + InInventory = count, + ToBuy = num14, + Vendor = vendor + }); + num = -2147286294; + break; + case 0: + vendor = _vendorResolver.ResolveVendor(current.ItemId); + num = -2147286293; + break; + case 8: + _206C_206F_206E_206A_206F_200F_202B_206D_206E_200D_202E_202D_206D_200B_200F_202B_202D_200F_200D_206C_202A_200C_200E_200E_206C_200D_206B_200F_206D_200E_202A_206C_200D_200B_202B_200B_202A_202C_202C_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1168604579), new object[3] { rowId, num14, current.ItemId }); + return null; + case 4: + goto end_IL_097f; + } + continue; + end_IL_097f: + break; + } + } + finally + { + num = ((enumerator == null) ? 903605072 : 903605073); + while (true) + { + int num17 = num; + num3 = 903605072; + num4 = num17; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 903605073; + break; + case 1: + _206B_202C_200B_202D_202C_206A_202A_202E_200B_202D_200E_202B_202A_200D_206A_206E_202D_202A_202A_206D_200E_206D_202A_206B_206C_206A_200F_200E_206B_202E_200D_200E_206D_200D_206C_202E_202E_202D_206D_200C_202E((IDisposable)enumerator); + num = 903605072; + break; + case 0: + goto end_IL_0b81; + } + continue; + end_IL_0b81: + break; + } + } + break; + } + } + break; + } + DeliveryPlan result = new DeliveryPlan + { + NpcIndex = npcIndex, + Slot = slot, + ItemId = rowId, + Collectability = num7, + DeliveryCount = num9, + Recipe = recipe, + IngredientPlans = list + }; + int num31 = 0; + using (List.Enumerator enumerator2 = list.GetEnumerator()) + { + num = -832133554; + while (true) + { + int num32 = num; + int num3 = -832133554; + int num4 = num32; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = (enumerator2.MoveNext() ? (-832133553) : (-832133555)); + break; + case 1: + { + IngredientPlan current2 = enumerator2.Current; + num31 += current2.ToBuy; + num = -832133554; + break; + } + case 2: + num = -832133554; + break; + case 3: + goto end_IL_0c22; + } + continue; + end_IL_0c22: + break; + } + } + _206A_200F_202C_202B_200B_202B_202C_202B_200F_206E_206F_206A_200C_200F_200E_200C_202A_200B_200F_206C_200E_206D_200E_206F_206E_202B_206D_200D_202E_202A_200B_202B_200C_206E_200C_202A_202E_200D_202C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-251047374), new object[5] { npcIndex, slot, rowId, num9, num31 }); + return result; + } + + public bool IsNpcUnlocked(int npcIndex) + { + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + int num = 1; + int num2 = npcIndex; + int num3 = num2 ^ num; + int num4 = num2 & num; + SatisfactionNpc row; + int num5 = (excelSheet.TryGetRow((uint)(num3 + (num4 + num4)), out row) ? (-1323628219) : (-1323628220)); + uint rowId = default(uint); + while (true) + { + int num6 = num5; + num = -1323628219; + num2 = num6; + int num7 = num2 + num; + int num8 = num2 & num; + switch (num7 - (num8 + num8)) + { + case 3: + num5 = -1323628220; + break; + case 2: + return true; + case 0: + rowId = row.QuestRequired.RowId; + num5 = ((rowId != 0) ? (-1323628223) : (-1323628217)); + break; + case 1: + return false; + case 4: + return QuestManager.IsQuestComplete((ushort)rowId); + } + } + } + + private bool HasJobAtLevel(EDeliverySlot slot, ushort requiredLevel) + { + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + int num; + EClassJob[] array = default(EClassJob[]); + int num8 = default(int); + ClassJob row = default(ClassJob); + EClassJob[] array2; + switch (slot) + { + default: + num = 208972121; + goto IL_0034; + case EDeliverySlot.Fish: + array = new EClassJob[1] { EClassJob.Fisher }; + num = 208972119; + goto IL_0034; + case EDeliverySlot.Gather: + goto IL_00fb; + case EDeliverySlot.Craft: + goto IL_0192; + IL_0034: + while (true) + { + int num2 = num; + int num3 = 208972117; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + goto IL_008a; + case 12: + num = 208972112; + break; + case 10: + goto IL_00c2; + case 7: + goto end_IL_0034; + case 6: + goto IL_00fb; + case 2: + array = array; + num8 = 0; + num = 208972127; + break; + case 3: + num = 208972121; + break; + case 1: + { + int num7 = num8; + num3 = 1; + num4 = num7; + num8 = (num4 | num3) + (num4 & num3); + num = 208972127; + break; + } + case 11: + return false; + case 8: + return true; + case 5: + array = Array.Empty(); + num = 208972119; + break; + case 0: + goto IL_0168; + case 9: + goto IL_0192; + } + continue; + IL_0168: + num = ((_202D_206B_206F_200C_200E_200F_202A_206D_202D_202D_202C_202D_206F_206F_202D_202E_202A_206B_202A_202D_206E_202D_200D_200D_202D_202A_200C_200B_200E_202E_200D_206A_206D_202B_206F_202D_200B_200E_206F_202A_202E((int)row.ExpArrayIndex) < requiredLevel) ? 208972116 : 208972125); + continue; + IL_00c2: + num = ((num8 < array.Length) ? 208972113 : 208972126); + continue; + IL_008a: + EClassJob rowId = array[num8]; + num = ((!excelSheet.TryGetRow((uint)rowId, out row)) ? 208972116 : 208972117); + continue; + end_IL_0034: + break; + } + goto case EDeliverySlot.Fish; + IL_0192: + array2 = new EClassJob[8]; + _202A_200D_202C_202B_202D_202B_202B_202C_200F_202A_206F_200B_200D_202E_206E_202A_200B_200B_202D_206E_206B_202C_206C_200D_202A_206A_206F_200B_202E_202E_200E_200B_206A_200C_206F_206D_202B_202B_206C_206C_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + array = array2; + num = 208972119; + goto IL_0034; + IL_00fb: + array = new EClassJob[2] + { + EClassJob.Miner, + EClassJob.Botanist + }; + num = 208972119; + goto IL_0034; + } + } + + public EDeliverySlot? AutoSelectSlot(int npcIndex, ArtisanIpc artisanIpc, AutoHookIpc autoHookIpc) + { + int num = ((!artisanIpc.IsAvailable()) ? 1675924989 : 1675924988); + while (true) + { + int num2 = num; + int num3 = 1675924986; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((!autoHookIpc.IsAvailable()) ? 1675924990 : 1675924985); + break; + case 4: + return null; + case 1: + return EDeliverySlot.Gather; + case 2: + num = 1675924988; + break; + case 8: + return EDeliverySlot.Fish; + case 3: + num = ((CreatePlan(npcIndex, EDeliverySlot.Fish) == null) ? 1675924990 : 1675924978); + break; + case 7: + num = ((CreatePlan(npcIndex, EDeliverySlot.Gather) == null) ? 1675924986 : 1675924987); + break; + case 5: + return EDeliverySlot.Craft; + case 6: + num = ((CreatePlan(npcIndex, EDeliverySlot.Craft) == null) ? 1675924989 : 1675924991); + break; + } + } + } + + static bool _200D_206E_202C_202A_202A_202E_202E_206C_200D_200C_200E_200C_206B_206C_200D_200B_206B_206D_206C_202E_202A_206C_206E_200D_200B_206C_200D_200F_206B_202A_202C_202D_206A_206B_206F_200B_200F_202E_200F_200D_202E() + { + return InventoryHelper.HasFreeInventorySlot(); + } + + static void _206C_206F_206E_206A_206F_200F_202B_206D_206E_200D_202E_202D_206D_200B_200F_202B_202D_200F_200D_206C_202A_200C_200E_200E_206C_200D_206B_200F_206D_200E_202A_206C_200D_200B_202B_200B_202A_202C_202C_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _206A_200F_202C_202B_200B_202B_202C_202B_200F_206E_206F_206A_200C_200F_200E_200C_202A_200B_200F_206C_200E_206D_200E_206F_206E_202B_206D_200D_202E_202A_200B_202B_200C_206E_200C_202A_202E_200D_202C_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static SatisfactionSupplyActions.NpcState _200F_206F_206A_200F_202C_206F_206E_200E_202B_200C_200B_200D_200B_202C_206D_202B_206E_200B_202C_202D_202D_200D_206D_202E_200B_206E_202A_202D_202A_206E_202D_200B_202E_202E_202A_200B_202B_202D_202E_206C_202E(int P_0) + { + return SatisfactionSupplyActions.GetNpcState(P_0); + } + + static int _206F_206A_202D_202B_200F_206F_202E_206D_206F_200D_202D_206C_206C_206D_202C_206C_202B_202E_206D_202B_200D_202B_200D_200E_202E_206D_206B_206D_200E_202A_202A_206A_200C_202A_206F_202B_206C_206D_200E_200D_202E() + { + return SatisfactionSupplyActions.GetRemainingAllowances(); + } + + static uint _200C_206C_200F_202B_206A_206F_200B_206C_202A_206F_206F_206C_206B_202B_200F_202A_206D_206A_200D_206E_202A_206A_206D_206C_206D_202C_206F_200D_202E_200D_200E_202D_200E_206F_202C_206E_202C_202E_202A_206F_202E() + { + return SatisfactionSupplyActions.GetSupplySeed(); + } + + static uint[] _202C_206E_206A_202A_206E_206D_206D_206C_200E_200C_206B_200C_202B_202E_200C_200B_206A_200D_202A_202D_202D_206D_206E_206A_206D_206F_200C_206C_206B_206B_202B_202E_206D_206A_206E_202A_202C_206F_200B_200E_202E(SatisfactionSupplyHelper P_0, uint P_1, uint P_2) + { + return P_0.CalculateRequestedItems(P_1, P_2); + } + + static int _202E_200E_200B_202D_200C_200D_206B_202B_206F_202D_206F_200D_200E_200C_206B_202C_206A_202A_200F_206A_202A_200B_200B_202E_206F_202A_200C_200D_200D_200D_200D_206B_202E_202A_200B_206A_200C_206D_206D_200F_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static void _202E_202D_202C_206E_202C_206A_206E_202D_202E_202D_206C_200B_200E_202E_206C_200B_206A_202E_206B_206D_206B_200E_200B_200E_206B_206D_202A_206F_200C_202D_206E_206D_206C_206A_206B_200F_202E_200E_202B_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static int _200C_206C_200D_202C_202B_202C_206A_206E_200E_200E_202D_202A_202C_206D_206B_206D_206D_200B_202B_206A_206D_202D_206D_200C_206C_200D_200E_200D_200C_202C_206D_206F_206B_206D_202A_200C_202B_200B_200C_206A_202E(int P_0, int P_1) + { + return Math.Max(P_0, P_1); + } + + static bool _202D_202B_206D_202B_202E_200E_200E_206F_202C_200E_200F_200E_200D_206B_202A_202C_206B_202E_202D_200F_200E_206C_200D_200D_202E_206C_202A_206A_200E_200D_202E_200E_206A_202E_206D_206D_206B_206B_202C_202B_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206B_202C_200B_202D_202C_206A_202A_202E_200B_202D_200E_202B_202A_200D_206A_206E_202D_202A_202A_206D_200E_206D_202A_206B_206C_206A_200F_200E_206B_202E_200D_200E_206D_200D_206C_202E_202E_202D_206D_200C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202A_200D_202C_202B_202D_202B_202B_202C_200F_202A_206F_200B_200D_202E_206E_202A_200B_200B_202D_206E_206B_202C_206C_200D_202A_206A_206F_200B_202E_202E_200E_200B_206A_200C_206F_206D_202B_202B_206C_206C_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } + + static short _202D_206B_206F_200C_200E_200F_202A_206D_202D_202D_202C_202D_206F_206F_202D_202E_202A_206B_202A_202D_206E_202D_200D_200D_202D_202A_200C_200B_200E_202E_200D_206A_206D_202B_206F_202D_200B_200E_206F_202A_202E(int P_0) + { + return PlayerStateHelper.GetClassJobLevel(P_0); + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/DeliveryRewardCalculator.cs b/Questionable/Questionable.Controller.CustomDelivery/DeliveryRewardCalculator.cs new file mode 100644 index 00000000..18547ccd --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/DeliveryRewardCalculator.cs @@ -0,0 +1,411 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +using Dalamud.Plugin.Services; +using LLib.Inventory; +using Lumina.Excel; +using Lumina.Excel.Sheets; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed class DeliveryRewardCalculator(IDataManager dataManager) +{ + internal record struct CurrencyReward(uint CurrencyItemId, string CurrencyName, int AmountPerDelivery) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override readonly string ToString() + { + StringBuilder stringBuilder = _206A_200C_202B_206F_202E_202C_202C_200D_200D_206E_200C_206C_202C_200F_206F_206E_202C_200D_200C_202E_206A_206A_206C_202A_206C_206A_200E_200D_202E_200B_206A_202D_202A_206A_206B_206F_206C_200B_206B_202B_202E(); + _200C_200E_206E_206A_206D_202A_206B_202A_206A_202D_206F_200F_202E_200B_200B_206E_200F_202C_206E_206F_200D_200B_206E_202C_200B_202A_200B_200F_202A_200F_206E_200C_206B_200F_202A_200F_200E_206A_202C_202B_202E(stringBuilder, global::_003CModule_003E._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(175214569)); + _200C_200E_206E_206A_206D_202A_206B_202A_206A_202D_206F_200F_202E_200B_200B_206E_200F_202C_206E_206F_200D_200B_206E_202C_200B_202A_200B_200F_202A_200F_206E_200C_206B_200F_202A_200F_200E_206A_202C_202B_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? 851670769 : 851670770); + while (true) + { + int num2 = num; + int num3 = 851670771; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 851670770; + break; + case 2: + _206E_200E_200B_200B_200F_206E_202C_206A_200B_200B_206C_206C_202C_200E_206A_202A_206D_202E_202C_206C_200F_206B_202C_206A_206C_202B_200B_200E_202B_200B_200E_202C_202B_206F_202E_200D_202D_202C_206B_206D_202E(stringBuilder, '}'); + return _200C_200D_200C_200E_206A_202A_206A_202A_202B_200B_200D_200E_200C_200F_200B_200D_206B_206D_200F_200D_206B_206B_206C_202E_206F_202E_200E_200C_200E_206F_200B_206B_202A_206A_206D_206C_200C_206C_206A_206E_202E((object)stringBuilder); + case 1: + _206E_200E_200B_200B_200F_206E_202C_206A_200B_200B_206C_206C_202C_200E_206A_202A_206D_202E_202C_206C_200F_206B_202C_206A_206C_202B_200B_200E_202B_200B_200E_202C_202B_206F_202E_200D_202D_202C_206B_206D_202E(stringBuilder, ' '); + num = 851670769; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private readonly bool PrintMembers(StringBuilder builder) + { + _200C_200E_206E_206A_206D_202A_206B_202A_206A_202D_206F_200F_202E_200B_200B_206E_200F_202C_206E_206F_200D_200B_206E_202C_200B_202A_200B_200F_202A_200F_206E_200C_206B_200F_202A_200F_200E_206A_202C_202B_202E(builder, global::_003CModule_003E._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(557355409)); + _200C_200E_206E_206A_206D_202A_206B_202A_206A_202D_206F_200F_202E_200B_200B_206E_200F_202C_206E_206F_200D_200B_206E_202C_200B_202A_200B_200F_202A_200F_206E_200C_206B_200F_202A_200F_200E_206A_202C_202B_202E(builder, CurrencyItemId.ToString()); + _200C_200E_206E_206A_206D_202A_206B_202A_206A_202D_206F_200F_202E_200B_200B_206E_200F_202C_206E_206F_200D_200B_206E_202C_200B_202A_200B_200F_202A_200F_206E_200C_206B_200F_202A_200F_200E_206A_202C_202B_202E(builder, global::_003CModule_003E._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(-1370044589)); + _200B_206F_200D_202B_202B_200C_206C_206F_202B_202C_206D_200F_206F_200D_206D_206C_200F_206B_206A_206A_200F_202E_206B_202B_206B_200D_206E_202B_206A_200E_206F_202E_206B_206C_202B_200F_200F_202D_200E_206C_202E(builder, (object)CurrencyName); + _200C_200E_206E_206A_206D_202A_206B_202A_206A_202D_206F_200F_202E_200B_200B_206E_200F_202C_206E_206F_200D_200B_206E_202C_200B_202A_200B_200F_202A_200F_206E_200C_206B_200F_202A_200F_200E_206A_202C_202B_202E(builder, global::_003CModule_003E._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(1289637212)); + _200C_200E_206E_206A_206D_202A_206B_202A_206A_202D_206F_200F_202E_200B_200B_206E_200F_202C_206E_206F_200D_200B_206E_202C_200B_202A_200B_200F_202A_200F_206E_200C_206B_200F_202A_200F_200E_206A_202C_202B_202E(builder, AmountPerDelivery.ToString()); + return true; + } + + [CompilerGenerated] + public readonly bool Equals(CurrencyReward other) + { + int num = ((!EqualityComparer.Default.Equals(CurrencyItemId, other.CurrencyItemId)) ? (-1286878871) : (-1286878870)); + while (true) + { + int num2 = num; + int num3 = -1286878869; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return false; + case 1: + num = ((!EqualityComparer.Default.Equals(CurrencyName, other.CurrencyName)) ? (-1286878871) : (-1286878869)); + break; + case 0: + return EqualityComparer.Default.Equals(AmountPerDelivery, other.AmountPerDelivery); + case 3: + num = -1286878870; + break; + } + } + } + + bool IEquatable.Equals(CurrencyReward other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206A_200C_202B_206F_202E_202C_202C_200D_200D_206E_200C_206C_202C_200F_206F_206E_202C_200D_200C_202E_206A_206A_206C_202A_206C_206A_200E_200D_202E_200B_206A_202D_202A_206A_206B_206F_206C_200B_206B_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200C_200E_206E_206A_206D_202A_206B_202A_206A_202D_206F_200F_202E_200B_200B_206E_200F_202C_206E_206F_200D_200B_206E_202C_200B_202A_200B_200F_202A_200F_206E_200C_206B_200F_202A_200F_200E_206A_202C_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206E_200E_200B_200B_200F_206E_202C_206A_200B_200B_206C_206C_202C_200E_206A_202A_206D_202E_202C_206C_200F_206B_202C_206A_206C_202B_200B_200E_202B_200B_200E_202C_202B_206F_202E_200D_202D_202C_206B_206D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200C_200D_200C_200E_206A_202A_206A_202A_202B_200B_200D_200E_200C_200F_200B_200D_206B_206D_200F_200D_206B_206B_206C_202E_206F_202E_200E_200C_200E_206F_200B_206B_202A_206A_206D_206C_200C_206C_206A_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _200B_206F_200D_202B_202B_200C_206C_206F_202B_202C_206D_200F_206F_200D_206D_206C_200F_206B_206A_206A_200F_202E_206B_202B_206B_200D_206E_202B_206A_200E_206F_202E_206B_206C_202B_200F_200F_202D_200E_206C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + } + + 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(); + int num = (dataManager.GetExcelSheet().TryGetRow(rewardRowId, out var row) ? 1083172624 : 1083172627); + uint rewardCurrency = default(uint); + int num8 = default(int); + ushort num9 = default(ushort); + SatisfactionSupplyReward.SatisfactionSupplyRewardDataStruct current = default(SatisfactionSupplyReward.SatisfactionSupplyRewardDataStruct); + while (true) + { + int num2 = num; + int num3 = 1083172625; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_006c; + case 2: + return list; + case 1: + { + using Collection.Enumerator enumerator = row.SatisfactionSupplyRewardData.GetEnumerator(); + num = 328961127; + while (true) + { + int num5 = num; + num3 = 328961135; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 6: + { + string currencyName = GetCurrencyName(rewardCurrency); + list.Add(new CurrencyReward(rewardCurrency, currencyName, num8)); + num = 328961127; + break; + } + case 9: + num = ((tier != Configuration.CustomDeliveryConfiguration.ECollectabilityTier.Low) ? 328961125 : 328961132); + break; + case 4: + num = ((tier == Configuration.CustomDeliveryConfiguration.ECollectabilityTier.Mid) ? 328961128 : 328961126); + break; + case 1: + num8 = num9; + num = ((!hasBonus) ? 328961129 : 328961135); + break; + case 11: + num = 328961127; + break; + case 10: + num9 = current.QuantityHigh; + num = 328961134; + break; + case 3: + num9 = current.QuantityLow; + num = 328961134; + break; + case 8: + num = (enumerator.MoveNext() ? 328961130 : 328961133); + break; + case 5: + current = enumerator.Current; + rewardCurrency = current.RewardCurrency; + num = ((rewardCurrency == 0) ? 328961127 : 328961131); + break; + case 7: + num9 = current.QuantityMid; + num = 328961134; + break; + case 0: + num8 = num8 * row.BonusMultiplier / 100; + num = 328961129; + break; + case 2: + return list; + } + } + } + } + continue; + IL_006c: + num = 1083172627; + } + } + + internal static bool WouldOvercap(uint currencyItemId, int amountPerDelivery, int deliveryCount) + { + int value; + int num = (ScripCaps.TryGetValue(currencyItemId, out value) ? (-1863089792) : (-1863089789)); + while (true) + { + int num2 = num; + int num3 = -1863089790; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004d; + case 1: + return false; + case 2: + return _202B_200E_206D_200C_206E_200D_202B_206E_206A_200C_200B_206E_202A_206F_202B_200F_206C_202C_200F_200C_202B_206A_202D_206D_202C_202E_206B_202D_206D_202A_206A_200B_206C_206F_206C_202B_200D_202E_206A_202A_202E(currencyItemId, false, false) + amountPerDelivery * deliveryCount > value; + } + continue; + IL_004d: + num = -1863089789; + } + } + + 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; + int num2; + using (List.Enumerator enumerator = list.GetEnumerator()) + { + num2 = -1256353988; + int num10 = default(int); + CurrencyReward current = default(CurrencyReward); + int value = default(int); + while (true) + { + int num3 = num2; + int num4 = -1256353985; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + int num12; + int num11; + switch (num6 - (num7 + num7)) + { + case 4: + num12 = num10 / current.AmountPerDelivery; + goto IL_006d; + case 1: + current = enumerator.Current; + num2 = ((!ScripCaps.TryGetValue(current.CurrencyItemId, out value)) ? (-1256353988) : (-1256353985)); + break; + case 2: + num2 = -1256353988; + break; + case 5: + num12 = 0; + goto IL_006d; + case 3: + num2 = (enumerator.MoveNext() ? (-1256353986) : (-1256353992)); + break; + case 0: + num2 = ((current.AmountPerDelivery <= 0) ? (-1256353988) : (-1256353991)); + break; + case 6: + { + int num8 = _202B_200E_206D_200C_206E_200D_202B_206E_206A_200C_200B_206E_202A_206F_202B_200F_206C_202C_200F_200C_202B_206A_202D_206D_202C_202E_206B_202D_206D_202A_206A_200B_206C_206F_206C_202B_200D_202E_206A_202A_202E(current.CurrencyItemId, false, false); + int num9 = value; + num4 = num8; + num5 = num9; + num10 = ~(~num5 + num4); + num2 = ((num10 > 0) ? (-1256353989) : (-1256353990)); + break; + } + case 7: + goto end_IL_0021; + IL_006d: + num11 = num12; + num = _200E_202E_200C_200F_206B_206C_200E_200B_202A_206A_200D_200D_200D_202A_200D_200C_206B_202A_200B_206C_206C_202A_200E_200F_206E_206E_200D_206B_206B_206F_202E_206C_200B_202B_206B_206A_202B_200E_206A_200D_202E(num, num11); + num2 = -1256353988; + break; + } + continue; + end_IL_0021: + break; + } + } + num2 = ((num == int.MaxValue) ? 1414795502 : 1414795503); + while (true) + { + int num13 = num2; + int num4 = 1414795502; + int num5 = num13; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + goto IL_01c5; + case 1: + return num; + case 0: + return int.MaxValue; + } + continue; + IL_01c5: + num2 = 1414795503; + } + } + + internal int CalculateSatisfactionPerDelivery(uint rewardRowId, bool hasBonus, Configuration.CustomDeliveryConfiguration.ECollectabilityTier tier = Configuration.CustomDeliveryConfiguration.ECollectabilityTier.High) + { + SatisfactionSupplyReward row; + int num = (dataManager.GetExcelSheet().TryGetRow(rewardRowId, out row) ? 284816978 : 284816979); + ushort num8 = default(ushort); + int num7 = default(int); + while (true) + { + int num2 = num; + int num3 = 284816978; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num8 = row.SatisfactionHigh; + num = 284816981; + break; + case 4: + num = ((tier != Configuration.CustomDeliveryConfiguration.ECollectabilityTier.Low) ? 284816983 : 284816977); + break; + case 0: + num = ((tier == Configuration.CustomDeliveryConfiguration.ECollectabilityTier.Mid) ? 284816980 : 284816982); + break; + case 6: + num8 = row.SatisfactionMid; + num = 284816981; + break; + case 9: + return num7; + case 7: + num7 = num8; + num = ((!hasBonus) ? 284816987 : 284816986); + break; + case 2: + num = 284816979; + break; + case 3: + num8 = row.SatisfactionLow; + num = 284816981; + break; + case 8: + num7 = num7 * row.BonusMultiplier / 100; + num = 284816987; + break; + case 1: + return 0; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private string GetCurrencyName(uint currencyItemId) + { + Item row; + int num = ((!dataManager.GetExcelSheet().TryGetRow(currencyItemId, out row)) ? (-1217003400) : (-1217003397)); + while (true) + { + int num2 = num; + int num3 = -1217003399; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1297490435)); + defaultInterpolatedStringHandler.AppendFormatted(currencyItemId); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + case 2: + return row.Name.ToString(); + case 0: + goto IL_00a7; + } + continue; + IL_00a7: + num = -1217003397; + } + } + + static int _202B_200E_206D_200C_206E_200D_202B_206E_206A_200C_200B_206E_202A_206F_202B_200F_206C_202C_200F_200C_202B_206A_202D_206D_202C_202E_206B_202D_206D_202A_206A_200B_206C_206F_206C_202B_200D_202E_206A_202A_202E(uint P_0, bool P_1, bool P_2) + { + return InventoryHelper.GetItemCount(P_0, P_1, P_2); + } + + static int _200E_202E_200C_200F_206B_206C_200E_200B_202A_206A_200D_200D_200D_202A_200D_200C_206B_202A_200B_206C_206C_202A_200E_200F_206E_206E_200D_206B_206B_206F_202E_206C_200B_202B_206B_206A_202B_200E_206A_200D_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/EDeliverySlot.cs b/Questionable/Questionable.Controller.CustomDelivery/EDeliverySlot.cs new file mode 100644 index 00000000..ae159cf3 --- /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 00000000..32b56082 --- /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 00000000..8adfc985 --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/SatisfactionSupplyTurnInExecutor.cs @@ -0,0 +1,428 @@ +using System; +using System.Runtime.CompilerServices; +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; + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + _phase = EPhase.InteractWithNpc; + _remaining = base.Task.DeliveryCount; + _lastUsedDeliveries = _206D_206D_202E_206B_206B_206F_206D_206E_206A_200C_206F_206F_200C_206C_206C_206E_206B_206D_202D_202D_202E_206D_200D_200C_202D_202E_206B_206E_202E_202B_206C_206E_200E_206F_200F_202D_200C_202E_202B_200E_202E(base.Task.NpcIndex).UsedDeliveries; + _throttle.Clear(); + _phaseStartMs = _202D_206E_200C_202C_206E_206A_202D_206D_200C_202B_206E_206A_200E_200E_202C_202B_202B_200D_206E_200E_202D_206A_206B_202C_202E_202C_200C_200C_202E_200D_200F_200E_200B_200C_200F_202B_202A_206F_206A_200C_202E(); + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(1474000530), new object[3] + { + base.Task.NpcIndex, + base.Task.Slot, + base.Task.DeliveryCount + }); + return true; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + long num = _202D_206E_200C_202C_206E_206A_202D_206D_200C_202B_206E_206A_200E_200E_202C_202B_202B_200D_206E_200E_202D_206A_206B_202C_202E_202C_200C_200C_202E_200D_200F_200E_200B_200C_200F_202B_202A_206F_206A_200C_202E() - _phaseStartMs; + int num2 = ((_phase != EPhase.WaitForCutsceneEnd) ? 427799827 : 427799864); + int usedDeliveries = default(int); + int num6 = default(int); + bool flag = default(bool); + while (true) + { + int num3 = num2; + int num4 = 427799834; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 2: + num2 = ((!_throttle.TryReset(0.5)) ? 427799816 : 427799857); + continue; + case 44: + SetPhase(EPhase.Closing); + num2 = 427799816; + continue; + case 20: + num2 = 427799864; + continue; + case 31: + goto IL_015d; + case 19: + num2 = 427799816; + continue; + case 11: + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(350961385), Array.Empty()); + SetPhase(EPhase.CheckCompletion); + num2 = 427799816; + continue; + case 3: + goto IL_01c7; + case 25: + { + int remaining = _remaining; + int num7 = usedDeliveries; + num4 = _lastUsedDeliveries; + num5 = num7; + num4 = ~(~num5 + num4); + num5 = remaining; + _remaining = _206F_200D_200C_202C_200F_202A_206B_200B_206D_202A_206D_202B_200E_202D_200D_200C_202B_206D_202A_206F_200B_202E_206F_202E_206A_206A_200D_200E_200E_200E_206B_202A_200E_206A_202C_206B_206A_200B_202D_202E_202E(0, ~(~num5 + num4)); + _lastUsedDeliveries = usedDeliveries; + num6 = _202D_200F_202C_202A_206D_206A_200C_206F_206E_206E_202C_206E_202D_206A_200B_206F_202E_202A_200C_202A_202C_200D_202E_200D_202C_206D_200D_206B_206F_200C_202A_200F_200B_202E_200D_206F_206C_200D_202D_200F_202E(); + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(-306504982), new object[2] { _remaining, num6 }); + num2 = ((_remaining <= 0) ? 427799862 : 427799860); + continue; + } + case 34: + flag = num > 60000; + num2 = 427799835; + continue; + case 32: + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(1631440184), new object[1] { base.Task.Slot }); + SetPhase(EPhase.WaitForCutsceneStart); + num2 = 427799816; + continue; + case 33: + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(1374604529), Array.Empty()); + return ETaskResult.TaskComplete; + case 40: + goto IL_02fd; + case 4: + num2 = ((!_206B_206A_202A_202D_206C_202C_202C_202A_206D_202C_200E_200D_202E_200C_202A_202A_206A_200E_206A_206C_200D_202A_202A_200E_200B_202C_206A_206F_206B_202D_206D_202B_200C_200E_206B_202B_200C_206D_202A_200D_202E(gameGui)) ? 427799836 : 427799815); + continue; + case 28: + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(-1574397942), Array.Empty()); + return ETaskResult.TaskComplete; + case 24: + num2 = ((!_206B_206A_202A_202D_206C_202C_202C_202A_206D_202C_200E_200D_202E_200C_202A_202A_206A_200E_206A_206C_200D_202A_202A_200E_200B_202C_206A_206F_206B_202D_206D_202B_200C_200E_206B_202B_200C_206D_202A_200D_202E(gameGui)) ? 427799816 : 427799826); + continue; + case 5: + num2 = (TryDismissResultAddon() ? 427799816 : 427799856); + continue; + case 42: + num2 = ((!_200C_206C_200D_202C_206C_202E_202E_202E_200B_200F_200D_202A_206E_200C_200F_202C_206E_206E_200B_202C_202D_202E_200E_200E_206D_202E_202C_206C_200B_206F_202C_200F_200E_206D_200F_202B_206B_206F_206D_206B_202E(gameGui)) ? 427799828 : 427799867); + continue; + case 22: + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(1456862888), Array.Empty()); + SetPhase(EPhase.ConfirmTrade); + num2 = 427799816; + continue; + case 18: + return ETaskResult.StillRunning; + case 0: + num2 = ((!_200B_200E_206A_200F_206F_206A_206F_200C_206B_202E_206D_200C_200C_200B_202D_200F_202B_206D_202A_202B_202B_202A_206A_202E_202B_206E_200D_206C_202D_202E_206C_206F_202A_206E_200E_200F_206A_200D_200B_200E_202E(condition, ConditionFlag.OccupiedInCutSceneEvent)) ? 427799816 : 427799829); + continue; + case 26: + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(1394771024), Array.Empty()); + num2 = 427799816; + continue; + case 21: + goto IL_0464; + case 37: + SetPhase(EPhase.InteractWithNpc); + num2 = 427799816; + continue; + case 12: + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(-251211365), new object[1] { base.Task.NpcDataId }); + SetPhase(EPhase.WaitForAddon); + num2 = 427799816; + continue; + case 10: + SetPhase(EPhase.WaitForAddon); + num2 = 427799816; + continue; + case 38: + goto IL_0509; + case 9: + flag = num > 15000; + num2 = 427799835; + continue; + case 17: + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(1397355813), Array.Empty()); + SetPhase(EPhase.CheckCompletion); + num2 = 427799816; + continue; + case 29: + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(-1083762627), Array.Empty()); + SetPhase(EPhase.SelectSlot); + num2 = 427799816; + continue; + case 13: + num2 = ((!TryDismissResultAddon()) ? 427799810 : 427799871); + continue; + case 27: + num2 = ((!gameFunctions.InteractWith(base.Task.NpcDataId)) ? 427799816 : 427799830); + continue; + case 43: + num2 = ((base.Task.NpcDataId == 0) ? 427799816 : 427799809); + continue; + case 1: + num2 = ((!flag) ? 427799818 : 427799863); + continue; + case 16: + switch (_phase) + { + case EPhase.InteractWithNpc: + break; + case EPhase.SelectSlot: + goto IL_015d; + case EPhase.WaitForAddon: + goto IL_01c7; + case EPhase.ConfirmTrade: + goto IL_02fd; + case EPhase.CheckCompletion: + goto IL_0464; + case EPhase.WaitForCutsceneEnd: + goto IL_0509; + default: + goto IL_0678; + case EPhase.WaitForCutsceneStart: + goto IL_06e7; + case EPhase.Closing: + goto end_IL_0047; + } + goto case 2; + case 46: + num2 = ((num6 <= 0) ? 427799862 : 427799824); + continue; + case 23: + num2 = ((!_202E_200B_202B_202C_202B_202D_206D_206A_202B_206F_200D_200B_206B_206D_206C_206C_206A_202C_206E_206D_202E_206B_200F_200B_202D_200B_206D_202D_200B_202E_200F_202D_206F_206D_202A_202D_202E_202E_206E_206C_202E()) ? 427799816 : 427799866); + continue; + case 7: + num2 = ((!_200E_200F_206E_206C_200E_200F_206D_202C_202E_200E_202A_200D_202E_202D_206E_200B_206C_206A_200C_200E_202A_206E_202B_206C_206E_200C_200E_202E_200F_200C_206D_202B_206C_206E_200F_206B_206C_202A_202B_202B_202E()) ? 427799831 : 427799820); + continue; + case 30: + goto IL_06e7; + case 45: + _206C_202A_206F_200F_206C_202A_200B_200D_206D_206D_202E_206C_202D_206D_206D_202E_200D_202C_200B_200E_202D_200B_200E_202B_200B_202D_202A_206A_200E_206B_202B_202D_206E_206F_206D_200C_202E_202E_206E_206F_202E((ILogger)logger, global::_003CModule_003E._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(-1661028568), new object[2] { _phase, num }); + TryDismissResultAddon(); + _200C_206C_200D_202C_206C_202E_202E_202E_200B_200F_200D_202A_206E_200C_200F_202C_206E_206E_200B_202C_202D_202E_200E_200E_206D_202E_202C_206C_200B_206F_202C_200F_200E_206D_200F_202B_206B_206F_206D_206B_202E(gameGui); + return ETaskResult.RetryStep; + case 15: + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(-285034380), Array.Empty()); + SetPhase(EPhase.WaitForCutsceneEnd); + num2 = 427799816; + continue; + case 36: + num2 = (TryDismissResultAddon() ? 427799816 : 427799838); + continue; + case 6: + num2 = ((!_200F_206A_200F_200E_206A_202E_206C_202E_202A_206D_202D_202B_202D_206B_206B_206F_202D_200E_202A_202C_206A_202C_200C_206A_202C_200B_202C_206A_200E_206F_206E_200C_206F_206A_206E_202B_200C_200B_206A_202E_202E(gameGui)) ? 427799859 : 427799865); + continue; + case 14: + num2 = (_202E_200B_202E_200D_206C_206F_206E_200D_202B_206B_202D_200B_200D_202A_206D_202E_200D_202A_200E_200F_206F_206C_202E_206E_206E_206D_200F_202A_206D_206B_202A_200D_206B_200E_200E_206B_202C_206D_200B_202D_202E(gameGui) ? 427799816 : 427799814); + continue; + case 41: + num2 = ((!_200C_206A_206B_200D_200C_202C_206D_206A_206D_206C_202E_200C_202E_202A_206C_206E_202E_206D_202D_200B_200F_202B_200D_206E_200E_200D_206A_206B_206A_206B_206F_206E_200C_202A_202E_206E_202D_206F_200B_200F_202E(gameGui)) ? 427799816 : 427799808); + continue; + case 8: + _202C_200D_206E_206E_200B_202C_206A_206D_206C_202E_200F_206C_206A_200F_202C_206B_206C_202B_202A_206D_206E_202C_206C_200B_206A_202A_200C_202C_200F_202E_200F_206E_206A_206A_202D_200C_206C_202A_206A_206F_202E(gameGui, (int)base.Task.Slot); + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(-1693755949), new object[1] { base.Task.Slot }); + num2 = 427799816; + continue; + case 35: + _202A_206D_206A_200C_202B_200C_206F_200F_200E_200D_206C_202C_200D_202A_202C_206E_206F_200C_202B_206F_206A_202E_206D_206E_202E_206D_202B_206E_202C_202D_206C_206D_200E_206F_200F_206C_200C_200B_200D_206A_202E(gameGui, 0); + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(-2145457438), Array.Empty()); + num2 = 427799816; + continue; + case 39: + break; + IL_0464: + usedDeliveries = _206D_206D_202E_206B_206B_206F_206D_206E_206A_200C_206F_206F_200C_206C_206C_206E_206B_206D_202D_202D_202E_206D_200D_200C_202D_202E_206B_206E_202E_202B_206C_206E_200E_206F_200F_202D_200C_202E_202B_200E_202E(base.Task.NpcIndex).UsedDeliveries; + num2 = ((usedDeliveries <= _lastUsedDeliveries) ? 427799816 : 427799811); + continue; + IL_02fd: + num2 = ((!_throttle.TryReset(0.5)) ? 427799816 : 427799821); + continue; + IL_06e7: + num2 = ((!HasDeliveryRegistered()) ? 427799834 : 427799819); + continue; + IL_0678: + num2 = 427799817; + continue; + IL_015d: + num2 = ((!_throttle.TryReset(0.5)) ? 427799816 : 427799837); + continue; + IL_01c7: + num2 = ((!_throttle.TryReset(0.5)) ? 427799816 : 427799870); + continue; + IL_0509: + num2 = (_200B_200E_206A_200F_206F_206A_206F_200C_206B_202E_206D_200C_200C_200B_202D_200F_202B_206D_202A_202B_202B_202A_206A_202E_202B_206E_200D_206C_202D_202E_206C_206F_202A_206E_200E_200F_206A_200D_200B_200E_202E(condition, ConditionFlag.OccupiedInCutSceneEvent) ? 427799816 : 427799825); + continue; + end_IL_0047: + break; + } + num2 = ((!_throttle.TryReset(0.5)) ? 427799816 : 427799839); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool TryDismissResultAddon() + { + int num = (_200D_206D_202C_206F_200E_200D_206D_206A_206D_206F_202C_200C_200D_202E_200F_202C_206D_200C_202D_202E_202A_206A_206F_200F_206A_200D_200C_200E_206B_206A_202E_200D_200B_202C_202B_206C_206D_206C_206C_200F_202E(gameGui) ? 1612697595 : 1612697592); + while (true) + { + int num2 = num; + int num3 = 1612697593; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004d; + case 2: + _206D_200B_200E_202D_206C_202D_202A_206C_206A_206B_202A_206F_202D_200B_200D_202D_202C_202C_202D_206C_202A_200B_206B_202A_200D_206F_202B_202C_206B_202D_200F_202B_200C_200B_202C_202D_206C_200B_206C_206B_202E(gameGui); + _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E((ILogger)logger, global::_003CModule_003E._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(-1119009587), Array.Empty()); + return true; + case 1: + return false; + } + continue; + IL_004d: + num = 1612697592; + } + } + + private void SetPhase(EPhase phase) + { + _phase = phase; + _phaseStartMs = _202D_206E_200C_202C_206E_206A_202D_206D_200C_202B_206E_206A_200E_200E_202C_202B_202B_200D_206E_200E_202D_206A_206B_202C_202E_202C_200C_200C_202E_200D_200F_200E_200B_200C_200F_202B_202A_206F_206A_200C_202E(); + } + + private bool HasDeliveryRegistered() + { + return _206D_206D_202E_206B_206B_206F_206D_206E_206A_200C_206F_206F_200C_206C_206C_206E_206B_206D_202D_202D_202E_206D_200D_200C_202D_202E_206B_206E_202E_202B_206C_206E_200E_206F_200F_202D_200C_202E_202B_200E_202E(base.Task.NpcIndex).UsedDeliveries > _lastUsedDeliveries; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static SatisfactionSupplyActions.NpcState _206D_206D_202E_206B_206B_206F_206D_206E_206A_200C_206F_206F_200C_206C_206C_206E_206B_206D_202D_202D_202E_206D_200D_200C_202D_202E_206B_206E_202E_202B_206C_206E_200E_206F_200F_202D_200C_202E_202B_200E_202E(int P_0) + { + return SatisfactionSupplyActions.GetNpcState(P_0); + } + + static long _202D_206E_200C_202C_206E_206A_202D_206D_200C_202B_206E_206A_200E_200E_202C_202B_202B_200D_206E_200E_202D_206A_206B_202C_202E_202C_200C_200C_202E_200D_200F_200E_200B_200C_200F_202B_202A_206F_206A_200C_202E() + { + return Environment.TickCount64; + } + + static void _206B_206F_200B_206D_202B_202D_200E_200F_206F_200F_206B_206D_200E_200C_206F_202A_202C_206B_202E_206C_206A_206A_202C_200F_200F_200D_200C_200B_202B_206C_202E_206C_206A_202D_206D_206E_206B_200B_202A_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _206C_202A_206F_200F_206C_202A_200B_200D_206D_206D_202E_206C_202D_206D_206D_202E_200D_202C_200B_200E_202D_200B_200E_202B_200B_202D_202A_206A_200E_206B_202B_202D_206E_206F_206D_200C_202E_202E_206E_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static bool _200C_206C_200D_202C_206C_202E_202E_202E_200B_200F_200D_202A_206E_200C_200F_202C_206E_206E_200B_202C_202D_202E_200E_200E_206D_202E_202C_206C_200B_206F_202C_200F_200E_206D_200F_202B_206B_206F_206D_206B_202E(IGameGui P_0) + { + return SatisfactionSupplyActions.TryCloseSatisfactionSupply(P_0); + } + + static bool _206B_206A_202A_202D_206C_202C_202C_202A_206D_202C_200E_200D_202E_200C_202A_202A_206A_200E_206A_206C_200D_202A_202A_200E_200B_202C_206A_206F_206B_202D_206D_202B_200C_200E_206B_202B_200C_206D_202A_200D_202E(IGameGui P_0) + { + return SatisfactionSupplyActions.IsSatisfactionSupplyFullyReady(P_0); + } + + static bool _200F_206A_200F_200E_206A_202E_206C_202E_202A_206D_202D_202B_202D_206B_206B_206F_202D_200E_202A_202C_206A_202C_200C_206A_202C_200B_202C_206A_200E_206F_206E_200C_206F_206A_206E_202B_200C_200B_206A_202E_202E(IGameGui P_0) + { + return VendorPurchaseActions.IsDialogReady(P_0); + } + + static bool _202A_206D_206A_200C_202B_200C_206F_200F_200E_200D_206C_202C_200D_202A_202C_206E_206F_200C_202B_206F_206A_202E_206D_206E_202E_206D_202B_206E_202C_202D_206C_206D_200E_206F_200F_206C_200C_200B_200D_206A_202E(IGameGui P_0, int P_1) + { + return VendorPurchaseActions.TrySelectDialogOption(P_0, P_1); + } + + static bool _200C_206A_206B_200D_200C_202C_206D_206A_206D_206C_202E_200C_202E_202A_206C_206E_202E_206D_202D_200B_200F_202B_200D_206E_200E_200D_206A_206B_206A_206B_206F_206E_200C_202A_202E_206E_202D_206F_200B_200F_202E(IGameGui P_0) + { + return SatisfactionSupplyActions.TryProgressTalk(P_0); + } + + static bool _200E_200F_206E_206C_200E_200F_206D_202C_202E_200E_202A_200D_202E_202D_206E_200B_206C_206A_200C_200E_202A_206E_202B_206C_206E_200C_200E_202E_200F_200C_206D_202B_206C_206E_200F_206B_206C_202A_202B_202B_202E() + { + return SatisfactionSupplyActions.IsNpcTradeReady(); + } + + static bool _202C_200D_206E_206E_200B_202C_206A_206D_206C_202E_200F_206C_206A_200F_202C_206B_206C_202B_202A_206D_206E_202C_206C_200B_206A_202A_200C_202C_200F_202E_200F_206E_206A_206A_202D_200C_206C_202A_206A_206F_202E(IGameGui P_0, int P_1) + { + return SatisfactionSupplyActions.TrySelectDeliverySlot(P_0, P_1); + } + + static bool _202E_200B_202B_202C_202B_202D_206D_206A_202B_206F_200D_200B_206B_206D_206C_206C_206A_202C_206E_206D_202E_206B_200F_200B_202D_200B_206D_202D_200B_202E_200F_202D_206F_206D_202A_202D_202E_202E_206E_206C_202E() + { + return SatisfactionSupplyActions.TryConfirmTrade(); + } + + static bool _200B_200E_206A_200F_206F_206A_206F_200C_206B_202E_206D_200C_200C_200B_202D_200F_202B_206D_202A_202B_202B_202A_206A_202E_202B_206E_200D_206C_202D_202E_206C_206F_202A_206E_200E_200F_206A_200D_200B_200E_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static int _206F_200D_200C_202C_200F_202A_206B_200B_206D_202A_206D_202B_200E_202D_200D_200C_202B_206D_202A_206F_200B_202E_206F_202E_206A_206A_200D_200E_200E_200E_206B_202A_200E_206A_202C_206B_206A_200B_202D_202E_202E(int P_0, int P_1) + { + return Math.Max(P_0, P_1); + } + + static int _202D_200F_202C_202A_206D_206A_200C_206F_206E_206E_202C_206E_202D_206A_200B_206F_202E_202A_200C_202A_202C_200D_202E_200D_202C_206D_200D_206B_206F_200C_202A_200F_200B_202E_200D_206F_206C_200D_202D_200F_202E() + { + return SatisfactionSupplyActions.GetRemainingAllowances(); + } + + static bool _202E_200B_202E_200D_206C_206F_206E_200D_202B_206B_202D_200B_200D_202A_206D_202E_200D_202A_200E_200F_206F_206C_202E_206E_206E_206D_200F_202A_206D_206B_202A_200D_206B_200E_200E_206B_202C_206D_200B_202D_202E(IGameGui P_0) + { + return SatisfactionSupplyActions.IsSatisfactionSupplyReady(P_0); + } + + static bool _200D_206D_202C_206F_200E_200D_206D_206A_206D_206F_202C_200C_200D_202E_200F_202C_206D_200C_202D_202E_202A_206A_206F_200F_206A_200D_200C_200E_206B_206A_202E_200D_200B_202C_202B_206C_206D_206C_206C_200F_202E(IGameGui P_0) + { + return SatisfactionSupplyActions.IsSatisfactionSupplyResultVisible(P_0); + } + + static bool _206D_200B_200E_202D_206C_202D_202A_206C_206A_206B_202A_206F_202D_200B_200D_202D_202C_202C_202D_206C_202A_200B_206B_202A_200D_206F_202B_202C_206B_202D_200F_202B_200C_200B_202C_202D_206C_200B_206C_206B_202E(IGameGui P_0) + { + return SatisfactionSupplyActions.TryCloseSatisfactionSupplyResult(P_0); + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/SatisfactionSupplyTurnInTask.cs b/Questionable/Questionable.Controller.CustomDelivery/SatisfactionSupplyTurnInTask.cs new file mode 100644 index 00000000..efcad295 --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/SatisfactionSupplyTurnInTask.cs @@ -0,0 +1,117 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +using Questionable.Controller.Steps; + +namespace Questionable.Controller.CustomDelivery; + +internal sealed record SatisfactionSupplyTurnInTask(int NpcIndex, EDeliverySlot Slot, int DeliveryCount, uint NpcDataId) : ITask +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_206E_202C_200D_206E_200F_200F_202C_200C_206B_206A_202A_206C_202E_202B_206D_200C_206F_206B_206E_200F_200E_200F_202E_206B_200D_206A_202A_206D_200D_202D_206A_202A_202C_206B_206F_202B_202E_202D_206C_202E(typeof(SatisfactionSupplyTurnInTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(27, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1300446303)); + defaultInterpolatedStringHandler.AppendFormatted(NpcIndex); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1337890915)); + defaultInterpolatedStringHandler.AppendFormatted(Slot); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1866089119)); + defaultInterpolatedStringHandler.AppendFormatted(DeliveryCount); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_206B_206E_200D_200C_200F_200C_206F_202C_202E_206D_200C_202D_202C_202C_200F_202B_202E_200F_202B_202E_206D_200E_200F_206E_206E_200F_202E_202D_206B_206D_206A_200C_206E_202C_200F_200D_202B_206D_200C_202E(); + _200B_202B_206D_202C_200D_200B_200D_202A_206F_202B_206E_202C_202D_206D_206D_200B_206D_206B_206B_202C_202C_206C_202C_200C_206D_202C_200F_202A_202D_200F_200D_200D_206C_206C_202A_202E_200E_206A_206A_206F_202E(builder, global::_003CModule_003E._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(-1595512881)); + _200B_202B_206D_202C_200D_200B_200D_202A_206F_202B_206E_202C_202D_206D_206D_200B_206D_206B_206B_202C_202C_206C_202C_200C_206D_202C_200F_202A_202D_200F_200D_200D_206C_206C_202A_202E_200E_206A_206A_206F_202E(builder, NpcIndex.ToString()); + _200B_202B_206D_202C_200D_200B_200D_202A_206F_202B_206E_202C_202D_206D_206D_200B_206D_206B_206B_202C_202C_206C_202C_200C_206D_202C_200F_202A_202D_200F_200D_200D_206C_206C_202A_202E_200E_206A_206A_206F_202E(builder, global::_003CModule_003E._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(1002596104)); + _200B_202B_206D_202C_200D_200B_200D_202A_206F_202B_206E_202C_202D_206D_206D_200B_206D_206B_206B_202C_202C_206C_202C_200C_206D_202C_200F_202A_202D_200F_200D_200D_206C_206C_202A_202E_200E_206A_206A_206F_202E(builder, Slot.ToString()); + _200B_202B_206D_202C_200D_200B_200D_202A_206F_202B_206E_202C_202D_206D_206D_200B_206D_206B_206B_202C_202C_206C_202C_200C_206D_202C_200F_202A_202D_200F_200D_200D_206C_206C_202A_202E_200E_206A_206A_206F_202E(builder, global::_003CModule_003E._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(1495805969)); + _200B_202B_206D_202C_200D_200B_200D_202A_206F_202B_206E_202C_202D_206D_206D_200B_206D_206B_206B_202C_202C_206C_202C_200C_206D_202C_200F_202A_202D_200F_200D_200D_206C_206C_202A_202E_200E_206A_206A_206F_202E(builder, DeliveryCount.ToString()); + _200B_202B_206D_202C_200D_200B_200D_202A_206F_202B_206E_202C_202D_206D_206D_200B_206D_206B_206B_202C_202C_206C_202C_200C_206D_202C_200F_202A_202D_200F_200D_200D_206C_206C_202A_202E_200E_206A_206A_206F_202E(builder, global::_003CModule_003E._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(1084145586)); + _200B_202B_206D_202C_200D_200B_200D_202A_206F_202B_206E_202C_202D_206D_206D_200B_206D_206B_206B_202C_202C_206C_202C_200C_206D_202C_200F_202A_202D_200F_200D_200D_206C_206C_202A_202E_200E_206A_206A_206F_202E(builder, NpcDataId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(SatisfactionSupplyTurnInTask? other) + { + int num = (((object)this == other) ? 887679026 : 887679031); + while (true) + { + int num2 = num; + int num3 = 887679025; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + return EqualityComparer.Default.Equals(NpcDataId, other.NpcDataId); + case 1: + num = ((!EqualityComparer.Default.Equals(DeliveryCount, other.DeliveryCount)) ? 887679029 : 887679033); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(NpcIndex, other.NpcIndex)) ? 887679029 : 887679027); + break; + case 6: + num = (((object)other == null) ? 887679029 : 887679030); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(Slot, other.Slot)) ? 887679029 : 887679024); + break; + case 3: + return true; + case 4: + return false; + case 0: + num = 887679031; + break; + case 7: + num = ((!_200F_206E_202C_200B_206A_200D_206E_202C_206E_202D_202D_200D_202B_200B_202E_206E_200F_200D_200C_200C_206F_206C_200B_200E_202E_200F_200E_206F_200D_200C_202A_200F_202C_206C_202E_200D_206B_206F_202A_200F_202E(EqualityContract, other.EqualityContract)) ? 887679029 : 887679028); + break; + } + } + } + + bool IEquatable.Equals(SatisfactionSupplyTurnInTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_206E_202C_200D_206E_200F_200F_202C_200C_206B_206A_202A_206C_202E_202B_206D_200C_206F_206B_206E_200F_200E_200F_202E_206B_200D_206A_202A_206D_200D_202D_206A_202A_202C_206B_206F_202B_202E_202D_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206C_206B_206E_200D_200C_200F_200C_206F_202C_202E_206D_200C_202D_202C_202C_200F_202B_202E_200F_202B_202E_206D_200E_200F_206E_206E_200F_202E_202D_206B_206D_206A_200C_206E_202C_200F_200D_202B_206D_200C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200B_202B_206D_202C_200D_200B_200D_202A_206F_202B_206E_202C_202D_206D_206D_200B_206D_206B_206B_202C_202C_206C_202C_200C_206D_202C_200F_202A_202D_200F_200D_200D_206C_206C_202A_202E_200E_206A_206A_206F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200F_206E_202C_200B_206A_200D_206E_202C_206E_202D_202D_200D_202B_200B_202E_206E_200F_200D_200C_200C_206F_206C_200B_200E_202E_200F_200E_206F_200D_200C_202A_200F_202C_206C_202E_200D_206B_206F_202A_200F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/VendorPurchaseExecutor.cs b/Questionable/Questionable.Controller.CustomDelivery/VendorPurchaseExecutor.cs new file mode 100644 index 00000000..01de942d --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/VendorPurchaseExecutor.cs @@ -0,0 +1,419 @@ +using System; +using System.Runtime.CompilerServices; +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 = _206E_206E_200E_202B_202A_206A_200C_206D_206A_202D_202B_206E_206D_206E_200C_200D_202A_200D_200C_202D_202E_200F_206D_206E_206C_202C_206C_206A_200E_206D_200F_206C_206E_202B_206A_206B_200E_200F_206E_206B_202E(); + _failed = false; + _countBeforeBuy = 0; + _buyAttempts = 0; + _confirmationClicked = false; + return true; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe override ETaskResult Update() + { + long num = _206E_206E_200E_202B_202A_206A_200C_206D_206A_202D_202B_206E_206D_206E_200C_200D_202A_200D_200C_202D_202E_200F_206D_206E_206C_202C_206C_206A_200E_206D_200F_206C_206E_202B_206A_206B_200E_200F_206E_206B_202E() - _stateStartMs; + int num2 = ((_state == EState.WaitForBuy) ? 839409606 : 839409644); + int inventoryItemCount = default(int); + VendorPurchaseTask.PurchaseItem purchaseItem = default(VendorPurchaseTask.PurchaseItem); + VendorPurchaseTask.PurchaseItem purchaseItem2 = default(VendorPurchaseTask.PurchaseItem); + int num16 = default(int); + while (true) + { + int num3 = num2; + int num4 = 839409609; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 11: + num2 = 839409644; + break; + case 26: + return ETaskResult.StillRunning; + case 10: + return ETaskResult.StillRunning; + case 7: + return ETaskResult.StillRunning; + case 34: + num2 = ((!_206F_200E_200B_206B_202C_206A_206B_200E_206B_202E_206A_206D_202C_200D_200F_200B_200B_206B_202D_200C_200D_202C_202A_200E_206D_200E_200B_202A_206A_206F_206F_202C_202B_200F_202D_206C_200F_202C_202A_206B_202E(gameGui)) ? 839409635 : 839409631); + break; + case 37: + num2 = ((num <= 15000) ? 839409606 : 839409622); + break; + case 6: + goto IL_0195; + case 23: + return ETaskResult.StillRunning; + case 21: + inventoryItemCount = InventoryManager.Instance()->GetInventoryItemCount(purchaseItem.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); + num2 = ((inventoryItemCount > _countBeforeBuy) ? 839409605 : 839409604); + break; + case 51: + return ETaskResult.StillRunning; + case 32: + return ETaskResult.StillRunning; + case 35: + num2 = (_202D_202E_202D_206E_202A_202A_206B_206B_202C_202E_200B_200D_202B_202C_202E_200B_202B_200E_200D_206E_202B_206B_206C_206C_202A_202D_202B_202E_200C_200C_206C_202A_200D_200C_200F_202C_202C_200F_206B_202D_202E(condition, ConditionFlag.OccupiedInEvent) ? 839409603 : 839409656); + break; + case 30: + _206E_206D_206F_202B_206D_206E_202E_200B_202A_202E_200C_202C_202C_202C_206F_202E_206E_200C_202D_202A_202A_200D_206A_202A_206C_206A_206E_200E_206F_206B_202B_202B_206B_200E_200F_206F_206E_200E_202B_206B_202E((ILogger)logger, global::_003CModule_003E._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(-1366453963), Array.Empty()); + SetState(EState.WaitForClose); + num2 = 839409637; + break; + case 44: + return ETaskResult.StillRunning; + case 46: + num2 = (_throttle.TryReset(0.5) ? 839409607 : 839409614); + break; + case 56: + goto IL_0292; + case 52: + { + int buyAttempts2 = _buyAttempts; + num4 = 1; + num5 = buyAttempts2; + int num14 = num5 ^ num4; + int num15 = num5 & num4; + _buyAttempts = num14 + (num15 + num15); + _confirmationClicked = false; + ILogger logger3 = logger; + string text3 = global::_003CModule_003E._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(1763985144); + object[] obj2 = new object[7] { purchaseItem2.ItemId, num16, purchaseItem2.Quantity, _buyAttempts, 3, null, null }; + int purchaseIndex3 = _purchaseIndex; + num4 = 1; + num5 = purchaseIndex3; + int num17 = num5 ^ num4; + int num18 = num5 & num4; + obj2[5] = num17 + (num18 + num18); + obj2[6] = base.Task.Purchases.Count; + _206E_206D_206F_202B_206D_206E_202E_200B_202A_202E_200C_202C_202C_202C_206F_202E_206E_200C_202D_202A_202A_200D_206A_202A_206C_206A_206E_200E_206F_206B_202B_202B_206B_200E_200F_206F_206E_200E_202B_206B_202E((ILogger)logger3, text3, obj2); + SetState(EState.WaitForBuy); + num2 = 839409636; + break; + } + case 33: + _206E_206D_206F_202B_206D_206E_202E_200B_202A_202E_200C_202C_202C_202C_206F_202E_206E_200C_202D_202A_202A_200D_206A_202A_206C_206A_206E_200E_206F_206B_202B_202B_206B_200E_200F_206F_206E_200E_202B_206B_202E((ILogger)logger, global::_003CModule_003E._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(519166747), Array.Empty()); + SetState(EState.BuyItem); + num2 = 839409658; + break; + case 14: + num2 = ((!_200D_206B_206A_200C_200F_206A_202A_200E_200F_206D_202E_200D_200B_206A_200D_202B_200D_206C_202E_206A_202C_206B_202E_206F_206A_202B_202B_206B_202A_200C_202B_200B_202B_202C_206A_200C_202D_206B_206D_202B_202E(gameGui, base.Task.DialogOptionIndex)) ? 839409658 : 839409638); + break; + case 17: + num2 = ((!gameFunctions.InteractWith(base.Task.VendorNpcId)) ? 839409618 : 839409616); + break; + case 55: + return ETaskResult.StillRunning; + case 47: + _206E_206D_206F_202B_206D_206E_202E_200B_202A_202E_200C_202C_202C_202C_206F_202E_206E_200C_202D_202A_202A_200D_206A_202A_206C_206A_206E_200E_206F_206B_202B_202B_206B_200E_200F_206F_206E_200E_202B_206B_202E((ILogger)logger, global::_003CModule_003E._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(457605072), new object[1] { base.Task.DialogOptionIndex }); + num2 = 839409658; + break; + case 53: + num2 = ((_buyAttempts >= 3) ? 839409659 : 839409633); + break; + case 9: + return ETaskResult.StillRunning; + case 41: + { + _206E_206D_206F_202B_206D_206E_202E_200B_202A_202E_200C_202C_202C_202C_206F_202E_206E_200C_202D_202A_202A_200D_206A_202A_206C_206A_206E_200E_206F_206B_202B_202B_206B_200E_200F_206F_206E_200E_202B_206B_202E((ILogger)logger, global::_003CModule_003E._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(-87832125), new object[3] { purchaseItem.ItemId, _countBeforeBuy, inventoryItemCount }); + int purchaseIndex = _purchaseIndex; + num4 = 1; + num5 = purchaseIndex; + int num8 = num5 ^ num4; + int num9 = num5 & num4; + _purchaseIndex = num8 + (num9 + num9); + num2 = ((_purchaseIndex >= base.Task.Purchases.Count) ? 839409629 : 839409601); + break; + } + case 36: + purchaseItem2 = base.Task.Purchases[_purchaseIndex]; + num16 = _200B_206D_202D_202A_202A_202E_206A_206E_206A_200C_202A_206C_206D_200E_206D_200D_206B_202D_202D_206A_206C_202C_202D_200F_206E_202D_206F_206F_206C_202C_202B_202A_200E_200E_200D_202B_200E_200C_206C_200D_202E(gameGui, purchaseItem2.ItemId); + num2 = ((num16 >= 0) ? 839409611 : 839409617); + break; + case 1: + goto IL_055e; + case 2: + _countBeforeBuy = InventoryManager.Instance()->GetInventoryItemCount(purchaseItem2.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); + num2 = ((!_206F_200D_206B_206C_202C_202D_206A_200F_200B_206E_206A_206B_200C_206D_200D_200E_206B_202E_200F_206B_200C_200E_206F_206D_202A_202C_200B_206D_202A_206D_200E_202D_202A_200E_202A_200F_200C_202E_202B_202A_202E(gameGui, num16, purchaseItem2.Quantity)) ? 839409636 : 839409661); + break; + case 50: + _200E_202B_200C_200C_206A_200E_206D_202D_200C_200F_200F_202C_200C_206F_206A_206D_202A_202A_202A_200F_206B_200C_200E_206C_206B_206F_202E_200E_206B_206F_206C_202E_206B_206B_202B_200C_202B_200C_206E_200D_202E((ILogger)logger, global::_003CModule_003E._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(-968313219), new object[2] { purchaseItem.ItemId, _buyAttempts }); + _failed = true; + SetState(EState.CloseShop); + return ETaskResult.StillRunning; + case 24: + _200E_202B_200C_200C_206A_200E_206D_202D_200C_200F_200F_202C_200C_206F_206A_206D_202A_202A_202A_200F_206B_200C_200E_206C_206B_206F_202E_200E_206B_206F_206C_202E_206B_206B_202B_200C_202B_200C_206E_200D_202E((ILogger)logger, global::_003CModule_003E._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(326113005), new object[1] { purchaseItem2.ItemId }); + _failed = true; + SetState(EState.CloseShop); + return ETaskResult.StillRunning; + case 18: + _confirmationClicked = true; + _206E_206D_206F_202B_206D_206E_202E_200B_202A_202E_200C_202C_202C_202C_206F_202E_206E_200C_202D_202A_202A_200D_206A_202A_206C_206A_206E_200E_206F_206B_202B_202B_206B_200E_200F_206F_206E_200E_202B_206B_202E((ILogger)logger, global::_003CModule_003E._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(-1038383555), new object[1] { purchaseItem.ItemId }); + SetState(EState.WaitForBuy); + return ETaskResult.StillRunning; + case 13: + num2 = ((num >= 2000) ? 839409660 : 839409641); + break; + case 31: + _206D_202B_206F_206B_200B_206E_202B_206A_200B_206C_206C_202C_206A_206B_206F_206B_200D_200B_206A_206A_202A_202B_200F_202E_202B_200B_200E_200B_206D_200B_202E_202D_202B_206A_206D_202D_202A_200B_200B_200C_202E((ILogger)logger, global::_003CModule_003E._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(-208232877), new object[2] { _state, num }); + return ETaskResult.RetryStep; + case 19: + num2 = (_throttle.TryReset(0.5) ? 839409657 : 839409600); + break; + case 54: + return ETaskResult.StillRunning; + case 38: + return ETaskResult.StillRunning; + case 8: + { + _buyAttempts = 0; + ILogger logger2 = logger; + string text2 = global::_003CModule_003E._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(-274284666); + object[] array = new object[2]; + int purchaseIndex2 = _purchaseIndex; + num4 = 1; + num5 = purchaseIndex2; + int num12 = num5 ^ num4; + int num13 = num5 & num4; + array[0] = num12 + (num13 + num13); + array[1] = base.Task.Purchases.Count; + _206E_206D_206F_202B_206D_206E_202E_200B_202A_202E_200C_202C_202C_202C_206F_202E_206E_200C_202D_202A_202A_200D_206A_202A_206C_206A_206E_200E_206F_206B_202B_202B_206B_200E_200F_206F_206E_200E_202B_206B_202E((ILogger)logger2, text2, array); + SetState(EState.BuyItem); + num2 = 839409663; + break; + } + case 20: + _206E_206D_206F_202B_206D_206E_202E_200B_202A_202E_200C_202C_202C_202C_206F_202E_206E_200C_202D_202A_202A_200D_206A_202A_206C_206A_206E_200E_206F_206B_202B_202B_206B_200E_200F_206F_206E_200E_202B_206B_202E((ILogger)logger, global::_003CModule_003E._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(1561512200), Array.Empty()); + SetState(EState.CloseShop); + num2 = 839409663; + break; + case 27: + return ETaskResult.StillRunning; + case 49: + num2 = ((!_failed) ? 839409610 : 839409625); + break; + case 25: + _206E_206D_206F_202B_206D_206E_202E_200B_202A_202E_200C_202C_202C_202C_206F_202E_206E_200C_202D_202A_202A_200D_206A_202A_206C_206A_206E_200E_206F_206B_202B_202B_206B_200E_200F_206F_206E_200E_202B_206B_202E((ILogger)logger, global::_003CModule_003E._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(816270239), new object[1] { base.Task.VendorNpcId }); + SetState(EState.WaitForShopOrDialog); + num2 = 839409618; + break; + case 22: + return ETaskResult.StillRunning; + case 39: + num2 = 839409662; + break; + case 43: + goto IL_0831; + case 15: + switch (_state) + { + case EState.WaitForClose: + break; + case EState.BuyItem: + goto IL_0195; + case EState.WaitForShopOrDialog: + goto IL_0292; + case EState.CloseShop: + goto IL_055e; + case EState.WaitForBuy: + goto IL_0831; + default: + goto IL_0892; + case EState.InteractWithNpc: + goto IL_0a14; + } + goto case 34; + case 40: + { + ILogger logger = logger; + string text = global::_003CModule_003E._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(-366147931); + object[] obj = new object[3] { purchaseItem.ItemId, null, null }; + int buyAttempts = _buyAttempts; + num4 = 1; + num5 = buyAttempts; + int num10 = num5 ^ num4; + int num11 = num5 & num4; + obj[1] = num10 + (num11 + num11); + obj[2] = 3; + _206D_202B_206F_206B_200B_206E_202B_206A_200B_206C_206C_202C_206A_206B_206F_206B_200D_200B_206A_206A_202A_202B_200F_202E_202B_200B_200E_200B_206D_200B_202E_202D_202B_206A_206D_202D_202A_200B_200B_200C_202E((ILogger)logger, text, obj); + SetState(EState.BuyItem); + return ETaskResult.StillRunning; + } + case 42: + num2 = ((!_206F_200D_202E_206A_206F_200C_206A_200C_202B_206F_206A_200D_200E_206B_200E_200D_200B_200D_202A_206A_200F_206E_206A_206A_200D_206E_202C_206F_202D_206A_206B_206F_200D_206A_206B_206E_206C_206A_206A_206A_202E(gameGui)) ? 839409642 : 839409626); + break; + case 45: + return ETaskResult.StillRunning; + case 0: + num2 = ((!_206B_200B_206C_202D_206B_206C_202E_202E_202C_206E_206E_200C_206F_202D_200B_200C_206A_200B_202B_202C_206C_206D_206A_202A_200F_200C_206C_200F_202A_200D_206A_206C_200E_202A_206B_206B_202C_200D_200C_200D_202E(gameGui)) ? 839409628 : 839409627); + break; + case 12: + num2 = (_throttle.TryReset(0.5) ? 839409632 : 839409647); + break; + case 29: + num2 = ((!_206F_200D_202E_206A_206F_200C_206A_200C_202B_206F_206A_200D_200E_206B_200E_200D_200B_200D_202A_206A_200F_206E_206A_206A_200D_206E_202C_206F_202D_206A_206B_206F_200D_206A_206B_206E_206C_206A_206A_206A_202E(gameGui)) ? 839409658 : 839409639); + break; + case 3: + _206E_206D_206F_202B_206D_206E_202E_200B_202A_202E_200C_202C_202C_202C_206F_202E_206E_200C_202D_202A_202A_200D_206A_202A_206C_206A_206E_200E_206F_206B_202B_202B_206B_200E_200F_206F_206E_200E_202B_206B_202E((ILogger)logger, global::_003CModule_003E._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(-1460452754), Array.Empty()); + return ETaskResult.TaskComplete; + case 4: + return ETaskResult.StillRunning; + case 28: + num2 = ((!_206D_202A_202D_200F_206C_202A_200D_206A_202E_206A_206B_200C_206F_206B_202C_206D_200C_206C_202D_200F_202D_200F_206C_206C_200C_200D_202D_200C_202A_200D_202D_206D_200B_200D_202C_206D_206F_206A_202A_202C_202E(gameGui)) ? 839409637 : 839409623); + break; + case 48: + _200D_206B_206A_200C_200F_206A_202A_200E_200F_206D_202E_200D_200B_206A_200D_202B_200D_206C_202E_206A_202C_206B_202E_206F_206A_202B_202B_206B_202A_200C_202B_200B_202B_202C_206A_200C_202D_206B_206D_202B_202E(gameGui, -1); + _206E_206D_206F_202B_206D_206E_202E_200B_202A_202E_200C_202C_202C_202C_206F_202E_206E_200C_202D_202A_202A_200D_206A_202A_206C_206A_206E_200E_206F_206B_202B_202B_206B_200E_200F_206F_206E_200E_202B_206B_202E((ILogger)logger, global::_003CModule_003E._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(408167584), Array.Empty()); + return ETaskResult.StillRunning; + case 5: + goto IL_0a14; + case 16: + { + _206D_202B_206F_206B_200B_206E_202B_206A_200B_206C_206C_202C_206A_206B_206F_206B_200D_200B_206A_206A_202A_202B_200F_202E_202B_200B_200E_200B_206D_200B_202E_202D_202B_206A_206D_202D_202A_200B_200B_200C_202E((ILogger)logger, global::_003CModule_003E._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(1743816671), Array.Empty()); + return ETaskResult.RetryStep; + } + IL_0a14: + num2 = (_throttle.TryReset(1.0) ? 839409624 : 839409619); + break; + IL_0892: + num2 = 839409646; + break; + IL_0831: + purchaseItem = base.Task.Purchases[_purchaseIndex]; + num2 = (_confirmationClicked ? 839409628 : 839409609); + break; + IL_0292: + num2 = ((!_206F_200E_200B_206B_202C_206A_206B_200E_206B_202E_206A_206D_202C_200D_200F_200B_200B_206B_202D_200C_200D_202C_202A_200E_206D_200E_200B_202A_206A_206F_206F_202C_202B_200F_202D_206C_200F_202C_202A_206B_202E(gameGui)) ? 839409620 : 839409640); + break; + IL_0195: + num2 = (_throttle.TryReset(0.5) ? 839409645 : 839409613); + break; + IL_055e: + num2 = (_throttle.TryReset(0.5) ? 839409621 : 839409630); + break; + } + } + } + + private void SetState(EState state) + { + _state = state; + _stateStartMs = _206E_206E_200E_202B_202A_206A_200C_206D_206A_202D_202B_206E_206D_206E_200C_200D_202A_200D_200C_202D_202E_200F_206D_206E_206C_202C_206C_206A_200E_206D_200F_206C_206E_202B_206A_206B_200E_200F_206E_206B_202E(); + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static long _206E_206E_200E_202B_202A_206A_200C_206D_206A_202D_202B_206E_206D_206E_200C_200D_202A_200D_200C_202D_202E_200F_206D_206E_206C_202C_206C_206A_200E_206D_200F_206C_206E_202B_206A_206B_200E_200F_206E_206B_202E() + { + return Environment.TickCount64; + } + + static void _206D_202B_206F_206B_200B_206E_202B_206A_200B_206C_206C_202C_206A_206B_206F_206B_200D_200B_206A_206A_202A_202B_200F_202E_202B_200B_200E_200B_206D_200B_202E_202D_202B_206A_206D_202D_202A_200B_200B_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _206E_206D_206F_202B_206D_206E_202E_200B_202A_202E_200C_202C_202C_202C_206F_202E_206E_200C_202D_202A_202A_200D_206A_202A_206C_206A_206E_200E_206F_206B_202B_202B_206B_200E_200F_206F_206E_200E_202B_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206F_200E_200B_206B_202C_206A_206B_200E_206B_202E_206A_206D_202C_200D_200F_200B_200B_206B_202D_200C_200D_202C_202A_200E_206D_200E_200B_202A_206A_206F_206F_202C_202B_200F_202D_206C_200F_202C_202A_206B_202E(IGameGui P_0) + { + return VendorPurchaseActions.IsShopReady(P_0); + } + + static bool _206F_200D_202E_206A_206F_200C_206A_200C_202B_206F_206A_200D_200E_206B_200E_200D_200B_200D_202A_206A_200F_206E_206A_206A_200D_206E_202C_206F_202D_206A_206B_206F_200D_206A_206B_206E_206C_206A_206A_206A_202E(IGameGui P_0) + { + return VendorPurchaseActions.IsDialogReady(P_0); + } + + static bool _200D_206B_206A_200C_200F_206A_202A_200E_200F_206D_202E_200D_200B_206A_200D_202B_200D_206C_202E_206A_202C_206B_202E_206F_206A_202B_202B_206B_202A_200C_202B_200B_202B_202C_206A_200C_202D_206B_206D_202B_202E(IGameGui P_0, int P_1) + { + return VendorPurchaseActions.TrySelectDialogOption(P_0, P_1); + } + + static int _200B_206D_202D_202A_202A_202E_206A_206E_206A_200C_202A_206C_206D_200E_206D_200D_206B_202D_202D_206A_206C_202C_202D_200F_206E_202D_206F_206F_206C_202C_202B_202A_200E_200E_200D_202B_200E_200C_206C_200D_202E(IGameGui P_0, uint P_1) + { + return VendorPurchaseActions.FindItemDisplayIndex(P_0, P_1); + } + + static void _200E_202B_200C_200C_206A_200E_206D_202D_200C_200F_200F_202C_200C_206F_206A_206D_202A_202A_202A_200F_206B_200C_200E_206C_206B_206F_202E_200E_206B_206F_206C_202E_206B_206B_202B_200C_202B_200C_206E_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static bool _206F_200D_206B_206C_202C_202D_206A_200F_200B_206E_206A_206B_200C_206D_200D_200E_206B_202E_200F_206B_200C_200E_206F_206D_202A_202C_200B_206D_202A_206D_200E_202D_202A_200E_202A_200F_200C_202E_202B_202A_202E(IGameGui P_0, int P_1, int P_2) + { + return VendorPurchaseActions.TryBuyItem(P_0, P_1, P_2); + } + + static bool _206B_200B_206C_202D_206B_206C_202E_202E_202C_206E_206E_200C_206F_202D_200B_200C_206A_200B_202B_202C_206C_206D_206A_202A_200F_200C_206C_200F_202A_200D_206A_206C_200E_202A_206B_206B_202C_200D_200C_200D_202E(IGameGui P_0) + { + return VendorPurchaseActions.TryConfirmPurchase(P_0); + } + + static bool _206D_202A_202D_200F_206C_202A_200D_206A_202E_206A_206B_200C_206F_206B_202C_206D_200C_206C_202D_200F_202D_200F_206C_206C_200C_200D_202D_200C_202A_200D_202D_206D_200B_200D_202C_206D_206F_206A_202A_202C_202E(IGameGui P_0) + { + return VendorPurchaseActions.TryCloseShop(P_0); + } + + static bool _202D_202E_202D_206E_202A_202A_206B_206B_202C_202E_200B_200D_202B_202C_202E_200B_202B_200E_200D_206E_202B_206B_206C_206C_202A_202D_202B_202E_200C_200C_206C_202A_200D_200C_200F_202C_202C_200F_206B_202D_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/VendorPurchaseTask.cs b/Questionable/Questionable.Controller.CustomDelivery/VendorPurchaseTask.cs new file mode 100644 index 00000000..9d7db25d --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/VendorPurchaseTask.cs @@ -0,0 +1,244 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +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) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_200F_200F_206B_200C_206F_200D_202E_206F_202D_200D_200E_202C_202E_206F_206C_200D_206D_206F_206D_206E_206A_206B_206F_206E_200D_200C_206B_200F_200D_200C_202A_202B_200F_206D_200E_202C_202D_206A_202C_202E(); + _202E_200B_206F_206D_202A_200F_206B_200D_200F_202C_202E_200B_206B_206D_202D_206B_202B_206F_206A_200E_202C_202C_202A_206B_206A_206B_202B_206A_202B_206A_206D_202D_206F_206C_206C_206A_206D_206C_202B_202E_202E(stringBuilder, global::_003CModule_003E._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(1504160608)); + _202E_200B_206F_206D_202A_200F_206B_200D_200F_202C_202E_200B_206B_206D_202D_206B_202B_206F_206A_200E_202C_202C_202A_206B_206A_206B_202B_206A_202B_206A_206D_202D_206F_206C_206C_206A_206D_206C_202B_202E_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? 1320909858 : 1320909859); + while (true) + { + int num2 = num; + int num3 = 1320909858; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1320909859; + break; + case 1: + _202A_202A_206F_206C_206B_200F_202A_200F_200C_200D_206B_200E_206B_200E_200E_202D_206F_202E_206A_202E_206B_202B_200E_200F_200B_202E_200F_200B_202C_200D_200B_202A_206E_206D_200C_202C_202E_206A_200B_200F_202E(stringBuilder, ' '); + num = 1320909858; + break; + case 0: + _202A_202A_206F_206C_206B_200F_202A_200F_200C_200D_206B_200E_206B_200E_200E_202D_206F_202E_206A_202E_206B_202B_200E_200F_200B_202E_200F_200B_202C_200D_200B_202A_206E_206D_200C_202C_202E_206A_200B_200F_202E(stringBuilder, '}'); + return _206C_202D_206D_200E_200B_200F_200E_200C_202C_206D_206A_202E_202E_200C_206D_202E_200B_202C_206B_200F_206A_200D_202E_206D_200B_206A_202B_202C_200F_200F_200B_202E_202C_202B_200E_202B_206C_206E_200E_200C_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_200B_206F_206D_202A_200F_206B_200D_200F_202C_202E_200B_206B_206D_202D_206B_202B_206F_206A_200E_202C_202C_202A_206B_206A_206B_202B_206A_202B_206A_206D_202D_206F_206C_206C_206A_206D_206C_202B_202E_202E(builder, global::_003CModule_003E._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(-1176260912)); + _202E_200B_206F_206D_202A_200F_206B_200D_200F_202C_202E_200B_206B_206D_202D_206B_202B_206F_206A_200E_202C_202C_202A_206B_206A_206B_202B_206A_202B_206A_206D_202D_206F_206C_206C_206A_206D_206C_202B_202E_202E(builder, ItemId.ToString()); + _202E_200B_206F_206D_202A_200F_206B_200D_200F_202C_202E_200B_206B_206D_202D_206B_202B_206F_206A_200E_202C_202C_202A_206B_206A_206B_202B_206A_202B_206A_206D_202D_206F_206C_206C_206A_206D_206C_202B_202E_202E(builder, global::_003CModule_003E._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(-640041388)); + _202E_200B_206F_206D_202A_200F_206B_200D_200F_202C_202E_200B_206B_206D_202D_206B_202B_206F_206A_200E_202C_202C_202A_206B_206A_206B_202B_206A_202B_206A_206D_202D_206F_206C_206C_206A_206D_206C_202B_202E_202E(builder, Quantity.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(PurchaseItem other) + { + int num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? (-997799700) : (-997799699)); + while (true) + { + int num2 = num; + int num3 = -997799700; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0058; + case 1: + return EqualityComparer.Default.Equals(Quantity, other.Quantity); + case 0: + return false; + } + continue; + IL_0058: + num = -997799699; + } + } + + bool IEquatable.Equals(PurchaseItem other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206F_200F_200F_206B_200C_206F_200D_202E_206F_202D_200D_200E_202C_202E_206F_206C_200D_206D_206F_206D_206E_206A_206B_206F_206E_200D_200C_206B_200F_200D_200C_202A_202B_200F_206D_200E_202C_202D_206A_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_200B_206F_206D_202A_200F_206B_200D_200F_202C_202E_200B_206B_206D_202D_206B_202B_206F_206A_200E_202C_202C_202A_206B_206A_206B_202B_206A_202B_206A_206D_202D_206F_206C_206C_206A_206D_206C_202B_202E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202A_202A_206F_206C_206B_200F_202A_200F_200C_200D_206B_200E_206B_200E_200E_202D_206F_202E_206A_202E_206B_202B_200E_200F_200B_202E_200F_200B_202C_200D_200B_202A_206E_206D_200C_202C_202E_206A_200B_200F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_202D_206D_200E_200B_200F_200E_200C_202C_206D_206A_202E_202E_200C_206D_202E_200B_202C_206B_200F_206A_200D_202E_206D_200B_206A_202B_202C_200F_200F_200B_202E_202C_202B_200E_202B_206C_206E_200E_200C_202E(object P_0) + { + return P_0.ToString(); + } + } + + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206B_206B_206F_200C_206F_202C_206A_200C_206B_206C_200C_200B_200F_200B_202E_202A_200E_200C_206E_206B_202D_202E_202D_206A_200F_202B_202E_202B_206A_206F_206A_200B_200C_200D_200B_206A_206D_200B_206B_202E(typeof(VendorPurchaseTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + int num = ((Purchases.Count == 1) ? 681809870 : 681809871); + while (true) + { + int num2 = num; + int num3 = 681809870; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0052; + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(34, 4); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-426748651)); + defaultInterpolatedStringHandler2.AppendFormatted(VendorNpcId); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1317325121)); + defaultInterpolatedStringHandler2.AppendFormatted(Purchases[0].ItemId); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1725354679)); + defaultInterpolatedStringHandler2.AppendFormatted(Purchases[0].Quantity); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1203794399)); + defaultInterpolatedStringHandler2.AppendFormatted(DialogOptionIndex); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1618480346)); + return defaultInterpolatedStringHandler2.ToStringAndClear(); + } + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(33, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1531781508)); + defaultInterpolatedStringHandler.AppendFormatted(VendorNpcId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1467939024)); + defaultInterpolatedStringHandler.AppendFormatted(Purchases.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1987907938)); + defaultInterpolatedStringHandler.AppendFormatted(DialogOptionIndex); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + } + continue; + IL_0052: + num = 681809871; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_200B_202C_202A_206A_206D_206B_200C_202A_202C_202A_202A_202E_206E_206B_206B_200B_206B_200B_200E_206A_200C_206A_206C_206E_200F_202E_200E_202D_206E_202D_202C_202E_202A_206A_206C_206D_200D_200E_200E_202E(); + _206A_206F_206E_206E_202A_202A_206A_200C_200F_200B_206F_206A_202A_200C_206A_202E_206F_200E_206C_206B_200F_206A_200E_200E_206F_200D_202B_202B_200D_206F_206D_200C_200B_206F_206E_200C_206E_200B_200D_202E(builder, global::_003CModule_003E._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(206754998)); + _206A_206F_206E_206E_202A_202A_206A_200C_200F_200B_206F_206A_202A_200C_206A_202E_206F_200E_206C_206B_200F_206A_200E_200E_206F_200D_202B_202B_200D_206F_206D_200C_200B_206F_206E_200C_206E_200B_200D_202E(builder, VendorNpcId.ToString()); + _206A_206F_206E_206E_202A_202A_206A_200C_200F_200B_206F_206A_202A_200C_206A_202E_206F_200E_206C_206B_200F_206A_200E_200E_206F_200D_202B_202B_200D_206F_206D_200C_200B_206F_206E_200C_206E_200B_200D_202E(builder, global::_003CModule_003E._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(166759684)); + _202E_206F_200B_202B_202B_202E_200F_206C_200B_200B_202A_206F_200E_200E_206B_202E_202B_206E_206C_202B_200F_200E_202B_206F_202D_202A_206A_200E_200E_206F_206A_200B_206E_206D_206F_206F_202C_202D_206A_202A_202E(builder, (object)Purchases); + _206A_206F_206E_206E_202A_202A_206A_200C_200F_200B_206F_206A_202A_200C_206A_202E_206F_200E_206C_206B_200F_206A_200E_200E_206F_200D_202B_202B_200D_206F_206D_200C_200B_206F_206E_200C_206E_200B_200D_202E(builder, global::_003CModule_003E._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(474766985)); + _206A_206F_206E_206E_202A_202A_206A_200C_200F_200B_206F_206A_202A_200C_206A_202E_206F_200E_206C_206B_200F_206A_200E_200E_206F_200D_202B_202B_200D_206F_206D_200C_200B_206F_206E_200C_206E_200B_200D_202E(builder, DialogOptionIndex.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(VendorPurchaseTask? other) + { + int num = (((object)this == other) ? (-1933996366) : (-1933996367)); + while (true) + { + int num2 = num; + int num3 = -1933996361; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1933996367; + break; + case 5: + return true; + case 6: + num = (((object)other == null) ? (-1933996364) : (-1933996362)); + break; + case 2: + return EqualityComparer.Default.Equals(DialogOptionIndex, other.DialogOptionIndex); + case 7: + num = ((!EqualityComparer.Default.Equals(VendorNpcId, other.VendorNpcId)) ? (-1933996364) : (-1933996365)); + break; + case 4: + num = ((!EqualityComparer>.Default.Equals(Purchases, other.Purchases)) ? (-1933996364) : (-1933996363)); + break; + case 1: + num = ((!_202C_202E_200C_202E_202C_200D_200B_200F_206C_202E_202A_200D_200C_200D_202E_206F_202A_202C_202A_200F_200D_202D_206F_206D_206B_206F_206A_202E_200F_202D_202A_202A_200E_200B_202D_206D_206B_200B_202A_202B_202E(EqualityContract, other.EqualityContract)) ? (-1933996364) : (-1933996368)); + break; + case 3: + return false; + } + } + } + + bool IEquatable.Equals(VendorPurchaseTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206B_206B_206F_200C_206F_202C_206A_200C_206B_206C_200C_200B_200F_200B_202E_202A_200E_200C_206E_206B_202D_202E_202D_206A_200F_202B_202E_202B_206A_206F_206A_200B_200C_200D_200B_206A_206D_200B_206B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200C_200B_202C_202A_206A_206D_206B_200C_202A_202C_202A_202A_202E_206E_206B_206B_200B_206B_200B_200E_206A_200C_206A_206C_206E_200F_202E_200E_202D_206E_202D_202C_202E_202A_206A_206C_206D_200D_200E_200E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206A_206F_206E_206E_202A_202A_206A_200C_200F_200B_206F_206A_202A_200C_206A_202E_206F_200E_206C_206B_200F_206A_200E_200E_206F_200D_202B_202B_200D_206F_206D_200C_200B_206F_206E_200C_206E_200B_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202E_206F_200B_202B_202B_202E_200F_206C_200B_200B_202A_206F_200E_200E_206B_202E_202B_206E_206C_202B_200F_200E_202B_206F_202D_202A_206A_200E_200E_206F_206A_200B_206E_206D_206F_206F_202C_202D_206A_202A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202C_202E_200C_202E_202C_200D_200B_200F_206C_202E_202A_200D_200C_200D_202E_206F_202A_202C_202A_200F_200D_202D_206F_206D_206B_206F_206A_202E_200F_202D_202A_202A_200E_200B_202D_206D_206B_200B_202A_202B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Controller.CustomDelivery/VendorResolverService.cs b/Questionable/Questionable.Controller.CustomDelivery/VendorResolverService.cs new file mode 100644 index 00000000..3f0d17d6 --- /dev/null +++ b/Questionable/Questionable.Controller.CustomDelivery/VendorResolverService.cs @@ -0,0 +1,592 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +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) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200E_206E_200E_206F_200D_200E_202C_206A_200C_202A_206B_200E_200E_202E_202C_200D_202A_206E_206D_200C_200F_202A_206C_200E_202D_200B_200C_206D_206A_206B_202D_206B_200C_206C_206F_206B_202D_202E_206C_200D_202E(); + _202C_206A_206F_206A_200F_206C_200E_200B_202E_200F_202E_200C_206F_202B_206C_206E_202C_200C_206A_202B_206E_202E_200F_200E_206E_202E_200B_206C_200D_206F_200E_202B_202D_206D_202A_200B_206C_206A_206F_206C_202E(stringBuilder, global::_003CModule_003E._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(1900362320)); + _202C_206A_206F_206A_200F_206C_200E_200B_202E_200F_202E_200C_206F_202B_206C_206E_202C_200C_206A_202B_206E_202E_200F_200E_206E_202E_200B_206C_200D_206F_200E_202B_202D_206D_202A_200B_206C_206A_206F_206C_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? 985551290 : 985551291); + while (true) + { + int num2 = num; + int num3 = 985551290; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 985551291; + break; + case 0: + _202D_206F_206D_200C_206E_206F_200C_200D_202C_200B_202D_202B_206E_202A_206F_200F_200C_200B_206C_202B_206F_200C_202E_202D_200E_202D_202B_200F_200D_202D_200B_202C_202E_200E_206A_202E_206A_206E_202B_206C_202E(stringBuilder, '}'); + return _200C_206D_202E_202B_202E_202D_206B_200C_206B_202B_206D_200B_206F_206F_200C_200E_206F_202B_200B_200C_202D_206A_202C_206A_206D_200F_206E_200F_200E_206C_202B_200B_202E_202E_200B_202C_202D_202D_200E_206E_202E((object)stringBuilder); + case 1: + _202D_206F_206D_200C_206E_206F_200C_200D_202C_200B_202D_202B_206E_202A_206F_200F_200C_200B_206C_202B_206F_200C_202E_202D_200E_202D_202B_200F_200D_202D_200B_202C_202E_200E_206A_202E_206A_206E_202B_206C_202E(stringBuilder, ' '); + num = 985551290; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202C_206A_206F_206A_200F_206C_200E_200B_202E_200F_202E_200C_206F_202B_206C_206E_202C_200C_206A_202B_206E_202E_200F_200E_206E_202E_200B_206C_200D_206F_200E_202B_202D_206D_202A_200B_206C_206A_206F_206C_202E(builder, global::_003CModule_003E._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(-1176260912)); + _202C_206A_206F_206A_200F_206C_200E_200B_202E_200F_202E_200C_206F_202B_206C_206E_202C_200C_206A_202B_206E_202E_200F_200E_206E_202E_200B_206C_200D_206F_200E_202B_202D_206D_202A_200B_206C_206A_206F_206C_202E(builder, ItemId.ToString()); + _202C_206A_206F_206A_200F_206C_200E_200B_202E_200F_202E_200C_206F_202B_206C_206E_202C_200C_206A_202B_206E_202E_200F_200E_206E_202E_200B_206C_200D_206F_200E_202B_202D_206D_202A_200B_206C_206A_206F_206C_202E(builder, global::_003CModule_003E._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(-710805120)); + _202C_206A_206F_206A_200F_206C_200E_200B_202E_200F_202E_200C_206F_202B_206C_206E_202C_200C_206A_202B_206E_202E_200F_200E_206E_202E_200B_206C_200D_206F_200E_202B_202D_206D_202A_200B_206C_206A_206F_206C_202E(builder, CountPerCraft.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(IngredientInfo other) + { + int num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? (-577386697) : (-577386700)); + while (true) + { + int num2 = num; + int num3 = -577386698; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return EqualityComparer.Default.Equals(CountPerCraft, other.CountPerCraft); + case 0: + goto IL_0071; + } + continue; + IL_0071: + num = -577386700; + } + } + + bool IEquatable.Equals(IngredientInfo other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _200E_206E_200E_206F_200D_200E_202C_206A_200C_202A_206B_200E_200E_202E_202C_200D_202A_206E_206D_200C_200F_202A_206C_200E_202D_200B_200C_206D_206A_206B_202D_206B_200C_206C_206F_206B_202D_202E_206C_200D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202C_206A_206F_206A_200F_206C_200E_200B_202E_200F_202E_200C_206F_202B_206C_206E_202C_200C_206A_202B_206E_202E_200F_200E_206E_202E_200B_206C_200D_206F_200E_202B_202D_206D_202A_200B_206C_206A_206F_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202D_206F_206D_200C_206E_206F_200C_200D_202C_200B_202D_202B_206E_202A_206F_200F_200C_200B_206C_202B_206F_200C_202E_202D_200E_202D_202B_200F_200D_202D_200B_202C_202E_200E_206A_202E_206A_206E_202B_206C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200C_206D_202E_202B_202E_202D_206B_200C_206B_202B_206D_200B_206F_206F_200C_200E_206F_202B_200B_200C_202D_206A_202C_206A_206D_200F_206E_200F_200E_206C_202B_200B_202E_202E_200B_202C_202D_202D_200E_206E_202E(object P_0) + { + return P_0.ToString(); + } + } + + internal readonly record struct RecipeInfo(uint RecipeId, uint CraftedItemId, IReadOnlyList Ingredients, EClassJob CraftingClass) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206C_206D_202C_206A_206C_206D_206A_200C_202C_206A_206A_202B_206F_200E_206C_206F_206F_200D_200F_200C_206E_202C_206E_206F_202D_202B_200F_206F_202A_206E_202E_202E_206F_202C_202C_206F_202E_200E_202A_206F_202E(); + _200E_202B_200F_200B_200F_206A_200E_206C_206C_206E_200C_206F_206B_202E_206F_202A_200E_202D_202C_206E_202A_202A_206D_200F_202D_206E_202A_202E_206E_200F_206D_200F_200C_206E_200B_202C_206D_200D_202C_200E_202E(stringBuilder, global::_003CModule_003E._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(1038169593)); + _200E_202B_200F_200B_200F_206A_200E_206C_206C_206E_200C_206F_206B_202E_206F_202A_200E_202D_202C_206E_202A_202A_206D_200F_202D_206E_202A_202E_206E_200F_206D_200F_200C_206E_200B_202C_206D_200D_202C_200E_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? 935744891 : 935744888); + while (true) + { + int num2 = num; + int num3 = 935744890; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 935744888; + break; + case 1: + _202A_202B_202D_206F_206C_206D_202E_202A_206D_200F_200D_202A_202A_200E_206E_206E_206B_200D_206A_202C_200B_206A_202A_202C_206D_200F_200F_200C_200E_206E_200D_206B_202E_200F_202D_200B_202B_202C_202B_202C_202E(stringBuilder, '}'); + return _206C_202A_202D_202C_206F_206A_200C_202B_200C_200E_206B_200C_200E_206D_206E_202C_206F_206E_200E_200C_202C_206E_206A_202D_206B_202B_200D_200E_202E_206D_206C_202C_200C_206F_200B_202C_200F_202B_200F_206D_202E((object)stringBuilder); + case 2: + _202A_202B_202D_206F_206C_206D_202E_202A_206D_200F_200D_202A_202A_200E_206E_206E_206B_200D_206A_202C_200B_206A_202A_202C_206D_200F_200F_200C_200E_206E_200D_206B_202E_200F_202D_200B_202B_202C_202B_202C_202E(stringBuilder, ' '); + num = 935744891; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200E_202B_200F_200B_200F_206A_200E_206C_206C_206E_200C_206F_206B_202E_206F_202A_200E_202D_202C_206E_202A_202A_206D_200F_202D_206E_202A_202E_206E_200F_206D_200F_200C_206E_200B_202C_206D_200D_202C_200E_202E(builder, global::_003CModule_003E._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(-1168472186)); + _200E_202B_200F_200B_200F_206A_200E_206C_206C_206E_200C_206F_206B_202E_206F_202A_200E_202D_202C_206E_202A_202A_206D_200F_202D_206E_202A_202E_206E_200F_206D_200F_200C_206E_200B_202C_206D_200D_202C_200E_202E(builder, RecipeId.ToString()); + _200E_202B_200F_200B_200F_206A_200E_206C_206C_206E_200C_206F_206B_202E_206F_202A_200E_202D_202C_206E_202A_202A_206D_200F_202D_206E_202A_202E_206E_200F_206D_200F_200C_206E_200B_202C_206D_200D_202C_200E_202E(builder, global::_003CModule_003E._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(-229385593)); + _200E_202B_200F_200B_200F_206A_200E_206C_206C_206E_200C_206F_206B_202E_206F_202A_200E_202D_202C_206E_202A_202A_206D_200F_202D_206E_202A_202E_206E_200F_206D_200F_200C_206E_200B_202C_206D_200D_202C_200E_202E(builder, CraftedItemId.ToString()); + _200E_202B_200F_200B_200F_206A_200E_206C_206C_206E_200C_206F_206B_202E_206F_202A_200E_202D_202C_206E_202A_202A_206D_200F_202D_206E_202A_202E_206E_200F_206D_200F_200C_206E_200B_202C_206D_200D_202C_200E_202E(builder, global::_003CModule_003E._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(-1346587480)); + _200D_202A_202C_206A_206F_202D_206A_202C_206D_206F_206D_202A_202B_200E_200E_206B_200F_206C_206D_206D_206E_202B_200C_200D_200D_202D_202C_200C_200F_206F_202D_206A_202E_206A_200F_202B_206C_206A_200D_206B_202E(builder, (object)Ingredients); + _200E_202B_200F_200B_200F_206A_200E_206C_206C_206E_200C_206F_206B_202E_206F_202A_200E_202D_202C_206E_202A_202A_206D_200F_202D_206E_202A_202E_206E_200F_206D_200F_200C_206E_200B_202C_206D_200D_202C_200E_202E(builder, global::_003CModule_003E._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(-356853243)); + _200E_202B_200F_200B_200F_206A_200E_206C_206C_206E_200C_206F_206B_202E_206F_202A_200E_202D_202C_206E_202A_202A_206D_200F_202D_206E_202A_202E_206E_200F_206D_200F_200C_206E_200B_202C_206D_200D_202C_200E_202E(builder, CraftingClass.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(RecipeInfo other) + { + int num = ((!EqualityComparer.Default.Equals(RecipeId, other.RecipeId)) ? 1163014536 : 1163014541); + while (true) + { + int num2 = num; + int num3 = 1163014537; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 1163014541; + break; + case 1: + return false; + case 0: + num = ((!EqualityComparer>.Default.Equals(Ingredients, other.Ingredients)) ? 1163014536 : 1163014539); + break; + case 2: + return EqualityComparer.Default.Equals(CraftingClass, other.CraftingClass); + case 4: + num = ((!EqualityComparer.Default.Equals(CraftedItemId, other.CraftedItemId)) ? 1163014536 : 1163014537); + break; + } + } + } + + bool IEquatable.Equals(RecipeInfo other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206C_206D_202C_206A_206C_206D_206A_200C_202C_206A_206A_202B_206F_200E_206C_206F_206F_200D_200F_200C_206E_202C_206E_206F_202D_202B_200F_206F_202A_206E_202E_202E_206F_202C_202C_206F_202E_200E_202A_206F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200E_202B_200F_200B_200F_206A_200E_206C_206C_206E_200C_206F_206B_202E_206F_202A_200E_202D_202C_206E_202A_202A_206D_200F_202D_206E_202A_202E_206E_200F_206D_200F_200C_206E_200B_202C_206D_200D_202C_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202A_202B_202D_206F_206C_206D_202E_202A_206D_200F_200D_202A_202A_200E_206E_206E_206B_200D_206A_202C_200B_206A_202A_202C_206D_200F_200F_200C_200E_206E_200D_206B_202E_200F_202D_200B_202B_202C_202B_202C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_202A_202D_202C_206F_206A_200C_202B_200C_200E_206B_200C_200E_206D_206E_202C_206F_206E_200E_200C_202C_206E_206A_202D_206B_202B_200D_200E_202E_206D_206C_202C_200C_206F_200B_202C_200F_202B_200F_206D_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _200D_202A_202C_206A_206F_202D_206A_202C_206D_206F_206D_202A_202B_200E_200E_206B_200F_206C_206D_206D_206E_202B_200C_200D_200D_202D_202C_200C_200F_206F_202D_206A_202E_206A_200F_202B_206C_206A_200D_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + } + + internal readonly record struct VendorInfo(uint ShopId, uint VendorNpcId, ushort TerritoryId, Vector3 Position, int DialogOptionIndex) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206E_200F_206A_202A_206C_202A_202A_200B_202D_206E_202E_202B_206C_206D_206D_202A_202A_206F_202A_202B_206B_200C_200E_206F_206F_200F_202D_206F_206F_206C_206C_202A_206B_202D_200C_200B_200E_202A_206E_200D_202E(); + _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(stringBuilder, global::_003CModule_003E._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(-1730025500)); + _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? (-1077906353) : (-1077906356)); + while (true) + { + int num2 = num; + int num3 = -1077906354; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1077906356; + break; + case 2: + _206B_206D_202D_200B_202A_200B_206D_200E_206A_200F_202E_202D_200E_202B_200F_206A_200C_206B_206B_206A_200F_206B_206E_202B_200B_206A_206D_200B_206E_200C_200B_202E_202D_202D_200C_202E_202B_200C_202A_200D_202E(stringBuilder, ' '); + num = -1077906353; + break; + case 1: + _206B_206D_202D_200B_202A_200B_206D_200E_206A_200F_202E_202D_200E_202B_200F_206A_200C_206B_206B_206A_200F_206B_206E_202B_200B_206A_206D_200B_206E_200C_200B_202E_202D_202D_200C_202E_202B_200C_202A_200D_202E(stringBuilder, '}'); + return _206D_200E_200B_202D_202E_206B_200F_202B_206D_206A_202E_206C_202B_200C_202B_206D_200D_202C_202E_202A_202D_200E_206B_202B_206B_202E_202D_206C_202E_200D_202A_206B_206F_200D_200E_200F_206D_202B_206A_206F_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(builder, global::_003CModule_003E._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(317359128)); + _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(builder, ShopId.ToString()); + _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(builder, global::_003CModule_003E._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(-88160107)); + _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(builder, VendorNpcId.ToString()); + _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(builder, global::_003CModule_003E._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(-1428648191)); + _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(builder, TerritoryId.ToString()); + _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(builder, global::_003CModule_003E._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(-1993330002)); + _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(builder, Position.ToString()); + _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(builder, global::_003CModule_003E._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(2076481420)); + _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(builder, DialogOptionIndex.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(VendorInfo other) + { + int num = ((!EqualityComparer.Default.Equals(ShopId, other.ShopId)) ? 756999807 : 756999806); + while (true) + { + int num2 = num; + int num3 = 756999804; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((!EqualityComparer.Default.Equals(Position, other.Position)) ? 756999807 : 756999800); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(VendorNpcId, other.VendorNpcId)) ? 756999807 : 756999805); + break; + case 3: + return false; + case 1: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? 756999807 : 756999804); + break; + case 5: + num = 756999806; + break; + case 4: + return EqualityComparer.Default.Equals(DialogOptionIndex, other.DialogOptionIndex); + } + } + } + + bool IEquatable.Equals(VendorInfo other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206E_200F_206A_202A_206C_202A_202A_200B_202D_206E_202E_202B_206C_206D_206D_202A_202A_206F_202A_202B_206B_200C_200E_206F_206F_200F_202D_206F_206F_206C_206C_202A_206B_202D_200C_200B_200E_202A_206E_200D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206E_206F_202A_206F_200E_202E_200B_200E_206D_206F_206E_206F_200C_206C_206D_200F_200B_206C_200C_202B_206D_202D_206D_202C_200C_202A_206F_200C_202B_202C_206A_200D_202C_206D_206D_200C_202A_200F_206E_206B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_206D_202D_200B_202A_200B_206D_200E_206A_200F_202E_202D_200E_202B_200F_206A_200C_206B_206B_206A_200F_206B_206E_202B_200B_206A_206D_200B_206E_200C_200B_202E_202D_202D_200C_202E_202B_200C_202A_200D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206D_200E_200B_202D_202E_206B_200F_202B_206D_206A_202E_206C_202B_200C_202B_206D_200D_202C_202E_202A_202D_200E_206B_202B_206B_202E_202D_206C_202E_200D_202A_206B_206F_200D_200E_200F_206D_202B_206A_206F_202E(object P_0) + { + return P_0.ToString(); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public RecipeInfo? ResolveRecipe(uint craftedItemId, EClassJob? preferredJob = null) + { + RecipeLookup row; + int num = (dataManager.GetExcelSheet().TryGetRow(craftedItemId, out row) ? (-1604445138) : (-1604445150)); + List list = default(List); + Recipe row3 = default(Recipe); + List list2 = default(List); + Recipe row2 = default(Recipe); + uint item = default(uint); + (EClassJob, uint)[] array2 = default((EClassJob, uint)[]); + int num5 = default(int); + EClassJob item2 = default(EClassJob); + (EClassJob, uint)[] array = default((EClassJob, uint)[]); + EClassJob item4 = default(EClassJob); + uint item3 = default(uint); + while (true) + { + int num2 = num; + int num3 = -1604445143; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 9: + list = CollectIngredients(row3); + num = ((list.Count == 0) ? (-1604445141) : (-1604445146)); + break; + case 4: + list2 = CollectIngredients(row2); + num = ((list2.Count == 0) ? (-1604445143) : (-1604445128)); + break; + case 8: + num = ((item == 0) ? (-1604445148) : (-1604445145)); + break; + case 3: + { + (EClassJob, uint) tuple = array2[num5]; + item2 = tuple.Item1; + item = tuple.Item2; + num = ((item2 != preferredJob.Value) ? (-1604445148) : (-1604445151)); + break; + } + case 2: + array2 = array; + num5 = 0; + num = -1604445125; + break; + case 5: + { + (EClassJob, uint) tuple2 = array2[num5]; + item4 = tuple2.Item1; + item3 = tuple2.Item2; + num = ((item3 == 0) ? (-1604445143) : (-1604445147)); + break; + } + case 6: + num = -1604445150; + break; + case 12: + num = ((!dataManager.GetExcelSheet().TryGetRow(item3, out row2)) ? (-1604445143) : (-1604445139)); + break; + case 14: + num = ((!dataManager.GetExcelSheet().TryGetRow(item, out row3)) ? (-1604445141) : (-1604445152)); + break; + case 0: + { + int num7 = num5; + num3 = 1; + num4 = num7; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + num5 = num8 + (num9 + num9); + num = -1604445125; + break; + } + case 11: + _202D_202B_202B_200D_202A_202B_206C_202D_200F_206F_206C_202D_200C_202D_206B_202C_200D_206B_206F_206F_200B_202A_200B_200B_206C_202A_200E_202D_206B_206F_202A_200B_206E_200C_202B_202A_206A_200F_202D_202B_202E((ILogger)logger, global::_003CModule_003E._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(-1431969650), new object[1] { craftedItemId }); + return null; + case 16: + num = ((num5 < array2.Length) ? (-1604445142) : (-1604445141)); + break; + case 10: + array2 = array; + num5 = 0; + num = -1604445127; + break; + case 18: + num = ((num5 < array2.Length) ? (-1604445140) : (-1604445144)); + break; + case 13: + { + int num6 = num5; + num3 = 1; + num4 = num6; + num5 = (num4 | num3) + (num4 & num3); + num = -1604445127; + break; + } + case 7: + 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) + }; + num = ((!preferredJob.HasValue) ? (-1604445141) : (-1604445149)); + break; + case 17: + _202D_202B_202B_200D_202A_202B_206C_202D_200F_206F_206C_202D_200C_202D_206B_202C_200D_206B_206F_206F_200B_202A_200B_200B_206C_202A_200E_202D_206B_206F_202A_200B_206E_200C_202B_202A_206A_200F_202D_202B_202E((ILogger)logger, global::_003CModule_003E._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(1407786323), new object[4] { item3, item4, craftedItemId, list2.Count }); + return new RecipeInfo(item3, craftedItemId, list2, item4); + case 1: + _202D_202B_202B_200D_202A_202B_206C_202D_200F_206F_206C_202D_200C_202D_206B_202C_200D_206B_206F_206F_200B_202A_200B_200B_206C_202A_200E_202D_206B_206F_202A_200B_206E_200C_202B_202A_206A_200F_202D_202B_202E((ILogger)logger, global::_003CModule_003E._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(1806969075), new object[1] { craftedItemId }); + return null; + case 15: + _202D_202B_202B_200D_202A_202B_206C_202D_200F_206F_206C_202D_200C_202D_206B_202C_200D_206B_206F_206F_200B_202A_200B_200B_206C_202A_200E_202D_206B_206F_202A_200B_206E_200C_202B_202A_206A_200F_202D_202B_202E((ILogger)logger, global::_003CModule_003E._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(1664800932), new object[4] { item, item2, craftedItemId, list.Count }); + return new RecipeInfo(item, craftedItemId, list, item2); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public VendorInfo? ResolveVendor(uint ingredientId) + { + int num = (_200B_202E_200F_200C_206F_202B_206F_200E_206B_200E_200E_206E_206D_202D_200E_206C_206A_200F_200C_206F_202D_202E_206C_206B_202D_206E_206C_200E_206B_206B_202E_202E_200C_200F_206B_206D_202B_200C_200E_202B_202E(npcPositionCache) ? 1075940384 : 1075940385); + ShopSearchResult shopSearchResult = default(ShopSearchResult); + while (true) + { + int num2 = num; + int num3 = 1075940386; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _202D_202B_202B_200D_202A_202B_206C_202D_200F_206F_206C_202D_200C_202D_206B_202C_200D_206B_206F_206F_200B_202A_200B_200B_206C_202A_200E_202D_206B_206F_202A_200B_206E_200C_202B_202A_206A_200F_202D_202B_202E((ILogger)logger, global::_003CModule_003E._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(-563414727), new object[1] { ingredientId }); + return null; + case 3: + _200D_202E_206C_202D_200B_202A_202E_202B_202D_200D_200F_206E_206B_200E_200C_200C_200D_206F_206C_202D_200E_206D_202C_202A_200C_200E_200C_200C_206F_202A_202C_200D_202B_202D_200C_206B_200B_206E_200E_202D_202E((ILogger)logger, global::_003CModule_003E._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(1813598717), new object[1] { ingredientId }); + return null; + case 4: + num = 1075940385; + break; + case 0: + _202D_202B_202B_200D_202A_202B_206C_202D_200F_206F_206C_202D_200C_202D_206B_202C_200D_206B_206F_206F_200B_202A_200B_200B_206C_202A_200E_202D_206B_206F_202A_200B_206E_200C_202B_202A_206A_200F_202D_202B_202E((ILogger)logger, global::_003CModule_003E._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(1256305400), new object[5] + { + _202D_202E_206F_206C_206F_202E_200B_200E_202B_202B_200F_200F_206A_200F_200E_206A_202C_202D_206B_206E_200D_206C_206E_206E_200D_200E_200F_200B_202A_202B_206B_202D_206B_200B_202D_200E_202A_206B_200B_202E_202E(shopSearchResult), + ingredientId, + _200D_200D_206C_202A_200D_206A_206E_202E_206D_206F_206E_200B_206D_202E_206D_200C_200F_206C_202C_206E_206E_206E_202B_206F_200C_206B_206F_206D_202E_206C_206C_200B_206B_206E_202D_206B_206D_202E_206F_206A_202E(shopSearchResult), + _206D_202B_200C_206D_206F_200E_202E_202C_200C_202A_206B_202D_202E_200F_202A_202A_200C_200F_202B_206F_206D_206B_206F_202A_206E_206F_200D_206E_202B_206C_206E_206C_200B_206A_202E_200C_206B_202A_206B_206C_202E(shopSearchResult), + _206B_200C_200C_202B_202B_200F_202C_206F_200E_200B_200D_200C_202D_202A_200E_200C_206A_200C_206F_202A_206C_202E_206B_202B_206D_202C_200B_200B_200B_200D_206D_200B_202B_202E_202B_202D_200E_200C_202A_200C_202E(shopSearchResult) + }); + return new VendorInfo(_200D_200D_206C_202A_200D_206A_206E_202E_206D_206F_206E_200B_206D_202E_206D_200C_200F_206C_202C_206E_206E_206E_202B_206F_200C_206B_206F_206D_202E_206C_206C_200B_206B_206E_202D_206B_206D_202E_206F_206A_202E(shopSearchResult), _202D_202E_206F_206C_206F_202E_200B_200E_202B_202B_200F_200F_206A_200F_200E_206A_202C_202D_206B_206E_200D_206C_206E_206E_200D_200E_200F_200B_202A_202B_206B_202D_206B_200B_202D_200E_202A_206B_200B_202E_202E(shopSearchResult), _206D_202B_200C_206D_206F_200E_202E_202C_200C_202A_206B_202D_202E_200F_202A_202A_200C_200F_202B_206F_206D_206B_206F_202A_206E_206F_200D_206E_202B_206C_206E_206C_200B_206A_202E_200C_206B_202A_206B_206C_202E(shopSearchResult), _202A_200E_206F_206C_202B_202E_200F_206F_202C_202A_206E_200C_200B_202B_200D_206C_206F_206F_200F_206E_206C_200D_202B_202D_200F_206D_206B_200C_206D_206A_206C_206F_200C_206C_200C_206A_200B_202A_200B_202A_202E(shopSearchResult), _206B_200C_200C_202B_202B_200F_202C_206F_200E_200B_200D_200C_202D_202A_200E_200C_206A_200C_206F_202A_206C_202E_206B_202B_206D_202C_200B_200B_200B_200D_206D_200B_202B_202E_202B_202D_200E_200C_202A_200C_202E(shopSearchResult)); + case 2: + shopSearchResult = _206A_202E_202A_200E_202C_202E_202A_200D_200B_200C_200F_200B_202A_206F_202A_200F_202E_202E_206B_202A_200C_200F_206F_200B_200B_200B_202B_206B_202D_202B_206C_202B_206B_200C_206F_200C_206F_206A_206C_206E_202E(vendorResolver, ingredientId); + num = ((!_206D_200F_206D_202D_202D_200E_206B_206A_200E_200F_200C_202D_202C_202E_206D_206F_202C_200F_206A_200B_202A_206A_202B_206C_200D_202B_202C_202A_200B_206E_202E_206D_200E_200D_200C_206C_200D_200D_206B_206A_202E(shopSearchResult, (ShopSearchResult)null)) ? 1075940386 : 1075940387); + break; + } + } + } + + private static List CollectIngredients(Recipe recipe) + { + List list = new List(); + int num = 0; + int num2 = 1773501195; + uint rowId = default(uint); + int num6 = default(int); + while (true) + { + int num3 = num2; + int num4 = 1773501198; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 5: + num2 = ((num < recipe.Ingredient.Count) ? 1773501197 : 1773501196); + break; + case 1: + list.Add(new IngredientInfo(rowId, num6)); + num2 = 1773501192; + break; + case 2: + return list; + case 0: + num2 = ((num6 <= 0) ? 1773501192 : 1773501199); + break; + case 4: + num2 = 1773501195; + break; + case 6: + { + int num7 = num; + num4 = 1; + num5 = num7; + num = (num5 | num4) + (num5 & num4); + num2 = 1773501195; + break; + } + case 3: + rowId = recipe.Ingredient[num].RowId; + num6 = recipe.AmountIngredient[num]; + num2 = ((rowId == 0) ? 1773501192 : 1773501198); + break; + } + } + } + + static void _202D_202B_202B_200D_202A_202B_206C_202D_200F_206F_206C_202D_200C_202D_206B_202C_200D_206B_206F_206F_200B_202A_200B_200B_206C_202A_200E_202D_206B_206F_202A_200B_206E_200C_202B_202A_206A_200F_202D_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _200B_202E_200F_200C_206F_202B_206F_200E_206B_200E_200E_206E_206D_202D_200E_206C_206A_200F_200C_206F_202D_202E_206C_206B_202D_206E_206C_200E_206B_206B_202E_202E_200C_200F_206B_206D_202B_200C_200E_202B_202E(NpcPositionCache P_0) + { + return P_0.IsBuilt; + } + + static void _200D_202E_206C_202D_200B_202A_202E_202B_202D_200D_200F_206E_206B_200E_200C_200C_200D_206F_206C_202D_200E_206D_202C_202A_200C_200E_200C_200C_206F_202A_202C_200D_202B_202D_200C_206B_200B_206E_200E_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static ShopSearchResult _206A_202E_202A_200E_202C_202E_202A_200D_200B_200C_200F_200B_202A_206F_202A_200F_202E_202E_206B_202A_200C_200F_206F_200B_200B_200B_202B_206B_202D_202B_206C_202B_206B_200C_206F_200C_206F_206A_206C_206E_202E(VendorResolver P_0, uint P_1) + { + return P_0.FindGilVendor(P_1); + } + + static bool _206D_200F_206D_202D_202D_200E_206B_206A_200E_200F_200C_202D_202C_202E_206D_206F_202C_200F_206A_200B_202A_206A_202B_206C_200D_202B_202C_202A_200B_206E_202E_206D_200E_200D_200C_206C_200D_200D_206B_206A_202E(ShopSearchResult P_0, ShopSearchResult P_1) + { + return P_0 == P_1; + } + + static uint _202D_202E_206F_206C_206F_202E_200B_200E_202B_202B_200F_200F_206A_200F_200E_206A_202C_202D_206B_206E_200D_206C_206E_206E_200D_200E_200F_200B_202A_202B_206B_202D_206B_200B_202D_200E_202A_206B_200B_202E_202E(ShopSearchResult P_0) + { + return P_0.NpcId; + } + + static uint _200D_200D_206C_202A_200D_206A_206E_202E_206D_206F_206E_200B_206D_202E_206D_200C_200F_206C_202C_206E_206E_206E_202B_206F_200C_206B_206F_206D_202E_206C_206C_200B_206B_206E_202D_206B_206D_202E_206F_206A_202E(ShopSearchResult P_0) + { + return P_0.ShopId; + } + + static ushort _206D_202B_200C_206D_206F_200E_202E_202C_200C_202A_206B_202D_202E_200F_202A_202A_200C_200F_202B_206F_206D_206B_206F_202A_206E_206F_200D_206E_202B_206C_206E_206C_200B_206A_202E_200C_206B_202A_206B_206C_202E(ShopSearchResult P_0) + { + return P_0.TerritoryId; + } + + static int _206B_200C_200C_202B_202B_200F_202C_206F_200E_200B_200D_200C_202D_202A_200E_200C_206A_200C_206F_202A_206C_202E_206B_202B_206D_202C_200B_200B_200B_200D_206D_200B_202B_202E_202B_202D_200E_200C_202A_200C_202E(ShopSearchResult P_0) + { + return P_0.DialogOptionIndex; + } + + static Vector3 _202A_200E_206F_206C_202B_202E_200F_206F_202C_202A_206E_200C_200B_202B_200D_206C_206F_206F_200F_206E_206C_200D_202B_202D_200F_206D_206B_200C_206D_206A_206C_206F_200C_206C_200C_206A_200B_202A_200B_202A_202E(ShopSearchResult P_0) + { + return P_0.NpcPosition; + } +} diff --git a/Questionable/Questionable.Controller.DebugCommands/AbandonDutyCommandHandler.cs b/Questionable/Questionable.Controller.DebugCommands/AbandonDutyCommandHandler.cs index f3e74529..35df1d29 100644 --- a/Questionable/Questionable.Controller.DebugCommands/AbandonDutyCommandHandler.cs +++ b/Questionable/Questionable.Controller.DebugCommands/AbandonDutyCommandHandler.cs @@ -1,3 +1,4 @@ +using System.Runtime.CompilerServices; using Questionable.Functions; namespace Questionable.Controller.DebugCommands; @@ -6,7 +7,14 @@ internal sealed class AbandonDutyCommandHandler : IDebugCommandHandler { private readonly GameFunctions _gameFunctions; - public string CommandName => "abandon-duty"; + public string CommandName + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(-2080095221); + } + } public AbandonDutyCommandHandler(GameFunctions gameFunctions) { @@ -17,4 +25,10 @@ internal sealed class AbandonDutyCommandHandler : IDebugCommandHandler { _gameFunctions.AbandonDuty(); } + + void IDebugCommandHandler.Execute(string[] arguments) + { + //ILSpy generated this explicit interface implementation from .override directive in Execute + this.Execute(arguments); + } } diff --git a/Questionable/Questionable.Controller.DebugCommands/AethernetCommandHandler.cs b/Questionable/Questionable.Controller.DebugCommands/AethernetCommandHandler.cs index 9b16ac12..c4dd3acf 100644 --- a/Questionable/Questionable.Controller.DebugCommands/AethernetCommandHandler.cs +++ b/Questionable/Questionable.Controller.DebugCommands/AethernetCommandHandler.cs @@ -1,11 +1,14 @@ using System; +using System.Collections; using System.Collections.Generic; +using System.Collections.ObjectModel; using System.Linq; +using System.Runtime.CompilerServices; 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; @@ -19,7 +22,14 @@ internal sealed class AethernetCommandHandler : IDebugCommandHandler private readonly IChatGui _chatGui; - public string CommandName => "aethernet"; + public string CommandName + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(-753561834); + } + } public AethernetCommandHandler(IDataManager dataManager, IClientState clientState, AetheryteFunctions aetheryteFunctions, IChatGui chatGui) { @@ -29,88 +39,418 @@ internal sealed class AethernetCommandHandler : IDebugCommandHandler _chatGui = chatGui; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Execute(string[] arguments) { - uint territoryType = _clientState.TerritoryType; + uint num = _200E_206C_202A_202B_200F_202E_206A_200F_200F_200F_202B_202C_206D_202B_206A_200F_202D_202D_202D_202A_206B_202E_202E_200B_206F_200E_206F_206A_202E_202C_206E_200E_202C_200D_206C_202E_206E_200D_206E_202A_202E(_clientState); Dictionary values = AethernetShardConverter.Values; - AetheryteData aetheryteData = new AetheryteData(_dataManager); + AetheryteData aetheryteData = _200C_206E_206B_202A_200B_206A_206C_202D_206B_200F_202C_200B_206D_202A_206F_202C_202E_200C_206D_202B_202B_200D_202B_202B_202C_200D_206D_200B_206D_202D_202A_200D_202A_200B_202B_200E_200B_206E_200D_200F_202E(_dataManager); HashSet hashSet = new HashSet(); Dictionary> dictionary = new Dictionary>(); EAetheryteLocation key; - string value; - foreach (KeyValuePair item3 in values) + string value2; + int num2; + using (Dictionary.Enumerator enumerator = values.GetEnumerator()) { - item3.Deconstruct(out key, out value); - EAetheryteLocation key2 = key; - string text = value; - if (aetheryteData.TerritoryIds.TryGetValue(key2, out var value2) && value2 == territoryType) + num2 = 743370573; + string text = default(string); + int num8 = default(int); + ushort value = default(ushort); + while (true) { - int num = text.IndexOf(']', StringComparison.Ordinal); - if (num > 0) + int num3 = num2; + int num4 = 743370569; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) { - string item = text.Substring(1, num - 1); + case 4: + num2 = (enumerator.MoveNext() ? 743370572 : 743370570); + break; + case 1: + { + string text2 = text; + int num9 = num8; + num4 = 1; + num5 = num9; + string item = _206C_206B_202C_202B_202A_206A_202D_206C_202D_206F_202D_200C_206E_200D_200B_206A_202D_202D_202B_202D_200D_206E_202C_202D_200E_202B_206C_206D_202B_200D_202E_202C_200E_200B_200B_206E_206B_200C_202A_206B_202E(text2, 1, ~(~num5 + num4)); hashSet.Add(item); + num2 = 743370573; + break; + } + case 2: + num2 = 743370573; + break; + case 6: + num2 = ((value != num) ? 743370573 : 743370569); + break; + case 5: + { + enumerator.Current.Deconstruct(out key, out value2); + EAetheryteLocation key2 = key; + text = value2; + num2 = ((!_200C_206A_206A_206E_200E_200C_200D_202E_200B_200E_200B_200E_200B_200C_200D_206F_200D_200E_206D_200E_206E_206F_206B_202A_206A_206D_202C_206B_200E_200F_206D_200B_200E_206E_206F_202E_200B_206C_206A_206A_202E(aetheryteData).TryGetValue(key2, out value)) ? 743370573 : 743370575); + break; + } + case 0: + num8 = _202C_206E_202A_200F_200F_202B_206F_202A_206B_206E_200C_200C_200D_206E_206A_200D_206E_202A_202A_200D_202C_206D_202D_202D_206C_200E_200D_200D_206E_202C_200B_206A_202D_202D_200E_206D_206A_202A_206F_202C_202E(text, ']', StringComparison.Ordinal); + num2 = ((num8 <= 0) ? 743370573 : 743370568); + break; + case 3: + goto end_IL_003f; } - } - } - if (hashSet.Count == 0) - { - _chatGui.Print("No aethernet shards found in current zone.", "Questionable", 576); - return; - } - foreach (KeyValuePair item4 in values) - { - item4.Deconstruct(out key, out value); - EAetheryteLocation eAetheryteLocation = key; - string text2 = value; - int num2 = text2.IndexOf(']', StringComparison.Ordinal); - if (num2 <= 0) - { continue; - } - string text3 = text2.Substring(1, num2 - 1); - if (hashSet.Contains(text3)) - { - if (!dictionary.ContainsKey(text3)) - { - dictionary[text3] = new List<(EAetheryteLocation, string, bool)>(); - } - bool item2 = _aetheryteFunctions.IsAetheryteUnlocked(eAetheryteLocation); - dictionary[text3].Add((eAetheryteLocation, text2, item2)); + end_IL_003f: + break; } } - foreach (KeyValuePair> item5 in dictionary.OrderBy>, string>((KeyValuePair> x) => x.Key)) + num2 = ((hashSet.Count != 0) ? 1358822914 : 1358822913); + string text3 = default(string); + int num12 = default(int); + string text4 = default(string); + EAetheryteLocation eAetheryteLocation = default(EAetheryteLocation); + while (true) { - item5.Deconstruct(out value, out var value3); - string value4 = value; - List<(EAetheryteLocation, string, bool)> list = value3; - List<(EAetheryteLocation, string, bool)> list2 = list.Where<(EAetheryteLocation, string, bool)>(((EAetheryteLocation Location, string Name, bool Unlocked) x) => x.Unlocked).ToList(); - List<(EAetheryteLocation, string, bool)> list3 = list.Where<(EAetheryteLocation, string, bool)>(((EAetheryteLocation Location, string Name, bool Unlocked) x) => !x.Unlocked).ToList(); - _chatGui.Print($"Aethernet Shards in {value4} ({list.Count} total):", "Questionable", 576); - _chatGui.Print($" Unlocked: {list2.Count}", "Questionable", 576); - _chatGui.Print($" Missing: {list3.Count}", "Questionable", 576); - _chatGui.Print("", "Questionable", 576); - if (list3.Count > 0) + int num10 = num2; + int num4 = 1358822915; + int num5 = num10; + switch ((num5 | num4) - (num5 & num4)) { - _chatGui.Print("Missing/Unattuned Aethernet Shards:", "Questionable", 576); - foreach (var item6 in list3.OrderBy<(EAetheryteLocation, string, bool), string>(((EAetheryteLocation Location, string Name, bool Unlocked) x) => x.Name)) + case 0: + goto IL_01d0; + case 2: + _200C_206F_206B_206A_202D_206F_200E_206B_202C_202B_206C_206D_200C_200F_206B_200C_206D_206D_206E_202A_206E_202D_202B_206C_202B_206B_206E_206E_206F_202B_202E_206A_202D_200F_206B_202D_206A_200B_206F_206F_202E(_chatGui, global::_003CModule_003E._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(-1644635197), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + return; + case 1: + { + using (Dictionary.Enumerator enumerator = values.GetEnumerator()) { - _chatGui.Print(" " + item6.Item2, "Questionable", 576); + num2 = 229198899; + while (true) + { + int num11 = num2; + num4 = 229198902; + num5 = num11; + switch ((num5 | num4) - (num5 & num4)) + { + case 3: + { + string text5 = text3; + int num13 = num12; + num4 = 1; + num5 = num13; + text4 = _206C_206B_202C_202B_202A_206A_202D_206C_202D_206F_202D_200C_206E_200D_200B_206A_202D_202D_202B_202D_200D_206E_202C_202D_200E_202B_206C_206D_202B_200D_202E_202C_200E_200B_200B_206E_206B_200C_202A_206B_202E(text5, 1, ~(~num5 + num4)); + num2 = ((!hashSet.Contains(text4)) ? 229198899 : 229198897); + break; + } + case 4: + dictionary[text4] = new List<(EAetheryteLocation, string, bool)>(); + num2 = 229198900; + break; + case 0: + num2 = 229198899; + break; + case 1: + enumerator.Current.Deconstruct(out key, out value2); + eAetheryteLocation = key; + text3 = value2; + num12 = _202C_206E_202A_200F_200F_202B_206F_202A_206B_206E_200C_200C_200D_206E_206A_200D_206E_202A_202A_200D_202C_206D_202D_202D_206C_200E_200D_200D_206E_202C_200B_206A_202D_202D_200E_206D_206A_202A_206F_202C_202E(text3, ']', StringComparison.Ordinal); + num2 = ((num12 <= 0) ? 229198899 : 229198901); + break; + case 2: + { + bool item2 = _aetheryteFunctions.IsAetheryteUnlocked(eAetheryteLocation); + dictionary[text4].Add((eAetheryteLocation, text3, item2)); + num2 = 229198899; + break; + } + case 7: + num2 = (dictionary.ContainsKey(text4) ? 229198900 : 229198898); + break; + case 5: + num2 = (enumerator.MoveNext() ? 229198903 : 229198896); + break; + case 6: + goto end_IL_021a; + } + continue; + end_IL_021a: + break; + } } - _chatGui.Print("", "Questionable", 576); - } - if (list2.Count > 0) - { - _chatGui.Print("Unlocked Aethernet Shards:", "Questionable", 576); - foreach (var item7 in list2.OrderBy<(EAetheryteLocation, string, bool), string>(((EAetheryteLocation Location, string Name, bool Unlocked) x) => x.Name)) + IEnumerator>> enumerator2 = dictionary.OrderBy>, string>((KeyValuePair> x) => x.Key).GetEnumerator(); + try { - _chatGui.Print(" " + item7.Item2, "Questionable", 576); + while (true) + { + if (_202A_200B_202A_202E_206E_202A_206D_206B_206E_202C_202A_200F_200E_202E_202B_200C_202A_206F_206E_206A_202A_200E_206D_200C_206A_202E_206C_202D_202B_200E_200C_206F_200E_202A_206C_206A_206D_202D_202C_200D_202E((IEnumerator)enumerator2)) + { + enumerator2.Current.Deconstruct(out value2, out var value3); + string value4 = value2; + List<(EAetheryteLocation, string, bool)> list = value3; + List<(EAetheryteLocation, string, bool)> list2 = list.Where<(EAetheryteLocation, string, bool)>(((EAetheryteLocation Location, string Name, bool Unlocked) x) => x.Unlocked).ToList(); + List<(EAetheryteLocation, string, bool)> list3 = list.Where<(EAetheryteLocation, string, bool)>(((EAetheryteLocation Location, string Name, bool Unlocked) x) => !x.Unlocked).ToList(); + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(30, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-259971891)); + defaultInterpolatedStringHandler.AppendFormatted(value4); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(588901087)); + defaultInterpolatedStringHandler.AppendFormatted(list.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(626621693)); + _200C_206F_206B_206A_202D_206F_200E_206B_202C_202B_206C_206D_200C_200F_206B_200C_206D_206D_206E_202A_206E_202D_202B_206C_202B_206B_206E_206E_206F_202B_202E_206A_202D_200F_206B_202D_206A_200B_206F_206F_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + IChatGui chatGui2 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(12, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1594528935)); + defaultInterpolatedStringHandler2.AppendFormatted(list2.Count); + _200C_206F_206B_206A_202D_206F_200E_206B_202C_202B_206C_206D_200C_200F_206B_200C_206D_206D_206E_202A_206E_202D_202B_206C_202B_206B_206E_206E_206F_202B_202E_206A_202D_200F_206B_202D_206A_200B_206F_206F_202E(chatGui2, defaultInterpolatedStringHandler2.ToStringAndClear(), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + IChatGui chatGui3 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(11, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-1397817883)); + defaultInterpolatedStringHandler3.AppendFormatted(list3.Count); + _200C_206F_206B_206A_202D_206F_200E_206B_202C_202B_206C_206D_200C_200F_206B_200C_206D_206D_206E_202A_206E_202D_202B_206C_202B_206B_206E_206E_206F_202B_202E_206A_202D_200F_206B_202D_206A_200B_206F_206F_202E(chatGui3, defaultInterpolatedStringHandler3.ToStringAndClear(), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + _200C_206F_206B_206A_202D_206F_200E_206B_202C_202B_206C_206D_200C_200F_206B_200C_206D_206D_206E_202A_206E_202D_202B_206C_202B_206B_206E_206E_206F_202B_202E_206A_202D_200F_206B_202D_206A_200B_206F_206F_202E(_chatGui, global::_003CModule_003E._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(1200342830), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + if (list3.Count > 0) + { + _200C_206F_206B_206A_202D_206F_200E_206B_202C_202B_206C_206D_200C_200F_206B_200C_206D_206D_206E_202A_206E_202D_202B_206C_202B_206B_206E_206E_206F_202B_202E_206A_202D_200F_206B_202D_206A_200B_206F_206F_202E(_chatGui, global::_003CModule_003E._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(-1492898966), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + IEnumerator<(EAetheryteLocation, string, bool)> enumerator3 = list3.OrderBy<(EAetheryteLocation, string, bool), string>(((EAetheryteLocation Location, string Name, bool Unlocked) x) => x.Name).GetEnumerator(); + try + { + num2 = 2044246783; + while (true) + { + int num14 = num2; + num4 = 2044246780; + num5 = num14; + int num15 = num5 + num4; + int num16 = num5 & num4; + switch (num15 - (num16 + num16)) + { + case 3: + num2 = (_202A_200B_202A_202E_206E_202A_206D_206B_206E_202C_202A_200F_200E_202E_202B_200C_202A_206F_206E_206A_202A_200E_206D_200C_206A_202E_206C_202D_202B_200E_200C_206F_200E_202A_206C_206A_206D_202D_202C_200D_202E((IEnumerator)enumerator3) ? 2044246782 : 2044246781); + break; + case 2: + { + (EAetheryteLocation, string, bool) current = enumerator3.Current; + _200C_206F_206B_206A_202D_206F_200E_206B_202C_202B_206C_206D_200C_200F_206B_200C_206D_206D_206E_202A_206E_202D_202B_206C_202B_206B_206E_206E_206F_202B_202E_206A_202D_200F_206B_202D_206A_200B_206F_206F_202E(_chatGui, _206B_206F_202C_206F_200D_200C_206C_200C_206F_206E_206E_206A_202B_202B_202C_206F_200B_202C_206C_202D_202A_200B_202B_202A_200D_206B_206B_200C_202B_202A_202D_200D_202E_206E_206A_206C_202E_206A_206A_202C_202E(global::_003CModule_003E._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(-1427836459), current.Item2), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + num2 = 2044246783; + break; + } + case 0: + num2 = 2044246783; + break; + case 1: + goto end_IL_05fa; + } + continue; + end_IL_05fa: + break; + } + } + finally + { + num2 = ((enumerator3 == null) ? 273930028 : 273930029); + while (true) + { + int num17 = num2; + num4 = 273930028; + num5 = num17; + int num18 = num5 + num4; + int num19 = num5 & num4; + switch (num18 - (num19 + num19)) + { + case 2: + num2 = 273930029; + break; + case 1: + _206E_200E_206B_206C_206E_200F_206D_200F_206D_200C_206B_202E_202B_200E_202C_206F_206F_200B_206A_200D_200D_200F_200E_206A_206D_202D_202E_200D_200C_206F_200B_200B_200B_206F_202B_206E_206B_202A_202D_206D_202E((IDisposable)enumerator3); + num2 = 273930028; + break; + case 0: + goto end_IL_06ca; + } + continue; + end_IL_06ca: + break; + } + } + _200C_206F_206B_206A_202D_206F_200E_206B_202C_202B_206C_206D_200C_200F_206B_200C_206D_206D_206E_202A_206E_202D_202B_206C_202B_206B_206E_206E_206F_202B_202E_206A_202D_200F_206B_202D_206A_200B_206F_206F_202E(_chatGui, global::_003CModule_003E._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(-1720149641), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + } + if (list2.Count > 0) + { + _200C_206F_206B_206A_202D_206F_200E_206B_202C_202B_206C_206D_200C_200F_206B_200C_206D_206D_206E_202A_206E_202D_202B_206C_202B_206B_206E_206E_206F_202B_202E_206A_202D_200F_206B_202D_206A_200B_206F_206F_202E(_chatGui, global::_003CModule_003E._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(-1522560698), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + IEnumerator<(EAetheryteLocation, string, bool)> enumerator3 = list2.OrderBy<(EAetheryteLocation, string, bool), string>(((EAetheryteLocation Location, string Name, bool Unlocked) x) => x.Name).GetEnumerator(); + try + { + num2 = 111331971; + while (true) + { + int num20 = num2; + num4 = 111331970; + num5 = num20; + switch ((num5 | num4) - (num5 & num4)) + { + case 3: + num2 = 111331971; + break; + case 1: + num2 = (_202A_200B_202A_202E_206E_202A_206D_206B_206E_202C_202A_200F_200E_202E_202B_200C_202A_206F_206E_206A_202A_200E_206D_200C_206A_202E_206C_202D_202B_200E_200C_206F_200E_202A_206C_206A_206D_202D_202C_200D_202E((IEnumerator)enumerator3) ? 111331968 : 111331970); + break; + case 2: + { + (EAetheryteLocation, string, bool) current2 = enumerator3.Current; + _200C_206F_206B_206A_202D_206F_200E_206B_202C_202B_206C_206D_200C_200F_206B_200C_206D_206D_206E_202A_206E_202D_202B_206C_202B_206B_206E_206E_206F_202B_202E_206A_202D_200F_206B_202D_206A_200B_206F_206F_202E(_chatGui, _206B_206F_202C_206F_200D_200C_206C_200C_206F_206E_206E_206A_202B_202B_202C_206F_200B_202C_206C_202D_202A_200B_202B_202A_200D_206B_206B_200C_202B_202A_202D_200D_202E_206E_206A_206C_202E_206A_206A_202C_202E(global::_003CModule_003E._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(244795324), current2.Item2), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + num2 = 111331971; + break; + } + case 0: + goto end_IL_07b3; + } + continue; + end_IL_07b3: + break; + } + } + finally + { + num2 = ((enumerator3 == null) ? 842300158 : 842300157); + while (true) + { + int num21 = num2; + num4 = 842300156; + num5 = num21; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + goto end_IL_0881; + case 1: + _206E_200E_206B_206C_206E_200F_206D_200F_206D_200C_206B_202E_202B_200E_202C_206F_206F_200B_206A_200D_200D_200F_200E_206A_206D_202D_202E_200D_200C_206F_200B_200B_200B_206F_202B_206E_206B_202A_202D_206D_202E((IDisposable)enumerator3); + num2 = 842300158; + break; + case 0: + num2 = 842300157; + break; + } + continue; + end_IL_0881: + break; + } + } + } + num2 = ((dictionary.Count <= 1) ? (-941740781) : (-941740784)); + } + else + { + num2 = -941740782; + } + while (true) + { + int num22 = num2; + num4 = -941740782; + num5 = num22; + int num23 = num5 + num4; + int num24 = num5 & num4; + switch (num23 - (num24 + num24)) + { + default: + continue; + case 3: + num2 = -941740784; + continue; + case 1: + break; + case 2: + _200C_206F_206B_206A_202D_206F_200E_206B_202C_202B_206C_206D_200C_200F_206B_200C_206D_206D_206E_202A_206E_202D_202B_206C_202B_206B_206E_206E_206F_202B_202E_206A_202D_200F_206B_202D_206A_200B_206F_206F_202E(_chatGui, global::_003CModule_003E._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(-1694032531), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + num2 = -941740781; + continue; + case 0: + return; + } + break; + } + } + } + finally + { + num2 = ((enumerator2 == null) ? (-992508169) : (-992508172)); + while (true) + { + int num25 = num2; + num4 = -992508170; + num5 = num25; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + goto end_IL_09a1; + case 2: + _206E_200E_206B_206C_206E_200F_206D_200F_206D_200C_206B_202E_202B_200E_202C_206F_206F_200B_206A_200D_200D_200F_200E_206A_206D_202D_202E_200D_200C_206F_200B_200B_200B_206F_202B_206E_206B_202A_202D_206D_202E((IDisposable)enumerator2); + num2 = -992508169; + break; + case 0: + num2 = -992508172; + break; + } + continue; + end_IL_09a1: + break; + } } } - if (dictionary.Count > 1) - { - _chatGui.Print("", "Questionable", 576); } + continue; + IL_01d0: + num2 = 1358822913; } } + + void IDebugCommandHandler.Execute(string[] arguments) + { + //ILSpy generated this explicit interface implementation from .override directive in Execute + this.Execute(arguments); + } + + static uint _200E_206C_202A_202B_200F_202E_206A_200F_200F_200F_202B_202C_206D_202B_206A_200F_202D_202D_202D_202A_206B_202E_202E_200B_206F_200E_206F_206A_202E_202C_206E_200E_202C_200D_206C_202E_206E_200D_206E_202A_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static AetheryteData _200C_206E_206B_202A_200B_206A_206C_202D_206B_200F_202C_200B_206D_202A_206F_202C_202E_200C_206D_202B_202B_200D_202B_202B_202C_200D_206D_200B_206D_202D_202A_200D_202A_200B_202B_200E_200B_206E_200D_200F_202E(IDataManager P_0) + { + return new AetheryteData(P_0); + } + + static ReadOnlyDictionary _200C_206A_206A_206E_200E_200C_200D_202E_200B_200E_200B_200E_200B_200C_200D_206F_200D_200E_206D_200E_206E_206F_206B_202A_206A_206D_202C_206B_200E_200F_206D_200B_200E_206E_206F_202E_200B_206C_206A_206A_202E(AetheryteData P_0) + { + return P_0.TerritoryIds; + } + + static int _202C_206E_202A_200F_200F_202B_206F_202A_206B_206E_200C_200C_200D_206E_206A_200D_206E_202A_202A_200D_202C_206D_202D_202D_206C_200E_200D_200D_206E_202C_200B_206A_202D_202D_200E_206D_206A_202A_206F_202C_202E(string P_0, char P_1, StringComparison P_2) + { + return P_0.IndexOf(P_1, P_2); + } + + static string _206C_206B_202C_202B_202A_206A_202D_206C_202D_206F_202D_200C_206E_200D_200B_206A_202D_202D_202B_202D_200D_206E_202C_202D_200E_202B_206C_206D_202B_200D_202E_202C_200E_200B_200B_206E_206B_200C_202A_206B_202E(string P_0, int P_1, int P_2) + { + return P_0.Substring(P_1, P_2); + } + + static void _200C_206F_206B_206A_202D_206F_200E_206B_202C_202B_206C_206D_200C_200F_206B_200C_206D_206D_206E_202A_206E_202D_202B_206C_202B_206B_206E_206E_206F_202B_202E_206A_202D_200F_206B_202D_206A_200B_206F_206F_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static string _206B_206F_202C_206F_200D_200C_206C_200C_206F_206E_206E_206A_202B_202B_202C_206F_200B_202C_206C_202D_202A_200B_202B_202A_200D_206B_206B_200C_202B_202A_202D_200D_202E_206E_206A_206C_202E_206A_206A_202C_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _202A_200B_202A_202E_206E_202A_206D_206B_206E_202C_202A_200F_200E_202E_202B_200C_202A_206F_206E_206A_202A_200E_206D_200C_206A_202E_206C_202D_202B_200E_200C_206F_200E_202A_206C_206A_206D_202D_202C_200D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206E_200E_206B_206C_206E_200F_206D_200F_206D_200C_206B_202E_202B_200E_202C_206F_206F_200B_206A_200D_200D_200F_200E_206A_206D_202D_202E_200D_200C_206F_200B_200B_200B_206F_202B_206E_206B_202A_202D_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } } diff --git a/Questionable/Questionable.Controller.DebugCommands/DebugCommandExecutor.cs b/Questionable/Questionable.Controller.DebugCommands/DebugCommandExecutor.cs index b2fd9fd2..4cbbb333 100644 --- a/Questionable/Questionable.Controller.DebugCommands/DebugCommandExecutor.cs +++ b/Questionable/Questionable.Controller.DebugCommands/DebugCommandExecutor.cs @@ -10,16 +10,36 @@ internal sealed class DebugCommandExecutor public DebugCommandExecutor(IEnumerable handlers) { - _handlers = handlers.ToDictionary((IDebugCommandHandler h) => h.CommandName, StringComparer.OrdinalIgnoreCase); + _handlers = handlers.ToDictionary((IDebugCommandHandler h) => h.CommandName, _202E_200E_202A_202D_206B_202D_206D_202B_206F_200E_202E_200F_200E_200E_202D_200C_200B_202C_202A_202B_200C_202C_206F_200C_200E_206B_202D_200F_200D_206E_202D_200F_200D_202E_200F_202D_202A_202C_206B_206C_202E()); } public bool TryExecute(string command, string[] arguments) { - if (_handlers.TryGetValue(command, out IDebugCommandHandler value)) + IDebugCommandHandler value; + int num = ((!_handlers.TryGetValue(command, out value)) ? (-573165882) : (-573165881)); + while (true) { - value.Execute(arguments); - return true; + int num2 = num; + int num3 = -573165882; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 1: + value.Execute(arguments); + return true; + case 2: + goto IL_0059; + } + continue; + IL_0059: + num = -573165881; } - return false; + } + + static StringComparer _202E_200E_202A_202D_206B_202D_206D_202B_206F_200E_202E_200F_200E_200E_202D_200C_200B_202C_202A_202B_200C_202C_206F_200C_200E_206B_202D_200F_200D_206E_202D_200F_200D_202E_200F_202D_202A_202C_206B_206C_202E() + { + return StringComparer.OrdinalIgnoreCase; } } diff --git a/Questionable/Questionable.Controller.DebugCommands/FestivalsCommandHandler.cs b/Questionable/Questionable.Controller.DebugCommands/FestivalsCommandHandler.cs index b8558640..233f2bd5 100644 --- a/Questionable/Questionable.Controller.DebugCommands/FestivalsCommandHandler.cs +++ b/Questionable/Questionable.Controller.DebugCommands/FestivalsCommandHandler.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using System.Runtime.CompilerServices; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; @@ -8,32 +9,126 @@ internal sealed class FestivalsCommandHandler : IDebugCommandHandler { private readonly IChatGui _chatGui; - public string CommandName => "festivals"; + public string CommandName + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(-121174418); + } + } public FestivalsCommandHandler(IChatGui chatGui) { _chatGui = chatGui; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void Execute(string[] arguments) { List list = new List(); - for (byte b = 0; b < 4; b++) + byte b = 0; + int num = 1430954904; + GameMain.Festival festival = default(GameMain.Festival); + while (true) { - GameMain.Festival festival = GameMain.Instance()->ActiveFestivals[b]; - if (festival.Id == 0) + int num2 = num; + int num3 = 1430954907; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - list.Add($"Slot {b}: None"); - } - else + case 6: { - list.Add($"Slot {b}: {festival.Id}({festival.Phase})"); + byte num8 = b; + num3 = 1; + num4 = num8; + b = (byte)((num4 | num3) + (num4 & num3)); + num = 1430954904; + break; + } + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1926210210)); + defaultInterpolatedStringHandler.AppendFormatted(b); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2074665157)); + defaultInterpolatedStringHandler.AppendFormatted(festival.Id); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1721352497)); + defaultInterpolatedStringHandler.AppendFormatted(festival.Phase); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + list.Add(defaultInterpolatedStringHandler.ToStringAndClear()); + num = 1430954909; + break; + } + case 4: + festival = GameMain.Instance()->ActiveFestivals[b]; + num = ((festival.Id != 0) ? 1430954907 : 1430954906); + break; + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(11, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1926210210)); + defaultInterpolatedStringHandler2.AppendFormatted(b); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-911476888)); + list.Add(defaultInterpolatedStringHandler2.ToStringAndClear()); + num = 1430954909; + break; + } + case 3: + num = ((b < 4) ? 1430954911 : 1430954905); + break; + case 5: + num = 1430954904; + break; + case 2: + { + _206E_202E_202D_206B_206E_206E_202A_202D_202C_206B_202A_200D_200F_202B_206B_200D_206D_206E_202D_206C_206B_200B_202D_200B_200B_206C_200E_206F_206F_200E_202E_206F_206A_202B_202B_200C_200F_202E_206E_200F_202E(_chatGui, global::_003CModule_003E._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(968833819), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + using List.Enumerator enumerator = list.GetEnumerator(); + num = 1158746389; + while (true) + { + int num7 = num; + num3 = 1158746390; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1158746389; + break; + case 2: + { + string current = enumerator.Current; + _206E_202E_202D_206B_206E_206E_202A_202D_202C_206B_202A_200D_200F_202B_206B_200D_206D_206E_202D_206C_206B_200B_202D_200B_200B_206C_200E_206F_206F_200E_202E_206F_206A_202B_202B_200C_200F_202E_206E_200F_202E(_chatGui, _202A_206E_202B_206B_200D_206A_200C_200F_200E_202A_200B_200D_202A_202E_206D_206A_200E_200B_206A_202D_202B_206C_206F_202B_200C_206D_206B_200E_202C_206E_200D_202B_206C_206A_202B_202E_206F_206A_200F_200E_202E(global::_003CModule_003E._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(-616133030), current), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + num = 1158746389; + break; + } + case 3: + num = (enumerator.MoveNext() ? 1158746388 : 1158746391); + break; + case 1: + return; + } + } + } } - } - _chatGui.Print("Festival slots:", "Questionable", 576); - foreach (string item in list) - { - _chatGui.Print(" " + item, "Questionable", 576); } } + + void IDebugCommandHandler.Execute(string[] arguments) + { + //ILSpy generated this explicit interface implementation from .override directive in Execute + this.Execute(arguments); + } + + static void _206E_202E_202D_206B_206E_206E_202A_202D_202C_206B_202A_200D_200F_202B_206B_200D_206D_206E_202D_206C_206B_200B_202D_200B_200B_206C_200E_206F_206F_200E_202E_206F_206A_202B_202B_200C_200F_202E_206E_200F_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static string _202A_206E_202B_206B_200D_206A_200C_200F_200E_202A_200B_200D_202A_202E_206D_206A_200E_200B_206A_202D_202B_206C_206F_202B_200C_206D_206B_200E_202C_206E_200D_202B_206C_206A_202B_202E_206F_206A_200F_200E_202E(string P_0, string P_1) + { + return P_0 + P_1; + } } diff --git a/Questionable/Questionable.Controller.DebugCommands/MountIdCommandHandler.cs b/Questionable/Questionable.Controller.DebugCommands/MountIdCommandHandler.cs index 29962f3b..2aa84b7a 100644 --- a/Questionable/Questionable.Controller.DebugCommands/MountIdCommandHandler.cs +++ b/Questionable/Questionable.Controller.DebugCommands/MountIdCommandHandler.cs @@ -1,3 +1,4 @@ +using System.Runtime.CompilerServices; using Dalamud.Plugin.Services; using Lumina.Excel.Sheets; using Questionable.Functions; @@ -12,7 +13,14 @@ internal sealed class MountIdCommandHandler : IDebugCommandHandler private readonly IChatGui _chatGui; - public string CommandName => "mountid"; + public string CommandName + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(-1623938064); + } + } public MountIdCommandHandler(GameFunctions gameFunctions, IDataManager dataManager, IChatGui chatGui) { @@ -21,17 +29,52 @@ internal sealed class MountIdCommandHandler : IDebugCommandHandler _chatGui = chatGui; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Execute(string[] arguments) { ushort? mountId = _gameFunctions.GetMountId(); - if (mountId.HasValue) + int num = ((!mountId.HasValue) ? (-816888412) : (-816888409)); + while (true) { - Mount? rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault(mountId.Value); - _chatGui.Print($"Mount ID: {mountId}, Name: {rowOrDefault?.Singular}, Obtainable: {((rowOrDefault?.Order == -1) ? "No" : "Yes")}", "Questionable", 576); - } - else - { - _chatGui.Print("You are not mounted.", "Questionable", 576); + int num2 = num; + int num3 = -816888410; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_005c; + case 1: + { + Mount? rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault(mountId.Value); + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(32, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-724667410)); + defaultInterpolatedStringHandler.AppendFormatted(mountId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1645361832)); + defaultInterpolatedStringHandler.AppendFormatted(rowOrDefault?.Singular); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1660044622)); + defaultInterpolatedStringHandler.AppendFormatted((rowOrDefault?.Order == -1) ? global::_003CModule_003E._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(474250124) : global::_003CModule_003E._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(514511304)); + _202E_206C_202D_206C_202C_206D_202E_200D_202B_206F_206D_206F_206B_202B_202D_206D_200E_206C_202B_202E_202E_202C_202E_206D_200D_202B_202C_202B_202D_200B_206C_200F_200F_202C_206D_202B_206F_202E_200F_202D_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + return; + } + case 2: + _202E_206C_202D_206C_202C_206D_202E_200D_202B_206F_206D_206F_206B_202B_202D_206D_200E_206C_202B_202E_202E_202C_202E_206D_200D_202B_202C_202B_202D_200B_206C_200F_200F_202C_206D_202B_206F_202E_200F_202D_202E(_chatGui, global::_003CModule_003E._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(2009796622), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + return; + } + continue; + IL_005c: + num = -816888409; } } + + void IDebugCommandHandler.Execute(string[] arguments) + { + //ILSpy generated this explicit interface implementation from .override directive in Execute + this.Execute(arguments); + } + + static void _202E_206C_202D_206C_202C_206D_202E_200D_202B_206F_206D_206F_206B_202B_202D_206D_200E_206C_202B_202E_202E_202C_202E_206D_200D_202B_202C_202B_202D_200B_206C_200F_200F_202C_206D_202B_206F_202E_200F_202D_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } } diff --git a/Questionable/Questionable.Controller.DebugCommands/NextQuestCommandHandler.cs b/Questionable/Questionable.Controller.DebugCommands/NextQuestCommandHandler.cs index bf640eb2..5c006045 100644 --- a/Questionable/Questionable.Controller.DebugCommands/NextQuestCommandHandler.cs +++ b/Questionable/Questionable.Controller.DebugCommands/NextQuestCommandHandler.cs @@ -1,3 +1,4 @@ +using System.Runtime.CompilerServices; using Dalamud.Plugin.Services; using Questionable.Functions; using Questionable.Model; @@ -15,7 +16,14 @@ internal sealed class NextQuestCommandHandler : IDebugCommandHandler private readonly IChatGui _chatGui; - public string CommandName => "next"; + public string CommandName + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(1283200128); + } + } public NextQuestCommandHandler(QuestController questController, QuestRegistry questRegistry, QuestFunctions questFunctions, IChatGui chatGui) { @@ -25,29 +33,98 @@ internal sealed class NextQuestCommandHandler : IDebugCommandHandler _chatGui = chatGui; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Execute(string[] arguments) { - if (arguments.Length >= 1 && ElementId.TryFromString(arguments[0], out ElementId elementId) && elementId != null) + int num = ((arguments.Length < 1) ? 618054138 : 618054137); + ElementId elementId = default(ElementId); + Quest quest = default(Quest); + while (true) { - Quest quest; - if (_questFunctions.IsQuestLocked(elementId)) + int num2 = num; + int num3 = 618054140; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - _chatGui.PrintError($"Quest {elementId} is locked.", "Questionable", 576); - } - else if (_questRegistry.TryGetQuest(elementId, out quest)) + case 3: + num = ((!_questRegistry.TryGetQuest(elementId, out quest)) ? 618054132 : 618054141); + break; + case 1: { _questController.SetNextQuest(quest); - _chatGui.Print($"Set next quest to {elementId} ({quest.Info.Name}).", "Questionable", 576); + IChatGui chatGui2 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(22, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1603211036)); + defaultInterpolatedStringHandler2.AppendFormatted(elementId); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1473546846)); + defaultInterpolatedStringHandler2.AppendFormatted(quest.Info.Name); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1109945913)); + _206A_206B_206E_202B_200B_202E_206F_206E_202C_202B_200D_200D_206C_200D_202A_206C_202A_206B_200E_200C_202C_206C_202D_200C_200F_202E_200C_202D_206A_200D_206C_202E_202E_206D_206A_206B_202B_206B_200F_206B_202E(chatGui2, defaultInterpolatedStringHandler2.ToStringAndClear(), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + return; } - else + case 5: + num = ((!_200F_206D_206E_206A_206B_206F_202C_206F_202B_206C_206E_200E_206D_200D_200D_206A_202E_200B_202C_200D_200D_200B_206B_202C_200C_206C_202D_206D_200B_200F_202B_206F_200F_206E_202A_206E_200E_206A_206A_202C_202E(arguments[0], ref elementId)) ? 618054138 : 618054136); + break; + case 8: { - _chatGui.PrintError($"Unknown quest {elementId}.", "Questionable", 576); + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-13913784)); + defaultInterpolatedStringHandler.AppendFormatted(elementId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-293246245)); + _200D_206D_200F_202B_200F_206F_200F_200B_206C_200B_202A_206C_202C_206D_202D_206A_200E_202A_202A_202E_202B_200E_200B_202A_202D_202E_200B_206A_206B_206E_202B_206A_206C_200E_206D_200C_200B_202E_200E_202D_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + return; + } + case 2: + { + IChatGui chatGui3 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(17, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(18748268)); + defaultInterpolatedStringHandler3.AppendFormatted(elementId); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-832519361)); + _200D_206D_200F_202B_200F_206F_200F_200B_206C_200B_202A_206C_202C_206D_202D_206A_200E_202A_202A_202E_202B_200E_200B_202A_202D_202E_200B_206A_206B_206E_202B_206A_206C_200E_206D_200C_200B_202E_200E_202D_202E(chatGui3, defaultInterpolatedStringHandler3.ToStringAndClear(), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + return; + } + case 7: + num = ((!_questFunctions.IsQuestLocked(elementId)) ? 618054143 : 618054142); + break; + case 4: + num = ((!_202C_202A_206C_202D_200E_202D_200F_202C_206B_200B_202C_206B_200C_202C_202D_202E_200D_200B_206E_206B_200E_200F_206F_202A_206E_206C_200B_202E_206B_206B_206B_202D_206E_200E_202E_206F_202E_206E_202E_202D_202E(elementId, (ElementId)null)) ? 618054138 : 618054139); + break; + case 0: + num = 618054137; + break; + case 6: + _questController.SetNextQuest(null); + _206A_206B_206E_202B_200B_202E_206F_206E_202C_202B_200D_200D_206C_200D_202A_206C_202A_206B_200E_200C_202C_206C_202D_200C_200F_202E_200C_202D_206A_200D_206C_202E_202E_206D_206A_206B_202B_206B_200F_206B_202E(_chatGui, global::_003CModule_003E._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(-925408437), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + return; } - } - else - { - _questController.SetNextQuest(null); - _chatGui.Print("Cleared next quest.", "Questionable", 576); } } + + void IDebugCommandHandler.Execute(string[] arguments) + { + //ILSpy generated this explicit interface implementation from .override directive in Execute + this.Execute(arguments); + } + + static bool _200F_206D_206E_206A_206B_206F_202C_206F_202B_206C_206E_200E_206D_200D_200D_206A_202E_200B_202C_200D_200D_200B_206B_202C_200C_206C_202D_206D_200B_200F_202B_206F_200F_206E_202A_206E_200E_206A_206A_202C_202E(string P_0, ref ElementId P_1) + { + return ElementId.TryFromString(P_0, out P_1); + } + + static bool _202C_202A_206C_202D_200E_202D_200F_202C_206B_200B_202C_206B_200C_202C_202D_202E_200D_200B_206E_206B_200E_200F_206F_202A_206E_206C_200B_202E_206B_206B_206B_202D_206E_200E_202E_206F_202E_206E_202E_202D_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static void _200D_206D_200F_202B_200F_206F_200F_200B_206C_200B_202A_206C_202C_206D_202D_206A_200E_202A_202A_202E_202B_200E_200B_202A_202D_202E_200B_206A_206B_206E_202B_206A_206C_200E_206D_200C_200B_202E_200E_202D_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static void _206A_206B_206E_202B_200B_202E_206F_206E_202C_202B_200D_200D_206C_200D_202A_206C_202A_206B_200E_200C_202C_206C_202D_200C_200F_202E_200C_202D_206A_200D_206C_202E_202E_206D_206A_206B_202B_206B_200F_206B_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } } diff --git a/Questionable/Questionable.Controller.DebugCommands/QuestKillsCommandHandler.cs b/Questionable/Questionable.Controller.DebugCommands/QuestKillsCommandHandler.cs index 72c9403f..ca96a700 100644 --- a/Questionable/Questionable.Controller.DebugCommands/QuestKillsCommandHandler.cs +++ b/Questionable/Questionable.Controller.DebugCommands/QuestKillsCommandHandler.cs @@ -1,6 +1,9 @@ +using System; +using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; +using System.Runtime.CompilerServices; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using Lumina.Excel; @@ -23,7 +26,14 @@ internal sealed class QuestKillsCommandHandler : IDebugCommandHandler private readonly IChatGui _chatGui; - public string CommandName => "quest-kills"; + public string CommandName + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(-882231323); + } + } public QuestKillsCommandHandler(QuestController questController, QuestFunctions questFunctions, IDataManager dataManager, IObjectTable objectTable, IChatGui chatGui) { @@ -34,187 +44,993 @@ internal sealed class QuestKillsCommandHandler : IDebugCommandHandler _chatGui = chatGui; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Execute(string[] arguments) { (QuestController.QuestProgress, QuestController.ECurrentQuestType)? currentQuestDetails = _questController.CurrentQuestDetails; - if (!currentQuestDetails.HasValue) + int num = (currentQuestDetails.HasValue ? (-2091724656) : (-2091724646)); + QuestController.QuestProgress item = default(QuestController.QuestProgress); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + QuestSequence questSequence = default(QuestSequence); + QuestProgressInfo questProgressInfo = default(QuestProgressInfo); + QuestId questId = default(QuestId); + QuestStep questStep = default(QuestStep); + string item2 = default(string); + uint current2 = default(uint); + byte b = default(byte); + byte? b3 = default(byte?); + byte? b2 = default(byte?); + int num14 = default(int); + int num15 = default(int); + QuestWorkValue questWorkValue = default(QuestWorkValue); + ComplexCombatData complexCombatData = default(ComplexCombatData); + string value = default(string); + uint current3 = default(uint); + string item3 = default(string); + int num18 = default(int); + int num24 = default(int); + string value5 = default(string); + BNpcName? bNpcName = default(BNpcName?); + string item4 = default(string); + int num26 = default(int); + int num25 = default(int); + ComplexCombatData complexCombatData2 = default(ComplexCombatData); + byte b8 = default(byte); + byte? b5 = default(byte?); + QuestWorkValue questWorkValue3 = default(QuestWorkValue); + bool flag = default(bool); + byte b4 = default(byte); + byte b6 = default(byte); + byte b7 = default(byte); + QuestWorkValue questWorkValue2 = default(QuestWorkValue); + string value4 = default(string); + string value6 = default(string); + while (true) { - _chatGui.PrintError("No active quest.", "Questionable", 576); - return; - } - QuestController.QuestProgress item = currentQuestDetails.Value.Item1; - Questionable.Model.Quest quest = item.Quest; - QuestProgressInfo questProgressInfo = null; - if (quest.Id is QuestId elementId) - { - questProgressInfo = _questFunctions.GetQuestProgressInfo(elementId); - } - if (questProgressInfo == null) - { - _chatGui.PrintError("Unable to retrieve quest progress information.", "Questionable", 576); - return; - } - QuestSequence questSequence = quest.FindSequence(item.Sequence); - if (questSequence == null) - { - _chatGui.PrintError($"Sequence {item.Sequence} not found for quest {quest.Id}.", "Questionable", 576); - return; - } - QuestStep questStep = ((item.Step < questSequence.Steps.Count) ? questSequence.Steps[item.Step] : null); - if (questStep == null) - { - _chatGui.PrintError($"Step {item.Step} not found in sequence {item.Sequence}.", "Questionable", 576); - return; - } - _chatGui.Print($"Quest: {quest.Info.Name} ({quest.Id})", "Questionable", 576); - _chatGui.Print($"Sequence: {item.Sequence}, Step: {item.Step}", "Questionable", 576); - _chatGui.Print("", "Questionable", 576); - _chatGui.Print("Quest Variables: " + string.Join(", ", questProgressInfo.Variables.Select((byte v, int i) => $"[{i}]={v}")), "Questionable", 576); - _chatGui.Print("", "Questionable", 576); - ExcelSheet bnpcNameSheet = _dataManager.GetExcelSheet(); - HashSet hashSet = new HashSet(questStep.KillEnemyDataIds); - foreach (ComplexCombatData complexCombatDatum in questStep.ComplexCombatData) - { - hashSet.Add(complexCombatDatum.DataId); - } - if (hashSet.Count > 0) - { - _chatGui.Print($"All Enemy DataIds Found: {hashSet.Count}", "Questionable", 576); - foreach (uint item3 in hashSet.OrderBy((uint x) => x)) + int num2 = num; + int num3 = -2091724647; + int num4 = num2; + object obj; + ExcelSheet bnpcNameSheet; + switch ((num4 | num3) - (num4 & num3)) { - (string Name, bool Found) tuple = GetEnemyName(item3); - var (value, _) = tuple; - if (tuple.Found) - { - _chatGui.Print($" - {value} (DataId: {item3})", "Questionable", 576); - } - else - { - _chatGui.Print($" - DataId: {item3}", "Questionable", 576); - } + case 5: + { + IChatGui chatGui10 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler11 = new DefaultInterpolatedStringHandler(31, 2); + defaultInterpolatedStringHandler11.AppendLiteral(global::_003CModule_003E._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(-998481792)); + defaultInterpolatedStringHandler11.AppendFormatted(item.Sequence); + defaultInterpolatedStringHandler11.AppendLiteral(global::_003CModule_003E._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(1605795825)); + defaultInterpolatedStringHandler11.AppendFormatted(quest.Id); + defaultInterpolatedStringHandler11.AppendLiteral(global::_003CModule_003E._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(-2093316539)); + _202B_200B_206E_206C_206E_202C_206B_202D_200D_202A_206A_200B_206E_206A_200D_200E_200D_200D_200E_200D_202E_200B_202D_202E_200E_200E_202A_202C_202B_200C_200F_200D_200C_202A_202E_202C_202A_200C_206F_206F_202E(chatGui10, defaultInterpolatedStringHandler11.ToStringAndClear(), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + return; } - _chatGui.Print("", "Questionable", 576); - } - if (questStep.ComplexCombatData.Count > 0) - { - _chatGui.Print($"Complex Combat Data Entries: {questStep.ComplexCombatData.Count}", "Questionable", 576); - _chatGui.Print("Kill Progress:", "Questionable", 576); - if (questStep.ComplexCombatData.Count == 1 && hashSet.Count > 1) + case 4: + num = ((item.Step < _206C_202A_206B_206B_206D_202A_200C_206A_202C_202B_202B_202E_206C_202D_200C_206F_206B_202C_200F_200D_206E_200B_202C_206A_206D_202C_200E_202B_202C_206C_206C_200E_202A_206C_202A_202B_200C_206D_206F_200C_202E(questSequence).Count) ? (-2091724642) : (-2091724655)); + break; + case 9: + item = currentQuestDetails.Value.Item1; + quest = item.Quest; + questProgressInfo = null; + questId = quest.Id as QuestId; + num = (((object)questId == null) ? (-2091724645) : (-2091724648)); + break; + case 7: + obj = _206C_202A_206B_206B_206D_202A_200C_206A_202C_202B_202B_202E_206C_202D_200C_206F_206B_202C_200F_200D_206E_200B_202C_206A_206D_202C_200E_202B_202C_206C_206C_200E_202A_206C_202A_202B_200C_206D_206F_200C_202E(questSequence)[item.Step]; + goto IL_0186; + case 0: + _202B_200B_206E_206C_206E_202C_206B_202D_200D_202A_206A_200B_206E_206A_200D_200E_200D_200D_200E_200D_202E_200B_202D_202E_200E_200E_202A_202C_202B_200C_200F_200D_200C_202A_202E_202C_202A_200C_206F_206F_202E(_chatGui, global::_003CModule_003E._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(1880590323), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + return; + case 2: + num = ((questProgressInfo != null) ? (-2091724651) : (-2091724647)); + break; + case 12: + questSequence = quest.FindSequence(item.Sequence); + num = ((questSequence != null) ? (-2091724643) : (-2091724644)); + break; + case 1: + questProgressInfo = _questFunctions.GetQuestProgressInfo(questId); + num = -2091724645; + break; + case 3: + _202B_200B_206E_206C_206E_202C_206B_202D_200D_202A_206A_200B_206E_206A_200D_200E_200D_200D_200E_200D_202E_200B_202D_202E_200E_200E_202A_202C_202B_200C_200F_200D_200C_202A_202E_202C_202A_200C_206F_206F_202E(_chatGui, global::_003CModule_003E._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(882400571), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + return; + case 6: + num = -2091724646; + break; + case 11: { - ComplexCombatData complexCombatData = questStep.ComplexCombatData[0]; - int num = -1; - byte? b = null; - for (int num2 = 0; num2 < complexCombatData.CompletionQuestVariablesFlags.Count; num2++) - { - QuestWorkValue questWorkValue = complexCombatData.CompletionQuestVariablesFlags[num2]; - if (questWorkValue != null && questWorkValue.Low.HasValue) - { - num = num2; - b = questWorkValue.Low; - break; - } - } - byte b2 = (byte)(((num >= 0 && num < questProgressInfo.Variables.Count) ? questProgressInfo.Variables[num] : 0) & 0xF); - string value2 = (b.HasValue ? $" {b2}/{b}" : ""); - string value3 = ((b.HasValue && b2 >= b) ? "✓" : "○"); - foreach (uint item4 in hashSet.OrderBy((uint x) => x)) - { - (string Name, bool Found) tuple3 = GetEnemyName(item4); - var (value4, _) = tuple3; - if (tuple3.Found) - { - _chatGui.Print($" {value3} Slay {value4}.{value2} (DataId: {item4})", "Questionable", 576); - } - else - { - _chatGui.Print($" {value3} Slay enemy.{value2} (DataId: {item4})", "Questionable", 576); - } - } + IChatGui chatGui9 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler10 = new DefaultInterpolatedStringHandler(29, 2); + defaultInterpolatedStringHandler10.AppendLiteral(global::_003CModule_003E._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(-965467699)); + defaultInterpolatedStringHandler10.AppendFormatted(item.Step); + defaultInterpolatedStringHandler10.AppendLiteral(global::_003CModule_003E._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(-1303781530)); + defaultInterpolatedStringHandler10.AppendFormatted(item.Sequence); + defaultInterpolatedStringHandler10.AppendLiteral(global::_003CModule_003E._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(-293246245)); + _202B_200B_206E_206C_206E_202C_206B_202D_200D_202A_206A_200B_206E_206A_200D_200E_200D_200D_200E_200D_202E_200B_202D_202E_200E_200E_202A_202C_202B_200C_200F_200D_200C_202A_202E_202C_202A_200C_206F_206F_202E(chatGui9, defaultInterpolatedStringHandler10.ToStringAndClear(), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + return; } - else - { - for (int num3 = 0; num3 < questStep.ComplexCombatData.Count; num3++) + case 8: + obj = null; + goto IL_0186; + case 10: { - ComplexCombatData complexCombatData2 = questStep.ComplexCombatData[num3]; - int num4 = -1; - byte? b3 = null; - bool flag = false; - for (int num5 = 0; num5 < complexCombatData2.CompletionQuestVariablesFlags.Count; num5++) + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1585494658)); + defaultInterpolatedStringHandler.AppendFormatted(quest.Info.Name); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1473546846)); + defaultInterpolatedStringHandler.AppendFormatted(quest.Id); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + IChatGui chatGui2 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(18, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1490060220)); + defaultInterpolatedStringHandler2.AppendFormatted(item.Sequence); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1683192731)); + defaultInterpolatedStringHandler2.AppendFormatted(item.Step); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(chatGui2, defaultInterpolatedStringHandler2.ToStringAndClear(), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(_chatGui, global::_003CModule_003E._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(-1694032531), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(_chatGui, _200C_200E_202E_206C_202B_200B_200D_206E_202A_206C_202B_200E_206D_206D_200D_206B_200B_202A_206C_202B_202C_200D_202D_200D_200F_202B_206F_202A_200D_206C_202B_206C_206F_200C_200E_200E_206A_206F_202D_202B_202E(global::_003CModule_003E._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(426079486), _202C_200D_202A_200B_200B_206F_200D_202E_200D_202D_200F_200D_206F_202A_200B_206B_206D_206F_200E_206A_206E_200F_206A_206E_200B_206A_206B_206E_200D_200E_202E_202B_200E_206E_202B_200C_202C_202B_202D_206F_202E(global::_003CModule_003E._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(1087086507), questProgressInfo.Variables.Select([MethodImpl(MethodImplOptions.NoInlining)] (byte v, int i) => { - QuestWorkValue questWorkValue2 = complexCombatData2.CompletionQuestVariablesFlags[num5]; - if (questWorkValue2 != null) + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler17 = new DefaultInterpolatedStringHandler(3, 2); + defaultInterpolatedStringHandler17.AppendLiteral(global::_003CModule_003E._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(1234830832)); + defaultInterpolatedStringHandler17.AppendFormatted(i); + defaultInterpolatedStringHandler17.AppendLiteral(global::_003CModule_003E._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(-534324276)); + defaultInterpolatedStringHandler17.AppendFormatted(v); + return defaultInterpolatedStringHandler17.ToStringAndClear(); + }))), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(_chatGui, global::_003CModule_003E._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(-87324410), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + bnpcNameSheet = _dataManager.GetExcelSheet(); + HashSet hashSet = new HashSet(_200E_200E_206F_200F_206C_200C_202C_206F_202B_200F_202B_202E_200B_206A_206E_200C_200D_206D_202E_202C_202C_200D_206D_206A_200F_206B_206F_200C_200D_206F_202E_202C_200E_200F_202B_200B_202B_202E_206A_202E(questStep)); + using (List.Enumerator enumerator = _200F_206E_200E_202A_202D_206F_202D_200F_202C_206B_200B_206B_200D_200E_200B_200D_206A_202D_200C_200D_202C_202D_206A_202A_206C_206C_200E_206C_202B_200E_206A_200D_202B_202C_202C_200F_200F_202B_200D_202B_202E(questStep).GetEnumerator()) + { + num = 199057681; + while (true) { - if (questWorkValue2.Low.HasValue) + int num5 = num; + num3 = 199057682; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) { - num4 = num5; - b3 = questWorkValue2.Low; - flag = false; + case 3: + num = (enumerator.MoveNext() ? 199057680 : 199057683); + break; + case 2: + { + ComplexCombatData current = enumerator.Current; + hashSet.Add(_200C_206A_206C_202B_202E_206F_206C_202C_200B_202A_202C_200F_200B_202E_200F_202A_206C_206F_206E_200C_202D_200B_200C_200C_202D_200E_200F_202A_206F_200C_206B_200E_200D_200F_206B_206F_200C_206E_206C_206F_202E(current)); + num = 199057681; break; } - if (questWorkValue2.High.HasValue) + case 0: + num = 199057681; + break; + case 1: + goto end_IL_04ee; + } + continue; + end_IL_04ee: + break; + } + } + if (hashSet.Count > 0) + { + IChatGui chatGui3 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(25, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-102593290)); + defaultInterpolatedStringHandler3.AppendFormatted(hashSet.Count); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(chatGui3, defaultInterpolatedStringHandler3.ToStringAndClear(), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + IEnumerator enumerator2 = hashSet.OrderBy((uint x) => x).GetEnumerator(); + try + { + num = 1388776285; + while (true) { - num4 = num5; - b3 = questWorkValue2.High; - flag = true; + int num6 = num; + num3 = 1388776281; + num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1388776285; + break; + case 1: + { + IChatGui chatGui4 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(15, 2); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(-302791330)); + defaultInterpolatedStringHandler4.AppendFormatted(item2); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(600656782)); + defaultInterpolatedStringHandler4.AppendFormatted(current2); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(424561659)); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(chatGui4, defaultInterpolatedStringHandler4.ToStringAndClear(), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + num = 1388776285; + break; + } + case 3: + { + current2 = enumerator2.Current; + (string Name, bool Found) tuple = GetEnemyName(current2); + item2 = tuple.Name; + num = ((!tuple.Found) ? 1388776283 : 1388776280); + break; + } + case 2: + { + IChatGui chatGui5 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler5 = new DefaultInterpolatedStringHandler(12, 1); + defaultInterpolatedStringHandler5.AppendLiteral(global::_003CModule_003E._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(500943606)); + defaultInterpolatedStringHandler5.AppendFormatted(current2); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(chatGui5, defaultInterpolatedStringHandler5.ToStringAndClear(), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + num = 1388776285; + break; + } + case 4: + num = (_206D_202D_202A_202A_200B_206C_200D_206B_206F_200F_206C_202B_200C_206E_200F_200D_200C_206E_206C_200C_200C_202D_200F_202D_202D_202A_202B_206D_206D_200C_202B_206A_200B_200F_200B_200C_202D_200B_206B_200C_202E((IEnumerator)enumerator2) ? 1388776282 : 1388776284); + break; + case 5: + goto end_IL_061d; + } + continue; + end_IL_061d: break; } } + finally + { + num = ((enumerator2 == null) ? 166814860 : 166814863); + while (true) + { + int num7 = num; + num3 = 166814862; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 166814863; + break; + case 2: + goto end_IL_07bd; + case 1: + _202E_206E_200F_206E_202A_206A_200F_206F_200B_206F_206D_200D_202A_200D_202E_206E_206A_206A_206A_202B_200E_200C_202D_200E_202D_206E_200B_206A_206F_206B_206A_202D_206F_206B_200B_200D_200D_202B_202A_206F_202E((IDisposable)enumerator2); + num = 166814860; + break; + } + continue; + end_IL_07bd: + break; + } + } + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(_chatGui, global::_003CModule_003E._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(-1720149641), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); } - byte b4 = (byte)((num4 >= 0 && num4 < questProgressInfo.Variables.Count) ? questProgressInfo.Variables[num4] : 0); - byte b5 = (flag ? ((byte)(b4 >> 4)) : ((byte)(b4 & 0xF))); - string value5; - if (complexCombatData2.NameId.HasValue) + if (_200F_206E_200E_202A_202D_206F_202D_200F_202C_206B_200B_206B_200D_200E_200B_200D_206A_202D_200C_200D_202C_202D_206A_202A_206C_206C_200E_206C_202B_200E_206A_200D_202B_202C_202C_200F_200F_202B_200D_202B_202E(questStep).Count > 0) { - BNpcName? bNpcName = bnpcNameSheet?.GetRowOrDefault(complexCombatData2.NameId.Value); - value5 = ((!bNpcName.HasValue || string.IsNullOrEmpty(bNpcName.Value.Singular.ToString())) ? "enemy" : bNpcName.Value.Singular.ToString()); + num = 974555832; + while (true) + { + int num8 = num; + num3 = 974555816; + num4 = num8; + string text; + int num13; + string text2; + string value2; + IEnumerator enumerator2; + switch ((num4 | num3) - (num4 & num3)) + { + case 12: + goto IL_08bc; + case 11: + { + byte num17 = b; + b3 = b2; + if (num17 >= b3) + { + num = 974555816; + break; + } + goto case 17; + } + case 9: + num14 = num15; + b2 = _200C_206D_200E_206B_202D_206E_206B_200C_206D_202D_202D_200B_206D_202D_200C_200F_206B_206F_200F_200D_202C_202B_206A_206D_200E_206A_206D_200D_200F_200D_200B_202D_206E_206B_202E_202C_206C_202D_202A_202E_202E(questWorkValue); + num = 974555812; + break; + case 1: + text = global::_003CModule_003E._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(-1522766800); + goto IL_0c16; + case 5: + goto IL_0964; + case 10: + num13 = 0; + goto IL_0a25; + case 6: + { + int num16 = num15; + num3 = 1; + num4 = num16; + num15 = (num4 | num3) + (num4 & num3); + num = 974555821; + break; + } + case 13: + goto IL_09c1; + case 18: + complexCombatData = _200F_206E_200E_202A_202D_206F_202D_200F_202C_206B_200B_206B_200D_200E_200B_200D_206A_202D_200C_200D_202C_202D_206A_202A_206C_206C_200E_206C_202B_200E_206A_200D_202B_202C_202C_200F_200F_202B_200D_202B_202E(questStep)[0]; + num14 = -1; + b2 = null; + num15 = 0; + num = 974555821; + break; + case 2: + num13 = questProgressInfo.Variables[num14]; + goto IL_0a25; + case 17: + num = 974555817; + break; + case 4: + text2 = global::_003CModule_003E._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(-87324410); + goto IL_0acc; + case 8: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler6 = new DefaultInterpolatedStringHandler(2, 2); + defaultInterpolatedStringHandler6.AppendLiteral(global::_003CModule_003E._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(-1051702537)); + defaultInterpolatedStringHandler6.AppendFormatted(b); + defaultInterpolatedStringHandler6.AppendLiteral(global::_003CModule_003E._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(-70733513)); + defaultInterpolatedStringHandler6.AppendFormatted(b2); + text2 = defaultInterpolatedStringHandler6.ToStringAndClear(); + goto IL_0acc; + } + case 7: + goto IL_0af2; + case 14: + num = 974555832; + break; + case 16: + goto IL_0b17; + case 3: + goto IL_0bb2; + case 15: + goto IL_0be1; + case 0: + { + text = global::_003CModule_003E._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(-557889982); + goto IL_0c16; + } + IL_0acc: + value = text2; + num = ((!b2.HasValue) ? 974555833 : 974555811); + break; + IL_0c16: + value2 = text; + enumerator2 = hashSet.OrderBy((uint x) => x).GetEnumerator(); + try + { + num = 180586777; + while (true) + { + int num9 = num; + num3 = 180586780; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 0: + { + IChatGui chatGui7 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler8 = new DefaultInterpolatedStringHandler(25, 3); + defaultInterpolatedStringHandler8.AppendLiteral(global::_003CModule_003E._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(-2047193429)); + defaultInterpolatedStringHandler8.AppendFormatted(value2); + defaultInterpolatedStringHandler8.AppendLiteral(global::_003CModule_003E._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(-1785539984)); + defaultInterpolatedStringHandler8.AppendFormatted(value); + defaultInterpolatedStringHandler8.AppendLiteral(global::_003CModule_003E._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(-1864270054)); + defaultInterpolatedStringHandler8.AppendFormatted(current3); + defaultInterpolatedStringHandler8.AppendLiteral(global::_003CModule_003E._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(555647321)); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(chatGui7, defaultInterpolatedStringHandler8.ToStringAndClear(), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + num = 180586777; + break; + } + case 2: + { + IChatGui chatGui6 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler7 = new DefaultInterpolatedStringHandler(20, 4); + defaultInterpolatedStringHandler7.AppendLiteral(global::_003CModule_003E._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(244795324)); + defaultInterpolatedStringHandler7.AppendFormatted(value2); + defaultInterpolatedStringHandler7.AppendLiteral(global::_003CModule_003E._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(722906616)); + defaultInterpolatedStringHandler7.AppendFormatted(item3); + defaultInterpolatedStringHandler7.AppendLiteral(global::_003CModule_003E._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(-2093316539)); + defaultInterpolatedStringHandler7.AppendFormatted(value); + defaultInterpolatedStringHandler7.AppendLiteral(global::_003CModule_003E._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(600656782)); + defaultInterpolatedStringHandler7.AppendFormatted(current3); + defaultInterpolatedStringHandler7.AppendLiteral(global::_003CModule_003E._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(1618480346)); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(chatGui6, defaultInterpolatedStringHandler7.ToStringAndClear(), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + num = 180586777; + break; + } + case 1: + { + current3 = enumerator2.Current; + (string Name, bool Found) tuple2 = GetEnemyName(current3); + item3 = tuple2.Name; + num = ((!tuple2.Found) ? 180586780 : 180586782); + break; + } + case 5: + num = (_206D_202D_202A_202A_200B_206C_200D_206B_206F_200F_206C_202B_200C_206E_200F_200D_200C_206E_206C_200C_200C_202D_200F_202D_202D_202A_202B_206D_206D_200C_202B_206A_200B_200F_200B_200C_202D_200B_206B_200C_202E((IEnumerator)enumerator2) ? 180586781 : 180586776); + break; + case 3: + num = 180586777; + break; + case 4: + goto end_IL_0c54; + } + continue; + end_IL_0c54: + break; + } + } + finally + { + num = ((enumerator2 == null) ? (-170666151) : (-170666150)); + while (true) + { + int num12 = num; + num3 = -170666152; + num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_0e6f; + case 2: + _202E_206E_200F_206E_202A_206A_200F_206F_200B_206F_206D_200D_202A_200D_202E_206E_206A_206A_206A_202B_200E_200C_202D_200E_202D_206E_200B_206A_206F_206B_206A_202D_206F_206B_200B_200D_200D_202B_202A_206F_202E((IDisposable)enumerator2); + num = -170666151; + break; + case 0: + num = -170666150; + break; + } + continue; + end_IL_0e6f: + break; + } + } + goto end_IL_0850; + IL_0a25: + b = (byte)(num13 & 0xF); + num = (b2.HasValue ? 974555808 : 974555820); + break; + } + continue; + IL_0be1: + num = ((num14 < questProgressInfo.Variables.Count) ? 974555818 : 974555810); + continue; + IL_0964: + num = ((num15 < _200B_206F_206B_200E_202A_202E_202B_200C_200F_206E_202A_200E_202A_202E_200F_200C_206A_206F_206D_200D_200F_202C_200F_202B_206D_200C_202D_206B_202B_206D_200B_206E_202C_202C_200D_200C_200D_202C_202B_200F_202E(complexCombatData).Count) ? 974555819 : 974555812); + continue; + IL_0af2: + if (hashSet.Count > 1) + { + num = 974555834; + continue; + } + goto IL_0ebb; + IL_0bb2: + questWorkValue = _200B_206F_206B_200E_202A_202E_202B_200C_200F_206E_202A_200E_202A_202E_200F_200C_206A_206F_206D_200D_200F_202C_200F_202B_206D_200C_202D_206B_202B_206D_200B_206E_202C_202C_200D_200C_200D_202C_202B_200F_202E(complexCombatData)[num15]; + num = ((questWorkValue == null) ? 974555822 : 974555813); + continue; + IL_08bc: + num = ((num14 < 0) ? 974555810 : 974555815); + continue; + IL_09c1: + b3 = _200C_206D_200E_206B_202D_206E_206B_200C_206D_202D_202D_200B_206D_202D_200C_200F_206B_206F_200F_200D_202C_202B_206A_206D_200E_206A_206D_200D_200F_200D_200B_202D_206E_206B_202E_202C_206C_202D_202A_202E_202E(questWorkValue); + num = ((!b3.HasValue) ? 974555822 : 974555809); + continue; + IL_0b17: + IChatGui chatGui8 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler9 = new DefaultInterpolatedStringHandler(29, 1); + defaultInterpolatedStringHandler9.AppendLiteral(global::_003CModule_003E._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(-658090933)); + defaultInterpolatedStringHandler9.AppendFormatted(_200F_206E_200E_202A_202D_206F_202D_200F_202C_206B_200B_206B_200D_200E_200B_200D_206A_202D_200C_200D_202C_202D_206A_202A_206C_206C_200E_206C_202B_200E_206A_200D_202B_202C_202C_200F_200F_202B_200D_202B_202E(questStep).Count); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(chatGui8, defaultInterpolatedStringHandler9.ToStringAndClear(), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(_chatGui, global::_003CModule_003E._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(831519376), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + if (_200F_206E_200E_202A_202D_206F_202D_200F_202C_206B_200B_206B_200D_200E_200B_200D_206A_202D_200C_200D_202C_202D_206A_202A_206C_206C_200E_206C_202B_200E_206A_200D_202B_202C_202C_200F_200F_202B_200D_202B_202E(questStep).Count == 1) + { + num = 974555823; + continue; + } + goto IL_0ebb; + continue; + end_IL_0850: + break; + } + goto IL_15ce; } - else + if (_200E_200E_206F_200F_206C_200C_202C_206F_202B_200F_202B_202E_200B_206A_206E_200C_200D_206D_202E_202C_202C_200D_206D_206A_200F_206B_206F_200C_200D_206F_202E_202C_200E_200F_202B_200B_202B_202E_206A_202E(questStep).Count == 0) { - (string Name, bool Found) tuple5 = GetEnemyName(complexCombatData2.DataId); - string item2 = tuple5.Name; - value5 = (tuple5.Found ? item2 : "enemy"); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(_chatGui, global::_003CModule_003E._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(-1983270106), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(_chatGui, global::_003CModule_003E._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(-1720149641), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + num = 1524603349; + goto IL_0eca; } - string value6 = (b3.HasValue ? $" {b5}/{b3}" : ""); - string value7 = ((b3.HasValue && b5 >= b3) ? "✓" : "○"); - string value8 = (complexCombatData2.NameId.HasValue ? $" (DataId: {complexCombatData2.DataId}, NameId: {complexCombatData2.NameId})" : $" (DataId: {complexCombatData2.DataId})"); - _chatGui.Print($" {value7} Slay {value5}.{value6}{value8}", "Questionable", 576); + goto IL_18fe; } - } - _chatGui.Print("", "Questionable", 576); - } - else if (questStep.KillEnemyDataIds.Count == 0) - { - _chatGui.Print("No kill enemy data for this step.", "Questionable", 576); - _chatGui.Print("", "Questionable", 576); - } - if (questStep.CompletionQuestVariablesFlags.Count <= 0 || !questStep.CompletionQuestVariablesFlags.Any((QuestWorkValue x) => x != null)) - { - return; - } - _chatGui.Print("Completion Flags (Debug):", "Questionable", 576); - for (int num6 = 0; num6 < questStep.CompletionQuestVariablesFlags.Count; num6++) - { - QuestWorkValue questWorkValue3 = questStep.CompletionQuestVariablesFlags[num6]; - if (questWorkValue3 != null) - { - int num7 = ((num6 < questProgressInfo.Variables.Count) ? questProgressInfo.Variables[num6] : 0); - byte b6 = (byte)(num7 >> 4); - byte b7 = (byte)(num7 & 0xF); - string value9 = (((!questWorkValue3.High.HasValue || questWorkValue3.High == b6) && (!questWorkValue3.Low.HasValue || questWorkValue3.Low == b7)) ? " ✓" : " ✗"); - _chatGui.Print($" [{num6}] Expected: H={questWorkValue3.High?.ToString(CultureInfo.InvariantCulture) ?? "any"} L={questWorkValue3.Low?.ToString(CultureInfo.InvariantCulture) ?? "any"} | Actual: H={b6.ToString(CultureInfo.InvariantCulture)} L={b7.ToString(CultureInfo.InvariantCulture)}{value9}", "Questionable", 576); - } - } - (string Name, bool Found) GetEnemyName(uint dataId) - { - if (_objectTable.FirstOrDefault((IGameObject x) => x is IBattleNpc battleNpc2 && battleNpc2.BaseId == dataId) is IBattleNpc { NameId: not 0u } battleNpc) - { - BNpcName? bNpcName2 = bnpcNameSheet?.GetRowOrDefault(battleNpc.NameId); - if (bNpcName2.HasValue && !string.IsNullOrEmpty(bNpcName2.Value.Singular.ToString())) + IL_15ce: + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(_chatGui, global::_003CModule_003E._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(-1720149641), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + goto IL_18fe; + IL_0186: + questStep = (QuestStep)obj; + num = ((questStep != null) ? (-2091724653) : (-2091724654)); + break; + IL_0ebb: + num18 = 0; + num = 1524603363; + goto IL_0eca; + IL_18fe: + num = ((_200F_206E_202D_206C_206B_206F_202B_200E_200C_202C_200E_206E_200F_206E_200B_202C_206A_202C_202D_200F_206D_202D_206C_206E_202E_206A_202B_202D_202A_206F_202D_200D_202E_200D_206A_206C_202A_200C_202C_202E(questStep).Count <= 0) ? 1524603368 : 1524603367); + goto IL_0eca; + IL_0eca: + while (true) { - return (Name: bNpcName2.Value.Singular.ToString(), Found: true); + int num19 = num; + num3 = 1524603367; + num4 = num19; + int num20 = num4 + num3; + int num21 = num4 & num3; + int num23; + int? obj2; + int? obj3; + string text5; + string text6; + string text7; + int num28; + string text4; + string text3; + int num27; + string value3; + IChatGui chatGui11; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler15; + int num33; + string value7; + IChatGui chatGui12; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler16; + switch (num20 - (num21 + num21)) + { + case 7: + goto IL_0fbc; + case 51: + num23 = questProgressInfo.Variables[num24]; + goto IL_0ff7; + case 47: + value5 = bNpcName.Value.Singular.ToString(); + num = 1524603334; + break; + case 36: + obj2 = null; + goto IL_16a2; + case 44: + goto IL_1078; + case 42: + obj3 = b3.GetValueOrDefault(); + goto IL_10a4; + case 16: + text5 = global::_003CModule_003E._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(1281927779); + goto IL_186a; + case 12: + obj3 = null; + goto IL_10a4; + case 9: + value5 = global::_003CModule_003E._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(-163993857); + num = 1524603334; + break; + case 5: + text6 = item4; + goto IL_112a; + case 49: + goto IL_1138; + case 10: + text7 = global::_003CModule_003E._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(1061070267); + goto IL_118a; + case 1: + text7 = global::_003CModule_003E._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(-1706582457); + goto IL_118a; + case 4: + goto IL_12e5; + case 48: + goto IL_1310; + case 18: + { + int num34 = num26; + num3 = 1; + num4 = num34; + num26 = (num4 | num3) + (num4 & num3); + num = 1524603332; + break; + } + case 45: + goto IL_135b; + case 27: + num28 = questProgressInfo.Variables[num25]; + goto IL_1398; + case 14: + text4 = global::_003CModule_003E._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(-971719931); + goto IL_13c3; + case 38: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler14 = new DefaultInterpolatedStringHandler(21, 2); + defaultInterpolatedStringHandler14.AppendLiteral(global::_003CModule_003E._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(54370243)); + defaultInterpolatedStringHandler14.AppendFormatted(_200C_206A_206C_202B_202E_206F_206C_202C_200B_202A_202C_200F_200B_202E_200F_202A_206C_206F_206E_200C_202D_200B_200C_200C_202D_200E_200F_202A_206F_200C_206B_200E_200D_200F_206B_206F_200C_206E_206C_206F_202E(complexCombatData2)); + defaultInterpolatedStringHandler14.AppendLiteral(global::_003CModule_003E._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(1194311042)); + defaultInterpolatedStringHandler14.AppendFormatted(_200B_202C_200C_206C_202B_202B_200C_200D_206C_202D_206A_206E_202B_206E_200E_206A_202B_202E_202D_206C_200B_202D_200E_206D_202B_200E_206A_206F_206C_206D_202B_202D_200F_202D_200D_206C_200E_200C_202D_200F_202E(complexCombatData2)); + defaultInterpolatedStringHandler14.AppendLiteral(global::_003CModule_003E._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(1618480346)); + text3 = defaultInterpolatedStringHandler14.ToStringAndClear(); + goto IL_1452; + } + case 23: + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(_chatGui, global::_003CModule_003E._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(1454492371), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + num24 = 0; + num = 1524603343; + break; + case 22: + text6 = global::_003CModule_003E._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(44675168); + goto IL_112a; + case 3: + { + byte num32 = b8; + num3 = 15; + num4 = num32; + num27 = (byte)(num4 + num3 - (num4 | num3)); + goto IL_17cc; + } + case 11: + num = 1524603363; + break; + case 29: + { + int num29 = num24; + num3 = 1; + num4 = num29; + int num30 = num4 ^ num3; + int num31 = num4 & num3; + num24 = num30 + (num31 + num31); + num = 1524603343; + break; + } + case 46: + goto IL_15a1; + case 21: + goto end_IL_0eca; + case 24: + goto IL_166b; + case 43: + obj2 = b3.GetValueOrDefault(); + goto IL_16a2; + case 15: + return; + case 26: + num = 1524603328; + break; + case 34: + num28 = 0; + goto IL_1398; + case 28: + num25 = num26; + b5 = _202D_200B_206F_206C_202C_202B_206D_202E_202A_202A_200B_202C_202B_200D_202B_202C_202A_206B_200E_206B_206C_206D_206E_206F_206E_200C_206D_206C_206B_200F_206D_202A_202A_200D_202D_200E_206C_202A_206A_206A_202E(questWorkValue3); + flag = true; + num = 1524603339; + break; + case 37: + num23 = 0; + goto IL_0ff7; + case 31: + goto IL_1737; + case 2: + goto IL_178e; + case 17: + num27 = (byte)(b8 >> 4); + goto IL_17cc; + case 35: + goto IL_17fb; + case 20: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler13 = new DefaultInterpolatedStringHandler(2, 2); + defaultInterpolatedStringHandler13.AppendLiteral(global::_003CModule_003E._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(751790982)); + defaultInterpolatedStringHandler13.AppendFormatted(b4); + defaultInterpolatedStringHandler13.AppendLiteral(global::_003CModule_003E._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(-1392036559)); + defaultInterpolatedStringHandler13.AppendFormatted(b5); + text5 = defaultInterpolatedStringHandler13.ToStringAndClear(); + goto IL_186a; + } + case 8: + goto IL_1890; + case 32: + complexCombatData2 = _200F_206E_200E_202A_202D_206F_202D_200F_202C_206B_200B_206B_200D_200E_200B_200D_206A_202D_200C_200D_202C_202D_206A_202A_206C_206C_200E_206C_202B_200E_206A_200D_202B_202C_202C_200F_200F_202B_200D_202B_202E(questStep)[num18]; + num25 = -1; + b5 = null; + flag = false; + num26 = 0; + num = 1524603332; + break; + case 50: + goto IL_18fe; + case 6: + num25 = num26; + b5 = _200C_206D_200E_206B_202D_206E_206B_200C_206D_202D_202D_200B_206D_202D_200C_200F_206B_206F_200F_200D_202C_202B_206A_206D_200E_206A_206D_200D_200F_200D_200B_202D_206E_206B_202E_202C_206C_202D_202A_202E_202E(questWorkValue3); + flag = false; + num = 1524603339; + break; + case 0: + goto IL_1944; + case 39: + text4 = global::_003CModule_003E._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(-1070075457); + goto IL_13c3; + case 13: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler12 = new DefaultInterpolatedStringHandler(11, 1); + defaultInterpolatedStringHandler12.AppendLiteral(global::_003CModule_003E._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(821000004)); + defaultInterpolatedStringHandler12.AppendFormatted(_200C_206A_206C_202B_202E_206F_206C_202C_200B_202A_202C_200F_200B_202E_200F_202A_206C_206F_206E_200C_202D_200B_200C_200C_202D_200E_200F_202A_206F_200C_206B_200E_200D_200F_206B_206F_200C_206E_206C_206F_202E(complexCombatData2)); + defaultInterpolatedStringHandler12.AppendLiteral(global::_003CModule_003E._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(424561659)); + text3 = defaultInterpolatedStringHandler12.ToStringAndClear(); + goto IL_1452; + } + case 40: + goto IL_19fc; + case 33: + goto IL_1a27; + case 19: + goto IL_1a4b; + case 41: + goto IL_1a78; + case 25: + { + byte num22 = b4; + b3 = b5; + if (num22 >= b3) + { + num = 1524603369; + break; + } + goto case 26; + } + case 30: + goto IL_1af9; + IL_16a2: + num = ((obj2 != b6) ? 1524603373 : 1524603350); + break; + IL_10a4: + num = ((obj3 == b7) ? 1524603366 : 1524603373); + break; + IL_0ff7: + b6 = (byte)(num23 >> 4); + b7 = (byte)(num23 & 0xF); + b3 = _202D_200B_206F_206C_202C_202B_206D_202E_202A_202A_200B_202C_202B_200D_202B_202C_202A_206B_200E_206B_206C_206D_206E_206F_206E_200C_206D_206C_206B_200F_206D_202A_202A_200D_202D_200E_206C_202A_206A_206A_202E(questWorkValue2); + num = ((!b3.HasValue) ? 1524603350 : 1524603342); + break; + IL_17cc: + b4 = (byte)num27; + num = ((!_200B_202C_200C_206C_202B_202B_200C_200D_206C_202D_206A_206E_202B_206E_200E_206A_202B_202E_202D_206C_200B_202D_200E_206D_202B_200E_206A_206F_206C_206D_202B_202D_200F_202D_200D_206C_200E_200C_202D_200F_202E(complexCombatData2).HasValue) ? 1524603365 : 1524603384); + break; + IL_1452: + value3 = text3; + chatGui11 = _chatGui; + defaultInterpolatedStringHandler15 = new DefaultInterpolatedStringHandler(9, 4); + defaultInterpolatedStringHandler15.AppendLiteral(global::_003CModule_003E._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(-616133030)); + defaultInterpolatedStringHandler15.AppendFormatted(value4); + defaultInterpolatedStringHandler15.AppendLiteral(global::_003CModule_003E._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(-1549383798)); + defaultInterpolatedStringHandler15.AppendFormatted(value5); + defaultInterpolatedStringHandler15.AppendLiteral(global::_003CModule_003E._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(-293246245)); + defaultInterpolatedStringHandler15.AppendFormatted(value6); + defaultInterpolatedStringHandler15.AppendFormatted(value3); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(chatGui11, defaultInterpolatedStringHandler15.ToStringAndClear(), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + num33 = num18; + num3 = 1; + num4 = num33; + num18 = (num4 | num3) + (num4 & num3); + num = 1524603363; + break; + IL_13c3: + value4 = text4; + num = (_200B_202C_200C_206C_202B_202B_200C_200D_206C_202D_206A_206E_202B_206E_200E_206A_202B_202E_202D_206C_200B_202D_200E_206D_202B_200E_206A_206F_206C_206D_202B_202D_200F_202D_200D_206C_200E_200C_202D_200F_202E(complexCombatData2).HasValue ? 1524603329 : 1524603370); + break; + IL_1398: + b8 = (byte)num28; + num = (flag ? 1524603382 : 1524603364); + break; + IL_112a: + value5 = text6; + num = 1524603334; + break; + IL_118a: + value7 = text7; + chatGui12 = _chatGui; + defaultInterpolatedStringHandler16 = new DefaultInterpolatedStringHandler(36, 6); + defaultInterpolatedStringHandler16.AppendLiteral(global::_003CModule_003E._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(1298792990)); + defaultInterpolatedStringHandler16.AppendFormatted(num24); + defaultInterpolatedStringHandler16.AppendLiteral(global::_003CModule_003E._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(-97652402)); + defaultInterpolatedStringHandler16.AppendFormatted(_202D_200B_206F_206C_202C_202B_206D_202E_202A_202A_200B_202C_202B_200D_202B_202C_202A_206B_200E_206B_206C_206D_206E_206F_206E_200C_206D_206C_206B_200F_206D_202A_202A_200D_202D_200E_206C_202A_206A_206A_202E(questWorkValue2)?.ToString(_206E_202D_206F_200C_206F_202C_206B_200F_200B_206B_206A_200F_200F_206F_202B_200E_202A_206A_206B_206E_202D_200B_202D_202A_200F_206B_206B_206D_206D_202E_200D_200C_206C_206A_206A_200F_206E_206B_202B_202E()) ?? global::_003CModule_003E._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(-575051895)); + defaultInterpolatedStringHandler16.AppendLiteral(global::_003CModule_003E._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(-1233946670)); + b3 = _200C_206D_200E_206B_202D_206E_206B_200C_206D_202D_202D_200B_206D_202D_200C_200F_206B_206F_200F_200D_202C_202B_206A_206D_200E_206A_206D_200D_200F_200D_200B_202D_206E_206B_202E_202C_206C_202D_202A_202E_202E(questWorkValue2); + defaultInterpolatedStringHandler16.AppendFormatted(b3?.ToString(_206E_202D_206F_200C_206F_202C_206B_200F_200B_206B_206A_200F_200F_206F_202B_200E_202A_206A_206B_206E_202D_200B_202D_202A_200F_206B_206B_206D_206D_202E_200D_200C_206C_206A_206A_200F_206E_206B_202B_202E()) ?? global::_003CModule_003E._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(351843544)); + defaultInterpolatedStringHandler16.AppendLiteral(global::_003CModule_003E._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(1790161765)); + defaultInterpolatedStringHandler16.AppendFormatted(b6.ToString(_206E_202D_206F_200C_206F_202C_206B_200F_200B_206B_206A_200F_200F_206F_202B_200E_202A_206A_206B_206E_202D_200B_202D_202A_200F_206B_206B_206D_206D_202E_200D_200C_206C_206A_206A_200F_206E_206B_202B_202E())); + defaultInterpolatedStringHandler16.AppendLiteral(global::_003CModule_003E._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(389824923)); + defaultInterpolatedStringHandler16.AppendFormatted(b7.ToString(_206E_202D_206F_200C_206F_202C_206B_200F_200B_206B_206A_200F_200F_206F_202B_200E_202A_206A_206B_206E_202D_200B_202D_202A_200F_206B_206B_206D_206D_202E_200D_200C_206C_206A_206A_200F_206E_206B_202B_202E())); + defaultInterpolatedStringHandler16.AppendFormatted(value7); + _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(chatGui12, defaultInterpolatedStringHandler16.ToStringAndClear(), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + num = 1524603386; + break; + IL_186a: + value6 = text5; + num = ((!b5.HasValue) ? 1524603389 : 1524603390); + break; + } + continue; + IL_1af9: + questWorkValue2 = _200F_206E_202D_206C_206B_206F_202B_200E_200C_202C_200E_206E_200F_206E_200B_202C_206A_202C_202D_200F_206D_202D_206C_206E_202E_206A_202B_202D_202A_206F_202D_200D_202E_200D_206A_206C_202A_200C_202C_202E(questStep)[num24]; + num = ((questWorkValue2 == null) ? 1524603386 : 1524603351); + continue; + IL_0fbc: + b3 = _202D_200B_206F_206C_202C_202B_206D_202E_202A_202A_200B_202C_202B_200D_202B_202C_202A_206B_200E_206B_206C_206D_206E_206F_206E_200C_206D_206C_206B_200F_206D_202A_202A_200D_202D_200E_206C_202A_206A_206A_202E(questWorkValue3); + num = ((!b3.HasValue) ? 1524603381 : 1524603387); + continue; + IL_1138: + b3 = _200C_206D_200E_206B_202D_206E_206B_200C_206D_202D_202D_200B_206D_202D_200C_200F_206B_206F_200F_200D_202C_202B_206A_206D_200E_206A_206D_200D_200F_200D_200B_202D_206E_206B_202E_202C_206C_202D_202A_202E_202E(questWorkValue2); + num = ((!b3.HasValue) ? 1524603366 : 1524603337); + continue; + IL_1a78: + b3 = _202D_200B_206F_206C_202C_202B_206D_202E_202A_202A_200B_202C_202B_200D_202B_202C_202A_206B_200E_206B_206C_206D_206E_206F_206E_200C_206D_206C_206B_200F_206D_202A_202A_200D_202D_200E_206C_202A_206A_206A_202E(questWorkValue2); + num = (b3.HasValue ? 1524603340 : 1524603331); + continue; + IL_1890: + num = (_206D_200C_200E_200B_200B_202E_206C_200E_200B_206D_206E_202C_202C_206F_202A_202C_200B_200E_200D_206E_206D_202C_202A_202A_206E_200B_200C_202C_202C_206B_206E_202D_200B_200C_202E_206D_202B_206A_202B_200D_202E(bNpcName.Value.Singular.ToString()) ? 1524603374 : 1524603336); + continue; + IL_15a1: + b3 = _200C_206D_200E_206B_202D_206E_206B_200C_206D_202D_202D_200B_206D_202D_200C_200F_206B_206F_200F_200D_202C_202B_206A_206D_200E_206A_206D_200D_200F_200D_200B_202D_206E_206B_202E_202C_206C_202D_202A_202E_202E(questWorkValue2); + num = (b3.HasValue ? 1524603341 : 1524603371); + continue; + IL_1a4b: + b3 = _200C_206D_200E_206B_202D_206E_206B_200C_206D_202D_202D_200B_206D_202D_200C_200F_206B_206F_200F_200D_202C_202B_206A_206D_200E_206A_206D_200D_200F_200D_200B_202D_206E_206B_202E_202C_206C_202D_202A_202E_202E(questWorkValue3); + num = ((!b3.HasValue) ? 1524603360 : 1524603361); + continue; + IL_135b: + questWorkValue3 = _200B_206F_206B_200E_202A_202E_202B_200C_200F_206E_202A_200E_202A_202E_200F_200C_206A_206F_206D_200D_200F_202C_200F_202B_206D_200C_202D_206B_202B_206D_200B_206E_202C_202C_200D_200C_200D_202C_202B_200F_202E(complexCombatData2)[num26]; + num = ((questWorkValue3 == null) ? 1524603381 : 1524603380); + continue; + IL_17fb: + num = ((num26 < _200B_206F_206B_200E_202A_202E_202B_200C_200F_206E_202A_200E_202A_202E_200F_200C_206A_206F_206D_200D_200F_202C_200F_202B_206D_200C_202D_206B_202B_206D_200B_206E_202C_202C_200D_200C_200D_202C_202B_200F_202E(complexCombatData2).Count) ? 1524603338 : 1524603339); + continue; + IL_1a27: + num = (b5.HasValue ? 1524603379 : 1524603383); + continue; + IL_12e5: + num = ((num18 < _200F_206E_200E_202A_202D_206F_202D_200F_202C_206B_200B_206B_200D_200E_200B_200D_206A_202D_200C_200D_202C_202D_206A_202A_206C_206C_200E_206C_202B_200E_206A_200D_202B_202C_202C_200F_200F_202B_200D_202B_202E(questStep).Count) ? 1524603335 : 1524603378); + continue; + IL_166b: + num = ((num25 < questProgressInfo.Variables.Count) ? 1524603388 : 1524603333); + continue; + IL_19fc: + num = ((num24 < _200F_206E_202D_206C_206B_206F_202B_200E_200C_202C_200E_206E_200F_206E_200B_202C_206A_202C_202D_200F_206D_202D_206C_206E_202E_206A_202B_202D_202A_206F_202D_200D_202E_200D_206A_206C_202A_200C_202C_202E(questStep).Count) ? 1524603385 : 1524603368); + continue; + IL_178e: + (string Name, bool Found) tuple3 = GetEnemyName(_200C_206A_206C_202B_202E_206F_206C_202C_200B_202A_202C_200F_200B_202E_200F_202A_206C_206F_206E_200C_202D_200B_200C_200C_202D_200E_200F_202A_206F_200C_206B_200E_200D_200F_206B_206F_200C_206E_206C_206F_202E(complexCombatData2)); + item4 = tuple3.Name; + num = (tuple3.Found ? 1524603362 : 1524603377); + continue; + IL_1078: + num = ((num25 < 0) ? 1524603333 : 1524603391); + continue; + IL_1944: + num = ((!_200F_206E_202D_206C_206B_206F_202B_200E_200C_202C_200E_206E_200F_206E_200B_202C_206A_202C_202D_200F_206D_202D_206C_206E_202E_206A_202B_202D_202A_206F_202D_200D_202E_200D_206A_206C_202A_200C_202C_202E(questStep).Any((QuestWorkValue x) => x != null)) ? 1524603368 : 1524603376); + continue; + IL_1737: + bNpcName = bnpcNameSheet?.GetRowOrDefault(_200B_202C_200C_206C_202B_202B_200C_200D_206C_202D_206A_206E_202B_206E_200E_206A_202B_202E_202D_206C_200B_202D_200E_206D_202B_200E_206A_206F_206C_206D_202B_202D_200F_202D_200D_206C_200E_200C_202D_200F_202E(complexCombatData2).Value); + num = ((!bNpcName.HasValue) ? 1524603374 : 1524603375); + continue; + IL_1310: + num = ((num24 < questProgressInfo.Variables.Count) ? 1524603348 : 1524603330); + continue; + end_IL_0eca: + break; } + goto IL_15ce; } - return (Name: string.Empty, Found: false); } } + + void IDebugCommandHandler.Execute(string[] arguments) + { + //ILSpy generated this explicit interface implementation from .override directive in Execute + this.Execute(arguments); + } + + static void _202B_200B_206E_206C_206E_202C_206B_202D_200D_202A_206A_200B_206E_206A_200D_200E_200D_200D_200E_200D_202E_200B_202D_202E_200E_200E_202A_202C_202B_200C_200F_200D_200C_202A_202E_202C_202A_200C_206F_206F_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static List _206C_202A_206B_206B_206D_202A_200C_206A_202C_202B_202B_202E_206C_202D_200C_206F_206B_202C_200F_200D_206E_200B_202C_206A_206D_202C_200E_202B_202C_206C_206C_200E_202A_206C_202A_202B_200C_206D_206F_200C_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static void _206C_206B_202B_206F_200D_202B_200B_200C_206C_206B_206A_200B_206B_206A_200F_200D_202A_200D_200E_206A_206A_200B_200F_202A_202E_200F_200F_200D_202A_202A_206A_206D_206A_206C_206E_206B_202D_200D_200D_202E_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static string _202C_200D_202A_200B_200B_206F_200D_202E_200D_202D_200F_200D_206F_202A_200B_206B_206D_206F_200E_206A_206E_200F_206A_206E_200B_206A_206B_206E_200D_200E_202E_202B_200E_206E_202B_200C_202C_202B_202D_206F_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static string _200C_200E_202E_206C_202B_200B_200D_206E_202A_206C_202B_200E_206D_206D_200D_206B_200B_202A_206C_202B_202C_200D_202D_200D_200F_202B_206F_202A_200D_206C_202B_206C_206F_200C_200E_200E_206A_206F_202D_202B_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static List _200E_200E_206F_200F_206C_200C_202C_206F_202B_200F_202B_202E_200B_206A_206E_200C_200D_206D_202E_202C_202C_200D_206D_206A_200F_206B_206F_200C_200D_206F_202E_202C_200E_200F_202B_200B_202B_202E_206A_202E(QuestStep P_0) + { + return P_0.KillEnemyDataIds; + } + + static List _200F_206E_200E_202A_202D_206F_202D_200F_202C_206B_200B_206B_200D_200E_200B_200D_206A_202D_200C_200D_202C_202D_206A_202A_206C_206C_200E_206C_202B_200E_206A_200D_202B_202C_202C_200F_200F_202B_200D_202B_202E(QuestStep P_0) + { + return P_0.ComplexCombatData; + } + + static uint _200C_206A_206C_202B_202E_206F_206C_202C_200B_202A_202C_200F_200B_202E_200F_202A_206C_206F_206E_200C_202D_200B_200C_200C_202D_200E_200F_202A_206F_200C_206B_200E_200D_200F_206B_206F_200C_206E_206C_206F_202E(ComplexCombatData P_0) + { + return P_0.DataId; + } + + static bool _206D_202D_202A_202A_200B_206C_200D_206B_206F_200F_206C_202B_200C_206E_200F_200D_200C_206E_206C_200C_200C_202D_200F_202D_202D_202A_202B_206D_206D_200C_202B_206A_200B_200F_200B_200C_202D_200B_206B_200C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202E_206E_200F_206E_202A_206A_200F_206F_200B_206F_206D_200D_202A_200D_202E_206E_206A_206A_206A_202B_200E_200C_202D_200E_202D_206E_200B_206A_206F_206B_206A_202D_206F_206B_200B_200D_200D_202B_202A_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static IList _200B_206F_206B_200E_202A_202E_202B_200C_200F_206E_202A_200E_202A_202E_200F_200C_206A_206F_206D_200D_200F_202C_200F_202B_206D_200C_202D_206B_202B_206D_200B_206E_202C_202C_200D_200C_200D_202C_202B_200F_202E(ComplexCombatData P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static byte? _200C_206D_200E_206B_202D_206E_206B_200C_206D_202D_202D_200B_206D_202D_200C_200F_206B_206F_200F_200D_202C_202B_206A_206D_200E_206A_206D_200D_200F_200D_200B_202D_206E_206B_202E_202C_206C_202D_202A_202E_202E(QuestWorkValue P_0) + { + return P_0.Low; + } + + static byte? _202D_200B_206F_206C_202C_202B_206D_202E_202A_202A_200B_202C_202B_200D_202B_202C_202A_206B_200E_206B_206C_206D_206E_206F_206E_200C_206D_206C_206B_200F_206D_202A_202A_200D_202D_200E_206C_202A_206A_206A_202E(QuestWorkValue P_0) + { + return P_0.High; + } + + static uint? _200B_202C_200C_206C_202B_202B_200C_200D_206C_202D_206A_206E_202B_206E_200E_206A_202B_202E_202D_206C_200B_202D_200E_206D_202B_200E_206A_206F_206C_206D_202B_202D_200F_202D_200D_206C_200E_200C_202D_200F_202E(ComplexCombatData P_0) + { + return P_0.NameId; + } + + static bool _206D_200C_200E_200B_200B_202E_206C_200E_200B_206D_206E_202C_202C_206F_202A_202C_200B_200E_200D_206E_206D_202C_202A_202A_206E_200B_200C_202C_202C_206B_206E_202D_200B_200C_202E_206D_202B_206A_202B_200D_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static List _200F_206E_202D_206C_206B_206F_202B_200E_200C_202C_200E_206E_200F_206E_200B_202C_206A_202C_202D_200F_206D_202D_206C_206E_202E_206A_202B_202D_202A_206F_202D_200D_202E_200D_206A_206C_202A_200C_202C_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static CultureInfo _206E_202D_206F_200C_206F_202C_206B_200F_200B_206B_206A_200F_200F_206F_202B_200E_202A_206A_206B_206E_202D_200B_202D_202A_200F_206B_206B_206D_206D_202E_200D_200C_206C_206A_206A_200F_206E_206B_202B_202E() + { + return CultureInfo.InvariantCulture; + } + + static uint _202C_202E_200C_206C_206B_200B_200F_200F_200D_200E_202E_206B_206E_200D_202B_202E_206C_206F_200C_200C_206E_206B_206E_200E_206A_200F_200D_206E_202B_200F_202C_202E_206B_206F_202E_202B_202E_206B_202E_200E_202E(ICharacter P_0) + { + return P_0.NameId; + } } diff --git a/Questionable/Questionable.Controller.DebugCommands/SequencesCommandHandler.cs b/Questionable/Questionable.Controller.DebugCommands/SequencesCommandHandler.cs index 3e3c9f65..7664cde2 100644 --- a/Questionable/Questionable.Controller.DebugCommands/SequencesCommandHandler.cs +++ b/Questionable/Questionable.Controller.DebugCommands/SequencesCommandHandler.cs @@ -1,3 +1,5 @@ +using System.Runtime.CompilerServices; +using LLib.ImGui; using Questionable.Model.Questing; using Questionable.Windows; @@ -7,7 +9,14 @@ internal sealed class SequencesCommandHandler : IDebugCommandHandler { private readonly QuestSequenceWindow _questSequenceWindow; - public string CommandName => "seq"; + public string CommandName + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(-2123114850); + } + } public SequencesCommandHandler(QuestSequenceWindow questSequenceWindow) { @@ -16,13 +25,52 @@ internal sealed class SequencesCommandHandler : IDebugCommandHandler public void Execute(string[] arguments) { - if (arguments.Length >= 1 && ElementId.TryFromString(arguments[0], out ElementId elementId) && elementId != null) + int num = ((arguments.Length < 1) ? (-723182513) : (-723182515)); + ElementId elementId = default(ElementId); + while (true) { - _questSequenceWindow.OpenForQuest(elementId); - } - else - { - _questSequenceWindow.ToggleOrUncollapse(); + int num2 = num; + int num3 = -723182516; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -723182515; + break; + case 1: + num = ((!_206E_202A_206F_206A_202C_202A_206B_202D_206F_206F_200C_206B_202A_200E_202A_206C_206C_200D_206D_202E_206C_202E_200B_202C_200C_206F_206A_206C_206E_200C_202E_206A_206A_206A_202B_202B_206D_200F_202B_206A_202E(arguments[0], ref elementId)) ? (-723182513) : (-723182516)); + break; + case 0: + num = ((!_200F_200D_202B_206C_202A_206C_200D_200E_206E_202D_206E_200B_200C_200E_200B_200E_202B_200E_200B_206D_202D_206B_206F_200F_200E_200B_200E_202A_206D_206A_202C_202B_200E_202D_202C_202E_200D_206E_202D_206E_202E(elementId, (ElementId)null)) ? (-723182513) : (-723182520)); + break; + case 3: + _206D_202A_206F_206A_206C_202E_206F_206E_206B_200D_202B_206E_200D_202B_202A_202B_206F_206E_206B_206B_200E_206F_200D_202B_206F_200E_200D_202A_206F_202E_202D_206C_206F_206F_200B_206E_200F_206B_206D_200D_202E((LWindow)_questSequenceWindow); + return; + case 4: + _questSequenceWindow.OpenForQuest(elementId); + return; + } } } + + void IDebugCommandHandler.Execute(string[] arguments) + { + //ILSpy generated this explicit interface implementation from .override directive in Execute + this.Execute(arguments); + } + + static bool _206E_202A_206F_206A_202C_202A_206B_202D_206F_206F_200C_206B_202A_200E_202A_206C_206C_200D_206D_202E_206C_202E_200B_202C_200C_206F_206A_206C_206E_200C_202E_206A_206A_206A_202B_202B_206D_200F_202B_206A_202E(string P_0, ref ElementId P_1) + { + return ElementId.TryFromString(P_0, out P_1); + } + + static bool _200F_200D_202B_206C_202A_206C_200D_200E_206E_202D_206E_200B_200C_200E_200B_200E_202B_200E_200B_206D_202D_206B_206F_200F_200E_200B_200E_202A_206D_206A_202C_202B_200E_202D_202C_202E_200D_206E_202D_206E_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static void _206D_202A_206F_206A_206C_202E_206F_206E_206B_200D_202B_206E_200D_202B_202A_202B_206F_206E_206B_206B_200E_206F_200D_202B_206F_200E_200D_202A_206F_202E_202D_206C_206F_206F_200B_206E_200F_206B_206D_200D_202E(LWindow P_0) + { + P_0.ToggleOrUncollapse(); + } } diff --git a/Questionable/Questionable.Controller.DebugCommands/SetupCommandHandler.cs b/Questionable/Questionable.Controller.DebugCommands/SetupCommandHandler.cs index 685b4358..edb1aee0 100644 --- a/Questionable/Questionable.Controller.DebugCommands/SetupCommandHandler.cs +++ b/Questionable/Questionable.Controller.DebugCommands/SetupCommandHandler.cs @@ -1,3 +1,5 @@ +using System.Runtime.CompilerServices; +using LLib.ImGui; using Questionable.Windows; namespace Questionable.Controller.DebugCommands; @@ -6,7 +8,14 @@ internal sealed class SetupCommandHandler : IDebugCommandHandler { private readonly OneTimeSetupWindow _oneTimeSetupWindow; - public string CommandName => "setup"; + public string CommandName + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(2087530843); + } + } public SetupCommandHandler(OneTimeSetupWindow oneTimeSetupWindow) { @@ -15,6 +24,17 @@ internal sealed class SetupCommandHandler : IDebugCommandHandler public void Execute(string[] arguments) { - _oneTimeSetupWindow.IsOpenAndUncollapsed = true; + _206D_200D_200D_202D_200C_206A_200D_202C_202E_206F_200B_206E_200B_202A_200E_202D_202B_202B_200D_200F_202A_200B_206C_202C_200C_202D_206A_200F_202A_206E_206E_206C_202C_202C_206B_202C_200F_200D_206E_200E_202E((LWindow)_oneTimeSetupWindow, true); + } + + void IDebugCommandHandler.Execute(string[] arguments) + { + //ILSpy generated this explicit interface implementation from .override directive in Execute + this.Execute(arguments); + } + + static void _206D_200D_200D_202D_200C_206A_200D_202C_202E_206F_200B_206E_200B_202A_200E_202D_202B_202B_200D_200F_202A_200B_206C_202C_200C_202D_206A_200F_202A_206E_206E_206C_202C_202C_206B_202C_200F_200D_206E_200E_202E(LWindow P_0, bool P_1) + { + P_0.IsOpenAndUncollapsed = P_1; } } diff --git a/Questionable/Questionable.Controller.DebugCommands/SimulateQuestCommandHandler.cs b/Questionable/Questionable.Controller.DebugCommands/SimulateQuestCommandHandler.cs index da762f3d..b48fc38f 100644 --- a/Questionable/Questionable.Controller.DebugCommands/SimulateQuestCommandHandler.cs +++ b/Questionable/Questionable.Controller.DebugCommands/SimulateQuestCommandHandler.cs @@ -1,3 +1,4 @@ +using System.Runtime.CompilerServices; using Dalamud.Plugin.Services; using Questionable.Model; using Questionable.Model.Questing; @@ -12,7 +13,14 @@ internal sealed class SimulateQuestCommandHandler : IDebugCommandHandler private readonly IChatGui _chatGui; - public string CommandName => "sim"; + public string CommandName + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(408484576); + } + } public SimulateQuestCommandHandler(QuestController questController, QuestRegistry questRegistry, IChatGui chatGui) { @@ -21,38 +29,126 @@ internal sealed class SimulateQuestCommandHandler : IDebugCommandHandler _chatGui = chatGui; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Execute(string[] arguments) { - if (arguments.Length >= 1 && ElementId.TryFromString(arguments[0], out ElementId elementId) && elementId != null) + int num = ((arguments.Length < 1) ? 75346620 : 75346609); + int step = default(int); + int result = default(int); + ElementId elementId = default(ElementId); + byte result2 = default(byte); + byte sequence = default(byte); + QuestSequence questSequence = default(QuestSequence); + Quest quest = default(Quest); + while (true) { - if (_questRegistry.TryGetQuest(elementId, out Quest quest)) + int num2 = num; + int num3 = 75346615; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 12: + step = result; + num = 75346611; + break; + case 7: + { + IChatGui chatGui2 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(15, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-742005049)); + defaultInterpolatedStringHandler2.AppendFormatted(elementId); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-404473860)); + _200B_206F_202C_200F_200E_200C_200E_200B_202C_200F_206F_200D_200E_202A_202D_200C_200D_202B_200C_200B_206B_202B_200C_202A_202D_206F_206E_202B_206E_200E_202D_206D_202E_200E_200D_200E_202E_200F_200D_202B_202E(chatGui2, defaultInterpolatedStringHandler2.ToStringAndClear(), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + return; + } + case 0: + num = ((!byte.TryParse(arguments[1], out result2)) ? 75346611 : 75346614); + break; + case 9: + num = ((!_206F_200B_200F_202E_206B_206A_202C_202B_206A_200B_202E_202B_202C_202A_200C_200B_202B_202D_206E_206C_202E_206A_202A_200C_206B_200F_200F_200B_206E_202C_206C_206A_202B_206D_206F_202D_206E_206E_200C_206B_202E(elementId, (ElementId)null)) ? 75346620 : 75346613); + break; + case 3: + num = ((!int.TryParse(arguments[2], out result)) ? 75346611 : 75346618); + break; + case 10: + num = 75346609; + break; + case 8: + sequence = 0; + step = 0; + num = ((arguments.Length < 2) ? 75346611 : 75346615); + break; + case 13: + num = ((_206E_200E_202A_206C_202A_200D_206D_200D_202B_202D_200C_200F_202D_202C_202D_202E_206B_202C_206F_200C_206E_206B_202D_206D_206A_206D_200E_202A_206C_206A_206A_206C_206E_206D_206A_206B_200E_206E_206E_200E_202E(questSequence, result) == null) ? 75346611 : 75346619); + break; + case 11: + _questController.SimulateQuest(null, 0, 0); + _200B_206D_206B_206E_206E_202C_200C_202C_202D_202C_206E_202A_206E_206B_206D_206E_200E_206B_206A_200C_200C_206B_202D_200C_206F_200E_202C_206E_206D_202A_206B_202B_202A_206E_206A_202C_206C_206C_206E_206E_202E(_chatGui, global::_003CModule_003E._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(31159756), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + return; + case 2: + num = ((!_questRegistry.TryGetQuest(elementId, out quest)) ? 75346608 : 75346623); + break; + case 5: + sequence = _206A_200B_206E_206D_200F_206F_202A_206A_202D_202E_200F_200E_202C_200E_206C_206F_200C_202A_202E_202E_206C_200F_202C_206A_200B_200F_200E_206F_206D_202A_206E_202A_202A_200B_206C_206D_206A_200D_206E_202B_202E(questSequence); + num = ((arguments.Length < 3) ? 75346611 : 75346612); + break; + case 1: + questSequence = quest.FindSequence(result2); + num = ((questSequence == null) ? 75346611 : 75346610); + break; + case 4: { - byte sequence = 0; - int step = 0; - if (arguments.Length >= 2 && byte.TryParse(arguments[1], out var result)) - { - QuestSequence questSequence = quest.FindSequence(result); - if (questSequence != null) - { - sequence = questSequence.Sequence; - if (arguments.Length >= 3 && int.TryParse(arguments[2], out var result2) && questSequence.FindStep(result2) != null) - { - step = result2; - } - } - } _questController.SimulateQuest(quest, sequence, step); - _chatGui.Print($"Simulating quest {elementId} ({quest.Info.Name}).", "Questionable", 576); + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(21, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1180305998)); + defaultInterpolatedStringHandler.AppendFormatted(elementId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1099691430)); + defaultInterpolatedStringHandler.AppendFormatted(quest.Info.Name); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1109945913)); + _200B_206D_206B_206E_206E_202C_200C_202C_202D_202C_206E_202A_206E_206B_206D_206E_200E_206B_206A_200C_200C_206B_202D_200C_206F_200E_202C_206E_206D_202A_206B_202B_202A_206E_206A_202C_206C_206C_206E_206E_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + return; } - else - { - _chatGui.PrintError($"Unknown quest {elementId}.", "Questionable", 576); + case 6: + num = ((!_202A_206D_206D_206D_206C_200D_200E_202D_202A_206A_202C_206F_200B_202B_206E_200C_200E_200C_206E_206A_200C_206F_200E_202A_202C_206F_200F_200B_206D_202D_202B_202D_202E_200E_202D_200E_200D_200B_206E_200E_202E(arguments[0], ref elementId)) ? 75346620 : 75346622); + break; } } - else - { - _questController.SimulateQuest(null, 0, 0); - _chatGui.Print("Cleared simulated quest.", "Questionable", 576); - } + } + + void IDebugCommandHandler.Execute(string[] arguments) + { + //ILSpy generated this explicit interface implementation from .override directive in Execute + this.Execute(arguments); + } + + static bool _202A_206D_206D_206D_206C_200D_200E_202D_202A_206A_202C_206F_200B_202B_206E_200C_200E_200C_206E_206A_200C_206F_200E_202A_202C_206F_200F_200B_206D_202D_202B_202D_202E_200E_202D_200E_200D_200B_206E_200E_202E(string P_0, ref ElementId P_1) + { + return ElementId.TryFromString(P_0, out P_1); + } + + static bool _206F_200B_200F_202E_206B_206A_202C_202B_206A_200B_202E_202B_202C_202A_200C_200B_202B_202D_206E_206C_202E_206A_202A_200C_206B_200F_200F_200B_206E_202C_206C_206A_202B_206D_206F_202D_206E_206E_200C_206B_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static byte _206A_200B_206E_206D_200F_206F_202A_206A_202D_202E_200F_200E_202C_200E_206C_206F_200C_202A_202E_202E_206C_200F_202C_206A_200B_200F_200E_206F_206D_202A_206E_202A_202A_200B_206C_206D_206A_200D_206E_202B_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static QuestStep _206E_200E_202A_206C_202A_200D_206D_200D_202B_202D_200C_200F_202D_202C_202D_202E_206B_202C_206F_200C_206E_206B_202D_206D_206A_206D_200E_202A_206C_206A_206A_206C_206E_206D_206A_206B_200E_206E_206E_200E_202E(QuestSequence P_0, int P_1) + { + return P_0.FindStep(P_1); + } + + static void _200B_206D_206B_206E_206E_202C_200C_202C_202D_202C_206E_202A_206E_206B_206D_206E_200E_206B_206A_200C_200C_206B_202D_200C_206F_200E_202C_206E_206D_202A_206B_202B_202A_206E_206A_202C_206C_206C_206E_206E_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static void _200B_206F_202C_200F_200E_200C_200E_200B_202C_200F_206F_200D_200E_202A_202D_200C_200D_202B_200C_200B_206B_202B_200C_202A_202D_206F_206E_202B_206E_200E_202D_206D_202E_200E_200D_200E_202E_200F_200D_202B_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); } } diff --git a/Questionable/Questionable.Controller.DebugCommands/TaxiCommandHandler.cs b/Questionable/Questionable.Controller.DebugCommands/TaxiCommandHandler.cs index 45de1dca..3581a0d5 100644 --- a/Questionable/Questionable.Controller.DebugCommands/TaxiCommandHandler.cs +++ b/Questionable/Questionable.Controller.DebugCommands/TaxiCommandHandler.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using System.Runtime.CompilerServices; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game.UI; using Lumina.Excel; @@ -14,7 +15,14 @@ internal sealed class TaxiCommandHandler : IDebugCommandHandler private readonly IChatGui _chatGui; - public string CommandName => "taxi"; + public string CommandName + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(36013436); + } + } public TaxiCommandHandler(IDataManager dataManager, IClientState clientState, IChatGui chatGui) { @@ -23,44 +31,177 @@ internal sealed class TaxiCommandHandler : IDebugCommandHandler _chatGui = chatGui; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void Execute(string[] arguments) { List list = new List(); ExcelSheet excelSheet = _dataManager.GetExcelSheet(); UIState* ptr = UIState.Instance(); - if (ptr == null) + int num = ((ptr != null) ? (-1504900883) : (-1504900882)); + string text = default(string); + while (true) { - _chatGui.PrintError("UIState is null", "Questionable", 576); - return; - } - for (int i = 0; i < 192; i++) - { - uint num = (uint)(i + 1179648); - try + int num2 = num; + int num3 = -1504900881; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - if (excelSheet.HasRow(num) && ptr->IsChocoboTaxiStandUnlocked(num)) + case 0: + goto IL_006e; + case 1: + _202A_202A_206C_200D_200B_202A_206E_206C_206D_200B_200D_200C_202B_206E_200E_200C_206B_202B_206D_206C_200C_202E_206E_200C_202A_206F_202B_206E_202A_200B_206D_206F_202B_202E_206A_200C_206D_200D_206F_202D_202E(_chatGui, global::_003CModule_003E._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(450011813), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + return; + case 2: + { + for (int num5 = 0; num5 < 192; num5 = (num4 | num3) + (num4 & num3)) { - string value = excelSheet.GetRow(num).PlaceName.ToString(); - if (string.IsNullOrEmpty(value)) + int num6 = num5; + num3 = 1179648; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + uint num9 = (uint)(num7 + (num8 + num8)); + try { - value = "Unknown"; + num = (excelSheet.HasRow(num9) ? (-1045043585) : (-1045043591)); + while (true) + { + int num10 = num; + num3 = -1045043587; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = -1045043591; + break; + case 3: + text = global::_003CModule_003E._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(-934792339); + num = -1045043587; + break; + case 4: + goto end_IL_00eb; + case 2: + num = ((!ptr->IsChocoboTaxiStandUnlocked(num9)) ? (-1045043592) : (-1045043588)); + break; + case 1: + text = excelSheet.GetRow(num9).PlaceName.ToString(); + num = ((!_200D_200E_202E_200F_202B_200B_206B_200C_202B_206A_202E_200D_206E_200C_206D_206A_202B_200C_206E_200E_202B_202D_202B_200E_200C_206C_206A_206F_206B_202A_202E_202D_202A_202A_200C_200E_202A_206C_200E_206E_202E(text)) ? (-1045043587) : (-1045043586)); + break; + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(16, 3); + defaultInterpolatedStringHandler.AppendFormatted(text); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(911808460)); + defaultInterpolatedStringHandler.AppendFormatted(num5); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(201911383)); + defaultInterpolatedStringHandler.AppendFormatted(num9, global::_003CModule_003E._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(906389666)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1618480346)); + list.Add(defaultInterpolatedStringHandler.ToStringAndClear()); + num = -1045043592; + break; + } + case 5: + goto end_IL_00eb; + } + continue; + end_IL_00eb: + break; + } + } + catch + { + } + int num11 = num5; + num3 = 1; + num4 = num11; + } + num = 2067861557; + while (true) + { + int num12 = num; + num3 = 2067861556; + num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 2067861557; + break; + case 1: + { + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(24, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(527408719)); + defaultInterpolatedStringHandler2.AppendFormatted(list.Count); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1060622796)); + _206E_200B_202D_200B_200B_200C_202E_200C_206D_200C_206E_206B_202C_206B_202A_202C_202D_202E_200C_202E_206A_202C_206A_202D_206A_206C_200B_200B_202E_206F_200B_200D_200F_202E_202E_202B_200B_206A_206A_200C_202E(chatGui, defaultInterpolatedStringHandler2.ToStringAndClear(), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + num = ((list.Count != 0) ? 2067861559 : 2067861556); + break; + } + case 0: + _206E_200B_202D_200B_200B_200C_202E_200C_206D_200C_206E_206B_202C_206B_202A_202C_202D_202E_200C_202E_206A_202C_206A_202D_206A_206C_200B_200B_202E_206F_200B_200D_200F_202E_202E_202B_200B_206A_206A_200C_202E(_chatGui, global::_003CModule_003E._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(372663010), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + return; + case 3: + { + using List.Enumerator enumerator = list.GetEnumerator(); + num = -1727299586; + while (true) + { + int num13 = num; + num3 = -1727299586; + num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1727299586; + break; + case 0: + num = (enumerator.MoveNext() ? (-1727299585) : (-1727299587)); + break; + case 1: + { + string current = enumerator.Current; + _206E_200B_202D_200B_200B_200C_202E_200C_206D_200C_206E_206B_202C_206B_202A_202C_202D_202E_200C_202E_206A_202C_206A_202D_206A_206C_200B_200B_202E_206F_200B_200D_200F_202E_202E_202B_200B_206A_206A_200C_202E(_chatGui, _202A_202E_206A_206D_200C_202A_206C_206E_202C_206E_206C_206D_202B_202E_206D_200D_202A_206D_200F_200E_206F_202E_200C_200C_200E_202E_202C_202A_202A_202C_200E_202C_200B_206A_202A_206B_202E_206A_200F_206C_202E(global::_003CModule_003E._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(232485537), current), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + num = -1727299586; + break; + } + case 3: + return; + } + } + } } - list.Add($"{value} (ID: {i}, Row: 0x{num:X})"); } } - catch - { } - } - _chatGui.Print($"Unlocked taxi stands ({list.Count}):", "Questionable", 576); - if (list.Count == 0) - { - _chatGui.Print(" (No unlocked taxi stands found)", "Questionable", 576); - return; - } - foreach (string item in list) - { - _chatGui.Print(" - " + item, "Questionable", 576); + continue; + IL_006e: + num = -1504900882; } } + + void IDebugCommandHandler.Execute(string[] arguments) + { + //ILSpy generated this explicit interface implementation from .override directive in Execute + this.Execute(arguments); + } + + static void _202A_202A_206C_200D_200B_202A_206E_206C_206D_200B_200D_200C_202B_206E_200E_200C_206B_202B_206D_206C_200C_202E_206E_200C_202A_206F_202B_206E_202A_200B_206D_206F_202B_202E_206A_200C_206D_200D_206F_202D_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static bool _200D_200E_202E_200F_202B_200B_206B_200C_202B_206A_202E_200D_206E_200C_206D_206A_202B_200C_206E_200E_202B_202D_202B_200E_200C_206C_206A_206F_206B_202A_202E_202D_202A_202A_200C_200E_202A_206C_200E_206E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static void _206E_200B_202D_200B_200B_200C_202E_200C_206D_200C_206E_206B_202C_206B_202A_202C_202D_202E_200C_202E_206A_202C_206A_202D_206A_206C_200B_200B_202E_206F_200B_200D_200F_202E_202E_202B_200B_206A_206A_200C_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static string _202A_202E_206A_206D_200C_202A_206C_206E_202C_206E_206C_206D_202B_202E_206D_200D_202A_206D_200F_200E_206F_202E_200C_200C_200E_202E_202C_202A_202A_202C_200E_202C_200B_206A_202A_206B_202E_206A_200F_206C_202E(string P_0, string P_1) + { + return P_0 + P_1; + } } diff --git a/Questionable/Questionable.Controller.DebugCommands/UnlockLinksCommandHandler.cs b/Questionable/Questionable.Controller.DebugCommands/UnlockLinksCommandHandler.cs index 06dc43de..ecc55747 100644 --- a/Questionable/Questionable.Controller.DebugCommands/UnlockLinksCommandHandler.cs +++ b/Questionable/Questionable.Controller.DebugCommands/UnlockLinksCommandHandler.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; using Dalamud.Plugin.Services; using Questionable.Functions; @@ -14,7 +15,14 @@ internal sealed class UnlockLinksCommandHandler : IDebugCommandHandler private IReadOnlyList _previouslyUnlockedUnlockLinks = Array.Empty(); - public string CommandName => "unlock-links"; + public string CommandName + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(1519844067); + } + } public UnlockLinksCommandHandler(GameFunctions gameFunctions, IChatGui chatGui) { @@ -22,27 +30,77 @@ internal sealed class UnlockLinksCommandHandler : IDebugCommandHandler _chatGui = chatGui; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Execute(string[] arguments) { IReadOnlyList unlockLinks = _gameFunctions.GetUnlockLinks(); - if (unlockLinks.Count >= 0) + int num = ((unlockLinks.Count < 0) ? (-529327854) : (-529327856)); + List list = default(List); + while (true) { - _chatGui.Print($"Saved {unlockLinks.Count} unlock links to log.", "Questionable", 576); - List list = unlockLinks.Except(_previouslyUnlockedUnlockLinks).ToList(); - if (_previouslyUnlockedUnlockLinks.Count > 0 && list.Count > 0) + int num2 = num; + int num3 = -529327853; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _chatGui.Print("New unlock links: " + string.Join(", ", list), "Questionable", 576); + case 2: + num = -529327856; + break; + case 5: + _206B_202A_200C_200E_202B_206D_202D_206A_202C_200F_206B_206D_206C_206A_206E_202C_206E_200B_202E_200C_202D_202A_206C_206B_206C_202A_202E_200C_202E_200E_206E_206D_202A_200E_206D_200D_206D_202D_202B_206B_202E(_chatGui, _206A_200D_200D_202A_202A_200B_200C_206E_200D_200F_200D_202A_202C_206A_206F_200B_206F_200D_200D_206F_200B_206A_200F_202C_200E_202C_206A_202E_206E_200D_200C_200B_206B_202A_202B_200C_202E_202C_200D_206B_202E(global::_003CModule_003E._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(1421488541), string.Join(global::_003CModule_003E._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(-1095822044), list)), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + num = -529327849; + break; + case 4: + _previouslyUnlockedUnlockLinks = unlockLinks; + return; + case 1: + _206B_202A_200F_200D_200B_200B_202E_200D_202D_200C_202A_206B_206B_202A_206F_200B_202A_202E_200D_200E_202D_206C_200F_206C_206B_202B_206A_202E_206A_202C_200B_206D_202D_200C_206A_200F_202C_206A_206E_202B_202E(_chatGui, global::_003CModule_003E._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(929710911), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + num = -529327849; + break; + case 0: + num = ((list.Count <= 0) ? (-529327849) : (-529327850)); + break; + case 3: + { + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(27, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(278706240)); + defaultInterpolatedStringHandler.AppendFormatted(unlockLinks.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1528398919)); + _206B_202A_200C_200E_202B_206D_202D_206A_202C_200F_206B_206D_206C_206A_206E_202C_206E_200B_202E_200C_202D_202A_206C_206B_206C_202A_202E_200C_202E_200E_206E_206D_202A_200E_206D_200D_206D_202D_202B_206B_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + list = unlockLinks.Except(_previouslyUnlockedUnlockLinks).ToList(); + num = ((_previouslyUnlockedUnlockLinks.Count <= 0) ? (-529327849) : (-529327853)); + break; + } } } - else - { - _chatGui.PrintError("Could not query unlock links.", "Questionable", 576); - } - _previouslyUnlockedUnlockLinks = unlockLinks; + } + + void IDebugCommandHandler.Execute(string[] arguments) + { + //ILSpy generated this explicit interface implementation from .override directive in Execute + this.Execute(arguments); } public void Reset() { _previouslyUnlockedUnlockLinks = Array.Empty(); } + + static void _206B_202A_200C_200E_202B_206D_202D_206A_202C_200F_206B_206D_206C_206A_206E_202C_206E_200B_202E_200C_202D_202A_206C_206B_206C_202A_202E_200C_202E_200E_206E_206D_202A_200E_206D_200D_206D_202D_202B_206B_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static string _206A_200D_200D_202A_202A_200B_200C_206E_200D_200F_200D_202A_202C_206A_206F_200B_206F_200D_200D_206F_200B_206A_200F_202C_200E_202C_206A_202E_206E_200D_200C_200B_206B_202A_202B_200C_202E_202C_200D_206B_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _206B_202A_200F_200D_200B_200B_202E_200D_202D_200C_202A_206B_206B_202A_206F_200B_202A_202E_200D_200E_202D_206C_200F_206C_206B_202B_206A_202E_206A_202C_200B_206D_202D_200C_206A_200F_202C_206A_206E_202B_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } } diff --git a/Questionable/Questionable.Controller.GameUi/AutoSnipeHandler.cs b/Questionable/Questionable.Controller.GameUi/AutoSnipeHandler.cs index 47d8a1ae..663631ee 100644 --- a/Questionable/Questionable.Controller.GameUi/AutoSnipeHandler.cs +++ b/Questionable/Questionable.Controller.GameUi/AutoSnipeHandler.cs @@ -1,4 +1,5 @@ using System; +using System.Runtime.CompilerServices; using Dalamud.Hooking; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game.Event; @@ -19,6 +20,7 @@ internal sealed class AutoSnipeHandler : IDisposable private readonly Hook? _enqueueSnipeTaskHook; + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe AutoSnipeHandler(QuestController questController, Configuration configuration, IGameInteropProvider gameInteropProvider, ILogger logger) { _questController = questController; @@ -26,38 +28,90 @@ internal sealed class AutoSnipeHandler : IDisposable _logger = logger; try { - _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 = gameInteropProvider.HookFromSignature(global::_003CModule_003E._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(-116900171), EnqueueSnipeTask); _enqueueSnipeTaskHook.Enable(); - _logger.LogInformation("AutoSnipeHandler enabled"); + _200C_200C_200F_202D_200B_202A_206A_206A_200C_206E_206E_206A_206E_206A_206B_206F_200B_206C_202B_206B_206A_206A_200B_202E_200F_200F_206F_202A_206D_202B_200E_206E_200E_200B_202B_202D_202D_206F_200D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-2135730328), Array.Empty()); } - catch (Exception exception) + catch (Exception ex) { - _logger.LogError(exception, "Failed to initialize AutoSnipeHandler"); + _202C_200E_206A_200D_206C_206C_200F_206F_200D_206A_206E_200D_202B_202E_202D_206C_206B_202C_202A_206F_206D_200B_200C_200C_206D_202C_206F_206A_202A_206E_200C_200E_200C_202D_206D_202A_206C_200E_202B_202D_202E((ILogger)_logger, ex, global::_003CModule_003E._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(309361772), Array.Empty()); _enqueueSnipeTaskHook = null; } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe ulong EnqueueSnipeTask(EventSceneModuleImplBase* scene, lua_State* state) { - if (_configuration.General.AutoSnipe && _questController.IsRunning) + int num = ((!_configuration.General.AutoSnipe) ? 905347558 : 905347556); + while (true) { - _logger.LogDebug("Auto-completing snipe task"); - TValue* top = state->top; - top->tt = 3; - top->value.n = 1.0; - state->top++; - return 1uL; + int num2 = num; + int num3 = 905347557; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 905347556; + break; + case 3: + return _enqueueSnipeTaskHook.Original(scene, state); + case 1: + num = ((!_questController.IsRunning) ? 905347558 : 905347557); + break; + case 0: + { + _200C_200C_200F_202D_200B_202A_206A_206A_200C_206E_206E_206A_206E_206A_206B_206F_200B_206C_202B_206B_206A_206A_200B_202E_200F_200F_206F_202A_206D_202B_200E_206E_200E_200B_202B_202D_202D_206F_200D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(486539700), Array.Empty()); + TValue* top = state->top; + top->tt = 3; + top->value.n = 1.0; + state->top++; + return 1uL; + } + } } - return _enqueueSnipeTaskHook.Original(scene, state); } + [MethodImpl(MethodImplOptions.NoInlining)] public void Dispose() { - if (_enqueueSnipeTaskHook != null) + int num = ((_enqueueSnipeTaskHook == null) ? 1906347675 : 1906347672); + while (true) { - _enqueueSnipeTaskHook.Disable(); - _enqueueSnipeTaskHook.Dispose(); - _logger.LogInformation("AutoSnipeHandler disabled"); + int num2 = num; + int num3 = 1906347673; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return; + case 1: + _enqueueSnipeTaskHook.Disable(); + _enqueueSnipeTaskHook.Dispose(); + _200C_200C_200F_202D_200B_202A_206A_206A_200C_206E_206E_206A_206E_206A_206B_206F_200B_206C_202B_206B_206A_206A_200B_202E_200F_200F_206F_202A_206D_202B_200E_206E_200E_200B_202B_202D_202D_206F_200D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(135526562), Array.Empty()); + num = 1906347675; + break; + case 0: + num = 1906347672; + break; + } } } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _200C_200C_200F_202D_200B_202A_206A_206A_200C_206E_206E_206A_206E_206A_206B_206F_200B_206C_202B_206B_206A_206A_200B_202E_200F_200F_206F_202A_206D_202B_200E_206E_200E_200B_202B_202D_202D_206F_200D_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _202C_200E_206A_200D_206C_206C_200F_206F_200D_206A_206E_200D_202B_202E_202D_206C_206B_202C_202A_206F_206D_200B_200C_200C_206D_202C_206F_206A_202A_206E_200C_200E_200C_202D_206D_202A_206C_200E_202B_202D_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } } diff --git a/Questionable/Questionable.Controller.GameUi/ChocoboNameHandler.cs b/Questionable/Questionable.Controller.GameUi/ChocoboNameHandler.cs index dc4fbba6..1a4f6a6b 100644 --- a/Questionable/Questionable.Controller.GameUi/ChocoboNameHandler.cs +++ b/Questionable/Questionable.Controller.GameUi/ChocoboNameHandler.cs @@ -1,9 +1,11 @@ using System; using System.Collections.Generic; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; using Dalamud.Game.Addon.Lifecycle; using Dalamud.Game.Addon.Lifecycle.AddonArgTypes; +using Dalamud.Game.NativeWrapper; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Component.GUI; using LLib.GameUI; @@ -16,9 +18,9 @@ internal sealed class ChocoboNameHandler : IDisposable { private static readonly HashSet ChocoboQuestIds = new HashSet { - new QuestId(700), - new QuestId(701), - new QuestId(702) + _206C_206C_202C_202A_202B_202C_202C_202C_202D_200C_200D_206D_202E_200E_202E_206D_206A_202C_206E_206E_202C_200B_206D_200C_202B_206E_202D_206B_206F_206B_200F_206B_202D_206C_202C_200B_206F_206E_206E_202C_202E((ushort)700), + _206C_206C_202C_202A_202B_202C_202C_202C_202D_200C_200D_206D_202E_200E_202E_206D_206A_202C_206E_206E_202C_200B_206D_200C_202B_206E_202D_206B_206F_206B_200F_206B_202D_206C_202C_200B_206F_206E_206E_202C_202E((ushort)701), + _206C_206C_202C_202A_202B_202C_202C_202C_202D_200C_200D_206D_202E_200E_202E_206D_206A_202C_206E_206E_202C_200B_206D_200C_202B_206E_202D_206B_206F_206B_200F_206B_202D_206C_202C_200B_206F_206E_206E_202C_202E((ushort)702) }; private readonly QuestController _questController; @@ -31,108 +33,328 @@ internal sealed class ChocoboNameHandler : IDisposable private bool _awaitingConfirmation; + [MethodImpl(MethodImplOptions.NoInlining)] public ChocoboNameHandler(QuestController questController, Configuration configuration, IAddonLifecycle addonLifecycle, ILogger logger) { _questController = questController; _configuration = configuration; _addonLifecycle = addonLifecycle; _logger = logger; - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "InputString", OnInputStringSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "SelectYesno", OnSelectYesNoSetup); + _206F_206A_206D_206E_202D_202B_202A_202D_206A_202B_200C_206F_200B_200E_202C_200F_202D_202A_206E_202D_206B_206A_202E_206A_202A_206F_206B_202C_206D_200C_206D_202D_200C_202E_200D_202D_202D_206C_202E_202B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(86143620), (IAddonLifecycle.AddonEventDelegate)OnInputStringSetup); + _206F_206A_206D_206E_202D_202B_202A_202D_206A_202B_200C_206F_200B_200E_202C_200F_202D_202A_206E_202D_206B_206A_202E_206A_202A_206F_206B_202C_206D_200C_206D_202D_200C_202E_200D_202D_202D_206C_202E_202B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(559979746), (IAddonLifecycle.AddonEventDelegate)OnSelectYesNoSetup); } + [MethodImpl(MethodImplOptions.NoInlining)] public void Dispose() { - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "SelectYesno", OnSelectYesNoSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "InputString", OnInputStringSetup); + _200D_200C_206E_202B_200C_200D_202C_200D_202A_200D_202D_200D_206D_200C_206D_202A_200B_206E_202A_206F_200B_202D_200B_200B_206B_200B_202D_206A_206E_200F_206C_200F_202C_200F_200F_206A_206F_206C_202B_202A_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(1652110159), (IAddonLifecycle.AddonEventDelegate)OnSelectYesNoSetup); + _200D_200C_206E_202B_200C_200D_202C_200D_202A_200D_202D_200D_206D_200C_206D_202A_200B_206E_202A_206F_200B_202D_200B_200B_206B_200B_202D_206A_206E_200F_206C_200F_202C_200F_200F_206A_206F_206C_202B_202A_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(1424112397), (IAddonLifecycle.AddonEventDelegate)OnInputStringSetup); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); } private bool IsChocoboQuestActive() { QuestController.QuestProgress currentQuest = _questController.CurrentQuest; - if (currentQuest != null) + int num = ((currentQuest == null) ? (-1870798202) : (-1870798201)); + while (true) { - return ChocoboQuestIds.Contains(currentQuest.Quest.Id); + int num2 = num; + int num3 = -1870798202; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004d; + case 0: + return false; + case 1: + return ChocoboQuestIds.Contains(currentQuest.Quest.Id); + } + continue; + IL_004d: + num = -1870798201; } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void OnInputStringSetup(AddonEvent type, AddonArgs args) { - if (_questController.IsRunning && IsChocoboQuestActive()) + int num = (_questController.IsRunning ? 1822557266 : 1822557269); + AtkUnitBase* address = default(AtkUnitBase*); + while (true) { - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; - if (LAddon.IsAddonReady(address)) + int num2 = num; + int num3 = 1822557265; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: { string validatedChocoboName = GetValidatedChocoboName(_configuration.Advanced.ChocoboName); - _logger.LogInformation("Entering chocobo name: {Name}", validatedChocoboName); + _202B_202A_200B_200B_202A_202A_206C_202D_200F_206E_200D_200B_206B_200B_202A_200C_202E_206D_206A_206E_200C_200E_206A_206E_206C_206A_202A_206C_206C_200B_206B_206C_206B_206A_202B_202C_200C_200D_206F_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1006446610), new object[1] { validatedChocoboName }); FireInputStringCallback(address, validatedChocoboName); _awaitingConfirmation = true; + return; + } + case 6: + return; + case 2: + num = 1822557269; + break; + case 4: + return; + case 1: + address = (AtkUnitBase*)_200E_202E_206D_200B_206C_202B_200E_200C_200C_200D_200E_206F_200D_206A_200D_202A_202D_200E_206B_202A_206C_202D_200E_202A_202E_206D_202C_202E_206D_206D_202C_200F_206D_206D_200F_202B_202E_202B_206E_206E_202E(args).Address; + num = (_200F_206F_206E_206B_202C_202E_200F_206A_202D_206D_206A_200F_206A_202B_200E_202A_206E_200B_202D_206B_206E_206B_206F_206D_206C_202D_202C_202A_206D_202C_200C_202A_202A_206F_206D_206E_202E_202B_200D_200E_202E(address) ? 1822557268 : 1822557271); + break; + case 0: + return; + case 3: + num = (IsChocoboQuestActive() ? 1822557264 : 1822557265); + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void OnSelectYesNoSetup(AddonEvent type, AddonArgs args) { - if (_questController.IsRunning && _awaitingConfirmation) + int num = (_questController.IsRunning ? (-693008591) : (-693008586)); + AtkUnitBase* address = default(AtkUnitBase*); + while (true) { - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; - if (LAddon.IsAddonReady(address)) + int num2 = num; + int num3 = -693008590; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _logger.LogInformation("Confirming chocobo name"); + case 2: + return; + case 4: + return; + case 1: + return; + case 6: + _202B_202A_200B_200B_202A_202A_206C_202D_200F_206E_200D_200B_206B_200B_202A_200C_202E_206D_206A_206E_200C_200E_206A_206E_206C_206A_202A_206C_206C_200B_206B_206C_206B_206A_202B_202C_200C_200D_206F_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-410002708), Array.Empty()); ClickYes(address); _awaitingConfirmation = false; + return; + case 5: + address = (AtkUnitBase*)_200E_202E_206D_200B_206C_202B_200E_200C_200C_200D_200E_206F_200D_206A_200D_202A_202D_200E_206B_202A_206C_202D_200E_202A_202E_206D_202C_202E_206D_206D_202C_200F_206D_206D_200F_202B_202E_202B_206E_206E_202E(args).Address; + num = (_200F_206F_206E_206B_202C_202E_200F_206A_202D_206D_206A_200F_206A_202B_200E_202A_206E_200B_202D_206B_206E_206B_206F_206D_206C_202D_202C_202A_206D_202C_200C_202A_202A_206F_206D_206E_202E_202B_200D_200E_202E(address) ? (-693008588) : (-693008589)); + break; + case 0: + num = -693008586; + break; + case 3: + num = (_awaitingConfirmation ? (-693008585) : (-693008592)); + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] private static string GetValidatedChocoboName(string? configuredName) { - if (string.IsNullOrWhiteSpace(configuredName)) + int num = ((!_206D_202E_200E_202A_202E_200B_202B_200F_206E_200F_202C_202E_206C_200C_206E_202A_202D_200B_202B_206E_206B_206A_202D_202C_206B_200B_202D_206C_206A_202C_206C_206D_206B_206C_200C_200B_202B_206D_206E_200C_202E(configuredName)) ? 807668921 : 807668920); + string text = default(string); + while (true) { - return "Kweh"; + int num2 = num; + int num3 = 807668921; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = ((_200B_202B_206F_202D_202C_206F_200B_202E_202E_206D_200E_202B_202B_200F_202A_200E_206B_202C_206C_206D_206F_202B_202C_202C_200B_200C_200D_200D_206A_206F_202A_202E_202C_202D_202B_206C_200C_206D_200D_200F_202E(text) <= 20) ? 807668925 : 807668924); + break; + case 1: + return global::_003CModule_003E._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(-1639602730); + case 0: + text = _206B_202B_206E_206B_206F_202D_202D_200F_202A_200C_200B_202E_206B_206E_206B_200C_206B_206E_200D_200E_200E_202E_206E_202A_206C_206A_202E_206F_206B_202C_206E_206C_206D_200F_206A_202C_206E_200C_200E_200C_202E(configuredName); + num = ((_200B_202B_206F_202D_202C_206F_200B_202E_202E_206D_200E_202B_202B_200F_202A_200E_206B_202C_206C_206D_206F_202B_202C_202C_200B_200C_200D_200D_206A_206F_202A_202E_202C_202D_202B_206C_200C_206D_200D_200F_202E(text) < 2) ? 807668924 : 807668923); + break; + case 5: + return global::_003CModule_003E._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(-1096463492); + case 4: + return _202B_202B_206C_200C_202D_206C_200F_202B_200B_200B_206E_206D_206B_202A_206E_206F_202B_202A_200C_206F_206E_200E_200D_202C_206D_200C_206E_202D_206A_206C_206D_200C_206D_200D_206E_206B_206E_206C_206B_202E(_202A_206E_202A_202B_202A_206F_202B_202E_200B_206D_202D_202D_202C_202B_200B_202E_206A_200B_206E_200D_202C_206D_202A_200E_206C_206E_200E_202B_206E_200C_200D_200B_206A_200D_202B_206D_206B_206D_202C_202E(_200F_206E_206F_206A_206B_206F_206C_206E_206C_202A_200E_206D_206B_202D_206D_206E_200D_202A_202C_206A_206D_200C_206A_200D_202B_202D_206C_206B_202B_206A_202D_206E_200E_206E_200B_206D_202C_206A_202A_202E_202E(text, 0, 1)), (_200B_202B_206F_202D_202C_206F_200B_202E_202E_206D_200E_202B_202B_200F_202A_200E_206B_202C_206C_206D_206F_202B_202C_202C_200B_200C_200D_200D_206A_206F_202A_202E_202C_202D_202B_206C_200C_206D_200D_200F_202E(text) > 1) ? _200F_200E_206B_202E_206E_206A_206B_200E_200B_206A_202B_200D_202B_206F_206F_206F_202D_206F_200F_200F_206B_200D_206B_206E_200D_206E_206E_202B_202C_206E_206E_200E_202E_206D_206C_206C_206C_206E_202A_206E_202E(_202D_206D_200B_206E_202B_200F_206B_200B_206D_200F_202E_200D_206A_206F_200D_202E_200C_202D_206E_202A_206F_206B_206B_202A_200C_206C_206A_200B_206A_206C_202B_202B_202B_206A_202C_206B_206E_200D_206C_202C_202E(text, 1)) : string.Empty); + case 3: + num = 807668920; + break; + } } - string text = configuredName.Trim(); - if (text.Length < 2 || text.Length > 20) - { - return "Kweh"; - } - return text.Substring(0, 1).ToUpperInvariant() + ((text.Length > 1) ? text.Substring(1).ToLowerInvariant() : string.Empty); } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void FireInputStringCallback(AtkUnitBase* addon, string text) { AtkComponentNode* componentNodeById = addon->GetComponentNodeById(9u); - if (componentNodeById == null) + int num = ((componentNodeById != null) ? 1161429663 : 1161429658); + AtkComponentTextInput* asAtkComponentTextInput = default(AtkComponentTextInput*); + while (true) { - _logger.LogWarning("Could not find text input node in InputString addon"); - return; + int num2 = num; + int num3 = 1161429659; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + asAtkComponentTextInput = componentNodeById->GetAsAtkComponentTextInput(); + num = ((asAtkComponentTextInput != null) ? 1161429659 : 1161429656); + break; + case 3: + _202B_206C_200C_202C_200F_200C_202A_200D_202D_206D_202B_202C_200E_206C_206C_206D_206C_200B_206C_206A_202A_206A_202D_200E_202A_202A_202D_206B_206F_202E_202C_200F_202E_206A_202B_206F_200B_202B_206A_202D_202E((ILogger)_logger, global::_003CModule_003E._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(-1465025434), Array.Empty()); + return; + case 0: + { + asAtkComponentTextInput->SetText(text); + AtkValue* ptr = stackalloc AtkValue[2]; + ptr->Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int; + ptr->Int = 0; + byte[] array = _202A_202B_202A_200E_206F_200F_200F_206C_200B_206A_202A_200B_200F_202B_202B_206B_206F_202A_202E_200F_200E_206A_202D_206F_200C_202E_206B_200B_202D_206C_206E_202D_202D_200B_206A_200D_200B_200C_202A_202C_202E(_200F_200C_202C_206C_200C_206D_202C_206D_202C_200B_206B_206D_206D_202D_200B_206D_202B_206D_206C_206C_206D_206B_206F_206C_206A_202E_206A_200D_200F_202A_200E_202B_200D_206A_200B_206E_206E_206D_200C_200C_202E(), text); + int num7 = array.Length; + num3 = 1; + num4 = num7; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + nint num10 = _202B_202E_202A_200F_200E_202A_206A_202A_206C_202D_206A_202D_202B_200E_200F_206F_206E_200E_202B_200B_206E_206F_202B_200B_206A_200B_202B_200E_200C_200D_202D_206D_200C_202C_200F_202B_206D_206D_206A_202E_202E(num8 + (num9 + num9)); + _202D_200F_200B_206D_202E_206C_200C_206A_202B_200E_202B_202C_206E_206E_206C_200D_206B_202A_206B_206F_200F_206C_206E_200E_200C_206E_202A_202D_202C_202A_202B_200E_202D_200E_200C_202A_202D_200F_200D_200E_202E(array, 0, num10, array.Length); + _200D_206D_200B_202C_202C_200B_206E_206C_206C_200B_206E_206A_206E_200F_202B_202B_202E_200D_202A_206A_202E_202D_200B_202E_206C_206F_200C_206A_200B_200F_200B_206D_202E_200F_202D_200E_202A_206B_200D_206C_202E(num10 + array.Length, (byte)0); + ptr[1].Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.String; + ptr[1].String = (byte*)num10; + addon->FireCallback(2u, ptr); + _206E_200B_200B_200E_200E_202B_202D_202E_206E_206B_206B_202D_206D_202D_200B_206D_202D_206E_206D_206C_202C_206F_206E_206A_206E_200E_206D_202D_206B_202A_202B_202A_206C_206A_200B_206D_202C_202A_200F_200E_202E(num10); + return; + } + case 1: + _202B_206C_200C_202C_200F_200C_202A_200D_202D_206D_202B_202C_200E_206C_206C_206D_206C_200B_206C_206A_202A_206A_202D_200E_202A_202A_202D_206B_206F_202E_202C_200F_202E_206A_202B_206F_200B_202B_206A_202D_202E((ILogger)_logger, global::_003CModule_003E._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(-740037157), Array.Empty()); + return; + case 2: + num = 1161429658; + break; + } } - AtkComponentTextInput* asAtkComponentTextInput = componentNodeById->GetAsAtkComponentTextInput(); - if (asAtkComponentTextInput == null) - { - _logger.LogWarning("Node is not a text input component"); - return; - } - asAtkComponentTextInput->SetText(text); - AtkValue* ptr = stackalloc AtkValue[2]; - ptr->Type = AtkValueType.Int; - ptr->Int = 0; - byte[] bytes = Encoding.UTF8.GetBytes(text); - nint num = Marshal.AllocHGlobal(bytes.Length + 1); - Marshal.Copy(bytes, 0, num, bytes.Length); - Marshal.WriteByte(num + bytes.Length, 0); - ptr[1].Type = AtkValueType.String; - ptr[1].String = (byte*)num; - addon->FireCallback(2u, ptr); - Marshal.FreeHGlobal(num); } private unsafe static void ClickYes(AtkUnitBase* addon) { AtkValue* ptr = stackalloc AtkValue[1]; - ptr->Type = AtkValueType.Int; + ptr->Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int; ptr->Int = 0; addon->FireCallback(1u, ptr); } + + static void _206F_206A_206D_206E_202D_202B_202A_202D_206A_202B_200C_206F_200B_200E_202C_200F_202D_202A_206E_202D_206B_206A_202E_206A_202A_206F_206B_202C_206D_200C_206D_202D_200C_202E_200D_202D_202D_206C_202E_202B_202E(IAddonLifecycle P_0, AddonEvent P_1, string P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.RegisterListener(P_1, P_2, P_3); + } + + static void _200D_200C_206E_202B_200C_200D_202C_200D_202A_200D_202D_200D_206D_200C_206D_202A_200B_206E_202A_206F_200B_202D_200B_200B_206B_200B_202D_206A_206E_200F_206C_200F_202C_200F_200F_206A_206F_206C_202B_202A_202E(IAddonLifecycle P_0, AddonEvent P_1, string P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.UnregisterListener(P_1, P_2, P_3); + } + + static AtkUnitBasePtr _200E_202E_206D_200B_206C_202B_200E_200C_200C_200D_200E_206F_200D_206A_200D_202A_202D_200E_206B_202A_206C_202D_200E_202A_202E_206D_202C_202E_206D_206D_202C_200F_206D_206D_200F_202B_202E_202B_206E_206E_202E(AddonArgs P_0) + { + return P_0.Addon; + } + + unsafe static bool _200F_206F_206E_206B_202C_202E_200F_206A_202D_206D_206A_200F_206A_202B_200E_202A_206E_200B_202D_206B_206E_206B_206F_206D_206C_202D_202C_202A_206D_202C_200C_202A_202A_206F_206D_206E_202E_202B_200D_200E_202E(AtkUnitBase* P_0) + { + return LAddon.IsAddonReady(P_0); + } + + static void _202B_202A_200B_200B_202A_202A_206C_202D_200F_206E_200D_200B_206B_200B_202A_200C_202E_206D_206A_206E_200C_200E_206A_206E_206C_206A_202A_206C_206C_200B_206B_206C_206B_206A_202B_202C_200C_200D_206F_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206D_202E_200E_202A_202E_200B_202B_200F_206E_200F_202C_202E_206C_200C_206E_202A_202D_200B_202B_206E_206B_206A_202D_202C_206B_200B_202D_206C_206A_202C_206C_206D_206B_206C_200C_200B_202B_206D_206E_200C_202E(string P_0) + { + return string.IsNullOrWhiteSpace(P_0); + } + + static string _206B_202B_206E_206B_206F_202D_202D_200F_202A_200C_200B_202E_206B_206E_206B_200C_206B_206E_200D_200E_200E_202E_206E_202A_206C_206A_202E_206F_206B_202C_206E_206C_206D_200F_206A_202C_206E_200C_200E_200C_202E(string P_0) + { + return P_0.Trim(); + } + + static int _200B_202B_206F_202D_202C_206F_200B_202E_202E_206D_200E_202B_202B_200F_202A_200E_206B_202C_206C_206D_206F_202B_202C_202C_200B_200C_200D_200D_206A_206F_202A_202E_202C_202D_202B_206C_200C_206D_200D_200F_202E(string P_0) + { + return P_0.Length; + } + + static string _200F_206E_206F_206A_206B_206F_206C_206E_206C_202A_200E_206D_206B_202D_206D_206E_200D_202A_202C_206A_206D_200C_206A_200D_202B_202D_206C_206B_202B_206A_202D_206E_200E_206E_200B_206D_202C_206A_202A_202E_202E(string P_0, int P_1, int P_2) + { + return P_0.Substring(P_1, P_2); + } + + static string _202A_206E_202A_202B_202A_206F_202B_202E_200B_206D_202D_202D_202C_202B_200B_202E_206A_200B_206E_200D_202C_206D_202A_200E_206C_206E_200E_202B_206E_200C_200D_200B_206A_200D_202B_206D_206B_206D_202C_202E(string P_0) + { + return P_0.ToUpperInvariant(); + } + + static string _202D_206D_200B_206E_202B_200F_206B_200B_206D_200F_202E_200D_206A_206F_200D_202E_200C_202D_206E_202A_206F_206B_206B_202A_200C_206C_206A_200B_206A_206C_202B_202B_202B_206A_202C_206B_206E_200D_206C_202C_202E(string P_0, int P_1) + { + return P_0.Substring(P_1); + } + + static string _200F_200E_206B_202E_206E_206A_206B_200E_200B_206A_202B_200D_202B_206F_206F_206F_202D_206F_200F_200F_206B_200D_206B_206E_200D_206E_206E_202B_202C_206E_206E_200E_202E_206D_206C_206C_206C_206E_202A_206E_202E(string P_0) + { + return P_0.ToLowerInvariant(); + } + + static string _202B_202B_206C_200C_202D_206C_200F_202B_200B_200B_206E_206D_206B_202A_206E_206F_202B_202A_200C_206F_206E_200E_200D_202C_206D_200C_206E_202D_206A_206C_206D_200C_206D_200D_206E_206B_206E_206C_206B_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _202B_206C_200C_202C_200F_200C_202A_200D_202D_206D_202B_202C_200E_206C_206C_206D_206C_200B_206C_206A_202A_206A_202D_200E_202A_202A_202D_206B_206F_202E_202C_200F_202E_206A_202B_206F_200B_202B_206A_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static Encoding _200F_200C_202C_206C_200C_206D_202C_206D_202C_200B_206B_206D_206D_202D_200B_206D_202B_206D_206C_206C_206D_206B_206F_206C_206A_202E_206A_200D_200F_202A_200E_202B_200D_206A_200B_206E_206E_206D_200C_200C_202E() + { + return Encoding.UTF8; + } + + static byte[] _202A_202B_202A_200E_206F_200F_200F_206C_200B_206A_202A_200B_200F_202B_202B_206B_206F_202A_202E_200F_200E_206A_202D_206F_200C_202E_206B_200B_202D_206C_206E_202D_202D_200B_206A_200D_200B_200C_202A_202C_202E(Encoding P_0, string P_1) + { + return P_0.GetBytes(P_1); + } + + static nint _202B_202E_202A_200F_200E_202A_206A_202A_206C_202D_206A_202D_202B_200E_200F_206F_206E_200E_202B_200B_206E_206F_202B_200B_206A_200B_202B_200E_200C_200D_202D_206D_200C_202C_200F_202B_206D_206D_206A_202E_202E(int P_0) + { + return Marshal.AllocHGlobal(P_0); + } + + static void _202D_200F_200B_206D_202E_206C_200C_206A_202B_200E_202B_202C_206E_206E_206C_200D_206B_202A_206B_206F_200F_206C_206E_200E_200C_206E_202A_202D_202C_202A_202B_200E_202D_200E_200C_202A_202D_200F_200D_200E_202E(byte[] P_0, int P_1, nint P_2, int P_3) + { + Marshal.Copy(P_0, P_1, P_2, P_3); + } + + static void _200D_206D_200B_202C_202C_200B_206E_206C_206C_200B_206E_206A_206E_200F_202B_202B_202E_200D_202A_206A_202E_202D_200B_202E_206C_206F_200C_206A_200B_200F_200B_206D_202E_200F_202D_200E_202A_206B_200D_206C_202E(nint P_0, byte P_1) + { + Marshal.WriteByte(P_0, P_1); + } + + static void _206E_200B_200B_200E_200E_202B_202D_202E_206E_206B_206B_202D_206D_202D_200B_206D_202D_206E_206D_206C_202C_206F_206E_206A_206E_200E_206D_202D_206B_202A_202B_202A_206C_206A_200B_206D_202C_202A_200F_200E_202E(nint P_0) + { + Marshal.FreeHGlobal(P_0); + } + + static QuestId _206C_206C_202C_202A_202B_202C_202C_202C_202D_200C_200D_206D_202E_200E_202E_206D_206A_202C_206E_206E_202C_200B_206D_200C_202B_206E_202D_206B_206F_206B_200F_206B_202D_206C_202C_200B_206F_206E_206E_202C_202E(ushort P_0) + { + return new QuestId(P_0); + } } diff --git a/Questionable/Questionable.Controller.GameUi/CraftworksSupplyController.cs b/Questionable/Questionable.Controller.GameUi/CraftworksSupplyController.cs index 26bced9e..0a428427 100644 --- a/Questionable/Questionable.Controller.GameUi/CraftworksSupplyController.cs +++ b/Questionable/Questionable.Controller.GameUi/CraftworksSupplyController.cs @@ -1,7 +1,10 @@ using System; +using System.Runtime.CompilerServices; using System.Threading; +using System.Threading.Tasks; using Dalamud.Game.Addon.Lifecycle; using Dalamud.Game.Addon.Lifecycle.AddonArgTypes; +using Dalamud.Game.NativeWrapper; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.UI; using FFXIVClientStructs.FFXIV.Component.GUI; @@ -24,6 +27,7 @@ internal sealed class CraftworksSupplyController : IDisposable private bool ShouldHandleUiInteractions => _questController.IsRunning; + [MethodImpl(MethodImplOptions.NoInlining)] public CraftworksSupplyController(QuestController questController, IAddonLifecycle addonLifecycle, IGameGui gameGui, IFramework framework, ILogger logger) { _questController = questController; @@ -31,125 +35,273 @@ internal sealed class CraftworksSupplyController : IDisposable _gameGui = gameGui; _framework = framework; _logger = logger; - _addonLifecycle.RegisterListener(AddonEvent.PostReceiveEvent, "ContextIconMenu", ContextIconMenuPostReceiveEvent); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "BankaCraftworksSupply", BankaCraftworksSupplyPostUpdate); + _206A_206B_206F_200B_200D_206D_200F_200D_202D_206B_200E_206B_200F_206D_200F_206F_206C_206A_206B_206F_202D_206B_206D_206B_206F_206F_202B_202C_200B_206C_206D_200F_200F_206E_206F_206A_202E_206B_200B_206D_202E(_addonLifecycle, AddonEvent.PostReceiveEvent, global::_003CModule_003E._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(-1810521484), (IAddonLifecycle.AddonEventDelegate)ContextIconMenuPostReceiveEvent); + _206A_206B_206F_200B_200D_206D_200F_200D_202D_206B_200E_206B_200F_206D_200F_206F_206C_206A_206B_206F_202D_206B_206D_206B_206F_206F_202B_202C_200B_206C_206D_200F_200F_206E_206F_206A_202E_206B_200B_206D_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-145476245), (IAddonLifecycle.AddonEventDelegate)BankaCraftworksSupplyPostUpdate); } private unsafe void BankaCraftworksSupplyPostUpdate(AddonEvent type, AddonArgs args) { - if (ShouldHandleUiInteractions) + int num = (ShouldHandleUiInteractions ? (-1071885415) : (-1071885414)); + while (true) { - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; - InteractWithBankaCraftworksSupply(address); + int num2 = num; + int num3 = -1071885413; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + { + AtkUnitBase* address = (AtkUnitBase*)_202D_202C_206E_200E_200F_200C_200B_200E_202B_206B_200D_200F_200F_206A_202E_202A_200B_202B_206E_200C_206D_202B_200C_202C_200B_202E_200D_200E_206D_206C_202B_206A_200D_206C_206C_200D_200C_200C_202E(args).Address; + InteractWithBankaCraftworksSupply(address); + return; + } + case 1: + return; + case 0: + goto IL_005b; + } + continue; + IL_005b: + num = -1071885414; } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void InteractWithBankaCraftworksSupply() { - if (_gameGui.TryGetAddonByName("BankaCraftworksSupply", out var addonPtr)) + AtkUnitBase* addonPtr; + int num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(473068994), out addonPtr)) ? 1997830523 : 1997830520); + while (true) { - InteractWithBankaCraftworksSupply(addonPtr); + int num2 = num; + int num3 = 1997830522; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return; + case 2: + InteractWithBankaCraftworksSupply(addonPtr); + num = 1997830523; + break; + case 0: + num = 1997830520; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void InteractWithBankaCraftworksSupply(AtkUnitBase* addon) { AtkValue* atkValues = addon->AtkValues; uint uInt = atkValues[7].UInt; - uint num = 6 - uInt; - for (int i = 0; i < num; i++) + int num = (int)uInt; + int num2 = 6; + uint num3 = (uint)(~(~num2 + num)); + int num4 = 0; + int num5 = 571288913; + while (true) { - if (atkValues[31 + i].UInt == 0) + int num6 = num5; + num = 571288917; + num2 = num6; + int num7 = num2 + num; + int num8 = num2 & num; + switch (num7 - (num8 + num8)) { - _logger.LogInformation("Selecting an item for slot {Slot}", i); + case 7: + _200F_200E_206D_202E_206A_206E_202E_202E_200E_206F_200E_206A_202E_200E_202C_200E_200D_202C_206B_200C_202A_202C_206E_200B_200D_206A_202C_200E_200F_206E_206C_200C_202B_200D_200B_202B_202E_200E_202A_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-1814180026), Array.Empty()); + addon->FireCallbackInt(0); + num5 = 571288916; + break; + case 2: + { + int num11 = num4; + num = 1; + num2 = num11; + int num12 = num2 ^ num; + int num13 = num2 & num; + num4 = num12 + (num13 + num13); + num5 = 571288913; + break; + } + case 3: + num5 = 571288913; + break; + case 1: + return; + case 5: + { + _200F_200E_206D_202E_206A_206E_202E_202E_200E_206F_200E_206A_202E_200E_202C_200E_200D_202C_206B_200C_202A_202C_206E_200B_200D_206A_202C_200E_200F_206E_206C_200C_202B_200D_200B_202B_202E_200E_202A_206C_202E((ILogger)_logger, global::_003CModule_003E._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(2009382844), new object[1] { num4 }); AtkValue* values = stackalloc AtkValue[2] { new AtkValue { - Type = AtkValueType.Int, + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int, Int = 2 }, new AtkValue { - Type = AtkValueType.Int, - Int = i + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int, + Int = num4 } }; addon->FireCallback(2u, values); return; } - } - if (atkValues[31].UInt != 0) - { - _logger.LogInformation("Confirming turn-in"); - addon->FireCallbackInt(0); - } - } - - private unsafe void ContextIconMenuPostReceiveEvent(AddonEvent type, AddonArgs args) - { - if (!ShouldHandleUiInteractions) - { - return; - } - AddonContextIconMenu* address = (AddonContextIconMenu*)args.Addon.Address; - if (!address->IsVisible) - { - return; - } - ushort blockedParentId = address->BlockedParentId; - if (blockedParentId == 0) - { - return; - } - AtkUnitBase* addonById = AtkStage.Instance()->RaptureAtkUnitManager->GetAddonById(blockedParentId); - if (addonById->NameString == "BankaCraftworksSupply") - { - _logger.LogInformation("Picking item for {AddonName}", addonById->NameString); - AtkValue* values = stackalloc AtkValue[5] + case 4: + num5 = ((num4 < num3) ? 571288915 : 571288917); + break; + case 0: + num5 = ((atkValues[31].UInt == 0) ? 571288916 : 571288914); + break; + case 6: { - new AtkValue - { - Type = AtkValueType.Int, - Int = 0 - }, - new AtkValue - { - Type = AtkValueType.Int, - Int = 0 - }, - new AtkValue - { - Type = AtkValueType.UInt, - UInt = 20802u - }, - new AtkValue - { - Type = AtkValueType.UInt, - UInt = 0u - }, - new AtkValue - { - Type = AtkValueType.Undefined, - Int = 0 - } - }; - address->FireCallback(5u, values); - address->Close(fireCallback: true); - if (addonById->NameString == "BankaCraftworksSupply") - { - _framework.RunOnTick((Action)InteractWithBankaCraftworksSupply, TimeSpan.FromMilliseconds(50L), 0, default(CancellationToken)); + num = num4; + num2 = 31; + int num9 = num2 ^ num; + int num10 = num2 & num; + num5 = ((atkValues[num9 + (num10 + num10)].UInt != 0) ? 571288919 : 571288912); + break; + } } } - else + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void ContextIconMenuPostReceiveEvent(AddonEvent type, AddonArgs args) + { + int num = (ShouldHandleUiInteractions ? 127250467 : 127250479); + AtkUnitBase* addonById = default(AtkUnitBase*); + ushort blockedParentId = default(ushort); + AddonContextIconMenu* address = default(AddonContextIconMenu*); + while (true) { - _logger.LogTrace("Ignoring contextmenu event for {AddonName}", addonById->NameString); + int num2 = num; + int num3 = 127250475; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + return; + case 10: + addonById = AtkStage.Instance()->RaptureAtkUnitManager->GetAddonById(blockedParentId); + num = ((!_206B_200E_202C_202E_200F_200E_206C_202E_206F_200E_202D_200F_200D_202E_200E_200E_206F_206E_200E_206F_200B_202D_200B_206D_202B_206A_200D_206A_202E_200B_202A_206E_202B_206F_202B_200B_200E_206B_200B_202B_202E(addonById->NameString, global::_003CModule_003E._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(-145476245))) ? 127250475 : 127250473); + break; + case 4: + return; + case 5: + return; + case 9: + num = 127250479; + break; + case 2: + { + _200F_200E_206D_202E_206A_206E_202E_202E_200E_206F_200E_206A_202E_200E_202C_200E_200D_202C_206B_200C_202A_202C_206E_200B_200D_206A_202C_200E_200F_206E_206C_200C_202B_200D_200B_202B_202E_200E_202A_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1861072248), new object[1] { addonById->NameString }); + AtkValue* values = stackalloc AtkValue[5] + { + new AtkValue + { + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int, + Int = 0 + }, + new AtkValue + { + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int, + Int = 0 + }, + new AtkValue + { + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.UInt, + UInt = 20802u + }, + new AtkValue + { + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.UInt, + UInt = 0u + }, + new AtkValue + { + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Undefined, + Int = 0 + } + }; + address->FireCallback(5u, values); + address->Close(fireCallback: true); + num = ((!_206B_200E_202C_202E_200F_200E_206C_202E_206F_200E_202D_200F_200D_202E_200E_200E_206F_206E_200E_206F_200B_202D_200B_206D_202B_206A_200D_206A_202E_200B_202A_206E_202B_206F_202B_200B_200E_206B_200B_202B_202E(addonById->NameString, global::_003CModule_003E._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(473068994))) ? 127250476 : 127250477); + break; + } + case 8: + address = (AddonContextIconMenu*)_202D_202C_206E_200E_200F_200C_200B_200E_202B_206B_200D_200F_200F_206A_202E_202A_200B_202B_206E_200C_206D_202B_200C_202C_200B_202E_200D_200E_206D_206C_202B_206A_200D_206C_206C_200D_200C_200C_202E(args).Address; + num = (address->IsVisible ? 127250472 : 127250474); + break; + case 1: + return; + case 3: + blockedParentId = address->BlockedParentId; + num = ((blockedParentId != 0) ? 127250465 : 127250478); + break; + case 6: + _206E_202E_200E_200E_200D_206B_200E_200F_206E_202B_202E_202C_202C_206D_202B_202B_206D_206C_206A_206B_206D_202E_206D_202A_206B_202A_200F_206B_200B_202A_202D_200E_206C_200D_200E_206A_202A_200F_200F_200D_202E(_framework, (Action)InteractWithBankaCraftworksSupply, TimeSpan.FromMilliseconds(50L), 0, default(CancellationToken)); + return; + case 0: + _200D_200B_202D_200D_200D_202D_200F_206A_202C_206A_200F_206F_202E_206A_206C_206D_200B_206F_206D_206F_206F_200E_202B_202D_202E_202E_200F_206A_200E_200B_206B_202B_206E_200F_200C_202A_206E_206E_200E_202E((ILogger)_logger, global::_003CModule_003E._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(599931769), new object[1] { addonById->NameString }); + num = 127250476; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] public void Dispose() { - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "BankaCraftworksSupply", BankaCraftworksSupplyPostUpdate); - _addonLifecycle.UnregisterListener(AddonEvent.PostReceiveEvent, "ContextIconMenu", ContextIconMenuPostReceiveEvent); + _202C_202A_200D_206E_206B_206E_202E_206F_200C_202D_200E_202A_202D_202A_206E_202D_200E_202C_206E_202B_206F_206F_200F_206D_200D_200E_202B_206D_202C_202C_206F_202C_200C_206F_200F_206B_202E_200F_202C_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-145476245), (IAddonLifecycle.AddonEventDelegate)BankaCraftworksSupplyPostUpdate); + _202C_202A_200D_206E_206B_206E_202E_206F_200C_202D_200E_202A_202D_202A_206E_202D_200E_202C_206E_202B_206F_206F_200F_206D_200D_200E_202B_206D_202C_202C_206F_202C_200C_206F_200F_206B_202E_200F_202C_202E(_addonLifecycle, AddonEvent.PostReceiveEvent, global::_003CModule_003E._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(-1517352896), (IAddonLifecycle.AddonEventDelegate)ContextIconMenuPostReceiveEvent); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _206A_206B_206F_200B_200D_206D_200F_200D_202D_206B_200E_206B_200F_206D_200F_206F_206C_206A_206B_206F_202D_206B_206D_206B_206F_206F_202B_202C_200B_206C_206D_200F_200F_206E_206F_206A_202E_206B_200B_206D_202E(IAddonLifecycle P_0, AddonEvent P_1, string P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.RegisterListener(P_1, P_2, P_3); + } + + static AtkUnitBasePtr _202D_202C_206E_200E_200F_200C_200B_200E_202B_206B_200D_200F_200F_206A_202E_202A_200B_202B_206E_200C_206D_202B_200C_202C_200B_202E_200D_200E_206D_206C_202B_206A_200D_206C_206C_200D_200C_200C_202E(AddonArgs P_0) + { + return P_0.Addon; + } + + static void _200F_200E_206D_202E_206A_206E_202E_202E_200E_206F_200E_206A_202E_200E_202C_200E_200D_202C_206B_200C_202A_202C_206E_200B_200D_206A_202C_200E_200F_206E_206C_200C_202B_200D_200B_202B_202E_200E_202A_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206B_200E_202C_202E_200F_200E_206C_202E_206F_200E_202D_200F_200D_202E_200E_200E_206F_206E_200E_206F_200B_202D_200B_206D_202B_206A_200D_206A_202E_200B_202A_206E_202B_206F_202B_200B_200E_206B_200B_202B_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static Task _206E_202E_200E_200E_200D_206B_200E_200F_206E_202B_202E_202C_202C_206D_202B_202B_206D_206C_206A_206B_206D_202E_206D_202A_206B_202A_200F_206B_200B_202A_202D_200E_206C_200D_200E_206A_202A_200F_200F_200D_202E(IFramework P_0, Action P_1, TimeSpan P_2, int P_3, CancellationToken P_4) + { + return P_0.RunOnTick(P_1, P_2, P_3, P_4); + } + + static void _200D_200B_202D_200D_200D_202D_200F_206A_202C_206A_200F_206F_202E_206A_206C_206D_200B_206F_206D_206F_206F_200E_202B_202D_202E_202E_200F_206A_200E_200B_206B_202B_206E_200F_200C_202A_206E_206E_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static void _202C_202A_200D_206E_206B_206E_202E_206F_200C_202D_200E_202A_202D_202A_206E_202D_200E_202C_206E_202B_206F_206F_200F_206D_200D_200E_202B_206D_202C_202C_206F_202C_200C_206F_200F_206B_202E_200F_202C_202E(IAddonLifecycle P_0, AddonEvent P_1, string P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.UnregisterListener(P_1, P_2, P_3); } } diff --git a/Questionable/Questionable.Controller.GameUi/CreditsController.cs b/Questionable/Questionable.Controller.GameUi/CreditsController.cs index c184d1fa..ec751e78 100644 --- a/Questionable/Questionable.Controller.GameUi/CreditsController.cs +++ b/Questionable/Questionable.Controller.GameUi/CreditsController.cs @@ -1,6 +1,11 @@ using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading; using Dalamud.Game.Addon.Lifecycle; using Dalamud.Game.Addon.Lifecycle.AddonArgTypes; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.NativeWrapper; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Component.GUI; using Microsoft.Extensions.Logging; @@ -9,6 +14,84 @@ namespace Questionable.Controller.GameUi; internal sealed class CreditsController : IDisposable { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass23_0 + { + public CreditsController _003C_003E4__this; + + public AddonArgs args; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal unsafe void _003CCreditScrollPostSetup_003Eb__0() + { + _202C_202D_202B_206B_200E_200F_200E_206B_206A_206D_206B_200B_200F_202E_206C_206F_202C_206C_206E_200D_202B_206A_206D_202B_202D_206D_206C_202E_202C_200E_200F_202D_206B_202C_202B_206B_202E_200F_206F_202E((ILogger)_003C_003E4__this._logger, global::_003CModule_003E._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(-1595844089), Array.Empty()); + AtkUnitBase* address = (AtkUnitBase*)_202C_200E_200E_202A_206A_200C_202B_206F_206C_206F_200C_206F_206E_200C_200D_202C_202C_206F_202A_206C_202C_202A_202B_200E_206E_200F_202C_206E_202B_206B_202A_200C_200D_200C_206C_202A_200D_202E_200D_206B_202E(args).Address; + address->FireCallbackInt(-2); + } + + static void _202C_202D_202B_206B_200E_200F_200E_206B_206A_206D_206B_200B_200F_202E_206C_206F_202C_206C_206E_200D_202B_206A_206D_202B_202D_206D_206C_202E_202C_200E_200F_202D_206B_202C_202B_206B_202E_200F_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static AtkUnitBasePtr _202C_200E_200E_202A_206A_200C_202B_206F_206C_206F_200C_206F_206E_200C_200D_202C_202C_206F_202A_206C_202C_202A_202B_200E_206E_200F_202C_206E_202B_206B_202A_200C_200D_200C_206C_202A_200D_202E_200D_206B_202E(AddonArgs P_0) + { + return P_0.Addon; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass24_0 + { + public CreditsController _003C_003E4__this; + + public AddonArgs args; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal unsafe void _003CCreditPostSetup_003Eb__0() + { + _206F_202B_200E_206B_200F_206B_206D_202E_200B_202C_202C_206E_200C_202D_202D_200B_202B_200E_202C_206B_206D_200D_200D_202C_200F_200C_200E_202C_206F_206B_200B_202D_200E_202B_206E_202A_200F_200D_200C_202E((ILogger)_003C_003E4__this._logger, global::_003CModule_003E._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(-1464866894), Array.Empty()); + AtkUnitBase* address = (AtkUnitBase*)_202E_206A_206F_206F_200D_200D_202B_206B_206F_200D_202E_202E_202C_202A_202C_202E_206A_206D_206D_206D_206D_200E_202B_200D_200B_200F_206F_202D_202B_206E_200F_206E_206A_206A_200E_200B_202D_206A_202C_202C_202E(args).Address; + address->FireCallbackInt(-2); + } + + static void _206F_202B_200E_206B_200F_206B_206D_202E_200B_202C_202C_206E_200C_202D_202D_200B_202B_200E_202C_206B_206D_200D_200D_202C_200F_200C_200E_202C_206F_206B_200B_202D_200E_202B_206E_202A_200F_200D_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static AtkUnitBasePtr _202E_206A_206F_206F_200D_200D_202B_206B_206F_200D_202E_202E_202C_202A_202C_202E_206A_206D_206D_206D_206D_200E_202B_200D_200B_200F_206F_202D_202B_206E_200F_206E_206A_206A_200E_200B_202D_206A_202C_202C_202E(AddonArgs P_0) + { + return P_0.Addon; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass25_0 + { + public CreditsController _003C_003E4__this; + + public AddonArgs args; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal unsafe void _003CCreditPlayerPostSetup_003Eb__0() + { + _200C_206E_200C_200D_202D_202C_206C_200B_200C_206B_202B_200B_202A_206B_202C_206B_202A_206F_206E_206B_200E_202A_200E_200E_200C_202D_202A_202B_200E_202A_200C_200C_206D_200C_202D_200F_200F_202D_206B_202A_202E((ILogger)_003C_003E4__this._logger, global::_003CModule_003E._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(586600745), Array.Empty()); + AtkUnitBase* address = (AtkUnitBase*)_200D_200B_202D_202A_200B_200F_200B_206F_206C_202C_202C_206E_206D_206E_200D_200D_200F_206A_202C_206B_206A_202A_200F_202A_206C_206E_206E_202D_202B_206B_202A_202B_200B_200D_206A_202D_200D_206B_202E_202E(args).Address; + address->Close(fireCallback: true); + } + + static void _200C_206E_200C_200D_202D_202C_206C_200B_200C_206B_202B_200B_202A_206B_202C_206B_202A_206F_206E_206B_200E_202A_200E_200E_200C_202D_202A_202B_200E_202A_200C_200C_206D_200C_202D_200F_200F_202D_206B_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static AtkUnitBasePtr _200D_200B_202D_202A_200B_200F_200B_206F_206C_202C_202C_206E_206D_206E_200D_200D_200F_206A_202C_206B_206A_202A_200F_202A_206C_206E_206E_202D_202B_206B_202A_202B_200B_200D_206A_202D_200D_206B_202E_202E(AddonArgs P_0) + { + return P_0.Addon; + } + } + private static CreditsController? _instance; private static IAddonLifecycle? _registeredLifecycle; @@ -28,11 +111,11 @@ internal sealed class CreditsController : IDisposable _instance?.CreditPlayerPostSetup(t, a); }; - private static readonly string[] CreditScrollArray = new string[1] { "CreditScroll" }; + private static readonly string[] CreditScrollArray = new string[1] { global::_003CModule_003E._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(-1480537905) }; - private static readonly string[] CreditArray = new string[1] { "Credit" }; + private static readonly string[] CreditArray = new string[1] { global::_003CModule_003E._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(-1278080404) }; - private static readonly string[] CreditPlayerArray = new string[1] { "CreditPlayer" }; + private static readonly string[] CreditPlayerArray = new string[1] { global::_003CModule_003E._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(1133859703) }; private static bool _deferDisposeUntilCutsceneEnds; @@ -42,211 +125,574 @@ 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(); + private static readonly object _lock = _202A_206C_206F_202E_200B_206A_206D_202C_202B_200E_200E_206E_206B_202D_206B_206E_200D_202A_202C_206B_206A_202D_200C_206D_202E_200F_202A_206B_200E_206E_202C_200F_200D_202C_206A_200E_206C_206B_202A_206D_202E(); - public CreditsController(IAddonLifecycle addonLifecycle, Configuration configuration, ILogger logger) + [MethodImpl(MethodImplOptions.NoInlining)] + public CreditsController(IAddonLifecycle addonLifecycle, Configuration configuration, ICondition condition, ILogger logger) { _addonLifecycle = addonLifecycle; _configuration = configuration; + _condition = condition; _logger = logger; - lock (_lock) + object obj = _lock; + bool flag = false; + try { + _200B_200F_202B_200E_200D_206E_200E_206D_206F_202D_206C_200B_206E_200D_202B_206E_202C_200E_202D_200E_202D_202D_206C_202B_200D_202B_206C_202B_202C_206B_202E_202A_202E_202C_206A_206A_206E_206A_206D_202E_202E(obj, ref flag); if (_instance == null) { _instance = this; _registeredLifecycle = _addonLifecycle; - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, CreditScrollArray, _creditScrollHandler); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, CreditArray, _creditHandler); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, CreditPlayerArray, _creditPlayerHandler); + _200C_202A_202A_202B_202A_200F_200F_206A_206C_200F_200F_202B_206A_206F_202B_200B_200B_202C_206D_206A_202B_200F_200F_202D_202D_200B_206A_200D_200D_202C_202B_200E_200F_200F_200D_206C_206D_202D_206B_200F_202E(_addonLifecycle, AddonEvent.PostSetup, (IEnumerable)CreditScrollArray, _creditScrollHandler); + _200C_202A_202A_202B_202A_200F_200F_206A_206C_200F_200F_202B_206A_206F_202B_200B_200B_202C_206D_206A_202B_200F_200F_202D_202D_200B_206A_200D_200D_202C_202B_200E_200F_200F_200D_206C_206D_202D_206B_200F_202E(_addonLifecycle, AddonEvent.PostSetup, (IEnumerable)CreditArray, _creditHandler); + _200C_202A_202A_202B_202A_200F_200F_206A_206C_200F_200F_202B_206A_206F_202B_200B_200B_202C_206D_206A_202B_200F_200F_202D_202D_200B_206A_200D_200D_202C_202B_200E_200F_200F_200D_206C_206D_202D_206B_200F_202E(_addonLifecycle, AddonEvent.PostSetup, (IEnumerable)CreditPlayerArray, _creditPlayerHandler); + _202D_200E_206B_200C_206D_200C_202C_206E_200E_206C_206C_200F_206D_206C_206B_202E_202B_206F_200F_206D_206B_206F_200B_200D_206E_200F_200C_202A_202B_200F_202D_200E_202E_206B_202C_206C_206F_200B_206B_202C_202E(_condition, (ICondition.ConditionChangeDelegate)OnConditionChange); + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-1181221171), new object[1] { _maxConsecutiveSkips }); + } + } + finally + { + if (flag) + { + _200C_206A_200D_200F_202D_200B_206C_206B_202A_202C_202A_200B_202A_202E_206E_202B_206D_200F_206A_200C_202B_200F_200D_206F_206F_200F_200B_200C_202D_202D_206B_200C_206A_206E_200B_206D_200C_200E_206E_202E(obj); + } + } + } + + private void OnConditionChange(ConditionFlag flag, bool value) + { + int num = ((flag == ConditionFlag.OccupiedInCutSceneEvent) ? 186472363 : 186472362); + bool flag2 = default(bool); + while (true) + { + int num2 = num; + int num3 = 186472361; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 10: + num = 186472362; + break; + case 0: + num = ((!value) ? 186472366 : 186472352); + break; + case 4: + num = ((flag != ConditionFlag.WatchingCutscene78) ? 186472367 : 186472363); + break; + case 11: + NotifyCutsceneEnded(); + num = 186472360; + break; + case 9: + DeferDisposeUntilCutsceneEnds(); + return; + case 12: + num = (flag2 ? 186472361 : 186472364); + break; + case 6: + flag2 = false; + num = 186472357; + break; + case 2: + flag2 = true; + num = 186472357; + break; + case 5: + return; + case 13: + num = (_206F_200E_202C_206A_200D_202D_206A_202A_202A_202B_200B_202D_200B_200F_200C_206E_206E_202B_206E_200E_206E_206A_202B_206A_200E_202D_200C_206C_200E_200D_206B_206E_202A_200B_200B_200D_202E_202C_206F_202B_202E(_condition, ConditionFlag.WatchingCutscene78) ? 186472360 : 186472354); + break; + case 8: + num = (_206F_200E_202C_206A_200D_202D_206A_202A_202A_202B_200B_202D_200B_200F_200C_206E_206E_202B_206E_200E_206E_206A_202B_206A_200E_202D_200C_206C_200E_200D_206B_206E_202A_200B_200B_200D_202E_202C_206F_202B_202E(_condition, ConditionFlag.WatchingCutscene) ? 186472360 : 186472356); + break; + case 1: + return; + case 7: + num = (_206F_200E_202C_206A_200D_202D_206A_202A_202A_202B_200B_202D_200B_200F_200C_206E_206E_202B_206E_200E_206E_206A_202B_206A_200E_202D_200C_206C_200E_200D_206B_206E_202A_200B_200B_200D_202E_202C_206F_202B_202E(_condition, ConditionFlag.OccupiedInCutSceneEvent) ? 186472360 : 186472353); + break; + case 3: + num = ((flag == ConditionFlag.WatchingCutscene) ? 186472363 : 186472365); + break; } } } private unsafe void CreditScrollPostSetup(AddonEvent type, AddonArgs args) { - HandleCutscene(delegate + HandleCutscene([MethodImpl(MethodImplOptions.NoInlining)] () => { - _logger.LogInformation("CreditScrollPostSetup: attempting to close credits sequence (scroll)."); - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; + _003C_003Ec__DisplayClass23_0._202C_202D_202B_206B_200E_200F_200E_206B_206A_206D_206B_200B_200F_202E_206C_206F_202C_206C_206E_200D_202B_206A_206D_202B_202D_206D_206C_202E_202C_200E_200F_202D_206B_202C_202B_206B_202E_200F_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1595844089), Array.Empty()); + AtkUnitBase* address = (AtkUnitBase*)_003C_003Ec__DisplayClass23_0._202C_200E_200E_202A_206A_200C_202B_206F_206C_206F_200C_206F_206E_200C_200D_202C_202C_206F_202A_206C_202C_202A_202B_200E_206E_200F_202C_206E_202B_206B_202A_200C_200D_200C_206C_202A_200D_202E_200D_206B_202E(args).Address; address->FireCallbackInt(-2); }, args); } private unsafe void CreditPostSetup(AddonEvent type, AddonArgs args) { - HandleCutscene(delegate + HandleCutscene([MethodImpl(MethodImplOptions.NoInlining)] () => { - _logger.LogInformation("CreditPostSetup: attempting to close credits sequence."); - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; + _003C_003Ec__DisplayClass24_0._206F_202B_200E_206B_200F_206B_206D_202E_200B_202C_202C_206E_200C_202D_202D_200B_202B_200E_202C_206B_206D_200D_200D_202C_200F_200C_200E_202C_206F_206B_200B_202D_200E_202B_206E_202A_200F_200D_200C_202E((ILogger)_logger, global::_003CModule_003E._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(-1464866894), Array.Empty()); + AtkUnitBase* address = (AtkUnitBase*)_003C_003Ec__DisplayClass24_0._202E_206A_206F_206F_200D_200D_202B_206B_206F_200D_202E_202E_202C_202A_202C_202E_206A_206D_206D_206D_206D_200E_202B_200D_200B_200F_206F_202D_202B_206E_200F_206E_206A_206A_200E_200B_202D_206A_202C_202C_202E(args).Address; address->FireCallbackInt(-2); }, args); } private unsafe void CreditPlayerPostSetup(AddonEvent type, AddonArgs args) { - HandleCutscene(delegate + HandleCutscene([MethodImpl(MethodImplOptions.NoInlining)] () => { - _logger.LogInformation("CreditPlayerPostSetup: attempting to close CreditPlayer."); - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; + _003C_003Ec__DisplayClass25_0._200C_206E_200C_200D_202D_202C_206C_200B_200C_206B_202B_200B_202A_206B_202C_206B_202A_206F_206E_206B_200E_202A_200E_200E_200C_202D_202A_202B_200E_202A_200C_200C_206D_200C_202D_200F_200F_202D_206B_202A_202E((ILogger)_logger, global::_003CModule_003E._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(586600745), Array.Empty()); + AtkUnitBase* address = (AtkUnitBase*)_003C_003Ec__DisplayClass25_0._200D_200B_202D_202A_200B_200F_200B_206F_206C_202C_202C_206E_206D_206E_200D_200D_200F_206A_202C_206B_206A_202A_200F_202A_206C_206E_206E_202D_202B_206B_202A_202B_200B_200D_206A_202D_200D_206B_202E_202E(args).Address; address->Close(fireCallback: true); }, args); } + [MethodImpl(MethodImplOptions.NoInlining)] private void HandleCutscene(Action nativeAction, AddonArgs args) { - if (_configuration.General.CinemaMode) + int num = ((!_configuration.General.CinemaMode) ? 1928788595 : 1928788597); + long valueOrDefault = default(long); + long num8 = default(long); + while (true) { - _logger.LogDebug("HandleCutscene: Cinema Mode enabled, not skipping cutscene."); - return; - } - long num = ((args.Addon.Address == IntPtr.Zero) ? 0 : ((IntPtr)args.Addon.Address).ToInt64()); - if (num == 0L) - { - _logger.LogInformation("HandleCutscene: Addon address is zero, skipping."); - return; - } - lock (_lock) - { - if (_lastHandledAt != DateTime.MinValue && DateTime.Now - _lastHandledAt > _consecutiveResetWindow) + int num2 = num; + int num3 = 1928788595; + int num4 = num2; + long num10; + switch ((num4 | num3) - (num4 & num3)) { - if (_handledConsecutiveCutscenes != 0) + case 3: + num = 1928788597; + break; + case 5: + num10 = 0L; + goto IL_0077; + case 2: + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-2015596937), Array.Empty()); + return; + case 0: + num = ((_206A_206F_200B_206C_200C_200C_206D_200D_206D_206D_202A_206E_200F_206E_206A_206A_200F_202D_206E_202D_202D_200C_206A_206A_200F_206F_202B_200D_206B_200B_200B_206C_202C_206F_200F_206D_200B_200B_206D_202A_202E(args).Address == IntPtr.Zero) ? 1928788598 : 1928788599); + break; + case 4: + num10 = ((IntPtr)_206A_206F_200B_206C_200C_200C_206D_200D_206D_206D_202A_206E_200F_206E_206A_206A_200F_202D_206E_202D_202D_200C_206A_206A_200F_206F_202B_200D_206B_200B_200B_206C_202C_206F_200F_206D_200B_200B_206D_202A_202E(args).Address).ToInt64(); + goto IL_0077; + case 6: + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(643918301), Array.Empty()); + return; + case 1: { - _logger.LogDebug("HandleCutscene: long pause detected ({Elapsed}), resetting consecutive counter (was {Was}).", DateTime.Now - _lastHandledAt, _handledConsecutiveCutscenes); + object obj = _lock; + bool flag = false; + try + { + _200B_200F_202B_200E_200D_206E_200E_206D_206F_202D_206C_200B_206E_200D_202B_206E_202C_200E_202D_200E_202D_202D_206C_202B_200D_202B_206C_202B_202C_206B_202E_202A_202E_202C_206A_206A_206E_206A_206D_202E_202E(obj, ref flag); + long? lastHandledAt = _lastHandledAt; + num = ((!lastHandledAt.HasValue) ? (-333719538) : (-333719537)); + while (true) + { + int num5 = num; + num3 = -333719546; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 5: + _handledConsecutiveCutscenes = 0; + num = -333719538; + break; + case 4: + num = ((_handledConsecutiveCutscenes < _maxConsecutiveSkips) ? (-333719551) : (-333719539)); + break; + case 9: + valueOrDefault = lastHandledAt.GetValueOrDefault(); + num = ((_206B_200C_206C_202E_200C_200F_200E_206E_202E_206C_206B_200F_202C_202E_200F_200B_206C_202A_200E_202C_206C_206E_206A_202D_202B_206B_202B_206E_200B_202A_206E_200B_206B_200F_202B_206A_200B_200F_206D_206F_202E() - valueOrDefault <= 10000) ? (-333719538) : (-333719548)); + break; + case 2: + num = ((_handledConsecutiveCutscenes == 0) ? (-333719549) : (-333719547)); + break; + case 10: + num = ((num8 != _lastHandledAddr) ? (-333719550) : (-333719552)); + break; + case 1: + { + long valueOrDefault2 = lastHandledAt.GetValueOrDefault(); + num = ((_206B_200C_206C_202E_200C_200F_200E_206E_202E_206C_206B_200F_202C_202E_200F_200B_206C_202A_200E_202C_206C_206E_206A_202D_202B_206B_202B_206E_200B_202A_206E_200B_206B_200F_202B_206A_200B_200F_206D_206F_202E() - valueOrDefault2 >= 500) ? (-333719550) : (-333719540)); + break; + } + case 3: + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(1948237893), new object[2] + { + _206B_200C_206C_202E_200C_200F_200E_206E_202E_206C_206B_200F_202C_202E_200F_200B_206C_202A_200E_202C_206C_206E_206A_202D_202B_206B_202B_206E_200B_202A_206E_200B_206B_200F_202B_206A_200B_200F_206D_206F_202E() - valueOrDefault, + _handledConsecutiveCutscenes + }); + num = -333719549; + break; + case 11: + _202E_202C_200F_200D_206C_200F_206B_200D_200C_200F_202D_206E_200E_202E_206E_206C_206B_202D_206B_200E_200B_200C_200B_200B_206E_202E_202C_202C_206E_200E_200F_206B_200B_206A_200B_200B_202D_206B_202D_200D_202E((ILogger)_logger, global::_003CModule_003E._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(767914834), new object[1] { _maxConsecutiveSkips }); + return; + case 0: + num = -333719537; + break; + case 8: + lastHandledAt = _lastHandledAt; + num = ((!lastHandledAt.HasValue) ? (-333719550) : (-333719545)); + break; + case 6: + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-915129815), new object[1] { num8 }); + return; + case 7: + { + _lastHandledAt = _206B_200C_206C_202E_200C_200F_200E_206E_202E_206C_206B_200F_202C_202E_200F_200B_206C_202A_200E_202C_206C_206E_206A_202D_202B_206B_202B_206E_200B_202A_206E_200B_206B_200F_202B_206A_200B_200F_206D_206F_202E(); + _lastHandledAddr = num8; + int handledConsecutiveCutscenes = _handledConsecutiveCutscenes; + num3 = 1; + num4 = handledConsecutiveCutscenes; + _handledConsecutiveCutscenes = (num4 | num3) + (num4 & num3); + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-84388314), new object[2] { _handledConsecutiveCutscenes, num8 }); + goto end_IL_0158; + } + } + continue; + end_IL_0158: + break; + } + } + finally + { + num = ((!flag) ? 1553266183 : 1553266182); + while (true) + { + int num9 = num; + num3 = 1553266183; + num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1553266182; + break; + case 0: + goto end_IL_03fc; + case 1: + _200C_206A_200D_200F_202D_200B_206C_206B_202A_202C_202A_200B_202A_202E_206E_202B_206D_200F_206A_200C_202B_200F_200D_206F_206F_200F_200B_200C_202D_202D_206B_200C_206A_206E_200B_206D_200C_200E_206E_202E(obj); + num = 1553266183; + break; + } + continue; + end_IL_03fc: + break; + } + } + try + { + nativeAction(); + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(1887133010), new object[1] { num8 }); + } + catch (Exception ex) + { + _206C_206C_202C_200C_202C_206E_206E_206A_202E_200F_202D_200B_202B_200C_206D_200B_202E_206A_200E_200F_206C_206D_206F_200E_206D_206F_202C_202B_206C_202D_200B_206E_200B_202A_206A_200D_202A_202A_200D_202A_202E((ILogger)_logger, ex, global::_003CModule_003E._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(873524230), new object[1] { num8 }); + } + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(2081767975), new object[2] { _handledConsecutiveCutscenes, _maxConsecutiveSkips }); + return; } - _handledConsecutiveCutscenes = 0; - } - if (DateTime.Now - _lastHandledAt < _reentrancySuppress && 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(); - return; - } - _lastHandledAt = DateTime.Now; - _lastHandledAddr = num; - _handledConsecutiveCutscenes++; - _logger.LogDebug("HandleCutscene: handling cutscene #{Count} (addr=0x{Address:X}).", _handledConsecutiveCutscenes, num); - } - try - { - nativeAction(); - _logger.LogInformation("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); + IL_0077: + num8 = num10; + num = ((num8 != 0L) ? 1928788594 : 1928788593); + break; } } } - 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; - } - + [MethodImpl(MethodImplOptions.NoInlining)] public static void DeferDisposeUntilCutsceneEnds() { - lock (_lock) + object obj = _lock; + bool flag = false; + try { + _200B_200F_202B_200E_200D_206E_200E_206D_206F_202D_206C_200B_206E_200D_202B_206E_202C_200E_202D_200E_202D_202D_206C_202B_200D_202B_206C_202B_202C_206B_202E_202A_202E_202C_206A_206A_206E_206A_206D_202E_202E(obj, ref flag); _deferDisposeUntilCutsceneEnds = true; - if (_instance != null) + int num = ((_instance == null) ? 1593867446 : 1593867445); + while (true) { - _instance._logger.LogDebug("CreditsController: deferring dispose until cutscene ends."); + int num2 = num; + int num3 = 1593867444; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1593867445; + break; + case 1: + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_instance._logger, global::_003CModule_003E._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(-1723920399), Array.Empty()); + num = 1593867446; + break; + case 2: + return; + } + } + } + finally + { + int num = ((!flag) ? (-821324345) : (-821324348)); + while (true) + { + int num7 = num; + int num3 = -821324347; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_00b5; + case 1: + _200C_206A_200D_200F_202D_200B_206C_206B_202A_202C_202A_200B_202A_202E_206E_202B_206D_200F_206A_200C_202B_200F_200D_206F_206F_200F_200B_200C_202D_202D_206B_200C_206A_206E_200B_206D_200C_200E_206E_202E(obj); + num = -821324345; + break; + case 0: + num = -821324348; + break; + } + continue; + end_IL_00b5: + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] public static void NotifyCutsceneEnded() { - lock (_lock) + object obj = _lock; + bool flag = false; + try { + _200B_200F_202B_200E_200D_206E_200E_206D_206F_202D_206C_200B_206E_200D_202B_206E_202C_200E_202D_200E_202D_202D_206C_202B_200D_202B_206C_202B_202C_206B_202E_202A_202E_202C_206A_206A_206E_206A_206D_202E_202E(obj, ref flag); _deferDisposeUntilCutsceneEnds = false; - if (_instance != null) + int num = ((_instance == null) ? 1205296441 : 1205296446); + while (true) { - _instance._logger.LogDebug("CreditsController: cutscene ended, processing pending dispose state."); + int num2 = num; + int num3 = 1205296442; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((_instance == null) ? 1205296442 : 1205296440); + break; + case 3: + num = ((!_pendingDispose) ? 1205296442 : 1205296443); + break; + case 4: + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_instance._logger, global::_003CModule_003E._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(1784202689), Array.Empty()); + num = 1205296441; + break; + case 2: + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_instance._logger, global::_003CModule_003E._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(1095714007), Array.Empty()); + _instance.Dispose(); + num = 1205296442; + break; + case 5: + num = 1205296446; + break; + case 0: + return; + } } - if (_pendingDispose && _instance != null) + } + finally + { + int num = ((!flag) ? (-15651437) : (-15651440)); + while (true) { - _instance._logger.LogDebug("CreditsController: pending dispose detected, performing unregister now."); - _instance.Dispose(); + int num5 = num; + int num3 = -15651439; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0132; + case 1: + _200C_206A_200D_200F_202D_200B_206C_206B_202A_202C_202A_200B_202A_202E_206E_202B_206D_200F_206A_200C_202B_200F_200D_206F_206F_200F_200B_200C_202D_202D_206B_200C_206A_206E_200B_206D_200C_200E_206E_202E(obj); + num = -15651437; + break; + case 0: + num = -15651440; + break; + } + continue; + end_IL_0132: + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] public void Dispose() { - lock (_lock) + object obj = _lock; + bool flag = false; + try { - if (_instance != this) + _200B_200F_202B_200E_200D_206E_200E_206D_206F_202D_206C_200B_206E_200D_202B_206E_202C_200E_202D_200E_202D_202D_206C_202B_200D_202B_206C_202B_202C_206B_202E_202A_202E_202C_206A_206A_206E_206A_206D_202E_202E(obj, ref flag); + int num = ((_instance == this) ? (-273121773) : (-273121772)); + while (true) { - return; + int num2 = num; + int num3 = -273121774; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = ((!_deferDisposeUntilCutsceneEnds) ? (-273121776) : (-273121775)); + break; + case 6: + return; + case 2: + num = ((_registeredLifecycle == null) ? (-273121770) : (-273121774)); + break; + case 0: + _206B_200C_202E_206C_200F_206D_206F_206C_202B_206F_206A_200B_202C_206B_206D_206E_206A_202B_206F_200D_202A_206F_200B_202E_206D_202C_202E_202C_202E_202B_200D_202A_202B_202E_206C_206C_200F_202E_206B_206D_202E(_registeredLifecycle, AddonEvent.PostSetup, (IEnumerable)CreditPlayerArray, _creditPlayerHandler); + _206B_200C_202E_206C_200F_206D_206F_206C_202B_206F_206A_200B_202C_206B_206D_206E_206A_202B_206F_200D_202A_206F_200B_202E_206D_202C_202E_202C_202E_202B_200D_202A_202B_202E_206C_206C_200F_202E_206B_206D_202E(_registeredLifecycle, AddonEvent.PostSetup, (IEnumerable)CreditArray, _creditHandler); + _206B_200C_202E_206C_200F_206D_206F_206C_202B_206F_206A_200B_202C_206B_206D_206E_206A_202B_206F_200D_202A_206F_200B_202E_206D_202C_202E_202C_202E_202B_200D_202A_202B_202E_206C_206C_200F_202E_206B_206D_202E(_registeredLifecycle, AddonEvent.PostSetup, (IEnumerable)CreditScrollArray, _creditScrollHandler); + num = -273121770; + break; + case 3: + _pendingDispose = true; + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-1915726020), Array.Empty()); + return; + case 5: + num = -273121772; + break; + case 4: + _200D_200B_206D_200E_206C_200B_206C_206D_200E_200C_200E_206E_200E_206D_206C_202C_200E_206A_206A_202E_202B_202B_202C_202C_206B_202B_206A_200B_206D_200B_200F_200D_202C_202D_202E_202B_206F_200C_206F_202B_202E(_condition, (ICondition.ConditionChangeDelegate)OnConditionChange); + _registeredLifecycle = null; + _instance = null; + _pendingDispose = false; + _handledConsecutiveCutscenes = 0; + _lastHandledAddr = 0L; + _lastHandledAt = null; + _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-677486284), Array.Empty()); + return; + } } - if (_deferDisposeUntilCutsceneEnds) + } + finally + { + int num = ((!flag) ? 1603499567 : 1603499564); + while (true) { - _pendingDispose = true; - _logger.LogInformation("CreditsController.Dispose deferred until cutscene end."); - return; + int num7 = num; + int num3 = 1603499566; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = 1603499564; + break; + case 1: + goto end_IL_01bc; + case 2: + _200C_206A_200D_200F_202D_200B_206C_206B_202A_202C_202A_200B_202A_202E_206E_202B_206D_200F_206A_200C_202B_200F_200D_206F_206F_200F_200B_200C_202D_202D_206B_200C_206A_206E_200B_206D_200C_200E_206E_202E(obj); + num = 1603499567; + break; + } + continue; + end_IL_01bc: + break; } - if (_registeredLifecycle != null) - { - _registeredLifecycle.UnregisterListener(AddonEvent.PostSetup, CreditPlayerArray, _creditPlayerHandler); - _registeredLifecycle.UnregisterListener(AddonEvent.PostSetup, CreditArray, _creditHandler); - _registeredLifecycle.UnregisterListener(AddonEvent.PostSetup, CreditScrollArray, _creditScrollHandler); - } - _registeredLifecycle = null; - _instance = null; - _pendingDispose = false; - _handledConsecutiveCutscenes = 0; - _lastHandledAddr = 0L; - _lastHandledAt = DateTime.MinValue; - _logger.LogDebug("CreditsController listeners unregistered and disposed (primary instance)."); } } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _200B_200F_202B_200E_200D_206E_200E_206D_206F_202D_206C_200B_206E_200D_202B_206E_202C_200E_202D_200E_202D_202D_206C_202B_200D_202B_206C_202B_202C_206B_202E_202A_202E_202C_206A_206A_206E_206A_206D_202E_202E(object P_0, ref bool P_1) + { + Monitor.Enter(P_0, ref P_1); + } + + static void _200C_202A_202A_202B_202A_200F_200F_206A_206C_200F_200F_202B_206A_206F_202B_200B_200B_202C_206D_206A_202B_200F_200F_202D_202D_200B_206A_200D_200D_202C_202B_200E_200F_200F_200D_206C_206D_202D_206B_200F_202E(IAddonLifecycle P_0, AddonEvent P_1, IEnumerable P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.RegisterListener(P_1, P_2, P_3); + } + + static void _202D_200E_206B_200C_206D_200C_202C_206E_200E_206C_206C_200F_206D_206C_206B_202E_202B_206F_200F_206D_206B_206F_200B_200D_206E_200F_200C_202A_202B_200F_202D_200E_202E_206B_202C_206C_206F_200B_206B_202C_202E(ICondition P_0, ICondition.ConditionChangeDelegate P_1) + { + P_0.ConditionChange += P_1; + } + + static void _200C_200C_202A_206D_206F_206B_206C_206C_200D_200B_202E_202C_202C_206E_202D_200E_200C_200F_200E_206F_206E_206B_206F_206D_200F_202E_202D_202E_206C_200C_202A_206C_200D_206A_206E_206E_206B_200F_206C_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _200C_206A_200D_200F_202D_200B_206C_206B_202A_202C_202A_200B_202A_202E_206E_202B_206D_200F_206A_200C_202B_200F_200D_206F_206F_200F_200B_200C_202D_202D_206B_200C_206A_206E_200B_206D_200C_200E_206E_202E(object P_0) + { + Monitor.Exit(P_0); + } + + static bool _206F_200E_202C_206A_200D_202D_206A_202A_202A_202B_200B_202D_200B_200F_200C_206E_206E_202B_206E_200E_206E_206A_202B_206A_200E_202D_200C_206C_200E_200D_206B_206E_202A_200B_200B_200D_202E_202C_206F_202B_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static AtkUnitBasePtr _206A_206F_200B_206C_200C_200C_206D_200D_206D_206D_202A_206E_200F_206E_206A_206A_200F_202D_206E_202D_202D_200C_206A_206A_200F_206F_202B_200D_206B_200B_200B_206C_202C_206F_200F_206D_200B_200B_206D_202A_202E(AddonArgs P_0) + { + return P_0.Addon; + } + + static long _206B_200C_206C_202E_200C_200F_200E_206E_202E_206C_206B_200F_202C_202E_200F_200B_206C_202A_200E_202C_206C_206E_206A_202D_202B_206B_202B_206E_200B_202A_206E_200B_206B_200F_202B_206A_200B_200F_206D_206F_202E() + { + return Environment.TickCount64; + } + + static void _202E_202C_200F_200D_206C_200F_206B_200D_200C_200F_202D_206E_200E_202E_206E_206C_206B_202D_206B_200E_200B_200C_200B_200B_206E_202E_202C_202C_206E_200E_200F_206B_200B_206A_200B_200B_202D_206B_202D_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _206C_206C_202C_200C_202C_206E_206E_206A_202E_200F_202D_200B_202B_200C_206D_200B_202E_206A_200E_200F_206C_206D_206F_200E_206D_206F_202C_202B_206C_202D_200B_206E_200B_202A_206A_200D_202A_202A_200D_202A_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static void _206B_200C_202E_206C_200F_206D_206F_206C_202B_206F_206A_200B_202C_206B_206D_206E_206A_202B_206F_200D_202A_206F_200B_202E_206D_202C_202E_202C_202E_202B_200D_202A_202B_202E_206C_206C_200F_202E_206B_206D_202E(IAddonLifecycle P_0, AddonEvent P_1, IEnumerable P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.UnregisterListener(P_1, P_2, P_3); + } + + static void _200D_200B_206D_200E_206C_200B_206C_206D_200E_200C_200E_206E_200E_206D_206C_202C_200E_206A_206A_202E_202B_202B_202C_202C_206B_202B_206A_200B_206D_200B_200F_200D_202C_202D_202E_202B_206F_200C_206F_202B_202E(ICondition P_0, ICondition.ConditionChangeDelegate P_1) + { + P_0.ConditionChange -= P_1; + } + + static object _202A_206C_206F_202E_200B_206A_206D_202C_202B_200E_200E_206E_206B_202D_206B_206E_200D_202A_202C_206B_206A_202D_200C_206D_202E_200F_202A_206B_200E_206E_202C_200F_200D_202C_206A_200E_206C_206B_202A_206D_202E() + { + return new object(); + } } diff --git a/Questionable/Questionable.Controller.GameUi/GCShopHandler.cs b/Questionable/Questionable.Controller.GameUi/GCShopHandler.cs index e88a530c..f2277ae5 100644 --- a/Questionable/Questionable.Controller.GameUi/GCShopHandler.cs +++ b/Questionable/Questionable.Controller.GameUi/GCShopHandler.cs @@ -1,4 +1,6 @@ using System; +using System.Runtime.CompilerServices; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Plugin.Services; using LLib.Shop; using Microsoft.Extensions.Logging; @@ -29,7 +31,7 @@ internal sealed class GCShopHandler : IDisposable private GCPurchaseInfo? _currentPurchase; - private DateTime _lastActionTime = DateTime.MinValue; + private long _lastActionMs; private bool _purchaseCompletedThisStep; @@ -42,111 +44,371 @@ internal sealed class GCShopHandler : IDisposable _objectTable = objectTable; _framework = framework; _logger = logger; - _gcShop.PurchaseCompleted += OnPurchaseCompleted; - _framework.Update += OnFrameworkUpdate; + _206A_200B_200C_200F_202A_206F_202C_202A_200D_200D_200E_202A_206C_206C_206D_200F_206A_206A_206B_202A_206E_202C_200F_202B_206E_200C_202A_200D_202D_202C_206D_200C_206F_200D_206E_202B_200E_200B_206B_202A_202E(_gcShop, (EventHandler)OnPurchaseCompleted); + _202E_200B_202E_200B_200B_202A_206D_206F_202D_200F_200C_206D_206E_200D_200F_206E_202D_206F_206A_206D_206B_206E_200E_200B_200D_200D_202E_206E_206F_202A_206E_200C_206A_200B_200D_200F_200D_206F_202D_206B_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); } public void Dispose() { - _framework.Update -= OnFrameworkUpdate; - _gcShop.PurchaseCompleted -= OnPurchaseCompleted; + _202E_206A_206E_206C_200F_202E_206C_200B_206B_206B_202A_206F_202B_206A_200D_202E_200D_200E_202B_206F_202C_200C_206E_206D_202B_206E_200B_206B_206C_200B_200B_202B_200C_206A_202E_206D_206A_206D_200B_206C_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); + _202B_200D_200C_206D_206B_202B_200F_206C_200F_206A_202E_206E_206B_206A_200F_200E_202B_206B_206D_206E_206A_202B_200F_202D_202B_200D_202C_206F_200D_202C_202A_200F_202C_200B_202A_202B_202C_206A_206F_202B_202E(_gcShop, (EventHandler)OnPurchaseCompleted); } + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void OnFrameworkUpdate(IFramework framework) { - if (_objectTable.LocalPlayer == null) + int num = ((_206F_202D_200C_206C_206A_202C_202E_202E_200E_202D_202B_206C_202C_202A_200E_206A_200F_200B_206A_200D_200C_202E_206A_206C_200D_206C_206E_200C_202E_200B_200B_202B_202B_200E_202A_206D_206F_206A_206E_206C_202E(_objectTable) != null) ? (-1672254239) : (-1672254236)); + while (true) { - return; - } - if (!_questController.IsRunning) - { - if (_state != GCShopState.Inactive) + int num2 = num; + int num3 = -1672254240; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 0: + HandlePurchasing(); + return; + case 1: + num = (_questController.IsRunning ? (-1672254233) : (-1672254232)); + break; + case 4: + return; + case 2: + return; + case 7: + CheckForGCPurchase(); + num = ((_state != GCShopState.Purchasing) ? (-1672254234) : (-1672254240)); + break; + case 10: Reset(); + num = -1672254238; + break; + case 8: + num = ((_state == GCShopState.Inactive) ? (-1672254238) : (-1672254230)); + break; + case 5: + return; + case 9: + num = -1672254236; + break; + case 6: + num = ((_state != GCShopState.Completed) ? (-1672254235) : (-1672254237)); + break; + case 3: + _200B_206A_206D_206D_206F_200E_200E_202E_200B_200E_206A_200E_206D_202A_206C_202E_206C_206D_200D_206F_200B_206C_200C_200E_200E_206A_200B_202B_202A_200B_206A_200D_206D_200F_202B_200B_200B_200E_202A_206D_202E((ILogger)_logger, global::_003CModule_003E._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(-314267187), Array.Empty()); + _state = GCShopState.Inactive; + _lastActionMs = 0L; + num = -1672254235; + break; } - return; - } - CheckForGCPurchase(); - if (_state == GCShopState.Purchasing) - { - HandlePurchasing(); - } - else if (_state == GCShopState.Completed) - { - _logger.LogInformation("GC shop purchase completed!"); - _state = GCShopState.Inactive; - _lastActionTime = DateTime.MinValue; } } + [MethodImpl(MethodImplOptions.NoInlining)] private void CheckForGCPurchase() { QuestController.QuestProgress currentQuest = _questController.CurrentQuest; - if (currentQuest == null) + int num = ((currentQuest != null) ? (-837261037) : (-837261044)); + GCPurchaseInfo gCPurchaseInfo = default(GCPurchaseInfo); + while (true) { - if (_currentPurchase != null) - { - Reset(); - } - return; - } - GCPurchaseInfo gCPurchaseInfo = (currentQuest.Quest.FindSequence(currentQuest.Sequence)?.FindStep(currentQuest.Step))?.GCPurchase; - if (gCPurchaseInfo == null) - { - if (_currentPurchase != null) - { - _currentPurchase = null; - _purchaseCompletedThisStep = false; - } - if (_gcShop.IsOpen) - { - _logger.LogDebug("GC shop is open but current step has no GCPurchase. Quest={QuestId}, Seq={Sequence}, Step={Step}", currentQuest.Quest.Id, currentQuest.Sequence, currentQuest.Step); - } - } - else - { - if (_currentPurchase != gCPurchaseInfo) + int num2 = num; + int num3 = -837261053; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 13: _currentPurchase = gCPurchaseInfo; _purchaseCompletedThisStep = false; - } - if (_gcShop.IsOpen && _state == GCShopState.Inactive && !_purchaseCompletedThisStep) + num = -837261041; + break; + case 15: + num = ((_currentPurchase == null) ? (-837261054) : (-837261055)); + break; + case 8: + return; + case 2: + Reset(); + num = -837261054; + break; + case 6: + num = ((_currentPurchase == gCPurchaseInfo) ? (-837261041) : (-837261042)); + break; + case 10: + num = (_purchaseCompletedThisStep ? (-837261046) : (-837261048)); + break; + case 3: + num = ((!_200C_200C_202E_200F_202A_206B_206B_206F_202B_206A_202D_206F_200D_206B_202E_202A_200D_206C_206E_206B_206C_200D_206C_200B_206F_202B_200B_202A_206C_202B_200F_206B_202C_200F_206D_200F_206B_200D_200E_200F_202E(_gcShop)) ? (-837261045) : (-837261043)); + break; + case 0: + num = -837261044; + break; + case 7: + _currentPurchase = null; + _purchaseCompletedThisStep = false; + num = -837261056; + break; + case 14: + _200B_206A_206D_206D_206F_200E_200E_202E_200B_200E_206A_200E_206D_202A_206C_202E_206C_206D_200D_206F_200B_206C_200C_200E_200E_206A_200B_202B_202A_200B_206A_200D_206D_200F_202B_200B_200B_200E_202A_206D_202E((ILogger)_logger, global::_003CModule_003E._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(-1787866068), new object[3] + { + currentQuest.Quest.Id, + currentQuest.Sequence, + currentQuest.Step + }); + num = -837261045; + break; + case 1: + return; + case 12: + num = ((!_200C_200C_202E_200F_202A_206B_206B_206F_202B_206A_202D_206F_200D_206B_202E_202A_200D_206C_206E_206B_206C_200D_206C_200B_206F_202B_200B_202A_206C_202B_200F_206B_202C_200F_206D_200F_206B_200D_200E_200F_202E(_gcShop)) ? (-837261046) : (-837261049)); + break; + case 16: { - _logger.LogInformation("GC shop is open. Starting purchase of item {ItemId}.", gCPurchaseInfo.ItemId); + QuestSequence? questSequence = currentQuest.Quest.FindSequence(currentQuest.Sequence); + QuestStep obj = ((questSequence != null) ? _206D_202A_200B_206B_206A_202E_202D_200B_206B_206A_200C_200B_200E_206C_202B_202B_200B_206F_200B_202A_202D_202B_206E_206A_202B_202C_200C_202B_200B_200B_202C_202E_202C_202E_202A_200C_206D_202E_200B_200C_202E(questSequence, currentQuest.Step) : null); + gCPurchaseInfo = ((obj != null) ? _202E_206F_206D_202E_206B_206F_206B_202A_200E_206D_202B_202A_206C_206B_206E_206A_200B_206F_202B_200B_200B_202A_202B_200E_200F_206A_206C_206D_200E_202C_202B_202E_200E_200C_206D_206E_206B_200B_200B_200F_202E(obj) : null); + num = ((gCPurchaseInfo != null) ? (-837261051) : (-837261050)); + break; + } + case 11: + _200F_202B_206A_200C_200B_200E_200B_202E_202D_200E_202A_200C_200C_200D_202E_200C_200C_200F_206F_200B_200C_206F_206A_202E_202E_200D_200D_206F_202C_200D_206C_202B_206A_206C_206A_200D_202C_200E_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-478138400), new object[1] { _206D_206B_200F_206B_200B_200D_202B_206D_202B_200C_202A_206F_206F_200D_202A_206E_202E_206C_206F_202A_200E_200E_202E_200F_200C_206E_202C_206A_206B_202C_206D_200B_202B_206B_202C_206F_206C_202D_206A_206F_202E(gCPurchaseInfo) }); _state = GCShopState.Purchasing; + num = -837261046; + break; + case 4: + num = ((_state != GCShopState.Inactive) ? (-837261046) : (-837261047)); + break; + case 5: + num = ((_currentPurchase == null) ? (-837261056) : (-837261052)); + break; + case 9: + return; } } } private void HandlePurchasing() { - if (_gcShop.IsOpen && _currentPurchase != null && !((DateTime.Now - _lastActionTime).TotalMilliseconds < 500.0)) + int num = ((!_200C_200C_202E_200F_202A_206B_206B_206F_202B_206A_202D_206F_200D_206B_202E_202A_200D_206C_206E_206B_206C_200D_206C_200B_206F_202B_200B_202A_206C_202B_200F_206B_202C_200F_206D_200F_206B_200D_200E_200F_202E(_gcShop)) ? 252931591 : 252931585); + while (true) { - if (!_gcShop.IsPurchaseInProgress) + int num2 = num; + int num3 = 252931587; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _gcShop.StartPurchase(_currentPurchase.ItemId, _currentPurchase.RankTab, _currentPurchase.CategoryTab); - _lastActionTime = DateTime.Now; + case 0: + _200C_206B_202A_202C_206B_202C_200B_202B_200B_200E_206E_206F_206F_202D_200F_202B_206F_206C_200F_200F_200D_200D_202A_202A_206A_202E_200D_200B_202E_206C_206D_200D_202D_202C_202A_206E_206A_202B_206D_206C_202E(_gcShop, _206D_206B_200F_206B_200B_200D_202B_206D_202B_200C_202A_206F_206F_200D_202A_206E_202E_206C_206F_202A_200E_200E_202E_200F_200C_206E_202C_206A_206B_202C_206D_200B_202B_206B_202C_206F_206C_202D_206A_206F_202E(_currentPurchase), _200C_206E_202B_206A_202E_206F_202D_202A_206C_200D_202A_206C_200C_200C_206A_200B_202E_200C_206A_206D_206C_200B_200F_200B_202A_200B_202D_202A_200D_202B_202D_206A_202C_206E_206D_202D_202D_200C_206C_206D_202E(_currentPurchase), _202C_202A_200D_202D_202B_200E_202C_200D_200C_202D_206B_206F_200C_200E_200B_202B_206F_206E_206B_206E_202C_202D_202C_200D_206A_200E_202B_202C_202E_200C_206C_202B_206C_200F_200B_200B_206D_202D_202E_202E_202E(_currentPurchase), 1); + _lastActionMs = _206A_200B_202B_202A_206F_206B_206E_200E_206C_200C_202C_200E_206C_206B_206E_202B_200B_200B_206C_206B_206A_202B_206A_202B_202D_206B_200E_206E_202D_206B_200E_206B_200C_202C_200F_200F_206B_202C_206A_200C_202E(); + num = 252931586; + break; + case 5: + num = ((_206A_200B_202B_202A_206F_206B_206E_200E_206C_200C_202C_200E_206C_206B_206E_202B_200B_200B_206C_206B_206A_202B_206A_202B_202D_206B_200E_206E_202D_206B_200E_206B_200C_202C_200F_200F_206B_202C_206A_200C_202E() - _lastActionMs >= 500) ? 252931588 : 252931584); + break; + case 3: + return; + case 7: + num = (_200E_206B_200F_206C_202A_202C_200B_202E_202B_202A_202D_206F_200B_206C_202C_206F_206E_206A_206F_202B_200B_206B_200D_202B_202E_200C_200D_202A_202A_206E_206C_202B_206D_206A_200F_200D_202D_200C_200F_206C_202E(_gcShop) ? 252931586 : 252931587); + break; + case 6: + num = 252931585; + break; + case 2: + num = ((_currentPurchase != null) ? 252931590 : 252931591); + break; + case 1: + _202D_206C_206A_200E_206C_202E_202D_202C_200D_200D_202C_206E_202E_200B_200E_206A_206F_206E_202C_206C_202C_202A_200C_202A_200C_206E_200B_206F_206F_206A_206B_206A_206E_200F_202D_206E_202E_206F_200F_206F_202E(_gcShop); + return; + case 4: + return; } - _gcShop.ProcessPurchase(); } } + [MethodImpl(MethodImplOptions.NoInlining)] private void OnPurchaseCompleted(object? sender, PurchaseCompletedEventArgs e) { - if (_state == GCShopState.Purchasing && _currentPurchase != null && _questController.IsRunning && e.Success && e.ItemId == _currentPurchase.ItemId) + int num = ((_state != GCShopState.Purchasing) ? 191751636 : 191751642); + while (true) { - _logger.LogInformation("GC purchase of item {ItemId} completed successfully", e.ItemId); - _gcShop.CloseShop(); - _purchaseCompletedThisStep = true; - _state = GCShopState.Completed; + int num2 = num; + int num3 = 191751644; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + return; + case 6: + num = ((_currentPurchase != null) ? 191751641 : 191751636); + break; + case 1: + num = ((!_202E_200D_202E_206C_206C_202B_206D_202C_206F_202E_206A_206B_200F_206F_206C_206C_206C_206A_200E_206B_206E_206D_206C_202A_202D_202A_202A_206D_202B_200B_206A_206F_200F_206D_200B_206C_202E_202B_200D_202E_202E(e)) ? 191751646 : 191751640); + break; + case 4: + num = ((_200E_202D_206A_200B_206C_206A_206A_202A_200B_202E_200B_206D_200F_200E_202A_202B_206D_202A_202A_200F_206A_206B_206B_206F_206A_206D_202C_206E_200D_202B_200F_206A_200B_202C_202C_206D_202D_200D_200D_202D_202E(e) != _206D_206B_200F_206B_200B_200D_202B_206D_202B_200C_202A_206F_206F_200D_202A_206E_202E_206C_206F_202A_200E_200E_202E_200F_200C_206E_202C_206A_206B_202C_206D_200B_202B_206B_202C_206F_206C_202D_206A_206F_202E(_currentPurchase)) ? 191751646 : 191751643); + break; + case 7: + _200F_202B_206A_200C_200B_200E_200B_202E_202D_200E_202A_200C_200C_200D_202E_200C_200C_200F_206F_200B_200C_206F_206A_202E_202E_200D_200D_206F_202C_200D_206C_202B_206A_206C_206A_200D_202C_200E_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(134659059), new object[1] { _200E_202D_206A_200B_206C_206A_206A_202A_200B_202E_200B_206D_200F_200E_202A_202B_206D_202A_202A_200F_206A_206B_206B_206F_206A_206D_202C_206E_200D_202B_200F_206A_200B_202C_202C_206D_202D_200D_200D_202D_202E(e) }); + _200B_200B_202C_206F_202E_206C_206F_206C_206C_202A_200E_202B_206D_200F_200D_202D_200D_200F_202C_200B_202D_206B_200C_200F_206B_206A_206C_206A_206E_202C_202D_206C_206A_206A_206C_206B_202D_206B_200F_202B_202E(_gcShop); + _purchaseCompletedThisStep = true; + _state = GCShopState.Completed; + num = 191751646; + break; + case 2: + return; + case 5: + num = (_questController.IsRunning ? 191751645 : 191751647); + break; + case 0: + num = 191751642; + break; + case 3: + return; + } } } private void Reset() { - _state = GCShopState.Inactive; - _currentPurchase = null; - _lastActionTime = DateTime.MinValue; - _purchaseCompletedThisStep = false; + int num = ((!_200E_206B_200F_206C_202A_202C_200B_202E_202B_202A_202D_206F_200B_206C_202C_206F_206E_206A_206F_202B_200B_206B_200D_202B_202E_200C_200D_202A_202A_206E_206C_202B_206D_206A_200F_200D_202D_200C_200F_206C_202E(_gcShop)) ? (-1390147797) : (-1390147798)); + while (true) + { + int num2 = num; + int num3 = -1390147797; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1390147798; + break; + case 1: + _200C_206B_206A_202D_206D_206F_206A_202B_202D_200D_202C_202A_200C_206A_200E_202C_206F_206B_206E_202E_200F_200F_202C_206F_206F_202E_202B_202C_206B_200C_202B_206A_206E_202B_200D_202B_202E_206E_200E_202E_202E(_gcShop); + num = -1390147797; + break; + case 0: + _state = GCShopState.Inactive; + _currentPurchase = null; + _lastActionMs = 0L; + _purchaseCompletedThisStep = false; + return; + } + } + } + + static void _206A_200B_200C_200F_202A_206F_202C_202A_200D_200D_200E_202A_206C_206C_206D_200F_206A_206A_206B_202A_206E_202C_200F_202B_206E_200C_202A_200D_202D_202C_206D_200C_206F_200D_206E_202B_200E_200B_206B_202A_202E(GrandCompanyShop P_0, EventHandler P_1) + { + P_0.PurchaseCompleted += P_1; + } + + static void _202E_200B_202E_200B_200B_202A_206D_206F_202D_200F_200C_206D_206E_200D_200F_206E_202D_206F_206A_206D_206B_206E_200E_200B_200D_200D_202E_206E_206F_202A_206E_200C_206A_200B_200D_200F_200D_206F_202D_206B_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update += P_1; + } + + static void _202E_206A_206E_206C_200F_202E_206C_200B_206B_206B_202A_206F_202B_206A_200D_202E_200D_200E_202B_206F_202C_200C_206E_206D_202B_206E_200B_206B_206C_200B_200B_202B_200C_206A_202E_206D_206A_206D_200B_206C_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update -= P_1; + } + + static void _202B_200D_200C_206D_206B_202B_200F_206C_200F_206A_202E_206E_206B_206A_200F_200E_202B_206B_206D_206E_206A_202B_200F_202D_202B_200D_202C_206F_200D_202C_202A_200F_202C_200B_202A_202B_202C_206A_206F_202B_202E(GrandCompanyShop P_0, EventHandler P_1) + { + P_0.PurchaseCompleted -= P_1; + } + + static IPlayerCharacter _206F_202D_200C_206C_206A_202C_202E_202E_200E_202D_202B_206C_202C_202A_200E_206A_200F_200B_206A_200D_200C_202E_206A_206C_200D_206C_206E_200C_202E_200B_200B_202B_202B_200E_202A_206D_206F_206A_206E_206C_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static void _200B_206A_206D_206D_206F_200E_200E_202E_200B_200E_206A_200E_206D_202A_206C_202E_206C_206D_200D_206F_200B_206C_200C_200E_200E_206A_200B_202B_202A_200B_206A_200D_206D_200F_202B_200B_200B_200E_202A_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static QuestStep _206D_202A_200B_206B_206A_202E_202D_200B_206B_206A_200C_200B_200E_206C_202B_202B_200B_206F_200B_202A_202D_202B_206E_206A_202B_202C_200C_202B_200B_200B_202C_202E_202C_202E_202A_200C_206D_202E_200B_200C_202E(QuestSequence P_0, int P_1) + { + return P_0.FindStep(P_1); + } + + static GCPurchaseInfo _202E_206F_206D_202E_206B_206F_206B_202A_200E_206D_202B_202A_206C_206B_206E_206A_200B_206F_202B_200B_200B_202A_202B_200E_200F_206A_206C_206D_200E_202C_202B_202E_200E_200C_206D_206E_206B_200B_200B_200F_202E(QuestStep P_0) + { + return P_0.GCPurchase; + } + + static bool _200C_200C_202E_200F_202A_206B_206B_206F_202B_206A_202D_206F_200D_206B_202E_202A_200D_206C_206E_206B_206C_200D_206C_200B_206F_202B_200B_202A_206C_202B_200F_206B_202C_200F_206D_200F_206B_200D_200E_200F_202E(GrandCompanyShop P_0) + { + return P_0.IsOpen; + } + + static uint _206D_206B_200F_206B_200B_200D_202B_206D_202B_200C_202A_206F_206F_200D_202A_206E_202E_206C_206F_202A_200E_200E_202E_200F_200C_206E_202C_206A_206B_202C_206D_200B_202B_206B_202C_206F_206C_202D_206A_206F_202E(GCPurchaseInfo P_0) + { + return P_0.ItemId; + } + + static void _200F_202B_206A_200C_200B_200E_200B_202E_202D_200E_202A_200C_200C_200D_202E_200C_200C_200F_206F_200B_200C_206F_206A_202E_202E_200D_200D_206F_202C_200D_206C_202B_206A_206C_206A_200D_202C_200E_206A_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static long _206A_200B_202B_202A_206F_206B_206E_200E_206C_200C_202C_200E_206C_206B_206E_202B_200B_200B_206C_206B_206A_202B_206A_202B_202D_206B_200E_206E_202D_206B_200E_206B_200C_202C_200F_200F_206B_202C_206A_200C_202E() + { + return Environment.TickCount64; + } + + static bool _200E_206B_200F_206C_202A_202C_200B_202E_202B_202A_202D_206F_200B_206C_202C_206F_206E_206A_206F_202B_200B_206B_200D_202B_202E_200C_200D_202A_202A_206E_206C_202B_206D_206A_200F_200D_202D_200C_200F_206C_202E(GrandCompanyShop P_0) + { + return P_0.IsPurchaseInProgress; + } + + static int _200C_206E_202B_206A_202E_206F_202D_202A_206C_200D_202A_206C_200C_200C_206A_200B_202E_200C_206A_206D_206C_200B_200F_200B_202A_200B_202D_202A_200D_202B_202D_206A_202C_206E_206D_202D_202D_200C_206C_206D_202E(GCPurchaseInfo P_0) + { + return P_0.RankTab; + } + + static int _202C_202A_200D_202D_202B_200E_202C_200D_200C_202D_206B_206F_200C_200E_200B_202B_206F_206E_206B_206E_202C_202D_202C_200D_206A_200E_202B_202C_202E_200C_206C_202B_206C_200F_200B_200B_206D_202D_202E_202E_202E(GCPurchaseInfo P_0) + { + return P_0.CategoryTab; + } + + static bool _200C_206B_202A_202C_206B_202C_200B_202B_200B_200E_206E_206F_206F_202D_200F_202B_206F_206C_200F_200F_200D_200D_202A_202A_206A_202E_200D_200B_202E_206C_206D_200D_202D_202C_202A_206E_206A_202B_206D_206C_202E(GrandCompanyShop P_0, uint P_1, int P_2, int P_3, int P_4) + { + return P_0.StartPurchase(P_1, P_2, P_3, P_4); + } + + static bool _202D_206C_206A_200E_206C_202E_202D_202C_200D_200D_202C_206E_202E_200B_200E_206A_206F_206E_202C_206C_202C_202A_200C_202A_200C_206E_200B_206F_206F_206A_206B_206A_206E_200F_202D_206E_202E_206F_200F_206F_202E(GrandCompanyShop P_0) + { + return P_0.ProcessPurchase(); + } + + static bool _202E_200D_202E_206C_206C_202B_206D_202C_206F_202E_206A_206B_200F_206F_206C_206C_206C_206A_200E_206B_206E_206D_206C_202A_202D_202A_202A_206D_202B_200B_206A_206F_200F_206D_200B_206C_202E_202B_200D_202E_202E(PurchaseCompletedEventArgs P_0) + { + return P_0.Success; + } + + static uint _200E_202D_206A_200B_206C_206A_206A_202A_200B_202E_200B_206D_200F_200E_202A_202B_206D_202A_202A_200F_206A_206B_206B_206F_206A_206D_202C_206E_200D_202B_200F_206A_200B_202C_202C_206D_202D_200D_200D_202D_202E(PurchaseCompletedEventArgs P_0) + { + return P_0.ItemId; + } + + static void _200B_200B_202C_206F_202E_206C_206F_206C_206C_202A_200E_202B_206D_200F_200D_202D_200D_200F_202C_200B_202D_206B_200C_200F_206B_206A_206C_206A_206E_202C_202D_206C_206A_206A_206C_206B_202D_206B_200F_202B_202E(GrandCompanyShop P_0) + { + P_0.CloseShop(); + } + + static void _200C_206B_206A_202D_206D_206F_206A_202B_202D_200D_202C_202A_200C_206A_200E_202C_206F_206B_206E_202E_200F_200F_202C_206F_206F_202E_202B_202C_206B_200C_202B_206A_206E_202B_200D_202B_202E_206E_200E_202E_202E(GrandCompanyShop P_0) + { + P_0.CancelPurchase(); } } diff --git a/Questionable/Questionable.Controller.GameUi/HelpUiController.cs b/Questionable/Questionable.Controller.GameUi/HelpUiController.cs index 338498d3..e4398e4d 100644 --- a/Questionable/Questionable.Controller.GameUi/HelpUiController.cs +++ b/Questionable/Questionable.Controller.GameUi/HelpUiController.cs @@ -1,10 +1,15 @@ using System; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; using Dalamud.Game.Addon.Lifecycle; using Dalamud.Game.Addon.Lifecycle.AddonArgTypes; +using Dalamud.Game.NativeWrapper; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Component.GUI; using LLib.GameUI; using Microsoft.Extensions.Logging; +using Questionable.Model.Questing; namespace Questionable.Controller.GameUi; @@ -20,6 +25,7 @@ internal sealed class HelpUiController : IDisposable private readonly ILogger _logger; + [MethodImpl(MethodImplOptions.NoInlining)] public HelpUiController(QuestController questController, IAddonLifecycle addonLifecycle, IGameGui gameGui, IFramework framework, ILogger logger) { _questController = questController; @@ -28,145 +34,419 @@ internal sealed class HelpUiController : IDisposable _framework = framework; _logger = logger; _questController.AutomationTypeChanged += CloseHelpWindowsWhenStartingQuests; - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "AkatsukiNote", UnendingCodexPostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "ContentsTutorial", ContentsTutorialPostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "MultipleHelpWindow", MultipleHelpWindowPostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "JobHudNotice", JobHudNoticePostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "Guide", GuidePostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "EventTutorial", EventTutorialPostSetup); + _206B_206F_206A_206D_206D_206D_200D_202C_202B_200E_206F_202E_206C_200F_206D_202E_206C_206F_202A_206E_206A_202E_200F_200F_206B_200B_206C_206B_200E_206A_200E_206A_202D_200D_200B_206D_202A_206E_202B_200E_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(475712939), (IAddonLifecycle.AddonEventDelegate)UnendingCodexPostSetup); + _206B_206F_206A_206D_206D_206D_200D_202C_202B_200E_206F_202E_206C_200F_206D_202E_206C_206F_202A_206E_206A_202E_200F_200F_206B_200B_206C_206B_200E_206A_200E_206A_202D_200D_200B_206D_202A_206E_202B_200E_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-1875325540), (IAddonLifecycle.AddonEventDelegate)ContentsTutorialPostSetup); + _206B_206F_206A_206D_206D_206D_200D_202C_202B_200E_206F_202E_206C_200F_206D_202E_206C_206F_202A_206E_206A_202E_200F_200F_206B_200B_206C_206B_200E_206A_200E_206A_202D_200D_200B_206D_202A_206E_202B_200E_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(539331049), (IAddonLifecycle.AddonEventDelegate)MultipleHelpWindowPostSetup); + _206B_206F_206A_206D_206D_206D_200D_202C_202B_200E_206F_202E_206C_200F_206D_202E_206C_206F_202A_206E_206A_202E_200F_200F_206B_200B_206C_206B_200E_206A_200E_206A_202D_200D_200B_206D_202A_206E_202B_200E_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-923307026), (IAddonLifecycle.AddonEventDelegate)JobHudNoticePostSetup); + _206B_206F_206A_206D_206D_206D_200D_202C_202B_200E_206F_202E_206C_200F_206D_202E_206C_206F_202A_206E_206A_202E_200F_200F_206B_200B_206C_206B_200E_206A_200E_206A_202D_200D_200B_206D_202A_206E_202B_200E_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(891874771), (IAddonLifecycle.AddonEventDelegate)GuidePostSetup); + _206B_206F_206A_206D_206D_206D_200D_202C_202B_200E_206F_202E_206C_200F_206D_202E_206C_206F_202A_206E_206A_202E_200F_200F_206B_200B_206C_206B_200E_206A_200E_206A_202D_200D_200B_206D_202A_206E_202B_200E_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(2059724302), (IAddonLifecycle.AddonEventDelegate)EventTutorialPostSetup); + _206B_206F_206A_206D_206D_206D_200D_202C_202B_200E_206F_202E_206C_200F_206D_202E_206C_206F_202A_206E_206A_202E_200F_200F_206B_200B_206C_206B_200E_206A_200E_206A_202D_200D_200B_206D_202A_206E_202B_200E_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(1877366658), (IAddonLifecycle.AddonEventDelegate)DescriptionPostSetup); } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void CloseHelpWindowsWhenStartingQuests(object sender, QuestController.EAutomationType e) { - if (e != QuestController.EAutomationType.Manual) + int num = ((e != QuestController.EAutomationType.Manual) ? 153660423 : 153660419); + AtkUnitBase* addonPtr4 = default(AtkUnitBase*); + AtkUnitBase* addonPtr2 = default(AtkUnitBase*); + AtkUnitBase* addonPtr3 = default(AtkUnitBase*); + AtkUnitBase* addonPtr = default(AtkUnitBase*); + while (true) { - if (_gameGui.TryGetAddonByName("Guide", out var addonPtr)) + int num2 = num; + int num3 = 153660420; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _logger.LogInformation("Guide window is open"); - GuidePostSetup(addonPtr); - } - if (_gameGui.TryGetAddonByName("EventTutorial", out var addonPtr2)) - { - _logger.LogInformation("EventTutorial window is open"); - EventTutorialPostSetup(addonPtr2); - } - if (_gameGui.TryGetAddonByName("ContentsTutorial", out var addonPtr3)) - { - _logger.LogInformation("ContentsTutorial window is open"); - ContentsTutorialPostSetup(addonPtr3); - } - if (_gameGui.TryGetAddonByName("JobHudNotice", out var addonPtr4)) - { - _logger.LogInformation("JobHudNotice window is open"); - JobHudNoticePostSetup(addonPtr4); + case 3: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(-696336610), out addonPtr4)) ? 153660418 : 153660417); + break; + case 5: + _206E_202E_206B_206E_202A_206A_206F_200E_202E_200B_202C_200F_200D_200E_206D_200C_202A_202E_202A_202D_200D_202C_202D_200E_200D_202A_200C_202C_206B_200B_206E_202B_200E_200E_202C_202E_206A_202A_206E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-889278169), Array.Empty()); + GuidePostSetup(addonPtr4); + num = 153660418; + break; + case 8: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(535644183), out addonPtr2)) ? 153660422 : 153660429); + break; + case 7: + return; + case 2: + return; + case 4: + _206E_202E_206B_206E_202A_206A_206F_200E_202E_200B_202C_200F_200D_200E_206D_200C_202A_202E_202A_202D_200D_202C_202D_200E_200D_202A_200C_202C_206B_200B_206E_202B_200E_200E_202C_202E_206A_202A_206E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(2009840112), Array.Empty()); + EventTutorialPostSetup(addonPtr3); + num = 153660421; + break; + case 6: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(1259257238), out addonPtr3)) ? 153660421 : 153660416); + break; + case 1: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1889051347), out addonPtr)) ? 153660428 : 153660430); + break; + case 9: + _206E_202E_206B_206E_202A_206A_206F_200E_202E_200B_202C_200F_200D_200E_206D_200C_202A_202E_202A_202D_200D_202C_202D_200E_200D_202A_200C_202C_206B_200B_206E_202B_200E_200E_202C_202E_206A_202A_206E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-829695307), Array.Empty()); + JobHudNoticePostSetup(addonPtr2); + num = 153660422; + break; + case 10: + _206E_202E_206B_206E_202A_206A_206F_200E_202E_200B_202C_200F_200D_200E_206D_200C_202A_202E_202A_202D_200D_202C_202D_200E_200D_202A_200C_202C_206B_200B_206E_202B_200E_200E_202C_202E_206A_202A_206E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-574086776), Array.Empty()); + ContentsTutorialPostSetup(addonPtr); + num = 153660428; + break; + case 0: + num = 153660419; + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void UnendingCodexPostSetup(AddonEvent type, AddonArgs args) { - if (_questController.StartedQuest?.Quest.Id.Value == 4526) + QuestController.QuestProgress? startedQuest = _questController.StartedQuest; + ushort? num = ((startedQuest != null) ? new ushort?(_202E_200F_206D_200E_202D_202E_200F_200B_200F_206E_202E_202D_206F_202D_206C_202B_202D_200F_206A_202B_200B_206B_202A_206C_200C_200D_202C_200B_202E_200D_202C_206A_206E_200D_202D_202D_206C_202E_202C_206F_202E(startedQuest.Quest.Id)) : ((ushort?)null)); + int num2 = (num.HasValue ? (-1404777382) : (-1404777383)); + while (true) { - _logger.LogInformation("Closing Unending Codex"); - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; - address->FireCallbackInt(-2); + int num3 = num2; + int num4 = -1404777381; + int num5 = num3; + int? obj; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + obj = num.GetValueOrDefault(); + goto IL_0099; + case 3: + return; + case 0: + num2 = -1404777383; + break; + case 4: + { + _206E_202E_206B_206E_202A_206A_206F_200E_202E_200B_202C_200F_200D_200E_206D_200C_202A_202E_202A_202D_200D_202C_202D_200E_200D_202A_200C_202C_206B_200B_206E_202B_200E_200E_202C_202E_206A_202A_206E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(24407879), Array.Empty()); + AtkUnitBase* address = (AtkUnitBase*)_206E_206A_206A_206F_202B_202B_202B_206B_206B_206A_200B_202A_206E_206B_206F_200E_200E_206E_206C_202A_206A_200D_202C_206A_206B_200F_206F_202B_206E_200F_202C_200E_202B_206C_206A_202C_202B_200B_202B_206E_202E(args).Address; + address->FireCallbackInt(-2); + num2 = -1404777384; + break; + } + case 2: + { + obj = null; + goto IL_0099; + } + IL_0099: + num2 = ((obj != 4526) ? (-1404777384) : (-1404777377)); + break; + } } } private unsafe void ContentsTutorialPostSetup(AddonEvent type, AddonArgs args) { - bool flag; - switch (_questController.StartedQuest?.Quest.Id.Value) + QuestController.QuestProgress? startedQuest = _questController.StartedQuest; + ushort? num = ((startedQuest != null) ? new ushort?(_202E_200F_206D_200E_202D_202E_200F_200B_200F_206E_202E_202D_206F_202D_206C_202B_202D_200F_206A_202B_200B_206B_202A_206C_200C_200D_202C_200B_202E_200D_202C_206A_206E_200D_202D_202D_206C_202E_202C_206F_202E(startedQuest.Quest.Id)) : ((ushort?)null)); + int num2 = ((!num.HasValue) ? (-763031592) : (-763031600)); + bool flag = default(bool); + ushort valueOrDefault = default(ushort); + while (true) { - case 245: - case 3872: - case 5253: - flag = true; - break; - default: - flag = false; - break; - } - if (flag) - { - ContentsTutorialPostSetup((AtkUnitBase*)args.Addon.Address); + int num3 = num2; + int num4 = -763031592; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 4: + num2 = -763031600; + break; + case 5: + flag = true; + num2 = -763031589; + break; + case 1: + num2 = ((valueOrDefault == 3872) ? (-763031587) : (-763031586)); + break; + case 8: + valueOrDefault = num.GetValueOrDefault(); + num2 = ((valueOrDefault == 245) ? (-763031587) : (-763031591)); + break; + case 3: + num2 = ((!flag) ? (-763031585) : (-763031590)); + break; + case 7: + return; + case 0: + flag = false; + num2 = -763031589; + break; + case 2: + ContentsTutorialPostSetup((AtkUnitBase*)_206E_206A_206A_206F_202B_202B_202B_206B_206B_206A_200B_202A_206E_206B_206F_200E_200E_206E_206C_202A_206A_200D_202C_206A_206B_200F_206F_202B_206E_200F_202C_200E_202B_206C_206A_202C_202B_200B_202B_206E_202E(args).Address); + num2 = -763031585; + break; + case 6: + num2 = ((valueOrDefault != 5253) ? (-763031592) : (-763031587)); + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void ContentsTutorialPostSetup(AtkUnitBase* addon) { - _logger.LogInformation("Closing ContentsTutorial"); + _206E_202E_206B_206E_202A_206A_206F_200E_202E_200B_202C_200F_200D_200E_206D_200C_202A_202E_202A_202D_200D_202C_202D_200E_200D_202A_200C_202C_206B_200B_206E_202B_200E_200E_202C_202E_206A_202A_206E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(997030499), Array.Empty()); addon->FireCallbackInt(13); } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void MultipleHelpWindowPostSetup(AddonEvent type, AddonArgs args) { - if (_questController.StartedQuest?.Quest.Id.Value == 245) + QuestController.QuestProgress? startedQuest = _questController.StartedQuest; + ushort? num = ((startedQuest != null) ? new ushort?(_202E_200F_206D_200E_202D_202E_200F_200B_200F_206E_202E_202D_206F_202D_206C_202B_202D_200F_206A_202B_200B_206B_202A_206C_200C_200D_202C_200B_202E_200D_202C_206A_206E_200D_202D_202D_206C_202E_202C_206F_202E(startedQuest.Quest.Id)) : ((ushort?)null)); + int num2 = (num.HasValue ? 841439404 : 841439402); + while (true) { - _logger.LogInformation("Closing MultipleHelpWindow"); - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; - address->FireCallbackInt(-2); - address->FireCallbackInt(-1); + int num3 = num2; + int num4 = 841439400; + int num5 = num3; + int? obj; + switch ((num5 | num4) - (num5 & num4)) + { + case 4: + obj = num.GetValueOrDefault(); + goto IL_0099; + case 2: + obj = null; + goto IL_0099; + case 0: + { + _206E_202E_206B_206E_202A_206A_206F_200E_202E_200B_202C_200F_200D_200E_206D_200C_202A_202E_202A_202D_200D_202C_202D_200E_200D_202A_200C_202C_206B_200B_206E_202B_200E_200E_202C_202E_206A_202A_206E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1717636655), Array.Empty()); + AtkUnitBase* address = (AtkUnitBase*)_206E_206A_206A_206F_202B_202B_202B_206B_206B_206A_200B_202A_206E_206B_206F_200E_200E_206E_206C_202A_206A_200D_202C_206A_206B_200F_206F_202B_206E_200F_202C_200E_202B_206C_206A_202C_202B_200B_202B_206E_202E(args).Address; + address->FireCallbackInt(-2); + address->FireCallbackInt(-1); + num2 = 841439401; + break; + } + case 1: + return; + case 3: + { + num2 = 841439402; + break; + } + IL_0099: + num2 = ((obj != 245) ? 841439401 : 841439400); + break; + } } } private unsafe void JobHudNoticePostSetup(AddonEvent type, AddonArgs args) { - if (_questController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual) + int num = (_questController.IsRunning ? (-1467614893) : (-1467614895)); + while (true) { - JobHudNoticePostSetup((AtkUnitBase*)args.Addon.Address); + int num2 = num; + int num3 = -1467614894; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1467614895; + break; + case 3: + num = ((_questController.AutomationType == QuestController.EAutomationType.Manual) ? (-1467614896) : (-1467614893)); + break; + case 1: + JobHudNoticePostSetup((AtkUnitBase*)_206E_206A_206A_206F_202B_202B_202B_206B_206B_206A_200B_202A_206E_206B_206F_200E_200E_206E_206C_202A_206A_200D_202C_206A_206B_200F_206F_202B_206E_200F_202C_200E_202B_206C_206A_202C_202B_200B_202B_206E_202E(args).Address); + num = -1467614896; + break; + case 2: + return; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void JobHudNoticePostSetup(AtkUnitBase* addon) { - _logger.LogInformation("Clicking the JobHudNotice window to open the relevant Guide page"); + _206E_202E_206B_206E_202A_206A_206F_200E_202E_200B_202C_200F_200D_200E_206D_200C_202A_202E_202A_202D_200D_202C_202D_200E_200D_202A_200C_202C_206B_200B_206E_202B_200E_200E_202C_202E_206A_202A_206E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(365911133), Array.Empty()); addon->FireCallbackInt(0); } private unsafe void GuidePostSetup(AddonEvent type, AddonArgs args) { - if (_questController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual) + int num = (_questController.IsRunning ? 373369011 : 373369010); + while (true) { - GuidePostSetup((AtkUnitBase*)args.Addon.Address); + int num2 = num; + int num3 = 373369009; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 373369010; + break; + case 1: + return; + case 3: + num = ((_questController.AutomationType == QuestController.EAutomationType.Manual) ? 373369008 : 373369011); + break; + case 2: + GuidePostSetup((AtkUnitBase*)_206E_206A_206A_206F_202B_202B_202B_206B_206B_206A_200B_202A_206E_206B_206F_200E_200E_206E_206C_202A_206A_200D_202C_206A_206B_200F_206F_202B_206E_200F_202C_200E_202B_206C_206A_202C_202B_200B_202B_206E_202E(args).Address); + num = 373369008; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void GuidePostSetup(AtkUnitBase* addon) { - _logger.LogInformation("Closing Guide window"); + _206E_202E_206B_206E_202A_206A_206F_200E_202E_200B_202C_200F_200D_200E_206D_200C_202A_202E_202A_202D_200D_202C_202D_200E_200D_202A_200C_202C_206B_200B_206E_202B_200E_200E_202C_202E_206A_202A_206E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1393090876), Array.Empty()); addon->FireCallbackInt(-1); } private unsafe void EventTutorialPostSetup(AddonEvent type, AddonArgs args) { - if (!_questController.IsRunning && _questController.AutomationType == QuestController.EAutomationType.Manual) + int num = (_questController.IsRunning ? (-1567711917) : (-1567711920)); + while (true) { - return; - } - _framework.RunOnTick(delegate - { - if (_gameGui.TryGetAddonByName("EventTutorial", out var addonPtr)) + int num2 = num; + int num3 = -1567711918; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - EventTutorialPostSetup(addonPtr); + case 0: + return; + case 2: + num = ((_questController.AutomationType == QuestController.EAutomationType.Manual) ? (-1567711918) : (-1567711917)); + break; + case 1: + _200D_206E_202D_200C_202D_206E_206C_202B_202A_206B_206E_202B_202D_206D_202E_206D_200D_206C_206A_200E_206E_200C_200D_206F_202C_200E_206F_200B_206F_200D_200E_200E_202D_206A_200B_202A_200E_200D_200D_206B_202E(_framework, (Action)([MethodImpl(MethodImplOptions.NoInlining)] () => + { + AtkUnitBase* addonPtr; + int num5 = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1630487467), out addonPtr)) ? 912686340 : 912686341); + while (true) + { + int num6 = num5; + int num7 = 912686340; + int num8 = num6; + switch ((num8 | num7) - (num8 & num7)) + { + case 0: + return; + case 1: + EventTutorialPostSetup(addonPtr); + num5 = 912686340; + break; + case 2: + num5 = 912686341; + break; + } + } + }), default(TimeSpan), 0, default(CancellationToken)); + num = -1567711918; + break; + case 3: + num = -1567711920; + break; } - }); + } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void EventTutorialPostSetup(AtkUnitBase* addon) { - _logger.LogInformation("Closing EventTutorial window"); + _206E_202E_206B_206E_202A_206A_206F_200E_202E_200B_202C_200F_200D_200E_206D_200C_202A_202E_202A_202D_200D_202C_202D_200E_200D_202A_200C_202C_206B_200B_206E_202B_200E_200E_202C_202E_206A_202A_206E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(1936999602), Array.Empty()); addon->FireCallbackInt(-1); } + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void DescriptionPostSetup(AddonEvent type, AddonArgs args) + { + int num = (_questController.IsRunning ? (-1356307906) : (-1356307905)); + while (true) + { + int num2 = num; + int num3 = -1356307907; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + { + _206E_202E_206B_206E_202A_206A_206F_200E_202E_200B_202C_200F_200D_200E_206D_200C_202A_202E_202A_202D_200D_202C_202D_200E_200D_202A_200C_202C_206B_200B_206E_202B_200E_200E_202C_202E_206A_202A_206E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1957969933), Array.Empty()); + AtkUnitBase* address = (AtkUnitBase*)_206E_206A_206A_206F_202B_202B_202B_206B_206B_206A_200B_202A_206E_206B_206F_200E_200E_206E_206C_202A_206A_200D_202C_206A_206B_200F_206F_202B_206E_200F_202C_200E_202B_206C_206A_202C_202B_200B_202B_206E_202E(args).Address; + address->FireCallbackInt(-1); + num = -1356307908; + break; + } + case 1: + return; + case 0: + num = -1356307905; + break; + case 2: + num = ((_questController.AutomationType == QuestController.EAutomationType.Manual) ? (-1356307908) : (-1356307906)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public void Dispose() { - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "EventTutorial", EventTutorialPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "Guide", GuidePostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "JobHudNotice", JobHudNoticePostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "MultipleHelpWindow", MultipleHelpWindowPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "ContentsTutorial", ContentsTutorialPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "AkatsukiNote", UnendingCodexPostSetup); + _200B_200B_200F_202B_202B_206B_202E_200D_202C_206F_206C_202D_202B_206D_206D_200E_202A_202C_206C_206A_202D_200D_206C_202D_206E_202B_206B_206A_202D_200E_202C_206E_200E_206E_200E_200D_206D_200B_200C_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(1877366658), (IAddonLifecycle.AddonEventDelegate)DescriptionPostSetup); + _200B_200B_200F_202B_202B_206B_202E_200D_202C_206F_206C_202D_202B_206D_206D_200E_202A_202C_206C_206A_202D_200D_206C_202D_206E_202B_206B_206A_202D_200E_202C_206E_200E_206E_200E_200D_206D_200B_200C_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-547923045), (IAddonLifecycle.AddonEventDelegate)EventTutorialPostSetup); + _200B_200B_200F_202B_202B_206B_202E_200D_202C_206F_206C_202D_202B_206D_206D_200E_202A_202C_206C_206A_202D_200D_206C_202D_206E_202B_206B_206A_202D_200E_202C_206E_200E_206E_200E_200D_206D_200B_200C_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-968492780), (IAddonLifecycle.AddonEventDelegate)GuidePostSetup); + _200B_200B_200F_202B_202B_206B_202E_200D_202C_206F_206C_202D_202B_206D_206D_200E_202A_202C_206C_206A_202D_200D_206C_202D_206E_202B_206B_206A_202D_200E_202C_206E_200E_206E_200E_200D_206D_200B_200C_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-1813722758), (IAddonLifecycle.AddonEventDelegate)JobHudNoticePostSetup); + _200B_200B_200F_202B_202B_206B_202E_200D_202C_206F_206C_202D_202B_206D_206D_200E_202A_202C_206C_206A_202D_200D_206C_202D_206E_202B_206B_206A_202D_200E_202C_206E_200E_206E_200E_200D_206D_200B_200C_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(341545647), (IAddonLifecycle.AddonEventDelegate)MultipleHelpWindowPostSetup); + _200B_200B_200F_202B_202B_206B_202E_200D_202C_206F_206C_202D_202B_206D_206D_200E_202A_202C_206C_206A_202D_200D_206C_202D_206E_202B_206B_206A_202D_200E_202C_206E_200E_206E_200E_200D_206D_200B_200C_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-1889051347), (IAddonLifecycle.AddonEventDelegate)ContentsTutorialPostSetup); + _200B_200B_200F_202B_202B_206B_202E_200D_202C_206F_206C_202D_202B_206D_206D_200E_202A_202C_206C_206A_202D_200D_206C_202D_206E_202B_206B_206A_202D_200E_202C_206E_200E_206E_200E_200D_206D_200B_200C_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(40702289), (IAddonLifecycle.AddonEventDelegate)UnendingCodexPostSetup); _questController.AutomationTypeChanged -= CloseHelpWindowsWhenStartingQuests; } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _206B_206F_206A_206D_206D_206D_200D_202C_202B_200E_206F_202E_206C_200F_206D_202E_206C_206F_202A_206E_206A_202E_200F_200F_206B_200B_206C_206B_200E_206A_200E_206A_202D_200D_200B_206D_202A_206E_202B_200E_202E(IAddonLifecycle P_0, AddonEvent P_1, string P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.RegisterListener(P_1, P_2, P_3); + } + + static void _206E_202E_206B_206E_202A_206A_206F_200E_202E_200B_202C_200F_200D_200E_206D_200C_202A_202E_202A_202D_200D_202C_202D_200E_200D_202A_200C_202C_206B_200B_206E_202B_200E_200E_202C_202E_206A_202A_206E_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static ushort _202E_200F_206D_200E_202D_202E_200F_200B_200F_206E_202E_202D_206F_202D_206C_202B_202D_200F_206A_202B_200B_206B_202A_206C_200C_200D_202C_200B_202E_200D_202C_206A_206E_200D_202D_202D_206C_202E_202C_206F_202E(ElementId P_0) + { + return P_0.Value; + } + + static AtkUnitBasePtr _206E_206A_206A_206F_202B_202B_202B_206B_206B_206A_200B_202A_206E_206B_206F_200E_200E_206E_206C_202A_206A_200D_202C_206A_206B_200F_206F_202B_206E_200F_202C_200E_202B_206C_206A_202C_202B_200B_202B_206E_202E(AddonArgs P_0) + { + return P_0.Addon; + } + + static Task _200D_206E_202D_200C_202D_206E_206C_202B_202A_206B_206E_202B_202D_206D_202E_206D_200D_206C_206A_200E_206E_200C_200D_206F_202C_200E_206F_200B_206F_200D_200E_200E_202D_206A_200B_202A_200E_200D_200D_206B_202E(IFramework P_0, Action P_1, TimeSpan P_2, int P_3, CancellationToken P_4) + { + return P_0.RunOnTick(P_1, P_2, P_3, P_4); + } + + static void _200B_200B_200F_202B_202B_206B_202E_200D_202C_206F_206C_202D_202B_206D_206D_200E_202A_202C_206C_206A_202D_200D_206C_202D_206E_202B_206B_206A_202D_200E_202C_206E_200E_206E_200E_200D_206D_200B_200C_206B_202E(IAddonLifecycle P_0, AddonEvent P_1, string P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.UnregisterListener(P_1, P_2, P_3); + } } diff --git a/Questionable/Questionable.Controller.GameUi/InteractionUiController.cs b/Questionable/Questionable.Controller.GameUi/InteractionUiController.cs index 832b3804..e8a6a7f6 100644 --- a/Questionable/Questionable.Controller.GameUi/InteractionUiController.cs +++ b/Questionable/Questionable.Controller.GameUi/InteractionUiController.cs @@ -1,12 +1,17 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Text; 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.Game.NativeWrapper; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game.Event; using FFXIVClientStructs.FFXIV.Client.Game.InstanceContent; @@ -15,21 +20,357 @@ using FFXIVClientStructs.FFXIV.Component.GUI; using LLib; using LLib.GameData; using LLib.GameUI; +using Lumina.Excel; using Lumina.Excel.Sheets; +using Lumina.Text.ReadOnly; 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; internal sealed class InteractionUiController : IDisposable { - private sealed record DialogueChoiceInfo(Questionable.Model.Quest? Quest, DialogueChoice DialogueChoice); + private sealed record DialogueChoiceInfo(Questionable.Model.Quest? Quest, DialogueChoice DialogueChoice) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202D_200E_202C_206B_202E_200D_206F_206F_206D_200F_200E_202B_206A_202B_202C_200B_202C_200D_202C_200D_200C_206B_200E_206C_200B_202A_200E_202B_202D_206F_206D_202B_200F_202D_200D_206E_202A_202B_200D_202E_202E(typeof(DialogueChoiceInfo).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_200B_200B_202C_202B_200F_202D_206F_200C_202E_206F_206F_202C_206C_206A_202A_200E_202E_200B_206E_206D_200C_200D_206A_206B_200E_206C_206C_200E_202A_200F_202C_206C_200D_200D_206D_200D_206A_206C_202C_202E(); + _200C_200C_200E_200B_206F_202C_200D_202B_202E_206D_200C_202C_200B_202A_200D_202E_200B_206C_200C_202A_202A_206C_206D_200B_200E_200D_200E_206B_202C_200E_200B_202C_200C_206F_202A_206B_206B_206E_200E_200F_202E(stringBuilder, global::_003CModule_003E._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(2025267953)); + _200C_200C_200E_200B_206F_202C_200D_202B_202E_206D_200C_202C_200B_202A_200D_202E_200B_206C_200C_202A_202A_206C_206D_200B_200E_200D_200E_206B_202C_200E_200B_202C_200C_206F_202A_206B_206B_206E_200E_200F_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? (-35304262) : (-35304261)); + while (true) + { + int num2 = num; + int num3 = -35304262; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -35304261; + break; + case 0: + _200C_200E_206D_202E_206D_206F_200F_206B_206A_206A_200D_200B_206F_202E_202B_200C_202A_206D_206C_200D_206C_202A_202D_200F_206A_200C_206A_206A_200C_202E_200C_202D_206A_206C_202C_202D_200D_200F_206D_202B_202E(stringBuilder, '}'); + return _202B_202B_202C_202B_206B_200F_200F_200F_200B_200E_202D_202D_202A_202E_202C_200B_206B_206A_202A_200B_200B_206D_200F_202D_206A_202A_206D_200C_202B_200E_206A_206B_202C_200E_200B_206A_200E_202E_206D_206E_202E((object)stringBuilder); + case 1: + _200C_200E_206D_202E_206D_206F_200F_206B_206A_206A_200D_200B_206F_202E_202B_200C_202A_206D_206C_200D_206C_202A_202D_200F_206A_200C_206A_206A_200C_202E_200C_202D_206A_206C_202C_202D_200D_200F_206D_202B_202E(stringBuilder, ' '); + num = -35304262; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202D_206C_200D_206B_202E_200E_200F_202C_200C_202D_202C_202B_202D_206E_206B_202D_206D_206C_200D_206F_206E_200F_206C_200D_206A_200D_200C_206D_206D_206E_200D_202A_200D_202D_200F_200D_206A_206C_200C_206F_202E(); + _200C_200C_200E_200B_206F_202C_200D_202B_202E_206D_200C_202C_200B_202A_200D_202E_200B_206C_200C_202A_202A_206C_206D_200B_200E_200D_200E_206B_202C_200E_200B_202C_200C_206F_202A_206B_206B_206E_200E_200F_202E(builder, global::_003CModule_003E._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(-1155335586)); + _200F_206E_200B_206C_200F_202E_202C_206A_206A_206F_206F_206E_206C_206A_202C_200D_200B_200B_200F_200E_206A_202B_200D_206D_200B_200C_206F_200C_200B_200B_206E_206C_200F_202B_206C_202E_200F_206F_200E_202B_202E(builder, (object)Quest); + _200C_200C_200E_200B_206F_202C_200D_202B_202E_206D_200C_202C_200B_202A_200D_202E_200B_206C_200C_202A_202A_206C_206D_200B_200E_200D_200E_206B_202C_200E_200B_202C_200C_206F_202A_206B_206B_206E_200E_200F_202E(builder, global::_003CModule_003E._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(-1903054558)); + _200F_206E_200B_206C_200F_202E_202C_206A_206A_206F_206F_206E_206C_206A_202C_200D_200B_200B_200F_200E_206A_202B_200D_206D_200B_200C_206F_200C_200B_200B_206E_206C_200F_202B_206C_202E_200F_206F_200E_202B_202E(builder, (object)DialogueChoice); + return true; + } + + [CompilerGenerated] + public bool Equals(DialogueChoiceInfo? other) + { + int num = (((object)this == other) ? (-1316842306) : (-1316842311)); + while (true) + { + int num2 = num; + int num3 = -1316842307; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((!EqualityComparer.Default.Equals(Quest, other.Quest)) ? (-1316842305) : (-1316842309)); + break; + case 4: + num = (((object)other == null) ? (-1316842305) : (-1316842307)); + break; + case 3: + return true; + case 5: + num = -1316842311; + break; + case 2: + return false; + case 6: + return EqualityComparer.Default.Equals(DialogueChoice, other.DialogueChoice); + case 0: + num = ((!_206C_200E_202B_202E_200F_202B_206A_206E_206D_202D_202E_200D_206E_206F_206B_202D_202A_202D_206F_206C_202E_202C_200B_202D_206D_202D_202B_206C_202C_206E_206B_200E_206A_206E_200B_206F_206C_200B_206C_200F_202E(EqualityContract, other.EqualityContract)) ? (-1316842305) : (-1316842308)); + break; + } + } + } + + bool IEquatable.Equals(DialogueChoiceInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202D_200E_202C_206B_202E_200D_206F_206F_206D_200F_200E_202B_206A_202B_202C_200B_202C_200D_202C_200D_200C_206B_200E_206C_200B_202A_200E_202B_202D_206F_206D_202B_200F_202D_200D_206E_202A_202B_200D_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202A_200B_200B_202C_202B_200F_202D_206F_200C_202E_206F_206F_202C_206C_206A_202A_200E_202E_200B_206E_206D_200C_200D_206A_206B_200E_206C_206C_200E_202A_200F_202C_206C_200D_200D_206D_200D_206A_206C_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200C_200C_200E_200B_206F_202C_200D_202B_202E_206D_200C_202C_200B_202A_200D_202E_200B_206C_200C_202A_202A_206C_206D_200B_200E_200D_200E_206B_202C_200E_200B_202C_200C_206F_202A_206B_206B_206E_200E_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200C_200E_206D_202E_206D_206F_200F_206B_206A_206A_200D_200B_206F_202E_202B_200C_202A_206D_206C_200D_206C_202A_202D_200F_206A_200C_206A_206A_200C_202E_200C_202D_206A_206C_202C_202D_200D_200F_206D_202B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202B_202B_202C_202B_206B_200F_200F_200F_200B_200E_202D_202D_202A_202E_202C_200B_206B_206A_202A_200B_200B_206D_200F_202D_206A_202A_206D_200C_202B_200E_206A_206B_202C_200E_200B_206A_200E_202E_206D_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202D_206C_200D_206B_202E_200E_200F_202C_200C_202D_202C_202B_202D_206E_206B_202D_206D_206C_200D_206F_206E_200F_206C_200D_206A_200D_200C_206D_206D_206E_200D_202A_200D_202D_200F_200D_206A_206C_200C_206F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200F_206E_200B_206C_200F_202E_202C_206A_206A_206F_206F_206E_206C_206A_202C_200D_200B_200B_200F_200E_206A_202B_200D_206D_200B_200C_206F_200C_200B_200B_206E_206C_200F_202B_206C_202E_200F_206F_200E_202B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206C_200E_202B_202E_200F_202B_206A_206E_206D_202D_202E_200D_206E_206F_206B_202D_202A_202D_206F_206C_202E_202C_200B_202D_206D_202D_202B_206C_202C_206E_206B_200E_206A_206E_200B_206F_206C_200B_206C_200F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__42_0; + + public static Func _003C_003E9__42_1; + + public static Func> _003C_003E9__55_4; + + public static Func _003C_003E9__55_6; + + public static Func _003C_003E9__55_7; + + public static Func _003C_003E9__55_8; + + public static Func _003C_003E9__55_9; + + public static Func _003C_003E9__55_11; + + public static Func> _003C_003E9__55_12; + + public static Func _003C_003E9__55_0; + + public static Func _003C_003E9__55_1; + + public static Func> _003C_003E9__57_0; + + public static Func, int> _003C_003E9__57_2; + + internal ReadOnlySeString? _003C_002Ector_003Eb__42_0(Addon addon) + { + return addon.Text; + } + + internal ReadOnlySeString? _003C_002Ector_003Eb__42_1(Addon addon) + { + return addon.Text; + } + + internal IEnumerable _003CHandleListChoice_003Eb__55_4(QuestStep x) + { + return _200C_202A_206B_202A_202C_200E_200B_202A_206F_206A_206F_200E_206A_202D_200C_200D_202A_202E_200D_206C_206C_200D_206A_206B_202B_202E_206E_202E_202B_206D_200F_206B_206D_206B_206A_206D_200C_200D_206D_206F_202E(x); + } + + internal bool _003CHandleListChoice_003Eb__55_6(QuestStep x) + { + return _206B_202D_206F_202A_202B_200E_202B_202B_206D_206A_206D_202E_200D_206A_200F_202D_206D_206C_206F_202D_200C_200C_206E_206F_202D_200E_202C_200B_206E_202C_206D_206C_200F_202C_206B_200B_200F_206B_202C_202E(x) == EInteractionType.UnlockTaxiStand; + } + + internal bool _003CHandleListChoice_003Eb__55_7(QuestStep x) + { + int num = ((x == null) ? (-59017433) : (-59017434)); + while (true) + { + int num2 = num; + int num3 = -59017433; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return _202B_202B_206C_200D_202B_200D_206D_202D_200C_200B_200F_202A_206C_202D_206B_206E_202A_200D_200B_206E_202E_202A_202B_200B_206E_202D_202C_206B_202A_200C_200D_202D_200B_200E_202E_202B_200E_200B_200E_202B_202E(x).HasValue; + case 1: + num = ((_206B_202D_206F_202A_202B_200E_202B_202B_206D_206A_206D_202E_200D_206A_200F_202D_206D_206C_206F_202D_200C_200C_206E_206F_202D_200E_202C_200B_206E_202C_206D_206C_200F_202C_206B_200B_200F_206B_202C_202E(x) != EInteractionType.RegisterFreeOrFavoredAetheryte) ? (-59017433) : (-59017435)); + break; + case 3: + num = -59017434; + break; + case 0: + return false; + } + } + } + + internal EAetheryteLocation _003CHandleListChoice_003Eb__55_8(QuestStep x) + { + return _202B_202B_206C_200D_202B_200D_206D_202D_200C_200B_200F_202A_206C_202D_206B_206E_202A_200D_200B_206E_202E_202A_202B_200B_206E_202D_202C_206B_202A_200C_200D_202D_200B_200E_202E_202B_200E_200B_200E_202B_202E(x).Value; + } + + internal bool _003CHandleListChoice_003Eb__55_9(QuestStep x) + { + return _206B_202D_206F_202A_202B_200E_202B_202B_206D_206A_206D_202E_200D_206A_200F_202D_206D_206C_206F_202D_200C_200C_206E_206F_202D_200E_202C_200B_206E_202C_206D_206C_200F_202C_206B_200B_200F_206B_202C_202E(x) == EInteractionType.SinglePlayerDuty; + } + + internal bool _003CHandleListChoice_003Eb__55_11(IQuestInfo x) + { + return x.QuestId is QuestId; + } + + internal IEnumerable _003CHandleListChoice_003Eb__55_12(QuestStep x) + { + return _200C_202A_206B_202A_202C_200E_200B_202A_206F_206A_206F_200E_206A_202D_200C_200D_202A_202E_200D_206C_206C_200D_206A_206B_202B_202E_206E_202E_202B_206D_200F_206B_206D_206B_206A_206D_200C_200D_206D_206F_202E(x); + } + + internal DialogueChoiceInfo _003CHandleListChoice_003Eb__55_0(DialogueChoice x) + { + return new DialogueChoiceInfo(null, x); + } + + internal DialogueChoiceInfo _003CHandleListChoice_003Eb__55_1(DialogueChoice x) + { + return new DialogueChoiceInfo(null, x); + } + + internal global::_003C_003Ef__AnonymousType0 _003CFindBestRegexMatch_003Eb__57_0(string answer, int index) + { + return new { answer, index }; + } + + internal int _003CFindBestRegexMatch_003Eb__57_2(global::_003C_003Ef__AnonymousType0 x) + { + return x.index; + } + + static List _200C_202A_206B_202A_202C_200E_200B_202A_206F_206A_206F_200E_206A_202D_200C_200D_202A_202E_200D_206C_206C_200D_206A_206B_202B_202E_206E_202E_202B_206D_200F_206B_206D_206B_206A_206D_200C_200D_206D_206F_202E(QuestStep P_0) + { + return P_0.DialogueChoices; + } + + static EInteractionType _206B_202D_206F_202A_202B_200E_202B_202B_206D_206A_206D_202E_200D_206A_200F_202D_206D_206C_206F_202D_200C_200C_206E_206F_202D_200E_202C_200B_206E_202C_206D_206C_200F_202C_206B_200B_200F_206B_202C_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static EAetheryteLocation? _202B_202B_206C_200D_202B_200D_206D_202D_200C_200B_200F_202A_206C_202D_206B_206E_202A_200D_200B_206E_202E_202A_202B_200B_206E_202D_202C_206B_202A_200C_200D_202D_200B_200E_202E_202B_200E_200B_200E_202B_202E(QuestStep P_0) + { + return P_0.Aetheryte; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass55_0 + { + public Questionable.Model.Quest quest; + + internal DialogueChoiceInfo _003CHandleListChoice_003Eb__5(DialogueChoice x) + { + return new DialogueChoiceInfo(quest, x); + } + + internal DialogueChoiceInfo _003CHandleListChoice_003Eb__10(DialogueChoice x) + { + return new DialogueChoiceInfo(quest, x); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass55_1 + { + public Questionable.Model.Quest knownQuest; + + internal DialogueChoiceInfo _003CHandleListChoice_003Eb__13(DialogueChoice x) + { + return new DialogueChoiceInfo(knownQuest, x); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass58_0 + { + public List answers; + + internal int _003CGetBestMatchFromQuestPath_003Eb__0(int i) + { + string? text = answers[i]; + if (text == null) + { + return int.MaxValue; + } + return _202A_202B_206C_202A_202B_206B_206D_202D_206F_202C_200F_206B_200E_200B_202E_206B_200D_202D_206C_206E_200D_202A_206D_206E_202B_206E_206C_200D_202C_202E_200B_202D_206B_206E_200E_200D_202E_206F_206A_200C_202E(text); + } + + static int _202A_202B_206C_202A_202B_206B_206D_202D_206F_202C_200F_206B_200E_200B_202E_206B_200D_202D_206C_206E_200D_202A_206D_206E_202B_206E_206C_200D_202C_202E_200B_202D_206B_206E_200E_200D_202E_206F_206A_200C_202E(string P_0) + { + return P_0.Length; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass64_0 + { + public InteractionUiController _003C_003E4__this; + + public unsafe AddonSelectYesno* addonSelectYesno; + + public Questionable.Model.Quest quest; + + public string actualPrompt; + + internal unsafe bool _003CCheckQuestYesNo_003Eb__0(QuestStep step) + { + return _003C_003E4__this.HandleDefaultYesNo(addonSelectYesno, quest, step, _200F_206D_206D_202C_202E_206B_206F_202D_200E_206D_202C_200D_206E_206B_200E_200E_206F_206C_200C_202A_200E_206E_200B_200C_202D_202D_206E_206D_200B_200D_202C_206F_206E_206F_206A_202B_200E_206C_206C_200D_202E(step), actualPrompt); + } + + static List _200F_206D_206D_202C_202E_206B_206F_202D_200E_206D_202C_200D_206E_206B_200E_200E_206F_206C_200C_202A_200E_206E_200B_200C_202D_202D_206E_206D_200B_200D_202C_206F_206E_206F_206A_202B_200E_206C_206C_200D_202E(QuestStep P_0) + { + return P_0.DialogueChoices; + } + } private readonly IAddonLifecycle _addonLifecycle; @@ -65,8 +406,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,21 +422,51 @@ 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) + int num = (_questController.IsRunning ? (-301711873) : (-301711880)); + while (true) { - return _territoryData.IsQuestBattleInstance(_clientState.TerritoryType); + int num2 = num; + int num3 = -301711875; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = -301711880; + break; + case 2: + return true; + case 3: + num = (_attunementController.IsRunning ? (-301711873) : (-301711875)); + break; + case 1: + num = (_seasonalDutyController.IsRunning ? (-301711873) : (-301711874)); + break; + case 5: + num = (_fateController.IsRunning ? (-301711873) : (-301711876)); + break; + case 0: + return _territoryData.IsQuestBattleInstance(_200D_206E_200C_200C_202A_200B_200E_202D_206E_206E_200E_200D_206D_200C_202B_200B_202A_206F_206F_206F_206C_206B_200C_200B_200F_200E_200D_200E_206B_202E_200E_200C_206E_200C_206F_206E_202B_206D_206B_202E(_clientState)); + } } - return true; } } - 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) + [MethodImpl(MethodImplOptions.NoInlining)] + 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,21 +485,25 @@ 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); _purchaseItemRegex = _dataManager.GetRegex(3406u, (Addon addon) => addon.Text, pluginLog); _questController.AutomationTypeChanged += HandleCurrentDialogueChoices; - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "SelectString", SelectStringPostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "CutSceneSelectString", CutsceneSelectStringPostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "SelectIconString", SelectIconStringPostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "SelectYesno", SelectYesnoPostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "DifficultySelectYesNo", DifficultySelectYesNoPostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "PointMenu", PointMenuPostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "HousingSelectBlock", HousingSelectBlockPostSetup); - _addonLifecycle.RegisterListener(AddonEvent.PostSetup, "EasterMowingResult", EasterMowingResultPostSetup); - if (_gameGui.TryGetAddonByName("RhythmAction", out var addonPtr)) + _206C_202C_200D_200B_206E_200F_206E_206E_206C_206A_206B_206E_206A_202C_202B_200D_200C_200D_206E_206C_200F_200D_202D_200B_200D_202A_202E_200E_206B_206D_202A_206B_200C_200F_200B_206C_202E_200C_206E_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-422420534), (IAddonLifecycle.AddonEventDelegate)SelectStringPostSetup); + _206C_202C_200D_200B_206E_200F_206E_206E_206C_206A_206B_206E_206A_202C_202B_200D_200C_200D_206E_206C_200F_200D_202D_200B_200D_202A_202E_200E_206B_206D_202A_206B_200C_200F_200B_206C_202E_200C_206E_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(316394614), (IAddonLifecycle.AddonEventDelegate)CutsceneSelectStringPostSetup); + _206C_202C_200D_200B_206E_200F_206E_206E_206C_206A_206B_206E_206A_202C_202B_200D_200C_200D_206E_206C_200F_200D_202D_200B_200D_202A_202E_200E_206B_206D_202A_206B_200C_200F_200B_206C_202E_200C_206E_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(706325697), (IAddonLifecycle.AddonEventDelegate)SelectIconStringPostSetup); + _206C_202C_200D_200B_206E_200F_206E_206E_206C_206A_206B_206E_206A_202C_202B_200D_200C_200D_206E_206C_200F_200D_202D_200B_200D_202A_202E_200E_206B_206D_202A_206B_200C_200F_200B_206C_202E_200C_206E_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(559979746), (IAddonLifecycle.AddonEventDelegate)SelectYesnoPostSetup); + _206C_202C_200D_200B_206E_200F_206E_206E_206C_206A_206B_206E_206A_202C_202B_200D_200C_200D_206E_206C_200F_200D_202D_200B_200D_202A_202E_200E_206B_206D_202A_206B_200C_200F_200B_206C_202E_200C_206E_206B_202E(_addonLifecycle, AddonEvent.PostUpdate, global::_003CModule_003E._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(2133528248), (IAddonLifecycle.AddonEventDelegate)SelectYesnoDeathRecoveryPostUpdate); + _206C_202C_200D_200B_206E_200F_206E_206E_206C_206A_206B_206E_206A_202C_202B_200D_200C_200D_206E_206C_200F_200D_202D_200B_200D_202A_202E_200E_206B_206D_202A_206B_200C_200F_200B_206C_202E_200C_206E_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-1560213177), (IAddonLifecycle.AddonEventDelegate)DifficultySelectYesNoPostSetup); + _206C_202C_200D_200B_206E_200F_206E_206E_206C_206A_206B_206E_206A_202C_202B_200D_200C_200D_206E_206C_200F_200D_202D_200B_200D_202A_202E_200E_206B_206D_202A_206B_200C_200F_200B_206C_202E_200C_206E_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(1285367197), (IAddonLifecycle.AddonEventDelegate)PointMenuPostSetup); + _206C_202C_200D_200B_206E_200F_206E_206E_206C_206A_206B_206E_206A_202C_202B_200D_200C_200D_206E_206C_200F_200D_202D_200B_200D_202A_202E_200E_206B_206D_202A_206B_200C_200F_200B_206C_202E_200C_206E_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-880835995), (IAddonLifecycle.AddonEventDelegate)HousingSelectBlockPostSetup); + _206C_202C_200D_200B_206E_200F_206E_206E_206C_206A_206B_206E_206A_202C_202B_200D_200C_200D_206E_206C_200F_200D_202D_200B_200D_202A_202E_200E_206B_206D_202A_206B_200C_200F_200B_206C_202E_200C_206E_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-445790534), (IAddonLifecycle.AddonEventDelegate)EasterMowingResultPostSetup); + if (_gameGui.TryGetAddonByName(global::_003CModule_003E._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(-740095251), out var addonPtr)) { addonPtr->Close(fireCallback: true); } @@ -130,630 +511,1831 @@ internal sealed class InteractionUiController : IDisposable private void HandleCurrentDialogueChoices(object sender, QuestController.EAutomationType automationType) { - if (automationType != QuestController.EAutomationType.Manual) + int num = ((automationType == QuestController.EAutomationType.Manual) ? 1384116977 : 1384116978); + while (true) { - HandleCurrentDialogueChoices(); + int num2 = num; + int num3 = 1384116976; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1384116978; + break; + case 1: + return; + case 2: + HandleCurrentDialogueChoices(); + num = 1384116977; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] internal unsafe void HandleCurrentDialogueChoices() { - try + AddonSelectString* addonPtr; + int num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(534731026), out addonPtr)) ? (-1609490153) : (-1609490155)); + AtkUnitBase* addonPtr6 = default(AtkUnitBase*); + AddonSelectYesno* addonPtr4 = default(AddonSelectYesno*); + AtkUnitBase* addonPtr3 = default(AtkUnitBase*); + AddonCutSceneSelectString* addonPtr5 = default(AddonCutSceneSelectString*); + AddonSelectIconString* addonPtr2 = default(AddonSelectIconString*); + while (true) { - _isInitialCheck = true; - if (_gameGui.TryGetAddonByName("SelectString", out var addonPtr)) + int num2 = num; + int num3 = -1609490145; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - _logger.LogInformation("SelectString window is open"); + case 11: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-800287418), Array.Empty()); + PointMenuPostSetup(addonPtr6, checkAllSteps: true); + num = -1609490151; + break; + case 9: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(559979746), out addonPtr4)) ? (-1609490146) : (-1609490157)); + break; + case 0: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-591681686), Array.Empty()); + DifficultySelectYesNoPostSetup(addonPtr3, checkAllSteps: true); + num = -1609490148; + break; + case 10: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1862678185), Array.Empty()); 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"); + num = -1609490153; + break; + case 12: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-368581114), Array.Empty()); SelectYesnoPostSetup(addonPtr4, checkAllSteps: true); + num = -1609490146; + break; + case 1: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(19567484), out addonPtr3)) ? (-1609490148) : (-1609490145)); + break; + case 5: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1921123424), Array.Empty()); + CutsceneSelectStringPostSetup(addonPtr5, checkAllSteps: true); + num = -1609490149; + break; + case 6: + return; + case 2: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(462301389), Array.Empty()); + SelectIconStringPostSetup(addonPtr2, checkAllSteps: true); + num = -1609490154; + break; + case 3: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(1295086227), out addonPtr6)) ? (-1609490151) : (-1609490156)); + break; + case 7: + num = -1609490155; + break; + case 8: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1487047646), out addonPtr5)) ? (-1609490149) : (-1609490150)); + break; + case 4: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(1216084341), out addonPtr2)) ? (-1609490154) : (-1609490147)); + break; } - 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); - } - } - finally - { - _isInitialCheck = false; } } private unsafe void SelectStringPostSetup(AddonEvent type, AddonArgs args) { - AddonSelectString* address = (AddonSelectString*)args.Addon.Address; + AddonSelectString* address = (AddonSelectString*)_200C_202E_202E_200C_206B_202B_200C_206B_200C_200D_206C_206C_200F_202A_206F_202B_206C_206E_206E_206C_200F_200D_206A_206F_200E_206E_202E_200F_200C_206B_206E_202E_200B_202C_200D_202A_200B_200D_200F_200D_202E(args).Address; SelectStringPostSetup(address, checkAllSteps: false); } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void SelectStringPostSetup(AddonSelectString* addonSelectString, bool checkAllSteps) { - if (!ShouldHandleUiInteractions) + int num = (checkAllSteps ? (-141072502) : (-141072507)); + string text = default(string); + List list = default(List); + ushort num8 = default(ushort); + int? num10 = default(int?); + int? num7 = default(int?); + while (true) { - return; - } - string text = addonSelectString->AtkUnitBase.AtkValues[2].ReadAtkString(); - if (text == null) - { - return; - } - List list = new List(); - for (ushort num = 7; num < addonSelectString->AtkUnitBase.AtkValuesCount; num++) - { - if (addonSelectString->AtkUnitBase.AtkValues[(int)num].Type == AtkValueType.String) + int num2 = num; + int num3 = -141072508; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int? num9; + switch (num5 - (num6 + num6)) { - list.Add(addonSelectString->AtkUnitBase.AtkValues[(int)num].ReadAtkString()); + case 5: + num9 = HandleInstanceListChoice(text); + goto IL_01fe; + case 1: + num = (ShouldHandleUiInteractions ? (-141072502) : (-141072498)); + break; + case 2: + list.Add(_202C_206E_202E_206D_202C_200F_202A_202E_202D_202C_200D_206E_202E_202C_200E_202E_202C_200B_206F_202B_202E_202A_202E_206D_206F_202A_200C_202E_202D_200D_202A_200E_200E_206D_202D_202D_206D_202D_200B_200C_202E(addonSelectString->AtkUnitBase.AtkValues[(int)num8])); + num = -141072504; + break; + case 14: + text = _202C_206E_202E_206D_202C_200F_202A_202E_202D_202C_200D_206E_202E_202C_200E_202E_202C_200B_206F_202B_202E_202A_202E_206D_206F_202A_200C_202E_202D_200D_202A_200E_200E_206D_202D_202D_206D_202D_200B_200C_202E(addonSelectString->AtkUnitBase.AtkValues[2]); + num = ((text != null) ? (-141072499) : (-141072512)); + break; + case 13: + return; + case 11: + num = -141072507; + break; + case 0: + num = ((num8 < addonSelectString->AtkUnitBase.AtkValuesCount) ? (-141072509) : (-141072505)); + break; + case 12: + { + ushort num11 = num8; + num3 = 1; + num4 = num11; + int num12 = num4 ^ num3; + int num13 = num4 & num3; + num8 = (ushort)(num12 + (num13 + num13)); + num = -141072508; + break; + } + case 7: + num = ((addonSelectString->AtkUnitBase.AtkValues[(int)num8].Type != FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.String) ? (-141072504) : (-141072506)); + break; + case 8: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(937798958), new object[2] { num10, text }); + addonSelectString->AtkUnitBase.FireCallbackInt(num10.Value); + num = -141072503; + break; + case 6: + num9 = num7; + goto IL_01fe; + case 4: + return; + case 9: + list = new List(); + num8 = 7; + num = -141072508; + break; + case 3: + num7 = HandleListChoice(text, list, checkAllSteps); + num = (num7.HasValue ? (-141072510) : (-141072511)); + break; + case 10: + return; + IL_01fe: + num10 = num9; + num = ((!num10.HasValue) ? (-141072503) : (-141072500)); + break; } - } - int? num2 = HandleListChoice(text, list, checkAllSteps) ?? HandleInstanceListChoice(text); - if (num2.HasValue) - { - _logger.LogInformation("Using choice {Choice} for list prompt '{Prompt}'", num2, text); - addonSelectString->AtkUnitBase.FireCallbackInt(num2.Value); } } private unsafe void CutsceneSelectStringPostSetup(AddonEvent type, AddonArgs args) { - AddonCutSceneSelectString* address = (AddonCutSceneSelectString*)args.Addon.Address; + AddonCutSceneSelectString* address = (AddonCutSceneSelectString*)_200C_202E_202E_200C_206B_202B_200C_206B_200C_200D_206C_206C_200F_202A_206F_202B_206C_206E_206E_206C_200F_200D_206A_206F_200E_206E_202E_200F_200C_206B_206E_202E_200B_202C_200D_202A_200B_200D_200F_200D_202E(args).Address; CutsceneSelectStringPostSetup(address, checkAllSteps: false); } private unsafe void CutsceneSelectStringPostSetup(AddonCutSceneSelectString* addonCutSceneSelectString, bool checkAllSteps) { - if (!ShouldHandleUiInteractions) + int num = (checkAllSteps ? (-1410911193) : (-1410911188)); + string text = default(string); + int? num7 = default(int?); + int num5 = default(int); + List list = default(List); + while (true) { - return; - } - string text = addonCutSceneSelectString->AtkUnitBase.AtkValues[2].ReadAtkString(); - if (text != null) - { - List list = new List(); - for (int i = 5; i < addonCutSceneSelectString->AtkUnitBase.AtkValuesCount; i++) + int num2 = num; + int num3 = -1410911195; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - list.Add(addonCutSceneSelectString->AtkUnitBase.AtkValues[i].ReadAtkString()); + case 2: + text = _202C_206E_202E_206D_202C_200F_202A_202E_202D_202C_200D_206E_202E_202C_200E_202E_202C_200B_206F_202B_202E_202A_202E_206D_206F_202A_200C_202E_202D_200D_202A_200E_200E_206D_202D_202D_206D_202D_200B_200C_202E(addonCutSceneSelectString->AtkUnitBase.AtkValues[2]); + num = ((text != null) ? (-1410911198) : (-1410911195)); + break; + case 3: + return; + case 10: + addonCutSceneSelectString->AtkUnitBase.FireCallbackInt(num7.Value); + num = -1410911194; + break; + case 6: + num = -1410911188; + break; + case 1: + num = ((num5 < addonCutSceneSelectString->AtkUnitBase.AtkValuesCount) ? (-1410911199) : (-1410911200)); + break; + case 9: + num = (ShouldHandleUiInteractions ? (-1410911193) : (-1410911187)); + break; + case 7: + list = new List(); + num5 = 5; + num = -1410911196; + break; + case 5: + num7 = HandleListChoice(text, list, checkAllSteps); + num = ((!num7.HasValue) ? (-1410911194) : (-1410911185)); + break; + case 8: + return; + case 0: + return; + case 4: + { + list.Add(_202C_206E_202E_206D_202C_200F_202A_202E_202D_202C_200D_206E_202E_202C_200E_202E_202C_200B_206F_202B_202E_202A_202E_206D_206F_202A_200C_202E_202D_200D_202A_200E_200E_206D_202D_202D_206D_202D_200B_200C_202E(addonCutSceneSelectString->AtkUnitBase.AtkValues[num5])); + int num6 = num5; + num3 = 1; + num4 = num6; + num5 = (num4 | num3) + (num4 & num3); + num = -1410911196; + break; } - int? num = HandleListChoice(text, list, checkAllSteps); - if (num.HasValue) - { - addonCutSceneSelectString->AtkUnitBase.FireCallbackInt(num.Value); } } } private unsafe void SelectIconStringPostSetup(AddonEvent type, AddonArgs args) { - AddonSelectIconString* address = (AddonSelectIconString*)args.Addon.Address; + AddonSelectIconString* address = (AddonSelectIconString*)_200C_202E_202E_200C_206B_202B_200C_206B_200C_200D_206C_206C_200F_202A_206F_202B_206C_206E_206E_206C_200F_200D_206A_206F_200E_206E_202E_200F_200C_206B_206E_202E_200B_202C_200D_202A_200B_200D_200F_200D_202E(args).Address; SelectIconStringPostSetup(address, checkAllSteps: false); } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void SelectIconStringPostSetup(AddonSelectIconString* addonSelectIconString, bool checkAllSteps) { - if (!ShouldHandleUiInteractions) + int num = (checkAllSteps ? (-12129082) : (-12129078)); + QuestController.QuestProgress startedQuest = default(QuestController.QuestProgress); + QuestStep questStep = default(QuestStep); + List choices = default(List); + string text = default(string); + QuestController.QuestProgress nextQuest = default(QuestController.QuestProgress); + int? num5 = default(int?); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + string text2 = default(string); + while (true) { - return; - } - string text = addonSelectIconString->AtkUnitBase.AtkValues[3].ReadAtkString(); - if (string.IsNullOrEmpty(text)) - { - text = null; - } - List choices = GetChoices(addonSelectIconString); - int? num = HandleListChoice(text, choices, checkAllSteps); - if (num.HasValue) - { - _logger.LogInformation("Using choice {Choice} for list prompt '{Prompt}'", num, text); - addonSelectIconString->AtkUnitBase.FireCallbackInt(num.Value); - return; - } - string text2 = (*addonSelectIconString->AtkValues).ReadAtkString(); - 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); - if (CheckQuestSelection(addonSelectIconString, startedQuest.Quest, choices)) + int num2 = num; + int num3 = -12129083; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 12: + { + QuestSequence? questSequence = startedQuest.Quest.FindSequence(startedQuest.Sequence); + questStep = ((questSequence != null) ? _200D_200E_200D_206C_206D_200C_200F_200C_206A_206C_202A_206C_202A_200C_200C_202A_206C_202E_206C_200E_202C_202D_200E_202A_200F_200F_200E_202E_200C_200D_206C_202C_200E_200B_206E_206A_200D_200D_200C_200D_202E(questSequence, startedQuest.Step) : null); + num = ((questStep == null) ? (-12129084) : (-12129065)); + break; + } + case 7: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-821203051), new object[1] { startedQuest.Quest.Info.Name }); + num = ((!CheckQuestSelection(addonSelectIconString, startedQuest.Quest, choices)) ? (-12129079) : (-12129066)); + break; + case 3: + text = _202C_206E_202E_206D_202C_200F_202A_202E_202D_202C_200D_206E_202E_202C_200E_202E_202C_200B_206F_202B_202E_202A_202E_206D_206F_202A_200C_202E_202D_200D_202A_200E_200E_206D_202D_202D_206D_202D_200B_200C_202E(addonSelectIconString->AtkUnitBase.AtkValues[3]); + num = ((!_200B_206D_200D_206B_202D_206E_200E_206C_206C_202E_206E_200D_200B_206B_206B_200F_200D_202A_202C_202C_200C_206A_206E_206F_206C_200B_206A_202A_200E_200B_200D_206B_206B_206F_206D_202C_206D_202B_202C_202A_202E(text)) ? (-12129087) : (-12129075)); + break; + case 1: + nextQuest = _questController.NextQuest; + num = ((nextQuest == null) ? (-12129088) : (-12129074)); + break; + case 18: + num = ((_202A_206C_200B_202D_206C_206E_206C_200F_200E_202B_206E_206D_200C_206E_206A_206C_202C_206F_200F_206A_200B_206F_200B_202B_200B_206B_200B_202E_202D_200B_202A_200E_206E_206C_202D_202B_200E_200E_200B_200E_202E(questStep) != EInteractionType.AcceptQuest) ? (-12129084) : (-12129080)); + break; + case 16: return; + case 4: + choices = GetChoices(addonSelectIconString); + num5 = HandleListChoice(text, choices, checkAllSteps); + num = ((!num5.HasValue) ? (-12129085) : (-12129069)); + break; + case 0: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-986592503), new object[1] { quest.Info.Name }); + num = ((!CheckQuestSelection(addonSelectIconString, quest, choices)) ? (-12129084) : (-12129067)); + break; + case 2: + num = ((!_questRegistry.TryGetQuest(_200E_200E_200E_200B_202B_202D_206F_200E_206F_202D_206A_206A_200C_206E_200B_206B_202D_206F_202D_200B_200B_206A_202B_206F_200E_200F_206C_206F_202C_200F_206F_206F_206A_202B_202E_200C_200B_200E_200E_206B_202E(questStep), out quest)) ? (-12129084) : (-12129083)); + break; + case 6: + text2 = _202C_206E_202E_206D_202C_200F_202A_202E_202D_202C_200D_206E_202E_202C_200E_202E_202C_200B_206F_202B_202E_202A_202E_206D_206F_202A_200C_202E_202D_200D_202A_200E_200E_206D_202D_202D_206D_202D_200B_200C_202E(*addonSelectIconString->AtkValues); + startedQuest = _questController.StartedQuest; + num = ((startedQuest == null) ? (-12129084) : (-12129068)); + break; + case 22: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(937798958), new object[2] { num5, text }); + addonSelectIconString->AtkUnitBase.FireCallbackInt(num5.Value); + return; + case 11: + num = ((text == null) ? (-12129072) : (-12129076)); + break; + case 20: + num = -12129078; + break; + case 10: + num = ((text2 == null) ? (-12129084) : (-12129086)); + break; + case 8: + text = null; + num = -12129087; + break; + case 5: + return; + case 9: + num = ((text2 == null) ? (-12129088) : (-12129072)); + break; + case 14: + return; + case 17: + num = ((text == null) ? (-12129086) : (-12129073)); + break; + case 21: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(734639769), new object[1] { nextQuest.Quest.Info.Name }); + CheckQuestSelection(addonSelectIconString, nextQuest.Quest, choices); + return; + case 13: + num = (((object)_200E_200E_200E_200B_202B_202D_206F_200E_206F_202D_206A_206A_200C_206E_200B_206B_202D_206F_202D_200B_200B_206A_202B_206F_200E_200F_206C_206F_202C_200F_206F_206F_206A_202B_202E_200C_200B_200E_200E_206B_202E(questStep) == null) ? (-12129084) : (-12129081)); + break; + case 19: + return; + case 15: + num = (ShouldHandleUiInteractions ? (-12129082) : (-12129077)); + break; } - 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); - if (CheckQuestSelection(addonSelectIconString, quest, choices)) - { - return; - } - } - } - 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); - CheckQuestSelection(addonSelectIconString, nextQuest.Quest, choices); } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe bool CheckQuestSelection(AddonSelectIconString* addonSelectIconString, Questionable.Model.Quest quest, List answers) { string questName = quest.Info.Name; int num = answers.FindIndex((string? x) => GameFunctions.GameStringEquals(questName, x)); - if (num >= 0) + int num2 = ((num < 0) ? (-863924327) : (-863924326)); + while (true) { - _logger.LogInformation("Selecting quest {QuestName}", questName); - addonSelectIconString->AtkUnitBase.FireCallbackInt(num); - return true; + int num3 = num2; + int num4 = -863924325; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + goto IL_006f; + case 2: + return false; + case 1: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-172604722), new object[1] { questName }); + addonSelectIconString->AtkUnitBase.FireCallbackInt(num); + return true; + } + continue; + IL_006f: + num2 = -863924326; } - return false; } 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; + int num2 = 423527263; + while (true) { - list.Add(addonSelectIconString->AtkValues[num * 3 + 7].ReadAtkString()); + int num3 = num2; + int num4 = 423527261; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 4: + { + int num10 = num * 3; + num4 = 7; + num5 = num10; + int num11 = num5 ^ num4; + int num12 = num5 & num4; + num2 = ((num11 + (num12 + num12) < addonSelectIconString->AtkUnitBase.AtkValuesCount) ? 423527262 : 423527260); + break; + } + case 1: + return list; + case 2: + num2 = ((num >= addonSelectIconString->AtkUnitBase.AtkValues[5].Int) ? 423527260 : 423527257); + break; + case 0: + num2 = 423527263; + break; + case 3: + { + AtkValue* atkValues = addonSelectIconString->AtkValues; + int num6 = num * 3; + num4 = 7; + num5 = num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + list.Add(_202C_206E_202E_206D_202C_200F_202A_202E_202D_202C_200D_206E_202E_202C_200E_202E_202C_200B_206F_202B_202E_202A_202E_206D_206F_202A_200C_202E_202D_200D_202A_200E_200E_206D_202D_202D_206D_202D_200B_200C_202E(atkValues[num7 + (num8 + num8)])); + ushort num9 = num; + num4 = 1; + num5 = num9; + num = (ushort)((num5 | num4) + (num5 & num4)); + num2 = 423527263; + break; + } + } } - return list; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe int? HandleListChoice(string? actualPrompt, List answers, bool checkAllSteps) { List list = new List(); List list2 = new List(); QuestController.QuestProgress questProgress = _questController.SimulatedQuest ?? _questController.GatheringQuest ?? _questController.StartedQuest; + int num; if (questProgress != null) { - Questionable.Model.Quest quest = questProgress.Quest; - bool flag = false; - List source = new List(); - if (checkAllSteps) + num = 897579792; + QuestSequence questSequence = default(QuestSequence); + _003C_003Ec__DisplayClass55_0 _003C_003Ec__DisplayClass55_ = default(_003C_003Ec__DisplayClass55_0); + QuestStep questStep = default(QuestStep); + bool flag = default(bool); + List source = default(List); + EAetheryteLocation? eAetheryteLocation = default(EAetheryteLocation?); + ushort? num10 = default(ushort?); + string current = default(string); + uint? warpId = default(uint?); + string warpText = default(string); + while (true) { - QuestSequence? questSequence = quest.FindSequence(questProgress.Sequence); - IEnumerable enumerable = questSequence?.Steps.SelectMany((QuestStep x) => x.DialogueChoices); - if (enumerable != null) + int num2 = num; + int num3 = 897579799; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - list.AddRange(enumerable.Select((DialogueChoice x) => new DialogueChoiceInfo(quest, x))); + default: + continue; + case 24: + questSequence = _003C_003Ec__DisplayClass55_.quest.FindSequence(questProgress.Sequence); + num = ((questSequence == null) ? 897579787 : 897579789); + continue; + case 18: + num = ((questProgress.Step != 255) ? 897579787 : 897579791); + continue; + case 25: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(2056265490), Array.Empty()); + num = 897579794; + continue; + case 19: + num = ((questStep != null) ? 897579787 : 897579781); + continue; + case 11: + flag = _202A_206C_200B_202D_206C_206E_206C_200F_200E_202B_206E_206D_200C_206E_206A_206C_202C_206F_200F_206A_200B_206F_200B_202B_200B_206B_200B_202E_202D_200B_202A_200E_206E_206C_202D_202B_200E_200E_200B_200E_202E(questStep) == EInteractionType.UnlockTaxiStand; + num = 897579794; + continue; + case 2: + num = ((questStep == null) ? 897579804 : 897579807); + continue; + case 3: + num = 897579792; + continue; + case 9: + { + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1911129672), Array.Empty()); + Questionable.Model.Quest quest3 = _003C_003Ec__DisplayClass55_.quest; + DialogueChoice dialogueChoice3 = _200D_200E_206A_202E_200F_206B_206D_206B_200C_200E_202D_206C_206F_200B_200C_200F_202A_202D_206D_200B_206E_206F_200F_200B_202C_200B_202B_202B_202E_206B_202C_202B_200D_206B_206A_202B_206F_206B_202B_206D_202E(); + _202B_206E_200F_202A_206A_200C_202C_200D_200D_202A_206B_202C_200D_200C_202E_206D_206D_202D_202A_202B_206D_200E_202A_202E_200D_200B_200D_200C_202A_200E_200B_202A_200C_206D_200F_202D_206C_206C_206C_202C_202E(dialogueChoice3, EDialogChoiceType.List); + _202E_206A_200D_200B_206F_206C_202A_206B_202D_200C_202A_202D_202D_206D_200B_206F_202B_202B_202E_200D_202B_202C_202A_206B_206C_206D_200D_206E_200B_206C_206D_202C_202A_206A_206E_206A_200D_200E_206D_202E_202E(dialogueChoice3, global::_003CModule_003E._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(-1089041782)); + _202A_202A_202B_206A_200F_202D_202D_206E_202D_200B_206A_206A_206D_206B_202E_206B_202A_202B_206E_206C_200D_202A_206B_206F_202D_202C_200B_200B_206E_206E_202D_200C_206E_206C_202C_202B_200B_206C_200E_200F_202E(dialogueChoice3, _202B_202C_206D_200C_200B_202E_202E_200B_202C_200B_202B_200C_206E_206A_200B_200F_206A_202C_200E_200B_200B_202D_206C_202C_200D_200C_206A_200D_202A_202C_202D_206B_202D_202B_202E_202A_206F_200F_202E_202D_202E(global::_003CModule_003E._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(842653526))); + _202B_206A_200C_202C_206F_206A_202D_202B_206B_202A_206B_200E_206D_202C_202B_202B_202D_202A_202C_202A_206D_202E_200E_206B_206A_202E_206C_200B_206F_200B_200F_202E_206C_202E_202C_202D_206B_202D_202B_206A_202E(dialogueChoice3, true); + _202A_200F_200B_202B_202A_200E_206D_200C_200C_202B_200D_200E_202E_202C_202E_202C_200E_202E_202D_206D_202B_206F_206F_206B_206C_206A_206A_200B_206C_202E_202C_202A_200B_200C_200F_200B_200B_206A_206C_200D_202E(dialogueChoice3, _202B_202C_206D_200C_200B_202E_202E_200B_202C_200B_202B_200C_206E_206A_200B_200F_206A_202C_200E_200B_200B_202D_206C_202C_200D_200C_206A_200D_202A_202C_202D_206B_202D_202B_202E_202A_206F_200F_202E_202D_202E(global::_003CModule_003E._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(57857705))); + _200D_202B_200F_206B_200D_206B_200B_200F_202B_206B_202B_202A_202B_200F_200F_200D_200C_206A_206B_202D_206D_206A_206D_206B_202C_200E_200E_206F_206A_202B_206D_202B_202A_206C_202E_202E_202A_200F_206C_206D_202E(dialogueChoice3, true); + list.Add(new DialogueChoiceInfo(quest3, dialogueChoice3)); + num = 897579788; + continue; } - flag = questSequence?.Steps.Any((QuestStep x) => x.InteractionType == EInteractionType.UnlockTaxiStand) ?? false; - source = (from x in questSequence?.Steps - where x != null && x.InteractionType == EInteractionType.RegisterFreeOrFavoredAetheryte && x.Aetheryte.HasValue - select x.Aetheryte.Value).ToList() ?? new List(); - } - else - { - QuestStep questStep = null; - if (_territoryData.IsQuestBattleInstance(_clientState.TerritoryType)) + case 7: + _003C_003Ec__DisplayClass55_ = new _003C_003Ec__DisplayClass55_0(); + _003C_003Ec__DisplayClass55_.quest = questProgress.Quest; + flag = false; + source = new List(); + num = ((!checkAllSteps) ? 897579777 : 897579779); + continue; + case 23: { - questStep = quest.FindSequence(questProgress.Sequence)?.Steps.FirstOrDefault((QuestStep x) => x.InteractionType == EInteractionType.SinglePlayerDuty); + Questionable.Model.Quest quest2 = _003C_003Ec__DisplayClass55_.quest; + DialogueChoice dialogueChoice2 = _200D_200E_206A_202E_200F_206B_206D_206B_200C_200E_202D_206C_206F_200B_200C_200F_202A_202D_206D_200B_206E_206F_200F_200B_202C_200B_202B_202B_202E_206B_202C_202B_200D_206B_206A_202B_206F_206B_202B_206D_202E(); + _202B_206E_200F_202A_206A_200C_202C_200D_200D_202A_206B_202C_200D_200C_202E_206D_206D_202D_202A_202B_206D_200E_202A_202E_200D_200B_200D_200C_202A_200E_200B_202A_200C_206D_200F_202D_206C_206C_206C_202C_202E(dialogueChoice2, EDialogChoiceType.List); + _202E_206A_200D_200B_206F_206C_202A_206B_202D_200C_202A_202D_202D_206D_200B_206F_202B_202B_202E_200D_202B_202C_202A_206B_206C_206D_200D_206E_200B_206C_206D_202C_202A_206A_206E_206A_200D_200E_206D_202E_202E(dialogueChoice2, _206E_202E_206E_200D_206D_202B_202D_202D_206A_206E_206F_200E_202D_206D_200B_206D_202D_202A_202C_200F_200F_202B_202E_202D_202A_202C_202E_202A_206E_206E_200F_206D_206F_202A_202C_200B_202E_200D_200E_206B_202E(_206E_200E_206F_202C_200F_206A_206D_202D_202C_202E_200B_200B_200E_206C_202D_206E_202E_206F_206C_200F_206E_200E_206A_200B_200F_202B_200E_206B_202A_206D_200E_202D_206E_206A_202E_202D_200D_206B_200D_200E_202E(questStep))); + _202A_202A_202B_206A_200F_202D_202D_206E_202D_200B_206A_206A_206D_206B_202E_206B_202A_202B_206E_206C_200D_202A_206B_206F_202D_202C_200B_200B_206E_206E_202D_200C_206E_206C_202C_202B_200B_206C_200E_200F_202E(dialogueChoice2, (ExcelRef)null); + _202A_200F_200B_202B_202A_200E_206D_200C_200C_202B_200D_200E_202E_202C_202E_202C_200E_202E_202D_206D_202B_206F_206F_206B_206C_206A_206A_200B_206C_202E_202C_202A_200B_200C_200F_200B_200B_206A_206C_200D_202E(dialogueChoice2, _206B_200F_206D_202E_202E_206C_206A_202E_206D_200D_206F_200C_200F_200D_206B_206C_200F_200C_206E_206F_206E_202B_200C_200D_200B_206A_206F_206D_206B_200E_202C_202E_202D_206C_206E_202A_200B_202C_202A_200F_202E(_206E_200E_206F_202C_200F_206A_206D_202D_202C_202E_200B_200B_200E_206C_202D_206E_202E_206F_206C_200F_206E_200E_206A_200B_200F_202B_200E_206B_202A_206D_200E_202D_206E_206A_202E_202D_200D_206B_200D_200E_202E(questStep))); + list.Add(new DialogueChoiceInfo(quest2, dialogueChoice2)); + num = 897579797; + continue; } - if (questStep == null) + case 16: + list.AddRange(_200E_206A_200F_200C_206D_206A_202B_206D_206E_206A_200B_200B_202E_206C_202C_206E_206F_200C_202E_202A_200C_200F_200E_206E_206F_202C_200B_202A_206B_206E_206F_200E_206D_206A_202E_200C_206C_206B_202E_202E(questStep).Select(_003C_003Ec__DisplayClass55_._003CHandleListChoice_003Eb__10)); + num = ((_206E_200E_206F_202C_200F_206A_206D_202D_202C_202E_200B_200B_200E_206C_202D_206E_202E_206F_206C_200F_206E_200E_206A_200B_200F_202B_200E_206B_202A_206D_200E_202D_206E_206A_202E_202D_200D_206B_200D_200E_202E(questStep) == null) ? 897579797 : 897579776); + continue; + case 4: { - questStep = quest.FindSequence(questProgress.Sequence)?.FindStep(questProgress.Step); + EAetheryteLocation valueOrDefault = eAetheryteLocation.GetValueOrDefault(); + int num11 = 1; + List list3 = new List(num11); + CollectionsMarshal.SetCount(list3, num11); + CollectionsMarshal.AsSpan(list3)[0] = valueOrDefault; + source = list3; + num = 897579804; + continue; } - if (questStep == null && questProgress.Step == 255) + case 17: + num = ((!source.Any((EAetheryteLocation x) => _aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(x) == AetheryteRegistrationResult.FavoredDestinationAvailable)) ? 897579788 : 897579806); + continue; + case 10: { - QuestSequence questSequence2 = quest.FindSequence(questProgress.Sequence); - if (questSequence2 != null && questSequence2.Steps.Count > 0) + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(399617756), Array.Empty()); + Questionable.Model.Quest quest4 = _003C_003Ec__DisplayClass55_.quest; + DialogueChoice dialogueChoice4 = _200D_200E_206A_202E_200F_206B_206D_206B_200C_200E_202D_206C_206F_200B_200C_200F_202A_202D_206D_200B_206E_206F_200F_200B_202C_200B_202B_202B_202E_206B_202C_202B_200D_206B_206A_202B_206F_206B_202B_206D_202E(); + _202B_206E_200F_202A_206A_200C_202C_200D_200D_202A_206B_202C_200D_200C_202E_206D_206D_202D_202A_202B_206D_200E_202A_202E_200D_200B_200D_200C_202A_200E_200B_202A_200C_206D_200F_202D_206C_206C_206C_202C_202E(dialogueChoice4, EDialogChoiceType.List); + _202E_206A_200D_200B_206F_206C_202A_206B_202D_200C_202A_202D_202D_206D_200B_206F_202B_202B_202E_200D_202B_202C_202A_206B_206C_206D_200D_206E_200B_206C_206D_202C_202A_206A_206E_206A_200D_200E_206D_202E_202E(dialogueChoice4, global::_003CModule_003E._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(-2128324396)); + _202A_202A_202B_206A_200F_202D_202D_206E_202D_200B_206A_206A_206D_206B_202E_206B_202A_202B_206E_206C_200D_202A_206B_206F_202D_202C_200B_200B_206E_206E_202D_200C_206E_206C_202C_202B_200B_206C_200E_200F_202E(dialogueChoice4, _202B_202C_206D_200C_200B_202E_202E_200B_202C_200B_202B_200C_206E_206A_200B_200F_206A_202C_200E_200B_200B_202D_206C_202C_200D_200C_206A_200D_202A_202C_202D_206B_202D_202B_202E_202A_206F_200F_202E_202D_202E(global::_003CModule_003E._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(842653526))); + _202B_206A_200C_202C_206F_206A_202D_202B_206B_202A_206B_200E_206D_202C_202B_202B_202D_202A_202C_202A_206D_202E_200E_206B_206A_202E_206C_200B_206F_200B_200F_202E_206C_202E_202C_202D_206B_202D_202B_206A_202E(dialogueChoice4, true); + _202A_200F_200B_202B_202A_200E_206D_200C_200C_202B_200D_200E_202E_202C_202E_202C_200E_202E_202D_206D_202B_206F_206F_206B_206C_206A_206A_200B_206C_202E_202C_202A_200B_200C_200F_200B_200B_206A_206C_200D_202E(dialogueChoice4, _202B_202C_206D_200C_200B_202E_202E_200B_202C_200B_202B_200C_206E_206A_200B_200F_206A_202C_200E_200B_200B_202D_206C_202C_200D_200C_206A_200D_202A_202C_202D_206B_202D_202B_202E_202A_206F_200F_202E_202D_202E(global::_003CModule_003E._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(1914742090))); + _200D_202B_200F_206B_200D_206B_200B_200F_202B_206B_202B_202A_202B_200F_200F_200D_200C_206A_206B_202D_206D_206A_206D_206B_202C_200E_200E_206F_206A_202B_206D_202B_202A_206C_202E_202E_202A_200F_206C_206D_202E(dialogueChoice4, true); + list.Add(new DialogueChoiceInfo(quest4, dialogueChoice4)); + num = 897579788; + continue; + } + case 1: + { + QuestSequence? questSequence2 = _003C_003Ec__DisplayClass55_.quest.FindSequence(questProgress.Sequence); + questStep = ((questSequence2 != null) ? _202B_200C_202E_200B_202E_202E_200C_206C_200B_200F_200D_200C_202C_202E_206A_202E_202D_206E_202C_206E_206E_200B_200D_200B_206A_200E_202A_206E_200D_200F_200E_200F_200D_206C_206B_200D_200F_200B_206A_202E_202E(questSequence2).FirstOrDefault((QuestStep x) => _003C_003Ec._206B_202D_206F_202A_202B_200E_202B_202B_206D_206A_206D_202E_200D_206A_200F_202D_206D_206C_206F_202D_200C_200C_206E_206F_202D_200E_202C_200B_206E_202C_206D_206C_200F_202C_206B_200B_200F_206B_202C_202E(x) == EInteractionType.SinglePlayerDuty) : null); + num = 897579778; + continue; + } + case 6: + eAetheryteLocation = _202C_200E_206D_206E_202B_206A_202E_202B_202E_200E_202E_206A_206C_200B_202B_206A_202C_206F_202D_200E_200D_200C_206B_202B_200F_206E_200E_206F_202C_202B_206E_206D_206E_206D_206F_202B_202D_206A_202D_202A_202E(questStep); + num = ((!eAetheryteLocation.HasValue) ? 897579804 : 897579795); + continue; + case 12: + { + QuestSequence? questSequence4 = _003C_003Ec__DisplayClass55_.quest.FindSequence(questProgress.Sequence); + questStep = ((questSequence4 != null) ? _200D_200E_200D_206C_206D_200C_200F_200C_206A_206C_202A_206C_202A_200C_200C_202A_206C_202E_206C_200E_202C_202D_200E_202A_200F_200F_200E_202E_200C_200D_206C_202C_200E_200B_206E_206A_200D_200D_200C_200D_202E(questSequence4, questProgress.Step) : null); + num = 897579780; + continue; + } + case 21: + num = ((questStep != null) ? 897579780 : 897579803); + continue; + case 14: + num = ((!source.Any((EAetheryteLocation x) => _aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(x) == AetheryteRegistrationResult.SecurityTokenFreeDestinationAvailable)) ? 897579782 : 897579805); + continue; + case 27: + num10 = FindTargetTerritoryFromQuestStep(questProgress); + if (num10.HasValue) { - List steps = questSequence2.Steps; - questStep = steps[steps.Count - 1]; + num = 897579802; + continue; } - } - if (questStep == null) + break; + case 15: { - _logger.LogDebug("Ignoring current quest dialogue choices, no active step"); + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1507339893), Array.Empty()); + Questionable.Model.Quest quest5 = _003C_003Ec__DisplayClass55_.quest; + DialogueChoice dialogueChoice5 = _200D_200E_206A_202E_200F_206B_206D_206B_200C_200E_202D_206C_206F_200B_200C_200F_202A_202D_206D_200B_206E_206F_200F_200B_202C_200B_202B_202B_202E_206B_202C_202B_200D_206B_206A_202B_206F_206B_202B_206D_202E(); + _202B_206E_200F_202A_206A_200C_202C_200D_200D_202A_206B_202C_200D_200C_202E_206D_206D_202D_202A_202B_206D_200E_202A_202E_200D_200B_200D_200C_202A_200E_200B_202A_200C_206D_200F_202D_206C_206C_206C_202C_202E(dialogueChoice5, EDialogChoiceType.List); + _202E_206A_200D_200B_206F_206C_202A_206B_202D_200C_202A_202D_202D_206D_200B_206F_202B_202B_202E_200D_202B_202C_202A_206B_206C_206D_200D_206E_200B_206C_206D_202C_202A_206A_206E_206A_200D_200E_206D_202E_202E(dialogueChoice5, global::_003CModule_003E._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(-2093996360)); + _202A_202A_202B_206A_200F_202D_202D_206E_202D_200B_206A_206A_206D_206B_202E_206B_202A_202B_206E_206C_200D_202A_206B_206F_202D_202C_200B_200B_206E_206E_202D_200C_206E_206C_202C_202B_200B_206C_200E_200F_202E(dialogueChoice5, _202B_202C_206D_200C_200B_202E_202E_200B_202C_200B_202B_200C_206E_206A_200B_200F_206A_202C_200E_200B_200B_202D_206C_202C_200D_200C_206A_200D_202A_202C_202D_206B_202D_202B_202E_202A_206F_200F_202E_202D_202E(global::_003CModule_003E._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(-1362537579))); + _202A_200F_200B_202B_202A_200E_206D_200C_200C_202B_200D_200E_202E_202C_202E_202C_200E_202E_202D_206D_202B_206F_206F_206B_206C_206A_206A_200B_206C_202E_202C_202A_200B_200C_200F_200B_200B_206A_206C_200D_202E(dialogueChoice5, _202B_202C_206D_200C_200B_202E_202E_200B_202C_200B_202B_200C_206E_206A_200B_200F_206A_202C_200E_200B_200B_202D_206C_202C_200D_200C_206A_200D_202A_202C_202D_206B_202D_202B_202E_202A_206F_200F_202E_202D_202E(global::_003CModule_003E._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(234500203))); + list.Add(new DialogueChoiceInfo(quest5, dialogueChoice5)); + num = 897579801; + continue; } - else + case 20: { - list.AddRange(questStep.DialogueChoices.Select((DialogueChoice x) => new DialogueChoiceInfo(quest, x))); - if (questStep.PurchaseMenu != null) + QuestSequence? questSequence3 = _003C_003Ec__DisplayClass55_.quest.FindSequence(questProgress.Sequence); + IEnumerable enumerable = ((questSequence3 != null) ? _202B_200C_202E_200B_202E_202E_200C_206C_200B_200F_200D_200C_202C_202E_206A_202E_202D_206E_202C_206E_206E_200B_200D_200B_206A_200E_202A_206E_200D_200F_200E_200F_200D_206C_206B_200D_200F_200B_206A_202E_202E(questSequence3).SelectMany((QuestStep x) => _003C_003Ec._200C_202A_206B_202A_202C_200E_200B_202A_206F_206A_206F_200E_206A_202D_200C_200D_202A_202E_200D_206C_206C_200D_206A_206B_202B_202E_206E_202E_202B_206D_200F_206B_206D_206B_206A_206D_200C_200D_206D_206F_202E(x)) : null); + if (enumerable != null) { - list.Add(new DialogueChoiceInfo(quest, new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = questStep.PurchaseMenu.ExcelSheet, - Prompt = null, - Answer = questStep.PurchaseMenu.Key - })); + list.AddRange(enumerable.Select(_003C_003Ec__DisplayClass55_._003CHandleListChoice_003Eb__5)); } - if (questStep != null && questStep.InteractionType == EInteractionType.RegisterFreeOrFavoredAetheryte) - { - EAetheryteLocation? aetheryte = questStep.Aetheryte; - if (aetheryte.HasValue) + flag = questSequence3 != null && _202B_200C_202E_200B_202E_202E_200C_206C_200B_200F_200D_200C_202C_202E_206A_202E_202D_206E_202C_206E_206E_200B_200D_200B_206A_200E_202A_206E_200D_200F_200E_200F_200D_206C_206B_200D_200F_200B_206A_202E_202E(questSequence3).Any((QuestStep x) => _003C_003Ec._206B_202D_206F_202A_202B_200E_202B_202B_206D_206A_206D_202E_200D_206A_200F_202D_206D_206C_206F_202D_200C_200C_206E_206F_202D_200E_202C_200B_206E_202C_206D_206C_200F_202C_206B_200B_200F_206B_202C_202E(x) == EInteractionType.UnlockTaxiStand); + source = ((questSequence3 != null) ? (from x in _202B_200C_202E_200B_202E_202E_200C_206C_200B_200F_200D_200C_202C_202E_206A_202E_202D_206E_202C_206E_206E_200B_200D_200B_206A_200E_202A_206E_200D_200F_200E_200F_200D_206C_206B_200D_200F_200B_206A_202E_202E(questSequence3).Where(delegate(QuestStep x) { - EAetheryteLocation valueOrDefault = aetheryte.GetValueOrDefault(); - int num = 1; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - CollectionsMarshal.AsSpan(list3)[0] = valueOrDefault; - source = list3; + int num37 = ((x == null) ? (-59017433) : (-59017434)); + while (true) + { + int num38 = num37; + int num39 = -59017433; + int num40 = num38; + switch ((num40 | num39) - (num40 & num39)) + { + case 2: + return _003C_003Ec._202B_202B_206C_200D_202B_200D_206D_202D_200C_200B_200F_202A_206C_202D_206B_206E_202A_200D_200B_206E_202E_202A_202B_200B_206E_202D_202C_206B_202A_200C_200D_202D_200B_200E_202E_202B_200E_200B_200E_202B_202E(x).HasValue; + case 1: + num37 = ((_003C_003Ec._206B_202D_206F_202A_202B_200E_202B_202B_206D_206A_206D_202E_200D_206A_200F_202D_206D_206C_206F_202D_200C_200C_206E_206F_202D_200E_202C_200B_206E_202C_206D_206C_200F_202C_206B_200B_200F_206B_202C_202E(x) != EInteractionType.RegisterFreeOrFavoredAetheryte) ? (-59017433) : (-59017435)); + break; + case 3: + num37 = -59017434; + break; + case 0: + return false; + } + } + }) + select _003C_003Ec._202B_202B_206C_200D_202B_200D_206D_202D_200C_200B_200F_202A_206C_202D_206B_206E_202A_200D_200B_206E_202E_202A_202B_200B_206E_202D_202C_206B_202A_200C_200D_202D_200B_200E_202E_202B_200E_200B_200E_202B_202E(x).Value).ToList() : null) ?? new List(); + num = 897579794; + continue; + } + case 0: + { + List list4 = _202C_206F_200B_206E_200D_200B_206B_202A_200E_206D_200F_202E_202C_206D_202C_200F_206B_206C_202C_202D_200B_202B_206F_202B_202A_206B_206B_200F_202C_206A_202B_202A_206A_202C_202E_200D_206D_200E_202E_206C_202E(questSequence); + questStep = list4[list4.Count - 1]; + num = 897579787; + continue; + } + case 8: + num = ((_202A_206C_200B_202D_206C_206E_206C_200F_200E_202B_206E_206D_200C_206E_206A_206C_202C_206F_200F_206A_200B_206F_200B_202B_200B_206B_200B_202E_202D_200B_202A_200E_206E_206C_202D_202B_200E_200E_200B_200E_202E(questStep) != EInteractionType.RegisterFreeOrFavoredAetheryte) ? 897579804 : 897579793); + continue; + case 22: + questStep = null; + num = ((!_territoryData.IsQuestBattleInstance(_200D_206E_200C_200C_202A_200B_200E_202D_206E_206E_200E_200D_206D_200C_202B_200B_202A_206F_206F_206F_206C_206B_200C_200B_200F_200E_200D_200E_206B_202E_200E_200C_206E_200C_206F_206E_202B_206D_206B_202E(_clientState))) ? 897579778 : 897579798); + continue; + case 28: + num = ((questStep != null) ? 897579783 : 897579790); + continue; + case 26: + num = ((_202B_200C_202E_200B_202E_202E_200C_206C_200B_200F_200D_200C_202C_202E_206A_202E_202D_206E_202C_206E_206E_200B_200D_200B_206A_200E_202A_206E_200D_200F_200E_200F_200D_206C_206B_200D_200F_200B_206A_202E_202E(questSequence).Count <= 0) ? 897579787 : 897579799); + continue; + case 5: + num = ((!flag) ? 897579801 : 897579800); + continue; + case 13: + { + using (List.Enumerator enumerator = answers.GetEnumerator()) + { + num = -827856624; + while (true) + { + int num7 = num; + num3 = -827856623; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 1: + num = (enumerator.MoveNext() ? (-827856622) : (-827856620)); + break; + case 3: + current = enumerator.Current; + num = ((current == null) ? (-827856624) : (-827856619)); + break; + case 2: + { + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1614302542), new object[2] { warpId, warpText }); + Questionable.Model.Quest quest = _003C_003Ec__DisplayClass55_.quest; + DialogueChoice dialogueChoice = _200D_200E_206A_202E_200F_206B_206D_206B_200C_200E_202D_206C_206F_200B_200C_200F_202A_202D_206D_200B_206E_206F_200F_200B_202C_200B_202B_202B_202E_206B_202C_202B_200D_206B_206A_202B_206F_206B_202B_206D_202E(); + _202B_206E_200F_202A_206A_200C_202C_200D_200D_202A_206B_202C_200D_200C_202E_206D_206D_202D_202A_202B_206D_200E_202A_202E_200D_200B_200D_200C_202A_200E_200B_202A_200C_206D_200F_202D_206C_206C_206C_202C_202E(dialogueChoice, EDialogChoiceType.List); + _202E_206A_200D_200B_206F_206C_202A_206B_202D_200C_202A_202D_202D_206D_200B_206F_202B_202B_202E_200D_202B_202C_202A_206B_206C_206D_200D_206E_200B_206C_206D_202C_202A_206A_206E_206A_200D_200E_206D_202E_202E(dialogueChoice, (string)null); + _202A_202A_202B_206A_200F_202D_202D_206E_202D_200B_206A_206A_206D_206B_202E_206B_202A_202B_206E_206C_200D_202A_206B_206F_202D_202C_200B_200B_206E_206E_202D_200C_206E_206C_202C_202B_200B_206C_200E_200F_202E(dialogueChoice, (ExcelRef)null); + _202A_200F_200B_202B_202A_200E_206D_200C_200C_202B_200D_200E_202E_202C_202E_202C_200E_202E_202D_206D_202B_206F_206F_206B_206C_206A_206A_200B_206C_202E_202C_202A_200B_200C_200F_200B_200B_206A_206C_200D_202E(dialogueChoice, _206D_206F_206D_206E_206B_206A_206C_206D_206C_202D_200D_202E_202C_206C_200F_200C_202B_200F_206E_202C_206F_200B_206C_206E_202C_202C_206E_202B_206E_206F_200C_200B_206E_202B_200C_200B_206B_202C_200E_206B_202E(warpText)); + list.Add(new DialogueChoiceInfo(quest, dialogueChoice)); + num = -827856624; + break; + } + case 4: + num = ((!TryFindWarp(num10.Value, current, out warpId, out warpText)) ? (-827856624) : (-827856621)); + break; + case 0: + num = -827856624; + break; + case 5: + goto end_IL_07ef; + } + continue; + end_IL_07ef: + break; } } - flag = questStep.InteractionType == EInteractionType.UnlockTaxiStand; + break; } - } - if (flag) - { - _logger.LogInformation("Adding chocobo taxi stand unlock dialogue choices"); - list.Add(new DialogueChoiceInfo(quest, new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "transport/ChocoboTaxiStand", - Prompt = ExcelRef.FromKey("TEXT_CHOCOBOTAXISTAND_00000_Q1_000_1"), - Answer = ExcelRef.FromKey("TEXT_CHOCOBOTAXISTAND_00000_A1_000_3") - })); - } - if (source.Any((EAetheryteLocation x) => _aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(x) == AetheryteRegistrationResult.SecurityTokenFreeDestinationAvailable)) - { - _logger.LogInformation("Adding security token aetheryte unlock dialogue choice"); - list.Add(new DialogueChoiceInfo(quest, new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "transport/Aetheryte", - Prompt = ExcelRef.FromKey("TEXT_AETHERYTE_MAINMENU_TITLE"), - PromptIsRegularExpression = true, - Answer = ExcelRef.FromKey("TEXT_AETHERYTE_REGISTER_TOKEN_FAVORITE"), - AnswerIsRegularExpression = true - })); - } - else if (source.Any((EAetheryteLocation x) => _aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(x) == AetheryteRegistrationResult.FavoredDestinationAvailable)) - { - _logger.LogInformation("Adding favored aetheryte unlock dialogue choice"); - list.Add(new DialogueChoiceInfo(quest, new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = "transport/Aetheryte", - Prompt = ExcelRef.FromKey("TEXT_AETHERYTE_MAINMENU_TITLE"), - PromptIsRegularExpression = true, - Answer = ExcelRef.FromKey("TEXT_AETHERYTE_REGISTER_FAVORITE"), - AnswerIsRegularExpression = true - })); - } - ushort? num2 = FindTargetTerritoryFromQuestStep(questProgress); - if (num2.HasValue) - { - foreach (string answer in answers) - { - if (answer != null && TryFindWarp(num2.Value, answer, out uint? warpId, out string warpText)) - { - _logger.LogInformation("Adding warp {Id}, {Prompt}", warpId, warpText); - list.Add(new DialogueChoiceInfo(quest, new DialogueChoice - { - Type = EDialogChoiceType.List, - ExcelSheet = null, - Prompt = null, - Answer = ExcelRef.FromSheetValue(warpText) - })); - } } + break; } } else { - _logger.LogDebug("Ignoring current quest dialogue choices, no active quest"); + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1928126356), Array.Empty()); } - IGameObject target = _targetManager.Target; - if (target != null) + IGameObject gameObject = _206E_206B_206B_200F_206F_200C_206E_206C_202A_202E_202A_206D_206A_206B_206F_206A_200D_200B_202E_202C_206F_200D_206E_206D_200E_206D_206B_202E_202E_202E_202C_202E_200B_200E_200E_200E_200C_202C_200E_200C_202E(_targetManager); + if (gameObject != null) { - foreach (IQuestInfo item in from x in _questData.GetAllByIssuerDataId(target.BaseId) + IEnumerator enumerator2 = (from x in _questData.GetAllByIssuerDataId(_206B_202D_202B_206A_200C_202C_206B_206C_206E_200E_202C_202A_202D_206E_206C_200D_202A_206F_200E_206B_206B_206A_202B_202C_202C_200B_200C_202B_202B_200D_200C_202E_206D_206F_202B_200B_200B_200F_202C_206C_202E(gameObject)) where x.QuestId is QuestId - select x) + select x).GetEnumerator(); + try { - if (!_questFunctions.IsReadyToAcceptQuest(item.QuestId) || !_questRegistry.TryGetQuest(item.QuestId, out Questionable.Model.Quest knownQuest)) + num = 820791829; + _003C_003Ec__DisplayClass55_1 _003C_003Ec__DisplayClass55_2 = default(_003C_003Ec__DisplayClass55_1); + List list5 = default(List); + IQuestInfo current2 = default(IQuestInfo); + while (true) { + int num12 = num; + int num3 = 820791831; + int num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = (_206C_206B_202B_206D_200F_202A_200B_202C_206B_206D_202B_202C_206A_206E_202C_206A_206B_202C_206E_206C_202D_206C_200E_202A_200B_200B_200C_200E_202D_206D_200B_202E_206C_202E_200B_200B_200D_206D_200E_202C_202E((IEnumerator)enumerator2) ? 820791826 : 820791828); + break; + case 7: + { + QuestSequence? questSequence5 = _003C_003Ec__DisplayClass55_2.knownQuest.FindSequence(0); + list5 = ((questSequence5 != null) ? _202B_200C_202E_200B_202E_202E_200C_206C_200B_200F_200D_200C_202C_202E_206A_202E_202D_206E_202C_206E_206E_200B_200D_200B_206A_200E_202A_206E_200D_200F_200E_200F_200D_206C_206B_200D_200F_200B_206A_202E_202E(questSequence5).SelectMany((QuestStep x) => _003C_003Ec._200C_202A_206B_202A_202C_200E_200B_202A_206F_206A_206F_200E_206A_202D_200C_200D_202A_202E_200D_206C_206C_200D_206A_206B_202B_202E_206E_202E_202B_206D_200F_206B_206D_206B_206A_206D_200C_200D_206D_206F_202E(x)).ToList() : null); + num = ((list5 == null) ? 820791829 : 820791825); + break; + } + case 0: + num = ((!_questRegistry.TryGetQuest(current2.QuestId, out _003C_003Ec__DisplayClass55_2.knownQuest)) ? 820791829 : 820791824); + break; + case 5: + current2 = enumerator2.Current; + _003C_003Ec__DisplayClass55_2 = new _003C_003Ec__DisplayClass55_1(); + num = ((!_questFunctions.IsReadyToAcceptQuest(current2.QuestId)) ? 820791829 : 820791831); + break; + case 6: + num = ((list5.Count <= 0) ? 820791829 : 820791830); + break; + case 1: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(638333770), new object[2] { list5.Count, current2.Name }); + list.AddRange(list5.Select(_003C_003Ec__DisplayClass55_2._003CHandleListChoice_003Eb__13)); + num = 820791829; + break; + case 4: + num = 820791829; + break; + case 3: + goto end_IL_09aa; + } continue; + end_IL_09aa: + break; } - List list4 = knownQuest.FindSequence(0)?.Steps.SelectMany((QuestStep x) => x.DialogueChoices).ToList(); - if (list4 != null && list4.Count > 0) + } + finally + { + num = ((enumerator2 == null) ? 1718720169 : 1718720170); + while (true) { - _logger.LogInformation("Adding {Count} dialogue choices from not accepted quest {QuestName}", list4.Count, item.Name); - list.AddRange(list4.Select((DialogueChoice x) => new DialogueChoiceInfo(knownQuest, x))); + int num13 = num; + int num3 = 1718720171; + int num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 2: + goto end_IL_0b9f; + case 1: + _202B_206A_200F_206A_206C_202C_206D_202D_200E_202C_200F_202A_202A_206B_200D_206B_206E_202D_202B_200C_202E_200B_200D_206C_200B_206E_206D_206B_202C_200D_200C_206F_202B_200D_200F_206E_206E_200E_202E_202D_202E((IDisposable)enumerator2); + num = 1718720169; + break; + case 0: + num = 1718720170; + break; + } + continue; + end_IL_0b9f: + break; } } } - if (_fateController.IsRunning) + num = ((!_fateController.IsRunning) ? (-1183571135) : (-1183571133)); + List list6 = default(List); + ushort? smartNavDestTerritoryId = default(ushort?); + string current3 = default(string); + uint? warpId2 = default(uint?); + string warpText2 = default(string); + while (true) { - List list5 = _fateController.CurrentFate?.TransformDialogueChoices; - if (list5 != null) + int num16 = num; + int num3 = -1183571136; + int num4 = num16; + switch ((num4 | num3) - (num4 & num3)) { - _logger.LogInformation("Adding {Count} dialogue choices from active FATE", list5.Count); - list.AddRange(list5.Select((DialogueChoice x) => new DialogueChoiceInfo(null, x))); - } - } - if (_seasonalDutyController.IsRunning) - { - List list6 = _seasonalDutyController.CurrentDuty?.DialogueChoices; - if (list6 != null && list6.Count > 0) - { - _logger.LogInformation("Adding {Count} dialogue choices from active seasonal duty", list6.Count); + default: + continue; + case 2: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1083305359), new object[1] { list6.Count }); list.AddRange(list6.Select((DialogueChoice x) => new DialogueChoiceInfo(null, x))); - } - } - if (list.Count == 0) - { - _logger.LogDebug("No dialogue choices to check"); - return null; - } - foreach (var (quest3, dialogueChoice2) in list) - { - if (dialogueChoice2.Type != EDialogChoiceType.List) + num = -1183571135; + continue; + case 1: + smartNavDestTerritoryId = SmartNavDestTerritoryId; + if (smartNavDestTerritoryId.HasValue) + { + num = -1183571132; + continue; + } + break; + case 0: + num = -1183571133; + continue; + case 3: { + FateDefinition? currentFate = _fateController.CurrentFate; + list6 = ((currentFate != null) ? _202C_200F_202B_202C_200F_202E_206A_200E_200D_206E_206C_202A_202C_202B_206D_202C_200D_206F_200B_202E_202B_202E_200F_202C_200F_200E_200E_202B_206A_206A_202A_202D_200D_200F_200E_206A_200B_202B_206D_202A_202E(currentFate) : null); + num = ((list6 == null) ? (-1183571135) : (-1183571134)); continue; } - if (dialogueChoice2.SpecialCondition == "NoDutyActions") + case 4: { - try + ushort valueOrDefault2 = smartNavDestTerritoryId.GetValueOrDefault(); + using (List.Enumerator enumerator = answers.GetEnumerator()) { - ContentDirector* contentDirector = EventFramework.Instance()->GetContentDirector(); - if (contentDirector != null && contentDirector->DutyActionManager.ActionsPresent) + num = -1608964332; + while (true) { - _logger.LogInformation("NoDutyActions: actions present, skipping dialogue choice"); + int num17 = num; + num3 = -1608964332; + num4 = num17; + int num18 = num4 + num3; + int num19 = num4 & num3; + switch (num18 - (num19 + num19)) + { + case 2: + num = ((!TryFindWarp(valueOrDefault2, current3, out warpId2, out warpText2)) ? (-1608964332) : (-1608964335)); + break; + case 1: + current3 = enumerator.Current; + num = ((current3 == null) ? (-1608964332) : (-1608964330)); + break; + case 0: + num = (enumerator.MoveNext() ? (-1608964331) : (-1608964329)); + break; + case 5: + { + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-609989729), new object[2] { warpId2, warpText2 }); + DialogueChoice dialogueChoice6 = _200D_200E_206A_202E_200F_206B_206D_206B_200C_200E_202D_206C_206F_200B_200C_200F_202A_202D_206D_200B_206E_206F_200F_200B_202C_200B_202B_202B_202E_206B_202C_202B_200D_206B_206A_202B_206F_206B_202B_206D_202E(); + _202B_206E_200F_202A_206A_200C_202C_200D_200D_202A_206B_202C_200D_200C_202E_206D_206D_202D_202A_202B_206D_200E_202A_202E_200D_200B_200D_200C_202A_200E_200B_202A_200C_206D_200F_202D_206C_206C_206C_202C_202E(dialogueChoice6, EDialogChoiceType.List); + _202A_202A_202B_206A_200F_202D_202D_206E_202D_200B_206A_206A_206D_206B_202E_206B_202A_202B_206E_206C_200D_202A_206B_206F_202D_202C_200B_200B_206E_206E_202D_200C_206E_206C_202C_202B_200B_206C_200E_200F_202E(dialogueChoice6, (ExcelRef)null); + _202A_200F_200B_202B_202A_200E_206D_200C_200C_202B_200D_200E_202E_202C_202E_202C_200E_202E_202D_206D_202B_206F_206F_206B_206C_206A_206A_200B_206C_202E_202C_202A_200B_200C_200F_200B_200B_206A_206C_200D_202E(dialogueChoice6, _206D_206F_206D_206E_206B_206A_206C_206D_206C_202D_200D_202E_202C_206C_200F_200C_202B_200F_206E_202C_206F_200B_206C_206E_202C_202C_206E_202B_206E_206F_200C_200B_206E_202B_200C_200B_206B_202C_200E_206B_202E(warpText2)); + list.Add(new DialogueChoiceInfo(null, dialogueChoice6)); + num = -1608964332; + break; + } + case 4: + num = -1608964332; + break; + case 3: + goto end_IL_0d35; + } continue; + end_IL_0d35: + break; } } - catch (Exception exception) - { - _logger.LogError(exception, "Failed to check for duty actions"); - continue; - } + break; } - if (dialogueChoice2.Answer == null) - { - _logger.LogDebug("Ignoring entry in DialogueChoices, no answer"); - continue; - } - if (dialogueChoice2.DataId.HasValue && dialogueChoice2.DataId != _targetManager.Target?.BaseId) - { - _logger.LogDebug("Skipping entry in DialogueChoice expecting target dataId {ExpectedDataId}, actual target is {ActualTargetId}", dialogueChoice2.DataId, _targetManager.Target?.BaseId); - continue; - } - StringOrRegex stringOrRegex = ResolveReference(quest3, dialogueChoice2.ExcelSheet, dialogueChoice2.Prompt, dialogueChoice2.PromptIsRegularExpression); - StringOrRegex stringOrRegex2 = ResolveReference(quest3, dialogueChoice2.ExcelSheet, dialogueChoice2.Answer, dialogueChoice2.AnswerIsRegularExpression); - if (actualPrompt == null && stringOrRegex != null) - { - _logger.LogInformation("Unexpected excelPrompt: {ExcelPrompt}", stringOrRegex); - continue; - } - if (actualPrompt != null && stringOrRegex != null && !IsMatch(actualPrompt, stringOrRegex)) - { - _logger.LogInformation("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? num4 = FindBestRegexMatch(answers, stringOrRegex2, quest3, dialogueChoice2); - if (!num4.HasValue) - { - continue; - } - _logger.LogInformation("Returning {Index}: '{Answer}' for '{Prompt}' (best regex match)", num4.Value, answers[num4.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 num4.Value; - } - for (int num5 = 0; num5 < answers.Count; num5++) - { - _logger.LogTrace("Checking if {ActualAnswer} == {ExpectedAnswer}", answers[num5], stringOrRegex2); - if (!IsMatch(answers[num5], stringOrRegex2)) - { - continue; - } - _logger.LogInformation("Returning {Index}: '{Answer}' for '{Prompt}'", num5, answers[num5], 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 num5; } + break; } - int[] array = list2.Distinct().ToArray(); - if (array.Length == 1) + string smartNavTaxiDestPlaceName = SmartNavTaxiDestPlaceName; + if (smartNavTaxiDestPlaceName != null) { - _logger.LogWarning("Using answer-only fallback for prompt '{Prompt}'. Selected index {Index}: '{Answer}'", actualPrompt, array[0], answers[array[0]]); - return array[0]; + using List.Enumerator enumerator = answers.GetEnumerator(); + num = 1140002236; + string current4 = default(string); + while (true) + { + int num20 = num; + int num3 = 1140002233; + int num4 = num20; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + { + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1976115373), new object[1] { smartNavTaxiDestPlaceName }); + DialogueChoice dialogueChoice7 = _200D_200E_206A_202E_200F_206B_206D_206B_200C_200E_202D_206C_206F_200B_200C_200F_202A_202D_206D_200B_206E_206F_200F_200B_202C_200B_202B_202B_202E_206B_202C_202B_200D_206B_206A_202B_206F_206B_202B_206D_202E(); + _202B_206E_200F_202A_206A_200C_202C_200D_200D_202A_206B_202C_200D_200C_202E_206D_206D_202D_202A_202B_206D_200E_202A_202E_200D_200B_200D_200C_202A_200E_200B_202A_200C_206D_200F_202D_206C_206C_206C_202C_202E(dialogueChoice7, EDialogChoiceType.List); + _202A_202A_202B_206A_200F_202D_202D_206E_202D_200B_206A_206A_206D_206B_202E_206B_202A_202B_206E_206C_200D_202A_206B_206F_202D_202C_200B_200B_206E_206E_202D_200C_206E_206C_202C_202B_200B_206C_200E_200F_202E(dialogueChoice7, (ExcelRef)null); + _202A_200F_200B_202B_202A_200E_206D_200C_200C_202B_200D_200E_202E_202C_202E_202C_200E_202E_202D_206D_202B_206F_206F_206B_206C_206A_206A_200B_206C_202E_202C_202A_200B_200C_200F_200B_200B_206A_206C_200D_202E(dialogueChoice7, _206D_206F_206D_206E_206B_206A_206C_206D_206C_202D_200D_202E_202C_206C_200F_200C_202B_200F_206E_202C_206F_200B_206C_206E_202C_202C_206E_202B_206E_206F_200C_200B_206E_202B_200C_200B_206B_202C_200E_206B_202E(smartNavTaxiDestPlaceName)); + list.Add(new DialogueChoiceInfo(null, dialogueChoice7)); + num = 1140002236; + break; + } + case 2: + num = ((!GameFunctions.GameStringEquals(current4, smartNavTaxiDestPlaceName)) ? 1140002236 : 1140002237); + break; + case 1: + current4 = enumerator.Current; + num = ((current4 == null) ? 1140002236 : 1140002235); + break; + case 3: + num = 1140002236; + break; + case 5: + num = (enumerator.MoveNext() ? 1140002232 : 1140002233); + break; + case 0: + goto end_IL_0e8a; + } + continue; + end_IL_0e8a: + break; + } + } + string aethernetDestinationName = AethernetDestinationName; + if (aethernetDestinationName != null) + { + using List.Enumerator enumerator = answers.GetEnumerator(); + num = -62641593; + string current5 = default(string); + while (true) + { + int num21 = num; + int num3 = -62641598; + int num4 = num21; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -62641593; + break; + case 0: + num = ((!GameFunctions.GameStringEquals(current5, aethernetDestinationName)) ? (-62641593) : (-62641594)); + break; + case 4: + { + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-588273048), new object[1] { aethernetDestinationName }); + DialogueChoice dialogueChoice8 = _200D_200E_206A_202E_200F_206B_206D_206B_200C_200E_202D_206C_206F_200B_200C_200F_202A_202D_206D_200B_206E_206F_200F_200B_202C_200B_202B_202B_202E_206B_202C_202B_200D_206B_206A_202B_206F_206B_202B_206D_202E(); + _202B_206E_200F_202A_206A_200C_202C_200D_200D_202A_206B_202C_200D_200C_202E_206D_206D_202D_202A_202B_206D_200E_202A_202E_200D_200B_200D_200C_202A_200E_200B_202A_200C_206D_200F_202D_206C_206C_206C_202C_202E(dialogueChoice8, EDialogChoiceType.List); + _202A_202A_202B_206A_200F_202D_202D_206E_202D_200B_206A_206A_206D_206B_202E_206B_202A_202B_206E_206C_200D_202A_206B_206F_202D_202C_200B_200B_206E_206E_202D_200C_206E_206C_202C_202B_200B_206C_200E_200F_202E(dialogueChoice8, (ExcelRef)null); + _202A_200F_200B_202B_202A_200E_206D_200C_200C_202B_200D_200E_202E_202C_202E_202C_200E_202E_202D_206D_202B_206F_206F_206B_206C_206A_206A_200B_206C_202E_202C_202A_200B_200C_200F_200B_200B_206A_206C_200D_202E(dialogueChoice8, _206D_206F_206D_206E_206B_206A_206C_206D_206C_202D_200D_202E_202C_206C_200F_200C_202B_200F_206E_202C_206F_200B_206C_206E_202C_202C_206E_202B_206E_206F_200C_200B_206E_202B_200C_200B_206B_202C_200E_206B_202E(aethernetDestinationName)); + list.Add(new DialogueChoiceInfo(null, dialogueChoice8)); + num = -62641593; + break; + } + case 5: + num = (enumerator.MoveNext() ? (-62641597) : (-62641599)); + break; + case 1: + current5 = enumerator.Current; + num = ((current5 == null) ? (-62641593) : (-62641598)); + break; + case 3: + goto end_IL_0fce; + } + continue; + end_IL_0fce: + break; + } + } + num = ((!_seasonalDutyController.IsRunning) ? (-1526467600) : (-1526467595)); + List list7 = default(List); + Questionable.Model.Quest quest7 = default(Questionable.Model.Quest); + DialogueChoice dialogueChoice10 = default(DialogueChoice); + StringOrRegex stringOrRegex = default(StringOrRegex); + int? num31 = default(int?); + StringOrRegex stringOrRegex2 = default(StringOrRegex); + int num27 = default(int); + int? num35 = default(int?); + while (true) + { + int num22 = num; + int num3 = -1526467599; + int num4 = num22; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = ((list7.Count <= 0) ? (-1526467600) : (-1526467598)); + break; + case 4: + { + SeasonalDutyDefinition? currentDuty = _seasonalDutyController.CurrentDuty; + list7 = ((currentDuty != null) ? _200F_200D_206C_200E_206F_202B_200D_206E_200B_206D_202D_206A_206D_200C_202D_206F_206D_206E_206D_206F_206D_202C_200E_200E_200F_200B_200D_206F_200E_200C_206D_206F_206D_206D_200E_206A_206A_206D_200E_206D_202E(currentDuty) : null); + num = ((list7 == null) ? (-1526467600) : (-1526467593)); + break; + } + case 2: + num = -1526467595; + break; + case 1: + num = ((list.Count != 0) ? (-1526467596) : (-1526467599)); + break; + case 3: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1534056102), new object[1] { list7.Count }); + list.AddRange(list7.Select((DialogueChoice x) => new DialogueChoiceInfo(null, x))); + num = -1526467600; + break; + case 0: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-2104605404), Array.Empty()); + return null; + case 5: + { + using (List.Enumerator enumerator3 = list.GetEnumerator()) + { + while (true) + { + IL_182f: + if (enumerator3.MoveNext()) + { + (quest7, dialogueChoice10) = enumerator3.Current; + if (_202B_202C_206E_206A_202D_200E_202C_202B_200F_202E_202B_200B_202B_200E_206E_200B_206C_206F_206A_206B_206E_202E_206C_200D_202E_202B_206F_206A_206F_200E_202C_206A_206F_202B_206C_206C_202C_206D_202D_202C_202E(dialogueChoice10) != EDialogChoiceType.List) + { + continue; + } + if (_202B_200C_200D_200F_202A_206A_206C_206A_202D_206F_200B_200F_200D_206E_202D_200D_202D_200D_206C_200E_206A_202B_202B_206E_206D_206B_206D_202A_202A_200D_202B_202C_200F_202E_206A_200F_202A_206D_206A_206C_202E(_206A_200B_206D_206D_206B_200F_206E_202D_206D_202B_202B_206A_206C_200E_206A_206E_206F_202A_206A_200C_206E_202A_200C_202C_206C_200C_202B_202D_200D_202C_200F_200B_202C_206D_202A_200B_200F_200D_200F_206E_202E(dialogueChoice10), global::_003CModule_003E._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(-1063732664))) + { + try + { + ContentDirector* contentDirector = EventFramework.Instance()->GetContentDirector(); + num = ((contentDirector == null) ? 665372634 : 665372633); + while (true) + { + int num23 = num; + num3 = 665372632; + num4 = num23; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 665372633; + break; + case 3: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1750706886), Array.Empty()); + goto IL_182f; + case 1: + num = ((!contentDirector->DutyActionManager.ActionsPresent) ? 665372634 : 665372635); + break; + case 2: + goto end_IL_12e9; + } + continue; + end_IL_12e9: + break; + } + } + catch (Exception ex) + { + _206C_202C_200D_200B_200B_200B_202B_206B_202B_206B_200F_202E_202B_202C_206F_200E_202B_202B_200B_206B_202A_206D_202B_206A_200B_206C_206C_202A_206C_200F_202E_202E_206E_200F_202E_200D_200D_200E_200F_200F_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-2069415584), Array.Empty()); + continue; + } + } + num = ((_200B_206B_202B_200F_200F_200E_206B_202D_206F_206A_200B_200C_200F_206C_200F_202E_200E_202E_206A_202C_206B_206E_202B_200E_200B_202B_202B_200C_206D_206A_206E_202E_200E_202E_202E_206F_200E_202B_206A_206E_202E(dialogueChoice10) != null) ? 426070677 : 426070674); + } + else + { + num = 426070686; + } + while (true) + { + int num24 = num; + num3 = 426070681; + num4 = num24; + int num25 = num4 + num3; + int num26 = num4 & num3; + switch (num25 - (num26 + num26)) + { + default: + continue; + case 14: + num = ((stringOrRegex == null) ? 426070683 : 426070676); + continue; + case 23: + num = ((actualPrompt == null) ? 426070685 : 426070678); + continue; + case 8: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-478958355), new object[3] + { + num31.Value, + answers[num31.Value], + actualPrompt + }); + return num31.Value; + case 1: + num = ((stringOrRegex2 == null) ? 426070670 : 426070672); + continue; + case 6: + num = (IsMatch(actualPrompt, stringOrRegex2) ? 426070685 : 426070664); + continue; + case 9: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1880137339), new object[1] { stringOrRegex2 }); + num = 426070666; + continue; + case 0: + { + int num32 = num27; + num3 = 1; + num4 = num32; + int num33 = num4 ^ num3; + int num34 = num4 & num3; + num27 = num33 + (num34 + num34); + num = 426070684; + continue; + } + case 20: + num = 426070674; + continue; + case 10: + { + ILogger logger = _logger; + string text = global::_003CModule_003E._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(78334962); + object[] obj = new object[2] + { + _206D_206A_206E_200B_200D_202E_200D_206E_206F_200E_202A_202A_200E_206D_202D_206D_206D_202B_206C_206F_202A_206F_206E_202B_206B_202A_200C_202C_200C_202E_202B_200F_206A_200B_206F_200F_202E_206A_202A_206C_202E(dialogueChoice10), + null + }; + IGameObject gameObject3 = _206E_206B_206B_200F_206F_200C_206E_206C_202A_202E_202A_206D_206A_206B_206F_206A_200D_200B_202E_202C_206F_200D_206E_206D_200E_206D_206B_202E_202E_202E_202C_202E_200B_200E_200E_200E_200C_202C_200E_200C_202E(_targetManager); + obj[1] = ((gameObject3 != null) ? new uint?(_206B_202D_202B_206A_200C_202C_206B_206C_206E_200E_202C_202A_202D_206E_206C_200D_202A_206F_200E_206B_206B_206A_202B_202C_202C_200B_200C_202B_202B_200D_200C_202E_206D_206F_202B_200B_200B_200F_202C_206C_202E(gameObject3)) : ((uint?)null)); + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)logger, text, obj); + num = 426070666; + continue; + } + case 4: + num = ((!_202A_206A_206B_200F_206F_200C_200E_202E_206C_202E_200C_200C_200B_200E_206F_200E_200E_202C_206A_202A_202D_200F_202D_202E_200D_206B_206F_200E_206A_206F_202D_200E_206E_206B_202E_200D_206B_202C_200E_200C_202E(dialogueChoice10)) ? 426070683 : 426070679); + continue; + case 11: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1814235837), Array.Empty()); + num = 426070666; + continue; + case 16: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(409856380), new object[3] + { + num27, + answers[num27], + actualPrompt + }); + return num27; + case 21: + { + uint? num28 = _206D_206A_206E_200B_200D_202E_200D_206E_206F_200E_202A_202A_200E_206D_202D_206D_206D_202B_206C_206F_202A_206F_206E_202B_206B_202A_200C_202C_200C_202E_202B_200F_206A_200B_206F_200F_202E_206A_202A_206C_202E(dialogueChoice10); + IGameObject gameObject2 = _206E_206B_206B_200F_206F_200C_206E_206C_202A_202E_202A_206D_206A_206B_206F_206A_200D_200B_202E_202C_206F_200D_206E_206D_200E_206D_206B_202E_202E_202E_202C_202E_200B_200E_200E_200E_200C_202C_200E_200C_202E(_targetManager); + uint? num29 = ((gameObject2 != null) ? new uint?(_206B_202D_202B_206A_200C_202C_206B_206C_206E_200E_202C_202A_202D_206E_206C_200D_202A_206F_200E_206B_206B_206A_202B_202C_202C_200B_200C_202B_202B_200D_200C_202E_206D_206F_202B_200B_200B_200F_202C_206C_202E(gameObject2)) : ((uint?)null)); + bool num30 = num28.GetValueOrDefault() == num29.GetValueOrDefault(); + num3 = ((num28.HasValue == num29.HasValue) ? 1 : 0); + num4 = (num30 ? 1 : 0); + num = ((num4 + num3 - (num4 | num3) != 0) ? 426070671 : 426070675); + continue; + } + case 17: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(209530327), new object[2] { stringOrRegex2, actualPrompt }); + num35 = TryFindAnswerMatchIndex(answers, stringOrRegex, _202A_206A_206B_200F_206F_200C_200E_202E_206C_202E_200C_200C_200B_200E_206F_200E_200E_202C_206A_202A_202D_200F_202D_202E_200D_206B_206F_200E_206A_206F_202D_200E_206E_206B_202E_200D_206B_202C_200E_200C_202E(dialogueChoice10), quest7, dialogueChoice10); + num = ((!num35.HasValue) ? 426070666 : 426070682); + continue; + case 2: + num27 = 0; + num = 426070684; + continue; + case 22: + stringOrRegex2 = ResolveReference(quest7, _206F_202C_206F_200C_200C_200D_202A_200F_206B_206B_206C_206C_200E_200F_202A_202D_200C_202C_200C_200B_202C_206E_200F_202B_200D_206C_206A_206F_206C_202C_206E_200F_200F_202E_206F_202E_200B_206B_206B_200E_202E(dialogueChoice10), _206F_202D_200F_200B_200E_206D_200E_206A_206E_200F_202C_200D_206E_202D_200E_206C_202D_200C_202A_200D_200B_200F_200E_202B_200F_202A_206A_206E_200F_206D_206B_202E_202D_202B_200D_206F_200C_200D_206E_200E_202E(dialogueChoice10), _206C_202A_202C_202B_206A_200B_200B_206A_206B_206E_206C_202A_200E_200E_206C_206F_206C_206E_202B_200B_206F_202B_206E_202A_206A_206A_206E_206F_206C_206A_200C_206C_202C_202D_200E_206E_202D_200C_200E_206B_202E(dialogueChoice10)); + stringOrRegex = ResolveReference(quest7, _206F_202C_206F_200C_200C_200D_202A_200F_206B_206B_206C_206C_200E_200F_202A_202D_200C_202C_200C_200B_202C_206E_200F_202B_200D_206C_206A_206F_206C_202C_206E_200F_200F_202E_206F_202E_200B_206B_206B_200E_202E(dialogueChoice10), _200B_206B_202B_200F_200F_200E_206B_202D_206F_206A_200B_200C_200F_206C_200F_202E_200E_202E_206A_202C_206B_206E_202B_200E_200B_202B_202B_200C_206D_206A_206E_202E_200E_202E_202E_206F_200E_202B_206A_206E_202E(dialogueChoice10), _202A_206A_206B_200F_206F_200C_200E_202E_206C_202E_200C_200C_200B_200E_206F_200E_200E_202C_206A_202A_202D_200F_202D_202E_200D_206B_206F_200E_206A_206F_202D_200E_206E_206B_202E_200D_206B_202C_200E_200C_202E(dialogueChoice10)); + num = ((actualPrompt != null) ? 426070670 : 426070680); + continue; + case 3: + list2.Add(num35.Value); + num = 426070666; + continue; + case 12: + num = ((!_206D_206A_206E_200B_200D_202E_200D_206E_206F_200E_202A_202A_200E_206D_202D_206D_206D_202B_206C_206F_202A_206F_206E_202B_206B_202A_200C_202C_200C_202E_202B_200F_206A_200B_206F_200F_202E_206A_202A_206C_202E(dialogueChoice10).HasValue) ? 426070671 : 426070668); + continue; + case 15: + num = ((stringOrRegex2 == null) ? 426070685 : 426070687); + continue; + case 19: + break; + case 5: + num = ((num27 < answers.Count) ? 426070667 : 426070666); + continue; + case 13: + num31 = FindBestRegexMatch(answers, stringOrRegex, quest7, dialogueChoice10); + num = ((!num31.HasValue) ? 426070666 : 426070673); + continue; + case 18: + _206D_200D_200E_202C_200F_200E_202E_206B_206A_202C_206E_202E_202D_206D_206E_206E_200D_200B_200B_206C_206E_200D_200D_206F_200D_202C_202B_200D_202C_200D_200E_206A_200F_202D_202B_202C_206C_200F_200D_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-661728963), new object[2] + { + answers[num27], + stringOrRegex + }); + num = ((!IsMatch(answers[num27], stringOrRegex)) ? 426070681 : 426070665); + continue; + case 7: + goto end_IL_13c5; + } + goto IL_182f; + continue; + end_IL_13c5: + break; + } + break; + } + } + int[] array = list2.Distinct().ToArray(); + num = ((array.Length != 1) ? (-1077307619) : (-1077307618)); + while (true) + { + int num36 = num; + num3 = -1077307617; + num4 = num36; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_1963; + case 2: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-2079227718), new object[1] { actualPrompt }); + return null; + case 1: + _206D_202E_202E_200D_202C_206A_202B_200F_202D_206F_200C_206A_206C_202A_200D_200D_202A_206D_202D_206B_202D_206F_200C_200B_206B_200F_206A_206E_202D_206B_200C_206C_200E_206A_200D_206C_200E_206F_206B_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-1985270948), new object[3] + { + actualPrompt, + array[0], + answers[array[0]] + }); + return array[0]; + } + continue; + IL_1963: + num = -1077307618; + } + } + } } - _logger.LogInformation("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) + int num = ((excelAnswer != null) ? (-1499015005) : (-1499015008)); + int num5 = default(int); + while (true) { - return null; - } - if (answerIsRegularExpression) - { - return FindBestRegexMatch(answers, excelAnswer, quest, dialogueChoice); - } - for (int i = 0; i < answers.Count; i++) - { - if (IsMatch(answers[i], excelAnswer)) + int num2 = num; + int num3 = -1499015002; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - return i; + case 1: + return FindBestRegexMatch(answers, excelAnswer, quest, dialogueChoice); + case 9: + return null; + case 4: + num = ((!IsMatch(answers[num5], excelAnswer)) ? (-1499014994) : (-1499015007)); + break; + case 0: + num = -1499015008; + break; + case 2: + num5 = 0; + num = -1499015003; + break; + case 8: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = -1499015003; + break; + } + case 7: + return num5; + case 6: + return null; + case 5: + num = ((!answerIsRegularExpression) ? (-1499015004) : (-1499015001)); + break; + case 3: + num = ((num5 < answers.Count) ? (-1499015006) : (-1499014993)); + break; } } - return null; } private static int? FindBestRegexMatch(List answers, StringOrRegex expectedAnswer, Questionable.Model.Quest? quest, DialogueChoice dialogueChoice) { - List list = (from x in answers.Select((string answer, int index) => new { answer, index }) - where x.answer != null && expectedAnswer.IsMatch(x.answer) + List list = (from x in answers.Select((string answer, int index) => new { answer, index }).Where(x => + { + int num7 = ((x.answer == null) ? 1616600266 : 1616600265); + while (true) + { + int num8 = num7; + int num9 = 1616600267; + int num10 = num8; + int num11 = num10 + num9; + int num12 = num10 & num9; + switch (num11 - (num12 + num12)) + { + case 0: + goto IL_0048; + case 1: + return false; + case 2: + return expectedAnswer.IsMatch(x.answer); + } + continue; + IL_0048: + num7 = 1616600265; + } + }) select x.index).ToList(); - return list.Count switch + int count = list.Count; + int num = ((count == 0) ? 1658119131 : 1658119130); + int? result = default(int?); + while (true) { - 0 => null, - 1 => list[0], - _ => GetBestMatchFromQuestPath(answers, list, quest, dialogueChoice), - }; + int num2 = num; + int num3 = 1658119128; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return result; + case 2: + num = ((count == 1) ? 1658119133 : 1658119129); + break; + case 3: + result = null; + num = 1658119128; + break; + case 5: + result = list[0]; + num = 1658119128; + break; + case 6: + result = GetBestMatchFromQuestPath(answers, list, quest, dialogueChoice); + num = 1658119128; + break; + case 4: + num = 1658119130; + break; + case 1: + num = 1658119134; + break; + } + } } private static int GetBestMatchFromQuestPath(List answers, List matchingIndexes, Questionable.Model.Quest? quest, DialogueChoice dialogueChoice) { - if (quest != null && dialogueChoice.Answer != null) + if (quest != null && _200B_206B_202B_200F_200F_200E_206B_202D_206F_206A_200B_200C_200F_206C_200F_202E_200E_202E_206A_202C_206B_206E_202B_200E_200B_202B_202B_200C_206D_206A_206E_202E_200E_202E_202E_206F_200E_202B_206A_206E_202E(dialogueChoice) != null) { try { - string questExpectedAnswer = null; - if (dialogueChoice.Answer.Type == ExcelRef.EType.RawString) + string text = null; + int num = ((_202D_202D_206D_206C_206D_206B_206A_206F_206B_200F_206D_200E_206D_206D_206D_200C_200C_200D_202E_202A_206D_202B_202E_202D_206B_200F_202D_202D_202E_206C_202E_202D_202C_202E_200E_200F_206A_202A_206C_206D_202E(_200B_206B_202B_200F_200F_200E_206B_202D_206F_206A_200B_200C_200F_206C_200F_202E_200E_202E_206A_202C_206B_206E_202B_200E_200B_202B_202B_200C_206D_206A_206E_202E_200E_202E_202E_206F_200E_202B_206A_206E_202E(dialogueChoice)) != ExcelRef.EType.RawString) ? 716291791 : 716291789); + int current = default(int); + while (true) { - questExpectedAnswer = dialogueChoice.Answer.AsRawString(); - } - if (!string.IsNullOrEmpty(questExpectedAnswer) && !dialogueChoice.AnswerIsRegularExpression) - { - int num = matchingIndexes.FirstOrDefault((int i) => string.Equals(answers[i], questExpectedAnswer, StringComparison.OrdinalIgnoreCase)); - if (num != 0) + int num2 = num; + int num3 = 716291788; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - return num; + case 0: + num = 716291789; + break; + case 1: + text = _202C_200C_200B_202A_202A_202D_202C_202E_200F_206F_206A_200B_202A_202D_206A_202D_206D_202C_202B_200F_200F_200F_200C_206A_206C_200C_206B_206B_200E_202D_206F_200C_202E_206B_206F_200F_200B_206E_206C_206E_202E(_200B_206B_202B_200F_200F_200E_206B_202D_206F_206A_200B_200C_200F_206C_200F_202E_200E_202E_206A_202C_206B_206E_202B_200E_200B_202B_202B_200C_206D_206A_206E_202E_200E_202E_202E_206F_200E_202B_206A_206E_202E(dialogueChoice)); + num = 716291791; + break; + case 3: + if (!_200B_206D_200D_206B_202D_206E_200E_206C_206C_202E_206E_200D_200B_206B_206B_200F_200D_202A_202C_202C_200C_206A_206E_206F_206C_200B_206A_202A_200E_200B_200D_206B_206B_206F_206D_202C_206D_202B_202C_202A_202E(text)) + { + num = 716291790; + break; + } + goto end_IL_0049; + case 2: + { + using (List.Enumerator enumerator = matchingIndexes.GetEnumerator()) + { + num = 284785868; + while (true) + { + int num7 = num; + num3 = 284785870; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + num = (enumerator.MoveNext() ? 284785871 : 284785870); + break; + case 1: + current = enumerator.Current; + num = ((!_206D_200E_200D_202D_202D_200C_200F_206B_206B_206E_202A_206A_206F_202E_202C_200F_202B_202B_206C_206D_202E_200B_206F_206A_200C_206A_200F_206D_202A_206A_200D_200F_200D_206A_200D_206A_202C_202C_200F_202C_202E(answers[current], text, StringComparison.OrdinalIgnoreCase)) ? 284785868 : 284785869); + break; + case 4: + num = 284785868; + break; + case 3: + return current; + case 0: + goto end_IL_00c9; + } + continue; + end_IL_00c9: + break; + } + } + goto end_IL_0049; } + } + continue; + end_IL_0049: + break; } } catch { } } - return matchingIndexes.OrderBy((int i) => answers[i]?.Length ?? int.MaxValue).First(); + return matchingIndexes.OrderBy(delegate(int i) + { + string? text2 = answers[i]; + return (text2 == null) ? int.MaxValue : _003C_003Ec__DisplayClass58_0._202A_202B_206C_202A_202B_206B_206D_202D_206F_202C_200F_206B_200E_200B_202E_206B_200D_202D_206C_206E_200D_202A_206D_206E_202B_206E_206C_200D_202C_202E_200B_202D_206B_206E_200E_200D_202E_206F_206A_200C_202E(text2); + }).First(); } private static bool IsMatch(string? actualAnswer, StringOrRegex? expectedAnswer) { - if (actualAnswer == null && expectedAnswer == null) + int num = ((actualAnswer != null) ? (-391415350) : (-391415345)); + while (true) { - return true; + int num2 = num; + int num3 = -391415346; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((actualAnswer == null) ? (-391415349) : (-391415346)); + break; + case 0: + num = ((expectedAnswer != null) ? (-391415352) : (-391415349)); + break; + case 6: + return expectedAnswer.IsMatch(actualAnswer); + case 5: + return false; + case 3: + return true; + case 2: + num = -391415345; + break; + case 1: + num = ((expectedAnswer != null) ? (-391415350) : (-391415347)); + break; + } } - if (actualAnswer == null || expectedAnswer == null) - { - return false; - } - return expectedAnswer.IsMatch(actualAnswer); } + [MethodImpl(MethodImplOptions.NoInlining)] private int? HandleInstanceListChoice(string? actualPrompt) { - string b = _excelFunctions.GetDialogueTextByRowId("Addon", 2090u, isRegex: false).GetString(); - if (GameFunctions.GameStringEquals(actualPrompt, b)) + string b = _excelFunctions.GetDialogueTextByRowId(global::_003CModule_003E._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(-1387823594), 2090u, isRegex: false).GetString(); + int num = ((!GameFunctions.GameStringEquals(actualPrompt, b)) ? 928090522 : 928090521); + while (true) { - _logger.LogInformation("Selecting no prefered instance as answer for '{Prompt}'", actualPrompt); - return 0; + int num2 = num; + int num3 = 928090523; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_006d; + case 2: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1170365373), new object[1] { actualPrompt }); + return 0; + case 1: + return null; + } + continue; + IL_006d: + num = 928090521; } - return null; } private unsafe void SelectYesnoPostSetup(AddonEvent type, AddonArgs args) { - AddonSelectYesno* address = (AddonSelectYesno*)args.Addon.Address; + _deathRecoveryConfirmFired = false; + AddonSelectYesno* address = (AddonSelectYesno*)_200C_202E_202E_200C_206B_202B_200C_206B_200C_200D_206C_206C_200F_202A_206F_202B_206C_206E_206E_206C_200F_200D_206A_206F_200E_206E_202E_200F_200C_206B_206E_202E_200B_202C_200D_202A_200B_200D_200F_200D_202E(args).Address; SelectYesnoPostSetup(address, checkAllSteps: false); } + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void SelectYesnoDeathRecoveryPostUpdate(AddonEvent type, AddonArgs args) + { + int num = ((!_questController.IsDeathRecoveryPending) ? (-2017828228) : (-2017828237)); + string text = default(string); + AddonSelectYesno* address = default(AddonSelectYesno*); + while (true) + { + int num2 = num; + int num3 = -2017828229; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = ((!_202D_200E_200B_206E_206D_200D_206F_200E_202E_200F_202E_206F_206E_202E_202D_202D_206A_206D_206A_206C_202E_200F_206A_202D_206E_202D_206F_206B_206A_206B_200B_206E_202A_200E_200E_202C_202B_200C_200B_200D_202E(_returnRegex, text)) ? (-2017828227) : (-2017828226)); + break; + case 1: + return; + case 7: + return; + case 2: + num = -2017828237; + break; + case 6: + return; + case 4: + num = ((!_deathRecoveryConfirmFired) ? (-2017828229) : (-2017828230)); + break; + case 0: + address = (AddonSelectYesno*)_200C_202E_202E_200C_206B_202B_200C_206B_200C_200D_206C_206C_200F_202A_206F_202B_206C_206E_206E_206C_200F_200D_206A_206F_200E_206E_202E_200F_200C_206B_206E_202E_200B_202C_200D_202A_200B_200D_200F_200D_202E(args).Address; + text = _202C_206E_202E_206D_202C_200F_202A_202E_202D_202C_200D_206E_202E_202C_200E_202E_202C_200B_206F_202B_202E_202A_202E_206D_206F_202A_200C_202E_202D_200D_202A_200E_200E_206D_202D_202D_206D_202D_200B_200C_202E(*address->AtkUnitBase.AtkValues); + num = ((text == null) ? (-2017828227) : (-2017828232)); + break; + case 8: + num = (_202A_200B_206D_200E_206A_206A_200B_200C_206D_202D_206E_200D_200E_202E_206F_206F_206E_200E_206B_206B_200D_206C_200B_206F_206A_200D_202C_200C_200D_200F_206A_200E_202B_202B_206C_202D_202E_206F_206D_206C_202E(_condition, ConditionFlag.Unconscious) ? (-2017828225) : (-2017828228)); + break; + case 5: + _202B_202A_206C_206F_206E_202C_202B_206E_200F_206B_200E_202B_202E_206B_200B_206F_206E_202E_202A_200F_206E_202E_200C_206E_206C_200D_202C_200B_202C_200E_206E_206C_206B_200B_202E_202B_206C_202C_202A_202B_202E((ILogger)_logger, global::_003CModule_003E._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(1684981861), Array.Empty()); + address->AtkUnitBase.FireCallbackInt(0); + _deathRecoveryConfirmFired = true; + num = -2017828227; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void SelectYesnoPostSetup(AddonSelectYesno* addonSelectYesno, bool checkAllSteps) { - if (!ShouldHandleUiInteractions) + int num = (checkAllSteps ? 898992558 : 898992547); + QuestController.QuestProgress startedQuest = default(QuestController.QuestProgress); + QuestController.QuestProgress simulatedQuest = default(QuestController.QuestProgress); + List list = default(List); + QuestController.QuestProgress nextQuest = default(QuestController.QuestProgress); + string text = default(string); + StringOrRegex stringOrRegex = default(StringOrRegex); + DialogueChoice current = default(DialogueChoice); + while (true) { - return; - } - string text = (*addonSelectYesno->AtkUnitBase.AtkValues).ReadAtkString(); - if (text == null) - { - return; - } - _logger.LogTrace("Prompt: '{Prompt}'", text); - if (_shopController.IsAwaitingYesNo && _purchaseItemRegex.IsMatch(text)) - { - addonSelectYesno->AtkUnitBase.FireCallbackInt(0); - _shopController.IsAwaitingYesNo = false; - return; - } - QuestController.QuestProgress startedQuest = _questController.StartedQuest; - if (startedQuest != null && CheckQuestYesNo(addonSelectYesno, startedQuest, text, checkAllSteps)) - { - return; - } - QuestController.QuestProgress simulatedQuest = _questController.SimulatedQuest; - if (simulatedQuest != null && HandleTravelYesNo(addonSelectYesno, simulatedQuest, text)) - { - return; - } - QuestController.QuestProgress nextQuest = _questController.NextQuest; - if (nextQuest != null && CheckQuestYesNo(addonSelectYesno, nextQuest, text, checkAllSteps)) - { - return; - } - if (_fateController.IsRunning) - { - List list = _fateController.CurrentFate?.TransformDialogueChoices; - if (list != null) + int num2 = num; + int num3 = 898992559; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - foreach (DialogueChoice item in list) + default: + continue; + case 14: + return; + case 21: + return; + case 22: + return; + case 12: + num = (ShouldHandleUiInteractions ? 898992558 : 898992545); + continue; + case 17: + startedQuest = _questController.StartedQuest; + num = ((startedQuest == null) ? 898992555 : 898992548); + continue; + case 10: + return; + case 4: + simulatedQuest = _questController.SimulatedQuest; + num = ((simulatedQuest == null) ? 898992556 : 898992551); + continue; + case 23: + { + FateDefinition? currentFate = _fateController.CurrentFate; + list = ((currentFate != null) ? _202C_200F_202B_202C_200F_202E_206A_200E_200D_206E_206C_202A_202C_202B_206D_202C_200D_206F_200B_202E_202B_202E_200F_202C_200F_200E_200E_202B_206A_206A_202A_202D_200D_200F_200E_206A_200B_202B_206D_202A_202E(currentFate) : null); + if (list != null) { - if (item.Type == EDialogChoiceType.YesNo) + num = 898992557; + continue; + } + break; + } + case 9: + addonSelectYesno->AtkUnitBase.FireCallbackInt(0); + _shopController.IsAwaitingYesNo = false; + return; + case 15: + num = ((!CheckQuestYesNo(addonSelectYesno, nextQuest, text, checkAllSteps)) ? 898992573 : 898992552); + continue; + case 8: + num = ((!HandleTravelYesNo(addonSelectYesno, simulatedQuest, text)) ? 898992556 : 898992570); + continue; + case 18: + if (_fateController.IsRunning) + { + num = 898992568; + continue; + } + break; + case 16: + num = ((!_202D_200E_200B_206E_206D_200D_206F_200E_202E_200F_202E_206F_206E_202E_202D_202D_206A_206D_206A_206C_202E_200F_206A_202D_206E_202D_206F_206B_206A_206B_200B_206E_202A_200E_200E_202C_202B_200C_200B_200D_202E(_purchaseItemRegex, text)) ? 898992574 : 898992550); + continue; + case 19: + _202B_202A_206C_206F_206E_202C_202B_206E_200F_206B_200E_202B_202E_206B_200B_206F_206E_202E_202A_200F_206E_202E_200C_206E_206C_200D_202C_200B_202C_200E_206E_206C_206B_200B_202E_202B_206C_202C_202A_202B_202E((ILogger)_logger, global::_003CModule_003E._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(533532426), Array.Empty()); + addonSelectYesno->AtkUnitBase.FireCallbackInt(0); + return; + case 5: + num = ((!_shopController.IsAwaitingYesNo) ? 898992574 : 898992575); + continue; + case 1: + text = _202C_206E_202E_206D_202C_200F_202A_202E_202D_202C_200D_206E_202E_202C_200E_202E_202C_200B_206F_202B_202E_202A_202E_206D_206F_202A_200C_202E_202D_200D_202A_200E_200E_206D_202D_202D_206D_202D_200B_200C_202E(*addonSelectYesno->AtkUnitBase.AtkValues); + num = ((text != null) ? 898992546 : 898992549); + continue; + case 20: + num = ((!_202A_200B_206D_200E_206A_206A_200B_200C_206D_202D_206E_200D_200E_202E_206F_206F_206E_200E_206B_206B_200D_206C_200B_206F_206A_200D_202C_200C_200D_200F_206A_200E_202B_202B_206C_202D_202E_206F_206D_206C_202E(_condition, ConditionFlag.Unconscious)) ? 898992554 : 898992559); + continue; + case 7: + return; + case 6: + num = 898992547; + continue; + case 3: + nextQuest = _questController.NextQuest; + num = ((nextQuest == null) ? 898992573 : 898992544); + continue; + case 11: + num = ((!CheckQuestYesNo(addonSelectYesno, startedQuest, text, checkAllSteps)) ? 898992555 : 898992569); + continue; + case 0: + num = ((!_202D_200E_200B_206E_206D_200D_206F_200E_202E_200F_202E_206F_206E_202E_202D_202D_206A_206D_206A_206C_202E_200F_206A_202D_206E_202D_206F_206B_206A_206B_200B_206E_202A_200E_200E_202C_202B_200C_200B_200D_202E(_returnRegex, text)) ? 898992554 : 898992572); + continue; + case 13: + _206D_200D_200E_202C_200F_200E_202E_206B_206A_202C_206E_202E_202D_206D_206E_206E_200D_200B_200B_206C_206E_200D_200D_206F_200D_202C_202B_200D_202C_200D_200E_206A_200F_202D_202B_202C_206C_200F_200D_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1498409244), new object[1] { text }); + num = ((!_questController.IsDeathRecoveryPending) ? 898992554 : 898992571); + continue; + case 2: + { + using (List.Enumerator enumerator = list.GetEnumerator()) + { + num = 27807126; + while (true) { - StringOrRegex stringOrRegex = ResolveReference(null, item.ExcelSheet, item.Prompt, item.PromptIsRegularExpression); - if (stringOrRegex != null && IsMatch(text, stringOrRegex)) + int num7 = num; + num3 = 27807120; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) { - _logger.LogInformation("FATE: Returning {YesNo} for '{Prompt}'", item.Yes ? "Yes" : "No", text); - addonSelectYesno->AtkUnitBase.FireCallbackInt((!item.Yes) ? 1 : 0); + case 0: + num = 27807126; + break; + case 4: + stringOrRegex = ResolveReference(null, _206F_202C_206F_200C_200C_200D_202A_200F_206B_206B_206C_206C_200E_200F_202A_202D_200C_202C_200C_200B_202C_206E_200F_202B_200D_206C_206A_206F_206C_202C_206E_200F_200F_202E_206F_202E_200B_206B_206B_200E_202E(current), _206F_202D_200F_200B_200E_206D_200E_206A_206E_200F_202C_200D_206E_202D_200E_206C_202D_200C_202A_200D_200B_200F_200E_202B_200F_202A_206A_206E_200F_206D_206B_202E_202D_202B_200D_206F_200C_200D_206E_200E_202E(current), _206C_202A_202C_202B_206A_200B_200B_206A_206B_206E_206C_202A_200E_200E_206C_206F_206C_206E_202B_200B_206F_202B_206E_202A_206A_206A_206E_206F_206C_206A_200C_206C_202C_202D_200E_206E_202D_200C_200E_206B_202E(current)); + num = ((stringOrRegex == null) ? 27807126 : 27807125); + break; + case 5: + num = ((!IsMatch(text, stringOrRegex)) ? 27807126 : 27807122); + break; + case 1: + current = enumerator.Current; + num = ((_202B_202C_206E_206A_202D_200E_202C_202B_200F_202E_202B_200B_202B_200E_206E_200B_206C_206F_206A_206B_206E_202E_206C_200D_202E_202B_206F_206A_206F_200E_202C_206A_206F_202B_206C_206C_202C_206D_202D_202C_202E(current) != EDialogChoiceType.YesNo) ? 27807126 : 27807124); + break; + case 2: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1136244811), new object[2] + { + _200B_200E_202B_200C_206D_202E_202C_200B_206E_206D_202B_206E_202B_206F_206A_202E_200B_202C_202E_206B_200F_200B_200D_206F_202E_200C_200F_200B_202C_202C_202A_206D_200F_206C_206C_200B_200D_202C_202C_202E(current) ? global::_003CModule_003E._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(-1054717956) : global::_003CModule_003E._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(-1667933530), + text + }); + addonSelectYesno->AtkUnitBase.FireCallbackInt((!_200B_200E_202B_200C_206D_202E_202C_200B_206E_206D_202B_206E_202B_206F_206A_202E_200B_202C_202E_206B_200F_200B_200D_206F_202E_200C_200F_200B_202C_202C_202A_206D_200F_206C_206C_200B_200D_202C_202C_202E(current)) ? 1 : 0); return; + case 6: + num = (enumerator.MoveNext() ? 27807121 : 27807123); + break; + case 3: + goto end_IL_0389; } + continue; + end_IL_0389: + break; + } + } + break; + } + } + break; + } + num = ((!SmartNavWarpRowId.HasValue) ? (-1344390674) : (-1344390673)); + List list2 = default(List); + StringOrRegex stringOrRegex2 = default(StringOrRegex); + DialogueChoice current2 = default(DialogueChoice); + while (true) + { + int num10 = num; + int num3 = -1344390679; + int num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 3: + { + SeasonalDutyDefinition? currentDuty = _seasonalDutyController.CurrentDuty; + list2 = ((currentDuty != null) ? _200F_200D_206C_200E_206F_202B_200D_206E_200B_206D_202D_206A_206D_200C_202D_206F_206D_206E_206D_206F_206D_202C_200E_200E_200F_200B_200D_206F_200E_200C_206D_206F_206D_206D_200E_206A_206A_206D_200E_206D_202E(currentDuty) : null); + if (list2 != null) + { + num = -1344390675; + break; + } + return; + } + case 7: + num = ((SmartNavTaxiDestPlaceName == null) ? (-1344390677) : (-1344390679)); + break; + case 6: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1074279270), new object[1] { SmartNavWarpRowId }); + addonSelectYesno->AtkUnitBase.FireCallbackInt(0); + return; + case 5: + num = -1344390673; + break; + case 0: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(280259749), new object[1] { SmartNavTaxiDestPlaceName }); + addonSelectYesno->AtkUnitBase.FireCallbackInt(0); + return; + case 4: + if (list2.Count > 0) + { + num = -1344390680; + break; + } + return; + case 2: + if (_seasonalDutyController.IsRunning) + { + num = -1344390678; + break; + } + return; + case 1: + { + using List.Enumerator enumerator = list2.GetEnumerator(); + num = 720151628; + while (true) + { + int num13 = num; + num3 = 720151630; + num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 0: + num = 720151628; + break; + case 6: + stringOrRegex2 = ResolveReference(null, _206F_202C_206F_200C_200C_200D_202A_200F_206B_206B_206C_206C_200E_200F_202A_202D_200C_202C_200C_200B_202C_206E_200F_202B_200D_206C_206A_206F_206C_202C_206E_200F_200F_202E_206F_202E_200B_206B_206B_200E_202E(current2), _206F_202D_200F_200B_200E_206D_200E_206A_206E_200F_202C_200D_206E_202D_200E_206C_202D_200C_202A_200D_200B_200F_200E_202B_200F_202A_206A_206E_200F_206D_206B_202E_202D_202B_200D_206F_200C_200D_206E_200E_202E(current2), _206C_202A_202C_202B_206A_200B_200B_206A_206B_206E_206C_202A_200E_200E_206C_206F_206C_206E_202B_200B_206F_202B_206E_202A_206A_206A_206E_206F_206C_206A_200C_206C_202C_202D_200E_206E_202D_200C_200E_206B_202E(current2)); + num = ((stringOrRegex2 == null) ? 720151628 : 720151626); + break; + case 4: + num = ((!IsMatch(text, stringOrRegex2)) ? 720151628 : 720151629); + break; + case 1: + current2 = enumerator.Current; + num = ((_202B_202C_206E_206A_202D_200E_202C_202B_200F_202E_202B_200B_202B_200E_206E_200B_206C_206F_206A_206B_206E_202E_206C_200D_202E_202B_206F_206A_206F_200E_202C_206A_206F_202B_206C_206C_202C_206D_202D_202C_202E(current2) != EDialogChoiceType.YesNo) ? 720151628 : 720151624); + break; + case 3: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(872691985), new object[2] + { + _200B_200E_202B_200C_206D_202E_202C_200B_206E_206D_202B_206E_202B_206F_206A_202E_200B_202C_202E_206B_200F_200B_200D_206F_202E_200C_200F_200B_202C_202C_202A_206D_200F_206C_206C_200B_200D_202C_202C_202E(current2) ? global::_003CModule_003E._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(1705182101) : global::_003CModule_003E._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(1127405909), + text + }); + addonSelectYesno->AtkUnitBase.FireCallbackInt((!_200B_200E_202B_200C_206D_202E_202C_200B_206E_206D_202B_206E_202B_206F_206A_202E_200B_202C_202E_206B_200F_200B_200D_206F_202E_200C_200F_200B_202C_202C_202A_206D_200F_206C_206C_200B_200D_202C_202C_202E(current2)) ? 1 : 0); + return; + case 2: + num = (enumerator.MoveNext() ? 720151631 : 720151627); + break; + case 5: + return; } } } - } - if (!_seasonalDutyController.IsRunning) - { - return; - } - List list2 = _seasonalDutyController.CurrentDuty?.DialogueChoices; - if (list2 == null || list2.Count <= 0) - { - return; - } - foreach (DialogueChoice item2 in list2) - { - if (item2.Type == EDialogChoiceType.YesNo) - { - StringOrRegex stringOrRegex2 = ResolveReference(null, item2.ExcelSheet, item2.Prompt, item2.PromptIsRegularExpression); - if (stringOrRegex2 != null && IsMatch(text, stringOrRegex2)) - { - _logger.LogInformation("Seasonal duty: Returning {YesNo} for '{Prompt}'", item2.Yes ? "Yes" : "No", text); - addonSelectYesno->AtkUnitBase.FireCallbackInt((!item2.Yes) ? 1 : 0); - break; - } } } } @@ -761,273 +2343,733 @@ internal sealed class InteractionUiController : IDisposable private unsafe bool CheckQuestYesNo(AddonSelectYesno* addonSelectYesno, QuestController.QuestProgress currentQuest, string actualPrompt, bool checkAllSteps) { Questionable.Model.Quest quest = currentQuest.Quest; - if (checkAllSteps) + int num = ((!checkAllSteps) ? 809682558 : 809682548); + QuestSequence questSequence3 = default(QuestSequence); + QuestSequence questSequence = default(QuestSequence); + QuestStep questStep = default(QuestStep); + while (true) { - QuestSequence questSequence = quest.FindSequence(currentQuest.Sequence); - if (questSequence != null && questSequence.Steps.Any((QuestStep step) => HandleDefaultYesNo(addonSelectYesno, quest, step, step.DialogueChoices, actualPrompt))) + int num2 = num; + int num3 = 809682551; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 7: + num = ((!_202C_206F_200B_206E_200D_200B_206B_202A_200E_206D_200F_202E_202C_206D_202C_200F_206B_206C_202C_202D_200B_202B_206F_202B_202A_206B_206B_200F_202C_206A_202B_202A_206A_202C_202E_200D_206D_200E_202E_206C_202E(questSequence3).Any((QuestStep step) => HandleDefaultYesNo(addonSelectYesno, quest, step, _003C_003Ec__DisplayClass64_0._200F_206D_206D_202C_202E_206B_206F_202D_200E_206D_202C_200D_206E_206B_200E_200E_206F_206C_200C_202A_200E_206E_200B_200C_202D_202D_206E_206D_200B_200D_202C_206F_206E_206F_206A_202B_200E_206C_206C_200D_202E(step), actualPrompt))) ? 809682555 : 809682545); + break; + case 10: + { + List list = _202C_206F_200B_206E_200D_200B_206B_202A_200E_206D_200F_202E_202C_206D_202C_200F_206B_206C_202C_202D_200B_202B_206F_202B_202A_206B_206B_200F_202C_206A_202B_202A_206A_202C_202E_200D_206D_200E_202E_206C_202E(questSequence); + questStep = list[list.Count - 1]; + num = 809682559; + break; + } + case 14: + questSequence = quest.FindSequence(currentQuest.Sequence); + num = ((questSequence == null) ? 809682559 : 809682546); + break; + case 1: + num = ((currentQuest.Step != 255) ? 809682559 : 809682553); + break; + case 6: return true; - } - } - 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)) - { + case 3: + questSequence3 = quest.FindSequence(currentQuest.Sequence); + num = ((questSequence3 == null) ? 809682555 : 809682544); + break; + case 13: return true; + case 2: + return false; + case 4: + num = ((!HandleDefaultYesNo(addonSelectYesno, quest, questStep, _200E_206A_200F_200C_206D_206A_202B_206D_206E_206A_200B_200B_202E_206C_202C_206E_206F_200C_202E_202A_200C_200F_200E_206E_206F_202C_200B_202A_206B_206E_206F_200E_206D_206A_202E_200C_206C_206B_202E_202E(questStep), actualPrompt)) ? 809682555 : 809682554); + break; + case 12: + num = ((!HandleTravelYesNo(addonSelectYesno, currentQuest, actualPrompt)) ? 809682549 : 809682551); + break; + case 5: + num = ((_202B_200C_202E_200B_202E_202E_200C_206C_200B_200F_200D_200C_202C_202E_206A_202E_202D_206E_202C_206E_206E_200B_200D_200B_206A_200E_202A_206E_200D_200F_200E_200F_200D_206C_206B_200D_200F_200B_206A_202E_202E(questSequence).Count <= 0) ? 809682559 : 809682557); + break; + case 11: + num = 809682548; + break; + case 0: + return true; + case 9: + { + QuestSequence? questSequence2 = quest.FindSequence(currentQuest.Sequence); + questStep = ((questSequence2 != null) ? _200D_200E_200D_206C_206D_200C_200F_200C_206A_206C_202A_206C_202A_200C_200C_202A_206C_202E_206C_200E_202C_202D_200E_202A_200F_200F_200E_202E_200C_200D_206C_202C_200E_200B_206E_206A_200D_200D_200C_200D_202E(questSequence2, currentQuest.Step) : null); + num = ((questStep != null) ? 809682559 : 809682550); + break; + } + case 8: + num = ((questStep == null) ? 809682555 : 809682547); + break; } } - if (HandleTravelYesNo(addonSelectYesno, currentQuest, actualPrompt)) - { - return true; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe bool HandleDefaultYesNo(AddonSelectYesno* addonSelectYesno, Questionable.Model.Quest quest, QuestStep? step, List dialogueChoices, string actualPrompt) { - if (step != null && step.InteractionType == EInteractionType.RegisterFreeOrFavoredAetheryte) + int num = ((step == null) ? 649941538 : 649941536); + EAetheryteLocation? eAetheryteLocation = default(EAetheryteLocation?); + AetheryteRegistrationResult aetheryteRegistrationResult = default(AetheryteRegistrationResult); + DialogueChoice current = default(DialogueChoice); + StringOrRegex stringOrRegex = default(StringOrRegex); + while (true) { - EAetheryteLocation? aetheryte = step.Aetheryte; - if (aetheryte.HasValue) + int num2 = num; + int num3 = 649941541; + int num4 = num2; + Span span; + switch ((num4 | num3) - (num4 & num3)) { - EAetheryteLocation valueOrDefault = aetheryte.GetValueOrDefault(); - Span span; - switch (_aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(valueOrDefault)) + case 6: + { + List list = dialogueChoices; + int num15 = 1 + list.Count; + List list3 = new List(num15); + CollectionsMarshal.SetCount(list3, num15); + Span span3 = CollectionsMarshal.AsSpan(list3); + int num14 = 0; + span = CollectionsMarshal.AsSpan(list); + span.CopyTo(span3.Slice(num14, span.Length)); + num14 += span.Length; + ref DialogueChoice reference2 = ref span3[num14]; + DialogueChoice dialogueChoice2 = _200D_200E_206A_202E_200F_206B_206D_206B_200C_200E_202D_206C_206F_200B_200C_200F_202A_202D_206D_200B_206E_206F_200F_200B_202C_200B_202B_202B_202E_206B_202C_202B_200D_206B_206A_202B_206F_206B_202B_206D_202E(); + _202B_206E_200F_202A_206A_200C_202C_200D_200D_202A_206B_202C_200D_200C_202E_206D_206D_202D_202A_202B_206D_200E_202A_202E_200D_200B_200D_200C_202A_200E_200B_202A_200C_206D_200F_202D_206C_206C_206C_202C_202E(dialogueChoice2, EDialogChoiceType.YesNo); + _202E_206A_200D_200B_206F_206C_202A_206B_202D_200C_202A_202D_202D_206D_200B_206F_202B_202B_202E_200D_202B_202C_202A_206B_206C_206D_200D_206E_200B_206C_206D_202C_202A_206A_206E_206A_200D_200E_206D_202E_202E(dialogueChoice2, global::_003CModule_003E._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(-1901839129)); + _202A_202A_202B_206A_200F_202D_202D_206E_202D_200B_206A_206A_206D_206B_202E_206B_202A_202B_206E_206C_200D_202A_206B_206F_202D_202C_200B_200B_206E_206E_202D_200C_206E_206C_202C_202B_200B_206C_200E_200F_202E(dialogueChoice2, _206D_202E_206F_202B_206B_200F_206B_206A_200F_200C_200E_200C_206F_206C_200E_202B_200F_200E_202D_202A_206B_200D_200B_206B_202B_206C_202B_200E_202A_206A_202D_202A_206E_206B_200F_200E_200F_200C_206E_206A_202E(102334u)); + _202A_200E_200E_206B_202B_200F_206E_206E_202B_200E_206F_200D_206D_202D_206A_206D_202C_202B_202C_202D_202E_202B_200C_202B_202E_206B_202D_202E_200C_202B_206F_202A_200D_200E_206A_206B_200E_202E_200F_202C_202E(dialogueChoice2, true); + reference2 = dialogueChoice2; + dialogueChoices = list3; + num = 649941538; + break; + } + case 4: + { + List list = dialogueChoices; + int num14 = 1 + list.Count; + List list2 = new List(num14); + CollectionsMarshal.SetCount(list2, num14); + span = CollectionsMarshal.AsSpan(list2); + int num15 = 0; + Span span2 = CollectionsMarshal.AsSpan(list); + span2.CopyTo(span.Slice(num15, span2.Length)); + num15 += span2.Length; + ref DialogueChoice reference = ref span[num15]; + DialogueChoice dialogueChoice = _200D_200E_206A_202E_200F_206B_206D_206B_200C_200E_202D_206C_206F_200B_200C_200F_202A_202D_206D_200B_206E_206F_200F_200B_202C_200B_202B_202B_202E_206B_202C_202B_200D_206B_206A_202B_206F_206B_202B_206D_202E(); + _202B_206E_200F_202A_206A_200C_202C_200D_200D_202A_206B_202C_200D_200C_202E_206D_206D_202D_202A_202B_206D_200E_202A_202E_200D_200B_200D_200C_202A_200E_200B_202A_200C_206D_200F_202D_206C_206C_206C_202C_202E(dialogueChoice, EDialogChoiceType.YesNo); + _202E_206A_200D_200B_206F_206C_202A_206B_202D_200C_202A_202D_202D_206D_200B_206F_202B_202B_202E_200D_202B_202C_202A_206B_206C_206D_200D_206E_200B_206C_206D_202C_202A_206A_206E_206A_200D_200E_206D_202E_202E(dialogueChoice, global::_003CModule_003E._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(322628157)); + _202A_202A_202B_206A_200F_202D_202D_206E_202D_200B_206A_206A_206D_206B_202E_206B_202A_202B_206E_206C_200D_202A_206B_206F_202D_202C_200B_200B_206E_206E_202D_200C_206E_206C_202C_202B_200B_206C_200E_200F_202E(dialogueChoice, _206D_202E_206F_202B_206B_200F_206B_206A_200F_200C_200E_200C_206F_206C_200E_202B_200F_200E_202D_202A_206B_200D_200B_206B_202B_206C_202B_200E_202A_206A_202D_202A_206E_206B_200F_200E_200F_200C_206E_206A_202E(102306u)); + _202A_200E_200E_206B_202B_200F_206E_206E_202B_200E_206F_200D_206D_202D_206A_206D_202C_202B_202C_202D_202E_202B_200C_202B_202E_206B_202D_202E_200C_202B_206F_202A_200D_200E_206A_206B_200E_202E_200F_202C_202E(dialogueChoice, true); + reference = dialogueChoice; + dialogueChoices = list2; + num = 649941538; + break; + } + case 3: + num = 649941536; + break; + case 5: + num = ((_202A_206C_200B_202D_206C_206E_206C_200F_200E_202B_206E_206D_200C_206E_206A_206C_202C_206F_200F_206A_200B_206F_200B_202B_200B_206B_200B_202E_202D_200B_202A_200E_206E_206C_202D_202B_200E_200E_200B_200E_202E(step) != EInteractionType.RegisterFreeOrFavoredAetheryte) ? 649941538 : 649941540); + break; + case 1: + eAetheryteLocation = _202C_200E_206D_206E_202B_206A_202E_202B_202E_200E_202E_206A_206C_200B_202B_206A_202C_206F_202D_200E_200D_200C_206B_202B_200F_206E_200E_206F_202C_202B_206E_206D_206E_206D_206F_202B_202D_206A_202D_202A_202E(step); + num = ((!eAetheryteLocation.HasValue) ? 649941538 : 649941541); + break; + case 0: + { + EAetheryteLocation valueOrDefault = eAetheryteLocation.GetValueOrDefault(); + aetheryteRegistrationResult = _aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(valueOrDefault); + num = ((aetheryteRegistrationResult != AetheryteRegistrationResult.SecurityTokenFreeDestinationAvailable) ? 649941543 : 649941539); + break; + } + case 2: + num = ((aetheryteRegistrationResult != AetheryteRegistrationResult.FavoredDestinationAvailable) ? 649941538 : 649941537); + break; + case 7: + { + _206D_200D_200E_202C_200F_200E_202E_206B_206A_202C_206E_202E_202D_206D_206E_206E_200D_200B_200B_206C_206E_200D_200D_206F_200D_202C_202B_200D_202C_200D_200E_206A_200F_202D_202B_202C_206C_200F_200D_200F_202E((ILogger)_logger, global::_003CModule_003E._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(549701124), new object[1] { dialogueChoices.Count }); + using (List.Enumerator enumerator = dialogueChoices.GetEnumerator()) { - case AetheryteRegistrationResult.SecurityTokenFreeDestinationAvailable: - { - List list = dialogueChoices; - int num2 = 1 + list.Count; - List list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span3 = CollectionsMarshal.AsSpan(list3); - int num = 0; - span = CollectionsMarshal.AsSpan(list); - span.CopyTo(span3.Slice(num, span.Length)); - num += span.Length; - span3[num] = new DialogueChoice + num = -1231901395; + while (true) { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "Addon", - Prompt = ExcelRef.FromRowId(102334u), - Yes = true - }; - dialogueChoices = list3; - break; + int num5 = num; + num3 = -1231901403; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 9: + num = ((!_206D_206A_206E_200B_200D_202E_200D_206E_206F_200E_202A_202A_200E_206D_202D_206D_206D_202B_206C_206F_202A_206F_206E_202B_206B_202A_200C_202C_200C_202E_202B_200F_206A_200B_206F_200F_202E_206A_202A_206C_202E(current).HasValue) ? (-1231901393) : (-1231901402)); + break; + case 6: + num = (IsMatch(actualPrompt, stringOrRegex) ? (-1231901407) : (-1231901401)); + break; + case 0: + num = -1231901395; + break; + case 3: + { + uint? num8 = _206D_206A_206E_200B_200D_202E_200D_206E_206F_200E_202A_202A_200E_206D_202D_206D_206D_202B_206C_206F_202A_206F_206E_202B_206B_202A_200C_202C_200C_202E_202B_200F_206A_200B_206F_200F_202E_206A_202A_206C_202E(current); + IGameObject gameObject = _206E_206B_206B_200F_206F_200C_206E_206C_202A_202E_202A_206D_206A_206B_206F_206A_200D_200B_202E_202C_206F_200D_206E_206D_200E_206D_206B_202E_202E_202E_202C_202E_200B_200E_200E_200E_200C_202C_200E_200C_202E(_targetManager); + uint? num9 = ((gameObject != null) ? new uint?(_206B_202D_202B_206A_200C_202C_206B_206C_206E_200E_202C_202A_202D_206E_206C_200D_202A_206F_200E_206B_206B_206A_202B_202C_202C_200B_200C_202B_202B_200D_200C_202E_206D_206F_202B_200B_200B_200F_202C_206C_202E(gameObject)) : ((uint?)null)); + bool num10 = num8.GetValueOrDefault() == num9.GetValueOrDefault(); + num3 = ((num8.HasValue == num9.HasValue) ? 1 : 0); + num4 = (num10 ? 1 : 0); + num = (((num4 | num3) - (num4 ^ num3) != 0) ? (-1231901393) : (-1231901406)); + break; + } + case 8: + num = (enumerator.MoveNext() ? (-1231901404) : (-1231901408)); + break; + case 2: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1191229816), new object[2] { stringOrRegex, actualPrompt }); + num = -1231901395; + break; + case 4: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1148349469), new object[2] + { + _200B_200E_202B_200C_206D_202E_202C_200B_206E_206D_202B_206E_202B_206F_206A_202E_200B_202C_202E_206B_200F_200B_200D_206F_202E_200C_200F_200B_202C_202C_202A_206D_200F_206C_206C_200B_200D_202C_202C_202E(current) ? global::_003CModule_003E._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(-1295539558) : global::_003CModule_003E._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(1191036459), + actualPrompt + }); + addonSelectYesno->AtkUnitBase.FireCallbackInt((!_200B_200E_202B_200C_206D_202E_202C_200B_206E_206D_202B_206E_202B_206F_206A_202E_200B_202C_202E_206B_200F_200B_200D_206F_202E_200C_200F_200B_202C_202C_202A_206D_200F_206C_206C_200B_200D_202C_202C_202E(current)) ? 1 : 0); + return true; + case 7: + { + ILogger logger = _logger; + string text = global::_003CModule_003E._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(-948190502); + object[] obj = new object[2] + { + _206D_206A_206E_200B_200D_202E_200D_206E_206F_200E_202A_202A_200E_206D_202D_206D_206D_202B_206C_206F_202A_206F_206E_202B_206B_202A_200C_202C_200C_202E_202B_200F_206A_200B_206F_200F_202E_206A_202A_206C_202E(current), + null + }; + IGameObject gameObject2 = _206E_206B_206B_200F_206F_200C_206E_206C_202A_202E_202A_206D_206A_206B_206F_206A_200D_200B_202E_202C_206F_200D_206E_206D_200E_206D_206B_202E_202E_202E_202C_202E_200B_200E_200E_200E_200C_202C_200E_200C_202E(_targetManager); + obj[1] = ((gameObject2 != null) ? new uint?(_206B_202D_202B_206A_200C_202C_206B_206C_206E_200E_202C_202A_202D_206E_206C_200D_202A_206F_200E_206B_206B_206A_202B_202C_202C_200B_200C_202B_202B_200D_200C_202E_206D_206F_202B_200B_200B_200F_202C_206C_202E(gameObject2)) : ((uint?)null)); + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)logger, text, obj); + num = -1231901395; + break; + } + case 1: + current = enumerator.Current; + num = ((_202B_202C_206E_206A_202D_200E_202C_202B_200F_202E_202B_200B_202B_200E_206E_200B_206C_206F_206A_206B_206E_202E_206C_200D_202E_202B_206F_206A_206F_200E_202C_206A_206F_202B_206C_206C_202C_206D_202D_202C_202E(current) != EDialogChoiceType.YesNo) ? (-1231901395) : (-1231901396)); + break; + case 10: + stringOrRegex = ResolveReference(quest, _206F_202C_206F_200C_200C_200D_202A_200F_206B_206B_206C_206C_200E_200F_202A_202D_200C_202C_200C_200B_202C_206E_200F_202B_200D_206C_206A_206F_206C_202C_206E_200F_200F_202E_206F_202E_200B_206B_206B_200E_202E(current), _206F_202D_200F_200B_200E_206D_200E_206A_206E_200F_202C_200D_206E_202D_200E_206C_202D_200C_202A_200D_200B_200F_200E_202B_200F_202A_206A_206E_200F_206D_206B_202E_202D_202B_200D_206F_200C_200D_206E_200E_202E(current), _206C_202A_202C_202B_206A_200B_200B_206A_206B_206E_206C_202A_200E_200E_206C_206F_206C_206E_202B_200B_206F_202B_206E_202A_206A_206A_206E_206F_206C_206A_200C_206C_202C_202D_200E_206E_202D_200C_200E_206B_202E(current)); + num = ((stringOrRegex == null) ? (-1231901401) : (-1231901405)); + break; + case 5: + goto end_IL_0285; + } + continue; + end_IL_0285: + break; + } } - case AetheryteRegistrationResult.FavoredDestinationAvailable: + num = ((!CheckSinglePlayerDutyYesNo(quest.Id, step)) ? 1032501046 : 1032501045); + while (true) { - List list = dialogueChoices; - int num = 1 + list.Count; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - span = CollectionsMarshal.AsSpan(list2); - int num2 = 0; - Span span2 = CollectionsMarshal.AsSpan(list); - span2.CopyTo(span.Slice(num2, span2.Length)); - num2 += span2.Length; - span[num2] = new DialogueChoice + int num11 = num; + num3 = 1032501047; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) { - Type = EDialogChoiceType.YesNo, - ExcelSheet = "Addon", - Prompt = ExcelRef.FromRowId(102306u), - Yes = true - }; - dialogueChoices = list2; - break; - } + case 0: + goto IL_05ba; + case 2: + addonSelectYesno->AtkUnitBase.FireCallbackInt(0); + return true; + case 1: + return false; + } + continue; + IL_05ba: + num = 1032501045; } } - } - _logger.LogTrace("DefaultYesNo: Choice count: {Count}", dialogueChoices.Count); - foreach (DialogueChoice dialogueChoice in dialogueChoices) - { - if (dialogueChoice.Type != EDialogChoiceType.YesNo) - { - continue; } - if (dialogueChoice.DataId.HasValue && dialogueChoice.DataId != _targetManager.Target?.BaseId) - { - _logger.LogDebug("Skipping entry in DialogueChoice expecting target dataId {ExpectedDataId}, actual target is {ActualTargetId}", dialogueChoice.DataId, _targetManager.Target?.BaseId); - continue; - } - 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); - continue; - } - _logger.LogInformation("Returning {YesNo} for '{Prompt}'", dialogueChoice.Yes ? "Yes" : "No", actualPrompt); - addonSelectYesno->AtkUnitBase.FireCallbackInt((!dialogueChoice.Yes) ? 1 : 0); - return true; } - if (CheckSinglePlayerDutyYesNo(quest.Id, step)) - { - addonSelectYesno->AtkUnitBase.FireCallbackInt(0); - return true; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckSinglePlayerDutyYesNo(ElementId questId, QuestStep? step) { - if (step != null && step.InteractionType == EInteractionType.SinglePlayerDuty && _bossModIpc.IsConfiguredToRunSoloInstance(questId, step.SinglePlayerDutyOptions)) + int num = ((step == null) ? (-67535065) : (-67535067)); + while (true) { - _logger.LogInformation("SinglePlayerDutyYesNo: probably Single Player Duty"); - return true; + int num2 = num; + int num3 = -67535068; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = ((!_bossModIpc.IsConfiguredToRunSoloInstance(questId, _202A_200F_200B_206A_206B_206E_202B_206C_200B_206A_200B_206F_202A_200D_202C_206F_202C_206F_206F_206D_206E_202E_202A_200F_206D_206A_202B_200D_200E_202C_206D_206D_200E_206B_200F_206B_206D_206E_202E_206F_202E(step))) ? (-67535065) : (-67535068)); + break; + case 3: + return false; + case 2: + num = -67535067; + break; + case 1: + num = ((_202A_206C_200B_202D_206C_206E_206C_200F_200E_202B_206E_206D_200C_206E_206A_206C_202C_206F_200F_206A_200B_206F_200B_202B_200B_206B_200B_202E_202D_200B_202A_200E_206E_206C_202D_202B_200E_200E_200B_200E_202E(step) != EInteractionType.SinglePlayerDuty) ? (-67535065) : (-67535072)); + break; + case 0: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(889876292), Array.Empty()); + return true; + } } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] 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)) + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1960829333), Array.Empty()); + int num = ((_206F_200E_200E_202D_206E_206A_202B_200E_206F_202A_202C_202D_200F_200F_206D_206A_200B_206B_202C_202E_200C_202B_200E_200C_202E_202C_200B_200B_202D_206B_206E_206D_206C_202D_200D_200C_202A_206B_202B_206F_202E() - _aetheryteFunctions.ReturnRequestedAt > 2000) ? 1655529223 : 1655529224); + uint? warpId = default(uint?); + string warpText = default(string); + ushort? num7 = default(ushort?); + while (true) { - _logger.LogInformation("Automatically confirming return..."); - addonSelectYesno->AtkUnitBase.FireCallbackInt(0); - return true; + int num2 = num; + int num3 = 1655529216; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1010595978), new object[2] { warpId, warpText }); + addonSelectYesno->AtkUnitBase.FireCallbackInt(0); + return true; + case 1: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1154825939), Array.Empty()); + addonSelectYesno->AtkUnitBase.FireCallbackInt(0); + return true; + case 8: + num = ((!_202D_200E_200B_206E_206D_200D_206F_200E_202E_200F_202E_206F_206E_202E_202D_202D_206A_206D_206A_206C_202E_200F_206A_202D_206E_202D_206F_206B_206A_206B_200B_206E_202A_200E_200E_202C_202B_200C_200B_200D_202E(_returnRegex, actualPrompt)) ? 1655529223 : 1655529221); + break; + case 2: + num = ((!TryFindWarp(num7.Value, actualPrompt, out warpId, out warpText)) ? 1655529216 : 1655529222); + break; + case 0: + return false; + case 5: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-890675885), Array.Empty()); + addonSelectYesno->AtkUnitBase.FireCallbackInt(0); + return true; + case 7: + num = ((!_questController.IsRunning) ? 1655529220 : 1655529219); + break; + case 4: + num7 = FindTargetTerritoryFromQuestStep(currentQuest); + num = ((!num7.HasValue) ? 1655529216 : 1655529218); + break; + case 3: + { + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1462282105), out var _)) ? 1655529220 : 1655529217); + break; + } + case 9: + num = 1655529224; + break; + } } - if (_questController.IsRunning && _gameGui.TryGetAddonByName("HousingSelectBlock", out var _)) - { - _logger.LogInformation("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); - addonSelectYesno->AtkUnitBase.FireCallbackInt(0); - return true; - } - return false; } private unsafe void DifficultySelectYesNoPostSetup(AddonEvent type, AddonArgs args) { - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; + AtkUnitBase* address = (AtkUnitBase*)_200C_202E_202E_200C_206B_202B_200C_206B_200C_200D_206C_206C_200F_202A_206F_202B_206C_206E_206E_206C_200F_200D_206A_206F_200E_206E_202E_200F_200C_206B_206E_202E_200B_202C_200D_202A_200B_200D_200F_200D_202E(args).Address; DifficultySelectYesNoPostSetup(address, checkAllSteps: false); } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void DifficultySelectYesNoPostSetup(AtkUnitBase* addonDifficultySelectYesNo, bool checkAllSteps) { - if (!_questController.IsRunning) + int num = (_questController.IsRunning ? 1023104881 : 1023104891); + QuestSequence questSequence2 = default(QuestSequence); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + QuestController.QuestProgress startedQuest = default(QuestController.QuestProgress); + QuestStep questStep = default(QuestStep); + bool flag = default(bool); + while (true) { - return; - } - QuestController.QuestProgress startedQuest = _questController.StartedQuest; - if (startedQuest == null) - { - return; - } - Questionable.Model.Quest quest = startedQuest.Quest; - bool flag; - if (checkAllSteps) - { - flag = quest.FindSequence(startedQuest.Sequence)?.Steps.Any((QuestStep step) => CheckSinglePlayerDutyYesNo(quest.Id, step)) ?? false; - } - else - { - QuestStep questStep = quest.FindSequence(startedQuest.Sequence)?.FindStep(startedQuest.Step); - flag = questStep != null && CheckSinglePlayerDutyYesNo(quest.Id, questStep); - } - if (flag) - { - _logger.LogInformation("Confirming difficulty ({Difficulty}) for quest battle", _configuration.SinglePlayerDuties.RetryDifficulty); - AtkValue* values = stackalloc AtkValue[2] + int num2 = num; + int num3 = 1023104895; + int num4 = num2; + int num5; + int num6; + switch ((num4 | num3) - (num4 & num3)) { - new AtkValue + case 5: + num = 1023104891; + break; + case 7: + { + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-174771791), new object[1] { _configuration.SinglePlayerDuties.RetryDifficulty }); + AtkValue* values = stackalloc AtkValue[2] { - Type = AtkValueType.Int, - Int = 0 - }, - new AtkValue + new AtkValue + { + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int, + Int = 0 + }, + new AtkValue + { + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int, + Int = (int)_configuration.SinglePlayerDuties.RetryDifficulty + } + }; + addonDifficultySelectYesNo->FireCallback(2u, values); + num = 1023104894; + break; + } + case 10: + return; + case 13: + num = (_dutyRetryState.CanRetry(_configuration.SinglePlayerDuties.MaxRetries) ? 1023104888 : 1023104880); + break; + case 3: + questSequence2 = quest.FindSequence(startedQuest.Sequence); + num = ((questSequence2 == null) ? 1023104883 : 1023104886); + break; + case 9: + num5 = (_202C_206F_200B_206E_200D_200B_206B_202A_200E_206D_200F_202E_202C_206D_202C_200F_206B_206C_202C_202D_200B_202B_206F_202B_202A_206B_206B_200F_202C_206A_202B_202A_206A_202C_202E_200D_206D_200E_202E_206C_202E(questSequence2).Any((QuestStep step) => CheckSinglePlayerDutyYesNo(quest.Id, step)) ? 1 : 0); + goto IL_022c; + case 11: + { + QuestSequence? questSequence = quest.FindSequence(startedQuest.Sequence); + questStep = ((questSequence != null) ? _200D_200E_200D_206C_206D_200C_200F_200C_206A_206C_202A_206C_202A_200C_200C_202A_206C_202E_206C_200E_202C_202D_200E_202A_200F_200F_200E_202E_200C_200D_206C_202C_200E_200B_206E_206A_200D_200D_200C_200D_202E(questSequence, startedQuest.Step) : null); + num = ((questStep == null) ? 1023104889 : 1023104893); + break; + } + case 12: + num5 = 0; + goto IL_022c; + case 14: + startedQuest = _questController.StartedQuest; + num = ((startedQuest != null) ? 1023104879 : 1023104885); + break; + case 6: + num6 = 0; + goto IL_0264; + case 8: + num = ((!flag) ? 1023104894 : 1023104895); + break; + case 15: + _202B_202A_206C_206F_206E_202C_202B_206E_200F_206B_200E_202B_202E_206B_200B_206F_206E_202E_202A_200F_206E_202E_200C_206E_206C_200D_202C_200B_202C_200E_206E_206C_206B_200B_202E_202B_206C_202C_202A_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1840610405), Array.Empty()); + return; + case 4: + return; + case 1: + return; + case 2: + num6 = (CheckSinglePlayerDutyYesNo(quest.Id, questStep) ? 1 : 0); + goto IL_0264; + case 16: + quest = startedQuest.Quest; + num = ((!checkAllSteps) ? 1023104884 : 1023104892); + break; + case 0: { - Type = AtkValueType.Int, - Int = _configuration.SinglePlayerDuties.RetryDifficulty + num = ((!_dutyRetryState.AwaitingOutcome) ? 1023104888 : 1023104882); + break; } - }; - addonDifficultySelectYesNo->FireCallback(2u, values); + IL_022c: + flag = (byte)num5 != 0; + num = 1023104887; + break; + IL_0264: + flag = (byte)num6 != 0; + num = 1023104887; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private ushort? FindTargetTerritoryFromQuestStep(QuestController.QuestProgress currentQuest) { QuestSequence questSequence = currentQuest.Quest.FindSequence(currentQuest.Sequence); - if (questSequence == null) + int num = ((questSequence != null) ? (-1997211430) : (-1997211426)); + QuestStep questStep = default(QuestStep); + GatheringPointId gatheringPointId = default(GatheringPointId); + GatheringRoot gatheringRoot = default(GatheringRoot); + QuestStep current = default(QuestStep); + while (true) { - return null; - } - QuestStep questStep = questSequence.FindStep(currentQuest.Step); - if (questStep != null) - { - _logger.LogTrace("FindTargetTerritoryFromQuestStep (current): {CurrentTerritory}, {TargetTerritory}", questStep.TerritoryId, questStep.TargetTerritoryId); - } - if (questStep != null && (questStep.TerritoryId != _clientState.TerritoryType || !questStep.TargetTerritoryId.HasValue) && questStep.InteractionType == EInteractionType.Gather) - { - IGameObject gameObject = _objectTable[0]; - if (_gatheringPointRegistry.TryGetGatheringPointId(questStep.ItemsToGather[0].ItemId, ((EClassJob?)(gameObject as ICharacter)?.ClassJob.RowId).GetValueOrDefault(), out GatheringPointId gatheringPointId) && _gatheringPointRegistry.TryGetGatheringPoint(gatheringPointId, out GatheringRoot gatheringRoot)) + int num2 = num; + int num3 = -1997211425; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - foreach (QuestStep step in gatheringRoot.Steps) + default: + continue; + case 7: + if (questStep != null) { - if (step.TerritoryId == _clientState.TerritoryType && step.TargetTerritoryId.HasValue) + num = -1997211431; + continue; + } + break; + case 1: + return null; + case 3: + if (_202A_206C_200B_202D_206C_206E_206C_200F_200E_202B_206E_206D_200C_206E_206A_206C_202C_206F_200F_206A_200B_206F_200B_202B_200B_206B_200B_202E_202D_200B_202A_200E_206E_206C_202D_202B_200E_200E_200B_200E_202E(questStep) == EInteractionType.Gather) + { + num = -1997211433; + continue; + } + break; + case 0: + if (!_200D_202A_200E_206B_200B_206B_206D_202E_202B_206C_206D_202C_206E_200C_206D_202B_206D_206B_206B_202E_206D_200C_206E_200D_202C_206E_206B_206B_206E_200B_202D_202A_206D_206A_206D_206E_206C_200E_202D_202B_202E(questStep).HasValue) + { + num = -1997211428; + continue; + } + break; + case 6: + num = ((_206E_200D_206B_202C_202B_202E_206C_200C_202D_206F_206F_206C_200B_206E_202D_200E_206F_202C_206B_202E_206F_206B_200F_202A_202D_200B_206A_202B_202B_206B_202D_202C_206A_206A_206E_200D_200E_202B_206A_202B_202E(questStep) != _200D_206E_200C_200C_202A_200B_200E_202D_206E_206E_200E_200D_206D_200C_202B_200B_202A_206F_206F_206F_206C_206B_200C_200B_200F_200E_200D_200E_206B_202E_200E_200C_206E_200C_206F_206E_202B_206D_206B_202E(_clientState)) ? (-1997211428) : (-1997211425)); + continue; + case 2: + _206D_200D_200E_202C_200F_200E_202E_206B_206A_202C_206E_202E_202D_206D_206E_206E_200D_200B_200B_206C_206E_200D_200D_206F_200D_202C_202B_200D_202C_200D_200E_206A_200F_202D_202B_202C_206C_200F_200D_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1599957604), new object[2] + { + _206E_200D_206B_202C_202B_202E_206C_200C_202D_206F_206F_206C_200B_206E_202D_200E_206F_202C_206B_202E_206F_206B_200F_202A_202D_200B_206A_202B_202B_206B_202D_202C_206A_206A_206E_200D_200E_202B_206A_202B_202E(questStep), + _200D_202A_200E_206B_200B_206B_206D_202E_202B_206C_206D_202C_206E_200C_206D_202B_206D_206B_206B_202E_206D_200C_206E_200D_202C_206E_206B_206B_206E_200B_202D_202A_206D_206A_206D_206E_206C_200E_202D_202B_202E(questStep) + }); + num = -1997211432; + continue; + case 8: + { + IGameObject gameObject = _206C_206D_200D_200F_202C_202D_200D_206A_200E_200F_206C_206A_206F_202A_206A_206C_200B_202B_206B_206A_200B_200F_202A_206D_202B_206F_206F_202C_202E_206E_206D_202C_206A_206E_200C_206B_206A_206E_202D_200D_202E(_objectTable, 0); + GatheringPointRegistry gatheringPointRegistry = _gatheringPointRegistry; + uint itemId = _202C_206A_200E_206D_206F_200E_202B_200B_202E_206D_200C_206B_202C_200C_206D_200D_206E_200D_202E_206E_200D_200B_206F_206E_206F_200F_206C_206E_206B_206E_200B_202B_202E_200C_202A_200E_200D_206F_200D_202E(_200C_206F_206A_206E_200B_206A_200C_202D_206A_206F_206D_200E_202B_206E_206C_206E_202B_200C_202A_202E_200B_200F_200E_202A_206D_202A_200F_206A_206F_206E_206C_202C_206D_206E_200B_200C_202A_206E_206E_206B_202E(questStep)[0]); + ICharacter obj = gameObject as ICharacter; + if (gatheringPointRegistry.TryGetGatheringPointId(itemId, ((EClassJob?)((obj != null) ? new uint?(_202A_206F_206C_200B_206F_200B_206E_206D_206F_202D_206D_202E_202A_200D_206B_206B_202E_206F_206B_200F_206D_202C_206B_206B_202D_206B_206A_202A_202B_202B_200D_202C_206E_206F_202B_206C_206F_206D_200E_206B_202E(obj).RowId) : ((uint?)null))).GetValueOrDefault(), out gatheringPointId)) + { + num = -1997211434; + continue; + } + break; + } + case 9: + if (_gatheringPointRegistry.TryGetGatheringPoint(gatheringPointId, out gatheringRoot)) + { + num = -1997211435; + continue; + } + break; + case 4: + num = -1997211426; + continue; + case 5: + questStep = _206D_200E_206F_202C_202B_206B_206B_200E_206F_200F_202D_206B_202D_206D_200E_206A_202D_202A_200C_200E_200E_206A_206C_202D_206C_206F_202B_206A_206B_206E_206F_200C_202D_200F_206A_200B_206D_202B_202B_200C_202E(questSequence, currentQuest.Step); + num = ((questStep == null) ? (-1997211432) : (-1997211427)); + continue; + case 10: + { + using (List.Enumerator enumerator = _200F_202D_202C_202A_200D_200D_200B_200F_200E_206D_202B_206B_202C_202E_206E_202D_202D_206D_200C_206C_202B_200E_206C_206E_202B_202C_200B_206A_202C_206A_200C_206F_202E_206C_202E_202C_206A_206E_202B_200C_202E(gatheringRoot).GetEnumerator()) + { + num = 1631096220; + while (true) { - _logger.LogTrace("FindTargetTerritoryFromQuestStep (gathering): {CurrentTerritory}, {TargetTerritory}", step.TerritoryId, step.TargetTerritoryId); - return step.TargetTerritoryId; + int num7 = num; + num3 = 1631096222; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + _206D_200D_200E_202C_200F_200E_202E_206B_206A_202C_206E_202E_202D_206D_206E_206E_200D_200B_200B_206C_206E_200D_200D_206F_200D_202C_202B_200D_202C_200D_200E_206A_200F_202D_202B_202C_206C_200F_200D_200F_202E((ILogger)_logger, global::_003CModule_003E._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(460838574), new object[2] + { + _206E_200D_206B_202C_202B_202E_206C_200C_202D_206F_206F_206C_200B_206E_202D_200E_206F_202C_206B_202E_206F_206B_200F_202A_202D_200B_206A_202B_202B_206B_202D_202C_206A_206A_206E_200D_200E_202B_206A_202B_202E(current), + _200D_202A_200E_206B_200B_206B_206D_202E_202B_206C_206D_202C_206E_200C_206D_202B_206D_206B_206B_202E_206D_200C_206E_200D_202C_206E_206B_206B_206E_200B_202D_202A_206D_206A_206D_206E_206C_200E_202D_202B_202E(current) + }); + return _200D_202A_200E_206B_200B_206B_206D_202E_202B_206C_206D_202C_206E_200C_206D_202B_206D_206B_206B_202E_206D_200C_206E_200D_202C_206E_206B_206B_206E_200B_202D_202A_206D_206A_206D_206E_206C_200E_202D_202B_202E(current); + case 0: + num = ((!_200D_202A_200E_206B_200B_206B_206D_202E_202B_206C_206D_202C_206E_200C_206D_202B_206D_206B_206B_202E_206D_200C_206E_200D_202C_206E_206B_206B_206E_200B_202D_202A_206D_206A_206D_206E_206C_200E_202D_202B_202E(current).HasValue) ? 1631096220 : 1631096221); + break; + case 2: + num = (enumerator.MoveNext() ? 1631096219 : 1631096223); + break; + case 4: + num = 1631096220; + break; + case 5: + current = enumerator.Current; + num = ((_206E_200D_206B_202C_202B_202E_206C_200C_202D_206F_206F_206C_200B_206E_202D_200E_206F_202C_206B_202E_206F_206B_200F_202A_202D_200B_206A_202B_202B_206B_202D_202C_206A_206A_206E_200D_200E_202B_206A_202B_202E(current) != _200D_206E_200C_200C_202A_200B_200E_202D_206E_206E_200E_200D_206D_200C_202B_200B_202A_206F_206F_206F_206C_206B_200C_200B_200F_200E_200D_200E_206B_202E_200E_200C_206E_200C_206F_206E_202B_206D_206B_202E(_clientState)) ? 1631096220 : 1631096222); + break; + case 1: + goto end_IL_0251; + } + continue; + end_IL_0251: + break; } } + break; } + } + break; } - if (questStep == null || !questStep.TargetTerritoryId.HasValue) + num = ((questStep == null) ? 752015086 : 752015087); + while (true) { - _logger.LogTrace("FindTargetTerritoryFromQuestStep: Checking previous step..."); - questStep = questSequence.FindStep((currentQuest.Step == 255) ? (questSequence.Steps.Count - 1) : (currentQuest.Step - 1)); - if (questStep != null) + int num8 = num; + int num3 = 752015085; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) { - _logger.LogTrace("FindTargetTerritoryFromQuestStep (previous): {CurrentTerritory}, {TargetTerritory}", questStep.TerritoryId, questStep.TargetTerritoryId); + case 3: + _206D_200D_200E_202C_200F_200E_202E_206B_206A_202C_206E_202E_202D_206D_206E_206E_200D_200B_200B_206C_206E_200D_200D_206F_200D_202C_202B_200D_202C_200D_200E_206A_200F_202D_202B_202C_206C_200F_200D_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-731518161), Array.Empty()); + questStep = _206D_200E_206F_202C_202B_206B_206B_200E_206F_200F_202D_206B_202D_206D_200E_206A_202D_202A_200C_200E_200E_206A_206C_202D_206C_206F_202B_206A_206B_206E_206F_200C_202D_200F_206A_200B_206D_202B_202B_200C_202E(questSequence, (currentQuest.Step == 255) ? (_202C_206F_200B_206E_200D_200B_206B_202A_200E_206D_200F_202E_202C_206D_202C_200F_206B_206C_202C_202D_200B_202B_206F_202B_202A_206B_206B_200F_202C_206A_202B_202A_206A_202C_202E_200D_206D_200E_202E_206C_202E(questSequence).Count - 1) : (currentQuest.Step - 1)); + num = ((questStep == null) ? 752015082 : 752015080); + break; + case 2: + num = (_200D_202A_200E_206B_200B_206B_206D_202E_202B_206C_206D_202C_206E_200C_206D_202B_206D_206B_206B_202E_206D_200C_206E_200D_202C_206E_206B_206B_206E_200B_202D_202A_206D_206A_206D_206E_206C_200E_202D_202B_202E(questStep).HasValue ? 752015082 : 752015086); + break; + case 0: + num = 752015087; + break; + case 1: + num = (_200D_202A_200E_206B_200B_206B_206D_202E_202B_206C_206D_202C_206E_200C_206D_202B_206D_206B_206B_202E_206D_200C_206E_200D_202C_206E_206B_206B_206E_200B_202D_202A_206D_206A_206D_206E_206C_200E_202D_202B_202E(questStep).HasValue ? 752015083 : 752015081); + break; + case 7: + num = ((questStep == null) ? 752015081 : 752015084); + break; + case 6: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-176972039), new object[1] { _200D_202A_200E_206B_200B_206B_206D_202E_202B_206C_206D_202C_206E_200C_206D_202B_206D_206B_206B_202E_206D_200C_206E_200D_202C_206E_206B_206B_206E_200B_202D_202A_206D_206A_206D_206E_206C_200E_202D_202B_202E(questStep) }); + return _200D_202A_200E_206B_200B_206B_206D_202E_202B_206C_206D_202C_206E_200C_206D_202B_206D_206B_206B_202E_206D_200C_206E_200D_202C_206E_206B_206B_206E_200B_202D_202A_206D_206A_206D_206E_206C_200E_202D_202B_202E(questStep); + case 5: + _206D_200D_200E_202C_200F_200E_202E_206B_206A_202C_206E_202E_202D_206D_206E_206E_200D_200B_200B_206C_206E_200D_200D_206F_200D_202C_202B_200D_202C_200D_200E_206A_200F_202D_202B_202C_206C_200F_200D_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1109011822), new object[2] + { + _206E_200D_206B_202C_202B_202E_206C_200C_202D_206F_206F_206C_200B_206E_202D_200E_206F_202C_206B_202E_206F_206B_200F_202A_202D_200B_206A_202B_202B_206B_202D_202C_206A_206A_206E_200D_200E_202B_206A_202B_202E(questStep), + _200D_202A_200E_206B_200B_206B_206D_202E_202B_206C_206D_202C_206E_200C_206D_202B_206D_206B_206B_202E_206D_200C_206E_200D_202C_206E_206B_206B_206E_200B_202D_202A_206D_206A_206D_206E_206C_200E_202D_202B_202E(questStep) + }); + num = 752015082; + break; + case 4: + _206D_200D_200E_202C_200F_200E_202E_206B_206A_202C_206E_202E_202D_206D_206E_206E_200D_200B_200B_206C_206E_200D_200D_206F_200D_202C_202B_200D_202C_200D_200E_206A_200F_202D_202B_202C_206C_200F_200D_200F_202E((ILogger)_logger, global::_003CModule_003E._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(179258549), Array.Empty()); + return null; } } - if (questStep == null || !questStep.TargetTerritoryId.HasValue) - { - _logger.LogTrace("FindTargetTerritoryFromQuestStep: Not found"); - return null; - } - _logger.LogDebug("Target territory for quest step: {TargetTerritory}", questStep.TargetTerritoryId); - return questStep.TargetTerritoryId; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool TryFindWarp(ushort targetTerritoryId, string actualPrompt, [NotNullWhen(true)] out uint? warpId, [NotNullWhen(true)] out string? warpText) { - foreach (Warp item in from x in _dataManager.GetExcelSheet() - where x.RowId != 0 && x.TerritoryType.RowId == targetTerritoryId - select x) + IEnumerator enumerator = _dataManager.GetExcelSheet().Where(delegate(Warp x) { - string text = item.Name.WithCertainMacroCodeReplacements(); - string text2 = item.Question.WithCertainMacroCodeReplacements(); - if (!string.IsNullOrEmpty(text2) && GameFunctions.GameStringEquals(text2, actualPrompt)) + int num8 = ((x.RowId == 0) ? (-1261934104) : (-1261934103)); + while (true) { - warpId = item.RowId; - warpText = text2; - return true; + int num9 = num8; + int num10 = -1261934104; + int num11 = num9; + switch ((num11 | num10) - (num11 & num10)) + { + case 2: + goto IL_0048; + case 0: + return false; + case 1: + return x.TerritoryType.RowId == targetTerritoryId; + } + continue; + IL_0048: + num8 = -1261934103; } - if (!string.IsNullOrEmpty(text) && GameFunctions.GameStringEquals(text, actualPrompt)) + }).GetEnumerator(); + try + { + int num = -1235873289; + string text = default(string); + Warp current = default(Warp); + string text2 = default(string); + while (true) { - warpId = item.RowId; - warpText = text; - return true; + int num2 = num; + int num3 = -1235873289; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = ((!GameFunctions.GameStringEquals(text, actualPrompt)) ? (-1235873291) : (-1235873282)); + break; + case 6: + current = enumerator.Current; + text2 = _200F_200F_206A_202B_200F_200E_200C_200F_202C_206A_206F_202C_200C_206C_200C_202D_202E_200B_200B_206F_206A_206D_200E_206D_202E_202B_200C_206A_200D_206C_202D_206D_206A_202B_202B_202A_200E_206E_206C_206C_202E(current.Name); + text = _200F_200F_206A_202B_200F_200E_200C_200F_202C_206A_206F_202C_200C_206C_200C_202D_202E_200B_200B_206F_206A_206D_200E_206D_202E_202B_200C_206A_200D_206C_202D_206D_206A_202B_202B_202A_200E_206E_206C_206C_202E(current.Question); + num = (_200B_206D_200D_206B_202D_206E_200E_206C_206C_202E_206E_200D_200B_206B_206B_200F_200D_202A_202C_202C_200C_206A_206E_206F_206C_200B_206A_202A_200E_200B_200D_206B_206B_206F_206D_202C_206D_202B_202C_202A_202E(text) ? (-1235873291) : (-1235873290)); + break; + case 0: + num = (_206C_206B_202B_206D_200F_202A_200B_202C_206B_206D_202B_202C_206A_206E_202C_206A_206B_202C_206E_206C_202D_206C_200E_202A_200B_200B_200C_200E_202D_206D_200B_202E_206C_202E_200B_200B_200D_206D_200E_202C_202E((IEnumerator)enumerator) ? (-1235873295) : (-1235873294)); + break; + case 2: + num = (_200B_206D_200D_206B_202D_206E_200E_206C_206C_202E_206E_200D_200B_206B_206B_200F_200D_202A_202C_202C_200C_206A_206E_206F_206C_200B_206A_202A_200E_200B_200D_206B_206B_206F_206D_202C_206D_202B_202C_202A_202E(text2) ? (-1235873281) : (-1235873292)); + break; + case 4: + warpId = current.RowId; + warpText = text2; + return true; + case 3: + num = ((!GameFunctions.GameStringEquals(text2, actualPrompt)) ? (-1235873281) : (-1235873293)); + break; + case 8: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1283589118), new object[1] { text }); + num = -1235873289; + break; + case 9: + warpId = current.RowId; + warpText = text; + return true; + case 7: + num = -1235873289; + break; + case 5: + goto end_IL_0045; + } + continue; + end_IL_0045: + break; + } + } + finally + { + int num = ((enumerator == null) ? (-64783073) : (-64783076)); + while (true) + { + int num7 = num; + int num3 = -64783074; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -64783076; + break; + case 1: + goto end_IL_0218; + case 2: + _202B_206A_200F_206A_206C_202C_206D_202D_200E_202C_200F_202A_202A_206B_200D_206B_206E_202D_202B_200C_202E_200B_200D_206C_200B_206E_206D_206B_202C_200D_200C_206F_202B_200D_200F_206E_206E_200E_202E_202D_202E((IDisposable)enumerator); + num = -64783073; + break; + } + continue; + end_IL_0218: + break; } - _logger.LogDebug("Ignoring prompt '{Prompt}'", text2); } warpId = null; warpText = null; @@ -1036,132 +3078,563 @@ internal sealed class InteractionUiController : IDisposable private unsafe void PointMenuPostSetup(AddonEvent type, AddonArgs args) { - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; - PointMenuPostSetup(address); + AtkUnitBase* address = (AtkUnitBase*)_200C_202E_202E_200C_206B_202B_200C_206B_200C_200D_206C_206C_200F_202A_206F_202B_206C_206E_206E_206C_200F_200D_206A_206F_200E_206E_202E_200F_200C_206B_206E_202E_200B_202C_200D_202A_200B_200D_200F_200D_202E(args).Address; + PointMenuPostSetup(address, checkAllSteps: false); } - private unsafe void PointMenuPostSetup(AtkUnitBase* addonPointMenu) + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void PointMenuPostSetup(AtkUnitBase* addonPointMenu, bool checkAllSteps) { - if (!ShouldHandleUiInteractions) + int num = (checkAllSteps ? (-2076994705) : (-2076994712)); + QuestSequence questSequence = default(QuestSequence); + QuestController.QuestProgress startedQuest = default(QuestController.QuestProgress); + QuestStep questStep = default(QuestStep); + int pointMenuCounter = default(int); + while (true) { - return; - } - QuestController.QuestProgress startedQuest = _questController.StartedQuest; - if (startedQuest == null) - { - _logger.LogInformation("Ignoring point menu, no active quest"); - return; - } - QuestSequence questSequence = startedQuest.Quest.FindSequence(startedQuest.Sequence); - if (questSequence == null) - { - return; - } - QuestStep questStep = questSequence.FindStep(startedQuest.Step); - if (questStep == null) - { - return; - } - if (questStep.PointMenuChoices.Count == 0) - { - _logger.LogWarning("No point menu choices"); - return; - } - int pointMenuCounter = startedQuest.StepProgress.PointMenuCounter; - if (pointMenuCounter >= questStep.PointMenuChoices.Count) - { - _logger.LogWarning("No remaining point menu choices"); - return; - } - uint num = questStep.PointMenuChoices[pointMenuCounter]; - _logger.LogInformation("Handling point menu, picking choice {Choice} (index = {Index})", num, pointMenuCounter); - AtkValue* values = stackalloc AtkValue[2] - { - new AtkValue + int num2 = num; + int num3 = -2076994710; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - Type = AtkValueType.Int, - Int = 13 - }, - new AtkValue + case 13: + _206D_202E_202E_200D_202C_206A_202B_200F_202D_206F_200C_206A_206C_202A_200D_200D_202A_206D_202D_206B_202D_206F_200C_200B_206B_200F_206A_206E_202D_206B_200C_206C_200E_206A_200D_206C_200E_206F_206B_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-629140143), Array.Empty()); + return; + case 2: + num = (ShouldHandleUiInteractions ? (-2076994705) : (-2076994707)); + break; + case 9: + questSequence = startedQuest.Quest.FindSequence(startedQuest.Sequence); + num = ((questSequence != null) ? (-2076994709) : (-2076994710)); + break; + case 0: + return; + case 4: + num = ((_202C_200F_206B_206F_202D_206D_200F_202B_202A_206F_202C_202D_202E_206A_202B_202D_200B_206B_206A_200C_200D_206E_200C_200E_206F_206D_206B_200F_206A_202A_206B_200F_202A_206C_200C_206D_202E_202E_202C_200F_202E(questStep).Count != 0) ? (-2076994714) : (-2076994708)); + break; + case 6: + _206D_202E_202E_200D_202C_206A_202B_200F_202D_206F_200C_206A_206C_202A_200D_200D_202A_206D_202D_206B_202D_206F_200C_200B_206B_200F_206A_206E_202D_206B_200C_206C_200E_206A_200D_206C_200E_206F_206B_202C_202E((ILogger)_logger, global::_003CModule_003E._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(600445072), Array.Empty()); + return; + case 3: + return; + case 1: + questStep = _206D_200E_206F_202C_202B_206B_206B_200E_206F_200F_202D_206B_202D_206D_200E_206A_202D_202A_200C_200E_200E_206A_206C_202D_206C_206F_202B_206A_206B_206E_206F_200C_202D_200F_206A_200B_206D_202B_202B_200C_202E(questSequence, startedQuest.Step); + num = ((questStep != null) ? (-2076994706) : (-2076994711)); + break; + case 11: + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1939621760), Array.Empty()); + return; + case 10: { - Type = AtkValueType.UInt, - UInt = num + uint num7 = _202C_200F_206B_206F_202D_206D_200F_202B_202A_206F_202C_202D_202E_206A_202B_202D_200B_206B_206A_200C_200D_206E_200C_200E_206F_206D_206B_200F_206A_202A_206B_200F_202A_206C_200C_206D_202E_202E_202C_200F_202E(questStep)[pointMenuCounter]; + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1247950313), new object[2] { num7, pointMenuCounter }); + AtkValue* values = stackalloc AtkValue[2] + { + new AtkValue + { + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int, + Int = 13 + }, + new AtkValue + { + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.UInt, + UInt = num7 + } + }; + addonPointMenu->FireCallback(2u, values); + startedQuest.IncreasePointMenuCounter(); + return; } - }; - addonPointMenu->FireCallback(2u, values); - startedQuest.IncreasePointMenuCounter(); + case 8: + num = -2076994712; + break; + case 7: + return; + case 5: + startedQuest = _questController.StartedQuest; + num = ((startedQuest != null) ? (-2076994717) : (-2076994719)); + break; + case 12: + pointMenuCounter = startedQuest.StepProgress.PointMenuCounter; + num = ((pointMenuCounter < _202C_200F_206B_206F_202D_206D_200F_202B_202A_206F_202C_202D_202E_206A_202B_202D_200B_206B_206A_200C_200D_206E_200C_200E_206F_206D_206B_200F_206A_202A_206B_200F_202A_206C_200C_206D_202E_202E_202C_200F_202E(questStep).Count) ? (-2076994720) : (-2076994713)); + break; + } + } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void HousingSelectBlockPostSetup(AddonEvent type, AddonArgs args) { - if (ShouldHandleUiInteractions) + int num = (ShouldHandleUiInteractions ? 514883216 : 514883217); + while (true) { - _logger.LogInformation("Confirming selected housing ward"); - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; - address->FireCallbackInt(0); + int num2 = num; + int num3 = 514883216; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0048; + case 0: + { + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-457521013), Array.Empty()); + AtkUnitBase* address = (AtkUnitBase*)_200C_202E_202E_200C_206B_202B_200C_206B_200C_200D_206C_206C_200F_202A_206F_202B_206C_206E_206E_206C_200F_200D_206A_206F_200E_206E_202E_200F_200C_206B_206E_202E_200B_202C_200D_202A_200B_200D_200F_200D_202E(args).Address; + address->FireCallbackInt(0); + return; + } + case 1: + return; + } + continue; + IL_0048: + num = 514883217; } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void EasterMowingResultPostSetup(AddonEvent type, AddonArgs args) { - if (_seasonalDutyController.IsRunning || ShouldHandleUiInteractions) + int num = (_seasonalDutyController.IsRunning ? 1290654287 : 1290654286); + while (true) { - _logger.LogInformation("Dismissing EasterMowingResult"); - AtkUnitBase* address = (AtkUnitBase*)args.Addon.Address; - AtkValue* values = stackalloc AtkValue[3] + int num2 = num; + int num3 = 1290654285; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - new AtkValue + case 2: + { + _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(175571683), Array.Empty()); + AtkUnitBase* address = (AtkUnitBase*)_200C_202E_202E_200C_206B_202B_200C_206B_200C_200D_206C_206C_200F_202A_206F_202B_206C_206E_206E_206C_200F_200D_206A_206F_200E_206E_202E_200F_200C_206B_206E_202E_200B_202C_200D_202A_200B_200D_200F_200D_202E(args).Address; + AtkValue* values = stackalloc AtkValue[3] { - Type = AtkValueType.Int, - Int = -1 - }, - new AtkValue - { - Type = AtkValueType.Int, - Int = 1 - }, - new AtkValue - { - Type = AtkValueType.Int, - Int = 1 - } - }; - address->FireCallback(3u, values); - address->Close(fireCallback: true); + new AtkValue + { + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int, + Int = -1 + }, + new AtkValue + { + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int, + Int = 1 + }, + new AtkValue + { + Type = FFXIVClientStructs.FFXIV.Component.GUI.AtkValueType.Int, + Int = 1 + } + }; + address->FireCallback(3u, values); + address->Close(fireCallback: true); + return; + } + case 1: + return; + case 3: + num = (ShouldHandleUiInteractions ? 1290654287 : 1290654284); + break; + case 0: + num = 1290654286; + break; + } } } private StringOrRegex? ResolveReference(Questionable.Model.Quest? quest, string? excelSheet, ExcelRef? excelRef, bool isRegExp) { - if (excelRef == null) + int num = ((excelRef != null) ? (-2041443838) : (-2041443828)); + while (true) { - return null; + int num2 = num; + int num3 = -2041443830; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return _excelFunctions.GetDialogueText(quest, excelSheet, _202E_202E_200B_206B_206C_202A_206F_206B_200C_206B_200F_206E_202E_206B_202E_206B_202A_206B_202B_202C_200D_202A_200E_202A_206D_200D_206F_202A_202A_206F_202A_200B_200E_200B_202E_200B_200E_206D_206B_206D_202E(excelRef), isRegExp); + case 5: + num = ((_202D_202D_206D_206C_206D_206B_206A_206F_206B_200F_206D_200E_206D_206D_206D_200C_200C_200D_202E_202A_206D_202B_202E_202D_206B_200F_202D_202D_202E_206C_202E_202D_202C_202E_200E_200F_206A_202A_206C_206D_202E(excelRef) != ExcelRef.EType.RowId) ? (-2041443826) : (-2041443829)); + break; + case 4: + num = ((_202D_202D_206D_206C_206D_206B_206A_206F_206B_200F_206D_200E_206D_206D_206D_200C_200C_200D_202E_202A_206D_202B_202E_202D_206B_200F_202D_202D_202E_206C_202E_202D_202C_202E_200E_200F_206A_202A_206C_206D_202E(excelRef) != ExcelRef.EType.RawString) ? (-2041443831) : (-2041443827)); + break; + case 3: + return null; + case 1: + return _excelFunctions.GetDialogueTextByRowId(excelSheet, _202D_200E_200C_202B_206A_200F_206F_202B_206D_206B_202B_206C_200D_202A_200E_200F_200B_202A_206D_206D_202D_202A_206A_206B_206A_206B_200B_202D_206F_206E_206A_200C_200D_206D_200E_200B_202A_206B_206B_202E(excelRef), isRegExp); + case 6: + return null; + case 8: + num = ((_202D_202D_206D_206C_206D_206B_206A_206F_206B_200F_206D_200E_206D_206D_206D_200C_200C_200D_202E_202A_206D_202B_202E_202D_206B_200F_202D_202D_202E_206C_202E_202D_202C_202E_200E_200F_206A_202A_206C_206D_202E(excelRef) != ExcelRef.EType.Key) ? (-2041443825) : (-2041443830)); + break; + case 2: + num = -2041443828; + break; + case 7: + return new StringOrRegex(_202C_200C_200B_202A_202A_202D_202C_202E_200F_206F_206A_200B_202A_202D_206A_202D_206D_202C_202B_200F_200F_200F_200C_206A_206C_200C_206B_206B_200E_202D_206F_200C_202E_206B_206F_200F_200B_206E_206C_206E_202E(excelRef)); + } } - if (excelRef.Type == ExcelRef.EType.Key) - { - return _excelFunctions.GetDialogueText(quest, excelSheet, excelRef.AsKey(), isRegExp); - } - if (excelRef.Type == ExcelRef.EType.RowId) - { - return _excelFunctions.GetDialogueTextByRowId(excelSheet, excelRef.AsRowId(), isRegExp); - } - if (excelRef.Type == ExcelRef.EType.RawString) - { - return new StringOrRegex(excelRef.AsRawString()); - } - return null; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Dispose() { - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "EasterMowingResult", EasterMowingResultPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "HousingSelectBlock", HousingSelectBlockPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "PointMenu", PointMenuPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "DifficultySelectYesNo", DifficultySelectYesNoPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "SelectYesno", SelectYesnoPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "SelectIconString", SelectIconStringPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "CutSceneSelectString", CutsceneSelectStringPostSetup); - _addonLifecycle.UnregisterListener(AddonEvent.PostSetup, "SelectString", SelectStringPostSetup); + _206F_202A_200C_200E_202E_200D_202E_200C_206F_202A_202C_206F_202E_206A_202E_200B_206E_206F_200E_200D_202D_200F_206E_202A_202C_200F_206A_202E_202A_202A_202A_200E_202B_202A_206C_202B_206A_206D_202A_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-1845712813), (IAddonLifecycle.AddonEventDelegate)EasterMowingResultPostSetup); + _206F_202A_200C_200E_202E_200D_202E_200C_206F_202A_202C_206F_202E_206A_202E_200B_206E_206F_200E_200D_202D_200F_206E_202A_202C_200F_206A_202E_202A_202A_202A_200E_202B_202A_206C_202B_206A_206D_202A_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-1462282105), (IAddonLifecycle.AddonEventDelegate)HousingSelectBlockPostSetup); + _206F_202A_200C_200E_202E_200D_202E_200C_206F_202A_202C_206F_202E_206A_202E_200B_206E_206F_200E_200D_202D_200F_206E_202A_202C_200F_206A_202E_202A_202A_202A_200E_202B_202A_206C_202B_206A_206D_202A_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(1285367197), (IAddonLifecycle.AddonEventDelegate)PointMenuPostSetup); + _206F_202A_200C_200E_202E_200D_202E_200C_206F_202A_202C_206F_202E_206A_202E_200B_206E_206F_200E_200D_202D_200F_206E_202A_202C_200F_206A_202E_202A_202A_202A_200E_202B_202A_206C_202B_206A_206D_202A_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-2016464440), (IAddonLifecycle.AddonEventDelegate)DifficultySelectYesNoPostSetup); + _206F_202A_200C_200E_202E_200D_202E_200C_206F_202A_202C_206F_202E_206A_202E_200B_206E_206F_200E_200D_202D_200F_206E_202A_202C_200F_206A_202E_202A_202A_202A_200E_202B_202A_206C_202B_206A_206D_202A_206B_202E(_addonLifecycle, AddonEvent.PostUpdate, global::_003CModule_003E._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(-1358767050), (IAddonLifecycle.AddonEventDelegate)SelectYesnoDeathRecoveryPostUpdate); + _206F_202A_200C_200E_202E_200D_202E_200C_206F_202A_202C_206F_202E_206A_202E_200B_206E_206F_200E_200D_202D_200F_206E_202A_202C_200F_206A_202E_202A_202A_202A_200E_202B_202A_206C_202B_206A_206D_202A_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(559979746), (IAddonLifecycle.AddonEventDelegate)SelectYesnoPostSetup); + _206F_202A_200C_200E_202E_200D_202E_200C_206F_202A_202C_206F_202E_206A_202E_200B_206E_206F_200E_200D_202D_200F_206E_202A_202C_200F_206A_202E_202A_202A_202A_200E_202B_202A_206C_202B_206A_206D_202A_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-888070793), (IAddonLifecycle.AddonEventDelegate)SelectIconStringPostSetup); + _206F_202A_200C_200E_202E_200D_202E_200C_206F_202A_202C_206F_202E_206A_202E_200B_206E_206F_200E_200D_202D_200F_206E_202A_202C_200F_206A_202E_202A_202A_202A_200E_202B_202A_206C_202B_206A_206D_202A_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-1068435547), (IAddonLifecycle.AddonEventDelegate)CutsceneSelectStringPostSetup); + _206F_202A_200C_200E_202E_200D_202E_200C_206F_202A_202C_206F_202E_206A_202E_200B_206E_206F_200E_200D_202D_200F_206E_202A_202C_200F_206A_202E_202A_202A_202A_200E_202B_202A_206C_202B_206A_206D_202A_206B_202E(_addonLifecycle, AddonEvent.PostSetup, global::_003CModule_003E._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(-467046057), (IAddonLifecycle.AddonEventDelegate)SelectStringPostSetup); _questController.AutomationTypeChanged -= HandleCurrentDialogueChoices; } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _206C_202C_200D_200B_206E_200F_206E_206E_206C_206A_206B_206E_206A_202C_202B_200D_200C_200D_206E_206C_200F_200D_202D_200B_200D_202A_202E_200E_206B_206D_202A_206B_200C_200F_200B_206C_202E_200C_206E_206B_202E(IAddonLifecycle P_0, AddonEvent P_1, string P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.RegisterListener(P_1, P_2, P_3); + } + + static uint _200D_206E_200C_200C_202A_200B_200E_202D_206E_206E_200E_200D_206D_200C_202B_200B_202A_206F_206F_206F_206C_206B_200C_200B_200F_200E_200D_200E_206B_202E_200E_200C_206E_200C_206F_206E_202B_206D_206B_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static void _200D_202E_202B_202E_202C_202A_206B_206E_206E_200E_206F_206A_202B_200B_202E_206D_206E_206B_206E_206B_200F_206F_200F_200F_200C_200D_206F_202A_206A_202D_206D_202A_202A_200B_202B_202A_200D_202A_202A_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static AtkUnitBasePtr _200C_202E_202E_200C_206B_202B_200C_206B_200C_200D_206C_206C_200F_202A_206F_202B_206C_206E_206E_206C_200F_200D_206A_206F_200E_206E_202E_200F_200C_206B_206E_202E_200B_202C_200D_202A_200B_200D_200F_200D_202E(AddonArgs P_0) + { + return P_0.Addon; + } + + static string _202C_206E_202E_206D_202C_200F_202A_202E_202D_202C_200D_206E_202E_202C_200E_202E_202C_200B_206F_202B_202E_202A_202E_206D_206F_202A_200C_202E_202D_200D_202A_200E_200E_206D_202D_202D_206D_202D_200B_200C_202E(AtkValue P_0) + { + return P_0.ReadAtkString(); + } + + static bool _200B_206D_200D_206B_202D_206E_200E_206C_206C_202E_206E_200D_200B_206B_206B_200F_200D_202A_202C_202C_200C_206A_206E_206F_206C_200B_206A_202A_200E_200B_200D_206B_206B_206F_206D_202C_206D_202B_202C_202A_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static QuestStep _200D_200E_200D_206C_206D_200C_200F_200C_206A_206C_202A_206C_202A_200C_200C_202A_206C_202E_206C_200E_202C_202D_200E_202A_200F_200F_200E_202E_200C_200D_206C_202C_200E_200B_206E_206A_200D_200D_200C_200D_202E(QuestSequence P_0, int P_1) + { + return P_0.FindStep(P_1); + } + + static EInteractionType _202A_206C_200B_202D_206C_206E_206C_200F_200E_202B_206E_206D_200C_206E_206A_206C_202C_206F_200F_206A_200B_206F_200B_202B_200B_206B_200B_202E_202D_200B_202A_200E_206E_206C_202D_202B_200E_200E_200B_200E_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static ElementId _200E_200E_200E_200B_202B_202D_206F_200E_206F_202D_206A_206A_200C_206E_200B_206B_202D_206F_202D_200B_200B_206A_202B_206F_200E_200F_206C_206F_202C_200F_206F_206F_206A_202B_202E_200C_200B_200E_200E_206B_202E(QuestStep P_0) + { + return P_0.PickUpQuestId; + } + + static List _202B_200C_202E_200B_202E_202E_200C_206C_200B_200F_200D_200C_202C_202E_206A_202E_202D_206E_202C_206E_206E_200B_200D_200B_206A_200E_202A_206E_200D_200F_200E_200F_200D_206C_206B_200D_200F_200B_206A_202E_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static List _202C_206F_200B_206E_200D_200B_206B_202A_200E_206D_200F_202E_202C_206D_202C_200F_206B_206C_202C_202D_200B_202B_206F_202B_202A_206B_206B_200F_202C_206A_202B_202A_206A_202C_202E_200D_206D_200E_202E_206C_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static List _200E_206A_200F_200C_206D_206A_202B_206D_206E_206A_200B_200B_202E_206C_202C_206E_206F_200C_202E_202A_200C_200F_200E_206E_206F_202C_200B_202A_206B_206E_206F_200E_206D_206A_202E_200C_206C_206B_202E_202E(QuestStep P_0) + { + return P_0.DialogueChoices; + } + + static PurchaseMenu _206E_200E_206F_202C_200F_206A_206D_202D_202C_202E_200B_200B_200E_206C_202D_206E_202E_206F_206C_200F_206E_200E_206A_200B_200F_202B_200E_206B_202A_206D_200E_202D_206E_206A_202E_202D_200D_206B_200D_200E_202E(QuestStep P_0) + { + return P_0.PurchaseMenu; + } + + static DialogueChoice _200D_200E_206A_202E_200F_206B_206D_206B_200C_200E_202D_206C_206F_200B_200C_200F_202A_202D_206D_200B_206E_206F_200F_200B_202C_200B_202B_202B_202E_206B_202C_202B_200D_206B_206A_202B_206F_206B_202B_206D_202E() + { + return new DialogueChoice(); + } + + static void _202B_206E_200F_202A_206A_200C_202C_200D_200D_202A_206B_202C_200D_200C_202E_206D_206D_202D_202A_202B_206D_200E_202A_202E_200D_200B_200D_200C_202A_200E_200B_202A_200C_206D_200F_202D_206C_206C_206C_202C_202E(DialogueChoice P_0, EDialogChoiceType P_1) + { + P_0.Type = P_1; + } + + static string _206E_202E_206E_200D_206D_202B_202D_202D_206A_206E_206F_200E_202D_206D_200B_206D_202D_202A_202C_200F_200F_202B_202E_202D_202A_202C_202E_202A_206E_206E_200F_206D_206F_202A_202C_200B_202E_200D_200E_206B_202E(PurchaseMenu P_0) + { + return P_0.ExcelSheet; + } + + static void _202E_206A_200D_200B_206F_206C_202A_206B_202D_200C_202A_202D_202D_206D_200B_206F_202B_202B_202E_200D_202B_202C_202A_206B_206C_206D_200D_206E_200B_206C_206D_202C_202A_206A_206E_206A_200D_200E_206D_202E_202E(DialogueChoice P_0, string P_1) + { + P_0.ExcelSheet = P_1; + } + + static void _202A_202A_202B_206A_200F_202D_202D_206E_202D_200B_206A_206A_206D_206B_202E_206B_202A_202B_206E_206C_200D_202A_206B_206F_202D_202C_200B_200B_206E_206E_202D_200C_206E_206C_202C_202B_200B_206C_200E_200F_202E(DialogueChoice P_0, ExcelRef P_1) + { + P_0.Prompt = P_1; + } + + static ExcelRef _206B_200F_206D_202E_202E_206C_206A_202E_206D_200D_206F_200C_200F_200D_206B_206C_200F_200C_206E_206F_206E_202B_200C_200D_200B_206A_206F_206D_206B_200E_202C_202E_202D_206C_206E_202A_200B_202C_202A_200F_202E(PurchaseMenu P_0) + { + return P_0.Key; + } + + static void _202A_200F_200B_202B_202A_200E_206D_200C_200C_202B_200D_200E_202E_202C_202E_202C_200E_202E_202D_206D_202B_206F_206F_206B_206C_206A_206A_200B_206C_202E_202C_202A_200B_200C_200F_200B_200B_206A_206C_200D_202E(DialogueChoice P_0, ExcelRef P_1) + { + P_0.Answer = P_1; + } + + static EAetheryteLocation? _202C_200E_206D_206E_202B_206A_202E_202B_202E_200E_202E_206A_206C_200B_202B_206A_202C_206F_202D_200E_200D_200C_206B_202B_200F_206E_200E_206F_202C_202B_206E_206D_206E_206D_206F_202B_202D_206A_202D_202A_202E(QuestStep P_0) + { + return P_0.Aetheryte; + } + + static ExcelRef _202B_202C_206D_200C_200B_202E_202E_200B_202C_200B_202B_200C_206E_206A_200B_200F_206A_202C_200E_200B_200B_202D_206C_202C_200D_200C_206A_200D_202A_202C_202D_206B_202D_202B_202E_202A_206F_200F_202E_202D_202E(string P_0) + { + return ExcelRef.FromKey(P_0); + } + + static void _202B_206A_200C_202C_206F_206A_202D_202B_206B_202A_206B_200E_206D_202C_202B_202B_202D_202A_202C_202A_206D_202E_200E_206B_206A_202E_206C_200B_206F_200B_200F_202E_206C_202E_202C_202D_206B_202D_202B_206A_202E(DialogueChoice P_0, bool P_1) + { + P_0.PromptIsRegularExpression = P_1; + } + + static void _200D_202B_200F_206B_200D_206B_200B_200F_202B_206B_202B_202A_202B_200F_200F_200D_200C_206A_206B_202D_206D_206A_206D_206B_202C_200E_200E_206F_206A_202B_206D_202B_202A_206C_202E_202E_202A_200F_206C_206D_202E(DialogueChoice P_0, bool P_1) + { + P_0.AnswerIsRegularExpression = P_1; + } + + static ExcelRef _206D_206F_206D_206E_206B_206A_206C_206D_206C_202D_200D_202E_202C_206C_200F_200C_202B_200F_206E_202C_206F_200B_206C_206E_202C_202C_206E_202B_206E_206F_200C_200B_206E_202B_200C_200B_206B_202C_200E_206B_202E(string P_0) + { + return ExcelRef.FromSheetValue(P_0); + } + + static IGameObject _206E_206B_206B_200F_206F_200C_206E_206C_202A_202E_202A_206D_206A_206B_206F_206A_200D_200B_202E_202C_206F_200D_206E_206D_200E_206D_206B_202E_202E_202E_202C_202E_200B_200E_200E_200E_200C_202C_200E_200C_202E(ITargetManager P_0) + { + return P_0.Target; + } + + static uint _206B_202D_202B_206A_200C_202C_206B_206C_206E_200E_202C_202A_202D_206E_206C_200D_202A_206F_200E_206B_206B_206A_202B_202C_202C_200B_200C_202B_202B_200D_200C_202E_206D_206F_202B_200B_200B_200F_202C_206C_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static bool _206C_206B_202B_206D_200F_202A_200B_202C_206B_206D_202B_202C_206A_206E_202C_206A_206B_202C_206E_206C_202D_206C_200E_202A_200B_200B_200C_200E_202D_206D_200B_202E_206C_202E_200B_200B_200D_206D_200E_202C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202B_206A_200F_206A_206C_202C_206D_202D_200E_202C_200F_202A_202A_206B_200D_206B_206E_202D_202B_200C_202E_200B_200D_206C_200B_206E_206D_206B_202C_200D_200C_206F_202B_200D_200F_206E_206E_200E_202E_202D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static List _202C_200F_202B_202C_200F_202E_206A_200E_200D_206E_206C_202A_202C_202B_206D_202C_200D_206F_200B_202E_202B_202E_200F_202C_200F_200E_200E_202B_206A_206A_202A_202D_200D_200F_200E_206A_200B_202B_206D_202A_202E(FateDefinition P_0) + { + return P_0.TransformDialogueChoices; + } + + static List _200F_200D_206C_200E_206F_202B_200D_206E_200B_206D_202D_206A_206D_200C_202D_206F_206D_206E_206D_206F_206D_202C_200E_200E_200F_200B_200D_206F_200E_200C_206D_206F_206D_206D_200E_206A_206A_206D_200E_206D_202E(SeasonalDutyDefinition P_0) + { + return P_0.DialogueChoices; + } + + static EDialogChoiceType _202B_202C_206E_206A_202D_200E_202C_202B_200F_202E_202B_200B_202B_200E_206E_200B_206C_206F_206A_206B_206E_202E_206C_200D_202E_202B_206F_206A_206F_200E_202C_206A_206F_202B_206C_206C_202C_206D_202D_202C_202E(DialogueChoice P_0) + { + return P_0.Type; + } + + static string _206A_200B_206D_206D_206B_200F_206E_202D_206D_202B_202B_206A_206C_200E_206A_206E_206F_202A_206A_200C_206E_202A_200C_202C_206C_200C_202B_202D_200D_202C_200F_200B_202C_206D_202A_200B_200F_200D_200F_206E_202E(DialogueChoice P_0) + { + return P_0.SpecialCondition; + } + + static bool _202B_200C_200D_200F_202A_206A_206C_206A_202D_206F_200B_200F_200D_206E_202D_200D_202D_200D_206C_200E_206A_202B_202B_206E_206D_206B_206D_202A_202A_200D_202B_202C_200F_202E_206A_200F_202A_206D_206A_206C_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static void _206C_202C_200D_200B_200B_200B_202B_206B_202B_206B_200F_202E_202B_202C_206F_200E_202B_202B_200B_206B_202A_206D_202B_206A_200B_206C_206C_202A_206C_200F_202E_202E_206E_200F_202E_200D_200D_200E_200F_200F_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static ExcelRef _200B_206B_202B_200F_200F_200E_206B_202D_206F_206A_200B_200C_200F_206C_200F_202E_200E_202E_206A_202C_206B_206E_202B_200E_200B_202B_202B_200C_206D_206A_206E_202E_200E_202E_202E_206F_200E_202B_206A_206E_202E(DialogueChoice P_0) + { + return P_0.Answer; + } + + static uint? _206D_206A_206E_200B_200D_202E_200D_206E_206F_200E_202A_202A_200E_206D_202D_206D_206D_202B_206C_206F_202A_206F_206E_202B_206B_202A_200C_202C_200C_202E_202B_200F_206A_200B_206F_200F_202E_206A_202A_206C_202E(DialogueChoice P_0) + { + return P_0.DataId; + } + + static string _206F_202C_206F_200C_200C_200D_202A_200F_206B_206B_206C_206C_200E_200F_202A_202D_200C_202C_200C_200B_202C_206E_200F_202B_200D_206C_206A_206F_206C_202C_206E_200F_200F_202E_206F_202E_200B_206B_206B_200E_202E(DialogueChoice P_0) + { + return P_0.ExcelSheet; + } + + static ExcelRef _206F_202D_200F_200B_200E_206D_200E_206A_206E_200F_202C_200D_206E_202D_200E_206C_202D_200C_202A_200D_200B_200F_200E_202B_200F_202A_206A_206E_200F_206D_206B_202E_202D_202B_200D_206F_200C_200D_206E_200E_202E(DialogueChoice P_0) + { + return P_0.Prompt; + } + + static bool _206C_202A_202C_202B_206A_200B_200B_206A_206B_206E_206C_202A_200E_200E_206C_206F_206C_206E_202B_200B_206F_202B_206E_202A_206A_206A_206E_206F_206C_206A_200C_206C_202C_202D_200E_206E_202D_200C_200E_206B_202E(DialogueChoice P_0) + { + return P_0.PromptIsRegularExpression; + } + + static bool _202A_206A_206B_200F_206F_200C_200E_202E_206C_202E_200C_200C_200B_200E_206F_200E_200E_202C_206A_202A_202D_200F_202D_202E_200D_206B_206F_200E_206A_206F_202D_200E_206E_206B_202E_200D_206B_202C_200E_200C_202E(DialogueChoice P_0) + { + return P_0.AnswerIsRegularExpression; + } + + static void _206D_200D_200E_202C_200F_200E_202E_206B_206A_202C_206E_202E_202D_206D_206E_206E_200D_200B_200B_206C_206E_200D_200D_206F_200D_202C_202B_200D_202C_200D_200E_206A_200F_202D_202B_202C_206C_200F_200D_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static void _206D_202E_202E_200D_202C_206A_202B_200F_202D_206F_200C_206A_206C_202A_200D_200D_202A_206D_202D_206B_202D_206F_200C_200B_206B_200F_206A_206E_202D_206B_200C_206C_200E_206A_200D_206C_200E_206F_206B_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static ExcelRef.EType _202D_202D_206D_206C_206D_206B_206A_206F_206B_200F_206D_200E_206D_206D_206D_200C_200C_200D_202E_202A_206D_202B_202E_202D_206B_200F_202D_202D_202E_206C_202E_202D_202C_202E_200E_200F_206A_202A_206C_206D_202E(ExcelRef P_0) + { + return P_0.Type; + } + + static string _202C_200C_200B_202A_202A_202D_202C_202E_200F_206F_206A_200B_202A_202D_206A_202D_206D_202C_202B_200F_200F_200F_200C_206A_206C_200C_206B_206B_200E_202D_206F_200C_202E_206B_206F_200F_200B_206E_206C_206E_202E(ExcelRef P_0) + { + return P_0.AsRawString(); + } + + static bool _206D_200E_200D_202D_202D_200C_200F_206B_206B_206E_202A_206A_206F_202E_202C_200F_202B_202B_206C_206D_202E_200B_206F_206A_200C_206A_200F_206D_202A_206A_200D_200F_200D_206A_200D_206A_202C_202C_200F_202C_202E(string P_0, string P_1, StringComparison P_2) + { + return string.Equals(P_0, P_1, P_2); + } + + static bool _202A_200B_206D_200E_206A_206A_200B_200C_206D_202D_206E_200D_200E_202E_206F_206F_206E_200E_206B_206B_200D_206C_200B_206F_206A_200D_202C_200C_200D_200F_206A_200E_202B_202B_206C_202D_202E_206F_206D_206C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static bool _202D_200E_200B_206E_206D_200D_206F_200E_202E_200F_202E_206F_206E_202E_202D_202D_206A_206D_206A_206C_202E_200F_206A_202D_206E_202D_206F_206B_206A_206B_200B_206E_202A_200E_200E_202C_202B_200C_200B_200D_202E(Regex P_0, string P_1) + { + return P_0.IsMatch(P_1); + } + + static void _202B_202A_206C_206F_206E_202C_202B_206E_200F_206B_200E_202B_202E_206B_200B_206F_206E_202E_202A_200F_206E_202E_200C_206E_206C_200D_202C_200B_202C_200E_206E_206C_206B_200B_202E_202B_206C_202C_202A_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static bool _200B_200E_202B_200C_206D_202E_202C_200B_206E_206D_202B_206E_202B_206F_206A_202E_200B_202C_202E_206B_200F_200B_200D_206F_202E_200C_200F_200B_202C_202C_202A_206D_200F_206C_206C_200B_200D_202C_202C_202E(DialogueChoice P_0) + { + return P_0.Yes; + } + + static ExcelRef _206D_202E_206F_202B_206B_200F_206B_206A_200F_200C_200E_200C_206F_206C_200E_202B_200F_200E_202D_202A_206B_200D_200B_206B_202B_206C_202B_200E_202A_206A_202D_202A_206E_206B_200F_200E_200F_200C_206E_206A_202E(uint P_0) + { + return ExcelRef.FromRowId(P_0); + } + + static void _202A_200E_200E_206B_202B_200F_206E_206E_202B_200E_206F_200D_206D_202D_206A_206D_202C_202B_202C_202D_202E_202B_200C_202B_202E_206B_202D_202E_200C_202B_206F_202A_200D_200E_206A_206B_200E_202E_200F_202C_202E(DialogueChoice P_0, bool P_1) + { + P_0.Yes = P_1; + } + + static SinglePlayerDutyOptions _202A_200F_200B_206A_206B_206E_202B_206C_200B_206A_200B_206F_202A_200D_202C_206F_202C_206F_206F_206D_206E_202E_202A_200F_206D_206A_202B_200D_200E_202C_206D_206D_200E_206B_200F_206B_206D_206E_202E_206F_202E(QuestStep P_0) + { + return P_0.SinglePlayerDutyOptions; + } + + static long _206F_200E_200E_202D_206E_206A_202B_200E_206F_202A_202C_202D_200F_200F_206D_206A_200B_206B_202C_202E_200C_202B_200E_200C_202E_202C_200B_200B_202D_206B_206E_206D_206C_202D_200D_200C_202A_206B_202B_206F_202E() + { + return Environment.TickCount64; + } + + static QuestStep _206D_200E_206F_202C_202B_206B_206B_200E_206F_200F_202D_206B_202D_206D_200E_206A_202D_202A_200C_200E_200E_206A_206C_202D_206C_206F_202B_206A_206B_206E_206F_200C_202D_200F_206A_200B_206D_202B_202B_200C_202E(QuestSequence P_0, int P_1) + { + return P_0.FindStep(P_1); + } + + static ushort _206E_200D_206B_202C_202B_202E_206C_200C_202D_206F_206F_206C_200B_206E_202D_200E_206F_202C_206B_202E_206F_206B_200F_202A_202D_200B_206A_202B_202B_206B_202D_202C_206A_206A_206E_200D_200E_202B_206A_202B_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static ushort? _200D_202A_200E_206B_200B_206B_206D_202E_202B_206C_206D_202C_206E_200C_206D_202B_206D_206B_206B_202E_206D_200C_206E_200D_202C_206E_206B_206B_206E_200B_202D_202A_206D_206A_206D_206E_206C_200E_202D_202B_202E(QuestStep P_0) + { + return P_0.TargetTerritoryId; + } + + static IGameObject _206C_206D_200D_200F_202C_202D_200D_206A_200E_200F_206C_206A_206F_202A_206A_206C_200B_202B_206B_206A_200B_200F_202A_206D_202B_206F_206F_202C_202E_206E_206D_202C_206A_206E_200C_206B_206A_206E_202D_200D_202E(IObjectTable P_0, int P_1) + { + return P_0[P_1]; + } + + static List _200C_206F_206A_206E_200B_206A_200C_202D_206A_206F_206D_200E_202B_206E_206C_206E_202B_200C_202A_202E_200B_200F_200E_202A_206D_202A_200F_206A_206F_206E_206C_202C_206D_206E_200B_200C_202A_206E_206E_206B_202E(QuestStep P_0) + { + return P_0.ItemsToGather; + } + + static uint _202C_206A_200E_206D_206F_200E_202B_200B_202E_206D_200C_206B_202C_200C_206D_200D_206E_200D_202E_206E_200D_200B_206F_206E_206F_200F_206C_206E_206B_206E_200B_202B_202E_200C_202A_200E_200D_206F_200D_202E(GatheredItem P_0) + { + return P_0.ItemId; + } + + static RowRef _202A_206F_206C_200B_206F_200B_206E_206D_206F_202D_206D_202E_202A_200D_206B_206B_202E_206F_206B_200F_206D_202C_206B_206B_202D_206B_206A_202A_202B_202B_200D_202C_206E_206F_202B_206C_206F_206D_200E_206B_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static List _200F_202D_202C_202A_200D_200D_200B_200F_200E_206D_202B_206B_202C_202E_206E_202D_202D_206D_200C_206C_202B_200E_206C_206E_202B_202C_200B_206A_202C_206A_200C_206F_202E_206C_202E_202C_206A_206E_202B_200C_202E(GatheringRoot P_0) + { + return P_0.Steps; + } + + static string _200F_200F_206A_202B_200F_200E_200C_200F_202C_206A_206F_202C_200C_206C_200C_202D_202E_200B_200B_206F_206A_206D_200E_206D_202E_202B_200C_206A_200D_206C_202D_206D_206A_202B_202B_202A_200E_206E_206C_206C_202E(ReadOnlySeString P_0) + { + return P_0.WithCertainMacroCodeReplacements(); + } + + static List _202C_200F_206B_206F_202D_206D_200F_202B_202A_206F_202C_202D_202E_206A_202B_202D_200B_206B_206A_200C_200D_206E_200C_200E_206F_206D_206B_200F_206A_202A_206B_200F_202A_206C_200C_206D_202E_202E_202C_200F_202E(QuestStep P_0) + { + return P_0.PointMenuChoices; + } + + static string _202E_202E_200B_206B_206C_202A_206F_206B_200C_206B_200F_206E_202E_206B_202E_206B_202A_206B_202B_202C_200D_202A_200E_202A_206D_200D_206F_202A_202A_206F_202A_200B_200E_200B_202E_200B_200E_206D_206B_206D_202E(ExcelRef P_0) + { + return P_0.AsKey(); + } + + static uint _202D_200E_200C_202B_206A_200F_206F_202B_206D_206B_202B_206C_200D_202A_200E_200F_200B_202A_206D_206D_202D_202A_206A_206B_206A_206B_200B_202D_206F_206E_206A_200C_200D_206D_200E_200B_202A_206B_206B_202E(ExcelRef P_0) + { + return P_0.AsRowId(); + } + + static void _206F_202A_200C_200E_202E_200D_202E_200C_206F_202A_202C_206F_202E_206A_202E_200B_206E_206F_200E_200D_202D_200F_206E_202A_202C_200F_206A_202E_202A_202A_202A_200E_202B_202A_206C_202B_206A_206D_202A_206B_202E(IAddonLifecycle P_0, AddonEvent P_1, string P_2, IAddonLifecycle.AddonEventDelegate P_3) + { + P_0.UnregisterListener(P_1, P_2, P_3); + } } diff --git a/Questionable/Questionable.Controller.GameUi/QteController.cs b/Questionable/Questionable.Controller.GameUi/QteController.cs index 6bc45b0f..d5f4318d 100644 --- a/Questionable/Questionable.Controller.GameUi/QteController.cs +++ b/Questionable/Questionable.Controller.GameUi/QteController.cs @@ -1,7 +1,10 @@ using System; +using System.Runtime.CompilerServices; +using Dalamud.Game.Config; 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,9 +23,9 @@ internal sealed class QteController : IDisposable private readonly ILogger _logger; - private long _throttler = Environment.TickCount64; + private Throttle _throttle; - private readonly Random _random = new Random(); + private readonly Random _random = _206A_206D_200B_206B_202B_206B_206F_202C_200B_200C_202A_206B_206B_200F_206C_202E_206A_202D_202D_200E_206F_200B_206A_200B_206F_206F_202C_200D_200B_200C_202C_202E_202A_202E_202C_206D_206A_202C_200B_206B_202E(); private bool _hasDirectChat; @@ -35,79 +38,243 @@ internal sealed class QteController : IDisposable _gameConfig = gameConfig; _framework = framework; _logger = logger; - _framework.Update += OnUpdate; + _200C_206B_202C_202D_206D_202C_200B_202B_206E_206C_200E_206C_200D_206C_200B_206C_206C_200F_202D_202B_200B_206B_206C_200E_206C_200E_200E_206F_206A_206A_202B_206F_202E_206A_200D_206B_202E_200D_200E_202E_202E(_framework, (IFramework.OnUpdateDelegate)OnUpdate); } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void OnUpdate(IFramework framework) { - AtkUnitBase* addonPtr; - if (!_configuration.General.AutoSolveQte) + int num = (_configuration.General.AutoSolveQte ? (-1685552556) : (-1685552558)); + AtkUnitBase* addonPtr = default(AtkUnitBase*); + while (true) { - EnableDirectChatIfNeeded(); - } - else if (_gameGui.TryGetAddonByName("QTE", out addonPtr) && LAddon.IsAddonReady(addonPtr) && addonPtr->IsVisible) - { - DisableDirectChatIfNeeded(); - if (Environment.TickCount64 >= _throttler) + int num2 = num; + int num3 = -1685552557; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - if (IsChatLogFocused()) - { - WindowsKeypress.SendKeypress(WindowsKeypress.LimitedKeys.Escape); - } + case 3: + _206B_202D_206C_206F_200D_200E_202D_202A_206B_206E_200E_200B_202C_206F_202C_206A_206D_200C_202E_206D_206C_200C_202B_206F_206B_206E_200B_206A_200C_200F_200C_200F_200D_206A_202B_202A_206F_200B_202D_202E((ILogger)_logger, global::_003CModule_003E._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(495416041), Array.Empty()); + WindowsKeypress.SendKeypress(WindowsKeypress.LimitedKeys.Escape); + num = -1685552559; + break; + case 5: + EnableDirectChatIfNeeded(); + num = -1685552550; + break; + case 1: + EnableDirectChatIfNeeded(); + return; + case 0: + num = ((!_206D_206D_200E_200E_206C_206A_202C_206D_200D_200D_206A_202B_202D_200E_206C_200E_206D_202B_206B_202C_206D_200D_206D_206F_200D_206F_200B_206C_202B_200F_200C_200F_206B_202D_206C_206E_206E_202C_200F_202C_202E(addonPtr)) ? (-1685552554) : (-1685552549)); + break; + case 9: + return; + case 4: + DisableDirectChatIfNeeded(); + num = ((!_throttle.TryReset((double)_206C_206E_200E_200C_202C_206C_202B_206C_202E_206E_206A_200B_206D_202B_202C_206B_202C_206C_200B_202B_206D_206D_206B_200B_206F_206F_202C_202D_206D_206C_206E_200C_200D_202C_202A_202D_206C_202C_200E_206F_202E(_random, 25, 50) / 1000.0)) ? (-1685552550) : (-1685552551)); + break; + case 10: + num = ((!IsChatLogFocused()) ? (-1685552559) : (-1685552560)); + break; + case 6: + num = -1685552558; + break; + case 7: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1397653892), out addonPtr)) ? (-1685552554) : (-1685552557)); + break; + case 2: WindowsKeypress.SendKeypress(WindowsKeypress.LimitedKeys.A); - _throttler = Environment.TickCount64 + _random.Next(25, 50); + return; + case 8: + num = ((!addonPtr->IsVisible) ? (-1685552554) : (-1685552553)); + break; } } - else - { - EnableDirectChatIfNeeded(); - } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe bool IsChatLogFocused() { AtkStage* ptr = AtkStage.Instance(); - if (ptr == null) + int num = ((ptr != null) ? (-1746454886) : (-1746454891)); + int num5 = default(int); + Span> entries = default(Span>); + Pointer pointer = default(Pointer); + while (true) { - return false; - } - Span> entries = ptr->RaptureAtkUnitManager->AtkUnitManager.FocusedUnitsList.Entries; - for (int i = 0; i < entries.Length; i++) - { - Pointer pointer = entries[i]; - if (pointer.Value != null && pointer.Value->NameString == "ChatLog") + int num2 = num; + int num3 = -1746454883; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 5: + num = ((num5 < entries.Length) ? (-1746454887) : (-1746454885)); + break; + case 8: + return false; + case 0: + num = -1746454891; + break; + case 6: + return false; + case 3: return true; + case 2: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = -1746454888; + break; + } + case 4: + pointer = entries[num5]; + num = ((pointer.Value == null) ? (-1746454881) : (-1746454884)); + break; + case 7: + entries = ptr->RaptureAtkUnitManager->AtkUnitManager.FocusedUnitsList.Entries; + num5 = 0; + num = -1746454888; + break; + case 1: + num = ((!_206D_200D_200D_206A_202C_200D_202A_206F_202C_206A_200D_200B_200E_202E_200E_200E_202D_200D_200F_202C_202A_200D_206B_206C_200F_202E_200C_206D_200B_200F_200F_206A_200D_202D_200C_206C_202E_206B_202C_202E_202E(pointer.Value->NameString, global::_003CModule_003E._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(-101701378))) ? (-1746454881) : (-1746454882)); + break; } } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private void EnableDirectChatIfNeeded() { - if (_hasDirectChat) + int num = ((!_hasDirectChat) ? 514735225 : 514735226); + while (true) { - _gameConfig.UiControl.Set("DirectChat", _directChatWasEnabled); - _hasDirectChat = false; + int num2 = num; + int num3 = 514735224; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return; + case 2: + _202A_206D_202C_202A_200F_206B_200F_206D_200E_206E_200B_206F_202C_206B_206B_202A_206E_206F_202E_202E_200F_206F_206A_206E_200D_206C_206A_200C_206B_200D_200D_200E_206A_202C_200E_200C_202D_206D_202C_206E_202E(_200E_202C_206D_206C_200C_206E_200F_200F_200B_206E_200D_200D_206D_206C_206A_200C_206C_202E_202C_206C_206D_202E_202E_200C_206F_200E_206E_202B_200D_200D_200F_206B_200F_202C_200C_202B_206C_200D_202E(_gameConfig), global::_003CModule_003E._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(12163311), _directChatWasEnabled); + _hasDirectChat = false; + _206B_202D_206C_206F_200D_200E_202D_202A_206B_206E_200E_200B_202C_206F_202C_206A_206D_200C_202E_206D_206C_200C_202B_206F_206B_206E_200B_206A_200C_200F_200C_200F_200D_206A_202B_202A_206F_200B_202D_202E((ILogger)_logger, global::_003CModule_003E._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(-1824458648), new object[1] { _directChatWasEnabled }); + num = 514735225; + break; + case 0: + num = 514735226; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DisableDirectChatIfNeeded() { - if (!_hasDirectChat && _gameConfig.UiControl.TryGetBool("DirectChat", out var value)) + int num = (_hasDirectChat ? 343908918 : 343908917); + bool flag = default(bool); + while (true) { - _directChatWasEnabled = value; - if (value) + int num2 = num; + int num3 = 343908918; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _gameConfig.UiControl.Set("DirectChat", value: false); + case 0: + return; + case 3: + num = ((!_206B_206E_200C_206C_202A_202E_206A_206F_206D_206D_200E_200C_206D_200F_202E_202E_206F_206F_202D_202A_202A_206B_202E_200C_206A_206C_200E_200C_202A_200F_200C_206B_202A_200B_200E_206C_206D_202A_206B_200D_202E(_200E_202C_206D_206C_200C_206E_200F_200F_200B_206E_200D_200D_206D_206C_206A_200C_206C_202E_202C_206C_206D_202E_202E_200C_206F_200E_206E_202B_200D_200D_200F_206B_200F_202C_200C_202B_206C_200D_202E(_gameConfig), global::_003CModule_003E._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(1876854388), ref flag)) ? 343908918 : 343908916); + break; + case 5: + _hasDirectChat = true; + num = 343908918; + break; + case 1: + _202A_206D_202C_202A_200F_206B_200F_206D_200E_206E_200B_206F_202C_206B_206B_202A_206E_206F_202E_202E_200F_206F_206A_206E_200D_206C_206A_200C_206B_200D_200D_200E_206A_202C_200E_200C_202D_206D_202C_206E_202E(_200E_202C_206D_206C_200C_206E_200F_200F_200B_206E_200D_200D_206D_206C_206A_200C_206C_202E_202C_206C_206D_202E_202E_200C_206F_200E_206E_202B_200D_200D_200F_206B_200F_202C_200C_202B_206C_200D_202E(_gameConfig), global::_003CModule_003E._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(1876854388), false); + _206B_202D_206C_206F_200D_200E_202D_202A_206B_206E_200E_200B_202C_206F_202C_206A_206D_200C_202E_206D_206C_200C_202B_206F_206B_206E_200B_206A_200C_200F_200C_200F_200D_206A_202B_202A_206F_200B_202D_202E((ILogger)_logger, global::_003CModule_003E._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(1363621454), Array.Empty()); + num = 343908915; + break; + case 4: + num = 343908917; + break; + case 2: + _directChatWasEnabled = flag; + num = ((!flag) ? 343908915 : 343908919); + break; } - _hasDirectChat = true; } } public void Dispose() { - _framework.Update -= OnUpdate; + _200D_200C_206B_206C_200F_200B_202B_202C_202E_200C_200E_202B_200E_200E_206A_200C_202A_202A_202D_206A_202C_202A_206D_202A_206F_206F_202B_206E_206B_200E_206E_202E_200B_200F_200B_202E_200E_202C_200F_206E_202E(_framework, (IFramework.OnUpdateDelegate)OnUpdate); EnableDirectChatIfNeeded(); } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static Random _206A_206D_200B_206B_202B_206B_206F_202C_200B_200C_202A_206B_206B_200F_206C_202E_206A_202D_202D_200E_206F_200B_206A_200B_206F_206F_202C_200D_200B_200C_202C_202E_202A_202E_202C_206D_206A_202C_200B_206B_202E() + { + return new Random(); + } + + static void _200C_206B_202C_202D_206D_202C_200B_202B_206E_206C_200E_206C_200D_206C_200B_206C_206C_200F_202D_202B_200B_206B_206C_200E_206C_200E_200E_206F_206A_206A_202B_206F_202E_206A_200D_206B_202E_200D_200E_202E_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update += P_1; + } + + unsafe static bool _206D_206D_200E_200E_206C_206A_202C_206D_200D_200D_206A_202B_202D_200E_206C_200E_206D_202B_206B_202C_206D_200D_206D_206F_200D_206F_200B_206C_202B_200F_200C_200F_206B_202D_206C_206E_206E_202C_200F_202C_202E(AtkUnitBase* P_0) + { + return LAddon.IsAddonReady(P_0); + } + + static int _206C_206E_200E_200C_202C_206C_202B_206C_202E_206E_206A_200B_206D_202B_202C_206B_202C_206C_200B_202B_206D_206D_206B_200B_206F_206F_202C_202D_206D_206C_206E_200C_200D_202C_202A_202D_206C_202C_200E_206F_202E(Random P_0, int P_1, int P_2) + { + return P_0.Next(P_1, P_2); + } + + static void _206B_202D_206C_206F_200D_200E_202D_202A_206B_206E_200E_200B_202C_206F_202C_206A_206D_200C_202E_206D_206C_200C_202B_206F_206B_206E_200B_206A_200C_200F_200C_200F_200D_206A_202B_202A_206F_200B_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206D_200D_200D_206A_202C_200D_202A_206F_202C_206A_200D_200B_200E_202E_200E_200E_202D_200D_200F_202C_202A_200D_206B_206C_200F_202E_200C_206D_200B_200F_200F_206A_200D_202D_200C_206C_202E_206B_202C_202E_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static GameConfigSection _200E_202C_206D_206C_200C_206E_200F_200F_200B_206E_200D_200D_206D_206C_206A_200C_206C_202E_202C_206C_206D_202E_202E_200C_206F_200E_206E_202B_200D_200D_200F_206B_200F_202C_200C_202B_206C_200D_202E(IGameConfig P_0) + { + return P_0.UiControl; + } + + static void _202A_206D_202C_202A_200F_206B_200F_206D_200E_206E_200B_206F_202C_206B_206B_202A_206E_206F_202E_202E_200F_206F_206A_206E_200D_206C_206A_200C_206B_200D_200D_200E_206A_202C_200E_200C_202D_206D_202C_206E_202E(GameConfigSection P_0, string P_1, bool P_2) + { + P_0.Set(P_1, P_2); + } + + static bool _206B_206E_200C_206C_202A_202E_206A_206F_206D_206D_200E_200C_206D_200F_202E_202E_206F_206F_202D_202A_202A_206B_202E_200C_206A_206C_200E_200C_202A_200F_200C_206B_202A_200B_200E_206C_206D_202A_206B_200D_202E(GameConfigSection P_0, string P_1, ref bool P_2) + { + return P_0.TryGetBool(P_1, out P_2); + } + + static void _200D_200C_206B_206C_200F_200B_202B_202C_202E_200C_200E_202B_200E_200E_206A_200C_202A_202A_202D_206A_202C_202A_206D_202A_206F_206F_202B_206E_206B_200E_206E_202E_200B_200F_200B_202E_200E_202C_200F_206E_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update -= P_1; + } } diff --git a/Questionable/Questionable.Controller.GameUi/ShopController.cs b/Questionable/Questionable.Controller.GameUi/ShopController.cs index ccc995d4..eefebfb7 100644 --- a/Questionable/Questionable.Controller.GameUi/ShopController.cs +++ b/Questionable/Questionable.Controller.GameUi/ShopController.cs @@ -1,6 +1,8 @@ using System; +using System.Collections.Generic; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Component.GUI; using LLib.GameUI; @@ -13,6 +15,93 @@ namespace Questionable.Controller.GameUi; internal sealed class ShopController : IDisposable, IShopWindow { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass28_0 + { + public unsafe AtkValue* atkValues; + + public QuestStep currentStep; + + internal unsafe ItemForSale _003CUpdateShopStock_003Eb__0(int i) + { + ItemForSale itemForSale = _206D_206A_200F_206C_206E_200F_200E_202E_200B_200B_206F_206C_202D_206B_200E_200C_202E_202B_202A_206B_206A_206A_206F_206D_206A_200D_200C_202D_206F_200F_202D_206D_206C_200E_202D_200E_206F_206B_200E_202E_202E(); + _200D_202B_206C_206B_200D_202B_200F_206B_200E_206A_206E_200E_202D_200B_206E_206B_202A_200C_206A_206A_206D_202A_202B_206E_200F_206E_202C_202D_202A_200C_202C_202C_206E_206B_200E_202A_202B_206D_200B_206F_202E(itemForSale, i); + AtkValue* num = atkValues; + int num2 = i; + int num3 = 14; + _206F_202E_206F_202E_206A_202C_202C_202B_202E_202C_202D_200D_200B_202B_206B_206F_202D_200E_202D_206F_206A_200E_206A_202D_206E_206D_206E_206A_202A_202D_200F_200C_202D_202C_200D_206C_200C_206D_202A_202E(itemForSale, _200E_200C_202C_200E_200F_202E_202D_200C_200D_200C_200C_202B_200B_202C_200D_206B_206E_202D_200C_206E_200F_202D_206E_200B_202B_206F_200C_200B_200D_206F_202B_206B_202B_206F_200F_200C_206F_200E_206E_202C_202E(num[(num3 | num2) + (num3 & num2)])); + AtkValue* num4 = atkValues; + num2 = i; + num3 = 75; + _206A_200B_206E_206D_202D_206B_206A_206C_202E_202B_200C_206B_206B_206B_202E_200D_200E_202C_206B_206B_202D_202E_202E_206E_206A_206B_200F_200E_206D_200F_206C_202C_202D_200B_206D_206B_206D_202C_202A_206D_202E(itemForSale, num4[(num3 | num2) + (num3 & num2)].UInt); + _202C_206E_206F_202E_200B_206C_202C_200C_206A_206F_200E_202A_200B_200B_206A_206C_206C_202A_202C_202C_200C_200B_202C_206F_206D_202B_206A_202E_202C_206A_206A_200D_200C_200F_202A_202E_202D_200B_202C_206A_202E(itemForSale, 1u); + AtkValue* num5 = atkValues; + num2 = i; + num3 = 136; + _202D_200D_200E_206A_200F_200F_200D_206E_200C_206C_202E_206D_206F_200C_206A_200B_200F_200B_206D_202D_200F_200E_202E_206B_200C_200F_200C_200F_200D_200B_200D_200E_200C_200F_200D_206F_202D_206C_206B_206B_202E(itemForSale, num5[(num3 | num2) + (num3 & num2)].UInt); + AtkValue* num6 = atkValues; + num2 = i; + num3 = 441; + _200F_202C_202E_202D_206C_206A_200B_200C_200B_202E_202A_200B_202E_200D_202B_202E_200C_202D_206B_202C_202A_206F_206C_202A_200F_200C_202B_206D_202B_200D_206C_202A_200D_206D_200D_206F_202B_206D_200B_202C_202E(itemForSale, num6[(num3 | num2) + (num3 & num2)].UInt); + return itemForSale; + } + + internal bool _003CUpdateShopStock_003Eb__1(ItemForSale x) + { + return _206D_202C_206C_200B_200D_206D_206F_206C_206A_200D_206A_206E_200B_206F_200B_202E_206F_202C_206C_202C_206E_202A_206D_202D_200C_200D_206A_200F_202D_202C_202A_200F_206D_200F_206A_200D_200F_202D_202E_200D_202E(x) == _202D_202B_202E_206A_200F_202C_202A_206F_206E_206B_206D_206E_200C_200F_206A_202D_202B_200F_202B_200F_200B_206C_206E_202B_206F_206E_200E_200B_202B_200D_202C_202A_206E_202D_200D_200B_202C_206D_202D_206A_202E(currentStep); + } + + static ItemForSale _206D_206A_200F_206C_206E_200F_200E_202E_200B_200B_206F_206C_202D_206B_200E_200C_202E_202B_202A_206B_206A_206A_206F_206D_206A_200D_200C_202D_206F_200F_202D_206D_206C_200E_202D_200E_206F_206B_200E_202E_202E() + { + return new ItemForSale(); + } + + static void _200D_202B_206C_206B_200D_202B_200F_206B_200E_206A_206E_200E_202D_200B_206E_206B_202A_200C_206A_206A_206D_202A_202B_206E_200F_206E_202C_202D_202A_200C_202C_202C_206E_206B_200E_202A_202B_206D_200B_206F_202E(ItemForSale P_0, int P_1) + { + P_0.Position = P_1; + } + + static string _200E_200C_202C_200E_200F_202E_202D_200C_200D_200C_200C_202B_200B_202C_200D_206B_206E_202D_200C_206E_200F_202D_206E_200B_202B_206F_200C_200B_200D_206F_202B_206B_202B_206F_200F_200C_206F_200E_206E_202C_202E(AtkValue P_0) + { + return P_0.ReadAtkString(); + } + + static void _206F_202E_206F_202E_206A_202C_202C_202B_202E_202C_202D_200D_200B_202B_206B_206F_202D_200E_202D_206F_206A_200E_206A_202D_206E_206D_206E_206A_202A_202D_200F_200C_202D_202C_200D_206C_200C_206D_202A_202E(ItemForSale P_0, string P_1) + { + P_0.ItemName = P_1; + } + + static void _206A_200B_206E_206D_202D_206B_206A_206C_202E_202B_200C_206B_206B_206B_202E_200D_200E_202C_206B_206B_202D_202E_202E_206E_206A_206B_200F_200E_206D_200F_206C_202C_202D_200B_206D_206B_206D_202C_202A_206D_202E(ItemForSale P_0, uint P_1) + { + P_0.Price = P_1; + } + + static void _202C_206E_206F_202E_200B_206C_202C_200C_206A_206F_200E_202A_200B_200B_206A_206C_206C_202A_202C_202C_200C_200B_202C_206F_206D_202B_206A_202E_202C_206A_206A_200D_200C_200F_202A_202E_202D_200B_202C_206A_202E(ItemForSale P_0, uint P_1) + { + P_0.CurrencyItemId = P_1; + } + + static void _202D_200D_200E_206A_200F_200F_200D_206E_200C_206C_202E_206D_206F_200C_206A_200B_200F_200B_206D_202D_200F_200E_202E_206B_200C_200F_200C_200F_200D_200B_200D_200E_200C_200F_200D_206F_202D_206C_206B_206B_202E(ItemForSale P_0, uint P_1) + { + P_0.OwnedItems = P_1; + } + + static void _200F_202C_202E_202D_206C_206A_200B_200C_200B_202E_202A_200B_202E_200D_202B_202E_200C_202D_206B_202C_202A_206F_206C_202A_200F_200C_202B_206D_202B_200D_206C_202A_200D_206D_200D_206F_202B_206D_200B_202C_202E(ItemForSale P_0, uint P_1) + { + P_0.ItemId = P_1; + } + + static uint _206D_202C_206C_200B_200D_206D_206F_206C_206A_200D_206A_206E_200B_206F_200B_202E_206F_202C_206C_202C_206E_202A_206D_202D_200C_200D_206A_200F_202D_202C_202A_200F_206D_200F_206A_200D_200F_202D_202E_200D_202E(ItemForSale P_0) + { + return P_0.ItemId; + } + + static uint? _202D_202B_202E_206A_200F_202C_202A_206F_206E_206B_206D_206E_200C_200F_206A_202D_202B_200F_202B_200F_200B_206C_206E_202B_206F_206E_200E_200B_202B_200D_202C_202A_206E_202D_200D_200B_202C_206D_202D_206A_202E(QuestStep P_0) + { + return P_0.ItemId; + } + } + private readonly QuestController _questController; private readonly IGameGui _gameGui; @@ -23,116 +112,274 @@ 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; } - public bool IsAutoBuyEnabled => _shop.AutoBuyEnabled; + public bool IsAutoBuyEnabled => _200C_202E_202B_202B_206C_206C_206E_200E_200B_200D_206E_202B_202A_202A_200B_200C_200D_206C_200D_206F_202A_202B_202A_200B_206B_202A_200B_200F_206F_202A_200E_202A_202B_206F_202B_200F_200E_200F_206F_202C_202E(_shop); public bool IsAwaitingYesNo { get { - return _shop.IsAwaitingYesNo; + return _206F_200B_202D_202B_206C_206B_200E_202B_200D_200E_206D_202D_202C_206D_206C_200F_200C_206F_200B_200E_202D_202D_200E_206E_202D_202C_206C_202D_202A_200F_202E_202D_202E_206F_202E_202D_200D_206B_202A_202A_202E(_shop); } set { - _shop.IsAwaitingYesNo = value; + _202E_200F_206E_206E_202D_200F_202D_202E_206A_206F_202B_206A_200B_202B_202B_206A_200C_206D_202A_206F_206A_202A_206B_200B_202E_202C_202D_202A_206B_200C_206B_200F_206C_200F_202A_202C_200D_206B_206F_206C_202E(_shop, value); } } public Vector2? Position { get; set; } - public ShopController(QuestController questController, IGameGui gameGui, IAddonLifecycle addonLifecycle, IFramework framework, ILogger logger, IPluginLog pluginLog) + [MethodImpl(MethodImplOptions.NoInlining)] + 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 = _206D_202A_202E_206D_206B_202C_200C_206E_200B_202B_206D_202A_202B_206D_202E_200C_200B_206F_206C_206C_202C_206F_206C_202E_206B_202B_206E_202C_200D_206D_202A_206E_206B_206A_206B_206A_206E_206D_202E((IShopWindow)this, global::_003CModule_003E._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(-2121285778), pluginLog, gameGui, addonLifecycle, dataManager); _logger = logger; - _framework.Update += FrameworkUpdate; + _200B_202A_200F_206D_200C_200B_206B_206A_202E_202A_200D_202C_202B_200D_202A_206A_206F_202A_206C_206F_200D_202D_202B_206E_206A_200C_206A_206D_206D_202A_202B_202B_202E_202B_206B_200D_206D_202B_200B_206C_202E(_framework, (IFramework.OnUpdateDelegate)FrameworkUpdate); } public void Dispose() { - _framework.Update -= FrameworkUpdate; - _shop.Dispose(); + _202E_206A_206E_200F_206E_200C_206B_200B_200C_200D_200E_200C_206A_200D_206E_200C_202C_206E_206F_206D_202D_206F_200F_206E_202B_206A_206C_200D_206B_202C_206C_202D_206A_200C_206B_200B_206E_206D_200B_200E_202E(_framework, (IFramework.OnUpdateDelegate)FrameworkUpdate); + _200C_202E_206E_206C_202A_200C_202B_200C_202A_206E_206C_206F_202B_202C_202B_200E_206B_200F_202B_206D_206F_206E_200E_206F_206B_200B_202D_202E_206A_206B_200B_200E_200E_206C_202D_200E_202E_202C_206E_202A_202E(_shop); } + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void FrameworkUpdate(IFramework framework) { - if (!IsOpen || _shop.ItemForSale == null) + int num = ((!IsOpen) ? (-1743708968) : (-1743708973)); + QuestStep questStep = default(QuestStep); + int num7 = default(int); + while (true) { - return; - } - if (_shop.PurchaseState != null) - { - _shop.HandleNextPurchaseStep(); - return; - } - QuestStep questStep = FindCurrentStep(); - 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) + int num2 = num; + int num3 = -1743708974; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _logger.LogDebug("Auto-buying {MissingItems} {ItemName}", num, _shop.ItemForSale.ItemName); - _shop.StartAutoPurchase(num); - _shop.HandleNextPurchaseStep(); + case 4: + _202E_202A_200F_202E_200F_202E_200C_200D_206B_202D_202B_200E_206F_200C_202E_200D_200E_202E_206C_206D_206E_206C_202A_202A_202A_206F_206B_200F_202D_200B_202A_200B_202E_206C_206A_206E_200D_200F_202B_200D_202E(_shop, (ItemForSale)null); + RestoreExternalPluginState(); + num = -1743708968; + break; + case 8: + num = ((_202B_200D_200D_206C_200E_200C_202C_206F_206A_206E_206C_202E_202C_200E_206C_206D_202E_206E_206B_202D_202B_200E_206F_202D_206C_202B_206C_206F_206D_202A_202D_200F_200F_202B_202B_202D_206A_200F_200F_202C_202E(_shop) == null) ? (-1743708974) : (-1743708975)); + break; + case 1: + num = ((_206C_202C_206C_202D_206D_202A_206A_200C_202C_200B_202C_206F_200D_206B_206B_202C_206D_202D_200E_200B_206D_202B_206E_202D_202E_202E_206F_206E_206C_202E_206F_206A_206F_200B_202E_206E_200B_200D_200C_206F_202E(_shop) == null) ? (-1743708968) : (-1743708966)); + break; + case 5: + { + int num8 = _200E_206D_206B_202D_200C_206A_200E_206D_200B_202D_202E_206A_206B_206E_206D_200E_200C_202A_200F_202E_202C_206A_200F_206A_200C_200E_206A_206D_200E_200D_202E_206F_206F_202A_200B_202D_206D_200C_206C_200E_202E(0, _206C_202A_206F_200F_200B_200F_206F_200B_200B_206B_200B_202E_202B_200B_200F_200B_202A_206C_206B_202C_206E_200F_200F_206D_206A_200B_206C_200E_202B_200D_202D_200F_206A_200E_200B_200E_202C_202D_206D_206D_202E(questStep).GetValueOrDefault() - (int)_202E_206F_202B_202C_202E_206F_200D_206B_202A_202B_206B_206A_206D_200D_202E_202C_200D_206E_200E_200D_206E_202D_206E_200E_200E_206D_206C_200B_200F_200E_202C_206A_206B_200B_200C_206A_206C_206B_202B_202A_202E(_206C_202C_206C_202D_206D_202A_206A_200C_202C_200B_202C_206F_200D_206B_206B_202C_206D_202D_200E_200B_206D_202B_206E_202D_202E_202E_206F_206E_206C_202E_206F_206A_206F_200B_202E_206E_200B_200D_200C_206F_202E(_shop))); + num7 = _200F_202B_202B_206C_200D_200C_200F_206A_206D_206D_202D_206A_202C_202D_206F_206F_202D_206C_202E_202B_206E_202B_200C_206F_206F_200C_200F_200E_206A_206C_206B_200D_200E_206F_206B_202A_202E_202C_206A_202A_202E(_202D_202D_200D_200D_206A_202C_202C_200C_206B_206C_200D_206B_202B_202E_206F_202B_202B_200D_202C_206E_202E_200E_200E_200D_200C_200E_202B_206C_206D_200F_200F_202D_200D_200B_206B_206E_202B_202C_200C_202A_202E(_shop), num8); + num = ((num7 <= 0) ? (-1743708970) : (-1743708965)); + break; } - else - { - _shop.CancelAutoPurchase(); + case 2: + _202E_202A_200F_202E_200F_202E_200C_200D_206B_202D_202B_200E_206F_200C_202E_200D_200E_202E_206C_206D_206E_206C_202A_202A_202A_206F_206B_200F_202D_200B_202A_200B_202E_206C_206A_206E_200D_200F_202B_200D_202E(_shop, (ItemForSale)null); + RestoreExternalPluginState(); + return; + case 10: + return; + case 6: + num = -1743708973; + break; + case 0: + questStep = FindCurrentStep(); + num = ((questStep == null) ? (-1743708976) : (-1743708971)); + break; + case 7: + num = ((_206B_200F_206A_200C_206B_206B_202D_202E_206E_202D_200C_202C_206C_200F_202C_206B_206C_202B_202A_200F_202A_206A_206C_206C_206F_206D_200F_200D_206B_202C_202B_202B_206A_200E_206A_202C_200C_206D_206A_202B_202E(questStep) == EInteractionType.PurchaseItem) ? (-1743708969) : (-1743708976)); + break; + case 3: + _202E_200C_206B_202C_200E_202B_200C_206F_202A_206F_200D_206C_202D_202C_200F_206A_202B_200D_200B_202D_206F_206E_200E_206C_206F_206C_202E_206A_206C_202E_206B_206D_206C_206F_202A_200F_206B_206F_200E_202A_202E(_shop); + return; + case 9: + _202B_206A_206D_206D_206E_200E_202B_206E_202C_206D_200D_202A_202C_202D_206F_202C_202D_202D_206D_206E_206E_202A_202B_206F_200B_200E_202E_202E_202B_200B_206E_206A_206F_200E_202B_200C_200B_206C_200B_202E_202E((ILogger)_logger, global::_003CModule_003E._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(434015474), new object[2] + { + num7, + _200F_202B_206D_202E_202E_202C_200C_202D_200F_202B_202A_206E_206E_200F_206F_202B_202D_202D_202A_202A_200E_200B_206C_206A_200E_206F_206C_200C_206D_206F_206B_202B_200C_200E_202E_206C_202C_206B_202C_206D_202E(_206C_202C_206C_202D_206D_202A_206A_200C_202C_200B_202C_206F_200D_206B_206B_202C_206D_202D_200E_200B_206D_202B_206E_202D_202E_202E_206F_206E_206C_202E_206F_206A_206F_200B_202E_206E_200B_200D_200C_206F_202E(_shop)) + }); + _200D_200E_202E_202A_206E_206F_202E_206D_206B_206F_206A_200D_206C_200D_202B_202D_200E_200E_200E_200D_200D_200B_202A_206B_202E_206F_202C_200E_206B_200D_200B_202E_202E_202C_200D_206A_206B_206F_206D_202A_202E(_shop, num7); + _202E_200C_206B_202C_200E_202B_200C_206F_202A_206F_200D_206C_202D_202C_200F_206A_202B_200D_200B_202D_206F_206E_200E_206C_206F_206C_202E_206A_206C_202E_206B_206D_206C_206F_202A_200F_206B_206F_200E_202A_202E(_shop); + return; } } } - public int GetCurrencyCount() - { - return _shop.GetItemCount(1u); - } - private QuestStep? FindCurrentStep() { QuestController.QuestProgress currentQuest = _questController.CurrentQuest; - return (currentQuest?.Quest.FindSequence(currentQuest.Sequence))?.FindStep(currentQuest?.Step ?? 0); + int num = ((currentQuest != null) ? (-2079361187) : (-2079361188)); + object obj; + while (true) + { + int num2 = num; + int num3 = -2079361187; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 2: + goto IL_004d; + case 0: + obj = currentQuest.Quest.FindSequence(currentQuest.Sequence); + break; + case 1: + obj = null; + break; + } + break; + IL_004d: + num = -2079361188; + } + if (obj == null) + { + return null; + } + return _206C_206B_200C_202A_206C_206C_200B_200C_202C_206A_200B_206C_200E_202E_202C_200D_206A_200B_202A_206A_206B_202E_206D_202E_200C_202D_200D_206B_200D_200F_206C_206E_206A_202A_206B_206F_200E_206D_206A_202D_202E((QuestSequence)obj, currentQuest?.Step ?? 0); } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void UpdateShopStock(AtkUnitBase* addon) { QuestStep currentStep = FindCurrentStep(); - if (currentStep == null || currentStep.InteractionType != EInteractionType.PurchaseItem) + int num = ((currentStep == null) ? 958087197 : 958087193); + uint uInt = default(uint); + AtkValue* atkValues = default(AtkValue*); + while (true) { - _shop.ItemForSale = null; - return; - } - if (addon->AtkValuesCount != 625) - { - _logger.LogError("Unexpected amount of atkvalues for Shop addon ({AtkValueCount})", addon->AtkValuesCount); - _shop.ItemForSale = null; - return; - } - AtkValue* atkValues = addon->AtkValues; - if (atkValues->UInt != 0) - { - _shop.ItemForSale = null; - return; - } - uint uInt = atkValues[2].UInt; - if (uInt == 0) - { - _shop.ItemForSale = null; - return; - } - _shop.ItemForSale = (from i in Enumerable.Range(0, (int)uInt) - select new ItemForSale + int num2 = num; + int num3 = 958087192; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - Position = i, - ItemName = atkValues[14 + i].ReadAtkString(), - Price = atkValues[75 + i].UInt, - OwnedItems = atkValues[136 + i].UInt, - ItemId = atkValues[441 + i].UInt - }).FirstOrDefault((ItemForSale x) => x.ItemId == currentStep.ItemId); + case 4: + _202E_202A_200F_202E_200F_202E_200C_200D_206B_202D_202B_200E_206F_200C_202E_200D_200E_202E_206C_206D_206E_206C_202A_202A_202A_206F_206B_200F_202D_200B_202A_200B_202E_206C_206A_206E_200D_200F_202B_200D_202E(_shop, (ItemForSale)null); + return; + case 6: + return; + case 0: + uInt = atkValues[2].UInt; + num = ((uInt != 0) ? 958087189 : 958087196); + break; + case 7: + num = ((_currentStockSwitchAttempts >= 3) ? 958087198 : 958087195); + break; + case 9: + _lastPurchaseItemId = _206F_202C_200B_202C_200D_206E_202D_200C_200B_200F_202B_202C_200B_206E_206C_206E_202A_206A_200F_206B_200B_200F_202C_202D_206E_200D_200E_200E_206E_206F_206E_206C_202B_202D_206C_200E_206C_200E_200E_202D_202E(currentStep); + _currentStockSwitchAttempts = 0; + num = 958087192; + break; + case 5: + _202E_202A_200F_202E_200F_202E_200C_200D_206B_202D_202B_200E_206F_200C_202E_200D_200E_202E_206C_206D_206E_206C_202A_202A_202A_206F_206B_200F_202D_200B_202A_200B_202E_206C_206A_206E_200D_200F_202B_200D_202E(_shop, (ItemForSale)null); + return; + case 8: + _202A_200C_206E_202D_206D_206D_202C_202E_200B_200E_206C_200F_202A_200B_206F_206E_206E_206C_200F_200D_206E_202A_202E_202D_200B_200B_202E_206F_202D_206D_206A_202B_206E_202D_202A_206A_200C_206B_206E_206D_202E((ILogger)_logger, global::_003CModule_003E._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(-662596466), new object[1] { addon->AtkValuesCount }); + _202E_202A_200F_202E_200F_202E_200C_200D_206B_202D_202B_200E_206F_200C_202E_200D_200E_202E_206C_206D_206E_206C_202A_202A_202A_206F_206B_200F_202D_200B_202A_200B_202E_206C_206A_206E_200D_200F_202B_200D_202E(_shop, (ItemForSale)null); + return; + case 3: + num = ((_202B_206B_206D_206A_202B_200F_200B_200F_200F_202D_206E_206F_200F_200C_206F_202E_202E_202A_200B_202E_200D_206D_200B_206C_200E_206A_206B_206C_202D_206C_202B_200F_206D_202E_200C_206A_206C_206A_200E_206B_202E() - _lastCurrentStockSwitchMs <= 2000) ? 958087198 : 958087188); + break; + case 14: + _currentStockSwitchAttempts = 0; + return; + case 1: + num = ((_206B_200F_206A_200C_206B_206B_202D_202E_206E_202D_200C_202C_206C_200F_202C_206B_206C_202B_202A_200F_202A_206A_206C_206C_206F_206D_200F_200D_206B_202C_202B_202B_206A_200E_206A_202C_200C_206D_206A_202B_202E(currentStep) == EInteractionType.PurchaseItem) ? 958087186 : 958087197); + break; + case 10: + num = ((addon->AtkValuesCount == 625) ? 958087187 : 958087184); + break; + case 11: + { + atkValues = addon->AtkValues; + uint? num7 = _206F_202C_200B_202C_200D_206E_202D_200C_200B_200F_202B_202C_200B_206E_206C_206E_202A_206A_200F_206B_200B_200F_202C_202D_206E_200D_200E_200E_206E_206F_206E_206C_202B_202D_206C_200E_206C_200E_200E_202D_202E(currentStep); + uint? lastPurchaseItemId = _lastPurchaseItemId; + bool num8 = num7.GetValueOrDefault() == lastPurchaseItemId.GetValueOrDefault(); + num3 = ((num7.HasValue == lastPurchaseItemId.HasValue) ? 1 : 0); + num4 = (num8 ? 1 : 0); + num = (((num4 | num3) - (num4 ^ num3) != 0) ? 958087192 : 958087185); + break; + } + case 2: + num = 958087193; + break; + case 13: + _202E_202A_200F_202E_200F_202E_200C_200D_206B_202D_202B_200E_206F_200C_202E_200D_200E_202E_206C_206D_206E_206C_202A_202A_202A_206F_206B_200F_202D_200B_202A_200B_202E_206C_206A_206E_200D_200F_202B_200D_202E(_shop, _206C_202D_206B_206B_200E_206D_206B_200D_202C_200E_206C_206A_202D_206F_206C_200C_206A_206B_200E_200F_200E_206D_202D_206A_206D_206F_202D_200D_202A_202D_202D_202A_206C_200C_202C_206F_200E_202A_202D_206E_202E(0, (int)uInt).Select(delegate(int i) + { + ItemForSale itemForSale = _003C_003Ec__DisplayClass28_0._206D_206A_200F_206C_206E_200F_200E_202E_200B_200B_206F_206C_202D_206B_200E_200C_202E_202B_202A_206B_206A_206A_206F_206D_206A_200D_200C_202D_206F_200F_202D_206D_206C_200E_202D_200E_206F_206B_200E_202E_202E(); + _003C_003Ec__DisplayClass28_0._200D_202B_206C_206B_200D_202B_200F_206B_200E_206A_206E_200E_202D_200B_206E_206B_202A_200C_206A_206A_206D_202A_202B_206E_200F_206E_202C_202D_202A_200C_202C_202C_206E_206B_200E_202A_202B_206D_200B_206F_202E(itemForSale, i); + AtkValue* num9 = atkValues; + int num10 = i; + int num11 = 14; + _003C_003Ec__DisplayClass28_0._206F_202E_206F_202E_206A_202C_202C_202B_202E_202C_202D_200D_200B_202B_206B_206F_202D_200E_202D_206F_206A_200E_206A_202D_206E_206D_206E_206A_202A_202D_200F_200C_202D_202C_200D_206C_200C_206D_202A_202E(itemForSale, _003C_003Ec__DisplayClass28_0._200E_200C_202C_200E_200F_202E_202D_200C_200D_200C_200C_202B_200B_202C_200D_206B_206E_202D_200C_206E_200F_202D_206E_200B_202B_206F_200C_200B_200D_206F_202B_206B_202B_206F_200F_200C_206F_200E_206E_202C_202E(num9[(num11 | num10) + (num11 & num10)])); + AtkValue* num12 = atkValues; + num10 = i; + num11 = 75; + _003C_003Ec__DisplayClass28_0._206A_200B_206E_206D_202D_206B_206A_206C_202E_202B_200C_206B_206B_206B_202E_200D_200E_202C_206B_206B_202D_202E_202E_206E_206A_206B_200F_200E_206D_200F_206C_202C_202D_200B_206D_206B_206D_202C_202A_206D_202E(itemForSale, num12[(num11 | num10) + (num11 & num10)].UInt); + _003C_003Ec__DisplayClass28_0._202C_206E_206F_202E_200B_206C_202C_200C_206A_206F_200E_202A_200B_200B_206A_206C_206C_202A_202C_202C_200C_200B_202C_206F_206D_202B_206A_202E_202C_206A_206A_200D_200C_200F_202A_202E_202D_200B_202C_206A_202E(itemForSale, 1u); + AtkValue* num13 = atkValues; + num10 = i; + num11 = 136; + _003C_003Ec__DisplayClass28_0._202D_200D_200E_206A_200F_200F_200D_206E_200C_206C_202E_206D_206F_200C_206A_200B_200F_200B_206D_202D_200F_200E_202E_206B_200C_200F_200C_200F_200D_200B_200D_200E_200C_200F_200D_206F_202D_206C_206B_206B_202E(itemForSale, num13[(num11 | num10) + (num11 & num10)].UInt); + AtkValue* num14 = atkValues; + num10 = i; + num11 = 441; + _003C_003Ec__DisplayClass28_0._200F_202C_202E_202D_206C_206A_200B_200C_200B_202E_202A_200B_202E_200D_202B_202E_200C_202D_206B_202C_202A_206F_206C_202A_200F_200C_202B_206D_202B_200D_206C_202A_200D_206D_200D_206F_202B_206D_200B_202C_202E(itemForSale, num14[(num11 | num10) + (num11 & num10)].UInt); + return itemForSale; + }).FirstOrDefault((ItemForSale x) => _003C_003Ec__DisplayClass28_0._206D_202C_206C_200B_200D_206D_206F_206C_206A_200D_206A_206E_200B_206F_200B_202E_206F_202C_206C_202C_206E_202A_206D_202D_200C_200D_206A_200F_202D_202C_202A_200F_206D_200F_206A_200D_200F_202D_202E_200D_202E(x) == _003C_003Ec__DisplayClass28_0._202D_202B_202E_206A_200F_202C_202A_206F_206E_206B_206D_206E_200C_200F_206A_202D_202B_200F_202B_200F_200B_206C_206E_202B_206F_206E_200E_200B_202B_200D_202C_202A_206E_202D_200D_200B_202C_206D_202D_206A_202E(currentStep))); + num = ((_206C_202C_206C_202D_206D_202A_206A_200C_202C_200B_202C_206F_200D_206B_206B_202C_206D_202D_200E_200B_206D_202B_206E_202D_202E_202E_206F_206E_206C_202E_206F_206A_206F_200B_202E_206E_200B_200D_200C_206F_202E(_shop) == null) ? 958087199 : 958087190); + break; + case 12: + { + int currentStockSwitchAttempts = _currentStockSwitchAttempts; + num3 = 1; + num4 = currentStockSwitchAttempts; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + _currentStockSwitchAttempts = num5 + (num6 + num6); + _lastCurrentStockSwitchMs = _202B_206B_206D_206A_202B_200F_200B_200F_200F_202D_206E_206F_200F_200C_206F_202E_202E_202A_200B_202E_200D_206D_200B_206C_200E_206A_206B_206C_202D_206C_202B_200F_206D_202E_200C_206A_206C_206A_200E_206B_202E(); + _200D_200B_200F_206C_200B_202D_202A_202A_206B_200D_202A_206A_206E_206E_206C_200E_206B_202E_200C_202A_202A_202E_206D_206C_206F_206F_206D_200D_206F_200C_200F_206B_200F_200B_206D_200B_200F_200B_202C_200E_202E((ILogger)_logger, global::_003CModule_003E._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(773010987), new object[4] + { + uInt, + _206F_202C_200B_202C_200D_206E_202D_200C_200B_200F_202B_202C_200B_206E_206C_206E_202A_206A_200F_206B_200B_200F_202C_202D_206E_200D_200E_200E_206E_206F_206E_206C_202B_202D_206C_200E_206C_200E_200E_202D_202E(currentStep), + _currentStockSwitchAttempts, + 3 + }); + SwitchToCurrentStockTab(addon); + num = 958087198; + break; + } + } + } + } + + unsafe void IShopWindow.UpdateShopStock(AtkUnitBase* addon) + { + //ILSpy generated this explicit interface implementation from .override directive in UpdateShopStock + this.UpdateShopStock(addon); } public unsafe void TriggerPurchase(AtkUnitBase* addonShop, int buyNow) @@ -147,7 +394,7 @@ internal sealed class ShopController : IDisposable, IShopWindow new AtkValue { Type = AtkValueType.Int, - Int = _shop.ItemForSale.Position + Int = _202A_200F_202A_202D_206E_202A_200E_202A_202A_206E_206B_202C_200F_202C_202D_206A_206C_202E_202C_206A_200D_200B_202B_206E_202A_200E_202A_202D_206F_200C_202B_202A_206F_206C_200F_206A_200B_202A_206D_206C_202E(_206C_202C_206C_202D_206D_202A_206A_200C_202C_200B_202C_206F_200D_206B_206B_202C_206D_202D_200E_200B_206D_202B_206E_202D_202E_202E_206F_206E_206C_202E_206F_206A_206F_200B_202E_206E_200B_200D_200C_206F_202E(_shop)) }, new AtkValue { @@ -163,15 +410,210 @@ internal sealed class ShopController : IDisposable, IShopWindow addonShop->FireCallback(4u, values); } + unsafe void IShopWindow.TriggerPurchase(AtkUnitBase* addonShop, int buyNow) + { + //ILSpy generated this explicit interface implementation from .override directive in TriggerPurchase + this.TriggerPurchase(addonShop, buyNow); + } + + 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() { } + void IShopWindow.SaveExternalPluginState() + { + //ILSpy generated this explicit interface implementation from .override directive in SaveExternalPluginState + this.SaveExternalPluginState(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void RestoreExternalPluginState() { - if (_gameGui.TryGetAddonByName("Shop", out var addonPtr)) + AtkUnitBase* addonPtr; + int num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(831697146), out addonPtr)) ? 2003329777 : 2003329778); + while (true) { - addonPtr->FireCallbackInt(-1); + int num2 = num; + int num3 = 2003329776; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 2003329778; + break; + case 2: + addonPtr->FireCallbackInt(-1); + num = 2003329777; + break; + case 1: + return; + } } } + + void IShopWindow.RestoreExternalPluginState() + { + //ILSpy generated this explicit interface implementation from .override directive in RestoreExternalPluginState + this.RestoreExternalPluginState(); + } + + static RegularShopBase _206D_202A_202E_206D_206B_202C_200C_206E_200B_202B_206D_202A_202B_206D_202E_200C_200B_206F_206C_206C_202C_206F_206C_202E_206B_202B_206E_202C_200D_206D_202A_206E_206B_206A_206B_206A_206E_206D_202E(IShopWindow P_0, string P_1, IPluginLog P_2, IGameGui P_3, IAddonLifecycle P_4, IDataManager P_5) + { + return new RegularShopBase(P_0, P_1, P_2, P_3, P_4, P_5); + } + + static void _200B_202A_200F_206D_200C_200B_206B_206A_202E_202A_200D_202C_202B_200D_202A_206A_206F_202A_206C_206F_200D_202D_202B_206E_206A_200C_206A_206D_206D_202A_202B_202B_202E_202B_206B_200D_206D_202B_200B_206C_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update += P_1; + } + + static bool _200C_202E_202B_202B_206C_206C_206E_200E_200B_200D_206E_202B_202A_202A_200B_200C_200D_206C_200D_206F_202A_202B_202A_200B_206B_202A_200B_200F_206F_202A_200E_202A_202B_206F_202B_200F_200E_200F_206F_202C_202E(RegularShopBase P_0) + { + return P_0.AutoBuyEnabled; + } + + static bool _206F_200B_202D_202B_206C_206B_200E_202B_200D_200E_206D_202D_202C_206D_206C_200F_200C_206F_200B_200E_202D_202D_200E_206E_202D_202C_206C_202D_202A_200F_202E_202D_202E_206F_202E_202D_200D_206B_202A_202A_202E(RegularShopBase P_0) + { + return P_0.IsAwaitingYesNo; + } + + static void _202E_200F_206E_206E_202D_200F_202D_202E_206A_206F_202B_206A_200B_202B_202B_206A_200C_206D_202A_206F_206A_202A_206B_200B_202E_202C_202D_202A_206B_200C_206B_200F_206C_200F_202A_202C_200D_206B_206F_206C_202E(RegularShopBase P_0, bool P_1) + { + P_0.IsAwaitingYesNo = P_1; + } + + static void _202E_206A_206E_200F_206E_200C_206B_200B_200C_200D_200E_200C_206A_200D_206E_200C_202C_206E_206F_206D_202D_206F_200F_206E_202B_206A_206C_200D_206B_202C_206C_202D_206A_200C_206B_200B_206E_206D_200B_200E_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update -= P_1; + } + + static void _200C_202E_206E_206C_202A_200C_202B_200C_202A_206E_206C_206F_202B_202C_202B_200E_206B_200F_202B_206D_206F_206E_200E_206F_206B_200B_202D_202E_206A_206B_200B_200E_200E_206C_202D_200E_202E_202C_206E_202A_202E(RegularShopBase P_0) + { + P_0.Dispose(); + } + + static ItemForSale _206C_202C_206C_202D_206D_202A_206A_200C_202C_200B_202C_206F_200D_206B_206B_202C_206D_202D_200E_200B_206D_202B_206E_202D_202E_202E_206F_206E_206C_202E_206F_206A_206F_200B_202E_206E_200B_200D_200C_206F_202E(RegularShopBase P_0) + { + return P_0.ItemForSale; + } + + static PurchaseState _202B_200D_200D_206C_200E_200C_202C_206F_206A_206E_206C_202E_202C_200E_206C_206D_202E_206E_206B_202D_202B_200E_206F_202D_206C_202B_206C_206F_206D_202A_202D_200F_200F_202B_202B_202D_206A_200F_200F_202C_202E(RegularShopBase P_0) + { + return P_0.PurchaseState; + } + + static void _202E_200C_206B_202C_200E_202B_200C_206F_202A_206F_200D_206C_202D_202C_200F_206A_202B_200D_200B_202D_206F_206E_200E_206C_206F_206C_202E_206A_206C_202E_206B_206D_206C_206F_202A_200F_206B_206F_200E_202A_202E(RegularShopBase P_0) + { + P_0.HandleNextPurchaseStep(); + } + + static EInteractionType _206B_200F_206A_200C_206B_206B_202D_202E_206E_202D_200C_202C_206C_200F_202C_206B_206C_202B_202A_200F_202A_206A_206C_206C_206F_206D_200F_200D_206B_202C_202B_202B_206A_200E_206A_202C_200C_206D_206A_202B_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static void _202E_202A_200F_202E_200F_202E_200C_200D_206B_202D_202B_200E_206F_200C_202E_200D_200E_202E_206C_206D_206E_206C_202A_202A_202A_206F_206B_200F_202D_200B_202A_200B_202E_206C_206A_206E_200D_200F_202B_200D_202E(RegularShopBase P_0, ItemForSale P_1) + { + P_0.ItemForSale = P_1; + } + + static int? _206C_202A_206F_200F_200B_200F_206F_200B_200B_206B_200B_202E_202B_200B_200F_200B_202A_206C_206B_202C_206E_200F_200F_206D_206A_200B_206C_200E_202B_200D_202D_200F_206A_200E_200B_200E_202C_202D_206D_206D_202E(QuestStep P_0) + { + return P_0.ItemCount; + } + + static uint _202E_206F_202B_202C_202E_206F_200D_206B_202A_202B_206B_206A_206D_200D_202E_202C_200D_206E_200E_200D_206E_202D_206E_200E_200E_206D_206C_200B_200F_200E_202C_206A_206B_200B_200C_206A_206C_206B_202B_202A_202E(ItemForSale P_0) + { + return P_0.OwnedItems; + } + + static int _200E_206D_206B_202D_200C_206A_200E_206D_200B_202D_202E_206A_206B_206E_206D_200E_200C_202A_200F_202E_202C_206A_200F_206A_200C_200E_206A_206D_200E_200D_202E_206F_206F_202A_200B_202D_206D_200C_206C_200E_202E(int P_0, int P_1) + { + return Math.Max(P_0, P_1); + } + + static int _202D_202D_200D_200D_206A_202C_202C_200C_206B_206C_200D_206B_202B_202E_206F_202B_202B_200D_202C_206E_202E_200E_200E_200D_200C_200E_202B_206C_206D_200F_200F_202D_200D_200B_206B_206E_202B_202C_200C_202A_202E(RegularShopBase P_0) + { + return P_0.GetMaxItemsToPurchase(); + } + + static int _200F_202B_202B_206C_200D_200C_200F_206A_206D_206D_202D_206A_202C_202D_206F_206F_202D_206C_202E_202B_206E_202B_200C_206F_206F_200C_200F_200E_206A_206C_206B_200D_200E_206F_206B_202A_202E_202C_206A_202A_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static string _200F_202B_206D_202E_202E_202C_200C_202D_200F_202B_202A_206E_206E_200F_206F_202B_202D_202D_202A_202A_200E_200B_206C_206A_200E_206F_206C_200C_206D_206F_206B_202B_200C_200E_202E_206C_202C_206B_202C_206D_202E(ItemForSale P_0) + { + return P_0.ItemName; + } + + static void _202B_206A_206D_206D_206E_200E_202B_206E_202C_206D_200D_202A_202C_202D_206F_202C_202D_202D_206D_206E_206E_202A_202B_206F_200B_200E_202E_202E_202B_200B_206E_206A_206F_200E_202B_200C_200B_206C_200B_202E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _200D_200E_202E_202A_206E_206F_202E_206D_206B_206F_206A_200D_206C_200D_202B_202D_200E_200E_200E_200D_200D_200B_202A_206B_202E_206F_202C_200E_206B_200D_200B_202E_202E_202C_200D_206A_206B_206F_206D_202A_202E(RegularShopBase P_0, int P_1) + { + P_0.StartAutoPurchase(P_1); + } + + static QuestStep _206C_206B_200C_202A_206C_206C_200B_200C_202C_206A_200B_206C_200E_202E_202C_200D_206A_200B_202A_206A_206B_202E_206D_202E_200C_202D_200D_206B_200D_200F_206C_206E_206A_202A_206B_206F_200E_206D_206A_202D_202E(QuestSequence P_0, int P_1) + { + return P_0.FindStep(P_1); + } + + static void _202A_200C_206E_202D_206D_206D_202C_202E_200B_200E_206C_200F_202A_200B_206F_206E_206E_206C_200F_200D_206E_202A_202E_202D_200B_200B_202E_206F_202D_206D_206A_202B_206E_202D_202A_206A_200C_206B_206E_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static uint? _206F_202C_200B_202C_200D_206E_202D_200C_200B_200F_202B_202C_200B_206E_206C_206E_202A_206A_200F_206B_200B_200F_202C_202D_206E_200D_200E_200E_206E_206F_206E_206C_202B_202D_206C_200E_206C_200E_200E_202D_202E(QuestStep P_0) + { + return P_0.ItemId; + } + + static IEnumerable _206C_202D_206B_206B_200E_206D_206B_200D_202C_200E_206C_206A_202D_206F_206C_200C_206A_206B_200E_200F_200E_206D_202D_206A_206D_206F_202D_200D_202A_202D_202D_202A_206C_200C_202C_206F_200E_202A_202D_206E_202E(int P_0, int P_1) + { + return Enumerable.Range(P_0, P_1); + } + + static long _202B_206B_206D_206A_202B_200F_200B_200F_200F_202D_206E_206F_200F_200C_206F_202E_202E_202A_200B_202E_200D_206D_200B_206C_200E_206A_206B_206C_202D_206C_202B_200F_206D_202E_200C_206A_206C_206A_200E_206B_202E() + { + return Environment.TickCount64; + } + + static void _200D_200B_200F_206C_200B_202D_202A_202A_206B_200D_202A_206A_206E_206E_206C_200E_206B_202E_200C_202A_202A_202E_206D_206C_206F_206F_206D_200D_206F_200C_200F_206B_200F_200B_206D_200B_200F_200B_202C_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static int _202A_200F_202A_202D_206E_202A_200E_202A_202A_206E_206B_202C_200F_202C_202D_206A_206C_202E_202C_206A_200D_200B_202B_206E_202A_200E_202A_202D_206F_200C_202B_202A_206F_206C_200F_206A_200B_202A_206D_206C_202E(ItemForSale P_0) + { + return P_0.Position; + } } diff --git a/Questionable/Questionable.Controller.NavigationOverrides/AlternateLocation.cs b/Questionable/Questionable.Controller.NavigationOverrides/AlternateLocation.cs index 3b323434..f3bf2cb9 100644 --- a/Questionable/Questionable.Controller.NavigationOverrides/AlternateLocation.cs +++ b/Questionable/Questionable.Controller.NavigationOverrides/AlternateLocation.cs @@ -1,23 +1,117 @@ using System; +using System.Collections.Generic; using System.Globalization; using System.Numerics; using System.Runtime.CompilerServices; +using System.Text; namespace Questionable.Controller.NavigationOverrides; public sealed record AlternateLocation(Vector3 Point, bool RecalculateNavmesh) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_200D_200F_202C_206C_202B_200E_200F_206B_200F_206C_206B_206A_206F_206C_202A_202A_206E_202E_200F_200C_200B_200C_206A_206D_200C_202D_202D_200D_206E_200F_200D_206A_200C_200E_200D_200F_200D_206C_206B_202E(typeof(AlternateLocation).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - IFormatProvider invariantCulture = CultureInfo.InvariantCulture; - DefaultInterpolatedStringHandler handler = new DefaultInterpolatedStringHandler(6, 4, invariantCulture); - handler.AppendFormatted("Point"); - handler.AppendLiteral(": "); - handler.AppendFormatted(Point, "G"); - handler.AppendLiteral(", "); - handler.AppendFormatted("RecalculateNavmesh"); - handler.AppendLiteral(": "); - handler.AppendFormatted(RecalculateNavmesh); - return string.Create(invariantCulture, ref handler); + IFormatProvider formatProvider = _202E_206D_200D_206D_206E_202D_206C_202D_206A_202E_202C_202E_202B_200D_202E_200D_200E_206A_202D_200F_206D_200C_206A_206E_202A_206D_206E_200D_202D_206D_202C_202C_206C_206B_206A_200F_200F_200C_200F_200C_202E(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 4, formatProvider); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(-772385023)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2035955381)); + defaultInterpolatedStringHandler.AppendFormatted(Point, global::_003CModule_003E._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(1450220880)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1577352017)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(528515555)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2074665157)); + defaultInterpolatedStringHandler.AppendFormatted(RecalculateNavmesh); + return _206C_202D_206A_202C_200D_200D_202B_200E_206C_202E_206F_206B_200C_206C_206B_200B_206D_206E_206F_202C_206F_206B_200E_200D_206A_202D_202D_200E_200F_206D_206A_206E_206D_200B_202D_202C_202A_206D_206B_202D_202E(formatProvider, ref defaultInterpolatedStringHandler); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_200F_202C_206B_202B_202B_206D_206B_206D_202E_200C_206C_206E_202B_206F_200D_202B_200E_206E_206E_200B_206F_202D_202C_202B_202D_202C_206D_200B_206B_206D_202E_206D_200E_206F_206A_206F_202A_206C_202D_202E(); + _206D_202E_200E_200B_206E_200C_202A_202B_206B_200B_202A_206C_202C_202D_206D_206F_206A_206E_200E_206B_200B_202B_202B_206A_202D_200E_202B_206D_200D_206F_206B_206E_206D_206F_200D_206D_206B_200D_206B_206F_202E(builder, global::_003CModule_003E._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(-1934952826)); + _206D_202E_200E_200B_206E_200C_202A_202B_206B_200B_202A_206C_202C_202D_206D_206F_206A_206E_200E_206B_200B_202B_202B_206A_202D_200E_202B_206D_200D_206F_206B_206E_206D_206F_200D_206D_206B_200D_206B_206F_202E(builder, Point.ToString()); + _206D_202E_200E_200B_206E_200C_202A_202B_206B_200B_202A_206C_202C_202D_206D_206F_206A_206E_200E_206B_200B_202B_202B_206A_202D_200E_202B_206D_200D_206F_206B_206E_206D_206F_200D_206D_206B_200D_206B_206F_202E(builder, global::_003CModule_003E._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(-1357493032)); + _206D_202E_200E_200B_206E_200C_202A_202B_206B_200B_202A_206C_202C_202D_206D_206F_206A_206E_200E_206B_200B_202B_202B_206A_202D_200E_202B_206D_200D_206F_206B_206E_206D_206F_200D_206D_206B_200D_206B_206F_202E(builder, RecalculateNavmesh.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(AlternateLocation? other) + { + int num = (((object)this == other) ? 1935903240 : 1935903245); + while (true) + { + int num2 = num; + int num3 = 1935903244; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = ((!EqualityComparer.Default.Equals(Point, other.Point)) ? 1935903242 : 1935903244); + break; + case 1: + num = (((object)other == null) ? 1935903242 : 1935903246); + break; + case 6: + return false; + case 4: + return true; + case 3: + num = 1935903245; + break; + case 2: + num = ((!_206B_206B_206F_206B_202C_206C_202C_202B_200C_200B_206B_206F_206A_206B_206C_206F_200B_200F_200B_202A_202A_206B_206B_202D_206B_206C_206F_202A_202B_202D_202C_200F_200B_200B_200C_202B_200F_206D_200B_206A_202E(EqualityContract, other.EqualityContract)) ? 1935903242 : 1935903241); + break; + case 0: + return EqualityComparer.Default.Equals(RecalculateNavmesh, other.RecalculateNavmesh); + } + } + } + + bool IEquatable.Equals(AlternateLocation? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206A_200D_200F_202C_206C_202B_200E_200F_206B_200F_206C_206B_206A_206F_206C_202A_202A_206E_202E_200F_200C_200B_200C_206A_206D_200C_202D_202D_200D_206E_200F_200D_206A_200C_200E_200D_200F_200D_206C_206B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static CultureInfo _202E_206D_200D_206D_206E_202D_206C_202D_206A_202E_202C_202E_202B_200D_202E_200D_200E_206A_202D_200F_206D_200C_206A_206E_202A_206D_206E_200D_202D_206D_202C_202C_206C_206B_206A_200F_200F_200C_200F_200C_202E() + { + return CultureInfo.InvariantCulture; + } + + static string _206C_202D_206A_202C_200D_200D_202B_200E_206C_202E_206F_206B_200C_206C_206B_200B_206D_206E_206F_202C_206F_206B_200E_200D_206A_202D_202D_200E_200F_206D_206A_206E_206D_200B_202D_202C_202A_206D_206B_202D_202E(IFormatProvider P_0, ref DefaultInterpolatedStringHandler P_1) + { + return string.Create(P_0, ref P_1); + } + + static void _202B_200F_202C_206B_202B_202B_206D_206B_206D_202E_200C_206C_206E_202B_206F_200D_202B_200E_206E_206E_200B_206F_202D_202C_202B_202D_202C_206D_200B_206B_206D_202E_206D_200E_206F_206A_206F_202A_206C_202D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206D_202E_200E_200B_206E_200C_202A_202B_206B_200B_202A_206C_202C_202D_206D_206F_206A_206E_200E_206B_200B_202B_202B_206A_202D_200E_202B_206D_200D_206F_206B_206E_206D_206F_200D_206D_206B_200D_206B_206F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _206B_206B_206F_206B_202C_206C_202C_202B_200C_200B_206B_206F_206A_206B_206C_206F_200B_200F_200B_202A_202A_206B_206B_202D_206B_206C_206F_202A_202B_202D_202C_200F_200B_200B_200C_202B_200F_206D_200B_206A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } diff --git a/Questionable/Questionable.Controller.NavigationOverrides/BlacklistedArea.cs b/Questionable/Questionable.Controller.NavigationOverrides/BlacklistedArea.cs index 2e46cd40..305b2ca8 100644 --- a/Questionable/Questionable.Controller.NavigationOverrides/BlacklistedArea.cs +++ b/Questionable/Questionable.Controller.NavigationOverrides/BlacklistedArea.cs @@ -1,16 +1,187 @@ +using System; +using System.Collections.Generic; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; namespace Questionable.Controller.NavigationOverrides; internal sealed record BlacklistedArea(ushort TerritoryId, Vector3 Center, float MinDistance, float MaxDistance, bool RecalculateNavmesh = false) : IBlacklistedLocation { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202D_206B_206D_202C_206E_206A_206B_202C_206A_202C_206D_206F_202D_202A_200D_202B_200F_200C_206F_206A_200F_202E_206A_202A_202B_200F_200E_200F_206E_202A_202C_206B_206B_202D_202A_200E_200D_200B_200C_206C_202E(typeof(BlacklistedArea).TypeHandle); + } + } + public AlternateLocation? AdjustPoint(Vector3 point) { float num = (point - Center).Length(); - if (num < MinDistance || num > MaxDistance) + int num2 = ((num < MinDistance) ? 1953826546 : 1953826545); + while (true) { - return null; + int num3 = num2; + int num4 = 1953826547; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 3: + num2 = 1953826545; + break; + case 0: + return new AlternateLocation(Center + Vector3.Normalize(point - Center) * MaxDistance, RecalculateNavmesh); + case 2: + num2 = ((!(num > MaxDistance)) ? 1953826547 : 1953826546); + break; + case 1: + return null; + } } - return new AlternateLocation(Center + Vector3.Normalize(point - Center) * MaxDistance, RecalculateNavmesh); + } + + AlternateLocation? IBlacklistedLocation.AdjustPoint(Vector3 point) + { + //ILSpy generated this explicit interface implementation from .override directive in AdjustPoint + return this.AdjustPoint(point); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206B_202A_200E_202B_202E_202D_202C_200F_206A_202A_202C_202B_206C_200D_206E_206A_202E_206E_202B_200B_206D_202E_202D_206C_206D_202E_202E_200E_202C_200F_200F_202D_206A_206C_202D_202B_202B_202C_206C_200E_202E(); + _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(stringBuilder, global::_003CModule_003E._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(699267182)); + _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? 1630506085 : 1630506086); + while (true) + { + int num2 = num; + int num3 = 1630506087; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _200C_202C_202B_206A_206E_200C_206B_202B_202A_200E_206C_200C_206C_200D_200B_206D_206F_206D_206E_202A_200B_206E_206D_206E_200C_200C_200F_206E_202B_206A_206C_206E_202E_202E_202A_206F_206B_206C_202C_202E_202E(stringBuilder, '}'); + return _202A_206B_206C_202B_206E_202B_200E_202D_202C_206F_206C_206D_200F_202E_206F_200C_200C_200F_202E_200E_200C_206E_202B_206C_200F_202A_206B_206B_202B_206A_206C_200B_200E_202A_200D_206D_200F_202D_206A_200E_202E((object)stringBuilder); + case 1: + _200C_202C_202B_206A_206E_200C_206B_202B_202A_200E_206C_200C_206C_200D_200B_206D_206F_206D_206E_202A_200B_206E_206D_206E_200C_200C_200F_206E_202B_206A_206C_206E_202E_202E_202A_206F_206B_206C_202C_202E_202E(stringBuilder, ' '); + num = 1630506085; + break; + case 0: + num = 1630506086; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_200D_206A_206E_206E_206E_206A_200C_206F_202C_200C_200D_206D_200C_206B_202C_202D_202E_200E_200F_202D_206F_202B_200C_206C_202E_206C_200B_202D_202C_202C_200B_206A_200D_206C_200B_202E_202E_206C_202B_202E(); + _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, global::_003CModule_003E._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(-871596524)); + _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, TerritoryId.ToString()); + _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, global::_003CModule_003E._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(-2067705783)); + _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, Center.ToString()); + _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, global::_003CModule_003E._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(-950319635)); + _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, MinDistance.ToString()); + _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, global::_003CModule_003E._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(1555143771)); + _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, MaxDistance.ToString()); + _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, global::_003CModule_003E._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(1075142813)); + _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, RecalculateNavmesh.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(BlacklistedArea? other) + { + int num = (((object)this == other) ? 284124876 : 284124877); + while (true) + { + int num2 = num; + int num3 = 284124874; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 284124877; + break; + case 8: + return EqualityComparer.Default.Equals(RecalculateNavmesh, other.RecalculateNavmesh); + case 0: + num = ((!EqualityComparer.Default.Equals(Center, other.Center)) ? 284124879 : 284124875); + break; + case 4: + num = ((!_206C_206E_200C_200D_206A_202B_206C_202B_206B_206C_202B_200D_200D_202D_206D_206F_200B_202C_206C_206B_206F_200F_202C_202B_200F_200B_202C_202E_202C_202C_202B_200B_206B_202E_202D_202B_200B_206F_200E_206B_202E(EqualityContract, other.EqualityContract)) ? 284124879 : 284124867); + break; + case 7: + num = (((object)other == null) ? 284124879 : 284124878); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(MinDistance, other.MinDistance)) ? 284124879 : 284124872); + break; + case 9: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? 284124879 : 284124874); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(MaxDistance, other.MaxDistance)) ? 284124879 : 284124866); + break; + case 6: + return true; + case 5: + return false; + } + } + } + + bool IEquatable.Equals(BlacklistedArea? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202D_206B_206D_202C_206E_206A_206B_202C_206A_202C_206D_206F_202D_202A_200D_202B_200F_200C_206F_206A_200F_202E_206A_202A_202B_200F_200E_200F_206E_202A_202C_206B_206B_202D_202A_200E_200D_200B_200C_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206B_202A_200E_202B_202E_202D_202C_200F_206A_202A_202C_202B_206C_200D_206E_206A_202E_206E_202B_200B_206D_202E_202D_206C_206D_202E_202E_200E_202C_200F_200F_202D_206A_206C_202D_202B_202B_202C_206C_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200C_202C_202B_206A_206E_200C_206B_202B_202A_200E_206C_200C_206C_200D_200B_206D_206F_206D_206E_202A_200B_206E_206D_206E_200C_200C_200F_206E_202B_206A_206C_206E_202E_202E_202A_206F_206B_206C_202C_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202A_206B_206C_202B_206E_202B_200E_202D_202C_206F_206C_206D_200F_202E_206F_200C_200C_200F_202E_200E_200C_206E_202B_206C_200F_202A_206B_206B_202B_206A_206C_200B_200E_202A_200D_206D_200F_202D_206A_200E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200C_200D_206A_206E_206E_206E_206A_200C_206F_202C_200C_200D_206D_200C_206B_202C_202D_202E_200E_200F_202D_206F_202B_200C_206C_202E_206C_200B_202D_202C_202C_200B_206A_200D_206C_200B_202E_202E_206C_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _206C_206E_200C_200D_206A_202B_206C_202B_206B_206C_202B_200D_200D_202D_206D_206F_200B_202C_206C_206B_206F_200F_202C_202B_200F_200B_202C_202E_202C_202C_202B_200B_206B_202E_202D_202B_200B_206F_200E_206B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } diff --git a/Questionable/Questionable.Controller.NavigationOverrides/BlacklistedPoint.cs b/Questionable/Questionable.Controller.NavigationOverrides/BlacklistedPoint.cs index 99dc4c4a..a6eeee51 100644 --- a/Questionable/Questionable.Controller.NavigationOverrides/BlacklistedPoint.cs +++ b/Questionable/Questionable.Controller.NavigationOverrides/BlacklistedPoint.cs @@ -1,15 +1,185 @@ +using System; +using System.Collections.Generic; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; namespace Questionable.Controller.NavigationOverrides; public sealed record BlacklistedPoint(ushort TerritoryId, Vector3 Original, Vector3 Replacement, float CheckDistance = 0.05f, bool RecalculateNavmesh = false) : IBlacklistedLocation { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206C_200E_206E_200B_206A_206E_206F_200E_206C_206B_206B_206B_202B_202B_200D_200E_202C_200D_206B_206E_206B_202A_206A_202C_202A_206D_200D_200F_206A_206F_200C_202D_200D_202C_200C_206B_206B_206F_206D_202C_202E(typeof(BlacklistedPoint).TypeHandle); + } + } + public AlternateLocation? AdjustPoint(Vector3 point) { - if ((point - Original).Length() > CheckDistance) + int num = ((!((point - Original).Length() > CheckDistance)) ? (-2043857747) : (-2043857748)); + while (true) { - return null; + int num2 = num; + int num3 = -2043857747; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_005c; + case 1: + return null; + case 0: + return new AlternateLocation(Replacement, RecalculateNavmesh); + } + continue; + IL_005c: + num = -2043857748; } - return new AlternateLocation(Replacement, RecalculateNavmesh); + } + + AlternateLocation? IBlacklistedLocation.AdjustPoint(Vector3 point) + { + //ILSpy generated this explicit interface implementation from .override directive in AdjustPoint + return this.AdjustPoint(point); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_202C_200B_202E_202D_202A_206B_202C_206B_206E_206D_206C_206F_200C_200D_200E_206B_206B_206C_200F_206C_206F_206A_202B_202B_202B_206C_202C_200C_202D_200E_206D_202E_202C_206B_202C_200F_206A_202A_202C_202E(); + _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(stringBuilder, global::_003CModule_003E._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(-2024611645)); + _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? 156676506 : 156676505); + while (true) + { + int num2 = num; + int num3 = 156676504; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 156676505; + break; + case 2: + _202C_202E_200D_206B_206D_206B_202C_200E_206E_200B_200E_206B_202B_202C_206A_200B_202C_200F_202C_206D_202E_202B_200B_200D_202B_200F_200B_202A_200F_202C_200F_200B_206B_206A_202B_200D_202C_200E_206B_206D_202E(stringBuilder, '}'); + return _202C_200D_206F_206C_202A_200E_200D_206F_206B_206A_202A_206A_202D_200C_200D_206C_200F_202A_202A_200E_206A_202D_206B_202A_200B_206E_200D_206B_202A_202B_200B_206D_202B_202D_206F_206F_202C_202A_206C_200D_202E((object)stringBuilder); + case 1: + _202C_202E_200D_206B_206D_206B_202C_200E_206E_200B_200E_206B_202B_202C_206A_200B_202C_200F_202C_206D_202E_202B_200B_200D_202B_200F_200B_202A_200F_202C_200F_200B_206B_206A_202B_200D_202C_200E_206B_206D_202E(stringBuilder, ' '); + num = 156676506; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206B_200C_200E_202A_202B_200F_200E_202D_206F_202A_206A_206B_202C_206D_206D_206E_206C_206B_200E_202E_200C_206A_202E_206D_200C_206A_200C_202E_200E_206F_200D_206D_202B_200B_206D_200C_200E_202A_200C_202D_202E(); + _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, global::_003CModule_003E._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(-2023728416)); + _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, TerritoryId.ToString()); + _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, global::_003CModule_003E._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(-268848232)); + _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, Original.ToString()); + _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, global::_003CModule_003E._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(1594334695)); + _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, Replacement.ToString()); + _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, global::_003CModule_003E._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(-453523176)); + _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, CheckDistance.ToString()); + _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, global::_003CModule_003E._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(-901239)); + _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, RecalculateNavmesh.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(BlacklistedPoint? other) + { + int num = (((object)this == other) ? 1826590402 : 1826590405); + while (true) + { + int num2 = num; + int num3 = 1826590402; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return true; + case 5: + num = ((!EqualityComparer.Default.Equals(Original, other.Original)) ? 1826590403 : 1826590410); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(CheckDistance, other.CheckDistance)) ? 1826590403 : 1826590406); + break; + case 9: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? 1826590403 : 1826590407); + break; + case 1: + return false; + case 8: + num = ((!EqualityComparer.Default.Equals(Replacement, other.Replacement)) ? 1826590403 : 1826590400); + break; + case 6: + num = ((!_206A_206A_200D_202E_200D_206E_206C_202B_200C_200E_202C_202C_206D_206E_200B_206C_206F_202A_206B_202D_200F_206A_206E_202A_202A_206D_200C_202E_202D_202C_202C_206E_206B_206B_206A_202A_202D_200B_202B_202E(EqualityContract, other.EqualityContract)) ? 1826590403 : 1826590411); + break; + case 3: + num = 1826590405; + break; + case 7: + num = (((object)other == null) ? 1826590403 : 1826590404); + break; + case 4: + return EqualityComparer.Default.Equals(RecalculateNavmesh, other.RecalculateNavmesh); + } + } + } + + bool IEquatable.Equals(BlacklistedPoint? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206C_200E_206E_200B_206A_206E_206F_200E_206C_206B_206B_206B_202B_202B_200D_200E_202C_200D_206B_206E_206B_202A_206A_202C_202A_206D_200D_200F_206A_206F_200C_202D_200D_202C_200C_206B_206B_206F_206D_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202A_202C_200B_202E_202D_202A_206B_202C_206B_206E_206D_206C_206F_200C_200D_200E_206B_206B_206C_200F_206C_206F_206A_202B_202B_202B_206C_202C_200C_202D_200E_206D_202E_202C_206B_202C_200F_206A_202A_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_202E_200D_206B_206D_206B_202C_200E_206E_200B_200E_206B_202B_202C_206A_200B_202C_200F_202C_206D_202E_202B_200B_200D_202B_200F_200B_202A_200F_202C_200F_200B_206B_206A_202B_200D_202C_200E_206B_206D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202C_200D_206F_206C_202A_200E_200D_206F_206B_206A_202A_206A_202D_200C_200D_206C_200F_202A_202A_200E_206A_202D_206B_202A_200B_206E_200D_206B_202A_202B_200B_206D_202B_202D_206F_206F_202C_202A_206C_200D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206B_200C_200E_202A_202B_200F_200E_202D_206F_202A_206A_206B_202C_206D_206D_206E_206C_206B_200E_202E_200C_206A_202E_206D_200C_206A_200C_202E_200E_206F_200D_206D_202B_200B_206D_200C_200E_202A_200C_202D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _206A_206A_200D_202E_200D_206E_206C_202B_200C_200E_202C_202C_206D_206E_200B_206C_206F_202A_206B_202D_200F_206A_206E_202A_202A_206D_200C_202E_202D_202C_202C_206E_206B_206B_206A_202A_202D_200B_202B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } diff --git a/Questionable/Questionable.Controller.NavigationOverrides/MovementOverrideController.cs b/Questionable/Questionable.Controller.NavigationOverrides/MovementOverrideController.cs index c8b5ab72..afa88835 100644 --- a/Questionable/Questionable.Controller.NavigationOverrides/MovementOverrideController.cs +++ b/Questionable/Questionable.Controller.NavigationOverrides/MovementOverrideController.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Dalamud.Plugin.Services; using Microsoft.Extensions.Logging; @@ -23,26 +24,78 @@ internal sealed class MovementOverrideController _logger = logger; } + [MethodImpl(MethodImplOptions.NoInlining)] public (List, bool) AdjustPath(List navPoints) { - foreach (IBlacklistedLocation blacklistedLocation in BlacklistedLocations) + using (List.Enumerator enumerator = BlacklistedLocations.GetEnumerator()) { - if (_clientState.TerritoryType != blacklistedLocation.TerritoryId) + int num = -1572847159; + AlternateLocation alternateLocation = default(AlternateLocation); + IBlacklistedLocation current = default(IBlacklistedLocation); + int num7 = default(int); + while (true) { - continue; - } - for (int i = 0; i < navPoints.Count; i++) - { - AlternateLocation alternateLocation = blacklistedLocation.AdjustPoint(navPoints[i]); - if (alternateLocation != null) + int num2 = num; + int num3 = -1572847156; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _logger.LogInformation("Fudging navmesh point from {Original} to {Replacement} in blacklisted area", navPoints[i].ToString("G", CultureInfo.InvariantCulture), alternateLocation); - navPoints[i] = alternateLocation.Point; - if (alternateLocation.RecalculateNavmesh) - { - return (navPoints.Take(i + 1).ToList(), true); - } + case 6: + alternateLocation = current.AdjustPoint(navPoints[num7]); + num = ((!(alternateLocation != null)) ? (-1572847155) : (-1572847163)); + break; + case 5: + num = (enumerator.MoveNext() ? (-1572847154) : (-1572847160)); + break; + case 0: + num = -1572847159; + break; + case 8: + num7 = 0; + num = -1572847153; + break; + case 2: + current = enumerator.Current; + num = ((_206E_206C_202E_202C_206B_200E_206A_206D_200F_202E_202B_202C_200B_202D_202B_202C_206E_202C_206E_200B_202E_206E_206C_202E_206D_202E_202E_206B_202E_202A_200C_202A_206F_200D_206A_202D_206D_202E_206A_202D_202E(_clientState) != current.TerritoryId) ? (-1572847159) : (-1572847164)); + break; + case 3: + num = ((num7 < navPoints.Count) ? (-1572847158) : (-1572847159)); + break; + case 7: + { + int num11 = num7; + num3 = 1; + num4 = num11; + return (navPoints.Take((num4 | num3) + (num4 & num3)).ToList(), true); } + case 1: + { + int num8 = num7; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num7 = num9 + (num10 + num10); + num = -1572847153; + break; + } + case 9: + _200E_202B_200B_200F_206D_202C_202E_200D_200C_200C_202B_202D_200F_202B_206A_200E_202A_206C_200B_202D_202A_200D_206F_200E_200D_200F_200E_202E_202D_200D_200F_200D_202E_202E_202A_202A_206B_202E_206A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1083711634), new object[2] + { + navPoints[num7].ToString(global::_003CModule_003E._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(2120763774), _202E_206B_200B_206E_202B_206F_202D_206B_202C_202C_202A_200F_206E_206B_202A_200C_200E_202E_200C_206A_202B_202C_200D_200E_202A_202B_202E_200E_200B_200C_202C_206C_206B_202A_202C_200D_206F_202D_206F_206E_202E()), + alternateLocation + }); + navPoints[num7] = alternateLocation.Point; + num = ((!alternateLocation.RecalculateNavmesh) ? (-1572847155) : (-1572847157)); + break; + case 4: + goto end_IL_0017; + } + continue; + end_IL_0017: + break; } } return (navPoints, false); @@ -87,4 +140,19 @@ internal sealed class MovementOverrideController span[30] = new BlacklistedPoint(1186, new Vector3(287.75f, 51.25f, 172f), new Vector3(288.875f, 50.75f, 166.25f)); BlacklistedLocations = list; } + + static uint _206E_206C_202E_202C_206B_200E_206A_206D_200F_202E_202B_202C_200B_202D_202B_202C_206E_202C_206E_200B_202E_206E_206C_202E_206D_202E_202E_206B_202E_202A_200C_202A_206F_200D_206A_202D_206D_202E_206A_202D_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static CultureInfo _202E_206B_200B_206E_202B_206F_202D_206B_202C_202C_202A_200F_206E_206B_202A_200C_200E_202E_200C_206A_202B_202C_200D_200E_202A_202B_202E_200E_200B_200C_202C_206C_206B_202A_202C_200D_206F_202D_206F_206E_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _200E_202B_200B_200F_206D_202C_202E_200D_200C_200C_202B_202D_200F_202B_206A_200E_202A_206C_200B_202D_202A_200D_206F_200E_200D_200F_200E_202E_202D_200D_200F_200D_202E_202E_202A_202A_206B_202E_206A_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } } diff --git a/Questionable/Questionable.Controller.Steps.Common/AbstractDelayedTaskExecutor.cs b/Questionable/Questionable.Controller.Steps.Common/AbstractDelayedTaskExecutor.cs index fa4f8b31..303d1e8e 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 = _200D_206E_200D_200E_202D_202A_206F_202D_200D_206F_206D_202E_202D_202C_200B_200B_206E_200D_202B_206A_200C_200C_202E_206F_206D_200B_200D_206A_200E_202D_200B_200D_202D_202E_206D_200E_202C_206F_200C_202C_202E() + (long)Delay.TotalMilliseconds; return result; } @@ -29,15 +29,36 @@ internal abstract class AbstractDelayedTaskExecutor : TaskExecutor where T public override ETaskResult Update() { - if (_continueAt >= DateTime.Now) + int num = ((_200D_206E_200D_200E_202D_202A_206F_202D_200D_206F_206D_202E_202D_202C_200B_200B_206E_200D_202B_206A_200C_200C_202E_206F_206D_200B_200D_206A_200E_202D_200B_200D_202D_202E_206D_200E_202C_206F_200C_202C_202E() >= _continueAtMs) ? 741757895 : 741757892); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = 741757894; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004d; + case 1: + return UpdateInternal(); + case 2: + return ETaskResult.StillRunning; + } + continue; + IL_004d: + num = 741757892; } - return UpdateInternal(); } protected virtual ETaskResult UpdateInternal() { return ETaskResult.TaskComplete; } + + static long _200D_206E_200D_200E_202D_202A_206F_202D_200D_206F_206D_202E_202D_202C_200B_200B_206E_200D_202B_206A_200C_200C_202E_206F_206D_200B_200D_206A_200E_202D_200B_200D_202D_202E_206D_200E_202C_206F_200C_202C_202E() + { + return Environment.TickCount64; + } } diff --git a/Questionable/Questionable.Controller.Steps.Common/Mount.cs b/Questionable/Questionable.Controller.Steps.Common/Mount.cs index 449dd383..78d37d4d 100644 --- a/Questionable/Questionable.Controller.Steps.Common/Mount.cs +++ b/Questionable/Questionable.Controller.Steps.Common/Mount.cs @@ -1,8 +1,11 @@ using System; +using System.Collections.Generic; using System.Numerics; using System.Runtime.CompilerServices; +using System.Text; 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.Character; @@ -17,17 +20,28 @@ internal static class Mount { internal sealed record MountTask : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_202A_200B_206E_202B_206B_202B_206B_200B_206D_206C_206B_206B_202D_206B_200E_202C_200B_202E_200F_202A_200B_202A_200E_200C_206C_206C_206D_200B_206A_206E_206F_202A_200D_200C_200E_200C_202C_202E_202E(typeof(MountTask).TypeHandle); + } + } + public ushort TerritoryId { get; init; } public EMountIf MountIf { get; init; } public FFXIVClientStructs.FFXIV.Common.Math.Vector3? Position { get; } + [MethodImpl(MethodImplOptions.NoInlining)] public MountTask(ushort TerritoryId, EMountIf MountIf, FFXIVClientStructs.FFXIV.Common.Math.Vector3? Position = null) { this.TerritoryId = TerritoryId; this.MountIf = MountIf; - this.Position = ((MountIf == EMountIf.AwayFromPosition) ? new FFXIVClientStructs.FFXIV.Common.Math.Vector3?(Position ?? throw new ArgumentNullException("Position")) : ((FFXIVClientStructs.FFXIV.Common.Math.Vector3?)null)); + this.Position = ((MountIf == EMountIf.AwayFromPosition) ? new FFXIVClientStructs.FFXIV.Common.Math.Vector3?(Position ?? throw _202C_200E_202C_200D_200F_206F_202E_206F_202A_202E_202D_206A_200D_206A_206D_200C_200C_206A_206E_206B_200B_200B_200B_200D_206A_202A_200F_206A_202B_202E_200E_200D_202A_202A_206F_200E_200C_202B_200D_206A_202E(global::_003CModule_003E._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(1692510639))) : ((FFXIVClientStructs.FFXIV.Common.Math.Vector3?)null)); base._002Ector(); } @@ -36,9 +50,72 @@ internal static class Mount return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "Mount"; + return global::_003CModule_003E._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(-9684774); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206A_206A_206A_206C_206E_200C_200D_202A_200C_200C_202B_202D_202A_206A_202C_206E_206D_206F_202A_206E_206F_202E_202E_206E_200E_206B_202A_200F_202B_202C_206B_202B_200F_200C_206F_206D_200B_200B_200C_206D_202E(); + _202B_202A_202E_202B_206B_206C_202E_200D_202C_200F_206D_202A_206E_202E_202A_202A_200E_200D_200F_206A_202D_202A_200C_202D_202B_200C_206B_206F_200B_202A_206B_202C_206C_202B_200E_200C_202B_200E_206B_200F_202E(builder, global::_003CModule_003E._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(-871596524)); + _202B_202A_202E_202B_206B_206C_202E_200D_202C_200F_206D_202A_206E_202E_202A_202A_200E_200D_200F_206A_202D_202A_200C_202D_202B_200C_206B_206F_200B_202A_206B_202C_206C_202B_200E_200C_202B_200E_206B_200F_202E(builder, TerritoryId.ToString()); + _202B_202A_202E_202B_206B_206C_202E_200D_202C_200F_206D_202A_206E_202E_202A_202A_200E_200D_200F_206A_202D_202A_200C_202D_202B_200C_206B_206F_200B_202A_206B_202C_206C_202B_200E_200C_202B_200E_206B_200F_202E(builder, global::_003CModule_003E._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(1100545370)); + _202B_202A_202E_202B_206B_206C_202E_200D_202C_200F_206D_202A_206E_202E_202A_202A_200E_200D_200F_206A_202D_202A_200C_202D_202B_200C_206B_206F_200B_202A_206B_202C_206C_202B_200E_200C_202B_200E_206B_200F_202E(builder, MountIf.ToString()); + _202B_202A_202E_202B_206B_206C_202E_200D_202C_200F_206D_202A_206E_202E_202A_202A_200E_200D_200F_206A_202D_202A_200C_202D_202B_200C_206B_206F_200B_202A_206B_202C_206C_202B_200E_200C_202B_200E_206B_200F_202E(builder, global::_003CModule_003E._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(-1993330002)); + _202B_202A_202E_202B_206B_206C_202E_200D_202C_200F_206D_202A_206E_202E_202A_202A_200E_200D_200F_206A_202D_202A_200C_202D_202B_200C_206B_206F_200B_202A_206B_202C_206C_202B_200E_200C_202B_200E_206B_200F_202E(builder, Position.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(MountTask? other) + { + int num = (((object)this == other) ? (-244243578) : (-244243579)); + while (true) + { + int num2 = num; + int num3 = -244243580; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -244243579; + break; + case 5: + return EqualityComparer.Default.Equals(Position, other.Position); + case 1: + num = (((object)other == null) ? (-244243582) : (-244243584)); + break; + case 6: + return false; + case 3: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? (-244243582) : (-244243581)); + break; + case 4: + num = ((!_206A_206E_206B_202B_206B_206A_200C_200D_202E_206B_202B_200B_206B_202E_202B_206A_206B_202A_200B_206D_202E_202A_202B_202B_206A_200F_202E_206A_206D_206C_206B_206F_206B_202E_202A_202D_202D_200F_202C_202B_202E(EqualityContract, other.EqualityContract)) ? (-244243582) : (-244243577)); + break; + case 2: + return true; + case 7: + num = ((!EqualityComparer.Default.Equals(MountIf, other.MountIf)) ? (-244243582) : (-244243583)); + break; + } + } + } + + bool IEquatable.Equals(MountTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); } [CompilerGenerated] @@ -48,50 +125,150 @@ internal static class Mount MountIf = this.MountIf; Position = this.Position; } + + static ArgumentNullException _202C_200E_202C_200D_200F_206F_202E_206F_202A_202E_202D_206A_200D_206A_206D_200C_200C_206A_206E_206B_200B_200B_200B_200D_206A_202A_200F_206A_202B_202E_200E_200D_202A_202A_206F_200E_200C_202B_200D_206A_202E(string P_0) + { + return new ArgumentNullException(P_0); + } + + static Type _206E_202A_200B_206E_202B_206B_202B_206B_200B_206D_206C_206B_206B_202D_206B_200E_202C_200B_202E_200F_202A_200B_202A_200E_200C_206C_206C_206D_200B_206A_206E_206F_202A_200D_200C_200E_200C_202C_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206A_206A_206A_206C_206E_200C_200D_202A_200C_200C_202B_202D_202A_206A_202C_206E_206D_206F_202A_206E_206F_202E_202E_206E_200E_206B_202A_200F_202B_202C_206B_202B_200F_200C_206F_206D_200B_200B_200C_206D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202B_202A_202E_202B_206B_206C_202E_200D_202C_200F_206D_202A_206E_202E_202A_202A_200E_200D_200F_206A_202D_202A_200C_202D_202B_200C_206B_206F_200B_202A_206B_202C_206C_202B_200E_200C_202B_200E_206B_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _206A_206E_206B_202B_206B_206A_200C_200D_202E_206B_202B_200B_206B_202E_202B_206A_206B_202A_200B_206D_202E_202A_202B_202B_206A_200F_202E_206A_206D_206C_206B_206F_206B_202E_202A_202D_202D_200F_202C_202B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } } 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) + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe MountResult EvaluateMountState(MountTask task, bool dryRun, ref long retryAtMs) { - if (condition[ConditionFlag.Mounted]) + int num = ((!_200D_200F_200B_200B_200E_206D_206D_200C_206E_200C_202A_206D_202C_206B_206E_200F_206F_202D_202B_200B_202A_206B_206A_202A_202E_202D_200E_200F_202B_206C_200D_206C_206F_202D_206D_206E_202A_206D_206F_202E_202E(condition, ConditionFlag.Mounted)) ? (-1122253637) : (-1122253641)); + float num8 = default(float); + LogLevel logLevel = default(LogLevel); + while (true) { - return MountResult.DontMount; - } - LogLevel logLevel = (dryRun ? LogLevel.None : LogLevel.Information); - if (!territoryData.CanUseMount(task.TerritoryId)) - { - logger.Log(logLevel, "Can't use mount in current territory {Id}", task.TerritoryId); - return MountResult.DontMount; - } - if (gameFunctions.HasStatusPreventingMount()) - { - logger.Log(logLevel, "Can't mount due to status preventing sprint or mount"); - return MountResult.DontMount; - } - 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) + int num2 = num; + int num3 = -1122253647; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num7; + switch (num5 - (num6 + num6)) { - logger.Log(logLevel, "Not using mount, as we're close to the target"); + case 14: + num = ((!(num8 < 30f)) ? (-1122253635) : (-1122253640)); + break; + case 3: + num7 = 6; + goto IL_00b6; + case 8: + _202B_202E_200B_202E_206F_206F_202E_206A_200C_202E_206A_202E_206E_200D_200C_200D_200B_202E_200C_200E_206D_200C_202B_202D_206E_206B_206B_206C_202C_200C_206D_200B_202D_206E_200C_202E_206B_206E_200B_202C_202E((ILogger)logger, logLevel, global::_003CModule_003E._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(-353154207), new object[1] { task.TerritoryId }); + num = (_200D_200F_200B_200B_200E_206D_206D_200C_206E_200C_202A_206D_202C_206B_206E_200F_206F_202D_202B_200B_202A_206B_206A_202A_202E_202D_200E_200F_202B_206C_200D_206C_206F_202D_206D_206E_202A_206D_206F_202E_202E(condition, ConditionFlag.InCombat) ? (-1122253644) : (-1122253643)); + break; + case 4: + num = ((!dryRun) ? (-1122253642) : (-1122253663)); + break; + case 5: + return MountResult.WhenOutOfCombat; + case 12: + _202B_202E_200B_202E_206F_206F_202E_206A_200C_202E_206A_202E_206E_200D_200C_200D_200B_202E_200C_200E_206D_200C_202B_202D_206E_206B_206B_206C_202C_200C_206D_200B_202D_206E_200C_202E_206B_206E_200B_202C_202E((ILogger)logger, logLevel, global::_003CModule_003E._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(-1123067859), new object[2] { num8, task.TerritoryId }); + num = -1122253639; + break; + case 2: + _202B_202E_200B_202E_206F_206F_202E_206A_200C_202E_206A_202E_206E_200D_200C_200D_200B_202E_200C_200E_206D_200C_202B_202D_206E_206B_206B_206C_202C_200C_206D_200B_202D_206E_200C_202E_206B_206E_200B_202C_202E((ILogger)logger, logLevel, global::_003CModule_003E._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(603618635), Array.Empty()); 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); - } - if (!condition[ConditionFlag.InCombat]) - { - if (dryRun) + case 11: + num7 = 1; + goto IL_00b6; + case 6: + return MountResult.DontMount; + case 10: + num = (dryRun ? (-1122253646) : (-1122253638)); + break; + case 17: { - retryAt = DateTime.Now.AddSeconds(0.5); + IPlayerCharacter playerCharacter = _206D_202A_206A_206C_206E_206B_206D_200F_200D_206C_202B_200F_206D_202B_202B_202A_200F_200D_206A_202D_200F_200C_206B_202A_202E_200B_202C_206B_206E_206D_206D_200C_202E_206B_200C_200F_200B_202B_202C_206F_202E(objectTable); + num8 = System.Numerics.Vector3.Distance((FFXIVClientStructs.FFXIV.Common.Math.Vector3)((playerCharacter != null) ? _206A_202D_206A_206C_202C_206D_200C_200D_202A_206C_202B_202D_206C_206D_206C_206C_202E_206D_200C_202C_206E_206B_202A_206C_200B_200B_206B_200E_206D_202D_200F_202D_206B_200F_206F_202B_202C_206B_200D_200D_202E((IGameObject)playerCharacter) : ((System.Numerics.Vector3)FFXIVClientStructs.FFXIV.Common.Math.Vector3.Zero)), task.Position.GetValueOrDefault()); + num = ((task.TerritoryId != _200D_200E_200C_202C_200D_202A_200E_206A_202B_206E_202E_206B_200B_202B_200D_202E_200C_206F_202A_206A_206D_206D_202B_206F_202A_206B_206F_200E_206E_200D_202C_206A_202C_202D_206C_206B_200E_200C_200B_200D_202E(clientState)) ? (-1122253635) : (-1122253633)); + break; + } + case 7: + return MountResult.Mount; + case 1: + num = ((task.MountIf != EMountIf.AwayFromPosition) ? (-1122253639) : (-1122253664)); + break; + case 15: + _202B_202E_200B_202E_206F_206F_202E_206A_200C_202E_206A_202E_206E_200D_200C_200D_200B_202E_200C_200E_206D_200C_202B_202D_206E_206B_206B_206C_202C_200C_206D_200B_202D_206E_200C_202E_206B_206E_200B_202C_202E((ILogger)logger, logLevel, global::_003CModule_003E._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(1312445464), Array.Empty()); + return MountResult.DontMount; + case 0: + num = -1122253641; + break; + case 13: + num = ((!gameFunctions.HasStatusPreventingMount()) ? (-1122253648) : (-1122253634)); + break; + case 9: + num = (FFXIVClientStructs.FFXIV.Client.Game.Conditions.Instance()->Diving ? (-1122253635) : (-1122253645)); + break; + case 18: + _202B_202E_200B_202E_206F_206F_202E_206A_200C_202E_206A_202E_206E_200D_200C_200D_200B_202E_200C_200E_206D_200C_202B_202D_206E_206B_206B_206C_202C_200C_206D_200B_202D_206E_200C_202E_206B_206E_200B_202C_202E((ILogger)logger, logLevel, global::_003CModule_003E._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(2123178136), new object[1] { task.TerritoryId }); + return MountResult.DontMount; + case 16: + { + retryAtMs = _202A_206E_202A_202E_200C_200F_200E_206C_206A_206A_202A_206A_206C_202D_200D_202D_200B_202B_206C_206B_206A_200F_200C_206D_206C_206C_200E_200B_200B_202A_206C_202D_200F_200D_206E_200D_200D_206F_206A_202D_202E() + 500; + num = -1122253642; + break; + } + IL_00b6: + logLevel = (LogLevel)num7; + num = (territoryData.CanUseMount(task.TerritoryId) ? (-1122253636) : (-1122253661)); + break; } - return MountResult.Mount; } - return MountResult.WhenOutOfCombat; + } + + static bool _200D_200F_200B_200B_200E_206D_206D_200C_206E_200C_202A_206D_202C_206B_206E_200F_206F_202D_202B_200B_202A_206B_206A_202A_202E_202D_200E_200F_202B_206C_200D_206C_206F_202D_206D_206E_202A_206D_206F_202E_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static void _202B_202E_200B_202E_206F_206F_202E_206A_200C_202E_206A_202E_206E_200D_200C_200D_200B_202E_200C_200E_206D_200C_202B_202D_206E_206B_206B_206C_202C_200C_206D_200B_202D_206E_200C_202E_206B_206E_200B_202C_202E(ILogger P_0, LogLevel P_1, string P_2, object[] P_3) + { + P_0.Log(P_1, P_2, P_3); + } + + static IPlayerCharacter _206D_202A_206A_206C_206E_206B_206D_200F_200D_206C_202B_200F_206D_202B_202B_202A_200F_200D_206A_202D_200F_200C_206B_202A_202E_200B_202C_206B_206E_206D_206D_200C_202E_206B_200C_200F_200B_202B_202C_206F_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static System.Numerics.Vector3 _206A_202D_206A_206C_202C_206D_200C_200D_202A_206C_202B_202D_206C_206D_206C_206C_202E_206D_200C_202C_206E_206B_202A_206C_200B_200B_206B_200E_206D_202D_200F_202D_206B_200F_206F_202B_202C_206B_200D_200D_202E(IGameObject P_0) + { + return P_0.Position; + } + + static uint _200D_200E_200C_202C_200D_202A_200E_206A_202B_206E_202E_206B_200B_202B_200D_202E_200C_206F_202A_206A_206D_206D_202B_206F_202A_206B_206F_200E_206E_200D_202C_206A_202C_202D_206C_206B_200E_200C_200B_200D_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static long _202A_206E_202A_202E_200C_200F_200E_206C_206A_206A_202A_206A_206C_202D_200D_202D_200B_202B_206C_206B_206A_200F_200C_206D_206C_206C_200E_200B_200B_202A_206C_202D_200F_200D_206E_200D_200D_206F_206A_202D_202E() + { + return Environment.TickCount64; } } @@ -99,44 +276,104 @@ 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; } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - if (_mountTriggered && !condition[ConditionFlag.Mounted] && DateTime.Now > _retryAt) + int num = ((!_mountTriggered) ? (-694294955) : (-694294952)); + while (true) { - logger.LogInformation("Not mounted, retrying..."); - _mountTriggered = false; - _retryAt = DateTime.MaxValue; - } - if (!_mountTriggered) - { - if (gameFunctions.HasStatusPreventingMount()) + int num2 = num; + int num3 = -694294945; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - logger.LogInformation("Can't mount due to status preventing sprint or mount"); + case 2: + num = ((!gameFunctions.HasStatusPreventingMount()) ? (-694294957) : (-694294950)); + break; + case 3: + ResetProgressTimer(); return ETaskResult.TaskComplete; + case 5: + _200D_206B_202E_200F_200E_202A_200B_202B_200F_206A_202C_206D_202E_202C_200F_202A_206E_202A_202C_202A_202A_200E_206C_202A_206A_202E_206E_200F_202B_200B_200F_202A_206F_206C_200F_202E_202A_206A_202B_202E((ILogger)logger, global::_003CModule_003E._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(1137964517), Array.Empty()); + return ETaskResult.TaskComplete; + case 6: + _200D_206B_202E_200F_200E_202A_200B_202B_200F_206A_202C_206D_202E_202C_200F_202A_206E_202A_202C_202A_202A_200E_206C_202A_206A_202E_206E_200F_202B_200B_200F_202A_206F_206C_200F_202E_202A_206A_202B_202E((ILogger)logger, global::_003CModule_003E._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(614136280), Array.Empty()); + _mountTriggered = false; + _retryAtMs = long.MaxValue; + num = -694294955; + break; + case 11: + ResetProgressTimer(); + num = -694294945; + break; + case 10: + num = (_mountTriggered ? (-694294946) : (-694294947)); + break; + case 9: + num = ((!base.ProgressContext.WasInterrupted()) ? (-694294958) : (-694294953)); + break; + case 15: + num = ((base.ProgressContext == null) ? (-694294945) : (-694294954)); + break; + case 14: + num = ((_206D_202C_200D_206E_202D_206D_206D_206B_202B_200F_200E_206C_202B_206B_200F_206E_202C_206F_200F_206E_206B_202C_202E_206F_206A_202B_202D_202A_206F_206A_200F_202B_206F_202E_202A_206C_200D_202A_206D_202E_202E() <= _retryAtMs) ? (-694294955) : (-694294951)); + break; + case 7: + num = (_200E_206F_200E_202D_200C_206F_200F_202C_202B_200F_202B_200E_206D_200F_202D_202D_206F_202D_200E_200D_200E_206A_206B_206F_202C_202E_202D_202B_206E_206E_206C_206A_206C_200E_200C_200C_206D_200B_200B_200C_202E(condition, ConditionFlag.Mounted) ? (-694294955) : (-694294959)); + break; + case 13: + num = ((!base.ProgressContext.WasSuccessful()) ? (-694294945) : (-694294956)); + break; + case 1: + num = ((!_200E_206F_200E_202D_200C_206F_200F_202C_202B_200F_202B_200E_206D_200F_202D_202D_206F_202D_200E_200D_200E_206A_206B_206F_202C_202E_202D_202B_206E_206E_206C_206A_206C_200E_200C_200C_206D_200B_200B_200C_202E(condition, ConditionFlag.Mounted)) ? (-694294960) : (-694294948)); + break; + case 4: + num = -694294952; + break; + case 8: + _200D_206B_202E_200F_200E_202A_200B_202B_200F_206A_202C_206D_202E_202C_200F_202A_206E_202A_202C_202A_202A_200E_206C_202A_206A_202E_206E_200F_202B_200B_200F_202A_206F_206C_200F_202E_202A_206A_202B_202E((ILogger)logger, global::_003CModule_003E._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(1257322524), Array.Empty()); + _mountTriggered = false; + return ETaskResult.StillRunning; + case 0: + return ETaskResult.StillRunning; + case 12: + base.ProgressContext = InteractionProgressContext.FromActionUse(() => _mountTriggered = gameFunctions.Mount()); + ResetProgressTimer(); + _retryAtMs = _206D_202C_200D_206E_202D_206D_206D_206B_202B_200F_200E_206C_202B_206B_200F_206E_202C_206F_200F_206E_206B_202C_202E_206F_206A_202B_202D_202A_206F_206A_200F_202B_206F_202E_202A_206C_200D_202A_206D_202E_202E() + 5000; + return ETaskResult.StillRunning; } - base.ProgressContext = InteractionProgressContext.FromActionUse(() => _mountTriggered = gameFunctions.Mount()); - _retryAt = DateTime.Now.AddSeconds(5.0); - return ETaskResult.StillRunning; } - if (!condition[ConditionFlag.Mounted]) - { - return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return false; } + + static bool _200E_206F_200E_202D_200C_206F_200F_202C_202B_200F_202B_200E_206D_200F_202D_202D_206F_202D_200E_200D_200E_206A_206B_206F_202C_202E_202D_202B_206E_206E_206C_206A_206C_200E_200C_200C_206D_200B_200B_200C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static long _206D_202C_200D_206E_202D_206D_206D_206B_202B_200F_200E_206C_202B_206B_200F_206E_202C_206F_200F_206E_206B_202C_202E_206F_206A_202B_202D_202A_206F_206A_200F_202B_206F_202E_202A_206C_200D_202A_206D_202E_202E() + { + return Environment.TickCount64; + } + + static void _200D_206B_202E_200F_200E_202A_200B_202B_200F_206A_202C_206D_202E_202C_200F_202A_206E_202A_202C_202A_202A_200E_206C_202A_206A_202E_206E_200F_202B_200B_200F_202A_206F_206C_200F_202E_202A_206A_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } } internal enum MountResult @@ -148,91 +385,238 @@ internal static class Mount internal sealed record UnmountTask : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_206C_200F_206C_202C_202E_200C_200D_202B_202B_200C_206B_200D_206D_202E_206E_206F_206E_206E_202B_202B_200C_206E_202B_200F_206C_200C_200E_206F_206C_206D_200B_200C_206D_206D_202C_206E_200F_200E_202B_202E(typeof(UnmountTask).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "Unmount"; + return global::_003CModule_003E._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(-2092040442); + } + + [CompilerGenerated] + public bool Equals(UnmountTask? other) + { + int num = (((object)this == other) ? (-325437699) : (-325437704)); + while (true) + { + int num2 = num; + int num3 = -325437700; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return false; + case 0: + return _202E_200D_202B_206F_202E_206C_200C_200E_202A_206F_200E_206F_202E_202D_202C_206D_202E_200C_206D_206D_200F_200B_206F_202C_202D_206E_200E_206B_206F_200C_202E_206C_206C_206F_206B_206D_206B_200D_202D_206F_202E(EqualityContract, other.EqualityContract); + case 4: + num = (((object)other == null) ? (-325437697) : (-325437700)); + break; + case 1: + return true; + case 2: + num = -325437704; + break; + } + } + } + + bool IEquatable.Equals(UnmountTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_206C_200F_206C_202C_202E_200C_200D_202B_202B_200C_206B_200D_206D_202E_206E_206F_206E_206E_202B_202B_200C_206E_202B_200F_206C_200C_200E_206F_206C_206D_200B_200C_206D_206D_202C_206E_200F_200E_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _202E_200D_202B_206F_202E_206C_200C_200E_202A_206F_200E_206F_202E_202D_202C_206D_202E_200C_206D_206D_200F_200B_206F_202C_202D_206E_200E_206B_206F_200C_202E_206C_206C_206F_206B_206D_206B_200D_202D_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - 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; + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - if (!condition[ConditionFlag.Mounted]) + int num = (_202B_202C_206F_200E_202E_206E_200E_200C_200C_206B_202D_200F_202C_206F_206D_206A_200E_202B_200D_206A_202C_202A_200B_206A_200D_202B_206B_206F_202B_202D_202D_200D_206A_206A_202E_200C_200F_200B_202C_206C_202E(condition, ConditionFlag.Mounted) ? 488246470 : 488246469); + while (true) { - return false; + int num2 = num; + int num3 = 488246471; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _unmountTriggered = gameFunctions.Unmount(); + _continueAtMs = _202B_206A_206A_206D_206A_200C_200F_206E_206F_206D_206C_202A_206B_206C_200C_202C_206F_206D_206C_200E_202E_200C_200C_200C_202A_202E_206B_200E_206F_200B_206C_202B_200E_200F_206E_202C_202D_206A_200C_206D_202E() + 1000; + return true; + case 2: + return false; + case 4: + gameFunctions.Unmount(); + _continueAtMs = _202B_206A_206A_206D_206A_200C_200F_206E_206F_206D_206C_202A_206B_206C_200C_202C_206F_206D_206C_200E_202E_200C_200C_200C_202A_202E_206B_200E_206F_200B_206C_202B_200E_200F_206E_202C_202D_206A_200C_206D_202E() + 1000; + return true; + case 3: + num = 488246469; + break; + case 1: + _202C_202D_200C_202C_200B_206C_200E_200F_202B_200F_200C_200E_206C_206A_200C_206F_202A_200B_202D_206E_206A_202D_206A_206A_200C_202B_200D_206B_206D_206F_202C_206F_202A_206D_202E_202E_202B_200F_200D_202A_202E((ILogger)logger, global::_003CModule_003E._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(-194036115), Array.Empty()); + num = ((!_202B_202C_206F_200E_202E_206E_200E_200C_200C_206B_202D_200F_202C_206F_206D_206A_200E_202B_200D_206A_202C_202A_200B_206A_200D_202B_206B_206F_202B_202D_202D_200D_206A_206A_202E_200C_200F_200B_202C_206C_202E(condition, ConditionFlag.InFlight)) ? 488246471 : 488246467); + break; + } } - logger.LogInformation("Step explicitly wants no mount, trying to unmount..."); - if (condition[ConditionFlag.InFlight]) - { - gameFunctions.Unmount(); - _continueAt = DateTime.Now.AddSeconds(1.0); - return true; - } - _unmountTriggered = gameFunctions.Unmount(); - _continueAt = DateTime.Now.AddSeconds(1.0); - return true; } public override ETaskResult Update() { - if (_continueAt >= DateTime.Now) + int num = ((_202B_206A_206A_206D_206A_200C_200F_206E_206F_206D_206C_202A_206B_206C_200C_202C_206F_206D_206C_200E_202E_200C_200C_200C_202A_202E_206B_200E_206F_200B_206C_202B_200E_200F_206E_202C_202D_206A_200C_206D_202E() >= _continueAtMs) ? 353264902 : 353264910); + while (true) { - return ETaskResult.StillRunning; - } - if (IsUnmounting()) - { - return ETaskResult.StillRunning; - } - if (!_unmountTriggered) - { - if (condition[ConditionFlag.InFlight]) - { - gameFunctions.Unmount(); - } - else + int num2 = num; + int num3 = 353264907; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 13: + num = ((!IsUnmounting()) ? 353264903 : 353264898); + break; + case 14: + num = ((!_202B_202C_206F_200E_202E_206E_200E_200C_200C_206B_202D_200F_202C_206F_206D_206A_200E_202B_200D_206A_202C_202A_200B_206A_200D_202B_206B_206F_202B_202D_202D_200D_206A_206A_202E_200C_200F_200B_202C_206C_202E(condition, ConditionFlag.InCombat)) ? 353264899 : 353264904); + break; + case 6: + _continueAtMs = _202B_206A_206A_206D_206A_200C_200F_206E_206F_206D_206C_202A_206B_206C_200C_202C_206F_206D_206C_200E_202E_200C_200C_200C_202A_202E_206B_200E_206F_200B_206C_202B_200E_200F_206E_202C_202D_206A_200C_206D_202E() + 1000; + return ETaskResult.StillRunning; + case 1: + num = ((!_202B_202C_206F_200E_202E_206E_200E_200C_200C_206B_202D_200F_202C_206F_206D_206A_200E_202B_200D_206A_202C_202A_200B_206A_200D_202B_206B_206F_202B_202D_202D_200D_206A_206A_202E_200C_200F_200B_202C_206C_202E(condition, ConditionFlag.Mounted)) ? 353264899 : 353264901); + break; + case 0: + num = 353264910; + break; + case 2: + return ETaskResult.TaskComplete; + case 3: _unmountTriggered = gameFunctions.Unmount(); + _continueAtMs = _202B_206A_206A_206D_206A_200C_200F_206E_206F_206D_206C_202A_206B_206C_200C_202C_206F_206D_206C_200E_202E_200C_200C_200C_202A_202E_206B_200E_206F_200B_206C_202B_200E_200F_206E_202C_202D_206A_200C_206D_202E() + 1000; + return ETaskResult.StillRunning; + case 11: + num = ((!_202B_202C_206F_200E_202E_206E_200E_200C_200C_206B_202D_200F_202C_206F_206D_206A_200E_202B_200D_206A_202C_202A_200B_206A_200D_202B_206B_206F_202B_202D_202D_200D_206A_206A_202E_200C_200F_200B_202C_206C_202E(condition, ConditionFlag.InFlight)) ? 353264911 : 353264897); + break; + case 12: + num = (_unmountTriggered ? 353264906 : 353264896); + break; + case 5: + return ETaskResult.StillRunning; + case 7: + return ETaskResult.StillRunning; + case 4: + _unmountTriggered = gameFunctions.Unmount(); + num = 353264909; + break; + case 8: + num = (_202B_202C_206F_200E_202E_206E_200E_200C_200C_206B_202D_200F_202C_206F_206D_206A_200E_202B_200D_206A_202C_202A_200B_206A_200D_202B_206B_206F_202B_202D_202D_200D_206A_206A_202E_200C_200F_200B_202C_206C_202E(condition, ConditionFlag.Mounted) ? 353264908 : 353264905); + break; + case 10: + gameFunctions.Unmount(); + num = 353264909; + break; + case 9: + return ETaskResult.StillRunning; } - _continueAt = DateTime.Now.AddSeconds(1.0); - return ETaskResult.StillRunning; } - if (condition[ConditionFlag.Mounted] && condition[ConditionFlag.InCombat]) - { - _unmountTriggered = gameFunctions.Unmount(); - _continueAt = DateTime.Now.AddSeconds(1.0); - return ETaskResult.StillRunning; - } - if (!condition[ConditionFlag.Mounted]) - { - return ETaskResult.TaskComplete; - } - return ETaskResult.StillRunning; } private unsafe bool IsUnmounting() { - if (objectTable[0] is IPlayerCharacter playerCharacter) + IPlayerCharacter playerCharacter = _200B_202D_206D_206F_206B_202D_206B_206C_200C_202B_206F_206C_206E_200C_200E_202E_202D_202E_206C_206B_202B_200D_202B_206A_202B_206E_202B_206A_206E_206D_206D_200D_202D_202B_206E_200C_202D_206C_202E_202A_202E(objectTable); + int num = ((playerCharacter == null) ? 117430025 : 117430026); + while (true) { - BattleChara* address = (BattleChara*)playerCharacter.Address; - return (address->Mount.Flags & 1) == 1; + int num2 = num; + int num3 = 117430027; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0052; + case 2: + return false; + case 1: + { + BattleChara* ptr = (BattleChara*)_200F_202B_206E_200F_206E_200C_200C_200F_206E_206D_206C_200D_202D_206E_200C_200E_206B_202D_202C_206D_206A_206D_200C_206E_200D_202E_202B_206F_200B_202D_206F_202A_206C_200E_206E_200E_206A_200D_202E_202E((IGameObject)playerCharacter); + byte flags = ptr->Mount.Flags; + num3 = 1; + num4 = flags; + return num4 + num3 - (num4 | num3) == 1; + } + } + continue; + IL_0052: + num = 117430026; } - return false; } public override bool ShouldInterruptOnDamage() { return false; } + + static bool _202B_202C_206F_200E_202E_206E_200E_200C_200C_206B_202D_200F_202C_206F_206D_206A_200E_202B_200D_206A_202C_202A_200B_206A_200D_202B_206B_206F_202B_202D_202D_200D_206A_206A_202E_200C_200F_200B_202C_206C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static void _202C_202D_200C_202C_200B_206C_200E_200F_202B_200F_200C_200E_206C_206A_200C_206F_202A_200B_202D_206E_206A_202D_206A_206A_200C_202B_200D_206B_206D_206F_202C_206F_202A_206D_202E_202E_202B_200F_200D_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static long _202B_206A_206A_206D_206A_200C_200F_206E_206F_206D_206C_202A_206B_206C_200C_202C_206F_206D_206C_200E_202E_200C_200C_200C_202A_202E_206B_200E_206F_200B_206C_202B_200E_200F_206E_202C_202D_206A_200C_206D_202E() + { + return Environment.TickCount64; + } + + static IPlayerCharacter _200B_202D_206D_206F_206B_202D_206B_206C_200C_202B_206F_206C_206E_200C_200E_202E_202D_202E_206C_206B_202B_200D_202B_206A_202B_206E_202B_206A_206E_206D_206D_200D_202D_202B_206E_200C_202D_206C_202E_202A_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static nint _200F_202B_206E_200F_206E_200C_200C_200F_206E_206D_206C_200D_202D_206E_200C_200E_206B_202D_202C_206D_206A_206D_200C_206E_200D_202E_202B_206F_200B_202D_206F_202A_206C_200E_206E_200E_206A_200D_202E_202E(IGameObject P_0) + { + return P_0.Address; + } } public enum EMountIf diff --git a/Questionable/Questionable.Controller.Steps.Common/NextQuest.cs b/Questionable/Questionable.Controller.Steps.Common/NextQuest.cs index 901aaacc..ce7f348c 100644 --- a/Questionable/Questionable.Controller.Steps.Common/NextQuest.cs +++ b/Questionable/Questionable.Controller.Steps.Common/NextQuest.cs @@ -1,3 +1,7 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; using Microsoft.Extensions.Logging; using Questionable.Functions; using Questionable.Model; @@ -11,66 +15,234 @@ internal static class NextQuest { public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.CompleteQuest) + int num = ((_202A_206F_206D_206A_200D_206F_200C_206B_202E_202D_202A_206A_206F_200C_200C_206C_202E_206D_202C_206A_206E_202E_202A_200E_206E_202B_202E_202B_206B_202C_200B_200D_200C_202E_202D_200B_202C_202B_206E_206E_202E(step) == EInteractionType.CompleteQuest) ? (-1909378292) : (-1909378290)); + while (true) { - return null; + int num2 = num; + int num3 = -1909378291; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + num = -1909378290; + break; + case 0: + return null; + case 5: + return new SetQuestTask(_206F_206E_200D_200E_200B_202B_202B_202D_202D_202B_202E_202D_206F_200E_200B_200D_200E_200D_202B_202C_200E_202E_206C_200B_200E_200D_206D_206A_206F_202D_200C_200E_202B_206B_202D_206B_206E_202B_200B_200E_202E(step), quest.Id); + case 4: + return null; + case 1: + num = ((!_200B_202C_200B_206C_202A_200C_206F_206C_200D_202B_200F_200E_206A_200B_200D_202C_200E_206D_206B_202B_200C_202D_200D_206F_202D_200E_206A_202E_200B_202C_206A_202B_202D_206C_200B_200F_202E_206D_206B_206F_202E(_206F_206E_200D_200E_200B_202B_202B_202D_202D_202B_202E_202D_206F_200E_200B_200D_200E_200D_202B_202C_200E_202E_206C_200B_200E_200D_206D_206A_206F_202D_200C_200E_202B_206B_202D_206B_206E_202B_200B_200E_202E(step), (ElementId)null)) ? (-1909378293) : (-1909378299)); + break; + case 6: + num = ((!_200B_202C_200B_206C_202A_200C_206F_206C_200D_202B_200F_200E_206A_200B_200D_202C_200E_206D_206B_202B_200C_202D_200D_206F_202D_200E_206A_202E_200B_202C_206A_202B_202D_206C_200B_200F_202E_206D_206B_206F_202E(_206F_206E_200D_200E_200B_202B_202B_202D_202D_202B_202E_202D_206F_200E_200B_200D_200E_200D_202B_202C_200E_202E_206C_200B_200E_200D_206D_206A_206F_202D_200C_200E_202B_206B_202D_206B_206E_202B_200B_200E_202E(step), quest.Id)) ? (-1909378289) : (-1909378295)); + break; + case 2: + num = ((!questFunctions.GetPriorityQuests(onlyClassAndRoleQuests: true).Contains(_206F_206E_200D_200E_200B_202B_202B_202D_202D_202B_202E_202D_206F_200E_200B_200D_200E_200D_202B_202C_200E_202E_206C_200B_200E_200D_206D_206A_206F_202D_200C_200E_202B_206B_202D_206B_206E_202B_200B_200E_202E(step))) ? (-1909378296) : (-1909378291)); + break; + case 3: + return null; + case 8: + return null; + } } - if (step.NextQuestId == null) - { - return null; - } - if (step.NextQuestId == quest.Id) - { - return null; - } - if (questFunctions.GetPriorityQuests(onlyClassAndRoleQuests: true).Contains(step.NextQuestId)) - { - return null; - } - return new SetQuestTask(step.NextQuestId, quest.Id); + } + + static EInteractionType _202A_206F_206D_206A_200D_206F_200C_206B_202E_202D_202A_206A_206F_200C_200C_206C_202E_206D_202C_206A_206E_202E_202A_200E_206E_202B_202E_202B_206B_202C_200B_200D_200C_202E_202D_200B_202C_202B_206E_206E_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static ElementId _206F_206E_200D_200E_200B_202B_202B_202D_202D_202B_202E_202D_206F_200E_200B_200D_200E_200D_202B_202C_200E_202E_206C_200B_200E_200D_206D_206A_206F_202D_200C_200E_202B_206B_202D_206B_206E_202B_200B_200E_202E(QuestStep P_0) + { + return P_0.NextQuestId; + } + + static bool _200B_202C_200B_206C_202A_200C_206F_206C_200D_202B_200F_200E_206A_200B_200D_202C_200E_206D_206B_202B_200C_202D_200D_206F_202D_200E_206A_202E_200B_202C_206A_202B_202D_206C_200B_200F_202E_206D_206B_206F_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; } } internal sealed record SetQuestTask(ElementId NextQuestId, ElementId CurrentQuestId) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200E_202A_206A_200C_200D_202E_206B_206B_202B_206F_200D_202C_200C_202C_206A_200C_206B_206C_206C_206F_200E_202B_206C_200B_200C_206B_202A_200D_202A_206A_200B_200C_202C_202D_206A_202D_206E_202C_200B_206D_202E(typeof(SetQuestTask).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"SetNextQuest({NextQuestId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(14, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2031144159)); + defaultInterpolatedStringHandler.AppendFormatted(NextQuestId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_206B_202E_200B_200D_200B_206F_206B_202D_202C_200C_200E_206B_206F_206C_202E_206A_206B_200D_202D_206B_206F_206F_202A_202C_206B_202C_206F_202C_206D_200E_200B_202B_202D_206C_200E_202D_206E_202D_200D_202E(); + _206E_206A_206A_202B_200E_206D_206C_200B_200C_200E_206B_202A_200D_206E_206A_200E_206F_206F_202D_202E_206A_200E_202D_202C_200F_206F_206C_202D_206F_202C_202E_206C_200C_202B_202C_206A_206E_206F_202C_206F_202E(builder, global::_003CModule_003E._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(129873473)); + _202D_202A_206B_200E_206B_200C_206C_206D_202D_202D_202A_202B_200F_202B_206C_206E_202C_200C_206D_200F_206A_200F_200F_202E_200B_200F_206F_200F_200B_206F_202B_202D_200C_206A_200B_206F_200D_206C_200D_206F_202E(builder, (object)NextQuestId); + _206E_206A_206A_202B_200E_206D_206C_200B_200C_200E_206B_202A_200D_206E_206A_200E_206F_206F_202D_202E_206A_200E_202D_202C_200F_206F_206C_202D_206F_202C_202E_206C_200C_202B_202C_206A_206E_206F_202C_206F_202E(builder, global::_003CModule_003E._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(-1559739733)); + _202D_202A_206B_200E_206B_200C_206C_206D_202D_202D_202A_202B_200F_202B_206C_206E_202C_200C_206D_200F_206A_200F_200F_202E_200B_200F_206F_200F_200B_206F_202B_202D_200C_206A_200B_206F_200D_206C_200D_206F_202E(builder, (object)CurrentQuestId); + return true; + } + + [CompilerGenerated] + public bool Equals(SetQuestTask? other) + { + int num = (((object)this == other) ? (-1393326810) : (-1393326816)); + while (true) + { + int num2 = num; + int num3 = -1393326814; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return EqualityComparer.Default.Equals(CurrentQuestId, other.CurrentQuestId); + case 2: + num = (((object)other == null) ? (-1393326813) : (-1393326809)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(NextQuestId, other.NextQuestId)) ? (-1393326813) : (-1393326815)); + break; + case 4: + return true; + case 5: + num = ((!_206E_200E_200E_200D_202D_206B_206B_200E_200F_206E_202B_200B_202D_206C_202B_202B_200C_206E_200C_202B_202A_206D_202C_200B_206D_206E_206C_206E_202D_202C_200F_206B_200D_200D_200B_200C_202A_206F_200B_202D_202E(EqualityContract, other.EqualityContract)) ? (-1393326813) : (-1393326812)); + break; + case 1: + return false; + case 0: + num = -1393326816; + break; + } + } + } + + bool IEquatable.Equals(SetQuestTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200E_202A_206A_200C_200D_202E_206B_206B_202B_206F_200D_202C_200C_202C_206A_200C_206B_206C_206C_206F_200E_202B_206C_200B_200C_206B_202A_200D_202A_206A_200B_200C_202C_202D_206A_202D_206E_202C_200B_206D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202E_206B_202E_200B_200D_200B_206F_206B_202D_202C_200C_200E_206B_206F_206C_202E_206A_206B_200D_202D_206B_206F_206F_202A_202C_206B_202C_206F_202C_206D_200E_200B_202B_202D_206C_200E_202D_206E_202D_200D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206E_206A_206A_202B_200E_206D_206C_200B_200C_200E_206B_202A_200D_206E_206A_200E_206F_206F_202D_202E_206A_200E_202D_202C_200F_206F_206C_202D_206F_202C_202E_206C_200C_202B_202C_206A_206E_206F_202C_206F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202D_202A_206B_200E_206B_200C_206C_206D_202D_202D_202A_202B_200F_202B_206C_206E_202C_200C_206D_200F_206A_200F_200F_202E_200B_200F_206F_200F_200B_206F_202B_202D_200C_206A_200B_206F_200D_206C_200D_206F_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206E_200E_200E_200D_202D_206B_206B_200E_200F_206E_202B_200B_202D_206C_202B_202B_200C_206E_200C_202B_202A_206D_202C_200B_206D_206E_206C_206E_202D_202C_200F_206B_200D_200D_200B_200C_202A_206F_200B_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class NextQuestExecutor(QuestRegistry questRegistry, QuestController questController, QuestFunctions questFunctions, ILogger logger) : TaskExecutor() { + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { QuestController.EAutomationType automationType = questController.AutomationType; - Quest quest; - if ((uint)(automationType - 3) <= 1u) + int num = (((uint)(automationType - 3) > 1u) ? (-54591417) : (-54591410)); + bool flag = default(bool); + Quest quest = default(Quest); + while (true) { - logger.LogInformation("Won't set next quest to {QuestId}, automation type is CurrentQuestOnly", base.Task.NextQuestId); - questController.SetNextQuest(null); + int num2 = num; + int num3 = -54591409; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = ((!flag) ? (-54591415) : (-54591411)); + break; + case 8: + flag = false; + num = -54591409; + break; + case 7: + return true; + case 6: + num = ((!questFunctions.IsQuestLocked(base.Task.NextQuestId, base.Task.CurrentQuestId)) ? (-54591414) : (-54591418)); + break; + case 3: + num = -54591410; + break; + case 2: + _206A_200F_206F_206E_200E_200E_206D_202C_200C_200D_202C_200C_202D_206F_202A_202A_200B_200E_200E_202D_202B_200D_206A_206E_200B_200F_206E_202C_206E_206E_200D_202C_206E_200F_200F_200E_206C_206F_206C_202E((ILogger)logger, global::_003CModule_003E._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(-517035289), new object[1] { base.Task.NextQuestId }); + questController.SetNextQuest(null); + num = -54591416; + break; + case 10: + _206A_200F_206F_206E_200E_200E_206D_202C_200C_200D_202C_200C_202D_206F_202A_202A_200B_200E_200E_202D_202B_200D_206A_206E_200B_200F_206E_202C_206E_206E_200D_202C_206E_200F_200F_200E_206C_206F_206C_202E((ILogger)logger, global::_003CModule_003E._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(-2109635352), new object[2] + { + base.Task.NextQuestId, + quest.Info.Name + }); + questController.SetNextQuest(quest); + num = -54591416; + break; + case 9: + _206A_200F_206F_206E_200E_200E_206D_202C_200C_200D_202C_200C_202D_206F_202A_202A_200B_200E_200E_202D_202B_200D_206A_206E_200B_200F_206E_202C_206E_206E_200D_202C_206E_200F_200F_200E_206C_206F_206C_202E((ILogger)logger, global::_003CModule_003E._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(-1849595001), new object[1] { base.Task.NextQuestId }); + questController.SetNextQuest(null); + num = -54591416; + break; + case 1: + flag = true; + num = -54591409; + break; + case 4: + _206A_200F_206F_206E_200E_200E_206D_202C_200C_200D_202C_200C_202D_206F_202A_202A_200B_200E_200E_202D_202B_200D_206A_206E_200B_200F_206E_202C_206E_206E_200D_202C_206E_200F_200F_200E_206C_206F_206C_202E((ILogger)logger, global::_003CModule_003E._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(1489956066), new object[1] { base.Task.NextQuestId }); + questController.SetNextQuest(null); + num = -54591416; + break; + case 5: + num = ((!questRegistry.TryGetQuest(base.Task.NextQuestId, out quest)) ? (-54591413) : (-54591419)); + break; + } } - else if (questFunctions.IsQuestLocked(base.Task.NextQuestId, base.Task.CurrentQuestId)) - { - logger.LogInformation("Can't set next quest to {QuestId}, quest is locked", base.Task.NextQuestId); - questController.SetNextQuest(null); - } - else if (questRegistry.TryGetQuest(base.Task.NextQuestId, out quest)) - { - logger.LogInformation("Setting next quest to {QuestId}: '{QuestName}'", base.Task.NextQuestId, quest.Info.Name); - questController.SetNextQuest(quest); - } - else - { - logger.LogInformation("Next quest with id {QuestId} not found", base.Task.NextQuestId); - questController.SetNextQuest(null); - } - return true; } public override ETaskResult Update() @@ -82,5 +254,10 @@ internal static class NextQuest { return false; } + + static void _206A_200F_206F_206E_200E_200E_206D_202C_200C_200D_202C_200C_202D_206F_202A_202A_200B_200E_200E_202D_202B_200D_206A_206E_200B_200F_206E_202C_206E_206E_200D_202C_206E_200F_200F_200E_206C_206F_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Common/RepairGear.cs b/Questionable/Questionable.Controller.Steps.Common/RepairGear.cs new file mode 100644 index 00000000..b327943f --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Common/RepairGear.cs @@ -0,0 +1,628 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +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 + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200D_206E_202A_200E_206D_200C_206C_202B_202C_200E_202A_200B_202D_206B_200F_200C_206C_200E_202A_206A_200C_206D_202C_206A_200D_206A_202D_200D_202B_202A_202C_200E_202B_200B_206E_206F_202E_200D_202A_202E(typeof(SelfRepairTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + return global::_003CModule_003E._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(-1902425230); + } + + [CompilerGenerated] + public bool Equals(SelfRepairTask? other) + { + int num = (((object)this == other) ? 995045173 : 995045172); + while (true) + { + int num2 = num; + int num3 = 995045173; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 995045172; + break; + case 0: + return true; + case 4: + return false; + case 1: + num = (((object)other == null) ? 995045169 : 995045174); + break; + case 3: + return _202D_206A_200F_202A_206B_200E_200E_200D_200C_206B_200D_206F_206E_202C_200E_206B_200E_200C_206C_206E_202C_202C_206D_200D_202C_206B_206C_206A_202D_202B_206C_206E_202A_200B_200E_202E_202E_202C_202B_200C_202E(EqualityContract, other.EqualityContract); + } + } + } + + bool IEquatable.Equals(SelfRepairTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200D_206E_202A_200E_206D_200C_206C_202B_202C_200E_202A_200B_202D_206B_200F_200C_206C_200E_202A_206A_200C_206D_202C_206A_200D_206A_202D_200D_202B_202A_202C_200E_202B_200B_206E_206F_202E_200D_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _202D_206A_200F_202A_206B_200E_200E_200D_200C_206B_200D_206F_206E_202C_200E_206B_200E_200C_206C_206E_202C_202C_206D_200D_202C_206B_206C_206A_202D_202B_206C_206E_202A_200B_200E_202E_202E_202C_202B_200C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + internal sealed record MenderRepairTask(MenderNpc Npc) : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_206D_202C_206A_200D_206E_202E_200F_206E_206A_200F_206B_200B_200C_202B_202C_202A_202E_206A_200D_206C_202A_206F_200B_206E_206B_206D_202A_200F_206E_202E_202B_202B_206F_202C_202D_200F_206A_200D_200E_202E(typeof(MenderRepairTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(14, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1987309815)); + defaultInterpolatedStringHandler.AppendFormatted(Npc.DataId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206E_200D_206E_202B_200E_200B_200F_202C_200C_202D_206D_202D_202B_206C_206B_206B_200E_200B_200D_200D_200C_202C_200C_202E_200B_200D_206D_202E_200B_200C_200F_206D_202D_202D_200B_200C_202E_200B_206B_200F_202E(); + _202C_202D_206F_202B_202C_206B_206F_202B_200C_200D_206D_206A_206B_200E_200B_202B_202D_200F_200B_200F_200D_200E_202C_200D_200E_206D_206B_206B_202B_200C_202B_206E_206A_206C_200B_200E_206E_200C_206A_206A_202E(builder, global::_003CModule_003E._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(-2086626931)); + _206A_206B_202A_202E_200D_202D_202D_206B_200B_200E_200F_206A_206D_200F_200E_206A_202B_202D_200F_200C_200F_200F_202B_206C_206B_200F_206A_206D_206F_206F_206B_202B_206B_206F_206B_200B_200B_200C_200D_202A_202E(builder, (object)Npc); + return true; + } + + [CompilerGenerated] + public bool Equals(MenderRepairTask? other) + { + int num = (((object)this == other) ? (-799172425) : (-799172431)); + while (true) + { + int num2 = num; + int num3 = -799172430; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return EqualityComparer.Default.Equals(Npc, other.Npc); + case 5: + return true; + case 4: + num = -799172431; + break; + case 2: + num = ((!_206B_200D_202E_206B_202B_200D_200B_206E_202B_206C_200D_202E_206D_206E_202D_202C_202C_202D_200D_202D_202A_200D_206F_200B_206C_200E_202C_206F_200E_202A_206F_202B_206F_206D_200E_202A_202B_202C_202C_202A_202E(EqualityContract, other.EqualityContract)) ? (-799172430) : (-799172429)); + break; + case 0: + return false; + case 3: + num = (((object)other == null) ? (-799172430) : (-799172432)); + break; + } + } + } + + bool IEquatable.Equals(MenderRepairTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_206D_202C_206A_200D_206E_202E_200F_206E_206A_200F_206B_200B_200C_202B_202C_202A_202E_206A_200D_206C_202A_206F_200B_206E_206B_206D_202A_200F_206E_202E_202B_202B_206F_202C_202D_200F_206A_200D_200E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206E_200D_206E_202B_200E_200B_200F_202C_200C_202D_206D_202D_202B_206C_206B_206B_200E_200B_200D_200D_200C_202C_200C_202E_200B_200D_206D_202E_200B_200C_200F_206D_202D_202D_200B_200C_202E_200B_206B_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202C_202D_206F_202B_202C_206B_206F_202B_200C_200D_206D_206A_206B_200E_200B_202B_202D_200F_200B_200F_200D_200E_202C_200D_200E_206D_206B_206B_202B_200C_202B_206E_206A_206C_200B_200E_206E_200C_206A_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_206B_202A_202E_200D_202D_202D_206B_200B_200E_200F_206A_206D_200F_200E_206A_202B_202D_200F_200C_200F_200F_202B_206C_206B_200F_206A_206D_206F_206F_206B_202B_206B_206F_206B_200B_200B_200C_200D_202A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206B_200D_202E_206B_202B_200D_200B_206E_202B_206C_200D_202E_206D_206E_202D_202C_202C_202D_200D_202D_202A_200D_206F_200B_206C_200E_202C_206F_200E_202A_206F_202B_206F_206D_200E_202A_202B_202C_202C_202A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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 = _206F_202D_200D_200E_202D_206E_202B_200D_206B_200B_206A_202B_202C_200D_202C_200B_206A_202E_206D_200F_200C_206F_200B_200E_200E_202E_200F_202D_200F_206E_206A_202E_206A_200D_206B_206F_206E_206A_200B_202E_202E(); + _attempt = 1; + EnterState(InitialState); + _nextPollAt = 0L; + return true; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public sealed override ETaskResult Update() + { + long num = _206B_202D_202A_206E_206C_206F_206F_202B_206E_202E_200E_202B_200F_200F_200F_202C_206A_206D_206D_202E_206A_202B_200E_206C_206E_200D_206B_200F_200B_206C_206B_206D_200D_206E_206A_206A_202A_206A_206E_206D_202E(); + int num2 = ((num >= _nextPollAt) ? 2095781305 : 2095781289); + while (true) + { + int num3 = num2; + int num4 = 2095781295; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 11: + num2 = 2095781289; + break; + case 5: + num2 = (UpdateCustomState(_state) ? 2095781294 : 2095781281); + break; + case 1: + return ETaskResult.StillRunning; + case 12: + num2 = 2095781290; + break; + case 22: + { + long num6 = 250L; + long num7 = num; + _nextPollAt = (num7 | num6) + (num7 & num6); + num2 = ((num <= _stateDeadline) ? 2095781287 : 2095781309); + break; + } + case 17: + EnterState(EState.FiringRepair); + num2 = 2095781294; + break; + case 6: + return ETaskResult.StillRunning; + case 3: + goto IL_0140; + case 24: + goto IL_0166; + case 4: + goto IL_018c; + case 19: + _200B_202E_200B_206C_202C_202C_206E_206D_202B_200F_200C_200B_202E_206C_202D_202E_206B_200D_200F_200B_206D_202C_200C_206E_206F_202B_200E_206C_206E_200D_200F_200B_206A_200B_202A_200C_202B_200C_200F_200E_202E(GameGui); + num2 = 2095781294; + break; + case 8: + switch (_state) + { + case EState.Settling: + break; + case EState.Confirming: + goto IL_0140; + case EState.WaitingForClose: + goto IL_0166; + case EState.FiringRepair: + goto IL_018c; + default: + goto IL_01f4; + case EState.Closing: + goto IL_0245; + case EState.WaitingForAddon: + goto IL_026b; + case EState.OpeningWindow: + goto IL_0291; + } + goto case 1; + case 18: + num2 = ((_state != EState.Settling) ? 2095781304 : 2095781302); + break; + case 13: + EnterState(EState.Settling); + num2 = 2095781294; + break; + case 25: + EnterState(EState.Closing); + num2 = 2095781287; + break; + case 15: + goto IL_0245; + case 20: + goto IL_026b; + case 7: + goto IL_0291; + case 16: + EnterState(EState.WaitingForAddon); + num2 = 2095781294; + break; + case 0: + EnterState(EState.Settling); + num2 = 2095781294; + break; + case 21: + EnterState(EState.WaitingForClose); + num2 = 2095781294; + break; + case 10: + EnterState(EState.Confirming); + num2 = 2095781294; + break; + case 23: + _206F_200D_206B_206E_200D_202E_200E_206D_206F_200D_200F_200F_200E_200C_200C_200E_200C_206A_200C_200C_202B_206F_202D_206D_200B_202D_206E_200F_206E_206D_206F_200C_206C_202A_206F_200D_200F_206D_206D_202B_202E(Logger, global::_003CModule_003E._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(-310683176), new object[2] + { + _state, + _200B_200E_200E_202D_202A_206F_206F_202A_202B_206D_200C_200D_202B_202B_206E_206F_206E_206B_206E_202C_202D_202E_202B_206C_200D_202A_200C_202A_200F_206F_206D_202E_202D_202E_202B_206B_206B_200F_206E_200E_202E(GameGui) + }); + _202D_200E_202D_202E_200E_202B_200E_206E_200F_202C_202B_202E_202B_202E_206C_200C_206F_200E_206D_200E_200E_206A_206D_200C_206B_200C_202B_202A_202E_206A_202B_206D_200E_200F_206E_200C_202E_202C_206C_206D_202E(GameGui); + return Finish(); + case 2: + return Finish(); + case 9: + num2 = ((!HasConditionImproved()) ? 2095781308 : 2095781295); + break; + case 14: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(23, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1145949598)); + defaultInterpolatedStringHandler.AppendFormatted(_state); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + IL_018c: + num2 = ((!_200B_202E_200B_206C_202C_202C_206E_206D_202B_200F_200C_200B_202E_206C_202D_202E_206B_200D_200F_200B_206D_202C_200C_206E_206F_202B_200E_206C_206E_200D_200F_200B_206A_200B_202A_200C_202B_200C_200F_200E_202E(GameGui)) ? 2095781294 : 2095781285); + break; + IL_0166: + num2 = (_206B_202C_206A_202C_206F_206D_202E_202B_206B_206D_202C_206D_202B_206B_206E_200B_202C_202D_206C_200C_202E_202C_200D_202A_200C_200F_200F_200C_202E_200D_200E_206C_206C_200C_200C_200E_200F_206A_200D_202B_202E(GameGui) ? 2095781294 : 2095781293); + break; + IL_0291: + num2 = ((!_202A_202E_202D_200D_200C_202E_206C_200C_206C_206F_202B_200D_206E_206A_206D_202C_206D_206F_200C_202B_202A_206B_206E_202C_200C_202D_200C_202D_206D_200C_200B_200D_200D_202C_202C_206A_206E_200F_202D_206E_202E()) ? 2095781294 : 2095781311); + break; + IL_026b: + num2 = ((!_206B_202C_206A_202C_206F_206D_202E_202B_206B_206D_202C_206D_202B_206B_206E_200B_202C_202D_206C_200C_202E_202C_200D_202A_200C_200F_200F_200C_202E_200D_200E_206C_206C_200C_200C_200E_200F_206A_200D_202B_202E(GameGui)) ? 2095781294 : 2095781310); + break; + IL_0140: + num2 = ((!_202E_202D_206A_202E_206D_206F_206E_200B_202A_202E_200C_200F_200D_202C_206E_206C_200F_200C_202A_206C_202C_200C_206D_200E_200E_202B_200F_202D_200B_202B_200C_202E_206E_206C_202C_206C_206D_200E_202B_206E_202E(GameGui)) ? 2095781286 : 2095781282); + break; + IL_0245: + num2 = ((!_202D_200E_202D_202E_200E_202B_200E_206E_200F_202C_202B_202E_202B_202E_206C_200C_206F_200E_206D_200E_200E_206A_206D_200C_206B_200C_202B_202A_202E_206A_202B_206D_200E_200F_206E_200C_202E_202C_206C_206D_202E(GameGui)) ? 2095781294 : 2095781306); + break; + IL_01f4: + num2 = 2095781283; + break; + } + } + } + + protected void EnterState(EState state) + { + _state = state; + _stateDeadline = _206B_202D_202A_206E_206C_206F_206F_202B_206E_202E_200E_202B_200F_200F_200F_202C_206A_206D_206D_202E_206A_202B_200E_206C_206E_200D_206B_200F_200B_206C_206B_206D_200D_206E_206A_206A_202A_206A_206E_206D_202E() + ((state == EState.Settling) ? 1000 : 5000); + } + + private bool HasConditionImproved() + { + int? num = _conditionBefore; + int num2 = ((!num.HasValue) ? (-1406824238) : (-1406824240)); + int valueOrDefault = default(int); + while (true) + { + int num3 = num2; + int num4 = -1406824237; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = -1406824240; + break; + case 2: + { + int valueOrDefault2 = num.GetValueOrDefault(); + return valueOrDefault2 > valueOrDefault; + } + case 1: + return false; + case 3: + valueOrDefault = num.GetValueOrDefault(); + num = _206F_202D_200D_200E_202D_206E_202B_200D_206B_200B_206A_202B_202C_200D_202C_200B_206A_202E_206D_200F_200C_206F_200B_200E_200E_202E_200F_202D_200F_206E_206A_202E_206A_200D_206B_206F_206E_206A_200B_202E_202E(); + num2 = ((!num.HasValue) ? (-1406824238) : (-1406824239)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private ETaskResult Finish() + { + int? num = _206F_202D_200D_200E_202D_206E_202B_200D_206B_200B_206A_202B_202C_200D_202C_200B_206A_202E_206D_200F_200C_206F_200B_200E_200E_202E_200F_202D_200F_206E_206A_202E_206A_200D_206B_206F_206E_206A_200B_202E_202E(); + int num2 = ((!HasConditionImproved()) ? 1917505746 : 1917505745); + while (true) + { + int num3 = num2; + int num4 = 1917505746; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + { + int attempt = _attempt; + num4 = 1; + num5 = attempt; + _attempt = (num5 | num4) + (num5 & num4); + _206F_200D_206B_206E_200D_202E_200E_206D_206F_200D_200F_200F_200E_200C_200C_200E_200C_206A_200C_200C_202B_206F_202D_206D_200B_202D_206E_200F_206E_206D_206F_200C_206C_202A_206F_200D_200F_206D_206D_202B_202E(Logger, global::_003CModule_003E._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(146386847), new object[3] { num, _attempt, 3 }); + _202D_200E_202D_202E_200E_202B_200E_206E_200F_202C_202B_202E_202B_202E_206C_200C_206F_200E_206D_200E_200E_206A_206D_200C_206B_200C_202B_202A_202E_206A_202B_206D_200E_200F_206E_200C_202E_202C_206C_206D_202E(GameGui); + EnterState(InitialState); + return ETaskResult.StillRunning; + } + case 3: + _200E_206D_202E_200B_202B_202E_200E_202E_206F_202D_202B_206D_202B_206F_202D_206E_202B_202B_202C_200E_202B_200D_202A_202C_202B_200B_202D_202C_206F_202D_206E_202B_200E_206D_206E_202D_200E_206E_200F_206F_202E(Logger, global::_003CModule_003E._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(-1763627757), new object[2] { _conditionBefore, num }); + return ETaskResult.TaskComplete; + case 0: + num2 = ((_attempt >= 3) ? 1917505750 : 1917505747); + break; + case 2: + num2 = 1917505745; + break; + case 4: + _206F_200D_206B_206E_200D_202E_200E_206D_206F_200D_200F_200F_200E_200C_200C_200E_200C_206A_200C_200C_202B_206F_202D_206D_200B_202D_206E_200F_206E_206D_206F_200C_206C_202A_206F_200D_200F_206D_206D_202B_202E(Logger, global::_003CModule_003E._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(1921865562), new object[1] { num }); + return ETaskResult.TaskComplete; + } + } + } + + public void StopNow() + { + _202D_200E_202D_202E_200E_202B_200E_206E_200F_202C_202B_202E_202B_202E_206C_200C_206F_200E_206D_200E_200E_206A_206D_200C_206B_200C_202B_202A_202E_206A_202B_206D_200E_200F_206E_200C_202E_202C_206C_206D_202E(GameGui); + } + + void IStoppableTaskExecutor.StopNow() + { + //ILSpy generated this explicit interface implementation from .override directive in StopNow + this.StopNow(); + } + + static int? _206F_202D_200D_200E_202D_206E_202B_200D_206B_200B_206A_202B_202C_200D_202C_200B_206A_202E_206D_200F_200C_206F_200B_200E_200E_202E_200F_202D_200F_206E_206A_202E_206A_200D_206B_206F_206E_206A_200B_202E_202E() + { + return GearConditionHelper.GetLowestConditionPercent(); + } + + static long _206B_202D_202A_206E_206C_206F_206F_202B_206E_202E_200E_202B_200F_200F_200F_202C_206A_206D_206D_202E_206A_202B_200E_206C_206E_200D_206B_200F_200B_206C_206B_206D_200D_206E_206A_206A_202A_206A_206E_206D_202E() + { + return Environment.TickCount64; + } + + static string _200B_200E_200E_202D_202A_206F_206F_202A_202B_206D_200C_200D_202B_202B_206E_206F_206E_206B_206E_202C_202D_202E_202B_206C_200D_202A_200C_202A_200F_206F_206D_202E_202D_202E_202B_206B_206B_200F_206E_200E_202E(IGameGui P_0) + { + return RepairActions.DescribeRepairAddon(P_0); + } + + static void _206F_200D_206B_206E_200D_202E_200E_206D_206F_200D_200F_200F_200E_200C_200C_200E_200C_206A_200C_200C_202B_206F_202D_206D_200B_202D_206E_200F_206E_206D_206F_200C_206C_202A_206F_200D_200F_206D_206D_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static bool _202D_200E_202D_202E_200E_202B_200E_206E_200F_202C_202B_202E_202B_202E_206C_200C_206F_200E_206D_200E_200E_206A_206D_200C_206B_200C_202B_202A_202E_206A_202B_206D_200E_200F_206E_200C_202E_202C_206C_206D_202E(IGameGui P_0) + { + return RepairActions.TryCloseRepairWindow(P_0); + } + + static bool _202A_202E_202D_200D_200C_202E_206C_200C_206C_206F_202B_200D_206E_206A_206D_202C_206D_206F_200C_202B_202A_206B_206E_202C_200C_202D_200C_202D_206D_200C_200B_200D_200D_202C_202C_206A_206E_200F_202D_206E_202E() + { + return RepairActions.TryOpenRepairWindow(); + } + + static bool _206B_202C_206A_202C_206F_206D_202E_202B_206B_206D_202C_206D_202B_206B_206E_200B_202C_202D_206C_200C_202E_202C_200D_202A_200C_200F_200F_200C_202E_200D_200E_206C_206C_200C_200C_200E_200F_206A_200D_202B_202E(IGameGui P_0) + { + return RepairActions.IsRepairAddonReady(P_0); + } + + static bool _200B_202E_200B_206C_202C_202C_206E_206D_202B_200F_200C_200B_202E_206C_202D_202E_206B_200D_200F_200B_206D_202C_200C_206E_206F_202B_200E_206C_206E_200D_200F_200B_206A_200B_202A_200C_202B_200C_200F_200E_202E(IGameGui P_0) + { + return RepairActions.TryRepairAll(P_0); + } + + static bool _202E_202D_206A_202E_206D_206F_206E_200B_202A_202E_200C_200F_200D_202C_206E_206C_200F_200C_202A_206C_202C_200C_206D_200E_200E_202B_200F_202D_200B_202B_200C_202E_206E_206C_202C_206C_206D_200E_202B_206E_202E(IGameGui P_0) + { + return RepairActions.TryConfirmDialog(P_0); + } + + static void _200E_206D_202E_200B_202B_202E_200E_202E_206F_202D_202B_206D_202B_206F_202D_206E_202B_202B_202C_200E_202B_200D_202A_202C_202B_200B_202D_202C_206F_202D_206E_202B_200E_206D_206E_202D_200E_206E_200F_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + } + + 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); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool UpdateCustomState(EState state) + { + int num = ((state == EState.Interacting) ? 293305294 : 293305289); + int? num7 = default(int?); + while (true) + { + int num2 = num; + int num3 = 293305291; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 12: + EnterState(EState.FiringRepair); + return true; + case 11: + return true; + case 2: + num = ((state == EState.SelectingMenu) ? 293305290 : 293305282); + break; + case 5: + num = ((!_003CgameFunctions_003EP.InteractWith(base.Task.Npc.DataId)) ? 293305280 : 293305283); + break; + case 9: + num = 293305281; + break; + case 4: + _202E_200D_202B_202E_202A_200F_206B_206A_200E_206D_206D_206A_206A_202D_202D_200D_200C_200F_202A_206F_202D_202A_200F_206D_202B_200D_206B_206D_206F_200D_202C_200D_206A_202D_202C_202A_206D_200C_200F_200C_202E(base.Logger, global::_003CModule_003E._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(2096442858), new object[1] { base.Task.Npc.DataId }); + EnterState(EState.Closing); + return true; + case 0: + num = ((!_206D_200B_200C_206A_200B_202E_200B_200F_206D_200C_200D_206D_206E_206D_202C_202B_206A_202D_202C_206B_202D_202D_206A_202B_206E_206F_200D_202D_200C_202B_202D_200E_206B_200B_200B_202B_200B_206C_202E(base.GameGui, num7.Value)) ? 293305292 : 293305288); + break; + case 6: + num7 = _202E_200D_202B_206B_200E_200D_206B_200C_200B_202C_200F_200F_206A_200E_202C_206C_200C_202C_202D_202A_202A_206C_206F_206C_200F_200E_200B_200F_206C_202D_206B_202E_206E_202B_202A_200B_202E_200B_206C_206A_202E(_003CdataManager_003EP, base.Task.Npc.DataId); + num = (num7.HasValue ? 293305291 : 293305295); + break; + case 3: + EnterState(EState.WaitingForAddon); + num = 293305292; + break; + case 10: + return false; + case 13: + num = 293305289; + break; + case 1: + num = ((!_206D_202D_200D_200B_202D_202C_206E_206E_202C_206E_206F_206A_200D_206C_200C_202C_202C_206C_206D_200B_200F_206D_200E_202C_202A_206B_206F_200E_206C_200F_206C_202A_200C_206B_206C_200B_200B_200E_202E_202E(base.GameGui)) ? 293305293 : 293305287); + break; + case 8: + EnterState(EState.SelectingMenu); + num = 293305280; + break; + case 7: + return true; + } + } + } + + public override bool ShouldInterruptOnDamage() + { + return true; + } + + static bool _206D_202D_200D_200B_202D_202C_206E_206E_202C_206E_206F_206A_200D_206C_200C_202C_202C_206C_206D_200B_200F_206D_200E_202C_202A_206B_206F_200E_206C_200F_206C_202A_200C_206B_206C_200B_200B_200E_202E_202E(IGameGui P_0) + { + return RepairActions.IsRepairAddonReady(P_0); + } + + static int? _202E_200D_202B_206B_200E_200D_206B_200C_200B_202C_200F_200F_206A_200E_202C_206C_200C_202C_202D_202A_202A_206C_206F_206C_200F_200E_200B_200F_206C_202D_206B_202E_206E_202B_202A_200B_202E_200B_206C_206A_202E(IDataManager P_0, uint P_1) + { + return RepairActions.FindRepairIndex(P_0, P_1); + } + + static void _202E_200D_202B_202E_202A_200F_206B_206A_200E_206D_206D_206A_206A_202D_202D_200D_200C_200F_202A_206F_202D_202A_200F_206D_202B_200D_206B_206D_206F_200D_202C_200D_206A_202D_202C_202A_206D_200C_200F_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static bool _206D_200B_200C_206A_200B_202E_200B_200F_206D_200C_200D_206D_206E_206D_202C_202B_206A_202D_202C_206B_202D_202D_206A_202B_206E_206F_200D_202D_200C_202B_202D_200E_206B_200B_200B_202B_200B_206C_202E(IGameGui P_0, int P_1) + { + return RepairActions.TrySelectRepairFromMenu(P_0, P_1); + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Common/SendNotification.cs b/Questionable/Questionable.Controller.Steps.Common/SendNotification.cs index 363fc0f9..ab069887 100644 --- a/Questionable/Questionable.Controller.Steps.Common/SendNotification.cs +++ b/Questionable/Questionable.Controller.Steps.Common/SendNotification.cs @@ -1,3 +1,7 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Game.Text; using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin.Services; @@ -5,144 +9,410 @@ 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() { + [MethodImpl(MethodImplOptions.NoInlining)] public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { - switch (step.InteractionType) + EInteractionType eInteractionType = _202E_200B_202D_202D_200C_200E_202D_202E_202B_200C_206A_200D_200C_202D_206E_206A_200F_206B_206B_202C_206C_202B_200B_200B_206F_200E_202B_200B_206A_202A_206E_200E_206E_202A_202A_206B_200C_202C_206A_200F_202E(step); + int num = ((eInteractionType > EInteractionType.SinglePlayerDuty) ? (-1478149782) : (-1478149769)); + Task result = default(Task); + while (true) { - case EInteractionType.Snipe: - if (!configuration.General.AutoSnipe) + int num2 = num; + int num3 = -1478149766; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - return new Task(step.InteractionType, step.Comment); - } - break; - case EInteractionType.Duty: - if (!autoDutyIpc.IsConfiguredToRunContent(step.DutyOptions)) + case 4: + num = -1478149773; + break; + case 1: + num = (autoHookIpc.IsAvailable() ? (-1478149773) : (-1478149767)); + break; + case 11: + num = (bossModIpc.IsConfiguredToRunSoloInstance(quest.Id, _202B_206C_206E_202D_202E_206F_206B_200E_200B_202D_200C_206C_206E_200F_206D_202E_206D_200C_200D_200D_202C_206B_206D_200D_200B_200C_206A_200B_200C_206E_202C_206E_202B_202A_202B_200E_206F_200D_206A_206A_202E(step)) ? (-1478149773) : (-1478149776)); + break; + case 15: + return result; + case 13: + num = ((eInteractionType == EInteractionType.Duty) ? (-1478149761) : (-1478149763)); + break; + case 0: { - EInteractionType interactionType = step.InteractionType; - uint? num = step.DutyOptions?.ContentFinderConditionId; + EInteractionType interactionType = _202E_200B_202D_202D_200C_200E_202D_202E_202B_200C_206A_200D_200C_202D_206E_206A_200F_206B_206B_202C_206C_202B_200B_200B_206F_200E_202B_200B_206A_202A_206E_200E_206E_202A_202A_206B_200C_202C_206A_200F_202E(step); + DutyOptions dutyOptions = _200F_200C_206E_206F_206B_202E_206B_200E_202D_202D_202C_202D_200D_202E_202E_200E_206A_200E_202A_200C_200B_206F_206C_206F_200C_200B_200F_206A_202D_202D_206F_202D_206A_202E_202D_200D_200F_202A_202D_202E(step); + uint? num5 = ((dutyOptions != null) ? new uint?(_202C_200E_202A_200D_200D_202D_200D_200B_200E_206F_206F_206C_200D_202C_200C_202D_206F_200E_202B_200B_200C_200D_206D_206B_206D_200D_206B_200D_202E_202B_206E_200B_202D_206C_200B_200E_206C_202D_202E_206D_202E(dutyOptions)) : ((uint?)null)); object comment; - if (num.HasValue) + if (num5.HasValue) { - uint valueOrDefault = num.GetValueOrDefault(); + uint valueOrDefault = num5.GetValueOrDefault(); comment = territoryData.GetContentFinderCondition(valueOrDefault)?.Name; } else { - comment = step.Comment; + comment = _206F_206E_206A_202C_202E_200E_206F_202C_206F_206E_206F_206F_206C_202A_200C_202B_202A_206A_200D_202C_202C_206F_202A_202B_206B_200F_200C_206C_200C_206C_200E_202C_202C_202B_202C_206E_202B_206C_206C_206E_202E(step); } - return new Task(interactionType, (string?)comment); + result = new Task(interactionType, (string?)comment); + num = -1478149771; + break; } - break; - case EInteractionType.SinglePlayerDuty: - if (!bossModIpc.IsConfiguredToRunSoloInstance(quest.Id, step.SinglePlayerDutyOptions)) - { - return new Task(step.InteractionType, quest.Info.Name); + case 3: + result = new Task(_202E_200B_202D_202D_200C_200E_202D_202E_202B_200C_206A_200D_200C_202D_206E_206A_200F_206B_206B_202C_206C_202B_200B_200B_206F_200E_202B_200B_206A_202A_206E_200E_206E_202A_202A_206B_200C_202C_206A_200F_202E(step), _206F_206E_206A_202C_202E_200E_206F_202C_206F_206E_206F_206F_206C_202A_200C_202B_202A_206A_200D_202C_202C_206F_202A_202B_206B_200F_200C_206C_200C_206C_200E_202C_202C_202B_202C_206E_202B_206C_206C_206E_202E(step) ?? global::_003CModule_003E._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(-1221849415)); + num = -1478149771; + break; + case 6: + num = -1478149773; + break; + case 2: + num = (configuration.General.AutoSnipe ? (-1478149773) : (-1478149772)); + break; + case 12: + num = ((eInteractionType == EInteractionType.Fish) ? (-1478149765) : (-1478149764)); + break; + case 14: + result = new Task(_202E_200B_202D_202D_200C_200E_202D_202E_202B_200C_206A_200D_200C_202D_206E_206A_200F_206B_206B_202C_206C_202B_200B_200B_206F_200E_202B_200B_206A_202A_206E_200E_206E_202A_202A_206B_200C_202C_206A_200F_202E(step), _206F_206E_206A_202C_202E_200E_206F_202C_206F_206E_206F_206F_206C_202A_200C_202B_202A_206A_200D_202C_202C_206F_202A_202B_206B_200F_200C_206C_200C_206C_200E_202C_202C_202B_202C_206E_202B_206C_206C_206E_202E(step)); + num = -1478149771; + break; + case 5: + num = (autoDutyIpc.IsConfiguredToRunContent(_200F_200C_206E_206F_206B_202E_206B_200E_202D_202D_202C_202D_200D_202E_202E_200E_206A_200E_202A_200C_200B_206F_206C_206F_200C_200B_200F_206A_202D_202D_206F_202D_206A_202E_202D_200D_200F_202A_202D_202E(step)) ? (-1478149773) : (-1478149766)); + break; + case 9: + result = null; + num = -1478149771; + break; + case 10: + result = new Task(_202E_200B_202D_202D_200C_200E_202D_202E_202B_200C_206A_200D_200C_202D_206E_206A_200F_206B_206B_202C_206C_202B_200B_200B_206F_200E_202B_200B_206A_202A_206E_200E_206E_202A_202A_206B_200C_202C_206A_200F_202E(step), quest.Info.Name); + num = -1478149771; + break; + case 16: + num = ((eInteractionType == EInteractionType.Snipe) ? (-1478149768) : (-1478149770)); + break; + case 7: + num = ((eInteractionType == EInteractionType.SinglePlayerDuty) ? (-1478149775) : (-1478149762)); + break; + case 8: + num = -1478149769; + break; } - break; } - return null; + } + + static EInteractionType _202E_200B_202D_202D_200C_200E_202D_202E_202B_200C_206A_200D_200C_202D_206E_206A_200F_206B_206B_202C_206C_202B_200B_200B_206F_200E_202B_200B_206A_202A_206E_200E_206E_202A_202A_206B_200C_202C_206A_200F_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static string _206F_206E_206A_202C_202E_200E_206F_202C_206F_206E_206F_206F_206C_202A_200C_202B_202A_206A_200D_202C_202C_206F_202A_202B_206B_200F_200C_206C_200C_206C_200E_202C_202C_202B_202C_206E_202B_206C_206C_206E_202E(QuestStep P_0) + { + return P_0.Comment; + } + + static DutyOptions _200F_200C_206E_206F_206B_202E_206B_200E_202D_202D_202C_202D_200D_202E_202E_200E_206A_200E_202A_200C_200B_206F_206C_206F_200C_200B_200F_206A_202D_202D_206F_202D_206A_202E_202D_200D_200F_202A_202D_202E(QuestStep P_0) + { + return P_0.DutyOptions; + } + + static uint _202C_200E_202A_200D_200D_202D_200D_200B_200E_206F_206F_206C_200D_202C_200C_202D_206F_200E_202B_200B_200C_200D_206D_206B_206D_200D_206B_200D_202E_202B_206E_200B_202D_206C_200B_200E_206C_202D_202E_206D_202E(DutyOptions P_0) + { + return P_0.ContentFinderConditionId; + } + + static SinglePlayerDutyOptions _202B_206C_206E_202D_202E_206F_206B_200E_200B_202D_200C_206C_206E_200F_206D_202E_206D_200C_200D_200D_202C_206B_206D_200D_200B_200C_206A_200B_200C_206E_202C_206E_202B_202A_202B_200E_206F_200D_206A_206A_202E(QuestStep P_0) + { + return P_0.SinglePlayerDutyOptions; } } internal sealed record Task(EInteractionType InteractionType, string? Comment) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_206F_206A_202C_200B_202C_206E_202E_206C_206A_200D_202E_206C_200D_200F_202B_206C_200F_202D_206A_206E_202E_202E_202C_200C_206B_202A_202C_200F_206E_200B_206A_206E_206A_206E_200B_206C_206B_202A_200E_202E(typeof(Task).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "SendNotification"; + return global::_003CModule_003E._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(1681305913); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206E_206C_202B_200D_206C_200F_206B_200F_202E_200E_200B_206E_206B_200C_206B_206A_202B_206D_202A_200C_200F_206B_200D_200F_202D_200D_200D_206A_200F_206E_200F_202A_202A_200F_200C_202B_206B_206E_202A_202A_202E(); + _200B_206B_202A_206F_200F_200E_206D_200D_202C_206F_206C_202E_202D_206B_202B_200F_202C_202A_200F_200F_200E_206B_200D_200C_202A_200B_200F_200F_202C_206B_202E_200F_206B_202E_206A_206C_202D_200E_206F_206D_202E(builder, global::_003CModule_003E._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(702947867)); + _200B_206B_202A_206F_200F_200E_206D_200D_202C_206F_206C_202E_202D_206B_202B_200F_202C_202A_200F_200F_200E_206B_200D_200C_202A_200B_200F_200F_202C_206B_202E_200F_206B_202E_206A_206C_202D_200E_206F_206D_202E(builder, InteractionType.ToString()); + _200B_206B_202A_206F_200F_200E_206D_200D_202C_206F_206C_202E_202D_206B_202B_200F_202C_202A_200F_200F_200E_206B_200D_200C_202A_200B_200F_200F_202C_206B_202E_200F_206B_202E_206A_206C_202D_200E_206F_206D_202E(builder, global::_003CModule_003E._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(430956117)); + _202E_202C_200C_206C_202E_206C_206F_206E_202B_200B_200D_206C_200D_202B_206B_202C_200C_206E_206D_206E_206E_200B_206A_202E_200D_206B_200D_202B_202A_202E_200D_206C_206C_206F_206A_200B_200D_200E_202C_202B_202E(builder, (object?)Comment); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? (-845795892) : (-845795894)); + while (true) + { + int num2 = num; + int num3 = -845795889; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((!_206C_200B_202D_200D_200D_206B_206C_200D_200F_200C_200F_202B_200F_200C_206A_202E_200F_206E_206C_202C_202B_202D_206F_200C_206A_206A_202D_206D_206B_200E_206E_202D_200F_200C_200D_206A_202A_206D_202C_206F_202E(EqualityContract, other.EqualityContract)) ? (-845795895) : (-845795891)); + break; + case 5: + num = (((object)other == null) ? (-845795895) : (-845795893)); + break; + case 6: + return false; + case 0: + num = -845795894; + break; + case 2: + num = ((!EqualityComparer.Default.Equals(InteractionType, other.InteractionType)) ? (-845795895) : (-845795890)); + break; + case 1: + return EqualityComparer.Default.Equals(Comment, other.Comment); + case 3: + return true; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _202B_206F_206A_202C_200B_202C_206E_202E_206C_206A_200D_202E_206C_200D_200F_202B_206C_200F_202D_206A_206E_202E_202E_202C_200C_206B_202A_202C_200F_206E_200B_206A_206E_206A_206E_200B_206C_206B_202A_200E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206E_206C_202B_200D_206C_200F_206B_200F_202E_200E_200B_206E_206B_200C_206B_206A_202B_206D_202A_200C_200F_206B_200D_200F_202D_200D_200D_206A_200F_206E_200F_202A_202A_200F_200C_202B_206B_206E_202A_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _200B_206B_202A_206F_200F_200E_206D_200D_202C_206F_206C_202E_202D_206B_202B_200F_202C_202A_200F_200F_200E_206B_200D_200C_202A_200B_200F_200F_202C_206B_202E_200F_206B_202E_206A_206C_202D_200E_206F_206D_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _202E_202C_200C_206C_202E_206C_206F_206E_202B_200B_200D_206C_200D_202B_206B_202C_200C_206E_206D_206E_206E_200B_206A_202E_200D_206B_200D_202B_202A_202E_200D_206C_206C_206F_206A_200B_200D_200E_202C_202B_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _206C_200B_202D_200D_200D_206B_206C_200D_200F_200C_200F_202B_200F_200C_206A_202E_200F_206E_206C_202C_202B_202D_206F_200C_206A_206A_202D_206D_206B_200E_206E_202D_200F_200C_200D_206A_202A_206D_202C_206F_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; } } - internal sealed class Executor(IChatGui chatGui, Configuration configuration) : TaskExecutor() + internal sealed class Executor(NotificationService notificationService, IChatGui chatGui, Configuration configuration) : TaskExecutor() { + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - if (!configuration.Notifications.Enabled) + int num = (configuration.Notifications.Enabled ? 1129159902 : 1129159890); + string text = default(string); + string text2 = default(string); + EInteractionType interactionType = default(EInteractionType); + XivChatType chatType = default(XivChatType); + XivChatEntry xivChatEntry2 = default(XivChatEntry); + while (true) { - return false; - } - string text; - switch (base.Task.InteractionType) - { - case EInteractionType.Duty: - text = "Duty"; - break; - case EInteractionType.SinglePlayerDuty: - text = "Single player duty"; - break; - case EInteractionType.WaitForManualProgress: - case EInteractionType.Snipe: - case EInteractionType.Instruction: - text = "Manual interaction required"; - break; - default: - text = $"{base.Task.InteractionType}"; - break; - } - string text2 = text; - if (!string.IsNullOrEmpty(base.Task.Comment)) - { - text2 = text2 + " - " + base.Task.Comment; - } - if (configuration.Notifications.ChatType != XivChatType.None) - { - XivChatEntry xivChatEntry; - switch (configuration.Notifications.ChatType) + int num2 = num; + int num3 = 1129159886; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - case XivChatType.Say: - case XivChatType.Shout: - case XivChatType.TellOutgoing: - case XivChatType.TellIncoming: - case XivChatType.Party: - case XivChatType.Alliance: - case XivChatType.Ls1: - case XivChatType.Ls2: - case XivChatType.Ls3: - case XivChatType.Ls4: - case XivChatType.Ls5: - case XivChatType.Ls6: - case XivChatType.Ls7: - case XivChatType.Ls8: - case XivChatType.FreeCompany: - case XivChatType.NoviceNetwork: - case XivChatType.Yell: - case XivChatType.CrossParty: - case XivChatType.PvPTeam: - case XivChatType.CrossLinkShell1: - case XivChatType.NPCDialogue: - case XivChatType.NPCDialogueAnnouncements: - case XivChatType.CrossLinkShell2: - case XivChatType.CrossLinkShell3: - case XivChatType.CrossLinkShell4: - case XivChatType.CrossLinkShell5: - case XivChatType.CrossLinkShell6: - case XivChatType.CrossLinkShell7: - case XivChatType.CrossLinkShell8: - xivChatEntry = new XivChatEntry - { - Message = text2, - Type = configuration.Notifications.ChatType, - Name = new SeStringBuilder().AddUiForeground("Questionable", 576).Build() - }; + case 18: + text = $"{base.Task.InteractionType}"; + num = 1129159877; break; - default: - xivChatEntry = new XivChatEntry + case 8: + text = global::_003CModule_003E._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(-279581808); + num = 1129159877; + break; + case 10: + num = 1129159915; + break; + case 6: + num = 1129159900; + break; + case 21: + notificationService.Notify(base.Task.InteractionType, text2); + return true; + case 33: + num = ((interactionType == EInteractionType.Snipe) ? 1129159891 : 1129159880); + break; + case 3: + switch (interactionType) { - Message = new SeStringBuilder().AddUiForeground("[Questionable] ", 576).Append(text2).Build(), - Type = configuration.Notifications.ChatType - }; + case EInteractionType.Duty: + break; + default: + goto IL_019b; + case EInteractionType.WaitForManualProgress: + goto IL_037c; + case EInteractionType.SinglePlayerDuty: + goto IL_0559; + } + goto case 8; + case 30: + text = global::_003CModule_003E._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(-1806447196); + num = 1129159877; + break; + case 23: + num = 1129159900; + break; + case 22: + num = 1129159890; + break; + case 28: + return false; + case 11: + text2 = text; + num = (_206E_202D_200F_202A_200F_202D_202D_200C_206F_206D_206B_206A_200D_206F_202C_206D_200C_206A_202E_200D_202C_202C_206F_200E_206D_202A_202B_200F_206A_206E_206D_206E_206F_200F_206B_200E_202C_206B_206E_202E(base.Task.Comment) ? 1129159912 : 1129159898); + break; + case 1: + num = ((chatType - 10 > (XivChatType)5) ? 1129159915 : 1129159883); + break; + case 16: + interactionType = base.Task.InteractionType; + num = ((interactionType > EInteractionType.Snipe) ? 1129159892 : 1129159885); + break; + case 19: + num = 1129159915; + break; + case 17: + { + XivChatEntry xivChatEntry = xivChatEntry2; + _206A_200D_202B_200E_202B_200E_206E_206F_206B_206D_200E_206F_202A_206F_206D_202D_206F_206A_206F_206A_206A_200C_206B_206C_206F_200C_206C_200F_202D_206C_206D_206F_200C_200B_202A_200E_200D_202D_202B_202E_202E(chatGui, xivChatEntry); + num = 1129159899; + break; + } + case 0: + num = (((int)chatType <= 107) ? 1129159883 : 1129159894); + break; + case 7: + num = ((chatType == XivChatType.NPCDialogueAnnouncements) ? 1129159883 : 1129159901); + break; + case 38: + num = ((configuration.Notifications.ChatType == XivChatType.None) ? 1129159899 : 1129159882); + break; + case 13: + num = ((interactionType == EInteractionType.CriticalEncounter) ? 1129159888 : 1129159897); + break; + case 31: + num = ((chatType == XivChatType.NPCDialogue) ? 1129159883 : 1129159881); + break; + case 24: + num = 1129159915; + break; + case 32: + num = ((interactionType == EInteractionType.Fish) ? 1129159891 : 1129159875); + break; + case 9: + num = (((int)chatType < 16) ? 1129159887 : 1129159914); + break; + case 29: + goto IL_037c; + case 37: + { + XivChatEntry xivChatEntry4 = _202A_202B_202E_200F_206A_200E_206B_200E_206E_200F_202B_200F_206B_202B_206F_200F_206D_206E_206E_202E_206F_206F_200D_200D_200B_202C_200D_200D_206F_206A_206E_206B_206D_202C_206F_200D_206C_200D_206E_200E_202E(); + _200D_200E_200E_206B_202C_206E_206C_202A_200F_200B_200C_206A_202B_200F_200E_206E_206D_206C_200F_206B_200E_206A_206F_206D_206E_206A_206D_200C_206E_202C_200B_206C_200D_200F_200E_200C_202D_206C_206A_202A_202E(xivChatEntry4, _202E_202E_200C_200D_206C_200C_202B_206B_202B_202A_200C_202E_206C_206A_202A_206F_206B_200F_200D_206E_202B_206A_200D_200B_202B_202B_200D_200B_206E_206C_206A_200F_206A_202B_200C_202A_202A_206D_200F_202E_202E(_200F_202C_202D_200C_206D_200C_206A_200C_202B_206A_200D_200E_200C_206F_206D_202A_206C_200B_206E_200C_200B_206D_202A_202E_202E_202A_202E_200B_200E_200E_202D_206D_202A_202C_200D_206F_200B_200F_206A_202A_202E(_200C_202C_202B_202C_202B_206B_206A_202E_206B_200C_202D_202A_200B_202A_206E_206F_206D_200E_202C_206A_200C_202D_206C_206D_206E_200F_206C_206C_202E_202D_206A_202A_200B_206C_206C_206C_200F_200B_206A_202D_202E(_200C_202B_206A_206A_206C_206B_202B_200F_200F_206B_206D_200F_202D_200D_202C_202B_206C_202B_206C_202A_202E_202A_206E_200C_202B_200F_206B_206A_202C_202A_206A_206F_200F_200E_200F_202C_206F_206C_200E_206D_202E(), global::_003CModule_003E._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(-365234196), (ushort)576), text2))); + _200E_200E_200D_202E_200B_206E_200D_206F_200B_206D_206A_200F_202C_200E_206F_202A_200C_202E_206B_206A_200C_206F_200C_202B_200F_206F_202E_202D_206F_206D_202C_200F_206B_200E_200E_202C_206B_202B_206C_200C_202E(xivChatEntry4, (XivChatType?)configuration.Notifications.ChatType); + xivChatEntry2 = xivChatEntry4; + num = 1129159903; + break; + } + case 20: + text2 = _202C_200E_206A_200E_206D_200E_200F_206D_206F_200C_202B_206E_200D_200C_202A_206E_202C_200C_206C_200F_206B_206A_206A_200F_202B_202D_206B_200F_202E_202E_206E_206A_202C_206B_200D_202C_202B_200D_206B_206A_202E(text2, global::_003CModule_003E._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(-1186344051), base.Task.Comment); + num = 1129159912; + break; + case 14: + num = ((chatType - 36 <= XivChatType.Debug) ? 1129159883 : 1129159874); + break; + case 5: + { + XivChatEntry xivChatEntry3 = _202A_202B_202E_200F_206A_200E_206B_200E_206E_200F_202B_200F_206B_202B_206F_200F_206D_206E_206E_202E_206F_206F_200D_200D_200B_202C_200D_200D_206F_206A_206E_206B_206D_202C_206F_200D_206C_200D_206E_200E_202E(); + _200D_200E_200E_206B_202C_206E_206C_202A_200F_200B_200C_206A_202B_200F_200E_206E_206D_206C_200F_206B_200E_206A_206F_206D_206E_206A_206D_200C_206E_202C_200B_206C_200D_200F_200E_200C_202D_206C_206A_202A_202E(xivChatEntry3, _200C_206A_206D_202A_202C_202B_202B_202D_202D_200F_200E_206C_206B_206B_202A_200B_200C_200F_200D_206C_202E_206B_200F_206C_206D_206F_206D_206E_206A_202C_206E_202E_200B_206A_206F_200E_206D_206D_200E_206B_202E(text2)); + _200E_200E_200D_202E_200B_206E_200D_206F_200B_206D_206A_200F_202C_200E_206F_202A_200C_202E_206B_206A_200C_206F_200C_202B_200F_206F_202E_202D_206F_206D_202C_200F_206B_200E_200E_202C_206B_202B_206C_200C_202E(xivChatEntry3, (XivChatType?)configuration.Notifications.ChatType); + _206B_206A_200E_202D_200D_200E_202D_202A_200E_202B_206E_206E_202D_206B_202A_202C_206D_206A_206E_206D_202D_206B_202D_200E_206A_202D_200B_202B_206D_206E_202C_200E_206B_200E_202C_200C_206C_206C_200B_202D_202E(xivChatEntry3, _202E_202E_200C_200D_206C_200C_202B_206B_202B_202A_200C_202E_206C_206A_202A_206F_206B_200F_200D_206E_202B_206A_200D_200B_202B_202B_200D_200B_206E_206C_206A_200F_206A_202B_200C_202A_202A_206D_200F_202E_202E(_200C_202C_202B_202C_202B_206B_206A_202E_206B_200C_202D_202A_200B_202A_206E_206F_206D_200E_202C_206A_200C_202D_206C_206D_206E_200F_206C_206C_202E_202D_206A_202A_200B_206C_206C_206C_200F_200B_206A_202D_202E(_200C_202B_206A_206A_206C_206B_202B_200F_200F_206B_206D_200F_202D_200D_202C_202B_206C_202B_206C_202A_202E_202A_206E_200C_202B_200F_206B_206A_202C_202A_206A_206F_200F_200E_200F_202C_206F_206C_200E_206D_202E(), global::_003CModule_003E._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(-1179749275), (ushort)576))); + xivChatEntry2 = xivChatEntry3; + num = 1129159903; + break; + } + case 39: + num = ((chatType == XivChatType.NoviceNetwork) ? 1129159883 : 1129159884); + break; + case 15: + num = ((chatType == XivChatType.FreeCompany) ? 1129159883 : 1129159913); + break; + case 36: + num = (((int)chatType <= 23) ? 1129159883 : 1129159893); + break; + case 27: + num = ((chatType > XivChatType.Yell) ? 1129159895 : 1129159873); + break; + case 26: + num = ((interactionType == EInteractionType.Instruction) ? 1129159891 : 1129159918); + break; + case 25: + num = ((chatType > XivChatType.CrossLinkShell1) ? 1129159889 : 1129159917); + break; + case 34: + goto IL_0559; + case 35: + num = ((chatType == XivChatType.CrossParty) ? 1129159883 : 1129159872); + break; + case 2: + num = ((chatType == XivChatType.Yell) ? 1129159883 : 1129159876); + break; + case 12: + num = 1129159915; + break; + case 4: + { + chatType = configuration.Notifications.ChatType; + num = (((int)chatType < 101) ? 1129159879 : 1129159886); + break; + } + IL_0559: + text = global::_003CModule_003E._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(-984674976); + num = 1129159877; + break; + IL_037c: + text = global::_003CModule_003E._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(-2076274604); + num = 1129159877; + break; + IL_019b: + num = 1129159919; break; } - XivChatEntry chat = xivChatEntry; - chatGui.Print(chat); } - return true; } public override ETaskResult Update() @@ -154,5 +424,65 @@ internal static class SendNotification { return false; } + + static bool _206E_202D_200F_202A_200F_202D_202D_200C_206F_206D_206B_206A_200D_206F_202C_206D_200C_206A_202E_200D_202C_202C_206F_200E_206D_202A_202B_200F_206A_206E_206D_206E_206F_200F_206B_200E_202C_206B_206E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string _202C_200E_206A_200E_206D_200E_200F_206D_206F_200C_202B_206E_200D_200C_202A_206E_202C_200C_206C_200F_206B_206A_206A_200F_202B_202D_206B_200F_202E_202E_206E_206A_202C_206B_200D_202C_202B_200D_206B_206A_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static XivChatEntry _202A_202B_202E_200F_206A_200E_206B_200E_206E_200F_202B_200F_206B_202B_206F_200F_206D_206E_206E_202E_206F_206F_200D_200D_200B_202C_200D_200D_206F_206A_206E_206B_206D_202C_206F_200D_206C_200D_206E_200E_202E() + { + return new XivChatEntry(); + } + + static SeString _200C_206A_206D_202A_202C_202B_202B_202D_202D_200F_200E_206C_206B_206B_202A_200B_200C_200F_200D_206C_202E_206B_200F_206C_206D_206F_206D_206E_206A_202C_206E_202E_200B_206A_206F_200E_206D_206D_200E_206B_202E(string P_0) + { + return P_0; + } + + static void _200D_200E_200E_206B_202C_206E_206C_202A_200F_200B_200C_206A_202B_200F_200E_206E_206D_206C_200F_206B_200E_206A_206F_206D_206E_206A_206D_200C_206E_202C_200B_206C_200D_200F_200E_200C_202D_206C_206A_202A_202E(XivChatEntry P_0, SeString P_1) + { + P_0.Message = P_1; + } + + static void _200E_200E_200D_202E_200B_206E_200D_206F_200B_206D_206A_200F_202C_200E_206F_202A_200C_202E_206B_206A_200C_206F_200C_202B_200F_206F_202E_202D_206F_206D_202C_200F_206B_200E_200E_202C_206B_202B_206C_200C_202E(XivChatEntry P_0, XivChatType? P_1) + { + P_0.Type = P_1; + } + + static SeStringBuilder _200C_202B_206A_206A_206C_206B_202B_200F_200F_206B_206D_200F_202D_200D_202C_202B_206C_202B_206C_202A_202E_202A_206E_200C_202B_200F_206B_206A_202C_202A_206A_206F_200F_200E_200F_202C_206F_206C_200E_206D_202E() + { + return new SeStringBuilder(); + } + + static SeStringBuilder _200C_202C_202B_202C_202B_206B_206A_202E_206B_200C_202D_202A_200B_202A_206E_206F_206D_200E_202C_206A_200C_202D_206C_206D_206E_200F_206C_206C_202E_202D_206A_202A_200B_206C_206C_206C_200F_200B_206A_202D_202E(SeStringBuilder P_0, string P_1, ushort P_2) + { + return P_0.AddUiForeground(P_1, P_2); + } + + static SeString _202E_202E_200C_200D_206C_200C_202B_206B_202B_202A_200C_202E_206C_206A_202A_206F_206B_200F_200D_206E_202B_206A_200D_200B_202B_202B_200D_200B_206E_206C_206A_200F_206A_202B_200C_202A_202A_206D_200F_202E_202E(SeStringBuilder P_0) + { + return P_0.Build(); + } + + static void _206B_206A_200E_202D_200D_200E_202D_202A_200E_202B_206E_206E_202D_206B_202A_202C_206D_206A_206E_206D_202D_206B_202D_200E_206A_202D_200B_202B_206D_206E_202C_200E_206B_200E_202C_200C_206C_206C_200B_202D_202E(XivChatEntry P_0, SeString P_1) + { + P_0.Name = P_1; + } + + static SeStringBuilder _200F_202C_202D_200C_206D_200C_206A_200C_202B_206A_200D_200E_200C_206F_206D_202A_206C_200B_206E_200C_200B_206D_202A_202E_202E_202A_202E_200B_200E_200E_202D_206D_202A_202C_200D_206F_200B_200F_206A_202A_202E(SeStringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static void _206A_200D_202B_200E_202B_200E_206E_206F_206B_206D_200E_206F_202A_206F_206D_202D_206F_206A_206F_206A_206A_200C_206B_206C_206F_200C_206C_200F_202D_206C_206D_206F_200C_200B_202A_200E_200D_202D_202B_202E_202E(IChatGui P_0, XivChatEntry P_1) + { + P_0.Print(P_1); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Common/WaitCondition.cs b/Questionable/Questionable.Controller.Steps.Common/WaitCondition.cs index 191d39df..0824d2df 100644 --- a/Questionable/Questionable.Controller.Steps.Common/WaitCondition.cs +++ b/Questionable/Questionable.Controller.Steps.Common/WaitCondition.cs @@ -1,4 +1,7 @@ using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; namespace Questionable.Controller.Steps.Common; @@ -6,15 +9,101 @@ internal static class WaitCondition { internal sealed record Task(Func Predicate, string Description) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_200D_206B_202D_200F_206C_206B_206C_200B_206B_202B_202D_200C_200C_202D_202C_202D_200F_202B_202E_202D_206E_202A_200F_200C_202C_206F_206F_206F_206F_206F_202A_202A_206B_200F_200B_206E_206E_206C_202D_202E(typeof(Task).TypeHandle); + } + } + public override string ToString() { return Description; } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_206C_202E_200F_206D_200B_200B_206E_200B_202D_200F_202B_202E_200E_202B_206A_202A_206E_202E_200F_200E_206C_206B_206F_206A_202C_202A_202E_202A_206B_200C_202B_200D_206D_202D_200C_200C_200D_206F_206D_202E(); + _206F_206D_200B_206F_206A_202B_200E_206A_200E_206E_206A_200D_206F_200E_200E_200E_206F_206B_206A_200E_202C_200D_206C_202B_202D_200C_206B_202D_206A_206E_200B_206D_200F_206F_202B_206A_202C_200E_200E_202D_202E(builder, global::_003CModule_003E._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(-466916562)); + _206C_206E_206A_200B_206E_206C_206E_200B_200C_200F_202C_200B_206B_206C_202E_202D_202D_206A_206C_206E_206B_206D_206B_200F_206B_202C_206C_206A_202D_202D_200E_200F_200E_206B_202E_200F_202A_202A_206D_206B_202E(builder, (object)Predicate); + _206F_206D_200B_206F_206A_202B_200E_206A_200E_206E_206A_200D_206F_200E_200E_200E_206F_206B_206A_200E_202C_200D_206C_202B_202D_200C_206B_202D_206A_206E_200B_206D_200F_206F_202B_206A_202C_200E_200E_202D_202E(builder, global::_003CModule_003E._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(-127749891)); + _206C_206E_206A_200B_206E_206C_206E_200B_200C_200F_202C_200B_206B_206C_202E_202D_202D_206A_206C_206E_206B_206D_206B_200F_206B_202C_206C_206A_202D_202D_200E_200F_200E_206B_202E_200F_202A_202A_206D_206B_202E(builder, (object)Description); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? 1126109151 : 1126109144); + while (true) + { + int num2 = num; + int num3 = 1126109146; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + return false; + case 3: + num = ((!EqualityComparer>.Default.Equals(Predicate, other.Predicate)) ? 1126109148 : 1126109147); + break; + case 4: + num = ((!_200D_206C_206C_206C_206B_206D_206C_206A_206F_202B_200F_206B_200B_206B_206C_202B_200B_206D_200E_206F_202C_200E_202C_200B_206E_206C_202A_200C_202A_200F_206B_200B_206E_206C_200E_202B_200F_206D_200B_200F_202E(EqualityContract, other.EqualityContract)) ? 1126109148 : 1126109145); + break; + case 1: + return EqualityComparer.Default.Equals(Description, other.Description); + case 2: + num = (((object)other == null) ? 1126109148 : 1126109150); + break; + case 5: + return true; + case 0: + num = 1126109144; + break; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_200D_206B_202D_200F_206C_206B_206C_200B_206B_202B_202D_200C_200C_202D_202C_202D_200F_202B_202E_202D_206E_202A_200F_200C_202C_206F_206F_206F_206F_206F_202A_202A_206B_200F_200B_206E_206E_206C_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200F_206C_202E_200F_206D_200B_200B_206E_200B_202D_200F_202B_202E_200E_202B_206A_202A_206E_202E_200F_200E_206C_206B_206F_206A_202C_202A_202E_202A_206B_200C_202B_200D_206D_202D_200C_200C_200D_206F_206D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206F_206D_200B_206F_206A_202B_200E_206A_200E_206E_206A_200D_206F_200E_200E_200E_206F_206B_206A_200E_202C_200D_206C_202B_202D_200C_206B_202D_206A_206E_200B_206D_200F_206F_202B_206A_202C_200E_200E_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206C_206E_206A_200B_206E_206C_206E_200B_200C_200F_202C_200B_206B_206C_202E_202D_202D_206A_206C_206E_206B_206D_206B_200F_206B_202C_206C_206A_202D_202D_200E_200F_200E_206B_202E_200F_202A_202A_206D_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200D_206C_206C_206C_206B_206D_206C_206A_206F_202B_200F_206B_200B_206B_206C_202B_200B_206D_200E_206F_202C_200E_202C_200B_206E_206C_202A_200C_202A_200F_206B_200B_206E_206C_200E_202B_200F_206D_200B_200F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } } internal sealed class WaitConditionExecutor : TaskExecutor { - private DateTime _continueAt = DateTime.MaxValue; + private long _continueAtMs; protected override bool Start() { @@ -23,20 +112,46 @@ internal static class WaitCondition public override ETaskResult Update() { - if (_continueAt == DateTime.MaxValue && base.Task.Predicate()) + int num = ((_continueAtMs != 0L) ? (-757332820) : (-757332817)); + while (true) { - _continueAt = DateTime.Now.AddSeconds(0.5); + int num2 = num; + int num3 = -757332822; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _continueAtMs = _200E_206C_200D_200F_206F_202B_200B_206C_206D_206C_202E_202A_206D_200D_206A_200E_202D_200E_200B_200D_206D_200B_200B_202A_202D_200C_200B_206C_200E_202C_206A_202B_200B_206E_200B_200D_200D_200B_200B_206A_202E() + 500; + num = -757332820; + break; + case 4: + return ETaskResult.TaskComplete; + case 2: + num = -757332817; + break; + case 6: + num = ((_continueAtMs <= 0) ? (-757332821) : (-757332823)); + break; + case 1: + return ETaskResult.StillRunning; + case 5: + num = ((!base.Task.Predicate()) ? (-757332820) : (-757332822)); + break; + case 3: + num = ((_200E_206C_200D_200F_206F_202B_200B_206C_206D_206C_202E_202A_206D_200D_206A_200E_202D_200E_200B_200D_206D_200B_200B_202A_202D_200C_200B_206C_200E_202C_206A_202B_200B_206E_200B_200D_200D_200B_200B_206A_202E() >= _continueAtMs) ? (-757332818) : (-757332821)); + break; + } } - if (!(DateTime.Now >= _continueAt)) - { - return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return false; } + + static long _200E_206C_200D_200F_206F_202B_200B_206C_206D_206C_202E_202A_206D_200D_206A_200E_202D_200E_200B_200D_206D_200B_200B_202A_202D_200C_200B_206C_200E_202C_206A_202B_200B_206E_200B_200D_200D_200B_200B_206A_202E() + { + return Environment.TickCount64; + } } } diff --git a/Questionable/Questionable.Controller.Steps.Common/WaitNavmesh.cs b/Questionable/Questionable.Controller.Steps.Common/WaitNavmesh.cs index 99f2515b..b080bed5 100644 --- a/Questionable/Questionable.Controller.Steps.Common/WaitNavmesh.cs +++ b/Questionable/Questionable.Controller.Steps.Common/WaitNavmesh.cs @@ -1,12 +1,71 @@ +using System; +using System.Runtime.CompilerServices; + namespace Questionable.Controller.Steps.Common; internal sealed class WaitNavmesh { internal sealed record Task : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206B_200E_202D_206D_200E_206C_202E_206C_202E_202C_202C_200C_200B_202D_202C_202C_202C_206B_202C_206A_206F_202C_202C_202D_200B_200E_206A_202B_200D_206B_202C_206F_206A_206F_202A_200F_200C_202A_202D_206D_202E(typeof(Task).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "Wait(navmesh)"; + return global::_003CModule_003E._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(93055531); + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? 772746660 : 772746657); + while (true) + { + int num2 = num; + int num3 = 772746656; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return true; + case 3: + return _202E_202C_206A_202B_206A_202B_200C_206D_200F_200E_206C_200E_200B_200C_200D_206F_200B_206A_202E_200E_206D_206C_202D_202C_200F_200B_200C_202D_206B_206F_206E_200D_206E_206D_206E_206A_206E_206F_202B_202E_202E(EqualityContract, other.EqualityContract); + case 1: + num = (((object)other == null) ? 772746656 : 772746659); + break; + case 0: + return false; + case 2: + num = 772746657; + break; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206B_200E_202D_206D_200E_206C_202E_206C_202E_202C_202C_200C_200B_202D_202C_202C_202C_206B_202C_206A_206F_202C_202C_202D_200B_200E_206A_202B_200D_206B_202C_206F_206A_206F_202A_200F_200C_202A_202D_206D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _202E_202C_206A_202B_206A_202B_200C_206D_200F_200E_206C_200E_200B_200C_200D_206F_200B_206A_202E_200E_206D_206C_202D_202C_200F_200B_200C_202D_206B_206F_206E_200D_206E_206D_206E_206A_206E_206F_202B_202E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -19,11 +78,27 @@ internal sealed class WaitNavmesh public override ETaskResult Update() { - if (!movementController.IsNavmeshReady) + int num = (movementController.IsNavmeshReady ? 1367983807 : 1367983806); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = 1367983807; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004d; + case 0: + return ETaskResult.TaskComplete; + case 1: + return ETaskResult.StillRunning; + } + continue; + IL_004d: + num = 1367983806; } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() @@ -31,13 +106,40 @@ internal sealed class WaitNavmesh return false; } + [MethodImpl(MethodImplOptions.NoInlining)] public string? GetDebugState() { - if (!movementController.IsNavmeshReady) + int num = (movementController.IsNavmeshReady ? (-446165234) : (-446165233)); + while (true) { - return $"Navmesh: {movementController.BuiltNavmeshPercent}%"; + int num2 = num; + int num3 = -446165234; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004b; + case 0: + return null; + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1778800167)); + defaultInterpolatedStringHandler.AppendFormatted(movementController.BuiltNavmeshPercent); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1720204560)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + } + continue; + IL_004b: + num = -446165233; } - return null; + } + + string? IDebugStateProvider.GetDebugState() + { + //ILSpy generated this explicit interface implementation from .override directive in GetDebugState + return this.GetDebugState(); } } } diff --git a/Questionable/Questionable.Controller.Steps.Gathering/DoGather.cs b/Questionable/Questionable.Controller.Steps.Gathering/DoGather.cs index 1ae0405e..f9d5aeca 100644 --- a/Questionable/Questionable.Controller.Steps.Gathering/DoGather.cs +++ b/Questionable/Questionable.Controller.Steps.Gathering/DoGather.cs @@ -1,12 +1,19 @@ +using System; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; 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; using FFXIVClientStructs.FFXIV.Component.GUI; +using LLib.GameData; using LLib.GameUI; +using Lumina.Excel; +using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; using Questionable.Functions; using Questionable.Model.Gathering; @@ -18,6 +25,16 @@ internal static class DoGather { internal sealed record Task(GatheringController.GatheringRequest Request, GatheringNode Node, bool RevisitRequired) : ITask, IRevisitAware { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202D_202C_206E_206C_202C_206E_200E_206C_206B_200C_206C_206C_206D_200B_202C_206D_202D_206B_206E_202A_202D_206E_206B_200E_206F_202D_200D_200C_200F_200E_200C_202A_206F_206A_206E_202C_202E_200C_200B_206E_202E(typeof(Task).TypeHandle); + } + } + public bool RevisitTriggered { get; private set; } public void OnRevisit() @@ -25,9 +42,109 @@ internal static class DoGather RevisitTriggered = true; } + void IRevisitAware.OnRevisit() + { + //ILSpy generated this explicit interface implementation from .override directive in OnRevisit + this.OnRevisit(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "DoGather" + (RevisitRequired ? " if revist" : ""); + return _200E_206B_206C_206D_200C_200D_206A_206A_202C_202C_206F_206E_200F_200D_200D_206D_200D_200E_200B_206E_206C_206E_206D_206F_200F_202D_202B_206E_202E_200F_200E_202E_202A_202D_200D_202A_202B_200C_202A_202E_202E(global::_003CModule_003E._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(1468970582), RevisitRequired ? global::_003CModule_003E._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(-522204867) : global::_003CModule_003E._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(1200342830)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206F_206A_202E_200E_206E_200C_206F_202C_202B_206C_206C_200D_202B_202A_200D_200E_202D_202D_200D_206C_200C_206E_200B_202C_202D_206E_206B_206F_202B_200C_200D_202E_206C_200B_200D_202A_200C_200F_202A_202D_202E(); + _206F_202A_202E_206D_206C_206D_202B_202C_200B_202D_202E_202D_202E_200B_200D_200C_202D_200E_206E_200F_200F_202D_200D_206F_206E_202C_200F_200E_202E_202D_206D_206E_206F_200E_206F_206E_200E_206E_206B_200D_202E(builder, global::_003CModule_003E._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(-1211042409)); + _202A_202A_206C_200E_202A_206D_202C_206A_200F_200F_200B_206E_206F_202C_200B_202C_202A_200D_200C_202B_200B_202C_206E_202E_202B_206A_200E_206C_206B_200F_202D_206C_200C_206E_200B_202A_206E_202C_206C_200F_202E(builder, (object)Request); + _206F_202A_202E_206D_206C_206D_202B_202C_200B_202D_202E_202D_202E_200B_200D_200C_202D_200E_206E_200F_200F_202D_200D_206F_206E_202C_200F_200E_202E_202D_206D_206E_206F_200E_206F_206E_200E_206E_206B_200D_202E(builder, global::_003CModule_003E._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(-722402907)); + _202A_202A_206C_200E_202A_206D_202C_206A_200F_200F_200B_206E_206F_202C_200B_202C_202A_200D_200C_202B_200B_202C_206E_202E_202B_206A_200E_206C_206B_200F_202D_206C_200C_206E_200B_202A_206E_202C_206C_200F_202E(builder, (object)Node); + _206F_202A_202E_206D_206C_206D_202B_202C_200B_202D_202E_202D_202E_200B_200D_200C_202D_200E_206E_200F_200F_202D_200D_206F_206E_202C_200F_200E_202E_202D_206D_206E_206F_200E_206F_206E_200E_206E_206B_200D_202E(builder, global::_003CModule_003E._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(1324981721)); + _206F_202A_202E_206D_206C_206D_202B_202C_200B_202D_202E_202D_202E_200B_200D_200C_202D_200E_206E_200F_200F_202D_200D_206F_206E_202C_200F_200E_202E_202D_206D_206E_206F_200E_206F_206E_200E_206E_206B_200D_202E(builder, RevisitRequired.ToString()); + _206F_202A_202E_206D_206C_206D_202B_202C_200B_202D_202E_202D_202E_200B_200D_200C_202D_200E_206E_200F_200F_202D_200D_206F_206E_202C_200F_200E_202E_202D_206D_206E_206F_200E_206F_206E_200E_206E_206B_200D_202E(builder, global::_003CModule_003E._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(-145983723)); + _206F_202A_202E_206D_206C_206D_202B_202C_200B_202D_202E_202D_202E_200B_200D_200C_202D_200E_206E_200F_200F_202D_200D_206F_206E_202C_200F_200E_202E_202D_206D_206E_206F_200E_206F_206E_200E_206E_206B_200D_202E(builder, RevisitTriggered.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? 2025080777 : 2025080782); + while (true) + { + int num2 = num; + int num3 = 2025080783; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = ((!EqualityComparer.Default.Equals(Node, other.Node)) ? 2025080779 : 2025080776); + break; + case 4: + return false; + case 3: + return EqualityComparer.Default.Equals(RevisitTriggered, other.RevisitTriggered); + case 0: + num = 2025080782; + break; + case 8: + num = ((!EqualityComparer.Default.Equals(Request, other.Request)) ? 2025080779 : 2025080781); + break; + case 6: + return true; + case 7: + num = ((!EqualityComparer.Default.Equals(RevisitRequired, other.RevisitRequired)) ? 2025080779 : 2025080780); + break; + case 5: + num = ((!_206A_200B_200C_200E_202A_202B_200E_206A_206F_200B_206C_202E_202E_206B_202E_200C_200E_206E_206E_206E_202D_200E_202A_202A_200C_206B_206F_200B_206A_200C_202E_206D_200B_206F_206F_202B_200C_200D_206D_206C_202E(EqualityContract, other.EqualityContract)) ? 2025080779 : 2025080775); + break; + case 1: + num = (((object)other == null) ? 2025080779 : 2025080778); + break; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202D_202C_206E_206C_202C_206E_200E_206C_206B_200C_206C_206C_206D_200B_202C_206D_202D_206B_206E_202A_202D_206E_206B_200E_206F_202D_200D_200C_200F_200E_200C_202A_206F_206A_206E_202C_202E_200C_200B_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static string _200E_206B_206C_206D_200C_200D_206A_206A_202C_202C_206F_206E_200F_200D_200D_206D_200D_200E_200B_206E_206C_206E_206D_206F_200F_202D_202B_206E_202E_200F_200E_202E_202A_202D_200D_202A_202B_200C_202A_202E_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _206F_206A_202E_200E_206E_200C_206F_202C_202B_206C_206C_200D_202B_202A_200D_200E_202D_202D_200D_206C_200C_206E_200B_202C_202D_206E_206B_206F_202B_200C_200D_202E_206C_200B_200D_202A_200C_200F_202A_202D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206F_202A_202E_206D_206C_206D_202B_202C_200B_202D_202E_202D_202E_200B_200D_200C_202D_200E_206E_200F_200F_202D_200D_206F_206E_202C_200F_200E_202E_202D_206D_206E_206F_200E_206F_206E_200E_206E_206B_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202A_202A_206C_200E_202A_206D_202C_206A_200F_200F_200B_206E_206F_202C_200B_202C_202A_200D_200C_202B_200B_202C_206E_202E_202B_206A_200E_206C_206B_200F_202D_206C_200C_206E_200B_202A_206E_202C_206C_200F_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206A_200B_200C_200E_202A_202B_200E_206A_206F_200B_206C_202E_202E_206B_202E_200C_200E_206E_206E_206E_202D_200E_202A_202A_200C_206B_206F_200B_206A_200C_202E_206D_200B_206F_206F_202B_200C_200D_206D_206C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -41,239 +158,498 @@ internal static class DoGather private Queue? _actionQueue; + private long _nextRevisitInteractionAt; + protected override bool Start() { return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe override ETaskResult Update() { Task task = base.Task; - if ((object)task != null && task.RevisitRequired && !task.RevisitTriggered) + int num = (((object)task == null) ? 607159611 : 607159599); + SlotInfo slotInfo = default(SlotInfo); + EAction result = default(EAction); + AddonGathering* addonPtr = default(AddonGathering*); + NodeCondition nodeCondition = default(NodeCondition); + List list = default(List); + IGameObject gameObject = default(IGameObject); + uint valueOrDefault = default(uint); + uint? num5 = default(uint?); + while (true) { - logger.LogInformation("No revisit"); - return ETaskResult.TaskComplete; - } - if (gatheringController.HasNodeDisappeared(base.Task.Node)) - { - logger.LogInformation("Node disappeared"); - return ETaskResult.TaskComplete; - } - if (gameFunctions.GetFreeInventorySlots() == 0) - { - throw new TaskException("Inventory full"); - } - if (condition[ConditionFlag.Gathering]) - { - if (gameGui.TryGetAddonByName("GatheringMasterpiece", out var _)) + int num2 = num; + int num3 = 607159603; + int num4 = num2; + uint? obj; + switch ((num4 | num3) - (num4 & num3)) { + case 33: + slotInfo = null; + num = 607159606; + break; + case 7: + _202A_200F_200D_200C_200E_202E_200B_202C_206C_202E_202C_202B_206C_202A_200C_202B_200F_200B_200E_200E_202D_200F_200E_202C_202A_200F_206D_202B_200F_206B_206A_202B_206D_200B_200B_206E_206A_200B_206C_206E_202E((ILogger)logger, global::_003CModule_003E._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(-198696990), new object[1] { _202E_202D_202A_202C_202E_206B_200F_200E_206A_202D_206D_202C_206C_200C_200C_206C_200B_200C_200D_206F_202A_206E_206C_200D_202C_200F_206F_200B_206A_206A_200F_206D_202E_202E_200B_202D_206A_206C_200F_206C_202E(base.Task.Node) }); + num = 607159576; + break; + case 16: + return ETaskResult.StillRunning; + case 13: + _202A_200F_200D_200C_200E_202E_200B_202C_206C_202E_202C_202B_206C_202A_200C_202B_200F_200B_200E_200E_202D_200F_200E_202C_202A_200F_206D_202B_200F_206B_206A_202B_206D_200B_200B_206E_206A_200B_206C_206E_202E((ILogger)logger, global::_003CModule_003E._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(-380585303), Array.Empty()); return ETaskResult.TaskComplete; - } - _wasGathering = true; - if (gameGui.TryGetAddonByName("Gathering", out var addonPtr2)) + case 50: + num = ((!gameFunctions.UseAction(result)) ? 607159601 : 607159572); + break; + case 26: + num = 607159599; + break; + case 41: + num = ((_actionQueue.Count != 0) ? 607159577 : 607159596); + break; + case 46: + num = ((gameFunctions.GetFreeInventorySlots() != 0) ? 607159592 : 607159597); + break; + case 47: + return ETaskResult.StillRunning; + case 20: + addonPtr->FireCallbackInt(-1); + num = 607159577; + break; + case 21: + num = (_202C_202B_200D_206A_200F_200F_202A_206E_200C_202B_202A_202A_202B_200F_206A_200E_202C_200B_202B_206C_202E_202B_202E_200E_206C_206C_206B_200B_200C_206B_200F_206C_202C_206F_206B_200F_206B_200B_202B_202B_202E(condition, ConditionFlag.Gathering) ? 607159607 : 607159569); + break; + case 49: + _wasGathering = true; + num = ((!gameGui.TryGetAddonByName(global::_003CModule_003E._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(2039761442), out addonPtr)) ? 607159577 : 607159583); + break; + case 1: + obj = slotInfo.ItemId; + goto IL_028d; + case 10: + addonPtr->FireCallbackInt(slotInfo.Index); + num = 607159577; + break; + case 22: + _actionQueue = GetNextActions(nodeCondition, list); + num = ((_actionQueue != null) ? 607159578 : 607159584); + break; + case 9: { - if (gatheringController.HasRequestedItems()) + uint uInt = addonPtr->AtkValues[109].UInt; + uint uInt2 = addonPtr->AtkValues[110].UInt; + _202A_200F_200D_200C_200E_202E_200B_202C_206C_202E_202C_202B_206C_202A_200C_202B_200F_200B_200E_200E_202D_200F_200E_202C_202A_200F_206D_202B_200F_206B_206A_202B_206D_200B_200B_206E_206A_200B_206C_206E_202E((ILogger)logger, global::_003CModule_003E._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(-2017511058), new object[2] { uInt, uInt2 }); + num = ((uInt == 0) ? 607159577 : 607159598); + break; + } + case 6: + num = ((!_202C_202B_200D_206A_200F_200F_202A_206E_200C_202B_202A_202A_202B_200F_206A_200E_202C_200B_202B_206C_202E_202B_202E_200E_206C_206C_206B_200B_200C_206B_200F_206C_202C_206F_206B_200F_206B_200B_202B_202B_202E(condition, ConditionFlag.Gathering)) ? 607159585 : 607159587); + break; + case 32: + { + SlotInfo slotInfo2 = list.Single((SlotInfo x) => x.ItemId == base.Task.Request.ItemId); + addonPtr->FireCallbackInt(slotInfo2.Index); + num = 607159577; + break; + } + case 45: + num = ((!gameFunctions.InteractWith(gameObject)) ? 607159576 : 607159604); + break; + case 17: + num = ((!task.RevisitTriggered) ? 607159607 : 607159590); + break; + case 38: + num = ((valueOrDefault > 19) ? 607159606 : 607159588); + break; + case 2: + return ETaskResult.StillRunning; + case 30: + throw new TaskException(global::_003CModule_003E._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(915709300)); + case 29: + addonPtr->FireCallbackInt(-1); + num = 607159577; + break; + case 27: + num = ((!_202C_202B_200D_206A_200F_200F_202A_206E_200C_202B_202A_202A_202B_200F_206A_200E_202C_200B_202B_206C_202E_202B_202E_200E_206C_206C_206B_200B_200C_206B_200F_206C_202C_206F_206B_200F_206B_200B_202B_202B_202E(condition, ConditionFlag.Gathering)) ? 607159577 : 607159595); + break; + case 40: + _202A_200F_200D_200C_200E_202E_200B_202C_206C_202E_202C_202B_206C_202A_200C_202B_200F_200B_200E_200E_202D_200F_200E_202C_202A_200F_206D_202B_200F_206B_206A_202B_206D_200B_200B_206E_206A_200B_206C_206E_202E((ILogger)logger, global::_003CModule_003E._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(1731056646), Array.Empty()); + return ETaskResult.TaskComplete; + case 4: + num = (base.Task.RevisitTriggered ? 607159581 : 607159613); + break; + case 14: + num = ((!gatheringController.HasNodeDisappeared(base.Task.Node)) ? 607159581 : 607159614); + break; + case 39: + _202A_200F_200D_200C_200E_202E_200B_202C_206C_202E_202C_202B_206C_202A_200C_202B_200F_200B_200E_200E_202D_200F_200E_202C_202A_200F_206D_202B_200F_206B_206A_202B_206D_200B_200B_206E_206A_200B_206C_206E_202E((ILogger)logger, global::_003CModule_003E._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(1449186336), new object[1] { result }); + _actionQueue.Dequeue(); + num = 607159601; + break; + case 5: + num = ((!(slotInfo != null)) ? 607159591 : 607159609); + break; + case 19: + _202A_200F_200D_200C_200E_202E_200B_202C_206C_202E_202C_202B_206C_202A_200C_202B_200F_200B_200E_200E_202D_200F_200E_202C_202A_200F_206D_202B_200F_206B_206A_202B_206D_200B_200B_206E_206A_200B_206C_206E_202E((ILogger)logger, global::_003CModule_003E._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(-1296182537), Array.Empty()); + addonPtr->FireCallbackInt(-1); + return ETaskResult.TaskComplete; + case 44: + num = ((!gatheringController.HasRequestedItems()) ? 607159615 : 607159610); + break; + case 11: + valueOrDefault = num5.GetValueOrDefault(); + num = ((valueOrDefault < 2) ? 607159606 : 607159573); + break; + case 12: + list = ReadSlots(addonPtr); + num = ((base.Task.Request.Collectability <= 0) ? 607159555 : 607159571); + break; + case 23: + num = ((InventoryManager.Instance()->GetInventoryItemCount(slotInfo.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) != 9999) ? 607159606 : 607159570); + break; + case 34: + num = ((!_wasGathering) ? 607159600 : 607159568); + break; + case 31: + slotInfo = _slotToGather ?? list.SingleOrDefault((SlotInfo x) => x.ItemId == base.Task.Request.ItemId) ?? list.MinBy((SlotInfo x) => x.ItemId); + num = (((object)slotInfo != null) ? 607159602 : 607159552); + break; + case 37: + return ETaskResult.TaskComplete; + case 51: + obj = null; + goto IL_028d; + case 8: + task = base.Task; + num = (((object)task == null) ? 607159607 : 607159594); + break; + case 43: + _nextRevisitInteractionAt = _202C_206F_202B_200E_202E_200B_200E_206C_202A_206B_202C_202B_200F_206E_206C_202E_206E_200C_202E_200B_200E_206D_200B_202E_200E_206A_206A_202C_206D_200F_200E_200D_200E_200D_206C_206A_206C_200D_202D_202B_202E() + 1000; + num = 607159580; + break; + case 3: + num = ((_202C_206F_202B_200E_202E_200B_200E_206C_202A_206B_202C_202B_200F_206E_206C_202E_206E_200C_202E_200B_200E_206D_200B_202E_200E_206A_206A_202C_206D_200F_200E_200D_200E_200D_206C_206A_206C_200D_202D_202B_202E() < _nextRevisitInteractionAt) ? 607159580 : 607159603); + break; + case 15: + num = ((!_actionQueue.TryPeek(out result)) ? 607159589 : 607159553); + break; + case 48: + nodeCondition = new NodeCondition(addonPtr->AtkValues[109].UInt, addonPtr->AtkValues[110].UInt); + _202A_200F_200D_200C_200E_202E_200B_202C_206C_202E_202C_202B_206C_202A_200C_202B_200F_200B_200E_200E_202D_200F_200E_202C_202A_200F_206D_202B_200F_206B_206A_202B_206D_200B_200B_206E_206A_200B_206C_206E_202E((ILogger)logger, global::_003CModule_003E._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(1490612030), new object[2] { nodeCondition.CurrentIntegrity, nodeCondition.MaxIntegrity }); + num = ((_actionQueue == null) ? 607159589 : 607159612); + break; + case 24: + { + num = ((!gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1601661822), out var _)) ? 607159554 : 607159574); + break; + } + case 35: + return ETaskResult.TaskComplete; + case 36: + num = (task.RevisitTriggered ? 607159611 : 607159579); + break; + case 18: + return ETaskResult.TaskComplete; + case 0: + gameObject = objectTable.FirstOrDefault(delegate(IGameObject x) { - addonPtr2->FireCallbackInt(-1); - } - else + int num6 = ((_206B_202A_200F_206F_202E_206A_206C_202E_202D_206A_202B_206D_200B_200C_202C_202A_202C_206B_206F_202E_206D_206E_202B_200D_206D_202A_206D_206E_206C_200C_202B_202C_202D_206F_200E_202C_200F_200B_206E_202E_202E(x) != _202E_202D_202A_202C_202E_206B_200F_200E_206A_202D_206D_202C_206C_200C_200C_206C_200B_200C_200D_206F_202A_206E_206C_200D_202C_200F_206F_200B_206A_206A_200F_206D_202E_202E_200B_202D_206A_206C_200F_206C_202E(base.Task.Node)) ? (-627265933) : (-627265936)); + while (true) + { + int num7 = num6; + int num8 = -627265935; + int num9 = num7; + switch ((num9 | num8) - (num9 & num8)) + { + case 0: + goto IL_0056; + case 1: + return _206D_202B_202C_202A_202E_202D_200B_200B_206B_202A_202E_206A_202E_202C_200C_202C_200B_200C_202E_206F_200B_206E_206B_202C_200F_206F_200D_200D_200B_202E_200C_200C_206D_200D_202D_202A_200F_202A_200D_200D_202E(x); + case 2: + return false; + } + continue; + IL_0056: + num6 = -627265936; + } + }); + num = ((gameObject == null) ? 607159576 : 607159582); + break; + case 25: + num = ((!task.RevisitRequired) ? 607159607 : 607159586); + break; + case 28: + num = ((!task.RevisitRequired) ? 607159611 : 607159575); + break; + case 42: { - List list = ReadSlots(addonPtr2); - if (base.Task.Request.Collectability > 0) - { - SlotInfo slotInfo = list.Single((SlotInfo x) => x.ItemId == base.Task.Request.ItemId); - addonPtr2->FireCallbackInt(slotInfo.Index); - } - else - { - NodeCondition nodeCondition = new NodeCondition(addonPtr2->AtkValues[110].UInt, addonPtr2->AtkValues[111].UInt); - if (_actionQueue != null && _actionQueue.TryPeek(out var result)) - { - if (gameFunctions.UseAction(result)) - { - logger.LogInformation("Used action {Action} on node", result); - _actionQueue.Dequeue(); - } - return ETaskResult.StillRunning; - } - _actionQueue = GetNextActions(nodeCondition, list); - if (_actionQueue == null) - { - logger.LogInformation("Skipping the rest of gathering..."); - addonPtr2->FireCallbackInt(-1); - return ETaskResult.TaskComplete; - } - if (_actionQueue.Count == 0) - { - SlotInfo slotInfo2 = _slotToGather ?? list.SingleOrDefault((SlotInfo x) => x.ItemId == base.Task.Request.ItemId) ?? list.MinBy((SlotInfo x) => x.ItemId); - switch (slotInfo2?.ItemId) - { - case 2u: - case 3u: - case 4u: - case 5u: - case 6u: - case 7u: - case 8u: - case 9u: - case 10u: - case 11u: - case 12u: - case 13u: - case 14u: - case 15u: - case 16u: - case 17u: - case 18u: - case 19u: - if (InventoryManager.Instance()->GetInventoryItemCount(slotInfo2.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) == 9999) - { - slotInfo2 = null; - } - break; - } - if (slotInfo2 != null) - { - addonPtr2->FireCallbackInt(slotInfo2.Index); - } - else - { - addonPtr2->FireCallbackInt(-1); - } - } - } + num = ((!_wasGathering) ? 607159587 : 607159605); + break; } + IL_028d: + num5 = obj; + num = ((!num5.HasValue) ? 607159606 : 607159608); + break; } } - if (!_wasGathering || condition[ConditionFlag.Gathering]) - { - return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe List ReadSlots(AddonGathering* addonGathering) { List list = new List(); - for (int i = 0; i < 8; i++) + int num = 0; + int num2 = -324357243; + int result2 = default(int); + int result3 = default(int); + AtkTextNode* asAtkTextNode = default(AtkTextNode*); + uint num6 = default(uint); + int result = default(int); + while (true) { - uint num = addonGathering->ItemIds[i]; - if (num != 0) + int num3 = num2; + int num4 = -324357247; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) { - AtkComponentCheckBox* value = addonGathering->GatheredItemComponentCheckbox[i].Value; - if (!int.TryParse(value->UldManager.SearchNodeById(10u)->GetAsAtkTextNode()->NodeText.ToString(), out var result)) - { - result = 0; - } - if (!int.TryParse(value->UldManager.SearchNodeById(16u)->GetAsAtkTextNode()->NodeText.ToString(), out var result2)) + case 3: + num2 = -324357243; + break; + case 5: + _206E_200F_202C_202D_206E_200F_202E_202E_206E_202B_206D_202D_200C_200B_206D_206E_206C_206C_200F_200C_200C_202D_200F_200E_202D_206B_200B_206A_200E_202A_202D_206B_206C_206F_202C_200B_202E_206F_202C_206B_202E((ILogger)logger, global::_003CModule_003E._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(-1752800996), new object[1] { string.Join(global::_003CModule_003E._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(1577352017), list) }); + return list; + case 0: + { + AtkComponentCheckBox* value = addonGathering->GatheredItemComponentCheckbox[num].Value; + if (!int.TryParse(value->UldManager.SearchNodeById(10u)->GetAsAtkTextNode()->NodeText.ToString(), out result2)) { result2 = 0; } - AtkTextNode* asAtkTextNode = value->UldManager.SearchNodeById(31u)->GetAsAtkComponentNode()->Component->UldManager.SearchNodeById(7u)->GetAsAtkTextNode(); - if (!asAtkTextNode->IsVisible() || !int.TryParse(asAtkTextNode->NodeText.ToString(), out var result3)) + if (!int.TryParse(value->UldManager.SearchNodeById(16u)->GetAsAtkTextNode()->NodeText.ToString(), out result3)) { - result3 = 1; + result3 = 0; } - SlotInfo item = new SlotInfo(i, num, result, result2, result3); + asAtkTextNode = value->UldManager.SearchNodeById(31u)->GetAsAtkComponentNode()->Component->UldManager.SearchNodeById(7u)->GetAsAtkTextNode(); + num2 = ((!asAtkTextNode->IsVisible()) ? (-324357245) : (-324357239)); + break; + } + case 6: + { + int num7 = num; + num4 = 1; + num5 = num7; + int num8 = num5 ^ num4; + int num9 = num5 & num4; + num = num8 + (num9 + num9); + num2 = -324357243; + break; + } + case 7: + { + SlotInfo item = new SlotInfo(num, num6, result2, result3, result); list.Add(item); + num2 = -324357241; + break; + } + case 2: + result = 1; + num2 = -324357242; + break; + case 4: + num2 = ((num < 8) ? (-324357248) : (-324357244)); + break; + case 8: + num2 = (int.TryParse(asAtkTextNode->NodeText.ToString(), out result) ? (-324357242) : (-324357245)); + break; + case 1: + num6 = addonGathering->ItemIds[num]; + num2 = ((num6 == 0) ? (-324357241) : (-324357247)); + break; } } - logger.LogTrace("Slots: {Slots}", string.Join(", ", list)); - return list; } private Queue? GetNextActions(NodeCondition nodeCondition, List slots) { - if (_slotToGather != null && slots.All((SlotInfo x) => x.Index != _slotToGather.Index)) + int num = ((!(_slotToGather != null)) ? (-828015562) : (-828015589)); + SlotInfo slotInfo2 = default(SlotInfo); + Queue queue = default(Queue); + SlotInfo slotInfo = default(SlotInfo); + int gatheringChance = default(int); + while (true) { - _slotToGather = null; - } - Queue queue = new Queue(); - if (!gameFunctions.HasStatus(EStatus.GatheringRateUp)) - { - if (base.Task.Request.AlternativeItemId != 0) + int num2 = num; + int num3 = -828015595; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - SlotInfo slotInfo = slots.Single((SlotInfo x) => x.ItemId == base.Task.Request.AlternativeItemId); - if (slotInfo.GatheringChance == 100) - { - _slotToGather = slotInfo; - return queue; - } - if (slotInfo.GatheringChance > 0) - { - if (slotInfo.GatheringChance >= 95 && CanUseAction(EAction.SharpVision1, EAction.FieldMastery1)) - { - _slotToGather = slotInfo; - queue.Enqueue(PickAction(EAction.SharpVision1, EAction.FieldMastery1)); - return queue; - } - if (slotInfo.GatheringChance >= 85 && CanUseAction(EAction.SharpVision2, EAction.FieldMastery2)) - { - _slotToGather = slotInfo; - queue.Enqueue(PickAction(EAction.SharpVision2, EAction.FieldMastery2)); - return queue; - } - if (slotInfo.GatheringChance >= 50 && CanUseAction(EAction.SharpVision3, EAction.FieldMastery3)) - { - _slotToGather = slotInfo; - queue.Enqueue(PickAction(EAction.SharpVision3, EAction.FieldMastery3)); - return queue; - } - } - } - SlotInfo slotInfo2 = slots.SingleOrDefault((SlotInfo x) => x.ItemId == base.Task.Request.ItemId); - if (slotInfo2 == null) - { - if (!_usedLuck && nodeCondition.CurrentIntegrity == nodeCondition.MaxIntegrity && CanUseAction(EAction.LuckOfTheMountaineer, EAction.LuckOfThePioneer)) - { - _usedLuck = true; - queue.Enqueue(PickAction(EAction.LuckOfTheMountaineer, EAction.LuckOfThePioneer)); - return queue; - } - if (_usedLuck) - { - if (nodeCondition.CurrentIntegrity != nodeCondition.MaxIntegrity) - { - return null; - } - _slotToGather = slots.MinBy((SlotInfo x) => x.ItemId); - return queue; - } - } - slotInfo2 = slots.SingleOrDefault((SlotInfo x) => x.ItemId == base.Task.Request.ItemId); - if ((object)slotInfo2 != null) - { - int gatheringChance = slotInfo2.GatheringChance; - if (gatheringChance > 0 && gatheringChance < 100) - { - if (slotInfo2.GatheringChance >= 95 && CanUseAction(EAction.SharpVision1, EAction.FieldMastery1)) - { - queue.Enqueue(PickAction(EAction.SharpVision1, EAction.FieldMastery1)); - return queue; - } - if (slotInfo2.GatheringChance >= 85 && CanUseAction(EAction.SharpVision2, EAction.FieldMastery2)) - { - queue.Enqueue(PickAction(EAction.SharpVision2, EAction.FieldMastery2)); - return queue; - } - if (slotInfo2.GatheringChance >= 50 && CanUseAction(EAction.SharpVision3, EAction.FieldMastery3)) - { - queue.Enqueue(PickAction(EAction.SharpVision3, EAction.FieldMastery3)); - return queue; - } - } + case 38: + _slotToGather = null; + num = -828015562; + break; + case 9: + slotInfo2 = slots.Single((SlotInfo x) => x.ItemId == base.Task.Request.AlternativeItemId); + num = ((slotInfo2.GatheringChance != 100) ? (-828015564) : (-828015586)); + break; + case 3: + _slotToGather = slots.MinBy((SlotInfo x) => x.ItemId); + return queue; + case 34: + slotInfo = slots.SingleOrDefault((SlotInfo x) => x.ItemId == base.Task.Request.ItemId); + num = (((object)slotInfo == null) ? (-828015592) : (-828015606)); + break; + case 17: + num = ((!CanUseAction(EAction.SharpVision2, EAction.FieldMastery2)) ? (-828015563) : (-828015604)); + break; + case 13: + return queue; + case 4: + num = ((nodeCondition.CurrentIntegrity != nodeCondition.MaxIntegrity) ? (-828015597) : (-828015596)); + break; + case 15: + num = ((slotInfo.GatheringChance < 50) ? (-828015592) : (-828015616)); + break; + case 24: + num = ((!CanUseAction(EAction.SharpVision1, EAction.FieldMastery1)) ? (-828015598) : (-828015602)); + break; + case 18: + num = (_usedLuck ? (-828015597) : (-828015599)); + break; + case 27: + queue.Enqueue(PickAction(EAction.SharpVision1, EAction.FieldMastery1)); + return queue; + case 12: + num = -828015589; + break; + case 11: + _slotToGather = slotInfo2; + return queue; + case 7: + num = ((slotInfo.GatheringChance < 85) ? (-828015590) : (-828015585)); + break; + case 26: + return null; + case 20: + num = ((!CanUseAction(EAction.SharpVision3, EAction.FieldMastery3)) ? (-828015610) : (-828015567)); + break; + case 6: + num = ((!_usedLuck) ? (-828015561) : (-828015600)); + break; + case 23: + num = ((base.Task.Request.AlternativeItemId == 0) ? (-828015610) : (-828015588)); + break; + case 37: + num = ((!CanUseAction(EAction.SharpVision1, EAction.FieldMastery1)) ? (-828015593) : (-828015611)); + break; + case 32: + num = ((slotInfo2.GatheringChance < 50) ? (-828015610) : (-828015615)); + break; + case 16: + _slotToGather = slotInfo2; + queue.Enqueue(PickAction(EAction.SharpVision1, EAction.FieldMastery1)); + return queue; + case 29: + queue.Enqueue(PickAction(EAction.SharpVision2, EAction.FieldMastery2)); + return queue; + case 36: + _slotToGather = slotInfo2; + queue.Enqueue(PickAction(EAction.SharpVision3, EAction.FieldMastery3)); + return queue; + case 28: + num = ((slotInfo.GatheringChance < 95) ? (-828015598) : (-828015603)); + break; + case 22: + num = ((gatheringChance >= 100) ? (-828015592) : (-828015607)); + break; + case 31: + gatheringChance = slotInfo.GatheringChance; + num = ((gatheringChance <= 0) ? (-828015592) : (-828015613)); + break; + case 25: + _slotToGather = slotInfo2; + queue.Enqueue(PickAction(EAction.SharpVision2, EAction.FieldMastery2)); + return queue; + case 0: + num = ((slotInfo2.GatheringChance < 95) ? (-828015593) : (-828015568)); + break; + case 1: + num = ((!CanUseAction(EAction.LuckOfTheMountaineer, EAction.LuckOfThePioneer)) ? (-828015597) : (-828015605)); + break; + case 2: + num = ((slotInfo2.GatheringChance < 85) ? (-828015563) : (-828015612)); + break; + case 19: + slotInfo = slots.SingleOrDefault((SlotInfo x) => x.ItemId == base.Task.Request.ItemId); + num = ((!(slotInfo == null)) ? (-828015561) : (-828015609)); + break; + case 30: + _usedLuck = true; + queue.Enqueue(PickAction(EAction.LuckOfTheMountaineer, EAction.LuckOfThePioneer)); + return queue; + case 21: + num = ((!CanUseAction(EAction.SharpVision3, EAction.FieldMastery3)) ? (-828015592) : (-828015587)); + break; + case 14: + num = ((!slots.All((SlotInfo x) => x.Index != _slotToGather.Index)) ? (-828015562) : (-828015565)); + break; + case 5: + num = ((nodeCondition.CurrentIntegrity == nodeCondition.MaxIntegrity) ? (-828015594) : (-828015601)); + break; + case 35: + queue = new Queue(); + num = (gameFunctions.HasStatus(EStatus.GatheringRateUp) ? (-828015592) : (-828015614)); + break; + case 8: + queue.Enqueue(PickAction(EAction.SharpVision3, EAction.FieldMastery3)); + return queue; + case 33: + num = ((slotInfo2.GatheringChance <= 0) ? (-828015610) : (-828015595)); + break; + case 10: + num = ((!CanUseAction(EAction.SharpVision2, EAction.FieldMastery2)) ? (-828015590) : (-828015608)); + break; } } - return queue; } private EAction PickAction(EAction minerAction, EAction botanistAction) { - if ((objectTable[0] as ICharacter)?.ClassJob.RowId == 16) + IPlayerCharacter playerCharacter = _206B_206E_202D_200C_202E_206E_200C_200E_202E_200F_206E_200B_200F_200D_200E_200E_206E_200D_200B_202A_200F_206E_206C_202B_206F_206F_200C_206D_200C_200C_200C_206B_206A_206C_200C_202A_200D_202A_200D_206E_202E(objectTable); + uint? num = ((playerCharacter != null) ? new uint?(_200D_200F_206E_202D_200B_202C_200E_206C_200D_202A_202E_200D_202A_200C_206E_206D_206A_200F_202A_202B_202D_200D_206C_200C_206B_200D_206D_200D_206C_202A_206D_200E_206F_202D_202D_200D_206C_202E_206B_202E_202E((ICharacter)playerCharacter).RowId) : ((uint?)null)); + int num2 = (num.HasValue ? (-44125136) : (-44125135)); + while (true) { - return minerAction; + int num3 = num2; + int num4 = -44125136; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + EClassJob? obj; + switch (num6 - (num7 + num7)) + { + case 2: + return minerAction; + case 1: + obj = null; + goto IL_00c1; + case 4: + num2 = -44125135; + break; + case 0: + obj = (EClassJob)num.GetValueOrDefault(); + goto IL_00c1; + case 3: + { + return botanistAction; + } + IL_00c1: + num2 = ((obj != EClassJob.Miner) ? (-44125133) : (-44125134)); + break; + } } - return botanistAction; } private unsafe bool CanUseAction(EAction minerAction, EAction botanistAction) @@ -286,9 +662,323 @@ internal static class DoGather { return false; } + + static void _202A_200F_200D_200C_200E_202E_200B_202C_206C_202E_202C_202B_206C_202A_200C_202B_200F_200B_200E_200E_202D_200F_200E_202C_202A_200F_206D_202B_200F_206B_206A_202B_206D_200B_200B_206E_206A_200B_206C_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _202C_202B_200D_206A_200F_200F_202A_206E_200C_202B_202A_202A_202B_200F_206A_200E_202C_200B_202B_206C_202E_202B_202E_200E_206C_206C_206B_200B_200C_206B_200F_206C_202C_206F_206B_200F_206B_200B_202B_202B_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static long _202C_206F_202B_200E_202E_200B_200E_206C_202A_206B_202C_202B_200F_206E_206C_202E_206E_200C_202E_200B_200E_206D_200B_202E_200E_206A_206A_202C_206D_200F_200E_200D_200E_200D_206C_206A_206C_200D_202D_202B_202E() + { + return Environment.TickCount64; + } + + static uint _202E_202D_202A_202C_202E_206B_200F_200E_206A_202D_206D_202C_206C_200C_200C_206C_200B_200C_200D_206F_202A_206E_206C_200D_202C_200F_206F_200B_206A_206A_200F_206D_202E_202E_200B_202D_206A_206C_200F_206C_202E(GatheringNode P_0) + { + return P_0.DataId; + } + + static void _206E_200F_202C_202D_206E_200F_202E_202E_206E_202B_206D_202D_200C_200B_206D_206E_206C_206C_200F_200C_200C_202D_200F_200E_202D_206B_200B_206A_200E_202A_202D_206B_206C_206F_202C_200B_202E_206F_202C_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static IPlayerCharacter _206B_206E_202D_200C_202E_206E_200C_200E_202E_200F_206E_200B_200F_200D_200E_200E_206E_200D_200B_202A_200F_206E_206C_202B_206F_206F_200C_206D_200C_200C_200C_206B_206A_206C_200C_202A_200D_202A_200D_206E_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static RowRef _200D_200F_206E_202D_200B_202C_200E_206C_200D_202A_202E_200D_202A_200C_206E_206D_206A_200F_202A_202B_202D_200D_206C_200C_206B_200D_206D_200D_206C_202A_206D_200E_206F_202D_202D_200D_206C_202E_206B_202E_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static uint _206B_202A_200F_206F_202E_206A_206C_202E_202D_206A_202B_206D_200B_200C_202C_202A_202C_206B_206F_202E_206D_206E_202B_200D_206D_202A_206D_206E_206C_200C_202B_202C_202D_206F_200E_202C_200F_200B_206E_202E_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static bool _206D_202B_202C_202A_202E_202D_200B_200B_206B_202A_202E_206A_202E_202C_200C_202C_200B_200C_202E_206F_200B_206E_206B_202C_200F_206F_200D_200D_200B_202E_200C_200C_206D_200D_202D_202A_200F_202A_200D_200D_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } } - private sealed record SlotInfo(int Index, uint ItemId, int GatheringChance, int BoonChance, int Quantity); + private sealed record SlotInfo(int Index, uint ItemId, int GatheringChance, int BoonChance, int Quantity) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_206D_200F_206E_202C_200C_200D_202B_202B_206F_206A_206B_202B_206E_206F_200B_206E_206E_200B_206C_206D_202D_206F_200E_200B_202B_202D_202C_206D_202A_200F_200E_202D_206A_202D_206D_206F_206E_206A_202A_202E(typeof(SlotInfo).TypeHandle); + } + } - private sealed record NodeCondition(uint CurrentIntegrity, uint MaxIntegrity); + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200B_206C_200B_202D_202A_206C_202C_206A_206B_202A_200C_206B_206B_200F_202D_202B_202D_200F_206B_200F_206C_206A_202C_200F_202A_200E_200E_200F_200B_200B_206D_202D_200C_202D_206A_206B_206A_206B_206A_202B_202E(); + _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(stringBuilder, global::_003CModule_003E._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(1163695056)); + _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? 2077194273 : 2077194272); + while (true) + { + int num2 = num; + int num3 = 2077194273; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _206D_202D_202B_200B_202A_206F_200F_200B_200E_206E_200B_202C_206A_202C_202A_202E_202B_206B_200C_202A_200B_202C_200F_200F_200D_202A_206F_206D_206C_206F_206B_202D_202E_202D_200E_202C_202D_206C_202D_206A_202E(stringBuilder, '}'); + return _200E_206C_200D_206E_202A_202B_206A_206B_200B_206B_206A_200B_202A_200F_200D_200C_200F_200E_206F_206C_206F_202C_200D_200E_206A_206A_200E_200B_206C_200E_202A_200B_200E_200F_206E_206D_200C_206A_206C_202E_202E((object)stringBuilder); + case 1: + _206D_202D_202B_200B_202A_206F_200F_200B_200E_206E_200B_202C_206A_202C_202A_202E_202B_206B_200C_202A_200B_202C_200F_200F_200D_202A_206F_206D_206C_206F_206B_202D_202E_202D_200E_202C_202D_206C_202D_206A_202E(stringBuilder, ' '); + num = 2077194273; + break; + case 2: + num = 2077194272; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200D_202B_202A_200D_206C_202B_202E_200E_200B_206F_202A_200E_200C_206A_202C_202E_202D_206D_200F_202C_200B_206D_202E_200E_202C_200F_202C_202B_206F_206A_200D_202B_206B_202B_206A_200C_202A_202A_202C_202E(); + _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(builder, global::_003CModule_003E._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(-1952999036)); + _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(builder, Index.ToString()); + _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(builder, global::_003CModule_003E._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(-727021518)); + _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(builder, ItemId.ToString()); + _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(builder, global::_003CModule_003E._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(-1315697333)); + _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(builder, GatheringChance.ToString()); + _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(builder, global::_003CModule_003E._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(1695865317)); + _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(builder, BoonChance.ToString()); + _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(builder, global::_003CModule_003E._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(-141714243)); + _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(builder, Quantity.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(SlotInfo? other) + { + int num = (((object)this == other) ? 1061388714 : 1061388708); + while (true) + { + int num2 = num; + int num3 = 1061388717; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + return EqualityComparer.Default.Equals(Quantity, other.Quantity); + case 9: + num = (((object)other == null) ? 1061388713 : 1061388719); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? 1061388713 : 1061388717); + break; + case 7: + return true; + case 5: + num = 1061388708; + break; + case 1: + num = ((!EqualityComparer.Default.Equals(Index, other.Index)) ? 1061388713 : 1061388718); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(BoonChance, other.BoonChance)) ? 1061388713 : 1061388715); + break; + case 2: + num = ((!_200B_206C_200C_206B_202A_206B_206C_202A_200F_200E_202B_202E_202A_200E_206D_206E_202D_206E_206F_206D_202D_202C_202C_202D_200C_202C_200C_200C_202A_200E_200B_206E_202B_206A_202D_206A_202C_200E_200B_206D_202E(EqualityContract, other.EqualityContract)) ? 1061388713 : 1061388716); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(GatheringChance, other.GatheringChance)) ? 1061388713 : 1061388709); + break; + case 4: + return false; + } + } + } + + bool IEquatable.Equals(SlotInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_206D_200F_206E_202C_200C_200D_202B_202B_206F_206A_206B_202B_206E_206F_200B_206E_206E_200B_206C_206D_202D_206F_200E_200B_202B_202D_202C_206D_202A_200F_200E_202D_206A_202D_206D_206F_206E_206A_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200B_206C_200B_202D_202A_206C_202C_206A_206B_202A_200C_206B_206B_200F_202D_202B_202D_200F_206B_200F_206C_206A_202C_200F_202A_200E_200E_200F_200B_200B_206D_202D_200C_202D_206A_206B_206A_206B_206A_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202D_200C_202B_206F_206A_202C_200F_202B_200D_200F_200C_202E_200E_202D_200E_206D_200E_200C_200F_206F_202C_202E_200E_206C_202A_200E_200D_200F_200F_200E_202B_202B_200D_202D_200C_206B_202C_200D_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_202D_202B_200B_202A_206F_200F_200B_200E_206E_200B_202C_206A_202C_202A_202E_202B_206B_200C_202A_200B_202C_200F_200F_200D_202A_206F_206D_206C_206F_206B_202D_202E_202D_200E_202C_202D_206C_202D_206A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200E_206C_200D_206E_202A_202B_206A_206B_200B_206B_206A_200B_202A_200F_200D_200C_200F_200E_206F_206C_206F_202C_200D_200E_206A_206A_200E_200B_206C_200E_202A_200B_200E_200F_206E_206D_200C_206A_206C_202E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200D_202B_202A_200D_206C_202B_202E_200E_200B_206F_202A_200E_200C_206A_202C_202E_202D_206D_200F_202C_200B_206D_202E_200E_202C_200F_202C_202B_206F_206A_200D_202B_206B_202B_206A_200C_202A_202A_202C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _200B_206C_200C_206B_202A_206B_206C_202A_200F_200E_202B_202E_202A_200E_206D_206E_202D_206E_206F_206D_202D_202C_202C_202D_200C_202C_200C_200C_202A_200E_200B_206E_202B_206A_202D_206A_202C_200E_200B_206D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + private sealed record NodeCondition(uint CurrentIntegrity, uint MaxIntegrity) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_206A_200F_202A_200D_206F_202D_206D_200D_200D_202E_200B_206D_206A_200B_200F_202D_200F_206C_200B_202A_202A_200B_202A_200D_206C_202E_202A_206C_200B_202C_200F_206D_206B_206C_202B_202D_202E_202D_202E(typeof(NodeCondition).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206E_202E_200C_202B_200E_206D_200D_202B_206B_206D_206F_202B_206D_202E_206A_206F_206F_202E_202D_202E_202A_206F_206E_200E_202D_202D_206B_206D_200E_200C_200F_206E_202D_202E_200E_202C_206E_206A_206A_202E_202E(); + _200D_202D_202D_202E_202E_200E_206D_200E_200D_206D_206F_200B_202E_206B_202B_200F_200F_202E_206F_206F_202B_202D_202B_206C_200C_206C_206D_200C_202B_206F_200B_200D_200D_202C_200D_202B_202A_206F_206C_202D_202E(stringBuilder, global::_003CModule_003E._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(-1254648399)); + _200D_202D_202D_202E_202E_200E_206D_200E_200D_206D_206F_200B_202E_206B_202B_200F_200F_202E_206F_206F_202B_202D_202B_206C_200C_206C_206D_200C_202B_206F_200B_200D_200D_202C_200D_202B_202A_206F_206C_202D_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? 270539835 : 270539832); + while (true) + { + int num2 = num; + int num3 = 270539834; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 270539832; + break; + case 1: + _206E_206D_200F_202D_206D_200F_200C_206F_202E_200B_206B_206D_200B_202C_206A_202E_206A_206F_200B_200F_200E_206C_206A_200D_202D_200C_202C_206F_202B_202C_200D_200B_206D_202B_200D_206C_200C_200C_206D_200E_202E(stringBuilder, '}'); + return _206B_200E_202D_206F_206C_200E_206C_206A_200B_200D_206C_202C_202B_202E_206E_206E_206C_200F_206E_200F_206B_206B_200E_206E_202B_202D_206C_202C_206F_206E_200F_202E_200C_200B_202A_200E_200C_200E_206C_206C_202E((object)stringBuilder); + case 2: + _206E_206D_200F_202D_206D_200F_200C_206F_202E_200B_206B_206D_200B_202C_206A_202E_206A_206F_200B_200F_200E_206C_206A_200D_202D_200C_202C_206F_202B_202C_200D_200B_206D_202B_200D_206C_200C_200C_206D_200E_202E(stringBuilder, ' '); + num = 270539835; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_200F_200F_200D_206B_202C_206F_202D_206C_206D_202B_202D_200C_200C_206E_202C_202D_200F_200E_200E_202A_206F_202A_206F_200D_202E_206A_200B_206A_206C_206F_206A_200B_202E_202E_200C_200C_202C_206D_206D_202E(); + _200D_202D_202D_202E_202E_200E_206D_200E_200D_206D_206F_200B_202E_206B_202B_200F_200F_202E_206F_206F_202B_202D_202B_206C_200C_206C_206D_200C_202B_206F_200B_200D_200D_202C_200D_202B_202A_206F_206C_202D_202E(builder, global::_003CModule_003E._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(-1558737258)); + _200D_202D_202D_202E_202E_200E_206D_200E_200D_206D_206F_200B_202E_206B_202B_200F_200F_202E_206F_206F_202B_202D_202B_206C_200C_206C_206D_200C_202B_206F_200B_200D_200D_202C_200D_202B_202A_206F_206C_202D_202E(builder, CurrentIntegrity.ToString()); + _200D_202D_202D_202E_202E_200E_206D_200E_200D_206D_206F_200B_202E_206B_202B_200F_200F_202E_206F_206F_202B_202D_202B_206C_200C_206C_206D_200C_202B_206F_200B_200D_200D_202C_200D_202B_202A_206F_206C_202D_202E(builder, global::_003CModule_003E._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(-799260044)); + _200D_202D_202D_202E_202E_200E_206D_200E_200D_206D_206F_200B_202E_206B_202B_200F_200F_202E_206F_206F_202B_202D_202B_206C_200C_206C_206D_200C_202B_206F_200B_200D_200D_202C_200D_202B_202A_206F_206C_202D_202E(builder, MaxIntegrity.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(NodeCondition? other) + { + int num = (((object)this == other) ? (-459204652) : (-459204650)); + while (true) + { + int num2 = num; + int num3 = -459204651; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 6: + return EqualityComparer.Default.Equals(MaxIntegrity, other.MaxIntegrity); + case 5: + num = ((!EqualityComparer.Default.Equals(CurrentIntegrity, other.CurrentIntegrity)) ? (-459204649) : (-459204653)); + break; + case 3: + num = (((object)other == null) ? (-459204649) : (-459204655)); + break; + case 1: + return true; + case 0: + num = -459204650; + break; + case 4: + num = ((!_206B_206F_200F_202A_206F_206D_206D_206C_206A_200C_200D_200C_206C_202D_206D_202C_202D_206A_202E_206C_206A_202E_200F_202A_200F_202A_202B_200C_202A_206B_200B_206B_200F_200B_206B_200B_206B_202D_206F_202D_202E(EqualityContract, other.EqualityContract)) ? (-459204649) : (-459204656)); + break; + } + } + } + + bool IEquatable.Equals(NodeCondition? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206A_206A_200F_202A_200D_206F_202D_206D_200D_200D_202E_200B_206D_206A_200B_200F_202D_200F_206C_200B_202A_202A_200B_202A_200D_206C_202E_202A_206C_200B_202C_200F_206D_206B_206C_202B_202D_202E_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206E_202E_200C_202B_200E_206D_200D_202B_206B_206D_206F_202B_206D_202E_206A_206F_206F_202E_202D_202E_202A_206F_206E_200E_202D_202D_206B_206D_200E_200C_200F_206E_202D_202E_200E_202C_206E_206A_206A_202E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200D_202D_202D_202E_202E_200E_206D_200E_200D_206D_206F_200B_202E_206B_202B_200F_200F_202E_206F_206F_202B_202D_202B_206C_200C_206C_206D_200C_202B_206F_200B_200D_200D_202C_200D_202B_202A_206F_206C_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206E_206D_200F_202D_206D_200F_200C_206F_202E_200B_206B_206D_200B_202C_206A_202E_206A_206F_200B_200F_200E_206C_206A_200D_202D_200C_202C_206F_202B_202C_200D_200B_206D_202B_200D_206C_200C_200C_206D_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206B_200E_202D_206F_206C_200E_206C_206A_200B_200D_206C_202C_202B_202E_206E_206E_206C_200F_206E_200F_206B_206B_200E_206E_202B_202D_206C_202C_206F_206E_200F_202E_200C_200B_202A_200E_200C_200E_206C_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206D_200F_200F_200D_206B_202C_206F_202D_206C_206D_202B_202D_200C_200C_206E_202C_202D_200F_200E_200E_202A_206F_202A_206F_200D_202E_206A_200B_206A_206C_206F_206A_200B_202E_202E_200C_200C_202C_206D_206D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _206B_206F_200F_202A_206F_206D_206D_206C_206A_200C_200D_200C_206C_202D_206D_202C_202D_206A_202E_206C_206A_202E_200F_202A_200F_202A_202B_200C_202A_206B_200B_206B_200F_200B_206B_200B_206B_202D_206F_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } } diff --git a/Questionable/Questionable.Controller.Steps.Gathering/DoGatherCollectable.cs b/Questionable/Questionable.Controller.Steps.Gathering/DoGatherCollectable.cs index e6cb13a8..f56d1ecf 100644 --- a/Questionable/Questionable.Controller.Steps.Gathering/DoGatherCollectable.cs +++ b/Questionable/Questionable.Controller.Steps.Gathering/DoGatherCollectable.cs @@ -1,9 +1,18 @@ +using System; using System.Collections.Generic; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Game.Text; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Component.GUI; +using LLib.GameData; using LLib.GameUI; +using Lumina.Excel; +using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; using Questionable.Functions; using Questionable.Model.Gathering; @@ -15,6 +24,16 @@ internal static class DoGatherCollectable { internal sealed record Task(GatheringController.GatheringRequest Request, GatheringNode Node, bool RevisitRequired) : ITask, IRevisitAware { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_200D_202D_206C_206C_206E_202C_200E_200C_206B_200D_200B_206F_202C_206B_206C_206B_202B_202D_200F_206C_200C_202B_206B_206F_206C_206B_200B_206A_202A_200D_202A_206F_200E_202C_200D_206C_202E_200C_206E_202E(typeof(Task).TypeHandle); + } + } + public bool RevisitTriggered { get; private set; } public void OnRevisit() @@ -22,179 +41,793 @@ internal static class DoGatherCollectable RevisitTriggered = true; } + void IRevisitAware.OnRevisit() + { + //ILSpy generated this explicit interface implementation from .override directive in OnRevisit + this.OnRevisit(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"DoGatherCollectable({SeIconChar.Collectible.ToIconString()}/{Request.Collectability}){(RevisitRequired ? " if revist" : "")}"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(22, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1601908547)); + defaultInterpolatedStringHandler.AppendFormatted(_202D_202B_206C_202D_206D_202C_202A_200E_206E_200B_202E_202D_200C_200B_202A_200F_200C_200D_206F_206E_206B_206A_206B_200F_200E_206E_200B_206B_200C_200E_206A_202D_200E_206F_206C_200E_202E_200E_200C_206A_202E(SeIconChar.Collectible)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(503298330)); + defaultInterpolatedStringHandler.AppendFormatted(Request.Collectability); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + defaultInterpolatedStringHandler.AppendFormatted(RevisitRequired ? global::_003CModule_003E._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(-1240368665) : global::_003CModule_003E._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(1200342830)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_200E_200D_200F_202A_202D_200D_206B_206E_202A_202A_206A_202B_200F_206B_200C_202D_206B_202B_206F_206F_200D_206A_206C_202A_202A_200F_206F_200D_202D_200B_202A_200E_202C_200C_206D_206F_206A_200E_202B_202E(); + _202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(builder, global::_003CModule_003E._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(1124844995)); + _202D_202B_200C_200F_200D_200F_200E_200C_200D_202A_206C_206E_206A_200D_202B_206C_200D_202B_206A_206C_200F_202D_202A_200C_206B_202A_206C_206F_202A_200E_206A_206A_202D_200C_202E_202C_200E_202A_202D_206E_202E(builder, (object)Request); + _202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(builder, global::_003CModule_003E._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(-722402907)); + _202D_202B_200C_200F_200D_200F_200E_200C_200D_202A_206C_206E_206A_200D_202B_206C_200D_202B_206A_206C_200F_202D_202A_200C_206B_202A_206C_206F_202A_200E_206A_206A_202D_200C_202E_202C_200E_202A_202D_206E_202E(builder, (object)Node); + _202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(builder, global::_003CModule_003E._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(849152591)); + _202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(builder, RevisitRequired.ToString()); + _202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(builder, global::_003CModule_003E._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(-145983723)); + _202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(builder, RevisitTriggered.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? 1037561831 : 1037561826); + while (true) + { + int num2 = num; + int num3 = 1037561830; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + num = ((!EqualityComparer.Default.Equals(Node, other.Node)) ? 1037561825 : 1037561829); + break; + case 8: + return EqualityComparer.Default.Equals(RevisitTriggered, other.RevisitTriggered); + case 2: + num = ((!EqualityComparer.Default.Equals(Request, other.Request)) ? 1037561825 : 1037561824); + break; + case 5: + num = ((!_206A_202E_202E_206D_206E_206B_200F_200D_200E_206A_200B_202D_202C_206C_202A_200D_202B_200F_206C_202B_206F_206D_202A_206F_202E_206B_206B_202A_202A_202C_202E_200D_202B_206B_206B_206C_206F_202D_200C_202D_202E(EqualityContract, other.EqualityContract)) ? 1037561825 : 1037561828); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(RevisitRequired, other.RevisitRequired)) ? 1037561825 : 1037561838); + break; + case 0: + num = 1037561826; + break; + case 4: + num = (((object)other == null) ? 1037561825 : 1037561827); + break; + case 7: + return false; + case 1: + return true; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_200D_202D_206C_206C_206E_202C_200E_200C_206B_200D_200B_206F_202C_206B_206C_206B_202B_202D_200F_206C_200C_202B_206B_206F_206C_206B_200B_206A_202A_200D_202A_206F_200E_202C_200D_206C_202E_200C_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static string _202D_202B_206C_202D_206D_202C_202A_200E_206E_200B_202E_202D_200C_200B_202A_200F_200C_200D_206F_206E_206B_206A_206B_200F_200E_206E_200B_206B_200C_200E_206A_202D_200E_206F_206C_200E_202E_200E_200C_206A_202E(SeIconChar P_0) + { + return P_0.ToIconString(); + } + + static void _200B_200E_200D_200F_202A_202D_200D_206B_206E_202A_202A_206A_202B_200F_206B_200C_202D_206B_202B_206F_206F_200D_206A_206C_202A_202A_200F_206F_200D_202D_200B_202A_200E_202C_200C_206D_206F_206A_200E_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202D_202B_200C_200F_200D_200F_200E_200C_200D_202A_206C_206E_206A_200D_202B_206C_200D_202B_206A_206C_200F_202D_202A_200C_206B_202A_206C_206F_202A_200E_206A_206A_202D_200C_202E_202C_200E_202A_202D_206E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206A_202E_202E_206D_206E_206B_200F_200D_200E_206A_200B_202D_202C_206C_202A_200D_202B_200F_206C_202B_206F_206D_202A_206F_202E_206B_206B_202A_202A_202C_202E_200D_202B_206B_206B_206C_206F_202D_200C_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - 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; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe override ETaskResult Update() { - if (base.Task.RevisitRequired && !base.Task.RevisitTriggered) + int num = ((!base.Task.RevisitRequired) ? (-1306248143) : (-1306248180)); + NodeCondition nodeCondition = default(NodeCondition); + AtkUnitBase* addonPtr = default(AtkUnitBase*); + bool? flag = default(bool?); + EAction result = default(EAction); + IGameObject gameObject = default(IGameObject); + Task task = default(Task); + while (true) { - logger.LogInformation("No revisit"); - return ETaskResult.TaskComplete; - } - if (gatheringController.HasNodeDisappeared(base.Task.Node)) - { - logger.LogInformation("Node disappeared"); - return ETaskResult.TaskComplete; - } - if (gatheringController.HasRequestedItems()) - { - if (gameGui.TryGetAddonByName("GatheringMasterpiece", out var addonPtr)) + int num2 = num; + int num3 = -1306248192; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - addonPtr->FireCallbackInt(1); + default: + continue; + case 50: + _actionQueue = GetNextActions(nodeCondition); + if (_actionQueue != null) + { + num = -1306248176; + continue; + } + break; + case 36: return ETaskResult.StillRunning; - } - if (gameGui.TryGetAddonByName("Gathering", out addonPtr)) + case 18: { - addonPtr->FireCallbackInt(-1); + uint uInt3 = addonPtr->AtkValues[62].UInt; + uint uInt4 = addonPtr->AtkValues[63].UInt; + _206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(-1155490632), new object[2] { uInt3, uInt4 }); + num = ((uInt3 == 0) ? (-1306248152) : (-1306248189)); + continue; + } + case 7: + _expectedScrutiny = flag; + _206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(-1760938028), new object[1] { result }); + _actionQueue.Dequeue(); + num = -1306248164; + continue; + case 51: + _206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(509991167), Array.Empty()); return ETaskResult.TaskComplete; - } - } - if (gameFunctions.GetFreeInventorySlots() == 0) - { - throw new TaskException("Inventory full"); - } - NodeCondition nodeCondition = GetNodeCondition(); - if (nodeCondition == null) - { - return ETaskResult.TaskComplete; - } - if (_expectedScrutiny.HasValue) - { - if (nodeCondition.ScrutinyActive != _expectedScrutiny) - { + case 30: + num = ((!gameFunctions.InteractWith(gameObject)) ? (-1306248136) : (-1306248191)); + continue; + case 17: + num = ((!task.RevisitRequired) ? (-1306248182) : (-1306248173)); + continue; + case 4: + num = -1306248180; + continue; + case 33: return ETaskResult.StillRunning; - } - _expectedScrutiny = null; - return ETaskResult.StillRunning; - } - if (_actionQueue != null && _actionQueue.TryPeek(out var result)) - { - if (gameFunctions.UseAction(result)) + case 45: + num = ((_actionQueue == null) ? (-1306248172) : (-1306248169)); + continue; + case 9: + num = ((!_206E_206B_202D_202E_202B_200F_200B_206F_200C_206A_206D_206E_202A_202E_200B_200C_202A_200B_200E_202E_200B_206B_206F_200F_206D_202A_206E_206F_206C_202C_206D_206E_206E_206D_206D_200D_206C_202D_202E_202A_202E(condition, ConditionFlag.Gathering)) ? (-1306248177) : (-1306248148)); + continue; + case 0: + num = ((!gameFunctions.UseAction(result)) ? (-1306248164) : (-1306248163)); + continue; + case 35: + num = ((!_wasGathering) ? (-1306248154) : (-1306248160)); + continue; + case 28: + return ETaskResult.StillRunning; + case 42: + throw new TaskException(global::_003CModule_003E._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(1562567850)); + case 49: + task = base.Task; + num = (((object)task == null) ? (-1306248161) : (-1306248165)); + continue; + case 14: + num = ((!_expectedScrutiny.HasValue) ? (-1306248147) : (-1306248170)); + continue; + case 56: + _nextRevisitInteractionAt = _206E_200B_200B_200B_206A_202E_200E_206A_202D_206E_206F_206B_206B_200C_206B_202E_206B_206D_206A_206D_206C_200F_206A_206E_206F_202C_206F_206F_202B_200C_200E_200E_202C_206B_200C_202A_202D_200F_202D_202C_202E() + 1000; + num = -1306248144; + continue; + case 26: + num = ((!gatheringController.HasNodeDisappeared(base.Task.Node)) ? (-1306248183) : (-1306248187)); + continue; + case 37: + task = base.Task; + num = (((object)task == null) ? (-1306248182) : (-1306248175)); + continue; + case 40: + return ETaskResult.StillRunning; + case 23: + num = ((!_actionQueue.TryPeek(out result)) ? (-1306248172) : (-1306248192)); + continue; + case 27: + num = ((!task.RevisitRequired) ? (-1306248161) : (-1306248168)); + continue; + case 55: + flag = true; + num = -1306248185; + continue; + case 6: + num = (_206E_206B_202D_202E_202B_200F_200B_206F_200C_206A_206D_206E_202A_202E_200B_200C_202A_200B_200E_202E_200B_206B_206F_200F_206D_202A_206E_206F_206C_202C_206D_206E_206E_206D_206D_200D_206C_202D_202E_202A_202E(condition, ConditionFlag.Gathering) ? (-1306248156) : (-1306248145)); + continue; + case 15: + num = ((!gatheringController.HasRequestedItems()) ? (-1306248138) : (-1306248153)); + continue; + case 22: { - bool? expectedScrutiny; + bool scrutinyActive = nodeCondition.ScrutinyActive; + flag = _expectedScrutiny; + num = ((scrutinyActive == flag) ? (-1306248190) : (-1306248158)); + continue; + } + case 20: + if (nodeCondition.CollectabilityToGoal(base.Task.Request.Collectability) != 0) + { + num = -1306248142; + continue; + } + break; + case 29: switch (result) { case EAction.ScrutinyMiner: case EAction.ScrutinyBotanist: - expectedScrutiny = true; break; + default: + goto IL_0540; case EAction.ScourMiner: case EAction.MeticulousMiner: case EAction.ScourBotanist: case EAction.MeticulousBotanist: - expectedScrutiny = false; - break; - default: - expectedScrutiny = null; - break; - } - _expectedScrutiny = expectedScrutiny; - logger.LogInformation("Used action {Action} on node", result); - _actionQueue.Dequeue(); - } - return ETaskResult.StillRunning; - } - if (nodeCondition.CollectabilityToGoal(base.Task.Request.Collectability) != 0) - { - _actionQueue = GetNextActions(nodeCondition); - if (_actionQueue != null) - { - foreach (EAction item in _actionQueue) - { - logger.LogInformation("Next Actions {Action}", item); + goto IL_0627; + case (EAction)22183: + case (EAction)22187: + goto IL_075a; } + goto case 55; + case 5: + _206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(670927983), Array.Empty()); + return ETaskResult.TaskComplete; + case 48: return ETaskResult.StillRunning; + case 32: + return ETaskResult.TaskComplete; + case 8: + gameObject = objectTable.FirstOrDefault(delegate(IGameObject x) + { + int num8 = ((_202E_200C_202C_202B_200F_202C_206B_202A_200B_200F_202C_200B_206E_202A_202B_202E_206B_206C_202C_202A_202C_202E_206E_200B_202C_202C_200F_202A_206C_206B_206B_202C_206E_206C_202B_206C_202C_200E_202C_202D_202E(x) != _202C_202A_202D_200E_206B_200D_206B_200B_206E_202C_200F_206C_206E_202D_202B_206A_206A_202A_200D_206B_206F_202D_200D_200C_206A_202E_206C_200C_200C_202D_202C_202E_202A_200F_206A_200D_206B_200D_200B_206A_202E(base.Task.Node)) ? 101007406 : 101007405); + while (true) + { + int num9 = num8; + int num10 = 101007407; + int num11 = num9; + int num12 = num11 + num10; + int num13 = num11 & num10; + switch (num12 - (num13 + num13)) + { + case 0: + goto IL_0058; + case 1: + return false; + case 2: + return _202A_206A_202A_200C_206B_202E_200E_206E_206E_200D_206C_202B_206B_206C_206D_202C_202B_200B_200C_200F_200B_202B_202D_206C_200B_200F_206F_202D_200B_200E_206E_202E_202B_200E_202C_202B_202C_206B_200D_202E_202E(x); + } + continue; + IL_0058: + num8 = 101007405; + } + }); + num = ((gameObject == null) ? (-1306248136) : (-1306248162)); + continue; + case 19: + num = (task.RevisitTriggered ? (-1306248139) : (-1306248182)); + continue; + case 3: + addonPtr->FireCallbackInt(1); + num = -1306248152; + continue; + case 47: + return ETaskResult.TaskComplete; + case 24: + num = ((!task.RevisitTriggered) ? (-1306248161) : (-1306248179)); + continue; + case 31: + num = (base.Task.RevisitTriggered ? (-1306248183) : (-1306248166)); + continue; + case 21: + goto IL_0627; + case 1: + _206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(866221755), new object[1] { _202C_202A_202D_200E_206B_200D_206B_200B_206E_202C_200F_206C_206E_202D_202B_206A_206A_202A_200D_206B_206F_202D_200D_200C_206A_202E_206C_200C_200C_202D_202C_202E_202A_200F_206A_200D_206B_200D_200B_206A_202E(base.Task.Node) }); + num = -1306248136; + continue; + case 52: + { + uint uInt = addonPtr->AtkValues[109].UInt; + uint uInt2 = addonPtr->AtkValues[110].UInt; + _206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(-749226007), new object[2] { uInt, uInt2 }); + num = ((uInt == 0) ? (-1306248159) : (-1306248151)); + continue; } + case 11: + nodeCondition = GetNodeCondition(); + num = ((!(nodeCondition == null)) ? (-1306248178) : (-1306248155)); + continue; + case 39: + num = ((!gameGui.TryGetAddonByName(global::_003CModule_003E._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(396218849), out addonPtr)) ? (-1306248149) : (-1306248174)); + continue; + case 25: + goto IL_075a; + case 46: + num = -1306248167; + continue; + case 44: + _wasGathering = true; + num = -1306248177; + continue; + case 54: + num = ((gameFunctions.GetFreeInventorySlots() != 0) ? (-1306248181) : (-1306248150)); + continue; + case 2: + _expectedScrutiny = null; + return ETaskResult.StillRunning; + case 38: + num = ((_206E_200B_200B_200B_206A_202E_200E_206A_202D_206E_206F_206B_206B_200C_206B_202E_206B_206D_206A_206D_206C_200F_206A_206E_206F_202C_206F_206F_202B_200C_200E_200E_202C_206B_200C_202A_202D_200F_202D_202C_202E() < _nextRevisitInteractionAt) ? (-1306248144) : (-1306248184)); + continue; + case 12: + num = (base.Task.RevisitTriggered ? (-1306248143) : (-1306248141)); + continue; + case 53: + return ETaskResult.StillRunning; + case 13: + num = (_206E_206B_202D_202E_202B_200F_200B_206F_200C_206A_206D_206E_202A_202E_200B_200C_202A_200B_200E_202E_200B_206B_206F_200F_206D_202A_206E_206F_206C_202C_206D_206E_206E_206D_206D_200D_206C_202D_202E_202A_202E(condition, ConditionFlag.Gathering) ? (-1306248161) : (-1306248157)); + continue; + case 10: + return ETaskResult.TaskComplete; + case 41: + addonPtr->FireCallbackInt(-1); + num = -1306248159; + continue; + case 43: + num = ((!gameGui.TryGetAddonByName(global::_003CModule_003E._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(2134680438), out addonPtr)) ? (-1306248186) : (-1306248140)); + continue; + case 34: + return ETaskResult.StillRunning; + case 16: + { + using (Queue.Enumerator enumerator = _actionQueue.GetEnumerator()) + { + num = -1901885352; + while (true) + { + int num7 = num; + num3 = -1901885351; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1901885352; + break; + case 1: + num = (enumerator.MoveNext() ? (-1901885349) : (-1901885350)); + break; + case 2: + { + EAction current = enumerator.Current; + _206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(1559757228), new object[1] { current }); + num = -1901885352; + break; + } + case 3: + goto end_IL_08a8; + } + continue; + end_IL_08a8: + break; + } + } + return ETaskResult.StillRunning; + } + IL_075a: + flag = null; + num = -1306248185; + continue; + IL_0627: + flag = false; + num = -1306248185; + continue; + IL_0540: + num = -1306248146; + continue; + } + break; } _actionQueue = new Queue(); _actionQueue.Enqueue(PickAction(EAction.CollectMiner, EAction.CollectBotanist)); return ETaskResult.StillRunning; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe NodeCondition? GetNodeCondition() { - if (gameGui.TryGetAddonByName("GatheringMasterpiece", out var addonPtr)) + AtkUnitBase* addonPtr; + int num = ((!gameGui.TryGetAddonByName(global::_003CModule_003E._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(206776723), out addonPtr)) ? 460399678 : 460399677); + while (true) { - AtkValue* atkValues = addonPtr->AtkValues; - return new NodeCondition(atkValues[13].UInt, atkValues[14].UInt, atkValues[62].UInt, atkValues[63].UInt, atkValues[54].Bool, atkValues[48].UInt, atkValues[51].UInt); + int num2 = num; + int num3 = 460399676; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return null; + case 1: + { + AtkValue* atkValues = addonPtr->AtkValues; + return new NodeCondition(atkValues[13].UInt, atkValues[14].UInt, atkValues[62].UInt, atkValues[63].UInt, atkValues[54].Bool, atkValues[48].UInt, atkValues[51].UInt); + } + case 0: + goto IL_00e2; + } + continue; + IL_00e2: + num = 460399677; } - return null; } + [MethodImpl(MethodImplOptions.NoInlining)] private Queue GetNextActions(NodeCondition nodeCondition) { - uint num = (objectTable[0] as ICharacter)?.CurrentGp ?? 0; - logger.LogTrace("Getting next actions (with {GP} GP, {MeticulousCollectability}~ meticulous, {ScourCollectability}~ scour)", num, nodeCondition.CollectabilityFromMeticulous, nodeCondition.CollectabilityFromScour); + IPlayerCharacter playerCharacter = _202C_202B_206D_200C_206C_202C_206A_202A_202C_206D_200C_206E_202E_206A_200D_200C_202C_200C_200B_206C_200E_202E_200E_202D_202E_206E_202D_200E_202D_202D_200F_206A_202A_206A_206B_202B_206B_202B_200B_206A_202E(objectTable); + uint num = ((playerCharacter != null) ? _202C_200B_202B_202B_206A_202E_200F_200B_206E_200C_206B_200F_206D_200D_200D_206F_206A_202E_202B_206A_200F_202C_202A_200B_206F_200F_202C_206F_206F_202D_206C_200D_206C_206E_206D_200D_200F_202A_200D_202A_202E((ICharacter)playerCharacter) : 0u); + _206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_202E((ILogger)logger, global::_003CModule_003E._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(-600944510), new object[3] { num, nodeCondition.CollectabilityFromMeticulous, nodeCondition.CollectabilityFromScour }); Queue queue = new Queue(); uint num2 = nodeCondition.CollectabilityToGoal(base.Task.Request.Collectability); - if (num2 <= nodeCondition.CollectabilityFromMeticulous) + int num3 = ((num2 > nodeCondition.CollectabilityFromMeticulous) ? 1622338187 : 1622338185); + while (true) { - logger.LogTrace("Can get all needed {NeededCollectability} from {Collectability}~ meticulous", num2, nodeCondition.CollectabilityFromMeticulous); - queue.Enqueue(PickAction(EAction.MeticulousMiner, EAction.MeticulousBotanist)); - return queue; + int num4 = num3; + int num5 = 1622338188; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 1: + _206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_202E((ILogger)logger, global::_003CModule_003E._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(-1982406925), new object[2] { num2, nodeCondition.CollectabilityFromMeticulous }); + queue.Enqueue(PickAction(EAction.MeticulousMiner, EAction.MeticulousBotanist)); + return queue; + case 7: + num3 = ((num2 > nodeCondition.CollectabilityFromScour) ? 1622338191 : 1622338184); + break; + case 5: + _206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_202E((ILogger)logger, global::_003CModule_003E._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(1892669606), new object[2] { num2, nodeCondition.CollectabilityFromMeticulous }); + queue.Enqueue(PickAction(EAction.MeticulousMiner, EAction.MeticulousBotanist)); + return queue; + case 8: + num3 = ((!nodeCondition.ScrutinyActive) ? 1622338181 : 1622338189); + break; + case 4: + _206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_202E((ILogger)logger, global::_003CModule_003E._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(2113421034), new object[2] { num2, nodeCondition.CollectabilityFromScour }); + queue.Enqueue(PickAction(EAction.ScourMiner, EAction.ScourBotanist)); + return queue; + case 3: + num3 = (nodeCondition.ScrutinyActive ? 1622338180 : 1622338190); + break; + case 2: + num3 = ((num < 200) ? 1622338180 : 1622338186); + break; + case 6: + _206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_202E((ILogger)logger, global::_003CModule_003E._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(-837817091), new object[1] { num2 }); + queue.Enqueue(PickAction(EAction.ScrutinyMiner, EAction.ScrutinyBotanist)); + return queue; + case 9: + _206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_202E((ILogger)logger, global::_003CModule_003E._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(1121451143), new object[2] { num2, nodeCondition.CollectabilityFromScour }); + queue.Enqueue(PickAction(EAction.ScourMiner, EAction.ScourBotanist)); + return queue; + case 0: + num3 = 1622338185; + break; + } } - if (num2 <= nodeCondition.CollectabilityFromScour) - { - logger.LogTrace("Can get all needed {NeededCollectability} from {Collectability}~ scour", num2, nodeCondition.CollectabilityFromScour); - queue.Enqueue(PickAction(EAction.ScourMiner, EAction.ScourBotanist)); - return queue; - } - if (!nodeCondition.ScrutinyActive && num >= 200) - { - logger.LogTrace("Still missing {NeededCollectability} collectability, scrutiny inactive", num2); - queue.Enqueue(PickAction(EAction.ScrutinyMiner, EAction.ScrutinyBotanist)); - return queue; - } - if (nodeCondition.ScrutinyActive) - { - logger.LogTrace("Scrutiny active, need {NeededCollectability} and we expect {Collectability}~ meticulous", num2, nodeCondition.CollectabilityFromMeticulous); - queue.Enqueue(PickAction(EAction.MeticulousMiner, EAction.MeticulousBotanist)); - return queue; - } - logger.LogTrace("Scrutiny active, 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) + IPlayerCharacter playerCharacter = _202C_202B_206D_200C_206C_202C_206A_202A_202C_206D_200C_206E_202E_206A_200D_200C_202C_200C_200B_206C_200E_202E_200E_202D_202E_206E_202D_200E_202D_202D_200F_206A_202A_206A_206B_202B_206B_202B_200B_206A_202E(objectTable); + uint? num = ((playerCharacter != null) ? new uint?(_202C_202B_200F_202A_206B_200E_206D_200D_206D_202C_202E_202C_200B_206D_200E_200D_200E_202A_202B_200D_206D_202B_200B_206C_200E_202E_200E_206B_206A_200B_200E_206B_200E_200E_200C_202B_200F_202C_202C_202A_202E((ICharacter)playerCharacter).RowId) : ((uint?)null)); + int num2 = (num.HasValue ? (-2144175217) : (-2144175223)); + while (true) { - return minerAction; + int num3 = num2; + int num4 = -2144175221; + int num5 = num3; + EClassJob? obj; + switch ((num5 | num4) - (num5 & num4)) + { + case 4: + obj = (EClassJob)num.GetValueOrDefault(); + goto IL_0097; + case 1: + return minerAction; + case 0: + num2 = -2144175223; + break; + case 3: + return botanistAction; + case 2: + { + obj = null; + goto IL_0097; + } + IL_0097: + num2 = ((obj != EClassJob.Miner) ? (-2144175224) : (-2144175222)); + break; + } } - return botanistAction; } public override bool ShouldInterruptOnDamage() { return false; } + + static void _206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206E_206B_202D_202E_202B_200F_200B_206F_200C_206A_206D_206E_202A_202E_200B_200C_202A_200B_200E_202E_200B_206B_206F_200F_206D_202A_206E_206F_206C_202C_206D_206E_206E_206D_206D_200D_206C_202D_202E_202A_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static long _206E_200B_200B_200B_206A_202E_200E_206A_202D_206E_206F_206B_206B_200C_206B_202E_206B_206D_206A_206D_206C_200F_206A_206E_206F_202C_206F_206F_202B_200C_200E_200E_202C_206B_200C_202A_202D_200F_202D_202C_202E() + { + return Environment.TickCount64; + } + + static uint _202C_202A_202D_200E_206B_200D_206B_200B_206E_202C_200F_206C_206E_202D_202B_206A_206A_202A_200D_206B_206F_202D_200D_200C_206A_202E_206C_200C_200C_202D_202C_202E_202A_200F_206A_200D_206B_200D_200B_206A_202E(GatheringNode P_0) + { + return P_0.DataId; + } + + static IPlayerCharacter _202C_202B_206D_200C_206C_202C_206A_202A_202C_206D_200C_206E_202E_206A_200D_200C_202C_200C_200B_206C_200E_202E_200E_202D_202E_206E_202D_200E_202D_202D_200F_206A_202A_206A_206B_202B_206B_202B_200B_206A_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static uint _202C_200B_202B_202B_206A_202E_200F_200B_206E_200C_206B_200F_206D_200D_200D_206F_206A_202E_202B_206A_200F_202C_202A_200B_206F_200F_202C_206F_206F_202D_206C_200D_206C_206E_206D_200D_200F_202A_200D_202A_202E(ICharacter P_0) + { + return P_0.CurrentGp; + } + + static void _206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static RowRef _202C_202B_200F_202A_206B_200E_206D_200D_206D_202C_202E_202C_200B_206D_200E_200D_200E_202A_202B_200D_206D_202B_200B_206C_200E_202E_200E_206B_206A_200B_200E_206B_200E_200E_200C_202B_200F_202C_202C_202A_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static uint _202E_200C_202C_202B_200F_202C_206B_202A_200B_200F_202C_200B_206E_202A_202B_202E_206B_206C_202C_202A_202C_202E_206E_200B_202C_202C_200F_202A_206C_206B_206B_202C_206E_206C_202B_206C_202C_200E_202C_202D_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static bool _202A_206A_202A_200C_206B_202E_200E_206E_206E_200D_206C_202B_206B_206C_206D_202C_202B_200B_200C_200F_200B_202B_202D_206C_200B_200F_206F_202D_200B_200E_206E_202E_202B_200E_202C_202B_202C_206B_200D_202E_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } } private sealed record NodeCondition(uint CurrentCollectability, uint MaxCollectability, uint CurrentIntegrity, uint MaxIntegrity, bool ScrutinyActive, uint CollectabilityFromScour, uint CollectabilityFromMeticulous) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_206E_206D_206E_206E_202E_206C_206A_206D_202C_206D_206A_202D_202C_200F_202A_202A_202D_200F_206E_206C_206A_206E_200D_202C_200D_206B_206D_202C_206D_202B_200E_206E_200C_202E_200B_206F_202E_202D_200D_202E(typeof(NodeCondition).TypeHandle); + } + } + public uint CollectabilityToGoal(uint goal) { - if (goal >= CurrentCollectability) + int num = ((goal < CurrentCollectability) ? (-1343525975) : (-1343525974)); + while (true) { - return goal - CurrentCollectability; + int num2 = num; + int num3 = -1343525973; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return (CurrentCollectability == 0) ? 1u : 0u; + case 1: + return goal - CurrentCollectability; + case 0: + goto IL_005c; + } + continue; + IL_005c: + num = -1343525974; } - return (CurrentCollectability == 0) ? 1u : 0u; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206E_202C_200C_206D_200D_202C_202E_206A_206D_206F_202A_202C_206D_202A_200C_206F_206C_202A_206D_202B_202A_202B_200B_206D_202D_202C_206B_206C_200B_206C_202A_200C_202E_202D_206E_206D_202E_206E_200B_206F_202E(); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(stringBuilder, global::_003CModule_003E._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(1102678348)); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? 376930465 : 376930466); + while (true) + { + int num2 = num; + int num3 = 376930464; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _202C_206D_206A_202D_206B_202E_202C_206C_200D_200D_202B_206D_200C_202D_202C_202D_202C_200E_202D_202E_206A_200D_206A_202E_200D_200C_200C_206A_200C_206A_202E_200F_206A_202B_206D_202C_206D_202D_200C_206C_202E(stringBuilder, '}'); + return _200B_202B_202A_200E_200E_200D_200E_200E_202A_200B_202E_202A_206B_202A_200D_206C_206C_206F_202D_202A_200C_202D_200D_206F_206A_202D_200E_206F_206E_200B_202A_200C_206A_206F_206A_206B_202A_202D_202C_202E_202E((object)stringBuilder); + case 2: + _202C_206D_206A_202D_206B_202E_202C_206C_200D_200D_202B_206D_200C_202D_202C_202D_202C_200E_202D_202E_206A_200D_206A_202E_200D_200C_200C_206A_200C_206A_202E_200F_206A_202B_206D_202C_206D_202D_200C_206C_202E(stringBuilder, ' '); + num = 376930465; + break; + case 0: + num = 376930466; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202D_200D_206D_200E_202C_200F_202D_206A_202A_206A_202E_206D_206C_200C_202B_200B_200B_206F_206E_200F_202D_200D_206E_206D_202D_206A_206B_206A_202D_206D_202E_206B_202A_202D_202C_200F_206D_200C_206F_200D_202E(); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, global::_003CModule_003E._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(-608021837)); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, CurrentCollectability.ToString()); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, global::_003CModule_003E._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(2066958103)); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, MaxCollectability.ToString()); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, global::_003CModule_003E._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(-706377363)); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, CurrentIntegrity.ToString()); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, global::_003CModule_003E._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(-634525791)); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, MaxIntegrity.ToString()); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, global::_003CModule_003E._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(742968729)); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, ScrutinyActive.ToString()); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, global::_003CModule_003E._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(506728788)); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, CollectabilityFromScour.ToString()); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, global::_003CModule_003E._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(-1577334643)); + _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, CollectabilityFromMeticulous.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(NodeCondition? other) + { + int num = (((object)this == other) ? (-1448578084) : (-1448578095)); + while (true) + { + int num2 = num; + int num3 = -1448578086; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((!EqualityComparer.Default.Equals(MaxIntegrity, other.MaxIntegrity)) ? (-1448578093) : (-1448578083)); + break; + case 11: + num = (((object)other == null) ? (-1448578093) : (-1448578088)); + break; + case 9: + return false; + case 4: + return EqualityComparer.Default.Equals(CollectabilityFromMeticulous, other.CollectabilityFromMeticulous); + case 0: + num = ((!EqualityComparer.Default.Equals(CollectabilityFromScour, other.CollectabilityFromScour)) ? (-1448578093) : (-1448578082)); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(CurrentIntegrity, other.CurrentIntegrity)) ? (-1448578093) : (-1448578085)); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(MaxCollectability, other.MaxCollectability)) ? (-1448578093) : (-1448578087)); + break; + case 5: + num = -1448578095; + break; + case 6: + return true; + case 10: + num = ((!EqualityComparer.Default.Equals(CurrentCollectability, other.CurrentCollectability)) ? (-1448578093) : (-1448578094)); + break; + case 2: + num = ((!_202D_206C_206A_206B_200B_200C_206F_200D_206B_206D_200B_206C_202A_206A_202E_206B_202E_206D_200E_206D_202A_200D_202A_200B_206F_202C_200C_206E_206F_206B_206A_200E_206B_200E_206D_206F_200B_202C_200D_200D_202E(EqualityContract, other.EqualityContract)) ? (-1448578093) : (-1448578096)); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(ScrutinyActive, other.ScrutinyActive)) ? (-1448578093) : (-1448578086)); + break; + } + } + } + + bool IEquatable.Equals(NodeCondition? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206A_206E_206D_206E_206E_202E_206C_206A_206D_202C_206D_206A_202D_202C_200F_202A_202A_202D_200F_206E_206C_206A_206E_200D_202C_200D_206B_206D_202C_206D_202B_200E_206E_200C_202E_200B_206F_202E_202D_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206E_202C_200C_206D_200D_202C_202E_206A_206D_206F_202A_202C_206D_202A_200C_206F_206C_202A_206D_202B_202A_202B_200B_206D_202D_202C_206B_206C_200B_206C_202A_200C_202E_202D_206E_206D_202E_206E_200B_206F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_206D_206A_202D_206B_202E_202C_206C_200D_200D_202B_206D_200C_202D_202C_202D_202C_200E_202D_202E_206A_200D_206A_202E_200D_200C_200C_206A_200C_206A_202E_200F_206A_202B_206D_202C_206D_202D_200C_206C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_202B_202A_200E_200E_200D_200E_200E_202A_200B_202E_202A_206B_202A_200D_206C_206C_206F_202D_202A_200C_202D_200D_206F_206A_202D_200E_206F_206E_200B_202A_200C_206A_206F_206A_206B_202A_202D_202C_202E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202D_200D_206D_200E_202C_200F_202D_206A_202A_206A_202E_206D_206C_200C_202B_200B_200B_206F_206E_200F_202D_200D_206E_206D_202D_206A_206B_206A_202D_206D_202E_206B_202A_202D_202C_200F_206D_200C_206F_200D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _202D_206C_206A_206B_200B_200C_206F_200D_206B_206D_200B_206C_202A_206A_202E_206B_202E_206D_200E_206D_202A_200D_202A_200B_206F_202C_200C_206E_206F_206B_206A_200E_206B_200E_206D_206F_200B_202C_200D_200D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } } diff --git a/Questionable/Questionable.Controller.Steps.Gathering/MoveToLandingLocation.cs b/Questionable/Questionable.Controller.Steps.Gathering/MoveToLandingLocation.cs index 63ebb1ad..82483ac5 100644 --- a/Questionable/Questionable.Controller.Steps.Gathering/MoveToLandingLocation.cs +++ b/Questionable/Questionable.Controller.Steps.Gathering/MoveToLandingLocation.cs @@ -1,6 +1,10 @@ +using System; +using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Game.ClientState.Objects.Enums; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Game.Text.SeStringHandling; @@ -18,38 +22,224 @@ internal static class MoveToLandingLocation { internal sealed record Task(ushort TerritoryId, bool FlyBetweenNodes, GatheringNode GatheringNode) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206D_206E_202C_202B_206A_200C_200C_200B_200B_206B_206F_206D_206C_202B_206D_200C_202B_206D_200C_206D_206E_202A_206B_200C_202A_206D_202E_202C_200F_206C_202E_202C_200E_202B_202D_202D_202B_206F_202B_200C_202E(typeof(Task).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Land/{FlyBetweenNodes}"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1985466382)); + defaultInterpolatedStringHandler.AppendFormatted(FlyBetweenNodes); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206B_206E_202E_202A_206D_200D_202D_200C_202C_202C_206D_206C_202A_206E_206B_202A_202A_206A_202E_206F_202A_200E_202E_202A_202D_206E_202E_202D_206A_202B_200B_206C_202B_200B_206B_206D_200F_206E_206F_206A_202E(); + _206A_206F_206A_200E_206A_206E_202D_206A_202A_200B_206B_202B_200C_206A_206C_202B_200F_206B_202E_202D_202B_206C_202A_200B_202A_206D_202D_206F_200E_200F_206F_202E_202C_202D_206E_200C_202C_202A_202D_202D_202E(builder, global::_003CModule_003E._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(-1030915870)); + _206A_206F_206A_200E_206A_206E_202D_206A_202A_200B_206B_202B_200C_206A_206C_202B_200F_206B_202E_202D_202B_206C_202A_200B_202A_206D_202D_206F_200E_200F_206F_202E_202C_202D_206E_200C_202C_202A_202D_202D_202E(builder, TerritoryId.ToString()); + _206A_206F_206A_200E_206A_206E_202D_206A_202A_200B_206B_202B_200C_206A_206C_202B_200F_206B_202E_202D_202B_206C_202A_200B_202A_206D_202D_206F_200E_200F_206F_202E_202C_202D_206E_200C_202C_202A_202D_202D_202E(builder, global::_003CModule_003E._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(1326412835)); + _206A_206F_206A_200E_206A_206E_202D_206A_202A_200B_206B_202B_200C_206A_206C_202B_200F_206B_202E_202D_202B_206C_202A_200B_202A_206D_202D_206F_200E_200F_206F_202E_202C_202D_206E_200C_202C_202A_202D_202D_202E(builder, FlyBetweenNodes.ToString()); + _206A_206F_206A_200E_206A_206E_202D_206A_202A_200B_206B_202B_200C_206A_206C_202B_200F_206B_202E_202D_202B_206C_202A_200B_202A_206D_202D_206F_200E_200F_206F_202E_202C_202D_206E_200C_202C_202A_202D_202D_202E(builder, global::_003CModule_003E._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(-41827092)); + _202C_200F_206A_206A_202C_200C_206F_206E_202E_202C_200C_206C_202B_202A_206B_206E_200D_206D_202A_200E_202E_200E_200C_202D_202C_202A_200F_206D_202A_202E_206C_202C_206F_202A_206F_200B_202B_202A_202A_206A_202E(builder, (object)GatheringNode); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? (-1523296508) : (-1523296507)); + while (true) + { + int num2 = num; + int num3 = -1523296508; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + num = -1523296507; + break; + case 6: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? (-1523296505) : (-1523296512)); + break; + case 3: + return false; + case 1: + num = (((object)other == null) ? (-1523296505) : (-1523296506)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(FlyBetweenNodes, other.FlyBetweenNodes)) ? (-1523296505) : (-1523296511)); + break; + case 0: + return true; + case 5: + return EqualityComparer.Default.Equals(GatheringNode, other.GatheringNode); + case 2: + num = ((!_200C_206D_202D_200F_206A_202B_206C_202A_206D_206E_202C_200F_202D_200D_206A_200D_202A_202E_206F_202B_206A_202A_206E_202A_206C_202C_202A_202B_206A_200E_206D_206D_202E_206E_202C_200C_200E_206D_202A_202C_202E(EqualityContract, other.EqualityContract)) ? (-1523296505) : (-1523296510)); + break; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206D_206E_202C_202B_206A_200C_200C_200B_200B_206B_206F_206D_206C_202B_206D_200C_202B_206D_200C_206D_206E_202A_206B_200C_202A_206D_202E_202C_200F_206C_202E_202C_200E_202B_202D_202D_202B_206F_202B_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206B_206E_202E_202A_206D_200D_202D_200C_202C_202C_206D_206C_202A_206E_206B_202A_202A_206A_202E_206F_202A_200E_202E_202A_202D_206E_202E_202D_206A_202B_200B_206C_202B_200B_206B_206D_200F_206E_206F_206A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206A_206F_206A_200E_206A_206E_202D_206A_202A_200B_206B_202B_200C_206A_206C_202B_200F_206B_202E_202D_202B_206C_202A_200B_202A_206D_202D_206F_200E_200F_206F_202E_202C_202D_206E_200C_202C_202A_202D_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_200F_206A_206A_202C_200C_206F_206E_202E_202C_200C_206C_202B_202A_206B_206E_200D_206D_202A_200E_202E_200E_200C_202D_202C_202A_200F_206D_202A_202E_206C_202C_206F_202A_206F_200B_202B_202A_202A_206A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_206D_202D_200F_206A_202B_206C_202A_206D_206E_202C_200F_202D_200D_206A_200D_202A_202E_206F_202B_206A_202A_206E_202A_206C_202C_202A_202B_206A_200E_206D_206D_202E_206E_202C_200C_200E_206D_202A_202C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class MoveToLandingLocationExecutor(MoveExecutor moveExecutor, GameFunctions gameFunctions, IObjectTable objectTable, ILogger logger) : TaskExecutor(), IToastAware, ITaskExecutor { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass6_0 + { + public IGameObject gameObject; + + internal bool _003CStart_003Eb__1(GatheringLocation x) + { + return Vector3.Distance(_206C_200F_206C_200E_202B_200C_202C_200E_206E_202D_202B_206C_202D_202B_202D_206E_200F_202E_206B_206E_200C_200D_202E_206E_200E_200C_202A_206C_206F_206B_206B_202D_200C_202D_200B_206F_200C_202A_206E_200F_202E(x), _206F_206F_200C_206F_206B_202A_200F_200D_206C_202D_206B_206B_202D_202C_200B_206F_206D_206D_206D_200C_200F_206F_206A_200D_202D_206D_206C_206D_202C_202D_202B_200D_200D_200E_200B_206E_202C_206E_202C_200D_202E(gameObject)) < 0.1f; + } + + static Vector3 _206C_200F_206C_200E_202B_200C_202C_200E_206E_202D_202B_206C_202D_202B_202D_206E_200F_202E_206B_206E_200C_200D_202E_206E_200E_200C_202A_206C_206F_206B_206B_202D_200C_202D_200B_206F_200C_202A_206E_200F_202E(GatheringLocation P_0) + { + return P_0.Position; + } + + static Vector3 _206F_206F_200C_206F_206B_202A_200F_200D_206C_202D_206B_206B_202D_202C_200B_206F_206D_206D_206D_200C_200F_206F_206A_200D_202D_206D_206C_206D_202C_202D_202B_200D_200D_200E_200B_206E_202C_206E_202C_200D_202E(IGameObject P_0) + { + return P_0.Position; + } + } + private ITask _moveTask; + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - GatheringLocation location = base.Task.GatheringNode.Locations.First(); - if (base.Task.GatheringNode.Locations.Count > 1) + GatheringLocation gatheringLocation = _202B_202D_206F_206B_202D_200B_200E_200F_200D_200F_202D_206E_200E_202C_200C_206C_206C_200F_202B_202C_200B_200E_202C_206F_206D_206A_200F_200D_206D_202D_200E_200B_206F_202D_206C_206C_206C_200D_206B_206C_202E(base.Task.GatheringNode).First(); + int num = ((_202B_202D_206F_206B_202D_200B_200E_200F_200D_200F_202D_206E_200E_202C_200C_206C_206C_200F_202B_202C_200B_200E_202C_206F_206D_206A_200F_200D_206D_202D_200E_200B_206F_202D_206C_206C_206C_200D_206B_206C_202E(base.Task.GatheringNode).Count <= 1) ? (-148025039) : (-148025036)); + _003C_003Ec__DisplayClass6_0 _003C_003Ec__DisplayClass6_ = default(_003C_003Ec__DisplayClass6_0); + Vector3 vector = default(Vector3); + while (true) { - IGameObject gameObject = objectTable.SingleOrDefault((IGameObject x) => x.ObjectKind == ObjectKind.GatheringPoint && x.BaseId == base.Task.GatheringNode.DataId && x.IsTargetable); - if (gameObject == null) + int num2 = num; + int num3 = -148025039; + int num4 = num2; + int num5; + bool flag; + ushort territoryId; + Vector3 destination; + float? stopDistance; + uint? dataId; + bool fly; + switch ((num4 | num3) - (num4 & num3)) { + case 3: + num5 = 0; + goto IL_0086; + case 4: return false; + case 5: + _003C_003Ec__DisplayClass6_ = new _003C_003Ec__DisplayClass6_0(); + _003C_003Ec__DisplayClass6_.gameObject = objectTable.SingleOrDefault(delegate(IGameObject x) + { + int num8 = ((_202D_202A_206A_206A_206A_202C_200E_206E_200D_202C_206A_206A_200E_206E_200E_200D_200C_202E_200E_200D_202B_206E_202A_200E_200C_202D_202A_200F_206A_206A_206D_200F_200C_202B_202D_206E_206D_206F_206B_202A_202E(x) != ObjectKind.GatheringPoint) ? 412306684 : 412306686); + while (true) + { + int num9 = num8; + int num10 = 412306687; + int num11 = num9; + int num12 = num11 + num10; + int num13 = num11 & num10; + switch (num12 - (num13 + num13)) + { + case 0: + num8 = 412306686; + break; + case 2: + return _206E_202D_206F_200D_206C_206F_206E_206F_200E_200B_206F_200D_206D_202B_206A_200F_206E_202A_202E_202E_206B_202C_200B_202D_202A_202A_200F_202D_206F_200B_202D_200C_202B_202E_200D_206E_200D_206A_206F_206D_202E(x); + case 3: + return false; + case 1: + num8 = ((_202D_202A_206D_202C_206F_206C_202A_206D_202B_202A_206F_206D_206C_202B_202E_200B_202A_206D_200F_200B_200F_202A_202E_200E_202A_200B_202A_200E_206F_202C_200D_206B_206D_202D_206C_206A_206A_206B_202D_202B_202E(x) != _202A_202B_206B_202E_200F_206B_202C_206D_206F_202C_202A_200F_202E_202E_206F_200D_206D_206E_206D_202D_200F_200E_202B_206B_206E_206E_206B_202C_200B_200D_206B_200D_206A_200E_206C_202D_200D_206D_200F_200C_202E(base.Task.GatheringNode)) ? 412306684 : 412306685); + break; + } + } + }); + num = ((_003C_003Ec__DisplayClass6_.gameObject != null) ? (-148025037) : (-148025035)); + break; + case 0: + { + int num6; + float num7; + (vector, num6, num7) = _206D_202A_202C_202B_200E_200B_206F_202C_202B_200F_200D_202C_200D_202E_206C_202C_202B_206C_206A_206A_202D_206B_200D_206C_200B_206C_206E_200E_200F_200C_200C_202A_202E_206B_200F_206E_200F_206B_206E_202D_202E(gatheringLocation); + _202C_200B_200F_206D_200B_202B_202B_206C_200F_206D_202C_200B_202C_206A_206D_202E_200F_200E_202E_206C_206B_202C_206F_206D_206D_202B_200D_202D_200C_206F_202C_200F_202A_200F_200D_200F_202E_200E_206A_206B_202E((ILogger)logger, global::_003CModule_003E._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(-1690558388), new object[3] + { + vector.ToString(global::_003CModule_003E._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(-1318690943), _200D_202B_202B_206A_206B_206D_206A_202B_200B_206E_206E_200E_202B_200C_206C_206E_200C_206C_202E_202A_200C_200B_206C_206A_206C_206F_206B_200E_202A_202B_202A_206B_200D_202A_202A_206D_202A_202B_206C_202A_202E()), + num6, + num7 + }); + num = ((!base.Task.FlyBetweenNodes) ? (-148025038) : (-148025040)); + break; + } + case 6: + num = -148025036; + break; + case 1: + num5 = (gameFunctions.IsFlyingUnlocked(base.Task.TerritoryId) ? 1 : 0); + goto IL_0086; + case 2: + { + gatheringLocation = _202B_202D_206F_206B_202D_200B_200E_200F_200D_200F_202D_206E_200E_202C_200C_206C_206C_200F_202B_202C_200B_200E_202C_206F_206D_206A_200F_200D_206D_202D_200E_200B_206F_202D_206C_206C_206C_200D_206B_206C_202E(base.Task.GatheringNode).Single(_003C_003Ec__DisplayClass6_._003CStart_003Eb__1); + num = -148025039; + break; + } + IL_0086: + flag = (byte)num5 != 0; + territoryId = base.Task.TerritoryId; + destination = vector; + stopDistance = 0.25f; + dataId = _202A_202B_206B_202E_200F_206B_202C_206D_206F_202C_202A_200F_202E_202E_206F_200D_206D_206E_206D_202D_200F_200E_202B_206B_206E_206E_206B_202C_200B_200D_206B_200D_206A_200E_206C_202D_200D_206D_200F_200C_202E(base.Task.GatheringNode); + fly = flag; + _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); } - 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); - 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); - return moveExecutor.Start(_moveTask); } public override ETaskResult Update() @@ -62,9 +252,55 @@ internal static class MoveToLandingLocation return moveExecutor.OnErrorToast(message); } + bool IToastAware.OnErrorToast(SeString message) + { + //ILSpy generated this explicit interface implementation from .override directive in OnErrorToast + return this.OnErrorToast(message); + } + public override bool ShouldInterruptOnDamage() { return moveExecutor.ShouldInterruptOnDamage(); } + + static List _202B_202D_206F_206B_202D_200B_200E_200F_200D_200F_202D_206E_200E_202C_200C_206C_206C_200F_202B_202C_200B_200E_202C_206F_206D_206A_200F_200D_206D_202D_200E_200B_206F_202D_206C_206C_206C_200D_206B_206C_202E(GatheringNode P_0) + { + return P_0.Locations; + } + + static (Vector3, int, float) _206D_202A_202C_202B_200E_200B_206F_202C_202B_200F_200D_202C_200D_202E_206C_202C_202B_206C_206A_206A_202D_206B_200D_206C_200B_206C_206E_200E_200F_200C_200C_202A_202E_206B_200F_206E_200F_206B_206E_202D_202E(GatheringLocation P_0) + { + return GatheringMath.CalculateLandingLocation(P_0); + } + + static CultureInfo _200D_202B_202B_206A_206B_206D_206A_202B_200B_206E_206E_200E_202B_200C_206C_206E_200C_206C_202E_202A_200C_200B_206C_206A_206C_206F_206B_200E_202A_202B_202A_206B_200D_202A_202A_206D_202A_202B_206C_202A_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _202C_200B_200F_206D_200B_202B_202B_206C_200F_206D_202C_200B_202C_206A_206D_202E_200F_200E_202E_206C_206B_202C_206F_206D_206D_202B_200D_202D_200C_206F_202C_200F_202A_200F_200D_200F_202E_200E_206A_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static uint _202A_202B_206B_202E_200F_206B_202C_206D_206F_202C_202A_200F_202E_202E_206F_200D_206D_206E_206D_202D_200F_200E_202B_206B_206E_206E_206B_202C_200B_200D_206B_200D_206A_200E_206C_202D_200D_206D_200F_200C_202E(GatheringNode P_0) + { + return P_0.DataId; + } + + static ObjectKind _202D_202A_206A_206A_206A_202C_200E_206E_200D_202C_206A_206A_200E_206E_200E_200D_200C_202E_200E_200D_202B_206E_202A_200E_200C_202D_202A_200F_206A_206A_206D_200F_200C_202B_202D_206E_206D_206F_206B_202A_202E(IGameObject P_0) + { + return P_0.ObjectKind; + } + + static uint _202D_202A_206D_202C_206F_206C_202A_206D_202B_202A_206F_206D_206C_202B_202E_200B_202A_206D_200F_200B_200F_202A_202E_200E_202A_200B_202A_200E_206F_202C_200D_206B_206D_202D_206C_206A_206A_206B_202D_202B_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static bool _206E_202D_206F_200D_206C_206F_206E_206F_200E_200B_206F_200D_206D_202B_206A_200F_206E_202A_202E_202E_206B_202C_200B_202D_202A_202A_200F_202D_206F_200B_202D_200C_202B_202E_200D_206E_200D_206A_206F_206D_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Action.cs b/Questionable/Questionable.Controller.Steps.Interactions/Action.cs index 3522fcd0..46bae738 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Action.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Action.cs @@ -1,6 +1,8 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Game.ClientState.Objects.Types; using FFXIVClientStructs.FFXIV.Client.Game; using Microsoft.Extensions.Logging; @@ -16,149 +18,534 @@ internal static class Action { internal sealed class Factory : ITaskFactory { + [MethodImpl(MethodImplOptions.NoInlining)] public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.Action) + int num = ((_202A_206F_206D_202A_200C_200D_206A_200C_200F_202A_206E_200D_200E_200B_202C_200D_206E_202C_202E_200D_206A_200D_206E_206B_206A_206D_200E_206F_206E_200F_202E_200F_202A_206E_206A_202E_202D_206E_202A_206E_202E(step) == EInteractionType.Action) ? (-1373347802) : (-1373347807)); + ITask task = default(ITask); + while (true) { - return Array.Empty(); + int num2 = num; + int num3 = -1373347808; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] + { + new Mount.UnmountTask(), + task + }); + case 5: + _206D_202D_200B_200B_206D_202B_202D_200E_206C_206C_200B_200C_200F_206B_202B_202B_202B_206A_202E_202E_202A_200B_206F_206B_202C_202C_200C_206F_200E_202A_202C_206F_200B_200F_200B_206C_200E_202C_202E((object)_202E_202E_206A_200F_206B_202B_200B_202D_202D_200D_200D_200F_200C_200B_200D_206C_202E_202B_202E_202D_200C_200D_202A_206F_202A_202E_200C_206C_206C_200E_200E_206A_206A_202B_206B_202D_200C_206D_200E_206F_202E(step), global::_003CModule_003E._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(-47284709)); + task = OnObject(_202E_206B_206B_200F_200F_202E_202C_206A_200C_206C_200F_202C_200C_206D_202D_200B_206D_202A_200F_200D_202D_206E_202A_206B_206B_200C_200B_200B_200E_202C_202A_202B_200B_206B_206C_206D_206E_202E_200C_202A_202E(step), quest, _202E_202E_206A_200F_206B_202B_200B_202D_202D_200D_200D_200F_200C_200B_200D_206C_202E_202B_202E_202D_200C_200D_202A_206F_202A_202E_200C_206C_206C_200E_200E_206A_206A_202B_206B_202D_200C_206D_200E_206F_202E(step).Value, _206A_206D_206B_202A_200E_200F_200D_202B_202A_202E_200F_206C_206A_202C_206F_206B_202C_200E_206C_206B_202D_202A_202A_202A_206B_200D_200E_206A_202D_202B_202A_206B_202B_206C_200E_200D_200C_200D_206E_200E_202E(step)); + num = ((!_206C_206C_200B_202C_202D_206F_200E_206E_200C_206B_202D_200F_206B_206C_202B_206D_200E_200B_202C_206F_202B_200F_200F_202B_200C_202A_206A_206D_206E_200B_206D_202D_206C_206E_200B_202A_200B_206F_202C_202E_202E(_202E_202E_206A_200F_206B_202B_200B_202D_202D_200D_200D_200F_200C_200B_200D_206C_202E_202B_202E_202D_200C_200D_202A_206F_202A_202E_200C_206C_206C_200E_200E_206A_206A_202B_206B_202D_200C_206D_200E_206F_202E(step).Value)) ? (-1373347804) : (-1373347808)); + break; + case 1: + return Array.Empty(); + case 6: + num = ((_206F_206E_206C_206B_200D_202C_202D_206A_200F_202A_200B_206C_200E_206C_200B_202D_200B_206D_206B_206F_202B_200C_202A_202C_200B_202E_202B_200B_202B_200B_200B_206F_202C_202D_206C_206A_202B_202D_206B_202E_202E(step).Count <= 0) ? (-1373347803) : (-1373347806)); + break; + case 0: + return new global::_003C_003Ez__ReadOnlySingleElementList(task); + case 2: + return Array.Empty(); + case 3: + num = -1373347807; + break; + } } - if (step.DataIds.Count > 0) - { - return Array.Empty(); - } - ArgumentNullException.ThrowIfNull(step.Action, "step.Action"); - ITask task = OnObject(step.DataId, quest, step.Action.Value, step.CompletionQuestVariablesFlags); - if (step.Action.Value.RequiresMount()) - { - return new global::_003C_003Ez__ReadOnlySingleElementList(task); - } - return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] - { - new Mount.UnmountTask(), - task - }); } + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public static ITask OnObject(uint? dataId, Quest quest, EAction action, List? completionQuestVariablesFlags) { - if ((uint)(action - 2265) <= 2u) + int num = (((uint)(action - 2265) > 2u) ? (-1095430213) : (-1095430209)); + bool flag = default(bool); + while (true) { - ArgumentNullException.ThrowIfNull(dataId, "dataId"); - return new UseMudraOnObject(dataId.Value, action); + int num2 = num; + int num3 = -1095430210; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + _206D_202D_200B_200B_206D_202B_202D_200E_206C_206C_200B_200C_200F_206B_202B_202B_202B_206A_202E_202E_202A_200B_206F_206B_202C_202C_200C_206F_200E_202A_202C_206F_200B_200F_200B_206C_200E_202C_202E((object)dataId, global::_003CModule_003E._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(-435733247)); + return new UseMudraOnObject(dataId.Value, action); + case 2: + return new UseOnObject(dataId, quest, action, completionQuestVariablesFlags); + case 5: + flag = false; + num = -1095430210; + break; + case 0: + num = ((!flag) ? (-1095430212) : (-1095430214)); + break; + case 3: + num = -1095430209; + break; + case 1: + flag = true; + num = -1095430210; + break; + } } - return new UseOnObject(dataId, quest, action, completionQuestVariablesFlags); + } + + static EInteractionType _202A_206F_206D_202A_200C_200D_206A_200C_200F_202A_206E_200D_200E_200B_202C_200D_206E_202C_202E_200D_206A_200D_206E_206B_206A_206D_200E_206F_206E_200F_202E_200F_202A_206E_206A_202E_202D_206E_202A_206E_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static List _206F_206E_206C_206B_200D_202C_202D_206A_200F_202A_200B_206C_200E_206C_200B_202D_200B_206D_206B_206F_202B_200C_202A_202C_200B_202E_202B_200B_202B_200B_200B_206F_202C_202D_206C_206A_202B_202D_206B_202E_202E(QuestStep P_0) + { + return P_0.DataIds; + } + + static EAction? _202E_202E_206A_200F_206B_202B_200B_202D_202D_200D_200D_200F_200C_200B_200D_206C_202E_202B_202E_202D_200C_200D_202A_206F_202A_202E_200C_206C_206C_200E_200E_206A_206A_202B_206B_202D_200C_206D_200E_206F_202E(QuestStep P_0) + { + return P_0.Action; + } + + static void _206D_202D_200B_200B_206D_202B_202D_200E_206C_206C_200B_200C_200F_206B_202B_202B_202B_206A_202E_202E_202A_200B_206F_206B_202C_202C_200C_206F_200E_202A_202C_206F_200B_200F_200B_206C_200E_202C_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static uint? _202E_206B_206B_200F_200F_202E_202C_206A_200C_206C_200F_202C_200C_206D_202D_200B_206D_202A_200F_200D_202D_206E_202A_206B_206B_200C_200B_200B_200E_202C_202A_202B_200B_206B_206C_206D_206E_202E_200C_202A_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static List _206A_206D_206B_202A_200E_200F_200D_202B_202A_202E_200F_206C_206A_202C_206F_206B_202C_200E_206C_206B_202D_202A_202A_202A_206B_200D_200E_206A_202D_202B_202A_206B_202B_206C_200E_200D_200C_200D_206E_200E_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static bool _206C_206C_200B_202C_202D_206F_200E_206E_200C_206B_202D_200F_206B_206C_202B_206D_200E_200B_202C_206F_202B_200F_200F_202B_200C_202A_206A_206D_206E_200B_206D_202D_206C_206E_200B_202A_200B_206F_202C_202E_202E(EAction P_0) + { + return P_0.RequiresMount(); } } internal sealed record UseOnObject(uint? DataId, Quest? Quest, EAction Action, List? CompletionQuestVariablesFlags) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200D_202A_200F_200E_206F_206B_202D_206D_200F_200B_206B_202D_202A_202E_202D_202D_200C_200E_200D_206E_200B_200E_206A_202D_202B_200C_202C_202B_202A_206E_206B_200C_206A_202E_200B_202E_206A_200B_206F_206B_202E(typeof(UseOnObject).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Action({Action})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1657599072)); + defaultInterpolatedStringHandler.AppendFormatted(Action); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_202B_200C_200C_200F_200E_202D_200B_202C_206F_200B_202E_202E_206E_200C_206F_202E_206C_200F_206A_206D_202E_200D_206F_206A_202E_200B_206D_202E_202E_206A_206C_200C_202A_202B_200F_200B_206F_202A_202E_202E(); + _202E_206C_206D_206D_202C_202D_200C_202D_206C_206C_206C_206C_200C_200D_206F_202D_202C_200C_202B_206A_202D_200C_200D_202C_206A_206B_202C_202A_202E_200D_206C_206C_200D_206F_200D_200E_200F_200D_202D_200C_202E(builder, global::_003CModule_003E._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(931106117)); + _202E_206C_206D_206D_202C_202D_200C_202D_206C_206C_206C_206C_200C_200D_206F_202D_202C_200C_202B_206A_202D_200C_200D_202C_206A_206B_202C_202A_202E_200D_206C_206C_200D_206F_200D_200E_200F_200D_202D_200C_202E(builder, DataId.ToString()); + _202E_206C_206D_206D_202C_202D_200C_202D_206C_206C_206C_206C_200C_200D_206F_202D_202C_200C_202B_206A_202D_200C_200D_202C_206A_206B_202C_202A_202E_200D_206C_206C_200D_206F_200D_200E_200F_200D_202D_200C_202E(builder, global::_003CModule_003E._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(-862307262)); + _200E_202D_202A_202C_202A_202A_200E_206B_206C_200E_206A_200C_202C_202E_206D_206E_200F_206A_202D_200C_206E_200C_200D_200D_206F_200B_202E_206D_202B_200E_200D_200C_206A_206D_202A_200D_202C_200E_200F_200F_202E(builder, (object?)Quest); + _202E_206C_206D_206D_202C_202D_200C_202D_206C_206C_206C_206C_200C_200D_206F_202D_202C_200C_202B_206A_202D_200C_200D_202C_206A_206B_202C_202A_202E_200D_206C_206C_200D_206F_200D_200E_200F_200D_202D_200C_202E(builder, global::_003CModule_003E._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(353413506)); + _202E_206C_206D_206D_202C_202D_200C_202D_206C_206C_206C_206C_200C_200D_206F_202D_202C_200C_202B_206A_202D_200C_200D_202C_206A_206B_202C_202A_202E_200D_206C_206C_200D_206F_200D_200E_200F_200D_202D_200C_202E(builder, Action.ToString()); + _202E_206C_206D_206D_202C_202D_200C_202D_206C_206C_206C_206C_200C_200D_206F_202D_202C_200C_202B_206A_202D_200C_200D_202C_206A_206B_202C_202A_202E_200D_206C_206C_200D_206F_200D_200E_200F_200D_202D_200C_202E(builder, global::_003CModule_003E._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(-1930370304)); + _200E_202D_202A_202C_202A_202A_200E_206B_206C_200E_206A_200C_202C_202E_206D_206E_200F_206A_202D_200C_206E_200C_200D_200D_206F_200B_202E_206D_202B_200E_200D_200C_206A_206D_202A_200D_202C_200E_200F_200F_202E(builder, (object?)CompletionQuestVariablesFlags); + return true; + } + + [CompilerGenerated] + public bool Equals(UseOnObject? other) + { + int num = (((object)this == other) ? (-1034888155) : (-1034888156)); + while (true) + { + int num2 = num; + int num3 = -1034888158; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = ((!EqualityComparer.Default.Equals(Quest, other.Quest)) ? (-1034888154) : (-1034888157)); + break; + case 4: + return false; + case 7: + return true; + case 1: + num = ((!EqualityComparer.Default.Equals(Action, other.Action)) ? (-1034888154) : (-1034888153)); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? (-1034888154) : (-1034888160)); + break; + case 3: + num = -1034888156; + break; + case 5: + return EqualityComparer>.Default.Equals(CompletionQuestVariablesFlags, other.CompletionQuestVariablesFlags); + case 6: + num = (((object)other == null) ? (-1034888154) : (-1034888150)); + break; + case 8: + num = ((!_200E_200D_200C_206C_206E_206B_200E_206E_202B_200F_206A_200F_202A_200F_206B_202D_206E_206C_200C_202E_200B_206F_206D_202E_202D_202C_200E_206D_202A_206F_200E_206C_206A_206D_200D_202E_202A_206C_202E_206A_202E(EqualityContract, other.EqualityContract)) ? (-1034888154) : (-1034888158)); + break; + } + } + } + + bool IEquatable.Equals(UseOnObject? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _200D_202A_200F_200E_206F_206B_202D_206D_200F_200B_206B_202D_202A_202E_202D_202D_200C_200E_200D_206E_200B_200E_206A_202D_202B_200C_202C_202B_202A_206E_206B_200C_206A_202E_200B_202E_206A_200B_206F_206B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200F_202B_200C_200C_200F_200E_202D_200B_202C_206F_200B_202E_202E_206E_200C_206F_202E_206C_200F_206A_206D_202E_200D_206F_206A_202E_200B_206D_202E_202E_206A_206C_200C_202A_202B_200F_200B_206F_202A_202E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _202E_206C_206D_206D_202C_202D_200C_202D_206C_206C_206C_206C_200C_200D_206F_202D_202C_200C_202B_206A_202D_200C_200D_202C_206A_206B_202C_202A_202E_200D_206C_206C_200D_206F_200D_200E_200F_200D_202D_200C_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _200E_202D_202A_202C_202A_202A_200E_206B_206C_200E_206A_200C_202C_202E_206D_206E_200F_206A_202D_200C_206E_200C_200D_200D_206F_200B_202E_206D_202B_200E_200D_200C_206A_206D_202A_200D_202C_200E_200F_200F_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _200E_200D_200C_206C_206E_206B_200E_206E_202B_200F_206A_200F_202A_200F_206B_202D_206E_206C_200C_202E_200B_206F_206D_202E_202D_202C_200E_206D_202A_206F_200E_206C_206A_206D_200D_202E_202A_206C_202E_206A_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; } } - 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) + { + int num = (_waitingForQuestFlags ? (-369880556) : (-369880555)); + while (true) + { + int num2 = num; + int num3 = -369880553; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = ((base.ProgressContext == null) ? (-369880553) : (-369880554)); + break; + case 2: + return false; + case 4: + num = -369880555; + break; + case 0: + return _200C_206A_206B_202E_202B_200E_202A_206A_200F_202B_202D_200E_200F_206B_206E_200B_206E_200F_200C_206C_206A_200D_200C_202A_206A_206D_200E_200B_206F_202B_202D_202B_206C_206F_200D_206B_206F_206F_206B_202A_202E() - _questFlagWaitStarted > (long)(timeoutSeconds * 1000f); + case 1: + return base.HasTimedOut(timeoutSeconds); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - if (base.Task.DataId.HasValue) + int num = ((!base.Task.DataId.HasValue) ? (-1131442756) : (-1131442765)); + IGameObject gameObject = default(IGameObject); + while (true) { - IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId.Value); - if (gameObject == null) + int num2 = num; + int num3 = -1131442757; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - logger.LogWarning("No game object with dataId {DataId}", base.Task.DataId); - return false; - } - if (gameObject.IsTargetable) - { - if (base.Task.Action == EAction.Diagnosis && gameFunctions.HasStatus(EStatus.Eukrasia) && GameFunctions.RemoveStatus(EStatus.Eukrasia)) - { - _continueAt = DateTime.Now.AddSeconds(2.0); - return true; - } - _usedAction = gameFunctions.UseAction(gameObject, base.Task.Action); - _continueAt = DateTime.Now.AddSeconds(0.5); + case 3: + num = -1131442765; + break; + case 0: + _continueAt = _200C_206A_206B_202E_202B_200E_202A_206A_200F_202B_202D_200E_200F_206B_206E_200B_206E_200F_200C_206C_206A_200D_200C_202A_206A_206D_200E_200B_206F_202B_202D_202B_206C_206F_200D_206B_206F_206F_206B_202A_202E() + 2000; return true; + case 5: + num = ((!gameFunctions.HasStatus(EStatus.Eukrasia)) ? (-1131442759) : (-1131442758)); + break; + case 7: + _usedAction = gameFunctions.UseAction(base.Task.Action); + _continueAt = _200C_206A_206B_202E_202B_200E_202A_206A_200F_202B_202D_200E_200F_206B_206E_200B_206E_200F_200C_206C_206A_200D_200C_202A_206A_206D_200E_200B_206F_202B_202D_202B_206C_206F_200D_206B_206F_206F_206B_202A_202E() + 500; + return true; + case 10: + num = ((base.Task.Action != EAction.Diagnosis) ? (-1131442759) : (-1131442754)); + break; + case 6: + _202D_202C_202C_206B_202A_202E_200F_200F_206A_206B_206E_200E_200F_202D_202E_200F_202A_200C_202C_202D_206B_202C_206E_206D_202A_206E_206A_206D_206C_206A_200F_200C_202D_206F_202C_200B_206C_200B_202A_200D_202E((ILogger)logger, global::_003CModule_003E._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(600105394), new object[1] { base.Task.DataId }); + return true; + case 2: + _usedAction = gameFunctions.UseAction(gameObject, base.Task.Action); + _continueAt = _200C_206A_206B_202E_202B_200E_202A_206A_200F_202B_202D_200E_200F_206B_206E_200B_206E_200F_200C_206C_206A_200D_200C_202A_206A_206D_200E_200B_206F_202B_202D_202B_206C_206F_200D_206B_206F_206F_206B_202A_202E() + 500; + return true; + case 1: + num = ((!GameFunctions.RemoveStatus(EStatus.Eukrasia)) ? (-1131442759) : (-1131442757)); + break; + case 8: + gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId.Value); + num = ((gameObject != null) ? (-1131442766) : (-1131442755)); + break; + case 4: + _202D_202C_202C_206B_202A_202E_200F_200F_206A_206B_206E_200E_200F_202D_202E_200F_202A_200C_202C_202D_206B_202C_206E_206D_202A_206E_206A_206D_206C_206A_200F_200C_202D_206F_202C_200B_206C_200B_202A_200D_202E((ILogger)logger, global::_003CModule_003E._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(-2073702986), new object[2] + { + base.Task.DataId, + base.Task.Action + }); + num = -1131442756; + break; + case 9: + num = ((!_200C_202B_200E_202A_206A_202C_200D_206C_202E_202D_206B_200E_200C_202C_200F_202E_206B_200B_200E_206F_200F_202A_206E_206F_200F_200B_202D_206F_206C_206E_206E_206F_206E_206C_206F_206E_206A_202D_200C_200C_202E(gameObject)) ? (-1131442753) : (-1131442767)); + break; } - 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; } - _usedAction = gameFunctions.UseAction(base.Task.Action); - _continueAt = DateTime.Now.AddSeconds(0.5); - return true; } public override ETaskResult Update() { - if (DateTime.Now <= _continueAt) + int num = ((_200C_206A_206B_202E_202B_200E_202A_206A_200F_202B_202D_200E_200F_206B_206E_200B_206E_200F_200C_206C_206A_200D_200C_202A_206A_206D_200E_200B_206F_202B_202D_202B_206C_206F_200D_206B_206F_206F_206B_202A_202E() > _continueAt) ? 1542849482 : 1542849479); + QuestProgressInfo questProgressInfo = default(QuestProgressInfo); + IGameObject gameObject = default(IGameObject); + while (true) { - return ETaskResult.StillRunning; - } - if (!_usedAction) - { - if (base.Task.DataId.HasValue) - { - IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId.Value); - if (gameObject == null) - { - 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); - } - else - { - _usedAction = gameFunctions.UseAction(base.Task.Action); - _continueAt = DateTime.Now.AddSeconds(0.5); - } - 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)) + int num2 = num; + int num3 = 1542849472; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 18: + ResetProgressTimer(); + return ETaskResult.TaskComplete; + case 0: + questProgressInfo = questFunctions.GetQuestProgressInfo(base.Task.Quest.Id); + num = ((questProgressInfo == null) ? 1542849476 : 1542849478); + break; + case 16: + _continueAt = _200C_206A_206B_202E_202B_200E_202A_206A_200F_202B_202D_200E_200F_206B_206E_200B_206E_200F_200C_206C_206A_200D_200C_202A_206A_206D_200E_200B_206F_202B_202D_202B_206C_206F_200D_206B_206F_206F_206B_202A_202E() + 500; return ETaskResult.StillRunning; + case 10: + num = (_usedAction ? 1542849484 : 1542849474); + break; + case 11: + num = (_waitingForQuestFlags ? 1542849472 : 1542849489); + break; + case 14: + num = 1542849479; + break; + case 12: + num = ((base.Task.Quest == null) ? 1542849473 : 1542849481); + break; + case 7: + return ETaskResult.StillRunning; + case 6: + num = ((!QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo)) ? 1542849476 : 1542849490); + break; + case 17: + _waitingForQuestFlags = true; + _questFlagWaitStarted = _200C_206A_206B_202E_202B_200E_202A_206A_200F_202B_202D_200E_200F_206B_206E_200B_206E_200F_200C_206C_206A_200D_200C_202A_206A_206D_200E_200B_206F_202B_202D_202B_206C_206F_200D_206B_206F_206F_206B_202A_202E(); + num = 1542849472; + break; + case 5: + _usedAction = (_200C_202B_200E_202A_206A_202C_200D_206C_202E_202D_206B_200E_200C_202C_200F_202E_206B_200B_200E_206F_200F_202A_206E_206F_200F_200B_202D_206F_206C_206E_206E_206F_206E_206C_206F_206E_206A_202D_200C_200C_202E(gameObject) ? gameFunctions.UseAction(gameObject, base.Task.Action) : gameFunctions.UseAction(base.Task.Action)); + num = 1542849488; + break; + case 1: + return ETaskResult.TaskComplete; + case 4: + return ETaskResult.StillRunning; + case 2: + num = ((!base.Task.DataId.HasValue) ? 1542849487 : 1542849480); + break; + case 15: + _usedAction = gameFunctions.UseAction(base.Task.Action); + num = 1542849488; + break; + case 9: + num = ((base.Task.CompletionQuestVariablesFlags == null) ? 1542849473 : 1542849485); + break; + case 3: + return ETaskResult.StillRunning; + case 13: + num = ((!QuestWorkUtils.HasCompletionFlags(base.Task.CompletionQuestVariablesFlags)) ? 1542849473 : 1542849483); + break; + case 8: + gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId.Value); + num = ((gameObject != null) ? 1542849477 : 1542849475); + break; } - return ETaskResult.TaskComplete; } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return true; } + + static long _200C_206A_206B_202E_202B_200E_202A_206A_200F_202B_202D_200E_200F_206B_206E_200B_206E_200F_200C_206C_206A_200D_200C_202A_206A_206D_200E_200B_206F_202B_202D_202B_206C_206F_200D_206B_206F_206F_206B_202A_202E() + { + return Environment.TickCount64; + } + + static void _202D_202C_202C_206B_202A_202E_200F_200F_206A_206B_206E_200E_200F_202D_202E_200F_202A_200C_202C_202D_206B_202C_206E_206D_202A_206E_206A_206D_206C_206A_200F_200C_202D_206F_202C_200B_206C_200B_202A_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _200C_202B_200E_202A_206A_202C_200D_206C_202E_202D_206B_200E_200C_202C_200F_202E_206B_200B_200E_206F_200F_202A_206E_206F_200F_200B_202D_206F_206C_206E_206E_206F_206E_206C_206F_206E_206A_202D_200C_200C_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } } internal sealed record UseMudraOnObject(uint DataId, EAction Action) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_206F_202E_206E_206E_202E_206E_200B_206E_202D_200C_206C_200D_206C_206B_206B_202D_206E_200F_206B_206A_200F_202C_206B_206A_202B_206D_206B_206B_200B_206B_206D_206A_202C_200B_206C_200D_206F_200F_202E_202E(typeof(UseMudraOnObject).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Mudra({Action})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(7, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-604906008)); + defaultInterpolatedStringHandler.AppendFormatted(Action); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206B_202C_206F_202D_202B_200B_206F_202E_202C_206B_200F_206B_200C_206C_206B_200E_200C_202E_202D_202E_202C_206C_202E_206B_200D_206F_206B_202B_200B_202A_202E_202D_206B_206F_200E_206D_206C_202B_206D_200F_202E(); + _200C_200C_206F_200D_206E_200B_200E_202A_200B_202D_200F_206E_206C_206E_206E_202E_206F_202D_200E_202A_206D_200D_206B_206E_206A_206F_200B_200F_200B_200F_206C_206A_202B_202A_206B_202B_200B_200F_200D_202E(builder, global::_003CModule_003E._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(-813337770)); + _200C_200C_206F_200D_206E_200B_200E_202A_200B_202D_200F_206E_206C_206E_206E_202E_206F_202D_200E_202A_206D_200D_206B_206E_206A_206F_200B_200F_200B_200F_206C_206A_202B_202A_206B_202B_200B_200F_200D_202E(builder, DataId.ToString()); + _200C_200C_206F_200D_206E_200B_200E_202A_200B_202D_200F_206E_206C_206E_206E_202E_206F_202D_200E_202A_206D_200D_206B_206E_206A_206F_200B_200F_200B_200F_206C_206A_202B_202A_206B_202B_200B_200F_200D_202E(builder, global::_003CModule_003E._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(353413506)); + _200C_200C_206F_200D_206E_200B_200E_202A_200B_202D_200F_206E_206C_206E_206E_202E_206F_202D_200E_202A_206D_200D_206B_206E_206A_206F_200B_200F_200B_200F_206C_206A_202B_202A_206B_202B_200B_200F_200D_202E(builder, Action.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(UseMudraOnObject? other) + { + int num = (((object)this == other) ? 1487709451 : 1487709452); + while (true) + { + int num2 = num; + int num3 = 1487709453; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return EqualityComparer.Default.Equals(Action, other.Action); + case 1: + num = (((object)other == null) ? 1487709455 : 1487709449); + break; + case 4: + num = ((!_200D_206A_202B_206F_202C_206A_206E_206E_206E_200E_202D_202A_202E_200C_202A_200F_202D_200C_202B_200E_206F_206E_206F_200B_202A_202D_200E_200C_202C_206D_200E_206C_202A_202D_206E_206F_206C_202E_200D_202D_202E(EqualityContract, other.EqualityContract)) ? 1487709455 : 1487709448); + break; + case 0: + num = 1487709452; + break; + case 5: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? 1487709455 : 1487709454); + break; + case 2: + return false; + case 6: + return true; + } + } + } + + bool IEquatable.Equals(UseMudraOnObject? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206A_206F_202E_206E_206E_202E_206E_200B_206E_202D_200C_206C_200D_206C_206B_206B_202D_206E_200F_206B_206A_200F_202C_206B_206A_202B_206D_206B_206B_200B_206B_206D_206A_202C_200B_206C_200D_206F_200F_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206B_202C_206F_202D_202B_200B_206F_202E_202C_206B_200F_206B_200C_206C_206B_200E_200C_202E_202D_202E_202C_206C_202E_206B_200D_206F_206B_202B_200B_202A_202E_202D_206B_206F_200E_206D_206C_202B_206D_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200C_200C_206F_200D_206E_200B_200E_202A_200B_202D_200F_206E_206C_206E_206E_202E_206F_202D_200E_202A_206D_200D_206B_206E_206A_206F_200B_200F_200B_200F_206C_206A_202B_202A_206B_202B_200B_200F_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200D_206A_202B_206F_202C_206A_206E_206E_206E_200E_202D_202A_202E_200C_202A_200F_202D_200C_202B_200E_206F_206E_206F_200B_202A_202D_200E_200C_202C_206D_200E_206C_202A_202D_206E_206F_206C_202E_200D_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - 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,92 +587,264 @@ internal static class Action } }.AsReadOnly(); - private DateTime _continueAt = DateTime.MinValue; + private long _continueAt; protected override bool Start() { return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe override ETaskResult Update() { - if (DateTime.Now < _continueAt) + int num = ((_202E_200B_202A_200B_200D_202D_200B_200D_202D_202C_200C_202D_206B_200F_202E_202C_202B_200D_206D_200E_200D_202C_206C_202D_206C_206D_206A_206A_202C_206C_202B_200F_202A_200E_202B_206A_202D_202C_202B_200E_202E() >= _continueAt) ? 1138571284 : 1138571280); + IGameObject gameObject = default(IGameObject); + EAction adjustedActionId = default(EAction); + Dictionary value = default(Dictionary); + EAction value2 = default(EAction); + while (true) { - return ETaskResult.StillRunning; - } - EAction adjustedActionId = (EAction)ActionManager.Instance()->GetAdjustedActionId(2260u); - if (adjustedActionId == EAction.RabbitMedium) - { - _continueAt = DateTime.Now.AddSeconds(1.0); - return ETaskResult.StillRunning; - } - IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId); - if (gameObject == null || !gameObject.IsTargetable) - { - return ETaskResult.StillRunning; - } - if (adjustedActionId == base.Task.Action) - { - _continueAt = DateTime.Now.AddSeconds(0.25); - if (!gameFunctions.UseAction(gameObject, base.Task.Action)) + int num2 = num; + int num3 = 1138571289; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 1: + gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId); + num = ((gameObject == null) ? 1138571290 : 1138571285); + break; + case 7: + num = ((adjustedActionId != base.Task.Action) ? 1138571287 : 1138571293); + break; + case 11: + _continueAt = _202E_200B_202A_200B_200D_202D_200B_200D_202D_202C_200C_202D_206B_200F_202E_202C_202B_200D_206D_200E_200D_202C_206C_202D_206C_206D_206A_206A_202C_206C_202B_200F_202A_200E_202B_206A_202D_202C_202B_200E_202E() + 250; return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; - } - if (Combos.TryGetValue(base.Task.Action, out Dictionary value)) - { - if (value.TryGetValue(adjustedActionId, out var value2)) - { - _continueAt = DateTime.Now.AddSeconds(0.25); + case 9: + return ETaskResult.StillRunning; + case 10: + num = ((!value.TryGetValue(adjustedActionId, out value2)) ? 1138571282 : 1138571292); + break; + case 6: + _206D_206F_202E_206B_200D_200D_200E_202B_206B_202E_202C_200E_200B_200C_202A_202D_206E_200F_202B_206C_202E_200D_206D_200C_206C_200C_206A_200C_202B_206A_200E_206D_206B_206F_202D_206B_200D_200D_206A_206E_202E((ILogger)logger, global::_003CModule_003E._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(412191854), new object[1] { base.Task.Action }); + return ETaskResult.TaskComplete; + case 13: + adjustedActionId = (EAction)ActionManager.Instance()->GetAdjustedActionId(2260u); + num = ((adjustedActionId != EAction.RabbitMedium) ? 1138571288 : 1138571289); + break; + case 8: + return ETaskResult.StillRunning; + case 5: + _continueAt = _202E_200B_202A_200B_200D_202D_200B_200D_202D_202C_200C_202D_206B_200F_202E_202C_202B_200D_206D_200E_200D_202C_206C_202D_206C_206D_206A_206A_202C_206C_202B_200F_202A_200E_202B_206A_202D_202C_202B_200E_202E() + 250; gameFunctions.UseAction(value2); return ETaskResult.StillRunning; + case 14: + num = ((!Combos.TryGetValue(base.Task.Action, out value)) ? 1138571295 : 1138571283); + break; + case 4: + _continueAt = _202E_200B_202A_200B_200D_202D_200B_200D_202D_202C_200C_202D_206B_200F_202E_202C_202B_200D_206D_200E_200D_202C_206C_202D_206C_206D_206A_206A_202C_206C_202B_200F_202A_200E_202B_206A_202D_202C_202B_200E_202E() + 250; + num = (gameFunctions.UseAction(gameObject, base.Task.Action) ? 1138571291 : 1138571281); + break; + case 12: + num = (_206A_200C_206A_202D_200C_200D_202C_206C_202A_200F_206E_200F_200B_200E_200E_200F_206C_202D_200B_200B_206C_206D_202A_206B_202C_200F_202A_200D_200D_206D_200F_200F_206D_202A_206E_200D_200D_206B_206C_206E_202E(gameObject) ? 1138571294 : 1138571290); + break; + case 15: + num = 1138571280; + break; + case 3: + return ETaskResult.StillRunning; + case 2: + return ETaskResult.TaskComplete; + case 0: + _continueAt = _202E_200B_202A_200B_200D_202D_200B_200D_202D_202C_200C_202D_206B_200F_202E_202C_202B_200D_206D_200E_200D_202C_206C_202D_206C_206D_206A_206A_202C_206C_202B_200F_202A_200E_202B_206A_202D_202C_202B_200E_202E() + 1000; + return ETaskResult.StillRunning; } - _continueAt = DateTime.Now.AddSeconds(0.25); - return ETaskResult.StillRunning; } - logger.LogError("Unable to find relevant combo for {Action}", base.Task.Action); - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return false; } + + static long _202E_200B_202A_200B_200D_202D_200B_200D_202D_202C_200C_202D_206B_200F_202E_202C_202B_200D_206D_200E_200D_202C_206C_202D_206C_206D_206A_206A_202C_206C_202B_200F_202A_200E_202B_206A_202D_202C_202B_200E_202E() + { + return Environment.TickCount64; + } + + static bool _206A_200C_206A_202D_200C_200D_202C_206C_202A_200F_206E_200F_200B_200E_200E_200F_206C_202D_200B_200B_206C_206D_202A_206B_202C_200F_202A_200D_200D_206D_200F_200F_206D_202A_206E_200D_200D_206B_206C_206E_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } + + static void _206D_206F_202E_206B_200D_200D_200E_202B_206B_202E_202C_200E_200B_200C_202A_202D_206E_200F_202B_206C_202E_200D_206D_200C_206C_200C_206A_200C_202B_206A_200E_206D_206B_206F_202D_206B_200D_200D_206A_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } } internal sealed record TriggerStatusIfMissing(EStatus Status, EAction Action) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200D_206C_202B_202A_202B_200F_202E_206D_206C_200E_206D_206B_206A_200C_202D_200C_200D_202A_206B_200F_200B_200C_206F_200D_206E_200F_206A_206F_202B_200D_200E_200B_202D_200C_206A_202A_206A_200F_206C_206F_202E(typeof(TriggerStatusIfMissing).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"TriggerStatus({Status})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1306109477)); + defaultInterpolatedStringHandler.AppendFormatted(Status); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_206A_202D_206B_200B_200C_202B_206C_200C_206A_200B_202D_200D_200B_206B_200D_200E_202B_202B_200E_206B_206B_202A_206D_206F_206A_200F_202C_200D_202C_206A_202D_206F_200C_206B_200B_206C_200B_206C_202E(); + _200D_202D_206F_202E_206A_200C_202A_206E_200D_206C_200C_200C_202C_200B_206D_200C_202B_200D_200D_200C_202C_200B_202A_206D_200C_206E_202E_206F_206C_206F_200C_202C_202B_200B_206D_202B_206F_200C_200D_202E(builder, global::_003CModule_003E._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(-1195039164)); + _200D_202D_206F_202E_206A_200C_202A_206E_200D_206C_200C_200C_202C_200B_206D_200C_202B_200D_200D_200C_202C_200B_202A_206D_200C_206E_202E_206F_206C_206F_200C_202C_202B_200B_206D_202B_206F_200C_200D_202E(builder, Status.ToString()); + _200D_202D_206F_202E_206A_200C_202A_206E_200D_206C_200C_200C_202C_200B_206D_200C_202B_200D_200D_200C_202C_200B_202A_206D_200C_206E_202E_206F_206C_206F_200C_202C_202B_200B_206D_202B_206F_200C_200D_202E(builder, global::_003CModule_003E._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(-1765108266)); + _200D_202D_206F_202E_206A_200C_202A_206E_200D_206C_200C_200C_202C_200B_206D_200C_202B_200D_200D_200C_202C_200B_202A_206D_200C_206E_202E_206F_206C_206F_200C_202C_202B_200B_206D_202B_206F_200C_200D_202E(builder, Action.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(TriggerStatusIfMissing? other) + { + int num = (((object)this == other) ? (-1239545030) : (-1239545028)); + while (true) + { + int num2 = num; + int num3 = -1239545026; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return EqualityComparer.Default.Equals(Action, other.Action); + case 2: + num = (((object)other == null) ? (-1239545029) : (-1239545025)); + break; + case 1: + num = ((!_206F_206A_200C_206E_202A_200C_200E_202A_200C_200F_206D_206C_206B_202A_200C_206A_206A_200E_206B_202E_202D_200F_206E_206D_206E_200F_202A_202B_206C_206A_200E_200C_206F_200C_202D_200B_206B_202A_206B_206D_202E(EqualityContract, other.EqualityContract)) ? (-1239545029) : (-1239545032)); + break; + case 0: + num = -1239545028; + break; + case 5: + return false; + case 4: + return true; + case 6: + num = ((!EqualityComparer.Default.Equals(Status, other.Status)) ? (-1239545029) : (-1239545027)); + break; + } + } + } + + bool IEquatable.Equals(TriggerStatusIfMissing? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200D_206C_202B_202A_202B_200F_202E_206D_206C_200E_206D_206B_206A_200C_202D_200C_200D_202A_206B_200F_200B_200C_206F_200D_206E_200F_206A_206F_202B_200D_200E_200B_202D_200C_206A_202A_206A_200F_206C_206F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200F_206A_202D_206B_200B_200C_202B_206C_200C_206A_200B_202D_200D_200B_206B_200D_200E_202B_202B_200E_206B_206B_202A_206D_206F_206A_200F_202C_200D_202C_206A_202D_206F_200C_206B_200B_206C_200B_206C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200D_202D_206F_202E_206A_200C_202A_206E_200D_206C_200C_200C_202C_200B_206D_200C_202B_200D_200D_200C_202C_200B_202A_206D_200C_206E_202E_206F_206C_206F_200C_202C_202B_200B_206D_202B_206F_200C_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _206F_206A_200C_206E_202A_200C_200E_202A_200C_200F_206D_206C_206B_202A_200C_206A_206A_200E_206B_202E_202D_200F_206E_206D_206E_200F_202A_202B_206C_206A_200E_200C_206F_200C_202D_200B_206B_202A_206B_206D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class TriggerStatusIfMissingExecutor(GameFunctions gameFunctions) : TaskExecutor() { + private long _startedAt; + + public override bool HasTimedOut(float timeoutSeconds) + { + return _202B_206F_202D_200E_206E_200D_202D_202D_200C_200C_206F_202E_200F_206B_206B_200B_202A_200F_206F_200B_200E_200C_206C_200C_206F_206A_200D_200F_206B_200C_206A_200F_202A_200E_206D_202A_200E_202B_200B_202D_202E() - _startedAt > (long)(timeoutSeconds * 1000f); + } + protected override bool Start() { - if (gameFunctions.HasStatus(base.Task.Status)) + int num = ((!gameFunctions.HasStatus(base.Task.Status)) ? (-1632132812) : (-1632132809)); + while (true) { - return false; + int num2 = num; + int num3 = -1632132811; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0056; + case 2: + return false; + case 1: + gameFunctions.UseAction(base.Task.Action); + _startedAt = _202B_206F_202D_200E_206E_200D_202D_202D_200C_200C_206F_202E_200F_206B_206B_200B_202A_200F_206F_200B_200E_200C_206C_200C_206F_206A_200D_200F_206B_200C_206A_200F_202A_200E_206D_202A_200E_202B_200B_202D_202E(); + return true; + } + continue; + IL_0056: + num = -1632132809; } - gameFunctions.UseAction(base.Task.Action); - return true; } public override ETaskResult Update() { - if (!gameFunctions.HasStatus(base.Task.Status)) + int num = (gameFunctions.HasStatus(base.Task.Status) ? 81781723 : 81781720); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = 81781722; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0058; + case 2: + return ETaskResult.StillRunning; + case 1: + return ETaskResult.TaskComplete; + } + continue; + IL_0058: + num = 81781720; } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return false; } + + static long _202B_206F_202D_200E_206E_200D_202D_202D_200C_200C_206F_202E_200F_206B_206B_200B_202A_200F_206F_200B_200E_200C_206C_200C_206F_206A_200D_200F_206B_200C_206A_200F_202A_200E_206D_202A_200E_202B_200B_202D_202E() + { + return Environment.TickCount64; + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/AetherCurrent.cs b/Questionable/Questionable.Controller.Steps.Interactions/AetherCurrent.cs index 5c85bda4..28adef56 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/AetherCurrent.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/AetherCurrent.cs @@ -1,4 +1,7 @@ using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Game.ClientState.Objects.Enums; using Dalamud.Plugin.Services; using Microsoft.Extensions.Logging; @@ -13,62 +16,272 @@ internal static class AetherCurrent { internal sealed class Factory(AetherCurrentData aetherCurrentData, IChatGui chatGui) : SimpleTaskFactory() { + [MethodImpl(MethodImplOptions.NoInlining)] public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.AttuneAetherCurrent) + int num = ((_206B_200B_202B_200C_206F_202E_200C_206D_206F_206F_202A_206D_200C_200C_206C_200D_202B_202E_200F_202C_202A_206B_202E_206E_206B_202B_202D_206C_200B_200B_200B_206C_202A_200F_202E_202D_202C_200F_200D_202B_202E(step) == EInteractionType.AttuneAetherCurrent) ? 1616096496 : 1616096497); + while (true) { - return null; + int num2 = num; + int num3 = 1616096499; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return new Attune(_202E_206C_200B_202C_200D_200C_206A_200B_206F_206D_206F_202E_202D_200F_200D_200B_202A_200D_200C_200D_202B_202D_206F_202B_202E_200F_206D_202B_202E_202A_200E_202D_200E_200E_206D_202B_206B_206C_200B_202D_202E(step).Value, _200B_200C_202D_206B_200F_202B_202A_200B_202B_202E_200D_206C_202A_206C_202A_202D_202D_200B_200D_202C_200C_206B_202A_206F_200B_206A_200C_206C_206A_206E_202E_202B_206F_202D_202E_200C_202C_206E_206B_206F_202E(step).Value); + case 2: + return null; + case 4: + num = 1616096497; + break; + case 1: + { + IChatGui chatGui = chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(86, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-494490534)); + defaultInterpolatedStringHandler.AppendFormatted(_200B_200C_202D_206B_200F_202B_202A_200B_202B_202E_200D_206C_202A_206C_202A_202D_202D_200B_200D_202C_200C_206B_202A_206F_200B_206A_200C_206C_206A_206E_202E_202B_206F_202D_202E_200C_202C_206E_206B_206F_202E(step)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(214778039)); + _202C_206F_206A_206F_202D_206B_200B_206E_206D_206E_202E_202B_200B_206E_200D_206A_206D_200B_206A_206D_200D_206E_206F_200E_206A_202B_206D_200C_202B_200E_206E_200D_202E_200C_202B_200B_200E_206E_200B_206D_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + return null; + } + case 3: + _200E_206F_206A_200C_202A_202A_202C_202D_206D_202C_202C_202B_202A_202D_206A_202D_202C_202C_206A_200D_206F_200E_206A_206C_200C_202A_200B_206D_200B_206D_200B_206A_202C_206F_202A_200E_206C_206C_206E_200E_202E((object)_202E_206C_200B_202C_200D_200C_206A_200B_206F_206D_206F_202E_202D_200F_200D_200B_202A_200D_200C_200D_202B_202D_206F_202B_202E_200F_206D_202B_202E_202A_200E_202D_200E_200E_206D_202B_206B_206C_200B_202D_202E(step), global::_003CModule_003E._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(1549410118)); + _200E_206F_206A_200C_202A_202A_202C_202D_206D_202C_202C_202B_202A_202D_206A_202D_202C_202C_206A_200D_206F_200E_206A_206C_200C_202A_200B_206D_200B_206D_200B_206A_202C_206F_202A_200E_206C_206C_206E_200E_202E((object)_200B_200C_202D_206B_200F_202B_202A_200B_202B_202E_200D_206C_202A_206C_202A_202D_202D_200B_200D_202C_200C_206B_202A_206F_200B_206A_200C_206C_206A_206E_202E_202B_206F_202D_202E_200C_202C_206E_206B_206F_202E(step), global::_003CModule_003E._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(-672605828)); + num = (aetherCurrentData.IsValidAetherCurrent(_200C_202A_206F_202E_206B_200B_200B_200B_202C_206F_202C_206F_206A_200D_202C_206F_200D_200F_202E_200B_206F_202B_206D_200D_200C_206E_202B_200B_202C_202E_200F_202D_200F_202C_206C_200E_200D_202B_202C_202A_202E(step), _200B_200C_202D_206B_200F_202B_202A_200B_202B_202E_200D_206C_202A_206C_202A_202D_202D_200B_200D_202C_200C_206B_202A_206F_200B_206A_200C_206C_206A_206E_202E_202B_206F_202D_202E_200C_202C_206E_206B_206F_202E(step).Value) ? 1616096499 : 1616096498); + break; + } } - ArgumentNullException.ThrowIfNull(step.DataId, "step.DataId"); - ArgumentNullException.ThrowIfNull(step.AetherCurrentId, "step.AetherCurrentId"); - if (!aetherCurrentData.IsValidAetherCurrent(step.TerritoryId, step.AetherCurrentId.Value)) - { - chatGui.PrintError($"Aether current with id {step.AetherCurrentId} is referencing an invalid aether current, will skip attunement", "Questionable", 576); - return null; - } - return new Attune(step.DataId.Value, step.AetherCurrentId.Value); + } + + static EInteractionType _206B_200B_202B_200C_206F_202E_200C_206D_206F_206F_202A_206D_200C_200C_206C_200D_202B_202E_200F_202C_202A_206B_202E_206E_206B_202B_202D_206C_200B_200B_200B_206C_202A_200F_202E_202D_202C_200F_200D_202B_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static uint? _202E_206C_200B_202C_200D_200C_206A_200B_206F_206D_206F_202E_202D_200F_200D_200B_202A_200D_200C_200D_202B_202D_206F_202B_202E_200F_206D_202B_202E_202A_200E_202D_200E_200E_206D_202B_206B_206C_200B_202D_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static void _200E_206F_206A_200C_202A_202A_202C_202D_206D_202C_202C_202B_202A_202D_206A_202D_202C_202C_206A_200D_206F_200E_206A_206C_200C_202A_200B_206D_200B_206D_200B_206A_202C_206F_202A_200E_206C_206C_206E_200E_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static uint? _200B_200C_202D_206B_200F_202B_202A_200B_202B_202E_200D_206C_202A_206C_202A_202D_202D_200B_200D_202C_200C_206B_202A_206F_200B_206A_200C_206C_206A_206E_202E_202B_206F_202D_202E_200C_202C_206E_206B_206F_202E(QuestStep P_0) + { + return P_0.AetherCurrentId; + } + + static ushort _200C_202A_206F_202E_206B_200B_200B_200B_202C_206F_202C_206F_206A_200D_202C_206F_200D_200F_202E_200B_206F_202B_206D_200D_200C_206E_202B_200B_202C_202E_200F_202D_200F_202C_206C_200E_200D_202B_202C_202A_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static void _202C_206F_206A_206F_202D_206B_200B_206E_206D_206E_202E_202B_200B_206E_200D_206A_206D_200B_206A_206D_200D_206E_206F_200E_206A_202B_206D_200C_202B_200E_206E_200D_202E_200C_202B_200B_200E_206E_200B_206D_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); } } internal sealed record Attune(uint DataId, uint AetherCurrentId) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_200D_202C_202A_206C_200E_206F_200D_202B_206C_206C_202D_202C_200B_206A_200E_206E_206A_206C_202E_202A_200C_206E_202C_202A_206A_206D_202E_202B_202C_202A_202E_200E_200E_206F_202C_202E_206F_202D_200D_202E(typeof(Attune).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"AttuneAetherCurrent({AetherCurrentId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(21, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(361982327)); + defaultInterpolatedStringHandler.AppendFormatted(AetherCurrentId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206E_202E_200E_200F_206D_206E_206D_202C_202A_202A_200D_202C_200D_206B_202A_202D_200D_202A_200C_202C_202B_200D_200D_202E_200E_206A_202E_202A_202D_202A_200C_202E_206B_202C_200D_202E_200D_206B_200D_200E_202E(); + _202D_200C_206E_202D_202E_202E_200F_202D_200D_200C_200F_200C_200E_206E_206C_202E_202C_202A_202B_206F_202D_200F_200C_206C_202E_202C_200C_200F_206C_200D_206D_202C_206B_202D_206C_200C_200E_206F_206D_202B_202E(builder, global::_003CModule_003E._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(-813337770)); + _202D_200C_206E_202D_202E_202E_200F_202D_200D_200C_200F_200C_200E_206E_206C_202E_202C_202A_202B_206F_202D_200F_200C_206C_202E_202C_200C_200F_206C_200D_206D_202C_206B_202D_206C_200C_200E_206F_206D_202B_202E(builder, DataId.ToString()); + _202D_200C_206E_202D_202E_202E_200F_202D_200D_200C_200F_200C_200E_206E_206C_202E_202C_202A_202B_206F_202D_200F_200C_206C_202E_202C_200C_200F_206C_200D_206D_202C_206B_202D_206C_200C_200E_206F_206D_202B_202E(builder, global::_003CModule_003E._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(-1099263671)); + _202D_200C_206E_202D_202E_202E_200F_202D_200D_200C_200F_200C_200E_206E_206C_202E_202C_202A_202B_206F_202D_200F_200C_206C_202E_202C_200C_200F_206C_200D_206D_202C_206B_202D_206C_200C_200E_206F_206D_202B_202E(builder, AetherCurrentId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Attune? other) + { + int num = (((object)this == other) ? (-814902453) : (-814902454)); + while (true) + { + int num2 = num; + int num3 = -814902455; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return true; + case 3: + num = (((object)other == null) ? (-814902456) : (-814902455)); + break; + case 1: + return false; + case 4: + return EqualityComparer.Default.Equals(AetherCurrentId, other.AetherCurrentId); + case 6: + num = -814902454; + break; + case 5: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? (-814902456) : (-814902451)); + break; + case 0: + num = ((!_206B_200B_200B_206C_206B_200F_200F_206E_200D_206D_200C_206F_206D_206A_206F_206B_202E_206C_200B_202E_206E_202B_206C_206F_206E_200E_206E_202E_202B_200E_202C_206A_202D_200B_206F_200B_202C_200C_202E_206C_202E(EqualityContract, other.EqualityContract)) ? (-814902456) : (-814902452)); + break; + } + } + } + + bool IEquatable.Equals(Attune? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_200D_202C_202A_206C_200E_206F_200D_202B_206C_206C_202D_202C_200B_206A_200E_206E_206A_206C_202E_202A_200C_206E_202C_202A_206A_206D_202E_202B_202C_202A_202E_200E_200E_206F_202C_202E_206F_202D_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206E_202E_200E_200F_206D_206E_206D_202C_202A_202A_200D_202C_200D_206B_202A_202D_200D_202A_200C_202C_202B_200D_200D_202E_200E_206A_202E_202A_202D_202A_200C_202E_206B_202C_200D_202E_200D_206B_200D_200E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202D_200C_206E_202D_202E_202E_200F_202D_200D_200C_200F_200C_200E_206E_206C_202E_202C_202A_202B_206F_202D_200F_200C_206C_202E_202C_200C_200F_206C_200D_206D_202C_206B_202D_206C_200C_200E_206F_206D_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _206B_200B_200B_206C_206B_200F_200F_206E_200D_206D_200C_206F_206D_206A_206F_206B_202E_206C_200B_202E_206E_202B_206C_206F_206E_200E_206E_202E_202B_200E_202C_206A_202D_200B_206F_200B_202C_200C_202E_206C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class DoAttune(GameFunctions gameFunctions, ILogger logger) : TaskExecutor() { + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - if (!gameFunctions.IsAetherCurrentUnlocked(base.Task.AetherCurrentId)) + int num = (GameFunctions.IsAetherCurrentUnlocked(base.Task.AetherCurrentId) ? 1079740231 : 1079740228); + while (true) { - 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; + int num2 = num; + int num3 = 1079740230; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _200E_200C_202B_200D_206C_206B_206B_206F_200E_206D_200E_200E_202C_200E_200C_200D_202D_206C_206D_206E_206A_206A_200F_200E_202C_206E_206E_202C_206F_200C_200B_206E_206F_202C_200E_200E_200F_202A_206B_202D_202E((ILogger)logger, global::_003CModule_003E._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(693559237), new object[2] + { + base.Task.AetherCurrentId, + base.Task.DataId + }); + return false; + case 2: + _206B_202B_202B_202B_200D_206B_202E_202A_206B_202A_202B_202B_202A_200D_202C_200F_202C_200F_200B_200F_206E_206C_206E_200B_200B_202A_206F_206B_200E_200F_200F_200E_206A_200E_202C_206A_200D_202A_206A_200D_202E((ILogger)logger, global::_003CModule_003E._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(-2064140489), new object[2] + { + base.Task.AetherCurrentId, + base.Task.DataId + }); + base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => gameFunctions.InteractWith(base.Task.DataId, ObjectKind.EventObj)); + return true; + case 0: + goto IL_00ef; + } + continue; + IL_00ef: + num = 1079740228; } - logger.LogInformation("Already attuned to aether current {AetherCurrentId} / {DataId}", base.Task.AetherCurrentId, base.Task.DataId); - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - if (!gameFunctions.IsAetherCurrentUnlocked(base.Task.AetherCurrentId)) + int num = ((!GameFunctions.IsAetherCurrentUnlocked(base.Task.AetherCurrentId)) ? (-272165629) : (-272165626)); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = -272165632; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + ResetProgressTimer(); + num = -272165630; + break; + case 3: + num = ((base.ProgressContext == null) ? (-272165630) : (-272165632)); + break; + case 6: + ResetProgressTimer(); + return ETaskResult.TaskComplete; + case 7: + num = -272165626; + break; + case 1: + _200E_200C_202B_200D_206C_206B_206B_206F_200E_206D_200E_200E_202C_200E_200C_200D_202D_206C_206D_206E_206A_206A_200F_200E_202C_206E_206E_202C_206F_200C_200B_206E_206F_202C_200E_200E_200F_202A_206B_202D_202E((ILogger)logger, global::_003CModule_003E._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(-119711603), new object[1] { base.Task.AetherCurrentId }); + return ETaskResult.StillRunning; + case 2: + return ETaskResult.StillRunning; + case 0: + num = ((!base.ProgressContext.WasInterrupted()) ? (-272165627) : (-272165631)); + break; + case 5: + num = ((!base.ProgressContext.WasSuccessful()) ? (-272165630) : (-272165628)); + break; + } } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return true; } + + static void _206B_202B_202B_202B_200D_206B_202E_202A_206B_202A_202B_202B_202A_200D_202C_200F_202C_200F_200B_200F_206E_206C_206E_200B_200B_202A_206F_206B_200E_200F_200F_200E_206A_200E_202C_206A_200D_202A_206A_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _200E_200C_202B_200D_206C_206B_206B_206F_200E_206D_200E_200E_202C_200E_200C_200D_202D_206C_206D_206E_206A_206A_200F_200E_202C_206E_206E_202C_206F_200C_200B_206E_206F_202C_200E_200E_200F_202A_206B_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/AethernetShard.cs b/Questionable/Questionable.Controller.Steps.Interactions/AethernetShard.cs index f769b9c8..283f6883 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/AethernetShard.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/AethernetShard.cs @@ -1,10 +1,12 @@ using System; -using Dalamud.Game.ClientState.Objects.Enums; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; 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; @@ -12,56 +14,162 @@ internal static class AethernetShard { internal sealed class Factory : SimpleTaskFactory { + [MethodImpl(MethodImplOptions.NoInlining)] public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.AttuneAethernetShard) + int num = ((_200F_206C_200B_206A_206A_206A_206D_202C_200D_206A_202D_206C_200E_202E_200D_200D_200F_200F_200B_200C_200D_200E_200C_206B_202D_200D_206B_200F_206F_206A_206D_206A_202A_200B_200E_200C_202B_206B_206A_206B_202E(step) == EInteractionType.AttuneAethernetShard) ? (-1186743855) : (-1186743856)); + while (true) { - return null; + int num2 = num; + int num3 = -1186743855; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0049; + case 0: + _202E_200E_202A_202A_202D_206E_202A_206E_200B_202A_206A_206A_206C_206C_202A_206E_202A_200E_206F_206F_206F_200C_202A_202C_206E_206B_206D_206B_202A_206E_202B_200F_206D_202D_200C_200C_206E_206A_200D_206C_202E((object)_206B_202B_202C_200E_206F_202A_206F_206E_200F_206A_200F_206E_200B_200C_206B_200D_206D_202E_200E_206A_200E_200D_206B_200B_206D_206E_202D_206B_202E_206F_202D_200E_202C_200D_206C_200B_200B_200B_200D_200D_202E(step), global::_003CModule_003E._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(-520107683)); + return new Attune(_206B_202B_202C_200E_206F_202A_206F_206E_200F_206A_200F_206E_200B_200C_206B_200D_206D_202E_200E_206A_200E_200D_206B_200B_206D_206E_202D_206B_202E_206F_202D_200E_202C_200D_206C_200B_200B_200B_200D_200D_202E(step).Value); + case 1: + return null; + } + continue; + IL_0049: + num = -1186743856; } - ArgumentNullException.ThrowIfNull(step.AethernetShard, "step.AethernetShard"); - return new Attune(step.AethernetShard.Value); + } + + static EInteractionType _200F_206C_200B_206A_206A_206A_206D_202C_200D_206A_202D_206C_200E_202E_200D_200D_200F_200F_200B_200C_200D_200E_200C_206B_202D_200D_206B_200F_206F_206A_206D_206A_202A_200B_200E_200C_202B_206B_206A_206B_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static EAetheryteLocation? _206B_202B_202C_200E_206F_202A_206F_206E_200F_206A_200F_206E_200B_200C_206B_200D_206D_202E_200E_206A_200E_200D_206B_200B_206D_206E_202D_206B_202E_206F_202D_200E_202C_200D_206C_200B_200B_200B_200D_200D_202E(QuestStep P_0) + { + return P_0.AethernetShard; + } + + static void _202E_200E_202A_202A_202D_206E_202A_206E_200B_202A_206A_206A_206C_206C_202A_206E_202A_200E_206F_206F_206F_200C_202A_202C_206E_206B_206D_206B_202A_206E_202B_200F_206D_202D_200C_200C_206E_206A_200D_206C_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); } } internal sealed record Attune(EAetheryteLocation AetheryteLocation) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206D_206A_206D_200E_206E_202B_202A_202B_206E_206D_200F_202C_200F_202C_200E_206E_202E_206E_206D_202B_200D_202B_206D_206E_202D_202D_200C_200C_202E_206B_200F_206A_200F_206D_202C_206B_202C_206C_200C_202E(typeof(Attune).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"AttuneAethernetShard({AetheryteLocation})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(22, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2083697024)); + defaultInterpolatedStringHandler.AppendFormatted(AetheryteLocation); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206A_202E_200E_206F_200C_202E_206E_206F_206B_200B_206F_206B_202C_200E_206A_202A_206E_200C_200F_200B_200B_202B_202D_200F_202B_206A_206B_202D_202E_206E_206A_202C_200F_200C_202A_206C_206D_206A_202A_200E_202E(); + _202A_206F_202A_202B_206D_202A_202A_200D_200F_200B_202C_206F_202D_206E_206F_202E_206D_200B_202B_206C_200F_206B_200D_200D_202E_206D_200E_202A_206F_206E_202E_206B_200D_200C_202B_206A_206E_206C_206B_200C_202E(builder, global::_003CModule_003E._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(-1285909237)); + _202A_206F_202A_202B_206D_202A_202A_200D_200F_200B_202C_206F_202D_206E_206F_202E_206D_200B_202B_206C_200F_206B_200D_200D_202E_206D_200E_202A_206F_206E_202E_206B_200D_200C_202B_206A_206E_206C_206B_200C_202E(builder, AetheryteLocation.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Attune? other) + { + int num = (((object)this == other) ? 513184139 : 513184143); + while (true) + { + int num2 = num; + int num3 = 513184142; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 513184143; + break; + case 3: + num = ((!_202D_206E_202C_200D_206A_202B_202E_206C_200E_202E_202A_206E_206B_206B_206B_200F_206F_202D_202A_202A_202B_202B_206F_202D_206D_206A_200C_202B_206D_200E_202C_206D_200C_202A_206F_206C_206C_200C_200F_206E_202E(EqualityContract, other.EqualityContract)) ? 513184140 : 513184138); + break; + case 5: + return true; + case 1: + num = (((object)other == null) ? 513184140 : 513184141); + break; + case 4: + return EqualityComparer.Default.Equals(AetheryteLocation, other.AetheryteLocation); + case 2: + return false; + } + } + } + + bool IEquatable.Equals(Attune? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206D_206A_206D_200E_206E_202B_202A_202B_206E_206D_200F_202C_200F_202C_200E_206E_202E_206E_206D_202B_200D_202B_206D_206E_202D_202D_200C_200C_202E_206B_200F_206A_200F_206D_202C_206B_202C_206C_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206A_202E_200E_206F_200C_202E_206E_206F_206B_200B_206F_206B_202C_200E_206A_202A_206E_200C_200F_200B_200B_202B_202D_200F_202B_206A_206B_202D_202E_206E_206A_202C_200F_200C_202A_206C_206D_206A_202A_200E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202A_206F_202A_202B_206D_202A_202A_200D_200F_200B_202C_206F_202D_206E_206F_202E_206D_200B_202B_206C_200F_206B_200D_200D_202E_206D_200E_202A_206F_206E_202E_206B_200D_200C_202B_206A_206E_206C_206B_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _202D_206E_202C_200D_206A_202B_202E_206C_200E_202E_202A_206E_206B_206B_206B_200F_206F_202D_202A_202A_202B_202B_206F_202D_206D_206A_200C_202B_206D_200E_202C_206D_200C_202A_206F_206C_206C_200C_200F_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - internal sealed class DoAttune(AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, ILogger logger) : TaskExecutor() + internal sealed class DoAttune : Aetheryte.DoAttuneBase { - protected override bool Start() + [MethodImpl(MethodImplOptions.NoInlining)] + public DoAttune(AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, ILogger logger) + : base(aetheryteFunctions, gameFunctions, (ILogger)logger, global::_003CModule_003E._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(-577134927)) { - 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 bea4095a..f424194a 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Aetheryte.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Aetheryte.cs @@ -1,10 +1,13 @@ using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; 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; @@ -12,56 +15,253 @@ internal static class Aetheryte { internal sealed class Factory : SimpleTaskFactory { + [MethodImpl(MethodImplOptions.NoInlining)] public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.AttuneAetheryte) + int num = ((_200F_206D_200C_206B_200C_206E_202B_202A_206E_200D_200E_206D_202E_202D_200C_202B_200B_206C_202B_206B_200B_206D_200F_206F_206B_200F_200B_200C_202D_202A_206C_202C_200C_202E_202E_200F_206C_202A_206A_202A_202E(step) == EInteractionType.AttuneAetheryte) ? (-343069115) : (-343069116)); + while (true) { - return null; + int num2 = num; + int num3 = -343069115; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0047; + case 1: + return null; + case 0: + _200B_206D_206E_200D_206F_202E_202D_206C_206A_206B_202B_200E_206C_200D_206A_206B_206D_202C_200D_202C_200B_202B_206A_202B_202A_200C_200D_206D_206F_206A_200D_206F_206A_206D_200D_206E_206F_200F_206B_200D_202E((object)_206F_206F_206B_200B_202A_200D_200D_200F_202C_202B_202A_202E_200D_200B_202B_200F_200D_206C_202E_200F_200B_202E_200F_200C_202C_206B_202B_200F_206B_202A_202A_206A_202C_202A_202E_202A_206D_200F_200D_206A_202E(step), global::_003CModule_003E._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(1584480667)); + return new Attune(_206F_206F_206B_200B_202A_200D_200D_200F_202C_202B_202A_202E_200D_200B_202B_200F_200D_206C_202E_200F_200B_202E_200F_200C_202C_206B_202B_200F_206B_202A_202A_206A_202C_202A_202E_202A_206D_200F_200D_206A_202E(step).Value); + } + continue; + IL_0047: + num = -343069116; } - ArgumentNullException.ThrowIfNull(step.Aetheryte, "step.Aetheryte"); - return new Attune(step.Aetheryte.Value); + } + + static EInteractionType _200F_206D_200C_206B_200C_206E_202B_202A_206E_200D_200E_206D_202E_202D_200C_202B_200B_206C_202B_206B_200B_206D_200F_206F_206B_200F_200B_200C_202D_202A_206C_202C_200C_202E_202E_200F_206C_202A_206A_202A_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static EAetheryteLocation? _206F_206F_206B_200B_202A_200D_200D_200F_202C_202B_202A_202E_200D_200B_202B_200F_200D_206C_202E_200F_200B_202E_200F_200C_202C_206B_202B_200F_206B_202A_202A_206A_202C_202A_202E_202A_206D_200F_200D_206A_202E(QuestStep P_0) + { + return P_0.Aetheryte; + } + + static void _200B_206D_206E_200D_206F_202E_202D_206C_206A_206B_202B_200E_206C_200D_206A_206B_206D_202C_200D_202C_200B_202B_206A_202B_202A_200C_200D_206D_206F_206A_200D_206F_206A_206D_200D_206E_206F_200F_206B_200D_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); } } internal sealed record Attune(EAetheryteLocation AetheryteLocation) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206F_206F_202A_200F_206F_202C_202B_206C_202A_200F_206E_200E_206F_206B_206A_200C_206D_200E_200F_206D_202E_206A_200C_206E_202B_200B_206E_206C_200D_206D_206D_206D_206E_200C_200D_202A_200D_206F_200B_202E_202E(typeof(Attune).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"AttuneAetheryte({AetheryteLocation})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(17, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1240918148)); + defaultInterpolatedStringHandler.AppendFormatted(AetheryteLocation); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_206B_202C_200E_202A_200E_200D_200B_200B_206F_206E_206B_200B_200E_202C_200F_206A_200D_206A_200D_202E_200C_206D_206C_200D_206D_206A_206B_200E_206B_202A_202E_202E_206C_200C_206D_202E_206C_206C_202C_202E(); + _202B_202B_206C_202C_202E_200C_200B_206D_200F_202D_200D_202E_202C_206C_206B_206C_206E_200B_206D_202A_200C_202E_206B_202D_202D_206E_202D_202C_200E_200C_202A_202C_200D_200F_206C_200C_200F_202A_206B_202A_202E(builder, global::_003CModule_003E._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(-1285909237)); + _202B_202B_206C_202C_202E_200C_200B_206D_200F_202D_200D_202E_202C_206C_206B_206C_206E_200B_206D_202A_200C_202E_206B_202D_202D_206E_202D_202C_200E_200C_202A_202C_200D_200F_206C_200C_200F_202A_206B_202A_202E(builder, AetheryteLocation.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Attune? other) + { + int num = (((object)this == other) ? (-82451630) : (-82451626)); + while (true) + { + int num2 = num; + int num3 = -82451625; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -82451626; + break; + case 1: + num = (((object)other == null) ? (-82451628) : (-82451625)); + break; + case 3: + return false; + case 4: + return EqualityComparer.Default.Equals(AetheryteLocation, other.AetheryteLocation); + case 5: + return true; + case 0: + num = ((!_200C_206A_202D_206A_200D_206E_202A_200F_206A_202A_202D_206E_202E_202C_200E_200D_202D_206F_206F_200F_206C_200E_206C_206B_206E_202D_202B_206E_206D_206D_200C_206D_202E_202C_206C_202B_202D_200C_206D_202A_202E(EqualityContract, other.EqualityContract)) ? (-82451628) : (-82451629)); + break; + } + } + } + + bool IEquatable.Equals(Attune? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206F_206F_202A_200F_206F_202C_202B_206C_202A_200F_206E_200E_206F_206B_206A_200C_206D_200E_200F_206D_202E_206A_200C_206E_202B_200B_206E_206C_200D_206D_206D_206D_206E_200C_200D_202A_200D_206F_200B_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202E_206B_202C_200E_202A_200E_200D_200B_200B_206F_206E_206B_200B_200E_202C_200F_206A_200D_206A_200D_202E_200C_206D_206C_200D_206D_206A_206B_200E_206B_202A_202E_202E_206C_200C_206D_202E_206C_206C_202C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202B_202B_206C_202C_202E_200C_200B_206D_200F_202D_200D_202E_202C_206C_206B_206C_206E_200B_206D_202A_200C_202E_206B_202D_202D_206E_202D_202C_200E_200C_202A_202C_200D_200F_206C_200C_200F_202A_206B_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_206A_202D_206A_200D_206E_202A_200F_206A_202A_202D_206E_202E_202C_200E_200D_202D_206F_206F_200F_206C_200E_206C_206B_206E_202D_202B_206E_206D_206D_200C_206D_202E_202C_206C_202B_202D_200C_206D_202A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - 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(); + + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - if (!aetheryteFunctions.IsAetheryteUnlocked(base.Task.AetheryteLocation)) + EAetheryteLocation location = GetLocation(); + int num = (_003CaetheryteFunctions_003EP.IsAetheryteUnlocked(location) ? 1186609547 : 1186609544); + while (true) { - logger.LogInformation("Attuning to aetheryte {Aetheryte}", base.Task.AetheryteLocation); - base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => gameFunctions.InteractWith((uint)base.Task.AetheryteLocation, ObjectKind.Aetheryte)); - return true; + int num2 = num; + int num3 = 1186609545; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _202E_206B_200D_206D_206C_202B_202E_200B_200E_206D_202A_200D_206F_200C_202C_206C_206A_206F_202B_200D_200C_202E_200E_202A_206E_206D_200C_206B_200C_202A_202E_200D_202D_202D_202C_206E_202D_202A_202A_206E_202E(_003Clogger_003EP, global::_003CModule_003E._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(1529861734), new object[2] { _003Clabel_003EP, location }); + return false; + case 1: + _206A_200C_200D_202B_200B_202E_206A_206A_200D_200E_200B_200D_200D_200E_206F_202D_206E_200B_206E_202D_206F_206E_202A_200F_202A_206D_202C_200D_200E_202A_200C_200E_200E_200C_206B_200F_206C_200D_200D_206D_202E(_003Clogger_003EP, global::_003CModule_003E._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(-1889927611), new object[2] { _003Clabel_003EP, location }); + base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => _003CgameFunctions_003EP.InteractWith((uint)location, ObjectKind.Aetheryte)); + return true; + case 0: + goto IL_00e9; + } + continue; + IL_00e9: + num = 1186609544; } - logger.LogInformation("Already attuned to aetheryte {Aetheryte}", base.Task.AetheryteLocation); - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - if (!aetheryteFunctions.IsAetheryteUnlocked(base.Task.AetheryteLocation)) + int num = ((!_003CaetheryteFunctions_003EP.IsAetheryteUnlocked(GetLocation())) ? 1810240359 : 1810240355); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = 1810240354; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((!base.ProgressContext.WasSuccessful()) ? 1810240357 : 1810240356); + break; + case 5: + num = ((base.ProgressContext == null) ? 1810240357 : 1810240352); + break; + case 7: + return ETaskResult.StillRunning; + case 2: + num = ((!base.ProgressContext.WasInterrupted()) ? 1810240358 : 1810240354); + break; + case 0: + _202E_206B_200D_206D_206C_202B_202E_200B_200E_206D_202A_200D_206F_200C_202C_206C_206A_206F_202B_200D_200C_202E_200E_202A_206E_206D_200C_206B_200C_202A_202E_200D_202D_202D_202C_206E_202D_202A_202A_206E_202E(_003Clogger_003EP, global::_003CModule_003E._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(-854407988), new object[2] + { + _003Clabel_003EP, + GetLocation() + }); + return ETaskResult.StillRunning; + case 3: + num = 1810240355; + break; + case 1: + ResetProgressTimer(); + return ETaskResult.TaskComplete; + case 6: + ResetProgressTimer(); + num = 1810240357; + break; + } } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return true; } + + static void _206A_200C_200D_202B_200B_202E_206A_206A_200D_200E_200B_200D_200D_200E_206F_202D_206E_200B_206E_202D_206F_206E_202A_200F_202A_206D_202C_200D_200E_202A_200C_200E_200E_200C_206B_200F_206C_200D_200D_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _202E_206B_200D_206D_206C_202B_202E_200B_200E_206D_202A_200D_206F_200C_202C_206C_206A_206F_202B_200D_200C_202E_200E_202A_206E_206D_200C_206B_200C_202A_202E_200D_202D_202D_202C_206E_202D_202A_202A_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + } + + internal sealed class DoAttune : DoAttuneBase + { + [MethodImpl(MethodImplOptions.NoInlining)] + public DoAttune(AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, ILogger logger) + : base(aetheryteFunctions, gameFunctions, (ILogger)logger, global::_003CModule_003E._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(1427720199)) + { + } + + 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 27e12d68..0fc822bd 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/AetheryteFreeOrFavored.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/AetheryteFreeOrFavored.cs @@ -1,10 +1,13 @@ using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; 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; @@ -12,59 +15,233 @@ internal static class AetheryteFreeOrFavored { internal sealed class Factory : SimpleTaskFactory { + [MethodImpl(MethodImplOptions.NoInlining)] public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.RegisterFreeOrFavoredAetheryte) + int num = ((_206C_200C_200E_202C_200E_202A_206A_202C_206D_202A_206F_206D_206A_200D_200B_200E_206B_202B_202E_202B_202A_202D_206B_206D_200B_200E_202E_206A_206A_202D_200B_206C_206D_200C_202A_200C_200D_206E_200D_200E_202E(step) == EInteractionType.RegisterFreeOrFavoredAetheryte) ? 499713839 : 499713836); + while (true) { - return null; + int num2 = num; + int num3 = 499713838; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _202D_206F_202E_200B_200B_206F_206D_202C_206A_202B_200F_202E_200C_206A_206A_202B_206A_200D_206F_202A_200E_206D_206F_202D_206D_202A_200F_202B_206B_202B_202A_200C_206F_200F_206F_202C_200D_206E_202E_206A_202E((object)_202B_202C_202E_202A_206D_202A_200E_200E_206B_200D_206F_206A_206E_206E_202D_202D_206D_206C_202B_202E_202B_206E_200F_202C_206F_200B_202C_206C_206A_202B_200D_200E_200B_206C_200C_206B_200B_200D_202B_202A_202E(step), global::_003CModule_003E._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(1584480667)); + return new Register(_202B_202C_202E_202A_206D_202A_200E_200E_206B_200D_206F_206A_206E_206E_202D_202D_206D_206C_202B_202E_202B_206E_200F_202C_206F_200B_202C_206C_206A_202B_200D_200E_200B_206C_200C_206B_200B_200D_202B_202A_202E(step).Value); + case 2: + return null; + case 0: + goto IL_0077; + } + continue; + IL_0077: + num = 499713836; } - ArgumentNullException.ThrowIfNull(step.Aetheryte, "step.Aetheryte"); - return new Register(step.Aetheryte.Value); + } + + static EInteractionType _206C_200C_200E_202C_200E_202A_206A_202C_206D_202A_206F_206D_206A_200D_200B_200E_206B_202B_202E_202B_202A_202D_206B_206D_200B_200E_202E_206A_206A_202D_200B_206C_206D_200C_202A_200C_200D_206E_200D_200E_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static EAetheryteLocation? _202B_202C_202E_202A_206D_202A_200E_200E_206B_200D_206F_206A_206E_206E_202D_202D_206D_206C_202B_202E_202B_206E_200F_202C_206F_200B_202C_206C_206A_202B_200D_200E_200B_206C_200C_206B_200B_200D_202B_202A_202E(QuestStep P_0) + { + return P_0.Aetheryte; + } + + static void _202D_206F_202E_200B_200B_206F_206D_202C_206A_202B_200F_202E_200C_206A_206A_202B_206A_200D_206F_202A_200E_206D_206F_202D_206D_202A_200F_202B_206B_202B_202A_200C_206F_200F_206F_202C_200D_206E_202E_206A_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); } } internal sealed record Register(EAetheryteLocation AetheryteLocation) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_202A_202B_200E_202B_206A_206D_206D_206E_202B_200E_200C_206B_200D_206B_200F_200C_200B_202D_200F_206D_206E_202D_206A_202C_200B_200B_200F_202C_206E_200B_200C_206A_202D_206D_206F_200B_202B_206E_200F_202E(typeof(Register).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"RegisterFreeOrFavoredAetheryte({AetheryteLocation})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(32, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(837587043)); + defaultInterpolatedStringHandler.AppendFormatted(AetheryteLocation); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1618480346)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_206C_200B_200F_206A_202B_206B_206E_202D_202C_202B_206F_206F_202D_206A_206C_202E_200C_202B_200F_202A_200B_200E_200E_200F_200E_206B_200E_206F_200B_200E_200C_200F_206C_200D_206D_200C_200D_202B_202A_202E(); + _206C_202E_202B_200F_206A_206D_202B_202C_200D_206B_206C_206B_200D_200D_200D_202A_200E_202B_200B_200E_206D_206B_202B_202B_206B_206A_206A_202A_200E_206B_200D_206A_200D_202B_202E_202B_200B_206B_206E_202D_202E(builder, global::_003CModule_003E._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(719371282)); + _206C_202E_202B_200F_206A_206D_202B_202C_200D_206B_206C_206B_200D_200D_200D_202A_200E_202B_200B_200E_206D_206B_202B_202B_206B_206A_206A_202A_200E_206B_200D_206A_200D_202B_202E_202B_200B_206B_206E_202D_202E(builder, AetheryteLocation.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Register? other) + { + int num = (((object)this == other) ? 602559884 : 602559880); + while (true) + { + int num2 = num; + int num3 = 602559881; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + return true; + case 2: + return false; + case 4: + num = 602559880; + break; + case 0: + return EqualityComparer.Default.Equals(AetheryteLocation, other.AetheryteLocation); + case 1: + num = (((object)other == null) ? 602559883 : 602559882); + break; + case 3: + num = ((!_202E_206F_200D_200E_206F_200C_202D_202E_206D_200B_202B_200B_200D_200D_202B_202B_202C_200D_206A_202B_200C_206E_202C_200C_202C_200B_202A_206D_200C_202D_206E_206A_206C_202C_206E_200F_200B_200C_200E_206F_202E(EqualityContract, other.EqualityContract)) ? 602559883 : 602559881); + break; + } + } + } + + bool IEquatable.Equals(Register? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_202A_202B_200E_202B_206A_206D_206D_206E_202B_200E_200C_206B_200D_206B_200F_200C_200B_202D_200F_206D_206E_202D_206A_202C_200B_200B_200F_202C_206E_200B_200C_206A_202D_206D_206F_200B_202B_206E_200F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202B_206C_200B_200F_206A_202B_206B_206E_202D_202C_202B_206F_206F_202D_206A_206C_202E_200C_202B_200F_202A_200B_200E_200E_200F_200E_206B_200E_206F_200B_200E_200C_200F_206C_200D_206D_200C_200D_202B_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206C_202E_202B_200F_206A_206D_202B_202C_200D_206B_206C_206B_200D_200D_200D_202A_200E_202B_200B_200E_206D_206B_202B_202B_206B_206A_206A_202A_200E_206B_200D_206A_200D_202B_202E_202B_200B_206B_206E_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _202E_206F_200D_200E_206F_200C_202D_202E_206D_200B_202B_200B_200D_200D_202B_202B_202C_200D_206A_202B_200C_206E_202C_200C_202C_200B_202A_206D_200C_202D_206E_206A_206C_202C_206E_200F_200B_200C_200E_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class DoRegister(AetheryteFunctions aetheryteFunctions, GameFunctions gameFunctions, ILogger logger) : TaskExecutor() { + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - if (!aetheryteFunctions.IsAetheryteUnlocked(base.Task.AetheryteLocation)) + int num = (aetheryteFunctions.IsAetheryteUnlocked(base.Task.AetheryteLocation) ? 1191746400 : 1191746407); + while (true) { - throw new TaskException($"Aetheryte {base.Task.AetheryteLocation} is not attuned"); + int num2 = num; + int num3 = 1191746404; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _200C_202B_206D_200B_202A_202C_200B_206A_200D_202E_206C_202B_200B_206B_206F_206C_200F_200D_200B_206C_200D_202C_202C_206E_206F_206C_202E_206A_200D_206D_206F_202A_202A_206C_206F_206E_200E_200C_202D_202E_202E((ILogger)logger, global::_003CModule_003E._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(560864212), new object[1] { base.Task.AetheryteLocation }); + return false; + case 3: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(25, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1957444372)); + defaultInterpolatedStringHandler.AppendFormatted(base.Task.AetheryteLocation); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1174023517)); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 4: + num = ((aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(base.Task.AetheryteLocation) != AetheryteRegistrationResult.NotPossible) ? 1191746404 : 1191746405); + break; + case 2: + num = 1191746407; + break; + case 0: + base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => gameFunctions.InteractWith((uint)base.Task.AetheryteLocation, ObjectKind.Aetheryte)); + return true; + } } - if (aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(base.Task.AetheryteLocation) == AetheryteRegistrationResult.NotPossible) - { - logger.LogInformation("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)); - return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - if (aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(base.Task.AetheryteLocation) != AetheryteRegistrationResult.NotPossible) + int num = ((aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(base.Task.AetheryteLocation) != AetheryteRegistrationResult.NotPossible) ? 473627761 : 473627764); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = 473627760; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 473627764; + break; + case 7: + num = ((!base.ProgressContext.WasSuccessful()) ? 473627762 : 473627766); + break; + case 2: + return ETaskResult.StillRunning; + case 5: + _200C_202B_206D_200B_202A_202C_200B_206A_200D_202E_206C_202B_200B_206B_206F_206C_200F_200D_200B_206C_200D_202C_202C_206E_206F_206C_202E_206A_200D_206D_206F_202A_202A_206C_206F_206E_200E_200C_202D_202E_202E((ILogger)logger, global::_003CModule_003E._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(-180503859), new object[1] { base.Task.AetheryteLocation }); + return ETaskResult.StillRunning; + case 4: + ResetProgressTimer(); + return ETaskResult.TaskComplete; + case 6: + ResetProgressTimer(); + num = 473627762; + break; + case 3: + num = ((!base.ProgressContext.WasInterrupted()) ? 473627767 : 473627765); + break; + case 1: + num = ((base.ProgressContext == null) ? 473627762 : 473627763); + break; + } } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return true; } + + static void _200C_202B_206D_200B_202A_202C_200B_206A_200D_202E_206C_202B_200B_206B_206F_206C_200F_200D_200B_206C_200D_202C_202C_206E_206F_206C_202E_206A_200D_206D_206F_202A_202A_206C_206F_206E_200E_200C_202D_202E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/AutoVendorPurchase.cs b/Questionable/Questionable.Controller.Steps.Interactions/AutoVendorPurchase.cs new file mode 100644 index 00000000..51d306ce --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Interactions/AutoVendorPurchase.cs @@ -0,0 +1,369 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +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 + { + [CompilerGenerated] + private sealed class _003CCreateAllTasks_003Ed__4 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private QuestStep step; + + public QuestStep _003C_003E3__step; + + public Factory _003C_003E4__this; + + private VendorResolverService.VendorInfo? _003Cvendor_003E5__2; + + private int _003Cquantity_003E5__3; + + private IEnumerator _003C_003E7__wrap3; + + ITask IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CCreateAllTasks_003Ed__4(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _202E_200D_206C_200F_206B_202D_200B_206D_202A_206E_200F_202E_206D_202E_206A_206E_200B_206B_206D_206A_202E_202D_202D_200C_206D_206F_206C_206A_202B_206E_202E_200C_200F_206C_200B_200B_200E_202E_206F_200C_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? 1416042762 : 1416042763); + while (true) + { + int num3 = num2; + int num4 = 1416042762; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 2: + num2 = 1416042763; + continue; + case 1: + if (num == 1) + { + num2 = 1416042762; + continue; + } + break; + case 0: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap3 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + Factory factory = _003C_003E4__this; + int num2; + switch (num) + { + default: + num2 = 94833750; + goto IL_0030; + case 2: + _003C_003E1__state = -1; + _003C_003E2__current = new VendorPurchaseTask(_003Cvendor_003E5__2.Value.VendorNpcId, new global::_003C_003Ez__ReadOnlySingleElementList(new VendorPurchaseTask.PurchaseItem(_206B_200E_206E_202C_206E_206C_200D_206D_200C_206B_202A_200D_202C_206C_202E_206B_202E_206D_200F_202D_200B_200E_206E_206A_202A_202A_200C_202D_200D_202A_206A_206D_206A_206C_200F_206F_200C_206D_206A_202C_202E(step).Value, _003Cquantity_003E5__3)), _003Cvendor_003E5__2.Value.DialogOptionIndex); + _003C_003E1__state = 3; + return true; + case 0: + goto IL_025b; + case 1: + goto IL_02d8; + case 3: + break; + IL_0030: + while (true) + { + int num3 = num2; + int num4 = 94833758; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 7: + _003C_003Em__Finally1(); + _003C_003E7__wrap3 = null; + _003C_003E2__current = new Mount.UnmountTask(); + _003C_003E1__state = 2; + return true; + case 0: + goto IL_00c0; + case 12: + _206A_202E_202C_206A_206F_206B_206F_206E_200B_200B_200B_200B_200E_206B_202A_202A_206E_206C_200B_206B_200F_206E_206D_202B_200E_200E_202B_202C_202B_206A_206A_206C_200B_206E_206E_200D_206D_200E_206B_206A_202E((ILogger)factory.logger, global::_003CModule_003E._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(237865038), new object[1] { _206B_200E_206E_202C_206E_206C_200D_206D_200C_206B_202A_200D_202C_206C_202E_206B_202E_206D_200F_202D_200B_200E_206E_206A_202A_202A_200C_202D_200D_202A_206A_206D_206A_206C_200F_206F_200C_206D_206A_202C_202E(step) }); + return false; + case 8: + return false; + case 11: + { + ITask current = _003C_003E7__wrap3.Current; + _003C_003E2__current = current; + _003C_003E1__state = 1; + return true; + } + case 14: + _003Cquantity_003E5__3 = _206E_206C_206F_202E_200B_202B_200B_202C_200E_206A_202B_200D_202D_202D_206C_206E_206A_206E_202D_206A_202D_200D_200F_200C_202A_206F_206A_200F_202E_200C_202A_206E_202D_206F_200C_200C_206D_206D_200C_202A_202E(step) ?? 1; + _003C_003E7__wrap3 = factory.routeEnqueuer.BuildRoutedTasks(_003Cvendor_003E5__2.Value.TerritoryId, _003Cvendor_003E5__2.Value.Position).GetEnumerator(); + _003C_003E1__state = -3; + num2 = 94833758; + break; + case 2: + num2 = 94833750; + break; + case 6: + goto end_IL_0030; + case 10: + goto IL_025b; + case 1: + goto IL_028c; + case 5: + goto IL_02d8; + case 9: + goto IL_02ec; + case 3: + return false; + case 4: + goto IL_032f; + case 13: + goto end_IL_000f; + } + continue; + IL_032f: + num2 = (_206B_200E_206E_202C_206E_206C_200D_206D_200C_206B_202A_200D_202C_206C_202E_206B_202E_206D_200F_202D_200B_200E_206E_206A_202A_202A_200C_202D_200D_202A_206A_206D_206A_206C_200F_206F_200C_206D_206A_202C_202E(step).HasValue ? 94833759 : 94833757); + continue; + IL_028c: + _003Cvendor_003E5__2 = factory.vendorResolver.ResolveVendor(_206B_200E_206E_202C_206E_206C_200D_206D_200C_206B_202A_200D_202C_206C_202E_206B_202E_206D_200F_202D_200B_200E_206E_206A_202A_202A_200C_202D_200D_202A_206A_206D_206A_206C_200F_206F_200C_206D_206A_202C_202E(step).Value); + num2 = (_003Cvendor_003E5__2.HasValue ? 94833744 : 94833746); + continue; + IL_00c0: + num2 = (_202A_206B_200F_200F_200E_200D_206F_202A_206C_200C_206D_200E_206A_200E_202E_206D_206F_202B_202E_206C_202E_202D_202C_206E_202B_202D_206C_200B_200F_206F_206A_202B_206E_206C_206C_202E_206E_206B_206B_202A_202E((IEnumerator)_003C_003E7__wrap3) ? 94833749 : 94833753); + continue; + IL_02ec: + num2 = (_200C_200F_200C_202A_202D_202D_202A_200C_200D_206C_206C_200C_206E_202E_206A_206A_200D_202C_200E_202C_206B_200F_206A_202A_202A_200C_206E_200D_202D_200C_200E_202B_206F_202C_202C_200C_206E_206A_200E_206D_202E(step).HasValue ? 94833757 : 94833754); + continue; + end_IL_0030: + break; + } + goto case 2; + IL_02d8: + _003C_003E1__state = -3; + num2 = 94833758; + goto IL_0030; + IL_025b: + _003C_003E1__state = -1; + num2 = ((_200B_206A_200B_206E_200B_206D_202C_202D_206F_202E_200D_202E_202A_206F_202C_206B_202B_206D_200D_202E_206A_206D_200C_202A_206F_206B_200C_202D_202B_202A_200E_206B_206C_200D_200E_200D_202D_202B_206D_200C_202E(step) != EInteractionType.PurchaseItem) ? 94833757 : 94833751); + goto IL_0030; + end_IL_000f: + break; + } + _003C_003E1__state = -1; + return false; + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap3 == null) ? 2030073587 : 2030073584); + while (true) + { + int num2 = num; + int num3 = 2030073586; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return; + case 2: + _206D_202D_206A_200D_202C_206D_206A_206E_200E_206D_202E_206B_206D_206D_206D_200C_202C_200F_206F_200E_202B_202C_202B_202E_206E_200F_202C_202C_202E_200D_200F_202C_200F_202D_206F_200E_206D_202E_202E_202A_202E((IDisposable)_003C_003E7__wrap3); + num = 2030073587; + break; + case 0: + num = 2030073584; + break; + } + } + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _202E_200F_206F_202B_202B_202D_200C_206A_200B_206F_200D_202B_202C_202E_206F_202A_206E_200D_202A_200D_202D_206E_206F_206E_200E_206F_206E_200C_202A_206D_202E_200D_202C_202A_202D_206F_202E_206A_200E_206B_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-566231640) : (-566231639)); + _003CCreateAllTasks_003Ed__4 _003CCreateAllTasks_003Ed__ = default(_003CCreateAllTasks_003Ed__4); + while (true) + { + int num2 = num; + int num3 = -566231638; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _003C_003E1__state = 0; + _003CCreateAllTasks_003Ed__ = this; + num = -566231638; + break; + case 3: + num = ((_003C_003El__initialThreadId != _202E_200D_206C_200F_206B_202D_200B_206D_202A_206E_200F_202E_206D_202E_206A_206E_200B_206B_206D_206A_202E_202D_202D_200C_206D_206F_206C_206A_202B_206E_202E_200C_200F_206C_200B_200B_200E_202E_206F_200C_202E()) ? (-566231640) : (-566231637)); + break; + case 2: + _003CCreateAllTasks_003Ed__ = new _003CCreateAllTasks_003Ed__4(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = -566231638; + break; + case 4: + num = -566231639; + break; + case 0: + _003CCreateAllTasks_003Ed__.step = _003C_003E3__step; + return _003CCreateAllTasks_003Ed__; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _202E_200D_206C_200F_206B_202D_200B_206D_202A_206E_200F_202E_206D_202E_206A_206E_200B_206B_206D_206A_202E_202D_202D_200C_206D_206F_206C_206A_202B_206E_202E_200C_200F_206C_200B_200B_200E_202E_206F_200C_202E() + { + return Environment.CurrentManagedThreadId; + } + + static EInteractionType _200B_206A_200B_206E_200B_206D_202C_202D_206F_202E_200D_202E_202A_206F_202C_206B_202B_206D_200D_202E_206A_206D_200C_202A_206F_206B_200C_202D_202B_202A_200E_206B_206C_200D_200E_200D_202D_202B_206D_200C_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static uint? _200C_200F_200C_202A_202D_202D_202A_200C_200D_206C_206C_200C_206E_202E_206A_206A_200D_202C_200E_202C_206B_200F_206A_202A_202A_200C_206E_200D_202D_200C_200E_202B_206F_202C_202C_200C_206E_206A_200E_206D_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static uint? _206B_200E_206E_202C_206E_206C_200D_206D_200C_206B_202A_200D_202C_206C_202E_206B_202E_206D_200F_202D_200B_200E_206E_206A_202A_202A_200C_202D_200D_202A_206A_206D_206A_206C_200F_206F_200C_206D_206A_202C_202E(QuestStep P_0) + { + return P_0.ItemId; + } + + static void _206A_202E_202C_206A_206F_206B_206F_206E_200B_200B_200B_200B_200E_206B_202A_202A_206E_206C_200B_206B_200F_206E_206D_202B_200E_200E_202B_202C_202B_206A_206A_206C_200B_206E_206E_200D_206D_200E_206B_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static int? _206E_206C_206F_202E_200B_202B_200B_202C_200E_206A_202B_200D_202D_202D_206C_206E_206A_206E_202D_206A_202D_200D_200F_200C_202A_206F_206A_200F_202E_200C_202A_206E_202D_206F_200C_200C_206D_206D_200C_202A_202E(QuestStep P_0) + { + return P_0.ItemCount; + } + + static bool _202A_206B_200F_200F_200E_200D_206F_202A_206C_200C_206D_200E_206A_200E_202E_206D_206F_202B_202E_206C_202E_202D_202C_206E_202B_202D_206C_200B_200F_206F_206A_202B_206E_206C_206C_202E_206E_206B_206B_202A_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206D_202D_206A_200D_202C_206D_206A_206E_200E_206D_202E_206B_206D_206D_206D_200C_202C_200F_206F_200E_202B_202C_202B_202E_206E_200F_202C_202C_202E_200D_200F_202C_200F_202D_206F_200E_206D_202E_202E_202A_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _202E_200F_206F_202B_202B_202D_200C_206A_200B_206F_200D_202B_202C_202E_206F_202A_206E_200D_202A_200D_202D_206E_206F_206E_200E_206F_206E_200C_202A_206D_202E_200D_202C_202A_202D_206F_202E_206A_200E_206B_202E() + { + return new NotSupportedException(); + } + } + + [IteratorStateMachine(typeof(_003CCreateAllTasks_003Ed__4))] + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CCreateAllTasks_003Ed__4(-2) + { + _003C_003E4__this = this, + _003C_003E3__step = step + }; + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Interactions/ClearObjectsWithAction.cs b/Questionable/Questionable.Controller.Steps.Interactions/ClearObjectsWithAction.cs index c01bdbf8..10a802ca 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/ClearObjectsWithAction.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/ClearObjectsWithAction.cs @@ -1,7 +1,11 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; 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; @@ -17,32 +21,198 @@ internal static class ClearObjectsWithAction { public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.Action) + int num = ((_200B_200D_200C_200C_202B_206D_200E_202C_200F_206F_206F_200B_206E_200B_200E_200E_202C_202C_206B_200D_200E_202B_206E_202A_200D_200F_200D_200D_202B_206F_206C_200F_202B_202E_206F_200F_206E_202E_200F_200F_202E(step) == EInteractionType.Action) ? (-1145008527) : (-1145008525)); + while (true) { - return Array.Empty(); + int num2 = num; + int num3 = -1145008523; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1145008525; + break; + case 6: + return Array.Empty(); + case 2: + return new global::_003C_003Ez__ReadOnlySingleElementList(new ClearTask(_200E_202B_202D_200C_202A_200B_200E_200E_200E_200F_206F_206E_200D_202B_206F_202B_200F_206D_206A_202E_206A_206C_202C_200D_206C_202E_206D_202D_206B_206F_200D_206B_206B_206E_206D_202C_206B_202D_200B_200D_202E(step), _200F_200F_200F_200E_206E_200B_202E_206B_206C_200D_202D_200F_200D_202B_202B_206C_200F_206C_202B_202D_202B_202A_206A_206B_202B_202E_202A_202A_200D_200D_202E_200C_206C_202B_206D_200F_206B_202C_206E_200F_202E(step).Value, _206E_202E_202B_200D_206D_206B_206D_200F_200B_202C_202E_202B_206D_206D_206C_200C_202A_206E_200B_206B_200B_202D_200F_202A_202E_206F_202B_200F_206A_206D_202E_206C_200B_200B_200D_202D_202B_206C_200E_206A_202E(step), _202C_202A_202A_202A_200C_206C_202B_200F_202A_202E_206B_206E_202E_206D_202E_200F_200C_200F_206D_206D_200C_206C_202D_200F_202E_200B_200C_206E_206C_200E_200C_206C_200D_206D_202B_206E_206C_202A_200D_202A_202E(step), _202C_206B_200E_202D_200B_206A_202B_202B_206E_206C_202E_200E_206F_202A_200E_206D_200D_200D_206E_206B_200E_202E_206C_206B_202D_206F_202C_206C_202B_202C_206D_202D_202E_206A_206B_206E_200C_202B_206C_200D_202E(step))); + case 3: + num = (_200F_200F_200F_200E_206E_200B_202E_206B_206C_200D_202D_200F_200D_202B_202B_206C_200F_206C_202B_202D_202B_202A_206A_206B_202B_202E_202A_202A_200D_200D_202E_200C_206C_202B_206D_200F_206B_202C_206E_200F_202E(step).HasValue ? (-1145008521) : (-1145008524)); + break; + case 1: + return Array.Empty(); + case 5: + return Array.Empty(); + case 4: + num = ((_200E_202B_202D_200C_202A_200B_200E_200E_200E_200F_206F_206E_200D_202B_206F_202B_200F_206D_206A_202E_206A_206C_202C_200D_206C_202E_206D_202D_206B_206F_200D_206B_206B_206E_206D_202C_206B_202D_200B_200D_202E(step).Count != 0) ? (-1145008522) : (-1145008528)); + break; + } } - if (step.DataIds.Count == 0) - { - return Array.Empty(); - } - if (!step.Action.HasValue) - { - return Array.Empty(); - } - return new global::_003C_003Ez__ReadOnlySingleElementList(new ClearTask(step.DataIds, step.Action.Value, step.TerritoryId, step.CalculateActualStopDistance(), step.WaypointPositions)); + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + + static EInteractionType _200B_200D_200C_200C_202B_206D_200E_202C_200F_206F_206F_200B_206E_200B_200E_200E_202C_202C_206B_200D_200E_202B_206E_202A_200D_200F_200D_200D_202B_206F_206C_200F_202B_202E_206F_200F_206E_202E_200F_200F_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static List _200E_202B_202D_200C_202A_200B_200E_200E_200E_200F_206F_206E_200D_202B_206F_202B_200F_206D_206A_202E_206A_206C_202C_200D_206C_202E_206D_202D_206B_206F_200D_206B_206B_206E_206D_202C_206B_202D_200B_200D_202E(QuestStep P_0) + { + return P_0.DataIds; + } + + static EAction? _200F_200F_200F_200E_206E_200B_202E_206B_206C_200D_202D_200F_200D_202B_202B_206C_200F_206C_202B_202D_202B_202A_206A_206B_202B_202E_202A_202A_200D_200D_202E_200C_206C_202B_206D_200F_206B_202C_206E_200F_202E(QuestStep P_0) + { + return P_0.Action; + } + + static ushort _206E_202E_202B_200D_206D_206B_206D_200F_200B_202C_202E_202B_206D_206D_206C_200C_202A_206E_200B_206B_200B_202D_200F_202A_202E_206F_202B_200F_206A_206D_202E_206C_200B_200B_200D_202D_202B_206C_200E_206A_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static float _202C_202A_202A_202A_200C_206C_202B_200F_202A_202E_206B_206E_202E_206D_202E_200F_200C_200F_206D_206D_200C_206C_202D_200F_202E_200B_200C_206E_206C_200E_200C_206C_200D_206D_202B_206E_206C_202A_200D_202A_202E(QuestStep P_0) + { + return P_0.CalculateActualStopDistance(); + } + + static List _202C_206B_200E_202D_200B_206A_202B_202B_206E_206C_202E_200E_206F_202A_200E_206D_200D_200D_206E_206B_200E_202E_206C_206B_202D_206F_202C_206C_202B_202C_206D_202D_202E_206A_206B_206E_200C_202B_206C_200D_202E(QuestStep P_0) + { + return P_0.WaypointPositions; } } internal sealed record ClearTask(List DataIds, EAction Action, ushort TerritoryId, float StopDistance, List WaypointPositions) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_202A_200C_206D_200B_200F_200C_206D_206C_200F_206B_202E_202E_206F_202C_200E_206C_202D_206E_202E_206F_206A_200D_202E_202E_206E_200E_200E_202D_202A_206D_202C_202E_200F_206A_206A_200B_206F_206B_206F_202E(typeof(ClearTask).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"ClearObjects({Action}, {DataIds.Count} types)"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(22, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2037963868)); + defaultInterpolatedStringHandler.AppendFormatted(Action); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1095822044)); + defaultInterpolatedStringHandler.AppendFormatted(DataIds.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1828980335)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_206A_202C_202D_206A_202D_202A_200E_202B_200B_202B_200F_200F_202B_202C_206A_206E_200D_206F_206B_200D_200E_206F_202C_202A_206D_202B_206D_206C_202B_206F_200F_206B_206E_206C_206E_200F_206B_206C_206E_202E(); + _206A_200E_200D_202A_202E_200C_202E_200B_202D_202D_200F_202B_202E_200D_206A_206E_206D_200F_206A_202C_206A_200D_202D_202B_202E_202C_200C_200E_206F_202E_206A_202C_206B_206A_200D_202E_200E_202D_202D_202B_202E(builder, global::_003CModule_003E._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(552157557)); + _206C_206D_206F_202B_202E_200C_202D_206F_206C_200F_200E_200F_202E_202E_206D_202B_202A_200C_202B_202B_200F_200B_206C_200D_206B_206A_202D_200C_206A_200D_202B_202B_202B_200B_206D_200E_202C_206F_202D_202A_202E(builder, (object)DataIds); + _206A_200E_200D_202A_202E_200C_202E_200B_202D_202D_200F_202B_202E_200D_206A_206E_206D_200F_206A_202C_206A_200D_202D_202B_202E_202C_200C_200E_206F_202E_206A_202C_206B_206A_200D_202E_200E_202D_202D_202B_202E(builder, global::_003CModule_003E._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(353413506)); + _206A_200E_200D_202A_202E_200C_202E_200B_202D_202D_200F_202B_202E_200D_206A_206E_206D_200F_206A_202C_206A_200D_202D_202B_202E_202C_200C_200E_206F_202E_206A_202C_206B_206A_200D_202E_200E_202D_202D_202B_202E(builder, Action.ToString()); + _206A_200E_200D_202A_202E_200C_202E_200B_202D_202D_200F_202B_202E_200D_206A_206E_206D_200F_206A_202C_206A_200D_202D_202B_202E_202C_200C_200E_206F_202E_206A_202C_206B_206A_200D_202E_200E_202D_202D_202B_202E(builder, global::_003CModule_003E._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(-1213099778)); + _206A_200E_200D_202A_202E_200C_202E_200B_202D_202D_200F_202B_202E_200D_206A_206E_206D_200F_206A_202C_206A_200D_202D_202B_202E_202C_200C_200E_206F_202E_206A_202C_206B_206A_200D_202E_200E_202D_202D_202B_202E(builder, TerritoryId.ToString()); + _206A_200E_200D_202A_202E_200C_202E_200B_202D_202D_200F_202B_202E_200D_206A_206E_206D_200F_206A_202C_206A_200D_202D_202B_202E_202C_200C_200E_206F_202E_206A_202C_206B_206A_200D_202E_200E_202D_202D_202B_202E(builder, global::_003CModule_003E._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(-925820105)); + _206A_200E_200D_202A_202E_200C_202E_200B_202D_202D_200F_202B_202E_200D_206A_206E_206D_200F_206A_202C_206A_200D_202D_202B_202E_202C_200C_200E_206F_202E_206A_202C_206B_206A_200D_202E_200E_202D_202D_202B_202E(builder, StopDistance.ToString()); + _206A_200E_200D_202A_202E_200C_202E_200B_202D_202D_200F_202B_202E_200D_206A_206E_206D_200F_206A_202C_206A_200D_202D_202B_202E_202C_200C_200E_206F_202E_206A_202C_206B_206A_200D_202E_200E_202D_202D_202B_202E(builder, global::_003CModule_003E._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(1493071895)); + _206C_206D_206F_202B_202E_200C_202D_206F_206C_200F_200E_200F_202E_202E_206D_202B_202A_200C_202B_202B_200F_200B_206C_200D_206B_206A_202D_200C_206A_200D_202B_202B_202B_200B_206D_200E_202C_206F_202D_202A_202E(builder, (object)WaypointPositions); + return true; + } + + [CompilerGenerated] + public bool Equals(ClearTask? other) + { + int num = (((object)this == other) ? 1384445086 : 1384445077); + while (true) + { + int num2 = num; + int num3 = 1384445078; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return false; + case 8: + return true; + case 6: + num = ((!EqualityComparer.Default.Equals(Action, other.Action)) ? 1384445074 : 1384445078); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? 1384445074 : 1384445079); + break; + case 7: + num = 1384445077; + break; + case 3: + num = (((object)other == null) ? 1384445074 : 1384445075); + break; + case 9: + num = ((!EqualityComparer>.Default.Equals(DataIds, other.DataIds)) ? 1384445074 : 1384445072); + break; + case 2: + return EqualityComparer>.Default.Equals(WaypointPositions, other.WaypointPositions); + case 5: + num = ((!_206D_200C_206F_202D_206E_200F_200D_206A_202C_202A_202E_200B_206E_200F_206A_202E_206E_202B_202E_202C_200B_200F_202D_206B_206F_206C_200B_206B_202D_202C_202E_206C_200E_202B_206E_206C_202A_200C_200C_202B_202E(EqualityContract, other.EqualityContract)) ? 1384445074 : 1384445087); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(StopDistance, other.StopDistance)) ? 1384445074 : 1384445076); + break; + } + } + } + + bool IEquatable.Equals(ClearTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_202A_200C_206D_200B_200F_200C_206D_206C_200F_206B_202E_202E_206F_202C_200E_206C_202D_206E_202E_206F_206A_200D_202E_202E_206E_200E_200E_202D_202A_206D_202C_202E_200F_206A_206A_200B_206F_206B_206F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202E_206A_202C_202D_206A_202D_202A_200E_202B_200B_202B_200F_200F_202B_202C_206A_206E_200D_206F_206B_200D_200E_206F_202C_202A_206D_202B_206D_206C_202B_206F_200F_206B_206E_206C_206E_200F_206B_206C_206E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206A_200E_200D_202A_202E_200C_202E_200B_202D_202D_200F_202B_202E_200D_206A_206E_206D_200F_206A_202C_206A_200D_202D_202B_202E_202C_200C_200E_206F_202E_206A_202C_206B_206A_200D_202E_200E_202D_202D_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206C_206D_206F_202B_202E_200C_202D_206F_206C_200F_200E_200F_202E_202E_206D_202B_202A_200C_202B_202B_200F_200B_206C_200D_206B_206A_202D_200C_206A_200D_202B_202B_202B_200B_206D_200E_202C_206F_202D_202A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206D_200C_206F_202D_206E_200F_200D_206A_202C_202A_202E_200B_206E_200F_206A_202E_206E_202B_202E_202C_200B_200F_202D_206B_206F_206C_200B_206B_202D_202C_202E_206C_200E_202B_206E_206C_202A_200C_200C_202B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -62,11 +232,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; @@ -76,20 +246,60 @@ internal static class ClearObjectsWithAction protected override bool Start() { - if (clientState.TerritoryType != base.Task.TerritoryId) + int num = ((_206B_200D_200C_200B_206B_200F_206E_202E_206C_200E_200E_206A_206C_202C_206B_202E_206D_200F_206D_200B_202E_200D_202D_202D_206B_200E_202B_206F_200F_206B_202D_206C_202B_206F_202D_206F_206E_206B_206B_202A_202E(clientState) == base.Task.TerritoryId) ? (-1211544197) : (-1211544198)); + while (true) { - return true; + int num2 = num; + int num3 = -1211544197; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0058; + case 0: + return TryFindAndMove(); + case 1: + return true; + } + continue; + IL_0058: + num = -1211544198; } - return TryFindAndMove(); } private bool IsVisitedPosition(Vector3 position) { - foreach (Vector3 visitedPosition in _visitedPositions) + using (List.Enumerator enumerator = _visitedPositions.GetEnumerator()) { - if (Vector3.Distance(visitedPosition, position) <= 5f) + int num = -1511179571; + while (true) { - return true; + int num2 = num; + int num3 = -1511179570; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = -1511179571; + break; + case 1: + return true; + case 2: + num = ((!(Vector3.Distance(enumerator.Current, position) <= 5f)) ? (-1511179571) : (-1511179569)); + break; + case 3: + num = (enumerator.MoveNext() ? (-1511179572) : (-1511179570)); + break; + case 0: + goto end_IL_0017; + } + continue; + end_IL_0017: + break; } } return false; @@ -97,251 +307,636 @@ internal static class ClearObjectsWithAction private IGameObject? FindNearestUnvisitedObject() { - IGameObject gameObject = objectTable[0]; - if (gameObject == null) + IPlayerCharacter playerCharacter = _202E_202D_206A_206F_206E_206E_202E_206F_206E_202E_206E_202A_206F_202A_200D_202B_202C_200D_206A_200B_206F_206C_206B_200F_202E_206B_202B_202A_200B_206F_202E_202C_202A_202C_200F_202A_200D_206D_200E_206A_202E(objectTable); + int num = ((playerCharacter != null) ? 369863668 : 369863671); + ObjectKind objectKind = default(ObjectKind); + IGameObject current = default(IGameObject); + bool flag = default(bool); + float num9 = default(float); + while (true) { - return null; - } - IGameObject result = null; - float num = float.MaxValue; - foreach (IGameObject item in objectTable) - { - ObjectKind objectKind = item.ObjectKind; - if ((objectKind == ObjectKind.Pc || objectKind - 8 <= ObjectKind.BattleNpc || objectKind == ObjectKind.HousingEventObject) ? true : false) + int num2 = num; + int num3 = 369863669; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - continue; - } - bool flag = false; - foreach (uint dataId in base.Task.DataIds) + case 0: + goto IL_0058; + case 2: + return null; + case 1: { - if (item.BaseId == dataId) + IGameObject result = null; + float num7 = float.MaxValue; + IEnumerator enumerator = objectTable.GetEnumerator(); + try { - flag = true; - break; + num = -809841108; + while (true) + { + int num8 = num; + num3 = -809841120; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = -809841108; + break; + case 8: + num = ((objectKind - 8 <= ObjectKind.BattleNpc) ? (-809841113) : (-809841120)); + break; + case 3: + num = ((!base.Task.DataIds.Contains(_200F_202E_202A_202C_202D_200C_206C_202D_202E_200F_202B_206F_206E_200D_206F_202D_206C_202B_200B_206B_206B_206E_206F_206D_206C_206D_200B_202D_200C_200D_206F_200C_202C_200F_206E_206D_206A_200B_200F_202E_202E(current))) ? (-809841108) : (-809841110)); + break; + case 10: + num = (IsVisitedPosition(_206F_206B_202E_202D_206E_206F_200C_206C_200D_200F_200C_202C_200E_202B_200D_200B_202D_206C_202D_206E_206A_200C_206F_202E_200C_200F_202A_206A_202E_206D_206C_202B_200F_200E_202C_202C_200C_202D_206E_200C_202E(current)) ? (-809841108) : (-809841116)); + break; + case 0: + num = ((objectKind != ObjectKind.HousingEventObject) ? (-809841119) : (-809841113)); + break; + case 7: + flag = true; + num = -809841111; + break; + case 5: + current = enumerator.Current; + objectKind = _206B_200C_206F_202D_200D_202E_200F_200B_200E_206A_200C_202D_206B_202A_206E_202A_206D_206C_200D_202D_200E_206C_206A_202E_206E_200B_200F_200B_202D_200C_206B_202C_200C_200D_200E_206A_200B_202A_206B_202A_202E(current); + num = ((objectKind == ObjectKind.Pc) ? (-809841113) : (-809841112)); + break; + case 1: + flag = false; + num = -809841111; + break; + case 12: + num = (_202B_200D_206A_206F_202C_202D_200C_200D_202A_200C_202C_206A_206B_202A_206E_200E_202D_206E_200C_206A_202A_200C_200E_202A_200C_202A_202D_202B_200F_200C_206F_200B_206D_200D_200B_206A_206F_202B_206C_206E_202E((IEnumerator)enumerator) ? (-809841115) : (-809841109)); + break; + case 2: + result = current; + num7 = num9; + num = -809841108; + break; + case 4: + num9 = Vector3.Distance(_206F_206B_202E_202D_206E_206F_200C_206C_200D_200F_200C_202C_200E_202B_200D_200B_202D_206C_202D_206E_206A_200C_206F_202E_200C_200F_202A_206A_202E_206D_206C_202B_200F_200E_202C_202C_200C_202D_206E_200C_202E((IGameObject)playerCharacter), _206F_206B_202E_202D_206E_206F_200C_206C_200D_200F_200C_202C_200E_202B_200D_200B_202D_206C_202D_206E_206A_200C_206F_202E_200C_200F_202A_206A_202E_206D_206C_202B_200F_200E_202C_202C_200C_202D_206E_200C_202E(current)); + num = ((!(num9 < num7)) ? (-809841108) : (-809841118)); + break; + case 9: + num = (flag ? (-809841108) : (-809841117)); + break; + case 11: + return result; + } + } + } + finally + { + num = ((enumerator == null) ? 1651401631 : 1651401630); + while (true) + { + int num10 = num; + num3 = 1651401631; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1651401630; + break; + case 1: + _202D_202E_206F_200D_200D_200C_200C_202E_202C_200B_206F_200B_202C_200F_202B_202C_206B_206E_206B_206C_200D_202D_202E_200E_202E_200B_200B_206C_206F_200D_206F_200D_200B_200F_202C_200F_206C_200F_202D_206F_202E((IDisposable)enumerator); + num = 1651401631; + break; + case 0: + goto end_IL_0281; + } + continue; + end_IL_0281: + break; + } } } - if (flag && !IsVisitedPosition(item.Position)) - { - float num2 = Vector3.Distance(gameObject.Position, item.Position); - if (num2 < num) - { - result = item; - num = num2; - } } + continue; + IL_0058: + num = 369863671; } - return result; } private bool AnyMatchingObjectsExist() { - foreach (IGameObject item in objectTable) + IEnumerator enumerator = objectTable.GetEnumerator(); + try { - ObjectKind objectKind = item.ObjectKind; - if ((objectKind == ObjectKind.Pc || objectKind - 8 <= ObjectKind.BattleNpc || objectKind == ObjectKind.HousingEventObject) ? true : false) + int num = -1516506812; + bool flag = default(bool); + IGameObject current = default(IGameObject); + ObjectKind objectKind = default(ObjectKind); + while (true) { - continue; - } - foreach (uint dataId in base.Task.DataIds) - { - if (item.BaseId == dataId) + int num2 = num; + int num3 = -1516506804; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 6: + flag = false; + num = -1516506805; + break; + case 2: + current = enumerator.Current; + objectKind = _206B_200C_206F_202D_200D_202E_200F_200B_200E_206A_200C_202D_206B_202A_206E_202A_206D_206C_200D_202D_200E_206C_206A_202E_206E_200B_200F_200B_202D_200C_206B_202C_200C_200D_200E_206A_200B_202A_206B_202A_202E(current); + num = ((objectKind == ObjectKind.Pc) ? (-1516506811) : (-1516506803)); + break; + case 9: + flag = true; + num = -1516506805; + break; + case 7: + num = (flag ? (-1516506812) : (-1516506808)); + break; + case 3: + num = ((objectKind != ObjectKind.HousingEventObject) ? (-1516506806) : (-1516506811)); + break; + case 4: + num = ((!base.Task.DataIds.Contains(_200F_202E_202A_202C_202D_200C_206C_202D_202E_200F_202B_206F_206E_200D_206F_202D_206C_202B_200B_206B_206B_206E_206F_206D_206C_206D_200B_202D_200C_200D_206F_200C_202C_200F_206E_206D_206A_200B_200F_202E_202E(current))) ? (-1516506812) : (-1516506804)); + break; + case 1: + num = ((objectKind - 8 <= ObjectKind.BattleNpc) ? (-1516506811) : (-1516506801)); + break; + case 10: + num = -1516506812; + break; + case 8: + num = (_202B_200D_206A_206F_202C_202D_200C_200D_202A_200C_202C_206A_206B_202A_206E_200E_202D_206E_200C_206A_202A_200C_200E_202A_200C_202A_202D_202B_200F_200C_206F_200B_206D_200D_200B_206A_206F_202B_206C_206E_202E((IEnumerator)enumerator) ? (-1516506802) : (-1516506807)); + break; + case 0: return true; + case 5: + goto end_IL_0018; } + continue; + end_IL_0018: + break; + } + } + finally + { + int num = ((enumerator == null) ? 202718047 : 202718046); + while (true) + { + int num7 = num; + int num3 = 202718047; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + num = 202718046; + break; + case 0: + goto end_IL_01a6; + case 1: + _202D_202E_206F_200D_200D_200C_200C_202E_202C_200B_206F_200B_202C_200F_202B_202C_206B_206E_206B_206C_200D_202D_202E_200E_202E_200B_200B_206C_206F_200D_206F_200D_200B_200F_202C_200F_206C_200F_202D_206F_202E((IDisposable)enumerator); + num = 202718047; + break; + } + continue; + end_IL_01a6: + break; } } return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool TryFindAndMove() { IGameObject gameObject = FindNearestUnvisitedObject(); - if (gameObject == null) + int num = ((gameObject != null) ? (-1389714717) : (-1389714719)); + while (true) { - _state = State.FindingObject; - if (_noObjectFoundSince == DateTime.MaxValue) + int num2 = num; + int num3 = -1389714720; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - _noObjectFoundSince = DateTime.Now; + case 2: + { + long valueOrDefault = _206E_200B_206F_206F_206A_200B_202A_206C_200F_206A_206F_202A_202C_206D_206A_200B_202C_200D_202D_202A_202D_200C_206C_202A_206A_206F_200E_200F_200D_200F_200E_200F_206A_202B_206A_206C_200E_202B_202E_206E_202E(); + _noObjectFoundSince = valueOrDefault; + num = -1389714720; + break; + } + case 0: + return true; + case 4: + num = -1389714719; + break; + case 3: + { + _noObjectFoundSince = null; + Vector3 vector = _206F_206B_202E_202D_206E_206F_200C_206C_200D_200F_200C_202C_200E_202B_200D_200B_202D_206C_202D_206E_206A_200C_206F_202E_200C_200F_202A_206A_202E_206D_206C_202B_200F_200E_202C_202C_200C_202D_206E_200C_202E(gameObject); + _206D_202E_206F_206A_206A_202D_202D_200E_202A_200D_202B_200E_202E_206D_206C_202C_206D_206B_206C_200C_206A_206E_202D_206A_202E_200B_202D_200F_202A_206E_200D_206F_202D_200E_206D_200D_200C_200C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(-537067884), new object[2] + { + _200F_202E_202A_202C_202D_200C_206C_202D_202E_200F_202B_206F_206E_200D_206F_202D_206C_202B_200B_206B_206B_206E_206F_206D_206C_206D_200B_202D_200C_200D_206F_200C_202C_200F_206E_206D_206A_200B_200F_202E_202E(gameObject), + vector + }); + movementController.NavigateTo(EMovementType.Quest, _200F_202E_202A_202C_202D_200C_206C_202D_202E_200F_202B_206F_206E_200D_206F_202D_206C_202B_200B_206B_206B_206E_206F_206D_206C_206D_200B_202D_200C_200D_206F_200C_202C_200F_206E_206D_206A_200B_200F_202E_202E(gameObject), vector, fly: false, sprint: true, base.Task.StopDistance); + _state = State.MovingToObject; + return true; + } + case 1: + { + _state = State.FindingObject; + long valueOrDefault = _noObjectFoundSince.GetValueOrDefault(); + num = (_noObjectFoundSince.HasValue ? (-1389714720) : (-1389714718)); + break; + } } - return true; } - _noObjectFoundSince = DateTime.MaxValue; - Vector3 position = gameObject.Position; - logger.LogInformation("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; } private (Vector3 Position, int Index)? FindNextWaypoint() { - IGameObject gameObject = objectTable[0]; - if (gameObject == null || base.Task.WaypointPositions.Count == 0) + IPlayerCharacter playerCharacter = _202E_202D_206A_206F_206E_206E_202E_206F_206E_202E_206E_202A_206F_202A_200D_202B_202C_200D_206A_200B_206F_206C_206B_200F_202E_206B_202B_202A_200B_206F_202E_202C_202A_202C_200F_202A_200D_206D_200E_206A_202E(objectTable); + int num = ((playerCharacter == null) ? (-1282394500) : (-1282394504)); + int num5 = default(int); + (Vector3, int)? result = default((Vector3, int)?); + float num6 = default(float); + float num7 = default(float); + while (true) { - return null; - } - (Vector3, int)? result = null; - float num = float.MaxValue; - for (int i = 0; i < base.Task.WaypointPositions.Count; i++) - { - if (!_triedWaypointIndices.Contains(i)) + int num2 = num; + int num3 = -1282394500; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - float num2 = Vector3.Distance(gameObject.Position, base.Task.WaypointPositions[i]); - if (num2 < num) - { - result = (base.Task.WaypointPositions[i], i); - num = num2; - } + case 9: + num = -1282394504; + break; + case 1: + num = (_triedWaypointIndices.Contains(num5) ? (-1282394497) : (-1282394503)); + break; + case 0: + return null; + case 7: + result = null; + num6 = float.MaxValue; + num5 = 0; + num = -1282394498; + break; + case 8: + return result; + case 5: + num7 = Vector3.Distance(_206F_206B_202E_202D_206E_206F_200C_206C_200D_200F_200C_202C_200E_202B_200D_200B_202D_206C_202D_206E_206A_200C_206F_202E_200C_200F_202A_206A_202E_206D_206C_202B_200F_200E_202C_202C_200C_202D_206E_200C_202E((IGameObject)playerCharacter), base.Task.WaypointPositions[num5]); + num = ((!(num7 < num6)) ? (-1282394497) : (-1282394502)); + break; + case 3: + { + int num8 = num5; + num3 = 1; + num4 = num8; + num5 = (num4 | num3) + (num4 & num3); + num = -1282394498; + break; + } + case 2: + num = ((num5 < base.Task.WaypointPositions.Count) ? (-1282394499) : (-1282394508)); + break; + case 6: + result = (base.Task.WaypointPositions[num5], num5); + num6 = num7; + num = -1282394497; + break; + case 4: + num = ((base.Task.WaypointPositions.Count != 0) ? (-1282394501) : (-1282394500)); + break; } } - return result; } + [MethodImpl(MethodImplOptions.NoInlining)] private void NavigateToNextWaypoint() { (Vector3, int)? tuple = FindNextWaypoint(); - if (!tuple.HasValue) + int num = (tuple.HasValue ? (-2030731554) : (-2030731555)); + while (true) { - logger.LogInformation("All waypoints tried without transition, resetting"); - _triedWaypointIndices.Clear(); - tuple = FindNextWaypoint(); - if (!tuple.HasValue) + int num2 = num; + int num3 = -2030731553; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - logger.LogWarning("No waypoint positions configured, waiting for transition"); + case 0: + num = -2030731555; + break; + case 1: + _triedWaypointIndices.Add(tuple.Value.Item2); + _206D_202E_206F_206A_206A_202D_202D_200E_202A_200D_202B_200E_202E_206D_206C_202C_206D_206B_206C_200C_206A_206E_202D_206A_202E_200B_202D_200F_202A_206E_200D_206F_202D_200E_206D_200D_200C_200C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(-670749677), new object[2] + { + tuple.Value.Item2, + tuple.Value.Item1 + }); + movementController.NavigateTo(EMovementType.Quest, null, tuple.Value.Item1, fly: false, sprint: true, 0f); + _state = State.MovingToWaypoint; + return; + case 2: + _206D_202E_206F_206A_206A_202D_202D_200E_202A_200D_202B_200E_202E_206D_206C_202C_206D_206B_206C_200C_206A_206E_202D_206A_202E_200B_202D_200F_202A_206E_200D_206F_202D_200E_206D_200D_200C_200C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(-1862499032), Array.Empty()); + _triedWaypointIndices.Clear(); + tuple = FindNextWaypoint(); + num = (tuple.HasValue ? (-2030731554) : (-2030731556)); + break; + case 3: + { + _200C_206D_202C_202A_200E_200D_206A_202E_202A_202A_206D_200B_200B_206C_202C_206F_206D_206B_206E_200C_202E_202B_202C_206D_202D_202E_202A_202B_206E_206E_202C_206D_202C_206E_202E_206C_202C_202D_206B_202E((ILogger)logger, global::_003CModule_003E._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(-1139290965), Array.Empty()); _state = State.WaitingForTransition; - _lastPlayerPosition = objectTable[0]?.Position ?? Vector3.Zero; + IPlayerCharacter playerCharacter = _202E_202D_206A_206F_206E_206E_202E_206F_206E_202E_206E_202A_206F_202A_200D_202B_202C_200D_206A_200B_206F_206C_206B_200F_202E_206B_202B_202A_200B_206F_202E_202C_202A_202C_200F_202A_200D_206D_200E_206A_202E(objectTable); + _lastPlayerPosition = ((playerCharacter != null) ? _206F_206B_202E_202D_206E_206F_200C_206C_200D_200F_200C_202C_200E_202B_200D_200B_202D_206C_202D_206E_206A_200C_206F_202E_200C_200F_202A_206A_202E_206D_206C_202B_200F_200E_202C_202C_200C_202D_206E_200C_202E((IGameObject)playerCharacter) : Vector3.Zero); return; } + } } - _triedWaypointIndices.Add(tuple.Value.Item2); - logger.LogInformation("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; } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - if (clientState.TerritoryType != base.Task.TerritoryId) + int num = ((_206B_200D_200C_200B_206B_200F_206E_202E_206C_200E_200E_206A_206C_202C_206B_202E_206D_200F_206D_200B_202E_200D_202D_202D_206B_200E_202B_206F_200F_206B_202D_206C_202B_206F_202D_206F_206E_206B_206B_202A_202E(clientState) == base.Task.TerritoryId) ? 1463547447 : 1463547454); + long? num5 = default(long?); + float num6 = default(float); + IPlayerCharacter playerCharacter2 = default(IPlayerCharacter); + IGameObject gameObject = default(IGameObject); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + while (true) { - return ETaskResult.TaskComplete; - } - switch (_state) - { - case State.FindingObject: - if (_noObjectFoundSince != DateTime.MaxValue && DateTime.Now > _noObjectFoundSince.AddSeconds(3.0)) + int num2 = num; + int num3 = 1463547413; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - if (AnyMatchingObjectsExist()) - { - logger.LogInformation("Matching objects still exist, clearing visited positions and retrying"); - _visitedPositions.Clear(); - _noObjectFoundSince = DateTime.MaxValue; - } - 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) - { - return ETaskResult.StillRunning; - } - IGameObject gameObject2 = FindNearestUnvisitedObject(); - IGameObject gameObject3 = objectTable[0]; - if (gameObject2 != null && gameObject3 != null && Vector3.Distance(gameObject3.Position, gameObject2.Position) <= 5f) - { - _visitedPositions.Add(gameObject2.Position); - _state = State.UsingAction; - } - else - { - logger.LogInformation("Target no longer valid at destination, finding next"); - TryFindAndMove(); - } - return ETaskResult.StillRunning; - } - case State.UsingAction: - if (gameFunctions.UseAction(base.Task.Action)) - { - logger.LogInformation("Used action {Action}", base.Task.Action); - _waitUntil = DateTime.Now.AddSeconds(1.0); - _state = State.WaitingAfterAction; - } - return ETaskResult.StillRunning; - case State.WaitingAfterAction: - if (DateTime.Now < _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) - { - return ETaskResult.StillRunning; - } - logger.LogInformation("Reached waypoint, waiting for zone transition"); - _state = State.WaitingForTransition; - _lastPlayerPosition = objectTable[0]?.Position ?? Vector3.Zero; - _waypointReachedAt = DateTime.Now; - return ETaskResult.StillRunning; - } - case State.WaitingForTransition: - { - IGameObject gameObject = objectTable[0]; - if (gameObject != null) - { - float num = Vector3.Distance(_lastPlayerPosition, gameObject.Position); - if (num > 50f) - { - logger.LogInformation("Zone transition detected (moved {Distance}), resuming plant clearing", num); - _visitedPositions.Clear(); - _triedWaypointIndices.Clear(); - _noObjectFoundSince = DateTime.MaxValue; - _state = State.FindingObject; - return ETaskResult.StillRunning; - } - } - if (FindNearestUnvisitedObject() != null) - { - logger.LogInformation("New objects detected, resuming plant clearing"); - _visitedPositions.Clear(); - _triedWaypointIndices.Clear(); - _noObjectFoundSince = DateTime.MaxValue; + case 28: + num = (movementController.HasBeenMovingForAtLeast(2000) ? 1463547404 : 1463547398); + break; + case 10: TryFindAndMove(); return ETaskResult.StillRunning; - } - if (_waypointReachedAt != DateTime.MaxValue && DateTime.Now > _waypointReachedAt.AddSeconds(3.0)) - { - logger.LogInformation("No transition at this waypoint, trying next"); + case 32: + return ETaskResult.StillRunning; + case 40: + num = (movementController.HasBeenMovingForAtLeast(2000) ? 1463547406 : 1463547415); + break; + case 19: + return ETaskResult.StillRunning; + case 14: + return ETaskResult.StillRunning; + case 24: + return ETaskResult.StillRunning; + case 21: + _206D_202E_206F_206A_206A_202D_202D_200E_202A_200D_202B_200E_202E_206D_206C_202C_206D_206B_206C_200C_206A_206E_202D_206A_202E_200B_202D_200F_202A_206E_200D_206F_202D_200E_206D_200D_200C_200C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(1558405168), Array.Empty()); NavigateToNextWaypoint(); + num = 1463547419; + break; + case 41: + num = ((!AnyMatchingObjectsExist()) ? 1463547402 : 1463547443); + break; + case 31: + _206D_202E_206F_206A_206A_202D_202D_200E_202A_200D_202B_200E_202E_206D_206C_202C_206D_206B_206C_200C_206A_206E_202D_206A_202E_200B_202D_200F_202A_206E_200D_206F_202D_200E_206D_200D_200C_200C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(-1555949411), Array.Empty()); + NavigateToNextWaypoint(); + num = 1463547405; + break; + case 20: + num = 1463547440; + break; + case 7: + num5 = _noObjectFoundSince; + num = ((!num5.HasValue) ? 1463547423 : 1463547403); + break; + case 30: + { + long valueOrDefault2 = num5.GetValueOrDefault(); + long num12 = _206E_200B_206F_206F_206A_200B_202A_206C_200F_206A_206F_202A_202C_206D_206A_200B_202C_200D_202D_202A_202D_200C_206C_202A_206A_206F_200E_200F_200D_200F_200E_200F_206A_202B_206A_206C_200E_202B_202E_206E_202E(); + long num8 = 3000L; + long num9 = valueOrDefault2; + num = ((num12 <= (num9 | num8) + (num9 & num8)) ? 1463547423 : 1463547452); + break; + } + case 2: + return ETaskResult.StillRunning; + case 26: + { + long valueOrDefault = num5.GetValueOrDefault(); + long num7 = _206E_200B_206F_206F_206A_200B_202A_206C_200F_206A_206F_202A_202C_206D_206A_200B_202C_200D_202D_202A_202D_200C_206C_202A_206A_206F_200E_200F_200D_200F_200E_200F_206A_202B_206A_206C_200E_202B_202E_206E_202E(); + long num8 = 3000L; + long num9 = valueOrDefault; + long num10 = num9 ^ num8; + long num11 = num9 & num8; + num = ((num7 <= num10 + (num11 + num11)) ? 1463547419 : 1463547392); + break; + } + case 5: + _206D_202E_206F_206A_206A_202D_202D_200E_202A_200D_202B_200E_202E_206D_206C_202C_206D_206B_206C_200C_206A_206E_202D_206A_202E_200B_202D_200F_202A_206E_200D_206F_202D_200E_206D_200D_200C_200C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(928588385), new object[1] { num6 }); + ResetSearchState(); + _state = State.FindingObject; + return ETaskResult.StillRunning; + case 16: + return ETaskResult.StillRunning; + case 3: + return ETaskResult.StillRunning; + case 39: + num = ((FindNearestUnvisitedObject() == null) ? 1463547400 : 1463547444); + break; + case 15: + goto IL_0302; + case 9: + goto IL_0335; + case 29: + num5 = _waypointReachedAt; + num = ((!num5.HasValue) ? 1463547419 : 1463547407); + break; + case 25: + { + _206D_202E_206F_206A_206A_202D_202D_200E_202A_200D_202B_200E_202E_206D_206C_202C_206D_206B_206C_200C_206A_206E_202D_206A_202E_200B_202D_200F_202A_206E_200D_206F_202D_200E_206D_200D_200C_200C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(-1901536067), Array.Empty()); + _state = State.WaitingForTransition; + IPlayerCharacter playerCharacter3 = _202E_202D_206A_206F_206E_206E_202E_206F_206E_202E_206E_202A_206F_202A_200D_202B_202C_200D_206A_200B_206F_206C_206B_200F_202E_206B_202B_202A_200B_206F_202E_202C_202A_202C_200F_202A_200D_206D_200E_206A_202E(objectTable); + _lastPlayerPosition = ((playerCharacter3 != null) ? _206F_206B_202E_202D_206E_206F_200C_206C_200D_200F_200C_202C_200E_202B_200D_200B_202D_206C_202D_206E_206A_200C_206F_202E_200C_200F_202A_206A_202E_206D_206C_202B_200F_200E_202C_202C_200C_202D_206E_200C_202E((IGameObject)playerCharacter3) : Vector3.Zero); + _waypointReachedAt = _206E_200B_206F_206F_206A_200B_202A_206C_200F_206A_206F_202A_202C_206D_206A_200B_202C_200D_202D_202A_202D_200C_206C_202A_206A_206F_200E_200F_200D_200F_200E_200F_206A_202B_206A_206C_200E_202B_202E_206E_202E(); + return ETaskResult.StillRunning; + } + case 42: + num = ((playerCharacter2 == null) ? 1463547396 : 1463547394); + break; + case 18: + num = 1463547454; + break; + case 1: + return ETaskResult.StillRunning; + case 33: + _206D_202E_206F_206A_206A_202D_202D_200E_202A_200D_202B_200E_202E_206D_206C_202C_206D_206B_206C_200C_206A_206E_202D_206A_202E_200B_202D_200F_202A_206E_200D_206F_202D_200E_206D_200D_200C_200C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(1070649876), Array.Empty()); + ResetSearchState(); + TryFindAndMove(); + return ETaskResult.StillRunning; + case 23: + num = ((!(Vector3.Distance(_206F_206B_202E_202D_206E_206F_200C_206C_200D_200F_200C_202C_200E_202B_200D_200B_202D_206C_202D_206E_206A_200C_206F_202E_200C_200F_202A_206A_202E_206D_206C_202B_200F_200E_202C_202C_200C_202D_206E_200C_202E((IGameObject)playerCharacter2), _206F_206B_202E_202D_206E_206F_200C_206C_200D_200F_200C_202C_200E_202B_200D_200B_202D_206C_202D_206E_206A_200C_206F_202E_200C_200F_202A_206A_202E_206D_206C_202B_200F_200E_202C_202C_200C_202D_206E_200C_202E(gameObject)) <= 5f)) ? 1463547396 : 1463547409); + break; + case 13: + goto IL_046d; + case 37: + return ETaskResult.TaskComplete; + case 38: + _206D_202E_206F_206A_206A_202D_202D_200E_202A_200D_202B_200E_202E_206D_206C_202C_206D_206B_206C_200C_206A_206E_202D_206A_202E_200B_202D_200F_202A_206E_200D_206F_202D_200E_206D_200D_200C_200C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(913271275), Array.Empty()); + _visitedPositions.Clear(); + _noObjectFoundSince = null; + num = 1463547405; + break; + case 36: + return ETaskResult.StillRunning; + case 17: + _206D_202E_206F_206A_206A_202D_202D_200E_202A_200D_202B_200E_202E_206D_206C_202C_206D_206B_206C_200C_206A_206E_202D_206A_202E_200B_202D_200F_202A_206E_200D_206F_202D_200E_206D_200D_200C_200C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(-342843260), Array.Empty()); + TryFindAndMove(); + num = 1463547412; + break; + case 6: + num6 = Vector3.Distance(_lastPlayerPosition, _206F_206B_202E_202D_206E_206F_200C_206C_200D_200F_200C_202C_200E_202B_200D_200B_202D_206C_202D_206E_206A_200C_206F_202E_200C_200F_202A_206A_202E_206D_206C_202B_200F_200E_202C_202C_200C_202D_206E_200C_202E((IGameObject)playerCharacter)); + num = ((!(num6 > 50f)) ? 1463547442 : 1463547408); + break; + case 22: + TryFindAndMove(); + return ETaskResult.StillRunning; + case 11: + goto IL_0543; + case 27: + gameObject = FindNearestUnvisitedObject(); + playerCharacter2 = _202E_202D_206A_206F_206E_206E_202E_206F_206E_202E_206E_202A_206F_202A_200D_202B_202C_200D_206A_200B_206F_206C_206B_200F_202E_206B_202B_202A_200B_206F_202E_202C_202A_202C_200F_202A_200D_206D_200E_206A_202E(objectTable); + num = ((gameObject == null) ? 1463547396 : 1463547455); + break; + case 4: + _visitedPositions.Add(_206F_206B_202E_202D_206E_206F_200C_206C_200D_200F_200C_202C_200E_202B_200D_200B_202D_206C_202D_206E_206A_200C_206F_202E_200C_200F_202A_206A_202E_206D_206C_202B_200F_200E_202C_202C_200C_202D_206E_200C_202E(gameObject)); + _state = State.UsingAction; + num = 1463547412; + break; + case 12: + goto IL_05c0; + case 43: + return ETaskResult.TaskComplete; + case 35: + num = ((!movementController.IsPathRunning) ? 1463547401 : 1463547397); + break; + case 34: + switch (_state) + { + case State.FindingObject: + break; + case State.UsingAction: + goto IL_0302; + case State.WaitingForTransition: + goto IL_0335; + case State.MovingToWaypoint: + goto IL_046d; + case State.MovingToObject: + goto IL_0543; + case State.WaitingAfterAction: + goto IL_05c0; + default: + goto IL_0639; + } + goto case 7; + case 8: + num = ((!movementController.IsPathRunning) ? 1463547453 : 1463547445); + break; + case 0: + { + _206D_202E_206F_206A_206A_202D_202D_200E_202A_200D_202B_200E_202E_206D_206C_202C_206D_206B_206C_200C_206A_206E_202D_206A_202E_200B_202D_200F_202A_206E_200D_206F_202D_200E_206D_200D_200C_200C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(1991658381), new object[1] { base.Task.Action }); + _waitUntil = _206E_200B_206F_206F_206A_200B_202A_206C_200F_206A_206F_202A_202C_206D_206A_200B_202C_200D_202D_202A_202D_200C_206C_202A_206A_206F_200E_200F_200D_200F_200E_200F_206A_202B_206A_206C_200E_202B_202E_206E_202E() + 1000; + _state = State.WaitingAfterAction; + num = 1463547441; + break; + } + IL_0639: + num = 1463547393; + break; + IL_0335: + playerCharacter = _202E_202D_206A_206F_206E_206E_202E_206F_206E_202E_206E_202A_206F_202A_200D_202B_202C_200D_206A_200B_206F_206C_206B_200F_202E_206B_202B_202A_200B_206F_202E_202C_202A_202C_200F_202A_200D_206D_200E_206A_202E(objectTable); + num = ((playerCharacter == null) ? 1463547442 : 1463547411); + break; + IL_05c0: + num = ((_206E_200B_206F_206F_206A_200B_202A_206C_200F_206A_206F_202A_202C_206D_206A_200B_202C_200D_202D_202A_202D_200C_206C_202A_206A_206F_200E_200F_200D_200F_200E_200F_206A_202B_206A_206C_200E_202B_202E_206E_202E() >= _waitUntil) ? 1463547395 : 1463547414); + break; + IL_0302: + num = ((!gameFunctions.UseAction(base.Task.Action)) ? 1463547441 : 1463547413); + break; + IL_0543: + num = (movementController.IsPathfinding ? 1463547445 : 1463547421); + break; + IL_046d: + num = (movementController.IsPathfinding ? 1463547397 : 1463547446); + break; } - return ETaskResult.StillRunning; - } - default: - return ETaskResult.TaskComplete; } } + private void ResetSearchState() + { + _visitedPositions.Clear(); + _triedWaypointIndices.Clear(); + _noObjectFoundSince = null; + } + public override bool ShouldInterruptOnDamage() { return false; } + + static uint _206B_200D_200C_200B_206B_200F_206E_202E_206C_200E_200E_206A_206C_202C_206B_202E_206D_200F_206D_200B_202E_200D_202D_202D_206B_200E_202B_206F_200F_206B_202D_206C_202B_206F_202D_206F_206E_206B_206B_202A_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static IPlayerCharacter _202E_202D_206A_206F_206E_206E_202E_206F_206E_202E_206E_202A_206F_202A_200D_202B_202C_200D_206A_200B_206F_206C_206B_200F_202E_206B_202B_202A_200B_206F_202E_202C_202A_202C_200F_202A_200D_206D_200E_206A_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static ObjectKind _206B_200C_206F_202D_200D_202E_200F_200B_200E_206A_200C_202D_206B_202A_206E_202A_206D_206C_200D_202D_200E_206C_206A_202E_206E_200B_200F_200B_202D_200C_206B_202C_200C_200D_200E_206A_200B_202A_206B_202A_202E(IGameObject P_0) + { + return P_0.ObjectKind; + } + + static uint _200F_202E_202A_202C_202D_200C_206C_202D_202E_200F_202B_206F_206E_200D_206F_202D_206C_202B_200B_206B_206B_206E_206F_206D_206C_206D_200B_202D_200C_200D_206F_200C_202C_200F_206E_206D_206A_200B_200F_202E_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static Vector3 _206F_206B_202E_202D_206E_206F_200C_206C_200D_200F_200C_202C_200E_202B_200D_200B_202D_206C_202D_206E_206A_200C_206F_202E_200C_200F_202A_206A_202E_206D_206C_202B_200F_200E_202C_202C_200C_202D_206E_200C_202E(IGameObject P_0) + { + return P_0.Position; + } + + static bool _202B_200D_206A_206F_202C_202D_200C_200D_202A_200C_202C_206A_206B_202A_206E_200E_202D_206E_200C_206A_202A_200C_200E_202A_200C_202A_202D_202B_200F_200C_206F_200B_206D_200D_200B_206A_206F_202B_206C_206E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202D_202E_206F_200D_200D_200C_200C_202E_202C_200B_206F_200B_202C_200F_202B_202C_206B_206E_206B_206C_200D_202D_202E_200E_202E_200B_200B_206C_206F_200D_206F_200D_200B_200F_202C_200F_206C_200F_202D_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static long _206E_200B_206F_206F_206A_200B_202A_206C_200F_206A_206F_202A_202C_206D_206A_200B_202C_200D_202D_202A_202D_200C_206C_202A_206A_206F_200E_200F_200D_200F_200E_200F_206A_202B_206A_206C_200E_202B_202E_206E_202E() + { + return Environment.TickCount64; + } + + static void _206D_202E_206F_206A_206A_202D_202D_200E_202A_200D_202B_200E_202E_206D_206C_202C_206D_206B_206C_200C_206A_206E_202D_206A_202E_200B_202D_200F_202A_206E_200D_206F_202D_200E_206D_200D_200C_200C_202E_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _200C_206D_202C_202A_200E_200D_206A_202E_202A_202A_206D_200B_200B_206C_202C_206F_206D_206B_206E_200C_202E_202B_202C_206D_202D_202E_202A_202B_206E_206E_202C_206D_202C_206E_202E_206C_202C_202D_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Combat.cs b/Questionable/Questionable.Controller.Steps.Interactions/Combat.cs index d3381758..e02e4e8c 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Combat.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Combat.cs @@ -1,6 +1,11 @@ using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; using Questionable.Controller.Steps.Common; using Questionable.Controller.Steps.Shared; using Questionable.Controller.Utils; @@ -14,103 +19,912 @@ internal static class Combat { internal sealed class Factory(GameFunctions gameFunctions) : ITaskFactory { - public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + [CompilerGenerated] + private sealed class _003CCreateAllTasks_003Ed__2 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable { - if (step.InteractionType != EInteractionType.Combat) + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private QuestStep step; + + public QuestStep _003C_003E3__step; + + public Factory _003C_003E4__this; + + private Quest quest; + + public Quest _003C_003E3__quest; + + private QuestSequence sequence; + + public QuestSequence _003C_003E3__sequence; + + ITask IEnumerator.Current { - yield break; - } - ArgumentNullException.ThrowIfNull(step.EnemySpawnType, "step.EnemySpawnType"); - if (gameFunctions.GetMountId() != 128 && gameFunctions.GetMountId() != 147) - { - yield return new Mount.UnmountTask(); - } - if (step.CombatDelaySecondsAtStart.HasValue) - { - yield return new WaitAtStart.WaitDelay(TimeSpan.FromSeconds(step.CombatDelaySecondsAtStart.Value)); - } - switch (step.EnemySpawnType) - { - case EEnemySpawnType.AfterInteraction: - ArgumentNullException.ThrowIfNull(step.DataId, "step.DataId"); - yield return new Interact.Task(step.DataId.Value, quest, EInteractionType.None, SkipMarkerCheck: true); - yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); - yield return CreateTask(quest, sequence, step); - break; - case EEnemySpawnType.AfterItemUse: - ArgumentNullException.ThrowIfNull(step.ItemId, "step.ItemId"); - if (step.GroundTarget == true) + [DebuggerHidden] + get { - if (step.DataId.HasValue) + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CCreateAllTasks_003Ed__2(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _200B_206D_206A_202A_206A_200C_202C_202D_200D_202B_202D_202C_200D_206A_200E_206E_206E_202A_200C_206F_206E_206E_206E_200D_200B_206F_200E_206A_206B_202A_200F_202B_206F_200E_202A_202B_202E_206B_202A_206F_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + int num = _003C_003E1__state; + Factory factory = _003C_003E4__this; + int num2; + ushort? num8 = default(ushort?); + EEnemySpawnType? eEnemySpawnType = default(EEnemySpawnType?); + ushort? mountId = default(ushort?); + switch (num) + { + default: + num2 = 1179923930; + goto IL_0084; + case 21: + _003C_003E1__state = -1; + num2 = 1179923917; + goto IL_0084; + case 6: + goto IL_022c; + case 8: + goto IL_0241; + case 16: + goto IL_0291; + case 11: + goto IL_02e5; + case 12: + goto IL_02f8; + case 5: + goto IL_030b; + case 23: + goto IL_031e; + case 22: + goto IL_0331; + case 1: + goto IL_03b6; + case 20: + goto IL_040b; + case 13: + goto IL_041e; + case 7: + goto IL_0485; + case 2: + goto IL_050d; + case 18: + goto IL_0796; + case 3: + goto IL_088c; + case 9: + goto IL_08ae; + case 17: + goto IL_0959; + case 14: + goto IL_096c; + case 19: + goto IL_099a; + case 4: + goto IL_09c8; + case 24: + goto IL_0a80; + case 15: + goto IL_0a93; + case 0: + goto IL_0b4b; + case 10: + break; + IL_0084: + while (true) { - yield return new UseItem.UseOnGround(quest.Id, step.DataId.Value, step.ItemId.Value, step.CompletionQuestVariablesFlags, StartingCombat: true); + int num3 = num2; + int num4 = 1179923945; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + int? obj; + int? obj2; + switch (num6 - (num7 + num7)) + { + case 20: + goto IL_01a2; + case 23: + goto end_IL_0084; + case 35: + obj = num8.GetValueOrDefault(); + goto IL_01f2; + case 25: + return false; + case 60: + goto IL_022c; + case 49: + return false; + case 18: + goto IL_0241; + case 8: + _003C_003E2__current = new Emote.UseOnObject(_200F_200F_202C_200E_200D_200F_206D_202D_200D_202B_206B_206F_206D_200D_206F_200C_202E_202D_206A_206C_206A_206B_202A_206E_206E_206D_206C_206F_200F_206D_202C_202A_202B_206D_206D_206E_206E_200B_206B_202E_202E(step).Value, _202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).Value); + _003C_003E1__state = 17; + return true; + case 61: + goto IL_0291; + case 31: + _003C_003E2__current = new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); + _003C_003E1__state = 19; + return true; + case 5: + goto IL_02e5; + case 4: + goto IL_02f8; + case 13: + goto IL_030b; + case 19: + goto IL_031e; + case 41: + goto IL_0331; + case 21: + _206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_200E_206E_200B_206B_206C_202D_202C_206C_202A_206D_200F_206E_206A_200E_200F_202D_202A_206C_200F_206F_202B_200E_206B_202D_200D_206D_200F_206B_200B_200E_206A_202A_202D_200C_202D_206A_202A_206C_200F_202A_202E(step), global::_003CModule_003E._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(2143064378)); + _003C_003E2__current = new UseItem.UseOnPosition(quest.Id, _200E_206E_200B_206B_206C_202D_202C_206C_202A_206D_200F_206E_206A_200E_200F_202D_202A_206C_200F_206F_202B_200E_206B_202D_200D_206D_200F_206B_200B_200E_206A_202A_202D_200C_202D_206A_202A_206C_200F_202A_202E(step).Value, _202A_202B_206D_200F_202C_200E_202C_206A_202D_202C_202A_200D_200E_206E_200C_206C_206A_200E_202C_206D_202A_202E_202A_200F_206D_206B_206E_206F_206A_202A_202C_206A_200E_200D_206F_206C_202C_202D_202D_202A_202E(step).Value, _206A_202E_200B_206A_200B_202B_200C_206D_206D_206B_206F_200D_206E_202A_202E_200B_206C_202E_202A_202E_206E_206A_206F_206E_200B_202B_200F_206F_202D_202C_202A_202D_200F_200F_200C_202E_202E_202C_200D_200F_202E(step), StartingCombat: true); + _003C_003E1__state = 7; + return true; + case 9: + goto IL_03b6; + case 0: + _003C_003E2__current = CreateTask(quest, sequence, step); + _003C_003E1__state = 24; + return true; + case 33: + obj2 = null; + goto IL_05c8; + case 38: + goto IL_040b; + case 12: + goto IL_041e; + case 22: + _003C_003E2__current = new Action.UseOnObject(_202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).Value, null, _206D_206C_202C_202D_206F_200E_202E_206D_200F_200E_206D_200E_202A_200C_202A_206B_206F_202C_200D_202B_202C_200F_202E_202A_200D_200C_206B_200E_206D_202A_200E_202B_200F_206B_200B_200C_202B_206C_206E_200E_202E(step).Value, null); + _003C_003E1__state = 13; + return true; + case 46: + goto IL_0485; + case 29: + goto IL_0498; + case 54: + { + string text = global::_003CModule_003E._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(-1557910661); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(19, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2133040643)); + defaultInterpolatedStringHandler.AppendFormatted(_206E_200E_202E_206B_206B_200C_200F_200F_206F_206B_200E_202D_206A_206C_206E_206C_206A_206E_202A_206C_200D_202B_202B_206D_200B_200B_206B_200E_200E_200E_202B_202A_206A_200C_206A_206E_202E_202C_206E_200E_202E(step)); + throw _200B_200E_206F_200B_202B_200B_206B_202B_206B_206B_200E_202B_202A_202D_206A_206E_200F_206C_200E_202E_206C_202B_206B_202C_200C_206E_200C_202E_206F_202A_206C_206B_206C_202C_202E_206C_202A_200B_206B_202B_202E(text, defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 14: + goto IL_050d; + case 3: + goto IL_0520; + case 55: + _003C_003E2__current = new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); + _003C_003E1__state = 21; + return true; + case 51: + return false; + case 59: + _003C_003E2__current = new Emote.UseOnSelf(_200F_200F_202C_200E_200D_200F_206D_202D_200D_202B_206B_206F_206D_200D_206F_200C_202E_202D_206A_206C_206A_206B_202A_206E_206E_206D_206C_206F_200F_206D_202C_202A_202B_206D_206D_206E_206E_200B_206B_202E_202E(step).Value); + _003C_003E1__state = 18; + return true; + case 28: + _003C_003E2__current = new WaitAtStart.WaitDelay(TimeSpan.FromSeconds(_200F_202B_206A_200C_200F_206E_202A_200C_202D_202C_202D_206B_202E_206F_200E_206F_200F_200E_206D_202E_200D_206A_200B_202C_202E_206E_200F_200B_206F_200B_206E_200C_206E_206B_202A_202B_202C_202C_200D_206D_202E(step).Value)); + _003C_003E1__state = 2; + return true; + case 50: + obj2 = num8.GetValueOrDefault(); + goto IL_05c8; + case 42: + _003C_003E2__current = new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); + _003C_003E1__state = 10; + return true; + case 24: + goto IL_061c; + case 15: + _003C_003E2__current = new UseItem.UseOnObject(quest.Id, _202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).Value, _202A_202B_206D_200F_202C_200E_202C_206A_202D_202C_202A_200D_200E_206E_200C_206C_206A_200E_202C_206D_202A_202E_202A_200F_206D_206B_206E_206F_206A_202A_202C_206A_200E_200D_206F_206C_202C_202D_202D_202A_202E(step).Value, _206A_202E_200B_206A_200B_202B_200C_206D_206D_206B_206F_200D_206E_202A_202E_200B_206C_202E_202A_202E_206E_206A_206F_206E_200B_202B_200F_206F_202D_202C_202A_202D_200F_200F_200C_202E_202E_202C_200D_200F_202E(step), StartingCombat: true); + _003C_003E1__state = 8; + return true; + case 6: + goto IL_06a3; + case 40: + num2 = 1179923935; + break; + case 37: + goto IL_0729; + case 47: + _003C_003E2__current = new Mount.UnmountTask(); + _003C_003E1__state = 12; + return true; + case 11: + goto IL_0765; + case 44: + goto IL_0796; + case 58: + goto IL_07a9; + case 27: + switch (eEnemySpawnType.GetValueOrDefault()) + { + case EEnemySpawnType.FinishCombatIfAny: + break; + case EEnemySpawnType.AutoOnEnterArea: + goto IL_0498; + case EEnemySpawnType.AfterEmote: + goto IL_061c; + case EEnemySpawnType.AfterInteraction: + goto IL_06a3; + case EEnemySpawnType.OverworldEnemies: + case EEnemySpawnType.FateEnemies: + goto IL_0729; + default: + goto IL_080c; + case EEnemySpawnType.AfterAction: + goto IL_0818; + case EEnemySpawnType.AfterItemUse: + goto IL_09f5; + } + goto case 0; + case 30: + goto IL_0818; + case 1: + goto IL_088c; + case 39: + goto IL_08ae; + case 17: + _003C_003E2__current = new UseItem.UseOnSelf(quest.Id, _202A_202B_206D_200F_202C_200E_202C_206A_202D_202C_202A_200D_200E_206E_200C_206C_206A_200E_202C_206D_202A_202E_202A_200F_206D_206B_206E_206F_206A_202A_202C_206A_200E_200D_206F_206C_202C_202D_202D_202A_202E(step).Value, _206A_202E_200B_206A_200B_202B_200C_206D_206D_206B_206F_200D_206E_202A_202E_200B_206C_202E_202A_202E_206E_206A_206F_206E_200B_202B_200F_206F_202D_202C_202A_202D_200F_200F_200C_202E_202E_202C_200D_200F_202E(step), StartingCombat: true); + _003C_003E1__state = 9; + return true; + case 36: + _003C_003E2__current = CreateTask(quest, sequence, step); + _003C_003E1__state = 22; + return true; + case 52: + goto IL_0928; + case 62: + goto IL_0959; + case 32: + goto IL_096c; + case 7: + goto IL_099a; + case 2: + goto IL_09c8; + case 10: + goto IL_09f5; + case 53: + _003C_003E2__current = new Mount.UnmountTask(); + _003C_003E1__state = 1; + return true; + case 43: + obj = null; + goto IL_01f2; + case 45: + num2 = 1179923930; + break; + case 16: + goto IL_0a80; + case 57: + goto IL_0a93; + case 48: + goto IL_0aa6; + case 34: + _003C_003E2__current = new UseItem.UseOnGround(quest.Id, _202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).Value, _202A_202B_206D_200F_202C_200E_202C_206A_202D_202C_202A_200D_200E_206E_200C_206C_206A_200E_202C_206D_202A_202E_202A_200F_206D_206B_206E_206F_206A_202A_202C_206A_200E_200D_206F_206C_202C_202D_202D_202A_202E(step).Value, _206A_202E_200B_206A_200B_202B_200C_206D_206D_206B_206F_200D_206E_202A_202E_200B_206C_202E_202A_202E_206E_206A_206F_206E_200B_202B_200F_206F_202D_202C_202A_202D_200F_200F_200C_202E_202E_202C_200D_200F_202E(step), StartingCombat: true); + _003C_003E1__state = 6; + return true; + case 26: + goto IL_0b4b; + case 56: + goto end_IL_000f; + IL_080c: + num2 = 1179923905; + break; + IL_0729: + _003C_003E2__current = CreateTask(quest, sequence, step); + _003C_003E1__state = 23; + return true; + IL_06a3: + _206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step), global::_003CModule_003E._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(-118248788)); + _003C_003E2__current = new Interact.Task(_202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).Value, quest, EInteractionType.None, SkipMarkerCheck: true); + _003C_003E1__state = 3; + return true; + IL_061c: + _206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_200F_200F_202C_200E_200D_200F_206D_202D_200D_202B_206B_206F_206D_200D_206F_200C_202E_202D_206A_206C_206A_206B_202A_206E_206E_206D_206C_206F_200F_206D_202C_202A_202B_206D_206D_206E_206E_200B_206B_202E_202E(step), global::_003CModule_003E._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(-837937279)); + _003C_003E2__current = new Mount.UnmountTask(); + _003C_003E1__state = 16; + return true; + IL_05c8: + num2 = ((obj2 == 147) ? 1179923923 : 1179923932); + break; + IL_01f2: + num2 = ((obj == 128) ? 1179923923 : 1179923946); + break; + } + continue; + IL_0aa6: + _206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_206E_200E_202E_206B_206B_200C_200F_200F_206F_206B_200E_202D_206A_206C_206E_206C_206A_206E_202A_206C_200D_202B_202B_206D_200B_200B_206B_200E_200E_200E_202B_202A_206A_200C_206A_206E_202E_202C_206E_200E_202E(step), global::_003CModule_003E._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(-1048645435)); + mountId = factory.gameFunctions.GetMountId(); + num8 = mountId; + num2 = (num8.HasValue ? 1179923914 : 1179923906); + continue; + IL_0818: + _206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step), global::_003CModule_003E._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(-751408309)); + _206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_206D_206C_202C_202D_206F_200E_202E_206D_200F_200E_206D_200E_202A_200C_202A_206B_206F_202C_200D_202B_202C_200F_202E_202A_200D_200C_206B_200E_206D_202A_200E_202B_200F_206B_200B_200C_202B_206C_206E_200E_202E(step), global::_003CModule_003E._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(-791963835)); + num2 = (_206A_206B_202A_200C_202A_206C_202D_206D_202A_206F_206E_200D_200C_202E_200C_206D_200F_202E_206F_206F_200F_202D_206D_200F_202D_200F_200C_206F_202B_206B_206B_206F_200E_206F_202D_206D_206F_200D_200C_206B_202E(_206D_206C_202C_202D_206F_200E_202E_206D_200F_200E_206D_200E_202A_200C_202A_206B_206F_202C_200D_202B_202C_200F_202E_202A_200D_200C_206B_200E_206D_202A_200E_202B_200F_206B_200B_200C_202B_206C_206E_200E_202E(step).Value) ? 1179923967 : 1179923910); + continue; + IL_0765: + num2 = ((!_202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).HasValue) ? 1179923960 : 1179923942); + continue; + IL_0928: + eEnemySpawnType = _206E_200E_202E_206B_206B_200C_200F_200F_206F_206B_200E_202D_206A_206C_206E_206C_206A_206E_202A_206C_200D_202B_202B_206D_200B_200B_206B_200E_200E_200E_202B_202A_206A_200C_206A_206E_202E_202C_206E_200E_202E(step); + num2 = ((!eEnemySpawnType.HasValue) ? 1179923935 : 1179923954); + continue; + IL_01a2: + num2 = ((!_202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).HasValue) ? 1179923964 : 1179923915); + continue; + IL_0520: + num8 = mountId; + num2 = (num8.HasValue ? 1179923931 : 1179923912); + continue; + IL_09f5: + _206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_202A_202B_206D_200F_202C_200E_202C_206A_202D_202C_202A_200D_200E_206E_200C_206C_206A_200E_202C_206D_202A_202E_202A_200F_206D_206B_206E_206F_206A_202A_202C_206A_200E_200D_206F_206C_202C_202D_202D_202A_202E(step), global::_003CModule_003E._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(2049264615)); + num2 = ((_200F_206C_206D_206F_206E_200D_202A_206E_200F_202A_202A_200D_202E_200C_202A_202E_206B_200C_206B_200C_200C_206C_200C_206B_200D_202D_202C_202A_200B_200D_202A_200B_202B_200B_202C_200C_202A_200B_206A_202E(step) != true) ? 1179923938 : 1179923965); + continue; + IL_0498: + num2 = (_200F_202B_206A_200C_200F_206E_202A_200C_202D_202C_202D_206B_202E_206F_200E_206F_200F_200E_206D_202E_200D_206A_200B_202C_202E_206E_200F_200B_206F_200B_206E_200C_206E_206B_202A_202B_202C_202C_200D_206D_202E(step).HasValue ? 1179923917 : 1179923934); + continue; + IL_07a9: + num2 = ((!_200F_202B_206A_200C_200F_206E_202A_200C_202D_202C_202D_206B_202E_206F_200E_206F_200F_200E_206D_202E_200D_206A_200B_202C_202E_206E_200F_200B_206F_200B_206E_200C_206E_206B_202A_202B_202C_202C_200D_206D_202E(step).HasValue) ? 1179923933 : 1179923957); + continue; + end_IL_0084: + break; } - else + goto case 21; + IL_0b4b: + _003C_003E1__state = -1; + num2 = ((_200D_200C_206C_206D_200D_202C_202B_200F_206C_200B_202B_202B_202D_202D_200C_202E_206F_202A_202E_200B_200D_206B_206E_206D_202B_206F_202A_206D_206B_200E_206D_206E_206B_202B_206E_200F_200D_206B_200D_200F_202E(step) == EInteractionType.Combat) ? 1179923929 : 1179923928); + goto IL_0084; + IL_0241: + _003C_003E1__state = -1; + num2 = 1179923907; + goto IL_0084; + IL_0a93: + _003C_003E1__state = -1; + num2 = 1179923952; + goto IL_0084; + IL_0a80: + _003C_003E1__state = -1; + num2 = 1179923952; + goto IL_0084; + IL_09c8: + _003C_003E1__state = -1; + _003C_003E2__current = CreateTask(quest, sequence, step); + _003C_003E1__state = 5; + return true; + IL_099a: + _003C_003E1__state = -1; + _003C_003E2__current = CreateTask(quest, sequence, step); + _003C_003E1__state = 20; + return true; + IL_096c: + _003C_003E1__state = -1; + _003C_003E2__current = CreateTask(quest, sequence, step); + _003C_003E1__state = 15; + return true; + IL_0959: + _003C_003E1__state = -1; + num2 = 1179923958; + goto IL_0084; + IL_08ae: + _003C_003E1__state = -1; + num2 = 1179923907; + goto IL_0084; + IL_088c: + _003C_003E1__state = -1; + _003C_003E2__current = new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); + _003C_003E1__state = 4; + return true; + IL_0796: + _003C_003E1__state = -1; + num2 = 1179923958; + goto IL_0084; + IL_050d: + _003C_003E1__state = -1; + num2 = 1179923933; + goto IL_0084; + IL_0485: + _003C_003E1__state = -1; + num2 = 1179923907; + goto IL_0084; + IL_041e: + _003C_003E1__state = -1; + _003C_003E2__current = new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); + _003C_003E1__state = 14; + return true; + IL_040b: + _003C_003E1__state = -1; + num2 = 1179923952; + goto IL_0084; + IL_03b6: + _003C_003E1__state = -1; + num2 = 1179923923; + goto IL_0084; + IL_0331: + _003C_003E1__state = -1; + num2 = 1179923952; + goto IL_0084; + IL_031e: + _003C_003E1__state = -1; + num2 = 1179923952; + goto IL_0084; + IL_030b: + _003C_003E1__state = -1; + num2 = 1179923952; + goto IL_0084; + IL_02f8: + _003C_003E1__state = -1; + num2 = 1179923967; + goto IL_0084; + IL_02e5: + _003C_003E1__state = -1; + num2 = 1179923952; + goto IL_0084; + IL_0291: + _003C_003E1__state = -1; + num2 = ((!_202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).HasValue) ? 1179923922 : 1179923937); + goto IL_0084; + IL_022c: + _003C_003E1__state = -1; + num2 = 1179923907; + goto IL_0084; + end_IL_000f: + break; + } + _003C_003E1__state = -1; + _003C_003E2__current = CreateTask(quest, sequence, step); + _003C_003E1__state = 11; + return true; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _202D_200C_200D_200B_202A_200B_200E_202E_206C_200C_202A_206A_206D_206C_200E_200E_202B_206F_200F_206B_206E_206E_200E_206C_202D_200B_202D_206C_200F_200B_200C_200E_200D_202A_200D_200F_206F_200B_202C_200D_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 1504087443 : 1504087444); + _003CCreateAllTasks_003Ed__2 _003CCreateAllTasks_003Ed__ = default(_003CCreateAllTasks_003Ed__2); + while (true) + { + int num2 = num; + int num3 = 1504087447; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - ArgumentNullException.ThrowIfNull(step.Position, "step.Position"); - yield return new UseItem.UseOnPosition(quest.Id, step.Position.Value, step.ItemId.Value, step.CompletionQuestVariablesFlags, StartingCombat: true); + case 0: + num = 1504087444; + break; + case 1: + _003C_003E1__state = 0; + _003CCreateAllTasks_003Ed__ = this; + num = 1504087445; + break; + case 4: + _003CCreateAllTasks_003Ed__ = new _003CCreateAllTasks_003Ed__2(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = 1504087445; + break; + case 2: + _003CCreateAllTasks_003Ed__.quest = _003C_003E3__quest; + _003CCreateAllTasks_003Ed__.sequence = _003C_003E3__sequence; + _003CCreateAllTasks_003Ed__.step = _003C_003E3__step; + return _003CCreateAllTasks_003Ed__; + case 3: + num = ((_003C_003El__initialThreadId != _200B_206D_206A_202A_206A_200C_202C_202D_200D_202B_202D_202C_200D_206A_200E_206E_206E_202A_200C_206F_206E_206E_206E_200D_200B_206F_200E_206A_206B_202A_200F_202B_206F_200E_202A_202B_202E_206B_202A_206F_202E()) ? 1504087443 : 1504087446); + break; } } - else if (step.DataId.HasValue) - { - yield return new UseItem.UseOnObject(quest.Id, step.DataId.Value, step.ItemId.Value, step.CompletionQuestVariablesFlags, StartingCombat: true); - } - else - { - yield return new UseItem.UseOnSelf(quest.Id, step.ItemId.Value, step.CompletionQuestVariablesFlags, StartingCombat: true); - } - yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); - yield return CreateTask(quest, sequence, step); - break; - case EEnemySpawnType.AfterAction: - ArgumentNullException.ThrowIfNull(step.DataId, "step.DataId"); - ArgumentNullException.ThrowIfNull(step.Action, "step.Action"); - if (!step.Action.Value.RequiresMount()) - { - yield return new Mount.UnmountTask(); - } - yield return new Action.UseOnObject(step.DataId.Value, null, step.Action.Value, null); - yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); - yield return CreateTask(quest, sequence, step); - break; - case EEnemySpawnType.AfterEmote: - ArgumentNullException.ThrowIfNull(step.Emote, "step.Emote"); - yield return new Mount.UnmountTask(); - if (step.DataId.HasValue) - { - yield return new Emote.UseOnObject(step.Emote.Value, step.DataId.Value); - } - else - { - yield return new Emote.UseOnSelf(step.Emote.Value); - } - yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); - yield return CreateTask(quest, sequence, step); - break; - case EEnemySpawnType.AutoOnEnterArea: - if (!step.CombatDelaySecondsAtStart.HasValue) - { - yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); - } - yield return CreateTask(quest, sequence, step); - break; - case EEnemySpawnType.OverworldEnemies: - case EEnemySpawnType.FateEnemies: - yield return CreateTask(quest, sequence, step); - break; - case EEnemySpawnType.FinishCombatIfAny: - yield return CreateTask(quest, sequence, step); - break; - default: - throw new ArgumentOutOfRangeException("step", $"Unknown spawn type {step.EnemySpawnType}"); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _200B_206D_206A_202A_206A_200C_202C_202D_200D_202B_202D_202C_200D_206A_200E_206E_206E_202A_200C_206F_206E_206E_206E_200D_200B_206F_200E_206A_206B_202A_200F_202B_206F_200E_202A_202B_202E_206B_202A_206F_202E() + { + return Environment.CurrentManagedThreadId; + } + + static EInteractionType _200D_200C_206C_206D_200D_202C_202B_200F_206C_200B_202B_202B_202D_202D_200C_202E_206F_202A_202E_200B_200D_206B_206E_206D_202B_206F_202A_206D_206B_200E_206D_206E_206B_202B_206E_200F_200D_206B_200D_200F_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static EEnemySpawnType? _206E_200E_202E_206B_206B_200C_200F_200F_206F_206B_200E_202D_206A_206C_206E_206C_206A_206E_202A_206C_200D_202B_202B_206D_200B_200B_206B_200E_200E_200E_202B_202A_206A_200C_206A_206E_202E_202C_206E_200E_202E(QuestStep P_0) + { + return P_0.EnemySpawnType; + } + + static void _206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static float? _200F_202B_206A_200C_200F_206E_202A_200C_202D_202C_202D_206B_202E_206F_200E_206F_200F_200E_206D_202E_200D_206A_200B_202C_202E_206E_200F_200B_206F_200B_206E_200C_206E_206B_202A_202B_202C_202C_200D_206D_202E(QuestStep P_0) + { + return P_0.CombatDelaySecondsAtStart; + } + + static uint? _202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static uint? _202A_202B_206D_200F_202C_200E_202C_206A_202D_202C_202A_200D_200E_206E_200C_206C_206A_200E_202C_206D_202A_202E_202A_200F_206D_206B_206E_206F_206A_202A_202C_206A_200E_200D_206F_206C_202C_202D_202D_202A_202E(QuestStep P_0) + { + return P_0.ItemId; + } + + static bool? _200F_206C_206D_206F_206E_200D_202A_206E_200F_202A_202A_200D_202E_200C_202A_202E_206B_200C_206B_200C_200C_206C_200C_206B_200D_202D_202C_202A_200B_200D_202A_200B_202B_200B_202C_200C_202A_200B_206A_202E(QuestStep P_0) + { + return P_0.GroundTarget; + } + + static List _206A_202E_200B_206A_200B_202B_200C_206D_206D_206B_206F_200D_206E_202A_202E_200B_206C_202E_202A_202E_206E_206A_206F_206E_200B_202B_200F_206F_202D_202C_202A_202D_200F_200F_200C_202E_202E_202C_200D_200F_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static Vector3? _200E_206E_200B_206B_206C_202D_202C_206C_202A_206D_200F_206E_206A_200E_200F_202D_202A_206C_200F_206F_202B_200E_206B_202D_200D_206D_200F_206B_200B_200E_206A_202A_202D_200C_202D_206A_202A_206C_200F_202A_202E(QuestStep P_0) + { + return P_0.Position; + } + + static EAction? _206D_206C_202C_202D_206F_200E_202E_206D_200F_200E_206D_200E_202A_200C_202A_206B_206F_202C_200D_202B_202C_200F_202E_202A_200D_200C_206B_200E_206D_202A_200E_202B_200F_206B_200B_200C_202B_206C_206E_200E_202E(QuestStep P_0) + { + return P_0.Action; + } + + static bool _206A_206B_202A_200C_202A_206C_202D_206D_202A_206F_206E_200D_200C_202E_200C_206D_200F_202E_206F_206F_200F_202D_206D_200F_202D_200F_200C_206F_202B_206B_206B_206F_200E_206F_202D_206D_206F_200D_200C_206B_202E(EAction P_0) + { + return P_0.RequiresMount(); + } + + static EEmote? _200F_200F_202C_200E_200D_200F_206D_202D_200D_202B_206B_206F_206D_200D_206F_200C_202E_202D_206A_206C_206A_206B_202A_206E_206E_206D_206C_206F_200F_206D_202C_202A_202B_206D_206D_206E_206E_200B_206B_202E_202E(QuestStep P_0) + { + return P_0.Emote; + } + + static ArgumentOutOfRangeException _200B_200E_206F_200B_202B_200B_206B_202B_206B_206B_200E_202B_202A_202D_206A_206E_200F_206C_200E_202E_206C_202B_206B_202C_200C_206E_200C_202E_206F_202A_206C_206B_206C_202C_202E_206C_202A_200B_206B_202B_202E(string P_0, string P_1) + { + return new ArgumentOutOfRangeException(P_0, P_1); + } + + static NotSupportedException _202D_200C_200D_200B_202A_200B_200E_202E_206C_200C_202A_206A_206D_206C_200E_200E_202B_206F_200F_206B_206E_206E_200E_206C_202D_200B_202D_206C_200F_200B_200C_200E_200D_202A_200D_200F_206F_200B_202C_200D_202E() + { + return new NotSupportedException(); } } + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + ushort? num7 = default(ushort?); + ushort? mountId = default(ushort?); + EEnemySpawnType? eEnemySpawnType = default(EEnemySpawnType?); + while (true) + { + int num = ((_003CCreateAllTasks_003Ed__2._200D_200C_206C_206D_200D_202C_202B_200F_206C_200B_202B_202B_202D_202D_200C_202E_206F_202A_202E_200B_200D_206B_206E_206D_202B_206F_202A_206D_206B_200E_206D_206E_206B_202B_206E_200F_200D_206B_200D_200F_202E(step) == EInteractionType.Combat) ? 1179923929 : 1179923928); + while (true) + { + int num2 = num; + int num3 = 1179923945; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int? obj; + int? obj2; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 20: + num = ((!_003CCreateAllTasks_003Ed__2._202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).HasValue) ? 1179923964 : 1179923915); + continue; + case 23: + num = 1179923917; + continue; + case 35: + obj = num7.GetValueOrDefault(); + goto IL_01f2; + case 25: + yield break; + case 60: + num = 1179923907; + continue; + case 49: + yield break; + case 18: + num = 1179923907; + continue; + case 8: + yield return new Emote.UseOnObject(_003CCreateAllTasks_003Ed__2._200F_200F_202C_200E_200D_200F_206D_202D_200D_202B_206B_206F_206D_200D_206F_200C_202E_202D_206A_206C_206A_206B_202A_206E_206E_206D_206C_206F_200F_206D_202C_202A_202B_206D_206D_206E_206E_200B_206B_202E_202E(step).Value, _003CCreateAllTasks_003Ed__2._202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).Value); + goto case 62; + case 61: + num = ((!_003CCreateAllTasks_003Ed__2._202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).HasValue) ? 1179923922 : 1179923937); + continue; + case 31: + yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); + goto case 7; + case 5: + num = 1179923952; + continue; + case 4: + num = 1179923967; + continue; + case 13: + num = 1179923952; + continue; + case 19: + num = 1179923952; + continue; + case 41: + num = 1179923952; + continue; + case 21: + _003CCreateAllTasks_003Ed__2._206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_003CCreateAllTasks_003Ed__2._200E_206E_200B_206B_206C_202D_202C_206C_202A_206D_200F_206E_206A_200E_200F_202D_202A_206C_200F_206F_202B_200E_206B_202D_200D_206D_200F_206B_200B_200E_206A_202A_202D_200C_202D_206A_202A_206C_200F_202A_202E(step), global::_003CModule_003E._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(2143064378)); + yield return new UseItem.UseOnPosition(quest.Id, _003CCreateAllTasks_003Ed__2._200E_206E_200B_206B_206C_202D_202C_206C_202A_206D_200F_206E_206A_200E_200F_202D_202A_206C_200F_206F_202B_200E_206B_202D_200D_206D_200F_206B_200B_200E_206A_202A_202D_200C_202D_206A_202A_206C_200F_202A_202E(step).Value, _003CCreateAllTasks_003Ed__2._202A_202B_206D_200F_202C_200E_202C_206A_202D_202C_202A_200D_200E_206E_200C_206C_206A_200E_202C_206D_202A_202E_202A_200F_206D_206B_206E_206F_206A_202A_202C_206A_200E_200D_206F_206C_202C_202D_202D_202A_202E(step).Value, _003CCreateAllTasks_003Ed__2._206A_202E_200B_206A_200B_202B_200C_206D_206D_206B_206F_200D_206E_202A_202E_200B_206C_202E_202A_202E_206E_206A_206F_206E_200B_202B_200F_206F_202D_202C_202A_202D_200F_200F_200C_202E_202E_202C_200D_200F_202E(step), StartingCombat: true); + goto case 46; + case 9: + num = 1179923923; + continue; + case 0: + yield return CreateTask(quest, sequence, step); + goto case 16; + case 33: + obj2 = null; + goto IL_05c8; + case 38: + num = 1179923952; + continue; + case 12: + yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); + goto case 32; + case 22: + yield return new Action.UseOnObject(_003CCreateAllTasks_003Ed__2._202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).Value, null, _003CCreateAllTasks_003Ed__2._206D_206C_202C_202D_206F_200E_202E_206D_200F_200E_206D_200E_202A_200C_202A_206B_206F_202C_200D_202B_202C_200F_202E_202A_200D_200C_206B_200E_206D_202A_200E_202B_200F_206B_200B_200C_202B_206C_206E_200E_202E(step).Value, null); + goto case 12; + case 46: + num = 1179923907; + continue; + case 29: + goto IL_0498; + case 54: + { + string text = global::_003CModule_003E._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(-1557910661); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(19, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2133040643)); + defaultInterpolatedStringHandler.AppendFormatted(_003CCreateAllTasks_003Ed__2._206E_200E_202E_206B_206B_200C_200F_200F_206F_206B_200E_202D_206A_206C_206E_206C_206A_206E_202A_206C_200D_202B_202B_206D_200B_200B_206B_200E_200E_200E_202B_202A_206A_200C_206A_206E_202E_202C_206E_200E_202E(step)); + throw _003CCreateAllTasks_003Ed__2._200B_200E_206F_200B_202B_200B_206B_202B_206B_206B_200E_202B_202A_202D_206A_206E_200F_206C_200E_202E_206C_202B_206B_202C_200C_206E_200C_202E_206F_202A_206C_206B_206C_202C_202E_206C_202A_200B_206B_202B_202E(text, defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 14: + num = 1179923933; + continue; + case 3: + num7 = mountId; + num = (num7.HasValue ? 1179923931 : 1179923912); + continue; + case 55: + yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); + goto case 23; + case 51: + yield break; + case 59: + yield return new Emote.UseOnSelf(_003CCreateAllTasks_003Ed__2._200F_200F_202C_200E_200D_200F_206D_202D_200D_202B_206B_206F_206D_200D_206F_200C_202E_202D_206A_206C_206A_206B_202A_206E_206E_206D_206C_206F_200F_206D_202C_202A_202B_206D_206D_206E_206E_200B_206B_202E_202E(step).Value); + goto case 44; + case 28: + yield return new WaitAtStart.WaitDelay(TimeSpan.FromSeconds(_003CCreateAllTasks_003Ed__2._200F_202B_206A_200C_200F_206E_202A_200C_202D_202C_202D_206B_202E_206F_200E_206F_200F_200E_206D_202E_200D_206A_200B_202C_202E_206E_200F_200B_206F_200B_206E_200C_206E_206B_202A_202B_202C_202C_200D_206D_202E(step).Value)); + goto case 14; + case 50: + obj2 = num7.GetValueOrDefault(); + goto IL_05c8; + case 42: + yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); + goto case 56; + case 24: + goto IL_061c; + case 15: + yield return new UseItem.UseOnObject(quest.Id, _003CCreateAllTasks_003Ed__2._202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).Value, _003CCreateAllTasks_003Ed__2._202A_202B_206D_200F_202C_200E_202C_206A_202D_202C_202A_200D_200E_206E_200C_206C_206A_200E_202C_206D_202A_202E_202A_200F_206D_206B_206E_206F_206A_202A_202C_206A_200E_200D_206F_206C_202C_202D_202D_202A_202E(step).Value, _003CCreateAllTasks_003Ed__2._206A_202E_200B_206A_200B_202B_200C_206D_206D_206B_206F_200D_206E_202A_202E_200B_206C_202E_202A_202E_206E_206A_206F_206E_200B_202B_200F_206F_202D_202C_202A_202D_200F_200F_200C_202E_202E_202C_200D_200F_202E(step), StartingCombat: true); + goto case 18; + case 6: + goto IL_06a3; + case 40: + num = 1179923935; + continue; + case 37: + goto IL_0729; + case 47: + yield return new Mount.UnmountTask(); + goto case 4; + case 11: + num = ((!_003CCreateAllTasks_003Ed__2._202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).HasValue) ? 1179923960 : 1179923942); + continue; + case 44: + num = 1179923958; + continue; + case 58: + num = ((!_003CCreateAllTasks_003Ed__2._200F_202B_206A_200C_200F_206E_202A_200C_202D_202C_202D_206B_202E_206F_200E_206F_200F_200E_206D_202E_200D_206A_200B_202C_202E_206E_200F_200B_206F_200B_206E_200C_206E_206B_202A_202B_202C_202C_200D_206D_202E(step).HasValue) ? 1179923933 : 1179923957); + continue; + case 27: + switch (eEnemySpawnType.GetValueOrDefault()) + { + case EEnemySpawnType.FinishCombatIfAny: + break; + case EEnemySpawnType.AutoOnEnterArea: + goto IL_0498; + case EEnemySpawnType.AfterEmote: + goto IL_061c; + case EEnemySpawnType.AfterInteraction: + goto IL_06a3; + case EEnemySpawnType.OverworldEnemies: + case EEnemySpawnType.FateEnemies: + goto IL_0729; + default: + goto IL_080c; + case EEnemySpawnType.AfterAction: + goto IL_0818; + case EEnemySpawnType.AfterItemUse: + goto IL_09f5; + } + goto case 0; + case 30: + goto IL_0818; + case 1: + yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(1L)); + goto case 2; + case 39: + num = 1179923907; + continue; + case 17: + yield return new UseItem.UseOnSelf(quest.Id, _003CCreateAllTasks_003Ed__2._202A_202B_206D_200F_202C_200E_202C_206A_202D_202C_202A_200D_200E_206E_200C_206C_206A_200E_202C_206D_202A_202E_202A_200F_206D_206B_206E_206F_206A_202A_202C_206A_200E_200D_206F_206C_202C_202D_202D_202A_202E(step).Value, _003CCreateAllTasks_003Ed__2._206A_202E_200B_206A_200B_202B_200C_206D_206D_206B_206F_200D_206E_202A_202E_200B_206C_202E_202A_202E_206E_206A_206F_206E_200B_202B_200F_206F_202D_202C_202A_202D_200F_200F_200C_202E_202E_202C_200D_200F_202E(step), StartingCombat: true); + goto case 39; + case 36: + yield return CreateTask(quest, sequence, step); + goto case 41; + case 52: + eEnemySpawnType = _003CCreateAllTasks_003Ed__2._206E_200E_202E_206B_206B_200C_200F_200F_206F_206B_200E_202D_206A_206C_206E_206C_206A_206E_202A_206C_200D_202B_202B_206D_200B_200B_206B_200E_200E_200E_202B_202A_206A_200C_206A_206E_202E_202C_206E_200E_202E(step); + num = ((!eEnemySpawnType.HasValue) ? 1179923935 : 1179923954); + continue; + case 62: + num = 1179923958; + continue; + case 32: + yield return CreateTask(quest, sequence, step); + goto case 57; + case 7: + yield return CreateTask(quest, sequence, step); + goto case 38; + case 2: + yield return CreateTask(quest, sequence, step); + goto case 13; + case 10: + goto IL_09f5; + case 53: + yield return new Mount.UnmountTask(); + goto case 9; + case 43: + obj = null; + goto IL_01f2; + case 45: + num = 1179923930; + continue; + case 16: + num = 1179923952; + continue; + case 57: + num = 1179923952; + continue; + case 48: + _003CCreateAllTasks_003Ed__2._206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_003CCreateAllTasks_003Ed__2._206E_200E_202E_206B_206B_200C_200F_200F_206F_206B_200E_202D_206A_206C_206E_206C_206A_206E_202A_206C_200D_202B_202B_206D_200B_200B_206B_200E_200E_200E_202B_202A_206A_200C_206A_206E_202E_202C_206E_200E_202E(step), global::_003CModule_003E._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(-1048645435)); + mountId = gameFunctions.GetMountId(); + num7 = mountId; + num = (num7.HasValue ? 1179923914 : 1179923906); + continue; + case 34: + yield return new UseItem.UseOnGround(quest.Id, _003CCreateAllTasks_003Ed__2._202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).Value, _003CCreateAllTasks_003Ed__2._202A_202B_206D_200F_202C_200E_202C_206A_202D_202C_202A_200D_200E_206E_200C_206C_206A_200E_202C_206D_202A_202E_202A_200F_206D_206B_206E_206F_206A_202A_202C_206A_200E_200D_206F_206C_202C_202D_202D_202A_202E(step).Value, _003CCreateAllTasks_003Ed__2._206A_202E_200B_206A_200B_202B_200C_206D_206D_206B_206F_200D_206E_202A_202E_200B_206C_202E_202A_202E_206E_206A_206F_206E_200B_202B_200F_206F_202D_202C_202A_202D_200F_200F_200C_202E_202E_202C_200D_200F_202E(step), StartingCombat: true); + goto case 60; + case 26: + break; + case 56: + { + yield return CreateTask(quest, sequence, step); + goto case 5; + } + IL_09f5: + _003CCreateAllTasks_003Ed__2._206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_003CCreateAllTasks_003Ed__2._202A_202B_206D_200F_202C_200E_202C_206A_202D_202C_202A_200D_200E_206E_200C_206C_206A_200E_202C_206D_202A_202E_202A_200F_206D_206B_206E_206F_206A_202A_202C_206A_200E_200D_206F_206C_202C_202D_202D_202A_202E(step), global::_003CModule_003E._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(2049264615)); + num = ((_003CCreateAllTasks_003Ed__2._200F_206C_206D_206F_206E_200D_202A_206E_200F_202A_202A_200D_202E_200C_202A_202E_206B_200C_206B_200C_200C_206C_200C_206B_200D_202D_202C_202A_200B_200D_202A_200B_202B_200B_202C_200C_202A_200B_206A_202E(step) != true) ? 1179923938 : 1179923965); + continue; + IL_0818: + _003CCreateAllTasks_003Ed__2._206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_003CCreateAllTasks_003Ed__2._202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step), global::_003CModule_003E._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(-751408309)); + _003CCreateAllTasks_003Ed__2._206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_003CCreateAllTasks_003Ed__2._206D_206C_202C_202D_206F_200E_202E_206D_200F_200E_206D_200E_202A_200C_202A_206B_206F_202C_200D_202B_202C_200F_202E_202A_200D_200C_206B_200E_206D_202A_200E_202B_200F_206B_200B_200C_202B_206C_206E_200E_202E(step), global::_003CModule_003E._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(-791963835)); + num = (_003CCreateAllTasks_003Ed__2._206A_206B_202A_200C_202A_206C_202D_206D_202A_206F_206E_200D_200C_202E_200C_206D_200F_202E_206F_206F_200F_202D_206D_200F_202D_200F_200C_206F_202B_206B_206B_206F_200E_206F_202D_206D_206F_200D_200C_206B_202E(_003CCreateAllTasks_003Ed__2._206D_206C_202C_202D_206F_200E_202E_206D_200F_200E_206D_200E_202A_200C_202A_206B_206F_202C_200D_202B_202C_200F_202E_202A_200D_200C_206B_200E_206D_202A_200E_202B_200F_206B_200B_200C_202B_206C_206E_200E_202E(step).Value) ? 1179923967 : 1179923910); + continue; + IL_080c: + num = 1179923905; + continue; + IL_0729: + yield return CreateTask(quest, sequence, step); + goto case 19; + IL_06a3: + _003CCreateAllTasks_003Ed__2._206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_003CCreateAllTasks_003Ed__2._202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step), global::_003CModule_003E._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(-118248788)); + yield return new Interact.Task(_003CCreateAllTasks_003Ed__2._202E_206A_202C_206D_206C_200B_206E_202A_202B_206C_200E_202B_206A_200C_206F_200F_202E_206D_202E_202B_206E_206D_206D_202E_202B_200B_200B_200D_206F_202D_206D_202C_202E_206C_200E_206B_202E_200E_200E_202D_202E(step).Value, quest, EInteractionType.None, SkipMarkerCheck: true); + goto case 1; + IL_061c: + _003CCreateAllTasks_003Ed__2._206E_206B_200B_206C_202C_206B_206C_202A_200C_206C_200C_200E_200E_206D_202E_200F_202B_200F_206D_202C_200E_202E_206A_200F_202C_206F_200D_202E_202D_200F_200D_200C_202D_206F_202B_200E_206A_202E_200B_202E_202E((object)_003CCreateAllTasks_003Ed__2._200F_200F_202C_200E_200D_200F_206D_202D_200D_202B_206B_206F_206D_200D_206F_200C_202E_202D_206A_206C_206A_206B_202A_206E_206E_206D_206C_206F_200F_206D_202C_202A_202B_206D_206D_206E_206E_200B_206B_202E_202E(step), global::_003CModule_003E._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(-837937279)); + yield return new Mount.UnmountTask(); + goto case 61; + IL_0498: + num = (_003CCreateAllTasks_003Ed__2._200F_202B_206A_200C_200F_206E_202A_200C_202D_202C_202D_206B_202E_206F_200E_206F_200F_200E_206D_202E_200D_206A_200B_202C_202E_206E_200F_200B_206F_200B_206E_200C_206E_206B_202A_202B_202C_202C_200D_206D_202E(step).HasValue ? 1179923917 : 1179923934); + continue; + IL_05c8: + num = ((obj2 == 147) ? 1179923923 : 1179923932); + continue; + IL_01f2: + num = ((obj == 128) ? 1179923923 : 1179923946); + continue; + } + break; + } + } + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + + [MethodImpl(MethodImplOptions.NoInlining)] private static Task CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { - ArgumentNullException.ThrowIfNull(step.EnemySpawnType, "step.EnemySpawnType"); - bool isLastStep = sequence.Steps.Last() == step; - return CreateTask(quest.Id, sequence.Sequence, isLastStep, step.EnemySpawnType.Value, step.KillEnemyDataIds, step.CompletionQuestVariablesFlags, step.ComplexCombatData, step.CombatItemUse); + _202D_202A_206C_202C_200B_202E_202C_206F_206D_206C_202B_202E_206F_202D_200B_206F_206C_206E_202E_200D_200D_200B_202D_206A_202C_202B_200C_206E_200C_206B_202C_200E_206B_206B_206D_200E_202C_202B_206B_202B_202E((object)_206F_202C_200E_202C_200E_206E_200F_206A_200F_200C_200F_200B_202E_200C_206F_206D_206F_200D_206A_202A_202B_206D_206D_206E_202B_200B_202D_202A_202B_206E_200E_200B_200F_206D_200F_200E_200C_206F_206A_206E_202E(step), global::_003CModule_003E._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(-1048645435)); + bool isLastStep = _200D_200B_202B_200F_206B_206E_200E_202C_206A_200E_202E_206F_200D_202C_200B_200E_206C_200F_202C_202E_200F_206B_206E_200E_206C_202A_206E_206B_200C_200F_202E_206F_202B_200C_202A_200C_202C_200C_200D_202D_202E(sequence).Last() == step; + return CreateTask(quest.Id, _206A_200D_200C_202A_200B_202B_202D_206F_206F_200C_200E_206B_206B_206A_200E_200C_202B_202D_206D_206B_202C_206E_200F_202D_202E_202E_206C_206B_206A_206B_206C_206B_206F_206F_206A_200D_202E_200D_206E_206E_202E(sequence), isLastStep, _206F_202C_200E_202C_200E_206E_200F_206A_200F_200C_200F_200B_202E_200C_206F_206D_206F_200D_206A_202A_202B_206D_206D_206E_202B_200B_202D_202A_202B_206E_200E_200B_200F_206D_200F_200E_200C_206F_206A_206E_202E(step).Value, _206A_206E_206D_206F_206D_200B_202B_202A_206C_206F_200B_206C_200E_200B_202A_206E_200E_200C_206E_202D_200D_202E_200B_206B_200C_200F_202B_206A_202D_206A_206E_206D_206B_200D_206B_202E_200B_200B_200E_206D_202E(step), _206B_202A_206B_206B_206F_206C_206C_206E_206D_206F_206A_206B_202D_206F_200C_202E_200B_202C_202D_200F_206E_206B_206B_206C_202D_202C_200E_206A_200D_200C_202A_200D_206D_206C_200D_202C_200E_202E_206B_202A_202E(step), _206B_200F_200E_206F_206E_206C_206D_200F_202A_202C_200F_206A_200F_206D_200C_200B_200C_200F_202C_202C_202E_202D_200F_202B_200C_202C_200C_200C_206D_200E_206B_206D_206D_200D_200C_206D_202A_206E_202D_206D_202E(step), _200D_202E_200E_200B_202E_202A_206A_206A_206C_206A_206C_206F_202E_202B_200E_206C_200F_202C_200F_202A_200C_206F_206D_202D_202D_200E_200D_200F_206C_202C_202A_200C_206E_206A_200B_200E_200B_202A_206F_200D_202E(step)); } internal static Task CreateTask(ElementId? elementId, int sequence, bool isLastStep, EEnemySpawnType enemySpawnType, IList killEnemyDataIds, IList completionQuestVariablesFlags, IList complexCombatData, CombatItemUse? combatItemUse) @@ -126,79 +940,364 @@ internal static class Combat CombatItemUse = combatItemUse }, completionQuestVariablesFlags, isLastStep); } + + static EEnemySpawnType? _206F_202C_200E_202C_200E_206E_200F_206A_200F_200C_200F_200B_202E_200C_206F_206D_206F_200D_206A_202A_202B_206D_206D_206E_202B_200B_202D_202A_202B_206E_200E_200B_200F_206D_200F_200E_200C_206F_206A_206E_202E(QuestStep P_0) + { + return P_0.EnemySpawnType; + } + + static void _202D_202A_206C_202C_200B_202E_202C_206F_206D_206C_202B_202E_206F_202D_200B_206F_206C_206E_202E_200D_200D_200B_202D_206A_202C_202B_200C_206E_200C_206B_202C_200E_206B_206B_206D_200E_202C_202B_206B_202B_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static List _200D_200B_202B_200F_206B_206E_200E_202C_206A_200E_202E_206F_200D_202C_200B_200E_206C_200F_202C_202E_200F_206B_206E_200E_206C_202A_206E_206B_200C_200F_202E_206F_202B_200C_202A_200C_202C_200C_200D_202D_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static byte _206A_200D_200C_202A_200B_202B_202D_206F_206F_200C_200E_206B_206B_206A_200E_200C_202B_202D_206D_206B_202C_206E_200F_202D_202E_202E_206C_206B_206A_206B_206C_206B_206F_206F_206A_200D_202E_200D_206E_206E_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static List _206A_206E_206D_206F_206D_200B_202B_202A_206C_206F_200B_206C_200E_200B_202A_206E_200E_200C_206E_202D_200D_202E_200B_206B_200C_200F_202B_206A_202D_206A_206E_206D_206B_200D_206B_202E_200B_200B_200E_206D_202E(QuestStep P_0) + { + return P_0.KillEnemyDataIds; + } + + static List _206B_202A_206B_206B_206F_206C_206C_206E_206D_206F_206A_206B_202D_206F_200C_202E_200B_202C_202D_200F_206E_206B_206B_206C_202D_202C_200E_206A_200D_200C_202A_200D_206D_206C_200D_202C_200E_202E_206B_202A_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static List _206B_200F_200E_206F_206E_206C_206D_200F_202A_202C_200F_206A_200F_206D_200C_200B_200C_200F_202C_202C_202E_202D_200F_202B_200C_202C_200C_200C_206D_200E_206B_206D_206D_200D_200C_206D_202A_206E_202D_206D_202E(QuestStep P_0) + { + return P_0.ComplexCombatData; + } + + static CombatItemUse _200D_202E_200E_200B_202E_202A_206A_206A_206C_206A_206C_206F_202E_202B_200E_206C_200F_202C_200F_202A_200C_206F_206D_202D_202D_200E_200D_200F_206C_202C_202A_200C_206E_206A_200B_200E_200B_202A_206F_200D_202E(QuestStep P_0) + { + return P_0.CombatItemUse; + } } internal sealed record Task(CombatController.CombatData CombatData, IList CompletionQuestVariableFlags, bool IsLastStep) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_206D_202D_202D_200F_202B_206E_202E_202E_206E_202C_200C_200D_200F_202E_202A_202C_206D_206C_206D_200F_206F_206C_202B_200B_200C_202C_202A_200D_206D_206A_206F_200D_200C_206E_202D_206B_206D_202E_206A_202E(typeof(Task).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - if (CombatData.SpawnType == EEnemySpawnType.FinishCombatIfAny) + int num = ((CombatData.SpawnType != EEnemySpawnType.FinishCombatIfAny) ? 1574649423 : 1574649422); + while (true) { - return "HandleCombat(wait: not in combat, optional)"; + int num2 = num; + int num3 = 1574649423; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = ((!QuestWorkUtils.HasCompletionFlags(CompletionQuestVariableFlags)) ? 1574649420 : 1574649418); + break; + case 2: + return global::_003CModule_003E._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(1564114709); + case 3: + num = ((!IsLastStep) ? 1574649421 : 1574649419); + break; + case 6: + num = 1574649422; + break; + case 5: + return global::_003CModule_003E._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(-1359402350); + case 4: + return global::_003CModule_003E._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(-37145119); + case 1: + return global::_003CModule_003E._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(-421063306); + } } - if (QuestWorkUtils.HasCompletionFlags(CompletionQuestVariableFlags)) + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206E_202B_200E_206A_206F_206E_206E_200D_206B_202C_200B_206E_206B_206E_202B_200D_202C_200C_200D_206E_200F_200B_200D_206E_206C_202A_200B_200E_206F_206E_202D_206F_200F_200E_200D_206A_206D_206B_206C_200E_202E(); + _206B_206A_206D_200C_200F_200D_202B_202B_206A_200B_200F_200F_200B_206B_200D_200D_202D_202E_206F_202D_200F_202D_206E_200C_202A_202E_202C_206A_206C_206F_206E_202B_200F_206B_206A_200D_202D_200F_200B_202B_202E(builder, global::_003CModule_003E._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(1165165478)); + _206B_200B_202B_206C_206C_200E_200C_206A_200C_206D_206B_206B_200E_200B_206E_202B_200E_200C_202B_202D_206E_202E_206F_206F_206D_200F_202C_206C_206C_200F_206F_206D_202D_200B_202C_200D_200E_200D_206C_206D_202E(builder, (object)CombatData); + _206B_206A_206D_200C_200F_200D_202B_202B_206A_200B_200F_200F_200B_206B_200D_200D_202D_202E_206F_202D_200F_202D_206E_200C_202A_202E_202C_206A_206C_206F_206E_202B_200F_206B_206A_200D_202D_200F_200B_202B_202E(builder, global::_003CModule_003E._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(179293478)); + _206B_200B_202B_206C_206C_200E_200C_206A_200C_206D_206B_206B_200E_200B_206E_202B_200E_200C_202B_202D_206E_202E_206F_206F_206D_200F_202C_206C_206C_200F_206F_206D_202D_200B_202C_200D_200E_200D_206C_206D_202E(builder, (object)CompletionQuestVariableFlags); + _206B_206A_206D_200C_200F_200D_202B_202B_206A_200B_200F_200F_200B_206B_200D_200D_202D_202E_206F_202D_200F_202D_206E_200C_202A_202E_202C_206A_206C_206F_206E_202B_200F_206B_206A_200D_202D_200F_200B_202B_202E(builder, global::_003CModule_003E._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(1123217053)); + _206B_206A_206D_200C_200F_200D_202B_202B_206A_200B_200F_200F_200B_206B_200D_200D_202D_202E_206F_202D_200F_202D_206E_200C_202A_202E_202C_206A_206C_206F_206E_202B_200F_206B_206A_200D_202D_200F_200B_202B_202E(builder, IsLastStep.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? 2136882810 : 2136882808); + while (true) { - return "HandleCombat(wait: QW flags)"; + int num2 = num; + int num3 = 2136882812; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 2136882808; + break; + case 4: + num = (((object)other == null) ? 2136882813 : 2136882811); + break; + case 1: + return false; + case 7: + num = ((!_200C_206B_206F_206B_202C_206B_206D_200F_202E_200F_200C_202E_202D_200C_202B_200F_202E_202B_200B_200C_202E_202C_200F_206A_202B_202A_202D_206F_206B_206A_206D_202A_202D_206E_206D_202B_202A_200D_206A_200E_202E(EqualityContract, other.EqualityContract)) ? 2136882813 : 2136882814); + break; + case 3: + return EqualityComparer.Default.Equals(IsLastStep, other.IsLastStep); + case 2: + num = ((!EqualityComparer.Default.Equals(CombatData, other.CombatData)) ? 2136882813 : 2136882809); + break; + case 6: + return true; + case 5: + num = ((!EqualityComparer>.Default.Equals(CompletionQuestVariableFlags, other.CompletionQuestVariableFlags)) ? 2136882813 : 2136882815); + break; + } } - if (IsLastStep) - { - return "HandleCombat(wait: next sequence)"; - } - return "HandleCombat(wait: not in combat)"; + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202E_206D_202D_202D_200F_202B_206E_202E_202E_206E_202C_200C_200D_200F_202E_202A_202C_206D_206C_206D_200F_206F_206C_202B_200B_200C_202C_202A_200D_206D_206A_206F_200D_200C_206E_202D_206B_206D_202E_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206E_202B_200E_206A_206F_206E_206E_200D_206B_202C_200B_206E_206B_206E_202B_200D_202C_200C_200D_206E_200F_200B_200D_206E_206C_202A_200B_200E_206F_206E_202D_206F_200F_200E_200D_206A_206D_206B_206C_200E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206B_206A_206D_200C_200F_200D_202B_202B_206A_200B_200F_200F_200B_206B_200D_200D_202D_202E_206F_202D_200F_202D_206E_200C_202A_202E_202C_206A_206C_206F_206E_202B_200F_206B_206A_200D_202D_200F_200B_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_200B_202B_206C_206C_200E_200C_206A_200C_206D_206B_206B_200E_200B_206E_202B_200E_200C_202B_202D_206E_202E_206F_206F_206D_200F_202C_206C_206C_200F_206F_206D_202D_200B_202C_200D_200E_200D_206C_206D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_206B_206F_206B_202C_206B_206D_200F_202E_200F_200C_202E_202D_200C_202B_200F_202E_202B_200B_200C_202E_202C_200F_206A_202B_202A_202D_206F_206B_206A_206D_202A_202D_206E_206D_202B_202A_200D_206A_200E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class HandleCombat(CombatController combatController, QuestFunctions questFunctions) : TaskExecutor() { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__6_0; + + public static Func _003C_003E9__6_1; + + public static Func<(ComplexCombatData ccd, int index), bool> _003C_003E9__6_2; + + internal bool _003CUpdate_003Eb__6_0(ComplexCombatData x) + { + return _206C_206F_206F_206A_206F_200E_206B_202B_206F_200B_206E_202A_200F_206F_200F_200F_206B_206F_206B_202A_202B_202D_200D_202A_200E_206E_206B_200D_200D_206D_206D_200D_200C_206B_202C_200F_206D_200C_206D_206C_202E(x).HasValue; + } + + internal (ComplexCombatData ccd, int index) _003CUpdate_003Eb__6_1(ComplexCombatData ccd, int index) + { + return (ccd: ccd, index: index); + } + + internal bool _003CUpdate_003Eb__6_2((ComplexCombatData ccd, int index) x) + { + return _206C_206F_206F_206A_206F_200E_206B_202B_206F_200B_206E_202A_200F_206F_200F_200F_206B_206F_206B_202A_202B_202D_200D_202A_200E_206E_206B_200D_200D_206D_206D_200D_200C_206B_202C_200F_206D_200C_206D_206C_202E(x.ccd).HasValue; + } + + static uint? _206C_206F_206F_206A_206F_200E_206B_202B_206F_200B_206E_202A_200F_206F_200F_200F_206B_206F_206B_202A_202B_202D_200D_202A_200E_206E_206B_200D_200D_206D_206D_200D_200C_206B_202C_200F_206D_200C_206D_206C_202E(ComplexCombatData P_0) + { + return P_0.MinimumKillCount; + } + } + private CombatController.EStatus _status; + private long _combatEndedAtMs; + protected override bool Start() { return combatController.Start(base.Task.CombatData); } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { _status = combatController.Update(); - if (_status != CombatController.EStatus.Complete) + QuestId questId = base.Task.CombatData.ElementId as QuestId; + int num = (((object)questId == null) ? 833084925 : 833084923); + QuestProgressInfo questProgressInfo = default(QuestProgressInfo); + while (true) { - 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)) - where x.ccd.MinimumKillCount.HasValue - select x).All(((ComplexCombatData ccd, int index) x) => base.Task.CombatData.CompletedComplexDatas.Contains(x.index))) - { - combatController.Stop("Kill count requirements met"); - return ETaskResult.TaskComplete; - } - return ETaskResult.StillRunning; - } - if (QuestWorkUtils.HasCompletionFlags(base.Task.CompletionQuestVariableFlags) && base.Task.CombatData.ElementId is QuestId elementId) - { - QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(elementId); - if (questProgressInfo == null) + int num2 = num; + int num3 = 833084915; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 16: + num = ((base.Task.CombatData.SpawnType != EEnemySpawnType.QuestInterruption) ? 833084917 : 833084914); + break; + case 6: + num = ((!base.Task.CombatData.ComplexCombatDatas.Any((ComplexCombatData x) => _003C_003Ec._206C_206F_206F_206A_206F_200E_206B_202B_206F_200B_206E_202A_200F_206F_200F_200F_206B_206F_206B_202A_202B_202D_200D_202A_200E_206E_206B_200D_200D_206D_206D_200D_200C_206B_202C_200F_206D_200C_206D_206C_202E(x).HasValue)) ? 833084926 : 833084924); + break; + case 14: + num = ((_status == CombatController.EStatus.Complete) ? 833084899 : 833084922); + break; + case 15: + num = ((!(from x in base.Task.CombatData.ComplexCombatDatas.Select((ComplexCombatData ccd, int index) => (ccd: ccd, index: index)) + where _003C_003Ec._206C_206F_206F_206A_206F_200E_206B_202B_206F_200B_206E_202A_200F_206F_200F_200F_206B_206F_206B_202A_202B_202D_200D_202A_200E_206E_206B_200D_200D_206D_206D_200D_200C_206B_202C_200F_206D_200C_206D_206C_202E(x.ccd).HasValue + select x).All(((ComplexCombatData ccd, int index) x) => base.Task.CombatData.CompletedComplexDatas.Contains(x.index))) ? 833084921 : 833084919); + break; + case 10: return ETaskResult.StillRunning; - } - if (QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariableFlags, questProgressInfo)) - { + case 13: + num = ((!base.Task.IsLastStep) ? 833084898 : 833084912); + break; + case 7: + num = ((_206F_206F_200E_202C_206B_206A_206C_200F_200C_206E_206F_200C_206C_206B_202D_206E_200E_202C_206B_200F_200D_206B_200B_200E_206B_200F_200D_206F_206B_206B_202D_200D_200E_206A_202B_206A_206F_206B_200C_202D_202E() - _combatEndedAtMs >= 2000) ? 833084917 : 833084913); + break; + case 1: + num = ((_combatEndedAtMs != 0L) ? 833084916 : 833084927); + break; + case 5: + num = ((!AreQuestCombatFlagsMet(questProgressInfo)) ? 833084925 : 833084920); + break; + case 4: + combatController.Stop(global::_003CModule_003E._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(-1469554830)); + return ETaskResult.TaskComplete; + case 2: + return ETaskResult.StillRunning; + case 9: + _combatEndedAtMs = 0L; + return ETaskResult.StillRunning; + case 0: + num = 833084923; + break; + case 3: + return ETaskResult.StillRunning; + case 12: + _combatEndedAtMs = _206F_206F_200E_202C_206B_206A_206C_200F_200C_206E_206F_200C_206C_206B_202D_206E_200E_202C_206B_200F_200D_206B_200B_200E_206B_200F_200D_206F_206B_206B_202D_200D_200E_206A_202B_206A_206F_206B_200C_202D_202E(); + num = 833084916; + break; + case 8: + questProgressInfo = questFunctions.GetQuestProgressInfo(questId); + num = ((questProgressInfo == null) ? 833084925 : 833084918); + break; + case 17: + combatController.Stop(global::_003CModule_003E._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(-1518429285)); + return ETaskResult.TaskComplete; + case 11: + combatController.Stop(global::_003CModule_003E._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(575032322)); return ETaskResult.TaskComplete; } - return ETaskResult.StillRunning; } - if (base.Task.IsLastStep) + } + + private bool AreQuestCombatFlagsMet(QuestProgressInfo questWork) + { + int num = ((!QuestWorkUtils.HasCompletionFlags(base.Task.CompletionQuestVariableFlags)) ? (-2101932045) : (-2101932046)); + ComplexCombatData current = default(ComplexCombatData); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = -2101932047; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -2101932046; + break; + case 1: + return true; + case 3: + num = ((!QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariableFlags, questWork)) ? (-2101932045) : (-2101932048)); + break; + case 2: + { + bool result = false; + using List.Enumerator enumerator = base.Task.CombatData.ComplexCombatDatas.GetEnumerator(); + num = 956628557; + while (true) + { + int num7 = num; + num3 = 956628553; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + result = true; + num = (QuestWorkUtils.MatchesQuestWork(_200E_206D_200E_206E_200B_206E_206F_200C_206A_200D_206F_206D_200D_206D_206B_202D_200F_206A_202D_200B_206D_202C_202C_200D_200F_206E_200B_200E_200D_202A_202B_202E_206B_202E_206D_206B_202E_202D_206A_202A_202E(current), questWork) ? 956628557 : 956628554); + break; + case 3: + return false; + case 5: + num = 956628557; + break; + case 4: + num = (enumerator.MoveNext() ? 956628552 : 956628553); + break; + case 1: + current = enumerator.Current; + num = ((!QuestWorkUtils.HasCompletionFlags(_200E_206D_200E_206E_200B_206E_206F_200C_206A_200D_206F_206D_200D_206D_206B_202D_200F_206A_202D_200B_206D_202C_202C_200D_200F_206E_200B_200E_200D_202A_202B_202E_206B_202E_206D_206B_202E_202D_206A_202A_202E(current))) ? 956628557 : 956628555); + break; + case 0: + return result; + } + } + } + } } - combatController.Stop("Combat task complete"); - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return false; } + + static long _206F_206F_200E_202C_206B_206A_206C_200F_200C_206E_206F_200C_206C_206B_202D_206E_200E_202C_206B_200F_200D_206B_200B_200E_206B_200F_200D_206F_206B_206B_202D_200D_200E_206A_202B_206A_206F_206B_200C_202D_202E() + { + return Environment.TickCount64; + } + + static IList _200E_206D_200E_206E_200B_206E_206F_200C_206A_200D_206F_206D_200D_206D_206B_202D_200F_206A_202D_200B_206D_202C_202C_200D_200F_206E_200B_200E_200D_202A_202B_202E_206B_202E_206D_206B_202E_202D_206A_202A_202E(ComplexCombatData P_0) + { + return P_0.CompletionQuestVariablesFlags; + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/CriticalEncounter.cs b/Questionable/Questionable.Controller.Steps.Interactions/CriticalEncounter.cs new file mode 100644 index 00000000..05072e0d --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Interactions/CriticalEncounter.cs @@ -0,0 +1,323 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +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 + { + [MethodImpl(MethodImplOptions.NoInlining)] + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + int num = ((_202B_202A_206E_202D_206C_200F_200D_202A_200D_206C_200B_206A_202B_202D_200F_206F_206C_206E_200E_202E_202B_202E_206C_202C_206D_206A_202B_200F_206C_202A_206B_200B_202E_202D_206E_206C_200F_200D_206A_200E_202E(step) == EInteractionType.CriticalEncounter) ? 388534169 : 388534175); + bool flag = default(bool); + ushort? num5 = default(ushort?); + while (true) + { + int num2 = num; + int num3 = 388534174; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return new global::_003C_003Ez__ReadOnlySingleElementList(new WaitForCriticalEncounter(_202B_202D_206C_206B_206B_206E_200E_206A_206C_206D_200E_202E_206E_202C_206B_206A_200F_202C_202E_202E_200F_206D_202D_206A_206F_206C_200B_206C_202C_200F_206F_206C_200D_206B_200C_202D_206F_202E_200F_202A_202E(step).Value, _200E_200B_202E_206D_202C_200C_206F_202A_206F_206D_206E_206C_206B_202C_202C_206D_206B_206C_206C_202E_206D_200C_202B_202C_206A_202A_206E_202A_206B_202B_206A_206B_206A_202E_200E_202C_202D_200C_200F_206C_202E(step))); + case 2: + num = ((!flag) ? 388534173 : 388534170); + break; + case 4: + throw _202D_206F_200D_202A_200C_200B_200C_200F_202A_202E_202C_200B_200F_206A_202D_206B_202D_200E_200F_206D_200D_206E_206D_200C_206B_200C_200E_202E_206A_202A_200F_200F_206D_202B_202E_206A_206A_202A_200E_200F_202E(global::_003CModule_003E._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(173883296)); + case 1: + return Array.Empty(); + case 8: + num = 388534175; + break; + case 0: + num = ((num5.GetValueOrDefault() != 0) ? 388534171 : 388534168); + break; + case 5: + flag = false; + num = 388534172; + break; + case 6: + flag = true; + num = 388534172; + break; + case 7: + num5 = _202B_202D_206C_206B_206B_206E_200E_206A_206C_206D_200E_202E_206E_202C_206B_206A_200F_202C_202E_202E_200F_206D_202D_206A_206F_206C_200B_206C_202C_200F_206F_206C_200D_206B_200C_202D_206F_202E_200F_202A_202E(step); + num = ((!num5.HasValue) ? 388534168 : 388534174); + break; + } + } + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + + static EInteractionType _202B_202A_206E_202D_206C_200F_200D_202A_200D_206C_200B_206A_202B_202D_200F_206F_206C_206E_200E_202E_202B_202E_206C_202C_206D_206A_202B_200F_206C_202A_206B_200B_202E_202D_206E_206C_200F_200D_206A_200E_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static ushort? _202B_202D_206C_206B_206B_206E_200E_206A_206C_206D_200E_202E_206E_202C_206B_206A_200F_202C_202E_202E_200F_206D_202D_206A_206F_206C_200B_206C_202C_200F_206F_206C_200D_206B_200C_202D_206F_202E_200F_202A_202E(QuestStep P_0) + { + return P_0.CriticalEncounterId; + } + + static InvalidOperationException _202D_206F_200D_202A_200C_200B_200C_200F_202A_202E_202C_200B_200F_206A_202D_206B_202D_200E_200F_206D_200D_206E_206D_200C_206B_200C_200E_202E_206A_202A_200F_200F_206D_202B_202E_206A_206A_202A_200E_200F_202E(string P_0) + { + return new InvalidOperationException(P_0); + } + + static string _200E_200B_202E_206D_202C_200C_206F_202A_206F_206D_206E_206C_206B_202C_202C_206D_206B_206C_206C_202E_206D_200C_202B_202C_206A_202A_206E_202A_206B_202B_206A_206B_206A_202E_200E_202C_202D_200C_200F_206C_202E(QuestStep P_0) + { + return P_0.Comment; + } + } + + internal sealed record WaitForCriticalEncounter(ushort CriticalEncounterId, string? Comment) : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206C_206C_206A_202A_200B_206A_202D_202E_200C_200D_200B_202A_206D_206A_202E_202A_206D_206A_202D_202C_200C_206D_206A_206A_206C_206D_200C_200D_202D_202C_202E_206D_200D_206B_200B_202E_206E_202E_200F_200E_202E(typeof(WaitForCriticalEncounter).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(26, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1697755405)); + defaultInterpolatedStringHandler.AppendFormatted(CriticalEncounterId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200D_206D_202B_206B_206E_206A_200B_206A_206A_200D_202D_206C_202A_202E_206E_202B_200D_206E_206B_200E_202D_202E_202D_206F_206F_206A_206C_200C_206E_200C_202C_206D_206F_200D_200E_200C_202B_206F_202C_206A_202E(); + _206D_200B_200D_202E_200F_200E_206D_206B_206A_200C_200F_200C_202B_202A_202B_206F_200F_200D_202D_200B_202C_200E_202C_206B_206D_200C_202B_202D_206A_206D_206F_206E_200C_206C_202D_200E_206E_202E_206E_206C_202E(builder, global::_003CModule_003E._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(1797121182)); + _206D_200B_200D_202E_200F_200E_206D_206B_206A_200C_200F_200C_202B_202A_202B_206F_200F_200D_202D_200B_202C_200E_202C_206B_206D_200C_202B_202D_206A_206D_206F_206E_200C_206C_202D_200E_206E_202E_206E_206C_202E(builder, CriticalEncounterId.ToString()); + _206D_200B_200D_202E_200F_200E_206D_206B_206A_200C_200F_200C_202B_202A_202B_206F_200F_200D_202D_200B_202C_200E_202C_206B_206D_200C_202B_202D_206A_206D_206F_206E_200C_206C_202D_200E_206E_202E_206E_206C_202E(builder, global::_003CModule_003E._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(161698568)); + _206D_206B_202C_200F_206B_202D_200D_206D_206E_202D_200D_200B_200B_202A_206F_202D_200D_200B_200E_202E_206F_206C_206D_200D_206E_200D_200E_206E_202D_206A_206E_200E_206B_206E_200D_202D_200C_206C_200D_202C_202E(builder, (object?)Comment); + return true; + } + + [CompilerGenerated] + public bool Equals(WaitForCriticalEncounter? other) + { + int num = (((object)this == other) ? 1889807727 : 1889807725); + while (true) + { + int num2 = num; + int num3 = 1889807724; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1889807725; + break; + case 6: + num = ((!EqualityComparer.Default.Equals(CriticalEncounterId, other.CriticalEncounterId)) ? 1889807720 : 1889807721); + break; + case 3: + return true; + case 1: + num = (((object)other == null) ? 1889807720 : 1889807724); + break; + case 5: + return EqualityComparer.Default.Equals(Comment, other.Comment); + case 4: + return false; + case 0: + num = ((!_200B_202E_206B_202C_202A_200C_202E_200C_202C_200D_202E_200C_200C_200B_200F_200C_202D_202E_206D_202C_202B_202B_206C_200B_200F_206C_202C_200E_206C_206F_202B_206F_200B_202B_200C_200C_200F_206E_202A_202D_202E(EqualityContract, other.EqualityContract)) ? 1889807720 : 1889807722); + break; + } + } + } + + bool IEquatable.Equals(WaitForCriticalEncounter? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _206C_206C_206A_202A_200B_206A_202D_202E_200C_200D_200B_202A_206D_206A_202E_202A_206D_206A_202D_202C_200C_206D_206A_206A_206C_206D_200C_200D_202D_202C_202E_206D_200D_206B_200B_202E_206E_202E_200F_200E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200D_206D_202B_206B_206E_206A_200B_206A_206A_200D_202D_206C_202A_202E_206E_202B_200D_206E_206B_200E_202D_202E_202D_206F_206F_206A_206C_200C_206E_200C_202C_206D_206F_200D_200E_200C_202B_206F_202C_206A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _206D_200B_200D_202E_200F_200E_206D_206B_206A_200C_200F_200C_202B_202A_202B_206F_200F_200D_202D_200B_202C_200E_202C_206B_206D_200C_202B_202D_206A_206D_206F_206E_200C_206C_202D_200E_206E_202E_206E_206C_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _206D_206B_202C_200F_206B_202D_200D_206D_206E_202D_200D_200B_200B_202A_206F_202D_200D_200B_200E_202E_206F_206C_206D_200D_206E_200D_200E_206E_202D_206A_206E_200E_206B_206E_200D_202D_200C_206C_200D_202C_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _200B_202E_206B_202C_202A_200C_202E_200C_202C_200D_202E_200C_200C_200B_200F_200C_202D_202E_206D_202C_202B_202B_206C_200B_200F_206C_202C_200E_206C_206F_202B_206F_200B_202B_200C_200C_200F_206E_202A_202D_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; + } + } + + 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; + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + _200D_206C_202E_206E_206C_200F_200C_200F_200D_206D_202D_200D_206C_206B_200D_200D_200C_202B_206D_200E_202C_202B_200B_206E_206A_200B_206C_206E_206C_206D_202D_206F_200B_202D_202E_206F_206F_206F_206B_206D_202E((ILogger)logger, global::_003CModule_003E._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(787186705), new object[1] { base.Task.CriticalEncounterId }); + return true; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + int num = ((_202C_200B_200C_200C_202A_200E_206C_200C_206F_200E_202B_206F_202B_202B_206E_206F_200C_202D_206B_200B_202B_206F_206D_206D_202A_202A_206E_206D_206B_206C_202E_206F_202C_200C_200D_200F_200E_202B_202A_200F_202E() >= _nextPollAt) ? 547757229 : 547757246); + PublicEvent valueOrDefault = default(PublicEvent); + PublicEvent? publicEvent = default(PublicEvent?); + while (true) + { + int num2 = num; + int num3 = 547757230; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + num = (_loggedWaiting ? 547757221 : 547757227); + break; + case 4: + _nextPollAt = _202C_200B_200C_200C_202A_200E_206C_200C_206F_200E_202B_206F_202B_202B_206E_206F_200C_202D_206B_200B_202B_206F_206D_206D_202A_202A_206E_206D_206B_206C_202E_206F_202C_200C_200D_200F_200E_202B_202A_200F_202E() + 1000; + return ETaskResult.StillRunning; + case 1: + _nextPollAt = _202C_200B_200C_200C_202A_200E_206C_200C_206F_200E_202B_206F_202B_202B_206E_206F_200C_202D_206B_200B_202B_206F_206D_206D_202A_202A_206E_206D_206B_206C_202E_206F_202C_200C_200D_200F_200E_202B_202A_200F_202E() + 2000; + return ETaskResult.StillRunning; + case 12: + valueOrDefault = publicEvent.GetValueOrDefault(); + num = 547757223; + break; + case 2: + return ETaskResult.TaskComplete; + case 16: + return ETaskResult.StillRunning; + case 0: + num = 547757246; + break; + case 15: + num = ((publicEvent.GetValueOrDefault().Id != base.Task.CriticalEncounterId) ? 547757225 : 547757228); + break; + case 11: + _notified = false; + _navigating = false; + _nextPollAt = _202C_200B_200C_200C_202A_200E_206C_200C_206F_200E_202B_206F_202B_202B_206E_206F_200C_202D_206B_200B_202B_206F_206D_206D_202A_202A_206E_206D_206B_206C_202E_206F_202C_200C_200D_200F_200E_202B_202A_200F_202E() + 1000; + return ETaskResult.StillRunning; + case 10: + num = (_navigating ? 547757226 : 547757216); + break; + case 14: + _202C_206B_200F_206C_206B_206C_200F_206F_202C_200B_202D_202C_200E_202E_202A_202B_200C_206A_200D_206D_202E_200D_200F_206A_202A_206C_202A_200D_200D_206A_200C_202A_202B_206C_200B_200C_202B_200E_206B_206D_202E((ILogger)logger, global::_003CModule_003E._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(-1192929131), new object[2] + { + base.Task.CriticalEncounterId, + valueOrDefault.Position + }); + movementController.NavigateTo(EMovementType.Quest, null, valueOrDefault.Position, fly: false, sprint: true, 5f); + _navigating = true; + num = 547757226; + break; + case 7: + num = ((!valueOrDefault.IsActive) ? 547757220 : 547757231); + break; + case 6: + publicEvent = _206B_202D_206C_200D_202A_206C_206A_206C_202E_200F_206A_202C_202C_206E_200E_206D_202D_200E_202A_200C_206D_202A_206D_206F_206A_206F_202B_202E_206A_206E_200C_202A_200F_206D_200B_202C_202E_206B_200D_202E_202E(publicEventHelper); + num = ((!publicEvent.HasValue) ? 547757225 : 547757217); + break; + case 9: + num = (_notified ? 547757224 : 547757219); + break; + case 3: + publicEvent = _206B_200F_206E_200C_202C_206D_200D_202C_200C_202A_206A_200B_200E_202E_206A_206E_202D_202A_206B_206A_200B_202E_206A_206D_206F_200F_202A_206A_206F_202D_206D_202C_200E_202E_202B_200F_202A_202A_202A_206C_202E(publicEventHelper, EPublicEventType.DynamicEvent, (uint)base.Task.CriticalEncounterId); + num = ((!publicEvent.HasValue) ? 547757222 : 547757218); + break; + case 13: + _202C_206B_200F_206C_206B_206C_200F_206F_202C_200B_202D_202C_200E_202E_202A_202B_200C_206A_200D_206D_202E_200D_200F_206A_202A_206C_202A_200D_200D_206A_200C_202A_202B_206C_200B_200C_202B_200E_206B_206D_202E((ILogger)logger, global::_003CModule_003E._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(1925066438), new object[2] + { + base.Task.CriticalEncounterId, + valueOrDefault.Name + }); + sendNotificationExecutor.Start(new SendNotification.Task(EInteractionType.CriticalEncounter, base.Task.Comment ?? valueOrDefault.Name)); + _notified = true; + num = 547757224; + break; + case 5: + _200D_206C_202E_206E_206C_200F_200C_200F_200D_206D_202D_200D_206C_206B_200D_200D_200C_202B_206D_200E_202C_202B_200B_206E_206A_200B_206C_206E_206C_206D_202D_206F_200B_202D_202E_206F_206F_206F_206B_206D_202E((ILogger)logger, global::_003CModule_003E._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(-103389765), new object[1] { base.Task.CriticalEncounterId }); + _loggedWaiting = true; + num = 547757221; + break; + } + } + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static void _200D_206C_202E_206E_206C_200F_200C_200F_200D_206D_202D_200D_206C_206B_200D_200D_200C_202B_206D_200E_202C_202B_200B_206E_206A_200B_206C_206E_206C_206D_202D_206F_200B_202D_202E_206F_206F_206F_206B_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static long _202C_200B_200C_200C_202A_200E_206C_200C_206F_200E_202B_206F_202B_202B_206E_206F_200C_202D_206B_200B_202B_206F_206D_206D_202A_202A_206E_206D_206B_206C_202E_206F_202C_200C_200D_200F_200E_202B_202A_200F_202E() + { + return Environment.TickCount64; + } + + static PublicEvent? _206B_200F_206E_200C_202C_206D_200D_202C_200C_202A_206A_200B_200E_202E_206A_206E_202D_202A_206B_206A_200B_202E_206A_206D_206F_200F_202A_206A_206F_202D_206D_202C_200E_202E_202B_200F_202A_202A_202A_206C_202E(PublicEventHelper P_0, EPublicEventType P_1, uint P_2) + { + return P_0.GetEventById(P_1, P_2); + } + + static void _202C_206B_200F_206C_206B_206C_200F_206F_202C_200B_202D_202C_200E_202E_202A_202B_200C_206A_200D_206D_202E_200D_200F_206A_202A_206C_202A_200D_200D_206A_200C_202A_202B_206C_200B_200C_202B_200E_206B_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static PublicEvent? _206B_202D_206C_200D_202A_206C_206A_206C_202E_200F_206A_202C_202C_206E_200E_206D_202D_200E_202A_200C_206D_202A_206D_206F_206A_206F_202B_202E_206A_206E_200C_202A_200F_206D_200B_202C_202E_206B_200D_202E_202E(PublicEventHelper P_0) + { + return P_0.GetCurrentDynamicEvent(); + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Dive.cs b/Questionable/Questionable.Controller.Steps.Interactions/Dive.cs index f7ad2576..c944d2c7 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Dive.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Dive.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Dalamud.Game.ClientState.Conditions; using Dalamud.Plugin.Services; @@ -21,19 +22,39 @@ internal static class Dive { public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.Dive) + int num = ((_206D_206E_202A_206D_200D_206F_206D_200C_206E_200E_206C_200C_200E_206F_206C_200B_202C_206C_202C_206B_200C_200B_200C_202C_206E_202D_200F_202B_202D_200F_202D_200D_206F_202A_206A_202B_202A_202B_206F_206C_202E(step) == EInteractionType.Dive) ? 912485956 : 912485959); + while (true) { - return null; + int num2 = num; + int num3 = 912485958; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return new Task(); + case 1: + return null; + case 0: + goto IL_0050; + } + continue; + IL_0050: + num = 912485959; } - return new Task(); + } + + static EInteractionType _206D_206E_202A_206D_200D_206F_206D_200C_206E_200E_206C_200C_200E_206F_206C_200B_202C_206C_202C_206B_200C_200B_200C_202C_206E_202D_200F_202B_202D_200F_202D_200D_206F_202A_206A_202B_202A_202B_206F_206C_202E(QuestStep P_0) + { + return P_0.InteractionType; } } internal sealed class Task : ITask { + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "Dive"; + return global::_003CModule_003E._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(377000525); } } @@ -45,141 +66,380 @@ internal static class Dive private int _attempts; + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool StartInternal() { - if (condition[ConditionFlag.Diving]) + int num = ((!_200F_200F_200D_206B_200B_206D_206C_206F_206E_200D_200B_206E_206D_200E_206C_200B_200D_202D_206E_202C_206D_200C_200E_202C_202B_200C_206B_206B_206E_202C_200B_206F_206F_206E_206C_206F_202D_206C_200F_206F_202E(condition, ConditionFlag.Diving)) ? (-182833903) : (-182833899)); + while (true) { - return false; + int num2 = num; + int num3 = -182833900; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = ((!_200F_200F_200D_206B_200B_206D_206C_206F_206E_200D_200B_206E_206D_200E_206C_200B_200D_202D_206E_202C_206D_200C_200E_202C_202B_200C_206B_206B_206E_202C_200B_206F_206F_206E_206C_206F_202D_206C_200F_206F_202E(condition, ConditionFlag.Swimming)) ? (-182833904) : (-182833900)); + break; + case 5: + num = (_200F_200F_200D_206B_200B_206D_206C_206F_206E_200D_200B_206E_206D_200E_206C_200B_200D_202D_206E_202C_206D_200C_200E_202C_202B_200C_206B_206B_206E_202C_200B_206F_206F_206E_206C_206F_202D_206C_200F_206F_202E(condition, ConditionFlag.Mounted) ? (-182833900) : (-182833898)); + break; + case 0: + Descend(); + return true; + case 3: + num = -182833899; + break; + case 4: + throw new TaskException(global::_003CModule_003E._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(-335869589)); + case 1: + return false; + } } - if (condition[ConditionFlag.Mounted] || condition[ConditionFlag.Swimming]) - { - Descend(); - return true; - } - throw new TaskException("You aren't swimming, so we can't dive."); } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe override ETaskResult Update() { - if (_keysToPress.TryDequeue(out (uint, nint) result)) + (uint, nint) result; + int num = ((!_keysToPress.TryDequeue(out result)) ? 297362200 : 297362206); + while (true) { - if (result.Item1 == 0) + int num2 = num; + int num3 = 297362202; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 6: + return ETaskResult.StillRunning; + case 4: + num = ((result.Item1 != 0) ? 297362201 : 297362204); + break; + case 3: + _200E_202C_206B_200B_202B_206C_206C_202C_202C_206B_206E_206F_202D_200F_200E_200D_200B_202A_202C_206B_200B_202E_200D_202D_206F_206C_200F_200E_206A_200F_202A_202C_206F_200E_206B_202C_206C_202C_206E_200E_202E((ILogger)logger, global::_003CModule_003E._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(547752152), new object[2] + { + (result.Item1 == 256) ? global::_003CModule_003E._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(-211975877) : global::_003CModule_003E._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(378157279), + result.Item2 + }); + WindowsKeypress.SendMessage((nint)Device.Instance()->hWnd, result.Item1, result.Item2); + num = ((result.Item1 != 256) ? 297362202 : 297362203); + break; + case 8: + num = 297362206; + break; + case 5: + _pressedKeys.Remove(result.Item2); + num = 297362205; + break; + case 2: + return base.Update(); + case 1: + _pressedKeys.Add(result.Item2); + num = 297362205; + break; + case 0: + num = ((result.Item1 != 257) ? 297362205 : 297362207); + break; + case 7: return ETaskResult.StillRunning; } - logger.LogDebug("{Action} key {KeyCode:X2}", (result.Item1 == 256) ? "Pressing" : "Releasing", result.Item2); - WindowsKeypress.SendMessage((nint)Device.Instance()->hWnd, result.Item1, result.Item2); - if (result.Item1 == 256) - { - _pressedKeys.Add(result.Item2); - } - else if (result.Item1 == 257) - { - _pressedKeys.Remove(result.Item2); - } - return ETaskResult.StillRunning; } - return base.Update(); } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void StopNow() { - foreach (nint pressedKey in _pressedKeys) + using (HashSet.Enumerator enumerator = _pressedKeys.GetEnumerator()) { - logger.LogDebug("Releasing stuck key {KeyCode:X2} on stop", pressedKey); - WindowsKeypress.SendMessage((nint)Device.Instance()->hWnd, 257u, pressedKey); + int num = 169668245; + while (true) + { + int num2 = num; + int num3 = 169668244; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 169668245; + break; + case 1: + num = (enumerator.MoveNext() ? 169668246 : 169668247); + break; + case 2: + { + nint current = enumerator.Current; + _200E_202C_206B_200B_202B_206C_206C_202C_202C_206B_206E_206F_202D_200F_200E_200D_200B_202A_202C_206B_200B_202E_200D_202D_206F_206C_200F_200E_206A_200F_202A_202C_206F_200E_206B_202C_206C_202C_206E_200E_202E((ILogger)logger, global::_003CModule_003E._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(331258283), new object[1] { current }); + WindowsKeypress.SendMessage((nint)Device.Instance()->hWnd, 257u, current); + num = 169668245; + break; + } + case 3: + goto end_IL_0017; + } + continue; + end_IL_0017: + break; + } } _pressedKeys.Clear(); _keysToPress.Clear(); } + void IStoppableTaskExecutor.StopNow() + { + //ILSpy generated this explicit interface implementation from .override directive in StopNow + this.StopNow(); + } + public override bool ShouldInterruptOnDamage() { return false; } + [MethodImpl(MethodImplOptions.NoInlining)] protected override ETaskResult UpdateInternal() { - if (condition[ConditionFlag.Diving]) + int num = ((!_200F_200F_200D_206B_200B_206D_206C_206F_206E_200D_200B_206E_206D_200E_206C_200B_200D_202D_206E_202C_206D_200C_200E_202C_202B_200C_206B_206B_206E_202C_200B_206F_206F_206E_206C_206F_202D_206C_200F_206F_202E(condition, ConditionFlag.Diving)) ? 1669924537 : 1669924536); + while (true) { - return ETaskResult.TaskComplete; + int num2 = num; + int num3 = 1669924537; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = ((_attempts < 5) ? 1669924538 : 1669924541); + break; + case 1: + return ETaskResult.TaskComplete; + case 3: + { + Descend(); + int attempts = _attempts; + num3 = 1; + num4 = attempts; + _attempts = (num4 | num3) + (num4 & num3); + return ETaskResult.StillRunning; + } + case 4: + throw new TaskException(global::_003CModule_003E._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(-1475958254)); + case 2: + num = 1669924536; + break; + } } - if (_attempts >= 5) - { - throw new TaskException("Please dive manually."); - } - Descend(); - _attempts++; - return ETaskResult.StillRunning; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void Descend() { Keybind* keybind = UIInputData.Instance()->GetKeybind(InputId.MOVE_DESCENT); if (keybind == null) { - throw new TaskException("Could not find descent keybind"); + throw new TaskException(global::_003CModule_003E._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(472640545)); } Span keySettings = keybind->KeySettings; SeVirtualKey key = keySettings[0].Key; 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); + _200E_202C_206B_200B_202B_206C_206C_202C_202C_206B_206E_206F_202D_200F_200E_200D_200B_202A_202C_206B_200B_202E_200D_202D_206F_206C_200F_200E_206A_200F_202A_202C_206F_200E_206B_202C_206C_202C_206E_200E_202E((ILogger)logger, global::_003CModule_003E._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(-1313145476), new object[4] { 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); - if (list2 == null || list2.Count == 0) + List list2 = list.OfType>().MinBy((List x) => x.Count); + int num2 = ((list2 == null) ? 326698319 : 326698316); + int num12 = default(int); + while (true) { - throw new TaskException("No useable keybind found for diving"); - } - foreach (nint item in list2) - { - _keysToPress.Enqueue((256u, item)); - for (int num2 = 0; num2 < 15; num2++) + int num3 = num2; + int num4 = 326698319; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) { - _keysToPress.Enqueue((0u, 0)); + case 2: + num2 = 326698316; + break; + case 3: + num2 = ((list2.Count != 0) ? 326698318 : 326698319); + break; + case 0: + throw new TaskException(global::_003CModule_003E._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(-81108494)); + case 1: + { + using (List.Enumerator enumerator = list2.GetEnumerator()) + { + num2 = 1722000690; + while (true) + { + int num8 = num2; + num4 = 1722000690; + num5 = num8; + int num9 = num5 + num4; + int num10 = num5 & num4; + switch (num9 - (num10 + num10)) + { + case 2: + num2 = 1722000690; + break; + case 3: + { + nint current = enumerator.Current; + _keysToPress.Enqueue((256u, current)); + num12 = 0; + num2 = 1722000695; + break; + } + case 4: + { + _keysToPress.Enqueue((0u, 0)); + int num11 = num12; + num4 = 1; + num5 = num11; + int num13 = num5 ^ num4; + int num14 = num5 & num4; + num12 = num13 + (num14 + num14); + num2 = 1722000695; + break; + } + case 5: + num2 = ((num12 < 15) ? 1722000694 : 1722000690); + break; + case 0: + num2 = (enumerator.MoveNext() ? 1722000689 : 1722000691); + break; + case 1: + goto end_IL_01b5; + } + continue; + end_IL_01b5: + break; + } + } + int num15 = 0; + num2 = 624642844; + while (true) + { + int num16 = num2; + num4 = 624642847; + num5 = num16; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = 624642844; + break; + case 3: + num2 = ((num15 < 5) ? 624642846 : 624642845); + break; + case 1: + { + _keysToPress.Enqueue((0u, 0)); + int num20 = num15; + num4 = 1; + num5 = num20; + num15 = (num5 | num4) + (num5 & num4); + num2 = 624642844; + break; + } + case 2: + { + list2.Reverse(); + using List.Enumerator enumerator = list2.GetEnumerator(); + num2 = 2090140458; + while (true) + { + int num17 = num2; + num4 = 2090140458; + num5 = num17; + int num18 = num5 + num4; + int num19 = num5 & num4; + switch (num18 - (num19 + num19)) + { + case 2: + num2 = 2090140458; + break; + case 1: + { + nint current2 = enumerator.Current; + _keysToPress.Enqueue((257u, current2)); + num2 = 2090140458; + break; + } + case 0: + num2 = (enumerator.MoveNext() ? 2090140459 : 2090140457); + break; + case 3: + return; + } + } + } + } + } + } } } - for (int num3 = 0; num3 < 5; num3++) - { - _keysToPress.Enqueue((0u, 0)); - } - list2.Reverse(); - foreach (nint item2 in list2) - { - _keysToPress.Enqueue((257u, item2)); - } + } + + static bool _200F_200F_200D_206B_200B_206D_206C_206F_206E_200D_200B_206E_206D_200E_206C_200B_200D_202D_206E_202C_206D_200C_200E_202C_202B_200C_206B_206B_206E_202C_200B_206F_206F_206E_206C_206F_202D_206C_200F_206F_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static void _200E_202C_206B_200B_202B_206C_206C_202C_202C_206B_206E_206F_202D_200F_200E_200D_200B_202A_202C_206B_200B_202E_200D_202D_206F_206C_200F_200E_206A_200F_202A_202C_206F_200E_206B_202C_206C_202C_206E_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); } } private static List? GetKeysToPress(SeVirtualKey key, KeyModifierFlag modifier) { List list = new List(); - if ((modifier & KeyModifierFlag.Ctrl) != KeyModifierFlag.None) + int num = (((modifier & KeyModifierFlag.Ctrl) == 0) ? 1227229785 : 1227229790); + nint num7 = default(nint); + while (true) { - list.Add(17); + int num2 = num; + int num3 = 1227229786; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return null; + case 3: + num = (((modifier & KeyModifierFlag.Shift) == 0) ? 1227229789 : 1227229787); + break; + case 4: + list.Add(17); + num = 1227229785; + break; + case 5: + list.Add(num7); + return list; + case 1: + list.Add(16); + num = 1227229789; + break; + case 7: + num = (((modifier & KeyModifierFlag.Alt) == 0) ? 1227229788 : 1227229786); + break; + case 6: + num7 = (nint)key; + num = ((num7 != 0) ? 1227229791 : 1227229784); + break; + case 8: + num = 1227229790; + break; + case 0: + list.Add(18); + num = 1227229788; + break; + } } - if ((modifier & KeyModifierFlag.Shift) != KeyModifierFlag.None) - { - list.Add(16); - } - if ((modifier & KeyModifierFlag.Alt) != KeyModifierFlag.None) - { - list.Add(18); - } - nint num = (nint)key; - if (num == 0) - { - return null; - } - list.Add(num); - return list; } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Duty.cs b/Questionable/Questionable.Controller.Steps.Interactions/Duty.cs index be1242f3..118c0f49 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Duty.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Duty.cs @@ -1,11 +1,20 @@ using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Text; 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.Group; using LLib.Gear; +using Lumina.Excel; +using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; +using Questionable.Controller.CombatModules; using Questionable.Controller.Steps.Common; using Questionable.Controller.Steps.Shared; using Questionable.Controller.Utils; @@ -14,176 +23,1132 @@ 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) + [CompilerGenerated] + private sealed class _003CCreateAllTasks_003Ed__10 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable { - if (step.InteractionType != EInteractionType.Duty) + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private QuestStep step; + + public QuestStep _003C_003E3__step; + + public Factory _003C_003E4__this; + + private uint _003CcfcId_003E5__2; + + private AutoDutyIpc.DutyMode _003CdutyMode_003E5__3; + + ITask IEnumerator.Current { - yield break; - } - ArgumentNullException.ThrowIfNull(step.DutyOptions, "step.DutyOptions"); - 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 == Configuration.EDutyMode.UnsyncParty) || (!step.DutyOptions.DutyMode.HasValue && !configuration.Duties.DutyModeOverrides.ContainsKey(step.DutyOptions.ContentFinderConditionId) && configuration.Duties.DefaultDutyMode == Configuration.EDutyMode.UnsyncParty))) + [DebuggerHidden] + get { - yield return new WaitForPartyTask(); - } - yield return new StartAutoDutyTask(step.DutyOptions.ContentFinderConditionId, dutyMode); - yield return new WaitAutoDutyTask(step.DutyOptions.ContentFinderConditionId); - if (!QuestWorkUtils.HasCompletionFlags(step.CompletionQuestVariablesFlags)) - { - yield return new WaitAtEnd.WaitNextStepOrSequence(); + return _003C_003E2__current; } } - else if (!step.DutyOptions.LowPriority) + + object IEnumerator.Current { - yield return new OpenDutyFinderTask(step.DutyOptions.ContentFinderConditionId); + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CCreateAllTasks_003Ed__10(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _200E_200F_206B_206F_200F_202B_206B_202B_206E_200E_202B_202A_202D_206D_202E_206B_200F_206A_202E_200C_202C_206F_200E_202E_202C_202B_202B_202D_200B_200D_200F_200D_206A_206E_202E_206B_206C_206B_202B_206D_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + int num = _003C_003E1__state; + Factory factory = _003C_003E4__this; + int num2; + EDutyMode effectiveEDutyMode = default(EDutyMode); + DutyEntry value = default(DutyEntry); + EDutyMode? registryDutyMode = default(EDutyMode?); + switch (num) + { + default: + num2 = -1986449047; + goto IL_004c; + case 2: + _003C_003E1__state = -1; + num2 = -1986449033; + goto IL_004c; + case 3: + goto IL_016b; + case 1: + goto IL_01e0; + case 6: + goto IL_0233; + case 5: + goto IL_0333; + case 10: + goto IL_0346; + case 4: + goto IL_03d5; + case 0: + goto IL_0424; + case 7: + break; + case 8: + goto IL_050a; + case 9: + goto IL_0566; + IL_004c: + while (true) + { + int num3 = num2; + int num4 = -1986449046; + int num5 = num3; + EDutyMode? obj; + switch ((num5 | num4) - (num5 & num4)) + { + case 5: + goto IL_0104; + case 27: + return false; + case 1: + goto end_IL_004c; + case 3: + return false; + case 24: + goto IL_0143; + case 16: + goto IL_016b; + case 23: + _003C_003E2__current = new StartAutoDutyTask(_003CcfcId_003E5__2, _003CdutyMode_003E5__3); + _003C_003E1__state = 6; + return true; + case 14: + _003C_003E2__current = new EnableWrathForDutyTask(); + _003C_003E1__state = 2; + return true; + case 36: + goto IL_01b2; + case 21: + goto IL_01e0; + case 13: + goto IL_01f3; + case 37: + num2 = -1986449047; + break; + case 7: + if (effectiveEDutyMode == EDutyMode.UnsyncParty) + { + num2 = -1986449077; + break; + } + goto case 26; + case 19: + goto IL_0233; + case 30: + goto IL_0254; + case 6: + goto IL_0294; + case 35: + obj = value.DutyMode; + goto IL_02c2; + case 34: + _003C_003E2__current = new WaitAtEnd.WaitNextStepOrSequence(); + _003C_003E1__state = 9; + return true; + case 20: + goto IL_030b; + case 22: + goto IL_0333; + case 15: + goto IL_0346; + case 2: + _003C_003E2__current = new OpenDutyFinderTask(_003CcfcId_003E5__2); + _003C_003E1__state = 10; + return true; + case 33: + _003C_003E2__current = new WaitForPartyTask(); + _003C_003E1__state = 1; + return true; + case 29: + goto IL_0388; + case 0: + goto IL_03b0; + case 17: + return false; + case 31: + goto IL_03d5; + case 25: + goto IL_03e8; + case 4: + _003C_003E2__current = new EnableBossModForDutyTask(); + _003C_003E1__state = 4; + return true; + case 10: + goto IL_0424; + case 26: + num2 = -1986449038; + break; + case 9: + goto IL_0473; + case 11: + goto end_IL_000f; + case 8: + obj = null; + goto IL_02c2; + case 12: + goto IL_050a; + case 28: + _003C_003E2__current = new EnableBossModPassiveForDutyTask(); + _003C_003E1__state = 5; + return true; + case 32: + _003C_003E2__current = new EnableRsrForDutyTask(); + _003C_003E1__state = 3; + return true; + case 18: + goto IL_0566; + IL_02c2: + registryDutyMode = obj; + num2 = ((!factory.autoDutyIpc.IsConfiguredToRunContent(_206A_200B_200F_202D_202C_202A_202E_202E_206E_206A_206C_202E_202D_202C_206A_206C_206D_206A_202B_206A_202C_206F_202C_202E_206B_206B_206C_206E_200B_206F_200E_206F_202E_200D_200E_206C_206A_206E_200F_202E_202E(step))) ? (-1986449049) : (-1986449036)); + break; + } + continue; + IL_0473: + _200B_202A_202C_206E_206B_206F_200D_200D_206C_200E_206C_206D_202C_202A_200D_200D_202E_200E_202C_200F_202E_206D_206C_200B_206D_202C_202C_206B_202D_200C_206E_200C_206A_206C_202E_206C_206F_200F_200D_202E((object)_206A_200B_200F_202D_202C_202A_202E_202E_206E_206A_206C_202E_202D_202C_206A_206C_206D_206A_202B_206A_202C_206F_202C_202E_206B_206B_206C_206E_200B_206F_200E_206F_202E_200D_200E_206C_206A_206E_200F_202E_202E(step), global::_003CModule_003E._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(190396670)); + _003CcfcId_003E5__2 = _206F_206D_206C_202A_200D_202A_206E_200E_200F_206D_200E_206B_200F_206D_206A_202E_206F_202B_202E_200C_206C_200B_206B_200C_202D_200B_206C_200E_202A_206B_200C_202E_202A_202E_206E_200E_202E_206D_206B_200E_202E(_206A_200B_200F_202D_202C_202A_202E_202E_206E_206A_206C_202E_202D_202C_206A_206C_206D_206A_202B_206A_202C_206F_202C_202E_206B_206B_206C_206E_200B_206F_200E_206F_202E_200D_200E_206C_206A_206E_200F_202E_202E(step)); + DutyRegistry.Duties.TryGetValue(_003CcfcId_003E5__2, out value); + num2 = (((object)value != null) ? (-1986449079) : (-1986449054)); + continue; + IL_0254: + effectiveEDutyMode = factory.GetEffectiveEDutyMode(_003CcfcId_003E5__2, registryDutyMode); + _003CdutyMode_003E5__3 = ConvertToAutoDutyMode(effectiveEDutyMode); + num2 = ((_003CdutyMode_003E5__3 != AutoDutyIpc.DutyMode.UnsyncRegular) ? (-1986449040) : (-1986449043)); + continue; + IL_030b: + num2 = ((!factory.bossModIpc.IsSupported()) ? (-1986449027) : (-1986449034)); + continue; + IL_03e8: + num2 = ((!factory.bossModIpc.IsSupported()) ? (-1986449026) : (-1986449042)); + continue; + IL_0104: + num2 = ((!factory.wrathComboModule.IsAvailable()) ? (-1986449044) : (-1986449052)); + continue; + IL_01b2: + num2 = ((factory.configuration.General.CombatModule != Configuration.ECombatModule.BossMod) ? (-1986449026) : (-1986449037)); + continue; + IL_03b0: + num2 = (value.LowPriority ? (-1986449039) : (-1986449048)); + continue; + IL_0294: + num2 = ((!factory.rsrModule.IsAvailable()) ? (-1986449033) : (-1986449078)); + continue; + IL_01f3: + num2 = (((object)value == null) ? (-1986449048) : (-1986449046)); + continue; + IL_0388: + num2 = (factory.autoDutyIpc.ManagesBossModAiSettings() ? (-1986449027) : (-1986449074)); + continue; + IL_0143: + num2 = (factory.autoDutyIpc.ManagesRotationPluginState() ? (-1986449033) : (-1986449041)); + continue; + end_IL_004c: + break; + } + goto case 2; + IL_0566: + _003C_003E1__state = -1; + num2 = -1986449039; + goto IL_004c; + IL_050a: + _003C_003E1__state = -1; + num2 = (QuestWorkUtils.HasCompletionFlags(_206A_202D_202D_206B_202B_206C_206D_206E_206A_200D_206B_206F_202C_206C_206A_206D_200B_206D_200B_202D_202A_206E_202D_206D_200C_200D_200C_206D_200F_206C_206B_200D_200C_200C_202A_206C_202C_206A_206E_202A_202E(step)) ? (-1986449039) : (-1986449080)); + goto IL_004c; + IL_0233: + _003C_003E1__state = -1; + _003C_003E2__current = new WaitAutoDutyTask(_003CcfcId_003E5__2); + _003C_003E1__state = 7; + return true; + IL_01e0: + _003C_003E1__state = -1; + num2 = -1986449038; + goto IL_004c; + IL_0424: + _003C_003E1__state = -1; + num2 = ((_202B_200D_200D_200D_202B_200D_202D_200E_202A_206B_206C_206E_206A_200F_200C_206C_200E_200F_200C_206D_200B_206B_206B_206C_202E_200D_200E_202C_200B_202B_206F_202A_200B_206C_206F_206C_206F_206A_206A_202A_202E(step) == EInteractionType.Duty) ? (-1986449053) : (-1986449029)); + goto IL_004c; + IL_016b: + _003C_003E1__state = -1; + num2 = -1986449033; + goto IL_004c; + IL_03d5: + _003C_003E1__state = -1; + num2 = -1986449027; + goto IL_004c; + IL_0346: + _003C_003E1__state = -1; + num2 = -1986449039; + goto IL_004c; + IL_0333: + _003C_003E1__state = -1; + num2 = -1986449027; + goto IL_004c; + end_IL_000f: + break; + } + _003C_003E1__state = -1; + _003C_003E2__current = new DisableCombatPluginsForDutyTask(); + _003C_003E1__state = 8; + return true; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _200B_202C_202C_200B_200B_206A_200F_202D_200F_206C_206D_206A_202B_200D_206A_202B_202A_200B_206F_202D_200F_202C_202C_202A_206C_200B_206E_200F_202A_200F_202E_202B_200D_206A_206E_200F_202D_202E_202E_200D_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-408191389) : (-408191391)); + _003CCreateAllTasks_003Ed__10 _003CCreateAllTasks_003Ed__ = default(_003CCreateAllTasks_003Ed__10); + while (true) + { + int num2 = num; + int num3 = -408191392; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + _003CCreateAllTasks_003Ed__.step = _003C_003E3__step; + return _003CCreateAllTasks_003Ed__; + case 1: + num = ((_003C_003El__initialThreadId != _200E_200F_206B_206F_200F_202B_206B_202B_206E_200E_202B_202A_202D_206D_202E_206B_200F_206A_202E_200C_202C_206F_200E_202E_202C_202B_202B_202D_200B_200D_200F_200D_206A_206E_202E_206B_206C_206B_202B_206D_202E()) ? (-408191389) : (-408191392)); + break; + case 2: + num = -408191391; + break; + case 0: + _003C_003E1__state = 0; + _003CCreateAllTasks_003Ed__ = this; + num = -408191388; + break; + case 3: + _003CCreateAllTasks_003Ed__ = new _003CCreateAllTasks_003Ed__10(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = -408191388; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _200E_200F_206B_206F_200F_202B_206B_202B_206E_200E_202B_202A_202D_206D_202E_206B_200F_206A_202E_200C_202C_206F_200E_202E_202C_202B_202B_202D_200B_200D_200F_200D_206A_206E_202E_206B_206C_206B_202B_206D_202E() + { + return Environment.CurrentManagedThreadId; + } + + static EInteractionType _202B_200D_200D_200D_202B_200D_202D_200E_202A_206B_206C_206E_206A_200F_200C_206C_200E_200F_200C_206D_200B_206B_206B_206C_202E_200D_200E_202C_200B_202B_206F_202A_200B_206C_206F_206C_206F_206A_206A_202A_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static DutyOptions _206A_200B_200F_202D_202C_202A_202E_202E_206E_206A_206C_202E_202D_202C_206A_206C_206D_206A_202B_206A_202C_206F_202C_202E_206B_206B_206C_206E_200B_206F_200E_206F_202E_200D_200E_206C_206A_206E_200F_202E_202E(QuestStep P_0) + { + return P_0.DutyOptions; + } + + static void _200B_202A_202C_206E_206B_206F_200D_200D_206C_200E_206C_206D_202C_202A_200D_200D_202E_200E_202C_200F_202E_206D_206C_200B_206D_202C_202C_206B_202D_200C_206E_200C_206A_206C_202E_206C_206F_200F_200D_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static uint _206F_206D_206C_202A_200D_202A_206E_200E_200F_206D_200E_206B_200F_206D_206A_202E_206F_202B_202E_200C_206C_200B_206B_200C_202D_200B_206C_200E_202A_206B_200C_202E_202A_202E_206E_200E_202E_206D_206B_200E_202E(DutyOptions P_0) + { + return P_0.ContentFinderConditionId; + } + + static List _206A_202D_202D_206B_202B_206C_206D_206E_206A_200D_206B_206F_202C_206C_206A_206D_200B_206D_200B_202D_202A_206E_202D_206D_200C_200D_200C_206D_200F_206C_206B_200D_200C_200C_202A_206C_202C_206A_206E_202A_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static NotSupportedException _200B_202C_202C_200B_200B_206A_200F_202D_200F_206C_206D_206A_202B_200D_206A_202B_202A_200B_206F_202D_200F_202C_202C_202A_206C_200B_206E_200F_202A_200F_202E_202B_200D_206A_206E_200F_202D_202E_202E_200D_202E() + { + return new NotSupportedException(); } } - private AutoDutyIpc.DutyMode GetDutyMode(uint cfcId, EDutyMode? stepDutyMode) + public IEnumerable CreateAllTasks(Questionable.Model.Quest quest, QuestSequence sequence, QuestStep step) { - if (stepDutyMode.HasValue) + uint cfcId = default(uint); + AutoDutyIpc.DutyMode dutyMode = default(AutoDutyIpc.DutyMode); + DutyEntry value = default(DutyEntry); + EDutyMode effectiveEDutyMode = default(EDutyMode); + EDutyMode? registryDutyMode = default(EDutyMode?); + while (true) { - return ConvertToAutoDutyMode(stepDutyMode.Value); + int num = ((_003CCreateAllTasks_003Ed__10._202B_200D_200D_200D_202B_200D_202D_200E_202A_206B_206C_206E_206A_200F_200C_206C_200E_200F_200C_206D_200B_206B_206B_206C_202E_200D_200E_202C_200B_202B_206F_202A_200B_206C_206F_206C_206F_206A_206A_202A_202E(step) == EInteractionType.Duty) ? (-1986449053) : (-1986449029)); + while (true) + { + int num2 = num; + int num3 = -1986449046; + int num4 = num2; + int num5; + EDutyMode? obj; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 5: + num = ((!wrathComboModule.IsAvailable()) ? (-1986449044) : (-1986449052)); + continue; + case 27: + yield break; + case 1: + num = -1986449033; + continue; + case 3: + yield break; + case 24: + num = (autoDutyIpc.ManagesRotationPluginState() ? (-1986449033) : (-1986449041)); + continue; + case 16: + num = -1986449033; + continue; + case 23: + yield return new StartAutoDutyTask(cfcId, dutyMode); + goto case 19; + case 14: + yield return new EnableWrathForDutyTask(); + goto case 1; + case 36: + num = ((configuration.General.CombatModule != Configuration.ECombatModule.BossMod) ? (-1986449026) : (-1986449037)); + continue; + case 21: + num = -1986449038; + continue; + case 13: + num = (((object)value == null) ? (-1986449048) : (-1986449046)); + continue; + case 37: + num = -1986449047; + continue; + case 7: + num5 = ((effectiveEDutyMode == EDutyMode.UnsyncParty) ? 1 : 0); + goto IL_0456; + case 19: + yield return new WaitAutoDutyTask(cfcId); + goto case 11; + case 30: + effectiveEDutyMode = GetEffectiveEDutyMode(cfcId, registryDutyMode); + dutyMode = ConvertToAutoDutyMode(effectiveEDutyMode); + num = ((dutyMode != AutoDutyIpc.DutyMode.UnsyncRegular) ? (-1986449040) : (-1986449043)); + continue; + case 6: + num = ((!rsrModule.IsAvailable()) ? (-1986449033) : (-1986449078)); + continue; + case 35: + obj = value.DutyMode; + goto IL_02c2; + case 34: + yield return new WaitAtEnd.WaitNextStepOrSequence(); + goto case 18; + case 20: + num = ((!bossModIpc.IsSupported()) ? (-1986449027) : (-1986449034)); + continue; + case 22: + num = -1986449027; + continue; + case 15: + num = -1986449039; + continue; + case 2: + yield return new OpenDutyFinderTask(cfcId); + goto case 15; + case 33: + yield return new WaitForPartyTask(); + goto case 21; + case 29: + num = (autoDutyIpc.ManagesBossModAiSettings() ? (-1986449027) : (-1986449074)); + continue; + case 0: + num = (value.LowPriority ? (-1986449039) : (-1986449048)); + continue; + case 17: + yield break; + case 31: + num = -1986449027; + continue; + case 25: + num = ((!bossModIpc.IsSupported()) ? (-1986449026) : (-1986449042)); + continue; + case 4: + yield return new EnableBossModForDutyTask(); + goto case 31; + case 10: + break; + case 26: + num5 = 0; + goto IL_0456; + case 9: + _003CCreateAllTasks_003Ed__10._200B_202A_202C_206E_206B_206F_200D_200D_206C_200E_206C_206D_202C_202A_200D_200D_202E_200E_202C_200F_202E_206D_206C_200B_206D_202C_202C_206B_202D_200C_206E_200C_206A_206C_202E_206C_206F_200F_200D_202E((object)_003CCreateAllTasks_003Ed__10._206A_200B_200F_202D_202C_202A_202E_202E_206E_206A_206C_202E_202D_202C_206A_206C_206D_206A_202B_206A_202C_206F_202C_202E_206B_206B_206C_206E_200B_206F_200E_206F_202E_200D_200E_206C_206A_206E_200F_202E_202E(step), global::_003CModule_003E._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(190396670)); + cfcId = _003CCreateAllTasks_003Ed__10._206F_206D_206C_202A_200D_202A_206E_200E_200F_206D_200E_206B_200F_206D_206A_202E_206F_202B_202E_200C_206C_200B_206B_200C_202D_200B_206C_200E_202A_206B_200C_202E_202A_202E_206E_200E_202E_206D_206B_200E_202E(_003CCreateAllTasks_003Ed__10._206A_200B_200F_202D_202C_202A_202E_202E_206E_206A_206C_202E_202D_202C_206A_206C_206D_206A_202B_206A_202C_206F_202C_202E_206B_206B_206C_206E_200B_206F_200E_206F_202E_200D_200E_206C_206A_206E_200F_202E_202E(step)); + DutyRegistry.Duties.TryGetValue(cfcId, out value); + num = (((object)value != null) ? (-1986449079) : (-1986449054)); + continue; + case 11: + yield return new DisableCombatPluginsForDutyTask(); + goto case 12; + case 8: + obj = null; + goto IL_02c2; + case 12: + num = (QuestWorkUtils.HasCompletionFlags(_003CCreateAllTasks_003Ed__10._206A_202D_202D_206B_202B_206C_206D_206E_206A_200D_206B_206F_202C_206C_206A_206D_200B_206D_200B_202D_202A_206E_202D_206D_200C_200D_200C_206D_200F_206C_206B_200D_200C_200C_202A_206C_202C_206A_206E_202A_202E(step)) ? (-1986449039) : (-1986449080)); + continue; + case 28: + yield return new EnableBossModPassiveForDutyTask(); + goto case 22; + case 32: + yield return new EnableRsrForDutyTask(); + goto case 16; + case 18: + { + num = -1986449039; + continue; + } + IL_0456: + num = ((num5 == 0) ? (-1986449038) : (-1986449077)); + continue; + IL_02c2: + registryDutyMode = obj; + num = ((!autoDutyIpc.IsConfiguredToRunContent(_003CCreateAllTasks_003Ed__10._206A_200B_200F_202D_202C_202A_202E_202E_206E_206A_206C_202E_202D_202C_206A_206C_206D_206A_202B_206A_202C_206F_202C_202E_206B_206B_206C_206E_200B_206F_200E_206F_202E_200D_200E_206C_206A_206E_200F_202E_202E(step))) ? (-1986449049) : (-1986449036)); + continue; + } + break; + } } - if (configuration.Duties.DutyModeOverrides.TryGetValue(cfcId, out var value)) + } + + IEnumerable ITaskFactory.CreateAllTasks(Questionable.Model.Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private EDutyMode GetEffectiveEDutyMode(uint cfcId, EDutyMode? registryDutyMode) + { + int num = ((!registryDutyMode.HasValue) ? (-1266283203) : (-1266283204)); + EDutyMode defaultDutyMode = default(EDutyMode); + EDutyMode value = default(EDutyMode); + while (true) { - return ConvertToAutoDutyMode(value); + int num2 = num; + int num3 = -1266283202; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + defaultDutyMode = configuration.Duties.DefaultDutyMode; + num = ((defaultDutyMode != EDutyMode.Support) ? (-1266283205) : (-1266283210)); + break; + case 2: + return registryDutyMode.Value; + case 1: + num = ((!IsSafelyOverleveled(cfcId)) ? (-1266283205) : (-1266283206)); + break; + case 3: + num = ((!configuration.Duties.DutyModeOverrides.TryGetValue(cfcId, out value)) ? (-1266283208) : (-1266283207)); + break; + case 0: + num = -1266283204; + break; + case 8: + num = ((!configuration.Duties.AutoUnsyncOverleveled) ? (-1266283205) : (-1266283201)); + break; + case 4: + _200F_206A_202D_206F_200C_202B_206D_206F_206D_206E_200B_200E_202A_206D_206A_206C_206A_202A_206A_200B_206F_200F_200D_206F_206E_206F_200F_206B_206F_202D_206C_206C_206F_202B_202B_202C_206F_202D_206A_202A_202E((ILogger)logger, global::_003CModule_003E._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(1793434316), new object[1] { cfcId }); + return EDutyMode.UnsyncSolo; + case 5: + return defaultDutyMode; + case 7: + return value; + } + } + } + + private unsafe bool IsSafelyOverleveled(uint cfcId) + { + TerritoryData.ContentFinderConditionData contentFinderConditionData; + int num = (territoryData.TryGetContentFinderCondition(cfcId, out contentFinderConditionData) ? 930630783 : 930630772); + int num7 = default(int); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + InventoryManager* ptr = default(InventoryManager*); + while (true) + { + int num2 = num; + int num3 = 930630776; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + { + IPlayerCharacter playerCharacter = _206C_202A_206B_202A_202A_206D_202A_200B_202A_200F_202A_200B_206F_200E_200F_206B_206A_206B_200C_206F_200F_202E_200E_202B_200F_200C_202B_200B_206A_202C_200C_202A_206F_202C_206A_202B_206E_200B_202B_202E(objectTable); + num7 = ((playerCharacter != null) ? _202A_206D_200D_202C_200D_202B_206F_206D_206C_206C_200D_206C_206A_202C_202D_200C_202C_200E_200B_202E_202C_206E_202D_200D_200E_202D_202A_200F_206B_206C_206A_206E_202E_206C_202B_202B_206D_200E_200F_206F_202E((ICharacter)playerCharacter) : 0) - contentFinderConditionData.ClassJobLevelSync; + num = ((num7 < 15) ? 930630782 : 930630774); + break; + } + case 7: + num = ((!contentFinderConditionData.IsDungeon) ? 930630768 : 930630780); + break; + case 10: + num = ((contentFinderConditionData.ClassJobLevelSync != 0) ? 930630777 : 930630768); + break; + case 3: + num = 930630772; + break; + case 6: + num = ((num7 >= 10) ? 930630773 : 930630769); + break; + case 14: + return true; + case 8: + return false; + case 4: + num = ((!contentFinderConditionData.AllowUndersized) ? 930630768 : 930630770); + break; + case 9: + return false; + case 11: + inventoryContainer = ptr->GetInventoryContainer(InventoryType.EquippedItems); + num = ((inventoryContainer != null) ? 930630781 : 930630776); + break; + case 2: + return false; + case 12: + return false; + case 0: + return false; + case 5: + return _202C_206C_202C_206D_206E_202B_206C_200F_206C_200C_200F_200C_200E_206A_206E_202B_202E_200F_200C_200B_206C_200F_202B_200D_200D_206B_200C_200D_206C_206A_202D_202E_202B_202B_202B_206E_200C_200D_202A_202B_202E(gearStatsCalculator, inventoryContainer) - contentFinderConditionData.RequiredItemLevel >= 100; + case 13: + ptr = InventoryManager.Instance(); + num = ((ptr != null) ? 930630771 : 930630778); + break; + } } - return ConvertToAutoDutyMode(configuration.Duties.DefaultDutyMode); } private static AutoDutyIpc.DutyMode ConvertToAutoDutyMode(EDutyMode mode) { - return mode switch + int num; + AutoDutyIpc.DutyMode result = default(AutoDutyIpc.DutyMode); + switch (mode) { - EDutyMode.Support => AutoDutyIpc.DutyMode.Support, - EDutyMode.UnsyncSolo => AutoDutyIpc.DutyMode.UnsyncRegular, - EDutyMode.UnsyncParty => AutoDutyIpc.DutyMode.UnsyncRegular, - _ => AutoDutyIpc.DutyMode.Support, - }; + default: + num = 1970716629; + goto IL_001d; + case EDutyMode.UnsyncParty: + result = AutoDutyIpc.DutyMode.UnsyncRegular; + num = 1970716626; + goto IL_001d; + case EDutyMode.UnsyncSolo: + goto IL_0077; + case EDutyMode.Support: + goto IL_0084; + IL_001d: + while (true) + { + int num2 = num; + int num3 = 1970716624; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + goto end_IL_001d; + case 5: + num = 1970716630; + break; + case 0: + num = 1970716629; + break; + case 3: + goto IL_0077; + case 4: + goto IL_0084; + case 6: + result = AutoDutyIpc.DutyMode.Support; + num = 1970716626; + break; + case 2: + return result; + } + continue; + end_IL_001d: + break; + } + goto case EDutyMode.UnsyncParty; + IL_0084: + result = AutoDutyIpc.DutyMode.Support; + num = 1970716626; + goto IL_001d; + IL_0077: + result = AutoDutyIpc.DutyMode.UnsyncRegular; + num = 1970716626; + goto IL_001d; + } } - private static AutoDutyIpc.DutyMode ConvertToAutoDutyMode(Configuration.EDutyMode mode) + static void _200F_206A_202D_206F_200C_202B_206D_206F_206D_206E_200B_200E_202A_206D_206A_206C_206A_202A_206A_200B_206F_200F_200D_206F_206E_206F_200F_206B_206F_202D_206C_206C_206F_202B_202B_202C_206F_202D_206A_202A_202E(ILogger P_0, string P_1, object[] P_2) { - return mode switch - { - Configuration.EDutyMode.Support => AutoDutyIpc.DutyMode.Support, - Configuration.EDutyMode.UnsyncSolo => AutoDutyIpc.DutyMode.UnsyncRegular, - Configuration.EDutyMode.UnsyncParty => AutoDutyIpc.DutyMode.UnsyncRegular, - _ => AutoDutyIpc.DutyMode.Support, - }; + P_0.LogInformation(P_1, P_2); + } + + static IPlayerCharacter _206C_202A_206B_202A_202A_206D_202A_200B_202A_200F_202A_200B_206F_200E_200F_206B_206A_206B_200C_206F_200F_202E_200E_202B_200F_200C_202B_200B_206A_202C_200C_202A_206F_202C_206A_202B_206E_200B_202B_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static byte _202A_206D_200D_202C_200D_202B_206F_206D_206C_206C_200D_206C_206A_202C_202D_200C_202C_200E_200B_202E_202C_206E_202D_200D_200E_202D_202A_200F_206B_206C_206A_206E_202E_206C_202B_202B_206D_200E_200F_206F_202E(ICharacter P_0) + { + return P_0.Level; + } + + unsafe static short _202C_206C_202C_206D_206E_202B_206C_200F_206C_200C_200F_200C_200E_206A_206E_202B_202E_200F_200C_200B_206C_200F_202B_200D_200D_206B_200C_200D_206C_206A_202D_202E_202B_202B_202B_206E_200C_200D_202A_202B_202E(GearStatsCalculator P_0, InventoryContainer* P_1) + { + return P_0.CalculateAverageItemLevel(P_1); } } internal sealed record WaitForPartyTask : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_200B_206B_206F_202A_202C_202B_202E_200D_202B_206B_202B_202D_206B_206D_202B_206E_200E_202E_206B_206F_206A_200D_202A_206C_206C_202B_200D_202A_202E_200E_200C_202A_206F_202D_206E_202E_202A_202C_206A_202E(typeof(WaitForPartyTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "WaitForParty"; + return global::_003CModule_003E._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(-91915822); + } + + [CompilerGenerated] + public bool Equals(WaitForPartyTask? other) + { + int num = (((object)this == other) ? 354214905 : 354214910); + while (true) + { + int num2 = num; + int num3 = 354214909; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 354214910; + break; + case 4: + return true; + case 1: + return _200B_200B_202B_200C_206D_202C_202A_202C_206C_202B_206E_206E_200C_206B_202E_206F_202A_206D_200B_200B_202E_206B_206E_206D_206D_202A_200F_206C_200E_206E_206A_206F_200D_202C_206E_202B_200E_202C_202B_200D_202E(EqualityContract, other.EqualityContract); + case 3: + num = (((object)other == null) ? 354214911 : 354214908); + break; + case 2: + return false; + } + } + } + + bool IEquatable.Equals(WaitForPartyTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206A_200B_206B_206F_202A_202C_202B_202E_200D_202B_206B_202B_202D_206B_206D_202B_206E_200E_202E_206B_206F_206A_200D_202A_206C_206C_202B_200D_202A_202E_200E_200C_202A_206F_202D_206E_202E_202A_202C_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _200B_200B_202B_200C_206D_202C_202A_202C_206C_202B_206E_206E_200C_206B_202E_206F_202A_206D_200B_200B_202E_206B_206E_206D_206D_202A_200F_206C_200E_206E_206A_206F_200D_202C_206E_202B_200E_202C_202B_200D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class WaitForPartyExecutor(IChatGui chatGui, ILogger logger) : TaskExecutor() { - private DateTime _lastWarningTime = DateTime.MinValue; + private long _warnNextMs; + private long _startMs; + + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - logger.LogInformation("Waiting for party members before starting duty..."); + _206C_206A_202B_202A_202E_202C_202A_202E_206F_202B_206F_202E_202D_202D_200F_200B_200D_200D_202D_202A_200F_202B_202E_206B_202D_200C_206F_200E_200B_202D_202B_206A_200C_206E_206E_200D_202C_202E_202C_206A_202E((ILogger)logger, global::_003CModule_003E._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(-48268655), Array.Empty()); + _startMs = _200D_200F_200E_206A_206F_200C_200B_202D_202B_206F_200F_200C_206F_202E_200B_206A_206D_206F_200F_202D_202E_202E_202D_202E_202C_202E_200F_202A_200E_202D_206A_206C_206E_202A_206B_206A_206B_200E_202B_200C_202E(); return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe override ETaskResult Update() { GroupManager* ptr = GroupManager.Instance(); - if (ptr == null) + int num = ((ptr != null) ? (-782293747) : (-782293748)); + long num6 = default(long); + byte memberCount = default(byte); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = -782293752; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = -782293748; + break; + case 3: + num = ((num6 < _warnNextMs) ? (-782293760) : (-782293752)); + break; + case 7: + _202D_200E_202B_202E_200B_200F_202D_200E_200D_200C_206F_200C_200E_206C_202C_206D_202B_206B_206C_206D_200C_202B_200D_202A_202D_200D_200D_206B_202C_200D_202C_202A_202A_206D_200E_200F_206D_200F_200E_206F_202E((ILogger)logger, global::_003CModule_003E._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(923058086), Array.Empty()); + _206D_200D_200B_202E_200C_202C_206F_200C_202E_200C_202C_200E_202C_206C_202C_206D_206C_206E_206D_202A_202A_202E_206B_200F_206B_206B_202B_200F_206B_206F_202A_206D_206D_202D_206C_200E_206A_206C_202B_202A_202E(chatGui, global::_003CModule_003E._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(-323748972), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + return ETaskResult.End; + case 5: + { + memberCount = ptr->MainGroup.MemberCount; + bool isAlliance = ptr->MainGroup.IsAlliance; + bool num12 = memberCount > 1; + num3 = (isAlliance ? 1 : 0); + num4 = (num12 ? 1 : 0); + num = ((num4 + num3 - (num4 & num3) == 0) ? (-782293751) : (-782293750)); + break; + } + case 8: + return ETaskResult.StillRunning; + case 1: + { + num6 = _200D_200F_200E_206A_206F_200C_200B_202D_202B_206F_200F_200C_206F_202E_200B_206A_206D_206F_200F_202D_202E_202E_202D_202E_202C_202E_200F_202A_200E_202D_206A_206C_206E_202A_206B_206A_206B_200E_202B_200C_202E(); + long num11 = num6; + long num7 = _startMs; + long num8 = num11; + num = ((~(~num8 + num7) <= 300000) ? (-782293749) : (-782293745)); + break; + } + case 4: + return ETaskResult.StillRunning; + case 0: + { + _206D_202B_206E_206C_206F_202C_206E_202C_206C_202A_206A_206F_206D_202C_206C_202D_202E_206E_200E_202C_206E_200E_206B_200B_200E_202A_200E_200F_206F_206F_200B_202A_206D_202B_202E_200D_200C_206C_200B_200D_202E(chatGui, global::_003CModule_003E._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(1726719131), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + long num5 = num6; + long num7 = 10000L; + long num8 = num5; + long num9 = num8 ^ num7; + long num10 = num8 & num7; + _warnNextMs = num9 + (num10 + num10); + num = -782293760; + break; + } + case 2: + _206C_206A_202B_202A_202E_202C_202A_202E_206F_202B_206F_202E_202D_202D_200F_200B_200D_200D_202D_202A_200F_202B_202E_206B_202D_200C_206F_200E_200B_202D_202B_206A_200C_206E_206E_200D_202C_202E_202C_206A_202E((ILogger)logger, global::_003CModule_003E._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(-2115626228), new object[1] { memberCount }); + return ETaskResult.TaskComplete; + } } - byte memberCount = ptr->MainGroup.MemberCount; - bool isAlliance = ptr->MainGroup.IsAlliance; - if (memberCount > 1 || isAlliance) - { - logger.LogInformation("Party detected with {MemberCount} members, proceeding with duty", memberCount); - return ETaskResult.TaskComplete; - } - if (DateTime.Now - _lastWarningTime > TimeSpan.FromSeconds(10L)) - { - chatGui.Print("[Questionable] Waiting for party members before starting duty (Unsync Party mode)...", "Questionable", 576); - _lastWarningTime = DateTime.Now; - } - return ETaskResult.StillRunning; } public override bool ShouldInterruptOnDamage() { return false; } + + static void _206C_206A_202B_202A_202E_202C_202A_202E_206F_202B_206F_202E_202D_202D_200F_200B_200D_200D_202D_202A_200F_202B_202E_206B_202D_200C_206F_200E_200B_202D_202B_206A_200C_206E_206E_200D_202C_202E_202C_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static long _200D_200F_200E_206A_206F_200C_200B_202D_202B_206F_200F_200C_206F_202E_200B_206A_206D_206F_200F_202D_202E_202E_202D_202E_202C_202E_200F_202A_200E_202D_206A_206C_206E_202A_206B_206A_206B_200E_202B_200C_202E() + { + return Environment.TickCount64; + } + + static void _202D_200E_202B_202E_200B_200F_202D_200E_200D_200C_206F_200C_200E_206C_202C_206D_202B_206B_206C_206D_200C_202B_200D_202A_202D_200D_200D_206B_202C_200D_202C_202A_202A_206D_200E_200F_206D_200F_200E_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static void _206D_200D_200B_202E_200C_202C_206F_200C_202E_200C_202C_200E_202C_206C_202C_206D_206C_206E_206D_202A_202A_202E_206B_200F_206B_206B_202B_200F_206B_206F_202A_206D_206D_202D_206C_200E_206A_206C_202B_202A_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static void _206D_202B_206E_206C_206F_202C_206E_202C_206C_202A_206A_206F_206D_202C_206C_202D_202E_206E_200E_202C_206E_200E_206B_200B_200E_202A_200E_200F_206F_206F_200B_202A_206D_202B_202E_200D_200C_206C_200B_200D_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } } internal sealed record StartAutoDutyTask(uint ContentFinderConditionId, AutoDutyIpc.DutyMode DutyMode) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200E_206F_200B_200D_200B_206C_202C_202A_200E_202B_206A_200E_206A_202C_200B_200C_206B_206F_206C_200F_200B_200D_202C_202A_200D_202D_200B_206E_206E_200F_206F_206D_200E_202E_202B_200B_202A_200B_202A_200C_202E(typeof(StartAutoDutyTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"StartAutoDuty({ContentFinderConditionId}, {DutyMode})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(17, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2068222385)); + defaultInterpolatedStringHandler.AppendFormatted(ContentFinderConditionId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1087086507)); + defaultInterpolatedStringHandler.AppendFormatted(DutyMode); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1618480346)); + return defaultInterpolatedStringHandler.ToStringAndClear(); } - } - internal sealed class StartAutoDutyExecutor(GearStatsCalculator gearStatsCalculator, AutoDutyIpc autoDutyIpc, TerritoryData territoryData, IClientState clientState, IChatGui chatGui, SendNotification.Executor sendNotificationExecutor) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor - { - protected unsafe override bool Start() + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) { - if (!territoryData.TryGetContentFinderCondition(base.Task.ContentFinderConditionId, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) - { - throw new TaskException("Failed to get territory ID for content finder condition"); - } - if (base.Task.DutyMode != AutoDutyIpc.DutyMode.UnsyncRegular) - { - InventoryManager* intPtr = InventoryManager.Instance(); - if (intPtr == null) - { - throw new TaskException("Inventory unavailable"); - } - InventoryContainer* inventoryContainer = intPtr->GetInventoryContainer(InventoryType.EquippedItems); - if (inventoryContainer == null) - { - throw new TaskException("Equipped items unavailable"); - } - short num = gearStatsCalculator.CalculateAverageItemLevel(inventoryContainer); - if (contentFinderConditionData.RequiredItemLevel > num) - { - string text = $"Could not use AutoDuty to queue for {contentFinderConditionData.Name}, required item level: {contentFinderConditionData.RequiredItemLevel}, current item level: {num}."; - if (!sendNotificationExecutor.Start(new SendNotification.Task(EInteractionType.Duty, text))) - { - chatGui.PrintError(text, "Questionable", 576); - } - return false; - } - } - autoDutyIpc.StartInstance(base.Task.ContentFinderConditionId, base.Task.DutyMode); + _200E_206E_202E_202E_200F_202A_206B_202C_206C_202E_200F_200C_200B_200C_206A_206B_206D_200D_200C_200C_202B_200C_202E_202E_202C_202D_200C_206A_202A_202D_202E_206D_206C_202E_200B_200B_206B_200E_202A_202E_202E(); + _202C_202B_206F_202E_202A_202C_200B_206C_202D_202D_202D_206D_206E_206C_200B_200B_206F_200B_200D_206F_206D_206B_206A_202B_206D_206A_200E_202B_206A_206A_202E_206D_200F_206A_202A_200D_202E_202B_200C_200F_202E(builder, global::_003CModule_003E._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(-532733746)); + _202C_202B_206F_202E_202A_202C_200B_206C_202D_202D_202D_206D_206E_206C_200B_200B_206F_200B_200D_206F_206D_206B_206A_202B_206D_206A_200E_202B_206A_206A_202E_206D_200F_206A_202A_200D_202E_202B_200C_200F_202E(builder, ContentFinderConditionId.ToString()); + _202C_202B_206F_202E_202A_202C_200B_206C_202D_202D_202D_206D_206E_206C_200B_200B_206F_200B_200D_206F_206D_206B_206A_202B_206D_206A_200E_202B_206A_206A_202E_206D_200F_206A_202A_200D_202E_202B_200C_200F_202E(builder, global::_003CModule_003E._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(-1559637926)); + _202C_202B_206F_202E_202A_202C_200B_206C_202D_202D_202D_206D_206E_206C_200B_200B_206F_200B_200D_206F_206D_206B_206A_202B_206D_206A_200E_202B_206A_206A_202E_206D_200F_206A_202A_200D_202E_202B_200C_200F_202E(builder, DutyMode.ToString()); return true; } + [CompilerGenerated] + public bool Equals(StartAutoDutyTask? other) + { + int num = (((object)this == other) ? 1503405605 : 1503405604); + while (true) + { + int num2 = num; + int num3 = 1503405605; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = 1503405604; + break; + case 6: + num = ((!EqualityComparer.Default.Equals(ContentFinderConditionId, other.ContentFinderConditionId)) ? 1503405601 : 1503405606); + break; + case 3: + return EqualityComparer.Default.Equals(DutyMode, other.DutyMode); + case 1: + num = (((object)other == null) ? 1503405601 : 1503405607); + break; + case 0: + return true; + case 4: + return false; + case 2: + num = ((!_206F_200D_206A_206D_200D_206B_206D_202E_202C_202B_206A_202A_202C_206D_200D_206B_202D_200C_202D_202C_202C_200D_206F_206B_206F_202E_200C_200E_206D_200E_206C_206E_206D_202E_202D_202E_206E_200B_202C_202E(EqualityContract, other.EqualityContract)) ? 1503405601 : 1503405603); + break; + } + } + } + + bool IEquatable.Equals(StartAutoDutyTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200E_206F_200B_200D_200B_206C_202C_202A_200E_202B_206A_200E_206A_202C_200B_200C_206B_206F_206C_200F_200B_200D_202C_202A_200D_202D_200B_206E_206E_200F_206F_206D_200E_202E_202B_200B_202A_200B_202A_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200E_206E_202E_202E_200F_202A_206B_202C_206C_202E_200F_200C_200B_200C_206A_206B_206D_200D_200C_200C_202B_200C_202E_202E_202C_202D_200C_206A_202A_202D_202E_206D_206C_202E_200B_200B_206B_200E_202A_202E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202C_202B_206F_202E_202A_202C_200B_206C_202D_202D_202D_206D_206E_206C_200B_200B_206F_200B_200D_206F_206D_206B_206A_202B_206D_206A_200E_202B_206A_206A_202E_206D_200F_206A_202A_200D_202E_202B_200C_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _206F_200D_206A_206D_200D_206B_206D_202E_202C_202B_206A_202A_202C_206D_200D_206B_202D_200C_202D_202C_202C_200D_206F_206B_206F_202E_200C_200E_206D_200E_206C_206E_206D_202E_202D_202E_206E_200B_202C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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; + + [MethodImpl(MethodImplOptions.NoInlining)] + protected unsafe override bool Start() + { + TerritoryData.ContentFinderConditionData contentFinderConditionData; + int num = (territoryData.TryGetContentFinderCondition(base.Task.ContentFinderConditionId, out contentFinderConditionData) ? (-980640286) : (-980640288)); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + short num7 = default(short); + string text = default(string); + while (true) + { + int num2 = num; + int num3 = -980640281; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -980640288; + break; + case 2: + { + InventoryManager* intPtr = InventoryManager.Instance(); + if (intPtr == null) + { + throw new TaskException(global::_003CModule_003E._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(-1365738455)); + } + inventoryContainer = intPtr->GetInventoryContainer(InventoryType.EquippedItems); + num = ((inventoryContainer != null) ? (-980640274) : (-980640284)); + break; + } + case 1: + return false; + case 4: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(82, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(379247300)); + defaultInterpolatedStringHandler.AppendFormatted(contentFinderConditionData.Name); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-314153188)); + defaultInterpolatedStringHandler.AppendFormatted(contentFinderConditionData.RequiredItemLevel); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-205350481)); + defaultInterpolatedStringHandler.AppendFormatted(num7); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-978038014)); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + num = (sendNotificationExecutor.Start(new SendNotification.Task(EInteractionType.Duty, text)) ? (-980640282) : (-980640287)); + break; + } + case 8: + autoDutyIpc.StartInstance(base.Task.ContentFinderConditionId, base.Task.DutyMode); + _startMs = _206C_202E_206F_200F_206B_200E_206E_200C_206A_206E_202B_206D_202D_202D_200E_202A_206E_200F_200D_202A_206F_202B_200C_202B_206B_206F_206E_200E_200E_202A_200B_206B_202D_206A_206E_200D_200B_200B_206F_202A_202E(); + return true; + case 9: + num7 = _200F_202A_202B_206D_206A_206D_206C_200C_200F_202E_202B_200E_200E_206C_206F_200C_202D_200B_200D_206F_206C_202D_202E_206E_200F_200B_206A_206A_202A_206E_200D_200D_206D_200F_200E_200D_202B_202B_206F_206B_202E(gearStatsCalculator, inventoryContainer); + num = ((contentFinderConditionData.RequiredItemLevel <= num7) ? (-980640273) : (-980640285)); + break; + case 7: + throw new TaskException(global::_003CModule_003E._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(-474694589)); + case 6: + _206A_206D_200B_206F_206D_200E_202A_200C_202C_202E_202A_206D_200D_206E_202D_206D_202D_202B_200F_202A_206D_200C_202A_200E_206D_202A_200E_200E_202D_202B_206A_200C_202C_200C_200B_202A_202E_206F_206F_202A_202E(chatGui, text, global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + num = -980640282; + break; + case 5: + num = ((base.Task.DutyMode == AutoDutyIpc.DutyMode.UnsyncRegular) ? (-980640273) : (-980640283)); + break; + case 3: + throw new TaskException(global::_003CModule_003E._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(1709557218)); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - if (!territoryData.TryGetContentFinderCondition(base.Task.ContentFinderConditionId, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) + TerritoryData.ContentFinderConditionData contentFinderConditionData; + int num = (territoryData.TryGetContentFinderCondition(base.Task.ContentFinderConditionId, out contentFinderConditionData) ? (-2114723665) : (-2114723668)); + while (true) { - throw new TaskException("Failed to get territory ID for content finder condition"); + int num2 = num; + int num3 = -2114723665; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + num = ((_206C_202E_206F_200F_206B_200E_206E_200C_206A_206E_202B_206D_202D_202D_200E_202A_206E_200F_200D_202A_206F_202B_200C_202B_206B_206F_206E_200E_200E_202A_200B_206B_202D_206A_206E_200D_200B_200B_206F_202A_202E() - _startMs >= 10000) ? (-2114723669) : (-2114723667)); + break; + case 1: + return ETaskResult.TaskComplete; + case 3: + throw new TaskException(global::_003CModule_003E._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(502048434)); + case 7: + return ETaskResult.StillRunning; + case 6: + num = -2114723668; + break; + case 0: + num = ((_202B_202E_200B_200D_202E_206F_202E_200F_200B_206F_206B_202A_206C_202B_200B_206C_202E_206B_206B_200D_202D_202E_206F_206A_206F_200F_206F_202B_206A_202C_206B_200C_206B_202A_200F_202C_200C_206F_206D_200D_202E(clientState) != contentFinderConditionData.TerritoryId) ? (-2114723670) : (-2114723666)); + break; + case 2: + return ETaskResult.StillRunning; + case 5: + num = (autoDutyIpc.IsStopped() ? (-2114723673) : (-2114723672)); + break; + case 4: + _206D_206E_202E_202B_202E_206D_200E_200D_206E_200B_200C_200E_206F_206F_202E_206B_206C_202A_206A_202B_206E_206E_202D_202D_202E_206A_200E_202C_200E_200E_206D_202E_206C_202D_206E_202C_206B_200F_206F_202B_202E((ILogger)logger, global::_003CModule_003E._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(1754806661), new object[1] { base.Task.ContentFinderConditionId }); + _206A_206D_200B_206F_206D_200E_202A_200C_202C_202E_202A_206D_200D_206E_202D_206D_202D_202B_200F_202A_206D_200C_202A_200E_206D_202A_200E_200E_202D_202B_206A_200C_202C_200C_200B_202A_202E_206F_206F_202A_202E(chatGui, global::_003CModule_003E._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(170724657), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + return ETaskResult.End; + } } - if (clientState.TerritoryType != contentFinderConditionData.TerritoryId) - { - return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; } public void StopNow() @@ -191,38 +1156,205 @@ internal static class Duty autoDutyIpc.Stop(); } + void IStoppableTaskExecutor.StopNow() + { + //ILSpy generated this explicit interface implementation from .override directive in StopNow + this.StopNow(); + } + public override bool ShouldInterruptOnDamage() { return false; } + + unsafe static short _200F_202A_202B_206D_206A_206D_206C_200C_200F_202E_202B_200E_200E_206C_206F_200C_202D_200B_200D_206F_206C_202D_202E_206E_200F_200B_206A_206A_202A_206E_200D_200D_206D_200F_200E_200D_202B_202B_206F_206B_202E(GearStatsCalculator P_0, InventoryContainer* P_1) + { + return P_0.CalculateAverageItemLevel(P_1); + } + + static void _206A_206D_200B_206F_206D_200E_202A_200C_202C_202E_202A_206D_200D_206E_202D_206D_202D_202B_200F_202A_206D_200C_202A_200E_206D_202A_200E_200E_202D_202B_206A_200C_202C_200C_200B_202A_202E_206F_206F_202A_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static long _206C_202E_206F_200F_206B_200E_206E_200C_206A_206E_202B_206D_202D_202D_200E_202A_206E_200F_200D_202A_206F_202B_200C_202B_206B_206F_206E_200E_200E_202A_200B_206B_202D_206A_206E_200D_200B_200B_206F_202A_202E() + { + return Environment.TickCount64; + } + + static uint _202B_202E_200B_200D_202E_206F_202E_200F_200B_206F_206B_202A_206C_202B_200B_206C_202E_206B_206B_200D_202D_202E_206F_206A_206F_200F_206F_202B_206A_202C_206B_200C_206B_202A_200F_202C_200C_206F_206D_200D_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static void _206D_206E_202E_202B_202E_206D_200E_200D_206E_200B_200C_200E_206F_206F_202E_206B_206C_202A_206A_202B_206E_206E_202D_202D_202E_206A_200E_202C_200E_200E_206D_202E_206C_202D_206E_202C_206B_200F_206F_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } } internal sealed record WaitAutoDutyTask(uint ContentFinderConditionId) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_202C_206C_206B_206C_206F_206D_202B_206F_206F_202E_202A_200F_206E_202D_206B_202C_200C_206F_206A_200B_206E_200B_206F_202A_200D_200E_206C_206B_200F_202C_200E_202A_200B_200C_200C_206A_206B_202C_202B_202E(typeof(WaitAutoDutyTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Wait(AutoDuty, left instance {ContentFinderConditionId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(30, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2064501432)); + defaultInterpolatedStringHandler.AppendFormatted(ContentFinderConditionId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1618480346)); + return defaultInterpolatedStringHandler.ToStringAndClear(); } - } - internal sealed class WaitAutoDutyExecutor(AutoDutyIpc autoDutyIpc, TerritoryData territoryData, IClientState clientState) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor - { - protected override bool Start() + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) { + _200C_202D_206B_206E_206D_206C_202C_206A_202C_206A_206F_202A_200F_206C_202D_202E_200C_206E_206A_206A_202A_202C_200B_206E_200E_200F_200F_200D_200C_206E_206A_202C_206C_202D_200D_206E_202A_202A_206D_202D_202E(); + _200E_200B_206F_202C_206C_206C_202D_202D_202D_200F_206F_206E_206A_202A_200F_206B_202B_200B_200F_202B_200F_206A_200E_202B_206D_206F_202B_202E_206B_200F_206F_206E_202E_202A_200E_202D_206C_206F_202B_200F_202E(builder, global::_003CModule_003E._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(-374667389)); + _200E_200B_206F_202C_206C_206C_202D_202D_202D_200F_206F_206E_206A_202A_200F_206B_202B_200B_200F_202B_200F_206A_200E_202B_206D_206F_202B_202E_206B_200F_206F_206E_202E_202A_200E_202D_206C_206F_202B_200F_202E(builder, ContentFinderConditionId.ToString()); return true; } + [CompilerGenerated] + public bool Equals(WaitAutoDutyTask? other) + { + int num = (((object)this == other) ? 1302345077 : 1302345076); + while (true) + { + int num2 = num; + int num3 = 1302345078; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 2: + num = (((object)other == null) ? 1302345079 : 1302345074); + break; + case 5: + return EqualityComparer.Default.Equals(ContentFinderConditionId, other.ContentFinderConditionId); + case 3: + return true; + case 0: + num = 1302345076; + break; + case 4: + num = ((!_200E_206C_202B_202C_200B_206A_200E_202C_200D_200D_202A_206B_206D_200E_206A_202B_206D_200B_202E_200F_200C_200E_202C_202B_200F_200E_206E_202D_206D_200F_200C_202C_206B_206E_200F_202A_202C_206B_206C_202A_202E(EqualityContract, other.EqualityContract)) ? 1302345079 : 1302345075); + break; + } + } + } + + bool IEquatable.Equals(WaitAutoDutyTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202E_202C_206C_206B_206C_206F_206D_202B_206F_206F_202E_202A_200F_206E_202D_206B_202C_200C_206F_206A_200B_206E_200B_206F_202A_200D_200E_206C_206B_200F_202C_200E_202A_200B_200C_200C_206A_206B_202C_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200C_202D_206B_206E_206D_206C_202C_206A_202C_206A_206F_202A_200F_206C_202D_202E_200C_206E_206A_206A_202A_202C_200B_206E_200E_200F_200F_200D_200C_206E_206A_202C_206C_202D_200D_206E_202A_202A_206D_202D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200E_200B_206F_202C_206C_206C_202D_202D_202D_200F_206F_206E_206A_202A_200F_206B_202B_200B_200F_202B_200F_206A_200E_202B_206D_206F_202B_202E_206B_200F_206F_206E_202E_202A_200E_202D_206C_206F_202B_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200E_206C_202B_202C_200B_206A_200E_202C_200D_200D_202A_206B_206D_200E_206A_202B_206D_200B_202E_200F_200C_200E_202C_202B_200F_200E_206E_202D_206D_200F_200C_202C_206B_206E_200F_202A_202C_206B_206C_202A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - if (!territoryData.TryGetContentFinderCondition(base.Task.ContentFinderConditionId, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) + TerritoryData.ContentFinderConditionData contentFinderConditionData; + int num = (territoryData.TryGetContentFinderCondition(base.Task.ContentFinderConditionId, out contentFinderConditionData) ? 587590587 : 587590588); + long num6 = default(long); + bool flag = default(bool); + while (true) { - throw new TaskException("Failed to get territory ID for content finder condition"); + int num2 = num; + int num3 = 587590583; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + _stoppedInsideMs = num6; + num = 587590590; + break; + case 6: + num = ((!autoDutyIpc.IsStopped()) ? 587590589 : 587590582); + break; + case 4: + return ETaskResult.StillRunning; + case 11: + throw new TaskException(global::_003CModule_003E._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(-474694589)); + case 12: + flag = _202A_206A_202A_206E_200F_202E_202B_206B_202A_206A_206B_206A_206E_206C_206F_206A_202C_206E_200F_202D_206A_206A_202A_200D_202D_200C_202B_206F_200B_206B_200B_202E_200C_200B_200B_206A_200F_202E_206A_202D_202E(clientState) != contentFinderConditionData.TerritoryId; + num = ((!flag) ? 587590589 : 587590577); + break; + case 9: + { + long num5 = num6; + long stoppedInsideMs = _stoppedInsideMs; + long num7 = num5; + num = ((~(~num7 + stoppedInsideMs) <= 60000) ? 587590579 : 587590583); + break; + } + case 1: + notificationService.Notify(EInteractionType.Duty, _202E_206A_200E_202E_202D_200D_200C_206E_206B_202C_200E_202B_206D_202D_206A_202E_202C_206D_200E_206C_200E_202D_206F_202B_202C_206E_200C_200E_200B_202D_200B_206D_202A_202E_200C_200C_200F_206F_200C_206C_202E(global::_003CModule_003E._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(-310659385), contentFinderConditionData.Name)); + return ETaskResult.TaskComplete; + case 10: + num = (flag ? 587590580 : 587590576); + break; + case 2: + num6 = _200F_206C_200D_200E_200B_200C_206D_202D_206B_206A_206C_200C_200F_206F_206F_202E_200B_200E_206B_202D_200C_206C_202A_202C_206A_202D_206B_200D_200D_200D_202B_206E_206E_202D_200B_206C_206C_202E_202C_202E(); + num = ((_stoppedInsideMs >= 0) ? 587590590 : 587590578); + break; + case 7: + num = ((!autoDutyIpc.IsStopped()) ? 587590580 : 587590581); + break; + case 0: + _206E_206F_202A_202E_206A_202A_200C_202B_202C_206F_206F_200C_202B_202E_202A_200D_200C_202A_206C_200D_200E_200C_202D_206E_202C_200E_200D_200B_202E_202D_200D_202A_200B_200C_200B_206A_206C_202D_202B_206B_202E((ILogger)logger, global::_003CModule_003E._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(2033898559), new object[1] { base.Task.ContentFinderConditionId }); + _200B_200F_200F_202B_202A_206E_206E_202B_202C_202D_206C_202A_202A_206D_206E_202E_206B_200F_206C_200C_200E_202B_200E_200D_202C_200E_202C_200D_200C_206C_206A_206C_206B_206F_200E_200C_200C_200C_202B_202E_202E(chatGui, global::_003CModule_003E._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(623741352), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + return ETaskResult.End; + case 3: + _stoppedInsideMs = -1L; + num = 587590579; + break; + case 8: + num = 587590588; + break; + } } - if (clientState.TerritoryType == contentFinderConditionData.TerritoryId || !autoDutyIpc.IsStopped()) - { - return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; } public void StopNow() @@ -230,17 +1362,131 @@ internal static class Duty autoDutyIpc.Stop(); } + void IStoppableTaskExecutor.StopNow() + { + //ILSpy generated this explicit interface implementation from .override directive in StopNow + this.StopNow(); + } + public override bool ShouldInterruptOnDamage() { return false; } + + static uint _202A_206A_202A_206E_200F_202E_202B_206B_202A_206A_206B_206A_206E_206C_206F_206A_202C_206E_200F_202D_206A_206A_202A_200D_202D_200C_202B_206F_200B_206B_200B_202E_200C_200B_200B_206A_200F_202E_206A_202D_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static string _202E_206A_200E_202E_202D_200D_200C_206E_206B_202C_200E_202B_206D_202D_206A_202E_202C_206D_200E_206C_200E_202D_206F_202B_202C_206E_200C_200E_200B_202D_200B_206D_202A_202E_200C_200C_200F_206F_200C_206C_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static long _200F_206C_200D_200E_200B_200C_206D_202D_206B_206A_206C_200C_200F_206F_206F_202E_200B_200E_206B_202D_200C_206C_202A_202C_206A_202D_206B_200D_200D_200D_202B_206E_206E_202D_200B_206C_206C_202E_202C_202E() + { + return Environment.TickCount64; + } + + static void _206E_206F_202A_202E_206A_202A_200C_202B_202C_206F_206F_200C_202B_202E_202A_200D_200C_202A_206C_200D_200E_200C_202D_206E_202C_200E_200D_200B_202E_202D_200D_202A_200B_200C_200B_206A_206C_202D_202B_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static void _200B_200F_200F_202B_202A_206E_206E_202B_202C_202D_206C_202A_202A_206D_206E_202E_206B_200F_206C_200C_200E_202B_200E_200D_202C_200E_202C_200D_200C_206C_206A_206C_206B_206F_200E_200C_200C_200C_202B_202E_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } } internal sealed record OpenDutyFinderTask(uint ContentFinderConditionId) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206F_206F_202D_206E_206C_206E_206B_206C_206B_202A_202E_202E_206F_206D_206D_202E_202C_202C_206E_206B_202A_202C_200E_200E_202C_202B_202C_206E_202B_206E_202A_206C_206B_202B_200D_202E_206E_206E_206E_206F_202E(typeof(OpenDutyFinderTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"OpenDutyFinder({ContentFinderConditionId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(16, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(806915853)); + defaultInterpolatedStringHandler.AppendFormatted(ContentFinderConditionId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202C_206E_206C_206E_206E_206B_206E_206C_206B_202C_202D_206C_206D_202B_206C_206E_202C_200E_202B_202A_202E_206E_200C_206A_200C_206A_200C_206F_206C_202B_200F_202D_206F_202D_202E_200F_202A_206B_206B_202E_202E(); + _200E_206F_206C_200B_200B_200C_202E_202C_200F_202D_206A_202C_202B_206F_202C_206E_200B_202B_200E_202A_202C_202C_202C_206F_206A_200C_206E_200C_202A_206F_202D_206E_206D_200D_202E_200D_200E_202B_200B_206D_202E(builder, global::_003CModule_003E._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(-532733746)); + _200E_206F_206C_200B_200B_200C_202E_202C_200F_202D_206A_202C_202B_206F_202C_206E_200B_202B_200E_202A_202C_202C_202C_206F_206A_200C_206E_200C_202A_206F_202D_206E_206D_200D_202E_200D_200E_202B_200B_206D_202E(builder, ContentFinderConditionId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(OpenDutyFinderTask? other) + { + int num = (((object)this == other) ? (-235260412) : (-235260415)); + while (true) + { + int num2 = num; + int num3 = -235260416; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return true; + case 2: + return EqualityComparer.Default.Equals(ContentFinderConditionId, other.ContentFinderConditionId); + case 1: + num = (((object)other == null) ? (-235260413) : (-235260411)); + break; + case 3: + return false; + case 5: + num = ((!_200B_200F_202A_206B_206B_206D_202C_202B_200D_200C_202B_200E_206D_200C_202E_202B_202E_200C_202E_206A_200D_206C_206D_202B_200E_206D_200D_202E_200F_206A_206A_202C_206E_202D_200E_206C_206F_206B_202A_202E(EqualityContract, other.EqualityContract)) ? (-235260413) : (-235260414)); + break; + case 0: + num = -235260415; + break; + } + } + } + + bool IEquatable.Equals(OpenDutyFinderTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206F_206F_202D_206E_206C_206E_206B_206C_206B_202A_202E_202E_206F_206D_206D_202E_202C_202C_206E_206B_202A_202C_200E_200E_202C_202B_202C_206E_202B_206E_202A_206C_206B_202B_200D_202E_206E_206E_206E_206F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202C_206E_206C_206E_206E_206B_206E_206C_206B_202C_202D_206C_206D_202B_206C_206E_202C_200E_202B_202A_202E_206E_200C_206A_200C_206A_200C_206F_206C_202B_200F_202D_206F_202D_202E_200F_202A_206B_206B_202E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200E_206F_206C_200B_200B_200C_202E_202C_200F_202D_206A_202C_202B_206F_202C_206E_200B_202B_200E_202A_202C_202C_202C_206F_206A_200C_206E_200C_202A_206F_202D_206E_206D_200D_202E_200D_200E_202B_200B_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200B_200F_202A_206B_206B_206D_202C_202B_200D_200C_202B_200E_206D_200C_202E_202B_202E_200C_202E_206A_200D_206C_206D_202B_200E_206D_200D_202E_200F_206A_206A_202C_206E_202D_200E_206C_206F_206B_202A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -248,11 +1494,378 @@ internal static class Duty { protected override bool Start() { - if (condition[ConditionFlag.InDutyQueue]) + int num = ((!_206E_202C_206F_202D_206E_206B_202A_206D_202D_200E_202E_206A_200B_200B_200C_200C_206F_206A_200F_200C_202E_200F_206A_200B_206B_202E_206D_206C_202D_202E_206A_206A_206A_200F_202A_206E_202C_206D_202B_206E_202E(condition, ConditionFlag.InDutyQueue)) ? 28080166 : 28080167); + while (true) { - return false; + int num2 = num; + int num3 = 28080166; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004d; + case 1: + return false; + case 0: + gameFunctions.OpenDutyFinder(base.Task.ContentFinderConditionId); + return true; + } + continue; + IL_004d: + num = 28080167; } - gameFunctions.OpenDutyFinder(base.Task.ContentFinderConditionId); + } + + public override ETaskResult Update() + { + return ETaskResult.TaskComplete; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static bool _206E_202C_206F_202D_206E_206B_202A_206D_202D_200E_202E_206A_200B_200B_200C_200C_206F_206A_200F_200C_202E_200F_206A_200B_206B_202E_206D_206C_202D_202E_206A_206A_206A_200F_202A_206E_202C_206D_202B_206E_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + } + + internal sealed record EnableBossModForDutyTask : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_200F_206D_206B_206D_200D_200C_200E_206F_200E_202B_202A_206F_206C_200F_200D_202D_200F_200E_202A_206D_202A_206B_206F_200E_200F_206D_202D_200D_202E_206C_206E_206E_206F_202A_200C_200E_200F_206E_206D_202E(typeof(EnableBossModForDutyTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + return global::_003CModule_003E._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(1257245001); + } + + [CompilerGenerated] + public bool Equals(EnableBossModForDutyTask? other) + { + int num = (((object)this == other) ? 1984746115 : 1984746114); + while (true) + { + int num2 = num; + int num3 = 1984746112; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 1984746114; + break; + case 1: + return _200C_206F_206B_206A_202D_200D_200E_200D_202C_202B_200D_200E_206C_206F_206D_202E_200F_202E_202D_206C_200E_200D_200C_202D_202E_202D_200C_206D_202C_206A_202D_202A_206E_200D_206C_206E_202C_206D_206E_206B_202E(EqualityContract, other.EqualityContract); + case 3: + return true; + case 0: + return false; + case 2: + num = (((object)other == null) ? 1984746112 : 1984746113); + break; + } + } + } + + bool IEquatable.Equals(EnableBossModForDutyTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_200F_206D_206B_206D_200D_200C_200E_206F_200E_202B_202A_206F_206C_200F_200D_202D_200F_200E_202A_206D_202A_206B_206F_200E_200F_206D_202D_200D_202E_206C_206E_206E_206F_202A_200C_200E_200F_206E_206D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _200C_206F_206B_206A_202D_200D_200E_200D_202C_202B_200D_200E_206C_206F_206D_202E_200F_202E_202D_206C_200E_200D_200C_202D_202E_202D_200C_206D_202C_206A_202D_202A_206E_200D_206C_206E_202C_206D_206E_206B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + internal sealed class EnableBossModForDutyExecutor(BossModIpc bossModIpc, IObjectTable objectTable, ILogger logger) : TaskExecutor() + { + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + bossModIpc.EnableAi(BossModIpc.EPreset.Active); + IPlayerCharacter playerCharacter = _202E_202D_206C_200B_202C_200E_200E_200D_206B_206E_202A_202D_202C_202C_202D_206B_206C_206A_202C_202A_202E_202E_206B_200F_206D_200E_206A_202E_206A_202E_206D_206D_202E_206A_206A_206A_202B_202D_202C_200E_202E(objectTable); + int num = ((playerCharacter == null) ? 1728643060 : 1728643063); + bool flag = default(bool); + byte? b = default(byte?); + while (true) + { + int num2 = num; + int num3 = 1728643060; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + flag = true; + num = 1728643062; + break; + case 3: + b = _206F_200C_200D_206B_200B_206A_206C_206A_202E_202E_202A_206F_200C_200D_206B_200B_206C_200F_202B_202E_206F_202B_206D_206E_202E_202A_200F_202B_202A_206D_206A_200F_206E_200D_202B_200F_202A_200F_206C_202A_202E((ICharacter)playerCharacter).ValueNullable?.Role; + num = ((!b.HasValue) ? 1728643058 : 1728643057); + break; + case 5: + { + byte valueOrDefault = b.GetValueOrDefault(); + num3 = 3; + num4 = valueOrDefault; + num = (((uint)(~(~num4 + num3)) > 1u) ? 1728643058 : 1728643061); + break; + } + case 4: + num = 1728643063; + break; + case 2: + { + bool isRanged = flag; + bossModIpc.SetRangeStrategy(BossModIpc.EPreset.Active, isRanged); + num = 1728643060; + break; + } + case 6: + flag = false; + num = 1728643062; + break; + case 0: + _206F_202D_202C_206F_200D_206D_200C_206A_202A_200C_200D_206D_202A_202B_200E_202B_206B_202A_200B_202C_202A_200E_202B_206E_200C_206F_202C_200B_200C_206E_202D_206C_200D_206E_200E_206C_206A_200F_202C_202E((ILogger)logger, global::_003CModule_003E._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(-248169920), Array.Empty()); + return true; + } + } + } + + public override ETaskResult Update() + { + return ETaskResult.TaskComplete; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static IPlayerCharacter _202E_202D_206C_200B_202C_200E_200E_200D_206B_206E_202A_202D_202C_202C_202D_206B_206C_206A_202C_202A_202E_202E_206B_200F_206D_200E_206A_202E_206A_202E_206D_206D_202E_206A_206A_206A_202B_202D_202C_200E_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static RowRef _206F_200C_200D_206B_200B_206A_206C_206A_202E_202E_202A_206F_200C_200D_206B_200B_206C_200F_202B_202E_206F_202B_206D_206E_202E_202A_200F_202B_202A_206D_206A_200F_206E_200D_202B_200F_202A_200F_206C_202A_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static void _206F_202D_202C_206F_200D_206D_200C_206A_202A_200C_200D_206D_202A_202B_200E_202B_206B_202A_200B_202C_202A_200E_202B_206E_200C_206F_202C_200B_200C_206E_202D_206C_200D_206E_200E_206C_206A_200F_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + } + + internal sealed record EnableRsrForDutyTask : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_202C_200B_200E_202D_202B_206A_200F_206E_200F_202D_206D_202B_202A_202A_202D_202D_200B_200F_200F_200D_202D_206C_200E_206E_200E_200D_206F_202D_206A_200B_200E_202B_200B_200E_206D_202A_206B_206F_200F_202E(typeof(EnableRsrForDutyTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + return global::_003CModule_003E._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(2113295925); + } + + [CompilerGenerated] + public bool Equals(EnableRsrForDutyTask? other) + { + int num = (((object)this == other) ? (-1091562402) : (-1091562403)); + while (true) + { + int num2 = num; + int num3 = -1091562402; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return true; + case 1: + return false; + case 2: + num = -1091562403; + break; + case 3: + num = (((object)other == null) ? (-1091562401) : (-1091562406)); + break; + case 4: + return _206F_200E_206D_200B_206F_202C_202E_200F_200E_206A_202E_202A_206C_200B_202A_206D_200E_206F_202A_202D_206A_200E_200E_206B_200B_202A_200B_200D_206F_200F_200F_202E_202B_206C_206F_202B_206F_200F_206C_200E_202E(EqualityContract, other.EqualityContract); + } + } + } + + bool IEquatable.Equals(EnableRsrForDutyTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_202C_200B_200E_202D_202B_206A_200F_206E_200F_202D_206D_202B_202A_202A_202D_202D_200B_200F_200F_200D_202D_206C_200E_206E_200E_200D_206F_202D_206A_200B_200E_202B_200B_200E_206D_202A_206B_206F_200F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _206F_200E_206D_200B_206F_202C_202E_200F_200E_206A_202E_202A_206C_200B_202A_206D_200E_206F_202A_202D_206A_200E_200E_206B_200B_202A_200B_200D_206F_200F_200F_202E_202B_206C_206F_202B_206F_200F_206C_200E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + internal sealed class EnableRsrForDutyExecutor(RotationSolverRebornModule rsrModule, ILogger logger) : TaskExecutor() + { + [MethodImpl(MethodImplOptions.NoInlining)] + 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 + }; + int num = ((!rsrModule.Start(combatData)) ? 2061228906 : 2061228905); + while (true) + { + int num2 = num; + int num3 = 2061228904; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_008f; + case 2: + _206E_206A_206A_200E_206E_200F_200E_206A_206D_206C_206C_206A_200D_200E_202D_206B_202A_200C_202A_202C_202C_206E_202B_200C_202E_206E_200E_206F_202D_202B_206C_206F_206A_202C_200F_200F_202B_206B_206B_206F_202E((ILogger)logger, global::_003CModule_003E._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(-442018741), Array.Empty()); + return true; + case 1: + _206A_202D_200C_206D_200F_202C_202C_200C_202E_202D_206F_202B_202E_206A_200B_200F_202E_206E_202A_200D_206C_206B_206F_202C_200F_206D_200E_206E_206D_200F_200C_200E_200F_202D_206E_202A_200B_202C_200F_202E_202E((ILogger)logger, global::_003CModule_003E._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(1848587528), Array.Empty()); + return true; + } + continue; + IL_008f: + num = 2061228905; + } + } + + public override ETaskResult Update() + { + return ETaskResult.TaskComplete; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static void _206A_202D_200C_206D_200F_202C_202C_200C_202E_202D_206F_202B_202E_206A_200B_200F_202E_206E_202A_200D_206C_206B_206F_202C_200F_206D_200E_206E_206D_200F_200C_200E_200F_202D_206E_202A_200B_202C_200F_202E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _206E_206A_206A_200E_206E_200F_200E_206A_206D_206C_206C_206A_200D_200E_202D_206B_202A_200C_202A_202C_202C_206E_202B_200C_202E_206E_200E_206F_202D_202B_206C_206F_206A_202C_200F_200F_202B_206B_206B_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + } + + internal sealed record EnableBossModPassiveForDutyTask : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_200D_200F_206D_200E_200B_206F_200F_200B_200C_206F_200D_206D_202E_202B_206A_206E_200D_202C_200E_202B_202B_206A_202D_206B_202B_202E_206F_202D_200D_202E_200F_202B_202C_206F_200F_202C_202D_206C_202E_202E(typeof(EnableBossModPassiveForDutyTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + return global::_003CModule_003E._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(1459576092); + } + + [CompilerGenerated] + public bool Equals(EnableBossModPassiveForDutyTask? other) + { + int num = (((object)this == other) ? (-1195583475) : (-1195583474)); + while (true) + { + int num2 = num; + int num3 = -1195583475; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return false; + case 1: + return _202C_206C_200F_202E_206C_206B_200C_202D_206E_206E_200E_202B_202A_202E_206D_200B_200E_202A_206B_200C_200B_206E_206C_202A_200D_202C_200D_200E_202E_206D_202A_202B_200B_200C_200F_206B_206E_200F_202B_202C_202E(EqualityContract, other.EqualityContract); + case 0: + return true; + case 4: + num = -1195583474; + break; + case 3: + num = (((object)other == null) ? (-1195583473) : (-1195583476)); + break; + } + } + } + + bool IEquatable.Equals(EnableBossModPassiveForDutyTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_200D_200F_206D_200E_200B_206F_200F_200B_200C_206F_200D_206D_202E_202B_206A_206E_200D_202C_200E_202B_202B_206A_202D_206B_202B_202E_206F_202D_200D_202E_200F_202B_202C_206F_200F_202C_202D_206C_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _202C_206C_200F_202E_206C_206B_200C_202D_206E_206E_200E_202B_202A_202E_206D_200B_200E_202A_206B_200C_200B_206E_206C_202A_200D_202C_200D_200E_202E_206D_202A_202B_200B_200C_200F_206B_206E_200F_202B_202C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + internal sealed class EnableBossModPassiveForDutyExecutor(BossModIpc bossModIpc, ILogger logger) : TaskExecutor() + { + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + bossModIpc.EnableAi(BossModIpc.EPreset.Passive); + _206F_206F_200B_202B_206F_200F_202B_200F_200E_206C_202A_202D_206E_206F_206F_206F_200D_206F_206E_202B_200D_202E_200F_200E_206B_202D_202B_202D_200D_200F_200F_200E_206A_206C_206A_200C_200E_206B_200B_200E_202E((ILogger)logger, global::_003CModule_003E._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(-1506955003), Array.Empty()); return true; } @@ -265,76 +1878,549 @@ internal static class Duty { return false; } - } - internal sealed record StartLevelingModeTask(int RequiredLevel, string? QuestName) : ITask - { - public override string ToString() + static void _206F_206F_200B_202B_206F_200F_202B_200F_200E_206C_202A_202D_206E_206F_206F_206F_200D_206F_206E_202B_200D_202E_200F_200E_206B_202D_202B_202D_200D_200F_200F_200E_206A_206C_206A_200C_200E_206B_200B_200E_202E(ILogger P_0, string P_1, object[] P_2) { - return $"StartLevelingMode(target: Lv{RequiredLevel} for '{QuestName}')"; + P_0.LogDebug(P_1, P_2); } } - internal sealed class StartLevelingModeExecutor(AutoDutyIpc autoDutyIpc, ICondition condition, ILogger logger) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor + internal sealed record EnableWrathForDutyTask : ITask { - private DateTime _startTime; + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206D_202A_202D_206F_202A_206D_206B_200E_206C_202E_202C_200B_202E_202A_202C_202D_202A_202E_200F_200B_200F_202E_200E_202C_200D_206B_200C_206F_206E_202A_200C_202A_200E_200F_200D_202E_200C_200B_202D_206F_202E(typeof(EnableWrathForDutyTask).TypeHandle); + } + } + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + return global::_003CModule_003E._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(675489831); + } + + [CompilerGenerated] + public bool Equals(EnableWrathForDutyTask? other) + { + int num = (((object)this == other) ? 1904585332 : 1904585334); + while (true) + { + int num2 = num; + int num3 = 1904585335; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 1: + num = (((object)other == null) ? 1904585335 : 1904585333); + break; + case 3: + return true; + case 4: + num = 1904585334; + break; + case 2: + return _202A_200D_200C_200F_202A_206A_202E_200D_202C_206C_200E_200E_200E_200B_206F_206C_206B_206B_206A_206E_206F_206B_200F_206C_202A_206B_202D_206A_206D_202A_206A_202B_206D_202A_200D_202A_206E_202E_202A_206D_202E(EqualityContract, other.EqualityContract); + } + } + } + + bool IEquatable.Equals(EnableWrathForDutyTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206D_202A_202D_206F_202A_206D_206B_200E_206C_202E_202C_200B_202E_202A_202C_202D_202A_202E_200F_200B_200F_202E_200E_202C_200D_206B_200C_206F_206E_202A_200C_202A_200E_200F_200D_202E_200C_200B_202D_206F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _202A_200D_200C_200F_202A_206A_202E_200D_202C_206C_200E_200E_200E_200B_206F_206C_206B_206B_206A_206E_206F_206B_200F_206C_202A_206B_202D_206A_206D_202A_206A_202B_206D_202A_200D_202A_206E_202E_202A_206D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + internal sealed class EnableWrathForDutyExecutor(WrathComboModule wrathComboModule, ILogger logger) : TaskExecutor() + { + [MethodImpl(MethodImplOptions.NoInlining)] 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]) + CombatController.CombatData combatData = new CombatController.CombatData { - logger.LogInformation("Already in duty or queue, skipping start"); - return true; - } - if (!autoDutyIpc.IsStopped()) + ElementId = null, + Sequence = 0, + CompletionQuestVariablesFlags = new List(), + SpawnType = EEnemySpawnType.None, + KillEnemyDataIds = new List(), + ComplexCombatDatas = new List(), + CombatItemUse = null + }; + int num = ((!wrathComboModule.Start(combatData)) ? (-846521954) : (-846521955)); + while (true) { - logger.LogInformation("AutoDuty is already running, waiting for it"); - _startTime = DateTime.Now; - return true; + int num2 = num; + int num3 = -846521953; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _202B_202B_202C_200E_202B_206C_202E_200E_206E_206D_206D_200E_202B_206A_202B_202E_202A_206B_206E_202A_200E_206F_202C_200E_206F_202E_200E_202D_202A_200C_206B_206F_206F_206C_202B_206E_202A_202C_202C_202E((ILogger)logger, global::_003CModule_003E._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(-409178902), Array.Empty()); + return true; + case 2: + _206E_202A_206F_206A_206E_206B_200C_206A_202A_206E_200F_202B_200E_206D_200E_202A_202E_206A_206B_202B_200B_206C_200C_206A_206F_202E_206B_200C_200D_206F_200F_202B_202A_202D_206B_202C_200F_200C_206D_202C_202E((ILogger)logger, global::_003CModule_003E._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(29508109), Array.Empty()); + return true; + case 0: + goto IL_00c9; + } + continue; + IL_00c9: + num = -846521955; } - autoDutyIpc.StartLevelingMode(); - _startTime = DateTime.Now; + } + + public override ETaskResult Update() + { + return ETaskResult.TaskComplete; + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static void _206E_202A_206F_206A_206E_206B_200C_206A_202A_206E_200F_202B_200E_206D_200E_202A_202E_206A_206B_202B_200B_206C_200C_206A_206F_202E_206B_200C_200D_206F_200F_202B_202A_202D_206B_202C_200F_200C_206D_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _202B_202B_202C_200E_202B_206C_202E_200E_206E_206D_206D_200E_202B_206A_202B_202E_202A_206B_206E_202A_200E_206F_202C_200E_206F_202E_200E_202D_202A_200C_206B_206F_206F_206C_202B_206E_202A_202C_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + } + + internal sealed record DisableCombatPluginsForDutyTask : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_206C_206F_202C_202B_206F_202A_206A_202D_206E_200D_206D_206A_200E_202B_206E_202D_206A_202E_206A_200E_206A_202C_202D_206C_202B_202C_202D_206F_202D_206E_200E_206D_206D_202C_202C_206D_200D_206C_200C_202E(typeof(DisableCombatPluginsForDutyTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + return global::_003CModule_003E._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(-1157161609); + } + + [CompilerGenerated] + public bool Equals(DisableCombatPluginsForDutyTask? other) + { + int num = (((object)this == other) ? (-1653700635) : (-1653700636)); + while (true) + { + int num2 = num; + int num3 = -1653700633; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return false; + case 3: + num = (((object)other == null) ? (-1653700637) : (-1653700634)); + break; + case 2: + return true; + case 0: + num = -1653700636; + break; + case 1: + return _206D_206A_206D_206D_206A_200C_200B_202A_202D_200E_206D_202D_206F_206A_206B_202E_200E_206B_200E_202D_200F_206B_206F_202C_206F_206C_206A_202C_202C_206B_200E_206D_202C_200E_206A_200D_206E_206B_202B_202D_202E(EqualityContract, other.EqualityContract); + } + } + } + + bool IEquatable.Equals(DisableCombatPluginsForDutyTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_206C_206F_202C_202B_206F_202A_206A_202D_206E_200D_206D_206A_200E_202B_206E_202D_206A_202E_206A_200E_206A_202C_202D_206C_202B_202C_202D_206F_202D_206E_200E_206D_206D_202C_202C_206D_200D_206C_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _206D_206A_206D_206D_206A_200C_200B_202A_202D_200E_206D_202D_206F_206A_206B_202E_200E_206B_200E_202D_200F_206B_206F_202C_206F_206C_206A_202C_202C_206B_200E_206D_202C_200E_206A_200D_206E_206B_202B_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + internal sealed class DisableCombatPluginsForDutyExecutor(WrathComboModule wrathComboModule, RotationSolverRebornModule rsrModule, BossModIpc bossModIpc, ILogger logger) : TaskExecutor() + { + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + wrathComboModule.Stop(); + rsrModule.Stop(); + bossModIpc.DisableAi(); + _200F_200D_200E_202D_206A_202E_200C_206B_206D_202E_202A_206B_202C_202D_200E_206B_206E_202E_206A_200B_202A_206D_202E_200B_200E_202E_202D_206C_202B_206E_202D_202E_206F_200E_200D_206D_200D_206F_206C_206F_202E((ILogger)logger, global::_003CModule_003E._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(-721701585), Array.Empty()); return true; } public override ETaskResult Update() { - bool flag = condition[ConditionFlag.BoundByDuty]; - bool flag2 = condition[ConditionFlag.InDutyQueue]; - if (flag || flag2) - { - logger.LogInformation("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)) - { - return ETaskResult.StillRunning; - } - logger.LogError("AutoDuty failed to start leveling mode after 10 seconds"); return ETaskResult.TaskComplete; } + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static void _200F_200D_200E_202D_206A_202E_200C_206B_206D_202E_202A_206B_202C_202D_200E_206B_206E_202E_206A_200B_202A_206D_202E_200B_200E_202E_202D_206C_202B_206E_202D_202E_206F_200E_200D_206D_200D_206F_206C_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + } + + internal sealed record StartLevelingModeTask(int RequiredLevel, string? QuestName) : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_206B_206F_200B_206C_206F_200E_202B_206C_200F_200B_202B_206D_206B_200C_200D_200E_200D_206F_200B_202B_206D_202C_206E_202A_206B_200E_202E_206D_202D_206E_206B_202E_202D_206B_202C_200D_202E_206D_202E(typeof(StartLevelingModeTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(36, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2016705418)); + defaultInterpolatedStringHandler.AppendFormatted(RequiredLevel); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(506226778)); + defaultInterpolatedStringHandler.AppendFormatted(QuestName); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1163511253)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_206D_206A_200F_206D_200F_202A_200E_200D_200B_206D_206F_206C_206E_200B_202E_202A_206F_200D_206F_200C_206B_200C_200F_200B_200B_200B_206F_202C_200F_200C_202A_202C_202E_206F_202E_200E_206C_206B_202A_202E(); + _206F_200C_202A_206F_206E_202C_206B_200F_206F_200D_202A_206A_206B_200C_202B_206D_200E_206C_202D_200F_202B_202B_202A_200B_200C_206B_206F_200F_200B_206C_200C_206D_202D_200C_202B_206E_206B_202A_206A_202E_202E(builder, global::_003CModule_003E._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(-1394284169)); + _206F_200C_202A_206F_206E_202C_206B_200F_206F_200D_202A_206A_206B_200C_202B_206D_200E_206C_202D_200F_202B_202B_202A_200B_200C_206B_206F_200F_200B_206C_200C_206D_202D_200C_202B_206E_206B_202A_206A_202E_202E(builder, RequiredLevel.ToString()); + _206F_200C_202A_206F_206E_202C_206B_200F_206F_200D_202A_206A_206B_200C_202B_206D_200E_206C_202D_200F_202B_202B_202A_200B_200C_206B_206F_200F_200B_206C_200C_206D_202D_200C_202B_206E_206B_202A_206A_202E_202E(builder, global::_003CModule_003E._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(2013631228)); + _206F_206B_200C_200B_202B_206C_200E_200D_200C_202A_206B_206F_202D_206C_206D_206F_206C_206C_200F_202B_206C_200D_202C_200C_202C_202E_206E_200B_200F_200B_202E_206F_200E_200B_202A_206E_200F_200B_206B_200F_202E(builder, (object?)QuestName); + return true; + } + + [CompilerGenerated] + public bool Equals(StartLevelingModeTask? other) + { + int num = (((object)this == other) ? 767902798 : 767902795); + while (true) + { + int num2 = num; + int num3 = 767902794; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + return false; + case 0: + return EqualityComparer.Default.Equals(QuestName, other.QuestName); + case 1: + num = (((object)other == null) ? 767902796 : 767902799); + break; + case 5: + num = ((!_200F_206E_206F_202D_206E_202A_202E_206C_206E_206E_200C_202A_206D_206A_202C_206F_200E_200E_200D_206F_206A_206F_200C_202E_206F_206A_206E_206D_206C_200F_202A_202E_206D_202D_200E_206D_202A_200B_200C_200F_202E(EqualityContract, other.EqualityContract)) ? 767902796 : 767902793); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(RequiredLevel, other.RequiredLevel)) ? 767902796 : 767902794); + break; + case 4: + return true; + case 2: + num = 767902795; + break; + } + } + } + + bool IEquatable.Equals(StartLevelingModeTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _206A_206B_206F_200B_206C_206F_200E_202B_206C_200F_200B_202B_206D_206B_200C_200D_200E_200D_206F_200B_202B_206D_202C_206E_202A_206B_200E_202E_206D_202D_206E_206B_202E_202D_206B_202C_200D_202E_206D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200B_206D_206A_200F_206D_200F_202A_200E_200D_200B_206D_206F_206C_206E_200B_202E_202A_206F_200D_206F_200C_206B_200C_200F_200B_200B_200B_206F_202C_200F_200C_202A_202C_202E_206F_202E_200E_206C_206B_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _206F_200C_202A_206F_206E_202C_206B_200F_206F_200D_202A_206A_206B_200C_202B_206D_200E_206C_202D_200F_202B_202B_202A_200B_200C_206B_206F_200F_200B_206C_200C_206D_202D_200C_202B_206E_206B_202A_206A_202E_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _206F_206B_200C_200B_202B_206C_200E_200D_200C_202A_206B_206F_202D_206C_206D_206F_206C_206C_200F_202B_206C_200D_202C_200C_202C_202E_206E_200B_200F_200B_202E_206F_200E_200B_202A_206E_200F_200B_206B_200F_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _200F_206E_206F_202D_206E_202A_202E_206C_206E_206E_200C_202A_206D_206A_202C_206F_200E_200E_200D_206F_206A_206F_200C_202E_206F_206A_206E_206D_206C_200F_202A_202E_206D_202D_200E_206D_202A_200B_200C_200F_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; + } + } + + internal sealed class StartLevelingModeExecutor(AutoDutyIpc autoDutyIpc, ICondition condition, IChatGui chatGui, ILogger logger) : TaskExecutor(), IStoppableTaskExecutor, ITaskExecutor + { + private long _startMs; + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + _200E_200D_206E_206F_202C_202A_200F_202A_206D_202B_202D_206C_206D_200B_206E_202E_200B_202E_206E_202D_202A_202B_202C_202B_206F_200B_206A_202E_202A_206B_202C_206A_206F_206E_200C_206D_200D_200D_202C_202D_202E((ILogger)logger, global::_003CModule_003E._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(55261693), new object[2] + { + base.Task.RequiredLevel, + base.Task.QuestName + }); + int num = (_202B_202C_206B_200B_200F_200F_206A_206F_202C_202A_206B_200F_202C_202A_202C_206C_200C_200D_200E_202C_202D_202B_200C_200B_206E_200F_206F_206B_200D_200D_200E_202A_206A_200E_202D_206F_206A_200D_206F_202A_202E(condition, ConditionFlag.BoundByDuty) ? 734035572 : 734035573); + while (true) + { + int num2 = num; + int num3 = 734035575; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 734035573; + break; + case 2: + num = ((!_202B_202C_206B_200B_200F_200F_206A_206F_202C_202A_206B_200F_202C_202A_202C_206C_200C_200D_200E_202C_202D_202B_200C_200B_206E_200F_206F_206B_200D_200D_200E_202A_206A_200E_202D_206F_206A_200D_206F_202A_202E(condition, ConditionFlag.InDutyQueue)) ? 734035570 : 734035572); + break; + case 1: + _206C_202B_200B_202B_200B_206B_206E_206A_206F_206C_202A_200B_202A_206E_206B_200F_200E_206C_200B_200B_206D_206A_202A_206B_206F_206F_202C_206C_202A_206D_202B_202D_206B_206D_200C_200F_200D_206C_200F_206D_202E((ILogger)logger, global::_003CModule_003E._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(-1265156459), Array.Empty()); + _startMs = _202E_200D_202B_202B_206E_206C_200D_202B_206C_206E_200C_200C_202D_200F_200D_202D_202C_200C_202D_206D_200B_202D_202C_202A_206B_206E_200D_200E_200C_206D_206B_206C_206A_202A_200D_200F_206D_202B_202B_206A_202E(); + return true; + case 4: + autoDutyIpc.StartLevelingMode(); + _startMs = _202E_200D_202B_202B_206E_206C_200D_202B_206C_206E_200C_200C_202D_200F_200D_202D_202C_200C_202D_206D_200B_202D_202C_202A_206B_206E_200D_200E_200C_206D_206B_206C_206A_202A_200D_200F_206D_202B_202B_206A_202E(); + return true; + case 3: + _206C_202B_200B_202B_200B_206B_206E_206A_206F_206C_202A_200B_202A_206E_206B_200F_200E_206C_200B_200B_206D_206A_202A_206B_206F_206F_202C_206C_202A_206D_202B_202D_206B_206D_200C_200F_200D_206C_200F_206D_202E((ILogger)logger, global::_003CModule_003E._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(1626350162), Array.Empty()); + return true; + case 5: + num = (autoDutyIpc.IsStopped() ? 734035571 : 734035574); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + bool flag = _202B_202C_206B_200B_200F_200F_206A_206F_202C_202A_206B_200F_202C_202A_202C_206C_200C_200D_200E_202C_202D_202B_200C_200B_206E_200F_206F_206B_200D_200D_200E_202A_206A_200E_202D_206F_206A_200D_206F_202A_202E(condition, ConditionFlag.BoundByDuty); + bool flag2 = _202B_202C_206B_200B_200F_200F_206A_206F_202C_202A_206B_200F_202C_202A_202C_206C_200C_200D_200E_202C_202D_202B_200C_200B_206E_200F_206F_206B_200D_200D_200E_202A_206A_200E_202D_206F_206A_200D_206F_202A_202E(condition, ConditionFlag.InDutyQueue); + int num = (flag2 ? 1 : 0); + int num2 = (flag ? 1 : 0); + int num3 = (((num2 & num) + (num2 ^ num) == 0) ? 108538645 : 108538644); + while (true) + { + int num4 = num3; + num = 108538645; + num2 = num4; + int num5 = num2 + num; + int num6 = num2 & num; + switch (num5 - (num6 + num6)) + { + case 3: + return ETaskResult.StillRunning; + case 1: + _206C_202B_200B_202B_200B_206B_206E_206A_206F_206C_202A_200B_202A_206E_206B_200F_200E_206C_200B_200B_206D_206A_202A_206B_206F_206F_202C_206C_202A_206D_202B_202D_206B_206D_200C_200F_200D_206C_200F_206D_202E((ILogger)logger, global::_003CModule_003E._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(-1699127209), new object[2] { flag, flag2 }); + return ETaskResult.TaskComplete; + case 6: + _206D_206B_200C_202B_200E_206D_200D_206B_200E_202B_206C_202A_206A_206B_200B_202A_206D_200F_202B_206E_200B_202D_206F_206F_206A_206C_200B_206F_202D_200D_202B_202E_206D_202A_206D_206C_206E_202B_202B_202D_202E((ILogger)logger, global::_003CModule_003E._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(-1096810868), Array.Empty()); + _200E_202B_200D_202A_206C_200C_200F_206A_206D_202B_206B_206A_206C_206C_202B_200E_202C_206B_200D_206A_200B_206C_200C_200B_200C_200F_200F_200F_200C_200B_200D_206A_200E_206E_206E_206F_206F_200C_206E_200D_202E(chatGui, global::_003CModule_003E._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(-1253886514), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + return ETaskResult.End; + case 0: + num3 = (autoDutyIpc.IsStopped() ? 108538640 : 108538646); + break; + case 5: + num3 = ((_202E_200D_202B_202B_206E_206C_200D_202B_206C_206E_200C_200C_202D_200F_200D_202D_202C_200C_202D_206D_200B_202D_202C_202A_206B_206E_200D_200E_200C_206D_206B_206C_206A_202A_200D_200F_206D_202B_202B_206A_202E() - _startMs >= 10000) ? 108538643 : 108538647); + break; + case 2: + return ETaskResult.StillRunning; + case 4: + num3 = 108538644; + break; + } + } + } + public void StopNow() { autoDutyIpc.Stop(); } + void IStoppableTaskExecutor.StopNow() + { + //ILSpy generated this explicit interface implementation from .override directive in StopNow + this.StopNow(); + } + public override bool ShouldInterruptOnDamage() { return false; } + + static void _200E_200D_206E_206F_202C_202A_200F_202A_206D_202B_202D_206C_206D_200B_206E_202E_200B_202E_206E_202D_202A_202B_202C_202B_206F_200B_206A_202E_202A_206B_202C_206A_206F_206E_200C_206D_200D_200D_202C_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static bool _202B_202C_206B_200B_200F_200F_206A_206F_202C_202A_206B_200F_202C_202A_202C_206C_200C_200D_200E_202C_202D_202B_200C_200B_206E_200F_206F_206B_200D_200D_200E_202A_206A_200E_202D_206F_206A_200D_206F_202A_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static void _206C_202B_200B_202B_200B_206B_206E_206A_206F_206C_202A_200B_202A_206E_206B_200F_200E_206C_200B_200B_206D_206A_202A_206B_206F_206F_202C_206C_202A_206D_202B_202D_206B_206D_200C_200F_200D_206C_200F_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static long _202E_200D_202B_202B_206E_206C_200D_202B_206C_206E_200C_200C_202D_200F_200D_202D_202C_200C_202D_206D_200B_202D_202C_202A_206B_206E_200D_200E_200C_206D_206B_206C_206A_202A_200D_200F_206D_202B_202B_206A_202E() + { + return Environment.TickCount64; + } + + static void _206D_206B_200C_202B_200E_206D_200D_206B_200E_202B_206C_202A_206A_206B_200B_202A_206D_200F_202B_206E_200B_202D_206F_206F_206A_206C_200B_206F_202D_200D_202B_202E_206D_202A_206D_206C_206E_202B_202B_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static void _200E_202B_200D_202A_206C_200C_200F_206A_206D_202B_206B_206A_206C_206C_202B_200E_202C_206B_200D_206A_200B_206C_200C_200B_200C_200F_200F_200F_200C_200B_200D_206A_200E_206E_206E_206F_206F_200C_206E_200D_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } } internal sealed record WaitLevelingModeTask(int RequiredLevel) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_202C_206A_200F_202D_206A_202E_202E_202B_206F_206F_206B_206E_200F_200F_206D_200D_200E_200E_202C_206C_206E_206F_200F_206D_206D_200B_200D_200D_202E_200F_202C_206C_206D_202C_202C_202A_200B_202C_200F_202E(typeof(WaitLevelingModeTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"WaitLevelingMode(until Lv{RequiredLevel})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(26, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1813991496)); + defaultInterpolatedStringHandler.AppendFormatted(RequiredLevel); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200E_206E_202D_206D_202E_206F_200C_200E_206E_200D_202C_202D_200D_206C_200F_206C_202C_200F_202A_202E_206B_202E_206A_200F_202C_206C_206E_206A_206C_202A_200C_202D_200E_200B_206A_200F_202D_202B_200B_202D_202E(); + _200B_206F_200D_206B_202C_200E_206E_202E_206E_202D_202A_206A_202B_202C_200D_202E_202A_202D_206C_202C_206B_206D_206F_200F_206B_200F_206B_206F_200F_206F_202D_206C_202A_202A_200F_202B_202E_202A_202E_206B_202E(builder, global::_003CModule_003E._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(-2045243570)); + _200B_206F_200D_206B_202C_200E_206E_202E_206E_202D_202A_206A_202B_202C_200D_202E_202A_202D_206C_202C_206B_206D_206F_200F_206B_200F_206B_206F_200F_206F_202D_206C_202A_202A_200F_202B_202E_202A_202E_206B_202E(builder, RequiredLevel.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(WaitLevelingModeTask? other) + { + int num = (((object)this == other) ? (-1709227923) : (-1709227922)); + while (true) + { + int num2 = num; + int num3 = -1709227921; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -1709227922; + break; + case 2: + return true; + case 1: + num = (((object)other == null) ? (-1709227921) : (-1709227926)); + break; + case 4: + return EqualityComparer.Default.Equals(RequiredLevel, other.RequiredLevel); + case 5: + num = ((!_200C_200C_206F_206D_200B_202D_206C_200F_206A_206C_202D_206F_206A_202E_200D_200B_202D_200B_202B_202D_202E_200F_206B_202D_202B_206E_206A_202B_206F_202A_200C_206C_202D_206E_202C_200B_206C_202D_202D_206A_202E(EqualityContract, other.EqualityContract)) ? (-1709227921) : (-1709227925)); + break; + case 0: + return false; + } + } + } + + bool IEquatable.Equals(WaitLevelingModeTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_202C_206A_200F_202D_206A_202E_202E_202B_206F_206F_206B_206E_200F_200F_206D_200D_200E_200E_202C_206C_206E_206F_200F_206D_206D_200B_200D_200D_202E_200F_202C_206C_206D_202C_202C_202A_200B_202C_200F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200E_206E_202D_206D_202E_206F_200C_200E_206E_200D_202C_202D_200D_206C_200F_206C_202C_200F_202A_202E_206B_202E_206A_200F_202C_206C_206E_206A_206C_202A_200C_202D_200E_200B_206A_200F_202D_202B_200B_202D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200B_206F_200D_206B_202C_200E_206E_202E_206E_202D_202A_206A_202B_202C_200D_202E_202A_202D_206C_202C_206B_206D_206F_200F_206B_200F_206B_206F_200F_206F_202D_206C_202A_202A_200F_202B_202E_202A_202E_206B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_200C_206F_206D_200B_202D_206C_200F_206A_206C_202D_206F_206A_202E_200D_200B_202D_200B_202B_202D_202E_200F_206B_202D_202B_206E_206A_202B_206F_202A_200C_206C_202D_206E_202C_200B_206C_202D_202D_206A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -342,38 +2428,162 @@ 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; } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - bool flag = condition[ConditionFlag.BoundByDuty]; - bool flag2 = condition[ConditionFlag.InDutyQueue]; - if (flag && !_wasInDuty) + bool flag = _200D_206B_200E_206B_200B_200C_200F_200B_200C_206A_200D_202B_202C_206A_202D_200B_200C_206F_202A_202B_206C_202A_200D_200B_200C_206E_202B_202C_200B_202D_202D_202D_202C_206F_202C_202A_206E_206E_202B_200C_202E(condition, ConditionFlag.BoundByDuty); + bool flag2 = _200D_206B_200E_206B_200B_200C_200F_200B_200C_206A_200D_202B_202C_206A_202D_200B_200C_206F_202A_202B_206C_202A_200D_200B_200C_206E_202B_202C_200B_202D_202D_202D_202C_206F_202C_202A_206E_206E_202B_200C_202E(condition, ConditionFlag.InDutyQueue); + int num = ((!flag) ? (-561621789) : (-561621778)); + byte b = default(byte); + long num7 = default(long); + while (true) { - logger.LogInformation("Entered duty for leveling"); - _wasInDuty = true; + int num2 = num; + int num3 = -561621782; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 15: + _idleSinceMs = -1L; + num = -561621792; + break; + case 13: + _202C_200F_200E_206B_200C_202A_206F_202B_202C_202E_206B_200B_200C_200D_202E_202B_206F_206D_202B_206F_202B_202E_202E_202E_200B_200F_200B_206F_202C_202C_202C_202C_206C_206C_206A_206F_206C_202B_200E_206E_202E((ILogger)logger, global::_003CModule_003E._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(1085997974), new object[2] + { + b, + base.Task.RequiredLevel + }); + _200F_206C_200C_202A_206B_206E_200D_200C_206C_202D_206E_200D_200E_202B_200C_202C_202E_200F_200E_206F_200D_202C_200D_206A_206F_200D_202A_200B_206F_202D_200E_206A_206C_206E_202C_206D_206E_200E_206E_202A_202E(chatGui, global::_003CModule_003E._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(555207029), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + return ETaskResult.End; + case 12: + num = ((!autoDutyIpc.IsStopped()) ? (-561621787) : (-561621767)); + break; + case 10: + return ETaskResult.StillRunning; + case 17: + if (!_200D_206B_200E_206B_200B_200C_200F_200B_200C_206A_200D_202B_202C_206A_202D_200B_200C_206F_202A_202B_206C_202A_200D_200B_200C_206E_202B_202C_200B_202D_202D_202D_202C_206F_202C_202A_206E_206E_202B_200C_202E(condition, ConditionFlag.BetweenAreas51)) + { + num = -561621762; + break; + } + goto case 14; + case 5: + _206C_200F_200E_206A_206A_200F_202A_206A_202A_206D_206D_206D_206D_206C_200B_206D_202B_200B_200B_206A_200E_200C_200F_202B_200B_206D_206C_202E_202E_200D_206D_200D_200F_206E_200B_206A_202A_206D_200C_202E_202E((ILogger)logger, global::_003CModule_003E._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(-2081714817), Array.Empty()); + _wasInDuty = true; + num = -561621789; + break; + case 8: + num7 = _206C_206C_200B_200F_202A_200B_206C_202B_206C_202B_202C_200B_206E_206C_200D_200D_200F_200C_202C_202B_202C_206B_202B_200F_200E_200F_200B_200B_202D_202A_206D_200E_200B_206F_206D_202D_202E_200D_202B_200D_202E(); + num = ((_idleSinceMs >= 0) ? (-561621783) : (-561621782)); + break; + case 20: + num = ((num7 < _reissueNextMs) ? (-561621792) : (-561621781)); + break; + case 14: + num = -561621792; + break; + case 19: + num = (flag ? (-561621787) : (-561621766)); + break; + case 6: + { + _206D_202B_202A_206A_202B_202B_200C_200C_206A_206E_200B_202A_206F_200F_202D_200B_202D_200D_200B_202E_206A_206E_200D_200D_206C_206C_206B_200C_202A_202D_206F_202E_200F_200D_200F_206E_206B_202E_200C_206A_202E((ILogger)logger, global::_003CModule_003E._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(-943071448), new object[2] + { + base.Task.RequiredLevel, + b + }); + IChatGui chatGui = chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(37, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1065319718)); + defaultInterpolatedStringHandler.AppendFormatted(b); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2026620031)); + _202D_200B_206A_200B_206E_206D_202C_206F_200D_202D_202A_206A_200C_200F_202D_200B_200C_202B_202C_206F_206A_200C_202A_200E_202A_206C_202D_202E_200C_200E_200B_206B_200D_206B_202B_206C_202D_206D_200E_206F_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + autoDutyIpc.Stop(); + return ETaskResult.TaskComplete; + } + case 0: + _idleSinceMs = num7; + num = -561621783; + break; + case 11: + num = -561621778; + break; + case 21: + num = (_200D_206B_200E_206B_200B_200C_200F_200B_200C_206A_200D_202B_202C_206A_202D_200B_200C_206F_202A_202B_206C_202A_200D_200B_200C_206E_202B_202C_200B_202D_202D_202D_202C_206F_202C_202A_206E_206E_202B_200C_202E(condition, ConditionFlag.BetweenAreas) ? (-561621788) : (-561621765)); + break; + case 4: + num = (_wasInDuty ? (-561621789) : (-561621777)); + break; + case 18: + { + int num12 = base.Task.RequiredLevel - b; + _206C_200F_200E_206A_206A_200F_202A_206A_202A_206D_206D_206D_206D_206C_200B_206D_202B_200B_200B_206A_200E_200C_200F_202B_200B_206D_206C_202E_202E_200D_206D_200D_200F_206E_200B_206A_202A_206D_200C_202E_202E((ILogger)logger, global::_003CModule_003E._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(2028353863), new object[3] + { + b, + base.Task.RequiredLevel, + num12 + }); + long num13 = num7; + long num9 = 30000L; + long num10 = num13; + _statusLogNextMs = (num10 | num9) + (num10 & num9); + num = -561621779; + break; + } + case 9: + { + IPlayerCharacter playerCharacter = _206C_202D_200F_200C_206E_206F_206C_202D_206D_202E_200C_200F_200C_206C_202C_202C_202E_202A_202D_202E_202B_200D_206B_202C_200B_202C_206A_206F_206E_200C_200D_202E_206F_206E_206B_202A_206F_200C_206C_200C_202E(objectTable); + b = (byte)((playerCharacter != null) ? _206A_200E_200F_206A_202C_206B_200B_202A_206D_206B_206F_206C_200B_206A_206F_202D_202A_206D_202D_200E_206D_200C_206E_206A_200C_200D_206E_200F_202D_206F_206F_202E_206A_202D_206B_202D_202E_200F_200F_202D_202E((ICharacter)playerCharacter) : 0); + num = ((b < base.Task.RequiredLevel) ? (-561621786) : (-561621780)); + break; + } + case 7: + { + long num11 = num7; + long num9 = _idleSinceMs; + long num10 = num11; + num = ((~(~num10 + num9) <= 90000) ? (-561621761) : (-561621785)); + break; + } + case 16: + num = (flag2 ? (-561621787) : (-561621784)); + break; + case 2: + num = ((!_wasInDuty) ? (-561621787) : (-561621790)); + break; + case 1: + { + _206C_200F_200E_206A_206A_200F_202A_206A_202A_206D_206D_206D_206D_206C_200B_206D_202B_200B_200B_206A_200E_200C_200F_202B_200B_206D_206C_202E_202E_200D_206D_200D_200F_206E_200B_206A_202A_206D_200C_202E_202E((ILogger)logger, global::_003CModule_003E._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(1740398930), Array.Empty()); + autoDutyIpc.StartLevelingMode(); + long num8 = num7; + long num9 = 5000L; + long num10 = num8; + _reissueNextMs = (num10 | num9) + (num10 & num9); + num = -561621792; + break; + } + case 3: + num = ((num7 < _statusLogNextMs) ? (-561621779) : (-561621768)); + break; + } } - byte b = objectTable.LocalPlayer?.Level ?? 0; - if (b >= base.Task.RequiredLevel) - { - 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(); - return ETaskResult.TaskComplete; - } - if (autoDutyIpc.IsStopped() && !flag && !flag2 && _wasInDuty && DateTime.Now - _lastStatusMessage > TimeSpan.FromSeconds(30L)) - { - 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; - } - return ETaskResult.StillRunning; } public void StopNow() @@ -381,9 +2591,60 @@ internal static class Duty autoDutyIpc.Stop(); } + void IStoppableTaskExecutor.StopNow() + { + //ILSpy generated this explicit interface implementation from .override directive in StopNow + this.StopNow(); + } + public override bool ShouldInterruptOnDamage() { return false; } + + static bool _200D_206B_200E_206B_200B_200C_200F_200B_200C_206A_200D_202B_202C_206A_202D_200B_200C_206F_202A_202B_206C_202A_200D_200B_200C_206E_202B_202C_200B_202D_202D_202D_202C_206F_202C_202A_206E_206E_202B_200C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static void _206C_200F_200E_206A_206A_200F_202A_206A_202A_206D_206D_206D_206D_206C_200B_206D_202B_200B_200B_206A_200E_200C_200F_202B_200B_206D_206C_202E_202E_200D_206D_200D_200F_206E_200B_206A_202A_206D_200C_202E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static IPlayerCharacter _206C_202D_200F_200C_206E_206F_206C_202D_206D_202E_200C_200F_200C_206C_202C_202C_202E_202A_202D_202E_202B_200D_206B_202C_200B_202C_206A_206F_206E_200C_200D_202E_206F_206E_206B_202A_206F_200C_206C_200C_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static byte _206A_200E_200F_206A_202C_206B_200B_202A_206D_206B_206F_206C_200B_206A_206F_202D_202A_206D_202D_200E_206D_200C_206E_206A_200C_200D_206E_200F_202D_206F_206F_202E_206A_202D_206B_202D_202E_200F_200F_202D_202E(ICharacter P_0) + { + return P_0.Level; + } + + static void _206D_202B_202A_206A_202B_202B_200C_200C_206A_206E_200B_202A_206F_200F_202D_200B_202D_200D_200B_202E_206A_206E_200D_200D_206C_206C_206B_200C_202A_202D_206F_202E_200F_200D_200F_206E_206B_202E_200C_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _202D_200B_206A_200B_206E_206D_202C_206F_200D_202D_202A_206A_200C_200F_202D_200B_200C_202B_202C_206F_206A_200C_202A_200E_202A_206C_202D_202E_200C_200E_200B_206B_200D_206B_202B_206C_202D_206D_200E_206F_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static long _206C_206C_200B_200F_202A_200B_206C_202B_206C_202B_202C_200B_206E_206C_200D_200D_200F_200C_202C_202B_202C_206B_202B_200F_200E_200F_200B_200B_202D_202A_206D_200E_200B_206F_206D_202D_202E_200D_202B_200D_202E() + { + return Environment.TickCount64; + } + + static void _202C_200F_200E_206B_200C_202A_206F_202B_202C_202E_206B_200B_200C_200D_202E_202B_206F_206D_202B_206F_202B_202E_202E_202E_200B_200F_200B_206F_202C_202C_202C_202C_206C_206C_206A_206F_206C_202B_200E_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static void _200F_206C_200C_202A_206B_206E_200D_200C_206C_202D_206E_200D_200E_202B_200C_202C_202E_200F_200E_206F_200D_202C_200D_206A_206F_200D_202A_200B_206F_202D_200E_206A_206C_206E_202C_206D_206E_200E_206E_202A_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/DutyRetryState.cs b/Questionable/Questionable.Controller.Steps.Interactions/DutyRetryState.cs new file mode 100644 index 00000000..e290bf1b --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Interactions/DutyRetryState.cs @@ -0,0 +1,70 @@ +namespace Questionable.Controller.Steps.Interactions; + +internal sealed class DutyRetryState +{ + private int _retryCount; + + public bool AwaitingOutcome { get; private set; } + + public bool CanRetry(int maxRetries) + { + int num = ((maxRetries < 0) ? 1447023727 : 1447023721); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = 1447023724; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1447023721; + break; + case 4: + result = _retryCount < maxRetries; + num = 1447023725; + break; + case 3: + result = true; + num = 1447023725; + break; + case 2: + result = false; + num = 1447023725; + break; + case 5: + num = ((maxRetries != 0) ? 1447023720 : 1447023726); + break; + case 1: + return result; + } + } + } + + public void BeginAwaitingOutcome() + { + AwaitingOutcome = true; + } + + public void EndAwaitingOutcome() + { + AwaitingOutcome = false; + } + + public void RecordRetry() + { + int retryCount = _retryCount; + int num = 1; + int num2 = retryCount; + int num3 = num2 ^ num; + int num4 = num2 & num; + _retryCount = num3 + (num4 + num4); + 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 9e83d5fd..7a5c9475 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Emote.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Emote.cs @@ -1,5 +1,7 @@ using System; using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; using Questionable.Controller.Steps.Common; using Questionable.Functions; using Questionable.Model; @@ -11,59 +13,343 @@ internal static class Emote { internal sealed class Factory : ITaskFactory { + [MethodImpl(MethodImplOptions.NoInlining)] public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { - EInteractionType interactionType = step.InteractionType; - if ((interactionType == EInteractionType.SinglePlayerDuty || (uint)(interactionType - 28) <= 1u) ? true : false) + EInteractionType eInteractionType = _206E_200F_202D_200B_206F_206C_202E_200B_206F_200D_206D_206D_206E_200F_200F_206C_206D_200D_206D_200B_206D_202D_206E_206D_200B_200C_206F_202B_200E_206C_206F_200E_206E_200D_200F_206C_200F_202E_206E_200F_202E(step); + int num = ((eInteractionType == EInteractionType.SinglePlayerDuty) ? 600335815 : 600335808); + Mount.UnmountTask unmountTask = default(Mount.UnmountTask); + bool flag = default(bool); + while (true) { - if (!step.Emote.HasValue) + int num2 = num; + int num3 = 600335812; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 8: return Array.Empty(); + case 2: + _200E_200C_202D_206D_202C_200C_206B_206C_206D_200E_206C_200E_206E_206B_200C_206F_200B_200D_206E_200B_200B_202E_206B_200E_200D_206F_206A_200F_200E_202E_200B_206D_200E_200E_202C_202B_202D_206B_200D_206C_202E((object)_202C_206B_202E_200E_200F_200F_206F_200B_206A_206C_202B_202A_200E_202D_206D_206A_200D_200E_200E_206C_202A_202A_202E_200E_206D_206A_206F_202A_200C_202D_200F_202B_202C_200E_206C_200E_202C_206A_206A_200E_202E(step), global::_003CModule_003E._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(-837937279)); + unmountTask = new Mount.UnmountTask(); + num = ((!_202E_202D_206C_206B_206E_202A_202D_200B_200E_200B_202D_200C_200C_206B_202A_202B_202A_202C_206E_202C_206A_200C_200C_206B_200C_206C_200D_206D_202C_202B_206C_206B_206A_200F_202C_206D_206C_202C_206E_200F_202E(step).HasValue) ? 600335811 : 600335813); + break; + case 0: + num = 600335808; + break; + case 5: + num = ((!flag) ? 600335823 : 600335821); + break; + case 6: + return Array.Empty(); + case 11: + num = ((_206E_200F_202D_200B_206F_206C_202E_200B_206F_200D_206D_206D_206E_200F_200F_206C_206D_200D_206D_200B_206D_202D_206E_206D_200B_200C_206F_202B_200E_206C_206F_200E_206E_200D_200F_206C_200F_202E_206E_200F_202E(step) == EInteractionType.Emote) ? 600335814 : 600335810); + break; + case 7: + { + UseOnSelf useOnSelf = new UseOnSelf(_202C_206B_202E_200E_200F_200F_206F_200B_206A_206C_202B_202A_200E_202D_206D_206A_200D_200E_200E_206C_202A_202A_202E_200E_206D_206A_206F_202A_200C_202D_200F_202B_202C_200E_206C_200E_202C_206A_206A_200E_202E(step).Value); + return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { unmountTask, useOnSelf }); + } + case 9: + num = (_202C_206B_202E_200E_200F_200F_206F_200B_206A_206C_202B_202A_200E_202D_206D_206A_200D_200E_200E_206C_202A_202A_202E_200E_206D_206A_206F_202A_200C_202D_200F_202B_202C_200E_206C_200E_202C_206A_206A_200E_202E(step).HasValue ? 600335814 : 600335820); + break; + case 4: + num = (((uint)(eInteractionType - 30) > 1u) ? 600335822 : 600335815); + break; + case 10: + flag = false; + num = 600335809; + break; + case 1: + { + UseOnObject useOnObject = new UseOnObject(_202C_206B_202E_200E_200F_200F_206F_200B_206A_206C_202B_202A_200E_202D_206D_206A_200D_200E_200E_206C_202A_202A_202E_200E_206D_206A_206F_202A_200C_202D_200F_202B_202C_200E_206C_200E_202C_206A_206A_200E_202E(step).Value, _202E_202D_206C_206B_206E_202A_202D_200B_200E_200B_202D_200C_200C_206B_202A_202B_202A_202C_206E_202C_206A_200C_200C_206B_200C_206C_200D_206D_202C_202B_206C_206B_206A_200F_202C_206D_206C_202C_206E_200F_202E(step).Value); + return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { unmountTask, useOnObject }); + } + case 3: + flag = true; + num = 600335809; + break; } } - else if (step.InteractionType != EInteractionType.Emote) - { - return Array.Empty(); - } - ArgumentNullException.ThrowIfNull(step.Emote, "step.Emote"); - Mount.UnmountTask unmountTask = new Mount.UnmountTask(); - if (step.DataId.HasValue) - { - UseOnObject useOnObject = new UseOnObject(step.Emote.Value, step.DataId.Value); - return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { unmountTask, useOnObject }); - } - UseOnSelf useOnSelf = new UseOnSelf(step.Emote.Value); - return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { unmountTask, useOnSelf }); + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + + static EInteractionType _206E_200F_202D_200B_206F_206C_202E_200B_206F_200D_206D_206D_206E_200F_200F_206C_206D_200D_206D_200B_206D_202D_206E_206D_200B_200C_206F_202B_200E_206C_206F_200E_206E_200D_200F_206C_200F_202E_206E_200F_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static EEmote? _202C_206B_202E_200E_200F_200F_206F_200B_206A_206C_202B_202A_200E_202D_206D_206A_200D_200E_200E_206C_202A_202A_202E_200E_206D_206A_206F_202A_200C_202D_200F_202B_202C_200E_206C_200E_202C_206A_206A_200E_202E(QuestStep P_0) + { + return P_0.Emote; + } + + static void _200E_200C_202D_206D_202C_200C_206B_206C_206D_200E_206C_200E_206E_206B_200C_206F_200B_200D_206E_200B_200B_202E_206B_200E_200D_206F_206A_200F_200E_202E_200B_206D_200E_200E_202C_202B_202D_206B_200D_206C_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static uint? _202E_202D_206C_206B_206E_202A_202D_200B_200E_200B_202D_200C_200C_206B_202A_202B_202A_202C_206E_202C_206A_200C_200C_206B_200C_206C_200D_206D_202C_202B_206C_206B_206A_200F_202C_206D_206C_202C_206E_200F_202E(QuestStep P_0) + { + return P_0.DataId; } } internal sealed record UseOnObject(EEmote Emote, uint DataId) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206B_200D_206F_200D_206F_200C_202E_206A_202D_202E_200C_206E_206D_206D_202C_200D_202B_206D_200C_200C_200C_200E_206B_206C_202C_200D_206E_206F_206C_206D_206A_206E_206A_200F_202B_202E_206F_200B_206A_202C_202E(typeof(UseOnObject).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Emote({Emote} on {DataId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(11, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2087986807)); + defaultInterpolatedStringHandler.AppendFormatted(Emote); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(858401592)); + defaultInterpolatedStringHandler.AppendFormatted(DataId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_200C_202B_202E_202C_200D_206C_206E_202C_202B_202C_202A_200C_200B_206B_202B_202A_200E_202E_200E_206B_202B_202A_202D_206C_206B_202E_200E_200C_200F_206E_202A_200D_206A_200B_202D_200C_202C_206D_200C_202E(); + _202C_202E_200D_202C_200D_206E_202A_200F_202C_200C_200F_200D_206D_202A_202B_202A_206B_206C_202B_206A_206C_202E_200F_200C_206D_202E_202D_206A_202A_206A_202C_206C_200C_206A_206E_202E_206A_202C_202B_206E_202E(builder, global::_003CModule_003E._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(1120730526)); + _202C_202E_200D_202C_200D_206E_202A_200F_202C_200C_200F_200D_206D_202A_202B_202A_206B_206C_202B_206A_206C_202E_200F_200C_206D_202E_202D_206A_202A_206A_202C_206C_200C_206A_206E_202E_206A_202C_202B_206E_202E(builder, Emote.ToString()); + _202C_202E_200D_202C_200D_206E_202A_200F_202C_200C_200F_200D_206D_202A_202B_202A_206B_206C_202B_206A_206C_202E_200F_200C_206D_202E_202D_206A_202A_206A_202C_206C_200C_206A_206E_202E_206A_202C_202B_206E_202E(builder, global::_003CModule_003E._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(-1696435016)); + _202C_202E_200D_202C_200D_206E_202A_200F_202C_200C_200F_200D_206D_202A_202B_202A_206B_206C_202B_206A_206C_202E_200F_200C_206D_202E_202D_206A_202A_206A_202C_206C_200C_206A_206E_202E_206A_202C_202B_206E_202E(builder, DataId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(UseOnObject? other) + { + int num = (((object)this == other) ? 1765406967 : 1765406963); + while (true) + { + int num2 = num; + int num3 = 1765406965; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return EqualityComparer.Default.Equals(DataId, other.DataId); + case 1: + num = ((!_200C_200B_202E_200E_202D_200C_200F_202B_202B_200B_206B_200B_206C_202D_206A_202A_200E_202B_206D_200D_206A_202D_200D_206D_200B_202A_206A_200E_202B_202E_206A_202D_206C_206B_200D_206D_202D_200D_200E_200E_202E(EqualityContract, other.EqualityContract)) ? 1765406965 : 1765406960); + break; + case 2: + return true; + case 0: + return false; + case 4: + num = 1765406963; + break; + case 5: + num = ((!EqualityComparer.Default.Equals(Emote, other.Emote)) ? 1765406965 : 1765406966); + break; + case 6: + num = (((object)other == null) ? 1765406965 : 1765406964); + break; + } + } + } + + bool IEquatable.Equals(UseOnObject? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206B_200D_206F_200D_206F_200C_202E_206A_202D_202E_200C_206E_206D_206D_202C_200D_202B_206D_200C_200C_200C_200E_206B_206C_202C_200D_206E_206F_206C_206D_206A_206E_206A_200F_202B_202E_206F_200B_206A_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200B_200C_202B_202E_202C_200D_206C_206E_202C_202B_202C_202A_200C_200B_206B_202B_202A_200E_202E_200E_206B_202B_202A_202D_206C_206B_202E_200E_200C_200F_206E_202A_200D_206A_200B_202D_200C_202C_206D_200C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202C_202E_200D_202C_200D_206E_202A_200F_202C_200C_200F_200D_206D_202A_202B_202A_206B_206C_202B_206A_206C_202E_200F_200C_206D_202E_202D_206A_202A_206A_202C_206C_200C_206A_206E_202E_206A_202C_202B_206E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_200B_202E_200E_202D_200C_200F_202B_202B_200B_206B_200B_206C_202D_206A_202A_200E_202B_206D_200D_206A_202D_200D_206D_200B_202A_206A_200E_202B_202E_206A_202D_206C_206B_200D_206D_202D_200D_200E_200E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } 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() + { + int num = (_emoteFired ? 594920649 : 594920652); + while (true) + { + int num2 = num; + int num3 = 594920655; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 594920652; + break; + case 5: + _emoteFired = chatFunctions.UseEmote(base.Task.DataId, base.Task.Emote); + _retryAt = _200E_206B_200E_206D_200B_200D_202C_200F_202D_200F_202A_200F_206A_206D_206B_200D_206D_206A_202C_202D_200E_200C_202D_206A_206B_202C_200F_206A_200D_202B_200F_200D_200B_206B_202E_200E_206B_206F_200D_202B_202E() + 1000; + return ETaskResult.StillRunning; + case 1: + { + int attempts = _attempts; + num3 = 1; + num4 = attempts; + _attempts = (num4 | num3) + (num4 & num3); + num = ((_attempts <= 10) ? 594920650 : 594920653); + break; + } + case 3: + num = ((_200E_206B_200E_206D_200B_200D_202C_200F_202D_200F_202A_200F_206A_206D_206B_200D_206D_206A_202C_202D_200E_200C_202D_206A_206B_202C_200F_206A_200D_202B_200F_200D_200B_206B_202E_200E_206B_206F_200D_202B_202E() >= _retryAt) ? 594920654 : 594920651); + break; + case 2: + return ETaskResult.RetryStep; + case 6: + return ETaskResult.TaskComplete; + case 4: + return ETaskResult.StillRunning; + } + } + } + public override bool ShouldInterruptOnDamage() { return true; } + + static long _200E_206B_200E_206D_200B_200D_202C_200F_202D_200F_202A_200F_206A_206D_206B_200D_206D_206A_202C_202D_200E_200C_202D_206A_206B_202C_200F_206A_200D_202B_200F_200D_200B_206B_202E_200E_206B_206F_200D_202B_202E() + { + return Environment.TickCount64; + } } internal sealed record UseOnSelf(EEmote Emote) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_202C_202A_202E_206A_202B_202A_206E_206D_206F_206C_206D_202E_202C_206F_202A_202E_206D_200D_206B_202C_206F_202E_206A_202C_206C_200C_200E_202E_206C_206E_200B_206E_206A_206B_206B_202B_200F_202C_206E_202E(typeof(UseOnSelf).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Emote({Emote})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(7, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-683666426)); + defaultInterpolatedStringHandler.AppendFormatted(Emote); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206F_202B_200C_202E_202C_206C_206A_200B_200D_200D_202E_200B_200D_202A_200C_206A_200E_206F_200B_206A_206C_202E_202A_206F_206D_200F_206C_206E_206A_200F_202A_202A_206D_206F_202B_200B_206F_206E_206B_202C_202E(); + _202C_200C_202A_200B_202A_206E_206B_202E_202B_202C_200D_202B_206E_200F_200F_202E_200C_200E_206F_206B_200C_206A_200E_200F_206A_206E_206D_202C_200B_200B_206F_202B_206B_202A_200D_206E_202A_206B_206C_206A_202E(builder, global::_003CModule_003E._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(1730990163)); + _202C_200C_202A_200B_202A_206E_206B_202E_202B_202C_200D_202B_206E_200F_200F_202E_200C_200E_206F_206B_200C_206A_200E_200F_206A_206E_206D_202C_200B_200B_206F_202B_206B_202A_200D_206E_202A_206B_206C_206A_202E(builder, Emote.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(UseOnSelf? other) + { + int num = (((object)this == other) ? 748944123 : 748944126); + while (true) + { + int num2 = num; + int num3 = 748944127; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + return EqualityComparer.Default.Equals(Emote, other.Emote); + case 2: + num = ((!_202A_200B_206A_202D_206D_202E_206C_206E_200B_202C_202D_206C_206B_200D_202D_200B_202D_206D_200D_200C_206F_206B_202A_200C_202B_206A_200B_206B_206F_206C_200F_200E_200C_206D_206A_200C_202B_202A_206C_206B_202E(EqualityContract, other.EqualityContract)) ? 748944124 : 748944122); + break; + case 4: + return true; + case 0: + num = 748944126; + break; + case 3: + return false; + case 1: + num = (((object)other == null) ? 748944124 : 748944125); + break; + } + } + } + + bool IEquatable.Equals(UseOnSelf? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_202C_202A_202E_206A_202B_202A_206E_206D_206F_206C_206D_202E_202C_206F_202A_202E_206D_200D_206B_202C_206F_202E_206A_202C_206C_200C_200E_202E_206C_206E_200B_206E_206A_206B_206B_202B_200F_202C_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206F_202B_200C_202E_202C_206C_206A_200B_200D_200D_202E_200B_200D_202A_200C_206A_200E_206F_200B_206A_206C_202E_202A_206F_206D_200F_206C_206E_206A_200F_202A_202A_206D_206F_202B_200B_206F_206E_206B_202C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202C_200C_202A_200B_202A_206E_206B_202E_202B_202C_200D_202B_206E_200F_200F_202E_200C_200E_206F_206B_200C_206A_200E_200F_206A_206E_206D_202C_200B_200B_206F_202B_206B_202A_200D_206E_202A_206B_206C_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _202A_200B_206A_202D_206D_202E_206C_206E_200B_202C_202D_206C_206B_200D_202D_200B_202D_206D_200D_200C_206F_206B_202A_200C_202B_206A_200B_206B_206F_206C_200F_200E_200C_206D_206A_200C_202B_202A_206C_206B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/EquipItem.cs b/Questionable/Questionable.Controller.Steps.Interactions/EquipItem.cs index fb1603a4..7df1dabb 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/EquipItem.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/EquipItem.cs @@ -1,11 +1,15 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Text; 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; @@ -18,22 +22,135 @@ internal static class EquipItem { internal sealed class Factory : SimpleTaskFactory { + [MethodImpl(MethodImplOptions.NoInlining)] public override ITask? CreateTask(Questionable.Model.Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.EquipItem) + int num = ((_206E_202C_202B_206E_202A_200F_200F_200D_206D_200B_202E_206B_200D_200E_200E_206A_202A_200D_202D_202B_206A_202B_206A_206A_206E_206C_202E_206E_200E_206A_206F_206C_200E_202B_206D_202D_202A_202A_206E_206F_202E(step) == EInteractionType.EquipItem) ? (-1960316662) : (-1960316663)); + while (true) { - return null; + int num2 = num; + int num3 = -1960316664; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _200C_206A_206A_206C_202C_206E_200B_202D_200E_206C_202B_206A_206F_206C_206C_202E_202C_206A_206C_200B_206D_206F_200F_202D_206A_202C_206F_206B_202A_202D_200C_206B_202E_200F_206C_200E_202A_202C_206C_202A_202E((object)_206A_202C_206D_200D_202B_206E_200B_206A_206E_206F_202D_200E_202E_206E_200B_202C_202B_202D_200F_202B_206B_202E_202C_200C_202B_202C_206A_206C_202C_206F_206F_206E_200C_206E_206B_206A_206C_202D_206E_200E_202E(step), global::_003CModule_003E._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(775023194)); + return new Task(_206A_202C_206D_200D_202B_206E_200B_206A_206E_206F_202D_200E_202E_206E_200B_202C_202B_202D_200F_202B_206B_202E_202C_200C_202B_202C_206A_206C_202C_206F_206F_206E_200C_206E_206B_206A_206C_202D_206E_200E_202E(step).Value); + case 1: + return null; + case 0: + goto IL_0078; + } + continue; + IL_0078: + num = -1960316663; } - ArgumentNullException.ThrowIfNull(step.ItemId, "step.ItemId"); - return new Task(step.ItemId.Value); + } + + static EInteractionType _206E_202C_202B_206E_202A_200F_200F_200D_206D_200B_202E_206B_200D_200E_200E_206A_202A_200D_202D_202B_206A_202B_206A_206A_206E_206C_202E_206E_200E_206A_206F_206C_200E_202B_206D_202D_202A_202A_206E_206F_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static uint? _206A_202C_206D_200D_202B_206E_200B_206A_206E_206F_202D_200E_202E_206E_200B_202C_202B_202D_200F_202B_206B_202E_202C_200C_202B_202C_206A_206C_202C_206F_206F_206E_200C_206E_206B_206A_206C_202D_206E_200E_202E(QuestStep P_0) + { + return P_0.ItemId; + } + + static void _200C_206A_206A_206C_202C_206E_200B_202D_200E_206C_202B_206A_206F_206C_206C_202E_202C_206A_206C_200B_206D_206F_200F_202D_206A_202C_206F_206B_202A_202D_200C_206B_202E_200F_206C_200E_202A_202C_206C_202A_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); } } internal sealed record Task(uint ItemId) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202A_200B_202C_202C_206F_200C_202E_202A_200E_206E_206A_206F_206F_200E_206D_200B_206D_200B_206C_202C_206F_206E_206E_206A_202B_206D_206D_206C_200E_206F_200E_206D_200E_200B_206A_200C_206F_202B_200C_200C_202E(typeof(Task).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Equip({ItemId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(7, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1269144091)); + defaultInterpolatedStringHandler.AppendFormatted(ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206B_200F_206D_206D_206A_206A_206D_206F_202C_202D_206E_200D_200C_206D_200E_202B_206A_206F_200C_206F_202A_200E_202D_202E_202B_202E_206B_202C_200C_206C_202D_202A_206A_206C_202B_206A_202C_200D_206A_200E_202E(); + _206D_206A_202E_202A_206E_202D_200C_206C_206E_202D_202B_200E_202C_202B_206C_206C_206C_200F_206A_206F_200E_206C_206D_202A_200E_200B_206F_202C_202D_202D_202A_206E_206B_200D_200E_206F_202A_202A_202C_202A_202E(builder, global::_003CModule_003E._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(1149877868)); + _206D_206A_202E_202A_206E_202D_200C_206C_206E_202D_202B_200E_202C_202B_206C_206C_206C_200F_206A_206F_200E_206C_206D_202A_200E_200B_206F_202C_202D_202D_202A_206E_206B_200D_200E_206F_202A_202A_202C_202A_202E(builder, ItemId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? 916478318 : 916478314); + while (true) + { + int num2 = num; + int num3 = 916478319; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return EqualityComparer.Default.Equals(ItemId, other.ItemId); + case 5: + num = (((object)other == null) ? 916478317 : 916478319); + break; + case 3: + num = 916478314; + break; + case 2: + return false; + case 0: + num = ((!_206C_200B_202B_200E_202A_206E_206A_206B_200B_202D_206E_200B_200B_206D_206E_200F_202C_206C_200F_200F_202D_202D_206A_206B_200F_206A_202E_200E_202C_206B_202E_200E_206B_200D_202C_200F_202C_200E_200B_206F_202E(EqualityContract, other.EqualityContract)) ? 916478317 : 916478315); + break; + case 1: + return true; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202A_200B_202C_202C_206F_200C_202E_202A_200E_206E_206A_206F_206F_200E_206D_200B_206D_200B_206C_202C_206F_206E_206E_206A_202B_206D_206D_206C_200E_206F_200E_206D_200E_200B_206A_200C_206F_202B_200C_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206B_200F_206D_206D_206A_206A_206D_206F_202C_202D_206E_200D_200C_206D_200E_202B_206A_206F_200C_206F_202A_200E_202D_202E_202B_202E_206B_202C_200C_206C_202D_202A_206A_206C_202B_206A_202C_200D_206A_200E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206D_206A_202E_202A_206E_202D_200C_206C_206E_202D_202B_200E_202C_202B_206C_206C_206C_200F_206A_206F_200E_206C_206D_202A_200E_200B_206F_202C_202D_202D_202A_206E_206B_200D_200E_206F_202A_202A_202C_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _206C_200B_202B_200E_202A_206E_206A_206B_200B_202D_206E_200B_200B_206D_206E_200F_202C_206C_200F_200F_202D_202D_206A_206B_200F_206A_202E_200E_202C_206B_202E_200E_206B_200D_202C_200F_202C_200E_200B_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -41,25 +158,7 @@ internal static class EquipItem { private const int MaxAttempts = 3; - private static readonly IReadOnlyList SourceInventoryTypes = new global::_003C_003Ez__ReadOnlyArray(new InventoryType[16] - { - InventoryType.ArmoryMainHand, - InventoryType.ArmoryOffHand, - InventoryType.ArmoryHead, - InventoryType.ArmoryBody, - InventoryType.ArmoryHands, - InventoryType.ArmoryLegs, - InventoryType.ArmoryFeets, - InventoryType.ArmoryEar, - InventoryType.ArmoryNeck, - InventoryType.ArmoryWrist, - InventoryType.ArmoryRings, - InventoryType.ArmorySoulCrystal, - InventoryType.Inventory1, - InventoryType.Inventory2, - InventoryType.Inventory3, - InventoryType.Inventory4 - }); + private static readonly IReadOnlyList SourceInventoryTypes; private int _attempts; @@ -67,164 +166,392 @@ internal static class EquipItem private List _targetSlots; - private DateTime _continueAt = DateTime.MaxValue; + private long _continueAt = long.MaxValue; + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - _item = dataManager.GetExcelSheet().GetRowOrDefault(base.Task.ItemId) ?? throw new ArgumentOutOfRangeException("ItemId"); - _targetSlots = GetEquipSlot(_item) ?? throw new InvalidOperationException("Not a piece of equipment"); + _item = ((ItemHandle)base.Task.ItemId).GetRow(dataManager) ?? throw _202D_206F_200D_200B_200E_200F_200C_200F_206A_200C_206E_202E_206F_202B_202B_200D_206B_200F_200B_206E_202A_200C_202B_202B_200F_206A_200F_202C_206F_206F_202C_200D_206F_206D_202B_206D_202A_206E_200F_206D_202E(global::_003CModule_003E._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(-1077249422)); + _targetSlots = GetEquipSlot(_item) ?? throw _202C_202B_200C_200E_206C_200C_206A_206A_206E_202D_200E_206D_202B_200F_206A_202C_202C_200C_206D_206E_202B_206A_200F_200F_200F_206C_200C_206C_200F_206C_200C_202C_206E_206F_202C_200C_206D_200D_200B_202A_202E(global::_003CModule_003E._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(1196644281)); Equip(); - _continueAt = DateTime.Now.AddSeconds(1.0); + _continueAt = _206D_202E_200E_200D_202A_206E_200E_200E_200F_206C_206F_206F_200F_200C_200D_206D_202A_206A_206C_206F_200E_206F_200F_206C_206F_202D_200D_202E_202E_202B_202C_206A_202D_206E_200C_206A_200B_206E_206D_206A_202E() + 1000; return true; } - public unsafe override ETaskResult Update() + public override ETaskResult Update() { - if (DateTime.Now < _continueAt) + int num = ((_206D_202E_200E_200D_202A_206E_200E_200E_200F_206C_206F_206F_200F_200C_200D_206D_202A_206A_206C_206F_200E_206F_200F_206C_206F_202D_200D_202E_202E_202B_202C_206A_202D_206E_200C_206A_200B_206E_206D_206A_202E() >= _continueAt) ? (-1725394015) : (-1725394009)); + while (true) { - return ETaskResult.StillRunning; - } - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) - { - return ETaskResult.StillRunning; - } - foreach (ushort targetSlot in _targetSlots) - { - InventoryItem* inventorySlot = ptr->GetInventorySlot(InventoryType.EquippedItems, targetSlot); - if (inventorySlot != null && inventorySlot->ItemId == base.Task.ItemId) + int num2 = num; + int num3 = -1725394013; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 2: + num = ((!_200B_206F_200E_202D_200D_206A_202C_200F_202E_206D_206A_206D_202A_200C_202C_206B_200D_206E_200E_202D_202B_200F_202C_206A_202B_202C_202A_200E_206A_200D_206C_206C_202E_202E_200C_202E_206F_202C_200B_206E_202E(base.Task.ItemId)) ? (-1725394014) : (-1725394016)); + break; + case 4: + return ETaskResult.StillRunning; + case 3: return ETaskResult.TaskComplete; + case 0: + num = -1725394009; + break; + case 1: + Equip(); + _continueAt = _206D_202E_200E_200D_202A_206E_200E_200E_200F_206C_206F_206F_200F_200C_200D_206D_202A_206A_206C_206F_200E_206F_200F_206C_206F_202D_200D_202E_202E_202B_202C_206A_202D_206E_200C_206A_200B_206E_206D_206A_202E() + 1000; + return ETaskResult.StillRunning; } } - Equip(); - _continueAt = DateTime.Now.AddSeconds(1.0); - return ETaskResult.StillRunning; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void Equip() { - _attempts++; - if (_attempts > 3) + int attempts = _attempts; + int num = 1; + int num2 = attempts; + _attempts = (num2 | num) + (num2 & num); + int num3 = ((_attempts <= 3) ? 2032675570 : 2032675573); + InventoryManager* inventoryManager = default(InventoryManager*); + ushort num11 = default(ushort); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + InventoryType current = default(InventoryType); + InventoryItem* inventorySlot = default(InventoryItem*); + while (true) { - throw new TaskException("Unable to equip gear."); - } - InventoryManager* inventoryManager = InventoryManager.Instance(); - if (inventoryManager == null) - { - return; - } - InventoryContainer* inventoryContainer = inventoryManager->GetInventoryContainer(InventoryType.EquippedItems); - if (inventoryContainer == null) - { - return; - } - foreach (ushort targetSlot in _targetSlots) - { - InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(targetSlot); - if (inventorySlot != null && inventorySlot->ItemId == base.Task.ItemId) + int num4 = num3; + num = 2032675575; + num2 = num4; + int num5 = num2 + num; + int num6 = num2 & num; + switch (num5 - (num6 + num6)) { - logger.LogInformation("Already equipped {Item}, skipping step", _item?.Name.ToString()); + case 0: + num3 = 2032675573; + break; + case 4: + num3 = ((!_200B_206F_200E_202D_200D_206A_202C_200F_202E_206D_206A_206D_202A_200C_202C_206B_200D_206E_200E_202D_202B_200F_202C_206A_202B_202C_202A_200E_206A_200D_206C_206C_202E_202E_200C_202E_206F_202C_200B_206E_202E(base.Task.ItemId)) ? 2032675572 : 2032675569); + break; + case 6: + _206C_206A_200D_200F_200F_202A_200B_206A_200C_206E_200E_200C_206D_200E_202B_206A_206C_202E_206D_206B_200D_206F_200B_202C_206C_200E_202A_200E_202C_202E_206B_200D_200C_202B_206B_200F_200E_200D_202A_200F_202E((ILogger)logger, global::_003CModule_003E._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(764444822), new object[1] { _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)) + case 2: + throw new TaskException(global::_003CModule_003E._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(2089703109)); + case 1: + return; + case 5: + inventoryManager = InventoryManager.Instance(); + num3 = ((inventoryManager != null) ? 2032675571 : 2032675574); + break; + case 3: { - continue; - } - for (ushort num = 0; num < inventoryContainer2->Size; num++) - { - InventoryItem* inventorySlot2 = inventoryContainer2->GetInventorySlot(num); - if (inventorySlot2 != null && inventorySlot2->ItemId == base.Task.ItemId) + IEnumerator enumerator = SourceInventoryTypes.GetEnumerator(); + try { - ushort num2 = _targetSlots.Where(delegate(ushort x) + num3 = -665926440; + while (true) { - InventoryItem* inventorySlot3 = inventoryManager->GetInventorySlot(InventoryType.EquippedItems, x); - return inventorySlot3 == null || inventorySlot3->ItemId == 0; - }).Concat(_targetSlots).First(); - logger.LogInformation("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); - return; + int num7 = num3; + num = -665926439; + num2 = num7; + int num8 = num2 + num; + int num9 = num2 & num; + switch (num8 - (num9 + num9)) + { + case 4: + num11 = 0; + num3 = -665926436; + break; + case 1: + num3 = (_206B_200C_206A_206B_206A_202D_206C_200F_206B_206A_206D_200F_200C_202B_200C_206B_202B_200B_200B_202E_200E_200B_200C_200B_202C_200F_206B_206D_200E_206C_206B_200B_200F_202E_200D_206F_200E_202A_200E_200D_202E((IEnumerator)enumerator) ? (-665926434) : (-665926439)); + break; + case 5: + num3 = ((num11 < inventoryContainer->Size) ? (-665926438) : (-665926440)); + break; + case 2: + { + ushort num14 = _targetSlots.Where(delegate(ushort x) + { + InventoryItem* inventorySlot2 = inventoryManager->GetInventorySlot(InventoryType.EquippedItems, x); + int num19 = ((inventorySlot2 == null) ? 1990589233 : 1990589234); + while (true) + { + int num20 = num19; + int num21 = 1990589232; + int num22 = num20; + int num23 = num22 + num21; + int num24 = num22 & num21; + switch (num23 - (num24 + num24)) + { + case 0: + goto IL_0057; + case 1: + return true; + case 2: + return inventorySlot2->ItemId == 0; + } + continue; + IL_0057: + num19 = 1990589234; + } + }).Concat(_targetSlots).First(); + _206C_206A_200D_200F_200F_202A_200B_206A_200C_206E_200E_200C_206D_200E_202B_206A_206C_202E_206D_206B_200D_206F_200B_202C_206C_200E_202A_200E_202C_202E_206B_200D_200C_202B_206B_200F_200E_200D_202A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-2001963263), new object[4] + { + current, + num11, + InventoryType.EquippedItems, + num14 + }); + int num15 = inventoryManager->MoveItemSlot(current, num11, InventoryType.EquippedItems, num14, a6: true); + _206C_206A_200D_200F_200F_202A_200B_206A_200C_206E_200E_200C_206D_200E_202B_206A_206C_202E_206D_206B_200D_206F_200B_202C_206C_200E_202A_200E_202C_202E_206B_200D_200C_202B_206B_200F_200E_200D_202A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1852506223), new object[1] { num15 }); + return; + } + case 9: + num3 = -665926440; + break; + case 6: + { + ushort num10 = num11; + num = 1; + num2 = num10; + int num12 = num2 ^ num; + int num13 = num2 & num; + num11 = (ushort)(num12 + (num13 + num13)); + num3 = -665926436; + break; + } + case 8: + num3 = ((inventorySlot->ItemId != base.Task.ItemId) ? (-665926433) : (-665926437)); + break; + case 3: + inventorySlot = inventoryContainer->GetInventorySlot(num11); + num3 = ((inventorySlot == null) ? (-665926433) : (-665926447)); + break; + case 7: + current = enumerator.Current; + inventoryContainer = inventoryManager->GetInventoryContainer(current); + num3 = ((inventoryContainer == null) ? (-665926440) : (-665926435)); + break; + case 0: + goto end_IL_0167; + } + continue; + end_IL_0167: + break; + } } + finally + { + num3 = ((enumerator == null) ? (-1329874453) : (-1329874454)); + while (true) + { + int num16 = num3; + num = -1329874453; + num2 = num16; + int num17 = num2 + num; + int num18 = num2 & num; + switch (num17 - (num18 + num18)) + { + case 2: + num3 = -1329874454; + break; + case 0: + goto end_IL_03c4; + case 1: + _200F_206D_202E_206B_200E_206D_202C_206A_206C_200B_206D_202A_200F_202B_200C_206E_206C_200B_206D_202B_206F_202B_202B_206D_202B_202A_202A_200E_200C_202A_200E_202E_200C_202C_206A_202C_206C_200D_202C_202E_202E((IDisposable)enumerator); + num3 = -1329874453; + break; + } + continue; + end_IL_03c4: + break; + } + } + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(22, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-639221766)); + defaultInterpolatedStringHandler.AppendFormatted(base.Task.ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-978038014)); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } } } - throw new TaskException($"Could not equip item {base.Task.ItemId}."); } private static List? GetEquipSlot(Item? item) { - if (!item.HasValue) + int num = (item.HasValue ? 1849291533 : 1849291535); + uint rowId = default(uint); + List result = default(List); + while (true) { - return new List(); - } - switch (item.Value.EquipSlotCategory.RowId) - { - case 1u: - case 2u: - case 3u: - case 4u: - case 5u: - case 6u: - case 7u: - case 8u: - case 9u: - case 10u: - case 11u: - { - int num = 1; - List list4 = new List(num); - CollectionsMarshal.SetCount(list4, num); - CollectionsMarshal.AsSpan(list4)[0] = (ushort)(item.Value.EquipSlotCategory.RowId - 1); - return list4; - } - case 12u: - { - int num = 2; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - Span span = CollectionsMarshal.AsSpan(list3); - span[0] = 11; - span[1] = 12; - return list3; - } - case 13u: - { - int num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = 0; - return list2; - } - case 17u: - { - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = 13; - return list; - } - default: - return null; + int num2 = num; + int num3 = 1849291534; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = ((rowId == 12) ? 1849291532 : 1849291523); + break; + case 3: + rowId = item.Value.EquipSlotCategory.RowId; + num = ((rowId < 1) ? 1849291526 : 1849291524); + break; + case 12: + { + int num5 = 1; + List list4 = new List(num5); + CollectionsMarshal.SetCount(list4, num5); + CollectionsMarshal.AsSpan(list4)[0] = 13; + result = list4; + num = 1849291527; + break; + } + case 1: + return null; + case 11: + { + int num5 = 1; + List list2 = new List(num5); + CollectionsMarshal.SetCount(list2, num5); + CollectionsMarshal.AsSpan(list2)[0] = 0; + result = list2; + num = 1849291527; + break; + } + case 13: + num = ((rowId == 13) ? 1849291525 : 1849291528); + break; + case 10: + num = ((rowId <= 11) ? 1849291530 : 1849291531); + break; + case 4: + { + int num5 = 1; + List list3 = new List(num5); + CollectionsMarshal.SetCount(list3, num5); + CollectionsMarshal.AsSpan(list3)[0] = (ushort)(item.Value.EquipSlotCategory.RowId - 1); + result = list3; + num = 1849291527; + break; + } + case 7: + num = 1849291535; + break; + case 6: + num = ((rowId == 17) ? 1849291522 : 1849291534); + break; + case 0: + num = 1849291526; + break; + case 8: + result = null; + num = 1849291527; + break; + case 9: + return result; + case 2: + { + int num5 = 2; + List list = new List(num5); + CollectionsMarshal.SetCount(list, num5); + Span span = CollectionsMarshal.AsSpan(list); + span[0] = 11; + span[1] = 12; + result = list; + num = 1849291527; + break; + } + } } } public bool OnErrorToast(SeString message) { string b = dataManager.GetString(709u, (LogMessage x) => x.Text); - if (GameFunctions.GameStringEquals(message.TextValue, b)) + int num = ((!GameFunctions.GameStringEquals(_200C_206D_206F_202A_202B_206F_202C_206F_206E_206D_202B_200D_202E_202D_202C_202D_202E_200B_206A_202E_200D_200F_206D_206A_206D_206F_206A_206A_202D_202A_206D_206D_200B_206A_206D_202B_206C_206A_202D_202D_202E(message), b)) ? 1240228835 : 1240228832); + while (true) { - _attempts = 3; + int num2 = num; + int num3 = 1240228834; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1240228832; + break; + case 2: + _attempts = 3; + num = 1240228835; + break; + case 1: + return false; + } } - return false; + } + + bool IToastAware.OnErrorToast(SeString message) + { + //ILSpy generated this explicit interface implementation from .override directive in OnErrorToast + return this.OnErrorToast(message); } public override bool ShouldInterruptOnDamage() { return true; } + + static DoEquip() + { + InventoryType[] array = new InventoryType[16]; + _206C_202D_200F_202E_200F_202A_200E_206A_206C_206E_202B_200D_202E_200C_206C_200F_200C_202C_202E_200D_200D_202E_200B_206E_202B_206E_202E_206C_206B_206D_200F_200F_206A_206A_200B_200F_200C_202B_202E_202C_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + SourceInventoryTypes = new global::_003C_003Ez__ReadOnlyArray(array); + } + + static ArgumentOutOfRangeException _202D_206F_200D_200B_200E_200F_200C_200F_206A_200C_206E_202E_206F_202B_202B_200D_206B_200F_200B_206E_202A_200C_202B_202B_200F_206A_200F_202C_206F_206F_202C_200D_206F_206D_202B_206D_202A_206E_200F_206D_202E(string P_0) + { + return new ArgumentOutOfRangeException(P_0); + } + + static InvalidOperationException _202C_202B_200C_200E_206C_200C_206A_206A_206E_202D_200E_206D_202B_200F_206A_202C_202C_200C_206D_206E_202B_206A_200F_200F_200F_206C_200C_206C_200F_206C_200C_202C_206E_206F_202C_200C_206D_200D_200B_202A_202E(string P_0) + { + return new InvalidOperationException(P_0); + } + + static long _206D_202E_200E_200D_202A_206E_200E_200E_200F_206C_206F_206F_200F_200C_200D_206D_202A_206A_206C_206F_200E_206F_200F_206C_206F_202D_200D_202E_202E_202B_202C_206A_202D_206E_200C_206A_200B_206E_206D_206A_202E() + { + return Environment.TickCount64; + } + + static bool _200B_206F_200E_202D_200D_206A_202C_200F_202E_206D_206A_206D_202A_200C_202C_206B_200D_206E_200E_202D_202B_200F_202C_206A_202B_202C_202A_200E_206A_200D_206C_206C_202E_202E_200C_202E_206F_202C_200B_206E_202E(uint P_0) + { + return InventoryHelper.IsItemEquipped(P_0); + } + + static void _206C_206A_200D_200F_200F_202A_200B_206A_200C_206E_200E_200C_206D_200E_202B_206A_206C_202E_206D_206B_200D_206F_200B_202C_206C_200E_202A_200E_202C_202E_206B_200D_200C_202B_206B_200F_200E_200D_202A_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206B_200C_206A_206B_206A_202D_206C_200F_206B_206A_206D_200F_200C_202B_200C_206B_202B_200B_200B_202E_200E_200B_200C_200B_202C_200F_206B_206D_200E_206C_206B_200B_200F_202E_200D_206F_200E_202A_200E_200D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200F_206D_202E_206B_200E_206D_202C_206A_206C_200B_206D_202A_200F_202B_200C_206E_206C_200B_206D_202B_206F_202B_202B_206D_202B_202A_202A_200E_200C_202A_200E_202E_200C_202C_206A_202C_206C_200D_202C_202E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static string _200C_206D_206F_202A_202B_206F_202C_206F_206E_206D_202B_200D_202E_202D_202C_202D_202E_200B_206A_202E_200D_200F_206D_206A_206D_206F_206A_206A_202D_202A_206D_206D_200B_206A_206D_202B_206C_206A_202D_202D_202E(SeString P_0) + { + return P_0.TextValue; + } + + static void _206C_202D_200F_202E_200F_202A_200E_206A_206C_206E_202B_200D_202E_200C_206C_200F_200C_202C_202E_200D_200D_202E_200B_206E_202B_206E_202E_206C_206B_206D_200F_200F_206A_206A_200B_200F_200C_202B_202E_202C_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/EquipRecommended.cs b/Questionable/Questionable.Controller.Steps.Interactions/EquipRecommended.cs index e1bd6317..3ccd7816 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/EquipRecommended.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/EquipRecommended.cs @@ -1,10 +1,20 @@ using System; +using System.Collections; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; 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; +using Lumina.Excel.Sheets; using Questionable.Model; using Questionable.Model.Questing; @@ -14,116 +24,1519 @@ 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) + int num = ((_200B_206C_206A_206C_202E_206C_200F_206E_202C_206B_200F_206C_202B_202D_200F_202D_206A_200B_200C_202D_206B_206D_206B_206A_202A_202D_206C_202B_202A_202B_206E_206B_202A_206F_200C_206B_206A_202A_206C_200C_202E(step) == EInteractionType.EquipRecommended) ? 2145116314 : 2145116313); + while (true) { - return null; + int num2 = num; + int num3 = 2145116312; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004a; + case 2: + return new EquipTask(); + case 1: + return null; + } + continue; + IL_004a: + num = 2145116313; } - return new EquipTask(); + } + + static EInteractionType _200B_206C_206A_206C_202E_206C_200F_206E_202C_206B_200F_206C_202B_202D_200F_202D_206A_200B_200C_202D_206B_206D_206B_206A_202A_202D_206C_202B_202A_202B_206E_206B_202A_206F_200C_206B_206A_202A_206C_200C_202E(QuestStep P_0) + { + return P_0.InteractionType; } } 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) + int num = ((_206C_202B_200D_200E_202E_200C_200B_202A_206D_202E_200B_202E_200C_206F_200B_202B_200D_200F_206E_200C_200F_206C_200D_206E_206F_206A_206C_202E_206B_200C_202B_200D_206E_206A_202A_206C_206C_202B_200F_200F_202E(step) == EInteractionType.Duty) ? 590292274 : 590292275); + while (true) { - return null; + int num2 = num; + int num3 = 590292273; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = ((_206C_202B_200D_200E_202E_200C_200B_202A_206D_202E_200B_202E_200C_206F_200B_202B_200D_200F_206E_200C_200F_206C_200D_206E_206F_206A_206C_202E_206B_200C_202B_200D_206E_206A_202A_206C_206C_202B_200F_200F_202E(step) == EInteractionType.Combat) ? 590292274 : 590292273); + break; + case 2: + num = ((_206C_202B_200D_200E_202E_200C_200B_202A_206D_202E_200B_202E_200C_206F_200B_202B_200D_200F_206E_200C_200F_206C_200D_206E_206F_206A_206C_202E_206B_200C_202B_200D_206E_206A_202A_206C_206C_202B_200F_200F_202E(step) == EInteractionType.SinglePlayerDuty) ? 590292274 : 590292272); + break; + case 3: + return new EquipTask(); + case 0: + return null; + case 4: + num = 590292275; + break; + } } - return new EquipTask(); + } + + static EInteractionType _206C_202B_200D_200E_202E_200C_200B_202A_206D_202E_200B_202E_200C_206F_200B_202B_200D_200F_206E_200C_200F_206C_200D_206E_206F_206A_206C_202E_206B_200C_202B_200D_206E_206A_202A_206C_206C_202B_200F_200F_202E(QuestStep P_0) + { + return P_0.InteractionType; } } internal sealed class EquipTask : ITask { + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "EquipRecommended"; + return global::_003CModule_003E._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(-223560380); } } - 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 bool _checkedOrTriggeredEquipmentUpdate; - - private DateTime _continueAt = DateTime.MinValue; - - protected unsafe override bool Start() + private readonly record struct PendingMove(InventoryType SourceContainer, int SourceSlot, uint SourceItemId, InventoryType DestinationContainer, int DestinationSlot) { - if (condition[ConditionFlag.InCombat]) + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() { - return false; - } - if (!(objectTable[0] is ICharacter character)) - { - return false; - } - RecommendEquipModule.Instance()->SetupForClassJob((byte)character.ClassJob.RowId); - return true; - } - - public unsafe override ETaskResult Update() - { - RecommendEquipModule* ptr = RecommendEquipModule.Instance(); - if (ptr->IsUpdating) - { - return ETaskResult.StillRunning; - } - if (!_checkedOrTriggeredEquipmentUpdate) - { - if (!IsAllRecommendeGearEquipped()) + StringBuilder stringBuilder = _202D_202D_206E_200E_200E_200F_202C_200D_206B_206B_200C_202E_206C_202E_200B_200F_206B_206A_206B_202C_202E_202A_200C_206E_200C_200E_206F_202B_202C_200B_206E_200F_206E_202D_200D_200B_200D_200E_206E_206F_202E(); + _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(stringBuilder, global::_003CModule_003E._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(-766310819)); + _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? (-916392380) : (-916392379)); + while (true) { - chatGui.Print("Equipping recommended gear.", "Questionable", 576); - ptr->EquipRecommendedGear(); - _continueAt = DateTime.Now.AddSeconds(1.0); - } - _checkedOrTriggeredEquipmentUpdate = true; - return ETaskResult.StillRunning; - } - if (!(DateTime.Now >= _continueAt)) - { - return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; - } - - private unsafe bool IsAllRecommendeGearEquipped() - { - RecommendEquipModule* intPtr = RecommendEquipModule.Instance(); - InventoryContainer* inventoryContainer = InventoryManager.Instance()->GetInventoryContainer(InventoryType.EquippedItems); - bool result = true; - Span> recommendedItems = intPtr->RecommendedItems; - for (int i = 0; i < recommendedItems.Length; i++) - { - Pointer pointer = recommendedItems[i]; - InventoryItem* value = pointer.Value; - if (value == null || value->ItemId == 0) - { - 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) + int num2 = num; + int num3 = -916392380; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - flag = true; + case 0: + _202D_200F_206A_206E_200F_200E_202A_202E_206E_206A_202C_202B_206A_202D_200C_202E_206A_206D_206E_200E_202C_206D_206F_206C_202E_202A_206C_206B_200C_202D_202A_202E_206C_200E_202C_200D_206C_200B_206F_206B_202E(stringBuilder, '}'); + return _202C_202A_200D_202B_206B_202A_202A_200E_200E_202D_200D_202B_200B_202E_206D_202C_200E_202A_206B_200C_202E_200B_200D_202D_206C_206A_206A_200D_202E_200E_200F_200F_202C_202B_200D_200C_200C_206D_200B_202C_202E((object)stringBuilder); + case 1: + _202D_200F_206A_206E_200F_200E_202A_202E_206E_206A_202C_202B_206A_202D_200C_202E_206A_206D_206E_200E_202C_206D_206F_206C_202E_202A_206C_206B_200C_202D_202A_202E_206C_200E_202C_200D_206C_200B_206F_206B_202E(stringBuilder, ' '); + num = -916392380; + break; + case 2: + num = -916392379; break; } } - if (!flag) + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(builder, global::_003CModule_003E._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(402998006)); + _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(builder, SourceContainer.ToString()); + _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(builder, global::_003CModule_003E._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(-147608127)); + _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(builder, SourceSlot.ToString()); + _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(builder, global::_003CModule_003E._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(45308124)); + _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(builder, SourceItemId.ToString()); + _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(builder, global::_003CModule_003E._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(223423418)); + _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(builder, DestinationContainer.ToString()); + _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(builder, global::_003CModule_003E._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(-175990381)); + _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(builder, DestinationSlot.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(PendingMove other) + { + int num = ((!EqualityComparer.Default.Equals(SourceContainer, other.SourceContainer)) ? (-560770928) : (-560770925)); + while (true) { - result = false; + int num2 = num; + int num3 = -560770928; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = -560770925; + break; + case 2: + num = ((!EqualityComparer.Default.Equals(DestinationContainer, other.DestinationContainer)) ? (-560770928) : (-560770923)); + break; + case 0: + return false; + case 1: + num = ((!EqualityComparer.Default.Equals(SourceItemId, other.SourceItemId)) ? (-560770928) : (-560770926)); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(SourceSlot, other.SourceSlot)) ? (-560770928) : (-560770927)); + break; + case 5: + return EqualityComparer.Default.Equals(DestinationSlot, other.DestinationSlot); + } + } + } + + bool IEquatable.Equals(PendingMove other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _202D_202D_206E_200E_200E_200F_202C_200D_206B_206B_200C_202E_206C_202E_200B_200F_206B_206A_206B_202C_202E_202A_200C_206E_200C_200E_206F_202B_202C_200B_206E_200F_206E_202D_200D_200B_200D_200E_206E_206F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200F_202C_206F_202D_202B_206B_202E_206D_206E_206A_200C_202E_202E_206E_202B_206E_206C_200C_202A_206E_202C_202A_200D_202D_206F_202B_200D_202D_202C_200C_206D_202A_202C_200E_206B_202D_206E_200D_206B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202D_200F_206A_206E_200F_200E_202A_202E_206E_206A_202C_202B_206A_202D_200C_202E_206A_206D_206E_200E_202C_206D_206F_206C_202E_202A_206C_206B_200C_202D_202A_202E_206C_200E_202C_200D_206C_200B_206F_206B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202C_202A_200D_202B_206B_202A_202A_200E_200E_202D_200D_202B_200B_202E_206D_202C_200E_202A_206B_200C_202E_200B_200D_202D_206C_206A_206A_200D_202E_200E_200F_200F_202C_202B_200D_200C_200C_206D_200B_202C_202E(object P_0) + { + return P_0.ToString(); + } + } + + private static readonly (string Name, uint[] Categories)[] SlotMap = new(string, uint[])[13] + { + (global::_003CModule_003E._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(1721146867), new uint[2] { 1u, 13u }), + (global::_003CModule_003E._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(105879929), new uint[1] { 2u }), + (global::_003CModule_003E._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(-1559165310), new uint[1] { 3u }), + (global::_003CModule_003E._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(1871824440), new uint[1] { 4u }), + (global::_003CModule_003E._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(806048350), new uint[1] { 5u }), + (global::_003CModule_003E._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(1506216771), Array.Empty()), + (global::_003CModule_003E._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(1490430716), new uint[1] { 7u }), + (global::_003CModule_003E._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(-136195547), new uint[1] { 8u }), + (global::_003CModule_003E._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(-1065647700), new uint[1] { 9u }), + (global::_003CModule_003E._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(-1628747569), new uint[1] { 10u }), + (global::_003CModule_003E._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(-952953659), new uint[1] { 11u }), + (global::_003CModule_003E._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(639236081), new uint[1] { 12u }), + (global::_003CModule_003E._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(-1934160350), new uint[1] { 12u }) + }; + + private const long EquipApplyTimeoutMs = 5000L; + + private const long MoveApplyTimeoutMs = 2000L; + + private bool _useSmart; + + private bool _checkedOrTriggeredEquipmentUpdate; + + 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() + { + int num = ((configuration.General.EquipMode != Configuration.EEquipMode.Disabled) ? 244763499 : 244763502); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + while (true) + { + int num2 = num; + int num3 = 244763503; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _useSmart = false; + RecommendEquipModule.Instance()->SetupForClassJob((byte)_200F_202D_202B_200C_200F_206F_206B_200E_206C_200E_206C_206A_202B_200C_206A_206D_200E_200C_202C_206F_200D_200C_200D_206A_202C_200F_206A_202C_200B_202E_200D_206B_206F_202B_202A_206B_202A_200F_202B_206E_202E((ICharacter)playerCharacter).RowId); + return true; + case 1: + return false; + case 4: + num = ((!_206D_206D_206B_200F_200F_202D_206F_200C_206E_200E_200B_202A_206F_206D_206D_202A_200F_206C_200C_200C_200B_202A_200C_206B_202C_200B_206F_200D_200E_200B_206C_206C_206E_200B_200D_202D_202C_200C_206D_202A_202E(condition, ConditionFlag.InCombat)) ? 244763498 : 244763496); + break; + case 2: + return false; + case 9: + _useSmart = configuration.General.EquipMode == Configuration.EEquipMode.Smart; + num = ((!_useSmart) ? 244763503 : 244763495); + break; + case 6: + return true; + case 3: + num = 244763502; + break; + case 5: + playerCharacter = _200D_206A_206B_200E_202A_206A_206E_202D_200C_202E_200F_202B_202D_206F_200F_200E_200F_202C_206E_206E_202A_206F_206E_200D_200C_202E_206B_200E_206C_202B_202C_206A_202E_202A_206B_200D_206E_202A_202C_202E(objectTable); + num = ((playerCharacter != null) ? 244763494 : 244763501); + break; + case 8: + num = ((!TrySmartStart(playerCharacter)) ? 244763503 : 244763497); + break; + case 7: + return false; + } + } + } + + public override ETaskResult Update() + { + int num = ((!_useSmart) ? 210203164 : 210203167); + while (true) + { + int num2 = num; + int num3 = 210203166; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0048; + case 1: + return SmartUpdate(); + case 2: + return GameUpdate(); + } + continue; + IL_0048: + num = 210203167; + } + } + + private unsafe bool TrySmartStart(ICharacter localPlayer) + { + uint rowId = _200F_202D_202B_200C_200F_206F_206B_200E_206C_200E_206C_206A_202B_200C_206A_206D_200E_200C_202C_206F_200D_200C_200D_206A_202C_200F_206A_202C_200B_202E_200D_206B_206F_202B_202A_206B_202A_200F_202B_206E_202E(localPlayer).RowId; + int num = (_202D_206A_200D_202E_202D_206B_202E_200D_202E_206D_202A_202B_200B_206D_206B_206E_206C_202B_206A_206C_202A_206D_202A_202C_200E_200B_200F_202A_206A_200C_206E_202C_202B_200B_200F_206D_200C_206B_202A_200C_202E(_206B_206D_202E_200C_202C_202A_200F_206F_206B_200D_202A_206E_206D_206A_206C_202D_200F_200C_202C_206E_202E_200B_200F_202A_200F_202D_202E_200E_200D_202D_206C_202E_206E_206F_202D_206B_202D_202A_200F_200D_202E(typeof(EClassJob).TypeHandle), (object)rowId) ? 85530533 : 85530531); + int currentGearsetIndex = default(int); + RaptureGearsetModule* ptr = default(RaptureGearsetModule*); + while (true) + { + int num2 = num; + int num3 = 85530532; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + currentGearsetIndex = ptr->CurrentGearsetIndex; + num = ((currentGearsetIndex < 0) ? 85530529 : 85530541); + break; + case 2: + return false; + case 5: + return false; + case 9: + num = (ptr->IsValidGearset(currentGearsetIndex) ? 85530540 : 85530529); + break; + case 1: + ptr = RaptureGearsetModule.Instance(); + num = ((ptr != null) ? 85530530 : 85530534); + break; + case 8: + { + EClassJob eClassJob = (EClassJob)rowId; + StatPriority priority = _202B_200D_200C_206E_206D_206D_206D_202C_200F_206D_202D_202D_206D_200B_206A_202C_200C_200C_206F_202D_200C_200D_202D_206D_206B_200E_202B_206B_202B_202D_206E_202A_206F_206D_206B_200D_202C_200F_202D_206B_202E(eClassJob); + byte playerLevel = GetPlayerLevel(eClassJob); + RaptureGearsetModule.GearsetEntry* entry = (RaptureGearsetModule.GearsetEntry*)Unsafe.AsPointer(in ptr->Entries[currentGearsetIndex]); + num = (TryComputeUpgradesAndMoves(eClassJob, priority, playerLevel, entry, out _smartUpgrades, out _smartMoves) ? 85530535 : 85530528); + break; + } + case 0: + num = 85530531; + break; + case 4: + _smartUpgrades = null; + _smartMoves = null; + return false; + case 7: + return false; + case 3: + _smartMoveCursor = 0; + _currentMoveStarted = false; + return true; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private ETaskResult SmartUpdate() + { + List smartMoves = _smartMoves; + int num = ((smartMoves == null) ? (-896452185) : (-896452172)); + PendingMove pendingMove = default(PendingMove); + List<(int, BestItemRef)> smartUpgrades2 = default(List<(int, BestItemRef)>); + List<(int, BestItemRef)> smartUpgrades = default(List<(int, BestItemRef)>); + while (true) + { + int num2 = num; + int num3 = -896452186; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 24: + num = ((_smartUpgrades == null) ? (-896452182) : (-896452184)); + break; + case 15: + pendingMove = smartMoves[_smartMoveCursor]; + num = (_currentMoveStarted ? (-896452175) : (-896452191)); + break; + case 27: + { + IChatGui chatGui2 = chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(35, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1393568432)); + defaultInterpolatedStringHandler2.AppendFormatted(smartUpgrades2.Count); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(583340872)); + _206B_206D_200F_206D_202E_200F_206C_206C_206E_206F_202E_206F_206C_206A_202A_202C_202D_200C_200D_206F_200C_206A_202E_200D_200C_200F_202E_200C_200D_206D_200F_202C_202D_206B_202C_206D_202D_202D_200B_206F_202E(chatGui2, defaultInterpolatedStringHandler2.ToStringAndClear(), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + ApplyUpgrades(smartUpgrades2); + _timeoutAt = _202E_206B_200E_200C_200B_200B_202E_206C_206F_206C_206F_200F_206E_202A_206F_206B_202E_202C_206D_206D_206D_202E_202D_202B_200C_206C_200F_206E_206E_206F_200F_206F_200C_206B_202C_206F_200D_206F_206D_200C_202E() + 5000; + num = -896452188; + break; + } + case 5: + { + IChatGui chatGui = chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(43, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(646015485)); + int smartMoveCursor = _smartMoveCursor; + num3 = 1; + num4 = smartMoveCursor; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + defaultInterpolatedStringHandler.AppendFormatted(num7 + (num8 + num8)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1680133376)); + defaultInterpolatedStringHandler.AppendFormatted(smartMoves.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1426065974)); + _206B_206D_200F_206D_202E_200F_206C_206C_206E_206F_202E_206F_206C_206A_202A_202C_202D_200C_200D_206F_200C_206A_202E_200D_200C_200F_202E_200C_200D_206D_200F_202C_202D_206B_202C_206D_202D_202D_200B_206F_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + return ETaskResult.TaskComplete; + } + case 4: + return ETaskResult.StillRunning; + case 0: + num = ((_smartMoveCursor >= smartMoves.Count) ? (-896452185) : (-896452183)); + break; + case 1: + num = ((!configuration.General.PreserveGearset) ? (-896452178) : (-896452179)); + break; + case 7: + num = (TryStartMove(pendingMove) ? (-896452169) : (-896452189)); + break; + case 2: + _smartApplied = true; + return ETaskResult.StillRunning; + case 26: + num = ((_202E_206B_200E_200C_200B_200B_202E_206C_206F_206C_206F_200F_206E_202A_206F_206B_202E_202C_206D_206D_206D_202E_202D_202B_200C_206C_200F_206E_206E_206F_200F_206F_200C_206B_202C_206F_200D_206F_206D_200C_202E() >= _timeoutAt) ? (-896452171) : (-896452190)); + break; + case 16: + smartUpgrades = _smartUpgrades; + num = ((smartUpgrades == null) ? (-896452164) : (-896452181)); + break; + case 22: + num = ((_202E_206B_200E_200C_200B_200B_202E_206C_206F_206C_206F_200F_206E_202A_206F_206B_202E_202C_206D_206D_206D_202E_202D_202B_200C_206C_200F_206E_206E_206F_200F_206F_200C_206B_202C_206F_200D_206F_206D_200C_202E() < _timeoutAt) ? (-896452173) : (-896452192)); + break; + case 12: + { + int smartMoveCursor3 = _smartMoveCursor; + num3 = 1; + num4 = smartMoveCursor3; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + _smartMoveCursor = num9 + (num10 + num10); + _currentMoveStarted = false; + return ETaskResult.StillRunning; + } + case 11: + return DirectEquipPhase(); + case 9: + return ETaskResult.TaskComplete; + case 23: + num = ((!IsMoveApplied(pendingMove)) ? (-896452176) : (-896452162)); + break; + case 14: + NotifyStagingMoveApplied(_smartUpgrades, pendingMove); + num = -896452182; + break; + case 3: + return ETaskResult.TaskComplete; + case 21: + return ETaskResult.StillRunning; + case 19: + return ETaskResult.TaskComplete; + case 8: + num = (_smartApplied ? (-896452170) : (-896452161)); + break; + case 10: + num = -896452172; + break; + case 6: + { + IChatGui chatGui3 = chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(44, 2); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-1622777026)); + int smartMoveCursor2 = _smartMoveCursor; + num3 = 1; + num4 = smartMoveCursor2; + defaultInterpolatedStringHandler3.AppendFormatted((num4 | num3) + (num4 & num3)); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-1392036559)); + defaultInterpolatedStringHandler3.AppendFormatted(smartMoves.Count); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(907614092)); + _206B_206D_200F_206D_202E_200F_206C_206C_206E_206F_202E_206F_206C_206A_202A_202C_202D_200C_200D_206F_200C_206A_202E_200D_200C_200F_202E_200C_200D_206D_200F_202C_202D_206B_202C_206D_202D_202D_200B_206F_202E(chatGui3, defaultInterpolatedStringHandler3.ToStringAndClear(), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + return ETaskResult.TaskComplete; + } + case 25: + smartUpgrades2 = _smartUpgrades; + num = ((smartUpgrades2 == null) ? (-896452187) : (-896452174)); + break; + case 18: + num = ((smartMoves.Count <= 0) ? (-896452185) : (-896452186)); + break; + case 20: + num = ((smartUpgrades2.Count <= 0) ? (-896452187) : (-896452163)); + break; + case 13: + num = ((!AreUpgradesApplied(smartUpgrades)) ? (-896452164) : (-896452177)); + break; + case 17: + _currentMoveStarted = true; + _timeoutAt = _202E_206B_200E_200C_200B_200B_202E_206C_206F_206C_206F_200F_206E_202A_206F_206B_202E_202C_206D_206D_206D_202E_202D_202B_200C_206C_200F_206E_206E_206F_200F_206F_200C_206B_202C_206F_200D_206F_206D_200C_202E() + 2000; + return ETaskResult.StillRunning; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private ETaskResult DirectEquipPhase() + { + List<(int, BestItemRef)> smartUpgrades = _smartUpgrades; + int num = ((smartUpgrades != null) ? (-760599422) : (-760599424)); + int item = default(int); + BestItemRef item2 = default(BestItemRef); + while (true) + { + int num2 = num; + int num3 = -760599423; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + { + int directEquipCursor3 = _directEquipCursor; + num3 = 1; + num4 = directEquipCursor3; + _directEquipCursor = (num4 | num3) + (num4 & num3); + _directEquipStarted = false; + return ETaskResult.StillRunning; + } + case 15: + { + (int, BestItemRef) tuple = smartUpgrades[_directEquipCursor]; + item = tuple.Item1; + item2 = tuple.Item2; + num = (_directEquipStarted ? (-760599412) : (-760599409)); + break; + } + case 16: + num = ((!AreUpgradesApplied(smartUpgrades)) ? (-760599423) : (-760599419)); + break; + case 1: + return ETaskResult.TaskComplete; + case 11: + num = -760599424; + break; + case 13: + num = ((!IsDirectEquipApplied(item2, item)) ? (-760599420) : (-760599421)); + break; + case 14: + num = (TryStartDirectEquip(item2, item) ? (-760599411) : (-760599417)); + break; + case 5: + num = ((_202E_206B_200E_200C_200B_200B_202E_206C_206F_206C_206F_200F_206E_202A_206F_206B_202E_202C_206D_206D_206D_202E_202D_202B_200C_206C_200F_206E_206E_206F_200F_206F_200C_206B_202C_206F_200D_206F_206D_200C_202E() < _timeoutAt) ? (-760599415) : (-760599416)); + break; + case 3: + num = ((_directEquipCursor < smartUpgrades.Count) ? (-760599410) : (-760599407)); + break; + case 6: + { + IChatGui chatGui = chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(42, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-129120304)); + defaultInterpolatedStringHandler.AppendFormatted(item); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(682498639)); + _206B_206D_200F_206D_202E_200F_206C_206C_206E_206F_202E_206F_206C_206A_202A_202C_202D_200C_200D_206F_200C_206A_202E_200D_200C_200F_202E_200C_200D_206D_200F_202C_202D_206B_202C_206D_202D_202D_200B_206F_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + int directEquipCursor2 = _directEquipCursor; + num3 = 1; + num4 = directEquipCursor2; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + _directEquipCursor = num7 + (num8 + num8); + return ETaskResult.StillRunning; + } + case 9: + { + int directEquipCursor = _directEquipCursor; + num3 = 1; + num4 = directEquipCursor; + _directEquipCursor = (num4 | num3) + (num4 & num3); + _directEquipStarted = false; + num = -760599415; + break; + } + case 12: + _directEquipStarted = true; + _timeoutAt = _202E_206B_200E_200C_200B_200B_202E_206C_206F_206C_206F_200F_206E_202A_206F_206B_202E_202C_206D_206D_206D_202E_202D_202B_200C_206C_200F_206E_206E_206F_200F_206F_200C_206B_202C_206F_200D_206F_206D_200C_202E() + 2000; + return ETaskResult.StillRunning; + case 10: + return ETaskResult.StillRunning; + case 8: + return ETaskResult.StillRunning; + case 0: + num = ((_202E_206B_200E_200C_200B_200B_202E_206C_206F_206C_206F_200F_206E_202A_206F_206B_202E_202C_206D_206D_206D_202E_202D_202B_200C_206C_200F_206E_206E_206F_200F_206F_200C_206B_202C_206F_200D_206F_206D_200C_202E() >= _timeoutAt) ? (-760599418) : (-760599413)); + break; + case 7: + return ETaskResult.TaskComplete; + case 4: + return ETaskResult.TaskComplete; + } + } + } + + private unsafe bool TryStartDirectEquip(BestItemRef item, int gearsetSlot) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? (-2023162122) : (-2023162123)); + while (true) + { + int num2 = num; + int num3 = -2023162121; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return ptr->MoveItemSlot(item.Container, (ushort)item.Slot, InventoryType.EquippedItems, (ushort)gearsetSlot) == 0; + case 2: + return false; + } + continue; + IL_0049: + num = -2023162123; + } + } + + private unsafe bool IsDirectEquipApplied(BestItemRef item, int gearsetSlot) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? 2075722394 : 2075722398); + InventoryItem* inventorySlot = default(InventoryItem*); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + while (true) + { + int num2 = num; + int num3 = 2075722399; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return false; + case 3: + inventorySlot = inventoryContainer->GetInventorySlot(gearsetSlot); + num = ((inventorySlot != null) ? 2075722393 : 2075722397); + break; + case 0: + num = 2075722398; + break; + case 5: + inventoryContainer = ptr->GetInventoryContainer(InventoryType.EquippedItems); + num = ((inventoryContainer != null) ? 2075722396 : 2075722395); + break; + case 6: + return ItemHandle.FromInventorySlot(inventorySlot).Id == ((ItemHandle)item.ItemId).Id; + case 1: + return false; + case 2: + return false; + } + } + } + + private static void NotifyStagingMoveApplied(List<(int Slot, BestItemRef Item)> upgrades, PendingMove appliedMove) + { + int num = 0; + int num2 = 1319614186; + int item = default(int); + BestItemRef item2 = default(BestItemRef); + while (true) + { + int num3 = num2; + int num4 = 1319614184; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = ((num < upgrades.Count) ? 1319614187 : 1319614188); + break; + case 4: + return; + case 3: + { + (int Slot, BestItemRef Item) tuple = upgrades[num]; + item = tuple.Slot; + item2 = tuple.Item; + num2 = ((item2.Container != appliedMove.SourceContainer) ? 1319614185 : 1319614189); + break; + } + case 1: + { + int num6 = num; + num4 = 1; + num5 = num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = num7 + (num8 + num8); + num2 = 1319614186; + break; + } + case 5: + num2 = ((item2.Slot != appliedMove.SourceSlot) ? 1319614185 : 1319614190); + break; + case 0: + num2 = 1319614186; + break; + case 6: + upgrades[num] = (item, item2 with + { + Container = appliedMove.DestinationContainer, + Slot = appliedMove.DestinationSlot + }); + return; + } + } + } + + private unsafe bool TryStartMove(PendingMove move) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? 1497756716 : 1497756719); + while (true) + { + int num2 = num; + int num3 = 1497756718; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 2: + return ptr->MoveItemSlot(move.SourceContainer, (ushort)move.SourceSlot, move.DestinationContainer, (ushort)move.DestinationSlot) == 0; + case 1: + return false; + } + continue; + IL_004b: + num = 1497756719; + } + } + + private unsafe bool IsMoveApplied(PendingMove move) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? (-1215933300) : (-1215933298)); + InventoryItem* inventorySlot = default(InventoryItem*); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + while (true) + { + int num2 = num; + int num3 = -1215933302; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return ItemHandle.FromInventorySlot(inventorySlot).Id == ((ItemHandle)move.SourceItemId).Id; + case 4: + return false; + case 1: + inventorySlot = inventoryContainer->GetInventorySlot(move.DestinationSlot); + num = ((inventorySlot != null) ? (-1215933302) : (-1215933304)); + break; + case 6: + inventoryContainer = ptr->GetInventoryContainer(move.DestinationContainer); + num = ((inventoryContainer != null) ? (-1215933301) : (-1215933297)); + break; + case 3: + num = -1215933298; + break; + case 2: + return false; + case 5: + return false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe ETaskResult GameUpdate() + { + RecommendEquipModule* ptr = RecommendEquipModule.Instance(); + int num = ((!ptr->IsUpdating) ? (-598409727) : (-598409713)); + while (true) + { + int num2 = num; + int num3 = -598409719; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 9: + num = ((!IsAllRecommendedGearEquipped()) ? (-598409725) : (-598409718)); + break; + case 10: + _206B_206D_200F_206D_202E_200F_206C_206C_206E_206F_202E_206F_206C_206A_202A_202C_202D_200C_200D_206F_200C_206A_202E_200D_200C_200F_202E_200C_200D_206D_200F_202C_202D_206B_202C_206D_202D_202D_200B_206F_202E(chatGui, global::_003CModule_003E._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(-1029748516), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + ptr->EquipRecommendedGear(); + _timeoutAt = _202E_206B_200E_200C_200B_200B_202E_206C_206F_206C_206F_200F_206E_202A_206F_206B_202E_202C_206D_206D_206D_202E_202D_202B_200C_206C_200F_206E_206E_206F_200F_206F_200C_206B_202C_206F_200D_206F_206D_200C_202E() + 5000; + _checkedOrTriggeredEquipmentUpdate = true; + return ETaskResult.StillRunning; + case 7: + num = ((!IsAllRecommendedGearEquipped()) ? (-598409717) : (-598409720)); + break; + case 8: + num = (_checkedOrTriggeredEquipmentUpdate ? (-598409714) : (-598409728)); + break; + case 3: + return ETaskResult.TaskComplete; + case 4: + return ETaskResult.StillRunning; + case 0: + num = -598409713; + break; + case 2: + num = ((_202E_206B_200E_200C_200B_200B_202E_206C_206F_206C_206F_200F_206E_202A_206F_206B_202E_202C_206D_206D_206D_202E_202D_202B_200C_206C_200F_206E_206E_206F_200F_206F_200C_206B_202C_206F_200D_206F_206D_200C_202E() >= _timeoutAt) ? (-598409716) : (-598409715)); + break; + case 6: + return ETaskResult.StillRunning; + case 5: + return ETaskResult.TaskComplete; + case 1: + return ETaskResult.TaskComplete; + } + } + } + + private unsafe bool AreUpgradesApplied(IReadOnlyList<(int Slot, BestItemRef Item)> upgrades) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? 503913681 : 503913682); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + BestItemRef item2 = default(BestItemRef); + InventoryItem* inventorySlot = default(InventoryItem*); + while (true) + { + int num2 = num; + int num3 = 503913680; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return false; + case 2: + return false; + case 0: + num = 503913682; + break; + case 1: + inventoryContainer = ptr->GetInventoryContainer(InventoryType.EquippedItems); + num = ((inventoryContainer != null) ? 503913684 : 503913683); + break; + case 4: + { + IEnumerator<(int, BestItemRef)> enumerator = upgrades.GetEnumerator(); + try + { + num = 986688417; + while (true) + { + int num5 = num; + num3 = 986688417; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 5: + return false; + case 3: + { + (int, BestItemRef) current = enumerator.Current; + int item = current.Item1; + item2 = current.Item2; + inventorySlot = inventoryContainer->GetInventorySlot(item); + num = ((inventorySlot == null) ? 986688420 : 986688416); + break; + } + case 1: + num = ((ItemHandle.FromInventorySlot(inventorySlot).Id == ((ItemHandle)item2.ItemId).Id) ? 986688417 : 986688420); + break; + case 0: + num = (_202B_206B_206E_206E_206B_202A_206E_202E_202C_202D_206F_200C_202C_206D_200D_206D_200D_206B_200D_202E_202D_206C_206E_206B_202E_200D_200F_206B_206F_200C_206E_206F_200C_202B_206D_206B_202D_206E_206A_200E_202E((IEnumerator)enumerator) ? 986688418 : 986688419); + break; + case 4: + num = 986688417; + break; + case 2: + goto end_IL_00a9; + } + continue; + end_IL_00a9: + break; + } + } + finally + { + num = ((enumerator == null) ? 1395008850 : 1395008849); + while (true) + { + int num8 = num; + num3 = 1395008851; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_01c9; + case 2: + _200F_206C_202B_206E_206D_200D_202A_200B_202C_202A_202A_206C_202B_206B_206A_200C_200E_202D_200F_200B_202C_206B_202A_206D_206C_200D_206C_206A_200B_200B_202A_200D_206E_200D_206C_200F_206F_202B_202D_202E_202E((IDisposable)enumerator); + num = 1395008850; + break; + case 0: + num = 1395008849; + break; + } + continue; + end_IL_01c9: + break; + } + } + 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; + int num = (_200F_200E_200B_200E_202B_206F_200D_206F_202C_202D_206E_200B_206F_206F_202E_206D_206F_206E_200E_202D_206A_202E_206F_206C_206D_206B_206E_200F_206A_206A_202C_206A_202A_200E_200E_202B_200D_202E_202E_202D_202E(job) ? (-1918647865) : (-1918647852)); + bool flag = default(bool); + int num5 = default(int); + BestItemRef? bestItemRef2 = default(BestItemRef?); + InventoryType? inventoryType = default(InventoryType?); + int nextFreeSlot = default(int); + bool flag2 = default(bool); + Dictionary cursors = default(Dictionary); + uint[] item = default(uint[]); + BestItemRef? bestItemRef3 = default(BestItemRef?); + bool flag3 = default(bool); + while (true) + { + int num2 = num; + int num3 = -1918647849; + int num4 = num2; + int num7; + BestItemRef? obj; + int num8; + EItemRankingMode eItemRankingMode; + switch ((num4 | num3) - (num4 & num3)) + { + case 24: + num = (bestItemRef.HasValue ? (-1918647854) : (-1918647871)); + break; + case 23: + num7 = 2; + goto IL_00ec; + case 21: + flag = true; + num = -1918647859; + break; + case 12: + num = ((num5 != 12) ? (-1918647871) : (-1918647857)); + break; + case 5: + obj = bestItemRef; + goto IL_015d; + case 16: + num8 = 1; + goto IL_0185; + case 1: + num = ((!IsBagContainer(bestItemRef2.Value.Container)) ? (-1918647847) : (-1918647853)); + break; + case 20: + num = -1918647852; + break; + case 2: + moves.Add(new PendingMove(bestItemRef2.Value.Container, bestItemRef2.Value.Slot, bestItemRef2.Value.ItemId, inventoryType.Value, nextFreeSlot)); + num = -1918647847; + break; + case 26: + flag2 = flag; + num = -1918647849; + break; + case 22: + obj = null; + goto IL_015d; + case 14: + upgrades.Add((num5, bestItemRef2.Value)); + num = -1918647858; + break; + case 25: + { + int num6 = num5; + num3 = 1; + num4 = num6; + num5 = (num4 | num3) + (num4 & num3); + num = -1918647848; + break; + } + case 17: + return false; + case 19: + num = (((uint)num5 > 1u) ? (-1918647867) : (-1918647870)); + break; + case 10: + num = ((num5 != 11) ? (-1918647844) : (-1918647841)); + break; + case 13: + nextFreeSlot = GetNextFreeSlot(inventoryType.Value, cursors); + num = ((nextFreeSlot >= 0) ? (-1918647851) : (-1918647866)); + break; + case 7: + item = SlotMap[num5].Categories; + num = ((item.Length == 0) ? (-1918647858) : (-1918647845)); + break; + case 4: + inventoryType = ResolveArmoryContainer(item); + num = ((!inventoryType.HasValue) ? (-1918647858) : (-1918647846)); + break; + case 11: + num = ((((ItemHandle)entry->GetItem((RaptureGearsetModule.GearsetItemIndex)num5).ItemId).Id == ((ItemHandle)bestItemRef2.Value.ItemId).Id) ? (-1918647858) : (-1918647850)); + break; + case 9: + return true; + case 3: + num8 = (_200E_202B_202D_206A_202B_200F_202B_206E_202C_200B_200F_202E_200C_200D_200B_200D_200F_206B_202D_206A_202E_206F_202E_202A_206A_206F_202D_202B_200F_202E_202D_202C_206A_206C_206C_200F_202E_202A_206A_200F_202E(job) ? 1 : 0); + goto IL_0185; + case 6: + num7 = 1; + goto IL_00ec; + case 0: + num = (flag2 ? (-1918647872) : (-1918647855)); + break; + case 8: + bestItemRef = bestItemRef2; + num = -1918647844; + break; + case 15: + num = ((num5 < SlotMap.Length) ? (-1918647856) : (-1918647842)); + break; + case 18: + { + flag = false; + num = -1918647859; + break; + } + IL_00ec: + eItemRankingMode = (EItemRankingMode)num7; + bestItemRef2 = _200B_206C_206F_206A_206D_200D_206B_202C_200D_202C_206D_200F_202A_206F_200C_202D_202E_200F_202B_202E_200C_202B_202B_200C_200C_200E_200F_202E_202A_206D_206D_200D_200B_200B_200D_206C_206E_200F_200B_206F_202E(bestItemFinder, job, (IReadOnlyList)item, priority, BestItemFinder.ArmoryEquippedAndBags, playerLevel, eItemRankingMode, bestItemRef3); + num = ((!bestItemRef2.HasValue) ? (-1918647858) : (-1918647843)); + break; + IL_0185: + flag3 = (byte)num8 != 0; + cursors = new Dictionary(); + num5 = 0; + num = -1918647848; + break; + IL_015d: + bestItemRef3 = obj; + flag2 = !flag3; + num = ((!flag2) ? (-1918647849) : (-1918647868)); + break; + } + } + } + + private static bool IsBagContainer(InventoryType type) + { + int num = ((type > InventoryType.Inventory4) ? 361543209 : 361543210); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = 361543211; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return result; + case 1: + result = true; + num = 361543208; + break; + case 2: + result = false; + num = 361543208; + break; + case 0: + num = 361543210; + break; + } + } + } + + private static InventoryType? ResolveArmoryContainer(uint[] acceptedCategories) + { + int num = 0; + int num2 = -74376453; + InventoryType? result = default(InventoryType?); + while (true) + { + int num3 = num2; + int num4 = -74376455; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = ((num < acceptedCategories.Length) ? (-74376456) : (-74376452)); + break; + case 1: + result = _206D_206A_206C_206B_202E_202A_202B_200C_206B_202B_206B_200D_200E_202D_200F_200B_200D_200D_200C_200E_206D_206A_202C_206F_200E_200F_202A_202D_200F_202A_206E_202D_200D_200F_206B_200F_200C_200D_200D_202C_202E((EEquipSlotCategory)acceptedCategories[num]); + num2 = ((!result.HasValue) ? (-74376455) : (-74376451)); + break; + case 4: + return result; + case 0: + { + int num6 = num; + num4 = 1; + num5 = num6; + num = (num5 | num4) + (num5 & num4); + num2 = -74376453; + break; + } + case 5: + return null; + case 3: + num2 = -74376453; + break; + } + } + } + + private unsafe static int GetNextFreeSlot(InventoryType container, Dictionary cursors) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? (-2120371661) : (-2120371663)); + int value = default(int); + int num8 = default(int); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + InventoryItem* inventorySlot = default(InventoryItem*); + while (true) + { + int num2 = num; + int num3 = -2120371664; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num10; + switch (num5 - (num6 + num6)) + { + case 11: + return -1; + case 8: + return -1; + case 10: + num = (cursors.TryGetValue(container, out value) ? (-2120371652) : (-2120371657)); + break; + case 12: + num10 = value; + goto IL_00a7; + case 1: + return -1; + case 2: + num = -2120371663; + break; + case 4: + num = ((num8 < inventoryContainer->Size) ? (-2120371664) : (-2120371656)); + break; + case 3: + inventoryContainer = ptr->GetInventoryContainer(container); + num = ((inventoryContainer != null) ? (-2120371654) : (-2120371653)); + break; + case 0: + inventorySlot = inventoryContainer->GetInventorySlot(num8); + num = ((inventorySlot == null) ? (-2120371658) : (-2120371659)); + break; + case 7: + num10 = 0; + goto IL_00a7; + case 9: + { + int num9 = num8; + num3 = 1; + num4 = num9; + cursors[container] = (num4 | num3) + (num4 & num3); + return num8; + } + case 6: + { + int num7 = num8; + num3 = 1; + num4 = num7; + num8 = (num4 | num3) + (num4 & num3); + num = -2120371660; + break; + } + case 5: + { + num = ((inventorySlot->ItemId != 0) ? (-2120371658) : (-2120371655)); + break; + } + IL_00a7: + num8 = num10; + num = -2120371660; + break; + } + } + } + + private unsafe void ApplyUpgrades(IReadOnlyList<(int Slot, BestItemRef Item)> upgrades) + { + RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); + int num = ((ptr != null) ? 366018770 : 366018771); + int currentGearsetIndex = default(int); + RaptureGearsetModule.GearsetEntry* ptr4 = default(RaptureGearsetModule.GearsetEntry*); + InventoryManager* ptr2 = default(InventoryManager*); + int num8 = default(int); + RaptureGearsetModule.GearsetItem* ptr3 = default(RaptureGearsetModule.GearsetItem*); + InventoryItem* inventorySlot = default(InventoryItem*); + int item = default(int); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + BestItemRef item2 = default(BestItemRef); + while (true) + { + int num2 = num; + int num3 = 366018772; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = (ptr->IsValidGearset(currentGearsetIndex) ? 366018775 : 366018769); + break; + case 5: + return; + case 6: + currentGearsetIndex = ptr->CurrentGearsetIndex; + num = ((currentGearsetIndex < 0) ? 366018769 : 366018774); + break; + case 0: + num = 366018771; + break; + case 3: + ptr4 = (RaptureGearsetModule.GearsetEntry*)Unsafe.AsPointer(in ptr->Entries[currentGearsetIndex]); + ptr2 = InventoryManager.Instance(); + num = ((ptr2 != null) ? 366018773 : 366018768); + break; + case 4: + return; + case 7: + return; + case 1: + { + IEnumerator<(int, BestItemRef)> enumerator = upgrades.GetEnumerator(); + try + { + num = 1240171448; + while (true) + { + int num5 = num; + num3 = 1240171448; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 4: + num = 1240171448; + break; + case 6: + num = ((num8 < 5) ? 1240171450 : 1240171448); + break; + case 2: + { + ptr3->Materia[num8] = inventorySlot->Materia[num8]; + ptr3->MateriaGrades[num8] = inventorySlot->MateriaGrades[num8]; + int num9 = num8; + num3 = 1; + num4 = num9; + num8 = (num4 | num3) + (num4 & num3); + num = 1240171454; + break; + } + case 8: + num = ((inventorySlot->ItemId == 0) ? 1240171448 : 1240171453); + break; + case 5: + ptr3 = (RaptureGearsetModule.GearsetItem*)Unsafe.AsPointer(in ptr4->Items[item]); + ptr3->ItemId = inventorySlot->ItemId; + ptr3->GlamourId = inventorySlot->GlamourId; + ptr3->Stain0Id = inventorySlot->Stains[0]; + ptr3->Stain1Id = inventorySlot->Stains[1]; + num8 = 0; + num = 1240171454; + break; + case 7: + inventorySlot = inventoryContainer->GetInventorySlot(item2.Slot); + num = ((inventorySlot == null) ? 1240171448 : 1240171440); + break; + case 0: + num = (_202B_206B_206E_206E_206B_202A_206E_202E_202C_202D_206F_200C_202C_206D_200D_206D_200D_206B_200D_202E_202D_206C_206E_206B_202E_200D_200F_206B_206F_200C_206E_206F_200C_202B_206D_206B_202D_206E_206A_200E_202E((IEnumerator)enumerator) ? 1240171449 : 1240171451); + break; + case 1: + { + (int, BestItemRef) current = enumerator.Current; + item = current.Item1; + item2 = current.Item2; + inventoryContainer = ptr2->GetInventoryContainer(item2.Container); + num = ((inventoryContainer == null) ? 1240171448 : 1240171455); + break; + } + case 3: + goto end_IL_010f; + } + continue; + end_IL_010f: + break; + } + } + finally + { + num = ((enumerator == null) ? 1335984006 : 1335984007); + while (true) + { + int num10 = num; + num3 = 1335984006; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_0345; + case 1: + _200F_206C_202B_206E_206D_200D_202A_200B_202C_202A_202A_206C_202B_206B_206A_200C_200E_202D_200F_200B_202C_206B_202A_206D_206C_200D_206C_206A_200B_200B_202A_200D_206E_200D_206C_200F_206F_202B_202D_202E_202E((IDisposable)enumerator); + num = 1335984006; + break; + case 2: + num = 1335984007; + break; + } + continue; + end_IL_0345: + break; + } + } + ptr->EquipGearset(currentGearsetIndex, 0); + return; + } + } + } + } + + private byte GetPlayerLevel(EClassJob job) + { + short num = _202C_206B_200E_206D_200B_206E_206F_206B_202A_206A_202A_200F_200F_200D_206F_206F_206A_206E_202B_206C_206F_200B_200D_200E_202B_200B_206A_202B_202E_206C_202A_206C_202E_200D_206D_206E_202A_200D_206B_206C_202E((int)dataManager.GetExcelSheet().GetRow((uint)job).ExpArrayIndex); + int num2 = ((num > 0) ? (-1894370690) : (-1894370691)); + while (true) + { + int num3 = num2; + int num4 = -1894370692; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + goto IL_0071; + case 2: + return (byte)num; + case 1: + return 0; + } + continue; + IL_0071: + num2 = -1894370691; + } + } + + private unsafe bool IsAllRecommendedGearEquipped() + { + Span> recommendedItems = RecommendEquipModule.Instance()->RecommendedItems; + int num = 0; + int num2 = 603510745; + InventoryItem* value = default(InventoryItem*); + while (true) + { + int num3 = num2; + int num4 = 603510749; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + { + int num6 = num; + num4 = 1; + num5 = num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = num7 + (num8 + num8); + num2 = 603510745; + break; + } + case 1: + num2 = ((value->ItemId == 0) ? 603510751 : 603510750); + break; + case 5: + return false; + case 3: + num2 = (_202A_202E_206B_206C_200D_202B_202A_206B_206D_202E_206E_202A_206A_200C_206C_206B_202C_206A_202E_206C_206B_206A_200D_206C_200B_202D_202E_206B_200B_200F_202C_202A_202A_206D_206B_200F_206A_206B_200E_200C_202E(value->ItemId) ? 603510751 : 603510744); + break; + case 6: + { + Pointer pointer = recommendedItems[num]; + value = pointer.Value; + num2 = ((value == null) ? 603510751 : 603510748); + break; + } + case 7: + num2 = 603510745; + break; + case 0: + return true; + case 4: + num2 = ((num < recommendedItems.Length) ? 603510747 : 603510749); + break; } } - return result; } public override bool ShouldInterruptOnDamage() { return true; } + + static bool _206D_206D_206B_200F_200F_202D_206F_200C_206E_200E_200B_202A_206F_206D_206D_202A_200F_206C_200C_200C_200B_202A_200C_206B_202C_200B_206F_200D_200E_200B_206C_206C_206E_200B_200D_202D_202C_200C_206D_202A_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static IPlayerCharacter _200D_206A_206B_200E_202A_206A_206E_202D_200C_202E_200F_202B_202D_206F_200F_200E_200F_202C_206E_206E_202A_206F_206E_200D_200C_202E_206B_200E_206C_202B_202C_206A_202E_202A_206B_200D_206E_202A_202C_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static RowRef _200F_202D_202B_200C_200F_206F_206B_200E_206C_200E_206C_206A_202B_200C_206A_206D_200E_200C_202C_206F_200D_200C_200D_206A_202C_200F_206A_202C_200B_202E_200D_206B_206F_202B_202A_206B_202A_200F_202B_206E_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static Type _206B_206D_202E_200C_202C_202A_200F_206F_206B_200D_202A_206E_206D_206A_206C_202D_200F_200C_202C_206E_202E_200B_200F_202A_200F_202D_202E_200E_200D_202D_206C_202E_206E_206F_202D_206B_202D_202A_200F_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _202D_206A_200D_202E_202D_206B_202E_200D_202E_206D_202A_202B_200B_206D_206B_206E_206C_202B_206A_206C_202A_206D_202A_202C_200E_200B_200F_202A_206A_200C_206E_202C_202B_200B_200F_206D_200C_206B_202A_200C_202E(Type P_0, object P_1) + { + return Enum.IsDefined(P_0, P_1); + } + + static StatPriority _202B_200D_200C_206E_206D_206D_206D_202C_200F_206D_202D_202D_206D_200B_206A_202C_200C_200C_206F_202D_200C_200D_202D_206D_206B_200E_202B_206B_202B_202D_206E_202A_206F_206D_206B_200D_202C_200F_202D_206B_202E(EClassJob P_0) + { + return StatPriority.ForJob(P_0); + } + + static void _206B_206D_200F_206D_202E_200F_206C_206C_206E_206F_202E_206F_206C_206A_202A_202C_202D_200C_200D_206F_200C_206A_202E_200D_200C_200F_202E_200C_200D_206D_200F_202C_202D_206B_202C_206D_202D_202D_200B_206F_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static long _202E_206B_200E_200C_200B_200B_202E_206C_206F_206C_206F_200F_206E_202A_206F_206B_202E_202C_206D_206D_206D_202E_202D_202B_200C_206C_200F_206E_206E_206F_200F_206F_200C_206B_202C_206F_200D_206F_206D_200C_202E() + { + return Environment.TickCount64; + } + + static bool _202B_206B_206E_206E_206B_202A_206E_202E_202C_202D_206F_200C_202C_206D_200D_206D_200D_206B_200D_202E_202D_206C_206E_206B_202E_200D_200F_206B_206F_200C_206E_206F_200C_202B_206D_206B_202D_206E_206A_200E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200F_206C_202B_206E_206D_200D_202A_200B_202C_202A_202A_206C_202B_206B_206A_200C_200E_202D_200F_200B_202C_206B_202A_206D_206C_200D_206C_206A_200B_200B_202A_200D_206E_200D_206C_200F_206F_202B_202D_202E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _200F_200E_200B_200E_202B_206F_200D_206F_202C_202D_206E_200B_206F_206F_202E_206D_206F_206E_200E_202D_206A_202E_206F_206C_206D_206B_206E_200F_206A_206A_202C_206A_202A_200E_200E_202B_200D_202E_202E_202D_202E(EClassJob P_0) + { + return P_0.IsCrafter(); + } + + static bool _200E_202B_202D_206A_202B_200F_202B_206E_202C_200B_200F_202E_200C_200D_200B_200D_200F_206B_202D_206A_202E_206F_202E_202A_206A_206F_202D_202B_200F_202E_202D_202C_206A_206C_206C_200F_202E_202A_206A_200F_202E(EClassJob P_0) + { + return P_0.IsGatherer(); + } + + static BestItemRef? _200B_206C_206F_206A_206D_200D_206B_202C_200D_202C_206D_200F_202A_206F_200C_202D_202E_200F_202B_202E_200C_202B_202B_200C_200C_200E_200F_202E_202A_206D_206D_200D_200B_200B_200D_206C_206E_200F_200B_206F_202E(BestItemFinder P_0, EClassJob P_1, IReadOnlyList P_2, StatPriority P_3, IReadOnlyList P_4, byte P_5, EItemRankingMode P_6, BestItemRef? P_7) + { + return P_0.FindBest(P_1, P_2, P_3, P_4, P_5, P_6, P_7); + } + + static InventoryType? _206D_206A_206C_206B_202E_202A_202B_200C_206B_202B_206B_200D_200E_202D_200F_200B_200D_200D_200C_200E_206D_206A_202C_206F_200E_200F_202A_202D_200F_202A_206E_202D_200D_200F_206B_200F_200C_200D_200D_202C_202E(EEquipSlotCategory P_0) + { + return P_0.GetArmoryContainer(); + } + + static short _202C_206B_200E_206D_200B_206E_206F_206B_202A_206A_202A_200F_200F_200D_206F_206F_206A_206E_202B_206C_206F_200B_200D_200E_202B_200B_206A_202B_202E_206C_202A_206C_202E_200D_206D_206E_202A_200D_206B_206C_202E(int P_0) + { + return PlayerStateHelper.GetClassJobLevel(P_0); + } + + static bool _202A_202E_206B_206C_200D_202B_202A_206B_206D_202E_206E_202A_206A_200C_206C_206B_202C_206A_202E_206C_206B_206A_200D_206C_200B_202D_202E_206B_200B_200F_202C_202A_202A_206D_206B_200F_206A_206B_200E_200C_202E(uint P_0) + { + return InventoryHelper.IsItemEquipped(P_0); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/FateAction.cs b/Questionable/Questionable.Controller.Steps.Interactions/FateAction.cs index dcae0c71..4256cd25 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/FateAction.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/FateAction.cs @@ -1,6 +1,9 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Game.ClientState.Objects.Types; using Microsoft.Extensions.Logging; using Questionable.Controller.Steps.Common; @@ -14,70 +17,352 @@ internal static class FateAction { internal sealed class Factory : ITaskFactory { + [MethodImpl(MethodImplOptions.NoInlining)] public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.FateAction) + int num = ((_206D_206F_206B_202C_200F_202E_206F_202E_206B_200D_200F_206E_200D_202D_200F_206A_200D_202D_206B_206A_206B_202A_206D_202D_206C_206D_206C_200D_200C_202C_206F_202B_206F_206A_202C_200C_206A_206D_200F_206A_202E(step) == EInteractionType.FateAction) ? (-43811176) : (-43811175)); + while (true) { - return Array.Empty(); + int num2 = num; + int num3 = -43811176; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = -43811175; + break; + case 0: + num = ((_202B_200F_206C_202D_206F_200F_206E_200D_202E_200E_200E_200C_206A_206F_202D_202C_202E_202D_206D_202C_206C_200B_206A_206E_200B_202A_206F_202B_202E_206F_206B_202C_200D_206A_200D_202D_200C_202D_206D_200F_202E(step).Count != 0) ? (-43811174) : (-43811173)); + break; + case 1: + return Array.Empty(); + case 3: + throw _202B_206E_202A_206F_202B_202D_202D_202A_206A_206D_202C_202C_206F_202D_206A_200D_200C_202E_202C_200E_200C_206D_202A_200D_202A_206E_206D_206E_200D_202B_202C_202A_200D_202A_202E_202D_200B_206E_202C_202A_202E(global::_003CModule_003E._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(1866861544)); + case 2: + return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] + { + new Mount.UnmountTask(), + new UseOnTargets(_202B_200F_206C_202D_206F_200F_206E_200D_202E_200E_200E_200C_206A_206F_202D_202C_202E_202D_206D_202C_206C_200B_206A_206E_200B_202A_206F_202B_202E_206F_206B_202C_200D_206A_200D_202D_200C_202D_206D_200F_202E(step)) + }); + } } - if (step.FateActionTargets.Count == 0) - { - throw new InvalidOperationException("FateAction step requires FateActionTargets"); - } - return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] - { - new Mount.UnmountTask(), - new UseOnTargets(step.FateActionTargets) - }); + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + + static EInteractionType _206D_206F_206B_202C_200F_202E_206F_202E_206B_200D_200F_206E_200D_202D_200F_206A_200D_202D_206B_206A_206B_202A_206D_202D_206C_206D_206C_200D_200C_202C_206F_202B_206F_206A_202C_200C_206A_206D_200F_206A_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static List _202B_200F_206C_202D_206F_200F_206E_200D_202E_200E_200E_200C_206A_206F_202D_202C_202E_202D_206D_202C_206C_200B_206A_206E_200B_202A_206F_202B_202E_206F_206B_202C_200D_206A_200D_202D_200C_202D_206D_200F_202E(QuestStep P_0) + { + return P_0.FateActionTargets; + } + + static InvalidOperationException _202B_206E_202A_206F_202B_202D_202D_202A_206A_206D_202C_202C_206F_202D_206A_200D_200C_202E_202C_200E_200C_206D_202A_200D_202A_206E_206D_206E_200D_202B_202C_202A_200D_202A_202E_202D_200B_206E_202C_202A_202E(string P_0) + { + return new InvalidOperationException(P_0); } } internal sealed record UseOnTargets(IList Targets) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_200F_200D_206C_200F_206E_206E_202E_200B_206C_206F_206F_200E_202A_206B_206E_206F_202C_200E_206C_206F_202A_206B_200D_206A_206A_200E_200D_206A_206C_206A_206D_206B_200F_200B_200B_202D_206C_206E_200C_202E(typeof(UseOnTargets).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"FateAction({Targets.Count} targets)"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(20, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(85708604)); + defaultInterpolatedStringHandler.AppendFormatted(Targets.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1905985229)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_200D_200C_202B_206F_200B_202A_206D_202B_200F_206B_206C_206D_202A_200B_200D_206F_200D_202A_206A_200E_206A_200F_200D_206C_202D_206A_202B_200D_206B_200F_200B_202C_200E_202C_202A_200F_206E_202B_202E(); + _206C_202E_206B_206E_200D_206A_206C_206F_202A_202B_200F_202E_200E_206C_200E_200D_200F_200D_200D_202B_200C_200B_202A_206E_202B_200D_200F_202D_200F_202E_206A_200D_206B_206B_206E_202A_202A_206B_200D_200E_202E(builder, global::_003CModule_003E._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(1742983719)); + _202D_200B_206B_200F_202D_200B_206B_206B_200B_202D_200F_206B_202A_206E_200C_206A_206B_202B_206F_206C_200F_206A_202C_202D_206A_206A_202A_202A_202B_202E_200B_200B_202B_206B_206E_202A_202D_200D_202E_202E(builder, (object)Targets); + return true; + } + + [CompilerGenerated] + public bool Equals(UseOnTargets? other) + { + int num = (((object)this == other) ? 877897699 : 877897703); + while (true) + { + int num2 = num; + int num3 = 877897698; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return EqualityComparer>.Default.Equals(Targets, other.Targets); + case 5: + num = (((object)other == null) ? 877897696 : 877897702); + break; + case 0: + num = 877897703; + break; + case 4: + num = ((!_206A_206F_206E_200D_206E_202A_200F_206D_202A_200E_202A_200F_206F_202E_202E_202E_200E_200B_200B_200F_206E_202A_206F_206B_202C_202A_202B_200B_202B_206B_202B_200C_206F_202C_206E_206E_202E_202B_206A_200C_202E(EqualityContract, other.EqualityContract)) ? 877897696 : 877897697); + break; + case 2: + return false; + case 1: + return true; + } + } + } + + bool IEquatable.Equals(UseOnTargets? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_200F_200D_206C_200F_206E_206E_202E_200B_206C_206F_206F_200E_202A_206B_206E_206F_202C_200E_206C_206F_202A_206B_200D_206A_206A_200E_200D_206A_206C_206A_206D_206B_200F_200B_200B_202D_206C_206E_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200F_200D_200C_202B_206F_200B_202A_206D_202B_200F_206B_206C_206D_202A_200B_200D_206F_200D_202A_206A_200E_206A_200F_200D_206C_202D_206A_202B_200D_206B_200F_200B_202C_200E_202C_202A_200F_206E_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206C_202E_206B_206E_200D_206A_206C_206F_202A_202B_200F_202E_200E_206C_200E_200D_200F_200D_200D_202B_200C_200B_202A_206E_202B_200D_200F_202D_200F_202E_206A_200D_206B_206B_206E_202A_202A_206B_200D_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202D_200B_206B_200F_202D_200B_206B_206B_200B_202D_200F_206B_202A_206E_200C_206A_206B_202B_206F_206C_200F_206A_202C_202D_206A_206A_202A_202A_202B_202E_200B_200B_202B_206B_206E_202A_202D_200D_202E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206A_206F_206E_200D_206E_202A_200F_206D_202A_200E_202A_200F_206F_202E_202E_202E_200E_200B_200B_200F_206E_202A_206F_206B_202C_202A_202B_200B_202B_206B_202B_200C_206F_202C_206E_206E_202E_202B_206A_200C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - internal sealed class UseOnTargetsExecutor(GameFunctions gameFunctions, ILogger logger) : TaskExecutor() + internal sealed class UseOnTargetsExecutor(GameFunctions gameFunctions, ILogger logger) : TaskExecutor() { - private DateTime _nextActionAt = DateTime.MinValue; + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + public static Func _003C_003E9__4_0; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003CStart_003Eb__4_0(FateActionTarget t) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler.AppendFormatted(_202A_200B_206A_202E_202A_202E_200D_200C_202E_206B_206D_206F_200B_200C_202C_200F_202B_200D_202B_206E_206B_200F_206E_200B_202C_202A_202E_202B_202D_206E_202E_200B_202A_200E_206E_202B_202B_202A_202A_202C_202E(t)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(824360664)); + defaultInterpolatedStringHandler.AppendFormatted(_206B_206A_200C_200E_202C_206F_206E_200B_206A_206B_206D_200F_200C_200E_206C_200B_206C_202D_200C_202D_200E_200B_200E_200D_206A_202E_206B_200B_202C_200F_206B_202C_206B_206E_200F_200E_200C_200B_206C_206E_202E(t)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + static uint _202A_200B_206A_202E_202A_202E_200D_200C_202E_206B_206D_206F_200B_200C_202C_200F_202B_200D_202B_206E_206B_200F_206E_200B_202C_202A_202E_202B_202D_206E_202E_200B_202A_200E_206E_202B_202B_202A_202A_202C_202E(FateActionTarget P_0) + { + return P_0.DataId; + } + + static EAction _206B_206A_200C_200E_202C_206F_206E_200B_206A_206B_206D_200F_200C_200E_206C_200B_206C_202D_200C_202D_200E_200B_200E_200D_206A_202E_206B_200B_202C_200F_206B_202C_206B_206E_200F_200E_200C_200B_206C_206E_202E(FateActionTarget P_0) + { + return P_0.Action; + } + } + + private long _nextActionAt; + + [MethodImpl(MethodImplOptions.NoInlining)] 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}"))); + _206F_206A_202C_200C_206F_202D_206B_200E_200C_206A_202B_200F_202A_206D_202D_202B_202C_206B_200E_200D_202C_200D_200B_200D_206F_206B_202A_202E_206A_206E_206B_206D_202A_206E_206F_200D_206E_202B_202D_202A_202E((ILogger)logger, global::_003CModule_003E._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(1134200128), new object[2] + { + base.Task.Targets.Count, + _206D_206D_202C_200B_206E_200F_202C_200F_200F_200E_206A_202D_206A_202B_206E_206D_202B_200E_206B_206D_202A_202C_206B_202D_206D_200D_200D_202C_206B_202E_202E_202D_206D_206D_200D_200C_200F_206C_202C_202C_202E(global::_003CModule_003E._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(1467939024), base.Task.Targets.Select([MethodImpl(MethodImplOptions.NoInlining)] (FateActionTarget t) => + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler.AppendFormatted(_003C_003Ec._202A_200B_206A_202E_202A_202E_200D_200C_202E_206B_206D_206F_200B_200C_202C_200F_202B_200D_202B_206E_206B_200F_206E_200B_202C_202A_202E_202B_202D_206E_202E_200B_202A_200E_206E_202B_202B_202A_202A_202C_202E(t)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(824360664)); + defaultInterpolatedStringHandler.AppendFormatted(_003C_003Ec._206B_206A_200C_200E_202C_206F_206E_200B_206A_206B_206D_200F_200C_200E_206C_200B_206C_202D_200C_202D_200E_200B_200E_200D_206A_202E_206B_200B_202C_200F_206B_202C_206B_206E_200F_200E_200C_200B_206C_206E_202E(t)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + })) + }); return true; } public override ETaskResult Update() { - if (DateTime.Now < _nextActionAt) + int num = ((_202B_202B_206B_206C_202A_202B_202D_206C_200C_202B_202E_206D_202E_200D_206F_200E_206D_200C_202C_206A_200C_200F_202C_202B_206E_202B_206A_206B_200C_202A_206A_202A_206B_200E_200F_206D_200B_202B_202A_206F_202E() >= _nextActionAt) ? 106298228 : 106298231); + IGameObject gameObject = default(IGameObject); + FateActionTarget current = default(FateActionTarget); + while (true) { - return ETaskResult.StillRunning; - } - foreach (FateActionTarget target in base.Task.Targets) - { - IGameObject gameObject = gameFunctions.FindObjectByDataId(target.DataId, null, warnIfMissing: false); - if (gameObject != null && gameObject.IsTargetable) + int num2 = num; + int num3 = 106298229; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - bool flag = gameFunctions.UseAction(gameObject, target.Action); - _nextActionAt = (flag ? DateTime.Now.AddSeconds(2.5) : DateTime.Now.AddSeconds(0.5)); + case 0: + goto IL_0054; + case 2: + return ETaskResult.StillRunning; + case 1: + { + IEnumerator enumerator = base.Task.Targets.GetEnumerator(); + try + { + num = -1088857839; + while (true) + { + int num5 = num; + num3 = -1088857839; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = (_206A_202C_202C_206E_206D_202E_202E_206E_202E_206E_206F_206C_206E_202D_200B_206F_200D_202C_206E_206C_206C_200F_206F_200C_200F_200C_206D_206A_206E_200F_206C_200C_200F_206E_206B_206C_206D_200B_206E_200E_202E((IEnumerator)enumerator) ? (-1088857837) : (-1088857836)); + break; + case 1: + num = ((!_202C_200D_200D_200D_200D_206B_202E_200D_202B_206F_202C_200E_200F_206D_200F_202E_200C_200D_206D_202D_200C_202A_200F_202A_206C_200B_202A_206B_202B_202D_206C_200D_200C_206F_202D_200E_202C_200C_200F_202B_202E(gameObject)) ? (-1088857839) : (-1088857835)); + break; + case 4: + { + bool flag = gameFunctions.UseAction(gameObject, _202E_200F_206B_206E_206F_206C_202E_200E_202A_202E_202D_200C_202E_200E_202E_206F_202B_202E_202D_202D_202B_206A_206B_206B_202B_202B_206E_200C_206A_206C_206A_202E_206F_200B_206E_202B_206C_206D_206E_206D_202E(current)); + _nextActionAt = (flag ? (_202B_202B_206B_206C_202A_202B_202D_206C_200C_202B_202E_206D_202E_200D_206F_200E_206D_200C_202C_206A_200C_200F_202C_202B_206E_202B_206A_206B_200C_202A_206A_202A_206B_200E_200F_206D_200B_202B_202A_206F_202E() + 2500) : (_202B_202B_206B_206C_202A_202B_202D_206C_200C_202B_202E_206D_202E_200D_206F_200E_206D_200C_202C_206A_200C_200F_202C_202B_206E_202B_206A_206B_200C_202A_206A_202A_206B_200E_200F_206D_200B_202B_202A_206F_202E() + 500)); + return ETaskResult.StillRunning; + } + case 2: + current = enumerator.Current; + gameObject = gameFunctions.FindObjectByDataId(_202D_206A_202D_202D_206A_206B_200C_206A_200D_202B_200F_206E_200F_200E_200D_206E_206A_200E_206E_202A_200F_202A_200D_206E_202A_202B_206E_206C_206E_202D_206E_202A_200C_202E_200F_206C_200E_206D_202A_202B_202E(current), null, warnIfMissing: false); + num = ((gameObject == null) ? (-1088857839) : (-1088857840)); + break; + case 3: + num = -1088857839; + break; + case 5: + goto end_IL_007f; + } + continue; + end_IL_007f: + break; + } + } + finally + { + num = ((enumerator == null) ? (-2091271449) : (-2091271452)); + while (true) + { + int num6 = num; + num3 = -2091271450; + num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 0: + num = -2091271452; + break; + case 1: + goto end_IL_01c0; + case 2: + _200D_202A_206C_206C_200B_206E_200C_206E_206A_200E_206A_200B_206D_206B_206F_206E_206E_206D_206A_206C_202E_206C_202D_202C_200F_200B_200F_200F_200B_200D_202D_206E_200F_206F_200F_206D_202A_200E_202E_206C_202E((IDisposable)enumerator); + num = -2091271449; + break; + } + continue; + end_IL_01c0: + break; + } + } + _nextActionAt = _202B_202B_206B_206C_202A_202B_202D_206C_200C_202B_202E_206D_202E_200D_206F_200E_206D_200C_202C_206A_200C_200F_202C_202B_206E_202B_206A_206B_200C_202A_206A_202A_206B_200E_200F_206D_200B_202B_202A_206F_202E() + 250; return ETaskResult.StillRunning; } + } + continue; + IL_0054: + num = 106298231; } - _nextActionAt = DateTime.Now.AddSeconds(0.25); - return ETaskResult.StillRunning; } public override bool ShouldInterruptOnDamage() { return false; } + + static string _206D_206D_202C_200B_206E_200F_202C_200F_200F_200E_206A_202D_206A_202B_206E_206D_202B_200E_206B_206D_202A_202C_206B_202D_206D_200D_200D_202C_206B_202E_202E_202D_206D_206D_200D_200C_200F_206C_202C_202C_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static void _206F_206A_202C_200C_206F_202D_206B_200E_200C_206A_202B_200F_202A_206D_202D_202B_202C_206B_200E_200D_202C_200D_200B_200D_206F_206B_202A_202E_206A_206E_206B_206D_202A_206E_206F_200D_206E_202B_202D_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static long _202B_202B_206B_206C_202A_202B_202D_206C_200C_202B_202E_206D_202E_200D_206F_200E_206D_200C_202C_206A_200C_200F_202C_202B_206E_202B_206A_206B_200C_202A_206A_202A_206B_200E_200F_206D_200B_202B_202A_206F_202E() + { + return Environment.TickCount64; + } + + static uint _202D_206A_202D_202D_206A_206B_200C_206A_200D_202B_200F_206E_200F_200E_200D_206E_206A_200E_206E_202A_200F_202A_200D_206E_202A_202B_206E_206C_206E_202D_206E_202A_200C_202E_200F_206C_200E_206D_202A_202B_202E(FateActionTarget P_0) + { + return P_0.DataId; + } + + static bool _202C_200D_200D_200D_200D_206B_202E_200D_202B_206F_202C_200E_200F_206D_200F_202E_200C_200D_206D_202D_200C_202A_200F_202A_206C_200B_202A_206B_202B_202D_206C_200D_200C_206F_202D_200E_202C_200C_200F_202B_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } + + static EAction _202E_200F_206B_206E_206F_206C_202E_200E_202A_202E_202D_200C_202E_200E_202E_206F_202B_202E_202D_202D_202B_206A_206B_206B_202B_202B_206E_200C_206A_206C_206A_202E_206F_200B_206E_202B_206C_206D_206E_206D_202E(FateActionTarget P_0) + { + return P_0.Action; + } + + static bool _206A_202C_202C_206E_206D_202E_202E_206E_202E_206E_206F_206C_206E_202D_200B_206F_200D_202C_206E_206C_206C_200F_206F_200C_200F_200C_206D_206A_206E_200F_206C_200C_200F_206E_206B_206C_206D_200B_206E_200E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200D_202A_206C_206C_200B_206E_200C_206E_206A_200E_206A_200B_206D_206B_206F_206E_206E_206D_206A_206C_202E_206C_202D_202C_200F_200B_200F_200F_200B_200D_202D_206E_200F_206F_200F_206D_202A_200E_202E_206C_202E(IDisposable P_0) + { + P_0.Dispose(); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/FateFarming.cs b/Questionable/Questionable.Controller.Steps.Interactions/FateFarming.cs index 8075e719..06132c4f 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/FateFarming.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/FateFarming.cs @@ -1,5 +1,8 @@ using System; +using System.Collections; using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Game.ClientState.Objects.Types; using Microsoft.Extensions.Logging; using Questionable.Functions; @@ -11,172 +14,684 @@ internal static class FateFarming { internal sealed record WaitForFateTargets(IReadOnlyList Targets) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206F_200D_200E_202C_202D_202D_200C_206D_206B_206B_206A_200E_200F_206D_202D_206B_206A_202D_200D_206C_206B_206B_206D_206B_206F_206F_202C_200E_200F_202C_206B_202C_202E_202B_202C_202A_202A_202C_206C_202B_202E(typeof(WaitForFateTargets).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"WaitForFateTargets({Targets.Count} targets)"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(28, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-764429910)); + defaultInterpolatedStringHandler.AppendFormatted(Targets.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(81942764)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_202D_202C_200E_202E_206E_206E_200F_206A_200B_200E_206C_206F_200C_202D_206A_202E_200E_206D_200E_202E_206B_202E_202D_202A_202B_206A_206D_206D_202D_200E_206E_206B_202D_206F_206B_200E_206F_202E(); + _206C_202C_206F_206E_200C_206E_202A_206A_206A_206C_200C_206D_200E_202D_206D_206A_206E_206D_202D_200E_206D_206E_200F_200E_206D_206D_202E_202D_202C_202A_202D_200E_206D_202A_206F_206E_206D_206F_200C_202C_202E(builder, global::_003CModule_003E._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(-1764240763)); + _202B_200F_200B_202B_202E_206A_206B_200D_206D_202C_206A_200D_206C_200F_200F_200D_206C_200D_202A_202E_206A_206B_206B_200C_200C_206B_202A_200D_200F_206A_206C_200B_200D_200C_206A_200C_200D_202A_202E_202E(builder, (object)Targets); + return true; + } + + [CompilerGenerated] + public bool Equals(WaitForFateTargets? other) + { + int num = (((object)this == other) ? (-989608852) : (-989608851)); + while (true) + { + int num2 = num; + int num3 = -989608856; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 5: + num = (((object)other == null) ? (-989608854) : (-989608853)); + break; + case 1: + return EqualityComparer>.Default.Equals(Targets, other.Targets); + case 4: + return true; + case 3: + num = ((!_206E_202A_200D_206C_202A_202B_206C_206D_206E_202D_202E_206E_206C_206D_202B_206C_206C_202C_200C_206C_202C_202B_206F_202B_202C_200C_202D_206F_206F_206C_200E_206D_206B_206F_206A_202C_202B_206D_200E_206D_202E(EqualityContract, other.EqualityContract)) ? (-989608854) : (-989608855)); + break; + case 0: + num = -989608851; + break; + } + } + } + + bool IEquatable.Equals(WaitForFateTargets? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206F_200D_200E_202C_202D_202D_200C_206D_206B_206B_206A_200E_200F_206D_202D_206B_206A_202D_200D_206C_206B_206B_206D_206B_206F_206F_202C_200E_200F_202C_206B_202C_202E_202B_202C_202A_202A_202C_206C_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206C_202D_202C_200E_202E_206E_206E_200F_206A_200B_200E_206C_206F_200C_202D_206A_202E_200E_206D_200E_202E_206B_202E_202D_202A_202B_206A_206D_206D_202D_200E_206E_206B_202D_206F_206B_200E_206F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206C_202C_206F_206E_200C_206E_202A_206A_206A_206C_200C_206D_200E_202D_206D_206A_206E_206D_202D_200E_206D_206E_200F_200E_206D_206D_202E_202D_202C_202A_202D_200E_206D_202A_206F_206E_206D_206F_200C_202C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202B_200F_200B_202B_202E_206A_206B_200D_206D_202C_206A_200D_206C_200F_200F_200D_206C_200D_202A_202E_206A_206B_206B_200C_200C_206B_202A_200D_200F_206A_206C_200B_200D_200C_206A_200C_200D_202A_202E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206E_202A_200D_206C_202A_202B_206C_206D_206E_202D_202E_206E_206C_206D_202B_206C_206C_202C_200C_206C_202C_202B_206F_202B_202C_200C_202D_206F_206F_206C_200E_206D_206B_206F_206A_202C_202B_206D_200E_206D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class WaitForFateTargetsExecutor(GameFunctions gameFunctions, ILogger logger) : TaskExecutor() { - private DateTime _nextPollAt = DateTime.MinValue; + private long _nextPollAt; private bool _loggedWaitingForFate; + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - logger.LogInformation("Waiting for FATE targets to appear ({Count} targets)", base.Task.Targets.Count); + _202B_200F_202E_200F_206D_200F_206B_200D_206D_200D_200E_202C_206C_202E_206F_206A_206E_206D_202B_202B_202C_200B_206F_200F_202A_200D_200F_200C_202E_200B_206D_202E_206B_206A_206E_202B_200F_200F_202E_206D_202E((ILogger)logger, global::_003CModule_003E._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(-1410411632), new object[1] { base.Task.Targets.Count }); _loggedWaitingForFate = false; return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - if (DateTime.Now < _nextPollAt) + int num = ((_202D_202D_200B_200D_202B_206A_202D_200C_202E_200B_200B_206B_202C_200C_206E_200E_200E_200D_202C_202B_202D_200C_200D_206B_200D_200F_206A_202C_202B_200C_206E_202A_206F_200D_206C_206F_206B_202E_202A_202E() >= _nextPollAt) ? 347657580 : 347657579); + ushort currentFateId = default(ushort); + FateActionTarget current = default(FateActionTarget); + IGameObject gameObject = default(IGameObject); + while (true) { - return ETaskResult.StillRunning; - } - ushort currentFateId = gameFunctions.GetCurrentFateId(); - if (currentFateId == 0) - { - if (!_loggedWaitingForFate) + int num2 = num; + int num3 = 347657582; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - logger.LogInformation("No active FATE yet, waiting for FATE to start before checking targets"); + case 3: + num = 347657579; + break; + case 5: + return ETaskResult.StillRunning; + case 1: + _nextPollAt = _202D_202D_200B_200D_202B_206A_202D_200C_202E_200B_200B_206B_202C_200C_206E_200E_200E_200D_202C_202B_202D_200C_200D_206B_200D_200F_206A_202C_202B_200C_206E_202A_206F_200D_206C_206F_206B_202E_202A_202E() + 1000; + return ETaskResult.StillRunning; + case 4: + _202B_200F_202E_200F_206D_200F_206B_200D_206D_200D_200E_202C_206C_202E_206F_206A_206E_206D_202B_202B_202C_200B_206F_200F_202A_200D_200F_200C_202E_200B_206D_202E_206B_206A_206E_202B_200F_200F_202E_206D_202E((ILogger)logger, global::_003CModule_003E._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(-1240055981), Array.Empty()); _loggedWaitingForFate = true; - } - _nextPollAt = DateTime.Now.AddSeconds(1.0); - return ETaskResult.StillRunning; - } - _loggedWaitingForFate = false; - foreach (FateActionTarget target in base.Task.Targets) - { - IGameObject gameObject = gameFunctions.FindObjectByDataId(target.DataId, null, warnIfMissing: false); - if (gameObject != null && gameObject.IsTargetable) + num = 347657583; + break; + case 2: + currentFateId = gameFunctions.GetCurrentFateId(); + num = ((currentFateId != 0) ? 347657576 : 347657582); + break; + case 0: + num = (_loggedWaitingForFate ? 347657583 : 347657578); + break; + case 6: { - logger.LogInformation("FATE {FateId} active and target {DataId} is targetable", currentFateId, target.DataId); - return ETaskResult.TaskComplete; + _loggedWaitingForFate = false; + IEnumerator enumerator = base.Task.Targets.GetEnumerator(); + try + { + num = -373808532; + while (true) + { + int num7 = num; + num3 = -373808536; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -373808532; + break; + case 4: + num = (_202B_200B_206D_206A_200C_206A_200E_202A_200C_206D_202A_200D_200F_202A_202A_200D_206F_206E_200B_200B_206A_206F_206B_206D_206C_206B_200B_206F_202C_200E_202A_206B_206C_206B_206D_206A_202B_200F_206C_206C_202E((IEnumerator)enumerator) ? (-373808535) : (-373808534)); + break; + case 1: + current = enumerator.Current; + gameObject = gameFunctions.FindObjectByDataId(_206C_200C_206E_202D_200E_202B_200C_202E_200E_202A_206E_200E_202A_206F_206A_206E_206B_202E_206D_206B_200B_202E_206C_200C_200B_202D_200E_202D_206D_206E_206C_206A_200D_206A_200B_206D_202D_200D_200F_200E_202E(current), null, warnIfMissing: false); + num = ((gameObject == null) ? (-373808532) : (-373808531)); + break; + case 3: + _202B_200F_202E_200F_206D_200F_206B_200D_206D_200D_200E_202C_206C_202E_206F_206A_206E_206D_202B_202B_202C_200B_206F_200F_202A_200D_200F_200C_202E_200B_206D_202E_206B_206A_206E_202B_200F_200F_202E_206D_202E((ILogger)logger, global::_003CModule_003E._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(955603109), new object[2] + { + currentFateId, + _206C_200C_206E_202D_200E_202B_200C_202E_200E_202A_206E_200E_202A_206F_206A_206E_206B_202E_206D_206B_200B_202E_206C_200C_200B_202D_200E_202D_206D_206E_206C_206A_200D_206A_200B_206D_202D_200D_200F_200E_202E(current) + }); + return ETaskResult.TaskComplete; + case 5: + num = ((!_206E_202E_206B_200E_202C_202C_206D_200F_206F_200E_202C_200F_200E_202B_206E_206A_202C_202D_200F_200B_202C_202B_202E_206A_206A_200C_206B_202E_206C_200F_200F_206B_200F_200D_206F_200C_202D_200F_202E_202C_202E(gameObject)) ? (-373808532) : (-373808533)); + break; + case 2: + goto end_IL_0126; + } + continue; + end_IL_0126: + break; + } + } + finally + { + num = ((enumerator == null) ? (-816867460) : (-816867457)); + while (true) + { + int num8 = num; + num3 = -816867458; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num = -816867457; + break; + case 2: + goto end_IL_025b; + case 1: + _200D_200B_202C_206E_200C_200D_202E_200F_206E_206B_206F_206F_202C_206C_206B_200B_202E_206E_202E_206F_206B_206E_206B_206C_200B_206D_206C_200E_202B_202E_200D_200D_202D_206B_200B_206C_206C_202C_206D_206D_202E((IDisposable)enumerator); + num = -816867460; + break; + } + continue; + end_IL_025b: + break; + } + } + _nextPollAt = _202D_202D_200B_200D_202B_206A_202D_200C_202E_200B_200B_206B_202C_200C_206E_200E_200E_200D_202C_202B_202D_200C_200D_206B_200D_200F_206A_202C_202B_200C_206E_202A_206F_200D_206C_206F_206B_202E_202A_202E() + 1000; + return ETaskResult.StillRunning; + } } } - _nextPollAt = DateTime.Now.AddSeconds(1.0); - return ETaskResult.StillRunning; } public override bool ShouldInterruptOnDamage() { return false; } + + static void _202B_200F_202E_200F_206D_200F_206B_200D_206D_200D_200E_202C_206C_202E_206F_206A_206E_206D_202B_202B_202C_200B_206F_200F_202A_200D_200F_200C_202E_200B_206D_202E_206B_206A_206E_202B_200F_200F_202E_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static long _202D_202D_200B_200D_202B_206A_202D_200C_202E_200B_200B_206B_202C_200C_206E_200E_200E_200D_202C_202B_202D_200C_200D_206B_200D_200F_206A_202C_202B_200C_206E_202A_206F_200D_206C_206F_206B_202E_202A_202E() + { + return Environment.TickCount64; + } + + static uint _206C_200C_206E_202D_200E_202B_200C_202E_200E_202A_206E_200E_202A_206F_206A_206E_206B_202E_206D_206B_200B_202E_206C_200C_200B_202D_200E_202D_206D_206E_206C_206A_200D_206A_200B_206D_202D_200D_200F_200E_202E(FateActionTarget P_0) + { + return P_0.DataId; + } + + static bool _206E_202E_206B_200E_202C_202C_206D_200F_206F_200E_202C_200F_200E_202B_206E_206A_202C_202D_200F_200B_202C_202B_202E_206A_206A_200C_206B_202E_206C_200F_200F_206B_200F_200D_206F_200C_202D_200F_202E_202C_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } + + static bool _202B_200B_206D_206A_200C_206A_200E_202A_200C_206D_202A_200D_200F_202A_202A_200D_206F_206E_200B_200B_206A_206F_206B_206D_206C_206B_200B_206F_202C_200E_202A_206B_206C_206B_206D_206A_202B_200F_206C_206C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200D_200B_202C_206E_200C_200D_202E_200F_206E_206B_206F_206F_202C_206C_206B_200B_202E_206E_202E_206F_206B_206E_206B_206C_200B_206D_206C_200E_202B_202E_200D_200D_202D_206B_200B_206C_206C_202C_206D_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } } internal sealed record SyncFateLevel : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200E_200E_202E_202C_206D_206D_202D_202D_206D_202D_202D_200E_202E_200B_206F_200F_206D_202A_202B_206C_202D_206C_200D_206B_206B_206D_200B_206B_202B_206D_202D_206C_206E_206A_202B_200C_202E_202A_202A_202E(typeof(SyncFateLevel).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "SyncFateLevel"; + return global::_003CModule_003E._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(-475022604); + } + + [CompilerGenerated] + public bool Equals(SyncFateLevel? other) + { + int num = (((object)this == other) ? (-1810746369) : (-1810746375)); + while (true) + { + int num2 = num; + int num3 = -1810746371; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return false; + case 4: + num = (((object)other == null) ? (-1810746370) : (-1810746372)); + break; + case 1: + return _202C_200F_206A_206F_202B_202E_200E_206A_206B_206E_206A_206C_206D_202B_200E_206F_206B_200B_200D_200D_202D_202E_206A_202A_200F_202D_202A_200B_206D_202D_202B_200B_202E_202C_202A_202B_200D_200E_206D_206E_202E(EqualityContract, other.EqualityContract); + case 2: + return true; + case 0: + num = -1810746375; + break; + } + } + } + + bool IEquatable.Equals(SyncFateLevel? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200E_200E_202E_202C_206D_206D_202D_202D_206D_202D_202D_200E_202E_200B_206F_200F_206D_202A_202B_206C_202D_206C_200D_206B_206B_206D_200B_206B_202B_206D_202D_206C_206E_206A_202B_200C_202E_202A_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _202C_200F_206A_206F_202B_202E_200E_206A_206B_206E_206A_206C_206D_202B_200E_206F_206B_200B_200D_200D_202D_202E_206A_202A_200F_202D_202A_200B_206D_202D_202B_200B_202E_202C_202A_202B_200D_200E_206D_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class SyncFateLevelExecutor(GameFunctions gameFunctions, ILogger logger) : TaskExecutor() { + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - logger.LogInformation("Syncing to FATE level"); + _206B_206D_200B_202C_206D_206E_202E_206E_200E_202A_200E_206B_206E_200D_200E_206A_200D_202B_200D_202A_206C_200C_206E_206F_202B_202C_200D_200E_206E_206C_200F_202A_206F_202C_202E_202E_206D_206C_202B_202D_202E((ILogger)logger, global::_003CModule_003E._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(245649986), Array.Empty()); return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { ushort currentFateId = gameFunctions.GetCurrentFateId(); - if (currentFateId == 0) + int num = ((currentFateId != 0) ? (-666684793) : (-666684794)); + while (true) { - logger.LogDebug("No active FATE to sync to, skipping"); - return ETaskResult.TaskComplete; + int num2 = num; + int num3 = -666684793; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + gameFunctions.SyncToFate(currentFateId); + return ETaskResult.TaskComplete; + case 1: + _206B_206D_200B_202C_206D_206E_202E_206E_200E_202A_200E_206B_206E_200D_200E_206A_200D_202B_200D_202A_206C_200C_206E_206F_202B_202C_200D_200E_206E_206C_200F_202A_206F_202C_202E_202E_206D_206C_202B_202D_202E((ILogger)logger, global::_003CModule_003E._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(-1969316216), Array.Empty()); + return ETaskResult.TaskComplete; + case 2: + goto IL_007a; + } + continue; + IL_007a: + num = -666684794; } - gameFunctions.SyncToFate(currentFateId); - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return false; } + + static void _206B_206D_200B_202C_206D_206E_202E_206E_200E_202A_200E_206B_206E_200D_200E_206A_200D_202B_200D_202A_206C_200C_206E_206F_202B_202C_200D_200E_206E_206C_200F_202A_206F_202C_202E_202E_206D_206C_202B_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } } internal sealed record FateActionLoop(IReadOnlyList Targets, EStatus? RequiredStatusId = null) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_202C_206B_202D_200B_200D_206E_202C_202D_202C_206B_202A_200B_206F_206D_200C_202E_200E_202B_202B_206A_206E_200F_202C_206F_200B_202A_206A_200D_206A_206A_200B_202E_200F_200E_206D_206B_206F_202C_202E(typeof(FateActionLoop).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"FateActionLoop({Targets.Count} targets)"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(24, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(213111494)); + defaultInterpolatedStringHandler.AppendFormatted(Targets.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1905985229)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200D_202A_200E_200D_206D_206D_206E_200F_206D_202A_206F_206E_200D_202E_206D_206C_200C_202E_206D_206F_206C_200F_200C_200C_202E_202B_206C_206F_206C_206E_206F_202A_202A_206D_200E_200D_206B_200F_202E_200C_202E(); + _206D_202A_200C_200C_202C_202D_206E_202B_206C_202E_202D_200C_202C_202C_202E_202C_206B_206C_202B_202C_206D_206D_200F_202A_200C_206E_206C_206D_200F_200F_206D_200E_206E_206A_202E_200F_206F_200E_200E_200D_202E(builder, global::_003CModule_003E._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(-144611919)); + _200C_206F_202A_206F_202D_200D_206C_202E_202E_206C_206B_206F_206F_202E_200F_206D_202D_202B_206F_202B_202E_206B_206F_202C_200C_206C_200F_202A_206C_202A_202B_202B_206D_206A_206D_206A_206F_200B_202A_202B_202E(builder, (object)Targets); + _206D_202A_200C_200C_202C_202D_206E_202B_206C_202E_202D_200C_202C_202C_202E_202C_206B_206C_202B_202C_206D_206D_200F_202A_200C_206E_206C_206D_200F_200F_206D_200E_206E_206A_202E_200F_206F_200E_200E_200D_202E(builder, global::_003CModule_003E._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(-1576420107)); + _206D_202A_200C_200C_202C_202D_206E_202B_206C_202E_202D_200C_202C_202C_202E_202C_206B_206C_202B_202C_206D_206D_200F_202A_200C_206E_206C_206D_200F_200F_206D_200E_206E_206A_202E_200F_206F_200E_200E_200D_202E(builder, RequiredStatusId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(FateActionLoop? other) + { + int num = (((object)this == other) ? (-346298677) : (-346298676)); + while (true) + { + int num2 = num; + int num3 = -346298674; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((!EqualityComparer>.Default.Equals(Targets, other.Targets)) ? (-346298680) : (-346298673)); + break; + case 2: + num = (((object)other == null) ? (-346298680) : (-346298678)); + break; + case 6: + return false; + case 3: + num = -346298676; + break; + case 4: + num = ((!_206D_200C_202E_200C_202A_206D_200C_200B_200C_202B_206C_202E_206D_206B_202E_202B_202C_202B_200E_206D_202B_202C_206F_202D_206F_202C_200D_206B_206A_206C_206B_202C_202B_202A_206E_200F_200C_206E_200B_200D_202E(EqualityContract, other.EqualityContract)) ? (-346298680) : (-346298674)); + break; + case 5: + return true; + case 1: + return EqualityComparer.Default.Equals(RequiredStatusId, other.RequiredStatusId); + } + } + } + + bool IEquatable.Equals(FateActionLoop? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_202C_206B_202D_200B_200D_206E_202C_202D_202C_206B_202A_200B_206F_206D_200C_202E_200E_202B_202B_206A_206E_200F_202C_206F_200B_202A_206A_200D_206A_206A_200B_202E_200F_200E_206D_206B_206F_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200D_202A_200E_200D_206D_206D_206E_200F_206D_202A_206F_206E_200D_202E_206D_206C_200C_202E_206D_206F_206C_200F_200C_200C_202E_202B_206C_206F_206C_206E_206F_202A_202A_206D_200E_200D_206B_200F_202E_200C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206D_202A_200C_200C_202C_202D_206E_202B_206C_202E_202D_200C_202C_202C_202E_202C_206B_206C_202B_202C_206D_206D_200F_202A_200C_206E_206C_206D_200F_200F_206D_200E_206E_206A_202E_200F_206F_200E_200E_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200C_206F_202A_206F_202D_200D_206C_202E_202E_206C_206B_206F_206F_202E_200F_206D_202D_202B_206F_202B_202E_206B_206F_202C_200C_206C_200F_202A_206C_202A_202B_202B_206D_206A_206D_206A_206F_200B_202A_202B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206D_200C_202E_200C_202A_206D_200C_200B_200C_202B_206C_202E_206D_206B_202E_202B_202C_202B_200E_206D_202B_202C_206F_202D_206F_202C_200D_206B_206A_206C_206B_202C_202B_202A_206E_200F_200C_206E_200B_200D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class FateActionLoopExecutor(GameFunctions gameFunctions, ILogger logger) : TaskExecutor() { - private DateTime _nextActionAt = DateTime.MinValue; + private long _nextActionAt; private ushort _trackedFateId; private bool _fateWasActive; + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { _trackedFateId = gameFunctions.GetCurrentFateId(); - logger.LogInformation("Starting FATE action loop with {Count} targets, tracking FATE {FateId}", base.Task.Targets.Count, _trackedFateId); + _202E_202D_202C_202B_206F_200B_206E_202D_206A_202D_200D_202E_206C_206F_206D_206C_206D_200D_206E_206E_202E_206C_202A_206D_200F_206A_200B_200E_202A_200C_202A_200B_200C_206A_202D_200E_200C_202C_206F_200F_202E((ILogger)logger, global::_003CModule_003E._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(-2063272986), new object[2] + { + base.Task.Targets.Count, + _trackedFateId + }); return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - if (DateTime.Now < _nextActionAt) + int num = ((_202E_206D_202B_200D_206F_206C_202A_206F_206C_202D_206B_206D_202B_200D_202C_206B_200F_200E_202B_202D_206B_206E_206E_200D_206E_200E_200D_202A_200E_202A_206D_200C_202A_206D_200D_206E_206E_206E_202D_202A_202E() >= _nextActionAt) ? 464111573 : 464111570); + bool flag2 = default(bool); + ushort currentFateId = default(ushort); + IGameObject gameObject = default(IGameObject); + FateActionTarget current = default(FateActionTarget); + while (true) { - 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); - return ETaskResult.TaskComplete; - } - bool flag = gameFunctions.GetCurrentFateId() != 0; - if (_fateWasActive && !flag) - { - logger.LogInformation("FATE {FateId} is no longer active, cycle complete", _trackedFateId); - return ETaskResult.TaskComplete; - } - _fateWasActive = flag; - if (_trackedFateId == 0) - { - _trackedFateId = gameFunctions.GetCurrentFateId(); - if (_trackedFateId != 0) + int num2 = num; + int num3 = 464111571; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - logger.LogInformation("Now tracking FATE {FateId}", _trackedFateId); - } - } - if (_trackedFateId != 0 && !gameFunctions.IsFateStillActive(_trackedFateId)) - { - logger.LogInformation("FATE {FateId} is no longer running, cycle complete", _trackedFateId); - return ETaskResult.TaskComplete; - } - foreach (FateActionTarget target in base.Task.Targets) - { - IGameObject gameObject = gameFunctions.FindObjectByDataId(target.DataId, null, warnIfMissing: false); - if (gameObject != null && gameObject.IsTargetable) + case 10: + _202E_202D_202C_202B_206F_200B_206E_202D_206A_202D_200D_202E_206C_206F_206D_206C_206D_200D_206E_206E_202E_206C_202A_206D_200F_206A_200B_200E_202A_200C_202A_200B_200C_206A_202D_200E_200C_202C_206F_200F_202E((ILogger)logger, global::_003CModule_003E._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(1515231479), new object[1] { _trackedFateId }); + num = 464111571; + break; + case 2: + _fateWasActive = flag2; + num = ((_trackedFateId != 0) ? 464111571 : 464111572); + break; + case 12: + num = (gameFunctions.HasStatus(base.Task.RequiredStatusId.Value) ? 464111581 : 464111574); + break; + case 7: + _trackedFateId = currentFateId; + num = ((_trackedFateId == 0) ? 464111571 : 464111577); + break; + case 14: + currentFateId = gameFunctions.GetCurrentFateId(); + flag2 = currentFateId != 0; + num = ((!_fateWasActive) ? 464111569 : 464111582); + break; + case 0: + num = ((_trackedFateId == 0) ? 464111576 : 464111568); + break; + case 3: + num = (gameFunctions.IsFateStillActive(_trackedFateId) ? 464111576 : 464111579); + break; + case 9: + num = 464111570; + break; + case 6: + num = ((!base.Task.RequiredStatusId.HasValue) ? 464111581 : 464111583); + break; + case 8: + _202E_202D_202C_202B_206F_200B_206E_202D_206A_202D_200D_202E_206C_206F_206D_206C_206D_200D_206E_206E_202E_206C_202A_206D_200F_206A_200B_200E_202A_200C_202A_200B_200C_206A_202D_200E_200C_202C_206F_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1418980453), new object[1] { _trackedFateId }); + return ETaskResult.TaskComplete; + case 5: + _202E_202D_202C_202B_206F_200B_206E_202D_206A_202D_200D_202E_206C_206F_206D_206C_206D_200D_206E_206E_202E_206C_202A_206D_200F_206A_200B_200E_202A_200C_202A_200B_200C_206A_202D_200E_200C_202C_206F_200F_202E((ILogger)logger, global::_003CModule_003E._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(1749346970), new object[1] { base.Task.RequiredStatusId.Value }); + return ETaskResult.TaskComplete; + case 4: + _202E_202D_202C_202B_206F_200B_206E_202D_206A_202D_200D_202E_206C_206F_206D_206C_206D_200D_206E_206E_202E_206C_202A_206D_200F_206A_200B_200E_202A_200C_202A_200B_200C_206A_202D_200E_200C_202C_206F_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1750997403), new object[1] { _trackedFateId }); + return ETaskResult.TaskComplete; + case 1: + return ETaskResult.StillRunning; + case 13: + num = (flag2 ? 464111569 : 464111575); + break; + case 11: { - bool flag2 = gameFunctions.UseAction(gameObject, target.Action); - _nextActionAt = (flag2 ? DateTime.Now.AddSeconds(2.5) : DateTime.Now.AddSeconds(0.5)); + IEnumerator enumerator = base.Task.Targets.GetEnumerator(); + try + { + num = -742577641; + while (true) + { + int num7 = num; + num3 = -742577643; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + num = (_206F_202D_200F_206F_200C_206E_206A_200D_200E_202D_206B_200F_202E_206D_202A_206A_202B_206F_200F_202D_200F_206E_200D_202E_206B_200E_206B_200C_202A_200E_206C_200F_206E_206C_202E_202D_206E_202D_200B_202C_202E((IEnumerator)enumerator) ? (-742577647) : (-742577642)); + break; + case 1: + num = ((!_200E_202B_202A_200B_200C_206B_206F_202A_202A_202C_206D_206A_206A_206E_206F_202C_202A_202E_202C_202B_200D_202A_200D_202D_206B_200B_202B_206E_206F_202B_206F_200B_202A_200F_206D_202B_206C_200F_202B_206D_202E(gameObject)) ? (-742577641) : (-742577648)); + break; + case 5: + { + bool flag = gameFunctions.UseAction(gameObject, _202C_202D_206A_200F_206B_202A_206B_202D_202B_202D_206F_200E_202D_206C_206A_202E_202A_200B_202D_206B_202B_206E_202D_206C_206D_202D_202B_200D_200B_202A_206F_200B_202A_200B_206A_202C_206B_206D_206F_206A_202E(current)); + _nextActionAt = (flag ? (_202E_206D_202B_200D_206F_206C_202A_206F_206C_202D_206B_206D_202B_200D_202C_206B_200F_200E_202B_202D_206B_206E_206E_200D_206E_200E_200D_202A_200E_202A_206D_200C_202A_206D_200D_206E_206E_206E_202D_202A_202E() + 2500) : (_202E_206D_202B_200D_206F_206C_202A_206F_206C_202D_206B_206D_202B_200D_202C_206B_200F_200E_202B_202D_206B_206E_206E_200D_206E_200E_200D_202A_200E_202A_206D_200C_202A_206D_200D_206E_206E_206E_202D_202A_202E() + 500)); + return ETaskResult.StillRunning; + } + case 4: + current = enumerator.Current; + gameObject = gameFunctions.FindObjectByDataId(_200F_206F_206E_206B_200D_206D_202E_206A_206E_202C_200B_200E_200D_200E_202A_200C_202C_206D_202B_206A_206D_200F_202C_200C_200C_202A_206B_206C_206E_202B_206A_206E_202A_202B_206A_206D_202E_206C_202D_202B_202E(current), null, warnIfMissing: false); + num = ((gameObject == null) ? (-742577641) : (-742577644)); + break; + case 0: + num = -742577641; + break; + case 3: + goto end_IL_02d6; + } + continue; + end_IL_02d6: + break; + } + } + finally + { + num = ((enumerator == null) ? (-2077958927) : (-2077958928)); + while (true) + { + int num10 = num; + num3 = -2077958927; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + goto end_IL_0421; + case 1: + _202C_206B_202B_202B_206B_202C_200C_206D_206F_200B_200B_206C_206F_202E_200F_206C_206A_202B_200E_206D_200D_202E_206F_200F_206E_202B_202D_202B_200C_202C_206C_202B_206D_200F_202A_206A_200C_202A_206D_202E_202E((IDisposable)enumerator); + num = -2077958927; + break; + case 2: + num = -2077958928; + break; + } + continue; + end_IL_0421: + break; + } + } + _nextActionAt = _202E_206D_202B_200D_206F_206C_202A_206F_206C_202D_206B_206D_202B_200D_202C_206B_200F_200E_202B_202D_206B_206E_206E_200D_206E_200E_200D_202A_200E_202A_206D_200C_202A_206D_200D_206E_206E_206E_202D_202A_202E() + 250; return ETaskResult.StillRunning; } + } } - _nextActionAt = DateTime.Now.AddSeconds(0.25); - return ETaskResult.StillRunning; } public override bool ShouldInterruptOnDamage() { return false; } + + static void _202E_202D_202C_202B_206F_200B_206E_202D_206A_202D_200D_202E_206C_206F_206D_206C_206D_200D_206E_206E_202E_206C_202A_206D_200F_206A_200B_200E_202A_200C_202A_200B_200C_206A_202D_200E_200C_202C_206F_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static long _202E_206D_202B_200D_206F_206C_202A_206F_206C_202D_206B_206D_202B_200D_202C_206B_200F_200E_202B_202D_206B_206E_206E_200D_206E_200E_200D_202A_200E_202A_206D_200C_202A_206D_200D_206E_206E_206E_202D_202A_202E() + { + return Environment.TickCount64; + } + + static uint _200F_206F_206E_206B_200D_206D_202E_206A_206E_202C_200B_200E_200D_200E_202A_200C_202C_206D_202B_206A_206D_200F_202C_200C_200C_202A_206B_206C_206E_202B_206A_206E_202A_202B_206A_206D_202E_206C_202D_202B_202E(FateActionTarget P_0) + { + return P_0.DataId; + } + + static bool _200E_202B_202A_200B_200C_206B_206F_202A_202A_202C_206D_206A_206A_206E_206F_202C_202A_202E_202C_202B_200D_202A_200D_202D_206B_200B_202B_206E_206F_202B_206F_200B_202A_200F_206D_202B_206C_200F_202B_206D_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } + + static EAction _202C_202D_206A_200F_206B_202A_206B_202D_202B_202D_206F_200E_202D_206C_206A_202E_202A_200B_202D_206B_202B_206E_202D_206C_206D_202D_202B_200D_200B_202A_206F_200B_202A_200B_206A_202C_206B_206D_206F_206A_202E(FateActionTarget P_0) + { + return P_0.Action; + } + + static bool _206F_202D_200F_206F_200C_206E_206A_200D_200E_202D_206B_200F_202E_206D_202A_206A_202B_206F_200F_202D_200F_206E_200D_202E_206B_200E_206B_200C_202A_200E_206C_200F_206E_206C_202E_202D_206E_202D_200B_202C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202C_206B_202B_202B_206B_202C_200C_206D_206F_200B_200B_206C_206F_202E_200F_206C_206A_202B_200E_206D_200D_202E_206F_200F_206E_202B_202D_202B_200C_202C_206C_202B_206D_200F_202A_206A_200C_202A_206D_202E_202E(IDisposable P_0) + { + P_0.Dispose(); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Interact.cs b/Questionable/Questionable.Controller.Steps.Interactions/Interact.cs index ce2cfd81..8fcad0c3 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Interact.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Interact.cs @@ -1,6 +1,9 @@ using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Objects.Enums; using Dalamud.Game.ClientState.Objects.Types; @@ -8,7 +11,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; @@ -21,80 +26,651 @@ internal static class Interact { internal sealed class Factory(Configuration configuration) : ITaskFactory { - public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + [CompilerGenerated] + private sealed class _003CCreateAllTasks_003Ed__2 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable { - EInteractionType interactionType = step.InteractionType; - if ((interactionType == EInteractionType.SinglePlayerDuty || (uint)(interactionType - 28) <= 1u) ? true : false) + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private QuestStep step; + + public QuestStep _003C_003E3__step; + + public Factory _003C_003E4__this; + + private QuestSequence sequence; + + public QuestSequence _003C_003E3__sequence; + + private Quest quest; + + public Quest _003C_003E3__quest; + + ITask IEnumerator.Current { - if ((step.InteractionType == EInteractionType.CompleteQuest && configuration.Advanced.PreventQuestCompletion) || step.Emote.HasValue || step.ChatMessage != null || step.ItemId.HasValue || !step.DataId.HasValue) + [DebuggerHidden] + get { - yield break; + return _003C_003E2__current; } } - else if (step.InteractionType == EInteractionType.PurchaseItem) + + object IEnumerator.Current { - if (!step.DataId.HasValue) + [DebuggerHidden] + get { - yield break; + return _003C_003E2__current; } } - else if (step.InteractionType == EInteractionType.Snipe) + + [DebuggerHidden] + public _003CCreateAllTasks_003Ed__2(int _003C_003E1__state) { - if (!configuration.General.AutoSnipe) + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _202C_206C_202A_200B_206B_206D_202B_202B_206D_200F_200E_206B_202D_206F_202D_202D_200D_202D_200C_202E_202E_202C_202D_202D_206E_206E_206D_206C_206B_206B_200E_200E_202C_202A_206D_206B_202E_200E_206D_206F_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + int num = _003C_003E1__state; + Factory factory = _003C_003E4__this; + int num2; + EInteractionType eInteractionType = default(EInteractionType); + bool flag = default(bool); + switch (num) { - yield break; - } - } - else if (step.InteractionType == EInteractionType.UnlockTaxiStand) - { - if (!step.TaxiStandId.HasValue) - { - yield break; - } - } - else if (step.InteractionType != EInteractionType.Interact) - { - yield break; - } - if (!step.DataId.HasValue) - { - yield break; - } - if (sequence.Sequence == 0 && sequence.Steps.IndexOf(step) == 0) - { - yield return new WaitAtEnd.WaitDelay(); - } - uint value = step.DataId.Value; - EInteractionType interactionType2 = step.InteractionType; - int skipMarkerCheck; - if (!step.IgnoreQuestMarker && !step.TargetTerritoryId.HasValue && !(quest.Id is SatisfactionSupplyNpcId)) - { - SkipConditions skipConditions = step.SkipConditions; - if (skipConditions != null) - { - SkipStepConditions stepIf = skipConditions.StepIf; - if (stepIf != null && stepIf.Never) + default: + num2 = 1303320947; + goto IL_002c; + case 2: + break; + case 0: + _003C_003E1__state = -1; + eInteractionType = _200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step); + num2 = ((eInteractionType == EInteractionType.SinglePlayerDuty) ? 1303320920 : 1303320944); + goto IL_002c; + case 1: + goto IL_0611; + IL_002c: + while (true) { - goto IL_025d; + int num3 = num2; + int num4 = 1303320952; + int num5 = num3; + uint value; + Quest obj; + EInteractionType interactionType; + int skipMarkerCheck; + uint? num6; + uint? pickUpItemId; + byte? taxiStandId; + SkipConditions skipConditions2; + SkipStepConditions skipConditions3; + List completionQuestVariablesFlags; + uint? purchaseItemId; + int purchaseItemCount; + switch ((num5 | num4) - (num5 & num4)) + { + case 21: + num2 = 1303320947; + break; + case 20: + goto IL_00e4; + case 12: + return false; + case 15: + goto IL_0117; + case 28: + return false; + case 8: + goto IL_0143; + case 26: + goto IL_0165; + case 9: + goto IL_0192; + case 23: + return false; + case 31: + goto IL_01c7; + case 4: + value = _206C_206A_202B_200F_206A_202D_206D_200C_200F_206C_202A_200D_202A_206F_206C_206E_202A_206C_202B_202A_202B_206A_206C_200D_206E_206F_202A_200B_202D_200E_200C_200E_206F_202E_200F_200D_200E_206C_202B_206B_202E(step).Value; + obj = quest; + interactionType = _200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step); + if (!_200D_202B_200D_202B_206A_200C_202A_202E_206D_200D_202C_206C_206D_206C_206F_200B_206F_206B_202C_206E_200C_206E_202C_206C_202B_200B_200C_206B_200C_202C_202B_206F_206B_200C_200B_206B_202B_200B_206A_206A_202E(step) && !_206B_202D_206E_202B_200C_200F_202D_206B_200D_206E_206F_206C_202B_206A_202A_200B_202B_200C_202A_206C_200F_200E_202C_200D_202C_202B_206A_202A_206A_202D_206B_206E_202D_200D_206D_202D_202D_206C_202A_206E_202E(step).HasValue) + { + SkipConditions skipConditions = _200F_206F_206D_202B_206C_206D_200C_202B_202E_200D_200E_206E_200E_206A_202B_202E_200B_202E_200F_206A_206A_206E_206F_202C_202C_206A_200F_202C_202A_206B_200E_206E_202A_200E_202A_202A_200D_206C_202C_200E_202E(step); + if (skipConditions != null) + { + SkipStepConditions skipStepConditions = _202B_206D_202B_206E_206C_200F_202D_202C_206B_206D_202B_206B_202D_206D_200D_202C_206F_206E_202A_206B_206A_202B_200E_200D_206E_202E_202C_206A_206C_206F_206D_206F_202C_206A_202A_200E_202C_206E_202A_206A_202E(skipConditions); + if (skipStepConditions != null && _206E_200F_206F_202C_206A_206F_206B_206B_206F_206B_206C_200C_200C_200D_202E_202E_206B_202D_206D_200B_202C_200D_206A_206B_200E_200C_200D_200D_202E_206A_202A_206A_200D_206E_206C_200C_202D_202C_200C_200D_202E(skipStepConditions)) + { + goto IL_02b1; + } + } + if (_200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) != EInteractionType.PurchaseItem) + { + skipMarkerCheck = ((_206C_206A_202B_200F_206A_202D_206D_200C_200F_206C_202A_200D_202A_206F_206C_206E_202A_206C_202B_202A_202B_206A_206C_200D_206E_206F_202A_200B_202D_200E_200C_200E_206F_202E_200F_200D_200E_206C_202B_206B_202E(step) == 1052475) ? 1 : 0); + goto IL_02b2; + } + } + goto IL_02b1; + case 17: + goto IL_03ad; + case 27: + return false; + case 29: + goto end_IL_000f; + case 24: + return false; + case 18: + return false; + case 30: + goto IL_03ed; + case 19: + return false; + case 3: + goto end_IL_002c; + case 5: + return false; + case 32: + flag = true; + num2 = 1303320958; + break; + case 0: + goto IL_045a; + case 22: + goto IL_048b; + case 11: + return false; + case 33: + goto IL_04b6; + case 10: + goto IL_04e7; + case 7: + goto IL_052e; + case 34: + return false; + case 6: + goto IL_055a; + case 1: + goto IL_0578; + case 2: + _003C_003E2__current = new WaitAtEnd.WaitDelay(); + _003C_003E1__state = 1; + return true; + case 13: + goto IL_05b6; + case 14: + goto IL_05e0; + case 25: + goto IL_0611; + case 16: + { + flag = false; + num2 = 1303320958; + break; + } + IL_02b1: + skipMarkerCheck = 1; + goto IL_02b2; + IL_02b2: + num6 = _200D_206F_200B_200C_200B_202E_200B_206C_206D_202E_206C_206D_200F_206B_202B_206C_200D_202E_200C_200D_202A_200D_200F_202A_206C_202B_200F_200E_202D_200B_200B_206A_202E_200F_206D_200E_200D_206E_202C_206E_202E(step); + if (!num6.HasValue) + { + GCPurchaseInfo gCPurchaseInfo = _202E_200B_206E_206A_206B_202B_206E_200F_200F_202C_200D_202B_202B_202A_200B_206F_200D_206B_200B_200F_206F_202E_200D_200C_200D_200C_200F_200D_202A_206F_206D_206E_206D_200C_200C_202C_206B_200D_206B_200E_202E(step); + pickUpItemId = ((gCPurchaseInfo != null) ? new uint?(_202C_200E_206A_202D_202B_202C_202B_202E_200F_206E_200F_202A_202A_200B_200F_200B_206D_200C_202A_206C_200F_206F_206C_206E_202B_206D_200E_206A_202E_200D_202C_206F_202E_202A_206C_206C_206F_206D_202E_200D_202E(gCPurchaseInfo)) : ((uint?)null)); + } + else + { + pickUpItemId = num6; + } + taxiStandId = _200E_202D_200F_202C_202D_200D_202C_200E_200E_202B_206B_206A_202D_206D_202C_206A_206B_200F_202E_202D_202B_206C_202D_200F_200D_202A_200C_202C_200F_206B_206B_206A_202E_202A_200E_202C_200F_202E_206E_202A_202E(step); + skipConditions2 = _200F_206F_206D_202B_206C_206D_200C_202B_202E_200D_200E_206E_200E_206A_202B_202E_200B_202E_200F_206A_206A_206E_206F_202C_202C_206A_200F_202C_202A_206B_200E_206E_202A_200E_202A_202A_200D_206C_202C_200E_202E(step); + skipConditions3 = ((skipConditions2 != null) ? _202C_200D_202E_202A_206A_206B_206C_202E_206F_206D_206A_206C_206E_206D_206A_206A_200F_202E_206A_202A_200F_202A_200D_206D_206A_206F_202D_206E_206C_200E_202B_206E_202D_206D_200F_206E_206D_202B_206A_206E_202E(skipConditions2) : null); + completionQuestVariablesFlags = _206D_206A_206C_202A_202C_206D_206F_206D_206D_202B_200E_202A_200E_202B_206B_200E_200E_206B_202C_206D_206C_206C_206E_202E_200C_206C_202B_200E_206E_206F_200F_202B_200D_200B_200C_202B_206F_206E_206F_202E_202E(step); + purchaseItemId = ((_200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) == EInteractionType.PurchaseItem) ? _200F_200C_200F_206C_206B_202A_206C_206E_202D_206C_200B_206E_200C_200F_206E_206C_200C_200B_200D_206E_202B_206D_202E_200C_206C_202A_200D_202B_202C_202C_202B_206E_206B_200F_206F_206B_206F_200E_200E_202E(step) : ((uint?)null)); + purchaseItemCount = ((_200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) == EInteractionType.PurchaseItem) ? _200B_200F_200F_200B_200B_206C_202D_206C_200F_206D_200B_202C_202A_206C_206F_206E_206A_202D_200F_206D_206B_202D_200F_202A_200B_206A_202B_206C_202D_202D_202A_206C_202D_206B_206E_202A_200C_200D_202A_200C_202E(step).GetValueOrDefault() : 0); + _003C_003E2__current = new Task(value, obj, interactionType, (byte)skipMarkerCheck != 0, pickUpItemId, taxiStandId, skipConditions3, completionQuestVariablesFlags, null, purchaseItemId, purchaseItemCount); + _003C_003E1__state = 2; + return true; + } + continue; + IL_05e0: + num2 = (_206C_206A_202B_200F_206A_202D_206D_200C_200F_206C_202A_200D_202A_206F_206C_206E_202A_206C_202B_202A_202B_206A_206C_200D_206E_206F_202A_200B_202D_200E_200C_200E_206F_202E_200F_200D_200E_206C_202B_206B_202E(step).HasValue ? 1303320946 : 1303320931); + continue; + IL_0117: + num2 = ((_200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) != EInteractionType.UnlockTaxiStand) ? 1303320942 : 1303320937); + continue; + IL_04b6: + num2 = ((!_206F_206C_206E_206F_202B_202C_206A_206B_202C_200D_202E_206D_206F_200E_200D_200E_202B_200C_202D_206B_202E_206E_206E_200C_202E_206D_206E_206B_206B_200B_200C_206E_206E_200F_202E_206C_206D_200C_202B_202C_202E(step).HasValue) ? 1303320934 : 1303320943); + continue; + IL_05b6: + num2 = ((_200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) != EInteractionType.Snipe) ? 1303320951 : 1303320930); + continue; + IL_0192: + num2 = ((_206D_202D_206B_206E_200F_202A_206B_202A_200D_206D_200B_200F_200B_202C_206B_206E_202A_206D_200E_200F_200F_200B_202D_200E_200B_200D_200C_200D_200B_206B_202A_206F_206F_206E_206C_200E_200E_206D_206A_202E_202E(sequence).IndexOf(step) != 0) ? 1303320956 : 1303320954); + continue; + IL_03ad: + num2 = (_200E_202D_200F_202C_202D_200D_202C_200E_200E_202B_206B_206A_202D_206D_202C_206A_206B_200F_202E_202D_202B_206C_202D_200F_200D_202A_200C_202C_200F_206B_206B_206A_202E_202A_200E_202C_200F_202E_206E_202A_202E(step).HasValue ? 1303320946 : 1303320939); + continue; + IL_0578: + num2 = ((_200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) != EInteractionType.PurchaseItem) ? 1303320949 : 1303320952); + continue; + IL_048b: + num2 = ((_200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) == EInteractionType.Interact) ? 1303320946 : 1303320932); + continue; + IL_00e4: + num2 = ((!_200F_200C_200F_206C_206B_202A_206C_206E_202D_206C_200B_206E_200C_200F_206E_206C_200C_200B_200D_206E_202B_206D_202E_200C_206C_202A_200D_202B_202C_202C_202B_206E_206B_200F_206F_206B_206F_200E_200E_202E(step).HasValue) ? 1303320950 : 1303320948); + continue; + IL_055a: + num2 = ((!flag) ? 1303320953 : 1303320959); + continue; + IL_0143: + num2 = (((uint)(eInteractionType - 30) > 1u) ? 1303320936 : 1303320920); + continue; + IL_045a: + num2 = (_206C_206A_202B_200F_206A_202D_206D_200C_200F_206C_202A_200D_202A_206F_206C_206E_202A_206C_202B_202A_202B_206A_206C_200D_206E_206F_202A_200B_202D_200E_200C_200E_206F_202E_200F_200D_200E_206C_202B_206B_202E(step).HasValue ? 1303320946 : 1303320922); + continue; + IL_052e: + num2 = ((_200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) != EInteractionType.CompleteQuest) ? 1303320921 : 1303320935); + continue; + IL_01c7: + num2 = ((!factory.configuration.Advanced.PreventQuestCompletion) ? 1303320921 : 1303320938); + continue; + IL_0165: + num2 = (factory.configuration.General.AutoSnipe ? 1303320946 : 1303320928); + continue; + IL_04e7: + _202C_202D_202C_200D_202E_206C_206A_202C_200B_202C_202B_202A_202D_202D_200B_200B_206B_200F_202E_202C_202D_206B_206F_202B_200C_200D_202C_206E_202A_202E_202A_200F_200F_202B_202B_200B_202E_202D_202E_202A_202E((object)_206C_206A_202B_200F_206A_202D_206D_200C_200F_206C_202A_200D_202A_206F_206C_206E_202A_206C_202B_202A_202B_206A_206C_200D_206E_206F_202A_200B_202D_200E_200C_200E_206F_202E_200F_200D_200E_206C_202B_206B_202E(step), global::_003CModule_003E._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(-751408309)); + num2 = ((_206F_200D_202A_202B_206B_200D_200B_200D_206D_206B_202B_202E_206E_202A_200D_206C_206F_202D_200F_206A_202B_202D_202A_202B_206E_206A_200F_202C_206D_202D_206A_206C_206C_202C_206D_202B_200B_200D_206C_200F_202E(sequence) != 0) ? 1303320956 : 1303320945); + continue; + IL_03ed: + num2 = ((_200C_200F_206F_206A_206D_202A_202D_202E_202C_200F_206E_206C_206D_200E_200C_206F_206A_200C_202D_202E_200C_202A_202B_206A_200E_202C_200D_206B_206F_200E_206E_200E_202D_206D_200E_206D_206B_200F_202A_202C_202E(step) == null) ? 1303320940 : 1303320957); + continue; + end_IL_002c: + break; + } + goto case 0; + IL_0611: + _003C_003E1__state = -1; + num2 = 1303320956; + goto IL_002c; + end_IL_000f: + break; + } + _003C_003E1__state = -1; + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206C_200D_206A_206E_206E_206C_200B_206A_202B_202E_200D_206C_206D_200C_200D_200E_200F_200D_200B_202A_206D_202D_206B_206D_202B_206E_206A_200D_206D_202A_200F_206E_206A_200F_202D_200E_206C_206F_202E_206F_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-97785381) : (-97785384)); + _003CCreateAllTasks_003Ed__2 _003CCreateAllTasks_003Ed__ = default(_003CCreateAllTasks_003Ed__2); + while (true) + { + int num2 = num; + int num3 = -97785383; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + _003C_003E1__state = 0; + _003CCreateAllTasks_003Ed__ = this; + num = -97785379; + break; + case 4: + _003CCreateAllTasks_003Ed__.quest = _003C_003E3__quest; + _003CCreateAllTasks_003Ed__.sequence = _003C_003E3__sequence; + _003CCreateAllTasks_003Ed__.step = _003C_003E3__step; + return _003CCreateAllTasks_003Ed__; + case 0: + num = -97785384; + break; + case 1: + num = ((_003C_003El__initialThreadId != _202C_206C_202A_200B_206B_206D_202B_202B_206D_200F_200E_206B_202D_206F_202D_202D_200D_202D_200C_202E_202E_202C_202D_202D_206E_206E_206D_206C_206B_206B_200E_200E_202C_202A_206D_206B_202E_200E_206D_206F_202E()) ? (-97785381) : (-97785382)); + break; + case 2: + _003CCreateAllTasks_003Ed__ = new _003CCreateAllTasks_003Ed__2(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = -97785379; + break; } } - if (step.InteractionType != EInteractionType.PurchaseItem) + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _202C_206C_202A_200B_206B_206D_202B_202B_206D_200F_200E_206B_202D_206F_202D_202D_200D_202D_200C_202E_202E_202C_202D_202D_206E_206E_206D_206C_206B_206B_200E_200E_202C_202A_206D_206B_202E_200E_206D_206F_202E() + { + return Environment.CurrentManagedThreadId; + } + + static EInteractionType _200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static EEmote? _206F_206C_206E_206F_202B_202C_206A_206B_202C_200D_202E_206D_206F_200E_200D_200E_202B_200C_202D_206B_202E_206E_206E_200C_202E_206D_206E_206B_206B_200B_200C_206E_206E_200F_202E_206C_206D_200C_202B_202C_202E(QuestStep P_0) + { + return P_0.Emote; + } + + static ChatMessage _200C_200F_206F_206A_206D_202A_202D_202E_202C_200F_206E_206C_206D_200E_200C_206F_206A_200C_202D_202E_200C_202A_202B_206A_200E_202C_200D_206B_206F_200E_206E_200E_202D_206D_200E_206D_206B_200F_202A_202C_202E(QuestStep P_0) + { + return P_0.ChatMessage; + } + + static uint? _200F_200C_200F_206C_206B_202A_206C_206E_202D_206C_200B_206E_200C_200F_206E_206C_200C_200B_200D_206E_202B_206D_202E_200C_206C_202A_200D_202B_202C_202C_202B_206E_206B_200F_206F_206B_206F_200E_200E_202E(QuestStep P_0) + { + return P_0.ItemId; + } + + static uint? _206C_206A_202B_200F_206A_202D_206D_200C_200F_206C_202A_200D_202A_206F_206C_206E_202A_206C_202B_202A_202B_206A_206C_200D_206E_206F_202A_200B_202D_200E_200C_200E_206F_202E_200F_200D_200E_206C_202B_206B_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static byte? _200E_202D_200F_202C_202D_200D_202C_200E_200E_202B_206B_206A_202D_206D_202C_206A_206B_200F_202E_202D_202B_206C_202D_200F_200D_202A_200C_202C_200F_206B_206B_206A_202E_202A_200E_202C_200F_202E_206E_202A_202E(QuestStep P_0) + { + return P_0.TaxiStandId; + } + + static void _202C_202D_202C_200D_202E_206C_206A_202C_200B_202C_202B_202A_202D_202D_200B_200B_206B_200F_202E_202C_202D_206B_206F_202B_200C_200D_202C_206E_202A_202E_202A_200F_200F_202B_202B_200B_202E_202D_202E_202A_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static byte _206F_200D_202A_202B_206B_200D_200B_200D_206D_206B_202B_202E_206E_202A_200D_206C_206F_202D_200F_206A_202B_202D_202A_202B_206E_206A_200F_202C_206D_202D_206A_206C_206C_202C_206D_202B_200B_200D_206C_200F_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static List _206D_202D_206B_206E_200F_202A_206B_202A_200D_206D_200B_200F_200B_202C_206B_206E_202A_206D_200E_200F_200F_200B_202D_200E_200B_200D_200C_200D_200B_206B_202A_206F_206F_206E_206C_200E_200E_206D_206A_202E_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static bool _200D_202B_200D_202B_206A_200C_202A_202E_206D_200D_202C_206C_206D_206C_206F_200B_206F_206B_202C_206E_200C_206E_202C_206C_202B_200B_200C_206B_200C_202C_202B_206F_206B_200C_200B_206B_202B_200B_206A_206A_202E(QuestStep P_0) + { + return P_0.IgnoreQuestMarker; + } + + static ushort? _206B_202D_206E_202B_200C_200F_202D_206B_200D_206E_206F_206C_202B_206A_202A_200B_202B_200C_202A_206C_200F_200E_202C_200D_202C_202B_206A_202A_206A_202D_206B_206E_202D_200D_206D_202D_202D_206C_202A_206E_202E(QuestStep P_0) + { + return P_0.TargetTerritoryId; + } + + static SkipConditions _200F_206F_206D_202B_206C_206D_200C_202B_202E_200D_200E_206E_200E_206A_202B_202E_200B_202E_200F_206A_206A_206E_206F_202C_202C_206A_200F_202C_202A_206B_200E_206E_202A_200E_202A_202A_200D_206C_202C_200E_202E(QuestStep P_0) + { + return P_0.SkipConditions; + } + + static SkipStepConditions _202B_206D_202B_206E_206C_200F_202D_202C_206B_206D_202B_206B_202D_206D_200D_202C_206F_206E_202A_206B_206A_202B_200E_200D_206E_202E_202C_206A_206C_206F_206D_206F_202C_206A_202A_200E_202C_206E_202A_206A_202E(SkipConditions P_0) + { + return P_0.StepIf; + } + + static bool _206E_200F_206F_202C_206A_206F_206B_206B_206F_206B_206C_200C_200C_200D_202E_202E_206B_202D_206D_200B_202C_200D_206A_206B_200E_200C_200D_200D_202E_206A_202A_206A_200D_206E_206C_200C_202D_202C_200C_200D_202E(SkipStepConditions P_0) + { + return P_0.Never; + } + + static uint? _200D_206F_200B_200C_200B_202E_200B_206C_206D_202E_206C_206D_200F_206B_202B_206C_200D_202E_200C_200D_202A_200D_200F_202A_206C_202B_200F_200E_202D_200B_200B_206A_202E_200F_206D_200E_200D_206E_202C_206E_202E(QuestStep P_0) + { + return P_0.PickUpItemId; + } + + static GCPurchaseInfo _202E_200B_206E_206A_206B_202B_206E_200F_200F_202C_200D_202B_202B_202A_200B_206F_200D_206B_200B_200F_206F_202E_200D_200C_200D_200C_200F_200D_202A_206F_206D_206E_206D_200C_200C_202C_206B_200D_206B_200E_202E(QuestStep P_0) + { + return P_0.GCPurchase; + } + + static uint _202C_200E_206A_202D_202B_202C_202B_202E_200F_206E_200F_202A_202A_200B_200F_200B_206D_200C_202A_206C_200F_206F_206C_206E_202B_206D_200E_206A_202E_200D_202C_206F_202E_202A_206C_206C_206F_206D_202E_200D_202E(GCPurchaseInfo P_0) + { + return P_0.ItemId; + } + + static SkipStepConditions _202C_200D_202E_202A_206A_206B_206C_202E_206F_206D_206A_206C_206E_206D_206A_206A_200F_202E_206A_202A_200F_202A_200D_206D_206A_206F_202D_206E_206C_200E_202B_206E_202D_206D_200F_206E_206D_202B_206A_206E_202E(SkipConditions P_0) + { + return P_0.StepIf; + } + + static List _206D_206A_206C_202A_202C_206D_206F_206D_206D_202B_200E_202A_200E_202B_206B_200E_200E_206B_202C_206D_206C_206C_206E_202E_200C_206C_202B_200E_206E_206F_200F_202B_200D_200B_200C_202B_206F_206E_206F_202E_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static int? _200B_200F_200F_200B_200B_206C_202D_206C_200F_206D_200B_202C_202A_206C_206F_206E_206A_202D_200F_206D_206B_202D_200F_202A_200B_206A_202B_206C_202D_202D_202A_206C_202D_206B_206E_202A_200C_200D_202A_200C_202E(QuestStep P_0) + { + return P_0.ItemCount; + } + + static NotSupportedException _206C_200D_206A_206E_206E_206C_200B_206A_202B_202E_200D_206C_206D_200C_200D_200E_200F_200D_200B_202A_206D_202D_206B_206D_202B_206E_206A_200D_206D_202A_200F_206E_206A_200F_202D_200E_206C_206F_202E_206F_202E() + { + return new NotSupportedException(); + } + } + + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + bool flag = default(bool); + while (true) + { + EInteractionType eInteractionType = _003CCreateAllTasks_003Ed__2._200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step); + int num = ((eInteractionType == EInteractionType.SinglePlayerDuty) ? 1303320920 : 1303320944); + while (true) { - skipMarkerCheck = ((step.DataId == 1052475) ? 1 : 0); - goto IL_025e; + int num2 = num; + int num3 = 1303320952; + int num4 = num2; + uint value; + EInteractionType interactionType; + int skipMarkerCheck; + uint? num5; + uint? pickUpItemId; + byte? taxiStandId; + SkipConditions skipConditions; + SkipStepConditions skipConditions2; + List completionQuestVariablesFlags; + uint? purchaseItemId; + int purchaseItemCount; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 21: + num = 1303320947; + continue; + case 20: + num = ((!_003CCreateAllTasks_003Ed__2._200F_200C_200F_206C_206B_202A_206C_206E_202D_206C_200B_206E_200C_200F_206E_206C_200C_200B_200D_206E_202B_206D_202E_200C_206C_202A_200D_202B_202C_202C_202B_206E_206B_200F_206F_206B_206F_200E_200E_202E(step).HasValue) ? 1303320950 : 1303320948); + continue; + case 12: + yield break; + case 15: + num = ((_003CCreateAllTasks_003Ed__2._200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) != EInteractionType.UnlockTaxiStand) ? 1303320942 : 1303320937); + continue; + case 28: + yield break; + case 8: + num = (((uint)(eInteractionType - 30) > 1u) ? 1303320936 : 1303320920); + continue; + case 26: + num = (configuration.General.AutoSnipe ? 1303320946 : 1303320928); + continue; + case 9: + num = ((_003CCreateAllTasks_003Ed__2._206D_202D_206B_206E_200F_202A_206B_202A_200D_206D_200B_200F_200B_202C_206B_206E_202A_206D_200E_200F_200F_200B_202D_200E_200B_200D_200C_200D_200B_206B_202A_206F_206F_206E_206C_200E_200E_206D_206A_202E_202E(sequence).IndexOf(step) != 0) ? 1303320956 : 1303320954); + continue; + case 23: + yield break; + case 31: + num = ((!configuration.Advanced.PreventQuestCompletion) ? 1303320921 : 1303320938); + continue; + case 4: + value = _003CCreateAllTasks_003Ed__2._206C_206A_202B_200F_206A_202D_206D_200C_200F_206C_202A_200D_202A_206F_206C_206E_202A_206C_202B_202A_202B_206A_206C_200D_206E_206F_202A_200B_202D_200E_200C_200E_206F_202E_200F_200D_200E_206C_202B_206B_202E(step).Value; + interactionType = _003CCreateAllTasks_003Ed__2._200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step); + if (!_003CCreateAllTasks_003Ed__2._200D_202B_200D_202B_206A_200C_202A_202E_206D_200D_202C_206C_206D_206C_206F_200B_206F_206B_202C_206E_200C_206E_202C_206C_202B_200B_200C_206B_200C_202C_202B_206F_206B_200C_200B_206B_202B_200B_206A_206A_202E(step) && !_003CCreateAllTasks_003Ed__2._206B_202D_206E_202B_200C_200F_202D_206B_200D_206E_206F_206C_202B_206A_202A_200B_202B_200C_202A_206C_200F_200E_202C_200D_202C_202B_206A_202A_206A_202D_206B_206E_202D_200D_206D_202D_202D_206C_202A_206E_202E(step).HasValue) + { + SkipConditions skipConditions3 = _003CCreateAllTasks_003Ed__2._200F_206F_206D_202B_206C_206D_200C_202B_202E_200D_200E_206E_200E_206A_202B_202E_200B_202E_200F_206A_206A_206E_206F_202C_202C_206A_200F_202C_202A_206B_200E_206E_202A_200E_202A_202A_200D_206C_202C_200E_202E(step); + if (skipConditions3 != null) + { + SkipStepConditions skipStepConditions = _003CCreateAllTasks_003Ed__2._202B_206D_202B_206E_206C_200F_202D_202C_206B_206D_202B_206B_202D_206D_200D_202C_206F_206E_202A_206B_206A_202B_200E_200D_206E_202E_202C_206A_206C_206F_206D_206F_202C_206A_202A_200E_202C_206E_202A_206A_202E(skipConditions3); + if (skipStepConditions != null && _003CCreateAllTasks_003Ed__2._206E_200F_206F_202C_206A_206F_206B_206B_206F_206B_206C_200C_200C_200D_202E_202E_206B_202D_206D_200B_202C_200D_206A_206B_200E_200C_200D_200D_202E_206A_202A_206A_200D_206E_206C_200C_202D_202C_200C_200D_202E(skipStepConditions)) + { + goto IL_02b1; + } + } + if (_003CCreateAllTasks_003Ed__2._200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) != EInteractionType.PurchaseItem) + { + skipMarkerCheck = ((_003CCreateAllTasks_003Ed__2._206C_206A_202B_200F_206A_202D_206D_200C_200F_206C_202A_200D_202A_206F_206C_206E_202A_206C_202B_202A_202B_206A_206C_200D_206E_206F_202A_200B_202D_200E_200C_200E_206F_202E_200F_200D_200E_206C_202B_206B_202E(step) == 1052475) ? 1 : 0); + goto IL_02b2; + } + } + goto IL_02b1; + case 17: + num = (_003CCreateAllTasks_003Ed__2._200E_202D_200F_202C_202D_200D_202C_200E_200E_202B_206B_206A_202D_206D_202C_206A_206B_200F_202E_202D_202B_206C_202D_200F_200D_202A_200C_202C_200F_206B_206B_206A_202E_202A_200E_202C_200F_202E_206E_202A_202E(step).HasValue ? 1303320946 : 1303320939); + continue; + case 27: + yield break; + case 29: + yield break; + case 24: + yield break; + case 18: + yield break; + case 30: + num = ((_003CCreateAllTasks_003Ed__2._200C_200F_206F_206A_206D_202A_202D_202E_202C_200F_206E_206C_206D_200E_200C_206F_206A_200C_202D_202E_200C_202A_202B_206A_200E_202C_200D_206B_206F_200E_206E_200E_202D_206D_200E_206D_206B_200F_202A_202C_202E(step) == null) ? 1303320940 : 1303320957); + continue; + case 19: + yield break; + case 3: + break; + case 5: + yield break; + case 32: + flag = true; + num = 1303320958; + continue; + case 0: + num = (_003CCreateAllTasks_003Ed__2._206C_206A_202B_200F_206A_202D_206D_200C_200F_206C_202A_200D_202A_206F_206C_206E_202A_206C_202B_202A_202B_206A_206C_200D_206E_206F_202A_200B_202D_200E_200C_200E_206F_202E_200F_200D_200E_206C_202B_206B_202E(step).HasValue ? 1303320946 : 1303320922); + continue; + case 22: + num = ((_003CCreateAllTasks_003Ed__2._200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) == EInteractionType.Interact) ? 1303320946 : 1303320932); + continue; + case 11: + yield break; + case 33: + num = ((!_003CCreateAllTasks_003Ed__2._206F_206C_206E_206F_202B_202C_206A_206B_202C_200D_202E_206D_206F_200E_200D_200E_202B_200C_202D_206B_202E_206E_206E_200C_202E_206D_206E_206B_206B_200B_200C_206E_206E_200F_202E_206C_206D_200C_202B_202C_202E(step).HasValue) ? 1303320934 : 1303320943); + continue; + case 10: + _003CCreateAllTasks_003Ed__2._202C_202D_202C_200D_202E_206C_206A_202C_200B_202C_202B_202A_202D_202D_200B_200B_206B_200F_202E_202C_202D_206B_206F_202B_200C_200D_202C_206E_202A_202E_202A_200F_200F_202B_202B_200B_202E_202D_202E_202A_202E((object)_003CCreateAllTasks_003Ed__2._206C_206A_202B_200F_206A_202D_206D_200C_200F_206C_202A_200D_202A_206F_206C_206E_202A_206C_202B_202A_202B_206A_206C_200D_206E_206F_202A_200B_202D_200E_200C_200E_206F_202E_200F_200D_200E_206C_202B_206B_202E(step), global::_003CModule_003E._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(-751408309)); + num = ((_003CCreateAllTasks_003Ed__2._206F_200D_202A_202B_206B_200D_200B_200D_206D_206B_202B_202E_206E_202A_200D_206C_206F_202D_200F_206A_202B_202D_202A_202B_206E_206A_200F_202C_206D_202D_206A_206C_206C_202C_206D_202B_200B_200D_206C_200F_202E(sequence) != 0) ? 1303320956 : 1303320945); + continue; + case 7: + num = ((_003CCreateAllTasks_003Ed__2._200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) != EInteractionType.CompleteQuest) ? 1303320921 : 1303320935); + continue; + case 34: + yield break; + case 6: + num = ((!flag) ? 1303320953 : 1303320959); + continue; + case 1: + num = ((_003CCreateAllTasks_003Ed__2._200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) != EInteractionType.PurchaseItem) ? 1303320949 : 1303320952); + continue; + case 2: + yield return new WaitAtEnd.WaitDelay(); + goto case 25; + case 13: + num = ((_003CCreateAllTasks_003Ed__2._200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) != EInteractionType.Snipe) ? 1303320951 : 1303320930); + continue; + case 14: + num = (_003CCreateAllTasks_003Ed__2._206C_206A_202B_200F_206A_202D_206D_200C_200F_206C_202A_200D_202A_206F_206C_206E_202A_206C_202B_202A_202B_206A_206C_200D_206E_206F_202A_200B_202D_200E_200C_200E_206F_202E_200F_200D_200E_206C_202B_206B_202E(step).HasValue ? 1303320946 : 1303320931); + continue; + case 25: + num = 1303320956; + continue; + case 16: + { + flag = false; + num = 1303320958; + continue; + } + IL_02b1: + skipMarkerCheck = 1; + goto IL_02b2; + IL_02b2: + num5 = _003CCreateAllTasks_003Ed__2._200D_206F_200B_200C_200B_202E_200B_206C_206D_202E_206C_206D_200F_206B_202B_206C_200D_202E_200C_200D_202A_200D_200F_202A_206C_202B_200F_200E_202D_200B_200B_206A_202E_200F_206D_200E_200D_206E_202C_206E_202E(step); + if (!num5.HasValue) + { + GCPurchaseInfo gCPurchaseInfo = _003CCreateAllTasks_003Ed__2._202E_200B_206E_206A_206B_202B_206E_200F_200F_202C_200D_202B_202B_202A_200B_206F_200D_206B_200B_200F_206F_202E_200D_200C_200D_200C_200F_200D_202A_206F_206D_206E_206D_200C_200C_202C_206B_200D_206B_200E_202E(step); + pickUpItemId = ((gCPurchaseInfo != null) ? new uint?(_003CCreateAllTasks_003Ed__2._202C_200E_206A_202D_202B_202C_202B_202E_200F_206E_200F_202A_202A_200B_200F_200B_206D_200C_202A_206C_200F_206F_206C_206E_202B_206D_200E_206A_202E_200D_202C_206F_202E_202A_206C_206C_206F_206D_202E_200D_202E(gCPurchaseInfo)) : ((uint?)null)); + } + else + { + pickUpItemId = num5; + } + taxiStandId = _003CCreateAllTasks_003Ed__2._200E_202D_200F_202C_202D_200D_202C_200E_200E_202B_206B_206A_202D_206D_202C_206A_206B_200F_202E_202D_202B_206C_202D_200F_200D_202A_200C_202C_200F_206B_206B_206A_202E_202A_200E_202C_200F_202E_206E_202A_202E(step); + skipConditions = _003CCreateAllTasks_003Ed__2._200F_206F_206D_202B_206C_206D_200C_202B_202E_200D_200E_206E_200E_206A_202B_202E_200B_202E_200F_206A_206A_206E_206F_202C_202C_206A_200F_202C_202A_206B_200E_206E_202A_200E_202A_202A_200D_206C_202C_200E_202E(step); + skipConditions2 = ((skipConditions != null) ? _003CCreateAllTasks_003Ed__2._202C_200D_202E_202A_206A_206B_206C_202E_206F_206D_206A_206C_206E_206D_206A_206A_200F_202E_206A_202A_200F_202A_200D_206D_206A_206F_202D_206E_206C_200E_202B_206E_202D_206D_200F_206E_206D_202B_206A_206E_202E(skipConditions) : null); + completionQuestVariablesFlags = _003CCreateAllTasks_003Ed__2._206D_206A_206C_202A_202C_206D_206F_206D_206D_202B_200E_202A_200E_202B_206B_200E_200E_206B_202C_206D_206C_206C_206E_202E_200C_206C_202B_200E_206E_206F_200F_202B_200D_200B_200C_202B_206F_206E_206F_202E_202E(step); + purchaseItemId = ((_003CCreateAllTasks_003Ed__2._200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) == EInteractionType.PurchaseItem) ? _003CCreateAllTasks_003Ed__2._200F_200C_200F_206C_206B_202A_206C_206E_202D_206C_200B_206E_200C_200F_206E_206C_200C_200B_200D_206E_202B_206D_202E_200C_206C_202A_200D_202B_202C_202C_202B_206E_206B_200F_206F_206B_206F_200E_200E_202E(step) : ((uint?)null)); + purchaseItemCount = ((_003CCreateAllTasks_003Ed__2._200C_200F_206C_206A_200E_206E_206A_200F_206A_200E_206B_200C_200E_206D_202C_206F_202E_206C_202E_200F_206B_200E_202A_202B_202B_200D_200F_206E_200C_206A_200B_206E_202A_202D_202D_206D_202C_206D_206D_206F_202E(step) == EInteractionType.PurchaseItem) ? _003CCreateAllTasks_003Ed__2._200B_200F_200F_200B_200B_206C_202D_206C_200F_206D_200B_202C_202A_206C_206F_206E_206A_202D_200F_206D_206B_202D_200F_202A_200B_206A_202B_206C_202D_202D_202A_206C_202D_206B_206E_202A_200C_200D_202A_200C_202E(step).GetValueOrDefault() : 0); + yield return new Task(value, quest, interactionType, (byte)skipMarkerCheck != 0, pickUpItemId, taxiStandId, skipConditions2, completionQuestVariablesFlags, null, purchaseItemId, purchaseItemCount); + yield break; + } + break; } } - goto IL_025d; - IL_025d: - skipMarkerCheck = 1; - goto IL_025e; - IL_025e: - yield return new Task(value, quest, interactionType2, (byte)skipMarkerCheck != 0, step.PickUpItemId ?? step.GCPurchase?.ItemId, step.TaxiStandId, step.SkipConditions?.StepIf, step.CompletionQuestVariablesFlags); + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); } } internal sealed record Task : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_206D_202B_202E_202A_206D_200C_200D_206F_200F_206D_206A_200C_202A_202C_206D_202A_206F_200E_206D_200D_202D_200C_206F_206D_206F_202B_206D_200B_206B_206D_206D_206C_206D_206E_206A_200B_200E_206D_200C_202E(typeof(Task).TypeHandle); + } + } + public uint DataId { get; init; } public Quest? Quest { get; init; } @@ -111,11 +687,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; @@ -125,6 +705,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(); @@ -135,13 +717,127 @@ internal static class Interact return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Interact{(HasCompletionQuestVariablesFlags ? "*" : "")}({DataId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1557612731)); + defaultInterpolatedStringHandler.AppendFormatted(HasCompletionQuestVariablesFlags ? global::_003CModule_003E._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(1980443466) : global::_003CModule_003E._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(1200342830)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1208656614)); + defaultInterpolatedStringHandler.AppendFormatted(DataId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_200E_202C_206D_200C_206A_200F_200C_206F_202C_202D_200D_206E_202B_206F_200C_206E_206D_206C_206F_206C_200D_206D_200E_200F_202E_200D_206E_202B_202A_202A_206F_200D_202A_200E_200C_200D_206B_202A_202B_202E(); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, global::_003CModule_003E._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(-1430532645)); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, DataId.ToString()); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, global::_003CModule_003E._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(-1099583199)); + _202B_202C_200E_206D_206D_202E_202A_206F_202A_206F_202B_206A_202B_206C_206F_200B_202D_200F_200E_202C_202A_202B_200C_206C_200F_200B_206D_206A_200F_206C_200F_206C_202A_202B_206C_206D_206C_206B_202C_206D_202E(builder, (object?)Quest); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, global::_003CModule_003E._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(885106038)); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, InteractionType.ToString()); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, global::_003CModule_003E._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(-1480615428)); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, SkipMarkerCheck.ToString()); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, global::_003CModule_003E._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(-272408231)); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, PickUpItemId.ToString()); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, global::_003CModule_003E._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(-1754464364)); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, TaxiStandId.ToString()); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, global::_003CModule_003E._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(904394934)); + _202B_202C_200E_206D_206D_202E_202A_206F_202A_206F_202B_206A_202B_206C_206F_200B_202D_200F_200E_202C_202A_202B_200C_206C_200F_200B_206D_206A_200F_206C_200F_206C_202A_202B_206C_206D_206C_206B_202C_206D_202E(builder, (object?)SkipConditions); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, global::_003CModule_003E._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(615050816)); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, CompletionStatusId.ToString()); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, global::_003CModule_003E._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(-2064962175)); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, PurchaseItemId.ToString()); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, global::_003CModule_003E._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(1758600695)); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, PurchaseItemCount.ToString()); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, global::_003CModule_003E._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(-755497586)); + _202B_202C_200E_206D_206D_202E_202A_206F_202A_206F_202B_206A_202B_206C_206F_200B_202D_200F_200E_202C_202A_202B_200C_206C_200F_200B_206D_206A_200F_206C_200F_206C_202A_202B_206C_206D_206C_206B_202C_206D_202E(builder, (object?)CompletionQuestVariablesFlags); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, global::_003CModule_003E._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(-1206975050)); + _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(builder, HasCompletionQuestVariablesFlags.ToString()); + return true; } [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 bool Equals(Task? other) + { + int num = (((object)this == other) ? (-1634206361) : (-1634206353)); + while (true) + { + int num2 = num; + int num3 = -1634206354; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 15: + num = ((!EqualityComparer.Default.Equals(TaxiStandId, other.TaxiStandId)) ? (-1634206356) : (-1634206338)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(Quest, other.Quest)) ? (-1634206356) : (-1634206366)); + break; + case 7: + return EqualityComparer.Default.Equals(HasCompletionQuestVariablesFlags, other.HasCompletionQuestVariablesFlags); + case 6: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? (-1634206356) : (-1634206358)); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(PurchaseItemCount, other.PurchaseItemCount)) ? (-1634206356) : (-1634206363)); + break; + case 14: + num = ((!EqualityComparer.Default.Equals(SkipMarkerCheck, other.SkipMarkerCheck)) ? (-1634206356) : (-1634206364)); + break; + case 10: + num = ((!EqualityComparer.Default.Equals(PickUpItemId, other.PickUpItemId)) ? (-1634206356) : (-1634206367)); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(PurchaseItemId, other.PurchaseItemId)) ? (-1634206356) : (-1634206362)); + break; + case 9: + return true; + case 12: + num = ((!EqualityComparer.Default.Equals(InteractionType, other.InteractionType)) ? (-1634206356) : (-1634206368)); + break; + case 1: + num = (((object)other == null) ? (-1634206356) : (-1634206355)); + break; + case 13: + num = ((!EqualityComparer.Default.Equals(CompletionStatusId, other.CompletionStatusId)) ? (-1634206356) : (-1634206354)); + break; + case 2: + return false; + case 11: + num = ((!EqualityComparer>.Default.Equals(CompletionQuestVariablesFlags, other.CompletionQuestVariablesFlags)) ? (-1634206356) : (-1634206359)); + break; + case 16: + num = ((!EqualityComparer.Default.Equals(SkipConditions, other.SkipConditions)) ? (-1634206356) : (-1634206365)); + break; + case 3: + num = ((!_200E_202A_202D_200B_202E_200E_200E_202E_206A_200B_202C_206D_206A_202D_200E_206A_200B_202E_202A_206A_200E_202B_206E_202C_200F_206B_202A_206C_206D_202B_200C_206E_200D_200E_200F_206B_206F_202D_206D_206D_202E(EqualityContract, other.EqualityContract)) ? (-1634206356) : (-1634206360)); + break; + case 5: + num = -1634206353; + break; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [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, out uint? PurchaseItemId, out int PurchaseItemCount) { DataId = this.DataId; Quest = this.Quest; @@ -152,10 +848,37 @@ internal static class Interact SkipConditions = this.SkipConditions; CompletionQuestVariablesFlags = this.CompletionQuestVariablesFlags; CompletionStatusId = this.CompletionStatusId; + PurchaseItemId = this.PurchaseItemId; + PurchaseItemCount = this.PurchaseItemCount; + } + + static Type? _206E_206D_202B_202E_202A_206D_200C_200D_206F_200F_206D_206A_200C_202A_202C_206D_202A_206F_200E_206D_200D_202D_200C_206F_206D_206F_202B_206D_200B_206B_206D_206D_206C_206D_206E_206A_200B_200E_206D_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202B_200E_202C_206D_200C_206A_200F_200C_206F_202C_202D_200D_206E_202B_206F_200C_206E_206D_206C_206F_206C_200D_206D_200E_200F_202E_200D_206E_202B_202A_202A_206F_200D_202A_200E_200C_200D_206B_202A_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _200F_206A_200D_206D_200F_206B_202C_200D_200E_202E_202A_202C_202D_206D_200E_202D_200F_206A_202B_200E_206E_202C_206A_206D_206F_206D_200C_200B_206C_206E_206D_202A_202B_206B_202C_200B_200E_200D_206E_200E_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _202B_202C_200E_206D_206D_202E_202A_206F_202A_206F_202B_206A_202B_206C_206F_200B_202D_200F_200E_202C_202A_202B_200C_206C_200F_200B_206D_206A_200F_206C_200F_206C_202A_202B_206C_206D_206C_206B_202C_206D_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _200E_202A_202D_200B_202E_200E_200E_202E_206A_200B_202C_206D_206A_202D_200E_206A_200B_202E_202A_206A_200E_202B_206E_202C_200F_206B_202A_206C_206D_202B_200C_206E_200D_200E_200F_206B_206F_202D_206D_206D_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; } } - 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 { @@ -164,185 +887,465 @@ 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; public EInteractionType InteractionType { get; set; } + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { InteractionType = base.Task.InteractionType; _interactionState = EInteractionState.None; _needsUnmount = false; - delayedFinalCheck = false; - _continueAt = DateTime.MinValue; - IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId); - if (gameObject == null) + _delayedFinalCheck = false; + _continueAt = 0L; + _interactionAttempts = 0; + _gatheringNodeMissingSince = 0L; + IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId, null, warnIfMissing: false); + int num = ((gameObject != null) ? (-1137861430) : (-1137861440)); + SkipStepConditions skipConditions = default(SkipStepConditions); + while (true) { - logger.LogWarning("No game object with dataId {DataId}", base.Task.DataId); - return false; - } - if (!gameObject.IsTargetable) - { - SkipStepConditions skipConditions = base.Task.SkipConditions; - if (skipConditions != null && !skipConditions.Never && skipConditions.NotTargetable) + int num2 = num; + int num3 = -1137861426; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - logger.LogInformation("Not interacting with {DataId} because it is not targetable (but skippable)", base.Task.DataId); + case 8: + TriggerInteraction(gameObject); + return true; + case 14: + num = ((InteractionType != EInteractionType.Gather) ? (-1137861429) : (-1137861438)); + break; + case 4: + num = (_202E_200B_200B_200B_206B_202D_200B_200C_202D_200E_200C_206F_206F_200E_206D_200C_200D_202D_200F_200E_200B_206F_202D_202B_202D_200C_206F_200F_200B_206D_200C_202D_200C_200B_206D_200B_202D_200F_206B_200D_202E(gameObject) ? (-1137861437) : (-1137861427)); + break; + case 15: + _202E_200E_200E_200F_206A_202B_200C_206C_202A_202C_206C_202B_200C_206A_206E_202E_206F_200E_200C_206D_206E_206A_206F_202E_202B_200D_200F_206B_206F_206A_202B_206E_206E_202D_202E_206C_206E_200F_202D_206A_202E((ILogger)logger, global::_003CModule_003E._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(1907014260), new object[1] { base.Task.DataId }); return false; + case 1: + num = ((!HasAnyMarker(gameObject)) ? (-1137861435) : (-1137861434)); + break; + case 16: + num = ((_206C_206C_200C_206B_202E_206F_200D_200C_206E_200B_206A_206A_200C_202C_200C_200E_202B_206D_200B_202B_202D_206C_206B_202C_202D_202E_200B_202E_202C_206D_200F_206F_202E_200E_206D_206C_200F_202B_202B_202A_202E(gameObject) == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.GatheringPoint) ? (-1137861432) : (-1137861433)); + break; + case 0: + num = ((!_202C_202A_202C_200B_206B_206A_202B_200E_206B_206B_200F_202C_202B_200D_202B_202E_206A_202B_206C_206A_200E_206F_206B_200F_206A_200C_202C_202E_200F_200C_202B_206E_202C_200D_206B_206B_206F_200E_202C_200C_202E(skipConditions)) ? (-1137861437) : (-1137861439)); + break; + case 2: + num = -1137861440; + break; + case 6: + num = ((!_202E_200B_200B_200B_206B_202D_200B_200C_202D_200E_200C_206F_206F_200E_206D_200C_200D_202D_200F_200E_200B_206F_202D_202B_202D_200C_206F_200F_200B_206D_200C_202D_200C_200B_206D_200B_202D_200F_206B_200D_202E(gameObject)) ? (-1137861435) : (-1137861425)); + break; + case 5: + _202E_200E_200E_200F_206A_202B_200C_206C_202A_202C_206C_202B_200C_206A_206E_202E_206F_200E_200C_206D_206E_206A_206F_202E_202B_200D_200F_206B_206F_206A_202B_206E_206E_202D_202E_206C_206E_200F_202D_206A_202E((ILogger)logger, global::_003CModule_003E._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(1470799654), new object[1] { base.Task.DataId }); + return true; + case 12: + _gatheringNodeMissingSince = _202A_206D_202C_202B_200E_206E_200D_202B_206A_200F_202B_200D_200F_206B_200E_202E_202E_202E_200E_206F_202A_200B_200D_206F_202D_206F_206F_206F_200E_206A_202D_206C_206C_200F_202B_200F_200C_200B_206B_206A_202E(); + num = -1137861429; + break; + case 13: + num = (_202E_200B_200B_200B_206B_202D_200B_200C_202D_200E_200C_206F_206F_200E_206D_200C_200D_202D_200F_200E_200B_206F_202D_202B_202D_200C_206F_200F_200B_206D_200C_202D_200C_200B_206D_200B_202D_200F_206B_200D_202E(gameObject) ? (-1137861432) : (-1137861431)); + break; + case 7: + num = ((!_202D_200E_206B_200E_202E_206D_202A_206E_206E_202C_206A_206F_200D_200B_200B_200B_200E_202A_202E_206A_200D_206F_200B_202C_200B_206B_200F_206C_206B_206C_206C_202C_206D_202E_202A_206A_200D_200B_206C_206E_202E(condition, ConditionFlag.Mounted)) ? (-1137861432) : (-1137861410)); + break; + case 11: + return true; + case 3: + skipConditions = base.Task.SkipConditions; + num = ((skipConditions == null) ? (-1137861437) : (-1137861436)); + break; + case 10: + num = (_206D_206F_200D_202B_200B_202D_200C_202C_206E_202D_202B_200E_202A_200B_206C_206A_206D_200D_206C_200C_202B_200B_206C_206F_202D_202B_200F_200E_206B_200C_200F_200F_206A_202C_202C_206C_200B_200D_200B_206C_202E(skipConditions) ? (-1137861437) : (-1137861426)); + break; + case 9: + _202E_200E_200E_200F_206A_202B_200C_206C_202A_202C_206C_202B_200C_206A_206E_202E_206F_200E_200C_206D_206E_206A_206F_202E_202B_200D_200F_206B_206F_206A_202B_206E_206E_202D_202E_206C_206E_200F_202D_206A_202E((ILogger)logger, global::_003CModule_003E._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(-114450363), new object[1] { base.Task.DataId }); + _needsUnmount = true; + gameFunctions.Unmount(); + _continueAt = _202A_206D_202C_202B_200E_206E_200D_202B_206A_200F_202B_200D_200F_206B_200E_202E_202E_202E_200E_206F_202A_200B_200D_206F_202D_206F_206F_206F_200E_206A_202D_206C_206C_200F_202B_200F_200C_200B_206B_206A_202E() + 1000; + return true; } } - 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); - _needsUnmount = true; - gameFunctions.Unmount(); - _continueAt = DateTime.Now.AddSeconds(1.0); - return true; - } - if (gameObject.IsTargetable && HasAnyMarker(gameObject)) - { - TriggerInteraction(gameObject); - return true; - } - return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe override ETaskResult Update() { - if (DateTime.Now <= _continueAt) + int num = ((_202A_206D_202C_202B_200E_206E_200D_202B_206A_200F_202B_200D_200F_206B_200E_202E_202E_202E_200E_206F_202A_200B_200D_206F_202D_206F_206F_206F_200E_206A_202D_206C_206C_200F_202B_200F_200C_200B_206B_206A_202E() > _continueAt) ? 729824237 : 729824204); + EStatus? completionStatusId = default(EStatus?); + uint? num7 = default(uint?); + IGameObject gameObject = default(IGameObject); + QuestProgressInfo questProgressInfo = default(QuestProgressInfo); + byte? taxiStandId = default(byte?); + uint valueOrDefault = default(uint); + while (true) { - return ETaskResult.StillRunning; - } - if (_needsUnmount) - { - if (condition[ConditionFlag.Mounted]) + int num2 = num; + int num3 = 729824194; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - gameFunctions.Unmount(); - _continueAt = DateTime.Now.AddSeconds(1.0); + case 45: + ResetProgressTimer(); + return ETaskResult.TaskComplete; + case 24: + return ETaskResult.TaskComplete; + case 40: return ETaskResult.StillRunning; - } - _needsUnmount = false; - } - uint? pickUpItemId = base.Task.PickUpItemId; - if (pickUpItemId.HasValue) - { - uint valueOrDefault = pickUpItemId.GetValueOrDefault(); - if (InventoryManager.Instance()->GetInventoryItemCount(valueOrDefault, isHq: false, checkEquipped: true, checkArmory: true, 0) > 0) + case 15: + return ETaskResult.StillRunning; + case 0: + num = ((_interactionState != EInteractionState.InteractionConfirmed) ? 729824198 : 729824207); + break; + case 21: + num = ((base.ProgressContext == null) ? 729824198 : 729824233); + break; + case 44: { + EStatus valueOrDefault3 = completionStatusId.GetValueOrDefault(); + num = ((!gameFunctions.HasStatus(valueOrDefault3)) ? 729824193 : 729824239); + break; + } + case 3: + num7 = base.Task.PickUpItemId; + num = ((!num7.HasValue) ? 729824195 : 729824228); + break; + case 27: + num = ((!_202D_200E_206B_200E_202E_206D_202A_206E_206E_202C_206A_206F_200D_200B_200B_200B_200E_202A_202E_206A_200D_206F_200B_202C_200B_206B_200F_206C_206B_206C_206C_202C_206D_202E_202A_206A_200D_200B_206C_206E_202E(condition, ConditionFlag.Mounted)) ? 729824199 : 729824222); + break; + case 6: + _202E_200E_200E_200F_206A_202B_200C_206C_202A_202C_206C_202B_200C_206A_206E_202E_206F_200E_200C_206D_206E_206A_206F_202E_202B_200D_200F_206B_206F_206A_202B_206E_206E_202D_202E_206C_206E_200F_202D_206A_202E((ILogger)logger, global::_003CModule_003E._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(482979701), new object[1] { base.Task.DataId }); + return ETaskResult.SkipRemainingTasksForStep; + case 5: + _needsUnmount = false; + num = 729824197; + break; + case 34: + _202B_202B_206C_206D_202A_206C_206C_206A_206F_206D_206D_200B_206D_200D_206C_202C_202A_206E_200B_202E_200B_200D_206C_202D_202A_200E_202E_200D_206A_200C_202B_200B_206A_202E_202C_200E_200B_206B_206D_202E_202E((ILogger)logger, global::_003CModule_003E._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(-1503004360), new object[2] + { + base.Task.DataId, + _interactionAttempts + }); + return ETaskResult.RetryStep; + case 32: + num = ((!_202D_200E_206B_200E_202E_206D_202A_206E_206E_202C_206A_206F_200D_200B_200B_200B_200E_202A_202E_206A_200D_206F_200B_202C_200B_206B_200F_206C_206B_206C_206C_202C_206D_202E_202A_206A_200D_200B_206C_206E_202E(condition, ConditionFlag.Gathering)) ? 729824232 : 729824230); + break; + case 8: + _gatheringNodeMissingSince = 0L; + num = (HasAnyMarker(gameObject) ? 729824192 : 729824234); + break; + case 33: + num = ((!QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo)) ? 729824198 : 729824201); + break; + case 42: + num = ((Quest == null) ? 729824215 : 729824206); + break; + case 17: + num = ((!shopController.IsOpen) ? 729824198 : 729824205); + break; + case 46: + num = (base.ProgressContext.WasSuccessful() ? 729824207 : 729824194); + break; + case 4: + gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId, null, warnIfMissing: false); + num = ((gameObject == null) ? 729824220 : 729824243); + break; + case 36: + ResetProgressTimer(); + return ETaskResult.TaskComplete; + case 14: + return ETaskResult.StillRunning; + case 9: + ResetProgressTimer(); + return ETaskResult.TaskComplete; + case 30: + num = ((InteractionType != EInteractionType.Gather) ? 729824242 : 729824221); + break; + case 35: + _gatheringNodeMissingSince = _202A_206D_202C_202B_200E_206E_200D_202B_206A_200F_202B_200D_200F_206B_200E_202E_202E_202E_200E_206F_202A_200B_200D_206F_202D_206F_206F_206F_200E_206A_202D_206C_206C_200F_202B_200F_200C_200B_206B_206A_202E(); + num = 729824231; + break; + case 39: + _continueAt = _202A_206D_202C_202B_200E_206E_200D_202B_206A_200F_202B_200D_200F_206B_200E_202E_202E_202E_200E_206F_202A_200B_200D_206F_202D_206F_206F_206F_200E_206A_202D_206C_206C_200F_202B_200F_200C_200B_206B_206A_202E() + 200; + _delayedFinalCheck = true; + return ETaskResult.StillRunning; + case 47: + num = ((!_needsUnmount) ? 729824197 : 729824217); + break; + case 7: + completionStatusId = base.Task.CompletionStatusId; + num = ((!completionStatusId.HasValue) ? 729824193 : 729824238); + break; + case 12: + num = ((!base.Task.HasCompletionQuestVariablesFlags) ? 729824215 : 729824212); + break; + case 20: + num = ((InteractionType != EInteractionType.Gather) ? 729824232 : 729824226); + break; + case 38: + { + uint valueOrDefault4 = num7.GetValueOrDefault(); + num = ((InventoryManager.Instance()->GetInventoryItemCount(valueOrDefault4, isHq: false, checkEquipped: true, checkArmory: true, 0) <= 0) ? 729824198 : 729824209); + break; + } + case 29: + num = 729824204; + break; + case 26: + taxiStandId = base.Task.TaxiStandId; + num = ((!taxiStandId.HasValue) ? 729824214 : 729824219); + break; + case 28: + gameFunctions.Unmount(); + _continueAt = _202A_206D_202C_202B_200E_206E_200D_202B_206A_200F_202B_200D_200F_206B_200E_202E_202E_202E_200E_206F_202A_200B_200D_206F_202D_206F_206F_206F_200E_206A_202D_206C_206C_200F_202B_200F_200C_200B_206B_206A_202E() + 1000; + return ETaskResult.StillRunning; + case 48: + return ETaskResult.StillRunning; + case 22: + questProgressInfo = questFunctions.GetQuestProgressInfo(Quest.Id); + num = ((questProgressInfo == null) ? 729824198 : 729824227); + break; + case 49: + num = (_202E_200B_200B_200B_206B_202D_200B_200C_202D_200E_200C_206F_206F_200E_206D_200C_200D_202D_200F_200E_200B_206F_202D_202B_202D_200C_206F_200F_200B_206D_200C_202D_200C_200B_206D_200B_202D_200F_206B_200D_202E(gameObject) ? 729824202 : 729824220); + break; + case 41: + valueOrDefault = num7.GetValueOrDefault(); + num = ((base.Task.PurchaseItemCount <= 0) ? 729824216 : 729824210); + break; + case 2: + { + int interactionAttempts = _interactionAttempts; + num3 = 1; + num4 = interactionAttempts; + _interactionAttempts = (num4 | num3) + (num4 & num3); + num = ((_interactionAttempts <= 10) ? 729824213 : 729824224); + break; + } + case 37: + num = ((_202A_206D_202C_202B_200E_206E_200D_202B_206A_200F_202B_200D_200F_206B_200E_202E_202E_202E_200E_206F_202A_200B_200D_206F_202D_206F_206F_206F_200E_206A_202D_206C_206C_200F_202B_200F_200C_200B_206B_206A_202E() - _gatheringNodeMissingSince < 1000) ? 729824242 : 729824196); + break; + case 1: + num7 = base.Task.PurchaseItemId; + num = ((!num7.HasValue) ? 729824216 : 729824235); + break; + case 25: + { + byte valueOrDefault2 = taxiStandId.GetValueOrDefault(); + UIState* intPtr = UIState.Instance(); + num3 = 1179648; + num4 = valueOrDefault2; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + num = ((!intPtr->IsChocoboTaxiStandUnlocked((uint)(num8 + (num9 + num9)))) ? 729824198 : 729824203); + break; + } + case 23: + TriggerInteraction(gameObject); + ResetProgressTimer(); + return ETaskResult.StillRunning; + case 31: + num = ((_gatheringNodeMissingSince != 0L) ? 729824231 : 729824225); + break; + case 13: + ResetProgressTimer(); + num = ((!_delayedFinalCheck) ? 729824229 : 729824218); + break; + case 10: + _202E_200E_200E_200F_206A_202B_200C_206C_202A_202C_206C_202B_200C_206A_206E_202E_206F_200E_200C_206D_206E_206A_206F_202E_202B_200D_200F_206B_206F_206A_202B_206E_206E_202D_202E_206C_206E_200F_202D_206A_202E((ILogger)logger, global::_003CModule_003E._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(-115096270), new object[1] { base.Task.DataId }); + return ETaskResult.StillRunning; + case 19: + ResetProgressTimer(); + return ETaskResult.TaskComplete; + case 16: + num = ((((ItemHandle)valueOrDefault).GetCount(checkEquipped: true, checkArmory: true) < base.Task.PurchaseItemCount) ? 729824211 : 729824208); + break; + case 18: + ResetProgressTimer(); + return ETaskResult.TaskComplete; + case 43: + num = ((!base.ProgressContext.WasInterrupted()) ? 729824236 : 729824200); + break; + case 11: + ResetProgressTimer(); return ETaskResult.TaskComplete; } } - else - { - byte? taxiStandId = base.Task.TaxiStandId; - if (taxiStandId.HasValue) - { - byte valueOrDefault2 = taxiStandId.GetValueOrDefault(); - if (UIState.Instance()->IsChocoboTaxiStandUnlocked((uint)(valueOrDefault2 + 1179648))) - { - return ETaskResult.TaskComplete; - } - } - else - { - if (InteractionType == EInteractionType.Gather && condition[ConditionFlag.Gathering]) - { - return ETaskResult.TaskComplete; - } - if (Quest != null && base.Task.HasCompletionQuestVariablesFlags) - { - QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(Quest.Id); - if (questProgressInfo == null || !QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo)) - { - return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; - } - if (base.ProgressContext != null) - { - if (base.ProgressContext.WasInterrupted()) - { - logger.LogDebug("Interaction with {DataId} was interrupted", base.Task.DataId); - return ETaskResult.StillRunning; - } - if (base.ProgressContext.WasSuccessful() || _interactionState == EInteractionState.InteractionConfirmed) - { - if (delayedFinalCheck) - { - return ETaskResult.TaskComplete; - } - _continueAt = DateTime.Now.AddSeconds(0.2); - delayedFinalCheck = true; - return ETaskResult.StillRunning; - } - } - } - } - IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.DataId); - if (gameObject == null || !gameObject.IsTargetable || !HasAnyMarker(gameObject)) - { - return ETaskResult.StillRunning; - } - TriggerInteraction(gameObject); - return ETaskResult.StillRunning; } private void TriggerInteraction(IGameObject gameObject) { 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 = _202A_206D_202C_202B_200E_206E_200D_202B_206A_200F_202B_200D_200F_206B_200E_202E_202E_202E_200E_206F_202A_200B_200D_206F_202D_206F_206F_206F_200E_206A_202D_206C_206C_200F_202B_200F_200C_200B_206B_206A_202E() + 500; } private unsafe bool HasAnyMarker(IGameObject gameObject) { - if (base.Task.SkipMarkerCheck || gameObject.ObjectKind != Dalamud.Game.ClientState.Objects.Enums.ObjectKind.EventNpc) + int num = (base.Task.SkipMarkerCheck ? 882594710 : 882594709); + while (true) { - return true; + int num2 = num; + int num3 = 882594708; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + { + GameObject* ptr = (GameObject*)_200B_206D_206F_206E_202A_206E_202B_202D_202A_202C_200F_200C_206D_200E_200C_200D_200F_206C_206B_200E_206E_206B_200B_200D_206C_200F_206B_206F_206B_206D_202C_200C_206E_200D_202B_202E_200D_200C_202B_206A_202E(gameObject); + return ptr->NamePlateIconId != 0; + } + case 1: + num = ((_206C_206C_200C_206B_202E_206F_200D_200C_206E_200B_206A_206A_200C_202C_200C_200E_202B_206D_200B_202B_202D_206C_206B_202C_202D_202E_200B_202E_202C_206D_200F_206F_202E_200E_206D_206C_200F_202B_202B_202A_202E(gameObject) == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.EventNpc) ? 882594708 : 882594710); + break; + case 2: + return true; + case 3: + num = 882594709; + break; + } } - GameObject* address = (GameObject*)gameObject.Address; - return address->NamePlateIconId != 0; } + [MethodImpl(MethodImplOptions.NoInlining)] public void OnConditionChange(ConditionFlag flag, bool value) { - if (base.ProgressContext == null || (!base.ProgressContext.WasInterrupted() && !base.ProgressContext.WasSuccessful())) + int num = ((base.ProgressContext == null) ? (-592767209) : (-592767206)); + bool flag3 = default(bool); + bool flag2 = default(bool); + while (true) { - logger.LogDebug("Condition change: {Flag} = {Value}", flag, value); - bool flag2 = _interactionState == EInteractionState.InteractionTriggered; - if (flag2) + int num2 = num; + int num3 = -592767203; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - bool flag3 = (uint)(flag - 31) <= 1u; - flag2 = flag3; + case 11: + num = (((uint)(flag - 31) > 1u) ? (-592767205) : (-592767208)); + break; + case 4: + return; + case 1: + flag3 = flag2; + num = -592767203; + break; + case 0: + { + bool num5 = flag3; + num3 = (value ? 1 : 0); + num4 = (num5 ? 1 : 0); + num = ((num4 + num3 - (num4 | num3) == 0) ? (-592767207) : (-592767211)); + break; } - if (flag2 && value) - { - logger.LogInformation("Interaction was most likely triggered"); + case 3: + num = -592767206; + break; + case 6: + flag2 = false; + num = -592767204; + break; + case 7: + num = (base.ProgressContext.WasInterrupted() ? (-592767212) : (-592767201)); + break; + case 8: + _202E_200E_200E_200F_206A_202B_200C_206C_202A_202C_206C_202B_200C_206A_206E_202E_206F_200E_200C_206D_206E_206A_206F_202E_202B_200D_200F_206B_206F_206A_202B_206E_206E_202D_202E_206C_206E_200F_202D_206A_202E((ILogger)logger, global::_003CModule_003E._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(1899205764), Array.Empty()); _interactionState = EInteractionState.InteractionConfirmed; + num = -592767207; + break; + case 2: + num = ((!base.ProgressContext.WasSuccessful()) ? (-592767209) : (-592767212)); + break; + case 9: + return; + case 10: + _202E_200E_200E_200F_206A_202B_200C_206C_202A_202C_206C_202B_200C_206A_206E_202E_206F_200E_200C_206D_206E_206A_206F_202E_202B_200D_200F_206B_206F_206A_202B_206E_206E_202D_202E_206C_206E_200F_202D_206A_202E((ILogger)logger, global::_003CModule_003E._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(-574362043), new object[2] { flag, value }); + flag3 = _interactionState == EInteractionState.InteractionTriggered; + num = ((!flag3) ? (-592767203) : (-592767210)); + break; + case 5: + flag2 = true; + num = -592767204; + break; } } } + void IConditionChangeAware.OnConditionChange(ConditionFlag flag, bool value) + { + //ILSpy generated this explicit interface implementation from .override directive in OnConditionChange + this.OnConditionChange(flag, value); + } + public override bool ShouldInterruptOnDamage() { return true; } + + static long _202A_206D_202C_202B_200E_206E_200D_202B_206A_200F_202B_200D_200F_206B_200E_202E_202E_202E_200E_206F_202A_200B_200D_206F_202D_206F_206F_206F_200E_206A_202D_206C_206C_200F_202B_200F_200C_200B_206B_206A_202E() + { + return Environment.TickCount64; + } + + static void _202E_200E_200E_200F_206A_202B_200C_206C_202A_202C_206C_202B_200C_206A_206E_202E_206F_200E_200C_206D_206E_206A_206F_202E_202B_200D_200F_206B_206F_206A_202B_206E_206E_202D_202E_206C_206E_200F_202D_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _202E_200B_200B_200B_206B_202D_200B_200C_202D_200E_200C_206F_206F_200E_206D_200C_200D_202D_200F_200E_200B_206F_202D_202B_202D_200C_206F_200F_200B_206D_200C_202D_200C_200B_206D_200B_202D_200F_206B_200D_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } + + static bool _206D_206F_200D_202B_200B_202D_200C_202C_206E_202D_202B_200E_202A_200B_206C_206A_206D_200D_206C_200C_202B_200B_206C_206F_202D_202B_200F_200E_206B_200C_200F_200F_206A_202C_202C_206C_200B_200D_200B_206C_202E(SkipStepConditions P_0) + { + return P_0.Never; + } + + static bool _202C_202A_202C_200B_206B_206A_202B_200E_206B_206B_200F_202C_202B_200D_202B_202E_206A_202B_206C_206A_200E_206F_206B_200F_206A_200C_202C_202E_200F_200C_202B_206E_202C_200D_206B_206B_206F_200E_202C_200C_202E(SkipStepConditions P_0) + { + return P_0.NotTargetable; + } + + static bool _202D_200E_206B_200E_202E_206D_202A_206E_206E_202C_206A_206F_200D_200B_200B_200B_200E_202A_202E_206A_200D_206F_200B_202C_200B_206B_200F_206C_206B_206C_206C_202C_206D_202E_202A_206A_200D_200B_206C_206E_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static Dalamud.Game.ClientState.Objects.Enums.ObjectKind _206C_206C_200C_206B_202E_206F_200D_200C_206E_200B_206A_206A_200C_202C_200C_200E_202B_206D_200B_202B_202D_206C_206B_202C_202D_202E_200B_202E_202C_206D_200F_206F_202E_200E_206D_206C_200F_202B_202B_202A_202E(IGameObject P_0) + { + return P_0.ObjectKind; + } + + static void _202B_202B_206C_206D_202A_206C_206C_206A_206F_206D_206D_200B_206D_200D_206C_202C_202A_206E_200B_202E_200B_200D_206C_202D_202A_200E_202E_200D_206A_200C_202B_200B_206A_202E_202C_200E_200B_206B_206D_202E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static nint _200B_206D_206F_206E_202A_206E_202B_202D_202A_202C_200F_200C_206D_200E_200C_200D_200F_206C_206B_200E_206E_206B_200B_200D_206C_200F_206B_206F_206B_206D_202C_200C_206E_200D_202B_202E_200D_200C_202B_206A_202E(IGameObject P_0) + { + return P_0.Address; + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Jump.cs b/Questionable/Questionable.Controller.Steps.Interactions/Jump.cs index 13e29744..e8a00e80 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Jump.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Jump.cs @@ -1,8 +1,13 @@ using System; using System.Collections.Generic; using System.Numerics; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Text; +using System.Threading; +using System.Threading.Tasks; 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; @@ -16,18 +21,62 @@ internal static class Jump { internal sealed class Factory : SimpleTaskFactory { + [MethodImpl(MethodImplOptions.NoInlining)] public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.Jump) + int num = ((_200E_202A_202E_202C_206A_202E_200E_206A_206E_206E_202C_206E_206D_200D_200E_202D_200F_206E_200D_200D_206D_200C_200D_202B_202A_202A_200B_200B_206D_202B_200F_200B_200F_206D_206B_202E_206A_200C_202D_202B_202E(step) == EInteractionType.Jump) ? 1879754569 : 1879754570); + while (true) { - return null; + int num2 = num; + int num3 = 1879754571; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return new SingleJumpTask(_200B_206E_202B_202E_202B_200F_202E_202C_206D_200F_202A_200B_206F_200B_200D_206C_202C_206A_206E_206F_200E_202D_206D_206D_206F_202A_206E_200F_202E_206E_202B_200D_206E_202B_206E_206D_200B_206A_200C_202D_202E(step), _200C_202C_206B_200F_200E_206E_202D_206E_200F_206C_206C_206B_206F_202D_200D_206F_202C_202A_202C_200B_200C_200E_200B_202B_206B_206D_202A_202C_200B_200F_200C_202B_202B_206A_206C_202A_202C_202D_200E_202E(step), _206D_200E_206F_200F_202D_206B_202E_200F_206F_206B_200B_206A_202C_200F_206D_206C_200C_206B_200D_206B_206D_200D_202E_206C_206A_206E_202B_200E_200F_200C_202E_206B_206D_206D_206B_200B_206C_206F_206B_200D_202E(step)); + case 1: + return null; + case 0: + return new RepeatedJumpTask(_200B_206E_202B_202E_202B_200F_202E_202C_206D_200F_202A_200B_206F_200B_200D_206C_202C_206A_206E_206F_200E_202D_206D_206D_206F_202A_206E_200F_202E_206E_202B_200D_206E_202B_206E_206D_200B_206A_200C_202D_202E(step), _200C_202C_206B_200F_200E_206E_202D_206E_200F_206C_206C_206B_206F_202D_200D_206F_202C_202A_202C_200B_200C_200E_200B_202B_206B_206D_202A_202C_200B_200F_200C_202B_202B_206A_206C_202A_202C_202D_200E_202E(step), _206D_200E_206F_200F_202D_206B_202E_200F_206F_206B_200B_206A_202C_200F_206D_206C_200C_206B_200D_206B_206D_200D_202E_206C_206A_206E_202B_200E_200F_200C_202E_206B_206D_206D_206B_200B_206C_206F_206B_200D_202E(step)); + case 2: + _206E_206C_206A_200C_206A_206C_202B_206C_206F_200C_200B_200B_202C_206D_202A_206B_206B_206A_202A_206B_206D_206A_200E_206B_202E_202D_200D_200B_200F_206E_200B_206B_200B_200C_206F_206B_206C_200F_200F_206F_202E((object)_200C_202C_206B_200F_200E_206E_202D_206E_200F_206C_206C_206B_206F_202D_200D_206F_202C_202A_202C_200B_200C_200E_200B_202B_206B_206D_202A_202C_200B_200F_200C_202B_202B_206A_206C_202A_202C_202D_200E_202E(step), global::_003CModule_003E._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(-1260133087)); + num = ((_200E_206A_206A_206B_200D_200E_200F_202C_200B_202C_206E_206A_206A_202E_200B_200D_202E_206E_202D_202A_202A_202E_200E_206C_206F_206C_202B_206E_200C_206D_200E_202A_200E_200F_202A_200F_206E_206F_202C_200E_202E(_200C_202C_206B_200F_200E_206E_202D_206E_200F_206C_206C_206B_206F_202D_200D_206F_202C_202A_202C_200B_200C_200E_200B_202B_206B_206D_202A_202C_200B_200F_200C_202B_202B_206A_206C_202A_202C_202D_200E_202E(step)) != EJumpType.SingleJump) ? 1879754571 : 1879754575); + break; + case 3: + num = 1879754570; + break; + } } - ArgumentNullException.ThrowIfNull(step.JumpDestination, "step.JumpDestination"); - if (step.JumpDestination.Type == EJumpType.SingleJump) - { - return new SingleJumpTask(step.DataId, step.JumpDestination, step.Comment); - } - return new RepeatedJumpTask(step.DataId, step.JumpDestination, step.Comment); + } + + static EInteractionType _200E_202A_202E_202C_206A_202E_200E_206A_206E_206E_202C_206E_206D_200D_200E_202D_200F_206E_200D_200D_206D_200C_200D_202B_202A_202A_200B_200B_206D_202B_200F_200B_200F_206D_206B_202E_206A_200C_202D_202B_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static JumpDestination _200C_202C_206B_200F_200E_206E_202D_206E_200F_206C_206C_206B_206F_202D_200D_206F_202C_202A_202C_200B_200C_200E_200B_202B_206B_206D_202A_202C_200B_200F_200C_202B_202B_206A_206C_202A_202C_202D_200E_202E(QuestStep P_0) + { + return P_0.JumpDestination; + } + + static void _206E_206C_206A_200C_206A_206C_202B_206C_206F_200C_200B_200B_202C_206D_202A_206B_206B_206A_202A_206B_206D_206A_200E_206B_202E_202D_200D_200B_200F_206E_200B_206B_200B_200C_206F_206B_206C_200F_200F_206F_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static EJumpType _200E_206A_206A_206B_200D_200E_200F_202C_200B_202C_206E_206A_206A_202E_200B_200D_202E_206E_202D_202A_202A_202E_200E_206C_206F_206C_202B_206E_200C_206D_200E_202A_200E_200F_202A_200F_206E_206F_202C_200E_202E(JumpDestination P_0) + { + return P_0.Type; + } + + static uint? _200B_206E_202B_202E_202B_200F_202E_202C_206D_200F_202A_200B_206F_200B_200D_206C_202C_206A_206E_206F_200E_202D_206D_206D_206F_202A_206E_200F_202E_206E_202B_200D_206E_202B_206E_206D_200B_206A_200C_202D_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static string _206D_200E_206F_200F_202D_206B_202E_200F_206F_206B_200B_206A_202C_200F_206D_206C_200C_206B_200D_206B_206D_200D_202E_206C_206A_206E_202B_200E_200F_200C_202E_206B_206D_206D_206B_200B_206C_206F_206B_200D_202E(QuestStep P_0) + { + return P_0.Comment; } } @@ -42,9 +91,106 @@ internal static class Jump internal sealed record SingleJumpTask(uint? DataId, JumpDestination JumpDestination, string? Comment) : IJumpTask, ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206F_202D_202A_206A_202C_202B_200C_202D_206B_202B_200F_200B_200D_202C_200F_202A_200C_202B_206D_206E_206B_202D_200E_202E_202E_200D_200C_202D_200F_202A_206D_202A_206B_202E_206B_200B_202B_200D_206E_200E_202E(typeof(SingleJumpTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "Jump(" + Comment + ")"; + return _200E_206E_200E_200E_202A_202B_206B_200D_200F_200B_200E_202E_202A_206A_206F_202E_200B_206A_202A_200C_206A_202D_202E_206C_206D_202E_206D_206F_202C_200E_206D_200B_202A_206A_202B_202C_206D_202E_200D_206D_202E(global::_003CModule_003E._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(2069957391), Comment, global::_003CModule_003E._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(1735737295)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202D_200D_202B_202B_200B_206F_206D_202D_200D_206E_202A_202D_202B_202B_202A_206C_202E_202E_206F_202B_202B_202A_202B_202B_202A_200B_200C_200D_206E_202D_202A_202D_206F_206C_200B_206C_206E_206A_200B_206D_202E(); + _200D_200D_200D_200D_206D_206B_206A_206F_202D_200B_200E_202E_202A_206D_206A_200E_202D_206D_200B_200D_206C_200F_202B_206A_202A_200E_202A_202D_206C_202E_206D_202C_200D_206A_202D_206A_202D_206B_206E_202D_202E(builder, global::_003CModule_003E._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(-813337770)); + _200D_200D_200D_200D_206D_206B_206A_206F_202D_200B_200E_202E_202A_206D_206A_200E_202D_206D_200B_200D_206C_200F_202B_206A_202A_200E_202A_202D_206C_202E_206D_202C_200D_206A_202D_206A_202D_206B_206E_202D_202E(builder, DataId.ToString()); + _200D_200D_200D_200D_206D_206B_206A_206F_202D_200B_200E_202E_202A_206D_206A_200E_202D_206D_200B_200D_206C_200F_202B_206A_202A_200E_202A_202D_206C_202E_206D_202C_200D_206A_202D_206A_202D_206B_206E_202D_202E(builder, global::_003CModule_003E._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(840372176)); + _206D_202B_206B_200C_202A_200B_202B_206D_200E_206B_206B_202E_202C_202B_206D_200C_202D_202E_202A_202E_206B_206D_206E_206A_202A_200F_206B_202D_202D_206D_202E_202C_200B_200E_206B_202B_200D_206C_202B_206D_202E(builder, (object)JumpDestination); + _200D_200D_200D_200D_206D_206B_206A_206F_202D_200B_200E_202E_202A_206D_206A_200E_202D_206D_200B_200D_206C_200F_202B_206A_202A_200E_202A_202D_206C_202E_206D_202C_200D_206A_202D_206A_202D_206B_206E_202D_202E(builder, global::_003CModule_003E._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(-1006174404)); + _206D_202B_206B_200C_202A_200B_202B_206D_200E_206B_206B_202E_202C_202B_206D_200C_202D_202E_202A_202E_206B_206D_206E_206A_202A_200F_206B_202D_202D_206D_202E_202C_200B_200E_206B_202B_200D_206C_202B_206D_202E(builder, (object)Comment); + return true; + } + + [CompilerGenerated] + public bool Equals(SingleJumpTask? other) + { + int num = (((object)this == other) ? (-1677814898) : (-1677814903)); + while (true) + { + int num2 = num; + int num3 = -1677814899; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return true; + case 4: + num = (((object)other == null) ? (-1677814901) : (-1677814902)); + break; + case 0: + num = -1677814903; + break; + case 5: + return EqualityComparer.Default.Equals(Comment, other.Comment); + case 6: + return false; + case 7: + num = ((!_202E_200D_206E_206E_200B_202B_200F_202D_202D_206D_206B_202C_206E_202E_202C_206D_200C_206D_200D_206C_202C_200D_202C_202B_200D_206B_206A_202C_202C_200C_200B_202D_200D_206B_200D_202D_206A_200F_202E_200E_202E(EqualityContract, other.EqualityContract)) ? (-1677814901) : (-1677814900)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? (-1677814901) : (-1677814897)); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(JumpDestination, other.JumpDestination)) ? (-1677814901) : (-1677814904)); + break; + } + } + } + + bool IEquatable.Equals(SingleJumpTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206F_202D_202A_206A_202C_202B_200C_202D_206B_202B_200F_200B_200D_202C_200F_202A_200C_202B_206D_206E_206B_202D_200E_202E_202E_200D_200C_202D_200F_202A_206D_202A_206B_202E_206B_200B_202B_200D_206E_200E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static string _200E_206E_200E_200E_202A_202B_206B_200D_200F_200B_200E_202E_202A_206A_206F_202E_200B_206A_202A_200C_206A_202D_202E_206C_206D_202E_206D_206F_202C_200E_206D_200B_202A_206A_202B_202C_206D_202E_200D_206D_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _202D_200D_202B_202B_200B_206F_206D_202D_200D_206E_202A_202D_202B_202B_202A_206C_202E_202E_206F_202B_202B_202A_202B_202B_202A_200B_200C_200D_206E_202D_202A_202D_206F_206C_200B_206C_206E_206A_200B_206D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200D_200D_200D_200D_206D_206B_206A_206F_202D_200B_200E_202E_202A_206D_206A_200E_202D_206D_200B_200D_206C_200F_202B_206A_202A_200E_202A_202D_206C_202E_206D_202C_200D_206A_202D_206A_202D_206B_206E_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_202B_206B_200C_202A_200B_202B_206D_200E_206B_206B_202E_202C_202B_206D_200C_202D_202E_202A_202E_206B_206D_206E_206A_202A_200F_206B_202D_202D_206D_202E_202C_200B_200E_206B_202B_200D_206C_202B_206D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202E_200D_206E_206E_200B_202B_200F_202D_202D_206D_206B_202C_206E_202E_202C_206D_200C_206D_200D_206C_202C_200D_202C_202B_200D_206B_206A_202C_202C_200C_200B_202D_200D_206B_200D_202D_206A_200F_202E_200E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -52,48 +198,116 @@ internal static class Jump { protected unsafe override bool Start() { - IGameObject gameObject = _003CobjectTable_003EP[0]; - if (gameObject == null) + IPlayerCharacter playerCharacter = _206E_200D_202E_206B_206A_202B_200E_202C_202E_206A_202B_206D_200D_202A_200B_200F_206A_202C_206A_206D_202C_206B_200C_200D_200D_202C_206E_206C_200B_202A_202D_202C_206A_206C_200B_206A_200D_202A_202A_202A_202E(_003CobjectTable_003EP); + int num = ((playerCharacter != null) ? 279360376 : 279360377); + float num7 = default(float); + while (true) { - return false; + int num2 = num; + int num3 = 279360376; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + { + MovementController movementController = _003CmovementController_003EP; + uint? dataId = base.Task.DataId; + int num8 = 1; + List list = new List(num8); + CollectionsMarshal.SetCount(list, num8); + CollectionsMarshal.AsSpan(list)[0] = _200E_206A_206D_206E_206B_200B_200E_200C_202A_202A_206E_202E_200D_202D_202C_202A_206D_202C_206B_206A_206C_202D_202B_200F_200E_206D_200D_206E_200E_206F_202D_200B_200B_200C_206D_200B_200B_200F_202C_202D_202E(base.Task.JumpDestination); + movementController.NavigateTo(EMovementType.Quest, dataId, list, fly: false, sprint: false, _206B_206D_206F_202A_206F_202A_200F_202A_200D_202A_202B_206E_202B_202B_202E_200E_202C_200E_206F_200C_200D_202D_200C_202C_206B_202C_200B_200C_206D_200C_206D_202C_206B_202D_206B_200C_206A_200D_202A_206A_202E(base.Task.JumpDestination) ?? num7); + _206A_200C_206D_206D_202B_202C_206F_200E_200B_206C_202D_200E_206C_206D_206E_206E_202D_206D_206C_202B_206D_202E_206E_202B_202D_206C_200C_200F_206C_200F_200D_206B_206E_202C_202C_206E_202D_206C_200B_200F_202E(_003Cframework_003EP, (System.Action)delegate + { + ActionManager.Instance()->UseAction(ActionType.GeneralAction, 2u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + }, TimeSpan.FromSeconds(_206E_202C_202D_206C_200F_206E_206D_200E_202B_206C_200E_206C_206C_200F_202D_202D_202B_206A_202D_202A_206C_206B_200B_200B_206B_206F_206D_206D_202A_206D_206F_200D_200F_206C_202E_200B_206F_202A_200F_206D_202E(base.Task.JumpDestination) ?? 0.5f), 0, default(CancellationToken)); + return true; + } + case 0: + num7 = _200D_200F_202A_202E_200F_200C_206F_206C_200B_206D_200D_202A_200F_202E_206D_200F_202B_202E_206F_206C_206F_200C_202D_200B_202C_200B_200D_206D_200F_200B_200C_202E_200B_200E_200C_202C_206B_202E_200E_202A_202E(base.Task.JumpDestination); + num = ((!((_206D_202A_206B_206F_202E_202A_206C_206C_200E_206F_206A_200E_206A_206B_202E_202E_206A_206B_202C_206A_200E_200C_200B_206E_202B_206B_206E_200D_206F_206E_206D_200E_206D_200D_202A_202C_206D_206B_202C_202A_202E((IGameObject)playerCharacter) - _200E_206A_206D_206E_206B_200B_200E_200C_202A_202A_206E_202E_200D_202D_202C_202A_206D_202C_206B_206A_206C_202D_202B_200F_200E_206D_200D_206E_200E_206F_202D_200B_200B_200C_206D_200B_200B_200F_202C_202D_202E(base.Task.JumpDestination)).Length() <= num7)) ? 279360378 : 279360380); + break; + case 1: + return false; + case 4: + return false; + case 3: + num = 279360377; + break; + } } - float num = base.Task.JumpDestination.CalculateStopDistance(); - if ((gameObject.Position - base.Task.JumpDestination.Position).Length() <= num) - { - return false; - } - MovementController movementController = _003CmovementController_003EP; - uint? dataId = base.Task.DataId; - int num2 = 1; - List list = new List(num2); - CollectionsMarshal.SetCount(list, num2); - CollectionsMarshal.AsSpan(list)[0] = base.Task.JumpDestination.Position; - movementController.NavigateTo(EMovementType.Quest, dataId, list, fly: false, sprint: false, base.Task.JumpDestination.StopDistance ?? num); - _003Cframework_003EP.RunOnTick(delegate - { - ActionManager.Instance()->UseAction(ActionType.GeneralAction, 2u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); - }, TimeSpan.FromSeconds(base.Task.JumpDestination.DelaySeconds ?? 0.5f)); - return true; } public override ETaskResult Update() { - if (_003CmovementController_003EP.IsPathfinding || _003CmovementController_003EP.IsPathRunning) + int num = (_003CmovementController_003EP.IsPathfinding ? (-470159093) : (-470159095)); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = -470159096; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return ETaskResult.StillRunning; + case 1: + num = ((!_003CmovementController_003EP.IsPathRunning) ? (-470159096) : (-470159093)); + break; + case 0: + num = (_003CmovementController_003EP.HasBeenMovingForAtLeast(1000) ? (-470159094) : (-470159092)); + break; + case 5: + num = -470159095; + break; + case 4: + return ETaskResult.StillRunning; + case 2: + return ETaskResult.TaskComplete; + } } - DateTime movementStartedAt = _003CmovementController_003EP.MovementStartedAt; - if (movementStartedAt == DateTime.MaxValue || movementStartedAt.AddSeconds(1.0) >= DateTime.Now) - { - return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return true; } + + static IPlayerCharacter _206E_200D_202E_206B_206A_202B_200E_202C_202E_206A_202B_206D_200D_202A_200B_200F_206A_202C_206A_206D_202C_206B_200C_200D_200D_202C_206E_206C_200B_202A_202D_202C_206A_206C_200B_206A_200D_202A_202A_202A_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static float _200D_200F_202A_202E_200F_200C_206F_206C_200B_206D_200D_202A_200F_202E_206D_200F_202B_202E_206F_206C_206F_200C_202D_200B_202C_200B_200D_206D_200F_200B_200C_202E_200B_200E_200C_202C_206B_202E_200E_202A_202E(JumpDestination P_0) + { + return P_0.CalculateStopDistance(); + } + + static Vector3 _206D_202A_206B_206F_202E_202A_206C_206C_200E_206F_206A_200E_206A_206B_202E_202E_206A_206B_202C_206A_200E_200C_200B_206E_202B_206B_206E_200D_206F_206E_206D_200E_206D_200D_202A_202C_206D_206B_202C_202A_202E(IGameObject P_0) + { + return P_0.Position; + } + + static Vector3 _200E_206A_206D_206E_206B_200B_200E_200C_202A_202A_206E_202E_200D_202D_202C_202A_206D_202C_206B_206A_206C_202D_202B_200F_200E_206D_200D_206E_200E_206F_202D_200B_200B_200C_206D_200B_200B_200F_202C_202D_202E(JumpDestination P_0) + { + return P_0.Position; + } + + static float? _206B_206D_206F_202A_206F_202A_200F_202A_200D_202A_202B_206E_202B_202B_202E_200E_202C_200E_206F_200C_200D_202D_200C_202C_206B_202C_200B_200C_206D_200C_206D_202C_206B_202D_206B_200C_206A_200D_202A_206A_202E(JumpDestination P_0) + { + return P_0.StopDistance; + } + + static float? _206E_202C_202D_206C_200F_206E_206D_200E_202B_206C_200E_206C_206C_200F_202D_202D_202B_206A_202D_202A_206C_206B_200B_200B_206B_206F_206D_206D_202A_206D_206F_200D_200F_206C_202E_200B_206F_202A_200F_206D_202E(JumpDestination P_0) + { + return P_0.DelaySeconds; + } + + static Task _206A_200C_206D_206D_202B_202C_206F_200E_200B_206C_202D_200E_206C_206D_206E_206E_202D_206D_206C_202B_206D_202E_206E_202B_202D_206C_200C_200F_206C_200F_200D_206B_206E_202C_202C_206E_202D_206C_200B_200F_202E(IFramework P_0, System.Action P_1, TimeSpan P_2, int P_3, CancellationToken P_4) + { + return P_0.RunOnTick(P_1, P_2, P_3, P_4); + } } internal sealed class DoSingleJump : JumpBase @@ -106,9 +320,108 @@ internal static class Jump internal sealed record RepeatedJumpTask(uint? DataId, JumpDestination JumpDestination, string? Comment) : IJumpTask, ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206F_206C_202B_206C_200C_202A_200E_200D_202B_206C_202A_202C_200F_206E_202C_206D_206A_200F_206C_206D_200E_206C_200D_206B_200D_206E_202C_200D_206E_202B_206C_202C_202E_202E_200D_206B_206C_206B_206E_206B_202E(typeof(RepeatedJumpTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "RepeatedJump(" + Comment + ")"; + return _202A_206C_206D_200C_200D_206B_202A_202E_206E_200E_202B_206F_200B_202C_202E_202B_206F_206F_206E_206D_202E_206D_206A_200B_206C_202B_206F_206D_202B_206F_206F_202A_200E_202E_206D_202D_200F_202D_206B_200E_202E(global::_003CModule_003E._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(-1812591984), Comment, global::_003CModule_003E._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(1618480346)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_200C_200F_202B_206D_202B_200E_206F_202A_206E_200E_202E_200F_202B_200F_200B_200D_200B_202E_200F_206C_200F_200E_202D_200B_202D_206E_200D_206E_206A_206E_200F_206D_200E_202C_206E_200D_206A_202D_202E(); + _200B_206A_200E_206C_200C_202D_206A_206F_202B_202A_202B_202C_200B_200C_206B_202E_206D_202D_206C_200F_206F_206F_200D_200B_206B_206D_206B_206A_200F_206D_202A_202A_206E_200D_200B_200C_200D_202D_200D_202A_202E(builder, global::_003CModule_003E._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(-813337770)); + _200B_206A_200E_206C_200C_202D_206A_206F_202B_202A_202B_202C_200B_200C_206B_202E_206D_202D_206C_200F_206F_206F_200D_200B_206B_206D_206B_206A_200F_206D_202A_202A_206E_200D_200B_200C_200D_202D_200D_202A_202E(builder, DataId.ToString()); + _200B_206A_200E_206C_200C_202D_206A_206F_202B_202A_202B_202C_200B_200C_206B_202E_206D_202D_206C_200F_206F_206F_200D_200B_206B_206D_206B_206A_200F_206D_202A_202A_206E_200D_200B_200C_200D_202D_200D_202A_202E(builder, global::_003CModule_003E._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(2048561311)); + _206A_206C_202A_202B_200F_200D_206C_202D_200F_206B_206C_202B_202C_200E_206F_202B_202D_200E_202A_200D_200C_200B_206D_206F_206F_206B_206B_206E_202C_206F_202B_206D_206A_202B_200F_202C_200F_206A_206E_206B_202E(builder, (object)JumpDestination); + _200B_206A_200E_206C_200C_202D_206A_206F_202B_202A_202B_202C_200B_200C_206B_202E_206D_202D_206C_200F_206F_206F_200D_200B_206B_206D_206B_206A_200F_206D_202A_202A_206E_200D_200B_200C_200D_202D_200D_202A_202E(builder, global::_003CModule_003E._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(430956117)); + _206A_206C_202A_202B_200F_200D_206C_202D_200F_206B_206C_202B_202C_200E_206F_202B_202D_200E_202A_200D_200C_200B_206D_206F_206F_206B_206B_206E_202C_206F_202B_206D_206A_202B_200F_202C_200F_206A_206E_206B_202E(builder, (object)Comment); + return true; + } + + [CompilerGenerated] + public bool Equals(RepeatedJumpTask? other) + { + int num = (((object)this == other) ? (-565418878) : (-565418874)); + while (true) + { + int num2 = num; + int num3 = -565418873; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((!EqualityComparer.Default.Equals(JumpDestination, other.JumpDestination)) ? (-565418875) : (-565418880)); + break; + case 1: + num = (((object)other == null) ? (-565418875) : (-565418879)); + break; + case 6: + num = ((!_206B_206B_206F_202A_202C_206E_206A_206F_206E_200E_206A_206C_206B_202C_206C_206B_200E_202A_206A_206F_200C_206B_206B_202D_206E_202B_206A_202C_206D_202E_200E_206F_200B_200B_206C_200D_202B_200F_206E_202B_202E(EqualityContract, other.EqualityContract)) ? (-565418875) : (-565418877)); + break; + case 7: + return EqualityComparer.Default.Equals(Comment, other.Comment); + case 4: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? (-565418875) : (-565418873)); + break; + case 3: + num = -565418874; + break; + case 5: + return true; + case 2: + return false; + } + } + } + + bool IEquatable.Equals(RepeatedJumpTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206F_206C_202B_206C_200C_202A_200E_200D_202B_206C_202A_202C_200F_206E_202C_206D_206A_200F_206C_206D_200E_206C_200D_206B_200D_206E_202C_200D_206E_202B_206C_202C_202E_202E_200D_206B_206C_206B_206E_206B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static string _202A_206C_206D_200C_200D_206B_202A_202E_206E_200E_202B_206F_200B_202C_202E_202B_206F_206F_206E_206D_202E_206D_206A_200B_206C_202B_206F_206D_202B_206F_206F_202A_200E_202E_206D_202D_200F_202D_206B_200E_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _202B_200C_200F_202B_206D_202B_200E_206F_202A_206E_200E_202E_200F_202B_200F_200B_200D_200B_202E_200F_206C_200F_200E_202D_200B_202D_206E_200D_206E_206A_206E_200F_206D_200E_202C_206E_200D_206A_202D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200B_206A_200E_206C_200C_202D_206A_206F_202B_202A_202B_202C_200B_200C_206B_202E_206D_202D_206C_200F_206F_206F_200D_200B_206B_206D_206B_206A_200F_206D_202A_202A_206E_200D_200B_200C_200D_202D_200D_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_206C_202A_202B_200F_200D_206C_202D_200F_206B_206C_202B_202C_200E_206F_202B_202D_200E_202A_200D_200C_200B_206D_206F_206F_206B_206B_206E_202C_206F_202B_206D_206A_202B_200F_202C_200F_206A_206E_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206B_206B_206F_202A_202C_206E_206A_206F_206E_200E_206A_206C_206B_202C_206C_206B_200E_202A_206A_206F_200C_206B_206B_202D_206E_202B_206A_202C_206D_202E_200E_206F_200B_200B_206C_200D_202B_200F_206E_202B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -116,7 +429,7 @@ internal static class Jump { private readonly IObjectTable _objectTable; - private DateTime _continueAt; + private long _continueAt; private int _attempts; @@ -125,43 +438,123 @@ 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 = _206A_202B_206B_202B_202C_200B_202B_202D_206F_200D_202D_200F_206F_206F_200F_202E_200D_200F_200B_202A_200B_200E_206D_206B_202A_206F_206A_206F_206C_206E_200D_206E_200B_202D_202A_206A_206C_200F_206A_206C_202E() + (long)(2000f * (_202E_200B_206E_200B_206D_202B_202C_206C_200E_206C_202E_206E_202D_200E_200F_206D_202C_206F_206A_202D_206E_200D_202D_202C_202B_200F_200C_202D_200B_206A_206A_202B_206C_206A_202C_202C_202B_206A_202A_202E(base.Task.JumpDestination) ?? 0.5f)); return base.Start(); } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe override ETaskResult Update() { - if (DateTime.Now < _continueAt || _003Ccondition_003EP[ConditionFlag.Jumping]) + int num = ((_206A_202B_206B_202B_202C_200B_202B_202D_206F_200D_202D_200F_206F_206F_200F_202E_200D_200F_200B_202A_200B_200E_206D_206B_202A_206F_206A_206F_206C_206E_200D_206E_200B_202D_202A_206A_206C_200F_206A_206C_202E() < _continueAt) ? 1172986635 : 1172986637); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = 1172986631; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((_attempts < 50) ? 1172986624 : 1172986639); + break; + case 10: + num = ((!_206D_206B_206A_206D_202A_202D_206D_206A_200E_202A_202E_202E_206E_200C_206B_202D_206F_200E_200D_200C_206F_206E_202B_202D_200F_200B_206C_200C_202E_200F_206C_200E_202E_200C_202D_202B_206D_200E_202A_206A_202E(_003Ccondition_003EP, ConditionFlag.Jumping)) ? 1172986626 : 1172986635); + break; + case 2: + _200F_206F_200B_200C_202D_206C_202A_202A_202D_206D_200E_200B_202D_202B_206A_202A_206D_206F_200F_202E_200D_202A_200B_206F_200E_200B_206A_202B_200E_206A_206A_206F_200B_202A_200D_206D_200E_206F_200E_206C_202E((ILogger)_003Clogger_003EP, global::_003CModule_003E._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(-1550993377), new object[2] + { + _202E_206C_206B_200D_200F_202D_202D_200B_206E_202A_202B_206B_200D_202E_200F_202C_202D_206D_202C_206B_206A_206E_200C_206A_202C_206E_206E_202C_200E_202D_202D_202E_206F_202E_206D_206F_202A_202C_200C_206B_202E((IGameObject)playerCharacter).Y, + _206A_200C_200D_200C_202B_202E_202A_206F_202E_206B_200D_200E_202E_202A_200F_206B_206B_206D_202B_200B_200D_202D_202D_200B_206C_206D_206C_202B_206C_202E_206F_200C_200C_200B_200E_200C_200B_200F_206F_206C_202E(base.Task.JumpDestination).Y - 0.5f + }); + num = ((!ActionManager.Instance()->UseAction(ActionType.GeneralAction, 2u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) ? 1172986627 : 1172986630); + break; + case 3: + num = 1172986637; + break; + case 7: + _continueAt = _206A_202B_206B_202B_202C_200B_202B_202D_206F_200D_202D_200F_206F_206F_200F_202E_200D_200F_200B_202A_200B_200E_206D_206B_202A_206F_206A_206F_206C_206E_200D_206E_200B_202D_202A_206A_206C_200F_206A_206C_202E() + (long)(1000f * (_202E_200B_206E_200B_206D_202B_202C_206C_200E_206C_202E_206E_202D_200E_200F_206D_202C_206F_206A_202D_206E_200D_202D_202C_202B_200F_200C_202D_200B_206A_206A_202B_206C_206A_202C_202C_202B_206A_202A_202E(base.Task.JumpDestination) ?? 0.5f)); + return ETaskResult.StillRunning; + case 9: + num = ((!(_202E_206C_206B_200D_200F_202D_202D_200B_206E_202A_202B_206B_200D_202E_200F_202C_202D_206D_202C_206B_206A_206E_200C_206A_202C_206E_206E_202C_200E_202D_202D_202E_206F_202E_206D_206F_202A_202C_200C_206B_202E((IGameObject)playerCharacter).Y >= _206A_200C_200D_200C_202B_202E_202A_206F_202E_206B_200D_200E_202E_202A_200F_206B_206B_206D_202B_200B_200D_202D_202D_200B_206C_206D_206C_202B_206C_202E_206F_200C_200C_200B_200E_200C_200B_200F_206F_206C_202E(base.Task.JumpDestination).Y - 0.5f)) ? 1172986629 : 1172986631); + break; + case 6: + return ETaskResult.TaskComplete; + case 12: + return ETaskResult.StillRunning; + case 5: + playerCharacter = _200F_200B_206F_202B_206B_202D_206F_206C_206A_200F_206F_200F_200D_206F_206C_206E_200C_200B_206D_206C_200D_200B_202E_200D_202E_202C_206C_200F_200F_202C_200E_206F_206E_202E_206B_200F_200F_200D_200F_206F_202E(_objectTable); + num = ((playerCharacter != null) ? 1172986636 : 1172986625); + break; + case 0: + return ETaskResult.TaskComplete; + case 8: + throw new TaskException(global::_003CModule_003E._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(1093799648)); + case 11: + { + float num9 = _200D_206B_202D_200B_206C_206A_200C_200F_202B_206A_202A_202A_202C_206D_202E_200C_202A_200B_202D_200F_206C_200B_202C_202A_200F_200B_206F_200B_200F_202B_202C_200E_200E_206A_200C_200B_202D_206B_200E_202C_202E(base.Task.JumpDestination); + num = (((_202E_206C_206B_200D_200F_202D_202D_200B_206E_202A_202B_206B_200D_202E_200F_202C_202D_206D_202C_206B_206A_206E_200C_206A_202C_206E_206E_202C_200E_202D_202D_202E_206F_202E_206D_206F_202A_202C_200C_206B_202E((IGameObject)playerCharacter) - _206A_200C_200D_200C_202B_202E_202A_206F_202E_206B_200D_200E_202E_202A_200F_206B_206B_206D_202B_200B_200D_202D_202D_200B_206C_206D_206C_202B_206C_202E_206F_200C_200C_200B_200E_200C_200B_200F_206F_206C_202E(base.Task.JumpDestination)).Length() <= num9) ? 1172986631 : 1172986638); + break; + } + case 1: + { + int attempts = _attempts; + num3 = 1; + num4 = attempts; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + _attempts = num7 + (num8 + num8); + num = 1172986627; + break; + } + } } - IGameObject gameObject = _objectTable[0]; - if (gameObject == 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) - { - return ETaskResult.TaskComplete; - } - _003Clogger_003EP.LogTrace("Y-Heights for jumps: player={A}, target={B}", gameObject.Position.Y, base.Task.JumpDestination.Position.Y - 0.5f); - if (ActionManager.Instance()->UseAction(ActionType.GeneralAction, 2u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) - { - _attempts++; - } - if (_attempts >= 50) - { - 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); - return ETaskResult.StillRunning; + } + + static long _206A_202B_206B_202B_202C_200B_202B_202D_206F_200D_202D_200F_206F_206F_200F_202E_200D_200F_200B_202A_200B_200E_206D_206B_202A_206F_206A_206F_206C_206E_200D_206E_200B_202D_202A_206A_206C_200F_206A_206C_202E() + { + return Environment.TickCount64; + } + + static float? _202E_200B_206E_200B_206D_202B_202C_206C_200E_206C_202E_206E_202D_200E_200F_206D_202C_206F_206A_202D_206E_200D_202D_202C_202B_200F_200C_202D_200B_206A_206A_202B_206C_206A_202C_202C_202B_206A_202A_202E(JumpDestination P_0) + { + return P_0.DelaySeconds; + } + + static bool _206D_206B_206A_206D_202A_202D_206D_206A_200E_202A_202E_202E_206E_200C_206B_202D_206F_200E_200D_200C_206F_206E_202B_202D_200F_200B_206C_200C_202E_200F_206C_200E_202E_200C_202D_202B_206D_200E_202A_206A_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static IPlayerCharacter _200F_200B_206F_202B_206B_202D_206F_206C_206A_200F_206F_200F_200D_206F_206C_206E_200C_200B_206D_206C_200D_200B_202E_200D_202E_202C_206C_200F_200F_202C_200E_206F_206E_202E_206B_200F_200F_200D_200F_206F_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static float _200D_206B_202D_200B_206C_206A_200C_200F_202B_206A_202A_202A_202C_206D_202E_200C_202A_200B_202D_200F_206C_200B_202C_202A_200F_200B_206F_200B_200F_202B_202C_200E_200E_206A_200C_200B_202D_206B_200E_202C_202E(JumpDestination P_0) + { + return P_0.CalculateStopDistance(); + } + + static Vector3 _202E_206C_206B_200D_200F_202D_202D_200B_206E_202A_202B_206B_200D_202E_200F_202C_202D_206D_202C_206B_206A_206E_200C_206A_202C_206E_206E_202C_200E_202D_202D_202E_206F_202E_206D_206F_202A_202C_200C_206B_202E(IGameObject P_0) + { + return P_0.Position; + } + + static Vector3 _206A_200C_200D_200C_202B_202E_202A_206F_202E_206B_200D_200E_202E_202A_200F_206B_206B_206D_202B_200B_200D_202D_202D_200B_206C_206D_206C_202B_206C_202E_206F_200C_200C_200B_200E_200C_200B_200F_206F_206C_202E(JumpDestination P_0) + { + return P_0.Position; + } + + static void _200F_206F_200B_200C_202D_206C_202A_202A_202D_206D_200E_200B_202D_202B_206A_202A_206D_206F_200F_202E_200D_202A_200B_206F_200E_200B_206A_202B_200E_206A_206A_206F_200B_202A_200D_206D_200E_206F_200E_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/MeldMateria.cs b/Questionable/Questionable.Controller.Steps.Interactions/MeldMateria.cs new file mode 100644 index 00000000..7e766920 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Interactions/MeldMateria.cs @@ -0,0 +1,625 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.UI.Agent; +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 + { + [MethodImpl(MethodImplOptions.NoInlining)] + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + int num = ((_206C_206F_206E_206D_200C_200C_200B_202D_202D_206A_202D_206E_202D_206B_206D_200C_202D_200C_202B_206A_202D_200D_206A_206D_202B_202C_200E_206A_202C_206E_200D_202D_202E_200B_202C_200D_202E_202C_202C_202D_202E(step) == EInteractionType.MeldMateria) ? (-35265804) : (-35265801)); + while (true) + { + int num2 = num; + int num3 = -35265802; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 2: + _200E_202D_202A_206B_202B_200C_202B_202A_202D_202B_200B_206D_206A_200B_202C_206C_202B_206D_200D_206F_200D_206C_200C_200D_202D_206B_202A_200D_200F_200E_206B_200F_206C_202A_206C_206A_202D_206A_202D_206B_202E((object)_206D_200E_206B_202D_200E_206B_200B_206E_206A_200C_202C_200D_206F_200E_202E_202A_206B_200E_202C_202A_200E_206B_200F_206E_202B_200D_202B_206C_202B_206B_200F_206E_206E_206E_200C_202C_200D_206F_200B_206B_202E(step), global::_003CModule_003E._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(87510835)); + return new global::_003C_003Ez__ReadOnlySingleElementList(new MeldTask(_206D_200E_206B_202D_200E_206B_200B_206E_206A_200C_202C_200D_206F_200E_202E_202A_206B_200E_202C_202A_200E_206B_200F_206E_202B_200D_202B_206C_202B_206B_200F_206E_206E_206E_200C_202C_200D_206F_200B_206B_202E(step).Value, _202D_202C_200D_200E_206C_200B_202B_202A_200F_202C_206C_202D_206B_206C_206E_200E_202D_202D_200B_202C_206F_202C_206A_202B_206E_200C_202A_200F_202E_202B_202E_202E_202A_206E_202C_206E_200F_206C_206E_200C_202E(step))); + case 1: + return Array.Empty(); + } + continue; + IL_0048: + num = -35265801; + } + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + + static EInteractionType _206C_206F_206E_206D_200C_200C_200B_202D_202D_206A_202D_206E_202D_206B_206D_200C_202D_200C_202B_206A_202D_200D_206A_206D_202B_202C_200E_206A_202C_206E_200D_202D_202E_200B_202C_200D_202E_202C_202C_202D_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static uint? _206D_200E_206B_202D_200E_206B_200B_206E_206A_200C_202C_200D_206F_200E_202E_202A_206B_200E_202C_202A_200E_206B_200F_206E_202B_200D_202B_206C_202B_206B_200F_206E_206E_206E_200C_202C_200D_206F_200B_206B_202E(QuestStep P_0) + { + return P_0.ItemId; + } + + static void _200E_202D_202A_206B_202B_200C_202B_202A_202D_202B_200B_206D_206A_200B_202C_206C_202B_206D_200D_206F_200D_206C_200C_200D_202D_206B_202A_200D_200F_200E_206B_200F_206C_202A_206C_206A_202D_206A_202D_206B_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static uint? _202D_202C_200D_200E_206C_200B_202B_202A_200F_202C_206C_202D_206B_206C_206E_200E_202D_202D_200B_202C_206F_202C_206A_202B_206E_200C_202A_200F_202E_202B_202E_202E_202A_206E_202C_206E_200F_206C_206E_200C_202E(QuestStep P_0) + { + return P_0.DataId; + } + } + + internal sealed record MeldTask(uint MateriaItemId, uint? TargetItemId) : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_206C_206F_200F_206B_206F_206E_202B_206F_206C_202A_202E_206D_200B_200E_206B_206B_206F_202C_202C_200D_200E_200E_200C_200B_202D_202C_202C_202D_206B_202B_206E_202A_202D_202D_206B_202A_202B_206C_202E(typeof(MeldTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(13, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1811893686)); + defaultInterpolatedStringHandler.AppendFormatted(MateriaItemId); + string text = defaultInterpolatedStringHandler.ToStringAndClear(); + string text2; + if (!TargetItemId.HasValue) + { + text2 = global::_003CModule_003E._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(-87324410); + } + else + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(11, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1399814468)); + defaultInterpolatedStringHandler2.AppendFormatted(TargetItemId); + text2 = defaultInterpolatedStringHandler2.ToStringAndClear(); + } + return _202E_202C_202B_206C_202A_206A_206D_200F_206D_206D_202D_200B_202E_200B_202B_200D_206F_200C_202B_200D_206D_200F_200D_206D_202D_202B_202E_206B_202B_200E_202D_202D_202A_200F_202D_200C_202C_200F_206D_202B_202E(text, text2); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_206A_202E_200B_206E_206E_200E_206D_200E_206F_206D_200E_206E_202C_200E_206D_202A_206B_200F_200B_200C_206E_206B_206C_206D_202B_206B_206E_200E_200D_202C_200C_200F_200F_202E_200C_200F_206C_206D_202E_202E(); + _202B_206C_200B_206F_200E_206D_200F_200B_202E_206F_200D_200C_202D_202E_206D_202E_200F_206F_202A_200C_202E_202D_200E_206A_206B_200B_206B_206F_200B_200E_202E_202D_206D_202A_202E_206E_200B_200C_202D_200F_202E(builder, global::_003CModule_003E._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(1788087081)); + _202B_206C_200B_206F_200E_206D_200F_200B_202E_206F_200D_200C_202D_202E_206D_202E_200F_206F_202A_200C_202E_202D_200E_206A_206B_200B_206B_206F_200B_200E_202E_202D_206D_202A_202E_206E_200B_200C_202D_200F_202E(builder, MateriaItemId.ToString()); + _202B_206C_200B_206F_200E_206D_200F_200B_202E_206F_200D_200C_202D_202E_206D_202E_200F_206F_202A_200C_202E_202D_200E_206A_206B_200B_206B_206F_200B_200E_202E_202D_206D_202A_202E_206E_200B_200C_202D_200F_202E(builder, global::_003CModule_003E._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(-902104469)); + _202B_206C_200B_206F_200E_206D_200F_200B_202E_206F_200D_200C_202D_202E_206D_202E_200F_206F_202A_200C_202E_202D_200E_206A_206B_200B_206B_206F_200B_200E_202E_202D_206D_202A_202E_206E_200B_200C_202D_200F_202E(builder, TargetItemId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(MeldTask? other) + { + int num = (((object)this == other) ? (-74015245) : (-74015243)); + while (true) + { + int num2 = num; + int num3 = -74015241; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return EqualityComparer.Default.Equals(TargetItemId, other.TargetItemId); + case 1: + return false; + case 4: + return true; + case 3: + num = -74015243; + break; + case 6: + num = ((!EqualityComparer.Default.Equals(MateriaItemId, other.MateriaItemId)) ? (-74015242) : (-74015241)); + break; + case 5: + num = ((!_206F_202C_206B_202E_202E_206E_200E_206F_202E_202A_200B_206F_206C_200C_206A_200B_202E_202B_206F_200C_202C_206E_206A_202D_202B_200F_202E_202B_200D_202A_202A_206B_200C_206F_200E_200B_202D_200D_206F_202D_202E(EqualityContract, other.EqualityContract)) ? (-74015242) : (-74015247)); + break; + case 2: + num = (((object)other == null) ? (-74015242) : (-74015246)); + break; + } + } + } + + bool IEquatable.Equals(MeldTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_206C_206F_200F_206B_206F_206E_202B_206F_206C_202A_202E_206D_200B_200E_206B_206B_206F_202C_202C_200D_200E_200E_200C_200B_202D_202C_202C_202D_206B_202B_206E_202A_202D_202D_206B_202A_202B_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static string _202E_202C_202B_206C_202A_206A_206D_200F_206D_206D_202D_200B_202E_200B_202B_200D_206F_200C_202B_200D_206D_200F_200D_206D_202D_202B_202E_206B_202B_200E_202D_202D_202A_200F_202D_200C_202C_200F_206D_202B_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _200F_206A_202E_200B_206E_206E_200E_206D_200E_206F_206D_200E_206E_202C_200E_206D_202A_206B_200F_200B_200C_206E_206B_206C_206D_202B_206B_206E_200E_200D_202C_200C_200F_200F_202E_200C_200F_206C_206D_202E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202B_206C_200B_206F_200E_206D_200F_200B_202E_206F_200D_200C_202D_202E_206D_202E_200F_206F_202A_200C_202E_202D_200E_206A_206B_200B_206B_206F_200B_200E_202E_202D_206D_202A_202E_206E_200B_200C_202D_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _206F_202C_206B_202E_202E_206E_200E_206F_202E_202A_200B_206F_206C_200C_206A_200B_202E_202B_206F_200C_202C_206E_206A_202D_202B_200F_202E_202B_200D_202A_202A_206B_200C_206F_200E_200B_202D_200D_206F_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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 _206E_200F_202E_202E_200F_202B_200C_200E_206E_202C_202B_202A_200E_200D_206E_200C_200C_206F_202A_200E_206A_200D_200B_202C_202C_206E_202A_202C_206A_206F_200B_206F_202B_202B_200C_206C_200D_202D_200D_200C_202E() - _stateChangedAt > (long)(timeoutSeconds * 1000f); + } + + private void SetState(EMeldState state) + { + _state = state; + _stateChangedAt = _206E_200F_202E_202E_200F_202B_200C_200E_206E_202C_202B_202A_200E_200D_206E_200C_200C_206F_202A_200E_206A_200D_200B_202C_202C_206E_202A_202C_206A_206F_200B_206F_202B_202B_200C_206C_200D_202D_200D_200C_202E(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + _materiaStartCount = _202D_200B_206A_206C_200F_206D_200E_202B_202A_202B_200F_200D_206A_206E_202B_200F_206E_206B_202C_200E_202A_202D_206C_202B_202D_202A_200F_202C_200D_202D_200E_202C_206E_206B_202B_200D_206A_206A_200D_200D_202E(base.Task.MateriaItemId); + int num = ((_materiaStartCount != 0) ? (-739386602) : (-739386601)); + while (true) + { + int num2 = num; + int num3 = -739386603; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + throw new TaskException(global::_003CModule_003E._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(545128444)); + case 4: + SetState(EMeldState.OpeningAgent); + return true; + case 2: + _200D_202C_206C_200B_206C_202C_202C_200D_202A_200F_202C_202E_200C_206A_206E_202A_206D_206C_202D_206C_206D_202E_200E_206C_206A_206B_200E_200F_206E_206B_206B_200B_200E_200B_202C_200B_202E_202E_202E_200E_202E((ILogger)logger, global::_003CModule_003E._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(1528987763), new object[1] { base.Task.MateriaItemId }); + return false; + case 0: + num = -739386601; + break; + case 3: + num = (FindTargetItem() ? (-739386607) : (-739386604)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe override ETaskResult Update() + { + int num = (_throttle.TryReset(0.5) ? 2029212334 : 2029212339); + int? num9 = default(int?); + int? num8 = default(int?); + int num7 = default(int); + while (true) + { + int num2 = num; + int num3 = 2029212349; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 11: + num = ((!_202E_206C_202B_202B_206D_202B_206F_206E_200C_206D_206D_206E_206B_200E_206A_200F_206B_200E_206F_202D_206E_206A_206C_200F_200D_200C_200D_202A_200E_200B_200E_206E_202D_200C_206B_202E_206A_200D_202D_206E_202E()) ? 2029212348 : 2029212335); + break; + case 22: + SetState(EMeldState.WaitingAfterCategory); + num = 2029212348; + break; + case 24: + goto IL_00fc; + case 23: + num = ((!_206F_206B_206B_202B_206B_200E_200C_206A_206C_206A_206E_200F_200C_200B_200F_200C_200B_200F_206F_206E_202C_200E_202C_206C_200E_202E_206F_206E_200C_202E_202A_206F_206A_206B_202C_206D_202B_202E_200C_202D_202E(num9.Value)) ? 2029212348 : 2029212321); + break; + case 18: + SetState(EMeldState.SelectingCategory); + num = 2029212348; + break; + case 9: + num = 2029212348; + break; + case 3: + _200D_202C_200B_206B_202B_206E_202B_200B_202C_206D_202C_202A_200D_202B_202C_202B_206D_206E_206D_202B_206D_202A_202E_202A_200B_206B_200B_202A_202D_202B_202B_202D_202A_206C_200C_206E_206C_206B_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(-554197545), Array.Empty()); + num = 2029212348; + break; + case 12: + _200D_202C_206C_200B_206C_202C_202C_200D_202A_200F_202C_202E_200C_206A_206E_202A_206D_206C_202D_206C_206D_202E_200E_206C_206A_206B_200E_200F_206E_206B_206B_200B_200E_200B_202C_200B_202E_202E_202E_200E_202E((ILogger)logger, global::_003CModule_003E._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(-1216192232), new object[1] { num8.Value }); + SetState(EMeldState.WaitingAfterItem); + num = 2029212348; + break; + case 10: + _200D_202C_206C_200B_206C_202C_202C_200D_202A_200F_202C_202E_200C_206A_206E_202A_206D_206C_202D_206C_206D_202E_200E_206C_206A_206B_200E_200F_206E_206B_206B_200B_200E_200B_202C_200B_202E_202E_202E_200E_202E((ILogger)logger, global::_003CModule_003E._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(-15165068), Array.Empty()); + SetState(EMeldState.WaitingForCompletion); + num = 2029212348; + break; + case 28: + _200D_202C_206C_200B_206C_202C_202C_200D_202A_200F_202C_202E_200C_206A_206E_202A_206D_206C_202D_206C_206D_202E_200E_206C_206A_206B_200E_200F_206E_206B_206B_200B_200E_200B_202C_200B_202E_202E_202E_200E_202E((ILogger)logger, global::_003CModule_003E._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(-775372938), new object[1] { num9.Value }); + SetState(EMeldState.WaitingForDialog); + num = 2029212348; + break; + case 7: + num = ((!_206B_202C_206F_206E_200E_206C_200F_200F_206A_206D_206D_206E_206A_202C_206B_206E_206C_202C_206E_200E_202C_202D_202E_206E_206B_200D_206E_206E_206F_200D_200B_200F_200B_202B_200D_206D_206B_200D_202E_202C_202E(num8.Value)) ? 2029212348 : 2029212337); + break; + case 5: + goto IL_025d; + case 20: + SetState(EMeldState.WaitingForAgent); + num = 2029212348; + break; + case 4: + SetState(EMeldState.SelectingItem); + num = 2029212348; + break; + case 26: + goto IL_02ab; + case 14: + return ETaskResult.StillRunning; + case 27: + SetState(EMeldState.Confirming); + num = 2029212348; + break; + case 15: + goto IL_02f5; + case 0: + goto IL_0317; + case 1: + goto IL_0344; + case 21: + goto IL_0346; + case 17: + goto IL_0368; + case 16: + num = 2029212339; + break; + case 13: + goto IL_039c; + case 25: + _200D_202C_200B_206B_202B_206E_202B_200B_202C_206D_202C_202A_200D_202B_202C_202B_206D_206E_206D_202B_206D_202A_202E_202A_200B_206B_200B_202A_202D_202B_202B_202D_202A_206C_200C_206E_206C_206B_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(1073359256), new object[1] { base.Task.MateriaItemId }); + num = 2029212348; + break; + case 2: + _200D_202C_206C_200B_206C_202C_202C_200D_202A_200F_202C_202E_200C_206A_206E_202A_206D_206C_202D_206C_206D_202E_200E_206C_206A_206B_200E_200F_206E_206B_206B_200B_200E_200B_202C_200B_202E_202E_202E_200E_202E((ILogger)logger, global::_003CModule_003E._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(-1739389446), new object[3] + { + base.Task.MateriaItemId, + _materiaStartCount, + num7 + }); + _202C_202E_206F_206C_206C_202E_202D_202B_202E_200F_202E_202C_200D_200F_202B_200C_202C_200D_206E_200C_200E_206C_206E_202A_206D_206C_206B_200F_200C_206B_200F_206E_202E_206A_206E_202E_200B_200E_206F_202C_202E(); + return ETaskResult.TaskComplete; + case 6: + SetState(EMeldState.SelectingMateria); + num = 2029212348; + break; + case 19: + num7 = _202D_200B_206A_206C_200F_206D_200E_202B_202A_202B_200F_200D_206A_206E_202B_200F_206E_206B_202C_200E_202A_202D_206C_202B_202D_202A_200F_202C_200D_202D_200E_202C_206E_206B_202B_200D_206A_206A_200D_200D_202E(base.Task.MateriaItemId); + num = ((num7 >= _materiaStartCount) ? 2029212341 : 2029212351); + break; + case 8: + { + switch (_state) + { + case EMeldState.WaitingForAgent: + break; + case EMeldState.WaitingAfterItem: + goto IL_00fc; + case EMeldState.WaitingForDialog: + goto IL_025d; + case EMeldState.SelectingMateria: + goto IL_02ab; + case EMeldState.OpeningAgent: + goto IL_02f5; + case EMeldState.SelectingCategory: + goto IL_0317; + case EMeldState.WaitingForCompletion: + goto IL_0344; + case EMeldState.WaitingAfterCategory: + goto IL_0346; + case EMeldState.Confirming: + goto IL_0368; + case EMeldState.SelectingItem: + goto IL_039c; + default: + goto IL_04cf; + } + goto case 11; + } + IL_04cf: + num = 2029212340; + break; + IL_039c: + num8 = _202A_202D_202A_206C_200D_202C_206F_200D_200B_200F_202C_206D_206C_202C_200E_202E_202B_200F_206B_200F_202D_206B_200F_200C_206B_206B_202A_206F_202B_200D_206B_206C_202B_202C_202A_200F_206C_202E_206B_200F_202E(_targetItem); + num = (num8.HasValue ? 2029212346 : 2029212350); + break; + IL_025d: + num = ((!_206B_206D_206F_200C_206D_202A_206E_206A_200F_202A_206F_206B_202A_202E_200C_200D_202B_206C_202B_200B_206B_202C_206C_206B_206A_206D_202A_202B_200B_206F_202A_206C_202A_206C_202E_202E_202B_202C_200E_202B_202E(gameGui)) ? 2029212348 : 2029212326); + break; + IL_0368: + num = ((!_206F_202B_206B_206C_200D_206F_206E_206E_202A_200B_200C_200D_202C_202A_200D_202D_202E_206A_200C_200D_200D_206A_206C_200C_202A_206A_200E_202E_202C_200F_206F_200B_206B_206F_200F_200E_200C_206C_200B_202C_202E(gameGui)) ? 2029212348 : 2029212343); + break; + IL_0346: + num = (_200C_202D_206C_202C_202A_200F_202E_206B_200F_200E_200D_206A_206F_200F_200D_206D_200F_206D_206A_202D_202A_200C_200D_206B_206D_200B_200E_206E_206D_206B_202C_206C_200D_206D_200D_206A_200E_202A_206B_202C_202E() ? 2029212348 : 2029212345); + break; + IL_00fc: + num = (_200C_202D_206C_202C_202A_200F_202E_206B_200F_200E_200D_206A_206F_200F_200D_206D_200F_206D_206A_202D_202A_200C_200D_206B_206D_200B_200E_206E_206D_206B_202C_206C_200D_206D_200D_206A_200E_202A_206B_202C_202E() ? 2029212348 : 2029212347); + break; + IL_0344: + return ETaskResult.StillRunning; + IL_0317: + num = ((!_202B_202B_206D_206B_200F_200C_206D_200C_206A_200C_200F_206A_202E_200B_202E_206A_200D_206F_206F_206B_202D_200E_200E_206B_206A_200B_202B_202E_202E_202C_200D_206C_206E_202C_202D_202E_206B_202D_202B_202E((int)_206B_202A_206F_206A_202D_206D_200D_202C_202E_202D_206E_202C_202C_206D_202C_206F_206A_202B_206F_200B_202D_202E_200C_200D_200E_206D_200F_202A_202E_202E_200C_202E_202B_202B_202A_200C_202C_200D_200C_206D_202E(_targetInventoryType))) ? 2029212348 : 2029212331); + break; + IL_02f5: + num = ((!_206B_206B_200C_206F_200F_206C_206D_206B_200F_200D_200D_200F_202C_202D_200E_202B_200B_202E_206E_202D_202A_200D_200D_206A_200C_202E_200E_202C_202B_200F_206E_202C_202E_206D_206E_200F_202C_206A_202C_202E()) ? 2029212348 : 2029212329); + break; + IL_02ab: + num9 = _202A_206E_200B_202E_200D_206C_202B_202E_202C_202B_206A_206B_206A_200E_200D_200E_206C_202D_200C_202D_202B_200F_202E_200B_200B_206F_200E_206D_206F_200B_206E_206F_202C_200F_200F_202D_206B_206E_206A_206F_202E(base.Task.MateriaItemId); + num = (num9.HasValue ? 2029212330 : 2029212324); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe bool FindTargetItem() + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? (-1479293445) : (-1479293444)); + int num5 = default(int); + ReadOnlySpan readOnlySpan = default(ReadOnlySpan); + InventoryType inventoryType = default(InventoryType); + InventoryContainer* inventoryContainer = default(InventoryContainer*); + int num6 = default(int); + InventoryItem* inventorySlot = default(InventoryItem*); + while (true) + { + int num2 = num; + int num3 = -1479293451; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + { + int num10 = num5; + num3 = 1; + num4 = num10; + int num11 = num4 ^ num3; + int num12 = num4 & num3; + num5 = num11 + (num12 + num12); + num = -1479293456; + break; + } + case 5: + num = ((num5 < readOnlySpan.Length) ? (-1479293442) : (-1479293455)); + break; + case 11: + inventoryType = readOnlySpan[num5]; + inventoryContainer = ptr->GetInventoryContainer(inventoryType); + num = ((inventoryContainer == null) ? (-1479293454) : (-1479293452)); + break; + case 1: + num6 = 0; + num = -1479293441; + break; + case 13: + _targetItem = inventorySlot; + _targetInventoryType = inventoryType; + _200D_202C_206C_200B_206C_202C_202C_200D_202A_200F_202C_202E_200C_206A_206E_202A_206D_206C_202D_206C_206D_202E_200E_206C_206A_206B_200E_200F_206E_206B_206B_200B_200E_200B_202C_200B_202E_202E_202E_200E_202E((ILogger)logger, global::_003CModule_003E._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(-1804696669), new object[3] + { + inventorySlot->ItemId, + inventoryType, + num6 + }); + return true; + case 12: + num = -1479293444; + break; + case 2: + inventorySlot = inventoryContainer->GetInventorySlot(num6); + num = ((inventorySlot == null) ? (-1479293450) : (-1479293443)); + break; + case 14: + 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 + }; + num5 = 0; + num = -1479293456; + break; + case 0: + num = ((inventorySlot->ItemId != base.Task.TargetItemId.Value) ? (-1479293450) : (-1479293448)); + break; + case 4: + return false; + case 9: + return false; + case 6: + num = ((!base.Task.TargetItemId.HasValue) ? (-1479293448) : (-1479293451)); + break; + case 10: + num = ((num6 < inventoryContainer->Size) ? (-1479293449) : (-1479293454)); + break; + case 3: + { + int num7 = num6; + num3 = 1; + num4 = num7; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + num6 = num8 + (num9 + num9); + num = -1479293441; + break; + } + case 8: + num = ((inventorySlot->ItemId == 0) ? (-1479293450) : (-1479293453)); + break; + } + } + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static long _206E_200F_202E_202E_200F_202B_200C_200E_206E_202C_202B_202A_200E_200D_206E_200C_200C_206F_202A_200E_206A_200D_200B_202C_202C_206E_202A_202C_206A_206F_200B_206F_202B_202B_200C_206C_200D_202D_200D_200C_202E() + { + return Environment.TickCount64; + } + + static int _202D_200B_206A_206C_200F_206D_200E_202B_202A_202B_200F_200D_206A_206E_202B_200F_206E_206B_202C_200E_202A_202D_206C_202B_202D_202A_200F_202C_200D_202D_200E_202C_206E_206B_202B_200D_206A_206A_200D_200D_202E(uint P_0) + { + return MateriaHelper.CountMateriaInInventory(P_0); + } + + static void _200D_202C_206C_200B_206C_202C_202C_200D_202A_200F_202C_202E_200C_206A_206E_202A_206D_206C_202D_206C_206D_202E_200E_206C_206A_206B_200E_200F_206E_206B_206B_200B_200E_200B_202C_200B_202E_202E_202E_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _202C_202E_206F_206C_206C_202E_202D_202B_202E_200F_202E_202C_200D_200F_202B_200C_202C_200D_206E_200C_200E_206C_206E_202A_206D_206C_206B_200F_200C_206B_200F_206E_202E_206A_206E_202E_200B_200E_206F_202C_202E() + { + MeldActions.CloseMeldAgent(); + } + + static bool _206B_206B_200C_206F_200F_206C_206D_206B_200F_200D_200D_200F_202C_202D_200E_202B_200B_202E_206E_202D_202A_200D_200D_206A_200C_202E_200E_202C_202B_200F_206E_202C_202E_206D_206E_200F_202C_206A_202C_202E() + { + return MeldActions.TryOpenMeldAgent(); + } + + static bool _202E_206C_202B_202B_206D_202B_206F_206E_200C_206D_206D_206E_206B_200E_206A_200F_206B_200E_206F_202D_206E_206A_206C_200F_200D_200C_200D_202A_200E_200B_200E_206E_202D_200C_206B_202E_206A_200D_202D_206E_202E() + { + return MeldActions.IsMeldAgentReady(); + } + + static AgentMateriaAttach.FilterCategory _206B_202A_206F_206A_202D_206D_200D_202C_202E_202D_206E_202C_202C_206D_202C_206F_206A_202B_206F_200B_202D_202E_200C_200D_200E_206D_200F_202A_202E_202E_200C_202E_202B_202B_202A_200C_202C_200D_200C_206D_202E(InventoryType P_0) + { + return MeldActions.GetFilterCategory(P_0); + } + + static bool _202B_202B_206D_206B_200F_200C_206D_200C_206A_200C_200F_206A_202E_200B_202E_206A_200D_206F_206F_206B_202D_200E_200E_206B_206A_200B_202B_202E_202E_202C_200D_206C_206E_202C_202D_202E_206B_202D_202B_202E(int P_0) + { + return MeldActions.TrySelectItemCategory(P_0); + } + + static bool _200C_202D_206C_202C_202A_200F_202E_206B_200F_200E_200D_206A_206F_200F_200D_206D_200F_206D_206A_202D_202A_200C_200D_206B_206D_200B_200E_206E_206D_206B_202C_206C_200D_206D_200D_206A_200E_202A_206B_202C_202E() + { + return MeldActions.IsAgentLoading(); + } + + unsafe static int? _202A_202D_202A_206C_200D_202C_206F_200D_200B_200F_202C_206D_206C_202C_200E_202E_202B_200F_206B_200F_202D_206B_200F_200C_206B_206B_202A_206F_202B_200D_206B_206C_202B_202C_202A_200F_206C_202E_206B_200F_202E(InventoryItem* P_0) + { + return MeldActions.FindItemIndex(P_0); + } + + static void _200D_202C_200B_206B_202B_206E_202B_200B_202C_206D_202C_202A_200D_202B_202C_202B_206D_206E_206D_202B_206D_202A_202E_202A_200B_206B_200B_202A_202D_202B_202B_202D_202A_206C_200C_206E_206C_206B_202C_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static bool _206B_202C_206F_206E_200E_206C_200F_200F_206A_206D_206D_206E_206A_202C_206B_206E_206C_202C_206E_200E_202C_202D_202E_206E_206B_200D_206E_206E_206F_200D_200B_200F_200B_202B_200D_206D_206B_200D_202E_202C_202E(int P_0) + { + return MeldActions.TrySelectItem(P_0); + } + + static int? _202A_206E_200B_202E_200D_206C_202B_202E_202C_202B_206A_206B_206A_200E_200D_200E_206C_202D_200C_202D_202B_200F_202E_200B_200B_206F_200E_206D_206F_200B_206E_206F_202C_200F_200F_202D_206B_206E_206A_206F_202E(uint P_0) + { + return MeldActions.FindMateriaIndex(P_0); + } + + static bool _206F_206B_206B_202B_206B_200E_200C_206A_206C_206A_206E_200F_200C_200B_200F_200C_200B_200F_206F_206E_202C_200E_202C_206C_200E_202E_206F_206E_200C_202E_202A_206F_206A_206B_202C_206D_202B_202E_200C_202D_202E(int P_0) + { + return MeldActions.TrySelectMateria(P_0); + } + + static bool _206B_206D_206F_200C_206D_202A_206E_206A_200F_202A_206F_206B_202A_202E_200C_200D_202B_206C_202B_200B_206B_202C_206C_206B_206A_206D_202A_202B_200B_206F_202A_206C_202A_206C_202E_202E_202B_202C_200E_202B_202E(IGameGui P_0) + { + return MeldActions.IsMeldDialogReady(P_0); + } + + static bool _206F_202B_206B_206C_200D_206F_206E_206E_202A_200B_200C_200D_202C_202A_200D_202D_202E_206A_200C_200D_200D_206A_206C_200C_202A_206A_200E_202E_202C_200F_206F_200B_206B_206F_200F_200E_200C_206C_200B_202C_202E(IGameGui P_0) + { + return MeldActions.TryConfirmMeld(P_0); + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Interactions/Say.cs b/Questionable/Questionable.Controller.Steps.Interactions/Say.cs index c1f91fd3..f64fb7f9 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/Say.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/Say.cs @@ -1,5 +1,7 @@ using System; using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; using Questionable.Controller.Steps.Common; using Questionable.Functions; using Questionable.Model; @@ -11,42 +13,189 @@ internal static class Say { internal sealed class Factory(ExcelFunctions excelFunctions) : ITaskFactory { + [MethodImpl(MethodImplOptions.NoInlining)] public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { - EInteractionType interactionType = step.InteractionType; - if ((uint)(interactionType - 28) <= 1u) + EInteractionType eInteractionType = _200F_200B_202D_200D_206C_200C_200F_200B_200D_202E_200C_202D_202C_200F_200D_202B_206A_206C_202E_200B_206A_206B_206B_206E_202D_206D_202E_206B_200F_206C_202C_200E_200E_206B_202B_200C_202A_206D_206C_206D_202E(step); + int num = (((uint)(eInteractionType - 30) > 1u) ? (-860411763) : (-860411770)); + bool flag = default(bool); + while (true) { - if (step.ChatMessage == null) + int num2 = num; + int num3 = -860411762; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 3: + flag = false; + num = -860411767; + break; + case 1: + { + _206E_200C_202C_200D_206A_206A_202C_206A_202B_202B_200D_202C_202E_202D_206D_200B_202B_206E_206E_200B_206F_202C_200B_200B_202E_200C_206F_202A_202E_206C_206A_202E_202D_200F_200F_200F_206A_200B_200F_202E((object)_206B_200D_206E_206B_202E_202C_202D_202C_202A_202E_206F_200D_206D_206A_200D_206F_206C_202E_206D_200C_206B_200C_202D_202E_202E_200F_200B_206C_206E_202E_200C_200F_206A_206D_206E_202D_202E_202C_206D_200E_202E(step), global::_003CModule_003E._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(-312135304)); + string? text = excelFunctions.GetDialogueText(quest, _206F_200C_206F_206F_206B_200F_202C_202D_206D_200C_200E_206C_206A_200C_202C_200F_206A_202C_202E_206F_206A_206A_206F_200F_202A_200F_206E_200D_206D_200F_202E_206C_200C_206C_200D_206B_206E_200C_206E_202E(_206B_200D_206E_206B_202E_202C_202D_202C_202A_202E_206F_200D_206D_206A_200D_206F_206C_202E_206D_200C_206B_200C_202D_202E_202E_200F_200B_206C_206E_202E_200C_200F_206A_206D_206E_202D_202E_202C_206D_200E_202E(step)), _206C_206B_206C_200D_200E_202C_202C_202A_202B_206A_202C_202D_206B_202C_200C_206A_202E_202E_200D_202B_202A_200B_206A_200E_200F_200E_206D_200B_206B_202B_200B_202E_206E_200C_200F_202E_202D_200F_200D_202E(_206B_200D_206E_206B_202E_202C_202D_202C_202A_202E_206F_200D_206D_206A_200D_206F_206C_202E_206D_200C_206B_200C_202D_202E_202E_200F_200B_206C_206E_202E_200C_200F_206A_206D_206E_202D_202E_202C_206D_200E_202E(step)), isRegex: false).GetString(); + _206E_200C_202C_200D_206A_206A_202C_206A_202B_202B_200D_202C_202E_202D_206D_200B_202B_206E_206E_200B_206F_202C_200B_200B_202E_200C_206F_202A_202E_206C_206A_202E_202D_200F_200F_200F_206A_200B_200F_202E((object)text, global::_003CModule_003E._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(1509183422)); + Mount.UnmountTask unmountTask = new Mount.UnmountTask(); + Task task = new Task(text); + return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { unmountTask, task }); + } + case 2: + num = -860411770; + break; + case 5: + num = ((_200F_200B_202D_200D_206C_200C_200F_200B_200D_202E_200C_202D_202C_200F_200D_202B_206A_206C_202E_200B_206A_206B_206B_206E_202D_206D_202E_206B_200F_206C_202C_200E_200E_206B_202B_200C_202A_206D_206C_206D_202E(step) == EInteractionType.Say) ? (-860411761) : (-860411768)); + break; + case 8: + flag = true; + num = -860411767; + break; + case 7: + num = ((!flag) ? (-860411765) : (-860411766)); + break; + case 0: return Array.Empty(); + case 6: + return Array.Empty(); + case 4: + num = ((_206B_200D_206E_206B_202E_202C_202D_202C_202A_202E_206F_200D_206D_206A_200D_206F_206C_202E_206D_200C_206B_200C_202D_202E_202E_200F_200B_206C_206E_202E_200C_200F_206A_206D_206E_202D_202E_202C_206D_200E_202E(step) != null) ? (-860411761) : (-860411762)); + break; } } - else if (step.InteractionType != EInteractionType.Say) - { - return Array.Empty(); - } - ArgumentNullException.ThrowIfNull(step.ChatMessage, "step.ChatMessage"); - string? text = excelFunctions.GetDialogueText(quest, step.ChatMessage.ExcelSheet, step.ChatMessage.Key, isRegex: false).GetString(); - ArgumentNullException.ThrowIfNull(text, "excelString"); - Mount.UnmountTask unmountTask = new Mount.UnmountTask(); - Task task = new Task(text); - return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { unmountTask, task }); + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + + static EInteractionType _200F_200B_202D_200D_206C_200C_200F_200B_200D_202E_200C_202D_202C_200F_200D_202B_206A_206C_202E_200B_206A_206B_206B_206E_202D_206D_202E_206B_200F_206C_202C_200E_200E_206B_202B_200C_202A_206D_206C_206D_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static ChatMessage _206B_200D_206E_206B_202E_202C_202D_202C_202A_202E_206F_200D_206D_206A_200D_206F_206C_202E_206D_200C_206B_200C_202D_202E_202E_200F_200B_206C_206E_202E_200C_200F_206A_206D_206E_202D_202E_202C_206D_200E_202E(QuestStep P_0) + { + return P_0.ChatMessage; + } + + static void _206E_200C_202C_200D_206A_206A_202C_206A_202B_202B_200D_202C_202E_202D_206D_200B_202B_206E_206E_200B_206F_202C_200B_200B_202E_200C_206F_202A_202E_206C_206A_202E_202D_200F_200F_200F_206A_200B_200F_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static string _206F_200C_206F_206F_206B_200F_202C_202D_206D_200C_200E_206C_206A_200C_202C_200F_206A_202C_202E_206F_206A_206A_206F_200F_202A_200F_206E_200D_206D_200F_202E_206C_200C_206C_200D_206B_206E_200C_206E_202E(ChatMessage P_0) + { + return P_0.ExcelSheet; + } + + static string _206C_206B_206C_200D_200E_202C_202C_202A_202B_206A_202C_202D_206B_202C_200C_206A_202E_202E_200D_202B_202A_200B_206A_200E_200F_200E_206D_200B_206B_202B_200B_202E_206E_200C_200F_202E_202D_200F_200D_202E(ChatMessage P_0) + { + return P_0.Key; } } internal sealed record Task(string ChatMessage) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_200D_200F_202A_206D_206C_202C_200F_206A_206F_206C_200E_200F_200C_202E_200D_206C_202A_206E_200B_206F_206D_202E_206E_200B_200C_206A_200D_206B_202A_202A_206F_202C_202E_202A_202D_206E_202B_202A_202E_202E(typeof(Task).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "Say(" + ChatMessage + ")"; + return _206D_200F_202C_202C_202B_202B_202C_200F_200C_202B_206B_206A_202C_206E_200D_206C_200F_206F_200C_206F_206D_200F_206B_202C_202C_206B_202D_200C_206F_200C_202C_200E_206C_202D_200C_200B_200E_206C_202D_206B_202E(global::_003CModule_003E._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(-738399246), ChatMessage, global::_003CModule_003E._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(444206578)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_202C_202A_200C_202C_206F_206B_206E_200B_200B_200F_202B_202D_202B_200C_200D_206A_200F_206A_200D_206C_206D_200D_206E_202E_206C_206F_206F_200B_202B_202B_206D_202B_200D_206F_202B_206A_202A_202C_202B_202E(); + _206E_206C_200E_206E_202B_200C_200D_200B_202C_206F_206C_202C_202C_206B_200D_200D_202A_200E_206C_206C_200E_200E_206B_206B_202A_200D_206C_206D_202A_202C_206F_200D_202D_200D_206C_206A_200E_206F_206B_200E_202E(builder, global::_003CModule_003E._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(1224470914)); + _206B_206F_200B_202D_202E_202D_206E_200F_206B_206F_200D_206F_200D_206C_202D_200F_202C_206D_202E_206A_206B_202A_202B_200C_200B_200E_200F_200D_202E_206B_206D_206D_200C_200E_200B_202D_202D_200E_202E_202B_202E(builder, (object)ChatMessage); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? (-652063251) : (-652063254)); + while (true) + { + int num2 = num; + int num3 = -652063250; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return true; + case 4: + num = (((object)other == null) ? (-652063249) : (-652063250)); + break; + case 1: + return false; + case 2: + return EqualityComparer.Default.Equals(ChatMessage, other.ChatMessage); + case 0: + num = ((!_202E_202D_202C_202D_202B_202D_202E_206E_200B_200F_200E_200E_206E_206A_202C_200F_202B_206D_200D_202A_202D_206A_206B_200D_206A_206E_200E_206F_202A_200C_202E_206D_200C_200B_202B_206B_206C_202B_200B_206F_202E(EqualityContract, other.EqualityContract)) ? (-652063249) : (-652063252)); + break; + case 5: + num = -652063254; + break; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_200D_200F_202A_206D_206C_202C_200F_206A_206F_206C_200E_200F_200C_202E_200D_206C_202A_206E_200B_206F_206D_202E_206E_200B_200C_206A_200D_206B_202A_202A_206F_202C_202E_202A_202D_206E_202B_202A_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static string _206D_200F_202C_202C_202B_202B_202C_200F_200C_202B_206B_206A_202C_206E_200D_206C_200F_206F_200C_206F_206D_200F_206B_202C_202C_206B_202D_200C_206F_200C_202C_200E_206C_202D_200C_200B_200E_206C_202D_206B_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _200B_202C_202A_200C_202C_206F_206B_206E_200B_200B_200F_202B_202D_202B_200C_200D_206A_200F_206A_200D_206C_206D_200D_206E_202E_206C_206F_206F_200B_202B_202B_206D_202B_200D_206F_202B_206A_202A_202C_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206E_206C_200E_206E_202B_200C_200D_200B_202C_206F_206C_202C_202C_206B_200D_200D_202A_200E_206C_206C_200E_200E_206B_206B_202A_200D_206C_206D_202A_202C_206F_200D_202D_200D_206C_206A_200E_206F_206B_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_206F_200B_202D_202E_202D_206E_200F_206B_206F_200D_206F_200D_206C_202D_200F_202C_206D_202E_206A_206B_202A_202B_200C_200B_200E_200F_200D_202E_206B_206D_206D_200C_200E_200B_202D_202D_200E_202E_202B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202E_202D_202C_202D_202B_202D_202E_206E_200B_200F_200E_200E_206E_206A_202C_200F_202B_206D_200D_202A_202D_206A_206B_200D_206A_206E_200E_206F_202A_200C_202E_206D_200C_200B_202B_206B_206C_202B_200B_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - internal sealed class UseChat(ChatFunctions chatFunctions) : AbstractDelayedTaskExecutor() + internal sealed class UseChat : AbstractDelayedTaskExecutor { + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool StartInternal() { - chatFunctions.ExecuteCommand("/say " + base.Task.ChatMessage); + ChatFunctions.ExecuteCommand(_206E_206D_200E_202D_200C_206C_202E_200F_206E_200B_202E_206D_202D_202D_206B_202A_202D_202B_200E_202A_200C_200B_206D_202D_200E_206E_202D_206A_200C_206D_202C_206C_202C_206E_202E_202A_200C_202E_202E_202E_202E(global::_003CModule_003E._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(-565060687), base.Task.ChatMessage)); return true; } @@ -54,5 +203,10 @@ internal static class Say { return true; } + + static string _206E_206D_200E_202D_200C_206C_202E_200F_206E_200B_202E_206D_202D_202D_206B_202A_202D_202B_200E_202A_200C_200B_206D_202D_200E_206E_202D_206A_200C_206D_202C_206C_202C_206E_202E_202A_200C_202E_202E_202E_202E(string P_0, string P_1) + { + return P_0 + P_1; + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/SinglePlayerDuty.cs b/Questionable/Questionable.Controller.Steps.Interactions/SinglePlayerDuty.cs index 5fa18204..a63f6b15 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/SinglePlayerDuty.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/SinglePlayerDuty.cs @@ -1,19 +1,28 @@ using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Objects.Types; 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,80 +37,649 @@ 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 { + [CompilerGenerated] + private sealed class _003CCreateAllTasks_003Ed__11 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private QuestStep step; + + public QuestStep _003C_003E3__step; + + public Factory _003C_003E4__this; + + private Quest quest; + + public Quest _003C_003E3__quest; + + private byte _003CseqBefore_003E5__2; + + private IReadOnlyList _003CvarsBefore_003E5__3; + + private List _003CdutyTasks_003E5__4; + + private List.Enumerator _003C_003E7__wrap4; + + ITask IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CCreateAllTasks_003Ed__11(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _206B_202C_206B_200B_200C_202B_202A_202E_206F_202C_200E_200C_206B_206D_200E_200D_200E_206E_200F_202E_206E_200E_202D_200C_202C_200B_206A_202C_206F_202C_206E_200E_206F_206E_200C_206C_206C_200B_202C_206A_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? (-1270802467) : (-1270802466)); + while (true) + { + int num3 = num2; + int num4 = -1270802465; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 0: + num2 = -1270802466; + continue; + case 1: + if (num == 2) + { + num2 = -1270802467; + continue; + } + break; + case 2: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003CvarsBefore_003E5__3 = null; + _003CdutyTasks_003E5__4 = null; + _003C_003E7__wrap4 = default(List.Enumerator); + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + Factory CS_0024_003C_003E8__locals17 = _003C_003E4__this; + switch (num) + { + case 2: + goto IL_0283; + case 1: + goto IL_03d6; + case 0: + goto IL_0449; + case 3: + goto IL_04a2; + } + int num2 = -114893671; + goto IL_0030; + IL_03d6: + _003C_003E1__state = -1; + num2 = ((!CS_0024_003C_003E8__locals17.bossModIpc.IsConfiguredToRunSoloInstance(quest.Id, _206D_202A_206D_200C_206C_202C_202A_202A_206C_202D_202B_202E_202B_200C_200F_202B_206C_202D_202A_202B_206D_206F_200D_206E_200C_206E_200E_206E_200B_206D_200E_206E_200C_202B_202B_200D_202E_202E_206A_200E_202E(step))) ? (-114893693) : (-114893690)); + goto IL_0030; + IL_0030: + TerritoryData.ContentFinderConditionData contentFinderConditionData = default(TerritoryData.ContentFinderConditionData); + while (true) + { + int num3 = num2; + int num4 = -114893684; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + _003CdutyTasks_003E5__4.Add(new Duty.EnableBossModPassiveForDutyTask()); + num2 = -114893679; + break; + case 21: + return false; + case 3: + throw new TaskException(global::_003CModule_003E._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(1303253303)); + case 10: + goto IL_0109; + case 19: + _003CdutyTasks_003E5__4.Add(new WaitCondition.Task(delegate + { + int num8 = ((Factory._206A_206B_202D_202C_206C_202C_200C_202E_202B_202E_200C_200F_202B_206C_202E_202A_200B_206E_200E_206F_202A_206A_200E_202B_200E_202D_200C_202E_202C_206C_202A_200F_202C_200D_202D_200C_206A_202A_202E_206A_202E(CS_0024_003C_003E8__locals17.clientState) == 688) ? 594200038 : 594200037); + while (true) + { + int num9 = num8; + int num10 = 594200036; + int num11 = num9; + int num12 = num11 + num10; + int num13 = num11 & num10; + switch (num12 - (num13 + num13)) + { + case 0: + goto IL_0055; + case 1: + return true; + case 2: + { + IGameObject gameObject = Factory._202E_202A_202D_202C_200C_200F_206F_206C_202D_206F_206A_206F_202C_202C_202B_202E_206C_202B_200D_206C_206D_206E_202B_200F_206B_200E_206D_202D_202D_206B_202B_200E_200E_202D_202E_206F_202B_202E_206D_202C_202E(CS_0024_003C_003E8__locals17.objectTable, 0); + Vector3 vector = ((gameObject != null) ? Factory._206D_202B_202B_206E_200E_200D_200F_200C_202E_206B_202E_206B_206E_202B_206C_206A_202A_200E_202E_200C_206D_200D_202B_202B_206E_206E_206D_206C_206D_200E_200C_206E_200C_200D_200D_200E_200E_202D_200C_200C_202E(gameObject) : default(Vector3)); + return (new Vector3(352.01f, -1.45f, 288.59f) - vector).Length() < 10f; + } + } + continue; + IL_0055: + num8 = 594200037; + } + }, global::_003CModule_003E._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(-647590790))); + _003CdutyTasks_003E5__4.Add(new Mount.UnmountTask()); + _003CdutyTasks_003E5__4.Add(new EnableAi()); + num2 = -114893668; + break; + case 2: + _003CdutyTasks_003E5__4.Add(new SetTarget(14643u)); + _003CdutyTasks_003E5__4.Add(new WaitCondition.Task(delegate + { + int num8 = (Factory._200D_206F_202B_202A_202E_206C_200B_202B_206F_202D_202C_200B_206E_200C_200C_200B_206D_202B_206C_206C_206A_200F_202C_202D_202A_200D_202B_200D_200D_206F_202E_206B_200D_206A_206A_202D_206F_202A_206E_200F_202E(CS_0024_003C_003E8__locals17.condition, ConditionFlag.Unconscious) ? (-535748773) : (-535748776)); + while (true) + { + int num9 = num8; + int num10 = -535748774; + int num11 = num9; + switch ((num11 | num10) - (num11 & num10)) + { + case 0: + goto IL_004c; + case 2: + return Factory._206A_206B_202D_202C_206C_202C_200C_202E_202B_202E_200C_200F_202B_206C_202E_202A_200B_206E_200E_206F_202A_206A_200E_202B_200E_202D_200C_202E_202C_206C_202A_200F_202C_200D_202D_200C_206A_202A_202E_206A_202E(CS_0024_003C_003E8__locals17.clientState) != 1052; + case 1: + return true; + } + continue; + IL_004c: + num8 = -535748776; + } + }, global::_003CModule_003E._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(2114872246))); + _003CdutyTasks_003E5__4.Add(new DisableAi()); + _003CdutyTasks_003E5__4.Add(new WaitCondition.Task(delegate + { + int num8 = ((!Factory._200D_206F_202B_202A_202E_206C_200B_202B_206F_202D_202C_200B_206E_200C_200C_200B_206D_202B_206C_206C_206A_200F_202C_202D_202A_200D_202B_200D_200D_206F_202E_206B_200D_206A_206A_202D_206F_202A_206E_200F_202E(CS_0024_003C_003E8__locals17.condition, ConditionFlag.Unconscious)) ? 269561027 : 269561026); + while (true) + { + int num9 = num8; + int num10 = 269561027; + int num11 = num9; + int num12 = num11 + num10; + int num13 = num11 & num10; + switch (num12 - (num13 + num13)) + { + case 0: + return true; + case 1: + return Factory._206A_206B_202D_202C_206C_202C_200C_202E_202B_202E_200C_200F_202B_206C_202E_202A_200B_206E_200E_206F_202A_206A_200E_202B_200E_202D_200C_202E_202C_206C_202A_200F_202C_200D_202D_200C_206A_202A_202E_206A_202E(CS_0024_003C_003E8__locals17.clientState) != 1052; + case 2: + goto IL_0066; + } + continue; + IL_0066: + num8 = 269561026; + } + }, global::_003CModule_003E._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(724387601))); + _003CdutyTasks_003E5__4.Add(new EnableAi()); + num2 = -114893668; + break; + case 16: + _003CdutyTasks_003E5__4.Add(new WaitSinglePlayerDuty(contentFinderConditionData.ContentFinderConditionId)); + _003CdutyTasks_003E5__4.Add(new DisableAi()); + _003CdutyTasks_003E5__4.Add(new Duty.DisableCombatPluginsForDutyTask()); + _003C_003E7__wrap4 = _003CdutyTasks_003E5__4.GetEnumerator(); + _003C_003E1__state = -3; + num2 = -114893694; + break; + case 7: + goto end_IL_0030; + case 27: + return false; + case 13: + _003CdutyTasks_003E5__4.Add(new Duty.EnableBossModForDutyTask()); + num2 = -114893679; + break; + case 4: + goto IL_02c6; + case 28: + goto IL_0355; + case 14: + goto IL_037d; + case 23: + _003C_003E2__current = new Mount.UnmountTask(); + _003C_003E1__state = 1; + return true; + case 26: + num2 = -114893671; + break; + case 8: + goto IL_03d6; + case 9: + goto IL_041b; + case 17: + goto IL_0449; + case 5: + goto IL_047a; + case 6: + goto IL_04a2; + case 11: + _003CdutyTasks_003E5__4.Add(new WaitCondition.Task(delegate + { + int num8 = (CS_0024_003C_003E8__locals17.DutyActionsAvailable() ? 1858330759 : 1858330756); + while (true) + { + int num9 = num8; + int num10 = 1858330758; + int num11 = num9; + switch ((num11 | num10) - (num11 & num10)) + { + case 0: + goto IL_0046; + case 2: + return Factory._206A_206B_202D_202C_206C_202C_200C_202E_202B_202E_200C_200F_202B_206C_202E_202A_200B_206E_200E_206F_202A_206A_200E_202B_200E_202D_200C_202E_202C_206C_202A_200F_202C_200D_202D_200C_206A_202A_202E_206A_202E(CS_0024_003C_003E8__locals17.clientState) != 665; + case 1: + return true; + } + continue; + IL_0046: + num8 = 1858330756; + } + }, global::_003CModule_003E._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(1936756952))); + _003CdutyTasks_003E5__4.Add(new EnableAi()); + num2 = -114893668; + break; + case 12: + _003CdutyTasks_003E5__4.Add(new Duty.EnableWrathForDutyTask()); + num2 = -114893691; + break; + case 25: + _003CdutyTasks_003E5__4.Add(new Duty.EnableRsrForDutyTask()); + num2 = -114893691; + break; + case 22: + goto IL_053d; + case 18: + goto IL_0565; + case 20: + _003C_003Em__Finally1(); + _003C_003E7__wrap4 = default(List.Enumerator); + _003C_003E2__current = new CheckDutyOutcome(quest.Id, _003CseqBefore_003E5__2, _003CvarsBefore_003E5__3, _202B_206A_202B_206F_200F_200B_206C_206D_206C_200C_202A_202D_206F_202E_206F_206B_206B_206C_200C_206E_200C_202D_200C_206B_202A_200E_206A_206A_200F_200D_206A_206E_202A_202A_206D_202D_200D_200E_206B_206B_202E(step), _003CdutyTasks_003E5__4); + _003C_003E1__state = 3; + return true; + case 24: + goto IL_05ec; + case 1: + { + ITask current = _003C_003E7__wrap4.Current; + _003C_003E2__current = current; + _003C_003E1__state = 2; + return true; + } + case 29: + goto IL_0643; + case 15: + return false; + } + continue; + IL_0643: + _003CdutyTasks_003E5__4.Add(new StartSinglePlayerDuty(contentFinderConditionData.ContentFinderConditionId)); + _003CdutyTasks_003E5__4.Add(new WaitAtStart.WaitDelay(TimeSpan.FromSeconds(2L))); + _003CdutyTasks_003E5__4.Add(new EnableAi()); + num2 = ((contentFinderConditionData.TerritoryId != 1052) ? (-114893670) : (-114893682)); + continue; + IL_0109: + num2 = (CS_0024_003C_003E8__locals17.territoryData.TryGetContentFinderConditionForSoloInstance(quest.Id, _200F_206A_206D_206F_206B_202D_202B_206F_200B_200F_202C_206B_206F_206A_206B_202E_206F_200C_202B_206F_202A_206E_206D_206C_202C_200C_206E_206B_200B_200B_200B_202A_200C_206B_206C_206A_202C_202D_206B_200D_202E(step), out contentFinderConditionData) ? (-114893688) : (-114893681)); + continue; + IL_0355: + num2 = ((!CS_0024_003C_003E8__locals17.rsrModule.IsAvailable()) ? (-114893691) : (-114893675)); + continue; + IL_05ec: + num2 = ((!CS_0024_003C_003E8__locals17.bossModIpc.IsSupported()) ? (-114893679) : (-114893684)); + continue; + IL_047a: + num2 = ((!CS_0024_003C_003E8__locals17.bossModIpc.IsSupported()) ? (-114893676) : (-114893695)); + continue; + IL_037d: + num2 = (_003C_003E7__wrap4.MoveNext() ? (-114893683) : (-114893672)); + continue; + IL_0565: + num2 = ((contentFinderConditionData.TerritoryId != 688) ? (-114893668) : (-114893665)); + continue; + IL_02c6: + QuestProgressInfo questProgressInfo = CS_0024_003C_003E8__locals17.questFunctions.GetQuestProgressInfo(quest.Id); + _003CseqBefore_003E5__2 = questProgressInfo?.Sequence ?? 0; + _003CvarsBefore_003E5__3 = questProgressInfo?.Variables.ToArray(); + CS_0024_003C_003E8__locals17.dutyRetryState.Reset(); + _003CdutyTasks_003E5__4 = new List(); + num2 = ((!CS_0024_003C_003E8__locals17.wrathComboModule.IsAvailable()) ? (-114893680) : (-114893696)); + continue; + IL_041b: + num2 = ((CS_0024_003C_003E8__locals17.configuration.General.CombatModule != Configuration.ECombatModule.BossMod) ? (-114893676) : (-114893687)); + continue; + IL_053d: + num2 = ((contentFinderConditionData.TerritoryId != 665) ? (-114893666) : (-114893689)); + continue; + end_IL_0030: + break; + } + goto IL_0283; + IL_04a2: + _003C_003E1__state = -1; + _003CvarsBefore_003E5__3 = null; + _003CdutyTasks_003E5__4 = null; + num2 = -114893693; + goto IL_0030; + IL_0449: + _003C_003E1__state = -1; + num2 = ((_206F_200E_206B_206F_202C_202C_200C_202C_206C_206D_200B_206C_200E_200B_202C_206A_200B_206F_202A_206C_200C_202D_202D_200D_206B_206E_200C_202A_206A_200B_200D_200C_202E_200D_202B_202E_200F_206A_206A_200F_202E(step) == EInteractionType.SinglePlayerDuty) ? (-114893669) : (-114893673)); + goto IL_0030; + IL_0283: + _003C_003E1__state = -3; + num2 = -114893694; + goto IL_0030; + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + ((IDisposable)_003C_003E7__wrap4/*cast due to .constrained prefix*/).Dispose(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _200B_200C_206A_206D_206D_200C_206B_206D_206B_206E_200B_206D_200B_200B_202A_200D_206D_202E_206F_200E_206D_200D_202B_200B_200B_200D_206B_202C_202C_202E_206B_200E_206E_206A_202B_202B_202C_202B_200D_206E_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-2042698329) : (-2042698330)); + _003CCreateAllTasks_003Ed__11 _003CCreateAllTasks_003Ed__ = default(_003CCreateAllTasks_003Ed__11); + while (true) + { + int num2 = num; + int num3 = -2042698332; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = -2042698330; + break; + case 0: + _003CCreateAllTasks_003Ed__.quest = _003C_003E3__quest; + _003CCreateAllTasks_003Ed__.step = _003C_003E3__step; + return _003CCreateAllTasks_003Ed__; + case 3: + _003CCreateAllTasks_003Ed__ = new _003CCreateAllTasks_003Ed__11(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = -2042698332; + break; + case 1: + _003C_003E1__state = 0; + _003CCreateAllTasks_003Ed__ = this; + num = -2042698332; + break; + case 2: + num = ((_003C_003El__initialThreadId != _206B_202C_206B_200B_200C_202B_202A_202E_206F_202C_200E_200C_206B_206D_200E_200D_200E_206E_200F_202E_206E_200E_202D_200C_202C_200B_206A_202C_206F_202C_206E_200E_206F_206E_200C_206C_206C_200B_202C_206A_202E()) ? (-2042698329) : (-2042698331)); + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _206B_202C_206B_200B_200C_202B_202A_202E_206F_202C_200E_200C_206B_206D_200E_200D_200E_206E_200F_202E_206E_200E_202D_200C_202C_200B_206A_202C_206F_202C_206E_200E_206F_206E_200C_206C_206C_200B_202C_206A_202E() + { + return Environment.CurrentManagedThreadId; + } + + static EInteractionType _206F_200E_206B_206F_202C_202C_200C_202C_206C_206D_200B_206C_200E_200B_202C_206A_200B_206F_202A_206C_200C_202D_202D_200D_206B_206E_200C_202A_206A_200B_200D_200C_202E_200D_202B_202E_200F_206A_206A_200F_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static SinglePlayerDutyOptions _206D_202A_206D_200C_206C_202C_202A_202A_206C_202D_202B_202E_202B_200C_200F_202B_206C_202D_202A_202B_206D_206F_200D_206E_200C_206E_200E_206E_200B_206D_200E_206E_200C_202B_202B_200D_202E_202E_206A_200E_202E(QuestStep P_0) + { + return P_0.SinglePlayerDutyOptions; + } + + static byte _200F_206A_206D_206F_206B_202D_202B_206F_200B_200F_202C_206B_206F_206A_206B_202E_206F_200C_202B_206F_202A_206E_206D_206C_202C_200C_206E_206B_200B_200B_200B_202A_200C_206B_206C_206A_202C_202D_206B_200D_202E(QuestStep P_0) + { + return P_0.SinglePlayerDutyIndex; + } + + static List _202B_206A_202B_206F_200F_200B_206C_206D_206C_200C_202A_202D_206F_202E_206F_206B_206B_206C_200C_206E_200C_202D_200C_206B_202A_200E_206A_206A_200F_200D_206A_206E_202A_202A_206D_202D_200D_200E_206B_206B_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static NotSupportedException _200B_200C_206A_206D_206D_200C_206B_206D_206B_206E_200B_206D_200B_200B_202A_200D_206D_202E_206F_200E_206D_200D_202B_200B_200B_200D_206B_202C_202C_202E_206B_200E_206E_206A_202B_202B_202C_202B_200D_206E_202E() + { + return new NotSupportedException(); + } + } + + [IteratorStateMachine(typeof(_003CCreateAllTasks_003Ed__11))] public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.SinglePlayerDuty) + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CCreateAllTasks_003Ed__11(-2) { - yield break; - } - yield return new Mount.UnmountTask(); - if (!bossModIpc.IsConfiguredToRunSoloInstance(quest.Id, step.SinglePlayerDutyOptions)) - { - yield break; - } - if (!territoryData.TryGetContentFinderConditionForSoloInstance(quest.Id, step.SinglePlayerDutyIndex, out TerritoryData.ContentFinderConditionData cfcData)) - { - 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) - { - 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(); - } - else if (cfcData.TerritoryId == 665) - { - yield return new WaitCondition.Task(() => DutyActionsAvailable() || clientState.TerritoryType != 665, "Wait(Phase 2)"); - yield return new EnableAi(Passive: true); - } - else if (cfcData.TerritoryId == 688) - { - yield return new WaitCondition.Task(delegate - { - if (clientState.TerritoryType != 688) - { - return true; - } - 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(); - } - yield return new WaitSinglePlayerDuty(cfcData.ContentFinderConditionId); - yield return new DisableAi(); - yield return new WaitAtEnd.WaitNextStepOrSequence(); + _003C_003E4__this = this, + _003C_003E3__quest = quest, + _003C_003E3__step = step + }; + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); } private unsafe bool DutyActionsAvailable() { ContentDirector* contentDirector = EventFramework.Instance()->GetContentDirector(); - if (contentDirector != null) + int num = ((contentDirector == null) ? (-1007812082) : (-1007812083)); + while (true) { - return contentDirector->DutyActionManager.ActionsPresent; + int num2 = num; + int num3 = -1007812084; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0050; + case 1: + return contentDirector->DutyActionManager.ActionsPresent; + case 2: + return false; + } + continue; + IL_0050: + num = -1007812083; } - return false; + } + + static bool _200D_206F_202B_202A_202E_206C_200B_202B_206F_202D_202C_200B_206E_200C_200C_200B_206D_202B_206C_206C_206A_200F_202C_202D_202A_200D_202B_200D_200D_206F_202E_206B_200D_206A_206A_202D_206F_202A_206E_200F_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static uint _206A_206B_202D_202C_206C_202C_200C_202E_202B_202E_200C_200F_202B_206C_202E_202A_200B_206E_200E_206F_202A_206A_200E_202B_200E_202D_200C_202E_202C_206C_202A_200F_202C_200D_202D_200C_206A_202A_202E_206A_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static IGameObject _202E_202A_202D_202C_200C_200F_206F_206C_202D_206F_206A_206F_202C_202C_202B_202E_206C_202B_200D_206C_206D_206E_202B_200F_206B_200E_206D_202D_202D_206B_202B_200E_200E_202D_202E_206F_202B_202E_206D_202C_202E(IObjectTable P_0, int P_1) + { + return P_0[P_1]; + } + + static Vector3 _206D_202B_202B_206E_200E_200D_200F_200C_202E_206B_202E_206B_206E_202B_206C_206A_202A_200E_202E_200C_206D_200D_202B_202B_206E_206E_206D_206C_206D_200E_200C_206E_200C_200D_200D_200E_200E_202D_200C_200C_202E(IGameObject P_0) + { + return P_0.Position; } } internal sealed record StartSinglePlayerDuty(uint ContentFinderConditionId) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202A_202C_200C_206D_202C_206E_206A_200C_200D_206C_202E_206F_202A_202D_206C_206B_206C_202D_200B_200F_202D_200D_202C_202A_200C_200C_206F_200E_202C_206B_206E_202D_200F_202C_202B_200F_200C_206E_206F_206F_202E(typeof(StartSinglePlayerDuty).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Wait(BossMod, entered instance {ContentFinderConditionId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(32, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1699884371)); + defaultInterpolatedStringHandler.AppendFormatted(ContentFinderConditionId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1618480346)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202A_206B_202A_200B_206B_200D_206C_200D_200B_206A_206C_200B_200C_206F_200E_200C_206F_200D_202E_202D_200D_206E_206A_206E_202B_200C_202E_200B_202D_202D_200D_200F_200F_206A_202B_200E_202A_202A_202C_206A_202E(); + _206D_206B_206B_200C_206D_206B_200D_206E_202D_206E_200F_206E_206A_200C_200C_206F_206C_206A_202A_202D_200B_202C_206E_202D_202A_200D_206C_200F_206C_202E_200B_206B_206E_202A_206A_206F_206A_206D_202D_200E_202E(builder, global::_003CModule_003E._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(573777242)); + _206D_206B_206B_200C_206D_206B_200D_206E_202D_206E_200F_206E_206A_200C_200C_206F_206C_206A_202A_202D_200B_202C_206E_202D_202A_200D_206C_200F_206C_202E_200B_206B_206E_202A_206A_206F_206A_206D_202D_200E_202E(builder, ContentFinderConditionId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(StartSinglePlayerDuty? other) + { + int num = (((object)this == other) ? 182286437 : 182286433); + while (true) + { + int num2 = num; + int num3 = 182286432; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 182286433; + break; + case 0: + return false; + case 3: + return EqualityComparer.Default.Equals(ContentFinderConditionId, other.ContentFinderConditionId); + case 4: + num = ((!_202B_202D_206F_200E_200B_206C_206C_202C_200E_200D_206A_202C_206A_206E_200B_200C_200E_202E_206C_206A_200D_202C_206C_206A_200F_200B_202C_206D_206D_206D_206D_200F_202B_202C_202E_202D_200C_202A_200C_202D_202E(EqualityContract, other.EqualityContract)) ? 182286432 : 182286435); + break; + case 5: + return true; + case 1: + num = (((object)other == null) ? 182286432 : 182286436); + break; + } + } + } + + bool IEquatable.Equals(StartSinglePlayerDuty? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202A_202C_200C_206D_202C_206E_206A_200C_200D_206C_202E_206F_202A_202D_206C_206B_206C_202D_200B_200F_202D_200D_202C_202A_200C_200C_206F_200E_202C_206B_206E_202D_200F_202C_202B_200F_200C_206E_206F_206F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202A_206B_202A_200B_206B_200D_206C_200D_200B_206A_206C_200B_200C_206F_200E_200C_206F_200D_202E_202D_200D_206E_206A_206E_202B_200C_202E_200B_202D_202D_200D_200F_200F_206A_202B_200E_202A_202A_202C_206A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206D_206B_206B_200C_206D_206B_200D_206E_202D_206E_200F_206E_206A_200C_200C_206F_206C_206A_202A_202D_200B_202C_206E_202D_202A_200D_206C_200F_206C_202E_200B_206B_206E_202A_206A_206F_206A_206D_202D_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _202B_202D_206F_200E_200B_206C_206C_202C_200E_200D_206A_202C_206A_206E_200B_200C_200E_202E_206C_206A_200D_202C_206C_206A_200F_200B_202C_206D_206D_206D_206D_200F_202B_202C_202E_202D_200C_202A_200C_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class StartSinglePlayerDutyExecutor(ICondition condition) : TaskExecutor() { - private DateTime _enteredAt = DateTime.MinValue; + private long _enteredAtMs; protected override bool Start() { @@ -110,36 +688,119 @@ internal static class SinglePlayerDuty public unsafe override ETaskResult Update() { - if (GameMain.Instance()->CurrentContentFinderConditionId != base.Task.ContentFinderConditionId) + int num = ((GameMain.Instance()->CurrentContentFinderConditionId == base.Task.ContentFinderConditionId) ? (-1428211712) : (-1428211711)); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = -1428211710; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1428211711; + break; + case 6: + num = ((_enteredAtMs != 0L) ? (-1428211706) : (-1428211705)); + break; + case 7: + return ETaskResult.StillRunning; + case 4: + num = ((_202E_206B_206B_206D_202D_202C_206E_206A_206C_206D_206C_206F_202E_206B_202E_202D_206E_202A_202E_202E_202E_206F_202B_206A_202A_206A_202D_206A_206E_200E_206D_206E_200F_202B_206D_202C_200F_202A_206F_202A_202E() - _enteredAtMs >= 2000) ? (-1428211709) : (-1428211702)); + break; + case 8: + return ETaskResult.StillRunning; + case 2: + num = (_202C_206C_206E_202C_200D_206D_202A_200C_200B_206E_206B_206E_200C_202B_206F_200C_202E_206D_200D_206F_206E_206B_200D_202B_202A_202C_206B_206A_200D_206C_200B_206E_202B_200E_206B_200E_206D_202A_206F_202C_202E(condition, ConditionFlag.BoundByDuty) ? (-1428211708) : (-1428211707)); + break; + case 5: + _enteredAtMs = _202E_206B_206B_206D_202D_202C_206E_206A_206C_206D_206C_206F_202E_206B_202E_202D_206E_202A_202E_202E_202E_206F_202B_206A_202A_206A_202D_206A_206E_200E_206D_206E_200F_202B_206D_202C_200F_202A_206F_202A_202E(); + num = -1428211706; + break; + case 1: + return ETaskResult.TaskComplete; + case 3: + return ETaskResult.StillRunning; + } } - if (!condition[ConditionFlag.BoundByDuty]) - { - return ETaskResult.StillRunning; - } - if (_enteredAt == DateTime.MinValue) - { - _enteredAt = DateTime.Now; - } - if (!(DateTime.Now - _enteredAt >= TimeSpan.FromSeconds(2L))) - { - return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return false; } + + static bool _202C_206C_206E_202C_200D_206D_202A_200C_200B_206E_206B_206E_200C_202B_206F_200C_202E_206D_200D_206F_206E_206B_200D_202B_202A_202C_206B_206A_200D_206C_200B_206E_202B_200E_206B_200E_206D_202A_206F_202C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static long _202E_206B_206B_206D_202D_202C_206E_206A_206C_206D_206C_206F_202E_206B_202E_202D_206E_202A_202E_202E_202E_206F_202B_206A_202A_206A_202D_206A_206E_200E_206D_206E_200F_202B_206D_202C_200F_202A_206F_202A_202E() + { + return Environment.TickCount64; + } } - internal sealed record EnableAi(bool Passive = false) : ITask + internal sealed record EnableAi : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_206E_200F_206C_206D_200B_202E_200D_206C_202E_206B_200D_202B_206C_200E_206D_206B_206F_206F_202C_200B_206B_200C_202A_202D_206B_200E_200B_202E_206C_202D_206A_202E_200F_202A_202C_200E_200F_200E_206C_202E(typeof(EnableAi).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "BossMod.EnableAi(" + (Passive ? "Passive" : "AutoPull") + ")"; + return global::_003CModule_003E._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(-1155426603); + } + + [CompilerGenerated] + public bool Equals(EnableAi? other) + { + int num = (((object)this == other) ? (-348645376) : (-348645374)); + while (true) + { + int num2 = num; + int num3 = -348645373; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return false; + case 1: + num = (((object)other == null) ? (-348645369) : (-348645375)); + break; + case 0: + num = -348645374; + break; + case 3: + return true; + case 2: + return _206F_200B_202A_200E_200B_206F_202D_206B_202C_200F_206C_200B_200F_202C_200D_206B_206E_202A_202E_206B_200D_202A_206B_206B_200F_200D_202D_200E_206A_200F_202E_202A_202D_206E_200F_202B_206B_200C_202D_202E_202E(EqualityContract, other.EqualityContract); + } + } + } + + bool IEquatable.Equals(EnableAi? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206A_206E_200F_206C_206D_200B_202E_200D_206C_202E_206B_200D_202B_206C_200E_206D_206B_206F_206F_202C_200B_206B_200C_202A_202D_206B_200E_200B_202E_206C_202D_206A_202E_200F_202A_202C_200E_200F_200E_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _206F_200B_202A_200E_200B_206F_202D_206B_202C_200F_206C_200B_200F_202C_200D_206B_206E_202A_202E_206B_200D_202A_206B_206B_200F_200D_202D_200E_206A_200F_202E_202A_202D_206E_200F_202B_206B_200C_202D_202E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -147,7 +808,7 @@ internal static class SinglePlayerDuty { protected override bool Start() { - bossModIpc.EnableAi(base.Task.Passive); + bossModIpc.EnableQuestBattleAi(); return true; } @@ -164,31 +825,137 @@ internal static class SinglePlayerDuty internal sealed record WaitSinglePlayerDuty(uint ContentFinderConditionId) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_200E_206D_202B_202C_202E_206B_202E_200C_202C_206B_200D_200D_200E_206E_202A_202C_206B_200E_206D_200C_200F_202C_202B_202A_202D_202E_202E_200E_206C_202D_200F_202E_206F_200F_206E_202C_206D_202E_202C_202E(typeof(WaitSinglePlayerDuty).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Wait(BossMod, left instance {ContentFinderConditionId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(29, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(453077313)); + defaultInterpolatedStringHandler.AppendFormatted(ContentFinderConditionId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206F_200D_202E_202D_202B_206C_202E_202D_202E_206E_202B_206F_206E_200D_202B_202B_206C_206E_200F_202D_206D_206F_200E_200F_206E_200C_202A_202E_200D_202B_202A_202D_202A_202A_206D_206E_206D_202C_206F_200D_202E(); + _206E_206D_200E_200C_202C_202A_206E_202A_206D_206D_200D_200B_206A_206E_206D_202D_206D_202B_206C_200D_202E_200F_200D_202B_202C_200E_206B_200C_200B_200C_202B_206D_200D_202B_206C_206E_202C_200C_206A_202A_202E(builder, global::_003CModule_003E._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(-547124860)); + _206E_206D_200E_200C_202C_202A_206E_202A_206D_206D_200D_200B_206A_206E_206D_202D_206D_202B_206C_200D_202E_200F_200D_202B_202C_200E_206B_200C_200B_200C_202B_206D_200D_202B_206C_206E_202C_200C_206A_202A_202E(builder, ContentFinderConditionId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(WaitSinglePlayerDuty? other) + { + int num = (((object)this == other) ? 1295617410 : 1295617411); + while (true) + { + int num2 = num; + int num3 = 1295617414; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1295617411; + break; + case 3: + num = ((!_200D_202B_202A_202B_200C_200B_202D_200B_206D_206B_200C_202C_200D_206A_200E_202C_206C_200E_200D_206A_200C_200B_200B_206A_200E_200D_200C_200F_206A_200F_200E_202D_200D_202D_206A_206A_200B_202D_200E_206C_202E(EqualityContract, other.EqualityContract)) ? 1295617415 : 1295617412); + break; + case 4: + return true; + case 2: + return EqualityComparer.Default.Equals(ContentFinderConditionId, other.ContentFinderConditionId); + case 5: + num = (((object)other == null) ? 1295617415 : 1295617413); + break; + case 1: + return false; + } + } + } + + bool IEquatable.Equals(WaitSinglePlayerDuty? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_200E_206D_202B_202C_202E_206B_202E_200C_202C_206B_200D_200D_200E_206E_202A_202C_206B_200E_206D_200C_200F_202C_202B_202A_202D_202E_202E_200E_206C_202D_200F_202E_206F_200F_206E_202C_206D_202E_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206F_200D_202E_202D_202B_206C_202E_202D_202E_206E_202B_206F_206E_200D_202B_202B_206C_206E_200F_202D_206D_206F_200E_200F_206E_200C_202A_202E_200D_202B_202A_202D_202A_202A_206D_206E_206D_202C_206F_200D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206E_206D_200E_200C_202C_202A_206E_202A_206D_206D_200D_200B_206A_206E_206D_202D_206D_202B_206C_200D_202E_200F_200D_202B_202C_200E_206B_200C_200B_200C_202B_206D_200D_202B_206C_206E_202C_200C_206A_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200D_202B_202A_202B_200C_200B_202D_200B_206D_206B_200C_202C_200D_206A_200E_202C_206C_200E_200D_206A_200C_200B_200B_206A_200E_200D_200C_200F_206A_200F_200E_202D_200D_202D_206A_206A_200B_202D_200E_206C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - 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() { return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe override ETaskResult Update() { - if (GameMain.Instance()->CurrentContentFinderConditionId == base.Task.ContentFinderConditionId) + int num = ((GameMain.Instance()->CurrentContentFinderConditionId == base.Task.ContentFinderConditionId) ? (-1834918135) : (-1834918134)); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = -1834918136; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return ETaskResult.StillRunning; + case 2: + { + string text = territoryData.GetContentFinderCondition(base.Task.ContentFinderConditionId)?.Name ?? global::_003CModule_003E._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(-259383863); + notificationService.Notify(EInteractionType.SinglePlayerDuty, _202A_200B_200D_202C_202E_200B_206F_206E_206D_206C_206E_200D_200D_206A_206F_202A_206E_206C_200E_206D_202D_202B_202B_200D_200E_202E_202D_200C_200D_200F_200B_206A_202C_200F_200D_200C_202A_200F_200B_202E_202E(global::_003CModule_003E._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(735471578), text)); + return ETaskResult.TaskComplete; + } + case 0: + goto IL_00b0; + } + continue; + IL_00b0: + num = -1834918134; } - return ETaskResult.TaskComplete; } public void StopNow() { - bossModIpc.DisableAi(); + bossModIpc.DisableQuestBattleAi(); + } + + void IStoppableTaskExecutor.StopNow() + { + //ILSpy generated this explicit interface implementation from .override directive in StopNow + this.StopNow(); } public override bool ShouldInterruptOnDamage() @@ -196,21 +963,109 @@ internal static class SinglePlayerDuty return false; } + [MethodImpl(MethodImplOptions.NoInlining)] public string? GetDebugState() { - if (!movementController.IsNavmeshReady) + int num = (movementController.IsNavmeshReady ? 584129140 : 584129143); + while (true) { - return $"Navmesh: {movementController.BuiltNavmeshPercent}%"; + int num2 = num; + int num3 = 584129141; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004b; + case 1: + return null; + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(412480717)); + defaultInterpolatedStringHandler.AppendFormatted(movementController.BuiltNavmeshPercent); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1723959331)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + } + continue; + IL_004b: + num = 584129143; } - return null; + } + + string? IDebugStateProvider.GetDebugState() + { + //ILSpy generated this explicit interface implementation from .override directive in GetDebugState + return this.GetDebugState(); + } + + static string _202A_200B_200D_202C_202E_200B_206F_206E_206D_206C_206E_200D_200D_206A_206F_202A_206E_206C_200E_206D_202D_202B_202B_200D_200E_202E_202D_200C_200D_200F_200B_206A_202C_200F_200D_200C_202A_200F_200B_202E_202E(string P_0, string P_1) + { + return P_0 + P_1; } } internal sealed record DisableAi : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206C_202C_202C_200C_206B_202C_206E_200F_200F_200D_200E_206A_202C_200E_202E_200B_202B_200D_200F_200B_206C_200F_206D_200B_202E_202E_206F_206E_206E_206C_200C_200F_200B_200D_206A_200F_206B_200E_206A_202C_202E(typeof(DisableAi).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "BossMod.DisableAi"; + return global::_003CModule_003E._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(1704444161); + } + + [CompilerGenerated] + public bool Equals(DisableAi? other) + { + int num = (((object)this == other) ? 1927354889 : 1927354891); + while (true) + { + int num2 = num; + int num3 = 1927354888; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return true; + case 3: + num = (((object)other == null) ? 1927354890 : 1927354892); + break; + case 2: + return false; + case 0: + num = 1927354891; + break; + case 4: + return _202E_206F_200C_206E_202C_202B_206A_206B_206E_206F_206C_202C_202C_202D_200B_200E_206C_200E_200C_206D_206F_200C_200F_206A_200F_202D_200B_206B_202C_200C_200C_206E_206B_206F_200D_200E_200F_200D_202E_202D_202E(EqualityContract, other.EqualityContract); + } + } + } + + bool IEquatable.Equals(DisableAi? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206C_202C_202C_200C_206B_202C_206E_200F_200F_200D_200E_206A_202C_200E_202E_200B_202B_200D_200F_200B_206C_200F_206D_200B_202E_202E_206F_206E_206E_206C_200C_200F_200B_200D_206A_200F_206B_200E_206A_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _202E_206F_200C_206E_202C_202B_206A_206B_206E_206F_206C_202C_202C_202D_200B_200E_206C_200E_200C_206D_206F_200C_200F_206A_200F_202D_200B_206B_202C_200C_200C_206E_206B_206F_200D_200E_200F_200D_202E_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -218,7 +1073,7 @@ internal static class SinglePlayerDuty { protected override bool Start() { - bossModIpc.DisableAi(); + bossModIpc.DisableQuestBattleAi(); return true; } @@ -235,13 +1090,94 @@ internal static class SinglePlayerDuty internal sealed record SetTarget(uint DataId) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202D_202A_206A_202D_202C_206A_200F_206B_206F_200E_200C_206B_206B_200E_202D_200E_206F_206C_202C_200F_202B_202C_202E_202D_202C_206C_206A_206C_206A_206C_200C_200C_206C_202D_206B_200E_202D_200C_206C_206C_202E(typeof(SetTarget).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"SetTarget({DataId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(11, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(214601937)); + defaultInterpolatedStringHandler.AppendFormatted(DataId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206E_200C_206C_206E_200C_202D_200C_200B_200D_202C_200F_200C_202C_200B_200E_200D_200B_202C_206F_200D_200D_200D_206D_206E_206A_202C_206D_202B_206E_202B_202C_200B_200E_206C_206C_202B_202E_206B_206C_202E_202E(); + _200C_202E_206A_202E_202A_202C_202B_200D_200D_206C_200F_200C_206D_200E_202B_206C_206B_206E_206C_200C_206D_202C_202B_202D_202C_202C_206A_206C_200C_202C_200F_200E_200F_202E_206B_206E_202A_206A_202E_202E_202E(builder, global::_003CModule_003E._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(931106117)); + _200C_202E_206A_202E_202A_202C_202B_200D_200D_206C_200F_200C_206D_200E_202B_206C_206B_206E_206C_200C_206D_202C_202B_202D_202C_202C_206A_206C_200C_202C_200F_200E_200F_202E_206B_206E_202A_206A_202E_202E_202E(builder, DataId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(SetTarget? other) + { + int num = (((object)this == other) ? (-1091938364) : (-1091938362)); + while (true) + { + int num2 = num; + int num3 = -1091938363; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = ((!_202D_206A_202E_206B_202A_200D_206F_206C_202B_202B_202E_200F_206C_202D_206D_202A_206C_206D_206C_202A_206C_202D_200B_206B_206C_206E_202A_202C_206A_202C_206D_206E_206A_202E_206E_202E_202B_206E_206E_206F_202E(EqualityContract, other.EqualityContract)) ? (-1091938361) : (-1091938368)); + break; + case 5: + return EqualityComparer.Default.Equals(DataId, other.DataId); + case 0: + num = -1091938362; + break; + case 1: + return true; + case 2: + return false; + case 3: + num = (((object)other == null) ? (-1091938361) : (-1091938367)); + break; + } + } + } + + bool IEquatable.Equals(SetTarget? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202D_202A_206A_202D_202C_206A_200F_206B_206F_200E_200C_206B_206B_200E_202D_200E_206F_206C_202C_200F_202B_202C_202E_202D_202C_206C_206A_206C_206A_206C_200C_200C_206C_202D_206B_200E_202D_200C_206C_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206E_200C_206C_206E_200C_202D_200C_200B_200D_202C_200F_200C_202C_200B_200E_200D_200B_202C_206F_200D_200D_200D_206D_206E_206A_202C_206D_202B_206E_202B_202C_200B_200E_206C_206C_202B_202E_206B_206C_202E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200C_202E_206A_202E_202A_202C_202B_200D_200D_206C_200F_200C_206D_200E_202B_206C_206B_206E_206C_200C_206D_202C_202B_202D_202C_202C_206A_206C_200C_202C_200F_200E_200F_202E_206B_206E_202A_206A_202E_202E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _202D_206A_202E_206B_202A_200D_206F_206C_202B_202B_202E_200F_206C_202D_206D_202A_206C_206D_206C_202A_206C_202D_200B_206B_206C_206E_202A_202C_206A_202C_206D_206E_206A_202E_206E_202E_202B_206E_206E_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - internal sealed class SetTargetExecutor(ITargetManager targetManager, IObjectTable objectTable) : TaskExecutor() + internal sealed class SetTargetExecutor(ITargetManager targetManager, GameFunctions gameFunctions) : TaskExecutor() { protected override bool Start() { @@ -250,22 +1186,561 @@ internal static class SinglePlayerDuty public override ETaskResult Update() { - if (targetManager.Target?.BaseId == base.Task.DataId) + IGameObject gameObject = _206E_202A_206C_206C_202D_200C_206B_206A_200D_202D_200F_202C_206B_202E_202E_202C_206D_206F_202D_206D_200B_202B_206B_202D_206B_206A_206C_202D_202C_200E_206F_200E_200C_206D_202D_200F_206E_202A_202D_206D_202E(targetManager); + int num = ((((gameObject != null) ? new uint?(_202D_206E_206D_202E_200B_206B_200F_202C_206E_206B_206A_200E_202A_202E_202D_202E_202C_202E_202C_206B_202D_202B_206B_206D_206E_202B_200C_200B_206C_202C_200D_202A_206B_202D_202C_206D_206C_200F_202E_206F_202E(gameObject)) : ((uint?)null)) != base.Task.DataId) ? (-1585152087) : (-1585152081)); + IGameObject gameObject2 = default(IGameObject); + while (true) { - return ETaskResult.TaskComplete; + int num2 = num; + int num3 = -1585152083; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1585152081; + break; + case 4: + gameObject2 = gameFunctions.FindObjectByDataId(base.Task.DataId, null, warnIfMissing: false); + num = ((gameObject2 != null) ? (-1585152084) : (-1585152082)); + break; + case 2: + return ETaskResult.TaskComplete; + case 1: + _200C_206D_200F_202D_202C_206F_206A_206C_206A_206F_206E_206C_206C_202B_202A_200B_202A_200B_206D_206C_206E_206D_200F_202B_200C_206A_206E_202A_200B_206F_202B_202B_200E_206B_200D_206F_200B_206A_202E_202C_202E(targetManager, gameObject2); + return ETaskResult.StillRunning; + case 3: + return ETaskResult.StillRunning; + } } - IGameObject gameObject = objectTable.FirstOrDefault((IGameObject x) => x.BaseId == base.Task.DataId); - if (gameObject == null) - { - return ETaskResult.StillRunning; - } - targetManager.Target = gameObject; - return ETaskResult.StillRunning; } public override bool ShouldInterruptOnDamage() { return false; } + + static IGameObject _206E_202A_206C_206C_202D_200C_206B_206A_200D_202D_200F_202C_206B_202E_202E_202C_206D_206F_202D_206D_200B_202B_206B_202D_206B_206A_206C_202D_202C_200E_206F_200E_200C_206D_202D_200F_206E_202A_202D_206D_202E(ITargetManager P_0) + { + return P_0.Target; + } + + static uint _202D_206E_206D_202E_200B_206B_200F_202C_206E_206B_206A_200E_202A_202E_202D_202E_202C_202E_202C_206B_202D_202B_206B_206D_206E_202B_200C_200B_206C_202C_200D_202A_206B_202D_202C_206D_206C_200F_202E_206F_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static void _200C_206D_200F_202D_202C_206F_206A_206C_206A_206F_206E_206C_206C_202B_202A_200B_202A_200B_206D_206C_206E_206D_200F_202B_200C_206A_206E_202A_200B_206F_202B_202B_200E_206B_200D_206F_200B_206A_202E_202C_202E(ITargetManager P_0, IGameObject P_1) + { + P_0.Target = P_1; + } + } + + internal sealed record CheckDutyOutcome(ElementId QuestId, byte SequenceBeforeEntering, IReadOnlyList? VariablesBeforeEntering, IList CompletionQuestVariablesFlags, IReadOnlyList DutyTasks) : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202D_200F_206B_200C_202C_200D_206D_202C_206E_206F_206C_202E_202D_206F_200D_200D_200F_200C_206F_206A_200C_200E_206F_202A_200E_202E_202B_200E_200E_206C_206D_206C_200B_202C_202E_200C_200C_202A_200F_202C_202E(typeof(CheckDutyOutcome).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + return global::_003CModule_003E._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(-2119118709); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200D_202D_202E_206C_206E_200E_206A_200E_206E_206F_200D_206D_200F_202A_206C_202A_202E_206B_206C_202D_202E_200F_200D_206C_200C_200E_206E_206C_206B_200D_206E_206A_200E_200D_202D_200F_206D_200C_202D_200D_202E(); + _202E_200B_200B_202E_206D_200F_206E_202E_202E_202A_206E_202B_206F_206D_206D_206D_202B_206C_202E_200E_206C_200C_206E_206D_200B_202B_202B_200F_206B_200D_202A_200E_206B_206D_202E_206C_202B_206A_206E_202A_202E(builder, global::_003CModule_003E._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(65254652)); + _206F_202E_206D_206B_206F_200C_202B_200E_206D_206E_202E_206D_200B_200B_202D_200E_200C_206F_200C_202C_202D_200F_200B_200B_200F_202E_200F_202D_200F_200E_206E_206F_202E_200D_202C_200E_202A_200F_200E_206C_202E(builder, (object)QuestId); + _202E_200B_200B_202E_206D_200F_206E_202E_202E_202A_206E_202B_206F_206D_206D_206D_202B_206C_202E_200E_206C_200C_206E_206D_200B_202B_202B_200F_206B_200D_202A_200E_206B_206D_202E_206C_202B_206A_206E_202A_202E(builder, global::_003CModule_003E._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(1722041938)); + _202E_200B_200B_202E_206D_200F_206E_202E_202E_202A_206E_202B_206F_206D_206D_206D_202B_206C_202E_200E_206C_200C_206E_206D_200B_202B_202B_200F_206B_200D_202A_200E_206B_206D_202E_206C_202B_206A_206E_202A_202E(builder, SequenceBeforeEntering.ToString()); + _202E_200B_200B_202E_206D_200F_206E_202E_202E_202A_206E_202B_206F_206D_206D_206D_202B_206C_202E_200E_206C_200C_206E_206D_200B_202B_202B_200F_206B_200D_202A_200E_206B_206D_202E_206C_202B_206A_206E_202A_202E(builder, global::_003CModule_003E._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(295162259)); + _206F_202E_206D_206B_206F_200C_202B_200E_206D_206E_202E_206D_200B_200B_202D_200E_200C_206F_200C_202C_202D_200F_200B_200B_200F_202E_200F_202D_200F_200E_206E_206F_202E_200D_202C_200E_202A_200F_200E_206C_202E(builder, (object)VariablesBeforeEntering); + _202E_200B_200B_202E_206D_200F_206E_202E_202E_202A_206E_202B_206F_206D_206D_206D_202B_206C_202E_200E_206C_200C_206E_206D_200B_202B_202B_200F_206B_200D_202A_200E_206B_206D_202E_206C_202B_206A_206E_202A_202E(builder, global::_003CModule_003E._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(-1930370304)); + _206F_202E_206D_206B_206F_200C_202B_200E_206D_206E_202E_206D_200B_200B_202D_200E_200C_206F_200C_202C_202D_200F_200B_200B_200F_202E_200F_202D_200F_200E_206E_206F_202E_200D_202C_200E_202A_200F_200E_206C_202E(builder, (object)CompletionQuestVariablesFlags); + _202E_200B_200B_202E_206D_200F_206E_202E_202E_202A_206E_202B_206F_206D_206D_206D_202B_206C_202E_200E_206C_200C_206E_206D_200B_202B_202B_200F_206B_200D_202A_200E_206B_206D_202E_206C_202B_206A_206E_202A_202E(builder, global::_003CModule_003E._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(-369995844)); + _206F_202E_206D_206B_206F_200C_202B_200E_206D_206E_202E_206D_200B_200B_202D_200E_200C_206F_200C_202C_202D_200F_200B_200B_200F_202E_200F_202D_200F_200E_206E_206F_202E_200D_202C_200E_202A_200F_200E_206C_202E(builder, (object)DutyTasks); + return true; + } + + [CompilerGenerated] + public bool Equals(CheckDutyOutcome? other) + { + int num = (((object)this == other) ? 879204954 : 879204945); + while (true) + { + int num2 = num; + int num3 = 879204953; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 879204945; + break; + case 9: + num = ((!EqualityComparer>.Default.Equals(VariablesBeforeEntering, other.VariablesBeforeEntering)) ? 879204958 : 879204955); + break; + case 6: + num = ((!_200E_206C_202E_200E_200D_202A_206A_200D_200B_200E_202B_200F_206C_202C_206F_206A_202D_206C_206D_202A_202A_202B_202C_200B_206E_200B_206D_200C_206C_206D_206B_200B_206B_200B_202C_202E_202A_206C_200C_200E_202E(EqualityContract, other.EqualityContract)) ? 879204958 : 879204952); + break; + case 2: + num = ((!EqualityComparer>.Default.Equals(CompletionQuestVariablesFlags, other.CompletionQuestVariablesFlags)) ? 879204958 : 879204956); + break; + case 5: + return EqualityComparer>.Default.Equals(DutyTasks, other.DutyTasks); + case 1: + num = ((!EqualityComparer.Default.Equals(QuestId, other.QuestId)) ? 879204958 : 879204957); + break; + case 7: + return false; + case 3: + return true; + case 4: + num = ((!EqualityComparer.Default.Equals(SequenceBeforeEntering, other.SequenceBeforeEntering)) ? 879204958 : 879204944); + break; + case 8: + num = (((object)other == null) ? 879204958 : 879204959); + break; + } + } + } + + bool IEquatable.Equals(CheckDutyOutcome? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202D_200F_206B_200C_202C_200D_206D_202C_206E_206F_206C_202E_202D_206F_200D_200D_200F_200C_206F_206A_200C_200E_206F_202A_200E_202E_202B_200E_200E_206C_206D_206C_200B_202C_202E_200C_200C_202A_200F_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200D_202D_202E_206C_206E_200E_206A_200E_206E_206F_200D_206D_200F_202A_206C_202A_202E_206B_206C_202D_202E_200F_200D_206C_200C_200E_206E_206C_206B_200D_206E_206A_200E_200D_202D_200F_206D_200C_202D_200D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202E_200B_200B_202E_206D_200F_206E_202E_202E_202A_206E_202B_206F_206D_206D_206D_202B_206C_202E_200E_206C_200C_206E_206D_200B_202B_202B_200F_206B_200D_202A_200E_206B_206D_202E_206C_202B_206A_206E_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206F_202E_206D_206B_206F_200C_202B_200E_206D_206E_202E_206D_200B_200B_202D_200E_200C_206F_200C_202C_202D_200F_200B_200B_200F_202E_200F_202D_200F_200E_206E_206F_202E_200D_202C_200E_202A_200F_200E_206C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200E_206C_202E_200E_200D_202A_206A_200D_200B_200E_202B_200F_206C_202C_206F_206A_202D_206C_206D_202A_202A_202B_202C_200B_206E_200B_206D_200C_206C_206D_206B_200B_206B_200B_202C_202E_202A_206C_200C_200E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + internal sealed class CheckDutyOutcomeExecutor(QuestFunctions questFunctions, DutyRetryState retryState, Configuration configuration, ILogger logger) : TaskExecutor(), IExtraTaskCreator, ITaskExecutor + { + [CompilerGenerated] + private sealed class _003CCreateExtraTasks_003Ed__9 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public CheckDutyOutcomeExecutor _003C_003E4__this; + + private IEnumerator _003C_003E7__wrap1; + + ITask IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CCreateExtraTasks_003Ed__9(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _206E_200B_202D_200C_200C_206D_206B_206D_202B_200F_206E_200F_206A_206C_202B_206A_206C_206C_206E_200C_206A_202E_206C_206B_202E_202D_200E_206F_206E_202D_200C_202C_200D_202A_206D_200C_200B_206A_206D_206E_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? (-1813267653) : (-1813267656)); + while (true) + { + int num3 = num2; + int num4 = -1813267654; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 0: + num2 = -1813267656; + continue; + case 2: + if (num == 1) + { + num2 = -1813267653; + continue; + } + break; + case 1: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = null; + _003C_003E1__state = -2; + } + + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + CheckDutyOutcomeExecutor checkDutyOutcomeExecutor = _003C_003E4__this; + int num2; + switch (num) + { + default: + num2 = -1102833708; + goto IL_002c; + case 1: + _003C_003E1__state = -3; + num2 = -1102833709; + goto IL_002c; + case 0: + goto IL_011b; + case 2: + break; + IL_002c: + while (true) + { + int num3 = num2; + int num4 = -1102833705; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 4: + goto IL_006c; + case 5: + { + ITask current = _003C_003E7__wrap1.Current; + _003C_003E2__current = current; + _003C_003E1__state = 1; + return true; + } + case 7: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = null; + _003C_003E2__current = checkDutyOutcomeExecutor.Task; + _003C_003E1__state = 2; + return true; + case 3: + return false; + case 2: + goto end_IL_002c; + case 6: + goto IL_011b; + case 0: + num2 = -1102833708; + break; + case 1: + goto end_IL_000f; + } + continue; + IL_006c: + num2 = (_202E_202A_200D_200F_202E_202D_202A_206A_200C_202A_200E_202C_200C_202C_200B_202D_206B_202D_200D_200F_200D_200D_202B_200E_202B_200B_202D_200F_202B_202A_202C_200B_200E_202D_200D_200F_202D_200F_206A_206E_202E((IEnumerator)_003C_003E7__wrap1) ? (-1102833710) : (-1102833712)); + continue; + end_IL_002c: + break; + } + goto case 1; + IL_011b: + _003C_003E1__state = -1; + _003C_003E7__wrap1 = checkDutyOutcomeExecutor.Task.DutyTasks.GetEnumerator(); + _003C_003E1__state = -3; + num2 = -1102833709; + goto IL_002c; + end_IL_000f: + break; + } + _003C_003E1__state = -1; + return false; + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap1 == null) ? (-1381992250) : (-1381992251)); + while (true) + { + int num2 = num; + int num3 = -1381992249; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return; + case 2: + _200F_206B_206B_202D_202B_202A_206F_200D_206C_202C_202D_202D_202D_206F_206F_200C_200F_206C_200C_202D_206E_200F_206E_200D_202B_206D_202D_206A_202C_206F_202D_206E_206F_206A_202C_206C_206A_206E_202D_202C_202E((IDisposable)_003C_003E7__wrap1); + num = -1381992250; + break; + case 0: + num = -1381992251; + break; + } + } + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206F_200D_200B_200C_200F_202C_200E_200C_200E_200B_202A_200C_206F_202B_200B_200B_200C_202B_200B_202B_200E_200F_206C_202A_206C_202D_206D_206C_202A_200F_202B_206D_206F_206C_206D_202C_200C_202E_206E_206E_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 139527152 : 139527153); + _003CCreateExtraTasks_003Ed__9 result = default(_003CCreateExtraTasks_003Ed__9); + while (true) + { + int num2 = num; + int num3 = 139527155; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _003C_003E1__state = 0; + result = this; + num = 139527155; + break; + case 2: + num = ((_003C_003El__initialThreadId != _206E_200B_202D_200C_200C_206D_206B_206D_202B_200F_206E_200F_206A_206C_202B_206A_206C_206C_206E_200C_206A_202E_206C_206B_202E_202D_200E_206F_206E_202D_200C_202C_200D_202A_206D_200C_200B_206A_206D_206E_202E()) ? 139527152 : 139527154); + break; + case 4: + num = 139527153; + break; + case 0: + return result; + case 3: + result = new _003CCreateExtraTasks_003Ed__9(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = 139527155; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _206E_200B_202D_200C_200C_206D_206B_206D_202B_200F_206E_200F_206A_206C_202B_206A_206C_206C_206E_200C_206A_202E_206C_206B_202E_202D_200E_206F_206E_202D_200C_202C_200D_202A_206D_200C_200B_206A_206D_206E_202E() + { + return Environment.CurrentManagedThreadId; + } + + static bool _202E_202A_200D_200F_202E_202D_202A_206A_200C_202A_200E_202C_200C_202C_200B_202D_206B_202D_200D_200F_200D_200D_202B_200E_202B_200B_202D_200F_202B_202A_202C_200B_200E_202D_200D_200F_202D_200F_206A_206E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200F_206B_206B_202D_202B_202A_206F_200D_206C_202C_202D_202D_202D_206F_206F_200C_200F_206C_200C_202D_206E_200F_206E_200D_202B_206D_202D_206A_202C_206F_202D_206E_206F_206A_202C_206C_206A_206E_202D_202C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _206F_200D_200B_200C_200F_202C_200E_200C_200E_200B_202A_200C_206F_202B_200B_200B_200C_202B_200B_202B_200E_200F_206C_202A_206C_202D_206D_206C_202A_200F_202B_206D_206F_206C_206D_202C_200C_202E_206E_206E_202E() + { + return new NotSupportedException(); + } + } + + private long _checkAtMs; + + protected override bool Start() + { + _checkAtMs = _206C_206E_200E_206D_206E_202A_202E_206D_200E_202D_200B_206B_206D_206C_206C_200F_206A_202A_202C_202B_202C_202B_202A_206C_206D_202E_206A_206B_200D_202D_202B_206C_202E_202A_200F_200F_206A_202A_200C_206A_202E() + 2000; + retryState.BeginAwaitingOutcome(); + return true; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + int num = ((_206C_206E_200E_206D_206E_202A_202E_206D_200E_202D_200B_206B_206D_206C_206C_200F_206A_202A_202C_202B_202C_202B_202A_206C_206D_202E_206A_206B_200D_202D_202B_206C_202E_202A_200F_200F_206A_202A_200C_206A_202E() >= _checkAtMs) ? 1656852810 : 1656852811); + string text = default(string); + while (true) + { + int num2 = num; + int num3 = 1656852809; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 1656852811; + break; + case 2: + return ETaskResult.StillRunning; + case 6: + _202E_206C_206A_200C_206B_202A_200C_202C_200F_200E_206F_206F_206C_200E_200D_202B_200B_200D_206E_206E_202E_202A_202D_202D_202D_200D_206C_200F_202A_200C_200B_202C_206B_202D_200E_206F_202B_206A_200D_202B_202E((ILogger)logger, global::_003CModule_003E._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(237903421), Array.Empty()); + retryState.EndAwaitingOutcome(); + return ETaskResult.End; + case 3: + text = DetectSuccess(); + num = ((text == null) ? 1656852812 : 1656852808); + break; + case 1: + _202E_206C_206A_200C_206B_202A_200C_202C_200F_200E_206F_206F_206C_200E_200D_202B_200B_200D_206E_206E_202E_202A_202D_202D_202D_200D_206C_200F_202A_200C_200B_202C_206B_202D_200E_206F_202B_206A_200D_202B_202E((ILogger)logger, global::_003CModule_003E._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(1884362116), new object[1] { text }); + retryState.Reset(); + return ETaskResult.TaskComplete; + case 5: + { + int maxRetries = configuration.SinglePlayerDuties.MaxRetries; + num = (retryState.CanRetry(maxRetries) ? 1656852809 : 1656852815); + break; + } + case 0: + retryState.RecordRetry(); + _202E_206C_206A_200C_206B_202A_200C_202C_200F_200E_206F_206F_206C_200E_200D_202B_200B_200D_206E_206E_202E_202A_202D_202D_202D_200D_206C_200F_202A_200C_200B_202C_206B_202D_200E_206F_202B_206A_200D_202B_202E((ILogger)logger, global::_003CModule_003E._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(17889198), Array.Empty()); + return ETaskResult.CreateNewTasks; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private string? DetectSuccess() + { + QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(base.Task.QuestId); + int num = ((questProgressInfo != null) ? (-1549389800) : (-1549389796)); + while (true) + { + int num2 = num; + int num3 = -1549389800; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = (questProgressInfo.Variables.SequenceEqual(base.Task.VariablesBeforeEntering) ? (-1549389794) : (-1549389793)); + break; + case 1: + num = ((base.Task.VariablesBeforeEntering == null) ? (-1549389794) : (-1549389797)); + break; + case 4: + return global::_003CModule_003E._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(1354389610); + case 9: + num = ((!QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo)) ? (-1549389799) : (-1549389806)); + break; + case 8: + num = ((!QuestWorkUtils.HasCompletionFlags(base.Task.CompletionQuestVariablesFlags)) ? (-1549389799) : (-1549389807)); + break; + case 7: + return global::_003CModule_003E._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(1360167157); + case 0: + num = ((questProgressInfo.Sequence <= base.Task.SequenceBeforeEntering) ? (-1549389808) : (-1549389795)); + break; + case 5: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(13, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(534730551)); + defaultInterpolatedStringHandler.AppendFormatted(base.Task.SequenceBeforeEntering); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-116138750)); + defaultInterpolatedStringHandler.AppendFormatted(questProgressInfo.Sequence); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + case 6: + return null; + case 10: + return global::_003CModule_003E._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(-181103930); + case 2: + num = -1549389796; + break; + } + } + } + + [IteratorStateMachine(typeof(_003CCreateExtraTasks_003Ed__9))] + public IEnumerable CreateExtraTasks() + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CCreateExtraTasks_003Ed__9(-2) + { + _003C_003E4__this = this + }; + } + + IEnumerable IExtraTaskCreator.CreateExtraTasks() + { + //ILSpy generated this explicit interface implementation from .override directive in CreateExtraTasks + return this.CreateExtraTasks(); + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static long _206C_206E_200E_206D_206E_202A_202E_206D_200E_202D_200B_206B_206D_206C_206C_200F_206A_202A_202C_202B_202C_202B_202A_206C_206D_202E_206A_206B_200D_202D_202B_206C_202E_202A_200F_200F_206A_202A_200C_206A_202E() + { + return Environment.TickCount64; + } + + static void _202E_206C_206A_200C_206B_202A_200C_202C_200F_200E_206F_206F_206C_200E_200D_202B_200B_200D_206E_206E_202E_202A_202D_202D_202D_200D_206C_200F_202A_200C_200B_202C_206B_202D_200E_206F_202B_206A_200D_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Interactions/StatusOff.cs b/Questionable/Questionable.Controller.Steps.Interactions/StatusOff.cs index a3e751c3..4478a01b 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/StatusOff.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/StatusOff.cs @@ -1,5 +1,7 @@ using System; -using Questionable.Controller.Steps.Common; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; @@ -10,48 +12,199 @@ internal static class StatusOff { internal sealed class Factory : SimpleTaskFactory { + [MethodImpl(MethodImplOptions.NoInlining)] public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.StatusOff) + int num = ((_200E_200F_206A_206B_202A_202D_202D_206B_200E_200C_202E_202A_206B_202A_206E_206E_206F_202B_202B_200E_200B_202C_202D_200E_206E_200C_200B_200C_206D_206C_206D_206B_206A_200B_206D_206A_202B_200D_202C_206D_202E(step) == EInteractionType.StatusOff) ? 693666408 : 693666411); + while (true) { - return null; + int num2 = num; + int num3 = 693666410; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 1: + return null; + case 2: + _200D_200C_200F_206F_200D_200C_206D_206C_200B_206F_200D_206D_206C_202E_200C_206F_206A_202D_206E_202C_200D_202D_200F_200E_206E_200F_206E_202E_206B_206B_202B_202D_206E_206A_206D_206F_202D_206F_206C_206B_202E((object)_200F_206B_206A_200E_200C_206E_200C_202D_206C_202B_200F_200B_202D_200F_200C_206B_200C_202C_200C_200E_206B_202A_206D_200C_206D_202A_200B_202E_202E_202A_202D_200B_206A_200B_206F_202B_206A_202E_202D_200E_202E(step), global::_003CModule_003E._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(-1410720020)); + return new Task(_200F_206B_206A_200E_200C_206E_200C_202D_206C_202B_200F_200B_202D_200F_200C_206B_200C_202C_200C_200E_206B_202A_206D_200C_206D_202A_200B_202E_202E_202A_202D_200B_206A_200B_206F_202B_206A_202E_202D_200E_202E(step).Value); + } + continue; + IL_0048: + num = 693666411; } - ArgumentNullException.ThrowIfNull(step.Status, "step.Status"); - return new Task(step.Status.Value); + } + + static EInteractionType _200E_200F_206A_206B_202A_202D_202D_206B_200E_200C_202E_202A_206B_202A_206E_206E_206F_202B_202B_200E_200B_202C_202D_200E_206E_200C_200B_200C_206D_206C_206D_206B_206A_200B_206D_206A_202B_200D_202C_206D_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static EStatus? _200F_206B_206A_200E_200C_206E_200C_202D_206C_202B_200F_200B_202D_200F_200C_206B_200C_202C_200C_200E_206B_202A_206D_200C_206D_202A_200B_202E_202E_202A_202D_200B_206A_200B_206F_202B_206A_202E_202D_200E_202E(QuestStep P_0) + { + return P_0.Status; + } + + static void _200D_200C_200F_206F_200D_200C_206D_206C_200B_206F_200D_206D_206C_202E_200C_206F_206A_202D_206E_202C_200D_202D_200F_200E_206E_200F_206E_202E_206B_206B_202B_202D_206E_206A_206D_206F_202D_206F_206C_206B_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); } } internal sealed record Task(EStatus Status) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_206C_206E_202B_200D_206F_202A_206C_200C_200F_206C_202C_200D_202E_202D_206C_206F_202A_200F_200F_202E_200C_206F_206D_202E_202E_202E_202E_200D_202D_200F_202A_206C_202E_206A_202D_206F_200B_206A_200E_202E(typeof(Task).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"StatusOff({Status})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(11, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1347082361)); + defaultInterpolatedStringHandler.AppendFormatted(Status); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_206B_200D_206E_202D_200B_206F_200C_202B_200B_206A_206C_206E_202A_206C_200B_200F_200C_206B_202D_206F_202D_202E_206D_206C_206D_206D_206D_206D_206E_200B_200B_206B_206A_206E_200D_202A_206A_200C_200C_202E(); + _202A_206D_202B_202E_202C_206D_200E_206A_200C_200C_200E_202C_202E_206C_202C_200E_206F_206B_202C_202C_206F_200C_202E_206E_202A_206C_206D_200E_202B_202B_200C_200F_206D_206F_206D_206E_202D_200E_206C_202E(builder, global::_003CModule_003E._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(-1195039164)); + _202A_206D_202B_202E_202C_206D_200E_206A_200C_200C_200E_202C_202E_206C_202C_200E_206F_206B_202C_202C_206F_200C_202E_206E_202A_206C_206D_200E_202B_202B_200C_200F_206D_206F_206D_206E_202D_200E_206C_202E(builder, Status.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? 1615016880 : 1615016884); + while (true) + { + int num2 = num; + int num3 = 1615016885; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + return true; + case 1: + num = (((object)other == null) ? 1615016885 : 1615016886); + break; + case 4: + num = 1615016884; + break; + case 0: + return false; + case 3: + num = ((!_206A_206F_202E_202E_200F_202A_200B_200F_202D_206D_206B_206C_206E_206D_200D_202C_200D_206C_206C_200D_200C_202B_206D_200C_206D_202D_206E_202A_206C_200F_202D_200D_206C_200D_202B_202E_202A_206B_200F_206D_202E(EqualityContract, other.EqualityContract)) ? 1615016885 : 1615016887); + break; + case 2: + return EqualityComparer.Default.Equals(Status, other.Status); + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_206C_206E_202B_200D_206F_202A_206C_200C_200F_206C_202C_200D_202E_202D_206C_206F_202A_200F_200F_202E_200C_206F_206D_202E_202E_202E_202E_200D_202D_200F_202A_206C_202E_206A_202D_206F_200B_206A_200E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200B_206B_200D_206E_202D_200B_206F_200C_202B_200B_206A_206C_206E_202A_206C_200B_200F_200C_206B_202D_206F_202D_202E_206D_206C_206D_206D_206D_206D_206E_200B_200B_206B_206A_206E_200D_202A_206A_200C_200C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202A_206D_202B_202E_202C_206D_200E_206A_200C_200C_200E_202C_202E_206C_202C_200E_206F_206B_202C_202C_206F_200C_202E_206E_202A_206C_206D_200E_202B_202B_200C_200F_206D_206F_206D_206E_202D_200E_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _206A_206F_202E_202E_200F_202A_200B_200F_202D_206D_206B_206C_206E_206D_200D_202C_200D_206C_206C_200D_200C_202B_206D_200C_206D_202D_206E_202A_206C_200F_202D_200D_206C_200D_202B_202E_202A_206B_200F_206D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - 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)) + int num = ((!gameFunctions.HasStatus(base.Task.Status)) ? 1955807885 : 1955807886); + while (true) { - return GameFunctions.RemoveStatus(base.Task.Status); + int num2 = num; + int num3 = 1955807884; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0058; + case 1: + return false; + case 2: + return GameFunctions.RemoveStatus(base.Task.Status); + } + continue; + IL_0058: + num = 1955807886; } - return false; } public override ETaskResult Update() { - if (!gameFunctions.HasStatus(base.Task.Status)) + int num = (gameFunctions.HasStatus(base.Task.Status) ? 2085538414 : 2085538413); + while (true) { - return ETaskResult.TaskComplete; + int num2 = num; + int num3 = 2085538412; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0058; + case 1: + return ETaskResult.TaskComplete; + case 2: + return ETaskResult.StillRunning; + } + continue; + IL_0058: + num = 2085538413; } - return ETaskResult.StillRunning; } public override bool ShouldInterruptOnDamage() diff --git a/Questionable/Questionable.Controller.Steps.Interactions/UnequipItem.cs b/Questionable/Questionable.Controller.Steps.Interactions/UnequipItem.cs new file mode 100644 index 00000000..d82b077a --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Interactions/UnequipItem.cs @@ -0,0 +1,284 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +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 + { + [MethodImpl(MethodImplOptions.NoInlining)] + public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) + { + int num = ((_206A_202E_200F_200C_206A_200D_200E_200B_202B_206F_206B_206C_200C_206A_202C_206C_202D_200C_200C_202D_200C_206C_202C_200E_200C_206E_202B_206A_206C_206D_206C_200E_200D_202D_200F_206E_202E_200B_202B_206A_202E(step) == EInteractionType.UnequipItem) ? (-861222854) : (-861222855)); + while (true) + { + int num2 = num; + int num3 = -861222853; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004a; + case 1: + _202E_206D_200F_200D_206C_206A_202A_202B_202E_200E_206B_200C_202A_202B_200E_200F_200F_206C_202B_206F_202C_206F_200C_202C_206D_202B_202A_200E_202E_206A_200F_202D_202C_200B_206E_206A_202D_206E_202B_202A_202E((object)_202E_200F_206D_200C_202D_206D_200F_206C_206C_200E_200D_200B_200E_202B_200D_200F_200D_202D_206A_202B_200E_202B_206B_206B_202D_206C_206F_200D_200E_200D_200F_200D_202D_206B_206E_206C_200B_202E_206F_206E_202E(step), global::_003CModule_003E._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(-1496371967)); + return new Task(_202E_200F_206D_200C_202D_206D_200F_206C_206C_200E_200D_200B_200E_202B_200D_200F_200D_202D_206A_202B_200E_202B_206B_206B_202D_206C_206F_200D_200E_200D_200F_200D_202D_206B_206E_206C_200B_202E_206F_206E_202E(step).Value); + case 2: + return null; + } + continue; + IL_004a: + num = -861222855; + } + } + + static EInteractionType _206A_202E_200F_200C_206A_200D_200E_200B_202B_206F_206B_206C_200C_206A_202C_206C_202D_200C_200C_202D_200C_206C_202C_200E_200C_206E_202B_206A_206C_206D_206C_200E_200D_202D_200F_206E_202E_200B_202B_206A_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static uint? _202E_200F_206D_200C_202D_206D_200F_206C_206C_200E_200D_200B_200E_202B_200D_200F_200D_202D_206A_202B_200E_202B_206B_206B_202D_206C_206F_200D_200E_200D_200F_200D_202D_206B_206E_206C_200B_202E_206F_206E_202E(QuestStep P_0) + { + return P_0.ItemId; + } + + static void _202E_206D_200F_200D_206C_206A_202A_202B_202E_200E_206B_200C_202A_202B_200E_200F_200F_206C_202B_206F_202C_206F_200C_202C_206D_202B_202A_200E_202E_206A_200F_202D_202C_200B_206E_206A_202D_206E_202B_202A_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + } + + internal sealed record Task(uint ItemId) : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_200D_202C_202C_200C_206D_206D_206D_200C_206C_202A_206E_202B_200B_206C_202A_200F_202D_202D_206F_202B_206F_206E_200F_200D_200B_200F_206B_206B_202B_200C_202B_202C_206A_200C_200B_202E_206E_200E_202D_202E(typeof(Task).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-582671275)); + defaultInterpolatedStringHandler.AppendFormatted(ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_200E_200E_202C_200C_202C_200D_206E_206F_206A_200D_200B_200C_202D_202E_200E_202A_206A_200B_200F_206B_202A_206E_200E_202E_206D_202E_206F_200F_200B_200F_202D_202A_206D_200E_206C_202B_200F_206F_206E_202E(); + _200F_200B_206D_200C_202E_206B_200F_206B_200E_206E_206C_206D_206F_200B_200C_200E_206D_206B_200B_206A_200F_206E_202D_202B_206E_206C_206D_200B_200E_202D_200E_206A_206F_200D_202D_202C_206A_202A_200C_202E_202E(builder, global::_003CModule_003E._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(-1176260912)); + _200F_200B_206D_200C_202E_206B_200F_206B_200E_206E_206C_206D_206F_200B_200C_200E_206D_206B_200B_206A_200F_206E_202D_202B_206E_206C_206D_200B_200E_202D_200E_206A_206F_200D_202D_202C_206A_202A_200C_202E_202E(builder, ItemId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? 2131945258 : 2131945256); + while (true) + { + int num2 = num; + int num3 = 2131945259; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + return EqualityComparer.Default.Equals(ItemId, other.ItemId); + case 3: + num = (((object)other == null) ? 2131945257 : 2131945263); + break; + case 2: + return false; + case 4: + num = ((!_200B_202B_202C_206B_206C_202A_206C_200B_200C_200B_202E_200E_206C_200D_200F_200D_206C_206C_206D_200E_200B_200C_206E_206E_206B_200D_202D_202E_206A_202C_202B_206F_202B_206D_206E_202B_202B_200B_200E_206F_202E(EqualityContract, other.EqualityContract)) ? 2131945257 : 2131945262); + break; + case 0: + num = 2131945256; + break; + case 1: + return true; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_200D_202C_202C_200C_206D_206D_206D_200C_206C_202A_206E_202B_200B_206C_202A_200F_202D_202D_206F_202B_206F_206E_200F_200D_200B_200F_206B_206B_202B_200C_202B_202C_206A_200C_200B_202E_206E_200E_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200C_200E_200E_202C_200C_202C_200D_206E_206F_206A_200D_200B_200C_202D_202E_200E_202A_206A_200B_200F_206B_202A_206E_200E_202E_206D_202E_206F_200F_200B_200F_202D_202A_206D_200E_206C_202B_200F_206F_206E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200F_200B_206D_200C_202E_206B_200F_206B_200E_206E_206C_206D_206F_200B_200C_200E_206D_206B_200B_206A_200F_206E_202D_202B_206E_206C_206D_200B_200E_202D_200E_206A_206F_200D_202D_202C_206A_202A_200C_202E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200B_202B_202C_206B_206C_202A_206C_200B_200C_200B_202E_200E_206C_200D_200F_200D_206C_206C_206D_200E_200B_200C_206E_206E_206B_200D_202D_202E_206A_202C_202B_206F_202B_206D_206E_202B_202B_200B_200E_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + internal sealed class DoUnequip(ILogger logger) : TaskExecutor() + { + private long _continueAt; + + private int _attempts; + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + int num = _200F_200E_202E_200C_200F_202C_202B_206B_206C_202A_206E_202A_206B_200B_206B_206E_200C_200E_200D_202D_206B_202E_202A_200D_206D_206C_202C_206E_206B_206B_202D_200E_202A_202D_206D_206D_200C_202C_202D_202E(base.Task.ItemId); + int num2 = ((num >= 0) ? 206916703 : 206916700); + while (true) + { + int num3 = num2; + int num4 = 206916702; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = 206916700; + break; + case 3: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(50, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-547465777)); + defaultInterpolatedStringHandler.AppendFormatted(base.Task.ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(271275153)); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 2: + _202B_206F_206B_200B_206A_202E_206C_206E_206F_202C_206B_200D_200D_202D_202E_206B_202A_202D_200D_202A_206A_200D_206A_202E_200B_202B_200B_206F_200D_206E_202B_202B_200F_202D_202A_200C_200D_206B_200B_200D_202E((ILogger)logger, global::_003CModule_003E._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(539896609), new object[1] { base.Task.ItemId }); + return false; + case 1: + num2 = (_206F_200E_202D_202D_202E_202B_202A_206A_206B_206B_200D_202A_202C_206B_206C_200F_200C_202B_200E_202D_202D_206B_206B_206C_206D_206B_202B_200C_200C_202D_202E_200F_206C_206F_200E_206A_206A_202D_200F_202E(num) ? 206916698 : 206916701); + break; + case 4: + _continueAt = _206B_202A_206D_200D_202C_202E_202E_200E_200E_202E_202A_202D_200D_200C_206F_202E_200F_200B_206A_202B_202C_200F_202B_202C_206A_200D_206B_206D_206D_206C_206B_200D_202A_206B_206B_206F_206B_206A_200C_202B_202E() + 1000; + _attempts = 1; + return true; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + int num = ((_206B_202A_206D_200D_202C_202E_202E_200E_200E_202E_202A_202D_200D_200C_206F_202E_200F_200B_206A_202B_202C_200F_202B_202C_206A_200D_206B_206D_206D_206C_206B_200D_202A_206B_206B_206F_206B_206A_200C_202B_202E() >= _continueAt) ? 77146182 : 77146191); + int num5 = default(int); + while (true) + { + int num2 = num; + int num3 = 77146190; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(36, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1782220482)); + defaultInterpolatedStringHandler.AppendFormatted(base.Task.ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-441186023)); + defaultInterpolatedStringHandler.AppendFormatted(_attempts); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-770584815)); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 1: + return ETaskResult.StillRunning; + case 5: + _continueAt = _206B_202A_206D_200D_202C_202E_202E_200E_200E_202E_202A_202D_200D_200C_206F_202E_200F_200B_206A_202B_202C_200F_202B_202C_206A_200D_206B_206D_206D_206C_206B_200D_202A_206B_206B_206F_206B_206A_200C_202B_202E() + 1000; + return ETaskResult.StillRunning; + case 2: + _206F_200E_202D_202D_202E_202B_202A_206A_206B_206B_200D_202A_202C_206B_206C_200F_200C_202B_200E_202D_202D_206B_206B_206C_206D_206B_202B_200C_200C_202D_202E_200F_206C_206F_200E_206A_206A_202D_200F_202E(num5); + num = 77146187; + break; + case 0: + { + int attempts = _attempts; + num3 = 1; + num4 = attempts; + int num6 = num4 ^ num3; + int num7 = num4 & num3; + _attempts = num6 + (num7 + num7); + num = ((_attempts <= 3) ? 77146185 : 77146184); + break; + } + case 7: + num5 = _200F_200E_202E_200C_200F_202C_202B_206B_206C_202A_206E_202A_206B_200B_206B_206E_200C_200E_200D_202D_206B_202E_202A_200D_206D_206C_202C_206E_206B_206B_202D_200E_202A_202D_206D_206D_200C_202C_202D_202E(base.Task.ItemId); + num = ((num5 < 0) ? 77146187 : 77146188); + break; + case 8: + num = (_202D_206D_206B_200D_206E_202E_206F_206B_200F_200C_202C_206D_200E_206E_202B_200C_206D_206F_200B_206E_200F_200F_200E_202B_202C_206F_200D_202C_202A_206E_206F_206A_202E_200F_206A_206E_202B_206F_202B_200F_202E(base.Task.ItemId) ? 77146190 : 77146189); + break; + case 4: + num = 77146191; + break; + case 3: + return ETaskResult.TaskComplete; + } + } + } + + public override bool ShouldInterruptOnDamage() + { + return true; + } + + static int _200F_200E_202E_200C_200F_202C_202B_206B_206C_202A_206E_202A_206B_200B_206B_206E_200C_200E_200D_202D_206B_202E_202A_200D_206D_206C_202C_206E_206B_206B_202D_200E_202A_202D_206D_206D_200C_202C_202D_202E(uint P_0) + { + return InventoryHelper.GetEquippedItemSlot(P_0); + } + + static void _202B_206F_206B_200B_206A_202E_206C_206E_206F_202C_206B_200D_200D_202D_202E_206B_202A_202D_200D_202A_206A_200D_206A_202E_200B_202B_200B_206F_200D_206E_202B_202B_200F_202D_202A_200C_200D_206B_200B_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206F_200E_202D_202D_202E_202B_202A_206A_206B_206B_200D_202A_202C_206B_206C_200F_200C_202B_200E_202D_202D_206B_206B_206C_206D_206B_202B_200C_200C_202D_202E_200F_206C_206F_200E_206A_206A_202D_200F_202E(int P_0) + { + return EEquipSlotCategoryExtensions.TryUnequipItem(P_0); + } + + static long _206B_202A_206D_200D_202C_202E_202E_200E_200E_202E_202A_202D_200D_200C_206F_202E_200F_200B_206A_202B_202C_200F_202B_202C_206A_200D_206B_206D_206D_206C_206B_200D_202A_206B_206B_206F_206B_206A_200C_202B_202E() + { + return Environment.TickCount64; + } + + static bool _202D_206D_206B_200D_206E_202E_206F_206B_200F_200C_202C_206D_200E_206E_202B_200C_206D_206F_200B_206E_200F_200F_200E_202B_202C_206F_200D_202C_202A_206E_206F_206A_202E_200F_206A_206E_202B_206F_202B_200F_202E(uint P_0) + { + return InventoryHelper.IsItemEquipped(P_0); + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Interactions/UseItem.cs b/Questionable/Questionable.Controller.Steps.Interactions/UseItem.cs index 785ac383..bb62e3ab 100644 --- a/Questionable/Questionable.Controller.Steps.Interactions/UseItem.cs +++ b/Questionable/Questionable.Controller.Steps.Interactions/UseItem.cs @@ -1,9 +1,13 @@ using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Globalization; -using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; 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 +18,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; @@ -23,81 +27,412 @@ internal static class UseItem { internal sealed class Factory(IClientState clientState, TerritoryData territoryData, ILogger logger) : ITaskFactory { + [CompilerGenerated] + private sealed class _003CCreateVesperBayFallbackTask_003Ed__5 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public Factory _003C_003E4__this; + + private uint _003CnpcId_003E5__2; + + private ushort _003CterritoryId_003E5__3; + + private Vector3 _003Cdestination_003E5__4; + + ITask IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CCreateVesperBayFallbackTask_003Ed__5(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _206E_200C_200E_202D_206F_202D_200D_206A_206E_202A_206C_206E_206B_200E_200E_206D_202A_200F_206A_206B_206E_200F_200D_206F_200C_206A_202B_202A_200B_200C_206D_202D_206E_206B_206B_206D_200C_200F_202D_202B_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + int num = _003C_003E1__state; + Factory factory = _003C_003E4__this; + switch (num) + { + default: + { + int num2 = 1011060312; + while (true) + { + int num3 = num2; + int num4 = 1011060314; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 4: + goto end_IL_0038; + case 5: + goto IL_00d6; + case 7: + goto IL_0123; + case 3: + goto IL_013e; + case 2: + return false; + case 0: + goto IL_01ac; + case 1: + goto end_IL_000f; + case 6: + num2 = 1011060312; + break; + } + continue; + end_IL_0038: + break; + } + goto case 3; + } + case 3: + { + _003C_003E1__state = -1; + ushort territoryId = _003CterritoryId_003E5__3; + Vector3 destination = _003Cdestination_003E5__4; + uint? dataId = _003CnpcId_003E5__2; + bool? sprint = false; + _003C_003E2__current = new MoveTask(territoryId, destination, null, MountRequired: false, DismountRequired: false, null, dataId, DisableNavmesh: false, sprint, Fly: false, Land: false, IgnoreDistanceToObject: false, RestartNavigation: true, EInteractionType.WalkTo); + _003C_003E1__state = 4; + return true; + } + case 4: + goto IL_00d6; + case 2: + goto IL_0123; + case 0: + goto IL_013e; + case 5: + goto IL_01ac; + case 1: + break; + IL_01ac: + _003C_003E1__state = -1; + return false; + IL_013e: + _003C_003E1__state = -1; + _206D_206E_206F_206F_200F_202D_202C_202D_206B_202D_200E_202B_202B_206B_200C_202A_202C_206F_202A_202E_202B_206A_206B_206C_200E_206A_202E_200F_202E_202C_202B_200F_202B_202A_206C_202B_206D_202B_206D_202D_202E((ILogger)factory.logger, global::_003CModule_003E._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(14202332), Array.Empty()); + _003CnpcId_003E5__2 = 1003540u; + _003CterritoryId_003E5__3 = 129; + _003Cdestination_003E5__4 = new Vector3(-360.9217f, 8f, 38.92566f); + _003C_003E2__current = new AetheryteTeleport.Task(EAetheryteLocation.Limsa, _003CterritoryId_003E5__3); + _003C_003E1__state = 1; + return true; + IL_0123: + _003C_003E1__state = -1; + _003C_003E2__current = new WaitAtEnd.WaitDelay(); + _003C_003E1__state = 3; + return true; + IL_00d6: + _003C_003E1__state = -1; + _003C_003E2__current = new Interact.Task(_003CnpcId_003E5__2, null, EInteractionType.None, SkipMarkerCheck: true); + _003C_003E1__state = 5; + return true; + end_IL_000f: + break; + } + _003C_003E1__state = -1; + _003C_003E2__current = new AethernetRide.Task(EAetheryteLocation.Limsa, EAetheryteLocation.LimsaArcanist); + _003C_003E1__state = 2; + return true; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _200C_200C_200B_206B_206A_200D_200E_202D_206A_200D_206D_206B_202E_206F_206B_206B_202E_206D_200C_206E_202C_200C_206C_202E_200E_200B_206A_206B_200B_202C_206B_206E_200C_200D_200F_200D_200D_206F_200D_202E_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 1539034441 : 1539034442); + _003CCreateVesperBayFallbackTask_003Ed__5 result = default(_003CCreateVesperBayFallbackTask_003Ed__5); + while (true) + { + int num2 = num; + int num3 = 1539034440; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return result; + case 2: + num = ((_003C_003El__initialThreadId != _206E_200C_200E_202D_206F_202D_200D_206A_206E_202A_206C_206E_206B_200E_200E_206D_202A_200F_206A_206B_206E_200F_200D_206F_200C_206A_202B_202A_200B_200C_206D_202D_206E_206B_206B_206D_200C_200F_202D_202B_202E()) ? 1539034441 : 1539034443); + break; + case 1: + result = new _003CCreateVesperBayFallbackTask_003Ed__5(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = 1539034444; + break; + case 3: + _003C_003E1__state = 0; + result = this; + num = 1539034444; + break; + case 0: + num = 1539034442; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _206E_200C_200E_202D_206F_202D_200D_206A_206E_202A_206C_206E_206B_200E_200E_206D_202A_200F_206A_206B_206E_200F_200D_206F_200C_206A_202B_202A_200B_200C_206D_202D_206E_206B_206B_206D_200C_200F_202D_202B_202E() + { + return Environment.CurrentManagedThreadId; + } + + static void _206D_206E_206F_206F_200F_202D_202C_202D_206B_202D_200E_202B_202B_206B_200C_202A_202C_206F_202A_202E_202B_206A_206B_206C_200E_206A_202E_200F_202E_202C_202B_200F_202B_202A_206C_202B_206D_202B_206D_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static NotSupportedException _200C_200C_200B_206B_206A_200D_200E_202D_206A_200D_206D_206B_202E_206F_206B_206B_202E_206D_200C_206E_202C_200C_206C_202E_200E_200B_206A_206B_200B_202C_206B_206E_200C_200D_200F_200D_200D_206F_200D_202E_202E() + { + return new NotSupportedException(); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { - EInteractionType interactionType = step.InteractionType; - if ((interactionType == EInteractionType.SinglePlayerDuty || interactionType == EInteractionType.CompleteQuest) ? true : false) + EInteractionType eInteractionType = _202B_202D_206F_202E_200F_206B_206B_200E_202C_206E_200E_200C_202D_206D_202C_200F_202A_206F_206D_200C_200C_206E_200B_206A_206B_202C_206B_202D_200F_202D_202A_206C_206A_202A_200C_206B_202B_206E_200E_202E(step); + int num = ((eInteractionType == EInteractionType.SinglePlayerDuty) ? (-1534293715) : (-1534293701)); + Mount.UnmountTask unmountTask = default(Mount.UnmountTask); + bool flag = default(bool); + ITask task = default(ITask); + int num7 = default(int); + UseOnSelf useOnSelf = default(UseOnSelf); + while (true) { - if (!step.ItemId.HasValue) - { - return Array.Empty(); - } - } - else if (step.InteractionType != EInteractionType.UseItem) - { - return Array.Empty(); - } - ArgumentNullException.ThrowIfNull(step.ItemId, "step.ItemId"); - if (step.ItemId == 30362) - { - if (InventoryManager.Instance()->GetInventoryItemCount(step.ItemId.Value, isHq: false, checkEquipped: true, checkArmory: true, 0) == 0) + int num2 = num; + int num3 = -1534293714; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + object obj; + Vector3? vector; + switch (num5 - (num6 + num6)) { + case 7: + num = ((InventoryManager.Instance()->GetInventoryItemCount(_202D_206F_202E_206B_200B_206C_202A_202A_206B_206E_200D_200E_200D_206F_206D_200F_200D_202D_200C_206F_200C_206A_206A_206C_206E_200C_200B_206E_206C_200B_200E_206B_202C_202E_206F_206E_202A_202C_202D_206D_202E(step).Value, isHq: false, checkEquipped: true, checkArmory: true, 0) != 0) ? (-1534293698) : (-1534293717)); + break; + case 8: + unmountTask = new Mount.UnmountTask(); + num = ((_206B_202C_200E_206E_202C_206F_202E_202A_202A_200F_202A_206E_200F_200D_202E_200D_200D_200D_202C_206C_206F_206F_202C_202A_206F_200B_200E_202E_200E_200F_200C_200E_202E_202A_206F_206A_202E_202A_206B_206D_202E(step) != true) ? (-1534293702) : (-1534293727)); + break; + case 13: + num = ((!flag) ? (-1534293697) : (-1534293726)); + break; + case 17: + num = ((_202B_202D_206F_202E_200F_206B_206B_200E_202C_206E_200E_200C_202D_206D_202C_200F_202A_206F_206D_200C_200C_206E_200B_206A_206B_202C_206B_202D_200F_202D_202A_206C_206A_202A_200C_206B_202B_206E_200E_202E(step) == EInteractionType.UseItem) ? (-1534293713) : (-1534293720)); + break; + case 12: + num = (_202D_206F_202E_206B_200B_206C_202A_202A_206B_206E_200D_200E_200D_206F_206D_200F_200D_202D_200C_206F_200C_206A_206A_206C_206E_200C_200B_206E_206C_200B_200E_206B_202C_202E_206F_206E_202A_202C_202D_206D_202E(step).HasValue ? (-1534293713) : (-1534293714)); + break; + case 18: + task = new UseOnGround(quest.Id, _202B_202B_206A_202C_202E_206B_200B_206C_200B_206C_206A_206C_202E_202B_206F_200B_200D_206A_206C_202A_200E_206F_202C_206C_206D_202B_202D_206F_200D_202D_206C_206F_202A_206D_200F_200F_202D_206F_202E_200D_202E(step).Value, _202D_206F_202E_206B_200B_206C_202A_202A_206B_206E_200D_200E_200D_206F_206D_200F_200D_202D_200C_206F_200C_206A_206A_206C_206E_200C_200B_206E_206C_200B_200E_206B_202C_202E_206F_206E_202A_202C_202D_206D_202E(step).Value, _200B_206C_206F_206F_202B_202E_202C_206D_200B_200D_202A_200B_202E_206F_202A_202C_206F_202A_200C_200F_200B_202B_206A_206A_206A_206B_206A_202C_200E_202A_202B_202D_206B_206B_202C_200C_206D_200D_200F_206E_202E(step)); + num = -1534293699; + break; + case 20: + num = ((!_202B_202B_206A_202C_202E_206B_200B_206C_200B_206C_206A_206C_202E_202B_206F_200B_200D_206A_206C_202A_200E_206F_202C_206C_206D_202B_202D_206F_200D_202D_206C_206F_202A_206D_200F_200F_202D_206F_202E_200D_202E(step).HasValue) ? (-1534293718) : (-1534293728)); + break; + case 5: return CreateVesperBayFallbackTask(); + case 15: + num = ((!_202B_202B_206A_202C_202E_206B_200B_206C_200B_206C_206A_206C_202E_202B_206F_200B_200D_206A_206C_202A_200E_206F_202C_206C_206D_202B_202D_206F_200D_202D_206C_206F_202A_206D_200F_200F_202D_206F_202E_200D_202E(step).HasValue) ? (-1534293724) : (-1534293700)); + break; + case 9: + obj = _202D_200D_202A_206F_200E_206A_202B_200C_202D_206B_200B_206A_206A_200F_206B_200B_206D_206C_202D_200E_206E_202E_202B_206B_200C_200D_200C_206D_202B_202E_200B_206E_202D_202E_200F_202E_200C_206F_206F_202E(sequence)[num7]; + goto IL_0223; + case 3: + flag = true; + num = -1534293725; + break; + case 11: + num = -1534293701; + break; + case 19: + return new global::_003C_003Ez__ReadOnlyArray(new ITask[3] + { + unmountTask, + new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(0.5)), + task + }); + case 6: + return Array.Empty(); + case 14: + { + UseOnObject useOnObject = new UseOnObject(quest.Id, _202B_202B_206A_202C_202E_206B_200B_206C_200B_206C_206A_206C_202E_202B_206F_200B_200D_206A_206C_202A_200E_206F_202C_206C_206D_202B_202D_206F_200D_202D_206C_206F_202A_206D_200F_200F_202D_206F_202E_200D_202E(step).Value, _202D_206F_202E_206B_200B_206C_202A_202A_206B_206E_200D_200E_200D_206F_206D_200F_200D_202D_200C_206F_200C_206A_206A_206C_206E_200C_200B_206E_206C_200B_200E_206B_202C_202E_206F_206E_202A_202C_202D_206D_202E(step).Value, _200B_206C_206F_206F_202B_202E_202C_206D_200B_200D_202A_200B_202E_206F_202A_202C_206F_202A_200C_200F_200B_202B_206A_206A_206A_206B_206A_202C_200E_202A_202B_202D_206B_206B_202C_200C_206D_200D_200F_206E_202E(step)); + return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { unmountTask, useOnObject }); } - 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; - return new global::_003C_003Ez__ReadOnlyArray(new ITask[4] + case 21: + num = ((eInteractionType != EInteractionType.CompleteQuest) ? (-1534293704) : (-1534293715)); + break; + case 0: + return Array.Empty(); + case 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) - }); - } - Mount.UnmountTask unmountTask = new Mount.UnmountTask(); - if (step.GroundTarget == true) - { - ITask task; - if (step.DataId.HasValue) - { - task = new UseOnGround(quest.Id, step.DataId.Value, step.ItemId.Value, step.CompletionQuestVariablesFlags); + UseOnSelf useOnSelf2 = new UseOnSelf(quest.Id, _202D_206F_202E_206B_200B_206C_202A_202A_206B_206E_200D_200E_200D_206F_206D_200F_200D_202D_200C_206F_200C_206A_206A_206C_206E_200C_200B_206E_206C_200B_200E_206B_202C_202E_206F_206E_202A_202C_202D_206D_202E(step).Value, _200B_206C_206F_206F_202B_202E_202C_206D_200B_200D_202A_200B_202E_206F_202A_202C_206F_202A_200C_200F_200B_202B_206A_206A_206A_206B_206A_202C_200E_202A_202B_202D_206B_206B_202C_200C_206D_200D_200F_206E_202E(step)); + return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { unmountTask, useOnSelf2 }); } - else - { - ArgumentNullException.ThrowIfNull(step.Position, "step.Position"); - task = new UseOnPosition(quest.Id, step.Position.Value, step.ItemId.Value, step.CompletionQuestVariablesFlags); + case 16: + useOnSelf = new UseOnSelf(quest.Id, _202D_206F_202E_206B_200B_206C_202A_202A_206B_206E_200D_200E_200D_206F_206D_200F_200D_202D_200C_206F_200C_206A_206A_206C_206E_200C_200B_206E_206C_200B_200E_206B_202C_202E_206F_206E_202A_202C_202D_206D_202E(step).Value, _200B_206C_206F_206F_202B_202E_202C_206D_200B_200D_202A_200B_202E_206F_202A_202C_206F_202A_200C_200F_200B_202B_206A_206A_206A_206B_206A_202C_200E_202A_202B_202D_206B_206B_202C_200C_206D_200D_200F_206E_202E(step)); + num7 = _202D_200D_202A_206F_200E_206A_202B_200C_202D_206B_200B_206A_206A_200F_206B_200B_206D_206C_202D_200E_206E_202E_202B_206B_200C_200D_200C_206D_202B_202E_200B_206E_202D_202E_200F_202E_200C_206F_206F_202E(sequence).IndexOf(step) + 1; + num = ((num7 < _202D_200D_202A_206F_200E_206A_202B_200C_202D_206B_200B_206A_206A_200F_206B_200B_206D_206C_202D_200E_206E_202E_202B_206B_200C_200D_200C_206D_202B_202E_200B_206E_202D_202E_200F_202E_200C_206F_206F_202E(sequence).Count) ? (-1534293721) : (-1534293716)); + break; + case 2: + obj = null; + goto IL_0223; + case 22: + flag = false; + num = -1534293725; + break; + case 10: + _206F_202B_200D_202A_200F_202C_200D_206D_200E_202A_206F_202B_206A_200C_202B_206C_206C_206C_206D_200E_200B_206E_206D_200D_206B_202A_202B_206E_206C_206F_206A_206A_200E_202B_200E_200F_200F_202D_206F_202B_202E((object)_206C_200E_206B_206A_206E_202B_200B_200B_202D_200D_200C_206C_200D_202A_202A_200D_206D_202C_206B_206C_200B_206E_206F_202A_202B_206F_202E_200C_206D_206C_200F_202B_202B_202A_206F_200C_200D_200F_206B_202D_202E(step), global::_003CModule_003E._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(843502510)); + task = new UseOnPosition(quest.Id, _206C_200E_206B_206A_206E_202B_200B_200B_202D_200D_200C_206C_200D_202A_202A_200D_206D_202C_206B_206C_200B_206E_206F_202A_202B_206F_202E_200C_206D_206C_200F_202B_202B_202A_206F_200C_200D_200F_206B_202D_202E(step).Value, _202D_206F_202E_206B_200B_206C_202A_202A_206B_206E_200D_200E_200D_206F_206D_200F_200D_202D_200C_206F_200C_206A_206A_206C_206E_200C_200B_206E_206C_200B_200E_206B_202C_202E_206F_206E_202A_202C_202D_206D_202E(step).Value, _200B_206C_206F_206F_202B_202E_202C_206D_200B_200D_202A_200B_202E_206F_202A_202C_206F_202A_200C_200F_200B_202B_206A_206A_206A_206B_206A_202C_200E_202A_202B_202D_206B_206B_202C_200C_206D_200D_200F_206E_202E(step)); + num = -1534293699; + break; + case 1: + { + _206F_202B_200D_202A_200F_202C_200D_206D_200E_202A_206F_202B_206A_200C_202B_206C_206C_206C_206D_200E_200B_206E_206D_200D_206B_202A_202B_206E_206C_206F_206A_206A_200E_202B_200E_200F_200F_202D_206F_202B_202E((object)_202D_206F_202E_206B_200B_206C_202A_202A_206B_206E_200D_200E_200D_206F_206D_200F_200D_202D_200C_206F_200C_206A_206A_206C_206E_200C_200B_206E_206C_200B_200E_206B_202C_202E_206F_206E_202A_202C_202D_206D_202E(step), global::_003CModule_003E._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(1167381922)); + num = ((_202D_206F_202E_206B_200B_206C_202A_202A_206B_206E_200D_200E_200D_206F_206D_200F_200D_202D_200C_206F_200C_206A_206A_206C_206E_200C_200B_206E_206C_200B_200E_206B_202C_202E_206F_206E_202A_202C_202D_206D_202E(step) != 30362) ? (-1534293722) : (-1534293719)); + break; + } + IL_0223: + if (obj == null) + { + obj = step; + } + vector = _206C_200E_206B_206A_206E_202B_200B_200B_202D_200D_200C_206C_200D_202A_202A_200D_206D_202C_206B_206C_200B_206E_206F_202A_202B_206F_202E_200C_206D_206C_200F_202B_202B_202A_206F_200C_200D_200F_206B_202D_202E((QuestStep)obj); + return new global::_003C_003Ez__ReadOnlyArray(new ITask[4] + { + useOnSelf, + new WaitCondition.Task(() => _202E_206C_202D_206C_200D_202D_200E_206F_206F_206F_202B_200C_206C_200B_206E_202B_200C_206B_200B_206E_206E_206B_206B_200C_206F_206D_206A_200F_200E_200E_200E_202C_202A_206B_206F_200B_200C_206D_202E_206A_202E(clientState) == 140, _206C_200E_202B_202E_202A_202A_200D_206B_200F_200D_202A_202B_206B_200E_206A_206D_206F_206F_206D_202D_202E_200D_202B_202B_200B_200D_202E_206F_202B_202D_200E_200B_200C_206F_202C_206D_202D_200B_200E_202D_202E(global::_003CModule_003E._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(923276170), territoryData.GetNameAndId(140u), global::_003CModule_003E._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(424561659))), + new Mount.MountTask(140, vector.HasValue ? Mount.EMountIf.AwayFromPosition : Mount.EMountIf.Always, vector), + 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) + }); } - return new global::_003C_003Ez__ReadOnlyArray(new ITask[3] - { - unmountTask, - new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(0.5)), - task - }); } - if (step.DataId.HasValue) - { - UseOnObject useOnObject = new UseOnObject(quest.Id, step.DataId.Value, step.ItemId.Value, step.CompletionQuestVariablesFlags); - return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { unmountTask, useOnObject }); - } - UseOnSelf useOnSelf2 = new UseOnSelf(quest.Id, step.ItemId.Value, step.CompletionQuestVariablesFlags); - return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { unmountTask, useOnSelf2 }); + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); } private IEnumerable CreateVesperBayFallbackTask() { - logger.LogWarning("No vesper bay aetheryte tickets in inventory, navigating via ferry in Limsa instead"); + _003CCreateVesperBayFallbackTask_003Ed__5._206D_206E_206F_206F_200F_202D_202C_202D_206B_202D_200E_202B_202B_206B_200C_202A_202C_206F_202A_202E_202B_206A_206B_206C_200E_206A_202E_200F_202E_202C_202B_200F_202B_202A_206C_202B_206D_202B_206D_202D_202E((ILogger)logger, global::_003CModule_003E._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(14202332), Array.Empty()); 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); } + + static EInteractionType _202B_202D_206F_202E_200F_206B_206B_200E_202C_206E_200E_200C_202D_206D_202C_200F_202A_206F_206D_200C_200C_206E_200B_206A_206B_202C_206B_202D_200F_202D_202A_206C_206A_202A_200C_206B_202B_206E_200E_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static uint? _202D_206F_202E_206B_200B_206C_202A_202A_206B_206E_200D_200E_200D_206F_206D_200F_200D_202D_200C_206F_200C_206A_206A_206C_206E_200C_200B_206E_206C_200B_200E_206B_202C_202E_206F_206E_202A_202C_202D_206D_202E(QuestStep P_0) + { + return P_0.ItemId; + } + + static void _206F_202B_200D_202A_200F_202C_200D_206D_200E_202A_206F_202B_206A_200C_202B_206C_206C_206C_206D_200E_200B_206E_206D_200D_206B_202A_202B_206E_206C_206F_206A_206A_200E_202B_200E_200F_200F_202D_206F_202B_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static List _200B_206C_206F_206F_202B_202E_202C_206D_200B_200D_202A_200B_202E_206F_202A_202C_206F_202A_200C_200F_200B_202B_206A_206A_206A_206B_206A_202C_200E_202A_202B_202D_206B_206B_202C_200C_206D_200D_200F_206E_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static List _202D_200D_202A_206F_200E_206A_202B_200C_202D_206B_200B_206A_206A_200F_206B_200B_206D_206C_202D_200E_206E_202E_202B_206B_200C_200D_200C_206D_202B_202E_200B_206E_202D_202E_200F_202E_200C_206F_206F_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static Vector3? _206C_200E_206B_206A_206E_202B_200B_200B_202D_200D_200C_206C_200D_202A_202A_200D_206D_202C_206B_206C_200B_206E_206F_202A_202B_206F_202E_200C_206D_206C_200F_202B_202B_202A_206F_200C_200D_200F_206B_202D_202E(QuestStep P_0) + { + return P_0.Position; + } + + static string _206C_200E_202B_202E_202A_202A_200D_206B_200F_200D_202A_202B_206B_200E_206A_206D_206F_206F_206D_202D_202E_200D_202B_202B_200B_200D_202E_206F_202B_202D_200E_200B_200C_206F_202C_206D_202D_200B_200E_202D_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static bool? _206B_202C_200E_206E_202C_206F_202E_202A_202A_200F_202A_206E_200F_200D_202E_200D_200D_200D_202C_206C_206F_206F_202C_202A_206F_200B_200E_202E_200E_200F_200C_200E_202E_202A_206F_206A_202E_202A_206B_206D_202E(QuestStep P_0) + { + return P_0.GroundTarget; + } + + static uint? _202B_202B_206A_202C_202E_206B_200B_206C_200B_206C_206A_206C_202E_202B_206F_200B_200D_206A_206C_202A_200E_206F_202C_206C_206D_202B_202D_206F_200D_202D_206C_206F_202A_206D_200F_200F_202D_206F_202E_200D_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static uint _202E_206C_202D_206C_200D_202D_200E_206F_206F_206F_202B_200C_206C_200B_206E_202B_200C_206B_200B_206E_206E_206B_206B_200C_206F_206D_206A_200F_200E_200E_200E_202C_202A_206B_206F_200B_200C_206D_202E_206A_202E(IClientState P_0) + { + return P_0.TerritoryType; + } } internal interface IUseItemBase : ITask @@ -111,103 +446,342 @@ 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(); + [MethodImpl(MethodImplOptions.NoInlining)] protected unsafe override bool Start() { - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) + InventoryManager* intPtr = InventoryManager.Instance(); + if (intPtr == null) { - throw new TaskException("No InventoryManager"); + throw new TaskException(global::_003CModule_003E._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(-2059803831)); } - _itemCount = ptr->GetInventoryItemCount(ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0); - if (_itemCount == 0) + int num = ((intPtr->GetInventoryItemCount(ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) != 0) ? (-144142272) : (-144142269)); + while (true) { - throw new TaskException($"Don't have any {ItemId} in inventory (checks NQ only)"); + int num2 = num; + int num3 = -144142270; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => _usedItem = UseItem()); + _usedItemAt = _200E_206D_202C_200D_202B_206E_202E_202C_206A_206A_206A_202B_202B_200E_206D_202D_206E_202C_206F_200D_200D_206A_202B_206D_206D_202E_206B_206E_202E_200D_200D_200E_202C_202D_206A_202D_202C_200F_206D_206D_202E(); + _continueAt = _200E_206D_202C_200D_202B_206E_202E_202C_206A_206A_206A_202B_202B_200E_206D_202D_206E_202C_206F_200D_200D_206A_202B_206D_206D_202E_206B_206E_202E_200D_200D_200E_202C_202D_206A_202D_202C_200F_206D_206D_202E() + GetRetryDelayMs(); + return true; + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(45, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1123294576)); + defaultInterpolatedStringHandler.AppendFormatted(ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(706546884)); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 0: + goto IL_00ea; + } + continue; + IL_00ea: + num = -144142269; } - base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => _usedItem = UseItem()); - _continueAt = DateTime.Now.Add(GetRetryDelay()); - return true; } - public unsafe override ETaskResult Update() + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() { - if (QuestId is QuestId elementId && QuestWorkUtils.HasCompletionFlags(CompletionQuestVariablesFlags)) + QuestId questId = base.Task.QuestId as QuestId; + int num = (((object)questId == null) ? 825457812 : 825457794); + QuestProgressInfo questProgressInfo = default(QuestProgressInfo); + while (true) { - QuestProgressInfo questProgressInfo = _003CquestFunctions_003EP.GetQuestProgressInfo(elementId); - if (questProgressInfo != null && QuestWorkUtils.MatchesQuestWork(CompletionQuestVariablesFlags, questProgressInfo)) + int num2 = num; + int num3 = 825457810; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 20: + questProgressInfo = _003CquestFunctions_003EP.GetQuestProgressInfo(questId); + num = ((questProgressInfo == null) ? 825457812 : 825457817); + break; + case 16: + num = ((!QuestWorkUtils.HasCompletionFlags(base.Task.CompletionQuestVariablesFlags)) ? 825457812 : 825457798); + break; + case 15: + num = ((!base.Task.StartingCombat) ? 825457815 : 825457795); + break; + case 19: + _errorToastReceived = false; + ResetProgressTimer(); + num = 825457813; + break; + case 10: return ETaskResult.TaskComplete; - } - } - if (DateTime.Now <= _continueAt) - { - return ETaskResult.StillRunning; - } - if (StartingCombat && _003Ccondition_003EP[ConditionFlag.InCombat]) - { - return ETaskResult.TaskComplete; - } - if (ItemId == 30362 && _usedItem) - { - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) - { - _003Clogger_003EP.LogWarning("InventoryManager is not available"); + case 11: + num = ((!QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo)) ? 825457812 : 825457792); + break; + case 4: + base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => _usedItem = UseItem()); + _usedItemAt = _200E_206D_202C_200D_202B_206E_202E_202C_206A_206A_206A_202B_202B_200E_206D_202D_206E_202C_206F_200D_200D_206A_202B_206D_206D_202E_206B_206E_202E_200D_200D_200E_202C_202D_206A_202D_202C_200F_206D_206D_202E(); + _continueAt = _200E_206D_202C_200D_202B_206E_202E_202C_206A_206A_206A_202B_202B_200E_206D_202D_206E_202C_206F_200D_200D_206A_202B_206D_206D_202E_206B_206E_202E_200D_200D_200E_202C_202D_206A_202D_202C_200F_206D_206D_202E() + GetRetryDelayMs(); 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"); + case 12: + num = (_usedItem ? 825457816 : 825457814); + break; + case 14: + num = ((!_errorToastReceived) ? 825457822 : 825457811); + break; + case 18: + ResetProgressTimer(); + return ETaskResult.TaskComplete; + case 0: + num = ((!base.ProgressContext.WasSuccessful()) ? 825457813 : 825457793); + break; + case 1: + _206B_202A_206B_200B_202B_206A_206F_200B_200C_206C_200B_202B_206A_206E_202C_200D_202B_206F_206A_206F_206B_206E_202E_200C_200C_206F_202B_202C_202C_202C_206E_202C_202D_206C_202D_202A_206A_206C_200B_206B_202E(_003Clogger_003EP, global::_003CModule_003E._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(390633160), new object[1] { ItemId }); _usedItem = false; + _errorToastReceived = false; return ETaskResult.StillRunning; + case 13: + ResetProgressTimer(); + return ETaskResult.TaskComplete; + case 6: + num = ((_200E_206D_202C_200D_202B_206E_202E_202C_206A_206A_206A_202B_202B_200E_206D_202D_206E_202C_206F_200D_200D_206A_202B_206D_206D_202E_206B_206E_202E_200D_200D_200E_202C_202D_206A_202D_202C_200F_206D_206D_202E() > _continueAt) ? 825457821 : 825457819); + break; + case 8: + _206B_202A_206B_200B_202B_206A_206F_200B_200C_206C_200B_202B_206A_206E_202C_200D_202B_206F_206A_206F_206B_206E_202E_200C_200C_206F_202B_202C_202C_202C_206E_202C_202D_206C_202D_202A_206A_206C_200B_206B_202E(_003Clogger_003EP, global::_003CModule_003E._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(-652120701), new object[1] { ItemId }); + _usedItem = false; + _errorToastReceived = false; + return ETaskResult.StillRunning; + case 7: + num = ((!_usedItem) ? 825457822 : 825457820); + break; + case 2: + num = ((!base.ProgressContext.WasInterrupted()) ? 825457810 : 825457818); + break; + case 9: + return ETaskResult.StillRunning; + case 17: + num = ((!_206D_200E_206D_202C_200B_200F_200F_200D_200E_202E_206B_202A_200F_200C_200D_202C_206B_202D_202B_206C_202C_202D_202C_200C_200B_206B_206D_206D_202C_202A_200B_206A_200C_200E_202D_202B_202D_202B_206E_206D_202E(_003Ccondition_003EP, ConditionFlag.InCombat)) ? 825457815 : 825457823); + break; + case 3: + num = 825457794; + break; + case 5: + num = ((base.ProgressContext == null) ? 825457813 : 825457808); + break; } } - if (!_usedItem) - { - base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => _usedItem = UseItem()); - _continueAt = DateTime.Now.Add(GetRetryDelay()); - return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; } - private TimeSpan GetRetryDelay() + private long GetRetryDelayMs() { - if (ItemId == 30362) + int num = ((ItemId != 30362) ? (-1735326033) : (-1735326036)); + while (true) { - return TimeSpan.FromSeconds(11L); + int num2 = num; + int num3 = -1735326035; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004d; + case 1: + return 11000L; + case 2: + return 5000L; + } + continue; + IL_004d: + num = -1735326036; } - return TimeSpan.FromSeconds(5L); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool OnErrorToast(SeString message) + { + int num = ((!_usedItem) ? 181701879 : 181701876); + while (true) + { + int num2 = num; + int num3 = 181701878; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 181701876; + break; + case 2: + num = ((_200E_206D_202C_200D_202B_206E_202E_202C_206A_206A_206A_202B_202B_200E_206D_202D_206E_202C_206F_200D_200D_206A_202B_206D_206D_202E_206B_206E_202E_200D_200D_200E_202C_202D_206A_202D_202C_200F_206D_206D_202E() - _usedItemAt >= 2000) ? 181701879 : 181701877); + break; + case 3: + _206B_202A_206B_200B_202B_206A_206F_200B_200C_206C_200B_202B_206A_206E_202C_200D_202B_206F_206A_206F_206B_206E_202E_200C_200C_206F_202B_202C_202C_202C_206E_202C_202D_206C_202D_202A_206A_206C_200B_206B_202E(_003Clogger_003EP, global::_003CModule_003E._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(-1034289192), new object[1] { message }); + _errorToastReceived = true; + num = 181701879; + break; + case 1: + return false; + } + } + } + + bool IToastAware.OnErrorToast(SeString message) + { + //ILSpy generated this explicit interface implementation from .override directive in OnErrorToast + return this.OnErrorToast(message); } public override bool ShouldInterruptOnDamage() { return true; } + + static long _200E_206D_202C_200D_202B_206E_202E_202C_206A_206A_206A_202B_202B_200E_206D_202D_206E_202C_206F_200D_200D_206A_202B_206D_206D_202E_206B_206E_202E_200D_200D_200E_202C_202D_206A_202D_202C_200F_206D_206D_202E() + { + return Environment.TickCount64; + } + + static bool _206D_200E_206D_202C_200B_200F_200F_200D_200E_202E_206B_202A_200F_200C_200D_202C_206B_202D_202B_206C_202C_202D_202C_200C_200B_206B_206D_206D_202C_202A_200B_206A_200C_200E_202D_202B_202D_202B_206E_206D_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static void _206B_202A_206B_200B_202B_206A_206F_200B_200C_206C_200B_202B_206A_206E_202C_200D_202B_206F_206A_206F_206B_206E_202E_200C_200C_206F_202B_202C_202C_202C_206E_202C_202D_206C_202D_202A_206A_206C_200B_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } } internal sealed record UseOnGround(ElementId? QuestId, uint DataId, uint ItemId, IList CompletionQuestVariablesFlags, bool StartingCombat = false) : IUseItemBase, ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206C_202D_202C_200F_202D_202A_206F_200B_202E_202C_200F_202D_200F_202D_206A_206D_206E_206D_200E_202D_202A_202B_206F_200B_202E_206A_206E_200B_202E_202A_202D_202A_206C_202E_206A_206B_206C_200E_200F_202D_202E(typeof(UseOnGround).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"UseItem({ItemId} on ground at {DataId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(23, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-591224418)); + defaultInterpolatedStringHandler.AppendFormatted(ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-103312242)); + defaultInterpolatedStringHandler.AppendFormatted(DataId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200E_202D_206E_200F_200D_206D_202B_202E_200C_202A_206F_202C_206B_202E_200B_206F_202E_200C_202C_200D_202B_202B_206B_202B_206B_206B_202A_206F_202A_200E_206C_206B_200D_202B_206E_200D_202E_202E_202B_206C_202E(); + _200B_206D_206E_200C_202D_202B_200E_206A_206F_200B_202D_200C_200D_202B_206E_202B_202E_206D_202E_202C_206D_206B_200B_202D_206D_200B_200D_200B_200D_200F_202D_206B_206D_200D_200F_206A_200B_202D_202D_200D_202E(builder, global::_003CModule_003E._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(397591495)); + _206B_206A_206C_206C_200C_200E_202E_200F_200C_202B_200E_202D_206D_206A_202C_206A_202B_200E_200B_200F_206A_202B_206F_200F_202E_202C_200E_200D_202B_202B_202A_202C_206C_200D_202D_200F_202B_206C_200B_202D_202E(builder, (object?)QuestId); + _200B_206D_206E_200C_202D_202B_200E_206A_206F_200B_202D_200C_200D_202B_206E_202B_202E_206D_202E_202C_206D_206B_200B_202D_206D_200B_200D_200B_200D_200F_202D_206B_206D_200D_200F_206A_200B_202D_202D_200D_202E(builder, global::_003CModule_003E._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(97441196)); + _200B_206D_206E_200C_202D_202B_200E_206A_206F_200B_202D_200C_200D_202B_206E_202B_202E_206D_202E_202C_206D_206B_200B_202D_206D_200B_200D_200B_200D_200F_202D_206B_206D_200D_200F_206A_200B_202D_202D_200D_202E(builder, DataId.ToString()); + _200B_206D_206E_200C_202D_202B_200E_206A_206F_200B_202D_200C_200D_202B_206E_202B_202E_206D_202E_202C_206D_206B_200B_202D_206D_200B_200D_200B_200D_200F_202D_206B_206D_200D_200F_206A_200B_202D_202D_200D_202E(builder, global::_003CModule_003E._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(1061931861)); + _200B_206D_206E_200C_202D_202B_200E_206A_206F_200B_202D_200C_200D_202B_206E_202B_202E_206D_202E_202C_206D_206B_200B_202D_206D_200B_200D_200B_200D_200F_202D_206B_206D_200D_200F_206A_200B_202D_202D_200D_202E(builder, ItemId.ToString()); + _200B_206D_206E_200C_202D_202B_200E_206A_206F_200B_202D_200C_200D_202B_206E_202B_202E_206D_202E_202C_206D_206B_200B_202D_206D_200B_200D_200B_200D_200F_202D_206B_206D_200D_200F_206A_200B_202D_202D_200D_202E(builder, global::_003CModule_003E._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(1595351351)); + _206B_206A_206C_206C_200C_200E_202E_200F_200C_202B_200E_202D_206D_206A_202C_206A_202B_200E_200B_200F_206A_202B_206F_200F_202E_202C_200E_200D_202B_202B_202A_202C_206C_200D_202D_200F_202B_206C_200B_202D_202E(builder, (object?)CompletionQuestVariablesFlags); + _200B_206D_206E_200C_202D_202B_200E_206A_206F_200B_202D_200C_200D_202B_206E_202B_202E_206D_202E_202C_206D_206B_200B_202D_206D_200B_200D_200B_200D_200F_202D_206B_206D_200D_200F_206A_200B_202D_202D_200D_202E(builder, global::_003CModule_003E._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(-1965435376)); + _200B_206D_206E_200C_202D_202B_200E_206A_206F_200B_202D_200C_200D_202B_206E_202B_202E_206D_202E_202C_206D_206B_200B_202D_206D_200B_200D_200B_200D_200F_202D_206B_206D_200D_200F_206A_200B_202D_202D_200D_202E(builder, StartingCombat.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(UseOnGround? other) + { + int num = (((object)this == other) ? 1460107890 : 1460107894); + while (true) + { + int num2 = num; + int num3 = 1460107893; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? 1460107900 : 1460107893); + break; + case 3: + num = (((object)other == null) ? 1460107900 : 1460107888); + break; + case 6: + return EqualityComparer.Default.Equals(StartingCombat, other.StartingCombat); + case 4: + num = ((!EqualityComparer.Default.Equals(QuestId, other.QuestId)) ? 1460107900 : 1460107895); + break; + case 7: + return true; + case 5: + num = ((!_206C_202C_202C_202C_202A_200F_200D_202A_202D_202D_206F_202A_200F_200C_200F_200F_206E_202C_206C_200C_202A_200F_206E_202B_200B_202A_206C_206D_206E_206A_206E_200D_200B_202C_202A_206A_206A_200E_206E_206D_202E(EqualityContract, other.EqualityContract)) ? 1460107900 : 1460107889); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? 1460107900 : 1460107892); + break; + case 8: + num = 1460107894; + break; + case 9: + return false; + case 0: + num = ((!EqualityComparer>.Default.Equals(CompletionQuestVariablesFlags, other.CompletionQuestVariablesFlags)) ? 1460107900 : 1460107891); + break; + } + } + } + + bool IEquatable.Equals(UseOnGround? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _206C_202D_202C_200F_202D_202A_206F_200B_202E_202C_200F_202D_200F_202D_206A_206D_206E_206D_200E_202D_202A_202B_206F_200B_202E_206A_206E_200B_202E_202A_202D_202A_206C_202E_206A_206B_206C_200E_200F_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200E_202D_206E_200F_200D_206D_202B_202E_200C_202A_206F_202C_206B_202E_200B_206F_202E_200C_202C_200D_202B_202B_206B_202B_206B_206B_202A_206F_202A_200E_206C_206B_200D_202B_206E_200D_202E_202E_202B_206C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _200B_206D_206E_200C_202D_202B_200E_206A_206F_200B_202D_200C_200D_202B_206E_202B_202E_206D_202E_202C_206D_206B_200B_202D_206D_200B_200D_200B_200D_200F_202D_206B_206D_200D_200F_206A_200B_202D_202D_200D_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _206B_206A_206C_206C_200C_200E_202E_200F_200C_202B_200E_202D_206D_206A_202C_206A_202B_200E_200B_200F_206A_202B_206F_200F_202E_202C_200E_200D_202B_202B_202A_202C_206C_200D_202D_200F_202B_206C_200B_202D_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _206C_202C_202C_202C_202A_200F_200D_202A_202D_202D_206F_202A_200F_200C_200F_200F_206E_202C_206C_200C_202A_200F_206E_202B_200B_202A_206C_206D_206E_206A_206E_200D_200B_202C_202A_206A_206A_200E_206E_206D_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; } } @@ -227,9 +801,122 @@ internal static class UseItem internal sealed record UseOnPosition(ElementId? QuestId, Vector3 Position, uint ItemId, IList CompletionQuestVariablesFlags, bool StartingCombat = false) : IUseItemBase, ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206B_202A_206F_206D_202C_202A_202E_206C_200B_200D_206E_200B_200D_206A_200C_202D_206E_206A_200C_206F_200B_202A_200D_200E_206E_202B_200B_206D_200C_202A_200D_206E_206B_206E_200E_206F_200E_206F_202C_200F_202E(typeof(UseOnPosition).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"UseItem({ItemId} on ground at {Position.ToString("G", CultureInfo.InvariantCulture)})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(23, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1918970186)); + defaultInterpolatedStringHandler.AppendFormatted(ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-322006827)); + defaultInterpolatedStringHandler.AppendFormatted(Position.ToString(global::_003CModule_003E._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(1450220880), _200B_200E_206B_206C_202C_202B_202C_200F_206D_202A_202C_202B_202C_206E_202B_206A_200B_206D_206C_206F_200C_200C_202C_200D_206B_206D_202B_200B_206A_200E_202E_206B_202D_202A_206C_202C_206B_206D_202A_206F_202E())); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202A_202E_200D_206A_206A_202E_200E_202D_202A_200E_206A_202E_200B_206D_202C_202B_202E_202A_202D_206B_200F_200C_200D_206F_206E_202C_206F_202E_206B_200F_200D_206E_206B_202E_202C_206E_200E_200B_202C_202A_202E(); + _200D_200E_206D_200C_206A_206F_200C_206B_200B_202E_202D_200E_206D_200F_202D_202B_200D_200F_206F_200F_202A_202D_206C_202B_206E_202B_206A_206E_206D_206A_206D_206A_202C_206A_200B_200E_206E_206D_206F_200C_202E(builder, global::_003CModule_003E._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(65254652)); + _202D_202C_206D_200D_200C_200E_202B_202D_206F_202A_200F_200B_202D_200F_202D_202C_206A_202D_200C_206F_206A_202B_206A_202B_200C_206B_200E_200E_200B_206A_200E_202E_202E_202C_206D_200F_202C_206B_200C_206E_202E(builder, (object?)QuestId); + _200D_200E_206D_200C_206A_206F_200C_206B_200B_202E_202D_200E_206D_200F_202D_202B_200D_200F_206F_200F_202A_202D_206C_202B_206E_202B_206A_206E_206D_206A_206D_206A_202C_206A_200B_200E_206E_206D_206F_200C_202E(builder, global::_003CModule_003E._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(-1993330002)); + _200D_200E_206D_200C_206A_206F_200C_206B_200B_202E_202D_200E_206D_200F_202D_202B_200D_200F_206F_200F_202A_202D_206C_202B_206E_202B_206A_206E_206D_206A_206D_206A_202C_206A_200B_200E_206E_206D_206F_200C_202E(builder, Position.ToString()); + _200D_200E_206D_200C_206A_206F_200C_206B_200B_202E_202D_200E_206D_200F_202D_202B_200D_200F_206F_200F_202A_202D_206C_202B_206E_202B_206A_206E_206D_206A_206D_206A_202C_206A_200B_200E_206E_206D_206F_200C_202E(builder, global::_003CModule_003E._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(1085623692)); + _200D_200E_206D_200C_206A_206F_200C_206B_200B_202E_202D_200E_206D_200F_202D_202B_200D_200F_206F_200F_202A_202D_206C_202B_206E_202B_206A_206E_206D_206A_206D_206A_202C_206A_200B_200E_206E_206D_206F_200C_202E(builder, ItemId.ToString()); + _200D_200E_206D_200C_206A_206F_200C_206B_200B_202E_202D_200E_206D_200F_202D_202B_200D_200F_206F_200F_202A_202D_206C_202B_206E_202B_206A_206E_206D_206A_206D_206A_202C_206A_200B_200E_206E_206D_206F_200C_202E(builder, global::_003CModule_003E._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(2004134170)); + _202D_202C_206D_200D_200C_200E_202B_202D_206F_202A_200F_200B_202D_200F_202D_202C_206A_202D_200C_206F_206A_202B_206A_202B_200C_206B_200E_200E_200B_206A_200E_202E_202E_202C_206D_200F_202C_206B_200C_206E_202E(builder, (object?)CompletionQuestVariablesFlags); + _200D_200E_206D_200C_206A_206F_200C_206B_200B_202E_202D_200E_206D_200F_202D_202B_200D_200F_206F_200F_202A_202D_206C_202B_206E_202B_206A_206E_206D_206A_206D_206A_202C_206A_200B_200E_206E_206D_206F_200C_202E(builder, global::_003CModule_003E._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(-27417538)); + _200D_200E_206D_200C_206A_206F_200C_206B_200B_202E_202D_200E_206D_200F_202D_202B_200D_200F_206F_200F_202A_202D_206C_202B_206E_202B_206A_206E_206D_206A_206D_206A_202C_206A_200B_200E_206E_206D_206F_200C_202E(builder, StartingCombat.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(UseOnPosition? other) + { + int num = (((object)this == other) ? 495262041 : 495262040); + while (true) + { + int num2 = num; + int num3 = 495262033; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = 495262040; + break; + case 5: + return EqualityComparer.Default.Equals(StartingCombat, other.StartingCombat); + case 9: + num = (((object)other == null) ? 495262034 : 495262038); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(Position, other.Position)) ? 495262034 : 495262035); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? 495262034 : 495262033); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(QuestId, other.QuestId)) ? 495262034 : 495262037); + break; + case 8: + return true; + case 0: + num = ((!EqualityComparer>.Default.Equals(CompletionQuestVariablesFlags, other.CompletionQuestVariablesFlags)) ? 495262034 : 495262036); + break; + case 7: + num = ((!_202B_206A_200D_206F_206C_206B_206D_200F_206A_202E_206E_200E_202C_202A_200C_202B_206C_206E_206C_202C_206E_202C_200E_206F_202B_200F_206F_200F_202B_202C_206C_206D_200D_206A_206F_200B_200C_206A_200D_200C_202E(EqualityContract, other.EqualityContract)) ? 495262034 : 495262032); + break; + case 3: + return false; + } + } + } + + bool IEquatable.Equals(UseOnPosition? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _206B_202A_206F_206D_202C_202A_202E_206C_200B_200D_206E_200B_200D_206A_200C_202D_206E_206A_200C_206F_200B_202A_200D_200E_206E_202B_200B_206D_200C_202A_200D_206E_206B_206E_200E_206F_200E_206F_202C_200F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static CultureInfo? _200B_200E_206B_206C_202C_202B_202C_200F_206D_202A_202C_202B_202C_206E_202B_206A_200B_206D_206C_206F_200C_200C_202C_200D_206B_206D_202B_200B_206A_200E_202E_206B_202D_202A_206C_202C_206B_206D_202A_206F_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _202A_202E_200D_206A_206A_202E_200E_202D_202A_200E_206A_202E_200B_206D_202C_202B_202E_202A_202D_206B_200F_200C_200D_206F_206E_202C_206F_202E_206B_200F_200D_206E_206B_202E_202C_206E_200E_200B_202C_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _200D_200E_206D_200C_206A_206F_200C_206B_200B_202E_202D_200E_206D_200F_202D_202B_200D_200F_206F_200F_202A_202D_206C_202B_206E_202B_206A_206E_206D_206A_206D_206A_202C_206A_200B_200E_206E_206D_206F_200C_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _202D_202C_206D_200D_200C_200E_202B_202D_206F_202A_200F_200B_202D_200F_202D_202C_206A_202D_200C_206F_206A_202B_206A_202B_200C_206B_200E_200E_200B_206A_200E_202E_202E_202C_206D_200F_202C_206B_200C_206E_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _202B_206A_200D_206F_206C_206B_206D_200F_206A_202E_206E_200E_202C_202A_200C_202B_206C_206E_206C_202C_206E_202C_200E_206F_202B_200F_206F_200F_202B_202C_206C_206D_200D_206A_206F_200B_200C_206A_200D_200C_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; } } @@ -249,9 +936,117 @@ internal static class UseItem internal sealed record UseOnObject(ElementId? QuestId, uint DataId, uint ItemId, IList CompletionQuestVariablesFlags, bool StartingCombat = false) : IUseItemBase, ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206D_206C_200B_206B_206F_202B_206B_206E_200F_202E_200F_206A_206D_206F_206B_202B_200D_200C_206A_206B_206C_202C_200C_200B_206C_202E_202D_206F_202D_206D_202E_202D_202B_206C_206B_200B_206C_200C_200B_202E_202E(typeof(UseOnObject).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"UseItem({ItemId} on {DataId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(13, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-771729059)); + defaultInterpolatedStringHandler.AppendFormatted(ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1909105457)); + defaultInterpolatedStringHandler.AppendFormatted(DataId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206A_206B_202C_202A_206B_200C_206A_202A_206A_206F_206C_206A_202B_202D_206F_202B_202C_200B_202A_206C_200D_206C_202E_202E_200F_200C_200E_206A_202E_202D_206A_200F_202D_206C_202E_206F_206C_206C_202E_200E_202E(); + _202D_206D_202A_202A_200B_206A_200C_200F_200F_200D_202B_202B_206C_200F_202B_200C_202D_200E_206F_206A_206D_202A_206C_202E_200F_202A_206F_206D_200C_206E_202C_200E_202D_202C_206E_202D_200F_202B_206E_202A_202E(builder, global::_003CModule_003E._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(65254652)); + _206D_202D_206A_200D_200D_202A_200E_200E_206A_206D_202E_202B_202B_202E_200D_202D_202A_206D_202B_200D_202D_202D_206D_202A_200F_200D_206F_206D_202B_206F_206F_206F_200D_200B_200D_202B_206D_206B_206D_206C_202E(builder, (object?)QuestId); + _202D_206D_202A_202A_200B_206A_200C_200F_200F_200D_202B_202B_206C_200F_202B_200C_202D_200E_206F_206A_206D_202A_206C_202E_200F_202A_206F_206D_200C_206E_202C_200E_202D_202C_206E_202D_200F_202B_206E_202A_202E(builder, global::_003CModule_003E._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(-223784845)); + _202D_206D_202A_202A_200B_206A_200C_200F_200F_200D_202B_202B_206C_200F_202B_200C_202D_200E_206F_206A_206D_202A_206C_202E_200F_202A_206F_206D_200C_206E_202C_200E_202D_202C_206E_202D_200F_202B_206E_202A_202E(builder, DataId.ToString()); + _202D_206D_202A_202A_200B_206A_200C_200F_200F_200D_202B_202B_206C_200F_202B_200C_202D_200E_206F_206A_206D_202A_206C_202E_200F_202A_206F_206D_200C_206E_202C_200E_202D_202C_206E_202D_200F_202B_206E_202A_202E(builder, global::_003CModule_003E._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(-829358037)); + _202D_206D_202A_202A_200B_206A_200C_200F_200F_200D_202B_202B_206C_200F_202B_200C_202D_200E_206F_206A_206D_202A_206C_202E_200F_202A_206F_206D_200C_206E_202C_200E_202D_202C_206E_202D_200F_202B_206E_202A_202E(builder, ItemId.ToString()); + _202D_206D_202A_202A_200B_206A_200C_200F_200F_200D_202B_202B_206C_200F_202B_200C_202D_200E_206F_206A_206D_202A_206C_202E_200F_202A_206F_206D_200C_206E_202C_200E_202D_202C_206E_202D_200F_202B_206E_202A_202E(builder, global::_003CModule_003E._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(-755497586)); + _206D_202D_206A_200D_200D_202A_200E_200E_206A_206D_202E_202B_202B_202E_200D_202D_202A_206D_202B_200D_202D_202D_206D_202A_200F_200D_206F_206D_202B_206F_206F_206F_200D_200B_200D_202B_206D_206B_206D_206C_202E(builder, (object?)CompletionQuestVariablesFlags); + _202D_206D_202A_202A_200B_206A_200C_200F_200F_200D_202B_202B_206C_200F_202B_200C_202D_200E_206F_206A_206D_202A_206C_202E_200F_202A_206F_206D_200C_206E_202C_200E_202D_202C_206E_202D_200F_202B_206E_202A_202E(builder, global::_003CModule_003E._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(-1965435376)); + _202D_206D_202A_202A_200B_206A_200C_200F_200F_200D_202B_202B_206C_200F_202B_200C_202D_200E_206F_206A_206D_202A_206C_202E_200F_202A_206F_206D_200C_206E_202C_200E_202D_202C_206E_202D_200F_202B_206E_202A_202E(builder, StartingCombat.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(UseOnObject? other) + { + int num = (((object)this == other) ? (-2092737050) : (-2092737056)); + while (true) + { + int num2 = num; + int num3 = -2092737051; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return EqualityComparer.Default.Equals(StartingCombat, other.StartingCombat); + case 8: + num = ((!EqualityComparer.Default.Equals(QuestId, other.QuestId)) ? (-2092737054) : (-2092737055)); + break; + case 7: + return false; + case 3: + return true; + case 5: + num = (((object)other == null) ? (-2092737054) : (-2092737049)); + break; + case 9: + num = ((!EqualityComparer>.Default.Equals(CompletionQuestVariablesFlags, other.CompletionQuestVariablesFlags)) ? (-2092737054) : (-2092737052)); + break; + case 0: + num = -2092737056; + break; + case 2: + num = ((!_206F_206B_206F_202E_202B_202B_202B_206C_202B_202C_206D_206B_202B_202C_202C_202B_206D_202A_206C_206E_206C_202E_202E_202A_206C_206C_202E_200E_200E_206C_202E_202C_202C_202A_206F_206B_206F_206E_200E_200D_202E(EqualityContract, other.EqualityContract)) ? (-2092737054) : (-2092737043)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? (-2092737054) : (-2092737044)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? (-2092737054) : (-2092737053)); + break; + } + } + } + + bool IEquatable.Equals(UseOnObject? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _206D_206C_200B_206B_206F_202B_206B_206E_200F_202E_200F_206A_206D_206F_206B_202B_200D_200C_206A_206B_206C_202C_200C_200B_206C_202E_202D_206F_202D_206D_202E_202D_202B_206C_206B_200B_206C_200C_200B_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206A_206B_202C_202A_206B_200C_206A_202A_206A_206F_206C_206A_202B_202D_206F_202B_202C_200B_202A_206C_200D_206C_202E_202E_200F_200C_200E_206A_202E_202D_206A_200F_202D_206C_202E_206F_206C_206C_202E_200E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _202D_206D_202A_202A_200B_206A_200C_200F_200F_200D_202B_202B_206C_200F_202B_200C_202D_200E_206F_206A_206D_202A_206C_202E_200F_202A_206F_206D_200C_206E_202C_200E_202D_202C_206E_202D_200F_202B_206E_202A_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _206D_202D_206A_200D_200D_202A_200E_200E_206A_206D_202E_202B_202B_202E_200D_202D_202A_206D_202B_200D_202D_202D_206D_202A_200F_200D_206F_206D_202B_206F_206F_206F_200D_200B_200D_202B_206D_206B_206D_206C_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _206F_206B_206F_202E_202B_202B_202B_206C_202B_202C_206D_206B_202B_202C_202C_202B_206D_202A_206C_206E_206C_202E_202E_202A_206C_206C_202E_200E_200E_206C_202E_202C_202C_202A_206F_206B_206F_206E_200E_200D_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; } } @@ -271,9 +1066,112 @@ internal static class UseItem internal sealed record UseOnSelf(ElementId? QuestId, uint ItemId, IList CompletionQuestVariablesFlags, bool StartingCombat = false) : IUseItemBase, ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200E_206F_206A_206A_206E_202E_200D_206D_200E_206A_206F_202C_200C_200E_206C_202E_200F_206B_200E_200C_206D_202A_206D_206E_202B_200F_200B_200D_202E_202E_206A_206F_202D_202E_200C_200C_202D_200D_206C_200C_202E(typeof(UseOnSelf).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"UseItem({ItemId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1918970186)); + defaultInterpolatedStringHandler.AppendFormatted(ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_200E_200B_200E_200B_200F_202A_200F_200C_202A_202E_206A_206A_202B_206A_200B_202B_200B_206D_206C_200B_202A_200B_206B_200B_206E_202C_202D_200E_206C_206D_202D_206E_206E_200D_202E_202C_202C_200F_202B_202E(); + _200B_206E_206C_206C_206B_206F_202C_206E_206B_200D_206A_206B_200D_206D_202B_202B_206D_202B_202E_200D_202E_202D_206B_202D_202A_200F_206E_202C_202B_200B_202B_200F_202A_202E_200E_206D_202D_200D_202B_206A_202E(builder, global::_003CModule_003E._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(65254652)); + _200F_202A_206C_202E_200D_202B_202C_206B_206E_200D_200C_202E_200C_206B_200F_200F_202E_206C_202E_206C_202D_202B_202C_206E_202A_202A_200D_206F_202C_202C_202C_202E_206D_200D_206B_200E_202D_202A_200C_202A_202E(builder, (object?)QuestId); + _200B_206E_206C_206C_206B_206F_202C_206E_206B_200D_206A_206B_200D_206D_202B_202B_206D_202B_202E_200D_202E_202D_206B_202D_202A_200F_206E_202C_202B_200B_202B_200F_202A_202E_200E_206D_202D_200D_202B_206A_202E(builder, global::_003CModule_003E._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(-829358037)); + _200B_206E_206C_206C_206B_206F_202C_206E_206B_200D_206A_206B_200D_206D_202B_202B_206D_202B_202E_200D_202E_202D_206B_202D_202A_200F_206E_202C_202B_200B_202B_200F_202A_202E_200E_206D_202D_200D_202B_206A_202E(builder, ItemId.ToString()); + _200B_206E_206C_206C_206B_206F_202C_206E_206B_200D_206A_206B_200D_206D_202B_202B_206D_202B_202E_200D_202E_202D_206B_202D_202A_200F_206E_202C_202B_200B_202B_200F_202A_202E_200E_206D_202D_200D_202B_206A_202E(builder, global::_003CModule_003E._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(1595351351)); + _200F_202A_206C_202E_200D_202B_202C_206B_206E_200D_200C_202E_200C_206B_200F_200F_202E_206C_202E_206C_202D_202B_202C_206E_202A_202A_200D_206F_202C_202C_202C_202E_206D_200D_206B_200E_202D_202A_200C_202A_202E(builder, (object?)CompletionQuestVariablesFlags); + _200B_206E_206C_206C_206B_206F_202C_206E_206B_200D_206A_206B_200D_206D_202B_202B_206D_202B_202E_200D_202E_202D_206B_202D_202A_200F_206E_202C_202B_200B_202B_200F_202A_202E_200E_206D_202D_200D_202B_206A_202E(builder, global::_003CModule_003E._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(-1628171030)); + _200B_206E_206C_206C_206B_206F_202C_206E_206B_200D_206A_206B_200D_206D_202B_202B_206D_202B_202E_200D_202E_202D_206B_202D_202A_200F_206E_202C_202B_200B_202B_200F_202A_202E_200E_206D_202D_200D_202B_206A_202E(builder, StartingCombat.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(UseOnSelf? other) + { + int num = (((object)this == other) ? (-911350056) : (-911350055)); + while (true) + { + int num2 = num; + int num3 = -911350050; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return false; + case 5: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? (-911350051) : (-911350050)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(QuestId, other.QuestId)) ? (-911350051) : (-911350053)); + break; + case 8: + num = ((!_206D_206D_200E_202B_202E_200B_206F_206E_202E_206E_200B_206D_200F_206F_206B_200E_200C_202C_202E_200C_200D_202C_206C_200C_200F_200C_206A_202E_206E_206F_206C_206E_202B_206C_202A_200E_202D_206A_202D_200C_202E(EqualityContract, other.EqualityContract)) ? (-911350051) : (-911350049)); + break; + case 2: + return EqualityComparer.Default.Equals(StartingCombat, other.StartingCombat); + case 6: + return true; + case 7: + num = (((object)other == null) ? (-911350051) : (-911350058)); + break; + case 4: + num = -911350055; + break; + case 0: + num = ((!EqualityComparer>.Default.Equals(CompletionQuestVariablesFlags, other.CompletionQuestVariablesFlags)) ? (-911350051) : (-911350052)); + break; + } + } + } + + bool IEquatable.Equals(UseOnSelf? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _200E_206F_206A_206A_206E_202E_200D_206D_200E_206A_206F_202C_200C_200E_206C_202E_200F_206B_200E_200C_206D_202A_206D_206E_202B_200F_200B_200D_202E_202E_206A_206F_202D_202E_200C_200C_202D_200D_206C_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206C_200E_200B_200E_200B_200F_202A_200F_200C_202A_202E_206A_206A_202B_206A_200B_202B_200B_206D_206C_200B_202A_200B_206B_200B_206E_202C_202D_200E_206C_206D_202D_206E_206E_200D_202E_202C_202C_200F_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _200B_206E_206C_206C_206B_206F_202C_206E_206B_200D_206A_206B_200D_206D_202B_202B_206D_202B_202E_200D_202E_202D_206B_202D_202A_200F_206E_202C_202B_200B_202B_200F_202A_202E_200E_206D_202D_200D_202B_206A_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _200F_202A_206C_202E_200D_202B_202C_206B_206E_200D_200C_202E_200C_206B_200F_200F_202E_206C_202E_206C_202D_202B_202C_206E_202A_202A_200D_206F_202C_202C_202C_202E_206D_200D_206B_200E_202D_202A_200C_202A_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _206D_206D_200E_202B_202E_200B_206F_206E_202E_206E_200B_206D_200F_206F_206B_200E_200C_202C_202E_200C_200D_202C_206C_200C_200F_200C_206A_202E_206E_206F_206C_206E_202B_206C_202A_200E_202D_206A_202D_200C_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; } } diff --git a/Questionable/Questionable.Controller.Steps.Movement/LandExecutor.cs b/Questionable/Questionable.Controller.Steps.Movement/LandExecutor.cs index 090f0962..c14b2259 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/LandExecutor.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/LandExecutor.cs @@ -1,5 +1,8 @@ using System; +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.Game.Character; @@ -11,51 +14,128 @@ internal sealed class LandExecutor(IObjectTable objectTable, ICondition conditio { private bool _landing; - private DateTime _continueAt; + private long _continueAt; + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - if (!condition[ConditionFlag.InFlight]) + int num = (_206F_200C_200B_202A_202A_200E_206B_200D_200F_202D_206F_202D_206B_206D_202E_200B_206E_206A_202B_202D_202C_206B_206B_206E_200E_206C_206D_206E_200E_206A_206A_206C_202C_202B_200C_202A_206F_200F_206B_206C_202E(condition, ConditionFlag.InFlight) ? 1222817093 : 1222817094); + while (true) { - logger.LogInformation("Not flying, not attempting to land"); - return false; + int num2 = num; + int num3 = 1222817092; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _landing = AttemptLanding(); + _continueAt = _202B_202D_200D_206B_206F_206D_200D_206D_206C_202D_202E_202B_200E_202B_200B_206B_206D_206B_206A_200B_202A_202B_206F_200D_200F_206F_202D_200F_206C_202B_200C_202C_206E_202A_200E_200B_206E_202C_200D_200D_202E() + 250; + return true; + case 2: + _206C_206E_200B_202E_200E_200D_202E_206C_200B_200C_202D_202B_200E_206D_200B_206E_206F_202B_202D_200E_200D_206A_200C_200C_202C_202E_200D_206F_200C_206A_206F_206D_202A_200F_202D_200B_200D_202A_202A_200D_202E((ILogger)logger, global::_003CModule_003E._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(568911902), Array.Empty()); + return false; + case 0: + goto IL_0089; + } + continue; + IL_0089: + num = 1222817094; } - _landing = AttemptLanding(); - _continueAt = DateTime.Now.AddSeconds(0.25); - return true; } public override ETaskResult Update() { - if (DateTime.Now < _continueAt) + int num = ((_202B_202D_200D_206B_206F_206D_200D_206D_206C_202D_202E_202B_200E_202B_200B_206B_206D_206B_206A_200B_202A_202B_206F_200D_200F_206F_202D_200F_206C_202B_200C_202C_206E_202A_200E_200B_206E_202C_200D_200D_202E() >= _continueAt) ? (-1155847244) : (-1155847247)); + while (true) { - return ETaskResult.StillRunning; - } - if (condition[ConditionFlag.InFlight]) - { - if (!_landing) + int num2 = num; + int num3 = -1155847244; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 4: + return ETaskResult.TaskComplete; + case 5: + return ETaskResult.StillRunning; + case 6: + num = (_landing ? (-1155847243) : (-1155847241)); + break; + case 0: + num = ((!_206F_200C_200B_202A_202A_200E_206B_200D_200F_202D_206F_202D_206B_206D_202E_200B_206E_206A_202B_202D_202C_206B_206B_206E_200E_206C_206D_206E_200E_206A_206A_206C_202C_202B_200C_202A_206F_200F_206B_206C_202E(condition, ConditionFlag.InFlight)) ? (-1155847248) : (-1155847246)); + break; + case 1: + return ETaskResult.StillRunning; + case 2: + num = -1155847247; + break; + case 3: _landing = AttemptLanding(); - _continueAt = DateTime.Now.AddSeconds(0.25); + _continueAt = _202B_202D_200D_206B_206F_206D_200D_206D_206C_202D_202E_202B_200E_202B_200B_206B_206D_206B_206A_200B_202A_202B_206F_200D_200F_206F_202D_200F_206C_202B_200C_202C_206E_202A_200E_200B_206E_202C_200D_200D_202E() + 250; + num = -1155847243; + break; } - return ETaskResult.StillRunning; } - return ETaskResult.TaskComplete; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe bool AttemptLanding() { - Character* ptr = (Character*)(objectTable[0]?.Address ?? 0); - if (ptr != null && ActionManager.Instance()->GetActionStatus(ActionType.GeneralAction, 23u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) + IPlayerCharacter playerCharacter = _200E_206D_206D_200C_200C_202B_202B_202C_200C_202A_206F_206A_200E_202C_200D_206D_202E_200D_202D_206D_202E_202B_200C_200B_206B_206E_200F_206D_202A_206B_200B_206A_200D_202C_206D_200B_200B_202B_206A_202C_202E(objectTable); + Character* ptr = (Character*)((playerCharacter != null) ? _206C_202E_202A_200C_206E_202C_206B_202B_202D_206C_206E_200F_206B_202A_200E_202E_202E_206D_200F_206B_202E_206B_200E_202E_200C_206F_202B_206C_200F_202E_206D_206A_200D_202C_206B_200E_202C_206D_200F_202E((IGameObject)playerCharacter) : 0); + int num = ((ptr == null) ? (-1147951571) : (-1147951570)); + while (true) { - logger.LogInformation("Attempting to land"); - return ActionManager.Instance()->UseAction(ActionType.GeneralAction, 23u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + int num2 = num; + int num3 = -1147951569; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + num = ((ActionManager.Instance()->GetActionStatus(ActionType.GeneralAction, 23u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) != 0) ? (-1147951571) : (-1147951569)); + break; + case 0: + _206C_206E_200B_202E_200E_200D_202E_206C_200B_200C_202D_202B_200E_206D_200B_206E_206F_202B_202D_200E_200D_206A_200C_200C_202C_202E_200D_206F_200C_206A_206F_206D_202A_200F_202D_200B_200D_202A_202A_200D_202E((ILogger)logger, global::_003CModule_003E._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(1670122022), Array.Empty()); + return ActionManager.Instance()->UseAction(ActionType.GeneralAction, 23u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + case 3: + num = -1147951570; + break; + } } - return false; } public override bool ShouldInterruptOnDamage() { return false; } + + static bool _206F_200C_200B_202A_202A_200E_206B_200D_200F_202D_206F_202D_206B_206D_202E_200B_206E_206A_202B_202D_202C_206B_206B_206E_200E_206C_206D_206E_200E_206A_206A_206C_202C_202B_200C_202A_206F_200F_206B_206C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static void _206C_206E_200B_202E_200E_200D_202E_206C_200B_200C_202D_202B_200E_206D_200B_206E_206F_202B_202D_200E_200D_206A_200C_200C_202C_202E_200D_206F_200C_206A_206F_206D_202A_200F_202D_200B_200D_202A_202A_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static long _202B_202D_200D_206B_206F_206D_200D_206D_206C_202D_202E_202B_200E_202B_200B_206B_206D_206B_206A_200B_202A_202B_206F_200D_200F_206F_202D_200F_206C_202B_200C_202C_206E_202A_200E_200B_206E_202C_200D_200D_202E() + { + return Environment.TickCount64; + } + + static IPlayerCharacter _200E_206D_206D_200C_200C_202B_202B_202C_200C_202A_206F_206A_200E_202C_200D_206D_202E_200D_202D_206D_202E_202B_200C_200B_206B_206E_200F_206D_202A_206B_200B_206A_200D_202C_206D_200B_200B_202B_206A_202C_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static nint _206C_202E_202A_200C_206E_202C_206B_202B_202D_206C_206E_200F_206B_202A_200E_202E_202E_206D_200F_206B_202E_206B_200E_202E_200C_206F_202B_206C_200F_202E_206D_206A_200D_202C_206B_200E_202C_206D_200F_202E(IGameObject P_0) + { + return P_0.Address; + } } diff --git a/Questionable/Questionable.Controller.Steps.Movement/LandTask.cs b/Questionable/Questionable.Controller.Steps.Movement/LandTask.cs index 9557f85e..c637c69f 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/LandTask.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/LandTask.cs @@ -1,3 +1,5 @@ +using System.Runtime.CompilerServices; + namespace Questionable.Controller.Steps.Movement; internal sealed class LandTask : ITask @@ -7,8 +9,15 @@ internal sealed class LandTask : ITask return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "Land"; + return global::_003CModule_003E._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(1439831950); } } diff --git a/Questionable/Questionable.Controller.Steps.Movement/MoveExecutor.cs b/Questionable/Questionable.Controller.Steps.Movement/MoveExecutor.cs index bbc96a09..f2af0a29 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/MoveExecutor.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/MoveExecutor.cs @@ -1,8 +1,13 @@ using System; using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Globalization; +using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; 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 +19,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 +47,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; @@ -64,218 +84,695 @@ internal sealed class MoveExecutor : TaskExecutor, IToastAware, ITaskE private void PrepareMovementIfNeeded() { - if (!_gameFunctions.IsFlyingUnlocked(base.Task.TerritoryId)) + int num = (_gameFunctions.IsFlyingUnlocked(base.Task.TerritoryId) ? (-1370225021) : (-1370225018)); + while (true) { - base.Task = base.Task with + int num2 = num; + int num3 = -1370225017; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - Fly = false, - Land = false - }; + case 4: + num = (base.Task.DisableNavmesh ? (-1370225019) : (-1370225020)); + break; + case 3: + _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, base.Task.SmartNavRouted); + }; + return; + case 0: + num = -1370225018; + break; + case 2: + _startAction = delegate + { + MovementController movementController = _movementController; + uint? dataId = base.Task.DataId; + int num7 = 1; + List list = new List(num7); + CollectionsMarshal.SetCount(list, num7); + CollectionsMarshal.AsSpan(list)[0] = _destination; + movementController.NavigateTo(EMovementType.Quest, dataId, list, base.Task.Fly, base.Task.Sprint ?? (!_mountDuringMovement.HasValue), base.Task.StopDistance, base.Task.IgnoreDistanceToObject ? new float?(float.MaxValue) : ((float?)null), base.Task.Land); + }; + return; + case 1: + base.Task = base.Task with + { + Fly = false, + Land = false + }; + num = -1370225021; + break; + } } - if (!base.Task.DisableNavmesh) - { - _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); - }; - return; - } - _startAction = delegate - { - MovementController movementController = _movementController; - uint? dataId = base.Task.DataId; - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = _destination; - movementController.NavigateTo(EMovementType.Quest, dataId, list, base.Task.Fly, base.Task.Sprint ?? (!_mountDuringMovement.HasValue), base.Task.StopDistance, base.Task.IgnoreDistanceToObject ? new float?(float.MaxValue) : ((float?)null), base.Task.Land); - }; } + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - _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) + int num = ((_206F_206B_206A_200C_206B_206C_206D_206B_202E_202D_206E_202C_200F_206B_206E_206C_200D_206F_200D_202E_202C_206C_206A_202B_202D_200C_202E_206B_206D_200F_200C_202D_206E_200E_200C_200D_206B_202E_202D_206B_202E(_clientState) == base.Task.TerritoryId) ? 555789073 : 555789093); + Questionable.Controller.Steps.Common.Mount.MountTask mountTask = default(Questionable.Controller.Steps.Common.Mount.MountTask); + long retryAtMs = default(long); + (Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask)? tuple = default((Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask)?); + float num13 = default(float); + float num9 = default(float); + Vector3? vector = default(Vector3?); + bool flag = default(bool); + float num12 = default(float); + while (true) { - PrepareMovementIfNeeded(); - } - if (base.Task.Mount == true) - { - 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); - if (!_mountBeforeMovement.Value.Executor.Start(mountTask)) + int num2 = num; + int num3 = 555789056; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + float num8; + float num10; + int num11; + int num7; + float num14; + Questionable.Controller.Steps.Common.Mount.EMountIf mountIf; + switch (num5 - (num6 + num6)) { + case 25: + num = ((_mountEvaluator.EvaluateMountState(mountTask, dryRun: true, ref retryAtMs) == Questionable.Controller.Steps.Common.Mount.MountResult.DontMount) ? 555789082 : 555789060); + break; + case 17: + _canRestart = base.Task.RestartNavigation; + _destination = base.Task.Destination; + num = ((!_202C_206A_206F_202B_202C_200B_206F_206B_200E_200B_206C_200C_202E_202E_206E_200F_202E_200D_202D_200D_200D_200E_202E_202C_202C_200E_206A_206B_202B_200C_206B_200C_202C_200E_200F_200F_206C_202D_202C_202E_202E(_aetheryteData).Any(delegate(KeyValuePair kvp) + { + int num15 = ((!_202E_206C_200D_206A_202E_200C_200C_206E_202D_206D_202D_202C_206C_200E_200E_200B_206C_200B_206A_200E_202E_202D_202B_202A_206F_200D_200D_200B_200E_202B_206D_206C_202A_202D_202A_200E_202D_206E_200F_200C_202E(kvp.Key)) ? (-1307834011) : (-1307834010)); + while (true) + { + int num16 = num15; + int num17 = -1307834009; + int num18 = num16; + int num19 = num18 + num17; + int num20 = num18 & num17; + switch (num19 - (num20 + num20)) + { + case 0: + goto IL_004e; + case 2: + return false; + case 1: + return Vector3.Distance(kvp.Value, _destination) < 1f; + } + continue; + IL_004e: + num15 = -1307834010; + } + })) ? 555789087 : 555789080); + break; + case 37: + _202D_200E_206D_206C_202B_206E_206B_206E_202E_206B_206B_206B_202C_200B_200D_200D_206B_200F_202A_202B_200D_202D_200B_202A_206C_200B_206B_206C_206E_202C_200C_202E_206B_206D_200B_202D_200F_202D_202E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-1454798504), new object[2] + { + _206F_206B_206A_200C_206B_206C_206D_206B_202E_202D_206E_202C_200F_206B_206E_206C_200D_206F_200D_202E_202C_206C_206A_202B_202D_200C_202E_206B_206D_200F_200C_202D_206E_200E_200C_200D_206B_202E_202D_206B_202E(_clientState), + base.Task.TerritoryId + }); + return false; + case 19: + _202D_200E_206D_206C_202B_206E_206B_206E_202E_206B_206B_206B_202C_200B_200D_200D_206B_200F_202A_202B_200D_202D_200B_202A_206C_200B_206B_206C_206E_202C_200C_202E_206B_206D_200B_202D_200F_202D_202E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-1423606109), Array.Empty()); + base.Task = base.Task with + { + Fly = false, + Land = false + }; + num = 555789068; + break; + case 39: + { + Questionable.Controller.Steps.Common.Mount.UnmountTask unmountTask2 = new Questionable.Controller.Steps.Common.Mount.UnmountTask(); + _unmountBeforeMovement = (_serviceProvider.GetRequiredService(), unmountTask2); + num = (_unmountBeforeMovement.Value.Executor.Start(unmountTask2) ? 555789068 : 555789091); + break; + } + case 36: + { + 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); + num = (_mountBeforeMovement.Value.Executor.Start(mountTask2) ? 555789068 : 555789056); + break; + } + case 14: + return true; + case 4: + tuple = (_serviceProvider.GetRequiredService(), mountTask); + tuple.Value.Item1.Start(mountTask); + num = 555789076; + break; + case 21: + num = (base.Task.DisableNavmesh ? 555789068 : 555789067); + break; + case 8: + num = (_200E_206B_202B_202C_206C_200B_200E_206E_202B_202C_206C_200F_206F_206D_202E_206A_200B_206F_200F_200D_206A_206F_206E_200F_200F_200E_200E_200F_202E_202B_206D_202B_206F_202D_206B_200F_206F_206C_200C_202E(_condition, ConditionFlag.Mounted) ? 555789068 : 555789075); + break; + case 40: + base.Task = base.Task with + { + StopDistance = num13 + }; + num = 555789087; + break; + case 23: _mountBeforeMovement = null; - } - } - else if (base.Task.Mount == false) - { - Questionable.Controller.Steps.Common.Mount.UnmountTask unmountTask = new Questionable.Controller.Steps.Common.Mount.UnmountTask(); - _unmountBeforeMovement = (_serviceProvider.GetRequiredService(), unmountTask); - if (!_unmountBeforeMovement.Value.Executor.Start(unmountTask)) - { - _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) - { - tuple = (_serviceProvider.GetRequiredService(), mountTask2); - tuple.Value.Item1.Start(mountTask2); - } - else - { + num = 555789068; + break; + case 7: + num8 = float.MaxValue; + goto IL_03b1; + case 12: + num = (_mountBeforeMovement.HasValue ? 555789070 : 555789094); + break; + case 29: + PrepareMovementIfNeeded(); + num = 555789090; + break; + case 18: + num = ((base.Task.Mount != true) ? 555789084 : 555789092); + break; + case 38: + num = (_unmountBeforeMovement.HasValue ? 555789070 : 555789072); + break; + case 1: + base.Task = base.Task with + { + Fly = true, + Land = true + }; + num = 555789058; + break; + case 26: tuple = null; - } - if (base.Task.Fly) + num = 555789076; + break; + case 33: + num10 = _configuration.Navigation.MountFlyDistance; + goto IL_04b5; + case 31: { + num9 = base.Task.StopDistance ?? 3f; + IPlayerCharacter playerCharacter = _202A_202D_200B_206D_200F_200C_202D_202B_206F_206A_206B_200E_202E_206C_206E_206C_206B_200C_202B_200D_200F_206E_202D_206D_200F_202E_202D_200C_200F_206D_202B_200B_206A_202C_202B_200F_202C_200F_200C_202E(_objectTable); + vector = ((playerCharacter != null) ? new Vector3?(_200F_206B_200F_202B_202B_206F_200B_206C_202E_200C_200D_206A_206C_200E_206A_202E_202A_206B_202D_206F_202E_206E_202E_206E_200B_200E_200C_206B_200E_206F_206B_206D_202C_200E_206F_206C_200B_206F_206A_202C_202E((IGameObject)playerCharacter)) : ((Vector3?)null)); + num = ((!vector.HasValue) ? 555789063 : 555789061); + break; + } + case 22: + _startAction(); + num = 555789070; + break; + case 2: + num = (base.Task.Fly ? 555789089 : 555789062); + break; + case 11: + flag = _gameFunctions.IsFlyingUnlocked(base.Task.TerritoryId); + num = (base.Task.SmartNavRouted ? 555789071 : 555789086); + break; + case 5: + num8 = Vector3.Distance(vector.Value, _destination); + goto IL_03b1; + case 27: + num = ((!(num12 > _configuration.Navigation.MountFlyDistance)) ? 555789058 : 555789057); + break; + case 28: + num = ((base.Task.Mount != false) ? 555789077 : 555789095); + break; + case 10: _mountBeforeMovement = tuple; - } - else + num = (tuple.HasValue ? 555789068 : 555789064); + break; + case 42: + num11 = 0; + goto IL_067e; + case 24: + num13 = 7f; + num = ((!((base.Task.StopDistance ?? 3f) < num13)) ? 555789087 : 555789096); + break; + case 41: { + Questionable.Controller.Steps.Common.Mount.UnmountTask unmountTask = new Questionable.Controller.Steps.Common.Mount.UnmountTask(); + _unmountBeforeMovement = (_serviceProvider.GetRequiredService(), unmountTask); + num = (_unmountBeforeMovement.Value.Executor.Start(unmountTask) ? 555789068 : 555789069); + break; + } + case 44: + { + Questionable.Controller.Steps.Common.Mount.MountTask mountTask3 = new Questionable.Controller.Steps.Common.Mount.MountTask(base.Task.TerritoryId, Questionable.Controller.Steps.Common.Mount.EMountIf.Always); + _mountBeforeMovement = (_serviceProvider.GetRequiredService(), mountTask3); + num = (_mountBeforeMovement.Value.Executor.Start(mountTask3) ? 555789068 : 555789079); + break; + } + case 20: + num = ((!base.Task.Fly) ? 555789065 : 555789066); + break; + case 3: + num11 = 1; + goto IL_067e; + case 43: + num = ((!base.Task.DismountRequired) ? 555789074 : 555789097); + break; + case 6: + num10 = _configuration.Navigation.MountGroundDistance; + goto IL_04b5; + case 32: + num = 555789093; + break; + case 16: + num = ((_startAction == null) ? 555789070 : 555789078); + break; + case 9: _mountDuringMovement = tuple; + num = 555789068; + break; + case 15: + num7 = 0; + goto IL_089b; + case 30: + num7 = ((!base.Task.Fly) ? 1 : 0); + goto IL_089b; + case 13: + _unmountBeforeMovement = null; + num = 555789068; + break; + case 34: + num = ((!base.Task.MountRequired) ? 555789099 : 555789100); + break; + case 0: + _mountBeforeMovement = null; + num = 555789068; + break; + case 35: + { + _unmountBeforeMovement = null; + num = 555789068; + break; + } + IL_089b: + num = ((((uint)num7 & (flag ? 1u : 0u)) == 0) ? 555789058 : 555789083); + break; + IL_03b1: + num12 = num8; + num = ((!(num12 > num9)) ? 555789090 : 555789085); + break; + IL_04b5: + num14 = num10; + num = ((num12 > num14) ? 555789098 : 555789059); + break; + IL_067e: + mountIf = (Questionable.Controller.Steps.Common.Mount.EMountIf)num11; + mountTask = new Questionable.Controller.Steps.Common.Mount.MountTask(base.Task.TerritoryId, mountIf, _destination); + retryAtMs = 0L; + num = (_200E_206B_202B_202C_206C_200B_200E_206E_202B_202C_206C_200F_206F_206D_202E_206A_200B_206F_200F_200D_206A_206F_206E_200F_200F_200E_200E_200F_202E_202B_206D_202B_206F_202D_206B_200F_206F_206C_200C_202E(_condition, ConditionFlag.Mounted) ? 555789082 : 555789081); + break; } } - if (!_mountBeforeMovement.HasValue && !_unmountBeforeMovement.HasValue && _startAction != null) - { - _startAction(); - } - return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { ETaskResult? eTaskResult = UpdateMountState(); - if (eTaskResult.HasValue) + int num = ((!eTaskResult.HasValue) ? 1297828071 : 1297828057); + IGameObject gameObject = default(IGameObject); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + float num7 = default(float); + float num9 = default(float); + while (true) { - return eTaskResult.GetValueOrDefault(); - } - if (_startAction == null) - { - return ETaskResult.TaskComplete; - } - if (_movementController.IsPathfinding || _movementController.IsPathRunning) - { - return ETaskResult.StillRunning; - } - DateTime movementStartedAt = _movementController.MovementStartedAt; - if (movementStartedAt == DateTime.MaxValue || movementStartedAt.AddSeconds(2.0) >= DateTime.Now) - { - return ETaskResult.StillRunning; - } - IGameObject gameObject = _objectTable[0]; - if (_canRestart && gameObject != null && Vector3.Distance(gameObject.Position, _destination) > (base.Task.StopDistance ?? 3f) + 5f) - { - _canRestart = false; - if (_clientState.TerritoryType == base.Task.TerritoryId) + int num2 = num; + int num3 = 1297828090; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _logger.LogInformation("Looks like movement was interrupted, re-attempting to move"); + case 24: + gameObject = _gameFunctions.FindObjectByDataId(base.Task.DataId.Value, null, warnIfMissing: false); + num = ((gameObject == null) ? 1297828091 : 1297828078); + break; + case 10: + num = (_adjustedToObject ? 1297828056 : 1297828069); + break; + case 25: + num = ((!(Vector3.Distance(_200F_206B_200F_202B_202B_206F_200B_206C_202E_200C_200D_206A_206C_200E_206A_202E_202A_206B_202D_206F_202E_206E_202E_206E_200B_200E_200C_206B_200E_206F_206B_206D_202C_200E_206F_206C_200B_206F_206A_202C_202E((IGameObject)playerCharacter), _destination) > num7 + 5f)) ? 1297828094 : 1297828095); + break; + case 33: + num = 1297828057; + break; + case 0: + playerCharacter = _202A_202D_200B_206D_200F_200C_202D_202B_206F_206A_206B_200E_202E_206C_206E_206C_206B_200C_202B_200D_200F_206E_202D_206D_200F_202E_202D_200C_200F_206D_202B_200B_206A_202C_202B_200F_202C_200F_200C_202E(_objectTable); + num7 = base.Task.StopDistance ?? 3f; + num = ((!base.Task.Fly) ? 1297828076 : 1297828082); + break; + case 38: + return ETaskResult.StillRunning; + case 1: + num = ((!_canRestart) ? 1297828094 : 1297828058); + break; + case 27: + num = ((_206F_206B_206A_200C_206B_206C_206D_206B_202E_202D_206E_202C_200F_206B_206E_206C_200D_206F_200D_202E_202C_206C_206A_202B_202D_200C_202E_206B_206D_200F_200C_202D_206E_200E_200C_200D_206B_202E_202D_206B_202E(_clientState) != base.Task.TerritoryId) ? 1297828091 : 1297828066); + break; + case 22: + num = ((!base.Task.DataId.HasValue) ? 1297828091 : 1297828050); + break; + case 2: + num = ((playerCharacter == null) ? 1297828091 : 1297828089); + break; + case 12: + { + Vector3 vector = _200F_206B_200F_202B_202B_206F_200B_206C_202E_200C_200D_206A_206C_200E_206A_202E_202A_206B_202D_206F_202E_206E_202E_206E_200B_200E_200C_206B_200E_206F_206B_206D_202C_200E_206F_206C_200B_206F_206A_202C_202E((IGameObject)playerCharacter); + vector.Y = _200F_206B_200F_202B_202B_206F_200B_206C_202E_200C_200D_206A_206C_200E_206A_202E_202A_206B_202D_206F_202E_206E_202E_206E_200B_200E_200C_206B_200E_206F_206B_206D_202C_200E_206F_206C_200B_206F_206A_202C_202E((IGameObject)playerCharacter).Y - 100f; + Vector3 vector2 = vector; + _descendAttempted = true; + _202D_200E_206D_206C_202B_206E_206B_206E_202E_206B_206B_206B_202C_200B_200D_200D_206B_200F_202A_202B_200D_202D_200B_202A_206C_200B_206B_206C_206E_202C_200C_202E_206B_206D_200B_202D_200F_202D_202E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1934924918), new object[1] { vector2.ToString(global::_003CModule_003E._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(-1318690943), _206E_200D_202A_200B_202B_200B_206F_200D_202A_206A_200D_200E_202B_206B_200D_200D_202A_206C_200B_200C_206B_206E_202C_206B_200B_206A_200C_202E_206A_202C_202E_206B_206F_200F_202A_206B_200E_202A_200E_202B_202E()) }); + MovementController movementController2 = _movementController; + uint? dataId2 = base.Task.DataId; + int num10 = 1; + List list = new List(num10); + CollectionsMarshal.SetCount(list, num10); + CollectionsMarshal.AsSpan(list)[0] = vector2; + movementController2.NavigateTo(EMovementType.Landing, dataId2, list, fly: true, sprint: false, null); + return ETaskResult.StillRunning; + } + case 4: + num = ((!base.Task.SmartNavRouted) ? 1297828056 : 1297828080); + break; + case 31: + num = ((playerCharacter == null) ? 1297828056 : 1297828075); + break; + case 37: + _202D_200E_206D_206C_202B_206E_206B_206E_202E_206B_206B_206B_202C_200B_200D_200D_206B_200F_202A_202B_200D_202D_200B_202A_206C_200B_206B_206C_206E_202C_200C_202E_206B_206D_200B_202D_200F_202D_202E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-541407425), new object[2] + { + _206F_206B_206A_200C_206B_206C_206D_206B_202E_202D_206E_202C_200F_206B_206E_206C_200D_206F_200D_202E_202C_206C_206A_202B_202D_200C_202E_206B_206D_200F_200C_202D_206E_200E_200C_200D_206B_202E_202D_206B_202E(_clientState), + base.Task.TerritoryId + }); + return ETaskResult.TaskComplete; + case 39: + num = ((!(Vector3.Distance(_200F_206B_200F_202B_202B_206F_200B_206C_202E_200C_200D_206A_206C_200E_206A_202E_202A_206B_202D_206F_202E_206E_202E_206E_200B_200E_200C_206B_200E_206F_206B_206D_202C_200E_206F_206C_200B_206F_206A_202C_202E((IGameObject)playerCharacter), _destination) > num7)) ? 1297828076 : 1297828048); + break; + case 32: + num = ((playerCharacter == null) ? 1297828094 : 1297828067); + break; + case 7: + num = (_movementController.HasBeenMovingForAtLeast(2000) ? 1297828090 : 1297828079); + break; + case 40: + num = (_adjustedToObject ? 1297828091 : 1297828088); + break; + case 13: + num = ((!_movementController.IsPathRunning) ? 1297828093 : 1297828060); + break; + case 28: + _200E_200B_202E_206C_202B_206D_200B_200F_206F_206D_202D_202D_202E_206D_200E_206A_202A_202E_206F_206C_206F_202B_200B_206B_200C_206B_206F_202D_206C_202C_206B_206C_206F_200F_206F_202C_200F_202B_202B_200E_202E((ILogger)_logger, global::_003CModule_003E._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(-735281418), Array.Empty()); _startAction(); return ETaskResult.StillRunning; + case 26: + { + _206E_206E_206B_202B_202B_206B_206B_206E_206B_200C_200C_202C_206F_202D_200C_202D_202A_200E_206D_206B_200D_206B_206A_206F_202C_206B_206E_200B_200E_200E_206C_202E_206C_206A_200B_206C_200B_206E_206B_206D_202E((ILogger)_logger, global::_003CModule_003E._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(-2121260240), new object[2] + { + _206F_206B_206A_200C_206B_206C_206D_206B_202E_202D_206E_202C_200F_206B_206E_206C_200D_206F_200D_202E_202C_206C_206A_202B_202D_200C_202E_206B_206D_200F_200C_202D_206E_200E_200C_200D_206B_202E_202D_206B_202E(_clientState), + base.Task.TerritoryId + }); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(61, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(906699758)); + defaultInterpolatedStringHandler2.AppendFormatted(_206F_206B_206A_200C_206B_206C_206D_206B_202E_202D_206E_202C_200F_206B_206E_206C_200D_206F_200D_202E_202C_206C_206A_202B_202D_200C_202E_206B_206D_200F_200C_202D_206E_200E_200C_200D_206B_202E_202D_206B_202E(_clientState)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-768285248)); + defaultInterpolatedStringHandler2.AppendFormatted(base.Task.TerritoryId); + throw new MovementController.PathfindingFailedException(defaultInterpolatedStringHandler2.ToStringAndClear()); + } + case 36: + num = ((!_canRestart) ? 1297828076 : 1297828073); + break; + case 29: + num = ((_startAction != null) ? 1297828084 : 1297828085); + break; + case 11: + { + float num8 = Vector3.Distance(_200F_206B_200F_202B_202B_206F_200B_206C_202E_200C_200D_206A_206C_200E_206A_202E_202A_206B_202D_206F_202E_206E_202E_206E_200B_200E_200C_206B_200E_206F_206B_206D_202C_200E_206F_206C_200B_206F_206A_202C_202E((IGameObject)playerCharacter), _destination); + _206E_206E_206B_202B_202B_206B_206B_206E_206B_200C_200C_202C_206F_202D_200C_202D_202A_200E_206D_206B_200D_206B_206A_206F_202C_206B_206E_200B_200E_200E_206C_202E_206C_206A_200B_206C_200B_206E_206B_206D_202E((ILogger)_logger, global::_003CModule_003E._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(1052299229), new object[2] { num8, num7 }); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(55, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-145312253)); + defaultInterpolatedStringHandler.AppendFormatted(num8, global::_003CModule_003E._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(-1308263729)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1546666510)); + defaultInterpolatedStringHandler.AppendFormatted(num7, global::_003CModule_003E._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(-1819906059)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-572338381)); + throw new MovementController.PathfindingFailedException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 8: + num = ((!base.Task.Land) ? 1297828076 : 1297828062); + break; + case 30: + num = ((!_descendAttempted) ? 1297828083 : 1297828054); + break; + case 23: + _202D_200E_206D_206C_202B_206E_206B_206E_202E_206B_206B_206B_202C_200B_200D_200D_206B_200F_202A_202B_200D_202D_200B_202A_206C_200B_206B_206C_206E_202C_200C_202E_206B_206D_200B_202D_200F_202D_202E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-1933566981), Array.Empty()); + return ETaskResult.StillRunning; + case 19: + num = ((playerCharacter == null) ? 1297828076 : 1297828051); + break; + case 42: + num = ((!_200E_206B_202B_202C_206C_200B_200E_206E_202B_202C_206C_200F_206F_206D_202E_206A_200B_206F_200F_200D_206A_206F_206E_200F_200F_200E_200E_200F_202E_202B_206D_202B_206F_202D_206B_200F_206F_206C_200C_202E(_condition, ConditionFlag.InFlight)) ? 1297828092 : 1297828068); + break; + case 9: + num = (_movementController.IsNavmeshReady ? 1297828086 : 1297828077); + break; + case 17: + num = ((_206F_206B_206A_200C_206B_206C_206D_206B_202E_202D_206E_202C_200F_206B_206E_206C_200D_206F_200D_202E_202C_206C_206A_202B_202D_200C_202E_206B_206D_200F_200C_202D_206E_200E_200C_200D_206B_202E_202D_206B_202E(_clientState) != base.Task.TerritoryId) ? 1297828056 : 1297828072); + break; + case 21: + return ETaskResult.StillRunning; + case 35: + return eTaskResult.GetValueOrDefault(); + case 34: + return ETaskResult.TaskComplete; + case 20: + num9 = Vector3.Distance(_200F_206B_200F_202B_202B_206F_200B_206C_202E_200C_200D_206A_206C_200E_206A_202E_202A_206B_202D_206F_202E_206E_202E_206E_200B_200E_200C_206B_200E_206F_206B_206D_202C_200E_206F_206C_200B_206F_206A_202C_202E((IGameObject)playerCharacter), _200F_206B_200F_202B_202B_206F_200B_206C_202E_200C_200D_206A_206C_200E_206A_202E_202A_206B_202D_206F_202E_206E_202E_206E_200B_200E_200C_206B_200E_206F_206B_206D_202C_200E_206F_206C_200B_206F_206A_202C_202E(gameObject)); + num = ((!(num9 > num7)) ? 1297828091 : 1297828074); + break; + case 16: + _adjustedToObject = true; + _202D_200E_206D_206C_202B_206E_206B_206E_202E_206B_206B_206B_202C_200B_200D_200D_206B_200F_202A_202B_200D_202D_200B_202A_206C_200B_206B_206C_206E_202C_200C_202E_206B_206D_200B_202D_200F_202D_202E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(51562790), new object[1] { num9 }); + _movementController.NavigateTo(EMovementType.Quest, base.Task.DataId, _200F_206B_200F_202B_202B_206F_200B_206C_202E_200C_200D_206A_206C_200E_206A_202E_202A_206B_202D_206F_202E_206E_202E_206E_200B_200E_200C_206B_200E_206F_206B_206D_202C_200E_206F_206C_200B_206F_206A_202C_202E(gameObject), fly: false, sprint: false, base.Task.StopDistance); + return ETaskResult.StillRunning; + case 14: + num = (_movementController.IsPathfinding ? 1297828060 : 1297828087); + break; + case 44: + _206E_206E_206B_202B_202B_206B_206B_206E_206B_200C_200C_202C_206F_202D_200C_202D_202A_200E_206D_206B_200D_206B_206A_206F_202C_206B_206E_200B_200E_200E_206C_202E_206C_206A_200B_206C_200B_206E_206B_206D_202E((ILogger)_logger, global::_003CModule_003E._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(-790017102), Array.Empty()); + throw new MovementController.PathfindingFailedException(global::_003CModule_003E._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(1822331045)); + case 18: + num = ((!(Vector3.Distance(_200F_206B_200F_202B_202B_206F_200B_206C_202E_200C_200D_206A_206C_200E_206A_202E_202A_206B_202D_206F_202E_206E_202E_206E_200B_200E_200C_206B_200E_206F_206B_206D_202C_200E_206F_206C_200B_206F_206A_202C_202E((IGameObject)playerCharacter), _destination) > num7 + 5f)) ? 1297828056 : 1297828081); + break; + case 43: + num = ((!base.Task.AllowZoneTransition) ? 1297828064 : 1297828063); + break; + case 6: + { + _canRestart = false; + _202D_200E_206D_206C_202B_206E_206B_206E_202E_206B_206B_206B_202C_200B_200D_200D_206B_200F_202A_202B_200D_202D_200B_202A_206C_200B_206B_206C_206E_202C_200C_202E_206B_206D_200B_202D_200F_202D_202E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(452937443), Array.Empty()); + MovementController movementController = _movementController; + uint? dataId = base.Task.DataId; + Vector3 destination = _destination; + float? stopDistance = base.Task.StopDistance; + bool smartNavRouted = base.Task.SmartNavRouted; + movementController.NavigateTo(EMovementType.Quest, dataId, destination, fly: false, sprint: false, stopDistance, null, land: false, smartNavRouted); + return ETaskResult.StillRunning; + } + case 3: + num = (_200E_206B_202B_202C_206C_200B_200E_206E_202B_202C_206C_200F_206F_206D_202E_206A_200B_206F_200F_200D_206A_206F_206E_200F_200F_200E_200E_200F_202E_202B_206D_202B_206F_202D_206B_200F_206F_206C_200C_202E(_condition, ConditionFlag.InFlight) ? 1297828091 : 1297828065); + break; + case 41: + num = ((_206F_206B_206A_200C_206B_206C_206D_206B_202E_202D_206E_202C_200F_206B_206E_206C_200D_206F_200D_202E_202C_206C_206A_202B_202D_200C_202E_206B_206D_200F_200C_202D_206E_200E_200C_200D_206B_202E_202D_206B_202E(_clientState) != base.Task.TerritoryId) ? 1297828076 : 1297828061); + break; + case 5: + _canRestart = false; + num = ((_206F_206B_206A_200C_206B_206C_206D_206B_202E_202D_206E_202C_200F_206B_206E_206C_200D_206F_200D_202E_202C_206C_206A_202B_202D_200C_202E_206B_206D_200F_200C_202D_206E_200E_200C_200D_206B_202E_202D_206B_202E(_clientState) != base.Task.TerritoryId) ? 1297828049 : 1297828070); + break; + case 15: + return ETaskResult.TaskComplete; } - _logger.LogInformation("Looks like movement was interrupted, do nothing since we're in a different territory now"); } - return ETaskResult.TaskComplete; } + [MethodImpl(MethodImplOptions.NoInlining)] private ETaskResult? UpdateMountState() { - (Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask)? mountBeforeMovement = _mountBeforeMovement; - if (mountBeforeMovement.HasValue) + (Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask)? tuple = _mountBeforeMovement; + int num = ((!tuple.HasValue) ? 3060386 : 3060398); + (Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask) valueOrDefault = default((Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask)); + Questionable.Controller.Steps.Common.Mount.MountExecutor item = default(Questionable.Controller.Steps.Common.Mount.MountExecutor); + Questionable.Controller.Steps.Common.Mount.MountExecutor item3 = default(Questionable.Controller.Steps.Common.Mount.MountExecutor); + Questionable.Controller.Steps.Common.Mount.UnmountExecutor item2 = default(Questionable.Controller.Steps.Common.Mount.UnmountExecutor); + (Questionable.Controller.Steps.Common.Mount.UnmountExecutor, Questionable.Controller.Steps.Common.Mount.UnmountTask)? unmountBeforeMovement = default((Questionable.Controller.Steps.Common.Mount.UnmountExecutor, Questionable.Controller.Steps.Common.Mount.UnmountTask)?); + Questionable.Controller.Steps.Common.Mount.MountTask item4 = default(Questionable.Controller.Steps.Common.Mount.MountTask); + while (true) { - Questionable.Controller.Steps.Common.Mount.MountExecutor item = mountBeforeMovement.GetValueOrDefault().Item1; - if (item != null) + int num2 = num; + int num3 = 3060384; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - if (item.Update() == ETaskResult.TaskComplete) - { - _logger.LogInformation("MountBeforeMovement complete"); - _mountBeforeMovement = null; - _startAction?.Invoke(); - return null; - } + case 16: + return null; + case 12: + _202D_200E_206D_206C_202B_206E_206B_206E_202E_206B_206B_206B_202C_200B_200D_200D_206B_200F_202A_202B_200D_202D_200B_202A_206C_200B_206B_206C_206E_202C_200C_202E_206B_206D_200B_202D_200F_202D_202E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-1388598824), Array.Empty()); + _mountDuringMovement = null; + return null; + case 15: return ETaskResult.StillRunning; - } - } - (Questionable.Controller.Steps.Common.Mount.UnmountExecutor, Questionable.Controller.Steps.Common.Mount.UnmountTask)? unmountBeforeMovement = _unmountBeforeMovement; - if (unmountBeforeMovement.HasValue) - { - Questionable.Controller.Steps.Common.Mount.UnmountExecutor item2 = unmountBeforeMovement.GetValueOrDefault().Item1; - if (item2 != null) - { - if (item2.Update() == ETaskResult.TaskComplete) - { - _logger.LogInformation("UnmountBeforeMovement complete"); - _unmountBeforeMovement = null; - _startAction?.Invoke(); - return null; - } + case 8: + num = 3060398; + break; + case 10: return ETaskResult.StillRunning; - } - } - mountBeforeMovement = _mountDuringMovement; - if (mountBeforeMovement.HasValue) - { - (Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask) valueOrDefault = mountBeforeMovement.GetValueOrDefault(); - var (mountExecutor, _) = valueOrDefault; - if (mountExecutor != null) + case 4: + valueOrDefault = tuple.GetValueOrDefault(); + item = valueOrDefault.Item1; + num = ((item == null) ? 3060400 : 3060393); + break; + case 14: + item3 = tuple.GetValueOrDefault().Item1; + num = ((item3 == null) ? 3060386 : 3060384); + break; + case 6: + return null; + case 5: + item2 = unmountBeforeMovement.GetValueOrDefault().Item1; + num = ((item2 == null) ? 3060395 : 3060397); + break; + case 18: { - Questionable.Controller.Steps.Common.Mount.MountTask item3 = valueOrDefault.Item2; - if ((object)item3 != null) + long retryAtMs = 0L; + num = ((_mountEvaluator.EvaluateMountState(item4, dryRun: true, ref retryAtMs) != Questionable.Controller.Steps.Common.Mount.MountResult.DontMount) ? 3060401 : 3060396); + break; + } + case 20: + num = ((item.Update() != ETaskResult.TaskComplete) ? 3060402 : 3060385); + break; + case 1: + _202D_200E_206D_206C_202B_206E_206B_206E_202E_206B_206B_206B_202C_200B_200D_200D_206B_200F_202A_202B_200D_202D_200B_202A_206C_200B_206B_206C_206E_202C_200C_202E_206B_206D_200B_202D_200F_202D_202E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-1325578565), Array.Empty()); + _mountDuringMovement = null; + return null; + case 3: + { + _202D_200E_206D_206C_202B_206E_206B_206E_202E_206B_206B_206B_202C_200B_200D_200D_206B_200F_202A_202B_200D_202D_200B_202A_206C_200B_206B_206C_206E_202C_200C_202E_206B_206D_200B_202D_200F_202D_202E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(392554116), Array.Empty()); + _mountBeforeMovement = null; + System.Action? startAction2 = _startAction; + if (startAction2 == null) { - if (mountExecutor.Update() == ETaskResult.TaskComplete) - { - _logger.LogInformation("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) - { - _logger.LogInformation("MountDuringMovement implicitly complete (shouldn't mount anymore)"); - _mountDuringMovement = null; - return null; - } - return null; + goto case 6; } + startAction2(); + num = 3060390; + break; + } + case 2: + unmountBeforeMovement = _unmountBeforeMovement; + num = ((!unmountBeforeMovement.HasValue) ? 3060395 : 3060389); + break; + case 7: + return null; + case 19: + { + _202D_200E_206D_206C_202B_206E_206B_206E_202E_206B_206B_206B_202C_200B_200D_200D_206B_200F_202A_202B_200D_202D_200B_202A_206C_200B_206B_206C_206E_202C_200C_202E_206B_206D_200B_202D_200F_202D_202E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-319907060), Array.Empty()); + _unmountBeforeMovement = null; + System.Action? startAction = _startAction; + if (startAction == null) + { + goto case 7; + } + startAction(); + num = 3060391; + break; + } + case 9: + item4 = valueOrDefault.Item2; + num = (((object)item4 == null) ? 3060400 : 3060404); + break; + case 0: + num = ((item3.Update() != ETaskResult.TaskComplete) ? 3060399 : 3060387); + break; + case 17: + return null; + case 13: + num = ((item2.Update() != ETaskResult.TaskComplete) ? 3060394 : 3060403); + break; + case 11: + tuple = _mountDuringMovement; + num = ((!tuple.HasValue) ? 3060400 : 3060388); + break; } } - return null; } public override bool WasInterrupted() { - DateTime retryAt = DateTime.Now; - if (base.Task.Fly && _condition[ConditionFlag.InCombat] && !_condition[ConditionFlag.Mounted]) + long retryAtMs = 0L; + int num = ((!base.Task.Fly) ? (-794232927) : (-794232921)); + Questionable.Controller.Steps.Common.Mount.MountTask item = default(Questionable.Controller.Steps.Common.Mount.MountTask); + (Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask)? mountBeforeMovement = default((Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask)?); + while (true) { - (Questionable.Controller.Steps.Common.Mount.MountExecutor, Questionable.Controller.Steps.Common.Mount.MountTask)? mountBeforeMovement = _mountBeforeMovement; - if (mountBeforeMovement.HasValue) + int num2 = num; + int num3 = -794232922; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - 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) - { - return true; - } + case 0: + return true; + case 5: + num = (_200E_206B_202B_202C_206C_200B_200E_206E_202B_202C_206C_200F_206F_206D_202E_206A_200B_206F_200F_200D_206A_206F_206E_200F_200F_200E_200E_200F_202E_202B_206D_202B_206F_202D_206B_200F_206F_206C_200C_202E(_condition, ConditionFlag.Mounted) ? (-794232927) : (-794232926)); + break; + case 3: + num = ((_mountEvaluator.EvaluateMountState(item, dryRun: true, ref retryAtMs) != Questionable.Controller.Steps.Common.Mount.MountResult.WhenOutOfCombat) ? (-794232927) : (-794232922)); + break; + case 1: + num = ((!_200E_206B_202B_202C_206C_200B_200E_206E_202B_202C_206C_200F_206F_206D_202E_206A_200B_206F_200F_200D_206A_206F_206E_200F_200F_200E_200E_200F_202E_202B_206D_202B_206F_202D_206B_200F_206F_206C_200C_202E(_condition, ConditionFlag.InCombat)) ? (-794232927) : (-794232925)); + break; + case 7: + return base.WasInterrupted(); + case 4: + mountBeforeMovement = _mountBeforeMovement; + num = ((!mountBeforeMovement.HasValue) ? (-794232927) : (-794232924)); + break; + case 6: + num = -794232921; + break; + case 2: + item = mountBeforeMovement.GetValueOrDefault().Item2; + num = (((object)item == null) ? (-794232927) : (-794232923)); + break; } } - return base.WasInterrupted(); } public override bool ShouldInterruptOnDamage() { - if (!_mountBeforeMovement.HasValue) + int num = (_mountBeforeMovement.HasValue ? (-1609020690) : (-1609020689)); + while (true) { - return ShouldResolveCombatBeforeNextInteraction(); + int num2 = num; + int num3 = -1609020690; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return true; + case 1: + return ShouldResolveCombatBeforeNextInteraction(); + case 2: + goto IL_0054; + } + continue; + IL_0054: + num = -1609020689; } - return true; } private bool ShouldResolveCombatBeforeNextInteraction() @@ -285,10 +782,67 @@ 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, _202B_200B_202D_206B_206B_202D_202D_206D_200F_202B_202C_206F_202B_200B_200C_202E_206E_206E_200B_202C_206D_206E_206B_202E_202C_206A_206C_202B_206E_202E_206B_202E_206B_206A_206C_202D_200D_200C_202B_202C_202E(message)); + } + + bool IToastAware.OnErrorToast(SeString message) + { + //ILSpy generated this explicit interface implementation from .override directive in OnErrorToast + return this.OnErrorToast(message); + } + + static uint _206F_206B_206A_200C_206B_206C_206D_206B_202E_202D_206E_202C_200F_206B_206E_206C_200D_206F_200D_202E_202C_206C_206A_202B_202D_200C_202E_206B_206D_200F_200C_202D_206E_200E_200C_200D_206B_202E_202D_206B_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static void _202D_200E_206D_206C_202B_206E_206B_206E_202E_206B_206B_206B_202C_200B_200D_200D_206B_200F_202A_202B_200D_202D_200B_202A_206C_200B_206B_206C_206E_202C_200C_202E_206B_206D_200B_202D_200F_202D_202E_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static ReadOnlyDictionary _202C_206A_206F_202B_202C_200B_206F_206B_200E_200B_206C_200C_202E_202E_206E_200F_202E_200D_202D_200D_200D_200E_202E_202C_202C_200E_206A_206B_202B_200C_206B_200C_202C_200E_200F_200F_206C_202D_202C_202E_202E(AetheryteData P_0) + { + return P_0.Locations; + } + + static IPlayerCharacter _202A_202D_200B_206D_200F_200C_202D_202B_206F_206A_206B_200E_202E_206C_206E_206C_206B_200C_202B_200D_200F_206E_202D_206D_200F_202E_202D_200C_200F_206D_202B_200B_206A_202C_202B_200F_202C_200F_200C_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _200F_206B_200F_202B_202B_206F_200B_206C_202E_200C_200D_206A_206C_200E_206A_202E_202A_206B_202D_206F_202E_206E_202E_206E_200B_200E_200C_206B_200E_206F_206B_206D_202C_200E_206F_206C_200B_206F_206A_202C_202E(IGameObject P_0) + { + return P_0.Position; + } + + static bool _200E_206B_202B_202C_206C_200B_200E_206E_202B_202C_206C_200F_206F_206D_202E_206A_200B_206F_200F_200D_206A_206F_206E_200F_200F_200E_200E_200F_202E_202B_206D_202B_206F_202D_206B_200F_206F_206C_200C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static void _206E_206E_206B_202B_202B_206B_206B_206E_206B_200C_200C_202C_206F_202D_200C_202D_202A_200E_206D_206B_200D_206B_206A_206F_202C_206B_206E_200B_200E_200E_206C_202E_206C_206A_200B_206C_200B_206E_206B_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static CultureInfo _206E_200D_202A_200B_202B_200B_206F_200D_202A_206A_200D_200E_202B_206B_200D_200D_202A_206C_200B_200C_206B_206E_202C_206B_200B_206A_200C_202E_206A_202C_202E_206B_206F_200F_202A_206B_200E_202A_200E_202B_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _200E_200B_202E_206C_202B_206D_200B_200F_206F_206D_202D_202D_202E_206D_200E_206A_202A_202E_206F_206C_206F_202B_200B_206B_200C_206B_206F_202D_206C_202C_206B_206C_206F_200F_206F_202C_200F_202B_202B_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static string _202B_200B_202D_206B_206B_202D_202D_206D_200F_202B_202C_206F_202B_200B_200C_202E_206E_206E_200B_202C_206D_206E_206B_202E_202C_206A_206C_202B_206E_202E_206B_202E_206B_206A_206C_202D_200D_200C_202B_202C_202E(SeString P_0) + { + return P_0.TextValue; + } + + static bool _202E_206C_200D_206A_202E_200C_200C_206E_202D_206D_202D_202C_206C_200E_200E_200B_206C_200B_206A_200E_202E_202D_202B_202A_206F_200D_200D_200B_200E_202B_206D_206C_202A_202D_202A_200E_202D_206E_200F_200C_202E(EAetheryteLocation P_0) + { + return AetheryteConverter.IsLargeAetheryte(P_0); } } diff --git a/Questionable/Questionable.Controller.Steps.Movement/MoveTask.cs b/Questionable/Questionable.Controller.Steps.Movement/MoveTask.cs index e0c8c1bd..270c5f26 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/MoveTask.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/MoveTask.cs @@ -1,13 +1,27 @@ +using System; +using System.Collections.Generic; using System.Globalization; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; 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 { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200B_202D_206A_206A_206D_202A_206F_200E_202A_206A_202D_200F_200B_202E_202B_206B_202C_206F_202E_206F_202D_206A_200C_206B_206F_202D_202B_200C_206B_200D_206D_202E_200F_200F_202C_200B_202B_200E_202D_206E_202E(typeof(MoveTask).TypeHandle); + } + } + 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(_200E_200E_200E_206D_200B_206A_200B_200D_206C_200B_202B_202E_202C_206E_200B_200C_206B_202A_206A_202E_202D_202D_202D_200C_202A_202B_206B_206E_200D_202D_206C_202A_200F_206E_202B_206F_206F_202D_206E_206E_202E(step), destination, _200D_200C_200C_200E_206F_206E_206B_206B_206E_206D_206A_206F_202D_202D_206C_206C_200E_200C_206C_202E_202A_206F_200F_206E_206C_206F_202D_202D_202A_202D_202B_206C_202B_206C_200D_202C_200D_206E_200C_202E_202E(step), _206A_202E_200B_206F_206C_206F_200C_202D_200C_200F_206B_200C_202C_206E_200E_206E_200C_200E_200E_206F_206F_202C_202B_200E_200B_206F_206C_206D_206F_206E_200E_202D_202B_200B_202B_206E_202C_200B_202B_200D_202E(step), _200B_206D_200B_202E_202B_202D_206A_206A_202E_202A_200F_200F_206B_200B_202C_200D_206D_200F_202B_206E_200D_206F_200F_202A_206C_206D_202C_200B_200F_200B_200C_202D_202D_200D_202A_206B_202E_200B_202E_206F_202E(step), _206E_200B_202C_200D_206C_202B_206B_200F_202E_206F_206C_200F_206F_200B_206F_202E_206C_202D_200D_202A_206D_206D_202D_200D_206E_202A_202D_206A_200E_202D_202E_206D_202D_200B_202C_206C_206B_200E_206C_202C_202E(step), _202A_200E_206D_202C_206B_206D_200E_206D_206B_202C_200E_202E_200B_202A_206A_200F_202E_200C_206E_200D_200B_200E_202D_206A_202D_200E_206A_200F_206A_200D_200E_200E_206E_202D_202D_200C_202B_200C_202E_202C_202E(step), _202D_202C_200E_202A_200F_202E_202B_202D_200F_206C_200C_200B_200E_206E_200B_200E_202C_200D_202D_200C_200E_202E_200F_202B_206C_200C_206E_200D_200B_202D_200C_206E_200F_200E_206E_206B_206E_200F_200B_200F_202E(step), _200B_206F_200B_202A_206A_202D_200C_202D_206C_202D_202B_200D_202A_202E_200D_202E_206E_200C_206B_206B_206B_206B_206C_200F_206B_200F_206B_202C_206D_202A_206D_202C_202A_202D_206F_206A_200E_206A_202E_202D_202E(step), _202B_200D_206E_206A_200C_202C_206C_200F_206F_202B_206F_206A_200C_202C_200E_200E_200E_200B_206B_200D_202B_200B_200C_202E_206D_206A_202E_200E_200E_206F_202A_206F_206C_200E_200D_206B_206B_200D_200D_202E(step) == true, _200F_200E_202D_206D_206A_206F_206B_206A_202D_200E_206B_202B_206D_200F_206A_200B_202B_200B_200F_200D_200C_202B_206F_200B_200F_202C_200C_206E_202A_206E_206F_200E_202D_200E_202A_200E_206F_206D_202B_202E(step) == true, _202A_202C_202D_206D_202A_200B_206D_202A_200B_202C_200D_206F_202D_206D_206C_200E_202D_200D_200F_202C_206F_202D_206F_202A_202B_206F_202C_206E_206D_202B_206B_206E_200D_200C_200E_206F_206C_200F_200F_202D_202E(step) == true, _200B_202B_200B_202D_200D_200D_206C_202E_200D_200F_202D_200E_202E_202E_206B_202C_206B_206A_206E_202B_200E_202A_206F_206D_202E_200C_202B_200E_202D_202B_200F_206A_206B_200D_206B_202C_200B_206A_206B_202D_202E(step) != false, _206C_202C_206E_202D_200C_200B_206A_202E_200D_202D_200D_202E_206B_206F_206F_200B_200F_200E_206E_200F_200E_206E_206D_206D_206A_206F_206C_202E_200D_206A_202B_206D_202A_206C_206F_202D_200E_206C_206B_206D_202E(step)) { } @@ -16,8 +30,246 @@ internal sealed record MoveTask(ushort TerritoryId, Vector3 Destination, bool? M return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "MoveTo(" + Destination.ToString("G", CultureInfo.InvariantCulture) + ")"; + return _206C_206B_202E_202E_206C_202B_202A_206C_206F_200D_200C_202D_202C_202D_200C_200D_202B_200B_202E_200C_200B_206A_202D_200C_200D_200E_200D_202C_202A_206F_200F_206C_202D_202D_200E_206E_206F_202A_206A_202A_202E(global::_003CModule_003E._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(2086514441), Destination.ToString(global::_003CModule_003E._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(2120763774), _206B_202E_200F_200E_202B_206D_200B_200F_206C_200E_202E_200E_200D_200B_202C_200F_206C_200F_202D_206D_206D_202A_206F_206A_206C_206E_200F_200C_206A_202E_206D_206E_202E_202C_200E_202A_206D_202A_206C_206B_202E()), global::_003CModule_003E._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(444206578)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_202D_206B_206D_206D_206E_206A_200E_206D_200B_206D_206C_202B_200C_202E_200F_206E_206D_200D_200D_200C_202B_202E_202A_200C_200D_200B_200E_202D_202D_206A_200D_206A_200C_206A_202E_206D_200F_202D_200F_202E(); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(-871596524)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, TerritoryId.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(97945591)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, Destination.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(414886328)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, Mount.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(108142760)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, MountRequired.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(175881775)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, DismountRequired.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(2020394805)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, StopDistance.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(97441196)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, DataId.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(1802935875)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, DisableNavmesh.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(1156954153)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, Sprint.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(1335211848)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, Fly.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(-968192419)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, Land.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(-2020626995)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, IgnoreDistanceToObject.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(1563317227)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, RestartNavigation.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(537136162)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, InteractionType.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(-1260226869)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, SmartNavRouted.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(-929404578)); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, AllowZoneTransition.ToString()); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(-1838772789)); + _206E_206E_200B_202A_206D_200C_202A_206F_200F_202E_202A_200F_202E_202B_200E_206E_200C_202E_206F_200F_200D_200E_206C_202C_200D_206A_200B_206B_202C_202E_202D_200C_202E_200F_202C_200C_200C_206F_200C_202E(builder, (object?)RouteTargetNodeId); + _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(builder, global::_003CModule_003E._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(778521406)); + _206E_206E_200B_202A_206D_200C_202A_206F_200F_202E_202A_200F_202E_202B_200E_206E_200C_202E_206F_200F_200D_200E_206C_202C_200D_206A_200B_206B_202C_202E_202D_200C_202E_200F_202C_200C_200C_206F_200C_202E(builder, (object?)RouteApproachNodeId); + return true; + } + + [CompilerGenerated] + public bool Equals(MoveTask? other) + { + int num = (((object)this == other) ? (-173643784) : (-173643785)); + while (true) + { + int num2 = num; + int num3 = -173643777; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 15: + num = ((!EqualityComparer.Default.Equals(IgnoreDistanceToObject, other.IgnoreDistanceToObject)) ? (-173643786) : (-173643787)); + break; + case 13: + num = ((!EqualityComparer.Default.Equals(StopDistance, other.StopDistance)) ? (-173643786) : (-173643783)); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(Mount, other.Mount)) ? (-173643786) : (-173643777)); + break; + case 20: + num = ((!EqualityComparer.Default.Equals(RouteTargetNodeId, other.RouteTargetNodeId)) ? (-173643786) : (-173643791)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? (-173643786) : (-173643799)); + break; + case 14: + return EqualityComparer.Default.Equals(RouteApproachNodeId, other.RouteApproachNodeId); + case 0: + num = ((!EqualityComparer.Default.Equals(MountRequired, other.MountRequired)) ? (-173643786) : (-173643788)); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(Fly, other.Fly)) ? (-173643786) : (-173643778)); + break; + case 18: + num = ((!EqualityComparer.Default.Equals(AllowZoneTransition, other.AllowZoneTransition)) ? (-173643786) : (-173643797)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(InteractionType, other.InteractionType)) ? (-173643786) : (-173643796)); + break; + case 12: + num = ((!EqualityComparer.Default.Equals(Sprint, other.Sprint)) ? (-173643786) : (-173643782)); + break; + case 11: + num = ((!EqualityComparer.Default.Equals(DismountRequired, other.DismountRequired)) ? (-173643786) : (-173643790)); + break; + case 10: + num = ((!EqualityComparer.Default.Equals(RestartNavigation, other.RestartNavigation)) ? (-173643786) : (-173643781)); + break; + case 3: + num = ((!_206A_202A_200C_206F_206E_202B_200C_202B_202A_206A_200D_200B_206B_206B_200D_200B_206D_200F_206B_200E_206A_200C_202A_202C_200B_206E_206A_200E_206D_202A_206D_206E_202B_206A_200D_206E_202D_200E_202A_202B_202E(EqualityContract, other.EqualityContract)) ? (-173643786) : (-173643798)); + break; + case 9: + return false; + case 1: + num = ((!EqualityComparer.Default.Equals(Land, other.Land)) ? (-173643786) : (-173643792)); + break; + case 17: + num = -173643785; + break; + case 8: + num = (((object)other == null) ? (-173643786) : (-173643780)); + break; + case 19: + num = ((!EqualityComparer.Default.Equals(SmartNavRouted, other.SmartNavRouted)) ? (-173643786) : (-173643795)); + break; + case 7: + return true; + case 16: + num = ((!EqualityComparer.Default.Equals(Destination, other.Destination)) ? (-173643786) : (-173643779)); + break; + case 21: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? (-173643786) : (-173643793)); + break; + case 22: + num = ((!EqualityComparer.Default.Equals(DisableNavmesh, other.DisableNavmesh)) ? (-173643786) : (-173643789)); + break; + } + } + } + + bool IEquatable.Equals(MoveTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _200B_202D_206A_206A_206D_202A_206F_200E_202A_206A_202D_200F_200B_202E_202B_206B_202C_206F_202E_206F_202D_206A_200C_206B_206F_202D_202B_200C_206B_200D_206D_202E_200F_200F_202C_200B_202B_200E_202D_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static ushort _200E_200E_200E_206D_200B_206A_200B_200D_206C_200B_202B_202E_202C_206E_200B_200C_206B_202A_206A_202E_202D_202D_202D_200C_202A_202B_206B_206E_200D_202D_206C_202A_200F_206E_202B_206F_206F_202D_206E_206E_202E(QuestStep? P_0) + { + return P_0.TerritoryId; + } + + static bool? _200D_200C_200C_200E_206F_206E_206B_206B_206E_206D_206A_206F_202D_202D_206C_206C_200E_200C_206C_202E_202A_206F_200F_206E_206C_206F_202D_202D_202A_202D_202B_206C_202B_206C_200D_202C_200D_206E_200C_202E_202E(QuestStep? P_0) + { + return P_0.Mount; + } + + static bool _206A_202E_200B_206F_206C_206F_200C_202D_200C_200F_206B_200C_202C_206E_200E_206E_200C_200E_200E_206F_206F_202C_202B_200E_200B_206F_206C_206D_206F_206E_200E_202D_202B_200B_202B_206E_202C_200B_202B_200D_202E(QuestStep? P_0) + { + return P_0.MountRequired; + } + + static bool _200B_206D_200B_202E_202B_202D_206A_206A_202E_202A_200F_200F_206B_200B_202C_200D_206D_200F_202B_206E_200D_206F_200F_202A_206C_206D_202C_200B_200F_200B_200C_202D_202D_200D_202A_206B_202E_200B_202E_206F_202E(QuestStep? P_0) + { + return P_0.DismountRequired; + } + + static float _206E_200B_202C_200D_206C_202B_206B_200F_202E_206F_206C_200F_206F_200B_206F_202E_206C_202D_200D_202A_206D_206D_202D_200D_206E_202A_202D_206A_200E_202D_202E_206D_202D_200B_202C_206C_206B_200E_206C_202C_202E(QuestStep? P_0) + { + return P_0.CalculateActualStopDistance(); + } + + static uint? _202A_200E_206D_202C_206B_206D_200E_206D_206B_202C_200E_202E_200B_202A_206A_200F_202E_200C_206E_200D_200B_200E_202D_206A_202D_200E_206A_200F_206A_200D_200E_200E_206E_202D_202D_200C_202B_200C_202E_202C_202E(QuestStep? P_0) + { + return P_0.DataId; + } + + static bool _202D_202C_200E_202A_200F_202E_202B_202D_200F_206C_200C_200B_200E_206E_200B_200E_202C_200D_202D_200C_200E_202E_200F_202B_206C_200C_206E_200D_200B_202D_200C_206E_200F_200E_206E_206B_206E_200F_200B_200F_202E(QuestStep? P_0) + { + return P_0.DisableNavmesh; + } + + static bool? _200B_206F_200B_202A_206A_202D_200C_202D_206C_202D_202B_200D_202A_202E_200D_202E_206E_200C_206B_206B_206B_206B_206C_200F_206B_200F_206B_202C_206D_202A_206D_202C_202A_202D_206F_206A_200E_206A_202E_202D_202E(QuestStep? P_0) + { + return P_0.Sprint; + } + + static bool? _202B_200D_206E_206A_200C_202C_206C_200F_206F_202B_206F_206A_200C_202C_200E_200E_200E_200B_206B_200D_202B_200B_200C_202E_206D_206A_202E_200E_200E_206F_202A_206F_206C_200E_200D_206B_206B_200D_200D_202E(QuestStep? P_0) + { + return P_0.Fly; + } + + static bool? _200F_200E_202D_206D_206A_206F_206B_206A_202D_200E_206B_202B_206D_200F_206A_200B_202B_200B_200F_200D_200C_202B_206F_200B_200F_202C_200C_206E_202A_206E_206F_200E_202D_200E_202A_200E_206F_206D_202B_202E(QuestStep? P_0) + { + return P_0.Land; + } + + static bool? _202A_202C_202D_206D_202A_200B_206D_202A_200B_202C_200D_206F_202D_206D_206C_200E_202D_200D_200F_202C_206F_202D_206F_202A_202B_206F_202C_206E_206D_202B_206B_206E_200D_200C_200E_206F_206C_200F_200F_202D_202E(QuestStep? P_0) + { + return P_0.IgnoreDistanceToObject; + } + + static bool? _200B_202B_200B_202D_200D_200D_206C_202E_200D_200F_202D_200E_202E_202E_206B_202C_206B_206A_206E_202B_200E_202A_206F_206D_202E_200C_202B_200E_202D_202B_200F_206A_206B_200D_206B_202C_200B_206A_206B_202D_202E(QuestStep? P_0) + { + return P_0.RestartNavigationIfCancelled; + } + + static EInteractionType _206C_202C_206E_202D_200C_200B_206A_202E_200D_202D_200D_202E_206B_206F_206F_200B_200F_200E_206E_200F_200E_206E_206D_206D_206A_206F_206C_202E_200D_206A_202B_206D_202A_206C_206F_202D_200E_206C_206B_206D_202E(QuestStep? P_0) + { + return P_0.InteractionType; + } + + static CultureInfo? _206B_202E_200F_200E_202B_206D_200B_200F_206C_200E_202E_200E_200D_200B_202C_200F_206C_200F_202D_206D_206D_202A_206F_206A_206C_206E_200F_200C_206A_202E_206D_206E_202E_202C_200E_202A_206D_202A_206C_206B_202E() + { + return CultureInfo.InvariantCulture; + } + + static string? _206C_206B_202E_202E_206C_202B_202A_206C_206F_200D_200C_202D_202C_202D_200C_200D_202B_200B_202E_200C_200B_206A_202D_200C_200D_200E_200D_202C_202A_206F_200F_206C_202D_202D_200E_206E_206F_202A_206A_202A_202E(string? P_0, string? P_1, string? P_2) + { + return P_0 + P_1 + P_2; + } + + static void _206C_202D_206B_206D_206D_206E_206A_200E_206D_200B_206D_206C_202B_200C_202E_200F_206E_206D_200D_200D_200C_202B_202E_202A_200C_200D_200B_200E_202D_202D_206A_200D_206A_200C_206A_202E_206D_200F_202D_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _202E_200F_206B_202D_202E_202B_206A_206E_202D_206A_202E_206D_200E_200B_202D_202C_206F_206D_202B_200E_206F_206E_206E_206F_206F_206B_206B_202B_206B_202C_202B_202A_206D_200B_206A_206A_200D_200C_202B_206D_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _206E_206E_200B_202A_206D_200C_202A_206F_200F_202E_202A_200F_202E_202B_200E_206E_200C_202E_206F_200F_200D_200E_206C_202C_200D_206A_200B_206B_202C_202E_202D_200C_202E_200F_202C_200C_200C_206F_200C_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _206A_202A_200C_206F_206E_202B_200C_202B_202A_206A_200D_200B_206B_206B_200D_200B_206D_200F_206B_200E_206A_200C_202A_202C_200B_206E_206A_200E_206D_202A_206D_206E_202B_206A_200D_206E_202D_200E_202A_202B_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; } } diff --git a/Questionable/Questionable.Controller.Steps.Movement/MoveTo.cs b/Questionable/Questionable.Controller.Steps.Movement/MoveTo.cs index 9a3c7740..b8734bfc 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/MoveTo.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/MoveTo.cs @@ -1,108 +1,897 @@ using System; +using System.Collections; using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Diagnostics; using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; 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) + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass8_0 { - if (step.DataIds.Count > 0) + public Factory _003C_003E4__this; + + public QuestStep step; + + internal bool _003CCreateMoveToObjectTasks_003Eb__0() { - return Array.Empty(); + return _206B_206A_206C_202D_200D_206A_202E_200F_202E_202C_202B_200B_200C_206D_200B_206F_206D_206F_200E_206A_202D_202A_206E_200B_206B_200D_206C_200C_202D_200F_206D_206B_206C_202A_206D_206F_202E_200D_206B_206E_202E(_003C_003E4__this.clientState) == _206B_202E_206D_202A_206D_200B_202E_200C_206D_206B_200F_206A_206C_200B_206B_206E_206B_202E_202C_202A_202C_206D_202C_206A_202E_200B_206E_206F_202B_206C_206B_206D_200E_206E_200D_206F_206D_200F_206A_202A_202E(step); } - if (step.Position.HasValue) + + static uint _206B_206A_206C_202D_200D_206A_202E_200F_202E_202C_202B_200B_200C_206D_200B_206F_206D_206F_200E_206A_202D_202A_206E_200B_206B_200D_206C_200C_202D_200F_206D_206B_206C_202A_206D_206F_202E_200D_206B_206E_202E(IClientState P_0) { - List landingZones = step.LandingZones; - Vector3 destination = ((landingZones == null || landingZones.Count <= 0) ? step.Position.Value : LandingZoneMath.CalculateLandingLocation(step.LandingZones)); - return CreateMoveTasks(step, destination); + return P_0.TerritoryType; } - if (step != null && step.DataId.HasValue && step.StopDistance.HasValue) + + static ushort _206B_202E_206D_202A_206D_200B_202E_200C_206D_206B_200F_206A_206C_200B_206B_206E_206B_202E_202C_202A_202C_206D_202C_206A_202E_200B_206E_206F_202B_206C_206B_206D_200E_206E_200D_206F_206D_200F_206A_202A_202E(QuestStep P_0) { - return new global::_003C_003Ez__ReadOnlySingleElementList(new WaitForNearDataId(step.DataId.Value, step.StopDistance.Value)); + return P_0.TerritoryId; } - if (step != null && step.DataId.HasValue && !step.Position.HasValue) + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass9_0 + { + public Factory _003C_003E4__this; + + public QuestStep step; + + internal bool _003CCreateMoveTasks_003Eb__0() { - return CreateMoveToObjectTasks(step); + return _202A_202A_200F_200E_200E_202E_206B_200B_200C_202C_206E_206B_200E_200D_202D_200F_202E_206C_206D_206E_206C_200E_200E_206F_200D_200D_202E_206D_200F_206A_206D_206E_200D_202A_200E_202C_202D_202E_202C_202E(_003C_003E4__this.clientState) == _202A_206A_206A_200F_200F_206F_206E_202C_202B_200F_202D_206C_200C_200C_200E_202D_202C_200E_200B_206A_202D_200C_200B_206F_200F_202D_200B_206C_206E_202C_200B_202A_200F_202C_202E_200D_206D_206C_206A_206F_202E(step); } - EAetheryteLocation valueOrDefault = default(EAetheryteLocation); - bool flag; - if (step != null) + + static uint _202A_202A_200F_200E_200E_202E_206B_200B_200C_202C_206E_206B_200E_200D_202D_200F_202E_206C_206D_206E_206C_200E_200E_206F_200D_200D_202E_206D_200F_206A_206D_206E_200D_202A_200E_202C_202D_202E_202C_202E(IClientState P_0) { - EInteractionType interactionType = step.InteractionType; - if ((uint)(interactionType - 4) <= 1u) + return P_0.TerritoryType; + } + + static ushort _202A_206A_206A_200F_200F_206F_206E_202C_202B_200F_202D_206C_200C_200C_200E_202D_202C_200E_200B_206A_202D_200C_200B_206F_200F_202D_200B_206C_206E_202C_200B_202A_200F_202C_202E_200D_206D_206C_206A_206F_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + } + + [CompilerGenerated] + private sealed class _003CCreateMoveTasks_003Ed__9 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public Factory _003C_003E4__this; + + private QuestStep step; + + public QuestStep _003C_003E3__step; + + private _003C_003Ec__DisplayClass9_0 _003C_003E8__1; + + private Vector3 destination; + + public Vector3 _003C_003E3__destination; + + ITask IEnumerator.Current + { + [DebuggerHidden] + get { - EAetheryteLocation? aetheryte = step.Aetheryte; - if (aetheryte.HasValue) + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CCreateMoveTasks_003Ed__9(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _206E_200B_200D_206F_200E_202C_200E_202B_206B_206E_200B_206F_200C_202B_206E_206C_202E_206B_206A_202D_206E_206C_200E_202D_200B_200C_200D_200F_206B_206E_202D_206C_206E_202D_200E_206F_206C_202B_200C_206C_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + _003C_003E8__1 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + int num = _003C_003E1__state; + Factory factory = _003C_003E4__this; + switch (num) + { + case 2: + goto IL_0231; + case 3: + goto IL_02e4; + case 4: + goto IL_0313; + case 1: + goto IL_0326; + case 0: + goto IL_035a; + } + int num2 = -6884996; + goto IL_0034; + IL_0313: + _003C_003E1__state = -1; + num2 = -6885020; + goto IL_0034; + IL_0034: + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + bool? flag = default(bool?); + bool? flag2 = default(bool?); + while (true) + { + int num3 = num2; + int num4 = -6885012; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) { - valueOrDefault = aetheryte.GetValueOrDefault(); - flag = true; - goto IL_0108; + case 14: + goto IL_00a4; + case 12: + goto IL_00c8; + case 0: + _003C_003E2__current = new WaitNavmesh.Task(); + _003C_003E1__state = 2; + return true; + case 15: + _206D_206D_206E_200B_202C_200B_202A_200D_202E_202E_200E_200C_200D_206C_200E_206F_206A_206D_206A_200D_200E_200F_202C_206E_200D_206C_200E_206F_200F_202E_202A_200C_202D_206B_200D_206C_206D_200B_200D_206C_202E((ILogger)factory.logger, global::_003CModule_003E._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(2099763005), Array.Empty()); + return false; + case 11: + goto IL_012e; + case 13: + _003C_003E2__current = new LandTask(); + _003C_003E1__state = 4; + return true; + case 1: + _003C_003E2__current = new MoveTask(_003C_003E8__1.step, destination); + _003C_003E1__state = 3; + return true; + case 16: + return false; + case 7: + _003C_003E2__current = new WaitCondition.Task(() => _003C_003Ec__DisplayClass9_0._202A_202A_200F_200E_200E_202E_206B_200B_200C_202C_206E_206B_200E_200D_202D_200F_202E_206C_206D_206E_206C_200E_200E_206F_200D_200D_202E_206D_200F_206A_206D_206E_200D_202A_200E_202C_202D_202E_202C_202E(_003C_003E8__1._003C_003E4__this.clientState) == _003C_003Ec__DisplayClass9_0._202A_206A_206A_200F_200F_206F_206E_202C_202B_200F_202D_206C_200C_200C_200E_202D_202C_200E_200B_206A_202D_200C_200B_206F_200F_202D_200B_206C_206E_202C_200B_202A_200F_202C_202E_200D_206D_206C_206A_206F_202E(_003C_003E8__1.step), _200B_206A_200C_206D_202C_200B_200C_206A_202C_206D_200B_206B_200F_202D_202B_202E_202B_202C_200C_206B_206D_202D_200C_206E_200D_206C_200F_200D_200D_200B_206F_206E_202B_200B_206E_202B_202D_200B_206C_206C_202E(global::_003CModule_003E._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(923276170), factory.territoryData.GetNameAndId(_206E_206B_200C_200E_200B_202B_200F_206F_202E_206C_206A_206C_202B_202A_200D_200C_206D_202B_202D_200C_206F_200B_202A_200D_202C_200D_206C_206F_206F_202A_202C_206E_206E_202C_206D_202A_206C_200D_206A_206D_202E(_003C_003E8__1.step)), global::_003CModule_003E._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(1735737295))); + _003C_003E1__state = 1; + return true; + case 19: + goto IL_01e0; + case 4: + goto IL_020d; + case 5: + goto end_IL_0034; + case 3: + goto IL_0244; + case 18: + goto IL_027a; + case 8: + return false; + case 6: + goto IL_02e4; + case 17: + goto IL_0313; + case 2: + goto IL_0326; + case 10: + goto IL_035a; + case 9: + num2 = -6884996; + break; + } + continue; + IL_027a: + num2 = ((!((_206D_206A_200C_206C_200C_202D_206E_206C_200E_202D_206F_202A_200C_206F_202E_206F_206D_206C_206C_202D_206B_206D_202E_206E_206A_206F_200D_206E_200B_200F_202B_206E_202C_202A_200C_200F_200B_200B_206F_206D_202E((IGameObject)playerCharacter) - _202C_202A_202D_202A_206D_202C_202D_206F_202A_200E_202B_206B_200F_202C_206C_206E_206C_202D_202E_200E_202C_200B_202D_206E_206B_202E_206E_200C_206D_200D_202E_202E_200E_202C_202C_200C_200C_200D_200C_206F_202E(_206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(_003C_003E8__1.step))).Length() <= (_200B_200D_206B_200D_202E_200F_206C_206A_206C_200F_200E_202A_202B_200E_202A_206B_202D_202C_202A_202C_202D_206E_206E_206A_206E_200F_206C_206A_202C_200D_202D_200B_206D_202A_200C_206A_200F_206C_202E_200D_202E(_206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(_003C_003E8__1.step)) ?? 1f))) ? (-6885013) : (-6885021)); + continue; + IL_00a4: + num2 = ((flag != true) ? (-6885020) : (-6885023)); + continue; + IL_012e: + num2 = ((playerCharacter == null) ? (-6885013) : (-6884994)); + continue; + IL_0244: + flag2 = _200F_200F_206E_202E_206E_206C_206D_200F_200E_206D_200D_206A_202B_206B_200C_206B_206E_206B_206E_206B_202B_202C_202A_200F_206C_202C_200C_200D_206F_206E_200E_206C_206E_206A_202E_200F_206A_206E_200D_200D_202E(_003C_003E8__1.step); + num2 = ((!flag2.HasValue) ? (-6885020) : (-6885016)); + continue; + IL_01e0: + num2 = ((_206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(_003C_003E8__1.step) == null) ? (-6885013) : (-6885017)); + continue; + IL_00c8: + flag = _206E_202A_206C_200F_206B_202A_200F_206D_206D_206B_206F_206A_206C_206C_200C_200C_206F_206F_206C_206A_206D_206E_206F_202C_200C_202B_200B_202C_206C_200B_200B_202B_206F_202E_206F_200B_206F_206C_206E_202A_202E(_003C_003E8__1.step); + num2 = ((!flag.HasValue) ? (-6885020) : (-6885022)); + continue; + IL_020d: + num2 = ((flag2 != true) ? (-6885020) : (-6885024)); + continue; + end_IL_0034: + break; + } + goto IL_0231; + IL_02e4: + _003C_003E1__state = -1; + num2 = ((_003C_003E8__1.step == null) ? (-6885020) : (-6885009)); + goto IL_0034; + IL_0231: + _003C_003E1__state = -1; + num2 = -6885011; + goto IL_0034; + IL_0326: + _003C_003E1__state = -1; + num2 = (_202D_202B_200B_202D_206F_202A_206C_200F_206C_200D_202D_202A_200B_206F_202A_206D_200E_206D_200B_206F_206A_206A_200B_206D_200F_206A_206C_200D_200D_206B_200D_202E_200F_202C_200C_200B_206F_206C_206C_202E(_003C_003E8__1.step) ? (-6885011) : (-6885012)); + goto IL_0034; + IL_035a: + _003C_003E1__state = -1; + _003C_003E8__1 = new _003C_003Ec__DisplayClass9_0(); + _003C_003E8__1._003C_003E4__this = _003C_003E4__this; + _003C_003E8__1.step = step; + playerCharacter = _206E_202A_206D_206A_206A_206C_206C_206E_202D_200F_202B_202D_206C_206A_200E_206A_206E_206F_200C_202A_206F_206F_202B_206C_202D_206B_206C_206F_202D_200F_202A_200E_200D_200D_202C_202E_202D_206C_200F_202B_202E(factory.objectTable); + num2 = ((_206F_200E_206E_202E_206D_200E_206A_206F_200E_202E_202E_200C_206A_206C_202D_200F_206C_200B_200D_200C_202C_200C_206D_206E_200C_206B_206B_202D_206C_202E_202D_200D_206E_202E_202A_206A_200C_200E_202D_202E(_003C_003E8__1.step) != EInteractionType.Jump) ? (-6885013) : (-6884993)); + goto IL_0034; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206B_200F_202D_202D_202A_202C_206E_206C_206E_200D_202E_206F_200F_202B_202D_202B_206A_206F_206A_200B_202E_202B_202B_206B_206B_200D_206D_206F_206C_206A_202D_200B_200D_202C_202C_200F_200E_206D_202A_202E_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-1841135018) : (-1841135017)); + _003CCreateMoveTasks_003Ed__9 _003CCreateMoveTasks_003Ed__ = default(_003CCreateMoveTasks_003Ed__9); + while (true) + { + int num2 = num; + int num3 = -1841135019; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + _003CCreateMoveTasks_003Ed__ = new _003CCreateMoveTasks_003Ed__9(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = -1841135019; + break; + case 0: + _003CCreateMoveTasks_003Ed__.step = _003C_003E3__step; + _003CCreateMoveTasks_003Ed__.destination = _003C_003E3__destination; + return _003CCreateMoveTasks_003Ed__; + case 4: + num = -1841135017; + break; + case 1: + _003C_003E1__state = 0; + _003CCreateMoveTasks_003Ed__ = this; + num = -1841135019; + break; + case 2: + num = ((_003C_003El__initialThreadId != _206E_200B_200D_206F_200E_202C_200E_202B_206B_206E_200B_206F_200C_202B_206E_206C_202E_206B_206A_202D_206E_206C_200E_202D_200B_200C_200D_200F_206B_206E_202D_206C_206E_202D_200E_206F_206C_202B_200C_206C_202E()) ? (-1841135018) : (-1841135020)); + break; } } } - flag = false; - goto IL_0108; - IL_0108: - if (flag) + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() { - return CreateMoveTasks(step, aetheryteData.Locations[valueOrDefault]); + return ((IEnumerable)this).GetEnumerator(); } - if (step != null && step.InteractionType == EInteractionType.AttuneAethernetShard) + + static int _206E_200B_200D_206F_200E_202C_200E_202B_206B_206E_200B_206F_200C_202B_206E_206C_202E_206B_206A_202D_206E_206C_200E_202D_200B_200C_200D_200F_206B_206E_202D_206C_206E_202D_200E_206F_206C_202B_200C_206C_202E() { - EAetheryteLocation? aetheryte = step.AethernetShard; - if (aetheryte.HasValue) + return Environment.CurrentManagedThreadId; + } + + static IPlayerCharacter _206E_202A_206D_206A_206A_206C_206C_206E_202D_200F_202B_202D_206C_206A_200E_206A_206E_206F_200C_202A_206F_206F_202B_206C_202D_206B_206C_206F_202D_200F_202A_200E_200D_200D_202C_202E_202D_206C_200F_202B_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static EInteractionType _206F_200E_206E_202E_206D_200E_206A_206F_200E_202E_202E_200C_206A_206C_202D_200F_206C_200B_200D_200C_202C_200C_206D_206E_200C_206B_206B_202D_206C_202E_202D_200D_206E_202E_202A_206A_200C_200E_202D_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static JumpDestination _206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(QuestStep P_0) + { + return P_0.JumpDestination; + } + + static Vector3 _206D_206A_200C_206C_200C_202D_206E_206C_200E_202D_206F_202A_200C_206F_202E_206F_206D_206C_206C_202D_206B_206D_202E_206E_206A_206F_200D_206E_200B_200F_202B_206E_202C_202A_200C_200F_200B_200B_206F_206D_202E(IGameObject P_0) + { + return P_0.Position; + } + + static Vector3 _202C_202A_202D_202A_206D_202C_202D_206F_202A_200E_202B_206B_200F_202C_206C_206E_206C_202D_202E_200E_202C_200B_202D_206E_206B_202E_206E_200C_206D_200D_202E_202E_200E_202C_202C_200C_200C_200D_200C_206F_202E(JumpDestination P_0) + { + return P_0.Position; + } + + static float? _200B_200D_206B_200D_202E_200F_206C_206A_206C_200F_200E_202A_202B_200E_202A_206B_202D_202C_202A_202C_202D_206E_206E_206A_206E_200F_206C_206A_202C_200D_202D_200B_206D_202A_200C_206A_200F_206C_202E_200D_202E(JumpDestination P_0) + { + return P_0.StopDistance; + } + + static void _206D_206D_206E_200B_202C_200B_202A_200D_202E_202E_200E_200C_200D_206C_200E_206F_206A_206D_206A_200D_200E_200F_202C_206E_200D_206C_200E_206F_200F_202E_202A_200C_202D_206B_200D_206C_206D_200B_200D_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static ushort _206E_206B_200C_200E_200B_202B_200F_206F_202E_206C_206A_206C_202B_202A_200D_200C_206D_202B_202D_200C_206F_200B_202A_200D_202C_200D_206C_206F_206F_202A_202C_206E_206E_202C_206D_202A_206C_200D_206A_206D_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static string _200B_206A_200C_206D_202C_200B_200C_206A_202C_206D_200B_206B_200F_202D_202B_202E_202B_202C_200C_206B_206D_202D_200C_206E_200D_206C_200F_200D_200D_200B_206F_206E_202B_200B_206E_202B_202D_200B_206C_206C_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static bool _202D_202B_200B_202D_206F_202A_206C_200F_206C_200D_202D_202A_200B_206F_202A_206D_200E_206D_200B_206F_206A_206A_200B_206D_200F_206A_206C_200D_200D_206B_200D_202E_200F_202C_200C_200B_206F_206C_206C_202E(QuestStep P_0) + { + return P_0.DisableNavmesh; + } + + static bool? _200F_200F_206E_202E_206E_206C_206D_200F_200E_206D_200D_206A_202B_206B_200C_206B_206E_206B_206E_206B_202B_202C_202A_200F_206C_202C_200C_200D_206F_206E_200E_206C_206E_206A_202E_200F_206A_206E_200D_200D_202E(QuestStep P_0) + { + return P_0.Fly; + } + + static bool? _206E_202A_206C_200F_206B_202A_200F_206D_206D_206B_206F_206A_206C_206C_200C_200C_206F_206F_206C_206A_206D_206E_206F_202C_200C_202B_200B_202C_206C_200B_200B_202B_206F_202E_206F_200B_206F_206C_206E_202A_202E(QuestStep P_0) + { + return P_0.Land; + } + + static NotSupportedException _206B_200F_202D_202D_202A_202C_206E_206C_206E_200D_202E_206F_200F_202B_202D_202B_206A_206F_206A_200B_202E_202B_202B_206B_206B_200D_206D_206F_206C_206A_202D_200B_200D_202C_202C_200F_200E_206D_202A_202E_202E() + { + return new NotSupportedException(); + } + } + + [CompilerGenerated] + private sealed class _003CCreateMoveToObjectTasks_003Ed__8 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public Factory _003C_003E4__this; + + private QuestStep step; + + public QuestStep _003C_003E3__step; + + private _003C_003Ec__DisplayClass8_0 _003C_003E8__1; + + ITask IEnumerator.Current + { + [DebuggerHidden] + get { - EAetheryteLocation valueOrDefault2 = aetheryte.GetValueOrDefault(); - return CreateMoveTasks(step, aetheryteData.Locations[valueOrDefault2]); + return _003C_003E2__current; } } - return Array.Empty(); + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CCreateMoveToObjectTasks_003Ed__8(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _206E_202C_200C_200E_206D_206B_206A_202E_202B_200B_206D_202B_200C_200E_206F_206F_202E_206E_206B_200F_200B_202D_200C_206F_200B_206A_202E_200F_202B_200C_206F_202A_202D_202D_206D_206B_206C_206A_202D_206F_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + _003C_003E8__1 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + int num = _003C_003E1__state; + Factory factory = _003C_003E4__this; + int num2; + switch (num) + { + default: + num2 = -1973141890; + goto IL_002f; + case 2: + _003C_003E1__state = -1; + num2 = -1973141894; + goto IL_002f; + case 1: + goto IL_007d; + case 0: + goto IL_00c3; + case 3: + break; + IL_002f: + while (true) + { + int num3 = num2; + int num4 = -1973141893; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 7: + goto end_IL_002f; + case 3: + goto IL_007d; + case 0: + _003C_003E2__current = new WaitNavmesh.Task(); + _003C_003E1__state = 2; + return true; + case 6: + goto IL_00c3; + case 2: + goto end_IL_000f; + case 1: + _003C_003E2__current = new MoveToObject(_003C_003E8__1.step); + _003C_003E1__state = 3; + return true; + case 4: + num2 = -1973141890; + break; + case 5: + return false; + } + continue; + end_IL_002f: + break; + } + goto case 2; + IL_00c3: + _003C_003E1__state = -1; + _003C_003E8__1 = new _003C_003Ec__DisplayClass8_0(); + _003C_003E8__1._003C_003E4__this = _003C_003E4__this; + _003C_003E8__1.step = step; + _003C_003E2__current = new WaitCondition.Task(() => _003C_003Ec__DisplayClass8_0._206B_206A_206C_202D_200D_206A_202E_200F_202E_202C_202B_200B_200C_206D_200B_206F_206D_206F_200E_206A_202D_202A_206E_200B_206B_200D_206C_200C_202D_200F_206D_206B_206C_202A_206D_206F_202E_200D_206B_206E_202E(_003C_003E8__1._003C_003E4__this.clientState) == _003C_003Ec__DisplayClass8_0._206B_202E_206D_202A_206D_200B_202E_200C_206D_206B_200F_206A_206C_200B_206B_206E_206B_202E_202C_202A_202C_206D_202C_206A_202E_200B_206E_206F_202B_206C_206B_206D_200E_206E_200D_206F_206D_200F_206A_202A_202E(_003C_003E8__1.step), _202B_202C_206F_202E_202E_202D_200B_206C_200C_202C_200D_206A_202E_206C_206E_200F_202D_202E_202E_202D_200E_200C_206B_200F_206C_206B_200D_200F_202E_202E_200F_200B_200F_202A_200C_206C_202C_206E_200B_206D_202E(global::_003CModule_003E._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(-344536108), factory.territoryData.GetNameAndId(_206E_200D_200E_202B_206D_206D_202E_202B_206D_200D_200B_202A_200B_206A_206F_206D_202E_202B_200E_206C_206B_206F_202B_200E_206E_206E_202A_206E_202D_200D_200F_200D_202B_200B_202E_200B_200D_202E_206A_206E_202E(_003C_003E8__1.step)), global::_003CModule_003E._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(1735737295))); + _003C_003E1__state = 1; + return true; + IL_007d: + _003C_003E1__state = -1; + num2 = (_202E_200C_206C_200B_206D_200D_202E_206E_202C_202B_200F_202D_200E_202E_202B_200B_202B_202A_202E_206F_200F_200E_206F_200B_200C_206F_202E_206C_202E_202C_200F_206C_206B_206C_200D_206D_202C_200B_206F_202C_202E(_003C_003E8__1.step) ? (-1973141894) : (-1973141893)); + goto IL_002f; + end_IL_000f: + break; + } + _003C_003E1__state = -1; + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _202B_202D_206C_206F_202E_200E_200C_206D_202A_200B_202D_200C_206A_200E_206E_206B_206B_202B_200D_200B_202E_206A_202E_202C_206D_200B_206C_200B_202C_200F_202C_200F_206D_206C_200C_206C_202B_200D_206C_200D_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-1685384377) : (-1685384379)); + _003CCreateMoveToObjectTasks_003Ed__8 _003CCreateMoveToObjectTasks_003Ed__ = default(_003CCreateMoveToObjectTasks_003Ed__8); + while (true) + { + int num2 = num; + int num3 = -1685384378; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _003CCreateMoveToObjectTasks_003Ed__.step = _003C_003E3__step; + return _003CCreateMoveToObjectTasks_003Ed__; + case 3: + num = ((_003C_003El__initialThreadId != _206E_202C_200C_200E_206D_206B_206A_202E_202B_200B_206D_202B_200C_200E_206F_206F_202E_206E_206B_200F_200B_202D_200C_206F_200B_206A_202E_200F_202B_200C_206F_202A_202D_202D_206D_206B_206C_206A_202D_206F_202E()) ? (-1685384377) : (-1685384382)); + break; + case 4: + _003C_003E1__state = 0; + _003CCreateMoveToObjectTasks_003Ed__ = this; + num = -1685384378; + break; + case 2: + num = -1685384379; + break; + case 1: + _003CCreateMoveToObjectTasks_003Ed__ = new _003CCreateMoveToObjectTasks_003Ed__8(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = -1685384378; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _206E_202C_200C_200E_206D_206B_206A_202E_202B_200B_206D_202B_200C_200E_206F_206F_202E_206E_206B_200F_200B_202D_200C_206F_200B_206A_202E_200F_202B_200C_206F_202A_202D_202D_206D_206B_206C_206A_202D_206F_202E() + { + return Environment.CurrentManagedThreadId; + } + + static ushort _206E_200D_200E_202B_206D_206D_202E_202B_206D_200D_200B_202A_200B_206A_206F_206D_202E_202B_200E_206C_206B_206F_202B_200E_206E_206E_202A_206E_202D_200D_200F_200D_202B_200B_202E_200B_200D_202E_206A_206E_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static string _202B_202C_206F_202E_202E_202D_200B_206C_200C_202C_200D_206A_202E_206C_206E_200F_202D_202E_202E_202D_200E_200C_206B_200F_206C_206B_200D_200F_202E_202E_200F_200B_200F_202A_200C_206C_202C_206E_200B_206D_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static bool _202E_200C_206C_200B_206D_200D_202E_206E_202C_202B_200F_202D_200E_202E_202B_200B_202B_202A_202E_206F_200F_200E_206F_200B_200C_206F_202E_206C_202E_202C_200F_206C_206B_206C_200D_206D_202C_200B_206F_202C_202E(QuestStep P_0) + { + return P_0.DisableNavmesh; + } + + static NotSupportedException _202B_202D_206C_206F_202E_200E_200C_206D_202A_200B_202D_200C_206A_200E_206E_206B_206B_202B_200D_200B_202E_206A_202E_202C_206D_200B_206C_200B_202C_200F_202C_200F_206D_206C_200C_206C_202B_200D_206C_200D_202E() + { + return new NotSupportedException(); + } + } + + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + int num = ((!smartNavFactory.HandledRouting) ? (-434907777) : (-434907787)); + EAetheryteLocation valueOrDefault = default(EAetheryteLocation); + EAetheryteLocation? eAetheryteLocation = default(EAetheryteLocation?); + bool flag = default(bool); + List list = default(List); + Vector3 destination = default(Vector3); + while (true) + { + int num2 = num; + int num3 = -434907786; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 23: + return Array.Empty(); + case 1: + num = ((!_200B_200B_206B_206F_206A_202E_206D_200C_200F_200C_200E_200F_202A_202E_200E_206B_206B_202E_200B_206E_206C_200C_200C_206D_202B_206E_200E_206A_202B_202B_200C_200E_202E_202B_202D_206E_202C_200F_202C_200C_202E(step).HasValue) ? (-434907791) : (-434907783)); + break; + case 4: + num = ((_206A_202A_206A_206C_206C_202B_202D_206E_206B_202E_206E_206A_202E_206F_200B_206D_206D_200F_202B_202C_206F_202B_202D_206E_200B_206C_200C_206C_206C_200F_202A_200F_200E_202E_206D_202C_206A_202B_200B_202D_202E(step) != EInteractionType.AttuneAethernetShard) ? (-434907807) : (-434907786)); + break; + case 12: + valueOrDefault = eAetheryteLocation.GetValueOrDefault(); + flag = true; + num = -434907793; + break; + case 21: + return Array.Empty(); + case 10: + return CreateMoveToObjectTasks(step); + case 6: + num = ((step == null) ? (-434907807) : (-434907790)); + break; + case 5: + list = _206D_202C_202D_206F_206F_206A_202B_206B_206F_206A_202C_200C_200C_206E_202E_206F_206E_202E_202D_202B_200E_206D_202A_206D_202B_200E_200C_206C_202E_202A_200D_202B_206A_202D_202D_200D_202D_206B_202B_202E(step); + num = ((list == null) ? (-434907794) : (-434907784)); + break; + case 14: + num = ((list.Count <= 0) ? (-434907794) : (-434907808)); + break; + case 15: + return new global::_003C_003Ez__ReadOnlySingleElementList(new WaitForNearDataId(_202A_200D_206E_200D_200E_200B_202D_200B_202B_206B_206C_200E_202E_206B_206E_202E_200F_200D_200C_200B_202B_202B_206E_200C_206A_200C_200B_202A_202E_206B_200B_206B_206D_200C_206E_200C_202C_202A_200D_200E_202E(step).Value, _200B_200B_206B_206F_206A_202E_206D_200C_200F_200C_200E_200F_202A_202E_200E_206B_206B_202E_200B_206E_206C_200C_200C_206D_202B_206E_200E_206A_202B_202B_200C_200E_202E_202B_202D_206E_202C_200F_202C_200C_202E(step).Value)); + case 2: + num = ((!_206D_202C_202B_202A_202B_206B_200B_206A_202E_200D_202E_200C_206E_206B_200F_206A_200E_200C_200F_206B_202B_200E_202C_206E_200F_200D_200F_202D_200D_200E_206E_206B_206C_206F_206A_202B_206C_206E_206D_202B_202E(step).HasValue) ? (-434907781) : (-434907789)); + break; + case 17: + num = (_206D_202C_202B_202A_202B_206B_200B_206A_202E_200D_202E_200C_206E_206B_200F_206A_200E_200C_200F_206B_202B_200E_202C_206E_200F_200D_200F_202D_200D_200E_206E_206B_206C_206F_206A_202B_206C_206E_206D_202B_202E(step).HasValue ? (-434907804) : (-434907780)); + break; + case 26: + { + EAetheryteLocation valueOrDefault2 = eAetheryteLocation.GetValueOrDefault(); + return CreateMoveTasks(step, _206B_206E_206C_200C_200C_200F_206A_206E_202E_202D_202C_200B_206F_200D_200E_206A_202B_206C_206E_200F_206A_206B_206B_206F_206D_206D_200F_202C_200C_206C_206E_200C_202E_200F_200B_206B_206B_202C_202E_206F_202E(aetheryteData)[valueOrDefault2]); + } + case 0: + eAetheryteLocation = _200D_200C_206A_200D_202B_206B_200E_206B_200F_202A_200B_206A_206A_202D_200F_200B_200F_202E_206A_206D_202B_200C_200F_206E_206A_202C_206A_206D_206F_206C_202E_200D_200F_206D_206D_202C_202A_206A_206C_202B_202E(step); + num = ((!eAetheryteLocation.HasValue) ? (-434907807) : (-434907796)); + break; + case 27: + return CreateMoveTasks(step, _206B_206E_206C_200C_200C_200F_206A_206E_202E_202D_202C_200B_206F_200D_200E_206A_202B_206C_206E_200F_206A_206B_206B_206F_206D_206D_200F_202C_200C_206C_206E_200C_202E_200F_200B_206B_206B_202C_202E_206F_202E(aetheryteData)[valueOrDefault]); + case 18: + num = ((step == null) ? (-434907797) : (-434907798)); + break; + case 3: + return Array.Empty(); + case 13: + num = ((step == null) ? (-434907791) : (-434907778)); + break; + case 9: + num = ((_202B_202E_202C_200C_202A_206E_206E_202B_206C_206A_200D_206D_206C_206C_200C_206A_202C_202D_206C_206F_206A_206A_202C_200C_202D_200C_202E_200E_202C_206C_206F_206B_202E_200E_206F_206D_206E_202E_206E_202E_202E(step).Count <= 0) ? (-434907788) : (-434907805)); + break; + case 29: + flag = false; + num = -434907793; + break; + case 16: + eAetheryteLocation = _200F_206A_202A_206F_206F_200E_206F_202B_200C_206C_202C_200C_206F_200C_200D_202A_206F_200E_206F_206A_206E_206C_200D_202D_206B_206E_202B_206E_200E_206F_200D_206B_206D_206E_206E_200B_200F_202C_202D_200E_202E(step); + num = ((!eAetheryteLocation.HasValue) ? (-434907797) : (-434907782)); + break; + case 7: + num = ((step == null) ? (-434907804) : (-434907779)); + break; + case 22: + destination = _202D_206B_200C_202E_200D_200F_202D_202D_200F_200D_200E_200B_206A_200E_202C_202B_202C_202D_200D_206C_200D_206F_202A_200D_202C_206A_200E_206B_202D_200D_206F_202D_206B_206B_200D_206B_206C_206A_206A_202D_202E((IReadOnlyList)_206D_202C_202D_206F_206F_206A_202B_206B_206F_206A_202C_200C_200C_206E_202E_206F_206E_202E_202D_202B_200E_206D_202A_206D_202B_200E_200C_206C_202E_202A_200D_202B_206A_202D_202D_200D_202D_206B_202B_202E(step)); + num = -434907806; + break; + case 28: + { + EInteractionType eInteractionType = _206A_202A_206A_206C_206C_202B_202D_206E_206B_202E_206E_206A_202E_206F_200B_206D_206D_200F_202B_202C_206F_202B_202D_206E_200B_206C_200C_206C_206C_200F_202A_200F_200E_202E_206D_202C_206A_202B_200B_202D_202E(step); + num = (((uint)(eInteractionType - 4) > 1u) ? (-434907797) : (-434907802)); + break; + } + case 20: + return CreateMoveTasks(step, destination); + case 8: + num = ((!_202A_200D_206E_200D_200E_200B_202D_200B_202B_206B_206C_200E_202E_206B_206E_202E_200F_200D_200C_200B_202B_202B_206E_200C_206A_200C_200B_202A_202E_206B_200B_206B_206D_200C_206E_200C_202C_202A_200D_200E_202E(step).HasValue) ? (-434907791) : (-434907785)); + break; + case 19: + num = -434907787; + break; + case 11: + num = ((!_202A_200D_206E_200D_200E_200B_202D_200B_202B_206B_206C_200E_202E_206B_206E_202E_200F_200D_200C_200B_202B_202B_206E_200C_206A_200C_200B_202A_202E_206B_200B_206B_206D_200C_206E_200C_202C_202A_200D_200E_202E(step).HasValue) ? (-434907804) : (-434907801)); + break; + case 24: + destination = _206D_202C_202B_202A_202B_206B_200B_206A_202E_200D_202E_200C_206E_206B_200F_206A_200E_200C_200F_206B_202B_200E_202C_206E_200F_200D_200F_202D_200D_200E_206E_206B_206C_206F_206A_202B_206C_206E_206D_202B_202E(step).Value; + num = -434907806; + break; + case 25: + num = ((!flag) ? (-434907792) : (-434907795)); + break; + } + } + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); } private IEnumerable CreateMoveToObjectTasks(QuestStep step) { - yield return new WaitCondition.Task(() => clientState.TerritoryType == step.TerritoryId, "Wait(territory: " + territoryData.GetNameAndId(step.TerritoryId) + ")"); - if (!step.DisableNavmesh) + while (true) { - yield return new WaitNavmesh.Task(); + yield return new WaitCondition.Task(() => _003C_003Ec__DisplayClass8_0._206B_206A_206C_202D_200D_206A_202E_200F_202E_202C_202B_200B_200C_206D_200B_206F_206D_206F_200E_206A_202D_202A_206E_200B_206B_200D_206C_200C_202D_200F_206D_206B_206C_202A_206D_206F_202E_200D_206B_206E_202E(clientState) == _003C_003Ec__DisplayClass8_0._206B_202E_206D_202A_206D_200B_202E_200C_206D_206B_200F_206A_206C_200B_206B_206E_206B_202E_202C_202A_202C_206D_202C_206A_202E_200B_206E_206F_202B_206C_206B_206D_200E_206E_200D_206F_206D_200F_206A_202A_202E(step), _003CCreateMoveToObjectTasks_003Ed__8._202B_202C_206F_202E_202E_202D_200B_206C_200C_202C_200D_206A_202E_206C_206E_200F_202D_202E_202E_202D_200E_200C_206B_200F_206C_206B_200D_200F_202E_202E_200F_200B_200F_202A_200C_206C_202C_206E_200B_206D_202E(global::_003CModule_003E._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(-344536108), territoryData.GetNameAndId(_003CCreateMoveToObjectTasks_003Ed__8._206E_200D_200E_202B_206D_206D_202E_202B_206D_200D_200B_202A_200B_206A_206F_206D_202E_202B_200E_206C_206B_206F_202B_200E_206E_206E_202A_206E_202D_200D_200F_200D_202B_200B_202E_200B_200D_202E_206A_206E_202E(step)), global::_003CModule_003E._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(1735737295))); + while (true) + { + int num = (_003CCreateMoveToObjectTasks_003Ed__8._202E_200C_206C_200B_206D_200D_202E_206E_202C_202B_200F_202D_200E_202E_202B_200B_202B_202A_202E_206F_200F_200E_206F_200B_200C_206F_202E_206C_202E_202C_200F_206C_206B_206C_200D_206D_202C_200B_206F_202C_202E(step) ? (-1973141894) : (-1973141893)); + while (true) + { + int num2 = num; + int num3 = -1973141893; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + num = -1973141894; + break; + case 3: + goto end_IL_002f; + case 0: + yield return new WaitNavmesh.Task(); + goto case 7; + case 6: + goto end_IL_007d; + case 2: + yield break; + case 1: + yield return new MoveToObject(step); + yield break; + case 4: + num = -1973141890; + break; + case 5: + yield break; + } + continue; + end_IL_002f: + break; + } + continue; + end_IL_007d: + break; + } } - yield return new MoveToObject(step); } 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)) + bool? flag2 = default(bool?); + bool? flag = default(bool?); + while (true) { - logger.LogInformation("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) + ")"); - if (!step.DisableNavmesh) - { - yield return new WaitNavmesh.Task(); - } - yield return new MoveTask(step, destination); - if (step != null) - { - bool? fly = step.Fly; - if (fly.HasValue && fly == true && (step.Land ?? false)) + IPlayerCharacter playerCharacter = _003CCreateMoveTasks_003Ed__9._206E_202A_206D_206A_206A_206C_206C_206E_202D_200F_202B_202D_206C_206A_200E_206A_206E_206F_200C_202A_206F_206F_202B_206C_202D_206B_206C_206F_202D_200F_202A_200E_200D_200D_202C_202E_202D_206C_200F_202B_202E(objectTable); + int num = ((_003CCreateMoveTasks_003Ed__9._206F_200E_206E_202E_206D_200E_206A_206F_200E_202E_202E_200C_206A_206C_202D_200F_206C_200B_200D_200C_202C_200C_206D_206E_200C_206B_206B_202D_206C_202E_202D_200D_206E_202E_202A_206A_200C_200E_202D_202E(step) != EInteractionType.Jump) ? (-6885013) : (-6884993)); + while (true) { - yield return new LandTask(); + int num2 = num; + int num3 = -6885012; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 14: + num = ((flag2 != true) ? (-6885020) : (-6885023)); + continue; + case 12: + flag2 = _003CCreateMoveTasks_003Ed__9._206E_202A_206C_200F_206B_202A_200F_206D_206D_206B_206F_206A_206C_206C_200C_200C_206F_206F_206C_206A_206D_206E_206F_202C_200C_202B_200B_202C_206C_200B_200B_202B_206F_202E_206F_200B_206F_206C_206E_202A_202E(step); + num = ((!flag2.HasValue) ? (-6885020) : (-6885022)); + continue; + case 0: + yield return new WaitNavmesh.Task(); + goto case 5; + case 15: + _003CCreateMoveTasks_003Ed__9._206D_206D_206E_200B_202C_200B_202A_200D_202E_202E_200E_200C_200D_206C_200E_206F_206A_206D_206A_200D_200E_200F_202C_206E_200D_206C_200E_206F_200F_202E_202A_200C_202D_206B_200D_206C_206D_200B_200D_206C_202E((ILogger)logger, global::_003CModule_003E._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(2099763005), Array.Empty()); + yield break; + case 11: + num = ((playerCharacter == null) ? (-6885013) : (-6884994)); + continue; + case 13: + yield return new LandTask(); + goto case 17; + case 1: + yield return new MoveTask(step, destination); + goto case 6; + case 16: + yield break; + case 7: + yield return new WaitCondition.Task(() => _003C_003Ec__DisplayClass9_0._202A_202A_200F_200E_200E_202E_206B_200B_200C_202C_206E_206B_200E_200D_202D_200F_202E_206C_206D_206E_206C_200E_200E_206F_200D_200D_202E_206D_200F_206A_206D_206E_200D_202A_200E_202C_202D_202E_202C_202E(clientState) == _003C_003Ec__DisplayClass9_0._202A_206A_206A_200F_200F_206F_206E_202C_202B_200F_202D_206C_200C_200C_200E_202D_202C_200E_200B_206A_202D_200C_200B_206F_200F_202D_200B_206C_206E_202C_200B_202A_200F_202C_202E_200D_206D_206C_206A_206F_202E(step), _003CCreateMoveTasks_003Ed__9._200B_206A_200C_206D_202C_200B_200C_206A_202C_206D_200B_206B_200F_202D_202B_202E_202B_202C_200C_206B_206D_202D_200C_206E_200D_206C_200F_200D_200D_200B_206F_206E_202B_200B_206E_202B_202D_200B_206C_206C_202E(global::_003CModule_003E._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(923276170), territoryData.GetNameAndId(_003CCreateMoveTasks_003Ed__9._206E_206B_200C_200E_200B_202B_200F_206F_202E_206C_206A_206C_202B_202A_200D_200C_206D_202B_202D_200C_206F_200B_202A_200D_202C_200D_206C_206F_206F_202A_202C_206E_206E_202C_206D_202A_206C_200D_206A_206D_202E(step)), global::_003CModule_003E._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(1735737295))); + goto case 2; + case 19: + num = ((_003CCreateMoveTasks_003Ed__9._206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(step) == null) ? (-6885013) : (-6885017)); + continue; + case 4: + num = ((flag != true) ? (-6885020) : (-6885024)); + continue; + case 5: + num = -6885011; + continue; + case 3: + flag = _003CCreateMoveTasks_003Ed__9._200F_200F_206E_202E_206E_206C_206D_200F_200E_206D_200D_206A_202B_206B_200C_206B_206E_206B_206E_206B_202B_202C_202A_200F_206C_202C_200C_200D_206F_206E_200E_206C_206E_206A_202E_200F_206A_206E_200D_200D_202E(step); + num = ((!flag.HasValue) ? (-6885020) : (-6885016)); + continue; + case 18: + num = ((!((_003CCreateMoveTasks_003Ed__9._206D_206A_200C_206C_200C_202D_206E_206C_200E_202D_206F_202A_200C_206F_202E_206F_206D_206C_206C_202D_206B_206D_202E_206E_206A_206F_200D_206E_200B_200F_202B_206E_202C_202A_200C_200F_200B_200B_206F_206D_202E((IGameObject)playerCharacter) - _003CCreateMoveTasks_003Ed__9._202C_202A_202D_202A_206D_202C_202D_206F_202A_200E_202B_206B_200F_202C_206C_206E_206C_202D_202E_200E_202C_200B_202D_206E_206B_202E_206E_200C_206D_200D_202E_202E_200E_202C_202C_200C_200C_200D_200C_206F_202E(_003CCreateMoveTasks_003Ed__9._206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(step))).Length() <= (_003CCreateMoveTasks_003Ed__9._200B_200D_206B_200D_202E_200F_206C_206A_206C_200F_200E_202A_202B_200E_202A_206B_202D_202C_202A_202C_202D_206E_206E_206A_206E_200F_206C_206A_202C_200D_202D_200B_206D_202A_200C_206A_200F_206C_202E_200D_202E(_003CCreateMoveTasks_003Ed__9._206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(step)) ?? 1f))) ? (-6885013) : (-6885021)); + continue; + case 8: + yield break; + case 6: + num = ((step == null) ? (-6885020) : (-6885009)); + continue; + case 17: + num = -6885020; + continue; + case 2: + num = (_003CCreateMoveTasks_003Ed__9._202D_202B_200B_202D_206F_202A_206C_200F_206C_200D_202D_202A_200B_206F_202A_206D_200E_206D_200B_206F_206A_206A_200B_206D_200F_206A_206C_200D_200D_206B_200D_202E_200F_202C_200C_200B_206F_206C_206C_202E(step) ? (-6885011) : (-6885012)); + continue; + case 10: + break; + case 9: + num = -6884996; + continue; + } + break; } } } + + static List _202B_202E_202C_200C_202A_206E_206E_202B_206C_206A_200D_206D_206C_206C_200C_206A_202C_202D_206C_206F_206A_206A_202C_200C_202D_200C_202E_200E_202C_206C_206F_206B_202E_200E_206F_206D_206E_202E_206E_202E_202E(QuestStep P_0) + { + return P_0.DataIds; + } + + static Vector3? _206D_202C_202B_202A_202B_206B_200B_206A_202E_200D_202E_200C_206E_206B_200F_206A_200E_200C_200F_206B_202B_200E_202C_206E_200F_200D_200F_202D_200D_200E_206E_206B_206C_206F_206A_202B_206C_206E_206D_202B_202E(QuestStep P_0) + { + return P_0.Position; + } + + static List _206D_202C_202D_206F_206F_206A_202B_206B_206F_206A_202C_200C_200C_206E_202E_206F_206E_202E_202D_202B_200E_206D_202A_206D_202B_200E_200C_206C_202E_202A_200D_202B_206A_202D_202D_200D_202D_206B_202B_202E(QuestStep P_0) + { + return P_0.LandingZones; + } + + static Vector3 _202D_206B_200C_202E_200D_200F_202D_202D_200F_200D_200E_200B_206A_200E_202C_202B_202C_202D_200D_206C_200D_206F_202A_200D_202C_206A_200E_206B_202D_200D_206F_202D_206B_206B_200D_206B_206C_206A_206A_202D_202E(IReadOnlyList P_0) + { + return LandingZoneMath.CalculateLandingLocation(P_0); + } + + static uint? _202A_200D_206E_200D_200E_200B_202D_200B_202B_206B_206C_200E_202E_206B_206E_202E_200F_200D_200C_200B_202B_202B_206E_200C_206A_200C_200B_202A_202E_206B_200B_206B_206D_200C_206E_200C_202C_202A_200D_200E_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static float? _200B_200B_206B_206F_206A_202E_206D_200C_200F_200C_200E_200F_202A_202E_200E_206B_206B_202E_200B_206E_206C_200C_200C_206D_202B_206E_200E_206A_202B_202B_200C_200E_202E_202B_202D_206E_202C_200F_202C_200C_202E(QuestStep P_0) + { + return P_0.StopDistance; + } + + static EInteractionType _206A_202A_206A_206C_206C_202B_202D_206E_206B_202E_206E_206A_202E_206F_200B_206D_206D_200F_202B_202C_206F_202B_202D_206E_200B_206C_200C_206C_206C_200F_202A_200F_200E_202E_206D_202C_206A_202B_200B_202D_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static EAetheryteLocation? _200F_206A_202A_206F_206F_200E_206F_202B_200C_206C_202C_200C_206F_200C_200D_202A_206F_200E_206F_206A_206E_206C_200D_202D_206B_206E_202B_206E_200E_206F_200D_206B_206D_206E_206E_200B_200F_202C_202D_200E_202E(QuestStep P_0) + { + return P_0.Aetheryte; + } + + static ReadOnlyDictionary _206B_206E_206C_200C_200C_200F_206A_206E_202E_202D_202C_200B_206F_200D_200E_206A_202B_206C_206E_200F_206A_206B_206B_206F_206D_206D_200F_202C_200C_206C_206E_200C_202E_200F_200B_206B_206B_202C_202E_206F_202E(AetheryteData P_0) + { + return P_0.Locations; + } + + static EAetheryteLocation? _200D_200C_206A_200D_202B_206B_200E_206B_200F_202A_200B_206A_206A_202D_200F_200B_200F_202E_206A_206D_202B_200C_200F_206E_206A_202C_206A_206D_206F_206C_202E_200D_200F_206D_206D_202C_202A_206A_206C_202B_202E(QuestStep P_0) + { + return P_0.AethernetShard; + } } } diff --git a/Questionable/Questionable.Controller.Steps.Movement/MoveToObject.cs b/Questionable/Questionable.Controller.Steps.Movement/MoveToObject.cs index 94249357..5bb3af07 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/MoveToObject.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/MoveToObject.cs @@ -1,16 +1,119 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; using Questionable.Model.Questing; namespace Questionable.Controller.Steps.Movement; internal sealed record MoveToObject(QuestStep Step) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_202A_202B_200D_206A_200B_200E_200C_202E_200D_202D_200C_200F_200D_202E_202D_206C_206B_200F_200D_200E_200B_206F_202D_206A_206A_200C_200E_200B_200C_206E_206A_200B_206F_200E_200B_206B_202C_200B_202D_202E(typeof(MoveToObject).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"MoveToObject({Step.DataId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(14, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1070925283)); + defaultInterpolatedStringHandler.AppendFormatted(_200D_206C_202A_202E_206E_202D_206F_206E_202D_202B_206E_202D_200E_200E_202E_206F_202A_202A_202D_206E_200B_202A_200F_202D_202A_200D_202E_200C_200F_206B_206A_206E_200E_206A_202A_202C_206E_206A_206C_200C_202E(Step)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206E_200C_206A_206B_202D_206B_206B_200C_200D_202D_206A_200E_200B_200E_200C_202A_202C_206A_206A_200B_200D_202A_206E_206B_206E_206D_202B_202A_202E_206D_200D_202B_202C_202E_206D_200C_202C_202E_206E_202D_202E(); + _206F_206D_202D_200C_202D_200E_200F_200E_206A_206B_206D_206A_202A_206B_200E_206D_206C_202E_200D_202C_206B_202D_206C_200E_200C_202C_206C_200F_200F_206F_200E_200C_200E_200F_200F_200E_206D_200B_202E_206D_202E(builder, global::_003CModule_003E._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(148385326)); + _200C_200B_200B_206E_200E_202C_200D_200C_202A_202D_200D_200C_200D_206E_206D_202D_202B_202D_206B_200E_206F_200B_200B_202B_200B_206F_200C_200B_206D_202D_200C_202C_202E_200B_206B_202D_200B_206A_200C_200E_202E(builder, (object)Step); + return true; + } + + [CompilerGenerated] + public bool Equals(MoveToObject? other) + { + int num = (((object)this == other) ? (-5837158) : (-5837160)); + while (true) + { + int num2 = num; + int num3 = -5837157; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((!_202B_206B_202A_200F_202C_202D_202E_206C_202E_206F_202E_200B_206B_206E_206F_200B_206F_200F_202E_202D_200C_206B_206B_200C_200E_206C_206C_202C_200D_206A_206B_202E_200F_200C_200B_202E_200C_206F_200F_206C_202E(EqualityContract, other.EqualityContract)) ? (-5837154) : (-5837159)); + break; + case 3: + num = (((object)other == null) ? (-5837154) : (-5837153)); + break; + case 0: + num = -5837160; + break; + case 5: + return false; + case 1: + return true; + case 2: + return EqualityComparer.Default.Equals(Step, other.Step); + } + } + } + + bool IEquatable.Equals(MoveToObject? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_202A_202B_200D_206A_200B_200E_200C_202E_200D_202D_200C_200F_200D_202E_202D_206C_206B_200F_200D_200E_200B_206F_202D_206A_206A_200C_200E_200B_200C_206E_206A_200B_206F_200E_200B_206B_202C_200B_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static uint? _200D_206C_202A_202E_206E_202D_206F_206E_202D_202B_206E_202D_200E_200E_202E_206F_202A_202A_202D_206E_200B_202A_200F_202D_202A_200D_202E_200C_200F_206B_206A_206E_200E_206A_202A_202C_206E_206A_206C_200C_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static void _206E_200C_206A_206B_202D_206B_206B_200C_200D_202D_206A_200E_200B_200E_200C_202A_202C_206A_206A_200B_200D_202A_206E_206B_206E_206D_202B_202A_202E_206D_200D_202B_202C_202E_206D_200C_202C_202E_206E_202D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206F_206D_202D_200C_202D_200E_200F_200E_206A_206B_206D_206A_202A_206B_200E_206D_206C_202E_200D_202C_206B_202D_206C_200E_200C_202C_206C_200F_200F_206F_200E_200C_200E_200F_200F_200E_206D_200B_202E_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200C_200B_200B_206E_200E_202C_200D_200C_202A_202D_200D_200C_200D_206E_206D_202D_202B_202D_206B_200E_206F_200B_200B_202B_200B_206F_200C_200B_206D_202D_200C_202C_202E_200B_206B_202D_200B_206A_200C_200E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202B_206B_202A_200F_202C_202D_202E_206C_202E_206F_202E_200B_206B_206E_206F_200B_206F_200F_202E_202D_200C_206B_206B_200C_200E_206C_206C_202C_200D_206A_206B_202E_200F_200C_200B_202E_200C_206F_200F_206C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } diff --git a/Questionable/Questionable.Controller.Steps.Movement/MoveToObjectExecutor.cs b/Questionable/Questionable.Controller.Steps.Movement/MoveToObjectExecutor.cs index 783b5ece..c99382a0 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/MoveToObjectExecutor.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/MoveToObjectExecutor.cs @@ -1,127 +1,363 @@ using System; +using System.Collections; +using System.Collections.Generic; using System.Numerics; +using System.Runtime.CompilerServices; 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; using Questionable.Functions; using Questionable.Model; +using Questionable.Model.Questing; 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; private bool _moving; + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - if (!base.Task.Step.DataId.HasValue) + int num = (_202A_202B_202A_200D_200E_206A_206D_202A_200C_202A_200F_202C_202C_200B_200D_202C_202C_202B_200B_200E_202B_206F_202A_200B_206B_206D_206E_206B_206E_200E_206D_206D_202D_202B_206B_200E_200C_200D_206F_206B_202E(base.Task.Step).HasValue ? 29975280 : 29975286); + while (true) { - logger.LogWarning("MoveToObject task has no DataId"); - return false; + int num2 = num; + int num3 = 29975282; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = ((_206B_206E_200B_200D_206A_202D_206B_200C_200E_200F_200D_200C_202B_206A_200C_202B_202B_200F_200E_200C_200B_206A_202C_202A_200D_202E_200C_200C_206F_206D_202B_206F_200B_200F_206F_200B_200D_206A_206C_206C_202E(clientState) == _206B_206F_202D_200C_202B_202A_206B_200F_206B_206E_206C_206E_206A_202D_202A_200C_206B_202B_206D_202B_206C_200C_200F_206D_200B_202E_202C_206B_206E_206C_200C_206C_200E_202A_206F_206D_206B_206C_200B_202C_202E(base.Task.Step)) ? 29975281 : 29975283); + break; + case 3: + _startedLookingAt = _202C_200B_200E_200D_202C_206D_200D_200E_206E_200B_200E_206C_206B_206A_202D_200D_202D_200E_206F_200F_200D_200C_200B_200F_206C_200C_202C_202D_200D_206F_206E_206A_206B_202B_202E_202C_200E_200D_202B_200E_202E(); + return TryStartMovement(); + case 0: + num = 29975286; + break; + case 1: + _202E_200E_202D_206F_200C_200D_202A_200B_200C_200F_206B_206C_200B_206D_200C_200E_202C_206B_206D_206D_202C_206F_206A_206C_202B_200E_206B_200F_206A_202D_206F_200B_202E_200C_200C_202C_202E_206D_206A_206B_202E((ILogger)logger, global::_003CModule_003E._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(969274381), Array.Empty()); + return true; + case 4: + _206E_202E_200C_200E_206C_202E_206E_200C_206D_206C_206D_202D_202A_200F_200F_206B_206F_206B_200C_200B_200B_200E_202C_202B_206C_200F_202B_200D_200E_206A_202B_200D_206C_206C_206B_202B_202D_206F_206F_206B_202E((ILogger)logger, global::_003CModule_003E._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(-833964926), Array.Empty()); + return false; + } } - if (clientState.TerritoryType != base.Task.Step.TerritoryId) - { - logger.LogInformation("Not in correct territory yet, waiting"); - return true; - } - _startedLookingAt = DateTime.Now; - return TryStartMovement(); } private IGameObject? FindDistantObjectByDataId(uint dataId) { - IGameObject gameObject = objectTable[0]; - if (gameObject == null) + IPlayerCharacter playerCharacter = _202C_200D_206A_206B_200C_206A_202A_200B_206E_206C_206B_206C_200F_206C_202C_206E_200C_206A_206B_202C_206F_206C_202A_206A_200F_206B_202B_206E_206F_206F_200B_202C_202E_206F_206E_200D_206F_200D_202A_200D_202E(objectTable); + int num = ((playerCharacter != null) ? 1134612284 : 1134612287); + ObjectKind objectKind = default(ObjectKind); + bool flag = default(bool); + IGameObject current = default(IGameObject); + float num8 = default(float); + while (true) { - return null; - } - float num = base.Task.Step.CalculateActualStopDistance(); - IGameObject result = null; - float num2 = float.MaxValue; - foreach (IGameObject item in objectTable) - { - ObjectKind objectKind = item.ObjectKind; - bool flag = ((objectKind == ObjectKind.Pc || objectKind - 8 <= ObjectKind.BattleNpc || objectKind == ObjectKind.HousingEventObject) ? true : false); - if (!flag && item.BaseId == dataId) + int num2 = num; + int num3 = 1134612286; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - float num3 = Vector3.Distance(gameObject.Position, item.Position); - if (!(num3 <= num) && num3 < num2) + case 0: + goto IL_0056; + case 1: + return null; + case 2: + { + float num5 = _200D_206F_206E_202C_200D_206D_206B_206F_206F_200C_200C_202B_206F_200C_200C_200E_206C_202D_200C_206A_206C_202E_200C_200D_206A_206B_202D_200F_206A_206A_206D_202A_200E_202E_202C_206D_202C_200D_206E_202E(base.Task.Step); + IGameObject result = null; + float num6 = float.MaxValue; + IEnumerator enumerator = objectTable.GetEnumerator(); + try { - result = item; - num2 = num3; + num = -1624913686; + while (true) + { + int num7 = num; + num3 = -1624913683; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 12: + num = ((objectKind != ObjectKind.HousingEventObject) ? (-1624913692) : (-1624913681)); + break; + case 2: + flag = true; + num = -1624913690; + break; + case 3: + num = ((objectKind - 8 <= ObjectKind.BattleNpc) ? (-1624913681) : (-1624913695)); + break; + case 6: + result = current; + num6 = num8; + num = -1624913686; + break; + case 10: + num = ((!(num8 < num6)) ? (-1624913686) : (-1624913685)); + break; + case 5: + num8 = Vector3.Distance(_206F_200E_206A_200E_206C_200C_206C_202D_206A_206D_202C_206C_200B_202E_202E_206D_200E_206D_200F_200D_200D_206A_202B_200F_206C_206E_206B_206D_206D_206D_202A_200E_206C_200D_200F_202E_202A_200D_206F_200C_202E((IGameObject)playerCharacter), _206F_200E_206A_200E_206C_200C_206C_202D_206A_206D_202C_206C_200B_202E_202E_206D_200E_206D_200F_200D_200D_206A_202B_200F_206C_206E_206B_206D_206D_206D_202A_200E_206C_200D_200F_202E_202A_200D_206F_200C_202E(current)); + num = ((num8 <= num5) ? (-1624913686) : (-1624913689)); + break; + case 9: + flag = false; + num = -1624913690; + break; + case 1: + num = ((_202E_206F_200F_206E_200D_200E_202A_202E_200C_202C_206C_200C_202C_206B_206C_200D_202E_200E_202C_206B_206A_202A_200C_206D_202A_200F_202A_206C_200F_202A_202D_200B_202B_202A_202A_206D_202B_200F_206F_200C_202E(current) != dataId) ? (-1624913686) : (-1624913688)); + break; + case 0: + num = -1624913686; + break; + case 4: + current = enumerator.Current; + objectKind = _200F_206E_200F_206C_206A_200D_202C_200C_200E_200E_206A_206E_202E_200D_202A_202D_202C_206C_206D_202D_200D_200E_200D_206D_200E_206F_206C_200D_202C_206E_202B_200D_202E_206E_200E_200B_202D_206B_202E(current); + num = ((objectKind == ObjectKind.Pc) ? (-1624913681) : (-1624913682)); + break; + case 11: + num = (flag ? (-1624913686) : (-1624913684)); + break; + case 7: + num = (_206B_206F_200D_202E_206E_206D_206C_200B_206A_206A_206F_202A_202D_200B_202D_202B_200E_202A_200E_202C_206A_202D_200C_200E_202D_206F_200E_206E_206D_202E_202B_200E_202D_206E_206A_202A_206A_200E_206C_202E((IEnumerator)enumerator) ? (-1624913687) : (-1624913691)); + break; + case 8: + return result; + } + } + } + finally + { + num = ((enumerator == null) ? 2066825075 : 2066825072); + while (true) + { + int num9 = num; + num3 = 2066825073; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 0: + num = 2066825072; + break; + case 2: + goto end_IL_027b; + case 1: + _206E_202D_206F_200D_202E_206E_200B_202C_200C_206B_206B_200E_202B_206B_202E_202C_200D_200B_202D_200F_206E_206F_200C_202A_206E_202E_200B_206C_200C_202B_206B_206F_206D_206F_200D_206D_200E_202A_206A_202B_202E((IDisposable)enumerator); + num = 2066825075; + break; + } + continue; + end_IL_027b: + break; + } } } + } + continue; + IL_0056: + num = 1134612287; } - return result; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool TryStartMovement() { - IGameObject gameObject = FindDistantObjectByDataId(base.Task.Step.DataId.Value); - if (gameObject == null) + IGameObject gameObject = FindDistantObjectByDataId(_202A_202B_202A_200D_200E_206A_206D_202A_200C_202A_200F_202C_202C_200B_200D_202C_202C_202B_200B_200E_202B_206F_202A_200B_206B_206D_206E_206B_206E_200E_206D_206D_202D_202B_206B_200E_200C_200D_206F_206B_202E(base.Task.Step).Value); + int num = ((gameObject != null) ? 1351000987 : 1351000991); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + float num7 = default(float); + while (true) { - gameObject = gameFunctions.FindObjectByDataId(base.Task.Step.DataId.Value, null, warnIfMissing: false); - if (gameObject == null) + int num2 = num; + int num3 = 1351000990; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - logger.LogInformation("Object {DataId} not found yet, waiting", base.Task.Step.DataId); + case 3: + num = 1351000991; + break; + case 2: + playerCharacter = _202C_200D_206A_206B_200C_206A_202A_200B_206E_206C_206B_206C_200F_206C_202C_206E_200C_206A_206B_202C_206F_206C_202A_206A_200F_206B_202B_206E_206F_206F_200B_202C_202E_206F_206E_200D_206F_200D_202A_200D_202E(objectTable); + num7 = _200D_206F_206E_202C_200D_206D_206B_206F_206F_200C_200C_202B_206F_200C_200C_200E_206C_202D_200C_206A_206C_202E_200C_200D_206A_206B_202D_200F_206A_206A_206D_202A_200E_202E_202C_206D_202C_200D_206E_202E(base.Task.Step); + num = ((playerCharacter == null) ? 1351000987 : 1351000984); + break; + case 1: + gameObject = gameFunctions.FindObjectByDataId(_202A_202B_202A_200D_200E_206A_206D_202A_200C_202A_200F_202C_202C_200B_200D_202C_202C_202B_200B_200E_202B_206F_202A_200B_206B_206D_206E_206B_206E_200E_206D_206D_202D_202B_206B_200E_200C_200D_206F_206B_202E(base.Task.Step).Value, null, warnIfMissing: false); + num = ((gameObject != null) ? 1351000988 : 1351000986); + break; + case 4: + _202E_200E_202D_206F_200C_200D_202A_200B_200C_200F_206B_206C_200B_206D_200C_200E_202C_206B_206D_206D_202C_206F_206A_206C_202B_200E_206B_200F_206A_202D_206F_200B_202E_200C_200C_202C_202E_206D_206A_206B_202E((ILogger)logger, global::_003CModule_003E._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(-1977444893), new object[1] { _202A_202B_202A_200D_200E_206A_206D_202A_200C_202A_200F_202C_202C_200B_200D_202C_202C_202B_200B_200E_202B_206F_202A_200B_206B_206D_206E_206B_206E_200E_206D_206D_202D_202B_206B_200E_200C_200D_206F_206B_202E(base.Task.Step) }); return true; - } - IGameObject gameObject2 = objectTable[0]; - float num = base.Task.Step.CalculateActualStopDistance(); - if (gameObject2 != null && Vector3.Distance(gameObject2.Position, gameObject.Position) <= num) - { - logger.LogInformation("Only nearby objects with DataId {DataId} remain, skipping", base.Task.Step.DataId); + case 5: + _destination = _206F_200E_206A_200E_206C_200C_206C_202D_206A_206D_202C_206C_200B_202E_202E_206D_200E_206D_200F_200D_200D_206A_202B_200F_206C_206E_206B_206D_206D_206D_202A_200E_206C_200D_200F_202E_202A_200D_206F_200C_202E(gameObject); + _202E_200E_202D_206F_200C_200D_202A_200B_200C_200F_206B_206C_200B_206D_200C_200E_202C_206B_206D_206D_202C_206F_206A_206C_202B_200E_206B_200F_206A_202D_206F_200B_202E_200C_200C_202C_202E_206D_206A_206B_202E((ILogger)logger, global::_003CModule_003E._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(-581508250), new object[2] + { + _202A_202B_202A_200D_200E_206A_206D_202A_200C_202A_200F_202C_202C_200B_200D_202C_202C_202B_200B_200E_202B_206F_202A_200B_206B_206D_206E_206B_206E_200E_206D_206D_202D_202B_206B_200E_200C_200D_206F_206B_202E(base.Task.Step), + _destination + }); + movementController.NavigateTo(EMovementType.Quest, _202A_202B_202A_200D_200E_206A_206D_202A_200C_202A_200F_202C_202C_200B_200D_202C_202C_202B_200B_200E_202B_206F_202A_200B_206B_206D_206E_206B_206E_200E_206D_206D_202D_202B_206B_200E_200C_200D_206F_206B_202E(base.Task.Step), _destination, fly: false, _206E_200D_202B_202C_202E_202A_206C_206C_206C_206B_202A_202C_206C_202D_200C_206B_202A_200D_200F_202C_206D_202D_206F_200C_206B_200F_200E_206A_202C_206C_202E_200B_206F_200F_202E_202A_206A_202B_202E_206A_202E(base.Task.Step) ?? true, _200D_206F_206E_202C_200D_206D_206B_206F_206F_200C_200C_202B_206F_200C_200C_200E_206C_202D_200C_206A_206C_202E_200C_200D_206A_206B_202D_200F_206A_206A_206D_202A_200E_202E_202C_206D_202C_200D_206E_202E(base.Task.Step)); + _moving = true; return true; + case 0: + _202E_200E_202D_206F_200C_200D_202A_200B_200C_200F_206B_206C_200B_206D_200C_200E_202C_206B_206D_206D_202C_206F_206A_206C_202B_200E_206B_200F_206A_202D_206F_200B_202E_200C_200C_202C_202E_206D_206A_206B_202E((ILogger)logger, global::_003CModule_003E._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(-604742017), new object[1] { _202A_202B_202A_200D_200E_206A_206D_202A_200C_202A_200F_202C_202C_200B_200D_202C_202C_202B_200B_200E_202B_206F_202A_200B_206B_206D_206E_206B_206E_200E_206D_206D_202D_202B_206B_200E_200C_200D_206F_206B_202E(base.Task.Step) }); + return true; + case 6: + num = ((!(Vector3.Distance(_206F_200E_206A_200E_206C_200C_206C_202D_206A_206D_202C_206C_200B_202E_202E_206D_200E_206D_200F_200D_200D_206A_202B_200F_206C_206E_206B_206D_206D_206D_202A_200E_206C_200D_200F_202E_202A_200D_206F_200C_202E((IGameObject)playerCharacter), _206F_200E_206A_200E_206C_200C_206C_202D_206A_206D_202C_206C_200B_202E_202E_206D_200E_206D_200F_200D_200D_206A_202B_200F_206C_206E_206B_206D_206D_206D_202A_200E_206C_200D_200F_202E_202A_200D_206F_200C_202E(gameObject)) <= num7)) ? 1351000987 : 1351000990); + break; } } - _destination = gameObject.Position; - logger.LogInformation("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; } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - if (clientState.TerritoryType != base.Task.Step.TerritoryId) + int num = ((_206B_206E_200B_200D_206A_202D_206B_200C_200E_200F_200D_200C_202B_206A_200C_202B_202B_200F_200E_200C_200B_206A_202C_202A_200D_202E_200C_200C_206F_206D_202B_206F_200B_200F_206F_200B_200D_206A_206C_206C_202E(clientState) == _206B_206F_202D_200C_202B_202A_206B_200F_206B_206E_206C_206E_206A_202D_202A_200C_206B_202B_206D_202B_206C_200C_200F_206D_200B_202E_202C_206B_206E_206C_200C_206C_200E_202A_206F_206D_206B_206C_200B_202C_202E(base.Task.Step)) ? (-1023711134) : (-1023711130)); + long? startedLookingAt = default(long?); + while (true) { - return ETaskResult.StillRunning; - } - if (!_moving) - { - if (_startedLookingAt != DateTime.MaxValue && DateTime.Now > _startedLookingAt.AddSeconds(3.0)) + int num2 = num; + int num3 = -1023711125; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - logger.LogInformation("Object {DataId} not found after timeout, skipping step", base.Task.Step.DataId); + case 12: + startedLookingAt = _startedLookingAt; + num = ((!startedLookingAt.HasValue) ? (-1023711132) : (-1023711133)); + break; + case 14: return ETaskResult.TaskComplete; - } - if (!TryStartMovement()) + case 9: + num = (_moving ? (-1023711128) : (-1023711129)); + break; + case 15: + num = (TryStartMovement() ? (-1023711121) : (-1023711131)); + break; + case 8: { + long valueOrDefault = startedLookingAt.GetValueOrDefault(); + long num5 = _202C_200B_200E_200D_202C_206D_200D_200E_206E_200B_200E_206C_206B_206A_202D_200D_202D_200E_206F_200F_200D_200C_200B_200F_206C_200C_202C_202D_200D_206F_206E_206A_206B_202B_202E_202C_200E_200D_202B_200E_202E(); + long num6 = 3000L; + long num7 = valueOrDefault; + num = ((num5 <= (num7 | num6) + (num7 & num6)) ? (-1023711132) : (-1023711127)); + break; + } + case 4: + num = (_moving ? (-1023711128) : (-1023711135)); + break; + case 2: + _202E_200E_202D_206F_200C_200D_202A_200B_200C_200F_206B_206C_200B_206D_200C_200E_202C_206B_206D_206D_202C_206F_206A_206C_202B_200E_206B_200F_206A_202D_206F_200B_202E_200C_200C_202C_202E_206D_206A_206B_202E((ILogger)logger, global::_003CModule_003E._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(1582144125), new object[1] { _202A_202B_202A_200D_200E_206A_206D_202A_200C_202A_200F_202C_202C_200B_200D_202C_202C_202B_200B_200E_202B_206F_202A_200B_206B_206D_206E_206B_206E_200E_206D_206D_202D_202B_206B_200E_200C_200D_206F_206B_202E(base.Task.Step) }); return ETaskResult.TaskComplete; - } - if (!_moving) - { + case 5: + num = (movementController.HasBeenMovingForAtLeast(2000) ? (-1023711123) : (-1023711124)); + break; + case 0: + num = -1023711130; + break; + case 1: + num = ((!movementController.IsPathRunning) ? (-1023711122) : (-1023711136)); + break; + case 3: + num = (movementController.IsPathfinding ? (-1023711136) : (-1023711126)); + break; + case 7: + return ETaskResult.StillRunning; + case 13: + return ETaskResult.StillRunning; + case 6: + return ETaskResult.TaskComplete; + case 10: + return ETaskResult.StillRunning; + case 11: return ETaskResult.StillRunning; } } - if (movementController.IsPathfinding || movementController.IsPathRunning) - { - return ETaskResult.StillRunning; - } - DateTime movementStartedAt = movementController.MovementStartedAt; - if (movementStartedAt == DateTime.MaxValue || movementStartedAt.AddSeconds(2.0) >= DateTime.Now) - { - return ETaskResult.StillRunning; - } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return false; } + + static uint? _202A_202B_202A_200D_200E_206A_206D_202A_200C_202A_200F_202C_202C_200B_200D_202C_202C_202B_200B_200E_202B_206F_202A_200B_206B_206D_206E_206B_206E_200E_206D_206D_202D_202B_206B_200E_200C_200D_206F_206B_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static void _206E_202E_200C_200E_206C_202E_206E_200C_206D_206C_206D_202D_202A_200F_200F_206B_206F_206B_200C_200B_200B_200E_202C_202B_206C_200F_202B_200D_200E_206A_202B_200D_206C_206C_206B_202B_202D_206F_206F_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static uint _206B_206E_200B_200D_206A_202D_206B_200C_200E_200F_200D_200C_202B_206A_200C_202B_202B_200F_200E_200C_200B_206A_202C_202A_200D_202E_200C_200C_206F_206D_202B_206F_200B_200F_206F_200B_200D_206A_206C_206C_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static ushort _206B_206F_202D_200C_202B_202A_206B_200F_206B_206E_206C_206E_206A_202D_202A_200C_206B_202B_206D_202B_206C_200C_200F_206D_200B_202E_202C_206B_206E_206C_200C_206C_200E_202A_206F_206D_206B_206C_200B_202C_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static void _202E_200E_202D_206F_200C_200D_202A_200B_200C_200F_206B_206C_200B_206D_200C_200E_202C_206B_206D_206D_202C_206F_206A_206C_202B_200E_206B_200F_206A_202D_206F_200B_202E_200C_200C_202C_202E_206D_206A_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static long _202C_200B_200E_200D_202C_206D_200D_200E_206E_200B_200E_206C_206B_206A_202D_200D_202D_200E_206F_200F_200D_200C_200B_200F_206C_200C_202C_202D_200D_206F_206E_206A_206B_202B_202E_202C_200E_200D_202B_200E_202E() + { + return Environment.TickCount64; + } + + static IPlayerCharacter _202C_200D_206A_206B_200C_206A_202A_200B_206E_206C_206B_206C_200F_206C_202C_206E_200C_206A_206B_202C_206F_206C_202A_206A_200F_206B_202B_206E_206F_206F_200B_202C_202E_206F_206E_200D_206F_200D_202A_200D_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static float _200D_206F_206E_202C_200D_206D_206B_206F_206F_200C_200C_202B_206F_200C_200C_200E_206C_202D_200C_206A_206C_202E_200C_200D_206A_206B_202D_200F_206A_206A_206D_202A_200E_202E_202C_206D_202C_200D_206E_202E(QuestStep P_0) + { + return P_0.CalculateActualStopDistance(); + } + + static ObjectKind _200F_206E_200F_206C_206A_200D_202C_200C_200E_200E_206A_206E_202E_200D_202A_202D_202C_206C_206D_202D_200D_200E_200D_206D_200E_206F_206C_200D_202C_206E_202B_200D_202E_206E_200E_200B_202D_206B_202E(IGameObject P_0) + { + return P_0.ObjectKind; + } + + static uint _202E_206F_200F_206E_200D_200E_202A_202E_200C_202C_206C_200C_202C_206B_206C_200D_202E_200E_202C_206B_206A_202A_200C_206D_202A_200F_202A_206C_200F_202A_202D_200B_202B_202A_202A_206D_202B_200F_206F_200C_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static Vector3 _206F_200E_206A_200E_206C_200C_206C_202D_206A_206D_202C_206C_200B_202E_202E_206D_200E_206D_200F_200D_200D_206A_202B_200F_206C_206E_206B_206D_206D_206D_202A_200E_206C_200D_200F_202E_202A_200D_206F_200C_202E(IGameObject P_0) + { + return P_0.Position; + } + + static bool _206B_206F_200D_202E_206E_206D_206C_200B_206A_206A_206F_202A_202D_200B_202D_202B_200E_202A_200E_202C_206A_202D_200C_200E_202D_206F_200E_206E_206D_202E_202B_200E_202D_206E_206A_202A_206A_200E_206C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206E_202D_206F_200D_202E_206E_200B_202C_200C_206B_206B_200E_202B_206B_202E_202C_200D_200B_202D_200F_206E_206F_200C_202A_206E_202E_200B_206C_200C_202B_206B_206F_206D_206F_200D_206D_200E_202A_206A_202B_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool? _206E_200D_202B_202C_202E_202A_206C_206C_206C_206B_202A_202C_206C_202D_200C_206B_202A_200D_200F_202C_206D_202D_206F_200C_206B_200F_200E_206A_202C_206C_202E_200B_206F_200F_202E_202A_206A_202B_202E_206A_202E(QuestStep P_0) + { + return P_0.Sprint; + } } diff --git a/Questionable/Questionable.Controller.Steps.Movement/NoOpTask.cs b/Questionable/Questionable.Controller.Steps.Movement/NoOpTask.cs index eebdc005..e73bc579 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/NoOpTask.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/NoOpTask.cs @@ -1,3 +1,110 @@ +using System; +using System.Runtime.CompilerServices; +using System.Text; + namespace Questionable.Controller.Steps.Movement; -internal sealed record NoOpTask : ITask; +internal sealed record NoOpTask : ITask +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_200F_206E_202E_200B_206B_200F_200B_206F_206A_206B_206B_202C_206D_206A_200C_200E_202D_200B_206D_200F_206C_202B_202D_202C_202E_206A_206D_206C_200E_202A_202B_200F_200B_200C_202C_206E_206E_202E_206A_202E(typeof(NoOpTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206B_202A_202E_202C_206A_206D_206E_202D_200C_202D_200F_206B_202C_202B_206C_202D_206A_206F_200D_206D_206E_200E_200C_206A_200F_202C_200F_206E_200C_206F_200F_202C_206A_200D_202D_202B_202B_200B_200C_206B_202E(); + _202E_200B_200C_200E_200C_206C_200F_206B_202B_202C_202B_206C_206A_206A_206E_206C_206C_202D_206A_202A_202A_202B_200E_200D_200F_206F_206F_200D_200D_206F_206A_202E_202D_200E_206E_202D_202E_206E_206E_200E_202E(stringBuilder, global::_003CModule_003E._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(-1577194726)); + _202E_200B_200C_200E_200C_206C_200F_206B_202B_202C_202B_206C_206A_206A_206E_206C_206C_202D_206A_202A_202A_202B_200E_200D_200F_206F_206F_200D_200D_206F_206A_202E_202D_200E_206E_202D_202E_206E_206E_200E_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? (-163441157) : (-163441160)); + while (true) + { + int num2 = num; + int num3 = -163441159; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -163441160; + break; + case 1: + _200C_200F_202D_202A_206B_206B_206E_202D_206B_206A_202E_200D_202A_206B_200B_202B_202D_206E_200F_202A_200B_202D_206A_200D_206A_202C_200B_202C_200D_206A_206F_200E_200F_206F_202D_200F_206B_206A_202A_200C_202E(stringBuilder, ' '); + num = -163441157; + break; + case 2: + _200C_200F_202D_202A_206B_206B_206E_202D_206B_206A_202E_200D_202A_206B_200B_202B_202D_206E_200F_202A_200B_202D_206A_200D_206A_202C_200B_202C_200D_206A_206F_200E_200F_206F_202D_200F_206B_206A_202A_200C_202E(stringBuilder, '}'); + return _202D_206C_200C_206F_202B_202A_206C_200F_206A_202D_206F_202A_202A_202C_202D_206E_206A_202B_202C_202A_202D_200B_200B_200B_202B_202E_206A_200E_202E_200B_200D_200B_200E_200C_206E_202D_200C_200B_200F_202A_202E((object)stringBuilder); + } + } + } + + [CompilerGenerated] + public bool Equals(NoOpTask? other) + { + int num = (((object)this == other) ? (-1727123602) : (-1727123605)); + while (true) + { + int num2 = num; + int num3 = -1727123606; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return true; + case 3: + return _202C_202B_200C_200E_200B_200B_206D_202B_206F_206A_200B_202B_206C_202D_202B_202D_200F_202A_200C_202B_206A_200C_200E_202C_206B_206B_200D_202A_200C_202E_206B_206B_206A_206D_200E_206B_206E_206C_202E_206A_202E(EqualityContract, other.EqualityContract); + case 1: + num = (((object)other == null) ? (-1727123608) : (-1727123607)); + break; + case 2: + return false; + case 0: + num = -1727123605; + break; + } + } + } + + bool IEquatable.Equals(NoOpTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206A_200F_206E_202E_200B_206B_200F_200B_206F_206A_206B_206B_202C_206D_206A_200C_200E_202D_200B_206D_200F_206C_202B_202D_202C_202E_206A_206D_206C_200E_202A_202B_200F_200B_200C_202C_206E_206E_202E_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206B_202A_202E_202C_206A_206D_206E_202D_200C_202D_200F_206B_202C_202B_206C_202D_206A_206F_200D_206D_206E_200E_200C_206A_200F_202C_200F_206E_200C_206F_200F_202C_206A_200D_202D_202B_202B_200B_200C_206B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_200B_200C_200E_200C_206C_200F_206B_202B_202C_202B_206C_206A_206A_206E_206C_206C_202D_206A_202A_202A_202B_200E_200D_200F_206F_206F_200D_200D_206F_206A_202E_202D_200E_206E_202D_202E_206E_206E_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200C_200F_202D_202A_206B_206B_206E_202D_206B_206A_202E_200D_202A_206B_200B_202B_202D_206E_200F_202A_200B_202D_206A_200D_206A_202C_200B_202C_200D_206A_206F_200E_200F_206F_202D_200F_206B_206A_202A_200C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202D_206C_200C_206F_202B_202A_206C_200F_206A_202D_206F_202A_202A_202C_202D_206E_206A_202B_202C_202A_202D_200B_200B_200B_202B_202E_206A_200E_202E_200B_200D_200B_200E_200C_206E_202D_200C_200B_200F_202A_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _202C_202B_200C_200E_200B_200B_206D_202B_206F_206A_200B_202B_206C_202D_202B_202D_200F_202A_200C_202B_206A_200C_200E_202C_206B_206B_200D_202A_200C_202E_206B_206B_206A_206D_200E_206B_206E_206C_202E_206A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Controller.Steps.Movement/WaitForNearDataId.cs b/Questionable/Questionable.Controller.Steps.Movement/WaitForNearDataId.cs index 5e443abc..a12a779b 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/WaitForNearDataId.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/WaitForNearDataId.cs @@ -1,9 +1,149 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + namespace Questionable.Controller.Steps.Movement; internal sealed record WaitForNearDataId(uint DataId, float StopDistance) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_200F_206A_200F_206E_200E_206F_206C_200C_202C_206D_206B_200C_202A_200F_200E_206B_206A_206E_206E_200B_206A_200E_202D_206A_206F_206E_200B_206C_200B_202B_206B_202E_200C_202A_200E_206B_206D_202B_200D_202E(typeof(WaitForNearDataId).TypeHandle); + } + } + public bool ShouldRedoOnInterrupt() { return true; } + + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206A_206C_202B_206C_206A_200B_206D_202E_200D_200E_202C_200F_202B_200D_202B_200B_206D_202A_202C_202E_200E_206B_202E_200D_206E_206C_200C_206C_206E_206D_202B_206C_202C_202E_206F_202C_202B_206A_202E_200E_202E(); + _202D_202B_202E_206E_200E_200C_200C_202A_202E_202A_206B_200F_206C_200E_206B_206A_206A_202A_200C_200B_202C_206F_202E_200D_202D_200B_206E_202A_206B_206E_206D_202E_200C_202B_206A_206D_200F_206F_206C_200D_202E(stringBuilder, global::_003CModule_003E._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(-877026305)); + _202D_202B_202E_206E_200E_200C_200C_202A_202E_202A_206B_200F_206C_200E_206B_206A_206A_202A_200C_200B_202C_206F_202E_200D_202D_200B_206E_202A_206B_206E_206D_202E_200C_202B_206A_206D_200F_206F_206C_200D_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? 738763042 : 738763043); + while (true) + { + int num2 = num; + int num3 = 738763042; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 738763043; + break; + case 1: + _206D_200D_200D_206C_206A_200D_206E_200C_206F_206B_206F_206E_202D_202D_206D_200D_202B_200D_200B_206B_202B_200C_206B_202D_202C_206A_206A_200B_206F_206D_202C_206B_206F_206E_206E_202E_206F_202E_206C_200C_202E(stringBuilder, ' '); + num = 738763042; + break; + case 0: + _206D_200D_200D_206C_206A_200D_206E_200C_206F_206B_206F_206E_202D_202D_206D_200D_202B_200D_200B_206B_202B_200C_206B_202D_202C_206A_206A_200B_206F_206D_202C_206B_206F_206E_206E_202E_206F_202E_206C_200C_202E(stringBuilder, '}'); + return _200E_202A_206C_200B_206A_200B_206C_202D_206B_200E_206F_206C_202B_206E_202B_202B_202E_202A_206F_202B_206D_206E_206C_202C_206D_206A_200B_206D_202A_202B_206E_202B_200B_200E_202C_202C_206A_206B_206A_200F_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202C_206B_200B_206C_206B_200E_200B_206A_206E_200B_200D_202C_200D_202A_200B_206C_206F_200B_206D_202C_200F_206D_202B_206F_206A_202E_200C_200C_206A_206D_200E_206F_206D_202B_200D_200C_200E_202D_200D_200F_202E(); + _202D_202B_202E_206E_200E_200C_200C_202A_202E_202A_206B_200F_206C_200E_206B_206A_206A_202A_200C_200B_202C_206F_202E_200D_202D_200B_206E_202A_206B_206E_206D_202E_200C_202B_206A_206D_200F_206F_206C_200D_202E(builder, global::_003CModule_003E._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(353274882)); + _202D_202B_202E_206E_200E_200C_200C_202A_202E_202A_206B_200F_206C_200E_206B_206A_206A_202A_200C_200B_202C_206F_202E_200D_202D_200B_206E_202A_206B_206E_206D_202E_200C_202B_206A_206D_200F_206F_206C_200D_202E(builder, DataId.ToString()); + _202D_202B_202E_206E_200E_200C_200C_202A_202E_202A_206B_200F_206C_200E_206B_206A_206A_202A_200C_200B_202C_206F_202E_200D_202D_200B_206E_202A_206B_206E_206D_202E_200C_202B_206A_206D_200F_206F_206C_200D_202E(builder, global::_003CModule_003E._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(647271640)); + _202D_202B_202E_206E_200E_200C_200C_202A_202E_202A_206B_200F_206C_200E_206B_206A_206A_202A_200C_200B_202C_206F_202E_200D_202D_200B_206E_202A_206B_206E_206D_202E_200C_202B_206A_206D_200F_206F_206C_200D_202E(builder, StopDistance.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(WaitForNearDataId? other) + { + int num = (((object)this == other) ? (-1584907554) : (-1584907555)); + while (true) + { + int num2 = num; + int num3 = -1584907556; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = -1584907555; + break; + case 1: + num = (((object)other == null) ? (-1584907558) : (-1584907560)); + break; + case 6: + return false; + case 4: + num = ((!_202E_200F_200D_202E_206D_200E_206F_202B_202E_206B_200E_206B_206F_200B_206D_202C_206E_206C_200E_200D_202B_200C_202A_202D_202A_206C_200B_202B_206C_202A_202E_202E_206B_202E_202D_206B_202A_202A_206B_200D_202E(EqualityContract, other.EqualityContract)) ? (-1584907558) : (-1584907556)); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? (-1584907558) : (-1584907553)); + break; + case 2: + return true; + case 3: + return EqualityComparer.Default.Equals(StopDistance, other.StopDistance); + } + } + } + + bool IEquatable.Equals(WaitForNearDataId? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_200F_206A_200F_206E_200E_206F_206C_200C_202C_206D_206B_200C_202A_200F_200E_206B_206A_206E_206E_200B_206A_200E_202D_206A_206F_206E_200B_206C_200B_202B_206B_202E_200C_202A_200E_206B_206D_202B_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206A_206C_202B_206C_206A_200B_206D_202E_200D_200E_202C_200F_202B_200D_202B_200B_206D_202A_202C_202E_200E_206B_202E_200D_206E_206C_200C_206C_206E_206D_202B_206C_202C_202E_206F_202C_202B_206A_202E_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202D_202B_202E_206E_200E_200C_200C_202A_202E_202A_206B_200F_206C_200E_206B_206A_206A_202A_200C_200B_202C_206F_202E_200D_202D_200B_206E_202A_206B_206E_206D_202E_200C_202B_206A_206D_200F_206F_206C_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_200D_200D_206C_206A_200D_206E_200C_206F_206B_206F_206E_202D_202D_206D_200D_202B_200D_200B_206B_202B_200C_206B_202D_202C_206A_206A_200B_206F_206D_202C_206B_206F_206E_206E_202E_206F_202E_206C_200C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200E_202A_206C_200B_206A_200B_206C_202D_206B_200E_206F_206C_202B_206E_202B_202B_202E_202A_206F_202B_206D_206E_206C_202C_206D_206A_200B_206D_202A_202B_206E_202B_200B_200E_202C_202C_206A_206B_206A_200F_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202C_206B_200B_206C_206B_200E_200B_206A_206E_200B_200D_202C_200D_202A_200B_206C_206F_200B_206D_202C_200F_206D_202B_206F_206A_202E_200C_200C_206A_206D_200E_206F_206D_202B_200D_200C_200E_202D_200D_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _202E_200F_200D_202E_206D_200E_206F_202B_202E_206B_200E_206B_206F_200B_206D_202C_206E_206C_200E_200D_202B_200C_202A_202D_202A_206C_200B_202B_206C_202A_202E_202E_206B_202E_202D_206B_202A_202A_206B_200D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } } diff --git a/Questionable/Questionable.Controller.Steps.Movement/WaitForNearDataIdExecutor.cs b/Questionable/Questionable.Controller.Steps.Movement/WaitForNearDataIdExecutor.cs index e35ffe53..3f441a3b 100644 --- a/Questionable/Questionable.Controller.Steps.Movement/WaitForNearDataIdExecutor.cs +++ b/Questionable/Questionable.Controller.Steps.Movement/WaitForNearDataIdExecutor.cs @@ -1,3 +1,6 @@ +using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using Questionable.Functions; @@ -11,19 +14,48 @@ internal sealed class WaitForNearDataIdExecutor(GameFunctions gameFunctions, IOb return true; } + [MethodImpl(MethodImplOptions.NoInlining)] 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 playerCharacter = _202E_206D_202B_206B_206B_206A_206B_202D_200E_202D_206A_206A_200C_200B_206A_206E_206C_200D_206B_206D_206F_200C_202D_202C_200D_202E_206A_202E_202E_200B_200E_206E_202C_206F_206A_206E_206C_202A_202B_206A_202E(objectTable); + int num = ((gameObject == null) ? (-1888435881) : (-1888435883)); + while (true) { - throw new TaskException("Object not found or too far away, no position so we can't move"); + int num2 = num; + int num3 = -1888435882; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1888435883; + break; + case 2: + num = ((!((_202E_206C_202D_202D_206F_206F_202E_206F_202C_202A_202D_206C_202B_206C_202D_206E_202A_206D_206D_206A_202E_200D_200B_200E_200D_202D_206E_200D_202D_206A_200E_202D_202C_206B_200F_206B_206A_202D_206B_206B_202E(gameObject) - _202E_206C_202D_202D_206F_206F_202E_206F_202C_202A_202D_206C_202B_206C_202D_206E_202A_206D_206D_206A_202E_200D_200B_200E_200D_202D_206E_200D_202D_206A_200E_202D_202C_206B_200F_206B_206A_202D_206B_206B_202E((IGameObject)playerCharacter)).Length() > base.Task.StopDistance)) ? (-1888435886) : (-1888435881)); + break; + case 3: + num = ((playerCharacter == null) ? (-1888435881) : (-1888435884)); + break; + case 4: + return ETaskResult.TaskComplete; + case 1: + throw new TaskException(global::_003CModule_003E._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(1158873543)); + } } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return false; } + + static IPlayerCharacter _202E_206D_202B_206B_206B_206A_206B_202D_200E_202D_206A_206A_200C_200B_206A_206E_206C_200D_206B_206D_206F_200C_202D_202C_200D_202E_206A_202E_202E_200B_200E_206E_202C_206F_206A_206E_206C_202A_202B_206A_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _202E_206C_202D_202D_206F_206F_202E_206F_202C_202A_202D_206C_202B_206C_202D_206E_202A_206D_206D_206A_202E_200D_200B_200E_200D_202D_206E_200D_202D_206A_200E_202D_202C_206B_200F_206B_206A_202D_206B_206B_202E(IGameObject P_0) + { + return P_0.Position; + } } diff --git a/Questionable/Questionable.Controller.Steps.Shared/AethernetRide.cs b/Questionable/Questionable.Controller.Steps.Shared/AethernetRide.cs new file mode 100644 index 00000000..3e206e47 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/AethernetRide.cs @@ -0,0 +1,734 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Text; +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 + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202A_202A_206E_202C_206D_206A_200C_200E_206E_200C_200D_200F_200B_200C_200F_200D_200F_200E_206B_200B_202A_200C_202B_202B_200F_200F_206F_206C_206B_206D_202A_200B_206E_202E_202B_202E_202C_202A_202D_206D_202E(typeof(Task).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(18, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1464179176)); + defaultInterpolatedStringHandler.AppendFormatted(From); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1415797485)); + defaultInterpolatedStringHandler.AppendFormatted(To); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_202A_202E_206F_206D_202C_200E_206B_206F_200B_202A_200B_200D_206C_202C_200E_200F_206F_206E_200D_206E_202A_200E_202E_206F_200C_202A_206A_206D_200C_200C_202B_202A_200B_200C_206E_202B_206F_206A_202D_202E(); + _200D_200E_202D_200C_202B_206E_202C_200C_202E_206F_200E_206C_206A_200F_202B_206B_200F_206B_206C_206E_200B_202E_202C_206E_206E_206B_206C_200E_206F_206D_206E_202D_202C_202E_206F_206C_202E_202E_202B_202C_202E(builder, global::_003CModule_003E._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(1869557730)); + _200D_200E_202D_200C_202B_206E_202C_200C_202E_206F_200E_206C_206A_200F_202B_206B_200F_206B_206C_206E_200B_202E_202C_206E_206E_206B_206C_200E_206F_206D_206E_202D_202C_202E_206F_206C_202E_202E_202B_202C_202E(builder, From.ToString()); + _200D_200E_202D_200C_202B_206E_202C_200C_202E_206F_200E_206C_206A_200F_202B_206B_200F_206B_206C_206E_200B_202E_202C_206E_206E_206B_206C_200E_206F_206D_206E_202D_202C_202E_206F_206C_202E_202E_202B_202C_202E(builder, global::_003CModule_003E._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(-1257560035)); + _200D_200E_202D_200C_202B_206E_202C_200C_202E_206F_200E_206C_206A_200F_202B_206B_200F_206B_206C_206E_200B_202E_202C_206E_206E_206B_206C_200E_206F_206D_206E_202D_202C_202E_206F_206C_202E_202E_202B_202C_202E(builder, To.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? 921628929 : 921628935); + while (true) + { + int num2 = num; + int num3 = 921628932; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((!_200B_200D_202B_202B_200B_206D_200B_206A_206D_206A_202D_200B_202B_202E_202C_202A_200D_202B_202E_202C_200F_206F_200B_200F_200B_200F_200F_200F_202D_200B_200E_202E_206E_202A_206E_206B_200C_206A_202D_206B_202E(EqualityContract, other.EqualityContract)) ? 921628928 : 921628930); + break; + case 5: + return true; + case 4: + return false; + case 3: + num = (((object)other == null) ? 921628928 : 921628933); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(From, other.From)) ? 921628928 : 921628934); + break; + case 0: + num = 921628935; + break; + case 2: + return EqualityComparer.Default.Equals(To, other.To); + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202A_202A_206E_202C_206D_206A_200C_200E_206E_200C_200D_200F_200B_200C_200F_200D_200F_200E_206B_200B_202A_200C_202B_202B_200F_200F_206F_206C_206B_206D_202A_200B_206E_202E_202B_202E_202C_202A_202D_206D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200C_202A_202E_206F_206D_202C_200E_206B_206F_200B_202A_200B_200D_206C_202C_200E_200F_206F_206E_200D_206E_202A_200E_202E_206F_200C_202A_206A_206D_200C_200C_202B_202A_200B_200C_206E_202B_206F_206A_202D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200D_200E_202D_200C_202B_206E_202C_200C_202E_206F_200E_206C_206A_200F_202B_206B_200F_206B_206C_206E_200B_202E_202C_206E_206E_206B_206C_200E_206F_206D_206E_202D_202C_202E_206F_206C_202E_202E_202B_202C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200B_200D_202B_202B_200B_206D_200B_206A_206D_206A_202D_200B_202B_202E_202C_202A_200D_202B_202E_202C_200F_206F_200B_200F_200B_200F_200F_200F_202D_200B_200E_202E_206E_202A_206E_206B_200C_206A_202D_206B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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 + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass20_0 + { + public Vector3 playerPosition; + + internal float _003CStart_003Eb__0(Vector3 x) + { + return Vector3.Distance(playerPosition, x); + } + } + + 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 = _200E_206E_200C_200F_206F_202A_206D_200C_202A_202D_206E_200D_206B_206E_200B_202E_200F_206B_202E_200C_206A_206F_202D_206D_206A_200D_200B_206D_200C_206E_202E_202B_206B_206C_202C_206D_206E_202C_200E_206A_202E(); + } + + public void StopNow() + { + aethernetTeleportService.Reset(); + } + + void IStoppableTaskExecutor.StopNow() + { + //ILSpy generated this explicit interface implementation from .override directive in StopNow + this.StopNow(); + } + + public override bool HasTimedOut(float timeoutSeconds) + { + int num = ((_phase != EAethernetPhase.None) ? 466261811 : 466261810); + while (true) + { + int num2 = num; + int num3 = 466261811; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return _200E_206E_200C_200F_206F_202A_206D_200C_202A_202D_206E_200D_206B_206E_200B_202E_200F_206B_202E_200C_206A_206F_202D_206D_206A_200D_200B_206D_200C_206E_202E_202B_206B_206C_202C_206D_206E_202C_200E_206A_202E() - _phaseStartedAt > (long)(timeoutSeconds * 1000f); + case 1: + return false; + case 2: + goto IL_005f; + } + continue; + IL_005f: + num = 466261810; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + SetPhase(EAethernetPhase.None); + _interactionAttempts = 0; + aethernetTeleportService.Reset(); + int num = ((!aetheryteFunctions.IsAetheryteUnlocked(base.Task.From)) ? (-1371830101) : (-1371830111)); + _003C_003Ec__DisplayClass20_0 _003C_003Ec__DisplayClass20_ = default(_003C_003Ec__DisplayClass20_0); + uint num7 = default(uint); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + while (true) + { + int num2 = num; + int num3 = -1371830100; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + float num8; + float num10; + switch (num5 - (num6 + num6)) + { + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(42, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1136097432)); + defaultInterpolatedStringHandler.AppendFormatted(base.Task.From); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-732790977)); + defaultInterpolatedStringHandler.AppendFormatted(base.Task.To); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 11: + StartMoving(); + return true; + case 6: + num8 = 11f; + goto IL_0145; + case 15: + num = ((!(_206C_206A_206C_202B_200C_200F_200D_200D_202D_202E_200B_206F_206C_200D_200D_200E_202E_206B_206E_206A_202A_200D_206B_202E_202D_202C_202C_206C_206E_200B_206C_202D_206D_206D_200D_200D_206A_202C_206C_206F_202E(aetheryteData, _003C_003Ec__DisplayClass20_.playerPosition, num7, base.Task.From) > 30f)) ? (-1371830105) : (-1371830104)); + break; + case 10: + return false; + case 5: + SetPhase(EAethernetPhase.Mounting); + _continueAt = _200E_206E_200C_200F_206F_202A_206D_200C_202A_202D_206E_200D_206B_206E_200B_202E_200F_206B_202E_200C_206A_206F_202D_206D_206A_200D_200B_206D_200C_206E_202E_202B_206B_206C_202C_206D_206E_202C_200E_206A_202E() + 500; + return true; + case 20: + num = ((base.Task.From != EAetheryteLocation.SolutionNine) ? (-1371830082) : (-1371830087)); + break; + case 19: + num = (_200D_200D_202D_200F_202B_200C_200B_206E_206D_206E_202A_202D_200F_206A_202E_206C_202A_202A_200C_202D_206A_202C_206C_202B_206C_200D_206F_206C_200F_202D_200B_200B_200D_202D_206D_206A_202B_206E_206E_202B_202E(base.Task.From) ? (-1371830099) : (-1371830083)); + break; + case 0: + BeginTeleport(); + return true; + case 13: + num = ((!aetheryteFunctions.IsAetheryteUnlocked(base.Task.To)) ? (-1371830101) : (-1371830097)); + break; + case 16: + num = -1371830111; + break; + case 22: + return false; + case 18: + num = ((!territoryData.CanUseMount(num7)) ? (-1371830105) : (-1371830109)); + break; + case 8: + _206F_206D_200D_200C_200F_200F_202A_206C_206D_206E_200E_202E_206C_206A_206E_206F_206F_200F_200B_206E_200F_200C_200F_206E_206E_202C_202E_200E_200E_202A_202A_200D_206A_202E_202E_202C_206A_200C_206F_202E_202E((ILogger)logger, global::_003CModule_003E._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(-1241997546), new object[2] + { + base.Task.From, + base.Task.To + }); + num = -1371830106; + break; + case 1: + num8 = 11f; + goto IL_0145; + case 21: + { + _202E_206A_206A_206B_206B_202B_202B_202B_206B_202D_200E_202C_200F_202E_206F_200D_202B_200E_206C_202D_202D_200D_202B_202E_200F_200C_206F_202B_206D_200E_202A_202B_206C_200E_206F_202D_202E_206E_206C_202D_202E((ILogger)logger, global::_003CModule_003E._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(-1883356497), Array.Empty()); + int num9 = 4; + List list = new List(num9); + CollectionsMarshal.SetCount(list, num9); + 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(_003C_003Ec__DisplayClass20_._003CStart_003Eb__0); + SetPhase(EAethernetPhase.Moving); + movementController.NavigateTo(EMovementType.Quest, (uint)base.Task.From, to, fly: false, sprint: true, 0.25f); + return true; + } + case 17: + num8 = 4f; + goto IL_0145; + case 14: + num = (_206D_200D_206F_206B_202D_200F_202B_202A_200E_202A_206B_202C_202D_200C_206B_206C_206B_200C_206A_202E_202A_206D_206D_206E_200B_200E_202A_202A_200E_206A_206C_206E_202E_202B_200B_206B_206F_202C_202B_202C_202E(base.Task.From) ? (-1371830102) : (-1371830081)); + break; + case 12: + _003C_003Ec__DisplayClass20_.playerPosition = _202C_200B_202C_206B_200E_200C_200E_200C_202E_200C_202D_202A_206C_202A_202D_202D_200D_200E_200F_202B_206E_202D_206E_200F_206D_206E_206B_200C_206A_202A_202D_202E_200D_206A_206A_206E_200E_206D_206D_206B_202E((IGameObject)playerCharacter); + num = ((!(_206C_206A_206C_202B_200C_200F_200D_200D_202D_202E_200B_206F_206C_200D_200D_200E_202E_206B_206E_206A_202A_200D_206B_202E_202D_202C_202C_206C_206E_200B_206C_202D_206D_206D_200D_200D_206A_202C_206C_206F_202E(aetheryteData, _003C_003Ec__DisplayClass20_.playerPosition, num7, base.Task.From) < _206C_206A_206C_202B_200C_200F_200D_200D_202D_202E_200B_206F_206C_200D_200D_200E_202E_206B_206E_206A_202A_200D_206B_202E_202D_202C_202C_206C_206E_200B_206C_202D_206D_206D_200D_200D_206A_202C_206C_206F_202E(aetheryteData, _003C_003Ec__DisplayClass20_.playerPosition, num7, base.Task.To))) ? (-1371830106) : (-1371830110)); + break; + case 3: + _003C_003Ec__DisplayClass20_ = new _003C_003Ec__DisplayClass20_0(); + num7 = _206B_206B_202C_202B_200F_202C_206C_202B_206C_202D_206E_200E_202D_206F_202A_200B_202B_200D_200F_202E_206B_206C_206E_200B_200C_206A_206C_206C_202B_200B_206E_202C_200B_202B_200D_206E_206D_200B_206B_206A_202E(clientState); + playerCharacter = _200E_206A_206E_206A_206F_206D_202D_200E_206A_200B_206F_200B_202E_202D_206E_206F_206D_202A_200E_200C_200C_200E_200D_206C_206E_206B_206F_202E_200D_200E_206A_202C_200B_202D_206F_206C_200B_200C_202C_202D_202E(objectTable); + num = ((playerCharacter != null) ? (-1371830112) : (-1371830086)); + break; + case 7: + num = ((_206B_206B_202C_202B_200F_202C_206C_202B_206C_202D_206E_200E_202D_206F_202A_200B_202B_200D_200F_202E_206B_206C_206E_200B_200C_206A_206C_206C_202B_200B_206E_202C_200B_202B_200D_206E_206D_200B_206B_206A_202E(clientState) != _206A_206D_202C_202C_202B_206E_202A_206D_200D_200B_206E_200C_200B_200F_206E_200E_200F_200B_200D_202C_200E_206E_202A_200B_200B_200B_206C_206D_206F_206D_200D_206B_206C_202A_200C_206C_200B_200C_206B_206D_202E(aetheryteData)[base.Task.To]) ? (-1371830098) : (-1371830108)); + break; + case 9: + num = ((!gameFunctions.Mount()) ? (-1371830105) : (-1371830103)); + break; + case 4: + { + num = (gameFunctions.HasStatusPreventingMount() ? (-1371830105) : (-1371830107)); + break; + } + IL_0145: + num10 = num8; + num = ((!(_206C_206A_206C_202B_200C_200F_200D_200D_202D_202E_200B_206F_206C_200D_200D_200E_202E_206B_206E_206A_202A_200D_206B_202E_202D_202C_202C_206C_206E_200B_206C_202D_206D_206D_200D_200D_206A_202C_206C_206F_202E(aetheryteData, _003C_003Ec__DisplayClass20_.playerPosition, num7, base.Task.From) < num10)) ? (-1371830088) : (-1371830100)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void StartMoving() + { + _202E_206A_206A_206B_206B_202B_202B_202B_206B_202D_200E_202C_200F_202E_206F_200D_202B_200E_206C_202D_202D_200D_202B_202E_200F_200C_206F_202B_206D_200E_202A_202B_206C_200E_206F_202D_202E_206E_206C_202D_202E((ILogger)logger, global::_003CModule_003E._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(-1021163770), Array.Empty()); + SetPhase(EAethernetPhase.Moving); + EAetheryteLocation eAetheryteLocation = base.Task.From; + int num = -280840246; + float value = default(float); + float num7 = default(float); + while (true) + { + int num2 = num; + int num3 = -280840247; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num8; + bool flag; + switch (num5 - (num6 + num6)) + { + case 3: + num = ((!_206D_200D_206F_206B_202D_200F_202B_202A_200E_202A_206B_202C_202D_200C_206B_206C_206B_200C_206A_202E_202A_206D_206D_206E_200B_200E_202A_202A_200E_206A_206C_206E_202E_202B_200B_206B_206F_202C_202B_202C_202E(base.Task.From)) ? (-280840254) : (-280840248)); + break; + case 6: + num = -280840253; + break; + case 8: + num8 = ((!_200D_200D_202D_200F_202B_200C_200B_206E_206D_206E_202A_202D_200F_206A_202E_206C_202A_202A_200C_202D_206A_202C_206C_202B_206C_200D_206F_206C_200F_202D_200B_200B_200D_202D_206D_206A_202B_206E_206E_202B_202E(base.Task.From)) ? 1 : 0); + goto IL_00e9; + case 7: + num8 = 0; + goto IL_00e9; + case 10: + num = ((!_200D_200D_202D_200F_202B_200C_200B_206E_206D_206E_202A_202D_200F_206A_202E_206C_202A_202A_200C_202D_206A_202C_206C_202B_206C_200D_206F_206C_200F_202D_200B_200B_200D_202D_206D_206A_202B_206E_206E_202B_202E(base.Task.From)) ? (-280840247) : (-280840243)); + break; + case 2: + num = -280840246; + break; + case 5: + value = num7; + num = ((!_202E_202E_202B_206A_200F_200D_202C_200B_206C_206B_206D_206E_200D_202C_200E_202B_200B_200B_206B_206F_202E_200B_202C_206D_200B_200B_200B_206B_200B_206E_202E_200E_202B_200B_200D_200D_206C_206D_202C_206E_202E(aetheryteData, base.Task.From)) ? (-280840242) : (-280840255)); + break; + case 0: + num7 = 6.9f; + num = -280840244; + break; + case 11: + num = ((eAetheryteLocation == EAetheryteLocation.UldahChamberOfRule) ? (-280840256) : (-280840241)); + break; + case 1: + num7 = 4.4f; + num = -280840244; + break; + case 4: + num7 = 10.9f; + num = -280840244; + break; + case 9: + { + num7 = 5f; + num = -280840244; + break; + } + IL_00e9: + flag = (byte)num8 != 0; + movementController.NavigateTo(EMovementType.Quest, (uint)base.Task.From, _202C_202C_202D_200C_202C_206C_200C_206F_202C_200C_206C_200C_202B_202A_200E_200C_202A_202C_202C_202E_200F_200B_206E_206E_206C_206C_202A_200C_206D_202D_202B_200F_206B_206E_202D_206B_206F_200D_202B_206E_202E(aetheryteData)[base.Task.From], fly: false, sprint: true, value, flag ? new float?(5f) : ((float?)null)); + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void BeginTeleport() + { + _206F_202A_200D_200D_202C_202D_202A_200D_202C_206E_200F_206B_202C_200D_206A_200D_206D_206B_200B_202E_206D_206A_206A_206C_202C_202E_200C_200E_202B_206C_206F_200E_200D_202E_202A_206E_200B_206D_202A_200F_202E((ILogger)logger, global::_003CModule_003E._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(668413368), new object[2] + { + base.Task.To, + base.Task.From + }); + int num = ((!_202A_200F_202B_202E_202C_206C_206F_206D_206B_202E_202C_202B_206C_202C_200D_206A_200F_200F_202C_206E_206E_202D_206C_202A_200C_200B_200C_200C_206C_206F_202B_202E_200B_206C_202C_206E_202E_202B_202B_202E_202E(condition, ConditionFlag.Mounted)) ? 1024812396 : 1024812397); + while (true) + { + int num2 = num; + int num3 = 1024812396; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_008d; + case 0: + SetPhase(EAethernetPhase.WaitingForTargetable); + return; + case 1: + gameFunctions.Unmount(); + SetPhase(EAethernetPhase.Unmounting); + return; + } + continue; + IL_008d: + num = 1024812397; + } + } + + private bool TryInteractWithShard() + { + IGameObject gameObject = gameFunctions.FindObjectByDataId((uint)base.Task.From, null, warnIfMissing: false); + int num = ((gameObject == null) ? 2057094986 : 2057094985); + while (true) + { + int num2 = num; + int num3 = 2057094987; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 2057094985; + break; + case 2: + num = (_206D_200D_206E_200F_202D_206A_200B_200C_200D_200D_202D_206E_202B_206F_202C_202C_202C_200C_202A_206A_200F_202C_206E_200B_206F_206F_206F_200E_200F_200D_200B_206C_206A_206C_206A_200E_202D_202D_200B_200D_202E(gameObject) ? 2057094987 : 2057094986); + break; + case 1: + return false; + case 0: + { + aethernetTeleportService.RequestTeleport(base.Task.To); + gameFunctions.InteractWith(gameObject); + int interactionAttempts = _interactionAttempts; + num3 = 1; + num4 = interactionAttempts; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + _interactionAttempts = num7 + (num8 + num8); + SetPhase(EAethernetPhase.Interacting); + return true; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + int num = ((_200E_206E_200C_200F_206F_202A_206D_200C_202A_202D_206E_200D_206B_206E_200B_202E_200F_206B_202E_200C_206A_206F_202D_206D_206A_200D_200B_206D_200C_206E_202E_202B_206B_206C_202C_206D_206E_202C_200E_206A_202E() >= _continueAt) ? 1692805605 : 1692805604); + Vector3? vector = default(Vector3?); + while (true) + { + int num2 = num; + int num3 = 1692805622; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + IPlayerCharacter playerCharacter; + switch (num5 - (num6 + num6)) + { + case 37: + return ETaskResult.StillRunning; + case 21: + num = ((aethernetTeleportService.State != AethernetTeleportService.ETeleportState.WaitingForAddon) ? 1692805588 : 1692805624); + break; + case 26: + return ETaskResult.StillRunning; + case 35: + goto IL_010a; + case 25: + SetPhase(EAethernetPhase.WaitingForArrival); + return ETaskResult.StillRunning; + case 30: + aethernetTeleportService.Reset(); + return ETaskResult.TaskComplete; + case 14: + num = ((_interactionAttempts >= 3) ? 1692805627 : 1692805611); + break; + case 1: + return ETaskResult.StillRunning; + case 6: + goto IL_016b; + case 15: + num = (movementController.IsPathRunning ? 1692805600 : 1692805609); + break; + case 24: + return ETaskResult.StillRunning; + case 36: + num = 1692805604; + break; + case 34: + num = ((aethernetTeleportService.State != AethernetTeleportService.ETeleportState.Failed) ? 1692805615 : 1692805620); + break; + case 4: + return ETaskResult.StillRunning; + case 16: + goto IL_0214; + case 3: + num = ((!(_206C_206A_206C_202B_200C_200F_200D_200D_202D_202E_200B_206F_206C_200D_200D_200E_202E_206B_206E_206A_202A_200D_206B_202E_202D_202C_202C_206C_206E_200B_206C_202D_206D_206D_200D_200D_206A_202C_206C_206F_202E(aetheryteData, vector.Value, _206B_206B_202C_202B_200F_202C_206C_202B_206C_202D_206E_200E_202D_206F_202A_200B_202B_200D_200F_202E_206B_206C_206E_200B_200C_206A_206C_206C_202B_200B_206E_202C_200B_202B_200D_206E_206D_200B_206B_206A_202E(clientState), base.Task.To) > 20f)) ? 1692805608 : 1692805590); + break; + case 28: + StartMoving(); + num = 1692805623; + break; + case 29: + num = ((_200E_206E_200C_200F_206F_202A_206D_200C_202A_202D_206E_200D_206B_206E_200B_202E_200F_206B_202E_200C_206A_206F_202D_206D_206A_200D_200B_206D_200C_206E_202E_202B_206B_206C_202C_206D_206E_202C_200E_206A_202E() - _phaseStartedAt < 3000) ? 1692805627 : 1692805630); + break; + case 10: + num = ((_206B_206B_202C_202B_200F_202C_206C_202B_206C_202D_206E_200E_202D_206F_202A_200B_202B_200D_200F_202E_206B_206C_206E_200B_200C_206A_206C_206C_202B_200B_206E_202C_200B_202B_200D_206E_206D_200B_206B_206A_202E(clientState) == _206A_206D_202C_202C_202B_206E_202A_206D_200D_200B_206E_200C_200B_200F_206E_200E_200F_200B_200D_202C_200E_206E_202A_200B_200B_200B_206C_206D_206F_206D_200D_206B_206C_202A_200C_206C_200B_200C_206B_206D_202E(aetheryteData)[base.Task.To]) ? 1692805608 : 1692805614); + break; + case 7: + num = ((!_206A_202E_202A_206C_202D_202D_206A_206F_206E_200C_200F_200B_206C_200D_206C_202D_200D_206B_202E_202C_202E_202D_206B_206F_206D_200D_202B_206F_200E_202A_206D_202A_202E_200E_206C_206C_202A_206E_206F_206E_202E(aetheryteData, base.Task.To)) ? 1692805622 : 1692805626); + break; + case 17: + return ETaskResult.StillRunning; + case 0: + num = (_206D_200F_200C_202E_206C_202A_206D_206C_206D_200F_200D_206D_202B_200E_206A_200D_200C_200F_202B_206C_200E_200C_206D_202E_202C_202A_206B_200F_206B_200D_200D_206B_200D_200E_202C_202D_202B_200B_206B_206C_202E(aetheryteData, base.Task.To) ? 1692805621 : 1692805601); + break; + case 9: + SetPhase(EAethernetPhase.WaitingForTargetable); + num = 1692805607; + break; + case 11: + num = (movementController.IsPathfinding ? 1692805600 : 1692805625); + break; + case 31: + BeginTeleport(); + num = 1692805600; + break; + case 13: + return ETaskResult.StillRunning; + case 12: + num = ((!(_202C_200D_200F_206F_206D_206D_200C_200D_206D_200D_206A_200E_200F_206C_200D_202D_200D_202C_202B_200F_206F_206D_200C_200D_202B_200F_202C_200B_200E_206A_206E_206B_206F_200C_206A_200D_202B_206A_202D_200F_202E(aetheryteData, vector.Value, _206B_206B_202C_202B_200F_202C_206C_202B_206C_202D_206E_200E_202D_206F_202A_200B_202B_200D_200F_202E_206B_206C_206E_200B_200C_206A_206C_206C_202B_200B_206E_202C_200B_202B_200D_206E_206D_200B_206B_206A_202E(clientState), base.Task.To) > 5f)) ? 1692805608 : 1692805591); + break; + case 20: + num = 1692805618; + break; + case 22: + return ETaskResult.StillRunning; + case 18: + return ETaskResult.StillRunning; + case 27: + goto IL_03ea; + case 8: + { + ILogger logger = logger; + string text = global::_003CModule_003E._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(1660386919); + object[] array = new object[2]; + int interactionAttempts = _interactionAttempts; + num3 = 1; + num4 = interactionAttempts; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + array[0] = num7 + (num8 + num8); + array[1] = 3; + _206F_206D_200D_200C_200F_200F_202A_206C_206D_206E_200E_202E_206C_206A_206E_206F_206F_200F_200B_206E_200F_200C_200F_206E_206E_202C_202E_200E_200E_202A_202A_200D_206A_202E_202E_202C_206A_200C_206F_202E_202E((ILogger)logger, text, array); + aethernetTeleportService.Reset(); + SetPhase(EAethernetPhase.WaitingForTargetable); + num = 1692805627; + break; + } + case 32: + return ETaskResult.StillRunning; + case 5: + goto IL_0474; + case 19: + switch (_phase) + { + case EAethernetPhase.Interacting: + break; + case EAethernetPhase.Unmounting: + goto IL_010a; + case EAethernetPhase.WaitingForArrival: + goto IL_016b; + case EAethernetPhase.WaitingForTargetable: + goto IL_0214; + case EAethernetPhase.Mounting: + goto IL_03ea; + case EAethernetPhase.Moving: + goto IL_0474; + default: + goto IL_04c6; + } + goto case 21; + case 23: + num = ((!_202E_202E_202B_206A_200F_200D_202C_200B_206C_206B_206D_206E_200D_202C_200E_202B_200B_200B_206B_206F_202E_200B_202C_206D_200B_200B_200B_206B_200B_206E_202E_200E_202B_200B_200D_200D_206C_206D_202C_206E_202E(aetheryteData, base.Task.To)) ? 1692805628 : 1692805621); + break; + case 33: + return ETaskResult.StillRunning; + case 2: + { + aethernetTeleportService.Reset(); + throw new TaskException(global::_003CModule_003E._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(-1110721623)); + } + IL_04c6: + num = 1692805602; + break; + IL_0474: + num = (movementController.HasBeenMovingForAtLeast(2000) ? 1692805629 : 1692805587); + break; + IL_03ea: + num = ((!_202A_200F_202B_202E_202C_206C_206F_206D_206B_202E_202C_202B_206C_202C_200D_206A_200F_200F_202C_206E_206E_202D_206C_202A_200C_200B_200C_200C_206C_206F_202B_202E_200B_206C_202C_206E_202E_202B_202B_202E_202E(condition, ConditionFlag.Mounted)) ? 1692805623 : 1692805610); + break; + IL_010a: + num = (_202A_200F_202B_202E_202C_206C_206F_206D_206B_202E_202C_202B_206C_202C_200D_206A_200F_200F_202C_206E_206E_202D_206C_202A_200C_200B_200C_200C_206C_206F_202B_202E_200B_206C_202C_206E_202E_202B_202B_202E_202E(condition, ConditionFlag.Mounted) ? 1692805607 : 1692805631); + break; + IL_0214: + TryInteractWithShard(); + return ETaskResult.StillRunning; + IL_016b: + playerCharacter = _200E_206A_206E_206A_206F_206D_202D_200E_206A_200B_206F_200B_202E_202D_206E_206F_206D_202A_200E_200C_200C_200E_200D_206C_206E_206B_206F_202E_200D_200E_206A_202C_200B_202D_206F_206C_200B_200C_202C_202D_202E(objectTable); + vector = ((playerCharacter != null) ? new Vector3?(_202C_200B_202C_206B_200E_200C_200E_200C_202E_200C_202D_202A_206C_202A_202D_202D_200D_200E_200F_202B_206E_202D_206E_200F_206D_206E_206B_200C_206A_202A_202D_202E_200D_206A_206A_206E_200E_206D_206D_206B_202E((IGameObject)playerCharacter)) : ((Vector3?)null)); + num = (vector.HasValue ? 1692805617 : 1692805612); + break; + } + } + } + + public override bool ShouldInterruptOnDamage() + { + return true; + } + + static long _200E_206E_200C_200F_206F_202A_206D_200C_202A_202D_206E_200D_206B_206E_200B_202E_200F_206B_202E_200C_206A_206F_202D_206D_206A_200D_200B_206D_200C_206E_202E_202B_206B_206C_202C_206D_206E_202C_200E_206A_202E() + { + return Environment.TickCount64; + } + + static uint _206B_206B_202C_202B_200F_202C_206C_202B_206C_202D_206E_200E_202D_206F_202A_200B_202B_200D_200F_202E_206B_206C_206E_200B_200C_206A_206C_206C_202B_200B_206E_202C_200B_202B_200D_206E_206D_200B_206B_206A_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static IPlayerCharacter _200E_206A_206E_206A_206F_206D_202D_200E_206A_200B_206F_200B_202E_202D_206E_206F_206D_202A_200E_200C_200C_200E_200D_206C_206E_206B_206F_202E_200D_200E_206A_202C_200B_202D_206F_206C_200B_200C_202C_202D_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _202C_200B_202C_206B_200E_200C_200E_200C_202E_200C_202D_202A_206C_202A_202D_202D_200D_200E_200F_202B_206E_202D_206E_200F_206D_206E_206B_200C_206A_202A_202D_202E_200D_206A_206A_206E_200E_206D_206D_206B_202E(IGameObject P_0) + { + return P_0.Position; + } + + static float _206C_206A_206C_202B_200C_200F_200D_200D_202D_202E_200B_206F_206C_200D_200D_200E_202E_206B_206E_206A_202A_200D_206B_202E_202D_202C_202C_206C_206E_200B_206C_202D_206D_206D_200D_200D_206A_202C_206C_206F_202E(AetheryteData P_0, Vector3 P_1, uint P_2, EAetheryteLocation P_3) + { + return P_0.CalculateDistance(P_1, P_2, P_3); + } + + static bool _206D_200D_206F_206B_202D_200F_202B_202A_200E_202A_206B_202C_202D_200C_206B_206C_206B_200C_206A_202E_202A_206D_206D_206E_200B_200E_202A_202A_200E_206A_206C_206E_202E_202B_200B_206B_206F_202C_202B_202C_202E(EAetheryteLocation P_0) + { + return P_0.IsFirmamentAetheryte(); + } + + static bool _200D_200D_202D_200F_202B_200C_200B_206E_206D_206E_202A_202D_200F_206A_202E_206C_202A_202A_200C_202D_206A_202C_206C_202B_206C_200D_206F_206C_200F_202D_200B_200B_200D_202D_206D_206A_202B_206E_206E_202B_202E(EAetheryteLocation P_0) + { + return AetheryteConverter.IsLargeAetheryte(P_0); + } + + static void _202E_206A_206A_206B_206B_202B_202B_202B_206B_202D_200E_202C_200F_202E_206F_200D_202B_200E_206C_202D_202D_200D_202B_202E_200F_200C_206F_202B_206D_200E_202A_202B_206C_200E_206F_202D_202E_206E_206C_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static ReadOnlyDictionary _206A_206D_202C_202C_202B_206E_202A_206D_200D_200B_206E_200C_200B_200F_206E_200E_200F_200B_200D_202C_200E_206E_202A_200B_200B_200B_206C_206D_206F_206D_200D_206B_206C_202A_200C_206C_200B_200C_206B_206D_202E(AetheryteData P_0) + { + return P_0.TerritoryIds; + } + + static void _206F_206D_200D_200C_200F_200F_202A_206C_206D_206E_200E_202E_206C_206A_206E_206F_206F_200F_200B_206E_200F_200C_200F_206E_206E_202C_202E_200E_200E_202A_202A_200D_206A_202E_202E_202C_206A_200C_206F_202E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static bool _202E_202E_202B_206A_200F_200D_202C_200B_206C_206B_206D_206E_200D_202C_200E_202B_200B_200B_206B_206F_202E_200B_202C_206D_200B_200B_200B_206B_200B_206E_202E_200E_202B_200B_200D_200D_206C_206D_202C_206E_202E(AetheryteData P_0, EAetheryteLocation P_1) + { + return P_0.IsGoldSaucerAetheryte(P_1); + } + + static ReadOnlyDictionary _202C_202C_202D_200C_202C_206C_200C_206F_202C_200C_206C_200C_202B_202A_200E_200C_202A_202C_202C_202E_200F_200B_206E_206E_206C_206C_202A_200C_206D_202D_202B_200F_206B_206E_202D_206B_206F_200D_202B_206E_202E(AetheryteData P_0) + { + return P_0.Locations; + } + + static void _206F_202A_200D_200D_202C_202D_202A_200D_202C_206E_200F_206B_202C_200D_206A_200D_206D_206B_200B_202E_206D_206A_206A_206C_202C_202E_200C_200E_202B_206C_206F_200E_200D_202E_202A_206E_200B_206D_202A_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static bool _202A_200F_202B_202E_202C_206C_206F_206D_206B_202E_202C_202B_206C_202C_200D_206A_200F_200F_202C_206E_206E_202D_206C_202A_200C_200B_200C_200C_206C_206F_202B_202E_200B_206C_202C_206E_202E_202B_202B_202E_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static bool _206D_200D_206E_200F_202D_206A_200B_200C_200D_200D_202D_206E_202B_206F_202C_202C_202C_200C_202A_206A_200F_202C_206E_200B_206F_206F_206F_200E_200F_200D_200B_206C_206A_206C_206A_200E_202D_202D_200B_200D_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } + + static bool _206A_202E_202A_206C_202D_202D_206A_206F_206E_200C_200F_200B_206C_200D_206C_202D_200D_206B_202E_202C_202E_202D_206B_206F_206D_200D_202B_206F_200E_202A_206D_202A_202E_200E_206C_206C_202A_206E_206F_206E_202E(AetheryteData P_0, EAetheryteLocation P_1) + { + return P_0.IsAirshipLanding(P_1); + } + + static float _202C_200D_200F_206F_206D_206D_200C_200D_206D_200D_206A_200E_200F_206C_200D_202D_200D_202C_202B_200F_206F_206D_200C_200D_202B_200F_202C_200B_200E_206A_206E_206B_206F_200C_206A_200D_202B_206A_202D_200F_202E(AetheryteData P_0, Vector3 P_1, uint P_2, EAetheryteLocation P_3) + { + return P_0.CalculateAirshipLandingDistance(P_1, P_2, P_3); + } + + static bool _206D_200F_200C_202E_206C_202A_206D_206C_206D_200F_200D_206D_202B_200E_206A_200D_200C_200F_202B_206C_200E_200C_206D_202E_202C_202A_206B_200F_206B_200D_200D_206B_200D_200E_202C_202D_202B_200B_206B_206C_202E(AetheryteData P_0, EAetheryteLocation P_1) + { + return P_0.IsCityAetheryte(P_1); + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/AetheryteTeleport.cs b/Questionable/Questionable.Controller.Steps.Shared/AetheryteTeleport.cs new file mode 100644 index 00000000..507d6d97 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/AetheryteTeleport.cs @@ -0,0 +1,526 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Text; +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.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 + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_202E_206D_200B_200C_200E_206A_202B_206D_200E_206B_202A_202D_206C_206B_200F_200B_202E_202C_202D_202B_206B_200F_206F_202A_202D_206B_202D_200C_200D_206B_202C_206D_200D_200C_202B_200D_200E_202E_206D_202E(typeof(Task).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(14, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-749085387)); + defaultInterpolatedStringHandler.AppendFormatted(TargetAetheryte); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_200C_206B_202D_202C_200D_206C_202D_200E_206F_202C_206E_200C_200B_206E_206F_200B_202D_206F_202E_200F_206E_206F_206C_200E_202D_202D_206D_202D_202B_206D_200E_206C_206A_202E_202C_206D_206D_206C_202B_202E(); + _206B_202E_202E_206E_206A_200C_206D_200E_202C_200F_200D_206A_206A_200C_200E_200B_200B_206F_206F_202E_206B_206A_202E_206C_202E_202E_206C_206C_206E_200E_202E_202C_200C_202B_206A_206E_202E_206A_206A_206A_202E(builder, global::_003CModule_003E._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(-1084557892)); + _206B_202E_202E_206E_206A_200C_206D_200E_202C_200F_200D_206A_206A_200C_200E_200B_200B_206F_206F_202E_206B_206A_202E_206C_202E_202E_206C_206C_206E_200E_202E_202C_200C_202B_206A_206E_202E_206A_206A_206A_202E(builder, TargetAetheryte.ToString()); + _206B_202E_202E_206E_206A_200C_206D_200E_202C_200F_200D_206A_206A_200C_200E_200B_200B_206F_206F_202E_206B_206A_202E_206C_202E_202E_206C_206C_206E_200E_202E_202C_200C_202B_206A_206E_202E_206A_206A_206A_202E(builder, global::_003CModule_003E._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(1768197240)); + _206B_202E_202E_206E_206A_200C_206D_200E_202C_200F_200D_206A_206A_200C_200E_200B_200B_206F_206F_202E_206B_206A_202E_206C_202E_202E_206C_206C_206E_200E_202E_202C_200C_202B_206A_206E_202E_206A_206A_206A_202E(builder, ExpectedTerritoryId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? 712329357 : 712329359); + while (true) + { + int num2 = num; + int num3 = 712329358; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + return false; + case 2: + num = ((!EqualityComparer.Default.Equals(TargetAetheryte, other.TargetAetheryte)) ? 712329352 : 712329355); + break; + case 3: + return true; + case 1: + num = (((object)other == null) ? 712329352 : 712329358); + break; + case 0: + num = ((!_200C_206F_206D_202A_202D_206F_206E_202E_202E_202D_202D_202A_202C_202C_202E_202E_200E_200E_200D_200B_202C_206F_200B_206A_206B_202A_200E_202A_202E_202D_200E_206A_202B_206C_206F_206A_206E_200C_202E_202D_202E(EqualityContract, other.EqualityContract)) ? 712329352 : 712329356); + break; + case 4: + num = 712329359; + break; + case 5: + return EqualityComparer.Default.Equals(ExpectedTerritoryId, other.ExpectedTerritoryId); + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202E_202E_206D_200B_200C_200E_206A_202B_206D_200E_206B_202A_202D_206C_206B_200F_200B_202E_202C_202D_202B_206B_200F_206F_202A_202D_206B_202D_200C_200D_206B_202C_206D_200D_200C_202B_200D_200E_202E_206D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202E_200C_206B_202D_202C_200D_206C_202D_200E_206F_202C_206E_200C_200B_206E_206F_200B_202D_206F_202E_200F_206E_206F_206C_200E_202D_202D_206D_202D_202B_206D_200E_206C_206A_202E_202C_206D_206D_206C_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206B_202E_202E_206E_206A_200C_206D_200E_202C_200F_200D_206A_206A_200C_200E_200B_200B_206F_206F_202E_206B_206A_202E_206C_202E_202E_206C_206C_206E_200E_202E_202C_200C_202B_206A_206E_202E_206A_206A_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_206F_206D_202A_202D_206F_206E_202E_202E_202D_202D_202A_202C_202C_202E_202E_200E_200E_200D_200B_202C_206F_200B_206A_206B_202A_200E_202A_202E_202D_200E_206A_202B_206C_206F_206A_206E_200C_202E_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + int num = (_teleported ? 1711369376 : 1711369377); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + while (true) + { + int num2 = num; + int num3 = 1711369383; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 9: + return ETaskResult.StillRunning; + case 7: + num = ((_202E_200E_206B_200B_200F_202E_206E_206B_202B_206E_202B_206D_200D_206F_206E_200B_202D_206A_202A_200E_206E_206B_206A_206B_200B_200D_202C_200C_206F_206E_200E_206C_200B_200B_206E_200E_206B_202C_200B_200E_202E(clientState) != base.Task.ExpectedTerritoryId) ? 1711369378 : 1711369382); + break; + case 1: + playerCharacter = _200E_202E_200D_206B_206C_206D_202D_200D_200E_200C_202B_200E_206B_202C_202B_206F_200F_206A_200E_200B_206A_202D_202A_200E_200C_200E_202C_202E_202D_206A_206F_202E_202B_202E_206F_200C_202C_200F_200B_202B_202E(objectTable); + num = ((playerCharacter == null) ? 1711369386 : 1711369379); + break; + case 0: + return ETaskResult.StillRunning; + case 3: + _teleported = DoTeleport(); + return ETaskResult.StillRunning; + case 10: + ResetProgressTimer(); + num = 1711369390; + break; + case 11: + num = ((!base.ProgressContext.WasSuccessful()) ? 1711369390 : 1711369389); + break; + case 2: + num = 1711369377; + break; + case 12: + _206A_206E_206D_200B_200E_206F_202D_202C_200F_206A_200F_200F_200F_200E_202A_200C_202E_200E_206E_202E_202E_206E_200E_202E_200F_206F_206F_200D_200B_206D_206E_206F_200C_206F_200C_206B_200D_200B_200E_206F_202E((ILogger)logger, global::_003CModule_003E._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(460204205), new object[1] { base.Task.TargetAetheryte }); + return ETaskResult.StillRunning; + case 8: + num = ((!base.ProgressContext.WasInterrupted()) ? 1711369388 : 1711369387); + break; + case 5: + num = ((base.ProgressContext == null) ? 1711369390 : 1711369391); + break; + case 4: + num = ((!(_202E_200B_206C_206D_206A_206A_200D_200B_206E_202A_202A_206C_200E_202B_202A_202D_202E_206F_202C_206A_200C_200E_202B_206F_202C_202A_202A_206E_200F_200C_202D_202E_200B_206B_206D_206D_200D_200E_200B_202D_202E(aetheryteData, _206F_206C_202C_200C_200B_202D_202A_200C_206F_206B_206C_200F_206B_206A_206D_200C_202D_206F_206B_206E_202E_200C_206F_206F_200D_200D_202C_202D_206A_202B_202D_206A_206F_200F_206D_206B_202E_206E_200D_202E((IGameObject)playerCharacter), _202E_200E_206B_200B_200F_202E_206E_206B_202B_206E_202B_206D_200D_206F_206E_200B_202D_206A_202A_200E_206E_206B_206A_206B_200B_200D_202C_200C_206F_206E_200E_206C_200B_200B_206E_200E_206B_202C_200B_200E_202E(clientState), base.Task.TargetAetheryte) <= 50f)) ? 1711369378 : 1711369386); + break; + case 6: + num = ((_206A_202C_202B_206A_202C_202B_206B_202C_206F_206F_202B_206F_202D_206C_202D_202D_200C_200B_202B_206B_202E_202D_200F_202B_200E_206A_206A_206F_202B_200B_206B_202E_202D_200C_206C_200B_206A_206F_200D_202D_202E() >= _retryTeleportAt) ? 1711369380 : 1711369383); + break; + case 13: + ResetProgressTimer(); + return ETaskResult.TaskComplete; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool DoTeleport() + { + int num = (aetheryteFunctions.CanTeleport(base.Task.TargetAetheryte) ? (-1816428016) : (-1816428003)); + while (true) + { + int num2 = num; + int num3 = -1816428007; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + { + IChatGui chatGui = chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(27, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(599001678)); + defaultInterpolatedStringHandler.AppendFormatted(base.Task.TargetAetheryte); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1014635520)); + _202B_206D_206A_200C_202B_206E_206D_202A_200C_200E_200B_202C_202A_202C_202C_206F_206B_200B_200F_206B_200F_206A_202E_206F_206C_206B_206A_206B_206F_202A_200B_200C_202D_206A_206C_200C_200C_202C_202A_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + throw new TaskException(global::_003CModule_003E._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(-1295664094)); + } + case 10: + _206B_200D_202E_202D_202A_202D_202B_206E_200D_202E_206B_206E_200C_206F_206E_202A_206C_206A_200C_200C_200C_200B_206E_200B_206E_206A_202E_200F_206B_200B_206E_202A_206A_206F_200E_202E_206F_206E_202A_202A_202E(chatGui, global::_003CModule_003E._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(1266800824), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + throw new TaskException(global::_003CModule_003E._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(1604023920)); + case 4: + num = (aetheryteFunctions.IsTeleportUnlocked() ? (-1816428008) : (-1816428002)); + break; + case 6: + num = -1816428003; + break; + case 8: + _retryTeleportAt = _206A_202C_202B_206A_202C_202B_206B_202C_206F_206F_202B_206F_202D_206C_202D_202D_200C_200B_202B_206B_202E_202D_200F_202B_200E_206A_206A_206F_202B_200B_206B_202E_202D_200C_206C_200B_206A_206F_200D_202D_202E() + 1000; + _200C_200B_202D_200E_200B_200E_202C_206D_202C_206D_200F_200D_200F_202E_202D_202D_200C_206B_200B_200B_202B_206C_202B_206E_202A_206E_200C_202B_206B_202E_206E_206F_202E_206E_200C_200E_202D_200E_206B_206A_202E((ILogger)logger, global::_003CModule_003E._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(-424744046), new object[2] { _teleportAttempts, 3 }); + return false; + case 1: + _retryTeleportAt = _206A_202C_202B_206A_202C_202B_206B_202C_206F_206F_202B_206F_202D_206C_202D_202D_200C_200B_202B_206B_202E_202D_200F_202B_200E_206A_206A_206F_202B_200B_206B_202E_202D_200C_206C_200B_206A_206F_200D_202D_202E() + 1000; + _206F_202C_206F_202A_200D_206E_206D_206B_206C_206F_200C_206D_200C_206E_200B_200D_206F_206F_202C_202A_202C_200B_200D_202D_206F_206A_206D_200D_202B_206B_206E_206E_202D_206F_202E_200C_202B_202E_200F_206D_202E((ILogger)logger, global::_003CModule_003E._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(-501538903), Array.Empty()); + return false; + case 5: + _206E_202D_206F_202B_206B_200F_200D_202C_202D_200D_202C_202A_202C_206C_202A_206B_206E_200E_206C_202A_202E_206C_200B_206A_206D_200C_200F_202D_200D_206A_206D_200B_202E_200C_206D_206E_200B_202C_202C_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1089359613), Array.Empty()); + return true; + case 0: + base.ProgressContext = InteractionProgressContext.FromActionUseOrDefault(() => aetheryteFunctions.TeleportAetheryte(base.Task.TargetAetheryte)); + num = ((base.ProgressContext == null) ? (-1816428005) : (-1816428004)); + break; + case 7: + throw new TaskException(global::_003CModule_003E._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(451905220)); + case 2: + { + int teleportAttempts = _teleportAttempts; + num3 = 1; + num4 = teleportAttempts; + num = (((_teleportAttempts = (num4 | num3) + (num4 & num3)) >= 3) ? (-1816428013) : (-1816428015)); + break; + } + case 9: + num = (aetheryteFunctions.IsAetheryteUnlocked(base.Task.TargetAetheryte) ? (-1816428007) : (-1816428006)); + break; + } + } + } + + public override bool WasInterrupted() + { + int num = (_200E_202C_206A_202E_202C_200E_206C_206A_200B_200D_200D_202B_202C_200C_200F_200C_206A_206D_200C_200F_206C_206A_200E_206B_202A_206B_206C_206E_206D_202A_206E_206E_206C_202C_206B_200C_200D_206D_200C_202B_202E(condition, ConditionFlag.InCombat) ? (-1702092527) : (-1702092528)); + while (true) + { + int num2 = num; + int num3 = -1702092527; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004d; + case 1: + return base.WasInterrupted(); + case 0: + return true; + } + continue; + IL_004d: + num = -1702092528; + } + } + + public override bool ShouldInterruptOnDamage() + { + return true; + } + + static long _206A_202C_202B_206A_202C_202B_206B_202C_206F_206F_202B_206F_202D_206C_202D_202D_200C_200B_202B_206B_202E_202D_200F_202B_200E_206A_206A_206F_202B_200B_206B_202E_202D_200C_206C_200B_206A_206F_200D_202D_202E() + { + return Environment.TickCount64; + } + + static uint _202E_200E_206B_200B_200F_202E_206E_206B_202B_206E_202B_206D_200D_206F_206E_200B_202D_206A_202A_200E_206E_206B_206A_206B_200B_200D_202C_200C_206F_206E_200E_206C_200B_200B_206E_200E_206B_202C_200B_200E_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static IPlayerCharacter _200E_202E_200D_206B_206C_206D_202D_200D_200E_200C_202B_200E_206B_202C_202B_206F_200F_206A_200E_200B_206A_202D_202A_200E_200C_200E_202C_202E_202D_206A_206F_202E_202B_202E_206F_200C_202C_200F_200B_202B_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _206F_206C_202C_200C_200B_202D_202A_200C_206F_206B_206C_200F_206B_206A_206D_200C_202D_206F_206B_206E_202E_200C_206F_206F_200D_200D_202C_202D_206A_202B_202D_206A_206F_200F_206D_206B_202E_206E_200D_202E(IGameObject P_0) + { + return P_0.Position; + } + + static float _202E_200B_206C_206D_206A_206A_200D_200B_206E_202A_202A_206C_200E_202B_202A_202D_202E_206F_202C_206A_200C_200E_202B_206F_202C_202A_202A_206E_200F_200C_202D_202E_200B_206B_206D_206D_200D_200E_200B_202D_202E(AetheryteData P_0, Vector3 P_1, uint P_2, EAetheryteLocation P_3) + { + return P_0.CalculateDistance(P_1, P_2, P_3); + } + + static void _206A_206E_206D_200B_200E_206F_202D_202C_200F_206A_200F_200F_200F_200E_202A_200C_202E_200E_206E_202E_202E_206E_200E_202E_200F_206F_206F_200D_200B_206D_206E_206F_200C_206F_200C_206B_200D_200B_200E_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _206F_202C_206F_202A_200D_206E_206D_206B_206C_206F_200C_206D_200C_206E_200B_200D_206F_206F_202C_202A_202C_200B_200D_202D_206F_206A_206D_200D_202B_206B_206E_206E_202D_206F_202E_200C_202B_202E_200F_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static void _202B_206D_206A_200C_202B_206E_206D_202A_200C_200E_200B_202C_202A_202C_202C_206F_206B_200B_200F_206B_200F_206A_202E_206F_206C_206B_206A_206B_206F_202A_200B_200C_202D_206A_206C_200C_200C_202C_202A_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static void _206E_202D_206F_202B_206B_200F_200D_202C_202D_200D_202C_202A_202C_206C_202A_206B_206E_200E_206C_202A_202E_206C_200B_206A_206D_200C_200F_202D_200D_206A_206D_200B_202E_200C_206D_206E_200B_202C_202C_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _200C_200B_202D_200E_200B_200E_202C_206D_202C_206D_200F_200D_200F_202E_202D_202D_200C_206B_200B_200B_202B_206C_202B_206E_202A_206E_200C_202B_206B_202E_206E_206F_202E_206E_200C_200E_202D_200E_206B_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _206B_200D_202E_202D_202A_202D_202B_206E_200D_202E_206B_206E_200C_206F_206E_202A_206C_206A_200C_200C_200C_200B_206E_200B_206E_206A_202E_200F_206B_200B_206E_202A_206A_206F_200E_202E_206F_206E_202A_202A_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static bool _200E_202C_206A_202E_202C_200E_206C_206A_200B_200D_200D_202B_202C_200C_200F_200C_206A_206D_200C_200F_206C_206A_200E_206B_202A_206B_206C_206E_206D_202A_206E_206E_206C_202C_206B_200C_200D_206D_200C_202B_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + } + + internal sealed record MoveAwayFromAetheryte(EAetheryteLocation TargetAetheryte) : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_206F_206F_200D_200E_200E_206E_200B_200B_200F_202B_202B_206D_202E_206A_206F_200D_200E_202A_206C_206C_200C_202A_206D_200F_206E_206B_200C_200F_202B_202D_206D_202A_202B_200C_200E_200C_200B_206F_202E_202E(typeof(MoveAwayFromAetheryte).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(578312142)); + defaultInterpolatedStringHandler.AppendFormatted(TargetAetheryte); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202D_206B_202D_200B_202C_206F_206D_206B_202B_206B_206A_200F_200D_206D_202B_202D_202C_206A_206E_202E_202C_200D_206A_206A_200F_206E_206F_206E_202C_202C_206F_202A_200D_206D_200D_202A_202E_202A_206D_202E(); + _206F_200D_202B_202B_200E_200C_202D_200E_200E_206F_200D_206E_202C_206A_200B_206C_206C_200B_200F_202C_202D_202E_202C_206D_206F_206F_202D_202A_206D_202E_206F_202D_206F_202C_206B_202C_206D_200B_206B_200C_202E(builder, global::_003CModule_003E._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(-1402978722)); + _206F_200D_202B_202B_200E_200C_202D_200E_200E_206F_200D_206E_202C_206A_200B_206C_206C_200B_200F_202C_202D_202E_202C_206D_206F_206F_202D_202A_206D_202E_206F_202D_206F_202C_206B_202C_206D_200B_206B_200C_202E(builder, TargetAetheryte.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(MoveAwayFromAetheryte? other) + { + int num = (((object)this == other) ? 278211642 : 278211645); + while (true) + { + int num2 = num; + int num3 = 278211641; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 278211645; + break; + case 5: + return false; + case 4: + num = (((object)other == null) ? 278211644 : 278211640); + break; + case 3: + return true; + case 2: + return EqualityComparer.Default.Equals(TargetAetheryte, other.TargetAetheryte); + case 1: + num = ((!_200E_206C_202E_200E_200F_202B_202E_200F_202D_200B_206A_200C_206B_206B_206C_200F_200F_206A_200E_202D_200D_200B_200E_202C_206C_206A_200E_206B_200F_202D_200D_206C_200F_206D_200B_200D_200C_202D_200F_206F_202E(EqualityContract, other.EqualityContract)) ? 278211644 : 278211643); + break; + } + } + } + + bool IEquatable.Equals(MoveAwayFromAetheryte? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_206F_206F_200D_200E_200E_206E_200B_200B_200F_202B_202B_206D_202E_206A_206F_200D_200E_202A_206C_206C_200C_202A_206D_200F_206E_206B_200C_200F_202B_202D_206D_202A_202B_200C_200E_200C_200B_206F_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202D_206B_202D_200B_202C_206F_206D_206B_202B_206B_206A_200F_200D_206D_202B_202D_202C_206A_206E_202E_202C_200D_206A_206A_200F_206E_206F_206E_202C_202C_206F_202A_200D_206D_200D_202A_202E_202A_206D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206F_200D_202B_202B_200E_200C_202D_200E_200E_206F_200D_206E_202C_206A_200B_206C_206C_200B_200F_202C_202D_202E_202C_206D_206F_206F_202D_202A_206D_202E_206F_202D_206F_202C_206B_202C_206D_200B_206B_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200E_206C_202E_200E_200F_202B_202E_200F_202D_200B_206A_200C_206B_206B_206C_200F_200F_206A_200E_202D_200D_200B_200E_202C_206C_206A_200E_206B_200F_202D_200D_206C_200F_206D_200B_200D_200C_202D_200F_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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 playerCharacter = _202B_206E_206F_206B_202E_206F_202B_200D_202B_202C_206E_206A_206D_202D_202C_202D_202A_206E_202D_200E_200D_206C_202B_206A_202B_206A_206C_206E_200D_206C_202D_206C_202B_202A_206C_206E_206D_200F_202D_206B_202E(objectTable); + int num = ((playerCharacter != null) ? 1693276113 : 1693276115); + Vector3 playerPosition = default(Vector3); + while (true) + { + int num2 = num; + int num3 = 1693276112; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1693276115; + break; + case 3: + return false; + case 1: + playerPosition = _206F_206F_206C_200E_206B_200F_200D_202C_206B_206F_202D_206B_200C_200D_206C_200B_202E_202E_202A_202D_202E_200C_206A_200E_202B_200F_200E_200F_206A_200B_202A_200E_202C_200F_200B_202A_202B_200D_206C_200C_202E((IGameObject)playerCharacter); + num = ((!(_206B_200B_200F_200C_202D_206F_200C_206F_200F_202B_206D_206F_202D_200B_200E_200C_206C_206C_206B_200C_202D_200C_200E_202B_200C_200B_202B_206C_200F_206B_206D_202D_202D_202D_202C_206D_202C_200E_202C_206D_202E(aetheryteData, playerPosition, _202B_200D_200F_202D_200F_206F_206D_202C_206A_206B_206B_202D_206E_206D_206A_202E_200C_200C_202B_206F_200E_206D_202B_206C_200C_206C_202D_206A_202A_206E_206F_200B_206B_202A_200B_206C_200E_202D_200E_202C_202E(clientState), base.Task.TargetAetheryte) >= 20f)) ? 1693276114 : 1693276116); + break; + case 4: + return false; + case 2: + { + Vector3 destination = AetherytesToMoveFrom[base.Task.TargetAetheryte].MinBy((Vector3 x) => Vector3.Distance(x, playerPosition)); + MoveTask task = new MoveTask(_202D_202E_202C_202E_200D_202A_206C_206F_200E_206A_200B_202D_206C_206E_202C_202E_206F_206E_200D_206A_202D_206F_206B_202A_202C_202D_200C_202A_200B_206F_200B_206C_200D_200D_202E_202C_202E_202D_202E_200D_202E(aetheryteData)[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; + } + + static IPlayerCharacter _202B_206E_206F_206B_202E_206F_202B_200D_202B_202C_206E_206A_206D_202D_202C_202D_202A_206E_202D_200E_200D_206C_202B_206A_202B_206A_206C_206E_200D_206C_202D_206C_202B_202A_206C_206E_206D_200F_202D_206B_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _206F_206F_206C_200E_206B_200F_200D_202C_206B_206F_202D_206B_200C_200D_206C_200B_202E_202E_202A_202D_202E_200C_206A_200E_202B_200F_200E_200F_206A_200B_202A_200E_202C_200F_200B_202A_202B_200D_206C_200C_202E(IGameObject P_0) + { + return P_0.Position; + } + + static uint _202B_200D_200F_202D_200F_206F_206D_202C_206A_206B_206B_202D_206E_206D_206A_202E_200C_200C_202B_206F_200E_206D_202B_206C_200C_206C_202D_206A_202A_206E_206F_200B_206B_202A_200B_206C_200E_202D_200E_202C_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static float _206B_200B_200F_200C_202D_206F_200C_206F_200F_202B_206D_206F_202D_200B_200E_200C_206C_206C_206B_200C_202D_200C_200E_202B_200C_200B_202B_206C_200F_206B_206D_202D_202D_202D_202C_206D_202C_200E_202C_206D_202E(AetheryteData P_0, Vector3 P_1, uint P_2, EAetheryteLocation P_3) + { + return P_0.CalculateDistance(P_1, P_2, P_3); + } + + static ReadOnlyDictionary _202D_202E_202C_202E_200D_202A_206C_206F_200E_206A_200B_202D_206C_206E_202C_202E_206F_206E_200D_206A_202D_206F_206B_202A_202C_202D_200C_202A_200B_206F_200B_206C_200D_200D_202E_202C_202E_202D_202E_200D_202E(AetheryteData P_0) + { + return P_0.TerritoryIds; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/Craft.cs b/Questionable/Questionable.Controller.Steps.Shared/Craft.cs index 282765f0..16a860f1 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/Craft.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/Craft.cs @@ -1,12 +1,16 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +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.Agent; using FFXIVClientStructs.FFXIV.Component.GUI; using LLib.GameData; +using Lumina.Excel; using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; using Questionable.Controller.Steps.Common; @@ -20,105 +24,430 @@ internal static class Craft { internal sealed class Factory : ITaskFactory { + [MethodImpl(MethodImplOptions.NoInlining)] public IEnumerable CreateAllTasks(Questionable.Model.Quest quest, QuestSequence sequence, QuestStep step) { - if (step.InteractionType != EInteractionType.Craft) + int num = ((_206A_202B_202D_206A_206B_200B_202A_202A_206B_202D_206A_206A_206C_206D_206A_200C_206B_200F_202A_206C_200B_206C_206C_202C_206A_200F_206F_206B_206A_206A_206D_206C_202A_206F_206D_206B_200B_200C_202D_206D_202E(step) == EInteractionType.Craft) ? 511987702 : 511987701); + while (true) { - return Array.Empty(); + int num2 = num; + int num3 = 511987703; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _202D_200C_206B_202C_200D_200D_206B_206E_202A_202C_200B_202B_200D_206F_202C_206C_202B_200D_202C_200F_200C_202A_206C_200D_206E_206A_200B_202C_206E_202C_206C_206D_200B_206A_206F_206A_206F_200F_202C_206E_202E((object)_200E_206A_202C_200E_202B_200B_202A_200D_206D_200E_206F_200B_202E_200F_202A_200B_202B_206B_202D_200F_202B_206C_200B_202A_206B_200F_206A_202D_202A_206A_202C_206D_200E_202A_200F_202B_206E_200C_202E_200F_202E(step), global::_003CModule_003E._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(-1496371967)); + _202D_200C_206B_202C_200D_200D_206B_206E_202A_202C_200B_202B_200D_206F_202C_206C_202B_200D_202C_200F_200C_202A_206C_200D_206E_206A_200B_202C_206E_202C_206C_206D_200B_206A_206F_206A_206F_200F_202C_206E_202E((object)_202C_206E_202A_202D_200E_202E_200E_206D_206E_206F_200D_200C_202C_200E_202E_200D_206A_202E_200D_202B_202D_206C_206E_202B_200F_206B_206B_202C_200F_202C_200E_200D_206D_206C_202E_206E_202B_200F_206E_206D_202E(step), global::_003CModule_003E._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(98690158)); + return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] + { + new Questionable.Controller.Steps.Common.Mount.UnmountTask(), + new CraftTask(_200E_206A_202C_200E_202B_200B_202A_200D_206D_200E_206F_200B_202E_200F_202A_200B_202B_206B_202D_200F_202B_206C_200B_202A_206B_200F_206A_202D_202A_206A_202C_206D_200E_202A_200F_202B_206E_200C_202E_200F_202E(step).Value, _202C_206E_202A_202D_200E_202E_200E_206D_206E_206F_200D_200C_202C_200E_202E_200D_206A_202E_200D_202B_202D_206C_206E_202B_200F_206B_206B_202C_200F_202C_200E_200D_206D_206C_202E_206E_202B_200F_206E_206D_202E(step).Value, _202A_206E_200B_206A_202C_206D_206E_206F_206C_200B_200F_206E_206D_202E_206E_200D_202A_202A_206E_202E_206B_202C_200B_200D_200C_206D_202D_202C_200C_206A_206E_206C_200E_206C_202A_200F_200D_202E_206D_200E_202E(step) == true) + }); + case 2: + return Array.Empty(); + case 0: + goto IL_00ce; + } + continue; + IL_00ce: + num = 511987701; } - ArgumentNullException.ThrowIfNull(step.ItemId, "step.ItemId"); - ArgumentNullException.ThrowIfNull(step.ItemCount, "step.ItemCount"); - return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] - { - new Questionable.Controller.Steps.Common.Mount.UnmountTask(), - new CraftTask(step.ItemId.Value, step.ItemCount.Value, step.RequireHq == true) - }); + } + + IEnumerable ITaskFactory.CreateAllTasks(Questionable.Model.Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + + static EInteractionType _206A_202B_202D_206A_206B_200B_202A_202A_206B_202D_206A_206A_206C_206D_206A_200C_206B_200F_202A_206C_200B_206C_206C_202C_206A_200F_206F_206B_206A_206A_206D_206C_202A_206F_206D_206B_200B_200C_202D_206D_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static uint? _200E_206A_202C_200E_202B_200B_202A_200D_206D_200E_206F_200B_202E_200F_202A_200B_202B_206B_202D_200F_202B_206C_200B_202A_206B_200F_206A_202D_202A_206A_202C_206D_200E_202A_200F_202B_206E_200C_202E_200F_202E(QuestStep P_0) + { + return P_0.ItemId; + } + + static void _202D_200C_206B_202C_200D_200D_206B_206E_202A_202C_200B_202B_200D_206F_202C_206C_202B_200D_202C_200F_200C_202A_206C_200D_206E_206A_200B_202C_206E_202C_206C_206D_200B_206A_206F_206A_206F_200F_202C_206E_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static int? _202C_206E_202A_202D_200E_202E_200E_206D_206E_206F_200D_200C_202C_200E_202E_200D_206A_202E_200D_202B_202D_206C_206E_202B_200F_206B_206B_202C_200F_202C_200E_200D_206D_206C_202E_206E_202B_200F_206E_206D_202E(QuestStep P_0) + { + return P_0.ItemCount; + } + + static bool? _202A_206E_200B_206A_202C_206D_206E_206F_206C_200B_200F_206E_206D_202E_206E_200D_202A_202A_206E_202E_206B_202C_200B_200D_200C_206D_202D_202C_200C_206A_206E_206C_200E_206C_202A_200F_200D_202E_206D_200E_202E(QuestStep P_0) + { + return P_0.RequireHq; } } internal sealed record CraftTask(uint ItemId, int ItemCount, bool RequireHq) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202D_200C_200D_202D_202E_206F_206E_202D_206C_206F_200C_202A_200F_200D_200B_200C_206D_206B_200E_202A_206F_202A_206C_200B_200E_202A_202D_202D_200F_200E_202A_206F_206B_206A_200B_206C_202D_200E_202C_200E_202E(typeof(CraftTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Craft {ItemCount}x {ItemId}{(RequireHq ? " (HQ)" : "")} (with Artisan)"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(23, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1781620549)); + defaultInterpolatedStringHandler.AppendFormatted(ItemCount); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(350814621)); + defaultInterpolatedStringHandler.AppendFormatted(ItemId); + defaultInterpolatedStringHandler.AppendFormatted(RequireHq ? global::_003CModule_003E._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(-6445935) : global::_003CModule_003E._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(-1720149641)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1276730098)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_206E_206C_200D_200B_200B_206A_200C_202B_202D_206B_200F_206D_206A_202B_200C_206C_202B_206F_206C_206B_200D_200B_202B_202D_202C_202E_206D_200F_206A_206F_202C_200E_202C_206B_200E_202E_206E_206F_202B_202E(); + _206A_200B_202B_200E_206F_202B_202D_202E_206C_202B_206C_200B_200D_202B_202E_206F_206F_202A_206A_206A_200C_206A_202C_200F_202D_200D_200B_206B_200F_206E_200E_206C_202C_206C_206F_202B_200C_202C_202E_206D_202E(builder, global::_003CModule_003E._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(-1176260912)); + _206A_200B_202B_200E_206F_202B_202D_202E_206C_202B_206C_200B_200D_202B_202E_206F_206F_202A_206A_206A_200C_206A_202C_200F_202D_200D_200B_206B_200F_206E_200E_206C_202C_206C_206F_202B_200C_202C_202E_206D_202E(builder, ItemId.ToString()); + _206A_200B_202B_200E_206F_202B_202D_202E_206C_202B_206C_200B_200D_202B_202E_206F_206F_202A_206A_206A_200C_206A_202C_200F_202D_200D_200B_206B_200F_206E_200E_206C_202C_206C_206F_202B_200C_202C_202E_206D_202E(builder, global::_003CModule_003E._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(-503598644)); + _206A_200B_202B_200E_206F_202B_202D_202E_206C_202B_206C_200B_200D_202B_202E_206F_206F_202A_206A_206A_200C_206A_202C_200F_202D_200D_200B_206B_200F_206E_200E_206C_202C_206C_206F_202B_200C_202C_202E_206D_202E(builder, ItemCount.ToString()); + _206A_200B_202B_200E_206F_202B_202D_202E_206C_202B_206C_200B_200D_202B_202E_206F_206F_202A_206A_206A_200C_206A_202C_200F_202D_200D_200B_206B_200F_206E_200E_206C_202C_206C_206F_202B_200C_202C_202E_206D_202E(builder, global::_003CModule_003E._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(1102929611)); + _206A_200B_202B_200E_206F_202B_202D_202E_206C_202B_206C_200B_200D_202B_202E_206F_206F_202A_206A_206A_200C_206A_202C_200F_202D_200D_200B_206B_200F_206E_200E_206C_202C_206C_206F_202B_200C_202C_202E_206D_202E(builder, RequireHq.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(CraftTask? other) + { + int num = (((object)this == other) ? 528344161 : 528344167); + while (true) + { + int num2 = num; + int num3 = 528344166; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + num = 528344167; + break; + case 5: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? 528344166 : 528344162); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(ItemCount, other.ItemCount)) ? 528344166 : 528344165); + break; + case 7: + return true; + case 1: + num = (((object)other == null) ? 528344166 : 528344164); + break; + case 2: + num = ((!_206D_200F_206B_200C_206B_202E_206F_202E_202D_200F_200C_206F_206B_200C_206D_200B_202C_206A_206F_200C_200F_200F_200D_202E_202E_202B_206A_202E_200F_202B_200F_202A_200D_206D_202A_206D_206D_202A_206A_202E(EqualityContract, other.EqualityContract)) ? 528344166 : 528344163); + break; + case 0: + return false; + case 3: + return EqualityComparer.Default.Equals(RequireHq, other.RequireHq); + } + } + } + + bool IEquatable.Equals(CraftTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202D_200C_200D_202D_202E_206F_206E_202D_206C_206F_200C_202A_200F_200D_200B_200C_206D_206B_200E_202A_206F_202A_206C_200B_200E_202A_202D_202D_200F_200E_202A_206F_206B_206A_200B_206C_202D_200E_202C_200E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206D_206E_206C_200D_200B_200B_206A_200C_202B_202D_206B_200F_206D_206A_202B_200C_206C_202B_206F_206C_206B_200D_200B_202B_202D_202C_202E_206D_200F_206A_206F_202C_200E_202C_206B_200E_202E_206E_206F_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206A_200B_202B_200E_206F_202B_202D_202E_206C_202B_206C_200B_200D_202B_202E_206F_206F_202A_206A_206A_200C_206A_202C_200F_202D_200D_200B_206B_200F_206E_200E_206C_202C_206C_206F_202B_200C_202C_202E_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _206D_200F_206B_200C_206B_202E_206F_202E_202D_200F_200C_206F_206B_200C_206D_200B_202C_206A_206F_200C_200F_200F_200D_202E_202E_202B_206A_202E_200F_202B_200F_202A_200D_206D_202A_206D_206D_202A_206A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class DoCraft(IDataManager dataManager, IObjectTable objectTable, ArtisanIpc artisanIpc, ILogger logger) : TaskExecutor() { + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { - if (HasRequestedItems()) + int num = ((!HasRequestedItems()) ? (-227279258) : (-227279244)); + uint num8 = default(uint); + RecipeLookup? rowOrDefault = default(RecipeLookup?); + uint num7 = default(uint); + uint? num9 = default(uint?); + EClassJob? eClassJob = default(EClassJob?); + while (true) { - logger.LogInformation("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); - if (!rowOrDefault.HasValue) - { - throw new TaskException($"Item {base.Task.ItemId} is not craftable"); - } - uint num = (EClassJob?)(objectTable[0] as ICharacter)?.ClassJob.RowId switch - { - EClassJob.Carpenter => rowOrDefault.Value.CRP.RowId, - EClassJob.Blacksmith => rowOrDefault.Value.BSM.RowId, - EClassJob.Armorer => rowOrDefault.Value.ARM.RowId, - EClassJob.Goldsmith => rowOrDefault.Value.GSM.RowId, - EClassJob.Leatherworker => rowOrDefault.Value.LTW.RowId, - EClassJob.Weaver => rowOrDefault.Value.WVR.RowId, - EClassJob.Alchemist => rowOrDefault.Value.ALC.RowId, - EClassJob.Culinarian => rowOrDefault.Value.CUL.RowId, - _ => 0u, - }; - if (num == 0) - { - num = new uint[8] + int num2 = num; + int num3 = -227279260; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + EClassJob? obj; + switch (num5 - (num6 + num6)) { - rowOrDefault.Value.CRP.RowId, - rowOrDefault.Value.BSM.RowId, - rowOrDefault.Value.ARM.RowId, - rowOrDefault.Value.GSM.RowId, - rowOrDefault.Value.LTW.RowId, - rowOrDefault.Value.WVR.RowId, - rowOrDefault.Value.ALC.RowId, - rowOrDefault.Value.WVR.RowId - }.FirstOrDefault((uint x) => x != 0); - } - if (num == 0) - { - 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)" : ""); - if (!artisanIpc.CraftItem((ushort)num, num2)) - { - throw new TaskException($"Failed to start Artisan craft for recipe {num}"); - } - return true; - } - - public unsafe override ETaskResult Update() - { - if (HasRequestedItems() && !artisanIpc.IsCrafting()) - { - AgentRecipeNote* ptr = AgentRecipeNote.Instance(); - if (ptr != null && ptr->IsAgentActive()) + case 7: + num8 = rowOrDefault.Value.CUL.RowId; + num = -227279248; + break; + case 13: + num8 = 0u; + num = -227279248; + break; + case 18: + num = ((num7 != 0) ? (-227279246) : (-227279252)); + break; + case 8: { - uint addonId = ptr->GetAddonId(); - if (addonId == 0) + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(36, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1859404714)); + defaultInterpolatedStringHandler.AppendFormatted(base.Task.ItemId); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 11: + num = -227279244; + break; + case 16: + _202B_206D_206C_202D_202E_200D_202E_202D_206D_200E_206A_202E_200C_206A_206D_206F_206C_206B_206C_206B_200D_200E_200F_206F_206D_200D_200E_202C_200F_206E_206E_202A_200C_206D_202E_200C_202E_206F_206E_206A_202E((ILogger)logger, global::_003CModule_003E._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(-695579807), new object[3] { - return ETaskResult.StillRunning; - } - AtkUnitBase* addonById = AtkStage.Instance()->RaptureAtkUnitManager->GetAddonById((ushort)addonId); - if (addonById != null) + base.Task.ItemCount, + base.Task.ItemId, + base.Task.RequireHq ? global::_003CModule_003E._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(-6445935) : global::_003CModule_003E._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(-1694032531) + }); + return false; + case 17: + goto IL_01b2; + case 19: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(41, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-1243369350)); + defaultInterpolatedStringHandler3.AppendFormatted(num7); + throw new TaskException(defaultInterpolatedStringHandler3.ToStringAndClear()); + } + case 3: + goto IL_0209; + case 9: + goto IL_0230; + case 1: + goto IL_0257; + case 15: + return true; + case 20: + num7 = num8; + num = ((num7 != 0) ? (-227279242) : (-227279256)); + break; + case 14: + goto IL_02a1; + case 22: + { + int num10 = base.Task.ItemCount - GetOwnedItemCount(); + _202B_206D_206C_202D_202E_200D_202E_202D_206D_200E_206A_202E_200C_206A_206D_206F_206C_206B_206C_206B_200D_200E_200F_206F_206D_200D_200E_202C_200F_206E_206E_202A_200C_206D_202E_200C_202E_206F_206E_206A_202E((ILogger)logger, global::_003CModule_003E._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(1999201105), new object[4] { - logger.LogInformation("Closing crafting window"); - addonById->FireCallbackInt(-1); - return ETaskResult.TaskComplete; + base.Task.ItemId, + num7, + num10, + base.Task.RequireHq ? global::_003CModule_003E._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(-495381767) : global::_003CModule_003E._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(-87324410) + }); + num = (artisanIpc.CraftItem((ushort)num7, num10) ? (-227279253) : (-227279241)); + break; + } + case 2: + rowOrDefault = dataManager.GetExcelSheet().GetRowOrDefault(base.Task.ItemId); + num = (rowOrDefault.HasValue ? (-227279236) : (-227279264)); + break; + case 0: + goto IL_03bc; + case 23: + num = -227279255; + break; + case 4: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(22, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(335057319)); + defaultInterpolatedStringHandler2.AppendFormatted(base.Task.ItemId); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-37094116)); + throw new TaskException(defaultInterpolatedStringHandler2.ToStringAndClear()); + } + case 24: + { + IPlayerCharacter playerCharacter = _200F_202D_206E_206B_206B_206E_200B_206C_206D_206D_206E_202C_206A_202D_206C_200F_206A_200B_200E_206D_206E_202C_202C_202C_206A_206E_202B_200F_206A_206F_206D_202E_202A_206F_206B_206F_206D_200F_202B_202E_202E(objectTable); + num9 = ((playerCharacter != null) ? new uint?(_202D_206F_202B_200D_200B_202C_206F_202D_206E_200F_200E_202D_206D_206E_202D_200E_200F_206D_202D_202C_202A_200C_206C_200D_200D_200F_202A_206A_202C_202A_202C_200E_202D_200D_202D_200F_206F_206D_206E_202B_202E((ICharacter)playerCharacter).RowId) : ((uint?)null)); + num = (num9.HasValue ? (-227279250) : (-227279263)); + break; + } + case 5: + obj = null; + goto IL_04bb; + case 10: + obj = (EClassJob)num9.GetValueOrDefault(); + goto IL_04bb; + case 21: + goto IL_04e1; + case 6: + switch (eClassJob.GetValueOrDefault()) + { + case EClassJob.Culinarian: + break; + case EClassJob.Armorer: + goto IL_01b2; + case EClassJob.Leatherworker: + goto IL_0209; + case EClassJob.Weaver: + goto IL_0230; + case EClassJob.Carpenter: + goto IL_0257; + case EClassJob.Blacksmith: + goto IL_02a1; + case EClassJob.Goldsmith: + goto IL_03bc; + case EClassJob.Alchemist: + goto IL_04e1; + default: + goto IL_053a; } + goto case 7; + case 12: + { + num7 = new uint[8] + { + rowOrDefault.Value.CRP.RowId, + rowOrDefault.Value.BSM.RowId, + rowOrDefault.Value.ARM.RowId, + rowOrDefault.Value.GSM.RowId, + rowOrDefault.Value.LTW.RowId, + rowOrDefault.Value.WVR.RowId, + rowOrDefault.Value.ALC.RowId, + rowOrDefault.Value.CUL.RowId + }.FirstOrDefault((uint x) => x != 0); + num = -227279242; + break; + } + IL_053a: + num = -227279245; + break; + IL_04e1: + num8 = rowOrDefault.Value.ALC.RowId; + num = -227279248; + break; + IL_04bb: + eClassJob = obj; + num = ((!eClassJob.HasValue) ? (-227279255) : (-227279262)); + break; + IL_02a1: + num8 = rowOrDefault.Value.BSM.RowId; + num = -227279248; + break; + IL_0257: + num8 = rowOrDefault.Value.CRP.RowId; + num = -227279248; + break; + IL_0230: + num8 = rowOrDefault.Value.WVR.RowId; + num = -227279248; + break; + IL_03bc: + num8 = rowOrDefault.Value.GSM.RowId; + num = -227279248; + break; + IL_0209: + num8 = rowOrDefault.Value.LTW.RowId; + num = -227279248; + break; + IL_01b2: + num8 = rowOrDefault.Value.ARM.RowId; + num = -227279248; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe override ETaskResult Update() + { + int num = (artisanIpc.IsCrafting() ? (-1658987480) : (-1658987481)); + uint addonId = default(uint); + AgentRecipeNote* ptr = default(AgentRecipeNote*); + AtkUnitBase* addonById = default(AtkUnitBase*); + while (true) + { + int num2 = num; + int num3 = -1658987473; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = -1658987481; + break; + case 4: + addonId = ptr->GetAddonId(); + num = ((addonId != 0) ? (-1658987476) : (-1658987473)); + break; + case 3: + addonById = AtkStage.Instance()->RaptureAtkUnitManager->GetAddonById((ushort)addonId); + num = ((addonById == null) ? (-1658987480) : (-1658987479)); + break; + case 0: + return ETaskResult.StillRunning; + case 8: + num = ((!HasRequestedItems()) ? (-1658987475) : (-1658987474)); + break; + case 2: + { + int ownedItemCount = GetOwnedItemCount(); + _206F_200B_206F_200D_202B_202A_206C_200C_202D_202B_200F_206D_206A_206E_200D_206B_206E_202D_202C_206C_202C_206D_206C_202E_200E_202B_206B_206A_206D_200D_202B_200D_200C_206D_202E_206D_206E_202E_202A_200C_202E((ILogger)logger, global::_003CModule_003E._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(-1100170255), new object[3] + { + ownedItemCount, + base.Task.ItemCount, + base.Task.ItemId + }); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(52, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1173795697)); + defaultInterpolatedStringHandler.AppendFormatted(ownedItemCount); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1680133376)); + defaultInterpolatedStringHandler.AppendFormatted(base.Task.ItemCount); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1889609828)); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 1: + ptr = AgentRecipeNote.Instance(); + num = ((ptr == null) ? (-1658987480) : (-1658987482)); + break; + case 6: + _202B_206D_206C_202D_202E_200D_202E_202D_206D_200E_206A_202E_200C_206A_206D_206F_206C_206B_206C_206B_200D_200E_200F_206F_206D_200D_200E_202C_200F_206E_206E_202A_200C_206D_202E_200C_202E_206F_206E_206A_202E((ILogger)logger, global::_003CModule_003E._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(1809407100), Array.Empty()); + addonById->FireCallbackInt(-1); + return ETaskResult.TaskComplete; + case 9: + num = ((!ptr->IsAgentActive()) ? (-1658987480) : (-1658987477)); + break; + case 7: + return ETaskResult.StillRunning; } } - return ETaskResult.StillRunning; } private bool HasRequestedItems() @@ -126,24 +455,88 @@ internal static class Craft return GetOwnedItemCount() >= base.Task.ItemCount; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe int GetOwnedItemCount() { InventoryManager* ptr = InventoryManager.Instance(); - if (base.Task.RequireHq) + int num = ((!base.Task.RequireHq) ? (-130787652) : (-130787651)); + while (true) { - int inventoryItemCount = ptr->GetInventoryItemCount(base.Task.ItemId, isHq: true, checkEquipped: false, checkArmory: true, 0); - logger.LogTrace("HQ item count for {ItemId}: {Count}", base.Task.ItemId, inventoryItemCount); - return inventoryItemCount; + int num2 = num; + int num3 = -130787652; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_005a; + case 1: + { + int inventoryItemCount3 = ptr->GetInventoryItemCount(base.Task.ItemId, isHq: true, checkEquipped: false, checkArmory: true, 0); + _206A_202B_206B_206B_202B_206B_200F_200D_206F_200E_206D_200F_206F_200B_206A_200F_206D_200D_200E_202B_202A_206E_200F_206A_206C_206B_206A_200D_202D_206D_200D_202D_202C_202C_200F_202E_200C_206E_206E_202E((ILogger)logger, global::_003CModule_003E._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(-961372782), new object[2] + { + base.Task.ItemId, + inventoryItemCount3 + }); + return inventoryItemCount3; + } + case 0: + { + int inventoryItemCount = ptr->GetInventoryItemCount(base.Task.ItemId, isHq: false, checkEquipped: false, checkArmory: true, 0); + int inventoryItemCount2 = ptr->GetInventoryItemCount(base.Task.ItemId, isHq: true, checkEquipped: false, checkArmory: true, 0); + ILogger logger = logger; + string text = global::_003CModule_003E._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(-1941678534); + object[] obj = new object[4] + { + base.Task.ItemId, + inventoryItemCount, + inventoryItemCount2, + null + }; + num3 = inventoryItemCount2; + num4 = inventoryItemCount; + obj[3] = (num4 | num3) + (num4 & num3); + _206A_202B_206B_206B_202B_206B_200F_200D_206F_200E_206D_200F_206F_200B_206A_200F_206D_200D_200E_202B_202A_206E_200F_206A_206C_206B_206A_200D_202D_206D_200D_202D_202C_202C_200F_202E_200C_206E_206E_202E((ILogger)logger, text, obj); + num3 = inventoryItemCount2; + num4 = inventoryItemCount; + int num5 = num4 ^ num3; + int num6 = num4 & num3; + return num5 + (num6 + num6); + } + } + continue; + IL_005a: + num = -130787651; } - int inventoryItemCount2 = ptr->GetInventoryItemCount(base.Task.ItemId, isHq: false, checkEquipped: false, checkArmory: true, 0); - int inventoryItemCount3 = ptr->GetInventoryItemCount(base.Task.ItemId, isHq: true, checkEquipped: false, checkArmory: true, 0); - logger.LogTrace("Total item count for {ItemId}: {NqCount} NQ + {HqCount} HQ = {Total}", base.Task.ItemId, inventoryItemCount2, inventoryItemCount3, inventoryItemCount2 + inventoryItemCount3); - return inventoryItemCount2 + inventoryItemCount3; } public override bool ShouldInterruptOnDamage() { return false; } + + static void _202B_206D_206C_202D_202E_200D_202E_202D_206D_200E_206A_202E_200C_206A_206D_206F_206C_206B_206C_206B_200D_200E_200F_206F_206D_200D_200E_202C_200F_206E_206E_202A_200C_206D_202E_200C_202E_206F_206E_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static IPlayerCharacter _200F_202D_206E_206B_206B_206E_200B_206C_206D_206D_206E_202C_206A_202D_206C_200F_206A_200B_200E_206D_206E_202C_202C_202C_206A_206E_202B_200F_206A_206F_206D_202E_202A_206F_206B_206F_206D_200F_202B_202E_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static RowRef _202D_206F_202B_200D_200B_202C_206F_202D_206E_200F_200E_202D_206D_206E_202D_200E_200F_206D_202D_202C_202A_200C_206C_200D_200D_200F_202A_206A_202C_202A_202C_200E_202D_200D_202D_200F_206F_206D_206E_202B_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static void _206F_200B_206F_200D_202B_202A_206C_200C_202D_202B_200F_206D_206A_206E_200D_206B_206E_202D_202C_206C_202C_206D_206C_202E_200E_202B_206B_206A_206D_200D_202B_200D_200C_206D_202E_206D_206E_202E_202A_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static void _206A_202B_206B_206B_202B_206B_200F_200D_206F_200E_206D_200F_206F_200B_206A_200F_206D_200D_200E_202B_202A_206E_200F_206A_206C_206B_206A_200D_202D_206D_200D_202D_202C_202C_200F_202E_200C_206E_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Shared/ExtraConditionUtils.cs b/Questionable/Questionable.Controller.Steps.Shared/ExtraConditionUtils.cs index 4affed9d..76c77fde 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/ExtraConditionUtils.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/ExtraConditionUtils.cs @@ -1,5 +1,8 @@ using System; using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using Questionable.Model.Questing; @@ -19,25 +22,196 @@ internal sealed class ExtraConditionUtils public bool MatchesExtraCondition(EExtraSkipCondition skipCondition) { - Vector3? vector = _objectTable[0]?.Position; - if (vector.HasValue && _clientState.TerritoryType != 0) + IPlayerCharacter playerCharacter = _206A_202B_202C_200B_200B_200E_206C_200B_206C_206C_206F_206F_200B_202D_206A_206E_206B_202B_206B_202C_206B_202E_206F_202D_200F_206C_202A_202C_206B_206D_200B_202E_206F_206F_200F_206C_206E_200D_206A_206D_202E(_objectTable); + Vector3? vector = ((playerCharacter != null) ? new Vector3?(_206B_202E_202E_206A_200D_200B_202D_200F_206E_206B_206C_200C_206B_206A_206B_200D_202A_202B_202B_202C_200C_200B_200C_200C_206E_202D_202E_202A_206A_200D_202A_206F_206E_200D_202E_206B_202E_200B_202D_202E_202E((IGameObject)playerCharacter)) : ((Vector3?)null)); + int num = ((!vector.HasValue) ? 1142844286 : 1142844285); + while (true) { - return MatchesExtraCondition(skipCondition, vector.Value, _clientState.TerritoryType); + int num2 = num; + int num3 = 1142844284; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1142844285; + break; + case 3: + return MatchesExtraCondition(skipCondition, vector.Value, _202B_206D_206D_200E_206E_200C_206D_206B_206D_202D_206E_200F_200C_206D_202C_200B_206A_200D_202A_206C_202B_200D_206B_202D_206E_202A_200D_200C_202A_206B_202B_200B_200C_206C_206D_202A_202C_200F_206C_206F_202E(_clientState)); + case 2: + return false; + case 1: + num = ((_202B_206D_206D_200E_206E_200C_206D_206B_206D_202D_206E_200F_200C_206D_202C_200B_206A_200D_202A_206C_202B_200D_206B_202D_206E_202A_200D_200C_202A_206B_202B_200B_200C_206C_206D_202A_202C_200F_206C_206F_202E(_clientState) == 0) ? 1142844286 : 1142844287); + break; + } } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] public static bool MatchesExtraCondition(EExtraSkipCondition skipCondition, Vector3 position, uint territoryType) { - return skipCondition switch + int num; + bool result = default(bool); + switch (skipCondition) { - EExtraSkipCondition.WakingSandsMainArea => territoryType == 212 && position.X < 24f, - EExtraSkipCondition.WakingSandsSolar => territoryType == 212 && position.X >= 24f, - EExtraSkipCondition.RisingStonesSolar => territoryType == 351 && position.Z <= -28f, - EExtraSkipCondition.RoguesGuild => territoryType == 129 && position.Y <= -115f, - EExtraSkipCondition.NotRoguesGuild => territoryType == 129 && position.Y > -115f, - EExtraSkipCondition.DockStorehouse => territoryType == 137 && position.Y <= -20f, - _ => throw new ArgumentOutOfRangeException("skipCondition", skipCondition, null), - }; + default: + num = 1143569671; + goto IL_002b; + case EExtraSkipCondition.DockStorehouse: + num = ((territoryType != 137) ? 1143569672 : 1143569666); + goto IL_002b; + case EExtraSkipCondition.WakingSandsMainArea: + goto IL_00cc; + case EExtraSkipCondition.NotRoguesGuild: + goto IL_0115; + case EExtraSkipCondition.RoguesGuild: + goto IL_0209; + case EExtraSkipCondition.RisingStonesSolar: + goto IL_022c; + case EExtraSkipCondition.WakingSandsSolar: + goto IL_024d; + IL_002b: + while (true) + { + int num2 = num; + int num3 = 1143569666; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num12; + int num11; + int num10; + int num8; + int num9; + int num7; + switch (num5 - (num6 + num6)) + { + case 16: + num12 = 0; + goto IL_009f; + case 18: + goto end_IL_002b; + case 19: + goto IL_00cc; + case 5: + num = 1143569683; + break; + case 12: + num12 = ((position.Y > -115f) ? 1 : 0); + goto IL_009f; + case 1: + goto IL_0115; + case 17: + throw _206B_200F_200F_200D_200F_202A_206D_200D_200D_202D_206C_206A_206E_206C_206E_202E_202B_206C_206C_200D_202C_200B_200C_202C_206A_200F_206D_206B_206C_202D_206F_202E_206F_202C_200B_206E_206A_200D_206B_206A_202E(global::_003CModule_003E._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(-226080792), (object)skipCondition, (string)null); + case 0: + num11 = ((position.Y <= -20f) ? 1 : 0); + goto IL_018e; + case 7: + num10 = ((position.Z <= -28f) ? 1 : 0); + goto IL_01c5; + case 10: + num11 = 0; + goto IL_018e; + case 4: + num8 = ((position.X < 24f) ? 1 : 0); + goto IL_026f; + case 14: + num9 = 0; + goto IL_01b8; + case 13: + num10 = 0; + goto IL_01c5; + case 11: + num7 = 0; + goto IL_01d2; + case 20: + num = 1143569671; + break; + case 6: + num9 = ((position.X >= 24f) ? 1 : 0); + goto IL_01b8; + case 9: + goto IL_0209; + case 3: + return result; + case 15: + goto IL_022c; + case 8: + goto IL_024d; + case 2: + num8 = 0; + goto IL_026f; + case 21: + { + num7 = ((position.Y <= -115f) ? 1 : 0); + goto IL_01d2; + } + IL_01d2: + result = (byte)num7 != 0; + num = 1143569665; + break; + IL_01b8: + result = (byte)num9 != 0; + num = 1143569665; + break; + IL_026f: + result = (byte)num8 != 0; + num = 1143569665; + break; + IL_01c5: + result = (byte)num10 != 0; + num = 1143569665; + break; + IL_018e: + result = (byte)num11 != 0; + num = 1143569665; + break; + IL_009f: + result = (byte)num12 != 0; + num = 1143569665; + break; + } + continue; + end_IL_002b: + break; + } + goto case EExtraSkipCondition.DockStorehouse; + IL_024d: + num = ((territoryType != 212) ? 1143569676 : 1143569668); + goto IL_002b; + IL_0209: + num = ((territoryType != 129) ? 1143569673 : 1143569687); + goto IL_002b; + IL_0115: + num = ((territoryType != 129) ? 1143569682 : 1143569678); + goto IL_002b; + IL_022c: + num = ((territoryType != 351) ? 1143569679 : 1143569669); + goto IL_002b; + IL_00cc: + num = ((territoryType != 212) ? 1143569664 : 1143569670); + goto IL_002b; + } + } + + static IPlayerCharacter _206A_202B_202C_200B_200B_200E_206C_200B_206C_206C_206F_206F_200B_202D_206A_206E_206B_202B_206B_202C_206B_202E_206F_202D_200F_206C_202A_202C_206B_206D_200B_202E_206F_206F_200F_206C_206E_200D_206A_206D_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _206B_202E_202E_206A_200D_200B_202D_200F_206E_206B_206C_200C_206B_206A_206B_200D_202A_202B_202B_202C_200C_200B_200C_200C_206E_202D_202E_202A_206A_200D_202A_206F_206E_200D_202E_206B_202E_200B_202D_202E_202E(IGameObject P_0) + { + return P_0.Position; + } + + static uint _202B_206D_206D_200E_206E_200C_206D_206B_206D_202D_206E_200F_200C_206D_202C_200B_206A_200D_202A_206C_202B_200D_206B_202D_206E_202A_200D_200C_202A_206B_202B_200B_200C_206C_206D_202A_202C_200F_206C_206F_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static ArgumentOutOfRangeException _206B_200F_200F_200D_200F_202A_206D_200D_200D_202D_206C_206A_206E_206C_206E_202E_202B_206C_206C_200D_202C_200B_200C_202C_206A_200F_206D_206B_206C_202D_206F_202E_206F_202C_200B_206E_206A_200D_206B_206A_202E(string P_0, object P_1, string P_2) + { + return new ArgumentOutOfRangeException(P_0, P_1, P_2); } } diff --git a/Questionable/Questionable.Controller.Steps.Shared/Fish.cs b/Questionable/Questionable.Controller.Steps.Shared/Fish.cs new file mode 100644 index 00000000..0f20499f --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/Fish.cs @@ -0,0 +1,848 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; +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 + { + [CompilerGenerated] + private sealed class _003CCreateAllTasks_003Ed__2 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private QuestStep step; + + public QuestStep _003C_003E3__step; + + public Factory _003C_003E4__this; + + private Quest quest; + + public Quest _003C_003E3__quest; + + private IEnumerator _003C_003E7__wrap1; + + ITask IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CCreateAllTasks_003Ed__2(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _202E_202B_202D_200E_206D_202B_200E_202B_200B_202D_200B_206F_202A_200C_200E_206B_200F_206E_206B_206B_200B_202E_202E_206C_206F_202E_202C_202D_202E_202E_202D_202B_202A_202B_200E_206D_200E_200B_206B_206F_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? 1506831734 : 1506831733); + while (true) + { + int num3 = num2; + int num4 = 1506831732; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 0: + num2 = 1506831733; + continue; + case 1: + if (num == 4) + { + num2 = 1506831734; + continue; + } + break; + case 2: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = null; + _003C_003E1__state = -2; + } + + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + Factory factory = _003C_003E4__this; + int num2; + switch (num) + { + default: + num2 = -1493517574; + goto IL_0034; + case 0: + _003C_003E1__state = -1; + num2 = ((_202C_200C_202E_206F_200C_202A_206A_200D_200F_200C_202D_202A_206E_202C_200C_202A_202D_202D_206D_206A_206E_200E_202E_206E_206C_202E_200B_202D_202B_200F_200C_206F_202B_200F_202B_206C_202B_206E_200B_206B_202E(step) == EInteractionType.Fish) ? (-1493517569) : (-1493517576)); + goto IL_0034; + case 4: + goto IL_0153; + case 3: + goto IL_01aa; + case 2: + goto IL_01e1; + case 1: + break; + IL_0034: + while (true) + { + int num3 = num2; + int num4 = -1493517572; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = -1493517574; + break; + case 4: + return false; + case 3: + goto IL_00ad; + case 9: + _003C_003E2__current = new Mount.UnmountTask(); + _003C_003E1__state = 1; + return true; + case 7: + goto end_IL_0034; + case 8: + goto IL_012b; + case 1: + goto IL_0153; + case 5: + { + GatheredItem current = _003C_003E7__wrap1.Current; + _003C_003E2__current = new FishTask(quest, current, _202D_206E_200F_206D_202A_202D_202C_200E_200D_206D_200F_202B_200B_200C_206A_202E_206E_200E_206E_200F_202A_206A_202C_200D_206E_206A_202A_202C_200C_200E_206B_206B_200B_202A_200E_206A_206A_200C_206C_206C_202E(step)); + _003C_003E1__state = 4; + return true; + } + case 11: + goto IL_01aa; + case 10: + goto IL_01e1; + case 6: + return false; + case 13: + goto end_IL_000f; + case 12: + return false; + case 2: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = null; + return false; + } + continue; + IL_012b: + num2 = (_202C_206E_202C_200D_206F_200F_200B_200C_200E_202D_200C_206E_202E_200C_200C_206D_206A_202A_202C_206D_202C_200D_202C_206A_206A_206B_200F_200E_202A_200D_202E_200C_200E_202C_200C_200D_206A_206F_202D_206E_202E((IEnumerator)_003C_003E7__wrap1) ? (-1493517575) : (-1493517570)); + continue; + IL_00ad: + num2 = (factory.autoHookIpc.IsAvailable() ? (-1493517579) : (-1493517584)); + continue; + end_IL_0034: + break; + } + goto case 0; + IL_01e1: + _003C_003E1__state = -1; + _003C_003E2__current = new FishTask(quest, _200E_202A_202B_202E_200D_202E_200B_202D_206B_206C_200C_206A_206F_206A_202E_200B_200B_206B_206A_206A_206F_200D_200F_206B_200B_206B_206B_206A_206E_202C_200E_202E_200F_202B_206D_206F_200B_200D_202D_202B_202E(step).FirstOrDefault(), _202D_206E_200F_206D_202A_202D_202C_200E_200D_206D_200F_202B_200B_200C_206A_202E_206E_200E_206E_200F_202A_206A_202C_200D_206E_206A_202A_202C_200C_200E_206B_206B_200B_202A_200E_206A_206A_200C_206C_206C_202E(step)); + _003C_003E1__state = 3; + return true; + IL_01aa: + _003C_003E1__state = -1; + _003C_003E7__wrap1 = _200E_202A_202B_202E_200D_202E_200B_202D_206B_206C_200C_206A_206F_206A_202E_200B_200B_206B_206A_206A_206F_200D_200F_206B_200B_206B_206B_206A_206E_202C_200E_202E_200F_202B_206D_206F_200B_200D_202D_202B_202E(step).Skip(1).GetEnumerator(); + _003C_003E1__state = -3; + num2 = -1493517580; + goto IL_0034; + IL_0153: + _003C_003E1__state = -3; + num2 = -1493517580; + goto IL_0034; + end_IL_000f: + break; + } + _003C_003E1__state = -1; + _003C_003E2__current = new SwitchClassJob.Task(EClassJob.Fisher); + _003C_003E1__state = 2; + return true; + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap1 == null) ? 1081455461 : 1081455462); + while (true) + { + int num2 = num; + int num3 = 1081455460; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return; + case 2: + _202C_200B_206C_200C_200F_200F_200F_200B_200C_206D_202E_206E_200E_200B_206D_206B_206A_206E_206B_206D_200F_206D_202D_200C_206D_200B_202D_202D_200D_202A_200E_206B_200C_202D_200F_206D_202B_206D_206C_206C_202E((IDisposable)_003C_003E7__wrap1); + num = 1081455461; + break; + case 0: + num = 1081455462; + break; + } + } + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206F_200C_200C_200C_200C_206A_202A_206E_200D_200D_200E_200D_200E_202B_206B_200E_206B_202E_206D_200D_206F_202E_202A_200C_202B_202C_200F_202D_200C_206B_200F_200F_206E_202C_202D_206E_202E_206B_200D_206E_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 1872162257 : 1872162261); + _003CCreateAllTasks_003Ed__2 _003CCreateAllTasks_003Ed__ = default(_003CCreateAllTasks_003Ed__2); + while (true) + { + int num2 = num; + int num3 = 1872162257; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 1872162261; + break; + case 4: + num = ((_003C_003El__initialThreadId != _202E_202B_202D_200E_206D_202B_200E_202B_200B_202D_200B_206F_202A_200C_200E_206B_200F_206E_206B_206B_200B_202E_202E_206C_206F_202E_202C_202D_202E_202E_202D_202B_202A_202B_200E_206D_200E_200B_206B_206F_202E()) ? 1872162257 : 1872162256); + break; + case 0: + _003CCreateAllTasks_003Ed__ = new _003CCreateAllTasks_003Ed__2(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = 1872162259; + break; + case 2: + _003CCreateAllTasks_003Ed__.quest = _003C_003E3__quest; + _003CCreateAllTasks_003Ed__.step = _003C_003E3__step; + return _003CCreateAllTasks_003Ed__; + case 1: + _003C_003E1__state = 0; + _003CCreateAllTasks_003Ed__ = this; + num = 1872162259; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _202E_202B_202D_200E_206D_202B_200E_202B_200B_202D_200B_206F_202A_200C_200E_206B_200F_206E_206B_206B_200B_202E_202E_206C_206F_202E_202C_202D_202E_202E_202D_202B_202A_202B_200E_206D_200E_200B_206B_206F_202E() + { + return Environment.CurrentManagedThreadId; + } + + static EInteractionType _202C_200C_202E_206F_200C_202A_206A_200D_200F_200C_202D_202A_206E_202C_200C_202A_202D_202D_206D_206A_206E_200E_202E_206E_206C_202E_200B_202D_202B_200F_200C_206F_202B_200F_202B_206C_202B_206E_200B_206B_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static List _200E_202A_202B_202E_200D_202E_200B_202D_206B_206C_200C_206A_206F_206A_202E_200B_200B_206B_206A_206A_206F_200D_200F_206B_200B_206B_206B_206A_206E_202C_200E_202E_200F_202B_206D_206F_200B_200D_202D_202B_202E(QuestStep P_0) + { + return P_0.ItemsToGather; + } + + static List _202D_206E_200F_206D_202A_202D_202C_200E_200D_206D_200F_202B_200B_200C_206A_202E_206E_200E_206E_200F_202A_206A_202C_200D_206E_206A_202A_202C_200C_200E_206B_206B_200B_202A_200E_206A_206A_200C_206C_206C_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static bool _202C_206E_202C_200D_206F_200F_200B_200C_200E_202D_200C_206E_202E_200C_200C_206D_206A_202A_202C_206D_202C_200D_202C_206A_206A_206B_200F_200E_202A_200D_202E_200C_200E_202C_200C_200D_206A_206F_202D_206E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202C_200B_206C_200C_200F_200F_200F_200B_200C_206D_202E_206E_200E_200B_206D_206B_206A_206E_206B_206D_200F_206D_202D_200C_206D_200B_202D_202D_200D_202A_200E_206B_200C_202D_200F_206D_202B_206D_206C_206C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _206F_200C_200C_200C_200C_206A_202A_206E_200D_200D_200E_200D_200E_202B_206B_200E_206B_202E_206D_200D_206F_202E_202A_200C_202B_202C_200F_202D_200C_206B_200F_200F_206E_202C_202D_206E_202E_206B_200D_206E_202E() + { + return new NotSupportedException(); + } + } + + [IteratorStateMachine(typeof(_003CCreateAllTasks_003Ed__2))] + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CCreateAllTasks_003Ed__2(-2) + { + _003C_003E4__this = this, + _003C_003E3__quest = quest, + _003C_003E3__step = step + }; + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + } + + internal sealed record FishTask(Quest Quest, GatheredItem? GatheredItem, IList CompletionQuestVariablesFlags) : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202D_202B_200F_200F_200F_202D_206D_200F_206E_206E_206D_200B_206D_206A_202D_202E_202A_206C_202D_206D_206F_200F_200F_206A_206F_200C_206F_202B_200B_200C_202C_202D_202C_200C_200E_206F_206B_206E_200D_206A_202E(typeof(FishTask).TypeHandle); + } + } + + public bool HasCompletionQuestVariablesFlags { get; } = QuestWorkUtils.HasCompletionFlags(CompletionQuestVariablesFlags); + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + string text = global::_003CModule_003E._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(-1580376260); + string obj = (HasCompletionQuestVariablesFlags ? global::_003CModule_003E._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(626978395) : global::_003CModule_003E._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(-1720149641)); + string text2; + if (GatheredItem == null) + { + text2 = global::_003CModule_003E._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(-1694032531); + } + else + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(4, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1824588032)); + defaultInterpolatedStringHandler.AppendFormatted(_200D_202D_202C_200F_202A_206A_200C_200C_202E_200B_206C_202E_206B_206C_200D_200B_202A_202B_200D_202D_206C_200D_200D_206E_206F_206B_202A_200E_200D_200C_206E_206D_200C_206C_200C_202A_200E_200E_206F_200D_202E(GatheredItem)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(350814621)); + defaultInterpolatedStringHandler.AppendFormatted(_206C_202A_206E_206C_200D_202A_206F_206C_200E_200B_200E_206D_200C_202B_202C_206F_200E_206F_200B_206F_202B_206D_202A_200B_200B_206D_200F_206F_202E_202B_206C_202D_200C_206C_206E_202E_206A_206A_202C_200E_202E(GatheredItem)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + text2 = defaultInterpolatedStringHandler.ToStringAndClear(); + } + return _200D_202D_202E_206B_200B_202C_202C_200E_202E_202C_200C_200C_206E_202B_206C_200B_200D_200D_206D_202C_200C_200C_202C_200E_206B_206E_206A_202B_206A_200C_200B_200C_206F_206D_200F_202A_202A_200B_206B_206F_202E(text, obj, text2); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_206E_202E_202D_202A_206E_200B_202B_206C_202D_202E_200E_200C_200B_206A_200E_200B_202A_206B_206F_206F_202D_202A_206E_200C_200D_200B_206E_206F_206E_206B_200C_200C_202C_206D_202A_202E_202A_202B_206B_202E(); + _202C_200B_202E_200E_202C_206C_202C_202D_206E_206C_206F_202D_206B_202B_202B_206D_200D_200C_200E_202E_206C_200C_200D_206A_202B_200F_202A_202D_206D_200B_206B_202A_206F_200B_200C_202B_202A_200B_202C_202E_202E(builder, global::_003CModule_003E._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(-501301525)); + _206D_202A_200B_200F_202D_200B_200E_206B_206B_206F_206E_206B_202C_200D_202B_200F_200B_206C_200E_202D_202A_200D_200F_202B_202B_202D_206F_206F_200D_206D_206A_200D_200B_200D_202D_202C_200C_202E_202B_200D_202E(builder, (object)Quest); + _202C_200B_202E_200E_202C_206C_202C_202D_206E_206C_206F_202D_206B_202B_202B_206D_200D_200C_200E_202E_206C_200C_200D_206A_202B_200F_202A_202D_206D_200B_206B_202A_206F_200B_200C_202B_202A_200B_202C_202E_202E(builder, global::_003CModule_003E._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(2119160719)); + _206D_202A_200B_200F_202D_200B_200E_206B_206B_206F_206E_206B_202C_200D_202B_200F_200B_206C_200E_202D_202A_200D_200F_202B_202B_202D_206F_206F_200D_206D_206A_200D_200B_200D_202D_202C_200C_202E_202B_200D_202E(builder, (object)GatheredItem); + _202C_200B_202E_200E_202C_206C_202C_202D_206E_206C_206F_202D_206B_202B_202B_206D_200D_200C_200E_202E_206C_200C_200D_206A_202B_200F_202A_202D_206D_200B_206B_202A_206F_200B_200C_202B_202A_200B_202C_202E_202E(builder, global::_003CModule_003E._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(1627383089)); + _206D_202A_200B_200F_202D_200B_200E_206B_206B_206F_206E_206B_202C_200D_202B_200F_200B_206C_200E_202D_202A_200D_200F_202B_202B_202D_206F_206F_200D_206D_206A_200D_200B_200D_202D_202C_200C_202E_202B_200D_202E(builder, (object)CompletionQuestVariablesFlags); + _202C_200B_202E_200E_202C_206C_202C_202D_206E_206C_206F_202D_206B_202B_202B_206D_200D_200C_200E_202E_206C_200C_200D_206A_202B_200F_202A_202D_206D_200B_206B_202A_206F_200B_200C_202B_202A_200B_202C_202E_202E(builder, global::_003CModule_003E._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(1417236057)); + _202C_200B_202E_200E_202C_206C_202C_202D_206E_206C_206F_202D_206B_202B_202B_206D_200D_200C_200E_202E_206C_200C_200D_206A_202B_200F_202A_202D_206D_200B_206B_202A_206F_200B_200C_202B_202A_200B_202C_202E_202E(builder, HasCompletionQuestVariablesFlags.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(FishTask? other) + { + int num = (((object)this == other) ? 2038737400 : 2038737406); + while (true) + { + int num2 = num; + int num3 = 2038737403; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 2038737406; + break; + case 3: + return true; + case 6: + return false; + case 0: + num = ((!EqualityComparer.Default.Equals(GatheredItem, other.GatheredItem)) ? 2038737405 : 2038737402); + break; + case 5: + num = (((object)other == null) ? 2038737405 : 2038737401); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(Quest, other.Quest)) ? 2038737405 : 2038737403); + break; + case 2: + num = ((!_206F_200B_200C_202B_200F_200D_206D_200D_200F_206A_200B_202D_202C_206D_206B_206D_200E_202B_200C_202D_200D_200E_200C_206C_202C_202C_200D_206F_202E_202C_206A_202B_200F_200E_202A_200B_200D_200E_202E_206A_202E(EqualityContract, other.EqualityContract)) ? 2038737405 : 2038737395); + break; + case 1: + num = ((!EqualityComparer>.Default.Equals(CompletionQuestVariablesFlags, other.CompletionQuestVariablesFlags)) ? 2038737405 : 2038737404); + break; + case 7: + return EqualityComparer.Default.Equals(HasCompletionQuestVariablesFlags, other.HasCompletionQuestVariablesFlags); + } + } + } + + bool IEquatable.Equals(FishTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202D_202B_200F_200F_200F_202D_206D_200F_206E_206E_206D_200B_206D_206A_202D_202E_202A_206C_202D_206D_206F_200F_200F_206A_206F_200C_206F_202B_200B_200C_202C_202D_202C_200C_200E_206F_206B_206E_200D_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static int _200D_202D_202C_200F_202A_206A_200C_200C_202E_200B_206C_202E_206B_206C_200D_200B_202A_202B_200D_202D_206C_200D_200D_206E_206F_206B_202A_200E_200D_200C_206E_206D_200C_206C_200C_202A_200E_200E_206F_200D_202E(GatheredItem P_0) + { + return P_0.ItemCount; + } + + static uint _206C_202A_206E_206C_200D_202A_206F_206C_200E_200B_200E_206D_200C_202B_202C_206F_200E_206F_200B_206F_202B_206D_202A_200B_200B_206D_200F_206F_202E_202B_206C_202D_200C_206C_206E_202E_206A_206A_202C_200E_202E(GatheredItem P_0) + { + return P_0.ItemId; + } + + static string _200D_202D_202E_206B_200B_202C_202C_200E_202E_202C_200C_200C_206E_202B_206C_200B_200D_200D_206D_202C_200C_200C_202C_200E_206B_206E_206A_202B_206A_200C_200B_200C_206F_206D_200F_202A_202A_200B_206B_206F_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _200F_206E_202E_202D_202A_206E_200B_202B_206C_202D_202E_200E_200C_200B_206A_200E_200B_202A_206B_206F_206F_202D_202A_206E_200C_200D_200B_206E_206F_206E_206B_200C_200C_202C_206D_202A_202E_202A_202B_206B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202C_200B_202E_200E_202C_206C_202C_202D_206E_206C_206F_202D_206B_202B_202B_206D_200D_200C_200E_202E_206C_200C_200D_206A_202B_200F_202A_202D_206D_200B_206B_202A_206F_200B_200C_202B_202A_200B_202C_202E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_202A_200B_200F_202D_200B_200E_206B_206B_206F_206E_206B_202C_200D_202B_200F_200B_206C_200E_202D_202A_200D_200F_202B_202B_202D_206F_206F_200D_206D_206A_200D_200B_200D_202D_202C_200C_202E_202B_200D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206F_200B_200C_202B_200F_200D_206D_200D_200F_206A_200B_202D_202C_206D_206B_206D_200E_202B_200C_202D_200D_200E_200C_206C_202C_202C_200D_206F_202E_202C_206A_202B_200F_200E_202A_200B_200D_200E_202E_206A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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; + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + int num = ((!HasRequestedItem(base.Task.GatheredItem)) ? 1782485071 : 1782485057); + string value = default(string); + while (true) + { + int num2 = num; + int num3 = 1782485064; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 10: + num = 1782485057; + break; + case 2: + throw new TaskException(global::_003CModule_003E._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(2028014185)); + case 4: + _206A_200C_202C_202C_202D_206D_200F_202B_202E_202B_202C_206B_200B_206A_200B_200E_206A_200E_200B_206A_202B_206F_202E_200B_200B_206E_200F_202D_202C_200D_202A_202E_200D_202D_206F_200D_206D_206B_202B_206D_202E((ILogger)logger, global::_003CModule_003E._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(-1855558187), Array.Empty()); + return false; + case 0: + { + _200D_202D_206E_202D_206A_206A_206F_202E_200D_206A_202C_206F_202B_206D_206E_202A_202E_206E_202E_206E_206F_202A_200B_200C_202D_200E_206F_202A_202C_206E_200B_206F_206B_202B_200F_200C_200D_202D_206F_202C_202E((ILogger)logger, global::_003CModule_003E._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(704472200), new object[1] { base.Task.Quest.Id }); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(34, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(807535051)); + defaultInterpolatedStringHandler.AppendFormatted(base.Task.Quest.Id); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 6: + _206A_200C_202C_202C_202D_206D_200F_202B_202E_202B_202C_206B_200B_206A_200B_200E_206A_200E_200B_206A_202B_206F_202E_200B_200B_206E_200F_202D_202C_200D_202A_202E_200D_202D_206F_200D_206D_206B_202B_206D_202E((ILogger)logger, global::_003CModule_003E._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(-1839561848), new object[1] { base.Task.Quest.Id }); + autoHookIpc.CreateAndSelectAnonymousPreset(value); + OrientToWater(); + autoHookIpc.SetAutoStartFishing(enabled: true); + _started = true; + return true; + case 7: + num = ((!HasMatchingCompletionQuestWork()) ? 1782485065 : 1782485068); + break; + case 9: + _206A_200C_202C_202C_202D_206D_200F_202B_202E_202B_202C_206B_200B_206A_200B_200E_206A_200E_200B_206A_202B_206F_202E_200B_200B_206E_200F_202D_202C_200D_202A_202E_200D_202D_206F_200D_206D_206B_202B_206D_202E((ILogger)logger, global::_003CModule_003E._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(-2069167777), Array.Empty()); + return false; + case 8: + _206B_200E_200D_200D_200F_200B_206C_206D_202B_206C_200F_202E_206B_202B_206D_202A_200D_202D_200E_206E_206D_200C_202D_206F_200E_200C_200E_206D_202B_200D_202E_200D_200B_202A_200C_206A_206A_206C_200C_206B_202E(chatGui, global::_003CModule_003E._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(2028014185), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + num = 1782485066; + break; + case 1: + num = (_wasAutoHookEnabled ? 1782485059 : 1782485067); + break; + case 3: + autoHookIpc.SetPluginState(enabled: true); + num = (autoHookIpc.GetPluginState() ? 1782485059 : 1782485069); + break; + case 5: + _200D_202D_206E_202D_206A_206A_206F_202E_200D_206A_202C_206F_202B_206D_206E_202A_202E_206E_202E_206E_206F_202A_200B_200C_202D_200E_206F_202A_202C_206E_200B_206F_206B_202B_200F_200C_200D_202D_206F_202C_202E((ILogger)logger, global::_003CModule_003E._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(1913024892), new object[1] { global::_003CModule_003E._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(-2025711816) }); + num = (sendNotificationExecutor.Start(new SendNotification.Task(EInteractionType.Fish, global::_003CModule_003E._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(774695212))) ? 1782485066 : 1782485056); + break; + case 11: + num = (AutoHookPresetData.FishingPresets.TryGetValue((QuestId)base.Task.Quest.Id, out value) ? 1782485070 : 1782485064); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + int num = ((!HasRequestedItem(base.Task.GatheredItem)) ? (-1288503250) : (-1288503251)); + while (true) + { + int num2 = num; + int num3 = -1288503250; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1288503251; + break; + case 1: + _200E_200F_200B_200B_202C_202B_206F_200E_206B_206F_206D_206D_206C_202E_206B_202B_206F_202E_206A_202E_200D_202C_200D_202B_202B_200B_202B_206A_200C_206F_202C_200B_202C_200B_202B_202D_206D_206C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(-571223897), Array.Empty()); + Cleanup(); + return ETaskResult.TaskComplete; + case 4: + return ETaskResult.StillRunning; + case 0: + num = ((!HasMatchingCompletionQuestWork()) ? (-1288503254) : (-1288503249)); + break; + case 3: + _200E_200F_200B_200B_202C_202B_206F_200E_206B_206F_206D_206D_206C_202E_206B_202B_206F_202E_206A_202E_200D_202C_200D_202B_202B_200B_202B_206A_200C_206F_202C_200B_202C_200B_202B_202D_206D_206C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(895316843), Array.Empty()); + Cleanup(); + return ETaskResult.TaskComplete; + } + } + } + + public void StopNow() + { + int num = ((!_started) ? (-861812504) : (-861812503)); + while (true) + { + int num2 = num; + int num3 = -861812504; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -861812503; + break; + case 1: + Cleanup(); + num = -861812504; + break; + case 0: + return; + } + } + } + + void IStoppableTaskExecutor.StopNow() + { + //ILSpy generated this explicit interface implementation from .override directive in StopNow + this.StopNow(); + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + private bool HasMatchingCompletionQuestWork() + { + int num = (base.Task.HasCompletionQuestVariablesFlags ? 631430922 : 631430921); + QuestProgressInfo questProgressInfo = default(QuestProgressInfo); + while (true) + { + int num2 = num; + int num3 = 631430922; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return QuestWorkUtils.MatchesQuestWork(base.Task.CompletionQuestVariablesFlags, questProgressInfo); + case 4: + return false; + case 0: + questProgressInfo = questFunctions.GetQuestProgressInfo(base.Task.Quest.Id); + num = ((questProgressInfo == null) ? 631430926 : 631430923); + break; + case 2: + num = 631430921; + break; + case 3: + return false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void Cleanup() + { + int num = ((!_cleanupDone) ? (-880332252) : (-880332249)); + while (true) + { + int num2 = num; + int num3 = -880332251; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0048; + case 1: + _200E_200F_200B_200B_202C_202B_206F_200E_206B_206F_206D_206D_206C_202E_206B_202B_206F_202E_206A_202E_200D_202C_200D_202B_202B_200B_202B_206A_200C_206F_202C_200B_202C_200B_202B_202D_206D_206C_202E_202C_202E((ILogger)logger, global::_003CModule_003E._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(-1552997573), Array.Empty()); + autoHookIpc.SetAutoStartFishing(enabled: false); + StopFishing(); + autoHookIpc.DeleteAllAnonymousPresets(); + autoHookIpc.SetPluginState(_wasAutoHookEnabled); + _cleanupDone = true; + return; + case 2: + return; + } + continue; + IL_0048: + num = -880332249; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void OrientToWater() + { + IPlayerCharacter playerCharacter = _200B_202C_200B_200B_202D_200F_206B_206D_200F_206A_206B_206F_206D_202D_200E_206E_202A_202C_206B_206C_202A_200E_202B_206B_206A_206B_200B_200C_200D_200E_206E_202D_206F_200B_200E_206C_200F_206C_200F_206F_202E(objectTable); + int num = ((playerCharacter != null) ? 2106892356 : 2106892353); + (float, Vector3)? tuple = default((float, Vector3)?); + while (true) + { + int num2 = num; + int num3 = 2106892352; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _200D_202D_206E_202D_206A_206A_206F_202E_200D_206A_202C_206F_202B_206D_206E_202A_202E_206E_202E_206E_206F_202A_200B_200C_202D_200E_206F_202A_202C_206E_200B_206F_206B_202B_200F_200C_200D_202D_206F_202C_202E((ILogger)logger, global::_003CModule_003E._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(-977369121), Array.Empty()); + return; + case 3: + { + Vector3 item = tuple.Value.Item2; + ActionManager.Instance()->AutoFaceTargetPosition(&item, 0uL); + return; + } + case 1: + return; + case 2: + num = 2106892353; + break; + case 4: + tuple = _202A_202B_200D_200E_206C_206B_202C_200C_206F_206C_200C_200C_206F_202E_202B_206A_202D_202E_202E_202E_206E_200F_206E_202E_202E_200D_200B_202D_200D_200D_202C_206A_200C_200E_206C_206A_200C_200D_202D_200E_202E(_202D_202D_202E_206C_206E_206C_202C_202D_200F_206D_206B_200C_206B_200B_200B_202A_200C_206B_206E_200E_200E_202C_206D_200F_200F_206F_200F_202A_200D_200C_200E_200C_206B_206E_206D_202C_206C_206E_202C_206D_202E((IGameObject)playerCharacter), 36); + num = (tuple.HasValue ? 2106892355 : 2106892352); + break; + } + } + } + + private unsafe static void StopFishing() + { + ActionManager* ptr = ActionManager.Instance(); + int num = ((ptr == null) ? 1063786085 : 1063786084); + while (true) + { + int num2 = num; + int num3 = 1063786085; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return; + case 1: + ptr->UseAction(ActionType.Action, 299u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + num = 1063786085; + break; + case 2: + num = 1063786084; + break; + } + } + } + + static void _206A_200C_202C_202C_202D_206D_200F_202B_202E_202B_202C_206B_200B_206A_200B_200E_206A_200E_200B_206A_202B_206F_202E_200B_200B_206E_200F_202D_202C_200D_202A_202E_200D_202D_206F_200D_206D_206B_202B_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _200D_202D_206E_202D_206A_206A_206F_202E_200D_206A_202C_206F_202B_206D_206E_202A_202E_206E_202E_206E_206F_202A_200B_200C_202D_200E_206F_202A_202C_206E_200B_206F_206B_202B_200F_200C_200D_202D_206F_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _206B_200E_200D_200D_200F_200B_206C_206D_202B_206C_200F_202E_206B_202B_206D_202A_200D_202D_200E_206E_206D_200C_202D_206F_200E_200C_200E_206D_202B_200D_202E_200D_200B_202A_200C_206A_206A_206C_200C_206B_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static void _200E_200F_200B_200B_202C_202B_206F_200E_206B_206F_206D_206D_206C_202E_206B_202B_206F_202E_206A_202E_200D_202C_200D_202B_202B_200B_202B_206A_200C_206F_202C_200B_202C_200B_202B_202D_206D_206C_202E_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static IPlayerCharacter _200B_202C_200B_200B_202D_200F_206B_206D_200F_206A_206B_206F_206D_202D_200E_206E_202A_202C_206B_206C_202A_200E_202B_206B_206A_206B_200B_200C_200D_200E_206E_202D_206F_200B_200E_206C_200F_206C_200F_206F_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _202D_202D_202E_206C_206E_206C_202C_202D_200F_206D_206B_200C_206B_200B_200B_202A_200C_206B_206E_200E_200E_202C_206D_200F_200F_206F_200F_202A_200D_200C_200E_200C_206B_206E_206D_202C_206C_206E_202C_206D_202E(IGameObject P_0) + { + return P_0.Position; + } + + static (float, Vector3)? _202A_202B_200D_200E_206C_206B_202C_200C_206F_206C_200C_200C_206F_202E_202B_206A_202D_202E_202E_202E_206E_200F_206E_202E_202E_200D_200B_202D_200D_200D_202C_206A_200C_200E_206C_206A_200C_200D_202D_200E_202E(Vector3 P_0, int P_1) + { + return WaterSurfaceDetector.FindFishableRotation(P_0, P_1); + } + } + + private const uint QuitActionId = 299u; + + private unsafe static bool HasRequestedItem(GatheredItem? item) + { + int num = ((item != null) ? 1208879957 : 1208879956); + InventoryManager* ptr = default(InventoryManager*); + while (true) + { + int num2 = num; + int num3 = 1208879957; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return false; + case 2: + return ptr->GetInventoryItemCount(_200C_202B_202C_206A_206B_202A_202C_202A_206C_202D_202A_202E_202C_206B_206A_202E_200F_202D_202A_206F_206B_202B_206D_202A_202E_200C_206A_202C_202A_206E_206F_202E_206E_202C_202B_202E_206A_200C_206E_206D_202E(item), isHq: false, checkEquipped: true, checkArmory: true, (short)_202D_206C_206F_202E_206D_206C_202A_200D_206D_202E_206B_200F_202A_202A_200B_206C_206A_206F_206B_206C_202C_200C_202A_206A_202D_200C_206A_206D_200B_200D_202B_202B_206C_200D_206F_206F_202C_206E_206B_202D_202E(item)) >= _206E_200B_206A_206D_200E_202D_206C_202D_206E_206B_206C_206B_202C_206A_206D_200B_206F_206B_206F_200C_202D_202D_206F_206E_200E_202E_206D_206D_200B_200D_202B_200D_206D_202A_202B_206E_200B_200F_206E_202D_202E(item); + case 1: + return false; + case 4: + num = 1208879956; + break; + case 0: + ptr = InventoryManager.Instance(); + num = ((ptr != null) ? 1208879959 : 1208879958); + break; + } + } + } + + static uint _200C_202B_202C_206A_206B_202A_202C_202A_206C_202D_202A_202E_202C_206B_206A_202E_200F_202D_202A_206F_206B_202B_206D_202A_202E_200C_206A_202C_202A_206E_206F_202E_206E_202C_202B_202E_206A_200C_206E_206D_202E(GatheredItem P_0) + { + return P_0.ItemId; + } + + static ushort _202D_206C_206F_202E_206D_206C_202A_200D_206D_202E_206B_200F_202A_202A_200B_206C_206A_206F_206B_206C_202C_200C_202A_206A_202D_200C_206A_206D_200B_200D_202B_202B_206C_200D_206F_206F_202C_206E_206B_202D_202E(GatheredItem P_0) + { + return P_0.Collectability; + } + + static int _206E_200B_206A_206D_200E_202D_206C_202D_206E_206B_206C_206B_202C_206A_206D_200B_206F_206B_206F_200C_202D_202D_206F_206E_200E_202E_206D_206D_200B_200D_202B_200D_206D_202A_202B_206E_200B_200F_206E_202D_202E(GatheredItem P_0) + { + return P_0.ItemCount; + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/Gather.cs b/Questionable/Questionable.Controller.Steps.Shared/Gather.cs index ef618eb4..a66d85b1 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/Gather.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/Gather.cs @@ -1,12 +1,19 @@ using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Game.Text; using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using LLib.GameData; +using Lumina.Excel; +using Lumina.Excel.Sheets; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Questionable.Controller.Steps.Common; @@ -22,29 +29,990 @@ internal static class Gather { internal sealed class Factory : ITaskFactory { - public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + [CompilerGenerated] + private sealed class _003CCreateAllTasks_003Ed__0 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable { - if (step.InteractionType != EInteractionType.Gather) + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private QuestStep step; + + public QuestStep _003C_003E3__step; + + private Questionable.Model.Quest quest; + + public Questionable.Model.Quest _003C_003E3__quest; + + private QuestSequence sequence; + + public QuestSequence _003C_003E3__sequence; + + private List.Enumerator _003C_003E7__wrap1; + + ITask IEnumerator.Current { - yield break; + [DebuggerHidden] + get + { + return _003C_003E2__current; + } } - foreach (GatheredItem item in step.ItemsToGather) + + object IEnumerator.Current { - yield return new DelayedGatheringTask(item, quest, sequence.Sequence); + [DebuggerHidden] + get + { + return _003C_003E2__current; + } } + + [DebuggerHidden] + public _003CCreateAllTasks_003Ed__0(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _200F_206D_206F_202E_202B_202E_200D_206A_206B_206F_206D_200D_206F_206A_206A_200C_202B_206E_206A_202D_206C_206E_206A_206D_202E_200F_206A_206B_200F_200E_202B_206B_206C_202A_200B_206E_202B_202E_200C_206D_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? 501970118 : 501970117); + while (true) + { + int num3 = num2; + int num4 = 501970116; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 0: + num2 = 501970117; + continue; + case 1: + if (num == 1) + { + num2 = 501970118; + continue; + } + break; + case 2: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = default(List.Enumerator); + _003C_003E1__state = -2; + } + + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + int num2 = ((num == 0) ? (-716554226) : (-716554239)); + while (true) + { + int num3 = num2; + int num4 = -716554232; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 8: + num2 = (_003C_003E7__wrap1.MoveNext() ? (-716554228) : (-716554231)); + break; + case 5: + _003C_003E1__state = -3; + num2 = -716554240; + break; + case 2: + return false; + case 7: + return false; + case 0: + num2 = -716554239; + break; + case 3: + _003C_003E7__wrap1 = _206B_200E_206C_206C_206D_206F_202D_202B_200F_206B_200E_200B_202A_202A_206E_206A_200E_206F_206F_200C_206A_200D_200D_206A_206B_202A_200F_206F_206F_206D_202B_200C_200B_202B_200B_202D_202B_200C_202E_200E_202E(step).GetEnumerator(); + _003C_003E1__state = -3; + num2 = -716554240; + break; + case 9: + num2 = ((num == 1) ? (-716554227) : (-716554230)); + break; + case 4: + { + GatheredItem current = _003C_003E7__wrap1.Current; + _003C_003E2__current = new DelayedGatheringTask(current, quest, _206A_202B_202E_200F_202E_206E_206F_200D_200F_200F_202C_206B_206B_200F_206E_202B_206E_200C_202C_206E_206E_206D_206B_200B_206B_202B_202A_206C_206A_200F_202B_206B_200D_206A_206B_200E_206C_202E_206E_202E(sequence)); + _003C_003E1__state = 1; + return true; + } + case 6: + _003C_003E1__state = -1; + num2 = ((_200C_202A_202B_206A_202B_206A_206A_200F_206C_202C_206D_206E_202D_206F_206E_202A_206F_202A_206F_206E_206E_202A_202B_202B_206F_200D_200E_206E_206D_200D_200B_206B_200C_206B_206B_206E_206B_202D_206D_206C_202E(step) == EInteractionType.Gather) ? (-716554229) : (-716554225)); + break; + case 1: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = default(List.Enumerator); + return false; + } + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + ((IDisposable)_003C_003E7__wrap1/*cast due to .constrained prefix*/).Dispose(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _202C_206F_200C_200C_206F_200D_202A_206B_200D_202A_206B_202A_200D_202C_202A_202A_202B_202B_200D_206E_202E_202A_206D_206F_200B_202B_200E_206E_200B_206E_200B_202D_200D_202B_206F_200B_206E_206F_206C_200C_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-1452607812) : (-1452607816)); + _003CCreateAllTasks_003Ed__0 _003CCreateAllTasks_003Ed__ = default(_003CCreateAllTasks_003Ed__0); + while (true) + { + int num2 = num; + int num3 = -1452607812; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _003CCreateAllTasks_003Ed__ = new _003CCreateAllTasks_003Ed__0(0); + num = -1452607810; + break; + case 4: + num = ((_003C_003El__initialThreadId != _200F_206D_206F_202E_202B_202E_200D_206A_206B_206F_206D_200D_206F_206A_206A_200C_202B_206E_206A_202D_206C_206E_206A_206D_202E_200F_206A_206B_200F_200E_202B_206B_206C_202A_200B_206E_202B_202E_200C_206D_202E()) ? (-1452607812) : (-1452607811)); + break; + case 3: + num = -1452607816; + break; + case 2: + _003CCreateAllTasks_003Ed__.quest = _003C_003E3__quest; + _003CCreateAllTasks_003Ed__.sequence = _003C_003E3__sequence; + _003CCreateAllTasks_003Ed__.step = _003C_003E3__step; + return _003CCreateAllTasks_003Ed__; + case 1: + _003C_003E1__state = 0; + _003CCreateAllTasks_003Ed__ = this; + num = -1452607810; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _200F_206D_206F_202E_202B_202E_200D_206A_206B_206F_206D_200D_206F_206A_206A_200C_202B_206E_206A_202D_206C_206E_206A_206D_202E_200F_206A_206B_200F_200E_202B_206B_206C_202A_200B_206E_202B_202E_200C_206D_202E() + { + return Environment.CurrentManagedThreadId; + } + + static EInteractionType _200C_202A_202B_206A_202B_206A_206A_200F_206C_202C_206D_206E_202D_206F_206E_202A_206F_202A_206F_206E_206E_202A_202B_202B_206F_200D_200E_206E_206D_200D_200B_206B_200C_206B_206B_206E_206B_202D_206D_206C_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static List _206B_200E_206C_206C_206D_206F_202D_202B_200F_206B_200E_200B_202A_202A_206E_206A_200E_206F_206F_200C_206A_200D_200D_206A_206B_202A_200F_206F_206F_206D_202B_200C_200B_202B_200B_202D_202B_200C_202E_200E_202E(QuestStep P_0) + { + return P_0.ItemsToGather; + } + + static byte _206A_202B_202E_200F_202E_206E_206F_200D_200F_200F_202C_206B_206B_200F_206E_202B_206E_200C_202C_206E_206E_206D_206B_200B_206B_202B_202A_206C_206A_200F_202B_206B_200D_206A_206B_200E_206C_202E_206E_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static NotSupportedException _202C_206F_200C_200C_206F_200D_202A_206B_200D_202A_206B_202A_200D_202C_202A_202A_202B_202B_200D_206E_202E_202A_206D_206F_200B_202B_200E_206E_200B_206E_200B_202D_200D_202B_206F_200B_206E_206F_206C_200C_202E() + { + return new NotSupportedException(); + } + } + + [IteratorStateMachine(typeof(_003CCreateAllTasks_003Ed__0))] + public IEnumerable CreateAllTasks(Questionable.Model.Quest quest, QuestSequence sequence, QuestStep step) + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CCreateAllTasks_003Ed__0(-2) + { + _003C_003E3__quest = quest, + _003C_003E3__sequence = sequence, + _003C_003E3__step = step + }; + } + + IEnumerable ITaskFactory.CreateAllTasks(Questionable.Model.Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); } } - internal sealed record DelayedGatheringTask(GatheredItem GatheredItem, Quest Quest, byte Sequence) : ITask + internal sealed record DelayedGatheringTask(GatheredItem GatheredItem, Questionable.Model.Quest Quest, byte Sequence) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_206E_206C_200B_200C_200C_200E_206B_206D_206A_200E_202D_202A_200B_202D_206F_206A_206D_202A_202B_202A_200B_200E_206E_200F_202C_200F_202A_200B_202C_206D_206A_202A_200B_202D_206A_200E_200F_206A_206D_202E(typeof(DelayedGatheringTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Gathering(pending for {GatheredItem.ItemId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(23, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1524160923)); + defaultInterpolatedStringHandler.AppendFormatted(_206E_200F_206D_202D_206D_202D_200E_202D_202E_200F_202B_202B_206B_202A_206E_202B_202A_200C_206D_202E_200B_200D_206B_202D_206C_200E_202A_206A_200D_200F_202C_206E_206D_200C_202A_206F_206C_202A_206B_200E_202E(GatheredItem)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202C_206E_206B_200C_206C_200E_206A_206E_202A_206A_200B_202B_202D_202C_200C_200E_202D_202A_200C_206D_200E_206C_206B_200F_202D_200E_202C_206B_202E_200C_202D_202D_206D_206D_206D_202A_202A_200E_200C_200F_202E(); + _200C_206B_202C_200D_202B_202B_206B_202B_202D_206B_200C_206B_206D_200B_206E_202E_200B_200C_200B_200D_200D_200B_200B_202A_202C_202A_206B_200F_200C_206D_200D_206A_206B_200B_202B_200F_202A_202B_202D_206D_202E(builder, global::_003CModule_003E._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(872886747)); + _206B_200E_202B_200C_206C_206A_200B_200D_202A_206B_202B_206C_206E_202D_206A_206F_202C_206A_200C_206A_202A_202C_206A_206C_202A_206A_200E_202B_206B_202D_200B_202E_200D_206C_202B_202A_202D_200B_200B_206F_202E(builder, (object)GatheredItem); + _200C_206B_202C_200D_202B_202B_206B_202B_202D_206B_200C_206B_206D_200B_206E_202E_200B_200C_200B_200D_200D_200B_200B_202A_202C_202A_206B_200F_200C_206D_200D_206A_206B_200B_202B_200F_202A_202B_202D_206D_202E(builder, global::_003CModule_003E._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(-119074861)); + _206B_200E_202B_200C_206C_206A_200B_200D_202A_206B_202B_206C_206E_202D_206A_206F_202C_206A_200C_206A_202A_202C_206A_206C_202A_206A_200E_202B_206B_202D_200B_202E_200D_206C_202B_202A_202D_200B_200B_206F_202E(builder, (object)Quest); + _200C_206B_202C_200D_202B_202B_206B_202B_202D_206B_200C_206B_206D_200B_206E_202E_200B_200C_200B_200D_200D_200B_200B_202A_202C_202A_206B_200F_200C_206D_200D_206A_206B_200B_202B_200F_202A_202B_202D_206D_202E(builder, global::_003CModule_003E._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(-1883281888)); + _200C_206B_202C_200D_202B_202B_206B_202B_202D_206B_200C_206B_206D_200B_206E_202E_200B_200C_200B_200D_200D_200B_200B_202A_202C_202A_206B_200F_200C_206D_200D_206A_206B_200B_202B_200F_202A_202B_202D_206D_202E(builder, Sequence.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(DelayedGatheringTask? other) + { + int num = (((object)this == other) ? (-2134449600) : (-2134449596)); + while (true) + { + int num2 = num; + int num3 = -2134449598; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = ((!EqualityComparer.Default.Equals(GatheredItem, other.GatheredItem)) ? (-2134449595) : (-2134449598)); + break; + case 4: + return EqualityComparer.Default.Equals(Sequence, other.Sequence); + case 6: + num = (((object)other == null) ? (-2134449595) : (-2134449597)); + break; + case 7: + return false; + case 3: + num = -2134449596; + break; + case 1: + num = ((!_206C_206E_200D_200E_206F_206F_202E_200B_200C_206E_206F_206B_200F_202C_202D_200B_202D_202B_200B_206A_206D_206D_200D_206E_200F_200C_206A_202A_200D_202E_206A_206E_200B_206C_206D_206A_202D_206C_206F_206E_202E(EqualityContract, other.EqualityContract)) ? (-2134449595) : (-2134449593)); + break; + case 2: + return true; + case 0: + num = ((!EqualityComparer.Default.Equals(Quest, other.Quest)) ? (-2134449595) : (-2134449594)); + break; + } + } + } + + bool IEquatable.Equals(DelayedGatheringTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_206E_206C_200B_200C_200C_200E_206B_206D_206A_200E_202D_202A_200B_202D_206F_206A_206D_202A_202B_202A_200B_200E_206E_200F_202C_200F_202A_200B_202C_206D_206A_202A_200B_202D_206A_200E_200F_206A_206D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static uint _206E_200F_206D_202D_206D_202D_200E_202D_202E_200F_202B_202B_206B_202A_206E_202B_202A_200C_206D_202E_200B_200D_206B_202D_206C_200E_202A_206A_200D_200F_202C_206E_206D_200C_202A_206F_206C_202A_206B_200E_202E(GatheredItem P_0) + { + return P_0.ItemId; + } + + static void _202C_206E_206B_200C_206C_200E_206A_206E_202A_206A_200B_202B_202D_202C_200C_200E_202D_202A_200C_206D_200E_206C_206B_200F_202D_200E_202C_206B_202E_200C_202D_202D_206D_206D_206D_202A_202A_200E_200C_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200C_206B_202C_200D_202B_202B_206B_202B_202D_206B_200C_206B_206D_200B_206E_202E_200B_200C_200B_200D_200D_200B_200B_202A_202C_202A_206B_200F_200C_206D_200D_206A_206B_200B_202B_200F_202A_202B_202D_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_200E_202B_200C_206C_206A_200B_200D_202A_206B_202B_206C_206E_202D_206A_206F_202C_206A_200C_206A_202A_202C_206A_206C_202A_206A_200E_202B_206B_202D_200B_202E_200D_206C_202B_202A_202D_200B_200B_206F_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206C_206E_200D_200E_206F_206F_202E_200B_200C_206E_206F_206B_200F_202C_202D_200B_202D_202B_200B_206A_206D_206D_200D_206E_200F_200C_206A_202A_200D_202E_206A_206E_200B_206C_206D_206A_202D_206C_206F_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class DelayedGatheringExecutor(GatheringPointRegistry gatheringPointRegistry, TerritoryData territoryData, IClientState clientState, IObjectTable objectTable, IServiceProvider serviceProvider, ILogger logger) : TaskExecutor(), IExtraTaskCreator, ITaskExecutor { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass9_0 + { + public DelayedGatheringExecutor _003C_003E4__this; + + public ushort territoryId; + + internal bool _003CCreateExtraTasks_003Eb__0() + { + return _200F_202D_200F_206F_206C_200D_200C_200B_206E_202A_202B_206E_200E_202E_200D_200F_206C_200D_206E_200B_200C_200D_202A_202E_200C_206E_202D_206C_206C_206A_206D_200C_202D_206B_206D_206A_200C_202E_206A_200C_202E(_003C_003E4__this.clientState) == territoryId; + } + + static uint _200F_202D_200F_206F_206C_200D_200C_200B_206E_202A_202B_206E_200E_202E_200D_200F_206C_200D_206E_200B_200C_200D_202A_202E_200C_206E_202D_206C_206C_206A_206D_200C_202D_206B_206D_206A_200C_202E_206A_200C_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + } + + [CompilerGenerated] + private sealed class _003CCreateExtraTasks_003Ed__9 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public DelayedGatheringExecutor _003C_003E4__this; + + private _003C_003Ec__DisplayClass9_0 _003C_003E8__1; + + private GatheringPointId _003CgatheringPointId_003E5__2; + + private GatheringRoot _003CgatheringRoot_003E5__3; + + private IDisposable _003C__003E5__4; + + private QuestSequence _003CgatheringSequence_003E5__5; + + private List.Enumerator _003C_003E7__wrap5; + + private IEnumerator _003C_003E7__wrap6; + + ITask IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CCreateExtraTasks_003Ed__9(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _200D_200C_202C_200F_200B_202E_206D_202D_200B_202D_206C_206D_200D_200D_206C_200C_206E_202C_206C_200D_200E_202B_200E_206D_200D_200F_206D_202D_202A_202A_206E_202E_202A_202A_200C_206F_206E_200E_206B_206C_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = -5; + int num3 = num; + int num4 = (((uint)(~(~num3 + num2)) <= 2u) ? 1123138263 : 1123138260); + while (true) + { + int num5 = num4; + num2 = 1123138261; + num3 = num5; + int num6 = num3 + num2; + int num7 = num3 & num2; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 0: + num4 = 1123138260; + continue; + case 1: + num2 = 3; + num3 = num; + if ((uint)(~(~num3 + num2)) <= 1u) + { + num4 = 1123138263; + continue; + } + break; + case 2: + try + { + num2 = -5; + num3 = num; + num4 = (((uint)(~(~num3 + num2)) <= 1u) ? (-1825309648) : (-1825309647)); + while (true) + { + int num8 = num4; + num2 = -1825309648; + num3 = num8; + switch ((num3 | num2) - (num3 & num2)) + { + case 3: + goto end_IL_00a0; + case 1: + num2 = 3; + num3 = num; + num4 = (((uint)(~(~num3 + num2)) <= 1u) ? (-1825309648) : (-1825309645)); + break; + case 2: + num4 = -1825309647; + break; + case 0: + try + { + num4 = ((num == -5) ? 1981551720 : 1981551722); + while (true) + { + int num9 = num4; + num2 = 1981551723; + num3 = num9; + int num10 = num3 + num2; + int num11 = num3 & num2; + switch (num10 - (num11 + num11)) + { + case 0: + num4 = 1981551722; + break; + case 1: + num2 = 3; + num3 = num; + num4 = (((uint)(~(~num3 + num2)) <= 1u) ? 1981551720 : 1981551721); + break; + case 2: + goto end_IL_0128; + case 3: + try + { + } + finally + { + _003C_003Em__Finally3(); + } + goto end_IL_0128; + } + continue; + end_IL_0128: + break; + } + } + finally + { + _003C_003Em__Finally2(); + } + goto end_IL_00a0; + } + continue; + end_IL_00a0: + break; + } + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E8__1 = null; + _003CgatheringPointId_003E5__2 = null; + _003CgatheringRoot_003E5__3 = null; + _003C__003E5__4 = null; + _003CgatheringSequence_003E5__5 = null; + _003C_003E7__wrap5 = default(List.Enumerator); + _003C_003E7__wrap6 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + DelayedGatheringExecutor delayedGatheringExecutor = _003C_003E4__this; + int num2; + ITask current = default(ITask); + uint? num8 = default(uint?); + EClassJob valueOrDefault = default(EClassJob); + IPlayerCharacter playerCharacter; + switch (num) + { + default: + num2 = 89540057; + goto IL_0044; + case 4: + _003C_003E1__state = -5; + num2 = 89540053; + goto IL_0044; + case 5: + goto IL_027e; + case 7: + goto IL_02d2; + case 3: + goto IL_032f; + case 1: + goto IL_03e1; + case 0: + goto IL_0442; + case 6: + goto IL_05b7; + case 2: + goto IL_061c; + case 8: + break; + IL_0044: + while (true) + { + int num3 = num2; + int num4 = 89540036; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + EClassJob? obj; + EClassJob? eClassJob; + switch (num6 - (num7 + num7)) + { + case 7: + _003C_003E2__current = new Questionable.Controller.Steps.Interactions.Action.TriggerStatusIfMissing(EStatus.Triangulate, EAction.Triangulate); + _003C_003E1__state = 2; + return true; + case 2: + _003C_003E2__current = current; + _003C_003E1__state = 4; + return true; + case 27: + _003C_003Em__Finally2(); + _003C_003E7__wrap5 = default(List.Enumerator); + _003CgatheringSequence_003E5__5 = null; + _003C_003Em__Finally1(); + _003C__003E5__4 = null; + _003C_003E8__1.territoryId = _200C_202D_202B_202C_202D_202B_200B_202D_206B_206E_202C_206D_202B_206E_202D_206A_200E_206E_206D_206F_200F_202E_200D_200B_202A_206D_206F_200F_200C_200C_206F_206A_202E_206B_202D_200D_206F_202D_200B_202E_202E(_206A_202E_206E_206A_200B_202A_206C_206C_200B_200F_200B_206A_200E_206F_202C_200E_202C_202C_200B_206A_202A_202E_206A_206A_206E_200D_202A_200E_202A_206A_206B_200B_206E_200F_202A_206D_206F_206A_200C_206C_202E(_003CgatheringRoot_003E5__3).Last()); + _003C_003E2__current = new WaitCondition.Task(() => _003C_003Ec__DisplayClass9_0._200F_202D_200F_206F_206C_200D_200C_200B_206E_202A_202B_206E_200E_202E_200D_200F_206C_200D_206E_200B_200C_200D_202A_202E_200C_206E_202D_206C_206C_206A_206D_200C_202D_206B_206D_206A_200C_202E_206A_200C_202E(_003C_003E8__1._003C_003E4__this.clientState) == _003C_003E8__1.territoryId, _200E_206E_206E_200F_202B_200F_200D_202E_200D_202A_206B_202A_206F_202D_202E_202D_200B_200B_206B_206E_206E_206D_206C_206A_200C_206B_206B_202B_206E_206B_200E_202E_206E_206A_202A_206D_202D_200B_206A_202A_202E(global::_003CModule_003E._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(-344536108), delayedGatheringExecutor.territoryData.GetNameAndId(_003C_003E8__1.territoryId), global::_003CModule_003E._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(1735737295))); + _003C_003E1__state = 5; + return true; + case 0: + _003C_003E2__current = new SkipMarker(); + _003C_003E1__state = 3; + return true; + case 19: + num2 = 89540057; + break; + case 6: + { + QuestStep current2 = _003C_003E7__wrap5.Current; + _003C_003E7__wrap6 = delayedGatheringExecutor.serviceProvider.GetRequiredService().CreateTasks(delayedGatheringExecutor.Task.Quest, delayedGatheringExecutor.Task.Sequence, _003CgatheringSequence_003E5__5, current2).GetEnumerator(); + _003C_003E1__state = -5; + num2 = 89540053; + break; + } + case 12: + goto end_IL_0044; + case 28: + goto IL_027e; + case 17: + goto IL_02aa; + case 3: + goto IL_02d2; + case 21: + goto IL_02fe; + case 14: + goto IL_032f; + case 11: + { + _003C__003E5__4 = delayedGatheringExecutor.logger.BeginScope(global::_003CModule_003E._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(2071352719)); + _003C_003E1__state = -3; + QuestSequence questSequence = _206C_200E_200D_200C_206C_202B_202B_200F_202A_206F_200B_200B_202D_200C_206A_200D_206D_206F_200F_202B_206F_206D_202B_206D_200C_206B_206F_200F_206A_206B_206C_202C_202C_200E_200B_206E_200E_206C_200C_206B_202E(); + _202E_200E_200D_202E_206D_202E_202B_202E_202E_206F_200D_200B_200E_206B_206B_200B_202D_200C_206B_206A_206F_206F_206D_202C_202D_206F_206C_202D_200C_200C_202A_206B_206E_200E_206A_206A_200C_202A_206F_202E(questSequence, (byte)0); + _206C_206E_202E_202A_200D_202D_202D_200D_200B_206A_206A_206C_202C_202D_206C_206A_202A_202A_206A_200D_202B_202C_206F_200C_200C_200D_202A_200B_206B_200F_206D_200C_206E_200B_206E_202E_206B_200B_202B_200D_202E(questSequence, _206A_202E_206E_206A_200B_202A_206C_206C_200B_200F_200B_206A_200E_206F_202C_200E_202C_202C_200B_206A_202A_202E_206A_206A_206E_200D_202A_200E_202A_206A_206B_200B_206E_200F_202A_206D_206F_206A_200C_206C_202E(_003CgatheringRoot_003E5__3)); + _003CgatheringSequence_003E5__5 = questSequence; + _003C_003E7__wrap5 = _202C_202E_206B_202A_206D_206E_202B_200D_206E_202D_206C_206C_200D_200C_200E_200B_200B_206E_206C_202C_206C_206A_200B_202C_206F_206F_206F_200E_206D_206F_206C_206B_202D_202C_206C_206D_200E_206F_206D_200D_202E(_003CgatheringSequence_003E5__5).GetEnumerator(); + _003C_003E1__state = -4; + num2 = 89540050; + break; + } + case 16: + return false; + case 5: + obj = null; + goto IL_04cb; + case 23: + goto IL_03e1; + case 26: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(34, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(671015877)); + defaultInterpolatedStringHandler2.AppendFormatted(_003CgatheringPointId_003E5__2); + throw new TaskException(defaultInterpolatedStringHandler2.ToStringAndClear()); + } + case 8: + _003C_003Em__Finally3(); + _003C_003E7__wrap6 = null; + num2 = 89540050; + break; + case 4: + goto IL_0442; + case 9: + obj = (EClassJob)num8.GetValueOrDefault(); + goto IL_04cb; + case 30: + goto IL_0514; + case 15: + _003C_003E2__current = new Questionable.Controller.Steps.Interactions.Action.TriggerStatusIfMissing(EStatus.Prospect, EAction.Prospect); + _003C_003E1__state = 1; + return true; + case 10: + goto IL_0577; + case 20: + goto IL_0597; + case 18: + goto IL_05b7; + case 22: + goto IL_05f4; + case 1: + goto IL_061c; + case 24: + goto IL_062f; + case 13: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(34, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1028708086)); + defaultInterpolatedStringHandler.AppendFormatted(_200B_206D_202A_202B_206A_202E_202D_200F_200F_202D_202D_200D_202C_206F_206B_206F_202E_206B_206C_206E_206F_200E_206D_206F_200F_206E_200F_202B_206F_206B_206E_200B_200F_206B_206D_206E_206A_200D_200F_206F_202E(delayedGatheringExecutor.Task.GatheredItem)); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 29: + return false; + case 25: + goto end_IL_000f; + IL_04cb: + eClassJob = obj; + valueOrDefault = eClassJob.GetValueOrDefault(); + num2 = (delayedGatheringExecutor.gatheringPointRegistry.TryGetGatheringPointId(_200B_206D_202A_202B_206A_202E_202D_200F_200F_202D_202D_200D_202C_206F_206B_206F_202E_206B_206C_206E_206F_200E_206D_206F_200F_206E_200F_202B_206F_206B_206E_200B_200F_206B_206D_206E_206A_200D_200F_206F_202E(delayedGatheringExecutor.Task.GatheredItem), valueOrDefault, out _003CgatheringPointId_003E5__2) ? 89540058 : 89540041); + break; + } + continue; + IL_062f: + num2 = ((!delayedGatheringExecutor.HasRequiredItems(delayedGatheringExecutor.Task.GatheredItem)) ? 89540048 : 89540052); + continue; + IL_02aa: + num2 = (_202B_202A_206A_206E_202B_206C_200D_200D_200F_206F_200E_202A_206D_202A_200B_206F_200C_202A_200F_200C_206E_206F_206C_202C_200B_202C_200C_200F_206E_202C_200D_200D_200D_202B_202A_202D_202D_202B_202B_206A_202E((IEnumerator)_003C_003E7__wrap6) ? 89540049 : 89540044); + continue; + IL_0514: + num2 = (delayedGatheringExecutor.gatheringPointRegistry.TryGetGatheringPoint(_003CgatheringPointId_003E5__2, out _003CgatheringRoot_003E5__3) ? 89540060 : 89540062); + continue; + IL_05f4: + num2 = (_003C_003E7__wrap5.MoveNext() ? 89540034 : 89540063); + continue; + IL_0577: + num2 = ((valueOrDefault != EClassJob.Botanist) ? 89540047 : 89540035); + continue; + IL_02fe: + current = _003C_003E7__wrap6.Current; + num2 = ((!(current is WaitAtEnd.NextStep)) ? 89540038 : 89540036); + continue; + IL_0597: + num2 = ((valueOrDefault != EClassJob.Miner) ? 89540046 : 89540043); + continue; + end_IL_0044: + break; + } + goto case 4; + IL_061c: + _003C_003E1__state = -1; + num2 = 89540047; + goto IL_0044; + IL_05b7: + _003C_003E1__state = -1; + _003C_003E2__current = new GatheringTask(_003CgatheringPointId_003E5__2, delayedGatheringExecutor.Task.GatheredItem); + _003C_003E1__state = 7; + return true; + IL_0442: + _003C_003E1__state = -1; + _003C_003E8__1 = new _003C_003Ec__DisplayClass9_0(); + _003C_003E8__1._003C_003E4__this = _003C_003E4__this; + playerCharacter = _206A_202E_200F_206A_206D_202C_206E_202C_206A_206F_206A_200F_202B_206D_202C_200F_206C_202A_200C_206D_206A_206F_200B_202B_202C_200D_206B_202A_200F_202A_200C_200B_206A_206F_202B_202E_200C_200F_206D_202E_202E(delayedGatheringExecutor.objectTable); + num8 = ((playerCharacter != null) ? new uint?(_202A_206A_200F_200B_206A_206C_200D_202C_206F_206C_200B_200C_202D_206B_206B_200B_202A_206A_206F_206A_202B_200B_206D_206E_206D_202A_206A_200F_200D_202E_202A_200C_200D_200D_200F_200B_200B_200C_200E_206F_202E((ICharacter)playerCharacter).RowId) : ((uint?)null)); + num2 = (num8.HasValue ? 89540045 : 89540033); + goto IL_0044; + IL_032f: + _003C_003E1__state = -5; + num2 = 89540053; + goto IL_0044; + IL_02d2: + _003C_003E1__state = -1; + _003C_003E2__current = new WaitAtEnd.WaitDelay(); + _003C_003E1__state = 8; + return true; + IL_03e1: + _003C_003E1__state = -1; + num2 = 89540047; + goto IL_0044; + IL_027e: + _003C_003E1__state = -1; + _003C_003E2__current = new WaitNavmesh.Task(); + _003C_003E1__state = 6; + return true; + end_IL_000f: + break; + } + _003C_003E1__state = -1; + return false; + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C__003E5__4 == null) ? (-1005292741) : (-1005292744)); + while (true) + { + int num2 = num; + int num3 = -1005292742; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return; + case 2: + _202E_206D_200E_202A_200F_200E_202C_202E_202E_202E_206A_202E_200B_206C_200B_206D_200B_202D_206B_202D_206B_206E_206C_206F_206A_206C_206D_200C_206A_200F_200D_206B_200E_206B_206F_206E_206E_202E_206F_200E_202E(_003C__003E5__4); + num = -1005292741; + break; + case 0: + num = -1005292744; + break; + } + } + } + + private void _003C_003Em__Finally2() + { + _003C_003E1__state = -3; + ((IDisposable)_003C_003E7__wrap5/*cast due to .constrained prefix*/).Dispose(); + } + + private void _003C_003Em__Finally3() + { + _003C_003E1__state = -4; + int num = ((_003C_003E7__wrap6 == null) ? (-1601712229) : (-1601712230)); + while (true) + { + int num2 = num; + int num3 = -1601712229; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1601712230; + break; + case 1: + _202E_206D_200E_202A_200F_200E_202C_202E_202E_202E_206A_202E_200B_206C_200B_206D_200B_202D_206B_202D_206B_206E_206C_206F_206A_206C_206D_200C_206A_200F_200D_206B_200E_206B_206F_206E_206E_202E_206F_200E_202E((IDisposable)_003C_003E7__wrap6); + num = -1601712229; + break; + case 0: + return; + } + } + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206B_200C_202A_202C_206F_202E_202D_206F_202D_202D_200F_206B_200E_202C_206E_200D_200F_200B_200D_200B_202D_202D_200F_202C_200D_206D_200F_200F_206D_200C_206A_206B_202D_202C_202D_202D_202A_206A_200F_202D_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 323197088 : 323197093); + _003CCreateExtraTasks_003Ed__9 result = default(_003CCreateExtraTasks_003Ed__9); + while (true) + { + int num2 = num; + int num3 = 323197089; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 323197093; + break; + case 2: + return result; + case 4: + num = ((_003C_003El__initialThreadId != _200D_200C_202C_200F_200B_202E_206D_202D_200B_202D_206C_206D_200D_200D_206C_200C_206E_202C_206C_200D_200E_202B_200E_206D_200D_200F_206D_202D_202A_202A_206E_202E_202A_202A_200C_206F_206E_200E_206B_206C_202E()) ? 323197088 : 323197090); + break; + case 3: + _003C_003E1__state = 0; + result = this; + num = 323197091; + break; + case 1: + result = new _003CCreateExtraTasks_003Ed__9(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = 323197091; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _200D_200C_202C_200F_200B_202E_206D_202D_200B_202D_206C_206D_200D_200D_206C_200C_206E_202C_206C_200D_200E_202B_200E_206D_200D_200F_206D_202D_202A_202A_206E_202E_202A_202A_200C_206F_206E_200E_206B_206C_202E() + { + return Environment.CurrentManagedThreadId; + } + + static IPlayerCharacter _206A_202E_200F_206A_206D_202C_206E_202C_206A_206F_206A_200F_202B_206D_202C_200F_206C_202A_200C_206D_206A_206F_200B_202B_202C_200D_206B_202A_200F_202A_200C_200B_206A_206F_202B_202E_200C_200F_206D_202E_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static RowRef _202A_206A_200F_200B_206A_206C_200D_202C_206F_206C_200B_200C_202D_206B_206B_200B_202A_206A_206F_206A_202B_200B_206D_206E_206D_202A_206A_200F_200D_202E_202A_200C_200D_200D_200F_200B_200B_200C_200E_206F_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static uint _200B_206D_202A_202B_206A_202E_202D_200F_200F_202D_202D_200D_202C_206F_206B_206F_202E_206B_206C_206E_206F_200E_206D_206F_200F_206E_200F_202B_206F_206B_206E_200B_200F_206B_206D_206E_206A_200D_200F_206F_202E(GatheredItem P_0) + { + return P_0.ItemId; + } + + static QuestSequence _206C_200E_200D_200C_206C_202B_202B_200F_202A_206F_200B_200B_202D_200C_206A_200D_206D_206F_200F_202B_206F_206D_202B_206D_200C_206B_206F_200F_206A_206B_206C_202C_202C_200E_200B_206E_200E_206C_200C_206B_202E() + { + return new QuestSequence(); + } + + static void _202E_200E_200D_202E_206D_202E_202B_202E_202E_206F_200D_200B_200E_206B_206B_200B_202D_200C_206B_206A_206F_206F_206D_202C_202D_206F_206C_202D_200C_200C_202A_206B_206E_200E_206A_206A_200C_202A_206F_202E(QuestSequence P_0, byte P_1) + { + P_0.Sequence = P_1; + } + + static List _206A_202E_206E_206A_200B_202A_206C_206C_200B_200F_200B_206A_200E_206F_202C_200E_202C_202C_200B_206A_202A_202E_206A_206A_206E_200D_202A_200E_202A_206A_206B_200B_206E_200F_202A_206D_206F_206A_200C_206C_202E(GatheringRoot P_0) + { + return P_0.Steps; + } + + static void _206C_206E_202E_202A_200D_202D_202D_200D_200B_206A_206A_206C_202C_202D_206C_206A_202A_202A_206A_200D_202B_202C_206F_200C_200C_200D_202A_200B_206B_200F_206D_200C_206E_200B_206E_202E_206B_200B_202B_200D_202E(QuestSequence P_0, List P_1) + { + P_0.Steps = P_1; + } + + static List _202C_202E_206B_202A_206D_206E_202B_200D_206E_202D_206C_206C_200D_200C_200E_200B_200B_206E_206C_202C_206C_206A_200B_202C_206F_206F_206F_200E_206D_206F_206C_206B_202D_202C_206C_206D_200E_206F_206D_200D_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static bool _202B_202A_206A_206E_202B_206C_200D_200D_200F_206F_200E_202A_206D_202A_200B_206F_200C_202A_200F_200C_206E_206F_206C_202C_200B_202C_200C_200F_206E_202C_200D_200D_200D_202B_202A_202D_202D_202B_202B_206A_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static ushort _200C_202D_202B_202C_202D_202B_200B_202D_206B_206E_202C_206D_202B_206E_202D_206A_200E_206E_206D_206F_200F_202E_200D_200B_202A_206D_206F_200F_200C_200C_206F_206A_202E_206B_202D_200D_206F_202D_200B_202E_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static string _200E_206E_206E_200F_202B_200F_200D_202E_200D_202A_206B_202A_206F_202D_202E_202D_200B_200B_206B_206E_206E_206D_206C_206A_200C_206B_206B_202B_206E_206B_200E_202E_206E_206A_202A_206D_202D_200B_206A_202A_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _202E_206D_200E_202A_200F_200E_202C_202E_202E_202E_206A_202E_200B_206C_200B_206D_200B_202D_206B_202D_206B_206E_206C_206F_206A_206C_206D_200C_206A_200F_200D_206B_200E_206B_206F_206E_206E_202E_206F_200E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _206B_200C_202A_202C_206F_202E_202D_206F_202D_202D_200F_206B_200E_202C_206E_200D_200F_200B_200D_200B_202D_202D_200F_202C_200D_206D_200F_200F_206D_200C_206A_206B_202D_202C_202D_202D_202A_206A_200F_202D_202E() + { + return new NotSupportedException(); + } + } + protected override bool Start() { return true; @@ -55,84 +1023,221 @@ internal static class Gather return ETaskResult.CreateNewTasks; } + [IteratorStateMachine(typeof(_003CCreateExtraTasks_003Ed__9))] public IEnumerable CreateExtraTasks() { - EClassJob valueOrDefault = ((EClassJob?)(objectTable[0] as ICharacter)?.ClassJob.RowId).GetValueOrDefault(); - if (!gatheringPointRegistry.TryGetGatheringPointId(base.Task.GatheredItem.ItemId, valueOrDefault, out GatheringPointId gatheringPointId)) + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CCreateExtraTasks_003Ed__9(-2) { - throw new TaskException($"No gathering point found for item {base.Task.GatheredItem.ItemId}"); - } - if (!gatheringPointRegistry.TryGetGatheringPoint(gatheringPointId, out GatheringRoot gatheringRoot)) - { - throw new TaskException($"No path found for gathering point {gatheringPointId}"); - } - if (HasRequiredItems(base.Task.GatheredItem)) - { - yield break; - } - switch (valueOrDefault) - { - case EClassJob.Miner: - yield return new Questionable.Controller.Steps.Interactions.Action.TriggerStatusIfMissing(EStatus.Prospect, EAction.Prospect); - break; - case EClassJob.Botanist: - yield return new Questionable.Controller.Steps.Interactions.Action.TriggerStatusIfMissing(EStatus.Triangulate, EAction.Triangulate); - break; - } - using (logger.BeginScope("Gathering(inner)")) - { - QuestSequence gatheringSequence = new QuestSequence - { - Sequence = 0, - Steps = gatheringRoot.Steps - }; - foreach (QuestStep step in gatheringSequence.Steps) - { - foreach (ITask item in serviceProvider.GetRequiredService().CreateTasks(base.Task.Quest, base.Task.Sequence, gatheringSequence, step)) - { - if (item is WaitAtEnd.NextStep) - { - yield return new SkipMarker(); - } - else - { - yield return item; - } - } - } - } - ushort territoryId = gatheringRoot.Steps.Last().TerritoryId; - yield return new WaitCondition.Task(() => clientState.TerritoryType == territoryId, "Wait(territory: " + territoryData.GetNameAndId(territoryId) + ")"); - yield return new WaitNavmesh.Task(); - yield return new GatheringTask(gatheringPointId, base.Task.GatheredItem); - yield return new WaitAtEnd.WaitDelay(); + _003C_003E4__this = this + }; + } + + IEnumerable IExtraTaskCreator.CreateExtraTasks() + { + //ILSpy generated this explicit interface implementation from .override directive in CreateExtraTasks + return this.CreateExtraTasks(); } private unsafe bool HasRequiredItems(GatheredItem itemToGather) { InventoryManager* ptr = InventoryManager.Instance(); - if (ptr != null) + int num = ((ptr == null) ? 99162619 : 99162616); + while (true) { - return ptr->GetInventoryItemCount(itemToGather.ItemId, isHq: false, checkEquipped: true, checkArmory: true, (short)itemToGather.Collectability) >= itemToGather.ItemCount; + int num2 = num; + int num3 = 99162618; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return ptr->GetInventoryItemCount(_200F_200C_202C_202B_200F_206F_202C_200B_202E_206E_200C_206A_200F_202E_200B_200E_202C_200F_200F_206D_202D_200E_206C_206E_200C_206C_202A_206A_202C_202D_200D_202D_206C_206A_200F_206D_202A_206C_202C_200C_202E(itemToGather), isHq: false, checkEquipped: true, checkArmory: true, (short)_202D_206C_202A_206D_200E_202D_200D_200E_202B_200D_202B_200C_200C_200E_200C_206D_200C_200B_200D_202D_202E_200C_202A_202D_202D_206F_206C_206E_200F_202A_200D_200E_206A_206E_200D_200D_200D_206E_206C_202D_202E(itemToGather)) >= _206E_202E_202A_206C_202A_206B_206F_202B_206F_202C_200D_202D_200B_202D_206F_202D_200F_200F_202B_202C_206A_206C_200E_206E_206E_202D_206A_202B_206D_206C_200E_202E_202A_206E_206A_206D_200B_206A_200D_202E_202E(itemToGather); + case 0: + goto IL_006f; + } + continue; + IL_006f: + num = 99162616; } - return false; } public override bool ShouldInterruptOnDamage() { return false; } + + static uint _200F_200C_202C_202B_200F_206F_202C_200B_202E_206E_200C_206A_200F_202E_200B_200E_202C_200F_200F_206D_202D_200E_206C_206E_200C_206C_202A_206A_202C_202D_200D_202D_206C_206A_200F_206D_202A_206C_202C_200C_202E(GatheredItem P_0) + { + return P_0.ItemId; + } + + static ushort _202D_206C_202A_206D_200E_202D_200D_200E_202B_200D_202B_200C_200C_200E_200C_206D_200C_200B_200D_202D_202E_200C_202A_202D_202D_206F_206C_206E_200F_202A_200D_200E_206A_206E_200D_200D_200D_206E_206C_202D_202E(GatheredItem P_0) + { + return P_0.Collectability; + } + + static int _206E_202E_202A_206C_202A_206B_206F_202B_206F_202C_200D_202D_200B_202D_206F_202D_200F_200F_202B_202C_206A_206C_200E_206E_206E_202D_206A_202B_206D_206C_200E_202E_202A_206E_206A_206D_200B_206A_200D_202E_202E(GatheredItem P_0) + { + return P_0.ItemCount; + } } internal sealed record GatheringTask(GatheringPointId gatheringPointId, GatheredItem gatheredItem) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_206D_206F_206D_206B_202B_206A_202E_206A_200F_200D_200E_200C_200F_202C_200B_202A_206F_202C_202B_202E_206F_200C_206D_206E_202A_202D_202B_202C_200F_200B_206E_202C_200D_202B_200D_206C_202C_200F_206D_202E(typeof(GatheringTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - if (gatheredItem.Collectability != 0) + int num = ((_200E_202D_202E_200B_200B_202A_200E_200F_206E_202A_200B_206D_200F_206F_206B_202B_202C_200C_200B_206F_206B_206E_206C_202E_206F_200B_202D_200E_206A_200D_202A_200B_200C_202C_206A_200B_206B_206D_200D_206A_202E(gatheredItem) != 0) ? 728893262 : 728893261); + while (true) { - return $"Gather({gatheredItem.ItemCount}x {gatheredItem.ItemId} {SeIconChar.Collectible.ToIconString()} {gatheredItem.Collectability})"; + int num2 = num; + int num3 = 728893263; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004e; + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(12, 4); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-327203269)); + defaultInterpolatedStringHandler2.AppendFormatted(_202D_200E_202E_200B_202D_206B_200C_206B_202D_200F_200D_206C_200E_206C_206E_202E_206F_202C_200B_206C_202D_200F_202E_200D_206B_206E_200D_202A_200B_206B_202B_206A_206E_202B_200F_206E_206E_202A_200D_206F_202E(gatheredItem)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-208532066)); + defaultInterpolatedStringHandler2.AppendFormatted(_206A_202C_206F_202A_200F_200C_200E_202B_200F_206B_206F_200E_200E_200F_206B_200B_202D_206C_202D_200E_202C_200E_206B_202A_200D_202C_200D_206A_206C_202E_200E_202C_206F_202E_206B_206E_206A_206F_202A_200C_202E(gatheredItem)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(751790982)); + defaultInterpolatedStringHandler2.AppendFormatted(_206A_206E_200E_202C_200D_206C_200E_200C_202E_202B_202C_206D_206F_206E_202B_200B_206F_202D_206D_200D_206F_206D_200D_200D_202E_202B_206E_202C_206F_202D_202A_200D_206C_202C_202A_200F_206C_200C_206F_200F_202E(SeIconChar.Collectible)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-324914973)); + defaultInterpolatedStringHandler2.AppendFormatted(_200E_202D_202E_200B_200B_202A_200E_200F_206E_202A_200B_206D_200F_206F_206B_202B_202C_200C_200B_206F_206B_206E_206C_202E_206F_200B_202D_200E_206A_200D_202A_200B_200C_202C_206A_200B_206B_206D_200D_206A_202E(gatheredItem)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(424561659)); + return defaultInterpolatedStringHandler2.ToStringAndClear(); + } + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(426601948)); + defaultInterpolatedStringHandler.AppendFormatted(_202D_200E_202E_200B_202D_206B_200C_206B_202D_200F_200D_206C_200E_206C_206E_202E_206F_202C_200B_206C_202D_200F_202E_200D_206B_206E_200D_202A_200B_206B_202B_206A_206E_202B_200F_206E_206E_202A_200D_206F_202E(gatheredItem)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1106455763)); + defaultInterpolatedStringHandler.AppendFormatted(_206A_202C_206F_202A_200F_200C_200E_202B_200F_206B_206F_200E_200E_200F_206B_200B_202D_206C_202D_200E_202C_200E_206B_202A_200D_202C_200D_206A_206C_202E_200E_202C_206F_202E_206B_206E_206A_206F_202A_200C_202E(gatheredItem)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + } + continue; + IL_004e: + num = 728893261; } - return $"Gather({gatheredItem.ItemCount}x {gatheredItem.ItemId})"; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202C_202C_206A_206E_200C_200E_200D_200F_200F_206C_200F_206F_200B_202A_200E_206F_202E_206D_206D_202D_206F_206A_202C_202C_200E_202E_206F_202E_206A_200D_200E_200D_200F_200F_200D_202B_202C_200D_202E_202C_202E(); + _200D_202E_200C_206E_206D_202C_202E_206F_200B_200F_206F_202D_206B_202B_206D_200F_206F_202B_202D_200B_200C_202A_206B_206D_200C_200C_206D_206F_200B_200E_206F_206A_206D_206A_200C_206E_200D_202C_202A_202C_202E(builder, global::_003CModule_003E._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(840646262)); + _200E_202D_200B_206F_202B_202E_202C_200B_206A_202C_202A_200F_202C_206D_206D_206F_200E_202D_206F_202B_202C_206A_206B_202C_206B_200B_206E_206E_200F_200F_206D_200C_206F_200C_202B_200E_206F_200F_200F_206D_202E(builder, (object)gatheringPointId); + _200D_202E_200C_206E_206D_202C_202E_206F_200B_200F_206F_202D_206B_202B_206D_200F_206F_202B_202D_200B_200C_202A_206B_206D_200C_200C_206D_206F_200B_200E_206F_206A_206D_206A_200C_206E_200D_202C_202A_202C_202E(builder, global::_003CModule_003E._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(-1356593095)); + _200E_202D_200B_206F_202B_202E_202C_200B_206A_202C_202A_200F_202C_206D_206D_206F_200E_202D_206F_202B_202C_206A_206B_202C_206B_200B_206E_206E_200F_200F_206D_200C_206F_200C_202B_200E_206F_200F_200F_206D_202E(builder, (object)gatheredItem); + return true; + } + + [CompilerGenerated] + public bool Equals(GatheringTask? other) + { + int num = (((object)this == other) ? 1583305302 : 1583305297); + while (true) + { + int num2 = num; + int num3 = 1583305303; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 1583305297; + break; + case 1: + return true; + case 6: + num = (((object)other == null) ? 1583305298 : 1583305299); + break; + case 4: + num = ((!_200F_200B_200B_202D_202B_202A_200E_206E_206E_202B_206E_202E_200E_206C_200B_202B_202C_206D_202D_206B_202A_206C_206B_200B_202B_206F_206F_206E_200E_202D_200C_202E_206D_206E_200B_202A_200F_206B_200C_206D_202E(EqualityContract, other.EqualityContract)) ? 1583305298 : 1583305301); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(gatheringPointId, other.gatheringPointId)) ? 1583305298 : 1583305303); + break; + case 0: + return EqualityComparer.Default.Equals(gatheredItem, other.gatheredItem); + case 5: + return false; + } + } + } + + bool IEquatable.Equals(GatheringTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_206D_206F_206D_206B_202B_206A_202E_206A_200F_200D_200E_200C_200F_202C_200B_202A_206F_202C_202B_202E_206F_200C_206D_206E_202A_202D_202B_202C_200F_200B_206E_202C_200D_202B_200D_206C_202C_200F_206D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static ushort _200E_202D_202E_200B_200B_202A_200E_200F_206E_202A_200B_206D_200F_206F_206B_202B_202C_200C_200B_206F_206B_206E_206C_202E_206F_200B_202D_200E_206A_200D_202A_200B_200C_202C_206A_200B_206B_206D_200D_206A_202E(GatheredItem P_0) + { + return P_0.Collectability; + } + + static int _202D_200E_202E_200B_202D_206B_200C_206B_202D_200F_200D_206C_200E_206C_206E_202E_206F_202C_200B_206C_202D_200F_202E_200D_206B_206E_200D_202A_200B_206B_202B_206A_206E_202B_200F_206E_206E_202A_200D_206F_202E(GatheredItem P_0) + { + return P_0.ItemCount; + } + + static uint _206A_202C_206F_202A_200F_200C_200E_202B_200F_206B_206F_200E_200E_200F_206B_200B_202D_206C_202D_200E_202C_200E_206B_202A_200D_202C_200D_206A_206C_202E_200E_202C_206F_202E_206B_206E_206A_206F_202A_200C_202E(GatheredItem P_0) + { + return P_0.ItemId; + } + + static string _206A_206E_200E_202C_200D_206C_200E_200C_202E_202B_202C_206D_206F_206E_202B_200B_206F_202D_206D_200D_206F_206D_200D_200D_202E_202B_206E_202C_206F_202D_202A_200D_206C_202C_202A_200F_206C_200C_206F_200F_202E(SeIconChar P_0) + { + return P_0.ToIconString(); + } + + static void _202C_202C_206A_206E_200C_200E_200D_200F_200F_206C_200F_206F_200B_202A_200E_206F_202E_206D_206D_202D_206F_206A_202C_202C_200E_202E_206F_202E_206A_200D_200E_200D_200F_200F_200D_202B_202C_200D_202E_202C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200D_202E_200C_206E_206D_202C_202E_206F_200B_200F_206F_202D_206B_202B_206D_200F_206F_202B_202D_200B_200C_202A_206B_206D_200C_200C_206D_206F_200B_200E_206F_206A_206D_206A_200C_206E_200D_202C_202A_202C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200E_202D_200B_206F_202B_202E_202C_200B_206A_202C_202A_200F_202C_206D_206D_206F_200E_202D_206F_202B_202C_206A_206B_202C_206B_200B_206E_206E_200F_200F_206D_200C_206F_200C_202B_200E_206F_200F_200F_206D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200F_200B_200B_202D_202B_202A_200E_206E_206E_202B_206E_202E_200E_206C_200B_202B_202C_206D_202D_206B_202A_206C_206B_200B_202B_206F_206F_206E_200E_202D_200C_202E_206D_206E_200B_202A_200F_206B_200C_206D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -140,16 +1245,30 @@ internal static class Gather { protected override bool Start() { - return gatheringController.Start(new GatheringController.GatheringRequest(base.Task.gatheringPointId, base.Task.gatheredItem.ItemId, base.Task.gatheredItem.AlternativeItemId, base.Task.gatheredItem.ItemCount, base.Task.gatheredItem.Collectability)); + return gatheringController.Start(new GatheringController.GatheringRequest(base.Task.gatheringPointId, _200F_202B_202E_206C_206E_202B_206B_202A_202B_206D_200B_202A_202D_200D_200E_202D_200E_206E_202A_202E_206A_200D_202B_202B_202D_206B_202A_206C_200E_200C_202E_202A_200D_200D_200C_206F_200B_200C_200C_206E_202E(base.Task.gatheredItem), _200C_202D_202B_200C_202B_202E_200C_202B_200D_202A_206D_206A_200D_202B_202D_206C_202B_200D_200E_202E_202A_200C_202C_202A_200D_200C_200B_206C_206E_202E_202B_200B_200E_200D_206B_200E_206D_206D_206A_200F_202E(base.Task.gatheredItem), _200F_206D_200B_206E_200D_200B_202B_206F_206F_206C_200E_206C_206C_206E_206F_202A_202D_206F_206B_206C_202E_202D_200D_200C_206C_206F_202C_200F_200F_202B_206F_202B_200F_206F_202C_200D_202A_206E_206B_206E_202E(base.Task.gatheredItem), _200C_200C_202D_200B_202A_206A_200D_206C_200C_202A_206F_206C_206B_206A_202D_202A_206E_202C_202A_202B_202B_202C_200F_202E_202B_202C_200C_202D_200C_202E_200C_202E_206B_200F_206D_200B_200B_202E_206A_200C_202E(base.Task.gatheredItem))); } public override ETaskResult Update() { - if (gatheringController.Update() == GatheringController.EStatus.Complete) + int num = ((gatheringController.Update() != GatheringController.EStatus.Complete) ? 947495587 : 947495584); + while (true) { - return ETaskResult.TaskComplete; + int num2 = num; + int num3 = 947495585; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004c; + case 2: + return ETaskResult.StillRunning; + case 1: + return ETaskResult.TaskComplete; + } + continue; + IL_004c: + num = 947495584; } - return ETaskResult.StillRunning; } public bool OnErrorToast(SeString message) @@ -159,17 +1278,44 @@ internal static class Gather return isHandled; } + bool IToastAware.OnErrorToast(SeString message) + { + //ILSpy generated this explicit interface implementation from .override directive in OnErrorToast + return this.OnErrorToast(message); + } + public override bool ShouldInterruptOnDamage() { return false; } + + static uint _200F_202B_202E_206C_206E_202B_206B_202A_202B_206D_200B_202A_202D_200D_200E_202D_200E_206E_202A_202E_206A_200D_202B_202B_202D_206B_202A_206C_200E_200C_202E_202A_200D_200D_200C_206F_200B_200C_200C_206E_202E(GatheredItem P_0) + { + return P_0.ItemId; + } + + static uint _200C_202D_202B_200C_202B_202E_200C_202B_200D_202A_206D_206A_200D_202B_202D_206C_202B_200D_200E_202E_202A_200C_202C_202A_200D_200C_200B_206C_206E_202E_202B_200B_200E_200D_206B_200E_206D_206D_206A_200F_202E(GatheredItem P_0) + { + return P_0.AlternativeItemId; + } + + static int _200F_206D_200B_206E_200D_200B_202B_206F_206F_206C_200E_206C_206C_206E_206F_202A_202D_206F_206B_206C_202E_202D_200D_200C_206C_206F_202C_200F_200F_202B_206F_202B_200F_206F_202C_200D_202A_206E_206B_206E_202E(GatheredItem P_0) + { + return P_0.ItemCount; + } + + static ushort _200C_200C_202D_200B_202A_206A_200D_206C_200C_202A_206F_206C_206B_206A_202D_202A_206E_202C_202A_202B_202B_202C_200F_202E_202B_202C_200C_202D_200C_202E_200C_202E_206B_200F_206D_200B_200B_202E_206A_200C_202E(GatheredItem P_0) + { + return P_0.Collectability; + } } internal sealed class SkipMarker : ITask { + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "Gather/SkipMarker"; + return global::_003CModule_003E._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(484415674); } } diff --git a/Questionable/Questionable.Controller.Steps.Shared/RedeemRewardItems.cs b/Questionable/Questionable.Controller.Steps.Shared/RedeemRewardItems.cs index 4138e70b..3440ff18 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/RedeemRewardItems.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/RedeemRewardItems.cs @@ -1,8 +1,15 @@ using System; using System.Collections.Generic; +using System.Collections.Immutable; +using System.Runtime.CompilerServices; +using System.Text; 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,76 +19,536 @@ 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) { - if (step.InteractionType != EInteractionType.AcceptQuest) + int num = ((_206E_200D_206F_206B_200C_206D_200B_200F_206C_206E_200F_200E_200D_200C_202D_200F_202B_206B_206C_202A_200B_200E_206B_206F_202D_200F_202A_200F_202B_202E_206A_206E_200B_206D_206D_200F_202C_206B_206F_206A_202E(step) == EInteractionType.AcceptQuest) ? 1072934724 : 1072934722); + List list = default(List); + InventoryManager* ptr = default(InventoryManager*); + ItemReward current = default(ItemReward); + while (true) { - return Array.Empty(); - } - List list = new List(); - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) - { - return list; - } - foreach (ItemReward redeemableItem in questData.RedeemableItems) - { - if (ptr->GetInventoryItemCount(redeemableItem.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) > 0 && !redeemableItem.IsUnlocked()) + int num2 = num; + int num3 = 1072934726; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - list.Add(new Task(redeemableItem)); + case 2: + list = new List(); + ptr = InventoryManager.Instance(); + num = ((ptr != null) ? 1072934727 : 1072934725); + break; + case 3: + return list; + case 0: + num = 1072934722; + break; + case 4: + return Array.Empty(); + case 1: + { + bool hasFreeInventorySlot = _202C_200B_206C_200F_206B_202C_202B_202D_206B_202A_202B_206A_202E_200D_206C_206C_206C_200E_206A_200E_206E_206D_202A_206E_202B_206D_206E_200E_206B_206E_202E_202D_206C_206B_202D_202B_202C_202A_202A_206D_202E(); + using (ImmutableHashSet.Enumerator enumerator = questData.RedeemableItems.GetEnumerator()) + { + num = -498843277; + while (true) + { + int num7 = num; + num3 = -498843280; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 6: + num = -498843277; + break; + case 0: + list.Add(new Task(current)); + num = -498843277; + break; + case 1: + current = enumerator.Current; + num = ((ptr->GetInventoryItemCount(current.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) == 0) ? (-498843277) : (-498843278)); + break; + case 3: + num = (enumerator.MoveNext() ? (-498843279) : (-498843276)); + break; + case 2: + num = (current.IsUnlocked() ? (-498843277) : (-498843275)); + break; + case 5: + num = ((!PassesRedemptionFilters(current.Type, current.IsUntradable, configuration.General, hasFreeInventorySlot)) ? (-498843277) : (-498843280)); + break; + case 4: + goto end_IL_00be; + } + continue; + end_IL_00be: + break; + } + } + num = ((list.Count <= 0) ? 1531306428 : 1531306429); + while (true) + { + int num10 = num; + num3 = 1531306428; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1531306429; + break; + case 0: + return list; + case 1: + list.Insert(0, new Mount.UnmountTask()); + num = 1531306428; + break; + } + } + } } } - return list; + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + + static EInteractionType _206E_200D_206F_206B_200C_206D_200B_200F_206C_206E_200F_200E_200D_200C_202D_200F_202B_206B_206C_202A_200B_200E_206B_206F_202D_200F_202A_200F_202B_202E_206A_206E_200B_206D_206D_200F_202C_206B_206F_206A_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static bool _202C_200B_206C_200F_206B_202C_202B_202D_206B_202A_202B_206A_202E_200D_206C_206C_206C_200E_206A_200E_206E_206D_202A_206E_202B_206D_206E_200E_206B_206E_202E_202D_206C_206B_202D_202B_202C_202A_202A_206D_202E() + { + return InventoryHelper.HasFreeInventorySlot(); } } internal sealed record Task(ItemReward ItemReward) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_200B_202B_202B_202A_202D_202B_206D_200E_202D_202B_200B_202A_202C_202D_202C_200E_200F_206C_202A_206C_206E_202E_202E_200F_206F_200F_202E_200C_200F_200B_202A_206A_206D_202A_206C_202D_200B_206D_200E_202E(typeof(Task).TypeHandle); + } + } + + public int OriginalGearsetIndex { get; set; } = -1; + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "TryRedeem(" + ItemReward.Name + ")"; + return _202C_202E_200D_206C_200B_206E_200D_206A_200F_206D_206B_202D_200F_202D_200C_200C_202A_200F_202C_206C_200C_206E_202B_206B_200E_202A_200D_202A_200E_206A_202D_202B_206D_200C_206C_202E_200B_202B_202D_206B_202E(global::_003CModule_003E._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(483102337), ItemReward.Name, global::_003CModule_003E._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(444206578)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202D_202A_206E_202A_200D_206E_206E_202D_202A_202E_202E_206D_206F_206B_206C_206A_206E_202C_202D_200F_202D_202C_200F_200B_202E_206B_200E_206B_202A_202B_202D_202D_200F_206C_202D_206D_206B_206F_200C_200F_202E(); + _202A_200F_200D_206A_206F_206F_206E_206B_202E_202D_202D_206F_200D_206C_202A_200C_206F_202B_200D_202A_202E_206B_200F_206A_206B_200E_206D_200B_206C_202C_206B_202C_200B_206F_202A_206C_202B_200C_202C_200C_202E(builder, global::_003CModule_003E._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(-1880324983)); + _206F_202D_200E_202D_206C_200C_200D_206E_202E_202A_202E_202C_200F_202A_206D_202D_202E_206C_200F_202C_200C_202C_200D_202D_200B_206D_200D_202E_206D_202C_206A_200E_200C_202A_206D_206F_206B_200D_200B_202C_202E(builder, (object)ItemReward); + _202A_200F_200D_206A_206F_206F_206E_206B_202E_202D_202D_206F_200D_206C_202A_200C_206F_202B_200D_202A_202E_206B_200F_206A_206B_200E_206D_200B_206C_202C_206B_202C_200B_206F_202A_206C_202B_200C_202C_200C_202E(builder, global::_003CModule_003E._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(-108687495)); + _202A_200F_200D_206A_206F_206F_206E_206B_202E_202D_202D_206F_200D_206C_202A_200C_206F_202B_200D_202A_202E_206B_200F_206A_206B_200E_206D_200B_206C_202C_206B_202C_200B_206F_202A_206C_202B_200C_202C_200C_202E(builder, OriginalGearsetIndex.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? (-2065789578) : (-2065789582)); + while (true) + { + int num2 = num; + int num3 = -2065789584; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = ((!EqualityComparer.Default.Equals(ItemReward, other.ItemReward)) ? (-2065789584) : (-2065789580)); + break; + case 2: + num = (((object)other == null) ? (-2065789584) : (-2065789583)); + break; + case 1: + num = ((!_206A_206E_206A_202A_202A_206B_202C_200D_202E_200E_200E_200C_206D_206B_206F_202B_206E_202B_202D_202C_206A_202B_200F_200F_206E_206E_200C_202A_202B_206E_202D_206C_200D_206F_206A_202B_200D_200F_200E_200D_202E(EqualityContract, other.EqualityContract)) ? (-2065789584) : (-2065789579)); + break; + case 3: + num = -2065789582; + break; + case 6: + return true; + case 4: + return EqualityComparer.Default.Equals(OriginalGearsetIndex, other.OriginalGearsetIndex); + case 0: + return false; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_200B_202B_202B_202A_202D_202B_206D_200E_202D_202B_200B_202A_202C_202D_202C_200E_200F_206C_202A_206C_206E_202E_202E_200F_206F_200F_202E_200C_200F_200B_202A_206A_206D_202A_206C_202D_200B_206D_200E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static string _202C_202E_200D_206C_200B_206E_200D_206A_200F_206D_206B_202D_200F_202D_200C_200C_202A_200F_202C_206C_200C_206E_202B_206B_200E_202A_200D_202A_200E_206A_202D_202B_206D_200C_206C_202E_200B_202B_202D_206B_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _202D_202A_206E_202A_200D_206E_206E_202D_202A_202E_202E_206D_206F_206B_206C_206A_206E_202C_202D_200F_202D_202C_200F_200B_202E_206B_200E_206B_202A_202B_202D_202D_200F_206C_202D_206D_206B_206F_200C_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202A_200F_200D_206A_206F_206F_206E_206B_202E_202D_202D_206F_200D_206C_202A_200C_206F_202B_200D_202A_202E_206B_200F_206A_206B_200E_206D_200B_206C_202C_206B_202C_200B_206F_202A_206C_202B_200C_202C_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206F_202D_200E_202D_206C_200C_200D_206E_202E_202A_202E_202C_200F_202A_206D_202D_202E_206C_200F_202C_200C_202C_200D_202D_200B_206D_200D_202E_206D_202C_206A_200E_200C_202A_206D_206F_206B_200D_200B_202C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206A_206E_206A_202A_202A_206B_202C_200D_202E_200E_200E_200C_206D_206B_206F_202B_206E_202B_202D_202C_206A_202B_200F_200F_206E_206E_200C_202A_202B_206E_202D_206C_200D_206F_206A_202B_200D_200F_200E_200D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - 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]) + int num = ((!_202A_202A_206C_206F_202D_206F_206B_206D_206F_202C_206A_200B_200B_202A_200C_200B_206A_200E_202C_206C_200D_206A_202E_202E_206A_206C_200D_202C_202A_206B_202B_200C_206E_200B_200F_200F_206D_202B_200B_206C_202E(condition, ConditionFlag.Mounted)) ? (-129962614) : (-129962617)); + long num9 = default(long); + int? cofferGearsetIndex = default(int?); + int valueOrDefault = default(int); + int num7 = default(int); + while (true) { - return false; + int num2 = num; + int num3 = -129962609; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 9: + return false; + case 7: + return true; + case 5: + num9 = (_useItemAt = _206B_202E_206A_206A_202E_206B_200C_202C_200D_206F_200E_202E_206E_206F_200D_202C_202E_202C_206F_202C_202E_200F_200B_200D_200C_206D_200D_202D_206D_206F_200F_202E_200D_206C_202D_200F_200F_200E_206F_206D_202E()); + num = ((!(base.Task.ItemReward is CofferReward)) ? (-129962616) : (-129962611)); + break; + case 2: + cofferGearsetIndex = configuration.General.CofferGearsetIndex; + num = ((!cofferGearsetIndex.HasValue) ? (-129962616) : (-129962615)); + break; + case 6: + valueOrDefault = cofferGearsetIndex.GetValueOrDefault(); + num = ((base.Task.OriginalGearsetIndex >= 0) ? (-129962619) : (-129962620)); + break; + case 10: + num = ((_206A_206F_206D_202E_202B_206D_202E_206C_206C_206A_206A_200E_202E_200C_206C_206E_202A_200C_200C_200E_202E_200F_200F_206D_200D_206D_202B_206B_206C_206C_200D_202A_206C_200C_206D_202E_200D_202C_202C_206A_202E() == valueOrDefault) ? (-129962616) : (-129962610)); + break; + case 11: + num7 = _206A_206F_206D_202E_202B_206D_202E_206C_206C_206A_206A_200E_202E_200C_206C_206E_202A_200C_200C_200E_202E_200F_200F_206D_200D_206D_202B_206B_206C_206C_200D_202A_206C_200C_206D_202E_200D_202C_202C_206A_202E(); + num = ((num7 == valueOrDefault) ? (-129962616) : (-129962609)); + break; + case 8: + num = ((base.Task.OriginalGearsetIndex >= 0) ? (-129962614) : (-129962618)); + break; + case 0: + num = ((!_206F_202E_200E_200E_206E_202E_200D_202B_200B_200C_200B_200F_202D_206D_200E_200B_202B_202C_206A_200C_202A_200E_202A_206C_200C_202D_200F_206B_202E_200C_202B_202A_202A_202C_206E_200B_206F_202D_206C_200D_202E(valueOrDefault)) ? (-129962616) : (-129962613)); + break; + case 1: + { + _206F_202E_200E_200E_206E_202E_200D_202B_200B_200C_200B_200F_202D_206D_200E_200B_202B_202C_206A_200C_202A_200E_202A_206C_200C_202D_200F_206B_202E_200C_202B_202A_202A_202C_206E_200B_206F_202D_206C_200D_202E(valueOrDefault); + long num12 = num9; + long num10 = 1000L; + long num11 = num12; + long num13 = num11 ^ num10; + long num14 = num11 & num10; + _useItemAt = num13 + (num14 + num14); + num = -129962616; + break; + } + case 3: + num = -129962617; + break; + case 4: + { + base.Task.OriginalGearsetIndex = num7; + long num8 = num9; + long num10 = 1000L; + long num11 = num8; + _useItemAt = (num11 | num10) + (num11 & num10); + num = -129962616; + break; + } + } } - TimeSpan timeSpan = base.Task.ItemReward.CastTime; - if (timeSpan < MinimumCastTime) - { - timeSpan = MinimumCastTime; - } - _continueAt = DateTime.Now.Add(timeSpan).AddSeconds(3.0); - return gameFunctions.UseItem(base.Task.ItemReward.ItemId); } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - if (condition[ConditionFlag.Casting]) + long num = _206B_202E_206A_206A_202E_206B_200C_202C_200D_206F_200E_202E_206E_206F_200D_202C_202E_202C_206F_202C_202E_200F_200B_200D_200C_206D_200D_202D_206D_206F_200F_202E_200D_206C_202D_200F_200F_200E_206F_206D_202E(); + int num2 = (_itemUsed ? (-1961745235) : (-1961745230)); + TimeSpan timeSpan = default(TimeSpan); + while (true) { - return ETaskResult.StillRunning; + int num3 = num2; + int num4 = -1961745219; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 8: + RestoreGearset(); + return ETaskResult.TaskComplete; + case 17: + { + int useItemAttempts = _useItemAttempts; + num4 = 1; + num5 = useItemAttempts; + _useItemAttempts = (num5 | num4) + (num5 & num4); + num2 = ((_useItemAttempts < 5) ? (-1961745218) : (-1961745221)); + break; + } + case 6: + _200D_206F_202C_202C_200E_200F_206C_200F_200C_202A_202E_200B_200E_206F_200B_206A_200C_202E_200D_206B_202A_206F_202E_202A_206A_206D_202C_202D_202B_202E_202A_206D_206E_202B_200B_202A_206F_202B_202E_202D_202E((ILogger)logger, global::_003CModule_003E._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(-96595266), new object[2] + { + base.Task.ItemReward.Name, + _useItemAttempts + }); + RestoreGearset(); + return ETaskResult.TaskComplete; + case 15: + num2 = ((num >= _useItemAt) ? (-1961745220) : (-1961745225)); + break; + case 11: + _itemUsed = true; + timeSpan = base.Task.ItemReward.CastTime; + num2 = ((!(timeSpan < MinimumCastTime)) ? (-1961745232) : (-1961745217)); + break; + case 14: + return ETaskResult.StillRunning; + case 10: + return ETaskResult.StillRunning; + case 12: + return ETaskResult.StillRunning; + case 4: + num2 = -1961745230; + break; + case 7: + num2 = ((!gameFunctions.UseItem(base.Task.ItemReward.ItemId)) ? (-1961745236) : (-1961745226)); + break; + case 0: + num2 = (HasItemInInventory(base.Task.ItemReward.ItemId) ? (-1961745222) : (-1961745228)); + break; + case 9: + RestoreGearset(); + return ETaskResult.TaskComplete; + case 16: + num2 = ((!_202A_202A_206C_206F_202D_206F_206B_206D_206F_202C_206A_200B_200B_202A_200C_200B_206A_200E_202C_206C_200D_206A_202E_202E_206A_206C_200D_202C_202A_206B_202B_200C_206E_200B_200F_200F_206D_202B_200B_206C_202E(condition, ConditionFlag.Casting)) ? (-1961745224) : (-1961745229)); + break; + case 5: + num2 = ((num > _continueAt) ? (-1961745227) : (-1961745231)); + break; + case 1: + num2 = (base.Task.ItemReward.IsUnlocked() ? (-1961745228) : (-1961745219)); + break; + case 3: + { + long num6 = 1000L; + long num7 = num; + _useItemAt = (num7 | num6) + (num7 & num6); + return ETaskResult.StillRunning; + } + case 13: + { + long num6 = (long)timeSpan.TotalMilliseconds; + long num7 = num; + long num8 = (num7 | num6) + (num7 & num6); + num6 = 3000L; + num7 = num8; + _continueAt = (num7 | num6) + (num7 & num6); + return ETaskResult.StillRunning; + } + case 2: + timeSpan = MinimumCastTime; + num2 = -1961745232; + break; + } } - if (!(DateTime.Now <= _continueAt)) + } + + public void StopNow() + { + RestoreGearset(); + } + + void IStoppableTaskExecutor.StopNow() + { + //ILSpy generated this explicit interface implementation from .override directive in StopNow + this.StopNow(); + } + + private void RestoreGearset() + { + int num = ((base.Task.OriginalGearsetIndex < 0) ? (-1242962810) : (-1242962812)); + while (true) { - return ETaskResult.TaskComplete; + int num2 = num; + int num3 = -1242962809; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1242962812; + break; + case 2: + base.Task.OriginalGearsetIndex = -1; + num = -1242962810; + break; + case 1: + return; + case 3: + num = ((!_206F_202E_200E_200E_206E_202E_200D_202B_200B_200C_200B_200F_202D_206D_200E_200B_202B_202C_206A_200C_202A_200E_202A_206C_200C_202D_200F_206B_202E_200C_202B_202A_202A_202C_206E_200B_206F_202D_206C_200D_202E(base.Task.OriginalGearsetIndex)) ? (-1242962810) : (-1242962811)); + break; + } + } + } + + private unsafe static bool HasItemInInventory(uint itemId) + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr == null) ? 1562440275 : 1562440272); + while (true) + { + int num2 = num; + int num3 = 1562440274; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return ptr->GetInventoryItemCount(itemId, isHq: false, checkEquipped: true, checkArmory: true, 0) > 0; + case 1: + return false; + } + continue; + IL_0049: + num = 1562440272; } - return ETaskResult.StillRunning; } public override bool ShouldInterruptOnDamage() { return true; } + + static bool _202A_202A_206C_206F_202D_206F_206B_206D_206F_202C_206A_200B_200B_202A_200C_200B_206A_200E_202C_206C_200D_206A_202E_202E_206A_206C_200D_202C_202A_206B_202B_200C_206E_200B_200F_200F_206D_202B_200B_206C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static long _206B_202E_206A_206A_202E_206B_200C_202C_200D_206F_200E_202E_206E_206F_200D_202C_202E_202C_206F_202C_202E_200F_200B_200D_200C_206D_200D_202D_206D_206F_200F_202E_200D_206C_202D_200F_200F_200E_206F_206D_202E() + { + return Environment.TickCount64; + } + + static int _206A_206F_206D_202E_202B_206D_202E_206C_206C_206A_206A_200E_202E_200C_206C_206E_202A_200C_200C_200E_202E_200F_200F_206D_200D_206D_202B_206B_206C_206C_200D_202A_206C_200C_206D_202E_200D_202C_202C_206A_202E() + { + return GearsetHelper.GetCurrentGearsetIndex(); + } + + static bool _206F_202E_200E_200E_206E_202E_200D_202B_200B_200C_200B_200F_202D_206D_200E_200B_202B_202C_206A_200C_202A_200E_202A_206C_200C_202D_200F_206B_202E_200C_202B_202A_202A_202C_206E_200B_206F_202D_206C_200D_202E(int P_0) + { + return GearsetHelper.TryEquipGearset(P_0); + } + + static void _200D_206F_202C_202C_200E_200F_206C_200F_200C_202A_202E_200B_200E_206F_200B_206A_200C_202E_200D_206B_202A_206F_202E_202A_206A_206D_202C_202D_202B_202E_202A_206D_206E_202B_200B_202A_206F_202B_202E_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + } + + internal static bool PassesRedemptionFilters(EItemRewardType type, bool isUntradable, Configuration.GeneralConfiguration general, bool hasFreeInventorySlot) + { + int num = ((!general.DisabledRewardTypes.Contains(type)) ? (-640252002) : (-640252008)); + while (true) + { + int num2 = num; + int num3 = -640252003; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = (hasFreeInventorySlot ? (-640252004) : (-640252006)); + break; + case 1: + return true; + case 0: + num = (isUntradable ? (-640252011) : (-640252001)); + break; + case 8: + num = ((type != EItemRewardType.Coffer) ? (-640252004) : (-640252007)); + break; + case 2: + return false; + case 6: + num = -640252008; + break; + case 3: + num = ((!general.SkipTradableRewards) ? (-640252011) : (-640252003)); + break; + case 5: + return false; + case 7: + return false; + } + } } } diff --git a/Questionable/Questionable.Controller.Steps.Shared/SkipCondition.cs b/Questionable/Questionable.Controller.Steps.Shared/SkipCondition.cs index 18a5b356..fd67c20e 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/SkipCondition.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/SkipCondition.cs @@ -2,20 +2,26 @@ using System; using System.Collections.Generic; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; 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 Lumina.Excel; +using Lumina.Excel.Sheets; 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; @@ -23,499 +29,1295 @@ internal static class SkipCondition { internal sealed class Factory(Configuration configuration) : SimpleTaskFactory() { - public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) + public override ITask? CreateTask(Questionable.Model.Quest quest, QuestSequence sequence, QuestStep step) { - SkipStepConditions skipStepConditions = step.SkipConditions?.StepIf; - if (skipStepConditions != null && skipStepConditions.Never) + SkipConditions skipConditions = _206D_200D_206F_206D_200D_206A_206A_206C_206B_200D_206E_202E_202C_200E_202A_200B_200E_202A_202C_206A_202E_200D_206B_200F_206A_206C_206F_202C_206C_206E_206A_200F_206D_202C_200C_202B_206A_206D_200D_200F_202E(step); + SkipStepConditions skipStepConditions = ((skipConditions != null) ? _206A_202C_206F_206E_206E_202B_206D_206E_202D_206C_202C_206A_206E_202C_206D_206E_202A_206C_200F_200D_206F_206A_206E_202E_206A_200B_206A_202E_206C_200B_206E_206C_200D_202B_206D_202E_202C_206E_206C_202C_202E(skipConditions) : null); + int num = ((skipStepConditions == null) ? (-1240422500) : (-1240422501)); + while (true) { - return null; + int num2 = num; + int num3 = -1240422499; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 13: + num = (_206D_200E_202C_206A_206D_202A_200D_202B_202A_200B_206C_206E_202A_206E_206B_206B_206E_200F_206D_202C_206A_200F_206E_202A_206A_202E_206D_200F_202E_206D_202B_206F_206B_202A_200E_206E_202E_206E_200F_206C_202E(skipStepConditions) ? (-1240422502) : (-1240422503)); + break; + case 1: + num = ((skipStepConditions == null) ? (-1240422503) : (-1240422512)); + break; + case 8: + num = ((_200C_202A_200F_206A_206A_202C_202D_202E_202C_206A_206D_202D_202C_206C_206F_206D_200C_202B_202C_200F_206A_200B_200E_206B_202E_206A_200F_200F_200E_206B_206A_202C_206C_206E_206E_206C_200F_206B_200E_200F_202E(step) != EInteractionType.PurchaseItem) ? (-1240422498) : (-1240422505)); + break; + case 16: + num = ((!_200E_200B_206B_202A_202B_206A_202E_200D_206D_202E_206A_202A_206E_200F_200E_200C_202C_202A_200B_202C_206F_206C_202D_206A_200D_200C_202C_202C_202C_206F_206D_202A_200C_206C_200B_206B_206D_202C_206D_200F_202E(_206C_200C_206A_200C_200C_206A_206E_200C_202C_202B_202B_206F_200D_200F_206C_206A_202E_206A_200B_202D_202C_206C_206D_206C_202E_202C_202A_206B_206E_206E_200F_200B_200E_202B_200E_200B_206A_202E_200B_202D_202E(step), (ElementId)null)) ? (-1240422502) : (-1240422504)); + break; + case 12: + num = -1240422501; + break; + case 14: + return null; + case 17: + num = (_200E_200E_202A_206B_202D_202C_200E_200C_200D_202D_206B_200F_206C_206A_200D_200F_206D_202A_206B_200B_200D_200F_202D_200D_200C_200E_202A_206B_202C_206D_200C_206E_202E_202C_202A_206D_200C_200C_200C_206E_202E(step).HasValue ? (-1240422502) : (-1240422506)); + break; + case 0: + num = ((_202E_202C_200D_200F_202B_202C_200E_206A_206B_206D_206E_200C_202D_206E_206D_200F_206C_202D_206B_200B_206D_206D_202A_200C_206C_206F_202D_206D_200B_200C_202A_202C_200D_200B_206A_202A_200B_202D_202C_202A_202E(step).Count != 0) ? (-1240422502) : (-1240422497)); + break; + case 7: + return new SkipTask(step, skipStepConditions ?? _202B_206A_200E_206C_206D_206D_202D_200F_202A_206F_202A_202B_206B_202C_202D_202D_202D_200E_202D_202C_202B_206E_200F_202D_202B_200D_200D_200D_200D_200E_202E_200D_206D_200B_206B_200B_202C_206A_202C_200D_202E(), quest.Id); + case 15: + num = ((_200C_200B_206E_202C_206C_200B_202D_206A_200D_206E_200B_202B_200C_206C_200D_202A_200B_206B_206C_200D_206E_206D_206E_202B_206B_200E_206E_200D_202B_200E_206F_206C_200F_206D_206A_200F_206A_206C_200F_206E_202E(step).Count != 0) ? (-1240422502) : (-1240422516)); + break; + case 11: + num = ((!_200E_200B_206B_202A_202B_206A_202E_200D_206D_202E_206A_202A_206E_200F_200E_200C_202C_202A_200B_202C_206F_206C_202D_206A_200D_200C_202C_202C_202C_206F_206D_202A_200C_206C_200B_206B_206D_202C_206D_200F_202E(_206C_206A_200E_202E_206A_206C_200C_206E_206C_202D_206B_206A_202C_202B_200C_202C_200D_200F_202B_202B_202E_202B_202A_206E_202A_202B_206C_206A_206D_206D_200F_200F_206B_206A_200E_202C_200E_206E_200C_202D_202E(step), (ElementId)null)) ? (-1240422502) : (-1240422515)); + break; + case 4: + num = (QuestWorkUtils.HasCompletionFlags(_206E_206D_206B_202D_202E_206D_206A_206A_202D_206C_206B_202E_202D_202C_206B_206F_200D_200D_206F_206F_200C_206A_206B_200E_206B_206B_202D_200D_202B_202A_200C_202A_206D_206D_202C_206A_206C_206A_200C_206C_202E(step)) ? (-1240422502) : (-1240422510)); + break; + case 6: + num = ((!_206E_202E_206C_206F_206F_202C_202D_200B_200E_200D_202C_206F_202A_206A_200D_202A_206F_200B_206E_200D_206D_200D_202D_206E_200C_206A_200F_200D_206E_202A_200F_200F_202C_202A_200B_206D_206A_200B_202D_202E(skipStepConditions)) ? (-1240422500) : (-1240422509)); + break; + case 5: + num = ((_200D_206D_206B_202E_206A_202D_200E_200D_206C_206C_206C_200F_206D_202E_200C_206E_206E_202B_202E_202E_200E_200E_202D_200D_200D_202C_202C_200E_200B_202E_202E_206C_206C_206C_206D_206F_206D_206E_202B_206A_202E(step).Count != 0) ? (-1240422502) : (-1240422499)); + break; + case 10: + num = (_206B_200C_202A_200B_202A_206A_206A_200D_202B_200D_206D_202C_200E_200B_202B_206C_200B_200F_200E_200C_206C_206C_200E_200F_202A_206F_206F_206A_200B_202B_202D_206A_206B_206A_202E_202A_202E_202D_202B_206E_202E(step).HasValue ? (-1240422502) : (-1240422498)); + break; + case 9: + num = (configuration.Advanced.SkipAetherCurrents ? (-1240422502) : (-1240422507)); + break; + case 2: + num = ((_200C_202A_200F_206A_206A_202C_202D_202E_202C_206A_206D_202D_202C_206C_206F_206D_200C_202B_202C_200F_206A_200B_200E_206B_202E_206A_200F_200F_200E_206B_206A_202C_206C_206E_206E_206C_200F_206B_200E_200F_202E(step) != EInteractionType.AttuneAetherCurrent) ? (-1240422507) : (-1240422508)); + break; + case 3: + 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)) - { - return null; - } - return new SkipTask(step, skipStepConditions ?? new SkipStepConditions(), quest.Id); + } + + static SkipConditions _206D_200D_206F_206D_200D_206A_206A_206C_206B_200D_206E_202E_202C_200E_202A_200B_200E_202A_202C_206A_202E_200D_206B_200F_206A_206C_206F_202C_206C_206E_206A_200F_206D_202C_200C_202B_206A_206D_200D_200F_202E(QuestStep P_0) + { + return P_0.SkipConditions; + } + + static SkipStepConditions _206A_202C_206F_206E_206E_202B_206D_206E_202D_206C_202C_206A_206E_202C_206D_206E_202A_206C_200F_200D_206F_206A_206E_202E_206A_200B_206A_202E_206C_200B_206E_206C_200D_202B_206D_202E_202C_206E_206C_202C_202E(SkipConditions P_0) + { + return P_0.StepIf; + } + + static bool _206E_202E_206C_206F_206F_202C_202D_200B_200E_200D_202C_206F_202A_206A_200D_202A_206F_200B_206E_200D_206D_200D_202D_206E_200C_206A_200F_200D_206E_202A_200F_200F_202C_202A_200B_206D_206A_200B_202D_202E(SkipStepConditions P_0) + { + return P_0.Never; + } + + static bool _206D_200E_202C_206A_206D_202A_200D_202B_202A_200B_206C_206E_202A_206E_206B_206B_206E_200F_206D_202C_206A_200F_206E_202A_206A_202E_206D_200F_202E_206D_202B_206F_206B_202A_200E_206E_202E_206E_200F_206C_202E(SkipStepConditions P_0) + { + return P_0.HasSkipConditions(); + } + + static List _206E_206D_206B_202D_202E_206D_206A_206A_202D_206C_206B_202E_202D_202C_206B_206F_200D_200D_206F_206F_200C_206A_206B_200E_206B_206B_202D_200D_202B_202A_200C_202A_206D_206D_202C_206A_206C_206A_200C_206C_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static List> _200C_200B_206E_202C_206C_200B_202D_206A_200D_206E_200B_202B_200C_206C_200D_202A_200B_206B_206C_200D_206E_206D_206E_202B_206B_200E_206E_200D_202B_200E_206F_206C_200F_206D_206A_200F_206A_206C_200F_206E_202E(QuestStep P_0) + { + return P_0.RequiredQuestVariables; + } + + static byte? _200E_200E_202A_206B_202D_202C_200E_200C_200D_202D_206B_200F_206C_206A_200D_200F_206D_202A_206B_200B_200D_200F_202D_200D_200C_200E_202A_206B_202C_206D_200C_206E_202E_202C_202A_206D_200C_200C_200C_206E_202E(QuestStep P_0) + { + return P_0.TaxiStandId; + } + + static ElementId _206C_206A_200E_202E_206A_206C_200C_206E_206C_202D_206B_206A_202C_202B_200C_202C_200D_200F_202B_202B_202E_202B_202A_206E_202A_202B_206C_206A_206D_206D_200F_200F_206B_206A_200E_202C_200E_206E_200C_202D_202E(QuestStep P_0) + { + return P_0.PickUpQuestId; + } + + static bool _200E_200B_206B_202A_202B_206A_202E_200D_206D_202E_206A_202A_206E_200F_200E_200C_202C_202A_200B_202C_206F_206C_202D_206A_200D_200C_202C_202C_202C_206F_206D_202A_200C_206C_200B_206B_206D_202C_206D_200F_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } + + static ElementId _206C_200C_206A_200C_200C_206A_206E_200C_202C_202B_202B_206F_200D_200F_206C_206A_202E_206A_200B_202D_202C_206C_206D_206C_202E_202C_202A_206B_206E_206E_200F_200B_200E_202B_200E_200B_206A_202E_200B_202D_202E(QuestStep P_0) + { + return P_0.NextQuestId; + } + + static List _200D_206D_206B_202E_206A_202D_200E_200D_206C_206C_206C_200F_206D_202E_200C_206E_206E_202B_202E_202E_200E_200E_202D_200D_200D_202C_202C_200E_200B_202E_202E_206C_206C_206C_206D_206F_206D_206E_202B_206A_202E(QuestStep P_0) + { + return P_0.RequiredCurrentJob; + } + + static List _202E_202C_200D_200F_202B_202C_200E_206A_206B_206D_206E_200C_202D_206E_206D_200F_206C_202D_206B_200B_206D_206D_202A_200C_206C_206F_202D_206D_200B_200C_202A_202C_200D_200B_206A_202A_200B_202D_202C_202A_202E(QuestStep P_0) + { + return P_0.RequiredQuestAcceptedJob; + } + + static EInteractionType _200C_202A_200F_206A_206A_202C_202D_202E_202C_206A_206D_202D_202C_206C_206F_206D_200C_202B_202C_200F_206A_200B_200E_206B_202E_206A_200F_200F_200E_206B_206A_202C_206C_206E_206E_206C_200F_206B_200E_200F_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static uint? _206B_200C_202A_200B_202A_206A_206A_200D_202B_200D_206D_202C_200E_200B_202B_206C_200B_200F_200E_200C_206C_206C_200E_200F_202A_206F_206F_206A_200B_202B_202D_206A_206B_206A_202E_202A_202E_202D_202B_206E_202E(QuestStep P_0) + { + return P_0.ItemId; + } + + static SkipStepConditions _202B_206A_200E_206C_206D_206D_202D_200F_202A_206F_202A_202B_206B_202C_202D_202D_202D_200E_202D_202C_202B_206E_200F_202D_202B_200D_200D_200D_200D_200E_202E_200D_206D_200B_206B_200B_202C_206A_202C_200D_202E() + { + return new SkipStepConditions(); } } internal sealed record SkipTask(QuestStep Step, SkipStepConditions SkipConditions, ElementId ElementId) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206B_200F_202E_202C_202D_200B_206A_200B_206F_202B_206D_206F_202C_206C_202E_202E_202A_206D_202A_202A_202E_202A_200B_200F_202C_202A_206D_202C_200F_202C_200B_202E_200F_202E_202E_200D_206C_202C_202C_206C_202E(typeof(SkipTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "CheckSkip"; + return global::_003CModule_003E._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(-466111705); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_202E_206E_206A_200B_206F_206C_202C_200B_200C_200F_206F_206C_202D_206E_206B_200E_206A_206E_200C_200D_202E_202D_200D_206E_202E_200B_202D_200F_200D_200E_202E_202B_200B_202A_200D_200C_206B_206C_206F_202E(); + _206B_200E_206F_200D_206E_206D_200D_200B_206C_200B_206F_206E_206D_206E_200E_202B_206B_200F_206C_206B_200E_206D_202E_202E_200E_200C_206D_200E_206E_200F_206D_206F_206E_202D_202D_202E_200F_200B_200C_206C_202E(builder, global::_003CModule_003E._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(148385326)); + _200F_202E_206E_206C_200F_202E_202B_200B_202C_202B_202C_200D_200D_200D_202A_200E_200D_206B_202B_200E_206B_206B_206C_202A_200C_206F_206D_206E_206F_206B_200F_206C_206F_206D_206E_200D_202E_206B_206F_202E_202E(builder, (object)Step); + _206B_200E_206F_200D_206E_206D_200D_200B_206C_200B_206F_206E_206D_206E_200E_202B_206B_200F_206C_206B_200E_206D_202E_202E_200E_200C_206D_200E_206E_200F_206D_206F_206E_202D_202D_202E_200F_200B_200C_206C_202E(builder, global::_003CModule_003E._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(-1553810087)); + _200F_202E_206E_206C_200F_202E_202B_200B_202C_202B_202C_200D_200D_200D_202A_200E_200D_206B_202B_200E_206B_206B_206C_202A_200C_206F_206D_206E_206F_206B_200F_206C_206F_206D_206E_200D_202E_206B_206F_202E_202E(builder, (object)SkipConditions); + _206B_200E_206F_200D_206E_206D_200D_200B_206C_200B_206F_206E_206D_206E_200E_202B_206B_200F_206C_206B_200E_206D_202E_202E_200E_200C_206D_200E_206E_200F_206D_206F_206E_202D_202D_202E_200F_200B_200C_206C_202E(builder, global::_003CModule_003E._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(-1329196647)); + _200F_202E_206E_206C_200F_202E_202B_200B_202C_202B_202C_200D_200D_200D_202A_200E_200D_206B_202B_200E_206B_206B_206C_202A_200C_206F_206D_206E_206F_206B_200F_206C_206F_206D_206E_200D_202E_206B_206F_202E_202E(builder, (object)ElementId); + return true; + } + + [CompilerGenerated] + public bool Equals(SkipTask? other) + { + int num = (((object)this == other) ? 1781129945 : 1781129947); + while (true) + { + int num2 = num; + int num3 = 1781129948; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 6: + num = ((!_202C_206C_200D_200C_206B_200F_200E_202C_202B_202D_206E_206D_206E_202B_206C_206C_202C_202E_206F_206B_200E_202A_202B_206A_202A_206C_202B_202A_200C_200B_200B_202B_202D_206D_206A_202E_200C_202E_206F_202C_202E(EqualityContract, other.EqualityContract)) ? 1781129949 : 1781129948); + break; + case 7: + num = (((object)other == null) ? 1781129949 : 1781129946); + break; + case 5: + return true; + case 3: + num = 1781129947; + break; + case 0: + num = ((!EqualityComparer.Default.Equals(Step, other.Step)) ? 1781129949 : 1781129944); + break; + case 2: + return EqualityComparer.Default.Equals(ElementId, other.ElementId); + case 4: + num = ((!EqualityComparer.Default.Equals(SkipConditions, other.SkipConditions)) ? 1781129949 : 1781129950); + break; + } + } + } + + bool IEquatable.Equals(SkipTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206B_200F_202E_202C_202D_200B_206A_200B_206F_202B_206D_206F_202C_206C_202E_202E_202A_206D_202A_202A_202E_202A_200B_200F_202C_202A_206D_202C_200F_202C_200B_202E_200F_202E_202E_200D_206C_202C_202C_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200B_202E_206E_206A_200B_206F_206C_202C_200B_200C_200F_206F_206C_202D_206E_206B_200E_206A_206E_200C_200D_202E_202D_200D_206E_202E_200B_202D_200F_200D_200E_202E_202B_200B_202A_200D_200C_206B_206C_206F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206B_200E_206F_200D_206E_206D_200D_200B_206C_200B_206F_206E_206D_206E_200E_202B_206B_200F_206C_206B_200E_206D_202E_202E_200E_200C_206D_200E_206E_200F_206D_206F_206E_202D_202D_202E_200F_200B_200C_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200F_202E_206E_206C_200F_202E_202B_200B_202C_202B_202C_200D_200D_200D_202A_200E_200D_206B_202B_200E_206B_206B_206C_202A_200C_206F_206D_206E_206F_206B_200F_206C_206F_206D_206E_200D_202E_206B_206F_202E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202C_206C_200D_200C_206B_200F_200E_202C_202B_202D_206E_206D_206E_202B_206C_206C_202C_202E_206F_206B_200E_202A_202B_206A_202A_206C_202B_202A_200C_200B_200B_202B_202D_206D_206A_202E_200C_202E_206F_202C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - 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() { + [MethodImpl(MethodImplOptions.NoInlining)] protected override bool Start() { SkipStepConditions skipConditions = base.Task.SkipConditions; QuestStep step = base.Task.Step; ElementId elementId = base.Task.ElementId; ILogger logger = logger; + string text = global::_003CModule_003E._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(1494350151); object[] array = new object[1]; + string text2 = global::_003CModule_003E._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(-1845592431); object reference = skipConditions; - array[0] = string.Join(",", new ReadOnlySpan(in reference)); - logger.LogInformation("Checking skip conditions; {ConfiguredConditions}", array); - if (CheckFlyingCondition(step, skipConditions)) + array[0] = _206C_200C_206C_202A_202B_206A_200F_206C_200D_200E_202C_202B_202B_206F_200D_200C_206A_200B_206C_202D_202D_200E_200E_206B_206F_206D_200B_202D_206F_200E_202C_202C_206A_206F_206C_202E_200B_202E_200E_206C_202E(text2, new ReadOnlySpan(in reference)); + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, text, array); + int num = ((!CheckFlyingCondition(step, skipConditions)) ? (-467436485) : (-467436493)); + while (true) { - return true; + int num2 = num; + int num3 = -467436482; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + return true; + case 5: + num = ((!CheckUnlockedMountCondition(skipConditions)) ? (-467436512) : (-467436517)); + break; + case 9: + return true; + case 31: + return true; + case 20: + num = ((!CheckAetherCurrentCondition(step)) ? (-467436497) : (-467436504)); + break; + case 3: + num = ((!CheckAetheryteCondition(step, skipConditions)) ? (-467436502) : (-467436510)); + break; + case 10: + return false; + case 18: + num = ((!CheckNameplateCondition(step, skipConditions)) ? (-467436507) : (-467436508)); + break; + case 7: + num = ((!CheckPurchaseComplete(step)) ? (-467436483) : (-467436511)); + break; + case 4: + num = ((!CheckPickUpTurnInQuestIds(step)) ? (-467436498) : (-467436520)); + break; + case 26: + return true; + case 36: + num = -467436493; + break; + case 0: + num = ((!CheckQuestConditions(skipConditions)) ? (-467436516) : (-467436501)); + break; + case 13: + return true; + case 16: + num = ((!CheckTaxiStandUnlocked(step)) ? (-467436492) : (-467436489)); + break; + case 32: + num = ((!CheckQuestWorkConditions(elementId, step)) ? (-467436499) : (-467436484)); + break; + case 33: + return true; + case 17: + num = ((!CheckLevelCondition(skipConditions)) ? (-467436514) : (-467436496)); + break; + case 23: + return true; + case 34: + num = ((!CheckTargetableCondition(step, skipConditions)) ? (-467436500) : (-467436513)); + break; + case 21: + return true; + case 29: + return true; + case 37: + return true; + case 38: + return true; + case 22: + return true; + case 27: + num = ((!CheckItemCondition(step, skipConditions)) ? (-467436487) : (-467436509)); + break; + case 14: + return true; + case 1: + num = ((!CheckTerritoryCondition(skipConditions)) ? (-467436482) : (-467436503)); + break; + case 15: + num = ((!extraConditionUtils.MatchesExtraCondition(_200B_202B_200C_200D_206E_202D_206D_200B_200B_202A_200E_206A_206E_206A_206C_200C_200F_202A_202D_206E_206D_202B_206C_202B_200F_202C_206C_202C_200F_202A_206F_202C_206C_206E_200D_202B_206A_202E_200F_202D_202E(skipConditions).Value)) ? (-467436486) : (-467436494)); + break; + case 35: + num = ((!_200B_202B_200C_200D_206E_202D_206D_200B_200B_202A_200E_206A_206E_206A_206C_200C_200F_202A_202D_206E_206D_202B_206C_202B_200F_202C_206C_202C_200F_202A_206F_202C_206C_206E_200D_202B_206A_202E_200F_202D_202E(skipConditions).HasValue) ? (-467436486) : (-467436488)); + break; + case 25: + return true; + case 2: + return true; + case 24: + return true; + case 11: + num = ((!CheckPositionCondition(skipConditions)) ? (-467436515) : (-467436490)); + break; + case 28: + return true; + case 12: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1561211438), new object[1] { _200B_202B_200C_200D_206E_202D_206D_200B_200B_202A_200E_206A_206E_206A_206C_200C_200F_202A_202D_206E_206D_202B_206C_202B_200F_202C_206C_202C_200F_202A_206F_202C_206C_206E_200D_202B_206A_202E_200F_202D_202E(skipConditions) }); + return true; + case 6: + num = ((_200B_202B_200C_200D_206E_202D_206D_200B_200B_202A_200E_206A_206E_206A_206C_200C_200F_202A_202D_206E_206D_202B_206C_202B_200F_202C_206C_202C_200F_202A_206F_202C_206C_206E_200D_202B_206A_202E_200F_202D_202E(skipConditions) == EExtraSkipCondition.None) ? (-467436486) : (-467436495)); + break; + case 30: + num = ((!CheckDivingCondition(skipConditions)) ? (-467436481) : (-467436506)); + break; + case 19: + num = ((!CheckJobCondition(elementId, step)) ? (-467436491) : (-467436505)); + break; + } } - if (CheckUnlockedMountCondition(skipConditions)) - { - return true; - } - if (CheckDivingCondition(skipConditions)) - { - return true; - } - if (CheckTerritoryCondition(skipConditions)) - { - return true; - } - if (CheckQuestConditions(skipConditions)) - { - return true; - } - if (CheckTargetableCondition(step, skipConditions)) - { - return true; - } - if (CheckNameplateCondition(step, skipConditions)) - { - return true; - } - if (CheckItemCondition(step, skipConditions)) - { - return true; - } - if (CheckAetheryteCondition(step, skipConditions)) - { - return true; - } - if (CheckAetherCurrentCondition(step)) - { - return true; - } - if (CheckLevelCondition(skipConditions)) - { - return true; - } - if (CheckQuestWorkConditions(elementId, step)) - { - return true; - } - if (CheckJobCondition(elementId, step)) - { - return true; - } - if (CheckPositionCondition(skipConditions)) - { - return true; - } - if (skipConditions.ExtraCondition.HasValue && skipConditions.ExtraCondition != EExtraSkipCondition.None && extraConditionUtils.MatchesExtraCondition(skipConditions.ExtraCondition.Value)) - { - logger.LogInformation("Skipping step, extra condition {} matches", skipConditions.ExtraCondition); - return true; - } - if (CheckPickUpTurnInQuestIds(step)) - { - return true; - } - if (CheckTaxiStandUnlocked(step)) - { - return true; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckFlyingCondition(QuestStep step, SkipStepConditions skipConditions) { - if (skipConditions.Flying == ELockedSkipCondition.Unlocked && gameFunctions.IsFlyingUnlocked(step.TerritoryId)) + int num = ((_206D_202A_202D_206C_206B_200F_202B_206C_202B_206E_202A_200F_200B_206D_206E_206D_206B_206E_206A_200F_206F_202A_202B_200F_206C_206F_206A_200C_206A_202B_202C_200E_202B_202D_202D_206B_202B_206B_200E_206B_202E(skipConditions) != ELockedSkipCondition.Unlocked) ? (-185345438) : (-185345440)); + while (true) { - logger.LogInformation("Skipping step, as flying is unlocked"); - return true; + int num2 = num; + int num3 = -185345436; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + num = (gameFunctions.IsFlyingUnlocked(_206A_202B_202C_200B_202D_206B_200F_202C_206E_200B_206C_200C_202B_202D_202C_200C_202A_200E_206E_206A_200E_200F_200C_206C_206A_206F_206C_200D_200C_206D_200D_206A_202E_206C_206F_200B_206E_200B_206E_200E_202E(step)) ? (-185345435) : (-185345439)); + break; + case 0: + num = -185345440; + break; + case 3: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-876619848), Array.Empty()); + return true; + case 4: + num = ((!gameFunctions.IsFlyingUnlocked(_206A_202B_202C_200B_202D_206B_200F_202C_206E_200B_206C_200C_202B_202D_202C_200C_202A_200E_206E_206A_200E_200F_200C_206C_206A_206F_206C_200D_200C_206D_200D_206A_202E_206C_206F_200B_206E_200B_206E_200E_202E(step))) ? (-185345438) : (-185345433)); + break; + case 5: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1717360759), Array.Empty()); + return true; + case 6: + num = ((_206D_202A_202D_206C_206B_200F_202B_206C_202B_206E_202A_200F_200B_206D_206E_206D_206B_206E_206A_200F_206F_202A_202B_200F_206C_206F_206A_200C_206A_202B_202C_200E_202B_202D_202D_206B_202B_206B_200E_206B_202E(skipConditions) != ELockedSkipCondition.Locked) ? (-185345435) : (-185345434)); + break; + } } - if (skipConditions.Flying == ELockedSkipCondition.Locked && !gameFunctions.IsFlyingUnlocked(step.TerritoryId)) - { - logger.LogInformation("Skipping step, as flying is locked"); - return true; - } - return false; } - private unsafe bool CheckUnlockedMountCondition(SkipStepConditions skipConditions) + [MethodImpl(MethodImplOptions.NoInlining)] + private bool CheckUnlockedMountCondition(SkipStepConditions skipConditions) { - if (skipConditions.Chocobo == ELockedSkipCondition.Unlocked && PlayerState.Instance()->IsMountUnlocked(1u)) + int num = ((_206A_202C_202A_202E_200E_206F_200E_202B_202D_200F_206A_202B_202A_200D_206E_202E_200E_202A_200D_206C_202D_206B_200D_202D_202E_206B_206E_206C_200D_206B_206E_206C_200D_206D_206E_206E_202E_200D_200F_202A_202E(skipConditions) != ELockedSkipCondition.Unlocked) ? (-1202468125) : (-1202468126)); + while (true) { - logger.LogInformation("Skipping step, as chocobo is unlocked"); - return true; + int num2 = num; + int num3 = -1202468125; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(594807310), Array.Empty()); + return true; + case 0: + return false; + case 2: + num = -1202468126; + break; + case 1: + num = ((!_202D_202A_206D_202C_202C_200F_206F_206C_202B_200D_202A_206B_202B_202C_202E_202E_200B_206D_206C_206A_200D_202D_202E_202C_200B_200D_200E_206D_200E_206E_206F_202D_206E_200B_202D_206B_206B_206C_200F_202E(1u)) ? (-1202468125) : (-1202468128)); + break; + } } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckTerritoryCondition(SkipStepConditions skipConditions) { - if (skipConditions.InTerritory.Count > 0 && skipConditions.InTerritory.Contains((ushort)clientState.TerritoryType)) + int num = ((_200C_200E_202A_200B_206F_206B_202D_206C_202B_206F_206F_206D_202B_202C_206D_206C_200E_202B_200B_200B_202B_202B_206F_206A_200C_206A_206B_206A_202D_206D_200E_200B_206B_202A_200B_200B_206B_202E_202D_202E(skipConditions).Count <= 0) ? 814489794 : 814489797); + while (true) { - logger.LogInformation("Skipping step, as in a skip.InTerritory"); - return true; + int num2 = num; + int num3 = 814489799; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + return false; + case 2: + num = ((!_200C_200E_202A_200B_206F_206B_202D_206C_202B_206F_206F_206D_202B_202C_206D_206C_200E_202B_200B_200B_202B_202B_206F_206A_200C_206A_206B_206A_202D_206D_200E_200B_206B_202A_200B_200B_206B_202E_202D_202E(skipConditions).Contains((ushort)_206D_202A_206F_200B_206C_202A_202C_206D_206B_202E_206E_200E_206C_206F_200F_200F_202C_200D_206F_202B_200B_206E_200D_200C_206A_206E_206E_200D_206F_206D_206A_206C_206F_202C_202C_206E_202D_206F_202B_206D_202E(clientState))) ? 814489794 : 814489795); + break; + case 0: + num = 814489797; + break; + case 4: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-80638283), Array.Empty()); + return true; + case 3: + num = (_206F_200F_206C_200B_206A_200D_200C_206A_202E_202B_202C_202B_202D_206E_200C_206C_200C_206A_206D_206D_206E_206B_202B_200C_200C_200E_202D_200F_200E_200F_206A_202D_202A_200C_206C_206F_202A_202E_206C_202C_202E(skipConditions).Contains((ushort)_206D_202A_206F_200B_206C_202A_202C_206D_206B_202E_206E_200E_206C_206F_200F_200F_202C_200D_206F_202B_200B_206E_200D_200C_206A_206E_206E_200D_206F_206D_206A_206C_206F_202C_202C_206E_202D_206F_202B_206D_202E(clientState)) ? 814489793 : 814489798); + break; + case 1: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-754370014), Array.Empty()); + return true; + case 5: + num = ((_206F_200F_206C_200B_206A_200D_200C_206A_202E_202B_202C_202B_202D_206E_200C_206C_200C_206A_206D_206D_206E_206B_202B_200C_200C_200E_202D_200F_200E_200F_206A_202D_202A_200C_206C_206F_202A_202E_206C_202C_202E(skipConditions).Count <= 0) ? 814489793 : 814489796); + break; + } } - if (skipConditions.NotInTerritory.Count > 0 && !skipConditions.NotInTerritory.Contains((ushort)clientState.TerritoryType)) - { - logger.LogInformation("Skipping step, as not in a skip.NotInTerritory"); - return true; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckDivingCondition(SkipStepConditions skipConditions) { - if (skipConditions.Diving == true && condition[ConditionFlag.Diving]) + int num = ((_202B_200C_206C_206B_202C_206C_206C_202C_206C_206A_206B_202A_206F_206F_202A_200F_200E_200D_200C_200B_206C_202D_200D_206B_206E_202C_200B_206E_202D_200D_202B_206A_200C_200C_202B_206A_202C_200E_200B_202C_202E(skipConditions) != true) ? (-1984011023) : (-1984011021)); + while (true) { - logger.LogInformation("Skipping step, as you're currently diving underwater"); - return true; + int num2 = num; + int num3 = -1984011019; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = ((_202B_200C_206C_206B_202C_206C_206C_202C_206C_206A_206B_202A_206F_206F_202A_200F_200E_200D_200C_200B_206C_202D_200D_206B_206E_202C_200B_206E_202D_200D_202B_206A_200C_200C_202B_206A_202C_200E_200B_202C_202E(skipConditions) != false) ? (-1984011024) : (-1984011017)); + break; + case 6: + num = ((!_200C_202C_202A_200C_206D_202D_200F_202B_200E_202C_202C_202A_202E_206A_206F_206F_202A_206F_202D_206E_206D_202C_206E_200F_206D_206B_202B_206F_200C_206C_206C_206A_200C_206D_200D_202A_206A_202D_202D_206A_202E(condition, ConditionFlag.Diving)) ? (-1984011023) : (-1984011019)); + break; + case 0: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-483706615), Array.Empty()); + return true; + case 3: + num = -1984011021; + break; + case 1: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(696324995), Array.Empty()); + return true; + case 5: + return false; + case 2: + num = (_200C_202C_202A_200C_206D_202D_200F_202B_200E_202C_202C_202A_202E_206A_206F_206F_202A_206F_202D_206E_206D_202C_206E_200F_206D_206B_202B_206F_200C_206C_206C_206A_200C_206D_200D_202A_206A_202D_202D_206A_202E(condition, ConditionFlag.Diving) ? (-1984011024) : (-1984011020)); + break; + } } - if (skipConditions.Diving == false && !condition[ConditionFlag.Diving]) - { - logger.LogInformation("Skipping step, as you're not currently diving underwater"); - return true; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckQuestConditions(SkipStepConditions skipConditions) { - if (skipConditions.QuestsCompleted.Count > 0 && skipConditions.QuestsCompleted.All(questFunctions.IsQuestComplete)) + int num = ((_206F_206C_202A_202B_202E_202E_200C_202B_206B_200C_202C_202D_202C_202C_202C_206D_206D_206F_200F_200F_202C_206E_202A_206B_200D_206D_200D_202D_206D_206E_202C_200E_200B_202C_200D_206D_200F_202C_200B_202C_202E(skipConditions).Count <= 0) ? 620685368 : 620685371); + while (true) { - logger.LogInformation("Skipping step, all prequisite quests are complete"); - return true; + int num2 = num; + int num3 = 620685374; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 6: + num = ((_200B_206F_202E_206E_200B_206C_200B_206F_202A_200B_206B_202A_206A_200F_202D_202A_200D_206E_202D_200F_200B_206D_200C_202A_206A_206E_200B_206F_200E_200F_200E_202B_200D_206E_202C_200F_200C_206E_202E_200D_202E(skipConditions).Count <= 0) ? 620685374 : 620685375); + break; + case 2: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-981274772), Array.Empty()); + return true; + case 1: + num = ((!_200B_206F_202E_206E_200B_206C_200B_206F_202A_200B_206B_202A_206A_200F_202D_202A_200D_206E_202D_200F_200B_206D_200C_202A_206A_206E_200B_206F_200E_200F_200E_202B_200D_206E_202C_200F_200C_206E_202E_200D_202E(skipConditions).All(questFunctions.IsQuestAccepted)) ? 620685374 : 620685370); + break; + case 5: + num = ((!_206F_206C_202A_202B_202E_202E_200C_202B_206B_200C_202C_202D_202C_202C_202C_206D_206D_206F_200F_200F_202C_206E_202A_206B_200D_206D_200D_202D_206D_206E_202C_200E_200B_202C_200D_206D_200F_202C_200B_202C_202E(skipConditions).All(questFunctions.IsQuestComplete)) ? 620685368 : 620685372); + break; + case 3: + num = 620685371; + break; + case 4: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(872402256), Array.Empty()); + return true; + } } - if (skipConditions.QuestsAccepted.Count > 0 && skipConditions.QuestsAccepted.All(questFunctions.IsQuestAccepted)) - { - logger.LogInformation("Skipping step, all prequisite quests are accepted"); - return true; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckTargetableCondition(QuestStep step, SkipStepConditions skipConditions) { - if (skipConditions.NotTargetable && step != null && step.DataId.HasValue) + int num = ((!_200F_206F_202E_202E_200F_202C_200C_206C_202C_202B_202B_200E_200F_202A_200D_202B_200E_202D_200F_206B_200E_200F_202D_206A_206C_200C_200F_200D_206D_206D_202D_206D_202B_206C_202C_206B_206D_206B_202E(skipConditions)) ? (-1215574028) : (-1215574031)); + IGameObject gameObject = default(IGameObject); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + while (true) { - IGameObject gameObject = gameFunctions.FindObjectByDataId(step.DataId.Value); - IGameObject gameObject2 = objectTable[0]; - if (gameObject == null) + int num2 = num; + int num3 = -1215574029; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - if (gameObject2 != null && (step.Position.GetValueOrDefault() - gameObject2.Position).Length() < 100f) - { - logger.LogInformation("Skipping step, object is not nearby (but we are)"); - return true; - } - } - else if (!gameObject.IsTargetable) - { - logger.LogInformation("Skipping step, object is not targetable"); + case 4: + num = (_202C_202E_202B_200F_200C_202B_202E_206A_200D_206C_200C_206F_206B_200F_206D_202E_202C_200F_206D_202C_202A_200B_206E_206F_202C_202B_202C_206A_206E_206E_200E_200F_206C_200B_206E_206F_206C_206F_206D_202C_202E(gameObject) ? (-1215574028) : (-1215574029)); + break; + case 1: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1364336395), Array.Empty()); return true; + case 8: + num = ((!((_206E_200B_206E_206E_206C_206D_206C_206D_200D_202E_202E_202C_206A_200F_200C_206D_202E_200F_202B_200C_200D_206F_200D_202C_200C_202B_206B_206D_206A_206B_206A_202E_200F_202B_200F_200F_200C_206D_202A_200D_202E(step).GetValueOrDefault() - _200C_206D_202C_202D_202E_200C_202E_206D_200F_202E_202C_200C_202C_202B_200B_202D_206B_200F_200F_206C_206D_206F_202B_206B_200F_206D_200F_206A_206A_200F_206F_202C_206B_202C_206E_206E_200D_200C_202A_200D_202E((IGameObject)playerCharacter)).Length() < 100f)) ? (-1215574028) : (-1215574030)); + break; + case 7: + return false; + case 3: + num = ((playerCharacter == null) ? (-1215574028) : (-1215574021)); + break; + case 6: + gameObject = gameFunctions.FindObjectByDataId(_202D_202D_206E_202A_206D_200E_202B_202C_206C_200C_206C_200C_202E_202A_202A_206B_200B_206A_206E_206B_206F_200F_206F_200D_202A_206E_200E_200C_206D_200D_202B_202D_202C_206F_202B_206C_202C_202C_200E_200F_202E(step).Value); + playerCharacter = _202D_206B_202D_202C_200F_200F_206C_200C_202E_206C_206E_200C_202B_202B_202C_206E_206B_202D_206C_200C_206A_206F_202E_200C_200E_200F_206E_202B_202A_206E_200F_206D_200D_206E_200C_200B_206C_202E_200D_206B_202E(objectTable); + num = ((gameObject != null) ? (-1215574025) : (-1215574032)); + break; + case 0: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-972199543), Array.Empty()); + return true; + case 5: + num = -1215574031; + break; + case 9: + num = ((!_202D_202D_206E_202A_206D_200E_202B_202C_206C_200C_206C_200C_202E_202A_202A_206B_200B_206A_206E_206B_206F_200F_206F_200D_202A_206E_200E_200C_206D_200D_202B_202D_202C_206F_202B_206C_202C_202C_200E_200F_202E(step).HasValue) ? (-1215574028) : (-1215574027)); + break; + case 2: + num = ((step == null) ? (-1215574028) : (-1215574022)); + break; } } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe bool CheckNameplateCondition(QuestStep step, SkipStepConditions skipConditions) { - if (skipConditions.NotNamePlateIconId.Count > 0 && step != null && step.DataId.HasValue) + int num = ((_202E_202E_202E_200F_202D_206B_206A_206D_206A_202A_206B_200E_202C_202D_206C_202B_200E_206F_200E_200F_202C_200E_206C_202B_206E_200E_206F_202A_202B_206B_202C_202A_206B_202B_206D_200E_200D_206D_202E_206A_202E(skipConditions).Count <= 0) ? 76989385 : 76989391); + IGameObject gameObject = default(IGameObject); + GameObject* ptr = default(GameObject*); + while (true) { - IGameObject gameObject = gameFunctions.FindObjectByDataId(step.DataId.Value); - if (gameObject != null) + int num2 = num; + int num3 = 76989389; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - GameObject* address = (GameObject*)gameObject.Address; - if (!skipConditions.NotNamePlateIconId.Contains(address->NamePlateIconId)) - { - logger.LogInformation("Skipping step, object has icon id {IconId}", address->NamePlateIconId); - return true; - } + case 3: + num = ((!_202D_202D_206E_202A_206D_200E_202B_202C_206C_200C_206C_200C_202E_202A_202A_206B_200B_206A_206E_206B_206F_200F_206F_200D_202A_206E_200E_200C_206D_200D_202B_202D_202C_206F_202B_206C_202C_202C_200E_200F_202E(step).HasValue) ? 76989385 : 76989384); + break; + case 5: + gameObject = gameFunctions.FindObjectByDataId(_202D_202D_206E_202A_206D_200E_202B_202C_206C_200C_206C_200C_202E_202A_202A_206B_200B_206A_206E_206B_206F_200F_206F_200D_202A_206E_200E_200C_206D_200D_202B_202D_202C_206F_202B_206C_202C_202C_200E_200F_202E(step).Value); + num = ((gameObject == null) ? 76989385 : 76989387); + break; + case 0: + num = 76989391; + break; + case 2: + num = ((step == null) ? 76989385 : 76989390); + break; + case 4: + return false; + case 1: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1288687344), new object[1] { ptr->NamePlateIconId }); + return true; + case 6: + ptr = (GameObject*)_206D_200C_200B_206F_200E_202D_200D_200C_200E_200D_202E_206A_202A_202B_200D_202A_202E_200F_206F_206D_202D_206D_200D_202B_202E_206F_202B_202B_200C_206D_200C_206F_206E_200C_206D_200B_202C_206A_206B_206B_202E(gameObject); + num = (_202E_202E_202E_200F_202D_206B_206A_206D_206A_202A_206B_200E_202C_202D_206C_202B_200E_206F_200E_200F_202C_200E_206C_202B_206E_200E_206F_202A_202B_206B_202C_202A_206B_202B_206D_200E_200D_206D_202E_206A_202E(skipConditions).Contains(ptr->NamePlateIconId) ? 76989385 : 76989388); + break; } } - return false; } - private unsafe bool CheckItemCondition(QuestStep step, SkipStepConditions skipConditions) + [MethodImpl(MethodImplOptions.NoInlining)] + private bool CheckItemCondition(QuestStep step, SkipStepConditions skipConditions) { - SkipItemConditions item = skipConditions.Item; - if (item != null && item.NotInInventory && step != null && step.ItemId.HasValue) + SkipItemConditions skipItemConditions = _202D_202E_202B_200B_202D_206C_202A_200B_202D_200B_200C_206B_206F_202E_206F_206A_206F_206A_202A_200F_202A_202B_206D_200F_202C_202E_206B_200C_206C_206A_202E_206C_202B_200C_206A_206C_206B_206D_206E_206A_202E(skipConditions); + int num = ((skipItemConditions == null) ? 1122033800 : 1122033806); + while (true) { - 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) + int num2 = num; + int num3 = 1122033792; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - logger.LogInformation("Skipping step, no item with itemId {ItemId} in inventory", step.ItemId.Value); + case 16: + skipItemConditions = _202D_202E_202B_200B_202D_206C_202A_200B_202D_200B_200C_206B_206F_202E_206F_206A_206F_206A_202A_200F_202A_202B_206D_200F_202C_202E_206B_200C_206C_206A_202E_206C_202B_200C_206A_206C_206B_206D_206E_206A_202E(skipConditions); + num = ((skipItemConditions == null) ? 1122033803 : 1122033793); + break; + case 0: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-797671387), new object[1] { _202C_200C_202B_200B_200B_202A_202C_200E_200D_206A_200F_206A_206F_200D_200F_202D_200B_202E_200F_206C_200F_206A_206A_206F_206E_206A_200F_206F_200E_206D_202D_200E_200C_200E_200B_200C_206E_202C_202A_202E(step).Value }); return true; + case 13: + num = ((step == null) ? 1122033803 : 1122033794); + break; + case 7: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1887294353), new object[1] { _202C_200C_202B_200B_200B_202A_202C_200E_200D_206A_200F_206A_206F_200D_200F_202D_200B_202E_200F_206C_200F_206A_206A_206F_206E_206A_200F_206F_200E_206D_202D_200E_200C_200E_200B_200C_206E_202C_202A_202E(step).Value }); + return true; + case 12: + num = 1122033806; + break; + case 10: + num = ((step == null) ? 1122033800 : 1122033801); + break; + case 14: + num = ((!_202E_200E_206B_202D_206D_200D_202E_206F_202A_200E_206D_202E_206E_206C_202C_202D_200D_200D_200E_206A_206D_206D_202A_200D_200F_202B_206B_202E_206D_202E_206F_200C_202A_206C_206C_200D_200E_200C_200E_202C_202E(skipItemConditions)) ? 1122033800 : 1122033802); + break; + case 3: + num = ((step == null) ? 1122033808 : 1122033807); + break; + case 17: + num = ((((ItemHandle)_202C_200C_202B_200B_200B_202A_202C_200E_200D_206A_200F_206A_206F_200D_200F_202D_200B_202E_200F_206C_200F_206A_206A_206F_206E_206A_200F_206F_200E_206D_202D_200E_200C_200E_200B_200C_206E_202C_202A_202E(step).Value).GetCount(checkEquipped: true, checkArmory: true) <= 0) ? 1122033808 : 1122033792); + break; + case 2: + num = ((!_202C_200C_202B_200B_200B_202A_202C_200E_200D_206A_200F_206A_206F_200D_200F_202D_200B_202E_200F_206C_200F_206A_206A_206F_206E_206A_200F_206F_200E_206D_202D_200E_200C_200E_200B_200C_206E_202C_202A_202E(step).HasValue) ? 1122033803 : 1122033798); + break; + case 18: + num = ((((ItemHandle)_202C_200C_202B_200B_200B_202A_202C_200E_200D_206A_200F_206A_206F_200D_200F_202D_200B_202E_200F_206C_200F_206A_206A_206F_206E_206A_200F_206F_200E_206D_202D_200E_200C_200E_200B_200C_206E_202C_202A_202E(step).Value).GetCount(checkEquipped: true, checkArmory: true) != 0) ? 1122033800 : 1122033799); + break; + case 9: + num = ((!_202C_200C_202B_200B_200B_202A_202C_200E_200D_206A_200F_206A_206F_200D_200F_202D_200B_202E_200F_206C_200F_206A_206A_206F_206E_206A_200F_206F_200E_206D_202D_200E_200C_200E_200B_200C_206E_202C_202A_202E(step).HasValue) ? 1122033800 : 1122033810); + break; + case 1: + num = ((!_206C_206F_206B_206F_202B_206E_206D_202A_206C_200F_206D_206B_200F_206B_202C_206B_202E_200D_206C_202D_206D_206D_202B_202B_206E_206F_206C_202D_202D_202A_200C_200D_206D_202E_200C_206F_202B_202D_200F_202A_202E(skipItemConditions)) ? 1122033803 : 1122033805); + break; + case 4: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1586329385), new object[1] { _202C_200C_202B_200B_200B_202A_202C_200E_200D_206A_200F_206A_206F_200D_200F_202D_200B_202E_200F_206C_200F_206A_206A_206F_206E_206A_200F_206F_200E_206D_202D_200E_200C_200E_200B_200C_206E_202C_202A_202E(step).Value }); + return true; + case 15: + num = ((!_202C_200C_202B_200B_200B_202A_202C_200E_200D_206A_200F_206A_206F_200D_200F_202D_200B_202E_200F_206C_200F_206A_206A_206F_206E_206A_200F_206F_200E_206D_202D_200E_200C_200E_200B_200C_206E_202C_202A_202E(step).HasValue) ? 1122033808 : 1122033809); + break; + case 11: + return false; + case 6: + num = ((!IsBetterOrEqualItemEquipped(_202C_200C_202B_200B_200B_202A_202C_200E_200D_206A_200F_206A_206F_200D_200F_202D_200B_202E_200F_206C_200F_206A_206A_206F_206E_206A_200F_206F_200E_206D_202D_200E_200C_200E_200B_200C_206E_202C_202A_202E(step).Value)) ? 1122033803 : 1122033796); + break; + case 5: + num = ((!_200D_200E_206B_200E_200B_206D_206A_200D_200E_200E_202D_200D_206B_202A_206C_202C_206E_200C_206D_206B_202B_206A_200C_206D_206D_202C_206F_200F_200F_200B_200F_206E_206A_202B_206E_202D_200C_202E_206C_202A_202E(skipItemConditions)) ? 1122033808 : 1122033795); + break; + case 8: + skipItemConditions = _202D_202E_202B_200B_202D_206C_202A_200B_202D_200B_200C_206B_206F_202E_206F_206A_206F_206A_202A_200F_202A_202B_206D_200F_202C_202E_206B_200C_206C_206A_202E_206C_202B_200C_206A_206C_206B_206D_206E_206A_202E(skipConditions); + num = ((skipItemConditions == null) ? 1122033808 : 1122033797); + break; } } - item = skipConditions.Item; - if (item != null && item.InInventory && step != null && step.ItemId.HasValue) - { - 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; - } - } - 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); - return true; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] + private bool CheckPurchaseComplete(QuestStep step) + { + int num = ((_200E_206D_206F_200B_200F_206E_202B_200E_200E_206C_206B_206F_200C_202A_206C_206F_200E_200B_202D_202B_200B_200B_206D_206A_200B_200C_202B_202C_202B_200B_202B_202C_206D_206D_206B_206D_206F_200F_202C_206C_202E(step) != EInteractionType.PurchaseItem) ? 24711942 : 24711941); + uint? num8 = default(uint?); + int valueOrDefault = default(int); + uint valueOrDefault2 = default(uint); + int? num7 = default(int?); + while (true) + { + int num2 = num; + int num3 = 24711936; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + return false; + case 5: + num8 = _202C_200C_202B_200B_200B_202A_202C_200E_200D_206A_200F_206A_206F_200D_200F_202D_200B_202E_200F_206C_200F_206A_206A_206F_206E_206A_200F_206F_200E_206D_202D_200E_200C_200E_200B_200C_206E_202C_202A_202E(step); + num = ((!num8.HasValue) ? 24711942 : 24711938); + break; + case 1: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1670622012), new object[2] { valueOrDefault, valueOrDefault2 }); + return true; + case 4: + num = 24711941; + break; + case 0: + num = ((((ItemHandle)valueOrDefault2).GetCount(checkEquipped: true, checkArmory: true) < valueOrDefault) ? 24711942 : 24711937); + break; + case 2: + valueOrDefault2 = num8.GetValueOrDefault(); + num7 = _202C_206B_202C_202C_206A_206B_200D_206B_202A_202D_202B_206A_206A_202C_206A_206F_200B_206A_202C_206A_206A_200F_206E_202D_202B_202C_200E_200F_206C_206C_200E_206C_200E_202A_200F_200F_202E_200B_206E_202D_202E(step); + num = ((!num7.HasValue) ? 24711942 : 24711939); + break; + case 3: + valueOrDefault = num7.GetValueOrDefault(); + num = ((valueOrDefault <= 0) ? 24711942 : 24711936); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckAetheryteCondition(QuestStep step, SkipStepConditions skipConditions) { - if (step != null) + int num = ((step == null) ? (-1075014081) : (-1075014107)); + EAetheryteLocation valueOrDefault3 = default(EAetheryteLocation); + EAetheryteLocation? eAetheryteLocation = default(EAetheryteLocation?); + EAetheryteLocation valueOrDefault = default(EAetheryteLocation); + EAetheryteLocation valueOrDefault2 = default(EAetheryteLocation); + while (true) { - EAetheryteLocation? aetheryte = step.Aetheryte; - if (aetheryte.HasValue) + int num2 = num; + int num3 = -1075014097; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - EAetheryteLocation valueOrDefault = aetheryte.GetValueOrDefault(); - if (step.InteractionType == EInteractionType.AttuneAetheryte && aetheryteFunctions.IsAetheryteUnlocked(valueOrDefault)) - { - logger.LogInformation("Skipping step, as aetheryte is unlocked"); - return true; - } + case 3: + num = -1075014107; + break; + case 7: + num = ((aetheryteFunctions.CanRegisterFreeOrFavoriteAetheryte(valueOrDefault3) != AetheryteRegistrationResult.NotPossible) ? (-1075014082) : (-1075014098)); + break; + case 8: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1753969054), Array.Empty()); + return true; + case 2: + { + AetheryteFunctions aetheryteFunctions = aetheryteFunctions; + eAetheryteLocation = _206C_206F_202B_202A_206F_202C_206B_202E_206A_202D_200F_206C_200B_200D_200C_206D_202E_206C_200D_202A_200E_200F_206A_206B_200E_200D_202C_206F_206C_206E_202C_206A_200C_206E_200E_200F_206F_206C_206D_206D_202E(skipConditions); + num = ((!aetheryteFunctions.IsAetheryteUnlocked(eAetheryteLocation.Value)) ? (-1075014110) : (-1075014105)); + break; + } + case 0: + { + AetheryteFunctions aetheryteFunctions2 = aetheryteFunctions; + eAetheryteLocation = _200D_200E_206B_202D_206D_202D_200C_206E_206B_200B_202A_200E_202A_200F_200C_206E_200B_200C_206A_206B_200B_206E_206A_206F_200F_202E_200C_202B_200E_202C_202B_200C_206B_200C_202C_206C_200E_202C_202B_200E_202E(skipConditions); + num = (aetheryteFunctions2.IsAetheryteUnlocked(eAetheryteLocation.Value) ? (-1075014111) : (-1075014109)); + break; + } + case 5: + valueOrDefault3 = eAetheryteLocation.GetValueOrDefault(); + num = ((_200E_206D_206F_200B_200F_206E_202B_200E_200E_206C_206B_206F_200C_202A_206C_206F_200E_200B_202D_202B_200B_200B_206D_206A_200B_200C_202B_202C_202B_200B_202B_202C_206D_206D_206B_206D_206F_200F_202C_206C_202E(step) != EInteractionType.RegisterFreeOrFavoredAetheryte) ? (-1075014082) : (-1075014104)); + break; + case 20: + num = ((!aetheryteFunctions.IsAetheryteUnlocked(valueOrDefault)) ? (-1075014083) : (-1075014103)); + break; + case 13: + return false; + case 17: + eAetheryteLocation = _200D_200E_206B_202D_206D_202D_200C_206E_206B_200B_202A_200E_202A_200F_200C_206E_200B_200C_206A_206B_200B_206E_206A_206F_200F_202E_200C_202B_200E_202C_202B_200C_206B_200C_202C_206C_200E_202C_202B_200E_202E(skipConditions); + num = ((!eAetheryteLocation.HasValue) ? (-1075014111) : (-1075014097)); + break; + case 10: + eAetheryteLocation = _200E_200D_206D_206D_200C_202B_206F_206C_200B_206F_206A_206B_202D_206A_206A_206A_200C_206A_206B_202E_206E_202D_200B_200F_206E_200D_206F_200D_200F_200B_206A_202A_206E_206C_200D_206A_206C_206F_200B_206D_202E(step); + num = ((!eAetheryteLocation.HasValue) ? (-1075014081) : (-1075014108)); + break; + case 19: + eAetheryteLocation = _200E_200D_206D_206D_200C_202B_206F_206C_200B_206F_206A_206B_202D_206A_206A_206A_200C_206A_206B_202E_206E_202D_200B_200F_206E_200D_206F_200D_200F_200B_206A_202A_206E_206C_200D_206A_206C_206F_200B_206D_202E(step); + num = ((!eAetheryteLocation.HasValue) ? (-1075014083) : (-1075014101)); + break; + case 16: + num = ((step == null) ? (-1075014083) : (-1075014084)); + break; + case 1: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1024576145), Array.Empty()); + return true; + case 18: + num = ((step == null) ? (-1075014082) : (-1075014086)); + break; + case 11: + valueOrDefault2 = eAetheryteLocation.GetValueOrDefault(); + num = ((_200E_206D_206F_200B_200F_206E_202B_200E_200E_206C_206B_206F_200C_202A_206C_206F_200E_200B_202D_202B_200B_200B_206D_206A_200B_200C_202B_202C_202B_200B_202B_202C_206D_206D_206B_206D_206F_200F_202C_206C_202E(step) != EInteractionType.AttuneAetheryte) ? (-1075014081) : (-1075014112)); + break; + case 4: + valueOrDefault = eAetheryteLocation.GetValueOrDefault(); + num = ((_200E_206D_206F_200B_200F_206E_202B_200E_200E_206C_206B_206F_200C_202A_206C_206F_200E_200B_202D_202B_200B_200B_206D_206A_200B_200C_202B_202C_202B_200B_202B_202C_206D_206D_206B_206D_206F_200F_202C_206C_202E(step) != EInteractionType.AttuneAethernetShard) ? (-1075014083) : (-1075014085)); + break; + case 6: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1250183404), Array.Empty()); + return true; + case 15: + num = ((!aetheryteFunctions.IsAetheryteUnlocked(valueOrDefault2)) ? (-1075014081) : (-1075014106)); + break; + case 21: + eAetheryteLocation = _200E_200D_206D_206D_200C_202B_206F_206C_200B_206F_206A_206B_202D_206A_206A_206A_200C_206A_206B_202E_206E_202D_200B_200F_206E_200D_206F_200D_200F_200B_206A_202A_206E_206C_200D_206A_206C_206F_200B_206D_202E(step); + num = ((!eAetheryteLocation.HasValue) ? (-1075014082) : (-1075014102)); + break; + case 9: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-963356390), Array.Empty()); + return true; + case 12: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-2127983555), Array.Empty()); + return true; + case 14: + eAetheryteLocation = _206C_206F_202B_202A_206F_202C_206B_202E_206A_202D_200F_206C_200B_200D_200C_206D_202E_206C_200D_202A_200E_200F_206A_206B_200E_200D_202C_206F_206C_206E_202C_206A_200C_206E_200E_200F_206F_206C_206D_206D_202E(skipConditions); + num = ((!eAetheryteLocation.HasValue) ? (-1075014110) : (-1075014099)); + break; } } - if (step != null) - { - EAetheryteLocation? aetheryte = step.Aetheryte; - if (aetheryte.HasValue) - { - EAetheryteLocation valueOrDefault2 = aetheryte.GetValueOrDefault(); - if (step.InteractionType == EInteractionType.AttuneAethernetShard && aetheryteFunctions.IsAetheryteUnlocked(valueOrDefault2)) - { - logger.LogInformation("Skipping step, as aethernet shard is unlocked"); - return true; - } - } - } - if (step != null) - { - EAetheryteLocation? aetheryte = step.Aetheryte; - if (aetheryte.HasValue) - { - 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"); - return true; - } - } - } - if (skipConditions.AetheryteLocked.HasValue && !aetheryteFunctions.IsAetheryteUnlocked(skipConditions.AetheryteLocked.Value)) - { - logger.LogInformation("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"); - return true; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckAetherCurrentCondition(QuestStep step) { - if (step.InteractionType == EInteractionType.AttuneAetherCurrent) + int num = ((_200E_206D_206F_200B_200F_206E_202B_200E_200E_206C_206B_206F_200C_202A_206C_206F_200E_200B_202D_202B_200B_200B_206D_206A_200B_200C_202B_202C_202B_200B_202B_202C_206D_206D_206B_206D_206F_200F_202C_206C_202E(step) != EInteractionType.AttuneAetherCurrent) ? 15149100 : 15149102); + while (true) { - if (configuration.Advanced.SkipAetherCurrents) + int num2 = num; + int num3 = 15149100; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - logger.LogInformation("Skipping step, as aether currents should be skipped"); + case 1: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(2126010367), Array.Empty()); return true; - } - if (step.DataId.HasValue && gameFunctions.IsAetherCurrentUnlocked(step.DataId.Value)) - { - logger.LogInformation("Skipping step, as current is unlocked"); + case 2: + num = ((!configuration.Advanced.SkipAetherCurrents) ? 15149097 : 15149103); + break; + case 3: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1497729888), Array.Empty()); return true; + case 0: + return false; + case 5: + num = ((!_202D_202D_206E_202A_206D_200E_202B_202C_206C_200C_206C_200C_202E_202A_202A_206B_200B_206A_206E_206B_206F_200F_206F_200D_202A_206E_200E_200C_206D_200D_202B_202D_202C_206F_202B_206C_202C_202C_200E_200F_202E(step).HasValue) ? 15149100 : 15149096); + break; + case 4: + num = ((!GameFunctions.IsAetherCurrentUnlocked(_202D_202D_206E_202A_206D_200E_202B_202C_206C_200C_206C_200C_202E_202A_202A_206B_200B_206A_206E_206B_206F_200F_206F_200D_202A_206E_200E_200C_206D_200D_202B_202D_202C_206F_202B_206C_202C_202C_200E_200F_202E(step).Value)) ? 15149100 : 15149101); + break; + case 6: + num = 15149102; + break; } } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckLevelCondition(SkipStepConditions skipConditions) { - ICharacter character = objectTable[0] as ICharacter; - if (skipConditions.MinimumLevel.HasValue && character != null && character.Level >= skipConditions.MinimumLevel.Value) + IPlayerCharacter playerCharacter = _202D_206B_202D_202C_200F_200F_206C_200C_202E_206C_206E_200C_202B_202B_202C_206E_206B_202D_206C_200C_206A_206F_202E_200C_200E_200F_206E_202B_202A_206E_200F_206D_200D_206E_200C_200B_206C_202E_200D_206B_202E(objectTable); + int num = ((!_206B_202A_206C_202A_200F_200B_202B_200D_206A_206F_200F_206C_202D_206B_202B_200C_206C_200F_206B_206D_200D_206C_200C_202C_206A_202C_206A_202C_200E_202B_202E_206E_206F_206E_202E_206F_200D_206D_206E_200C_202E(skipConditions).HasValue) ? (-1957890921) : (-1957890923)); + while (true) { - logger.LogInformation("Skipping step, as player level {CurrentLevel} >= minimum level {MinLevel}", character.Level, skipConditions.MinimumLevel.Value); - return true; + int num2 = num; + int num3 = -1957890924; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1957890923; + break; + case 3: + return false; + case 2: + num = ((_200C_202D_200F_206E_206B_202A_206D_206F_202B_202A_206E_206C_206A_206B_202A_200F_202B_200B_206F_200E_202D_200D_206B_206D_202D_206D_206F_202E_202D_202C_200C_200B_206F_200C_206C_206F_200D_200B_202B_206B_202E((ICharacter)playerCharacter) < _206B_202A_206C_202A_200F_200B_202B_200D_206A_206F_200F_206C_202D_206B_202B_200C_206C_200F_206B_206D_200D_206C_200C_202C_206A_202C_206A_202C_200E_202B_202E_206E_206F_206E_202E_206F_200D_206D_206E_200C_202E(skipConditions).Value) ? (-1957890921) : (-1957890928)); + break; + case 4: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-898004694), new object[2] + { + _200C_202D_200F_206E_206B_202A_206D_206F_202B_202A_206E_206C_206A_206B_202A_200F_202B_200B_206F_200E_202D_200D_206B_206D_202D_206D_206F_202E_202D_202C_200C_200B_206F_200C_206C_206F_200D_200B_202B_206B_202E((ICharacter)playerCharacter), + _206B_202A_206C_202A_200F_200B_202B_200D_206A_206F_200F_206C_202D_206B_202B_200C_206C_200F_206B_206D_200D_206C_200C_202C_206A_202C_206A_202C_200E_202B_202E_206E_206F_206E_202E_206F_200D_206D_206E_200C_202E(skipConditions).Value + }); + return true; + case 1: + num = ((playerCharacter == null) ? (-1957890921) : (-1957890922)); + break; + } } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckQuestWorkConditions(ElementId elementId, QuestStep step) { QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(elementId); - if (questProgressInfo != null) + int num = ((questProgressInfo == null) ? (-268075335) : (-268075357)); + List> list2 = default(List>); + SkipConditions skipConditions = default(SkipConditions); + List list = default(List); + List list3 = default(List); + EClassJob classJob = default(EClassJob); + SkipStepConditions skipStepConditions = default(SkipStepConditions); + while (true) { - if (QuestWorkUtils.HasCompletionFlags(step.CompletionQuestVariablesFlags) && QuestWorkUtils.MatchesQuestWork(step.CompletionQuestVariablesFlags, questProgressInfo)) + int num2 = num; + int num3 = -268075352; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - logger.LogInformation("Skipping step, as quest variables match (step is complete)"); + case 17: + return false; + case 11: + num = ((!QuestWorkUtils.HasCompletionFlags(_202E_200C_200C_206E_206A_206E_206A_202A_202E_202E_200C_202B_206A_206B_202B_200B_202E_202B_206E_206A_200D_202C_206C_202A_202D_202E_206D_206E_200C_202D_206B_202C_202B_206C_206E_206F_202D_202E_202C_202D_202E(step))) ? (-268075346) : (-268075352)); + break; + case 12: + list2 = _202C_200E_202B_200F_200E_206D_200D_202C_206E_200B_200C_200E_200C_206D_206E_202B_200C_206C_200F_206B_206C_206F_202B_206B_200C_202D_206B_200F_202E_202B_202B_200E_202B_202B_200B_202E_202B_200C_202D_200E_202E(step); + num = ((list2 == null) ? (-268075333) : (-268075354)); + break; + case 3: + skipConditions = _202B_200B_206D_206E_206C_200F_200C_206F_200D_206A_206B_202B_202C_200D_206B_206D_206C_200C_206F_200F_206A_202D_200E_206A_206C_200B_202C_202C_200C_206C_200B_200E_206F_200E_202E_206E_202C_206F_202D_200D_202E(step); + num = ((skipConditions == null) ? (-268075348) : (-268075353)); + break; + case 9: + num = ((list.Count <= 0) ? (-268075335) : (-268075334)); + break; + case 2: + num = (list3.Contains(classJob) ? (-268075335) : (-268075345)); + break; + case 14: + { + QuestProgressInfo questWork = questController.GetInitialQuestProgressInfo(elementId) ?? questProgressInfo; + num = (QuestWorkUtils.MatchesRequiredQuestWorkConfig(list2, questWork, logger) ? (-268075333) : (-268075360)); + break; + } + case 6: + num = ((step == null) ? (-268075348) : (-268075349)); + break; + case 7: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1199565168), Array.Empty()); return true; - } - if (step != null) - { - SkipConditions skipConditions = step.SkipConditions; - if (skipConditions != null) + case 5: + num = -268075357; + break; + case 1: + list = _206A_206E_200C_200F_206C_206B_200C_202E_206C_202C_200C_202D_206D_202A_200E_202B_200F_206E_202D_200C_206E_206D_206B_206D_206E_200C_202C_200B_202B_206D_206C_200F_206F_200F_202C_200C_206D_206B_200B_206D_202E(step); + num = ((list == null) ? (-268075335) : (-268075359)); + break; + case 10: + num = ((!QuestWorkUtils.MatchesQuestWork(_200E_206A_202D_202A_202B_202E_206B_202A_206B_206C_202A_206D_202D_202B_206F_206F_202E_206C_200F_200B_206D_200F_206D_200C_202B_200E_200D_200B_206A_202B_200D_202D_202C_202A_202C_202E_206C_206F_200C_202E_202E(skipStepConditions), questProgressInfo)) ? (-268075348) : (-268075355)); + break; + case 15: + skipStepConditions = _200C_206A_206A_206F_200D_206D_202C_202D_202D_202B_206D_202D_200D_202D_202C_206B_200B_202E_206E_202A_200F_206F_200F_200F_200B_206A_200D_206C_200E_200C_200B_202E_206F_206B_206E_200F_206E_206E_200B_202E_202E(skipConditions); + num = ((skipStepConditions == null) ? (-268075348) : (-268075358)); + break; + case 16: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1045107951), Array.Empty()); + return true; + case 19: + num = ((step == null) ? (-268075335) : (-268075351)); + break; + case 13: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1316937506), Array.Empty()); + return true; + case 8: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1110997016), Array.Empty()); + return true; + case 18: + list3 = _206A_206E_200C_200F_206C_206B_200C_202E_206C_202C_200C_202D_206D_202A_200E_202B_200F_206E_202D_200C_206E_206D_206B_206D_206E_200C_202C_200B_202B_206D_206C_200F_206F_200F_202C_200C_206D_206B_200B_206D_202E(step).SelectMany((EExtendedClassJob x) => classJobUtils.AsIndividualJobs(x, elementId)).ToList(); + classJob = questProgressInfo.ClassJob; + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(2052825077), new object[2] { - SkipStepConditions stepIf = skipConditions.StepIf; - if (stepIf != null && QuestWorkUtils.MatchesQuestWork(stepIf.CompletionQuestVariablesFlags, questProgressInfo)) - { - logger.LogInformation("Skipping step, as quest variables match (step can be skipped)"); - return true; - } - } - } - if (step != null) - { - List> requiredQuestVariables = step.RequiredQuestVariables; - if (requiredQuestVariables != null && !QuestWorkUtils.MatchesRequiredQuestWorkConfig(requiredQuestVariables, questProgressInfo, logger)) - { - logger.LogInformation("Skipping step, as required variables do not match"); - return true; - } - } - if (step != null) - { - List requiredQuestAcceptedJob = step.RequiredQuestAcceptedJob; - if (requiredQuestAcceptedJob != null && requiredQuestAcceptedJob.Count > 0) - { - 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)); - if (classJob != EClassJob.Adventurer && !list.Contains(classJob)) - { - logger.LogInformation("Skipping step, as quest was accepted on a different job"); - return true; - } - } + classJob, + string.Join(global::_003CModule_003E._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(1601568869), list3) + }); + num = ((classJob == EClassJob.Adventurer) ? (-268075335) : (-268075350)); + break; + case 4: + num = ((step == null) ? (-268075333) : (-268075356)); + break; + case 0: + num = ((!QuestWorkUtils.MatchesQuestWork(_202E_200C_200C_206E_206A_206E_206A_202A_202E_202E_200C_202B_206A_206B_202B_200B_202E_202B_206E_206A_200D_202C_206C_202A_202D_202E_206D_206E_200C_202D_206B_202C_202B_206C_206E_206F_202D_202E_202C_202D_202E(step), questProgressInfo)) ? (-268075346) : (-268075336)); + break; } } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckJobCondition(ElementId elementId, QuestStep step) { - if (step != null) + int num = ((step == null) ? (-324171431) : (-324171429)); + List list = default(List); + List list2 = default(List); + uint? num7 = default(uint?); + while (true) { - List requiredCurrentJob = step.RequiredCurrentJob; - if (requiredCurrentJob != null && requiredCurrentJob.Count > 0) + int num2 = num; + int num3 = -324171430; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + EClassJob? obj; + switch (num5 - (num6 + num6)) { - 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)); - if (!list.Contains(valueOrDefault)) - { - logger.LogInformation("Skipping step, as step requires a different job"); - return true; - } + default: + continue; + case 6: + num = -324171429; + continue; + case 1: + list = _206C_200E_202C_206B_202E_206D_200B_206D_200C_202C_206B_202C_200B_202D_200F_202B_206C_200C_206D_206B_206F_200E_202E_206B_200E_202E_202A_202D_206D_200C_202C_206F_206F_200D_206A_200E_206F_200D_206F_200F_202E(step); + num = ((list == null) ? (-324171431) : (-324171426)); + continue; + case 2: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1964408447), Array.Empty()); + return true; + case 3: + return false; + case 0: + obj = null; + break; + case 7: + { + list2 = _206C_200E_202C_206B_202E_206D_200B_206D_200C_202C_206B_202C_200B_202D_200F_202B_206C_200C_206D_206B_206F_200E_202E_206B_200E_202E_202A_202D_206D_200C_202C_206F_206F_200D_206A_200E_206F_200D_206F_200F_202E(step).SelectMany((EExtendedClassJob x) => classJobUtils.AsIndividualJobs(x, elementId)).ToList(); + IPlayerCharacter playerCharacter = _202D_206B_202D_202C_200F_200F_206C_200C_202E_206C_206E_200C_202B_202B_202C_206E_206B_202D_206C_200C_206A_206F_202E_200C_200E_200F_206E_202B_202A_206E_200F_206D_200D_206E_200C_200B_206C_202E_200D_206B_202E(objectTable); + num7 = ((playerCharacter != null) ? new uint?(_206D_200E_206E_202C_202B_206B_202A_200C_206B_206D_200E_206E_206F_202E_202D_206D_200F_202B_202B_202A_200F_202E_206E_206B_200F_200E_206D_206D_206B_200D_206B_206B_206E_206D_200D_206D_200F_200B_202E_206C_202E((ICharacter)playerCharacter).RowId) : ((uint?)null)); + num = (num7.HasValue ? (-324171425) : (-324171430)); + continue; } + case 4: + num = ((list.Count <= 0) ? (-324171431) : (-324171427)); + continue; + case 5: + obj = (EClassJob)num7.GetValueOrDefault(); + break; + } + EClassJob? eClassJob = obj; + EClassJob valueOrDefault = eClassJob.GetValueOrDefault(); + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1181558531), new object[2] + { + valueOrDefault, + string.Join(global::_003CModule_003E._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(-1845592431), list2) + }); + num = (list2.Contains(valueOrDefault) ? (-324171431) : (-324171432)); } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckPositionCondition(SkipStepConditions skipConditions) { - IGameObject gameObject = objectTable[0]; - NearPositionCondition nearPosition = skipConditions.NearPosition; - if (nearPosition != null && clientState.TerritoryType == nearPosition.TerritoryId && gameObject != null && Vector3.Distance(nearPosition.Position, gameObject.Position) <= nearPosition.MaximumDistance) + IPlayerCharacter playerCharacter = _202D_206B_202D_202C_200F_200F_206C_200C_202E_206C_206E_200C_202B_202B_202C_206E_206B_202D_206C_200C_206A_206F_202E_200C_200E_200F_206E_202B_202A_206E_200F_206D_200D_206E_200C_200B_206C_202E_200D_206B_202E(objectTable); + NearPositionCondition nearPositionCondition = _200B_202E_200C_202A_202B_202B_202C_200D_202E_206A_206D_206B_206F_200D_206C_200F_200E_202B_200C_202C_202A_202E_202A_202E_202A_206D_202A_202A_200C_200C_200B_200F_202C_206C_206F_202D_200E_200E_200D_202B_202E(skipConditions); + int num = ((nearPositionCondition == null) ? 1554570231 : 1554570226); + NearPositionCondition nearPositionCondition2 = default(NearPositionCondition); + while (true) { - logger.LogInformation("Skipping step, as we're near the position"); - return true; + int num2 = num; + int num3 = 1554570227; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + nearPositionCondition2 = _202A_202A_200B_200C_202E_202D_206D_200C_202D_202C_202D_200E_202E_202D_202D_206A_202C_206D_206B_200F_200E_200D_206E_206F_200F_206F_206B_200B_202B_200D_202D_200E_200D_200D_200D_206B_200E_202C_200B_206B_202E(skipConditions); + num = ((nearPositionCondition2 == null) ? 1554570228 : 1554570234); + break; + case 8: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1631609441), Array.Empty()); + return true; + case 10: + num = 1554570226; + break; + case 5: + num = ((playerCharacter == null) ? 1554570231 : 1554570229); + break; + case 9: + num = ((_206D_202A_206F_200B_206C_202A_202C_206D_206B_202E_206E_200E_206C_206F_200F_200F_202C_200D_206F_202B_200B_206E_200D_200C_206A_206E_206E_200D_206F_206D_206A_206C_206F_202C_202C_206E_202D_206F_202B_206D_202E(clientState) != _206D_200B_200F_202A_206C_200F_200F_200B_206A_206E_200E_206B_202B_206B_202B_202A_200C_206B_206A_200D_206F_200F_202A_206E_200E_202B_202B_206F_206D_206E_200F_206A_206B_200F_202D_200B_206C_206A_200E_200E_202E(nearPositionCondition2)) ? 1554570228 : 1554570227); + break; + case 6: + num = ((!(Vector3.Distance(_200C_202A_202B_206D_200F_202D_202B_206E_202D_202B_206E_200C_200D_206E_202C_202D_200E_202C_206D_206B_206C_206F_200D_200F_202D_206B_202D_206A_202A_206A_202D_206B_202B_200D_200B_206B_206F_200E_206A_206C_202E(nearPositionCondition), _200C_206D_202C_202D_202E_200C_202E_206D_200F_202E_202C_200C_202C_202B_200B_202D_206B_200F_200F_206C_206D_206F_202B_206B_200F_206D_200F_206A_206A_200F_206F_202C_206B_202C_206E_206E_200D_200C_202A_200D_202E((IGameObject)playerCharacter)) <= _206E_200E_206E_200E_206C_206C_200E_202E_206C_200B_206A_200D_206C_202A_200E_202B_206C_200E_202A_202E_206C_206C_206B_206C_200E_200C_202E_200F_200F_200B_202B_200E_200B_200D_202C_200F_202C_200C_202B_200D_202E(nearPositionCondition))) ? 1554570231 : 1554570235); + break; + case 1: + num = ((_206D_202A_206F_200B_206C_202A_202C_206D_206B_202E_206E_200E_206C_206F_200F_200F_202C_200D_206F_202B_200B_206E_200D_200C_206A_206E_206E_200D_206F_206D_206A_206C_206F_202C_202C_206E_202D_206F_202B_206D_202E(clientState) != _206D_200B_200F_202A_206C_200F_200F_200B_206A_206E_200E_206B_202B_206B_202B_202A_200C_206B_206A_200D_206F_200F_202A_206E_200E_202B_202B_206F_206D_206E_200F_206A_206B_200F_202D_200B_206C_206A_200E_200E_202E(nearPositionCondition)) ? 1554570231 : 1554570230); + break; + case 7: + return false; + case 0: + num = ((playerCharacter == null) ? 1554570228 : 1554570225); + break; + case 3: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1193189984), Array.Empty()); + return true; + case 2: + num = ((!(_206E_200E_206E_200E_206C_206C_200E_202E_206C_200B_206A_200D_206C_202A_200E_202B_206C_200E_202A_202E_206C_206C_206B_206C_200E_200C_202E_200F_200F_200B_202B_200E_200B_200D_202C_200F_202C_200C_202B_200D_202E(nearPositionCondition2) <= Vector3.Distance(_200C_202A_202B_206D_200F_202D_202B_206E_202D_202B_206E_200C_200D_206E_202C_202D_200E_202C_206D_206B_206C_206F_200D_200F_202D_206B_202D_206A_202A_206A_202D_206B_202B_200D_200B_206B_206F_200E_206A_206C_202E(nearPositionCondition2), _200C_206D_202C_202D_202E_200C_202E_206D_200F_202E_202C_200C_202C_202B_200B_202D_206B_200F_200F_206C_206D_206F_202B_206B_200F_206D_200F_206A_206A_200F_206F_202C_206B_202C_206E_206E_200D_200C_202A_200D_202E((IGameObject)playerCharacter)))) ? 1554570228 : 1554570224); + break; + } } - NearPositionCondition notNearPosition = skipConditions.NotNearPosition; - if (notNearPosition != null && clientState.TerritoryType == notNearPosition.TerritoryId && gameObject != null && notNearPosition.MaximumDistance <= Vector3.Distance(notNearPosition.Position, gameObject.Position)) - { - logger.LogInformation("Skipping step, as we're not near the position"); - return true; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckPickUpTurnInQuestIds(QuestStep step) { - if (step.PickUpQuestId != null && questFunctions.IsQuestAcceptedOrComplete(step.PickUpQuestId)) + int num = ((!_200D_200F_200C_202A_206D_200E_202E_206B_200D_206C_206A_200E_200D_206D_202E_200B_200D_206D_200F_200D_200B_202B_206B_200F_200C_202D_202E_206F_206F_202D_202B_200F_206A_206C_206F_202D_202A_202B_206F_206B_202E(_206C_206E_206D_200B_200E_202A_202C_206F_200E_202C_200F_202A_206C_202A_200C_200E_202B_200B_200B_206C_202E_200E_206C_200C_200F_200B_206D_200F_200E_206C_206D_202B_202D_206D_206E_202C_200F_202B_202A_202C_202E(step), (ElementId)null)) ? (-743044795) : (-743044800)); + while (true) { - logger.LogInformation("Skipping step, as we have already picked up the relevant quest"); - return true; + int num2 = num; + int num3 = -743044794; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = ((!_200D_200F_200C_202A_206D_200E_202E_206B_200D_206C_206A_200E_200D_206D_202E_200B_200D_206D_200F_200D_200B_202B_206B_200F_200C_202D_202E_206F_206F_202D_202B_200F_206A_206C_206F_202D_202A_202B_206F_206B_202E(_202E_200C_200D_202D_206A_202C_202D_202E_206D_206A_206D_206B_206B_206B_200B_206E_206A_206B_206C_202A_206A_202D_202C_202D_202A_200F_206D_200B_206C_206D_206D_206D_202C_206C_206F_206C_206C_206B_200D_200C_202E(step), (ElementId)null)) ? (-743044793) : (-743044799)); + break; + case 9: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-152774841), Array.Empty()); + return true; + case 4: + num = ((!gameFunctions.IsFlyingUnlocked(_206A_202B_202C_200B_202D_206B_200F_202C_206E_200B_206C_200C_202B_202D_202C_200C_202A_200E_206E_206A_200E_200F_200C_206C_206A_206F_206C_200D_200C_206D_200D_206A_202E_206C_206F_200B_206E_200B_206E_200E_202E(step))) ? (-743044786) : (-743044785)); + break; + case 13: + num = -743044800; + break; + case 8: + num = ((!_200D_200F_200C_202A_206D_200E_202E_206B_200D_206C_206A_200E_200D_206D_202E_200B_200D_206D_200F_200D_200B_202B_206B_200F_200C_202D_202E_206F_206F_202D_202B_200F_206A_206C_206F_202D_202A_202B_206F_206B_202E(_206C_206E_206D_200B_200E_202A_202C_206F_200E_202C_200F_202A_206C_202A_200C_200E_202B_200B_200B_206C_202E_200E_206C_200C_200F_200B_206D_200F_200E_206C_206D_202B_202D_206D_206E_202C_200F_202B_202A_202C_202E(step), (ElementId)null)) ? (-743044791) : (-743044790)); + break; + case 14: + num = (configuration.Advanced.SkipAetherCurrents ? (-743044785) : (-743044798)); + break; + case 5: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1541475572), Array.Empty()); + return true; + case 2: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(363473402), Array.Empty()); + return true; + case 11: + num = ((!QuestData.HardModePrimals.Contains(_206C_206E_206D_200B_200E_202A_202C_206F_200E_202C_200F_202A_206C_202A_200C_200E_202B_200B_200B_206C_202E_200E_206C_200C_200F_200B_206D_200F_200E_206C_206D_202B_202D_206D_206E_202C_200F_202B_202A_202C_202E(step))) ? (-743044791) : (-743044796)); + break; + case 6: + num = ((!questFunctions.IsQuestAcceptedOrComplete(_206C_206E_206D_200B_200E_202A_202C_206F_200E_202C_200F_202A_206C_202A_200C_200E_202B_200B_200B_206C_202E_200E_206C_200C_200F_200B_206D_200F_200E_206C_206D_202B_202D_206D_206E_202C_200F_202B_202A_202C_202E(step))) ? (-743044795) : (-743044797)); + break; + case 1: + num = ((!_200D_200F_200C_202A_206D_200E_202E_206B_200D_206C_206A_200E_200D_206D_202E_200B_200D_206D_200F_200D_200B_202B_206B_200F_200C_202D_202E_206F_206F_202D_202B_200F_206A_206C_206F_202D_202A_202B_206F_206B_202E(_206C_206E_206D_200B_200E_202A_202C_206F_200E_202C_200F_202A_206C_202A_200C_200E_202B_200B_200B_206C_202E_200E_206C_200C_200F_200B_206D_200F_200E_206C_206D_202B_202D_206D_206E_202C_200F_202B_202A_202C_202E(step), (ElementId)null)) ? (-743044786) : (-743044788)); + break; + case 0: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-786278490), Array.Empty()); + return true; + case 7: + num = ((!questFunctions.IsQuestComplete(_202E_200C_200D_202D_206A_202C_202D_202E_206D_206A_206D_206B_206B_206B_200B_206E_206A_206B_206C_202A_206A_202D_202C_202D_202A_200F_206D_200B_206C_206D_206D_206D_202C_206C_206F_206C_206C_206B_200D_200C_202E(step))) ? (-743044793) : (-743044794)); + break; + case 10: + num = ((!QuestData.AetherCurrentQuests.Contains(_206C_206E_206D_200B_200E_202A_202C_206F_200E_202C_200F_202A_206C_202A_200C_200E_202B_200B_200B_206C_202E_200E_206C_200C_200F_200B_206D_200F_200E_206C_206D_202B_202D_206D_206E_202C_200F_202B_202A_202C_202E(step))) ? (-743044786) : (-743044792)); + break; + case 15: + return false; + case 12: + num = ((!configuration.Advanced.SkipARealmRebornHardModePrimals) ? (-743044791) : (-743044787)); + break; + } } - if (step.TurnInQuestId != null && questFunctions.IsQuestComplete(step.TurnInQuestId)) - { - logger.LogInformation("Skipping step, as we have already completed the relevant quest"); - return true; - } - if (step.PickUpQuestId != null && configuration.Advanced.SkipAetherCurrents && QuestData.AetherCurrentQuests.Contains(step.PickUpQuestId)) - { - logger.LogInformation("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"); - return true; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe bool CheckTaxiStandUnlocked(QuestStep step) { UIState* ptr = UIState.Instance(); - byte? taxiStandId = step.TaxiStandId; - if (taxiStandId.HasValue) + byte? b = _206A_200E_202A_206F_206D_200E_200F_206D_202E_206D_202E_200D_206C_200B_206A_202C_202A_202C_206A_202E_200B_200F_202E_202A_206E_202B_206C_200C_202A_200C_202B_200F_206E_200C_206E_206B_202C_200B_206B_202E(step); + int num = ((!b.HasValue) ? (-46785802) : (-46785804)); + byte valueOrDefault = default(byte); + while (true) { - byte valueOrDefault = taxiStandId.GetValueOrDefault(); - if (ptr->IsChocoboTaxiStandUnlocked((uint)(valueOrDefault + 1179648))) + int num2 = num; + int num3 = -46785803; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - logger.LogInformation("Skipping step, as taxi stand {TaxiStandId} is unlocked", valueOrDefault); + case 2: + num = -46785804; + break; + case 0: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(538050698), new object[1] { valueOrDefault }); return true; + case 1: + { + valueOrDefault = b.GetValueOrDefault(); + byte num5 = valueOrDefault; + num3 = 1179648; + num4 = num5; + int num6 = num4 ^ num3; + int num7 = num4 & num3; + num = ((!ptr->IsChocoboTaxiStandUnlocked((uint)(num6 + (num7 + num7)))) ? (-46785802) : (-46785803)); + break; + } + case 3: + return false; } } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe bool IsBetterOrEqualItemEquipped(uint itemId) { - if (objectTable[0] == null) + int num = ((_202D_206B_202D_202C_200F_200F_206C_200C_202E_206C_206E_200C_202B_202B_202C_206E_206B_202D_206C_200C_206A_206F_202E_200C_200E_200F_206E_202B_202A_206E_200F_206D_200D_206E_200C_200B_206C_202E_200D_206B_202E(objectTable) != null) ? (-1775728062) : (-1775728060)); + uint itemLevel = default(uint); + InventoryItem* inventorySlot = default(InventoryItem*); + InventoryManager* ptr = default(InventoryManager*); + while (true) { - return false; + int num2 = num; + int num3 = -1775728061; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 11: + _200B_202C_206E_206E_200E_206E_200C_200B_200C_202C_206A_202D_206C_200F_206B_202B_206D_206B_206E_206E_206A_202C_200E_200D_202A_202B_206E_202C_200D_206A_200B_202D_206B_202C_206C_200B_202E_202E_200C_206F_202E((ILogger)logger, global::_003CModule_003E._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(2103966694), new object[1] { itemId }); + return true; + case 6: + itemLevel = gameFunctions.GetItemLevel(itemId); + num = ((itemLevel != 0) ? (-1775728053) : (-1775728056)); + break; + case 0: + num = -1775728060; + break; + case 7: + return false; + case 10: + return false; + case 3: + { + uint itemLevel2 = gameFunctions.GetItemLevel(inventorySlot->ItemId); + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(1831085937), new object[2] { itemLevel2, itemLevel }); + return itemLevel2 >= itemLevel; + } + case 9: + inventorySlot = ptr->GetInventoryContainer(InventoryType.EquippedItems)->GetInventorySlot(0); + num = ((inventorySlot == null) ? (-1775728057) : (-1775728063)); + break; + case 8: + num = ((((ItemHandle)itemId).GetCount() != 0) ? (-1775728054) : (-1775728058)); + break; + case 4: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-92174121), new object[1] { itemId }); + return false; + case 1: + ptr = InventoryManager.Instance(); + num = ((ptr != null) ? (-1775728059) : (-1775728055)); + break; + case 5: + _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1557496953), new object[1] { itemId }); + return true; + case 2: + num = ((inventorySlot->ItemId != 0) ? (-1775728064) : (-1775728057)); + break; + } } - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) - { - return false; - } - uint itemLevel = gameFunctions.GetItemLevel(itemId); - if (itemLevel == 0) - { - 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) - { - logger.LogInformation("Item {ItemId} not found in inventory, skipping equip step", itemId); - return true; - } - InventoryItem* inventorySlot = ptr->GetInventoryContainer(InventoryType.EquippedItems)->GetInventorySlot(0); - if (inventorySlot == null || inventorySlot->ItemId == 0) - { - logger.LogDebug("No item equipped in main hand slot, should equip item {ItemId}", itemId); - return false; - } - uint itemLevel2 = gameFunctions.GetItemLevel(inventorySlot->ItemId); - logger.LogDebug("Comparing equipped item level {EquippedLevel} with target item level {TargetLevel}", itemLevel2, itemLevel); - return itemLevel2 >= itemLevel; } public override ETaskResult Update() @@ -527,5 +1329,265 @@ internal static class SkipCondition { return false; } + + static string _206C_200C_206C_202A_202B_206A_200F_206C_200D_200E_202C_202B_202B_206F_200D_200C_206A_200B_206C_202D_202D_200E_200E_206B_206F_206D_200B_202D_206F_200E_202C_202C_206A_206F_206C_202E_200B_202E_200E_206C_202E(string P_0, ReadOnlySpan P_1) + { + return string.Join(P_0, P_1); + } + + static void _202C_202B_206F_206E_206F_202E_200D_202C_206B_206A_206E_200F_202B_202B_202A_206E_206E_206C_206C_200F_200D_206B_202C_200E_200F_200C_202A_206D_202A_200D_206A_200F_200E_202C_202D_202A_206F_200F_206A_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static EExtraSkipCondition? _200B_202B_200C_200D_206E_202D_206D_200B_200B_202A_200E_206A_206E_206A_206C_200C_200F_202A_202D_206E_206D_202B_206C_202B_200F_202C_206C_202C_200F_202A_206F_202C_206C_206E_200D_202B_206A_202E_200F_202D_202E(SkipStepConditions P_0) + { + return P_0.ExtraCondition; + } + + static ELockedSkipCondition? _206D_202A_202D_206C_206B_200F_202B_206C_202B_206E_202A_200F_200B_206D_206E_206D_206B_206E_206A_200F_206F_202A_202B_200F_206C_206F_206A_200C_206A_202B_202C_200E_202B_202D_202D_206B_202B_206B_200E_206B_202E(SkipStepConditions P_0) + { + return P_0.Flying; + } + + static ushort _206A_202B_202C_200B_202D_206B_200F_202C_206E_200B_206C_200C_202B_202D_202C_200C_202A_200E_206E_206A_200E_200F_200C_206C_206A_206F_206C_200D_200C_206D_200D_206A_202E_206C_206F_200B_206E_200B_206E_200E_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static ELockedSkipCondition? _206A_202C_202A_202E_200E_206F_200E_202B_202D_200F_206A_202B_202A_200D_206E_202E_200E_202A_200D_206C_202D_206B_200D_202D_202E_206B_206E_206C_200D_206B_206E_206C_200D_206D_206E_206E_202E_200D_200F_202A_202E(SkipStepConditions P_0) + { + return P_0.Chocobo; + } + + static bool _202D_202A_206D_202C_202C_200F_206F_206C_202B_200D_202A_206B_202B_202C_202E_202E_200B_206D_206C_206A_200D_202D_202E_202C_200B_200D_200E_206D_200E_206E_206F_202D_206E_200B_202D_206B_206B_206C_200F_202E(uint P_0) + { + return PlayerStateHelper.IsMountUnlocked(P_0); + } + + static List _200C_200E_202A_200B_206F_206B_202D_206C_202B_206F_206F_206D_202B_202C_206D_206C_200E_202B_200B_200B_202B_202B_206F_206A_200C_206A_206B_206A_202D_206D_200E_200B_206B_202A_200B_200B_206B_202E_202D_202E(SkipStepConditions P_0) + { + return P_0.InTerritory; + } + + static uint _206D_202A_206F_200B_206C_202A_202C_206D_206B_202E_206E_200E_206C_206F_200F_200F_202C_200D_206F_202B_200B_206E_200D_200C_206A_206E_206E_200D_206F_206D_206A_206C_206F_202C_202C_206E_202D_206F_202B_206D_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static List _206F_200F_206C_200B_206A_200D_200C_206A_202E_202B_202C_202B_202D_206E_200C_206C_200C_206A_206D_206D_206E_206B_202B_200C_200C_200E_202D_200F_200E_200F_206A_202D_202A_200C_206C_206F_202A_202E_206C_202C_202E(SkipStepConditions P_0) + { + return P_0.NotInTerritory; + } + + static bool? _202B_200C_206C_206B_202C_206C_206C_202C_206C_206A_206B_202A_206F_206F_202A_200F_200E_200D_200C_200B_206C_202D_200D_206B_206E_202C_200B_206E_202D_200D_202B_206A_200C_200C_202B_206A_202C_200E_200B_202C_202E(SkipStepConditions P_0) + { + return P_0.Diving; + } + + static bool _200C_202C_202A_200C_206D_202D_200F_202B_200E_202C_202C_202A_202E_206A_206F_206F_202A_206F_202D_206E_206D_202C_206E_200F_206D_206B_202B_206F_200C_206C_206C_206A_200C_206D_200D_202A_206A_202D_202D_206A_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static List _206F_206C_202A_202B_202E_202E_200C_202B_206B_200C_202C_202D_202C_202C_202C_206D_206D_206F_200F_200F_202C_206E_202A_206B_200D_206D_200D_202D_206D_206E_202C_200E_200B_202C_200D_206D_200F_202C_200B_202C_202E(SkipStepConditions P_0) + { + return P_0.QuestsCompleted; + } + + static List _200B_206F_202E_206E_200B_206C_200B_206F_202A_200B_206B_202A_206A_200F_202D_202A_200D_206E_202D_200F_200B_206D_200C_202A_206A_206E_200B_206F_200E_200F_200E_202B_200D_206E_202C_200F_200C_206E_202E_200D_202E(SkipStepConditions P_0) + { + return P_0.QuestsAccepted; + } + + static bool _200F_206F_202E_202E_200F_202C_200C_206C_202C_202B_202B_200E_200F_202A_200D_202B_200E_202D_200F_206B_200E_200F_202D_206A_206C_200C_200F_200D_206D_206D_202D_206D_202B_206C_202C_206B_206D_206B_202E(SkipStepConditions P_0) + { + return P_0.NotTargetable; + } + + static uint? _202D_202D_206E_202A_206D_200E_202B_202C_206C_200C_206C_200C_202E_202A_202A_206B_200B_206A_206E_206B_206F_200F_206F_200D_202A_206E_200E_200C_206D_200D_202B_202D_202C_206F_202B_206C_202C_202C_200E_200F_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static IPlayerCharacter _202D_206B_202D_202C_200F_200F_206C_200C_202E_206C_206E_200C_202B_202B_202C_206E_206B_202D_206C_200C_206A_206F_202E_200C_200E_200F_206E_202B_202A_206E_200F_206D_200D_206E_200C_200B_206C_202E_200D_206B_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3? _206E_200B_206E_206E_206C_206D_206C_206D_200D_202E_202E_202C_206A_200F_200C_206D_202E_200F_202B_200C_200D_206F_200D_202C_200C_202B_206B_206D_206A_206B_206A_202E_200F_202B_200F_200F_200C_206D_202A_200D_202E(QuestStep P_0) + { + return P_0.Position; + } + + static Vector3 _200C_206D_202C_202D_202E_200C_202E_206D_200F_202E_202C_200C_202C_202B_200B_202D_206B_200F_200F_206C_206D_206F_202B_206B_200F_206D_200F_206A_206A_200F_206F_202C_206B_202C_206E_206E_200D_200C_202A_200D_202E(IGameObject P_0) + { + return P_0.Position; + } + + static bool _202C_202E_202B_200F_200C_202B_202E_206A_200D_206C_200C_206F_206B_200F_206D_202E_202C_200F_206D_202C_202A_200B_206E_206F_202C_202B_202C_206A_206E_206E_200E_200F_206C_200B_206E_206F_206C_206F_206D_202C_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } + + static List _202E_202E_202E_200F_202D_206B_206A_206D_206A_202A_206B_200E_202C_202D_206C_202B_200E_206F_200E_200F_202C_200E_206C_202B_206E_200E_206F_202A_202B_206B_202C_202A_206B_202B_206D_200E_200D_206D_202E_206A_202E(SkipStepConditions P_0) + { + return P_0.NotNamePlateIconId; + } + + static nint _206D_200C_200B_206F_200E_202D_200D_200C_200E_200D_202E_206A_202A_202B_200D_202A_202E_200F_206F_206D_202D_206D_200D_202B_202E_206F_202B_202B_200C_206D_200C_206F_206E_200C_206D_200B_202C_206A_206B_206B_202E(IGameObject P_0) + { + return P_0.Address; + } + + static SkipItemConditions _202D_202E_202B_200B_202D_206C_202A_200B_202D_200B_200C_206B_206F_202E_206F_206A_206F_206A_202A_200F_202A_202B_206D_200F_202C_202E_206B_200C_206C_206A_202E_206C_202B_200C_206A_206C_206B_206D_206E_206A_202E(SkipStepConditions P_0) + { + return P_0.Item; + } + + static bool _202E_200E_206B_202D_206D_200D_202E_206F_202A_200E_206D_202E_206E_206C_202C_202D_200D_200D_200E_206A_206D_206D_202A_200D_200F_202B_206B_202E_206D_202E_206F_200C_202A_206C_206C_200D_200E_200C_200E_202C_202E(SkipItemConditions P_0) + { + return P_0.NotInInventory; + } + + static uint? _202C_200C_202B_200B_200B_202A_202C_200E_200D_206A_200F_206A_206F_200D_200F_202D_200B_202E_200F_206C_200F_206A_206A_206F_206E_206A_200F_206F_200E_206D_202D_200E_200C_200E_200B_200C_206E_202C_202A_202E(QuestStep P_0) + { + return P_0.ItemId; + } + + static bool _200D_200E_206B_200E_200B_206D_206A_200D_200E_200E_202D_200D_206B_202A_206C_202C_206E_200C_206D_206B_202B_206A_200C_206D_206D_202C_206F_200F_200F_200B_200F_206E_206A_202B_206E_202D_200C_202E_206C_202A_202E(SkipItemConditions P_0) + { + return P_0.InInventory; + } + + static bool _206C_206F_206B_206F_202B_206E_206D_202A_206C_200F_206D_206B_200F_206B_202C_206B_202E_200D_206C_202D_206D_206D_202B_202B_206E_206F_206C_202D_202D_202A_200C_200D_206D_202E_200C_206F_202B_202D_200F_202A_202E(SkipItemConditions P_0) + { + return P_0.BetterOrEqualItemEquipped; + } + + static EInteractionType _200E_206D_206F_200B_200F_206E_202B_200E_200E_206C_206B_206F_200C_202A_206C_206F_200E_200B_202D_202B_200B_200B_206D_206A_200B_200C_202B_202C_202B_200B_202B_202C_206D_206D_206B_206D_206F_200F_202C_206C_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static int? _202C_206B_202C_202C_206A_206B_200D_206B_202A_202D_202B_206A_206A_202C_206A_206F_200B_206A_202C_206A_206A_200F_206E_202D_202B_202C_200E_200F_206C_206C_200E_206C_200E_202A_200F_200F_202E_200B_206E_202D_202E(QuestStep P_0) + { + return P_0.ItemCount; + } + + static EAetheryteLocation? _200E_200D_206D_206D_200C_202B_206F_206C_200B_206F_206A_206B_202D_206A_206A_206A_200C_206A_206B_202E_206E_202D_200B_200F_206E_200D_206F_200D_200F_200B_206A_202A_206E_206C_200D_206A_206C_206F_200B_206D_202E(QuestStep P_0) + { + return P_0.Aetheryte; + } + + static EAetheryteLocation? _200D_200E_206B_202D_206D_202D_200C_206E_206B_200B_202A_200E_202A_200F_200C_206E_200B_200C_206A_206B_200B_206E_206A_206F_200F_202E_200C_202B_200E_202C_202B_200C_206B_200C_202C_206C_200E_202C_202B_200E_202E(SkipStepConditions P_0) + { + return P_0.AetheryteLocked; + } + + static EAetheryteLocation? _206C_206F_202B_202A_206F_202C_206B_202E_206A_202D_200F_206C_200B_200D_200C_206D_202E_206C_200D_202A_200E_200F_206A_206B_200E_200D_202C_206F_206C_206E_202C_206A_200C_206E_200E_200F_206F_206C_206D_206D_202E(SkipStepConditions P_0) + { + return P_0.AetheryteUnlocked; + } + + static ushort? _206B_202A_206C_202A_200F_200B_202B_200D_206A_206F_200F_206C_202D_206B_202B_200C_206C_200F_206B_206D_200D_206C_200C_202C_206A_202C_206A_202C_200E_202B_202E_206E_206F_206E_202E_206F_200D_206D_206E_200C_202E(SkipStepConditions P_0) + { + return P_0.MinimumLevel; + } + + static byte _200C_202D_200F_206E_206B_202A_206D_206F_202B_202A_206E_206C_206A_206B_202A_200F_202B_200B_206F_200E_202D_200D_206B_206D_202D_206D_206F_202E_202D_202C_200C_200B_206F_200C_206C_206F_200D_200B_202B_206B_202E(ICharacter P_0) + { + return P_0.Level; + } + + static List _202E_200C_200C_206E_206A_206E_206A_202A_202E_202E_200C_202B_206A_206B_202B_200B_202E_202B_206E_206A_200D_202C_206C_202A_202D_202E_206D_206E_200C_202D_206B_202C_202B_206C_206E_206F_202D_202E_202C_202D_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static SkipConditions _202B_200B_206D_206E_206C_200F_200C_206F_200D_206A_206B_202B_202C_200D_206B_206D_206C_200C_206F_200F_206A_202D_200E_206A_206C_200B_202C_202C_200C_206C_200B_200E_206F_200E_202E_206E_202C_206F_202D_200D_202E(QuestStep P_0) + { + return P_0.SkipConditions; + } + + static SkipStepConditions _200C_206A_206A_206F_200D_206D_202C_202D_202D_202B_206D_202D_200D_202D_202C_206B_200B_202E_206E_202A_200F_206F_200F_200F_200B_206A_200D_206C_200E_200C_200B_202E_206F_206B_206E_200F_206E_206E_200B_202E_202E(SkipConditions P_0) + { + return P_0.StepIf; + } + + static IList _200E_206A_202D_202A_202B_202E_206B_202A_206B_206C_202A_206D_202D_202B_206F_206F_202E_206C_200F_200B_206D_200F_206D_200C_202B_200E_200D_200B_206A_202B_200D_202D_202C_202A_202C_202E_206C_206F_200C_202E_202E(SkipStepConditions P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static List> _202C_200E_202B_200F_200E_206D_200D_202C_206E_200B_200C_200E_200C_206D_206E_202B_200C_206C_200F_206B_206C_206F_202B_206B_200C_202D_206B_200F_202E_202B_202B_200E_202B_202B_200B_202E_202B_200C_202D_200E_202E(QuestStep P_0) + { + return P_0.RequiredQuestVariables; + } + + static List _206A_206E_200C_200F_206C_206B_200C_202E_206C_202C_200C_202D_206D_202A_200E_202B_200F_206E_202D_200C_206E_206D_206B_206D_206E_200C_202C_200B_202B_206D_206C_200F_206F_200F_202C_200C_206D_206B_200B_206D_202E(QuestStep P_0) + { + return P_0.RequiredQuestAcceptedJob; + } + + static List _206C_200E_202C_206B_202E_206D_200B_206D_200C_202C_206B_202C_200B_202D_200F_202B_206C_200C_206D_206B_206F_200E_202E_206B_200E_202E_202A_202D_206D_200C_202C_206F_206F_200D_206A_200E_206F_200D_206F_200F_202E(QuestStep P_0) + { + return P_0.RequiredCurrentJob; + } + + static RowRef _206D_200E_206E_202C_202B_206B_202A_200C_206B_206D_200E_206E_206F_202E_202D_206D_200F_202B_202B_202A_200F_202E_206E_206B_200F_200E_206D_206D_206B_200D_206B_206B_206E_206D_200D_206D_200F_200B_202E_206C_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static NearPositionCondition _200B_202E_200C_202A_202B_202B_202C_200D_202E_206A_206D_206B_206F_200D_206C_200F_200E_202B_200C_202C_202A_202E_202A_202E_202A_206D_202A_202A_200C_200C_200B_200F_202C_206C_206F_202D_200E_200E_200D_202B_202E(SkipStepConditions P_0) + { + return P_0.NearPosition; + } + + static ushort _206D_200B_200F_202A_206C_200F_200F_200B_206A_206E_200E_206B_202B_206B_202B_202A_200C_206B_206A_200D_206F_200F_202A_206E_200E_202B_202B_206F_206D_206E_200F_206A_206B_200F_202D_200B_206C_206A_200E_200E_202E(NearPositionCondition P_0) + { + return P_0.TerritoryId; + } + + static Vector3 _200C_202A_202B_206D_200F_202D_202B_206E_202D_202B_206E_200C_200D_206E_202C_202D_200E_202C_206D_206B_206C_206F_200D_200F_202D_206B_202D_206A_202A_206A_202D_206B_202B_200D_200B_206B_206F_200E_206A_206C_202E(NearPositionCondition P_0) + { + return P_0.Position; + } + + static float _206E_200E_206E_200E_206C_206C_200E_202E_206C_200B_206A_200D_206C_202A_200E_202B_206C_200E_202A_202E_206C_206C_206B_206C_200E_200C_202E_200F_200F_200B_202B_200E_200B_200D_202C_200F_202C_200C_202B_200D_202E(NearPositionCondition P_0) + { + return P_0.MaximumDistance; + } + + static NearPositionCondition _202A_202A_200B_200C_202E_202D_206D_200C_202D_202C_202D_200E_202E_202D_202D_206A_202C_206D_206B_200F_200E_200D_206E_206F_200F_206F_206B_200B_202B_200D_202D_200E_200D_200D_200D_206B_200E_202C_200B_206B_202E(SkipStepConditions P_0) + { + return P_0.NotNearPosition; + } + + static ElementId _206C_206E_206D_200B_200E_202A_202C_206F_200E_202C_200F_202A_206C_202A_200C_200E_202B_200B_200B_206C_202E_200E_206C_200C_200F_200B_206D_200F_200E_206C_206D_202B_202D_206D_206E_202C_200F_202B_202A_202C_202E(QuestStep P_0) + { + return P_0.PickUpQuestId; + } + + static bool _200D_200F_200C_202A_206D_200E_202E_206B_200D_206C_206A_200E_200D_206D_202E_200B_200D_206D_200F_200D_200B_202B_206B_200F_200C_202D_202E_206F_206F_202D_202B_200F_206A_206C_206F_202D_202A_202B_206F_206B_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static ElementId _202E_200C_200D_202D_206A_202C_202D_202E_206D_206A_206D_206B_206B_206B_200B_206E_206A_206B_206C_202A_206A_202D_202C_202D_202A_200F_206D_200B_206C_206D_206D_206D_202C_206C_206F_206C_206C_206B_200D_200C_202E(QuestStep P_0) + { + return P_0.TurnInQuestId; + } + + static byte? _206A_200E_202A_206F_206D_200E_200F_206D_202E_206D_202E_200D_206C_200B_206A_202C_202A_202C_206A_202E_200B_200F_202E_202A_206E_202B_206C_200C_202A_200C_202B_200F_206E_200C_206E_206B_202C_200B_206B_202E(QuestStep P_0) + { + return P_0.TaxiStandId; + } + + static void _200B_202C_206E_206E_200E_206E_200C_200B_200C_202C_206A_202D_206C_200F_206B_202B_206D_206B_206E_206E_206A_202C_200E_200D_202A_202B_206E_202C_200D_206A_200B_202D_206B_202C_206C_200B_202E_202E_200C_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Shared/SkipMissingObject.cs b/Questionable/Questionable.Controller.Steps.Shared/SkipMissingObject.cs new file mode 100644 index 00000000..e4f6e40a --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/SkipMissingObject.cs @@ -0,0 +1,173 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +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 + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_200C_200F_202D_202C_206F_200B_206B_200D_202D_206B_202C_200B_206C_202C_202C_206A_202C_202C_200D_206C_200F_200E_206B_200B_200D_206E_202A_206F_206E_200F_200E_206D_206B_206E_202D_202B_200C_200E_202D_202E(typeof(Task).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(19, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(581809339)); + defaultInterpolatedStringHandler.AppendFormatted(DataId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1618480346)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_202B_200F_206A_202A_200F_200F_206F_202C_206C_200E_206B_202C_202B_206C_202E_206B_202E_202C_206E_206A_202C_200C_202E_202A_200F_206D_206C_200E_202A_206D_206E_202A_202B_200B_202C_200F_202B_206E_206D_202E(); + _202B_202B_206B_206C_202A_206D_200B_206B_202B_202E_202C_206F_200C_202D_200E_200B_202C_200D_200B_200B_202C_202D_206C_200E_202A_200F_202D_202A_206B_200F_206B_206A_200D_206B_200B_206A_206E_200F_206F_200E_202E(builder, global::_003CModule_003E._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(-1430532645)); + _202B_202B_206B_206C_202A_206D_200B_206B_202B_202E_202C_206F_200C_202D_200E_200B_202C_200D_200B_200B_202C_202D_206C_200E_202A_200F_202D_202A_206B_200F_206B_206A_200D_206B_200B_206A_206E_200F_206F_200E_202E(builder, DataId.ToString()); + _202B_202B_206B_206C_202A_206D_200B_206B_202B_202E_202C_206F_200C_202D_200E_200B_202C_200D_200B_200B_202C_202D_206C_200E_202A_200F_202D_202A_206B_200F_206B_206A_200D_206B_200B_206A_206E_200F_206F_200E_202E(builder, global::_003CModule_003E._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(70669024)); + _200F_200F_200E_200E_200E_206E_200B_200F_206D_200F_202D_206E_206E_206F_202D_202C_202C_202A_200D_200E_200C_206F_200C_200F_200F_200B_206A_200D_202A_200C_200E_200D_200C_206F_202A_206E_200D_206D_206D_200E_202E(builder, (object)ElementId); + _202B_202B_206B_206C_202A_206D_200B_206B_202B_202E_202C_206F_200C_202D_200E_200B_202C_200D_200B_200B_202C_202D_206C_200E_202A_200F_202D_202A_206B_200F_206B_206A_200D_206B_200B_206A_206E_200F_206F_200E_202E(builder, global::_003CModule_003E._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(-1883281888)); + _202B_202B_206B_206C_202A_206D_200B_206B_202B_202E_202C_206F_200C_202D_200E_200B_202C_200D_200B_200B_202C_202D_206C_200E_202A_200F_202D_202A_206B_200F_206B_206A_200D_206B_200B_206A_206E_200F_206F_200E_202E(builder, Sequence.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? 1374562800 : 1374562801); + while (true) + { + int num2 = num; + int num3 = 1374562804; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return EqualityComparer.Default.Equals(Sequence, other.Sequence); + case 3: + num = ((!EqualityComparer.Default.Equals(ElementId, other.ElementId)) ? 1374562806 : 1374562805); + break; + case 2: + return false; + case 5: + num = (((object)other == null) ? 1374562806 : 1374562803); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? 1374562806 : 1374562807); + break; + case 7: + num = ((!_202E_200D_206F_202A_206C_206F_206C_206B_206A_202E_200C_202D_206F_206D_206E_202D_200C_200B_200C_206B_206E_206B_206A_202B_206F_206C_206E_202A_200B_206A_202E_202A_206A_202E_206E_200D_206C_202C_206F_202E_202E(EqualityContract, other.EqualityContract)) ? 1374562806 : 1374562802); + break; + case 4: + return true; + case 0: + num = 1374562801; + break; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_200C_200F_202D_202C_206F_200B_206B_200D_202D_206B_202C_200B_206C_202C_202C_206A_202C_202C_200D_206C_200F_200E_206B_200B_200D_206E_202A_206F_206E_200F_200E_206D_206B_206E_202D_202B_200C_200E_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202B_202B_200F_206A_202A_200F_200F_206F_202C_206C_200E_206B_202C_202B_206C_202E_206B_202E_202C_206E_206A_202C_200C_202E_202A_200F_206D_206C_200E_202A_206D_206E_202A_202B_200B_202C_200F_202B_206E_206D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202B_202B_206B_206C_202A_206D_200B_206B_202B_202E_202C_206F_200C_202D_200E_200B_202C_200D_200B_200B_202C_202D_206C_200E_202A_200F_202D_202A_206B_200F_206B_206A_200D_206B_200B_206A_206E_200F_206F_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200F_200F_200E_200E_200E_206E_200B_200F_206D_200F_202D_206E_206E_206F_202D_202C_202C_202A_200D_200E_200C_206F_200C_200F_200F_200B_206A_200D_202A_200C_200E_200D_200C_206F_202A_206E_200D_206D_206D_200E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202E_200D_206F_202A_206C_206F_206C_206B_206A_202E_200C_202D_206F_206D_206E_202D_200C_200B_200C_206B_206E_206B_206A_202B_206F_206C_206E_202A_200B_206A_202E_202A_206A_202E_206E_200D_206C_202C_206F_202E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + internal sealed class Executor(GameFunctions gameFunctions, QuestController questController, ILogger logger) : TaskExecutor() + { + private long _skipAt; + + protected override bool Start() + { + _skipAt = _206D_200B_206C_206E_200B_200D_206F_202E_206A_202E_200E_200C_206A_200C_200D_206C_200E_200F_206C_206F_206D_200E_206E_200E_200D_206A_200F_200E_206E_206C_206F_202E_206B_202D_202C_206F_200B_206B_206D_206B_202E() + 500; + return true; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + int num = ((gameFunctions.FindObjectByDataId(base.Task.DataId, null, warnIfMissing: false) == null) ? 54864098 : 54864097); + while (true) + { + int num2 = num; + int num3 = 54864098; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _206B_206A_206C_200B_206F_206F_202A_206F_200F_202D_202A_206C_202E_206A_206D_206F_206D_200E_200F_206A_202C_200F_202B_206C_206A_206E_200E_202C_206D_202A_206F_202D_200F_206B_206A_200C_206C_206F_200C_206F_202E((ILogger)logger, global::_003CModule_003E._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(1261971575), new object[1] { base.Task.DataId }); + questController.IncreaseStepCount(base.Task.ElementId, base.Task.Sequence, shouldContinue: true); + return ETaskResult.SkipRemainingTasksForStep; + case 1: + return ETaskResult.StillRunning; + case 0: + num = ((_206D_200B_206C_206E_200B_200D_206F_202E_206A_202E_200E_200C_206A_200C_200D_206C_200E_200F_206C_206F_206D_200E_206E_200E_200D_206A_200F_200E_206E_206C_206F_202E_206B_202D_202C_206F_200B_206B_206D_206B_202E() >= _skipAt) ? 54864096 : 54864099); + break; + case 3: + return ETaskResult.TaskComplete; + case 4: + num = 54864097; + break; + } + } + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static long _206D_200B_206C_206E_200B_200D_206F_202E_206A_202E_200E_200C_206A_200C_200D_206C_200E_200F_206C_206F_206D_200E_206E_200E_200D_206A_200F_200E_206E_206C_206F_202E_206B_202D_202C_206F_200B_206B_206D_206B_202E() + { + return Environment.TickCount64; + } + + static void _206B_206A_206C_200B_206F_206F_202A_206F_200F_202D_202A_206C_202E_206A_206D_206F_206D_200E_200F_206A_202C_200F_202B_206C_206A_206E_200E_202C_206D_202A_206F_202D_200F_206B_206A_200C_206C_206F_200C_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/SmartNavStep.cs b/Questionable/Questionable.Controller.Steps.Shared/SmartNavStep.cs new file mode 100644 index 00000000..676c8442 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/SmartNavStep.cs @@ -0,0 +1,451 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +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 + { + [CompilerGenerated] + private sealed class _003CCreateAllTasks_003Ed__13 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public Factory _003C_003E4__this; + + private QuestStep step; + + public QuestStep _003C_003E3__step; + + private IEnumerator _003C_003E7__wrap1; + + ITask IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CCreateAllTasks_003Ed__13(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _200F_200F_202C_206D_206F_202D_200D_206E_200B_202D_206A_202A_206B_202E_206D_200F_202E_206C_206C_206B_200C_206D_200B_206E_200F_200F_206F_206E_206A_200E_206B_206C_202C_202C_202B_206C_202D_206E_202D_200C_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? 605314869 : 605314870); + while (true) + { + int num3 = num2; + int num4 = 605314868; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 0: + num2 = 605314870; + continue; + case 2: + if (num == 1) + { + num2 = 605314869; + continue; + } + break; + case 1: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + Factory factory = _003C_003E4__this; + int num2 = ((num == 0) ? 663941782 : 663941783); + Vector3? vector = default(Vector3?); + PlayerNavState playerNavState = default(PlayerNavState); + RouteResult routeResult = default(RouteResult); + while (true) + { + int num3 = num2; + int num4 = 663941778; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 8: + num2 = (_202D_200C_202E_202D_200B_206A_206E_206E_200C_200B_200F_200F_206F_206C_200C_206C_206D_200B_206B_200E_200D_206D_202A_206E_202E_200F_206C_206F_206F_202C_200B_206F_202E_200C_202C_202B_202B_200D_206F_202D_202E((IEnumerator)_003C_003E7__wrap1) ? 663941779 : 663941780); + break; + case 4: + _003C_003E1__state = -1; + factory.HandledRouting = false; + vector = factory.ResolveDestination(step); + num2 = (vector.HasValue ? 663941790 : 663941781); + break; + case 0: + num2 = 663941783; + break; + case 11: + return false; + case 12: + playerNavState = _200C_202A_206C_206D_206B_200D_200F_202A_202D_200E_206E_200D_200B_206C_206A_200F_202A_202B_206C_200E_206E_200B_202B_200F_202C_206B_206F_200E_202A_202B_202A_206E_206E_202C_200F_200F_202B_202A_206F_206F_202E(factory.playerNavStateBuilder, (int?)null); + num2 = ((playerNavState != null) ? 663941776 : 663941785); + break; + case 7: + return false; + case 3: + _003C_003E1__state = -3; + num2 = 663941786; + break; + case 13: + return false; + case 10: + return false; + case 1: + { + ITask current = _003C_003E7__wrap1.Current; + _003C_003E2__current = current; + _003C_003E1__state = 1; + return true; + } + case 2: + routeResult = _206C_200D_206E_200F_200D_200B_202A_202C_206B_206D_206E_206C_202A_206F_206B_206B_206B_202D_202B_200F_206C_206D_200F_206F_200B_202C_206A_202A_202E_202E_202D_206B_200E_206A_202B_206E_202E_206F_200C_206A_202E(factory.navRouter, playerNavState, (uint)_206D_206D_206C_200C_206D_202C_206E_202C_206B_202D_206B_206A_200F_206B_200D_206A_200D_206C_206D_202E_200F_202C_206B_206F_206C_206B_206B_200F_200B_202E_206E_206F_200C_202A_200F_206A_202C_206E_206C_202C_202E(step), vector.Value, (IReadOnlySet)null); + num2 = ((_206F_206B_200F_202A_202E_200F_200B_200B_200B_200E_200D_206A_202A_206D_200D_200E_206F_202E_202A_206C_206B_200C_206E_202E_202C_202A_206E_200E_202E_206F_206D_206C_200D_202B_206E_202E_202E_200C_202A_202E_202E(routeResult).Count != 0) ? 663941787 : 663941791); + break; + case 5: + num2 = ((num == 1) ? 663941777 : 663941784); + break; + case 9: + factory.HandledRouting = true; + _200C_202B_200D_200E_206A_200E_200D_206B_206C_202B_206C_202D_202D_206A_206B_206D_200B_206D_202B_202D_206F_206C_200B_202E_200B_200F_200B_202B_206E_202C_206A_200D_200E_202B_206E_200D_206B_202E_206B_202E((ILogger)factory.logger, global::_003CModule_003E._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(-1590358802), new object[2] + { + factory.territoryData.GetNameAndId(_206D_206D_206C_200C_206D_202C_206E_202C_206B_202D_206B_206A_200F_206B_200D_206A_200D_206C_206D_202E_200F_202C_206B_206F_206C_206B_206B_200F_200B_202E_206E_206F_200C_202A_200F_206A_202C_206E_206C_202C_202E(step)), + _206F_206B_200F_202A_202E_200F_200B_200B_200B_200E_200D_206A_202A_206D_200D_200E_206F_202E_202A_206C_206B_200C_206E_202E_202C_202A_206E_200E_202E_206F_206D_206C_200D_202B_206E_202E_202E_200C_202A_202E_202E(routeResult).Count + }); + factory.reRouteService.SetDestination(_206D_206D_206C_200C_206D_202C_206E_202C_206B_202D_206B_206A_200F_206B_200D_206A_200D_206C_206D_202E_200F_202C_206B_206F_206C_206B_206B_200F_200B_202E_206E_206F_200C_202A_200F_206A_202C_206E_206C_202C_202E(step), vector.Value); + _003C_003E7__wrap1 = factory.taskMapper.MapInstructions(_202C_206C_206A_202C_206B_206D_206B_206F_202A_202E_206E_206F_202A_206B_206C_206F_200B_206B_202B_202E_202C_200E_202A_200B_206D_200F_206F_202E_202B_200F_206F_202E_200B_202B_202A_202D_206D_206D_202B_202C_202E(factory.instructionBuilder, routeResult, (uint)_206D_206D_206C_200C_206D_202C_206E_202C_206B_202D_206B_206A_200F_206B_200D_206A_200D_206C_206D_202E_200F_202C_206B_206F_206C_206B_206B_200F_200B_202E_206E_206F_200C_202A_200F_206A_202C_206E_206C_202C_202E(step), _206D_202C_202E_200D_202A_200D_200B_200F_206C_200B_206F_206B_206F_206F_200D_200E_206B_206A_206C_200F_200C_200F_206A_200D_206D_206B_206A_202B_200B_200F_202E_200D_202C_206C_206E_206B_206D_202A_200B_202E_202E(step)), step).GetEnumerator(); + _003C_003E1__state = -3; + num2 = 663941786; + break; + case 6: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = null; + return false; + } + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap1 == null) ? 298667003 : 298667002); + while (true) + { + int num2 = num; + int num3 = 298667003; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 298667002; + break; + case 1: + _200E_202A_206A_200C_206E_206C_206B_206B_206D_206E_206B_202C_206D_206A_202B_202B_200C_202B_202E_202C_202D_200B_200D_202C_206B_202B_206F_202B_200F_200F_202B_202D_200C_206E_200F_206C_200F_206A_206F_206D_202E((IDisposable)_003C_003E7__wrap1); + num = 298667003; + break; + case 0: + return; + } + } + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206C_206C_200B_202D_206A_200B_200C_206D_202D_206E_202A_202B_206A_206B_200D_202E_202D_200C_200C_200C_200D_206E_202E_202A_206A_200C_202B_202C_206E_206E_200B_200C_200D_206F_202C_200C_206E_206B_206F_206C_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-183220830) : (-183220831)); + _003CCreateAllTasks_003Ed__13 _003CCreateAllTasks_003Ed__ = default(_003CCreateAllTasks_003Ed__13); + while (true) + { + int num2 = num; + int num3 = -183220832; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + _003C_003E1__state = 0; + _003CCreateAllTasks_003Ed__ = this; + num = -183220832; + break; + case 1: + num = ((_003C_003El__initialThreadId != _200F_200F_202C_206D_206F_202D_200D_206E_200B_202D_206A_202A_206B_202E_206D_200F_202E_206C_206C_206B_200C_206D_200B_206E_200F_200F_206F_206E_206A_200E_206B_206C_202C_202C_202B_206C_202D_206E_202D_200C_202E()) ? (-183220830) : (-183220828)); + break; + case 0: + _003CCreateAllTasks_003Ed__.step = _003C_003E3__step; + return _003CCreateAllTasks_003Ed__; + case 3: + num = -183220831; + break; + case 2: + _003CCreateAllTasks_003Ed__ = new _003CCreateAllTasks_003Ed__13(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = -183220832; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _200F_200F_202C_206D_206F_202D_200D_206E_200B_202D_206A_202A_206B_202E_206D_200F_202E_206C_206C_206B_200C_206D_200B_206E_200F_200F_206F_206E_206A_200E_206B_206C_202C_202C_202B_206C_202D_206E_202D_200C_202E() + { + return Environment.CurrentManagedThreadId; + } + + static PlayerNavState _200C_202A_206C_206D_206B_200D_200F_202A_202D_200E_206E_200D_200B_206C_206A_200F_202A_202B_206C_200E_206E_200B_202B_200F_202C_206B_206F_200E_202A_202B_202A_206E_206E_202C_200F_200F_202B_202A_206F_206F_202E(PlayerNavStateBuilder P_0, int? P_1) + { + return P_0.Build(P_1); + } + + static ushort _206D_206D_206C_200C_206D_202C_206E_202C_206B_202D_206B_206A_200F_206B_200D_206A_200D_206C_206D_202E_200F_202C_206B_206F_206C_206B_206B_200F_200B_202E_206E_206F_200C_202A_200F_206A_202C_206E_206C_202C_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static RouteResult _206C_200D_206E_200F_200D_200B_202A_202C_206B_206D_206E_206C_202A_206F_206B_206B_206B_202D_202B_200F_206C_206D_200F_206F_200B_202C_206A_202A_202E_202E_202D_206B_200E_206A_202B_206E_202E_206F_200C_206A_202E(NavRouter P_0, PlayerNavState P_1, uint P_2, Vector3 P_3, IReadOnlySet P_4) + { + return P_0.FindRoute(P_1, P_2, P_3, P_4); + } + + static IReadOnlyList _206F_206B_200F_202A_202E_200F_200B_200B_200B_200E_200D_206A_202A_206D_200D_200E_206F_202E_202A_206C_206B_200C_206E_202E_202C_202A_206E_200E_202E_206F_206D_206C_200D_202B_206E_202E_202E_200C_202A_202E_202E(RouteResult P_0) + { + return P_0.Segments; + } + + static void _200C_202B_200D_200E_206A_200E_200D_206B_206C_202B_206C_202D_202D_206A_206B_206D_200B_206D_202B_202D_206F_206C_200B_202E_200B_200F_200B_202B_206E_202C_206A_200D_200E_202B_206E_200D_206B_202E_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206D_202C_202E_200D_202A_200D_200B_200F_206C_200B_206F_206B_206F_206F_200D_200E_206B_206A_206C_200F_200C_200F_206A_200D_206D_206B_206A_202B_200B_200F_202E_200D_202C_206C_206E_206B_206D_202A_200B_202E_202E(QuestStep P_0) + { + return P_0.DisableNavmesh; + } + + static IReadOnlyList _202C_206C_206A_202C_206B_206D_206B_206F_202A_202E_206E_206F_202A_206B_206C_206F_200B_206B_202B_202E_202C_200E_202A_200B_206D_200F_206F_202E_202B_200F_206F_202E_200B_202B_202A_202D_206D_206D_202B_202C_202E(RouteInstructionBuilder P_0, RouteResult P_1, uint P_2, bool P_3) + { + return P_0.Build(P_1, P_2, P_3); + } + + static bool _202D_200C_202E_202D_200B_206A_206E_206E_200C_200B_200F_200F_206F_206C_200C_206C_206D_200B_206B_200E_200D_206D_202A_206E_202E_200F_206C_206F_206F_202C_200B_206F_202E_200C_202C_202B_202B_200D_206F_202D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200E_202A_206A_200C_206E_206C_206B_206B_206D_206E_206B_202C_206D_206A_202B_202B_200C_202B_202E_202C_202D_200B_200D_202C_206B_202B_206F_202B_200F_200F_202B_202D_200C_206E_200F_206C_200F_206A_206F_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _206C_206C_200B_202D_206A_200B_200C_206D_202D_206E_202A_202B_206A_206B_200D_202E_202D_200C_200C_200C_200D_206E_202E_202A_206A_200C_202B_202C_206E_206E_200B_200C_200D_206F_202C_200C_206E_206B_206F_206C_202E() + { + return new NotSupportedException(); + } + } + + public bool HandledRouting { get; private set; } + + [IteratorStateMachine(typeof(_003CCreateAllTasks_003Ed__13))] + public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CCreateAllTasks_003Ed__13(-2) + { + _003C_003E4__this = this, + _003C_003E3__step = step + }; + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + + private Vector3? ResolveDestination(QuestStep step) + { + int num = ((!_200C_200E_202E_206A_206E_202E_202E_200D_200D_206D_200C_200C_200B_200C_200E_200F_200C_206A_206F_202B_202A_206A_202E_200D_200D_200B_200E_200C_206B_200B_202B_202B_202A_206B_200F_206D_206A_200B_200F_202B_202E(step).HasValue) ? (-1099591953) : (-1099591967)); + Vector3 value2 = default(Vector3); + EAetheryteLocation? eAetheryteLocation = default(EAetheryteLocation?); + EAetheryteLocation valueOrDefault2 = default(EAetheryteLocation); + bool flag = default(bool); + Vector3 value = default(Vector3); + while (true) + { + int num2 = num; + int num3 = -1099591953; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = ((step == null) ? (-1099591954) : (-1099591955)); + break; + case 7: + return value2; + case 13: + eAetheryteLocation = _202C_206D_200B_200C_202E_202B_206C_206F_206F_206E_202E_200F_206C_202D_202C_200D_200D_202B_206E_202A_200C_202D_202C_206A_206A_200E_206E_202B_206D_206D_202B_202E_206D_200F_202C_206D_206B_206E_200D_202E_202E(step); + num = ((!eAetheryteLocation.HasValue) ? (-1099591964) : (-1099591963)); + break; + case 15: + num = ((!_200D_200B_206D_206B_200B_200E_206C_202B_200D_200C_200C_202A_206F_206C_206E_206B_202A_206D_202B_206D_206D_202E_206B_200B_200F_202A_200C_206E_200B_202A_206B_200C_200E_200F_202D_200F_206A_206B_202C_200F_202E(aetheryteData).TryGetValue(valueOrDefault2, out value2)) ? (-1099591957) : (-1099591960)); + break; + case 5: + num = ((!flag) ? (-1099591957) : (-1099591968)); + break; + case 2: + { + EInteractionType eInteractionType = _200C_202C_206A_202D_206E_200D_206D_202D_206F_202E_200B_202E_206A_202D_200F_206F_200E_206E_202D_206B_202D_200E_200D_206F_202D_206B_202C_206F_200E_206C_206E_200F_202C_206A_206C_206E_206D_206E_206F_206D_202E(step); + num = (((uint)(eInteractionType - 4) > 1u) ? (-1099591954) : (-1099591962)); + break; + } + case 12: + num = ((_200C_202C_206A_202D_206E_200D_206D_202D_206F_202E_200B_202E_206A_202D_200F_206F_200E_206E_202D_206B_202D_200E_200D_206F_202D_206B_202C_206F_200E_206C_206E_200F_202C_206A_206C_206E_206D_206E_206F_206D_202E(step) != EInteractionType.AttuneAethernetShard) ? (-1099591964) : (-1099591966)); + break; + case 4: + num = ((step == null) ? (-1099591964) : (-1099591965)); + break; + case 3: + num = -1099591967; + break; + case 11: + return null; + case 6: + return value; + case 9: + eAetheryteLocation = _206D_202A_200F_206A_200E_206D_206D_202D_202D_206D_200E_202D_202D_200F_202E_202E_206F_206E_200E_200F_206A_200B_200E_202A_202C_206F_206C_206B_206D_202A_200B_200F_206D_200D_206B_202B_200D_202E_206F_200E_202E(step); + num = ((!eAetheryteLocation.HasValue) ? (-1099591954) : (-1099591961)); + break; + case 1: + flag = false; + num = -1099591958; + break; + case 8: + valueOrDefault2 = eAetheryteLocation.GetValueOrDefault(); + flag = true; + num = -1099591958; + break; + case 10: + { + EAetheryteLocation valueOrDefault = eAetheryteLocation.GetValueOrDefault(); + num = ((!_200D_200B_206D_206B_200B_200E_206C_202B_200D_200C_200C_202A_206F_206C_206E_206B_202A_206D_202B_206D_206D_202E_206B_200B_200F_202A_200C_206E_200B_202A_206B_200C_200E_200F_202D_200F_206A_206B_202C_200F_202E(aetheryteData).TryGetValue(valueOrDefault, out value)) ? (-1099591964) : (-1099591959)); + break; + } + case 14: + return _200C_200E_202E_206A_206E_202E_202E_200D_200D_206D_200C_200C_200B_200C_200E_200F_200C_206A_206F_202B_202A_206A_202E_200D_200D_200B_200E_200C_206B_200B_202B_202B_202A_206B_200F_206D_206A_200B_200F_202B_202E(step); + } + } + } + + static Vector3? _200C_200E_202E_206A_206E_202E_202E_200D_200D_206D_200C_200C_200B_200C_200E_200F_200C_206A_206F_202B_202A_206A_202E_200D_200D_200B_200E_200C_206B_200B_202B_202B_202A_206B_200F_206D_206A_200B_200F_202B_202E(QuestStep P_0) + { + return P_0.Position; + } + + static EInteractionType _200C_202C_206A_202D_206E_200D_206D_202D_206F_202E_200B_202E_206A_202D_200F_206F_200E_206E_202D_206B_202D_200E_200D_206F_202D_206B_202C_206F_200E_206C_206E_200F_202C_206A_206C_206E_206D_206E_206F_206D_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static EAetheryteLocation? _206D_202A_200F_206A_200E_206D_206D_202D_202D_206D_200E_202D_202D_200F_202E_202E_206F_206E_200E_200F_206A_200B_200E_202A_202C_206F_206C_206B_206D_202A_200B_200F_206D_200D_206B_202B_200D_202E_206F_200E_202E(QuestStep P_0) + { + return P_0.Aetheryte; + } + + static ReadOnlyDictionary _200D_200B_206D_206B_200B_200E_206C_202B_200D_200C_200C_202A_206F_206C_206E_206B_202A_206D_202B_206D_206D_202E_206B_200B_200F_202A_200C_206E_200B_202A_206B_200C_200E_200F_202D_200F_206A_206B_202C_200F_202E(AetheryteData P_0) + { + return P_0.Locations; + } + + static EAetheryteLocation? _202C_206D_200B_200C_202E_202B_206C_206F_206F_206E_202E_200F_206C_202D_202C_200D_200D_202B_206E_202A_200C_202D_202C_206A_206A_200E_206E_202B_206D_206D_202B_202E_206D_200F_202C_206D_206B_206E_200D_202E_202E(QuestStep P_0) + { + return P_0.AethernetShard; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/StepDisabled.cs b/Questionable/Questionable.Controller.Steps.Shared/StepDisabled.cs index a9055ded..080eebd4 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/StepDisabled.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/StepDisabled.cs @@ -1,3 +1,5 @@ +using System; +using System.Runtime.CompilerServices; using Microsoft.Extensions.Logging; using Questionable.Model; using Questionable.Model.Questing; @@ -10,32 +12,53 @@ internal static class StepDisabled { public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { - if (!step.Disabled) + int num = (_200D_202A_202A_206E_200D_206F_206C_202D_206F_200C_200D_202A_206D_200C_202C_202A_202A_200C_206F_206F_200F_202E_202C_202C_206B_202A_200C_206F_206C_200E_206E_202D_202E_206E_206B_202D_202D_200B_206B_206D_202E(step) ? 1566722384 : 1566722387); + while (true) { - return null; + int num2 = num; + int num3 = 1566722386; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return new SkipRemainingTasks(); + case 1: + return null; + case 0: + goto IL_004e; + } + continue; + IL_004e: + num = 1566722387; } - return new SkipRemainingTasks(); + } + + static bool _200D_202A_202A_206E_200D_206F_206C_202D_206F_200C_200D_202A_206D_200C_202C_202A_202A_200C_206F_206F_200F_202E_202C_202C_206B_202A_200C_206F_206C_200E_206E_202D_202E_206E_206B_202D_202D_200B_206B_206D_202E(QuestStep P_0) + { + return P_0.Disabled; } } internal sealed class SkipRemainingTasks : ITask { + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "StepDisabled"; + return global::_003CModule_003E._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(-2111602818); } } - internal sealed class SkipDisabledStepsExecutor(ILogger logger) : TaskExecutor() + internal sealed class SkipDisabledStepsExecutor(ILogger logger) : TaskExecutor() { protected override bool Start() { return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public override ETaskResult Update() { - logger.LogInformation("Skipping step, as it is disabled"); + _206E_202C_206C_206D_200C_200C_200D_200E_202C_202E_200D_206F_202D_200D_206C_202D_202D_200B_206B_206C_200E_200E_200F_200E_206F_206C_206A_200F_202D_202E_202C_200C_206A_206B_206A_202A_206F_206C_206E_206F_202E((ILogger)logger, global::_003CModule_003E._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(-1976171694), Array.Empty()); return ETaskResult.SkipRemainingTasksForStep; } @@ -43,5 +66,10 @@ internal static class StepDisabled { return false; } + + static void _206E_202C_206C_206D_200C_200C_200D_200E_202C_202E_200D_206F_202D_200D_206C_202D_202D_200B_206B_206C_200E_200E_200F_200E_206F_206C_206A_200F_202D_202E_202C_200C_206A_206B_206A_202A_206F_206C_206E_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } } } diff --git a/Questionable/Questionable.Controller.Steps.Shared/SubRegionTransport.cs b/Questionable/Questionable.Controller.Steps.Shared/SubRegionTransport.cs new file mode 100644 index 00000000..baf51720 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/SubRegionTransport.cs @@ -0,0 +1,210 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; +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 + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200D_200C_202B_200B_206F_200D_206B_206E_206B_202A_200E_200B_202E_202A_206A_206F_202E_200D_202C_206B_200F_206B_202B_202E_200F_206B_200F_206D_200E_206E_202B_200B_200B_206F_200D_200B_202C_206B_206F_206D_202E(typeof(Task).TypeHandle); + } + } + + public bool ShouldRedoOnInterrupt() + { + return true; + } + + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(26, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-630206869)); + defaultInterpolatedStringHandler.AppendFormatted(TerritoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1095822044)); + defaultInterpolatedStringHandler.AppendFormatted(SourcePosition); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(198379463)); + defaultInterpolatedStringHandler.AppendFormatted(DestPosition); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202C_200F_206B_206E_202C_206B_200E_200B_200E_200F_206D_200B_202A_202E_206C_202E_202D_206F_202B_206B_206B_200D_202C_202D_202E_200F_206B_202D_206D_200F_202B_206E_202A_200D_202D_202C_200C_200E_202D_202E_202E(); + _202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_202E(builder, global::_003CModule_003E._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(-603430089)); + _202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_202E(builder, SourcePosition.ToString()); + _202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_202E(builder, global::_003CModule_003E._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(-1503839347)); + _202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_202E(builder, DestPosition.ToString()); + _202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_202E(builder, global::_003CModule_003E._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(-1428648191)); + _202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_202E(builder, TerritoryId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? 627105870 : 627105869); + while (true) + { + int num2 = num; + int num3 = 627105866; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return true; + case 5: + num = ((!EqualityComparer.Default.Equals(SourcePosition, other.SourcePosition)) ? 627105867 : 627105868); + break; + case 7: + num = (((object)other == null) ? 627105867 : 627105866); + break; + case 0: + num = ((!_202C_202C_206E_206B_200D_206A_200B_202D_206D_202E_202E_206D_206F_202C_200E_200E_202D_206F_200C_206D_202C_202D_200C_202E_206C_206A_200E_200C_202A_206F_202D_206F_206B_200F_202B_202A_202E_206D_206B_200E_202E(EqualityContract, other.EqualityContract)) ? 627105867 : 627105871); + break; + case 3: + return EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId); + case 6: + num = ((!EqualityComparer.Default.Equals(DestPosition, other.DestPosition)) ? 627105867 : 627105865); + break; + case 1: + return false; + case 2: + num = 627105869; + break; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200D_200C_202B_200B_206F_200D_206B_206E_206B_202A_200E_200B_202E_202A_206A_206F_202E_200D_202C_206B_200F_206B_202B_202E_200F_206B_200F_206D_200E_206E_202B_200B_200B_206F_200D_200B_202C_206B_206F_206D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202C_200F_206B_206E_202C_206B_200E_200B_200E_200F_206D_200B_202A_202E_206C_202E_202D_206F_202B_206B_206B_200D_202C_202D_202E_200F_206B_202D_206D_200F_202B_206E_202A_200D_202D_202C_200C_200E_202D_202E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _202C_202C_206E_206B_200D_206A_200B_202D_206D_202E_202E_206D_206F_202C_200E_200E_202D_206F_200C_206D_202C_202D_200C_202E_206C_206A_200E_200C_202A_206F_202D_206F_206B_200F_202B_202A_202E_206D_206B_200E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + internal sealed class DoSubRegionTransport(IObjectTable objectTable, ILogger logger) : TaskExecutor() + { + private Vector3 _startPosition; + + private long _startTime; + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + IPlayerCharacter playerCharacter = _202E_206B_206E_206F_202D_206C_206B_206C_200D_202C_200D_202A_202B_206B_206E_202B_202D_206F_206F_202A_200E_206F_202D_202C_206F_200F_200F_206B_202A_206E_206C_206B_202B_202E_200D_206C_200D_202B_206F_202A_202E(objectTable); + _startPosition = ((playerCharacter != null) ? _200B_202A_206C_202E_206D_202A_202B_202B_202D_200F_200C_200E_206F_206B_206D_200F_206B_202E_200F_206D_202B_206B_206E_202A_202A_206B_200C_202A_202B_200D_200E_200D_206C_206C_202A_202D_202D_200F_200C_206D_202E((IGameObject)playerCharacter) : Vector3.Zero); + _startTime = _202E_206E_200D_200E_206C_206D_202D_202D_206D_206F_202E_200D_200D_200D_206C_206D_200E_200E_200E_200B_200E_206F_200D_200B_200D_200C_202D_200C_206A_206E_202B_200D_202B_202D_200B_206A_200B_202C_206C_200C_202E(); + _200F_202C_200F_202E_202C_200C_206E_206F_202E_200B_206B_202E_206D_200F_206A_206A_202B_202E_200F_206D_206D_206D_206B_206A_202B_200E_200C_200B_200F_202C_202A_202E_202B_200F_206F_206D_202C_200D_202A_206D_202E((ILogger)logger, global::_003CModule_003E._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(-1244283886), new object[1] { base.Task.SourcePosition }); + return true; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + IPlayerCharacter playerCharacter = _202E_206B_206E_206F_202D_206C_206B_206C_200D_202C_200D_202A_202B_206B_206E_202B_202D_206F_206F_202A_200E_206F_202D_202C_206F_200F_200F_206B_202A_206E_206C_206B_202B_202E_200D_206C_200D_202B_206F_202A_202E(objectTable); + int num = ((playerCharacter == null) ? 733700456 : 733700461); + while (true) + { + int num2 = num; + int num3 = 733700460; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 733700461; + break; + case 1: + num = ((!(Vector3.Distance(_200B_202A_206C_202E_206D_202A_202B_202B_202D_200F_200C_200E_206F_206B_206D_200F_206B_202E_200F_206D_202B_206B_206E_202A_202A_206B_200C_202A_202B_200D_200E_200D_206C_206C_202A_202D_202D_200F_200C_206D_202E((IGameObject)playerCharacter), _startPosition) > 5f)) ? 733700456 : 733700457); + break; + case 4: + num = ((_202E_206E_200D_200E_206C_206D_202D_202D_206D_206F_202E_200D_200D_200D_206C_206D_200E_200E_200E_200B_200E_206F_200D_200B_200D_200C_202D_200C_206A_206E_202B_200D_202B_202D_200B_206A_200B_202C_206C_200C_202E() - _startTime <= 15000) ? 733700462 : 733700460); + break; + case 0: + _202B_206B_200B_206A_206F_202E_202C_202C_200B_202A_206C_206E_200E_206D_206D_200E_200F_200E_200F_206B_200C_200E_202D_202D_202E_200B_206D_206A_202E_200E_200C_200E_202D_200C_206E_202E_206E_200F_206D_202C_202E((ILogger)logger, global::_003CModule_003E._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(21515827), Array.Empty()); + return ETaskResult.RetryStep; + case 2: + return ETaskResult.StillRunning; + case 5: + _200F_202C_200F_202E_202C_200C_206E_206F_202E_200B_206B_202E_206D_200F_206A_206A_202B_202E_200F_206D_206D_206D_206B_206A_202B_200E_200C_200B_200F_202C_202A_202E_202B_200F_206F_206D_202C_200D_202A_206D_202E((ILogger)logger, global::_003CModule_003E._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(161211834), new object[1] { Vector3.Distance(_200B_202A_206C_202E_206D_202A_202B_202B_202D_200F_200C_200E_206F_206B_206D_200F_206B_202E_200F_206D_202B_206B_206E_202A_202A_206B_200C_202A_202B_200D_200E_200D_206C_206C_202A_202D_202D_200F_200C_206D_202E((IGameObject)playerCharacter), _startPosition) }); + return ETaskResult.TaskComplete; + } + } + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + static IPlayerCharacter _202E_206B_206E_206F_202D_206C_206B_206C_200D_202C_200D_202A_202B_206B_206E_202B_202D_206F_206F_202A_200E_206F_202D_202C_206F_200F_200F_206B_202A_206E_206C_206B_202B_202E_200D_206C_200D_202B_206F_202A_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _200B_202A_206C_202E_206D_202A_202B_202B_202D_200F_200C_200E_206F_206B_206D_200F_206B_202E_200F_206D_202B_206B_206E_202A_202A_206B_200C_202A_202B_200D_200E_200D_206C_206C_202A_202D_202D_200F_200C_206D_202E(IGameObject P_0) + { + return P_0.Position; + } + + static long _202E_206E_200D_200E_206C_206D_202D_202D_206D_206F_202E_200D_200D_200D_206C_206D_200E_200E_200E_200B_200E_206F_200D_200B_200D_200C_202D_200C_206A_206E_202B_200D_202B_202D_200B_206A_200B_202C_206C_200C_202E() + { + return Environment.TickCount64; + } + + static void _200F_202C_200F_202E_202C_200C_206E_206F_202E_200B_206B_202E_206D_200F_206A_206A_202B_202E_200F_206D_206D_206D_206B_206A_202B_200E_200C_200B_200F_202C_202A_202E_202B_200F_206F_206D_202C_200D_202A_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _202B_206B_200B_206A_206F_202E_202C_202C_200B_202A_206C_206E_200E_206D_206D_200E_200F_200E_200F_206B_200C_200E_202D_202D_202E_200B_206D_206A_202E_200E_200C_200E_202D_200C_206E_202E_206E_200F_206D_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/SwitchClassJob.cs b/Questionable/Questionable.Controller.Steps.Shared/SwitchClassJob.cs index 7cc83029..7cab8482 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/SwitchClassJob.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/SwitchClassJob.cs @@ -1,8 +1,15 @@ +using System; +using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.UI.Misc; using LLib.GameData; +using Lumina.Excel; +using Lumina.Excel.Sheets; using Questionable.Controller.Steps.Common; using Questionable.Data; using Questionable.Model; @@ -14,46 +21,193 @@ internal static class SwitchClassJob { internal sealed class Factory(ClassJobUtils classJobUtils) : 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.SwitchClass) + int num = ((_206A_206B_200C_202D_202B_206A_200B_200D_206A_206D_200E_202B_206D_206E_202C_202B_206D_200F_206D_206E_202C_206A_206B_202D_206A_206A_202A_206D_206E_200C_200C_202C_206F_202A_206C_200E_202C_202E_200C_202E(step) == EInteractionType.SwitchClass) ? 1159912211 : 1159912210); + while (true) { - return null; + int num2 = num; + int num3 = 1159912211; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return new Task(classJobUtils.AsIndividualJobs(_202B_206A_202A_206D_206D_200D_206D_202E_200B_206D_202B_200E_206E_206C_206A_202D_206B_206F_202C_200E_206A_206B_200C_206E_206A_206A_206C_202B_202A_206B_200C_206A_200F_200C_206B_206C_202E_206C_200B_206D_202E(step), quest.Id).Single()); + case 1: + return null; + case 2: + goto IL_006e; + } + continue; + IL_006e: + num = 1159912210; } - return new Task(classJobUtils.AsIndividualJobs(step.TargetClass, quest.Id).Single()); + } + + static EInteractionType _206A_206B_200C_202D_202B_206A_200B_200D_206A_206D_200E_202B_206D_206E_202C_202B_206D_200F_206D_206E_202C_206A_206B_202D_206A_206A_202A_206D_206E_200C_200C_202C_206F_202A_206C_200E_202C_202E_200C_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static EExtendedClassJob _202B_206A_202A_206D_206D_200D_206D_202E_200B_206D_202B_200E_206E_206C_206A_202D_206B_206F_202C_200E_206A_206B_200C_206E_206A_206A_206C_202B_202A_206B_200C_206A_200F_200C_206B_206C_202E_206C_200B_206D_202E(QuestStep P_0) + { + return P_0.TargetClass; } } internal sealed record Task(EClassJob ClassJob) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_206D_206D_200E_202C_206F_202E_202E_200B_206F_206B_200D_206B_206A_206A_200F_200B_200E_206C_200F_200F_206F_202D_200E_206F_202E_200E_200F_206F_200C_206E_200C_202D_200D_200D_200E_200F_202C_206A_200D_202E(typeof(Task).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"SwitchJob({ClassJob})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(11, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(292179226)); + defaultInterpolatedStringHandler.AppendFormatted(ClassJob); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202C_200E_200C_206D_200F_206D_202D_200B_206B_206D_200E_206E_202E_206E_202E_200E_200F_200C_206C_206A_202C_202E_200E_200D_206A_206D_206B_200D_202B_202C_206D_200E_200F_206D_206F_202C_200C_200C_202A_200F_202E(); + _206E_206D_206E_206B_200C_200C_206C_206A_200C_202E_200F_206E_206E_202E_202B_200C_202C_202A_200C_206A_200C_200B_200D_200F_206A_206C_202C_200F_202E_200E_200C_202A_200D_202B_202B_200E_200F_202E_206E_202E(builder, global::_003CModule_003E._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(-27440332)); + _206E_206D_206E_206B_200C_200C_206C_206A_200C_202E_200F_206E_206E_202E_202B_200C_202C_202A_200C_206A_200C_200B_200D_200F_206A_206C_202C_200F_202E_200E_200C_202A_200D_202B_202B_200E_200F_202E_206E_202E(builder, ClassJob.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? (-777293331) : (-777293333)); + while (true) + { + int num2 = num; + int num3 = -777293335; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -777293333; + break; + case 2: + num = (((object)other == null) ? (-777293334) : (-777293332)); + break; + case 5: + num = ((!_200E_206D_200C_200F_202D_200B_206B_200E_206A_206C_202B_200D_206D_206C_202D_206F_202A_206E_206A_202A_206B_200D_206B_200D_200F_202B_202A_202D_200C_206A_206F_200F_206F_206C_202C_200B_200F_202D_202D_206D_202E(EqualityContract, other.EqualityContract)) ? (-777293334) : (-777293336)); + break; + case 1: + return EqualityComparer.Default.Equals(ClassJob, other.ClassJob); + case 4: + return true; + case 3: + return false; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_206D_206D_200E_202C_206F_202E_202E_200B_206F_206B_200D_206B_206A_206A_200F_200B_200E_206C_200F_200F_206F_202D_200E_206F_202E_200E_200F_206F_200C_206E_200C_202D_200D_200D_200E_200F_202C_206A_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202C_200E_200C_206D_200F_206D_202D_200B_206B_206D_200E_206E_202E_206E_202E_200E_200F_200C_206C_206A_202C_202E_200E_200D_206A_206D_206B_200D_202B_202C_206D_200E_200F_206D_206F_202C_200C_200C_202A_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206E_206D_206E_206B_200C_200C_206C_206A_200C_202E_200F_206E_206E_202E_202B_200C_202C_202A_200C_206A_200C_200B_200D_200F_206A_206C_202C_200F_202E_200E_200C_202A_200D_202B_202B_200E_200F_202E_206E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _200E_206D_200C_200F_202D_200B_206B_200E_206A_206C_202B_200D_206D_206C_202D_206F_202A_206E_206A_202A_206B_200D_206B_200D_200F_202B_202A_202D_200C_206A_206F_200F_206F_206C_202C_200B_200F_202D_202D_206D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } internal sealed class SwitchClassJobExecutor(IObjectTable objectTable) : AbstractDelayedTaskExecutor() { + [MethodImpl(MethodImplOptions.NoInlining)] protected unsafe override bool StartInternal() { - if ((objectTable[0] as ICharacter)?.ClassJob.RowId == (uint?)base.Task.ClassJob) + IPlayerCharacter playerCharacter = _202A_206B_200E_206F_202C_202D_206D_200B_202E_202B_200E_200C_206A_202B_200F_200C_206B_200C_206B_202D_200E_202B_206F_202C_202C_206D_202E_202C_202B_206B_206B_202A_206C_200D_206D_200E_202A_202A_202A_206A_202E(objectTable); + int num = ((((playerCharacter != null) ? new uint?(_202B_200B_206B_200C_202D_206C_200E_202A_200E_206A_200B_206B_200B_206A_200B_200F_202B_206E_202C_206B_202B_206E_200D_206E_206A_202C_202C_200E_200D_206A_206B_200B_200D_206F_202D_202C_206B_206A_202E_200E_202E((ICharacter)playerCharacter).RowId) : ((uint?)null)) != (uint?)base.Task.ClassJob) ? (-402111789) : (-402111788)); + RaptureGearsetModule* ptr = default(RaptureGearsetModule*); + RaptureGearsetModule.GearsetEntry* gearset = default(RaptureGearsetModule.GearsetEntry*); + int num6 = default(int); + while (true) { - return false; - } - RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); - if (ptr != null) - { - for (int i = 0; i < 100; i++) + int num2 = num; + int num3 = -402111787; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - RaptureGearsetModule.GearsetEntry* gearset = ptr->GetGearset(i); - if (gearset->ClassJob == (byte)base.Task.ClassJob) - { - ptr->EquipGearset(gearset->Id, 0); - return true; - } + case 4: + num = -402111788; + break; + case 1: + return false; + case 3: + ptr->EquipGearset(gearset->Id, 0); + return true; + case 7: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(21, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1883607487)); + defaultInterpolatedStringHandler.AppendFormatted(base.Task.ClassJob); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 5: + num6 = 0; + num = -402111779; + break; + case 8: + num = ((num6 < 100) ? (-402111787) : (-402111790)); + break; + case 0: + gearset = ptr->GetGearset(num6); + num = ((gearset->ClassJob != (byte)base.Task.ClassJob) ? (-402111785) : (-402111786)); + break; + case 6: + ptr = RaptureGearsetModule.Instance(); + num = ((ptr == null) ? (-402111790) : (-402111792)); + break; + case 2: + { + int num5 = num6; + num3 = 1; + num4 = num5; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num6 = num7 + (num8 + num8); + num = -402111779; + break; + } } } - throw new TaskException($"No gearset found for {base.Task.ClassJob}"); } protected override ETaskResult UpdateInternal() @@ -65,5 +219,15 @@ internal static class SwitchClassJob { return false; } + + static IPlayerCharacter _202A_206B_200E_206F_202C_202D_206D_200B_202E_202B_200E_200C_206A_202B_200F_200C_206B_200C_206B_202D_200E_202B_206F_202C_202C_206D_202E_202C_202B_206B_206B_202A_206C_200D_206D_200E_202A_202A_202A_206A_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static RowRef _202B_200B_206B_200C_202D_206C_200E_202A_200E_206A_200B_206B_200B_206A_200B_200F_202B_206E_202C_206B_202B_206E_200D_206E_206A_202C_202C_200E_200D_206A_206B_200B_200D_206F_202D_202C_206B_206A_202E_200E_202E(ICharacter P_0) + { + return P_0.ClassJob; + } } } diff --git a/Questionable/Questionable.Controller.Steps.Shared/TaxiInteract.cs b/Questionable/Questionable.Controller.Steps.Shared/TaxiInteract.cs new file mode 100644 index 00000000..d3f010d2 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/TaxiInteract.cs @@ -0,0 +1,504 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +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; + +namespace Questionable.Controller.Steps.Shared; + +internal static class TaxiInteract +{ + internal sealed record Task(uint NpcDataId, uint DestStandRowId, string DestPlaceName, ushort SourceTerritoryId, ushort DestTerritoryId) : ITask + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_200E_200C_206D_202D_200B_200C_200C_206E_202B_206A_202E_202D_206F_206D_202E_202A_200B_206A_202A_206A_202D_202A_200C_206D_206E_206B_200C_200C_202D_200C_200D_206D_202B_202A_202A_200D_202C_206D_206A_202E(typeof(Task).TypeHandle); + } + } + + public bool ShouldRedoOnInterrupt() + { + return true; + } + + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(25, 4); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1757266526)); + defaultInterpolatedStringHandler.AppendFormatted(NpcDataId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-144328307)); + defaultInterpolatedStringHandler.AppendFormatted(DestPlaceName); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1403263077)); + defaultInterpolatedStringHandler.AppendFormatted(SourceTerritoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1599740866)); + defaultInterpolatedStringHandler.AppendFormatted(DestTerritoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200D_202B_200E_206D_200D_206F_206A_206F_202C_202A_206A_200F_202A_200C_200E_202B_200C_200B_206C_200C_202D_206D_202B_206C_202C_206F_200F_206F_200E_202E_202C_206A_206B_200D_206A_206B_200D_202B_202D_206A_202E(); + _202B_202A_200D_202B_200C_206B_206E_202C_202E_200E_202A_200D_206D_202D_200F_206F_200D_206C_206B_202E_202E_202E_202A_200F_206E_200F_202B_200C_206F_206D_200D_200F_202E_206B_200F_206E_206E_200B_206B_202E(builder, global::_003CModule_003E._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(1462199948)); + _202B_202A_200D_202B_200C_206B_206E_202C_202E_200E_202A_200D_206D_202D_200F_206F_200D_206C_206B_202E_202E_202E_202A_200F_206E_200F_202B_200C_206F_206D_200D_200F_202E_206B_200F_206E_206E_200B_206B_202E(builder, NpcDataId.ToString()); + _202B_202A_200D_202B_200C_206B_206E_202C_202E_200E_202A_200D_206D_202D_200F_206F_200D_206C_206B_202E_202E_202E_202A_200F_206E_200F_202B_200C_206F_206D_200D_200F_202E_206B_200F_206E_206E_200B_206B_202E(builder, global::_003CModule_003E._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(756158436)); + _202B_202A_200D_202B_200C_206B_206E_202C_202E_200E_202A_200D_206D_202D_200F_206F_200D_206C_206B_202E_202E_202E_202A_200F_206E_200F_202B_200C_206F_206D_200D_200F_202E_206B_200F_206E_206E_200B_206B_202E(builder, DestStandRowId.ToString()); + _202B_202A_200D_202B_200C_206B_206E_202C_202E_200E_202A_200D_206D_202D_200F_206F_200D_206C_206B_202E_202E_202E_202A_200F_206E_200F_202B_200C_206F_206D_200D_200F_202E_206B_200F_206E_206E_200B_206B_202E(builder, global::_003CModule_003E._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(247569825)); + _206B_200C_206B_200E_202E_200C_202C_200D_206B_206A_200B_202E_200D_206C_202A_200F_200E_206E_206E_200E_200C_206F_206B_200E_200E_200D_206F_206D_206A_200F_206C_202E_206C_206F_202D_206A_200D_206F_202A_206A_202E(builder, (object)DestPlaceName); + _202B_202A_200D_202B_200C_206B_206E_202C_202E_200E_202A_200D_206D_202D_200F_206F_200D_206C_206B_202E_202E_202E_202A_200F_206E_200F_202B_200C_206F_206D_200D_200F_202E_206B_200F_206E_206E_200B_206B_202E(builder, global::_003CModule_003E._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(1994630997)); + _202B_202A_200D_202B_200C_206B_206E_202C_202E_200E_202A_200D_206D_202D_200F_206F_200D_206C_206B_202E_202E_202E_202A_200F_206E_200F_202B_200C_206F_206D_200D_200F_202E_206B_200F_206E_206E_200B_206B_202E(builder, SourceTerritoryId.ToString()); + _202B_202A_200D_202B_200C_206B_206E_202C_202E_200E_202A_200D_206D_202D_200F_206F_200D_206C_206B_202E_202E_202E_202A_200F_206E_200F_202B_200C_206F_206D_200D_200F_202E_206B_200F_206E_206E_200B_206B_202E(builder, global::_003CModule_003E._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(1846217432)); + _202B_202A_200D_202B_200C_206B_206E_202C_202E_200E_202A_200D_206D_202D_200F_206F_200D_206C_206B_202E_202E_202E_202A_200F_206E_200F_202B_200C_206F_206D_200D_200F_202E_206B_200F_206E_206E_200B_206B_202E(builder, DestTerritoryId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? (-611933830) : (-611933829)); + while (true) + { + int num2 = num; + int num3 = -611933826; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -611933829; + break; + case 5: + num = (((object)other == null) ? (-611933833) : (-611933825)); + break; + case 9: + return false; + case 4: + return true; + case 1: + num = ((!_206E_206E_200E_200B_202B_202D_200D_200E_200F_202B_206F_202E_206D_202D_200E_202D_206C_200B_206F_202D_206A_202D_206D_202D_202B_200E_202C_202A_202C_202A_206A_200C_200E_202C_200C_202C_200D_202D_200B_202A_202E(EqualityContract, other.EqualityContract)) ? (-611933833) : (-611933828)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(DestStandRowId, other.DestStandRowId)) ? (-611933833) : (-611933831)); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(DestPlaceName, other.DestPlaceName)) ? (-611933833) : (-611933827)); + break; + case 8: + return EqualityComparer.Default.Equals(DestTerritoryId, other.DestTerritoryId); + case 2: + num = ((!EqualityComparer.Default.Equals(NpcDataId, other.NpcDataId)) ? (-611933833) : (-611933832)); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(SourceTerritoryId, other.SourceTerritoryId)) ? (-611933833) : (-611933834)); + break; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_200E_200C_206D_202D_200B_200C_200C_206E_202B_206A_202E_202D_206F_206D_202E_202A_200B_206A_202A_206A_202D_202A_200C_206D_206E_206B_200C_200C_202D_200C_200D_206D_202B_202A_202A_200D_202C_206D_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _200D_202B_200E_206D_200D_206F_206A_206F_202C_202A_206A_200F_202A_200C_200E_202B_200C_200B_206C_200C_202D_206D_202B_206C_202C_206F_200F_206F_200E_202E_202C_206A_206B_200D_206A_206B_200D_202B_202D_206A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202B_202A_200D_202B_200C_206B_206E_202C_202E_200E_202A_200D_206D_202D_200F_206F_200D_206C_206B_202E_202E_202E_202A_200F_206E_200F_202B_200C_206F_206D_200D_200F_202E_206B_200F_206E_206E_200B_206B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_200C_206B_200E_202E_200C_202C_200D_206B_206A_200B_202E_200D_206C_202A_200F_200E_206E_206E_200E_200C_206F_206B_200E_200E_200D_206F_206D_206A_200F_206C_202E_206C_206F_202D_206A_200D_206F_202A_206A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206E_206E_200E_200B_202B_202D_200D_200E_200F_202B_206F_202E_206D_202D_200E_202D_206C_200B_206F_202D_206A_202D_206D_202D_202B_200E_202C_202A_202C_202A_206A_200C_200E_202C_200C_202C_200D_202D_200B_202A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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; + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + _phase = ETaxiPhase.None; + _wasRiding = false; + IPlayerCharacter playerCharacter = _206B_206D_202B_202B_202D_200C_206C_200E_206E_206B_202B_206E_206C_200E_200E_206D_200D_206D_206B_202E_202A_202E_206B_200B_202C_200F_202D_206A_202A_202C_206D_206A_200C_200F_200D_202C_206E_202C_206C_206F_202E(objectTable); + _startPosition = ((playerCharacter != null) ? _200B_206F_202B_200F_202B_206F_200E_206F_206A_200F_206C_206C_200E_202C_202A_206C_200B_206F_200F_202C_200E_200B_200F_200D_200E_202A_206E_200C_202C_202D_206D_206F_200D_200D_200E_206E_206E_206D_202E_206D_202E((IGameObject)playerCharacter) : Vector3.Zero); + interactionUiController.SmartNavTaxiDestPlaceName = base.Task.DestPlaceName; + IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.NpcDataId); + int num = ((gameObject != null) ? 593300063 : 593300057); + while (true) + { + int num2 = num; + int num3 = 593300058; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + _206F_202A_202C_200F_200F_206A_206F_200B_202C_202D_202A_202A_206B_206D_206F_206B_202C_200E_206D_202A_202D_206B_206E_200E_202E_202D_202D_206F_206D_202A_200B_202D_200F_202D_206C_206B_206A_206A_200D_202D_202E((ILogger)logger, global::_003CModule_003E._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(-1199220683), new object[2] + { + base.Task.NpcDataId, + base.Task.DestPlaceName + }); + _phase = ETaxiPhase.Interacting; + _interactingStartedAt = _206D_206E_200D_202B_206C_202E_206B_200B_200F_200B_206B_200F_206E_202D_206A_206D_200E_206D_200E_202A_202D_206A_206B_206D_202A_202B_206D_200B_206E_202C_206C_202A_206E_202B_200F_202E_200E_200E_200C_202E_202E(); + num = 593300059; + break; + case 5: + num = ((!_202A_202A_202D_202C_202D_206B_206F_202E_202A_202A_200D_202D_202A_206E_200C_200F_206C_200C_206C_206D_200D_206B_206C_206C_200D_206A_202D_200C_202A_206F_206D_206C_202A_202D_202C_200B_206F_200D_206C_202A_202E(condition, ConditionFlag.Mounted)) ? 593300060 : 593300056); + break; + case 2: + _206F_202A_202C_200F_200F_206A_206F_200B_202C_202D_202A_202A_206B_206D_206F_206B_202C_200E_206D_202A_202D_206B_206E_200E_202E_202D_202D_206F_206D_202A_200B_202D_200F_202D_206C_206B_206A_206A_200D_202D_202E((ILogger)logger, global::_003CModule_003E._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(1789778383), Array.Empty()); + gameFunctions.Unmount(); + _phase = ETaxiPhase.Unmounting; + return true; + case 3: + _206F_202A_202C_200F_200F_206A_206F_200B_202C_202D_202A_202A_206B_206D_206F_206B_202C_200E_206D_202A_202D_206B_206E_200E_202E_202D_202D_206F_206D_202A_200B_202D_200F_202D_206C_206B_206A_206A_200D_202D_202E((ILogger)logger, global::_003CModule_003E._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(-1881696787), new object[1] { base.Task.NpcDataId }); + return true; + case 6: + num = ((!gameFunctions.InteractWith(gameObject)) ? 593300059 : 593300062); + break; + case 1: + return true; + case 0: + num = 593300057; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + switch (_phase) + { + case ETaxiPhase.Unmounting: + goto IL_0227; + case ETaxiPhase.Riding: + goto IL_0252; + case ETaxiPhase.None: + goto IL_0365; + case ETaxiPhase.Interacting: + goto IL_0478; + } + int num = -893031987; + goto IL_0029; + IL_0227: + num = ((!_202A_202A_202D_202C_202D_206B_206F_202E_202A_202A_200D_202D_202A_206E_200C_200F_206C_200C_206C_206D_200D_206B_206C_206C_200D_206A_202D_200C_202A_206F_206D_206C_202A_202D_202C_200B_206F_200D_206C_202A_202E(condition, ConditionFlag.Mounted)) ? (-893031938) : (-893031981)); + goto IL_0029; + IL_0478: + num = ((!_202A_202A_202D_202C_202D_206B_206F_202E_202A_202A_200D_202D_202A_206E_200C_200F_206C_200C_206C_206D_200D_206B_206C_206C_200D_206A_202D_200C_202A_206F_206D_206C_202A_202D_202C_200B_206F_200D_206C_202A_202E(condition, ConditionFlag.Mounted)) ? (-893031991) : (-893031973)); + goto IL_0029; + IL_0365: + IGameObject gameObject = gameFunctions.FindObjectByDataId(base.Task.NpcDataId); + num = ((gameObject != null) ? (-893031980) : (-893031976)); + goto IL_0029; + IL_0252: + num = ((_202B_206B_206B_206B_202E_202D_200C_206E_200E_200F_206E_206C_200C_202A_206D_206C_200B_202C_200C_206B_202E_202E_202E_202A_200C_206B_200C_202C_206B_200B_206B_206E_206B_202D_202E_200E_206D_202C_206B_202A_202E(clientState) == base.Task.SourceTerritoryId) ? (-893031994) : (-893031969)); + goto IL_0029; + IL_0029: + IGameObject gameObject2 = default(IGameObject); + while (true) + { + int num2 = num; + int num3 = -893031969; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 26: + num = -893031984; + break; + case 20: + num = -893031997; + break; + case 17: + _206F_202A_202C_200F_200F_206A_206F_200B_202C_202D_202A_202A_206B_206D_206F_206B_202C_200E_206D_202A_202D_206B_206E_200E_202E_202D_202D_206F_206D_202A_200B_202D_200F_202D_206C_206B_206A_206A_200D_202D_202E((ILogger)logger, global::_003CModule_003E._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(-336207586), Array.Empty()); + ClearContext(); + return ETaskResult.TaskComplete; + case 35: + goto IL_013f; + case 13: + return ETaskResult.StillRunning; + case 32: + if (!_202A_202A_202D_202C_202D_206B_206F_202E_202A_202A_200D_202D_202A_206E_200C_200F_206C_200C_206C_206D_200D_206B_206C_206C_200D_206A_202D_200C_202A_206F_206D_206C_202A_202D_202C_200B_206F_200D_206C_202A_202E(condition, ConditionFlag.OccupiedInEvent)) + { + goto case 26; + } + goto case 20; + case 11: + goto IL_0189; + case 9: + _200B_202D_206E_202C_200C_206A_206C_206A_202B_202A_206E_202E_206D_202D_200E_200D_202D_202E_200F_206B_200C_202B_202D_200B_200D_200D_206E_206A_206A_200C_206A_206F_200D_202D_202C_202A_206F_200E_200E_202C_202E((ILogger)logger, global::_003CModule_003E._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(347542039), Array.Empty()); + ClearContext(); + return ETaskResult.RetryStep; + case 24: + return ETaskResult.StillRunning; + case 25: + goto IL_01fe; + case 21: + goto end_IL_0029; + case 7: + return ETaskResult.StillRunning; + case 16: + goto IL_0252; + case 34: + return ETaskResult.StillRunning; + case 29: + return ETaskResult.StillRunning; + case 23: + if (_202A_202A_202D_202C_202D_206B_206F_202E_202A_202A_200D_202D_202A_206E_200C_200F_206C_200C_206C_206D_200D_206B_206C_206C_200D_206A_202D_200C_202A_206F_206D_206C_202A_202D_202C_200B_206F_200D_206C_202A_202E(condition, ConditionFlag.OccupiedInEvent)) + { + goto case 1; + } + goto case 22; + case 28: + return ETaskResult.StillRunning; + case 1: + num = -893031975; + break; + case 22: + num = -893031977; + break; + case 5: + gameFunctions.Unmount(); + _phase = ETaxiPhase.Unmounting; + return ETaskResult.StillRunning; + case 12: + return ETaskResult.StillRunning; + case 8: + goto IL_02de; + case 2: + _206F_202A_202C_200F_200F_206A_206F_200B_202C_202D_202A_202A_206B_206D_206F_206B_202C_200E_206D_202A_202D_206B_206E_200E_202E_202D_202D_206F_206D_202A_200B_202D_200F_202D_206C_206B_206A_206A_200D_202D_202E((ILogger)logger, global::_003CModule_003E._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(1391970464), new object[1] { base.Task.NpcDataId }); + _phase = ETaxiPhase.Interacting; + _interactingStartedAt = _206D_206E_200D_202B_206C_202E_206B_200B_200F_200B_206B_200F_206E_202D_206A_206D_200E_206D_200E_202A_202D_206A_206B_206D_202A_202B_206D_200B_206E_202C_206C_202A_206E_202B_200F_202E_200E_200E_200C_202E_202E(); + num = -893031993; + break; + case 18: + num = -893031939; + break; + case 10: + goto IL_0365; + case 19: + goto IL_03a4; + case 3: + goto IL_03cd; + case 27: + _206F_202A_202C_200F_200F_206A_206F_200B_202C_202D_202A_202A_206B_206D_206F_206B_202C_200E_206D_202A_202D_206B_206E_200E_202E_202D_202D_206F_206D_202A_200B_202D_200F_202D_206C_206B_206A_206A_200D_202D_202E((ILogger)logger, global::_003CModule_003E._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(-210335967), new object[1] { base.Task.NpcDataId }); + _phase = ETaxiPhase.Interacting; + _interactingStartedAt = _206D_206E_200D_202B_206C_202E_206B_200B_200F_200B_206B_200F_206E_202D_206A_206D_200E_206D_200E_202A_202D_206A_206B_206D_202A_202B_206D_200B_206E_202C_206C_202A_206E_202B_200F_202E_200E_200E_200C_202E_202E(); + num = -893031998; + break; + case 6: + _206F_202A_202C_200F_200F_206A_206F_200B_202C_202D_202A_202A_206B_206D_206F_206B_202C_200E_206D_202A_202D_206B_206E_200E_202E_202D_202D_206F_206D_202A_200B_202D_200F_202D_206C_206B_206A_206A_200D_202D_202E((ILogger)logger, global::_003CModule_003E._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(-1554309501), Array.Empty()); + _wasRiding = true; + _phase = ETaxiPhase.Riding; + return ETaskResult.StillRunning; + case 14: + num = -893031987; + break; + case 30: + goto IL_0478; + case 33: + goto IL_04a1; + case 0: + _206F_202A_202C_200F_200F_206A_206F_200B_202C_202D_202A_202A_206B_206D_206F_206B_202C_200E_206D_202A_202D_206B_206E_200E_202E_202D_202D_206F_206D_202A_200B_202D_200F_202D_206C_206B_206A_206A_200D_202D_202E((ILogger)logger, global::_003CModule_003E._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(-459829090), new object[1] { _202B_206B_206B_206B_202E_202D_200C_206E_200E_200F_206E_206C_200C_202A_206D_206C_200B_202C_200C_206B_202E_202E_202E_202A_200C_206B_200C_202C_206B_200B_206B_206E_206B_202D_202E_200E_206D_202C_206B_202A_202E(clientState) }); + ClearContext(); + return ETaskResult.TaskComplete; + case 15: + goto IL_0516; + case 4: + goto IL_0539; + case 31: + _206F_202A_202C_200F_200F_206A_206F_200B_202C_202D_202A_202A_206B_206D_206F_206B_202C_200E_206D_202A_202D_206B_206E_200E_202E_202D_202D_206F_206D_202A_200B_202D_200F_202D_206C_206B_206A_206A_200D_202D_202E((ILogger)logger, global::_003CModule_003E._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(117734441), Array.Empty()); + _phase = ETaxiPhase.None; + return ETaskResult.StillRunning; + } + continue; + IL_0539: + num = (_202A_202A_202D_202C_202D_206B_206F_202E_202A_202A_200D_202D_202A_206E_200C_200F_206C_200C_206C_206D_200D_206B_206C_206C_200D_206A_202D_200C_202A_206F_206D_206C_202A_202D_202C_200B_206F_200D_206C_202A_202E(condition, ConditionFlag.Occupied) ? (-893031970) : (-893031992)); + continue; + IL_03cd: + num = ((!gameFunctions.InteractWith(gameObject)) ? (-893031998) : (-893031996)); + continue; + IL_02de: + num = ((_206D_206E_200D_202B_206C_202E_206B_200B_200F_200B_206B_200F_206E_202D_206A_206D_200E_206D_200E_202A_202D_206A_206B_206D_202A_202B_206D_200B_206E_202C_206C_202A_206E_202B_200F_202E_200E_200E_200C_202E_202E() - _interactingStartedAt <= 30000) ? (-893031982) : (-893031978)); + continue; + IL_0516: + num = ((!_wasRiding) ? (-893031997) : (-893031986)); + continue; + IL_0189: + IPlayerCharacter playerCharacter = _206B_206D_202B_202B_202D_200C_206C_200E_206E_206B_202B_206E_206C_200E_200E_206D_200D_206D_206B_202E_202A_202E_206B_200B_202C_200F_202D_206A_202A_202C_206D_206A_200C_200F_200D_202C_206E_202C_206C_206F_202E(objectTable); + _startPosition = ((playerCharacter != null) ? _200B_206F_202B_200F_202B_206F_200E_206F_206A_200F_206C_206C_200E_202C_202A_206C_200B_206F_200F_202C_200E_200B_200F_200D_200E_202A_206E_200C_202C_202D_206D_206F_200D_200D_200E_206E_206E_206D_202E_206D_202E((IGameObject)playerCharacter) : _startPosition); + num = ((!_202A_202A_202D_202C_202D_206B_206F_202E_202A_202A_200D_202D_202A_206E_200C_200F_206C_200C_206C_206D_200D_206B_206C_206C_200D_206A_202D_200C_202A_206F_206D_206C_202A_202D_202C_200B_206F_200D_206C_202A_202E(condition, ConditionFlag.Mounted)) ? (-893031972) : (-893031974)); + continue; + IL_03a4: + num = ((!gameFunctions.InteractWith(gameObject2)) ? (-893031993) : (-893031971)); + continue; + IL_04a1: + gameObject2 = gameFunctions.FindObjectByDataId(base.Task.NpcDataId); + num = ((gameObject2 != null) ? (-893031988) : (-893032000)); + continue; + IL_013f: + num = (_202A_202A_202D_202C_202D_206B_206F_202E_202A_202A_200D_202D_202A_206E_200C_200F_206C_200C_206C_206D_200D_206B_206C_206C_200D_206A_202D_200C_202A_206F_206D_206C_202A_202D_202C_200B_206F_200D_206C_202A_202E(condition, ConditionFlag.Occupied) ? (-893031989) : (-893031937)); + continue; + IL_01fe: + num = ((!_202A_202A_202D_202C_202D_206B_206F_202E_202A_202A_200D_202D_202A_206E_200C_200F_206C_200C_206C_206D_200D_206B_206C_206C_200D_206A_202D_200C_202A_206F_206D_206C_202A_202D_202C_200B_206F_200D_206C_202A_202E(condition, ConditionFlag.Mounted)) ? (-893031995) : (-893031940)); + continue; + end_IL_0029: + break; + } + goto IL_0227; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void OnConditionChange(ConditionFlag flag, bool value) + { + bool flag2 = _phase == ETaxiPhase.Interacting; + int num = ((!flag2) ? 1668552207 : 1668552200); + bool flag3 = default(bool); + while (true) + { + int num2 = num; + int num3 = 1668552201; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + flag3 = false; + num = 1668552204; + break; + case 1: + num = (((uint)(flag - 31) > 1u) ? 1668552202 : 1668552203); + break; + case 5: + flag2 = flag3; + num = 1668552207; + break; + case 0: + num = 1668552200; + break; + case 4: + return; + case 2: + flag3 = true; + num = 1668552204; + break; + case 6: + { + bool num5 = flag2; + num3 = (value ? 1 : 0); + num4 = (num5 ? 1 : 0); + num = (((num4 | num3) - (num4 ^ num3) == 0) ? 1668552205 : 1668552206); + break; + } + case 7: + _206F_202A_202C_200F_200F_206A_206F_200B_202C_202D_202A_202A_206B_206D_206F_206B_202C_200E_206D_202A_202D_206B_206E_200E_202E_202D_202D_206F_206D_202A_200B_202D_200F_202D_206C_206B_206A_206A_200D_202D_202E((ILogger)logger, global::_003CModule_003E._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(-919040948), Array.Empty()); + num = 1668552205; + break; + } + } + } + + void IConditionChangeAware.OnConditionChange(ConditionFlag flag, bool value) + { + //ILSpy generated this explicit interface implementation from .override directive in OnConditionChange + this.OnConditionChange(flag, value); + } + + public override bool ShouldInterruptOnDamage() + { + return false; + } + + private void ClearContext() + { + interactionUiController.SmartNavTaxiDestPlaceName = null; + } + + static IPlayerCharacter _206B_206D_202B_202B_202D_200C_206C_200E_206E_206B_202B_206E_206C_200E_200E_206D_200D_206D_206B_202E_202A_202E_206B_200B_202C_200F_202D_206A_202A_202C_206D_206A_200C_200F_200D_202C_206E_202C_206C_206F_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _200B_206F_202B_200F_202B_206F_200E_206F_206A_200F_206C_206C_200E_202C_202A_206C_200B_206F_200F_202C_200E_200B_200F_200D_200E_202A_206E_200C_202C_202D_206D_206F_200D_200D_200E_206E_206E_206D_202E_206D_202E(IGameObject P_0) + { + return P_0.Position; + } + + static void _206F_202A_202C_200F_200F_206A_206F_200B_202C_202D_202A_202A_206B_206D_206F_206B_202C_200E_206D_202A_202D_206B_206E_200E_202E_202D_202D_206F_206D_202A_200B_202D_200F_202D_206C_206B_206A_206A_200D_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _202A_202A_202D_202C_202D_206B_206F_202E_202A_202A_200D_202D_202A_206E_200C_200F_206C_200C_206C_206D_200D_206B_206C_206C_200D_206A_202D_200C_202A_206F_206D_206C_202A_202D_202C_200B_206F_200D_206C_202A_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static long _206D_206E_200D_202B_206C_202E_206B_200B_200F_200B_206B_200F_206E_202D_206A_206D_200E_206D_200E_202A_202D_206A_206B_206D_202A_202B_206D_200B_206E_202C_206C_202A_206E_202B_200F_202E_200E_200E_200C_202E_202E() + { + return Environment.TickCount64; + } + + static void _200B_202D_206E_202C_200C_206A_206C_206A_202B_202A_206E_202E_206D_202D_200E_200D_202D_202E_200F_206B_200C_202B_202D_200B_200D_200D_206E_206A_206A_200C_206A_206F_200D_202D_202C_202A_206F_200E_200E_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static uint _202B_206B_206B_206B_202E_202D_200C_206E_200E_200F_206E_206C_200C_202A_206D_206C_200B_202C_200C_206B_202E_202E_202E_202A_200C_206B_200C_202C_206B_200B_206B_206E_206B_202D_202E_200E_206D_202C_206B_202A_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + } +} diff --git a/Questionable/Questionable.Controller.Steps.Shared/TicketTeleport.cs b/Questionable/Questionable.Controller.Steps.Shared/TicketTeleport.cs new file mode 100644 index 00000000..311e20c9 --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/TicketTeleport.cs @@ -0,0 +1,152 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +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 + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_206B_206A_200E_206B_206F_200B_202A_206A_200C_200F_206B_206A_200E_206F_200B_200B_200D_206B_206F_206C_200C_206B_200C_200F_200F_200D_202D_202B_206B_202E_200E_206F_200B_200B_206D_202B_200F_206B_206C_202E(typeof(Task).TypeHandle); + } + } + + public ElementId? QuestId => null; + + public IList CompletionQuestVariablesFlags => new List(); + + public bool StartingCombat => false; + + public bool ShouldRedoOnInterrupt() + { + return true; + } + + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(30, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1384911958)); + defaultInterpolatedStringHandler.AppendFormatted(ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1691935347)); + defaultInterpolatedStringHandler.AppendFormatted(DestTerritoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1618480346)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_206F_206F_206B_200E_202A_206A_206B_200C_202B_202E_206D_202A_202E_202B_202E_202E_206D_206D_206D_202D_206D_206E_200E_206B_206E_200B_206C_206C_206F_200D_200C_202E_206A_200F_202E_200D_200B_200B_206C_202E(); + _200C_200D_202D_206A_206C_206A_202A_206A_200E_202A_202D_200E_202C_206E_202D_200F_200B_202E_206C_200D_206B_200E_206F_202A_206A_202A_202A_206F_202D_202E_200F_200F_202C_206D_206B_200D_200B_202D_206B_206A_202E(builder, global::_003CModule_003E._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(-1298229987)); + _200C_200D_202D_206A_206C_206A_202A_206A_200E_202A_202D_200E_202C_206E_202D_200F_200B_202E_206C_200D_206B_200E_206F_202A_206A_202A_202A_206F_202D_202E_200F_200F_202C_206D_206B_200D_200B_202D_206B_206A_202E(builder, ItemId.ToString()); + _200C_200D_202D_206A_206C_206A_202A_206A_200E_202A_202D_200E_202C_206E_202D_200F_200B_202E_206C_200D_206B_200E_206F_202A_206A_202A_202A_206F_202D_202E_200F_200F_202C_206D_206B_200D_200B_202D_206B_206A_202E(builder, global::_003CModule_003E._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(-1798905925)); + _200C_200D_202D_206A_206C_206A_202A_206A_200E_202A_202D_200E_202C_206E_202D_200F_200B_202E_206C_200D_206B_200E_206F_202A_206A_202A_202A_206F_202D_202E_200F_200F_202C_206D_206B_200D_200B_202D_206B_206A_202E(builder, DestTerritoryId.ToString()); + _200C_200D_202D_206A_206C_206A_202A_206A_200E_202A_202D_200E_202C_206E_202D_200F_200B_202E_206C_200D_206B_200E_206F_202A_206A_202A_202A_206F_202D_202E_200F_200F_202C_206D_206B_200D_200B_202D_206B_206A_202E(builder, global::_003CModule_003E._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(1816920176)); + _206D_206E_206D_206C_206C_200E_206F_202D_206C_206F_206D_206F_200C_200C_200B_200F_200B_200D_206E_206F_200F_202B_206B_200B_200E_202A_202D_206C_202C_202A_200C_202A_202A_202B_206C_206E_202B_202E_200E_200E_202E(builder, (object?)QuestId); + _200C_200D_202D_206A_206C_206A_202A_206A_200E_202A_202D_200E_202C_206E_202D_200F_200B_202E_206C_200D_206B_200E_206F_202A_206A_202A_202A_206F_202D_202E_200F_200F_202C_206D_206B_200D_200B_202D_206B_206A_202E(builder, global::_003CModule_003E._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(-755497586)); + _206D_206E_206D_206C_206C_200E_206F_202D_206C_206F_206D_206F_200C_200C_200B_200F_200B_200D_206E_206F_200F_202B_206B_200B_200E_202A_202D_206C_202C_202A_200C_202A_202A_202B_206C_206E_202B_202E_200E_200E_202E(builder, (object?)CompletionQuestVariablesFlags); + _200C_200D_202D_206A_206C_206A_202A_206A_200E_202A_202D_200E_202C_206E_202D_200F_200B_202E_206C_200D_206B_200E_206F_202A_206A_202A_202A_206F_202D_202E_200F_200F_202C_206D_206B_200D_200B_202D_206B_206A_202E(builder, global::_003CModule_003E._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(-395177721)); + _200C_200D_202D_206A_206C_206A_202A_206A_200E_202A_202D_200E_202C_206E_202D_200F_200B_202E_206C_200D_206B_200E_206F_202A_206A_202A_202A_206F_202D_202E_200F_200F_202C_206D_206B_200D_200B_202D_206B_206A_202E(builder, StartingCombat.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? (-1363614777) : (-1363614778)); + while (true) + { + int num2 = num; + int num3 = -1363614780; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1363614778; + break; + case 1: + num = ((!_202A_206A_200E_206F_202D_202C_206D_200C_206C_206F_206E_202C_200D_206C_200E_202A_200F_202A_200B_202D_200F_202E_206B_200F_200F_202B_206B_202C_206C_200F_206D_200B_202C_200F_202E_200D_202E_200C_200E_206E_202E(EqualityContract, other.EqualityContract)) ? (-1363614784) : (-1363614782)); + break; + case 4: + return false; + case 2: + num = (((object)other == null) ? (-1363614784) : (-1363614779)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? (-1363614784) : (-1363614783)); + break; + case 5: + return EqualityComparer.Default.Equals(DestTerritoryId, other.DestTerritoryId); + case 3: + return true; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _206E_206B_206A_200E_206B_206F_200B_202A_206A_200C_200F_206B_206A_200E_206F_200B_200B_200D_206B_206F_206C_200C_206B_200C_200F_200F_200D_202D_202B_206B_202E_200E_206F_200B_200B_206D_202B_200F_206B_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202B_206F_206F_206B_200E_202A_206A_206B_200C_202B_202E_206D_202A_202E_202B_202E_202E_206D_206D_206D_202D_206D_206E_200E_206B_206E_200B_206C_206C_206F_200D_200C_202E_206A_200F_202E_200D_200B_200B_206C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _200C_200D_202D_206A_206C_206A_202A_206A_200E_202A_202D_200E_202C_206E_202D_200F_200B_202E_206C_200D_206B_200E_206F_202A_206A_202A_202A_206F_202D_202E_200F_200F_202C_206D_206B_200D_200B_202D_206B_206A_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _206D_206E_206D_206C_206C_200E_206F_202D_206C_206F_206D_206F_200C_200C_200B_200F_200B_200D_206E_206F_200F_202B_206B_200B_200E_202A_202D_206C_202C_202A_200C_202A_202A_202B_206C_206E_202B_202E_200E_200E_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _202A_206A_200E_206F_202D_202C_206D_200C_206C_206F_206E_202C_200D_206C_200E_202A_200F_202A_200B_202D_200F_202E_206B_200F_200F_202B_206B_202C_206C_200F_206D_200B_202C_200F_202E_200D_202E_200C_200E_206E_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; + } + } + + 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 977f25a0..bcfe2288 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/WaitAtEnd.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/WaitAtEnd.cs @@ -3,7 +3,11 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Game.ClientState.Conditions; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using Questionable.Controller.Steps.Common; using Questionable.Controller.Utils; @@ -17,148 +21,462 @@ 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 { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass8_0 + { + public Factory _003C_003E4__this; + + public QuestStep step; + + internal bool _003CCreateAllTasks_003Eb__0() + { + return !_200B_202B_206C_200C_200D_202C_206E_202C_202A_202B_200D_200F_200C_206C_206F_200D_206D_206A_202E_200B_202C_206A_200C_200D_206B_202B_206A_202B_202E_202B_202A_206E_202D_206F_200F_200D_202B_200E_202E_202A_202E(_003C_003E4__this.condition, ConditionFlag.InCombat); + } + + internal bool _003CCreateAllTasks_003Eb__1() + { + return _206C_206F_200B_202B_206A_202E_202E_200B_206D_206E_206C_206B_206C_200D_202D_200D_206E_200C_206D_206D_200C_206A_202E_206A_200B_200D_200C_206A_200E_206C_206B_202E_206B_206B_200F_206A_200B_206E_202B_202C_202E(_003C_003E4__this.clientState) == _206C_206A_200C_206C_206F_206D_202E_202C_206B_206A_200E_200E_206E_206A_206A_200F_206B_202C_206F_200E_200C_206B_200D_202C_200C_200C_206C_200B_200E_206F_206B_202E_206D_206E_202A_202A_206F_202A_200C_206B_202E(step); + } + + static bool _200B_202B_206C_200C_200D_202C_206E_202C_202A_202B_200D_200F_200C_206C_206F_200D_206D_206A_202E_200B_202C_206A_200C_200D_206B_202B_206A_202B_202E_202B_202A_206E_202D_206F_200F_200D_202B_200E_202E_202A_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static uint _206C_206F_200B_202B_206A_202E_202E_200B_206D_206E_206C_206B_206C_200D_202D_200D_206E_200C_206D_206D_200C_206A_202E_206A_200B_200D_200C_206A_200E_206C_206B_202E_206B_206B_200F_206A_200B_206E_202B_202C_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static ushort? _206C_206A_200C_206C_206F_206D_202E_202C_206B_206A_200E_200E_206E_206A_206A_200F_206B_202C_206F_200E_200C_206B_200D_202C_200C_200C_206C_200B_200E_206F_206B_202E_206D_206E_202A_202A_206F_202A_200C_206B_202E(QuestStep P_0) + { + return P_0.TargetTerritoryId; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass8_1 + { + public Vector3 lastPosition; + + public _003C_003Ec__DisplayClass8_0 CS_0024_003C_003E8__locals1; + + internal bool _003CCreateAllTasks_003Eb__2() + { + IPlayerCharacter playerCharacter = _200D_202E_202C_206E_202D_206B_206C_200D_206D_200D_200B_202D_206F_202E_202A_206D_202B_202C_202C_202E_200D_200B_206C_200E_202C_200E_202E_206D_206A_206A_202A_200D_206D_200B_206F_202A_206A_206F_200B_200F_202E(CS_0024_003C_003E8__locals1._003C_003E4__this.objectTable); + Vector3? vector = ((playerCharacter != null) ? new Vector3?(_206D_200E_200C_200F_200F_200D_202E_206C_206D_202E_206C_200E_200D_206F_200E_200B_202E_206F_200B_206D_206F_200C_206B_200E_202B_200C_202E_206D_202D_200B_206E_206C_206C_202D_202B_206E_206D_202B_206A_206A_202E((IGameObject)playerCharacter)) : ((Vector3?)null)); + int num = (vector.HasValue ? (-1541036823) : (-1541036822)); + while (true) + { + int num2 = num; + int num3 = -1541036824; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0082; + case 2: + return false; + case 1: + return (lastPosition - vector.Value).Length() > 2f; + } + continue; + IL_0082: + num = -1541036822; + } + } + + static IPlayerCharacter _200D_202E_202C_206E_202D_206B_206C_200D_206D_200D_200B_202D_206F_202E_202A_206D_202B_202C_202C_202E_200D_200B_206C_200E_202C_200E_202E_206D_206A_206A_202A_200D_206D_200B_206F_202A_206A_206F_200B_200F_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _206D_200E_200C_200F_200F_200D_202E_206C_206D_202E_206C_200E_200D_206F_200E_200B_202E_206F_200B_206D_206F_200C_206B_200E_202B_200C_202E_206D_202D_200B_206E_206C_206C_202D_202B_206E_206D_202B_206A_206A_202E(IGameObject P_0) + { + return P_0.Position; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { - if (step.CompletionQuestVariablesFlags.Count == 6 && QuestWorkUtils.HasCompletionFlags(step.CompletionQuestVariablesFlags)) + int num = ((_202B_202D_202A_206B_206B_200D_200E_202C_200B_206E_200B_206D_202D_200E_206D_202D_206B_206B_200D_202B_206A_202D_202A_206D_202D_202A_200D_200C_200D_206B_202E_200C_200C_202A_206F_200B_206D_202B_202E_202B_202E(step).Count != 6) ? 305029155 : 305029169); + WaitQuestAccepted waitQuestAccepted = default(WaitQuestAccepted); + WaitDelay waitDelay = default(WaitDelay); + EInteractionType eInteractionType = default(EInteractionType); + WaitQuestCompleted waitQuestCompleted = default(WaitQuestCompleted); + WaitDelay waitDelay2 = default(WaitDelay); + ITask task = default(ITask); + while (true) { - WaitForCompletionFlags waitForCompletionFlags = new WaitForCompletionFlags((QuestId)quest.Id, step); - WaitDelay waitDelay = new WaitDelay(); - return new global::_003C_003Ez__ReadOnlyArray(new ITask[3] - { - waitForCompletionFlags, - waitDelay, - Next(quest, sequence) - }); - } - ITask task; - switch (step.InteractionType) - { - case EInteractionType.Combat: - { - if (step.EnemySpawnType == EEnemySpawnType.FinishCombatIfAny) - { - return new global::_003C_003Ez__ReadOnlySingleElementList(Next(quest, sequence)); - } - WaitCondition.Task task2 = new WaitCondition.Task(() => !condition[ConditionFlag.InCombat], "Wait(not in combat)"); - return new global::_003C_003Ez__ReadOnlyArray(new ITask[4] - { - new WaitDelay(), - task2, - new WaitDelay(), - Next(quest, sequence) - }); - } - case EInteractionType.WaitForManualProgress: - case EInteractionType.Snipe: - case EInteractionType.Instruction: - case EInteractionType.FateAction: - return new global::_003C_003Ez__ReadOnlySingleElementList(new WaitNextStepOrSequence()); - case EInteractionType.Duty: - if (autoDutyIpc.IsConfiguredToRunContent(step.DutyOptions)) + int num2 = num; + int num3 = 305029181; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 26: + num = 305029156; break; - } - goto IL_01a1; - case EInteractionType.SinglePlayerDuty: - if (bossModIpc.IsConfiguredToRunSoloInstance(quest.Id, step.SinglePlayerDutyOptions)) - { - break; - } - goto IL_01a1; - case EInteractionType.WalkTo: - case EInteractionType.Jump: - return new global::_003C_003Ez__ReadOnlySingleElementList(Next(quest, sequence)); - case EInteractionType.WaitForObjectAtPosition: - ArgumentNullException.ThrowIfNull(step.DataId, "step.DataId"); - ArgumentNullException.ThrowIfNull(step.Position, "step.Position"); - return new global::_003C_003Ez__ReadOnlyArray(new ITask[3] - { - new WaitObjectAtPosition(step.DataId.Value, step.Position.Value, step.NpcWaitDistance ?? 0.5f), - new WaitDelay(), - Next(quest, sequence) - }); - case EInteractionType.Interact: - if (!step.TargetTerritoryId.HasValue) - { - break; - } - goto IL_0288; - case EInteractionType.UseItem: - if (!step.TargetTerritoryId.HasValue) - { - break; - } - goto IL_0288; - case EInteractionType.AcceptQuest: - { - WaitQuestAccepted waitQuestAccepted = new WaitQuestAccepted(step.PickUpQuestId ?? quest.Id); - WaitDelay waitDelay3 = new WaitDelay(); - if (step.PickUpQuestId != null) - { + case 27: + _200F_202D_206D_206B_202D_202A_200E_202A_206A_202D_200C_200D_200E_200E_206E_200B_202D_206B_200B_200F_206F_202A_206F_206A_202A_200C_206F_206F_202C_202B_202A_206C_206D_206C_202A_206A_200E_206A_202A_206A_202E((object)_202A_202B_202C_202B_200C_206E_206A_202C_200B_206C_200B_200C_206E_202D_206E_202A_206D_202C_202C_200D_206F_206D_200E_200D_200B_202A_200C_200D_206D_202B_200F_206C_200C_206A_200B_202E_206D_202A_202C_206C_202E(step), global::_003CModule_003E._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(-751408309)); + _200F_202D_206D_206B_202D_202A_200E_202A_206A_202D_200C_200D_200E_200E_206E_200B_202D_206B_200B_200F_206F_202A_206F_206A_202A_200C_206F_206F_202C_202B_202A_206C_206D_206C_202A_206A_200E_206A_202A_206A_202E((object)_202E_206E_200F_202B_202D_202C_202D_200E_202D_200F_206A_206B_206D_202C_206C_206C_206A_206A_200E_200E_202D_200E_202E_200E_200F_200F_206E_206C_206E_200D_200D_206D_202C_200D_200D_200C_200C_206A_200B_206D_202E(step), global::_003CModule_003E._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(1724098705)); return new global::_003C_003Ez__ReadOnlyArray(new ITask[3] { - waitQuestAccepted, + new WaitObjectAtPosition(_202A_202B_202C_202B_200C_206E_206A_202C_200B_206C_200B_200C_206E_202D_206E_202A_206D_202C_202C_200D_206F_206D_200E_200D_200B_202A_200C_200D_206D_202B_200F_206C_200C_206A_200B_202E_206D_202A_202C_206C_202E(step).Value, _202E_206E_200F_202B_202D_202C_202D_200E_202D_200F_206A_206B_206D_202C_206C_206C_206A_206A_200E_200E_202D_200E_202E_200E_200F_200F_206E_206C_206E_200D_200D_206D_202C_200D_200D_200C_200C_206A_200B_206D_202E(step).Value, _206E_206B_206F_200E_200B_202B_200D_200E_202A_206A_202C_206B_200C_206F_206E_206D_206F_206D_200B_206B_202C_202B_200E_202A_206A_206F_206E_200D_202E_200E_202A_202B_202E_202C_202C_202C_206C_206F_202B_202A_202E(step) ?? 0.5f), + new WaitDelay(), + Next(quest, sequence) + }); + case 16: + return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { waitQuestAccepted, waitDelay }); + case 0: + num = 305029156; + break; + case 24: + { + WaitForCompletionFlags waitForCompletionFlags = new WaitForCompletionFlags((QuestId)quest.Id, step); + WaitDelay waitDelay3 = new WaitDelay(); + return new global::_003C_003Ez__ReadOnlyArray(new ITask[3] + { + waitForCompletionFlags, waitDelay3, Next(quest, sequence) }); } - return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { waitQuestAccepted, waitDelay3 }); - } - case EInteractionType.CompleteQuest: - { - WaitQuestCompleted waitQuestCompleted = new WaitQuestCompleted(step.TurnInQuestId ?? quest.Id); - WaitDelay waitDelay2 = new WaitDelay(); - if (step.TurnInQuestId != null) - { - return new global::_003C_003Ez__ReadOnlyArray(new ITask[3] - { - waitQuestCompleted, - waitDelay2, - Next(quest, sequence) - }); - } + case 36: + goto IL_0204; + case 31: + return new global::_003C_003Ez__ReadOnlySingleElementList(Next(quest, sequence)); + case 30: + eInteractionType = _202A_202C_202B_202D_202A_200B_206A_206C_202A_202E_200F_206A_202D_206E_200C_200B_202A_202C_200D_206B_206F_200E_202D_202A_202A_206C_206A_206A_202E_206D_202C_206D_206A_202D_206D_206F_206A_202B_206F_202C_202E(step); + num = ((eInteractionType > EInteractionType.WalkTo) ? 305029150 : 305029177); + break; + case 32: return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] { waitQuestCompleted, waitDelay2 }); - } - IL_01a1: - return new global::_003C_003Ez__ReadOnlySingleElementList(new EndAutomation()); - IL_0288: - if (step.TerritoryId != step.TargetTerritoryId) + case 5: + num = 305029156; + break; + case 10: + num = ((eInteractionType == EInteractionType.UseItem) ? 305029164 : 305029171); + break; + case 14: + switch (eInteractionType) + { + case EInteractionType.WaitForObjectAtPosition: + break; + case EInteractionType.AcceptQuest: + goto IL_0204; + default: + goto IL_0326; + case EInteractionType.WaitForManualProgress: + case EInteractionType.Snipe: + case EInteractionType.Instruction: + case EInteractionType.FateAction: + case EInteractionType.CriticalEncounter: + goto IL_0332; + case EInteractionType.SinglePlayerDuty: + goto IL_0490; + case EInteractionType.Dive: + case EInteractionType.Craft: + case EInteractionType.Gather: + case EInteractionType.SwitchClass: + case EInteractionType.UnlockTaxiStand: + case EInteractionType.MeldMateria: + goto IL_04f8; + case EInteractionType.Fish: + goto IL_059f; + case EInteractionType.Jump: + goto IL_0644; + case EInteractionType.CompleteQuest: + goto IL_0671; + case EInteractionType.Duty: + goto IL_06c5; + } + goto case 27; + case 22: + goto IL_0332; + case 8: + return new global::_003C_003Ez__ReadOnlyArray(new ITask[3] + { + waitQuestAccepted, + waitDelay, + Next(quest, sequence) + }); + case 33: { - task = new WaitCondition.Task(() => clientState.TerritoryType == step.TargetTerritoryId, "Wait(tp to territory: " + territoryData.GetNameAndId(step.TargetTerritoryId.Value) + ")"); + WaitCondition.Task task2 = new WaitCondition.Task(() => !_003C_003Ec__DisplayClass8_0._200B_202B_206C_200C_200D_202C_206E_202C_202A_202B_200D_200F_200C_206C_206F_200D_206D_206A_202E_200B_202C_206A_200C_200D_206B_202B_206A_202B_202E_202B_202A_206E_202D_206F_200F_200D_202B_200E_202E_202A_202E(condition, ConditionFlag.InCombat), global::_003CModule_003E._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(1005542546)); + return new global::_003C_003Ez__ReadOnlyArray(new ITask[4] + { + new WaitDelay(), + task2, + new WaitDelay(), + Next(quest, sequence) + }); } - else + case 3: + num = (_200E_202C_206A_200D_200E_206C_206C_206B_206C_202D_202C_202B_206B_200F_202C_206F_202B_202E_206E_200D_206B_206D_206E_200F_206C_200F_202B_202D_200E_202E_206D_206B_202B_200C_200D_202B_202D_200F_202A_202E(step).HasValue ? 305029170 : 305029181); + break; + case 15: + num = ((_206A_200E_206D_200F_202E_206F_202E_202E_200F_206E_202A_200F_200B_206F_202D_202A_202A_200B_200C_200C_206D_202D_200B_202C_206E_202C_206C_202C_202A_202D_202D_200E_202E_206E_206C_206C_202E_202D_202E(step) == _200E_202C_206A_200D_200E_206C_206C_206B_206C_202D_202C_202B_206B_200F_202C_206F_202B_202E_206E_200D_206B_206D_206E_200F_206C_200F_202B_202D_200E_202E_206D_206B_202B_200C_200D_202B_202D_200F_202A_202E(step)) ? 305029178 : 305029174); + break; + case 35: + num = ((eInteractionType == EInteractionType.Combat) ? 305029151 : 305029175); + break; + case 12: + num = ((!QuestWorkUtils.HasCompletionFlags(_202B_202D_202A_206B_206B_200D_200E_202C_200B_206E_200B_206D_202D_200E_206D_202D_206B_206B_200D_202B_206A_202D_202A_206D_202D_202A_200D_200C_200D_206B_202E_200C_200C_202A_206F_200B_206D_202B_202E_202B_202E(step))) ? 305029155 : 305029157); + break; + case 2: + goto IL_0490; + case 9: + return new global::_003C_003Ez__ReadOnlyArray(new ITask[3] + { + task, + new WaitDelay(), + Next(quest, sequence) + }); + case 20: + num = 305029169; + break; + case 25: + goto IL_04f8; + case 34: + num = ((_200B_200C_200E_206C_202E_206C_202C_200C_206B_206D_206B_200B_206E_206A_200C_200B_206C_200E_200F_200B_202A_206E_202C_202E_200E_202D_206F_206E_206E_200C_206C_200C_206B_200B_200E_206C_206F_206F_202D_206E_202E(step) != EEnemySpawnType.FinishCombatIfAny) ? 305029148 : 305029154); + break; + case 11: + task = new WaitCondition.Task(() => _003C_003Ec__DisplayClass8_0._206C_206F_200B_202B_206A_202E_202E_200B_206D_206E_206C_206B_206C_200D_202D_200D_206E_200C_206D_206D_200C_206A_202E_206A_200B_200D_200C_206A_200E_206C_206B_202E_206B_206B_200F_206A_200B_206E_202B_202C_202E(clientState) == _003C_003Ec__DisplayClass8_0._206C_206A_200C_206C_206F_206D_202E_202C_206B_206A_200E_200E_206E_206A_206A_200F_206B_202C_206F_200E_200C_206B_200D_202C_200C_200C_206C_200B_200E_206F_206B_202E_206D_206E_202A_202A_206F_202A_200C_206B_202E(step), _200F_206C_206C_206B_200F_206B_202E_206C_202E_202D_206B_200D_206B_202E_206C_206E_200E_206F_200C_206A_200C_206F_206B_200B_200F_202D_200C_206A_206C_206D_200C_206E_202C_202C_202B_206F_206F_200F_206C_206F_202E(global::_003CModule_003E._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(-502648529), territoryData.GetNameAndId(_200E_202C_206A_200D_200E_206C_206C_206B_206C_202D_202C_202B_206B_200F_202C_206F_202B_202E_206E_200D_206B_206D_206E_200F_206C_200F_202B_202D_200E_202E_206D_206B_202B_200C_200D_202B_202D_200F_202A_202E(step).Value), global::_003CModule_003E._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(1618480346))); + num = 305029172; + break; + case 23: + goto IL_059f; + case 18: + num = ((eInteractionType == EInteractionType.WalkTo) ? 305029168 : 305029159); + break; + case 4: + num = ((eInteractionType == EInteractionType.Interact) ? 305029182 : 305029167); + break; + case 29: + num = 305029156; + break; + case 17: + num = ((!_200E_202C_206A_200D_200E_206C_206C_206B_206C_202D_202C_202B_206B_200F_202C_206F_202B_202E_206E_200D_206B_206D_206E_200F_206C_200F_202B_202D_200E_202E_206D_206B_202B_200C_200D_202B_202D_200F_202A_202E(step).HasValue) ? 305029156 : 305029170); + break; + case 13: + goto IL_0644; + case 1: + return new global::_003C_003Ez__ReadOnlyArray(new ITask[3] + { + waitQuestCompleted, + waitDelay2, + Next(quest, sequence) + }); + case 28: + goto IL_0671; + case 19: + goto IL_06c5; + case 21: + num = 305029156; + break; + case 7: { - Vector3 lastPosition = step.Position ?? objectTable[0]?.Position ?? Vector3.Zero; + Vector3? vector = _202E_206E_200F_202B_202D_202C_202D_200E_202D_200F_206A_206B_206D_202C_206C_206C_206A_206A_200E_200E_202D_200E_202E_200E_200F_200F_206E_206C_206E_200D_200D_206D_202C_200D_200D_200C_200C_206A_200B_206D_202E(step); + Vector3 obj; + if (!vector.HasValue) + { + IPlayerCharacter playerCharacter = _206E_200C_206B_206D_206E_200E_200D_202A_202A_200C_202B_200D_206A_202C_206F_200E_206C_202A_206A_202E_206F_200B_202A_206B_206D_202D_200C_202C_206E_202E_200E_206D_202A_200E_200D_206C_200B_206B_206D_200E_202E(objectTable); + obj = ((playerCharacter != null) ? _206A_200C_202A_202C_200F_200B_206D_206F_200E_202A_202A_202C_206F_202B_202C_202D_202B_200C_202C_206A_206E_200E_200D_200F_206F_200C_200C_206C_206C_200B_200C_202D_206E_200E_206D_200F_202D_200D_200F_200C_202E((IGameObject)playerCharacter) : Vector3.Zero); + } + else + { + obj = vector.GetValueOrDefault(); + } + Vector3 lastPosition = obj; task = new WaitCondition.Task(delegate { - Vector3? vector = objectTable[0]?.Position; - return vector.HasValue && (lastPosition - vector.Value).Length() > 2f; - }, "Wait(tp away from " + lastPosition.ToString("G", CultureInfo.InvariantCulture) + ")"); + IPlayerCharacter playerCharacter2 = _003C_003Ec__DisplayClass8_1._200D_202E_202C_206E_202D_206B_206C_200D_206D_200D_200B_202D_206F_202E_202A_206D_202B_202C_202C_202E_200D_200B_206C_200E_202C_200E_202E_206D_206A_206A_202A_200D_206D_200B_206F_202A_206A_206F_200B_200F_202E(objectTable); + Vector3? vector2 = ((playerCharacter2 != null) ? new Vector3?(_003C_003Ec__DisplayClass8_1._206D_200E_200C_200F_200F_200D_202E_206C_206D_202E_206C_200E_200D_206F_200E_200B_202E_206F_200B_206D_206F_200C_206B_200E_202B_200C_202E_206D_202D_200B_206E_206C_206C_202D_202B_206E_206D_202B_206A_206A_202E((IGameObject)playerCharacter2)) : ((Vector3?)null)); + int num5 = (vector2.HasValue ? (-1541036823) : (-1541036822)); + while (true) + { + int num6 = num5; + int num7 = -1541036824; + int num8 = num6; + switch ((num8 | num7) - (num8 & num7)) + { + case 0: + goto IL_0082; + case 2: + return false; + case 1: + return (lastPosition - vector2.Value).Length() > 2f; + } + continue; + IL_0082: + num5 = -1541036822; + } + }, _200F_206C_206C_206B_200F_206B_202E_206C_202E_202D_206B_200D_206B_202E_206C_206E_200E_206F_200C_206A_200C_206F_206B_200B_200F_202D_200C_206A_206C_206D_200C_206E_202C_202C_202B_206F_206F_200F_206C_206F_202E(global::_003CModule_003E._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(-650791102), lastPosition.ToString(global::_003CModule_003E._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(1450220880), _206A_200B_206C_206A_200D_206C_206E_202E_200F_202C_202E_200F_202E_202B_206C_202C_200D_206E_206A_200C_202B_200F_206F_206F_206F_202C_200F_206A_206D_200B_200F_202B_200F_206C_206F_206A_200C_202E_206B_206A_202E()), global::_003CModule_003E._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(444206578))); + num = 305029172; + break; + } + case 6: + { + return new global::_003C_003Ez__ReadOnlySingleElementList(new EndAutomation()); + } + IL_0326: + num = 305029152; + break; + IL_06c5: + num = ((!autoDutyIpc.IsConfiguredToRunContent(_202D_200B_200D_206C_202B_202B_206E_206B_200C_206B_206C_202B_200C_206F_200F_200E_206F_206A_206E_202C_206B_202B_202E_206B_206D_202D_206B_202A_206A_202E_202A_200D_202C_202B_200C_206B_206D_206C_202C_206A_202E(step))) ? 305029179 : 305029160); + break; + IL_0671: + waitQuestCompleted = new WaitQuestCompleted(_200C_206A_202C_206F_202A_202E_206E_202E_206F_202B_202E_202A_206F_200F_206B_200F_200E_206C_200E_206D_202A_200B_206F_206F_202E_202B_200C_206E_200D_200E_206C_202B_200C_206C_200C_200D_206F_200D_200F_202A_202E(step) ?? quest.Id); + waitDelay2 = new WaitDelay(); + num = ((!_206D_202A_200D_206A_206B_200D_202D_200F_202B_202B_200C_206E_200E_200E_206F_206A_202D_200D_200B_206B_202C_206C_200F_206C_206F_206C_206D_202A_202C_206F_202B_200B_202C_202E_200E_206D_200C_206E_202D_202E_202E(_200C_206A_202C_206F_202A_202E_206E_202E_206F_202B_202E_202A_206F_200F_206B_200F_200E_206C_200E_206D_202A_200B_206F_206F_202E_202B_200C_206E_200D_200E_206C_202B_200C_206C_200C_200D_206F_200D_200F_202A_202E(step), (ElementId)null)) ? 305029149 : 305029180); + break; + IL_0644: + return new global::_003C_003Ez__ReadOnlySingleElementList(Next(quest, sequence)); + IL_059f: + num = (autoHookIpc.IsAvailable() ? 305029156 : 305029179); + break; + IL_0490: + num = ((!bossModIpc.IsConfiguredToRunSoloInstance(quest.Id, _200B_206E_206A_202C_200C_202A_206F_206D_202B_206C_206A_200E_200F_202B_206C_202D_202D_200B_206D_206E_200B_202C_202D_200F_202E_202E_200F_206A_206E_200B_206E_202B_202A_206E_200C_202E_200E_200B_206B_202E_202E(step))) ? 305029179 : 305029176); + break; + IL_0204: + waitQuestAccepted = new WaitQuestAccepted(_200F_206E_202A_206A_202D_202D_206D_206C_206D_202B_202E_200E_200F_202D_206D_206A_206A_202C_206D_202E_206E_206A_206E_202A_200E_206A_206C_200B_200D_200E_206B_206E_206D_202A_200D_206B_200D_202E_200C_202E(step) ?? quest.Id); + waitDelay = new WaitDelay(); + num = ((!_206D_202A_200D_206A_206B_200D_202D_200F_202B_202B_200C_206E_200E_200E_206F_206A_202D_200D_200B_206B_202C_206C_200F_206C_206F_206C_206D_202A_202C_206F_202B_200B_202C_202E_200E_206D_200C_206E_202D_202E_202E(_200F_206E_202A_206A_202D_202D_206D_206C_206D_202B_202E_200E_200F_202D_206D_206A_206A_202C_206D_202E_206E_206A_206E_202A_200E_206A_206C_200B_200D_200E_206B_206E_206D_202A_200D_206B_200D_202E_200C_202E(step), (ElementId)null)) ? 305029165 : 305029173); + break; + IL_04f8: + return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] + { + new WaitDelay(), + Next(quest, sequence) + }); + IL_0332: + return new global::_003C_003Ez__ReadOnlySingleElementList(new WaitNextStepOrSequence()); } - return new global::_003C_003Ez__ReadOnlyArray(new ITask[3] - { - task, - new WaitDelay(), - Next(quest, sequence) - }); } - return new global::_003C_003Ez__ReadOnlyArray(new ITask[2] - { - new WaitDelay(), - Next(quest, sequence) - }); + } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); } private static NextStep Next(Quest quest, QuestSequence sequence) { - return new NextStep(quest.Id, sequence.Sequence); + return new NextStep(quest.Id, _202C_200E_202A_200F_206E_200B_202E_206B_200D_202E_202B_200E_200C_200C_200D_202D_202A_206B_206F_206F_206B_206E_202A_206B_206D_200C_200E_202D_202A_202C_200D_202D_200F_200D_206F_200F_200C_202B_200B_200F_202E(sequence)); + } + + static List _202B_202D_202A_206B_206B_200D_200E_202C_200B_206E_200B_206D_202D_200E_206D_202D_206B_206B_200D_202B_206A_202D_202A_206D_202D_202A_200D_200C_200D_206B_202E_200C_200C_202A_206F_200B_206D_202B_202E_202B_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static EInteractionType _202A_202C_202B_202D_202A_200B_206A_206C_202A_202E_200F_206A_202D_206E_200C_200B_202A_202C_200D_206B_206F_200E_202D_202A_202A_206C_206A_206A_202E_206D_202C_206D_206A_202D_206D_206F_206A_202B_206F_202C_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static EEnemySpawnType? _200B_200C_200E_206C_202E_206C_202C_200C_206B_206D_206B_200B_206E_206A_200C_200B_206C_200E_200F_200B_202A_206E_202C_202E_200E_202D_206F_206E_206E_200C_206C_200C_206B_200B_200E_206C_206F_206F_202D_206E_202E(QuestStep P_0) + { + return P_0.EnemySpawnType; + } + + static DutyOptions _202D_200B_200D_206C_202B_202B_206E_206B_200C_206B_206C_202B_200C_206F_200F_200E_206F_206A_206E_202C_206B_202B_202E_206B_206D_202D_206B_202A_206A_202E_202A_200D_202C_202B_200C_206B_206D_206C_202C_206A_202E(QuestStep P_0) + { + return P_0.DutyOptions; + } + + static SinglePlayerDutyOptions _200B_206E_206A_202C_200C_202A_206F_206D_202B_206C_206A_200E_200F_202B_206C_202D_202D_200B_206D_206E_200B_202C_202D_200F_202E_202E_200F_206A_206E_200B_206E_202B_202A_206E_200C_202E_200E_200B_206B_202E_202E(QuestStep P_0) + { + return P_0.SinglePlayerDutyOptions; + } + + static uint? _202A_202B_202C_202B_200C_206E_206A_202C_200B_206C_200B_200C_206E_202D_206E_202A_206D_202C_202C_200D_206F_206D_200E_200D_200B_202A_200C_200D_206D_202B_200F_206C_200C_206A_200B_202E_206D_202A_202C_206C_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static void _200F_202D_206D_206B_202D_202A_200E_202A_206A_202D_200C_200D_200E_200E_206E_200B_202D_206B_200B_200F_206F_202A_206F_206A_202A_200C_206F_206F_202C_202B_202A_206C_206D_206C_202A_206A_200E_206A_202A_206A_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static Vector3? _202E_206E_200F_202B_202D_202C_202D_200E_202D_200F_206A_206B_206D_202C_206C_206C_206A_206A_200E_200E_202D_200E_202E_200E_200F_200F_206E_206C_206E_200D_200D_206D_202C_200D_200D_200C_200C_206A_200B_206D_202E(QuestStep P_0) + { + return P_0.Position; + } + + static float? _206E_206B_206F_200E_200B_202B_200D_200E_202A_206A_202C_206B_200C_206F_206E_206D_206F_206D_200B_206B_202C_202B_200E_202A_206A_206F_206E_200D_202E_200E_202A_202B_202E_202C_202C_202C_206C_206F_202B_202A_202E(QuestStep P_0) + { + return P_0.NpcWaitDistance; + } + + static ushort? _200E_202C_206A_200D_200E_206C_206C_206B_206C_202D_202C_202B_206B_200F_202C_206F_202B_202E_206E_200D_206B_206D_206E_200F_206C_200F_202B_202D_200E_202E_206D_206B_202B_200C_200D_202B_202D_200F_202A_202E(QuestStep P_0) + { + return P_0.TargetTerritoryId; + } + + static ushort _206A_200E_206D_200F_202E_206F_202E_202E_200F_206E_202A_200F_200B_206F_202D_202A_202A_200B_200C_200C_206D_202D_200B_202C_206E_202C_206C_202C_202A_202D_202D_200E_202E_206E_206C_206C_202E_202D_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static string _200F_206C_206C_206B_200F_206B_202E_206C_202E_202D_206B_200D_206B_202E_206C_206E_200E_206F_200C_206A_200C_206F_206B_200B_200F_202D_200C_206A_206C_206D_200C_206E_202C_202C_202B_206F_206F_200F_206C_206F_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static IPlayerCharacter _206E_200C_206B_206D_206E_200E_200D_202A_202A_200C_202B_200D_206A_202C_206F_200E_206C_202A_206A_202E_206F_200B_202A_206B_206D_202D_200C_202C_206E_202E_200E_206D_202A_200E_200D_206C_200B_206B_206D_200E_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _206A_200C_202A_202C_200F_200B_206D_206F_200E_202A_202A_202C_206F_202B_202C_202D_202B_200C_202C_206A_206E_200E_200D_200F_206F_200C_200C_206C_206C_200B_200C_202D_206E_200E_206D_200F_202D_200D_200F_200C_202E(IGameObject P_0) + { + return P_0.Position; + } + + static CultureInfo _206A_200B_206C_206A_200D_206C_206E_202E_200F_202C_202E_200F_202E_202B_206C_202C_200D_206E_206A_200C_202B_200F_206F_206F_206F_202C_200F_206A_206D_200B_200F_202B_200F_206C_206F_206A_200C_202E_206B_206A_202E() + { + return CultureInfo.InvariantCulture; + } + + static ElementId _200F_206E_202A_206A_202D_202D_206D_206C_206D_202B_202E_200E_200F_202D_206D_206A_206A_202C_206D_202E_206E_206A_206E_202A_200E_206A_206C_200B_200D_200E_206B_206E_206D_202A_200D_206B_200D_202E_200C_202E(QuestStep P_0) + { + return P_0.PickUpQuestId; + } + + static bool _206D_202A_200D_206A_206B_200D_202D_200F_202B_202B_200C_206E_200E_200E_206F_206A_202D_200D_200B_206B_202C_206C_200F_206C_206F_206C_206D_202A_202C_206F_202B_200B_202C_202E_200E_206D_200C_206E_202D_202E_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static ElementId _200C_206A_202C_206F_202A_202E_206E_202E_206F_202B_202E_202A_206F_200F_206B_200F_200E_206C_200E_206D_202A_200B_206F_206F_202E_202B_200C_206E_200D_200E_206C_202B_200C_206C_200C_200D_206F_200D_200F_202A_202E(QuestStep P_0) + { + return P_0.TurnInQuestId; + } + + static byte _202C_200E_202A_200F_206E_200B_202E_206B_200D_202E_202B_200E_200C_200C_200D_202D_202A_206B_206F_206F_206B_206E_202A_206B_206D_200C_200E_202D_202A_202C_200D_202D_200F_200D_206F_200F_200C_202B_200B_200F_202E(QuestSequence P_0) + { + return P_0.Sequence; } } internal sealed record WaitDelay(TimeSpan Delay) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200E_200C_200F_202A_206D_202E_202A_200B_202B_206B_206E_200C_206E_206A_202A_200D_202E_202E_206B_206C_200C_206B_200D_200E_206B_200C_206A_202B_206A_202E_206C_206D_202C_200E_200E_206D_202A_200C_206D_202B_202E(typeof(WaitDelay).TypeHandle); + } + } + public WaitDelay() : this(TimeSpan.FromSeconds(1L)) { @@ -169,9 +487,88 @@ internal static class WaitAtEnd return true; } + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Wait(seconds: {Delay.TotalSeconds})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(728851100)); + defaultInterpolatedStringHandler.AppendFormatted(Delay.TotalSeconds); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_206B_206E_200D_202C_202E_202D_206C_202B_202A_202D_202B_206B_200F_206E_206D_200F_202A_206B_202C_206F_200E_200C_202B_200F_202B_200E_200D_206D_202A_200F_200B_206C_202D_206B_206E_202E_200D_202C_202A_202E(); + _200E_202E_200B_200C_202A_206D_202C_200E_202A_206B_206C_202B_206D_202C_202C_200C_200D_202E_200C_202C_202C_206C_202D_200F_202B_200B_206D_200C_202B_206E_200C_206C_200E_202B_202E_200B_206B_200E_200D_206D_202E(builder, global::_003CModule_003E._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(-711525909)); + _200E_202E_200B_200C_202A_206D_202C_200E_202A_206B_206C_202B_206D_202C_202C_200C_200D_202E_200C_202C_202C_206C_202D_200F_202B_200B_206D_200C_202B_206E_200C_206C_200E_202B_202E_200B_206B_200E_200D_206D_202E(builder, Delay.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(WaitDelay? other) + { + int num = (((object)this == other) ? 325386797 : 325386793); + while (true) + { + int num2 = num; + int num3 = 325386792; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + return true; + case 4: + return false; + case 3: + num = ((!_206F_200C_206A_202B_202A_200D_202C_202E_200F_202E_200B_206B_200E_206B_202E_206B_206D_206D_200C_206D_202C_200C_202B_200E_200D_202E_200B_202A_206B_200B_202C_202D_202E_200E_206C_202D_202C_202D_202A_200F_202E(EqualityContract, other.EqualityContract)) ? 325386796 : 325386792); + break; + case 0: + return EqualityComparer.Default.Equals(Delay, other.Delay); + case 1: + num = (((object)other == null) ? 325386796 : 325386795); + break; + case 2: + num = 325386793; + break; + } + } + } + + bool IEquatable.Equals(WaitDelay? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200E_200C_200F_202A_206D_202E_202A_200B_202B_206B_206E_200C_206E_206A_202A_200D_202E_202E_206B_206C_200C_206B_200D_200E_206B_200C_206A_202B_206A_202E_206C_206D_202C_200E_200E_206D_202A_200C_206D_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202B_206B_206E_200D_202C_202E_202D_206C_202B_202A_202D_202B_206B_200F_206E_206D_200F_202A_206B_202C_206F_200E_200C_202B_200F_202B_200E_200D_206D_202A_200F_200B_206C_202D_206B_206E_202E_200D_202C_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200E_202E_200B_200C_202A_206D_202C_200E_202A_206B_206C_202B_206D_202C_202C_200C_200D_202E_200C_202C_202C_206C_202D_200F_202B_200B_206D_200C_202B_206E_200C_206C_200E_202B_202E_200B_206B_200E_200D_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _206F_200C_206A_202B_202A_200D_202C_202E_200F_202E_200B_206B_200E_206B_202E_206B_206D_206D_200C_206D_202C_200C_202B_200E_200D_202E_200B_202A_206B_200B_202C_202D_202E_200E_206C_202D_202C_202D_202A_200F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -191,9 +588,10 @@ internal static class WaitAtEnd internal sealed class WaitNextStepOrSequence : ITask { + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "Wait(next step or sequence)"; + return global::_003CModule_003E._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(642187919); } } @@ -208,43 +606,269 @@ internal static class WaitAtEnd protected override bool Start() { QuestController.QuestProgress currentQuest = questController.CurrentQuest; - if (currentQuest != null) + int num = ((currentQuest == null) ? 1543604956 : 1543604959); + while (true) { - _questId = currentQuest.Quest.Id; - _initialSequence = currentQuest.Sequence; - _initialStep = currentQuest.Step; + int num2 = num; + int num3 = 1543604958; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return true; + case 1: + _questId = currentQuest.Quest.Id; + _initialSequence = currentQuest.Sequence; + _initialStep = currentQuest.Step; + num = 1543604956; + break; + case 0: + num = 1543604959; + break; + } } - return true; } public override ETaskResult Update() { - if (_questId != null) + int num = ((!_200B_200B_206F_206D_202D_202B_200E_200B_206D_206B_200C_200C_206D_206E_200C_202E_206A_202B_206C_200B_200E_206F_200E_202B_202B_202C_206D_202E_206D_202A_206B_206F_206A_200C_200F_200E_200C_206C_206C_202A_202E(_questId, (ElementId)null)) ? (-2044249358) : (-2044249357)); + QuestController.QuestProgress currentQuest = default(QuestController.QuestProgress); + while (true) { - QuestController.QuestProgress currentQuest = questController.CurrentQuest; - if (currentQuest == null || currentQuest.Quest.Id != _questId) + int num2 = num; + int num3 = -2044249358; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 4: + num = -2044249357; + break; + case 0: + return ETaskResult.StillRunning; + case 5: + num = ((currentQuest.Sequence != _initialSequence) ? (-2044249356) : (-2044249360)); + break; + case 7: + num = ((!_200B_200B_206F_206D_202D_202B_200E_200B_206D_206B_200C_200C_206D_206E_200C_202E_206A_202B_206C_200B_200E_206F_200E_202B_202B_202C_206D_202E_206D_202A_206B_206F_206A_200C_200F_200E_200C_206C_206C_202A_202E(currentQuest.Quest.Id, _questId)) ? (-2044249353) : (-2044249359)); + break; + case 2: + num = ((currentQuest.Step == _initialStep) ? (-2044249358) : (-2044249356)); + break; + case 1: + currentQuest = questController.CurrentQuest; + num = ((currentQuest == null) ? (-2044249359) : (-2044249355)); + break; + case 6: return ETaskResult.TaskComplete; - } - if (currentQuest.Sequence != _initialSequence || currentQuest.Step != _initialStep) - { + case 3: return ETaskResult.TaskComplete; } } - return ETaskResult.StillRunning; } public override bool ShouldInterruptOnDamage() { return false; } + + static bool _200B_200B_206F_206D_202D_202B_200E_200B_206D_206B_200C_200C_206D_206E_200C_202E_206A_202B_206C_200B_200E_206F_200E_202B_202B_202C_206D_202E_206D_202A_206B_206F_206A_200C_200F_200E_200C_206C_206C_202A_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } } internal sealed record WaitForCompletionFlags(QuestId Quest, QuestStep Step) : ITask { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__11_0; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003CToString_003Eb__11_0(QuestWorkValue x) + { + int num = ((x != null) ? 1915446989 : 1915446990); + object obj; + while (true) + { + int num2 = num; + int num3 = 1915446988; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 1: + obj = _206D_202C_206E_200B_200B_202D_202E_206A_200E_202B_202B_206C_200F_200C_202A_202D_202A_200C_206C_202D_206F_202B_206A_200F_200F_206D_200D_202C_206F_206F_206A_200F_202D_202E_202B_200F_200F_206F_206D_202E_202E((object)x); + break; + case 2: + obj = null; + break; + case 0: + goto IL_006c; + } + break; + IL_006c: + num = 1915446990; + } + if (obj == null) + { + obj = global::_003CModule_003E._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(-2079705286); + } + return (string)obj; + } + + static string _206D_202C_206E_200B_200B_202D_202E_206A_200E_202B_202B_206C_200F_200C_202A_202D_202A_200C_206C_202D_206F_202B_206A_200F_200F_206D_200D_202C_206F_206F_206A_200F_202D_202E_202B_200F_200F_206F_206D_202E_202E(object P_0) + { + return P_0.ToString(); + } + } + + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_206B_206B_206A_206F_202C_200C_206C_206D_202B_202C_202C_200B_206C_202E_206F_200E_200B_206E_200F_202C_200E_200B_200E_202C_202A_206C_202E_200F_202A_200E_200E_200D_206A_202E_206F_200B_200F_206D_206C_202E(typeof(WaitForCompletionFlags).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "Wait(QW: " + string.Join(", ", Step.CompletionQuestVariablesFlags.Select((QuestWorkValue x) => x?.ToString() ?? "-")) + ")"; + return _206A_206C_202D_206A_206C_202B_206E_200D_202B_206A_202C_206E_200E_200E_206D_206A_202B_206F_206A_200D_200F_206A_206A_200C_200D_206D_206E_206C_200C_206E_200B_206C_202E_206C_200E_206F_202E_206D_202B_206C_202E(global::_003CModule_003E._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(960138318), _206D_206C_202A_200F_200C_206B_206D_202A_202E_200D_206A_202D_206A_206A_200F_202D_200F_202C_200E_200D_206E_206E_206B_202B_200F_200F_202B_202B_206A_206E_200E_206F_200D_200C_206B_202B_202E_202B_202E_206F_202E(global::_003CModule_003E._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(1403263077), _200B_206A_200E_206A_202A_206E_206F_206D_200C_200D_202D_200B_200E_206A_206D_206D_200B_200B_202D_200F_206A_206C_206F_200D_202A_202A_206B_202B_206E_200D_202B_202E_206E_206D_206E_200F_206D_206F_206B_200D_202E(Step).Select([MethodImpl(MethodImplOptions.NoInlining)] (QuestWorkValue x) => + { + int num = ((x != null) ? 1915446989 : 1915446990); + object obj; + while (true) + { + int num2 = num; + int num3 = 1915446988; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 1: + obj = _003C_003Ec._206D_202C_206E_200B_200B_202D_202E_206A_200E_202B_202B_206C_200F_200C_202A_202D_202A_200C_206C_202D_206F_202B_206A_200F_200F_206D_200D_202C_206F_206F_206A_200F_202D_202E_202B_200F_200F_206F_206D_202E_202E((object)x); + break; + case 2: + obj = null; + break; + case 0: + goto IL_006c; + } + break; + IL_006c: + num = 1915446990; + } + if (obj == null) + { + obj = global::_003CModule_003E._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(-2079705286); + } + return (string)obj; + })), global::_003CModule_003E._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(1618480346)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_202A_202A_200B_202C_202C_206B_206A_202B_202E_206A_206E_202B_202D_206B_200F_200E_206C_202C_200D_200F_202B_206C_202B_206B_206D_200E_202A_202D_202C_206F_200B_202B_200F_202A_202C_206A_206C_206C_202B_202E(); + _200F_200B_202D_200F_200E_206A_202B_200F_206A_200D_202A_200B_206F_206D_206D_202D_202A_202C_200B_206A_206D_206D_206B_206F_200D_202C_202B_206D_202E_200E_206B_202B_200F_200C_200D_206D_202D_200C_202E_200F_202E(builder, global::_003CModule_003E._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(-1155335586)); + _200E_202D_202B_200D_206B_202D_200D_202C_206F_200B_202D_200C_206B_202E_206C_206A_206F_206B_202D_206D_206F_200B_202A_206D_206B_200E_206E_206F_200B_202D_200B_200C_206C_206B_200F_202D_200E_200E_206A_206B_202E(builder, (object)Quest); + _200F_200B_202D_200F_200E_206A_202B_200F_206A_200D_202A_200B_206F_206D_206D_202D_202A_202C_200B_206A_206D_206D_206B_206F_200D_202C_202B_206D_202E_200E_206B_202B_200F_200C_200D_206D_202D_200C_202E_200F_202E(builder, global::_003CModule_003E._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(-550319066)); + _200E_202D_202B_200D_206B_202D_200D_202C_206F_200B_202D_200C_206B_202E_206C_206A_206F_206B_202D_206D_206F_200B_202A_206D_206B_200E_206E_206F_200B_202D_200B_200C_206C_206B_200F_202D_200E_200E_206A_206B_202E(builder, (object)Step); + return true; + } + + [CompilerGenerated] + public bool Equals(WaitForCompletionFlags? other) + { + int num = (((object)this == other) ? (-191128448) : (-191128441)); + while (true) + { + int num2 = num; + int num3 = -191128445; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = -191128441; + break; + case 3: + return true; + case 0: + return false; + case 6: + num = ((!_202E_200E_206C_206A_206E_200D_206D_206D_202C_200C_200C_206F_200D_206C_200B_206F_206E_202B_202E_202D_206E_206D_200B_206F_200D_206E_200D_206F_200C_206E_206E_206C_202D_200B_200B_200F_206B_200E_206C_206B_202E(EqualityContract, other.EqualityContract)) ? (-191128445) : (-191128446)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(Quest, other.Quest)) ? (-191128445) : (-191128447)); + break; + case 2: + return EqualityComparer.Default.Equals(Step, other.Step); + case 4: + num = (((object)other == null) ? (-191128445) : (-191128443)); + break; + } + } + } + + bool IEquatable.Equals(WaitForCompletionFlags? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_206B_206B_206A_206F_202C_200C_206C_206D_202B_202C_202C_200B_206C_202E_206F_200E_200B_206E_200F_202C_200E_200B_200E_202C_202A_206C_202E_200F_202A_200E_200E_200D_206A_202E_206F_200B_200F_206D_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static List _200B_206A_200E_206A_202A_206E_206F_206D_200C_200D_202D_200B_200E_206A_206D_206D_200B_200B_202D_200F_206A_206C_206F_200D_202A_202A_206B_202B_206E_200D_202B_202E_206E_206D_206E_200F_206D_206F_206B_200D_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static string _206D_206C_202A_200F_200C_206B_206D_202A_202E_200D_206A_202D_206A_206A_200F_202D_200F_202C_200E_200D_206E_206E_206B_202B_200F_200F_202B_202B_206A_206E_200E_206F_200D_200C_206B_202B_202E_202B_202E_206F_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static string _206A_206C_202D_206A_206C_202B_206E_200D_202B_206A_202C_206E_200E_200E_206D_206A_202B_206F_206A_200D_200F_206A_206A_200C_200D_206D_206E_206C_200C_206E_200B_206C_202E_206C_200E_206F_202E_206D_202B_206C_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _206C_202A_202A_200B_202C_202C_206B_206A_202B_202E_206A_206E_202B_202D_206B_200F_200E_206C_202C_200D_200F_202B_206C_202B_206B_206D_200E_202A_202D_202C_206F_200B_202B_200F_202A_202C_206A_206C_206C_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200F_200B_202D_200F_200E_206A_202B_200F_206A_200D_202A_200B_206F_206D_206D_202D_202A_202C_200B_206A_206D_206D_206B_206F_200D_202C_202B_206D_202E_200E_206B_202B_200F_200C_200D_206D_202D_200C_202E_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200E_202D_202B_200D_206B_202D_200D_202C_206F_200B_202D_200C_206B_202E_206C_206A_206F_206B_202D_206D_206F_200B_202A_206D_206B_200E_206E_206F_200B_202D_200B_200C_206C_206B_200F_202D_200E_200E_206A_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202E_200E_206C_206A_206E_200D_206D_206D_202C_200C_200C_206F_200D_206C_200B_206F_206E_202B_202E_202D_206E_206D_200B_206F_200D_206E_200D_206F_200C_206E_206E_206C_202D_200B_200B_200F_206B_200E_206C_206B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -258,24 +882,146 @@ internal static class WaitAtEnd public override ETaskResult Update() { QuestProgressInfo questProgressInfo = questFunctions.GetQuestProgressInfo(base.Task.Quest); - if (questProgressInfo == null || !QuestWorkUtils.MatchesQuestWork(base.Task.Step.CompletionQuestVariablesFlags, questProgressInfo)) + int num = ((questProgressInfo == null) ? (-2142345972) : (-2142345970)); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = -2142345971; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return ETaskResult.StillRunning; + case 2: + return ETaskResult.TaskComplete; + case 0: + num = -2142345970; + break; + case 3: + num = (QuestWorkUtils.MatchesQuestWork(_200E_202A_200C_200E_202B_200C_206B_202E_200F_200F_206D_202D_200C_202C_200C_202C_206A_200E_200B_206E_206E_202E_202E_202C_200B_200C_200C_202A_206A_206A_200F_202C_200B_202A_202D_206F_206A_206E_202B_200F_202E(base.Task.Step), questProgressInfo) ? (-2142345969) : (-2142345972)); + break; + } } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() { return false; } + + static List _200E_202A_200C_200E_202B_200C_206B_202E_200F_200F_206D_202D_200C_202C_200C_202C_206A_200E_200B_206E_206E_202E_202E_202C_200B_200C_200C_202A_206A_206A_200F_202C_200B_202A_202D_206F_206A_206E_202B_200F_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } } internal sealed record WaitObjectAtPosition(uint DataId, Vector3 Destination, float Distance) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202D_202B_200F_200C_202C_202A_200C_202E_200D_202E_200D_202A_200D_202B_206E_202D_200B_202B_202C_202C_202D_206B_206F_202A_202A_202E_202E_202E_202A_202A_200C_202D_206F_200D_206D_200F_206C_206D_202A_200C_202E(typeof(WaitObjectAtPosition).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"WaitObj({DataId} at {Destination.ToString("G", CultureInfo.InvariantCulture)} < {Distance})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(16, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1147928064)); + defaultInterpolatedStringHandler.AppendFormatted(DataId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1538873063)); + defaultInterpolatedStringHandler.AppendFormatted(Destination.ToString(global::_003CModule_003E._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(-1770759382), _206A_202E_200C_206B_206F_200C_202E_206F_206E_206B_206B_200F_202B_202C_206F_200F_200E_200F_206D_202E_200F_206B_200C_200F_206F_202C_206D_200C_206B_206C_206E_202C_206D_202D_206A_200D_206D_200E_202E_206E_202E())); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1505333226)); + defaultInterpolatedStringHandler.AppendFormatted(Distance); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206A_200C_206C_200B_200E_202A_200C_206B_200C_206C_200D_202E_200E_206F_202E_206D_206C_200C_206D_200E_200E_200E_202C_202D_206D_200B_206B_202E_202E_202E_202A_202A_200D_202A_200B_202B_206B_202D_200D_200E_202E(); + _206B_200F_200F_206B_200C_200B_206F_200F_202E_206D_206A_200C_200C_202C_200C_202C_206F_200D_200B_202C_206D_202C_206A_206E_206E_202D_202E_202E_200D_200D_206C_206E_202A_200D_206B_200B_200F_200D_202D_200F_202E(builder, global::_003CModule_003E._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(-1430532645)); + _206B_200F_200F_206B_200C_200B_206F_200F_202E_206D_206A_200C_200C_202C_200C_202C_206F_200D_200B_202C_206D_202C_206A_206E_206E_202D_202E_202E_200D_200D_206C_206E_202A_200D_206B_200B_200F_200D_202D_200F_202E(builder, DataId.ToString()); + _206B_200F_200F_206B_200C_200B_206F_200F_202E_206D_206A_200C_200C_202C_200C_202C_206F_200D_200B_202C_206D_202C_206A_206E_206E_202D_202E_202E_200D_200D_206C_206E_202A_200D_206B_200B_200F_200D_202D_200F_202E(builder, global::_003CModule_003E._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(1363516440)); + _206B_200F_200F_206B_200C_200B_206F_200F_202E_206D_206A_200C_200C_202C_200C_202C_206F_200D_200B_202C_206D_202C_206A_206E_206E_202D_202E_202E_200D_200D_206C_206E_202A_200D_206B_200B_200F_200D_202D_200F_202E(builder, Destination.ToString()); + _206B_200F_200F_206B_200C_200B_206F_200F_202E_206D_206A_200C_200C_202C_200C_202C_206F_200D_200B_202C_206D_202C_206A_206E_206E_202D_202E_202E_200D_200D_206C_206E_202A_200D_206B_200B_200F_200D_202D_200F_202E(builder, global::_003CModule_003E._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(379696508)); + _206B_200F_200F_206B_200C_200B_206F_200F_202E_206D_206A_200C_200C_202C_200C_202C_206F_200D_200B_202C_206D_202C_206A_206E_206E_202D_202E_202E_200D_200D_206C_206E_202A_200D_206B_200B_200F_200D_202D_200F_202E(builder, Distance.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(WaitObjectAtPosition? other) + { + int num = (((object)this == other) ? 1337677760 : 1337677767); + while (true) + { + int num2 = num; + int num3 = 1337677765; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? 1337677765 : 1337677766); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(Destination, other.Destination)) ? 1337677765 : 1337677763); + break; + case 0: + return false; + case 7: + num = 1337677767; + break; + case 6: + return EqualityComparer.Default.Equals(Distance, other.Distance); + case 2: + num = (((object)other == null) ? 1337677765 : 1337677764); + break; + case 1: + num = ((!_202C_200F_206D_200F_206D_200C_206B_202D_200F_206B_202A_206D_206C_200D_202C_202D_206E_206E_200D_206A_206C_202C_202D_202D_206D_202D_202A_200F_200D_200F_206E_200D_200F_200E_206E_206A_200B_202B_200F_206E_202E(EqualityContract, other.EqualityContract)) ? 1337677765 : 1337677761); + break; + case 5: + return true; + } + } + } + + bool IEquatable.Equals(WaitObjectAtPosition? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202D_202B_200F_200C_202C_202A_200C_202E_200D_202E_200D_202A_200D_202B_206E_202D_200B_202B_202C_202C_202D_206B_206F_202A_202A_202E_202E_202E_202A_202A_200C_202D_206F_200D_206D_200F_206C_206D_202A_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static CultureInfo _206A_202E_200C_206B_206F_200C_202E_206F_206E_206B_206B_200F_202B_202C_206F_200F_200E_200F_206D_202E_200F_206B_200C_200F_206F_202C_206D_200C_206B_206C_206E_202C_206D_202D_206A_200D_206D_200E_202E_206E_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _206A_200C_206C_200B_200E_202A_200C_206B_200C_206C_200D_202E_200E_206F_202E_206D_206C_200C_206D_200E_200E_200E_202C_202D_206D_200B_206B_202E_202E_202E_202A_202A_200D_202A_200B_202B_206B_202D_200D_200E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206B_200F_200F_206B_200C_200B_206F_200F_202E_206D_206A_200C_200C_202C_200C_202C_206F_200D_200B_202C_206D_202C_206A_206E_206E_202D_202E_202E_200D_200D_206C_206E_202A_200D_206B_200B_200F_200D_202D_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _202C_200F_206D_200F_206D_200C_206B_202D_200F_206B_202A_206D_206C_200D_202C_202D_206E_206E_200D_206A_206C_202C_202D_202D_206D_202D_202A_200F_200D_200F_206E_200D_200F_200E_206E_206A_200B_202B_200F_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -288,11 +1034,27 @@ internal static class WaitAtEnd public override ETaskResult Update() { - if (!gameFunctions.IsObjectAtPosition(base.Task.DataId, base.Task.Destination, base.Task.Distance)) + int num = (gameFunctions.IsObjectAtPosition(base.Task.DataId, base.Task.Destination, base.Task.Distance) ? (-555241839) : (-555241838)); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = -555241837; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_006e; + case 1: + return ETaskResult.StillRunning; + case 2: + return ETaskResult.TaskComplete; + } + continue; + IL_006e: + num = -555241838; } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() @@ -303,13 +1065,101 @@ internal static class WaitAtEnd internal sealed record WaitQuestAccepted(ElementId ElementId) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200E_206D_206C_206E_206E_200D_200D_200C_206A_206F_202E_202E_200B_200D_206F_202B_202E_206D_206F_202C_202C_202D_206D_202D_202E_200D_206B_206E_200B_200C_200C_200D_206D_202C_202C_200B_206B_206B_202D_202A_202E(typeof(WaitQuestAccepted).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"WaitQuestAccepted({ElementId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(19, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1060680501)); + defaultInterpolatedStringHandler.AppendFormatted(ElementId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_200B_200F_200F_202A_200B_200C_202E_200F_206A_200C_202D_206F_206C_200C_206E_206E_202B_202A_206C_200F_206B_206D_206C_200C_202C_202A_206B_202E_206B_202E_206B_202E_206D_200E_202A_206E_206D_206D_206D_202E(); + _202A_206F_206E_200E_206B_202E_206E_200E_202D_206B_206B_206F_206A_202B_202C_206D_206D_202D_206B_200C_206E_202C_200F_206D_200D_202D_202D_200C_200B_206A_202C_202E_200F_200B_200D_200E_202E_206D_206A_206F_202E(builder, global::_003CModule_003E._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(2080079588)); + _206B_202A_202D_206D_200C_200D_200F_202A_206E_200E_200F_206D_206D_206F_206E_206F_200B_200F_206C_206E_202D_202E_206A_206C_206A_200E_200E_200D_206F_202B_202E_200C_202A_200E_202E_200F_206E_200E_200F_200C_202E(builder, (object)ElementId); + return true; + } + + [CompilerGenerated] + public bool Equals(WaitQuestAccepted? other) + { + int num = (((object)this == other) ? 1159852687 : 1159852686); + while (true) + { + int num2 = num; + int num3 = 1159852683; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1159852686; + break; + case 5: + num = (((object)other == null) ? 1159852682 : 1159852681); + break; + case 3: + return EqualityComparer.Default.Equals(ElementId, other.ElementId); + case 2: + num = ((!_200E_200B_200C_200C_202D_206E_202D_202E_200F_200F_200D_200B_206B_202E_206E_200D_206B_206B_200C_200F_206C_202B_202C_200D_206B_206B_206F_200B_202B_202A_202B_202D_200E_202C_202C_200E_200B_206A_202A_200C_202E(EqualityContract, other.EqualityContract)) ? 1159852682 : 1159852680); + break; + case 1: + return false; + case 4: + return true; + } + } + } + + bool IEquatable.Equals(WaitQuestAccepted? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200E_206D_206C_206E_206E_200D_200D_200C_206A_206F_202E_202E_200B_200D_206F_202B_202E_206D_206F_202C_202C_202D_206D_202D_202E_200D_206B_206E_200B_200C_200C_200D_206D_202C_202C_200B_206B_206B_202D_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206C_200B_200F_200F_202A_200B_200C_202E_200F_206A_200C_202D_206F_206C_200C_206E_206E_202B_202A_206C_200F_206B_206D_206C_200C_202C_202A_206B_202E_206B_202E_206B_202E_206D_200E_202A_206E_206D_206D_206D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202A_206F_206E_200E_206B_202E_206E_200E_202D_206B_206B_206F_206A_202B_202C_206D_206D_202D_206B_200C_206E_202C_200F_206D_200D_202D_202D_200C_200B_206A_202C_202E_200F_200B_200D_200E_202E_206D_206A_206F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_202A_202D_206D_200C_200D_200F_202A_206E_200E_200F_206D_206D_206F_206E_206F_200B_200F_206C_206E_202D_202E_206A_206C_206A_200E_200E_200D_206F_202B_202E_200C_202A_200E_202E_200F_206E_200E_200F_200C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200E_200B_200C_200C_202D_206E_202D_202E_200F_200F_200D_200B_206B_202E_206E_200D_206B_206B_200C_200F_206C_202B_202C_200D_206B_206B_206F_200B_202B_202A_202B_202D_200E_202C_202C_200E_200B_206A_202A_200C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } - internal sealed class WaitQuestAcceptedExecutor(QuestFunctions questFunctions) : TaskExecutor() + internal sealed class WaitQuestAcceptedExecutor(QuestFunctions questFunctions, QuestController questController) : TaskExecutor() { protected override bool Start() { @@ -318,11 +1168,26 @@ internal static class WaitAtEnd public override ETaskResult Update() { - if (!questFunctions.IsQuestAccepted(base.Task.ElementId)) + int num = (questFunctions.IsQuestAccepted(base.Task.ElementId) ? 789688700 : 789688703); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = 789688701; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0056; + case 2: + return ETaskResult.StillRunning; + case 1: + questController.OnQuestAccepted(base.Task.ElementId); + return ETaskResult.TaskComplete; + } + continue; + IL_0056: + num = 789688703; } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() @@ -333,9 +1198,97 @@ internal static class WaitAtEnd internal sealed record WaitQuestCompleted(ElementId ElementId) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202A_200D_202E_206C_206C_206D_200C_206B_200E_200C_200B_200B_206E_200D_202A_206D_206C_200E_200D_200F_202C_202E_200D_206A_206D_206F_200E_200B_202D_202D_200D_206B_202B_200C_206A_202E_206E_202D_200D_202E_202E(typeof(WaitQuestCompleted).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"WaitQuestComplete({ElementId})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(19, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-232492991)); + defaultInterpolatedStringHandler.AppendFormatted(ElementId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206B_206D_200F_206C_200B_200C_200C_200C_202A_206A_206A_206F_206F_200D_206F_202A_206D_202E_200C_206B_206E_200D_206E_200E_206F_206C_202B_200D_206F_206B_206E_206E_206A_202C_200C_206C_200E_206B_206D_206A_202E(); + _202D_200D_200E_206C_200B_206C_202D_202E_206B_206C_206F_206C_202E_206B_202E_206E_206E_202D_206D_206B_206F_200D_200E_206E_206E_200F_206E_206F_200C_206D_200F_200B_206A_206F_206D_200F_202E_200B_200E_206B_202E(builder, global::_003CModule_003E._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(-812236153)); + _206A_200C_200F_206E_206A_202C_200E_206F_200D_200C_200C_206E_200E_200F_200C_202D_206C_202B_200B_202C_206A_206A_206C_202D_200F_202C_206E_202B_202A_200C_200E_206F_202E_200E_200B_202B_202E_206F_200B_206C_202E(builder, (object)ElementId); + return true; + } + + [CompilerGenerated] + public bool Equals(WaitQuestCompleted? other) + { + int num = (((object)this == other) ? 837063026 : 837063025); + while (true) + { + int num2 = num; + int num3 = 837063026; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 4: + num = ((!_202A_206F_200F_200C_200D_200E_206A_206E_202D_206D_206E_206B_200F_206A_200B_200C_200B_206B_206E_202A_202A_200D_206C_200F_206F_200C_202B_206E_206B_206A_200B_200B_200C_206A_202B_206C_206F_200B_206C_200C_202E(EqualityContract, other.EqualityContract)) ? 837063024 : 837063027); + break; + case 0: + return true; + case 1: + return EqualityComparer.Default.Equals(ElementId, other.ElementId); + case 5: + num = 837063025; + break; + case 3: + num = (((object)other == null) ? 837063024 : 837063030); + break; + } + } + } + + bool IEquatable.Equals(WaitQuestCompleted? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202A_200D_202E_206C_206C_206D_200C_206B_200E_200C_200B_200B_206E_200D_202A_206D_206C_200E_200D_200F_202C_202E_200D_206A_206D_206F_200E_200B_202D_202D_200D_206B_202B_200C_206A_202E_206E_202D_200D_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206B_206D_200F_206C_200B_200C_200C_200C_202A_206A_206A_206F_206F_200D_206F_202A_206D_202E_200C_206B_206E_200D_206E_200E_206F_206C_202B_200D_206F_206B_206E_206E_206A_202C_200C_206C_200E_206B_206D_206A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202D_200D_200E_206C_200B_206C_202D_202E_206B_206C_206F_206C_202E_206B_202E_206E_206E_202D_206D_206B_206F_200D_200E_206E_206E_200F_206E_206F_200C_206D_200F_200B_206A_206F_206D_200F_202E_200B_200E_206B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_200C_200F_206E_206A_202C_200E_206F_200D_200C_200C_206E_200E_200F_200C_202D_206C_202B_200B_202C_206A_206A_206C_202D_200F_202C_206E_202B_202A_200C_200E_206F_202E_200E_200B_202B_202E_206F_200B_206C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202A_206F_200F_200C_200D_200E_206A_206E_202D_206D_206E_206B_200F_206A_200B_200C_200B_206B_206E_202A_202A_200D_206C_200F_206F_200C_202B_206E_206B_206A_200B_200B_200C_206A_202B_206C_206F_200B_206C_200C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -348,11 +1301,27 @@ internal static class WaitAtEnd public override ETaskResult Update() { - if (!questFunctions.IsQuestComplete(base.Task.ElementId)) + int num = (questFunctions.IsQuestComplete(base.Task.ElementId) ? (-224597006) : (-224597005)); + while (true) { - return ETaskResult.StillRunning; + int num2 = num; + int num3 = -224597006; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0058; + case 1: + return ETaskResult.StillRunning; + case 0: + return ETaskResult.TaskComplete; + } + continue; + IL_0058: + num = -224597005; } - return ETaskResult.TaskComplete; } public override bool ShouldInterruptOnDamage() @@ -363,9 +1332,96 @@ internal static class WaitAtEnd internal sealed record NextStep(ElementId ElementId, int Sequence) : ILastTask, ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_202D_206C_200D_200B_206D_202E_200F_202C_200D_206A_202D_202E_206D_206E_202B_206C_206D_200D_206E_206F_202A_200F_200E_206E_206D_202C_202C_202B_206A_200B_200C_200D_206B_206B_200C_200D_206B_206A_202E_202E(typeof(NextStep).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "NextStep"; + return global::_003CModule_003E._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(111357141); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_206C_200E_200B_202B_200C_206C_202B_200D_202C_200C_202E_206D_206C_200F_202E_206B_202D_206F_202C_206A_200E_206A_202A_202A_202A_200D_202D_202A_200E_200D_200D_200C_200B_206B_202C_202E_202B_206A_202E(); + _206A_200F_200E_202A_200B_200C_206B_206A_200D_206C_202A_206C_202B_206A_200B_206F_200E_202C_206E_202E_202D_206F_206D_202E_206D_206C_202E_200D_206E_206E_200F_200D_202E_206D_202A_202D_202D_206F_206B_200D_202E(builder, global::_003CModule_003E._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(-812236153)); + _200D_206B_200E_200D_202C_206F_200D_200B_200D_206F_202C_206F_200B_202A_202C_202E_206B_206A_200D_206D_202E_206E_202D_206E_200C_206B_206D_200D_206C_202A_202E_206D_202D_206C_202A_206C_206F_200F_202D_200C_202E(builder, (object)ElementId); + _206A_200F_200E_202A_200B_200C_206B_206A_200D_206C_202A_206C_202B_206A_200B_206F_200E_202C_206E_202E_202D_206F_206D_202E_206D_206C_202E_200D_206E_206E_200F_200D_202E_206D_202A_202D_202D_206F_206B_200D_202E(builder, global::_003CModule_003E._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(1350191881)); + _206A_200F_200E_202A_200B_200C_206B_206A_200D_206C_202A_206C_202B_206A_200B_206F_200E_202C_206E_202E_202D_206F_206D_202E_206D_206C_202E_200D_206E_206E_200F_200D_202E_206D_202A_202D_202D_206F_206B_200D_202E(builder, Sequence.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(NextStep? other) + { + int num = (((object)this == other) ? (-1420080126) : (-1420080124)); + while (true) + { + int num2 = num; + int num3 = -1420080127; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + return false; + case 5: + num = (((object)other == null) ? (-1420080121) : (-1420080123)); + break; + case 4: + num = ((!_200B_200C_206A_206A_206E_202D_206B_206E_206B_200F_206C_202A_200C_202A_202E_200C_206A_202A_200E_202C_202D_200B_200F_206C_206A_202E_206A_200C_202C_206D_202D_200C_202D_200C_206A_206D_200F_202A_200F_202E(EqualityContract, other.EqualityContract)) ? (-1420080121) : (-1420080125)); + break; + case 0: + num = -1420080124; + break; + case 2: + num = ((!EqualityComparer.Default.Equals(ElementId, other.ElementId)) ? (-1420080121) : (-1420080128)); + break; + case 3: + return true; + case 1: + return EqualityComparer.Default.Equals(Sequence, other.Sequence); + } + } + } + + bool IEquatable.Equals(NextStep? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_202D_206C_200D_200B_206D_202E_200F_202C_200D_206A_202D_202E_206D_206E_202B_206C_206D_200D_206E_206F_202A_200F_200E_206E_206D_202C_202C_202B_206A_200B_200C_200D_206B_206B_200C_200D_206B_206A_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206C_206C_200E_200B_202B_200C_206C_202B_200D_202C_200C_202E_206D_206C_200F_202E_206B_202D_206F_202C_206A_200E_206A_202A_202A_202A_200D_202D_202A_200E_200D_200D_200C_200B_206B_202C_202E_202B_206A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206A_200F_200E_202A_200B_200C_206B_206A_200D_206C_202A_206C_202B_206A_200B_206F_200E_202C_206E_202E_202D_206F_206D_202E_206D_206C_202E_200D_206E_206E_200F_200D_202E_206D_202A_202D_202D_206F_206B_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_206B_200E_200D_202C_206F_200D_200B_200D_206F_202C_206F_200B_202A_202C_202E_206B_206A_200D_206D_202E_206E_202D_206E_200C_206B_206D_200D_206C_202A_202E_206D_202D_206C_202A_206C_206F_200F_202D_200C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200B_200C_206A_206A_206E_202D_206B_206E_206B_200F_206C_202A_200C_202A_202E_200C_206A_202A_200E_202C_202D_200B_200F_206C_206A_202E_206A_200C_202C_206D_202D_200C_202D_200C_206A_206D_200F_202A_200F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -393,7 +1449,7 @@ internal static class WaitAtEnd { get { - throw new InvalidOperationException(); + throw _200D_200E_206D_202E_206A_202C_200E_202A_206D_202E_202B_206B_202A_202B_200C_206A_200F_206C_202C_202B_206E_206F_200F_200F_202A_202C_206B_200C_200E_200C_202D_202D_206B_200D_202C_206D_206E_206F_206B_202C_202E(); } } @@ -401,13 +1457,19 @@ internal static class WaitAtEnd { get { - throw new InvalidOperationException(); + throw _200D_200E_206D_202E_206A_202C_200E_202A_206D_202E_202B_206B_202A_202B_200C_206A_200F_206C_202C_202B_206E_206F_200F_200F_202A_202C_206B_200C_200E_200C_202D_202D_206B_200D_202C_206D_206E_206F_206B_202C_202E(); } } + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "EndAutomation"; + return global::_003CModule_003E._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(-550637546); + } + + static InvalidOperationException _200D_200E_206D_202E_206A_202C_200E_202A_206D_202E_202B_206B_202A_202B_200C_206A_200F_206C_202C_202B_206E_206F_200F_200F_202A_202C_206B_200C_200E_200C_202D_202D_206B_200D_202C_206D_206E_206F_206B_202C_202E() + { + return new InvalidOperationException(); } } diff --git a/Questionable/Questionable.Controller.Steps.Shared/WaitAtStart.cs b/Questionable/Questionable.Controller.Steps.Shared/WaitAtStart.cs index dc32b5a2..fc8468a2 100644 --- a/Questionable/Questionable.Controller.Steps.Shared/WaitAtStart.cs +++ b/Questionable/Questionable.Controller.Steps.Shared/WaitAtStart.cs @@ -1,4 +1,7 @@ using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; using Questionable.Controller.Steps.Common; using Questionable.Model; using Questionable.Model.Questing; @@ -11,19 +14,121 @@ internal static class WaitAtStart { public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { - if (!step.DelaySecondsAtStart.HasValue) + int num = (_202C_202C_206A_206A_206F_200F_202E_200C_206E_202D_206E_202D_206C_206B_202C_202B_200E_200B_200C_206A_200C_206F_200D_200F_200D_200D_202A_202C_202A_202A_200E_202A_206F_202A_202B_200E_206E_202A_206C_202B_202E(step).HasValue ? 917790050 : 917790049); + while (true) { - return null; + int num2 = num; + int num3 = 917790048; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0050; + case 1: + return null; + case 2: + return new WaitDelay(TimeSpan.FromSeconds(_202C_202C_206A_206A_206F_200F_202E_200C_206E_202D_206E_202D_206C_206B_202C_202B_200E_200B_200C_206A_200C_206F_200D_200F_200D_200D_202A_202C_202A_202A_200E_202A_206F_202A_202B_200E_206E_202A_206C_202B_202E(step).Value)); + } + continue; + IL_0050: + num = 917790049; } - return new WaitDelay(TimeSpan.FromSeconds(step.DelaySecondsAtStart.Value)); + } + + static float? _202C_202C_206A_206A_206F_200F_202E_200C_206E_202D_206E_202D_206C_206B_202C_202B_200E_200B_200C_206A_200C_206F_200D_200F_200D_200D_202A_202C_202A_202A_200E_202A_206F_202A_202B_200E_206E_202A_206C_202B_202E(QuestStep P_0) + { + return P_0.DelaySecondsAtStart; } } internal sealed record WaitDelay(TimeSpan Delay) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_200F_206B_200D_206E_206B_206D_202E_206C_200B_200F_206B_202A_200D_202C_206F_206F_206C_202B_200E_200F_206A_202B_202D_206D_206D_206D_206E_200C_206A_200E_200E_206B_202D_206F_200B_206B_206A_202B_200C_202E(typeof(WaitDelay).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Wait[S](seconds: {Delay.TotalSeconds})"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(18, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-761909785)); + defaultInterpolatedStringHandler.AppendFormatted(Delay.TotalSeconds); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206A_200E_206B_202D_202D_206C_202E_206F_202A_200F_206B_200C_206B_202D_200C_206C_206D_200F_206B_206D_206D_200C_202A_200D_206B_206C_202C_200D_206B_202C_206A_206F_206A_206B_200B_206E_200B_206A_202B_206B_202E(); + _200E_202A_206F_206B_206D_200E_202D_206A_206D_206A_200B_202D_200E_206E_202D_206E_200E_200E_200D_202E_202C_200D_202E_206E_200F_200C_200D_200F_200C_200C_202A_206C_200F_206F_202B_206F_202B_202E_202A_202E(builder, global::_003CModule_003E._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(484837343)); + _200E_202A_206F_206B_206D_200E_202D_206A_206D_206A_200B_202D_200E_206E_202D_206E_200E_200E_200D_202E_202C_200D_202E_206E_200F_200C_200D_200F_200C_200C_202A_206C_200F_206F_202B_206F_202B_202E_202A_202E(builder, Delay.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(WaitDelay? other) + { + int num = (((object)this == other) ? 1541411164 : 1541411161); + while (true) + { + int num2 = num; + int num3 = 1541411165; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return true; + case 2: + num = ((!_202D_200D_206A_206E_200F_202C_202B_200E_206D_200C_200E_206B_200D_206C_206D_200D_202E_206B_206F_200E_206B_200C_200C_200E_200F_206D_202D_202B_206D_200D_202C_200D_202E_206B_200B_202C_200D_202E_206A_202D_202E(EqualityContract, other.EqualityContract)) ? 1541411160 : 1541411166); + break; + case 4: + num = (((object)other == null) ? 1541411160 : 1541411167); + break; + case 5: + return false; + case 0: + num = 1541411161; + break; + case 3: + return EqualityComparer.Default.Equals(Delay, other.Delay); + } + } + } + + bool IEquatable.Equals(WaitDelay? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_200F_206B_200D_206E_206B_206D_202E_206C_200B_200F_206B_202A_200D_202C_206F_206F_206C_202B_200E_200F_206A_202B_202D_206D_206D_206D_206E_200C_206A_200E_200E_206B_202D_206F_200B_206B_206A_202B_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _206A_200E_206B_202D_202D_206C_202E_206F_202A_200F_206B_200C_206B_202D_200C_206C_206D_200F_206B_206D_206D_200C_202A_200D_206B_206C_202C_200D_206B_202C_206A_206F_206A_206B_200B_206E_200B_206A_202B_206B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200E_202A_206F_206B_206D_200E_202D_206A_206D_206A_200B_202D_200E_206E_202D_206E_200E_200E_200D_202E_202C_200D_202E_206E_200F_200C_200D_200F_200C_200C_202A_206C_200F_206F_202B_206F_202B_202E_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _202D_200D_206A_206E_200F_202C_202B_200E_206D_200C_200E_206B_200D_206C_206D_200D_202E_206B_206F_200E_206B_200C_200C_200E_200F_206D_202D_202B_206D_200D_202C_200D_202E_206B_200B_202C_200D_202E_206A_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } diff --git a/Questionable/Questionable.Controller.Steps.Shared/WarpInteract.cs b/Questionable/Questionable.Controller.Steps.Shared/WarpInteract.cs new file mode 100644 index 00000000..334da98c --- /dev/null +++ b/Questionable/Questionable.Controller.Steps.Shared/WarpInteract.cs @@ -0,0 +1,494 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +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 + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_206A_206A_202D_206C_206E_202A_202B_200F_206C_202E_206C_206F_206C_200E_206E_200B_202D_206E_202E_202A_202D_202A_202A_206D_202B_200E_202A_200B_200D_202A_206F_202C_202B_200C_200E_200B_206B_206B_200D_202E(typeof(Task).TypeHandle); + } + } + + public bool ShouldRedoOnInterrupt() + { + return true; + } + + bool ITask.ShouldRedoOnInterrupt() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt + return this.ShouldRedoOnInterrupt(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override string ToString() + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(25, 4); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1291326579)); + defaultInterpolatedStringHandler.AppendFormatted(NpcDataId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1494383823)); + defaultInterpolatedStringHandler.AppendFormatted(WarpRowId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1403263077)); + defaultInterpolatedStringHandler.AppendFormatted(SourceTerritoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1089831099)); + defaultInterpolatedStringHandler.AppendFormatted(DestTerritoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_202B_202C_200C_200E_202D_202D_200E_206D_206A_206B_202A_206F_202A_200B_202C_206C_200D_200B_200D_206D_206F_206C_200B_206F_202C_202B_206B_206F_200E_206A_200B_206B_202D_202B_206C_206F_202D_200F_200E_202E(); + _200F_202A_200D_206E_200F_206A_200E_206E_206B_202B_202D_206E_206B_202A_202E_202C_206D_206C_200C_202E_200C_206A_202E_206D_206A_206F_200B_206D_200C_202A_206A_200C_202B_202B_200E_206A_200B_202A_206D_200F_202E(builder, global::_003CModule_003E._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(143765661)); + _200F_202A_200D_206E_200F_206A_200E_206E_206B_202B_202D_206E_206B_202A_202E_202C_206D_206C_200C_202E_200C_206A_202E_206D_206A_206F_200B_206D_200C_202A_206A_200C_202B_202B_200E_206A_200B_202A_206D_200F_202E(builder, NpcDataId.ToString()); + _200F_202A_200D_206E_200F_206A_200E_206E_206B_202B_202D_206E_206B_202A_202E_202C_206D_206C_200C_202E_200C_206A_202E_206D_206A_206F_200B_206D_200C_202A_206A_200C_202B_202B_200E_206A_200B_202A_206D_200F_202E(builder, global::_003CModule_003E._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(388265329)); + _200F_202A_200D_206E_200F_206A_200E_206E_206B_202B_202D_206E_206B_202A_202E_202C_206D_206C_200C_202E_200C_206A_202E_206D_206A_206F_200B_206D_200C_202A_206A_200C_202B_202B_200E_206A_200B_202A_206D_200F_202E(builder, WarpRowId.ToString()); + _200F_202A_200D_206E_200F_206A_200E_206E_206B_202B_202D_206E_206B_202A_202E_202C_206D_206C_200C_202E_200C_206A_202E_206D_206A_206F_200B_206D_200C_202A_206A_200C_202B_202B_200E_206A_200B_202A_206D_200F_202E(builder, global::_003CModule_003E._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(-1265544613)); + _200F_202A_200D_206E_200F_206A_200E_206E_206B_202B_202D_206E_206B_202A_202E_202C_206D_206C_200C_202E_200C_206A_202E_206D_206A_206F_200B_206D_200C_202A_206A_200C_202B_202B_200E_206A_200B_202A_206D_200F_202E(builder, SourceTerritoryId.ToString()); + _200F_202A_200D_206E_200F_206A_200E_206E_206B_202B_202D_206E_206B_202A_202E_202C_206D_206C_200C_202E_200C_206A_202E_206D_206A_206F_200B_206D_200C_202A_206A_200C_202B_202B_200E_206A_200B_202A_206D_200F_202E(builder, global::_003CModule_003E._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(-1798905925)); + _200F_202A_200D_206E_200F_206A_200E_206E_206B_202B_202D_206E_206B_202A_202E_202C_206D_206C_200C_202E_200C_206A_202E_206D_206A_206F_200B_206D_200C_202A_206A_200C_202B_202B_200E_206A_200B_202A_206D_200F_202E(builder, DestTerritoryId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Task? other) + { + int num = (((object)this == other) ? (-962767338) : (-962767343)); + while (true) + { + int num2 = num; + int num3 = -962767344; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = ((!EqualityComparer.Default.Equals(SourceTerritoryId, other.SourceTerritoryId)) ? (-962767344) : (-962767337)); + break; + case 1: + num = (((object)other == null) ? (-962767344) : (-962767340)); + break; + case 3: + num = -962767343; + break; + case 5: + num = ((!EqualityComparer.Default.Equals(NpcDataId, other.NpcDataId)) ? (-962767344) : (-962767336)); + break; + case 7: + return EqualityComparer.Default.Equals(DestTerritoryId, other.DestTerritoryId); + case 6: + return true; + case 0: + return false; + case 4: + num = ((!_202C_202D_200E_200D_200E_202B_202E_202C_206A_200D_200E_206A_202D_202E_200D_206A_206F_206F_202A_206D_200F_206E_200C_202E_202E_202B_206B_200C_206A_200D_202C_206F_206F_206A_202D_202B_200C_202C_202E_206E_202E(EqualityContract, other.EqualityContract)) ? (-962767344) : (-962767339)); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(WarpRowId, other.WarpRowId)) ? (-962767344) : (-962767342)); + break; + } + } + } + + bool IEquatable.Equals(Task? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_206A_206A_202D_206C_206E_202A_202B_200F_206C_202E_206C_206F_206C_200E_206E_200B_202D_206E_202E_202A_202D_202A_202A_206D_202B_200E_202A_200B_200D_202A_206F_202C_202B_200C_200E_200B_206B_206B_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static void _202E_202B_202C_200C_200E_202D_202D_200E_206D_206A_206B_202A_206F_202A_200B_202C_206C_200D_200B_200D_206D_206F_206C_200B_206F_202C_202B_206B_206F_200E_206A_200B_206B_202D_202B_206C_206F_202D_200F_200E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200F_202A_200D_206E_200F_206A_200E_206E_206B_202B_202D_206E_206B_202A_202E_202C_206D_206C_200C_202E_200C_206A_202E_206D_206A_206F_200B_206D_200C_202A_206A_200C_202B_202B_200E_206A_200B_202A_206D_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static bool _202C_202D_200E_200D_200E_202B_202E_202C_206A_200D_200E_206A_202D_202E_200D_206A_206F_206F_202A_206D_200F_206E_200C_202E_202E_202B_206B_200C_206A_200D_202C_206F_206F_206A_202D_202B_200C_202C_202E_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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; + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override bool Start() + { + _phase = EWarpPhase.None; + _abortToReroute = false; + IPlayerCharacter playerCharacter = _206A_206F_200C_200E_202B_200F_200D_206F_206A_206F_200F_202E_202E_206D_202C_206B_206C_200D_200E_206B_202C_200D_200D_202A_202A_206E_206C_200E_206B_206A_202A_206F_202A_206A_200E_206B_206C_200D_202E_202D_202E(objectTable); + _startPosition = ((playerCharacter != null) ? _202C_200F_202B_202E_202A_206C_206B_206C_202D_202B_206A_206E_200B_206B_202A_206E_206E_202D_202D_206D_200C_202B_200B_200F_200D_206A_202B_200C_206E_200B_202D_206C_206B_200E_206C_206E_206F_202D_202E_206A_202E((IGameObject)playerCharacter) : Vector3.Zero); + _200F_200F_206B_200C_202A_200C_200E_200D_200E_206C_206B_200E_206B_206B_206B_206E_206C_206F_206E_206C_200D_206E_206B_202B_206D_200F_202E_202B_200C_200E_206C_202E_200C_206F_200F_200E_202C_206A_206B_202A_202E(warpFailureTracker, base.Task.WarpRowId); + int num = ((!_200F_200B_200F_200F_200C_206B_200D_202C_206D_200D_206F_202D_200E_200D_206E_202E_202A_200F_200F_202E_202A_200E_200F_200C_206B_206B_202A_202E_200D_206E_202D_202E_206B_202C_206D_200E_202C_200C_200C_202C_202E(warpFailureTracker, base.Task.WarpRowId)) ? (-1825905291) : (-1825905296)); + IGameObject gameObject = default(IGameObject); + while (true) + { + int num2 = num; + int num3 = -1825905289; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1825905296; + break; + case 7: + _202C_202E_202D_202D_200B_200F_202B_202C_202D_200B_200E_206C_206F_206C_200F_206B_202D_206D_202E_200E_202B_200F_202D_202C_202B_200E_202B_206D_202B_200C_202E_206E_206F_200C_206E_200F_206F_202B_200C_202A_202E((ILogger)logger, global::_003CModule_003E._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(1100961719), new object[1] { base.Task.WarpRowId }); + _abortToReroute = true; + return true; + case 6: + num = ((!_206B_200F_200D_202A_206B_206E_206D_200D_206F_206D_202D_206E_206C_202A_200C_202D_206D_200B_200E_206E_202B_202A_202C_206E_200F_202C_200D_206B_202E_202C_200D_206B_206D_202C_202B_206C_200D_202D_202D_200E_202E(condition, ConditionFlag.Mounted)) ? (-1825905292) : (-1825905281)); + break; + case 4: + _200C_206C_206F_206D_200F_206B_200E_202E_200B_200B_206E_202E_206C_206C_200B_202D_202E_200F_202D_206C_202B_200C_202A_206B_202C_202D_206D_206D_202A_202B_206A_206B_200B_206B_200F_202C_206C_206F_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(445312876), new object[1] { base.Task.NpcDataId }); + _phase = EWarpPhase.Interacting; + _interactingStartedAt = _200E_200E_202E_202E_206C_206D_202D_206B_200C_206D_200C_200C_202D_206C_200F_202A_202D_206D_202D_200C_202A_206A_202D_202A_206A_206B_200C_206F_206A_206B_200B_200B_200D_202C_206C_206B_200E_200D_202A_200E_202E(); + num = -1825905294; + break; + case 1: + _200C_206C_206F_206D_200F_206B_200E_202E_200B_200B_206E_202E_206C_206C_200B_202D_202E_200F_202D_206C_202B_200C_202A_206B_202C_202D_206D_206D_202A_202B_206A_206B_200B_206B_200F_202C_206C_206F_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(-514363301), new object[1] { base.Task.NpcDataId }); + return true; + case 2: + interactionUiController.SmartNavWarpRowId = base.Task.WarpRowId; + interactionUiController.SmartNavDestTerritoryId = base.Task.DestTerritoryId; + gameObject = gameFunctions.FindObjectByDataId(base.Task.NpcDataId); + num = ((gameObject != null) ? (-1825905295) : (-1825905290)); + break; + case 3: + num = ((!gameFunctions.InteractWith(gameObject)) ? (-1825905294) : (-1825905293)); + break; + case 5: + return true; + case 8: + _200C_206C_206F_206D_200F_206B_200E_202E_200B_200B_206E_202E_206C_206C_200B_202D_202E_200F_202D_206C_202B_200C_202A_206B_202C_202D_206D_206D_202A_202B_206A_206B_200B_206B_200F_202C_206C_206F_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(-1872670698), Array.Empty()); + gameFunctions.Unmount(); + _phase = EWarpPhase.Unmounting; + return true; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ETaskResult Update() + { + int num = ((!_abortToReroute) ? 1701566734 : 1701566735); + IGameObject gameObject = default(IGameObject); + IGameObject gameObject2 = default(IGameObject); + IPlayerCharacter playerCharacter2 = default(IPlayerCharacter); + while (true) + { + int num2 = num; + int num3 = 1701566722; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 28: + num = 1701566735; + break; + case 15: + _200C_206C_206F_206D_200F_206B_200E_202E_200B_200B_206E_202E_206C_206C_200B_202D_202E_200F_202D_206C_202B_200C_202A_206B_202C_202D_206D_206D_202A_202B_206A_206B_200B_206B_200F_202C_206C_206F_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(262599977), new object[1] { base.Task.NpcDataId }); + _phase = EWarpPhase.Interacting; + _interactingStartedAt = _200E_200E_202E_202E_206C_206D_202D_206B_200C_206D_200C_200C_202D_206C_200F_202A_202D_206D_202D_200C_202A_206A_202D_202A_206A_206B_200C_206F_206A_206B_200B_200B_200D_202C_206C_206B_200E_200D_202A_200E_202E(); + num = 1701566725; + break; + case 11: + num = ((!_206B_200F_200D_202A_206B_206E_206D_200D_206F_206D_202D_206E_206C_202A_200C_202D_206D_200B_200E_206E_202B_202A_202C_206E_200F_202C_200D_206B_202E_202C_200D_206B_206D_202C_202B_206C_200D_202D_202D_200E_202E(condition, ConditionFlag.Mounted)) ? 1701566747 : 1701566739); + break; + case 25: + gameObject = gameFunctions.FindObjectByDataId(base.Task.NpcDataId); + num = ((gameObject != null) ? 1701566723 : 1701566728); + break; + case 12: + switch (_phase) + { + case EWarpPhase.Unmounting: + break; + default: + goto IL_019b; + case EWarpPhase.Interacting: + goto IL_02e4; + case EWarpPhase.None: + goto IL_03cd; + case EWarpPhase.WaitingForSettle: + goto IL_04bb; + } + goto case 11; + case 8: + num = ((!gameFunctions.InteractWith(gameObject2)) ? 1701566725 : 1701566733); + break; + case 0: + return ETaskResult.StillRunning; + case 26: + playerCharacter2 = _206A_206F_200C_200E_202B_200F_200D_206F_206A_206F_200F_202E_202E_206D_202C_206B_206C_200D_200E_206B_202C_200D_200D_202A_202A_206E_206C_200E_206B_206A_202A_206F_202A_206A_200E_206B_206C_200D_202E_202D_202E(objectTable); + num = ((playerCharacter2 == null) ? 1701566745 : 1701566746); + break; + case 3: + gameFunctions.Unmount(); + _phase = EWarpPhase.Unmounting; + return ETaskResult.StillRunning; + case 14: + return ETaskResult.StillRunning; + case 24: + num = ((!(Vector3.Distance(_202C_200F_202B_202E_202A_206C_206B_206C_202D_202B_206A_206E_200B_206B_202A_206E_206E_202D_202D_206D_200C_202B_200B_200F_200D_206A_202B_200C_206E_200B_202D_206C_206B_200E_206C_206E_206F_202D_202E_206A_202E((IGameObject)playerCharacter2), _startPosition) > 2f)) ? 1701566745 : 1701566741); + break; + case 23: + _200C_206C_206F_206D_200F_206B_200E_202E_200B_200B_206E_202E_206C_206C_200B_202D_202E_200F_202D_206C_202B_200C_202A_206B_202C_202D_206D_206D_202A_202B_206A_206B_200B_206B_200F_202C_206C_206F_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(1392527076), Array.Empty()); + _206E_202C_202B_200B_206E_200D_200B_202B_206B_200C_206A_206B_200F_200B_202A_206C_202C_200B_206F_200F_202B_202A_202E_202E_202B_202D_206C_206B_200B_202C_200B_206D_206C_200F_206B_202A_200B_200D_206E_202E_202E(warpFailureTracker, base.Task.WarpRowId); + _phase = EWarpPhase.WaitingForSettle; + _settleAt = _200E_200E_202E_202E_206C_206D_202D_206B_200C_206D_200C_200C_202D_206C_200F_202A_202D_206D_202D_200C_202A_206A_202D_202A_206A_206B_200C_206F_206A_206B_200B_200B_200D_202C_206C_206B_200E_200D_202A_200E_202E() + 500; + return ETaskResult.StillRunning; + case 1: + num = ((!gameFunctions.InteractWith(gameObject)) ? 1701566751 : 1701566731); + break; + case 13: + ClearContext(); + return ETaskResult.RetryStep; + case 19: + _200C_206C_206F_206D_200F_206B_200E_202E_200B_200B_206E_202E_206C_206C_200B_202D_202E_200F_202D_206C_202B_200C_202A_206B_202C_202D_206D_206D_202A_202B_206A_206B_200B_206B_200F_202C_206C_206F_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(-276179636), Array.Empty()); + ClearContext(); + return ETaskResult.TaskComplete; + case 16: + goto IL_02e4; + case 7: + return ETaskResult.StillRunning; + case 18: + return ETaskResult.StillRunning; + case 21: + _200C_206C_206F_206D_200F_206B_200E_202E_200B_200B_206E_202E_206C_206C_200B_202D_202E_200F_202D_206C_202B_200C_202A_206B_202C_202D_206D_206D_202A_202B_206A_206B_200B_206B_200F_202C_206C_206F_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(-1718836678), new object[1] { _206D_200E_200D_202E_206F_206B_206C_206D_200C_206A_202A_200D_206B_206B_206C_206E_202A_206A_206E_200D_202D_206F_202B_206F_206B_202B_206F_200F_202B_206B_200D_200D_200F_206D_206F_202B_206D_202B_202E_200C_202E(clientState) }); + _206E_202C_202B_200B_206E_200D_200B_202B_206B_200C_206A_206B_200F_200B_202A_206C_202C_200B_206F_200F_202B_202A_202E_202E_202B_202D_206C_206B_200B_202C_200B_206D_206C_200F_206B_202A_200B_200D_206E_202E_202E(warpFailureTracker, base.Task.WarpRowId); + _phase = EWarpPhase.WaitingForSettle; + _settleAt = _200E_200E_202E_202E_206C_206D_202D_206B_200C_206D_200C_200C_202D_206C_200F_202A_202D_206D_202D_200C_202A_206A_202D_202A_206A_206B_200C_206F_206A_206B_200B_200B_200D_202C_206C_206B_200E_200D_202A_200E_202E() + 500; + return ETaskResult.StillRunning; + case 29: + return ETaskResult.StillRunning; + case 4: + { + IPlayerCharacter playerCharacter = _206A_206F_200C_200E_202B_200F_200D_206F_206A_206F_200F_202E_202E_206D_202C_206B_206C_200D_200E_206B_202C_200D_200D_202A_202A_206E_206C_200E_206B_206A_202A_206F_202A_206A_200E_206B_206C_200D_202E_202D_202E(objectTable); + _startPosition = ((playerCharacter != null) ? _202C_200F_202B_202E_202A_206C_206B_206C_202D_202B_206A_206E_200B_206B_202A_206E_206E_202D_202D_206D_200C_202B_200B_200F_200D_206A_202B_200C_206E_200B_202D_206C_206B_200E_206C_206E_206F_202D_202E_206A_202E((IGameObject)playerCharacter) : _startPosition); + num = ((!_206B_200F_200D_202A_206B_206E_206D_200D_206F_206D_202D_206E_206C_202A_200C_202D_206D_200B_200E_206E_202B_202A_202C_206E_200F_202C_200D_206B_202E_202C_200D_206B_206D_202C_202B_206C_200D_202D_202D_200E_202E(condition, ConditionFlag.Mounted)) ? 1701566730 : 1701566721); + break; + } + case 2: + goto IL_03cd; + case 10: + _200C_206C_206F_206D_200F_206B_200E_202E_200B_200B_206E_202E_206C_206C_200B_202D_202E_200F_202D_206C_202B_200C_202A_206B_202C_202D_206D_206D_202A_202B_206A_206B_200B_206B_200F_202C_206C_206F_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(-538242384), Array.Empty()); + _phase = EWarpPhase.None; + return ETaskResult.StillRunning; + case 9: + _200C_206C_206F_206D_200F_206B_200E_202E_200B_200B_206E_202E_206C_206C_200B_202D_202E_200F_202D_206C_202B_200C_202A_206B_202C_202D_206D_206D_202A_202B_206A_206B_200B_206B_200F_202C_206C_206F_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(-606870985), new object[1] { base.Task.NpcDataId }); + _phase = EWarpPhase.Interacting; + _interactingStartedAt = _200E_200E_202E_202E_206C_206D_202D_206B_200C_206D_200C_200C_202D_206C_200F_202A_202D_206D_202D_200C_202A_206A_202D_202A_206A_206B_200C_206F_206A_206B_200B_200B_200D_202C_206C_206B_200E_200D_202A_200E_202E(); + num = 1701566751; + break; + case 5: + num = 1701566722; + break; + case 22: + return ETaskResult.StillRunning; + case 17: + return ETaskResult.StillRunning; + case 27: + num = ((_200E_200E_202E_202E_206C_206D_202D_206B_200C_206D_200C_200C_202D_206C_200F_202A_202D_206D_202D_200C_202A_206A_202D_202A_206A_206B_200C_206F_206A_206B_200B_200B_200D_202C_206C_206B_200E_200D_202A_200E_202E() - _interactingStartedAt <= 30000) ? 1701566740 : 1701566724); + break; + case 20: + goto IL_04bb; + case 6: + { + _202C_202E_202D_202D_200B_200F_202B_202C_202D_200B_200E_206C_206F_206C_200F_206B_202D_206D_202E_200E_202B_200F_202D_202C_202B_200E_202B_206D_202B_200C_202E_206E_206F_200C_206E_200F_206F_202B_200C_202A_202E((ILogger)logger, global::_003CModule_003E._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(-417221394), Array.Empty()); + ClearContext(); + return ETaskResult.RetryStep; + } + IL_02e4: + num = ((_206D_200E_200D_202E_206F_206B_206C_206D_200C_206A_202A_200D_206B_206B_206C_206E_202A_206A_206E_200D_202D_206F_202B_206F_206B_202B_206F_200F_202B_206B_200D_200D_200F_206D_206F_202B_206D_202B_202E_200C_202E(clientState) == base.Task.SourceTerritoryId) ? 1701566744 : 1701566743); + break; + IL_04bb: + num = ((_200E_200E_202E_202E_206C_206D_202D_206B_200C_206D_200C_200C_202D_206C_200F_202A_202D_206D_202D_200C_202A_206A_202D_202A_206A_206B_200C_206F_206A_206B_200B_200B_200D_202C_206C_206B_200E_200D_202A_200E_202E() < _settleAt) ? 1701566732 : 1701566737); + break; + IL_019b: + num = 1701566727; + break; + IL_03cd: + gameObject2 = gameFunctions.FindObjectByDataId(base.Task.NpcDataId); + num = ((gameObject2 != null) ? 1701566726 : 1701566736); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void OnConditionChange(ConditionFlag flag, bool value) + { + bool flag2 = _phase == EWarpPhase.Interacting; + int num = ((!flag2) ? (-693146461) : (-693146462)); + bool flag3 = default(bool); + while (true) + { + int num2 = num; + int num3 = -693146464; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + flag3 = false; + num = -693146459; + break; + case 2: + num = (((uint)(flag - 31) > 1u) ? (-693146458) : (-693146460)); + break; + case 7: + num = -693146462; + break; + case 3: + { + bool num7 = flag2; + num3 = (value ? 1 : 0); + num4 = (num7 ? 1 : 0); + num = (((num4 | num3) - (num4 ^ num3) == 0) ? (-693146464) : (-693146463)); + break; + } + case 0: + return; + case 1: + _200C_206C_206F_206D_200F_206B_200E_202E_200B_200B_206E_202E_206C_206C_200B_202D_202E_200F_202D_206C_202B_200C_202A_206B_202C_202D_206D_206D_202A_202B_206A_206B_200B_206B_200F_202C_206C_206F_202C_200C_202E((ILogger)logger, global::_003CModule_003E._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(-438663173), Array.Empty()); + num = -693146464; + break; + case 5: + flag2 = flag3; + num = -693146461; + break; + case 4: + flag3 = true; + num = -693146459; + break; + } + } + } + + void IConditionChangeAware.OnConditionChange(ConditionFlag flag, bool value) + { + //ILSpy generated this explicit interface implementation from .override directive in OnConditionChange + this.OnConditionChange(flag, value); + } + + public override bool ShouldInterruptOnDamage() + { + return true; + } + + public void StopNow() + { + ClearContext(); + } + + void IStoppableTaskExecutor.StopNow() + { + //ILSpy generated this explicit interface implementation from .override directive in StopNow + this.StopNow(); + } + + private void ClearContext() + { + interactionUiController.SmartNavWarpRowId = null; + interactionUiController.SmartNavDestTerritoryId = null; + } + + static IPlayerCharacter _206A_206F_200C_200E_202B_200F_200D_206F_206A_206F_200F_202E_202E_206D_202C_206B_206C_200D_200E_206B_202C_200D_200D_202A_202A_206E_206C_200E_206B_206A_202A_206F_202A_206A_200E_206B_206C_200D_202E_202D_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _202C_200F_202B_202E_202A_206C_206B_206C_202D_202B_206A_206E_200B_206B_202A_206E_206E_202D_202D_206D_200C_202B_200B_200F_200D_206A_202B_200C_206E_200B_202D_206C_206B_200E_206C_206E_206F_202D_202E_206A_202E(IGameObject P_0) + { + return P_0.Position; + } + + static bool _200F_200F_206B_200C_202A_200C_200E_200D_200E_206C_206B_200E_206B_206B_206B_206E_206C_206F_206E_206C_200D_206E_206B_202B_206D_200F_202E_202B_200C_200E_206C_202E_200C_206F_200F_200E_202C_206A_206B_202A_202E(WarpFailureTracker P_0, uint P_1) + { + return P_0.RecordAttempt(P_1); + } + + static bool _200F_200B_200F_200F_200C_206B_200D_202C_206D_200D_206F_202D_200E_200D_206E_202E_202A_200F_200F_202E_202A_200E_200F_200C_206B_206B_202A_202E_200D_206E_202D_202E_206B_202C_206D_200E_202C_200C_200C_202C_202E(WarpFailureTracker P_0, uint P_1) + { + return P_0.IsBlacklisted(P_1); + } + + static void _202C_202E_202D_202D_200B_200F_202B_202C_202D_200B_200E_206C_206F_206C_200F_206B_202D_206D_202E_200E_202B_200F_202D_202C_202B_200E_202B_206D_202B_200C_202E_206E_206F_200C_206E_200F_206F_202B_200C_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _200C_206C_206F_206D_200F_206B_200E_202E_200B_200B_206E_202E_206C_206C_200B_202D_202E_200F_202D_206C_202B_200C_202A_206B_202C_202D_206D_206D_202A_202B_206A_206B_200B_206B_200F_202C_206C_206F_202C_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206B_200F_200D_202A_206B_206E_206D_200D_206F_206D_202D_206E_206C_202A_200C_202D_206D_200B_200E_206E_202B_202A_202C_206E_200F_202C_200D_206B_202E_202C_200D_206B_206D_202C_202B_206C_200D_202D_202D_200E_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static long _200E_200E_202E_202E_206C_206D_202D_206B_200C_206D_200C_200C_202D_206C_200F_202A_202D_206D_202D_200C_202A_206A_202D_202A_206A_206B_200C_206F_206A_206B_200B_200B_200D_202C_206C_206B_200E_200D_202A_200E_202E() + { + return Environment.TickCount64; + } + + static uint _206D_200E_200D_202E_206F_206B_206C_206D_200C_206A_202A_200D_206B_206B_206C_206E_202A_206A_206E_200D_202D_206F_202B_206F_206B_202B_206F_200F_202B_206B_200D_200D_200F_206D_206F_202B_206D_202B_202E_200C_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static void _206E_202C_202B_200B_206E_200D_200B_202B_206B_200C_206A_206B_200F_200B_202A_206C_202C_200B_206F_200F_202B_202A_202E_202E_202B_202D_206C_206B_200B_202C_200B_206D_206C_200F_206B_202A_200B_200D_206E_202E_202E(WarpFailureTracker P_0, uint P_1) + { + P_0.RecordSuccess(P_1); + } + } +} diff --git a/Questionable/Questionable.Controller.Steps/ETaskResult.cs b/Questionable/Questionable.Controller.Steps/ETaskResult.cs index 6f37bfc0..a1d95707 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 7fc43d68..23afa064 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/InteractionProgressContext.cs b/Questionable/Questionable.Controller.Steps/InteractionProgressContext.cs index 11a73440..4820a56c 100644 --- a/Questionable/Questionable.Controller.Steps/InteractionProgressContext.cs +++ b/Questionable/Questionable.Controller.Steps/InteractionProgressContext.cs @@ -20,26 +20,57 @@ internal sealed class InteractionProgressContext public unsafe static InteractionProgressContext Create(bool checkSequence) { - if (!checkSequence) + int num = (checkSequence ? (-177703781) : (-177703782)); + while (true) { - ActionManager.Instance()->CastTimeElapsed = ActionManager.Instance()->CastTimeTotal; + int num2 = num; + int num3 = -177703781; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -177703782; + break; + case 1: + ActionManager.Instance()->CastTimeElapsed = ActionManager.Instance()->CastTimeTotal; + num = -177703781; + break; + case 0: + return new InteractionProgressContext(checkSequence, ActionManager.Instance()->LastUsedActionSequence); + } } - return new InteractionProgressContext(checkSequence, ActionManager.Instance()->LastUsedActionSequence); } private unsafe static (bool, InteractionProgressContext?) FromActionUseInternal(Func func) { int lastUsedActionSequence = ActionManager.Instance()->LastUsedActionSequence; - if (!func()) + int num = (func() ? 1923074249 : 1923074254); + while (true) { - return (false, null); + int num2 = num; + int num3 = 1923074253; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + { + int lastUsedActionSequence2 = ActionManager.Instance()->LastUsedActionSequence; + num = ((lastUsedActionSequence != lastUsedActionSequence2) ? 1923074253 : 1923074252); + break; + } + case 3: + return (false, null); + case 1: + return (true, null); + case 2: + num = 1923074254; + break; + case 0: + return (true, Create(checkSequence: true)); + } } - int lastUsedActionSequence2 = ActionManager.Instance()->LastUsedActionSequence; - if (lastUsedActionSequence == lastUsedActionSequence2) - { - return (true, null); - } - return (true, Create(checkSequence: true)); } public static InteractionProgressContext? FromActionUse(Func func) @@ -50,63 +81,147 @@ internal sealed class InteractionProgressContext public static InteractionProgressContext? FromActionUseOrDefault(Func func) { (bool, InteractionProgressContext) tuple = FromActionUseInternal(func); - if (!tuple.Item1) + int num = (tuple.Item1 ? 1006213129 : 1006213130); + while (true) { - return null; + int num2 = num; + int num3 = 1006213128; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004d; + case 2: + return null; + case 1: + return tuple.Item2 ?? Create(checkSequence: false); + } + continue; + IL_004d: + num = 1006213130; } - return tuple.Item2 ?? Create(checkSequence: false); } public unsafe void Update() { - if (!_firstUpdateDone) + int num = (_firstUpdateDone ? 862506309 : 862506305); + int lastUsedActionSequence = default(int); + while (true) { - int lastUsedActionSequence = ActionManager.Instance()->LastUsedActionSequence; - if (!CheckSequence && lastUsedActionSequence > CurrentSequence) + int num2 = num; + int num3 = 862506308; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 3: + num = ((lastUsedActionSequence <= CurrentSequence) ? 862506308 : 862506304); + break; + case 1: + return; + case 2: + num = 862506305; + break; + case 5: + lastUsedActionSequence = ActionManager.Instance()->LastUsedActionSequence; + num = (CheckSequence ? 862506308 : 862506311); + break; + case 0: + _firstUpdateDone = true; + num = 862506309; + break; + case 4: CheckSequence = true; CurrentSequence = lastUsedActionSequence; + num = 862506308; + break; } - _firstUpdateDone = true; } } public unsafe bool WasSuccessful() { - if (CheckSequence && (CurrentSequence != ActionManager.Instance()->LastUsedActionSequence || CurrentSequence != ActionManager.Instance()->LastHandledActionSequence)) + int num = ((!CheckSequence) ? (-1110443467) : (-1110443470)); + while (true) { - return false; + int num2 = num; + int num3 = -1110443469; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + num = ((!(ActionManager.Instance()->CastTimeElapsed > 0f)) ? (-1110443465) : (-1110443472)); + break; + case 4: + return false; + case 5: + num = -1110443470; + break; + case 0: + num = ((CurrentSequence == ActionManager.Instance()->LastHandledActionSequence) ? (-1110443467) : (-1110443471)); + break; + case 2: + return false; + case 1: + num = ((CurrentSequence != ActionManager.Instance()->LastUsedActionSequence) ? (-1110443471) : (-1110443469)); + break; + case 3: + return _206A_200C_206C_200B_202A_200D_200B_206E_200F_206B_202B_202E_202B_200B_206F_200C_206C_206D_202E_206A_206E_202B_202B_202B_202C_202C_200D_200C_202E_202C_202E_206E_200E_200D_200C_202C_200F_200F_202A_202D_202E(ActionManager.Instance()->CastTimeElapsed - ActionManager.Instance()->CastTimeTotal) < 0.001f; + } } - if (ActionManager.Instance()->CastTimeElapsed > 0f) - { - return Math.Abs(ActionManager.Instance()->CastTimeElapsed - ActionManager.Instance()->CastTimeTotal) < 0.001f; - } - return false; } public unsafe bool WasInterrupted() { - if (CheckSequence && CurrentSequence == ActionManager.Instance()->LastHandledActionSequence && CurrentSequence == ActionManager.Instance()->LastUsedActionSequence) + int num = ((!CheckSequence) ? (-139740651) : (-139740650)); + while (true) { - return false; + int num2 = num; + int num3 = -139740649; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = -139740650; + break; + case 4: + num = ((CurrentSequence != ActionManager.Instance()->LastUsedActionSequence) ? (-139740651) : (-139740649)); + break; + case 3: + return false; + case 0: + return false; + case 2: + num = ((ActionManager.Instance()->CastTimeElapsed != 0f) ? (-139740652) : (-139740655)); + break; + case 6: + return ActionManager.Instance()->CastTimeTotal > 0f; + case 1: + num = ((CurrentSequence != ActionManager.Instance()->LastHandledActionSequence) ? (-139740651) : (-139740653)); + break; + } } - if (ActionManager.Instance()->CastTimeElapsed == 0f) - { - return ActionManager.Instance()->CastTimeTotal > 0f; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(12, 3); - defaultInterpolatedStringHandler.AppendLiteral("IPCtx("); - defaultInterpolatedStringHandler.AppendFormatted(CheckSequence ? ((object)CurrentSequence) : "-"); - defaultInterpolatedStringHandler.AppendLiteral(" - "); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1617315869)); + defaultInterpolatedStringHandler.AppendFormatted(CheckSequence ? ((object)CurrentSequence) : global::_003CModule_003E._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(792471175)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1687715325)); defaultInterpolatedStringHandler.AppendFormatted(WasSuccessful()); - defaultInterpolatedStringHandler.AppendLiteral(", "); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1403263077)); defaultInterpolatedStringHandler.AppendFormatted(WasInterrupted()); - defaultInterpolatedStringHandler.AppendLiteral(")"); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); return defaultInterpolatedStringHandler.ToStringAndClear(); } + + static float _206A_200C_206C_200B_202A_200D_200B_206E_200F_206B_202B_202E_202B_200B_206F_200C_206C_206D_202E_206A_206E_202B_202B_202B_202C_202C_200D_200C_202E_202C_202E_206E_200E_200D_200C_202C_200F_200F_202A_202D_202E(float P_0) + { + return Math.Abs(P_0); + } } diff --git a/Questionable/Questionable.Controller.Steps/QuestCleanUp.cs b/Questionable/Questionable.Controller.Steps/QuestCleanUp.cs index 82246a2a..7ccd1312 100644 --- a/Questionable/Questionable.Controller.Steps/QuestCleanUp.cs +++ b/Questionable/Questionable.Controller.Steps/QuestCleanUp.cs @@ -1,15 +1,21 @@ +using System; using System.Collections.Generic; +using System.Collections.ObjectModel; using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; 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; @@ -17,53 +23,301 @@ internal static class QuestCleanUp { internal sealed class CheckAlliedSocietyMount(GameFunctions gameFunctions, AetheryteData aetheryteData, AlliedSocietyData alliedSocietyData, ILogger logger) : SimpleTaskFactory() { - public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec { - if (sequence.Sequence == 0) + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func<(QuestSequence Sequence, int StepId, QuestStep Step), bool> _003C_003E9__5_0; + + public static Func> _003C_003E9__5_2; + + internal bool _003CCreateTask_003Eb__5_0((QuestSequence Sequence, int StepId, QuestStep Step) x) { - return null; - } - ushort? mountId = gameFunctions.GetMountId(); - if (mountId.HasValue) - { - ushort valueOrDefault = mountId.GetValueOrDefault(); - if (alliedSocietyData.Mounts.TryGetValue(valueOrDefault, out AlliedSocietyMountConfiguration mountConfiguration)) + EAction? eAction = _200F_200C_200F_206A_206E_202D_206E_200E_200F_200F_206A_200B_200F_200F_200C_206B_206B_200E_202C_200F_200C_202A_206C_206D_202A_206F_202D_202D_200B_200B_206D_206E_206D_206E_202E_206A_202C_202D_206E_200E_202E(x.Step); + int num = ((!eAction.HasValue) ? (-1478106214) : (-1478106210)); + while (true) { - 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]); - if (sequence.Sequence == byte.MaxValue) + int num2 = num; + int num3 = -1478106214; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - logger.LogInformation("Mount can't be used to finish quest, teleporting to {Aetheryte}", mountConfiguration.ClosestAetheryte); - return result; + case 5: + num = -1478106210; + break; + case 1: + return false; + case 3: + return true; + case 4: + { + EAction valueOrDefault = eAction.GetValueOrDefault(); + num = (_202A_200C_202B_202B_202A_200B_200C_200E_206A_202D_206C_200E_206E_202B_206A_202E_206A_202E_202B_206F_206E_206B_206A_206B_200F_200C_200B_206A_202B_200C_202E_202C_206A_206D_202B_206E_200F_202D_200D_200C_202E(valueOrDefault) ? (-1478106215) : (-1478106214)); + break; } - if (!quest.AllSteps().Any<(QuestSequence, int, QuestStep)>(delegate((QuestSequence Sequence, int StepId, QuestStep Step) x) - { - EAction? action = x.Step.Action; - if (action.HasValue) - { - EAction valueOrDefault2 = action.GetValueOrDefault(); - if (valueOrDefault2.RequiresMount()) - { - return true; - } - } - 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; - } - 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); - return result; + case 2: + return _202D_206A_202E_202E_200B_200B_202C_200B_206B_200D_206C_202A_206C_200D_206B_200E_206B_200E_206E_202A_206D_200B_202C_206C_206D_206B_200E_200F_206F_200D_202B_206B_202D_202C_202D_200B_200E_206C_200C_206E_202E(x.Step).Contains(8593u); + case 0: + num = ((_202D_206F_206C_202B_206B_202E_200F_206B_206E_200E_200E_202E_206D_206E_202A_202C_202A_202E_200E_206D_202D_206A_200F_200F_200F_202B_206E_206C_202A_206A_202E_206E_202B_206D_200E_200F_202B_200C_200C_206D_202E(x.Step) != EInteractionType.Combat) ? (-1478106213) : (-1478106216)); + break; } } } - return null; + + internal IEnumerable _003CCreateTask_003Eb__5_2(QuestSequence x) + { + return _206A_200D_206B_202B_200B_206F_200C_206D_206E_206D_206B_202B_200C_202C_200E_206D_202E_206E_200C_200E_206E_202C_206A_206E_200F_206D_200B_206C_202C_202B_206C_206A_200E_202C_200B_206E_206E_200B_202C_202B_202E(x); + } + + static EAction? _200F_200C_200F_206A_206E_202D_206E_200E_200F_200F_206A_200B_200F_200F_200C_206B_206B_200E_202C_200F_200C_202A_206C_206D_202A_206F_202D_202D_200B_200B_206D_206E_206D_206E_202E_206A_202C_202D_206E_200E_202E(QuestStep P_0) + { + return P_0.Action; + } + + static bool _202A_200C_202B_202B_202A_200B_200C_200E_206A_202D_206C_200E_206E_202B_206A_202E_206A_202E_202B_206F_206E_206B_206A_206B_200F_200C_200B_206A_202B_200C_202E_202C_206A_206D_202B_206E_200F_202D_200D_200C_202E(EAction P_0) + { + return P_0.RequiresMount(); + } + + static EInteractionType _202D_206F_206C_202B_206B_202E_200F_206B_206E_200E_200E_202E_206D_206E_202A_202C_202A_202E_200E_206D_202D_206A_200F_200F_200F_202B_206E_206C_202A_206A_202E_206E_202B_206D_200E_200F_202B_200C_200C_206D_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static List _202D_206A_202E_202E_200B_200B_202C_200B_206B_200D_206C_202A_206C_200D_206B_200E_206B_200E_206E_202A_206D_200B_202C_206C_206D_206B_200E_200F_206F_200D_202B_206B_202D_202C_202D_200B_200E_206C_200C_206E_202E(QuestStep P_0) + { + return P_0.KillEnemyDataIds; + } + + static List _206A_200D_206B_202B_200B_206F_200C_206D_206E_206D_206B_202B_200C_202C_200E_206D_202E_206E_200C_200E_206E_202C_206A_206E_200F_206D_200B_206C_202C_202B_206C_206A_200E_202C_200B_206E_206E_200B_202C_202B_202E(QuestSequence P_0) + { + return P_0.Steps; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass5_0 + { + public QuestSequence sequence; + + public AlliedSocietyMountConfiguration mountConfiguration; + + internal bool _003CCreateTask_003Eb__1(QuestSequence x) + { + int num = ((_206B_200E_206E_200F_200F_200E_200C_206B_206B_202B_200C_206E_200D_206B_206A_200E_206C_202D_200B_206E_200E_202E_206D_200B_200E_206F_206E_202A_202D_206D_202A_202D_202C_202E_200B_206F_200D_202B_202D_206B_202E(x) <= 0) ? (-1832592614) : (-1832592615)); + while (true) + { + int num2 = num; + int num3 = -1832592616; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 1: + return _206B_200E_206E_200F_200F_200E_200C_206B_206B_202B_200C_206E_200D_206B_206A_200E_206C_202D_200B_206E_200E_202E_206D_200B_200E_206F_206E_202A_202D_206D_202A_202D_202C_202E_200B_206F_200D_202B_202D_206B_202E(x) < _206B_200E_206E_200F_200F_200E_200C_206B_206B_202B_200C_206E_200D_206B_206A_200E_206C_202D_200B_206E_200E_202E_206D_200B_200E_206F_206E_202A_202D_206D_202A_202D_202C_202E_200B_206F_200D_202B_202D_206B_202E(sequence); + case 0: + goto IL_005f; + } + continue; + IL_005f: + num = -1832592615; + } + } + + internal bool _003CCreateTask_003Eb__3(QuestStep x) + { + int num = ((!_206A_200C_202B_206E_206A_200B_206E_206B_206C_206B_200D_202C_200D_202B_206E_200B_202D_200F_206E_206E_202E_202C_200B_206B_206C_200F_202C_200C_206A_200E_206E_202D_200C_202C_202E_202C_200E_202E_200E_200D_202E(x).HasValue) ? 2029163806 : 2029163805); + while (true) + { + int num2 = num; + int num3 = 2029163804; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0050; + case 1: + return mountConfiguration.IssuerDataIds.Contains(_206A_200C_202B_206E_206A_200B_206E_206B_206C_206B_200D_202C_200D_202B_206E_200B_202D_200F_206E_206E_202E_202C_200B_206B_206C_200F_202C_200C_206A_200E_206E_202D_200C_202C_202E_202C_200E_202E_200E_200D_202E(x).Value); + case 2: + return false; + } + continue; + IL_0050: + num = 2029163805; + } + } + + static byte _206B_200E_206E_200F_200F_200E_200C_206B_206B_202B_200C_206E_200D_206B_206A_200E_206C_202D_200B_206E_200E_202E_206D_200B_200E_206F_206E_202A_202D_206D_202A_202D_202C_202E_200B_206F_200D_202B_202D_206B_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static uint? _206A_200C_202B_206E_206A_200B_206E_206B_206C_206B_200D_202C_200D_202B_206E_200B_202D_200F_206E_206E_202E_202C_200B_206B_206C_200F_202C_200C_206A_200E_206E_202D_200C_202C_202E_202C_200E_202E_200E_200D_202E(QuestStep P_0) + { + return P_0.DataId; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) + { + int num = ((_200C_200B_206A_206E_202A_200C_206B_200B_200E_202C_200B_206C_206D_200D_200C_200B_200F_200F_206F_206C_206E_206A_202D_206E_202A_202C_206D_206E_206D_200E_200B_202B_206B_202D_200F_202E_200F_202D_206F_202A_202E(sequence) != 0) ? 1124122820 : 1124122829); + AlliedSocietyMountConfiguration mountConfiguration = default(AlliedSocietyMountConfiguration); + ushort? mountId = default(ushort?); + ushort valueOrDefault = default(ushort); + AetheryteTeleport.Task result = default(AetheryteTeleport.Task); + while (true) + { + int num2 = num; + int num3 = 1124122821; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = (quest.AllSequences().Where(delegate(QuestSequence x) + { + int num5 = ((_003C_003Ec__DisplayClass5_0._206B_200E_206E_200F_200F_200E_200C_206B_206B_202B_200C_206E_200D_206B_206A_200E_206C_202D_200B_206E_200E_202E_206D_200B_200E_206F_206E_202A_202D_206D_202A_202D_202C_202E_200B_206F_200D_202B_202D_206B_202E(x) <= 0) ? (-1832592614) : (-1832592615)); + while (true) + { + int num6 = num5; + int num7 = -1832592616; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + switch (num9 - (num10 + num10)) + { + case 2: + return false; + case 1: + return _003C_003Ec__DisplayClass5_0._206B_200E_206E_200F_200F_200E_200C_206B_206B_202B_200C_206E_200D_206B_206A_200E_206C_202D_200B_206E_200E_202E_206D_200B_200E_206F_206E_202A_202D_206D_202A_202D_202C_202E_200B_206F_200D_202B_202D_206B_202E(x) < _003C_003Ec__DisplayClass5_0._206B_200E_206E_200F_200F_200E_200C_206B_206B_202B_200C_206E_200D_206B_206A_200E_206C_202D_200B_206E_200E_202E_206D_200B_200E_206F_206E_202A_202D_206D_202A_202D_202C_202E_200B_206F_200D_202B_202D_206B_202E(sequence); + case 0: + goto IL_005f; + } + continue; + IL_005f: + num5 = -1832592615; + } + }).SelectMany((QuestSequence x) => _003C_003Ec._206A_200D_206B_202B_200B_206F_200C_206D_206E_206D_206B_202B_200C_202C_200E_206D_202E_206E_200C_200E_206E_202C_206A_206E_200F_206D_200B_206C_202C_202B_206C_206A_200E_202C_200B_206E_206E_200B_202C_202B_202E(x)) + .ToList() + .Any(delegate(QuestStep x) + { + int num5 = ((!_003C_003Ec__DisplayClass5_0._206A_200C_202B_206E_206A_200B_206E_206B_206C_206B_200D_202C_200D_202B_206E_200B_202D_200F_206E_206E_202E_202C_200B_206B_206C_200F_202C_200C_206A_200E_206E_202D_200C_202C_202E_202C_200E_202E_200E_200D_202E(x).HasValue) ? 2029163806 : 2029163805); + while (true) + { + int num6 = num5; + int num7 = 2029163804; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + switch (num9 - (num10 + num10)) + { + case 0: + goto IL_0050; + case 1: + return mountConfiguration.IssuerDataIds.Contains(_003C_003Ec__DisplayClass5_0._206A_200C_202B_206E_206A_200B_206E_206B_206C_206B_200D_202C_200D_202B_206E_200B_202D_200F_206E_206E_202E_202C_200B_206B_206C_200F_202C_200C_206A_200E_206E_202D_200C_202C_202E_202C_200E_202E_200E_200D_202E(x).Value); + case 2: + return false; + } + continue; + IL_0050: + num5 = 2029163805; + } + }) ? 1124122821 : 1124122831); + break; + case 4: + _202D_206D_200B_206E_202D_206D_200C_202E_202B_206A_202D_202B_200B_206A_206B_206B_202D_200D_202D_206E_206E_206F_206E_200F_206A_206F_206B_200F_202D_200E_202B_200B_206D_200C_202C_206D_200F_202C_202D_200C_202E((ILogger)logger, global::_003CModule_003E._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(-849084313), Array.Empty()); + return new Mount.UnmountTask(); + case 1: + mountId = gameFunctions.GetMountId(); + num = ((!mountId.HasValue) ? 1124122821 : 1124122816); + break; + case 8: + return null; + case 5: + valueOrDefault = mountId.GetValueOrDefault(); + num = ((!alliedSocietyData.Mounts.TryGetValue(valueOrDefault, out mountConfiguration)) ? 1124122821 : 1124122823); + break; + case 9: + num = 1124122829; + break; + case 3: + _202D_206D_200B_206E_202D_206D_200C_202E_202B_206A_202D_202B_200B_206A_206B_206B_202D_200D_202D_206E_206E_206F_206E_200F_206A_206F_206B_200F_202D_200E_202B_200B_206D_200C_202C_206D_200F_202C_202D_200C_202E((ILogger)logger, global::_003CModule_003E._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(614679233), new object[1] { mountConfiguration.ClosestAetheryte }); + return result; + case 2: + { + _202D_206D_200B_206E_202D_206D_200C_202E_202B_206A_202D_202B_200B_206A_206B_206B_202D_200D_202D_206E_206E_206F_206E_200F_206A_206F_206B_200F_202D_200E_202B_200B_206D_200C_202C_206D_200F_202C_202D_200C_202E((ILogger)logger, global::_003CModule_003E._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(1718232248), new object[1] { valueOrDefault }); + EAetheryteLocation closestAetheryte = mountConfiguration.ClosestAetheryte; + result = new AetheryteTeleport.Task(closestAetheryte, _206C_206A_206C_206C_206F_200B_200E_202A_202C_206C_200F_206D_206A_200D_202B_200F_206E_206F_206B_202A_206C_202C_206C_200F_202D_206D_202D_200D_202E_206C_200D_202E_206B_202A_206F_202D_202B_200C_206E_202D_202E(aetheryteData)[closestAetheryte]); + num = ((_200C_200B_206A_206E_202A_200C_206B_200B_200E_202C_200B_206C_206D_200D_200C_200B_200F_200F_206F_206C_206E_206A_202D_206E_202A_202C_206D_206E_206D_200E_200B_202B_206B_202D_200F_202E_200F_202D_206F_202A_202E(sequence) != byte.MaxValue) ? 1124122818 : 1124122822); + break; + } + case 0: + return null; + case 7: + num = (quest.AllSteps().Any<(QuestSequence, int, QuestStep)>(delegate((QuestSequence Sequence, int StepId, QuestStep Step) x) + { + EAction? eAction = _003C_003Ec._200F_200C_200F_206A_206E_202D_206E_200E_200F_200F_206A_200B_200F_200F_200C_206B_206B_200E_202C_200F_200C_202A_206C_206D_202A_206F_202D_202D_200B_200B_206D_206E_206D_206E_202E_206A_202C_202D_206E_200E_202E(x.Step); + int num5 = ((!eAction.HasValue) ? (-1478106214) : (-1478106210)); + while (true) + { + int num6 = num5; + int num7 = -1478106214; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + switch (num9 - (num10 + num10)) + { + case 5: + num5 = -1478106210; + break; + case 1: + return false; + case 3: + return true; + case 4: + { + EAction valueOrDefault2 = eAction.GetValueOrDefault(); + num5 = (_003C_003Ec._202A_200C_202B_202B_202A_200B_200C_200E_206A_202D_206C_200E_206E_202B_206A_202E_206A_202E_202B_206F_206E_206B_206A_206B_200F_200C_200B_206A_202B_200C_202E_202C_206A_206D_202B_206E_200F_202D_200D_200C_202E(valueOrDefault2) ? (-1478106215) : (-1478106214)); + break; + } + case 2: + return _003C_003Ec._202D_206A_202E_202E_200B_200B_202C_200B_206B_200D_206C_202A_206C_200D_206B_200E_206B_200E_206E_202A_206D_200B_202C_206C_206D_206B_200E_200F_206F_200D_202B_206B_202D_202C_202D_200B_200E_206C_200C_206E_202E(x.Step).Contains(8593u); + case 0: + num5 = ((_003C_003Ec._202D_206F_206C_202B_206B_202E_200F_206B_206E_200E_200E_202E_206D_206E_202A_202C_202A_202E_200E_206D_202D_206A_200F_200F_200F_202B_206E_206C_202A_206A_202E_206E_202B_206D_200E_200F_202B_200C_200C_206D_202E(x.Step) != EInteractionType.Combat) ? (-1478106213) : (-1478106216)); + break; + } + } + }) ? 1124122819 : 1124122817); + break; + case 10: + _202D_206D_200B_206E_202D_206D_200C_202E_202B_206A_202D_202B_200B_206A_206B_206B_202D_200D_202D_206E_206E_206F_206E_200F_206A_206F_206B_200F_202D_200E_202B_200B_206D_200C_202C_206D_200F_202C_202D_200C_202E((ILogger)logger, global::_003CModule_003E._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(-1364311746), new object[1] { mountConfiguration.ClosestAetheryte }); + return result; + } + } + } + + static byte _200C_200B_206A_206E_202A_200C_206B_200B_200E_202C_200B_206C_206D_200D_200C_200B_200F_200F_206F_206C_206E_206A_202D_206E_202A_202C_206D_206E_206D_200E_200B_202B_206B_202D_200F_202E_200F_202D_206F_202A_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static void _202D_206D_200B_206E_202D_206D_200C_202E_202B_206A_202D_202B_200B_206A_206B_206B_202D_200D_202D_206E_206E_206F_206E_200F_206A_206F_206B_200F_202D_200E_202B_200B_206D_200C_202C_206D_200F_202C_202D_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static ReadOnlyDictionary _206C_206A_206C_206C_206F_200B_200E_202A_202C_206C_200F_206D_206A_200D_202B_200F_206E_206F_206B_202A_206C_202C_206C_200F_202D_206D_202D_200D_202E_206C_200D_202E_206B_202A_206F_202D_202B_200C_206E_202D_202E(AetheryteData P_0) + { + return P_0.TerritoryIds; } } @@ -71,31 +325,175 @@ internal static class QuestCleanUp { public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { - if (IsAddonOpen("GatheringMasterpiece")) + while (true) { - yield return new CloseGatheringAddonTask("GatheringMasterpiece"); - } - if (IsAddonOpen("Gathering")) - { - yield return new CloseGatheringAddonTask("Gathering"); + int num = ((!IsAddonOpen(global::_003CModule_003E._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(206776723))) ? 1381266981 : 1381266983); + while (true) + { + int num2 = num; + int num3 = 1381266980; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 6: + num = 1381266979; + continue; + case 8: + break; + case 1: + num = ((!IsAddonOpen(global::_003CModule_003E._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(2006049295))) ? 1381266979 : 1381266976); + continue; + case 2: + num = 1381266981; + continue; + case 0: + num = 1381266977; + continue; + case 5: + yield break; + case 3: + yield return new CloseGatheringAddonTask(global::_003CModule_003E._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(206776723)); + goto case 2; + case 4: + yield return new CloseGatheringAddonTask(global::_003CModule_003E._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(-2015501527)); + goto case 6; + case 7: + yield break; + } + break; + } } } + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } + private unsafe bool IsAddonOpen(string name) { - if (gameGui.TryGetAddonByName(name, out var addonPtr)) + AtkUnitBase* addonPtr; + int num = ((!gameGui.TryGetAddonByName(name, out addonPtr)) ? 1615612648 : 1615612651); + while (true) { - return addonPtr->IsVisible; + int num2 = num; + int num3 = 1615612650; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return false; + case 1: + return addonPtr->IsVisible; + case 0: + goto IL_0057; + } + continue; + IL_0057: + num = 1615612651; } - return false; } } internal sealed record CloseGatheringAddonTask(string AddonName) : ITask { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_200B_200B_202E_200D_206D_206D_206D_206B_202E_206E_200F_202A_202B_206A_200C_202E_202C_206B_206E_202A_206D_206C_202E_206D_200C_200F_200B_200D_200E_202C_202E_200D_200E_202A_202E_202D_200B_200B_200E_202E(typeof(CloseGatheringAddonTask).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return "CloseAddon(" + AddonName + ")"; + return _202B_202E_202E_202E_202D_200B_202D_202B_202D_206B_206A_200D_202B_200B_206E_202D_206D_202A_200D_200C_206B_206D_202E_200E_200E_202B_202A_202B_206F_200F_200B_206D_200C_202B_200D_200D_202B_200D_206E_202E_202E(global::_003CModule_003E._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(-927770525), AddonName, global::_003CModule_003E._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(555647321)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_206C_206F_200B_206F_202D_200F_206D_202B_206A_206E_202D_206F_206B_206A_206A_206C_206E_206C_200E_202B_200F_202D_200D_202C_202B_206B_202E_202C_206D_202D_200B_206E_200C_202D_200F_200B_200C_202A_202D_202E(); + _202C_206D_202A_202B_200F_202E_202B_200B_200D_206A_202A_206E_200B_200E_200F_206E_206A_202C_202C_206E_206D_206C_200C_202D_202A_202C_206B_202B_202B_206C_206A_206C_206C_206A_206E_206D_206E_200C_200D_200F_202E(builder, global::_003CModule_003E._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(709999480)); + _202A_206A_206E_202E_202D_200D_202C_202E_200E_206C_202D_200C_200E_200C_200C_202E_206A_202C_202C_202B_206F_206D_202E_200B_206F_202A_202A_206D_206F_200B_202B_206B_206D_206C_202D_200C_202A_200D_206E_200E_202E(builder, (object)AddonName); + return true; + } + + [CompilerGenerated] + public bool Equals(CloseGatheringAddonTask? other) + { + int num = (((object)this == other) ? (-344901136) : (-344901135)); + while (true) + { + int num2 = num; + int num3 = -344901132; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return EqualityComparer.Default.Equals(AddonName, other.AddonName); + case 4: + return true; + case 2: + num = -344901135; + break; + case 0: + num = ((!_200C_202E_200B_202D_202E_202C_202B_200F_202D_206C_200F_202D_206B_202C_202D_202B_206E_206D_202B_206C_200B_206D_206A_200F_202D_202C_200F_206F_202B_206B_200C_206B_200F_202B_206D_202D_206B_200B_202D_202E_202E(EqualityContract, other.EqualityContract)) ? (-344901131) : (-344901129)); + break; + case 1: + return false; + case 5: + num = (((object)other == null) ? (-344901131) : (-344901132)); + break; + } + } + } + + bool IEquatable.Equals(CloseGatheringAddonTask? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206A_200B_200B_202E_200D_206D_206D_206D_206B_202E_206E_200F_202A_202B_206A_200C_202E_202C_206B_206E_202A_206D_206C_202E_206D_200C_200F_200B_200D_200E_202C_202E_200D_200E_202A_202E_202D_200B_200B_200E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static string _202B_202E_202E_202E_202D_200B_202D_202B_202D_206B_206A_200D_202B_200B_206E_202D_206D_202A_200D_200C_206B_206D_202E_200E_200E_202B_202A_202B_206F_200F_200B_206D_200C_202B_200D_200D_202B_200D_206E_202E_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _200C_206C_206F_200B_206F_202D_200F_206D_202B_206A_206E_202D_206F_206B_206A_206A_206C_206E_206C_200E_202B_200F_202D_200D_202C_202B_206B_202E_202C_206D_202D_200B_206E_200C_202D_200F_200B_200C_202A_202D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202C_206D_202A_202B_200F_202E_202B_200B_200D_206A_202A_206E_200B_200E_200F_206E_206A_202C_202C_206E_206D_206C_200C_202D_202A_202C_206B_202B_202B_206C_206A_206C_206C_206A_206E_206D_206E_200C_200D_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202A_206A_206E_202E_202D_200D_202C_202E_200E_206C_202D_200C_200E_200C_200C_202E_206A_202C_202C_202B_206F_206D_202E_200B_206F_202A_202A_206D_206F_200B_202B_206B_206D_206C_202D_200C_202A_200D_206E_200E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_202E_200B_202D_202E_202C_202B_200F_202D_206C_200F_202D_206B_202C_202D_202B_206E_206D_202B_206C_200B_206D_206A_200F_202D_202C_200F_206F_202B_206B_200C_206B_200F_202B_206D_202D_206B_200B_202D_202E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } @@ -103,12 +501,27 @@ internal static class QuestCleanUp { protected unsafe override bool Start() { - if (gameGui.TryGetAddonByName(base.Task.AddonName, out var addonPtr)) + AtkUnitBase* addonPtr; + int num = ((!gameGui.TryGetAddonByName(base.Task.AddonName, out addonPtr)) ? 2057944997 : 2057944996); + while (true) { - addonPtr->FireCallbackInt(-1); - return true; + int num2 = num; + int num3 = 2057944997; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 1: + addonPtr->FireCallbackInt(-1); + return true; + case 2: + goto IL_0064; + } + continue; + IL_0064: + num = 2057944996; } - return false; } public override ETaskResult Update() diff --git a/Questionable/Questionable.Controller.Steps/SimpleTaskFactory.cs b/Questionable/Questionable.Controller.Steps/SimpleTaskFactory.cs index f6556b60..44af8de4 100644 --- a/Questionable/Questionable.Controller.Steps/SimpleTaskFactory.cs +++ b/Questionable/Questionable.Controller.Steps/SimpleTaskFactory.cs @@ -10,10 +10,46 @@ internal abstract class SimpleTaskFactory : ITaskFactory public IEnumerable CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) { - ITask task = CreateTask(quest, sequence, step); - if (task != null) + int num = 1047990270; + ITask task = default(ITask); + while (true) { - yield return task; + int num2 = num; + int num3 = 1047990264; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1047990265; + break; + case 5: + yield break; + case 2: + yield break; + case 4: + num = 1047990269; + break; + case 6: + task = CreateTask(quest, sequence, step); + num = ((task == null) ? 1047990269 : 1047990264); + break; + case 0: + yield return task; + num = 1047990265; + break; + case 1: + { + int num5; + num = ((num5 == 1) ? 1047990268 : 1047990266); + break; + } + } } } + + IEnumerable ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) + { + //ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks + return this.CreateAllTasks(quest, sequence, step); + } } diff --git a/Questionable/Questionable.Controller.Steps/TaskCreator.cs b/Questionable/Questionable.Controller.Steps/TaskCreator.cs index ff753d4a..f19f762a 100644 --- a/Questionable/Questionable.Controller.Steps/TaskCreator.cs +++ b/Questionable/Questionable.Controller.Steps/TaskCreator.cs @@ -1,11 +1,15 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Numerics; +using System.Reflection; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; 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; @@ -15,6 +19,174 @@ namespace Questionable.Controller.Steps; internal sealed class TaskCreator { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__6_3; + + public static Predicate _003C_003E9__6_4; + + public static Func _003C_003E9__6_2; + + public static Func _003C_003E9__6_0; + + internal string _003CCreateTasks_003Eb__6_3(ITask y) + { + return _202E_206F_206D_200D_200C_206F_206A_202C_206D_202D_200D_206F_202A_202C_202B_206C_202C_200B_206B_200F_202A_206D_200C_200B_206C_206E_202C_200F_202E_202D_202E_202E_200D_206E_202C_200F_206D_200B_200E_202E((object)y); + } + + internal bool _003CCreateTasks_003Eb__6_4(ITask x) + { + int num = ((x is MoveTask) ? 506921039 : 506921036); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = 506921038; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = 506921036; + break; + case 3: + return result; + case 0: + result = false; + num = 506921037; + break; + case 1: + result = true; + num = 506921037; + break; + case 2: + num = ((!(x is LandTask)) ? 506921038 : 506921039); + break; + } + } + } + + internal bool _003CCreateTasks_003Eb__6_2(ITask y) + { + return y is SinglePlayerDuty.StartSinglePlayerDuty; + } + + internal string _003CCreateTasks_003Eb__6_0(ITask x) + { + return _202E_206F_206D_200D_200C_206F_206A_202C_206D_202D_200D_206F_202A_202C_202B_206C_202C_200B_206B_200F_202A_206D_200C_200B_206C_206E_202C_200F_202E_202D_202E_202E_200D_206E_202C_200F_206D_200B_200E_202E((object)x); + } + + static string _202E_206F_206D_200D_200C_206F_206A_202C_206D_202D_200D_206F_202A_202C_202B_206C_202C_200B_206B_200F_202A_206D_200C_200B_206C_206E_202C_200F_202E_202D_202E_202E_200D_206E_202C_200F_206D_200B_200E_202E(object P_0) + { + return P_0.ToString(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass6_0 + { + public Quest quest; + + public QuestSequence sequence; + + public QuestStep step; + + public TaskCreator _003C_003E4__this; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal IEnumerable _003CCreateTasks_003Eb__1(ITaskFactory x) + { + List list = x.CreateAllTasks(quest, sequence, step).ToList(); + int num = ((list.Count <= 0) ? 1319758247 : 1319758242); + string text = default(string); + while (true) + { + int num2 = num; + int num3 = 1319758243; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return list; + case 5: + _206C_200C_202A_202E_200F_200B_206B_200F_206F_200B_202E_206A_206A_202D_200B_200E_206D_202E_206C_206B_200B_202B_206F_200B_200D_200B_202E_200F_202B_200D_206C_206B_200D_202E_200C_202A_206B_202E_202C_206D_202E((ILogger)_003C_003E4__this._logger, global::_003CModule_003E._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(695947620), new object[2] + { + text, + _202E_202E_206A_206C_206E_202D_200D_206E_206B_200D_202E_202E_202A_200C_202B_200F_206E_206D_206E_206D_202A_206D_202C_206A_200F_200D_200E_206F_200F_200F_202D_202E_200D_206E_206E_202B_206B_202E_200F_200D_202E(global::_003CModule_003E._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(1403263077), list.Select((ITask y) => _003C_003Ec._202E_206F_206D_200D_200C_206F_206A_202C_206D_202D_200D_206F_202A_202C_202B_206C_202C_200B_206B_200F_202A_206D_200C_200B_206C_206E_202C_200F_202E_202D_202E_202E_200D_206E_202C_200F_206D_200B_200E_202E((object)y))) + }); + num = 1319758247; + break; + case 1: + num = ((!_202A_206E_200D_206D_206C_200C_200D_206D_206F_206C_200C_206E_206F_200F_206F_206A_206F_200F_206B_206D_202B_202A_200E_206C_202A_206D_200C_206F_200D_206C_202E_200B_200B_202E_200D_206E_200E_206B_206A_202C_202E((ILogger)_003C_003E4__this._logger, LogLevel.Trace)) ? 1319758247 : 1319758241); + break; + case 2: + text = _200F_202A_200F_206C_202C_200E_202C_200B_200F_200F_200C_200B_200C_202D_200E_206D_202D_206C_200B_200D_206E_206F_206B_200E_202D_202B_206D_202B_206F_200B_206A_206B_200F_200C_200E_202A_206E_206A_200F_202D_202E(_202B_206C_200D_200E_200B_206A_202B_206C_206C_202E_202A_202B_206B_206C_202C_202A_202A_202C_200D_202E_202D_200D_206D_206E_202A_200D_202E_202A_202A_200C_206A_206D_202A_202A_202E_202B_202E_202A_202D_206A_202E((object)x)) ?? _200E_202E_202A_200B_202B_206C_200F_202A_206C_200E_202D_200E_206F_202A_200F_200E_206F_202C_202C_202C_200D_206A_200B_206C_206B_202C_202D_202C_206D_200B_202D_202E_206D_202C_202A_202E_206A_200E_202B_206E_202E((MemberInfo)_202B_206C_200D_200E_200B_206A_202B_206C_206C_202E_202A_202B_206B_206C_202C_202A_202A_202C_200D_202E_202D_200D_206D_206E_202A_200D_202E_202A_202A_200C_206A_206D_202A_202A_202E_202B_202E_202A_202D_206A_202E((object)x)); + num = ((!_200D_202B_206B_202B_202E_202E_202B_200E_206C_202A_202D_202B_200C_202B_206C_200B_202D_202D_202D_206E_206E_206F_206F_202A_200E_202B_200C_200D_200C_202D_202B_202E_200E_200E_202E_202B_200E_206C_202B_200C_202E(text, '.', StringComparison.Ordinal)) ? 1319758246 : 1319758243); + break; + case 0: + text = _200F_202D_200F_202D_206D_206D_206D_200D_200C_202B_206E_202E_202E_206B_200F_200F_206D_206E_206C_202B_202B_206C_206A_200C_206A_202A_206E_206E_200D_206F_202B_202E_200C_206F_200C_206A_202D_206A_200D_206A_202E(text, _202B_200E_200F_200B_202D_206F_200B_200E_200F_206B_202B_200B_202A_200C_202D_200B_202B_202A_206B_200F_206E_206D_206D_202E_200F_202B_206C_200C_202D_202D_200B_202E_206D_206C_206C_200F_206C_200E_200C_202C_202E(text, '.') + 1); + num = 1319758246; + break; + case 3: + num = 1319758242; + break; + } + } + } + + static bool _202A_206E_200D_206D_206C_200C_200D_206D_206F_206C_200C_206E_206F_200F_206F_206A_206F_200F_206B_206D_202B_202A_200E_206C_202A_206D_200C_206F_200D_206C_202E_200B_200B_202E_200D_206E_200E_206B_206A_202C_202E(ILogger P_0, LogLevel P_1) + { + return P_0.IsEnabled(P_1); + } + + static Type _202B_206C_200D_200E_200B_206A_202B_206C_206C_202E_202A_202B_206B_206C_202C_202A_202A_202C_200D_202E_202D_200D_206D_206E_202A_200D_202E_202A_202A_200C_206A_206D_202A_202A_202E_202B_202E_202A_202D_206A_202E(object P_0) + { + return P_0.GetType(); + } + + static string _200F_202A_200F_206C_202C_200E_202C_200B_200F_200F_200C_200B_200C_202D_200E_206D_202D_206C_200B_200D_206E_206F_206B_200E_202D_202B_206D_202B_206F_200B_206A_206B_200F_200C_200E_202A_206E_206A_200F_202D_202E(Type P_0) + { + return P_0.FullName; + } + + static string _200E_202E_202A_200B_202B_206C_200F_202A_206C_200E_202D_200E_206F_202A_200F_200E_206F_202C_202C_202C_200D_206A_200B_206C_206B_202C_202D_202C_206D_200B_202D_202E_206D_202C_202A_202E_206A_200E_202B_206E_202E(MemberInfo P_0) + { + return P_0.Name; + } + + static bool _200D_202B_206B_202B_202E_202E_202B_200E_206C_202A_202D_202B_200C_202B_206C_200B_202D_202D_202D_206E_206E_206F_206F_202A_200E_202B_200C_200D_200C_202D_202B_202E_200E_200E_202E_202B_200E_206C_202B_200C_202E(string P_0, char P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static int _202B_200E_200F_200B_202D_206F_200B_200E_200F_206B_202B_200B_202A_200C_202D_200B_202B_202A_206B_200F_206E_206D_206D_202E_200F_202B_206C_200C_202D_202D_200B_202E_206D_206C_206C_200F_206C_200E_200C_202C_202E(string P_0, char P_1) + { + return P_0.LastIndexOf(P_1); + } + + static string _200F_202D_200F_202D_206D_206D_206D_200D_200C_202B_206E_202E_202E_206B_200F_200F_206D_206E_206C_202B_202B_206C_206A_200C_206A_202A_206E_206E_200D_206F_202B_202E_200C_206F_200C_206A_202D_206A_200D_206A_202E(string P_0, int P_1) + { + return P_0.Substring(P_1); + } + + static string _202E_202E_206A_206C_206E_202D_200D_206E_206B_200D_202E_202E_202A_200C_202B_200F_206E_206D_206E_206D_202A_206D_202C_206A_200F_200D_200E_206F_200F_200F_202D_202E_200D_206E_206E_202B_206B_202E_200F_200D_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static void _206C_200C_202A_202E_200F_200B_206B_200F_206F_200B_202E_206A_206A_202D_200B_200E_206D_202E_206C_206B_200B_202B_206F_200B_200D_200B_202E_200F_202B_200D_206C_206B_200D_202E_200C_202A_206B_202E_202C_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + } + private readonly IServiceProvider _serviceProvider; private readonly TerritoryData _territoryData; @@ -34,60 +206,350 @@ internal sealed class TaskCreator _logger = logger; } - public IReadOnlyList CreateTasks(Quest quest, byte sequenceNumber, QuestSequence? sequence, QuestStep? step) + [MethodImpl(MethodImplOptions.NoInlining)] + public IReadOnlyList CreateTasks(Quest quest, byte sequenceNumber, QuestSequence? sequence, QuestStep? step, bool isSimulation = false) { - List list2; - if (sequence == null) + int num = ((sequence != null) ? (-1823507682) : (-1823507683)); + List list; + SinglePlayerDuty.StartSinglePlayerDuty startSinglePlayerDuty = default(SinglePlayerDuty.StartSinglePlayerDuty); + TerritoryData.ContentFinderConditionData contentFinderConditionData = default(TerritoryData.ContentFinderConditionData); + int num9 = default(int); + uint valueOrDefault = default(uint); + uint? num8 = default(uint?); + while (true) { - _chatGui.PrintError($"Path for quest '{quest.Info.Name}' ({quest.Id}) does not contain sequence {sequenceNumber}, please report this.", "Questionable", 576); - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = new WaitAtEnd.WaitNextStepOrSequence(); - list2 = list; - } - else if (step == null) - { - int num = 1; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - CollectionsMarshal.AsSpan(list3)[0] = new WaitAtEnd.WaitNextStepOrSequence(); - list2 = list3; - } - else - { - using IServiceScope serviceScope = _serviceProvider.CreateScope(); - list2 = serviceScope.ServiceProvider.GetRequiredService>().SelectMany(delegate(ITaskFactory x) + int num2 = num; + int num3 = -1823507684; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - List list4 = x.CreateAllTasks(quest, sequence, step).ToList(); - if (list4.Count > 0 && _logger.IsEnabled(LogLevel.Trace)) + default: + continue; + case 0: + num = -1823507683; + continue; + case 2: + num = ((step != null) ? (-1823507688) : (-1823507681)); + continue; + case 1: + { + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(68, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(112819953)); + defaultInterpolatedStringHandler.AppendFormatted(quest.Info.Name); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-151888444)); + defaultInterpolatedStringHandler.AppendFormatted(quest.Id); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(457619416)); + defaultInterpolatedStringHandler.AppendFormatted(sequenceNumber); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1870384358)); + _206D_202E_200E_206F_202C_202B_200D_206E_206B_200B_206E_200E_200E_206A_200D_202A_200E_202B_206A_206F_200E_200F_202C_206D_206F_206C_206A_200E_206C_200C_200B_200D_206F_206E_206A_206E_200F_206D_206A_200C_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + int num17 = 1; + List list5 = new List(num17); + CollectionsMarshal.SetCount(list5, num17); + CollectionsMarshal.AsSpan(list5)[0] = new WaitAtEnd.WaitNextStepOrSequence(); + list = list5; + break; + } + case 3: + { + int num17 = 1; + List list4 = new List(num17); + CollectionsMarshal.SetCount(list4, num17); + CollectionsMarshal.AsSpan(list4)[0] = new WaitAtEnd.WaitNextStepOrSequence(); + list = list4; + break; + } + case 4: + { + IServiceScope serviceScope = _202C_202E_206F_206C_202E_200F_206B_202A_200F_202E_200B_200D_206E_206A_200C_206C_200E_200C_200F_200C_202C_206F_206B_206A_202A_202C_206D_206E_206B_206F_202B_202A_202C_202A_202D_202E_206F_206D_202B_206A_202E(_serviceProvider); + try { - string text = x.GetType().FullName ?? x.GetType().Name; - if (text.Contains('.', StringComparison.Ordinal)) + list = _202E_202C_202D_206A_200C_206C_200E_202A_202D_202B_206A_206F_206B_200B_200D_200B_200E_200D_202A_202D_200D_200B_202D_206E_206F_202A_200C_206F_206F_200B_200B_200B_202D_206D_200C_206F_206D_206A_206A_206A_202E(serviceScope).GetRequiredService>().SelectMany([MethodImpl(MethodImplOptions.NoInlining)] (ITaskFactory x) => { - text = text.Substring(text.LastIndexOf('.') + 1); + List list6 = x.CreateAllTasks(quest, sequence, step).ToList(); + int num21 = ((list6.Count <= 0) ? 1319758247 : 1319758242); + string text3 = default(string); + while (true) + { + int num22 = num21; + int num23 = 1319758243; + int num24 = num22; + int num25 = num24 + num23; + int num26 = num24 & num23; + switch (num25 - (num26 + num26)) + { + case 4: + return list6; + case 5: + _003C_003Ec__DisplayClass6_0._206C_200C_202A_202E_200F_200B_206B_200F_206F_200B_202E_206A_206A_202D_200B_200E_206D_202E_206C_206B_200B_202B_206F_200B_200D_200B_202E_200F_202B_200D_206C_206B_200D_202E_200C_202A_206B_202E_202C_206D_202E((ILogger)_logger, global::_003CModule_003E._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(695947620), new object[2] + { + text3, + _003C_003Ec__DisplayClass6_0._202E_202E_206A_206C_206E_202D_200D_206E_206B_200D_202E_202E_202A_200C_202B_200F_206E_206D_206E_206D_202A_206D_202C_206A_200F_200D_200E_206F_200F_200F_202D_202E_200D_206E_206E_202B_206B_202E_200F_200D_202E(global::_003CModule_003E._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(1403263077), list6.Select((ITask y) => _003C_003Ec._202E_206F_206D_200D_200C_206F_206A_202C_206D_202D_200D_206F_202A_202C_202B_206C_202C_200B_206B_200F_202A_206D_200C_200B_206C_206E_202C_200F_202E_202D_202E_202E_200D_206E_202C_200F_206D_200B_200E_202E((object)y))) + }); + num21 = 1319758247; + break; + case 1: + num21 = ((!_003C_003Ec__DisplayClass6_0._202A_206E_200D_206D_206C_200C_200D_206D_206F_206C_200C_206E_206F_200F_206F_206A_206F_200F_206B_206D_202B_202A_200E_206C_202A_206D_200C_206F_200D_206C_202E_200B_200B_202E_200D_206E_200E_206B_206A_202C_202E((ILogger)_logger, LogLevel.Trace)) ? 1319758247 : 1319758241); + break; + case 2: + text3 = _003C_003Ec__DisplayClass6_0._200F_202A_200F_206C_202C_200E_202C_200B_200F_200F_200C_200B_200C_202D_200E_206D_202D_206C_200B_200D_206E_206F_206B_200E_202D_202B_206D_202B_206F_200B_206A_206B_200F_200C_200E_202A_206E_206A_200F_202D_202E(_003C_003Ec__DisplayClass6_0._202B_206C_200D_200E_200B_206A_202B_206C_206C_202E_202A_202B_206B_206C_202C_202A_202A_202C_200D_202E_202D_200D_206D_206E_202A_200D_202E_202A_202A_200C_206A_206D_202A_202A_202E_202B_202E_202A_202D_206A_202E((object)x)) ?? _003C_003Ec__DisplayClass6_0._200E_202E_202A_200B_202B_206C_200F_202A_206C_200E_202D_200E_206F_202A_200F_200E_206F_202C_202C_202C_200D_206A_200B_206C_206B_202C_202D_202C_206D_200B_202D_202E_206D_202C_202A_202E_206A_200E_202B_206E_202E((MemberInfo)_003C_003Ec__DisplayClass6_0._202B_206C_200D_200E_200B_206A_202B_206C_206C_202E_202A_202B_206B_206C_202C_202A_202A_202C_200D_202E_202D_200D_206D_206E_202A_200D_202E_202A_202A_200C_206A_206D_202A_202A_202E_202B_202E_202A_202D_206A_202E((object)x)); + num21 = ((!_003C_003Ec__DisplayClass6_0._200D_202B_206B_202B_202E_202E_202B_200E_206C_202A_202D_202B_200C_202B_206C_200B_202D_202D_202D_206E_206E_206F_206F_202A_200E_202B_200C_200D_200C_202D_202B_202E_200E_200E_202E_202B_200E_206C_202B_200C_202E(text3, '.', StringComparison.Ordinal)) ? 1319758246 : 1319758243); + break; + case 0: + text3 = _003C_003Ec__DisplayClass6_0._200F_202D_200F_202D_206D_206D_206D_200D_200C_202B_206E_202E_202E_206B_200F_200F_206D_206E_206C_202B_202B_206C_206A_200C_206A_202A_206E_206E_200D_206F_202B_202E_200C_206F_200C_206A_202D_206A_200D_206A_202E(text3, _003C_003Ec__DisplayClass6_0._202B_200E_200F_200B_202D_206F_200B_200E_200F_206B_202B_200B_202A_200C_202D_200B_202B_202A_206B_200F_206E_206D_206D_202E_200F_202B_206C_200C_202D_202D_200B_202E_206D_206C_206C_200F_206C_200E_200C_202C_202E(text3, '.') + 1); + num21 = 1319758246; + break; + case 3: + num21 = 1319758242; + break; + } + } + }).ToList(); + num = ((!isSimulation) ? (-675834383) : (-675834384)); + while (true) + { + int num5 = num; + num3 = -675834382; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 4: + num = ((!_territoryData.TryGetContentFinderCondition(startSinglePlayerDuty.ContentFinderConditionId, out contentFinderConditionData)) ? (-675834379) : (-675834374)); + break; + case 8: + num = ((_202B_202A_200B_206E_200B_206B_202D_202A_202A_206B_200E_202D_202C_206F_206D_206C_202B_202C_202A_200B_200B_202B_206B_202D_206A_202B_200E_200B_206A_200D_202C_200B_206B_200E_202C_200F_200F_206E_206E_206A_202E(_clientState) != contentFinderConditionData.TerritoryId) ? (-675834379) : (-675834382)); + break; + case 9: + num9 = list.FindLastIndex(delegate(ITask x) + { + int num21 = ((x is MoveTask) ? 506921039 : 506921036); + bool result = default(bool); + while (true) + { + int num22 = num21; + int num23 = 506921038; + int num24 = num22; + int num25 = num24 + num23; + int num26 = num24 & num23; + switch (num25 - (num26 + num26)) + { + case 4: + num21 = 506921036; + break; + case 3: + return result; + case 0: + result = false; + num21 = 506921037; + break; + case 1: + result = true; + num21 = 506921037; + break; + case 2: + num21 = ((!(x is LandTask)) ? 506921038 : 506921039); + break; + } + } + }); + num = ((num9 < 0) ? (-675834383) : (-675834381)); + break; + case 10: + valueOrDefault = num8.GetValueOrDefault(); + num = ((!_206B_202C_206F_200C_202A_200B_200D_206C_206F_206F_200F_200B_200C_202D_206D_206D_206F_202E_206B_200C_206C_206A_200F_202D_202C_206F_206D_206A_200F_206B_206D_200C_206D_206A_200D_206A_200F_200C_206C_200D_202E(step).HasValue) ? (-675834383) : (-675834373)); + break; + case 3: + startSinglePlayerDuty = list.Where((ITask y) => y is SinglePlayerDuty.StartSinglePlayerDuty).Cast().FirstOrDefault(); + num = ((!(startSinglePlayerDuty != null)) ? (-675834379) : (-675834378)); + break; + case 0: + { + int num13 = list.IndexOf(startSinglePlayerDuty); + ILogger logger = _logger; + string text = global::_003CModule_003E._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(-604584645); + object[] array = new object[2]; + num3 = 1; + num4 = num13; + array[0] = (num4 | num3) + (num4 & num3); + array[1] = list.Count; + _202E_206B_206B_202C_202D_206C_206E_202D_202C_200C_206E_206B_200C_206F_206D_206B_206F_200C_200D_202D_202B_206B_202E_202A_202D_202B_206D_200D_202E_206A_200C_200B_206C_200E_200F_202E_206E_206C_200C_206B_202E((ILogger)logger, text, array); + List list3 = list; + num3 = 1; + num4 = num13; + int num14 = num4 ^ num3; + int num15 = num4 & num3; + list3.RemoveRange(0, num14 + (num15 + num15)); + _206B_206E_200C_206E_200C_206F_200D_206F_200F_202D_200E_206E_206B_206E_206E_206E_206F_206D_200D_200B_202B_200F_206E_202B_206E_200D_206F_200B_206E_200C_206D_202C_202B_202C_206F_200E_200C_202A_202E_200F_202E((ILogger)_logger, global::_003CModule_003E._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(896688647), new object[2] + { + list.FirstOrDefault(), + list.Count + }); + num = -675834379; + break; + } + case 6: + num = -675834384; + break; + case 1: + { + List list2 = list; + int num10 = num9; + num3 = 1; + num4 = num10; + int num11 = num4 ^ num3; + int num12 = num4 & num3; + list2.Insert(num11 + (num12 + num12), new SkipMissingObject.Task(valueOrDefault, quest.Id, _206E_200F_200D_200F_206D_202B_200C_202E_206F_202E_206B_200B_200B_206B_200E_202C_206D_200E_202E_200D_200D_206D_206E_206A_202A_202C_202E_206E_200D_206B_200F_206E_200B_202E_200E_200E_200E_206E_200C_206A_202E(sequence))); + num = -675834383; + break; + } + case 2: + num = ((step == null) ? (-675834383) : (-675834377)); + break; + case 5: + num8 = _200B_200D_202D_202C_200B_200E_206D_206D_206C_200D_206C_202C_202B_206E_202C_206E_200C_200F_200D_206D_206E_206B_202A_200D_206B_200C_200D_202D_200D_206C_206D_202C_202E_206D_202D_206D_200F_202C_206B_200C_202E(step); + num = ((!num8.HasValue) ? (-675834383) : (-675834376)); + break; + case 7: + goto end_IL_020b; + } + continue; + end_IL_020b: + break; } - _logger.LogTrace("Factory {FactoryName} created Task {TaskNames}", text, string.Join(", ", list4.Select((ITask y) => y.ToString()))); } - return list4; - }).ToList(); - 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) + finally + { + num = ((serviceScope == null) ? 1744804945 : 1744804946); + while (true) + { + int num16 = num; + num3 = 1744804947; + num4 = num16; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0503; + case 1: + _200C_202B_200D_206A_206F_202D_206D_206D_206A_202B_202B_202D_202E_206C_200E_200C_200E_200F_206F_200F_200D_200F_206E_206C_202A_200E_206C_206A_206C_202E_206E_206A_206A_200C_202C_206E_206C_206E_200E_206C_202E((IDisposable)serviceScope); + num = 1744804945; + break; + case 0: + num = 1744804946; + break; + } + continue; + end_IL_0503: + break; + } + } + break; + } + } + break; + } + num = ((list.Count != 0) ? 1667642531 : 1667642529); + while (true) + { + int num18 = num; + int num3 = 1667642530; + int num4 = num18; + int num19 = num4 + num3; + int num20 = num4 & num3; + switch (num19 - (num20 + num20)) { - 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); + case 0: + num = 1667642529; + break; + case 1: + { + ILogger logger2 = _logger; + string text2 = global::_003CModule_003E._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(1018938481); + object[] obj = new object[4] { quest.Id, sequenceNumber, null, null }; + int? obj2; + if (step == null) + { + obj2 = null; + } + else + { + QuestSequence? questSequence = sequence; + obj2 = ((questSequence != null) ? new int?(_206A_206B_202A_206C_200E_206D_202A_202C_202E_206E_200F_202E_206B_206A_200F_202D_206F_202E_202A_202C_206F_200B_202E_206E_200F_202E_200C_206C_206A_200E_202D_200E_206A_202B_206B_200E_200E_206C_206A_202E(questSequence).IndexOf(step)) : ((int?)null)); + } + obj[2] = obj2; + obj[3] = _200C_206C_202D_206D_200B_202C_202E_206A_202B_202B_206C_200E_200C_206F_206F_200C_200C_200F_206F_200D_206C_206E_206B_200B_202A_202E_206F_206A_202B_200E_202A_206D_206B_206A_200E_206F_202E_202D_206B_202E(global::_003CModule_003E._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(-1095822044), list.Select((ITask x) => _003C_003Ec._202E_206F_206D_200D_200C_206F_206A_202C_206D_202D_200D_206F_202A_202C_202B_206C_202C_200B_206B_200F_202A_206D_200C_200B_206C_206E_202C_200F_202E_202D_202E_202E_200D_206E_202C_200F_206D_200B_200E_202E((object)x))); + _206B_206E_200C_206E_200C_206F_200D_206F_200F_202D_200E_206E_206B_206E_206E_206E_206F_206D_200D_200B_202B_200F_206E_202B_206E_200D_206F_200B_206E_200C_206D_202C_202B_202C_206F_200E_200C_202A_202E_200F_202E((ILogger)logger2, text2, obj); + num = 1667642528; + break; + } + case 2: + return list; + case 3: + _206B_206E_200C_206E_200C_206F_200D_206F_200F_202D_200E_206E_206B_206E_206E_206E_206F_206D_200D_200B_202B_200F_206E_202B_206E_200D_206F_200B_206E_200C_206D_202C_202B_202C_206F_200E_200C_202A_202E_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1026915460), Array.Empty()); + num = 1667642528; + break; } } - if (list2.Count == 0) - { - _logger.LogInformation("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()))); - } - return list2; + } + + static void _206D_202E_200E_206F_202C_202B_200D_206E_206B_200B_206E_200E_200E_206A_200D_202A_200E_202B_206A_206F_200E_200F_202C_206D_206F_206C_206A_200E_206C_200C_200B_200D_206F_206E_206A_206E_200F_206D_206A_200C_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static IServiceScope _202C_202E_206F_206C_202E_200F_206B_202A_200F_202E_200B_200D_206E_206A_200C_206C_200E_200C_200F_200C_202C_206F_206B_206A_202A_202C_206D_206E_206B_206F_202B_202A_202C_202A_202D_202E_206F_206D_202B_206A_202E(IServiceProvider P_0) + { + return P_0.CreateScope(); + } + + static IServiceProvider _202E_202C_202D_206A_200C_206C_200E_202A_202D_202B_206A_206F_206B_200B_200D_200B_200E_200D_202A_202D_200D_200B_202D_206E_206F_202A_200C_206F_206F_200B_200B_200B_202D_206D_200C_206F_206D_206A_206A_206A_202E(IServiceScope P_0) + { + return P_0.ServiceProvider; + } + + static uint? _200B_200D_202D_202C_200B_200E_206D_206D_206C_200D_206C_202C_202B_206E_202C_206E_200C_200F_200D_206D_206E_206B_202A_200D_206B_200C_200D_202D_200D_206C_206D_202C_202E_206D_202D_206D_200F_202C_206B_200C_202E(QuestStep P_0) + { + return P_0.DataId; + } + + static Vector3? _206B_202C_206F_200C_202A_200B_200D_206C_206F_206F_200F_200B_200C_202D_206D_206D_206F_202E_206B_200C_206C_206A_200F_202D_202C_206F_206D_206A_200F_206B_206D_200C_206D_206A_200D_206A_200F_200C_206C_200D_202E(QuestStep P_0) + { + return P_0.Position; + } + + static byte _206E_200F_200D_200F_206D_202B_200C_202E_206F_202E_206B_200B_200B_206B_200E_202C_206D_200E_202E_200D_200D_206D_206E_206A_202A_202C_202E_206E_200D_206B_200F_206E_200B_202E_200E_200E_200E_206E_200C_206A_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static uint _202B_202A_200B_206E_200B_206B_202D_202A_202A_206B_200E_202D_202C_206F_206D_206C_202B_202C_202A_200B_200B_202B_206B_202D_206A_202B_200E_200B_206A_200D_202C_200B_206B_200E_202C_200F_200F_206E_206E_206A_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static void _202E_206B_206B_202C_202D_206C_206E_202D_202C_200C_206E_206B_200C_206F_206D_206B_206F_200C_200D_202D_202B_206B_202E_202A_202D_202B_206D_200D_202E_206A_200C_200B_206C_200E_200F_202E_206E_206C_200C_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _206B_206E_200C_206E_200C_206F_200D_206F_200F_202D_200E_206E_206B_206E_206E_206E_206F_206D_200D_200B_202B_200F_206E_202B_206E_200D_206F_200B_206E_200C_206D_202C_202B_202C_206F_200E_200C_202A_202E_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _200C_202B_200D_206A_206F_202D_206D_206D_206A_202B_202B_202D_202E_206C_200E_200C_200E_200F_206F_200F_200D_200F_206E_206C_202A_200E_206C_206A_206C_202E_206E_206A_206A_200C_202C_206E_206C_206E_200E_206C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static List _206A_206B_202A_206C_200E_206D_202A_202C_202E_206E_200F_202E_206B_206A_200F_202D_206F_202E_202A_202C_206F_200B_202E_206E_200F_202E_200C_206C_206A_200E_202D_200E_206A_202B_206B_200E_200E_206C_206A_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static string _200C_206C_202D_206D_200B_202C_202E_206A_202B_202B_206C_200E_200C_206F_206F_200C_200C_200F_206F_200D_206C_206E_206B_200B_202A_202E_206F_206A_202B_200E_202A_206D_206B_206A_200E_206F_202E_202D_206B_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); } } diff --git a/Questionable/Questionable.Controller.Steps/TaskExecutor.cs b/Questionable/Questionable.Controller.Steps/TaskExecutor.cs index ab27e90a..75824194 100644 --- a/Questionable/Questionable.Controller.Steps/TaskExecutor.cs +++ b/Questionable/Questionable.Controller.Steps/TaskExecutor.cs @@ -1,9 +1,12 @@ using System; +using System.Runtime.CompilerServices; 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; } @@ -13,33 +16,142 @@ internal abstract class TaskExecutor : ITaskExecutor where T : class, ITask public virtual bool WasInterrupted() { InteractionProgressContext progressContext = ProgressContext; - if (progressContext != null) + int num = ((progressContext == null) ? 1406481972 : 1406481975); + while (true) { - progressContext.Update(); - return progressContext.WasInterrupted(); + int num2 = num; + int num3 = 1406481974; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 1: + progressContext.Update(); + return progressContext.WasInterrupted(); + case 2: + return false; + } + continue; + IL_0048: + num = 1406481975; } - return false; + } + + bool ITaskExecutor.WasInterrupted() + { + //ILSpy generated this explicit interface implementation from .override directive in WasInterrupted + return this.WasInterrupted(); + } + + public virtual bool HasTimedOut(float timeoutSeconds) + { + int num = ((ProgressContext != null) ? (-1028990417) : (-1028990418)); + while (true) + { + int num2 = num; + int num3 = -1028990417; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return _200F_202B_202E_202E_206A_202A_202D_202A_202B_202A_200D_206F_206A_202A_206D_202C_206B_200F_206E_200B_200D_206E_202C_202E_202E_200B_202B_200D_202E_206F_206D_206F_202E_200E_202C_202C_202C_200C_206C_206B_202E() - _lastProgressAt > (long)(timeoutSeconds * 1000f); + case 1: + return false; + case 2: + goto IL_0061; + } + continue; + IL_0061: + num = -1028990418; + } + } + + bool ITaskExecutor.HasTimedOut(float timeoutSeconds) + { + //ILSpy generated this explicit interface implementation from .override directive in HasTimedOut + return this.HasTimedOut(timeoutSeconds); + } + + protected void ResetProgressTimer() + { + _lastProgressAt = _200F_202B_202E_202E_206A_202A_202D_202A_202B_202A_200D_206F_206A_202A_206D_202C_206B_200F_206E_200B_200D_206E_202C_202E_202E_200B_202B_200D_202E_206F_206D_206F_202E_200E_202C_202C_202C_200C_206C_206B_202E(); } public Type GetTaskType() { - return typeof(T); + return _200D_206E_206F_200E_206B_202A_202D_200C_202E_202B_206D_206F_200D_206A_202D_200E_206D_200E_206F_200F_206E_202A_200D_206F_200F_200C_206F_202C_206D_206F_206C_206F_200D_200B_202E_200D_202C_206C_202D_206D_202E(typeof(T).TypeHandle); + } + + Type ITaskExecutor.GetTaskType() + { + //ILSpy generated this explicit interface implementation from .override directive in GetTaskType + return this.GetTaskType(); } protected abstract bool Start(); + [MethodImpl(MethodImplOptions.NoInlining)] public bool Start(ITask task) { - if (task is T task2) + T val = task as T; + int num = ((val == null) ? 746010718 : 746010717); + while (true) { - Task = task2; - ProgressContext = null; - return Start(); + int num2 = num; + int num3 = 746010719; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(19, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(78496127)); + defaultInterpolatedStringHandler.AppendFormatted(_202D_202E_206C_206C_202A_202B_200F_202D_200F_200C_206F_206B_206B_206D_200C_206F_200E_200E_202B_202C_206A_200E_206B_200F_206D_202B_200C_202D_202B_202E_200F_200F_206E_202E_206C_200B_202E_200D_202C_200F_202E((object)task)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-718265658)); + defaultInterpolatedStringHandler.AppendFormatted(_200D_206E_206F_200E_206B_202A_202D_200C_202E_202B_206D_206F_200D_206A_202D_200E_206D_200E_206F_200F_206E_202A_200D_206F_200F_200C_206F_202C_206D_206F_206C_206F_200D_200B_202E_200D_202C_206C_202D_206D_202E(typeof(T).TypeHandle)); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 2: + Task = val; + ProgressContext = null; + _lastProgressAt = _200F_202B_202E_202E_206A_202A_202D_202A_202B_202A_200D_206F_206A_202A_206D_202C_206B_200F_206E_200B_200D_206E_202C_202E_202E_200B_202B_200D_202E_206F_206D_206F_202E_200E_202C_202C_202C_200C_206C_206B_202E(); + return Start(); + case 0: + goto IL_00ce; + } + continue; + IL_00ce: + num = 746010717; } - throw new TaskException($"Unable to cast {task.GetType()} to {typeof(T)}"); + } + + bool ITaskExecutor.Start(ITask task) + { + //ILSpy generated this explicit interface implementation from .override directive in Start + return this.Start(task); } public abstract ETaskResult Update(); public abstract bool ShouldInterruptOnDamage(); + + static long _200F_202B_202E_202E_206A_202A_202D_202A_202B_202A_200D_206F_206A_202A_206D_202C_206B_200F_206E_200B_200D_206E_202C_202E_202E_200B_202B_200D_202E_206F_206D_206F_202E_200E_202C_202C_202C_200C_206C_206B_202E() + { + return Environment.TickCount64; + } + + static Type _200D_206E_206F_200E_206B_202A_202D_200C_202E_202B_206D_206F_200D_206A_202D_200E_206D_200E_206F_200F_206E_202A_200D_206F_200F_200C_206F_202C_206D_206F_206C_206F_200D_200B_202E_200D_202C_206C_202D_206D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static Type _202D_202E_206C_206C_202A_202B_200F_202D_200F_200C_206F_206B_206B_206D_200C_206F_200E_200E_202B_202C_206A_200E_206B_200F_206D_202B_200C_202D_202B_202E_200F_200F_206E_202E_206C_200B_202E_200D_202C_200F_202E(object P_0) + { + return P_0.GetType(); + } } diff --git a/Questionable/Questionable.Controller.Steps/TaskQueue.cs b/Questionable/Questionable.Controller.Steps/TaskQueue.cs index 5b3a2258..715d6199 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; @@ -18,37 +21,109 @@ internal sealed class TaskQueue { get { - if (CurrentTaskExecutor == null) + int num = ((CurrentTaskExecutor != null) ? (-477523234) : (-477523233)); + while (true) { - return _tasks.Count == 0; + int num2 = num; + int num3 = -477523234; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0048; + case 1: + return _tasks.Count == 0; + case 0: + return false; + } + continue; + IL_0048: + num = -477523233; } - return false; } } + public bool HasLevelingTasks => _levelingTaskCount > 0; + public void Enqueue(ITask task) { _tasks.Add(task); + int num = ((!IsLevelingTask(task)) ? 171339134 : 171339133); + while (true) + { + int num2 = num; + int num3 = 171339135; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return; + case 2: + { + int levelingTaskCount = _levelingTaskCount; + num3 = 1; + num4 = levelingTaskCount; + _levelingTaskCount = (num4 | num3) + (num4 & num3); + num = 171339134; + break; + } + case 0: + num = 171339133; + break; + } + } } public void EnqueueAll(IEnumerable tasks) { _tasks.InsertRange(0, tasks); + _levelingTaskCount = _tasks.Count(IsLevelingTask); } public bool TryDequeue([NotNullWhen(true)] out ITask? task) { task = _tasks.FirstOrDefault(); - if (task == null) + int num = ((task != null) ? (-2044560893) : (-2044560894)); + while (true) { - return false; + int num2 = num; + int num3 = -2044560889; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -2044560894; + break; + case 1: + { + int levelingTaskCount = _levelingTaskCount; + num3 = 1; + num4 = levelingTaskCount; + _levelingTaskCount = ~(~num4 + num3); + num = -2044560895; + break; + } + case 5: + return false; + case 3: + _completedTasks.Add(task); + num = -2044560889; + break; + case 0: + _tasks.RemoveAt(0); + num = ((!IsLevelingTask(task)) ? (-2044560895) : (-2044560890)); + break; + case 4: + num = ((!task.ShouldRedoOnInterrupt()) ? (-2044560889) : (-2044560892)); + break; + case 6: + return true; + } } - if (task.ShouldRedoOnInterrupt()) - { - _completedTasks.Add(task); - } - _tasks.RemoveAt(0); - return true; } public bool TryPeek([NotNullWhen(true)] out ITask? task) @@ -62,6 +137,7 @@ internal sealed class TaskQueue _tasks.Clear(); _completedTasks.Clear(); CurrentTaskExecutor = null; + _levelingTaskCount = 0; } public void InterruptWith(List interruptionTasks) @@ -74,5 +150,37 @@ 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) + { + int num = ((task is Duty.StartLevelingModeTask) ? (-425833563) : (-425833568)); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = -425833564; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + result = true; + num = -425833562; + break; + case 2: + return result; + case 3: + result = false; + num = -425833562; + break; + case 0: + num = -425833568; + break; + case 4: + num = ((!(task is Duty.WaitLevelingModeTask)) ? (-425833561) : (-425833563)); + break; + } + } } } diff --git a/Questionable/Questionable.Controller.Utils/ExpiryUtils.cs b/Questionable/Questionable.Controller.Utils/ExpiryUtils.cs new file mode 100644 index 00000000..37a91fb3 --- /dev/null +++ b/Questionable/Questionable.Controller.Utils/ExpiryUtils.cs @@ -0,0 +1,99 @@ +using System; +using System.Runtime.CompilerServices; + +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; + int num = ((timeOfDay == TimeSpan.Zero) ? (-1551554143) : (-1551554139)); + while (true) + { + int num2 = num; + int num3 = -1551554143; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return expiry.ToUniversalTime(); + case 4: + num = ((!(timeOfDay == EndOfDaySentinel)) ? (-1551554140) : (-1551554143)); + break; + case 5: + num = ((expiry.Kind == DateTimeKind.Utc) ? (-1551554141) : (-1551554144)); + break; + case 2: + return expiry; + case 0: + return AtDailyReset(DateOnly.FromDateTime(expiry)); + case 3: + num = -1551554139; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static string FormatTimeSpan(TimeSpan timeSpan) + { + int num = ((!(timeSpan.TotalMinutes < 1.0)) ? (-1793359174) : (-1793359173)); + while (true) + { + int num2 = num; + int num3 = -1793359176; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 1); + defaultInterpolatedStringHandler.AppendFormatted(timeSpan.Minutes); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(120194306)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + case 3: + return global::_003CModule_003E._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(-610084152); + case 0: + num = ((!(timeSpan.TotalDays < 1.0)) ? (-1793359170) : (-1793359175)); + break; + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(3, 2); + defaultInterpolatedStringHandler3.AppendFormatted(timeSpan.Hours); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-794677548)); + defaultInterpolatedStringHandler3.AppendFormatted(timeSpan.Minutes); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(120194306)); + return defaultInterpolatedStringHandler3.ToStringAndClear(); + } + case 4: + num = -1793359173; + break; + case 6: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(3, 2); + defaultInterpolatedStringHandler2.AppendFormatted((int)timeSpan.TotalDays); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-70794689)); + defaultInterpolatedStringHandler2.AppendFormatted(timeSpan.Hours); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-568294376)); + return defaultInterpolatedStringHandler2.ToStringAndClear(); + } + case 2: + num = ((!(timeSpan.TotalHours < 1.0)) ? (-1793359176) : (-1793359171)); + break; + } + } + } +} diff --git a/Questionable/Questionable.Controller.Utils/PartyWatchDog.cs b/Questionable/Questionable.Controller.Utils/PartyWatchDog.cs index 70a93143..3f8e1843 100644 --- a/Questionable/Questionable.Controller.Utils/PartyWatchDog.cs +++ b/Questionable/Questionable.Controller.Utils/PartyWatchDog.cs @@ -1,10 +1,12 @@ using System; +using System.Runtime.CompilerServices; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using FFXIVClientStructs.FFXIV.Client.Game.Group; using LLib.GameData; using Microsoft.Extensions.Logging; using Questionable.Data; +using Questionable.Model.Questing; namespace Questionable.Controller.Utils; @@ -22,7 +24,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) { @@ -32,134 +34,273 @@ internal sealed class PartyWatchdog : IDisposable _clientState = clientState; _chatGui = chatGui; _logger = logger; - _clientState.TerritoryChanged += TerritoryChanged; + _202E_202B_202C_200E_206F_202C_200D_206C_206A_206D_206D_206B_206C_206C_206B_206E_202D_200C_206B_202A_202C_206B_206C_200E_206E_202E_202D_200D_200D_206B_200C_206E_202A_206D_200C_200B_202D_200E_206D_200C_202E(_clientState, (Action)TerritoryChanged); } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void TerritoryChanged(uint newTerritoryId) { - if (!_configuration.Advanced.DisablePartyWatchdog) + int num = ((!_configuration.Advanced.DisablePartyWatchdog) ? 546819972 : 546819975); + while (true) { - switch ((ETerritoryIntendedUse)GameMain.Instance()->CurrentTerritoryIntendedUseId) + int num2 = num; + int num3 = 546819973; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler; + switch (num5 - (num6 + num6)) { - case ETerritoryIntendedUse.Gaol: - case ETerritoryIntendedUse.Frontline: - case ETerritoryIntendedUse.LordOfVerminion: - case ETerritoryIntendedUse.Diadem: - case ETerritoryIntendedUse.CrystallineConflict: - case ETerritoryIntendedUse.DeepDungeon: - case ETerritoryIntendedUse.TreasureMapDuty: - case ETerritoryIntendedUse.Battlehall: - case ETerritoryIntendedUse.CrystallineConflict2: - case ETerritoryIntendedUse.Diadem2: - case ETerritoryIntendedUse.RivalWings: - case ETerritoryIntendedUse.Eureka: - case ETerritoryIntendedUse.LeapOfFaith: - case ETerritoryIntendedUse.OceanFishing: - case ETerritoryIntendedUse.Diadem3: - case ETerritoryIntendedUse.Bozja: - case ETerritoryIntendedUse.Battlehall2: - case ETerritoryIntendedUse.Battlehall3: - case ETerritoryIntendedUse.LargeScaleRaid: - case ETerritoryIntendedUse.LargeScaleSavageRaid: - case ETerritoryIntendedUse.Blunderville: - StopIfRunning($"Unsupported Area entered ({newTerritoryId})"); + case 5: + return; + case 1: + switch ((ETerritoryIntendedUse)GameMain.Instance()->CurrentTerritoryIntendedUseId) + { + case ETerritoryIntendedUse.MordionGaol: + case ETerritoryIntendedUse.Frontline: + case ETerritoryIntendedUse.LordOfVerminion: + case ETerritoryIntendedUse.ExploratoryMissions: + case ETerritoryIntendedUse.CrystallineConflict: + case ETerritoryIntendedUse.DeepDungeon: + 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.Diadem: + case ETerritoryIntendedUse.Bozja: + case ETerritoryIntendedUse.TripleTriadOpenTournament: + case ETerritoryIntendedUse.TripleTriadInvitationalParlor: + case ETerritoryIntendedUse.DelubrumReginae: + case ETerritoryIntendedUse.DelubrumReginaeSavage: + case ETerritoryIntendedUse.Blunderville: + goto IL_0168; + case ETerritoryIntendedUse.Dungeon: + case ETerritoryIntendedUse.VariantDungeon: + case ETerritoryIntendedUse.AllianceRaid: + case ETerritoryIntendedUse.Trial: + case ETerritoryIntendedUse.Raid1: + case ETerritoryIntendedUse.Raid2: + case ETerritoryIntendedUse.Seasonal: + case ETerritoryIntendedUse.TheCalamityRetold: + case ETerritoryIntendedUse.CriterionDungeon: + case ETerritoryIntendedUse.CriterionDungeonSavage: + goto IL_01aa; + 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.OriginalStepsOfFaith: + case ETerritoryIntendedUse.HallOfTheNovice: + 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.EndwalkerMsqSoloOverworld: + case ETerritoryIntendedUse.Unknown55: + case ETerritoryIntendedUse.Elysion: + return; + } + num = 546819968; break; - case ETerritoryIntendedUse.Dungeon: - case ETerritoryIntendedUse.VariantDungeon: - case ETerritoryIntendedUse.AllianceRaid: - case ETerritoryIntendedUse.Trial: - case ETerritoryIntendedUse.Raid: - 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 3: + goto IL_0168; + case 6: + goto IL_01aa; + case 2: + return; + case 0: + num = 546819975; 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.GoldSaucer: - case (ETerritoryIntendedUse)24: - 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.IslandSanctuary: - case ETerritoryIntendedUse.QuestArea4: - case (ETerritoryIntendedUse)55: - case ETerritoryIntendedUse.TribalInstance: + case 4: + return; + IL_01aa: + _uncheckedTerritoryId = newTerritoryId; + _200E_202E_200F_200B_202B_206B_206D_206B_206F_206B_202B_200E_206E_202D_202B_200E_200B_206A_206F_202E_206C_206D_202B_200F_206A_206D_206C_200F_202A_202B_200E_202B_202A_200F_206A_200D_202C_202C_206B_202E((ILogger)_logger, global::_003CModule_003E._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(-863360954), new object[1] { newTerritoryId }); + num = 546819969; break; + IL_0168: + defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(27, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1856891210)); + defaultInterpolatedStringHandler.AppendFormatted(newTerritoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + StopIfRunning(defaultInterpolatedStringHandler.ToStringAndClear()); + return; } } } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void Update() { - if (_configuration.Advanced.DisablePartyWatchdog || _uncheckedTeritoryId != _clientState.TerritoryType || GameMain.Instance()->TerritoryLoadState != 2) + int num = ((!_configuration.Advanced.DisablePartyWatchdog) ? 783719390 : 783719389); + GroupManager* ptr = default(GroupManager*); + while (true) { - return; - } - GroupManager* ptr = GroupManager.Instance(); - if (ptr == null) - { - return; - } - byte memberCount = ptr->MainGroup.MemberCount; - bool isAlliance = ptr->MainGroup.IsAlliance; - _logger.LogDebug("Territory {TerritoryId} with {MemberCount} members, alliance: {IsInAlliance}", _uncheckedTeritoryId, memberCount, isAlliance); - if (memberCount > 1 || isAlliance) - { - if (!IsDutyConfiguredForParty(_uncheckedTeritoryId.Value)) + int num2 = num; + int num3 = 783719387; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - StopIfRunning("Other party members present"); + case 9: + ptr = GroupManager.Instance(); + num = ((ptr != null) ? 783719391 : 783719387); + break; + case 6: + return; + case 10: + _200E_202E_200F_200B_202B_206B_206D_206B_206F_206B_202B_200E_206E_202D_202B_200E_200B_206A_206F_202E_206C_206D_202B_200F_206A_206D_206C_200F_202A_202B_200E_202B_202A_200F_206A_200D_202C_202C_206B_202E((ILogger)_logger, global::_003CModule_003E._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(-762149952), Array.Empty()); + num = 783719379; + break; + case 0: + return; + case 7: + num = ((GameMain.Instance()->TerritoryLoadState != 2) ? 783719385 : 783719378); + break; + case 1: + StopIfRunning(global::_003CModule_003E._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(1306739522)); + num = 783719379; + break; + case 11: + num = 783719389; + break; + case 3: + num = (IsDutyConfiguredForParty(_uncheckedTerritoryId.Value) ? 783719377 : 783719386); + break; + case 4: + { + byte memberCount = ptr->MainGroup.MemberCount; + bool isAlliance = ptr->MainGroup.IsAlliance; + _200E_202E_200F_200B_202B_206B_206D_206B_206F_206B_202B_200E_206E_202D_202B_200E_200B_206A_206F_202E_206C_206D_202B_200F_206A_206D_206C_200F_202A_202B_200E_202B_202A_200F_206A_200D_202C_202C_206B_202E((ILogger)_logger, global::_003CModule_003E._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(189353374), new object[3] { _uncheckedTerritoryId, memberCount, isAlliance }); + bool num5 = memberCount > 1; + num3 = (isAlliance ? 1 : 0); + num4 = (num5 ? 1 : 0); + num = (((num4 & num3) + (num4 ^ num3) == 0) ? 783719379 : 783719384); + break; } - else - { - _logger.LogInformation("Party detected but duty is configured for Unsync (Party) mode, continuing"); + case 5: + num = ((_uncheckedTerritoryId != _206B_202D_200B_200D_200B_202E_206B_200F_200C_206C_200B_202A_202E_206C_206B_200E_206A_202E_200D_200E_202B_200C_202E_200B_206D_206E_200C_200E_200B_206B_200D_206B_200E_200D_202A_206D_206E_200C_206C_206B_202E(_clientState)) ? 783719385 : 783719388); + break; + case 2: + return; + case 8: + _uncheckedTerritoryId = null; + num = 783719385; + break; } } - _uncheckedTeritoryId = null; } private bool IsDutyConfiguredForParty(uint territoryId) { - if (!_territoryData.TryGetContentFinderConditionIdForTerritory(territoryId, out var cfcId)) + uint cfcId; + int num = (_territoryData.TryGetContentFinderConditionIdForTerritory(territoryId, out cfcId) ? 309783297 : 309783299); + EDutyMode value = default(EDutyMode); + while (true) { - return false; + int num2 = num; + int num3 = 309783298; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return value == EDutyMode.UnsyncParty; + case 3: + num = ((!_configuration.Duties.DutyModeOverrides.TryGetValue(cfcId, out value)) ? 309783296 : 309783302); + break; + case 2: + return _configuration.Duties.DefaultDutyMode == EDutyMode.UnsyncParty; + case 0: + num = 309783299; + break; + case 1: + return false; + } } - if (_configuration.Duties.DutyModeOverrides.TryGetValue(cfcId, out var value)) - { - return value == Configuration.EDutyMode.UnsyncParty; - } - return _configuration.Duties.DefaultDutyMode == Configuration.EDutyMode.UnsyncParty; } + [MethodImpl(MethodImplOptions.NoInlining)] private void StopIfRunning(string reason) { - if (_questController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual) + int num = (_questController.IsRunning ? 1851860853 : 1851860852); + while (true) { - _chatGui.PrintError("Stopping Questionable: " + reason + ". If you believe this to be correct, please restart Questionable manually.", "Questionable", 576); - _questController.Stop(reason); + int num2 = num; + int num3 = 1851860854; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1851860852; + break; + case 2: + num = ((_questController.AutomationType == QuestController.EAutomationType.Manual) ? 1851860855 : 1851860853); + break; + case 3: + _202C_202D_206F_200F_206F_200C_202B_200B_206D_200F_202C_200C_206B_202D_200C_200F_206F_200D_202E_206C_206F_202A_202E_200D_200C_202C_200C_202B_202B_206E_202E_202E_200C_200C_202D_202D_206B_206B_206D_200D_202E(_chatGui, _202E_202A_206C_206D_202C_202A_200B_200E_206B_200C_202A_206E_202B_206A_200D_206B_206D_206F_206F_202A_206C_202E_200D_200F_206E_200D_206B_200D_202C_200E_206F_206C_200D_206C_206B_200B_206C_200B_200E_202A_202E(global::_003CModule_003E._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(523838362), reason, global::_003CModule_003E._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(677123386)), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + _questController.Stop(reason); + num = 1851860855; + break; + case 1: + return; + } } } public void Dispose() { - _clientState.TerritoryChanged -= TerritoryChanged; + _200E_206B_206A_200F_202A_200E_206D_202E_206B_206C_202A_206A_206C_200F_206F_206F_206C_206D_206F_200F_206A_206C_206A_206E_202A_202E_206C_206B_202E_206C_200F_206F_200E_202B_202C_202A_200E_206B_206E_202A_202E(_clientState, (Action)TerritoryChanged); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _202E_202B_202C_200E_206F_202C_200D_206C_206A_206D_206D_206B_206C_206C_206B_206E_202D_200C_206B_202A_202C_206B_206C_200E_206E_202E_202D_200D_200D_206B_200C_206E_202A_206D_200C_200B_202D_200E_206D_200C_202E(IClientState P_0, Action P_1) + { + P_0.TerritoryChanged += P_1; + } + + static void _200E_202E_200F_200B_202B_206B_206D_206B_206F_206B_202B_200E_206E_202D_202B_200E_200B_206A_206F_202E_206C_206D_202B_200F_206A_206D_206C_200F_202A_202B_200E_202B_202A_200F_206A_200D_202C_202C_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static uint _206B_202D_200B_200D_200B_202E_206B_200F_200C_206C_200B_202A_202E_206C_206B_200E_206A_202E_200D_200E_202B_200C_202E_200B_206D_206E_200C_200E_200B_206B_200D_206B_200E_200D_202A_206D_206E_200C_206C_206B_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static string _202E_202A_206C_206D_202C_202A_200B_200E_206B_200C_202A_206E_202B_206A_200D_206B_206D_206F_206F_202A_206C_202E_200D_200F_206E_200D_206B_200D_202C_200E_206F_206C_200D_206C_206B_200B_206C_200B_200E_202A_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _202C_202D_206F_200F_206F_200C_202B_200B_206D_200F_202C_200C_206B_202D_200C_200F_206F_200D_202E_206C_206F_202A_202E_200D_200C_202C_200C_202B_202B_206E_202E_202E_200C_200C_202D_202D_206B_206B_206D_200D_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static void _200E_206B_206A_200F_202A_200E_206D_202E_206B_206C_202A_206A_206C_200F_206F_206F_206C_206D_206F_200F_206A_206C_206A_206E_202A_202E_206C_206B_202E_206C_200F_206F_200E_202B_202C_202A_200E_206B_206E_202A_202E(IClientState P_0, Action P_1) + { + P_0.TerritoryChanged -= P_1; } } diff --git a/Questionable/Questionable.Controller.Utils/QuestWorkUtils.cs b/Questionable/Questionable.Controller.Utils/QuestWorkUtils.cs index 3d1cac9d..5289e1f5 100644 --- a/Questionable/Questionable.Controller.Utils/QuestWorkUtils.cs +++ b/Questionable/Questionable.Controller.Utils/QuestWorkUtils.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; using Microsoft.Extensions.Logging; using Questionable.Model; using Questionable.Model.Questing; @@ -9,90 +10,388 @@ namespace Questionable.Controller.Utils; internal static class QuestWorkUtils { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__1_0; + + public static Func, bool> _003C_003E9__3_0; + + internal bool _003CHasCompletionFlags_003Eb__1_0(QuestWorkValue x) + { + int num = ((x == null) ? (-2001484483) : (-2001484481)); + while (true) + { + int num2 = num; + int num3 = -2001484482; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return _200B_206E_202C_202A_200D_202B_200C_206D_200E_202E_202A_206A_202E_206A_202B_200E_202C_206A_200B_206E_206D_202E_202B_202C_206F_200F_202B_206E_200D_202B_200F_200F_206A_206C_206F_200B_202D_202A_206C_200E_202E(x).HasValue; + case 1: + num = (_202A_200E_206A_206A_200C_206C_206E_202A_206C_202D_206C_202B_202D_202A_200C_206B_202D_206B_200F_206D_206B_200C_202A_206D_200E_202E_200D_206F_202B_202A_200C_206D_202B_206E_206B_202E_202C_206B_202E_206E_202E(x).HasValue ? (-2001484484) : (-2001484482)); + break; + case 3: + return false; + case 2: + return true; + case 4: + num = -2001484481; + break; + } + } + } + + internal bool _003CMatchesRequiredQuestWorkConfig_003Eb__3_0(List x) + { + int num = ((x == null) ? 1977727420 : 1977727423); + while (true) + { + int num2 = num; + int num3 = 1977727421; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return true; + case 2: + return x.Count == 0; + case 0: + goto IL_004f; + } + continue; + IL_004f: + num = 1977727423; + } + } + + static byte? _202A_200E_206A_206A_200C_206C_206E_202A_206C_202D_206C_202B_202D_202A_200C_206B_202D_206B_200F_206D_206B_200C_202A_206D_200E_202E_200D_206F_202B_202A_200C_206D_202B_206E_206B_202E_202C_206B_202E_206E_202E(QuestWorkValue P_0) + { + return P_0.High; + } + + static byte? _200B_206E_202C_202A_200D_202B_200C_206D_200E_202E_202A_206A_202E_206A_202B_200E_202C_206A_200B_206E_206D_202E_202B_202C_206F_200F_202B_206E_200D_202B_200F_200F_206A_206C_206F_200B_202D_202A_206C_200E_202E(QuestWorkValue P_0) + { + return P_0.Low; + } + } + + private const int QuestVariableCount = 6; + public static bool HasCompletionFlags(IList completionQuestVariablesFlags) { - if (completionQuestVariablesFlags.Count == 6) + int num = ((completionQuestVariablesFlags.Count != 6) ? (-1740438187) : (-1740438186)); + while (true) { - return completionQuestVariablesFlags.Any((QuestWorkValue x) => x != null && (x.High != 0 || x.Low != 0)); + int num2 = num; + int num3 = -1740438188; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 2: + return completionQuestVariablesFlags.Any(delegate(QuestWorkValue x) + { + int num5 = ((x == null) ? (-2001484483) : (-2001484481)); + while (true) + { + int num6 = num5; + int num7 = -2001484482; + int num8 = num6; + switch ((num8 | num7) - (num8 & num7)) + { + case 0: + return _003C_003Ec._200B_206E_202C_202A_200D_202B_200C_206D_200E_202E_202A_206A_202E_206A_202B_200E_202C_206A_200B_206E_206D_202E_202B_202C_206F_200F_202B_206E_200D_202B_200F_200F_206A_206C_206F_200B_202D_202A_206C_200E_202E(x).HasValue; + case 1: + num5 = (_003C_003Ec._202A_200E_206A_206A_200C_206C_206E_202A_206C_202D_206C_202B_202D_202A_200C_206B_202D_206B_200F_206D_206B_200C_202A_206D_200E_202E_200D_206F_202B_202A_200C_206D_202B_206E_206B_202E_202C_206B_202E_206E_202E(x).HasValue ? (-2001484484) : (-2001484482)); + break; + case 3: + return false; + case 2: + return true; + case 4: + num5 = -2001484481; + break; + } + } + }); + case 0: + goto IL_0072; + } + continue; + IL_0072: + num = -1740438186; } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] public static bool MatchesQuestWork(IList completionQuestVariablesFlags, QuestProgressInfo questProgressInfo) { - if (!HasCompletionFlags(completionQuestVariablesFlags) || questProgressInfo.Variables.Count != 6) + int num = ((!HasCompletionFlags(completionQuestVariablesFlags)) ? 1262230234 : 1262230237); + QuestWorkValue questWorkValue = default(QuestWorkValue); + byte b = default(byte); + int num7 = default(int); + EQuestWorkMode eQuestWorkMode = default(EQuestWorkMode); + byte b2 = default(byte); + while (true) { - return false; - } - for (int i = 0; i < questProgressInfo.Variables.Count; i++) - { - QuestWorkValue questWorkValue = completionQuestVariablesFlags[i]; - if (questWorkValue == null) + int num2 = num; + int num3 = 1262230216; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - continue; + case 5: + num = ((!_206B_202C_206F_200D_202B_202E_202C_206D_200F_206F_206A_206F_202C_206F_200D_200C_200E_200B_200B_200C_202A_206B_206C_206B_200E_202D_200B_206F_202B_200F_206C_206B_206C_200D_206A_202C_202C_202D_202C_202D_202E(questWorkValue).HasValue) ? 1262230236 : 1262230215); + break; + case 2: + num = ((!_202C_202C_206F_200F_202D_200B_206B_202A_200F_200E_206D_206F_206F_206A_206F_202A_202A_206C_202B_202D_206E_200D_206D_202D_200C_206E_200C_200D_206F_206B_206A_202E_200B_206C_206A_202A_206D_202D_202C_200D_202E(questWorkValue).HasValue) ? 1262230223 : 1262230213); + break; + case 14: + num = ((b == _206B_202C_206F_200D_202B_202E_202C_206D_200F_206F_206A_206F_202C_206F_200D_200C_200E_200B_200B_200C_202A_206B_206C_206B_200E_202D_200B_206F_202B_200F_206C_206B_206C_200D_206A_202C_202C_202D_202C_202D_202E(questWorkValue).Value) ? 1262230218 : 1262230220); + break; + case 1: + num = ((!_206B_202C_206F_200D_202B_202E_202C_206D_200F_206F_206A_206F_202C_206F_200D_200C_200E_200B_200B_200C_202A_206B_206C_206B_200E_202D_200B_206F_202B_200F_206C_206B_206C_200D_206A_202C_202C_202D_202C_202D_202E(questWorkValue).HasValue) ? 1262230218 : 1262230214); + break; + case 19: + questWorkValue = completionQuestVariablesFlags[num7]; + num = ((questWorkValue == null) ? 1262230223 : 1262230212); + break; + case 21: + num = ((questProgressInfo.Variables.Count == 6) ? 1262230222 : 1262230234); + break; + case 11: + num = ((eQuestWorkMode != EQuestWorkMode.Bitwise) ? 1262230233 : 1262230221); + break; + case 13: + num = ((b2 == _202C_202C_206F_200F_202D_200B_206B_202A_200F_200E_206D_206F_206F_206A_206F_202A_202A_206C_202B_202D_206E_200D_206D_202D_200C_206E_200C_200D_206F_206B_206A_202E_200B_206C_206A_202A_206D_202D_202C_200D_202E(questWorkValue).Value) ? 1262230223 : 1262230208); + break; + case 20: + num = ((!_202C_202C_206F_200F_202D_200B_206B_202A_200F_200E_206D_206F_206F_206A_206F_202A_202A_206C_202B_202D_206E_200D_206D_202D_200C_206E_200C_200D_206F_206B_206A_202E_200B_206C_206A_202A_206D_202D_202C_200D_202E(questWorkValue).HasValue) ? 1262230223 : 1262230216); + break; + case 0: + num = (((b2 & _202C_202C_206F_200F_202D_200B_206B_202A_200F_200E_206D_206F_206F_206A_206F_202A_202A_206C_202B_202D_206E_200D_206D_202D_200C_206E_200C_200D_206F_206B_206A_202E_200B_206C_206A_202A_206D_202D_202C_200D_202E(questWorkValue).Value) == _202C_202C_206F_200F_202D_200B_206B_202A_200F_200E_206D_206F_206F_206A_206F_202A_202A_206C_202B_202D_206E_200D_206D_202D_200C_206E_200C_200D_206F_206B_206A_202E_200B_206C_206A_202A_206D_202D_202C_200D_202E(questWorkValue).Value) ? 1262230223 : 1262230209); + break; + case 16: + return true; + case 22: + return false; + case 15: + num = (((b & _206B_202C_206F_200D_202B_202E_202C_206D_200F_206F_206A_206F_202C_206F_200D_200C_200E_200B_200B_200C_202A_206B_206C_206B_200E_202D_200B_206F_202B_200F_206C_206B_206C_200D_206A_202C_202C_202D_202C_202D_202E(questWorkValue).Value) == _206B_202C_206F_200D_202B_202E_202C_206D_200F_206F_206A_206F_202C_206F_200D_200C_200E_200B_200B_200C_202A_206B_206C_206B_200E_202D_200B_206F_202B_200F_206C_206B_206C_200D_206A_202C_202C_202D_202C_202D_202E(questWorkValue).Value) ? 1262230236 : 1262230238); + break; + case 10: + num = 1262230237; + break; + case 8: + return false; + case 17: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(16, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1223834109)); + defaultInterpolatedStringHandler.AppendFormatted(eQuestWorkMode); + throw _202D_200F_200C_200B_202B_202D_200E_200F_206D_206B_200E_206C_202A_200C_206E_200D_202B_202A_206C_202B_202B_202A_202B_202B_202A_202A_200E_202C_200D_206A_202C_202B_206F_200C_200F_206C_200D_206D_206D_202E(defaultInterpolatedStringHandler.ToStringAndClear()); } - 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 9: + return false; + case 6: + num7 = 0; + num = 1262230219; + break; + case 4: + return false; + case 7: { - case EQuestWorkMode.Exact: - if (high.HasValue && b != valueOrDefault) - { - return false; - } - if (low.HasValue && b2 != valueOrDefault2) - { - return false; - } + int num8 = num7; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num7 = num9 + (num10 + num10); + num = 1262230219; break; - case EQuestWorkMode.Bitwise: - if (high.HasValue && (b & high) != valueOrDefault) - { - return false; - } - if (low.HasValue && (b2 & low) != valueOrDefault2) - { - return false; - } + } + case 18: + return false; + case 3: + num = ((num7 < questProgressInfo.Variables.Count) ? 1262230235 : 1262230232); + break; + case 12: + eQuestWorkMode = _202D_206B_200E_206D_200D_206A_206C_200D_206C_202C_202A_202A_200B_200B_206D_202D_206A_202E_200D_206F_206D_202C_206B_200B_200B_202E_202D_200E_206D_202B_202D_202D_202B_206A_200E_200B_202E_200E_200C_206D_202E(questWorkValue); + b = (byte)(questProgressInfo.Variables[num7] >> 4); + b2 = (byte)(questProgressInfo.Variables[num7] & 0xF); + num = ((eQuestWorkMode != EQuestWorkMode.Exact) ? 1262230211 : 1262230217); break; - default: - throw new InvalidOperationException($"Unknown qw mode {mode}"); } } - return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public static bool MatchesRequiredQuestWorkConfig(List?> requiredQuestVariables, QuestProgressInfo questWork, ILogger logger) { - if (requiredQuestVariables.Count != 6 || requiredQuestVariables.All((List x) => x == null || x.Count == 0)) + int num = ((requiredQuestVariables.Count != 6) ? 1755614910 : 1755614911); + byte? b3 = default(byte?); + QuestWorkValue current = default(QuestWorkValue); + while (true) { - logger.LogDebug("No RequiredQW defined"); - return true; - } - for (int num = 0; num < 6; num++) - { - if (requiredQuestVariables[num] == null) + int num2 = num; + int num3 = 1755614908; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - logger.LogDebug("No RequiredQW {Index} defined", num); - continue; - } - byte b = (byte)(questWork.Variables[num] >> 4); - byte b2 = (byte)(questWork.Variables[num] & 0xF); - foreach (QuestWorkValue item in requiredQuestVariables[num]) - { - logger.LogDebug("H: {ExpectedHigh} - {ActualHigh}, L: {ExpectedLow} - {ActualLow}", item.High, b, item.Low, b2); - if ((!item.High.HasValue || item.High == b) && (!item.Low.HasValue || item.Low == b2)) + case 0: + num = 1755614911; + break; + case 2: + _200C_206F_200F_202A_200B_206E_200D_206C_202D_200D_206F_200B_206E_202A_202A_206B_200D_202B_202B_200E_202B_206A_200C_202A_206E_200E_206F_200D_206E_200C_200F_202D_200F_206C_202D_202E_200C_200E_202A_200D_202E(logger, global::_003CModule_003E._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(-2029288838), Array.Empty()); + return true; + case 3: + num = ((!requiredQuestVariables.All(delegate(List x) { - return true; + int num8 = ((x == null) ? 1977727420 : 1977727423); + while (true) + { + int num9 = num8; + int num10 = 1977727421; + int num11 = num9; + int num12 = num11 + num10; + int num13 = num11 & num10; + switch (num12 - (num13 + num13)) + { + case 1: + return true; + case 2: + return x.Count == 0; + case 0: + goto IL_004f; + } + continue; + IL_004f: + num8 = 1977727423; + } + })) ? 1755614909 : 1755614910); + break; + case 1: + { + for (int num5 = 0; num5 < 6; num5 = (num4 | num3) + (num4 & num3)) + { + if (requiredQuestVariables[num5] == null) + { + _200C_206F_200F_202A_200B_206E_200D_206C_202D_200D_206F_200B_206E_202A_202A_206B_200D_202B_202B_200E_202B_206A_200C_202A_206E_200E_206F_200D_206E_200C_200F_202D_200F_206C_202D_202E_200C_200E_202A_200D_202E(logger, global::_003CModule_003E._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(717523866), new object[1] { num5 }); + } + else + { + byte b = (byte)(questWork.Variables[num5] >> 4); + byte b2 = (byte)(questWork.Variables[num5] & 0xF); + using List.Enumerator enumerator = requiredQuestVariables[num5].GetEnumerator(); + num = 1830015771; + while (true) + { + int num6 = num; + num3 = 1830015762; + num4 = num6; + int? obj2; + int? obj; + switch ((num4 | num3) - (num4 & num3)) + { + case 11: + b3 = _206B_202C_206F_200D_202B_202E_202C_206D_200F_206F_206A_206F_202C_206F_200D_200C_200E_200B_200B_200C_202A_206B_206C_206B_200E_202D_200B_206F_202B_200F_206C_206B_206C_200D_206A_202C_202C_202D_202C_202D_202E(current); + num = (b3.HasValue ? 1830015766 : 1830015765); + break; + case 4: + obj2 = b3.GetValueOrDefault(); + goto IL_01b6; + case 0: + num = 1830015771; + break; + case 9: + num = (enumerator.MoveNext() ? 1830015760 : 1830015761); + break; + case 5: + obj = null; + goto IL_0306; + case 2: + current = enumerator.Current; + _200C_206F_200F_202A_200B_206E_200D_206C_202D_200D_206F_200B_206E_202A_202A_206B_200D_202B_202B_200E_202B_206A_200C_202A_206E_200E_206F_200D_206E_200C_200F_202D_200F_206C_202D_202E_200C_200E_202A_200D_202E(logger, global::_003CModule_003E._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(-826756493), new object[4] + { + _206B_202C_206F_200D_202B_202E_202C_206D_200F_206F_206A_206F_202C_206F_200D_200C_200E_200B_200B_200C_202A_206B_206C_206B_200E_202D_200B_206F_202B_200F_206C_206B_206C_200D_206A_202C_202C_202D_202C_202D_202E(current), + b, + _202C_202C_206F_200F_202D_200B_206B_202A_200F_200E_206D_206F_206F_206A_206F_202A_202A_206C_202B_202D_206E_200D_206D_202D_200C_206E_200C_200D_206F_206B_206A_202E_200B_206C_206A_202A_206D_202D_202C_200D_202E(current), + b2 + }); + b3 = _206B_202C_206F_200D_202B_202E_202C_206D_200F_206F_206A_206F_202C_206F_200D_200C_200E_200B_200B_200C_202A_206B_206C_206B_200E_202D_200B_206F_202B_200F_206C_206B_206C_200D_206A_202C_202C_202D_202C_202D_202E(current); + num = ((!b3.HasValue) ? 1830015763 : 1830015769); + break; + case 8: + b3 = _202C_202C_206F_200F_202D_200B_206B_202A_200F_200E_206D_206F_206F_206A_206F_202A_202A_206C_202B_202D_206E_200D_206D_202D_200C_206E_200C_200D_206F_206B_206A_202E_200B_206C_206A_202A_206D_202D_202C_200D_202E(current); + num = (b3.HasValue ? 1830015768 : 1830015767); + break; + case 7: + obj2 = null; + goto IL_01b6; + case 10: + obj = b3.GetValueOrDefault(); + goto IL_0306; + case 1: + b3 = _202C_202C_206F_200F_202D_200B_206B_202A_200F_200E_206D_206F_206F_206A_206F_202A_202A_206C_202B_202D_206E_200D_206D_202D_200C_206E_200C_200D_206F_206B_206A_202E_200B_206C_206A_202A_206D_202D_202C_200D_202E(current); + num = ((!b3.HasValue) ? 1830015764 : 1830015770); + break; + case 6: + return true; + case 3: + goto end_IL_012d; + IL_0306: + num = ((obj != b2) ? 1830015771 : 1830015764); + break; + IL_01b6: + num = ((obj2 != b) ? 1830015771 : 1830015763); + break; + } + continue; + end_IL_012d: + break; + } + } + int num7 = num5; + num3 = 1; + num4 = num7; } + _200C_206F_200F_202A_200B_206E_200D_206C_202D_200D_206F_200B_206E_202A_202A_206B_200D_202B_202B_200E_202B_206A_200C_202A_206E_200E_206F_200D_206E_200C_200F_202D_200F_206C_202D_202E_200C_200E_202A_200D_202E(logger, global::_003CModule_003E._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(1053671033), Array.Empty()); + return false; + } } } - logger.LogInformation("Should execute step"); - return false; + } + + static EQuestWorkMode _202D_206B_200E_206D_200D_206A_206C_200D_206C_202C_202A_202A_200B_200B_206D_202D_206A_202E_200D_206F_206D_202C_206B_200B_200B_202E_202D_200E_206D_202B_202D_202D_202B_206A_200E_200B_202E_200E_200C_206D_202E(QuestWorkValue P_0) + { + return P_0.Mode; + } + + static byte? _206B_202C_206F_200D_202B_202E_202C_206D_200F_206F_206A_206F_202C_206F_200D_200C_200E_200B_200B_200C_202A_206B_206C_206B_200E_202D_200B_206F_202B_200F_206C_206B_206C_200D_206A_202C_202C_202D_202C_202D_202E(QuestWorkValue P_0) + { + return P_0.High; + } + + static byte? _202C_202C_206F_200F_202D_200B_206B_202A_200F_200E_206D_206F_206F_206A_206F_202A_202A_206C_202B_202D_206E_200D_206D_202D_200C_206E_200C_200D_206F_206B_206A_202E_200B_206C_206A_202A_206D_202D_202C_200D_202E(QuestWorkValue P_0) + { + return P_0.Low; + } + + static InvalidOperationException _202D_200F_200C_200B_202B_202D_200E_200F_206D_206B_200E_206C_202A_200C_206E_200D_202B_202A_206C_202B_202B_202A_202B_202B_202A_202A_200E_202C_200D_206A_202C_202B_206F_200C_200F_206C_200D_206D_206D_202E(string P_0) + { + return new InvalidOperationException(P_0); + } + + static void _200C_206F_200F_202A_200B_206E_200D_206C_202D_200D_206F_200B_206E_202A_202A_206B_200D_202B_202B_200E_202B_206A_200C_202A_206E_200E_206F_200D_206E_200C_200F_202D_200F_206C_202D_202E_200C_200E_202A_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); } } diff --git a/Questionable/Questionable.Controller/AttunementController.cs b/Questionable/Questionable.Controller/AttunementController.cs new file mode 100644 index 00000000..e124f6f5 --- /dev/null +++ b/Questionable/Questionable.Controller/AttunementController.cs @@ -0,0 +1,183 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Start(string targetName, IEnumerable tasks) + { + _currentTargetName = targetName; + _202C_200F_206C_200F_206C_206F_206E_206E_206B_202D_202D_200C_202B_202D_202D_206A_200E_206D_206E_200F_206E_206D_200C_206C_206B_206B_206A_200E_200C_206F_206C_202B_200E_206B_202A_206D_202A_206A_202E_206F_202E((ILogger)_logger, global::_003CModule_003E._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(447934629), new object[1] { targetName }); + IEnumerator enumerator = tasks.GetEnumerator(); + try + { + int num = -1031196198; + while (true) + { + int num2 = num; + int num3 = -1031196198; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1031196198; + break; + case 0: + num = (_200E_200D_200B_200C_206C_206E_206C_206F_202E_200C_202D_202A_206E_200F_200D_200B_202D_200D_206C_202D_206E_202E_200F_206A_206E_206A_202B_206A_206B_200C_206F_206E_206C_200B_202A_206F_206C_202D_200E_206F_202E((IEnumerator)enumerator) ? (-1031196197) : (-1031196199)); + break; + case 1: + { + ITask current = enumerator.Current; + _taskQueue.Enqueue(current); + num = -1031196198; + break; + } + case 3: + return; + } + } + } + finally + { + int num = ((enumerator == null) ? (-1448008366) : (-1448008367)); + while (true) + { + int num5 = num; + int num3 = -1448008365; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 1: + goto end_IL_00cf; + case 2: + _202B_200D_206D_200C_200D_200D_206A_200E_202D_202C_206B_202E_206F_200F_206A_202C_202E_206A_202A_202C_206F_200B_206F_202B_200F_200E_202C_206A_200B_200B_206C_206F_200C_200D_206A_206A_200D_200E_206A_200D_202E((IDisposable)enumerator); + num = -1448008366; + break; + case 0: + num = -1448008367; + break; + } + continue; + end_IL_00cf: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Update() + { + int num = ((_currentTargetName != null) ? (-1300283249) : (-1300283261)); + while (true) + { + int num2 = num; + int num3 = -1300283257; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = ((!_movementController.IsPathRunning) ? (-1300283264) : (-1300283260)); + break; + case 1: + _202C_200F_206C_200F_206C_206F_206E_206E_206B_202D_202D_200C_202B_202D_202D_206A_200E_206D_206E_200F_206E_206D_200C_206C_206B_206B_206A_200E_200C_206F_206C_202B_200E_206B_202A_206D_202A_206A_202E_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1369637439), new object[1] { _currentTargetName }); + Stop(global::_003CModule_003E._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(88017175)); + return; + case 5: + return; + case 3: + return; + case 8: + num = (_movementController.IsPathfinding ? (-1300283260) : (-1300283259)); + break; + case 4: + return; + case 9: + num = -1300283261; + break; + case 0: + num = ((!_taskQueue.AllTasksComplete) ? (-1300283263) : (-1300283258)); + break; + case 6: + UpdateCurrentTask(); + return; + case 7: + num = ((!_gameFunctions.IsOccupied()) ? (-1300283257) : (-1300283262)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override void Stop(string label) + { + base.Stop(label); + int num = ((_currentTargetName == null) ? (-931001069) : (-931001072)); + while (true) + { + int num2 = num; + int num3 = -931001071; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return; + case 1: + CompletedSuccessfully = _taskQueue.AllTasksComplete; + _202C_200F_206C_200F_206C_206F_206E_206E_206B_202D_202D_200C_202B_202D_202D_206A_200E_206D_206E_200F_206E_206D_200C_206C_206B_206B_206A_200E_200C_206F_206C_202B_200E_206B_202A_206D_202A_206A_202E_206F_202E((ILogger)_logger, global::_003CModule_003E._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(745396372), new object[1] { label }); + _currentTargetName = null; + _taskQueue.Reset(); + num = -931001069; + break; + case 0: + num = -931001072; + break; + } + } + } + + static void _202C_200F_206C_200F_206C_206F_206E_206E_206B_202D_202D_200C_202B_202D_202D_206A_200E_206D_206E_200F_206E_206D_200C_206C_206B_206B_206A_200E_200C_206F_206C_202B_200E_206B_202A_206D_202A_206A_202E_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static bool _200E_200D_200B_200C_206C_206E_206C_206F_202E_200C_202D_202A_206E_200F_200D_200B_202D_200D_206C_202D_206E_202E_200F_206A_206E_206A_202B_206A_206B_200C_206F_206E_206C_200B_202A_206F_206C_202D_200E_206F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202B_200D_206D_200C_200D_200D_206A_200E_202D_202C_206B_202E_206F_200F_206A_202C_202E_206A_202A_202C_206F_200B_206F_202B_200F_200E_202C_206A_200B_200B_206C_206F_200C_200D_206A_206A_200D_200E_206A_200D_202E(IDisposable P_0) + { + P_0.Dispose(); + } +} diff --git a/Questionable/Questionable.Controller/CombatController.cs b/Questionable/Questionable.Controller/CombatController.cs index 91f3f607..bac30cba 100644 --- a/Questionable/Questionable.Controller/CombatController.cs +++ b/Questionable/Questionable.Controller/CombatController.cs @@ -1,21 +1,28 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Linq; using System.Numerics; +using System.Reflection; +using System.Runtime.CompilerServices; 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; +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 +37,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 +75,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,497 +97,1845 @@ 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) + [MethodImpl(MethodImplOptions.NoInlining)] + 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; + _200C_206B_206A_200E_200C_200C_202D_200C_202D_200F_200B_202E_202C_200B_200B_202D_200B_202C_200D_206A_202C_206C_206B_202D_206D_202B_200F_206C_202A_200D_202E_202D_206B_200F_206E_206B_202C_202C_206E_206B_202E(_clientState, (Action)TerritoryChanged); + _200B_206F_202C_206C_200D_200D_202A_206B_202D_200D_206C_206D_202C_206B_202C_206E_200F_202C_202B_200C_200B_206D_200F_200B_206B_200F_202A_202A_200C_206F_206D_206D_202B_206F_202C_206D_206B_200E_206C_202E_202E(toastGui, (IToastGui.OnErrorToastDelegate)OnErrorToast); + try + { + _cannotSeeTargetText = dataManager.GetExcelSheet()?.GetRowOrDefault(562u)?.Text.ExtractText(); + } + catch (Exception ex) + { + _206B_202A_206B_200B_206A_202A_206C_200C_200F_206C_206B_202C_206E_202B_200E_200B_206C_200D_200E_202C_206C_206A_202D_206F_202E_202D_202E_206B_202E_202A_206E_202B_200B_202B_202D_200C_202D_202D_200D_202B_202E((ILogger)_logger, ex, global::_003CModule_003E._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(1180856396), Array.Empty()); + _cannotSeeTargetText = null; + } } + [MethodImpl(MethodImplOptions.NoInlining)] public bool Start(CombatData combatData) { - Stop("Starting combat"); + Stop(global::_003CModule_003E._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(-348007694)); ICombatModule combatModule = _combatModules.FirstOrDefault((ICombatModule x) => x.CanHandleFight(combatData)); - if (combatModule == null) + int num = ((combatModule != null) ? 1913469931 : 1913469923); + ItemUseModule itemUseModule = default(ItemUseModule); + bool wasInCombat = default(bool); + while (true) { - return false; - } - if (combatModule.Start(combatData)) - { - _currentFight = new CurrentFight + int num2 = num; + int num3 = 1913469931; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - Module = combatModule, - Data = combatData, - LastDistanceCheck = DateTime.Now - }; - EEnemySpawnType spawnType = combatData.SpawnType; - bool wasInCombat = (uint)(spawnType - 8) <= 1u; - _wasInCombat = wasInCombat; - UpdateLastTargetAndQuestVariables(null); - return true; + case 2: + return false; + case 4: + _bossModIpc.EnableAi(BossModIpc.EPreset.Passive); + _passiveBossModEnabled = true; + num = 1913469921; + break; + case 6: + num = 1913469923; + break; + case 0: + num = (combatModule.Start(combatData) ? 1913469928 : 1913469929); + break; + case 14: + if (!(itemUseModule.Delegate is BossModModule)) + { + goto case 15; + } + goto case 13; + case 3: + { + _currentFight = new CurrentFight + { + Module = combatModule, + Data = combatData, + LastDistanceCheck = _200D_206B_206D_206C_200C_206F_200E_200C_202D_202A_200D_202D_202D_200B_206F_200C_202D_206B_202C_206B_200B_200B_200C_206A_202A_200D_206F_202E_200B_200F_200F_200C_200E_200F_200C_200F_200D_202D_202B_206F_202E() + }; + EEnemySpawnType spawnType = combatData.SpawnType; + num = (((uint)(spawnType - 8) > 1u) ? 1913469932 : 1913469930); + break; + } + case 12: + _wasInCombat = wasInCombat; + UpdateLastTargetAndQuestVariables(null); + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1561736538), new object[4] + { + _206D_206D_206A_206E_202A_206B_206E_202E_200E_206B_200C_206C_202A_200B_202B_202C_200E_202A_200D_206B_200B_202A_202A_206A_200B_200E_200D_206B_200F_202E_202C_200B_206E_206B_200E_202B_200E_200F_206A_206F_202E((MemberInfo)_202D_206B_206A_202A_200D_206C_206A_206D_200F_200B_202D_206A_200F_200B_200D_200D_206F_202E_200B_206A_206D_202D_200D_206A_200D_206E_200F_206D_202A_200F_202E_206C_202B_202E_206B_202C_206E_206F_206D_206E_202E((object)combatModule)), + combatData.SpawnType, + _bossModIpc.Variant, + _bossModIpc.IsSupported() + }); + num = ((combatModule is BossModModule) ? 1913469926 : 1913469920); + break; + case 7: + wasInCombat = false; + num = 1913469927; + break; + case 1: + wasInCombat = true; + num = 1913469927; + break; + case 11: + itemUseModule = combatModule as ItemUseModule; + num = ((itemUseModule == null) ? 1913469924 : 1913469925); + break; + case 15: + num = 1913469922; + break; + case 13: + num = 1913469921; + break; + case 10: + return true; + case 9: + num = ((!_bossModIpc.IsSupported()) ? 1913469921 : 1913469934); + break; + case 8: + return false; + case 5: + num = ((combatData.SpawnType == EEnemySpawnType.QuestInterruption) ? 1913469921 : 1913469935); + break; + } } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] public EStatus Update() { - if (_currentFight == null) + //Discarded unreachable code: IL_04dc + int num = ((_currentFight != null) ? (-1239032390) : (-1239032400)); + QuestProgressInfo questProgressInfo = default(QuestProgressInfo); + IGameObject gameObject3 = default(IGameObject); + ElementId elementId = default(ElementId); + IGameObject gameObject2 = default(IGameObject); + IGameObject gameObject = default(IGameObject); + int item = default(int); + int num6 = default(int); + while (true) { - return EStatus.Complete; - } - if (_movementController.IsPathfinding || _movementController.IsPathRunning || _movementController.MovementStartedAt > DateTime.Now.AddSeconds(-1.0)) - { - return EStatus.Moving; - } - if (_currentFight.Data.SpawnType == EEnemySpawnType.OverworldEnemies) - { - if (_targetManager.Target != null) + int num2 = num; + int num3 = -1239032412; + int num4 = num2; + int num5; + object obj; + switch ((num4 | num3) - (num4 & num3)) { - _lastTargetId = _targetManager.Target?.GameObjectId; - } - else if (_lastTargetId.HasValue) + case 4: + num = (_movementController.HasBeenMovingForAtLeast(1000) ? (-1239032415) : (-1239032399)); + break; + case 14: + num = ((questProgressInfo.Sequence != _currentFight.Data.Sequence) ? (-1239032393) : (-1239032394)); + break; + case 0: + TrackKillIfNeeded(gameObject3); + elementId = _currentFight.Data.ElementId; + num = (_202E_206B_200F_202A_200E_206E_206F_206E_206F_200D_202E_206E_206B_200B_202E_206B_200C_206C_200E_206D_200D_200D_202D_206F_206D_206F_202C_200E_206B_202D_202B_200C_202E_200D_206C_202A_200B_200C_202B_206D_202E(elementId, (ElementId)null) ? (-1239032398) : (-1239032387)); + break; + case 16: + gameObject3 = _objectTable.FirstOrDefault((IGameObject x) => _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(x) == _lastTargetId); + num = ((gameObject3 == null) ? (-1239032388) : (-1239032386)); + break; + case 17: + _lastTargetId = _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(_202B_202A_206E_200C_206F_202D_206D_206C_202D_200B_200E_206D_206C_206E_202D_206D_206D_202C_206D_202B_206C_200B_206E_202D_202C_206B_202A_202D_206E_200B_202B_206A_200D_206C_200F_200F_206D_206B_200E_200E_202E(_targetManager)); + num = -1239032403; + break; + case 10: + num5 = GetKillPriority(gameObject2).Priority; + goto IL_01c9; + case 22: + obj = _questFunctions.GetQuestProgressInfo(elementId); + goto IL_01ea; + case 19: + num = ((questProgressInfo == null) ? (-1239032389) : (-1239032404)); + break; + case 1: + num = ((_previousQuestVariables == null) ? (-1239032389) : (-1239032408)); + break; + case 18: + num = ((!QuestWorkUtils.HasCompletionFlags(_currentFight.Data.CompletionQuestVariablesFlags)) ? (-1239032393) : (-1239032407)); + break; + case 8: + num = ((questProgressInfo.Sequence != _currentFight.Data.Sequence) ? (-1239032389) : (-1239032411)); + break; + case 2: + num = ((_202B_202A_206E_200C_206F_202D_206D_206C_202D_200B_200E_206D_206C_206E_202D_206D_206D_202C_206D_202B_206C_200B_206E_202D_202C_206B_202A_202D_206E_200B_202B_206A_200D_206C_200F_200F_206D_206B_200E_200E_202E(_targetManager) == null) ? (-1239032397) : (-1239032395)); + break; + case 6: + if (!IsMovingOrShouldMove(gameObject)) + { + goto case 24; + } + goto IL_05c8; + case 24: + _lastTargetId = null; + num = -1239032403; + break; + case 26: + num = ((!_206C_202D_206B_206B_200B_200C_206C_202E_200D_206B_200E_206F_206B_206A_202C_206D_206E_206F_202B_202E_202D_200E_200E_202B_202E_206A_200F_200E_206C_202E_206E_206A_202B_202B_202A_206D_206B_206E_202A_200C_202E(gameObject3)) ? (-1239032403) : (-1239032412)); + break; + case 12: + num = (questProgressInfo.Variables.SequenceEqual(_previousQuestVariables) ? (-1239032389) : (-1239032392)); + break; + case 28: + UpdateLastTargetAndQuestVariables(null); + num = -1239032403; + break; + case 9: { - IGameObject gameObject = _objectTable.FirstOrDefault((IGameObject x) => x.GameObjectId == _lastTargetId); + gameObject = _202B_202A_206E_200C_206F_202D_206D_206C_202D_200B_200E_206D_206C_206E_202D_206D_206D_202C_206D_202B_206C_200B_206E_202D_202C_206B_202A_202D_206E_200B_202B_206A_200D_206C_200F_200F_206D_206B_200E_200E_202E(_targetManager); if (gameObject != null) { - if (gameObject.IsDead) - { - TrackKillIfNeeded(gameObject); - ElementId elementId = _currentFight.Data.ElementId; - QuestProgressInfo questProgressInfo = ((elementId != null) ? _questFunctions.GetQuestProgressInfo(elementId) : null); - if (questProgressInfo != null && questProgressInfo.Sequence == _currentFight.Data.Sequence && QuestWorkUtils.HasCompletionFlags(_currentFight.Data.CompletionQuestVariablesFlags) && QuestWorkUtils.MatchesQuestWork(_currentFight.Data.CompletionQuestVariablesFlags, questProgressInfo)) - { - return EStatus.InCombat; - } - if (questProgressInfo == null || questProgressInfo.Sequence != _currentFight.Data.Sequence || _previousQuestVariables == null || questProgressInfo.Variables.SequenceEqual(_previousQuestVariables)) - { - return EStatus.InCombat; - } - UpdateLastTargetAndQuestVariables(null); - } + num = -1239032385; + break; } - else + IGameObject gameObject4 = FindNextTarget(); + if (gameObject4 != null && !_206C_202D_206B_206B_200B_200C_206C_202E_200D_206B_200E_206F_206B_206A_202C_206D_206E_206F_202B_202E_202D_200E_200E_202B_202E_206A_200F_200E_206C_202E_206E_206A_202B_202B_202A_206D_206B_206E_202A_200C_202E(gameObject4)) { - _lastTargetId = null; + SetTarget(gameObject4); + num = 1009368120; + goto IL_0524; } + goto IL_05c8; } - } - IGameObject target = _targetManager.Target; - if (target != null) - { - int item = GetKillPriority(target).Priority; - IGameObject gameObject2 = FindNextTarget(); - int num = ((gameObject2 != null) ? GetKillPriority(gameObject2).Priority : 0); - if (gameObject2 != null && gameObject2.Equals(target)) - { - if (!IsMovingOrShouldMove(target)) + case 11: + num = (_movementController.IsPathRunning ? (-1239032399) : (-1239032416)); + break; + case 5: + num = ((_currentFight.Data.SpawnType != EEnemySpawnType.OverworldEnemies) ? (-1239032403) : (-1239032410)); + break; + case 3: + return EStatus.InCombat; + case 30: + num = (_movementController.IsPathfinding ? (-1239032399) : (-1239032401)); + break; + case 31: + return EStatus.InCombat; + case 29: + num5 = 0; + goto IL_01c9; + case 15: + if (gameObject2.Equals(gameObject)) { - try + num = -1239032414; + break; + } + goto IL_0505; + case 25: + obj = null; + goto IL_01ea; + case 27: + item = GetKillPriority(gameObject).Priority; + gameObject2 = FindNextTarget(); + num = ((gameObject2 != null) ? (-1239032402) : (-1239032391)); + break; + case 21: + return EStatus.Moving; + case 7: + num = -1239032400; + break; + case 20: + return EStatus.Complete; + case 13: + num = ((!QuestWorkUtils.MatchesQuestWork(_currentFight.Data.CompletionQuestVariablesFlags, questProgressInfo)) ? (-1239032393) : (-1239032409)); + break; + case 23: + { + num = ((!_lastTargetId.HasValue) ? (-1239032403) : (-1239032396)); + break; + } + IL_01ea: + questProgressInfo = (QuestProgressInfo)obj; + num = ((questProgressInfo == null) ? (-1239032393) : (-1239032406)); + break; + IL_01c9: + num6 = num5; + if (gameObject2 != null) + { + num = -1239032405; + break; + } + goto IL_0505; + IL_0505: + num = ((gameObject2 == null) ? 1009368117 : 1009368126); + goto IL_0524; + IL_0524: + while (true) + { + int num7 = num; + num3 = 1009368124; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) { - _currentFight.Module.Update(target); - } - catch (TaskException ex) - { - _logger.LogWarning(ex, "Combat was interrupted, stopping: {Exception}", ex.Message); + default: + continue; + case 0: + return EStatus.InCombat; + case 6: + _wasInCombat = true; + return EStatus.InCombat; + case 9: SetTarget(null); + break; + case 5: + return EStatus.Complete; + case 7: + SetTarget(gameObject2); + num = 1009368120; + continue; + case 4: + break; + case 3: + num = ((!_wasInCombat) ? 1009368124 : 1009368121); + continue; + case 2: + num = ((num6 > item) ? 1009368123 : 1009368125); + continue; + case 8: + num = 1009368126; + continue; + case 1: + num = ((item != 0) ? 1009368120 : 1009368123); + continue; } + break; } - } - else if (gameObject2 != null) - { - if (num > item || item == 0) - { - SetTarget(gameObject2); - } - } - else - { - SetTarget(null); + goto IL_05c8; + IL_05c8: + num = ((!_202C_200D_202C_202A_202C_206C_202D_200C_200D_200F_202C_206C_206C_206E_206E_206B_202A_200E_202E_206A_202A_200C_206F_206A_206B_200D_206B_206F_206D_206A_200C_206C_202A_202A_202A_206D_202D_200D_202E_206A_202E(_condition, ConditionFlag.InCombat)) ? 1009368127 : 1009368122); + goto IL_0524; } } - else - { - IGameObject gameObject3 = FindNextTarget(); - if (gameObject3 != null && !gameObject3.IsDead) - { - SetTarget(gameObject3); - } - } - if (_condition[ConditionFlag.InCombat]) - { - _wasInCombat = true; - return EStatus.InCombat; - } - if (_wasInCombat) - { - return EStatus.Complete; - } - return EStatus.InCombat; } + [MethodImpl(MethodImplOptions.NoInlining)] private void TrackKillIfNeeded(IGameObject deadEnemy) { - if (_currentFight == null || !(deadEnemy is IBattleNpc battleNpc) || !_currentFight.CountedEnemies.Add(deadEnemy.GameObjectId)) + int num = ((_currentFight == null) ? (-205896997) : (-205897020)); + ComplexCombatData complexCombatData = default(ComplexCombatData); + List complexCombatDatas = default(List); + int num7 = default(int); + IBattleNpc battleNpc = default(IBattleNpc); + while (true) { - return; - } - List complexCombatDatas = _currentFight.Data.ComplexCombatDatas; - for (int i = 0; i < complexCombatDatas.Count; i++) - { - ComplexCombatData complexCombatData = complexCombatDatas[i]; - if (complexCombatData.DataId == battleNpc.BaseId && (!complexCombatData.NameId.HasValue || complexCombatData.NameId == battleNpc.NameId) && complexCombatData.MinimumKillCount.HasValue) + int num2 = num; + int num3 = -205897004; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - if (!_currentFight.KillCountsByComplexDataIndex.ContainsKey(i)) + case 12: + num = ((!_206C_200B_206D_202C_200C_202D_200E_200C_200C_202D_200E_206D_200B_200C_206C_202E_206A_206C_200C_206E_206E_206A_200C_200C_206B_206A_206B_202A_206D_202A_206E_206E_206C_200E_200B_202B_202C_200E_206E_202E(complexCombatData).HasValue) ? (-205896995) : (-205896998)); + break; + case 4: + complexCombatDatas = _currentFight.Data.ComplexCombatDatas; + num7 = 0; + num = -205897003; + break; + case 15: + return; + case 0: + num = -205897020; + break; + case 6: + complexCombatData = complexCombatDatas[num7]; + num = ((_206C_206F_202B_202E_206D_200E_202A_200F_200E_200B_206D_206A_200F_200B_200D_206B_200C_200C_202E_200B_200B_200E_202B_202D_202A_206C_206E_200B_206B_206F_202A_202E_202B_200C_202C_206F_202A_202B_200F_202D_202E(complexCombatData) != _206F_202D_200F_200E_206F_206C_200C_200E_206E_206D_200F_202D_200E_202D_206B_200D_202B_202D_200E_202C_206B_202B_202C_202A_202C_202D_202A_206B_206B_200D_202B_202E_200C_200F_202C_206C_202D_206B_202D_206F_202E((IGameObject)battleNpc)) ? (-205896996) : (-205897000)); + break; + case 1: + num = ((num7 < complexCombatDatas.Count) ? (-205897006) : (-205896999)); + break; + case 13: + num = ((complexCombatDatas.Count != 0) ? (-205897001) : (-205896993)); + break; + case 9: + num = ((!_206B_206C_200C_200F_200F_206A_200F_202A_206D_206C_202E_202B_202C_202D_202A_206B_206C_200E_206A_202D_202C_206D_202E_206A_200D_200C_200E_206B_206A_206E_200C_200C_206B_202E_202C_206C_202A_200B_206B_206C_202E(complexCombatData).HasValue) ? (-205896996) : (-205897002)); + break; + case 3: + return; + case 14: + num = ((_206C_200B_206D_202C_200C_202D_200E_200C_200C_202D_200E_206D_200B_200C_206C_202E_206A_206C_200C_206E_206E_206A_200C_200C_206B_206A_206B_202A_206D_202A_206E_206E_206C_200E_200B_202B_202C_200E_206E_202E(complexCombatData) != _206A_206F_206D_206B_200B_200C_206B_202A_200C_202C_206B_206C_202D_200F_206D_206A_200F_202A_200D_206B_200D_202B_200F_206F_202C_202D_200D_200D_200C_206D_200C_200B_206D_202A_206E_206F_200F_206E_202E((ICharacter)battleNpc)) ? (-205896996) : (-205896995)); + break; + case 2: + { + int totalKillCount = (_currentFight.KillCountsByComplexDataIndex[num7] = _currentFight.KillCountsByComplexDataIndex.GetValueOrDefault(num7) + 1); + int num13 = totalKillCount; + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-1964999202), new object[4] { - _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); + num7, + _206C_206F_202B_202E_206D_200E_202A_200F_200E_200B_206D_206A_200F_200B_200D_206B_200C_200C_202E_200B_200B_200E_202B_202D_202A_206C_206E_200B_206B_206F_202A_202E_202B_200C_202C_206F_202A_202B_200F_202D_202E(complexCombatData), + num13, + _206B_206C_200C_200F_200F_206A_200F_202A_206D_206C_202E_202B_202C_202D_202A_206B_206C_200E_206A_202D_202C_206D_202E_206A_200D_200C_200E_206B_206A_206E_200C_200C_206B_202E_202C_206C_202A_200B_206B_206C_202E(complexCombatData).Value + }); + return; + } + case 16: + battleNpc = deadEnemy as IBattleNpc; + num = ((battleNpc != null) ? (-205897005) : (-205896997)); + break; + case 8: + { + int num11 = num7; + num3 = 1; + num4 = num11; + num7 = (num4 | num3) + (num4 & num3); + num = -205897003; + break; + } + case 5: + { + CurrentFight? currentFight = _currentFight; + int totalKillCount = currentFight.TotalKillCount; + int num8 = totalKillCount; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + currentFight.TotalKillCount = num9 + (num10 + num10); + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-1495434167), new object[2] + { + _206F_202D_200F_200E_206F_206C_200C_200E_206E_206D_200F_202D_200E_202D_206B_200D_202B_202D_200E_202C_206B_202B_202C_202A_202C_202D_202A_206B_206B_200D_202B_202E_200C_200F_202C_206C_202D_206B_202D_206F_202E((IGameObject)battleNpc), + _currentFight.TotalKillCount + }); + num = -205897001; + break; + } + case 11: + num = ((!_currentFight.Data.KillEnemyDataIds.Contains(_206F_202D_200F_200E_206F_206C_200C_200E_206E_206D_200F_202D_200E_202D_206B_200D_202B_202D_200E_202C_206B_202B_202C_202A_202C_202D_202A_206B_206B_200D_202B_202E_200C_200F_202C_206C_202D_206B_202D_206F_202E((IGameObject)battleNpc))) ? (-205897001) : (-205897007)); + break; + case 7: + num = (_currentFight.CountedEnemies.Add(_202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(deadEnemy)) ? (-205897008) : (-205896994)); + break; + case 10: 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); - } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe IGameObject? FindNextTarget() { - if (_currentFight == null) + int num = ((_currentFight != null) ? (-1488947359) : (-1488947333)); + Vector3 vector; + int num5 = default(int); + ComplexCombatData complexCombatData = default(ComplexCombatData); + bool flag = default(bool); + bool flag2 = default(bool); + QuestProgressInfo questProgressInfo = default(QuestProgressInfo); + int valueOrDefault = default(int); + List complexCombatDatas = default(List); + bool hasValue = default(bool); + int inventoryItemCount = default(int); + bool flag4 = default(bool); + QuestId questId = default(QuestId); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + bool flag3 = default(bool); + while (true) { - return null; - } - List complexCombatDatas = _currentFight.Data.ComplexCombatDatas; - if (complexCombatDatas.Count > 0) - { - for (int i = 0; i < complexCombatDatas.Count; i++) + int num2 = num; + int num3 = -1488947345; + int num4 = num2; + int num10; + bool num11; + switch ((num4 | num3) - (num4 & num3)) { - if (_currentFight.Data.CompletedComplexDatas.Contains(i)) + default: + continue; + case 4: + vector = Vector3.Zero; + break; + case 19: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = -1488947336; + continue; + } + case 25: + num = (_currentFight.Data.CompletedComplexDatas.Contains(num5) ? (-1488947332) : (-1488947337)); + continue; + case 10: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-1671303027), new object[4] { + num5, + _206C_206F_202B_202E_206D_200E_202A_200F_200E_200B_206D_206A_200F_200B_200D_206B_200C_200C_202E_200B_200B_200E_202B_202D_202A_206C_206E_200B_206B_206F_202A_202E_202B_200C_202C_206F_202A_202B_200F_202D_202E(complexCombatData), + flag, + flag2 + }); + _currentFight.Data.CompletedComplexDatas.Add(num5); + num = -1488947332; + continue; + case 1: + if (QuestWorkUtils.MatchesQuestWork(_206F_202C_206B_200C_202D_202A_200B_206B_200B_206C_200E_202D_200D_200D_200D_206F_206B_206B_200D_200C_206E_200D_206A_202D_202D_202A_200C_200C_200C_206A_200F_200E_202B_206F_200C_202D_200D_202E_202B_200C_202E(complexCombatData), questProgressInfo)) + { + num = -1488947339; continue; } - ComplexCombatData complexCombatData = complexCombatDatas[i]; - bool hasValue = complexCombatData.MinimumKillCount.HasValue; - bool flag = complexCombatData.RewardItemId.HasValue && complexCombatData.RewardItemCount.HasValue; - bool flag2 = QuestWorkUtils.HasCompletionFlags(complexCombatData.CompletionQuestVariablesFlags); - if (hasValue || flag) + goto case 21; + case 3: + num = -1488947333; + continue; + case 18: + valueOrDefault = _currentFight.KillCountsByComplexDataIndex.GetValueOrDefault(num5, 0); + flag = valueOrDefault >= _206B_206C_200C_200F_200F_206A_200F_202A_206D_206C_202E_202B_202C_202D_202A_206B_206C_200E_206A_202D_202C_206D_202E_206A_200D_200C_200E_206B_206A_206E_200C_200C_206B_202E_202C_206C_202A_200B_206B_206C_202E(complexCombatData).Value; + num = ((!flag) ? (-1488947354) : (-1488947330)); + continue; + case 24: + complexCombatData = complexCombatDatas[num5]; + hasValue = _206B_206C_200C_200F_200F_206A_200F_202A_206D_206C_202E_202B_202C_202D_202A_206B_206C_200E_206A_202D_202C_206D_202E_206A_200D_200C_200E_206B_206A_206E_200C_200C_206B_202E_202C_206C_202A_200B_206B_206C_202E(complexCombatData).HasValue; + num = ((!_200F_202D_206D_200B_202D_202C_206E_202B_200B_202B_200D_206E_200D_202E_200C_200C_202E_206E_202E_206A_202D_200D_206A_206D_202A_206F_200F_206A_200D_202E_206E_200B_202B_200F_206D_200E_202C_202C_200E_202D_202E(complexCombatData).HasValue) ? (-1488947350) : (-1488947351)); + continue; + case 26: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(335245466), new object[2] { - bool flag3 = true; - bool flag4 = true; - if (hasValue) - { - int valueOrDefault = _currentFight.KillCountsByComplexDataIndex.GetValueOrDefault(i, 0); - flag3 = valueOrDefault >= complexCombatData.MinimumKillCount.Value; - if (flag3) - { - _logger.LogDebug("Kill count condition met for ComplexCombatData[{Index}]: {Count}/{Required}", i, valueOrDefault, complexCombatData.MinimumKillCount.Value); - } - } - if (flag) - { - int inventoryItemCount = InventoryManager.Instance()->GetInventoryItemCount(complexCombatData.RewardItemId.Value, isHq: false, checkEquipped: true, checkArmory: true, 0); - flag4 = inventoryItemCount >= complexCombatData.RewardItemCount.Value; - if (flag4) - { - _logger.LogDebug("Item count condition met for ComplexCombatData[{Index}]: {ItemId} = {Count}/{Required}", i, complexCombatData.RewardItemId.Value, inventoryItemCount, complexCombatData.RewardItemCount.Value); - } - } - if (flag3 && flag4) - { - _logger.LogInformation("Complex combat condition fulfilled for ComplexCombatData[{Index}] ({DataId}): KillCount={KillCountMet}, Items={ItemMet}", i, complexCombatData.DataId, flag3, flag4); - _currentFight.Data.CompletedComplexDatas.Add(i); - } - } - else if (flag2 && _currentFight.Data.ElementId is QuestId elementId) + num5, + _206C_206F_202B_202E_206D_200E_202A_200F_200E_200B_206D_206A_200F_200B_200D_206B_200C_200C_202E_200B_200B_200E_202B_202D_202A_206C_206E_200B_206B_206F_202A_202E_202B_200C_202C_206F_202A_202B_200F_202D_202E(complexCombatData) + }); + _currentFight.Data.CompletedComplexDatas.Add(num5); + num = -1488947332; + continue; + case 7: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(541601402), new object[4] { - 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); - _currentFight.Data.CompletedComplexDatas.Add(i); - } + num5, + _200F_202D_206D_200B_202D_202C_206E_202B_200B_202B_200D_206E_200D_202E_200C_200C_202E_206E_202E_206A_202D_200D_206A_206D_202A_206F_200F_206A_200D_202E_206E_200B_202B_200F_206D_200E_202C_202C_200E_202D_202E(complexCombatData).Value, + inventoryItemCount, + _200F_206A_202E_202E_202D_202B_200D_206B_202D_202C_200E_202C_206C_200B_206A_200B_200B_202C_202D_206F_206A_202E_200E_202A_206C_206E_206E_200D_200C_200F_200B_206A_202C_202D_206D_200B_206E_202D_206E_202C_202E(complexCombatData).Value + }); + num = -1488947329; + continue; + case 12: + num = ((!flag4) ? (-1488947332) : (-1488947360)); + continue; + case 11: + questProgressInfo = _questFunctions.GetQuestProgressInfo(questId); + num = ((questProgressInfo == null) ? (-1488947334) : (-1488947346)); + continue; + case 15: + questId = _currentFight.Data.ElementId as QuestId; + num = (((object)questId == null) ? (-1488947332) : (-1488947356)); + continue; + case 5: + num10 = 0; + goto IL_0391; + case 2: + playerCharacter = _200D_206C_200C_200C_206E_200C_206B_202D_200F_202A_200B_206B_206A_202B_206D_200D_202C_200B_200D_206B_200D_202D_200B_202B_200E_206D_200C_202C_202B_200D_202E_202C_206A_202C_200C_206A_206B_206F_202C_200D_202E(_objectTable); + num = ((playerCharacter != null) ? (-1488947353) : (-1488947349)); + continue; + case 21: + num = -1488947332; + continue; + case 17: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1334831780), new object[3] + { + num5, + valueOrDefault, + _206B_206C_200C_200F_200F_206A_200F_202A_206D_206C_202E_202B_202C_202D_202A_206B_206C_200E_206A_202D_202C_206D_202E_206A_200D_200C_200E_206B_206A_206E_200C_200C_206B_202E_202C_206C_202A_200B_206B_206C_202E(complexCombatData).Value + }); + num = -1488947354; + continue; + case 20: + return null; + case 6: + num10 = (_200F_206A_202E_202E_202D_202B_200D_206B_202D_202C_200E_202C_206C_200B_206A_200B_200B_202C_202D_206F_206A_202E_200E_202A_206C_206E_206E_200D_200C_200F_200B_206A_202C_202D_206D_200B_206E_202D_206E_202C_202E(complexCombatData).HasValue ? 1 : 0); + goto IL_0391; + case 13: + inventoryItemCount = InventoryManager.Instance()->GetInventoryItemCount(_200F_202D_206D_200B_202D_202C_206E_202B_200B_202B_200D_206E_200D_202E_200C_200C_202E_206E_202E_206A_202D_200D_206A_206D_202A_206F_200F_206A_200D_202E_206E_200B_202B_200F_206D_200E_202C_202C_200E_202D_202E(complexCombatData).Value, isHq: false, checkEquipped: true, checkArmory: true, 0); + flag2 = inventoryItemCount >= _200F_206A_202E_202E_202D_202B_200D_206B_202D_202C_200E_202C_206C_200B_206A_200B_200B_202C_202D_206F_206A_202E_200E_202A_206C_206E_206E_200D_200C_200F_200B_206A_202C_202D_206D_200B_206E_202D_206E_202C_202E(complexCombatData).Value; + num = ((!flag2) ? (-1488947329) : (-1488947352)); + continue; + case 16: + { + bool num9 = flag; + num3 = (flag2 ? 1 : 0); + num4 = (num9 ? 1 : 0); + num = (((num4 | num3) - (num4 ^ num3) == 0) ? (-1488947332) : (-1488947355)); + continue; + } + case 22: + flag = true; + flag2 = true; + num = ((!hasValue) ? (-1488947354) : (-1488947331)); + continue; + case 14: + complexCombatDatas = _currentFight.Data.ComplexCombatDatas; + num = ((complexCombatDatas.Count <= 0) ? (-1488947347) : (-1488947345)); + continue; + case 9: + num = ((!flag3) ? (-1488947329) : (-1488947358)); + continue; + case 0: + num5 = 0; + num = -1488947336; + continue; + case 23: + num = ((num5 < complexCombatDatas.Count) ? (-1488947338) : (-1488947347)); + continue; + case 8: + { + vector = _200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E((IGameObject)playerCharacter); + break; } + IL_0391: + flag3 = (byte)num10 != 0; + flag4 = QuestWorkUtils.HasCompletionFlags(_206F_202C_206B_200C_202D_202A_200B_206B_200B_206C_200E_202D_200D_200D_200D_206F_206B_206B_200D_200C_206E_200D_206A_202D_202D_202A_200C_200C_200C_206A_200F_200E_202B_206F_200C_202D_200D_202E_202B_200C_202E(complexCombatData)); + num11 = hasValue; + num3 = (flag3 ? 1 : 0); + num4 = (num11 ? 1 : 0); + num = (((num4 & num3) + (num4 ^ num3) == 0) ? (-1488947357) : (-1488947335)); + continue; + } + break; + } + Vector3 value = vector; + IGameObject gameObject = null; + int num12 = 0; + float num13 = float.MaxValue; + bool flag5 = _206B_206D_202E_206E_206E_202D_206B_202E_200E_206B_206B_200F_206F_202B_202B_200C_202C_206A_202D_206B_202B_202B_206B_202E_206C_200E_202B_202E_206D_206A_206E_202B_202B_202E_200B_200F_202E_206C_202D_202B_202E((ILogger)_logger, LogLevel.Debug); + IEnumerator enumerator = _objectTable.GetEnumerator(); + try + { + num = -122850553; + IGameObject current = default(IGameObject); + int item = default(int); + string item2 = default(string); + float num15 = default(float); + long value2 = default(long); + while (true) + { + int num14 = num; + int num3 = -122850546; + int num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 12: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-2012984101), new object[2] + { + _206A_202D_206F_206C_202B_206E_202E_202A_206F_200B_200C_202C_206B_202B_202A_206F_200B_206F_206A_206F_206C_206C_200E_202A_206B_200E_202D_200F_202D_200C_202C_202D_200E_202B_206E_200D_200F_202E_206C_200D_202E(current), + _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(current) + }); + num = -122850559; + break; + case 9: + num = (_200C_202E_206C_202E_206E_206A_202E_200C_200C_206F_206E_200B_206B_200D_206A_202B_206F_206E_202B_200C_202A_202C_200C_202A_202C_200B_200E_200F_200E_200F_200D_200B_206A_202E_206F_202C_200D_202E_200D_202D_202E((IEnumerator)enumerator) ? (-122850550) : (-122850547)); + break; + case 0: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-1176210059), new object[6] + { + _206A_202D_206F_206C_202B_206E_202E_202A_206F_200B_200C_202C_206B_202B_202A_206F_200B_206F_206A_206F_206C_206C_200E_202A_206B_200E_202D_200F_202D_200C_202C_202D_200E_202B_206E_200D_200F_202E_206C_200D_202E(current), + _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(current), + _206F_202D_200F_200E_206F_206C_200C_200E_206E_206D_200F_202D_200E_202D_206B_200D_202B_202D_200E_202C_206B_202B_202C_202A_202C_202D_202A_206B_206B_200D_202B_202E_200C_200F_202C_206C_202D_206B_202D_206F_202E(current), + item, + item2, + num15 + }); + num = -122850551; + break; + case 2: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(799418779), new object[3] + { + _206A_202D_206F_206C_202B_206E_202E_202A_206F_200B_200C_202C_206B_202B_202A_206F_200B_206F_206A_206F_206C_206C_200E_202A_206B_200E_202D_200F_202D_200C_202C_202D_200E_202B_206E_200D_200F_202E_206C_200D_202E(current), + _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(current), + value2 - _200D_206B_206D_206C_200C_206F_200E_200C_202D_202A_200D_202D_202D_200B_206F_200C_202D_206B_202C_206B_200B_200B_200C_206A_202A_200D_206F_202E_200B_200F_200F_200C_200E_200F_200C_200F_200D_202D_202B_206F_202E() + }); + num = -122850553; + break; + case 1: + num = ((!(num15 < num13)) ? (-122850553) : (-122850556)); + break; + case 6: + num = -122850553; + break; + case 8: + _losIgnoreList.Remove(_202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(current)); + num = ((!flag5) ? (-122850559) : (-122850558)); + break; + case 5: + num = ((_200D_206B_206D_206C_200C_206F_200E_200C_202D_202A_200D_202D_202D_200B_206F_200C_202D_206B_202C_206B_200B_200B_200C_206A_202A_200D_206F_202E_200B_200F_200F_200C_200E_200F_200C_200F_200D_202D_202B_206F_202E() >= value2) ? (-122850554) : (-122850557)); + break; + case 15: + num15 = Vector3.Distance(_200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E(current), value); + num = ((!flag5) ? (-122850551) : (-122850546)); + break; + case 13: + num = ((!flag5) ? (-122850553) : (-122850548)); + break; + case 11: + num = ((item != num12) ? (-122850553) : (-122850545)); + break; + case 7: + num = ((item > num12) ? (-122850556) : (-122850555)); + break; + case 10: + gameObject = current; + num12 = item; + num13 = num15; + num = -122850553; + break; + case 14: + num = ((!_losIgnoreList.TryGetValue(_202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(current), out value2)) ? (-122850559) : (-122850549)); + break; + case 4: + { + current = enumerator.Current; + (int Priority, string Reason) killPriority = GetKillPriority(current, playerCharacter); + item = killPriority.Priority; + item2 = killPriority.Reason; + num = ((item <= 0) ? (-122850553) : (-122850560)); + break; + } + case 3: + goto end_IL_05fe; + } + continue; + end_IL_05fe: + break; } } - IGameObject localPlayer = _objectTable[0]; - IGameObject gameObject = (from x in _objectTable - select new - { - 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(); - if (gameObject != null && _currentFight.Data.SpawnType == EEnemySpawnType.FateEnemies && !_currentFight.HasAttemptedFateSync) + finally { - ushort currentFateId = _gameFunctions.GetCurrentFateId(); - if (currentFateId != 0) + num = ((enumerator == null) ? 544453572 : 544453575); + while (true) { - _logger.LogInformation("Checking FATE sync for FATE {FateId}", currentFateId); + int num16 = num; + int num3 = 544453573; + int num4 = num16; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 544453575; + break; + case 1: + goto end_IL_0939; + case 2: + _206C_202A_202A_200D_206B_206C_206F_206F_206E_200C_202E_206E_206A_202A_200F_202B_202C_202D_206E_206D_202C_200F_206E_200F_202D_200E_202D_206F_200D_206C_206D_206A_206F_200D_200B_206E_202A_202E_200F_200D_202E((IDisposable)enumerator); + num = 544453572; + break; + } + continue; + end_IL_0939: + break; + } + } + num = ((gameObject != null) ? (-1888193170) : (-1888193172)); + ushort currentFateId = default(ushort); + ulong? num20 = default(ulong?); + while (true) + { + int num17 = num; + int num3 = -1888193174; + int num4 = num17; + int num18 = num4 + num3; + int num19 = num4 & num3; + ulong? obj; + ulong? num21; + ulong? lastTargetId; + bool num22; + switch (num18 - (num19 + num19)) + { + case 9: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(660454310), new object[5] + { + _206A_202D_206F_206C_202B_206E_202E_202A_206F_200B_200C_202C_206B_202B_202A_206F_200B_206F_206A_206F_206C_206C_200E_202A_206B_200E_202D_200F_202D_200C_202C_202D_200E_202B_206E_200D_200F_202E_206C_200D_202E(gameObject), + _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(gameObject), + _206F_202D_200F_200E_206F_206C_200C_200E_206E_206D_200F_202D_200E_202D_206B_200D_202B_202D_200E_202C_206B_202B_202C_202A_202C_202D_202A_206B_206B_200D_202B_202E_200C_200F_202C_206C_202D_206B_202D_206F_202E(gameObject), + num12, + num13 + }); + num = -1888193177; + break; + case 1: + num = (_currentFight.HasAttemptedFateSync ? (-1888193183) : (-1888193175)); + break; + case 3: + currentFateId = _gameFunctions.GetCurrentFateId(); + num = ((currentFateId == 0) ? (-1888193183) : (-1888193169)); + break; + case 0: + num = ((gameObject == null) ? (-1888193184) : (-1888193171)); + break; + case 15: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-1231500198), Array.Empty()); + num = -1888193177; + break; + case 11: + return gameObject; + case 2: + num = ((_currentFight.Data.SpawnType != EEnemySpawnType.FateEnemies) ? (-1888193183) : (-1888193173)); + break; + case 14: + return null; + case 6: + obj = null; + goto IL_0bb0; + case 5: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1490895854), new object[1] { currentFateId }); _gameFunctions.SyncToFate(currentFateId); _currentFight.HasAttemptedFateSync = true; + num = -1888193183; + break; + case 8: + num = -1888193172; + break; + case 4: + obj = _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(gameObject); + goto IL_0bb0; + case 13: + _lastTargetId = num20; + num = -1888193174; + break; + case 7: + num = ((num12 > 15) ? (-1888193184) : (-1888193178)); + break; + case 12: + num = (_202C_200D_202C_202A_202C_206C_202D_200C_200D_200F_202C_206C_206C_206E_206E_206B_202A_200E_202E_206A_202A_200C_206F_206A_206B_200D_206B_206F_206D_206A_200C_206C_202A_202A_202A_206D_202D_200D_202E_206A_202E(_condition, ConditionFlag.InCombat) ? (-1888193184) : (-1888193180)); + break; + case 16: + num = ((gameObject == null) ? (-1888193179) : (-1888193181)); + break; + case 10: + { + num = ((gameObject == null) ? (-1888193183) : (-1888193176)); + break; + } + IL_0bb0: + num20 = obj; + num21 = num20; + lastTargetId = _lastTargetId; + num22 = num21.GetValueOrDefault() == lastTargetId.GetValueOrDefault(); + num3 = ((num21.HasValue == lastTargetId.HasValue) ? 1 : 0); + num4 = (num22 ? 1 : 0); + num = ((num4 + num3 - (num4 | num3) != 0) ? (-1888193174) : (-1888193158)); + break; } } - return gameObject; } - public unsafe (int Priority, string Reason) GetKillPriority(IGameObject gameObject) + public (int Priority, string Reason) GetKillPriority(IGameObject gameObject) { - var (num, text) = GetRawKillPriority(gameObject); - if (!num.HasValue) - { - return (Priority: 0, Reason: text); - } - if (gameObject is IBattleNpc battleNpc && battleNpc.StatusFlags.HasFlag(StatusFlags.InCombat)) - { - IGameObject? gameObject2 = _objectTable[0]; - if (gameObject.TargetObjectId == gameObject2?.GameObjectId) - { - return (Priority: num.Value + 150, Reason: text + "/Targeted"); - } - Hater hater = UIState.Instance()->Hater; - for (int i = 0; i < hater.HaterCount; i++) - { - if (hater.Haters[i].EntityId == gameObject.GameObjectId) - { - return (Priority: num.Value + 125, Reason: text + "/Enmity"); - } - } - } - return (Priority: num.Value, Reason: text); + return GetKillPriority(gameObject, _200D_206C_200C_200C_206E_200C_206B_202D_200F_202A_200B_206B_206A_202B_206D_200D_202C_200B_200D_206B_200D_202D_200B_202B_200E_206D_200C_202C_202B_200D_202E_202C_206A_202C_200C_206A_206B_206F_202C_200D_202E(_objectTable)); } - private unsafe (int? Priority, string Reason) GetRawKillPriority(IGameObject gameObject) + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe (int Priority, string Reason) GetKillPriority(IGameObject gameObject, IGameObject? localPlayer) { - if (_currentFight == null) + (int? Priority, string Reason) rawKillPriority = GetRawKillPriority(gameObject, localPlayer); + int? item = rawKillPriority.Priority; + string item2 = rawKillPriority.Reason; + int num = (item.HasValue ? (-317021037) : (-317021053)); + int num7 = default(int); + IBattleNpc battleNpc = default(IBattleNpc); + Hater hater = default(Hater); + IBattleNpc battleNpc2 = default(IBattleNpc); + int num8 = default(int); + Hater hater2 = default(Hater); + while (true) { - return (Priority: null, Reason: "Not Fighting"); + int num2 = num; + int num3 = -317021051; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 13: + { + int num12 = num7; + num3 = 1; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + num7 = num13 + (num14 + num14); + num = -317021035; + break; + } + case 18: + num = (_206C_202D_206B_206B_200B_200C_206C_202E_200D_206B_200E_206F_206B_206A_202C_206D_206E_206F_202B_202E_202D_200E_200E_202B_202E_206A_200F_200E_206C_202E_206E_206A_202B_202B_202A_206D_206B_206E_202A_200C_202E((IGameObject)battleNpc) ? (-317021036) : (-317021054)); + break; + case 11: + num = ((localPlayer == null) ? (-317021036) : (-317021045)); + break; + case 7: + num = ((!_202A_202B_202C_200D_200D_200C_202C_206C_202C_202D_200C_202B_206C_202A_206B_206E_200E_202E_202B_206D_200B_202A_206A_206E_200C_200B_200B_200C_200F_206F_200C_206B_200C_200E_202B_206B_202A_200C_202B_202E((IGameObject)battleNpc)) ? (-317021036) : (-317021027)); + break; + case 12: + return (Priority: item.Value, Reason: item2); + case 6: + battleNpc = gameObject as IBattleNpc; + num = ((battleNpc == null) ? (-317021036) : (-317021033)); + break; + case 4: + hater = UIState.Instance()->Hater; + num7 = 0; + num = -317021035; + break; + case 0: + return (Priority: 15, Reason: _206A_206E_200B_200E_202C_202C_206A_200B_206D_200F_206A_200E_200F_202C_206C_206B_200D_202C_202C_200B_200E_206E_200F_200E_200B_200B_206C_200F_202D_202C_200F_206A_206B_202A_200D_202C_200C_206F_206C_206C_202E(item2, global::_003CModule_003E._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(1299574123))); + case 22: + battleNpc2 = gameObject as IBattleNpc; + num = ((battleNpc2 == null) ? (-317021047) : (-317021046)); + break; + case 8: + return (Priority: 10, Reason: _206A_206E_200B_200E_202C_202C_206A_200B_206D_200F_206A_200E_200F_202C_206C_206B_200D_202C_202C_200B_200E_206E_200F_200E_200B_200B_206C_200F_202D_202C_200F_206A_206B_202A_200D_202C_200C_206F_206C_206C_202E(item2, global::_003CModule_003E._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(-217140311))); + case 14: + num = ((!(Vector3.Distance(_200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E(localPlayer), _200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E(gameObject)) <= 30f)) ? (-317021036) : (-317021044)); + break; + case 24: + num = ((!_200C_200D_202B_202E_200C_202C_206E_200F_200E_202A_206A_206C_206D_202B_202E_200D_206F_200F_202B_200D_200B_200C_206E_200F_200C_202C_206B_202A_206F_200F_200F_206B_206D_202B_200D_200F_206C_206C_206F_202A_202E((Enum)_200B_200F_200D_200C_206C_206C_206F_200D_206C_200D_200E_200F_206B_202E_200E_200E_200E_206D_206E_206E_202D_202C_200B_202A_206B_206D_206C_202A_200E_206B_206C_206F_202E_206A_206A_206E_202A_200B_202B_206A_202E((ICharacter)battleNpc), (Enum)StatusFlags.InCombat)) ? (-317021036) : (-317021042)); + break; + case 5: + { + int num9 = num8; + num3 = 1; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num8 = num10 + (num11 + num11); + num = -317021041; + break; + } + case 2: + hater2 = UIState.Instance()->Hater; + num8 = 0; + num = -317021041; + break; + case 9: + num = ((_206A_206E_202C_206B_206E_202B_202C_202E_202D_206E_200D_206F_206F_206D_202E_206F_200C_200B_200E_202E_206D_206F_202A_206D_206F_206B_206A_200D_200B_206E_202A_202E_200E_206A_206B_202E_200C_202A_206D_202E(gameObject) != _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(localPlayer)) ? (-317021055) : (-317021051)); + break; + case 10: + num = ((num8 < hater2.HaterCount) ? (-317021039) : (-317021047)); + break; + case 3: + return (Priority: item.Value + 150, Reason: _206A_206E_200B_200E_202C_202C_206A_200B_206D_200F_206A_200E_200F_202C_206C_206B_200D_202C_202C_200B_200E_206E_200F_200E_200B_200B_206C_200F_202D_202C_200F_206A_206B_202A_200D_202C_200C_206F_206C_206C_202E(item2, global::_003CModule_003E._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(-1551169636))); + case 17: + return (Priority: 0, Reason: item2); + case 15: + num = ((!_200C_200D_202B_202E_200C_202C_206E_200F_200E_202A_206A_206C_206D_202B_202E_200D_206F_200F_202B_200D_200B_200C_206E_200F_200C_202C_206B_202A_206F_200F_200F_206B_206D_202B_200D_200F_206C_206C_206F_202A_202E((Enum)_200B_200F_200D_200C_206C_206C_206F_200D_206C_200D_200E_200F_206B_202E_200E_200E_200E_206D_206E_206E_202D_202C_200B_202A_206B_206D_206C_202A_200E_206B_206C_206F_202E_206A_206A_206E_202A_200B_202B_206A_202E((ICharacter)battleNpc2), (Enum)StatusFlags.InCombat)) ? (-317021047) : (-317021052)); + break; + case 16: + num = ((num7 < hater.HaterCount) ? (-317021034) : (-317021036)); + break; + case 19: + num = ((hater.Haters[num7].EntityId != _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(gameObject)) ? (-317021048) : (-317021043)); + break; + case 21: + num = -317021053; + break; + case 20: + num = ((hater2.Haters[num8].EntityId != _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(gameObject)) ? (-317021056) : (-317021038)); + break; + case 23: + return (Priority: item.Value + 125, Reason: _206A_206E_200B_200E_202C_202C_206A_200B_206D_200F_206A_200E_200F_202C_206C_206B_200D_202C_202C_200B_200E_206E_200F_200E_200B_200B_206C_200F_202D_202C_200F_206A_206B_202A_200D_202C_200C_206F_206C_206C_202E(item2, global::_003CModule_003E._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(915174382))); + case 1: + num = ((_206A_206E_202C_206B_206E_202B_202C_202E_202D_206E_200D_206F_206F_206D_202E_206F_200C_200B_200E_202E_206D_206F_202A_206D_206F_206B_206A_200D_200B_206E_202A_202E_200E_206A_206B_202E_200C_202A_206D_202E(gameObject) != ((localPlayer != null) ? new ulong?(_202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(localPlayer)) : ((ulong?)null))) ? (-317021049) : (-317021050)); + break; + } } - 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"); } + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe (int? Priority, string Reason) GetRawKillPriority(IGameObject gameObject, IGameObject? localPlayer) + { + int num = ((_currentFight != null) ? 1289895917 : 1289895914); + bool flag = default(bool); + uint num7 = default(uint); + List complexCombatDatas = default(List); + int num5 = default(int); + IBattleNpc battleNpc = default(IBattleNpc); + Vector3 value = default(Vector3); + Dalamud.Game.ClientState.Objects.Enums.BattleNpcSubKind battleNpcSubKind = default(Dalamud.Game.ClientState.Objects.Enums.BattleNpcSubKind); + GameObject* ptr = default(GameObject*); + bool flag2 = default(bool); + while (true) + { + int num2 = num; + int num3 = 1289895881; + int num4 = num2; + Vector3 vector; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1289895896; + break; + case 31: + num = ((!flag) ? 1289895911 : 1289895905); + break; + case 20: + num = ((num7 != 60732) ? 1289895895 : 1289895898); + break; + case 13: + return (Priority: null, Reason: global::_003CModule_003E._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(-288691346)); + case 1: + flag = false; + num = 1289895874; + break; + case 48: + { + uint? num6 = _206C_200B_206D_202C_200C_202D_200E_200C_200C_202D_200E_206D_200B_200C_206C_202E_206A_206C_200C_206E_206E_206A_200C_200C_206B_206A_206B_202A_206D_202A_206E_206E_206C_200E_200B_202B_202C_200E_206E_202E(complexCombatDatas[num5]); + num7 = _206A_206F_206D_206B_200B_200C_206B_202A_200C_202C_206B_206C_202D_200F_206D_206A_200F_202A_200D_206B_200D_202B_200F_206F_202C_202D_200D_200D_200C_206D_200C_200B_206D_202A_206E_206F_200F_206E_202E((ICharacter)battleNpc); + num = ((num6 != num7) ? 1289895904 : 1289895886); + break; + } + case 25: + flag = false; + num = 1289895875; + break; + case 51: + num = (_currentFight.Data.CompletedComplexDatas.Contains(num5) ? 1289895904 : 1289895919); + break; + case 8: + vector = Vector3.Zero; + goto IL_0263; + case 2: + num = ((!(Vector3.Distance(value, _200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E((IGameObject)battleNpc)) >= 50f)) ? 1289895897 : 1289895888); + break; + case 24: + vector = _200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E(localPlayer); + goto IL_0263; + case 40: + return (Priority: null, Reason: global::_003CModule_003E._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(-509497961)); + case 6: + num = ((localPlayer != null) ? 1289895889 : 1289895873); + break; + case 35: + return (Priority: null, Reason: global::_003CModule_003E._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(1709411628)); + case 17: + battleNpcSubKind = _200C_200C_202B_200C_200D_206D_200D_206A_202E_206F_206A_200D_206C_206C_200E_202C_206C_206A_202E_202A_202C_200B_202E_200E_200E_206D_200D_200C_200C_206A_206A_200B_206B_202C_200B_202A_202B_202A_200E_206B_202E(battleNpc); + num = ((battleNpcSubKind == Dalamud.Game.ClientState.Objects.Enums.BattleNpcSubKind.BNpcPart) ? 1289895918 : 1289895884); + break; + case 43: + return (Priority: 90, Reason: global::_003CModule_003E._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(-1135414095)); + case 11: + num = ((!flag) ? 1289895900 : 1289895899); + break; + case 22: + goto IL_0347; + case 50: + num = ((ptr->NamePlateIconId == 0) ? 1289895904 : 1289895902); + break; + case 10: + flag2 = flag; + num = ((complexCombatDatas.Count <= 0) ? 1289895892 : 1289895877); + break; + case 38: + num = ((!flag2) ? 1289895902 : 1289895916); + break; + case 14: + num = ((_currentFight.Data.SpawnType == EEnemySpawnType.FateEnemies) ? 1289895887 : 1289895881); + break; + case 15: + num = ((!_206C_200B_206D_202C_200C_202D_200E_200C_200C_202D_200E_206D_200B_200C_206C_202E_206A_206C_200C_206E_206E_206A_200C_200C_206B_206A_206B_202A_206D_202A_206E_206E_206C_200E_200B_202B_202C_200E_206E_202E(complexCombatDatas[num5]).HasValue) ? 1289895886 : 1289895929); + break; + case 37: + num = (_206B_202B_206A_202A_206C_206A_206E_202B_206E_206B_202E_206A_200F_206C_200E_202B_200F_202C_206A_202D_200D_202C_202B_200B_200C_206C_202E_206B_202E_200D_200B_206F_206D_202A_206F_200E_202A_200F_206F_206B_202E(complexCombatDatas[num5]) ? 1289895902 : 1289895931); + break; + case 16: + flag = true; + num = 1289895875; + break; + case 26: + return (Priority: null, Reason: global::_003CModule_003E._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(514778302)); + case 42: + num = (_202A_202B_202C_200D_200D_200C_202C_206C_202C_202D_200C_202B_206C_202A_206B_206E_200E_202E_202B_206D_200B_202A_206A_206E_200C_200B_200B_200C_200F_206F_200C_206B_200C_200E_202B_206B_202A_200C_202B_202E((IGameObject)battleNpc) ? 1289895933 : 1289895876); + break; + case 27: + num = ((!_206C_202D_206B_206B_200B_200C_206C_202E_200D_206B_200E_206F_206B_206A_202C_206D_206E_206F_202B_202E_202D_200E_200E_202B_202E_206A_200F_200E_206C_202E_206E_206A_202B_202B_202A_206D_206B_206E_202A_200C_202E((IGameObject)battleNpc)) ? 1289895907 : 1289895891); + break; + case 12: + num5 = 0; + num = 1289895915; + break; + case 44: + num = 1289895897; + break; + case 4: + goto IL_04d5; + case 7: + return (Priority: 100, Reason: global::_003CModule_003E._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(504188210)); + case 18: + num7 = ptr->NamePlateIconId; + num = ((num7 == 60093) ? 1289895898 : 1289895901); + break; + case 9: + return (Priority: null, Reason: global::_003CModule_003E._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(-1495762149)); + case 29: + num = ((!flag2) ? 1289895908 : 1289895913); + break; + case 5: + num = ((battleNpcSubKind != Dalamud.Game.ClientState.Objects.Enums.BattleNpcSubKind.Combatant) ? 1289895880 : 1289895918); + break; + case 21: + return (Priority: null, Reason: global::_003CModule_003E._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(2144599743)); + case 28: + num = (_currentFight.Module.CanAttack(battleNpc) ? 1289895890 : 1289895872); + break; + case 33: + num = 1289895914; + break; + case 34: + num = ((num5 < complexCombatDatas.Count) ? 1289895930 : 1289895882); + break; + case 36: + battleNpc = gameObject as IBattleNpc; + num = ((battleNpc != null) ? 1289895893 : 1289895928); + break; + case 23: + num = ((_206C_206F_202B_202E_206D_200E_202A_200F_200E_200B_206D_206A_200F_200B_200D_206B_200C_200C_202E_200B_200B_200E_202B_202D_202A_206C_206E_200B_206B_206F_202A_202E_202B_200C_202C_206F_202A_202B_200F_202D_202E(complexCombatDatas[num5]) != _206F_202D_200F_200E_206F_206C_200C_200E_206E_206D_200F_202D_200E_202D_206B_200D_202B_202D_200E_202C_206B_202B_202C_202A_202C_202D_202A_206B_206B_200D_202B_202E_200C_200F_202C_206C_202D_206B_202D_206F_202E((IGameObject)battleNpc)) ? 1289895904 : 1289895878); + break; + case 47: + return (Priority: null, Reason: global::_003CModule_003E._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(654117506)); + case 46: + return (Priority: null, Reason: global::_003CModule_003E._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(-1739083176)); + case 41: + { + int num8 = num5; + num3 = 1; + num4 = num8; + num5 = (num4 | num3) + (num4 & num3); + num = 1289895915; + break; + } + case 19: + flag = true; + num = 1289895894; + break; + case 39: + flag = true; + num = 1289895874; + break; + case 49: + return (Priority: null, Reason: global::_003CModule_003E._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(-1994402973)); + case 45: + num = ((!_currentFight.Data.KillEnemyDataIds.Contains(_206F_202D_200F_200E_206F_206C_200C_200E_206E_206D_200F_202D_200E_202D_206B_200D_202B_202D_200E_202C_206B_202B_202C_202A_202C_202D_202A_206B_206B_200D_202B_202E_200C_200F_202C_206C_202D_206B_202D_206F_202E((IGameObject)battleNpc))) ? 1289895896 : 1289895906); + break; + case 0: + num = ((_206A_206E_202C_206B_206E_202B_202C_202E_202D_206E_200D_206F_206F_206D_202E_206F_200C_200B_200E_202E_206D_206F_202A_206D_206F_206B_206A_200D_200B_206E_202A_202E_200E_206A_206B_202E_200C_202A_206D_202E(gameObject) == ((localPlayer != null) ? new ulong?(_202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(localPlayer)) : ((ulong?)null))) ? 1289895887 : 1289895910); + break; + case 32: + num = ((ptr->NamePlateIconId == 0) ? 1289895896 : 1289895908); + break; + case 30: + flag = false; + num = 1289895894; + break; + case 52: + { + complexCombatDatas = _currentFight.Data.ComplexCombatDatas; + ptr = (GameObject*)_206B_200C_200E_200B_200C_206A_206F_200E_200C_200B_206C_200E_202B_202C_206E_206A_206A_200E_200F_206C_202B_206C_206A_200B_202C_202C_206D_206F_200D_202E_206F_206F_200D_200F_200F_200F_206D_202A_202A_200D_202E(gameObject); + num = ((ptr->FateId == 0) ? 1289895887 : 1289895879); + break; + } + IL_0263: + value = vector; + switch (_currentFight.Data.SpawnType) + { + case EEnemySpawnType.OverworldEnemies: + break; + default: + goto IL_028b; + case EEnemySpawnType.FateEnemies: + goto IL_0347; + case EEnemySpawnType.FinishCombatIfAny: + goto IL_04d5; + } + goto case 2; + IL_04d5: + flag = false; + num = 1289895875; + break; + IL_0347: + flag = false; + num = 1289895875; + break; + IL_028b: + num = 1289895909; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void SetTarget(IGameObject? target) { - IGameObject gameObject = _objectTable[0]; - if (target == null) + int num = ((target != null) ? (-454863906) : (-454863912)); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + while (true) { - if (_targetManager.Target != null) + int num2 = num; + int num3 = -454863908; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + float num7; + float num8; + bool flag; + switch (num5 - (num6 + num6)) { - _logger.LogInformation("Clearing target"); - _targetManager.Target = null; + case 5: + num = -454863912; + break; + case 2: + playerCharacter = _200D_206C_200C_200C_206E_200C_206B_202D_200F_202A_200B_206B_206A_202B_206D_200D_202C_200B_200D_206B_200D_202D_200B_202B_200E_206D_200C_202C_202B_200D_202E_202C_206A_202C_200C_206A_206B_206F_202C_200D_202E(_objectTable); + num = ((playerCharacter != null) ? (-454863909) : (-454863908)); + break; + case 0: + num7 = 0f; + goto IL_00ba; + case 7: + num7 = Vector3.Distance(_200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E((IGameObject)playerCharacter), _200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E(target)); + goto IL_00ba; + case 8: + return; + case 1: + return; + case 3: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1225516731), Array.Empty()); + _202C_202A_206D_202D_202E_202C_200B_202D_200E_202B_202E_206E_200F_200E_206D_206C_200C_200F_206F_200C_200E_202E_202B_206A_202E_206D_200E_206C_206C_200B_206A_202B_202C_202B_202A_206E_206C_202D_202B_202E_202E(_targetManager, (IGameObject)null); + num = -454863916; + break; + case 6: + MoveToTarget(target); + num = -454863907; + break; + case 4: + { + num = ((_202B_202A_206E_200C_206F_202D_206D_206C_202D_200B_200E_206D_206C_206E_202D_206D_206D_202C_206D_202B_206C_200B_206E_202D_202C_206B_202A_202D_206E_200B_202B_206A_200D_206C_200F_200F_206D_206B_200E_200E_202E(_targetManager) == null) ? (-454863916) : (-454863905)); + break; + } + IL_00ba: + num8 = num7; + flag = _currentFight?.Module is BossModModule; + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-270017519), new object[3] + { + _200D_200C_202E_200D_206A_206A_206A_200E_206F_206C_200E_200B_200D_206D_206F_200F_200E_200F_202B_206F_206C_202C_200C_202A_202E_202C_206E_206E_206A_206C_202D_200F_200D_202B_202E_206F_206C_202B_206C_200F_202E((object)_206A_202D_206F_206C_202B_206E_202E_202A_206F_200B_200C_202C_206B_202B_202A_206F_200B_206F_206A_206F_206C_206C_200E_202A_206B_200E_202D_200F_202D_200C_202C_202D_200E_202B_206E_200D_200F_202E_206C_200D_202E(target)), + _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(target), + num8 + }); + _202C_202A_206D_202D_202E_202C_200B_202D_200E_202B_202E_206E_200F_200E_206D_206C_200C_200F_206F_200C_200E_202E_202B_206A_202E_206D_200E_206C_206C_200B_206A_202B_202C_202B_202A_206E_206C_202D_202B_202E_202E(_targetManager, target); + num = (flag ? (-454863907) : (-454863910)); + break; } } - else if (gameObject != null && Vector3.Distance(gameObject.Position, target.Position) > 55f) - { - _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 (_movementController.IsPathfinding || _movementController.IsPathRunning) + int num = ((!(_currentFight?.Module is BossModModule)) ? 1980419386 : 1980419385); + while (true) { - return true; + int num2 = num; + int num3 = 1980419388; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 6: + num = (_movementController.IsPathfinding ? 1980419390 : 1980419391); + break; + case 5: + return false; + case 3: + num = ((!_movementController.IsPathRunning) ? 1980419389 : 1980419390); + break; + case 2: + return true; + case 7: + num = 1980419385; + break; + case 4: + MoveToTarget(gameObject); + _currentFight.LastDistanceCheck = _200D_206B_206D_206C_200C_206F_200E_200C_202D_202A_200D_202D_202D_200B_206F_200C_202D_206B_202C_206B_200B_200B_200C_206A_202A_200D_206F_202E_200B_200F_200F_200C_200E_200F_200C_200F_200D_202D_202B_206F_202E(); + return true; + case 1: + num = ((_200D_206B_206D_206C_200C_206F_200E_200C_202D_202A_200D_202D_202D_200B_206F_200C_202D_206B_202C_206B_200B_200B_200C_206A_202A_200D_206F_202E_200B_200F_200F_200C_200E_200F_200C_200F_200D_202D_202B_206F_202E() <= _currentFight.LastDistanceCheck + 10000) ? 1980419388 : 1980419384); + break; + } } - if (DateTime.Now > _currentFight.LastDistanceCheck.AddSeconds(10.0)) - { - MoveToTarget(gameObject); - _currentFight.LastDistanceCheck = DateTime.Now; - return true; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private void MoveToTarget(IGameObject gameObject) { - IGameObject gameObject2 = _objectTable[0]; - if (gameObject2 == null) + IPlayerCharacter playerCharacter = _200D_206C_200C_200C_206E_200C_206B_202D_200F_202A_200B_206B_206A_202B_206D_200D_202C_200B_200D_206B_200D_202D_200B_202B_200E_206D_200C_202C_202B_200D_202E_202C_206A_202C_200C_206A_206B_206F_202C_200D_202E(_objectTable); + int num = ((playerCharacter != null) ? 649091291 : 649091295); + bool flag4 = default(bool); + float num9 = default(float); + float num11 = default(float); + byte? b = default(byte?); + bool flag2 = default(bool); + bool flag3 = default(bool); + bool flag = default(bool); + float num8 = default(float); + while (true) { - 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) - { - byte? b = character.ClassJob.ValueNullable?.Role; - if (b.HasValue) + int num2 = num; + int num3 = 649091284; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + float num10; + switch (num5 - (num6 + num6)) + { + case 2: + num10 = 20f; + goto IL_0095; + case 3: + flag4 = true; + num = 649091283; + break; + case 15: + num9 = _200C_200B_200C_206F_200D_200E_200E_200D_200D_202D_202B_200B_200D_206B_202C_200D_200E_206B_206D_202D_206B_200C_206D_200D_200D_206C_200C_200F_206A_202E_202C_206A_202B_200F_206C_200B_206E_200B_202B_206A_202E((IGameObject)playerCharacter) + _200C_200B_200C_206F_200D_200E_200E_200D_200D_202D_202B_200B_200D_206B_202C_200D_200E_206B_206D_202D_206B_200C_206D_200D_200D_206C_200C_200F_206A_202E_202C_206A_202B_200F_206C_200B_206E_200B_202B_206A_202E(gameObject); + num11 = Vector3.Distance(_200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E((IGameObject)playerCharacter), _200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E(gameObject)); + b = _202B_206B_202C_200E_202D_202D_200F_206E_202B_200C_202A_206F_200F_202E_206C_200F_206B_200D_206E_206A_206F_200C_200F_206D_200B_206D_206E_206E_200E_206B_200E_200F_200C_202A_200B_200B_202E_200D_200D_200C_202E((ICharacter)playerCharacter).ValueNullable?.Role; + num = ((!b.HasValue) ? 649091282 : 649091293); + break; + case 12: + num10 = 2.9f; + goto IL_0095; + case 7: + num = (flag4 ? 649091286 : 649091288); + break; + case 8: + flag2 = num11 - num9 > 5f; + num = (flag3 ? 649091290 : 649091285); + break; + case 0: + num = (flag ? 649091268 : 649091292); + break; + case 6: + flag4 = false; + num = 649091283; + break; + case 13: + num8 = _206F_202A_200E_206D_206C_200B_206B_200F_202B_200D_206E_200E_200E_202E_200F_202C_206E_206E_206B_206E_200F_206E_206E_206D_200B_206E_200E_202C_206A_202A_200E_206F_206A_206F_202A_200F_202B_206F_206D_200D_202E(num8, num11) / 2f; + flag2 = true; + num = 649091290; + break; + case 14: + num = (flag2 ? 649091280 : 649091281); + break; + case 9: { byte valueOrDefault = b.GetValueOrDefault(); - if ((uint)(valueOrDefault - 3) <= 1u) + num3 = 3; + num4 = valueOrDefault; + num = (((uint)(~(~num4 + num3)) > 1u) ? 649091282 : 649091287); + break; + } + case 4: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-899940516), new object[2] { - flag2 = true; - goto IL_00a3; - } - } - flag2 = false; - goto IL_00a3; - } - goto IL_00a7; - IL_00a7: - float num3 = (flag ? 20f : 2.9f); - bool flag3 = num2 - num >= num3; - bool flag4 = IsInLineOfSight(gameObject); - if (flag3 || !flag4) - { - bool flag5 = num2 - num > 5f; - if (!flag3 && !flag4) + _206A_202D_206F_206C_202B_206E_202E_202A_206F_200B_200C_202C_206B_202B_202A_206F_200B_206F_206A_206F_206C_206C_200E_202A_206B_200E_202D_200F_202D_200C_202C_202D_200E_202B_206E_200D_200F_202E_206C_200D_202E(gameObject), + _206F_202D_200F_200E_206F_206C_200C_200E_206E_206D_200F_202D_200E_202D_206B_200D_202B_202D_200E_202C_206B_202B_202C_202A_202C_202D_202A_206B_206B_200D_202B_202E_200C_200F_202C_206C_202D_206B_202D_206F_202E(gameObject) + }); + _movementController.NavigateTo(EMovementType.Combat, null, _200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E(gameObject), fly: false, sprint: false, num8 + num9 - 0.25f, float.MaxValue); + num = 649091268; + break; + case 1: + num = (flag ? 649091290 : 649091289); + break; + case 5: { - num3 = Math.Min(num3, num2) / 2f; - flag5 = true; - } - if (!flag5) - { - _logger.LogInformation("Moving to {TargetName} ({BaseId}) to attack", gameObject.Name, gameObject.BaseId); + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-131708960), new object[2] + { + _206A_202D_206F_206C_202B_206E_202E_202A_206F_200B_200C_202C_206B_202B_202A_206F_200B_206F_206A_206F_206C_206C_200E_202A_206B_200E_202D_200F_202D_200C_202C_202D_200E_202B_206E_200D_200F_202E_206C_200D_202E(gameObject), + _206F_202D_200F_200E_206F_206C_200C_200E_206E_206D_200F_202D_200E_202D_206B_200D_202B_202D_200E_202C_206B_202B_202C_202A_202C_202D_202A_206B_206B_200D_202B_202E_200C_200F_202C_206C_202D_206B_202D_206F_202E(gameObject) + }); MovementController movementController = _movementController; - int num4 = 1; - List list = new List(num4); - CollectionsMarshal.SetCount(list, num4); - CollectionsMarshal.AsSpan(list)[0] = gameObject.Position; - movementController.NavigateTo(EMovementType.Combat, null, list, fly: false, sprint: false, num3 + num - 0.25f, float.MaxValue); + int num7 = 1; + List list = new List(num7); + CollectionsMarshal.SetCount(list, num7); + CollectionsMarshal.AsSpan(list)[0] = _200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E(gameObject); + movementController.NavigateTo(EMovementType.Combat, null, list, fly: false, sprint: false, num8 + num9 - 0.25f, float.MaxValue); + return; } - else - { - _logger.LogInformation("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); + case 16: + return; + case 10: + num = 649091295; + break; + case 11: + return; + IL_0095: + num8 = num10; + flag3 = num11 - num9 >= num8; + flag = IsInLineOfSight(gameObject); + num = (flag3 ? 649091292 : 649091284); + break; } } - return; - IL_00a3: - flag = flag2; - goto IL_00a7; } internal unsafe bool IsInLineOfSight(IGameObject target) { - IGameObject gameObject = _objectTable[0]; - if (gameObject == null) - { - return false; - } - Vector3 position = gameObject.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); - int* flags = stackalloc int[4] { 16384, 0, 16384, 0 }; + IPlayerCharacter playerCharacter = _200D_206C_200C_200C_206E_200C_206B_202D_200F_202A_200B_206B_206A_202B_206D_200D_202C_200B_200D_206B_200D_202D_200B_202B_200E_206D_200C_202C_202B_200D_202E_202C_206A_202C_200C_206A_206B_206F_202C_200D_202E(_objectTable); + int num = ((playerCharacter != null) ? 1116900231 : 1116900230); RaycastHit raycastHit = default(RaycastHit); - return !Framework.Instance()->BGCollisionModule->RaycastMaterialFilter(&raycastHit, &vector, &vector2, maxDistance, 1, flags); + while (true) + { + int num2 = num; + int num3 = 1116900231; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + { + Vector3 vector = _200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E((IGameObject)playerCharacter); + vector.Y += 2f; + Vector3 vector2 = _200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E(target); + vector2.Y += 2f; + Vector3 vector3 = Vector3.Normalize(vector2 - vector); + float maxDistance = Vector3.Distance(vector, vector2); + int* flags = stackalloc int[4] { 16384, 0, 16384, 0 }; + return !Framework.Instance()->BGCollisionModule->RaycastMaterialFilter(&raycastHit, &vector, &vector3, maxDistance, 1, flags); + } + case 1: + return false; + case 2: + goto IL_00e2; + } + continue; + IL_00e2: + num = 1116900230; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void OnErrorToast(ref SeString message, ref bool isHandled) + { + int num = ((_cannotSeeTargetText == null) ? (-1612200543) : (-1612200538)); + long num5 = default(long); + IGameObject gameObject = default(IGameObject); + while (true) + { + int num2 = num; + int num3 = -1612200540; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 10: + num = -1612200538; + break; + case 12: + num5 = _200D_206B_206D_206C_200C_206F_200E_200C_202D_202A_200D_202D_202D_200B_206F_200C_202D_206B_202C_206B_200B_200B_200C_206A_202A_200D_206F_202E_200B_200F_200F_200C_200E_200F_200C_200F_200D_202D_202B_206F_202E(); + num = ((_lastLoSFailTargetId != _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(gameObject)) ? (-1612200540) : (-1612200542)); + break; + case 3: + { + Dictionary losIgnoreList = _losIgnoreList; + ulong key = _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(gameObject); + long num6 = num5; + long num7 = 10000L; + long num8 = num6; + long num9 = num8 ^ num7; + long num10 = num8 & num7; + losIgnoreList[key] = num9 + (num10 + num10); + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1206180878), new object[1] { _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(gameObject) }); + _losFailCount = 0; + _202C_202A_206D_202D_202E_202C_200B_202D_200E_202B_202E_206E_200F_200E_206D_206C_200C_200F_206F_200C_200E_202E_202B_206A_202E_206D_200E_206C_206C_200B_206A_202B_202C_202B_202A_206E_206C_202D_202B_202E_202E(_targetManager, (IGameObject)null); + num = -1612200531; + break; + } + case 9: + _lastLoSFailTimeMs = num5; + return; + case 1: + return; + case 11: + num = (_200D_206E_202E_202D_202D_202D_200E_200F_202A_200B_206A_200E_206B_202D_200E_206E_206F_206C_206C_202B_202E_200C_200B_202E_206F_202D_206B_202D_206B_206E_202A_202D_202E_206F_200F_200B_200C_206A_206F_200D_202E(_200B_200E_202A_206B_200F_202A_206D_200E_206C_202D_202C_202A_200D_200F_206E_206D_200D_206F_202D_200D_206D_206A_200C_206B_206A_202D_202E_202E_206F_206A_206E_202D_202C_200F_200F_200E_200D_206A_202D_200D_202E(message), _cannotSeeTargetText, StringComparison.Ordinal) ? (-1612200544) : (-1612200541)); + break; + case 5: + return; + case 2: + num = ((_currentFight != null) ? (-1612200529) : (-1612200543)); + break; + case 6: + { + long num11 = num5; + long num7 = _lastLoSFailTimeMs; + long num8 = num11; + num = ((~(~num8 + num7) >= 2000) ? (-1612200540) : (-1612200532)); + break; + } + case 8: + { + int losFailCount = _losFailCount; + num3 = 1; + num4 = losFailCount; + _losFailCount = (num4 | num3) + (num4 & num3); + num = ((_losFailCount < 2) ? (-1612200531) : (-1612200537)); + break; + } + case 4: + gameObject = _202B_202A_206E_200C_206F_202D_206D_206C_202D_200B_200E_206D_206C_206E_202D_206D_206D_202C_206D_202B_206C_200B_206E_202D_202C_206B_202A_202D_206E_200B_202B_206A_200D_206C_200F_200F_206D_206B_200E_200E_202E(_targetManager); + num = ((gameObject != null) ? (-1612200536) : (-1612200539)); + break; + case 7: + return; + case 0: + _lastLoSFailTargetId = _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(gameObject); + _losFailCount = 1; + num = -1612200531; + break; + } + } } private void UpdateLastTargetAndQuestVariables(IGameObject? target) { - _lastTargetId = target?.GameObjectId; - _previousQuestVariables = ((!(_currentFight.Data.ElementId != null)) ? null : _questFunctions.GetQuestProgressInfo(_currentFight.Data.ElementId)?.Variables); + _lastTargetId = ((target != null) ? new ulong?(_202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(target)) : ((ulong?)null)); + _previousQuestVariables = ((!_202E_206B_200F_202A_200E_206E_206F_206E_206F_200D_202E_206E_206B_200B_202E_206B_200C_206C_200E_206D_200D_200D_202D_206F_206D_206F_202C_200E_206B_202D_202B_200C_202E_200D_206C_202A_200B_200C_202B_206D_202E(_currentFight.Data.ElementId, (ElementId)null)) ? null : _questFunctions.GetQuestProgressInfo(_currentFight.Data.ElementId)?.Variables); } + [MethodImpl(MethodImplOptions.NoInlining)] public void Stop(string label) { - using (_logger.BeginScope(label)) + IDisposable disposable = _logger.BeginScope(label); + try { - if (_currentFight != null) + int num = ((_currentFight == null) ? (-1148615998) : (-1148616000)); + while (true) { - _logger.LogInformation("Stopping current fight"); - _currentFight.Module.Stop(); + int num2 = num; + int num3 = -1148615999; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = ((!_passiveBossModEnabled) ? (-1148615999) : (-1148615995)); + break; + case 4: + _bossModIpc.DisableAi(); + _passiveBossModEnabled = false; + num = -1148615999; + break; + case 2: + num = -1148616000; + break; + case 1: + _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E((ILogger)_logger, global::_003CModule_003E._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(950471825), Array.Empty()); + _currentFight.Module.Stop(); + num = -1148615998; + break; + case 0: + _losIgnoreList.Clear(); + _losFailCount = 0; + _currentFight = null; + _wasInCombat = false; + return; + } + } + } + finally + { + int num = ((disposable == null) ? (-1380771664) : (-1380771661)); + while (true) + { + int num5 = num; + int num3 = -1380771662; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1380771661; + break; + case 1: + _206C_202A_202A_200D_206B_206C_206F_206F_206E_200C_202E_206E_206A_202A_200F_202B_202C_202D_206E_206D_202C_200F_206E_200F_202D_200E_202D_206F_200D_206C_206D_206A_206F_200D_200B_206E_202A_202E_200F_200D_202E(disposable); + num = -1380771664; + break; + case 2: + goto end_IL_011b; + } + continue; + end_IL_011b: + break; } - _currentFight = null; - _wasInCombat = false; } } + [MethodImpl(MethodImplOptions.NoInlining)] private void TerritoryChanged(uint territoryId) { - Stop("TerritoryChanged"); + Stop(global::_003CModule_003E._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(-685044721)); } + [MethodImpl(MethodImplOptions.NoInlining)] public void Dispose() { - _clientState.TerritoryChanged -= TerritoryChanged; - Stop("Dispose"); + _206E_206A_206E_206E_202E_200E_200C_206C_200E_206A_200F_202E_206C_200C_202D_200E_206C_200F_200C_202B_206D_202D_200C_206E_200E_206F_202D_206F_206B_200F_202D_206C_206C_200C_202B_206A_206F_206C_200E_202E(_toastGui, (IToastGui.OnErrorToastDelegate)OnErrorToast); + _206C_202D_200D_202E_206B_200D_202D_202E_206F_206A_200E_202C_200B_202D_206E_206F_206E_206C_202E_206E_206E_202E_206B_200F_206D_202C_200B_206F_202E_200D_206B_200D_200F_206F_202C_206E_200E_200C_206D_202B_202E(_clientState, (Action)TerritoryChanged); + Stop(global::_003CModule_003E._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(610358865)); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _200C_206B_206A_200E_200C_200C_202D_200C_202D_200F_200B_202E_202C_200B_200B_202D_200B_202C_200D_206A_202C_206C_206B_202D_206D_202B_200F_206C_202A_200D_202E_202D_206B_200F_206E_206B_202C_202C_206E_206B_202E(IClientState P_0, Action P_1) + { + P_0.TerritoryChanged += P_1; + } + + static void _200B_206F_202C_206C_200D_200D_202A_206B_202D_200D_206C_206D_202C_206B_202C_206E_200F_202C_202B_200C_200B_206D_200F_200B_206B_200F_202A_202A_200C_206F_206D_206D_202B_206F_202C_206D_206B_200E_206C_202E_202E(IToastGui P_0, IToastGui.OnErrorToastDelegate P_1) + { + P_0.ErrorToast += P_1; + } + + static void _206B_202A_206B_200B_206A_202A_206C_200C_200F_206C_206B_202C_206E_202B_200E_200B_206C_200D_200E_202C_206C_206A_202D_206F_202E_202D_202E_206B_202E_202A_206E_202B_200B_202B_202D_200C_202D_202D_200D_202B_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogDebug(P_1, P_2, P_3); + } + + static long _200D_206B_206D_206C_200C_206F_200E_200C_202D_202A_200D_202D_202D_200B_206F_200C_202D_206B_202C_206B_200B_200B_200C_206A_202A_200D_206F_202E_200B_200F_200F_200C_200E_200F_200C_200F_200D_202D_202B_206F_202E() + { + return Environment.TickCount64; + } + + static Type _202D_206B_206A_202A_200D_206C_206A_206D_200F_200B_202D_206A_200F_200B_200D_200D_206F_202E_200B_206A_206D_202D_200D_206A_200D_206E_200F_206D_202A_200F_202E_206C_202B_202E_206B_202C_206E_206F_206D_206E_202E(object P_0) + { + return P_0.GetType(); + } + + static string _206D_206D_206A_206E_202A_206B_206E_202E_200E_206B_200C_206C_202A_200B_202B_202C_200E_202A_200D_206B_200B_202A_202A_206A_200B_200E_200D_206B_200F_202E_202C_200B_206E_206B_200E_202B_200E_200F_206A_206F_202E(MemberInfo P_0) + { + return P_0.Name; + } + + static void _206C_206D_206E_202D_202D_202C_200B_206B_200E_206C_202A_206B_202A_200B_206D_200F_206E_202C_200F_206C_202B_206B_206F_206F_200B_206B_206D_206A_206A_200F_206F_206F_206C_206A_206E_202B_206E_200B_202C_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static IGameObject _202B_202A_206E_200C_206F_202D_206D_206C_202D_200B_200E_206D_206C_206E_202D_206D_206D_202C_206D_202B_206C_200B_206E_202D_202C_206B_202A_202D_206E_200B_202B_206A_200D_206C_200F_200F_206D_206B_200E_200E_202E(ITargetManager P_0) + { + return P_0.Target; + } + + static ulong _202C_200F_202A_206D_202B_202C_206D_202C_206A_200E_206A_206F_202B_206F_206A_206C_206C_200D_202E_206C_200B_200E_202A_202C_206D_202D_202A_202D_202E_202B_200B_206C_206C_202A_202B_206F_200D_206C_206A_206D_202E(IGameObject P_0) + { + return P_0.GameObjectId; + } + + static bool _206C_202D_206B_206B_200B_200C_206C_202E_200D_206B_200E_206F_206B_206A_202C_206D_206E_206F_202B_202E_202D_200E_200E_202B_202E_206A_200F_200E_206C_202E_206E_206A_202B_202B_202A_206D_206B_206E_202A_200C_202E(IGameObject P_0) + { + return P_0.IsDead; + } + + static bool _202E_206B_200F_202A_200E_206E_206F_206E_206F_200D_202E_206E_206B_200B_202E_206B_200C_206C_200E_206D_200D_200D_202D_206F_206D_206F_202C_200E_206B_202D_202B_200C_202E_200D_206C_202A_200B_200C_202B_206D_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static bool _202C_200D_202C_202A_202C_206C_202D_200C_200D_200F_202C_206C_206C_206E_206E_206B_202A_200E_202E_206A_202A_200C_206F_206A_206B_200D_206B_206F_206D_206A_200C_206C_202A_202A_202A_206D_202D_200D_202E_206A_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static uint _206C_206F_202B_202E_206D_200E_202A_200F_200E_200B_206D_206A_200F_200B_200D_206B_200C_200C_202E_200B_200B_200E_202B_202D_202A_206C_206E_200B_206B_206F_202A_202E_202B_200C_202C_206F_202A_202B_200F_202D_202E(ComplexCombatData P_0) + { + return P_0.DataId; + } + + static uint _206F_202D_200F_200E_206F_206C_200C_200E_206E_206D_200F_202D_200E_202D_206B_200D_202B_202D_200E_202C_206B_202B_202C_202A_202C_202D_202A_206B_206B_200D_202B_202E_200C_200F_202C_206C_202D_206B_202D_206F_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static uint? _206C_200B_206D_202C_200C_202D_200E_200C_200C_202D_200E_206D_200B_200C_206C_202E_206A_206C_200C_206E_206E_206A_200C_200C_206B_206A_206B_202A_206D_202A_206E_206E_206C_200E_200B_202B_202C_200E_206E_202E(ComplexCombatData P_0) + { + return P_0.NameId; + } + + static uint _206A_206F_206D_206B_200B_200C_206B_202A_200C_202C_206B_206C_202D_200F_206D_206A_200F_202A_200D_206B_200D_202B_200F_206F_202C_202D_200D_200D_200C_206D_200C_200B_206D_202A_206E_206F_200F_206E_202E(ICharacter P_0) + { + return P_0.NameId; + } + + static uint? _206B_206C_200C_200F_200F_206A_200F_202A_206D_206C_202E_202B_202C_202D_202A_206B_206C_200E_206A_202D_202C_206D_202E_206A_200D_200C_200E_206B_206A_206E_200C_200C_206B_202E_202C_206C_202A_200B_206B_206C_202E(ComplexCombatData P_0) + { + return P_0.MinimumKillCount; + } + + static uint? _200F_202D_206D_200B_202D_202C_206E_202B_200B_202B_200D_206E_200D_202E_200C_200C_202E_206E_202E_206A_202D_200D_206A_206D_202A_206F_200F_206A_200D_202E_206E_200B_202B_200F_206D_200E_202C_202C_200E_202D_202E(ComplexCombatData P_0) + { + return P_0.RewardItemId; + } + + static int? _200F_206A_202E_202E_202D_202B_200D_206B_202D_202C_200E_202C_206C_200B_206A_200B_200B_202C_202D_206F_206A_202E_200E_202A_206C_206E_206E_200D_200C_200F_200B_206A_202C_202D_206D_200B_206E_202D_206E_202C_202E(ComplexCombatData P_0) + { + return P_0.RewardItemCount; + } + + static IList _206F_202C_206B_200C_202D_202A_200B_206B_200B_206C_200E_202D_200D_200D_200D_206F_206B_206B_200D_200C_206E_200D_206A_202D_202D_202A_200C_200C_200C_206A_200F_200E_202B_206F_200C_202D_200D_202E_202B_200C_202E(ComplexCombatData P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static IPlayerCharacter _200D_206C_200C_200C_206E_200C_206B_202D_200F_202A_200B_206B_206A_202B_206D_200D_202C_200B_200D_206B_200D_202D_200B_202B_200E_206D_200C_202C_202B_200D_202E_202C_206A_202C_200C_206A_206B_206F_202C_200D_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _200C_202E_206B_200B_202D_206A_202B_200D_200D_200F_200D_202A_206C_202B_200E_200D_202E_206B_200C_200E_200B_200B_206C_200F_202E_200B_200B_202E_206D_200B_200D_200B_200D_200E_202B_206E_202A_206E_206F_200E_202E(IGameObject P_0) + { + return P_0.Position; + } + + static bool _206B_206D_202E_206E_206E_202D_206B_202E_200E_206B_206B_200F_206F_202B_202B_200C_202C_206A_202D_206B_202B_202B_206B_202E_206C_200E_202B_202E_206D_206A_206E_202B_202B_202E_200B_200F_202E_206C_202D_202B_202E(ILogger P_0, LogLevel P_1) + { + return P_0.IsEnabled(P_1); + } + + static SeString _206A_202D_206F_206C_202B_206E_202E_202A_206F_200B_200C_202C_206B_202B_202A_206F_200B_206F_206A_206F_206C_206C_200E_202A_206B_200E_202D_200F_202D_200C_202C_202D_200E_202B_206E_200D_200F_202E_206C_200D_202E(IGameObject P_0) + { + return P_0.Name; + } + + static bool _200C_202E_206C_202E_206E_206A_202E_200C_200C_206F_206E_200B_206B_200D_206A_202B_206F_206E_202B_200C_202A_202C_200C_202A_202C_200B_200E_200F_200E_200F_200D_200B_206A_202E_206F_202C_200D_202E_200D_202D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206C_202A_202A_200D_206B_206C_206F_206F_206E_200C_202E_206E_206A_202A_200F_202B_202C_202D_206E_206D_202C_200F_206E_200F_202D_200E_202D_206F_200D_206C_206D_206A_206F_200D_200B_206E_202A_202E_200F_200D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _202A_202B_202C_200D_200D_200C_202C_206C_202C_202D_200C_202B_206C_202A_206B_206E_200E_202E_202B_206D_200B_202A_206A_206E_200C_200B_200B_200C_200F_206F_200C_206B_200C_200E_202B_206B_202A_200C_202B_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } + + static StatusFlags _200B_200F_200D_200C_206C_206C_206F_200D_206C_200D_200E_200F_206B_202E_200E_200E_200E_206D_206E_206E_202D_202C_200B_202A_206B_206D_206C_202A_200E_206B_206C_206F_202E_206A_206A_206E_202A_200B_202B_206A_202E(ICharacter P_0) + { + return P_0.StatusFlags; + } + + static bool _200C_200D_202B_202E_200C_202C_206E_200F_200E_202A_206A_206C_206D_202B_202E_200D_206F_200F_202B_200D_200B_200C_206E_200F_200C_202C_206B_202A_206F_200F_200F_206B_206D_202B_200D_200F_206C_206C_206F_202A_202E(Enum P_0, Enum P_1) + { + return P_0.HasFlag(P_1); + } + + static ulong _206A_206E_202C_206B_206E_202B_202C_202E_202D_206E_200D_206F_206F_206D_202E_206F_200C_200B_200E_202E_206D_206F_202A_206D_206F_206B_206A_200D_200B_206E_202A_202E_200E_206A_206B_202E_200C_202A_206D_202E(IGameObject P_0) + { + return P_0.TargetObjectId; + } + + static string _206A_206E_200B_200E_202C_202C_206A_200B_206D_200F_206A_200E_200F_202C_206C_206B_200D_202C_202C_200B_200E_206E_200F_200E_200B_200B_206C_200F_202D_202C_200F_206A_206B_202A_200D_202C_200C_206F_206C_206C_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static nint _206B_200C_200E_200B_200C_206A_206F_200E_200C_200B_206C_200E_202B_202C_206E_206A_206A_200E_200F_206C_202B_206C_206A_200B_202C_202C_206D_206F_200D_202E_206F_206F_200D_200F_200F_200F_206D_202A_202A_200D_202E(IGameObject P_0) + { + return P_0.Address; + } + + static bool _206B_202B_206A_202A_206C_206A_206E_202B_206E_206B_202E_206A_200F_206C_200E_202B_200F_202C_206A_202D_200D_202C_202B_200B_200C_206C_202E_206B_202E_200D_200B_206F_206D_202A_206F_200E_202A_200F_206F_206B_202E(ComplexCombatData P_0) + { + return P_0.IgnoreQuestMarker; + } + + static Dalamud.Game.ClientState.Objects.Enums.BattleNpcSubKind _200C_200C_202B_200C_200D_206D_200D_206A_202E_206F_206A_200D_206C_206C_200E_202C_206C_206A_202E_202A_202C_200B_202E_200E_200E_206D_200D_200C_200C_206A_206A_200B_206B_202C_200B_202A_202B_202A_200E_206B_202E(IBattleNpc P_0) + { + return P_0.BattleNpcKind; + } + + static void _202C_202A_206D_202D_202E_202C_200B_202D_200E_202B_202E_206E_200F_200E_206D_206C_200C_200F_206F_200C_200E_202E_202B_206A_202E_206D_200E_206C_206C_200B_206A_202B_202C_202B_202A_206E_206C_202D_202B_202E_202E(ITargetManager P_0, IGameObject P_1) + { + P_0.Target = P_1; + } + + static string _200D_200C_202E_200D_206A_206A_206A_200E_206F_206C_200E_200B_200D_206D_206F_200F_200E_200F_202B_206F_206C_202C_200C_202A_202E_202C_206E_206E_206A_206C_202D_200F_200D_202B_202E_206F_206C_202B_206C_200F_202E(object P_0) + { + return P_0.ToString(); + } + + static float _200C_200B_200C_206F_200D_200E_200E_200D_200D_202D_202B_200B_200D_206B_202C_200D_200E_206B_206D_202D_206B_200C_206D_200D_200D_206C_200C_200F_206A_202E_202C_206A_202B_200F_206C_200B_206E_200B_202B_206A_202E(IGameObject P_0) + { + return P_0.HitboxRadius; + } + + static RowRef _202B_206B_202C_200E_202D_202D_200F_206E_202B_200C_202A_206F_200F_202E_206C_200F_206B_200D_206E_206A_206F_200C_200F_206D_200B_206D_206E_206E_200E_206B_200E_200F_200C_202A_200B_200B_202E_200D_200D_200C_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static float _206F_202A_200E_206D_206C_200B_206B_200F_202B_200D_206E_200E_200E_202E_200F_202C_206E_206E_206B_206E_200F_206E_206E_206D_200B_206E_200E_202C_206A_202A_200E_206F_206A_206F_202A_200F_202B_206F_206D_200D_202E(float P_0, float P_1) + { + return Math.Min(P_0, P_1); + } + + static string _200B_200E_202A_206B_200F_202A_206D_200E_206C_202D_202C_202A_200D_200F_206E_206D_200D_206F_202D_200D_206D_206A_200C_206B_206A_202D_202E_202E_206F_206A_206E_202D_202C_200F_200F_200E_200D_206A_202D_200D_202E(SeString P_0) + { + return P_0.TextValue; + } + + static bool _200D_206E_202E_202D_202D_202D_200E_200F_202A_200B_206A_200E_206B_202D_200E_206E_206F_206C_206C_202B_202E_200C_200B_202E_206F_202D_206B_202D_206B_206E_202A_202D_202E_206F_200F_200B_200C_206A_206F_200D_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static void _206E_206A_206E_206E_202E_200E_200C_206C_200E_206A_200F_202E_206C_200C_202D_200E_206C_200F_200C_202B_206D_202D_200C_206E_200E_206F_202D_206F_206B_200F_202D_206C_206C_200C_202B_206A_206F_206C_200E_202E(IToastGui P_0, IToastGui.OnErrorToastDelegate P_1) + { + P_0.ErrorToast -= P_1; + } + + static void _206C_202D_200D_202E_206B_200D_202D_202E_206F_206A_200E_202C_200B_202D_206E_206F_206E_206C_202E_206E_206E_202E_206B_200F_206D_202C_200B_206F_202E_200D_206B_200D_200F_206F_202C_206E_200E_200C_206D_202B_202E(IClientState P_0, Action P_1) + { + P_0.TerritoryChanged -= P_1; } } diff --git a/Questionable/Questionable.Controller/CommandHandler.cs b/Questionable/Questionable.Controller/CommandHandler.cs index cdbd82c3..07704d85 100644 --- a/Questionable/Questionable.Controller/CommandHandler.cs +++ b/Questionable/Questionable.Controller/CommandHandler.cs @@ -1,7 +1,9 @@ using System; using System.Runtime.CompilerServices; +using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Game.Command; using Dalamud.Plugin.Services; +using LLib.ImGui; using Questionable.Functions; using Questionable.Windows; @@ -29,16 +31,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 +55,8 @@ 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) + [MethodImpl(MethodImplOptions.NoInlining)] + 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,159 +64,581 @@ 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; _clientState = clientState; _configuration = configuration; _changelogWindow = changelogWindow; - _clientState.Logout += OnLogout; + _206F_202A_200D_206C_202E_206D_206D_200F_206B_202A_200D_202D_206F_206D_200E_206F_202A_200C_200E_200F_202B_200E_206F_206A_200F_200D_200D_202D_206B_206F_200D_202D_206C_202C_200E_200B_206B_200E_202C_200D_202E(_clientState, (IClientState.LogoutDelegate)OnLogout); ICommandManager commandManager2 = _commandManager; - CommandInfo commandInfo = new CommandInfo(ProcessCommand); - string separator = Environment.NewLine + "\t"; + string text = global::_003CModule_003E._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(1083379744); + CommandInfo commandInfo = _206E_200B_200D_200C_206A_202B_202E_206D_202C_200E_202D_206E_206B_206D_202B_206C_200E_200E_206D_200E_202D_206F_206A_200D_200F_200C_206B_206E_206A_202B_200B_206D_200D_206C_206E_206D_202E_206D_200B_206C_202E((IReadOnlyCommandInfo.HandlerDelegate)ProcessCommand); + string text2 = _200C_206C_200E_206E_202A_200D_202E_206C_200C_206B_202E_202A_206E_200F_206E_200E_202C_202C_200B_206B_202E_202A_202C_200F_200E_200C_206C_202D_206F_200B_202C_206F_206E_206B_200F_200C_202E_206F_206C_206F_202E(_202D_206E_200B_200B_206B_202E_202D_206B_200F_202A_202A_202D_206C_206C_202E_202C_202B_202B_200F_200F_202A_206E_200C_202B_206D_202D_206D_200C_200C_206E_200B_206B_202D_202C_206F_206C_200C_200E_206C_202D_202E(), global::_003CModule_003E._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(-1365294164)); InlineArray7 buffer = default(InlineArray7); - global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 0) = "Opens the Questing window"; - global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 1) = "/qst help - displays simplified commands"; - global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 2) = "/qst help-all - displays all available commands"; - global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 3) = "/qst config - opens the configuration window"; - global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 4) = "/qst changelog - opens the changelog window"; - global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 5) = "/qst start - starts doing quests"; - global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 6) = "/qst stop - stops doing quests"; - commandInfo.HelpMessage = string.Join(separator, global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, string>(in buffer, 7)); - commandManager2.AddHandler("/qst", commandInfo); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 0) = global::_003CModule_003E._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(2027085169); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 1) = global::_003CModule_003E._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(1094157375); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 2) = global::_003CModule_003E._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(762558285); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 3) = global::_003CModule_003E._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(-86108937); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 4) = global::_003CModule_003E._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(1230176856); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 5) = global::_003CModule_003E._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(112790708); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 6) = global::_003CModule_003E._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(-794498605); + _202C_206D_202E_200C_206E_206C_200E_206D_206E_206F_206A_200F_206C_200E_206B_202A_202C_206D_200D_206E_200B_202B_206B_206B_206D_200F_206E_200F_206D_202D_200D_200E_202B_206A_206E_206F_206C_206F_206A_206F_202E(commandInfo, _206C_200F_206B_206C_200D_202A_202E_206C_200F_206E_206F_202C_206F_202B_206B_200E_200C_206A_202C_200F_206C_206D_200D_200E_202C_202E_206B_202C_200F_200B_206B_206B_206F_200F_202A_206E_200C_200D_206D_200F_202E(text2, global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, string>(in buffer, 7))); + _202E_200E_200C_202D_206B_200F_206B_206D_206E_202B_200D_202B_202E_202D_200C_206C_206F_202A_200B_200D_206F_206B_206A_202B_206F_206E_202D_202E_206B_200D_206D_206C_202D_206B_202E_206B_202E_202B_206B_200E_202E(commandManager2, text, commandInfo); } + [MethodImpl(MethodImplOptions.NoInlining)] private void ProcessCommand(string command, string arguments) { - if (!OpenSetupIfNeeded(arguments)) + int num = ((!_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(_200E_202E_200B_202C_206D_200F_206F_200C_200D_200E_202C_200D_206F_200B_200D_206E_206F_200C_202B_202D_206E_206B_200D_206B_206C_200B_206C_200D_206A_200E_202A_200C_202B_206E_200E_200B_202A_200B_202B_206B_202E(arguments), global::_003CModule_003E._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(356304837))) ? (-1968296446) : (-1968296445)); + char c = default(char); + string text = default(string); + string[] array = default(string[]); + while (true) { - string[] array = arguments.Split(' '); - switch (array[0]) + int num2 = num; + int num3 = -1968296431; + int num4 = num2; + char num5; + char num6; + switch ((num4 | num3) - (num4 & num3)) { - 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 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); + case 50: + num = -1968296366; 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); + case 14: + num = ((c == 'h') ? (-1968296420) : (-1968296390)); break; - case "c": - case "config": - _configWindow.ToggleOrUncollapse(); + case 63: + switch (_206D_200C_206B_206B_206B_206C_200B_200C_202B_200C_200F_206C_206B_200B_206F_202D_202E_206A_200F_200E_200C_200E_200B_206C_206D_206C_206A_206B_202C_206E_206F_202D_206C_200C_206B_202B_202B_202A_200B_200E_202E(text)) + { + case 3: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + goto IL_021b; + case 5: + goto IL_024d; + case 16: + goto IL_0275; + case 6: + goto IL_0313; + case 1: + goto IL_033b; + case 2: + goto IL_0478; + case 8: + goto IL_04f2; + case 9: + goto IL_0579; + case 0: + goto IL_06cc; + case 4: + goto IL_0756; + case 7: + goto IL_07be; + } + num = -1968296367; break; - case "cl": - case "changelog": - _changelogWindow.ToggleOrUncollapse(); + case 45: + _206D_206D_200F_206F_206B_202C_200C_202A_206F_202E_206A_200D_202A_206C_206E_202C_206F_200F_200E_206D_202C_200E_200E_202C_206C_200E_200E_200B_206D_202E_206C_206C_206E_200D_200D_200B_200D_202D_200E_206E_202E((LWindow)_configWindow); + return; + case 31: + goto IL_01f7; + case 34: + num = -1968296366; break; - case "start": - _questWindow.IsOpenAndUncollapsed = true; - _questController.Start("Start command"); + case 61: + num = -1968296366; break; - case "stop": - _movementController.Stop(); - _questController.Stop("Stop command"); - _fateController.Stop("Stop command"); - _seasonalDutyController.Stop("Stop command"); + case 67: + goto IL_021b; + case 6: + goto IL_024d; + case 55: + goto IL_0275; + case 64: + num = -1968296366; break; - case "reload": + case 28: + array = _206D_200E_200D_200B_200C_206D_206E_200E_200B_202D_200C_202A_202C_200D_200E_206B_200B_200B_202D_200C_202E_200B_206E_206B_202C_200E_206D_206D_206C_206F_200C_206A_202E_200E_206A_202E_202A_206C_206B_206F_202E(arguments, ' ', StringSplitOptions.None); + text = array[0]; + num = ((text == null) ? (-1968296366) : (-1968296402)); + break; + case 24: + num = -1968296366; + break; + case 13: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(-452995351)) ? (-1968296442) : (-1968296405)); + break; + case 12: + goto IL_0313; + case 66: + goto IL_033b; + case 36: + num = ((c == 'z') ? (-1968296407) : (-1968296424)); + break; + case 19: + num = ((!OpenSetupIfNeeded(arguments)) ? (-1968296435) : (-1968296438)); + break; + case 52: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(125256215)) ? (-1968296407) : (-1968296397)); + break; + case 5: _questWindow.Reload(); + return; + case 37: + goto IL_03ff; + case 22: + num = -1968296366; break; - case "which": - _questSelectionWindow.OpenForTarget(_targetManager.Target); + case 15: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(-250062108)) ? (-1968296444) : (-1968296385)); break; - case "z": - case "zone": - _questSelectionWindow.OpenForCurrentZone(); + case 39: + num = ((c == 'w') ? (-1968296437) : (-1968296448)); break; - case "j": - case "journal": - _journalProgressWindow.ToggleOrUncollapse(); + case 7: + goto IL_0460; + case 33: + num = -1968296366; break; - case "p": - case "priority": - _priorityWindow.ToggleOrUncollapse(); - break; - case "f": - case "fate": - _fateSelectionWindow.ToggleOrUncollapse(); - break; - case "d": - case "duty": - _seasonalDutySelectionWindow.ToggleOrUncollapse(); - break; - case "handle-interrupt": + case 2: + goto IL_0478; + case 40: _questController.InterruptQueueWithCombat(); + return; + case 47: + num = -1968296366; break; - case "": - _questWindow.ToggleOrUncollapse(); + case 27: + return; + case 44: + num = -1968296366; break; - default: - _chatGui.PrintError("Unknown subcommand " + array[0], "Questionable", 576); + case 57: + goto IL_04c5; + case 16: + goto IL_04f2; + case 56: + _questSelectionWindow.OpenForCurrentZone(); + return; + case 51: + num = ((c == 's') ? (-1968296412) : (-1968296433)); break; + case 46: + num = -1968296366; + break; + case 21: + _200B_202B_200E_206A_206D_202A_200D_200E_206B_200D_206D_200D_202A_206A_200C_200D_206E_200B_200F_200E_206E_202B_200B_202B_206C_206E_202B_202C_206A_200F_206F_206B_206A_206D_200C_206F_206A_200C_202E_206F_202E((LWindow)_questWindow, true); + _questController.Start(global::_003CModule_003E._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(1553553142)); + return; + case 4: + goto IL_0579; + case 8: + num = ((c == 'r') ? (-1968296406) : (-1968296413)); + break; + case 30: + num = ((c == 'z') ? (-1968296411) : (-1968296386)); + break; + case 60: + num = -1968296366; + break; + case 29: + _206D_206D_200F_206F_206B_202C_200C_202A_206F_202E_206A_200D_202A_206C_206E_202C_206F_200F_200E_206D_202C_200E_200E_202C_206C_200E_200E_200B_206D_202E_206C_206C_206E_200D_200D_200B_200D_202D_200E_206E_202E((LWindow)_changelogWindow); + return; + case 1: + _questSelectionWindow.OpenForTarget(_200E_200F_206B_202B_200D_206F_202B_206E_202D_202A_206A_200C_202C_202A_200B_202A_206C_206F_200F_202E_200F_200C_202E_206D_206A_202A_200B_202B_200C_206A_206C_206B_206F_202E_202D_206B_200D_202D_202E_202D_202E(_targetManager)); + return; + case 49: + num = -1968296366; + break; + case 54: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(-1011458983)) ? (-1968296436) : (-1968296421)); + break; + case 11: + goto IL_064e; + case 62: + goto IL_067b; + case 38: + num = -1968296366; + break; + case 10: + num = -1968296366; + break; + case 42: + num = -1968296366; + break; + case 41: + goto IL_06cc; + case 25: + goto IL_06d8; + case 32: + num = -1968296366; + break; + case 43: + num = -1968296366; + break; + case 18: + _200B_202B_200E_206A_206D_202A_200D_200E_206B_200D_206D_200D_202A_206A_200C_200D_206E_200B_200F_200E_206E_202B_200B_202B_206C_206E_202B_202C_206A_200F_206F_206B_206A_206D_200C_206F_206A_200C_202E_206F_202E((LWindow)_oneTimeSetupWindow, true); + return; + case 17: + num = -1968296366; + break; + case 23: + PrintHelp(showAll: true); + return; + case 58: + num = -1968296366; + break; + case 26: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(247506049)) ? (-1968296432) : (-1968296403)); + break; + case 3: + goto IL_0756; + case 59: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(389927297)) ? (-1968296428) : (-1968296400)); + break; + case 48: + goto IL_07be; + case 35: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(247173070)) ? (-1968296388) : (-1968296439)); + break; + case 53: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(-1935052277)) ? (-1968296431) : (-1968296416)); + break; + case 20: + num = -1968296445; + break; + case 0: + _movementController.Stop(); + _questController.Stop(global::_003CModule_003E._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(-1980456505)); + _fateController.Stop(global::_003CModule_003E._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(-1980456505)); + _seasonalDutyController.Stop(global::_003CModule_003E._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(-1980456505)); + _attunementController.Stop(global::_003CModule_003E._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(-841271388)); + _customDeliveryController.Stop(global::_003CModule_003E._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(-1980456505)); + _fishingController.Stop(global::_003CModule_003E._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(-276225839)); + return; + case 65: + num = -1968296366; + break; + case 9: + { + num = -1968296366; + break; + } + IL_0478: + c = _200B_206F_202D_202A_200E_202E_206C_200F_202E_202D_202B_200F_202C_202D_202B_200F_202C_200E_200B_202D_202B_200D_202C_202D_202C_206A_206F_200E_200F_200F_202C_200E_206A_202E_206F_202A_200B_202A_206E_206A_202E(text, 0); + num = ((c == 'c') ? (-1968296409) : (-1968296417)); + break; + IL_024d: + c = _200B_206F_202D_202A_200E_202E_206C_200F_202E_202D_202B_200F_202C_202D_202B_200F_202C_200E_200B_202D_202B_200D_202C_202D_202C_206A_206F_200E_200F_200F_202C_200E_206A_202E_206F_202A_200B_202A_206E_206A_202E(text, 0); + num = ((c == 's') ? (-1968296418) : (-1968296394)); + break; + IL_07be: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(651525904)) ? (-1968296426) : (-1968296399)); + break; + IL_033b: + c = _200B_206F_202D_202A_200E_202E_206C_200F_202E_202D_202B_200F_202C_202D_202B_200F_202C_200E_200B_202D_202B_200D_202C_202D_202C_206A_206F_200E_200F_200F_202C_200E_206A_202E_206F_202A_200B_202A_206E_206A_202E(text, 0); + num5 = c; + num3 = 99; + num4 = num5; + switch (~(~num4 + num3)) + { + case 0: + break; + case 1: + goto IL_01f7; + case 2: + case 4: + case 6: + goto IL_021b; + default: + goto IL_0376; + case 5: + goto IL_03ff; + case 7: + goto IL_0460; + case 3: + goto IL_06d8; + } + goto case 45; + IL_06d8: + _206D_206D_200F_206F_206B_202C_200C_202A_206F_202E_206A_200D_202A_206C_206E_202C_206F_200F_200E_206D_202C_200E_200E_202C_206C_200E_200E_200B_206D_202E_206C_206C_206E_200D_200D_200B_200D_202D_200E_206E_202E((LWindow)_fateSelectionWindow); + return; + IL_0756: + c = _200B_206F_202D_202A_200E_202E_206C_200F_202E_202D_202B_200F_202C_202D_202B_200F_202C_200E_200B_202D_202B_200D_202C_202D_202C_206A_206F_200E_200F_200F_202C_200E_206A_202E_206F_202A_200B_202A_206E_206A_202E(text, 0); + num6 = c; + num3 = 100; + num4 = num6; + switch (~(~num4 + num3)) + { + case 1: + case 3: + break; + case 2: + goto IL_04c5; + case 4: + goto IL_064e; + case 0: + goto IL_067b; + default: + goto IL_0785; + } + goto IL_021b; + IL_0785: + num = -1968296414; + break; + IL_067b: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(-1752048098)) ? (-1968296434) : (-1968296368)); + break; + IL_0460: + _206D_206D_200F_206F_206B_202C_200C_202A_206F_202E_206A_200D_202A_206C_206E_202C_206F_200F_200E_206D_202C_200E_200E_202C_206C_200E_200E_200B_206D_202E_206C_206C_206E_200D_200D_200B_200D_202D_200E_206E_202E((LWindow)_journalProgressWindow); + return; + IL_03ff: + PrintHelp(showAll: false); + return; + IL_064e: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(1436321725)) ? (-1968296396) : (-1968296387)); + break; + IL_0376: + num = -1968296395; + break; + IL_01f7: + _206D_206D_200F_206F_206B_202C_200C_202A_206F_202E_206A_200D_202A_206C_206E_202C_206F_200F_200E_206D_202C_200E_200E_202C_206C_200E_200E_200B_206D_202E_206C_206C_206E_200D_200D_200B_200D_202D_200E_206E_202E((LWindow)_seasonalDutySelectionWindow); + return; + IL_04c5: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(-1573932804)) ? (-1968296440) : (-1968296404)); + break; + IL_0313: + c = _200B_206F_202D_202A_200E_202E_206C_200F_202E_202D_202B_200F_202C_202D_202B_200F_202C_200E_200B_202D_202B_200D_202C_202D_202C_206A_206F_200E_200F_200F_202C_200E_206A_202E_206F_202A_200B_202A_206E_206A_202E(text, 0); + num = ((c == 'c') ? (-1968296398) : (-1968296423)); + break; + IL_06cc: + _206D_206D_200F_206F_206B_202C_200C_202A_206F_202E_206A_200D_202A_206C_206E_202C_206F_200F_200E_206D_202C_200E_200E_202C_206C_200E_200E_200B_206D_202E_206C_206C_206E_200D_200D_200B_200D_202D_200E_206E_202E((LWindow)_questWindow); + return; + IL_0579: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(-1367448256)) ? (-1968296436) : (-1968296441)); + break; + IL_04f2: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(979277832)) ? (-1968296442) : (-1968296389)); + break; + IL_0275: + num = (_202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(text, global::_003CModule_003E._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(-223898377)) ? (-1968296391) : (-1968296393)); + break; + IL_021b: + _200C_206E_202E_206F_206D_206F_200E_206A_206B_206E_206D_202D_206B_206E_206D_200C_206E_206F_206C_206A_202A_200E_202D_206F_202A_200D_202B_206F_200C_202E_206A_200C_200D_206D_200F_202C_206C_206E_206C_206F_202E(_chatGui, _200C_206C_200E_206E_202A_200D_202E_206C_200C_206B_202E_202A_206E_200F_206E_200E_202C_202C_200B_206B_202E_202A_202C_200F_200E_200C_206C_202D_206F_200B_202C_206F_206E_206B_200F_200C_202E_206F_206C_206F_202E(global::_003CModule_003E._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(66928123), array[0]), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + return; } } } - private void ProcessDebugCommand(string command, string arguments) + [MethodImpl(MethodImplOptions.NoInlining)] + private void PrintHelp(bool showAll) { + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(759427951), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(2028773556), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(1094157375), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(944582271), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(-86108937), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(369755883), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(-1199190363), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(-2087796218), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(-1446934470), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(1296112140), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + int num = ((!showAll) ? (-1200394903) : (-1200394902)); + while (true) + { + int num2 = num; + int num3 = -1200394901; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1200394902; + break; + case 3: + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(1602086836), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + num = -1200394897; + break; + case 2: + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(1967115278), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + num = ((!showAll) ? (-1200394897) : (-1200394904)); + break; + case 1: + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(-2039593709), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(-365682793), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(_chatGui, global::_003CModule_003E._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(29170112), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + num = -1200394903; + break; + case 4: + return; + } + } } + [MethodImpl(MethodImplOptions.NoInlining)] private bool OpenSetupIfNeeded(string arguments) { - if (!_configuration.IsPluginSetupComplete()) + int num = (_configuration.IsPluginSetupComplete() ? 6725766 : 6725767); + while (true) { - if (string.IsNullOrEmpty(arguments)) + int num2 = num; + int num3 = 6725766; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _oneTimeSetupWindow.IsOpenAndUncollapsed = true; + case 5: + num = 6725767; + break; + case 0: + return false; + case 4: + _200B_202B_200E_206A_206D_202A_200D_200E_206B_200D_206D_200D_202A_206A_200C_200D_206E_200B_200F_200E_206E_202B_200B_202B_206C_206E_202B_202C_206A_200F_206F_206B_206A_206D_200C_206F_206A_200C_202E_206F_202E((LWindow)_oneTimeSetupWindow, true); + num = 6725764; + break; + case 1: + num = ((!_200C_202B_200F_206D_200D_200C_206E_202D_200F_202D_206E_200B_200C_202B_200B_202D_206C_206E_202D_206E_200F_200B_206C_202A_202D_202D_202A_206E_202C_200F_206F_200D_206F_200D_206E_206E_200C_200B_206E_206E_202E(arguments)) ? 6725765 : 6725762); + break; + case 3: + _200C_206E_202E_206F_206D_206F_200E_206A_206B_206E_206D_202D_206B_206E_206D_200C_206E_206F_206C_206A_202A_200E_202D_206F_202A_200D_202B_206F_200C_202E_206A_200C_200D_206D_200F_202C_206C_206E_206C_206F_202E(_chatGui, global::_003CModule_003E._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(2108279054), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + num = 6725764; + break; + case 2: + return true; } - else - { - _chatGui.PrintError("Please complete the one-time setup first.", "Questionable", 576); - } - return true; } - return false; } private void OnLogout(int type, int code) { } + [MethodImpl(MethodImplOptions.NoInlining)] public void Dispose() { - _commandManager.RemoveHandler("/qst"); - _clientState.Logout -= OnLogout; + _206D_206C_200F_200C_206B_200D_200B_202D_200F_200B_202E_206D_200B_202D_206A_200B_206E_206A_206D_200B_200E_202D_206D_206B_206E_206D_206A_200F_206F_200E_200E_200E_200C_206F_200E_202B_206A_200F_202A_202E_202E(_commandManager, global::_003CModule_003E._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(2086100270)); + _206A_200E_202D_200C_200C_206F_206E_200F_206C_202D_206C_200B_206B_206D_206D_200C_200D_206F_202C_202C_206E_206D_206E_202D_206C_206C_206B_206F_202D_202A_202A_200F_200B_202B_200E_200D_202B_206E_202B_200E_202E(_clientState, (IClientState.LogoutDelegate)OnLogout); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _206F_202A_200D_206C_202E_206D_206D_200F_206B_202A_200D_202D_206F_206D_200E_206F_202A_200C_200E_200F_202B_200E_206F_206A_200F_200D_200D_202D_206B_206F_200D_202D_206C_202C_200E_200B_206B_200E_202C_200D_202E(IClientState P_0, IClientState.LogoutDelegate P_1) + { + P_0.Logout += P_1; + } + + static CommandInfo _206E_200B_200D_200C_206A_202B_202E_206D_202C_200E_202D_206E_206B_206D_202B_206C_200E_200E_206D_200E_202D_206F_206A_200D_200F_200C_206B_206E_206A_202B_200B_206D_200D_206C_206E_206D_202E_206D_200B_206C_202E(IReadOnlyCommandInfo.HandlerDelegate P_0) + { + return new CommandInfo(P_0); + } + + static string _202D_206E_200B_200B_206B_202E_202D_206B_200F_202A_202A_202D_206C_206C_202E_202C_202B_202B_200F_200F_202A_206E_200C_202B_206D_202D_206D_200C_200C_206E_200B_206B_202D_202C_206F_206C_200C_200E_206C_202D_202E() + { + return Environment.NewLine; + } + + static string _200C_206C_200E_206E_202A_200D_202E_206C_200C_206B_202E_202A_206E_200F_206E_200E_202C_202C_200B_206B_202E_202A_202C_200F_200E_200C_206C_202D_206F_200B_202C_206F_206E_206B_200F_200C_202E_206F_206C_206F_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static string _206C_200F_206B_206C_200D_202A_202E_206C_200F_206E_206F_202C_206F_202B_206B_200E_200C_206A_202C_200F_206C_206D_200D_200E_202C_202E_206B_202C_200F_200B_206B_206B_206F_200F_202A_206E_200C_200D_206D_200F_202E(string P_0, ReadOnlySpan P_1) + { + return string.Join(P_0, P_1); + } + + static void _202C_206D_202E_200C_206E_206C_200E_206D_206E_206F_206A_200F_206C_200E_206B_202A_202C_206D_200D_206E_200B_202B_206B_206B_206D_200F_206E_200F_206D_202D_200D_200E_202B_206A_206E_206F_206C_206F_206A_206F_202E(CommandInfo P_0, string P_1) + { + P_0.HelpMessage = P_1; + } + + static bool _202E_200E_200C_202D_206B_200F_206B_206D_206E_202B_200D_202B_202E_202D_200C_206C_206F_202A_200B_200D_206F_206B_206A_202B_206F_206E_202D_202E_206B_200D_206D_206C_202D_206B_202E_206B_202E_202B_206B_200E_202E(ICommandManager P_0, string P_1, CommandInfo P_2) + { + return P_0.AddHandler(P_1, P_2); + } + + static string _200E_202E_200B_202C_206D_200F_206F_200C_200D_200E_202C_200D_206F_200B_200D_206E_206F_200C_202B_202D_206E_206B_200D_206B_206C_200B_206C_200D_206A_200E_202A_200C_202B_206E_200E_200B_202A_200B_202B_206B_202E(string P_0) + { + return P_0.Trim(); + } + + static bool _202D_206B_200B_206E_200B_206A_200D_200D_200B_200C_206B_206A_206B_202E_200E_200B_206A_202E_200C_202C_202E_202E_200B_206A_200C_200B_206C_202C_200F_206F_202B_200C_200E_202E_200D_202C_202E_200F_202C_206F_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static void _200B_202B_200E_206A_206D_202A_200D_200E_206B_200D_206D_200D_202A_206A_200C_200D_206E_200B_200F_200E_206E_202B_200B_202B_206C_206E_202B_202C_206A_200F_206F_206B_206A_206D_200C_206F_206A_200C_202E_206F_202E(LWindow P_0, bool P_1) + { + P_0.IsOpenAndUncollapsed = P_1; + } + + static string[] _206D_200E_200D_200B_200C_206D_206E_200E_200B_202D_200C_202A_202C_200D_200E_206B_200B_200B_202D_200C_202E_200B_206E_206B_202C_200E_206D_206D_206C_206F_200C_206A_202E_200E_206A_202E_202A_206C_206B_206F_202E(string P_0, char P_1, StringSplitOptions P_2) + { + return P_0.Split(P_1, P_2); + } + + static int _206D_200C_206B_206B_206B_206C_200B_200C_202B_200C_200F_206C_206B_200B_206F_202D_202E_206A_200F_200E_200C_200E_200B_206C_206D_206C_206A_206B_202C_206E_206F_202D_206C_200C_206B_202B_202B_202A_200B_200E_202E(string P_0) + { + return P_0.Length; + } + + static char _200B_206F_202D_202A_200E_202E_206C_200F_202E_202D_202B_200F_202C_202D_202B_200F_202C_200E_200B_202D_202B_200D_202C_202D_202C_206A_206F_200E_200F_200F_202C_200E_206A_202E_206F_202A_200B_202A_206E_206A_202E(string P_0, int P_1) + { + return P_0[P_1]; + } + + static void _206D_206D_200F_206F_206B_202C_200C_202A_206F_202E_206A_200D_202A_206C_206E_202C_206F_200F_200E_206D_202C_200E_200E_202C_206C_200E_200E_200B_206D_202E_206C_206C_206E_200D_200D_200B_200D_202D_200E_206E_202E(LWindow P_0) + { + P_0.ToggleOrUncollapse(); + } + + static IGameObject _200E_200F_206B_202B_200D_206F_202B_206E_202D_202A_206A_200C_202C_202A_200B_202A_206C_206F_200F_202E_200F_200C_202E_206D_206A_202A_200B_202B_200C_206A_206C_206B_206F_202E_202D_206B_200D_202D_202E_202D_202E(ITargetManager P_0) + { + return P_0.Target; + } + + static void _200C_206E_202E_206F_206D_206F_200E_206A_206B_206E_206D_202D_206B_206E_206D_200C_206E_206F_206C_206A_202A_200E_202D_206F_202A_200D_202B_206F_200C_202E_206A_200C_200D_206D_200F_202C_206C_206E_206C_206F_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static void _206D_206B_200C_200E_200B_206E_200C_202D_206D_202B_206E_206A_202E_200B_202A_206D_206F_202A_202D_202D_202E_202A_202D_206E_202D_206C_200F_202A_200D_200D_202B_206B_202B_202E_200C_206E_206C_200E_202A_206C_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static bool _200C_202B_200F_206D_200D_200C_206E_202D_200F_202D_206E_200B_200C_202B_200B_202D_206C_206E_202D_206E_200F_200B_206C_202A_202D_202D_202A_206E_202C_200F_206F_200D_206F_200D_206E_206E_200C_200B_206E_206E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _206D_206C_200F_200C_206B_200D_200B_202D_200F_200B_202E_206D_200B_202D_206A_200B_206E_206A_206D_200B_200E_202D_206D_206B_206E_206D_206A_200F_206F_200E_200E_200E_200C_206F_200E_202B_206A_200F_202A_202E_202E(ICommandManager P_0, string P_1) + { + return P_0.RemoveHandler(P_1); + } + + static void _206A_200E_202D_200C_200C_206F_206E_200F_206C_202D_206C_200B_206B_206D_206D_200C_200D_206F_202C_202C_206E_206D_206E_202D_206C_206C_206B_206F_202D_202A_202A_200F_200B_202B_200E_200D_202B_206E_202B_200E_202E(IClientState P_0, IClientState.LogoutDelegate P_1) + { + P_0.Logout -= P_1; } } diff --git a/Questionable/Questionable.Controller/ContextMenuController.cs b/Questionable/Questionable.Controller/ContextMenuController.cs index fca8f7ab..608a885b 100644 --- a/Questionable/Questionable.Controller/ContextMenuController.cs +++ b/Questionable/Questionable.Controller/ContextMenuController.cs @@ -1,19 +1,25 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Game.Gui.ContextMenu; using Dalamud.Game.Text; +using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.UI; using FFXIVClientStructs.FFXIV.Client.UI.Agent; +using FFXIVClientStructs.FFXIV.Component.GUI; using LLib.GameData; using LLib.GameUI; +using LLib.Shop; +using Lumina.Excel; +using Lumina.Excel.Sheets; using Microsoft.Extensions.Logging; using Questionable.Data; using Questionable.Functions; -using Questionable.GameStructs; using Questionable.Model; using Questionable.Model.Gathering; using Questionable.Model.Questing; @@ -22,6 +28,39 @@ namespace Questionable.Controller; internal sealed class ContextMenuController : IDisposable { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__16_0; + + public static Func _003C_003E9__16_1; + + public static Func _003C_003E9__16_2; + + internal bool _003CStartGathering_003Eb__16_0(IQuestInfo x) + { + return x is SatisfactionSupplyInfo; + } + + internal bool _003CStartGathering_003Eb__16_1(QuestStep x) + { + return _200D_202A_206C_200F_200E_202D_206F_206E_200D_200E_200F_202B_206A_206C_202B_202E_206C_206B_200F_206E_202D_202D_202E_206F_202D_200B_206F_202B_200F_200C_206A_206C_202C_202E_202C_200C_206B_206C_200C_206A_202E(x) == EInteractionType.SwitchClass; + } + + internal bool _003CStartGathering_003Eb__16_2(QuestStep x) + { + return _200D_202A_206C_200F_200E_202D_206F_206E_200D_200E_200F_202B_206A_206C_202B_202E_206C_206B_200F_206E_202D_202D_202E_206F_202D_200B_206F_202B_200F_200C_206A_206C_202C_202E_202C_200C_206B_206C_200C_206A_202E(x) == EInteractionType.Gather; + } + + static EInteractionType _200D_202A_206C_200F_200E_202D_206F_206E_200D_200E_200F_202B_206A_206C_202B_202E_206C_206B_200F_206E_202D_202D_202E_206F_202D_200B_206F_202B_200F_200C_206A_206C_202C_202E_202C_200C_206B_206C_200C_206A_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + } + private readonly IContextMenu _contextMenu; private readonly QuestController _questController; @@ -42,13 +81,11 @@ 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, GatheringPointRegistry gatheringPointRegistry, GatheringData gatheringData, QuestRegistry questRegistry, QuestData questData, GameFunctions gameFunctions, QuestFunctions questFunctions, IGameGui gameGui, IChatGui chatGui, IObjectTable objectTable, ILogger logger) { _contextMenu = contextMenu; _questController = questController; @@ -60,164 +97,508 @@ internal sealed class ContextMenuController : IDisposable _questFunctions = questFunctions; _gameGui = gameGui; _chatGui = chatGui; - _clientState = clientState; _objectTable = objectTable; _logger = logger; - _contextMenu.OnMenuOpened += MenuOpened; + _200F_206F_200F_206C_202E_200D_206B_206E_200B_206A_202A_206E_202C_200F_200B_206D_200C_206E_206F_202B_202E_202C_200C_206A_200C_206E_202D_200C_200F_200E_202A_202C_206E_206A_200B_206C_206F_202D_200D_202A_202E(_contextMenu, (IContextMenu.OnMenuOpenedDelegate)MenuOpened); } + [MethodImpl(MethodImplOptions.NoInlining)] private void MenuOpened(IMenuOpenedArgs args) { - if (args.AddonName != null) + int num = ((_206F_200E_206E_206C_206D_206E_206C_202B_202C_206C_200D_202D_200D_202C_206D_206F_200C_202C_200D_202E_200E_202C_206A_200E_202D_202B_202B_202D_200D_206F_206B_206A_202A_200E_202B_206D_206E_206D_206B_206B_202E((IMenuArgs)args) == null) ? (-1062811854) : (-1062811842)); + uint num6 = default(uint); + uint npcId = default(uint); + while (true) { - return; - } - uint num = GetHoveredSatisfactionSupplyItemId(); - if (num == 0) - { - _logger.LogTrace("Ignoring context menu, no item hovered"); - return; - } - if (num > 1000000) - { - num -= 1000000; - } - if (num >= 500000) - { - num -= 500000; - } - if (_gatheringData.TryGetCustomDeliveryNpc(num, out var npcId)) - { - 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); + int num2 = num; + int num3 = -1062811852; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + AddContextMenuEntry(args, num6, npcId, EClassJob.Miner, global::_003CModule_003E._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(-1250223418)); + AddContextMenuEntry(args, num6, npcId, EClassJob.Botanist, global::_003CModule_003E._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(-1145016567)); + return; + case 9: + _206F_200F_202B_206E_200F_200B_202E_202C_200D_202A_206B_206C_202D_202C_202C_200D_206D_202A_200F_200D_202E_206B_202D_200B_202E_202A_202E_202C_206A_200E_202D_206B_206D_200C_206E_206D_200C_200D_206E_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1140543498), Array.Empty()); + return; + case 3: + num = ((!_gatheringData.TryGetCustomDeliveryNpc(num6, out npcId)) ? (-1062811856) : (-1062811852)); + break; + case 7: + { + uint num7 = num6; + num3 = 500000; + num4 = (int)num7; + num6 = (uint)(~(~num4 + num3)); + num = -1062811849; + break; + } + case 5: + num = ((num6 < 500000) ? (-1062811849) : (-1062811853)); + break; + case 6: + num6 = GetHoveredSatisfactionSupplyItemId(); + num = ((num6 != 0) ? (-1062811851) : (-1062811843)); + break; + case 1: + num = ((num6 <= 1000000) ? (-1062811855) : (-1062811844)); + break; + case 10: + return; + case 4: + _206C_206A_200B_202B_202B_206D_200C_200B_206F_206B_200B_200B_200B_206D_206B_202A_202D_202C_206E_202C_206C_206D_200C_206D_206D_206D_200D_206E_202C_206F_202D_202E_202A_206B_202A_200C_206D_206C_200D_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-965966202), new object[1] { num6 }); + return; + case 8: + { + uint num5 = num6; + num3 = 1000000; + num4 = (int)num5; + num6 = (uint)(~(~num4 + num3)); + num = -1062811855; + break; + } + case 2: + num = -1062811842; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe uint GetHoveredSatisfactionSupplyItemId() { AgentSatisfactionSupply* ptr = AgentSatisfactionSupply.Instance(); - if (ptr == null || !ptr->IsAgentActive()) + int num = ((ptr == null) ? (-247318127) : (-247318126)); + int hoveredElementIndex = default(int); + AddonSatisfactionSupply* addonPtr = default(AddonSatisfactionSupply*); + while (true) { - return 0u; - } - if (_gameGui.TryGetAddonByName("SatisfactionSupply", out var addonPtr) && LAddon.IsAddonReady(&addonPtr->AtkUnitBase)) - { - int hoveredElementIndex = addonPtr->HoveredElementIndex; - if (hoveredElementIndex >= 0 && hoveredElementIndex <= 2) + int num2 = num; + int num3 = -247318122; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 0: + hoveredElementIndex = addonPtr->HoveredElementIndex; + num = ((hoveredElementIndex < 0) ? (-247318114) : (-247318125)); + break; + case 4: + num = (ptr->IsAgentActive() ? (-247318121) : (-247318127)); + break; + case 7: + return 0u; + case 8: + return 0u; + case 2: + num = -247318126; + break; + case 6: return ptr->Items[addonPtr->HoveredElementIndex].Id; + case 3: + num = ((!_200F_206B_200B_202D_200D_206B_202A_200F_202A_200D_202B_202C_202B_206D_202D_202C_202C_202A_200F_200E_200C_202D_200D_202D_206E_202A_200D_200C_206F_200F_206A_200E_202A_206D_206B_200B_202E_206C_200C_202D_202E(&addonPtr->AtkUnitBase)) ? (-247318114) : (-247318122)); + break; + case 1: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(1921233017), out addonPtr)) ? (-247318114) : (-247318123)); + break; + case 5: + num = ((hoveredElementIndex > 2) ? (-247318114) : (-247318128)); + break; } } - return 0u; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void AddContextMenuEntry(IMenuOpenedArgs args, uint itemId, uint npcId, EClassJob classJob, string verb) { - if (!(_objectTable[0] is ICharacter { ClassJob: var classJob2 })) + ICharacter character = _200F_206F_202D_200D_202D_202C_206E_200B_206A_206F_202A_206C_202E_206F_202C_200C_202A_200E_200D_200C_206C_202B_202B_200E_202C_202C_206B_206D_202E_206E_206D_202B_200C_200C_206F_206D_202A_200B_200B_206C_202E(_objectTable); + int num = ((character != null) ? (-1338961886) : (-1338961880)); + bool flag2 = default(bool); + AgentSatisfactionSupply* ptr = default(AgentSatisfactionSupply*); + SatisfactionSupplyActions.NpcState npcState = default(SatisfactionSupplyActions.NpcState); + string text2 = default(string); + int quantityToGather = default(int); + string text = default(string); + ushort collectability = default(ushort); + bool flag = default(bool); + EClassJob rowId = default(EClassJob); + while (true) { - 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 num2 = num; + int num3 = -1338961879; + int num4 = num2; + int num5; + int num6; + switch ((num4 | num3) - (num4 & num3)) { - int maxTurnIns = ((ptr->NpcInfo.SatisfactionRank == 1) ? 3 : 6); - quantityToGather = Math.Min(ptr->NpcData.RemainingAllowances, ((AgentSatisfactionSupply2*)ptr)->CalculateTurnInsToNextRank(maxTurnIns)); + case 16: + flag2 = true; + num = -1338961860; + break; + case 3: + { + uint id = ptr->NpcInfo.Id; + num3 = 1; + num4 = (int)id; + npcState = _200F_206E_206E_206C_206B_202B_202A_206F_200F_206C_206A_200C_206E_206E_206E_202B_206B_206D_200C_206A_200F_206E_206F_200D_206F_200F_202E_202C_202E_202A_202C_200E_202C_200C_200E_206C_206A_202B_202D_206B_202E(~(~num4 + num3)); + num = ((ptr->NpcInfo.SatisfactionRank == 1) ? (-1338961874) : (-1338961864)); + break; } - string text = string.Empty; - if (!_questFunctions.IsClassJobUnlocked(classJob)) + case 20: + num = ((!_gameFunctions.IsOccupied()) ? (-1338961877) : (-1338961862)); + break; + case 0: { - text = $"{classJob} not unlocked"; + num = (_gatheringPointRegistry.TryGetGatheringPointId(itemId, classJob, out GatheringPointId _) ? (-1338961882) : (-1338961875)); + break; } - else if (quantityToGather == 0) + case 12: + text2 = string.Empty; + num = (_questFunctions.IsClassJobUnlocked(classJob) ? (-1338961873) : (-1338961861)); + break; + case 1: + return; + case 6: + num = ((quantityToGather != 0) ? (-1338961884) : (-1338961881)); + break; + case 25: + return; + case 19: + text2 = global::_003CModule_003E._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(-631894183); + num = -1338961877; + break; + case 5: + flag2 = false; + num = -1338961860; + break; + case 23: + return; + case 2: + text = _202B_206C_206F_202D_202C_206C_206C_206C_200E_206B_202C_206A_200F_206A_206F_200C_200C_200E_206E_202E_200B_200F_206F_206D_206C_206D_206E_200E_202A_206A_202D_202B_206F_200F_206D_200E_202A_200B_200C_200E_202E(verb, global::_003CModule_003E._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(-608478114)); + num = (_200D_206D_206D_202B_202D_200E_202D_200D_200B_200D_200D_202C_206C_206F_206B_202C_200D_202C_202C_202B_200C_202B_206E_202E_206E_200C_202A_200B_206C_200F_202E_206D_200C_200E_202C_206A_202B_206E_200B_202E_202E(text2) ? (-1338961888) : (-1338961885)); + break; + case 9: { - 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 + MenuItem menuItem = _206C_200F_200F_202C_202B_206F_206B_202A_202A_206D_202E_206E_206E_200C_200F_206E_200E_206A_202D_202A_206E_206A_202C_206E_202C_200E_202A_206A_200B_200B_202E_200F_202C_200D_202C_206E_200C_202B_206F_206C_202E(); + _200F_202B_206E_202E_200E_202E_206B_202A_206D_202C_206B_202C_206C_202B_202A_206A_202A_200C_202B_200B_200F_206D_202B_200D_200E_202D_200E_206B_202C_200B_206C_200F_206D_200E_202E_200C_200E_202B_200F_202C_202E(menuItem, (SeIconChar?)SeIconChar.Hyadelyn); + _202A_206C_200E_206B_206C_206C_206E_200C_200E_202C_202E_200C_200F_206D_202E_200C_202E_206C_202A_202E_200F_206B_206A_202D_206B_200F_200D_200C_200D_200D_206E_200C_200C_200E_200C_206B_200D_202C_202E(menuItem, (ushort)52); + _200E_206C_206D_202C_206A_200D_206A_202C_202D_202C_202E_200E_200C_200B_202A_202C_200C_206B_206E_206B_200F_200B_206A_206C_206F_206E_206F_200B_202C_200B_200C_200B_206F_206E_200B_200D_206B_206C_202A_200E_202E(menuItem, _202D_206A_202C_206F_202B_202B_206B_206B_206F_202A_202E_206C_202A_202B_206D_200F_206D_206E_206F_202B_200D_202D_202D_206F_200D_200F_202E_206B_202D_200E_200D_206F_206B_202C_200B_200D_206C_206F_206B_202C_202E(text)); + _202C_206D_200F_202E_200F_200B_206A_200F_202B_206A_202B_206C_206E_202A_206E_202D_206D_200F_202B_206E_206B_206E_200D_200C_200E_200C_200D_200F_200E_206F_202D_206F_206D_206A_206D_206F_200D_202D_202D_202C_202E(menuItem, (Action)delegate { StartGathering(npcId, itemId, quantityToGather, collectability, classJob); - }, - IsEnabled = string.IsNullOrEmpty(text) - }); + }); + _206E_202A_202E_200F_202D_200D_202B_202D_206C_202B_200E_202B_206D_202B_202E_202C_200E_202D_200D_200C_202E_200D_202D_202C_200E_202A_206D_200C_202C_206C_206B_202C_200B_202A_202C_200C_200C_206B_206E_206A_202E(menuItem, _200D_206D_206D_202B_202D_200E_202D_200D_200B_200D_200D_202C_206C_206F_206B_202C_200D_202C_202C_202B_200C_202B_206E_202E_206E_200C_202A_200B_206C_200F_202E_206D_200C_200E_202C_206A_202B_206E_200B_202E_202E(text2)); + _200E_202A_200E_200B_202C_200E_206E_200C_206B_206E_202B_202E_206C_200D_200B_200D_202B_206F_200C_202D_202A_200D_200E_206E_206B_206C_202A_206A_202B_202B_206D_206D_206A_206E_206A_202D_202C_202E_200C_206E_202E(args, menuItem); + return; + } + case 7: + num5 = 3; + goto IL_0299; + case 15: + collectability = _gatheringData.GetRecommendedCollectability(itemId); + num = ((collectability != 0) ? (-1338961870) : (-1338961858)); + break; + case 4: + _206C_206A_200B_202B_202B_206D_200C_200B_206F_206B_200B_200B_200B_206D_206B_202A_202D_202C_206E_202C_206C_206D_200C_206D_206D_206D_200D_206E_202C_206F_202D_202E_202A_206B_202A_200C_206D_206C_200D_202C_202E((ILogger)_logger, global::_003CModule_003E._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(956356199), new object[1] { classJob }); + return; + case 14: + text2 = global::_003CModule_003E._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(782238798); + num = -1338961877; + break; + case 18: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(13, 1); + defaultInterpolatedStringHandler.AppendFormatted(classJob); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(162231008)); + text2 = defaultInterpolatedStringHandler.ToStringAndClear(); + num = -1338961877; + break; + } + case 24: + text2 = global::_003CModule_003E._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(-1616176717); + num = -1338961877; + break; + case 8: + num = ((!flag) ? (-1338961879) : (-1338961872)); + break; + case 17: + num5 = 6; + goto IL_0299; + case 10: + text = _206E_200F_206C_202A_206A_206D_200B_202D_200F_202E_206C_206E_200B_200E_202A_206D_200C_206D_202A_206F_202C_202D_202C_200E_200B_202B_202A_200E_202D_206A_202D_202A_200D_202E_202C_202A_200F_200D_206B_206C_202E(text, global::_003CModule_003E._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(-1495931675), text2, global::_003CModule_003E._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(1735737295)); + num = -1338961888; + break; + case 27: + quantityToGather = 6; + ptr = AgentSatisfactionSupply.Instance(); + num = ((!ptr->IsAgentActive()) ? (-1338961883) : (-1338961878)); + break; + case 26: + num = -1338961880; + break; + case 21: + flag = flag2; + num = -1338961887; + break; + case 22: + num = ((rowId - 16 > EClassJob.Gladiator) ? (-1338961876) : (-1338961863)); + break; + case 11: + rowId = (EClassJob)_200B_206E_202D_206D_200F_200C_200D_206B_202D_200F_202B_206A_206F_200F_200E_202B_200E_206D_202C_202E_206C_206F_200B_200E_200E_206D_200F_202C_200E_206D_206D_202E_202C_200F_200E_206C_200F_202A_202D_206C_202E(character).RowId; + flag = classJob != rowId; + num = ((!flag) ? (-1338961887) : (-1338961857)); + break; + case 13: + { + num = ((quantityToGather <= _gameFunctions.GetFreeInventorySlots()) ? (-1338961859) : (-1338961871)); + break; + } + IL_0299: + num6 = num5; + quantityToGather = _206E_202E_206A_206F_200F_206B_206E_206F_202A_200C_200B_206A_200C_206D_206E_200E_200E_206A_200B_200D_202C_202E_200E_202C_206E_206E_202A_206B_206A_206B_200F_206B_206B_206A_202B_202D_206F_206E_206C_206C_202E((int)ptr->NpcData.RemainingAllowances, _200B_206A_202A_202D_202C_206C_202D_202C_206D_202E_200F_206C_202D_206F_202A_206C_206D_206E_202E_200D_202C_202D_206F_206E_200C_200F_202C_206F_206A_200F_206A_206D_206C_200B_202D_206A_200F_202D_200E_200F_202E((ushort)npcState.SatisfactionCurrent, (ushort)npcState.SatisfactionMax, num6)); + num = -1338961883; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] 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)) + Questionable.Model.Quest quest; + int num = ((!_questRegistry.TryGetQuest(satisfactionSupplyInfo.QuestId, out quest)) ? (-1785451051) : (-1785451044)); + EExtendedClassJob eExtendedClassJob = default(EExtendedClassJob); + QuestStep questStep = default(QuestStep); + QuestSequence questSequence = default(QuestSequence); + while (true) { - QuestSequence questSequence = quest.FindSequence(0); - QuestStep questStep = questSequence.Steps.Single((QuestStep x) => x.InteractionType == EInteractionType.SwitchClass); - questStep.TargetClass = classJob switch + int num2 = num; + int num3 = -1785451052; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - 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 + case 3: + num = -1785451050; + break; + case 0: + eExtendedClassJob = EExtendedClassJob.Miner; + num = -1785451056; + break; + case 5: + num = -1785451044; + break; + case 4: { - ItemId = itemId, - ItemCount = quantity, - Collectability = collectability - }; - questStep2.ItemsToGather = list; - _questController.SetGatheringQuest(quest); - _questController.StartGatheringQuest("SatisfactionSupply prepare gathering"); - } - else - { - _chatGui.PrintError($"No associated quest ({satisfactionSupplyInfo.QuestId}).", "Questionable"); + _206E_206F_200D_202A_206B_202D_202A_206C_202E_200D_200B_200C_202D_206E_206E_202A_202B_206C_202B_200D_200C_200D_200B_206D_206D_200B_202C_202A_206E_200D_200D_202A_206D_206E_202A_202E_206E_202A_206A_206F_202E(questStep, eExtendedClassJob); + QuestStep questStep2 = _202D_202E_202E_200D_206D_206F_206E_200E_200E_206D_206D_202C_200B_206C_206D_206F_206D_206E_200E_206E_206B_202A_202E_206E_202C_202C_202B_202E_206A_206A_206F_200B_202D_206C_202A_200D_202C_200F_206E_202B_202E(questSequence).Single((QuestStep x) => _003C_003Ec._200D_202A_206C_200F_200E_202D_206F_206E_200D_200E_200F_202B_206A_206C_202B_202E_206C_206B_200F_206E_202D_202D_202E_206F_202D_200B_206F_202B_200F_200C_206A_206C_202C_202E_202C_200C_206B_206C_200C_206A_202E(x) == EInteractionType.Gather); + int num5 = 1; + List list = new List(num5); + CollectionsMarshal.SetCount(list, num5); + ref GatheredItem reference = ref CollectionsMarshal.AsSpan(list)[0]; + GatheredItem gatheredItem = _206A_206F_200E_200E_206A_206E_202B_202B_206F_200B_200F_206E_200B_206E_200C_200E_206C_202C_202D_206A_202E_200E_206C_206D_202C_200B_206C_206C_202D_206E_200D_202C_200B_202D_200E_200F_202C_206E_206A_200C_202E(); + _202D_200F_206F_202A_200F_202E_206C_206B_200F_200C_202C_206C_200D_202E_202D_202A_206A_200B_206F_206F_200B_200B_200E_202E_200E_206C_202A_202D_202A_206B_206A_202D_200E_206A_202C_202C_206D_200B_202B_206A_202E(gatheredItem, itemId); + _202C_200B_200D_206C_206A_202C_202A_206D_202C_206F_200B_200D_206F_202E_206E_202E_206D_206B_200F_202A_202A_206F_200C_202A_206E_200B_202D_206C_206A_206C_206C_206E_206F_206D_206E_200F_202D_200D_200C_200E_202E(gatheredItem, quantity); + _206A_206C_200E_206B_206D_200D_200B_200F_200F_202C_206F_200E_200C_206F_202B_206D_206B_202C_206F_202D_206F_202A_202B_206B_206C_200C_206C_202A_200E_200C_200F_200C_202C_206D_202C_206B_206B_206B_200F_206B_202E(gatheredItem, collectability); + reference = gatheredItem; + _206A_200B_202E_202E_206F_202C_206A_206C_206B_202A_200D_202A_206D_202C_202A_202C_202A_202C_202A_206F_202C_202D_200C_206F_200D_206C_202E_206E_206E_200E_200D_206E_206B_200C_206A_202A_200B_200F_202C_206B_202E(questStep2, list); + _questController.SetGatheringQuest(quest); + _questController.StartGatheringQuest(global::_003CModule_003E._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(1798633897)); + return; + } + case 8: + questSequence = quest.FindSequence(0); + questStep = _202D_202E_202E_200D_206D_206F_206E_200E_200E_206D_206D_202C_200B_206C_206D_206F_206D_206E_200E_206E_206B_202A_202E_206E_202C_202C_202B_202E_206A_206A_206F_200B_202D_206C_202A_200D_202C_200F_206E_202B_202E(questSequence).Single((QuestStep x) => _003C_003Ec._200D_202A_206C_200F_200E_202D_206F_206E_200D_200E_200F_202B_206A_206C_202B_202E_206C_206B_200F_206E_202D_202D_202E_206F_202D_200B_206F_202B_200F_200C_206A_206C_202C_202E_202C_200C_206B_206C_200C_206A_202E(x) == EInteractionType.SwitchClass); + num = ((classJob == EClassJob.Miner) ? (-1785451052) : (-1785451054)); + break; + case 2: + throw _206E_206B_202C_206A_200C_200E_202A_206A_200B_206F_202D_200D_200B_200E_200C_200F_206A_200E_200B_200D_202D_202A_200D_200D_202E_206F_206E_202E_202B_202A_202A_202E_206E_206B_206F_206C_202A_200C_200D_202C_202E(global::_003CModule_003E._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(688705615), (object)classJob, (string)null); + case 6: + num = ((classJob == EClassJob.Botanist) ? (-1785451053) : (-1785451049)); + break; + case 1: + { + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(23, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1157681140)); + defaultInterpolatedStringHandler.AppendFormatted(satisfactionSupplyInfo.QuestId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(126419176)); + _202C_206D_206D_206D_206E_202C_206A_202A_200E_200C_206E_206F_206F_200F_200E_206A_200D_200F_200C_200D_206E_200B_202C_200C_206D_206C_200C_200F_206E_206F_202D_202D_206E_206A_206F_206E_206E_206F_200B_202C_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + return; + } + case 7: + eExtendedClassJob = EExtendedClassJob.Botanist; + num = -1785451056; + break; + } } } public void Dispose() { - _contextMenu.OnMenuOpened -= MenuOpened; + _202E_202B_202D_200F_206F_206B_200D_200B_200D_202C_206C_200F_200B_206B_202E_200D_206C_200E_206E_200B_200D_200D_202B_206A_200B_206E_206D_206B_202C_206D_200D_206B_206C_202E_200E_200E_206E_200C_200E_206A_202E(_contextMenu, (IContextMenu.OnMenuOpenedDelegate)MenuOpened); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _200F_206F_200F_206C_202E_200D_206B_206E_200B_206A_202A_206E_202C_200F_200B_206D_200C_206E_206F_202B_202E_202C_200C_206A_200C_206E_202D_200C_200F_200E_202A_202C_206E_206A_200B_206C_206F_202D_200D_202A_202E(IContextMenu P_0, IContextMenu.OnMenuOpenedDelegate P_1) + { + P_0.OnMenuOpened += P_1; + } + + static string _206F_200E_206E_206C_206D_206E_206C_202B_202C_206C_200D_202D_200D_202C_206D_206F_200C_202C_200D_202E_200E_202C_206A_200E_202D_202B_202B_202D_200D_206F_206B_206A_202A_200E_202B_206D_206E_206D_206B_206B_202E(IMenuArgs P_0) + { + return P_0.AddonName; + } + + static void _206F_200F_202B_206E_200F_200B_202E_202C_200D_202A_206B_206C_202D_202C_202C_200D_206D_202A_200F_200D_202E_206B_202D_200B_202E_202A_202E_202C_206A_200E_202D_206B_206D_200C_206E_206D_200C_200D_206E_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static void _206C_206A_200B_202B_202B_206D_200C_200B_206F_206B_200B_200B_200B_206D_206B_202A_202D_202C_206E_202C_206C_206D_200C_206D_206D_206D_200D_206E_202C_206F_202D_202E_202A_206B_202A_200C_206D_206C_200D_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + unsafe static bool _200F_206B_200B_202D_200D_206B_202A_200F_202A_200D_202B_202C_202B_206D_202D_202C_202C_202A_200F_200E_200C_202D_200D_202D_206E_202A_200D_200C_206F_200F_206A_200E_202A_206D_206B_200B_202E_206C_200C_202D_202E(AtkUnitBase* P_0) + { + return LAddon.IsAddonReady(P_0); + } + + static IPlayerCharacter _200F_206F_202D_200D_202D_202C_206E_200B_206A_206F_202A_206C_202E_206F_202C_200C_202A_200E_200D_200C_206C_202B_202B_200E_202C_202C_206B_206D_202E_206E_206D_202B_200C_200C_206F_206D_202A_200B_200B_206C_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static RowRef _200B_206E_202D_206D_200F_200C_200D_206B_202D_200F_202B_206A_206F_200F_200E_202B_200E_206D_202C_202E_206C_206F_200B_200E_200E_206D_200F_202C_200E_206D_206D_202E_202C_200F_200E_206C_200F_202A_202D_206C_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static SatisfactionSupplyActions.NpcState _200F_206E_206E_206C_206B_202B_202A_206F_200F_206C_206A_200C_206E_206E_206E_202B_206B_206D_200C_206A_200F_206E_206F_200D_206F_200F_202E_202C_202E_202A_202C_200E_202C_200C_200E_206C_206A_202B_202D_206B_202E(int P_0) + { + return SatisfactionSupplyActions.GetNpcState(P_0); + } + + static int _200B_206A_202A_202D_202C_206C_202D_202C_206D_202E_200F_206C_202D_206F_202A_206C_206D_206E_202E_200D_202C_202D_206F_206E_200C_200F_202C_206F_206A_200F_206A_206D_206C_200B_202D_206A_200F_202D_200E_200F_202E(ushort P_0, ushort P_1, int P_2) + { + return SatisfactionSupplyHelper.CalculateTurnInsToNextRank(P_0, P_1, P_2); + } + + static int _206E_202E_206A_206F_200F_206B_206E_206F_202A_200C_200B_206A_200C_206D_206E_200E_200E_206A_200B_200D_202C_202E_200E_202C_206E_206E_202A_206B_206A_206B_200F_206B_206B_206A_202B_202D_206F_206E_206C_206C_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static string _202B_206C_206F_202D_202C_206C_206C_206C_200E_206B_202C_206A_200F_206A_206F_200C_200C_200E_206E_202E_200B_200F_206F_206D_206C_206D_206E_200E_202A_206A_202D_202B_206F_200F_206D_200E_202A_200B_200C_200E_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _200D_206D_206D_202B_202D_200E_202D_200D_200B_200D_200D_202C_206C_206F_206B_202C_200D_202C_202C_202B_200C_202B_206E_202E_206E_200C_202A_200B_206C_200F_202E_206D_200C_200E_202C_206A_202B_206E_200B_202E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string _206E_200F_206C_202A_206A_206D_200B_202D_200F_202E_206C_206E_200B_200E_202A_206D_200C_206D_202A_206F_202C_202D_202C_200E_200B_202B_202A_200E_202D_206A_202D_202A_200D_202E_202C_202A_200F_200D_206B_206C_202E(string P_0, string P_1, string P_2, string P_3) + { + return P_0 + P_1 + P_2 + P_3; + } + + static MenuItem _206C_200F_200F_202C_202B_206F_206B_202A_202A_206D_202E_206E_206E_200C_200F_206E_200E_206A_202D_202A_206E_206A_202C_206E_202C_200E_202A_206A_200B_200B_202E_200F_202C_200D_202C_206E_200C_202B_206F_206C_202E() + { + return new MenuItem(); + } + + static void _200F_202B_206E_202E_200E_202E_206B_202A_206D_202C_206B_202C_206C_202B_202A_206A_202A_200C_202B_200B_200F_206D_202B_200D_200E_202D_200E_206B_202C_200B_206C_200F_206D_200E_202E_200C_200E_202B_200F_202C_202E(MenuItem P_0, SeIconChar? P_1) + { + P_0.Prefix = P_1; + } + + static void _202A_206C_200E_206B_206C_206C_206E_200C_200E_202C_202E_200C_200F_206D_202E_200C_202E_206C_202A_202E_200F_206B_206A_202D_206B_200F_200D_200C_200D_200D_206E_200C_200C_200E_200C_206B_200D_202C_202E(MenuItem P_0, ushort P_1) + { + P_0.PrefixColor = P_1; + } + + static SeString _202D_206A_202C_206F_202B_202B_206B_206B_206F_202A_202E_206C_202A_202B_206D_200F_206D_206E_206F_202B_200D_202D_202D_206F_200D_200F_202E_206B_202D_200E_200D_206F_206B_202C_200B_200D_206C_206F_206B_202C_202E(string P_0) + { + return P_0; + } + + static void _200E_206C_206D_202C_206A_200D_206A_202C_202D_202C_202E_200E_200C_200B_202A_202C_200C_206B_206E_206B_200F_200B_206A_206C_206F_206E_206F_200B_202C_200B_200C_200B_206F_206E_200B_200D_206B_206C_202A_200E_202E(MenuItem P_0, SeString P_1) + { + P_0.Name = P_1; + } + + static void _202C_206D_200F_202E_200F_200B_206A_200F_202B_206A_202B_206C_206E_202A_206E_202D_206D_200F_202B_206E_206B_206E_200D_200C_200E_200C_200D_200F_200E_206F_202D_206F_206D_206A_206D_206F_200D_202D_202D_202C_202E(MenuItem P_0, Action P_1) + { + P_0.OnClicked = P_1; + } + + static void _206E_202A_202E_200F_202D_200D_202B_202D_206C_202B_200E_202B_206D_202B_202E_202C_200E_202D_200D_200C_202E_200D_202D_202C_200E_202A_206D_200C_202C_206C_206B_202C_200B_202A_202C_200C_200C_206B_206E_206A_202E(MenuItem P_0, bool P_1) + { + P_0.IsEnabled = P_1; + } + + static void _200E_202A_200E_200B_202C_200E_206E_200C_206B_206E_202B_202E_206C_200D_200B_200D_202B_206F_200C_202D_202A_200D_200E_206E_206B_206C_202A_206A_202B_202B_206D_206D_206A_206E_206A_202D_202C_202E_200C_206E_202E(IMenuOpenedArgs P_0, MenuItem P_1) + { + P_0.AddMenuItem(P_1); + } + + static List _202D_202E_202E_200D_206D_206F_206E_200E_200E_206D_206D_202C_200B_206C_206D_206F_206D_206E_200E_206E_206B_202A_202E_206E_202C_202C_202B_202E_206A_206A_206F_200B_202D_206C_202A_200D_202C_200F_206E_202B_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static ArgumentOutOfRangeException _206E_206B_202C_206A_200C_200E_202A_206A_200B_206F_202D_200D_200B_200E_200C_200F_206A_200E_200B_200D_202D_202A_200D_200D_202E_206F_206E_202E_202B_202A_202A_202E_206E_206B_206F_206C_202A_200C_200D_202C_202E(string P_0, object P_1, string P_2) + { + return new ArgumentOutOfRangeException(P_0, P_1, P_2); + } + + static void _206E_206F_200D_202A_206B_202D_202A_206C_202E_200D_200B_200C_202D_206E_206E_202A_202B_206C_202B_200D_200C_200D_200B_206D_206D_200B_202C_202A_206E_200D_200D_202A_206D_206E_202A_202E_206E_202A_206A_206F_202E(QuestStep P_0, EExtendedClassJob P_1) + { + P_0.TargetClass = P_1; + } + + static GatheredItem _206A_206F_200E_200E_206A_206E_202B_202B_206F_200B_200F_206E_200B_206E_200C_200E_206C_202C_202D_206A_202E_200E_206C_206D_202C_200B_206C_206C_202D_206E_200D_202C_200B_202D_200E_200F_202C_206E_206A_200C_202E() + { + return new GatheredItem(); + } + + static void _202D_200F_206F_202A_200F_202E_206C_206B_200F_200C_202C_206C_200D_202E_202D_202A_206A_200B_206F_206F_200B_200B_200E_202E_200E_206C_202A_202D_202A_206B_206A_202D_200E_206A_202C_202C_206D_200B_202B_206A_202E(GatheredItem P_0, uint P_1) + { + P_0.ItemId = P_1; + } + + static void _202C_200B_200D_206C_206A_202C_202A_206D_202C_206F_200B_200D_206F_202E_206E_202E_206D_206B_200F_202A_202A_206F_200C_202A_206E_200B_202D_206C_206A_206C_206C_206E_206F_206D_206E_200F_202D_200D_200C_200E_202E(GatheredItem P_0, int P_1) + { + P_0.ItemCount = P_1; + } + + static void _206A_206C_200E_206B_206D_200D_200B_200F_200F_202C_206F_200E_200C_206F_202B_206D_206B_202C_206F_202D_206F_202A_202B_206B_206C_200C_206C_202A_200E_200C_200F_200C_202C_206D_202C_206B_206B_206B_200F_206B_202E(GatheredItem P_0, ushort P_1) + { + P_0.Collectability = P_1; + } + + static void _206A_200B_202E_202E_206F_202C_206A_206C_206B_202A_200D_202A_206D_202C_202A_202C_202A_202C_202A_206F_202C_202D_200C_206F_200D_206C_202E_206E_206E_200E_200D_206E_206B_200C_206A_202A_200B_200F_202C_206B_202E(QuestStep P_0, List P_1) + { + P_0.ItemsToGather = P_1; + } + + static void _202C_206D_206D_206D_206E_202C_206A_202A_200E_200C_206E_206F_206F_200F_200E_206A_200D_200F_200C_200D_206E_200B_202C_200C_206D_206C_200C_200F_206E_206F_202D_202D_206E_206A_206F_206E_206E_206F_200B_202C_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static void _202E_202B_202D_200F_206F_206B_200D_200B_200D_202C_206C_200F_200B_206B_202E_200D_206C_200E_206E_200B_200D_200D_202B_206A_200B_206E_206D_206B_202C_206D_200D_206B_206C_202E_200E_200E_206E_200C_200E_206A_202E(IContextMenu P_0, IContextMenu.OnMenuOpenedDelegate P_1) + { + P_0.OnMenuOpened -= P_1; } } diff --git a/Questionable/Questionable.Controller/CustomDeliveryController.cs b/Questionable/Questionable.Controller/CustomDeliveryController.cs new file mode 100644 index 00000000..0222d701 --- /dev/null +++ b/Questionable/Questionable.Controller/CustomDeliveryController.cs @@ -0,0 +1,1981 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; +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.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 + { + int num = ((State == EDeliveryState.Idle) ? (-1281083645) : (-1281083648)); + while (true) + { + int num2 = num; + int num3 = -1281083646; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return State != EDeliveryState.Complete; + case 0: + goto IL_0057; + } + continue; + IL_0057: + num = -1281083648; + } + } + } + + public TaskQueue TaskQueue => _taskQueue; + + public string StatusLabel + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + int num; + string result = default(string); + switch (State) + { + default: + num = -508730957; + goto IL_002e; + case EDeliveryState.WaitingForCraft: + num = (_taskQueue.AllTasksComplete ? (-508730960) : (-508730949)); + goto IL_002e; + case EDeliveryState.WaitingForFish: + goto IL_00ed; + case EDeliveryState.Executing: + goto IL_0103; + case EDeliveryState.TurningIn: + goto IL_011b; + case EDeliveryState.WaitingForGather: + goto IL_0131; + IL_002e: + while (true) + { + int num2 = num; + int num3 = -508730958; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + string text; + switch (num5 - (num6 + num6)) + { + case 8: + result = State.ToString(); + num = -508730956; + break; + case 2: + text = global::_003CModule_003E._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(-1784684541); + goto IL_00a5; + case 0: + num = -508730957; + break; + case 1: + num = -508730950; + break; + case 4: + goto end_IL_002e; + case 10: + goto IL_00ed; + case 5: + goto IL_0103; + case 6: + return result; + case 7: + goto IL_011b; + case 3: + goto IL_0131; + case 9: + { + text = global::_003CModule_003E._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(-1578293826); + goto IL_00a5; + } + IL_00a5: + result = text; + num = -508730956; + break; + } + continue; + end_IL_002e: + break; + } + goto case EDeliveryState.WaitingForCraft; + IL_0131: + result = global::_003CModule_003E._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(-679143176); + num = -508730956; + goto IL_002e; + IL_011b: + result = global::_003CModule_003E._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(-40294992); + num = -508730956; + goto IL_002e; + IL_0103: + result = global::_003CModule_003E._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(-1193075895); + num = -508730956; + goto IL_002e; + IL_00ed: + result = global::_003CModule_003E._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(1591061420); + num = -508730956; + goto IL_002e; + } + } + } + + public string? CurrentNpcName + { + get + { + int num = (IsRunning ? 1877176914 : 1877176913); + while (true) + { + int num2 = num; + int num3 = 1877176912; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0048; + case 2: + return _npcNames.GetValueOrDefault(_npcIndex); + case 1: + return null; + } + continue; + IL_0048: + num = 1877176913; + } + } + } + + 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); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool Start(int npcIndex, EDeliverySlot slot) + { + int num = ((State == EDeliveryState.Idle) ? 1558967416 : 1558967423); + DeliveryPlan deliveryPlan = default(DeliveryPlan); + while (true) + { + int num2 = num; + int num3 = 1558967420; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = 1558967423; + break; + case 2: + _npcIndex = npcIndex; + _slot = slot; + _craftRetryCount = 0; + _pendingCraftRecipe = null; + _currentCraftRecipe = null; + _pendingGatherClass = null; + _pendingFishingStart = false; + _usedDeliveriesAtPlan = _202A_202E_202A_206B_202E_200F_206D_206B_206A_206C_200D_202A_200B_202D_202A_202A_202B_202E_206C_202C_202D_200F_200B_206A_202E_206D_202B_200D_206E_202A_202B_202E_200C_200D_202B_202A_206D_202C_200E_206D_202E(npcIndex).UsedDeliveries; + CurrentPlan = deliveryPlan; + State = EDeliveryState.Executing; + _202E_200D_206F_206E_200C_202B_200C_206C_206A_200B_202C_202D_206E_202C_200B_202C_206D_200B_206D_202A_200C_202C_202C_202D_202A_202C_200F_206E_206B_206F_206A_206A_200B_206A_206A_206C_206F_206A_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-579070225), new object[4] { npcIndex, slot, deliveryPlan.ItemId, deliveryPlan.DeliveryCount }); + PopulateTaskQueue(deliveryPlan); + return State != EDeliveryState.Idle; + case 3: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-649056096), new object[1] { State }); + return false; + case 5: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(1536407158), Array.Empty()); + return false; + case 4: + num = ((_202C_200C_200D_200D_200E_202A_206C_200B_206B_200F_206E_200C_200F_200C_202C_206F_206C_200B_206C_206A_202C_202E_206E_200F_206A_200B_206E_202B_206E_200C_202D_200F_206F_200D_202B_200D_202D_200E_206A_206F_202E() >= 1) ? 1558967420 : 1558967417); + break; + case 1: + _202E_200D_206F_206E_200C_202B_200C_206C_206A_200B_202C_202D_206E_202C_200B_202C_206D_200B_206D_202A_200C_202C_202C_202D_202A_202C_200F_206E_206B_206F_206A_206A_200B_206A_206A_206C_206F_206A_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1447098461), new object[2] { npcIndex, slot }); + return false; + case 0: + deliveryPlan = _plannerService.CreatePlan(npcIndex, slot); + num = ((deliveryPlan != null) ? 1558967422 : 1558967421); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool StartQueue() + { + int num = ((_configuration.CustomDeliveries.DeliveryQueue.Count != 0) ? (-1159488106) : (-1159488105)); + while (true) + { + int num2 = num; + int num3 = -1159488108; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((State == EDeliveryState.Idle) ? (-1159488111) : (-1159488107)); + break; + case 3: + _202E_200D_206F_206E_200C_202B_200C_206C_206A_200B_202C_202D_206E_202C_200B_202C_206D_200B_206D_202A_200C_202C_202C_202D_202A_202C_200F_206E_206B_206F_206A_206A_200B_206A_206A_206C_206F_206A_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1122948588), Array.Empty()); + return false; + case 4: + num = -1159488105; + break; + case 6: + Stop(global::_003CModule_003E._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(-1825662693)); + num = -1159488108; + break; + case 2: + num = ((State != EDeliveryState.Complete) ? (-1159488108) : (-1159488110)); + break; + case 1: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(2040498905), new object[1] { State }); + return false; + case 5: + return StartNextFromQueue(); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool StartNextFromQueue() + { + List deliveryQueue = _configuration.CustomDeliveries.DeliveryQueue; + int num = ((deliveryQueue.Count <= 0) ? (-1711174098) : (-1711174104)); + int num5 = default(int); + EDeliverySlot? eDeliverySlot = default(EDeliverySlot?); + while (true) + { + int num2 = num; + int num3 = -1711174102; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _202E_200D_206F_206E_200C_202B_200C_206C_206A_200B_202C_202D_206E_202C_200B_202C_206D_200B_206D_202A_200C_202C_202C_202D_202A_202C_200F_206E_206B_206F_206A_206A_200B_206A_206A_206C_206F_206A_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1175276050), new object[2] { num5, eDeliverySlot.Value }); + num = ((!Start(num5, eDeliverySlot.Value)) ? (-1711174098) : (-1711174103)); + break; + case 7: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(116687394), new object[1] { deliveryQueue.Count }); + return false; + case 1: + _202E_200D_206F_206E_200C_202B_200C_206C_206A_200B_202C_202D_206E_202C_200B_202C_206D_200B_206D_202A_200C_202C_202C_202D_202A_202C_200F_206E_206B_206F_206A_206A_200B_206A_206A_206C_206F_206A_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(560717448), new object[1] { num5 }); + num = -1711174098; + break; + case 2: + num = ((_202C_200C_200D_200D_200E_202A_206C_200B_206B_200F_206E_200C_200F_200C_202C_206F_206C_200B_206C_206A_202C_202E_206E_200F_206A_200B_206E_202B_206E_200C_202D_200F_206F_200D_202B_200D_202D_200E_206A_206F_202E() >= 1) ? (-1711174098) : (-1711174099)); + break; + case 5: + num5 = deliveryQueue[0]; + deliveryQueue.RemoveAt(0); + eDeliverySlot = _plannerService.AutoSelectSlot(num5, _artisanIpc, _autoHookIpc); + num = (eDeliverySlot.HasValue ? (-1711174102) : (-1711174101)); + break; + case 8: + num = -1711174104; + break; + case 4: + num = ((deliveryQueue.Count > 0) ? (-1711174097) : (-1711174100)); + break; + case 3: + return true; + case 6: + _202E_200D_206F_206E_200C_202B_200C_206C_206A_200B_202C_202D_206E_202C_200B_202C_206D_200B_206D_202A_200C_202C_202C_202D_202A_202C_200F_206E_206B_206F_206A_206A_200B_206A_206A_206C_206F_206A_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-904612651), Array.Empty()); + return false; + } + } + } + + private void PopulateTaskQueue(DeliveryPlan plan) + { + _taskQueue.Reset(); + _pendingGatherClass = null; + _pendingFishingStart = false; + IngredientPlan current = default(IngredientPlan); + int num2; + VendorResolverService.RecipeInfo? pendingCraftRecipe = default(VendorResolverService.RecipeInfo?); + switch (plan.Slot) + { + default: + num2 = -771458333; + goto IL_0043; + case EDeliverySlot.Craft: + num2 = ((!HasEnoughItems(plan)) ? (-771458334) : (-771458335)); + goto IL_0043; + 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; + } + IL_0043: + while (true) + { + int num = num2; + int num3 = -771458335; + int num4 = num; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 1: + break; + case 2: + return; + case 4: + goto IL_009c; + case 0: + State = EDeliveryState.TurningIn; + EnqueueTurnInSequence(plan); + return; + case 3: + { + Dictionary<(uint, uint), (ushort, Vector3, int, List)> dictionary = new Dictionary<(uint, uint), (ushort, Vector3, int, List)>(); + IEnumerator enumerator = plan.IngredientPlans.GetEnumerator(); + try + { + num2 = -764308056; + while (true) + { + int num5 = num2; + num3 = -764308051; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 3: + { + VendorResolverService.VendorInfo value = current.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(current.ItemId, current.ToBuy)); + num2 = -764308056; + break; + } + case 2: + num2 = ((!current.Vendor.HasValue) ? (-764308056) : (-764308050)); + break; + case 4: + current = enumerator.Current; + num2 = ((current.ToBuy <= 0) ? (-764308056) : (-764308049)); + break; + case 5: + num2 = (_202D_200D_202B_200E_202C_206B_202A_206C_200F_206E_206E_206D_200E_206A_202B_202D_202A_200F_202B_200B_206D_200B_200D_200B_200F_200C_200D_200C_202D_206F_206C_200D_202A_202E_206F_200F_202B_206E_200F_200D_202E((IEnumerator)enumerator) ? (-764308055) : (-764308052)); + break; + case 0: + num2 = -764308056; + break; + case 1: + goto end_IL_00d6; + } + continue; + end_IL_00d6: + break; + } + } + finally + { + num2 = ((enumerator == null) ? 1364346553 : 1364346554); + while (true) + { + int num8 = num2; + num3 = 1364346552; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num2 = 1364346554; + break; + case 2: + _202B_202D_206D_206B_202B_206A_200E_202C_202A_206B_200E_206A_200C_206A_206A_200F_202C_202C_206C_200D_200E_200C_206E_206E_202D_202D_200F_206C_202C_202B_202B_206F_202E_200E_202D_206E_200B_202D_200F_202C_202E((IDisposable)enumerator); + num2 = 1364346553; + break; + case 1: + goto end_IL_023f; + } + continue; + end_IL_023f: + break; + } + } + using (Dictionary<(uint, uint), (ushort, Vector3, int, List)>.Enumerator enumerator2 = dictionary.GetEnumerator()) + { + num2 = 1462776817; + while (true) + { + int num11 = num2; + num3 = 1462776818; + num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num2 = 1462776817; + break; + case 3: + num2 = (enumerator2.MoveNext() ? 1462776816 : 1462776819); + break; + case 2: + var (tuple3, tuple4) = (KeyValuePair<(uint, uint), (ushort, Vector3, int, List)>)(ref enumerator2.Current); + 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)); + num2 = 1462776817; + break; + case 1: + goto end_IL_02a1; + } + continue; + end_IL_02a1: + break; + } + } + (EClassJob Job, VendorResolverService.RecipeInfo? Recipe) tuple7 = ResolveCrafterClass(plan.ItemId); + EClassJob item = tuple7.Job; + VendorResolverService.RecipeInfo? item2 = tuple7.Recipe; + num2 = (item2.HasValue ? (-746319838) : (-746319839)); + while (true) + { + int num12 = num2; + num3 = -746319837; + num4 = num12; + int num13; + VendorResolverService.RecipeInfo? recipeInfo; + EClassJob classJob; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num13 = (int)pendingCraftRecipe.GetValueOrDefault().CraftingClass; + goto IL_0487; + case 2: + recipeInfo = plan.Recipe; + goto IL_0455; + case 0: + num2 = -746319839; + break; + case 1: + recipeInfo = item2; + goto IL_0455; + case 5: + num13 = 8; + goto IL_0487; + case 4: + num13 = (int)item; + goto IL_0487; + case 6: + { + num2 = (pendingCraftRecipe.HasValue ? (-746319840) : (-746319834)); + break; + } + IL_0487: + classJob = (EClassJob)num13; + _taskQueue.Enqueue(new SwitchClassJob.Task(classJob)); + _pendingCraftRecipe = pendingCraftRecipe; + State = EDeliveryState.WaitingForCraft; + return; + IL_0455: + pendingCraftRecipe = recipeInfo; + num2 = ((item != EClassJob.Adventurer) ? (-746319833) : (-746319835)); + break; + } + } + } + } + break; + IL_009c: + num2 = -771458333; + } + goto case EDeliverySlot.Craft; + } + } + + private (EClassJob Job, VendorResolverService.RecipeInfo? Recipe) ResolveCrafterClass(uint craftedItemId) + { + Configuration.CustomDeliveryConfiguration customDeliveries = _configuration.CustomDeliveries; + int num = ((customDeliveries.CraftJobMode != Configuration.CustomDeliveryConfiguration.EJobSelectionMode.Current) ? (-60646193) : (-60646205)); + VendorResolverService.RecipeInfo? item3 = default(VendorResolverService.RecipeInfo?); + VendorResolverService.RecipeInfo? item2 = default(VendorResolverService.RecipeInfo?); + EClassJob value = default(EClassJob); + uint? num7 = default(uint?); + VendorResolverService.RecipeInfo? item = default(VendorResolverService.RecipeInfo?); + while (true) + { + int num2 = num; + int num3 = -60646201; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return (Job: item3.Value.CraftingClass, Recipe: item3); + case 1: + return (Job: item2.Value.CraftingClass, Recipe: item2); + case 8: + item3 = _vendorResolver.ResolveRecipe(craftedItemId, customDeliveries.PreferredCraftJob); + num = ((!item3.HasValue) ? (-60646194) : (-60646204)); + break; + case 6: + item2 = _vendorResolver.ResolveRecipe(craftedItemId, value); + num = ((!item2.HasValue) ? (-60646193) : (-60646202)); + break; + case 5: + value = (EClassJob)num7.Value; + num = ((!_206A_200B_206F_202E_200B_206C_206F_202C_202D_202E_206F_206A_202A_202C_200F_206D_206C_200C_206A_206C_206D_202D_206C_202A_206B_200E_200D_200D_200F_200F_206C_206F_202C_202E_206E_206F_206C_206C_200E_202C_202E(value)) ? (-60646193) : (-60646207)); + break; + case 4: + { + IPlayerCharacter playerCharacter = _200D_206F_206F_206D_200B_202C_202C_202A_200C_200D_206D_206A_202D_202C_202A_206A_200F_206D_202C_200E_200C_200C_202D_206E_202C_202D_200D_202B_206E_202C_206E_206B_202A_206E_200D_206A_202A_200C_202D_202A_202E(_objectTable); + num7 = ((playerCharacter != null) ? new uint?(_206D_206E_206C_202B_206F_206A_206E_200F_200D_206D_206A_206B_206E_202E_200B_206C_206E_200B_206E_200C_202E_200D_200D_206F_202A_200E_206F_200B_200C_200E_202C_206C_200D_200D_206D_202A_202A_200F_202E_206B_202E((ICharacter)playerCharacter).RowId) : ((uint?)null)); + num = ((!num7.HasValue) ? (-60646193) : (-60646206)); + break; + } + case 2: + num = -60646205; + break; + case 0: + return (Job: item.Value.CraftingClass, Recipe: item); + case 9: + item = _vendorResolver.ResolveRecipe(craftedItemId); + num = (item.HasValue ? (-60646201) : (-60646208)); + break; + case 7: + return (Job: EClassJob.Adventurer, Recipe: null); + } + } + } + + private EClassJob ResolveGathererClass(uint itemId) + { + Configuration.CustomDeliveryConfiguration customDeliveries = _configuration.CustomDeliveries; + int num = ((customDeliveries.GatherJobMode != Configuration.CustomDeliveryConfiguration.EJobSelectionMode.Current) ? 1963293825 : 1963293838); + EClassJob value = default(EClassJob); + EClassJob eClassJob = default(EClassJob); + uint? num7 = default(uint?); + while (true) + { + int num2 = num; + int num3 = 1963293831; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num8; + switch (num5 - (num6 + num6)) + { + case 1: + num8 = 16; + goto IL_0185; + case 8: + num = ((customDeliveries.PreferredGatherJob == EClassJob.Miner) ? 1963293836 : 1963293830); + break; + case 0: + num = 1963293838; + break; + case 5: + return EClassJob.Miner; + case 3: + num = ((!CanGather(value)) ? 1963293825 : 1963293829); + break; + case 12: + return customDeliveries.PreferredGatherJob; + case 6: + num = ((!CanGather(customDeliveries.PreferredGatherJob)) ? 1963293839 : 1963293835); + break; + case 10: + return eClassJob; + case 7: + num = ((value != EClassJob.Botanist) ? 1963293825 : 1963293828); + break; + case 4: + value = (EClassJob)num7.Value; + num = ((value == EClassJob.Miner) ? 1963293828 : 1963293824); + break; + case 11: + num8 = 17; + goto IL_0185; + case 2: + return value; + case 9: + { + IPlayerCharacter playerCharacter = _200D_206F_206F_206D_200B_202C_202C_202A_200C_200D_206D_206A_202D_202C_202A_206A_200F_206D_202C_200E_200C_200C_202D_206E_202C_202D_200D_202B_206E_202C_206E_206B_202A_206E_200D_206A_202A_200C_202D_202A_202E(_objectTable); + num7 = ((playerCharacter != null) ? new uint?(_206D_206E_206C_202B_206F_206A_206E_200F_200D_206D_206A_206B_206E_202E_200B_206C_206E_200B_206E_200C_202E_200D_200D_206F_202A_200E_206F_200B_200C_200E_202C_206C_200D_200D_206D_202A_202A_200F_202E_206B_202E((ICharacter)playerCharacter).RowId) : ((uint?)null)); + num = ((!num7.HasValue) ? 1963293825 : 1963293827); + break; + } + IL_0185: + eClassJob = (EClassJob)num8; + num = ((!CanGather(eClassJob)) ? 1963293826 : 1963293837); + break; + } + } + bool CanGather(EClassJob job) + { + GatheringPointId gatheringPointId; + return _gatheringPointRegistry.TryGetGatheringPointId(itemId, job, out gatheringPointId); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool EnqueueGatheringTravel(DeliveryPlan plan, EClassJob gathererClass) + { + int num = ((!_gatheringPointRegistry.TryGetGatheringPointId(plan.ItemId, gathererClass, out GatheringPointId gatheringPointId)) ? (-450669058) : (-450669062)); + GatheringRoot gatheringRoot = default(GatheringRoot); + int num7; + while (true) + { + int num2 = num; + int num3 = -450669058; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 5: + num = ((_206A_206D_202E_200F_202C_200C_206A_200B_202A_202A_206E_206E_200B_200E_206D_202E_202B_200E_200B_202B_202C_206B_202C_202B_202D_206E_200B_206D_200F_206D_202D_200F_202C_206E_200E_202A_206B_202B_206C_202B_202E(gatheringRoot).Count > 0) ? (-450669060) : (-450669057)); + continue; + case 1: + num7 = 0; + break; + case 3: + num = -450669062; + continue; + case 0: + _206C_200C_202C_206F_200F_200F_200E_200E_206E_202C_200E_206C_206D_206C_200B_200C_200E_202D_200E_202B_202B_200C_202D_206F_200B_202D_202D_206F_206C_200E_202D_206B_200F_206B_206E_200B_206B_202A_206E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(1361509608), new object[2] { plan.ItemId, gathererClass }); + Stop(global::_003CModule_003E._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(699795007)); + return false; + case 4: + num = (_gatheringPointRegistry.TryGetGatheringPoint(gatheringPointId, out gatheringRoot) ? (-450669061) : (-450669058)); + continue; + case 2: + { + List list = _206A_206D_202E_200F_202C_200C_206A_200B_202A_202A_206E_206E_200B_200E_206D_202E_202B_200E_200B_202B_202C_206B_202C_202B_202D_206E_200B_206D_200F_206D_202D_200F_202C_206E_200E_202A_206B_202B_206C_202B_202E(gatheringRoot); + num7 = _200D_200C_206C_206F_206C_206C_200E_202A_200C_200E_202C_206F_200E_200E_200C_206A_202D_202A_206C_202D_206A_200C_206E_202A_200C_206D_200F_206A_206F_200E_206E_200C_202C_200D_206F_206B_200F_202A_200F_202C_202E(list[list.Count - 1]); + break; + } + } + break; + } + ushort num8 = (ushort)num7; + GatheringLocation gatheringLocation = null; + int num9 = int.MaxValue; + GatheringNode current = default(GatheringNode); + foreach (GatheringNodeGroup item in _206C_206D_206D_206B_202E_206E_200C_202C_206C_200D_206E_202E_202B_200E_206E_200F_206F_206F_202C_202C_206F_200B_206C_202D_206C_200E_206A_206F_200B_206F_202A_200D_206C_206C_202A_206F_202D_200E_206A_206B_202E(gatheringRoot)) + { + using List.Enumerator enumerator2 = _200D_206C_202B_202D_200E_206F_200C_202E_202B_200E_206C_202B_200F_200F_206B_206D_200C_200C_202E_206C_202D_202B_202D_202C_206C_200D_202A_206E_202B_206C_202B_206B_200D_206D_202E_202A_206A_202A_206D_202A_202E(item).GetEnumerator(); + num = 1988846971; + while (true) + { + int num10 = num; + int num3 = 1988846968; + int num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 1: + num = ((_206B_206D_202A_200B_206A_206C_206E_206A_202B_202A_206D_200D_202A_202A_200E_200F_202D_206A_200B_202B_202B_200C_202D_206E_206A_200D_206A_206E_202D_202B_206B_206F_202C_206B_200B_200F_206D_206A_200B_202D_202E(current).Count >= num9) ? 1988846971 : 1988846968); + break; + case 3: + num = (enumerator2.MoveNext() ? 1988846973 : 1988846970); + break; + case 4: + num = 1988846971; + break; + case 0: + num9 = _206B_206D_202A_200B_206A_206C_206E_206A_202B_202A_206D_200D_202A_202A_200E_200F_202D_206A_200B_202B_202B_200C_202D_206E_206A_200D_206A_206E_202D_202B_206B_206F_202C_206B_200B_200F_206D_206A_200B_202D_202E(current).Count; + gatheringLocation = _206B_206D_202A_200B_206A_206C_206E_206A_202B_202A_206D_200D_202A_202A_200E_200F_202D_206A_200B_202B_202B_200C_202D_206E_206A_200D_206A_206E_202D_202B_206B_206F_202C_206B_200B_200F_206D_206A_200B_202D_202E(current)[0]; + num = 1988846971; + break; + case 5: + current = enumerator2.Current; + num = ((_206B_206D_202A_200B_206A_206C_206E_206A_202B_202A_206D_200D_202A_202A_200E_200F_202D_206A_200B_202B_202B_200C_202D_206E_206A_200D_206A_206E_202D_202B_206B_206F_202C_206B_200B_200F_206D_206A_200B_202D_202E(current).Count == 0) ? 1988846971 : 1988846969); + break; + case 2: + goto end_IL_0174; + } + continue; + end_IL_0174: + break; + } + } + num = ((gatheringLocation != null) ? 2137928922 : 2137928923); + Vector3? vector = default(Vector3?); + QuestStep current2 = default(QuestStep); + while (true) + { + int num13 = num; + int num3 = 2137928920; + int num4 = num13; + Vector3? obj; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + num = 2137928923; + continue; + case 3: + obj = null; + goto IL_031a; + case 2: + obj = _202E_200F_202C_206E_202A_200F_206B_202C_202C_206C_206E_202D_206E_200F_202E_202B_200E_206C_202C_202E_206B_206A_206E_206F_200C_202E_200C_202C_200D_200E_206D_200B_202A_200E_206E_202A_206E_206E_202C_206F_202E(gatheringLocation).Item1; + goto IL_031a; + case 1: + { + using (List.Enumerator enumerator3 = _206A_206D_202E_200F_202C_200C_206A_200B_202A_202A_206E_206E_200B_200E_206D_202E_202B_200E_200B_202B_202C_206B_202C_202B_202D_206E_200B_206D_200F_206D_202D_200F_202C_206E_200E_202A_206B_202B_206C_202B_202E(gatheringRoot).GetEnumerator()) + { + num = 1403664943; + while (true) + { + int num14 = num; + num3 = 1403664942; + num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 1403664943; + break; + case 0: + vector = _206D_202C_206D_206E_200D_202A_200B_200F_206F_202D_200D_206D_206E_202B_206A_206F_202E_206E_202B_200D_206C_206E_206E_206E_202C_202E_206C_202C_206C_202D_200C_206F_202B_200C_202A_206F_200B_200F_206F_206C_202E(current2); + num = 1403664943; + break; + case 1: + num = (enumerator3.MoveNext() ? 1403664941 : 1403664940); + break; + case 3: + current2 = enumerator3.Current; + num = ((!_206D_202C_206D_206E_200D_202A_200B_200F_206F_202D_200D_206D_206E_202B_206A_206F_202E_206E_202B_200D_206C_206E_206E_206E_202C_202E_206C_202C_206C_202D_200C_206F_202B_200C_202A_206F_200B_200F_206F_206C_202E(current2).HasValue) ? 1403664943 : 1403664942); + break; + case 2: + goto end_IL_034d; + } + continue; + end_IL_034d: + break; + } + } + break; + } + IL_031a: + vector = obj; + if (!vector.HasValue) + { + num = 2137928921; + continue; + } + break; + } + break; + } + num = ((num8 == 0) ? 2083946218 : 2083946219); + while (true) + { + int num15 = num; + int num3 = 2083946222; + int num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _206C_200C_202C_206F_200F_200F_200E_200E_206E_202C_200E_206C_206D_206C_200B_200C_200E_202D_200E_202B_202B_200C_202D_206F_200B_202D_202D_206F_206C_200E_202D_206B_200F_206B_206E_200B_206B_202A_206E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-292255565), new object[2] + { + _202C_206F_202D_206E_200D_200B_206A_200E_202B_206C_206F_202D_206B_206C_202C_206C_200C_206E_200E_200D_202D_206F_202A_206F_206A_202C_206F_206C_206B_206F_200E_200D_206D_202E_200D_202B_206D_206B_200E_206F_202E(_clientState), + num8 + }); + Stop(global::_003CModule_003E._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(1723437266)); + return false; + case 7: + _202D_206D_202D_200F_200C_202A_202A_202A_200E_202E_200D_200C_202C_200F_200F_202A_202A_200B_202C_200B_200F_200F_200E_206E_206D_206A_206C_206F_200D_202B_200E_206E_206E_202A_202B_202B_200E_202C_206F_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1244741154), new object[1] { num8 }); + num = 2083946221; + break; + case 0: + num = 2083946219; + break; + case 4: + _206C_200C_202C_206F_200F_200F_200E_200E_206E_202C_200E_206C_206D_206C_200B_200C_200E_202D_200E_202B_202B_200C_202D_206F_200B_202D_202D_206F_206C_200E_202D_206B_200F_206B_206E_200B_206B_202A_206E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(1962177128), new object[1] { gatheringPointId }); + Stop(global::_003CModule_003E._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(719367743)); + return false; + case 2: + _202D_206D_202D_200F_200C_202A_202A_202A_200E_202E_200D_200C_202C_200F_200F_202A_202A_200B_202C_200B_200F_200F_200E_206E_206D_206A_206C_206F_200D_202B_200E_206E_206E_202A_202B_202B_200E_202C_206F_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-726261913), new object[2] { gatheringPointId, num8 }); + num = ((_202C_206F_202D_206E_200D_200B_206A_200E_202B_206C_206F_202D_206B_206C_202C_206C_200C_206E_200E_200D_202D_206F_202A_206F_206A_202C_206F_206C_206B_206F_200E_200D_206D_202E_200D_202B_206D_206B_200E_206F_202E(_clientState) == num8) ? 2083946217 : 2083946216); + break; + case 6: + num = (_routeEnqueuer.TryEnqueueToTerritory(_taskQueue, num8, vector.Value) ? 2083946221 : 2083946223); + break; + case 5: + num = (vector.HasValue ? 2083946220 : 2083946218); + break; + case 3: + return true; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void StartCrafting(DeliveryPlan plan, VendorResolverService.RecipeInfo? recipeOverride = null) + { + VendorResolverService.RecipeInfo? recipeInfo = recipeOverride; + int num = (recipeInfo.HasValue ? (-1061305765) : (-1061305773)); + int num7 = default(int); + VendorResolverService.RecipeInfo? recipeInfo2 = default(VendorResolverService.RecipeInfo?); + while (true) + { + int num2 = num; + int num3 = -1061305774; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + VendorResolverService.RecipeInfo? recipeInfo3; + switch (num5 - (num6 + num6)) + { + case 7: + return; + case 9: + recipeInfo3 = recipeInfo; + goto IL_0076; + case 5: + _202D_206D_202D_200F_200C_202A_202A_202A_200E_202E_200D_200C_202C_200F_200F_202A_202A_200B_202C_200B_200F_200F_200E_206E_206D_206A_206C_206F_200D_202B_200E_206E_206E_202A_202B_202B_200E_202C_206F_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1644581685), new object[3] + { + num7, + recipeInfo2.Value.RecipeId, + recipeInfo2.Value.CraftingClass + }); + num = (_artisanIpc.CraftItem((ushort)recipeInfo2.Value.RecipeId, num7) ? (-1061305768) : (-1061305774)); + break; + case 4: + _206C_200C_202C_206F_200F_200F_200E_200E_206E_202C_200E_206C_206D_206C_200B_200C_200E_202D_200E_202B_202B_200C_202D_206F_200B_202D_202D_206F_206C_200E_202D_206B_200F_206B_206E_200B_206B_202A_206E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(126261973), new object[1] { plan.ItemId }); + Stop(global::_003CModule_003E._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(-328096033)); + return; + case 2: + num = -1061305773; + break; + case 1: + recipeInfo3 = plan.Recipe; + goto IL_0076; + case 0: + _206C_200C_202C_206F_200F_200F_200E_200E_206E_202C_200E_206C_206D_206C_200B_200C_200E_202D_200E_202B_202B_200C_202D_206F_200B_202D_202D_206F_206C_200E_202D_206B_200F_206B_206E_200B_206B_202A_206E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(553484995), new object[1] { recipeInfo2.Value.RecipeId }); + Stop(global::_003CModule_003E._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(486680247)); + return; + case 10: + _craftBusyGraceUntilMs = _202C_202E_202E_206F_200F_202A_200B_202C_206D_202D_200E_206D_202E_200F_200C_202C_200D_202E_202B_202C_202A_206B_206D_200D_206C_206A_202B_200C_202B_206C_206C_202D_202C_206A_206D_202E_206F_206D_200E_200F_202E() + 5000; + return; + case 3: + _206C_200C_202C_206F_200F_200F_200E_200E_206E_202C_200E_206C_206D_206C_200B_200C_200E_202D_200E_202B_202B_200C_202D_206F_200B_202D_202D_206F_206C_200E_202D_206B_200F_206B_206E_200B_206B_202A_206E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1241589322), Array.Empty()); + Stop(global::_003CModule_003E._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(-1390689146)); + return; + case 8: + num = (_artisanIpc.IsAvailable() ? (-1061305772) : (-1061305775)); + break; + case 6: + { + _artisanIpc.SetEnduranceStatus(enabled: false); + _artisanIpc.SetStopRequest(stop: false); + int itemCount = GetItemCount(plan); + num7 = plan.DeliveryCount - itemCount; + num = ((num7 > 0) ? (-1061305769) : (-1061305771)); + break; + } + IL_0076: + recipeInfo2 = recipeInfo3; + num = (recipeInfo2.HasValue ? (-1061305766) : (-1061305770)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void StartGathering(DeliveryPlan plan, EClassJob gathererClass) + { + _gatherStartMs = _202C_202E_202E_206F_200F_202A_200B_202C_206D_202D_200E_206D_202E_200F_200C_202C_200D_202E_202B_202C_202A_206B_206D_200D_206C_206A_202B_200C_202B_206C_206C_202D_202C_206A_206D_202E_206F_206D_200E_200F_202E(); + _lastGatherCount = GetItemCount(plan); + GatheringPointId gatheringPointId; + int num = (_gatheringPointRegistry.TryGetGatheringPointId(plan.ItemId, gathererClass, out gatheringPointId) ? 812153432 : 812153435); + while (true) + { + int num2 = num; + int num3 = 812153433; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + Stop(global::_003CModule_003E._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(1867171636)); + num = 812153439; + break; + case 2: + _206C_200C_202C_206F_200F_200F_200E_200E_206E_202C_200E_206C_206D_206C_200B_200C_200E_202D_200E_202B_202B_200C_202D_206F_200B_202D_202D_206F_206C_200E_202D_206B_200F_206B_206E_200B_206B_202A_206E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(1443840658), new object[2] { plan.ItemId, gathererClass }); + Stop(global::_003CModule_003E._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(-1238480123)); + return; + case 1: + { + GatheringController.GatheringRequest gatheringRequest = new GatheringController.GatheringRequest(gatheringPointId, plan.ItemId, 0u, plan.DeliveryCount, plan.Collectability); + num = (_gatheringController.Start(gatheringRequest) ? 812153439 : 812153433); + break; + } + case 4: + State = EDeliveryState.Executing; + EnqueueTurnInSequence(plan); + return; + case 3: + num = 812153435; + break; + case 6: + return; + case 0: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-171113647), new object[1] { plan.ItemId }); + num = ((!HasEnoughItems(plan)) ? 812153436 : 812153437); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void StartFishing(DeliveryPlan plan) + { + _fishStartMs = _202C_202E_202E_206F_200F_202A_200B_202C_206D_202D_200E_206D_202E_200F_200C_202C_200D_202E_202B_202C_202A_206B_206D_200D_206C_206A_202B_200C_202B_206C_206C_202D_202C_206A_206D_202E_206F_206D_200E_200F_202E(); + _lastFishCount = GetItemCount(plan); + FishingController.FishingRequest request = new FishingController.FishingRequest(plan.ItemId, plan.DeliveryCount, plan.Collectability); + int num = (_fishingController.Start(request) ? (-833732925) : (-833732926)); + while (true) + { + int num2 = num; + int num3 = -833732925; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return; + case 1: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(1407243130), new object[1] { plan.ItemId }); + num = ((!HasEnoughItems(plan)) ? (-833732921) : (-833732928)); + break; + case 4: + Stop(global::_003CModule_003E._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(-1283884351)); + num = -833732925; + break; + case 2: + num = -833732926; + break; + case 3: + State = EDeliveryState.Executing; + EnqueueTurnInSequence(plan); + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public EDeliveryState Update() + { + int num = ((State == EDeliveryState.Idle) ? 1143859363 : 1143859375); + while (true) + { + int num2 = num; + int num3 = 1143859365; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return UpdateWaitingForGather(); + case 10: + num = ((State != EDeliveryState.Complete) ? 1143859372 : 1143859363); + break; + case 5: + goto IL_0095; + case 9: + num = ((CurrentPlan != null) ? 1143859373 : 1143859366); + break; + case 11: + num = 1143859375; + break; + case 7: + goto IL_00c8; + case 3: + Stop(global::_003CModule_003E._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(1490740808)); + return EDeliveryState.Idle; + case 8: + switch (State) + { + case EDeliveryState.WaitingForGather: + break; + case EDeliveryState.WaitingForFish: + goto IL_0095; + case EDeliveryState.WaitingForCraft: + goto IL_00c8; + default: + goto IL_0104; + case EDeliveryState.Executing: + case EDeliveryState.TurningIn: + goto IL_0116; + } + goto case 2; + case 6: + return State; + case 4: + goto IL_0116; + case 1: + num = 1143859365; + break; + case 0: + { + return State; + } + IL_0116: + return UpdateExecuting(); + IL_0104: + num = 1143859364; + break; + IL_00c8: + return UpdateWaitingForCraft(); + IL_0095: + return UpdateWaitingForFish(); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private EDeliveryState UpdateWaitingForCraft() + { + int num = (_taskQueue.AllTasksComplete ? 327102909 : 327102911); + while (true) + { + int num2 = num; + int num3 = 327102899; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-1415078577), new object[2] + { + GetItemCount(CurrentPlan), + CurrentPlan.DeliveryCount + }); + Stop(global::_003CModule_003E._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(1487053942)); + num = 327102902; + break; + case 15: + return State; + case 4: + return State; + case 5: + return State; + case 9: + _currentCraftRecipe = _pendingCraftRecipe; + _pendingCraftRecipe = null; + StartCrafting(CurrentPlan, _currentCraftRecipe); + return State; + case 11: + { + int craftRetryCount = _craftRetryCount; + num3 = 1; + num4 = craftRetryCount; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + _craftRetryCount = num7 + (num8 + num8); + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-472214292), new object[2] + { + GetItemCount(CurrentPlan), + CurrentPlan.DeliveryCount + }); + StartCrafting(CurrentPlan, _currentCraftRecipe); + num = 327102902; + break; + } + case 12: + UpdateCurrentTask(); + return State; + case 7: + num = ((!HasEnoughItems(CurrentPlan)) ? 327102898 : 327102907); + break; + case 8: + _202D_206D_202D_200F_200C_202A_202A_202A_200E_202E_200D_200C_202C_200F_200F_202A_202A_200B_202C_200B_200F_200F_200E_206E_206D_206A_206C_206F_200D_202B_200E_206E_206E_202A_202B_202B_200E_202C_206F_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1286697491), Array.Empty()); + State = EDeliveryState.Executing; + EnqueueTurnInSequence(CurrentPlan); + num = 327102902; + break; + case 13: + num = ((!_artisanIpc.IsCrafting()) ? 327102899 : 327102908); + break; + case 1: + num = ((_craftRetryCount >= 3) ? 327102897 : 327102904); + break; + case 14: + num = ((!_pendingCraftRecipe.HasValue) ? 327102910 : 327102906); + break; + case 3: + num = 327102911; + break; + case 10: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-923915781), Array.Empty()); + _artisanIpc.SetStopRequest(stop: false); + num = 327102900; + break; + case 6: + num = ((!_artisanIpc.GetStopRequest()) ? 327102900 : 327102905); + break; + case 0: + num = ((_202C_202E_202E_206F_200F_202A_200B_202C_206D_202D_200E_206D_202E_200F_200C_202C_200D_202E_202B_202C_202A_206B_206D_200D_206C_206A_202B_200C_202B_206C_206C_202D_202C_206A_206D_202E_206F_206D_200E_200F_202E() >= _craftBusyGraceUntilMs) ? 327102901 : 327102903); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private EDeliveryState UpdateWaitingForGather() + { + int num = (_taskQueue.AllTasksComplete ? 800896901 : 800896910); + int itemCount = default(int); + GatheringController.EStatus eStatus = default(GatheringController.EStatus); + EClassJob? pendingGatherClass = default(EClassJob?); + while (true) + { + int num2 = num; + int num3 = 800896909; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 13: + _lastGatherCount = itemCount; + _gatherStartMs = _202C_202E_202E_206F_200F_202A_200B_202C_206D_202D_200E_206D_202E_200F_200C_202C_200D_202E_202B_202C_202A_206B_206D_200D_206C_206A_202B_200C_202B_206C_206C_202D_202C_206A_206D_202E_206F_206D_200E_200F_202E(); + num = 800896904; + break; + case 6: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-857621269), new object[2] { itemCount, CurrentPlan.DeliveryCount }); + Stop(global::_003CModule_003E._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(-308420345)); + num = 800896908; + break; + case 11: + num = ((eStatus != GatheringController.EStatus.Complete) ? 800896908 : 800896907); + break; + case 3: + UpdateCurrentTask(); + return State; + case 8: + pendingGatherClass = _pendingGatherClass; + num = ((!pendingGatherClass.HasValue) ? 800896909 : 800896899); + break; + case 12: + return State; + case 7: + _202D_206D_202D_200F_200C_202A_202A_202A_200E_202E_200D_200C_202C_200F_200F_202A_202A_200B_202C_200B_200F_200F_200E_206E_206D_206A_206C_206F_200D_202B_200E_206E_206E_202A_202B_202B_200E_202C_206F_200F_202E((ILogger)_logger, global::_003CModule_003E._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(2020357276), Array.Empty()); + State = EDeliveryState.Executing; + EnqueueTurnInSequence(CurrentPlan); + num = 800896908; + break; + case 14: + { + EClassJob valueOrDefault = pendingGatherClass.GetValueOrDefault(); + _pendingGatherClass = null; + StartGathering(CurrentPlan, valueOrDefault); + return State; + } + case 2: + num = 800896910; + break; + case 9: + eStatus = _gatheringController.Update(); + num = ((!HasEnoughItems(CurrentPlan)) ? 800896902 : 800896905); + break; + case 5: + num = ((_202C_202E_202E_206F_200F_202A_200B_202C_206D_202D_200E_206D_202E_200F_200C_202C_200D_202E_202B_202C_202A_206B_206D_200D_206C_206A_202B_200C_202B_206C_206C_202D_202C_206A_206D_202E_206F_206D_200E_200F_202E() - _gatherStartMs <= 180000) ? 800896900 : 800896903); + break; + case 4: + num = ((eStatus == GatheringController.EStatus.Complete) ? 800896906 : 800896897); + break; + case 1: + return State; + case 10: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(704684499), new object[1] { 180000L }); + _gatheringController.Stop(global::_003CModule_003E._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(-1876936404)); + Stop(global::_003CModule_003E._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(1544538434)); + return State; + case 0: + itemCount = GetItemCount(CurrentPlan); + num = ((itemCount <= _lastGatherCount) ? 800896904 : 800896896); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private EDeliveryState UpdateWaitingForFish() + { + int num = (_taskQueue.AllTasksComplete ? 603569481 : 603569476); + FishingController.EFishingState state = default(FishingController.EFishingState); + bool flag = default(bool); + int itemCount = default(int); + while (true) + { + int num2 = num; + int num3 = 603569483; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 10: + num = ((state == FishingController.EFishingState.Idle) ? 603569487 : 603569477); + break; + case 12: + _pendingFishingStart = false; + StartFishing(CurrentPlan); + return State; + case 16: + num = ((_202C_202E_202E_206F_200F_202A_200B_202C_206D_202D_200E_206D_202E_200F_200C_202C_200D_202E_202B_202C_202A_206B_206D_200D_206C_206A_202B_200C_202B_206C_206C_202D_202C_206A_206D_202E_206F_206D_200E_200F_202E() - _fishStartMs <= 180000) ? 603569474 : 603569484); + break; + case 15: + UpdateCurrentTask(); + return State; + case 5: + _202D_206D_202D_200F_200C_202A_202A_202A_200E_202E_200D_200C_202C_200F_200F_202A_202A_200B_202C_200B_200F_200F_200E_206E_206D_206A_206C_206F_200D_202B_200E_206E_206E_202A_202B_202B_200E_202C_206F_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1433419751), Array.Empty()); + _fishingController.Stop(global::_003CModule_003E._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(2119482329)); + State = EDeliveryState.Executing; + EnqueueTurnInSequence(CurrentPlan); + num = 603569480; + break; + case 4: + flag = true; + num = 603569485; + break; + case 3: + return State; + case 0: + num = 603569476; + break; + case 6: + num = ((!flag) ? 603569480 : 603569472); + break; + case 2: + num = ((!_pendingFishingStart) ? 603569482 : 603569479); + break; + case 14: + num = ((state != FishingController.EFishingState.Complete) ? 603569478 : 603569487); + break; + case 13: + flag = false; + num = 603569485; + break; + case 7: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(1025220962), new object[1] { 180000L }); + _fishingController.Stop(global::_003CModule_003E._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(-1574890847)); + Stop(global::_003CModule_003E._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(-867001927)); + return State; + case 9: + state = _fishingController.State; + num = ((!HasEnoughItems(CurrentPlan)) ? 603569473 : 603569486); + break; + case 8: + _lastFishCount = itemCount; + _fishStartMs = _202C_202E_202E_206F_200F_202A_200B_202C_206D_202D_200E_206D_202E_200F_200C_202C_200D_202E_202B_202C_202A_206B_206D_200D_206C_206A_202B_200C_202B_206C_206C_202D_202C_206A_206D_202E_206F_206D_200E_200F_202E(); + num = 603569499; + break; + case 11: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-1907020198), new object[2] { itemCount, CurrentPlan.DeliveryCount }); + Stop(global::_003CModule_003E._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(1534884548)); + num = 603569480; + break; + case 1: + itemCount = GetItemCount(CurrentPlan); + num = ((itemCount <= _lastFishCount) ? 603569499 : 603569475); + break; + } + } + } + + private EDeliveryState UpdateExecuting() + { + int num = ((!_taskQueue.AllTasksComplete) ? 1712268803 : 1712268800); + while (true) + { + int num2 = num; + int num3 = 1712268801; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + UpdateCurrentTask(); + return State; + case 1: + OnAllTasksComplete(); + return State; + case 0: + goto IL_0067; + } + continue; + IL_0067: + num = 1712268800; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void OnAllTasksComplete() + { + int num = ((CurrentPlan != null) ? 2073064070 : 2073064064); + int usedDeliveries = default(int); + DeliveryPlan deliveryPlan = default(DeliveryPlan); + while (true) + { + int num2 = num; + int num3 = 2073064071; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = ((_200B_206A_200E_206C_200F_206F_206F_206D_202C_202A_200C_200C_202E_202E_200F_206D_206E_202E_206A_206B_206A_206C_200F_206F_200C_202A_206B_206A_202C_202E_202D_200E_202B_200F_206A_206A_206D_202C_200B_202D_202E() <= 0) ? 2073064069 : 2073064071); + break; + case 6: + _202D_206D_202D_200F_200C_202A_202A_202A_200E_202E_200D_200C_202C_200F_200F_202A_202A_200B_202C_200B_200F_200F_200E_206E_206D_206A_206C_206F_200D_202B_200E_206E_206E_202A_202B_202B_200E_202C_206F_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-747643920), new object[1] { usedDeliveries }); + _usedDeliveriesAtPlan = usedDeliveries; + CurrentPlan = deliveryPlan; + PopulateTaskQueue(deliveryPlan); + return; + case 1: + usedDeliveries = _202A_202E_202A_206B_202E_200F_206D_206B_206A_206C_200D_202A_200B_202D_202A_202A_202B_202E_206C_202C_202D_200F_200B_206A_202E_206D_202B_200D_206E_202A_202B_202E_200C_200D_202B_202A_206D_202C_200E_206D_202E(CurrentPlan.NpcIndex).UsedDeliveries; + num = ((_200B_206A_200E_206C_200F_206F_206F_206D_202C_202A_200C_200C_202E_202E_200F_206D_206E_202E_206A_206B_206A_206C_200F_206F_200C_202A_206B_206A_202C_202E_202D_200E_202B_200F_206A_206A_206D_202C_200B_202D_202E() <= 0) ? 2073064067 : 2073064076); + break; + case 4: + _202E_200D_206F_206E_200C_202B_200C_206C_206A_200B_202C_202D_206E_202C_200B_202C_206D_200B_206D_202A_200C_202C_202C_202D_202A_202C_200F_206E_206B_206F_206A_206A_200B_206A_206A_206C_206F_206A_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(1142165099), Array.Empty()); + num = ((_configuration.CustomDeliveries.DeliveryQueue.Count <= 0) ? 2073064069 : 2073064068); + break; + case 8: + deliveryPlan = _plannerService.CreatePlan(_npcIndex, _slot); + num = ((deliveryPlan == null) ? 2073064067 : 2073064065); + break; + case 7: + State = EDeliveryState.Complete; + return; + case 0: + State = EDeliveryState.Idle; + num = ((!StartNextFromQueue()) ? 2073064069 : 2073064066); + break; + case 10: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-948955822), new object[1] { usedDeliveries }); + num = 2073064067; + break; + case 5: + return; + case 2: + State = EDeliveryState.Complete; + return; + case 9: + num = 2073064064; + break; + case 11: + num = ((usedDeliveries != _usedDeliveriesAtPlan) ? 2073064079 : 2073064077); + break; + } + } + } + + protected override void OnTaskComplete(ITask task) + { + int num = ((!(task is SatisfactionSupplyTurnInTask)) ? 604199381 : 604199382); + while (true) + { + int num2 = num; + int num3 = 604199383; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 604199382; + break; + case 1: + ResetStepRetryCounter(); + num = 604199381; + break; + case 2: + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override void OnRetryStep() + { + DeliveryPlan deliveryPlan = _plannerService.CreatePlan(_npcIndex, _slot); + int num = ((deliveryPlan != null) ? (-1778762508) : (-1778762507)); + while (true) + { + int num2 = num; + int num3 = -1778762508; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_005b; + case 1: + Stop(global::_003CModule_003E._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(-1253309975)); + return; + case 0: + _202E_200D_206F_206E_200C_202B_200C_206C_206A_200B_202C_202D_206E_202C_200B_202C_206D_200B_206D_202A_200C_202C_202C_202D_202A_202C_200F_206E_206B_206F_206A_206A_200B_206A_206A_206C_206F_206A_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-930319114), Array.Empty()); + CurrentPlan = deliveryPlan; + PopulateTaskQueue(deliveryPlan); + return; + } + continue; + IL_005b: + num = -1778762507; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override void Stop(string label) + { + base.Stop(label); + int num = ((State != EDeliveryState.Idle) ? (-1047670405) : (-1047670401)); + while (true) + { + int num2 = num; + int num3 = -1047670402; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + _202E_200D_206F_206E_200C_202B_200C_206C_206A_200B_202C_202D_206E_202C_200B_202C_206D_200B_206D_202A_200C_202C_202C_202D_202A_202C_200F_206E_206B_206F_206A_206A_200B_206A_206A_206C_206F_206A_200C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(855393726), new object[1] { label }); + num = ((!_artisanIpc.IsCrafting()) ? (-1047670402) : (-1047670404)); + break; + case 1: + num = ((CurrentPlan == null) ? (-1047670406) : (-1047670405)); + break; + case 0: + _fishingController.Stop(global::_003CModule_003E._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(-1761276025)); + _gatheringController.Stop(global::_003CModule_003E._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(1742283330)); + _routeEnqueuer.ClearDestination(); + _taskQueue.Reset(); + CurrentPlan = null; + State = EDeliveryState.Idle; + num = -1047670406; + break; + case 4: + return; + case 3: + num = -1047670401; + break; + case 2: + _artisanIpc.SetStopRequest(stop: true); + num = -1047670402; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void EnqueueNavigateToNpc(int npcIndex) + { + (ushort, Vector3) value; + int num = (_npcPositions.TryGetValue(npcIndex, out value) ? 1771895941 : 1771895938); + uint valueOrDefault = default(uint); + while (true) + { + int num2 = num; + int num3 = 1771895937; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + _taskQueue.Enqueue(new DeliveryNpcApproachTask(value.Item1, value.Item2, valueOrDefault)); + return; + case 2: + num = (_routeEnqueuer.TryEnqueueToTerritory(_taskQueue, value.Item1, value.Item2) ? 1771895940 : 1771895936); + break; + case 4: + valueOrDefault = _npcDataIds.GetValueOrDefault(npcIndex); + num = ((_202C_206F_202D_206E_200D_200B_206A_200E_202B_206C_206F_202D_206B_206C_202C_206C_200C_206E_200E_200D_202D_206F_202A_206F_206A_202C_206F_206C_206B_206F_200E_200D_206D_202E_200D_202B_206D_206B_200E_206F_202E(_clientState) == value.Item1) ? 1771895940 : 1771895939); + break; + case 3: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-24071886), new object[1] { npcIndex }); + return; + case 1: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(473496271), new object[1] { value.Item1 }); + EnqueueNavigateTo(value.Item1, value.Item2); + return; + case 0: + num = 1771895938; + break; + } + } + } + + private void EnqueueNavigateTo(ushort territoryId, Vector3 position) + { + _routeEnqueuer.Enqueue(_taskQueue, territoryId, position); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void EnqueueTurnInSequence(DeliveryPlan plan) + { + EnqueueNavigateToNpc(plan.NpcIndex); + _taskQueue.Enqueue(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); + int num = (_npcDataIds.ContainsKey(plan.NpcIndex) ? 1164890719 : 1164890718); + while (true) + { + int num2 = num; + int num3 = 1164890719; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1164890718; + break; + case 0: + _taskQueue.Enqueue(new SatisfactionSupplyTurnInTask(plan.NpcIndex, plan.Slot, plan.DeliveryCount, _npcDataIds.GetValueOrDefault(plan.NpcIndex))); + _taskQueue.Enqueue(new WaitAtEnd.WaitDelay()); + return; + case 1: + _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-1680845560), new object[1] { plan.NpcIndex }); + num = 1164890719; + break; + } + } + } + + private static Dictionary BuildNpcPositionLookup(IDataManager dataManager) + { + Dictionary dictionary = new Dictionary(); + Dictionary dictionary2 = new Dictionary(); + using (ExcelSheet.Enumerator enumerator = dataManager.GetExcelSheet().GetEnumerator()) + { + int num = 998124636; + SatisfactionNpc current = default(SatisfactionNpc); + while (true) + { + int num2 = num; + int num3 = 998124637; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + { + int value = (int)(current.RowId - 1); + dictionary2[current.Npc.RowId] = value; + num = 998124636; + break; + } + case 4: + num = ((current.Npc.RowId == 0) ? 998124636 : 998124637); + break; + case 1: + num = (enumerator.MoveNext() ? 998124632 : 998124639); + break; + case 3: + num = 998124636; + break; + case 5: + current = enumerator.Current; + num = ((current.RowId == 0) ? 998124636 : 998124633); + break; + case 2: + goto end_IL_002e; + } + continue; + end_IL_002e: + break; + } + } + using ExcelSheet.Enumerator enumerator2 = dataManager.GetExcelSheet().GetEnumerator(); + int num = -193087717; + int value2 = default(int); + Level current2 = default(Level); + while (true) + { + int num5 = num; + int num3 = -193087714; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 3: + dictionary.TryAdd(value2, ((ushort)current2.Territory.RowId, new Vector3(current2.X, current2.Y, current2.Z))); + num = -193087717; + break; + case 5: + num = (enumerator2.MoveNext() ? (-193087720) : (-193087718)); + break; + case 0: + num = -193087717; + break; + case 6: + current2 = enumerator2.Current; + num = ((current2.RowId == 0) ? (-193087717) : (-193087713)); + break; + case 1: + num = ((!current2.Territory.IsValid) ? (-193087717) : (-193087716)); + break; + case 2: + num = ((!dictionary2.TryGetValue(current2.Object.RowId, out value2)) ? (-193087717) : (-193087715)); + break; + case 4: + return dictionary; + } + } + } + + private static Dictionary BuildNpcDataIdLookup(IDataManager dataManager) + { + Dictionary dictionary = new Dictionary(); + using ExcelSheet.Enumerator enumerator = dataManager.GetExcelSheet().GetEnumerator(); + int num = -348593404; + SatisfactionNpc current = default(SatisfactionNpc); + while (true) + { + int num2 = num; + int num3 = -348593407; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = -348593404; + break; + case 1: + dictionary[(int)(current.RowId - 1)] = current.Npc.RowId; + num = -348593404; + break; + case 5: + num = (enumerator.MoveNext() ? (-348593406) : (-348593405)); + break; + case 0: + num = ((current.Npc.RowId == 0) ? (-348593404) : (-348593408)); + break; + case 3: + current = enumerator.Current; + num = ((current.RowId == 0) ? (-348593404) : (-348593407)); + break; + case 2: + return dictionary; + } + } + } + + private static Dictionary BuildNpcNameLookup(IDataManager dataManager) + { + Dictionary dictionary = new Dictionary(); + using ExcelSheet.Enumerator enumerator = dataManager.GetExcelSheet().GetEnumerator(); + int num = -1387344735; + SatisfactionNpc current = default(SatisfactionNpc); + while (true) + { + int num2 = num; + int num3 = -1387344734; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = ((current.Npc.RowId == 0) ? (-1387344735) : (-1387344733)); + break; + case 2: + current = enumerator.Current; + num = ((current.RowId == 0) ? (-1387344735) : (-1387344729)); + break; + case 3: + num = (enumerator.MoveNext() ? (-1387344736) : (-1387344730)); + break; + case 1: + dictionary[(int)(current.RowId - 1)] = current.Npc.Value.Singular.ToString(); + num = -1387344735; + break; + case 0: + num = -1387344735; + break; + case 4: + 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); + } + + static void _206C_206C_200F_200C_200C_202C_206E_206E_206F_200C_206B_206E_202C_200D_202A_200B_206D_202C_202B_206F_200F_202B_202E_206C_200C_202E_202B_202B_206C_200D_206C_202A_206A_202C_200F_200B_202E_200B_206E_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static int _202C_200C_200D_200D_200E_202A_206C_200B_206B_200F_206E_200C_200F_200C_202C_206F_206C_200B_206C_206A_202C_202E_206E_200F_206A_200B_206E_202B_206E_200C_202D_200F_206F_200D_202B_200D_202D_200E_206A_206F_202E() + { + return InventoryHelper.CountFreeInventorySlots(); + } + + static void _202E_200D_206F_206E_200C_202B_200C_206C_206A_200B_202C_202D_206E_202C_200B_202C_206D_200B_206D_202A_200C_202C_202C_202D_202A_202C_200F_206E_206B_206F_206A_206A_200B_206A_206A_206C_206F_206A_200C_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static SatisfactionSupplyActions.NpcState _202A_202E_202A_206B_202E_200F_206D_206B_206A_206C_200D_202A_200B_202D_202A_202A_202B_202E_206C_202C_202D_200F_200B_206A_202E_206D_202B_200D_206E_202A_202B_202E_200C_200D_202B_202A_206D_202C_200E_206D_202E(int P_0) + { + return SatisfactionSupplyActions.GetNpcState(P_0); + } + + static bool _202D_200D_202B_200E_202C_206B_202A_206C_200F_206E_206E_206D_200E_206A_202B_202D_202A_200F_202B_200B_206D_200B_200D_200B_200F_200C_200D_200C_202D_206F_206C_200D_202A_202E_206F_200F_202B_206E_200F_200D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202B_202D_206D_206B_202B_206A_200E_202C_202A_206B_200E_206A_200C_206A_206A_200F_202C_202C_206C_200D_200E_200C_206E_206E_202D_202D_200F_206C_202C_202B_202B_206F_202E_200E_202D_206E_200B_202D_200F_202C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static IPlayerCharacter _200D_206F_206F_206D_200B_202C_202C_202A_200C_200D_206D_206A_202D_202C_202A_206A_200F_206D_202C_200E_200C_200C_202D_206E_202C_202D_200D_202B_206E_202C_206E_206B_202A_206E_200D_206A_202A_200C_202D_202A_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static RowRef _206D_206E_206C_202B_206F_206A_206E_200F_200D_206D_206A_206B_206E_202E_200B_206C_206E_200B_206E_200C_202E_200D_200D_206F_202A_200E_206F_200B_200C_200E_202C_206C_200D_200D_206D_202A_202A_200F_202E_206B_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static bool _206A_200B_206F_202E_200B_206C_206F_202C_202D_202E_206F_206A_202A_202C_200F_206D_206C_200C_206A_206C_206D_202D_206C_202A_206B_200E_200D_200D_200F_200F_206C_206F_202C_202E_206E_206F_206C_206C_200E_202C_202E(EClassJob P_0) + { + return P_0.IsCrafter(); + } + + static void _206C_200C_202C_206F_200F_200F_200E_200E_206E_202C_200E_206C_206D_206C_200B_200C_200E_202D_200E_202B_202B_200C_202D_206F_200B_202D_202D_206F_206C_200E_202D_206B_200F_206B_206E_200B_206B_202A_206E_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static List _206A_206D_202E_200F_202C_200C_206A_200B_202A_202A_206E_206E_200B_200E_206D_202E_202B_200E_200B_202B_202C_206B_202C_202B_202D_206E_200B_206D_200F_206D_202D_200F_202C_206E_200E_202A_206B_202B_206C_202B_202E(GatheringRoot P_0) + { + return P_0.Steps; + } + + static ushort _200D_200C_206C_206F_206C_206C_200E_202A_200C_200E_202C_206F_200E_200E_200C_206A_202D_202A_206C_202D_206A_200C_206E_202A_200C_206D_200F_206A_206F_200E_206E_200C_202C_200D_206F_206B_200F_202A_200F_202C_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static List _206C_206D_206D_206B_202E_206E_200C_202C_206C_200D_206E_202E_202B_200E_206E_200F_206F_206F_202C_202C_206F_200B_206C_202D_206C_200E_206A_206F_200B_206F_202A_200D_206C_206C_202A_206F_202D_200E_206A_206B_202E(GatheringRoot P_0) + { + return P_0.Groups; + } + + static List _200D_206C_202B_202D_200E_206F_200C_202E_202B_200E_206C_202B_200F_200F_206B_206D_200C_200C_202E_206C_202D_202B_202D_202C_206C_200D_202A_206E_202B_206C_202B_206B_200D_206D_202E_202A_206A_202A_206D_202A_202E(GatheringNodeGroup P_0) + { + return P_0.Nodes; + } + + static List _206B_206D_202A_200B_206A_206C_206E_206A_202B_202A_206D_200D_202A_202A_200E_200F_202D_206A_200B_202B_202B_200C_202D_206E_206A_200D_206A_206E_202D_202B_206B_206F_202C_206B_200B_200F_206D_206A_200B_202D_202E(GatheringNode P_0) + { + return P_0.Locations; + } + + static (Vector3, int, float) _202E_200F_202C_206E_202A_200F_206B_202C_202C_206C_206E_202D_206E_200F_202E_202B_200E_206C_202C_202E_206B_206A_206E_206F_200C_202E_200C_202C_200D_200E_206D_200B_202A_200E_206E_202A_206E_206E_202C_206F_202E(GatheringLocation P_0) + { + return GatheringMath.CalculateLandingLocation(P_0); + } + + static Vector3? _206D_202C_206D_206E_200D_202A_200B_200F_206F_202D_200D_206D_206E_202B_206A_206F_202E_206E_202B_200D_206C_206E_206E_206E_202C_202E_206C_202C_206C_202D_200C_206F_202B_200C_202A_206F_200B_200F_206F_206C_202E(QuestStep P_0) + { + return P_0.Position; + } + + static void _202D_206D_202D_200F_200C_202A_202A_202A_200E_202E_200D_200C_202C_200F_200F_202A_202A_200B_202C_200B_200F_200F_200E_206E_206D_206A_206C_206F_200D_202B_200E_206E_206E_202A_202B_202B_200E_202C_206F_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static uint _202C_206F_202D_206E_200D_200B_206A_200E_202B_206C_206F_202D_206B_206C_202C_206C_200C_206E_200E_200D_202D_206F_202A_206F_206A_202C_206F_206C_206B_206F_200E_200D_206D_202E_200D_202B_206D_206B_200E_206F_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static long _202C_202E_202E_206F_200F_202A_200B_202C_206D_202D_200E_206D_202E_200F_200C_202C_200D_202E_202B_202C_202A_206B_206D_200D_206C_206A_202B_200C_202B_206C_206C_202D_202C_206A_206D_202E_206F_206D_200E_200F_202E() + { + return Environment.TickCount64; + } + + static int _200B_206A_200E_206C_200F_206F_206F_206D_202C_202A_200C_200C_202E_202E_200F_206D_206E_202E_206A_206B_206A_206C_200F_206F_200C_202A_206B_206A_202C_202E_202D_200E_202B_200F_206A_206A_206D_202C_200B_202D_202E() + { + return SatisfactionSupplyActions.GetRemainingAllowances(); + } +} diff --git a/Questionable/Questionable.Controller/DefinitionRegistry.cs b/Questionable/Questionable.Controller/DefinitionRegistry.cs new file mode 100644 index 00000000..0ed23aab --- /dev/null +++ b/Questionable/Questionable.Controller/DefinitionRegistry.cs @@ -0,0 +1,577 @@ +#define RELEASE +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; +using System.IO; +using System.Linq; +using System.Runtime.CompilerServices; +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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Reload() + { + _definitions.Clear(); + _schemaValidator.Reset(); + LoadFromAssembly(); + try + { + LoadFromDirectory(_202E_200D_200D_206F_200C_202D_200F_206D_200F_202D_200D_202C_202D_206B_200E_200B_200E_206D_202D_206D_202A_200D_202E_200C_206D_202E_202B_206A_206A_206D_206B_206A_206F_200F_200F_200F_206B_206E_202E_206E_202E(_206D_206F_202D_200C_206F_200D_206C_206C_200F_202A_202E_206D_200F_202C_200D_202D_200D_202B_200B_200F_200F_200D_202B_202C_206C_200B_206D_206A_202C_202C_206F_206A_206A_200C_202A_206A_206D_200E_206A_200C_202E(_206E_206A_206B_206F_200F_206D_206F_206B_206B_206E_200F_200C_200E_202D_200D_206E_200C_206C_206D_206B_202A_206A_206D_202E_206D_202D_202C_200E_206F_206C_200D_206C_206A_202A_206E_206B_200C_202E_200E_200F_202E((FileSystemInfo)_200D_206A_206C_200C_202C_200E_202B_200F_202D_202C_206F_206F_200D_206C_202E_206D_206E_206B_206B_202A_206F_202E_200F_200F_206D_200B_200C_202C_200F_200F_206F_206C_200D_206E_202C_200E_200C_206D_200C_206C_202E(_pluginInterface)), ConfigDirectoryName))); + } + catch (Exception ex) + { + _200D_206C_202C_202D_200E_202D_200C_206D_202B_200C_206E_202B_200E_202D_206A_206F_206A_202D_200B_200C_200C_200E_202A_200F_206D_200E_206E_206B_206C_200D_202C_200D_202D_206C_202A_200C_206F_202B_206B_202B_202E(_logger, ex, global::_003CModule_003E._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(-1480922246), new object[1] { TypeLabel }); + } + IEnumerator enumerator = _schemaValidator.Validate().GetEnumerator(); + try + { + int num = -698035048; + while (true) + { + int num2 = num; + int num3 = -698035048; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = (_202C_206B_202D_200B_202E_206B_202D_202B_202C_200F_202E_206C_202A_200C_202C_200F_202B_202A_200D_202A_206C_206C_202E_206B_200C_202D_200C_200C_202C_200D_202E_206C_202B_200C_202C_200F_200C_206B_202D_202E((IEnumerator)enumerator) ? (-698035047) : (-698035045)); + break; + case 1: + { + ValidationIssue current = enumerator.Current; + _questValidator.AddValidationIssue(current); + num = -698035048; + break; + } + case 2: + num = -698035048; + break; + case 3: + goto end_IL_008e; + } + continue; + end_IL_008e: + break; + } + } + finally + { + int num = ((enumerator == null) ? 1453964763 : 1453964760); + while (true) + { + int num5 = num; + int num3 = 1453964762; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1453964760; + break; + case 1: + goto end_IL_0128; + case 2: + _202D_206A_200B_206C_202C_200F_202B_206E_200E_202E_206C_202D_202A_206A_202D_206F_206D_206B_200F_200F_202B_202A_202B_200E_206C_206F_206D_200E_200E_200B_202B_206F_202B_202E_206F_202B_200C_202C_200C_202E_202E((IDisposable)enumerator); + num = 1453964763; + break; + } + continue; + end_IL_0128: + break; + } + } + RemoveExpiredDefinitions(); + _202C_206E_206B_202D_202B_202B_206C_202E_206B_206A_206E_202C_200B_202B_200F_200B_202B_206B_200D_200E_200C_200B_202B_202B_200F_202B_200F_202A_206E_200E_206F_200C_206D_206B_206D_200F_206D_206C_206E_202C_202E(_logger, global::_003CModule_003E._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(1196622981), new object[2] { _definitions.Count, TypeLabel }); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [Conditional("RELEASE")] + private void LoadFromAssembly() + { + IReadOnlyDictionary assemblyDefinitions = GetAssemblyDefinitions(); + IEnumerator> enumerator = assemblyDefinitions.GetEnumerator(); + try + { + int num = -618996398; + while (true) + { + int num2 = num; + int num3 = -618996400; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = (_202C_206B_202D_200B_202E_206B_202D_202B_202C_200F_202E_206C_202A_200C_202C_200F_202B_202A_200D_202A_206C_206C_202E_206B_200C_202D_200C_200C_202C_200D_202E_206C_202B_200C_202C_200F_200C_206B_202D_202E((IEnumerator)enumerator) ? (-618996399) : (-618996400)); + break; + case 1: + var (key, value) = (KeyValuePair)(ref enumerator.Current); + _definitions[key] = value; + num = -618996398; + break; + case 3: + num = -618996398; + break; + case 0: + goto end_IL_001a; + } + continue; + end_IL_001a: + break; + } + } + finally + { + int num = ((enumerator == null) ? 476280246 : 476280245); + while (true) + { + int num6 = num; + int num3 = 476280247; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_00ce; + case 2: + _202D_206A_200B_206C_202C_200F_202B_206E_200E_202E_206C_202D_202A_206A_202D_206F_206D_206B_200F_200F_202B_202A_202B_200E_206C_206F_206D_200E_200E_200B_202B_206F_202B_202E_206F_202B_200C_202C_200C_202E_202E((IDisposable)enumerator); + num = 476280246; + break; + case 0: + num = 476280245; + break; + } + continue; + end_IL_00ce: + break; + } + } + _202C_206E_206B_202D_202B_202B_206C_202E_206B_206A_206E_202C_200B_202B_200F_200B_202B_206B_200D_200E_200C_200B_202B_202B_200F_202B_200F_202A_206E_200E_206F_200C_206D_206B_206D_200F_206D_206C_206E_202C_202E(_logger, global::_003CModule_003E._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(416518745), new object[2] { assemblyDefinitions.Count, TypeLabel }); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [Conditional("DEBUG")] + private void LoadFromProjectDirectory() + { + DirectoryInfo directoryInfo = _200F_206E_206C_202B_200C_200D_202A_202A_206C_202B_202B_200D_202E_200D_206D_206E_206D_206F_206C_202E_202C_202B_200D_206D_200B_202A_206D_206C_206F_206D_200B_200E_200C_202C_206C_206B_202A_200C_202C_202D_202E(_206B_202E_200E_206D_206B_206F_206D_206E_200B_202A_206D_202D_202E_206B_200E_202C_200C_200E_206D_200C_206F_206D_200D_206E_206B_200B_206C_206F_206A_202A_200C_200F_200D_200D_206A_200C_200D_200B_202A_202E_202E(_pluginInterface)); + object obj; + if (directoryInfo == null) + { + obj = null; + } + else + { + DirectoryInfo directoryInfo2 = _206F_206E_202B_200F_202D_202D_202E_200C_206C_200E_202D_202B_206B_200C_206C_200B_206B_206E_202A_200E_200D_200E_202A_202C_202E_206D_202E_202D_202A_202E_202C_206A_202E_202E_206D_202E_202E_202C_206F_200D_202E(directoryInfo); + obj = ((directoryInfo2 != null) ? _206F_206E_202B_200F_202D_202D_202E_200C_206C_200E_202D_202B_206B_200C_206C_200B_206B_206E_202A_200E_200D_200E_202A_202C_202E_206D_202E_202D_202A_202E_202C_206A_202E_202E_206D_202E_202E_202C_206F_200D_202E(directoryInfo2) : null); + } + DirectoryInfo directoryInfo3 = (DirectoryInfo)obj; + int num = ((directoryInfo3 != null) ? 949795038 : 949795037); + while (true) + { + int num2 = num; + int num3 = 949795039; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_007c; + case 2: + return; + case 1: + { + DirectoryInfo directory = _202E_200D_200D_206F_200C_202D_200F_206D_200F_202D_200D_202C_202D_206B_200E_200B_200E_206D_202D_206D_202A_200D_202E_200C_206D_202E_202B_206A_206A_206D_206B_206A_206F_200F_200F_200F_206B_206E_202E_206E_202E(_206C_200F_202D_202C_202C_202A_206A_202C_200E_206F_200E_200B_202E_206A_202B_202B_200D_206C_202A_206E_200B_200F_200D_202D_202E_206E_206F_200E_202C_202D_206A_200F_200D_206A_200C_200E_200F_200F_202E_206A_202E(_206E_206A_206B_206F_200F_206D_206F_206B_206B_206E_200F_200C_200E_202D_200D_206E_200C_206C_206D_206B_202A_206A_206D_202E_206D_202D_202C_200E_206F_206C_200D_206C_206A_202A_206E_206B_200C_202E_200E_200F_202E((FileSystemInfo)directoryInfo3), global::_003CModule_003E._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(-896958366), ProjectDirectoryName)); + try + { + LoadFromDirectory(directory); + return; + } + catch (Exception ex) + { + _definitions.Clear(); + _200D_206C_202C_202D_200E_202D_200C_206D_202B_200C_206E_202B_200E_202D_206A_206F_206A_202D_200B_200C_200C_200E_202A_200F_206D_200E_206E_206B_206C_200D_202C_200D_202D_206C_202A_200C_206F_202B_206B_202B_202E(_logger, ex, global::_003CModule_003E._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(1538126235), new object[1] { TypeLabel }); + return; + } + } + } + continue; + IL_007c: + num = 949795037; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void LoadFromDirectory(DirectoryInfo directory) + { + int num = (_202A_206B_200D_200C_202E_206A_206E_206A_206D_206E_200D_200F_206B_200E_206D_200C_200F_206E_200E_202B_200B_200F_200F_202C_206F_206A_200E_200E_206A_200D_202D_202D_206A_200F_206E_202D_206F_202C_206A_202E((FileSystemInfo)directory) ? 1970314603 : 1970314600); + TDefinition val = default(TDefinition); + while (true) + { + int num2 = num; + int num3 = 1970314601; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004f; + case 1: + _202C_206E_206B_202D_202B_202B_206C_202E_206B_206A_206E_202C_200B_202B_200F_200B_202B_206B_200D_200E_200C_200B_202B_202B_200F_202B_200F_202A_206E_200E_206F_200C_206D_206B_206D_200F_206D_206C_206E_202C_202E(_logger, global::_003CModule_003E._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(1174512965), new object[2] { TypeLabel, directory }); + return; + case 2: + { + FileInfo[] array = _206C_200E_206E_206B_206D_202A_206C_202C_200B_206B_200F_200B_206B_202E_200D_202C_206E_206F_200D_202A_202B_206F_206A_200B_202E_206F_202D_200C_206E_206D_200B_200D_202C_200B_206C_206A_206E_206D_200D_200E_202E(directory, global::_003CModule_003E._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(-1831198397)); + for (int num5 = 0; num5 < array.Length; num5 = (num4 | num3) + (num4 & num3)) + { + FileInfo fileInfo = array[num5]; + ushort? num6 = ExtractIdFromName(_200D_206F_200D_202C_206E_202A_206B_202C_206A_200D_206F_200C_206A_200B_202B_200F_206F_202E_206A_200F_206B_202B_206E_202D_200B_200B_206B_202B_206D_206D_202A_200C_202E_202C_206B_202B_200F_206D_206D_202A_202E((FileSystemInfo)fileInfo)); + if (num6.HasValue) + { + try + { + FileStream fileStream = _206D_202B_206D_202A_202D_200F_206D_206D_202C_200F_202E_200C_206D_202D_206A_200F_202D_200E_206A_206C_202B_200B_202C_206F_202B_200E_206B_200F_206C_200C_206C_202C_202C_206E_206F_200F_202C_202A_202A_200D_202E(fileInfo); + try + { + JsonNode jsonNode = _202B_202E_200B_206F_202C_202D_202C_206C_206D_206C_200C_202E_200B_206E_206C_202E_200C_206B_206B_202E_206F_206B_200E_200C_200C_206B_206F_202E_200C_202C_200E_200C_200F_206D_202E_206A_200C_200C_206C_200C_202E((Stream)fileStream, (JsonNodeOptions?)null, default(JsonDocumentOptions)); + num = ((jsonNode != null) ? (-48815400) : (-48815395)); + while (true) + { + int num7 = num; + num3 = -48815396; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = -48815395; + break; + case 1: + goto end_IL_00fd; + case 4: + _schemaValidator.Enqueue(num6.Value, jsonNode); + val = jsonNode.Deserialize(); + num = ((val == null) ? (-48815393) : (-48815394)); + break; + case 2: + _definitions[num6.Value] = val; + num = -48815393; + break; + case 3: + goto end_IL_00fd; + } + continue; + end_IL_00fd: + break; + } + } + finally + { + num = ((fileStream == null) ? (-392038256) : (-392038253)); + while (true) + { + int num10 = num; + num3 = -392038254; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -392038253; + break; + case 2: + goto end_IL_01d6; + case 1: + _202D_206A_200B_206C_202C_200F_202B_206E_200E_202E_206C_202D_202A_206A_202D_206F_206D_206B_200F_200F_202B_202A_202B_200E_206C_206F_206D_200E_200E_200B_202B_206F_202B_202E_206F_202B_200C_202C_200C_202E_202E((IDisposable)fileStream); + num = -392038256; + break; + } + continue; + end_IL_01d6: + break; + } + } + } + catch (JsonException ex) + { + _200D_206C_202C_202D_200E_202D_200C_206D_202B_200C_206E_202B_200E_202D_206A_206F_206A_202D_200B_200C_200C_200E_202A_200F_206D_200E_206E_206B_206C_200D_202C_200D_202D_206C_202A_200C_206F_202B_206B_202B_202E(_logger, (Exception)ex, global::_003CModule_003E._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(-1372108018), new object[2] + { + TypeLabel, + _206E_206A_206B_206F_200F_206D_206F_206B_206B_206E_200F_200C_200E_202D_200D_206E_200C_206C_206D_206B_202A_206A_206D_202E_206D_202D_202C_200E_206F_206C_200D_206C_206A_202A_206E_206B_200C_202E_200E_200F_202E((FileSystemInfo)fileInfo) + }); + _questValidator.AddValidationIssue(new ValidationIssue + { + PathType = PathType, + Id = num6.Value.ToString(_202A_206B_200D_200C_206D_206C_200E_206D_202C_206A_206F_206A_206A_200D_206F_202A_202D_206D_202B_206E_206E_206D_202E_200B_206E_200F_202E_202D_200E_206A_200E_206E_200F_200F_206D_200F_202A_202E_206B_202C_202E()), + Location = null, + Type = EIssueType.InvalidJsonSyntax, + Severity = EIssueSeverity.Error, + Description = _206E_200B_206E_202A_200F_206A_200F_200B_206B_200F_206C_202E_200F_206F_200E_202E_200D_200C_202C_202C_200B_206A_206C_202D_202C_206F_206C_202D_200D_200B_200F_206D_200E_206C_202C_206F_206E_206E_206A_202C_202E(global::_003CModule_003E._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(1049555621), _200D_206F_200D_202C_206E_202A_206B_202C_206A_200D_206F_200C_206A_200B_202B_200F_206F_202E_206A_200F_206B_202B_206E_202D_200B_200B_206B_202B_206D_206D_202A_200C_202E_202C_206B_202B_200F_206D_206D_202A_202E((FileSystemInfo)fileInfo), global::_003CModule_003E._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(-437343681), _202A_202D_206C_206F_202B_202C_202D_206D_200D_206A_200F_202B_202B_202C_200F_200D_206F_200C_200E_202A_206B_206A_206F_202D_200B_200B_206D_206C_200B_200C_206C_200B_200E_206B_202A_200C_202B_200C_206B_206F_202E((Exception)ex)) + }); + } + catch (Exception ex2) + { + _200D_206C_202C_202D_200E_202D_200C_206D_202B_200C_206E_202B_200E_202D_206A_206F_206A_202D_200B_200C_200C_200E_202A_200F_206D_200E_206E_206B_206C_200D_202C_200D_202D_206C_202A_200C_206F_202B_206B_202B_202E(_logger, ex2, global::_003CModule_003E._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(1347495695), new object[2] + { + TypeLabel, + _206E_206A_206B_206F_200F_206D_206F_206B_206B_206E_200F_200C_200E_202D_200D_206E_200C_206C_206D_206B_202A_206A_206D_202E_206D_202D_202C_200E_206F_206C_200D_206C_206A_202A_206E_206B_200C_202E_200E_200F_202E((FileSystemInfo)fileInfo) + }); + } + } + int num11 = num5; + num3 = 1; + num4 = num11; + } + return; + } + } + continue; + IL_004f: + num = 1970314600; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void RemoveExpiredDefinitions() + { + using List.Enumerator enumerator = (from kvp in _definitions.Where(delegate(KeyValuePair kvp) + { + DateTime? expiry = GetExpiry(kvp.Value); + int num5 = ((!expiry.HasValue) ? (-748929161) : (-748929164)); + while (true) + { + int num6 = num5; + int num7 = -748929162; + int num8 = num6; + switch ((num8 | num7) - (num8 & num7)) + { + case 0: + goto IL_0058; + case 1: + return false; + case 2: + { + DateTime valueOrDefault = expiry.GetValueOrDefault(); + return ExpiryUtils.NormalizeExpiry(valueOrDefault) < DateTime.UtcNow; + } + } + continue; + IL_0058: + num5 = -748929164; + } + }) + select kvp.Key).ToList().GetEnumerator(); + int num = 1782167825; + while (true) + { + int num2 = num; + int num3 = 1782167824; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1782167825; + break; + case 2: + { + ushort current = enumerator.Current; + _202C_206E_206B_202D_202B_202B_206C_202E_206B_206A_206E_202C_200B_202B_200F_200B_202B_206B_200D_200E_200C_200B_202B_202B_200F_202B_200F_202A_206E_200E_206F_200C_206D_206B_206D_200F_206D_206C_206E_202C_202E(_logger, global::_003CModule_003E._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(-767454481), new object[3] + { + TypeLabel, + current, + GetName(_definitions[current]) ?? current.ToString(_202A_206B_200D_200C_206D_206C_200E_206D_202C_206A_206F_206A_206A_200D_206F_202A_202D_206D_202B_206E_206E_206D_202E_200B_206E_200F_202E_202D_200E_206A_200E_206E_200F_200F_206D_200F_202A_202E_206B_202C_202E()) + }); + _definitions.Remove(current); + num = 1782167825; + break; + } + case 1: + num = (enumerator.MoveNext() ? 1782167826 : 1782167824); + break; + case 0: + return; + } + } + } + + private static ushort? ExtractIdFromName(string fileName) + { + ushort result; + int num = (ushort.TryParse(_202E_200D_200F_206D_206E_200C_206E_200B_200F_206A_206E_206F_200D_206D_206A_202B_206C_200B_202C_200B_206B_200E_206A_200E_200F_206D_202E_202A_202C_202E_200C_202C_202A_200C_200C_206F_206F_206D_200B_206E_202E(_200E_200D_200F_206D_200B_202D_200E_200D_206C_200C_206C_206A_202C_206E_202E_200B_206E_202A_206C_200D_202D_200D_200F_200E_200D_200E_206A_202E_200F_200C_206B_206A_200B_202D_206E_206F_202D_206E_202E_206A_202E(fileName), '_', 2, StringSplitOptions.None)[0], out result) ? 271957257 : 271957258); + while (true) + { + int num2 = num; + int num3 = 271957259; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return result; + case 1: + return null; + case 0: + goto IL_006e; + } + continue; + IL_006e: + num = 271957258; + } + } + + static DirectoryInfo _200D_206A_206C_200C_202C_200E_202B_200F_202D_202C_206F_206F_200D_206C_202E_206D_206E_206B_206B_202A_206F_202E_200F_200F_206D_200B_200C_202C_200F_200F_206F_206C_200D_206E_202C_200E_200C_206D_200C_206C_202E(IDalamudPluginInterface P_0) + { + return P_0.ConfigDirectory; + } + + static string _206E_206A_206B_206F_200F_206D_206F_206B_206B_206E_200F_200C_200E_202D_200D_206E_200C_206C_206D_206B_202A_206A_206D_202E_206D_202D_202C_200E_206F_206C_200D_206C_206A_202A_206E_206B_200C_202E_200E_200F_202E(FileSystemInfo P_0) + { + return P_0.FullName; + } + + static string _206D_206F_202D_200C_206F_200D_206C_206C_200F_202A_202E_206D_200F_202C_200D_202D_200D_202B_200B_200F_200F_200D_202B_202C_206C_200B_206D_206A_202C_202C_206F_206A_206A_200C_202A_206A_206D_200E_206A_200C_202E(string P_0, string P_1) + { + return Path.Combine(P_0, P_1); + } + + static DirectoryInfo _202E_200D_200D_206F_200C_202D_200F_206D_200F_202D_200D_202C_202D_206B_200E_200B_200E_206D_202D_206D_202A_200D_202E_200C_206D_202E_202B_206A_206A_206D_206B_206A_206F_200F_200F_200F_206B_206E_202E_206E_202E(string P_0) + { + return new DirectoryInfo(P_0); + } + + static void _200D_206C_202C_202D_200E_202D_200C_206D_202B_200C_206E_202B_200E_202D_206A_206F_206A_202D_200B_200C_200C_200E_202A_200F_206D_200E_206E_206B_206C_200D_202C_200D_202D_206C_202A_200C_206F_202B_206B_202B_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static bool _202C_206B_202D_200B_202E_206B_202D_202B_202C_200F_202E_206C_202A_200C_202C_200F_202B_202A_200D_202A_206C_206C_202E_206B_200C_202D_200C_200C_202C_200D_202E_206C_202B_200C_202C_200F_200C_206B_202D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202D_206A_200B_206C_202C_200F_202B_206E_200E_202E_206C_202D_202A_206A_202D_206F_206D_206B_200F_200F_202B_202A_202B_200E_206C_206F_206D_200E_200E_200B_202B_206F_202B_202E_206F_202B_200C_202C_200C_202E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202C_206E_206B_202D_202B_202B_206C_202E_206B_206A_206E_202C_200B_202B_200F_200B_202B_206B_200D_200E_200C_200B_202B_202B_200F_202B_200F_202A_206E_200E_206F_200C_206D_206B_206D_200F_206D_206C_206E_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static FileInfo _206B_202E_200E_206D_206B_206F_206D_206E_200B_202A_206D_202D_202E_206B_200E_202C_200C_200E_206D_200C_206F_206D_200D_206E_206B_200B_206C_206F_206A_202A_200C_200F_200D_200D_206A_200C_200D_200B_202A_202E_202E(IDalamudPluginInterface P_0) + { + return P_0.AssemblyLocation; + } + + static DirectoryInfo _200F_206E_206C_202B_200C_200D_202A_202A_206C_202B_202B_200D_202E_200D_206D_206E_206D_206F_206C_202E_202C_202B_200D_206D_200B_202A_206D_206C_206F_206D_200B_200E_200C_202C_206C_206B_202A_200C_202C_202D_202E(FileInfo P_0) + { + return P_0.Directory; + } + + static DirectoryInfo _206F_206E_202B_200F_202D_202D_202E_200C_206C_200E_202D_202B_206B_200C_206C_200B_206B_206E_202A_200E_200D_200E_202A_202C_202E_206D_202E_202D_202A_202E_202C_206A_202E_202E_206D_202E_202E_202C_206F_200D_202E(DirectoryInfo P_0) + { + return P_0.Parent; + } + + static string _206C_200F_202D_202C_202C_202A_206A_202C_200E_206F_200E_200B_202E_206A_202B_202B_200D_206C_202A_206E_200B_200F_200D_202D_202E_206E_206F_200E_202C_202D_206A_200F_200D_206A_200C_200E_200F_200F_202E_206A_202E(string P_0, string P_1, string P_2) + { + return Path.Combine(P_0, P_1, P_2); + } + + static bool _202A_206B_200D_200C_202E_206A_206E_206A_206D_206E_200D_200F_206B_200E_206D_200C_200F_206E_200E_202B_200B_200F_200F_202C_206F_206A_200E_200E_206A_200D_202D_202D_206A_200F_206E_202D_206F_202C_206A_202E(FileSystemInfo P_0) + { + return P_0.Exists; + } + + static FileInfo[] _206C_200E_206E_206B_206D_202A_206C_202C_200B_206B_200F_200B_206B_202E_200D_202C_206E_206F_200D_202A_202B_206F_206A_200B_202E_206F_202D_200C_206E_206D_200B_200D_202C_200B_206C_206A_206E_206D_200D_200E_202E(DirectoryInfo P_0, string P_1) + { + return P_0.GetFiles(P_1); + } + + static string _200D_206F_200D_202C_206E_202A_206B_202C_206A_200D_206F_200C_206A_200B_202B_200F_206F_202E_206A_200F_206B_202B_206E_202D_200B_200B_206B_202B_206D_206D_202A_200C_202E_202C_206B_202B_200F_206D_206D_202A_202E(FileSystemInfo P_0) + { + return P_0.Name; + } + + static FileStream _206D_202B_206D_202A_202D_200F_206D_206D_202C_200F_202E_200C_206D_202D_206A_200F_202D_200E_206A_206C_202B_200B_202C_206F_202B_200E_206B_200F_206C_200C_206C_202C_202C_206E_206F_200F_202C_202A_202A_200D_202E(FileInfo P_0) + { + return P_0.OpenRead(); + } + + static JsonNode _202B_202E_200B_206F_202C_202D_202C_206C_206D_206C_200C_202E_200B_206E_206C_202E_200C_206B_206B_202E_206F_206B_200E_200C_200C_206B_206F_202E_200C_202C_200E_200C_200F_206D_202E_206A_200C_200C_206C_200C_202E(Stream P_0, JsonNodeOptions? P_1, JsonDocumentOptions P_2) + { + return JsonNode.Parse(P_0, P_1, P_2); + } + + static CultureInfo _202A_206B_200D_200C_206D_206C_200E_206D_202C_206A_206F_206A_206A_200D_206F_202A_202D_206D_202B_206E_206E_206D_202E_200B_206E_200F_202E_202D_200E_206A_200E_206E_200F_200F_206D_200F_202A_202E_206B_202C_202E() + { + return CultureInfo.InvariantCulture; + } + + static string _202A_202D_206C_206F_202B_202C_202D_206D_200D_206A_200F_202B_202B_202C_200F_200D_206F_200C_200E_202A_206B_206A_206F_202D_200B_200B_206D_206C_200B_200C_206C_200B_200E_206B_202A_200C_202B_200C_206B_206F_202E(Exception P_0) + { + return P_0.Message; + } + + static string _206E_200B_206E_202A_200F_206A_200F_200B_206B_200F_206C_202E_200F_206F_200E_202E_200D_200C_202C_202C_200B_206A_206C_202D_202C_206F_206C_202D_200D_200B_200F_206D_200E_206C_202C_206F_206E_206E_206A_202C_202E(string P_0, string P_1, string P_2, string P_3) + { + return P_0 + P_1 + P_2 + P_3; + } + + static string _200E_200D_200F_206D_200B_202D_200E_200D_206C_200C_206C_206A_202C_206E_202E_200B_206E_202A_206C_200D_202D_200D_200F_200E_200D_200E_206A_202E_200F_200C_206B_206A_200B_202D_206E_206F_202D_206E_202E_206A_202E(string P_0) + { + return Path.GetFileNameWithoutExtension(P_0); + } + + static string[] _202E_200D_200F_206D_206E_200C_206E_200B_200F_206A_206E_206F_200D_206D_206A_202B_206C_200B_202C_200B_206B_200E_206A_200E_200F_206D_202E_202A_202C_202E_200C_202C_202A_200C_200C_206F_206F_206D_200B_206E_202E(string P_0, char P_1, int P_2, StringSplitOptions P_3) + { + return P_0.Split(P_1, P_2, P_3); + } +} diff --git a/Questionable/Questionable.Controller/EQuestResolutionType.cs b/Questionable/Questionable.Controller/EQuestResolutionType.cs new file mode 100644 index 00000000..e86e475c --- /dev/null +++ b/Questionable/Questionable.Controller/EQuestResolutionType.cs @@ -0,0 +1,17 @@ +namespace Questionable.Controller; + +internal enum EQuestResolutionType +{ + Simulated, + NextQuest, + GatheringQuest, + 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 00000000..a8421f63 --- /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 d8c1d428..e8cf4dc5 100644 --- a/Questionable/Questionable.Controller/FateController.cs +++ b/Questionable/Questionable.Controller/FateController.cs @@ -1,7 +1,8 @@ using System; using System.Collections.Generic; using System.Globalization; -using System.Runtime.InteropServices; +using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Plugin.Services; using Microsoft.Extensions.Logging; using Questionable.Controller.Steps; @@ -11,6 +12,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 +22,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 +36,8 @@ internal sealed class FateController : MiniTaskController public FateDefinition? CurrentFate => _currentFate; + public TaskQueue TaskQueue => _taskQueue; + public int CompletedCycles => _completedCycles; public int? CycleLimit => _cycleLimit; @@ -44,122 +46,292 @@ internal sealed class FateController : MiniTaskController { get { - if (!IsRunning) + int num = (IsRunning ? (-1577720551) : (-1577720550)); + while (true) { - return TimeSpan.Zero; + int num2 = num; + int num3 = -1577720549; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return DateTime.UtcNow - _startTime; + case 1: + return TimeSpan.Zero; + case 0: + goto IL_005d; + } + continue; + IL_005d: + num = -1577720550; } - return DateTime.UtcNow - _startTime; } } - 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; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Start(FateDefinition fate, int? cycleLimit = null) { _currentFate = fate; _completedCycles = 0; _cycleLimit = cycleLimit; _startTime = DateTime.UtcNow; - _logger.LogInformation("Starting FATE farming: {FateName} (limit: {Limit})", fate.Name, cycleLimit?.ToString(CultureInfo.InvariantCulture) ?? "unlimited"); + _202B_200F_202C_200F_202A_206F_200B_206A_202B_200B_202D_202D_202B_200D_206B_206C_202C_200C_200B_206A_202E_206C_200F_206B_206B_206C_202A_202D_200D_200E_206A_200F_202B_202D_206D_206A_206A_200E_206F_206E_202E((ILogger)_logger, global::_003CModule_003E._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(1566011469), new object[2] + { + _200D_206B_202C_206C_206E_206F_202E_206E_200D_202C_202D_200B_200E_206F_200B_202D_200B_202D_200D_202D_200D_200D_202E_200F_206D_202D_200F_200D_206A_202C_202A_200E_206F_206D_200E_206F_202B_206A_200F_200F_202E(fate), + cycleLimit?.ToString(_206F_200E_200D_202A_200F_200B_206A_202D_200D_202D_206A_206D_206E_206C_200B_200F_200E_206C_206B_206F_200B_200F_206B_202D_202A_206F_206E_200E_200E_200D_202B_202C_206D_206F_200E_206C_202B_206A_206B_206B_202E()) ?? global::_003CModule_003E._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(1353267636) + }); EnqueueFateCycle(); } + [MethodImpl(MethodImplOptions.NoInlining)] public void Update() { - if (_currentFate == null || _movementController.IsPathfinding || _movementController.IsPathRunning) + int num = ((_currentFate != null) ? 799509446 : 799509451); + while (true) { - return; - } - if (_taskQueue.AllTasksComplete) - { - _completedCycles++; - if (_cycleLimit.HasValue && _completedCycles >= _cycleLimit.Value) + int num2 = num; + int num3 = 799509447; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _logger.LogInformation("FATE cycle limit reached ({Cycles}/{Limit})", _completedCycles, _cycleLimit.Value); - Stop("Cycle limit reached"); + case 8: + num = ((!_gameFunctions.IsOccupied()) ? 799509443 : 799509442); + break; + case 2: + _202B_200F_202C_200F_202A_206F_200B_206A_202B_200B_202D_202D_202B_200D_206B_206C_202C_200C_200B_206A_202E_206C_200F_206B_206B_206C_202A_202D_200D_200E_206A_200F_202B_202D_206D_206A_206A_200E_206F_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-1655536442), new object[2] { _completedCycles, _cycleLimit.Value }); + Stop(global::_003CModule_003E._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(1011465347)); + return; + case 12: + return; + case 6: + { + int completedCycles = _completedCycles; + num3 = 1; + num4 = completedCycles; + _completedCycles = (num4 | num3) + (num4 & num3); + num = ((!_cycleLimit.HasValue) ? 799509440 : 799509453); + break; + } + case 3: + num = ((!_movementController.IsPathRunning) ? 799509455 : 799509454); + break; + case 5: + return; + case 10: + num = ((_completedCycles < _cycleLimit.Value) ? 799509440 : 799509445); + break; + case 4: + num = ((!_taskQueue.AllTasksComplete) ? 799509452 : 799509441); + break; + case 7: + EnqueueFateCycle(); + num = 799509452; + break; + case 0: + num = 799509451; + break; + case 11: + UpdateCurrentTask(); + return; + case 1: + num = (_movementController.IsPathfinding ? 799509454 : 799509444); + break; + case 9: return; } - EnqueueFateCycle(); } - UpdateCurrentTask(); } + [MethodImpl(MethodImplOptions.NoInlining)] private void EnqueueFateCycle() { - if (_currentFate != null) + int num = ((_currentFate != null) ? (-147335237) : (-147335233)); + while (true) { - _logger.LogInformation("Enqueuing FATE cycle for {FateName}", _currentFate.Name); - if (_clientState.TerritoryType != _currentFate.TerritoryId) + int num2 = num; + int num3 = -147335238; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _taskQueue.Enqueue(new AetheryteShortcut.Task(null, null, _currentFate.Aetheryte, _currentFate.TerritoryId)); - } - if (_currentFate.RequiredStatusId.HasValue && _currentFate.TransformNpcDataId.HasValue && _currentFate.TransformNpcPosition.HasValue && !_gameFunctions.HasStatus(_currentFate.RequiredStatusId.Value)) + case 4: + num = -147335233; + break; + case 3: + num = (_gameFunctions.HasStatus(_202D_202B_202E_200E_206C_200F_206D_206B_200D_200E_206E_206D_206B_206C_206C_200F_206F_200B_202A_206F_206B_202D_200D_200F_206F_206B_200F_200C_206F_202C_206F_206F_200D_200E_200C_202C_200B_206F_202E_206E_202E(_currentFate).Value) ? (-147335235) : (-147335238)); + break; + case 6: + num = ((!_202A_206E_202D_200E_202D_200E_206D_202A_202C_202B_202B_202E_206B_200B_202D_206C_202C_206D_200E_206E_202C_200E_200B_206F_202E_206A_206F_206F_200C_206A_202A_200C_200E_202A_206B_200D_200C_206C_206B_200E_202E(_currentFate).HasValue) ? (-147335235) : (-147335239)); + break; + case 0: { - _logger.LogInformation("Player missing required status {StatusId}, enqueuing transform", _currentFate.RequiredStatusId.Value); - _taskQueue.Enqueue(new MoveTask(_currentFate.TerritoryId, _currentFate.TransformNpcPosition.Value, null, 3f)); + _200F_202D_200C_206D_206E_206B_200D_200C_200C_206F_202D_200F_200E_206A_200E_200B_206E_206C_206D_200B_200D_206A_206B_200B_206E_202E_202C_200C_200D_206B_206D_206C_206E_202A_200E_200E_200F_200F_202E_200F_202E((ILogger)_logger, global::_003CModule_003E._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(534849822), new object[1] { _202D_202B_202E_200E_206C_200F_206D_206B_200D_200E_206E_206D_206B_206C_206C_200F_206F_200B_202A_206F_206B_202D_200D_200F_206F_206B_200F_200C_206F_202C_206F_206F_200D_200E_200C_202C_200B_206F_202E_206E_202E(_currentFate).Value }); + _taskQueue.Enqueue(new MoveTask(_206F_206F_200C_206C_200E_206E_202B_202B_206D_200D_206D_202B_206D_206D_206A_202B_206D_206D_206E_202A_206F_206C_202D_206B_206D_202A_206F_200F_206F_206B_200E_206D_202A_202B_202A_206F_202A_202B_200E_200F_202E(_currentFate), _202A_206E_202D_200E_202D_200E_206D_202A_202C_202B_202B_202E_206B_200B_202D_206C_202C_206D_200E_206E_202C_200E_200B_206F_202E_206A_206F_206F_200C_206A_202A_200C_200E_202A_206B_200D_200C_206C_206B_200E_202E(_currentFate).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)); + uint value = _202A_200C_202E_202B_206C_206A_202E_206C_206D_202C_200E_200D_206D_206C_200C_200D_200B_200C_200E_200D_206C_206F_200E_206C_200F_206F_206E_206B_202E_206E_200D_206B_206F_206C_206D_206F_206A_202D_206A_200F_202E(_currentFate).Value; + EStatus? completionStatusId = _202D_202B_202E_200E_206C_200F_206D_206B_200D_200E_206E_206D_206B_206C_206C_200F_206F_200B_202A_206F_206B_202D_200D_200F_206F_206B_200F_200C_206F_202C_206F_206F_200D_200E_200C_202C_200B_206F_202E_206E_202E(_currentFate); + taskQueue.Enqueue(new Interact.Task(value, null, EInteractionType.Interact, SkipMarkerCheck: true, null, null, null, null, completionStatusId)); _taskQueue.Enqueue(new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(2L))); + _taskQueue.Enqueue(new MoveTask(_206F_206F_200C_206C_200E_206E_202B_202B_206D_200D_206D_202B_206D_206D_206A_202B_206D_206D_206E_202A_206F_206C_202D_206B_206D_202A_206F_200F_206F_206B_200E_206D_202A_202B_202A_206F_202A_202B_200E_200F_202E(_currentFate), _206B_200F_200F_202B_206B_206C_200C_206A_206A_202D_202A_202B_206A_206F_202D_200D_200D_206B_202D_202B_202C_200F_200F_206A_202C_202D_206B_202C_206C_206C_202E_202E_206A_202E_202D_200F_200E_206A_200F_206D_202E(_currentFate), null, MountRequired: false, DismountRequired: false, 5f)); + num = -147335235; + break; + } + case 1: + _200F_202D_200C_206D_206E_206B_200D_200C_200C_206F_202D_200F_200E_206A_200E_200B_206E_206C_206D_200B_200D_206A_206B_200B_206E_202E_202C_200C_200D_206B_206D_206C_206E_202A_200E_200E_200F_200F_202E_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-371117818), new object[1] { _200D_206B_202C_206C_206E_206F_202E_206E_200D_202C_202D_200B_200E_206F_200B_202D_200B_202D_200D_202D_200D_200D_202E_200F_206D_202D_200F_200D_206A_202C_202A_200E_206F_206D_200E_206F_202B_206A_200F_200F_202E(_currentFate) }); + _routeEnqueuer.Enqueue(_taskQueue, _206F_206F_200C_206C_200E_206E_202B_202B_206D_200D_206D_202B_206D_206D_206A_202B_206D_206D_206E_202A_206F_206C_202D_206B_206D_202A_206F_200F_206F_206B_200E_206D_202A_202B_202A_206F_202A_202B_200E_200F_202E(_currentFate), _206B_200F_200F_202B_206B_206C_200C_206A_206A_202D_202A_202B_206A_206F_202D_200D_200D_206B_202D_202B_202C_200F_200F_206A_202C_202D_206B_202C_206C_206C_202E_202E_206A_202E_202D_200F_200E_206A_200F_206D_202E(_currentFate), 5f); + num = ((!_202D_202B_202E_200E_206C_200F_206D_206B_200D_200E_206E_206D_206B_206C_206C_200F_206F_200B_202A_206F_206B_202D_200D_200F_206F_206B_200F_200C_206F_202C_206F_206F_200D_200E_200C_202C_200B_206F_202E_206E_202E(_currentFate).HasValue) ? (-147335235) : (-147335240)); + break; + case 2: + num = ((!_202A_200C_202E_202B_206C_206A_202E_206C_206D_202C_200E_200D_206D_206C_200C_200D_200B_200C_200E_200D_206C_206F_200E_206C_200F_206F_206E_206B_202E_206E_200D_206B_206F_206C_206D_206F_206A_202D_206A_200F_202E(_currentFate).HasValue) ? (-147335235) : (-147335236)); + break; + case 7: + _taskQueue.Enqueue(new Mount.UnmountTask()); + _taskQueue.Enqueue(new FateFarming.WaitForFateTargets(_202C_200D_200B_206B_206C_200F_206E_202D_206F_206A_206D_202C_206D_202A_202C_202D_200E_202B_202D_202A_202D_202B_200E_200F_202A_206D_206D_202D_206A_206E_200B_202A_206B_206A_206E_206B_206B_202A_206E_206A_202E(_currentFate))); + _taskQueue.Enqueue(new FateFarming.SyncFateLevel()); + _taskQueue.Enqueue(new FateFarming.FateActionLoop(_202C_200D_200B_206B_206C_200F_206E_202D_206F_206A_206D_202C_206D_202A_202C_202D_200E_202B_202D_202A_202D_202B_200E_200F_202A_206D_206D_202D_206A_206E_200B_202A_206B_206A_206E_206B_206B_202A_206E_206A_202E(_currentFate), _202D_202B_202E_200E_206C_200F_206D_206B_200D_200E_206E_206D_206B_206C_206C_200F_206F_200B_202A_206F_206B_202D_200D_200F_206F_206B_200F_200C_206F_202C_206F_206F_200D_200E_200C_202C_200B_206F_202E_206E_202E(_currentFate))); + _taskQueue.Enqueue(new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(3L))); + return; + case 5: + return; } - _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()); - _taskQueue.Enqueue(new FateFarming.FateActionLoop(_currentFate.Targets, _currentFate.RequiredStatusId)); - _taskQueue.Enqueue(new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(3L))); } } + [MethodImpl(MethodImplOptions.NoInlining)] + public void Replan() + { + int num = ((_currentFate != null) ? 1044869375 : 1044869372); + while (true) + { + int num2 = num; + int num3 = 1044869374; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _202B_200F_202C_200F_202A_206F_200B_206A_202B_200B_202D_202D_202B_200D_206B_206C_202C_200C_200B_206A_202E_206C_200F_206B_206B_206C_202A_202D_200D_200E_206A_200F_202B_202D_206D_206A_206A_200E_206F_206E_202E((ILogger)_logger, global::_003CModule_003E._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(522631181), new object[1] { _200D_206B_202C_206C_206E_206F_202E_206E_200D_202C_202D_200B_200E_206F_200B_202D_200B_202D_200D_202D_200D_200D_202E_200F_206D_202D_200F_200D_206A_202C_202A_200E_206F_206D_200E_206F_202B_206A_200F_200F_202E(_currentFate) }); + _taskQueue.Reset(); + EnqueueFateCycle(); + return; + case 2: + return; + case 0: + goto IL_0082; + } + continue; + IL_0082: + num = 1044869372; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override void Stop(string label) { - if (_currentFate != null) + base.Stop(label); + int num = ((_currentFate == null) ? 1034562538 : 1034562541); + while (true) { - _logger.LogInformation("Stopping FATE farming: {Label} (completed {Cycles} cycles)", label, _completedCycles); - if (_currentFate.StopAction.HasValue && _currentFate.RequiredStatusId.HasValue && _gameFunctions.HasStatus(_currentFate.RequiredStatusId.Value)) + int num2 = num; + int num3 = 1034562539; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - _logger.LogInformation("Using stop action {Action} to remove transformation", _currentFate.StopAction.Value); - _gameFunctions.UseAction(_currentFate.StopAction.Value); + case 2: + _202B_200F_202C_200F_202A_206F_200B_206A_202B_200B_202D_202D_202B_200D_206B_206C_202C_200C_200B_206A_202E_206C_200F_206B_206B_206C_202A_202D_200D_200E_206A_200F_202B_202D_206D_206A_206A_200E_206F_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-757113622), new object[1] { _206B_200F_206B_202A_206A_202B_206C_206F_206C_202E_202A_200C_206F_206F_202C_206C_206D_206E_206B_206B_206B_200F_200D_206A_202E_202B_202C_206B_206B_206D_206A_206D_200E_202C_202E_206C_206C_202E_200D_200D_202E(_currentFate).Value }); + _gameFunctions.UseAction(_206B_200F_206B_202A_206A_202B_206C_206F_206C_202E_202A_200C_206F_206F_202C_206C_206D_206E_206B_206B_206B_200F_200D_206A_202E_202B_202C_206B_206B_206D_206A_206D_200E_202C_202E_206C_206C_202E_200D_200D_202E(_currentFate).Value); + num = 1034562543; + break; + case 0: + num = ((!_gameFunctions.HasStatus(_202D_202B_202E_200E_206C_200F_206D_206B_200D_200E_206E_206D_206B_206C_206C_200F_206F_200B_202A_206F_206B_202D_200D_200F_206F_206B_200F_200C_206F_202C_206F_206F_200D_200E_200C_202C_200B_206F_202E_206E_202E(_currentFate).Value)) ? 1034562543 : 1034562537); + break; + case 5: + num = ((!_202D_202B_202E_200E_206C_200F_206D_206B_200D_200E_206E_206D_206B_206C_206C_200F_206F_200B_202A_206F_206B_202D_200D_200F_206F_206B_200F_200C_206F_202C_206F_206F_200D_200E_200C_202C_200B_206F_202E_206E_202E(_currentFate).HasValue) ? 1034562543 : 1034562539); + break; + case 6: + _202B_200F_202C_200F_202A_206F_200B_206A_202B_200B_202D_202D_202B_200D_206B_206C_202C_200C_200B_206A_202E_206C_200F_206B_206B_206C_202A_202D_200D_200E_206A_200F_202B_202D_206D_206A_206A_200E_206F_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-1276129984), new object[2] { label, _completedCycles }); + num = ((!_206B_200F_206B_202A_206A_202B_206C_206F_206C_202E_202A_200C_206F_206F_202C_206C_206D_206E_206B_206B_206B_200F_200D_206A_202E_202B_202C_206B_206B_206D_206A_206D_200E_202C_202E_206C_206C_202E_200D_200D_202E(_currentFate).HasValue) ? 1034562543 : 1034562542); + break; + case 4: + _routeEnqueuer.ClearDestination(); + _currentFate = null; + _completedCycles = 0; + _cycleLimit = null; + _taskQueue.Reset(); + num = 1034562538; + break; + case 1: + return; + case 3: + num = 1034562541; + break; } - _currentFate = null; - _completedCycles = 0; - _cycleLimit = null; - _taskQueue.Reset(); } } - public override IList GetRemainingTaskNames() + static string _200D_206B_202C_206C_206E_206F_202E_206E_200D_202C_202D_200B_200E_206F_200B_202D_200B_202D_200D_202D_200D_200D_202E_200F_206D_202D_200F_200D_206A_202C_202A_200E_206F_206D_200E_206F_202B_206A_200F_200F_202E(FateDefinition P_0) { - 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(); + return P_0.Name; + } + + static CultureInfo _206F_200E_200D_202A_200F_200B_206A_202D_200D_202D_206A_206D_206E_206C_200B_200F_200E_206C_206B_206F_200B_200F_206B_202D_202A_206F_206E_200E_200E_200D_202B_202C_206D_206F_200E_206C_202B_206A_206B_206B_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _202B_200F_202C_200F_202A_206F_200B_206A_202B_200B_202D_202D_202B_200D_206B_206C_202C_200C_200B_206A_202E_206C_200F_206B_206B_206C_202A_202D_200D_200E_206A_200F_202B_202D_206D_206A_206A_200E_206F_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _200F_202D_200C_206D_206E_206B_200D_200C_200C_206F_202D_200F_200E_206A_200E_200B_206E_206C_206D_200B_200D_206A_206B_200B_206E_202E_202C_200C_200D_206B_206D_206C_206E_202A_200E_200E_200F_200F_202E_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static ushort _206F_206F_200C_206C_200E_206E_202B_202B_206D_200D_206D_202B_206D_206D_206A_202B_206D_206D_206E_202A_206F_206C_202D_206B_206D_202A_206F_200F_206F_206B_200E_206D_202A_202B_202A_206F_202A_202B_200E_200F_202E(FateDefinition P_0) + { + return P_0.TerritoryId; + } + + static Vector3 _206B_200F_200F_202B_206B_206C_200C_206A_206A_202D_202A_202B_206A_206F_202D_200D_200D_206B_202D_202B_202C_200F_200F_206A_202C_202D_206B_202C_206C_206C_202E_202E_206A_202E_202D_200F_200E_206A_200F_206D_202E(FateDefinition P_0) + { + return P_0.Position; + } + + static EStatus? _202D_202B_202E_200E_206C_200F_206D_206B_200D_200E_206E_206D_206B_206C_206C_200F_206F_200B_202A_206F_206B_202D_200D_200F_206F_206B_200F_200C_206F_202C_206F_206F_200D_200E_200C_202C_200B_206F_202E_206E_202E(FateDefinition P_0) + { + return P_0.RequiredStatusId; + } + + static uint? _202A_200C_202E_202B_206C_206A_202E_206C_206D_202C_200E_200D_206D_206C_200C_200D_200B_200C_200E_200D_206C_206F_200E_206C_200F_206F_206E_206B_202E_206E_200D_206B_206F_206C_206D_206F_206A_202D_206A_200F_202E(FateDefinition P_0) + { + return P_0.TransformNpcDataId; + } + + static Vector3? _202A_206E_202D_200E_202D_200E_206D_202A_202C_202B_202B_202E_206B_200B_202D_206C_202C_206D_200E_206E_202C_200E_200B_206F_202E_206A_206F_206F_200C_206A_202A_200C_200E_202A_206B_200D_200C_206C_206B_200E_202E(FateDefinition P_0) + { + return P_0.TransformNpcPosition; + } + + static List _202C_200D_200B_206B_206C_200F_206E_202D_206F_206A_206D_202C_206D_202A_202C_202D_200E_202B_202D_202A_202D_202B_200E_200F_202A_206D_206D_202D_206A_206E_200B_202A_206B_206A_206E_206B_206B_202A_206E_206A_202E(FateDefinition P_0) + { + return P_0.Targets; + } + + static EAction? _206B_200F_206B_202A_206A_202B_206C_206F_206C_202E_202A_200C_206F_206F_202C_206C_206D_206E_206B_206B_206B_200F_200D_206A_202E_202B_202C_206B_206B_206D_206A_206D_200E_202C_202E_206C_206C_202E_200D_200D_202E(FateDefinition P_0) + { + return P_0.StopAction; } } diff --git a/Questionable/Questionable.Controller/FateDefinitionRegistry.cs b/Questionable/Questionable.Controller/FateDefinitionRegistry.cs index f296b907..0787348f 100644 --- a/Questionable/Questionable.Controller/FateDefinitionRegistry.cs +++ b/Questionable/Questionable.Controller/FateDefinitionRegistry.cs @@ -1,148 +1,78 @@ -#define RELEASE using System; using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Text.Json; +using System.Runtime.CompilerServices; 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; - - private readonly ILogger _logger; - - private readonly Dictionary _definitions = new Dictionary(); - - public IReadOnlyDictionary Definitions => _definitions; - - public FateDefinitionRegistry(IDalamudPluginInterface pluginInterface, ILogger logger) + protected override string TypeLabel { - _pluginInterface = pluginInterface; - _logger = logger; - Reload(); - } - - public void Reload() - { - _definitions.Clear(); - LoadFromAssembly(); - try + [MethodImpl(MethodImplOptions.NoInlining)] + get { - 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); - } - - [Conditional("RELEASE")] - private void LoadFromAssembly() - { - _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); - } - - [Conditional("DEBUG")] - private void LoadFromProjectDirectory() - { - 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"); - } + return global::_003CModule_003E._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(70009244); } } - private void LoadFromDirectory(DirectoryInfo directory) + protected override string ConfigDirectoryName { - if (!directory.Exists) + [MethodImpl(MethodImplOptions.NoInlining)] + get { - _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); - } + return global::_003CModule_003E._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(223633553); } } - private void RemoveExpiredDefinitions() + protected override string ProjectDirectoryName { - 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()) + [MethodImpl(MethodImplOptions.NoInlining)] + get { - _logger.LogInformation("Removing expired FATE definition {Id} '{Name}'", item, _definitions[item].Name); - _definitions.Remove(item); + return global::_003CModule_003E._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(1573744777); } } - private static ushort? ExtractIdFromName(string fileName) + protected override EPathType PathType => EPathType.Fate; + + public FateDefinitionRegistry(IDalamudPluginInterface pluginInterface, FateSchemaValidator fateSchemaValidator, QuestValidator questValidator, ILogger logger) + : base(pluginInterface, (IDefinitionSchemaValidator)fateSchemaValidator, questValidator, (ILogger)logger) { - 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; + } + + protected override IReadOnlyDictionary GetAssemblyDefinitions() + { + return _206E_200D_202D_200F_206F_202C_202C_202E_200E_202B_202C_200F_206C_206F_206F_206A_206F_206D_206F_206D_200B_202C_206B_206F_206F_206C_202E_202C_200F_206B_202B_202C_206F_206B_200F_200D_206A_202D_202E_206D_202E(); + } + + protected override DateTime? GetExpiry(FateDefinition definition) + { + return _206A_202B_200B_202E_206A_206B_206F_206D_202D_202A_202E_202B_200B_206D_206D_206B_206C_200E_206B_202E_202A_206E_206A_200C_202D_200E_200C_202B_202D_202B_202C_202B_200C_202A_202E_200B_202D_202C_200D_202C_202E(definition); + } + + protected override string? GetName(FateDefinition definition) + { + return _206D_200D_206C_202B_202C_206C_206B_202B_200D_206F_206E_202D_206E_200F_206A_206B_200D_200E_200D_200C_206F_206A_200F_200F_202C_206A_206F_200D_202D_206F_206A_200C_206E_202D_206E_200E_200D_200F_206E_202C_202E(definition); + } + + static IReadOnlyDictionary _206E_200D_202D_200F_206F_202C_202C_202E_200E_202B_202C_200F_206C_206F_206F_206A_206F_206D_206F_206D_200B_202C_206B_206F_206F_206C_202E_202C_200F_206B_202B_202C_206F_206B_200F_200D_206A_202D_202E_206D_202E() + { + return AssemblyFateDefinitionLoader.GetDefinitions(); + } + + static DateTime? _206A_202B_200B_202E_206A_206B_206F_206D_202D_202A_202E_202B_200B_206D_206D_206B_206C_200E_206B_202E_202A_206E_206A_200C_202D_200E_200C_202B_202D_202B_202C_202B_200C_202A_202E_200B_202D_202C_200D_202C_202E(FateDefinition P_0) + { + return P_0.EventExpiry; + } + + static string _206D_200D_206C_202B_202C_206C_206B_202B_200D_206F_206E_202D_206E_200F_206A_206B_200D_200E_200D_200C_206F_206A_200F_200F_202C_206A_206F_200D_202D_206F_206A_200C_206E_202D_206E_200E_200D_200F_206E_202C_202E(FateDefinition P_0) + { + return P_0.Name; } } diff --git a/Questionable/Questionable.Controller/FishingController.cs b/Questionable/Questionable.Controller/FishingController.cs new file mode 100644 index 00000000..48525d68 --- /dev/null +++ b/Questionable/Questionable.Controller/FishingController.cs @@ -0,0 +1,830 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +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.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) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202A_200B_206F_202C_206E_206F_206E_202B_206A_200F_200D_206F_202A_200C_200C_206B_202A_206B_206B_202A_206A_206C_200D_206A_206C_202E_200F_202B_202D_202C_206D_202C_200C_200F_206D_202C_202C_200E_202B_202D_202E(typeof(FishingRequest).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200C_206F_200E_200F_202B_200D_200E_206F_206F_202B_206C_200C_202C_200B_202B_200D_200B_200F_206E_206F_202A_200C_202C_206E_200B_200C_206E_206B_202D_206E_200D_200E_202E_206F_200F_206C_206E_206A_200F_206E_202E(); + _200B_206F_202D_200E_202C_202A_200F_202D_200D_206F_206A_200E_200C_202C_206F_200C_202B_200E_200C_200D_202C_202E_202A_202B_202B_200C_202B_202D_200D_200E_206E_206F_200B_202C_206C_206C_206F_206F_206D_206B_202E(stringBuilder, global::_003CModule_003E._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(-149753861)); + _200B_206F_202D_200E_202C_202A_200F_202D_200D_206F_206A_200E_200C_202C_206F_200C_202B_200E_200C_200D_202C_202E_202A_202B_202B_200C_202B_202D_200D_200E_206E_206F_200B_202C_206C_206C_206F_206F_206D_206B_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-649209154) : (-649209155)); + while (true) + { + int num2 = num; + int num3 = -649209156; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -649209155; + break; + case 1: + _200C_206B_202B_206F_202D_206B_206E_200F_206B_200E_202A_206E_206E_202C_200E_200E_202B_206E_202E_200D_202B_200B_202D_206F_206E_200C_200C_206D_200B_206E_200B_200C_200D_206C_202B_200E_200E_202E_200F_206C_202E(stringBuilder, ' '); + num = -649209154; + break; + case 2: + _200C_206B_202B_206F_202D_206B_206E_200F_206B_200E_202A_206E_206E_202C_200E_200E_202B_206E_202E_200D_202B_200B_202D_206F_206E_200C_200C_206D_200B_206E_200B_200C_200D_206C_202B_200E_200E_202E_200F_206C_202E(stringBuilder, '}'); + return _200B_200E_200E_200C_206C_200B_206B_206F_202B_200C_200C_206B_200F_200C_200D_200B_200B_202D_206C_202D_200D_200E_200D_200E_206F_206A_206F_202C_202A_206A_206E_206E_206B_206A_206A_206B_202C_200F_206C_200C_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_202C_200F_200F_206D_206C_202C_202A_202E_206E_202C_200F_202B_206F_206E_206B_206E_202B_200E_200B_202A_206C_200E_202B_202E_200C_202A_206D_200C_202E_200E_200F_200C_200F_200E_202B_206A_202E_202B_206B_202E(); + _200B_206F_202D_200E_202C_202A_200F_202D_200D_206F_206A_200E_200C_202C_206F_200C_202B_200E_200C_200D_202C_202E_202A_202B_202B_200C_202B_202D_200D_200E_206E_206F_200B_202C_206C_206C_206F_206F_206D_206B_202E(builder, global::_003CModule_003E._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(-1176260912)); + _200B_206F_202D_200E_202C_202A_200F_202D_200D_206F_206A_200E_200C_202C_206F_200C_202B_200E_200C_200D_202C_202E_202A_202B_202B_200C_202B_202D_200D_200E_206E_206F_200B_202C_206C_206C_206F_206F_206D_206B_202E(builder, ItemId.ToString()); + _200B_206F_202D_200E_202C_202A_200F_202D_200D_206F_206A_200E_200C_202C_206F_200C_202B_200E_200C_200D_202C_202E_202A_202B_202B_200C_202B_202D_200D_200E_206E_206F_200B_202C_206C_206C_206F_206F_206D_206B_202E(builder, global::_003CModule_003E._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(-563538637)); + _200B_206F_202D_200E_202C_202A_200F_202D_200D_206F_206A_200E_200C_202C_206F_200C_202B_200E_200C_200D_202C_202E_202A_202B_202B_200C_202B_202D_200D_200E_206E_206F_200B_202C_206C_206C_206F_206F_206D_206B_202E(builder, Quantity.ToString()); + _200B_206F_202D_200E_202C_202A_200F_202D_200D_206F_206A_200E_200C_202C_206F_200C_202B_200E_200C_200D_202C_202E_202A_202B_202B_200C_202B_202D_200D_200E_206E_206F_200B_202C_206C_206C_206F_206F_206D_206B_202E(builder, global::_003CModule_003E._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(1025003851)); + _200B_206F_202D_200E_202C_202A_200F_202D_200D_206F_206A_200E_200C_202C_206F_200C_202B_200E_200C_200D_202C_202E_202A_202B_202B_200C_202B_202D_200D_200E_206E_206F_200B_202C_206C_206C_206F_206F_206D_206B_202E(builder, Collectability.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(FishingRequest? other) + { + int num = (((object)this == other) ? 677274432 : 677274436); + while (true) + { + int num2 = num; + int num3 = 677274434; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 677274436; + break; + case 4: + num = ((!_200C_200C_202C_206E_200D_202B_200B_202E_202B_200F_206F_200B_202D_202B_200B_202E_202A_200B_200B_206E_200B_206A_206B_206D_206B_202A_200C_206F_202A_206E_206F_202E_206A_206E_202E_206D_200F_200B_202D_202A_202E(EqualityContract, other.EqualityContract)) ? 677274435 : 677274437); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(Quantity, other.Quantity)) ? 677274435 : 677274439); + break; + case 5: + return EqualityComparer.Default.Equals(Collectability, other.Collectability); + case 7: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? 677274435 : 677274433); + break; + case 1: + return false; + case 6: + num = (((object)other == null) ? 677274435 : 677274438); + break; + case 2: + return true; + } + } + } + + bool IEquatable.Equals(FishingRequest? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202A_200B_206F_202C_206E_206F_206E_202B_206A_200F_200D_206F_202A_200C_200C_206B_202A_206B_206B_202A_206A_206C_200D_206A_206C_202E_200F_202B_202D_202C_206D_202C_200C_200F_206D_202C_202C_200E_202B_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200C_206F_200E_200F_202B_200D_200E_206F_206F_202B_206C_200C_202C_200B_202B_200D_200B_200F_206E_206F_202A_200C_202C_206E_200B_200C_206E_206B_202D_206E_200D_200E_202E_206F_200F_206C_206E_206A_200F_206E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200B_206F_202D_200E_202C_202A_200F_202D_200D_206F_206A_200E_200C_202C_206F_200C_202B_200E_200C_200D_202C_202E_202A_202B_202B_200C_202B_202D_200D_200E_206E_206F_200B_202C_206C_206C_206F_206F_206D_206B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200C_206B_202B_206F_202D_206B_206E_200F_206B_200E_202A_206E_206E_202C_200E_200E_202B_206E_202E_200D_202B_200B_202D_206F_206E_200C_200C_206D_200B_206E_200B_200C_200D_206C_202B_200E_200E_202E_200F_206C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_200E_200E_200C_206C_200B_206B_206F_202B_200C_200C_206B_200F_200C_200D_200B_200B_202D_206C_202D_200D_200E_200D_200E_206F_206A_206F_202C_202A_206A_206E_206E_206B_206A_206A_206B_202C_200F_206C_200C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202B_202C_200F_200F_206D_206C_202C_202A_202E_206E_202C_200F_202B_206F_206E_206B_206E_202B_200E_200B_202A_206C_200E_202B_202E_200C_202A_206D_200C_202E_200E_200F_200C_200F_200E_202B_206A_202E_202B_206B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _200C_200C_202C_206E_200D_202B_200B_202E_202B_200F_206F_200B_202D_202B_200B_202E_202A_200B_200B_206E_200B_206A_206B_206D_206B_202A_200C_206F_202A_206E_206F_202E_206A_206E_202E_206D_200F_200B_202D_202A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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 + { + int num = ((State == EFishingState.Idle) ? (-112078876) : (-112078873)); + while (true) + { + int num2 = num; + int num3 = -112078874; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 2: + return false; + case 1: + return State != EFishingState.Complete; + } + continue; + IL_0046: + num = -112078873; + } + } + } + + 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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool Start(FishingRequest request) + { + int num = ((State == EFishingState.Idle) ? (-974820956) : (-974820954)); + while (true) + { + int num2 = num; + int num3 = -974820958; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + _200B_206E_200F_206F_202D_200B_202B_200B_202E_202D_206D_202E_206C_206F_206C_200E_200F_202E_206C_206A_202A_206B_202D_206E_202E_206C_200D_200F_202B_200B_200C_200B_206F_202C_200F_202A_206F_202C_206C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(1404409549), Array.Empty()); + return false; + case 6: + num = (_autoHookIpc.IsAvailable() ? (-974820957) : (-974820959)); + break; + case 5: + State = EFishingState.Navigating; + return true; + case 0: + _currentRequest = null; + return false; + case 2: + num = -974820954; + break; + case 1: + _currentRequest = request; + _actionThrottle = 0L; + _baitReady = false; + _taskQueue.Reset(); + num = (TryEnqueueApproach(request) ? (-974820953) : (-974820958)); + break; + case 4: + _200F_206C_202B_206E_206B_206F_202C_200E_202D_200C_206E_200E_206A_202C_206F_202C_200F_202B_202C_202C_200F_202A_202E_206A_206E_202B_200D_206E_206B_202C_200D_202D_200E_206B_206D_202E_202A_206C_206E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(1205637689), new object[1] { State }); + return false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe bool TryEnqueueApproach(FishingRequest request) + { + FishingSpotInfo? spot; + int num = (_fishingData.TryGetFishingSpot(request.ItemId, out spot) ? (-407149571) : (-407149573)); + FishingSpotInfo value = default(FishingSpotInfo); + Vector3 vector = default(Vector3); + while (true) + { + int num2 = num; + int num3 = -407149570; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _200B_206E_200F_206F_202D_200B_202B_200B_202E_202D_206D_202E_206C_206F_206C_200E_200F_202E_206C_206A_202A_206B_202D_206E_202E_206C_200D_200F_202B_200B_200C_200B_206F_202C_200F_202A_206F_202C_206C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(1931468190), Array.Empty()); + return false; + case 4: + num = (EnqueueLurePurchase() ? (-407149572) : (-407149569)); + break; + case 3: + { + value = spot.Value; + Vector3 vector2 = new Vector3(value.X, 0f, value.Z); + vector = _navmeshIpc.GetPointOnFloor(vector2, unlandable: false) ?? vector2; + _202D_200F_200D_202D_202C_202A_200E_200D_206F_200D_200E_206E_206B_206E_200B_202E_202D_202B_202A_206F_206B_206C_206A_206B_206B_202E_202A_202B_206A_200B_206D_206E_206E_206F_206A_206E_206A_200B_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1546765915), new object[4] { request.ItemId, value.SpotId, value.TerritoryId, vector }); + num = ((InventoryManager.Instance()->GetInventoryItemCount(29717u, isHq: false, checkEquipped: true, checkArmory: true, 0) > 0) ? (-407149572) : (-407149574)); + break; + } + case 5: + _200B_206E_200F_206F_202D_200B_202B_200B_202E_202D_206D_202E_206C_206F_206C_200E_200F_202E_206C_206A_202A_206B_202D_206E_202E_206C_200D_200F_202B_200B_200C_200B_206F_202C_200F_202A_206F_202C_206C_202B_202E((ILogger)_logger, global::_003CModule_003E._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(281781333), new object[1] { request.ItemId }); + return false; + case 2: + EnqueueNavigateTo(value.TerritoryId, vector); + _taskQueue.Enqueue(new Mount.UnmountTask()); + return true; + case 0: + num = -407149573; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override void OnRetryStep() + { + int num = ((!(_currentRequest == null)) ? 1913182215 : 1913182210); + while (true) + { + int num2 = num; + int num3 = 1913182211; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1913182210; + break; + case 1: + Stop(global::_003CModule_003E._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(-600131236)); + return; + case 3: + State = EFishingState.Navigating; + return; + case 4: + _202D_200F_200D_202D_202C_202A_200E_200D_206F_200D_200E_206E_206B_206E_200B_202E_202D_202B_202A_206F_206B_206C_206A_206B_206B_202E_202A_202B_206A_200B_206D_206E_206E_206F_206A_206E_206A_200B_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(665668477), Array.Empty()); + _baitReady = false; + num = (TryEnqueueApproach(_currentRequest) ? 1913182208 : 1913182209); + break; + case 2: + Stop(global::_003CModule_003E._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(1698802452)); + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public EFishingState Update() + { + int num = ((State == EFishingState.Idle) ? (-1688940603) : (-1688940605)); + while (true) + { + int num2 = num; + int num3 = -1688940604; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = -1688940607; + break; + case 2: + Stop(global::_003CModule_003E._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(-975449559)); + return EFishingState.Idle; + case 6: + return UpdateOrienting(); + case 7: + num = ((State != EFishingState.Complete) ? (-1688940593) : (-1688940603)); + break; + case 10: + goto IL_00b0; + case 5: + return State; + case 0: + num = -1688940605; + break; + case 11: + num = ((!(_currentRequest == null)) ? (-1688940595) : (-1688940602)); + break; + case 1: + return State; + case 3: + goto IL_00f7; + case 8: + goto IL_00fe; + case 9: + { + switch (State) + { + case EFishingState.Orienting: + break; + case EFishingState.Preparing: + goto IL_00b0; + case EFishingState.Fishing: + goto IL_00f7; + case EFishingState.Navigating: + goto IL_00fe; + default: + goto IL_0124; + } + goto case 6; + } + IL_0124: + num = -1688940608; + break; + IL_00fe: + return UpdateNavigating(); + IL_00f7: + return UpdateFishing(); + IL_00b0: + return UpdatePreparing(); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private EFishingState UpdateNavigating() + { + int num = ((!_taskQueue.AllTasksComplete) ? (-1280253675) : (-1280253674)); + while (true) + { + int num2 = num; + int num3 = -1280253673; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004d; + case 1: + _206E_202B_206A_202A_202E_206E_206A_206D_206A_200B_202B_206A_202D_202B_200C_206D_200F_206F_206D_206A_202B_202A_200F_202C_202A_202E_206F_200C_200E_206B_206A_200D_200C_206D_200F_202E_200C_206E_206D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(2136190681), Array.Empty()); + State = EFishingState.Orienting; + return State; + case 2: + UpdateCurrentTask(); + return State; + } + continue; + IL_004d: + num = -1280253674; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe EFishingState UpdateOrienting() + { + IPlayerCharacter playerCharacter = _200F_202D_206D_206D_206C_206E_200B_202D_200E_202C_206B_202C_206C_206B_206D_200F_206C_200D_200C_202E_202B_200C_206A_206F_206A_202B_200D_200D_206B_206D_202B_200D_206B_200C_202B_202B_206B_200C_202A_202A_202E(_objectTable); + int num = ((playerCharacter != null) ? (-1536188772) : (-1536188775)); + Vector3 vector = default(Vector3); + (float, Vector3)? tuple = default((float, Vector3)?); + while (true) + { + int num2 = num; + int num3 = -1536188776; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _200F_206C_202B_206E_206B_206F_202C_200E_202D_200C_206E_200E_206A_202C_206F_202C_200F_202B_202C_202C_200F_202A_202E_206A_206E_202B_200D_206E_206B_202C_200D_202D_200E_206B_206D_202E_202A_206C_206E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-1988024988), new object[1] { vector }); + Stop(global::_003CModule_003E._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(1777525514)); + return State; + case 0: + { + Vector3 item = tuple.Value.Item2; + _206E_202B_206A_202A_202E_206E_206A_206D_206A_200B_202B_206A_202D_202B_200C_206D_200F_206F_206D_206A_202B_202A_200F_202C_202A_202E_206F_200C_200E_206B_206A_200D_200C_206D_200F_202E_200C_206E_206D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-245731895), new object[1] { item }); + ActionManager.Instance()->AutoFaceTargetPosition(&item, 0uL); + State = EFishingState.Preparing; + return State; + } + case 4: + vector = _206F_206A_206A_200E_206E_200B_206E_202A_206D_206B_206F_206F_202E_206C_200D_200B_200C_206D_206B_202C_200C_202B_202A_202B_200B_200D_206F_202A_200F_202B_206A_206F_206C_206E_202A_202B_202D_202A_202C_202B_202E((IGameObject)playerCharacter); + tuple = _202D_206F_206C_206C_206D_202A_206E_206F_206E_206A_202C_200C_200D_202A_202E_206D_206E_206E_206F_200D_206D_200D_206C_200D_200E_200D_206B_200C_206D_206C_206C_206D_202E_202D_206E_206C_206E_206D_206C_202E_202E(vector, 36); + num = (tuple.HasValue ? (-1536188776) : (-1536188774)); + break; + case 3: + num = -1536188775; + break; + case 1: + return State; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe EFishingState UpdatePreparing() + { + int num = (CanUseActionNow() ? (-747465758) : (-747465753)); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + while (true) + { + int num2 = num; + int num3 = -747465756; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 12: + num = ((_currentRequest.Collectability <= 0) ? (-747465748) : (-747465747)); + break; + case 7: + { + BattleChara* ptr = (BattleChara*)_200F_202E_200E_206A_202B_200E_206D_206B_200F_202E_206B_206B_200C_202A_206B_206F_206E_202D_202D_200F_202B_202D_206A_200C_206D_200D_202B_200B_206F_202C_206E_200D_206E_200D_206D_206A_202C_206C_206B_206C_202E((IGameObject)playerCharacter); + num = (ptr->GetStatusManager()->HasStatus(805u) ? (-747465748) : (-747465755)); + break; + } + case 3: + return State; + case 5: + num = ((!_autoHookIpc.SwapBaitById(29717u)) ? (-747465754) : (-747465746)); + break; + case 11: + return State; + case 8: + _autoHookIpc.SetPluginState(enabled: true); + _autoHookIpc.SetAutoStartFishing(enabled: true); + _fishStartMs = _200B_206B_202C_202E_206D_206F_202A_206D_206B_206B_206F_206A_206C_202B_206B_200B_200F_206E_200B_200B_200C_200D_200F_202A_206E_206A_200B_206C_206A_200E_200B_202A_202A_202B_200D_202C_206A_206D_206D_206D_202E(); + _lastFishCount = GetItemCount(); + State = EFishingState.Fishing; + _206E_202B_206A_202A_202E_206E_206A_206D_206A_200B_202B_206A_202D_202B_200C_206D_200F_206F_206D_206A_202B_202A_200F_202C_202A_202E_206F_200C_200E_206B_206A_200D_200C_206D_200F_202E_200C_206E_206D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(1666126604), Array.Empty()); + return State; + case 9: + playerCharacter = _200F_202D_206D_206D_206C_206E_200B_202D_200E_202C_206B_202C_206C_206B_206D_200F_206C_200D_200C_202E_202B_200C_206A_206F_206A_202B_200D_200D_206B_206D_202B_200D_206B_200C_202B_202B_206B_200C_202A_202A_202E(_objectTable); + num = ((playerCharacter == null) ? (-747465748) : (-747465757)); + break; + case 4: + num = -747465753; + break; + case 6: + num = (_baitReady ? (-747465752) : (-747465759)); + break; + case 1: + num = ((ActionManager.Instance()->GetActionStatus(ActionType.Action, 4101u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) != 0) ? (-747465745) : (-747465756)); + break; + case 10: + _206E_202B_206A_202A_202E_206E_206A_206D_206A_200B_202B_206A_202D_202B_200C_206D_200F_206F_206D_206A_202B_202A_200F_202C_202A_202E_206F_200C_200E_206B_206A_200D_200C_206D_200F_202E_200C_206E_206D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(-1055152276), Array.Empty()); + _baitReady = true; + _actionThrottle = _200B_206B_202C_202E_206D_206F_202A_206D_206B_206B_206F_206A_206C_202B_206B_200B_200F_206E_200B_200B_200C_200D_200F_202A_206E_206A_200B_206C_206A_200E_200B_202A_202A_202B_200D_202C_206A_206D_206D_206D_202E() + 500; + return State; + case 2: + _200F_206C_202B_206E_206B_206F_202C_200E_202D_200C_206E_200E_206A_202C_206F_202C_200F_202B_202C_202C_200F_202A_202E_206A_206E_202B_200D_206E_206B_202C_200D_202D_200E_206B_206D_202E_202A_206C_206E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-1448574380), Array.Empty()); + Stop(global::_003CModule_003E._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(-1247119621)); + return State; + case 0: + _206E_202B_206A_202A_202E_206E_206A_206D_206A_200B_202B_206A_202D_202B_200C_206D_200F_206F_206D_206A_202B_202A_200F_202C_202A_202E_206F_200C_200E_206B_206A_200D_200C_206D_200F_202E_200C_206E_206D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(1852976997), Array.Empty()); + ActionManager.Instance()->UseAction(ActionType.Action, 4101u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + _actionThrottle = _200B_206B_202C_202E_206D_206F_202A_206D_206B_206B_206F_206A_206C_202B_206B_200B_200F_206E_200B_200B_200C_200D_200F_202A_206E_206A_200B_206C_206A_200E_200B_202A_202A_202B_200D_202C_206A_206D_206D_206D_202E() + 1000; + num = -747465745; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe EFishingState UpdateFishing() + { + int itemCount = GetItemCount(); + int num = ((itemCount <= _lastFishCount) ? (-1919966564) : (-1919966563)); + while (true) + { + int num2 = num; + int num3 = -1919966576; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return State; + case 0: + num = (_206D_200F_206C_200C_200E_202C_202C_206E_206A_202E_206B_206A_206E_200C_206B_202D_200B_202D_206D_200C_206B_202B_200B_206F_202D_206E_202A_200F_200B_202D_200F_206E_200F_206A_202E_200C_206C_200B_206B_206F_202E(_condition, ConditionFlag.Fishing) ? (-1919966565) : (-1919966569)); + break; + case 2: + _200F_206C_202B_206E_206B_206F_202C_200E_202D_200C_206E_200E_206A_202C_206F_202C_200F_202B_202C_202C_200F_202A_202E_206A_206E_202B_200D_206E_206B_202C_200D_202D_200E_206B_206D_202E_202A_206C_206E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(1428296655), new object[1] { 180000L }); + Stop(global::_003CModule_003E._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(1371551999)); + return State; + case 7: + _206E_202B_206A_202A_202E_206E_206A_206D_206A_200B_202B_206A_202D_202B_200C_206D_200F_206F_206D_206A_202B_202A_200F_202C_202A_202E_206F_200C_200E_206B_206A_200D_200C_206D_200F_202E_200C_206E_206D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(273212512), Array.Empty()); + State = EFishingState.Complete; + DisableAutoHookAutoStart(); + num = -1919966565; + break; + case 12: + num = ((_200B_206B_202C_202E_206D_206F_202A_206D_206B_206B_206F_206A_206C_202B_206B_200B_200F_206E_200B_200B_200C_200D_200F_202A_206E_206A_200B_206C_206A_200E_200B_202A_202A_202B_200D_202C_206A_206D_206D_206D_202E() - _fishStartMs <= 180000) ? (-1919966568) : (-1919966574)); + break; + case 3: + num = ((ActionManager.Instance()->GetActionStatus(ActionType.Action, 289u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) != 0) ? (-1919966575) : (-1919966571)); + break; + case 13: + _lastFishCount = itemCount; + _fishStartMs = _200B_206B_202C_202E_206D_206F_202A_206D_206B_206B_206F_206A_206C_202B_206B_200B_200F_206E_200B_200B_200C_200D_200F_202A_206E_206A_200B_206C_206A_200E_200B_202A_202A_202B_200D_202C_206A_206D_206D_206D_202E(); + num = -1919966564; + break; + case 4: + num = (_206D_200F_206C_200C_200E_202C_202C_206E_206A_202E_206B_206A_206E_200C_206B_202D_200B_202D_206D_200C_206B_202B_200B_206F_202D_206E_202A_200F_200B_202D_200F_206E_200F_206A_202E_200C_206C_200B_206B_206F_202E(_condition, ConditionFlag.Fishing) ? (-1919966575) : (-1919966567)); + break; + case 5: + _206E_202B_206A_202A_202E_206E_206A_206D_206A_200B_202B_206A_202D_202B_200C_206D_200F_206F_206D_206A_202B_202A_200F_202C_202A_202E_206F_200C_200E_206B_206A_200D_200C_206D_200F_202E_200C_206E_206D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(1571582558), Array.Empty()); + ActionManager.Instance()->UseAction(ActionType.Action, 289u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + _actionThrottle = _200B_206B_202C_202E_206D_206F_202A_206D_206B_206B_206F_206A_206C_202B_206B_200B_200F_206E_200B_200B_200C_200D_200F_202A_206E_206A_200B_206C_206A_200E_200B_202A_202A_202B_200D_202C_206A_206D_206D_206D_202E() + 2000; + num = -1919966575; + break; + case 9: + num = (_206D_200F_206C_200C_200E_202C_202C_206E_206A_202E_206B_206A_206E_200C_206B_202D_200B_202D_206D_200C_206B_202B_200B_206F_202D_206E_202A_200F_200B_202D_200F_206E_200F_206A_202E_200C_206C_200B_206B_206F_202E(_condition, ConditionFlag.Casting) ? (-1919966575) : (-1919966570)); + break; + case 6: + num = ((!CanUseActionNow()) ? (-1919966575) : (-1919966573)); + break; + case 8: + num = ((!HasEnoughItems()) ? (-1919966572) : (-1919966576)); + break; + case 11: + return State; + case 10: + num = -1919966563; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override void Stop(string label) + { + base.Stop(label); + int num = ((State != EFishingState.Idle) ? 1276475840 : 1276475841); + while (true) + { + int num2 = num; + int num3 = 1276475840; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _202D_200F_200D_202D_202C_202A_200E_200D_206F_200D_200E_206E_206B_206E_200B_202E_202D_202B_202A_206F_206B_206C_206A_206B_206B_202E_202A_202B_206A_200B_206D_206E_206E_206F_206A_206E_206A_200B_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(447789808), new object[1] { label }); + DisableAutoHookAutoStart(); + _routeEnqueuer.ClearDestination(); + _taskQueue.Reset(); + _currentRequest = null; + State = EFishingState.Idle; + num = 1276475843; + break; + case 1: + num = ((!(_currentRequest != null)) ? 1276475843 : 1276475840); + break; + case 3: + return; + case 2: + num = 1276475841; + break; + } + } + } + + private void DisableAutoHookAutoStart() + { + try + { + _autoHookIpc.SetAutoStartFishing(enabled: false); + } + catch (Exception) + { + } + } + + private bool HasEnoughItems() + { + int num = ((!(_currentRequest == null)) ? 1490081139 : 1490081136); + while (true) + { + int num2 = num; + int num3 = 1490081137; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004e; + case 1: + return true; + case 2: + return GetItemCount() >= _currentRequest.Quantity; + } + continue; + IL_004e: + num = 1490081136; + } + } + + private unsafe int GetItemCount() + { + int num = ((!(_currentRequest == null)) ? 1670490552 : 1670490555); + while (true) + { + int num2 = num; + int num3 = 1670490553; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004e; + case 1: + return InventoryManager.Instance()->GetInventoryItemCount(_currentRequest.ItemId, isHq: false, checkEquipped: true, checkArmory: true, (short)_currentRequest.Collectability); + case 2: + return 0; + } + continue; + IL_004e: + num = 1670490555; + } + } + + private bool CanUseActionNow() + { + return _200B_206B_202C_202E_206D_206F_202A_206D_206B_206B_206F_206A_206C_202B_206B_200B_200F_206E_200B_200B_200C_200D_200F_202A_206E_206A_200B_206C_206A_200E_200B_202A_202A_202B_200D_202C_206A_206D_206D_206D_202E() >= _actionThrottle; + } + + private void EnqueueNavigateTo(ushort territoryId, Vector3 position) + { + _routeEnqueuer.Enqueue(_taskQueue, territoryId, position); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool EnqueueLurePurchase() + { + VendorResolverService.VendorInfo? vendorInfo = _vendorResolver.ResolveVendor(29717u); + int num = (vendorInfo.HasValue ? 496459254 : 496459255); + while (true) + { + int num2 = num; + int num3 = 496459254; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _202D_200F_200D_202D_202C_202A_200E_200D_206F_200D_200E_206E_206B_206E_200B_202E_202D_202B_202A_206F_206B_206C_206A_206B_206B_202E_202A_202B_206A_200B_206D_206E_206E_206F_206A_206E_206A_200B_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-26952727), new object[2] + { + 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; + case 1: + _200F_206C_202B_206E_206B_206F_202C_200E_202D_200C_206E_200E_206A_202C_206F_202C_200F_202B_202C_202C_200F_202A_202E_206A_206E_202B_200D_206E_206B_202C_200D_202D_200E_206B_206D_202E_202A_206C_206E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(570039642), Array.Empty()); + return false; + case 2: + goto IL_0128; + } + continue; + IL_0128: + num = 496459255; + } + } + + static void _200F_206C_202B_206E_206B_206F_202C_200E_202D_200C_206E_200E_206A_202C_206F_202C_200F_202B_202C_202C_200F_202A_202E_206A_206E_202B_200D_206E_206B_202C_200D_202D_200E_206B_206D_202E_202A_206C_206E_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _200B_206E_200F_206F_202D_200B_202B_200B_202E_202D_206D_202E_206C_206F_206C_200E_200F_202E_206C_206A_202A_206B_202D_206E_202E_206C_200D_200F_202B_200B_200C_200B_206F_202C_200F_202A_206F_202C_206C_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static void _202D_200F_200D_202D_202C_202A_200E_200D_206F_200D_200E_206E_206B_206E_200B_202E_202D_202B_202A_206F_206B_206C_206A_206B_206B_202E_202A_202B_206A_200B_206D_206E_206E_206F_206A_206E_206A_200B_206D_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _206E_202B_206A_202A_202E_206E_206A_206D_206A_200B_202B_206A_202D_202B_200C_206D_200F_206F_206D_206A_202B_202A_200F_202C_202A_202E_206F_200C_200E_206B_206A_200D_200C_206D_200F_202E_200C_206E_206D_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static IPlayerCharacter _200F_202D_206D_206D_206C_206E_200B_202D_200E_202C_206B_202C_206C_206B_206D_200F_206C_200D_200C_202E_202B_200C_206A_206F_206A_202B_200D_200D_206B_206D_202B_200D_206B_200C_202B_202B_206B_200C_202A_202A_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _206F_206A_206A_200E_206E_200B_206E_202A_206D_206B_206F_206F_202E_206C_200D_200B_200C_206D_206B_202C_200C_202B_202A_202B_200B_200D_206F_202A_200F_202B_206A_206F_206C_206E_202A_202B_202D_202A_202C_202B_202E(IGameObject P_0) + { + return P_0.Position; + } + + static (float, Vector3)? _202D_206F_206C_206C_206D_202A_206E_206F_206E_206A_202C_200C_200D_202A_202E_206D_206E_206E_206F_200D_206D_200D_206C_200D_200E_200D_206B_200C_206D_206C_206C_206D_202E_202D_206E_206C_206E_206D_206C_202E_202E(Vector3 P_0, int P_1) + { + return WaterSurfaceDetector.FindFishableRotation(P_0, P_1); + } + + static long _200B_206B_202C_202E_206D_206F_202A_206D_206B_206B_206F_206A_206C_202B_206B_200B_200F_206E_200B_200B_200C_200D_200F_202A_206E_206A_200B_206C_206A_200E_200B_202A_202A_202B_200D_202C_206A_206D_206D_206D_202E() + { + return Environment.TickCount64; + } + + static nint _200F_202E_200E_206A_202B_200E_206D_206B_200F_202E_206B_206B_200C_202A_206B_206F_206E_202D_202D_200F_202B_202D_206A_200C_206D_200D_202B_200B_206F_202C_206E_200D_206E_200D_206D_206A_202C_206C_206B_206C_202E(IGameObject P_0) + { + return P_0.Address; + } + + static bool _206D_200F_206C_200C_200E_202C_202C_206E_206A_202E_206B_206A_206E_200C_206B_202D_200B_202D_206D_200C_206B_202B_200B_206F_202D_206E_202A_200F_200B_202D_200F_206E_200F_206A_202E_200C_206C_200B_206B_206F_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } +} diff --git a/Questionable/Questionable.Controller/GatheringController.cs b/Questionable/Questionable.Controller/GatheringController.cs index 90c3b965..f0b15837 100644 --- a/Questionable/Questionable.Controller/GatheringController.cs +++ b/Questionable/Questionable.Controller/GatheringController.cs @@ -1,9 +1,12 @@ using System; +using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Text; using System.Text.RegularExpressions; using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Objects.Enums; @@ -13,6 +16,7 @@ using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; using LLib; using Lumina.Excel.Sheets; +using Lumina.Text.ReadOnly; using Microsoft.Extensions.Logging; using Questionable.Controller.Steps; using Questionable.Controller.Steps.Common; @@ -39,7 +43,157 @@ internal sealed class GatheringController : MiniTaskController(1742836955)); + _200B_202A_202E_206E_200B_206C_202D_206B_206B_206B_200B_206F_200B_200B_200E_206E_200D_200C_202C_200D_200C_202E_200C_206B_200E_206F_202B_202A_200E_200C_200F_200B_202E_202A_200C_202E_206C_206F_206D_200F_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? (-1894192642) : (-1894192643)); + while (true) + { + int num2 = num; + int num3 = -1894192641; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _206E_202E_206E_200C_200E_202C_200E_206F_200B_202C_200D_202C_206D_200B_206E_206D_202D_206A_206C_206A_202A_206F_200D_202A_200F_202B_200D_202A_202B_200E_206E_200C_200B_206E_202C_206C_206E_206D_206D_202E_202E(stringBuilder, '}'); + return _200F_200E_200C_202C_206F_202B_202B_202A_200B_206A_200B_202A_200D_200E_200C_206D_202E_202A_202A_206F_202A_200D_200E_200D_206B_202A_202A_200D_202E_200B_202E_202C_200C_206E_200E_202B_206E_200F_200B_202C_202E((object)stringBuilder); + case 2: + _206E_202E_206E_200C_200E_202C_200E_206F_200B_202C_200D_202C_206D_200B_206E_206D_202D_206A_206C_206A_202A_206F_200D_202A_200F_202B_200D_202A_202B_200E_206E_200C_200B_206E_202C_206C_206E_206D_206D_202E_202E(stringBuilder, ' '); + num = -1894192642; + break; + case 0: + num = -1894192643; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_200B_200B_200B_206A_200F_202B_202A_206B_206F_200C_202C_202B_206A_202B_206A_200E_206C_200F_200F_202A_200E_202E_202B_206E_200E_200E_200C_200B_206A_202D_206B_206D_200F_202E_206D_206B_200E_206A_206F_202E(); + _200B_202A_202E_206E_200B_206C_202D_206B_206B_206B_200B_206F_200B_200B_200E_206E_200D_200C_202C_200D_200C_202E_200C_206B_200E_206F_202B_202A_200E_200C_200F_200B_202E_202A_200C_202E_206C_206F_206D_200F_202E(builder, global::_003CModule_003E._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(-520775500)); + _202D_202D_202E_206F_206D_206B_200C_200E_200C_202E_206A_200E_206B_200E_202E_206C_200D_202D_206B_200F_206B_200D_206F_206B_206C_202B_200D_200F_200C_206E_200E_206D_206B_206C_206D_206D_200F_200E_200C_202C_202E(builder, (object)GatheringPointId); + _200B_202A_202E_206E_200B_206C_202D_206B_206B_206B_200B_206F_200B_200B_200E_206E_200D_200C_202C_200D_200C_202E_200C_206B_200E_206F_202B_202A_200E_200C_200F_200B_202E_202A_200C_202E_206C_206F_206D_200F_202E(builder, global::_003CModule_003E._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(1061931861)); + _200B_202A_202E_206E_200B_206C_202D_206B_206B_206B_200B_206F_200B_200B_200E_206E_200D_200C_202C_200D_200C_202E_200C_206B_200E_206F_202B_202A_200E_200C_200F_200B_202E_202A_200C_202E_206C_206F_206D_200F_202E(builder, ItemId.ToString()); + _200B_202A_202E_206E_200B_206C_202D_206B_206B_206B_200B_206F_200B_200B_200E_206E_200D_200C_202C_200D_200C_202E_200C_206B_200E_206F_202B_202A_200E_200C_200F_200B_202E_202A_200C_202E_206C_206F_206D_200F_202E(builder, global::_003CModule_003E._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(1080842268)); + _200B_202A_202E_206E_200B_206C_202D_206B_206B_206B_200B_206F_200B_200B_200E_206E_200D_200C_202C_200D_200C_202E_200C_206B_200E_206F_202B_202A_200E_200C_200F_200B_202E_202A_200C_202E_206C_206F_206D_200F_202E(builder, AlternativeItemId.ToString()); + _200B_202A_202E_206E_200B_206C_202D_206B_206B_206B_200B_206F_200B_200B_200E_206E_200D_200C_202C_200D_200C_202E_200C_206B_200E_206F_202B_202A_200E_200C_200F_200B_202E_202A_200C_202E_206C_206F_206D_200F_202E(builder, global::_003CModule_003E._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(-141714243)); + _200B_202A_202E_206E_200B_206C_202D_206B_206B_206B_200B_206F_200B_200B_200E_206E_200D_200C_202C_200D_200C_202E_200C_206B_200E_206F_202B_202A_200E_200C_200F_200B_202E_202A_200C_202E_206C_206F_206D_200F_202E(builder, Quantity.ToString()); + _200B_202A_202E_206E_200B_206C_202D_206B_206B_206B_200B_206F_200B_200B_200E_206E_200D_200C_202C_200D_200C_202E_200C_206B_200E_206F_202B_202A_200E_200C_200F_200B_202E_202A_200C_202E_206C_206F_206D_200F_202E(builder, global::_003CModule_003E._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(-2022024950)); + _200B_202A_202E_206E_200B_206C_202D_206B_206B_206B_200B_206F_200B_200B_200E_206E_200D_200C_202C_200D_200C_202E_200C_206B_200E_206F_202B_202A_200E_200C_200F_200B_202E_202A_200C_202E_206C_206F_206D_200F_202E(builder, Collectability.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(GatheringRequest? other) + { + int num = (((object)this == other) ? (-561631960) : (-561631959)); + while (true) + { + int num2 = num; + int num3 = -561631967; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return EqualityComparer.Default.Equals(Collectability, other.Collectability); + case 2: + num = ((!EqualityComparer.Default.Equals(AlternativeItemId, other.AlternativeItemId)) ? (-561631964) : (-561631968)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(GatheringPointId, other.GatheringPointId)) ? (-561631964) : (-561631967)); + break; + case 8: + num = (((object)other == null) ? (-561631964) : (-561631962)); + break; + case 5: + return false; + case 7: + num = ((!_206A_200F_202D_202C_202B_200C_206D_200D_202B_206D_202B_206D_206F_206F_200F_200F_200F_202E_200D_200E_200D_200B_202E_200E_206C_202E_200B_200E_202A_206C_200F_206A_206F_202A_206D_206F_206C_200E_206F_206B_202E(EqualityContract, other.EqualityContract)) ? (-561631964) : (-561631961)); + break; + case 9: + return true; + case 0: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? (-561631964) : (-561631965)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(Quantity, other.Quantity)) ? (-561631964) : (-561631966)); + break; + case 4: + num = -561631959; + break; + } + } + } + + bool IEquatable.Equals(GatheringRequest? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_206B_202D_202B_206C_200E_200F_202C_206F_206A_206C_206D_206F_202A_200F_206E_206F_206F_206C_202B_202C_200D_200F_200F_206F_202C_202B_206B_206C_206D_202E_202D_206C_206C_200F_206E_202A_202E_200C_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200E_200F_200E_202E_206A_206F_202E_206F_206E_200C_206E_202A_206A_202C_206E_200C_206A_202E_200B_206B_200C_202E_206D_202D_200C_206E_206F_202C_202D_200C_200E_202E_206B_200B_200C_202B_200D_206C_206B_206D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200B_202A_202E_206E_200B_206C_202D_206B_206B_206B_200B_206F_200B_200B_200E_206E_200D_200C_202C_200D_200C_202E_200C_206B_200E_206F_202B_202A_200E_200C_200F_200B_202E_202A_200C_202E_206C_206F_206D_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206E_202E_206E_200C_200E_202C_200E_206F_200B_202C_200D_202C_206D_200B_206E_206D_202D_206A_206C_206A_202A_206F_200D_202A_200F_202B_200D_202A_202B_200E_206E_200C_200B_206E_202C_206C_206E_206D_206D_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_200E_200C_202C_206F_202B_202B_202A_200B_206A_200B_202A_200D_200E_200C_206D_202E_202A_202A_206F_202A_200D_200E_200D_206B_202A_202A_200D_202E_200B_202E_202C_200C_206E_200E_202B_206E_200F_200B_202C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200C_200B_200B_200B_206A_200F_202B_202A_206B_206F_200C_202C_202B_206A_202B_206A_200E_206C_200F_200F_202A_200E_202E_202B_206E_200E_200E_200C_200B_206A_202D_206B_206D_200F_202E_206D_206B_200E_206A_206F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202D_202D_202E_206F_206D_206B_200C_200E_200C_202E_206A_200E_206B_200E_202E_206C_200D_202D_206B_200F_206B_200D_206F_206B_206C_202B_200D_200F_200C_206E_200E_206D_206B_206C_206D_206D_200F_200E_200C_202C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206A_200F_202D_202C_202B_200C_206D_200D_202B_206D_202B_206D_206F_206F_200F_200F_200F_202E_200D_200E_200D_200B_202E_200E_206C_202E_200B_200E_202A_206C_200F_206A_206F_202A_206D_206F_206C_200E_206F_206B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } public enum EStatus { @@ -48,6 +202,277 @@ internal sealed class GatheringController : MiniTaskController _003C_003E9__10_0; + + public static Func _003C_003E9__15_1; + + public static Func> _003C_003E9__15_0; + + public static Func _003C_003E9__22_0; + + public static Func _003C_003E9__22_1; + + public static Func _003C_003E9__22_2; + + public static Func _003C_003E9__26_2; + + internal ReadOnlySeString? _003C_002Ector_003Eb__10_0(LogMessage x) + { + return x.Text; + } + + internal IEnumerable _003CStart_003Eb__15_0(GatheringNodeGroup x) + { + return from y in _202C_200E_202A_200B_206D_202A_200F_206E_202B_206C_202D_206B_206A_200B_206D_200F_202A_202D_200E_206F_206A_202B_200E_206E_202E_202A_206D_206E_206E_206F_200D_206C_202A_200F_202E_200C_206D_202D_206D_202B_202E(x) + orderby _206D_206C_200B_200C_202E_202E_206D_200E_202E_206D_200D_206C_200D_200B_202A_200E_206D_200C_206F_200C_206C_206E_200C_202C_200F_206D_202E_206D_200E_200B_200F_200B_200B_206F_206A_206D_202A_206A_202E_202E_202E(y).Count + select y; + } + + internal int _003CStart_003Eb__15_1(GatheringNode y) + { + return _206D_206C_200B_200C_202E_202E_206D_200E_202E_206D_200D_206C_200D_200B_202A_200E_206D_200C_206F_200C_206C_206E_200C_202C_200F_206D_202E_206D_200E_200B_200F_200B_200B_206F_206A_206D_202A_206A_202E_202E_202E(y).Count; + } + + internal float _003CGoToNextNode_003Eb__22_0(GatheringLocation x) + { + return _206A_206E_202B_200E_202A_202C_202A_206B_206B_200B_206E_202E_200D_202C_202D_202A_202E_206E_200D_200B_206A_200D_202B_206E_200E_202C_202C_206A_202E_200F_200B_200E_202E_200B_200C_206D_200E_202B_202D_202D_202E(x).X; + } + + internal float _003CGoToNextNode_003Eb__22_1(GatheringLocation x) + { + return _206A_206E_202B_200E_202A_202C_202A_206B_206B_200B_206E_202E_200D_202C_202D_202A_202E_206E_200D_200B_206A_200D_202B_206E_200E_202C_202C_206A_202E_200F_200B_200E_202E_200B_200C_206D_200E_202B_202D_202D_202E(x).Y; + } + + internal float _003CGoToNextNode_003Eb__22_2(GatheringLocation x) + { + return _206A_206E_202B_200E_202A_202C_202A_206B_206B_200B_206E_202E_200D_202C_202D_202A_202E_206E_200D_200B_206A_200D_202B_206E_200E_202C_202C_206A_202E_200F_200B_200E_202E_200B_200C_206D_200E_202B_202D_202D_202E(x).Z; + } + + internal bool _003CFindNextTargetableNodeAndUpdateIndex_003Eb__26_2(IGameObject x) + { + return x == null; + } + + static List _202C_200E_202A_200B_206D_202A_200F_206E_202B_206C_202D_206B_206A_200B_206D_200F_202A_202D_200E_206F_206A_202B_200E_206E_202E_202A_206D_206E_206E_206F_200D_206C_202A_200F_202E_200C_206D_202D_206D_202B_202E(GatheringNodeGroup P_0) + { + return P_0.Nodes; + } + + static List _206D_206C_200B_200C_202E_202E_206D_200E_202E_206D_200D_206C_200D_200B_202A_200E_206D_200C_206F_200C_206C_206E_200C_202C_200F_206D_202E_206D_200E_200B_200F_200B_200B_206F_206A_206D_202A_206A_202E_202E_202E(GatheringNode P_0) + { + return P_0.Locations; + } + + static Vector3 _206A_206E_202B_200E_202A_202C_202A_206B_206B_200B_206E_202E_200D_202C_202D_202A_202E_206E_200D_200B_206A_200D_202B_206E_200E_202C_202C_206A_202E_200F_200B_200E_202E_200B_200C_206D_200E_202B_202D_202D_202E(GatheringLocation P_0) + { + return P_0.Position; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass25_0 + { + public GatheringNode node; + + internal bool _003CHasNodeDisappeared_003Eb__0(IGameObject x) + { + int num = ((_206F_206D_206B_202C_206B_206F_200D_206C_206A_202D_206A_202D_200F_200C_206D_206F_202C_200C_206F_206F_206A_206B_200C_206F_206A_200C_202C_200E_206E_200B_202A_202D_202A_200D_200D_202A_200E_206B_202E_202B_202E(x) != ObjectKind.GatheringPoint) ? 1567152944 : 1567152945); + while (true) + { + int num2 = num; + int num3 = 1567152944; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1567152945; + break; + case 0: + return false; + case 1: + num = ((!_200F_202A_202C_202D_206B_206D_206B_206B_200E_206B_206A_206E_202D_206F_206E_202E_202A_202E_202D_200D_206B_206C_202B_206A_200E_202A_206B_206A_200F_206B_206D_206F_202B_202D_206E_206C_200D_200E_202E_200C_202E(x)) ? 1567152944 : 1567152947); + break; + case 3: + return _202A_206D_200D_206E_206C_206C_202A_206B_200B_206F_200F_200F_202A_202D_206C_206B_200B_206C_200F_200E_202B_200E_206C_206F_206A_206C_200C_200D_202B_200F_200B_206D_206D_202C_206F_202C_206E_200C_200E_200F_202E(x) == _202C_202D_200D_202B_206D_200D_206B_206F_202A_200B_206E_206A_202E_206C_206C_200D_202E_200F_202C_206E_200D_202B_200E_202B_206D_202B_206C_206B_200C_200B_200D_206C_206E_206C_202D_206A_200F_206E_202D_202C_202E(node); + } + } + } + + static ObjectKind _206F_206D_206B_202C_206B_206F_200D_206C_206A_202D_206A_202D_200F_200C_206D_206F_202C_200C_206F_206F_206A_206B_200C_206F_206A_200C_202C_200E_206E_200B_202A_202D_202A_200D_200D_202A_200E_206B_202E_202B_202E(IGameObject P_0) + { + return P_0.ObjectKind; + } + + static bool _200F_202A_202C_202D_206B_206D_206B_206B_200E_206B_206A_206E_202D_206F_206E_202E_202A_202E_202D_200D_206B_206C_202B_206A_200E_202A_206B_206A_200F_206B_206D_206F_202B_202D_206E_206C_200D_200E_202E_200C_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } + + static uint _202A_206D_200D_206E_206C_206C_202A_206B_200B_206F_200F_200F_202A_202D_206C_206B_200B_206C_200F_200E_202B_200E_206C_206F_206A_206C_200C_200D_202B_200F_200B_206D_206D_202C_206F_202C_206E_200C_200E_200F_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static uint _202C_202D_200D_202B_206D_200D_206B_206F_202A_200B_206E_206A_202E_206C_206C_200D_202E_200F_202C_206E_200D_202B_200E_202B_206D_202B_206C_206B_200C_200B_200D_206C_206E_206C_202D_206A_200F_206E_202D_202C_202E(GatheringNode P_0) + { + return P_0.DataId; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass26_0 + { + public GatheringNode currentNode; + + internal bool _003CFindNextTargetableNodeAndUpdateIndex_003Eb__0(IGameObject x) + { + int num = ((_202D_206E_206C_206B_200F_200B_206F_206B_206D_206F_206B_202E_200C_200B_202E_202C_202D_200F_200D_202A_202B_206D_202C_200C_206C_200F_206D_206A_202B_206B_200C_202E_200D_202A_206F_202A_202B_200B_200C_206D_202E(x) != ObjectKind.GatheringPoint) ? 774671159 : 774671157); + while (true) + { + int num2 = num; + int num3 = 774671156; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return _206F_200F_200C_200E_200F_206C_206F_200C_200D_202D_200B_206B_202B_206C_202B_206F_206F_200E_200C_200D_206C_200B_200E_206D_206D_206F_200D_202E_206E_202E_206C_206C_202A_200C_202D_206E_206E_200F_200D_200C_202E(x); + case 1: + num = ((_206C_200C_202C_202E_200F_202E_202E_206A_206C_202E_202D_206D_200C_206A_202B_202C_206F_206B_200C_200B_206A_202D_206E_206F_202A_202B_200D_202E_202E_200E_206B_200F_202A_200C_200E_202A_206F_206B_202C_202E_202E(x) != _206B_202B_206F_202B_206B_206C_200C_206F_206F_206E_200F_206F_200C_206F_202C_206F_206F_206D_202A_200F_206C_206A_200C_206E_200C_200E_200E_202C_206B_200B_200B_206C_202D_206A_200E_200B_200F_200C_202C_200C_202E(currentNode)) ? 774671159 : 774671158); + break; + case 0: + num = 774671157; + break; + case 3: + return false; + } + } + } + + static ObjectKind _202D_206E_206C_206B_200F_200B_206F_206B_206D_206F_206B_202E_200C_200B_202E_202C_202D_200F_200D_202A_202B_206D_202C_200C_206C_200F_206D_206A_202B_206B_200C_202E_200D_202A_206F_202A_202B_200B_200C_206D_202E(IGameObject P_0) + { + return P_0.ObjectKind; + } + + static uint _206C_200C_202C_202E_200F_202E_202E_206A_206C_202E_202D_206D_200C_206A_202B_202C_206F_206B_200C_200B_206A_202D_206E_206F_202A_202B_200D_202E_202E_200E_206B_200F_202A_200C_200E_202A_206F_206B_202C_202E_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static uint _206B_202B_206F_202B_206B_206C_200C_206F_206F_206E_200F_206F_200C_206F_202C_206F_206F_206D_202A_200F_206C_206A_200C_206E_200C_200E_200E_202C_206B_200B_200B_206C_202D_206A_200E_200B_200F_200C_202C_200C_202E(GatheringNode P_0) + { + return P_0.DataId; + } + + static bool _206F_200F_200C_200E_200F_206C_206F_200C_200D_202D_200B_206B_202B_206C_202B_206F_206F_200E_200C_200D_206C_200B_200E_206D_206D_206F_200D_202E_206E_202E_206C_206C_202A_200C_202D_206E_206E_200F_200D_200C_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass26_1 + { + public GatheringNode currentNode; + + public GatheringController _003C_003E4__this; + + internal IGameObject _003CFindNextTargetableNodeAndUpdateIndex_003Eb__1(GatheringLocation x) + { + _003C_003Ec__DisplayClass26_2 CS_0024_003C_003E8__locals2 = new _003C_003Ec__DisplayClass26_2 + { + CS_0024_003C_003E8__locals1 = this, + x = x + }; + return _003C_003E4__this._objectTable.FirstOrDefault(delegate(IGameObject y) + { + int num = ((_003C_003Ec__DisplayClass26_2._200E_200F_206E_206B_200F_202D_202E_200D_202C_202D_206C_200F_206F_202C_206B_206C_202D_206A_200C_202B_206D_200E_200E_202A_200B_206A_202A_206E_202B_206D_206F_206D_200D_206B_206F_200C_202A_202A_200E_200C_202E(CS_0024_003C_003E8__locals2.CS_0024_003C_003E8__locals1.currentNode) != _003C_003Ec__DisplayClass26_2._202B_202D_202C_200C_200F_206B_206A_206E_202A_202A_202B_206C_200D_200E_206D_206B_206C_206E_200C_202A_206F_206F_206D_202E_200B_206A_200B_200D_206F_206C_202D_200E_202E_200D_202C_202D_202C_202D_200F_202E_202E(y)) ? 347949283 : 347949280); + while (true) + { + int num2 = num; + int num3 = 347949282; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0058; + case 2: + return Vector3.Distance(_003C_003Ec__DisplayClass26_2._200D_206F_202A_206E_202B_200D_202E_200D_202D_200F_202D_200E_202E_202C_202B_200E_202E_200E_202C_206E_200F_206C_206A_200B_200B_206B_202C_206F_200E_200E_200C_206D_202A_200B_200B_202B_206A_200E_200F_206D_202E(CS_0024_003C_003E8__locals2.x), _003C_003Ec__DisplayClass26_2._200C_202E_206B_202E_206A_202C_206F_206E_206E_202D_202B_206E_200C_202E_200F_200C_202C_206D_200E_200B_200C_206E_206D_206F_206D_206F_206E_206E_202E_202D_200C_202B_200E_202D_200C_206C_206E_206E_200D_200E_202E(y)) < 0.1f; + case 1: + return false; + } + continue; + IL_0058: + num = 347949280; + } + }); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass26_2 + { + public GatheringLocation x; + + public _003C_003Ec__DisplayClass26_1 CS_0024_003C_003E8__locals1; + + internal bool _003CFindNextTargetableNodeAndUpdateIndex_003Eb__3(IGameObject y) + { + int num = ((_200E_200F_206E_206B_200F_202D_202E_200D_202C_202D_206C_200F_206F_202C_206B_206C_202D_206A_200C_202B_206D_200E_200E_202A_200B_206A_202A_206E_202B_206D_206F_206D_200D_206B_206F_200C_202A_202A_200E_200C_202E(CS_0024_003C_003E8__locals1.currentNode) != _202B_202D_202C_200C_200F_206B_206A_206E_202A_202A_202B_206C_200D_200E_206D_206B_206C_206E_200C_202A_206F_206F_206D_202E_200B_206A_200B_200D_206F_206C_202D_200E_202E_200D_202C_202D_202C_202D_200F_202E_202E(y)) ? 347949283 : 347949280); + while (true) + { + int num2 = num; + int num3 = 347949282; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0058; + case 2: + return Vector3.Distance(_200D_206F_202A_206E_202B_200D_202E_200D_202D_200F_202D_200E_202E_202C_202B_200E_202E_200E_202C_206E_200F_206C_206A_200B_200B_206B_202C_206F_200E_200E_200C_206D_202A_200B_200B_202B_206A_200E_200F_206D_202E(x), _200C_202E_206B_202E_206A_202C_206F_206E_206E_202D_202B_206E_200C_202E_200F_200C_202C_206D_200E_200B_200C_206E_206D_206F_206D_206F_206E_206E_202E_202D_200C_202B_200E_202D_200C_206C_206E_206E_200D_200E_202E(y)) < 0.1f; + case 1: + return false; + } + continue; + IL_0058: + num = 347949280; + } + } + + static uint _200E_200F_206E_206B_200F_202D_202E_200D_202C_202D_206C_200F_206F_202C_206B_206C_202D_206A_200C_202B_206D_200E_200E_202A_200B_206A_202A_206E_202B_206D_206F_206D_200D_206B_206F_200C_202A_202A_200E_200C_202E(GatheringNode P_0) + { + return P_0.DataId; + } + + static uint _202B_202D_202C_200C_200F_206B_206A_206E_202A_202A_202B_206C_200D_200E_206D_206B_206C_206E_200C_202A_206F_206F_206D_202E_200B_206A_200B_200D_206F_206C_202D_200E_202E_200D_202C_202D_202C_202D_200F_202E_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static Vector3 _200D_206F_202A_206E_202B_200D_202E_200D_202D_200F_202D_200E_202E_202C_202B_200E_202E_200E_202C_206E_200F_206C_206A_200B_200B_206B_202C_206F_200E_200E_200C_206D_202A_200B_200B_202B_206A_200E_200F_206D_202E(GatheringLocation P_0) + { + return P_0.Position; + } + + static Vector3 _200C_202E_206B_202E_206A_202C_206F_206E_206E_202D_202B_206E_200C_202E_200F_200C_202C_206D_200E_200B_200C_206E_206D_206F_206D_206F_206E_206E_202E_202D_200C_202B_200E_202D_200C_206C_206E_206E_200D_200E_202E(IGameObject P_0) + { + return P_0.Position; + } + } + private readonly MovementController _movementController; private readonly GatheringPointRegistry _gatheringPointRegistry; @@ -60,14 +485,21 @@ 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; + + [MethodImpl(MethodImplOptions.NoInlining)] + 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,204 +507,716 @@ internal sealed class GatheringController : MiniTaskController x.Text, pluginLog) ?? throw new InvalidDataException("No regex found for revisit message"); + _configuration = configuration; + _revisitRegex = dataManager.GetRegex(5574u, (LogMessage x) => x.Text, pluginLog) ?? throw _202B_206A_206F_200C_206A_202C_206F_200F_206E_200C_206E_206F_200E_200C_202B_200B_200B_206C_200C_200C_200C_206A_206B_200D_202B_206E_206F_200E_206D_206F_206C_200C_200F_200F_200C_202A_200F_200F_200D_202D_202E(global::_003CModule_003E._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(495587057)); } + [MethodImpl(MethodImplOptions.NoInlining)] public bool Start(GatheringRequest gatheringRequest) { - if (!_gatheringPointRegistry.TryGetGatheringPoint(gatheringRequest.GatheringPointId, out GatheringRoot gatheringRoot)) + Stop(global::_003CModule_003E._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(1887351736)); + GatheringRoot gatheringRoot; + int num = (_gatheringPointRegistry.TryGetGatheringPoint(gatheringRequest.GatheringPointId, out gatheringRoot) ? (-1189096751) : (-1189096752)); + while (true) { - _logger.LogError("Unable to resolve gathering point, no path found for {ItemId} / point {PointId}", gatheringRequest.ItemId, gatheringRequest.GatheringPointId); - return false; + int num2 = num; + int num3 = -1189096751; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _currentRequest = new CurrentRequest + { + Data = gatheringRequest, + Root = gatheringRoot, + Nodes = _202E_206E_206C_200C_200B_206C_200B_202C_206C_200D_206A_206B_206C_206A_200E_206E_206A_200B_206D_200B_200E_202A_202B_206D_206E_206F_202A_200F_200B_206B_206B_202E_200E_200C_206F_200B_202E_202C_200E_200D_202E(gatheringRoot).SelectMany((GatheringNodeGroup x) => from y in _003C_003Ec._202C_200E_202A_200B_206D_202A_200F_206E_202B_206C_202D_206B_206A_200B_206D_200F_202A_202D_200E_206F_206A_202B_200E_206E_202E_202A_206D_206E_206E_206F_200D_206C_202A_200F_202E_200C_206D_202D_206D_202B_202E(x) + orderby _003C_003Ec._206D_206C_200B_200C_202E_202E_206D_200E_202E_206D_200D_206C_200D_200B_202A_200E_206D_200C_206F_200C_206C_206E_200C_202C_200F_206D_202E_206D_200E_200B_200F_200B_200B_206F_206A_206D_202A_206A_202E_202E_202E(y).Count + select y).ToList() + }; + _movementFailureCount = 0; + num = ((!HasRequestedItems()) ? (-1189096747) : (-1189096749)); + break; + case 1: + _206B_206D_206C_202E_202D_206A_200E_202B_200C_206F_202C_206B_206E_206F_206C_206D_202C_206F_202E_200F_202A_202C_202A_202A_206C_206A_206D_202A_206D_206C_200F_202A_206C_200B_200E_206B_202A_206C_200F_202E_202E((ILogger)_logger, global::_003CModule_003E._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(-1516319089), new object[2] { gatheringRequest.ItemId, gatheringRequest.GatheringPointId }); + return false; + case 2: + _currentRequest = null; + return false; + case 3: + num = -1189096752; + break; + case 4: + return true; + } } - _currentRequest = new CurrentRequest - { - Data = gatheringRequest, - Root = gatheringRoot, - Nodes = gatheringRoot.Groups.SelectMany((GatheringNodeGroup x) => x.Nodes.OrderBy((GatheringNode y) => y.Locations.Count)).ToList() - }; - if (HasRequestedItems()) - { - _currentRequest = null; - return false; - } - return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public EStatus Update() { - if (_currentRequest == null) + int num = ((_currentRequest != null) ? 227045222 : 227045219); + while (true) { - Stop("No request"); - return EStatus.Complete; + int num2 = num; + int num3 = 227045217; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + GoToNextNode(); + num = 227045225; + break; + case 4: + return EStatus.Moving; + case 6: + Stop(global::_003CModule_003E._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(46307754)); + return EStatus.Complete; + case 5: + num = ((!_movementController.IsPathRunning) ? 227045217 : 227045221); + break; + case 2: + Stop(global::_003CModule_003E._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(1108669296)); + return EStatus.Complete; + case 9: + num = (_202A_200D_200B_206D_202D_206E_200E_202C_206D_206C_206F_200F_200D_202D_202E_202D_202B_206A_206F_202A_202E_202C_206F_200B_206D_200B_206E_200B_206F_200D_202C_202C_206C_200F_206C_206D_206C_202A_200F_206D_202E(_condition, ConditionFlag.Gathering) ? 227045218 : 227045223); + break; + case 3: + num = ((!_taskQueue.AllTasksComplete) ? 227045225 : 227045216); + break; + case 10: + num = 227045219; + break; + case 0: + num = ((!HasRequestedItems()) ? 227045218 : 227045224); + break; + case 8: + UpdateCurrentTask(); + return EStatus.Gathering; + case 7: + num = (_movementController.IsPathfinding ? 227045221 : 227045220); + break; + } } - if (_movementController.IsPathfinding || _movementController.IsPathfinding) - { - return EStatus.Moving; - } - if (HasRequestedItems() && !_condition[ConditionFlag.Gathering]) - { - Stop("Has all items"); - return EStatus.Complete; - } - if (_taskQueue.AllTasksComplete) - { - GoToNextNode(); - } - UpdateCurrentTask(); - return EStatus.Gathering; } protected override void OnTaskComplete(ITask task) { - GoToNextNode(); + int num = ((!(task is DoGather.Task)) ? 1397108557 : 1397108556); + while (true) + { + int num2 = num; + int num3 = 1397108557; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + GoToNextNode(); + return; + case 1: + ResetStepRetryCounter(); + _movementFailureCount = 0; + num = 1397108557; + break; + case 2: + num = 1397108556; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + protected override void OnRetryStep() + { + _200D_200D_202D_202E_206F_202C_206B_202E_206C_206A_200B_206B_200D_202D_202C_202A_202D_206C_206F_200C_206C_206F_206D_202A_200E_206F_206E_202A_206A_202D_206B_202D_206A_200F_202B_206C_202E_202C_202E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-825765376), Array.Empty()); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Replan() + { + int num = ((_currentRequest != null) ? 377740259 : 377740256); + while (true) + { + int num2 = num; + int num3 = 377740257; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 1: + return; + case 2: + _200D_200D_202D_202E_206F_202C_206B_202E_206C_206A_200B_206B_200D_202D_202C_202A_202D_206C_206F_200C_206C_206F_206D_202A_200E_206F_206E_202A_206A_202D_206B_202D_206A_200F_202B_206C_202E_202C_202E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(2049839790), new object[1] { _currentRequest.Data.GatheringPointId }); + _taskQueue.Reset(); + return; + } + continue; + IL_0046: + num = 377740256; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool TryReplanAfterMovementFailure() + { + int num = ((_currentRequest != null) ? 1767425441 : 1767425444); + MoveTask moveTask = default(MoveTask); + while (true) + { + int num2 = num; + int num3 = 1767425445; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 9: + num = 1767425444; + break; + case 3: + num = ((moveTask.InteractionType != EInteractionType.WalkTo) ? 1767425453 : 1767425447); + break; + case 10: + moveTask = _taskQueue.CurrentTaskExecutor?.CurrentTask as MoveTask; + num = (((object)moveTask == null) ? 1767425453 : 1767425446); + break; + case 5: + num = ((!moveTask.Fly) ? 1767425453 : 1767425442); + break; + case 2: + num = (moveTask.DataId.HasValue ? 1767425453 : 1767425440); + break; + case 4: + { + int movementFailureCount = _movementFailureCount; + num3 = 1; + num4 = movementFailureCount; + _movementFailureCount = (num4 | num3) + (num4 & num3); + num = ((_movementFailureCount <= _configuration.Advanced.InteractionRetryLimit) ? 1767425455 : 1767425445); + break; + } + case 1: + return false; + case 8: + _200D_200D_202D_202E_206F_202C_206B_202E_206C_206A_200B_206B_200D_202D_202C_202A_202D_206C_206F_200C_206C_206F_206D_202A_200E_206F_206E_202A_206A_202D_206B_202D_206A_200F_202B_206C_202E_202C_202E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-93536990), new object[2] + { + _movementFailureCount, + _configuration.Advanced.InteractionRetryLimit + }); + Replan(); + return true; + case 6: + { + 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; + _200D_200D_202D_202E_206F_202C_206B_202E_206C_206A_200B_206B_200D_202D_202C_202A_202D_206C_206F_200C_206C_206F_206D_202A_200E_206F_206E_202A_206A_202D_206B_202D_206A_200F_202B_206C_202E_202C_202E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-782340659), Array.Empty()); + _taskQueue.Reset(); + TaskQueue taskQueue = _taskQueue; + ITask task = moveTask3; + List list2 = list; + int num7 = 0; + ITask[] array = new ITask[1 + list2.Count]; + array[num7] = task; + int num8 = num7; + num3 = 1; + num4 = num8; + num7 = (num4 | num3) + (num4 & num3); + Span span = CollectionsMarshal.AsSpan(list2); + span.CopyTo(new Span(array).Slice(num7, span.Length)); + num7 += span.Length; + taskQueue.EnqueueAll(new global::_003C_003Ez__ReadOnlyArray(array)); + return true; + } + case 7: + num = (moveTask.DisableNavmesh ? 1767425453 : 1767425443); + break; + case 0: + _206B_206D_206C_202E_202D_206A_200E_202B_200C_206F_202C_206B_206E_206F_206C_206D_202C_206F_202E_200F_202A_202C_202A_202A_206C_206A_206D_202A_206D_206C_200F_202A_206C_200B_200E_206B_202A_206C_200F_202E_202E((ILogger)_logger, global::_003CModule_003E._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(-1015868468), new object[1] { _movementFailureCount }); + return false; + } + } } public override void Stop(string label) { + base.Stop(label); _currentRequest = null; _taskQueue.Reset(); } + [MethodImpl(MethodImplOptions.NoInlining)] private void GoToNextNode() { - if (_currentRequest == null || !_taskQueue.AllTasksComplete) + int num = ((_currentRequest != null) ? (-102617644) : (-102617634)); + GatheringNode gatheringNode = default(GatheringNode); + ushort num7 = default(ushort); + Vector3? vector = default(Vector3?); + bool flag = default(bool); + Vector3 vector2 = default(Vector3); + while (true) { - return; - } - GatheringNode gatheringNode = FindNextTargetableNodeAndUpdateIndex(_currentRequest); - if (gatheringNode == null) - { - return; - } - ushort territoryId = _currentRequest.Root.Steps.Last().TerritoryId; - _taskQueue.Enqueue(new Questionable.Controller.Steps.Common.Mount.MountTask(territoryId, Questionable.Controller.Steps.Common.Mount.EMountIf.Always)); - bool? fly = gatheringNode.Fly; - bool? flyBetweenNodes = _currentRequest.Root.FlyBetweenNodes; - bool flag = (fly ?? flyBetweenNodes ?? true) && _gameFunctions.IsFlyingUnlocked(territoryId); - if (gatheringNode.Locations.Count > 1) - { - Vector3 vector = new Vector3 + int num2 = num; + int num3 = -102617640; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num8; + switch (num5 - (num6 + num6)) { - X = gatheringNode.Locations.Sum((GatheringLocation x) => x.Position.X) / (float)gatheringNode.Locations.Count, - Y = gatheringNode.Locations.Select((GatheringLocation x) => x.Position.Y).Max() + 5f, - Z = gatheringNode.Locations.Sum((GatheringLocation x) => x.Position.Z) / (float)gatheringNode.Locations.Count - }; - Vector3? vector2 = _navmeshIpc.GetPointOnFloor(vector, unlandable: true); - if (vector2.HasValue) + case 7: + return; + case 8: + gatheringNode = FindNextTargetableNodeAndUpdateIndex(_currentRequest); + num = ((gatheringNode != null) ? (-102617637) : (-102617645)); + break; + case 3: + num = ((_200B_206C_200C_206C_202E_206F_206A_200C_206D_202C_202C_202C_200F_200C_202C_202C_202C_202B_206B_206B_206E_200C_202D_200D_202B_202C_206D_206E_200E_200D_202E_206D_206D_206A_202B_200F_200D_206D_206F_202E_202E(_currentRequest.Root).Count == 0) ? (-102617642) : (-102617643)); + break; + case 0: + num = -102617634; + break; + case 10: { - Vector3 value = vector2.Value; - value.Y = vector2.Value.Y + (flag ? 3f : 0f); - vector2 = value; + List list = _200B_206C_200C_206C_202E_206F_206A_200C_206D_202C_202C_202C_200F_200C_202C_202C_202C_202B_206B_206B_206E_200C_202D_200D_202B_202C_206D_206E_200E_200D_202E_206D_206D_206A_202B_200F_200D_206D_206F_202E_202E(_currentRequest.Root); + num7 = _202A_202A_200B_202A_206A_202D_206F_206C_200B_206D_206E_206A_200E_202B_200B_200D_202A_202D_200F_200E_200E_202B_202E_200E_206B_202B_200F_206D_206D_206C_202E_206D_200E_202C_206F_206B_200E_202D_206E_206A_202E(list[list.Count - 1]); + bool? flag2 = _200D_206D_206E_202C_202B_200E_200C_202E_202D_202C_200E_206B_206D_202B_202A_202C_202E_206F_206E_202E_200D_200E_206B_202B_202D_206D_202A_200F_202E_202E_206F_206E_206D_206E_202D_202B_206B_200E_202B_206F_202E(gatheringNode); + bool? flag3 = _200D_206E_206C_206C_200B_202C_206D_200E_206D_202B_206F_202A_202D_202A_200C_200B_200B_200B_206C_202C_202E_206A_206D_200C_206A_206E_200B_206E_202E_206F_206B_206B_202D_200B_202C_202C_206A_206B_206B_202D_202E(_currentRequest.Root); + num = ((!(flag2 ?? flag3 ?? true)) ? (-102617636) : (-102617635)); + break; + } + case 1: + { + Vector3 value = vector.Value; + value.Y = vector.Value.Y + (flag ? 3f : 0f); + vector = value; + num = -102617647; + break; + } + case 13: + num = ((_200D_206C_206C_202A_200D_202D_202E_200C_206B_200E_202C_200D_202D_206B_200C_202B_202D_206D_202A_202C_200B_200E_206F_206E_200B_202B_206A_206E_206C_202D_206D_200C_200E_200E_202C_206D_202A_202E_206C_202B_202E(gatheringNode).Count != 0) ? (-102617646) : (-102617642)); + break; + case 2: + vector2 = new Vector3 + { + X = _200D_206C_206C_202A_200D_202D_202E_200C_206B_200E_202C_200D_202D_206B_200C_202B_202D_206D_202A_202C_200B_200E_206F_206E_200B_202B_206A_206E_206C_202D_206D_200C_200E_200E_202C_206D_202A_202E_206C_202B_202E(gatheringNode).Sum((GatheringLocation x) => _003C_003Ec._206A_206E_202B_200E_202A_202C_202A_206B_206B_200B_206E_202E_200D_202C_202D_202A_202E_206E_200D_200B_206A_200D_202B_206E_200E_202C_202C_206A_202E_200F_200B_200E_202E_200B_200C_206D_200E_202B_202D_202D_202E(x).X) / (float)_200D_206C_206C_202A_200D_202D_202E_200C_206B_200E_202C_200D_202D_206B_200C_202B_202D_206D_202A_202C_200B_200E_206F_206E_200B_202B_206A_206E_206C_202D_206D_200C_200E_200E_202C_206D_202A_202E_206C_202B_202E(gatheringNode).Count, + Y = _202C_206D_200E_200D_202D_206C_206C_200E_202C_206C_202B_206D_200D_206E_206B_200D_202D_200F_200C_206D_206A_206C_202A_200F_202E_202D_202A_206E_206B_200E_202E_206E_202D_206F_200F_202E_206B_206A_206D_202D_202E(from x in _200D_206C_206C_202A_200D_202D_202E_200C_206B_200E_202C_200D_202D_206B_200C_202B_202D_206D_202A_202C_200B_200E_206F_206E_200B_202B_206A_206E_206C_202D_206D_200C_200E_200E_202C_206D_202A_202E_206C_202B_202E(gatheringNode) + select _003C_003Ec._206A_206E_202B_200E_202A_202C_202A_206B_206B_200B_206E_202E_200D_202C_202D_202A_202E_206E_200D_200B_206A_200D_202B_206E_200E_202C_202C_206A_202E_200F_200B_200E_202E_200B_200C_206D_200E_202B_202D_202D_202E(x).Y) + 5f, + Z = _200D_206C_206C_202A_200D_202D_202E_200C_206B_200E_202C_200D_202D_206B_200C_202B_202D_206D_202A_202C_200B_200E_206F_206E_200B_202B_206A_206E_206C_202D_206D_200C_200E_200E_202C_206D_202A_202E_206C_202B_202E(gatheringNode).Sum((GatheringLocation x) => _003C_003Ec._206A_206E_202B_200E_202A_202C_202A_206B_206B_200B_206E_202E_200D_202C_202D_202A_202E_206E_200D_200B_206A_200D_202B_206E_200E_202C_202C_206A_202E_200F_200B_200E_202E_200B_200C_206D_200E_202B_202D_202D_202E(x).Z) / (float)_200D_206C_206C_202A_200D_202D_202E_200C_206B_200E_202C_200D_202D_206B_200C_202B_202D_206D_202A_202C_200B_200E_206F_206E_200B_202B_206A_206E_206C_202D_206D_200C_200E_200E_202C_206D_202A_202E_206C_202B_202E(gatheringNode).Count + }; + vector = _navmeshIpc.GetPointOnFloor(vector2, unlandable: true); + num = ((!vector.HasValue) ? (-102617647) : (-102617639)); + break; + case 14: + Stop(global::_003CModule_003E._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(631347653)); + return; + case 4: + num8 = 0; + goto IL_02d9; + case 6: + return; + case 12: + num = (_taskQueue.AllTasksComplete ? (-102617648) : (-102617633)); + break; + case 5: + num8 = (_gameFunctions.IsFlyingUnlocked(num7) ? 1 : 0); + goto IL_02d9; + case 11: + return; + case 15: + _taskQueue.Enqueue(new MoveToLandingLocation.Task(num7, flag, gatheringNode)); + _taskQueue.Enqueue(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); + _taskQueue.Enqueue(new Interact.Task(_206A_200D_206D_206B_202C_200E_202A_200E_202C_200F_202A_206E_202D_206F_206E_206C_206B_200C_206B_202D_202A_202D_206D_202B_200E_206F_206B_206A_200B_206C_206F_200E_200E_200C_206B_202A_202A_202C_202E_206D_202E(gatheringNode), null, EInteractionType.Gather, SkipMarkerCheck: true)); + QueueGatherNode(gatheringNode); + return; + case 9: + { + TaskQueue taskQueue = _taskQueue; + ushort territoryId = num7; + Vector3 destination = vector ?? vector2; + float? stopDistance = 50f; + bool fly = flag; + taskQueue.Enqueue(new MoveTask(territoryId, destination, null, MountRequired: false, DismountRequired: false, stopDistance, null, DisableNavmesh: false, null, fly, Land: false, IgnoreDistanceToObject: true, RestartNavigation: true, EInteractionType.WalkTo)); + num = -102617641; + break; + } + IL_02d9: + flag = (byte)num8 != 0; + num = ((_200D_206C_206C_202A_200D_202D_202E_200C_206B_200E_202C_200D_202D_206B_200C_202B_202D_206D_202A_202C_200B_200E_206F_206E_200B_202B_206A_206E_206C_202D_206D_200C_200E_200E_202C_206D_202A_202E_206C_202B_202E(gatheringNode).Count <= 1) ? (-102617641) : (-102617638)); + break; } - TaskQueue taskQueue = _taskQueue; - Vector3 destination = vector2 ?? vector; - float? stopDistance = 50f; - bool fly2 = flag; - taskQueue.Enqueue(new MoveTask(territoryId, destination, null, stopDistance, null, DisableNavmesh: false, null, fly2, Land: false, IgnoreDistanceToObject: true, RestartNavigation: true, EInteractionType.WalkTo)); } - _taskQueue.Enqueue(new MoveToLandingLocation.Task(territoryId, flag, gatheringNode)); - _taskQueue.Enqueue(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); - _taskQueue.Enqueue(new Interact.Task(gatheringNode.DataId, null, EInteractionType.Gather, SkipMarkerCheck: true)); - QueueGatherNode(gatheringNode); } private void QueueGatherNode(GatheringNode currentNode) { bool[] array = new bool[2] { false, true }; - foreach (bool revisitRequired in array) + int num = 0; + int num2 = -107652498; + bool revisitRequired = default(bool); + while (true) { - _taskQueue.Enqueue(new DoGather.Task(_currentRequest.Data, currentNode, revisitRequired)); - if (_currentRequest.Data.Collectability > 0) + int num3 = num2; + int num4 = -107652501; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) { + case 1: _taskQueue.Enqueue(new DoGatherCollectable.Task(_currentRequest.Data, currentNode, revisitRequired)); + num2 = -107652497; + break; + case 4: + { + int num8 = num; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + num = num9 + (num10 + num10); + num2 = -107652498; + break; + } + case 0: + num2 = -107652498; + break; + case 2: + revisitRequired = array[num]; + _taskQueue.Enqueue(new DoGather.Task(_currentRequest.Data, currentNode, revisitRequired)); + num2 = ((_currentRequest.Data.Collectability <= 0) ? (-107652497) : (-107652502)); + break; + case 5: + num2 = ((num < array.Length) ? (-107652503) : (-107652504)); + break; + case 3: + return; } } } public unsafe bool HasRequestedItems() { - if (_currentRequest == null) + int num = ((_currentRequest != null) ? 1376510250 : 1376510251); + InventoryManager* ptr = default(InventoryManager*); + while (true) { - return true; + int num2 = num; + int num3 = 1376510250; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + ptr = InventoryManager.Instance(); + num = ((ptr != null) ? 1376510254 : 1376510249); + break; + case 3: + return false; + case 4: + return ptr->GetInventoryItemCount(_currentRequest.Data.ItemId, isHq: false, checkEquipped: true, checkArmory: true, (short)_currentRequest.Data.Collectability) >= _currentRequest.Data.Quantity; + case 1: + return true; + case 2: + num = 1376510251; + break; + } } - InventoryManager* ptr = InventoryManager.Instance(); - if (ptr == null) - { - return false; - } - return ptr->GetInventoryItemCount(_currentRequest.Data.ItemId, isHq: false, checkEquipped: true, checkArmory: true, (short)_currentRequest.Data.Collectability) >= _currentRequest.Data.Quantity; } public bool HasNodeDisappeared(GatheringNode node) { - return !_objectTable.Any((IGameObject x) => x.ObjectKind == ObjectKind.GatheringPoint && x.IsTargetable && x.BaseId == node.DataId); + return !_objectTable.Any(delegate(IGameObject x) + { + int num = ((_003C_003Ec__DisplayClass25_0._206F_206D_206B_202C_206B_206F_200D_206C_206A_202D_206A_202D_200F_200C_206D_206F_202C_200C_206F_206F_206A_206B_200C_206F_206A_200C_202C_200E_206E_200B_202A_202D_202A_200D_200D_202A_200E_206B_202E_202B_202E(x) != ObjectKind.GatheringPoint) ? 1567152944 : 1567152945); + while (true) + { + int num2 = num; + int num3 = 1567152944; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1567152945; + break; + case 0: + return false; + case 1: + num = ((!_003C_003Ec__DisplayClass25_0._200F_202A_202C_202D_206B_206D_206B_206B_200E_206B_206A_206E_202D_206F_206E_202E_202A_202E_202D_200D_206B_206C_202B_206A_200E_202A_206B_206A_200F_206B_206D_206F_202B_202D_206E_206C_200D_200E_202E_200C_202E(x)) ? 1567152944 : 1567152947); + break; + case 3: + return _003C_003Ec__DisplayClass25_0._202A_206D_200D_206E_206C_206C_202A_206B_200B_206F_200F_200F_202A_202D_206C_206B_200B_206C_200F_200E_202B_200E_206C_206F_206A_206C_200C_200D_202B_200F_200B_206D_206D_202C_206F_202C_206E_200C_200E_200F_202E(x) == _003C_003Ec__DisplayClass25_0._202C_202D_200D_202B_206D_200D_206B_206F_202A_200B_206E_206A_202E_206C_206C_200D_202E_200F_202C_206E_200D_202B_200E_202B_206D_202B_206C_206B_200C_200B_200D_206C_206E_206C_202D_206A_200F_206E_202D_202C_202E(node); + } + } + }); } private GatheringNode? FindNextTargetableNodeAndUpdateIndex(CurrentRequest currentRequest) { - for (int i = 0; i < currentRequest.Nodes.Count; i++) + int num = 0; + int num2 = 1101437805; + int num7 = default(int); + _003C_003Ec__DisplayClass26_0 _003C_003Ec__DisplayClass26_2 = default(_003C_003Ec__DisplayClass26_0); + int num14 = default(int); + _003C_003Ec__DisplayClass26_1 _003C_003Ec__DisplayClass26_ = default(_003C_003Ec__DisplayClass26_1); + int num9 = default(int); + while (true) { - int num = (currentRequest.CurrentIndex + i) % currentRequest.Nodes.Count; - GatheringNode currentNode = currentRequest.Nodes[num]; - List 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)) + int num3 = num2; + int num4 = 1101437799; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) { - currentRequest.CurrentIndex = (num + 1) % currentRequest.Nodes.Count; - return currentNode; + case 2: + num2 = 1101437805; + break; + case 9: + return null; + case 7: + num2 = ((num7 < currentRequest.Nodes.Count) ? 1101437795 : 1101437806); + break; + case 1: + _003C_003Ec__DisplayClass26_2 = new _003C_003Ec__DisplayClass26_0(); + num14 = (currentRequest.CurrentIndex + num) % currentRequest.Nodes.Count; + _003C_003Ec__DisplayClass26_2.currentNode = currentRequest.Nodes[num14]; + num2 = ((!_objectTable.Any(_003C_003Ec__DisplayClass26_2._003CFindNextTargetableNodeAndUpdateIndex_003Eb__0)) ? 1101437793 : 1101437796); + break; + case 6: + { + int num10 = num; + num4 = 1; + num5 = num10; + int num11 = num5 ^ num4; + int num12 = num5 & num4; + num = num11 + (num12 + num12); + num2 = 1101437805; + break; } - if (source.Any((IGameObject x) => x?.IsTargetable ?? false)) + case 3: { - currentRequest.CurrentIndex = (num + 1) % currentRequest.Nodes.Count; - return currentNode; + int num13 = num14; + num4 = 1; + num5 = num13; + currentRequest.CurrentIndex = ((num5 | num4) + (num5 & num4)) % currentRequest.Nodes.Count; + return _003C_003Ec__DisplayClass26_2.currentNode; + } + case 5: + num7 = 0; + num2 = 1101437792; + break; + case 10: + num2 = ((num < currentRequest.Nodes.Count) ? 1101437798 : 1101437794); + break; + case 4: + _003C_003Ec__DisplayClass26_ = new _003C_003Ec__DisplayClass26_1(); + _003C_003Ec__DisplayClass26_._003C_003E4__this = this; + num9 = (currentRequest.CurrentIndex + num7) % currentRequest.Nodes.Count; + _003C_003Ec__DisplayClass26_.currentNode = currentRequest.Nodes[num9]; + num2 = ((!_200D_206C_206C_202A_200D_202D_202E_200C_206B_200E_202C_200D_202D_206B_200C_202B_202D_206D_202A_202C_200B_200E_206F_206E_200B_202B_206A_206E_206C_202D_206D_200C_200E_200E_202C_206D_202A_202E_206C_202B_202E(_003C_003Ec__DisplayClass26_.currentNode).Select(_003C_003Ec__DisplayClass26_._003CFindNextTargetableNodeAndUpdateIndex_003Eb__1).ToList().Any((IGameObject x) => x == null)) ? 1101437799 : 1101437807); + break; + case 8: + { + int num8 = num9; + num4 = 1; + num5 = num8; + currentRequest.CurrentIndex = ((num5 | num4) + (num5 & num4)) % currentRequest.Nodes.Count; + return _003C_003Ec__DisplayClass26_.currentNode; + } + case 0: + { + int num6 = num7; + num4 = 1; + num5 = num6; + num7 = (num5 | num4) + (num5 & num4); + num2 = 1101437792; + break; + } } } - 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(); } + [MethodImpl(MethodImplOptions.NoInlining)] public void OnNormalToast(SeString message) { - if (!_revisitRegex.IsMatch(message.TextValue)) + if (!_206C_202B_200F_206E_202D_206C_206B_200D_200C_206D_206F_206A_206D_200C_202E_200F_206F_202A_200D_206F_206A_202B_206E_202D_202E_200E_206D_206D_200B_206D_202E_206A_202C_206A_200C_200C_206C_206D_200C_202E_202E(_revisitRegex, _206D_206D_202E_206A_206C_206C_206F_200C_200C_206D_206A_202D_202A_200B_202E_206C_202C_206F_202B_202B_206D_200E_206D_200F_206E_206B_206E_202E_200D_206F_206E_202D_202C_202E_202B_202B_202B_200D_200F_206B_202E(message))) { return; } - if (_taskQueue.CurrentTaskExecutor?.CurrentTask is IRevisitAware revisitAware) + int num = -1389255310; + IRevisitAware revisitAware2 = default(IRevisitAware); + IRevisitAware revisitAware = default(IRevisitAware); + while (true) { - revisitAware.OnRevisit(); - } - foreach (ITask remainingTask in _taskQueue.RemainingTasks) - { - if (remainingTask is IRevisitAware revisitAware2) + int num2 = num; + int num3 = -1389255312; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 0: + num = -1389255310; + break; + case 1: revisitAware2.OnRevisit(); + num = -1389255309; + break; + case 2: + _200F_200D_200D_206D_202A_206F_200E_202C_206A_206A_200D_202E_202E_200D_200C_206E_200E_200C_202B_202C_200D_200B_202E_200C_206F_206E_202B_206B_206F_206A_202E_206D_206F_206E_206B_202E_206D_202E_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1337892205), Array.Empty()); + revisitAware2 = _taskQueue.CurrentTaskExecutor?.CurrentTask as IRevisitAware; + num = ((revisitAware2 == null) ? (-1389255309) : (-1389255311)); + break; + case 3: + { + IEnumerator enumerator = _taskQueue.RemainingTasks.GetEnumerator(); + try + { + num = 1175940356; + while (true) + { + int num5 = num; + num3 = 1175940356; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 3: + num = 1175940356; + break; + case 4: + revisitAware.OnRevisit(); + num = 1175940356; + break; + case 2: + revisitAware = enumerator.Current as IRevisitAware; + num = ((revisitAware == null) ? 1175940356 : 1175940352); + break; + case 0: + num = (_200D_206A_202B_202E_202E_200B_206B_202B_206C_206C_200F_206A_206A_202E_202D_206D_206B_200C_200C_206E_206E_206A_206C_206B_206D_206C_200D_200D_206C_206D_200E_206C_200B_200B_202B_206A_200C_200F_200D_206D_202E((IEnumerator)enumerator) ? 1175940358 : 1175940357); + break; + case 1: + return; + } + } + } + finally + { + num = ((enumerator == null) ? (-1139545443) : (-1139545442)); + while (true) + { + int num8 = num; + num3 = -1139545444; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num = -1139545442; + break; + case 2: + _200C_200C_206F_206D_206E_206F_202D_202A_206A_206F_202C_206C_206E_202E_202B_206D_206E_206D_206B_200D_206D_202A_200F_200D_206F_200F_202C_206F_202D_202A_206E_200C_200D_202C_206D_200F_206E_200F_206C_200E_202E((IDisposable)enumerator); + num = -1139545443; + break; + case 1: + goto end_IL_019c; + } + continue; + end_IL_019c: + break; + } + } + } } } } + + static InvalidDataException _202B_206A_206F_200C_206A_202C_206F_200F_206E_200C_206E_206F_200E_200C_202B_200B_200B_206C_200C_200C_200C_206A_206B_200D_202B_206E_206F_200E_206D_206F_206C_200C_200F_200F_200C_202A_200F_200F_200D_202D_202E(string P_0) + { + return new InvalidDataException(P_0); + } + + static void _206B_206D_206C_202E_202D_206A_200E_202B_200C_206F_202C_206B_206E_206F_206C_206D_202C_206F_202E_200F_202A_202C_202A_202A_206C_206A_206D_202A_206D_206C_200F_202A_206C_200B_200E_206B_202A_206C_200F_202E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static List _202E_206E_206C_200C_200B_206C_200B_202C_206C_200D_206A_206B_206C_206A_200E_206E_206A_200B_206D_200B_200E_202A_202B_206D_206E_206F_202A_200F_200B_206B_206B_202E_200E_200C_206F_200B_202E_202C_200E_200D_202E(GatheringRoot P_0) + { + return P_0.Groups; + } + + static bool _202A_200D_200B_206D_202D_206E_200E_202C_206D_206C_206F_200F_200D_202D_202E_202D_202B_206A_206F_202A_202E_202C_206F_200B_206D_200B_206E_200B_206F_200D_202C_202C_206C_200F_206C_206D_206C_202A_200F_206D_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static void _200D_200D_202D_202E_206F_202C_206B_202E_206C_206A_200B_206B_200D_202D_202C_202A_202D_206C_206F_200C_206C_206F_206D_202A_200E_206F_206E_202A_206A_202D_206B_202D_206A_200F_202B_206C_202E_202C_202E_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static List _200B_206C_200C_206C_202E_206F_206A_200C_206D_202C_202C_202C_200F_200C_202C_202C_202C_202B_206B_206B_206E_200C_202D_200D_202B_202C_206D_206E_200E_200D_202E_206D_206D_206A_202B_200F_200D_206D_206F_202E_202E(GatheringRoot P_0) + { + return P_0.Steps; + } + + static List _200D_206C_206C_202A_200D_202D_202E_200C_206B_200E_202C_200D_202D_206B_200C_202B_202D_206D_202A_202C_200B_200E_206F_206E_200B_202B_206A_206E_206C_202D_206D_200C_200E_200E_202C_206D_202A_202E_206C_202B_202E(GatheringNode P_0) + { + return P_0.Locations; + } + + static ushort _202A_202A_200B_202A_206A_202D_206F_206C_200B_206D_206E_206A_200E_202B_200B_200D_202A_202D_200F_200E_200E_202B_202E_200E_206B_202B_200F_206D_206D_206C_202E_206D_200E_202C_206F_206B_200E_202D_206E_206A_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static bool? _200D_206D_206E_202C_202B_200E_200C_202E_202D_202C_200E_206B_206D_202B_202A_202C_202E_206F_206E_202E_200D_200E_206B_202B_202D_206D_202A_200F_202E_202E_206F_206E_206D_206E_202D_202B_206B_200E_202B_206F_202E(GatheringNode P_0) + { + return P_0.Fly; + } + + static bool? _200D_206E_206C_206C_200B_202C_206D_200E_206D_202B_206F_202A_202D_202A_200C_200B_200B_200B_206C_202C_202E_206A_206D_200C_206A_206E_200B_206E_202E_206F_206B_206B_202D_200B_202C_202C_206A_206B_206B_202D_202E(GatheringRoot P_0) + { + return P_0.FlyBetweenNodes; + } + + static float _202C_206D_200E_200D_202D_206C_206C_200E_202C_206C_202B_206D_200D_206E_206B_200D_202D_200F_200C_206D_206A_206C_202A_200F_202E_202D_202A_206E_206B_200E_202E_206E_202D_206F_200F_202E_206B_206A_206D_202D_202E(IEnumerable P_0) + { + return P_0.Max(); + } + + static uint _206A_200D_206D_206B_202C_200E_202A_200E_202C_200F_202A_206E_202D_206F_206E_206C_206B_200C_206B_202D_202A_202D_206D_202B_200E_206F_206B_206A_200B_206C_206F_200E_200E_200C_206B_202A_202A_202C_202E_206D_202E(GatheringNode P_0) + { + return P_0.DataId; + } + + static string _206D_206D_202E_206A_206C_206C_206F_200C_200C_206D_206A_202D_202A_200B_202E_206C_202C_206F_202B_202B_206D_200E_206D_200F_206E_206B_206E_202E_200D_206F_206E_202D_202C_202E_202B_202B_202B_200D_200F_206B_202E(SeString P_0) + { + return P_0.TextValue; + } + + static bool _206C_202B_200F_206E_202D_206C_206B_200D_200C_206D_206F_206A_206D_200C_202E_200F_206F_202A_200D_206F_206A_202B_206E_202D_202E_200E_206D_206D_200B_206D_202E_206A_202C_206A_200C_200C_206C_206D_200C_202E_202E(Regex P_0, string P_1) + { + return P_0.IsMatch(P_1); + } + + static void _200F_200D_200D_206D_202A_206F_200E_202C_206A_206A_200D_202E_202E_200D_200C_206E_200E_200C_202B_202C_200D_200B_202E_200C_206F_206E_202B_206B_206F_206A_202E_206D_206F_206E_206B_202E_206D_202E_202B_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _200D_206A_202B_202E_202E_200B_206B_202B_206C_206C_200F_206A_206A_202E_202D_206D_206B_200C_200C_206E_206E_206A_206C_206B_206D_206C_200D_200D_206C_206D_200E_206C_200B_200B_202B_206A_200C_200F_200D_206D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200C_200C_206F_206D_206E_206F_202D_202A_206A_206F_202C_206C_206E_202E_202B_206D_206E_206D_206B_200D_206D_202A_200F_200D_206F_200F_202C_206F_202D_202A_206E_200C_200D_202C_206D_200F_206E_200F_206C_200E_202E(IDisposable P_0) + { + P_0.Dispose(); + } } diff --git a/Questionable/Questionable.Controller/GatheringPointRegistry.cs b/Questionable/Questionable.Controller/GatheringPointRegistry.cs index 09344b20..18f4f4d7 100644 --- a/Questionable/Questionable.Controller/GatheringPointRegistry.cs +++ b/Questionable/Questionable.Controller/GatheringPointRegistry.cs @@ -1,11 +1,15 @@ #define RELEASE using System; +using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; +using System.Globalization; using System.IO; using System.Linq; +using System.Runtime.CompilerServices; using System.Text.Json; +using System.Text.Json.Nodes; using Dalamud.Plugin; using LLib.GameData; using Microsoft.Extensions.Logging; @@ -13,139 +17,502 @@ 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; + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass16_0 + { + public uint itemId; - private readonly QuestRegistry _questRegistry; + public GatheringPointRegistry _003C_003E4__this; + + internal bool _003CTryGetGatheringPointId_003Eb__0(KeyValuePair x) + { + return _202A_202A_200D_206A_200E_202D_206E_206A_202A_200F_206D_200F_206C_206A_200B_202B_206A_202A_206F_200B_200D_206A_200E_200F_202A_200C_200E_200F_202C_200B_206C_200B_202C_200C_200B_206C_206F_206E_200F_200C_202E(x.Value).Contains(itemId); + } + + internal bool _003CTryGetGatheringPointId_003Eb__2(GatheringPointId x) + { + return _003C_003E4__this._gatheringData.MinerGatheringPoints.Contains(x); + } + + internal bool _003CTryGetGatheringPointId_003Eb__3(KeyValuePair x) + { + return _202A_202A_200D_206A_200E_202D_206E_206A_202A_200F_206D_200F_206C_206A_200B_202B_206A_202A_206F_200B_200D_206A_200E_200F_202A_200C_200E_200F_202C_200B_206C_200B_202C_200C_200B_206C_206F_206E_200F_200C_202E(x.Value).Contains(itemId); + } + + internal bool _003CTryGetGatheringPointId_003Eb__5(GatheringPointId x) + { + return _003C_003E4__this._gatheringData.BotanistGatheringPoints.Contains(x); + } + + static List _202A_202A_200D_206A_200E_202D_206E_206A_202A_200F_206D_200F_206C_206A_200B_202B_206A_202A_206F_200B_200D_206A_200E_200F_202A_200C_200E_200F_202C_200B_206C_200B_202C_200C_200B_206C_206F_206E_200F_200C_202E(GatheringRoot P_0) + { + return P_0.ExtraQuestItems; + } + } + + private readonly IDalamudPluginInterface _pluginInterface; 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) + [MethodImpl(MethodImplOptions.NoInlining)] + public Dictionary Build() { - Reload(); + Dictionary dictionary = new Dictionary(); + _gatheringSchemaValidator.Reset(); + LoadGatheringPointsFromAssembly(dictionary); + try + { + LoadFromDirectory(dictionary, _202C_202B_202C_206E_200E_206B_200F_206E_202A_200B_200F_206A_200D_200D_202E_206E_202A_206D_200E_200E_200D_202C_206D_206B_206B_200B_206D_200B_206A_202C_206C_206D_200C_202B_200F_200F_206E_200D_206A_206B_202E(_202A_206B_206E_206A_200F_206F_202E_202E_206E_200B_206F_202A_202C_200D_200C_200F_206A_206E_200F_202E_206A_200E_206A_202A_200B_202B_200B_206D_200E_202A_206D_202E_206E_206C_202C_202A_202E_202C_200F_206B_202E(_202B_200C_206B_202C_202D_202A_200C_206A_200F_202B_206A_206B_200D_206D_202A_206F_200C_202A_200F_200B_202C_206D_200B_200B_200F_206F_206E_202B_200D_206D_202D_206E_206A_202C_206F_202D_206F_206E_202E_206E_202E((FileSystemInfo)_202C_200E_206E_206B_200B_200D_206A_202C_202A_202A_206A_206E_200F_200D_206C_200F_206A_200C_206A_200F_200B_206A_206D_202A_200D_206F_206D_202C_200F_200C_200E_202A_202C_200E_202A_202C_200E_200C_200C_206D_202E(_pluginInterface)), global::_003CModule_003E._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(-1200409228)))); + } + catch (Exception ex) + { + _202D_202E_206E_206B_206F_200B_200E_206C_206E_206E_200B_202B_200E_206A_202B_200F_206D_206C_202A_206D_200F_202B_206D_200C_206E_206C_206E_206F_202A_206F_200E_200D_200E_202C_206C_200F_200D_206A_206F_202D_202E((ILogger)_logger, ex, global::_003CModule_003E._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(1765916983), Array.Empty()); + } + IEnumerator enumerator = _gatheringSchemaValidator.Validate().GetEnumerator(); + try + { + int num = 629723332; + while (true) + { + int num2 = num; + int num3 = 629723333; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = (_206E_200E_200E_202D_202D_202D_200F_202B_202E_206E_206C_202A_202E_206C_202D_206B_206C_206A_202C_200C_206C_206B_206F_200B_206B_200D_206F_200B_206E_206B_202E_200D_202D_206F_200C_200E_200D_202B_200D_200C_202E((IEnumerator)enumerator) ? 629723335 : 629723334); + break; + case 2: + { + ValidationIssue current = enumerator.Current; + _questValidator.AddValidationIssue(current); + num = 629723332; + break; + } + case 0: + num = 629723332; + break; + case 3: + goto end_IL_0086; + } + continue; + end_IL_0086: + break; + } + } + finally + { + int num = ((enumerator == null) ? 914645726 : 914645725); + while (true) + { + int num7 = num; + int num3 = 914645724; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0129; + case 1: + _200C_206B_206C_202A_200E_200D_206E_202B_200D_202D_200C_200C_206B_200F_200C_202A_206E_200D_206D_202A_200F_202A_202B_200D_200C_202E_200B_206B_206C_200D_202B_206D_206E_206F_202C_206D_202B_202C_202B_206F_202E((IDisposable)enumerator); + num = 914645726; + break; + case 0: + num = 914645725; + break; + } + continue; + end_IL_0129: + break; + } + } + _200F_206D_202C_206A_202E_200E_206A_202E_206D_200B_200E_202B_206A_206E_202B_206B_202B_200B_206E_200D_206F_206F_206B_200D_202A_200F_206A_200D_206E_202A_206C_202E_206F_202C_202E_200C_206B_200B_206F_202D_202E((ILogger)_logger, global::_003CModule_003E._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(509143359), new object[1] { dictionary.Count }); + return dictionary; + } + + public void Publish(Dictionary gatheringPoints) + { + _gatheringPoints = gatheringPoints; } public void Reload() { - _gatheringPoints.Clear(); - LoadGatheringPointsFromAssembly(); + Publish(Build()); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [Conditional("RELEASE")] + private void LoadGatheringPointsFromAssembly(Dictionary gatheringPoints) + { + IEnumerator> enumerator = _202B_206E_202A_202D_206C_200E_202E_206E_202D_202B_206F_200D_206F_206B_200E_202E_200F_206C_202B_200C_200C_200D_206D_206D_202C_200C_200B_200D_202D_200C_206B_206E_202C_200C_202B_206B_206D_206A_202E_202D_202E().GetEnumerator(); try { - LoadFromDirectory(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); - } - - [Conditional("RELEASE")] - private void LoadGatheringPointsFromAssembly() - { - _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) - { - _gatheringPoints[new GatheringPointId(value)] = value2; - } - _logger.LogInformation("Loaded {Count} gathering points from assembly", _gatheringPoints.Count); - } - - [Conditional("DEBUG")] - private void LoadGatheringPointsFromProjectDirectory() - { - DirectoryInfo directoryInfo = _pluginInterface.AssemblyLocation.Directory?.Parent?.Parent; - _logger.LogInformation("Looking for gathering paths in solution directory: {SolutionDirectory}", directoryInfo?.FullName ?? "(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) + int num = 136315747; + while (true) { - return; - } - try - { - foreach (string value in ExpansionData.ExpansionFolders.Values) + int num2 = num; + int num3 = 136315744; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - LoadFromDirectory(new DirectoryInfo(Path.Combine(directoryInfo2.FullName, value))); + case 0: + num = 136315747; + break; + case 3: + num = (_206E_200E_200E_202D_202D_202D_200F_202B_202E_206E_206C_202A_202E_206C_202D_206B_206C_206A_202C_200C_206C_206B_206F_200B_206B_200D_206F_200B_206E_206B_202E_200D_202D_206F_200C_200E_200D_202B_200D_200C_202E((IEnumerator)enumerator) ? 136315746 : 136315745); + break; + case 2: + var (num8, value) = (KeyValuePair)(ref enumerator.Current); + gatheringPoints[_206A_200B_206E_202D_202C_206C_206B_200E_202B_200B_200B_200D_206E_202B_206A_200D_206E_206E_200F_206E_200E_202B_200E_202D_200C_206F_200C_206E_206C_200F_206A_206F_206D_200B_200E_200B_200E_200E_206B_200E_202E(num8)] = value; + num = 136315747; + break; + case 1: + goto end_IL_0017; } - return; - } - catch (Exception exception) - { - _gatheringPoints.Clear(); - _logger.LogError(exception, "Failed to load gathering points from project directory"); - return; + continue; + end_IL_0017: + break; } } - _logger.LogWarning("Could not determine solution directory from assembly location: {AssemblyLocation}", _pluginInterface.AssemblyLocation.FullName); + finally + { + int num = ((enumerator == null) ? 1026507161 : 1026507162); + while (true) + { + int num9 = num; + int num3 = 1026507163; + int num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1026507162; + break; + case 1: + _200C_206B_206C_202A_200E_200D_206E_202B_200D_202D_200C_200C_206B_200F_200C_202A_206E_200D_206D_202A_200F_202A_202B_200D_200C_202E_200B_206B_206C_200D_202B_206D_206E_206F_202C_206D_202B_202C_202B_206F_202E((IDisposable)enumerator); + num = 1026507161; + break; + case 2: + goto end_IL_00cc; + } + continue; + end_IL_00cc: + break; + } + } + _200F_206D_202C_206A_202E_200E_206A_202E_206D_200B_200E_202B_206A_206E_202B_206B_202B_200B_206E_200D_206F_206F_206B_200D_202A_200F_206A_200D_206E_202A_206C_202E_206F_202C_202E_200C_206B_200B_206F_202D_202E((ILogger)_logger, global::_003CModule_003E._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(1162006669), new object[1] { gatheringPoints.Count }); } - private void LoadGatheringPointFromStream(string fileName, Stream stream) + [MethodImpl(MethodImplOptions.NoInlining)] + [Conditional("DEBUG")] + private void LoadGatheringPointsFromProjectDirectory(Dictionary gatheringPoints) + { + DirectoryInfo directoryInfo = _200E_206A_200F_206A_206F_202B_202A_200C_200C_206B_206D_200D_200C_200E_206F_200D_206B_206E_206E_202B_206F_206F_206D_206F_206F_200F_200E_202A_202B_200B_206A_206A_206E_202B_202D_202A_206B_200E_200C_200F_202E(_200C_202C_206D_202E_202C_202B_200C_206F_200E_206C_206F_202E_200B_206F_200F_206C_206C_206F_206B_202A_200F_200C_200B_200C_200D_202D_200E_202A_206F_206F_200F_200C_200F_206E_200F_206F_200F_200F_202E_206B_202E(_pluginInterface)); + object obj; + if (directoryInfo == null) + { + obj = null; + } + else + { + DirectoryInfo directoryInfo2 = _200C_206E_202A_200D_200B_202E_206B_200E_200C_200E_206F_202B_202C_200E_200F_206E_202B_200F_200B_202E_202E_206F_202D_206E_202B_200C_202C_206E_200C_206B_206B_200F_202E_206F_200C_200D_200E_200B_200F_200E_202E(directoryInfo); + obj = ((directoryInfo2 != null) ? _200C_206E_202A_200D_200B_202E_206B_200E_200C_200E_206F_202B_202C_200E_200F_206E_202B_200F_200B_202E_202E_206F_202D_206E_202B_200C_202C_206E_200C_206B_206B_200F_202E_206F_200C_200D_200E_200B_200F_200E_202E(directoryInfo2) : null); + } + DirectoryInfo directoryInfo3 = (DirectoryInfo)obj; + int num = ((directoryInfo3 != null) ? 750633398 : 750633399); + while (true) + { + int num2 = num; + int num3 = 750633398; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0081; + case 1: + _206D_200C_202C_206C_206D_206B_202C_202B_202D_206D_200B_206D_202A_200C_202C_206A_202D_200C_200C_200D_206F_200C_202A_206A_200F_200C_202C_200D_202A_200F_202B_200E_206E_202C_202C_202E_202E_206A_202A_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-793417510), new object[1] { _202B_200C_206B_202C_202D_202A_200C_206A_200F_202B_206A_206B_200D_206D_202A_206F_200C_202A_200F_200B_202C_206D_200B_200B_200F_206F_206E_202B_200D_206D_202D_206E_206A_202C_206F_202D_206F_206E_202E_206E_202E((FileSystemInfo)_200C_202C_206D_202E_202C_202B_200C_206F_200E_206C_206F_202E_200B_206F_200F_206C_206C_206F_206B_202A_200F_200C_200B_200C_200D_202D_200E_202A_206F_206F_200F_200C_200F_206E_200F_206F_200F_200F_202E_206B_202E(_pluginInterface)) }); + return; + case 0: + { + DirectoryInfo directoryInfo4 = _202C_202B_202C_206E_200E_206B_200F_206E_202A_200B_200F_206A_200D_200D_202E_206E_202A_206D_200E_200E_200D_202C_206D_206B_206B_200B_206D_200B_206A_202C_206C_206D_200C_202B_200F_200F_206E_200D_206A_206B_202E(_200D_200B_202E_200F_202A_206D_200C_206A_202A_206D_206F_202D_200B_206C_206D_202D_202C_202E_200D_206A_202A_206E_200D_206F_206C_202D_206F_200E_202D_202B_200D_202D_202D_206B_202E_200C_206D_200E_202A_202B_202E(_202B_200C_206B_202C_202D_202A_200C_206A_200F_202B_206A_206B_200D_206D_202A_206F_200C_202A_200F_200B_202C_206D_200B_200B_200F_206F_206E_202B_200D_206D_202D_206E_206A_202C_206F_202D_206F_206E_202E_206E_202E((FileSystemInfo)directoryInfo3), global::_003CModule_003E._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(-1542749489), global::_003CModule_003E._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(-1860611895))); + try + { + IEnumerator enumerator = ExpansionData.ExpansionFolders.Values.GetEnumerator(); + try + { + num = 1661986268; + while (true) + { + int num7 = num; + num3 = 1661986269; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = 1661986268; + break; + case 2: + { + string current = enumerator.Current; + LoadFromDirectory(gatheringPoints, _202C_202B_202C_206E_200E_206B_200F_206E_202A_200B_200F_206A_200D_200D_202E_206E_202A_206D_200E_200E_200D_202C_206D_206B_206B_200B_206D_200B_206A_202C_206C_206D_200C_202B_200F_200F_206E_200D_206A_206B_202E(_202A_206B_206E_206A_200F_206F_202E_202E_206E_200B_206F_202A_202C_200D_200C_200F_206A_206E_200F_202E_206A_200E_206A_202A_200B_202B_200B_206D_200E_202A_206D_202E_206E_206C_202C_202A_202E_202C_200F_206B_202E(_202B_200C_206B_202C_202D_202A_200C_206A_200F_202B_206A_206B_200D_206D_202A_206F_200C_202A_200F_200B_202C_206D_200B_200B_200F_206F_206E_202B_200D_206D_202D_206E_206A_202C_206F_202D_206F_206E_202E_206E_202E((FileSystemInfo)directoryInfo4), current))); + num = 1661986268; + break; + } + case 1: + num = (_206E_200E_200E_202D_202D_202D_200F_202B_202E_206E_206C_202A_202E_206C_202D_206B_206C_206A_202C_200C_206C_206B_206F_200B_206B_200D_206F_200B_206E_206B_202E_200D_202D_206F_200C_200E_200D_202B_200D_200C_202E((IEnumerator)enumerator) ? 1661986271 : 1661986270); + break; + case 3: + return; + } + } + } + finally + { + num = ((enumerator == null) ? 867053132 : 867053133); + while (true) + { + int num10 = num; + num3 = 867053132; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 867053133; + break; + case 1: + _200C_206B_206C_202A_200E_200D_206E_202B_200D_202D_200C_200C_206B_200F_200C_202A_206E_200D_206D_202A_200F_202A_202B_200D_200C_202E_200B_206B_206C_200D_202B_206D_206E_206F_202C_206D_202B_202C_202B_206F_202E((IDisposable)enumerator); + num = 867053132; + break; + case 0: + goto end_IL_01ac; + } + continue; + end_IL_01ac: + break; + } + } + } + catch (Exception ex) + { + gatheringPoints.Clear(); + _202D_202E_206E_206B_206F_200B_200E_206C_206E_206E_200B_202B_200E_206A_202B_200F_206D_206C_202A_206D_200F_202B_206D_200C_206E_206C_206E_206F_202A_206F_200E_200D_200E_202C_206C_200F_200D_206A_206F_202D_202E((ILogger)_logger, ex, global::_003CModule_003E._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(1894668085), Array.Empty()); + return; + } + } + } + continue; + IL_0081: + num = 750633399; + } + } + + private void LoadGatheringPointFromStream(Dictionary gatheringPoints, string fileName, Stream stream) { GatheringPointId gatheringPointId = ExtractGatheringPointIdFromName(fileName); - if (!(gatheringPointId == null)) + int num = ((!_206F_206D_202E_206E_202B_200B_200F_206F_206E_206F_202A_206F_206C_206E_200E_206F_200E_202B_206F_202A_206B_202E_200F_202A_202D_206C_202A_206E_206F_206F_200C_206A_206F_202E_206B_202A_200E_206C_200F_202E(gatheringPointId, (GatheringPointId)null)) ? 1532040796 : 1532040799); + JsonNode jsonNode = default(JsonNode); + while (true) { - _gatheringPoints[gatheringPointId] = JsonSerializer.Deserialize(stream); + int num2 = num; + int num3 = 1532040798; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return; + case 1: + return; + case 3: + num = 1532040799; + break; + case 2: + jsonNode = _200B_206C_202C_202B_206F_200D_202A_206D_206E_206B_206F_202C_200B_202B_200C_200F_206F_206F_202D_200C_206E_202C_206E_200D_200F_200F_200D_200F_206C_202E_206A_206F_200D_202D_202A_202B_206F_206B_206F_206B_202E(stream, (JsonNodeOptions?)null, default(JsonDocumentOptions)); + num = ((jsonNode != null) ? 1532040794 : 1532040798); + break; + case 4: + _gatheringSchemaValidator.Enqueue(_200B_200E_202E_202B_206C_200E_200B_206D_200B_200D_206C_206F_200E_202E_206C_206D_202B_206E_200B_200C_200C_200F_200D_200D_206B_200E_206A_206E_206D_202A_202C_202A_206E_200F_200F_200F_206D_206D_200E_200F_202E(gatheringPointId), jsonNode); + gatheringPoints[gatheringPointId] = jsonNode.Deserialize(); + return; + } } } - private void LoadFromDirectory(DirectoryInfo directory) + [MethodImpl(MethodImplOptions.NoInlining)] + private void LoadFromDirectory(Dictionary gatheringPoints, DirectoryInfo directory) { - if (!directory.Exists) + int num = (_200E_202A_206F_200B_206E_206E_206D_200D_200B_202C_202C_206E_206D_206D_206E_202C_206E_200C_202A_206D_206E_200D_200B_206E_202C_202C_202B_200C_202D_200F_200D_200F_206C_202A_200D_206E_206B_202A_206A_206A_202E((FileSystemInfo)directory) ? (-2030197123) : (-2030197122)); + DirectoryInfo[] array2 = default(DirectoryInfo[]); + while (true) { - _logger.LogInformation("Not loading gathering points from {DirectoryName} (doesn't exist)", directory); - return; - } - FileInfo[] files = directory.GetFiles("*.json"); - foreach (FileInfo fileInfo in files) - { - try + int num2 = num; + int num3 = -2030197121; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - using FileStream stream = new FileStream(fileInfo.FullName, FileMode.Open, FileAccess.Read); - LoadGatheringPointFromStream(fileInfo.Name, stream); - } - catch (Exception innerException) + case 0: + goto IL_0051; + case 1: + _200F_206D_202C_206A_202E_200E_206A_202E_206D_200B_200E_202B_206A_206E_202B_206B_202B_200B_206E_200D_206F_206F_206B_200D_202A_200F_206A_200D_206E_202A_206C_202E_206F_202C_202E_200C_206B_200B_206F_202D_202E((ILogger)_logger, global::_003CModule_003E._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(-1603379103), new object[1] { directory }); + return; + case 2: { - throw new InvalidDataException("Unable to load file " + fileInfo.FullName, innerException); + FileInfo[] array = _206F_202B_202A_202E_202C_206C_200F_200E_206A_202A_202A_200B_202C_206D_202E_206F_202A_200B_206A_206F_206F_202B_206E_200E_202E_200F_200F_202C_206D_200F_206D_206A_206B_202B_206F_206A_200D_200F_200F_202A_202E(directory, global::_003CModule_003E._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(1350212695)); + int num7; + for (num7 = 0; num7 < array.Length; num7 = (num4 | num3) + (num4 & num3)) + { + FileInfo fileInfo = array[num7]; + try + { + FileStream fileStream = _200C_206E_206C_206F_206C_206E_206E_200B_202D_200B_200E_200D_206F_202A_200F_206E_206D_202A_200B_200E_202B_202D_206B_206E_206B_202C_202C_206B_202A_202C_202A_202B_206A_200C_202A_206A_200F_202A_202D_202B_202E(fileInfo); + try + { + LoadGatheringPointFromStream(gatheringPoints, _200D_200D_200E_200D_206D_206B_202B_206D_202A_200D_200F_200D_206C_206E_200C_206C_206F_202B_200B_206D_200F_206F_206A_202D_202C_202C_206B_206C_202D_202E_202B_206C_206F_200F_202D_206B_206A_206A_200D_202E_202E((FileSystemInfo)fileInfo), fileStream); + } + finally + { + num = ((fileStream == null) ? (-1087514602) : (-1087514603)); + while (true) + { + int num8 = num; + num3 = -1087514601; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1087514603; + break; + case 2: + _200C_206B_206C_202A_200E_200D_206E_202B_200D_202D_200C_200C_206B_200F_200C_202A_206E_200D_206D_202A_200F_202A_202B_200D_200C_202E_200B_206B_206C_200D_202B_206D_206E_206F_202C_206D_202B_202C_202B_206F_202E((IDisposable)fileStream); + num = -1087514602; + break; + case 1: + goto end_IL_00d1; + } + continue; + end_IL_00d1: + break; + } + } + } + catch (JsonException ex) + { + GatheringPointId gatheringPointId = ExtractGatheringPointIdFromName(_200D_200D_200E_200D_206D_206B_202B_206D_202A_200D_200F_200D_206C_206E_200C_206C_206F_202B_200B_206D_200F_206F_206A_202D_202C_202C_206B_206C_202D_202E_202B_206C_206F_200F_202D_206B_206A_206A_200D_202E_202E((FileSystemInfo)fileInfo)); + _202D_202E_206E_206B_206F_200B_200E_206C_206E_206E_200B_202B_200E_206A_202B_200F_206D_206C_202A_206D_200F_202B_206D_200C_206E_206C_206E_206F_202A_206F_200E_200D_200E_202C_206C_200F_200D_206A_206F_202D_202E((ILogger)_logger, (Exception)ex, global::_003CModule_003E._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(-1786995802), new object[1] { _202B_200C_206B_202C_202D_202A_200C_206A_200F_202B_206A_206B_200D_206D_202A_206F_200C_202A_200F_200B_202C_206D_200B_200B_200F_206F_206E_202B_200D_206D_202D_206E_206A_202C_206F_202D_206F_206E_202E_206E_202E((FileSystemInfo)fileInfo) }); + _questValidator.AddValidationIssue(new ValidationIssue + { + PathType = EPathType.Gathering, + Id = (((object)gatheringPointId != null) ? _202D_200D_200C_202A_206C_200F_202A_206E_206F_206E_206F_206F_202C_202C_202B_206F_202D_200B_202A_206E_202C_202D_200C_202D_202B_200C_202A_206C_200F_200F_202B_202B_200C_202C_202B_202E_200B_200B_202C_206A_202E(gatheringPointId).ToString(_206E_206F_206D_206A_202C_206E_206B_202E_206E_206E_202E_200D_206D_200D_200C_202D_206E_202A_200D_202A_202D_206A_202D_206B_206B_202D_202B_206E_206B_202E_202B_200F_206F_200F_200D_202E_200B_206E_206E_200E_202E()) : null), + Location = null, + Type = EIssueType.InvalidJsonSyntax, + Severity = EIssueSeverity.Error, + Description = _206D_202D_206D_200C_202D_206E_206F_200B_202D_200E_202D_206D_206B_206E_202D_206F_202B_200E_200C_206C_206A_206E_202C_206F_206F_206A_206A_206B_206E_206D_202B_200B_206A_200B_206A_200D_202C_200C_200C_202B_202E(global::_003CModule_003E._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(1207352804), _200D_200D_200E_200D_206D_206B_202B_206D_202A_200D_200F_200D_206C_206E_200C_206C_206F_202B_200B_206D_200F_206F_206A_202D_202C_202C_206B_206C_202D_202E_202B_206C_206F_200F_202D_206B_206A_206A_200D_202E_202E((FileSystemInfo)fileInfo), global::_003CModule_003E._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(-2035955381), _202C_202D_206A_206B_200E_206A_206D_206E_200C_206B_200D_202E_202B_200F_200E_206E_202C_206A_206A_206F_206B_202A_202A_206C_200D_200E_206D_200C_200E_206F_206F_200D_200C_202A_200C_206F_202E_200D_206B_202C_202E((Exception)ex)) + }); + } + catch (Exception ex2) + { + throw _200E_206E_206C_200D_200F_206A_202A_200B_200E_202A_202D_200F_200D_200E_202B_200C_206C_206E_206F_200F_202A_206B_202A_200E_202B_206D_202B_202E_200E_200B_202D_200C_206B_200C_200F_202C_200E_200D_202B_206E_202E(_206C_202D_202C_206C_202B_202B_206A_202A_202E_206D_206B_202D_202A_206A_202A_202B_202C_206B_202B_206A_200F_200F_202B_206A_206A_206D_206F_202B_200D_202B_202D_200E_202D_206F_200B_206A_200E_202D_200F_206C_202E(global::_003CModule_003E._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(-912896990), _202B_200C_206B_202C_202D_202A_200C_206A_200F_202B_206A_206B_200D_206D_202A_206F_200C_202A_200F_200B_202C_206D_200B_200B_200F_206F_206E_202B_200D_206D_202D_206E_206A_202C_206F_202D_206F_206E_202E_206E_202E((FileSystemInfo)fileInfo)), ex2); + } + int num9 = num7; + num3 = 1; + num4 = num9; + } + num = 1535846665; + while (true) + { + int num10 = num; + num3 = 1535846664; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1535846665; + break; + case 3: + return; + case 0: + { + DirectoryInfo directory2 = array2[num7]; + LoadFromDirectory(gatheringPoints, directory2); + int num11 = num7; + num3 = 1; + num4 = num11; + num7 = (num4 | num3) + (num4 & num3); + num = 1535846668; + break; + } + case 1: + array2 = _200D_206D_200B_202E_206E_202D_200E_206F_202D_206A_202C_200B_200B_200F_200E_200D_206E_202B_200E_200B_200B_202E_206C_202D_206C_202E_200B_202D_202C_200B_200C_206F_202A_206F_202B_206E_202D_202C_200B_206C_202E(directory); + num7 = 0; + num = 1535846668; + break; + case 4: + num = ((num7 < array2.Length) ? 1535846664 : 1535846667); + break; + } + } } - } - DirectoryInfo[] directories = directory.GetDirectories(); - foreach (DirectoryInfo directory2 in directories) - { - LoadFromDirectory(directory2); + } + continue; + IL_0051: + num = -2030197122; } } 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 text = _202C_206E_202D_202B_202B_206B_202A_206A_200F_202E_206D_202C_206B_202C_200F_206B_206B_206A_206E_202C_206B_206C_202E_202A_206D_206D_206A_206F_202D_206E_200B_200E_200D_202C_206C_206D_200E_206D_200F_206D_202E(resourceName); + text = _202A_202E_202D_202A_206E_206B_206B_200F_202C_202C_200F_202E_200C_206E_200F_200C_202B_200C_202A_200B_202B_200E_206F_206B_200B_200C_200C_202B_200C_202D_202D_206A_202B_200E_200F_206C_202D_200D_200D_202D_202E(text, _202A_202A_206A_206B_206F_206E_200D_206C_206C_202B_202D_200E_202E_200D_206A_202A_202E_206F_200B_202E_206B_206B_200E_200E_200E_206B_202C_202D_202A_200E_206A_206B_200B_202E_200F_200F_200E_206C_206F_206E_202E(text, '.') + 1); + int num = (_202B_200B_206B_200E_200E_200B_206C_200C_200B_202B_206A_202C_206E_206A_206A_202C_206A_202E_206D_202D_200F_200B_200E_202B_206D_206E_202B_202B_206D_202B_206D_200B_202B_200B_206A_200D_200D_202C_206B_200D_202E(text, '_', StringComparison.Ordinal) ? (-863946065) : (-863946068)); + while (true) { - return null; + int num2 = num; + int num3 = -863946066; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0061; + case 2: + return null; + case 1: + return _206C_200E_206B_206B_200F_202D_202C_202E_202E_206A_202D_206A_202B_200B_202B_200D_206C_206C_200B_200B_206A_202A_206A_200E_200B_206A_206A_202A_202C_206C_202B_200B_202A_202A_200C_206B_206F_200B_206C_202E(_206D_202C_206B_200F_206A_200D_202D_202C_206D_206B_206E_206B_206F_202D_202B_200F_206E_202B_206D_202E_206C_202A_202D_200B_206D_200E_206C_202D_200C_206A_206E_202B_200E_200F_200C_206B_200E_202D_206E_202C_202E(text, '_', 2, StringSplitOptions.None)[0]); + } + continue; + IL_0061: + num = -863946068; } - return GatheringPointId.FromString(text.Split('_', 2)[0]); } public bool TryGetGatheringPoint(GatheringPointId gatheringPointId, [NotNullWhen(true)] out GatheringRoot? gatheringRoot) @@ -155,34 +522,225 @@ internal sealed class GatheringPointRegistry : IDisposable public bool TryGetGatheringPointId(uint itemId, EClassJob classJobId, [NotNullWhen(true)] out GatheringPointId? gatheringPointId) { - switch (classJobId) + Dictionary gatheringPoints = _gatheringPoints; + int num = ((classJobId != EClassJob.Miner) ? 627004165 : 627004160); + while (true) { - case EClassJob.Miner: - if (_gatheringData.TryGetMinerGatheringPointByItemId(itemId, out gatheringPointId)) + int num2 = num; + int num3 = 627004163; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 5: return true; - } - gatheringPointId = (from x in _gatheringPoints - where x.Value.ExtraQuestItems.Contains(itemId) - select x.Key).FirstOrDefault((GatheringPointId x) => _gatheringData.MinerGatheringPoints.Contains(x)); - return gatheringPointId != null; - case EClassJob.Botanist: - if (_gatheringData.TryGetBotanistGatheringPointByItemId(itemId, out gatheringPointId)) - { + case 2: + gatheringPointId = null; + return false; + case 6: + num = ((classJobId != EClassJob.Botanist) ? 627004161 : 627004171); + break; + case 8: + num = ((!_gatheringData.TryGetBotanistGatheringPointByItemId(itemId, out gatheringPointId)) ? 627004163 : 627004166); + break; + case 4: return true; + case 7: + num = 627004160; + break; + case 1: + gatheringPointId = (from x in gatheringPoints + where _003C_003Ec__DisplayClass16_0._202A_202A_200D_206A_200E_202D_206E_206A_202A_200F_206D_200F_206C_206A_200B_202B_206A_202A_206F_200B_200D_206A_200E_200F_202A_200C_200E_200F_202C_200B_206C_200B_202C_200C_200B_206C_206F_206E_200F_200C_202E(x.Value).Contains(itemId) + select x.Key).FirstOrDefault((GatheringPointId x) => _gatheringData.MinerGatheringPoints.Contains(x)); + return _206F_202A_200D_200C_202A_206E_202A_200F_206B_202D_200F_206F_200B_202E_206C_206C_202D_202E_202E_206C_206E_206E_202C_200D_200C_200B_200F_202B_200F_206C_202D_200F_202A_200F_200F_200F_200B_202D_202B_200E_202E(gatheringPointId, (GatheringPointId)null); + case 0: + gatheringPointId = (from x in gatheringPoints + where _003C_003Ec__DisplayClass16_0._202A_202A_200D_206A_200E_202D_206E_206A_202A_200F_206D_200F_206C_206A_200B_202B_206A_202A_206F_200B_200D_206A_200E_200F_202A_200C_200E_200F_202C_200B_206C_200B_202C_200C_200B_206C_206F_206E_200F_200C_202E(x.Value).Contains(itemId) + select x.Key).FirstOrDefault((GatheringPointId x) => _gatheringData.BotanistGatheringPoints.Contains(x)); + return _206F_202A_200D_200C_202A_206E_202A_200F_206B_202D_200F_206F_200B_202E_206C_206C_202D_202E_202E_206C_206E_206E_202C_200D_200C_200B_200F_202B_200F_206C_202D_200F_202A_200F_200F_200F_200B_202D_202B_200E_202E(gatheringPointId, (GatheringPointId)null); + case 3: + num = ((!_gatheringData.TryGetMinerGatheringPointByItemId(itemId, out gatheringPointId)) ? 627004162 : 627004167); + break; } - gatheringPointId = (from x in _gatheringPoints - where x.Value.ExtraQuestItems.Contains(itemId) - select x.Key).FirstOrDefault((GatheringPointId x) => _gatheringData.BotanistGatheringPoints.Contains(x)); - return gatheringPointId != null; - default: - gatheringPointId = null; - return false; } } - public void Dispose() + static DirectoryInfo _202C_200E_206E_206B_200B_200D_206A_202C_202A_202A_206A_206E_200F_200D_206C_200F_206A_200C_206A_200F_200B_206A_206D_202A_200D_206F_206D_202C_200F_200C_200E_202A_202C_200E_202A_202C_200E_200C_200C_206D_202E(IDalamudPluginInterface P_0) { - _questRegistry.Reloaded -= OnReloaded; + return P_0.ConfigDirectory; + } + + static string _202B_200C_206B_202C_202D_202A_200C_206A_200F_202B_206A_206B_200D_206D_202A_206F_200C_202A_200F_200B_202C_206D_200B_200B_200F_206F_206E_202B_200D_206D_202D_206E_206A_202C_206F_202D_206F_206E_202E_206E_202E(FileSystemInfo P_0) + { + return P_0.FullName; + } + + static string _202A_206B_206E_206A_200F_206F_202E_202E_206E_200B_206F_202A_202C_200D_200C_200F_206A_206E_200F_202E_206A_200E_206A_202A_200B_202B_200B_206D_200E_202A_206D_202E_206E_206C_202C_202A_202E_202C_200F_206B_202E(string P_0, string P_1) + { + return Path.Combine(P_0, P_1); + } + + static DirectoryInfo _202C_202B_202C_206E_200E_206B_200F_206E_202A_200B_200F_206A_200D_200D_202E_206E_202A_206D_200E_200E_200D_202C_206D_206B_206B_200B_206D_200B_206A_202C_206C_206D_200C_202B_200F_200F_206E_200D_206A_206B_202E(string P_0) + { + return new DirectoryInfo(P_0); + } + + static void _202D_202E_206E_206B_206F_200B_200E_206C_206E_206E_200B_202B_200E_206A_202B_200F_206D_206C_202A_206D_200F_202B_206D_200C_206E_206C_206E_206F_202A_206F_200E_200D_200E_202C_206C_200F_200D_206A_206F_202D_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static bool _206E_200E_200E_202D_202D_202D_200F_202B_202E_206E_206C_202A_202E_206C_202D_206B_206C_206A_202C_200C_206C_206B_206F_200B_206B_200D_206F_200B_206E_206B_202E_200D_202D_206F_200C_200E_200D_202B_200D_200C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200C_206B_206C_202A_200E_200D_206E_202B_200D_202D_200C_200C_206B_200F_200C_202A_206E_200D_206D_202A_200F_202A_202B_200D_200C_202E_200B_206B_206C_200D_202B_206D_206E_206F_202C_206D_202B_202C_202B_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _200F_206D_202C_206A_202E_200E_206A_202E_206D_200B_200E_202B_206A_206E_202B_206B_202B_200B_206E_200D_206F_206F_206B_200D_202A_200F_206A_200D_206E_202A_206C_202E_206F_202C_202E_200C_206B_200B_206F_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static IReadOnlyDictionary _202B_206E_202A_202D_206C_200E_202E_206E_202D_202B_206F_200D_206F_206B_200E_202E_200F_206C_202B_200C_200C_200D_206D_206D_202C_200C_200B_200D_202D_200C_206B_206E_202C_200C_202B_206B_206D_206A_202E_202D_202E() + { + return AssemblyGatheringLocationLoader.GetLocations(); + } + + static GatheringPointId _206A_200B_206E_202D_202C_206C_206B_200E_202B_200B_200B_200D_206E_202B_206A_200D_206E_206E_200F_206E_200E_202B_200E_202D_200C_206F_200C_206E_206C_200F_206A_206F_206D_200B_200E_200B_200E_200E_206B_200E_202E(ushort P_0) + { + return new GatheringPointId(P_0); + } + + static FileInfo _200C_202C_206D_202E_202C_202B_200C_206F_200E_206C_206F_202E_200B_206F_200F_206C_206C_206F_206B_202A_200F_200C_200B_200C_200D_202D_200E_202A_206F_206F_200F_200C_200F_206E_200F_206F_200F_200F_202E_206B_202E(IDalamudPluginInterface P_0) + { + return P_0.AssemblyLocation; + } + + static DirectoryInfo _200E_206A_200F_206A_206F_202B_202A_200C_200C_206B_206D_200D_200C_200E_206F_200D_206B_206E_206E_202B_206F_206F_206D_206F_206F_200F_200E_202A_202B_200B_206A_206A_206E_202B_202D_202A_206B_200E_200C_200F_202E(FileInfo P_0) + { + return P_0.Directory; + } + + static DirectoryInfo _200C_206E_202A_200D_200B_202E_206B_200E_200C_200E_206F_202B_202C_200E_200F_206E_202B_200F_200B_202E_202E_206F_202D_206E_202B_200C_202C_206E_200C_206B_206B_200F_202E_206F_200C_200D_200E_200B_200F_200E_202E(DirectoryInfo P_0) + { + return P_0.Parent; + } + + static void _206D_200C_202C_206C_206D_206B_202C_202B_202D_206D_200B_206D_202A_200C_202C_206A_202D_200C_200C_200D_206F_200C_202A_206A_200F_200C_202C_200D_202A_200F_202B_200E_206E_202C_202C_202E_202E_206A_202A_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static string _200D_200B_202E_200F_202A_206D_200C_206A_202A_206D_206F_202D_200B_206C_206D_202D_202C_202E_200D_206A_202A_206E_200D_206F_206C_202D_206F_200E_202D_202B_200D_202D_202D_206B_202E_200C_206D_200E_202A_202B_202E(string P_0, string P_1, string P_2) + { + return Path.Combine(P_0, P_1, P_2); + } + + static bool _206F_206D_202E_206E_202B_200B_200F_206F_206E_206F_202A_206F_206C_206E_200E_206F_200E_202B_206F_202A_206B_202E_200F_202A_202D_206C_202A_206E_206F_206F_200C_206A_206F_202E_206B_202A_200E_206C_200F_202E(GatheringPointId P_0, GatheringPointId P_1) + { + return P_0 == P_1; + } + + static JsonNode _200B_206C_202C_202B_206F_200D_202A_206D_206E_206B_206F_202C_200B_202B_200C_200F_206F_206F_202D_200C_206E_202C_206E_200D_200F_200F_200D_200F_206C_202E_206A_206F_200D_202D_202A_202B_206F_206B_206F_206B_202E(Stream P_0, JsonNodeOptions? P_1, JsonDocumentOptions P_2) + { + return JsonNode.Parse(P_0, P_1, P_2); + } + + static ushort _200B_200E_202E_202B_206C_200E_200B_206D_200B_200D_206C_206F_200E_202E_206C_206D_202B_206E_200B_200C_200C_200F_200D_200D_206B_200E_206A_206E_206D_202A_202C_202A_206E_200F_200F_200F_206D_206D_200E_200F_202E(GatheringPointId P_0) + { + return P_0.Value; + } + + static bool _200E_202A_206F_200B_206E_206E_206D_200D_200B_202C_202C_206E_206D_206D_206E_202C_206E_200C_202A_206D_206E_200D_200B_206E_202C_202C_202B_200C_202D_200F_200D_200F_206C_202A_200D_206E_206B_202A_206A_206A_202E(FileSystemInfo P_0) + { + return P_0.Exists; + } + + static FileInfo[] _206F_202B_202A_202E_202C_206C_200F_200E_206A_202A_202A_200B_202C_206D_202E_206F_202A_200B_206A_206F_206F_202B_206E_200E_202E_200F_200F_202C_206D_200F_206D_206A_206B_202B_206F_206A_200D_200F_200F_202A_202E(DirectoryInfo P_0, string P_1) + { + return P_0.GetFiles(P_1); + } + + static FileStream _200C_206E_206C_206F_206C_206E_206E_200B_202D_200B_200E_200D_206F_202A_200F_206E_206D_202A_200B_200E_202B_202D_206B_206E_206B_202C_202C_206B_202A_202C_202A_202B_206A_200C_202A_206A_200F_202A_202D_202B_202E(FileInfo P_0) + { + return P_0.OpenRead(); + } + + static string _200D_200D_200E_200D_206D_206B_202B_206D_202A_200D_200F_200D_206C_206E_200C_206C_206F_202B_200B_206D_200F_206F_206A_202D_202C_202C_206B_206C_202D_202E_202B_206C_206F_200F_202D_206B_206A_206A_200D_202E_202E(FileSystemInfo P_0) + { + return P_0.Name; + } + + static ushort _202D_200D_200C_202A_206C_200F_202A_206E_206F_206E_206F_206F_202C_202C_202B_206F_202D_200B_202A_206E_202C_202D_200C_202D_202B_200C_202A_206C_200F_200F_202B_202B_200C_202C_202B_202E_200B_200B_202C_206A_202E(GatheringPointId P_0) + { + return P_0.Value; + } + + static CultureInfo _206E_206F_206D_206A_202C_206E_206B_202E_206E_206E_202E_200D_206D_200D_200C_202D_206E_202A_200D_202A_202D_206A_202D_206B_206B_202D_202B_206E_206B_202E_202B_200F_206F_200F_200D_202E_200B_206E_206E_200E_202E() + { + return CultureInfo.InvariantCulture; + } + + static string _202C_202D_206A_206B_200E_206A_206D_206E_200C_206B_200D_202E_202B_200F_200E_206E_202C_206A_206A_206F_206B_202A_202A_206C_200D_200E_206D_200C_200E_206F_206F_200D_200C_202A_200C_206F_202E_200D_206B_202C_202E(Exception P_0) + { + return P_0.Message; + } + + static string _206D_202D_206D_200C_202D_206E_206F_200B_202D_200E_202D_206D_206B_206E_202D_206F_202B_200E_200C_206C_206A_206E_202C_206F_206F_206A_206A_206B_206E_206D_202B_200B_206A_200B_206A_200D_202C_200C_200C_202B_202E(string P_0, string P_1, string P_2, string P_3) + { + return P_0 + P_1 + P_2 + P_3; + } + + static string _206C_202D_202C_206C_202B_202B_206A_202A_202E_206D_206B_202D_202A_206A_202A_202B_202C_206B_202B_206A_200F_200F_202B_206A_206A_206D_206F_202B_200D_202B_202D_200E_202D_206F_200B_206A_200E_202D_200F_206C_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static InvalidDataException _200E_206E_206C_200D_200F_206A_202A_200B_200E_202A_202D_200F_200D_200E_202B_200C_206C_206E_206F_200F_202A_206B_202A_200E_202B_206D_202B_202E_200E_200B_202D_200C_206B_200C_200F_202C_200E_200D_202B_206E_202E(string P_0, Exception P_1) + { + return new InvalidDataException(P_0, P_1); + } + + static DirectoryInfo[] _200D_206D_200B_202E_206E_202D_200E_206F_202D_206A_202C_200B_200B_200F_200E_200D_206E_202B_200E_200B_200B_202E_206C_202D_206C_202E_200B_202D_202C_200B_200C_206F_202A_206F_202B_206E_202D_202C_200B_206C_202E(DirectoryInfo P_0) + { + return P_0.GetDirectories(); + } + + static string _202C_206E_202D_202B_202B_206B_202A_206A_200F_202E_206D_202C_206B_202C_200F_206B_206B_206A_206E_202C_206B_206C_202E_202A_206D_206D_206A_206F_202D_206E_200B_200E_200D_202C_206C_206D_200E_206D_200F_206D_202E(string P_0) + { + return Path.GetFileNameWithoutExtension(P_0); + } + + static int _202A_202A_206A_206B_206F_206E_200D_206C_206C_202B_202D_200E_202E_200D_206A_202A_202E_206F_200B_202E_206B_206B_200E_200E_200E_206B_202C_202D_202A_200E_206A_206B_200B_202E_200F_200F_200E_206C_206F_206E_202E(string P_0, char P_1) + { + return P_0.LastIndexOf(P_1); + } + + static string _202A_202E_202D_202A_206E_206B_206B_200F_202C_202C_200F_202E_200C_206E_200F_200C_202B_200C_202A_200B_202B_200E_206F_206B_200B_200C_200C_202B_200C_202D_202D_206A_202B_200E_200F_206C_202D_200D_200D_202D_202E(string P_0, int P_1) + { + return P_0.Substring(P_1); + } + + static bool _202B_200B_206B_200E_200E_200B_206C_200C_200B_202B_206A_202C_206E_206A_206A_202C_206A_202E_206D_202D_200F_200B_200E_202B_206D_206E_202B_202B_206D_202B_206D_200B_202B_200B_206A_200D_200D_202C_206B_200D_202E(string P_0, char P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static string[] _206D_202C_206B_200F_206A_200D_202D_202C_206D_206B_206E_206B_206F_202D_202B_200F_206E_202B_206D_202E_206C_202A_202D_200B_206D_200E_206C_202D_200C_206A_206E_202B_200E_200F_200C_206B_200E_202D_206E_202C_202E(string P_0, char P_1, int P_2, StringSplitOptions P_3) + { + return P_0.Split(P_1, P_2, P_3); + } + + static GatheringPointId _206C_200E_206B_206B_200F_202D_202C_202E_202E_206A_202D_206A_202B_200B_202B_200D_206C_206C_200B_200B_206A_202A_206A_200E_200B_206A_206A_202A_202C_206C_202B_200B_202A_202A_200C_206B_206F_200B_206C_202E(string P_0) + { + return GatheringPointId.FromString(P_0); + } + + static bool _206F_202A_200D_200C_202A_206E_202A_200F_206B_202D_200F_206F_200B_202E_206C_206C_202D_202E_202E_206C_206E_206E_202C_200D_200C_200B_200F_202B_200F_206C_202D_200F_202A_200F_200F_200F_200B_202D_202B_200E_202E(GatheringPointId P_0, GatheringPointId P_1) + { + return P_0 != P_1; } } diff --git a/Questionable/Questionable.Controller/GearRepairService.cs b/Questionable/Questionable.Controller/GearRepairService.cs new file mode 100644 index 00000000..7926cb76 --- /dev/null +++ b/Questionable/Questionable.Controller/GearRepairService.cs @@ -0,0 +1,419 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Numerics; +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 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) +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass19_0 + { + public ExcelSheet classJobSheet; + + internal byte _003CCanSelfRepair_003Eb__0(uint classJobId) + { + ClassJob row; + int num = (classJobSheet.TryGetRow(classJobId, out row) ? (-528090726) : (-528090727)); + while (true) + { + int num2 = num; + int num3 = -528090725; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004e; + case 2: + return 0; + case 1: + return (byte)_200C_206B_202B_202B_206C_200B_202D_206C_206D_206C_206E_202E_202E_202B_200B_206F_202B_202C_202A_200D_206E_202E_206C_200F_202C_206B_200D_206A_202E_202C_200B_206D_206C_200F_200E_206C_200F_206E_200D_202A_202E((int)row.ExpArrayIndex); + } + continue; + IL_004e: + num = -528090727; + } + } + + static short _200C_206B_202B_202B_206C_200B_202D_206C_206D_206C_206E_202E_202E_202B_200B_206F_202B_202C_202A_200D_206E_202E_206C_200F_202C_206B_200D_206A_202E_202C_200B_206D_206C_200F_200E_206C_200F_206E_200D_202A_202E(int P_0) + { + return PlayerStateHelper.GetClassJobLevel(P_0); + } + } + + 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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public ERepairDecision EvaluateAndEnqueue(EInteractionType upcomingType, TaskQueue taskQueue) + { + int num = (((uint)(upcomingType - 19) > 1u) ? 1929941200 : 1929941198); + int? num7 = default(int?); + bool flag2 = default(bool); + bool flag4 = default(bool); + bool flag3 = default(bool); + bool flag = default(bool); + string failureReason = default(string); + while (true) + { + int num2 = num; + int num3 = 1929941195; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num8; + switch (num5 - (num6 + num6)) + { + case 3: + _206A_200F_206D_200B_202C_200B_206D_206C_202E_202E_200F_200F_202B_200D_200D_206F_200B_206B_206D_202E_202D_206C_206A_202D_202A_206A_202B_200D_206D_206B_206C_206D_206F_202E_200D_202A_202C_202E_206A_206E_202E((ILogger)logger, global::_003CModule_003E._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(776424222), new object[1] { num7.Value }); + return ERepairDecision.BlockDuty; + case 22: + num7 = _200E_202E_202C_202C_200D_206E_200B_202B_200E_202E_202A_202C_202D_202B_202D_202B_200E_206C_206F_206E_206C_202C_202E_200C_202A_202C_202C_206D_206C_202B_200B_206C_202D_202E_200D_200E_206C_200C_206A_206C_202E(); + num = ((!num7.HasValue) ? 1929941188 : 1929941209); + break; + case 27: + flag2 = false; + num = 1929941208; + break; + case 10: + return ERepairDecision.NotNeeded; + case 20: + num = ((!flag4) ? 1929941210 : 1929941192); + break; + case 19: + flag3 = flag2; + num = (((uint)(upcomingType - 30) > 1u) ? 1929941194 : 1929941193); + break; + case 12: + num = (flag ? 1929941197 : 1929941202); + break; + case 14: + num = ((_202B_206C_202A_202A_206E_202C_200C_202A_202A_200E_200B_200D_206B_202D_206A_200B_200D_200E_200B_200F_206F_202C_202C_200F_200E_202E_206F_202E_202E_206B_202C_202D_200F_200C_200B_206F_206E_202E_206A_202A_202E() < _nextWarningAtMs) ? 1929941185 : 1929941190); + break; + case 13: + { + _nextWarningAtMs = _202B_206C_202A_202A_206E_202C_200C_202A_202A_200E_200B_200D_206B_202D_206A_200B_200D_200E_200B_200F_206F_202C_202C_200F_200E_202E_206F_202E_202E_206B_202C_202D_200F_200C_200B_206F_206E_202E_206A_202A_202E() + 300000; + IChatGui chatGui = chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(46, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1964571551)); + defaultInterpolatedStringHandler.AppendFormatted(num7.Value); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1599790962)); + defaultInterpolatedStringHandler.AppendFormatted(failureReason); + _200D_206B_206B_202C_200D_206C_200E_200D_202E_202C_206B_202D_206B_206C_206F_200D_200F_206D_200E_206C_206F_206B_202E_200B_200C_202E_202E_202B_206F_206C_206C_202A_206D_202A_200C_206B_200B_200F_202C_206C_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + num = 1929941185; + break; + } + case 26: + num8 = ((num7.Value < 10) ? 1 : 0); + goto IL_026c; + case 7: + num = ((!flag3) ? 1929941212 : 1929941201); + break; + case 15: + return ERepairDecision.NotNeeded; + case 23: + num8 = 0; + goto IL_026c; + case 17: + return ERepairDecision.NotNeeded; + case 28: + num = ((!TryEnqueueRepair(taskQueue, num7.Value, out failureReason)) ? 1929941184 : 1929941203); + break; + case 25: + return ERepairDecision.NotNeeded; + case 24: + return ERepairDecision.Enqueued; + case 18: + num = ((num7.Value < configuration.General.RepairThresholdPercent) ? 1929941196 : 1929941188); + break; + case 11: + num = ((!flag4) ? 1929941189 : 1929941195); + break; + case 1: + flag2 = false; + num = 1929941199; + break; + case 0: + _206A_200F_206D_200B_202C_200B_206D_206C_202E_202E_200F_200F_202B_200D_200D_206F_200B_206B_206D_202E_202D_206C_206A_202D_202A_206A_202B_200D_206D_206B_206C_206D_206F_202E_200D_202A_202C_202E_206A_206E_202E((ILogger)logger, global::_003CModule_003E._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(-1917801143), new object[2] { num7.Value, failureReason }); + return ERepairDecision.BlockDuty; + case 5: + flag2 = true; + num = 1929941208; + break; + case 2: + flag2 = true; + num = 1929941199; + break; + case 16: + num = ((!_202A_206F_206D_206C_200E_200C_206D_206A_200E_202A_206E_206F_206C_200C_200E_200F_202B_202B_206B_202C_200F_206C_202C_206C_202E_206C_206F_206C_200F_206E_200D_200E_202B_206B_202A_202D_202A_200C_202B_206A_202E(condition, ConditionFlag.InCombat)) ? 1929941213 : 1929941214); + break; + case 9: + return ERepairDecision.NotNeeded; + case 6: + num = (configuration.General.RepairGear ? 1929941211 : 1929941186); + break; + case 21: + return ERepairDecision.NotNeeded; + case 4: + flag = flag2; + num = (flag3 ? 1929941197 : 1929941191); + break; + case 8: + { + num = 1929941198; + break; + } + IL_026c: + flag4 = (byte)num8 != 0; + num = ((_202B_206C_202A_202A_206E_202C_200C_202A_202A_200E_200B_200D_206B_202D_206A_200B_200D_200E_200B_200F_206F_202C_202C_200F_200E_202E_206F_202E_202E_206B_202C_202D_200F_200C_200B_206F_206E_202E_206A_202A_202E() >= _nextAttemptAtMs) ? 1929941207 : 1929941215); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool TryEnqueueRepair(TaskQueue taskQueue, int lowestCondition, out string failureReason) + { + int num = ((!CanSelfRepair()) ? (-1145158930) : (-1145158934)); + MenderNpc menderNpc = default(MenderNpc); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + MenderNpc current = default(MenderNpc); + while (true) + { + int num2 = num; + int num3 = -1145158932; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 1: + if (aetheryteFunctions.IsTeleportUnlocked()) + { + num = -1145158935; + continue; + } + break; + case 0: + _206A_206D_202D_200F_200E_202D_206E_206C_206B_202E_202D_200E_200D_200E_206B_206D_206B_200E_202D_206A_202B_200E_200B_202B_200F_206F_202C_200D_200B_202E_202E_206D_206C_202B_206F_206E_200F_206B_200D_206A_202E((ILogger)logger, global::_003CModule_003E._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(1341197987), new object[2] { 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; + case 2: + playerCharacter = _206D_202E_206C_206D_200F_202E_200C_200C_202B_202B_200D_200F_206A_206E_206F_206C_202E_206A_202D_202C_206B_206D_200B_206D_206A_202E_200D_200C_202D_200D_206C_200D_206C_206B_202C_206E_206B_206F_202C_202D_202E(objectTable); + num = ((playerCharacter == null) ? (-1145158931) : (-1145158929)); + continue; + case 3: + menderNpc = menderDataService.FindNearestInTerritory((ushort)_200E_206C_200F_200D_202E_206C_202D_206E_206C_206A_200C_202E_200E_206F_200F_200B_202B_202C_206A_202A_202A_200D_206F_206C_202C_202C_202A_202B_206D_206F_202B_202D_202D_202A_200E_200D_200D_202E_206E_206E_202E(clientState), _206C_202C_202B_206E_202C_200B_202C_202B_202D_202D_206D_206A_206A_202C_202E_206F_200C_202D_206A_202C_202B_202D_200F_206A_206A_202A_202E_202C_202B_202C_206B_200F_202D_202A_206B_206B_200F_202D_202D_202C_202E((IGameObject)playerCharacter)); + num = (((object)menderNpc == null) ? (-1145158931) : (-1145158932)); + continue; + case 6: + _206A_206D_202D_200F_200E_202D_206E_206C_206B_202E_202D_200E_200D_200E_206B_206D_206B_200E_202D_206A_202B_200E_200B_202B_200F_206F_202C_200D_200B_202E_202E_206D_206C_202B_206F_206E_200F_206B_200D_206A_202E((ILogger)logger, global::_003CModule_003E._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(517880176), new object[1] { lowestCondition }); + taskQueue.Enqueue(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); + taskQueue.Enqueue(new RepairGear.SelfRepairTask()); + MarkAttempt(); + failureReason = string.Empty; + return true; + case 4: + num = -1145158934; + continue; + case 5: + { + IEnumerator enumerator = MenderDataService.CityFallbacks.GetEnumerator(); + try + { + num = -1950756902; + while (true) + { + int num5 = num; + num3 = -1950756902; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = (_206B_200F_206D_206D_206B_206B_200B_206D_202A_206D_202A_206B_206E_200D_206E_202D_200D_206E_206A_206F_206A_202B_202E_200B_202A_206A_206A_206D_202D_202B_206C_206F_202D_206D_206F_202C_202A_202D_200B_202E_202E((IEnumerator)enumerator) ? (-1950756901) : (-1950756903)); + break; + case 1: + current = enumerator.Current; + num = ((!routeEnqueuer.TryEnqueueRouted(taskQueue, current.TerritoryId, current.Position)) ? (-1950756902) : (-1950756898)); + break; + case 4: + _206A_206D_202D_200F_200E_202D_206E_206C_206B_202E_202D_200E_200D_200E_206B_206D_206B_200E_202D_206A_202B_200E_200B_202B_200F_206F_202C_200D_200B_202E_202E_206D_206C_202B_206F_206E_200F_206B_200D_206A_202E((ILogger)logger, global::_003CModule_003E._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(90066395), new object[2] { lowestCondition, current.DataId }); + taskQueue.Enqueue(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); + taskQueue.Enqueue(new RepairGear.MenderRepairTask(current)); + MarkAttempt(); + failureReason = string.Empty; + return true; + case 2: + num = -1950756902; + break; + case 3: + goto end_IL_01c7; + } + continue; + end_IL_01c7: + break; + } + } + finally + { + num = ((enumerator == null) ? (-462922479) : (-462922478)); + while (true) + { + int num8 = num; + num3 = -462922477; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -462922478; + break; + case 2: + goto end_IL_02f5; + case 1: + _200C_206C_200E_200B_202C_206C_206A_200E_200D_206F_206F_200D_200E_200E_200C_206A_206C_206F_200E_200B_206E_202E_202C_202D_200B_202D_202A_200D_206F_200E_202C_200B_202D_200B_200D_206B_206B_202D_206F_200C_202E((IDisposable)enumerator); + num = -462922479; + break; + } + continue; + end_IL_02f5: + break; + } + } + break; + } + } + break; + } + failureReason = global::_003CModule_003E._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(1806822311); + return false; + } + + private bool CanSelfRepair() + { + ExcelSheet classJobSheet = dataManager.GetExcelSheet(); + return _206B_200B_200F_206D_202B_200D_206D_200E_202E_200D_200E_200C_200D_200C_206A_200D_202D_202B_206C_202C_206C_206C_206B_206B_206C_206E_200C_206F_206C_206F_200C_202C_202D_200F_206E_202E_206A_202B_206D_200C_202E(dataManager, (Func)delegate(uint classJobId) + { + ClassJob row; + int num = (classJobSheet.TryGetRow(classJobId, out row) ? (-528090726) : (-528090727)); + while (true) + { + int num2 = num; + int num3 = -528090725; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004e; + case 2: + return 0; + case 1: + return (byte)_003C_003Ec__DisplayClass19_0._200C_206B_202B_202B_206C_200B_202D_206C_206D_206C_206E_202E_202E_202B_200B_206F_202B_202C_202A_200D_206E_202E_206C_200F_202C_206B_200D_206A_202E_202C_200B_206D_206C_200F_200E_206C_200F_206E_200D_202A_202E((int)row.ExpArrayIndex); + } + continue; + IL_004e: + num = -528090727; + } + }, configuration.General.RepairThresholdPercent); + } + + private void MarkAttempt() + { + _nextAttemptAtMs = _202B_206C_202A_202A_206E_202C_200C_202A_202A_200E_200B_200D_206B_202D_206A_200B_200D_200E_200B_200F_206F_202C_202C_200F_200E_202E_206F_202E_202E_206B_202C_202D_200F_200C_200B_206F_206E_202E_206A_202A_202E() + 300000; + } + + static bool _202A_206F_206D_206C_200E_200C_206D_206A_200E_202A_206E_206F_206C_200C_200E_200F_202B_202B_206B_202C_200F_206C_202C_206C_202E_206C_206F_206C_200F_206E_200D_200E_202B_206B_202A_202D_202A_200C_202B_206A_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static int? _200E_202E_202C_202C_200D_206E_200B_202B_200E_202E_202A_202C_202D_202B_202D_202B_200E_206C_206F_206E_206C_202C_202E_200C_202A_202C_202C_206D_206C_202B_200B_206C_202D_202E_200D_200E_206C_200C_206A_206C_202E() + { + return GearConditionHelper.GetLowestConditionPercent(); + } + + static long _202B_206C_202A_202A_206E_202C_200C_202A_202A_200E_200B_200D_206B_202D_206A_200B_200D_200E_200B_200F_206F_202C_202C_200F_200E_202E_206F_202E_202E_206B_202C_202D_200F_200C_200B_206F_206E_202E_206A_202A_202E() + { + return Environment.TickCount64; + } + + static void _206A_200F_206D_200B_202C_200B_206D_206C_202E_202E_200F_200F_202B_200D_200D_206F_200B_206B_206D_202E_202D_206C_206A_202D_202A_206A_202B_200D_206D_206B_206C_206D_206F_202E_200D_202A_202C_202E_206A_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static void _200D_206B_206B_202C_200D_206C_200E_200D_202E_202C_206B_202D_206B_206C_206F_200D_200F_206D_200E_206C_206F_206B_202E_200B_200C_202E_202E_202B_206F_206C_206C_202A_206D_202A_200C_206B_200B_200F_202C_206C_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static void _206A_206D_202D_200F_200E_202D_206E_206C_206B_202E_202D_200E_200D_200E_206B_206D_206B_200E_202D_206A_202B_200E_200B_202B_200F_206F_202C_200D_200B_202E_202E_206D_206C_202B_206F_206E_200F_206B_200D_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static IPlayerCharacter _206D_202E_206C_206D_200F_202E_200C_200C_202B_202B_200D_200F_206A_206E_206F_206C_202E_206A_202D_202C_206B_206D_200B_206D_206A_202E_200D_200C_202D_200D_206C_200D_206C_206B_202C_206E_206B_206F_202C_202D_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static uint _200E_206C_200F_200D_202E_206C_202D_206E_206C_206A_200C_202E_200E_206F_200F_200B_202B_202C_206A_202A_202A_200D_206F_206C_202C_202C_202A_202B_206D_206F_202B_202D_202D_202A_200E_200D_200D_202E_206E_206E_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static Vector3 _206C_202C_202B_206E_202C_200B_202C_202B_202D_202D_206D_206A_206A_202C_202E_206F_200C_202D_206A_202C_202B_202D_200F_206A_206A_202A_202E_202C_202B_202C_206B_200F_202D_202A_206B_206B_200F_202D_202D_202C_202E(IGameObject P_0) + { + return P_0.Position; + } + + static bool _206B_200F_206D_206D_206B_206B_200B_206D_202A_206D_202A_206B_206E_200D_206E_202D_200D_206E_206A_206F_206A_202B_202E_200B_202A_206A_206A_206D_202D_202B_206C_206F_202D_206D_206F_202C_202A_202D_200B_202E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200C_206C_200E_200B_202C_206C_206A_200E_200D_206F_206F_200D_200E_200E_200C_206A_206C_206F_200E_200B_206E_202E_202C_202D_200B_202D_202A_200D_206F_200E_202C_200B_202D_200B_200D_206B_206B_202D_206F_200C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _206B_200B_200F_206D_202B_200D_206D_200E_202E_200D_200E_200C_200D_200C_206A_200D_202D_202B_206C_202C_206C_206C_206B_206B_206C_206E_200C_206F_206C_206F_200C_202C_202D_200F_206E_202E_206A_202B_206D_200C_202E(IDataManager P_0, Func P_1, int P_2) + { + return RepairActions.CanSelfRepairAny(P_0, P_1, P_2); + } +} diff --git a/Questionable/Questionable.Controller/InterruptHandler.cs b/Questionable/Questionable.Controller/InterruptHandler.cs index f336ec8f..c9ff281f 100644 --- a/Questionable/Questionable.Controller/InterruptHandler.cs +++ b/Questionable/Questionable.Controller/InterruptHandler.cs @@ -1,5 +1,8 @@ using System; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Threading; +using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Hooking; using Dalamud.Plugin.Services; @@ -39,11 +42,54 @@ internal sealed class InterruptHandler : IDisposable [FieldOffset(6)] public ushort Value; - public byte AttackType => (byte)(Param1 & 0xF); + public byte AttackType + { + get + { + byte param = Param1; + int num = 15; + int num2 = param; + return (byte)(num2 + num - (num2 | num)); + } + } + [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { - return $"Type: {Type}, p0: {Param0:D3}, p1: {Param1:D3}, p2: {Param2:D3} 0x{Param2:X2} '{Convert.ToString(Param2, 2).PadLeft(8, '0')}', mult: {Mult:D3}, flags: {Flags:D3} | {Convert.ToString(Flags, 2).PadLeft(8, '0')}, value: {Value:D6} ATTACK TYPE: {AttackType}"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(73, 11); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-725035009)); + defaultInterpolatedStringHandler.AppendFormatted(Type); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-496390848)); + defaultInterpolatedStringHandler.AppendFormatted(Param0, global::_003CModule_003E._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(609308249)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(877514922)); + defaultInterpolatedStringHandler.AppendFormatted(Param1, global::_003CModule_003E._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(1055630216)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(25938555)); + defaultInterpolatedStringHandler.AppendFormatted(Param2, global::_003CModule_003E._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(609308249)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-845350805)); + defaultInterpolatedStringHandler.AppendFormatted(Param2, global::_003CModule_003E._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(-1875656278)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1021698688)); + defaultInterpolatedStringHandler.AppendFormatted(_202B_202B_200B_202E_206A_206E_202A_202A_202E_206D_202E_200B_206A_206D_200B_200C_200F_200B_202B_202C_206A_200F_200D_200D_202C_200C_206B_202D_202C_202C_202B_206B_202E_206F_200F_206D_200B_200E_200E_206B_202E(_202E_200D_200B_206B_200C_206D_200D_202E_206B_206E_202C_206B_202A_206A_202A_206B_202A_206E_202D_200C_206A_200E_200F_202C_206F_206B_200C_200F_202C_202E_206E_200F_206E_206C_200D_206A_200C_202E_206C_202E_202E(Param2, 2), 8, '0')); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-884985363)); + defaultInterpolatedStringHandler.AppendFormatted(Mult, global::_003CModule_003E._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(-645152765)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1045548845)); + defaultInterpolatedStringHandler.AppendFormatted(Flags, global::_003CModule_003E._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(-645152765)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(594831569)); + defaultInterpolatedStringHandler.AppendFormatted(_202B_202B_200B_202E_206A_206E_202A_202A_202E_206D_202E_200B_206A_206D_200B_200C_200F_200B_202B_202C_206A_200F_200D_200D_202C_200C_206B_202D_202C_202C_202B_206B_202E_206F_200F_206D_200B_200E_200E_206B_202E(_202E_200D_200B_206B_200C_206D_200D_202E_206B_206E_202C_206B_202A_206A_202A_206B_202A_206E_202D_200C_206A_200E_200F_202C_206F_206B_200C_200F_202C_202E_206E_200F_206E_206C_200D_206A_200C_202E_206C_202E_202E(Flags, 2), 8, '0')); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1435755758)); + defaultInterpolatedStringHandler.AppendFormatted(Value, global::_003CModule_003E._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(123427143)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(739800108)); + defaultInterpolatedStringHandler.AppendFormatted(AttackType); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + static string _202E_200D_200B_206B_200C_206D_200D_202E_206B_206E_202C_206B_202A_206A_202A_206B_202A_206E_202D_200C_206A_200E_200F_202C_206F_206B_200C_200F_202C_202E_206E_200F_206E_206C_200D_206A_200C_202E_206C_202E_202E(byte P_0, int P_1) + { + return Convert.ToString(P_0, P_1); + } + + static string _202B_202B_200B_202E_206A_206E_202A_202A_202E_206D_202E_200B_206A_206D_200B_200C_200F_200B_202B_202C_206A_200F_200D_200D_202C_200C_206B_202D_202C_202C_202B_206B_202E_206F_200F_206D_200B_200E_200E_206B_202E(string P_0, int P_1, char P_2) + { + return P_0.PadLeft(P_1, P_2); } } @@ -127,7 +173,7 @@ internal sealed class InterruptHandler : IDisposable Interrupt = 75 } - private readonly Hook _processActionEffectHook; + private readonly Hook? _processActionEffectHook; private readonly IClientState _clientState; @@ -137,49 +183,187 @@ internal sealed class InterruptHandler : IDisposable private readonly ILogger _logger; - public event EventHandler? Interrupted; + [CompilerGenerated] + private EventHandler? m_Interrupted; + public event EventHandler? Interrupted + { + [CompilerGenerated] + add + { + EventHandler eventHandler = this.m_Interrupted; + int num = -1990188142; + while (true) + { + int num2 = num; + int num3 = -1990188141; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1990188142; + break; + case 2: + return; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_200D_200C_206C_200D_202D_202E_206A_202A_206E_202A_200C_202C_200E_200C_200D_206C_202C_200E_200B_206D_200D_200C_206B_206B_200E_206B_202B_200B_206A_200F_206E_200B_200B_206E_202A_206A_206D_202D_206B_202A_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_Interrupted, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? (-1990188142) : (-1990188143)); + break; + } + } + } + } + [CompilerGenerated] + remove + { + EventHandler eventHandler = this.m_Interrupted; + int num = -2074209311; + while (true) + { + int num2 = num; + int num3 = -2074209312; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -2074209311; + break; + case 0: + return; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_202C_200E_200C_202C_200E_202C_206F_202C_206A_206E_206E_206F_202E_200C_206F_200C_200F_202C_202D_206A_200F_202A_200F_202C_202A_202D_200B_206A_206B_202D_200B_200D_206F_200B_202B_200E_202A_200F_206B_202E_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_Interrupted, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? (-2074209311) : (-2074209312)); + break; + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe InterruptHandler(IGameInteropProvider gameInteropProvider, IClientState clientState, IObjectTable objectTable, TerritoryData territoryData, ILogger logger) { _clientState = clientState; _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 ex) + { + _202C_200C_206A_202B_206A_202E_206E_206A_202D_206C_200D_200E_206E_200C_200E_206F_200D_200B_200C_206B_206D_206C_202E_202B_206C_206F_202A_206D_202B_206F_200E_200D_200D_202A_206E_200E_202E_206A_206F_202E_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-1192049200), Array.Empty()); + _processActionEffectHook = null; + } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void HandleProcessActionEffect(uint sourceId, Character* sourceCharacter, Vector3* pos, EffectHeader* effectHeader, EffectEntry* effectArray, ulong* effectTail) { try { - if (_territoryData.IsDutyInstance(_clientState.TerritoryType)) + int num = (_territoryData.IsDutyInstance(_200C_206D_206C_206B_206C_206E_202D_206F_202A_200B_206E_206C_202D_202D_202C_202B_202E_202B_200C_206B_202D_200D_200E_206A_200F_206F_206C_206D_206D_202E_202C_206D_202D_206C_200D_206D_202B_200F_206F_200C_202E(_clientState)) ? (-1304675561) : (-1304675555)); + EActionEffectType type = default(EActionEffectType); + bool flag = default(bool); + bool flag2 = default(bool); + int num8 = default(int); + EffectEntry* ptr = default(EffectEntry*); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + while (true) { - return; - } - IGameObject gameObject = _objectTable[0]; - 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; - if (flag) + int num2 = num; + int num3 = -1304675562; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - EActionEffectType type = ptr->Type; - bool flag2 = ((type == EActionEffectType.Damage || type - 5 <= EActionEffectType.Miss) ? true : false); - flag = flag2; - } - if (flag) - { - _logger.LogTrace("Damage action effect on self, from {SourceId} ({EffectType})", sourceId, ptr->Type); - this.Interrupted?.Invoke(this, EventArgs.Empty); + case 9: + num = ((type - 5 > EActionEffectType.Miss) ? (-1304675562) : (-1304675567)); break; + case 4: + flag = flag2; + num = -1304675556; + break; + case 5: + { + int num11 = (int)(effectTail[num8] & 0xFFFFFFFFu); + ptr = effectArray + 8 * num8; + flag = (uint)num11 == ((playerCharacter != null) ? new ulong?(_206C_202B_200E_206A_206E_200C_202D_200F_202E_206C_206F_202D_200F_202A_200B_202E_202D_200B_206B_206A_200F_202A_200E_202C_200D_206C_202E_206C_200B_200F_202E_206E_206F_202A_202E_200E_206E_206B_206D_202A_202E((IGameObject)playerCharacter)) : ((ulong?)null)); + num = ((!flag) ? (-1304675556) : (-1304675564)); + break; + } + case 8: + num = -1304675555; + break; + case 3: + { + _202A_202E_206C_206E_200D_202E_202E_206F_206B_202E_200C_200D_202A_200B_206E_206A_202D_200F_200D_202D_200B_200D_200D_206C_202B_206C_202A_202A_200E_202D_206A_206A_202C_200F_206B_202A_202E_202E_202E_200E_202E((ILogger)_logger, global::_003CModule_003E._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(1232681813), new object[2] + { + sourceId, + ptr->Type + }); + EventHandler? eventHandler = this.Interrupted; + if (eventHandler == null) + { + return; + } + eventHandler(this, EventArgs.Empty); + num = -1304675561; + break; + } + case 12: + num = ((num8 < effectHeader->TargetCount) ? (-1304675565) : (-1304675561)); + break; + case 2: + type = ptr->Type; + num = ((type == EActionEffectType.Damage) ? (-1304675567) : (-1304675553)); + break; + case 7: + flag2 = true; + num = -1304675566; + break; + case 0: + flag2 = false; + num = -1304675566; + break; + case 10: + num = ((!flag) ? (-1304675568) : (-1304675563)); + break; + case 11: + playerCharacter = _202E_200F_202B_200C_202B_202C_202D_200F_206B_200F_206E_200C_202E_200F_202E_202D_206E_200C_206E_206F_206D_206A_202D_200E_206A_200E_202B_206B_202A_202D_202C_200F_200E_200C_202C_200E_206E_206D_202B_202E_202E(_objectTable); + num8 = 0; + num = -1304675558; + break; + case 6: + { + int num7 = num8; + num3 = 1; + num4 = num7; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num8 = num9 + (num10 + num10); + num = -1304675558; + break; + } + case 1: + return; } } } - catch (Exception exception) + catch (Exception ex) { - _logger.LogWarning(exception, "Unable to process action effect"); + _200D_200E_202A_206E_200C_200D_202E_200D_202C_206E_200F_200D_206F_202E_200C_200C_200E_202E_202E_206B_206A_206E_206B_202B_200C_200C_206E_206B_200C_202D_202C_202B_200E_202B_202A_206E_200B_202C_206A_206F_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-1383878648), Array.Empty()); } finally { @@ -189,7 +373,73 @@ internal sealed class InterruptHandler : IDisposable public void Dispose() { - _processActionEffectHook.Disable(); - _processActionEffectHook.Dispose(); + int num = ((_processActionEffectHook == null) ? (-1959940168) : (-1959940165)); + while (true) + { + int num2 = num; + int num3 = -1959940166; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1959940165; + break; + case 1: + _processActionEffectHook.Disable(); + _processActionEffectHook.Dispose(); + num = -1959940168; + break; + case 2: + return; + } + } + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _202C_200C_206A_202B_206A_202E_206E_206A_202D_206C_200D_200E_206E_200C_200E_206F_200D_200B_200C_206B_206D_206C_202E_202B_206C_206F_202A_206D_202B_206F_200E_200D_200D_202A_206E_200E_202E_206A_206F_202E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static Delegate _200D_200C_206C_200D_202D_202E_206A_202A_206E_202A_200C_202C_200E_200C_200D_206C_202C_200E_200B_206D_200D_200C_206B_206B_200E_206B_202B_200B_206A_200F_206E_200B_200B_206E_202A_206A_206D_202D_206B_202A_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Combine(P_0, P_1); + } + + static Delegate _202C_200E_200C_202C_200E_202C_206F_202C_206A_206E_206E_206F_202E_200C_206F_200C_200F_202C_202D_206A_200F_202A_200F_202C_202A_202D_200B_206A_206B_202D_200B_200D_206F_200B_202B_200E_202A_200F_206B_202E_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Remove(P_0, P_1); + } + + static uint _200C_206D_206C_206B_206C_206E_202D_206F_202A_200B_206E_206C_202D_202D_202C_202B_202E_202B_200C_206B_202D_200D_200E_206A_200F_206F_206C_206D_206D_202E_202C_206D_202D_206C_200D_206D_202B_200F_206F_200C_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static IPlayerCharacter _202E_200F_202B_200C_202B_202C_202D_200F_206B_200F_206E_200C_202E_200F_202E_202D_206E_200C_206E_206F_206D_206A_202D_200E_206A_200E_202B_206B_202A_202D_202C_200F_200E_200C_202C_200E_206E_206D_202B_202E_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static ulong _206C_202B_200E_206A_206E_200C_202D_200F_202E_206C_206F_202D_200F_202A_200B_202E_202D_200B_206B_206A_200F_202A_200E_202C_200D_206C_202E_206C_200B_200F_202E_206E_206F_202A_202E_200E_206E_206B_206D_202A_202E(IGameObject P_0) + { + return P_0.GameObjectId; + } + + static void _202A_202E_206C_206E_200D_202E_202E_206F_206B_202E_200C_200D_202A_200B_206E_206A_202D_200F_200D_202D_200B_200D_200D_206C_202B_206C_202A_202A_200E_202D_206A_206A_202C_200F_206B_202A_202E_202E_202E_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static void _200D_200E_202A_206E_200C_200D_202E_200D_202C_206E_200F_200D_206F_202E_200C_200C_200E_202E_202E_206B_206A_206E_206B_202B_200C_200C_206E_206B_200C_202D_202C_202B_200E_202B_202A_206E_200B_202C_206A_206F_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); } } diff --git a/Questionable/Questionable.Controller/MiniTaskController.cs b/Questionable/Questionable.Controller/MiniTaskController.cs index 3897001d..00af23f7 100644 --- a/Questionable/Questionable.Controller/MiniTaskController.cs +++ b/Questionable/Questionable.Controller/MiniTaskController.cs @@ -1,6 +1,8 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text.RegularExpressions; using Dalamud.Game.ClientState.Conditions; @@ -8,6 +10,7 @@ using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin.Services; using LLib; using Lumina.Excel.Sheets; +using Lumina.Text.ReadOnly; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Questionable.Controller.Steps; @@ -21,6 +24,55 @@ namespace Questionable.Controller; internal abstract class MiniTaskController : IDisposable { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__13_0; + + public static Func _003C_003E9__13_1; + + public static Func _003C_003E9__13_2; + + public static Func _003C_003E9__20_1; + + public static Func _003C_003E9__20_0; + + internal ReadOnlySeString? _003C_002Ector_003Eb__13_0(LogMessage x) + { + return x.Text; + } + + internal ReadOnlySeString? _003C_002Ector_003Eb__13_1(LogMessage x) + { + return x.Text; + } + + internal ReadOnlySeString? _003C_002Ector_003Eb__13_2(LogMessage x) + { + return x.Text; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003CGetRemainingTaskNames_003Eb__20_1(ITask x) + { + return _206B_202C_200C_206D_200D_200E_206B_202E_202C_206E_200E_200C_200F_202B_202A_206A_206D_200C_200F_202E_200D_200E_206B_200C_200F_200C_206C_202E_200E_206D_206A_200F_200B_206D_202D_206A_206D_200E_206D_206F_202E((object)x) ?? global::_003CModule_003E._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(656320081); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003CGetRemainingTaskNames_003Eb__20_0(ITask x) + { + return _206B_202C_200C_206D_200D_200E_206B_202E_202C_206E_200E_200C_200F_202B_202A_206A_206D_200C_200F_202E_200D_200E_206B_200C_200F_200C_206C_202E_200E_206D_206A_200F_200B_206D_202D_206A_206D_200E_206D_206F_202E((object)x) ?? global::_003CModule_003E._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(1887683575); + } + + static string _206B_202C_200C_206D_200D_200E_206B_202E_202C_206E_200E_200C_200F_202B_202A_206A_206D_200C_200F_202E_200D_200E_206B_200C_200F_200C_206C_202E_200E_206D_206A_200F_200B_206D_202D_206A_206D_200E_206D_206F_202E(object P_0) + { + return P_0.ToString(); + } + } + protected readonly TaskQueue _taskQueue = new TaskQueue(); private readonly IChatGui _chatGui; @@ -31,7 +83,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,21 +93,30 @@ 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); _interruptHandler.Interrupted += HandleInterruption; } + [MethodImpl(MethodImplOptions.NoInlining)] protected virtual void UpdateCurrentTask() { + int num; if (_taskQueue.CurrentTaskExecutor == null) { if (!_taskQueue.TryDequeue(out ITask task)) @@ -62,85 +125,280 @@ internal abstract class MiniTaskController : IDisposable } try { - _logger.LogInformation("Starting task {TaskName}", task.ToString()); - ITaskExecutor requiredKeyedService = _serviceProvider.GetRequiredKeyedService(task.GetType()); - if (requiredKeyedService.Start(task)) + _206D_206B_206A_202B_206A_200F_202D_200C_206E_200E_200D_206C_206F_200B_200B_200C_200C_206E_206E_206E_202A_206C_206B_206C_200F_202D_206A_206B_206A_206D_202D_200F_200E_200D_206A_202C_206D_206F_200E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-1429948586), new object[1] { _202D_200B_206C_206B_200E_202E_200D_206C_206A_206D_206C_206A_202E_202B_200C_202B_206F_206C_202A_200D_202B_200B_200B_200E_202C_202C_206D_200E_206D_206A_200F_206D_200E_202C_200D_206A_206B_202D_206E_206F_202E((object)task) }); + ITaskExecutor requiredKeyedService = _serviceProvider.GetRequiredKeyedService(_202B_200E_206B_202E_206D_200E_202A_206B_206F_206A_200D_200B_206A_200F_202C_202C_202A_202B_206E_202D_200F_206E_202D_200B_206E_202D_200B_206C_206E_200B_202E_200E_200B_202A_202A_206A_200C_202D_206D_206D_202E((object)task)); + num = ((!requiredKeyedService.Start(task)) ? (-231627347) : (-231627345)); + while (true) { - _taskQueue.CurrentTaskExecutor = requiredKeyedService; - return; + int num2 = num; + int num3 = -231627346; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _lastInterruptedTask = null; + _interruptRetryCount = 0; + num = -231627346; + break; + case 1: + _taskQueue.CurrentTaskExecutor = requiredKeyedService; + num = ((task == _lastInterruptedTask) ? (-231627346) : (-231627348)); + break; + case 4: + num = -231627345; + break; + case 0: + return; + case 3: + _206C_200C_200B_206D_206A_206E_206A_206D_206A_200D_202E_206E_202B_206E_202E_202C_200F_202B_202B_202C_200C_206C_206C_200F_206B_200D_206D_206C_202C_200B_206E_200F_206F_200E_202A_206B_200F_202B_200E_200E_202E((ILogger)_logger, global::_003CModule_003E._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(383569520), new object[1] { _202D_200B_206C_206B_200E_202E_200D_206C_206A_206D_206C_206A_202E_202B_200C_202B_206F_206C_202A_200D_202B_200B_200B_200E_202C_202C_206D_200E_206D_206A_200F_206D_200E_202C_200D_206A_206B_202D_206E_206F_202E((object)task) }); + return; + } } - _logger.LogTrace("Task {TaskName} was skipped", task.ToString()); - return; } - catch (Exception exception) + catch (Exception ex) { - _logger.LogError(exception, "Failed to start task {TaskName}", task.ToString()); - _chatGui.PrintError($"Failed to start task '{task}', please check /xllog for details.", "Questionable", 576); - Stop("Task failed to start"); + _206E_206B_200C_202D_206E_202E_200F_206B_206F_202B_206F_206D_206C_206C_202C_200B_206A_200E_200E_200D_202B_202E_202B_200D_206F_202C_206D_206A_202B_202A_206E_200B_206B_200F_206F_202D_200B_206A_202B_202A_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-347977283), new object[1] { _202D_200B_206C_206B_200E_202E_200D_206C_206A_206D_206C_206A_202E_202B_200C_202B_206F_206C_202A_200D_202B_200B_200B_200E_202C_202C_206D_200E_206D_206A_200F_206D_200E_202C_200D_206A_206B_202D_206E_206F_202E((object)task) }); + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(57, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2137508884)); + defaultInterpolatedStringHandler.AppendFormatted(task); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(956431555)); + _200C_202A_200F_200D_200C_206A_202E_202E_206B_202B_200B_202D_200F_202C_202C_202A_206B_202C_206C_206B_202E_206D_200C_202C_202E_200F_200E_206C_202A_206B_202E_200D_200C_206D_200E_206A_200E_200C_206F_206E_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + Stop(global::_003CModule_003E._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(-728065814)); return; } } + ITaskExecutor currentTaskExecutor = _taskQueue.CurrentTaskExecutor; + ITask currentTask = currentTaskExecutor.CurrentTask; ETaskResult eTaskResult; try { - if (_taskQueue.CurrentTaskExecutor.WasInterrupted()) + num = ((!currentTaskExecutor.WasInterrupted()) ? 235217046 : 235217045); + while (true) { - InterruptQueueWithCombat(); - return; - } - eTaskResult = _taskQueue.CurrentTaskExecutor.Update(); - } - 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); - Stop("Task failed to update"); - return; - } - switch (eTaskResult) - { - case ETaskResult.StillRunning: - break; - case ETaskResult.SkipRemainingTasksForStep: - { - _logger.LogInformation("{Task} → {Result}, skipping remaining tasks for step", _taskQueue.CurrentTaskExecutor.CurrentTask, eTaskResult); - _taskQueue.CurrentTaskExecutor = null; - ITask task3; - while (_taskQueue.TryDequeue(out task3)) - { - if ((task3 is ILastTask || task3 is Gather.SkipMarker) ? true : false) + int num5 = num; + int num3 = 235217046; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) { - ITaskExecutor requiredKeyedService2 = _serviceProvider.GetRequiredKeyedService(task3.GetType()); - requiredKeyedService2.Start(task3); - _taskQueue.CurrentTaskExecutor = requiredKeyedService2; + case 6: + return; + case 2: + _206D_202E_202E_206E_202A_202A_202D_202C_200C_200F_200B_200B_202A_206B_202D_206D_200E_206C_200B_206F_206D_200F_206D_206E_200F_202C_202E_202A_200E_206D_200E_206D_206C_200D_206A_202D_206B_206E_206F_206D_202E((ILogger)_logger, global::_003CModule_003E._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(1893436399), new object[1] { _retryStepCount }); + Stop(global::_003CModule_003E._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(-209533649)); + return; + case 5: + InterruptQueueWithCombat(); + num = 235217040; + break; + case 1: + _206F_206B_206C_200E_202E_206D_206C_200E_202B_206D_206B_202E_200C_200D_206D_200B_200F_200B_206C_200E_202B_202B_206E_206B_206C_206B_206E_200D_206A_202C_202D_206F_206B_200F_206D_200F_206E_206E_202D_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1774014248), new object[2] + { + currentTask, + _configuration.Advanced.InteractionTimeoutSeconds + }); + num = ((!_202D_206D_206E_202B_206C_200E_200B_200B_200B_202B_206A_202D_206C_200E_202D_200D_202C_200E_206F_206D_202C_206B_202B_200D_202A_202D_206A_206D_202D_206B_200E_200D_202D_202C_206D_206B_202D_206B_206D_206E_202E(_condition, ConditionFlag.InCombat)) ? 235217041 : 235217043); + break; + case 4: + _206D_206B_206A_202B_206A_200F_202D_200C_206E_200E_200D_206C_206F_200B_200B_200C_200C_206E_206E_206E_202A_206C_206B_206C_200F_202D_206A_206B_206A_206D_202D_200F_200E_200D_206A_202C_206D_206F_200E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(1770635265), new object[2] + { + _retryStepCount, + _configuration.Advanced.InteractionRetryLimit + }); + _taskQueue.Reset(); + OnRetryStep(); + num = 235217040; + break; + case 8: + num = 235217045; + break; + case 0: + num = ((!currentTaskExecutor.HasTimedOut(_configuration.Advanced.InteractionTimeoutSeconds)) ? 235217055 : 235217047); + break; + case 3: + InterruptQueueWithCombat(); + return; + case 7: + { + int retryStepCount = _retryStepCount; + num3 = 1; + num4 = retryStepCount; + int num6 = num4 ^ num3; + int num7 = num4 & num3; + _retryStepCount = num6 + (num7 + num7); + num = ((_retryStepCount <= _configuration.Advanced.InteractionRetryLimit) ? 235217042 : 235217044); break; } + case 9: + eTaskResult = currentTaskExecutor.Update(); + goto end_IL_0211; + } + continue; + end_IL_0211: + break; } - break; } - 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) - { - _taskQueue.EnqueueAll(extraTaskCreator.CreateExtraTasks()); - } - _taskQueue.CurrentTaskExecutor = null; - break; - case ETaskResult.NextStep: + catch (MovementController.PathfindingFailedException) { - _logger.LogInformation("{Task} → {Result}", _taskQueue.CurrentTaskExecutor.CurrentTask, eTaskResult); - ILastTask task2 = (ILastTask)_taskQueue.CurrentTaskExecutor.CurrentTask; - _taskQueue.CurrentTaskExecutor = null; - OnNextStep(task2); - break; + throw; } - case ETaskResult.End: - _logger.LogInformation("{Task} → {Result}", _taskQueue.CurrentTaskExecutor.CurrentTask, eTaskResult); - _taskQueue.CurrentTaskExecutor = null; - Stop("Task end"); - break; + catch (Exception ex3) + { + _206E_206B_200C_202D_206E_202E_200F_206B_206F_202B_206F_206D_206C_206C_202C_200B_206A_200E_200E_200D_202B_202E_202B_200D_206F_202C_206D_206A_202B_202A_206E_200B_206B_200F_206F_202D_200B_206A_202B_202A_202E((ILogger)_logger, ex3, global::_003CModule_003E._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(-407849183), new object[1] { currentTask }); + IChatGui chatGui2 = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(58, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(822530907)); + defaultInterpolatedStringHandler2.AppendFormatted(currentTask); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-201978855)); + _200C_202A_200F_200D_200C_206A_202E_202E_206B_202B_200B_202D_200F_202C_202C_202A_206B_202C_206C_206B_202E_206D_200C_202C_202E_200F_200E_206C_202A_206B_202E_200D_200C_206D_200E_206A_200E_200C_206F_206E_202E(chatGui2, defaultInterpolatedStringHandler2.ToStringAndClear(), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + Stop(global::_003CModule_003E._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(-391735924)); + return; + } + num = ((_taskQueue.CurrentTaskExecutor == currentTaskExecutor) ? (-1790042060) : (-1790042062)); + bool flag = default(bool); + ITask task2 = default(ITask); + IExtraTaskCreator extraTaskCreator = default(IExtraTaskCreator); + while (true) + { + int num8 = num; + int num3 = -1790042050; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + int retryStepCount2; + ILastTask task3; + switch (num9 - (num10 + num10)) + { + case 1: + num = ((!flag) ? (-1790042054) : (-1790042068)); + break; + case 0: + num = ((!(task2 is Gather.SkipMarker)) ? (-1790042072) : (-1790042055)); + break; + case 17: + _206D_206B_206A_202B_206A_200F_202D_200C_206E_200E_200D_206C_206F_200B_200B_200C_200C_206E_206E_206E_202A_206C_206B_206C_200F_202D_206A_206B_206A_206D_202D_200F_200E_200D_206A_202C_206D_206F_200E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-1662139304), new object[3] + { + currentTask, + eTaskResult, + _taskQueue.RemainingTasks.Count() + }); + OnTaskComplete(currentTask); + num = ((eTaskResult != ETaskResult.CreateNewTasks) ? (-1790042058) : (-1790042059)); + break; + case 18: + { + ITaskExecutor requiredKeyedService2 = _serviceProvider.GetRequiredKeyedService(_202B_200E_206B_202E_206D_200E_202A_206B_206F_206A_200D_200B_206A_200F_202C_202C_202A_202B_206E_202D_200F_206E_202D_200B_206E_202D_200B_206C_206E_200B_202E_200E_200B_202A_202A_206A_200C_202D_206D_206D_202E((object)task2)); + requiredKeyedService2.Start(task2); + _taskQueue.CurrentTaskExecutor = requiredKeyedService2; + return; + } + case 6: + num = -1790042062; + break; + case 21: + _206D_206B_206A_202B_206A_200F_202D_200C_206E_200E_200D_206C_206F_200B_200B_200C_200C_206E_206E_206E_202A_206C_206B_206C_200F_202D_206A_206B_206A_206D_202D_200F_200E_200D_206A_202C_206D_206F_200E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-705700696), new object[4] + { + currentTask, + eTaskResult, + _retryStepCount, + _configuration.Advanced.InteractionRetryLimit + }); + _taskQueue.Reset(); + OnRetryStep(); + return; + case 19: + _taskQueue.EnqueueAll(extraTaskCreator.CreateExtraTasks()); + num = -1790042058; + break; + case 8: + _taskQueue.CurrentTaskExecutor = null; + return; + case 9: + _206D_202E_202E_206E_202A_202A_202D_202C_200C_200F_200B_200B_202A_206B_202D_206D_200E_206C_200B_206F_206D_200F_206D_206E_200F_202C_202E_202A_200E_206D_200E_206D_206C_200D_206A_202D_206B_206E_206F_206D_202E((ILogger)_logger, global::_003CModule_003E._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(-1386872238), new object[1] { _retryStepCount }); + Stop(global::_003CModule_003E._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(724240837)); + return; + case 5: + goto IL_071a; + case 13: + return; + case 3: + goto IL_0761; + case 20: + return; + case 10: + switch (eTaskResult) + { + case ETaskResult.TaskComplete: + case ETaskResult.CreateNewTasks: + break; + case ETaskResult.End: + goto IL_071a; + case ETaskResult.StillRunning: + return; + case ETaskResult.NextStep: + goto IL_0761; + default: + goto IL_07d0; + case ETaskResult.RetryStep: + goto IL_0821; + case ETaskResult.SkipRemainingTasksForStep: + goto IL_0870; + } + goto case 17; + case 22: + flag = false; + num = -1790042049; + break; + case 7: + flag = true; + num = -1790042049; + break; + case 11: + extraTaskCreator = currentTaskExecutor as IExtraTaskCreator; + num = ((extraTaskCreator == null) ? (-1790042058) : (-1790042067)); + break; + case 15: + goto IL_0821; + case 16: + goto IL_0870; + case 14: + num = ((task2 is ILastTask) ? (-1790042055) : (-1790042050)); + break; + case 12: + return; + case 4: + num = ((!_taskQueue.TryDequeue(out task2)) ? (-1790042070) : (-1790042064)); + break; + case 2: + return; + IL_0870: + _206D_206B_206A_202B_206A_200F_202D_200C_206E_200E_200D_206C_206F_200B_200B_200C_200C_206E_206E_206E_202A_206C_206B_206C_200F_202D_206A_206B_206A_206D_202D_200F_200E_200D_206A_202C_206D_206F_200E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-1713413528), new object[2] { currentTask, eTaskResult }); + _taskQueue.CurrentTaskExecutor = null; + num = -1790042054; + break; + IL_0821: + retryStepCount2 = _retryStepCount; + num3 = 1; + num4 = retryStepCount2; + _retryStepCount = (num4 | num3) + (num4 & num3); + num = ((_retryStepCount <= _configuration.Advanced.InteractionRetryLimit) ? (-1790042069) : (-1790042057)); + break; + IL_07d0: + num = -1790042052; + break; + IL_0761: + _206D_206B_206A_202B_206A_200F_202D_200C_206E_200E_200D_206C_206F_200B_200B_200C_200C_206E_206E_206E_202A_206C_206B_206C_200F_202D_206A_206B_206A_206D_202D_200F_200E_200D_206A_202C_206D_206F_200E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(341325607), new object[2] { currentTask, eTaskResult }); + _retryStepCount = 0; + task3 = (ILastTask)currentTask; + _taskQueue.CurrentTaskExecutor = null; + OnNextStep(task3); + return; + IL_071a: + _206D_206B_206A_202B_206A_200F_202D_200C_206E_200E_200D_206C_206F_200B_200B_200C_200C_206E_206E_206E_202A_206C_206B_206C_200F_202D_206A_206B_206A_206D_202D_200F_200E_200D_206A_202C_206D_206F_200E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-1482182306), new object[2] { currentTask, eTaskResult }); + _taskQueue.CurrentTaskExecutor = null; + Stop(global::_003CModule_003E._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(910810307)); + return; + } } } @@ -148,104 +406,354 @@ internal abstract class MiniTaskController : IDisposable { } + [MethodImpl(MethodImplOptions.NoInlining)] + protected virtual void OnRetryStep() + { + _206F_206B_206C_200E_202E_206D_206C_200E_202B_206D_206B_202E_200C_200D_206D_200B_200F_200B_206C_200E_202B_202B_206E_206B_206C_206B_206E_200D_206A_202C_202D_206F_206B_200F_206D_200F_206E_206E_202D_206A_202E((ILogger)_logger, global::_003CModule_003E._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(265028979), Array.Empty()); + Stop(global::_003CModule_003E._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(542623925)); + } + + protected void ResetStepRetryCounter() + { + _retryStepCount = 0; + } + protected virtual void OnNextStep(ILastTask task) { } - public abstract void Stop(string label); + public virtual void Stop(string label) + { + IStoppableTaskExecutor stoppableTaskExecutor = _taskQueue.CurrentTaskExecutor as IStoppableTaskExecutor; + int num = ((stoppableTaskExecutor == null) ? (-478245129) : (-478245132)); + while (true) + { + int num2 = num; + int num3 = -478245130; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _retryStepCount = 0; + return; + case 2: + stoppableTaskExecutor.StopNow(); + num = -478245129; + break; + case 0: + num = -478245132; + break; + } + } + } + [MethodImpl(MethodImplOptions.NoInlining)] public virtual IList GetRemainingTaskNames() { - return _taskQueue.RemainingTasks.Select((ITask x) => x.ToString() ?? "?").ToList(); + ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; + int num = ((task == null) ? 45674528 : 45674531); + while (true) + { + int num2 = num; + int num3 = 45674529; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_005f; + case 1: + return _taskQueue.RemainingTasks.Select([MethodImpl(MethodImplOptions.NoInlining)] (ITask x) => _003C_003Ec._206B_202C_200C_206D_200D_200E_206B_202E_202C_206E_200E_200C_200F_202B_202A_206A_206D_200C_200F_202E_200D_200E_206B_200C_200F_200C_206C_202E_200E_206D_206A_200F_200B_206D_202D_206A_206D_200E_206D_206F_202E((object)x) ?? global::_003CModule_003E._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(1887683575)).ToList(); + case 2: + { + List list = new List(); + list.Add(_202D_200B_206C_206B_200E_202E_200D_206C_206A_206D_206C_206A_202E_202B_200C_202B_206F_206C_202A_200D_202B_200B_200B_200E_202C_202C_206D_200E_206D_206A_200F_206D_200E_202C_200D_206A_206B_202D_206E_206F_202E((object)task) ?? global::_003CModule_003E._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(1887683575)); + list.AddRange(_taskQueue.RemainingTasks.Select([MethodImpl(MethodImplOptions.NoInlining)] (ITask x) => _003C_003Ec._206B_202C_200C_206D_200D_200E_206B_202E_202C_206E_200E_200C_200F_202B_202A_206A_206D_200C_200F_202E_200D_200E_206B_200C_200F_200C_206C_202E_200E_206D_206A_200F_200B_206D_202D_206A_206D_200E_206D_206F_202E((object)x) ?? global::_003CModule_003E._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(656320081))); + return list; + } + } + continue; + IL_005f: + num = 45674531; + } } + [MethodImpl(MethodImplOptions.NoInlining)] public void InterruptQueueWithCombat() { - _logger.LogWarning("Interrupted, attempting to resolve (if in combat)"); - if (_condition[ConditionFlag.InCombat]) + ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; + int num = ((task != _lastInterruptedTask) ? (-2089841709) : (-2089841711)); + List list = default(List); + while (true) { - List list = new List(); - if (_condition[ConditionFlag.Mounted]) + int num2 = num; + int num3 = -2089841710; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - list.Add(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); + case 8: + { + _206D_202E_202E_206E_202A_202A_202D_202C_200C_200F_200B_200B_202A_206B_202D_206D_200E_206C_200B_206F_206D_200F_206D_206E_200F_202C_202E_202A_200E_206D_200E_206D_206C_200D_206A_202D_206B_206E_206F_206D_202E((ILogger)_logger, global::_003CModule_003E._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(-269456005), new object[2] + { + task, + _configuration.Advanced.InteractionRetryLimit + }); + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(30, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1056300213)); + defaultInterpolatedStringHandler.AppendFormatted(task); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1081019019)); + defaultInterpolatedStringHandler.AppendFormatted(_configuration.Advanced.InteractionRetryLimit); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(601161044)); + _200C_202A_200F_200D_200C_206A_202E_202E_206B_202B_200B_202D_200F_202C_202C_202A_206B_202C_206C_206B_202E_206D_200C_202C_202E_200F_200E_206C_202A_206B_202E_200D_200C_206D_200E_206A_200E_200C_206F_206E_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + Stop(global::_003CModule_003E._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(1773571268)); + return; + } + case 2: + LogTasksAfterInterruption(); + return; + case 5: + list = new List(); + num = ((!_202D_206D_206E_202B_206C_200E_200B_200B_200B_202B_206A_202D_206C_200E_202D_200D_202C_200E_206F_206D_202C_206B_202B_200D_202A_202D_206A_206D_202D_206B_200E_200D_202D_202C_206D_206B_202D_206B_206D_206E_202E(_condition, ConditionFlag.Mounted)) ? (-2089841701) : (-2089841707)); + break; + case 6: + num = -2089841711; + break; + case 7: + list.Add(new Questionable.Controller.Steps.Common.Mount.UnmountTask()); + num = -2089841701; + break; + case 1: + _lastInterruptedTask = task; + _interruptRetryCount = 1; + num = -2089841706; + break; + case 0: + { + TaskQueue taskQueue = _taskQueue; + int num7 = 1; + List list2 = new List(num7); + CollectionsMarshal.SetCount(list2, num7); + CollectionsMarshal.AsSpan(list2)[0] = new WaitAtEnd.WaitDelay(); + taskQueue.InterruptWith(list2); + num = -2089841712; + break; + } + case 4: + _206F_206B_206C_200E_202E_206D_206C_200E_202B_206D_206B_202E_200C_200D_206D_200B_200F_200B_206C_200E_202B_202B_206E_206B_206C_206B_206E_200D_206A_202C_202D_206F_206B_200F_206D_200F_206E_206E_202D_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1063396505), new object[2] + { + _interruptRetryCount, + _configuration.Advanced.InteractionRetryLimit + }); + num = ((!_202D_206D_206E_202B_206C_200E_200B_200B_200B_202B_206A_202D_206C_200E_202D_200D_202C_200E_206F_206D_202C_206B_202B_200D_202A_202D_206A_206D_202D_206B_200E_200D_202D_202C_206D_206B_202D_206B_206D_206E_202E(_condition, ConditionFlag.InCombat)) ? (-2089841710) : (-2089841705)); + break; + case 9: + list.Add(Combat.Factory.CreateTask(null, -1, isLastStep: false, EEnemySpawnType.QuestInterruption, new List(), new List(), new List(), null)); + list.Add(new WaitAtEnd.WaitDelay()); + _taskQueue.InterruptWith(list); + num = -2089841712; + break; + case 3: + { + int interruptRetryCount = _interruptRetryCount; + num3 = 1; + num4 = interruptRetryCount; + _interruptRetryCount = (num4 | num3) + (num4 & num3); + num = ((_interruptRetryCount <= _configuration.Advanced.InteractionRetryLimit) ? (-2089841706) : (-2089841702)); + break; + } } - list.Add(Combat.Factory.CreateTask(null, -1, isLastStep: false, EEnemySpawnType.QuestInterruption, new List(), new List(), new List(), null)); - list.Add(new WaitAtEnd.WaitDelay()); - _taskQueue.InterruptWith(list); } - else - { - TaskQueue taskQueue = _taskQueue; - int num = 1; - List list2 = new List(num); - CollectionsMarshal.SetCount(list2, num); - CollectionsMarshal.AsSpan(list2)[0] = new WaitAtEnd.WaitDelay(); - taskQueue.InterruptWith(list2); - } - LogTasksAfterInterruption(); } + [MethodImpl(MethodImplOptions.NoInlining)] private void InterruptWithoutCombat() { - if (!(_taskQueue.CurrentTaskExecutor is SinglePlayerDuty.WaitSinglePlayerDutyExecutor)) + int num = ((_taskQueue.CurrentTaskExecutor is SinglePlayerDuty.WaitSinglePlayerDutyExecutor) ? 1044838736 : 1044838739); + while (true) { - _logger.LogWarning("Interrupted, attempting to redo previous tasks (not in combat)"); - TaskQueue taskQueue = _taskQueue; - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = new WaitAtEnd.WaitDelay(); - taskQueue.InterruptWith(list); - LogTasksAfterInterruption(); + int num2 = num; + int num3 = 1044838737; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1044838739; + break; + case 2: + { + _206F_206B_206C_200E_202E_206D_206C_200E_202B_206D_206B_202E_200C_200D_206D_200B_200F_200B_206C_200E_202B_202B_206E_206B_206C_206B_206E_200D_206A_202C_202D_206F_206B_200F_206D_200F_206E_206E_202D_206A_202E((ILogger)_logger, global::_003CModule_003E._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(1960045245), Array.Empty()); + TaskQueue taskQueue = _taskQueue; + int num7 = 1; + List list = new List(num7); + CollectionsMarshal.SetCount(list, num7); + CollectionsMarshal.AsSpan(list)[0] = new WaitAtEnd.WaitDelay(); + taskQueue.InterruptWith(list); + LogTasksAfterInterruption(); + num = 1044838736; + break; + } + case 1: + return; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private void LogTasksAfterInterruption() { - _logger.LogInformation("Remaining tasks after interruption:"); - foreach (ITask remainingTask in _taskQueue.RemainingTasks) + _206D_206B_206A_202B_206A_200F_202D_200C_206E_200E_200D_206C_206F_200B_200B_200C_200C_206E_206E_206E_202A_206C_206B_206C_200F_202D_206A_206B_206A_206D_202D_200F_200E_200D_206A_202C_206D_206F_200E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(1548875949), Array.Empty()); + IEnumerator enumerator = _taskQueue.RemainingTasks.GetEnumerator(); + try { - _logger.LogInformation("- {TaskName}", remainingTask); + int num = -508230281; + while (true) + { + int num2 = num; + int num3 = -508230281; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = (_206C_200F_206D_200D_200E_206B_200C_206E_202C_206D_206E_200C_202E_202E_200E_200D_200F_200C_202E_200E_200D_202D_202D_202B_206F_206B_206E_202E_206E_206B_200C_206C_206C_202D_206F_206A_202E_206E_200E_200E_202E((IEnumerator)enumerator) ? (-508230284) : (-508230282)); + break; + case 3: + { + ITask current = enumerator.Current; + _206D_206B_206A_202B_206A_200F_202D_200C_206E_200E_200D_206C_206F_200B_200B_200C_200C_206E_206E_206E_202A_206C_206B_206C_200F_202D_206A_206B_206A_206D_202D_200F_200E_200D_206A_202C_206D_206F_200E_202C_202E((ILogger)_logger, global::_003CModule_003E._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(1033828461), new object[1] { current }); + num = -508230281; + break; + } + case 2: + num = -508230281; + break; + case 1: + return; + } + } + } + finally + { + int num = ((enumerator == null) ? 1241940011 : 1241940008); + while (true) + { + int num5 = num; + int num3 = 1241940009; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + goto end_IL_00e0; + case 1: + _202E_202A_200D_200C_206E_202E_206F_202D_200D_206F_202B_202A_200D_200E_202D_200E_206D_202A_206D_206D_200D_206E_202E_206B_206E_200D_206F_206E_206D_206C_206E_200F_206D_202D_202B_202B_202A_200C_202B_202A_202E((IDisposable)enumerator); + num = 1241940011; + break; + case 0: + num = 1241940008; + break; + } + continue; + end_IL_00e0: + break; + } } } public void OnErrorToast(ref SeString message, ref bool isHandled) { - if (_taskQueue.AllTasksComplete) + int num = ((!_taskQueue.AllTasksComplete) ? 573119934 : 573119925); + IToastAware toastAware = default(IToastAware); + while (true) { - return; - } - if (_taskQueue.CurrentTaskExecutor is IToastAware toastAware && toastAware.OnErrorToast(message)) - { - isHandled = true; - } - if (isHandled) - { - return; - } - if (_actionCanceledText.IsMatch(message.TextValue) && !_condition[ConditionFlag.InFlight]) - { - ITaskExecutor? currentTaskExecutor = _taskQueue.CurrentTaskExecutor; - if (currentTaskExecutor != null && currentTaskExecutor.ShouldInterruptOnDamage()) + int num2 = num; + int num3 = 573119928; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 0: + num = 573119925; + break; + case 10: + num = ((!toastAware.OnErrorToast(message)) ? 573119924 : 573119923); + break; + case 6: + toastAware = _taskQueue.CurrentTaskExecutor as IToastAware; + num = ((toastAware == null) ? 573119924 : 573119922); + break; + case 4: + num = ((!_206B_200C_202A_206F_206D_202C_200C_202A_202B_202C_206E_202D_206D_200B_202A_206D_202C_202A_206C_206E_202D_206D_200B_206D_200C_202B_206C_206E_206B_206D_206B_202A_202E_206E_206A_200B_206B_202D_206C_200C_202E(_actionCanceledText, _202A_200E_206A_206B_202A_206F_200F_200E_206B_202D_202A_200B_206C_206E_200E_206F_206A_202C_202B_206D_206E_206B_200D_206B_200B_206E_202A_206E_200E_202E_202B_202D_206A_202D_200B_202C_200E_206E_206E_202E(message))) ? 573119920 : 573119930); + break; + case 12: + num = (isHandled ? 573119935 : 573119932); + break; + case 8: + num = (GameFunctions.GameStringEquals(_cantExecuteDueToStatusText, _202A_200E_206A_206B_202A_206F_200F_200E_206B_202D_202A_200B_206C_206E_200E_206F_206A_202C_202B_206D_206E_206B_200D_206B_200B_206E_202A_206E_200E_202E_202B_202D_206A_202D_200B_202C_200E_206E_206E_202E(message)) ? 573119933 : 573119929); + break; + case 3: InterruptQueueWithCombat(); return; + case 5: + InterruptWithoutCombat(); + num = 573119935; + break; + case 7: + return; + case 9: + { + ITaskExecutor? currentTaskExecutor = _taskQueue.CurrentTaskExecutor; + num = ((currentTaskExecutor == null || !currentTaskExecutor.ShouldInterruptOnDamage()) ? 573119920 : 573119931); + break; + } + case 1: + num = ((!GameFunctions.GameStringEquals(_eventCanceledText, _202A_200E_206A_206B_202A_206F_200F_200E_206B_202D_202A_200B_206C_206E_200E_206F_206A_202C_202B_206D_206E_206B_200D_206B_200B_206E_202A_206E_200E_202E_202B_202D_206A_202D_200B_202C_200E_206E_206E_202E(message))) ? 573119935 : 573119933); + break; + case 11: + isHandled = true; + num = 573119924; + break; + case 13: + return; + case 2: + num = (_202D_206D_206E_202B_206C_200E_200B_200B_200B_202B_206A_202D_206C_200E_202D_200D_202C_200E_206F_206D_202C_206B_202B_200D_202A_202D_206A_206D_202D_206B_200E_200D_202D_202C_206D_206B_202D_206B_206D_206E_202E(_condition, ConditionFlag.InFlight) ? 573119920 : 573119921); + break; } - } - if (GameFunctions.GameStringEquals(_cantExecuteDueToStatusText, message.TextValue) || GameFunctions.GameStringEquals(_eventCanceledText, message.TextValue)) - { - InterruptWithoutCombat(); } } protected virtual void HandleInterruption(object? sender, EventArgs e) { - if (!_condition[ConditionFlag.InFlight]) + int num = (_202D_206D_206E_202B_206C_200E_200B_200B_200B_202B_206A_202D_206C_200E_202D_200D_202C_200E_206F_206D_202C_206B_202B_200D_202A_202D_206A_206D_202D_206B_200E_200D_202D_202C_206D_206B_202D_206B_206D_206E_202E(_condition, ConditionFlag.InFlight) ? 759202618 : 759202616); + while (true) { - ITaskExecutor? currentTaskExecutor = _taskQueue.CurrentTaskExecutor; - if (currentTaskExecutor != null && currentTaskExecutor.ShouldInterruptOnDamage()) + int num2 = num; + int num3 = 759202619; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 1: + return; + case 3: + { + ITaskExecutor? currentTaskExecutor = _taskQueue.CurrentTaskExecutor; + num = ((currentTaskExecutor == null || !currentTaskExecutor.ShouldInterruptOnDamage()) ? 759202618 : 759202619); + break; + } + case 2: + num = 759202616; + break; + case 0: InterruptQueueWithCombat(); + num = 759202618; + break; } } } @@ -254,4 +762,75 @@ internal abstract class MiniTaskController : IDisposable { _interruptHandler.Interrupted -= HandleInterruption; } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static string _202D_200B_206C_206B_200E_202E_200D_206C_206A_206D_206C_206A_202E_202B_200C_202B_206F_206C_202A_200D_202B_200B_200B_200E_202C_202C_206D_200E_206D_206A_200F_206D_200E_202C_200D_206A_206B_202D_206E_206F_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206D_206B_206A_202B_206A_200F_202D_200C_206E_200E_200D_206C_206F_200B_200B_200C_200C_206E_206E_206E_202A_206C_206B_206C_200F_202D_206A_206B_206A_206D_202D_200F_200E_200D_206A_202C_206D_206F_200E_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static Type _202B_200E_206B_202E_206D_200E_202A_206B_206F_206A_200D_200B_206A_200F_202C_202C_202A_202B_206E_202D_200F_206E_202D_200B_206E_202D_200B_206C_206E_200B_202E_200E_200B_202A_202A_206A_200C_202D_206D_206D_202E(object P_0) + { + return P_0.GetType(); + } + + static void _206C_200C_200B_206D_206A_206E_206A_206D_206A_200D_202E_206E_202B_206E_202E_202C_200F_202B_202B_202C_200C_206C_206C_200F_206B_200D_206D_206C_202C_200B_206E_200F_206F_200E_202A_206B_200F_202B_200E_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static void _206E_206B_200C_202D_206E_202E_200F_206B_206F_202B_206F_206D_206C_206C_202C_200B_206A_200E_200E_200D_202B_202E_202B_200D_206F_202C_206D_206A_202B_202A_206E_200B_206B_200F_206F_202D_200B_206A_202B_202A_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static void _200C_202A_200F_200D_200C_206A_202E_202E_206B_202B_200B_202D_200F_202C_202C_202A_206B_202C_206C_206B_202E_206D_200C_202C_202E_200F_200E_206C_202A_206B_202E_200D_200C_206D_200E_206A_200E_200C_206F_206E_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static void _206F_206B_206C_200E_202E_206D_206C_200E_202B_206D_206B_202E_200C_200D_206D_200B_200F_200B_206C_200E_202B_202B_206E_206B_206C_206B_206E_200D_206A_202C_202D_206F_206B_200F_206D_200F_206E_206E_202D_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static bool _202D_206D_206E_202B_206C_200E_200B_200B_200B_202B_206A_202D_206C_200E_202D_200D_202C_200E_206F_206D_202C_206B_202B_200D_202A_202D_206A_206D_202D_206B_200E_200D_202D_202C_206D_206B_202D_206B_206D_206E_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static void _206D_202E_202E_206E_202A_202A_202D_202C_200C_200F_200B_200B_202A_206B_202D_206D_200E_206C_200B_206F_206D_200F_206D_206E_200F_202C_202E_202A_200E_206D_200E_206D_206C_200D_206A_202D_206B_206E_206F_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static bool _206C_200F_206D_200D_200E_206B_200C_206E_202C_206D_206E_200C_202E_202E_200E_200D_200F_200C_202E_200E_200D_202D_202D_202B_206F_206B_206E_202E_206E_206B_200C_206C_206C_202D_206F_206A_202E_206E_200E_200E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202E_202A_200D_200C_206E_202E_206F_202D_200D_206F_202B_202A_200D_200E_202D_200E_206D_202A_206D_206D_200D_206E_202E_206B_206E_200D_206F_206E_206D_206C_206E_200F_206D_202D_202B_202B_202A_200C_202B_202A_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static string _202A_200E_206A_206B_202A_206F_200F_200E_206B_202D_202A_200B_206C_206E_200E_206F_206A_202C_202B_206D_206E_206B_200D_206B_200B_206E_202A_206E_200E_202E_202B_202D_206A_202D_200B_202C_200E_206E_206E_202E(SeString P_0) + { + return P_0.TextValue; + } + + static bool _206B_200C_202A_206F_206D_202C_200C_202A_202B_202C_206E_202D_206D_200B_202A_206D_202C_202A_206C_206E_202D_206D_200B_206D_200C_202B_206C_206E_206B_206D_206B_202A_202E_206E_206A_200B_206B_202D_206C_200C_202E(Regex P_0, string P_1) + { + return P_0.IsMatch(P_1); + } } diff --git a/Questionable/Questionable.Controller/MovementController.cs b/Questionable/Questionable.Controller/MovementController.cs index 2296b8e5..a8cb43bf 100644 --- a/Questionable/Questionable.Controller/MovementController.cs +++ b/Questionable/Questionable.Controller/MovementController.cs @@ -1,10 +1,13 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Text; using System.Threading; using System.Threading.Tasks; using Dalamud.Game.ClientState.Conditions; @@ -13,42 +16,359 @@ 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) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200D_200D_206E_200F_202B_200D_206C_206D_200E_202D_206E_202D_206E_206D_200B_206F_200B_206E_206A_206C_206E_200F_200F_202E_206F_206D_200E_200B_202D_200F_206A_200E_200C_206F_200B_200B_200E_202D_206E_200C_202E(typeof(DestinationData).TypeHandle); + } + } + public int NavmeshCalculations { get; set; } public List PartialRoute { get; } = new List(); public LastWaypointData? LastWaypoint { get; set; } - public bool ShouldRecalculateNavmesh() + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() { - return NavmeshCalculations < 10; + StringBuilder stringBuilder = _200F_206A_200F_202D_200F_206B_200E_206B_206A_206C_206B_206B_202E_200F_206D_202C_206F_200D_202D_202E_202A_202E_202A_202C_200D_202B_202C_206B_200E_200D_206F_202B_200E_206E_202B_206E_200D_206D_206D_206E_202E(); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(stringBuilder, global::_003CModule_003E._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(-1649215359)); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? (-442565540) : (-442565537)); + while (true) + { + int num2 = num; + int num3 = -442565538; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _206F_206B_206E_202C_202C_206E_200E_200B_206B_200C_200D_200B_206B_200B_206C_200B_202D_206B_200D_206D_200F_202B_206A_202E_202C_206C_200B_200B_206C_206D_206C_200D_206F_206A_206B_206E_206D_206A_206A_206E_202E(stringBuilder, '}'); + return _200F_200D_200B_206E_200E_202C_206E_206B_200D_206E_206E_206D_206E_206C_206A_202C_206D_202E_206B_202E_200D_200E_202B_200C_202C_200F_202C_206B_200C_206E_200F_206B_206B_202C_206A_206D_202D_200B_200E_202E_202E((object)stringBuilder); + case 1: + _206F_206B_206E_202C_202C_206E_200E_200B_206B_200C_200D_200B_206B_200B_206C_200B_202D_206B_200D_206D_200F_202B_206A_202E_202C_206C_200B_200B_206C_206D_206C_200D_206F_206A_206B_206E_206D_206A_206A_206E_202E(stringBuilder, ' '); + num = -442565540; + break; + case 0: + num = -442565537; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200E_200F_200F_200C_202D_206F_200B_202C_206C_200F_200D_200F_200D_206B_206A_202B_200B_202D_200E_200C_200B_206F_202B_200F_202E_200F_200D_200E_206D_200D_202E_206B_202D_202C_206F_206D_202B_200E_202A_206E_202E(); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(1999561490)); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, MovementType.ToString()); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(97441196)); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, DataId.ToString()); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(-1993330002)); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, Position.ToString()); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(-1983390380)); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, StopDistance.ToString()); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(436934647)); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, IsFlying.ToString()); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(-2120828510)); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, CanSprint.ToString()); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(-518067548)); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, VerticalStopDistance.ToString()); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(-1230528724)); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, Land.ToString()); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(-336283620)); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, UseNavmesh.ToString()); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(-1710615926)); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, IsSmartNavRouted.ToString()); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(-1675587815)); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, NavmeshCalculations.ToString()); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(-1352596954)); + _206F_206F_206F_206F_206A_206B_202D_202B_202C_206A_200D_202A_206A_202D_200B_202D_202D_206D_202C_200D_202D_202D_206C_202C_202A_206A_202D_206B_200F_200C_202B_206F_200D_206A_206D_202A_202E_206E_200C_202A_202E(builder, (object)PartialRoute); + _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(builder, global::_003CModule_003E._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(73479256)); + _206F_206F_206F_206F_206A_206B_202D_202B_202C_206A_200D_202A_206A_202D_200B_202D_202D_206D_202C_200D_202D_202D_206C_202C_202A_206A_202D_206B_200F_200C_202B_206F_200D_206A_206D_202A_202E_206E_200C_202A_202E(builder, (object)LastWaypoint); + return true; + } + + [CompilerGenerated] + public bool Equals(DestinationData? other) + { + int num = (((object)this == other) ? 1399779328 : 1399779341); + while (true) + { + int num2 = num; + int num3 = 1399779332; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 16: + num = ((!EqualityComparer.Default.Equals(MovementType, other.MovementType)) ? 1399779338 : 1399779335); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(UseNavmesh, other.UseNavmesh)) ? 1399779338 : 1399779336); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? 1399779338 : 1399779330); + break; + case 15: + num = ((!_202D_202A_206D_206A_200D_202A_206C_206A_202D_206A_202E_206E_202E_200C_200D_200F_206E_202C_202A_206D_200D_206F_206B_202B_206E_206A_206D_200F_206A_200C_202E_206B_200F_200D_206B_200C_200D_200E_200C_206A_202E(EqualityContract, other.EqualityContract)) ? 1399779338 : 1399779348); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(VerticalStopDistance, other.VerticalStopDistance)) ? 1399779338 : 1399779337); + break; + case 9: + num = (((object)other == null) ? 1399779338 : 1399779339); + break; + case 8: + num = ((!EqualityComparer>.Default.Equals(PartialRoute, other.PartialRoute)) ? 1399779338 : 1399779342); + break; + case 17: + num = ((!EqualityComparer.Default.Equals(CanSprint, other.CanSprint)) ? 1399779338 : 1399779334); + break; + case 10: + return EqualityComparer.Default.Equals(LastWaypoint, other.LastWaypoint); + case 14: + return false; + case 12: + num = ((!EqualityComparer.Default.Equals(IsSmartNavRouted, other.IsSmartNavRouted)) ? 1399779338 : 1399779331); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(Position, other.Position)) ? 1399779338 : 1399779343); + break; + case 13: + num = ((!EqualityComparer.Default.Equals(Land, other.Land)) ? 1399779338 : 1399779332); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(NavmeshCalculations, other.NavmeshCalculations)) ? 1399779338 : 1399779340); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(IsFlying, other.IsFlying)) ? 1399779338 : 1399779349); + break; + case 4: + return true; + case 5: + num = 1399779341; + break; + case 11: + num = ((!EqualityComparer.Default.Equals(StopDistance, other.StopDistance)) ? 1399779338 : 1399779333); + break; + } + } + } + + bool IEquatable.Equals(DestinationData? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200D_200D_206E_200F_202B_200D_206C_206D_200E_202D_206E_202D_206E_206D_200B_206F_200B_206E_206A_206C_206E_200F_200F_202E_206F_206D_200E_200B_202D_200F_206A_200E_200C_206F_200B_200B_200E_202D_206E_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200F_206A_200F_202D_200F_206B_200E_206B_206A_206C_206B_206B_202E_200F_206D_202C_206F_200D_202D_202E_202A_202E_202A_202C_200D_202B_202C_206B_200E_200D_206F_202B_200E_206E_202B_206E_200D_206D_206D_206E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206A_206F_206D_200C_202B_202D_206F_206A_202A_206D_206E_202B_200B_200C_202C_202A_200C_202B_200C_206A_202D_200E_202A_202A_206A_200F_202A_200E_206F_206F_202B_202E_202E_200B_200C_202A_202E_200F_200F_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206F_206B_206E_202C_202C_206E_200E_200B_206B_200C_200D_200B_206B_200B_206C_200B_202D_206B_200D_206D_200F_202B_206A_202E_202C_206C_200B_200B_206C_206D_206C_200D_206F_206A_206B_206E_206D_206A_206A_206E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_200D_200B_206E_200E_202C_206E_206B_200D_206E_206E_206D_206E_206C_206A_202C_206D_202E_206B_202E_200D_200E_202B_200C_202C_200F_202C_206B_200C_206E_200F_206B_206B_202C_206A_206D_202D_200B_200E_202E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200E_200F_200F_200C_202D_206F_200B_202C_206C_200F_200D_200F_200D_206B_206A_202B_200B_202D_200E_200C_200B_206F_202B_200F_202E_200F_200D_200E_206D_200D_202E_206B_202D_202C_206F_206D_202B_200E_202A_206E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206F_206F_206F_206F_206A_206B_202D_202B_202C_206A_200D_202A_206A_202D_200B_202D_202D_206D_202C_200D_202D_202D_206C_202C_202A_206A_202D_206B_200F_200C_202B_206F_200D_206A_206D_202A_202E_206E_200C_202A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202D_202A_206D_206A_200D_202A_206C_206A_202D_206A_202E_206E_202E_200C_200D_200F_206E_202C_202A_206D_200D_206F_206B_202B_206E_206A_206D_200F_206A_200C_202E_206B_200F_200D_206B_200C_200D_200E_200C_206A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } public sealed record LastWaypointData(Vector3 Position) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_200E_206A_206B_200F_200E_200C_202A_202A_206D_206B_206E_200D_200B_206D_206B_206E_202B_202C_200C_200D_206C_206A_206F_206E_206B_206F_200C_200B_206C_200D_202E_200D_206A_206D_206F_202D_202D_206D_206B_202E(typeof(LastWaypointData).TypeHandle); + } + } + public long UpdatedAt { get; set; } public double Distance2DAtLastUpdate { get; set; } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_200B_206D_202B_202E_206C_206C_200D_206B_202E_200C_202A_200F_206E_202C_202B_200C_206E_202D_206B_200E_200B_200C_202A_202C_202C_206F_206D_202A_200F_200C_206B_206A_200D_206A_206C_200E_202D_206B_200E_202E(); + _206E_200D_202C_200C_200D_206A_202E_206C_200D_206C_202A_202E_206A_202A_200C_200E_206C_200B_202E_200B_202E_200D_200D_206B_200D_200C_200D_206E_206D_206C_200E_200D_202A_206E_200D_206F_200D_206F_202C_202E(stringBuilder, global::_003CModule_003E._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(1301252306)); + _206E_200D_202C_200C_200D_206A_202E_206C_200D_206C_202A_202E_206A_202A_200C_200E_206C_200B_202E_200B_202E_200D_200D_206B_200D_200C_200D_206E_206D_206C_200E_200D_202A_206E_200D_206F_200D_206F_202C_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? 854055883 : 854055880); + while (true) + { + int num2 = num; + int num3 = 854055881; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 854055880; + break; + case 1: + _206B_202A_206B_200D_200F_206E_206A_200E_206A_200B_206C_200D_200F_206F_202D_202B_200E_200B_206B_206C_206E_202A_200E_206B_202C_206F_200E_202D_206B_202D_202D_206A_206C_202A_206A_206D_206B_202B_200D_206E_202E(stringBuilder, ' '); + num = 854055883; + break; + case 2: + _206B_202A_206B_200D_200F_206E_206A_200E_206A_200B_206C_200D_200F_206F_202D_202B_200E_200B_206B_206C_206E_202A_200E_206B_202C_206F_200E_202D_206B_202D_202D_206A_206C_202A_206A_206D_206B_202B_200D_206E_202E(stringBuilder, '}'); + return _200F_200E_202B_202E_200F_200F_206C_202D_200C_206C_206D_206F_206E_200B_200B_202C_206D_200E_200C_206C_202D_200D_206E_200F_200E_206A_206C_202C_206F_200D_202C_200D_200B_200F_202D_200B_202A_202B_200E_202B_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202A_200C_202A_206C_206F_206B_206C_202A_202D_202D_202C_206C_202C_202A_202E_206D_206D_206A_206D_200E_200E_200D_206D_206E_200F_206C_200E_202D_202C_206E_206B_200F_200F_206E_202D_200E_200F_200E_202C_206B_202E(); + _206E_200D_202C_200C_200D_206A_202E_206C_200D_206C_202A_202E_206A_202A_200C_200E_206C_200B_202E_200B_202E_200D_200D_206B_200D_200C_200D_206E_206D_206C_200E_200D_202A_206E_200D_206F_200D_206F_202C_202E(builder, global::_003CModule_003E._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(675764215)); + _206E_200D_202C_200C_200D_206A_202E_206C_200D_206C_202A_202E_206A_202A_200C_200E_206C_200B_202E_200B_202E_200D_200D_206B_200D_200C_200D_206E_206D_206C_200E_200D_202A_206E_200D_206F_200D_206F_202C_202E(builder, Position.ToString()); + _206E_200D_202C_200C_200D_206A_202E_206C_200D_206C_202A_202E_206A_202A_200C_200E_206C_200B_202E_200B_202E_200D_200D_206B_200D_200C_200D_206E_206D_206C_200E_200D_202A_206E_200D_206F_200D_206F_202C_202E(builder, global::_003CModule_003E._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(1263085392)); + _206E_200D_202C_200C_200D_206A_202E_206C_200D_206C_202A_202E_206A_202A_200C_200E_206C_200B_202E_200B_202E_200D_200D_206B_200D_200C_200D_206E_206D_206C_200E_200D_202A_206E_200D_206F_200D_206F_202C_202E(builder, UpdatedAt.ToString()); + _206E_200D_202C_200C_200D_206A_202E_206C_200D_206C_202A_202E_206A_202A_200C_200E_206C_200B_202E_200B_202E_200D_200D_206B_200D_200C_200D_206E_206D_206C_200E_200D_202A_206E_200D_206F_200D_206F_202C_202E(builder, global::_003CModule_003E._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(-696865885)); + _206E_200D_202C_200C_200D_206A_202E_206C_200D_206C_202A_202E_206A_202A_200C_200E_206C_200B_202E_200B_202E_200D_200D_206B_200D_200C_200D_206E_206D_206C_200E_200D_202A_206E_200D_206F_200D_206F_202C_202E(builder, Distance2DAtLastUpdate.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(LastWaypointData? other) + { + int num = (((object)this == other) ? (-768038203) : (-768038202)); + while (true) + { + int num2 = num; + int num3 = -768038206; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + return true; + case 0: + num = ((!_206B_206A_200E_206F_200D_206D_200F_206C_200C_206D_206B_200F_206E_206B_202C_200E_200B_200F_206B_206C_206D_206F_206C_200E_202E_200B_202D_202D_202A_200D_200B_200B_206F_202B_200B_202C_206C_202A_202E_206E_202E(EqualityContract, other.EqualityContract)) ? (-768038205) : (-768038207)); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(Position, other.Position)) ? (-768038205) : (-768038204)); + break; + case 4: + num = (((object)other == null) ? (-768038205) : (-768038206)); + break; + case 2: + return EqualityComparer.Default.Equals(Distance2DAtLastUpdate, other.Distance2DAtLastUpdate); + case 1: + return false; + case 6: + num = ((!EqualityComparer.Default.Equals(UpdatedAt, other.UpdatedAt)) ? (-768038205) : (-768038208)); + break; + case 5: + num = -768038202; + break; + } + } + } + + bool IEquatable.Equals(LastWaypointData? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_200E_206A_206B_200F_200E_200C_202A_202A_206D_206B_206E_200D_200B_206D_206B_206E_202B_202C_200C_200D_206C_206A_206F_206E_206B_206F_200C_200B_206C_200D_202E_200D_206A_206D_206F_202D_202D_206D_206B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202A_200B_206D_202B_202E_206C_206C_200D_206B_202E_200C_202A_200F_206E_202C_202B_200C_206E_202D_206B_200E_200B_200C_202A_202C_202C_206F_206D_202A_200F_200C_206B_206A_200D_206A_206C_200E_202D_206B_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206E_200D_202C_200C_200D_206A_202E_206C_200D_206C_202A_202E_206A_202A_200C_200E_206C_200B_202E_200B_202E_200D_200D_206B_200D_200C_200D_206E_206D_206C_200E_200D_202A_206E_200D_206F_200D_206F_202C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_202A_206B_200D_200F_206E_206A_200E_206A_200B_206C_200D_200F_206F_202D_202B_200E_200B_206B_206C_206E_202A_200E_206B_202C_206F_200E_202D_206B_202D_202D_206A_206C_202A_206A_206D_206B_202B_200D_206E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_200E_202B_202E_200F_200F_206C_202D_200C_206C_206D_206F_206E_200B_200B_202C_206D_200E_200C_206C_202D_200D_206E_200F_200E_206A_206C_202C_206F_200D_202C_200D_200B_200F_202D_200B_202A_202B_200E_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202A_200C_202A_206C_206F_206B_206C_202A_202D_202D_202C_206C_202C_202A_202E_206D_206D_206A_206D_200E_200E_200D_206D_206E_200F_206C_200E_202D_202C_206E_206B_200F_200F_206E_202D_200E_200F_200E_202C_206B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _206B_206A_200E_206F_200D_206D_200F_206C_200C_206D_206B_200F_206E_206B_202C_200E_200B_200F_206B_206C_206D_206F_206C_200E_202E_200B_202D_202D_202A_200D_200B_200B_206F_202B_200B_202C_206C_202A_202E_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } } public sealed class PathfindingFailedException : Exception @@ -68,34 +388,80 @@ internal sealed class MovementController : IDisposable } } + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__58_0; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003CUpdate_003Eb__58_0(Vector3 x) + { + return x.ToString(global::_003CModule_003E._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(-1770759382), _206F_202E_206D_206C_206E_200B_200C_200B_200B_206C_202D_202A_202B_202E_202B_206E_200F_206B_206E_200F_206F_206D_206A_202A_202B_202D_202D_206C_200D_206C_202C_206F_206F_202C_200C_206E_206C_202C_200D_200D_202E()); + } + + static CultureInfo _206F_202E_206D_206C_206E_200B_200C_200B_200B_206C_202D_202A_202B_202E_202B_206E_200F_206B_206E_200F_206F_206D_206A_202A_202B_202D_202D_206C_200D_206C_202C_206F_206F_202C_200C_206E_206C_202C_200D_200D_202E() + { + return CultureInfo.InvariantCulture; + } + } + 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 +470,11 @@ internal sealed class MovementController : IDisposable private bool _isTrackingPlayerInput; + private volatile bool _disposed; + + [CompilerGenerated] + private EventHandler? m_PlayerInputDetected; + public bool IsNavmeshReady { get @@ -138,18 +509,32 @@ internal sealed class MovementController : IDisposable { get { - Task> pathfindTask = _pathfindTask; - if (pathfindTask != null) + Task pathfindTask = _pathfindTask; + int num = ((pathfindTask == null) ? 772287061 : 772287062); + while (true) { - return !pathfindTask.IsCompleted; + int num2 = num; + int num3 = 772287060; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 2: + return !_200F_206D_200C_202A_206C_206E_206E_206C_200D_202C_202B_200D_206B_200B_206C_200E_202A_206D_206D_200E_206D_200E_200C_206C_206D_200C_200F_200C_200D_202E_202B_200C_206E_200B_200F_206E_200E_200B_206C_200E_202E((Task)pathfindTask); + case 1: + return false; + } + continue; + IL_0048: + num = 772287062; } - return false; } } public DestinationData? Destination { get; set; } - public DateTime MovementStartedAt { get; private set; } = DateTime.Now; + public long? MovementStartedAt { get; private set; } = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E(); public int BuiltNavmeshPercent => _navmeshIpc.GetBuildProgress(); @@ -157,258 +542,849 @@ internal sealed class MovementController : IDisposable public int NumQueuedPathfindRequests => _navmeshIpc.NumQueuedPathfindRequests; - public event EventHandler? PlayerInputDetected; + public event EventHandler? PlayerInputDetected + { + [CompilerGenerated] + add + { + EventHandler eventHandler = this.m_PlayerInputDetected; + int num = -400481209; + while (true) + { + int num2 = num; + int num3 = -400481210; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -400481209; + break; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_202E_202B_200F_200E_206B_206A_206E_200E_200F_200B_202D_200F_206A_202C_202A_200F_202E_202B_200C_206A_200C_202D_202A_206B_206C_202B_206D_206F_206D_200F_206B_202B_206B_202E_206C_200E_206E_206C_206E_200E_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_PlayerInputDetected, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? (-400481209) : (-400481212)); + break; + } + case 2: + return; + } + } + } + [CompilerGenerated] + remove + { + EventHandler eventHandler = this.m_PlayerInputDetected; + int num = -634928454; + while (true) + { + int num2 = num; + int num3 = -634928453; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -634928454; + break; + case 0: + return; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_206C_206F_206A_202B_206D_206D_202D_200F_206C_206C_206F_202E_206B_202D_202A_200D_202C_200E_202C_202E_206E_206B_206C_206C_202B_200B_200D_202A_206B_206E_200E_206D_200E_206F_202A_206F_202B_200B_200C_202D_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_PlayerInputDetected, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? (-634928454) : (-634928453)); + break; + } + } + } + } + } - 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() + { + _202A_202B_202C_200E_206E_206E_200B_200C_200E_200D_200D_206F_206D_206D_206B_200B_202D_202C_206B_200C_206F_206A_206A_202D_202C_206C_202A_206F_206B_200E_200F_202A_202B_202A_200C_200C_206D_200D_200C_206D_202E(_framework, (Action)([MethodImpl(MethodImplOptions.NoInlining)] () => + { + int num = ((!_disposed) ? 515706311 : 515706308); + DestinationData destination = default(DestinationData); + while (true) + { + int num2 = num; + int num3 = 515706311; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 515706308; + break; + case 0: + num = ((_configuration.General.NavigationProvider != Configuration.ENavigationProvider.WigglyNav) ? 515706309 : 515706319); + break; + case 2: + return; + case 8: + num = ((!(Destination == null)) ? 515706306 : 515706304); + break; + case 9: + num = ((!IsNavmeshReady) ? 515706305 : 515706310); + break; + case 5: + destination = Destination; + _navmeshIpc.StopAll(); + num = ((!(destination != null)) ? 515706305 : 515706318); + break; + case 7: + num = (IsPathfinding ? 515706306 : 515706309); + break; + case 6: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-593232842), Array.Empty()); + Stop(); + return; + case 3: + return; + case 1: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-79192567), Array.Empty()); + Restart(destination); + return; + } + } + })); + } + + public bool HasBeenMovingForAtLeast(int ms) + { + long? movementStartedAt = MovementStartedAt; + int num = ((!movementStartedAt.HasValue) ? 1811576790 : 1811576789); + while (true) + { + int num2 = num; + int num3 = 1811576788; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0053; + case 2: + return false; + case 1: + { + long valueOrDefault = movementStartedAt.GetValueOrDefault(); + return _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E() - valueOrDefault >= ms; + } + } + continue; + IL_0053: + num = 1811576789; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void Update() { - if (IsPathRunning && _isTrackingPlayerInput && DetectPlayerInputInterference()) + int num = ((!IsPathRunning) ? (-1655935346) : (-1655935301)); + NavPathfindResult result = default(NavPathfindResult); + List list = default(List); + int navmeshCalculations2 = default(int); + DestinationData destination = default(DestinationData); + bool flag = default(bool); + float num7 = default(float); + NavPathfindResult result2 = default(NavPathfindResult); + List waypoints2 = default(List); + Vector3? vector2 = default(Vector3?); + IGameObject gameObject = default(IGameObject); + Vector3 vector3 = default(Vector3); + Vector3? vector4 = default(Vector3?); + Vector3 p = default(Vector3); + Vector3 vector = default(Vector3); + while (true) { - _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) + int num2 = num; + int num3 = -1655935333; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _logger.LogWarning("Pathfinding appears stuck: {QueuedRequests} queued requests, task running for {Duration}ms", _navmeshIpc.NumQueuedPathfindRequests, Environment.TickCount64 - _pathfindStartTime); - } - if (_pathfindTask.IsCompletedSuccessfully) - { - _logger.LogInformation("Pathfinding complete, got {Count} points", _pathfindTask.Result.Count); - if (_pathfindTask.Result.Count == 0) - { - if (Destination.NavmeshCalculations == 1) - { - _logger.LogWarning("Initial pathfinding returned 0 points, attempting to find accessible destination"); - 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)); - Restart(Destination with - { - Position = vector.Value - }); - return; - } - if (Destination.IsFlying && Destination.Land) - { - _logger.LogWarning("Adjusted destination failed, trying tolerance-based pathfinding"); - if (!IsNavmeshReady) - { - _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; - if (Destination.IsFlying) - { - Vector3 vector3 = vector2; - vector3.Y = vector2.Y + 0.2f; - vector2 = vector3; - } - _pathfindStartTime = Environment.TickCount64; - _pathfindTask = _navmeshIpc.PathfindWithTolerance(vector2, Destination.Position, Destination.IsFlying, 10f, _cancellationTokenSource.Token); - Destination.NavmeshCalculations++; - return; - } - } - 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))) - { - ActionManager.Instance()->UseAction(ActionType.GeneralAction, 2u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); - } - if (!Destination.IsFlying) - { - (List, bool) tuple = _movementOverrideController.AdjustPath(list); - (list, _) = tuple; - if (tuple.Item2 && Destination.ShouldRecalculateNavmesh()) - { - if (!IsNavmeshReady) - { - _logger.LogWarning("Navmesh not ready for recalculation"); - return; - } - Destination.NavmeshCalculations++; - Destination.PartialRoute.AddRange(list); - _logger.LogInformation("Running navmesh recalculation with fudged point ({From} to {To})", list.Last(), Destination.Position); - _cancellationTokenSource = new CancellationTokenSource(); - _cancellationTokenSource.CancelAfter(TimeSpan.FromSeconds(30L)); - _pathfindStartTime = Environment.TickCount64; - _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; + case 108: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1718370293), Array.Empty()); + return; + case 102: + num = ((!(result.EndDistance > Destination.StopDistance)) ? (-1655935246) : (-1655935248)); + break; + case 84: + num = ((!Destination.CanSprint) ? (-1655935273) : (-1655935239)); + break; + case 61: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1286507068), Array.Empty()); + Stop(); + return; + case 80: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1218341412), new object[1] { _200B_206A_206A_206E_206F_200F_202B_202A_206E_200B_206F_202B_200F_202B_200D_200D_206C_206C_206D_200D_206C_206F_202E_200B_206A_206F_206E_202A_202C_206E_202E_200D_206A_202C_206F_200C_202E_200F_206A_206C_202E(global::_003CModule_003E._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(-947374176), _pathfindTask.Result.Waypoints.Select([MethodImpl(MethodImplOptions.NoInlining)] (Vector3 x) => x.ToString(global::_003CModule_003E._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(-1770759382), _003C_003Ec._206F_202E_206D_206C_206E_200B_200C_200B_200B_206C_202D_202A_202B_202E_202B_206E_200F_206B_206E_200F_206F_206D_206A_202A_202B_202D_202D_206C_200D_206C_202C_206F_206F_202C_200C_206E_206C_202C_200D_200D_202E()))) }); + _navmeshIpc.MoveTo(list, Destination.IsFlying, _pathfindTolerance); + MovementStartedAt = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E(); StartPlayerInputTracking(); ResetPathfinding(); - } - else if (_pathfindTask.IsCompleted) + num = -1655935317; + break; + case 4: + num = ((!(Destination != null)) ? (-1655935273) : (-1655935279)); + break; + case 48: + num = ((!IsPathRunning) ? (-1655935273) : (-1655935329)); + break; + case 55: { - _logger.LogWarning("Unable to complete pathfinding task"); + DestinationData? destination3 = Destination; + int num9 = navmeshCalculations2; + num3 = 1; + num4 = num9; + destination3.NavmeshCalculations = (num4 | num3) + (num4 & num3); + num = -1655935283; + break; + } + case 58: + num = ((_navmeshIpc.NumQueuedPathfindRequests <= 5) ? (-1655935339) : (-1655935278)); + break; + case 6: + Stop(); + num = -1655935273; + break; + case 2: + destination = Destination; + num = (((object)destination == null) ? (-1655935234) : (-1655935341)); + break; + case 59: + Stop(); + num = -1655935273; + break; + case 77: + num = ((!Destination.IsFlying) ? (-1655935337) : (-1655935306)); + break; + case 70: + num = (_200C_206A_200F_202C_200F_206D_202A_206C_200B_200E_206F_206C_206D_200F_200E_206F_206C_200B_200F_206A_206F_200B_200B_200B_202D_202A_202E_200F_206D_200F_202E_200F_206D_206B_202E_200D_202A_200D_206D_202E_202E(_condition, ConditionFlag.Mounted) ? (-1655935295) : (-1655935325)); + break; + case 8: + num = ((destination.MovementType == EMovementType.Landing) ? (-1655935346) : (-1655935234)); + break; + case 93: + return; + case 104: + Stop(); + return; + case 39: + flag = true; + num = -1655935243; + break; + case 3: + { + ResetPathfinding(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(51, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2018070936)); + defaultInterpolatedStringHandler.AppendFormatted(num7, global::_003CModule_003E._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(-1819906059)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-143213414)); + defaultInterpolatedStringHandler.AppendFormatted(Destination.StopDistance, global::_003CModule_003E._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(-1308263729)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-572338381)); + throw new PathfindingFailedException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 34: + num = ((!result.IsPartial) ? (-1655935246) : (-1655935235)); + break; + case 22: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1387973698), Array.Empty()); + return; + case 15: + num = (((object)result2 == null) ? (-1655935285) : (-1655935357)); + break; + case 57: + { + waypoints2 = _navmeshIpc.GetWaypoints(); + IPlayerCharacter playerCharacter3 = _206C_206C_206F_206F_202D_206B_206D_206E_202E_200D_206A_206C_200D_206A_202D_202E_206D_200F_206A_200F_202E_200F_206C_202D_206D_200F_206A_206D_200B_202B_202D_206A_200C_206F_202D_206A_200C_206F_202E_200C_202E(_objectTable); + vector2 = ((playerCharacter3 != null) ? new Vector3?(_200D_202E_202E_206E_200D_200F_206A_202E_200B_202D_206F_200E_200F_206C_202A_200F_206B_202B_202B_202D_206B_206D_202E_202D_200F_200C_202D_202E_200B_202E_200E_206B_200E_200B_200C_200B_202A_200E_200C_200E_202E((IGameObject)playerCharacter3)) : ((Vector3?)null)); + num = ((!vector2.HasValue) ? (-1655935273) : (-1655935350)); + break; + } + case 105: + num = ((!Destination.IsSmartNavRouted) ? (-1655935285) : (-1655935286)); + break; + case 101: + num = ((!DetectPlayerInputInterference()) ? (-1655935346) : (-1655935280)); + break; + case 78: + gameObject = _gameFunctions.FindObjectByDataId(Destination.DataId.Value); + num = ((gameObject is ICharacter) ? (-1655935300) : (-1655935345)); + break; + case 64: + Stop(); + num = -1655935273; + break; + case 11: + num = (_200C_206A_200F_202C_200F_206D_202A_206C_200B_200E_206F_206C_206D_200F_200E_206F_206C_200B_200F_206A_206F_200B_200B_200B_202D_202A_202E_200F_206D_200F_202E_200F_206D_206B_202E_200D_202A_200D_206D_202E_202E(_condition, ConditionFlag.Mounted) ? (-1655935273) : (-1655935254)); + break; + case 107: + { + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(2035665846), new object[3] + { + Destination.Position.ToString(global::_003CModule_003E._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(-1318690943), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()), + _pathfindTask.Result.EndDistance, + list.Count + }); + float endDistance = _pathfindTask.Result.EndDistance; + ResetPathfinding(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(66, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(272297976)); + defaultInterpolatedStringHandler2.AppendFormatted(endDistance, global::_003CModule_003E._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(-1308263729)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-572338381)); + throw new PathfindingFailedException(defaultInterpolatedStringHandler2.ToStringAndClear()); + } + case 69: + num = ((!(_206D_202E_206D_200C_206C_200B_202C_202D_206A_202C_202B_206A_200E_200E_202A_202D_206A_200C_200F_202C_202D_206E_202E_206A_200D_206C_200F_206D_206A_202B_206F_200B_206A_206B_206E_206B_200F_206B_200F_200D_202E(vector3.Y - _200D_202E_202E_206E_200D_200F_206A_202E_200B_202D_206F_200E_200F_206C_202A_200F_206B_202B_202B_202D_206B_206D_202E_202D_200F_200C_202D_202E_200B_202E_200E_206B_200E_200B_200C_200B_202A_200E_200C_200E_202E(gameObject).Y) < 1.95f)) ? (-1655935273) : (-1655935269)); + break; + case 43: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1977384111), Array.Empty()); + throw new PathfindingFailedException(global::_003CModule_003E._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(333651527)); + case 75: + { + _202C_200B_200C_202E_200F_202E_202D_200F_202C_206D_202A_202A_206C_200F_206B_206C_202E_206F_202D_200D_200F_200C_206E_200F_206F_200E_200D_206A_202D_200D_206B_200C_206E_200E_202E_206F_200E_206A_206E_202D_202E((ILogger)_logger, global::_003CModule_003E._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(1019459155), Array.Empty()); + EventHandler? eventHandler = this.PlayerInputDetected; + if (eventHandler == null) + { + goto case 104; + } + eventHandler(this, EventArgs.Empty); + num = -1655935245; + break; + } + case 72: + num = ((!(Destination != null)) ? (-1655935317) : (-1655935356)); + break; + case 7: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1150941391), new object[1] { vector4.Value.ToString(global::_003CModule_003E._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(-1770759382), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()) }); + navmeshCalculations2 = Destination.NavmeshCalculations; + Restart(Destination with + { + Position = vector4.Value + }); + num = ((!(Destination != null)) ? (-1655935283) : (-1655935316)); + break; + case 114: + num = ((!IsPathRunning) ? (-1655935318) : (-1655935338)); + break; + case 28: + _202C_200B_200C_202E_200F_202E_202D_200F_202C_206D_202A_202A_206C_200F_206B_206C_202E_206F_202D_200D_200F_200C_206E_200F_206F_200E_200D_206A_202D_200D_206B_200C_206E_200E_202E_206F_200E_206A_206E_202D_202E((ILogger)_logger, global::_003CModule_003E._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(128816295), new object[1] { result2.EndDistance }); + num = -1655935285; + break; + case 87: + Stop(); + num = -1655935273; + break; + case 51: + { + result2 = _pathfindTask.Result; + List list2 = list; + num7 = Vector3.Distance(list2[list2.Count - 1], Destination.Position); + num = (IsRouteEndAcceptable(num7, Destination.StopDistance, Destination.IsFlying, Destination.Land, result2.HasPartialInfo, result2.IsPartial) ? (-1655935253) : (-1655935308)); + break; + } + case 74: + num = ((!_gameFunctions.IsLoadingScreenVisible()) ? (-1655935238) : (-1655935322)); + break; + case 20: + num = ((!(gameObject is IEventObj)) ? (-1655935307) : (-1655935300)); + break; + case 106: + num = ((destination.MovementType != EMovementType.Landing) ? (-1655935290) : (-1655935272)); + break; + case 98: + TriggerSprintIfNeeded(waypoints2, vector2.Value); + num = -1655935273; + break; + case 33: + num = (IsOnFlightPath(p) ? (-1655935294) : (-1655935299)); + break; + case 32: + num = ((!_isTrackingPlayerInput) ? (-1655935346) : (-1655935335)); + break; + case 66: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(778434954), new object[3] + { + num7, + Destination.Position.ToString(global::_003CModule_003E._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(1450220880), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()), + Destination.StopDistance + }); + num = -1655935336; + break; + case 95: + list = Destination.PartialRoute.Concat(list).ToList(); + num = ((!Destination.IsSmartNavRouted) ? (-1655935246) : (-1655935349)); + break; + case 90: + { + IPlayerCharacter playerCharacter4 = _206C_206C_206F_206F_202D_206B_206D_206E_202E_200D_206A_206C_200D_206A_202D_202E_206D_200F_206A_200F_202E_200F_206C_202D_206D_200F_206A_206D_200B_202B_202D_206A_200C_206F_202D_206A_200C_206F_202E_200C_202E(_objectTable); + vector3 = ((playerCharacter4 != null) ? _200D_202E_202E_206E_200D_200F_206A_202E_200B_202D_206F_200E_200F_206C_202A_200F_206B_202B_202B_202D_206B_206D_202E_202D_200F_200C_202D_202E_200B_202E_200E_206B_200E_200B_200C_200B_202A_200E_200C_200E_202E((IGameObject)playerCharacter4) : Vector3.Zero); + num = ((Destination.MovementType != EMovementType.Landing) ? (-1655935324) : (-1655935313)); + break; + } + case 9: + num = ((!Destination.Land) ? (-1655935353) : (-1655935297)); + break; + case 12: ResetPathfinding(); throw new PathfindingFailedException(); - } - } - 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]) - { + case 50: + ResetPathfinding(); + throw new PathfindingFailedException(global::_003CModule_003E._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(-1937149461)); + case 10: Stop(); + num = -1655935273; + break; + case 35: + num = (Destination.IsFlying ? (-1655935273) : (-1655935344)); + break; + case 31: + num = (_200F_206D_200C_202A_206C_206E_206E_206C_200D_202C_202B_200D_206B_200B_206C_200E_202A_206D_206D_200E_206D_200E_200C_206C_206D_200C_200F_200C_200D_202E_202B_200C_206E_200B_200F_206E_200E_200B_206C_200E_202E((Task)_pathfindTask) ? (-1655935339) : (-1655935305)); + break; + case 47: + num = ((!result2.HasPartialInfo) ? (-1655935271) : (-1655935351)); + break; + case 24: + num = ((!result2.HasPartialInfo) ? (-1655935285) : (-1655935237)); + break; + case 17: + num = ((!RecalculateNavmesh(waypoints2, vector2.Value)) ? (-1655935304) : (-1655935282)); + break; + case 42: + { + DestinationData? destination4 = Destination; + int navmeshCalculations = destination4.NavmeshCalculations; + int num10 = navmeshCalculations; + num3 = 1; + num4 = num10; + destination4.NavmeshCalculations = (num4 | num3) + (num4 & num3); + Destination.PartialRoute.AddRange(list); + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1286179086), new object[2] + { + list.Last(), + Destination.Position + }); + _cancellationTokenSource = _206B_202A_206A_202B_206C_202C_202A_206C_200F_206D_206A_202E_200C_206D_206B_206F_202E_202E_206D_202C_202B_206C_206D_206E_206A_202E_202C_202B_202C_206F_206C_200C_206C_206F_202A_206F_202D_200E_206D_200E_202E(); + _200D_200B_202B_200B_206B_206C_200F_200B_200B_202E_206D_202B_202D_202E_200C_200D_202A_200C_200E_200E_200F_200F_200B_200B_206C_206F_200F_206F_202D_206D_202B_202E_206C_202C_206A_202C_206B_200B_206E_206A_202E(_cancellationTokenSource, TimeSpan.FromSeconds(30L)); + _pathfindStartTime = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E(); + _pathfindTolerance = 0.25f; + _pathfindTask = _navmeshIpc.Pathfind(list.Last(), Destination.Position, Destination.IsFlying, _202C_202B_202B_202E_202E_206E_200C_202E_206C_206C_202D_202E_202C_202C_200E_206B_206B_202B_206F_206D_200E_202D_206D_206C_206C_206E_200F_206C_206D_202B_200B_200F_202C_202D_200D_202D_200D_202D_202A_200D_202E(_cancellationTokenSource)); + return; + } + case 109: + num = ((_202B_200E_200B_200D_202A_202C_202D_202B_202E_200E_200B_200F_202E_206C_200E_200F_202A_206A_202A_202C_206A_206E_202C_200C_202B_202A_200E_200D_206A_200B_206B_206B_200C_200E_206D_202D_206C_206E_206C_206F_202E(gameObject) != ObjectKind.Aetheryte) ? (-1655935331) : (-1655935240)); + break; + case 81: + num = ((list.Count <= 0) ? (-1655935285) : (-1655935320)); + break; + case 76: + destination = Destination; + num = (((object)destination == null) ? (-1655935290) : (-1655935247)); + break; + case 19: + num = -1655935301; + break; + case 111: + num = ((!(_206D_202E_206D_200C_206C_200B_202C_202D_206A_202C_202B_206A_200E_200E_202A_202D_206A_200C_200F_202C_202D_206E_202E_206A_200D_206C_200F_206D_206A_202B_206F_200B_206A_206B_206E_206B_200F_206B_200F_200D_202E(vector3.Y - _200D_202E_202E_206E_200D_200F_206A_202E_200B_202D_206F_200E_200F_206C_202A_200F_206B_202B_202B_202D_206B_206D_202E_202D_200F_200C_202D_202E_200B_202E_200E_206B_200E_200B_200C_200B_202A_200E_200C_200E_202E(gameObject).Y) < 1.95f)) ? (-1655935273) : (-1655935343)); + break; + case 97: + destination = Destination; + num = (((object)destination == null) ? (-1655935295) : (-1655935323)); + break; + case 85: + return; + case 86: + return; + case 1: + num = ((!Destination.DataId.HasValue) ? (-1655935328) : (-1655935275)); + break; + case 63: + num = ((!((vector3 - Destination.Position).Length() < Destination.StopDistance)) ? (-1655935326) : (-1655935289)); + break; + case 62: + num = ((!destination.IsFlying) ? (-1655935295) : (-1655935315)); + break; + case 65: + { + List waypoints = _pathfindTask.Result.Waypoints; + list = waypoints.Slice(1, waypoints.Count - 1); + IPlayerCharacter playerCharacter2 = _206C_206C_206F_206F_202D_206B_206D_206E_202E_200D_206A_206C_200D_206A_202D_202E_206D_200F_206A_200F_202E_200F_206C_202D_206D_200F_206A_206D_200B_202B_202D_206A_200C_206F_202D_206A_200C_206F_202E_200C_202E(_objectTable); + p = ((playerCharacter2 != null) ? _200D_202E_202E_206E_200D_200F_206A_202E_200B_202D_206F_200E_200F_206C_202A_200F_206B_202B_202B_202D_206B_206D_202E_202D_200F_200C_202D_202E_200B_202E_200E_206B_200E_200B_200C_200B_202A_200E_200C_200E_202E((IGameObject)playerCharacter2) : list[0]); + num = ((!Destination.IsFlying) ? (-1655935236) : (-1655935293)); + break; + } + case 52: + num = (_200C_206A_200F_202C_200F_206D_202A_206C_200B_200E_206F_206C_206D_200F_200E_206F_206C_200B_200F_206A_206F_200B_200B_200B_202D_202A_202E_200F_206D_200F_202E_200F_206D_206B_202E_200D_202A_200D_206D_202E_202E(_condition, ConditionFlag.InFlight) ? (-1655935273) : (-1655935284)); + break; + case 41: + result = _pathfindTask.Result; + num = (((object)result == null) ? (-1655935246) : (-1655935359)); + break; + case 0: + num = ((gameObject == null) ? (-1655935331) : (-1655935242)); + break; + case 21: + num = ((_pathfindTask == null) ? (-1655935317) : (-1655935277)); + break; + case 73: + num = (_pathfindTimeoutLogged ? (-1655935319) : (-1655935296)); + break; + case 91: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1046286467), new object[2] + { + _navmeshIpc.NumQueuedPathfindRequests, + _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E() - _pathfindStartTime + }); + _pathfindTimeoutLogged = true; + num = -1655935319; + break; + case 88: + num = ((Destination.MovementType == EMovementType.Landing) ? (-1655935236) : (-1655935348)); + break; + case 36: + _202C_200B_200C_202E_200F_202E_202D_200F_202C_206D_202A_202A_206C_200F_206B_206C_202E_206F_202D_200D_200F_200C_206E_200F_206F_200E_200D_206A_202D_200D_206B_200C_206E_200E_202E_206F_200E_206A_206E_202D_202E((ILogger)_logger, global::_003CModule_003E._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(-671975865), new object[1] { result2.EndDistance }); + num = -1655935285; + break; + case 27: + num = ((Destination.NavmeshCalculations >= 10) ? (-1655935292) : (-1655935287)); + break; + case 82: + num = (IsNavmeshReady ? (-1655935311) : (-1655935241)); + break; + case 67: + num = ((!HasBeenMovingForAtLeast(500)) ? (-1655935290) : (-1655935255)); + break; + case 40: + { + Vector3 vector5 = vector; + vector5.Y = vector.Y + 0.2f; + vector = vector5; + num = -1655935233; + break; + } + case 14: + num = ((!_206A_202C_202C_202B_202A_200E_200D_206D_206D_200B_202D_202E_202B_206D_200D_202C_200C_202B_202E_202C_206D_206C_202C_200B_200F_200F_200F_206C_200B_200D_200F_206E_200E_206B_200B_202E_202C_202D_206F_200D_202E((Task)_pathfindTask)) ? (-1655935355) : (-1655935298)); + break; + case 112: + num = ((!Destination.IsFlying) ? (-1655935285) : (-1655935340)); + break; + case 16: + num = (Destination.IsFlying ? (-1655935246) : (-1655935310)); + break; + case 68: + { + (List, bool) tuple = _movementOverrideController.AdjustPath(list); + list = tuple.Item1; + num = ((!tuple.Item2) ? (-1655935292) : (-1655935360)); + break; + } + case 113: + num = (_gameFunctions.HasStatusPreventingSprint() ? (-1655935273) : (-1655935281)); + break; + case 71: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(849626760), Array.Empty()); + vector4 = TryFindAccessibleDestination(Destination.Position, Destination.IsFlying, Destination.Land); + num = ((!vector4.HasValue) ? (-1655935274) : (-1655935291)); + break; + case 53: + Stop(); + num = -1655935273; + break; + case 49: + { + bool num11 = _200C_206A_200F_202C_200F_206D_202A_206C_200B_200E_206F_206C_206D_200F_200E_206F_206C_200B_200F_206A_206F_200B_200B_200B_202D_202A_202E_200F_206D_200F_202E_200F_206D_206B_202E_200D_202A_200D_206D_202E_202E(_condition, ConditionFlag.InFlight); + Stop(); + num = ((!num11) ? (-1655935290) : (-1655935312)); + break; + } + case 13: + num = ((!HasBeenMovingForAtLeast(10000)) ? (-1655935290) : (-1655935318)); + break; + case 110: + num = ((!flag) ? (-1655935333) : (-1655935266)); + break; + case 56: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-453196697), new object[1] { _200C_206A_200F_202C_200F_206D_202A_206C_200B_200E_206F_206C_206D_200F_200E_206F_206C_200B_200F_206A_206F_200B_200B_200B_202D_202A_202E_200F_206D_200F_202E_200F_206D_206B_202E_200D_202A_200D_206D_202E_202E(_condition, ConditionFlag.Swimming) ? global::_003CModule_003E._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(534392554) : global::_003CModule_003E._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(-1682230213) }); + Restart(Destination, false); + return; + case 45: + num = ((!Destination.Land) ? (-1655935337) : (-1655935330)); + break; + case 18: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(160808973), new object[5] + { + num7, + Destination.Position.ToString(global::_003CModule_003E._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(2120763774), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()), + Destination.StopDistance, + result2.IsPartial, + result2.EndDistance + }); + num = -1655935336; + break; + case 96: + num = ((!result2.IsPartial) ? (-1655935285) : (-1655935342)); + break; + case 99: + num = ((!_206B_200C_206B_200C_206C_202C_206C_200F_206B_202D_202A_202A_200C_200B_202D_200D_202D_200E_206E_200E_206B_200C_206E_202A_200F_206C_206A_200B_200C_200B_200D_200F_202A_202D_206A_200B_202B_200F_202A_202B_202E((EAetheryteLocation)Destination.DataId.Value)) ? (-1655935244) : (-1655935358)); + break; + case 89: + ActionManager.Instance()->UseAction(ActionType.GeneralAction, 2u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + num = -1655935236; + break; + case 79: + num = ((Destination.NavmeshCalculations != 1) ? (-1655935337) : (-1655935268)); + break; + case 37: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-33261788), new object[1] { _pathfindTask.Result.Waypoints.Count }); + num = ((_pathfindTask.Result.Waypoints.Count != 0) ? (-1655935270) : (-1655935276)); + break; + case 30: + num = ((!_200F_206D_200C_202A_206C_206E_206E_206C_200D_202C_202B_200D_206B_200B_206C_200E_202A_206D_206D_200E_206D_200E_200C_206C_206D_200C_200F_200C_200D_202E_202B_200C_206E_200B_200F_206E_200E_200B_206C_200E_202E((Task)_pathfindTask)) ? (-1655935317) : (-1655935321)); + break; + case 26: + num = ((!result.HasPartialInfo) ? (-1655935246) : (-1655935303)); + break; + case 94: + num = ((!(Vector3.Distance(Destination.Position, vector4.Value) < 30f)) ? (-1655935274) : (-1655935332)); + break; + case 60: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1643203086), Array.Empty()); + ResetPathfinding(); + throw new PathfindingFailedException(); + case 46: + flag = false; + num = -1655935243; + break; + case 54: + num = (_200C_206A_200F_202C_200F_206D_202A_206C_200B_200E_206F_206C_206D_200F_200E_206F_206C_200B_200F_206A_206F_200B_200B_200B_202D_202A_202E_200F_206D_200F_202E_200F_206D_206B_202E_200D_202A_200D_206D_202E_202E(_condition, ConditionFlag.Swimming) ? (-1655935325) : (-1655935267)); + break; + case 29: + num = ((!_200C_206A_200F_202C_200F_206D_202A_206C_200B_200E_206F_206C_206D_200F_200E_206F_206C_200B_200F_206A_206F_200B_200B_200B_202D_202A_202E_200F_206D_200F_202E_200F_206D_206B_202E_200D_202A_200D_206D_202E_202E(_condition, ConditionFlag.Mounted)) ? (-1655935236) : (-1655935302)); + break; + case 92: + num = ((!(vector3.Y - Destination.Position.Y <= Destination.VerticalStopDistance)) ? (-1655935334) : (-1655935314)); + break; + case 25: + Stop(); + num = -1655935273; + break; + case 23: + num = (_200C_206A_200F_202C_200F_206D_202A_206C_200B_200E_206F_206C_206D_200F_200E_206F_206C_200B_200F_206A_206F_200B_200B_200B_202D_202A_202E_200F_206D_200F_202E_200F_206D_206B_202E_200D_202A_200D_206D_202E_202E(_condition, ConditionFlag.InFlight) ? (-1655935236) : (-1655935354)); + break; + case 38: + num = ((!list.Any(IsOnFlightPath)) ? (-1655935236) : (-1655935294)); + break; + case 103: + num = (Destination.IsFlying ? (-1655935292) : (-1655935265)); + break; + case 100: + { + _pathfindStartTime = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E(); + _pathfindTolerance = 10f; + _pathfindTask = _navmeshIpc.PathfindWithTolerance(vector, Destination.Position, Destination.IsFlying, 10f); + DestinationData? destination2 = Destination; + int navmeshCalculations = destination2.NavmeshCalculations; + int num8 = navmeshCalculations; + num3 = 1; + num4 = num8; + destination2.NavmeshCalculations = (num4 | num3) + (num4 & num3); + return; + } + case 83: + { + IPlayerCharacter playerCharacter = _206C_206C_206F_206F_202D_206B_206D_206E_202E_200D_206A_206C_200D_206A_202D_202E_206D_200F_206A_200F_202E_200F_206C_202D_206D_200F_206A_206D_200B_202B_202D_206A_200C_206F_202D_206A_200C_206F_202E_200C_202E(_objectTable); + vector = ((playerCharacter != null) ? _200D_202E_202E_206E_200D_200F_206A_202E_200B_202D_206F_200E_200F_206C_202A_200F_206B_202B_202B_202D_206B_206D_202E_202D_200F_200C_202D_202E_200B_202E_200E_206B_200E_200B_200C_200B_202A_200E_200C_200E_202E((IGameObject)playerCharacter) : Vector3.Zero); + num = ((!Destination.IsFlying) ? (-1655935233) : (-1655935309)); + break; + } + case 5: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(935417340), Array.Empty()); + num = (IsNavmeshReady ? (-1655935288) : (-1655935347)); + break; + case 44: + num = ((_202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E() - _pathfindStartTime <= 30000) ? (-1655935339) : (-1655935327)); + break; } } - else if ((vector4 - Destination.Position).Length() < Destination.StopDistance) + } + + internal static bool IsRouteEndAcceptable(float endDistance, float stopDistance, bool isFlying, bool land, bool hasPartialInfo, bool isPartial) + { + int num = (land ? 1 : 0); + int num2 = (isFlying ? 1 : 0); + int num3 = (((num2 | num) - (num2 ^ num) == 0) ? (-927356858) : (-927356857)); + while (true) { - if (vector4.Y - Destination.Position.Y <= Destination.VerticalStopDistance) + int num4 = num3; + num = -927356858; + num2 = num4; + int num5 = num2 + num; + int num6 = num2 & num; + switch (num5 - (num6 + num6)) { - Stop(); + case 2: + return endDistance <= stopDistance; + case 1: + return true; + case 4: + num3 = -927356857; + break; + case 0: + { + bool num7 = !isFlying; + num = (hasPartialInfo ? 1 : 0); + num2 = (num7 ? 1 : 0); + int num8 = (num2 | num) - (num2 ^ num); + num = (isPartial ? 1 : 0); + num2 = num8; + num3 = (((num2 | num) - (num2 ^ num) == 0) ? (-927356859) : (-927356860)); + break; } - else if (Destination.DataId.HasValue) - { - IGameObject gameObject = _gameFunctions.FindObjectByDataId(Destination.DataId.Value); - if ((gameObject is ICharacter || gameObject is IEventObj) ? true : false) - { - if (Math.Abs(vector4.Y - gameObject.Position.Y) < 1.95f) - { - Stop(); - } - } - 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(); - } - } - else - { - Stop(); - } - } - else - { - 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) - { - TriggerSprintIfNeeded(waypoints, vector5.Value); + case 3: + return endDistance <= stopDistance + 5f; } } } private void StartPlayerInputTracking() { - IGameObject gameObject = _objectTable[0]; - if (gameObject != null) + IPlayerCharacter playerCharacter = _206C_206C_206F_206F_202D_206B_206D_206E_202E_200D_206A_206C_200D_206A_202D_202E_206D_200F_206A_200F_202E_200F_206C_202D_206D_200F_206A_206D_200B_202B_202D_206A_200C_206F_202D_206A_200C_206F_202E_200C_202E(_objectTable); + int num = ((playerCharacter == null) ? 424392342 : 424392343); + while (true) { - _lastKnownPosition = gameObject.Position; - _expectedPosition = gameObject.Position; - _lastPositionUpdateTime = Environment.TickCount64; - _isTrackingPlayerInput = true; + int num2 = num; + int num3 = 424392342; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 424392343; + break; + case 0: + return; + case 1: + _lastKnownPosition = _200D_202E_202E_206E_200D_200F_206A_202E_200B_202D_206F_200E_200F_206C_202A_200F_206B_202B_202B_202D_206B_206D_202E_202D_200F_200C_202D_202E_200B_202E_200E_206B_200E_200B_200C_200B_202A_200E_200C_200E_202E((IGameObject)playerCharacter); + _expectedPosition = _200D_202E_202E_206E_200D_200F_206A_202E_200B_202D_206F_200E_200F_206C_202A_200F_206B_202B_202B_202D_206B_206D_202E_202D_200F_200C_202D_202E_200B_202E_200E_206B_200E_200B_200C_200B_202A_200E_200C_200E_202E((IGameObject)playerCharacter); + _lastPositionUpdateTime = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E(); + _isTrackingPlayerInput = true; + num = 424392342; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private bool DetectPlayerInputInterference() { - if (!_configuration.General.StopOnPlayerInput) + int num = (_configuration.General.StopOnPlayerInput ? 1130252873 : 1130252878); + Vector3 vector = default(Vector3); + long num5 = default(long); + IPlayerCharacter playerCharacter = default(IPlayerCharacter); + List waypoints = default(List); + Vector3 vector3 = default(Vector3); + Vector3 value = default(Vector3); + float num8 = default(float); + while (true) { - return false; - } - if (!_isTrackingPlayerInput || !_lastKnownPosition.HasValue) - { - return false; - } - IGameObject gameObject = _objectTable[0]; - if (gameObject == null) - { - return false; - } - Vector3 position = gameObject.Position; - long tickCount = Environment.TickCount64; - if (tickCount - _lastPositionUpdateTime < 100) - { - return false; - } - List waypoints = _navmeshIpc.GetWaypoints(); - if (waypoints.Count > 0) - { - _expectedPosition = waypoints[0]; - } - if (_expectedPosition.HasValue) - { - Vector3 vector = Vector3.Normalize(_expectedPosition.Value - _lastKnownPosition.Value); - Vector3 value = position - _lastKnownPosition.Value; - if (value.Length() > 0.1f) + int num2 = num; + int num3 = 1130252866; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 14: + return false; + case 6: + _lastKnownPosition = vector; + _lastPositionUpdateTime = num5; + return false; + case 3: + playerCharacter = _206C_206C_206F_206F_202D_206B_206D_206E_202E_200D_206A_206C_200D_206A_202D_202E_206D_200F_206A_200F_202E_200F_206C_202D_206D_200F_206A_206D_200B_202B_202D_206A_200C_206F_202D_206A_200C_206F_202E_200C_202E(_objectTable); + num = ((playerCharacter != null) ? 1130252875 : 1130252869); + break; + case 2: + num = (_lastKnownPosition.HasValue ? 1130252865 : 1130252877); + break; + case 5: + _expectedPosition = waypoints[0]; + num = 1130252866; + break; + case 10: + waypoints = _navmeshIpc.GetWaypoints(); + num = ((waypoints.Count <= 0) ? 1130252866 : 1130252871); + break; + case 7: + return false; + case 9: + { + vector = _200D_202E_202E_206E_200D_200F_206A_202E_200B_202D_206F_200E_200F_206C_202A_200F_206B_202B_202B_202D_206B_206D_202E_202D_200F_200C_202D_202E_200B_202E_200E_206B_200E_200B_200C_200B_202A_200E_200C_200E_202E((IGameObject)playerCharacter); + num5 = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E(); + long num6 = num5; + long lastPositionUpdateTime = _lastPositionUpdateTime; + long num7 = num6; + num = ((~(~num7 + lastPositionUpdateTime) >= 100) ? 1130252872 : 1130252876); + break; + } + case 4: + num = 1130252878; + break; + case 8: + vector3 = Vector3.Normalize(_expectedPosition.Value - _lastKnownPosition.Value); + value = vector - _lastKnownPosition.Value; + num = ((!(value.Length() > 0.1f)) ? 1130252868 : 1130252867); + break; + case 11: + num = ((!_isTrackingPlayerInput) ? 1130252877 : 1130252864); + break; + case 15: + return false; + case 13: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-52800617), new object[3] + { + num8, + value.ToString(global::_003CModule_003E._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(1450220880), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()), + vector3.ToString(global::_003CModule_003E._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(1450220880), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()) + }); + return true; + case 12: + return false; + case 1: { Vector3 vector2 = Vector3.Normalize(value); - float num = Vector3.Dot(vector, vector2); - if (num < 0.7f) - { - _logger.LogDebug("Player movement detected: alignment={Alignment:F2}, actual={Actual}, expected={Expected}", num, value.ToString("G", CultureInfo.InvariantCulture), vector.ToString("G", CultureInfo.InvariantCulture)); - return true; - } + num8 = Vector3.Dot(vector3, vector2); + num = ((!(num8 < 0.7f)) ? 1130252868 : 1130252879); + break; + } + case 0: + num = ((!_expectedPosition.HasValue) ? 1130252868 : 1130252874); + break; } } - _lastKnownPosition = position; - _lastPositionUpdateTime = tickCount; - return false; } private void StopPlayerInputTracking() @@ -419,110 +1395,272 @@ internal sealed class MovementController : IDisposable _lastPositionUpdateTime = 0L; } - private void Restart(DestinationData destination) + private void Restart(DestinationData destination, bool? fly = null) { Stop(); - if (destination.UseNavmesh) + Vector3 vector = destination.Position; + int num = (((object)destination == null) ? 961052412 : 961052413); + bool? flag = default(bool?); + bool fly2 = default(bool); + while (true) { - NavigateTo(EMovementType.None, destination.DataId, destination.Position, fly: false, sprint: false, destination.StopDistance, destination.VerticalStopDistance); - return; + int num2 = num; + int num3 = 961052415; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + bool num7; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 3: + flag = fly; + num = (flag.HasValue ? 961052410 : 961052415); + continue; + case 2: + num = ((!destination.IsFlying) ? 961052412 : 961052414); + continue; + case 6: + { + EMovementType movementType = destination.MovementType; + uint? dataId = destination.DataId; + int num8 = 1; + List list = new List(num8); + CollectionsMarshal.SetCount(list, num8); + CollectionsMarshal.AsSpan(list)[0] = vector; + NavigateTo(movementType, dataId, list, fly2, destination.CanSprint, destination.StopDistance, destination.VerticalStopDistance, destination.Land); + return; + } + case 7: + num = 961052413; + continue; + case 8: + NavigateTo(destination.MovementType, destination.DataId, vector, fly2, destination.CanSprint, destination.StopDistance, destination.VerticalStopDistance, destination.Land, destination.IsSmartNavRouted); + return; + case 0: + num7 = destination.IsFlying; + break; + case 4: + { + Vector3 vector2 = vector; + vector2.Y = vector.Y - 2.6f; + vector = vector2; + num = 961052412; + continue; + } + case 1: + num = ((!destination.Land) ? 961052412 : 961052411); + continue; + case 5: + num7 = flag == true; + break; + } + fly2 = num7; + num = ((!destination.UseNavmesh) ? 961052409 : 961052407); } - 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); } private bool IsOnFlightPath(Vector3 p) { Vector3? pointOnFloor = _navmeshIpc.GetPointOnFloor(p, unlandable: true); - if (pointOnFloor.HasValue) + int num = ((!pointOnFloor.HasValue) ? 1773669733 : 1773669734); + while (true) { - return Math.Abs(pointOnFloor.Value.Y - p.Y) > 0.5f; + int num2 = num; + int num3 = 1773669732; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return _206D_202E_206D_200C_206C_200B_202C_202D_206A_202C_202B_206A_200E_200E_202A_202D_206A_200C_200F_202C_202D_206E_202E_206A_200D_206C_200F_206D_206A_202B_206F_200B_206A_206B_206E_206B_200F_206B_200F_200D_202E(pointOnFloor.Value.Y - p.Y) > 0.5f; + case 0: + goto IL_0079; + } + continue; + IL_0079: + num = 1773669734; } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] [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()) + int num = ((!InputManager.IsAutoRunning()) ? 832014818 : 832014819); + while (true) { - _logger.LogInformation("Turning off auto-move"); - _chatFunctions.ExecuteCommand("/automove off"); + int num2 = num; + int num3 = 832014818; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + Destination = new DestinationData(type, dataId, to, stopDistance ?? 2.8f, fly, sprint, verticalStopDistance, land, useNavmesh, isSmartNavRouted); + MovementStartedAt = null; + return; + case 1: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1560991692), Array.Empty()); + _200E_202D_206F_206A_206A_206C_200F_206E_200C_206F_206B_206B_202E_202C_206E_202E_206A_200F_200B_206A_202E_202C_206E_200E_206A_202E_202B_202E_206C_206A_200F_202A_200D_206E_206F_202C_206D_202C_202B_202B_202E(global::_003CModule_003E._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(-1220827390)); + num = 832014818; + break; + case 2: + num = 832014819; + break; + } } - Destination = new DestinationData(type, dataId, to, stopDistance ?? 2.8f, fly, sprint, verticalStopDistance, land, useNavmesh); - MovementStartedAt = DateTime.MaxValue; } - public void NavigateTo(EMovementType type, uint? dataId, Vector3 to, bool fly, bool sprint, float? stopDistance = null, float? verticalStopDistance = null, bool land = false) + [MethodImpl(MethodImplOptions.NoInlining)] + 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) + int num = (IsNavmeshReady ? (-162149652) : (-162149649)); + Vector3 vector2 = default(Vector3); + while (true) { - _logger.LogWarning("Navmesh not ready, cannot start navigation to {Position}", to.ToString("G", CultureInfo.InvariantCulture)); - return; - } - fly |= _condition[ConditionFlag.Diving]; - if (fly && land) - { - Vector3 vector = to; - 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); - Destination.NavmeshCalculations++; - _cancellationTokenSource = new CancellationTokenSource(); - _cancellationTokenSource.CancelAfter(TimeSpan.FromSeconds(30L)); - Vector3 vector2 = _objectTable[0]?.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)); - } - else if (fly) - { - Vector3 vector = vector2; - vector.Y = vector2.Y + 0.2f; - vector2 = vector; - } - _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); - } - else - { - _pathfindTask = _navmeshIpc.Pathfind(vector2, to, fly, _cancellationTokenSource.Token); + int num2 = num; + int num3 = -162149651; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 9: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1778448689), new object[1] { 5f }); + _pathfindTolerance = 5f; + _pathfindTask = _navmeshIpc.PathfindWithTolerance(vector2, to, fly, 5f); + return; + case 5: + num = ((!(_206F_206E_206B_206A_206D_206A_200E_206F_202C_202E_202A_202C_200E_206F_206A_202C_200D_202D_202C_206B_206D_200F_206C_202D_200E_206B_202E_206D_200D_202B_200F_206D_206F_206E_200D_202A_206A_202E_206D_206E_202E(_aetheryteData, vector2, _206B_200E_206D_206D_200E_206C_202E_200C_206E_206C_202D_200F_206F_206C_200C_206C_200F_202D_200D_206B_202A_200F_202B_200C_202C_202A_206F_202B_206E_202C_202C_200E_206C_206B_200B_206C_202D_200F_202E_206E_202E(_clientState), EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead) < 11f)) ? (-162149653) : (-162149651)); + break; + case 1: + { + fly |= _200C_206A_200F_202C_200F_206D_202A_206C_200B_200E_206F_206C_206D_200F_200E_206F_206C_200B_200F_206A_206F_200B_200B_200B_202D_202A_202E_200F_206D_200F_202E_200F_206D_206B_202E_200D_202A_200D_206D_202E_202E(_condition, ConditionFlag.Diving); + bool num5 = fly; + num3 = (land ? 1 : 0); + num4 = (num5 ? 1 : 0); + num = ((num4 + num3 - (num4 | num3) == 0) ? (-162149659) : (-162149658)); + break; + } + case 2: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(139323207), new object[1] { to.ToString(global::_003CModule_003E._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(2120763774), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()) }); + return; + case 8: + { + PrepareNavigation(type, dataId, to, fly, sprint, stopDistance, verticalStopDistance ?? 1.95f, land, useNavmesh: true, isSmartNavRouted); + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-453779962), new object[1] { Destination }); + DestinationData? destination = Destination; + int navmeshCalculations = destination.NavmeshCalculations; + num3 = 1; + num4 = navmeshCalculations; + destination.NavmeshCalculations = (num4 | num3) + (num4 & num3); + IPlayerCharacter playerCharacter = _206C_206C_206F_206F_202D_206B_206D_206E_202E_200D_206A_206C_200D_206A_202D_202E_206D_200F_206A_200F_202E_200F_206C_202D_206D_200F_206A_206D_200B_202B_202D_206A_200C_206F_202D_206A_200C_206F_202E_200C_202E(_objectTable); + vector2 = ((playerCharacter != null) ? _200D_202E_202E_206E_200D_200F_206A_202E_200B_202D_206F_200E_200F_206C_202A_200F_206B_202B_202B_202D_206B_206D_202E_202D_200F_200C_202D_202E_200B_202E_200E_206B_200E_200B_200C_200B_202A_200E_200C_200E_202E((IGameObject)playerCharacter) : Vector3.Zero); + num = ((!fly) ? (-162149653) : (-162149656)); + break; + } + case 3: + { + _pathfindStartTime = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E(); + bool num6 = fly; + num3 = (land ? 1 : 0); + num4 = (num6 ? 1 : 0); + num = ((num4 + num3 - (num4 | num3) == 0) ? (-162149654) : (-162149660)); + break; + } + case 7: + _cancellationTokenSource = _206B_202A_206A_202B_206C_202C_202A_206C_200F_206D_206A_202E_200C_206D_206B_206F_202E_202E_206D_202C_202B_206C_206D_206E_206A_202E_202C_202B_202C_206F_206C_200C_206C_206F_202A_206F_202D_200E_206D_200E_202E(); + _200D_200B_202B_200B_206B_206C_200F_200B_200B_202E_206D_202B_202D_202E_200C_200D_202A_200C_200E_200E_200F_200F_200B_200B_206C_206F_200F_206F_202D_206D_202B_202E_206C_202C_206A_202C_206B_200B_206E_206A_202E(_cancellationTokenSource, TimeSpan.FromSeconds(30L)); + _pathfindTolerance = 0.25f; + _pathfindTask = _navmeshIpc.Pathfind(vector2, to, fly, _202C_202B_202B_202E_202E_206E_200C_202E_206C_206C_202D_202E_202C_202C_200E_206B_206B_202B_206F_206D_200E_202D_206D_206C_206C_206E_200F_206C_206D_202B_200B_200F_202C_202D_200D_202D_200D_202D_202A_200D_202E(_cancellationTokenSource)); + return; + case 0: + { + Vector3 vector = vector2; + vector.Y = vector2.Y + 1f; + vector2 = vector; + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(1008345878), new object[1] { vector2.ToString(global::_003CModule_003E._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(2120763774), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()) }); + num = -162149650; + break; + } + case 11: + { + Vector3 vector = to; + vector.Y = to.Y + 2.6f; + to = vector; + num = -162149659; + break; + } + case 10: + { + Vector3 vector = vector2; + vector.Y = vector2.Y + 0.2f; + vector2 = vector; + num = -162149650; + break; + } + case 4: + num = -162149649; + break; + case 6: + num = ((!fly) ? (-162149650) : (-162149657)); + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] public void NavigateTo(EMovementType type, uint? dataId, List to, bool fly, bool sprint, float? stopDistance, float? verticalStopDistance = null, bool land = false) { - if (!IsNavmeshReady) + int num = (IsNavmeshReady ? (-1651197937) : (-1651197943)); + while (true) { - _logger.LogWarning("Navmesh not ready, cannot start navigation to {Position}", to.Last().ToString("G", CultureInfo.InvariantCulture)); - return; + int num2 = num; + int num3 = -1651197940; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + { + fly |= _200C_206A_200F_202C_200F_206D_202A_206C_200B_200E_206F_206C_206D_200F_200E_206F_206C_200B_200F_206A_206F_200B_200B_200B_202D_202A_202E_200F_206D_200F_202E_200F_206D_206B_202E_200D_202A_200D_206D_202E_202E(_condition, ConditionFlag.Diving); + bool num5 = fly; + num3 = (land ? 1 : 0); + num4 = (num5 ? 1 : 0); + num = (((num4 | num3) - (num4 ^ num3) == 0) ? (-1651197944) : (-1651197938)); + break; + } + case 5: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(139323207), new object[1] { to.Last().ToString(global::_003CModule_003E._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(2120763774), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()) }); + return; + case 4: + PrepareNavigation(type, dataId, to.Last(), fly, sprint, stopDistance, verticalStopDistance ?? 1.95f, land, useNavmesh: false, isSmartNavRouted: false); + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1893200715), new object[1] { Destination }); + _navmeshIpc.MoveTo(to, fly, 0.25f); + MovementStartedAt = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E(); + StartPlayerInputTracking(); + return; + case 0: + num = -1651197943; + break; + case 1: + { + int index = to.Count - 1; + Vector3 value = to[to.Count - 1]; + value.Y = to[to.Count - 1].Y + 2.6f; + to[index] = value; + num = -1651197944; + break; + } + case 2: + num = ((to.Count <= 0) ? (-1651197944) : (-1651197939)); + break; + } } - fly |= _condition[ConditionFlag.Diving]; - if (fly && land && to.Count > 0) - { - int index = to.Count - 1; - Vector3 value = to[to.Count - 1]; - 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; - StartPlayerInputTracking(); } public void ResetPathfinding() @@ -531,205 +1669,752 @@ internal sealed class MovementController : IDisposable { try { - _cancellationTokenSource.Cancel(); + _200C_200F_200E_206A_206F_206D_206D_206C_202B_200B_200C_202C_200E_206C_202E_206D_202C_206B_206B_202A_206B_206F_202C_200F_202D_200C_200F_200C_206B_202D_200F_202E_200C_206A_202C_200B_202E_206F_206D_200F_202E(_cancellationTokenSource); } catch (ObjectDisposedException) { } - _cancellationTokenSource.Dispose(); + _200E_206B_202B_206D_206B_200C_200D_202B_200C_202B_200E_200B_202C_202E_202E_202E_202E_206C_200F_206E_200E_202D_202A_206C_200F_200D_206B_200B_200F_202D_206F_206D_200F_206C_202B_202D_202B_200C_200F_200D_202E(_cancellationTokenSource); + _cancellationTokenSource = null; } _pathfindTask = null; + _pathfindTimeoutLogged = false; } + [MethodImpl(MethodImplOptions.NoInlining)] private Vector3? TryFindAccessibleDestination(Vector3 target, bool flying, bool landing) { - if (!IsNavmeshReady) + int num = (IsNavmeshReady ? 1901620247 : 1901620241); + Vector3? pointOnFloor = default(Vector3?); + float num13 = default(float); + float num8 = default(float); + float[] array = default(float[]); + int num7 = default(int); + float[] array5 = default(float[]); + float num11 = default(float); + Vector3? vector = default(Vector3?); + float num14 = default(float); + while (true) { - _logger.LogWarning("Navmesh not ready, cannot find accessible destination"); - return null; - } - float[] array = ((!(flying && landing)) ? ((!flying) ? new float[3] { 1f, 3f, 5f } : new float[3] { 2f, 5f, 10f }) : new float[3] { 5f, 10f, 15f }); - float[] array2 = ((!flying) ? new float[3] { 1f, 2f, 3f } : new float[3] { 3f, 5f, 10f }); - for (int i = 0; i < array.Length; i++) - { - float num = array[i]; - float num2 = array2[Math.Min(i, array2.Length - 1)]; - Vector3? vector = _navmeshIpc.FindNearestMeshPoint(target, num, num2); - if (vector.HasValue) + int num2 = num; + int num3 = 1901620246; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + float[] array3; + float[] array2; + switch (num5 - (num6 + num6)) { - float num3 = Vector3.Distance(target, vector.Value); - if (num3 <= num * 1.5f) + case 9: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(991342630), new object[4] { - 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); - } - return vector.Value; - } - } - Vector3? pointOnFloor = _navmeshIpc.GetPointOnFloor(target, flying, num); - if (!pointOnFloor.HasValue) + target.ToString(global::_003CModule_003E._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(1450220880), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()), + pointOnFloor.Value.ToString(global::_003CModule_003E._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(-1770759382), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()), + num13, + num8 + }); + num = 1901620230; + break; + case 13: { - continue; + num8 = array[num7]; + float[] array4 = array5; + int num9 = num7; + int num10 = array5.Length; + num3 = 1; + num4 = num10; + num11 = array4[_200F_206D_202D_202C_202C_202B_200D_200B_202C_202C_202B_202A_206B_206B_200C_206F_206B_206B_206B_202D_206C_206A_200E_202B_206B_202E_200F_206A_206E_206D_202C_202B_206E_202C_200C_200F_200E_202D_200E_200D_202E(num9, ~(~num4 + num3))]; + vector = _navmeshIpc.FindNearestReachableMeshPoint(target, num8, num11); + num = ((!vector.HasValue) ? 1901620227 : 1901620242); + break; } - float num4 = Vector3.Distance(target, pointOnFloor.Value); - if (num4 <= num * 1.5f) + case 19: + array3 = new float[3]; + _200E_202E_202B_200D_206F_206E_202D_200C_206F_200D_200C_200B_206D_206B_202B_206E_200F_202D_206E_202A_206A_206B_206D_202D_206B_206C_200E_206A_206A_202D_202E_200E_206F_206E_202E_200E_200F_202E_200F_206E_202E((Array)array3, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + goto IL_0470; + case 6: + array2 = new float[3]; + _200E_202E_202B_200D_206F_206E_202D_200C_206F_200D_200C_200B_206D_206B_202B_206E_200F_202D_206E_202A_206A_206B_206D_202D_206B_206C_200E_206A_206A_202D_202E_200E_206F_206E_202E_200E_200F_202E_200F_206E_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + goto IL_01bc; + case 8: + array2 = new float[3]; + _200E_202E_202B_200D_206F_206E_202D_200C_206F_200D_200C_200B_206D_206B_202B_206E_200F_202D_206E_202A_206A_206B_206D_202D_206B_206C_200E_206A_206A_202D_202E_200E_206F_206E_202E_200E_200F_202E_200F_206E_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + goto IL_01bc; + case 10: + num13 = Vector3.Distance(target, pointOnFloor.Value); + num = ((!(num13 <= num8 * 1.5f)) ? 1901620226 : 1901620253); + break; + case 7: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1434607821), Array.Empty()); + return null; + case 11: + num = ((num7 <= 0) ? 1901620230 : 1901620255); + break; + case 18: + num = 1901620241; + break; + case 21: + pointOnFloor = _navmeshIpc.GetPointOnFloor(target, flying, num8); + num = ((!pointOnFloor.HasValue) ? 1901620226 : 1901620252); + break; + case 20: { - if (i > 0) + int num15 = num7; + num3 = 1; + num4 = num15; + int num16 = num4 ^ num3; + int num17 = num4 & num3; + num7 = num16 + (num17 + num17); + num = 1901620231; + break; + } + case 0: + array2 = new float[3]; + _200E_202E_202B_200D_206F_206E_202D_200C_206F_200D_200C_200B_206D_206B_202B_206E_200F_202D_206E_202A_206A_206B_206D_202D_206B_206C_200E_206A_206A_202D_202E_200E_206F_206E_202E_200E_200F_202E_200F_206E_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + goto IL_01bc; + case 2: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(1730269895), new object[5] { - _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); - } + target.ToString(global::_003CModule_003E._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(-1318690943), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()), + vector.Value.ToString(global::_003CModule_003E._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(-1022996025), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()), + num14, + num8, + num11 + }); + num = 1901620250; + break; + case 12: + return vector.Value; + case 5: + num = ((num7 <= 0) ? 1901620250 : 1901620244); + break; + case 4: + num14 = Vector3.Distance(target, vector.Value); + num = ((!(num14 <= num8 * 1.5f)) ? 1901620227 : 1901620243); + break; + case 17: + num = ((num7 < array.Length) ? 1901620251 : 1901620248); + break; + case 14: + { + ILogger logger = _logger; + string text = global::_003CModule_003E._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(-1069787156); + object[] obj = new object[2] + { + target.ToString(global::_003CModule_003E._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(-1770759382), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()), + null + }; + float[] array6 = array; + int num12 = array6.Length; + num3 = 1; + num4 = num12; + obj[1] = array6[~(~num4 + num3)]; + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)logger, text, obj); + return null; + } + case 1: + num3 = (landing ? 1 : 0); + num4 = (flying ? 1 : 0); + num = ((num4 + num3 - (num4 | num3) != 0) ? 1901620254 : 1901620245); + break; + case 15: + array3 = new float[3]; + _200E_202E_202B_200D_206F_206E_202D_200C_206F_200D_200C_200B_206D_206B_202B_206E_200F_202D_206E_202A_206A_206B_206D_202D_206B_206C_200E_206A_206A_202D_202E_200E_206F_206E_202E_200E_200F_202E_200F_206E_202E((Array)array3, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + goto IL_0470; + case 16: return pointOnFloor.Value; + case 3: + { + num = (flying ? 1901620240 : 1901620246); + break; + } + IL_01bc: + array = array2; + num = (flying ? 1901620249 : 1901620229); + break; + IL_0470: + array5 = array3; + num7 = 0; + num = 1901620231; + break; } } - _logger.LogWarning("Could not find accessible mesh point near {Target} within max extent {MaxExtent}", target.ToString("G", CultureInfo.InvariantCulture), array[^1]); - return null; } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe bool RecalculateNavmesh(List navPoints, Vector3 start) { - if (Destination == null) + int num = ((!(Destination == null)) ? (-392231919) : (-392231910)); + int navmeshCalculations = default(int); + EStuckRecoveryMode stuckRecoveryMode = default(EStuckRecoveryMode); + float num7 = default(float); + Vector3 vector = default(Vector3); + while (true) { - throw new InvalidOperationException("Destination is null"); - } - if (DateTime.Now - MovementStartedAt <= TimeSpan.FromSeconds(5L)) - { - return false; - } - Vector3 vector = navPoints.FirstOrDefault(); - if (vector == default(Vector3)) - { - return false; - } - float num = Vector2.Distance(new Vector2(start.X, start.Z), new Vector2(vector.X, vector.Z)); - if (Destination.LastWaypoint == null || (Destination.LastWaypoint.Position - vector).Length() > 0.1f) - { - Destination.LastWaypoint = new LastWaypointData(vector) + int num2 = num; + int num3 = -392231929; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - Distance2DAtLastUpdate = num, - UpdatedAt = Environment.TickCount64 - }; - return false; - } - if (Environment.TickCount64 - Destination.LastWaypoint.UpdatedAt > 500) - { - if (Math.Abs((double)num - Destination.LastWaypoint.Distance2DAtLastUpdate) < 0.5) - { - int navmeshCalculations = Destination.NavmeshCalculations; - switch (navmeshCalculations) + case 20: + num = -392231910; + break; + case 25: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1976407771), new object[2] { - 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: - _logger.LogWarning("Reloading navmesh (n = {Calculations}) at {Position}", navmeshCalculations, Destination.Position.ToString("G", CultureInfo.InvariantCulture)); - _navmeshIpc.Reload(); - Destination.LastWaypoint.UpdatedAt = Environment.TickCount64; - break; - case 6: - if (!IsNavmeshReady) - { - _logger.LogWarning("Navmesh not ready after reload (n = {Calculations})", navmeshCalculations); - return false; - } - _logger.LogInformation("Navmesh ready after reload, restarting navigation (n = {Calculations})", navmeshCalculations); - Restart(Destination); - break; - case 8: - _logger.LogWarning("Rebuilding navmesh (n = {Calculations}) at {Position}", navmeshCalculations, Destination.Position.ToString("G", CultureInfo.InvariantCulture)); - _navmeshIpc.Rebuild(); - Destination.LastWaypoint.UpdatedAt = Environment.TickCount64; - break; - case 9: - if (!IsNavmeshReady) - { - _logger.LogWarning("Navmesh not ready after rebuild (n = {Calculations})", navmeshCalculations); - return false; - } - _logger.LogInformation("Navmesh ready after rebuild, restarting navigation (n = {Calculations})", navmeshCalculations); - Restart(Destination); - break; - default: - if (!IsNavmeshReady) - { - _logger.LogWarning("Navmesh not ready for recalculation (n = {Calculations})", navmeshCalculations); - return false; - } - _logger.LogWarning("Recalculating navmesh (n = {Calculations}) at {Position}", navmeshCalculations, Destination.Position.ToString("G", CultureInfo.InvariantCulture)); - Restart(Destination); - break; - } - Destination.NavmeshCalculations = navmeshCalculations + 1; + navmeshCalculations, + Destination.Position.ToString(global::_003CModule_003E._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(-1318690943), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()) + }); + Restart(Destination); + num = -392231908; + break; + case 14: + num = (IsNavmeshReady ? (-392231906) : (-392231912)); + break; + case 27: + { + DestinationData? destination2 = Destination; + int num10 = navmeshCalculations; + num3 = 1; + num4 = num10; + int num11 = num4 ^ num3; + int num12 = num4 & num3; + destination2.NavmeshCalculations = num11 + (num12 + num12); return true; } - Destination.LastWaypoint.Distance2DAtLastUpdate = num; - Destination.LastWaypoint.UpdatedAt = Environment.TickCount64; - return false; + case 13: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1388006533), new object[1] { navmeshCalculations }); + return false; + case 4: + num = ((_202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E() - Destination.LastWaypoint.UpdatedAt <= 500) ? (-392231928) : (-392231915)); + break; + case 2: + goto IL_01e4; + case 19: + { + navmeshCalculations = Destination.NavmeshCalculations; + stuckRecoveryMode = _configuration.Navigation.StuckRecoveryMode; + int recoveryCap = GetRecoveryCap(stuckRecoveryMode); + num = ((navmeshCalculations < recoveryCap) ? (-392231913) : (-392231929)); + break; + } + case 11: + return false; + case 24: + goto IL_02a2; + case 15: + return false; + case 1: + goto IL_0319; + case 28: + Destination.LastWaypoint.Distance2DAtLastUpdate = num7; + Destination.LastWaypoint.UpdatedAt = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E(); + return false; + case 29: + throw _202B_202E_202C_206D_206D_200E_206B_202C_202B_206B_206B_200E_206E_206C_202A_206E_206D_206D_200C_206F_200F_200C_200C_202B_206A_200E_206F_200F_206B_200C_206A_200D_202E_206C_200B_206E_206D_202A_200D_206C_202E(global::_003CModule_003E._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(-1790597621)); + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(49, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(227167531)); + defaultInterpolatedStringHandler.AppendFormatted(navmeshCalculations); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1562364070)); + defaultInterpolatedStringHandler.AppendFormatted(stuckRecoveryMode); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + throw new PathfindingFailedException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 23: + goto IL_042f; + case 10: + Destination.LastWaypoint = new LastWaypointData(vector) + { + Distance2DAtLastUpdate = num7, + UpdatedAt = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E() + }; + return false; + case 17: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(1935768233), new object[1] { navmeshCalculations }); + Restart(Destination); + num = -392231908; + break; + case 30: + vector = navPoints.FirstOrDefault(); + num = ((!(vector == default(Vector3))) ? (-392231936) : (-392231924)); + break; + case 31: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1597622168), new object[1] { navmeshCalculations }); + return false; + case 16: + num = ((stuckRecoveryMode != EStuckRecoveryMode.Passive) ? (-392231918) : (-392231907)); + break; + case 12: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1548783703), new object[1] { navmeshCalculations }); + return false; + case 21: + { + int num9 = navmeshCalculations; + num3 = 1; + num4 = num9; + switch (~(~num4 + num3)) + { + case 1: + case 2: + case 3: + break; + case 7: + goto IL_01e4; + case 4: + goto IL_02a2; + case 0: + case 6: + goto IL_0319; + case 5: + goto IL_042f; + default: + goto IL_0593; + case 8: + goto IL_0725; + } + goto case 14; + } + case 5: + return false; + case 9: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(224794329), new object[1] { navmeshCalculations }); + Restart(Destination); + num = -392231908; + break; + case 6: + num = ((!((Destination.LastWaypoint.Position - vector).Length() > 0.1f)) ? (-392231933) : (-392231923)); + break; + case 26: + { + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(4831604), new object[1] { navmeshCalculations }); + DestinationData? destination = Destination; + int num8 = navmeshCalculations; + num3 = 1; + num4 = num8; + destination.NavmeshCalculations = (num4 | num3) + (num4 & num3); + return true; + } + case 7: + num7 = Vector2.Distance(new Vector2(start.X, start.Z), new Vector2(vector.X, vector.Z)); + num = ((Destination.LastWaypoint == null) ? (-392231923) : (-392231935)); + break; + case 18: + num = ((!(_202D_206A_202C_202A_202E_206D_202E_200B_200E_206C_202E_206D_200B_206C_206C_202B_200D_206F_200E_206C_206C_202E_206F_202C_206D_206F_200D_202E_202E_200C_200B_202E_202E_206E_202E_202B_202B_206A_206F_206B_202E((double)num7 - Destination.LastWaypoint.Distance2DAtLastUpdate) < 0.5)) ? (-392231909) : (-392231916)); + break; + case 22: + num = (HasBeenMovingForAtLeast(5000) ? (-392231911) : (-392231934)); + break; + case 3: + goto IL_0725; + case 8: + { + num = -392231927; + break; + } + IL_0319: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1352350737), new object[2] + { + navmeshCalculations, + Destination.Position.ToString(global::_003CModule_003E._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(2120763774), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()) + }); + ActionManager.Instance()->UseAction(ActionType.GeneralAction, 2u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + Destination.LastWaypoint.UpdatedAt = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E(); + num = -392231908; + break; + IL_02a2: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1763630643), new object[2] + { + navmeshCalculations, + Destination.Position.ToString(global::_003CModule_003E._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(-1318690943), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()) + }); + _navmeshIpc.Reload(); + Destination.LastWaypoint.UpdatedAt = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E(); + num = -392231908; + break; + IL_0725: + num = (IsNavmeshReady ? (-392231922) : (-392231925)); + break; + IL_0593: + num = -392231921; + break; + IL_01e4: + _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E((ILogger)_logger, global::_003CModule_003E._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(363591802), new object[2] + { + navmeshCalculations, + Destination.Position.ToString(global::_003CModule_003E._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(2120763774), _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E()) + }); + _navmeshIpc.Rebuild(); + Destination.LastWaypoint.UpdatedAt = _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E(); + num = -392231908; + break; + IL_042f: + num = (IsNavmeshReady ? (-392231914) : (-392231926)); + break; + } } - return false; } + private static int GetRecoveryCap(EStuckRecoveryMode mode) + { + int num; + int result = default(int); + switch (mode) + { + default: + num = 2066456491; + goto IL_001d; + case EStuckRecoveryMode.Aggressive: + result = 10; + num = 2066456492; + goto IL_001d; + case EStuckRecoveryMode.Conservative: + goto IL_0086; + case EStuckRecoveryMode.Passive: + goto IL_0093; + IL_001d: + while (true) + { + int num2 = num; + int num3 = 2066456493; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_001d; + case 2: + result = 10; + num = 2066456492; + break; + case 4: + num = 2066456491; + break; + case 6: + num = 2066456495; + break; + case 1: + return result; + case 5: + goto IL_0086; + case 3: + goto IL_0093; + } + continue; + end_IL_001d: + break; + } + goto case EStuckRecoveryMode.Aggressive; + IL_0093: + result = 2; + num = 2066456492; + goto IL_001d; + IL_0086: + result = 5; + num = 2066456492; + goto IL_001d; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void TriggerSprintIfNeeded(IEnumerable navPoints, Vector3 start) { float num = 0f; - foreach (Vector3 navPoint in navPoints) + IEnumerator enumerator = navPoints.GetEnumerator(); + int num2; + try { - num += (start - navPoint).Length(); - start = navPoint; - } - float num2 = 100f; - bool flag = !_gameFunctions.HasStatus(EStatus.Jog); - if (flag) - { - bool flag2; - switch (GameMain.Instance()->CurrentTerritoryIntendedUseId) + num2 = 1560481778; + while (true) { - 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; + int num3 = num2; + int num4 = 1560481777; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = 1560481778; + break; + case 2: + { + Vector3 current = enumerator.Current; + num += (start - current).Length(); + start = current; + num2 = 1560481778; + break; + } + case 3: + num2 = (_202C_202B_202E_200C_202A_200C_200C_202E_200F_200C_206B_206E_200E_206D_206C_202C_206F_206A_206E_202B_202A_202B_206C_206B_202D_202B_206A_200E_202C_202E_200F_202D_206A_206F_206E_206D_206C_206C_200E_206F_202E((IEnumerator)enumerator) ? 1560481779 : 1560481776); + break; + case 1: + goto end_IL_0019; + } + continue; + end_IL_0019: break; } - flag = flag2; } - if (flag) + finally { - num2 = 30f; + num2 = ((enumerator == null) ? 827766141 : 827766142); + while (true) + { + int num8 = num2; + int num4 = 827766140; + int num5 = num8; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = 827766142; + break; + case 2: + _200F_206A_206A_202C_202D_200D_200B_200D_202A_202E_206F_200E_202A_206A_202D_202E_202E_206F_202E_206B_202D_206A_202D_202E_200E_202A_202C_202A_200C_202E_202C_200B_202A_200D_206A_200B_200F_200C_200D_206A_202E((IDisposable)enumerator); + num2 = 827766141; + break; + case 1: + goto end_IL_00c5; + } + continue; + end_IL_00c5: + break; + } } - if (num > num2 && ActionManager.Instance()->GetActionStatus(ActionType.GeneralAction, 4u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) + float num9 = _configuration.Navigation.SprintDistanceOpenWorld; + num2 = (_gameFunctions.HasStatus(EStatus.Jog) ? 1159302720 : 1159302721); + while (true) { - _logger.LogInformation("Triggering Sprint"); - ActionManager.Instance()->UseAction(ActionType.GeneralAction, 4u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + int num10 = num2; + int num4 = 1159302720; + int num5 = num10; + int num11 = num5 + num4; + int num12 = num5 & num4; + switch (num11 - (num12 + num12)) + { + case 6: + num2 = ((ActionManager.Instance()->GetActionStatus(ActionType.GeneralAction, 4u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) != 0) ? 1159302723 : 1159302725); + break; + case 5: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1632286442), Array.Empty()); + ActionManager.Instance()->UseAction(ActionType.GeneralAction, 4u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + num2 = 1159302723; + break; + case 3: + return; + case 0: + num2 = ((!(num > num9)) ? 1159302723 : 1159302726); + break; + case 2: + num2 = 1159302721; + break; + case 4: + num9 = _configuration.Navigation.SprintDistanceTown; + num2 = 1159302720; + break; + case 1: + num2 = (_territoryData.CanUseMount(_206B_200E_206D_206D_200E_206C_202E_200C_206E_206C_202D_200F_206F_206C_200C_206C_200F_202D_200D_206B_202A_200F_202B_200C_202C_202A_206F_202B_206E_202C_202C_200E_206C_206B_200B_206C_202D_200F_202E_206E_202E(_clientState)) ? 1159302720 : 1159302724); + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] public void Stop() { StopPlayerInputTracking(); _navmeshIpc.Stop(); ResetPathfinding(); Destination = null; - if (InputManager.IsAutoRunning()) + int num = ((!InputManager.IsAutoRunning()) ? (-1332858374) : (-1332858375)); + while (true) { - _logger.LogInformation("Turning off auto-move [stop]"); - _chatFunctions.ExecuteCommand("/automove off"); + int num2 = num; + int num3 = -1332858376; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return; + case 1: + _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-532830681), Array.Empty()); + _200E_202D_206F_206A_206A_206C_200F_206E_200C_206F_206B_206B_202E_202C_206E_202E_206A_200F_200B_206A_202E_202C_206E_200E_206A_202E_202B_202E_206C_206A_200F_202A_200D_206E_206F_202C_206D_202C_202B_202B_202E(global::_003CModule_003E._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(1812716843)); + num = -1332858374; + break; + case 0: + num = -1332858375; + break; + } } } public void Dispose() { + _disposed = true; + _wigglyNavAvailability.CompatibilityChanged -= OnWigglyNavCompatibilityChanged; Stop(); } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static long _202A_206A_202A_200E_202B_200E_202B_202A_206D_206B_206A_202A_206D_206D_206D_206D_206B_202C_202A_200B_200F_206A_206C_206B_200E_200D_200F_202C_206E_202E_200D_202C_200C_202E_202D_200C_200C_200F_200B_206E_202E() + { + return Environment.TickCount64; + } + + static Task _202A_202B_202C_200E_206E_206E_200B_200C_200E_200D_200D_206F_206D_206D_206B_200B_202D_202C_206B_200C_206F_206A_206A_202D_202C_206C_202A_206F_206B_200E_200F_202A_202B_202A_200C_200C_206D_200D_200C_206D_202E(IFramework P_0, Action P_1) + { + return P_0.RunOnFrameworkThread(P_1); + } + + static bool _200F_206D_200C_202A_206C_206E_206E_206C_200D_202C_202B_200D_206B_200B_206C_200E_202A_206D_206D_200E_206D_200E_200C_206C_206D_200C_200F_200C_200D_202E_202B_200C_206E_200B_200F_206E_200E_200B_206C_200E_202E(Task P_0) + { + return P_0.IsCompleted; + } + + static Delegate _202E_202B_200F_200E_206B_206A_206E_200E_200F_200B_202D_200F_206A_202C_202A_200F_202E_202B_200C_206A_200C_202D_202A_206B_206C_202B_206D_206F_206D_200F_206B_202B_206B_202E_206C_200E_206E_206C_206E_200E_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Combine(P_0, P_1); + } + + static Delegate _206C_206F_206A_202B_206D_206D_202D_200F_206C_206C_206F_202E_206B_202D_202A_200D_202C_200E_202C_202E_206E_206B_206C_206C_202B_200B_200D_202A_206B_206E_200E_206D_200E_206F_202A_206F_202B_200B_200C_202D_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Remove(P_0, P_1); + } + + static void _202C_200B_200C_202E_200F_202E_202D_200F_202C_206D_202A_202A_206C_200F_206B_206C_202E_206F_202D_200D_200F_200C_206E_200F_206F_200E_200D_206A_202D_200D_206B_200C_206E_200E_202E_206F_200E_206A_206E_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _200B_202B_200F_202D_202E_202C_200E_202C_202E_206D_200D_206D_206B_200C_206A_200F_206D_206D_206E_202E_200E_206F_206B_200F_206F_200E_200B_200F_200C_202C_200F_206C_206D_200E_202A_200E_206B_200D_202B_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static bool _206A_202C_202C_202B_202A_200E_200D_206D_206D_200B_202D_202E_202B_206D_200D_202C_200C_202B_202E_202C_206D_206C_202C_200B_200F_200F_200F_206C_200B_200D_200F_206E_200E_206B_200B_202E_202C_202D_206F_200D_202E(Task P_0) + { + return P_0.IsCompletedSuccessfully; + } + + static void _206F_206E_200D_206B_200C_202D_200B_202A_202A_206A_206A_206C_206A_202B_200F_200B_200F_206D_202E_206A_200E_200D_202C_200C_206B_202B_206B_200C_202A_200D_200F_202A_202D_200C_200C_200D_200E_200C_200E_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static CultureInfo _202D_206D_200D_202A_202D_200D_202C_202E_202B_206C_202A_206E_206B_200F_200E_200E_200F_200D_206D_200C_206E_206A_202C_200D_200D_202B_206C_202D_206D_202D_206E_206B_200D_202B_200C_200D_200E_206C_200B_206B_202E() + { + return CultureInfo.InvariantCulture; + } + + static IPlayerCharacter _206C_206C_206F_206F_202D_206B_206D_206E_202E_200D_206A_206C_200D_206A_202D_202E_206D_200F_206A_200F_202E_200F_206C_202D_206D_200F_206A_206D_200B_202B_202D_206A_200C_206F_202D_206A_200C_206F_202E_200C_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _200D_202E_202E_206E_200D_200F_206A_202E_200B_202D_206F_200E_200F_206C_202A_200F_206B_202B_202B_202D_206B_206D_202E_202D_200F_200C_202D_202E_200B_202E_200E_206B_200E_200B_200C_200B_202A_200E_200C_200E_202E(IGameObject P_0) + { + return P_0.Position; + } + + static bool _200C_206A_200F_202C_200F_206D_202A_206C_200B_200E_206F_206C_206D_200F_200E_206F_206C_200B_200F_206A_206F_200B_200B_200B_202D_202A_202E_200F_206D_200F_202E_200F_206D_206B_202E_200D_202A_200D_206D_202E_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static CancellationTokenSource _206B_202A_206A_202B_206C_202C_202A_206C_200F_206D_206A_202E_200C_206D_206B_206F_202E_202E_206D_202C_202B_206C_206D_206E_206A_202E_202C_202B_202C_206F_206C_200C_206C_206F_202A_206F_202D_200E_206D_200E_202E() + { + return new CancellationTokenSource(); + } + + static void _200D_200B_202B_200B_206B_206C_200F_200B_200B_202E_206D_202B_202D_202E_200C_200D_202A_200C_200E_200E_200F_200F_200B_200B_206C_206F_200F_206F_202D_206D_202B_202E_206C_202C_206A_202C_206B_200B_206E_206A_202E(CancellationTokenSource P_0, TimeSpan P_1) + { + P_0.CancelAfter(P_1); + } + + static CancellationToken _202C_202B_202B_202E_202E_206E_200C_202E_206C_206C_202D_202E_202C_202C_200E_206B_206B_202B_206F_206D_200E_202D_206D_206C_206C_206E_200F_206C_206D_202B_200B_200F_202C_202D_200D_202D_200D_202D_202A_200D_202E(CancellationTokenSource P_0) + { + return P_0.Token; + } + + static string _200B_206A_206A_206E_206F_200F_202B_202A_206E_200B_206F_202B_200F_202B_200D_200D_206C_206C_206D_200D_206C_206F_202E_200B_206A_206F_206E_202A_202C_206E_202E_200D_206A_202C_206F_200C_202E_200F_206A_206C_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static float _206D_202E_206D_200C_206C_200B_202C_202D_206A_202C_202B_206A_200E_200E_202A_202D_206A_200C_200F_202C_202D_206E_202E_206A_200D_206C_200F_206D_206A_202B_206F_200B_206A_206B_206E_206B_200F_206B_200F_200D_202E(float P_0) + { + return Math.Abs(P_0); + } + + static ObjectKind _202B_200E_200B_200D_202A_202C_202D_202B_202E_200E_200B_200F_202E_206C_200E_200F_202A_206A_202A_202C_206A_206E_202C_200C_202B_202A_200E_200D_206A_200B_206B_206B_200C_200E_206D_202D_206C_206E_206C_206F_202E(IGameObject P_0) + { + return P_0.ObjectKind; + } + + static bool _206B_200C_206B_200C_206C_202C_206C_200F_206B_202D_202A_202A_200C_200B_202D_200D_202D_200E_206E_200E_206B_200C_206E_202A_200F_206C_206A_200B_200C_200B_200D_200F_202A_202D_206A_200B_202B_200F_202A_202B_202E(EAetheryteLocation P_0) + { + return AetheryteConverter.IsLargeAetheryte(P_0); + } + + static void _200E_202D_206F_206A_206A_206C_200F_206E_200C_206F_206B_206B_202E_202C_206E_202E_206A_200F_200B_206A_202E_202C_206E_200E_206A_202E_202B_202E_206C_206A_200F_202A_200D_206E_206F_202C_206D_202C_202B_202B_202E(string P_0) + { + ChatHelper.SendCommand(P_0); + } + + static uint _206B_200E_206D_206D_200E_206C_202E_200C_206E_206C_202D_200F_206F_206C_200C_206C_200F_202D_200D_206B_202A_200F_202B_200C_202C_202A_206F_202B_206E_202C_202C_200E_206C_206B_200B_206C_202D_200F_202E_206E_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static float _206F_206E_206B_206A_206D_206A_200E_206F_202C_202E_202A_202C_200E_206F_206A_202C_200D_202D_202C_206B_206D_200F_206C_202D_200E_206B_202E_206D_200D_202B_200F_206D_206F_206E_200D_202A_206A_202E_206D_206E_202E(AetheryteData P_0, Vector3 P_1, uint P_2, EAetheryteLocation P_3) + { + return P_0.CalculateDistance(P_1, P_2, P_3); + } + + static void _200C_200F_200E_206A_206F_206D_206D_206C_202B_200B_200C_202C_200E_206C_202E_206D_202C_206B_206B_202A_206B_206F_202C_200F_202D_200C_200F_200C_206B_202D_200F_202E_200C_206A_202C_200B_202E_206F_206D_200F_202E(CancellationTokenSource P_0) + { + P_0.Cancel(); + } + + static void _200E_206B_202B_206D_206B_200C_200D_202B_200C_202B_200E_200B_202C_202E_202E_202E_202E_206C_200F_206E_200E_202D_202A_206C_200F_200D_206B_200B_200F_202D_206F_206D_200F_206C_202B_202D_202B_200C_200F_200D_202E(CancellationTokenSource P_0) + { + P_0.Dispose(); + } + + static void _200E_202E_202B_200D_206F_206E_202D_200C_206F_200D_200C_200B_206D_206B_202B_206E_200F_202D_206E_202A_206A_206B_206D_202D_206B_206C_200E_206A_206A_202D_202E_200E_206F_206E_202E_200E_200F_202E_200F_206E_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } + + static int _200F_206D_202D_202C_202C_202B_200D_200B_202C_202C_202B_202A_206B_206B_200C_206F_206B_206B_206B_202D_206C_206A_200E_202B_206B_202E_200F_206A_206E_206D_202C_202B_206E_202C_200C_200F_200E_202D_200E_200D_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static InvalidOperationException _202B_202E_202C_206D_206D_200E_206B_202C_202B_206B_206B_200E_206E_206C_202A_206E_206D_206D_200C_206F_200F_200C_200C_202B_206A_200E_206F_200F_206B_200C_206A_200D_202E_206C_200B_206E_206D_202A_200D_206C_202E(string P_0) + { + return new InvalidOperationException(P_0); + } + + static double _202D_206A_202C_202A_202E_206D_202E_200B_200E_206C_202E_206D_200B_206C_206C_202B_200D_206F_200E_206C_206C_202E_206F_202C_206D_206F_200D_202E_202E_200C_200B_202E_202E_206E_202E_202B_202B_206A_206F_206B_202E(double P_0) + { + return Math.Abs(P_0); + } + + static bool _202C_202B_202E_200C_202A_200C_200C_202E_200F_200C_206B_206E_200E_206D_206C_202C_206F_206A_206E_202B_202A_202B_206C_206B_202D_202B_206A_200E_202C_202E_200F_202D_206A_206F_206E_206D_206C_206C_200E_206F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200F_206A_206A_202C_202D_200D_200B_200D_202A_202E_206F_200E_202A_206A_202D_202E_202E_206F_202E_206B_202D_206A_202D_202E_200E_202A_202C_202A_200C_202E_202C_200B_202A_200D_206A_200B_200F_200C_200D_206A_202E(IDisposable P_0) + { + P_0.Dispose(); + } } diff --git a/Questionable/Questionable.Controller/QuestController.cs b/Questionable/Questionable.Controller/QuestController.cs index ecbe977f..84bfc791 100644 --- a/Questionable/Questionable.Controller/QuestController.cs +++ b/Questionable/Questionable.Controller/QuestController.cs @@ -1,8 +1,14 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using Dalamud.Configuration; using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Keys; using Dalamud.Game.ClientState.Objects.SubKinds; @@ -12,16 +18,25 @@ using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game; +using LLib.GameData; +using LLib.Inventory; +using Lumina.Excel; +using Lumina.Excel.Sheets; 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 +46,48 @@ internal sealed class QuestController : MiniTaskController public sealed class QuestProgress { - public Quest Quest { get; } + public Questionable.Model.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(_206C_202D_202B_206F_206F_200D_200D_200B_200E_202E_206D_202B_200B_200D_206E_206B_206B_200D_202E_206D_206A_206F_200D_200C_200D_200C_206B_200D_206C_202A_206D_202D_202A_206A_206C_206E_200C_206A_202E_206D_202E()); - public QuestProgress(Quest quest, byte sequence = 0, int step = 0) + public QuestProgressInfo? InitialQuestWork { get; private set; } + + public QuestProgress(Questionable.Model.Quest quest, byte sequence = 0, int step = 0, QuestProgressInfo? initialQuestWork = null) { Quest = quest; + InitialQuestWork = initialQuestWork; SetSequence(sequence, step); } + internal void CaptureInitialQuestWork(QuestProgressInfo? questWork) + { + int num = ((InitialQuestWork != null) ? (-1691555041) : (-1691555044)); + while (true) + { + int num2 = num; + int num3 = -1691555042; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1691555044; + break; + case 2: + { + QuestProgressInfo questProgressInfo = (InitialQuestWork = questWork); + num = -1691555041; + break; + } + case 1: + return; + } + } + } + public void SetSequence(byte sequence, int step = 0) { Sequence = sequence; @@ -54,7 +97,12 @@ internal sealed class QuestController : MiniTaskController public void SetStep(int step) { Step = step; - StepProgress = new StepProgress(DateTime.Now); + StepProgress = new StepProgress(_206C_202D_202B_206F_206F_200D_200D_200B_200E_202E_206D_202B_200B_200D_206E_206B_206B_200D_202E_206D_206A_206F_200D_200C_200D_200C_206B_200D_206C_202A_206D_202D_202A_206A_206C_206E_200C_206A_202E_206D_202E()); + } + + internal void ReplaceQuest(Questionable.Model.Quest quest) + { + Quest = quest; } public void IncreasePointMenuCounter() @@ -64,9 +112,144 @@ internal sealed class QuestController : MiniTaskController PointMenuCounter = StepProgress.PointMenuCounter + 1 }; } + + static long _206C_202D_202B_206F_206F_200D_200D_200B_200E_202E_206D_202B_200B_200D_206E_206B_206B_200D_202E_206D_206A_206F_200D_200C_200D_200C_206B_200D_206C_202A_206D_202D_202A_206A_206C_206E_200C_206A_202E_206D_202E() + { + return Environment.TickCount64; + } } - public sealed record StepProgress(DateTime StartedAt, int PointMenuCounter = 0); + public sealed record StepProgress(long StartedAt, int PointMenuCounter = 0) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_206C_206C_206D_206E_200E_202D_202E_206A_200C_202C_200F_202E_202E_206B_202E_200D_200C_206B_200E_202E_200E_206A_206B_202B_200E_200F_206D_206A_200E_202B_206D_202D_202A_202D_200F_206F_202C_202D_200D_202E(typeof(StepProgress).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202E_206C_202E_202E_200B_206B_206B_206F_202D_206B_202C_202B_206F_202D_200E_202B_206B_200C_206F_206A_200B_206F_200C_202B_206E_206E_200E_202D_200E_206D_200E_206F_202B_200F_200E_206C_200B_200C_202C_206B_202E(); + _202A_206A_202E_202C_200B_206C_202B_200E_206F_206D_200F_200B_202B_202B_206E_202E_200B_202C_206A_202E_206D_206E_206A_206B_200F_206B_202D_202D_200F_200F_206B_200E_200D_202B_200F_200F_202A_202B_206C_206C_202E(stringBuilder, global::_003CModule_003E._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(889034362)); + _202A_206A_202E_202C_200B_206C_202B_200E_206F_206D_200F_200B_202B_202B_206E_202E_200B_202C_206A_202E_206D_206E_206A_206B_200F_206B_202D_202D_200F_200F_206B_200E_200D_202B_200F_200F_202A_202B_206C_206C_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? 433003168 : 433003171); + while (true) + { + int num2 = num; + int num3 = 433003170; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 433003171; + break; + case 2: + _202C_206A_202A_202D_206A_206A_206A_206C_206D_202A_202A_200D_206E_206A_206A_200D_200C_206D_200F_200F_200D_200E_202B_200D_206D_200D_206A_202D_206C_206E_200E_202A_206B_202C_202A_200E_200F_200E_200F_202D_202E(stringBuilder, '}'); + return _200D_202E_202D_200E_200C_202D_202B_202A_206E_200F_206F_206D_206D_206B_200B_200C_206B_202C_206C_206B_202C_200F_202D_202D_202D_206C_202A_202E_200C_202C_200C_206D_206A_200D_200D_200C_202C_206C_202B_202B_202E((object)stringBuilder); + case 1: + _202C_206A_202A_202D_206A_206A_206A_206C_206D_202A_202A_200D_206E_206A_206A_200D_200C_206D_200F_200F_200D_200E_202B_200D_206D_200D_206A_202D_206C_206E_200E_202A_206B_202C_202A_200E_200F_200E_200F_202D_202E(stringBuilder, ' '); + num = 433003168; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206A_202A_206C_206B_206A_200F_206E_206C_200F_202C_202D_202A_202D_202B_202D_206E_200F_206B_202E_206D_202A_206D_200F_206E_200C_206C_200D_206B_206A_200C_206A_200F_202D_200E_200B_200B_200B_206E_206C_200D_202E(); + _202A_206A_202E_202C_200B_206C_202B_200E_206F_206D_200F_200B_202B_202B_206E_202E_200B_202C_206A_202E_206D_206E_206A_206B_200F_206B_202D_202D_200F_200F_206B_200E_200D_202B_200F_200F_202A_202B_206C_206C_202E(builder, global::_003CModule_003E._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(-272407843)); + _202A_206A_202E_202C_200B_206C_202B_200E_206F_206D_200F_200B_202B_202B_206E_202E_200B_202C_206A_202E_206D_206E_206A_206B_200F_206B_202D_202D_200F_200F_206B_200E_200D_202B_200F_200F_202A_202B_206C_206C_202E(builder, StartedAt.ToString()); + _202A_206A_202E_202C_200B_206C_202B_200E_206F_206D_200F_200B_202B_202B_206E_202E_200B_202C_206A_202E_206D_206E_206A_206B_200F_206B_202D_202D_200F_200F_206B_200E_200D_202B_200F_200F_202A_202B_206C_206C_202E(builder, global::_003CModule_003E._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(-1345737934)); + _202A_206A_202E_202C_200B_206C_202B_200E_206F_206D_200F_200B_202B_202B_206E_202E_200B_202C_206A_202E_206D_206E_206A_206B_200F_206B_202D_202D_200F_200F_206B_200E_200D_202B_200F_200F_202A_202B_206C_206C_202E(builder, PointMenuCounter.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(StepProgress? other) + { + int num = (((object)this == other) ? (-1784225980) : (-1784225981)); + while (true) + { + int num2 = num; + int num3 = -1784225982; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + num = (((object)other == null) ? (-1784225982) : (-1784225983)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(StartedAt, other.StartedAt)) ? (-1784225982) : (-1784225977)); + break; + case 5: + return EqualityComparer.Default.Equals(PointMenuCounter, other.PointMenuCounter); + case 2: + num = -1784225981; + break; + case 3: + num = ((!_202C_202A_200F_202C_206C_200F_200D_206B_206B_200B_206E_200C_206F_206D_206B_202D_200C_206F_206A_200E_200F_206C_206F_202A_200C_200E_202E_202E_206E_202D_200D_206A_200C_200F_206D_206A_200C_202A_202D_200F_202E(EqualityContract, other.EqualityContract)) ? (-1784225982) : (-1784225978)); + break; + case 6: + return true; + } + } + } + + bool IEquatable.Equals(StepProgress? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_206C_206C_206D_206E_200E_202D_202E_206A_200C_202C_200F_202E_202E_206B_202E_200D_200C_206B_200E_202E_200E_206A_206B_202B_200E_200F_206D_206A_200E_202B_206D_202D_202A_202D_200F_206F_202C_202D_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202E_206C_202E_202E_200B_206B_206B_206F_202D_206B_202C_202B_206F_202D_200E_202B_206B_200C_206F_206A_200B_206F_200C_202B_206E_206E_200E_202D_200E_206D_200E_206F_202B_200F_200E_206C_200B_200C_202C_206B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202A_206A_202E_202C_200B_206C_202B_200E_206F_206D_200F_200B_202B_202B_206E_202E_200B_202C_206A_202E_206D_206E_206A_206B_200F_206B_202D_202D_200F_200F_206B_200E_200D_202B_200F_200F_202A_202B_206C_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_206A_202A_202D_206A_206A_206A_206C_206D_202A_202A_200D_206E_206A_206A_200D_200C_206D_200F_200F_200D_200E_202B_200D_206D_200D_206A_202D_206C_206E_200E_202A_206B_202C_202A_200E_200F_200E_200F_202D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200D_202E_202D_200E_200C_202D_202B_202A_206E_200F_206F_206D_206D_206B_200B_200C_206B_202C_206C_206B_202C_200F_202D_202D_202D_206C_202A_202E_200C_202C_200C_206D_206A_200D_200D_200C_202C_206C_202B_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206A_202A_206C_206B_206A_200F_206E_206C_200F_202C_202D_202A_202D_202B_202D_206E_200F_206B_202E_206D_202A_206D_200F_206E_200C_206C_200D_206B_206A_200C_206A_200F_202D_200E_200B_200B_200B_206E_206C_200D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _202C_202A_200F_202C_206C_200F_200D_206B_206B_200B_206E_200C_206F_206D_206B_202D_200C_206F_206A_200E_200F_206C_206F_202A_200C_200E_202E_202E_206E_202D_200D_206A_200C_200F_206D_206A_200C_202A_202D_200F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } public enum ECurrentQuestType { @@ -85,6 +268,60 @@ internal sealed class QuestController : MiniTaskController SingleQuestB } + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__62_0; + + public static Func _003C_003E9__152_0; + + public static Func _003C_003E9__152_1; + + public static Func _003C_003E9__155_0; + + public static Func _003C_003E9__158_1; + + public static Func _003C_003E9__161_0; + + internal bool _003C_002Ector_003Eb__62_0() + { + return true; + } + + internal bool _003CTryPickPriorityQuest_003Eb__152_0(PriorityQuestInfo x) + { + return x.IsAvailable; + } + + internal ElementId _003CTryPickPriorityQuest_003Eb__152_1(PriorityQuestInfo x) + { + return x.QuestId; + } + + internal string _003CExportQuestPriority_003Eb__155_0(Questionable.Model.Quest x) + { + return _202B_206B_206E_206A_200D_206F_202C_200F_206E_200D_200E_202E_200C_206E_200C_202A_200C_200B_202D_206D_202E_206B_202B_206B_206C_200F_200C_206C_206D_206F_200D_200E_202A_202B_206E_206F_200B_206E_206A_202E((object)x.Id); + } + + internal ElementId _003CAddAllAvailableQuests_003Eb__158_1(Questionable.Model.Quest q) + { + return q.Id; + } + + internal ElementId _003CSavePriorityQuests_003Eb__161_0(Questionable.Model.Quest q) + { + return q.Id; + } + + static string _202B_206B_206E_206A_200D_206F_202C_200F_206E_200D_200E_202E_200C_206E_200C_202A_200C_200B_202D_206D_202E_206B_202B_206B_206C_200F_200C_206C_206D_206F_200D_200E_202A_202B_206E_206F_200B_206E_206A_202E(object P_0) + { + return P_0.ToString(); + } + } + private readonly IClientState _clientState; private readonly IObjectTable _objectTable; @@ -97,14 +334,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 +370,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; @@ -141,47 +402,82 @@ internal sealed class QuestController : MiniTaskController 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; + + [CompilerGenerated] + private AutomationTypeChangedEventHandler? m_AutomationTypeChanged; private const char ClipboardSeparator = ';'; + public string? LastStopReason { get; private set; } + + public List SessionConditions { get; } = new List(); + public EAutomationType AutomationType { get { return _automationType; } + [MethodImpl(MethodImplOptions.NoInlining)] set { - if (value != _automationType) + int num = ((value != _automationType) ? (-698969907) : (-698969909)); + while (true) { - _logger.LogInformation("Setting automation type to {NewAutomationType} (previous: {OldAutomationType})", value, _automationType); - _automationType = value; - this.AutomationTypeChanged?.Invoke(this, value); + int num2 = num; + int num3 = -698969911; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -698969909; + break; + case 2: + return; + case 4: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(135636341), new object[2] { value, _automationType }); + _automationType = value; + num = ((value == EAutomationType.Manual) ? (-698969912) : (-698969911)); + break; + case 1: + this.AutomationTypeChanged?.Invoke(this, value); + return; + case 0: + _commandAfterStopFired = false; + num = -698969912; + break; + } } } } @@ -190,23 +486,41 @@ internal sealed class QuestController : MiniTaskController { get { - if (_simulatedQuest != null) + int num = ((_simulatedQuest == null) ? 836552805 : 836552801); + while (true) { - return (_simulatedQuest, ECurrentQuestType.Simulated); + int num2 = num; + int num3 = 836552800; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + return (_gatheringQuest, ECurrentQuestType.Gathering); + case 1: + return (_simulatedQuest, ECurrentQuestType.Simulated); + case 6: + num = 836552801; + break; + case 4: + return null; + case 2: + num = ((!_questFunctions.IsReadyToAcceptQuest(_nextQuest.Quest.Id)) ? 836552809 : 836552800); + break; + case 0: + return (_nextQuest, ECurrentQuestType.Next); + case 3: + return (_startedQuest, ECurrentQuestType.Normal); + case 7: + num = ((_startedQuest == null) ? 836552804 : 836552803); + break; + case 5: + num = ((_nextQuest == null) ? 836552809 : 836552802); + break; + case 9: + num = ((_gatheringQuest == null) ? 836552807 : 836552808); + break; + } } - if (_nextQuest != null && _questFunctions.IsReadyToAcceptQuest(_nextQuest.Quest.Id)) - { - return (_nextQuest, ECurrentQuestType.Next); - } - if (_gatheringQuest != null) - { - return (_gatheringQuest, ECurrentQuestType.Gathering); - } - if (_startedQuest != null) - { - return (_startedQuest, ECurrentQuestType.Normal); - } - return null; } } @@ -220,9 +534,11 @@ internal sealed class QuestController : MiniTaskController public QuestProgress? GatheringQuest => _gatheringQuest; + private IPlayerCharacter? LocalPlayer => _202A_206E_200F_206E_206D_202E_206B_202A_206B_200F_200C_206C_202A_206E_200D_206B_206B_206C_206A_200D_202B_200F_206D_206E_202C_200B_200B_206B_202A_200E_206E_200F_202A_206F_206A_206F_202C_200D_202A_206B_202E(_objectTable); + public QuestProgress? PendingQuest => _pendingQuest; - public List ManualPriorityQuests { get; } = new List(); + public List ManualPriorityQuests { get; } = new List(); public string? DebugState { get; private set; } @@ -232,24 +548,101 @@ internal sealed class QuestController : MiniTaskController public bool IsRunning => !_taskQueue.AllTasksComplete; + public bool IsDeathRecoveryPending => _deathRecoveryPending; + public TaskQueue TaskQueue => _taskQueue; public string? CurrentTaskState { get { - if (_taskQueue.CurrentTaskExecutor is IDebugStateProvider debugStateProvider) + IDebugStateProvider debugStateProvider = _taskQueue.CurrentTaskExecutor as IDebugStateProvider; + int num = ((debugStateProvider == null) ? (-1185520346) : (-1185520347)); + while (true) { - return debugStateProvider.GetDebugState(); + int num2 = num; + int num3 = -1185520348; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return null; + case 1: + return debugStateProvider.GetDebugState(); + case 0: + goto IL_005b; + } + continue; + IL_005b: + num = -1185520347; } - return null; } } - public event AutomationTypeChangedEventHandler? AutomationTypeChanged; + public event AutomationTypeChangedEventHandler? AutomationTypeChanged + { + [CompilerGenerated] + add + { + AutomationTypeChangedEventHandler automationTypeChangedEventHandler = this.m_AutomationTypeChanged; + int num = 1773301825; + while (true) + { + int num2 = num; + int num3 = 1773301827; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1773301825; + break; + case 2: + { + AutomationTypeChangedEventHandler automationTypeChangedEventHandler2 = automationTypeChangedEventHandler; + AutomationTypeChangedEventHandler value2 = (AutomationTypeChangedEventHandler)_200E_202A_206A_202D_200B_202C_202C_200E_202C_200D_206A_202D_200E_206E_200C_206F_206C_200C_206E_202C_200E_200C_200F_200E_206B_206D_202D_206C_200D_202B_200D_202B_202E_206C_206E_200F_206E_206B_200D_206D_202E((Delegate)automationTypeChangedEventHandler2, (Delegate)value); + automationTypeChangedEventHandler = Interlocked.CompareExchange(ref this.m_AutomationTypeChanged, value2, automationTypeChangedEventHandler2); + num = (((object)automationTypeChangedEventHandler != automationTypeChangedEventHandler2) ? 1773301825 : 1773301826); + break; + } + case 1: + return; + } + } + } + [CompilerGenerated] + remove + { + AutomationTypeChangedEventHandler automationTypeChangedEventHandler = this.m_AutomationTypeChanged; + int num = -1372912432; + while (true) + { + int num2 = num; + int num3 = -1372912431; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return; + case 1: + { + AutomationTypeChangedEventHandler automationTypeChangedEventHandler2 = automationTypeChangedEventHandler; + AutomationTypeChangedEventHandler value2 = (AutomationTypeChangedEventHandler)_200B_206D_200F_202D_202D_206B_202A_200B_202B_200F_202A_200B_206F_206A_206B_200D_206B_206F_206F_200D_206E_206E_202B_202A_206B_206D_200B_206C_202A_206C_202D_206C_202B_206A_206A_206E_206F_202A_200D_206B_202E((Delegate)automationTypeChangedEventHandler2, (Delegate)value); + automationTypeChangedEventHandler = Interlocked.CompareExchange(ref this.m_AutomationTypeChanged, value2, automationTypeChangedEventHandler2); + num = (((object)automationTypeChangedEventHandler != automationTypeChangedEventHandler2) ? (-1372912432) : (-1372912429)); + break; + } + case 0: + num = -1372912432; + break; + } + } + } + } - 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 +650,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,27 +668,60 @@ internal sealed class QuestController : MiniTaskController _toastGui = toastGui; _configuration = configuration; _taskCreator = taskCreator; - _singlePlayerDutyConfigComponent = singlePlayerDutyConfigComponent; + _gatheringPointRegistry = gatheringPointRegistry; + _framework = framework; _autoDutyIpc = autoDutyIpc; _pluginInterface = pluginInterface; - _logger = logger; - _toastGui.ErrorToast += base.OnErrorToast; - _toastGui.Toast += OnNormalToast; - _condition.ConditionChange += OnConditionChange; - _clientState.Logout += OnLogout; + _priorityResolver = priorityResolver; + _reRouteService = reRouteService; + _smartNavRouteEnqueuer = smartNavRouteEnqueuer; + _gearRepairService = gearRepairService; + _notificationService = notificationService; + _commandManager = commandManager; + _206C_202A_200E_200B_202B_206C_206E_202D_200D_200C_206B_206D_202B_206E_206F_202E_202D_206D_200E_200E_200D_206E_206B_202B_202A_206E_202B_200F_200D_200C_202D_202C_200F_206A_206F_206D_206D_206E_200E_206D_202E(_toastGui, (IToastGui.OnErrorToastDelegate)base.OnErrorToast); + _200C_206A_202E_202A_200F_202B_206D_200D_202B_206C_200E_202C_206F_206B_206C_206A_206F_206C_202D_200F_200E_206D_200D_202A_206A_206A_206F_206C_200D_206B_202A_200F_200F_200F_202C_206E_206A_206F_206D_202C_202E(_toastGui, (IToastGui.OnNormalToastDelegate)OnNormalToast); + _202C_202A_202A_200C_202C_200B_200D_200B_200F_202E_200C_202A_200D_206C_206C_206E_200C_200D_202C_200E_202C_200B_202D_206B_202B_200C_202C_202B_202C_206D_206F_200F_206A_202D_206C_200F_206C_200D_202A_206C_202E(_condition, (ICondition.ConditionChangeDelegate)OnConditionChange); + _202E_202A_206E_200D_202D_202D_202A_202A_200C_202A_200D_206F_206A_206A_206B_200C_200F_206C_200F_200D_206D_206B_202D_202E_200B_200F_206E_200F_200D_202E_200F_206C_200D_200D_202C_200B_200D_202B_202C_200C_202E(_clientState, (IClientState.LogoutDelegate)OnLogout); _movementController.PlayerInputDetected += OnPlayerInputDetected; + _questRegistry.Reloaded += OnQuestRegistryReloaded; } + private static ushort GetQuestIdValue(ElementId id) + { + QuestId questId = id as QuestId; + int num = (((object)questId != null) ? 725707103 : 725707100); + while (true) + { + int num2 = num; + int num3 = 725707101; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return _200E_202C_200B_200D_200F_202B_206C_206B_202A_206E_206D_200C_202C_206E_200F_200C_200C_206E_200D_202A_200B_206F_202B_202A_202C_202E_200F_206B_206D_200C_200D_202C_206D_200C_200D_200B_202E_202D_206A_200F_202E((ElementId)questId); + case 1: + return 0; + case 0: + goto IL_0051; + } + continue; + IL_0051: + num = 725707100; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public void Reload() { - lock (_progressLock) + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1125370578), Array.Empty()); + QuestRegistry.Snapshot questSnapshot = _questRegistry.Build(); + Dictionary gatheringPoints = _gatheringPointRegistry.Build(); + _202C_200F_200B_200E_206E_202A_206C_200C_206F_200E_206F_200E_206C_200E_202D_202D_200B_202B_202C_200E_202C_200C_200C_200D_206D_206A_206D_200F_200C_202E_200C_206F_202C_202E_206A_202A_202B_200F_206D_206E_202E(_206B_202B_206C_206B_206A_200C_206A_206B_206C_206E_200C_200C_200B_202D_202D_202B_206E_200F_206D_200C_206A_202E_206E_206D_200E_200F_206C_206F_200C_206B_200E_200B_202C_200B_202B_202A_206D_200B_202E_200F_202E(_framework, (System.Action)delegate { - _logger.LogInformation("Reload, resetting current quest progress"); ResetInternalState(); - ResetAutoRefreshState(); - _questRegistry.Reload(); - _singlePlayerDutyConfigComponent.Reload(); - } + _gatheringPointRegistry.Publish(gatheringPoints); + _questRegistry.Publish(questSnapshot); + })).GetResult(); } private void ResetInternalState() @@ -298,650 +731,1219 @@ internal sealed class QuestController : MiniTaskController _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; - } - + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void Update() { ActionManager* ptr = ActionManager.Instance(); - if (ptr != null) + int num = ((ptr == null) ? 119738168 : 119738155); + ITaskExecutor currentTaskExecutor = default(ITaskExecutor); + bool flag = default(bool); + float num5 = default(float); + long num6 = default(long); + while (true) { - float num = Math.Max(ptr->AnimationLock, (ptr->CastTimeElapsed > 0f) ? (ptr->CastTimeTotal - ptr->CastTimeElapsed) : 0f); - if (num > 0f) + int num2 = num; + int num3 = 119738142; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - _safeAnimationEnd = DateTime.Now.AddSeconds(1f + num); + case 49: + num = (_202C_202E_202E_202D_206F_200D_202D_202A_206E_202E_202E_200F_206E_206B_206C_202B_202E_202B_202A_200B_202C_206E_200C_202E_200B_206F_206D_206B_202C_200F_200C_202E_206C_206A_200F_202C_206F_200F_202E_202C_202E(_keyState, VirtualKey.ESCAPE) ? 119738174 : 119738115); + break; + case 45: + num = ((!_deathRecoveryPending) ? 119738157 : 119738126); + break; + case 4: + StopAllDueToConditionFailed(global::_003CModule_003E._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(303863827)); + num = 119738158; + break; + case 2: + num = ((!_202C_202E_202E_202D_206F_200D_202D_202A_206E_202E_202E_200F_206E_206B_206C_202B_202E_202B_202A_200B_202C_206E_200C_202E_200B_206F_206D_206B_202C_200F_200C_202E_206C_206A_200F_202C_206F_200F_202E_202C_202E(_keyState, VirtualKey.ESCAPE)) ? 119738159 : 119738127); + break; + case 38: + num = ((AutomationType != EAutomationType.Manual) ? 119738123 : 119738129); + break; + case 27: + num = (_taskQueue.AllTasksComplete ? 119738158 : 119738121); + break; + case 39: + num = (_206F_202B_202C_206E_206C_200C_206E_206C_206A_206C_200D_202C_202E_202D_200F_200B_206A_206C_202D_202E_202D_206A_202A_202C_202E_200C_206F_206F_202B_206F_200F_202E_206E_202A_202B_206A_206E_200E_200C_206B_202E(_condition, ConditionFlag.InDeepDungeon) ? 119738158 : 119738117); + break; + case 51: + num = ((!_configuration.General.UseEscToCancelQuesting) ? 119738173 : 119738140); + break; + case 34: + UpdateCurrentTask(); + return; + case 25: + _escPressCount = 1; + num = 119738171; + break; + case 16: + num = ((!_206C_200C_206D_202E_206F_200B_206F_200F_206F_206D_200D_202A_200C_200C_200C_206F_202E_206F_200E_206D_200D_202B_200E_206B_202E_206B_200E_206C_202E_200D_206B_206B_202D_206E_206C_206C_200C_202C_206A_202E_202E(_condition)) ? 119738165 : 119738143); + break; + case 30: + currentTaskExecutor = _taskQueue.CurrentTaskExecutor; + num = ((currentTaskExecutor is Duty.WaitAutoDutyExecutor) ? 119738128 : 119738130); + break; + case 13: + num = (_206F_202B_202C_206E_206C_200C_206E_206C_206A_206C_200D_202C_202E_202D_200F_200B_206A_206C_202D_202E_202D_206A_202A_202C_202E_200C_206F_206F_202B_206F_200F_202E_206E_202A_202B_206A_206E_200E_200C_206B_202E(_condition, ConditionFlag.BoundByDuty56) ? 119738158 : 119738169); + break; + case 7: + num = ((!CheckStopConditions(BuildEvaluationContext())) ? 119738172 : 119738134); + break; + case 29: + num = ((_200F_202C_206D_200F_200D_206C_206B_200E_202D_202E_206E_206B_202C_200C_202E_202B_200E_202A_202D_200F_202E_206B_206A_206A_200B_202D_202E_200C_206D_202D_200B_202A_206E_206D_202E_200C_206F_200B_200F_206B_202E() - _lastEscPressTime <= 1000) ? 119738174 : 119738118); + break; + case 50: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1370191864), new object[1] { _deathCount }); + _deathCount = 0; + StopAllDueToConditionFailed(global::_003CModule_003E._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(-497867308)); + _deathRecoveryPending = true; + num = 119738158; + break; + case 41: + { + int escPressCount = _escPressCount; + num3 = 1; + num4 = escPressCount; + _escPressCount = (num4 | num3) + (num4 & num3); + num = 119738171; + break; } - } - if (AutomationType == EAutomationType.Manual && !IsRunning && !IsQuestWindowOpen) - { - return; - } - UpdateCurrentQuest(); - if (!_clientState.IsLoggedIn) - { - StopAllDueToConditionFailed("Logged out"); - } - bool flag; - if (_condition[ConditionFlag.Unconscious]) - { - if (!_condition[ConditionFlag.Unconscious] || !_condition[ConditionFlag.SufferingStatusAffliction63] || _clientState.TerritoryType != 1052) + case 54: { - ITaskExecutor currentTaskExecutor = _taskQueue.CurrentTaskExecutor; - flag = ((currentTaskExecutor is Duty.WaitAutoDutyExecutor || currentTaskExecutor is Duty.WaitLevelingModeExecutor) ? true : false); - if (!flag && !_taskQueue.AllTasksComplete) - { - StopAllDueToConditionFailed("HP = 0"); - } + int deathCount = _deathCount; + num3 = 1; + num4 = deathCount; + _deathCount = (num4 | num3) + (num4 & num3); + num = ((_configuration.General.MaxDeathsBeforeStop <= 0) ? 119738122 : 119738133); + break; } - } - else if (_configuration.General.UseEscToCancelQuesting) - { - if (_keyState[VirtualKey.ESCAPE] && !_lastEscDown) - { - DateTime now = DateTime.Now; - if (now - _lastEscPressTime <= EscDoublePressWindow) - { - _escPressCount++; - } - else - { - _escPressCount = 1; - } - _lastEscPressTime = now; - if (_escPressCount >= 2) - { - if (!_taskQueue.AllTasksComplete) - { - StopAllDueToConditionFailed("ESC pressed twice"); - } - _escPressCount = 0; - } - } - if (!_keyState[VirtualKey.ESCAPE] && DateTime.Now - _lastEscPressTime > EscDoublePressWindow) - { + case 19: + num = (flag ? 119738158 : 119738114); + break; + case 44: + num = (_taskQueue.AllTasksComplete ? 119738166 : 119738160); + break; + case 26: + num = ((!_configuration.General.DeathRecoveryEnabled) ? 119738138 : 119738152); + break; + case 46: + StopAllDueToConditionFailed(global::_003CModule_003E._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(-8306048)); + num = 119738166; + break; + case 43: + _deathRecoveryPending = false; + num = ((AutomationType == EAutomationType.Manual) ? 119738170 : 119738139); + break; + case 12: + num = ((!(currentTaskExecutor is Duty.WaitLevelingModeExecutor)) ? 119738142 : 119738128); + break; + case 52: + num = 119738155; + break; + case 1: + return; + case 23: + num = (_deathRecoveryPending ? 119738158 : 119738116); + break; + case 8: + return; + case 32: + _lastEscDown = _202C_202E_202E_202D_206F_200D_202D_202A_206E_202E_202E_200F_206E_206B_206C_202B_202E_202B_202A_200B_202C_206E_200C_202E_200B_206F_206D_206B_202C_200F_200C_202E_206C_206A_200F_202C_206F_200F_202E_202C_202E(_keyState, VirtualKey.ESCAPE); + num = 119738158; + break; + case 35: + _lastEscDown = _202C_202E_202E_202D_206F_200D_202D_202A_206E_202E_202E_200F_206E_206B_206C_202B_202E_202B_202A_200B_202C_206E_200C_202E_200B_206F_206D_206B_202C_200F_200C_202E_206C_206A_200F_202C_206F_200F_202E_202C_202E(_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) + _lastEscPressTime = 0L; + num = 119738158; + break; + case 0: + flag = false; + num = 119738125; + break; + case 10: + _safeAnimationEnd = _200F_202C_206D_200F_200D_206C_206B_200E_202D_202E_206E_206B_202C_200C_202E_202B_200E_202A_202D_200F_202E_206B_206A_206A_200B_202D_202E_200C_206D_202D_200B_202A_206E_206D_202E_200C_206F_200B_200F_206B_202E() + (long)(1000f * (1f + num5)); + num = 119738168; + break; + case 28: + num = (_206F_202B_202C_206E_206C_200C_206E_206C_206A_206C_200D_202C_202E_202D_200F_200B_206A_206C_202D_202E_202D_206A_202A_202C_202E_200C_206F_206F_202B_206F_200F_202E_206E_202A_202B_206A_206E_200E_200C_206B_202E(_condition, ConditionFlag.BoundByDuty) ? 119738158 : 119738131); + break; + case 33: + return; + case 11: + num = ((_deathCount < _configuration.General.MaxDeathsBeforeStop) ? 119738122 : 119738156); + break; + case 9: + num = (IsQuestWindowOpen ? 119738123 : 119738136); + break; + case 47: + num = ((!_configuration.Stop.Enabled) ? 119738172 : 119738137); + break; + case 14: + flag = true; + num = 119738125; + break; + case 37: + _lastEscPressTime = num6; + num = ((_escPressCount < 2) ? 119738159 : 119738162); + break; + case 5: + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-631514189), Array.Empty()); + _gatheringController.Replan(); + _fateController.Replan(); + CheckNextTasks(global::_003CModule_003E._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(-729869715)); + return; + case 6: + num = (_deathRecoveryPending ? 119738123 : 119738175); + break; + case 22: { - 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; - } + num6 = _200F_202C_206D_200F_200D_206C_206B_200E_202D_202E_206E_206B_202C_200C_202E_202B_200E_202A_202D_200F_202E_206B_206A_206A_200B_202D_202E_200C_206D_202D_200B_202A_206E_206D_202E_200C_206F_200B_200F_206B_202E(); + long num7 = num6; + long lastEscPressTime = _lastEscPressTime; + long num8 = num7; + num = ((~(~num8 + lastEscPressTime) > 1000) ? 119738119 : 119738167); + break; } - 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; - } - } + case 24: + _escPressCount = 0; + num = 119738174; + break; + case 18: + return; + case 20: + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1210328484), new object[1] { _deathCount }); + _deathRecoveryPending = true; + _movementController.Stop(); + _combatController.Stop(global::_003CModule_003E._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(303863827)); + num = 119738158; + break; + case 17: + num = (_lastEscDown ? 119738159 : 119738120); + break; + case 21: + UpdateCurrentQuest(); + num = (_200C_206C_202D_202B_200C_202B_206D_202A_206E_206D_202E_202D_200D_202C_200F_202B_200B_206F_200D_206E_206D_202D_206E_206A_206B_200C_200E_200E_206F_200E_200B_206B_200D_202E_200B_200E_206C_202E_200D_206D_202E(_clientState) ? 119738113 : 119738124); + break; + case 36: + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(645367081), Array.Empty()); + return; + case 42: + num = ((_202B_206D_200E_202E_200F_202D_200B_206C_202B_206B_206F_202A_200B_200B_202C_206E_200B_202B_206E_202C_200E_206C_200F_206F_200B_202D_206C_206F_206B_200E_202D_202A_206D_200B_206E_200C_202E_202E_202A_206E_202E(_clientState) == 1052) ? 119738158 : 119738112); + break; + case 53: + num5 = _200C_200B_202E_200D_206A_206D_206E_202C_200B_206E_200C_200E_202A_200C_202C_202C_206B_206F_206D_206B_206F_202E_206F_206A_200E_206A_202D_206B_206E_200F_206C_206F_200F_206B_206E_206C_200C_202E_202E_206D_202E(ptr->AnimationLock, (ptr->CastTimeElapsed > 0f) ? (ptr->CastTimeTotal - ptr->CastTimeElapsed) : 0f); + num = ((!(num5 > 0f)) ? 119738168 : 119738132); + break; + case 31: + num = ((!_206F_202B_202C_206E_206C_200C_206E_206C_206A_206C_200D_202C_202E_202D_200F_200B_206A_206C_202D_202E_202D_206A_202A_202C_202E_200C_206F_206F_202B_206F_200F_202E_206E_202A_202B_206A_206E_200E_200C_206B_202E(_condition, ConditionFlag.Unconscious)) ? 119738163 : 119738141); + break; + case 3: + num = ((!_206F_202B_202C_206E_206C_200C_206E_206C_206A_206C_200D_202C_202E_202D_200F_200B_206A_206C_202D_202E_202D_206A_202A_202C_202E_200C_206F_206F_202B_206F_200F_202E_206E_202A_202B_206A_206E_200E_200C_206B_202E(_condition, ConditionFlag.SufferingStatusAffliction63)) ? 119738112 : 119738164); + break; + case 55: + num = ((!IsRunning) ? 119738172 : 119738161); + break; + case 40: + _escPressCount = 0; + num = 119738159; + break; + case 15: + num = (IsRunning ? 119738123 : 119738135); + break; + case 48: + num = ((AutomationType != EAutomationType.Manual) ? 119738161 : 119738153); + break; } } - flag = AutomationType == EAutomationType.Automatic && (_taskQueue.AllTasksComplete || _taskQueue.CurrentTaskExecutor?.CurrentTask is WaitAtEnd.WaitQuestAccepted); - bool flag2; - if (flag) - { - 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; } + [MethodImpl(MethodImplOptions.NoInlining)] private void UpdateCurrentQuest() { - lock (_progressLock) + DebugState = null; + int num = (_200C_206C_202D_202B_200C_202B_206D_202A_206E_206D_202E_202D_200D_202C_200F_202B_200B_206F_200D_206E_206D_202D_206E_206A_206B_200C_200E_200E_206F_200E_200B_206B_200D_202E_200B_200E_206C_202E_200D_206D_202E(_clientState) ? 500553962 : 500553939); + QuestProgress questProgress = default(QuestProgress); + long num5 = default(long); + QuestProgress questProgress2 = default(QuestProgress); + ElementId id = default(ElementId); + QuestResolution resolution = default(QuestResolution); + QuestSequence questSequence = default(QuestSequence); + byte b = default(byte); + QuestSequence questSequence2 = default(QuestSequence); + int num6 = default(int); + bool flag = default(bool); + while (true) { - DebugState = null; - if (!_clientState.IsLoggedIn) + int num2 = num; + int num3 = 500553971; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - ResetInternalState(); - DebugState = "Not logged in"; + default: + continue; + case 16: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(17, 1); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(-431495923)); + defaultInterpolatedStringHandler4.AppendFormatted(_pendingQuest.Quest.Id); + DebugState = defaultInterpolatedStringHandler4.ToStringAndClear(); return; } - if (_configuration.General.ClearPriorityQuestsOnCompletion && ManualPriorityQuests.Count > 0) + case 36: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(876494549), Array.Empty()); + return; + case 77: { - 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"); - } + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(19, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1974788457)); + defaultInterpolatedStringHandler.AppendFormatted(questProgress.Sequence); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1164901664)); + DebugState = defaultInterpolatedStringHandler.ToStringAndClear(); + Stop(global::_003CModule_003E._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(-566770488)); + return; } - if (_pendingQuest != null) - { - if (!_questFunctions.IsQuestAccepted(_pendingQuest.Quest.Id)) - { - DebugState = $"Waiting for Leve {_pendingQuest.Quest.Id}"; - return; - } - _startedQuest = _pendingQuest; - _pendingQuest = null; - CheckNextTasks("Pending quest accepted"); - } - if (_simulatedQuest == null && _nextQuest != null && !((!_nextQuest.Quest.Info.IsRepeatable) ? (!_questFunctions.IsQuestAcceptedOrComplete(_nextQuest.Quest.Id)) : (!_questFunctions.IsQuestAccepted(_nextQuest.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; - } - byte b; - QuestProgress questProgress; - if (_simulatedQuest != null) - { - b = _simulatedQuest.Sequence; - questProgress = _simulatedQuest; - } - else if (_nextQuest != null) - { - questProgress = _nextQuest; - b = _nextQuest.Sequence; - if (_questFunctions.IsReadyToAcceptQuest(_nextQuest.Quest.Id) && _nextQuest.Step == 0 && _taskQueue.AllTasksComplete && AutomationType == EAutomationType.Automatic) - { - ExecuteNextStep(); - } - } - else if (_gatheringQuest != null) - { - questProgress = _gatheringQuest; - b = _gatheringQuest.Sequence; - if (_gatheringQuest.Step == 0 && _taskQueue.AllTasksComplete && AutomationType == EAutomationType.Automatic) - { - ExecuteNextStep(); - } - } - else - { - _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; - } - } - if (questProgress == null) - { - 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; - } - DebugState = "No quest active"; - Stop("No quest active"); - } - else if (questProgress.Step == 255) - { - DebugState = $"Waiting for sequence update (current: {questProgress.Sequence})"; - if (!_taskQueue.AllTasksComplete) - { - DebugState = "Step 255 - processing interrupted tasks"; - } - else - { - if (this.CurrentQuest == null) - { - return; - } - TimeSpan timeSpan = DateTime.Now - this.CurrentQuest.StepProgress.StartedAt; - if (timeSpan > TimeSpan.FromSeconds(3L)) - { - _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"); - } - } - } - } - else if (_gameFunctions.IsOccupied() && !_gameFunctions.IsOccupiedWithCustomDeliveryNpc(questProgress.Quest)) - { - DebugState = "Occupied"; - } - else if (_movementController.IsPathfinding) - { - DebugState = "Pathfinding is running"; - } - else if (_movementController.IsPathRunning) - { - DebugState = "Path is running"; - } - else if (DateTime.Now < _safeAnimationEnd) - { - DebugState = "Waiting for Animation"; - } - else if (questProgress.Sequence != b) + case 9: + num5 = _200F_202C_206D_200F_200D_206C_206B_200E_202D_202E_206E_206B_202C_200C_202E_202B_200E_202A_202D_200F_202E_206B_206A_206A_200B_202D_202E_200C_206D_202D_200B_202A_206E_206D_202E_200C_206F_200B_200F_206B_202E() - CurrentQuest.StepProgress.StartedAt; + num = ((num5 <= 3000) ? 500553927 : 500553952); + continue; + case 68: + questProgress2 = _gatheringQuest; + num = 500553948; + continue; + case 39: + id = _nextQuest.Quest.Id; + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1114857583), new object[1] { id }); + num = ((AutomationType != EAutomationType.SingleQuestA) ? 500553896 : 500553906); + continue; + case 30: + num = ((!_configuration.General.ClearPriorityQuestsOnCompletion) ? 500553917 : 500553919); + continue; + case 34: + num = ((resolution.Type != EQuestResolutionType.GatheringQuest) ? 500553947 : 500553928); + continue; + case 23: + num = 500553914; + continue; + case 85: + num = ((!_taskQueue.AllTasksComplete) ? 500553982 : 500553961); + continue; + case 94: + num = (_taskQueue.AllTasksComplete ? 500553972 : 500553977); + continue; + case 26: + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(345467355), new object[2] { resolution.LevelingTargetLevel, resolution.LevelingQuestName }); + EnqueueLevelingTasks(resolution.LevelingTargetLevel, resolution.LevelingQuestName); + num = 500553982; + continue; + case 10: + DebugState = global::_003CModule_003E._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(986870335); + return; + case 71: + num = ((!_taskQueue.AllTasksComplete) ? 500553947 : 500553904); + continue; + case 49: + DebugState = global::_003CModule_003E._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(-1139429695); + Stop(global::_003CModule_003E._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(-95366062)); + return; + case 5: + num = ((_nextQuest.Step != 0) ? 500553937 : 500553958); + continue; + case 6: + num = ((_206B_200F_202A_202A_200D_200E_202E_202C_202C_206F_206E_206D_206C_206D_202E_202A_200F_206D_206C_200F_206E_202B_206E_202E_200D_206F_206D_202D_202D_202A_200B_202E_206C_202C_202D_200E_206E_200E_206A_206B_202E(questSequence).Count <= 0) ? 500553927 : 500553891); + continue; + case 42: + DebugState = global::_003CModule_003E._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(107162773); + return; + case 44: + num = ((!_resumeAfterSideTasks) ? 500553965 : 500553901); + continue; + case 57: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(1073205601), Array.Empty()); + return; + case 69: + num = ((!IsLevelingModeActive()) ? 500553931 : 500553969); + continue; + case 58: + DebugState = global::_003CModule_003E._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(480693288); + Stop(global::_003CModule_003E._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(1459557493)); + return; + case 3: { questProgress.SetSequence(b); - CheckNextTasks($"New sequence {questProgress == _startedQuest}/{_questFunctions.GetCurrentQuestInternal(allowNewMsq: true)}"); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(13, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-785106425)); + defaultInterpolatedStringHandler3.AppendFormatted(questProgress == _startedQuest); + CheckNextTasks(defaultInterpolatedStringHandler3.ToStringAndClear()); + return; } - else + case 54: + num = ((resolution.MsqState != MainScenarioQuestState.Unavailable) ? 500553963 : 500553930); + continue; + case 17: + num = ((CurrentQuest == null) ? 500553927 : 500553978); + continue; + case 24: + num = ((resolution.MsqState != MainScenarioQuestState.LoadingScreen) ? 500553938 : 500553943); + continue; + case 60: + num = ((resolution.Type != EQuestResolutionType.NoQuest) ? 500553959 : 500553895); + continue; + case 70: + return; + case 48: + CheckNextTasks(global::_003CModule_003E._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(53047503)); + num = 500553979; + continue; + case 55: + num = ((!_gameFunctions.IsOccupied()) ? 500553936 : 500553950); + continue; + case 20: { - QuestSequence questSequence2 = questProgress.Quest.FindSequence(questProgress.Sequence); - if (questSequence2 == null) + (QuestProgress?, byte) tuple = HandleGameStateTransition(resolution); + questProgress = tuple.Item1; + b = tuple.Item2; + num = ((questProgress != null) ? 500553947 : 500553909); + continue; + } + case 74: + num = ((_200F_202C_206D_200F_200D_206C_206B_200E_202D_202E_206E_206B_202C_200C_202E_202B_200E_202A_202D_200F_202E_206B_206A_206A_200B_202D_202E_200C_206D_202D_200B_202A_206E_206D_202E_200C_206F_200B_200F_206B_202E() >= _safeAnimationEnd) ? 500553941 : 500553933); + continue; + case 2: + DebugState = global::_003CModule_003E._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(175297337); + return; + case 86: + num = ((_nextQuest == null) ? 500553900 : 500553889); + continue; + case 81: + num = ((questProgress.Step != 255) ? 500553924 : 500553907); + continue; + case 28: + DebugState = global::_003CModule_003E._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(985351839); + return; + case 95: + resolution = _priorityResolver.Resolve(new QuestSlots(_simulatedQuest, _nextQuest, _gatheringQuest, ManualPriorityQuests, AutomationType)); + b = resolution.Sequence; + num = ((!resolution.IsSlotBased) ? 500553905 : 500553946); + continue; + case 84: + num = ((!IsLevelingModeActive()) ? 500553957 : 500553902); + continue; + case 32: + ResetInternalState(); + DebugState = global::_003CModule_003E._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(-148758110); + return; + case 80: + CurrentQuest.SetStep(_206B_200F_202A_202A_200D_200E_202E_202C_202C_206F_206E_206D_206C_206D_202E_202A_200F_206D_206C_200F_206E_202B_206E_202E_200D_206F_206D_202D_202D_202A_200B_202E_206C_202C_202D_200E_206E_200E_206A_206B_202E(questSequence).Count - 1); + CheckNextTasks(global::_003CModule_003E._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(-1012011183)); + num = 500553927; + continue; + case 29: + goto IL_0812; + case 82: + num = ((!_nextQuest.Quest.Info.IsRepeatable) ? 500553926 : 500553942); + continue; + case 65: + _startedQuest = _nextQuest; + AutomationType = EAutomationType.SingleQuestB; + num = 500553896; + continue; + case 41: + switch (resolution.Type) { - DebugState = $"Sequence {questProgress.Sequence} not found"; - Stop("Unknown sequence"); + case EQuestResolutionType.GatheringQuest: + break; + case EQuestResolutionType.NextQuest: + goto IL_0812; + default: + goto IL_0893; + case EQuestResolutionType.Simulated: + goto end_IL_0045; } - else if (questSequence2.Steps.Count > 0 && questProgress.Step >= questSequence2.Steps.Count) + goto case 68; + case 7: + _resumeAfterSideTasks = false; + CheckNextTasks(global::_003CModule_003E._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(892046062)); + return; + case 33: + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1491984430), new object[1] { resolution.DebugReason }); + _startedQuest = null; + Stop(global::_003CModule_003E._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(1340199486)); + num = 500553929; + continue; + case 62: + DebugState = global::_003CModule_003E._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(1954349361); + return; + case 47: + questProgress = questProgress2; + num = ((resolution.Type != EQuestResolutionType.NextQuest) ? 500553937 : 500553964); + continue; + case 13: + return; + case 52: + return; + case 76: + num = ((ManualPriorityQuests.Count <= 0) ? 500553917 : 500553916); + continue; + case 43: + ExecuteNextStep(); + num = 500553947; + continue; + case 4: + num = ((_206B_200F_202A_202A_200D_200E_202E_202C_202C_206F_206E_206D_206C_206D_202E_202A_200F_206D_206C_200F_206E_202B_206E_202E_200D_206F_206D_202D_202D_202A_200B_202E_206C_202C_202D_200E_206E_200E_206A_206B_202E(questSequence2).Count <= 0) ? 500553934 : 500553953); + continue; + case 72: + num = ((questProgress.Sequence == b) ? 500553890 : 500553968); + continue; + case 87: + _startedQuest = _pendingQuest; + _pendingQuest = null; + OnQuestAccepted(_startedQuest.Quest.Id); + num = ((AutomationType != EAutomationType.Manual) ? 500553923 : 500553960); + continue; + case 90: + _runningDebugTasks = false; + num = 500553951; + continue; + case 11: + DebugState = global::_003CModule_003E._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(-1546358832); + return; + case 88: + num = ((AutomationType != EAutomationType.Automatic) ? 500553937 : 500553944); + continue; + case 91: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1755037908), new object[1] { _startedQuest?.Quest.Id }); + _nextQuest = null; + OnQuestAccepted(id); + num = ((AutomationType != EAutomationType.Manual) ? 500553900 : 500553920); + continue; + case 31: + num = ((!_questFunctions.IsReadyToAcceptQuest(_nextQuest.Quest.Id)) ? 500553937 : 500553974); + continue; + case 63: + num = (_taskQueue.AllTasksComplete ? 500553897 : 500553976); + continue; + case 1: + ExecuteNextStep(); + num = 500553947; + continue; + case 93: + DebugState = global::_003CModule_003E._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(985351839); + return; + case 18: + num = ((questProgress.Step < _206B_200F_202A_202A_200D_200E_202E_202C_202C_206F_206E_206D_206C_206D_202E_202A_200F_206D_206C_200F_206E_202B_206E_202E_200D_206F_206D_202D_202D_202A_200B_202E_206C_202C_202D_200E_206E_200E_206A_206B_202E(questSequence2).Count) ? 500553934 : 500553922); + continue; + case 79: + num6 = ManualPriorityQuests.RemoveAll(delegate(Questionable.Model.Quest q) { - DebugState = "Step not found"; - Stop("Unknown step"); - } - else + int num7 = ((!_questFunctions.IsQuestComplete(q.Id)) ? (-617280555) : (-617280556)); + while (true) + { + int num8 = num7; + int num9 = -617280555; + int num10 = num8; + switch ((num10 | num9) - (num10 & num9)) + { + case 2: + goto IL_0051; + case 1: + return !_questFunctions.IsQuestAccepted(q.Id); + case 0: + return false; + } + continue; + IL_0051: + num7 = -617280556; + } + }); + num = ((num6 <= 0) ? 500553917 : 500553981); + continue; + case 83: + DebugState = global::_003CModule_003E._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(-1635772020); + return; + case 8: + num = ((_simulatedQuest != null) ? 500553900 : 500553893); + continue; + case 22: + num = ((_startedQuest == null) ? 500553929 : 500553925); + continue; + case 0: + DebugState = global::_003CModule_003E._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(232950675); + return; + case 78: + num = ((_pendingQuest == null) ? 500553979 : 500553912); + continue; + case 21: + num = ((!_taskQueue.AllTasksComplete) ? 500553937 : 500553899); + continue; + case 14: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(123159112), new object[2] { - DebugState = null; + num6, + (num6 == 1) ? global::_003CModule_003E._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(2004137011) : global::_003CModule_003E._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(1391970161) + }); + num = 500553917; + continue; + case 27: + return; + case 67: + num = ((AutomationType != EAutomationType.Automatic) ? 500553947 : 500553970); + continue; + case 56: + DebugState = global::_003CModule_003E._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(-1681077109); + Stop(global::_003CModule_003E._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(291364474)); + return; + case 75: + num = (_questFunctions.IsQuestAccepted(_pendingQuest.Quest.Id) ? 500553892 : 500553955); + continue; + case 64: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(39, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1214957768)); + defaultInterpolatedStringHandler2.AppendFormatted(questProgress.Sequence); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1618480346)); + DebugState = defaultInterpolatedStringHandler2.ToStringAndClear(); + num = (_taskQueue.AllTasksComplete ? 500553954 : 500553903); + continue; + } + case 40: + num = ((questProgress != null) ? 500553915 : 500553910); + continue; + case 66: + num = ((resolution.Type != EQuestResolutionType.LevelingMode) ? 500553935 : 500553983); + continue; + case 73: + questProgress2 = null; + num = 500553948; + continue; + case 15: + num = 500553939; + continue; + case 51: + return; + case 12: + num = ((!IsLevelingModeActive()) ? 500553894 : 500553967); + continue; + case 59: + num = ((_gatheringQuest.Step != 0) ? 500553947 : 500553908); + continue; + case 38: + questSequence2 = questProgress.Quest.FindSequence(questProgress.Sequence); + num = ((questSequence2 != null) ? 500553975 : 500553918); + continue; + case 92: + DebugState = global::_003CModule_003E._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(840560323); + return; + case 25: + num = ((!_runningDebugTasks) ? 500553951 : 500553932); + continue; + case 61: + DebugState = null; + return; + case 45: + num = (_gameFunctions.IsOccupiedWithCustomDeliveryNpc(questProgress.Quest) ? 500553936 : 500553971); + continue; + case 50: + num = ((!_movementController.IsPathRunning) ? 500553913 : 500553888); + continue; + case 19: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(131538696), new object[3] + { + (float)num5 / 1000f, + questProgress.Quest.Id, + questProgress.Sequence + }); + questSequence = questProgress.Quest.FindSequence(questProgress.Sequence); + num = ((questSequence == null) ? 500553927 : 500553973); + continue; + case 89: + num = (flag ? 500553900 : 500553940); + continue; + case 35: + num = ((!_movementController.IsPathfinding) ? 500553921 : 500553945); + continue; + case 37: + flag = !_questFunctions.IsQuestAccepted(_nextQuest.Quest.Id); + num = 500553898; + continue; + case 53: + flag = !_questFunctions.IsQuestAcceptedOrComplete(_nextQuest.Quest.Id); + num = 500553898; + continue; + case 46: + break; + IL_0893: + num = 500553956; + continue; + IL_0812: + questProgress2 = _nextQuest; + num = 500553948; + continue; + end_IL_0045: + break; + } + questProgress2 = _simulatedQuest; + num = 500553948; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private (QuestProgress?, byte) HandleGameStateTransition(QuestResolution resolution) + { + ElementId questId = resolution.QuestId; + byte sequence = resolution.Sequence; + int num = ((_startedQuest == null) ? (-1173757477) : (-1173757476)); + IPlayerCharacter localPlayer = default(IPlayerCharacter); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + EClassJob valueOrDefault = default(EClassJob); + uint? num5 = default(uint?); + while (true) + { + int num2 = num; + int num3 = -1173757479; + int num4 = num2; + EClassJob? obj; + EClassJob? eClassJob; + switch ((num4 | num3) - (num4 & num3)) + { + case 16: + obj = null; + goto IL_05e9; + case 20: + num = ((!CheckStopConditions(BuildEvaluationContext(_startedQuest.Quest.Id))) ? (-1173757499) : (-1173757497)); + break; + case 13: + localPlayer = LocalPlayer; + num = ((localPlayer == null) ? (-1173757483) : (-1173757494)); + break; + case 27: + return (null, 0); + case 25: + return (null, 0); + case 23: + num = ((!_priorityResolver.ShouldStartLevelingMode(_200C_206C_200D_202E_202B_206C_200B_202E_202E_206E_206F_202E_200F_202C_200F_200E_206B_206B_200E_202B_202A_202A_206C_200F_206A_206E_206B_206F_202E_206E_206A_206B_200E_202E_200C_200F_200C_200B_206E_202A_202E((ICharacter)localPlayer), AutomationType)) ? (-1173757480) : (-1173757500)); + break; + case 30: + _startedQuest = null; + return (null, 0); + case 31: + num = ((_startedQuest == null) ? (-1173757499) : (-1173757474)); + break; + case 11: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(602028547), Array.Empty()); + _startedQuest = null; + Stop(global::_003CModule_003E._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(1040882752)); + return (null, 0); + case 28: + num = ((!_questRegistry.TryGetQuest(questId, out quest)) ? (-1173757489) : (-1173757475)); + break; + case 0: + CheckNextTasks(global::_003CModule_003E._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(-1782843254)); + return (null, 0); + case 14: + num = (quest.Info.ClassJobs.Contains(valueOrDefault) ? (-1173757485) : (-1173757496)); + break; + case 18: + return (null, 0); + case 15: + num = (_taskQueue.AllTasksComplete ? (-1173757498) : (-1173757492)); + break; + case 4: + { + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1924633093), new object[2] + { + quest.Info.Name, + resolution.Type + }); + IPlayerCharacter? localPlayer2 = LocalPlayer; + num5 = ((localPlayer2 != null) ? new uint?(_206E_200C_200F_200B_202D_202C_200E_200E_206D_206B_206B_200E_206B_200D_200E_200E_200D_202B_206F_200B_202B_200B_206A_200D_200E_200E_206D_206D_206E_200B_206F_200C_206D_202E_200F_200F_200E_202C_202B_200D_202E((ICharacter)localPlayer2).RowId) : ((uint?)null)); + num = (num5.HasValue ? (-1173757503) : (-1173757495)); + break; + } + case 1: + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(787738588), new object[2] + { + _200C_206C_200D_202E_202B_206C_200B_202E_202E_206E_206F_202E_200F_202C_200F_200E_206B_206B_200E_202B_202A_202A_206C_200F_206A_206E_206B_206F_202E_206E_206A_206B_200E_202E_200C_200F_200C_200B_206E_202A_202E((ICharacter)localPlayer), + quest.Info.Level + }); + Stop(global::_003CModule_003E._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(-533650636)); + num = -1173757493; + break; + case 29: + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-173068371), new object[2] + { + _200C_206C_200D_202E_202B_206C_200B_202E_202E_206E_206F_202E_200F_202C_200F_200E_206B_206B_200E_202B_202A_202A_206C_200F_206A_206E_206B_206F_202E_206E_206A_206B_200E_202E_200C_200F_200C_200B_206E_202A_202E((ICharacter)localPlayer), + quest.Info.Level + }); + ClearTasksInternal(); + EnqueueLevelingTasks(quest.Info.Level, quest.Info.Name); + num = -1173757493; + break; + case 2: + num = ((_startedQuest == null) ? (-1173757498) : (-1173757482)); + break; + case 19: + num = ((_200C_206C_200D_202E_202B_206C_200B_202E_202E_206E_206F_202E_200F_202C_200F_200E_206B_206B_200E_202B_202A_202A_206C_200F_206A_206E_206B_206F_202E_206E_206A_206B_200E_202E_200C_200F_200C_200B_206E_202A_202E((ICharacter)localPlayer) >= quest.Info.Level) ? (-1173757483) : (-1173757490)); + break; + case 22: + num = ((_startedQuest == null) ? (-1173757504) : (-1173757486)); + break; + case 26: + num = -1173757476; + break; + case 10: + _startedQuest = CreateQuestProgress(quest, sequence); + OnQuestAccepted(quest.Id); + num = ((AutomationType != EAutomationType.Manual) ? (-1173757484) : (-1173757502)); + break; + case 12: + num = ((AutomationType != EAutomationType.SingleQuestB) ? (-1173757479) : (-1173757488)); + break; + case 17: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-992424436), new object[2] + { + quest.Info.Name, + _206F_200D_200C_206B_200F_206C_206A_200D_200D_200F_206F_206D_200D_200F_206E_206B_202C_202B_206B_206B_202E_200C_202B_202D_202E_200C_206E_200C_200F_206A_200E_200E_202A_202D_206B_206A_200F_202A_200E_206D_202E(valueOrDefault) + }); + Stop(_200D_200B_200C_200D_202C_200F_202C_202C_200E_200D_202B_200D_206A_202B_206F_202E_202A_202A_200E_206F_206B_202C_206E_206E_202E_200F_202A_206D_202B_206E_200E_200E_206C_206B_202B_200F_200C_200F_202A_202E_202E(global::_003CModule_003E._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(-1325975955), quest.Info.Name, global::_003CModule_003E._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(-2120371242), _206F_200D_200C_206B_200F_206C_206A_200D_200D_200F_206F_206D_200D_200F_206E_206B_202C_202B_206B_206B_202E_200C_202B_202D_202E_200C_206E_200C_200F_206A_200E_200E_202A_202D_206B_206A_200F_202A_200E_206D_202E(valueOrDefault))); + return (null, 0); + case 8: + num = ((quest.Info.ClassJobs.Count <= 0) ? (-1173757485) : (-1173757481)); + break; + case 9: + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1025428266), Array.Empty()); + AutomationType = EAutomationType.Manual; + num = -1173757479; + break; + case 6: + num = (_questFunctions.IsQuestAccepted(_startedQuest.Quest.Id) ? (-1173757499) : (-1173757491)); + break; + case 24: + obj = (EClassJob)num5.GetValueOrDefault(); + goto IL_05e9; + case 7: + num = ((!_questFunctions.IsQuestComplete(_startedQuest.Quest.Id)) ? (-1173757499) : (-1173757473)); + break; + case 21: + return (_startedQuest, _startedQuest.Sequence); + case 5: + num = ((!_206F_202D_202C_200B_202C_202C_202A_206B_202B_200E_202B_206C_206D_206F_206F_200B_202B_200C_202E_206C_200B_206F_202D_200F_202C_202E_206D_206E_200E_206D_200D_206B_202C_206C_202E_200F_206D_202B_200B_200D_202E(_startedQuest.Quest.Id, questId)) ? (-1173757477) : (-1173757478)); + break; + case 3: + { + return (_startedQuest, sequence); } + IL_05e9: + eClassJob = obj; + valueOrDefault = eClassJob.GetValueOrDefault(); + num = ((!_206C_206E_206A_200D_202A_206B_202E_202A_200E_200F_206A_202E_206A_206E_202D_206D_202B_202C_202A_202C_206E_206C_200E_200C_206C_202B_200F_202A_206B_202D_202E_200F_202D_200B_200C_202C_206A_206A_202C_206B_202E(valueOrDefault)) ? (-1173757485) : (-1173757487)); + break; } } } + private bool IsLevelingModeActive() + { + ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; + int num = ((task is Duty.StartLevelingModeTask) ? (-1819957801) : (-1819957805)); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = -1819957803; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return _taskQueue.HasLevelingTasks; + case 4: + flag = false; + num = -1819957803; + break; + case 2: + flag = true; + num = -1819957803; + break; + case 5: + return true; + case 3: + num = -1819957805; + break; + case 0: + num = (flag ? (-1819957808) : (-1819957804)); + break; + case 6: + num = ((!(task is Duty.WaitLevelingModeTask)) ? (-1819957807) : (-1819957801)); + break; + } + } + } + + 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() { - if (CurrentQuest == null) + int num = ((CurrentQuest != null) ? 1297799609 : 1297799614); + QuestSequence questSequence = default(QuestSequence); + while (true) { - return (Sequence: null, Step: null, createTasks: false); + int num2 = num; + int num3 = 1297799610; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + return (Sequence: null, Step: null, createTasks: true); + case 3: + questSequence = CurrentQuest.Quest.FindSequence(CurrentQuest.Sequence); + num = ((questSequence != null) ? 1297799611 : 1297799615); + break; + case 1: + num = ((_206B_200F_202A_202A_200D_200E_202E_202C_202C_206F_206E_206D_206C_206D_202E_202A_200F_206D_206C_200F_206E_202B_206E_202E_200D_206F_206D_202D_202D_202A_200B_202E_206C_202C_202D_200E_206E_200E_206A_206B_202E(questSequence).Count != 0) ? 1297799613 : 1297799612); + break; + case 2: + num = 1297799614; + break; + case 4: + return (Sequence: null, Step: null, createTasks: false); + case 6: + return (Sequence: questSequence, Step: null, createTasks: true); + case 0: + return (Sequence: questSequence, Step: _206B_200F_202A_202A_200D_200E_202E_202C_202C_206F_206E_206D_206C_206D_202E_202A_200F_206D_206C_200F_206E_202B_206E_202E_200D_206F_206D_202D_202D_202A_200B_202E_206C_202C_202D_200E_206E_200E_206A_206B_202E(questSequence)[CurrentQuest.Step], createTasks: true); + case 7: + num = ((CurrentQuest.Step < _206B_200F_202A_202A_200D_200E_202E_202C_202C_206F_206E_206D_206C_206D_202E_202A_200F_206D_206C_200F_206E_202B_206E_202E_200D_206F_206D_202D_202D_202A_200B_202E_206C_202C_202D_200E_206E_200E_206A_206B_202E(questSequence).Count) ? 1297799610 : 1297799602); + break; + case 8: + return (Sequence: null, Step: null, createTasks: false); + } } - QuestSequence questSequence = CurrentQuest.Quest.FindSequence(CurrentQuest.Sequence); - if (questSequence == null) - { - return (Sequence: null, Step: null, createTasks: true); - } - if (questSequence.Steps.Count == 0) - { - return (Sequence: questSequence, Step: null, createTasks: true); - } - if (CurrentQuest.Step >= questSequence.Steps.Count) - { - return (Sequence: null, Step: null, createTasks: false); - } - return (Sequence: questSequence, Step: questSequence.Steps[CurrentQuest.Step], createTasks: true); } + [MethodImpl(MethodImplOptions.NoInlining)] public void IncreaseStepCount(ElementId? questId, int? sequence, bool shouldContinue = false) { - lock (_progressLock) + (QuestSequence? Sequence, QuestStep? Step, bool createTasks) nextStep = GetNextStep(); + QuestSequence item = nextStep.Sequence; + QuestStep item2 = nextStep.Step; + int num = ((CurrentQuest == null) ? 291013817 : 291013812); + QuestResolution questResolution = default(QuestResolution); + while (true) { - var (questSequence, questStep, _) = GetNextStep(); - if (CurrentQuest == null || questSequence == null || questStep == null) + int num2 = num; + int num3 = 291013821; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - _logger.LogWarning("Unable to retrieve next quest step, not increasing step count"); + case 8: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(909006406), new object[2] + { + questId, + CurrentQuest.Quest.Id + }); 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); + case 1: + num = ((!_206B_202D_202B_202D_206D_206E_200E_202D_206A_200C_200B_200F_200B_206C_202C_206A_206C_206D_206A_202D_206D_200D_200E_206D_200E_202B_202E_200D_206E_200E_202A_206D_202B_206B_202A_206D_200E_206B_202C_206D_202E(CurrentQuest.Quest.Id, questId)) ? 291013818 : 291013813); + break; + case 11: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(1685596718), new object[2] + { + sequence, + _200F_206E_200C_202B_206B_202C_202C_200B_200F_202C_202A_200F_206F_200B_200F_206D_206E_200B_200C_206A_200B_206A_200C_200E_202C_200E_200D_202D_206F_202B_206C_200B_206B_206F_202D_200C_202C_206E_202A_200D_202E(item) + }); 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"); + case 3: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-290648518), Array.Empty()); return; - } - } - using (_logger.BeginScope("IncStepCt")) - { - if (shouldContinue && AutomationType != EAutomationType.Manual) + case 2: + num = ((_200F_206E_200C_202B_206B_202C_202C_200B_200F_202C_202A_200F_206F_200B_200F_206D_206E_200B_200C_206A_200B_206A_200C_200E_202C_200E_200D_202D_206F_202B_206C_200B_206B_206F_202D_200C_202C_206E_202A_200D_202E(item) == sequence.Value) ? 291013821 : 291013814); + break; + case 9: + num = ((item == null) ? 291013817 : 291013816); + break; + case 4: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-500810797), Array.Empty()); + return; + case 6: + num = ((!_206B_202D_202B_202D_206D_206E_200E_202D_206A_200C_200B_200F_200B_206C_202C_206A_206C_206D_206A_202D_206D_200D_200E_206D_200E_202B_202E_200D_206E_200E_202A_206D_202B_206B_202A_206D_200E_206B_202C_206D_202E(questId, (ElementId)null)) ? 291013818 : 291013820); + break; + case 0: { - ExecuteNextStep(); + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(154674055), new object[1] { CurrentQuest.Step }); + bool num11 = CurrentQuest.Step + 1 >= _206B_200F_202A_202A_200D_200E_202E_202C_202C_206F_206E_206D_206C_206D_202E_202A_200F_206D_206C_200F_206E_202B_206E_202E_200D_206F_206D_202D_202D_202A_200B_202E_206C_202C_202D_200E_206E_200E_206A_206B_202E(item).Count; + if (num11) + { + CurrentQuest.SetStep(255); + } + else + { + CurrentQuest.SetStep(CurrentQuest.Step + 1); + } + num = ((!num11) ? 291013809 : 291013822); + break; + } + case 5: + num = ((item2 != null) ? 291013819 : 291013817); + break; + case 10: + num = 291013812; + break; + case 7: + num = ((!sequence.HasValue) ? 291013821 : 291013823); + break; + case 12: + { + IDisposable disposable = _logger.BeginScope(global::_003CModule_003E._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(432746736)); + try + { + num = ((!shouldContinue) ? 1479782828 : 1479782830); + while (true) + { + int num5 = num; + num3 = 1479782831; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 6: + num = ((!_206B_202D_202B_202D_206D_206E_200E_202D_206A_200C_200B_200F_200B_206C_202C_206A_206C_206D_206A_202D_206D_200D_200E_206D_200E_202B_202E_200D_206E_200E_202A_206D_202B_206B_202A_206D_200E_206B_202C_206D_202E(questResolution.QuestId, CurrentQuest.Quest.Id)) ? 1479782827 : 1479782826); + break; + case 2: + questResolution = _priorityResolver.Resolve(new QuestSlots(_simulatedQuest, _nextQuest, _gatheringQuest, ManualPriorityQuests, AutomationType)); + num = ((!questResolution.HasQuest) ? 1479782827 : 1479782825); + break; + case 1: + num = ((AutomationType == EAutomationType.Manual) ? 1479782828 : 1479782829); + break; + case 4: + ExecuteNextStep(); + num = 1479782828; + break; + case 0: + num = 1479782830; + break; + case 5: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1320658835), new object[2] + { + questResolution.QuestId, + CurrentQuest.Quest.Id + }); + return; + case 3: + return; + } + } + } + finally + { + num = ((disposable == null) ? 772084078 : 772084079); + while (true) + { + int num8 = num; + num3 = 772084078; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = 772084079; + break; + case 1: + _202D_202E_200E_202A_202D_206D_202C_202B_202C_202D_206C_206A_200F_202E_200F_206A_202B_202A_200D_206D_206B_202E_206E_206D_206F_206A_200C_200B_206B_200C_200E_206D_202D_200D_200C_206A_202E_200F_202D_202E_202E(disposable); + num = 772084078; + break; + case 0: + goto end_IL_0459; + } + continue; + end_IL_0459: + break; + } + } + } } } } + [MethodImpl(MethodImplOptions.NoInlining)] private void ClearTasksInternal() { - if (_taskQueue.CurrentTaskExecutor is IStoppableTaskExecutor stoppableTaskExecutor) + _runningDebugTasks = false; + _reRouteService.ClearDestination(); + IStoppableTaskExecutor stoppableTaskExecutor = _taskQueue.CurrentTaskExecutor as IStoppableTaskExecutor; + int num = ((stoppableTaskExecutor == null) ? 201405430 : 201405429); + while (true) { - stoppableTaskExecutor.StopNow(); + int num2 = num; + int num3 = 201405431; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _taskQueue.Reset(); + _combatController.Stop(global::_003CModule_003E._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(-1937637066)); + _wrathComboModule.Stop(); + _rsrModule.Stop(); + _bossModIpc.DisableQuestBattleAi(); + _gatheringController.Stop(global::_003CModule_003E._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(986002832)); + _fateController.Stop(global::_003CModule_003E._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(-422596647)); + _seasonalDutyController.Stop(global::_003CModule_003E._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(986002832)); + return; + case 2: + stoppableTaskExecutor.StopNow(); + num = 201405430; + break; + case 0: + num = 201405429; + break; + } } - _taskQueue.Reset(); - _combatController.Stop("ClearTasksInternal"); - _gatheringController.Stop("ClearTasksInternal"); - _fateController.Stop("ClearTasksInternal"); - _seasonalDutyController.Stop("ClearTasksInternal"); } + [MethodImpl(MethodImplOptions.NoInlining)] public override void Stop(string label) { - using (_logger.BeginScope("Stop/" + label)) + base.Stop(label); + IDisposable disposable = _logger.BeginScope(_202A_206E_202E_206C_202A_202E_206A_202A_206B_202D_202B_200B_206B_206C_202D_200B_200D_202A_206F_206F_206A_200D_200F_206C_202E_206A_200D_200F_206B_206A_202B_202C_200F_200B_206A_200B_200C_206F_200C_200E_202E(global::_003CModule_003E._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(1233538896), label)); + try { - if (IsRunning || AutomationType != EAutomationType.Manual) + int num = (IsRunning ? (-1411452826) : (-1411452825)); + while (true) { - ClearTasksInternal(); - _logger.LogInformation("Stopping automatic questing"); - AutomationType = EAutomationType.Manual; - _nextQuest = null; - _gatheringQuest = null; - _lastTaskUpdate = DateTime.Now; - _stopConditionsMetAtStart.Clear(); - ResetAutoRefreshState(); + int num2 = num; + int num3 = -1411452828; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + ClearTasksInternal(); + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(923368178), Array.Empty()); + AutomationType = EAutomationType.Manual; + _nextQuest = null; + _gatheringQuest = null; + _deathCount = 0; + _deathRecoveryPending = false; + _resumeAfterSideTasks = false; + SessionConditions.Clear(); + _conditionsMetAtStart.Clear(); + num = -1411452827; + break; + case 3: + num = ((AutomationType == EAutomationType.Manual) ? (-1411452827) : (-1411452826)); + break; + case 0: + num = -1411452825; + break; + case 1: + return; + } + } + } + finally + { + int num = ((disposable == null) ? 1565988730 : 1565988731); + while (true) + { + int num5 = num; + int num3 = 1565988730; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + num = 1565988731; + break; + case 0: + goto end_IL_0125; + case 1: + _202D_202E_200E_202A_202D_206D_202C_202B_202C_202D_206C_206A_200F_202E_200F_206A_202B_202A_200D_206D_206B_202E_206E_206D_206F_206A_200C_200B_206B_200C_200E_206D_202D_200D_200C_206A_202E_200F_202D_202E_202E(disposable); + num = 1565988730; + break; + } + continue; + end_IL_0125: + break; + } + } + } + + public void RunDebugTasks(IReadOnlyList tasks, string label) + { + Stop(label); + _runningDebugTasks = true; + IEnumerator enumerator = tasks.GetEnumerator(); + try + { + int num = 2117311857; + while (true) + { + int num2 = num; + int num3 = 2117311856; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 2117311857; + break; + case 2: + { + ITask current = enumerator.Current; + _taskQueue.Enqueue(current); + num = 2117311857; + break; + } + case 1: + num = (_206A_202C_206C_200C_206E_202A_200D_200B_202D_200F_202E_206C_202E_206E_202A_200F_200D_206C_200E_206B_200B_202A_206D_202E_200B_202B_206D_202D_206D_202A_202B_202E_202A_202D_200F_202B_206F_206B_202E_202E_202E((IEnumerator)enumerator) ? 2117311858 : 2117311859); + break; + case 3: + return; + } + } + } + finally + { + int num = ((enumerator == null) ? 1846229563 : 1846229560); + while (true) + { + int num7 = num; + int num3 = 1846229561; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + goto end_IL_00b9; + case 1: + _202D_202E_200E_202A_202D_206D_202C_202B_202C_202D_206C_206A_200F_202E_200F_206A_202B_202A_200D_206D_206B_202E_206E_206D_206F_206A_200C_200B_206B_200C_200E_206D_202D_200D_200C_206A_202E_200F_202D_202E_202E((IDisposable)enumerator); + num = 1846229563; + break; + case 0: + num = 1846229560; + break; + } + continue; + end_IL_00b9: + break; } } } @@ -952,394 +1954,1443 @@ internal sealed class QuestController : MiniTaskController _movementController.Stop(); _combatController.Stop(label); _gatheringController.Stop(label); + _fishingController.Stop(label); _fateController.Stop(label); _seasonalDutyController.Stop(label); + _customDeliveryController.Stop(label); + _attunementController.Stop(label); } + [MethodImpl(MethodImplOptions.NoInlining)] private void CheckNextTasks(string label) { EAutomationType automationType = AutomationType; - if ((automationType == EAutomationType.Automatic || (uint)(automationType - 3) <= 1u) ? true : false) + int num = ((automationType == EAutomationType.Automatic) ? (-1750534180) : (-1750534184)); + bool flag = default(bool); + int valueOrDefault = default(int); + while (true) { - using (_logger.BeginScope(label)) + int num2 = num; + int num3 = -1750534180; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - ClearTasksInternal(); - int? num = CurrentQuest?.Step; - if (num.HasValue) + case 3: + flag = false; + num = -1750534183; + break; + case 4: + num = (((uint)(automationType - 3) > 1u) ? (-1750534177) : (-1750534180)); + break; + case 0: + flag = true; + num = -1750534183; + break; + case 2: + num = -1750534184; + break; + case 5: + if (flag) { - int valueOrDefault = num.GetValueOrDefault(); - if (valueOrDefault >= 0 && valueOrDefault < 255) + num = -1750534179; + break; + } + Stop(label); + return; + case 1: + { + IDisposable disposable = _logger.BeginScope(label); + try + { + ClearTasksInternal(); + int? num7 = CurrentQuest?.Step; + num = ((!num7.HasValue) ? 1513693932 : 1513693935); + while (true) { - ExecuteNextStep(); - goto IL_008e; + int num8 = num; + num3 = 1513693932; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = 1513693935; + break; + case 1: + ExecuteNextStep(); + return; + case 3: + valueOrDefault = num7.GetValueOrDefault(); + num = ((valueOrDefault < 0) ? 1513693932 : 1513693928); + break; + case 4: + num = ((valueOrDefault >= 255) ? 1513693932 : 1513693933); + break; + case 0: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1189463470), Array.Empty()); + return; + } } } - _logger.LogInformation("Couldn't execute next step during Stop() call"); - goto IL_008e; - IL_008e: - _lastTaskUpdate = DateTime.Now; - ResetAutoRefreshState(); - return; + finally + { + num = ((disposable == null) ? 1327974694 : 1327974693); + while (true) + { + int num11 = num; + num3 = 1327974695; + num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1327974693; + break; + case 2: + _202D_202E_200E_202A_202D_206D_202C_202B_202C_202D_206C_206A_200F_202E_200F_206A_202B_202A_200D_206D_206B_202E_206E_206D_206F_206A_200C_200B_206B_200C_200E_206D_202D_200D_200C_206A_202E_200F_202D_202E_202E(disposable); + num = 1327974694; + break; + case 1: + goto end_IL_01fc; + } + continue; + end_IL_01fc: + break; + } + } + } } } - Stop(label); } - public void SimulateQuest(Quest? quest, byte sequence, int step) + [MethodImpl(MethodImplOptions.NoInlining)] + public void SimulateQuest(Questionable.Model.Quest? quest, byte sequence, int step) { - _logger.LogInformation("SimulateQuest: {QuestId}", quest?.Id); - if (quest != null) + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1441974106), new object[1] { quest?.Id }); + int num = ((quest == null) ? (-561319017) : (-561319018)); + while (true) { - _simulatedQuest = new QuestProgress(quest, sequence, step); - } - else - { - _simulatedQuest = null; + int num2 = num; + int num3 = -561319017; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0073; + case 0: + _simulatedQuest = null; + return; + case 1: + _simulatedQuest = CreateQuestProgress(quest, sequence, step); + return; + } + continue; + IL_0073: + num = -561319018; } } - public void SetNextQuest(Quest? quest) + [MethodImpl(MethodImplOptions.NoInlining)] + public void SetNextQuest(Questionable.Model.Quest? quest) { - _logger.LogInformation("NextQuest: {QuestId}", quest?.Id); - if (quest != null) + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1560722547), new object[1] { quest?.Id }); + int num = ((quest == null) ? (-1839803786) : (-1839803785)); + while (true) { - _nextQuest = new QuestProgress(quest, 0); - } - else - { - _nextQuest = null; + int num2 = num; + int num3 = -1839803786; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0073; + case 1: + _nextQuest = CreateQuestProgress(quest, 0); + return; + case 0: + _nextQuest = null; + return; + } + continue; + IL_0073: + num = -1839803785; } } - public void SetGatheringQuest(Quest? quest) + [MethodImpl(MethodImplOptions.NoInlining)] + public void SetGatheringQuest(Questionable.Model.Quest? quest) { - _logger.LogInformation("GatheringQuest: {QuestId}", quest?.Id); - if (quest != null) + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-465486273), new object[1] { quest?.Id }); + int num = ((quest == null) ? 1199664522 : 1199664523); + while (true) { - _gatheringQuest = new QuestProgress(quest, 0); - } - else - { - _gatheringQuest = null; + int num2 = num; + int num3 = 1199664522; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0073; + case 1: + _gatheringQuest = CreateQuestProgress(quest, 0); + return; + case 0: + _gatheringQuest = null; + return; + } + continue; + IL_0073: + num = 1199664523; } } + [MethodImpl(MethodImplOptions.NoInlining)] public void SetPendingQuest(QuestProgress? quest) { - _logger.LogInformation("PendingQuest: {QuestId}", quest?.Quest.Id); + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(1529451205), new object[1] { quest?.Quest.Id }); _pendingQuest = quest; } protected override void UpdateCurrentTask() { - if (!_gameFunctions.IsOccupied() || _gameFunctions.IsOccupiedWithCustomDeliveryNpc(CurrentQuest?.Quest)) + int num = ((!_gameFunctions.IsOccupied()) ? 1443241001 : 1443240993); + bool flag2 = default(bool); + ITask task = default(ITask); + bool flag = default(bool); + while (true) { - base.UpdateCurrentTask(); + int num2 = num; + int num3 = 1443241000; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + flag2 = false; + num = 1443241006; + break; + case 3: + base.UpdateCurrentTask(); + return; + case 2: + num = ((task is RepairGear.SelfRepairTask) ? 1443241005 : 1443240995); + break; + case 1: + num5 = 0; + goto IL_00ab; + case 8: + task = _taskQueue.CurrentTaskExecutor?.CurrentTask; + num = ((task is WaitAtEnd.WaitQuestAccepted) ? 1443241005 : 1443241002); + break; + case 9: + num5 = ((!_gameFunctions.IsOccupiedWithCustomDeliveryNpc(CurrentQuest?.Quest)) ? 1 : 0); + goto IL_00ab; + case 7: + num = ((!flag) ? 1443241003 : 1443241000); + break; + case 0: + return; + case 10: + num = 1443240993; + break; + case 5: + flag2 = true; + num = 1443241006; + break; + case 6: + flag = !flag2; + num = 1443241007; + break; + case 11: + { + num = ((!(task is RepairGear.MenderRepairTask)) ? 1443241004 : 1443241005); + break; + } + IL_00ab: + flag = (byte)num5 != 0; + num = ((!flag) ? 1443241007 : 1443240992); + break; + } } } protected override void OnTaskComplete(ITask task) { - if (task is WaitAtEnd.WaitQuestCompleted) + int num = ((!(task is WaitAtEnd.WaitQuestCompleted)) ? (-1463008024) : (-1463008023)); + while (true) { - _simulatedQuest = null; + int num2 = num; + int num3 = -1463008024; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1463008023; + break; + case 1: + { + int questsCompletedThisSession = _questsCompletedThisSession; + num3 = 1; + num4 = questsCompletedThisSession; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + _questsCompletedThisSession = num7 + (num8 + num8); + _simulatedQuest = null; + num = -1463008024; + break; + } + case 0: + return; + } } } + protected override void OnRetryStep() + { + ExecuteNextStep(); + } + protected override void OnNextStep(ILastTask task) { + _deathCount = 0; IncreaseStepCount(task.ElementId, task.Sequence, shouldContinue: true); } + [MethodImpl(MethodImplOptions.NoInlining)] public void Start(string label) { - using (_logger.BeginScope("Q/" + label)) + IDisposable disposable = _logger.BeginScope(_202A_206E_202E_206C_202A_202E_206A_202A_206B_202D_202B_200B_206B_206C_202D_200B_200D_202A_206F_206F_206A_200D_200F_206C_202E_206A_200D_200F_206B_206A_202B_202C_200F_200B_206A_200B_200C_206F_200C_200E_202E(global::_003CModule_003E._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(-1346195202), label)); + try { - if (!CheckAndBlockForStopConditions()) + int num = ((!CheckAndBlockForStopConditions()) ? (-1813766280) : (-1813766277)); + while (true) { - RecordStopConditionsMetAtStart(); - AutomationType = EAutomationType.Automatic; - ExecuteNextStep(); + int num2 = num; + int num3 = -1813766279; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0064; + case 2: + return; + case 1: + RecordStopConditionsMetAtStart(); + _gearRepairService.ResetAttemptCooldown(); + AutomationType = EAutomationType.Automatic; + ExecuteNextStep(); + return; + } + continue; + IL_0064: + num = -1813766277; + } + } + finally + { + int num = ((disposable == null) ? 1551591494 : 1551591493); + while (true) + { + int num7 = num; + int num3 = 1551591495; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = 1551591493; + break; + case 2: + _202D_202E_200E_202A_202D_206D_202C_202B_202C_202D_206C_206A_200F_202E_200F_206A_202B_202A_200D_206D_206B_202E_206E_206D_206F_206A_200C_200B_206B_200C_200E_206D_202D_200D_200C_206A_202E_200F_202D_202E_202E(disposable); + num = 1551591494; + break; + case 1: + goto end_IL_00be; + } + continue; + end_IL_00be: + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] public void StartGatheringQuest(string label) { - using (_logger.BeginScope("GQ/" + label)) + IDisposable disposable = _logger.BeginScope(_202A_206E_202E_206C_202A_202E_206A_202A_206B_202D_202B_200B_206B_206C_202D_200B_200D_202A_206F_206F_206A_200D_200F_206C_202E_206A_200D_200F_206B_206A_202B_202C_200F_200B_206A_200B_200C_206F_200C_200E_202E(global::_003CModule_003E._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(1185404224), label)); + try { - if (!CheckAndBlockForStopConditions()) + int num = ((!CheckAndBlockForStopConditions()) ? 1941180013 : 1941180014); + while (true) { - RecordStopConditionsMetAtStart(); - AutomationType = EAutomationType.GatheringOnly; - ExecuteNextStep(); + int num2 = num; + int num3 = 1941180012; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0064; + case 2: + return; + case 1: + RecordStopConditionsMetAtStart(); + _gearRepairService.ResetAttemptCooldown(); + AutomationType = EAutomationType.GatheringOnly; + ExecuteNextStep(); + return; + } + continue; + IL_0064: + num = 1941180014; + } + } + finally + { + int num = ((disposable == null) ? 1261002497 : 1261002498); + while (true) + { + int num7 = num; + int num3 = 1261002499; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = 1261002498; + break; + case 1: + _202D_202E_200E_202A_202D_206D_202C_202B_202C_202D_206C_206A_200F_202E_200F_206A_202B_202A_200D_206D_206B_202E_206E_206D_206F_206A_200C_200B_206B_200C_200E_206D_202D_200D_200C_206A_202E_200F_202D_202E_202E(disposable); + num = 1261002497; + break; + case 2: + goto end_IL_00be; + } + continue; + end_IL_00be: + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] public void StartSingleQuest(string label) { - using (_logger.BeginScope("SQ/" + label)) + IDisposable disposable = _logger.BeginScope(_202A_206E_202E_206C_202A_202E_206A_202A_206B_202D_202B_200B_206B_206C_202D_200B_200D_202A_206F_206F_206A_200D_200F_206C_202E_206A_200D_200F_206B_206A_202B_202C_200F_200B_206A_200B_200C_206F_200C_200E_202E(global::_003CModule_003E._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(-5920385), label)); + try { - if (!CheckAndBlockForStopConditions()) + int num = ((!CheckAndBlockForStopConditions()) ? 1487711612 : 1487711615); + while (true) { - RecordStopConditionsMetAtStart(); - AutomationType = EAutomationType.SingleQuestA; - ExecuteNextStep(); + int num2 = num; + int num3 = 1487711614; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0062; + case 1: + return; + case 2: + RecordStopConditionsMetAtStart(); + _gearRepairService.ResetAttemptCooldown(); + AutomationType = EAutomationType.SingleQuestA; + ExecuteNextStep(); + return; + } + continue; + IL_0062: + num = 1487711615; + } + } + finally + { + int num = ((disposable == null) ? (-1831120012) : (-1831120011)); + while (true) + { + int num5 = num; + int num3 = -1831120012; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + goto end_IL_00bc; + case 1: + _202D_202E_200E_202A_202D_206D_202C_202B_202C_202D_206C_206A_200F_202E_200F_206A_202B_202A_200D_206D_206B_202E_206E_206D_206F_206A_200C_200B_206B_200C_200E_206D_202D_200D_200C_206A_202E_200F_202D_202E_202E(disposable); + num = -1831120012; + break; + case 2: + num = -1831120011; + break; + } + continue; + end_IL_00bc: + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] public void StartSingleStep(string label) { - using (_logger.BeginScope("SS/" + label)) + IDisposable disposable = _logger.BeginScope(_202A_206E_202E_206C_202A_202E_206A_202A_206B_202D_202B_200B_206B_206C_202D_200B_200D_202A_206F_206F_206A_200D_200F_206C_202E_206A_200D_200F_206B_206A_202B_202C_200F_200B_206A_200B_200C_206F_200C_200E_202E(global::_003CModule_003E._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(528425497), label)); + try { AutomationType = EAutomationType.Manual; ExecuteNextStep(); } + finally + { + int num = ((disposable == null) ? 2052970200 : 2052970203); + while (true) + { + int num2 = num; + int num3 = 2052970202; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 2052970203; + break; + case 1: + _202D_202E_200E_202A_202D_206D_202C_202B_202C_202D_206C_206A_200F_202E_200F_206A_202B_202A_200D_206D_206B_202E_206E_206D_206F_206A_200C_200B_206B_200C_200E_206D_202D_200D_200C_206A_202E_200F_202D_202E_202E(disposable); + num = 2052970200; + break; + case 2: + goto end_IL_004a; + } + continue; + end_IL_004a: + break; + } + } + } + + private StopEvaluationContext BuildEvaluationContext(ElementId? completedQuestId = null, ElementId? acceptedQuestId = null, EInteractionType? upcomingInteractionType = null) + { + IPlayerCharacter localPlayer = LocalPlayer; + return new StopEvaluationContext + { + PlayerLevel = ((localPlayer != null) ? _200C_206C_200D_202E_202B_206C_200B_202E_202E_206E_206F_202E_200F_202C_200F_200E_206B_206B_200E_202B_202A_202A_206C_200F_206A_206E_206B_206F_202E_206E_206A_206B_200E_202E_200C_200F_200C_200B_206E_202A_202E((ICharacter)localPlayer) : 0), + CurrentQuestId = CurrentQuest?.Quest.Id, + CurrentSequence = (CurrentQuest?.Sequence ?? 0), + CompletedQuestId = completedQuestId, + AcceptedQuestId = acceptedQuestId, + Gil = GetCurrentGil(), + FreeInventorySlots = _200E_200D_202B_202D_206D_202B_202E_206C_200C_206B_206F_200D_206D_200F_200C_200E_200B_200B_202B_202C_206E_206B_200D_202A_202D_200E_202C_206A_206B_200C_202E_202C_206E_200B_200E_202B_202A_206A_202C_206E_202E(), + ElapsedSinceStart = DateTime.UtcNow - _automationStartedAt, + QuestsCompletedThisSession = _questsCompletedThisSession, + UpcomingInteractionType = upcomingInteractionType + }; + } + + private unsafe static int GetCurrentGil() + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? (-790277236) : (-790277233)); + while (true) + { + int num2 = num; + int num3 = -790277235; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return ptr->GetItemCountInContainer(1u, InventoryType.Currency, isHq: false, 0); + case 2: + return 0; + } + continue; + IL_0049: + num = -790277233; + } + } + + private bool CheckStopConditions(StopEvaluationContext context) + { + int num = (_configuration.Stop.Enabled ? (-255259633) : (-255259634)); + bool hasQuestSpecificSequence = default(bool); + QuestCompleteCondition questCompleteCondition = default(QuestCompleteCondition); + while (true) + { + int num2 = num; + int num3 = -255259636; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 3: + hasQuestSpecificSequence = false; + if (_206B_202D_202B_202D_206D_206E_200E_202D_206A_200C_200B_200F_200B_206C_202C_206A_206C_206D_206A_202D_206D_200D_200E_206D_200E_202B_202E_200D_206E_200E_202A_206D_202B_206B_202A_206D_200E_206B_202C_206D_202E(context.CurrentQuestId, (ElementId)null)) + { + num = -255259635; + continue; + } + break; + case 2: + return false; + case 0: + num = -255259634; + continue; + case 1: + { + using (List.Enumerator enumerator = _configuration.Stop.Conditions.GetEnumerator()) + { + num = 168449519; + while (true) + { + int num7 = num; + num3 = 168449518; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + hasQuestSpecificSequence = true; + goto end_IL_00af; + case 1: + num = (enumerator.MoveNext() ? 168449512 : 168449516); + break; + case 6: + questCompleteCondition = enumerator.Current as QuestCompleteCondition; + num = ((questCompleteCondition == null) ? 168449519 : 168449517); + break; + case 4: + num = 168449519; + break; + case 5: + num = ((!questCompleteCondition.Sequence.HasValue) ? 168449519 : 168449518); + break; + case 3: + num = ((!_200F_206F_202A_206A_206A_206A_202A_206B_206F_202E_206A_206F_202A_202D_202D_200C_206C_202C_206C_202A_202D_200B_202B_206A_206F_202D_206E_200B_206D_200C_206F_202B_200F_206B_200C_206C_206D_206C_202E(questCompleteCondition.QuestId, context.CurrentQuestId)) ? 168449519 : 168449515); + break; + case 2: + goto end_IL_00af; + } + continue; + end_IL_00af: + break; + } + } + break; + } + } + break; + } + using (List.Enumerator enumerator = _configuration.Stop.Conditions.GetEnumerator()) + { + num = 1007175331; + while (true) + { + int num8 = num; + int num3 = 1007175328; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return true; + case 1: + { + StopCondition current = enumerator.Current; + num = ((!EvaluateCondition(current, context, hasQuestSpecificSequence)) ? 1007175331 : 1007175332); + break; + } + case 3: + num = (enumerator.MoveNext() ? 1007175329 : 1007175330); + break; + case 0: + num = 1007175331; + break; + case 2: + goto end_IL_01e8; + } + continue; + end_IL_01e8: + break; + } + } + using (List.Enumerator enumerator = SessionConditions.GetEnumerator()) + { + num = 1707456518; + while (true) + { + int num9 = num; + int num3 = 1707456518; + int num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1707456518; + break; + case 3: + return true; + case 0: + num = (enumerator.MoveNext() ? 1707456519 : 1707456514); + break; + case 1: + { + StopCondition current2 = enumerator.Current; + num = ((!EvaluateCondition(current2, context, hasQuestSpecificSequence)) ? 1707456518 : 1707456517); + break; + } + case 4: + goto end_IL_02bb; + } + continue; + end_IL_02bb: + break; + } + } + return false; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool EvaluateCondition(StopCondition condition, StopEvaluationContext context, bool hasQuestSpecificSequence) + { + int num = ((condition.Mode != EStopConditionMode.Off) ? 724372340 : 724372351); + string text = default(string); + while (true) + { + int num2 = num; + int num3 = 724372347; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 12: + num = (_200C_200B_200C_200F_200B_200C_200D_202B_200D_206C_206D_202D_202C_200B_200C_202E_202E_202E_206D_200C_200B_202E_200D_202A_202E_202E_206F_202D_200D_200C_200C_202C_206D_202A_206C_206B_202C_206F_200D_200E_202E(text, '/') ? 724372336 : 724372341); + continue; + case 4: + return false; + case 5: + { + bool flag = AutomationType != EAutomationType.Manual; + Stop(_202A_206E_202E_206C_202A_202E_206A_202A_206B_202D_202B_200B_206B_206C_202D_200B_200D_202A_206F_206F_206A_200D_200F_206C_202E_206A_200D_200F_206B_206A_202B_202C_200F_200B_206A_200B_200C_206F_200C_200E_202E(global::_003CModule_003E._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(-1025756248), condition.GetDescription())); + bool num7 = condition.Mode == EStopConditionMode.Stop; + num3 = (flag ? 1 : 0); + num4 = (num7 ? 1 : 0); + if ((num4 | num3) - (num4 ^ num3) != 0) + { + num = 724372347; + continue; + } + break; + } + case 15: + { + bool num8 = condition is GlobalSequenceCondition; + num3 = (hasQuestSpecificSequence ? 1 : 0); + num4 = (num8 ? 1 : 0); + num = ((num4 + num3 - (num4 | num3) == 0) ? 724372344 : 724372346); + continue; + } + case 10: + return false; + case 8: + SessionConditions.Remove(condition); + num = 724372350; + continue; + case 7: + num = ((!_conditionsMetAtStart.Contains(condition)) ? 724372349 : 724372337); + continue; + case 3: + num = (condition.Evaluate(context) ? 724372342 : 724372338); + continue; + case 16: + { + _commandAfterStopFired = true; + string commandAfterStop = _configuration.Stop.CommandAfterStop; + text = ((commandAfterStop != null) ? _202C_200E_206D_206B_202D_206B_206B_200E_202B_202C_202E_206D_206C_200F_200E_206A_200E_202C_206B_206D_200B_206C_206F_206F_202E_202E_206A_200C_200E_206D_200D_206C_206D_200E_200B_200F_206B_206E_200B_202B_202E(commandAfterStop) : null) ?? string.Empty; + if (_206E_200F_206F_206F_200D_200C_200D_206E_206D_206D_206E_202B_200E_200B_206F_202C_206E_202E_206D_202A_202B_202E_200E_200E_206F_202C_206E_206B_200F_206E_206D_200E_200C_202C_206F_200E_206F_206A_200F_200C_202E(text) > 0) + { + num = 724372343; + continue; + } + break; + } + case 0: + if (!_commandAfterStopFired) + { + num = 724372331; + continue; + } + break; + case 2: + num = 724372351; + continue; + case 14: + text = _202A_206E_202E_206C_202A_202E_206A_202A_206B_202D_202B_200B_206B_206C_202D_200B_200D_202A_206F_206F_206A_200D_200F_206C_202E_206A_200D_200F_206B_206A_202B_202C_200F_200B_206A_200B_200C_206F_200C_200E_202E(global::_003CModule_003E._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(-1605560946), text); + num = 724372336; + continue; + case 13: + num = ((condition.Mode != EStopConditionMode.Pause) ? 724372349 : 724372348); + continue; + case 9: + return false; + case 6: + { + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1648729243), new object[2] + { + condition.GetDescription(), + condition.Mode + }); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(2, 2); + defaultInterpolatedStringHandler.AppendFormatted(condition.Mode); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-437343681)); + defaultInterpolatedStringHandler.AppendFormatted(condition.GetDescription()); + LastStopReason = defaultInterpolatedStringHandler.ToStringAndClear(); + _notificationService.NotifyStopCondition(_202A_206E_202E_206C_202A_202E_206A_202A_206B_202D_202B_200B_206B_206C_202D_200B_200D_202A_206F_206F_206A_200D_200F_206C_202E_206A_200D_200F_206B_206A_202B_202C_200F_200B_206A_200B_200C_206F_200C_200E_202E(global::_003CModule_003E._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(-1912276781), condition.GetDescription())); + num = ((!condition.IsSession) ? 724372350 : 724372339); + continue; + } + case 1: + return false; + case 11: + try + { + _206A_202A_200F_206D_200B_202D_200C_206A_206D_206D_206A_202D_206D_200C_202B_202D_202E_200F_202D_206D_200C_206E_200E_200C_200E_202D_206D_202A_206C_206C_200B_202B_200E_202C_202E_202E_202C_200F_202B_200C_202E(_commandManager, text); + } + catch (Exception ex) + { + _202A_206F_206A_206B_202D_202B_206A_200C_202D_202E_206E_206B_206F_200F_202D_202C_206B_200E_206B_200C_200F_200E_202E_202B_206C_206D_200F_206C_200C_202D_202E_200F_202C_200C_206A_200E_206B_200F_200E_206A_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-106559220), new object[1] { text }); + } + break; + } + break; + } + return true; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void OnQuestAccepted(ElementId questId) + { + CaptureInitialQuestWork(_startedQuest, questId); + CaptureInitialQuestWork(_nextQuest, questId); + CaptureInitialQuestWork(_pendingQuest, questId); + int num = ((!CheckStopConditions(BuildEvaluationContext(null, questId))) ? (-113212620) : (-113212617)); + while (true) + { + int num2 = num; + int num3 = -113212619; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -113212617; + break; + case 2: + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(390710683), new object[1] { questId }); + num = -113212620; + break; + case 1: + return; + } + } + } + + public QuestProgressInfo? GetInitialQuestProgressInfo(ElementId questId) + { + QuestProgress questProgress = CurrentQuestDetails?.Progress; + int num = ((questProgress == null) ? 929631583 : 929631580); + while (true) + { + int num2 = num; + int num3 = 929631581; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return questProgress.InitialQuestWork; + case 2: + return null; + case 1: + num = (_200F_206F_202A_206A_206A_206A_202A_206B_206F_202E_206A_206F_202A_202D_202D_200C_206C_202C_206C_202A_202D_200B_202B_206A_206F_202D_206E_200B_206D_200C_206F_202B_200F_206B_200C_206C_206D_206C_202E(questProgress.Quest.Id, questId) ? 929631581 : 929631583); + break; + case 3: + num = 929631580; + break; + } + } + } + + private QuestProgress CreateQuestProgress(Questionable.Model.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) + { + int num = ((progress == null) ? 1618497954 : 1618497955); + while (true) + { + int num2 = num; + int num3 = 1618497954; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1618497955; + break; + case 0: + return; + case 1: + num = ((!_200F_206F_202A_206A_206A_206A_202A_206B_206F_202E_206A_206F_202A_202D_202D_200C_206C_202C_206C_202A_202D_200B_202B_206A_206F_202D_206E_200B_206D_200C_206F_202B_200F_206B_200C_206C_206D_206C_202E(progress.Quest.Id, questId)) ? 1618497954 : 1618497953); + break; + case 3: + progress.CaptureInitialQuestWork(_questFunctions.GetQuestProgressInfo(questId)); + num = 1618497954; + break; + } + } } private void RecordStopConditionsMetAtStart() { - _stopConditionsMetAtStart.Clear(); - if (!_configuration.Stop.Enabled) + LastStopReason = null; + _conditionsMetAtStart.Clear(); + _automationStartedAt = DateTime.UtcNow; + _questsCompletedThisSession = 0; + int num = (_configuration.Stop.Enabled ? (-96584475) : (-96584476)); + StopCondition current = default(StopCondition); + while (true) { - return; - } - if (_configuration.Stop.LevelStopMode == Configuration.EStopConditionMode.Pause && _objectTable[0] is IPlayerCharacter playerCharacter && playerCharacter.Level >= _configuration.Stop.TargetLevel) - { - _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)) + int num2 = num; + int num3 = -96584475; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - int sequence = _startedQuest.Sequence; - if (sequence >= _configuration.Stop.TargetSequence) + case 2: + goto IL_007d; + case 1: + return; + case 0: + { + StopEvaluationContext context = BuildEvaluationContext(); + IEnumerator enumerator = _configuration.Stop.Conditions.Concat(SessionConditions).GetEnumerator(); + try { - _stopConditionsMetAtStart.Add($"sequence:{text}:{sequence}"); - _logger.LogDebug("Recording global sequence stop condition as already met at start: quest {QuestId}, sequence {Sequence}", text, sequence); + num = -166499016; + while (true) + { + int num5 = num; + num3 = -166499013; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 3: + num = (_206A_202C_206C_200C_206E_202A_200D_200B_202D_200F_202E_206C_202E_206E_202A_200F_200D_206C_200E_206B_200B_202A_206D_202E_200B_202B_206D_202D_206D_202A_202B_202E_202A_202D_200F_202B_206F_206B_202E_202E_202E((IEnumerator)enumerator) ? (-166499010) : (-166499014)); + break; + case 5: + current = enumerator.Current; + num = ((current.Mode != EStopConditionMode.Pause) ? (-166499016) : (-166499013)); + break; + case 0: + num = ((!current.Evaluate(context)) ? (-166499016) : (-166499009)); + break; + case 4: + _conditionsMetAtStart.Add(current); + num = -166499016; + break; + case 2: + num = -166499016; + break; + case 1: + return; + } + } + } + finally + { + num = ((enumerator == null) ? 193215139 : 193215138); + while (true) + { + int num8 = num; + num3 = 193215139; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = 193215138; + break; + case 1: + _202D_202E_200E_202A_202D_206D_202C_202B_202C_202D_206C_206A_200F_202E_200F_206A_202B_202A_200D_206D_206B_202E_206E_206D_206F_206A_200C_200B_206B_200C_200E_206D_202D_200D_200C_206A_202E_200F_202D_202E_202E((IDisposable)enumerator); + num = 193215139; + break; + case 0: + goto end_IL_01bd; + } + continue; + end_IL_01bd: + break; + } } } - } - 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); - } } + continue; + IL_007d: + num = -96584476; } } + [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckAndBlockForStopConditions() { - if (!_configuration.Stop.Enabled) + int num = (_configuration.Stop.Enabled ? (-1001493482) : (-1001493481)); + StopCondition current = default(StopCondition); + while (true) { - return false; - } - if (_configuration.Stop.LevelStopMode == Configuration.EStopConditionMode.Stop && _objectTable[0] is IPlayerCharacter playerCharacter && playerCharacter.Level >= _configuration.Stop.TargetLevel) - { - _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) + int num2 = num; + int num3 = -1001493482; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - continue; - } - if (_configuration.Stop.QuestSequences.TryGetValue(key, out var value) && value.HasValue) + case 2: + goto IL_005b; + case 1: + return false; + case 0: { - if (!_questFunctions.IsQuestAccepted(item)) + StopEvaluationContext context = BuildEvaluationContext(); + using (List.Enumerator enumerator = _configuration.Stop.Conditions.GetEnumerator()) { - continue; - } - QuestProgressInfo questProgressInfo = _questFunctions.GetQuestProgressInfo(item); - if (questProgressInfo != null && questProgressInfo.Sequence >= value.Value) - { - if (_questRegistry.TryGetQuest(item, out Quest quest)) + num = -1633715663; + while (true) { - _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); + int num7 = num; + num3 = -1633715662; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 5: + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-2035077915), new object[1] { current.GetDescription() }); + _200F_202D_200F_206E_206F_206E_202C_200F_200F_206E_206C_206F_206E_206F_200E_200F_200E_206D_200B_200C_202C_206A_202E_206F_206F_200F_202C_202B_206E_206C_206D_200F_202A_206F_206A_200F_206E_206D_202E_206F_202E(_chatGui, _202A_206E_202E_206C_202A_202E_206A_202A_206B_202D_202B_200B_206B_206C_202D_200B_200D_202A_206F_206F_206A_200D_200F_206C_202E_206A_200D_200F_206B_206A_202B_202C_200F_200B_206A_200B_200C_206F_200C_200E_202E(global::_003CModule_003E._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(-304427727), current.GetDescription()), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + return true; + case 2: + current = enumerator.Current; + num = ((current.Mode != EStopConditionMode.Stop) ? (-1633715663) : (-1633715661)); + break; + case 1: + num = ((!current.Evaluate(context)) ? (-1633715663) : (-1633715657)); + break; + case 3: + num = (enumerator.MoveNext() ? (-1633715664) : (-1633715658)); + break; + case 0: + num = -1633715663; + break; + case 4: + goto end_IL_009d; + } + continue; + end_IL_009d: + break; } - return true; } + return false; } - 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); - } - return true; } + continue; + IL_005b: + num = -1001493481; } - 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; } + [MethodImpl(MethodImplOptions.NoInlining)] private void ExecuteNextStep() { + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-307300247), new object[2] + { + AutomationType, + CurrentQuest?.Quest.Id + }); ClearTasksInternal(); - if (TryPickPriorityQuest()) + int num = ((!TryPickPriorityQuest()) ? (-988185666) : (-988185696)); + QuestSequence item = default(QuestSequence); + bool flag2 = default(bool); + QuestStep item2 = default(QuestStep); + ERepairDecision eRepairDecision = default(ERepairDecision); + bool flag = default(bool); + bool item3 = default(bool); + while (true) { - _logger.LogInformation("Using priority quest over current quest"); - } - 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]) + int num2 = num; + int num3 = -988185690; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - (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)) + case 5: + num = ((_206B_200F_202A_202A_200D_200E_202E_202C_202C_206F_206E_206D_206C_206D_202E_202A_200F_206D_206C_200F_206E_202B_206E_202E_200D_206F_206D_202D_202D_202A_200B_202E_206C_202C_202D_200E_206E_200E_206A_206B_202E(item).Count != 0) ? (-988185670) : (-988185689)); + break; + case 0: + flag2 = item2 != null; + num = ((!flag2) ? (-988185667) : (-988185677)); + break; + case 26: + _movementController.Stop(); + num = ((item2 == null) ? (-988185687) : (-988185674)); + break; + case 29: + num = ((item2 == null) ? (-988185690) : (-988185688)); + break; + case 14: + num = ((_206E_202A_206F_206D_206A_202E_200D_202E_206B_206D_202D_200C_200B_206C_202C_206D_200D_206F_202C_202A_200C_202E_206F_200B_206E_206C_206F_202A_200D_206D_206C_202B_202A_202C_200B_202D_200D_206D_206A_200D_202E(item2) == _202B_206D_200E_202E_200F_202D_200B_206C_202B_206B_206F_202A_200B_200B_202C_206E_200B_202B_206E_202C_200E_206C_200F_206F_200B_202D_206C_206F_206B_200E_202D_202A_206D_200B_206E_200C_202E_202E_202A_206E_202E(_clientState)) ? (-988185690) : (-988185684)); + break; + case 12: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1113169196), new object[2] { - _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)); + _206E_202A_206F_206D_206A_202E_200D_202E_206B_206D_202D_200C_200B_206C_202C_206D_200D_206F_202C_202A_200C_202E_206F_200B_206E_206C_206F_202A_200D_206D_206C_202B_202A_202C_200B_202D_200D_206D_206A_200D_202E(item2), + _202B_206D_200E_202E_200F_202D_200B_206C_202B_206B_206F_202A_200B_200B_202C_206E_200B_202B_206E_202C_200E_206C_200F_206F_200B_202D_206C_206F_206B_200E_202D_202A_206D_200B_206E_200C_202E_202E_202A_206E_202E(_clientState) + }); + DebugState = global::_003CModule_003E._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(-1775330155); + return; + case 1: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(121506234), new object[1] { CurrentQuest.Sequence }); + CurrentQuest.SetStep(255); + return; + case 17: + num = ((eRepairDecision == ERepairDecision.BlockDuty) ? (-988185665) : (-988185671)); + break; + case 16: + eRepairDecision = _gearRepairService.EvaluateAndEnqueue(_202B_200C_200E_206F_206B_200C_206D_200B_202A_202A_200C_200F_206E_200B_202A_202C_202A_206F_202E_202E_206B_206C_200B_200B_206B_200F_206C_200C_206D_202B_202B_200D_202E_200C_206B_206C_206C_200C_200F_202D_202E(item2), _taskQueue); + num = ((eRepairDecision == ERepairDecision.Enqueued) ? (-988185683) : (-988185673)); + break; + case 3: + flag = false; + num = -988185682; + break; + case 31: + num = -988185687; + break; + case 6: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1484694039), Array.Empty()); + num = -988185666; + break; + case 30: + flag = true; + num = -988185682; + break; + case 20: + num = ((!_territoryData.IsQuestBattleInstance(_202B_206D_200E_202E_200F_202D_200B_206C_202B_206B_206F_202A_200B_200B_202C_206E_200B_202B_206E_202C_200E_206C_200F_206F_200B_202D_206C_206F_206B_200E_202D_202A_206D_200B_206E_200C_202E_202E_202A_206E_202E(_clientState))) ? (-988185690) : (-988185686)); + break; + case 7: + num = (item3 ? (-988185669) : (-988185692)); + break; + case 24: + { + (QuestSequence? Sequence, QuestStep? Step, bool createTasks) nextStep = GetNextStep(); + item = nextStep.Sequence; + item2 = nextStep.Step; + item3 = nextStep.createTasks; + num = ((CurrentQuest == null) ? (-988185670) : (-988185681)); + break; + } + case 9: + num = ((item == null) ? (-988185670) : (-988185685)); + break; + case 19: + num = ((!CheckStopConditions(BuildEvaluationContext(null, null, _202B_200C_200E_206F_206B_200C_206D_200B_202A_202A_200C_200F_206E_200B_202A_202C_202A_206F_202E_202E_206B_206C_200B_200B_206B_200F_206C_200C_206D_202B_202B_200D_202E_200C_206B_206C_206C_200C_200F_202D_202E(item2)))) ? (-988185668) : (-988185694)); + break; + case 23: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(1136462212), new object[3] + { + CurrentQuest?.Quest.Id, + CurrentQuest?.Sequence, + CurrentQuest?.Step + }); + num = ((CurrentQuest == null) ? (-988185692) : (-988185695)); + break; + case 10: + num = (_territoryData.IsDutyInstance(_202B_206D_200E_202E_200F_202D_200B_206C_202B_206B_206F_202A_200B_200B_202C_206E_200B_202B_206E_202C_200E_206C_200F_206F_200B_202D_206C_206F_206B_200E_202D_202A_206D_200B_206E_200C_202E_202E_202A_206E_202E(_clientState)) ? (-988185686) : (-988185678)); + break; + case 25: + _200F_202D_200F_206E_206F_206E_202C_200F_200F_206E_206C_206F_206E_206F_200E_200F_200E_206D_200B_200C_202C_206A_202E_206F_206F_200F_202C_202B_206E_206C_206D_200F_202A_206F_206A_200F_206E_206D_202E_206F_202E(_chatGui, global::_003CModule_003E._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(-1616053395), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + Stop(global::_003CModule_003E._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(1301936537)); + return; + case 18: + num = ((item != null) ? (-988185669) : (-988185679)); + break; + case 2: + return; + case 11: + _resumeAfterSideTasks = true; + return; + case 28: + num = ((CurrentQuest == null) ? (-988185679) : (-988185676)); + break; + case 27: + num = ((!flag2) ? (-988185668) : (-988185675)); + break; + case 21: + { + EInteractionType eInteractionType = _202B_200C_200E_206F_206B_200C_206D_200B_202A_202A_200C_200F_206E_200B_202A_202C_202A_206F_202E_202E_206B_206C_200B_200B_206B_200F_206C_200C_206D_202B_202B_200D_202E_200C_206B_206C_206C_200C_200F_202D_202E(item2); + num = (((uint)(eInteractionType - 19) > 1u) ? (-988185691) : (-988185672)); + break; + } + case 8: + flag2 = flag; + num = -988185667; + break; + case 4: + return; + case 13: + num = ((item2 != null) ? (-988185670) : (-988185693)); + break; + case 22: + num = -988185696; + break; + case 15: + try + { + (QuestProgress, ECurrentQuestType)? currentQuestDetails = CurrentQuestDetails; + bool isSimulation = currentQuestDetails.HasValue && currentQuestDetails.GetValueOrDefault().Item2 == ECurrentQuestType.Simulated; + IEnumerator enumerator = _taskCreator.CreateTasks(CurrentQuest.Quest, CurrentQuest.Sequence, item, item2, isSimulation).GetEnumerator(); + try + { + num = 410602803; + while (true) + { + int num7 = num; + num3 = 410602801; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 410602803; + break; + case 3: + { + ITask current = enumerator.Current; + _taskQueue.Enqueue(current); + num = 410602803; + break; + } + case 2: + num = (_206A_202C_206C_200C_206E_202A_200D_200B_202D_200F_202E_206C_202E_206E_202A_200F_200D_206C_200E_206B_200B_202A_206D_202E_200B_202B_206D_202D_206D_202A_202B_202E_202A_202D_200F_202B_206F_206B_202E_202E_202E((IEnumerator)enumerator) ? 410602802 : 410602800); + break; + case 1: + return; + } + } + } + finally + { + num = ((enumerator == null) ? 842777635 : 842777632); + while (true) + { + int num8 = num; + num3 = 842777633; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_06ec; + case 1: + _202D_202E_200E_202A_202D_206D_202C_202B_202C_202D_206C_206A_200F_202E_200F_206A_202B_202A_200D_206D_206B_202E_206E_206D_206F_206A_200C_200B_206B_200C_200E_206D_202D_200D_200C_206A_202E_200F_202D_202E_202E((IDisposable)enumerator); + num = 842777635; + break; + case 0: + num = 842777632; + break; + } + continue; + end_IL_06ec: + break; + } + } + } + catch (Exception ex) + { + _200F_202D_206C_200B_202E_206B_202A_202B_206C_206E_202D_200E_200C_200E_206B_206A_206A_202D_206A_202E_200E_206E_202A_206C_202C_206C_202A_202E_200C_202E_200B_206C_206B_206C_200E_206D_200E_206E_200E_200F_202E((ILogger)_logger, ex, global::_003CModule_003E._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(57710941), Array.Empty()); + _200F_202D_200F_206E_206F_206E_202C_200F_200F_206E_206C_206F_206E_206F_200E_200F_200E_206D_200B_200C_202C_206A_202E_206F_206F_200F_202C_202B_206E_206C_206D_200F_202A_206F_206A_200F_206E_206D_202E_206F_202E(_chatGui, global::_003CModule_003E._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(1443100882), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + Stop(global::_003CModule_003E._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(-1531843937)); 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; } - 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"); - try - { - foreach (ITask item5 in _taskCreator.CreateTasks(CurrentQuest.Quest, CurrentQuest.Sequence, questSequence, step)) - { - _taskQueue.Enqueue(item5); - } - 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; } + [MethodImpl(MethodImplOptions.NoInlining)] public string ToStatString() { ITask task = _taskQueue.CurrentTaskExecutor?.CurrentTask; - if (task != null) + int num = ((task != null) ? 538826814 : 538826815); + while (true) { - return $"{task} (+{_taskQueue.RemainingTasks.Count()})"; + int num2 = num; + int num3 = 538826814; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(4, 2); + defaultInterpolatedStringHandler2.AppendFormatted(task); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1973925937)); + defaultInterpolatedStringHandler2.AppendFormatted(_taskQueue.RemainingTasks.Count()); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1735737295)); + return defaultInterpolatedStringHandler2.ToStringAndClear(); + } + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-7763818)); + defaultInterpolatedStringHandler.AppendFormatted(_taskQueue.RemainingTasks.Count()); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + case 2: + goto IL_0103; + } + continue; + IL_0103: + num = 538826815; } - return $"- (+{_taskQueue.RemainingTasks.Count()})"; } public bool HasCurrentTaskExecutorMatching([NotNullWhen(true)] out T? task) where T : class, ITaskExecutor { - if (_taskQueue.CurrentTaskExecutor is T val) + T val = _taskQueue.CurrentTaskExecutor as T; + int num = ((val == null) ? 147381141 : 147381142); + while (true) { - task = val; - return true; + int num2 = num; + int num3 = 147381143; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_005e; + case 2: + task = null; + return false; + case 1: + task = val; + return true; + } + continue; + IL_005e: + num = 147381142; } - task = null; - return false; } public bool HasCurrentTaskMatching([NotNullWhen(true)] out T? task) where T : class, ITask { - if (_taskQueue.CurrentTaskExecutor?.CurrentTask is T val) + T val = _taskQueue.CurrentTaskExecutor?.CurrentTask as T; + int num = ((val == null) ? 959194495 : 959194492); + while (true) { - task = val; - return true; + int num2 = num; + int num3 = 959194494; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_006e; + case 2: + task = val; + return true; + case 1: + task = null; + return false; + } + continue; + IL_006e: + num = 959194492; } - task = null; - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Skip(ElementId elementId, byte currentQuestSequence) { - lock (_progressLock) + int num = ((!(_taskQueue.CurrentTaskExecutor?.CurrentTask is ISkippableTask)) ? (-1495300291) : (-1495300290)); + ITask task2 = default(ITask); + while (true) { - if (_taskQueue.CurrentTaskExecutor?.CurrentTask is ISkippableTask) + int num2 = num; + int num3 = -1495300294; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 3: + num = -1495300290; + break; + case 4: _taskQueue.CurrentTaskExecutor = null; - } - else if (_taskQueue.CurrentTaskExecutor != null) - { + return; + case 1: + return; + case 7: + num = ((_taskQueue.CurrentTaskExecutor == null) ? (-1495300292) : (-1495300301)); + break; + case 9: _taskQueue.CurrentTaskExecutor = null; - ITask task; - while (_taskQueue.TryPeek(out task)) - { - _taskQueue.TryDequeue(out ITask _); - if (task is ISkippableTask) - { - return; - } - } - if (_taskQueue.AllTasksComplete) - { - Stop("Skip"); - IncreaseStepCount(elementId, currentQuestSequence); - } - } - else + num = -1495300289; + break; + case 5: + num = ((!_taskQueue.TryPeek(out task2)) ? (-1495300304) : (-1495300296)); + break; + case 2: { - Stop("SkipNx"); + _taskQueue.TryDequeue(out ITask _); + num = ((!(task2 is ISkippableTask)) ? (-1495300289) : (-1495300302)); + break; + } + case 0: + Stop(global::_003CModule_003E._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(-1356164541)); IncreaseStepCount(elementId, currentQuestSequence); + return; + case 10: + num = ((!_taskQueue.AllTasksComplete) ? (-1495300293) : (-1495300294)); + break; + case 6: + Stop(global::_003CModule_003E._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(645959712)); + IncreaseStepCount(elementId, currentQuestSequence); + num = -1495300293; + break; + case 8: + return; } } } @@ -1352,90 +3403,261 @@ internal sealed class QuestController : MiniTaskController public bool IsInterruptible() { EAutomationType automationType = AutomationType; - if ((uint)(automationType - 3) <= 1u) + int num = (((uint)(automationType - 3) > 1u) ? (-272252547) : (-272252565)); + QuestProgress item = default(QuestProgress); + bool flag2 = default(bool); + (ElementId, byte, bool, long) valueOrDefault = default((ElementId, byte, bool, long)); + QuestStep questStep = default(QuestStep); + (QuestProgress, ECurrentQuestType)? currentQuestDetails = default((QuestProgress, ECurrentQuestType)?); + QuestSequence questSequence = default(QuestSequence); + (ElementId, byte, bool, long)? interruptibleRouteCache = default((ElementId, byte, bool, long)?); + while (true) { - return false; + int num2 = num; + int num3 = -272252566; + int num4 = num2; + object obj; + switch ((num4 | num3) - (num4 & num3)) + { + case 10: + num = ((!_200F_206B_206B_202C_200E_206D_202E_206D_206A_206C_200D_202C_200C_200E_200D_200D_206C_200E_202B_200C_202A_206F_202E_200C_200D_206A_200C_200F_206D_206E_206A_206F_206A_202C_206B_206A_200E_206F_200D_200D_202E(item.Quest.Root)) ? (-272252545) : (-272252558)); + break; + case 16: + obj = null; + goto IL_03ea; + case 11: + return false; + case 1: + flag2 = true; + num = -272252556; + break; + case 7: + return false; + case 3: + num = ((_200F_202C_206D_200F_200D_206C_206B_200E_202D_202E_206E_206B_202C_200C_202E_202B_200E_202A_202D_200F_202E_206B_206A_206A_200B_202D_202E_200C_206D_202D_200B_202A_206E_206D_202E_200C_206F_200B_200F_206B_202E() - valueOrDefault.Item4 >= 2000) ? (-272252568) : (-272252574)); + break; + case 22: + num = -272252565; + break; + case 27: + num = ((!QuestData.HardModePrimals.Contains(item.Quest.Id)) ? (-272252570) : (-272252573)); + break; + case 9: + return false; + case 30: + num = ((!flag2) ? (-272252572) : (-272252546)); + break; + case 23: + flag2 = false; + num = -272252556; + break; + case 2: + { + bool flag = _smartNavRouteEnqueuer.RouteStartsWithTeleport(_206E_202A_206F_206D_206A_202E_200D_202E_206B_206D_202D_200C_200B_206C_202C_206D_200D_206F_202C_202A_200C_202E_206F_200B_206E_206C_206F_202A_200D_206D_206C_202B_202A_202C_200B_202D_200D_206D_206A_200D_202E(questStep), _202C_202D_202C_200F_200E_206E_200B_200D_202E_200E_206D_202B_206E_206D_206B_202D_202E_206E_206E_200B_200D_200F_202D_200F_206D_206E_206E_206D_206D_206F_200F_200E_202E_200F_202C_202C_206D_200B_202E_200E_202E(questStep).Value); + _interruptibleRouteCache = (item.Quest.Id, item.Sequence, flag, _200F_202C_206D_200F_200D_206C_206B_200E_202D_202E_206E_206B_202C_200C_202E_202B_200E_202A_202D_200F_202E_206B_206A_206A_200B_202D_202E_200C_206D_202D_200B_202A_206E_206D_202E_200C_206F_200B_200F_206B_202E()); + return flag; + } + case 14: + currentQuestDetails = CurrentQuestDetails; + num = (currentQuestDetails.HasValue ? (-272252571) : (-272252549)); + break; + case 24: + num = ((item.Sequence != 0) ? (-272252564) : (-272252545)); + break; + case 18: + num = ((questSequence != null) ? (-272252557) : (-272252550)); + break; + case 13: + valueOrDefault = interruptibleRouteCache.GetValueOrDefault(); + num = ((!_206F_202D_202C_200B_202C_202C_202A_206B_202B_200E_202B_206C_206D_206F_206F_200B_202B_200C_202E_206C_200B_206F_202D_200F_202C_202E_206D_206E_200E_206D_200D_206B_202C_206C_202E_200F_206D_202B_200B_200D_202E(valueOrDefault.Item1, item.Quest.Id)) ? (-272252568) : (-272252561)); + break; + case 28: + return false; + case 12: + num = ((item.Quest.Info.AlliedSociety == EAlliedSociety.None) ? (-272252566) : (-272252563)); + break; + case 0: + questSequence = item.Quest.FindSequence(item.Sequence); + num = ((item.Step <= 0) ? (-272252552) : (-272252554)); + break; + case 20: + return false; + case 5: + num = ((valueOrDefault.Item2 != item.Sequence) ? (-272252568) : (-272252567)); + break; + case 19: + if (_202D_202A_206B_206A_200D_200F_200C_202C_200F_206A_200E_206D_202C_206B_206B_206D_202B_200C_202C_206A_200D_206B_202B_202B_200D_206C_200F_206A_206A_200B_200F_200B_200D_200C_200D_202C_206E_200F_206E_202E_202E(questStep).HasValue) + { + num = -272252562; + break; + } + goto case 29; + case 29: + num = -272252575; + break; + case 6: + num = ((!ManualPriorityQuests.Contains(item.Quest)) ? (-272252559) : (-272252560)); + break; + case 4: + interruptibleRouteCache = _interruptibleRouteCache; + num = ((!interruptibleRouteCache.HasValue) ? (-272252568) : (-272252569)); + break; + case 21: + return false; + case 26: + return false; + case 17: + return false; + case 25: + obj = _200D_202C_200C_202B_202C_200C_200C_200F_202C_200B_200E_200D_206E_200B_200E_202B_200B_206D_206D_200F_206F_202D_206A_206B_200E_206E_200F_206D_200B_200E_202A_202D_200E_200D_206C_200D_202D_202B_206A_206D_202E(questSequence, item.Step); + goto IL_03ea; + case 8: + return valueOrDefault.Item3; + case 15: + { + (QuestProgress, ECurrentQuestType) value = currentQuestDetails.Value; + item = value.Item1; + num = ((value.Item2 != ECurrentQuestType.Normal) ? (-272252545) : (-272252576)); + break; + } + IL_03ea: + questStep = (QuestStep)obj; + num = ((questStep != null) ? (-272252551) : (-272252553)); + break; + } } - (QuestProgress, ECurrentQuestType)? currentQuestDetails = CurrentQuestDetails; - if (!currentQuestDetails.HasValue) - { - return false; - } - (QuestProgress, ECurrentQuestType) value = currentQuestDetails.Value; - var (questProgress, _) = value; - if (value.Item2 != ECurrentQuestType.Normal || !questProgress.Quest.Root.Interruptible || questProgress.Sequence == 0) - { - return false; - } - if (ManualPriorityQuests.Contains(questProgress.Quest)) - { - return false; - } - if (QuestData.HardModePrimals.Contains(questProgress.Quest.Id)) - { - return false; - } - if (questProgress.Quest.Info.AlliedSociety != EAlliedSociety.None) - { - return false; - } - QuestSequence questSequence = questProgress.Quest.FindSequence(questProgress.Sequence); - if (questProgress.Step > 0) - { - return false; - } - QuestStep questStep = questSequence?.FindStep(questProgress.Step); - if (questStep != null && questStep.AetheryteShortcut.HasValue && (questStep.SkipConditions?.AetheryteShortcutIf?.QuestsCompleted.Count).GetValueOrDefault() == 0) - { - return (questStep.SkipConditions?.AetheryteShortcutIf?.QuestsAccepted.Count).GetValueOrDefault() == 0; - } - return false; } public bool TryPickPriorityQuest() { - if (!IsInterruptible() || _nextQuest != null || _gatheringQuest != null || _simulatedQuest != null) + int num = ((!IsInterruptible()) ? (-1793325779) : (-1793325780)); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + ElementId elementId = default(ElementId); + while (true) { - return false; + int num2 = num; + int num3 = -1793325781; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + SetNextQuest(quest); + return true; + case 6: + return false; + case 7: + num = ((_nextQuest != null) ? (-1793325779) : (-1793325783)); + break; + case 9: + num = ((!_206F_202D_202C_200B_202C_202C_202A_206B_202B_200E_202B_206C_206D_206F_206F_200B_202B_200C_202E_206C_200B_206F_202D_200F_202C_202E_206D_206E_200E_206D_200D_206B_202C_206C_202E_200F_206D_202B_200B_200D_202E(elementId, _startedQuest.Quest.Id)) ? (-1793325791) : (-1793325777)); + break; + case 1: + num = ((_startedQuest == null) ? (-1793325791) : (-1793325790)); + break; + case 11: + return false; + case 3: + elementId = (from x in _questFunctions.GetNextPriorityQuestsThatCanBeAccepted() + where x.IsAvailable + select x.QuestId).FirstOrDefault(); + num = ((!_206F_202D_202C_200B_202C_202C_202A_206B_202B_200E_202B_206C_206D_206F_206F_200B_202B_200C_202E_206C_200B_206F_202D_200F_202C_202E_206D_206E_200E_206D_200D_206B_202C_206C_202E_200F_206D_202B_200B_200D_202E(elementId, (ElementId)null)) ? (-1793325782) : (-1793325781)); + break; + case 0: + return false; + case 12: + num = ((_simulatedQuest == null) ? (-1793325784) : (-1793325779)); + break; + case 2: + num = ((_gatheringQuest != null) ? (-1793325779) : (-1793325785)); + break; + case 10: + num = ((!_questRegistry.TryGetQuest(elementId, out quest)) ? (-1793325792) : (-1793325789)); + break; + case 5: + num = -1793325780; + break; + case 4: + return false; + } } - ElementId elementId = (from x in _questFunctions.GetNextPriorityQuestsThatCanBeAccepted() - where x.IsAvailable - select x.QuestId).FirstOrDefault(); - if (elementId == null) - { - return false; - } - if (_startedQuest != null && elementId == _startedQuest.Quest.Id) - { - return false; - } - if (_questRegistry.TryGetQuest(elementId, out Quest quest)) - { - SetNextQuest(quest); - return true; - } - return false; } - public void ImportQuestPriority(List questElements) + [MethodImpl(MethodImplOptions.NoInlining)] + public bool ImportQuestPriority(List questElements) { - ManualPriorityQuests.Clear(); - foreach (ElementId questElement in questElements) + List list = new List(); + int num; + using (List.Enumerator enumerator = questElements.GetEnumerator()) { - if (_questRegistry.TryGetQuest(questElement, out Quest quest)) + num = 1088990833; + ElementId current = default(ElementId); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + while (true) { - ManualPriorityQuests.Add(quest); + int num2 = num; + int num3 = 1088990832; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1620872938), new object[1] { current }); + num = 1088990833; + break; + case 4: + current = enumerator.Current; + num = ((!_questRegistry.TryGetQuest(current, out quest)) ? 1088990837 : 1088990832); + break; + case 0: + list.Add(quest); + num = 1088990833; + break; + case 1: + num = (enumerator.MoveNext() ? 1088990836 : 1088990834); + break; + case 3: + num = 1088990833; + break; + case 2: + goto end_IL_0019; + } continue; + end_IL_0019: + break; } - _logger.LogWarning("Could not find quest {QuestId} during import", questElement); } - _logger.LogInformation("Imported {Count} priority quests", ManualPriorityQuests.Count); - SavePriorityQuests(); + num = ((list.Count != 0) ? (-1930214335) : (-1930214334)); + while (true) + { + int num5 = num; + int num3 = -1930214333; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + goto IL_0156; + case 2: + ManualPriorityQuests.Clear(); + ManualPriorityQuests.AddRange(list); + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1848291425), new object[1] { ManualPriorityQuests.Count }); + SavePriorityQuests(); + return true; + case 1: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(337890676), Array.Empty()); + return false; + } + continue; + IL_0156: + num = -1930214334; + } } public string ExportQuestPriority() { - return string.Join(';', ManualPriorityQuests.Select((Quest x) => x.Id.ToString())); + return string.Join(';', ManualPriorityQuests.Select((Questionable.Model.Quest x) => _003C_003Ec._202B_206B_206E_206A_200D_206F_202C_200F_206E_200D_200E_202E_200C_206E_200C_202A_200C_200B_202D_206D_202E_206B_202B_206B_206C_200F_200C_206C_206D_206F_200D_200E_202A_202B_206E_206F_200B_206E_206A_202E((object)x.Id))); } public void ClearQuestPriority() @@ -1446,117 +3668,336 @@ internal sealed class QuestController : MiniTaskController public bool AddQuestPriority(ElementId elementId) { - if (_questRegistry.TryGetQuest(elementId, out Quest quest) && !ManualPriorityQuests.Contains(quest)) + Questionable.Model.Quest quest; + int num = ((!_questRegistry.TryGetQuest(elementId, out quest)) ? (-1948690757) : (-1948690759)); + while (true) { - ManualPriorityQuests.Add(quest); - SavePriorityQuests(); - return true; - } - return false; - } - - public int AddAllAvailableQuests() - { - List list = (from q in _questRegistry.AllQuests.Where(delegate(Quest quest2) - { - if (quest2.Root.Disabled || _questFunctions.IsQuestRemoved(quest2.Id) || _questFunctions.IsQuestComplete(quest2.Id) || _questFunctions.IsQuestAccepted(quest2.Id) || quest2.Info.IsRepeatable) - { - 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); - return false; - } - if (!_questFunctions.IsReadyToAcceptQuest(quest2.Id)) - { - _logger.LogTrace("Quest {QuestId} not ready to accept", quest2.Id); - return false; - } - return true; - }) - select q.Id).ToList(); - _logger.LogInformation("Adding {Count} available quests to priority queue", list.Count); - int num = 0; - foreach (ElementId item in list) - { - if (_questRegistry.TryGetQuest(item, out Quest quest) && !ManualPriorityQuests.Contains(quest)) + int num2 = num; + int num3 = -1948690760; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 2: + num = -1948690759; + break; + case 3: + return false; + case 1: + num = (ManualPriorityQuests.Contains(quest) ? (-1948690757) : (-1948690760)); + break; + case 0: ManualPriorityQuests.Add(quest); - num++; + SavePriorityQuests(); + return true; } } - if (num > 0) - { - SavePriorityQuests(); - } - return num; } + [MethodImpl(MethodImplOptions.NoInlining)] + public int AddAllAvailableQuests() + { + List list = (from q in _questRegistry.AllQuests.Where([MethodImpl(MethodImplOptions.NoInlining)] (Questionable.Model.Quest quest2) => + { + int num14 = (_200E_202C_202A_202B_202C_202E_202A_200E_202A_200D_200E_202C_206F_206A_206C_200F_206D_206C_202D_206D_206C_202A_202E_202C_202A_202A_202C_206F_206F_206A_206A_206F_200F_200E_200E_200B_202C_200B_206C_202E_202E(quest2.Root) ? (-1663681159) : (-1663681160)); + QuestInfo questInfo = default(QuestInfo); + while (true) + { + int num15 = num14; + int num16 = -1663681159; + int num17 = num15; + switch ((num17 | num16) - (num17 & num16)) + { + case 7: + num14 = ((questInfo.JournalGenre != _journalData.MoogleDeliveryGenreId.Value) ? (-1663681153) : (-1663681156)); + break; + case 3: + num14 = ((!_journalData.MoogleDeliveryGenreId.HasValue) ? (-1663681153) : (-1663681154)); + break; + case 6: + num14 = (_questFunctions.IsReadyToAcceptQuest(quest2.Id) ? (-1663681157) : (-1663681163)); + break; + case 11: + num14 = ((!quest2.Info.IsRepeatable) ? (-1663681165) : (-1663681159)); + break; + case 10: + questInfo = quest2.Info as QuestInfo; + num14 = ((questInfo == null) ? (-1663681153) : (-1663681158)); + break; + case 12: + _202B_206D_202D_206B_202B_206C_200C_206F_202B_206E_206C_202E_202E_206C_200B_202D_206E_206F_206E_206E_200C_206B_202E_202E_206A_202D_206D_206B_200F_200B_200C_202A_206C_202D_206F_202B_206E_202E_202E_200F_202E((ILogger)_logger, global::_003CModule_003E._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(151994669), new object[1] { quest2.Id }); + return false; + case 0: + return false; + case 1: + num14 = (_questFunctions.IsQuestRemoved(quest2.Id) ? (-1663681159) : (-1663681168)); + break; + case 4: + num14 = -1663681160; + break; + case 5: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(1002258107), new object[1] { quest2.Id }); + return false; + case 2: + return true; + case 9: + num14 = (_questFunctions.IsQuestComplete(quest2.Id) ? (-1663681159) : (-1663681167)); + break; + case 8: + num14 = (_questFunctions.IsQuestAccepted(quest2.Id) ? (-1663681159) : (-1663681166)); + break; + } + } + }) + select q.Id).ToList(); + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-408449636), new object[1] { list.Count }); + int num = 0; + int num2; + using (List.Enumerator enumerator = list.GetEnumerator()) + { + num2 = 1101482974; + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + while (true) + { + int num3 = num2; + int num4 = 1101482972; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 3: + num2 = 1101482974; + break; + case 5: + num2 = (ManualPriorityQuests.Contains(quest) ? 1101482974 : 1101482968); + break; + case 4: + { + ManualPriorityQuests.Add(quest); + int num8 = num; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + num = num9 + (num10 + num10); + num2 = 1101482974; + break; + } + case 1: + { + ElementId current = enumerator.Current; + num2 = ((!_questRegistry.TryGetQuest(current, out quest)) ? 1101482974 : 1101482969); + break; + } + case 2: + num2 = (enumerator.MoveNext() ? 1101482973 : 1101482972); + break; + case 0: + goto end_IL_0087; + } + continue; + end_IL_0087: + break; + } + } + num2 = ((num <= 0) ? 346489570 : 346489569); + while (true) + { + int num11 = num2; + int num4 = 346489571; + int num5 = num11; + int num12 = num5 + num4; + int num13 = num5 & num4; + switch (num12 - (num13 + num13)) + { + case 0: + num2 = 346489569; + break; + case 1: + return num; + case 2: + SavePriorityQuests(); + num2 = 346489570; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public bool InsertQuestPriority(int index, ElementId elementId) { try { - if (_questRegistry.TryGetQuest(elementId, out Quest quest) && !ManualPriorityQuests.Contains(quest)) + Questionable.Model.Quest quest; + int num = ((!_questRegistry.TryGetQuest(elementId, out quest)) ? (-1714455878) : (-1714455877)); + while (true) { - ManualPriorityQuests.Insert(index, quest); - SavePriorityQuests(); + int num2 = num; + int num3 = -1714455880; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1714455877; + break; + case 1: + ManualPriorityQuests.Insert(index, quest); + SavePriorityQuests(); + num = -1714455878; + break; + case 3: + num = (ManualPriorityQuests.Contains(quest) ? (-1714455878) : (-1714455879)); + break; + case 2: + return true; + } } - return true; } - catch (Exception exception) + catch (Exception ex) { - _logger.LogError(exception, "Failed to insert quest in priority list"); - _chatGui.PrintError("Failed to insert quest in priority list, please check /xllog for details.", "Questionable", 576); + _200F_202D_206C_200B_202E_206B_202A_202B_206C_206E_202D_200E_200C_200E_206B_206A_206A_202D_206A_202E_200E_206E_202A_206C_202C_206C_202A_202E_200C_202E_200B_206C_206B_206C_200E_206D_200E_206E_200E_200F_202E((ILogger)_logger, ex, global::_003CModule_003E._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(1714631835), Array.Empty()); + _200F_202D_200F_206E_206F_206E_202C_200F_200F_206E_206C_206F_206E_206F_200E_200F_200E_206D_200B_200C_202C_206A_202E_206F_206F_200F_202C_202B_206E_206C_206D_200F_202A_206F_206A_200F_206E_206D_202E_206F_202E(_chatGui, global::_003CModule_003E._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(1891905702), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); return false; } } + [MethodImpl(MethodImplOptions.NoInlining)] public void LoadPriorityQuests() { - if (!_configuration.General.PersistPriorityQuestsBetweenSessions) + int num = (_configuration.General.PersistPriorityQuestsBetweenSessions ? (-422838411) : (-422838410)); + ElementId current = default(ElementId); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + while (true) { - _logger.LogDebug("Priority quest persistence is disabled, skipping load"); - return; - } - ManualPriorityQuests.Clear(); - foreach (ElementId priorityQuest in _configuration.General.PriorityQuests) - { - if (_questRegistry.TryGetQuest(priorityQuest, out Quest quest)) + int num2 = num; + int num3 = -422838409; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - ManualPriorityQuests.Add(quest); - continue; + case 0: + goto IL_0056; + case 1: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(723025887), Array.Empty()); + return; + case 2: + { + ManualPriorityQuests.Clear(); + using (List.Enumerator enumerator = _configuration.General.PriorityQuests.GetEnumerator()) + { + num = -422480032; + while (true) + { + int num5 = num; + num3 = -422480028; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 5: + num = -422480032; + break; + case 4: + num = (enumerator.MoveNext() ? (-422480027) : (-422480025)); + break; + case 0: + _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-977297815), new object[1] { current }); + num = -422480032; + break; + case 2: + ManualPriorityQuests.Add(quest); + num = -422480032; + break; + case 1: + current = enumerator.Current; + num = ((!_questRegistry.TryGetQuest(current, out quest)) ? (-422480028) : (-422480026)); + break; + case 3: + goto end_IL_00a8; + } + continue; + end_IL_00a8: + break; + } + } + num = ((ManualPriorityQuests.Count <= 0) ? 414595989 : 414595988); + while (true) + { + int num8 = num; + num3 = 414595989; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + return; + case 1: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(460931309), new object[1] { ManualPriorityQuests.Count }); + num = 414595989; + break; + case 2: + num = 414595988; + break; + } + } } - _logger.LogWarning("Could not find quest {QuestId} during load from config", priorityQuest); - } - if (ManualPriorityQuests.Count > 0) - { - _logger.LogInformation("Loaded {Count} priority quests from configuration", ManualPriorityQuests.Count); + } + continue; + IL_0056: + num = -422838410; } } + [MethodImpl(MethodImplOptions.NoInlining)] public void SavePriorityQuests() { - if (!_configuration.General.PersistPriorityQuestsBetweenSessions) + int num = (_configuration.General.PersistPriorityQuestsBetweenSessions ? (-2116182895) : (-2116182894)); + while (true) { - _logger.LogDebug("Priority quest persistence is disabled, skipping save"); - return; + int num2 = num; + int num3 = -2116182893; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _configuration.General.PriorityQuests = ManualPriorityQuests.Select((Questionable.Model.Quest q) => q.Id).ToList(); + _206C_206B_206A_206C_206E_202D_206B_202C_202A_206C_202A_202E_202C_202C_206F_200D_202D_206B_206B_202E_202C_206F_202E_206A_200C_206A_202C_206D_200E_202E_206F_200F_200C_206D_206D_206D_202D_202A_206C_206E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1313328163), new object[1] { ManualPriorityQuests.Count }); + return; + case 1: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1550865690), Array.Empty()); + return; + case 0: + goto IL_00ed; + } + continue; + IL_00ed: + num = -2116182894; } - _configuration.General.PriorityQuests = ManualPriorityQuests.Select((Quest q) => q.Id).ToList(); - _pluginInterface.SavePluginConfig(_configuration); - _logger.LogDebug("Saved {Count} priority quests to configuration", ManualPriorityQuests.Count); } private void OnConditionChange(ConditionFlag flag, bool value) { - if (_taskQueue.CurrentTaskExecutor is IConditionChangeAware conditionChangeAware) + IConditionChangeAware conditionChangeAware = _taskQueue.CurrentTaskExecutor as IConditionChangeAware; + int num = ((conditionChangeAware == null) ? 941144063 : 941144062); + while (true) { - conditionChangeAware.OnConditionChange(flag, value); + int num2 = num; + int num3 = 941144063; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 941144062; + break; + case 1: + conditionChangeAware.OnConditionChange(flag, value); + num = 941144063; + break; + case 0: + return; + } } } @@ -1567,43 +4008,450 @@ internal sealed class QuestController : MiniTaskController protected override void HandleInterruption(object? sender, EventArgs e) { - if (IsRunning && AutomationType != EAutomationType.Manual) + int num = (IsRunning ? (-1655978351) : (-1655978346)); + while (true) { - base.HandleInterruption(sender, e); - } - } - - private void OnLogout(int type, int code) - { - if (_configuration.General.ClearPriorityQuestsOnLogout) - { - _logger.LogInformation("Clearing priority quests on logout"); - ManualPriorityQuests.Clear(); - if (_configuration.General.PersistPriorityQuestsBetweenSessions) + int num2 = num; + int num3 = -1655978350; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - _configuration.General.PriorityQuests.Clear(); - _pluginInterface.SavePluginConfig(_configuration); + case 0: + return; + case 4: + return; + case 2: + num = -1655978346; + break; + case 3: + num = ((AutomationType != EAutomationType.Manual) ? (-1655978349) : (-1655978350)); + break; + case 1: + base.HandleInterruption(sender, e); + return; } } } + [MethodImpl(MethodImplOptions.NoInlining)] + private void OnLogout(int type, int code) + { + StopAllDueToConditionFailed(global::_003CModule_003E._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(388867250)); + int num = ((!_configuration.General.ClearPriorityQuestsOnLogout) ? (-1679940303) : (-1679940301)); + while (true) + { + int num2 = num; + int num3 = -1679940302; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1679940301; + break; + case 0: + _configuration.General.PriorityQuests.Clear(); + _206C_206B_206A_206C_206E_202D_206B_202C_202A_206C_202A_202E_202C_202C_206F_200D_202D_206B_206B_202E_202C_206F_202E_206A_200C_206A_202C_206D_200E_202E_206F_200F_200C_206D_206D_206D_202D_202A_206C_206E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num = -1679940303; + break; + case 1: + _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(367298565), Array.Empty()); + ManualPriorityQuests.Clear(); + num = ((!_configuration.General.PersistPriorityQuestsBetweenSessions) ? (-1679940303) : (-1679940302)); + break; + case 3: + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void OnPlayerInputDetected(object? sender, EventArgs e) { - if (AutomationType != EAutomationType.Manual && IsRunning) + int num = ((AutomationType == EAutomationType.Manual) ? (-1200992727) : (-1200992728)); + while (true) { - _logger.LogInformation("Player input detected during movement, stopping quest automation"); - _chatGui.Print("Player input detected - stopping quest automation.", "Questionable", 576); - Stop("Player input detected"); + int num2 = num; + int num3 = -1200992727; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1200992728; + break; + case 0: + return; + case 1: + num = ((!IsRunning) ? (-1200992727) : (-1200992726)); + break; + case 3: + _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1330855423), Array.Empty()); + _206B_200E_206D_202B_200F_206D_202C_206C_206B_200F_200D_202B_202A_200B_202E_206D_200B_206E_202D_200D_206F_202C_206E_202C_206A_206C_206F_200D_202D_200C_206A_206D_202E_200D_206F_202C_200E_202C_206E_200E_202E(_chatGui, global::_003CModule_003E._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(-1328600292), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + Stop(global::_003CModule_003E._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(983889024)); + num = -1200992727; + break; + } + } + } + + private void OnQuestRegistryReloaded(object? sender, EventArgs e) + { + RefreshQuestReference(_startedQuest); + RefreshQuestReference(_nextQuest); + RefreshQuestReference(_gatheringQuest); + RefreshQuestReference(_pendingQuest); + int num = 0; + int num2 = -375466383; + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + while (true) + { + int num3 = num2; + int num4 = -375466384; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 3: + ManualPriorityQuests[num] = quest; + num2 = -375466380; + break; + case 1: + num2 = ((num < ManualPriorityQuests.Count) ? (-375466382) : (-375466379)); + break; + case 4: + { + int num8 = num; + num4 = 1; + num5 = num8; + num = (num5 | num4) + (num5 & num4); + num2 = -375466383; + break; + } + case 0: + num2 = -375466383; + break; + case 5: + _interruptibleRouteCache = null; + return; + case 2: + num2 = ((!_questRegistry.TryGetQuest(ManualPriorityQuests[num].Id, out quest)) ? (-375466380) : (-375466381)); + break; + } + } + } + + private void RefreshQuestReference(QuestProgress? progress) + { + int num = ((progress == null) ? (-1904312467) : (-1904312465)); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + while (true) + { + int num2 = num; + int num3 = -1904312466; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1904312465; + break; + case 1: + num = ((!_questRegistry.TryGetQuest(progress.Quest.Id, out quest)) ? (-1904312467) : (-1904312466)); + break; + case 0: + progress.ReplaceQuest(quest); + num = -1904312467; + break; + case 3: + return; + } } } public override void Dispose() { - _toastGui.ErrorToast -= base.OnErrorToast; - _toastGui.Toast -= OnNormalToast; - _condition.ConditionChange -= OnConditionChange; - _clientState.Logout -= OnLogout; + _questRegistry.Reloaded -= OnQuestRegistryReloaded; + _200C_200D_200C_206E_206E_206E_206B_200D_206D_206B_202A_202D_206A_202E_206C_200B_206B_206C_206F_202C_206B_206D_200F_202C_202C_206D_202C_200C_206B_206C_202A_206A_202B_206E_200E_202D_202D_202B_202A_200F_202E(_toastGui, (IToastGui.OnErrorToastDelegate)base.OnErrorToast); + _202C_202B_206C_200F_206A_206F_206D_206C_200B_202D_206C_200D_202C_202B_200F_202E_206E_200B_200D_206B_206E_200F_202C_200D_200E_200C_206C_200E_202D_206B_202A_200C_206D_202B_206F_202B_202B_206C_206D_206B_202E(_toastGui, (IToastGui.OnNormalToastDelegate)OnNormalToast); + _200F_206A_206B_200C_206F_202B_200E_202D_200F_202E_206A_206C_202C_200F_206E_200D_206A_206D_206D_202B_200C_202A_200D_206C_202B_200D_200B_200D_200C_206D_206F_202A_202A_206D_202D_206A_202A_206C_202E_200C_202E(_condition, (ICondition.ConditionChangeDelegate)OnConditionChange); + _202B_206D_202D_202D_202B_206F_202C_200B_200D_202B_206F_202E_206B_206C_200F_206C_206A_206E_200E_206A_202B_200E_200C_206B_202A_202D_200E_206E_202B_206E_206E_206C_202A_206C_206F_202E_202B_206B_206B_202E(_clientState, (IClientState.LogoutDelegate)OnLogout); _movementController.PlayerInputDetected -= OnPlayerInputDetected; base.Dispose(); } + + static void _206C_202A_200E_200B_202B_206C_206E_202D_200D_200C_206B_206D_202B_206E_206F_202E_202D_206D_200E_200E_200D_206E_206B_202B_202A_206E_202B_200F_200D_200C_202D_202C_200F_206A_206F_206D_206D_206E_200E_206D_202E(IToastGui P_0, IToastGui.OnErrorToastDelegate P_1) + { + P_0.ErrorToast += P_1; + } + + static void _200C_206A_202E_202A_200F_202B_206D_200D_202B_206C_200E_202C_206F_206B_206C_206A_206F_206C_202D_200F_200E_206D_200D_202A_206A_206A_206F_206C_200D_206B_202A_200F_200F_200F_202C_206E_206A_206F_206D_202C_202E(IToastGui P_0, IToastGui.OnNormalToastDelegate P_1) + { + P_0.Toast += P_1; + } + + static void _202C_202A_202A_200C_202C_200B_200D_200B_200F_202E_200C_202A_200D_206C_206C_206E_200C_200D_202C_200E_202C_200B_202D_206B_202B_200C_202C_202B_202C_206D_206F_200F_206A_202D_206C_200F_206C_200D_202A_206C_202E(ICondition P_0, ICondition.ConditionChangeDelegate P_1) + { + P_0.ConditionChange += P_1; + } + + static void _202E_202A_206E_200D_202D_202D_202A_202A_200C_202A_200D_206F_206A_206A_206B_200C_200F_206C_200F_200D_206D_206B_202D_202E_200B_200F_206E_200F_200D_202E_200F_206C_200D_200D_202C_200B_200D_202B_202C_200C_202E(IClientState P_0, IClientState.LogoutDelegate P_1) + { + P_0.Logout += P_1; + } + + static void _200B_202A_206E_206C_200E_206C_206E_202A_206E_200B_206E_206B_202C_202A_202C_200E_200C_202B_200C_200E_206A_200D_206B_200D_200D_202D_202C_200F_202C_206D_202C_200B_200B_202E_202A_200F_202C_200F_200B_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static Delegate _200E_202A_206A_202D_200B_202C_202C_200E_202C_200D_206A_202D_200E_206E_200C_206F_206C_200C_206E_202C_200E_200C_200F_200E_206B_206D_202D_206C_200D_202B_200D_202B_202E_206C_206E_200F_206E_206B_200D_206D_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Combine(P_0, P_1); + } + + static Delegate _200B_206D_200F_202D_202D_206B_202A_200B_202B_200F_202A_200B_206F_206A_206B_200D_206B_206F_206F_200D_206E_206E_202B_202A_206B_206D_200B_206C_202A_206C_202D_206C_202B_206A_206A_206E_206F_202A_200D_206B_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Remove(P_0, P_1); + } + + static IPlayerCharacter _202A_206E_200F_206E_206D_202E_206B_202A_206B_200F_200C_206C_202A_206E_200D_206B_206B_206C_206A_200D_202B_200F_206D_206E_202C_200B_200B_206B_202A_200E_206E_200F_202A_206F_206A_206F_202C_200D_202A_206B_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static ushort _200E_202C_200B_200D_200F_202B_206C_206B_202A_206E_206D_200C_202C_206E_200F_200C_200C_206E_200D_202A_200B_206F_202B_202A_202C_202E_200F_206B_206D_200C_200D_202C_206D_200C_200D_200B_202E_202D_206A_200F_202E(ElementId P_0) + { + return P_0.Value; + } + + static void _200B_202C_206A_200E_202B_206A_202B_206D_206A_202D_200C_200D_202D_200F_206B_206C_206B_206B_202C_202B_200D_202E_202C_206F_206C_202E_206C_202D_202A_200D_202E_200B_206B_200C_206E_200F_202D_206F_206D_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static Task _206B_202B_206C_206B_206A_200C_206A_206B_206C_206E_200C_200C_200B_202D_202D_202B_206E_200F_206D_200C_206A_202E_206E_206D_200E_200F_206C_206F_200C_206B_200E_200B_202C_200B_202B_202A_206D_200B_202E_200F_202E(IFramework P_0, System.Action P_1) + { + return P_0.RunOnFrameworkThread(P_1); + } + + static TaskAwaiter _202C_200F_200B_200E_206E_202A_206C_200C_206F_200E_206F_200E_206C_200E_202D_202D_200B_202B_202C_200E_202C_200C_200C_200D_206D_206A_206D_200F_200C_202E_200C_206F_202C_202E_206A_202A_202B_200F_206D_206E_202E(Task P_0) + { + return P_0.GetAwaiter(); + } + + static float _200C_200B_202E_200D_206A_206D_206E_202C_200B_206E_200C_200E_202A_200C_202C_202C_206B_206F_206D_206B_206F_202E_206F_206A_200E_206A_202D_206B_206E_200F_206C_206F_200F_206B_206E_206C_200C_202E_202E_206D_202E(float P_0, float P_1) + { + return Math.Max(P_0, P_1); + } + + static long _200F_202C_206D_200F_200D_206C_206B_200E_202D_202E_206E_206B_202C_200C_202E_202B_200E_202A_202D_200F_202E_206B_206A_206A_200B_202D_202E_200C_206D_202D_200B_202A_206E_206D_202E_200C_206F_200B_200F_206B_202E() + { + return Environment.TickCount64; + } + + static bool _200C_206C_202D_202B_200C_202B_206D_202A_206E_206D_202E_202D_200D_202C_200F_202B_200B_206F_200D_206E_206D_202D_206E_206A_206B_200C_200E_200E_206F_200E_200B_206B_200D_202E_200B_200E_206C_202E_200D_206D_202E(IClientState P_0) + { + return P_0.IsLoggedIn; + } + + static bool _206F_202B_202C_206E_206C_200C_206E_206C_206A_206C_200D_202C_202E_202D_200F_200B_206A_206C_202D_202E_202D_206A_202A_202C_202E_200C_206F_206F_202B_206F_200F_202E_206E_202A_202B_206A_206E_200E_200C_206B_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static uint _202B_206D_200E_202E_200F_202D_200B_206C_202B_206B_206F_202A_200B_200B_202C_206E_200B_202B_206E_202C_200E_206C_200F_206F_200B_202D_206C_206F_206B_200E_202D_202A_206D_200B_206E_200C_202E_202E_202A_206E_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static void _200F_206F_202B_206C_202D_202A_202A_200B_206F_206F_206C_206F_202C_206C_206E_200F_202A_202E_202B_202B_206E_206C_206A_202A_200E_202A_206B_206A_206E_202C_200C_206B_200D_200B_200C_202E_200F_200C_206A_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static bool _206C_200C_206D_202E_206F_200B_206F_200F_206F_206D_200D_202A_200C_200C_200C_206F_202E_206F_200E_206D_200D_202B_200E_206B_202E_206B_200E_206C_202E_200D_206B_206B_202D_206E_206C_206C_200C_202C_206A_202E_202E(ICondition P_0) + { + return ConditionHelper.IsBetweenAreas(P_0); + } + + static bool _202C_202E_202E_202D_206F_200D_202D_202A_206E_202E_202E_200F_206E_206B_206C_202B_202E_202B_202A_200B_202C_206E_200C_202E_200B_206F_206D_206B_202C_200F_200C_202E_206C_206A_200F_202C_206F_200F_202E_202C_202E(IKeyState P_0, VirtualKey P_1) + { + return P_0[P_1]; + } + + static List _206B_200F_202A_202A_200D_200E_202E_202C_202C_206F_206E_206D_206C_206D_202E_202A_200F_206D_206C_200F_206E_202B_206E_202E_200D_206F_206D_202D_202D_202A_200B_202E_206C_202C_202D_200E_206E_200E_206A_206B_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static bool _206F_202D_202C_200B_202C_202C_202A_206B_202B_200E_202B_206C_206D_206F_206F_200B_202B_200C_202E_206C_200B_206F_202D_200F_202C_202E_206D_206E_200E_206D_200D_206B_202C_206C_202E_200F_206D_202B_200B_200D_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } + + static RowRef _206E_200C_200F_200B_202D_202C_200E_200E_206D_206B_206B_200E_206B_200D_200E_200E_200D_202B_206F_200B_202B_200B_206A_200D_200E_200E_206D_206D_206E_200B_206F_200C_206D_202E_200F_200F_200E_202C_202B_200D_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static bool _206C_206E_206A_200D_202A_206B_202E_202A_200E_200F_206A_202E_206A_206E_202D_206D_202B_202C_202A_202C_206E_206C_200E_200C_206C_202B_200F_202A_206B_202D_202E_200F_202D_200B_200C_202C_206A_206A_202C_206B_202E(EClassJob P_0) + { + return P_0.IsLimitedJob(); + } + + static string _206F_200D_200C_206B_200F_206C_206A_200D_200D_200F_206F_206D_200D_200F_206E_206B_202C_202B_206B_206B_202E_200C_202B_202D_202E_200C_206E_200C_200F_206A_200E_200E_202A_202D_206B_206A_200F_202A_200E_206D_202E(EClassJob P_0) + { + return P_0.ToFriendlyString(); + } + + static string _200D_200B_200C_200D_202C_200F_202C_202C_200E_200D_202B_200D_206A_202B_206F_202E_202A_202A_200E_206F_206B_202C_206E_206E_202E_200F_202A_206D_202B_206E_200E_200E_206C_206B_202B_200F_200C_200F_202A_202E_202E(string P_0, string P_1, string P_2, string P_3) + { + return P_0 + P_1 + P_2 + P_3; + } + + static byte _200C_206C_200D_202E_202B_206C_200B_202E_202E_206E_206F_202E_200F_202C_200F_200E_206B_206B_200E_202B_202A_202A_206C_200F_206A_206E_206B_206F_202E_206E_206A_206B_200E_202E_200C_200F_200C_200B_206E_202A_202E(ICharacter P_0) + { + return P_0.Level; + } + + static bool _206B_202D_202B_202D_206D_206E_200E_202D_206A_200C_200B_200F_200B_206C_202C_206A_206C_206D_206A_202D_206D_200D_200E_206D_200E_202B_202E_200D_206E_200E_202A_206D_202B_206B_202A_206D_200E_206B_202C_206D_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static byte _200F_206E_200C_202B_206B_202C_202C_200B_200F_202C_202A_200F_206F_200B_200F_206D_206E_200B_200C_206A_200B_206A_200C_200E_202C_200E_200D_202D_206F_202B_206C_200B_206B_206F_202D_200C_202C_206E_202A_200D_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static void _202D_202E_200E_202A_202D_206D_202C_202B_202C_202D_206C_206A_200F_202E_200F_206A_202B_202A_200D_206D_206B_202E_206E_206D_206F_206A_200C_200B_206B_200C_200E_206D_202D_200D_200C_206A_202E_200F_202D_202E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static string _202A_206E_202E_206C_202A_202E_206A_202A_206B_202D_202B_200B_206B_206C_202D_200B_200D_202A_206F_206F_206A_200D_200F_206C_202E_206A_200D_200F_206B_206A_202B_202C_200F_200B_206A_200B_200C_206F_200C_200E_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _206A_202C_206C_200C_206E_202A_200D_200B_202D_200F_202E_206C_202E_206E_202A_200F_200D_206C_200E_206B_200B_202A_206D_202E_200B_202B_206D_202D_206D_202A_202B_202E_202A_202D_200F_202B_206F_206B_202E_202E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static int _200E_200D_202B_202D_206D_202B_202E_206C_200C_206B_206F_200D_206D_200F_200C_200E_200B_200B_202B_202C_206E_206B_200D_202A_202D_200E_202C_206A_206B_200C_202E_202C_206E_200B_200E_202B_202A_206A_202C_206E_202E() + { + return InventoryHelper.CountFreeInventorySlots(); + } + + static bool _200F_206F_202A_206A_206A_206A_202A_206B_206F_202E_206A_206F_202A_202D_202D_200C_206C_202C_206C_202A_202D_200B_202B_206A_206F_202D_206E_200B_206D_200C_206F_202B_200F_206B_200C_206C_206D_206C_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + + static string _202C_200E_206D_206B_202D_206B_206B_200E_202B_202C_202E_206D_206C_200F_200E_206A_200E_202C_206B_206D_200B_206C_206F_206F_202E_202E_206A_200C_200E_206D_200D_206C_206D_200E_200B_200F_206B_206E_200B_202B_202E(string P_0) + { + return P_0.Trim(); + } + + static int _206E_200F_206F_206F_200D_200C_200D_206E_206D_206D_206E_202B_200E_200B_206F_202C_206E_202E_206D_202A_202B_202E_200E_200E_206F_202C_206E_206B_200F_206E_206D_200E_200C_202C_206F_200E_206F_206A_200F_200C_202E(string P_0) + { + return P_0.Length; + } + + static bool _200C_200B_200C_200F_200B_200C_200D_202B_200D_206C_206D_202D_202C_200B_200C_202E_202E_202E_206D_200C_200B_202E_200D_202A_202E_202E_206F_202D_200D_200C_200C_202C_206D_202A_206C_206B_202C_206F_200D_200E_202E(string P_0, char P_1) + { + return P_0.StartsWith(P_1); + } + + static bool _206A_202A_200F_206D_200B_202D_200C_206A_206D_206D_206A_202D_206D_200C_202B_202D_202E_200F_202D_206D_200C_206E_200E_200C_200E_202D_206D_202A_206C_206C_200B_202B_200E_202C_202E_202E_202C_200F_202B_200C_202E(ICommandManager P_0, string P_1) + { + return P_0.ProcessCommand(P_1); + } + + static void _202A_206F_206A_206B_202D_202B_206A_200C_202D_202E_206E_206B_206F_200F_202D_202C_206B_200E_206B_200C_200F_200E_202E_202B_206C_206D_200F_206C_200C_202D_202E_200F_202C_200C_206A_200E_206B_200F_200E_206A_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static void _200F_202D_200F_206E_206F_206E_202C_200F_200F_206E_206C_206F_206E_206F_200E_200F_200E_206D_200B_200C_202C_206A_202E_206F_206F_200F_202C_202B_206E_206C_206D_200F_202A_206F_206A_200F_206E_206D_202E_206F_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static ushort _206E_202A_206F_206D_206A_202E_200D_202E_206B_206D_202D_200C_200B_206C_202C_206D_200D_206F_202C_202A_200C_202E_206F_200B_206E_206C_206F_202A_200D_206D_206C_202B_202A_202C_200B_202D_200D_206D_206A_200D_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static EInteractionType _202B_200C_200E_206F_206B_200C_206D_200B_202A_202A_200C_200F_206E_200B_202A_202C_202A_206F_202E_202E_206B_206C_200B_200B_206B_200F_206C_200C_206D_202B_202B_200D_202E_200C_206B_206C_206C_200C_200F_202D_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static void _200F_202D_206C_200B_202E_206B_202A_202B_206C_206E_202D_200E_200C_200E_206B_206A_206A_202D_206A_202E_200E_206E_202A_206C_202C_206C_202A_202E_200C_202E_200B_206C_206B_206C_200E_206D_200E_206E_200E_200F_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static bool _200F_206B_206B_202C_200E_206D_202E_206D_206A_206C_200D_202C_200C_200E_200D_200D_206C_200E_202B_200C_202A_206F_202E_200C_200D_206A_200C_200F_206D_206E_206A_206F_206A_202C_206B_206A_200E_206F_200D_200D_202E(QuestRoot P_0) + { + return P_0.Interruptible; + } + + static QuestStep _200D_202C_200C_202B_202C_200C_200C_200F_202C_200B_200E_200D_206E_200B_200E_202B_200B_206D_206D_200F_206F_202D_206A_206B_200E_206E_200F_206D_200B_200E_202A_202D_200E_200D_206C_200D_202D_202B_206A_206D_202E(QuestSequence P_0, int P_1) + { + return P_0.FindStep(P_1); + } + + static Vector3? _202D_202A_206B_206A_200D_200F_200C_202C_200F_206A_200E_206D_202C_206B_206B_206D_202B_200C_202C_206A_200D_206B_202B_202B_200D_206C_200F_206A_206A_200B_200F_200B_200D_200C_200D_202C_206E_200F_206E_202E_202E(QuestStep P_0) + { + return P_0.Position; + } + + static Vector3? _202C_202D_202C_200F_200E_206E_200B_200D_202E_200E_206D_202B_206E_206D_206B_202D_202E_206E_206E_200B_200D_200F_202D_200F_206D_206E_206E_206D_206D_206F_200F_200E_202E_200F_202C_202C_206D_200B_202E_200E_202E(QuestStep P_0) + { + return P_0.Position; + } + + static void _206C_206B_206A_206C_206E_202D_206B_202C_202A_206C_202A_202E_202C_202C_206F_200D_202D_206B_206B_202E_202C_206F_202E_206A_200C_206A_202C_206D_200E_202E_206F_200F_200C_206D_206D_206D_202D_202A_206C_206E_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); + } + + static void _206B_200E_206D_202B_200F_206D_202C_206C_206B_200F_200D_202B_202A_200B_202E_206D_200B_206E_202D_200D_206F_202C_206E_202C_206A_206C_206F_200D_202D_200C_206A_206D_202E_200D_206F_202C_200E_202C_206E_200E_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static void _200C_200D_200C_206E_206E_206E_206B_200D_206D_206B_202A_202D_206A_202E_206C_200B_206B_206C_206F_202C_206B_206D_200F_202C_202C_206D_202C_200C_206B_206C_202A_206A_202B_206E_200E_202D_202D_202B_202A_200F_202E(IToastGui P_0, IToastGui.OnErrorToastDelegate P_1) + { + P_0.ErrorToast -= P_1; + } + + static void _202C_202B_206C_200F_206A_206F_206D_206C_200B_202D_206C_200D_202C_202B_200F_202E_206E_200B_200D_206B_206E_200F_202C_200D_200E_200C_206C_200E_202D_206B_202A_200C_206D_202B_206F_202B_202B_206C_206D_206B_202E(IToastGui P_0, IToastGui.OnNormalToastDelegate P_1) + { + P_0.Toast -= P_1; + } + + static void _200F_206A_206B_200C_206F_202B_200E_202D_200F_202E_206A_206C_202C_200F_206E_200D_206A_206D_206D_202B_200C_202A_200D_206C_202B_200D_200B_200D_200C_206D_206F_202A_202A_206D_202D_206A_202A_206C_202E_200C_202E(ICondition P_0, ICondition.ConditionChangeDelegate P_1) + { + P_0.ConditionChange -= P_1; + } + + static void _202B_206D_202D_202D_202B_206F_202C_200B_200D_202B_206F_202E_206B_206C_200F_206C_206A_206E_200E_206A_202B_200E_200C_206B_202A_202D_200E_206E_202B_206E_206E_206C_202A_206C_206F_202E_202B_206B_206B_202E(IClientState P_0, IClientState.LogoutDelegate P_1) + { + P_0.Logout -= P_1; + } + + static bool _200E_202C_202A_202B_202C_202E_202A_200E_202A_200D_200E_202C_206F_206A_206C_200F_206D_206C_202D_206D_206C_202A_202E_202C_202A_202A_202C_206F_206F_206A_206A_206F_200F_200E_200E_200B_202C_200B_206C_202E_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static void _202B_206D_202D_206B_202B_206C_200C_206F_202B_206E_206C_202E_202E_206C_200B_202D_206E_206F_206E_206E_200C_206B_202E_202E_206A_202D_206D_206B_200F_200B_200C_202A_206C_202D_206F_202B_206E_202E_202E_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } } diff --git a/Questionable/Questionable.Controller/QuestPriorityResolver.cs b/Questionable/Questionable.Controller/QuestPriorityResolver.cs new file mode 100644 index 00000000..e6d01495 --- /dev/null +++ b/Questionable/Questionable.Controller/QuestPriorityResolver.cs @@ -0,0 +1,1844 @@ +using System; +using System.Collections.Generic; +using System.Linq; +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.Application.Network.WorkDefinitions; +using FFXIVClientStructs.FFXIV.Client.Game; +using FFXIVClientStructs.FFXIV.Client.UI.Agent; +using LLib.GameData; +using Lumina.Excel; +using Lumina.Excel.Sheets; +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 +{ + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__26_1; + + public static Func _003C_003E9__27_0; + + public static Func _003C_003E9__27_2; + + public static Func _003C_003E9__29_1; + + public static Func _003C_003E9__29_3; + + public static Func _003C_003E9__29_4; + + public static Func _003C_003E9__29_7; + + public static Func _003C_003E9__29_6; + + public static Func<(ElementId Quest, byte Sequence), bool> _003C_003E9__31_5; + + public static Func _003C_003E9__32_0; + + public static Func _003C_003E9__32_1; + + internal ushort _003CTryResolveInProgressClassQuest_003Eb__26_1(QuestInfo x) + { + return x.Level; + } + + internal ElementId _003CTryResolveClassJobPriority_003Eb__27_0(QuestInfo x) + { + return x.QuestId; + } + + internal ElementId _003CTryResolveClassJobPriority_003Eb__27_2(PriorityQuestInfo x) + { + return x.QuestId; + } + + internal ushort _003CTryResolveNewClassQuest_003Eb__29_1(QuestInfo x) + { + return x.Level; + } + + internal ushort _003CTryResolveNewClassQuest_003Eb__29_3(QuestInfo x) + { + return x.Level; + } + + internal bool _003CTryResolveNewClassQuest_003Eb__29_4(PriorityQuestInfo x) + { + return x.IsAvailable; + } + + internal bool _003CTryResolveNewClassQuest_003Eb__29_7(EClassJob job) + { + int num = (_200C_200E_202A_206B_200D_206D_200F_206B_200D_202C_202D_202A_202D_206C_200F_206C_206D_200E_200E_202B_202C_206C_206E_202B_206B_200D_206D_206C_200C_200C_202C_206B_200F_206A_200E_200D_206C_206F_202A_206C_202E(job) ? 1077632249 : 1077632248); + while (true) + { + int num2 = num; + int num3 = 1077632249; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 1: + return !_206C_200C_202D_200E_206E_202C_206F_202D_200F_200E_206C_200B_202B_202E_206C_202E_200F_200E_200D_202A_206B_200E_206D_200C_202A_200F_202E_202D_200D_202D_202B_200C_202E_202A_200E_206B_206D_200E_200C_206C_202E(job); + case 2: + goto IL_0052; + } + continue; + IL_0052: + num = 1077632248; + } + } + + internal ElementId _003CTryResolveNewClassQuest_003Eb__29_6(PriorityQuestInfo x) + { + return x.QuestId; + } + + internal bool _003CTryResolveTrackedQuest_003Eb__31_5((ElementId Quest, byte Sequence) x) + { + return x.Sequence < byte.MaxValue; + } + + internal bool _003CTryResolveAutoPriority_003Eb__32_0(PriorityQuestInfo x) + { + return x.IsAvailable; + } + + internal ElementId _003CTryResolveAutoPriority_003Eb__32_1(PriorityQuestInfo x) + { + return x.QuestId; + } + + static bool _200C_200E_202A_206B_200D_206D_200F_206B_200D_202C_202D_202A_202D_206C_200F_206C_206D_200E_200E_202B_202C_206C_206E_202B_206B_200D_206D_206C_200C_200C_202C_206B_200F_206A_200E_200D_206C_206F_202A_206C_202E(EClassJob P_0) + { + return P_0.IsCrafter(); + } + + static bool _206C_200C_202D_200E_206E_202C_206F_202D_200F_200E_206C_200B_202B_202E_206C_202E_200F_200E_200D_202A_206B_200E_206D_200C_202A_200F_202E_202D_200D_202D_202B_200C_202E_202A_200E_206B_206D_200E_200C_206C_202E(EClassJob P_0) + { + return P_0.IsGatherer(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass31_2 + { + public (ElementId Quest, byte Sequence) x; + + internal bool _003CTryResolveTrackedQuest_003Eb__2((uint ContentFinderConditionId, ElementId QuestId, int Sequence) y) + { + int num = ((!_202B_200B_200D_206E_202C_206F_202A_202E_206D_200C_206C_206A_202C_206B_202D_200E_206F_206D_206F_202D_202E_202A_202D_206D_206F_206C_206F_202E_200B_202E_200B_206D_202D_200D_206E_206D_200C_206F_200F_202D_202E(x.Quest, y.QuestId)) ? (-1426961220) : (-1426961219)); + while (true) + { + int num2 = num; + int num3 = -1426961220; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + return x.Sequence == y.Sequence; + case 2: + goto IL_006e; + } + continue; + IL_006e: + num = -1426961219; + } + } + + static bool _202B_200B_200D_206E_202C_206F_202A_202E_206D_200C_206C_206A_202C_206B_202D_200E_206F_206D_206F_202D_202E_202A_202D_206D_206F_206C_206F_202E_200B_202E_200B_206D_202D_200D_206E_206D_200C_206F_200F_202D_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } + } + + 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); + int num = ((!questResolution.HasQuest) ? (-1148417368) : (-1148417365)); + while (true) + { + int num2 = num; + int num3 = -1148417366; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return QuestReference.NoQuest(questResolution.MsqState); + case 1: + return new QuestReference(questResolution.QuestId, questResolution.Sequence, questResolution.MsqState); + case 0: + goto IL_007e; + } + continue; + IL_007e: + num = -1148417365; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public QuestResolution Resolve(QuestSlots slots) + { + int num = ((slots.Simulated == null) ? (-1753726603) : (-1753726602)); + while (true) + { + int num2 = num; + int num3 = -1753726608; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((slots.Gathering == null) ? (-1753726604) : (-1753726608)); + break; + case 6: + return QuestResolution.Slot(EQuestResolutionType.Simulated, slots.Simulated, global::_003CModule_003E._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(-305083691)); + case 2: + num = -1753726602; + break; + case 5: + num = ((slots.Next == null) ? (-1753726607) : (-1753726605)); + break; + case 0: + { + QuestController.QuestProgress? gathering = slots.Gathering; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(16, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-643110900)); + defaultInterpolatedStringHandler2.AppendFormatted(slots.Gathering.Quest.Id); + return QuestResolution.Slot(EQuestResolutionType.GatheringQuest, gathering, defaultInterpolatedStringHandler2.ToStringAndClear()); + } + case 3: + { + QuestController.QuestProgress? next = slots.Next; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(11, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1301444564)); + defaultInterpolatedStringHandler.AppendFormatted(slots.Next.Quest.Id); + return QuestResolution.Slot(EQuestResolutionType.NextQuest, next, defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 4: + return ResolveFromGameState(slots.ManualPriorityQuests, slots.AutomationType); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private QuestResolution ResolveFromGameState(List manualPriorityQuests, QuestController.EAutomationType automationType) + { + bool allowNewMsq = automationType != QuestController.EAutomationType.SingleQuestB; + QuestReference resolvedMsqQuest = GetResolvedMsqQuest(); + IPlayerCharacter playerCharacter = _206C_202B_206B_200C_206A_200C_202D_206E_200C_206C_202B_202E_206E_202E_200D_202A_202B_200D_206D_206B_202C_200F_202D_206C_206D_202C_200E_202D_206D_200D_200E_202C_200E_202D_202B_200E_206F_206E_206B_206D_202E(_objectTable); + int num = ((playerCharacter != null) ? _202D_206D_206C_206A_202B_202A_200C_206E_200C_200F_200F_202D_202A_206C_200B_202B_200D_200C_200D_206D_206A_200E_200B_202A_200B_206E_200C_202E_200C_202C_200E_206C_206C_206A_206B_200B_202C_202D_200B_206D_202E((ICharacter)playerCharacter) : 0); + IPlayerCharacter playerCharacter2 = _206C_202B_206B_200C_206A_200C_202D_206E_200C_206C_202B_202E_206E_202E_200D_202A_202B_200D_206D_206B_202C_200F_202D_206C_206D_202C_200E_202D_206D_200D_200E_202C_200E_202D_202B_200E_206F_206E_206B_206D_202E(_objectTable); + uint? num2 = ((playerCharacter2 != null) ? new uint?(_202D_206D_202A_200E_200D_202B_200C_202A_200B_202B_200C_202A_206A_200F_206C_200B_200F_202E_206F_202D_206F_206F_200D_206A_202C_202D_200D_206E_202E_202A_202A_200F_206D_206C_206B_202B_202C_206E_200F_206E_202E((ICharacter)playerCharacter2).RowId) : ((uint?)null)); + int num3 = (num2.HasValue ? 990805798 : 990805822); + QuestResolution? questResolution = default(QuestResolution?); + EClassJob valueOrDefault = default(EClassJob); + while (true) + { + int num4 = num3; + int num5 = 990805812; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + EClassJob? obj; + EClassJob? eClassJob; + switch (num7 - (num8 + num8)) + { + case 8: + return questResolution.GetValueOrDefault(); + case 1: + num3 = ((!_202A_202A_202E_206E_206B_202D_206B_202A_200E_202E_200B_200F_206A_206B_200D_200C_206D_206A_202B_206E_202D_202E_202A_200F_200F_206E_202A_202E_200E_200D_202B_206B_200F_200E_206E_202E_200E_206B_206C_202E_202E(resolvedMsqQuest.CurrentQuest, (ElementId)null)) ? 990805810 : 990805800); + break; + case 22: + questResolution = TryResolveClassJobPriority(valueOrDefault, resolvedMsqQuest.State); + num3 = ((!questResolution.HasValue) ? 990805813 : 990805823); + break; + case 25: + num3 = (_202C_200F_202D_202A_206B_206D_202A_202A_200C_202D_200B_200C_200B_206C_206A_202D_206D_202D_202A_206E_206C_202A_200B_202A_202E_206C_200D_200D_206C_206A_206C_206B_200F_202D_202E_200D_206B_206C_202A_206A_202E(resolvedMsqQuest.CurrentQuest, (ElementId)null) ? 990805815 : 990805818); + break; + case 16: + questResolution = TryResolveLevelingMode(num, automationType, resolvedMsqQuest.State); + num3 = ((!questResolution.HasValue) ? 990805812 : 990805804); + break; + case 21: + questResolution = TryResolveTrackedQuest(resolvedMsqQuest.State); + num3 = ((!questResolution.HasValue) ? 990805817 : 990805816); + break; + case 13: + questResolution = TryResolveAutoPriority(resolvedMsqQuest.State); + num3 = ((!questResolution.HasValue) ? 990805819 : 990805792); + break; + case 10: + obj = null; + goto IL_030f; + case 4: + _202B_202C_200B_202B_200F_200B_202E_206B_206C_206B_200E_206B_206C_206E_200F_200B_206B_202C_206E_206F_206A_202A_202D_200C_206E_202B_200B_202E_206D_202A_206D_200C_206A_200B_200D_206A_206D_206F_206E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1771545689), new object[2] { resolvedMsqQuest.CurrentQuest, num }); + _lastLoggedLevelLockedMsq = resolvedMsqQuest.CurrentQuest; + _loggedNoClassQuestsAvailable = false; + _loggedAdventurerClass = false; + num3 = 990805807; + break; + case 9: + questResolution = TryResolveInProgressClassQuest(valueOrDefault, resolvedMsqQuest.State); + num3 = ((!questResolution.HasValue) ? 990805794 : 990805820); + break; + case 19: + num3 = 990805822; + break; + case 26: + return questResolution.GetValueOrDefault(); + case 18: + obj = (EClassJob)num2.GetValueOrDefault(); + goto IL_030f; + case 7: + return questResolution.GetValueOrDefault(); + case 14: + num3 = ((_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(resolvedMsqQuest.CurrentQuest) != 0) ? 990805814 : 990805815); + break; + case 27: + questResolution = TryResolveNewClassQuest(valueOrDefault, num, resolvedMsqQuest.State); + num3 = ((!questResolution.HasValue) ? 990805796 : 990805811); + break; + case 20: + { + QuestResolution valueOrDefault4 = questResolution.GetValueOrDefault(); + return ApplyQuestRedirects(valueOrDefault4); + } + case 2: + return QuestResolution.None(resolvedMsqQuest.State, global::_003CModule_003E._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(170717891)); + case 29: + { + QuestResolution valueOrDefault3 = questResolution.GetValueOrDefault(); + return ApplyQuestRedirects(valueOrDefault3); + } + case 6: + _lastLoggedLevelLockedMsq = null; + _lastLoggedForcedClassQuest = null; + _lastLoggedRegistryClassQuest = null; + _lastLoggedPriorityClassQuest = null; + _loggedNoClassQuestsAvailable = false; + _loggedAdventurerClass = false; + questResolution = TryResolveMsqImmediate(resolvedMsqQuest, allowNewMsq); + num3 = ((!questResolution.HasValue) ? 990805793 : 990805809); + break; + case 12: + { + QuestResolution valueOrDefault2 = questResolution.GetValueOrDefault(); + return ApplyQuestRedirects(valueOrDefault2); + } + case 23: + num3 = ((!_202A_202A_202E_206E_206B_202D_206B_202A_200E_202E_200B_200F_206A_206B_200D_200C_206D_206A_202B_206E_202D_202E_202A_200F_200F_206E_202A_202E_200E_200D_202B_206B_200F_200E_206E_202E_200E_206B_206C_202E_202E(_lastLoggedLevelLockedMsq, resolvedMsqQuest.CurrentQuest)) ? 990805807 : 990805808); + break; + case 28: + num3 = ((!IsMsqLevelLocked(resolvedMsqQuest, num, automationType)) ? 990805810 : 990805795); + break; + case 5: + return questResolution.GetValueOrDefault(); + case 17: + return questResolution.GetValueOrDefault(); + case 11: + return questResolution.GetValueOrDefault(); + case 15: + questResolution = TryResolveMsqFallback(resolvedMsqQuest, allowNewMsq); + num3 = ((!questResolution.HasValue) ? 990805805 : 990805797); + break; + case 3: + questResolution = TryResolveStartingCity(resolvedMsqQuest.State); + num3 = ((!questResolution.HasValue) ? 990805814 : 990805806); + break; + case 0: + return QuestResolution.None(MainScenarioQuestState.Unavailable, global::_003CModule_003E._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(-1554700140)); + case 24: + { + return questResolution.GetValueOrDefault(); + } + IL_030f: + eClassJob = obj; + valueOrDefault = eClassJob.GetValueOrDefault(); + questResolution = TryResolveManualPriority(manualPriorityQuests, resolvedMsqQuest.State); + num3 = ((!questResolution.HasValue) ? 990805821 : 990805801); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private QuestReference GetResolvedMsqQuest() + { + QuestReference questReference = _questFunctions.GetMainScenarioQuest().Item1; + int num = ((!_202A_202A_202E_206E_206B_202D_206B_202A_200E_202E_200B_200F_206A_206B_200D_200C_206D_206A_202B_206E_202D_202E_202A_200F_200F_206E_202A_202E_200E_200D_202B_206B_200F_200E_206E_202E_200E_206B_206C_202E_202E(questReference.CurrentQuest, (ElementId)null)) ? (-1219372527) : (-1219372523)); + QuestId questId = default(QuestId); + while (true) + { + int num2 = num; + int num3 = -1219372524; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = -1219372523; + break; + case 2: + questReference = QuestReference.NoQuest(questReference.State); + num = -1219372527; + break; + case 1: + num = (_questRegistry.IsKnownQuest(questReference.CurrentQuest) ? (-1219372527) : (-1219372524)); + break; + case 6: + num = ((!_alreadyLoggedUnobtainableQuests.Add(_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E((ElementId)questId))) ? (-1219372522) : (-1219372521)); + break; + case 0: + questId = questReference.CurrentQuest as QuestId; + num = (((object)questId == null) ? (-1219372522) : (-1219372526)); + break; + case 5: + return ApplyMsqSpecialCases(questReference); + case 3: + _206E_206E_200E_206F_202B_200E_202D_206E_202B_206B_206D_202E_206F_202B_200B_200F_200B_206A_200E_206E_206B_206B_206D_200D_206E_206D_200C_200C_200C_200B_202B_206E_202C_200D_206C_202C_202C_206E_206C_206B_202E((ILogger)_logger, global::_003CModule_003E._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(2137239165), new object[1] { questReference.CurrentQuest }); + num = -1219372522; + break; + } + } + } + + private QuestReference ApplyMsqSpecialCases(QuestReference msqQuest) + { + msqQuest.Deconstruct(out ElementId CurrentQuest, out byte Sequence, out MainScenarioQuestState State); + ElementId elementId = CurrentQuest; + byte sequence = Sequence; + MainScenarioQuestState state = State; + int num = (_202C_200F_202D_202A_206B_206D_202A_202A_200C_202D_200B_200C_200B_206C_206A_202D_206D_202D_202A_206E_206C_202A_200B_202A_202E_206C_200D_200D_206C_206A_206C_206B_200F_202D_202E_200D_206B_206C_202A_206A_202E(elementId, (ElementId)null) ? 2062708693 : 2062708697); + ushort num7 = default(ushort); + ushort num8 = default(ushort); + QuestId questId = default(QuestId); + QuestReference result = default(QuestReference); + while (true) + { + int num2 = num; + int num3 = 2062708702; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 25: + num = ((!_questFunctions.IsQuestComplete(elementId)) ? 2062708701 : 2062708700); + break; + case 16: + num7 = num8; + num = ((num7 == 0) ? 2062708685 : 2062708674); + break; + case 23: + return new QuestReference(_202E_206A_206F_206E_202D_206B_206F_202A_202A_202A_202D_202C_206B_202B_202C_206B_202A_202E_202C_200F_200D_202E_200F_200B_202D_200E_202A_202A_200F_202E_206E_202E_202C_200E_202E_202B_202E_202C_206B_200F_202E(num7), QuestManager.GetQuestSequence(num7), state); + case 27: + num8 = 701; + num = 2062708686; + break; + case 12: + num = ((_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(elementId) != 3856) ? 2062708685 : 2062708694); + break; + case 18: + questId = _202E_206A_206F_206E_202D_206B_206F_202A_202A_202A_202D_202C_206B_202B_202C_206B_202A_202E_202C_200F_200D_202E_200F_200B_202D_200E_202A_202A_200F_202E_206E_202E_202C_200E_202E_202B_202E_202C_206B_200F_202E((ushort)802); + num = ((!_questFunctions.IsQuestAccepted(questId)) ? 2062708692 : 2062708702); + break; + case 19: + num = ((_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(elementId) != 801) ? 2062708692 : 2062708684); + break; + case 4: + goto IL_01c8; + case 28: + num = (QuestManager.IsQuestComplete(num7) ? 2062708685 : 2062708681); + break; + case 6: + result = QuestReference.NoQuest(MainScenarioQuestState.Unavailable); + num = 2062708680; + break; + case 13: + num = (_questFunctions.IsQuestAccepted(elementId) ? 2062708700 : 2062708679); + break; + case 26: + num = 2062708689; + break; + case 20: + result = new QuestReference(_202E_206A_206F_206E_202D_206B_206F_202A_202A_202A_202D_202C_206B_202B_202C_206B_202A_202E_202C_200F_200D_202E_200F_200B_202D_200E_202A_202A_200F_202E_206E_202E_202C_200E_202E_202B_202E_202C_206B_200F_202E((ushort)680), 0, state); + num = 2062708680; + break; + case 14: + num = 2062708696; + break; + case 24: + goto IL_0273; + case 22: + return result; + case 21: + num = 2062708697; + break; + case 10: + return msqQuest; + case 3: + switch (_configuration.General.GrandCompany) + { + case FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.TwinAdder: + break; + case FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.ImmortalFlames: + goto IL_0273; + default: + goto IL_02ca; + case FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.Maelstrom: + goto IL_0351; + } + goto case 20; + case 9: + goto IL_02d6; + case 1: + num = ((_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(elementId) != 681) ? 2062708690 : 2062708691); + break; + case 15: + num8 = 0; + num = 2062708686; + break; + case 2: + return new QuestReference(elementId, sequence, state); + case 17: + switch ((FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany)_200C_206C_202C_202E_206B_206B_200E_206C_200D_206D_206C_200E_206A_202B_206B_202B_202E_202D_206B_206E_200B_200F_206B_202E_202A_202A_206A_206D_202C_200D_200F_200F_202C_200D_206C_200B_202D_206C_206E_202E()) + { + case FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.Maelstrom: + break; + case FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.ImmortalFlames: + goto IL_01c8; + case FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.TwinAdder: + goto IL_02d6; + default: + goto IL_0345; + } + goto case 27; + case 5: + goto IL_0351; + case 7: + num = ((_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(elementId) != 0) ? 2062708703 : 2062708693); + break; + case 8: + num = (_200E_202A_200B_206E_206D_200B_206F_202D_206D_202A_206F_206A_200D_206E_206A_202D_202D_206E_202A_202C_200F_202A_202E_202A_200B_200C_200D_202C_206E_200E_206A_200C_206C_206D_206D_206B_200D_206A_200C_200C_202E(1u) ? 2062708685 : 2062708687); + break; + case 11: + return msqQuest; + case 0: + { + return new QuestReference(questId, QuestManager.GetQuestSequence(_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E((ElementId)questId)), state); + } + IL_01c8: + num8 = 702; + num = 2062708686; + break; + IL_0345: + num = 2062708676; + break; + IL_02d6: + num8 = 700; + num = 2062708686; + break; + IL_0351: + result = new QuestReference(_202E_206A_206F_206E_202D_206B_206F_202A_202A_202A_202D_202C_206B_202B_202C_206B_202A_202E_202C_200F_200D_202E_200F_200B_202D_200E_202A_202A_200F_202E_206E_202E_202C_200E_202E_202B_202E_202C_206B_200F_202E((ushort)681), 0, state); + num = 2062708680; + break; + IL_02ca: + num = 2062708688; + break; + IL_0273: + result = new QuestReference(_202E_206A_206F_206E_202D_206B_206F_202A_202A_202A_202D_202C_206B_202B_202C_206B_202A_202E_202C_200F_200D_202E_200F_200B_202D_200E_202A_202A_200F_202E_206E_202E_202C_200E_202E_202B_202E_202C_206B_200F_202E((ushort)682), 0, state); + num = 2062708680; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private QuestResolution ApplyQuestRedirects(QuestResolution resolution) + { + ElementId questId = resolution.QuestId; + int num = (((object)questId == null) ? (-1525048564) : (-1525048561)); + QuestId questId2 = default(QuestId); + while (true) + { + int num2 = num; + int num3 = -1525048564; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + questId2 = _202E_206A_206F_206E_202D_206B_206F_202A_202A_202A_202D_202C_206B_202B_202C_206B_202A_202E_202C_200F_200D_202E_200F_200B_202D_200E_202A_202A_200F_202E_206E_202E_202C_200E_202E_202B_202E_202C_206B_200F_202E((ushort)802); + num = ((!_questFunctions.IsQuestAccepted(questId2)) ? (-1525048564) : (-1525048563)); + break; + case 3: + num = ((_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(questId) != 801) ? (-1525048564) : (-1525048562)); + break; + case 4: + num = -1525048561; + break; + case 1: + return resolution with + { + QuestId = questId2, + Sequence = QuestManager.GetQuestSequence(_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E((ElementId)questId2)), + DebugReason = global::_003CModule_003E._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(1290516416) + }; + case 0: + return resolution; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private QuestResolution? TryResolveManualPriority(List manualPriorityQuests, MainScenarioQuestState msqState) + { + int num = ((manualPriorityQuests.Count != 0) ? 1342469805 : 1342469803); + (ElementId, byte) tuple = default((ElementId, byte)); + while (true) + { + int num2 = num; + int num3 = 1342469807; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + { + ElementId item = tuple.Item1; + byte item2 = tuple.Item2; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(22, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(822211932)); + defaultInterpolatedStringHandler.AppendFormatted(tuple.Item1); + return QuestResolution.ForQuest(EQuestResolutionType.ManualPriority, item, item2, msqState, defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 2: + tuple = (from x in manualPriorityQuests.Where(delegate(Questionable.Model.Quest x) + { + int num7 = ((!_questFunctions.IsQuestAccepted(x.Id)) ? (-104589985) : (-104589987)); + QuestId questId = default(QuestId); + while (true) + { + int num8 = num7; + int num9 = -104589989; + int num10 = num8; + switch ((num10 | num9) - (num10 & num9)) + { + case 0: + num7 = ((!_questFunctions.WouldOvercapAlliedSocietyReputation(questId)) ? (-104589986) : (-104589990)); + break; + case 5: + return true; + case 3: + num7 = -104589987; + break; + case 2: + questId = x.Id as QuestId; + num7 = (((object)questId == null) ? (-104589986) : (-104589989)); + break; + case 4: + return _questFunctions.IsReadyToAcceptQuest(x.Id); + case 1: + return false; + case 6: + num7 = ((!_configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp) ? (-104589986) : (-104589991)); + break; + } + } + }) + select (QuestId: x.Id, Sequence: _questFunctions.GetQuestProgressInfo(x.Id)?.Sequence ?? 0)).FirstOrDefault(); + num = (((object)tuple.Item1 == null) ? 1342469806 : 1342469804); + break; + case 1: + return null; + case 0: + num = 1342469803; + break; + case 4: + return null; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private QuestResolution? TryResolveInProgressClassQuest(EClassJob currentClassJob, MainScenarioQuestState msqState) + { + int num = ((currentClassJob != EClassJob.Adventurer) ? 689468561 : 689468563); + QuestInfo questInfo = default(QuestInfo); + while (true) + { + int num2 = num; + int num3 = 689468562; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 689468563; + break; + case 2: + return null; + case 1: + return null; + case 3: + questInfo = (from x in _questData.GetClassJobQuests(currentClassJob).Where(delegate(QuestInfo x) + { + int num5 = ((x.Level <= 5) ? (-1239817522) : (-1239817521)); + while (true) + { + int num6 = num5; + int num7 = -1239817522; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + switch (num9 - (num10 + num10)) + { + case 3: + num5 = -1239817521; + break; + case 2: + return false; + case 4: + return !_questFunctions.IsQuestComplete(x.QuestId); + case 1: + num5 = (_configuration.Advanced.SkipClassJobQuests ? (-1239817524) : (-1239817522)); + break; + case 0: + num5 = ((!_questFunctions.IsQuestAccepted(x.QuestId)) ? (-1239817524) : (-1239817526)); + break; + } + } + }) + orderby x.Level + select x).FirstOrDefault(); + num = ((questInfo != null) ? 689468562 : 689468560); + break; + case 0: + { + _206F_202B_206B_200E_206F_202D_206D_202D_202B_202C_200D_202C_206D_202D_206D_206C_202C_202E_200F_200C_200B_200E_206E_206B_200F_200B_206A_200D_200E_206B_206A_202B_206B_206F_202B_202E_200E_200F_202A_202C_202E((ILogger)_logger, global::_003CModule_003E._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(993689286), new object[1] { questInfo.QuestId }); + ElementId questId = questInfo.QuestId; + byte questSequence = QuestManager.GetQuestSequence(_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(questInfo.QuestId)); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(24, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1432274121)); + defaultInterpolatedStringHandler.AppendFormatted(questInfo.QuestId); + return QuestResolution.ForQuest(EQuestResolutionType.InProgressClassQuest, questId, questSequence, msqState, defaultInterpolatedStringHandler.ToStringAndClear()); + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private QuestResolution? TryResolveClassJobPriority(EClassJob currentClassJob, MainScenarioQuestState msqState) + { + int num = (_configuration.Advanced.SkipClassJobQuests ? (-864803797) : (-864803795)); + HashSet classJobQuestIds; + ElementId elementId = default(ElementId); + while (true) + { + int num2 = num; + int num3 = -864803799; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return null; + case 4: + num = ((currentClassJob != EClassJob.Adventurer) ? (-864803799) : (-864803797)); + break; + case 0: + classJobQuestIds = (from x in _questRegistry.GetKnownClassJobQuests(currentClassJob, includeRoleQuests: false) + select x.QuestId).ToHashSet(); + elementId = (from x in _questFunctions.GetNextPriorityQuestsThatCanBeAccepted().Where(delegate(PriorityQuestInfo x) + { + int num5 = ((!x.IsAvailable) ? 161957132 : 161957135); + while (true) + { + int num6 = num5; + int num7 = 161957133; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + switch (num9 - (num10 + num10)) + { + case 0: + goto IL_0048; + case 1: + return false; + case 2: + return classJobQuestIds.Contains(x.QuestId); + } + continue; + IL_0048: + num5 = 161957135; + } + }) + select x.QuestId).FirstOrDefault(); + num = ((!_202C_200F_202D_202A_206B_206D_202A_202A_200C_202D_200B_200C_200B_206C_206A_202D_206D_202D_202A_206E_206C_202A_200B_202A_202E_206C_200D_200D_206C_206A_206C_206B_200F_202D_202E_200D_206B_206C_202A_206A_202E(elementId, (ElementId)null)) ? (-864803796) : (-864803800)); + break; + case 3: + num = -864803795; + break; + case 5: + { + ElementId questId = elementId; + byte questSequence = QuestManager.GetQuestSequence(_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(elementId)); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(25, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-305237119)); + defaultInterpolatedStringHandler.AppendFormatted(elementId); + return QuestResolution.ForQuest(EQuestResolutionType.NewClassQuest, questId, questSequence, msqState, defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 2: + return null; + } + } + } + + private bool IsMsqLevelLocked(QuestReference msqQuest, int currentLevel, QuestController.EAutomationType automationType) + { + int num = ((!_202C_200F_202D_202A_206B_206D_202A_202A_200C_202D_200B_200C_200B_206C_206A_202D_206D_202D_202A_206E_206C_202A_200B_202A_202E_206C_200D_200D_206C_206A_206C_206B_200F_202D_202E_200D_206B_206C_202A_206A_202E(msqQuest.CurrentQuest, (ElementId)null)) ? (-1809239787) : (-1809239792)); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + while (true) + { + int num2 = num; + int num3 = -1809239791; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1809239792; + break; + case 6: + return false; + case 4: + num = (_questRegistry.TryGetQuest(msqQuest.CurrentQuest, out quest) ? (-1809239783) : (-1809239785)); + break; + case 7: + return false; + case 5: + num = ((_configuration.General.MsqPriority != Configuration.EMsqPriorityMode.Manual) ? (-1809239789) : (-1809239790)); + break; + case 1: + return false; + case 8: + num = ((!_questFunctions.IsQuestAccepted(msqQuest.CurrentQuest)) ? (-1809239788) : (-1809239786)); + break; + case 3: + return false; + case 2: + return quest.Info.Level > currentLevel; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private QuestResolution? TryResolveNewClassQuest(EClassJob currentClassJob, int currentLevel, MainScenarioQuestState msqState) + { + int num = ((currentClassJob != EClassJob.Adventurer) ? 212422902 : 212422895); + QuestInfo questInfo2 = default(QuestInfo); + List lockedQuests; + QuestInfo questInfo = default(QuestInfo); + ElementId elementId = default(ElementId); + while (true) + { + int num2 = num; + int num3 = 212422887; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((!_202A_202A_202E_206E_206B_202D_206B_202A_200E_202E_200B_200F_206A_206B_200D_200C_206D_206A_202B_206E_202D_202E_202A_200F_200F_206E_202A_202E_200E_200D_202B_206B_200F_200E_206E_202E_200E_206B_206C_202E_202E(_lastLoggedRegistryClassQuest, questInfo2.QuestId)) ? 212422890 : 212422886); + break; + case 17: + lockedQuests = QuestData.GetLockedClassQuests(); + questInfo = (from x in _questData.GetClassJobQuests(currentClassJob).Where(delegate(QuestInfo x) + { + int num7 = ((x.Level > currentLevel) ? (-789750315) : (-789750317)); + while (true) + { + int num8 = num7; + int num9 = -789750319; + int num10 = num8; + int num11 = num10 + num9; + int num12 = num10 & num9; + switch (num11 - (num12 + num12)) + { + case 0: + num7 = -789750317; + break; + case 2: + num7 = ((x.Level > 5) ? (-789750315) : (-789750320)); + break; + case 4: + return false; + case 1: + num7 = (_questFunctions.IsQuestComplete(x.QuestId) ? (-789750315) : (-789750318)); + break; + case 3: + return !lockedQuests.Contains(x.QuestId); + } + } + }) + orderby x.Level + select x).FirstOrDefault(); + num = ((questInfo == null) ? 212422889 : 212422894); + break; + case 7: + _206E_206E_200E_206F_202B_200E_202D_206E_202B_206B_206D_202E_206F_202B_200B_200F_200B_206A_200E_206E_206B_206B_206D_200D_206E_206D_200C_200C_200C_200B_202B_206E_202C_200D_206C_202C_202C_206E_206C_206B_202E((ILogger)_logger, global::_003CModule_003E._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(-1017698295), Array.Empty()); + _loggedAdventurerClass = true; + num = 212422901; + break; + case 8: + num = (_loggedAdventurerClass ? 212422901 : 212422880); + break; + case 18: + return null; + case 12: + num = ((!_202A_202A_202E_206E_206B_202D_206B_202A_200E_202E_200B_200F_206A_206B_200D_200C_206D_206A_202B_206E_202D_202E_202A_200F_200F_206E_202A_202E_200E_200D_202B_206B_200F_200E_206E_202E_200E_206B_206C_202E_202E(_lastLoggedPriorityClassQuest, elementId)) ? 212422900 : 212422882); + break; + case 3: + _202B_202C_200B_202B_200F_200B_202E_206B_206C_206B_200E_206B_206C_206E_200F_200B_206B_202C_206E_206F_206A_202A_202D_200C_206E_202B_200B_202E_206D_202A_206D_200C_206A_200B_200D_206A_206D_206F_206E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(915198093), new object[3] { questInfo.QuestId, currentClassJob, questInfo.Level }); + _lastLoggedForcedClassQuest = questInfo.QuestId; + num = 212422885; + break; + case 13: + { + ElementId questId2 = questInfo2.QuestId; + byte questSequence2 = QuestManager.GetQuestSequence(_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(questInfo2.QuestId)); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(27, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1318858462)); + defaultInterpolatedStringHandler2.AppendFormatted(questInfo2.QuestId); + return QuestResolution.ForQuest(EQuestResolutionType.NewClassQuest, questId2, questSequence2, msqState, defaultInterpolatedStringHandler2.ToStringAndClear()); + } + case 10: + num = (_loggedNoClassQuestsAvailable ? 212422887 : 212422881); + break; + case 14: + questInfo2 = (from x in _questRegistry.GetKnownClassJobQuests(currentClassJob, includeRoleQuests: false).Where(delegate(QuestInfo x) + { + int num7 = ((x.Level > currentLevel) ? 2044877120 : 2044877123); + while (true) + { + int num8 = num7; + int num9 = 2044877122; + int num10 = num8; + int num11 = num10 + num9; + int num12 = num10 & num9; + switch (num11 - (num12 + num12)) + { + case 2: + return false; + case 1: + num7 = ((x.Level > 5) ? 2044877120 : 2044877121); + break; + case 3: + num7 = (_questFunctions.IsQuestAcceptedOrComplete(x.QuestId) ? 2044877120 : 2044877126); + break; + case 4: + return _questFunctions.IsReadyToAcceptQuest(x.QuestId); + case 0: + num7 = 2044877123; + break; + } + } + }) + orderby x.Level + select x).FirstOrDefault(); + num = ((questInfo2 == null) ? 212422903 : 212422883); + break; + case 15: + num = 212422895; + break; + case 19: + { + ElementId questId3 = elementId; + byte questSequence3 = QuestManager.GetQuestSequence(_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(elementId)); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(27, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-1634688570)); + defaultInterpolatedStringHandler3.AppendFormatted(elementId); + return QuestResolution.ForQuest(EQuestResolutionType.NewClassQuest, questId3, questSequence3, msqState, defaultInterpolatedStringHandler3.ToStringAndClear()); + } + case 11: + num = ((!_202A_202A_202E_206E_206B_202D_206B_202A_200E_202E_200B_200F_206A_206B_200D_200C_206D_206A_202B_206E_202D_202E_202A_200F_200F_206E_202A_202E_200E_200D_202B_206B_200F_200E_206E_202E_200E_206B_206C_202E_202E(_lastLoggedForcedClassQuest, questInfo.QuestId)) ? 212422885 : 212422884); + break; + case 5: + _202B_202C_200B_202B_200F_200B_202E_206B_206C_206B_200E_206B_206C_206E_200F_200B_206B_202C_206E_206F_206A_202A_202D_200C_206E_202B_200B_202E_206D_202A_206D_200C_206A_200B_200D_206A_206D_206F_206E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-2031319638), new object[1] { elementId }); + _lastLoggedPriorityClassQuest = elementId; + num = 212422900; + break; + case 16: + elementId = (from x in (from x in _questFunctions.GetNextPriorityQuestsThatCanBeAccepted() + where x.IsAvailable + select x).Where(delegate(PriorityQuestInfo x) + { + Questionable.Model.Quest quest; + int num7 = ((!_questRegistry.TryGetQuest(x.QuestId, out quest)) ? 323776079 : 323776077); + QuestInfo questInfo3 = default(QuestInfo); + while (true) + { + int num8 = num7; + int num9 = 323776079; + int num10 = num8; + int num11 = num10 + num9; + int num12 = num10 & num9; + switch (num11 - (num12 + num12)) + { + case 5: + num7 = 323776077; + break; + case 4: + return questInfo3.ClassJobs.Any(delegate(EClassJob job) + { + int num13 = (_003C_003Ec._200C_200E_202A_206B_200D_206D_200F_206B_200D_202C_202D_202A_202D_206C_200F_206C_206D_200E_200E_202B_202C_206C_206E_202B_206B_200D_206D_206C_200C_200C_202C_206B_200F_206A_200E_200D_206C_206F_202A_206C_202E(job) ? 1077632249 : 1077632248); + while (true) + { + int num14 = num13; + int num15 = 1077632249; + int num16 = num14; + switch ((num16 | num15) - (num16 & num15)) + { + case 0: + return false; + case 1: + return !_003C_003Ec._206C_200C_202D_200E_206E_202C_206F_202D_200F_200E_206C_200B_202B_202E_206C_202E_200F_200E_200D_202A_206B_200E_206D_200C_202A_200F_202E_202D_200D_202D_202B_200C_202E_202A_200E_206B_206D_200E_200C_206C_202E(job); + case 2: + goto IL_0052; + } + continue; + IL_0052: + num13 = 1077632248; + } + }); + case 2: + num7 = ((quest.Info.Level > currentLevel) ? 323776079 : 323776076); + break; + case 3: + questInfo3 = quest.Info as QuestInfo; + num7 = ((questInfo3 == null) ? 323776079 : 323776078); + break; + case 0: + return false; + case 1: + num7 = ((questInfo3.ClassJobs.Count <= 0) ? 323776079 : 323776075); + break; + } + } + }) + select x.QuestId).FirstOrDefault(); + num = ((!_202A_202A_202E_206E_206B_202D_206B_202A_200E_202E_200B_200F_206A_206B_200D_200C_206D_206A_202B_206E_202D_202E_202A_200F_200F_206E_202A_202E_200E_200D_202B_206B_200F_200E_206E_202E_200E_206B_206C_202E_202E(elementId, (ElementId)null)) ? 212422893 : 212422891); + break; + case 0: + return null; + case 9: + num = (_questFunctions.IsQuestComplete(questInfo.QuestId) ? 212422889 : 212422892); + break; + case 6: + _206E_206E_200E_206F_202B_200E_202D_206E_202B_206B_206D_202E_206F_202B_200B_200F_200B_206A_200E_206E_206B_206B_206D_200D_206E_206D_200C_200C_200C_200B_202B_206E_202C_200D_206C_202C_202C_206E_206C_206B_202E((ILogger)_logger, global::_003CModule_003E._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(2087960790), new object[2] { currentClassJob, currentLevel }); + _loggedNoClassQuestsAvailable = true; + num = 212422887; + break; + case 1: + _202B_202C_200B_202B_200F_200B_202E_206B_206C_206B_200E_206B_206C_206E_200F_200B_206B_202C_206E_206F_206A_202A_202D_200C_206E_202B_200B_202E_206D_202A_206D_200C_206A_200B_200D_206A_206D_206F_206E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-2057200465), new object[3] { questInfo2.QuestId, currentClassJob, questInfo2.Level }); + _lastLoggedRegistryClassQuest = questInfo2.QuestId; + num = 212422890; + break; + case 2: + { + ElementId questId = questInfo.QuestId; + byte questSequence = QuestManager.GetQuestSequence(_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(questInfo.QuestId)); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(23, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-827615250)); + defaultInterpolatedStringHandler.AppendFormatted(questInfo.QuestId); + return QuestResolution.ForQuest(EQuestResolutionType.NewClassQuest, questId, questSequence, msqState, defaultInterpolatedStringHandler.ToStringAndClear()); + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private QuestResolution? TryResolveMsqImmediate(QuestReference msqQuest, bool allowNewMsq) + { + int num = (_202C_200F_202D_202A_206B_206D_202A_202A_200C_202D_200B_200C_200B_206C_206A_202D_206D_202D_202A_206E_206C_202A_200B_202A_202E_206C_200D_200D_206C_206A_206C_206B_200F_202D_202E_200D_206B_206C_202A_206A_202E(msqQuest.CurrentQuest, (ElementId)null) ? (-402712632) : (-402712625)); + while (true) + { + int num2 = num; + int num3 = -402712629; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + num = -402712625; + break; + case 4: + num = ((_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(msqQuest.CurrentQuest) != 0) ? (-402712638) : (-402712632)); + break; + case 0: + num = (allowNewMsq ? (-402712631) : (-402712626)); + break; + case 1: + return null; + case 7: + num = ((_configuration.General.MsqPriority == Configuration.EMsqPriorityMode.Always) ? (-402712629) : (-402712630)); + break; + case 6: + return null; + case 9: + num = ((!_questFunctions.IsQuestAccepted(msqQuest.CurrentQuest)) ? (-402712628) : (-402712627)); + break; + case 5: + return null; + case 3: + return null; + case 2: + { + ElementId? currentQuest = msqQuest.CurrentQuest; + byte sequence = msqQuest.Sequence; + MainScenarioQuestState state = msqQuest.State; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(28, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-161770655)); + defaultInterpolatedStringHandler.AppendFormatted(msqQuest.CurrentQuest); + return QuestResolution.ForQuest(EQuestResolutionType.MsqImmediate, currentQuest, sequence, state, defaultInterpolatedStringHandler.ToStringAndClear()); + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe QuestResolution? TryResolveTrackedQuest(MainScenarioQuestState msqState) + { + QuestManager* ptr = QuestManager.Instance(); + int num = ((ptr != null) ? (-982372804) : (-982372807)); + ElementId elementId = default(ElementId); + TrackingWork trackingWork = default(TrackingWork); + byte item4 = default(byte); + List<(ElementId, byte)> list = default(List<(ElementId, byte)>); + ElementId item3 = default(ElementId); + EAlliedSociety firstTrackedAlliedSociety = default(EAlliedSociety); + int num16 = default(int); + List<(ElementId, byte)> list3 = default(List<(ElementId, byte)>); + byte questType = default(byte); + ElementId item = default(ElementId); + byte item2 = default(byte); + QuestId questId2 = default(QuestId); + ElementId item5 = default(ElementId); + byte item6 = default(byte); + while (true) + { + int num2 = num; + int num3 = -982372812; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 6: + elementId = _202E_206A_206F_206E_202D_206B_206F_202A_202A_202A_202D_202C_206B_202B_202C_206B_202A_202E_202C_200F_200D_202E_200F_200B_202D_200E_202A_202A_200F_202E_206E_202E_202C_200E_202E_202B_202E_202C_206B_200F_202E(ptr->NormalQuests[trackingWork.Index].QuestId); + num = ((!_questRegistry.IsKnownQuest(elementId)) ? (-982372808) : (-982372809)); + continue; + case 18: + num = ((!_configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp) ? (-982372831) : (-982372812)); + continue; + case 19: + { + if (item4 == byte.MaxValue) + { + num = -982372815; + continue; + } + if (_questFunctions.IsOnAlliedSocietyMount()) + { + break; + } + list.Insert(0, (item3, item4)); + _alliedSocietyData.GetCommonAlliedSocietyNpcs(firstTrackedAlliedSociety, out uint[] normalNpcs, out uint[] _); + if (normalNpcs.Length != 0) + { + (ElementId, byte)? tuple2 = (from x in list + where x.Sequence < byte.MaxValue + where _questFunctions.IsInteractSequence(x.Quest, x.Sequence, normalNpcs) + select x).Cast<(ElementId, byte)?>().FirstOrDefault(); + if (tuple2.HasValue) + { + ElementId item9 = tuple2.Value.Item1; + byte item10 = tuple2.Value.Item2; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler5 = new DefaultInterpolatedStringHandler(31, 1); + defaultInterpolatedStringHandler5.AppendLiteral(global::_003CModule_003E._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(-2091308904)); + defaultInterpolatedStringHandler5.AppendFormatted(tuple2.Value.Item1); + return QuestResolution.ForQuest(EQuestResolutionType.TrackedQuest, item9, item10, msqState, defaultInterpolatedStringHandler5.ToStringAndClear()); + } + } + break; + } + case 22: + num = ((num16 >= 0) ? (-982372816) : (-982372827)); + continue; + case 11: + num = ((list3.Count <= 0) ? (-982372826) : (-982372811)); + continue; + case 3: + num = (_questFunctions.IsQuestBlacklisted(elementId) ? (-982372808) : (-982372806)); + continue; + case 21: + num = ((list3.Count != 0) ? (-982372802) : (-982372828)); + continue; + case 7: + num = -982372807; + continue; + case 17: + num = ((!_configuration.General.SkipLowPriorityDuties) ? (-982372826) : (-982372801)); + continue; + case 8: + list3 = new List<(ElementId, byte)>(); + num16 = ptr->TrackedQuests.Length - 1; + num = -982372830; + continue; + case 1: + { + IReadOnlyList<(uint ContentFinderConditionId, ElementId QuestId, int Sequence)> lowPriorityQuests = _questRegistry.LowPriorityContentFinderConditionQuests; + list3.RemoveAll(((ElementId Quest, byte Sequence) x) => lowPriorityQuests.Any<(uint, ElementId, int)>(delegate((uint ContentFinderConditionId, ElementId QuestId, int Sequence) y) + { + int num18 = ((!_003C_003Ec__DisplayClass31_2._202B_200B_200D_206E_202C_206F_202A_202E_206D_200C_206C_206A_202C_206B_202D_200E_206F_206D_206F_202D_202E_202A_202D_206D_206F_206C_206F_202E_200B_202E_200B_206D_202D_200D_206E_206D_200C_206F_200F_202D_202E(x.Quest, y.QuestId)) ? (-1426961220) : (-1426961219)); + while (true) + { + int num19 = num18; + int num20 = -1426961220; + int num21 = num19; + int num22 = num21 + num20; + int num23 = num21 & num20; + switch (num22 - (num23 + num23)) + { + case 0: + return false; + case 1: + return x.Sequence == y.Sequence; + case 2: + goto IL_006e; + } + continue; + IL_006e: + num18 = -1426961219; + } + })); + num = -982372826; + continue; + } + case 13: + return null; + case 15: + list3.RemoveAll(delegate((ElementId Quest, byte Sequence) x) + { + QuestId questId5 = x.Quest as QuestId; + int num18 = (((object)questId5 == null) ? 1720897796 : 1720897799); + while (true) + { + int num19 = num18; + int num20 = 1720897797; + int num21 = num19; + int num22 = num21 + num20; + int num23 = num21 & num20; + switch (num22 - (num23 + num23)) + { + case 1: + return false; + case 2: + return _questFunctions.WouldOvercapAlliedSocietyReputation(questId5); + case 0: + goto IL_0063; + } + continue; + IL_0063: + num18 = 1720897799; + } + }); + num = -982372831; + continue; + case 14: + list3.Add((elementId, QuestManager.GetQuestSequence(_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(elementId)))); + num = -982372808; + continue; + case 16: + return null; + case 20: + list = (from quest in list3.Skip(1) + where _alliedSocietyData.GetCommonAlliedSocietyTurnIn(quest.Quest) == firstTrackedAlliedSociety + select quest).ToList(); + if (list.Count > 0) + { + num = -982372825; + continue; + } + break; + case 2: + num = ((questType == 2) ? (-982372808) : (-982372803)); + continue; + case 10: + { + (ElementId, byte) tuple = list3.First(); + item3 = tuple.Item1; + item4 = tuple.Item2; + firstTrackedAlliedSociety = _alliedSocietyData.GetCommonAlliedSocietyTurnIn(item3); + if (firstTrackedAlliedSociety != EAlliedSociety.None) + { + num = -982372832; + continue; + } + break; + } + case 4: + trackingWork = ptr->TrackedQuests[num16]; + questType = trackingWork.QuestType; + num = ((questType == 1) ? (-982372814) : (-982372810)); + continue; + case 0: + num = ((list3.Count <= 0) ? (-982372831) : (-982372805)); + continue; + case 9: + num = -982372808; + continue; + case 12: + { + int num17 = num16; + num3 = 1; + num4 = num17; + num16 = ~(~num4 + num3); + num = -982372830; + continue; + } + case 5: + { + using (List<(ElementId, byte)>.Enumerator enumerator = list.GetEnumerator()) + { + num = -1720179368; + while (true) + { + int num7 = num; + num3 = -1720179364; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + num = -1720179368; + break; + case 0: + { + ElementId questId = item; + byte sequence = item2; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(53, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1020310285)); + defaultInterpolatedStringHandler.AppendFormatted(item); + return QuestResolution.ForQuest(EQuestResolutionType.TrackedQuest, questId, sequence, msqState, defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 1: + { + (ElementId, byte) current = enumerator.Current; + item = current.Item1; + item2 = current.Item2; + num = ((item2 == byte.MaxValue) ? (-1720179368) : (-1720179364)); + break; + } + case 4: + num = (enumerator.MoveNext() ? (-1720179363) : (-1720179361)); + break; + case 3: + goto end_IL_03fb; + } + continue; + end_IL_03fb: + break; + } + } + if (!_configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp) + { + break; + } + List<(ElementId, byte)> list2 = new List<(ElementId, byte)> { (item3, item4) }; + list2.AddRange(list); + list2.Sort(delegate((ElementId Quest, byte Sequence) a, (ElementId Quest, byte Sequence) b) + { + QuestId questId5 = a.Quest as QuestId; + int num18 = (((object)questId5 != null) ? (-1702301531) : (-1702301536)); + QuestId questId6 = default(QuestId); + ushort num26 = default(ushort); + while (true) + { + int num19 = num18; + int num20 = -1702301535; + int num21 = num19; + int num22 = num21 + num20; + int num23 = num21 & num20; + int num25; + int num24; + ushort value; + switch (num22 - (num23 + num23)) + { + default: + continue; + case 2: + num18 = -1702301536; + continue; + case 3: + num25 = _alliedSocietyQuestFunctions.GetQuestReputationReward(questId6); + goto IL_007d; + case 0: + num25 = 0; + goto IL_007d; + case 4: + num24 = _alliedSocietyQuestFunctions.GetQuestReputationReward(questId5); + break; + case 1: + { + num24 = 0; + break; + } + IL_007d: + value = (ushort)num25; + return num26.CompareTo(value); + } + num26 = (ushort)num24; + questId6 = b.Quest as QuestId; + num18 = (((object)questId6 != null) ? (-1702301534) : (-1702301535)); + } + }); + using (List<(ElementId, byte)>.Enumerator enumerator = list2.GetEnumerator()) + { + num = 401947856; + while (true) + { + int num10 = num; + num3 = 401947857; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 3: + num = (_alliedSocietyQuestFunctions.WouldOvercapReputation(questId2) ? 401947856 : 401947857); + break; + case 0: + { + ElementId questId3 = item5; + byte sequence2 = item6; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(40, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-716893854)); + defaultInterpolatedStringHandler2.AppendFormatted(item5); + return QuestResolution.ForQuest(EQuestResolutionType.TrackedQuest, questId3, sequence2, msqState, defaultInterpolatedStringHandler2.ToStringAndClear()); + } + case 2: + num = 401947856; + break; + case 1: + num = (enumerator.MoveNext() ? 401947861 : 401947860); + break; + case 4: + { + (ElementId, byte) current2 = enumerator.Current; + item5 = current2.Item1; + item6 = current2.Item2; + questId2 = item5 as QuestId; + num = (((object)questId2 == null) ? 401947856 : 401947858); + break; + } + case 5: + goto end_IL_0557; + } + continue; + end_IL_0557: + break; + } + } + QuestId rankUpQuestIfAtCapacity = _questFunctions.GetRankUpQuestIfAtCapacity(firstTrackedAlliedSociety); + num = ((!_202A_202A_202E_206E_206B_202D_206B_202A_200E_202E_200B_200F_206A_206B_200D_200C_206D_206A_202B_206E_202D_202E_202A_200F_200F_206E_202A_202E_200E_200D_202B_206B_200F_200E_206E_202E_200E_206B_206C_202E_202E((ElementId)rankUpQuestIfAtCapacity, (ElementId)null)) ? (-140380390) : (-140380389)); + while (true) + { + int num13 = num; + num3 = -140380385; + num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 3: + num = ((!_questFunctions.IsReadyToAcceptQuest(rankUpQuestIfAtCapacity)) ? (-140380390) : (-140380386)); + break; + case 5: + { + ElementId item7 = list2[0].Item1; + byte item8 = list2[0].Item2; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(43, 1); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(-1624970154)); + defaultInterpolatedStringHandler4.AppendFormatted(list2[0].Item1); + return QuestResolution.ForQuest(EQuestResolutionType.TrackedQuest, item7, item8, msqState, defaultInterpolatedStringHandler4.ToStringAndClear()); + } + case 4: + num = (_questFunctions.IsQuestComplete(rankUpQuestIfAtCapacity) ? (-140380390) : (-140380385)); + break; + case 2: + num = -140380389; + break; + case 1: + { + int sequence3 = (_questFunctions.IsQuestAccepted(rankUpQuestIfAtCapacity) ? QuestManager.GetQuestSequence(_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E((ElementId)rankUpQuestIfAtCapacity)) : 0); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(29, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-184593145)); + defaultInterpolatedStringHandler3.AppendFormatted(rankUpQuestIfAtCapacity); + return QuestResolution.ForQuest(EQuestResolutionType.TrackedQuest, rankUpQuestIfAtCapacity, (byte)sequence3, msqState, defaultInterpolatedStringHandler3.ToStringAndClear()); + } + case 0: + num = (_questFunctions.IsQuestAccepted(rankUpQuestIfAtCapacity) ? (-140380386) : (-140380388)); + break; + } + } + } + } + break; + } + ElementId questId4 = item3; + byte sequence4 = item4; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler6 = new DefaultInterpolatedStringHandler(14, 1); + defaultInterpolatedStringHandler6.AppendLiteral(global::_003CModule_003E._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(1055042837)); + defaultInterpolatedStringHandler6.AppendFormatted(item3); + return QuestResolution.ForQuest(EQuestResolutionType.TrackedQuest, questId4, sequence4, msqState, defaultInterpolatedStringHandler6.ToStringAndClear()); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private QuestResolution? TryResolveAutoPriority(MainScenarioQuestState msqState) + { + ElementId elementId = (from x in _questFunctions.GetNextPriorityQuestsThatCanBeAccepted() + where x.IsAvailable + select x.QuestId).FirstOrDefault(); + int num = ((!_202C_200F_202D_202A_206B_206D_202A_202A_200C_202D_200B_200C_200B_206C_206A_202D_206D_202D_202A_206E_206C_202A_200B_202A_202E_206C_200D_200D_206C_206A_206C_206B_200F_202D_202E_200D_206B_206C_202A_206A_202E(elementId, (ElementId)null)) ? 1077185998 : 1077185999); + while (true) + { + int num2 = num; + int num3 = 1077185998; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_00ae; + case 0: + { + byte questSequence = QuestManager.GetQuestSequence(_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(elementId)); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(20, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-830193133)); + defaultInterpolatedStringHandler.AppendFormatted(elementId); + return QuestResolution.ForQuest(EQuestResolutionType.AutoPriority, elementId, questSequence, msqState, defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 1: + return null; + } + continue; + IL_00ae: + num = 1077185999; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private QuestResolution? TryResolveMsqFallback(QuestReference msqQuest, bool allowNewMsq) + { + int num = (_202C_200F_202D_202A_206B_206D_202A_202A_200C_202D_200B_200C_200B_206C_206A_202D_206D_202D_202A_206E_206C_202A_200B_202A_202E_206C_200D_200D_206C_206A_206C_206B_200F_202D_202E_200D_206B_206C_202A_206A_202E(msqQuest.CurrentQuest, (ElementId)null) ? (-509746362) : (-509746366)); + while (true) + { + int num2 = num; + int num3 = -509746364; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return null; + case 6: + num = ((_202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(msqQuest.CurrentQuest) != 0) ? (-509746355) : (-509746362)); + break; + case 9: + num = ((!_questFunctions.IsQuestAccepted(msqQuest.CurrentQuest)) ? (-509746361) : (-509746365)); + break; + case 4: + return null; + case 7: + return null; + case 0: + { + ElementId? currentQuest = msqQuest.CurrentQuest; + byte sequence = msqQuest.Sequence; + MainScenarioQuestState state = msqQuest.State; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(13, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-535126555)); + defaultInterpolatedStringHandler.AppendFormatted(msqQuest.CurrentQuest); + return QuestResolution.ForQuest(EQuestResolutionType.MsqFallback, currentQuest, sequence, state, defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 3: + num = ((_configuration.General.MsqPriority != Configuration.EMsqPriorityMode.Manual) ? (-509746367) : (-509746363)); + break; + case 8: + num = -509746366; + break; + case 1: + return null; + case 5: + num = (allowNewMsq ? (-509746364) : (-509746368)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private QuestResolution? TryResolveStartingCity(MainScenarioQuestState msqState) + { + int num = ((_206D_200D_206F_200F_200F_206F_206D_200B_206E_200D_206A_202A_202B_200F_202D_202A_202D_200C_206F_206E_202B_202A_202D_206F_206F_202D_200D_200C_206C_202B_202E_200C_206F_200E_206A_206E_200F_200C_206C_206B_202E(_clientState) != 181) ? (-244287801) : (-244287802)); + while (true) + { + int num2 = num; + int num3 = -244287801; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((_206D_200D_206F_200F_200F_206F_206D_200B_206E_200D_206A_202A_202B_200F_202D_202A_202D_200C_206F_206E_202B_202A_202D_206F_206F_202D_200D_200C_206C_202B_202E_200C_206F_200E_206A_206E_200F_200C_206C_206B_202E(_clientState) != 182) ? (-244287803) : (-244287804)); + break; + case 2: + num = ((_206D_200D_206F_200F_200F_206F_206D_200B_206E_200D_206A_202A_202B_200F_202D_202A_202D_200C_206F_206E_202B_202A_202D_206F_206F_202D_200D_200C_206C_202B_202E_200C_206F_200E_206A_206E_200F_200C_206C_206B_202E(_clientState) != 183) ? (-244287805) : (-244287807)); + break; + case 5: + num = -244287802; + break; + case 6: + return QuestResolution.ForQuest(EQuestResolutionType.MsqImmediate, _202E_206A_206F_206E_202D_206B_206F_202A_202A_202A_202D_202C_206B_202B_202C_206B_202A_202E_202C_200F_200D_202E_200F_200B_202D_200E_202A_202A_200F_202E_206E_202E_202C_200E_202E_202B_202E_202C_206B_200F_202E((ushort)39), 0, MainScenarioQuestState.Available, global::_003CModule_003E._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(-1912103919)); + case 3: + return QuestResolution.ForQuest(EQuestResolutionType.MsqImmediate, _202E_206A_206F_206E_202D_206B_206F_202A_202A_202A_202D_202C_206B_202B_202C_206B_202A_202E_202C_200F_200D_202E_200F_200B_202D_200E_202A_202A_200F_202E_206E_202E_202C_200E_202E_202B_202E_202C_206B_200F_202E((ushort)594), 0, MainScenarioQuestState.Available, global::_003CModule_003E._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(1218664531)); + case 4: + return null; + case 1: + return QuestResolution.ForQuest(EQuestResolutionType.MsqImmediate, _202E_206A_206F_206E_202D_206B_206F_202A_202A_202A_202D_202C_206B_202B_202C_206B_202A_202E_202C_200F_200D_202E_200F_200B_202D_200E_202A_202A_200F_202E_206E_202E_202C_200E_202E_202B_202E_202C_206B_200F_202E((ushort)107), 0, MainScenarioQuestState.Available, global::_003CModule_003E._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(1071401700)); + } + } + } + + private QuestResolution? TryResolveLevelingMode(int currentPlayerLevel, QuestController.EAutomationType automationType, MainScenarioQuestState msqState) + { + int num = (ShouldStartLevelingMode(currentPlayerLevel, automationType) ? (-430632054) : (-430632056)); + int item = default(int); + string item2 = default(string); + while (true) + { + int num2 = num; + int num3 = -430632055; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -430632056; + break; + case 3: + { + (bool isLevelLocked, int levelsNeeded, int requiredLevel, string? questName) msqLevelLockInfo = _questFunctions.GetMsqLevelLockInfo(); + bool item3 = msqLevelLockInfo.isLevelLocked; + item = msqLevelLockInfo.requiredLevel; + item2 = msqLevelLockInfo.questName; + num = (item3 ? (-430632051) : (-430632053)); + break; + } + case 4: + return QuestResolution.Leveling(item, item2, msqState); + case 1: + return null; + case 2: + return null; + } + } + } + + public bool ShouldStartLevelingMode(int currentPlayerLevel, QuestController.EAutomationType automationType) + { + int num = ((automationType == QuestController.EAutomationType.Automatic) ? (-451706510) : (-451706507)); + while (true) + { + int num2 = num; + int num3 = -451706509; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return true; + case 7: + return false; + case 0: + num = -451706507; + break; + case 2: + return false; + case 6: + return false; + case 1: + num = (_206B_206A_200F_200D_202A_206F_200F_200F_202C_206E_206E_200F_200E_200F_202A_200D_200C_202C_206A_202A_202A_200E_206C_202D_200F_206B_206A_200E_202E_202E_200C_206A_202D_200C_200B_206E_206A_202D_206D_206A_202E(_condition, ConditionFlag.BoundByDuty) ? (-451706508) : (-451706506)); + break; + case 4: + num = (_autoDutyIpc.IsConfiguredToRunLevelingMode(currentPlayerLevel) ? (-451706512) : (-451706511)); + break; + case 5: + num = ((!_206B_206A_200F_200D_202A_206F_200F_200F_202C_206E_206E_200F_200E_200F_202A_200D_200C_202C_206A_202A_202A_200E_206C_202D_200F_206B_206A_200E_202E_202E_200C_206A_202D_200C_200B_206E_206A_202D_206D_206A_202E(_condition, ConditionFlag.InDutyQueue)) ? (-451706505) : (-451706508)); + break; + } + } + } + + static IPlayerCharacter _206C_202B_206B_200C_206A_200C_202D_206E_200C_206C_202B_202E_206E_202E_200D_202A_202B_200D_206D_206B_202C_200F_202D_206C_206D_202C_200E_202D_206D_200D_200E_202C_200E_202D_202B_200E_206F_206E_206B_206D_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static byte _202D_206D_206C_206A_202B_202A_200C_206E_200C_200F_200F_202D_202A_206C_200B_202B_200D_200C_200D_206D_206A_200E_200B_202A_200B_206E_200C_202E_200C_202C_200E_206C_206C_206A_206B_200B_202C_202D_200B_206D_202E(ICharacter P_0) + { + return P_0.Level; + } + + static RowRef _202D_206D_202A_200E_200D_202B_200C_202A_200B_202B_200C_202A_206A_200F_206C_200B_200F_202E_206F_202D_206F_206F_200D_206A_202C_202D_200D_206E_202E_202A_202A_200F_206D_206C_206B_202B_202C_206E_200F_206E_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static bool _202A_202A_202E_206E_206B_202D_206B_202A_200E_202E_200B_200F_206A_206B_200D_200C_206D_206A_202B_206E_202D_202E_202A_200F_200F_206E_202A_202E_200E_200D_202B_206B_200F_200E_206E_202E_200E_206B_206C_202E_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static void _202B_202C_200B_202B_200F_200B_202E_206B_206C_206B_200E_206B_206C_206E_200F_200B_206B_202C_206E_206F_206A_202A_202D_200C_206E_202B_200B_202E_206D_202A_206D_200C_206A_200B_200D_206A_206D_206F_206E_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static bool _202C_200F_202D_202A_206B_206D_202A_202A_200C_202D_200B_200C_200B_206C_206A_202D_206D_202D_202A_206E_206C_202A_200B_202A_202E_206C_200D_200D_206C_206A_206C_206B_200F_202D_202E_200D_206B_206C_202A_206A_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } + + static ushort _202E_206B_206E_200B_206A_202B_206C_202E_206E_202B_206E_206A_200B_202E_202A_206E_200E_202C_200F_206F_202E_206F_202E_200B_202B_200C_202D_200D_206A_202A_206E_200E_200B_202D_200E_206B_206A_200E_206C_206E_202E(ElementId P_0) + { + return P_0.Value; + } + + static void _206E_206E_200E_206F_202B_200E_202D_206E_202B_206B_206D_202E_206F_202B_200B_200F_200B_206A_200E_206E_206B_206B_206D_200D_206E_206D_200C_200C_200C_200B_202B_206E_202C_200D_206C_202C_202C_206E_206C_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static QuestId _202E_206A_206F_206E_202D_206B_206F_202A_202A_202A_202D_202C_206B_202B_202C_206B_202A_202E_202C_200F_200D_202E_200F_200B_202D_200E_202A_202A_200F_202E_206E_202E_202C_200E_202E_202B_202E_202C_206B_200F_202E(ushort P_0) + { + return new QuestId(P_0); + } + + static bool _200E_202A_200B_206E_206D_200B_206F_202D_206D_202A_206F_206A_200D_206E_206A_202D_202D_206E_202A_202C_200F_202A_202E_202A_200B_200C_200D_202C_206E_200E_206A_200C_206C_206D_206D_206B_200D_206A_200C_200C_202E(uint P_0) + { + return PlayerStateHelper.IsMountUnlocked(P_0); + } + + static byte _200C_206C_202C_202E_206B_206B_200E_206C_200D_206D_206C_200E_206A_202B_206B_202B_202E_202D_206B_206E_200B_200F_206B_202E_202A_202A_206A_206D_202C_200D_200F_200F_202C_200D_206C_200B_202D_206C_206E_202E() + { + return GrandCompanyHelper.GetGrandCompanyId(); + } + + static void _206F_202B_206B_200E_206F_202D_206D_202D_202B_202C_200D_202C_206D_202D_206D_206C_202C_202E_200F_200C_200B_200E_206E_206B_200F_200B_206A_200D_200E_206B_206A_202B_206B_206F_202B_202E_200E_200F_202A_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static uint _206D_200D_206F_200F_200F_206F_206D_200B_206E_200D_206A_202A_202B_200F_202D_202A_202D_200C_206F_206E_202B_202A_202D_206F_206F_202D_200D_200C_206C_202B_202E_200C_206F_200E_206A_206E_200F_200C_206C_206B_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static bool _206B_206A_200F_200D_202A_206F_200F_200F_202C_206E_206E_200F_200E_200F_202A_200D_200C_202C_206A_202A_202A_200E_206C_202D_200F_206B_206A_200E_202E_202E_200C_206A_202D_200C_200B_206E_206A_202D_206D_206A_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } +} diff --git a/Questionable/Questionable.Controller/QuestRegistry.cs b/Questionable/Questionable.Controller/QuestRegistry.cs index 8e137d37..5c608309 100644 --- a/Questionable/Questionable.Controller/QuestRegistry.cs +++ b/Questionable/Questionable.Controller/QuestRegistry.cs @@ -1,14 +1,18 @@ #define RELEASE using System; +using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; -using System.Globalization; using System.IO; using System.Linq; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Text; using System.Text.Json; using System.Text.Json.Nodes; using System.Text.RegularExpressions; +using System.Threading; using Dalamud.Plugin; using Dalamud.Plugin.Ipc; using Dalamud.Plugin.Services; @@ -23,9 +27,250 @@ using Questionable.Validation.Validators; namespace Questionable.Controller; -internal sealed class QuestRegistry +internal sealed class QuestRegistry : IDisposable { - internal sealed record FailedQuestLoad(ElementId QuestId, string? FilePath, string ErrorMessage, Quest.ESource Source); + 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) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_206E_202A_200D_202D_206A_202B_202A_206B_206C_206E_202A_200C_206F_200B_206B_202A_202D_206F_206B_202C_202B_200E_200D_202B_202E_206C_206A_206C_206C_200B_202E_202A_206E_200D_202C_202B_206F_200D_206A_202E(typeof(FailedQuestLoad).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206B_200E_202A_200D_200E_206F_200F_202B_206A_200E_200D_202A_202A_202A_200E_200C_200C_202C_200D_202C_202D_202A_202C_206A_206A_200B_200F_206C_206D_200D_206E_202E_206C_202E_202D_200E_206B_200C_202E_200E_202E(); + _206E_202A_200D_206C_200E_202E_206F_202A_202C_202E_200D_206A_206F_206A_206A_200F_206D_202E_202D_206C_206C_202A_202C_206D_202C_206B_200C_202D_206F_206B_206F_202C_200F_206D_206D_202E_202B_202B_200E_206D_202E(stringBuilder, global::_003CModule_003E._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(-568130385)); + _206E_202A_200D_206C_200E_202E_206F_202A_202C_202E_200D_206A_206F_206A_206A_200F_206D_202E_202D_206C_206C_202A_202C_206D_202C_206B_200C_202D_206F_206B_206F_202C_200F_206D_206D_202E_202B_202B_200E_206D_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? 1768715349 : 1768715350); + while (true) + { + int num2 = num; + int num3 = 1768715351; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _206F_200D_206C_200C_202E_206A_200C_202D_200E_202E_200F_200C_206B_200F_200B_206A_206F_202A_206E_200D_202A_206C_200D_200C_206C_206F_202A_206E_200F_206D_206F_200B_200D_200F_202D_206A_200E_202E_202C_202E_202E(stringBuilder, '}'); + return _202E_202B_200F_200B_206C_206F_206F_200F_202A_206C_200F_200C_200F_200E_206C_206E_202B_202C_200F_206B_202C_200D_200C_202D_200C_206C_200B_202A_202A_202D_202E_206A_206E_202C_202E_206E_202E_200E_202E_202A_202E((object)stringBuilder); + case 1: + _206F_200D_206C_200C_202E_206A_200C_202D_200E_202E_200F_200C_206B_200F_200B_206A_206F_202A_206E_200D_202A_206C_200D_200C_206C_206F_202A_206E_200F_206D_206F_200B_200D_200F_202D_206A_200E_202E_202C_202E_202E(stringBuilder, ' '); + num = 1768715349; + break; + case 0: + num = 1768715350; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_202A_200D_202D_202E_206C_206C_202E_206D_202E_200D_206B_206B_206D_206E_202E_202B_202B_206D_200B_200F_200D_200B_202E_206C_200F_200E_202E_200E_202A_202E_206A_206A_206F_202A_206D_200D_206B_206E_202B_202E(); + _206E_202A_200D_206C_200E_202E_206F_202A_202C_202E_200D_206A_206F_206A_206A_200F_206D_202E_202D_206C_206C_202A_202C_206D_202C_206B_200C_202D_206F_206B_206F_202C_200F_206D_206D_202E_202B_202B_200E_206D_202E(builder, global::_003CModule_003E._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(-196925368)); + _202C_202B_202A_200C_200B_200D_206A_200D_206B_202C_202A_202A_206B_202A_202D_200E_202D_202A_200E_200F_202E_206D_200D_200F_202A_200D_202D_200E_202C_206A_206E_200F_200C_206C_200B_200B_206F_200C_200D_200C_202E(builder, (object)QuestId); + _206E_202A_200D_206C_200E_202E_206F_202A_202C_202E_200D_206A_206F_206A_206A_200F_206D_202E_202D_206C_206C_202A_202C_206D_202C_206B_200C_202D_206F_206B_206F_202C_200F_206D_206D_202E_202B_202B_200E_206D_202E(builder, global::_003CModule_003E._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(-201639177)); + _202C_202B_202A_200C_200B_200D_206A_200D_206B_202C_202A_202A_206B_202A_202D_200E_202D_202A_200E_200F_202E_206D_200D_200F_202A_200D_202D_200E_202C_206A_206E_200F_200C_206C_200B_200B_206F_200C_200D_200C_202E(builder, (object)FilePath); + _206E_202A_200D_206C_200E_202E_206F_202A_202C_202E_200D_206A_206F_206A_206A_200F_206D_202E_202D_206C_206C_202A_202C_206D_202C_206B_200C_202D_206F_206B_206F_202C_200F_206D_206D_202E_202B_202B_200E_206D_202E(builder, global::_003CModule_003E._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(-607356140)); + _202C_202B_202A_200C_200B_200D_206A_200D_206B_202C_202A_202A_206B_202A_202D_200E_202D_202A_200E_200F_202E_206D_200D_200F_202A_200D_202D_200E_202C_206A_206E_200F_200C_206C_200B_200B_206F_200C_200D_200C_202E(builder, (object)ErrorMessage); + _206E_202A_200D_206C_200E_202E_206F_202A_202C_202E_200D_206A_206F_206A_206A_200F_206D_202E_202D_206C_206C_202A_202C_206D_202C_206B_200C_202D_206F_206B_206F_202C_200F_206D_206D_202E_202B_202B_200E_206D_202E(builder, global::_003CModule_003E._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(-1853246716)); + _206E_202A_200D_206C_200E_202E_206F_202A_202C_202E_200D_206A_206F_206A_206A_200F_206D_202E_202D_206C_206C_202A_202C_206D_202C_206B_200C_202D_206F_206B_206F_202C_200F_206D_206D_202E_202B_202B_200E_206D_202E(builder, Source.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(FailedQuestLoad? other) + { + int num = (((object)this == other) ? (-699833677) : (-699833676)); + while (true) + { + int num2 = num; + int num3 = -699833673; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((!EqualityComparer.Default.Equals(FilePath, other.FilePath)) ? (-699833680) : (-699833679)); + break; + case 4: + return true; + case 8: + return EqualityComparer.Default.Equals(Source, other.Source); + case 5: + num = -699833676; + break; + case 6: + num = ((!EqualityComparer.Default.Equals(ErrorMessage, other.ErrorMessage)) ? (-699833680) : (-699833665)); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(QuestId, other.QuestId)) ? (-699833680) : (-699833673)); + break; + case 3: + num = (((object)other == null) ? (-699833680) : (-699833674)); + break; + case 1: + num = ((!_200E_206C_200D_206D_206B_206F_202D_202B_202B_202C_206D_202D_206B_200D_200F_206C_206F_200C_202A_206F_206A_202B_202C_206C_206F_206B_200D_206B_200B_206F_200D_206F_206C_202E_206D_200C_200D_200C_200D_200E_202E(EqualityContract, other.EqualityContract)) ? (-699833680) : (-699833675)); + break; + case 7: + return false; + } + } + } + + bool IEquatable.Equals(FailedQuestLoad? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202E_206E_202A_200D_202D_206A_202B_202A_206B_206C_206E_202A_200C_206F_200B_206B_202A_202D_206F_206B_202C_202B_200E_200D_202B_202E_206C_206A_206C_206C_200B_202E_202A_206E_200D_202C_202B_206F_200D_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206B_200E_202A_200D_200E_206F_200F_202B_206A_200E_200D_202A_202A_202A_200E_200C_200C_202C_200D_202C_202D_202A_202C_206A_206A_200B_200F_206C_206D_200D_206E_202E_206C_202E_202D_200E_206B_200C_202E_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206E_202A_200D_206C_200E_202E_206F_202A_202C_202E_200D_206A_206F_206A_206A_200F_206D_202E_202D_206C_206C_202A_202C_206D_202C_206B_200C_202D_206F_206B_206F_202C_200F_206D_206D_202E_202B_202B_200E_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206F_200D_206C_200C_202E_206A_200C_202D_200E_202E_200F_200C_206B_200F_200B_206A_206F_202A_206E_200D_202A_206C_200D_200C_206C_206F_202A_206E_200F_206D_206F_200B_200D_200F_202D_206A_200E_202E_202C_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202E_202B_200F_200B_206C_206F_206F_200F_202A_206C_200F_200C_200F_200E_206C_206E_202B_202C_200F_206B_202C_200D_200C_202D_200C_206C_200B_202A_202A_202D_202E_206A_206E_202C_202E_206E_202E_200E_202E_202A_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206C_202A_200D_202D_202E_206C_206C_202E_206D_202E_200D_206B_206B_206D_206E_202E_202B_202B_206D_200B_200F_200D_200B_202E_206C_200F_200E_202E_200E_202A_202E_206A_206A_206F_202A_206D_200D_206B_206E_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202C_202B_202A_200C_200B_200D_206A_200D_206B_202C_202A_202A_206B_202A_202D_200E_202D_202A_200E_200F_202E_206D_200D_200F_202A_200D_202D_200E_202C_206A_206E_200F_200C_206C_200B_200B_206F_200C_200D_200C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200E_206C_200D_206D_206B_206F_202D_202B_202B_202C_206D_202D_206B_200D_200F_206C_206F_200C_202A_206F_206A_202B_202C_206C_206F_206B_200D_206B_200B_206F_200D_206F_206C_202E_206D_200C_200D_200C_200D_200E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func, bool> _003C_003E9__23_0; + + public static Func _003C_003E9__28_0; + + public static Func _003C_003E9__29_0; + + internal bool _003CBuild_003Eb__23_0(KeyValuePair x) + { + return !_206B_202E_202A_206F_200C_206E_202D_206D_200D_206E_202B_202A_202B_200C_200C_200C_200B_200F_200E_200D_206B_206B_206C_206D_206D_206A_206F_200E_206B_206B_202E_206D_206A_202D_206F_206A_202E_206A_200B_200E_202E(x.Value.Root); + } + + internal bool _003CLoadCfcIds_003Eb__28_0(QuestStep x) + { + EInteractionType eInteractionType = _202C_200F_200E_206A_200F_206F_202A_200B_206A_206B_202C_200E_200E_202E_206D_202A_200C_202C_202A_206C_206F_202E_202A_200F_200B_202C_206A_202A_200C_200E_202B_206A_202A_200B_206F_200B_202D_202B_202A_202A_202E(x); + int num = (((uint)(eInteractionType - 19) > 1u) ? (-105448729) : (-105448732)); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = -105448731; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return result; + case 1: + result = true; + num = -105448731; + break; + case 3: + num = -105448732; + break; + case 2: + result = false; + num = -105448731; + break; + } + } + } + + internal bool _003CValidateQuests_003Eb__29_0(Quest x) + { + return x.Source != Quest.ESource.Assembly; + } + + static bool _206B_202E_202A_206F_200C_206E_202D_206D_200D_206E_202B_202A_202B_200C_200C_200C_200B_200F_200E_200D_206B_206B_206C_206D_206D_206A_206F_200E_206B_206B_202E_206D_206A_202D_206F_206A_202E_206A_200B_200E_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static EInteractionType _202C_200F_200E_206A_200F_206F_202A_200B_206A_206B_202C_200E_200E_202E_206D_202A_200C_202C_202A_206C_206F_202E_202A_200F_200B_202C_206A_202A_200C_200E_202B_206A_202A_200B_206F_200B_202D_202B_202A_202A_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + } private readonly IDalamudPluginInterface _pluginInterface; @@ -43,31 +288,81 @@ 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(); + [CompilerGenerated] + private EventHandler? m_Reloaded; - private readonly List<(uint ContentFinderConditionId, ElementId QuestId, int Sequence)> _lowPriorityContentFinderConditionQuests = new List<(uint, ElementId, int)>(); + public IEnumerable AllQuests => _snapshot.Quests.Values; - private readonly Dictionary _questFolderNames = new Dictionary(); + public int Count => _snapshot.Count; - private readonly Dictionary _failedLoads = new Dictionary(); + public IReadOnlyDictionary FailedLoads => _snapshot.FailedLoads; - public IEnumerable AllQuests => _quests.Values; + public IReadOnlyList<(uint ContentFinderConditionId, ElementId QuestId, int Sequence)> LowPriorityContentFinderConditionQuests => _snapshot.LowPriorityContentFinderConditionQuests; - public IReadOnlyDictionary FailedLoads => _failedLoads; + public event EventHandler? Reloaded + { + [CompilerGenerated] + add + { + EventHandler eventHandler = this.m_Reloaded; + int num = 237469917; + while (true) + { + int num2 = num; + int num3 = 237469916; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_202D_202A_202A_202C_202A_200B_202E_200B_200B_202D_206B_200F_200D_202B_206B_206E_200D_202C_206C_202D_200B_200F_206A_200C_200F_200E_206E_202D_206E_202A_202A_200E_202D_206D_206E_206F_200C_202D_206C_206C_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_Reloaded, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? 237469917 : 237469918); + break; + } + case 0: + num = 237469917; + break; + } + } + } + [CompilerGenerated] + remove + { + EventHandler eventHandler = this.m_Reloaded; + int num = 268967393; + while (true) + { + int num2 = num; + int num3 = 268967392; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_202E_202D_202B_206E_200F_202B_206B_200B_202B_202B_206E_202B_206F_202A_200D_200B_200D_206E_202D_202D_206A_206E_206D_202C_200F_200F_206E_200E_202B_206C_202E_202C_200D_200B_206F_202B_200B_206E_200B_206D_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_Reloaded, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? 268967393 : 268967392); + break; + } + case 2: + num = 268967393; + break; + } + } + } + } - 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 event EventHandler? Reloaded; - - public QuestRegistry(IDalamudPluginInterface pluginInterface, QuestData questData, QuestValidator questValidator, JsonSchemaValidator jsonSchemaValidator, ILogger logger, TerritoryData territoryData, IChatGui chatGui) + [MethodImpl(MethodImplOptions.NoInlining)] + public QuestRegistry(IDalamudPluginInterface pluginInterface, QuestData questData, QuestValidator questValidator, JsonSchemaValidator jsonSchemaValidator, ILogger logger, TerritoryData territoryData, IChatGui chatGui, IFramework framework) { _pluginInterface = pluginInterface; _questData = questData; @@ -76,498 +371,1494 @@ internal sealed class QuestRegistry _logger = logger; _territoryData = territoryData; _chatGui = chatGui; - _reloadDataIpc = _pluginInterface.GetIpcProvider("Questionable.ReloadData"); + _reloadDataIpc = _pluginInterface.GetIpcProvider(global::_003CModule_003E._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(59906523)); + } + + public void Dispose() + { + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal Snapshot Build() + { + _questValidator.Reset(); + Snapshot snapshot = new Snapshot(); + LoadQuestsFromAssembly(snapshot); + try + { + LoadFromDirectory(snapshot, _200D_200C_200B_206C_202B_200E_206B_202C_200C_202A_202D_206D_202A_200F_200E_200B_202E_206E_202D_202C_200B_206E_202C_206E_206B_200E_206A_206E_202E_200E_202D_202E_200F_202E_200C_202E_200F_202E_206F_202B_202E(_206F_200D_202E_206F_206C_200B_206E_202B_200C_200E_206D_206E_202A_206D_206A_206D_202D_206E_202B_200D_202B_206A_206A_200B_206D_202A_202B_202B_206A_206F_200D_200D_202A_200C_202E_202C_206B_206B_206B_206C_202E(_206E_200F_200B_206F_206C_206E_206A_206D_206D_202C_200D_206F_206B_200D_202D_200C_200C_202D_202A_202E_206C_202E_200B_202A_206A_202C_202D_202C_200B_206B_202E_200C_200E_200D_200C_206A_200F_202B_200D_202C_202E((FileSystemInfo)_206D_202C_206C_206D_206A_200C_200F_200C_206A_206D_206D_206C_200E_206B_200F_200E_206F_202A_206E_206E_202A_206A_206D_206C_206E_202C_206A_202E_206E_206D_202B_200D_206D_200C_202B_202C_202A_200C_202A_206E_202E(_pluginInterface)), global::_003CModule_003E._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(483735086))), Quest.ESource.UserDirectory); + } + catch (Exception ex) + { + _200B_200C_202D_202E_200D_206D_200E_200D_200C_206D_202B_202D_200E_200D_202D_202D_206A_202B_206F_200D_202E_202C_202C_200F_200E_206B_202B_202B_206B_202B_202A_202C_202C_206A_200F_206C_206B_206A_206F_200F_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-1413317878), Array.Empty()); + } + LoadCfcIds(snapshot); + snapshot.Count = snapshot.Quests.Count>((KeyValuePair x) => !_003C_003Ec._206B_202E_202A_206F_200C_206E_202D_206D_200D_206E_202B_202A_202B_200C_200C_200C_200B_200F_200E_200D_206B_206B_206C_206D_206D_206A_206F_200E_206B_206B_202E_206D_206A_202D_206F_206A_202E_206A_200B_200E_202E(x.Value.Root)); + return snapshot; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal void Publish(Snapshot snapshot, bool sendReloadDataIpc = true, bool validateQuests = true) + { + _snapshot = snapshot; + int num = ((!validateQuests) ? (-104766368) : (-104766365)); + while (true) + { + int num2 = num; + int num3 = -104766366; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 3: + num = -104766365; + continue; + case 1: + ValidateQuests(); + num = -104766368; + continue; + case 2: + { + EventHandler? eventHandler = this.Reloaded; + if (eventHandler == null) + { + break; + } + eventHandler(this, EventArgs.Empty); + num = -104766366; + continue; + } + case 0: + break; + } + break; + } + if (sendReloadDataIpc) + { + try + { + _reloadDataIpc.SendMessage(); + } + catch (Exception ex) + { + _202A_206C_200B_200D_202E_206F_206A_206E_206A_202B_206D_206E_206C_202A_202C_206E_206C_206A_200C_200B_206B_206E_202C_200D_206E_202E_202E_202E_200E_206E_200C_200B_202D_202D_200F_206C_202A_202C_202E_202C_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-1879264080), Array.Empty()); + } + } + _200B_200F_200B_200B_200E_206A_206E_200B_200D_200E_200E_200D_206D_200D_206F_200F_200D_200B_206C_200D_200D_206E_202E_202D_206A_200C_202A_206A_202E_206A_206B_202E_202B_206D_206A_206D_200F_206C_200E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(1981205639), new object[1] { snapshot.Quests.Count }); } public void Reload() { - _questValidator.Reset(); - _quests.Clear(); - _failedLoads.Clear(); - _contentFinderConditionIds.Clear(); - _lowPriorityContentFinderConditionQuests.Clear(); - _questFolderNames.Clear(); - LoadQuestsFromAssembly(); - try - { - LoadFromDirectory(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(); - this.Reloaded?.Invoke(this, EventArgs.Empty); - try - { - _reloadDataIpc.SendMessage(); - } - catch (Exception exception2) - { - _logger.LogWarning(exception2, "Error during Reload.SendMessage IPC"); - } - _logger.LogInformation("Loaded {Count} quests in total", _quests.Count); + Publish(Build()); } + [MethodImpl(MethodImplOptions.NoInlining)] [Conditional("RELEASE")] - private void LoadQuestsFromAssembly() + private void LoadQuestsFromAssembly(Snapshot snapshot) { - _logger.LogInformation("Loading quests from assembly"); - foreach (var (elementId2, questRoot2) in AssemblyQuestLoader.GetQuests()) + IEnumerator> enumerator = _200B_202D_200C_206B_200E_200E_200F_206C_200E_202E_202E_200B_206C_206E_200D_202B_206C_206E_202B_206A_202C_200B_200B_206A_206B_200B_206D_202E_206C_202A_200E_200F_202E_202C_206C_202B_200E_206C_202A_202C_202E().GetEnumerator(); + try { - try + string text3 = default(string); + string text = default(string); + string text2 = default(string); + UnlockLinkId unlockLinkId = default(UnlockLinkId); + IQuestInfo questInfo2 = default(IQuestInfo); + DateTime? dateTime = default(DateTime?); + while (_206A_200C_206F_202E_202B_202E_206A_206D_206B_200F_206F_206C_202B_206C_202E_200C_206D_202B_202E_206E_200E_200E_202E_206B_206F_206F_200B_206E_206A_200C_200F_202D_206F_200E_200B_206A_206E_202A_206A_206F_202E((IEnumerator)enumerator)) { - bool? flag = null; - DateTime? dateTime = null; - bool flag2 = false; - bool flag3 = false; + var (elementId2, questRoot2) = (KeyValuePair)(ref enumerator.Current); try { - flag = questRoot2.IsSeasonalQuest; - flag2 = flag.HasValue; - if (questRoot2.SeasonalQuestExpiry.HasValue) + int num = (_200B_200F_206B_206D_202B_200B_206C_202C_202A_206B_200C_206D_202A_202A_200E_206C_200F_202C_206E_202C_202A_202D_206A_206E_202C_206D_200D_206A_200D_206D_202A_206B_206B_202B_202E_202C_200E_206B_202B_206F_202E(questRoot2).HasValue ? 1589830137 : 1589830112); + while (true) { - dateTime = DateTime.SpecifyKind(questRoot2.SeasonalQuestExpiry.Value, DateTimeKind.Utc); - flag3 = true; + int num2 = num; + int num3 = 1589830123; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + DateTime? obj; + switch (num5 - (num6 + num6)) + { + case 4: + text3 = _200C_200C_200D_202C_200D_200C_206E_200C_200F_206E_202D_202C_206E_202B_202B_202C_200B_200D_202C_202B_206F_200B_206F_200E_202C_206C_206E_206B_200D_200F_206B_202B_206E_206D_206B_202C_206C_206E_206F_202B_202E(text, 1); + num = (_202D_206E_200E_206D_206D_206B_200D_200F_200C_200B_200D_206D_200E_202C_206E_206F_200F_200D_200D_200B_200F_206C_202B_206F_200B_202A_202C_206B_200B_200E_200F_202C_200F_206E_206C_206B_200C_200D_206C_202E(text3, global::_003CModule_003E._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(679724514)) ? 1589830119 : 1589830114); + break; + case 11: + obj = null; + goto IL_0255; + case 13: + num = 1589830112; + break; + case 8: + text2 = global::_003CModule_003E._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(452449838); + num = 1589830138; + break; + case 6: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(12, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(252251798)); + defaultInterpolatedStringHandler.AppendFormatted(_206F_200F_200C_206A_206F_200E_206A_206A_200E_202E_206E_206A_206E_206F_200F_202E_206C_200F_202D_202A_200F_200B_202C_202C_200E_202C_200F_200F_200F_202B_200C_206D_206A_206C_206F_206A_202A_206E_202B_206F_202E((ElementId)unlockLinkId)); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + num = 1589830113; + break; + } + case 9: + num = (_202D_206E_200E_206D_206D_206B_200D_200F_200C_200B_200D_206D_200E_202C_206E_206F_200F_200D_200D_200B_200F_206C_202B_206F_200B_202A_202C_206B_200B_200E_200F_202C_200F_206E_206C_206B_200C_200D_206C_202E(text3, global::_003CModule_003E._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(-909066060)) ? 1589830115 : 1589830136); + break; + case 5: + text2 = _200E_202A_200C_206A_202A_206C_200F_206C_202C_202B_206C_200E_200C_206C_200D_206F_200E_206C_202B_202D_200F_206E_202A_202C_206D_200E_202A_202C_200C_200D_202B_206B_206E_200D_200E_206C_206D_202B_200B_200C_202E(global::_003CModule_003E._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(-1766186702), text3); + num = 1589830138; + break; + case 10: + questInfo2 = new UnlockLinkQuestInfo(unlockLinkId, text, 0u, dateTime); + _200B_200F_200B_200B_200E_206A_206E_200B_200D_200E_200E_200D_206D_200D_206F_200F_200D_200B_206C_200D_200D_206E_202E_202D_206A_200C_202A_206A_202E_206A_206B_202E_202B_206D_206A_206D_200F_206C_200E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(-1875699124), new object[1] { elementId2 }); + _questData.AddOrReplaceQuestInfo(questInfo2); + num = 1589830124; + break; + case 7: + num = (_206E_206A_200C_206A_206A_200B_206E_200F_200F_202C_200B_202A_200C_200C_206D_206C_202E_202D_200E_202C_202A_202E_200F_206D_206E_206F_200D_202D_206D_200F_202A_206A_206E_200D_206D_202C_206D_202A_200E_206D_202E(questRoot2).HasValue ? 1589830117 : 1589830121); + break; + case 18: + obj = DateTime.SpecifyKind(_200B_200F_206B_206D_202B_200B_206C_202C_202A_206B_200C_206D_202A_202A_200E_206C_200F_202C_206E_202C_202A_202D_206A_206E_202C_206D_200D_206A_200D_206D_202A_206B_206B_202B_202E_202C_200E_206B_202B_206F_202E(questRoot2).Value, DateTimeKind.Utc); + goto IL_0255; + case 2: + num = ((!_200B_200F_206B_206D_202B_200B_206C_202C_202A_206B_200C_206D_202A_202A_200E_206C_200F_202C_206E_202C_202A_202D_206A_206E_202C_206D_200D_206A_200D_206D_202A_206B_206B_202B_202E_202C_200E_206B_202B_206F_202E(questRoot2).HasValue) ? 1589830123 : 1589830117); + break; + case 12: + text2 = global::_003CModule_003E._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(1797110662); + num = 1589830138; + break; + case 19: + num = 1589830126; + break; + case 15: + text = _200B_200C_206D_206D_202A_206E_200C_206A_206D_206C_206D_202E_202D_202A_200D_206D_206D_202B_206F_206E_202B_206C_206F_206F_206E_202E_202A_200F_200B_202B_200F_202A_200E_202E_202B_206B_202A_202D_202D_202B_202E((object)unlockLinkId); + num = ((_202E_202B_206D_202E_200F_202B_206E_206C_202E_200E_206B_206B_200B_200C_200C_200D_200C_202C_206B_200B_206A_200D_206D_206C_206C_200F_202D_200D_206E_206A_202B_206D_206B_206F_200F_200F_200B_200D_206F_202C_202E(text) <= 1) ? 1589830125 : 1589830122); + break; + case 3: + _200E_200E_202D_200B_206D_202C_206E_202C_200E_206A_200E_206D_200C_206B_202D_206E_202A_206C_206F_206F_202E_200B_206F_202E_200C_206A_200D_206A_202D_200E_202B_206D_206F_202B_202B_200C_202D_206C_206F_202A_202E((ILogger)_logger, global::_003CModule_003E._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(1625142981), new object[1] { elementId2 }); + goto end_IL_0054; + case 17: + text = text2; + num = 1589830113; + break; + case 1: + num = ((!_206E_200E_206F_206B_206E_206B_206E_206C_200D_206E_206E_202E_206A_206E_206C_206C_200C_200C_200F_202A_206B_200F_202A_202A_206B_200F_202B_200B_206A_206F_206F_202A_202E_206F_202B_206F_206F_200C_206E_202E_202E(text, 'U')) ? 1589830125 : 1589830127); + break; + case 16: + unlockLinkId = elementId2 as UnlockLinkId; + num = (((object)unlockLinkId == null) ? 1589830120 : 1589830116); + break; + case 14: + _questData.ApplySeasonalOverride(elementId2, _206E_206A_200C_206A_206A_200B_206E_200F_200F_202C_200B_202A_200C_200C_206D_206C_202E_202D_200E_202C_202A_202E_200F_206D_206E_206F_200D_202D_206D_200F_202A_206A_206E_200D_206D_202C_206D_202A_200E_206D_202E(questRoot2) ?? questInfo2.IsSeasonalQuest, dateTime); + num = 1589830123; + break; + case 0: + { + IQuestInfo questInfo = _questData.GetQuestInfo(elementId2); + Quest quest = new Quest + { + Id = elementId2, + Root = questRoot2, + Info = questInfo, + Source = Quest.ESource.Assembly, + SourcePath = null + }; + snapshot.Quests[quest.Id] = quest; + goto end_IL_0054; + } + IL_0255: + dateTime = obj; + num = (_questData.TryGetQuestInfo(elementId2, out questInfo2) ? 1589830124 : 1589830139); + break; + } + continue; + end_IL_0054: + break; } } - catch (Exception exception) + catch (Exception ex) { - _logger.LogWarning(exception, "Failed to read seasonal fields from embedded QuestRoot for {QuestId}", elementId2); - } - if (_questData.TryGetQuestInfo(elementId2, out IQuestInfo questInfo)) - { - goto IL_01ae; - } - if (elementId2 is UnlockLinkId unlockLinkId) - { - string text = unlockLinkId.ToString(); - if (text.Length > 1 && text.StartsWith('U')) + _200E_200E_202D_200B_206D_202C_206E_202C_200E_206A_200E_206D_200C_206B_202D_206E_202A_206C_206F_206F_202E_200B_206F_202E_200C_206A_200D_206A_202D_200E_202B_206D_206F_202B_202B_200C_202D_206C_206F_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-1294782276), new object[2] { - string text2 = text.Substring(1); - string text3 = ((text2 == "568") ? "Patch 7.3 Fantasia" : ((!(text2 == "506")) ? ("U" + text2) : "Patch 7.2 Fantasia")); - text = text3; - } - else - { - text = $"Unlock Link {unlockLinkId.Value}"; - } - questInfo = new UnlockLinkQuestInfo(unlockLinkId, text, 0u, dateTime); - _questData.AddOrReplaceQuestInfo(questInfo); - goto IL_01ae; + elementId2, + _202E_206D_202C_202B_200D_206A_200C_200E_200E_206B_206A_206F_200C_206E_200C_202C_200B_206A_200B_206D_206F_202E_200E_206E_200F_206C_202A_200B_206C_202A_206A_206D_206B_200F_206B_206F_200F_202B_206F_206C_202E(ex) + }); } - _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) - { - bool isSeasonal = flag ?? questInfo.IsSeasonalQuest; - _questData.ApplySeasonalOverride(elementId2, isSeasonal, dateTime); - } - IQuestInfo questInfo2 = _questData.GetQuestInfo(elementId2); - Quest quest = new Quest - { - Id = elementId2, - Root = questRoot2, - Info = questInfo2, - Source = Quest.ESource.Assembly - }; - _quests[quest.Id] = quest; - end_IL_003d:; - } - 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); + finally + { + int num = ((enumerator == null) ? 553378492 : 553378493); + while (true) + { + int num7 = num; + int num3 = 553378492; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 553378493; + break; + case 0: + goto end_IL_047e; + case 1: + _206D_206E_202E_202C_206B_206D_206C_202E_200F_206B_202D_202A_200E_202C_202B_200E_202D_202E_202A_206F_206A_200F_206E_206B_200C_202C_200B_200D_206F_202C_200B_200B_200B_206A_202E_200D_200B_202D_206B_202B_202E((IDisposable)enumerator); + num = 553378492; + break; + } + continue; + end_IL_047e: + break; + } + } + _200B_200F_200B_200B_200E_206A_206E_200B_200D_200E_200E_200D_206D_200D_206F_200F_200D_200B_206C_200D_200D_206E_202E_202D_206A_200C_202A_206A_202E_206A_206B_202E_202B_206D_206A_206D_200F_206C_200E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(-2012962831), new object[1] { snapshot.Quests.Count }); } + [MethodImpl(MethodImplOptions.NoInlining)] [Conditional("DEBUG")] - private void LoadQuestsFromProjectDirectory() + private void LoadQuestsFromProjectDirectory(Snapshot snapshot) { - DirectoryInfo directoryInfo = _pluginInterface.AssemblyLocation.Directory?.Parent?.Parent; + DirectoryInfo directoryInfo = _200E_206E_200D_202E_206A_202E_200D_206F_206E_202C_206A_206C_206E_202E_202A_200D_206F_206C_202E_202A_206C_206F_200D_200B_200D_206E_202B_200F_206A_200B_206F_200D_206F_200D_202A_200B_202B_200D_200B_206B_202E(_202A_200D_206F_202D_202B_202B_202D_200C_200C_206A_202E_206D_200F_200D_202A_206F_206A_206E_206B_200E_202D_202E_202A_200E_206D_206F_202C_206F_206B_200D_202B_202C_206A_206B_200F_202A_200C_202B_202B_202C_202E(_pluginInterface)); + object obj; if (directoryInfo == null) { - return; + obj = null; } - DirectoryInfo directoryInfo2 = new DirectoryInfo(Path.Combine(directoryInfo.FullName, "QuestPaths")); - if (!directoryInfo2.Exists) + else { - return; + DirectoryInfo directoryInfo2 = _202E_206C_206B_202B_206D_206F_206C_200B_200E_200D_200B_200F_206B_200E_206F_200E_206E_202B_202D_206D_206E_202A_200E_202B_202D_206A_206B_202A_206B_206A_202D_206A_206D_206C_206A_206B_206D_202C_206C_202B_202E(directoryInfo); + obj = ((directoryInfo2 != null) ? _202E_206C_206B_202B_206D_206F_206C_200B_200E_200D_200B_200F_206B_200E_206F_200E_206E_202B_202D_206D_206E_202A_200E_202B_202D_206A_206B_202A_206B_206A_202D_206A_206D_206C_206A_206B_206D_202C_206C_202B_202E(directoryInfo2) : null); } - try + DirectoryInfo directoryInfo3 = (DirectoryInfo)obj; + int num = ((directoryInfo3 != null) ? 1130526346 : 1130526345); + while (true) { - foreach (string value in ExpansionData.ExpansionFolders.Values) + int num2 = num; + int num3 = 1130526344; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - LoadFromDirectory(new DirectoryInfo(Path.Combine(directoryInfo2.FullName, value)), Quest.ESource.ProjectDirectory, LogLevel.Trace); + case 0: + goto IL_0081; + case 1: + return; + case 2: + { + DirectoryInfo directoryInfo4 = _200D_200C_200B_206C_202B_200E_206B_202C_200C_202A_202D_206D_202A_200F_200E_200B_202E_206E_202D_202C_200B_206E_202C_206E_206B_200E_206A_206E_202E_200E_202D_202E_200F_202E_200C_202E_200F_202E_206F_202B_202E(_200E_206F_206F_202C_200F_200B_200C_206A_200C_200F_206F_206A_202A_200C_202C_202E_200F_200B_202E_206B_202E_200D_200B_202E_200B_202E_200E_206C_202D_202A_206F_202B_200C_206F_206C_202E_200D_200E_206B_206C_202E(_206E_200F_200B_206F_206C_206E_206A_206D_206D_202C_200D_206F_206B_200D_202D_200C_200C_202D_202A_202E_206C_202E_200B_202A_206A_202C_202D_202C_200B_206B_202E_200C_200E_200D_200C_206A_200F_202B_200D_202C_202E((FileSystemInfo)directoryInfo3), global::_003CModule_003E._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(-896958366), global::_003CModule_003E._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(1335689907))); + try + { + IEnumerator enumerator = ExpansionData.ExpansionFolders.Values.GetEnumerator(); + try + { + num = 275238560; + while (true) + { + int num7 = num; + num3 = 275238560; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 3: + num = 275238560; + break; + case 1: + { + string current = enumerator.Current; + LoadFromDirectory(snapshot, _200D_200C_200B_206C_202B_200E_206B_202C_200C_202A_202D_206D_202A_200F_200E_200B_202E_206E_202D_202C_200B_206E_202C_206E_206B_200E_206A_206E_202E_200E_202D_202E_200F_202E_200C_202E_200F_202E_206F_202B_202E(_206F_200D_202E_206F_206C_200B_206E_202B_200C_200E_206D_206E_202A_206D_206A_206D_202D_206E_202B_200D_202B_206A_206A_200B_206D_202A_202B_202B_206A_206F_200D_200D_202A_200C_202E_202C_206B_206B_206B_206C_202E(_206E_200F_200B_206F_206C_206E_206A_206D_206D_202C_200D_206F_206B_200D_202D_200C_200C_202D_202A_202E_206C_202E_200B_202A_206A_202C_202D_202C_200B_206B_202E_200C_200E_200D_200C_206A_200F_202B_200D_202C_202E((FileSystemInfo)directoryInfo4), current)), Quest.ESource.ProjectDirectory, LogLevel.Trace); + num = 275238560; + break; + } + case 0: + num = (_206A_200C_206F_202E_202B_202E_206A_206D_206B_200F_206F_206C_202B_206C_202E_200C_206D_202B_202E_206E_200E_200E_202E_206B_206F_206F_200B_206E_206A_200C_200F_202D_206F_200E_200B_206A_206E_202A_206A_206F_202E((IEnumerator)enumerator) ? 275238561 : 275238562); + break; + case 2: + return; + } + } + } + finally + { + num = ((enumerator == null) ? (-1118979294) : (-1118979295)); + while (true) + { + int num10 = num; + num3 = -1118979296; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 2: + goto end_IL_0180; + case 1: + _206D_206E_202E_202C_206B_206D_206C_202E_200F_206B_202D_202A_200E_202C_202B_200E_202D_202E_202A_206F_206A_200F_206E_206B_200C_202C_200B_200D_206F_202C_200B_200B_200B_206A_202E_200D_200B_202D_206B_202B_202E((IDisposable)enumerator); + num = -1118979294; + break; + case 0: + num = -1118979295; + break; + } + continue; + end_IL_0180: + break; + } + } + } + catch (Exception ex) + { + snapshot.Quests.Clear(); + _206B_202D_206F_206B_206F_206B_206E_206D_202A_200D_206D_200F_200E_202E_206D_202D_206D_206C_206D_206B_206D_200B_206D_200D_206F_200E_200F_206B_202C_202C_206B_200C_202D_206B_202A_200D_206A_202C_206B_200F_202E(_chatGui, _206E_200C_202A_202D_202B_200B_206A_200B_206F_206A_206F_200D_202E_200C_200C_200C_206F_202D_200B_202D_206F_206B_202C_200F_206C_206B_206B_206C_206E_200B_200D_202C_206B_202D_206F_202B_202B_206B_200E_206D_202E(global::_003CModule_003E._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(207644226), _200E_202A_206F_206E_200F_200E_206C_202D_200D_200D_200B_206A_206E_206F_200F_200B_206A_202D_202B_202D_206A_206E_200D_206C_206A_200D_206C_202C_206B_206F_206D_200F_206A_206A_206F_202D_206D_206F_202B_202B_202E((MemberInfo)_202A_206F_206C_206F_202B_202D_206A_200C_206D_200C_206A_206B_200F_200D_200F_202B_200C_202E_206B_202B_206E_206D_200F_202E_206E_206D_200F_202E_200F_200B_206D_206C_202D_206A_202A_202C_206A_206B_206F_200E_202E(ex)), global::_003CModule_003E._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(-2035955381), _202E_206D_202C_202B_200D_206A_200C_200E_200E_206B_206A_206F_200C_206E_200C_202C_200B_206A_200B_206D_206F_202E_200E_206E_200F_206C_202A_200B_206C_202A_206A_206D_206B_200F_206B_206F_200F_202B_206F_206C_202E(ex)), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + _200B_200C_202D_202E_200D_206D_200E_200D_200C_206D_202B_202D_200E_200D_202D_202D_206A_202B_206F_200D_202E_202C_202C_200F_200E_206B_202B_202B_206B_202B_202A_202C_202C_206A_200F_206C_206B_206A_206F_200F_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-1021940989), Array.Empty()); + return; + } } - } - catch (Exception ex) - { - _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"); + } + continue; + IL_0081: + num = 1130526345; } } - private void LoadCfcIds() + private void LoadCfcIds(Snapshot snapshot) { - foreach (Quest value in _quests.Values) + DutyOptions dutyOptions = default(DutyOptions); + TerritoryData.ContentFinderConditionData contentFinderConditionData = default(TerritoryData.ContentFinderConditionData); + QuestStep current3 = default(QuestStep); + DutyEntry value = default(DutyEntry); + foreach (Quest value2 in snapshot.Quests.Values) { - foreach (QuestSequence item in value.AllSequences()) + IEnumerator enumerator2 = value2.AllSequences().GetEnumerator(); + try { - foreach (QuestStep item2 in item.Steps.Where(delegate(QuestStep x) + while (_206A_200C_206F_202E_202B_202E_206A_206D_206B_200F_206F_206C_202B_206C_202E_200C_206D_202B_202E_206E_200E_200E_202E_206B_206F_206F_200B_206E_206A_200C_200F_202D_206F_200E_200B_206A_206E_202A_206A_206F_202E((IEnumerator)enumerator2)) { - EInteractionType interactionType = x.InteractionType; - return (uint)(interactionType - 18) <= 1u; - })) - { - if (item2 != null && item2.InteractionType == EInteractionType.Duty) + QuestSequence current2 = enumerator2.Current; + IEnumerator enumerator3 = _200D_206D_200E_200F_202B_206F_200C_206F_206B_202A_202D_200D_200D_206B_206A_200E_202E_200D_206D_202B_200E_202E_200F_200F_206D_202E_200C_206E_200B_200E_202A_206E_202D_200E_206D_206E_202A_202A_202A_206E_202E(current2).Where(delegate(QuestStep x) { - DutyOptions dutyOptions = item2.DutyOptions; - if (dutyOptions != null) + EInteractionType eInteractionType = _003C_003Ec._202C_200F_200E_206A_200F_206F_202A_200B_206A_206B_202C_200E_200E_202E_206D_202A_200C_202C_202A_206C_206F_202E_202A_200F_200B_202C_206A_202A_200C_200E_202B_206A_202A_200B_206F_200B_202D_202B_202A_202A_202E(x); + int num9 = (((uint)(eInteractionType - 19) > 1u) ? (-105448729) : (-105448732)); + bool result = default(bool); + while (true) { - _contentFinderConditionIds[dutyOptions.ContentFinderConditionId] = (value.Id, item2); - if (dutyOptions.LowPriority) + int num10 = num9; + int num11 = -105448731; + int num12 = num10; + switch ((num12 | num11) - (num12 & num11)) { - _lowPriorityContentFinderConditionQuests.Add((dutyOptions.ContentFinderConditionId, value.Id, item.Sequence)); + case 0: + return result; + case 1: + result = true; + num9 = -105448731; + break; + case 3: + num9 = -105448732; + break; + case 2: + result = false; + num9 = -105448731; + break; + } + } + }).GetEnumerator(); + try + { + int num = 1028023343; + while (true) + { + int num2 = num; + int num3 = 1028023342; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + snapshot.LowPriorityContentFinderConditionQuests.Add((_206B_202A_200B_206D_200D_206A_202A_202D_202B_206F_206A_206A_200B_202D_202E_202C_206F_206F_200E_200C_200B_202A_206F_202A_206F_206B_206D_206F_206D_200B_202A_200E_202E_202D_202E_202C_200D_200F_206F_206A_202E(dutyOptions), value2.Id, _200E_200C_206F_202C_202C_202A_202A_202E_206E_202B_206A_206E_200F_202C_200F_206D_206A_200D_206A_200B_200B_202E_202D_202D_200D_200B_200B_206B_200B_200F_200F_200F_206B_206D_200B_206F_200D_200F_206F_200C_202E(current2))); + num = 1028023343; + break; + case 8: + snapshot.ContentFinderConditionIds[contentFinderConditionData.ContentFinderConditionId] = (value2.Id, current3); + num = 1028023343; + break; + case 2: + num = ((_202D_200E_206B_202B_200B_200F_206F_202C_200F_202B_200C_206F_202E_206F_206D_206B_202D_206A_206B_202B_200B_206E_206F_202C_206D_200D_206A_202D_200D_202E_200F_202D_206D_200D_202E_206F_200C_200B_206C_206A_202E(current3) != EInteractionType.Duty) ? 1028023338 : 1028023336); + break; + case 10: + current3 = enumerator3.Current; + num = ((current3 == null) ? 1028023338 : 1028023340); + break; + case 5: + snapshot.ContentFinderConditionIds[_206B_202A_200B_206D_200D_206A_202A_202D_202B_206F_206A_206A_200B_202D_202E_202C_206F_206F_200E_200C_200B_202A_206F_202A_206F_206B_206D_206F_206D_200B_202A_200E_202E_202D_202E_202C_200D_200F_206F_206A_202E(dutyOptions)] = (value2.Id, current3); + num = ((!DutyRegistry.Duties.TryGetValue(_206B_202A_200B_206D_200D_206A_202A_202D_202B_206F_206A_206A_200B_202D_202E_202C_206F_206F_200E_200C_200B_202A_206F_202A_206F_206B_206D_206F_206D_200B_202A_200E_202E_202D_202E_202C_200D_200F_206F_206A_202E(dutyOptions), out value)) ? 1028023343 : 1028023342); + break; + case 0: + num = ((!value.LowPriority) ? 1028023343 : 1028023341); + break; + case 9: + num = ((!_territoryData.TryGetContentFinderConditionForSoloInstance(value2.Id, _202D_206F_206A_200D_206B_200B_200F_200D_202C_206F_200C_202A_206A_202D_200C_206A_200D_202A_200C_206F_200E_200C_202B_202B_202E_202B_202D_200D_200B_200E_200F_200B_202C_200B_202D_202C_202A_206F_206D_200F_202E(current3), out contentFinderConditionData)) ? 1028023343 : 1028023334); + break; + case 1: + num = (_206A_200C_206F_202E_202B_202E_206A_206D_206B_200F_206F_206C_202B_206C_202E_200C_206D_202B_202E_206E_200E_200E_202E_206B_206F_206F_200B_206E_206A_200C_200F_202D_206F_200E_200B_206A_206E_202A_206A_206F_202E((IEnumerator)enumerator3) ? 1028023332 : 1028023333); + break; + case 7: + num = 1028023343; + break; + case 6: + dutyOptions = _202B_200E_200B_202B_200F_202C_202C_200E_206E_200C_206E_200E_200B_206E_206B_200E_202A_200C_202B_206F_200C_206C_200B_202D_206D_200F_206B_206A_202A_200E_202D_200F_206F_206C_200D_206C_206D_206E_206E_206D_202E(current3); + num = ((dutyOptions == null) ? 1028023338 : 1028023339); + break; + case 4: + num = ((_202D_200E_206B_202B_200B_200F_206F_202C_200F_202B_200C_206F_202E_206F_206D_206B_202D_206A_206B_202B_200B_206E_206F_202C_206D_200D_206A_202D_200D_202E_200F_202D_206D_200D_202E_206F_200C_200B_206C_206A_202E(current3) != EInteractionType.SinglePlayerDuty) ? 1028023343 : 1028023335); + break; + case 11: + goto end_IL_0076; } continue; + end_IL_0076: + break; } } - if (item2.InteractionType == EInteractionType.SinglePlayerDuty && _territoryData.TryGetContentFinderConditionForSoloInstance(value.Id, item2.SinglePlayerDutyIndex, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) + finally { - _contentFinderConditionIds[contentFinderConditionData.ContentFinderConditionId] = (value.Id, item2); + int num = ((enumerator3 == null) ? (-150656918) : (-150656919)); + while (true) + { + int num7 = num; + int num3 = -150656920; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -150656919; + break; + case 2: + goto end_IL_02bc; + case 1: + _206D_206E_202E_202C_206B_206D_206C_202E_200F_206B_202D_202A_200E_202C_202B_200E_202D_202E_202A_206F_206A_200F_206E_206B_200C_202C_200B_200D_206F_202C_200B_200B_200B_206A_202E_200D_200B_202D_206B_202B_202E((IDisposable)enumerator3); + num = -150656918; + break; + } + continue; + end_IL_02bc: + break; + } } } } + finally + { + int num = ((enumerator2 == null) ? (-660115982) : (-660115983)); + while (true) + { + int num8 = num; + int num3 = -660115984; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -660115983; + break; + case 2: + goto end_IL_0336; + case 1: + _206D_206E_202E_202C_206B_206D_206C_202E_200F_206B_202D_202A_200E_202C_202B_200E_202D_202E_202A_206F_206A_200F_206E_206B_200C_202C_200B_200D_206F_202C_200B_200B_200B_206A_202E_200D_200B_202D_206B_202B_202E((IDisposable)enumerator2); + num = -660115982; + break; + } + continue; + end_IL_0336: + break; + } + } } } 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, string? filePath = null) + [MethodImpl(MethodImplOptions.NoInlining)] + private void LoadQuestFromStream(Snapshot snapshot, string fileName, Stream stream, Quest.ESource source, string directoryName, string? sourcePath) { - if (source == Quest.ESource.UserDirectory) + //Discarded unreachable code: IL_04a0 + int num = ((source != Quest.ESource.UserDirectory) ? (-1633789934) : (-1633789936)); + ElementId elementId = default(ElementId); + int num12 = default(int); + string text5 = default(string); + JsonObject jsonObject = default(JsonObject); + JsonNode jsonNode3 = default(JsonNode); + UnlockLinkId unlockLinkId = default(UnlockLinkId); + JsonNode jsonNode2 = default(JsonNode); + string patch = default(string); + string name = default(string); + uint issuerDataId = default(uint); + while (true) { - _logger.LogTrace("Loading quest from '{FileName}'", fileName); - } - ElementId elementId = ExtractQuestIdFromName(fileName); - if (elementId == null) - { - return; - } - JsonNode jsonNode; - try - { - jsonNode = JsonNode.Parse(stream); - string text = FindDuplicateKey(jsonNode); - if (text != null) + int num2 = num; + int num3 = -1633789935; + int num4 = num2; + QuestRoot questRoot; + IQuestInfo questInfo; + switch ((num4 | num3) - (num4 & num3)) { - string errorMessage = "Duplicate JSON property '" + text + "'. Remove the duplicate key."; - _questValidator.AddValidationIssue(new ValidationIssue - { - ElementId = elementId, - Sequence = null, - Step = null, - Type = EIssueType.InvalidJsonSyntax, - Severity = EIssueSeverity.Error, - Description = $"Duplicate JSON property '{text}' in file '{fileName}'. Remove the duplicate key." - }); - _failedLoads[elementId] = new FailedQuestLoad(elementId, filePath, errorMessage, source); + case 3: + elementId = ExtractQuestIdFromName(fileName); + num = ((!_206C_206A_200C_206C_200F_206B_206F_200E_200D_206F_206B_206D_202A_200C_202A_200D_200E_200B_200B_200C_202A_200C_206B_200F_206C_206B_206D_202B_206B_206C_206C_206D_202B_202E_206C_206A_206A_200D_206D_202E_202E(elementId, (ElementId)null)) ? (-1633789933) : (-1633789935)); + break; + case 1: + _200C_202D_206A_202D_206A_206F_200D_206F_206A_202A_202D_206B_206F_200F_202B_200B_200C_200E_200E_200C_206B_202B_202D_200D_202A_200F_200F_200B_200D_200B_206C_200F_206A_202E_206B_206B_202A_206D_200D_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-1755890010), new object[1] { fileName }); + num = -1633789934; + break; + case 4: + num = -1633789936; + break; + case 0: return; - } - } - catch (JsonException ex) - { - string errorMessage2 = "JSON syntax error: " + ex.Message; - ValidationIssue issue = new ValidationIssue - { - ElementId = elementId, - Sequence = null, - Step = 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■ Missing comma between properties\n■ Unclosed quotes or brackets\n■ Invalid escape sequences\n■ Trailing commas where not allowed\n\nPlease check the JSON syntax around the indicated position." - }; - _questValidator.AddValidationIssue(issue); - _failedLoads[elementId] = new FailedQuestLoad(elementId, filePath, errorMessage2, source); - return; - } - _jsonSchemaValidator.Enqueue(elementId, jsonNode); - bool? flag = null; - DateTime? dateTime = null; - bool flag2 = false; - bool flag3 = false; - if (jsonNode is JsonObject jsonObject) - { - if (jsonObject.TryGetPropertyValue("IsSeasonalQuest", out JsonNode jsonNode2) && jsonNode2 != null) - { - try - { - 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); - } - } - } - QuestRoot root; - try - { - root = jsonNode.Deserialize(); - } - catch (Exception ex2) - { - string errorMessage3 = "Failed to deserialize quest data: " + ex2.Message; - _questValidator.AddValidationIssue(new ValidationIssue - { - ElementId = elementId, - Sequence = null, - Step = null, - Type = EIssueType.InvalidJsonSchema, - Severity = EIssueSeverity.Error, - Description = "Failed to deserialize '" + fileName + "': " + ex2.Message - }); - _failedLoads[elementId] = new FailedQuestLoad(elementId, filePath, errorMessage3, source); - return; - } - if (!_questData.TryGetQuestInfo(elementId, out IQuestInfo questInfo)) - { - if (!(elementId is UnlockLinkId unlockLinkId)) - { - _logger.LogWarning("Not loading unknown quest {QuestId} from project file {FileName}", elementId, fileName); - return; - } - string name; - try - { - string text2 = fileName.Substring(0, fileName.Length - ".json".Length); - int num = text2.IndexOf('_', StringComparison.Ordinal); - name = ((num >= 0 && num + 1 < text2.Length) ? text2.Substring(num + 1) : text2); - } - catch - { - name = fileName.Substring(0, fileName.Length - ".json".Length); - } - name = NormalizeDerivedName(name); - uint issuerDataId = 0u; - string patch = null; - if (jsonNode is JsonObject jsonObject2) - { - if (jsonObject2.TryGetPropertyValue("DataId", out JsonNode jsonNode4) && jsonNode4 != null) + case 2: { + JsonNode jsonNode; try { - issuerDataId = jsonNode4.GetValue(); + jsonNode = _200F_206A_200D_206A_202E_206F_200F_202A_206D_200E_200F_200D_200F_200C_202A_206B_200C_200D_200F_206A_202E_206B_200D_206B_202C_202C_200B_206A_206A_202C_200B_200F_200E_202A_202D_200B_200D_202C_206B_202E_202E(stream, (JsonNodeOptions?)null, default(JsonDocumentOptions)); } - catch + catch (JsonException ex) { - issuerDataId = 0u; + ValidationIssue validationIssue = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _200B_200C_206D_206D_202A_206E_200C_206A_206D_206C_206D_202E_202D_202A_200D_206D_206D_202B_206F_206E_202B_206C_206F_206F_206E_202E_202A_200F_200B_202B_200F_202A_200E_202E_202B_206B_202A_202D_202D_202B_202E((object)elementId), + Location = null, + Type = EIssueType.InvalidJsonSyntax, + Severity = EIssueSeverity.Error, + Description = _206E_200C_202A_202D_202B_200B_206A_200B_206F_206A_206F_200D_202E_200C_200C_200C_206F_202D_200B_202D_206F_206B_202C_200F_206C_206B_206B_206C_206E_200B_200D_202C_206B_202D_206F_202B_202B_206B_200E_206D_202E(global::_003CModule_003E._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(1049555621), fileName, global::_003CModule_003E._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(-437343681), _202E_206D_202C_202B_200D_206A_200C_200E_200E_206B_206A_206F_200C_206E_200C_202C_200B_206A_200B_206D_206F_202E_200E_206E_200F_206C_202A_200B_206C_202A_206A_206D_206B_200F_206B_206F_200F_202B_206F_206C_202E((Exception)ex)) + }; + _questValidator.AddValidationIssue(validationIssue); + snapshot.FailedLoads[elementId] = new FailedQuestLoad(elementId, fileName, validationIssue.Description, source); + return; } - } - if (jsonObject2.TryGetPropertyValue("Patch", out JsonNode jsonNode5) && jsonNode5 != null) - { try { - patch = jsonNode5.GetValue(); + List list = _jsonSchemaValidator.ValidateImmediate(elementId, jsonNode); + if (list.Count > 0) + { + using (List.Enumerator enumerator = list.GetEnumerator()) + { + num = -1176381929; + while (true) + { + int num5 = num; + num3 = -1176381932; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + num = -1176381929; + break; + case 3: + num = (enumerator.MoveNext() ? (-1176381931) : (-1176381932)); + break; + case 1: + { + ValidationIssue current = enumerator.Current; + _questValidator.AddValidationIssue(current); + num = -1176381929; + break; + } + case 0: + return; + } + } + } + } } - catch + catch (Exception ex2) { - patch = null; + QuestValidator questValidator = _questValidator; + ValidationIssue obj = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _200B_200C_206D_206D_202A_206E_200C_206A_206D_206C_206D_202E_202D_202A_200D_206D_206D_202B_206F_206E_202B_206C_206F_206F_206E_202E_202A_200F_200B_202B_200F_202A_200E_202E_202B_206B_202A_202D_202D_202B_202E((object)elementId), + Location = null, + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error + }; + string text = global::_003CModule_003E._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(-1879428071); + Exception ex3 = _200E_206A_200F_206E_206B_200C_202E_206C_202B_206C_200E_206E_202D_206D_206E_200E_206A_206B_206E_200B_206C_206F_200F_206E_206D_200D_206B_206A_206F_206F_202E_206A_206F_202E_206F_206D_202C_202C_200B_200E_202E(ex2); + obj.Description = _200E_202A_200C_206A_202A_206C_200F_206C_202C_202B_206C_200E_200C_206C_200D_206F_200E_206C_202B_202D_200F_206E_202A_202C_206D_200E_202A_202C_200C_200D_202B_206B_206E_200D_200E_206C_206D_202B_200B_200C_202E(text, ((ex3 != null) ? _202E_206D_202C_202B_200D_206A_200C_200E_200E_206B_206A_206F_200C_206E_200C_202C_200B_206A_200B_206D_206F_202E_200E_206E_200F_206C_202A_200B_206C_202A_206A_206D_206B_200F_206B_206F_200F_202B_206F_206C_202E(ex3) : null) ?? _202E_206D_202C_202B_200D_206A_200C_200E_200E_206B_206A_206F_200C_206E_200C_202C_200B_206A_200B_206D_206F_202E_200E_206E_200F_206C_202A_200B_206C_202A_206A_206D_206B_200F_206B_206F_200F_202B_206F_206C_202E(ex2)); + questValidator.AddValidationIssue(obj); + return; } + try + { + questRoot = jsonNode.Deserialize(); + } + catch (JsonException ex4) + { + var (location, text2) = FormatDeserializationError(ex4); + _questValidator.AddValidationIssue(new ValidationIssue + { + PathType = EPathType.Quest, + Id = _200B_200C_206D_206D_202A_206E_200C_206A_206D_206C_206D_202E_202D_202A_200D_206D_206D_202B_206F_206E_202B_206C_206F_206F_206E_202E_202A_200F_200B_202B_200F_202A_200E_202E_202B_206B_202A_202D_202D_202B_202E((object)elementId), + Location = location, + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = text2 + }); + snapshot.FailedLoads[elementId] = new FailedQuestLoad(elementId, fileName, text2, source); + return; + } + if (!_questData.TryGetQuestInfo(elementId, out questInfo)) + { + num = 1756411224; + while (true) + { + int num8 = num; + num3 = 1756411225; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + string text3; + switch (num9 - (num10 + num10)) + { + default: + continue; + case 5: + { + int num13 = num12; + num3 = 1; + num4 = num13; + num = (((num4 | num3) + (num4 & num3) < _202E_202B_206D_202E_200F_202B_206E_206C_202E_200E_206B_206B_200B_200C_200C_200D_200C_202C_206B_200B_206A_200D_206D_206C_206C_200F_202D_200D_206E_206A_202B_206D_206B_206F_200F_200F_200B_200D_206F_202C_202E(text5)) ? 1756411229 : 1756411231); + continue; + } + case 6: + text3 = text5; + goto IL_0459; + case 2: + num = 1756411224; + continue; + case 0: + if (_206C_206C_202E_206B_200B_200D_202A_200F_206B_202D_206F_206C_200C_200B_206D_206B_202D_202E_200B_202A_202E_206D_200B_200E_200C_200E_202D_206B_206F_202A_206B_202D_202A_200C_206C_206C_206B_202A_200D_206E_202E(jsonObject, global::_003CModule_003E._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(1530836944), ref jsonNode3)) + { + num = 1756411226; + continue; + } + goto IL_04b7; + case 3: + if (jsonNode3 != null) + { + goto case 7; + } + goto IL_04b7; + case 7: + text5 = _200E_200F_206A_200C_202A_202A_206F_200B_206B_206A_206F_200B_206A_200B_206D_206E_206E_206C_206F_206D_200F_200F_200F_202E_206D_206F_202E_200D_206A_206F_206C_206C_206D_202A_206B_200F_200D_206F_200D_206E_202E(fileName); + num12 = _206B_206F_202D_202A_200B_202E_202D_202E_206C_206E_206B_202B_200E_202C_202D_202B_200E_206E_200F_200D_206D_200B_200C_206F_206F_202D_200E_200D_202B_200F_202E_200F_200B_206D_202E_202D_206C_202E_202B_200D_202E(text5, '_', StringComparison.Ordinal); + num = ((num12 < 0) ? 1756411231 : 1756411228); + continue; + case 4: + { + string text4 = text5; + int num11 = num12; + num3 = 1; + num4 = num11; + text3 = _200C_200C_200D_202C_200D_200C_206E_200C_200F_206E_202D_202C_206E_202B_202B_202C_200B_200D_202C_202B_206F_200B_206F_200E_202C_206C_206E_206B_200D_200F_206B_202B_206E_206D_206B_202C_206C_206E_206F_202B_202E(text4, (num4 | num3) + (num4 & num3)); + goto IL_0459; + } + case 1: + { + unlockLinkId = elementId as UnlockLinkId; + if ((object)unlockLinkId != null) + { + num = 1756411230; + continue; + } + _200E_200E_202D_200B_206D_202C_206E_202C_200E_206A_200E_206D_200C_206B_202D_206E_202A_206C_206F_206F_202E_200B_206F_202E_200C_206A_200D_206A_202D_200E_202B_206D_206F_202B_202B_200C_202D_206C_206F_202A_202E((ILogger)_logger, global::_003CModule_003E._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(1061402361), new object[2] { elementId, fileName }); + return; + } + IL_04b7: + if (_206C_206C_202E_206B_200B_200D_202A_200F_206B_202D_206F_206C_200C_200B_206D_206B_202D_202E_200B_202A_202E_206D_200B_200E_200C_200E_202D_206B_206F_202A_206B_202D_202A_200C_206C_206C_206B_202A_200D_206E_202E(jsonObject, global::_003CModule_003E._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(719899107), ref jsonNode2) && jsonNode2 != null) + { + try + { + patch = jsonNode2.GetValue(); + } + catch (Exception) + { + patch = null; + } + } + break; + IL_0459: + name = text3; + name = NormalizeDerivedName(name); + issuerDataId = 0u; + patch = null; + jsonObject = jsonNode as JsonObject; + if (jsonObject != null) + { + num = 1756411225; + continue; + } + break; + } + break; + } + num = (_200B_200F_206B_206D_202B_200B_206C_202C_202A_206B_200C_206D_202A_202A_200E_206C_200F_202C_206E_202C_202A_202D_206A_206E_202C_206D_200D_206A_200D_206D_202A_206B_206B_202B_202E_202C_200E_206B_202B_206F_202E(questRoot).HasValue ? 1325179622 : 1325179621); + goto IL_0519; + } + goto IL_0677; } + IL_0519: + while (true) + { + int num14 = num; + num3 = 1325179620; + num4 = num14; + DateTime? obj2; + DateTime? obj3; + DateTime? expiry; + DateTime? expiryTime; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 5: + num = 1325179621; + continue; + case 6: + obj2 = DateTime.SpecifyKind(_200B_200F_206B_206D_202B_200B_206C_202C_202A_206B_200C_206D_202A_202A_200E_206C_200F_202C_206E_202C_202A_202D_206A_206E_202C_206D_200D_206A_200D_206D_202A_206B_206B_202B_202E_202C_200E_206B_202B_206F_202E(questRoot).Value, DateTimeKind.Utc); + goto IL_058b; + case 0: + { + Quest quest = new Quest + { + Id = elementId, + Root = questRoot, + Info = questInfo, + Source = source, + SourcePath = sourcePath + }; + snapshot.Quests[quest.Id] = quest; + num = (_206F_206F_206E_202E_200F_206E_200C_202D_200B_206E_200B_202A_206F_206B_200F_202C_206D_202B_202D_202A_206C_202D_200F_206B_202B_206A_200F_206B_206B_206F_206C_206C_202B_206A_200C_206E_200C_206A_200F_200E_202E(directoryName) ? 1325179630 : 1325179623); + continue; + } + case 3: + snapshot.QuestFolderNames[elementId] = directoryName; + num = 1325179630; + continue; + case 7: + num = (_200B_200F_206B_206D_202B_200B_206C_202C_202A_206B_200C_206D_202A_202A_200E_206C_200F_202C_206E_202C_202A_202D_206A_206E_202C_206D_200D_206A_200D_206D_202A_206B_206B_202B_202E_202C_200E_206B_202B_206F_202E(questRoot).HasValue ? 1325179618 : 1325179629); + continue; + case 8: + break; + case 1: + obj3 = null; + goto IL_06f3; + case 9: + obj2 = null; + goto IL_058b; + case 2: + obj3 = DateTime.SpecifyKind(_200B_200F_206B_206D_202B_200B_206C_202C_202A_206B_200C_206D_202A_202A_200E_206C_200F_202C_206E_202C_202A_202D_206A_206E_202C_206D_200D_206A_200D_206D_202A_206B_206B_202B_202E_202C_200E_206B_202B_206F_202E(questRoot).Value, DateTimeKind.Utc); + goto IL_06f3; + case 10: + return; + case 4: + { + num = ((!_200B_200F_206B_206D_202B_200B_206C_202C_202A_206B_200C_206D_202A_202A_200E_206C_200F_202C_206E_202C_202A_202D_206A_206E_202C_206D_200D_206A_200D_206D_202A_206B_206B_202B_202E_202C_200E_206B_202B_206F_202E(questRoot).HasValue) ? 1325179620 : 1325179619); + continue; + } + IL_058b: + expiry = obj2; + _questData.ApplySeasonalOverride(elementId, _206E_206A_200C_206A_206A_200B_206E_200F_200F_202C_200B_202A_200C_200C_206D_206C_202E_202D_200E_202C_202A_202E_200F_206D_206E_206F_200D_202D_206D_200F_202A_206A_206E_200D_206D_202C_206D_202A_200E_206D_202E(questRoot) ?? questInfo.IsSeasonalQuest, expiry); + num = 1325179620; + continue; + IL_06f3: + expiryTime = obj3; + questInfo = new UnlockLinkQuestInfo(unlockLinkId, name, issuerDataId, expiryTime, patch); + _200B_200F_200B_200B_200E_206A_206E_200B_200D_200E_200E_200D_206D_200D_206F_200F_200D_200B_206C_200D_200D_206E_202E_202D_206A_200C_202A_206A_202E_206A_206B_202E_202B_206D_206A_206D_200F_206C_200E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(1530339491), new object[2] { elementId, fileName }); + _questData.AddOrReplaceQuestInfo(questInfo); + break; + } + break; + } + goto IL_0677; + IL_0677: + num = (_206E_206A_200C_206A_206A_200B_206E_200F_200F_202C_200B_202A_200C_200C_206D_206C_202E_202D_200E_202C_202A_202E_200F_206D_206E_206F_200D_202D_206D_200F_202A_206A_206E_200D_206D_202C_206D_202A_200E_206D_202E(questRoot).HasValue ? 1325179619 : 1325179616); + goto IL_0519; } - questInfo = new UnlockLinkQuestInfo(unlockLinkId, name, issuerDataId, dateTime, 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)) - { - _questData.ApplySeasonalOverride(elementId, flag ?? questInfo2.IsSeasonalQuest, dateTime); - } - Quest quest = new Quest - { - Id = elementId, - Root = root, - Info = questInfo, - Source = source - }; - _quests[quest.Id] = quest; - if (!string.IsNullOrEmpty(directoryName)) - { - _questFolderNames[elementId] = directoryName; } } - private void LoadFromDirectory(DirectoryInfo directory, Quest.ESource source, LogLevel logLevel = LogLevel.Information) + [MethodImpl(MethodImplOptions.NoInlining)] + private void LoadFromDirectory(Snapshot snapshot, DirectoryInfo directory, Quest.ESource source, LogLevel logLevel = LogLevel.Debug) { - if (!directory.Exists) + int num = (_200D_206E_202D_202C_200D_206D_206B_200E_200B_200C_200F_206B_200E_206A_200B_202B_200E_206A_200B_206F_206D_202C_200D_200F_200C_206D_200F_206A_206F_206B_206C_202C_200C_202B_202D_200C_200D_202B_202C_200F_202E((FileSystemInfo)directory) ? (-275721768) : (-275721767)); + DirectoryInfo[] array2 = default(DirectoryInfo[]); + while (true) { - _logger.LogInformation("Not loading quests from {DirectoryName} (doesn't exist)", directory); - return; - } - if (source == Quest.ESource.UserDirectory) - { - _logger.Log(logLevel, "Loading quests from {DirectoryName}", directory); - } - FileInfo[] files = directory.GetFiles("*.json"); - foreach (FileInfo fileInfo in files) - { - try + int num2 = num; + int num3 = -275721768; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - using FileStream stream = new FileStream(fileInfo.FullName, FileMode.Open, FileAccess.Read); - LoadQuestFromStream(fileInfo.Name, stream, source, directory.Name, fileInfo.FullName); - } - catch (Exception ex) + case 0: + num = ((source != Quest.ESource.UserDirectory) ? (-275721765) : (-275721766)); + break; + case 1: + _200B_200F_200B_200B_200E_206A_206E_200B_200D_200E_200E_200D_206D_200D_206F_200F_200D_200B_206C_200D_200D_206E_202E_202D_206A_200C_202A_206A_202E_206A_206B_202E_202B_206D_206A_206D_200F_206C_200E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(-142032433), new object[1] { directory }); + return; + case 4: + num = -275721767; + break; + case 2: + _206B_200B_206F_206F_200C_202D_202B_200D_206A_206A_202A_202B_200B_202E_202A_202B_206A_200F_200F_200C_200E_206C_202A_202B_202A_202E_200F_206A_200B_202B_206B_200E_202C_200B_206D_202D_202A_200F_200C_202E((ILogger)_logger, logLevel, global::_003CModule_003E._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(956239880), new object[1] { directory }); + num = -275721765; + break; + case 3: { - ElementId elementId = ExtractQuestIdFromName(fileInfo.Name); - string errorMessage = "Unexpected error loading file: " + ex.Message; - _logger.LogError(ex, "Failed to load quest from '{FileName}', skipping", fileInfo.FullName); - if (elementId != null) + FileInfo[] array = _202A_200F_206E_202E_206A_200D_206A_200C_202E_206B_200F_202A_206C_206D_202A_206C_200D_200C_206C_206E_202E_206F_200D_206B_200C_202B_206B_200D_200B_202C_202D_202C_202E_202D_200F_202E_206C_206E_206D_202E(directory, global::_003CModule_003E._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(1350212695)); + int num5 = 0; + while (num5 < array.Length) { - _failedLoads[elementId] = new FailedQuestLoad(elementId, fileInfo.FullName, errorMessage, source); + FileInfo fileInfo = array[num5]; + try + { + FileStream fileStream = _206A_202B_202D_200E_206B_206B_206D_206D_206E_202A_206D_202A_202D_200F_206F_206E_206B_200F_200B_206C_206F_206C_206B_206B_202D_200B_206E_206B_200D_200C_202E_206A_202D_206F_202B_202D_206A_200E_206F_206F_202E(fileInfo); + try + { + LoadQuestFromStream(snapshot, _202E_206C_206C_200B_202B_206A_206F_202E_200F_206C_202B_200D_206C_206E_202C_200E_200F_206D_202C_200C_206F_200F_206B_202C_206B_202C_202D_200B_202C_200F_206C_202B_202E_206E_202C_200F_200E_206E_200F_206A_202E((FileSystemInfo)fileInfo), fileStream, source, _202E_206C_206C_200B_202B_206A_206F_202E_200F_206C_202B_200D_206C_206E_202C_200E_200F_206D_202C_200C_206F_200F_206B_202C_206B_202C_202D_200B_202C_200F_206C_202B_202E_206E_202C_200F_200E_206E_200F_206A_202E((FileSystemInfo)directory), _206E_200F_200B_206F_206C_206E_206A_206D_206D_202C_200D_206F_206B_200D_202D_200C_200C_202D_202A_202E_206C_202E_200B_202A_206A_202C_202D_202C_200B_206B_202E_200C_200E_200D_200C_206A_200F_202B_200D_202C_202E((FileSystemInfo)fileInfo)); + } + finally + { + num = ((fileStream == null) ? 1614383146 : 1614383145); + while (true) + { + int num6 = num; + num3 = 1614383144; + num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 0: + num = 1614383145; + break; + case 2: + goto end_IL_0130; + case 1: + _206D_206E_202E_202C_206B_206D_206C_202E_200F_206B_202D_202A_200E_202C_202B_200E_202D_202E_202A_206F_206A_200F_206E_206B_200C_202C_200B_200D_206F_202C_200B_200B_200B_206A_202E_200D_200B_202D_206B_202B_202E((IDisposable)fileStream); + num = 1614383146; + break; + } + continue; + end_IL_0130: + break; + } + } + } + catch (Exception ex) + { + throw _200E_202B_200E_206E_200B_206D_202B_200D_206B_206F_206C_200B_200D_200C_200F_202B_202D_202A_206C_202B_202A_202D_206E_202D_200B_206E_202E_206A_200E_202D_202B_200E_200C_200C_200D_206C_200F_206A_206E_206C_202E(_200E_202A_200C_206A_202A_206C_200F_206C_202C_202B_206C_200E_200C_206C_200D_206F_200E_206C_202B_202D_200F_206E_202A_202C_206D_200E_202A_202C_200C_200D_202B_206B_206E_200D_200E_206C_206D_202B_200B_200C_202E(global::_003CModule_003E._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(2100413596), _206E_200F_200B_206F_206C_206E_206A_206D_206D_202C_200D_206F_206B_200D_202D_200C_200C_202D_202A_202E_206C_202E_200B_202A_206A_202C_202D_202C_200B_206B_202E_200C_200E_200D_200C_206A_200F_202B_200D_202C_202E((FileSystemInfo)fileInfo)), ex); + } + int num9 = num5; + num3 = 1; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num5 = num10 + (num11 + num11); + } + num = 174838453; + while (true) + { + int num12 = num; + num3 = 174838449; + num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return; + case 4: + array2 = _202D_202C_200F_200F_200E_206A_206E_200F_202A_200C_206E_202D_206D_200B_206F_202A_206D_200F_200D_200D_206E_200E_206B_200E_200F_202D_200E_206F_202B_206A_202C_200D_206E_206E_200C_202D_200C_200E_206F_206D_202E(directory); + num5 = 0; + num = 174838450; + break; + case 0: + { + DirectoryInfo directory2 = array2[num5]; + LoadFromDirectory(snapshot, directory2, source, logLevel); + int num13 = num5; + num3 = 1; + num4 = num13; + num5 = (num4 | num3) + (num4 & num3); + num = 174838450; + break; + } + case 2: + num = 174838453; + break; + case 3: + num = ((num5 < array2.Length) ? 174838449 : 174838448); + break; + } } } - } - DirectoryInfo[] directories = directory.GetDirectories(); - foreach (DirectoryInfo directory2 in directories) - { - LoadFromDirectory(directory2, source, logLevel); + } } } - private static string? FindDuplicateKey(JsonNode? node) + [MethodImpl(MethodImplOptions.NoInlining)] + private static (string? Location, string Description) FormatDeserializationError(JsonException ex) { - if (node is JsonObject jsonObject) + string text = _202E_206C_206B_202C_206F_206B_200D_200F_200D_202E_206B_200E_200B_200E_206F_202E_200D_202B_200E_202A_202A_206A_206A_206D_206A_200E_206D_206B_202E_202B_206C_202A_206C_200E_206A_202E_200F_206C_206D_206D_202E(ex); + int num = ((!_206F_206F_206E_202E_200F_206E_200C_202D_200B_206E_200B_202A_206F_206B_200F_202C_206D_202B_202D_202A_206C_202D_200F_206B_202B_206A_200F_206B_206B_206F_206C_206C_202B_206A_200C_206E_200C_206A_200F_200E_202E(text)) ? (-1215246934) : (-1215246943)); + Match match = default(Match); + Match match2 = default(Match); + Match match3 = default(Match); + string item = default(string); + string text3 = default(string); + string text2 = default(string); + string item2 = default(string); + while (true) { - try + int num2 = num; + int num3 = -1215246936; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + string text5; + string text6; + Exception ex3; + switch (num5 - (num6 + num6)) { - HashSet hashSet = new HashSet(StringComparer.Ordinal); - foreach (var (text2, node2) in jsonObject) - { - if (!hashSet.Add(text2)) - { - return text2; - } - string text3 = FindDuplicateKey(node2); - if (text3 != null) - { - return text3; - } - } + case 3: + text5 = _206C_200F_206C_206A_200C_202D_200C_206B_202E_202C_206A_206A_206F_206F_200E_202D_200E_200E_200B_206C_206B_200E_202A_200D_200E_200F_200D_206D_200D_200E_200B_200C_202E_202B_202B_200D_202B_206E_200C_206F_202E((Capture)_206E_206C_200F_202A_202C_202D_206C_206D_206E_202D_202D_206A_206C_200B_206B_202B_202A_206B_202B_206A_206A_202E_200B_206F_206D_206D_206D_206F_206B_202C_202D_202D_202E_200C_200E_202D_206C_206E_202E_206E_202E(_200E_200C_200D_206C_206A_202A_202D_200C_206F_206C_202E_206A_202B_202C_206C_202A_202C_200F_202E_206B_206C_202B_202B_206F_202A_200D_206F_202A_202D_206C_206A_206C_202A_202E_206B_200F_206D_202A_202E_202A_202E(match), 1)); + goto IL_0096; + case 0: + text6 = _206E_200C_202A_202D_202B_200B_206A_200B_206F_206A_206F_200D_202E_200C_200C_200C_206F_202D_200B_202D_206F_206B_202C_200F_206C_206B_206B_206C_206E_200B_200D_202C_206B_202D_206F_202B_202B_206B_200E_206D_202E(global::_003CModule_003E._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(-1005707421), _206C_200F_206C_206A_200C_202D_200C_206B_202E_202C_206A_206A_206F_206F_200E_202D_200E_200E_200B_206C_206B_200E_202A_200D_200E_200F_200D_206D_200D_200E_200B_200C_202E_202B_202B_200D_202B_206E_200C_206F_202E((Capture)_206E_206C_200F_202A_202C_202D_206C_206D_206E_202D_202D_206A_206C_200B_206B_202B_202A_206B_202B_206A_206A_202E_200B_206F_206D_206D_206D_206F_206B_202C_202D_202D_202E_200C_200E_202D_206C_206E_202E_206E_202E(_200E_200C_200D_206C_206A_202A_202D_200C_206F_206C_202E_206A_202B_202C_206C_202A_202C_200F_202E_206B_206C_202B_202B_206F_202A_200D_206F_202A_202D_206C_206A_206C_202A_202E_206B_200F_206D_202A_202E_202A_202E(match2), 1)), global::_003CModule_003E._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(-1896283891), _206C_200F_206C_206A_200C_202D_200C_206B_202E_202C_206A_206A_206F_206F_200E_202D_200E_200E_200B_206C_206B_200E_202A_200D_200E_200F_200D_206D_200D_200E_200B_200C_202E_202B_202B_200D_202B_206E_200C_206F_202E((Capture)_206E_206C_200F_202A_202C_202D_206C_206D_206E_202D_202D_206A_206C_200B_206B_202B_202A_206B_202B_206A_206A_202E_200B_206F_206D_206D_206D_206F_206B_202C_202D_202D_202E_200C_200E_202D_206C_206E_202E_206E_202E(_200E_200C_200D_206C_206A_202A_202D_200C_206F_206C_202E_206A_202B_202C_206C_202A_202C_200F_202E_206B_206C_202B_202B_206F_202A_200D_206F_202A_202D_206C_206A_206C_202A_202E_206B_200F_206D_202A_202E_202A_202E(match3), 1))); + goto IL_012d; + case 6: + text6 = _200E_202A_200C_206A_202A_206C_200F_206C_202C_202B_206C_200E_200C_206C_200D_206F_200E_206C_202B_202D_200F_206E_202A_202C_206D_200E_202A_202C_200C_200D_202B_206B_206E_200D_200E_206C_206D_202B_200B_200C_202E(global::_003CModule_003E._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(-1005707421), _206C_200F_206C_206A_200C_202D_200C_206B_202E_202C_206A_206A_206F_206F_200E_202D_200E_200E_200B_206C_206B_200E_202A_200D_200E_200F_200D_206D_200D_200E_200B_200C_202E_202B_202B_200D_202B_206E_200C_206F_202E((Capture)_206E_206C_200F_202A_202C_202D_206C_206D_206E_202D_202D_206A_206C_200B_206B_202B_202A_206B_202B_206A_206A_202E_200B_206F_206D_206D_206D_206F_206B_202C_202D_202D_202E_200C_200E_202D_206C_206E_202E_206E_202E(_200E_200C_200D_206C_206A_202A_202D_200C_206F_206C_202E_206A_202B_202C_206C_202A_202C_200F_202E_206B_206C_202B_202B_206F_202A_200D_206F_202A_202D_206C_206A_206C_202A_202E_206B_200F_206D_202A_202E_202A_202E(match2), 1))); + goto IL_012d; + case 5: + match = _202C_206C_206E_202E_200C_206B_200F_206E_202D_202E_200C_202E_206C_200E_200E_206D_202B_202E_206C_202A_206B_202E_202A_206D_200B_200B_206F_206C_206A_200B_202C_202C_206B_206A_200B_200E_200D_206F_200D_202D_202E(text, global::_003CModule_003E._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(1694046713)); + num = (_200F_206D_202D_202E_206D_206A_206D_202E_200D_206A_206F_206F_206F_200D_202C_202E_202C_206A_202C_206C_202B_206C_200B_206B_202B_200C_206E_200F_202D_200F_202B_202E_206D_206F_206E_202E_202C_200D_202E_200E_202E((Group)match) ? (-1215246933) : (-1215246935)); + break; + case 13: + item = _200E_206E_200E_206E_202B_202B_202D_202C_206C_206A_202D_200F_206D_200E_200B_206C_202C_200C_206A_202C_200D_206F_206D_200F_206A_200C_200F_200B_200E_202A_206C_202B_200E_202D_206A_206B_202A_202A_202A_202D_202E(global::_003CModule_003E._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(-1307535606), text3, global::_003CModule_003E._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(415424875)); + num = -1215246942; + break; + case 1: + text5 = text; + goto IL_0096; + case 12: + item = _206E_200C_202A_202D_202B_200B_206A_200B_206F_206A_206F_200D_202E_200C_200C_200C_206F_202D_200B_202D_206F_206B_202C_200F_206C_206B_206B_206C_206E_200B_200D_202C_206B_202D_206F_202B_202B_206B_200E_206D_202E(global::_003CModule_003E._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(1639651192), text3, global::_003CModule_003E._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(1253713181), text2); + num = -1215246942; + break; + case 7: + item = _200E_206E_200E_206E_202B_202B_202D_202C_206C_206A_202D_200F_206D_200E_200B_206C_202C_200C_206A_202C_200D_206F_206D_200F_206A_200C_200F_200B_200E_202A_206C_202B_200E_202D_206A_206B_202A_202A_202A_202D_202E(global::_003CModule_003E._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(-1307535606), text3, global::_003CModule_003E._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(1398980135)); + num = -1215246942; + break; + case 8: + num = -1215246943; + break; + case 11: + num = (_200F_206D_202D_202E_206D_206A_206D_202E_200D_206A_206F_206F_206F_200D_202C_202E_202C_206A_202C_206C_202B_206C_200B_206B_202B_200C_206E_200F_202D_200F_202B_202E_206D_206F_206E_202E_202C_200D_202E_200E_202E((Group)match3) ? (-1215246936) : (-1215246930)); + break; + case 2: + item2 = null; + match2 = _202C_206C_206E_202E_200C_206B_200F_206E_202D_202E_200C_202E_206C_200E_200E_206D_202B_202E_206C_202A_206B_202E_202A_206D_200B_200B_206F_206C_206A_200B_202C_202C_206B_206A_200B_200E_200D_206F_200D_202D_202E(text, global::_003CModule_003E._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(573240518)); + match3 = _202C_206C_206E_202E_200C_206B_200F_206E_202D_202E_200C_202E_206C_200E_200E_206D_202B_202E_206C_202A_206B_202E_202A_206D_200B_200B_206F_206C_206A_200B_202C_202C_206B_206A_200B_200E_200D_206F_200D_202D_202E(text, global::_003CModule_003E._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(779532051)); + num = ((!_200F_206D_202D_202E_206D_206A_206D_202E_200D_206A_206F_206F_206F_200D_202C_202E_202C_206A_202C_206C_202B_206C_200B_206B_202B_200C_206E_200F_202D_200F_202B_202E_206D_206F_206E_202E_202C_200D_202E_200E_202E((Group)match2)) ? (-1215246931) : (-1215246941)); + break; + case 9: + { + string text4 = global::_003CModule_003E._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(65663410); + Exception ex2 = _200E_206A_200F_206E_206B_200C_202E_206C_202B_206C_200E_206E_202D_206D_206E_200E_206A_206B_206E_200B_206C_206F_200F_206E_206D_200D_206B_206A_206F_206F_202E_206A_206F_202E_206F_206D_202C_202C_200B_200E_202E((Exception)ex); + return (Location: null, Description: _200E_202A_200C_206A_202A_206C_200F_206C_202C_202B_206C_200E_200C_206C_200D_206F_200E_206C_202B_202D_200F_206E_202A_202C_206D_200E_202A_202C_200C_200D_202B_206B_206E_200D_200E_206C_206D_202B_200B_200C_202E(text4, ((ex2 != null) ? _202E_206D_202C_202B_200D_206A_200C_200E_200E_206B_206A_206F_200C_206E_200C_202C_200B_206A_200B_206D_206F_202E_200E_206E_200F_206C_202A_200B_206C_202A_206A_206D_206B_200F_206B_206F_200F_202B_206F_206C_202E(ex2) : null) ?? _202E_206D_202C_202B_200D_206A_200C_200E_200E_206B_206A_206F_200C_206E_200C_202C_200B_206A_200B_206D_206F_202E_200E_206E_200F_206C_202A_200B_206C_202A_206A_206D_206B_200F_206B_206F_200F_202B_206F_206C_202E((Exception)ex))); } - catch (ArgumentException ex) when (ex.Message.Contains("same key", StringComparison.OrdinalIgnoreCase)) - { - Match match = Regex.Match(ex.Message, "Key: (.+)"); - return match.Success ? match.Groups[1].Value.Trim() : "unknown"; + case 10: + return (Location: item2, Description: item); + case 4: + { + num = ((!_206B_202C_206B_202C_206E_202C_200B_202E_206F_202A_200F_200F_200C_206E_206E_206D_200B_200F_202D_200C_202A_206A_202C_202D_200B_202C_200F_206D_202B_202E_206D_206E_202E_202A_202A_200D_202C_202E_200F_206E_202E(text2, global::_003CModule_003E._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(1018481213), StringComparison.Ordinal)) ? (-1215246940) : (-1215246939)); + break; + } + IL_0096: + text3 = text5; + ex3 = _200E_206A_200F_206E_206B_200C_202E_206C_202B_206C_200E_206E_202D_206D_206E_200E_206A_206B_206E_200B_206C_206F_200F_206E_206D_200D_206B_206A_206F_206F_202E_206A_206F_202E_206F_206D_202C_202C_200B_200E_202E((Exception)ex); + text2 = ((ex3 != null) ? _202E_206D_202C_202B_200D_206A_200C_200E_200E_206B_206A_206F_200C_206E_200C_202C_200B_206A_200B_206D_206F_202E_200E_206E_200F_206C_202A_200B_206C_202A_206A_206D_206B_200F_206B_206F_200F_202B_206F_206C_202E(ex3) : null) ?? global::_003CModule_003E._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(1281927779); + num = ((!_206B_202C_206B_202C_206E_202C_200B_202E_206F_202A_200F_200F_200C_206E_206E_206D_200B_200F_202D_200C_202A_206A_202C_202D_200B_202C_200F_206D_202B_202E_206D_206E_202E_202A_202A_200D_202C_202E_200F_206E_202E(text2, global::_003CModule_003E._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(-305903646), StringComparison.Ordinal)) ? (-1215246932) : (-1215246929)); + break; + IL_012d: + item2 = text6; + num = -1215246931; + break; } } - else if (node is JsonArray jsonArray) - { - foreach (JsonNode item in jsonArray) - { - string text4 = FindDuplicateKey(item); - if (text4 != null) - { - return text4; - } - } - } - return null; } 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 text = _200E_200F_206A_200C_202A_202A_206F_200B_206B_206A_206F_200B_206A_200B_206D_206E_206E_206C_206F_206D_200F_200F_200F_202E_206D_206F_202E_200D_206A_206F_206C_206C_206D_202A_206B_200F_200D_206F_200D_206E_202E(resourceName); + text = _200C_200C_200D_202C_200D_200C_206E_200C_200F_206E_202D_202C_206E_202B_202B_202C_200B_200D_202C_202B_206F_200B_206F_200E_202C_206C_206E_206B_200D_200F_206B_202B_206E_206D_206B_202C_206C_206E_206F_202B_202E(text, _200F_202E_200E_202B_200C_202D_202E_206D_200D_202A_202C_206A_206A_202B_202A_200C_200D_200B_202D_202E_202D_206C_200E_202D_206B_200C_206F_202E_200E_206A_200D_202B_200F_206B_202D_200C_206D_206F_206F_200F_202E(text, '.') + 1); + int num = (_202D_206A_202A_202B_200B_200E_206E_206D_200F_202B_206C_202E_206F_206F_206F_206C_206B_202B_200F_200C_206B_202B_206A_200B_200B_200C_200E_202C_202A_202B_202E_200C_202D_200B_200E_206C_200E_200E_206D_206A_202E(text, '_', StringComparison.Ordinal) ? 2116929110 : 2116929111); + while (true) { - return null; + int num2 = num; + int num3 = 2116929110; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0061; + case 0: + return _202C_202D_206D_206A_200B_200D_206E_200E_206F_206B_200F_200C_206F_202C_202C_202D_200D_202B_206F_200D_206B_206B_202B_206D_206C_202A_200F_202B_200B_206A_202A_206D_200D_206D_206E_200C_206D_200E_202C_202D_202E(_202C_206B_200B_200F_200B_206D_206A_206D_206E_202E_202A_206C_200F_200B_206D_206C_206F_200E_206F_202B_206A_206A_200F_202B_202A_200C_200D_206B_202D_206F_206A_200C_206A_200F_206E_200B_200F_200F_202B_200E_202E(text, '_', 2, StringSplitOptions.None)[0]); + case 1: + return null; + } + continue; + IL_0061: + num = 2116929111; } - return ElementId.FromString(text.Split('_', 2)[0]); } public bool IsKnownQuest(ElementId questId) { - return _quests.ContainsKey(questId); - } - - public bool IsFailedLoad(ElementId questId) - { - return _failedLoads.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) + int num = ((_200B_206D_206F_202E_200C_206C_206A_200C_206A_200C_202B_200B_206E_206E_202C_206B_202B_206C_202D_202D_200D_202C_202A_202E_202C_200E_200F_206D_202C_202D_200D_200C_202C_206E_206C_206B_202D_200F_202B_200F_202E(classJob) == classJob) ? 951305919 : 951305916); + while (true) { - list.AddRange(_questData.GetClassJobQuests(classJob.AsJob(), includeRoleQuests)); + int num2 = num; + int num3 = 951305918; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return list.Where((QuestInfo x) => quests.ContainsKey(x.QuestId)).ToList(); + case 2: + list.AddRange(_questData.GetClassJobQuests(_200B_206D_206F_202E_200C_206C_206A_200C_206A_200C_202B_200B_206E_206E_202C_206B_202B_206C_202D_202D_200D_202C_202A_202E_202C_200E_200F_206D_202C_202D_200D_200C_202C_206E_206C_206B_202D_200F_202B_200F_202E(classJob), includeRoleQuests)); + num = 951305919; + break; + case 0: + num = 951305916; + break; + } } - 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; } 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); } + [MethodImpl(MethodImplOptions.NoInlining)] private static string NormalizeDerivedName(string name) { - if (string.IsNullOrWhiteSpace(name)) + int num = ((!_200B_202C_206B_202D_206D_202A_200D_206A_200E_200D_206F_202C_202B_202D_206B_202E_206A_202C_200F_200D_200B_202E_200C_200C_200D_202C_202B_200B_202D_202C_206B_206D_206B_202B_202A_206B_206A_206A_206E_200E_202E(name)) ? (-1988237568) : (-1988237565)); + while (true) { - return name ?? string.Empty; + int num2 = num; + int num3 = -1988237566; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + name = _202E_200B_202E_200C_200E_206A_202D_206B_202B_206C_202C_202B_202A_206C_200D_206B_202D_206A_200E_202C_200B_202B_202B_202D_206C_206B_206E_206A_200C_202C_202C_206E_206D_206F_206D_206C_206C_200D_202C_206E_202E(name, global::_003CModule_003E._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(-546490491), global::_003CModule_003E._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(751790982), StringComparison.OrdinalIgnoreCase); + name = _202E_206E_206E_206B_206B_206E_202E_202C_200F_202C_202B_206D_206C_200C_206E_206F_206C_202C_200B_200D_206D_206E_202E_202D_202B_202A_202A_200B_206E_202E_202A_202C_206C_202E_206C_202A_200B_202D_206D_200C_202E(name, global::_003CModule_003E._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(1726886552), global::_003CModule_003E._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(751790982)); + name = _202C_206A_200D_206D_202A_202E_206E_200F_202C_206B_206B_200F_206A_200B_202E_200B_206A_206C_206B_202E_200C_206F_200E_206A_206F_200F_202B_200F_202B_200E_200E_202C_202C_206F_200E_202B_206C_202D_206F_206B_202E(name, global::_003CModule_003E._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(-86743715), global::_003CModule_003E._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(1887216830), RegexOptions.IgnoreCase); + return name; + case 1: + return name ?? string.Empty; + case 0: + goto IL_00ae; + } + continue; + IL_00ae: + num = -1988237565; } - name = name.Replace("_", " ", StringComparison.OrdinalIgnoreCase); - name = Regex.Replace(name, "\\s+", " "); - name = Regex.Replace(name, "\\b(Patch)\\s+(\\d+)\\s+(\\d+)\\b", "$1 $2.$3", RegexOptions.IgnoreCase); - return name; + } + + static Delegate _202D_202A_202A_202C_202A_200B_202E_200B_200B_202D_206B_200F_200D_202B_206B_206E_200D_202C_206C_202D_200B_200F_206A_200C_200F_200E_206E_202D_206E_202A_202A_200E_202D_206D_206E_206F_200C_202D_206C_206C_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Combine(P_0, P_1); + } + + static Delegate _202E_202D_202B_206E_200F_202B_206B_200B_202B_202B_206E_202B_206F_202A_200D_200B_200D_206E_202D_202D_206A_206E_206D_202C_200F_200F_206E_200E_202B_206C_202E_202C_200D_200B_206F_202B_200B_206E_200B_206D_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Remove(P_0, P_1); + } + + static DirectoryInfo _206D_202C_206C_206D_206A_200C_200F_200C_206A_206D_206D_206C_200E_206B_200F_200E_206F_202A_206E_206E_202A_206A_206D_206C_206E_202C_206A_202E_206E_206D_202B_200D_206D_200C_202B_202C_202A_200C_202A_206E_202E(IDalamudPluginInterface P_0) + { + return P_0.ConfigDirectory; + } + + static string _206E_200F_200B_206F_206C_206E_206A_206D_206D_202C_200D_206F_206B_200D_202D_200C_200C_202D_202A_202E_206C_202E_200B_202A_206A_202C_202D_202C_200B_206B_202E_200C_200E_200D_200C_206A_200F_202B_200D_202C_202E(FileSystemInfo P_0) + { + return P_0.FullName; + } + + static string _206F_200D_202E_206F_206C_200B_206E_202B_200C_200E_206D_206E_202A_206D_206A_206D_202D_206E_202B_200D_202B_206A_206A_200B_206D_202A_202B_202B_206A_206F_200D_200D_202A_200C_202E_202C_206B_206B_206B_206C_202E(string P_0, string P_1) + { + return Path.Combine(P_0, P_1); + } + + static DirectoryInfo _200D_200C_200B_206C_202B_200E_206B_202C_200C_202A_202D_206D_202A_200F_200E_200B_202E_206E_202D_202C_200B_206E_202C_206E_206B_200E_206A_206E_202E_200E_202D_202E_200F_202E_200C_202E_200F_202E_206F_202B_202E(string P_0) + { + return new DirectoryInfo(P_0); + } + + static void _200B_200C_202D_202E_200D_206D_200E_200D_200C_206D_202B_202D_200E_200D_202D_202D_206A_202B_206F_200D_202E_202C_202C_200F_200E_206B_202B_202B_206B_202B_202A_202C_202C_206A_200F_206C_206B_206A_206F_200F_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static void _202A_206C_200B_200D_202E_206F_206A_206E_206A_202B_206D_206E_206C_202A_202C_206E_206C_206A_200C_200B_206B_206E_202C_200D_206E_202E_202E_202E_200E_206E_200C_200B_202D_202D_200F_206C_202A_202C_202E_202C_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static void _200B_200F_200B_200B_200E_206A_206E_200B_200D_200E_200E_200D_206D_200D_206F_200F_200D_200B_206C_200D_200D_206E_202E_202D_206A_200C_202A_206A_202E_206A_206B_202E_202B_206D_206A_206D_200F_206C_200E_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static IReadOnlyDictionary _200B_202D_200C_206B_200E_200E_200F_206C_200E_202E_202E_200B_206C_206E_200D_202B_206C_206E_202B_206A_202C_200B_200B_206A_206B_200B_206D_202E_206C_202A_200E_200F_202E_202C_206C_202B_200E_206C_202A_202C_202E() + { + return AssemblyQuestLoader.GetQuests(); + } + + static DateTime? _200B_200F_206B_206D_202B_200B_206C_202C_202A_206B_200C_206D_202A_202A_200E_206C_200F_202C_206E_202C_202A_202D_206A_206E_202C_206D_200D_206A_200D_206D_202A_206B_206B_202B_202E_202C_200E_206B_202B_206F_202E(QuestRoot P_0) + { + return P_0.SeasonalQuestExpiry; + } + + static string _200B_200C_206D_206D_202A_206E_200C_206A_206D_206C_206D_202E_202D_202A_200D_206D_206D_202B_206F_206E_202B_206C_206F_206F_206E_202E_202A_200F_200B_202B_200F_202A_200E_202E_202B_206B_202A_202D_202D_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static int _202E_202B_206D_202E_200F_202B_206E_206C_202E_200E_206B_206B_200B_200C_200C_200D_200C_202C_206B_200B_206A_200D_206D_206C_206C_200F_202D_200D_206E_206A_202B_206D_206B_206F_200F_200F_200B_200D_206F_202C_202E(string P_0) + { + return P_0.Length; + } + + static bool _206E_200E_206F_206B_206E_206B_206E_206C_200D_206E_206E_202E_206A_206E_206C_206C_200C_200C_200F_202A_206B_200F_202A_202A_206B_200F_202B_200B_206A_206F_206F_202A_202E_206F_202B_206F_206F_200C_206E_202E_202E(string P_0, char P_1) + { + return P_0.StartsWith(P_1); + } + + static string _200C_200C_200D_202C_200D_200C_206E_200C_200F_206E_202D_202C_206E_202B_202B_202C_200B_200D_202C_202B_206F_200B_206F_200E_202C_206C_206E_206B_200D_200F_206B_202B_206E_206D_206B_202C_206C_206E_206F_202B_202E(string P_0, int P_1) + { + return P_0.Substring(P_1); + } + + static bool _202D_206E_200E_206D_206D_206B_200D_200F_200C_200B_200D_206D_200E_202C_206E_206F_200F_200D_200D_200B_200F_206C_202B_206F_200B_202A_202C_206B_200B_200E_200F_202C_200F_206E_206C_206B_200C_200D_206C_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static string _200E_202A_200C_206A_202A_206C_200F_206C_202C_202B_206C_200E_200C_206C_200D_206F_200E_206C_202B_202D_200F_206E_202A_202C_206D_200E_202A_202C_200C_200D_202B_206B_206E_200D_200E_206C_206D_202B_200B_200C_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static ushort _206F_200F_200C_206A_206F_200E_206A_206A_200E_202E_206E_206A_206E_206F_200F_202E_206C_200F_202D_202A_200F_200B_202C_202C_200E_202C_200F_200F_200F_202B_200C_206D_206A_206C_206F_206A_202A_206E_202B_206F_202E(ElementId P_0) + { + return P_0.Value; + } + + static void _200E_200E_202D_200B_206D_202C_206E_202C_200E_206A_200E_206D_200C_206B_202D_206E_202A_206C_206F_206F_202E_200B_206F_202E_200C_206A_200D_206A_202D_200E_202B_206D_206F_202B_202B_200C_202D_206C_206F_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static bool? _206E_206A_200C_206A_206A_200B_206E_200F_200F_202C_200B_202A_200C_200C_206D_206C_202E_202D_200E_202C_202A_202E_200F_206D_206E_206F_200D_202D_206D_200F_202A_206A_206E_200D_206D_202C_206D_202A_200E_206D_202E(QuestRoot P_0) + { + return P_0.IsSeasonalQuest; + } + + static string _202E_206D_202C_202B_200D_206A_200C_200E_200E_206B_206A_206F_200C_206E_200C_202C_200B_206A_200B_206D_206F_202E_200E_206E_200F_206C_202A_200B_206C_202A_206A_206D_206B_200F_206B_206F_200F_202B_206F_206C_202E(Exception P_0) + { + return P_0.Message; + } + + static bool _206A_200C_206F_202E_202B_202E_206A_206D_206B_200F_206F_206C_202B_206C_202E_200C_206D_202B_202E_206E_200E_200E_202E_206B_206F_206F_200B_206E_206A_200C_200F_202D_206F_200E_200B_206A_206E_202A_206A_206F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206D_206E_202E_202C_206B_206D_206C_202E_200F_206B_202D_202A_200E_202C_202B_200E_202D_202E_202A_206F_206A_200F_206E_206B_200C_202C_200B_200D_206F_202C_200B_200B_200B_206A_202E_200D_200B_202D_206B_202B_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static FileInfo _202A_200D_206F_202D_202B_202B_202D_200C_200C_206A_202E_206D_200F_200D_202A_206F_206A_206E_206B_200E_202D_202E_202A_200E_206D_206F_202C_206F_206B_200D_202B_202C_206A_206B_200F_202A_200C_202B_202B_202C_202E(IDalamudPluginInterface P_0) + { + return P_0.AssemblyLocation; + } + + static DirectoryInfo _200E_206E_200D_202E_206A_202E_200D_206F_206E_202C_206A_206C_206E_202E_202A_200D_206F_206C_202E_202A_206C_206F_200D_200B_200D_206E_202B_200F_206A_200B_206F_200D_206F_200D_202A_200B_202B_200D_200B_206B_202E(FileInfo P_0) + { + return P_0.Directory; + } + + static DirectoryInfo _202E_206C_206B_202B_206D_206F_206C_200B_200E_200D_200B_200F_206B_200E_206F_200E_206E_202B_202D_206D_206E_202A_200E_202B_202D_206A_206B_202A_206B_206A_202D_206A_206D_206C_206A_206B_206D_202C_206C_202B_202E(DirectoryInfo P_0) + { + return P_0.Parent; + } + + static string _200E_206F_206F_202C_200F_200B_200C_206A_200C_200F_206F_206A_202A_200C_202C_202E_200F_200B_202E_206B_202E_200D_200B_202E_200B_202E_200E_206C_202D_202A_206F_202B_200C_206F_206C_202E_200D_200E_206B_206C_202E(string P_0, string P_1, string P_2) + { + return Path.Combine(P_0, P_1, P_2); + } + + static Type _202A_206F_206C_206F_202B_202D_206A_200C_206D_200C_206A_206B_200F_200D_200F_202B_200C_202E_206B_202B_206E_206D_200F_202E_206E_206D_200F_202E_200F_200B_206D_206C_202D_206A_202A_202C_206A_206B_206F_200E_202E(Exception P_0) + { + return P_0.GetType(); + } + + static string _200E_202A_206F_206E_200F_200E_206C_202D_200D_200D_200B_206A_206E_206F_200F_200B_206A_202D_202B_202D_206A_206E_200D_206C_206A_200D_206C_202C_206B_206F_206D_200F_206A_206A_206F_202D_206D_206F_202B_202B_202E(MemberInfo P_0) + { + return P_0.Name; + } + + static string _206E_200C_202A_202D_202B_200B_206A_200B_206F_206A_206F_200D_202E_200C_200C_200C_206F_202D_200B_202D_206F_206B_202C_200F_206C_206B_206B_206C_206E_200B_200D_202C_206B_202D_206F_202B_202B_206B_200E_206D_202E(string P_0, string P_1, string P_2, string P_3) + { + return P_0 + P_1 + P_2 + P_3; + } + + static void _206B_202D_206F_206B_206F_206B_206E_206D_202A_200D_206D_200F_200E_202E_206D_202D_206D_206C_206D_206B_206D_200B_206D_200D_206F_200E_200F_206B_202C_202C_206B_200C_202D_206B_202A_200D_206A_202C_206B_200F_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static List _200D_206D_200E_200F_202B_206F_200C_206F_206B_202A_202D_200D_200D_206B_206A_200E_202E_200D_206D_202B_200E_202E_200F_200F_206D_202E_200C_206E_200B_200E_202A_206E_202D_200E_206D_206E_202A_202A_202A_206E_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static EInteractionType _202D_200E_206B_202B_200B_200F_206F_202C_200F_202B_200C_206F_202E_206F_206D_206B_202D_206A_206B_202B_200B_206E_206F_202C_206D_200D_206A_202D_200D_202E_200F_202D_206D_200D_202E_206F_200C_200B_206C_206A_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static DutyOptions _202B_200E_200B_202B_200F_202C_202C_200E_206E_200C_206E_200E_200B_206E_206B_200E_202A_200C_202B_206F_200C_206C_200B_202D_206D_200F_206B_206A_202A_200E_202D_200F_206F_206C_200D_206C_206D_206E_206E_206D_202E(QuestStep P_0) + { + return P_0.DutyOptions; + } + + static uint _206B_202A_200B_206D_200D_206A_202A_202D_202B_206F_206A_206A_200B_202D_202E_202C_206F_206F_200E_200C_200B_202A_206F_202A_206F_206B_206D_206F_206D_200B_202A_200E_202E_202D_202E_202C_200D_200F_206F_206A_202E(DutyOptions P_0) + { + return P_0.ContentFinderConditionId; + } + + static byte _200E_200C_206F_202C_202C_202A_202A_202E_206E_202B_206A_206E_200F_202C_200F_206D_206A_200D_206A_200B_200B_202E_202D_202D_200D_200B_200B_206B_200B_200F_200F_200F_206B_206D_200B_206F_200D_200F_206F_200C_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static byte _202D_206F_206A_200D_206B_200B_200F_200D_202C_206F_200C_202A_206A_202D_200C_206A_200D_202A_200C_206F_200E_200C_202B_202B_202E_202B_202D_200D_200B_200E_200F_200B_202C_200B_202D_202C_202A_206F_206D_200F_202E(QuestStep P_0) + { + return P_0.SinglePlayerDutyIndex; + } + + static void _200C_202D_206A_202D_206A_206F_200D_206F_206A_202A_202D_206B_206F_200F_202B_200B_200C_200E_200E_200C_206B_202B_202D_200D_202A_200F_200F_200B_200D_200B_206C_200F_206A_202E_206B_206B_202A_206D_200D_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static bool _206C_206A_200C_206C_200F_206B_206F_200E_200D_206F_206B_206D_202A_200C_202A_200D_200E_200B_200B_200C_202A_200C_206B_200F_206C_206B_206D_202B_206B_206C_206C_206D_202B_202E_206C_206A_206A_200D_206D_202E_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } + + static JsonNode _200F_206A_200D_206A_202E_206F_200F_202A_206D_200E_200F_200D_200F_200C_202A_206B_200C_200D_200F_206A_202E_206B_200D_206B_202C_202C_200B_206A_206A_202C_200B_200F_200E_202A_202D_200B_200D_202C_206B_202E_202E(Stream P_0, JsonNodeOptions? P_1, JsonDocumentOptions P_2) + { + return JsonNode.Parse(P_0, P_1, P_2); + } + + static Exception _200E_206A_200F_206E_206B_200C_202E_206C_202B_206C_200E_206E_202D_206D_206E_200E_206A_206B_206E_200B_206C_206F_200F_206E_206D_200D_206B_206A_206F_206F_202E_206A_206F_202E_206F_206D_202C_202C_200B_200E_202E(Exception P_0) + { + return P_0.InnerException; + } + + static string _200E_200F_206A_200C_202A_202A_206F_200B_206B_206A_206F_200B_206A_200B_206D_206E_206E_206C_206F_206D_200F_200F_200F_202E_206D_206F_202E_200D_206A_206F_206C_206C_206D_202A_206B_200F_200D_206F_200D_206E_202E(string P_0) + { + return Path.GetFileNameWithoutExtension(P_0); + } + + static int _206B_206F_202D_202A_200B_202E_202D_202E_206C_206E_206B_202B_200E_202C_202D_202B_200E_206E_200F_200D_206D_200B_200C_206F_206F_202D_200E_200D_202B_200F_202E_200F_200B_206D_202E_202D_206C_202E_202B_200D_202E(string P_0, char P_1, StringComparison P_2) + { + return P_0.IndexOf(P_1, P_2); + } + + static bool _206C_206C_202E_206B_200B_200D_202A_200F_206B_202D_206F_206C_200C_200B_206D_206B_202D_202E_200B_202A_202E_206D_200B_200E_200C_200E_202D_206B_206F_202A_206B_202D_202A_200C_206C_206C_206B_202A_200D_206E_202E(JsonObject P_0, string P_1, ref JsonNode P_2) + { + return P_0.TryGetPropertyValue(P_1, out P_2); + } + + static bool _206F_206F_206E_202E_200F_206E_200C_202D_200B_206E_200B_202A_206F_206B_200F_202C_206D_202B_202D_202A_206C_202D_200F_206B_202B_206A_200F_206B_206B_206F_206C_206C_202B_206A_200C_206E_200C_206A_200F_200E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _200D_206E_202D_202C_200D_206D_206B_200E_200B_200C_200F_206B_200E_206A_200B_202B_200E_206A_200B_206F_206D_202C_200D_200F_200C_206D_200F_206A_206F_206B_206C_202C_200C_202B_202D_200C_200D_202B_202C_200F_202E(FileSystemInfo P_0) + { + return P_0.Exists; + } + + static void _206B_200B_206F_206F_200C_202D_202B_200D_206A_206A_202A_202B_200B_202E_202A_202B_206A_200F_200F_200C_200E_206C_202A_202B_202A_202E_200F_206A_200B_202B_206B_200E_202C_200B_206D_202D_202A_200F_200C_202E(ILogger P_0, LogLevel P_1, string P_2, object[] P_3) + { + P_0.Log(P_1, P_2, P_3); + } + + static FileInfo[] _202A_200F_206E_202E_206A_200D_206A_200C_202E_206B_200F_202A_206C_206D_202A_206C_200D_200C_206C_206E_202E_206F_200D_206B_200C_202B_206B_200D_200B_202C_202D_202C_202E_202D_200F_202E_206C_206E_206D_202E(DirectoryInfo P_0, string P_1) + { + return P_0.GetFiles(P_1); + } + + static FileStream _206A_202B_202D_200E_206B_206B_206D_206D_206E_202A_206D_202A_202D_200F_206F_206E_206B_200F_200B_206C_206F_206C_206B_206B_202D_200B_206E_206B_200D_200C_202E_206A_202D_206F_202B_202D_206A_200E_206F_206F_202E(FileInfo P_0) + { + return P_0.OpenRead(); + } + + static string _202E_206C_206C_200B_202B_206A_206F_202E_200F_206C_202B_200D_206C_206E_202C_200E_200F_206D_202C_200C_206F_200F_206B_202C_206B_202C_202D_200B_202C_200F_206C_202B_202E_206E_202C_200F_200E_206E_200F_206A_202E(FileSystemInfo P_0) + { + return P_0.Name; + } + + static InvalidDataException _200E_202B_200E_206E_200B_206D_202B_200D_206B_206F_206C_200B_200D_200C_200F_202B_202D_202A_206C_202B_202A_202D_206E_202D_200B_206E_202E_206A_200E_202D_202B_200E_200C_200C_200D_206C_200F_206A_206E_206C_202E(string P_0, Exception P_1) + { + return new InvalidDataException(P_0, P_1); + } + + static DirectoryInfo[] _202D_202C_200F_200F_200E_206A_206E_200F_202A_200C_206E_202D_206D_200B_206F_202A_206D_200F_200D_200D_206E_200E_206B_200E_200F_202D_200E_206F_202B_206A_202C_200D_206E_206E_200C_202D_200C_200E_206F_206D_202E(DirectoryInfo P_0) + { + return P_0.GetDirectories(); + } + + static string _202E_206C_206B_202C_206F_206B_200D_200F_200D_202E_206B_200E_200B_200E_206F_202E_200D_202B_200E_202A_202A_206A_206A_206D_206A_200E_206D_206B_202E_202B_206C_202A_206C_200E_206A_202E_200F_206C_206D_206D_202E(JsonException P_0) + { + return P_0.Path; + } + + static Match _202C_206C_206E_202E_200C_206B_200F_206E_202D_202E_200C_202E_206C_200E_200E_206D_202B_202E_206C_202A_206B_202E_202A_206D_200B_200B_206F_206C_206A_200B_202C_202C_206B_206A_200B_200E_200D_206F_200D_202D_202E(string P_0, string P_1) + { + return Regex.Match(P_0, P_1); + } + + static bool _200F_206D_202D_202E_206D_206A_206D_202E_200D_206A_206F_206F_206F_200D_202C_202E_202C_206A_202C_206C_202B_206C_200B_206B_202B_200C_206E_200F_202D_200F_202B_202E_206D_206F_206E_202E_202C_200D_202E_200E_202E(Group P_0) + { + return P_0.Success; + } + + static GroupCollection _200E_200C_200D_206C_206A_202A_202D_200C_206F_206C_202E_206A_202B_202C_206C_202A_202C_200F_202E_206B_206C_202B_202B_206F_202A_200D_206F_202A_202D_206C_206A_206C_202A_202E_206B_200F_206D_202A_202E_202A_202E(Match P_0) + { + return P_0.Groups; + } + + static Group _206E_206C_200F_202A_202C_202D_206C_206D_206E_202D_202D_206A_206C_200B_206B_202B_202A_206B_202B_206A_206A_202E_200B_206F_206D_206D_206D_206F_206B_202C_202D_202D_202E_200C_200E_202D_206C_206E_202E_206E_202E(GroupCollection P_0, int P_1) + { + return P_0[P_1]; + } + + static string _206C_200F_206C_206A_200C_202D_200C_206B_202E_202C_206A_206A_206F_206F_200E_202D_200E_200E_200B_206C_206B_200E_202A_200D_200E_200F_200D_206D_200D_200E_200B_200C_202E_202B_202B_200D_202B_206E_200C_206F_202E(Capture P_0) + { + return P_0.Value; + } + + static bool _206B_202C_206B_202C_206E_202C_200B_202E_206F_202A_200F_200F_200C_206E_206E_206D_200B_200F_202D_200C_202A_206A_202C_202D_200B_202C_200F_206D_202B_202E_206D_206E_202E_202A_202A_200D_202C_202E_200F_206E_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static string _200E_206E_200E_206E_202B_202B_202D_202C_206C_206A_202D_200F_206D_200E_200B_206C_202C_200C_206A_202C_200D_206F_206D_200F_206A_200C_200F_200B_200E_202A_206C_202B_200E_202D_206A_206B_202A_202A_202A_202D_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static int _200F_202E_200E_202B_200C_202D_202E_206D_200D_202A_202C_206A_206A_202B_202A_200C_200D_200B_202D_202E_202D_206C_200E_202D_206B_200C_206F_202E_200E_206A_200D_202B_200F_206B_202D_200C_206D_206F_206F_200F_202E(string P_0, char P_1) + { + return P_0.LastIndexOf(P_1); + } + + static bool _202D_206A_202A_202B_200B_200E_206E_206D_200F_202B_206C_202E_206F_206F_206F_206C_206B_202B_200F_200C_206B_202B_206A_200B_200B_200C_200E_202C_202A_202B_202E_200C_202D_200B_200E_206C_200E_200E_206D_206A_202E(string P_0, char P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static string[] _202C_206B_200B_200F_200B_206D_206A_206D_206E_202E_202A_206C_200F_200B_206D_206C_206F_200E_206F_202B_206A_206A_200F_202B_202A_200C_200D_206B_202D_206F_206A_200C_206A_200F_206E_200B_200F_200F_202B_200E_202E(string P_0, char P_1, int P_2, StringSplitOptions P_3) + { + return P_0.Split(P_1, P_2, P_3); + } + + static ElementId _202C_202D_206D_206A_200B_200D_206E_200E_206F_206B_200F_200C_206F_202C_202C_202D_200D_202B_206F_200D_206B_206B_202B_206D_206C_202A_200F_202B_200B_206A_202A_206D_200D_206D_206E_200C_206D_200E_202C_202D_202E(string P_0) + { + return ElementId.FromString(P_0); + } + + static EClassJob _200B_206D_206F_202E_200C_206C_206A_200C_206A_200C_202B_200B_206E_206E_202C_206B_202B_206C_202D_202D_200D_202C_202A_202E_202C_200E_200F_206D_202C_202D_200D_200C_202C_206E_206C_206B_202D_200F_202B_200F_202E(EClassJob P_0) + { + return P_0.AsJob(); + } + + static bool _200B_202C_206B_202D_206D_202A_200D_206A_200E_200D_206F_202C_202B_202D_206B_202E_206A_202C_200F_200D_200B_202E_200C_200C_200D_202C_202B_200B_202D_202C_206B_206D_206B_202B_202A_206B_206A_206A_206E_200E_202E(string P_0) + { + return string.IsNullOrWhiteSpace(P_0); + } + + static string _202E_200B_202E_200C_200E_206A_202D_206B_202B_206C_202C_202B_202A_206C_200D_206B_202D_206A_200E_202C_200B_202B_202B_202D_206C_206B_206E_206A_200C_202C_202C_206E_206D_206F_206D_206C_206C_200D_202C_206E_202E(string P_0, string P_1, string P_2, StringComparison P_3) + { + return P_0.Replace(P_1, P_2, P_3); + } + + static string _202E_206E_206E_206B_206B_206E_202E_202C_200F_202C_202B_206D_206C_200C_206E_206F_206C_202C_200B_200D_206D_206E_202E_202D_202B_202A_202A_200B_206E_202E_202A_202C_206C_202E_206C_202A_200B_202D_206D_200C_202E(string P_0, string P_1, string P_2) + { + return Regex.Replace(P_0, P_1, P_2); + } + + static string _202C_206A_200D_206D_202A_202E_206E_200F_202C_206B_206B_200F_206A_200B_202E_200B_206A_206C_206B_202E_200C_206F_200E_206A_206F_200F_202B_200F_202B_200E_200E_202C_202C_206F_200E_202B_206C_202D_206F_206B_202E(string P_0, string P_1, string P_2, RegexOptions P_3) + { + return Regex.Replace(P_0, P_1, P_2, P_3); } } diff --git a/Questionable/Questionable.Controller/QuestResolution.cs b/Questionable/Questionable.Controller/QuestResolution.cs new file mode 100644 index 00000000..a5daa137 --- /dev/null +++ b/Questionable/Questionable.Controller/QuestResolution.cs @@ -0,0 +1,274 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +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 + { + int num = ((!_206C_200E_200F_206F_200C_200D_206E_200E_202A_206B_206A_206E_206A_202B_206E_202D_200E_200E_206A_200B_200B_206F_206C_202A_202C_200B_200B_206C_206E_206D_200D_206D_206B_200F_206B_206D_206D_202A_206F_200F_202E(QuestId, (ElementId?)null)) ? 206897557 : 206897558); + while (true) + { + int num2 = num; + int num3 = 206897556; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return _200C_200F_202A_206B_200E_202E_206F_206C_206D_202C_202B_206B_206D_200C_206B_200E_206E_202C_202B_202B_200D_200C_202A_200F_202E_202D_206E_202A_202E_200E_200C_206C_200F_202D_202A_202B_202C_206C_200F_202E_202E(QuestId) != 0; + case 0: + goto IL_005f; + } + continue; + IL_005f: + num = 206897558; + } + } + } + + public bool IsSlotBased + { + get + { + EQuestResolutionType type = Type; + int num = (((uint)type > 2u) ? 551053514 : 551053515); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = 551053514; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 551053515; + break; + case 1: + result = true; + num = 551053513; + break; + case 0: + result = false; + num = 551053513; + break; + case 3: + return result; + } + } + } + } + + 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 + }; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static QuestResolution Leveling(int targetLevel, string? questName, MainScenarioQuestState msqState) + { + QuestResolution result = new QuestResolution + { + Type = EQuestResolutionType.LevelingMode, + MsqState = msqState + }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(17, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(842342782)); + defaultInterpolatedStringHandler.AppendFormatted(targetLevel); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1386602519)); + defaultInterpolatedStringHandler.AppendFormatted(questName); + result.DebugReason = defaultInterpolatedStringHandler.ToStringAndClear(); + result.LevelingTargetLevel = targetLevel; + result.LevelingQuestName = questName; + return result; + } + + public static QuestResolution None(MainScenarioQuestState msqState, string reason) + { + return new QuestResolution + { + Type = EQuestResolutionType.NoQuest, + MsqState = msqState, + DebugReason = reason + }; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206D_206A_202A_200C_206C_202B_206D_206B_200D_206D_206E_206D_202D_200D_206B_200E_202C_200D_202E_202C_202A_206D_200E_200E_206D_206E_206B_202D_200B_206E_200B_202A_206A_206E_206E_202A_200E_206E_202A_202A_202E(); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(stringBuilder, global::_003CModule_003E._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(-1454729843)); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? 497105174 : 497105175); + while (true) + { + int num2 = num; + int num3 = 497105174; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _206B_206E_200B_206A_202D_206B_202C_206D_206B_202C_202C_206D_202E_206F_200C_206D_200E_206F_202B_200F_206B_200D_202C_206F_206D_206A_206E_202A_202B_206C_200E_202A_202B_200B_200E_206D_206A_200E_206F_200E_202E(stringBuilder, '}'); + return _202B_202D_206D_200C_200C_206C_206A_206E_206D_206C_200B_206B_202E_200E_202D_206B_206C_200F_206E_206D_206E_200C_200B_206D_206A_202A_202D_200D_200E_202A_206E_202C_200D_202A_202C_200D_206D_200E_202C_200F_202E((object?)stringBuilder); + case 1: + _206B_206E_200B_206A_202D_206B_202C_206D_206B_202C_202C_206D_202E_206F_200C_206D_200E_206F_202B_200F_206B_200D_202C_206F_206D_206A_206E_202A_202B_206C_200E_202A_202B_200B_200E_206D_206A_200E_206F_200E_202E(stringBuilder, ' '); + num = 497105174; + break; + case 2: + num = 497105175; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, global::_003CModule_003E._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(2142299818)); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, Type.ToString()); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, global::_003CModule_003E._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(1355464271)); + _200C_206D_206F_206A_200F_206C_200E_200F_202B_206A_202D_202E_202D_202E_206E_200C_202A_202C_202C_206B_206F_200D_202C_202B_200E_202E_206C_206B_202E_200C_200B_206A_200C_202B_202A_206E_206E_206B_206E_200F_202E(builder, (object?)QuestId); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, global::_003CModule_003E._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(-1883281888)); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, Sequence.ToString()); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, global::_003CModule_003E._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(-1661504935)); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, MsqState.ToString()); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, global::_003CModule_003E._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(-940584201)); + _200C_206D_206F_206A_200F_206C_200E_200F_202B_206A_202D_202E_202D_202E_206E_200C_202A_202C_202C_206B_206F_200D_202C_202B_200E_202E_206C_206B_202E_200C_200B_206A_200C_202B_202A_206E_206E_206B_206E_200F_202E(builder, (object?)DebugReason); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, global::_003CModule_003E._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(-436279056)); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, LevelingTargetLevel.ToString()); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, global::_003CModule_003E._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(2055448933)); + _200C_206D_206F_206A_200F_206C_200E_200F_202B_206A_202D_202E_202D_202E_206E_200C_202A_202C_202C_206B_206F_200D_202C_202B_200E_202E_206C_206B_202E_200C_200B_206A_200C_202B_202A_206E_206E_206B_206E_200F_202E(builder, (object?)LevelingQuestName); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, global::_003CModule_003E._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(-660514735)); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, HasQuest.ToString()); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, global::_003CModule_003E._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(1071893673)); + _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(builder, IsSlotBased.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(QuestResolution other) + { + int num = ((!EqualityComparer.Default.Equals(Type, other.Type)) ? 408097635 : 408097637); + while (true) + { + int num2 = num; + int num3 = 408097635; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = ((!EqualityComparer.Default.Equals(Sequence, other.Sequence)) ? 408097635 : 408097632); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(DebugReason, other.DebugReason)) ? 408097635 : 408097633); + break; + case 4: + return EqualityComparer.Default.Equals(LevelingQuestName, other.LevelingQuestName); + case 2: + num = ((!EqualityComparer.Default.Equals(LevelingTargetLevel, other.LevelingTargetLevel)) ? 408097635 : 408097639); + break; + case 0: + return false; + case 7: + num = 408097637; + break; + case 3: + num = ((!EqualityComparer.Default.Equals(MsqState, other.MsqState)) ? 408097635 : 408097634); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(QuestId, other.QuestId)) ? 408097635 : 408097638); + break; + } + } + } + + bool IEquatable.Equals(QuestResolution other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static bool _206C_200E_200F_206F_200C_200D_206E_200E_202A_206B_206A_206E_206A_202B_206E_202D_200E_200E_206A_200B_200B_206F_206C_202A_202C_200B_200B_206C_206E_206D_200D_206D_206B_200F_206B_206D_206D_202A_206F_200F_202E(ElementId? P_0, ElementId? P_1) + { + return P_0 != P_1; + } + + static ushort _200C_200F_202A_206B_200E_202E_206F_206C_206D_202C_202B_206B_206D_200C_206B_200E_206E_202C_202B_202B_200D_200C_202A_200F_202E_202D_206E_202A_202E_200E_200C_206C_200F_202D_202A_202B_202C_206C_200F_202E_202E(ElementId? P_0) + { + return P_0.Value; + } + + static StringBuilder? _206D_206A_202A_200C_206C_202B_206D_206B_200D_206D_206E_206D_202D_200D_206B_200E_202C_200D_202E_202C_202A_206D_200E_200E_206D_206E_206B_202D_200B_206E_200B_202A_206A_206E_206E_202A_200E_206E_202A_202A_202E() + { + return new StringBuilder(); + } + + static StringBuilder? _206C_200B_206D_202C_206A_202D_202E_206B_202A_200C_206D_200F_206D_206B_202A_206F_200F_206E_202B_202E_206C_206A_200C_202E_202A_206A_202B_206A_206C_206A_206E_200D_202A_206A_200D_202E_200D_206D_202E_206A_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _206B_206E_200B_206A_202D_206B_202C_206D_206B_202C_202C_206D_202E_206F_200C_206D_200E_206F_202B_200F_206B_200D_202C_206F_206D_206A_206E_202A_202B_206C_200E_202A_202B_200B_200E_206D_206A_200E_206F_200E_202E(StringBuilder? P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string? _202B_202D_206D_200C_200C_206C_206A_206E_206D_206C_200B_206B_202E_200E_202D_206B_206C_200F_206E_206D_206E_200C_200B_206D_206A_202A_202D_200D_200E_202A_206E_202C_200D_202A_202C_200D_206D_200E_202C_200F_202E(object? P_0) + { + return P_0.ToString(); + } + + static StringBuilder? _200C_206D_206F_206A_200F_206C_200E_200F_202B_206A_202D_202E_202D_202E_206E_200C_202A_202C_202C_206B_206F_200D_202C_202B_200E_202E_206C_206B_202E_200C_200B_206A_200C_202B_202A_206E_206E_206B_206E_200F_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } +} diff --git a/Questionable/Questionable.Controller/QuestSlots.cs b/Questionable/Questionable.Controller/QuestSlots.cs new file mode 100644 index 00000000..ebfd843d --- /dev/null +++ b/Questionable/Questionable.Controller/QuestSlots.cs @@ -0,0 +1,120 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +using Questionable.Model; + +namespace Questionable.Controller; + +internal readonly record struct QuestSlots(QuestController.QuestProgress? Simulated, QuestController.QuestProgress? Next, QuestController.QuestProgress? Gathering, List ManualPriorityQuests, QuestController.EAutomationType AutomationType) +{ + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200F_206A_206A_206F_200F_202E_200B_200B_206C_202B_200B_206F_206C_206E_202B_202D_202B_200C_200B_206D_206C_202B_200F_202D_206F_206B_200E_200E_200F_202A_200D_200E_202A_206E_202E_206A_200F_206B_202B_206C_202E(); + _202E_200E_200F_202C_206F_200B_206D_202E_206E_202C_206B_200B_200C_202E_206C_202E_206F_200F_206E_200C_202E_202B_200B_206E_206A_202D_202C_200E_206A_202C_202C_206A_202B_200D_206D_200F_206A_202E_202D_202B_202E(stringBuilder, global::_003CModule_003E._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(1514472868)); + _202E_200E_200F_202C_206F_200B_206D_202E_206E_202C_206B_200B_200C_202E_206C_202E_206F_200F_206E_200C_202E_202B_200B_206E_206A_202D_202C_200E_206A_202C_202C_206A_202B_200D_206D_200F_206A_202E_202D_202B_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? (-1459143822) : (-1459143823)); + while (true) + { + int num2 = num; + int num3 = -1459143821; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _206B_202E_206C_202E_200B_202D_206A_202C_200B_202C_206E_202C_200C_200F_202C_206C_202D_200E_202A_202C_206A_206A_206E_206C_202B_202A_200E_202C_202E_200E_206C_200C_206B_202D_206F_206F_202D_206F_202A_206F_202E(stringBuilder, '}'); + return _202C_200B_200F_200D_200D_202D_206D_200B_206B_206A_200D_200F_206A_200B_206F_200B_206C_200C_206F_206F_202C_206B_200D_202C_200B_206F_206D_202D_202B_202E_202C_206E_202A_200E_200E_202B_200B_206A_206C_206D_202E((object?)stringBuilder); + case 2: + _206B_202E_206C_202E_200B_202D_206A_202C_200B_202C_206E_202C_200C_200F_202C_206C_202D_200E_202A_202C_206A_206A_206E_206C_202B_202A_200E_202C_202E_200E_206C_200C_206B_202D_206F_206F_202D_206F_202A_206F_202E(stringBuilder, ' '); + num = -1459143822; + break; + case 0: + num = -1459143823; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_200E_200F_202C_206F_200B_206D_202E_206E_202C_206B_200B_200C_202E_206C_202E_206F_200F_206E_200C_202E_202B_200B_206E_206A_202D_202C_200E_206A_202C_202C_206A_202B_200D_206D_200F_206A_202E_202D_202B_202E(builder, global::_003CModule_003E._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(1870703456)); + _202D_202B_206A_206E_206A_200E_202D_206B_200F_202E_206B_202D_200E_200B_200B_200E_202C_200F_206C_200D_200C_202D_202A_202B_202C_206B_206F_206D_206E_200F_206D_200F_202C_206B_202E_202A_200E_206C_200F_200C_202E(builder, (object?)Simulated); + _202E_200E_200F_202C_206F_200B_206D_202E_206E_202C_206B_200B_200C_202E_206C_202E_206F_200F_206E_200C_202E_202B_200B_206E_206A_202D_202C_200E_206A_202C_202C_206A_202B_200D_206D_200F_206A_202E_202D_202B_202E(builder, global::_003CModule_003E._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(-1249651831)); + _202D_202B_206A_206E_206A_200E_202D_206B_200F_202E_206B_202D_200E_200B_200B_200E_202C_200F_206C_200D_200C_202D_202A_202B_202C_206B_206F_206D_206E_200F_206D_200F_202C_206B_202E_202A_200E_206C_200F_200C_202E(builder, (object?)Next); + _202E_200E_200F_202C_206F_200B_206D_202E_206E_202C_206B_200B_200C_202E_206C_202E_206F_200F_206E_200C_202E_202B_200B_206E_206A_202D_202C_200E_206A_202C_202C_206A_202B_200D_206D_200F_206A_202E_202D_202B_202E(builder, global::_003CModule_003E._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(-132265683)); + _202D_202B_206A_206E_206A_200E_202D_206B_200F_202E_206B_202D_200E_200B_200B_200E_202C_200F_206C_200D_200C_202D_202A_202B_202C_206B_206F_206D_206E_200F_206D_200F_202C_206B_202E_202A_200E_206C_200F_200C_202E(builder, (object?)Gathering); + _202E_200E_200F_202C_206F_200B_206D_202E_206E_202C_206B_200B_200C_202E_206C_202E_206F_200F_206E_200C_202E_202B_200B_206E_206A_202D_202C_200E_206A_202C_202C_206A_202B_200D_206D_200F_206A_202E_202D_202B_202E(builder, global::_003CModule_003E._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(1954093048)); + _202D_202B_206A_206E_206A_200E_202D_206B_200F_202E_206B_202D_200E_200B_200B_200E_202C_200F_206C_200D_200C_202D_202A_202B_202C_206B_206F_206D_206E_200F_206D_200F_202C_206B_202E_202A_200E_206C_200F_200C_202E(builder, (object?)ManualPriorityQuests); + _202E_200E_200F_202C_206F_200B_206D_202E_206E_202C_206B_200B_200C_202E_206C_202E_206F_200F_206E_200C_202E_202B_200B_206E_206A_202D_202C_200E_206A_202C_202C_206A_202B_200D_206D_200F_206A_202E_202D_202B_202E(builder, global::_003CModule_003E._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(1435515341)); + _202E_200E_200F_202C_206F_200B_206D_202E_206E_202C_206B_200B_200C_202E_206C_202E_206F_200F_206E_200C_202E_202B_200B_206E_206A_202D_202C_200E_206A_202C_202C_206A_202B_200D_206D_200F_206A_202E_202D_202B_202E(builder, AutomationType.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(QuestSlots other) + { + int num = ((!EqualityComparer.Default.Equals(Simulated, other.Simulated)) ? (-365980673) : (-365980680)); + while (true) + { + int num2 = num; + int num3 = -365980676; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -365980680; + break; + case 4: + num = ((!EqualityComparer.Default.Equals(Next, other.Next)) ? (-365980673) : (-365980674)); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(Gathering, other.Gathering)) ? (-365980673) : (-365980675)); + break; + case 1: + num = ((!EqualityComparer>.Default.Equals(ManualPriorityQuests, other.ManualPriorityQuests)) ? (-365980673) : (-365980679)); + break; + case 3: + return false; + case 5: + return EqualityComparer.Default.Equals(AutomationType, other.AutomationType); + } + } + } + + bool IEquatable.Equals(QuestSlots other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder? _200F_206A_206A_206F_200F_202E_200B_200B_206C_202B_200B_206F_206C_206E_202B_202D_202B_200C_200B_206D_206C_202B_200F_202D_206F_206B_200E_200E_200F_202A_200D_200E_202A_206E_202E_206A_200F_206B_202B_206C_202E() + { + return new StringBuilder(); + } + + static StringBuilder? _202E_200E_200F_202C_206F_200B_206D_202E_206E_202C_206B_200B_200C_202E_206C_202E_206F_200F_206E_200C_202E_202B_200B_206E_206A_202D_202C_200E_206A_202C_202C_206A_202B_200D_206D_200F_206A_202E_202D_202B_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _206B_202E_206C_202E_200B_202D_206A_202C_200B_202C_206E_202C_200C_200F_202C_206C_202D_200E_202A_202C_206A_206A_206E_206C_202B_202A_200E_202C_202E_200E_206C_200C_206B_202D_206F_206F_202D_206F_202A_206F_202E(StringBuilder? P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string? _202C_200B_200F_200D_200D_202D_206D_200B_206B_206A_200D_200F_206A_200B_206F_200B_206C_200C_206F_206F_202C_206B_200D_202C_200B_206F_206D_202D_202B_202E_202C_206E_202A_200E_200E_202B_200B_206A_206C_206D_202E(object? P_0) + { + return P_0.ToString(); + } + + static StringBuilder? _202D_202B_206A_206E_206A_200E_202D_206B_200F_202E_206B_202D_200E_200B_200B_200E_202C_200F_206C_200D_200C_202D_202A_202B_202C_206B_206F_206D_206E_200F_206D_200F_202C_206B_202E_202A_200E_206C_200F_200C_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } +} diff --git a/Questionable/Questionable.Controller/SeasonalDutyController.cs b/Questionable/Questionable.Controller/SeasonalDutyController.cs index 5b7aa9ed..42c4c660 100644 --- a/Questionable/Questionable.Controller/SeasonalDutyController.cs +++ b/Questionable/Questionable.Controller/SeasonalDutyController.cs @@ -1,28 +1,105 @@ using System; using System.Collections.Generic; using System.Globalization; -using System.Runtime.InteropServices; +using System.Numerics; +using System.Runtime.CompilerServices; 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; internal sealed class SeasonalDutyController : MiniTaskController { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass23_0 + { + public SeasonalDutyController _003C_003E4__this; + + public SeasonalDutyDefinition duty; + + internal bool _003CEnqueueDutyCycle_003Eb__0() + { + return _200C_200D_200B_206D_202E_206E_200B_202A_200C_202D_206E_206B_200D_206F_202E_202D_206D_206B_202A_202D_200C_206B_202A_206A_200F_200D_202A_206B_202D_206F_200C_200D_206E_202B_206F_202D_202B_202D_200E_206B_202E(_003C_003E4__this._clientState) != _202B_206B_206C_202A_206B_202C_200B_200F_200C_200D_200D_206E_206D_206B_206F_206E_200F_206D_200F_202C_206A_202E_200D_206B_202E_202D_200C_206D_206E_202C_206A_202A_202E_206C_202B_202D_200F_206B_200D_202E(_003C_003E4__this._currentDuty); + } + + static uint _200C_200D_200B_206D_202E_206E_200B_202A_200C_202D_206E_206B_200D_206F_202E_202D_206D_206B_202A_202D_200C_206B_202A_206A_200F_200D_202A_206B_202D_206F_200C_200D_206E_202B_206F_202D_202B_202D_200E_206B_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static ushort _202B_206B_206C_202A_206B_202C_200B_200F_200C_200D_200D_206E_206D_206B_206F_206E_200F_206D_200F_202C_206A_202E_200D_206B_202E_202D_200C_206D_206E_202C_206A_202A_202E_206C_202B_202D_200F_206B_200D_202E(SeasonalDutyDefinition P_0) + { + return P_0.DutyTerritoryId; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass23_1 + { + public bool interacted; + + public _003C_003Ec__DisplayClass23_0 CS_0024_003C_003E8__locals1; + + internal bool _003CEnqueueDutyCycle_003Eb__1() + { + int num = ((_206D_206A_206F_200E_200E_206D_202D_200C_200E_202B_206D_200D_202E_200C_206E_206E_202A_202A_206F_206F_200E_206B_206B_206A_206C_202C_200B_206A_206B_206F_200B_206F_200B_200F_202E_202A_200F_202B_206A_206F_202E(CS_0024_003C_003E8__locals1._003C_003E4__this._clientState) != _206F_200F_206C_202A_200E_200E_200E_206A_202C_202E_200D_206B_206D_206D_202E_202E_206F_206E_206F_202A_206D_200E_206A_200D_200D_206E_200F_200D_200F_202E_206D_202A_206D_206E_200C_206E_200E_202D_206C_202A_202E(CS_0024_003C_003E8__locals1._003C_003E4__this._currentDuty)) ? 1413699678 : 1413699677); + while (true) + { + int num2 = num; + int num3 = 1413699679; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1413699677; + break; + case 4: + return false; + case 2: + return true; + case 1: + num = (interacted ? 1413699675 : 1413699676); + break; + case 3: + interacted = CS_0024_003C_003E8__locals1._003C_003E4__this._gameFunctions.InteractWith(_202C_206D_200D_200C_202E_200F_206C_206F_202B_206F_202C_206C_206C_206E_200B_206A_206A_206A_206F_200F_202D_200F_206A_206F_200D_202D_200F_206A_206C_206C_206A_202E_202E_206C_202B_206D_200B_206B_206B_206A_202E(CS_0024_003C_003E8__locals1.duty)); + num = 1413699675; + break; + } + } + } + + static uint _206D_206A_206F_200E_200E_206D_202D_200C_200E_202B_206D_200D_202E_200C_206E_206E_202A_202A_206F_206F_200E_206B_206B_206A_206C_202C_200B_206A_206B_206F_200B_206F_200B_200F_202E_202A_200F_202B_206A_206F_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static ushort _206F_200F_206C_202A_200E_200E_200E_206A_202C_202E_200D_206B_206D_206D_202E_202E_206F_206E_206F_202A_206D_200E_206A_200D_200D_206E_200F_200D_200F_202E_206D_202A_206D_206E_200C_206E_200E_202D_206C_202A_202E(SeasonalDutyDefinition P_0) + { + return P_0.DutyTerritoryId; + } + + static uint _202C_206D_200D_200C_202E_200F_206C_206F_202B_206F_202C_206C_206C_206E_200B_206A_206A_206A_206F_200F_202D_200F_206A_206F_200D_202D_200F_206A_206C_206C_206A_202E_202E_206C_202B_206D_200B_206B_206B_206A_202E(SeasonalDutyDefinition P_0) + { + return P_0.NpcDataId; + } + } + private readonly MovementController _movementController; private readonly GameFunctions _gameFunctions; private readonly IClientState _clientState; - private readonly ILogger _logger; + private readonly SmartNavRouteEnqueuer _routeEnqueuer; private SeasonalDutyDefinition? _currentDuty; @@ -34,6 +111,8 @@ internal sealed class SeasonalDutyController : MiniTaskController _currentDuty != null; + public TaskQueue TaskQueue => _taskQueue; + public SeasonalDutyDefinition? CurrentDuty => _currentDuty; public int CompletedCycles => _completedCycles; @@ -44,127 +123,280 @@ 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; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Start(SeasonalDutyDefinition duty, int? cycleLimit = null) { _currentDuty = duty; _completedCycles = 0; _cycleLimit = cycleLimit; _startTime = DateTime.UtcNow; - _logger.LogInformation("Starting seasonal duty farming: {DutyName} (limit: {Limit})", duty.Name, cycleLimit?.ToString(CultureInfo.InvariantCulture) ?? "unlimited"); + _202A_200D_200F_206C_200B_206E_206F_206D_202C_200B_202D_200B_206D_200E_200E_200C_206D_206E_206D_206F_202D_200C_206A_200E_206D_200F_200C_200C_200C_200D_200E_202A_200D_200C_206C_200C_206C_200D_206D_206A_202E((ILogger)_logger, global::_003CModule_003E._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(116039114), new object[2] + { + _202D_202B_202E_202C_202B_202B_200C_202D_200E_206E_202B_200D_206F_202B_202E_200E_206B_200D_206F_202C_200E_200E_206B_206C_206F_202E_200F_206C_206C_200E_200F_202B_200D_202D_202B_206A_200F_200D_206E_202E(duty), + cycleLimit?.ToString(_206D_202D_200B_202D_200D_200B_206D_200B_200B_202C_200F_206C_202A_202B_206A_202E_206D_202A_206E_202C_206C_206F_206C_202E_202A_202B_202E_206F_200E_206C_206C_206A_202B_200E_206C_200C_202A_206E_206E_202B_202E()) ?? global::_003CModule_003E._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(274217194) + }); EnqueueDutyCycle(); } + [MethodImpl(MethodImplOptions.NoInlining)] public void Update() { - if (_currentDuty == null || _movementController.IsPathfinding || _movementController.IsPathRunning) + int num = ((_currentDuty != null) ? 11397495 : 11397490); + while (true) { - return; - } - if (_taskQueue.AllTasksComplete) - { - _completedCycles++; - if (_cycleLimit.HasValue && _completedCycles >= _cycleLimit.Value) + int num2 = num; + int num3 = 11397493; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _logger.LogInformation("Seasonal duty cycle limit reached ({Cycles}/{Limit})", _completedCycles, _cycleLimit.Value); - Stop("Cycle limit reached"); + case 6: + num = 11397490; + break; + case 8: + _202A_200D_200F_206C_200B_206E_206F_206D_202C_200B_202D_200B_206D_200E_200E_200C_206D_206E_206D_206F_202D_200C_206A_200E_206D_200F_200C_200C_200C_200D_200E_202A_200D_200C_206C_200C_206C_200D_206D_206A_202E((ILogger)_logger, global::_003CModule_003E._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(1317227354), new object[2] { _completedCycles, _cycleLimit.Value }); + Stop(global::_003CModule_003E._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(-443148850)); return; + case 11: + return; + case 5: + return; + case 4: + num = ((!_taskQueue.AllTasksComplete) ? 11397492 : 11397493); + break; + case 10: + EnqueueDutyCycle(); + num = 11397492; + break; + case 12: + num = ((!_gameFunctions.IsOccupied()) ? 11397489 : 11397502); + break; + case 2: + num = (_movementController.IsPathfinding ? 11397488 : 11397494); + break; + case 1: + UpdateCurrentTask(); + return; + case 7: + return; + case 0: + { + int completedCycles = _completedCycles; + num3 = 1; + num4 = completedCycles; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + _completedCycles = num7 + (num8 + num8); + num = ((!_cycleLimit.HasValue) ? 11397503 : 11397500); + break; + } + case 3: + num = ((!_movementController.IsPathRunning) ? 11397497 : 11397488); + break; + case 9: + num = ((_completedCycles < _cycleLimit.Value) ? 11397503 : 11397501); + break; } - EnqueueDutyCycle(); } - UpdateCurrentTask(); } + [MethodImpl(MethodImplOptions.NoInlining)] private void EnqueueDutyCycle() { - if (_currentDuty == null) + int num = ((_currentDuty != null) ? (-363396158) : (-363396154)); + SeasonalDutyDefinition duty = default(SeasonalDutyDefinition); + while (true) { - return; - } - SeasonalDutyDefinition duty = _currentDuty; - _logger.LogInformation("Enqueuing seasonal duty cycle for {DutyName}", duty.Name); - if (_clientState.TerritoryType != duty.DutyTerritoryId) - { - if (_clientState.TerritoryType != duty.TerritoryId) + int num2 = num; + int num3 = -363396158; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - _taskQueue.Enqueue(new AetheryteShortcut.Task(null, null, duty.Aetheryte, duty.TerritoryId)); - } - if (duty.AethernetShortcut != null) + case 2: + num = -363396154; + break; + case 4: + return; + case 1: { - _taskQueue.Enqueue(new AethernetShortcut.Task(duty.AethernetShortcut.From, duty.AethernetShortcut.To)); - } - _taskQueue.Enqueue(new MoveTask(duty.TerritoryId, duty.NpcPosition, null, 3f)); - _taskQueue.Enqueue(new Mount.UnmountTask()); - bool interacted = false; - _taskQueue.Enqueue(new WaitCondition.Task(delegate - { - if (_clientState.TerritoryType == _currentDuty.DutyTerritoryId) + _routeEnqueuer.Enqueue(_taskQueue, _200E_202B_202B_206F_202B_202A_200E_200F_200B_200E_202C_206B_206E_202E_200D_206B_200D_202C_206E_200D_200B_200B_202C_206C_206C_202E_200D_202E_200B_200D_206E_206B_202E_202D_200F_202D_202C_206C_206B_200D_202E(duty), _202B_202A_202B_202B_206E_200E_202E_206A_200D_206A_202E_200E_200B_206B_206E_200B_202D_200F_206E_202B_200B_206D_206C_206F_206B_202C_200E_200B_200B_200B_206C_206D_202B_206A_200F_202B_206F_200C_206B_202C_202E(duty)); + _taskQueue.Enqueue(new Mount.UnmountTask()); + bool interacted = false; + TaskQueue taskQueue = _taskQueue; + Func predicate = delegate { - return true; - } - if (!interacted) - { - interacted = _gameFunctions.InteractWith(duty.NpcDataId); - } - return false; - }, $"InteractAndWait(territory: {duty.DutyTerritoryId})")); + int num5 = ((_003C_003Ec__DisplayClass23_1._206D_206A_206F_200E_200E_206D_202D_200C_200E_202B_206D_200D_202E_200C_206E_206E_202A_202A_206F_206F_200E_206B_206B_206A_206C_202C_200B_206A_206B_206F_200B_206F_200B_200F_202E_202A_200F_202B_206A_206F_202E(_clientState) != _003C_003Ec__DisplayClass23_1._206F_200F_206C_202A_200E_200E_200E_206A_202C_202E_200D_206B_206D_206D_202E_202E_206F_206E_206F_202A_206D_200E_206A_200D_200D_206E_200F_200D_200F_202E_206D_202A_206D_206E_200C_206E_200E_202D_206C_202A_202E(_currentDuty)) ? 1413699678 : 1413699677); + while (true) + { + int num6 = num5; + int num7 = 1413699679; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + switch (num9 - (num10 + num10)) + { + case 0: + num5 = 1413699677; + break; + case 4: + return false; + case 2: + return true; + case 1: + num5 = (interacted ? 1413699675 : 1413699676); + break; + case 3: + interacted = _gameFunctions.InteractWith(_003C_003Ec__DisplayClass23_1._202C_206D_200D_200C_202E_200F_206C_206F_202B_206F_202C_206C_206C_206E_200B_206A_206A_206A_206F_200F_202D_200F_206A_206F_200D_202D_200F_206A_206C_206C_206A_202E_202E_206C_202B_206D_200B_206B_206B_206A_202E(duty)); + num5 = 1413699675; + break; + } + } + }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(28, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-439033438)); + defaultInterpolatedStringHandler.AppendFormatted(_200E_200C_200B_202A_202B_200E_200C_200D_200D_202B_200E_200F_200F_202B_200C_202B_202C_202D_202B_202E_202D_202A_206E_202D_206A_206B_200D_206B_200E_202A_206F_200B_206D_206F_206F_200F_200D_202C_202E_202E(duty)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + taskQueue.Enqueue(new WaitCondition.Task(predicate, defaultInterpolatedStringHandler.ToStringAndClear())); + num = -363396159; + break; + } + case 3: + _taskQueue.Enqueue(new ClearObjectsWithAction.ClearTask(_206C_206A_202C_202D_202E_200F_200B_200F_206E_202E_200E_202E_206E_206B_200F_206C_206E_202B_202B_200D_200C_206A_200D_200F_206C_206D_200E_202D_206F_200E_206A_206C_206E_202A_202E_206A_200E_200F_206A_206B_202E(duty), _200F_202B_206A_202A_200E_200F_200B_206E_200B_206F_202C_200E_206C_202E_202E_200C_200E_200C_206B_202B_206A_206A_200B_202B_206D_202D_206E_206F_200B_200F_202E_206A_206E_206F_202B_202E_200F_206D_206B_206B_202E(duty), _200E_200C_200B_202A_202B_200E_200C_200D_200D_202B_200E_200F_200F_202B_200C_202B_202C_202D_202B_202E_202D_202A_206E_202D_206A_206B_200D_206B_200E_202A_206F_200B_206D_206F_206F_200F_200D_202C_202E_202E(duty), _206D_206F_202E_200F_200E_200F_202A_206C_206B_202B_206A_206C_200D_206F_206F_206C_200B_206A_202C_206D_202E_202B_206C_206D_206F_206F_202C_206E_206F_206E_200C_202E_200F_200F_200C_206B_202D_202D_202D_200F_202E(duty), _200C_202C_200C_202A_206F_206E_200F_202C_206A_202C_200B_200D_202D_202A_206E_206E_206F_202B_202E_206F_202A_202B_200F_200B_206B_206B_200C_202B_206C_202C_202D_206D_202B_206B_200E_200D_202A_202D_202E_200C_202E(duty))); + _taskQueue.Enqueue(new WaitCondition.Task(() => _003C_003Ec__DisplayClass23_0._200C_200D_200B_206D_202E_206E_200B_202A_200C_202D_206E_206B_200D_206F_202E_202D_206D_206B_202A_202D_200C_206B_202A_206A_200F_200D_202A_206B_202D_206F_200C_200D_206E_202B_206F_202D_202B_202D_200E_206B_202E(_clientState) != _003C_003Ec__DisplayClass23_0._202B_206B_206C_202A_206B_202C_200B_200F_200C_200D_200D_206E_206D_206B_206F_206E_200F_206D_200F_202C_206A_202E_200D_206B_202E_202D_200C_206D_206E_202C_206A_202A_202E_206C_202B_202D_200F_206B_200D_202E(_currentDuty), global::_003CModule_003E._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(1272006970))); + _taskQueue.Enqueue(new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(3L))); + return; + case 0: + duty = _currentDuty; + _206C_200B_206D_200F_206F_200B_206A_202C_206B_200C_206B_202C_200B_206E_202D_200E_206C_206B_200B_202C_200B_202D_206C_206D_200E_206A_200F_200B_206B_200F_202D_202B_200B_200F_206E_206D_206A_206F_206C_200E_202E((ILogger)_logger, global::_003CModule_003E._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(1169265253), new object[1] { _202D_202B_202E_202C_202B_202B_200C_202D_200E_206E_202B_200D_206F_202B_202E_200E_206B_200D_206F_202C_200E_200E_206B_206C_206F_202E_200F_206C_206C_200E_200F_202B_200D_202D_202B_206A_200F_200D_206E_202E(duty) }); + num = ((_206B_206B_206A_206B_206B_206A_200E_206B_206C_206F_200C_200D_202C_206E_200D_200C_206F_206E_206B_202C_206A_202C_202C_206B_202B_206C_202C_200C_200B_200C_202B_202D_206A_200F_200F_202E_202B_200F_206F_200D_202E(_clientState) == _200E_200C_200B_202A_202B_200E_200C_200D_200D_202B_200E_200F_200F_202B_200C_202B_202C_202D_202B_202E_202D_202A_206E_202D_206A_206B_200D_206B_200E_202A_206F_200B_206D_206F_206F_200F_200D_202C_202E_202E(duty)) ? (-363396159) : (-363396157)); + break; + } } - _taskQueue.Enqueue(new ClearObjectsWithAction.ClearTask(duty.DataIds, duty.Action, duty.DutyTerritoryId, duty.StopDistance, duty.WaypointPositions)); - _taskQueue.Enqueue(new WaitCondition.Task(() => _clientState.TerritoryType != _currentDuty.DutyTerritoryId, "Wait(duty end)")); - _taskQueue.Enqueue(new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(3L))); } + [MethodImpl(MethodImplOptions.NoInlining)] public override void Stop(string label) { - if (_currentDuty != null) + base.Stop(label); + int num = ((_currentDuty == null) ? (-485245230) : (-485245231)); + while (true) { - _logger.LogInformation("Stopping seasonal duty farming: {Label} (completed {Cycles} cycles)", label, _completedCycles); - _currentDuty = null; - _completedCycles = 0; - _cycleLimit = null; - _taskQueue.Reset(); + int num2 = num; + int num3 = -485245232; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -485245231; + break; + case 1: + _202A_200D_200F_206C_200B_206E_206F_206D_202C_200B_202D_200B_206D_200E_200E_200C_206D_206E_206D_206F_202D_200C_206A_200E_206D_200F_200C_200C_200C_200D_200E_202A_200D_200C_206C_200C_206C_200D_206D_206A_202E((ILogger)_logger, global::_003CModule_003E._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(478807852), new object[2] { label, _completedCycles }); + _routeEnqueuer.ClearDestination(); + _currentDuty = null; + _completedCycles = 0; + _cycleLimit = null; + _taskQueue.Reset(); + num = -485245230; + break; + case 2: + return; + } } } - public override IList GetRemainingTaskNames() + static string _202D_202B_202E_202C_202B_202B_200C_202D_200E_206E_202B_200D_206F_202B_202E_200E_206B_200D_206F_202C_200E_200E_206B_206C_206F_202E_200F_206C_206C_200E_200F_202B_200D_202D_202B_206A_200F_200D_206E_202E(SeasonalDutyDefinition P_0) { - 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(); + return P_0.Name; + } + + static CultureInfo _206D_202D_200B_202D_200D_200B_206D_200B_200B_202C_200F_206C_202A_202B_206A_202E_206D_202A_206E_202C_206C_206F_206C_202E_202A_202B_202E_206F_200E_206C_206C_206A_202B_200E_206C_200C_202A_206E_206E_202B_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _202A_200D_200F_206C_200B_206E_206F_206D_202C_200B_202D_200B_206D_200E_200E_200C_206D_206E_206D_206F_202D_200C_206A_200E_206D_200F_200C_200C_200C_200D_200E_202A_200D_200C_206C_200C_206C_200D_206D_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _206C_200B_206D_200F_206F_200B_206A_202C_206B_200C_206B_202C_200B_206E_202D_200E_206C_206B_200B_202C_200B_202D_206C_206D_200E_206A_200F_200B_206B_200F_202D_202B_200B_200F_206E_206D_206A_206F_206C_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static uint _206B_206B_206A_206B_206B_206A_200E_206B_206C_206F_200C_200D_202C_206E_200D_200C_206F_206E_206B_202C_206A_202C_202C_206B_202B_206C_202C_200C_200B_200C_202B_202D_206A_200F_200F_202E_202B_200F_206F_200D_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static ushort _200E_200C_200B_202A_202B_200E_200C_200D_200D_202B_200E_200F_200F_202B_200C_202B_202C_202D_202B_202E_202D_202A_206E_202D_206A_206B_200D_206B_200E_202A_206F_200B_206D_206F_206F_200F_200D_202C_202E_202E(SeasonalDutyDefinition P_0) + { + return P_0.DutyTerritoryId; + } + + static ushort _200E_202B_202B_206F_202B_202A_200E_200F_200B_200E_202C_206B_206E_202E_200D_206B_200D_202C_206E_200D_200B_200B_202C_206C_206C_202E_200D_202E_200B_200D_206E_206B_202E_202D_200F_202D_202C_206C_206B_200D_202E(SeasonalDutyDefinition P_0) + { + return P_0.TerritoryId; + } + + static Vector3 _202B_202A_202B_202B_206E_200E_202E_206A_200D_206A_202E_200E_200B_206B_206E_200B_202D_200F_206E_202B_200B_206D_206C_206F_206B_202C_200E_200B_200B_200B_206C_206D_202B_206A_200F_202B_206F_200C_206B_202C_202E(SeasonalDutyDefinition P_0) + { + return P_0.NpcPosition; + } + + static List _206C_206A_202C_202D_202E_200F_200B_200F_206E_202E_200E_202E_206E_206B_200F_206C_206E_202B_202B_200D_200C_206A_200D_200F_206C_206D_200E_202D_206F_200E_206A_206C_206E_202A_202E_206A_200E_200F_206A_206B_202E(SeasonalDutyDefinition P_0) + { + return P_0.DataIds; + } + + static EAction _200F_202B_206A_202A_200E_200F_200B_206E_200B_206F_202C_200E_206C_202E_202E_200C_200E_200C_206B_202B_206A_206A_200B_202B_206D_202D_206E_206F_200B_200F_202E_206A_206E_206F_202B_202E_200F_206D_206B_206B_202E(SeasonalDutyDefinition P_0) + { + return P_0.Action; + } + + static float _206D_206F_202E_200F_200E_200F_202A_206C_206B_202B_206A_206C_200D_206F_206F_206C_200B_206A_202C_206D_202E_202B_206C_206D_206F_206F_202C_206E_206F_206E_200C_202E_200F_200F_200C_206B_202D_202D_202D_200F_202E(SeasonalDutyDefinition P_0) + { + return P_0.StopDistance; + } + + static List _200C_202C_200C_202A_206F_206E_200F_202C_206A_202C_200B_200D_202D_202A_206E_206E_206F_202B_202E_206F_202A_202B_200F_200B_206B_206B_200C_202B_206C_202C_202D_206D_202B_206B_200E_200D_202A_202D_202E_200C_202E(SeasonalDutyDefinition P_0) + { + return P_0.WaypointPositions; } } diff --git a/Questionable/Questionable.Controller/SeasonalDutyDefinitionRegistry.cs b/Questionable/Questionable.Controller/SeasonalDutyDefinitionRegistry.cs index 17259b58..ab500897 100644 --- a/Questionable/Questionable.Controller/SeasonalDutyDefinitionRegistry.cs +++ b/Questionable/Questionable.Controller/SeasonalDutyDefinitionRegistry.cs @@ -1,148 +1,78 @@ -#define RELEASE using System; using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Text.Json; +using System.Runtime.CompilerServices; 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; - - private readonly ILogger _logger; - - private readonly Dictionary _definitions = new Dictionary(); - - public IReadOnlyDictionary Definitions => _definitions; - - public SeasonalDutyDefinitionRegistry(IDalamudPluginInterface pluginInterface, ILogger logger) + protected override string TypeLabel { - _pluginInterface = pluginInterface; - _logger = logger; - Reload(); - } - - public void Reload() - { - _definitions.Clear(); - LoadFromAssembly(); - try + [MethodImpl(MethodImplOptions.NoInlining)] + get { - 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); - } - - [Conditional("RELEASE")] - private void LoadFromAssembly() - { - _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); - } - - [Conditional("DEBUG")] - private void LoadFromProjectDirectory() - { - 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"); - } + return global::_003CModule_003E._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(-1124229794); } } - private void LoadFromDirectory(DirectoryInfo directory) + protected override string ConfigDirectoryName { - if (!directory.Exists) + [MethodImpl(MethodImplOptions.NoInlining)] + get { - _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); - } + return global::_003CModule_003E._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(393634060); } } - private void RemoveExpiredDefinitions() + protected override string ProjectDirectoryName { - 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()) + [MethodImpl(MethodImplOptions.NoInlining)] + get { - _logger.LogInformation("Removing expired seasonal duty definition {Id} '{Name}'", item, _definitions[item].Name); - _definitions.Remove(item); + return global::_003CModule_003E._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(-1200839821); } } - private static ushort? ExtractIdFromName(string fileName) + protected override EPathType PathType => EPathType.SeasonalDuty; + + public SeasonalDutyDefinitionRegistry(IDalamudPluginInterface pluginInterface, SeasonalDutySchemaValidator seasonalDutySchemaValidator, QuestValidator questValidator, ILogger logger) + : base(pluginInterface, (IDefinitionSchemaValidator)seasonalDutySchemaValidator, questValidator, (ILogger)logger) { - 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; + } + + protected override IReadOnlyDictionary GetAssemblyDefinitions() + { + return _206F_206D_202B_206C_202C_206F_206C_200C_202A_200F_200E_202E_206B_200F_206C_202E_202A_206F_202A_206D_206D_202D_200E_206F_200E_206E_206C_206D_202E_206F_202A_202B_200D_206C_202C_206B_200C_202A_206A_202E(); + } + + protected override DateTime? GetExpiry(SeasonalDutyDefinition definition) + { + return _206D_206E_202D_206B_200B_202E_202E_200E_206C_202C_202C_200C_202A_202C_206E_206A_202B_206D_206E_206B_202D_200C_206C_206F_200B_202E_206F_206E_202D_202E_202B_202C_200C_206E_200D_202D_202E_200E_206B_202E(definition); + } + + protected override string? GetName(SeasonalDutyDefinition definition) + { + return _200E_202A_200E_202E_202D_206B_202D_200F_200C_206E_206F_206A_200C_202D_206A_200F_206F_202C_202C_200F_202D_206D_200E_200B_206A_200D_202A_202D_200F_200F_206A_200E_200B_200C_200B_202D_200C_200C_206D_200C_202E(definition); + } + + static IReadOnlyDictionary _206F_206D_202B_206C_202C_206F_206C_200C_202A_200F_200E_202E_206B_200F_206C_202E_202A_206F_202A_206D_206D_202D_200E_206F_200E_206E_206C_206D_202E_206F_202A_202B_200D_206C_202C_206B_200C_202A_206A_202E() + { + return AssemblySeasonalDutyDefinitionLoader.GetDefinitions(); + } + + static DateTime? _206D_206E_202D_206B_200B_202E_202E_200E_206C_202C_202C_200C_202A_202C_206E_206A_202B_206D_206E_206B_202D_200C_206C_206F_200B_202E_206F_206E_202D_202E_202B_202C_200C_206E_200D_202D_202E_200E_206B_202E(SeasonalDutyDefinition P_0) + { + return P_0.EventExpiry; + } + + static string _200E_202A_200E_202E_202D_206B_202D_200F_200C_206E_206F_206A_200C_202D_206A_200F_206F_202C_202C_200F_202D_206D_200E_200B_206A_200D_202A_202D_200F_200F_206A_200E_200B_200C_200B_202D_200C_200C_206D_200C_202E(SeasonalDutyDefinition P_0) + { + return P_0.Name; } } diff --git a/Questionable/Questionable.Data/AetherCurrentData.cs b/Questionable/Questionable.Data/AetherCurrentData.cs index 0fafcc92..f3dafc4c 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,24 +11,198 @@ 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 x).ToImmutableDictionary((AetherCurrentCompFlgSet x) => (ushort)x.Territory.RowId, (AetherCurrentCompFlgSet x) => (from y in x.AetherCurrents.Where(delegate(RowRef y) + { + int num = ((y.RowId == 0) ? (-280991559) : (-280991560)); + while (true) + { + int num2 = num; + int num3 = -280991559; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004b; + case 0: + return false; + case 1: + return y.Value.Quest.RowId == 0; + } + continue; + IL_004b: + num = -280991560; + } + }) 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) { - if (_overworldCurrents.TryGetValue(territoryId, out ImmutableList value)) + ImmutableList value; + int num = ((!_overworldCurrents.TryGetValue(territoryId, out value)) ? (-1647784992) : (-1647784989)); + while (true) { - return value.Contains(aetherCurrentId); + int num2 = num; + int num3 = -1647784990; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0050; + case 1: + return value.Contains(aetherCurrentId); + case 2: + return false; + } + continue; + IL_0050: + num = -1647784989; } - 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(); + using (ExcelSheet.Enumerator enumerator = _dataManager.GetExcelSheet().GetEnumerator()) + { + int num = -379834335; + uint rowId = default(uint); + EObj current = default(EObj); + while (true) + { + int num2 = num; + int num3 = -379834333; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = (enumerator.MoveNext() ? (-379834334) : (-379834330)); + break; + case 0: + dictionary[rowId] = current.RowId; + num = -379834335; + break; + case 1: + current = enumerator.Current; + num = ((current.RowId == 0) ? (-379834335) : (-379834336)); + break; + case 3: + rowId = current.Data.RowId; + num = ((rowId == 0) ? (-379834335) : (-379834331)); + break; + case 6: + num = ((!hashSet.Contains(rowId)) ? (-379834335) : (-379834333)); + break; + case 4: + num = -379834335; + break; + case 5: + goto end_IL_0067; + } + continue; + end_IL_0067: + break; + } + } + Dictionary dictionary2 = dictionary.ToDictionary((KeyValuePair kv) => kv.Value, (KeyValuePair kv) => kv.Key); + ImmutableDictionary.Builder builder = ImmutableDictionary.CreateBuilder(); + using (ExcelSheet.Enumerator enumerator2 = _dataManager.GetExcelSheet().GetEnumerator()) + { + int num = 366195363; + Level current2 = default(Level); + uint value = default(uint); + uint rowId2 = default(uint); + while (true) + { + int num5 = num; + int num3 = 366195366; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 6: + num = 366195363; + break; + case 2: + current2 = enumerator2.Current; + num = ((current2.RowId == 0) ? 366195363 : 366195367); + break; + case 3: + { + ushort territoryId = (ushort)current2.Territory.RowId; + Vector3 position = new Vector3(current2.X, current2.Y, current2.Z); + builder[value] = new AetherCurrentPosition(territoryId, position, rowId2); + num = 366195363; + break; + } + case 1: + rowId2 = current2.Object.RowId; + num = ((!dictionary2.TryGetValue(rowId2, out value)) ? 366195363 : 366195366); + break; + case 0: + num = ((!current2.Territory.IsValid) ? 366195363 : 366195365); + break; + case 5: + num = (enumerator2.MoveNext() ? 366195364 : 366195362); + break; + case 4: + goto end_IL_01ff; + } + continue; + end_IL_01ff: + break; + } + } + return builder.ToImmutable(); } } diff --git a/Questionable/Questionable.Data/AetherCurrentInfo.cs b/Questionable/Questionable.Data/AetherCurrentInfo.cs new file mode 100644 index 00000000..a487dc67 --- /dev/null +++ b/Questionable/Questionable.Data/AetherCurrentInfo.cs @@ -0,0 +1,143 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace Questionable.Data; + +internal sealed record AetherCurrentInfo(uint AetherCurrentId, bool IsQuestGated, uint QuestId) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_202E_200F_200C_200C_206D_206C_206C_206B_206B_202C_206C_200F_202D_206D_202B_206D_200C_202B_206F_206A_206C_206A_200E_200B_206B_206F_200D_206A_200F_202E_206E_202E_202E_202D_206D_202E_206F_200E_206E_202E(typeof(AetherCurrentInfo).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202E_200C_200E_200C_206C_202D_206C_200E_206E_206B_206A_200D_202B_206D_206A_206C_200D_206D_200D_202B_200E_202A_202E_202A_206D_202E_200D_202D_206B_206D_202C_202B_206E_202C_206A_200B_206E_202D_206D_202E(); + _206B_206D_206E_202E_200D_206D_202A_202E_202E_202D_200C_200D_202E_206C_206F_206E_206F_202C_202C_202E_200D_200E_202E_200E_202C_202E_200E_200F_200D_200B_202D_202A_200C_200F_206E_202B_200D_206C_206B_202D_202E(stringBuilder, global::_003CModule_003E._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(-746982059)); + _206B_206D_206E_202E_200D_206D_202A_202E_202E_202D_200C_200D_202E_206C_206F_206E_206F_202C_202C_202E_200D_200E_202E_200E_202C_202E_200E_200F_200D_200B_202D_202A_200C_200F_206E_202B_200D_206C_206B_202D_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? (-384095084) : (-384095081)); + while (true) + { + int num2 = num; + int num3 = -384095082; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -384095081; + break; + case 2: + _206E_200C_202D_206A_200F_206F_206E_200F_206D_206C_202C_202E_206B_206A_200F_200D_202E_202C_200E_202D_200B_206E_202A_206C_202B_200D_200B_202C_206C_206A_200D_200F_202D_202B_206D_202A_206C_200D_200D_206B_202E(stringBuilder, '}'); + return _200B_202D_206E_202E_206D_200F_206A_206F_202B_202B_200D_206C_206B_206A_200C_206A_202D_200B_200B_200D_200B_206F_206A_202A_202E_200E_202A_200F_202C_206E_200D_202E_202E_200F_206D_202A_206A_206E_202B_206A_202E((object)stringBuilder); + case 1: + _206E_200C_202D_206A_200F_206F_206E_200F_206D_206C_202C_202E_206B_206A_200F_200D_202E_202C_200E_202D_200B_206E_202A_206C_202B_200D_200B_202C_206C_206A_200D_200F_202D_202B_206D_202A_206C_200D_200D_206B_202E(stringBuilder, ' '); + num = -384095084; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206F_206E_202E_200D_206B_206A_200F_206F_206F_202D_200B_202D_202C_206F_202C_202C_202A_200B_200D_206D_206F_202E_206A_202C_206C_206D_200C_200D_206B_206A_206B_206C_202C_200E_200D_202A_202B_206A_202E_200F_202E(); + _206B_206D_206E_202E_200D_206D_202A_202E_202E_202D_200C_200D_202E_206C_206F_206E_206F_202C_202C_202E_200D_200E_202E_200E_202C_202E_200E_200F_200D_200B_202D_202A_200C_200F_206E_202B_200D_206C_206B_202D_202E(builder, global::_003CModule_003E._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(-981742792)); + _206B_206D_206E_202E_200D_206D_202A_202E_202E_202D_200C_200D_202E_206C_206F_206E_206F_202C_202C_202E_200D_200E_202E_200E_202C_202E_200E_200F_200D_200B_202D_202A_200C_200F_206E_202B_200D_206C_206B_202D_202E(builder, AetherCurrentId.ToString()); + _206B_206D_206E_202E_200D_206D_202A_202E_202E_202D_200C_200D_202E_206C_206F_206E_206F_202C_202C_202E_200D_200E_202E_200E_202C_202E_200E_200F_200D_200B_202D_202A_200C_200F_206E_202B_200D_206C_206B_202D_202E(builder, global::_003CModule_003E._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(-823827738)); + _206B_206D_206E_202E_200D_206D_202A_202E_202E_202D_200C_200D_202E_206C_206F_206E_206F_202C_202C_202E_200D_200E_202E_200E_202C_202E_200E_200F_200D_200B_202D_202A_200C_200F_206E_202B_200D_206C_206B_202D_202E(builder, IsQuestGated.ToString()); + _206B_206D_206E_202E_200D_206D_202A_202E_202E_202D_200C_200D_202E_206C_206F_206E_206F_202C_202C_202E_200D_200E_202E_200E_202C_202E_200E_200F_200D_200B_202D_202A_200C_200F_206E_202B_200D_206C_206B_202D_202E(builder, global::_003CModule_003E._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(-1358173620)); + _206B_206D_206E_202E_200D_206D_202A_202E_202E_202D_200C_200D_202E_206C_206F_206E_206F_202C_202C_202E_200D_200E_202E_200E_202C_202E_200E_200F_200D_200B_202D_202A_200C_200F_206E_202B_200D_206C_206B_202D_202E(builder, QuestId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(AetherCurrentInfo? other) + { + int num = (((object)this == other) ? (-291635662) : (-291635660)); + while (true) + { + int num2 = num; + int num3 = -291635658; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = ((!_202E_200D_206B_206D_206C_200F_202B_206B_200D_200E_206E_206D_202B_200B_206D_202E_206A_206B_206F_200E_202E_206B_202D_206A_206E_202D_202E_206B_202E_200E_202A_202E_202C_202B_202A_206D_206A_202C_200D_206D_202E(EqualityContract, other.EqualityContract)) ? (-291635663) : (-291635664)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(AetherCurrentId, other.AetherCurrentId)) ? (-291635663) : (-291635657)); + break; + case 7: + return false; + case 2: + num = (((object)other == null) ? (-291635663) : (-291635659)); + break; + case 0: + num = -291635660; + break; + case 1: + num = ((!EqualityComparer.Default.Equals(IsQuestGated, other.IsQuestGated)) ? (-291635663) : (-291635661)); + break; + case 4: + return true; + case 5: + return EqualityComparer.Default.Equals(QuestId, other.QuestId); + } + } + } + + bool IEquatable.Equals(AetherCurrentInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_202E_200F_200C_200C_206D_206C_206C_206B_206B_202C_206C_200F_202D_206D_202B_206D_200C_202B_206F_206A_206C_206A_200E_200B_206B_206F_200D_206A_200F_202E_206E_202E_202E_202D_206D_202E_206F_200E_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202E_200C_200E_200C_206C_202D_206C_200E_206E_206B_206A_200D_202B_206D_206A_206C_200D_206D_200D_202B_200E_202A_202E_202A_206D_202E_200D_202D_206B_206D_202C_202B_206E_202C_206A_200B_206E_202D_206D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206B_206D_206E_202E_200D_206D_202A_202E_202E_202D_200C_200D_202E_206C_206F_206E_206F_202C_202C_202E_200D_200E_202E_200E_202C_202E_200E_200F_200D_200B_202D_202A_200C_200F_206E_202B_200D_206C_206B_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206E_200C_202D_206A_200F_206F_206E_200F_206D_206C_202C_202E_206B_206A_200F_200D_202E_202C_200E_202D_200B_206E_202A_206C_202B_200D_200B_202C_206C_206A_200D_200F_202D_202B_206D_202A_206C_200D_200D_206B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_202D_206E_202E_206D_200F_206A_206F_202B_202B_200D_206C_206B_206A_200C_206A_202D_200B_200B_200D_200B_206F_206A_202A_202E_200E_202A_200F_202C_206E_200D_202E_202E_200F_206D_202A_206A_206E_202B_206A_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206F_206E_202E_200D_206B_206A_200F_206F_206F_202D_200B_202D_202C_206F_202C_202C_202A_200B_200D_206D_206F_202E_206A_202C_206C_206D_200C_200D_206B_206A_206B_206C_202C_200E_200D_202A_202B_206A_202E_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _202E_200D_206B_206D_206C_200F_202B_206B_200D_200E_206E_206D_202B_200B_206D_202E_206A_206B_206F_200E_202E_206B_202D_206A_206E_202D_202E_206B_202E_200E_202A_202E_202C_202B_202A_206D_206A_202C_200D_206D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Data/AetherCurrentPosition.cs b/Questionable/Questionable.Data/AetherCurrentPosition.cs new file mode 100644 index 00000000..99eb8e07 --- /dev/null +++ b/Questionable/Questionable.Data/AetherCurrentPosition.cs @@ -0,0 +1,144 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace Questionable.Data; + +internal sealed record AetherCurrentPosition(ushort TerritoryId, Vector3 Position, uint DataId) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_202C_202C_206A_202C_200B_202A_202C_202D_200D_200B_202C_200B_200F_206D_200B_206F_200E_200F_200E_206C_200B_200D_206A_206A_202B_200E_202D_206C_202B_206B_202E_202D_202E_202D_200E_202D_206F_202B_202C_202E(typeof(AetherCurrentPosition).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_200F_200F_200C_206F_206E_200C_202A_200D_206F_206A_206A_206F_202B_206F_202A_206C_206B_202D_206C_206F_200F_200D_206D_200F_206E_206E_200B_206B_202B_206B_200E_202C_200C_202C_200E_202C_202B_206C_202C_202E(); + _206A_200D_206B_200D_200E_206A_206A_200E_202D_206A_202D_200B_206A_202E_202C_200B_202D_206C_206A_202E_206C_206F_202B_206B_206F_200C_206A_202C_202D_202A_200C_200B_206A_202E_206D_206E_200E_206D_202D_206E_202E(stringBuilder, global::_003CModule_003E._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(-2070971433)); + _206A_200D_206B_200D_200E_206A_206A_200E_202D_206A_202D_200B_206A_202E_202C_200B_202D_206C_206A_202E_206C_206F_202B_206B_206F_200C_206A_202C_202D_202A_200C_200B_206A_202E_206D_206E_200E_206D_202D_206E_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? 1289693343 : 1289693340); + while (true) + { + int num2 = num; + int num3 = 1289693341; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1289693340; + break; + case 1: + _202C_202E_200D_206C_202B_202B_206F_200E_206A_200C_202A_202C_206F_202A_202D_200D_200E_206A_206C_206C_200B_206C_200C_202C_202E_202D_202D_200C_206F_202C_200E_206E_206D_206E_202C_206A_200E_202B_206F_200D_202E(stringBuilder, ' '); + num = 1289693343; + break; + case 2: + _202C_202E_200D_206C_202B_202B_206F_200E_206A_200C_202A_202C_206F_202A_202D_200D_200E_206A_206C_206C_200B_206C_200C_202C_202E_202D_202D_200C_206F_202C_200E_206E_206D_206E_202C_206A_200E_202B_206F_200D_202E(stringBuilder, '}'); + return _200E_206B_202C_206D_200F_206E_200F_206B_202B_202E_206F_202C_206B_202B_206C_200B_200F_200D_200C_200E_200D_200B_202E_200B_206E_200E_200D_200C_206A_206F_200D_206A_200C_206C_202D_200D_206C_202C_206F_202C_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_200E_206E_206D_206D_200D_200B_200F_200C_202B_206B_200C_202C_200E_202D_202C_206E_206D_200C_206B_206F_202E_206D_200B_206D_206D_202C_202B_206E_206B_200C_200E_202A_202E_202B_200C_206B_206E_200D_206C_202E(); + _206A_200D_206B_200D_200E_206A_206A_200E_202D_206A_202D_200B_206A_202E_202C_200B_202D_206C_206A_202E_206C_206F_202B_206B_206F_200C_206A_202C_202D_202A_200C_200B_206A_202E_206D_206E_200E_206D_202D_206E_202E(builder, global::_003CModule_003E._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(-1030915870)); + _206A_200D_206B_200D_200E_206A_206A_200E_202D_206A_202D_200B_206A_202E_202C_200B_202D_206C_206A_202E_206C_206F_202B_206B_206F_200C_206A_202C_202D_202A_200C_200B_206A_202E_206D_206E_200E_206D_202D_206E_202E(builder, TerritoryId.ToString()); + _206A_200D_206B_200D_200E_206A_206A_200E_202D_206A_202D_200B_206A_202E_202C_200B_202D_206C_206A_202E_206C_206F_202B_206B_206F_200C_206A_202C_202D_202A_200C_200B_206A_202E_206D_206E_200E_206D_202D_206E_202E(builder, global::_003CModule_003E._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(-485383452)); + _206A_200D_206B_200D_200E_206A_206A_200E_202D_206A_202D_200B_206A_202E_202C_200B_202D_206C_206A_202E_206C_206F_202B_206B_206F_200C_206A_202C_202D_202A_200C_200B_206A_202E_206D_206E_200E_206D_202D_206E_202E(builder, Position.ToString()); + _206A_200D_206B_200D_200E_206A_206A_200E_202D_206A_202D_200B_206A_202E_202C_200B_202D_206C_206A_202E_206C_206F_202B_206B_206F_200C_206A_202C_202D_202A_200C_200B_206A_202E_206D_206E_200E_206D_202D_206E_202E(builder, global::_003CModule_003E._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(861260285)); + _206A_200D_206B_200D_200E_206A_206A_200E_202D_206A_202D_200B_206A_202E_202C_200B_202D_206C_206A_202E_206C_206F_202B_206B_206F_200C_206A_202C_202D_202A_200C_200B_206A_202E_206D_206E_200E_206D_202D_206E_202E(builder, DataId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(AetherCurrentPosition? other) + { + int num = (((object)this == other) ? (-861681975) : (-861681973)); + while (true) + { + int num2 = num; + int num3 = -861681974; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? (-861681972) : (-861681969)); + break; + case 6: + return false; + case 7: + return EqualityComparer.Default.Equals(DataId, other.DataId); + case 5: + num = ((!EqualityComparer.Default.Equals(Position, other.Position)) ? (-861681972) : (-861681971)); + break; + case 0: + num = -861681973; + break; + case 4: + num = ((!_206A_202D_202C_206C_206B_206A_202D_202A_200B_206D_200C_200E_202E_200B_202B_206F_206E_202E_206E_206A_202A_200D_200D_206A_200B_206D_200D_200E_200B_206F_200E_200B_200E_206D_202D_206C_206D_200B_200D_206F_202E(EqualityContract, other.EqualityContract)) ? (-861681972) : (-861681976)); + break; + case 3: + return true; + case 1: + num = (((object)other == null) ? (-861681972) : (-861681970)); + break; + } + } + } + + bool IEquatable.Equals(AetherCurrentPosition? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_202C_202C_206A_202C_200B_202A_202C_202D_200D_200B_202C_200B_200F_206D_200B_206F_200E_200F_200E_206C_200B_200D_206A_206A_202B_200E_202D_206C_202B_206B_202E_202D_202E_202D_200E_202D_206F_202B_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202A_200F_200F_200C_206F_206E_200C_202A_200D_206F_206A_206A_206F_202B_206F_202A_206C_206B_202D_206C_206F_200F_200D_206D_200F_206E_206E_200B_206B_202B_206B_200E_202C_200C_202C_200E_202C_202B_206C_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206A_200D_206B_200D_200E_206A_206A_200E_202D_206A_202D_200B_206A_202E_202C_200B_202D_206C_206A_202E_206C_206F_202B_206B_206F_200C_206A_202C_202D_202A_200C_200B_206A_202E_206D_206E_200E_206D_202D_206E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_202E_200D_206C_202B_202B_206F_200E_206A_200C_202A_202C_206F_202A_202D_200D_200E_206A_206C_206C_200B_206C_200C_202C_202E_202D_202D_200C_206F_202C_200E_206E_206D_206E_202C_206A_200E_202B_206F_200D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200E_206B_202C_206D_200F_206E_200F_206B_202B_202E_206F_202C_206B_202B_206C_200B_200F_200D_200C_200E_200D_200B_202E_200B_206E_200E_200D_200C_206A_206F_200D_206A_200C_206C_202D_200D_206C_202C_206F_202C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200C_200E_206E_206D_206D_200D_200B_200F_200C_202B_206B_200C_202C_200E_202D_202C_206E_206D_200C_206B_206F_202E_206D_200B_206D_206D_202C_202B_206E_206B_200C_200E_202A_202E_202B_200C_206B_206E_200D_206C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _206A_202D_202C_206C_206B_206A_202D_202A_200B_206D_200C_200E_202E_200B_202B_206F_206E_202E_206E_206A_202A_200D_200D_206A_200B_206D_200D_200E_200B_206F_200E_200B_200E_206D_202D_206C_206D_200B_200D_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Data/AlliedSocietyData.cs b/Questionable/Questionable.Data/AlliedSocietyData.cs index 26403447..c8f934ca 100644 --- a/Questionable/Questionable.Data/AlliedSocietyData.cs +++ b/Questionable/Questionable.Data/AlliedSocietyData.cs @@ -1,263 +1,283 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; using Questionable.Model; -using Questionable.Model.Common; using Questionable.Model.Questing; +using SmartNav.Model; namespace Questionable.Data; internal sealed class AlliedSocietyData { - public ReadOnlyDictionary Mounts { get; } = new Dictionary - { - { - 66, - new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1016093u), EAetheryteLocation.SeaOfCloudsOkZundu) - }, - { - 79, - new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1017031u), EAetheryteLocation.DravanianForelandsAnyxTrine) - }, - { - 88, - new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlyArray(new uint[2] { 1017470u, 1017432u }), EAetheryteLocation.ChurningMistsZenith) - }, - { - 89, - new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1017322u), EAetheryteLocation.ChurningMistsZenith) - }, - { - 147, - new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlyArray(new uint[2] { 1024777u, 1024912u }), EAetheryteLocation.FringesPeeringStones) - }, - { - 369, - new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1051798u), EAetheryteLocation.KozamaukaDockPoga) - }, - { - 391, - new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1052562u), EAetheryteLocation.YakTelMamook) - }, - { - 24, - new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1052562u), EAetheryteLocation.EastShroudHawthorneHut) - } - }.AsReadOnly(); + public ReadOnlyDictionary Mounts { get; } public EAlliedSociety GetCommonAlliedSocietyTurnIn(ElementId elementId) { - if (elementId is QuestId { Value: var value }) + QuestId questId = elementId as QuestId; + int num = (((object)questId == null) ? (-47564873) : (-47564876)); + EAlliedSociety result = default(EAlliedSociety); + ushort num5 = default(ushort); + while (true) { - switch (value) + int num2 = num; + int num3 = -47564884; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - case 2171: - case 2172: - case 2173: - case 2174: - case 2175: - case 2176: - case 2177: - case 2178: - case 2179: - case 2180: - case 2181: - case 2182: - case 2183: - case 2184: - case 2185: - case 2186: - case 2187: - case 2188: - case 2189: - case 2190: - case 2191: - case 2192: - case 2193: - case 2194: - case 2195: - case 2196: - case 2197: - case 2198: - case 2199: - case 2200: - return EAlliedSociety.VanuVanu; - case 2261: - case 2262: - case 2263: - case 2264: - case 2265: - case 2266: - case 2267: - case 2268: - case 2269: - case 2270: - case 2271: - case 2272: - case 2273: - case 2274: - case 2275: - case 2276: - case 2277: - case 2278: - case 2279: - case 2280: - return EAlliedSociety.Vath; - case 2290: - case 2291: - case 2292: - case 2293: - case 2294: - case 2295: - case 2296: - case 2297: - case 2298: - case 2299: - case 2300: - case 2301: - case 2302: - case 2303: - case 2304: - case 2305: - case 2306: - case 2307: - case 2308: - case 2309: - case 2310: - case 2311: - case 2312: - case 2313: - case 2314: - case 2315: - case 2316: - case 2317: - case 2318: - case 2319: - return EAlliedSociety.Moogles; - case 5199: - case 5200: - case 5201: - case 5202: - case 5203: - case 5204: - case 5205: - case 5206: - case 5207: - case 5208: - case 5209: - case 5210: - case 5211: - case 5212: - case 5213: - case 5214: - case 5215: - case 5216: - case 5217: - case 5218: - case 5219: - case 5220: - case 5221: - case 5222: - case 5223: - case 5224: - case 5225: - case 5226: - return EAlliedSociety.Pelupelu; - case 5261: - case 5262: - case 5263: - case 5264: - case 5265: - case 5266: - case 5267: - case 5268: - case 5269: - case 5270: - case 5271: - case 5272: - case 5273: - case 5274: - case 5275: - case 5276: - case 5277: - case 5278: - case 5279: - case 5280: - case 5281: - case 5282: - case 5283: - case 5284: - case 5285: - case 5286: - case 5287: - case 5288: - return EAlliedSociety.MamoolJa; - case 5330: - case 5331: - case 5332: - case 5333: - case 5334: - case 5335: - case 5336: - case 5337: - case 5338: - case 5339: - case 5340: - case 5341: - case 5342: - case 5343: - case 5344: - case 5345: - case 5346: - case 5347: - case 5348: - case 5349: - case 5350: - case 5351: - case 5352: - case 5353: - case 5354: - case 5355: - case 5356: - case 5357: - case 5358: - case 5359: - case 5360: - case 5361: - case 5362: - case 5363: - return EAlliedSociety.YokHuy; - default: + case 12: + num = -47564876; + break; + case 13: + num = -47564884; + break; + case 0: + result = EAlliedSociety.None; + num = -47564890; + break; + case 22: + num = ((num5 <= 5226) ? (-47564880) : (-47564865)); + break; + case 18: + result = EAlliedSociety.YokHuy; + num = -47564890; + break; + case 24: + num5 = _206B_206E_202C_202C_200B_206A_206F_200C_202B_202D_206A_200C_200C_202D_206D_200D_202E_202C_202D_200D_206C_202A_206D_206F_202B_206B_202A_206E_206D_202B_206E_206E_200B_206C_202C_200F_200C_206F_206C_202B_202E((ElementId)questId); + num = ((num5 < 2290) ? (-47564874) : (-47564881)); + break; + case 10: + return result; + case 19: + num = -47564884; + break; + case 9: + num = ((num5 < 5199) ? (-47564882) : (-47564870)); + break; + case 28: + result = EAlliedSociety.Pelupelu; + num = -47564890; + break; + case 1: + num = ((num5 <= 5288) ? (-47564878) : (-47564868)); + break; + case 7: + num = ((num5 < 5330) ? (-47564883) : (-47564888)); + break; + case 25: + result = EAlliedSociety.Amaljaa; + num = -47564890; + break; + case 6: + num = -47564884; + break; + case 23: + num = ((num5 <= 2280) ? (-47564887) : (-47564892)); + break; + case 3: + num = ((num5 < 5261) ? (-47564891) : (-47564885)); + break; + case 15: + num = ((num5 > 1251) ? (-47564884) : (-47564875)); + break; + case 27: return EAlliedSociety.None; + case 21: + num = ((num5 < 2261) ? (-47564889) : (-47564869)); + break; + case 30: + result = EAlliedSociety.MamoolJa; + num = -47564890; + break; + case 8: + num = -47564884; + break; + case 20: + result = EAlliedSociety.Moogles; + num = -47564890; + break; + case 16: + num = -47564884; + break; + case 4: + num = ((num5 <= 5363) ? (-47564866) : (-47564886)); + break; + case 17: + result = EAlliedSociety.VanuVanu; + num = -47564890; + break; + case 5: + result = EAlliedSociety.Vath; + num = -47564890; + break; + case 14: + num = ((num5 < 1222) ? (-47564884) : (-47564893)); + break; + case 26: + num = ((num5 < 2171) ? (-47564894) : (-47564871)); + break; + case 29: + num = -47564884; + break; + case 2: + num = ((num5 <= 2319) ? (-47564872) : (-47564895)); + break; + case 11: + num = ((num5 <= 2200) ? (-47564867) : (-47564879)); + break; } } - return EAlliedSociety.None; } public void GetCommonAlliedSocietyNpcs(EAlliedSociety alliedSociety, out uint[] normalNpcs, out uint[] mountNpcs) { + uint[] array; + uint[] array2; + uint[] array3; switch (alliedSociety) { - case EAlliedSociety.VanuVanu: - normalNpcs = new uint[3] { 1016088u, 1016091u, 1016092u }; - mountNpcs = new uint[1] { 1016093u }; - break; + default: + { + int num = -1576121943; + while (true) + { + int num2 = num; + int num3 = -1576121944; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + normalNpcs = new uint[1] { 1054635u }; + mountNpcs = Array.Empty(); + return; + case 1: + goto IL_008c; + case 7: + goto end_IL_0033; + case 0: + goto IL_00c2; + case 3: + num = -1576121943; + break; + case 6: + goto IL_00e8; + case 2: + goto IL_00f7; + case 4: + goto IL_0112; + case 8: + goto end_IL_0003; + case 9: + num = -1576121938; + break; + } + continue; + IL_008c: + num = ((alliedSociety == EAlliedSociety.YokHuy) ? (-1576121939) : (-1576121951)); + continue; + end_IL_0033: + break; + } + goto case EAlliedSociety.Vath; + } case EAlliedSociety.Vath: normalNpcs = Array.Empty(); mountNpcs = new uint[1] { 1017031u }; - break; + return; case EAlliedSociety.Moogles: + goto IL_00c2; + case EAlliedSociety.Sylphs: + case EAlliedSociety.Kobolds: + case EAlliedSociety.Sahagin: + goto IL_00e8; + case EAlliedSociety.Ixal: + goto IL_00f7; + case EAlliedSociety.Amaljaa: + goto IL_0112; + case EAlliedSociety.VanuVanu: + break; + IL_0112: normalNpcs = Array.Empty(); - mountNpcs = new uint[3] { 1017322u, 1017470u, 1017471u }; - break; - case EAlliedSociety.YokHuy: - normalNpcs = new uint[1] { 1054635u }; + array = new uint[4]; + _200B_202A_206C_202E_206E_202A_206D_206E_206C_206F_202D_206E_206B_200F_200E_200E_202C_202E_206D_202C_202C_202E_202E_206F_200E_202B_202A_200C_202B_206F_206B_200B_200C_200D_206E_206D_200D_202C_206B_200C_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + mountNpcs = array; + return; + IL_00f7: + array2 = new uint[6]; + _200B_202A_206C_202E_206E_202A_206D_206E_206C_206F_202D_206E_206B_200F_200E_200E_202C_202E_206D_202C_202C_202E_202E_206F_200E_202B_202A_200C_202B_206F_206B_200B_200C_200D_206E_206D_200D_202C_206B_200C_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + normalNpcs = array2; mountNpcs = Array.Empty(); - break; - default: + return; + IL_00e8: normalNpcs = Array.Empty(); mountNpcs = Array.Empty(); + return; + IL_00c2: + normalNpcs = Array.Empty(); + array3 = new uint[3]; + _200B_202A_206C_202E_206E_202A_206D_206E_206C_206F_202D_206E_206B_200F_200E_200E_202C_202E_206D_202C_202C_202E_202E_206F_200E_202B_202A_200C_202B_206F_206B_200B_200C_200D_206E_206D_200D_202C_206B_200C_202E((Array)array3, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + mountNpcs = array3; + return; + end_IL_0003: break; } + uint[] array4 = new uint[3]; + _200B_202A_206C_202E_206E_202A_206D_206E_206C_206F_202D_206E_206B_200F_200E_200E_202C_202E_206D_202C_202C_202E_202E_206F_200E_202B_202A_200C_202B_206F_206B_200B_200C_200D_206E_206D_200D_202C_206B_200C_202E((Array)array4, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + normalNpcs = array4; + mountNpcs = new uint[1] { 1016093u }; + } + + public AlliedSocietyData() + { + Dictionary dictionary = new Dictionary + { + { + 66, + new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1016093u), EAetheryteLocation.SeaOfCloudsOkZundu) + }, + { + 79, + new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1017031u), EAetheryteLocation.DravanianForelandsAnyxTrine) + }, + { + 88, + new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlyArray(new uint[2] { 1017470u, 1017432u }), EAetheryteLocation.ChurningMistsZenith) + }, + { + 89, + new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1017322u), EAetheryteLocation.ChurningMistsZenith) + }, + { + 147, + new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlyArray(new uint[2] { 1024777u, 1024912u }), EAetheryteLocation.FringesPeeringStones) + }, + { + 369, + new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1051798u), EAetheryteLocation.KozamaukaDockPoga) + }, + { + 391, + new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1052562u), EAetheryteLocation.YakTelMamook) + }, + { + 24, + new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList(1008332u), EAetheryteLocation.EastShroudHawthorneHut) + } + }; + uint[] array = new uint[4]; + _200B_202A_206C_202E_206E_202A_206D_206E_206C_206F_202D_206E_206B_200F_200E_200E_202C_202E_206D_202C_202C_202E_202E_206F_200E_202B_202A_200C_202B_206F_206B_200B_200C_200D_206E_206D_200D_202C_206B_200C_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + dictionary.Add(23, new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlyArray(array), EAetheryteLocation.SouthernThanalanLittleAlaMhigo)); + Mounts = dictionary.AsReadOnly(); + base._002Ector(); + } + + static ushort _206B_206E_202C_202C_200B_206A_206F_200C_202B_202D_206A_200C_200C_202D_206D_200D_202E_202C_202D_200D_206C_202A_206D_206F_202B_206B_202A_206E_206D_202B_206E_206E_200B_206C_202C_200F_200C_206F_206C_202B_202E(ElementId P_0) + { + return P_0.Value; + } + + static void _200B_202A_206C_202E_206E_202A_206D_206E_206C_206F_202D_206E_206B_200F_200E_200E_202C_202E_206D_202C_202C_202E_202E_206F_200E_202B_202A_200C_202B_206F_206B_200B_200C_200D_206E_206D_200D_202C_206B_200C_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); } } diff --git a/Questionable/Questionable.Data/AlliedSocietyMountConfiguration.cs b/Questionable/Questionable.Data/AlliedSocietyMountConfiguration.cs index 1fa3f6dc..ff5ea8c6 100644 --- a/Questionable/Questionable.Data/AlliedSocietyMountConfiguration.cs +++ b/Questionable/Questionable.Data/AlliedSocietyMountConfiguration.cs @@ -1,6 +1,144 @@ +using System; using System.Collections.Generic; -using Questionable.Model.Common; +using System.Runtime.CompilerServices; +using System.Text; +using SmartNav.Model; namespace Questionable.Data; -public sealed record AlliedSocietyMountConfiguration(IReadOnlyList IssuerDataIds, EAetheryteLocation ClosestAetheryte); +public sealed record AlliedSocietyMountConfiguration(IReadOnlyList IssuerDataIds, EAetheryteLocation ClosestAetheryte) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_206F_206F_206C_202B_206A_200C_200C_202B_206E_200B_202D_202D_200F_200B_206C_200B_200D_206F_202D_206E_206F_206E_206B_202D_200D_206D_200F_206C_202D_200B_202B_200F_200B_200B_206D_202B_202C_202C_206C_202E(typeof(AlliedSocietyMountConfiguration).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206D_200B_202B_200D_200D_206C_206C_206C_200F_202A_202C_202E_206A_200E_206D_206C_206D_202A_206D_206B_206B_202B_202E_202E_200E_202E_206A_200C_202C_206B_200E_200E_200F_200B_206B_206B_202B_200B_200D_206A_202E(); + _200E_202D_200E_206D_206A_206B_202E_200F_202D_202E_200C_200E_200B_206D_200E_200E_200E_200C_206F_202C_200C_206A_202B_206A_202C_206C_200C_202D_206A_202B_206D_200B_206A_206F_206A_200E_206F_202D_206A_202A_202E(stringBuilder, global::_003CModule_003E._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(-1360404668)); + _200E_202D_200E_206D_206A_206B_202E_200F_202D_202E_200C_200E_200B_206D_200E_200E_200E_200C_206F_202C_200C_206A_202B_206A_202C_206C_200C_202D_206A_202B_206D_200B_206A_206F_206A_200E_206F_202D_206A_202A_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-808815067) : (-808815066)); + while (true) + { + int num2 = num; + int num3 = -808815068; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -808815066; + break; + case 2: + _206B_200E_206E_202C_200F_206E_200E_200F_202E_200D_200C_206A_206E_200E_202C_202D_200B_202E_202B_202D_206B_202A_206A_206A_200D_202C_206D_200C_202B_202E_206E_206A_202A_202E_206E_206D_202D_202A_206E_206F_202E(stringBuilder, ' '); + num = -808815067; + break; + case 1: + _206B_200E_206E_202C_200F_206E_200E_200F_202E_200D_200C_206A_206E_200E_202C_202D_200B_202E_202B_202D_206B_202A_206A_206A_200D_202C_206D_200C_202B_202E_206E_206A_202A_202E_206E_206D_202D_202A_206E_206F_202E(stringBuilder, '}'); + return _202D_200D_202C_206A_200D_202E_206C_206A_206C_206A_202C_206F_200C_206F_200D_202A_206D_202E_206A_206B_202A_200E_200B_202E_202D_202C_200D_206A_202D_200E_206A_206C_200E_200F_200B_206D_202C_202E_206A_206E_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200D_200C_206D_200D_206F_200C_200F_202A_200E_202C_206E_202E_206F_206E_206A_202C_206B_206F_202B_206F_200E_206D_202E_202B_200C_202C_206D_200E_206F_206A_200F_206A_206F_200F_206D_200E_202A_202E_206C_206A_202E(); + _200E_202D_200E_206D_206A_206B_202E_200F_202D_202E_200C_200E_200B_206D_200E_200E_200E_200C_206F_202C_200C_206A_202B_206A_202C_206C_200C_202D_206A_202B_206D_200B_206A_206F_206A_200E_206F_202D_206A_202A_202E(builder, global::_003CModule_003E._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(1310547347)); + _200D_200E_206A_206E_202B_206C_206A_200D_202E_206F_202E_202B_200B_200D_202E_202A_200C_202B_206B_206A_206E_202B_202B_206A_202E_206E_206C_206A_206E_202C_206A_200C_206F_202C_202B_206F_202C_206C_206F_206B_202E(builder, (object)IssuerDataIds); + _200E_202D_200E_206D_206A_206B_202E_200F_202D_202E_200C_200E_200B_206D_200E_200E_200E_200C_206F_202C_200C_206A_202B_206A_202C_206C_200C_202D_206A_202B_206D_200B_206A_206F_206A_200E_206F_202D_206A_202A_202E(builder, global::_003CModule_003E._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(-1251262177)); + _200E_202D_200E_206D_206A_206B_202E_200F_202D_202E_200C_200E_200B_206D_200E_200E_200E_200C_206F_202C_200C_206A_202B_206A_202C_206C_200C_202D_206A_202B_206D_200B_206A_206F_206A_200E_206F_202D_206A_202A_202E(builder, ClosestAetheryte.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(AlliedSocietyMountConfiguration? other) + { + int num = (((object)this == other) ? 1962730095 : 1962730088); + while (true) + { + int num2 = num; + int num3 = 1962730093; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return false; + case 5: + num = (((object)other == null) ? 1962730094 : 1962730089); + break; + case 4: + num = ((!_202D_206A_200C_206E_202A_206F_206B_200B_200F_202A_200D_206D_200B_202D_202B_202E_200D_202D_206C_206D_206D_200F_206E_206C_200E_202A_206B_202B_202E_202E_200E_200C_200B_200F_202A_206B_206C_200D_200C_206C_202E(EqualityContract, other.EqualityContract)) ? 1962730094 : 1962730092); + break; + case 1: + num = ((!EqualityComparer>.Default.Equals(IssuerDataIds, other.IssuerDataIds)) ? 1962730094 : 1962730091); + break; + case 2: + return true; + case 6: + return EqualityComparer.Default.Equals(ClosestAetheryte, other.ClosestAetheryte); + case 0: + num = 1962730088; + break; + } + } + } + + bool IEquatable.Equals(AlliedSocietyMountConfiguration? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_206F_206F_206C_202B_206A_200C_200C_202B_206E_200B_202D_202D_200F_200B_206C_200B_200D_206F_202D_206E_206F_206E_206B_202D_200D_206D_200F_206C_202D_200B_202B_200F_200B_200B_206D_202B_202C_202C_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206D_200B_202B_200D_200D_206C_206C_206C_200F_202A_202C_202E_206A_200E_206D_206C_206D_202A_206D_206B_206B_202B_202E_202E_200E_202E_206A_200C_202C_206B_200E_200E_200F_200B_206B_206B_202B_200B_200D_206A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200E_202D_200E_206D_206A_206B_202E_200F_202D_202E_200C_200E_200B_206D_200E_200E_200E_200C_206F_202C_200C_206A_202B_206A_202C_206C_200C_202D_206A_202B_206D_200B_206A_206F_206A_200E_206F_202D_206A_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_200E_206E_202C_200F_206E_200E_200F_202E_200D_200C_206A_206E_200E_202C_202D_200B_202E_202B_202D_206B_202A_206A_206A_200D_202C_206D_200C_202B_202E_206E_206A_202A_202E_206E_206D_202D_202A_206E_206F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202D_200D_202C_206A_200D_202E_206C_206A_206C_206A_202C_206F_200C_206F_200D_202A_206D_202E_206A_206B_202A_200E_200B_202E_202D_202C_200D_206A_202D_200E_206A_206C_200E_200F_200B_206D_202C_202E_206A_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200D_200C_206D_200D_206F_200C_200F_202A_200E_202C_206E_202E_206F_206E_206A_202C_206B_206F_202B_206F_200E_206D_202E_202B_200C_202C_206D_200E_206F_206A_200F_206A_206F_200F_206D_200E_202A_202E_206C_206A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200D_200E_206A_206E_202B_206C_206A_200D_202E_206F_202E_202B_200B_200D_202E_202A_200C_202B_206B_206A_206E_202B_202B_206A_202E_206E_206C_206A_206E_202C_206A_200C_206F_202C_202B_206F_202C_206C_206F_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202D_206A_200C_206E_202A_206F_206B_200B_200F_202A_200D_206D_200B_202D_202B_202E_200D_202D_206C_206D_206D_200F_206E_206C_200E_202A_206B_202B_202E_202E_200E_200C_200B_200F_202A_206B_206C_200D_200C_206C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Data/AutoHookPresetData.cs b/Questionable/Questionable.Data/AutoHookPresetData.cs new file mode 100644 index 00000000..ee2d0262 --- /dev/null +++ b/Questionable/Questionable.Data/AutoHookPresetData.cs @@ -0,0 +1,64 @@ +using System.Collections.Generic; +using Questionable.Model.Questing; + +namespace Questionable.Data; + +internal sealed class AutoHookPresetData +{ + public static readonly IReadOnlyDictionary FishingPresets = new Dictionary + { + { + _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E((ushort)1109), + global::_003CModule_003E._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(1113836295) + }, + { + _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E((ushort)1111), + global::_003CModule_003E._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(326172132) + }, + { + _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E((ushort)1112), + global::_003CModule_003E._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(817129807) + }, + { + _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E((ushort)1113), + global::_003CModule_003E._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(1889300079) + }, + { + _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E((ushort)1114), + global::_003CModule_003E._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(-1472798990) + }, + { + _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E((ushort)1115), + global::_003CModule_003E._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(648481211) + }, + { + _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E((ushort)1116), + global::_003CModule_003E._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(-956549481) + }, + { + _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E((ushort)1117), + global::_003CModule_003E._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(-1514787902) + }, + { + _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E((ushort)1118), + global::_003CModule_003E._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(316530682) + }, + { + _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E((ushort)3240), + global::_003CModule_003E._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(2108127523) + }, + { + _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E((ushort)3241), + global::_003CModule_003E._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(877674805) + }, + { + _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E((ushort)1514), + global::_003CModule_003E._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(218455464) + } + }; + + static QuestId _200E_206E_202A_206D_200F_200B_200B_202E_200C_206F_206E_202B_206C_200E_206C_202C_206F_200C_202E_202A_202E_200F_200B_206E_206D_202B_200E_200C_202C_200F_206D_206B_200D_200C_200B_202E_206D_206E_202E_206B_202E(ushort P_0) + { + return new QuestId(P_0); + } +} diff --git a/Questionable/Questionable.Data/ChangelogData.cs b/Questionable/Questionable.Data/ChangelogData.cs index e6f290e3..bb308ef7 100644 --- a/Questionable/Questionable.Data/ChangelogData.cs +++ b/Questionable/Questionable.Data/ChangelogData.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Questionable.Model.Changelog; @@ -9,1095 +10,1376 @@ internal static class ChangelogData { public static readonly List Changelogs; + [MethodImpl(MethodImplOptions.NoInlining)] static ChangelogData() { - int num = 70; + int num = 71; 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, 25); - int num2 = 1; + string version = global::_003CModule_003E._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(1962423327); + DateOnly releaseDate = new DateOnly(2026, 8, 12); + int num2 = 4; List list2 = new List(num2); CollectionsMarshal.SetCount(list2, num2); - ref ChangeEntry reference2 = ref CollectionsMarshal.AsSpan(list2)[0]; - int num3 = 1; + Span span2 = CollectionsMarshal.AsSpan(list2); + ref ChangeEntry reference2 = ref span2[0]; + string description = global::_003CModule_003E._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(816348566); + int num3 = 35; List list3 = new List(num3); CollectionsMarshal.SetCount(list3, num3); - CollectionsMarshal.AsSpan(list3)[0] = "Add Breaking Brick Mountains (2026) event quest"; - reference2 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list3); - reference = new ChangelogEntry("7.5.5", releaseDate, list2); - ref ChangelogEntry reference3 = ref span[1]; - DateOnly releaseDate2 = new DateOnly(2026, 6, 6); - num2 = 1; - List list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - ref ChangeEntry reference4 = ref CollectionsMarshal.AsSpan(list4)[0]; - num3 = 1; + Span span3 = CollectionsMarshal.AsSpan(list3); + span3[0] = global::_003CModule_003E._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(-695795227); + span3[1] = global::_003CModule_003E._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(350484439); + span3[2] = global::_003CModule_003E._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(1224915960); + span3[3] = global::_003CModule_003E._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(-699968252); + span3[4] = global::_003CModule_003E._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(698833239); + span3[5] = global::_003CModule_003E._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(334339490); + span3[6] = global::_003CModule_003E._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(2135692670); + span3[7] = global::_003CModule_003E._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(1542589501); + span3[8] = global::_003CModule_003E._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(973293443); + span3[9] = global::_003CModule_003E._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(453697497); + span3[10] = global::_003CModule_003E._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(191632364); + span3[11] = global::_003CModule_003E._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(1602382590); + span3[12] = global::_003CModule_003E._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(-1059660746); + span3[13] = global::_003CModule_003E._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(546867509); + span3[14] = global::_003CModule_003E._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(-1325767056); + span3[15] = global::_003CModule_003E._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(201420174); + span3[16] = global::_003CModule_003E._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(617555882); + span3[17] = global::_003CModule_003E._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(978383452); + span3[18] = global::_003CModule_003E._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(1849303500); + span3[19] = global::_003CModule_003E._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(1944251878); + span3[20] = global::_003CModule_003E._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(523995484); + span3[21] = global::_003CModule_003E._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(1595097286); + span3[22] = global::_003CModule_003E._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(-1125340424); + span3[23] = global::_003CModule_003E._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(1473476420); + span3[24] = global::_003CModule_003E._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(2125579804); + span3[25] = global::_003CModule_003E._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(-600722955); + span3[26] = global::_003CModule_003E._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(-1343491674); + span3[27] = global::_003CModule_003E._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(804175219); + span3[28] = global::_003CModule_003E._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(-386149253); + span3[29] = global::_003CModule_003E._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(582823330); + span3[30] = global::_003CModule_003E._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(-1454610357); + span3[31] = global::_003CModule_003E._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(-1248652962); + span3[32] = global::_003CModule_003E._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(-1715637571); + span3[33] = global::_003CModule_003E._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(-457234259); + span3[34] = global::_003CModule_003E._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(-600852222); + reference2 = new ChangeEntry(EChangeCategory.Added, description, list3); + ref ChangeEntry reference3 = ref span2[1]; + string description2 = global::_003CModule_003E._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(1313916723); + num3 = 17; + List list4 = new List(num3); + CollectionsMarshal.SetCount(list4, num3); + Span span4 = CollectionsMarshal.AsSpan(list4); + span4[0] = global::_003CModule_003E._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(539064689); + span4[1] = global::_003CModule_003E._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(611571080); + span4[2] = global::_003CModule_003E._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(-928957354); + span4[3] = global::_003CModule_003E._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(41496532); + span4[4] = global::_003CModule_003E._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(-779062486); + span4[5] = global::_003CModule_003E._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(-1241440823); + span4[6] = global::_003CModule_003E._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(-863605658); + span4[7] = global::_003CModule_003E._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(-1763821834); + span4[8] = global::_003CModule_003E._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(-338988189); + span4[9] = global::_003CModule_003E._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(-234907353); + span4[10] = global::_003CModule_003E._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(589413832); + span4[11] = global::_003CModule_003E._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(807929606); + span4[12] = global::_003CModule_003E._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(1124150128); + span4[13] = global::_003CModule_003E._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(250980976); + span4[14] = global::_003CModule_003E._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(352541251); + span4[15] = global::_003CModule_003E._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(-1224351914); + span4[16] = global::_003CModule_003E._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(1738906556); + reference3 = new ChangeEntry(EChangeCategory.Changed, description2, list4); + ref ChangeEntry reference4 = ref span2[2]; + string description3 = global::_003CModule_003E._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(1988704596); + num3 = 41; List list5 = new List(num3); CollectionsMarshal.SetCount(list5, num3); - CollectionsMarshal.AsSpan(list5)[0] = "Add Make It Rain (2026) seasonal quest"; - reference4 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list5); - reference3 = new ChangelogEntry("7.5.4", releaseDate2, list4); - ref ChangelogEntry reference5 = ref span[2]; - DateOnly releaseDate3 = new DateOnly(2026, 5, 12); + Span span5 = CollectionsMarshal.AsSpan(list5); + span5[0] = global::_003CModule_003E._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(372741491); + span5[1] = global::_003CModule_003E._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(-1052180861); + span5[2] = global::_003CModule_003E._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(1824505401); + span5[3] = global::_003CModule_003E._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(731947891); + span5[4] = global::_003CModule_003E._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(-1749133374); + span5[5] = global::_003CModule_003E._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(207962275); + span5[6] = global::_003CModule_003E._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(-1206251003); + span5[7] = global::_003CModule_003E._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(389254865); + span5[8] = global::_003CModule_003E._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(-1683453696); + span5[9] = global::_003CModule_003E._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(-746835295); + span5[10] = global::_003CModule_003E._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(-700114025); + span5[11] = global::_003CModule_003E._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(2101341493); + span5[12] = global::_003CModule_003E._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(687935522); + span5[13] = global::_003CModule_003E._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(-1424586940); + span5[14] = global::_003CModule_003E._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(-1071503575); + span5[15] = global::_003CModule_003E._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(138039903); + span5[16] = global::_003CModule_003E._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(670336521); + span5[17] = global::_003CModule_003E._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(-544503443); + span5[18] = global::_003CModule_003E._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(938977685); + span5[19] = global::_003CModule_003E._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(-1836049162); + span5[20] = global::_003CModule_003E._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(472934073); + span5[21] = global::_003CModule_003E._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(-2110043621); + span5[22] = global::_003CModule_003E._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(-1367933289); + span5[23] = global::_003CModule_003E._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(-497013241); + span5[24] = global::_003CModule_003E._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(-274292457); + span5[25] = global::_003CModule_003E._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(703701360); + span5[26] = global::_003CModule_003E._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(579738868); + span5[27] = global::_003CModule_003E._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(1794923777); + span5[28] = global::_003CModule_003E._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(-911252945); + span5[29] = global::_003CModule_003E._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(56541654); + span5[30] = global::_003CModule_003E._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(1716432584); + span5[31] = global::_003CModule_003E._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(-1286571268); + span5[32] = global::_003CModule_003E._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(1722111330); + span5[33] = global::_003CModule_003E._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(-1258011708); + span5[34] = global::_003CModule_003E._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(-1775113336); + span5[35] = global::_003CModule_003E._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(1894377040); + span5[36] = global::_003CModule_003E._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(1376304081); + span5[37] = global::_003CModule_003E._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(-307132296); + span5[38] = global::_003CModule_003E._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(2022285803); + span5[39] = global::_003CModule_003E._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(1498553915); + span5[40] = global::_003CModule_003E._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(-1827440798); + reference4 = new ChangeEntry(EChangeCategory.Fixed, description3, list5); + ref ChangeEntry reference5 = ref span2[3]; + string description4 = global::_003CModule_003E._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(-1205328867); + num3 = 6; + List list6 = new List(num3); + CollectionsMarshal.SetCount(list6, num3); + Span span6 = CollectionsMarshal.AsSpan(list6); + span6[0] = global::_003CModule_003E._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(-963109121); + span6[1] = global::_003CModule_003E._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(-583965998); + span6[2] = global::_003CModule_003E._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(1766096444); + span6[3] = global::_003CModule_003E._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(-1672858002); + span6[4] = global::_003CModule_003E._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(-418666543); + span6[5] = global::_003CModule_003E._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(-787030756); + reference5 = new ChangeEntry(EChangeCategory.QuestUpdates, description4, list6); + reference = new ChangelogEntry(version, releaseDate, list2); + ref ChangelogEntry reference6 = ref span[1]; + string version2 = global::_003CModule_003E._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(782199067); + DateOnly releaseDate2 = new DateOnly(2026, 6, 25); num2 = 1; - List list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - ref ChangeEntry reference6 = ref CollectionsMarshal.AsSpan(list6)[0]; + List list7 = new List(num2); + CollectionsMarshal.SetCount(list7, num2); + ref ChangeEntry reference7 = ref CollectionsMarshal.AsSpan(list7)[0]; + string description5 = global::_003CModule_003E._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(1236459337); num3 = 1; - List list7 = new List(num3); - CollectionsMarshal.SetCount(list7, num3); - CollectionsMarshal.AsSpan(list7)[0] = "Add The Maiden's Rhapsody (2026) event quest"; - reference6 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list7); - reference5 = new ChangelogEntry("7.5.3", releaseDate3, list6); - ref ChangelogEntry reference7 = ref span[3]; - DateOnly releaseDate4 = new DateOnly(2026, 5, 1); + List list8 = new List(num3); + CollectionsMarshal.SetCount(list8, num3); + CollectionsMarshal.AsSpan(list8)[0] = global::_003CModule_003E._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(1791009598); + reference7 = new ChangeEntry(EChangeCategory.QuestUpdates, description5, list8); + reference6 = new ChangelogEntry(version2, releaseDate2, list7); + ref ChangelogEntry reference8 = ref span[2]; + string version3 = global::_003CModule_003E._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(1035718310); + DateOnly releaseDate3 = new DateOnly(2026, 6, 6); num2 = 1; - List list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - ref ChangeEntry reference8 = ref CollectionsMarshal.AsSpan(list8)[0]; + List list9 = new List(num2); + CollectionsMarshal.SetCount(list9, num2); + ref ChangeEntry reference9 = ref CollectionsMarshal.AsSpan(list9)[0]; + string description6 = global::_003CModule_003E._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(-1205328867); num3 = 1; - List list9 = new List(num3); - CollectionsMarshal.SetCount(list9, num3); - CollectionsMarshal.AsSpan(list9)[0] = "Revert vnavmesh SimpleMove IPC temporary fix"; - reference8 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list9); - reference7 = new ChangelogEntry("7.5.2", releaseDate4, list8); - ref ChangelogEntry reference9 = ref span[4]; - DateOnly releaseDate5 = new DateOnly(2026, 4, 30); - num2 = 2; - List list10 = new List(num2); - CollectionsMarshal.SetCount(list10, num2); - Span span2 = CollectionsMarshal.AsSpan(list10); - ref ChangeEntry reference10 = ref span2[0]; - num3 = 2; - List list11 = new List(num3); - CollectionsMarshal.SetCount(list11, num3); - Span span3 = CollectionsMarshal.AsSpan(list11); - span3[0] = "Add Windurst: The Third Walk quests"; - span3[1] = "Add 7.5 MSQ"; - reference10 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list11); - ref ChangeEntry reference11 = ref span2[1]; + List list10 = new List(num3); + CollectionsMarshal.SetCount(list10, num3); + CollectionsMarshal.AsSpan(list10)[0] = global::_003CModule_003E._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(1004165390); + reference9 = new ChangeEntry(EChangeCategory.QuestUpdates, description6, list10); + reference8 = new ChangelogEntry(version3, releaseDate3, list9); + ref ChangelogEntry reference10 = ref span[3]; + string version4 = global::_003CModule_003E._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(-1326263498); + DateOnly releaseDate4 = new DateOnly(2026, 5, 12); + num2 = 1; + List list11 = new List(num2); + CollectionsMarshal.SetCount(list11, num2); + ref ChangeEntry reference11 = ref CollectionsMarshal.AsSpan(list11)[0]; + string description7 = global::_003CModule_003E._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(938485712); num3 = 1; List list12 = new List(num3); CollectionsMarshal.SetCount(list12, num3); - CollectionsMarshal.AsSpan(list12)[0] = "Use vnavmesh SimpleMove IPC to fix navmesh hanging the game (temporary fix)"; - reference11 = new ChangeEntry(EChangeCategory.Changed, "Fixes", list12); - reference9 = new ChangelogEntry("7.5.1", releaseDate5, list10); - ref ChangelogEntry reference12 = ref span[5]; - DateOnly releaseDate6 = new DateOnly(2026, 4, 29); + CollectionsMarshal.AsSpan(list12)[0] = global::_003CModule_003E._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(118965656); + reference11 = new ChangeEntry(EChangeCategory.QuestUpdates, description7, list12); + reference10 = new ChangelogEntry(version4, releaseDate4, list11); + ref ChangelogEntry reference12 = ref span[4]; + string version5 = global::_003CModule_003E._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(-141071597); + DateOnly releaseDate5 = new DateOnly(2026, 5, 1); num2 = 1; List list13 = new List(num2); CollectionsMarshal.SetCount(list13, num2); ref ChangeEntry reference13 = ref CollectionsMarshal.AsSpan(list13)[0]; + string description8 = global::_003CModule_003E._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(413775329); num3 = 1; List list14 = new List(num3); CollectionsMarshal.SetCount(list14, num3); - CollectionsMarshal.AsSpan(list14)[0] = "Api15"; - reference13 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list14); - reference12 = new ChangelogEntry("7.5.0", releaseDate6, list13); - ref ChangelogEntry reference14 = ref span[6]; - DateOnly releaseDate7 = new DateOnly(2026, 3, 24); - num2 = 1; + CollectionsMarshal.AsSpan(list14)[0] = global::_003CModule_003E._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(686563718); + reference13 = new ChangeEntry(EChangeCategory.Fixed, description8, list14); + reference12 = new ChangelogEntry(version5, releaseDate5, list13); + ref ChangelogEntry reference14 = ref span[5]; + string version6 = global::_003CModule_003E._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(938321721); + DateOnly releaseDate6 = new DateOnly(2026, 4, 30); + num2 = 2; List list15 = new List(num2); CollectionsMarshal.SetCount(list15, num2); - ref ChangeEntry reference15 = ref CollectionsMarshal.AsSpan(list15)[0]; + Span span7 = CollectionsMarshal.AsSpan(list15); + ref ChangeEntry reference15 = ref span7[0]; + string description9 = global::_003CModule_003E._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(1236459337); num3 = 2; List list16 = new List(num3); CollectionsMarshal.SetCount(list16, num3); - Span span4 = CollectionsMarshal.AsSpan(list16); - span4[0] = "Add duty handling to external and qst"; - span4[1] = "Fix duty farming NPC interact getting stuck after zone transition into duty"; - reference15 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list16); - reference14 = new ChangelogEntry("7.4.19", releaseDate7, list15); - ref ChangelogEntry reference16 = ref span[7]; - DateOnly releaseDate8 = new DateOnly(2026, 3, 24); - num2 = 3; - List list17 = new List(num2); - CollectionsMarshal.SetCount(list17, num2); - Span span5 = CollectionsMarshal.AsSpan(list17); - ref ChangeEntry reference17 = ref span5[0]; + Span span8 = CollectionsMarshal.AsSpan(list16); + span8[0] = global::_003CModule_003E._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(-1061628638); + span8[1] = global::_003CModule_003E._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(-2143539424); + reference15 = new ChangeEntry(EChangeCategory.QuestUpdates, description9, list16); + ref ChangeEntry reference16 = ref span7[1]; + string description10 = global::_003CModule_003E._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(-1835095083); num3 = 1; - List list18 = new List(num3); - CollectionsMarshal.SetCount(list18, num3); - CollectionsMarshal.AsSpan(list18)[0] = "Add seasonal duty farming system (/qst duty)"; - reference17 = new ChangeEntry(EChangeCategory.Added, "New Features", list18); - ref ChangeEntry reference18 = ref span5[1]; + List list17 = new List(num3); + CollectionsMarshal.SetCount(list17, num3); + CollectionsMarshal.AsSpan(list17)[0] = global::_003CModule_003E._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(-1523876749); + reference16 = new ChangeEntry(EChangeCategory.Changed, description10, list17); + reference14 = new ChangelogEntry(version6, releaseDate6, list15); + ref ChangelogEntry reference17 = ref span[6]; + string version7 = global::_003CModule_003E._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(971161560); + DateOnly releaseDate7 = new DateOnly(2026, 4, 29); + num2 = 1; + List list18 = new List(num2); + CollectionsMarshal.SetCount(list18, num2); + ref ChangeEntry reference18 = ref CollectionsMarshal.AsSpan(list18)[0]; + string description11 = global::_003CModule_003E._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(413775329); num3 = 1; List list19 = new List(num3); CollectionsMarshal.SetCount(list19, num3); - CollectionsMarshal.AsSpan(list19)[0] = "Add Hatching-tide 2026 quest"; - reference18 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list19); - ref ChangeEntry reference19 = ref span5[2]; - 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); - reference16 = new ChangelogEntry("7.4.18", releaseDate8, list17); - ref ChangelogEntry reference20 = ref span[8]; - DateOnly releaseDate9 = new DateOnly(2026, 3, 1); + CollectionsMarshal.AsSpan(list19)[0] = global::_003CModule_003E._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(-216010434); + reference18 = new ChangeEntry(EChangeCategory.Fixed, description11, list19); + reference17 = new ChangelogEntry(version7, releaseDate7, list18); + ref ChangelogEntry reference19 = ref span[7]; + string version8 = global::_003CModule_003E._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(1266228138); + DateOnly releaseDate8 = new DateOnly(2026, 3, 24); num2 = 1; - List list21 = new List(num2); - CollectionsMarshal.SetCount(list21, num2); - ref ChangeEntry reference21 = ref CollectionsMarshal.AsSpan(list21)[0]; + List list20 = new List(num2); + CollectionsMarshal.SetCount(list20, num2); + ref ChangeEntry reference20 = ref CollectionsMarshal.AsSpan(list20)[0]; + string description12 = global::_003CModule_003E._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(-1835095083); + num3 = 2; + List list21 = new List(num3); + CollectionsMarshal.SetCount(list21, num3); + Span span9 = CollectionsMarshal.AsSpan(list21); + span9[0] = global::_003CModule_003E._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(-1520566429); + span9[1] = global::_003CModule_003E._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(-547252384); + reference20 = new ChangeEntry(EChangeCategory.Fixed, description12, list21); + reference19 = new ChangelogEntry(version8, releaseDate8, list20); + ref ChangelogEntry reference21 = ref span[8]; + string version9 = global::_003CModule_003E._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(-1969677057); + DateOnly releaseDate9 = new DateOnly(2026, 3, 24); + num2 = 3; + List list22 = new List(num2); + CollectionsMarshal.SetCount(list22, num2); + Span span10 = CollectionsMarshal.AsSpan(list22); + ref ChangeEntry reference22 = ref span10[0]; + string description13 = global::_003CModule_003E._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(1299067977); num3 = 1; - List list22 = new List(num3); - CollectionsMarshal.SetCount(list22, num3); - CollectionsMarshal.AsSpan(list22)[0] = "Quest path fixes"; - reference21 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list22); - reference20 = new ChangelogEntry("7.4.17", releaseDate9, list21); - ref ChangelogEntry reference22 = ref span[9]; - DateOnly releaseDate10 = new DateOnly(2026, 3, 1); - num2 = 1; - List list23 = new List(num2); - CollectionsMarshal.SetCount(list23, num2); - ref ChangeEntry reference23 = ref CollectionsMarshal.AsSpan(list23)[0]; + List list23 = new List(num3); + CollectionsMarshal.SetCount(list23, num3); + CollectionsMarshal.AsSpan(list23)[0] = global::_003CModule_003E._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(-384089076); + reference22 = new ChangeEntry(EChangeCategory.Added, description13, list23); + ref ChangeEntry reference23 = ref span10[1]; + string description14 = global::_003CModule_003E._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(-1205328867); num3 = 1; List list24 = new List(num3); CollectionsMarshal.SetCount(list24, num3); - CollectionsMarshal.AsSpan(list24)[0] = "Enable TextAdvance, PandorasBox, and Automaton IPC integration during FATE farming"; - reference23 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list24); - reference22 = new ChangelogEntry("7.4.16", releaseDate10, list23); - ref ChangelogEntry reference24 = ref span[10]; - DateOnly releaseDate11 = new DateOnly(2026, 2, 28); + CollectionsMarshal.AsSpan(list24)[0] = global::_003CModule_003E._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(-1180756033); + reference23 = new ChangeEntry(EChangeCategory.QuestUpdates, description14, list24); + ref ChangeEntry reference24 = ref span10[2]; + string description15 = global::_003CModule_003E._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(413775329); + num3 = 1; + List list25 = new List(num3); + CollectionsMarshal.SetCount(list25, num3); + CollectionsMarshal.AsSpan(list25)[0] = global::_003CModule_003E._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(-1893217209); + reference24 = new ChangeEntry(EChangeCategory.Fixed, description15, list25); + reference21 = new ChangelogEntry(version9, releaseDate9, list22); + ref ChangelogEntry reference25 = ref span[9]; + string version10 = global::_003CModule_003E._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(468685049); + DateOnly releaseDate10 = new DateOnly(2026, 3, 1); num2 = 1; - List list25 = new List(num2); - CollectionsMarshal.SetCount(list25, num2); - ref ChangeEntry reference25 = ref CollectionsMarshal.AsSpan(list25)[0]; - num3 = 2; - List list26 = new List(num3); - CollectionsMarshal.SetCount(list26, num3); - Span span6 = CollectionsMarshal.AsSpan(list26); - 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"; - reference25 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list26); - reference24 = new ChangelogEntry("7.4.15", releaseDate11, list25); - ref ChangelogEntry reference26 = ref span[11]; - DateOnly releaseDate12 = new DateOnly(2026, 2, 27); - num2 = 2; - List list27 = new List(num2); - CollectionsMarshal.SetCount(list27, num2); - Span span7 = CollectionsMarshal.AsSpan(list27); - ref ChangeEntry reference27 = ref span7[0]; - num3 = 2; - List list28 = new List(num3); - CollectionsMarshal.SetCount(list28, num3); - Span span8 = CollectionsMarshal.AsSpan(list28); - 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"; - reference27 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list28); - ref ChangeEntry reference28 = ref span7[1]; + List list26 = new List(num2); + CollectionsMarshal.SetCount(list26, num2); + ref ChangeEntry reference26 = ref CollectionsMarshal.AsSpan(list26)[0]; + string description16 = global::_003CModule_003E._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(1988704596); + num3 = 1; + List list27 = new List(num3); + CollectionsMarshal.SetCount(list27, num3); + CollectionsMarshal.AsSpan(list27)[0] = global::_003CModule_003E._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(-1430483504); + reference26 = new ChangeEntry(EChangeCategory.Fixed, description16, list27); + reference25 = new ChangelogEntry(version10, releaseDate10, list26); + ref ChangelogEntry reference27 = ref span[10]; + string version11 = global::_003CModule_003E._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(1689288911); + DateOnly releaseDate11 = new DateOnly(2026, 3, 1); + num2 = 1; + List list28 = new List(num2); + CollectionsMarshal.SetCount(list28, num2); + ref ChangeEntry reference28 = ref CollectionsMarshal.AsSpan(list28)[0]; + string description17 = global::_003CModule_003E._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(-1579620133); num3 = 1; List list29 = new List(num3); CollectionsMarshal.SetCount(list29, num3); - CollectionsMarshal.AsSpan(list29)[0] = "Fixed FATE farming buff expiry and added Curtain Call cleanup on stop"; - reference28 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list29); - reference26 = new ChangelogEntry("7.4.14", releaseDate12, list27); - ref ChangelogEntry reference29 = ref span[12]; - DateOnly releaseDate13 = new DateOnly(2026, 2, 27); + CollectionsMarshal.AsSpan(list29)[0] = global::_003CModule_003E._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(108330907); + reference28 = new ChangeEntry(EChangeCategory.Fixed, description17, list29); + reference27 = new ChangelogEntry(version11, releaseDate11, list28); + ref ChangelogEntry reference29 = ref span[11]; + string version12 = global::_003CModule_003E._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(449834161); + DateOnly releaseDate12 = new DateOnly(2026, 2, 28); num2 = 1; List list30 = new List(num2); CollectionsMarshal.SetCount(list30, num2); ref ChangeEntry reference30 = ref CollectionsMarshal.AsSpan(list30)[0]; - num3 = 1; + string description18 = global::_003CModule_003E._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(-1579620133); + num3 = 2; List list31 = new List(num3); CollectionsMarshal.SetCount(list31, num3); - CollectionsMarshal.AsSpan(list31)[0] = "Fixed an issue where FATE actions were not performed during the Little Ladies Day (2026) FATE event"; - reference30 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list31); - reference29 = new ChangelogEntry("7.4.13", releaseDate13, list30); - ref ChangelogEntry reference31 = ref span[13]; - DateOnly releaseDate14 = new DateOnly(2026, 2, 26); - num2 = 3; + Span span11 = CollectionsMarshal.AsSpan(list31); + span11[0] = global::_003CModule_003E._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(-1553570259); + span11[1] = global::_003CModule_003E._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(1431104834); + reference30 = new ChangeEntry(EChangeCategory.Fixed, description18, list31); + reference29 = new ChangelogEntry(version12, releaseDate12, list30); + ref ChangelogEntry reference31 = ref span[12]; + string version13 = global::_003CModule_003E._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(1492505401); + DateOnly releaseDate13 = new DateOnly(2026, 2, 27); + num2 = 2; List list32 = new List(num2); CollectionsMarshal.SetCount(list32, num2); - Span span9 = CollectionsMarshal.AsSpan(list32); - ref ChangeEntry reference32 = ref span9[0]; - num3 = 3; + Span span12 = CollectionsMarshal.AsSpan(list32); + ref ChangeEntry reference32 = ref span12[0]; + string description19 = global::_003CModule_003E._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(-1654501195); + num3 = 2; List list33 = new List(num3); CollectionsMarshal.SetCount(list33, num3); - Span span10 = CollectionsMarshal.AsSpan(list33); - 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"; - reference32 = new ChangeEntry(EChangeCategory.Added, "New Features", list33); - ref ChangeEntry reference33 = ref span9[1]; + Span span13 = CollectionsMarshal.AsSpan(list33); + span13[0] = global::_003CModule_003E._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(282508887); + span13[1] = global::_003CModule_003E._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(1692326090); + reference32 = new ChangeEntry(EChangeCategory.Changed, description19, list33); + ref ChangeEntry reference33 = ref span12[1]; + string description20 = global::_003CModule_003E._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(-1835095083); num3 = 1; List list34 = new List(num3); CollectionsMarshal.SetCount(list34, num3); - CollectionsMarshal.AsSpan(list34)[0] = "Add Little Ladies' Day 2026 quests"; - reference33 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list34); - ref ChangeEntry reference34 = ref span9[2]; + CollectionsMarshal.AsSpan(list34)[0] = global::_003CModule_003E._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(304767039); + reference33 = new ChangeEntry(EChangeCategory.Fixed, description20, list34); + reference31 = new ChangelogEntry(version13, releaseDate13, list32); + ref ChangelogEntry reference34 = ref span[13]; + string version14 = global::_003CModule_003E._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(1472616570); + DateOnly releaseDate14 = new DateOnly(2026, 2, 27); + num2 = 1; + List list35 = new List(num2); + CollectionsMarshal.SetCount(list35, num2); + ref ChangeEntry reference35 = ref CollectionsMarshal.AsSpan(list35)[0]; + string description21 = global::_003CModule_003E._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(-1579620133); num3 = 1; - List list35 = new List(num3); - CollectionsMarshal.SetCount(list35, num3); - CollectionsMarshal.AsSpan(list35)[0] = "Quest path fixes"; - reference34 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list35); - reference31 = new ChangelogEntry("7.4.12", releaseDate14, list32); - ref ChangelogEntry reference35 = ref span[14]; - DateOnly releaseDate15 = new DateOnly(2026, 2, 2); - num2 = 2; - List list36 = new List(num2); - CollectionsMarshal.SetCount(list36, num2); - Span span11 = CollectionsMarshal.AsSpan(list36); - ref ChangeEntry reference36 = ref span11[0]; - num3 = 1; - List list37 = new List(num3); - CollectionsMarshal.SetCount(list37, num3); - CollectionsMarshal.AsSpan(list37)[0] = "Add Valentione's Day 2026 quest (The Icing on the Cake)"; - reference36 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list37); - ref ChangeEntry reference37 = ref span11[1]; - num3 = 2; + List list36 = new List(num3); + CollectionsMarshal.SetCount(list36, num3); + CollectionsMarshal.AsSpan(list36)[0] = global::_003CModule_003E._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(-548498980); + reference35 = new ChangeEntry(EChangeCategory.Fixed, description21, list36); + reference34 = new ChangelogEntry(version14, releaseDate14, list35); + ref ChangelogEntry reference36 = ref span[14]; + string version15 = global::_003CModule_003E._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(1722757910); + DateOnly releaseDate15 = new DateOnly(2026, 2, 26); + num2 = 3; + List list37 = new List(num2); + CollectionsMarshal.SetCount(list37, num2); + Span span14 = CollectionsMarshal.AsSpan(list37); + ref ChangeEntry reference37 = ref span14[0]; + string description22 = global::_003CModule_003E._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(23444354); + num3 = 3; List list38 = new List(num3); CollectionsMarshal.SetCount(list38, num3); - Span span12 = CollectionsMarshal.AsSpan(list38); - span12[0] = "Updated Duty journal to include missing duty types"; - span12[1] = "Added various missing sequences to quests"; - reference37 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list38); - reference35 = new ChangelogEntry("7.4.11", releaseDate15, list36); - ref ChangelogEntry reference38 = ref span[15]; - DateOnly releaseDate16 = new DateOnly(2026, 1, 18); - num2 = 2; - List list39 = new List(num2); - CollectionsMarshal.SetCount(list39, num2); - Span span13 = CollectionsMarshal.AsSpan(list39); - ref ChangeEntry reference39 = ref span13[0]; - num3 = 5; + Span span15 = CollectionsMarshal.AsSpan(list38); + span15[0] = global::_003CModule_003E._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(-134107942); + span15[1] = global::_003CModule_003E._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(1699752210); + span15[2] = global::_003CModule_003E._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(1079934219); + reference37 = new ChangeEntry(EChangeCategory.Added, description22, list38); + ref ChangeEntry reference38 = ref span14[1]; + string description23 = global::_003CModule_003E._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(-1205328867); + num3 = 1; + List list39 = new List(num3); + CollectionsMarshal.SetCount(list39, num3); + CollectionsMarshal.AsSpan(list39)[0] = global::_003CModule_003E._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(-1816103115); + reference38 = new ChangeEntry(EChangeCategory.QuestUpdates, description23, list39); + ref ChangeEntry reference39 = ref span14[2]; + string description24 = global::_003CModule_003E._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(-1579620133); + num3 = 1; List list40 = new List(num3); CollectionsMarshal.SetCount(list40, num3); - Span span14 = CollectionsMarshal.AsSpan(list40); - 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"; - reference39 = new ChangeEntry(EChangeCategory.Added, "Major Features", list40); - ref ChangeEntry reference40 = ref span13[1]; - num3 = 5; - List list41 = new List(num3); - CollectionsMarshal.SetCount(list41, num3); - Span span15 = CollectionsMarshal.AsSpan(list41); - 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"; - reference40 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list41); - reference38 = new ChangelogEntry("7.4.10", releaseDate16, list39); - ref ChangelogEntry reference41 = ref span[16]; - DateOnly releaseDate17 = new DateOnly(2025, 12, 31); - num2 = 3; - List list42 = new List(num2); - CollectionsMarshal.SetCount(list42, num2); - Span span16 = CollectionsMarshal.AsSpan(list42); - ref ChangeEntry reference42 = ref span16[0]; + CollectionsMarshal.AsSpan(list40)[0] = global::_003CModule_003E._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(-1027297538); + reference39 = new ChangeEntry(EChangeCategory.Fixed, description24, list40); + reference36 = new ChangelogEntry(version15, releaseDate15, list37); + ref ChangelogEntry reference40 = ref span[15]; + string version16 = global::_003CModule_003E._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(40550758); + DateOnly releaseDate16 = new DateOnly(2026, 2, 2); + num2 = 2; + List list41 = new List(num2); + CollectionsMarshal.SetCount(list41, num2); + Span span16 = CollectionsMarshal.AsSpan(list41); + ref ChangeEntry reference41 = ref span16[0]; + string description25 = global::_003CModule_003E._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(938485712); num3 = 1; + List list42 = new List(num3); + CollectionsMarshal.SetCount(list42, num3); + CollectionsMarshal.AsSpan(list42)[0] = global::_003CModule_003E._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(-209432734); + reference41 = new ChangeEntry(EChangeCategory.QuestUpdates, description25, list42); + ref ChangeEntry reference42 = ref span16[1]; + string description26 = global::_003CModule_003E._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(774081000); + num3 = 2; List list43 = new List(num3); CollectionsMarshal.SetCount(list43, num3); - CollectionsMarshal.AsSpan(list43)[0] = "Add Heavensturn (2026) quests"; - reference42 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list43); - ref ChangeEntry reference43 = ref span16[1]; - num3 = 1; - List list44 = new List(num3); - CollectionsMarshal.SetCount(list44, num3); - CollectionsMarshal.AsSpan(list44)[0] = "Added missing quest sequences"; - reference43 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list44); - ref ChangeEntry reference44 = ref span16[2]; - num3 = 1; + Span span17 = CollectionsMarshal.AsSpan(list43); + span17[0] = global::_003CModule_003E._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(-1983159648); + span17[1] = global::_003CModule_003E._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(216829209); + reference42 = new ChangeEntry(EChangeCategory.Changed, description26, list43); + reference40 = new ChangelogEntry(version16, releaseDate16, list41); + ref ChangelogEntry reference43 = ref span[16]; + string version17 = global::_003CModule_003E._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(-1566696188); + DateOnly releaseDate17 = new DateOnly(2026, 1, 18); + num2 = 2; + List list44 = new List(num2); + CollectionsMarshal.SetCount(list44, num2); + Span span18 = CollectionsMarshal.AsSpan(list44); + ref ChangeEntry reference44 = ref span18[0]; + string description27 = global::_003CModule_003E._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(381625035); + num3 = 5; List list45 = new List(num3); CollectionsMarshal.SetCount(list45, num3); - CollectionsMarshal.AsSpan(list45)[0] = "Fixed leveling mode not restarting properly"; - reference44 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list45); - reference41 = new ChangelogEntry("7.4.9", releaseDate17, list42); - ref ChangelogEntry reference45 = ref span[17]; - DateOnly releaseDate18 = new DateOnly(2025, 12, 29); - num2 = 1; - List list46 = new List(num2); - CollectionsMarshal.SetCount(list46, num2); - ref ChangeEntry reference46 = ref CollectionsMarshal.AsSpan(list46)[0]; - num3 = 2; - List list47 = new List(num3); - CollectionsMarshal.SetCount(list47, num3); - Span span17 = CollectionsMarshal.AsSpan(list47); - span17[0] = "Fixed infinite teleport loop when multiple quests compete for priority"; - span17[1] = "Fixed leveling mode enabling for quest duties"; - reference46 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list47); - reference45 = new ChangelogEntry("7.4.8", releaseDate18, list46); - ref ChangelogEntry reference47 = ref span[18]; - DateOnly releaseDate19 = new DateOnly(2025, 12, 28); - num2 = 4; - List list48 = new List(num2); - CollectionsMarshal.SetCount(list48, num2); - Span span18 = CollectionsMarshal.AsSpan(list48); - ref ChangeEntry reference48 = ref span18[0]; + Span span19 = CollectionsMarshal.AsSpan(list45); + span19[0] = global::_003CModule_003E._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(-373303947); + span19[1] = global::_003CModule_003E._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(-806168638); + span19[2] = global::_003CModule_003E._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(642763170); + span19[3] = global::_003CModule_003E._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(1757513795); + span19[4] = global::_003CModule_003E._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(1364091691); + reference44 = new ChangeEntry(EChangeCategory.Added, description27, list45); + ref ChangeEntry reference45 = ref span18[1]; + string description28 = global::_003CModule_003E._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(-1654501195); + num3 = 5; + List list46 = new List(num3); + CollectionsMarshal.SetCount(list46, num3); + Span span20 = CollectionsMarshal.AsSpan(list46); + span20[0] = global::_003CModule_003E._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(441686956); + span20[1] = global::_003CModule_003E._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(1888709160); + span20[2] = global::_003CModule_003E._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(1158425412); + span20[3] = global::_003CModule_003E._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(-1937684379); + span20[4] = global::_003CModule_003E._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(849091842); + reference45 = new ChangeEntry(EChangeCategory.Changed, description28, list46); + reference43 = new ChangelogEntry(version17, releaseDate17, list44); + ref ChangelogEntry reference46 = ref span[17]; + string version18 = global::_003CModule_003E._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(-1136892219); + DateOnly releaseDate18 = new DateOnly(2025, 12, 31); + num2 = 3; + List list47 = new List(num2); + CollectionsMarshal.SetCount(list47, num2); + Span span21 = CollectionsMarshal.AsSpan(list47); + ref ChangeEntry reference47 = ref span21[0]; + string description29 = global::_003CModule_003E._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(104530671); + num3 = 1; + List list48 = new List(num3); + CollectionsMarshal.SetCount(list48, num3); + CollectionsMarshal.AsSpan(list48)[0] = global::_003CModule_003E._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(-1863893760); + reference47 = new ChangeEntry(EChangeCategory.QuestUpdates, description29, list48); + ref ChangeEntry reference48 = ref span21[1]; + string description30 = global::_003CModule_003E._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(774081000); num3 = 1; List list49 = new List(num3); CollectionsMarshal.SetCount(list49, num3); - CollectionsMarshal.AsSpan(list49)[0] = "Added leveling mode when underleveled for MSQ"; - reference48 = new ChangeEntry(EChangeCategory.Added, "Major Features", list49); - ref ChangeEntry reference49 = ref span18[1]; - num3 = 3; + CollectionsMarshal.AsSpan(list49)[0] = global::_003CModule_003E._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(-1610476665); + reference48 = new ChangeEntry(EChangeCategory.Changed, description30, list49); + ref ChangeEntry reference49 = ref span21[2]; + string description31 = global::_003CModule_003E._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(1988704596); + num3 = 1; List list50 = new List(num3); CollectionsMarshal.SetCount(list50, num3); - Span span19 = CollectionsMarshal.AsSpan(list50); - 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"; - reference49 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list50); - ref ChangeEntry reference50 = ref span18[2]; - num3 = 1; - List list51 = new List(num3); - CollectionsMarshal.SetCount(list51, num3); - CollectionsMarshal.AsSpan(list51)[0] = "Added leveling mode IPC: IsLevelingModeEnabled, SetLevelingModeEnabled, GetMsqLevelLockInfo, StartLevelingMode, StopLevelingMode"; - reference50 = new ChangeEntry(EChangeCategory.Added, "IPC Changes", list51); - ref ChangeEntry reference51 = ref span18[3]; - num3 = 1; + CollectionsMarshal.AsSpan(list50)[0] = global::_003CModule_003E._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(670292315); + reference49 = new ChangeEntry(EChangeCategory.Fixed, description31, list50); + reference46 = new ChangelogEntry(version18, releaseDate18, list47); + ref ChangelogEntry reference50 = ref span[18]; + string version19 = global::_003CModule_003E._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(767500568); + DateOnly releaseDate19 = new DateOnly(2025, 12, 29); + num2 = 1; + List list51 = new List(num2); + CollectionsMarshal.SetCount(list51, num2); + ref ChangeEntry reference51 = ref CollectionsMarshal.AsSpan(list51)[0]; + string description32 = global::_003CModule_003E._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(1988704596); + num3 = 2; List list52 = new List(num3); CollectionsMarshal.SetCount(list52, num3); - CollectionsMarshal.AsSpan(list52)[0] = "Fixed UI appearing in duties when debuff or interrupts occur"; - reference51 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list52); - reference47 = new ChangelogEntry("7.4.7", releaseDate19, list48); + Span span22 = CollectionsMarshal.AsSpan(list52); + span22[0] = global::_003CModule_003E._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(1855705330); + span22[1] = global::_003CModule_003E._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(-1665406747); + reference51 = new ChangeEntry(EChangeCategory.Fixed, description32, list52); + reference50 = new ChangelogEntry(version19, releaseDate19, list51); ref ChangelogEntry reference52 = ref span[19]; - DateOnly releaseDate20 = new DateOnly(2025, 12, 23); - num2 = 2; + string version20 = global::_003CModule_003E._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(36788666); + DateOnly releaseDate20 = new DateOnly(2025, 12, 28); + num2 = 4; List list53 = new List(num2); CollectionsMarshal.SetCount(list53, num2); - Span span20 = CollectionsMarshal.AsSpan(list53); - ref ChangeEntry reference53 = ref span20[0]; + Span span23 = CollectionsMarshal.AsSpan(list53); + ref ChangeEntry reference53 = ref span23[0]; + string description33 = global::_003CModule_003E._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(954784062); num3 = 1; List list54 = new List(num3); CollectionsMarshal.SetCount(list54, num3); - CollectionsMarshal.AsSpan(list54)[0] = "Added Cinema Mode to not skip cutscenes"; - reference53 = new ChangeEntry(EChangeCategory.Added, "Major Features", list54); - ref ChangeEntry reference54 = ref span20[1]; - num3 = 2; + CollectionsMarshal.AsSpan(list54)[0] = global::_003CModule_003E._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(1845887674); + reference53 = new ChangeEntry(EChangeCategory.Added, description33, list54); + ref ChangeEntry reference54 = ref span23[1]; + string description34 = global::_003CModule_003E._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(-1654501195); + num3 = 3; List list55 = new List(num3); CollectionsMarshal.SetCount(list55, num3); - Span span21 = CollectionsMarshal.AsSpan(list55); - 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"; - reference54 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list55); - reference52 = new ChangelogEntry("7.4.6", releaseDate20, list53); - ref ChangelogEntry reference55 = ref span[20]; - DateOnly releaseDate21 = new DateOnly(2025, 12, 22); - num2 = 1; - List list56 = new List(num2); - CollectionsMarshal.SetCount(list56, num2); - ref ChangeEntry reference56 = ref CollectionsMarshal.AsSpan(list56)[0]; - num3 = 2; + Span span24 = CollectionsMarshal.AsSpan(list55); + span24[0] = global::_003CModule_003E._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(-504827294); + span24[1] = global::_003CModule_003E._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(1298412013); + span24[2] = global::_003CModule_003E._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(399097166); + reference54 = new ChangeEntry(EChangeCategory.Changed, description34, list55); + ref ChangeEntry reference55 = ref span23[2]; + string description35 = global::_003CModule_003E._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(-2048683542); + num3 = 1; + List list56 = new List(num3); + CollectionsMarshal.SetCount(list56, num3); + CollectionsMarshal.AsSpan(list56)[0] = global::_003CModule_003E._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(1581069025); + reference55 = new ChangeEntry(EChangeCategory.Added, description35, list56); + ref ChangeEntry reference56 = ref span23[3]; + string description36 = global::_003CModule_003E._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(-1835095083); + num3 = 1; List list57 = new List(num3); CollectionsMarshal.SetCount(list57, num3); - Span span22 = CollectionsMarshal.AsSpan(list57); - span22[0] = "Dive adjustments"; - span22[1] = "Logging message adjustments"; - reference56 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list57); - reference55 = new ChangelogEntry("7.4.5", releaseDate21, list56); - ref ChangelogEntry reference57 = ref span[21]; - DateOnly releaseDate22 = new DateOnly(2025, 12, 21); + CollectionsMarshal.AsSpan(list57)[0] = global::_003CModule_003E._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(1397502577); + reference56 = new ChangeEntry(EChangeCategory.Fixed, description36, list57); + reference52 = new ChangelogEntry(version20, releaseDate20, list53); + ref ChangelogEntry reference57 = ref span[20]; + string version21 = global::_003CModule_003E._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(-832897702); + DateOnly releaseDate21 = new DateOnly(2025, 12, 23); num2 = 2; List list58 = new List(num2); CollectionsMarshal.SetCount(list58, num2); - Span span23 = CollectionsMarshal.AsSpan(list58); - ref ChangeEntry reference58 = ref span23[0]; + Span span25 = CollectionsMarshal.AsSpan(list58); + ref ChangeEntry reference58 = ref span25[0]; + string description37 = global::_003CModule_003E._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(2066276421); num3 = 1; List list59 = new List(num3); CollectionsMarshal.SetCount(list59, num3); - CollectionsMarshal.AsSpan(list59)[0] = "Changelog only shows once per update now"; - reference58 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list59); - ref ChangeEntry reference59 = ref span23[1]; - num3 = 1; + CollectionsMarshal.AsSpan(list59)[0] = global::_003CModule_003E._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(-947900172); + reference58 = new ChangeEntry(EChangeCategory.Added, description37, list59); + ref ChangeEntry reference59 = ref span25[1]; + string description38 = global::_003CModule_003E._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(85797835); + num3 = 2; List list60 = new List(num3); CollectionsMarshal.SetCount(list60, num3); - CollectionsMarshal.AsSpan(list60)[0] = "Fixed gathering paths loading"; - reference59 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list60); - reference57 = new ChangelogEntry("7.4.4", releaseDate22, list58); - ref ChangelogEntry reference60 = ref span[22]; - DateOnly releaseDate23 = new DateOnly(2025, 12, 21); + Span span26 = CollectionsMarshal.AsSpan(list60); + span26[0] = global::_003CModule_003E._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(1200354981); + span26[1] = global::_003CModule_003E._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(-1129217432); + reference59 = new ChangeEntry(EChangeCategory.Changed, description38, list60); + reference57 = new ChangelogEntry(version21, releaseDate21, list58); + ref ChangelogEntry reference60 = ref span[21]; + string version22 = global::_003CModule_003E._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(-996768915); + DateOnly releaseDate22 = new DateOnly(2025, 12, 22); num2 = 1; List list61 = new List(num2); CollectionsMarshal.SetCount(list61, num2); ref ChangeEntry reference61 = ref CollectionsMarshal.AsSpan(list61)[0]; - num3 = 1; + string description39 = global::_003CModule_003E._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(85797835); + num3 = 2; List list62 = new List(num3); CollectionsMarshal.SetCount(list62, num3); - CollectionsMarshal.AsSpan(list62)[0] = "Fixed changelog version checks"; - reference61 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list62); - reference60 = new ChangelogEntry("7.4.3", releaseDate23, list61); - ref ChangelogEntry reference62 = ref span[23]; - DateOnly releaseDate24 = new DateOnly(2025, 12, 20); + Span span27 = CollectionsMarshal.AsSpan(list62); + span27[0] = global::_003CModule_003E._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(751504229); + span27[1] = global::_003CModule_003E._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(1213300876); + reference61 = new ChangeEntry(EChangeCategory.Changed, description39, list62); + reference60 = new ChangelogEntry(version22, releaseDate22, list61); + ref ChangelogEntry reference62 = ref span[22]; + string version23 = global::_003CModule_003E._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(18431859); + DateOnly releaseDate23 = new DateOnly(2025, 12, 21); num2 = 2; List list63 = new List(num2); CollectionsMarshal.SetCount(list63, num2); - Span span24 = CollectionsMarshal.AsSpan(list63); - ref ChangeEntry reference63 = ref span24[0]; + Span span28 = CollectionsMarshal.AsSpan(list63); + ref ChangeEntry reference63 = ref span28[0]; + string description40 = global::_003CModule_003E._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(-1932541412); num3 = 1; List list64 = new List(num3); CollectionsMarshal.SetCount(list64, num3); - CollectionsMarshal.AsSpan(list64)[0] = "Add 7.4 Starlight Celebration (2025) quest"; - reference63 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list64); - ref ChangeEntry reference64 = ref span24[1]; + CollectionsMarshal.AsSpan(list64)[0] = global::_003CModule_003E._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(1835611599); + reference63 = new ChangeEntry(EChangeCategory.Changed, description40, list64); + ref ChangeEntry reference64 = ref span28[1]; + string description41 = global::_003CModule_003E._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(-1507569216); num3 = 1; List list65 = new List(num3); CollectionsMarshal.SetCount(list65, num3); - CollectionsMarshal.AsSpan(list65)[0] = "Fixed 7.4 MSQ"; - reference64 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list65); - reference62 = new ChangelogEntry("7.4.2", releaseDate24, list63); - ref ChangelogEntry reference65 = ref span[24]; - DateOnly releaseDate25 = new DateOnly(2025, 12, 19); + CollectionsMarshal.AsSpan(list65)[0] = global::_003CModule_003E._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(1090499742); + reference64 = new ChangeEntry(EChangeCategory.Fixed, description41, list65); + reference62 = new ChangelogEntry(version23, releaseDate23, list63); + ref ChangelogEntry reference65 = ref span[23]; + string version24 = global::_003CModule_003E._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(-695286279); + DateOnly releaseDate24 = new DateOnly(2025, 12, 21); num2 = 1; List list66 = new List(num2); CollectionsMarshal.SetCount(list66, num2); ref ChangeEntry reference66 = ref CollectionsMarshal.AsSpan(list66)[0]; - num3 = 2; + string description42 = global::_003CModule_003E._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(-1507569216); + num3 = 1; List list67 = new List(num3); CollectionsMarshal.SetCount(list67, num3); - Span span25 = CollectionsMarshal.AsSpan(list67); - span25[0] = "Add 7.4 MSQ"; - span25[1] = "Add 7.4 Arcadion Raid quests"; - reference66 = new ChangeEntry(EChangeCategory.QuestUpdates, "New Quest Paths", list67); - reference65 = new ChangelogEntry("7.4.1", releaseDate25, list66); - ref ChangelogEntry reference67 = ref span[25]; - DateOnly releaseDate26 = new DateOnly(2025, 12, 17); - num2 = 1; + CollectionsMarshal.AsSpan(list67)[0] = global::_003CModule_003E._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(-1939293958); + reference66 = new ChangeEntry(EChangeCategory.Fixed, description42, list67); + reference65 = new ChangelogEntry(version24, releaseDate24, list66); + ref ChangelogEntry reference67 = ref span[24]; + string version25 = global::_003CModule_003E._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(1477813935); + DateOnly releaseDate25 = new DateOnly(2025, 12, 20); + num2 = 2; List list68 = new List(num2); CollectionsMarshal.SetCount(list68, num2); - CollectionsMarshal.AsSpan(list68)[0] = new ChangeEntry(EChangeCategory.Changed, "Api 14 update"); - reference67 = new ChangelogEntry("7.4.0", releaseDate26, list68); - ref ChangelogEntry reference68 = ref span[26]; - DateOnly releaseDate27 = new DateOnly(2025, 12, 6); - num2 = 2; - List list69 = new List(num2); - CollectionsMarshal.SetCount(list69, num2); - Span span26 = CollectionsMarshal.AsSpan(list69); - ref ChangeEntry reference69 = ref span26[0]; - num3 = 4; + Span span29 = CollectionsMarshal.AsSpan(list68); + ref ChangeEntry reference68 = ref span29[0]; + string description43 = global::_003CModule_003E._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(1236459337); + num3 = 1; + List list69 = new List(num3); + CollectionsMarshal.SetCount(list69, num3); + CollectionsMarshal.AsSpan(list69)[0] = global::_003CModule_003E._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(248228720); + reference68 = new ChangeEntry(EChangeCategory.QuestUpdates, description43, list69); + ref ChangeEntry reference69 = ref span29[1]; + string description44 = global::_003CModule_003E._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(-1579620133); + num3 = 1; List list70 = new List(num3); CollectionsMarshal.SetCount(list70, num3); - Span span27 = CollectionsMarshal.AsSpan(list70); - 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"; - reference69 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list70); - ref ChangeEntry reference70 = ref span26[1]; - num3 = 1; - List list71 = new List(num3); - CollectionsMarshal.SetCount(list71, num3); - CollectionsMarshal.AsSpan(list71)[0] = "Fixed reset task state to prevent stuck interactions after interruption"; - reference70 = new ChangeEntry(EChangeCategory.Fixed, "Fixes", list71); - reference68 = new ChangelogEntry("7.38.9", releaseDate27, list69); - ref ChangelogEntry reference71 = ref span[27]; - DateOnly releaseDate28 = new DateOnly(2025, 11, 29); - num2 = 2; - List list72 = new List(num2); - CollectionsMarshal.SetCount(list72, num2); - Span span28 = CollectionsMarshal.AsSpan(list72); - ref ChangeEntry reference72 = ref span28[0]; - num3 = 3; - List list73 = new List(num3); - CollectionsMarshal.SetCount(list73, num3); - Span span29 = CollectionsMarshal.AsSpan(list73); - span29[0] = "Movement update with automatic retrying if character can't reach target position"; - span29[1] = "Added Hunt mob data"; - span29[2] = "Refactored commands"; - reference72 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list73); - ref ChangeEntry reference73 = ref span28[1]; - num3 = 3; - List list74 = new List(num3); - CollectionsMarshal.SetCount(list74, num3); - Span span30 = CollectionsMarshal.AsSpan(list74); - span30[0] = "Fixed quest (Way of the Archer)"; - span30[1] = "Fixed quest (Spirithold Broken)"; - span30[2] = "Fixed quest (It's Probably Not Pirates)"; - reference73 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list74); - reference71 = new ChangelogEntry("7.38.8", releaseDate28, list72); - ref ChangelogEntry reference74 = ref span[28]; - DateOnly releaseDate29 = new DateOnly(2025, 11, 25); - num2 = 2; - List list75 = new List(num2); - CollectionsMarshal.SetCount(list75, num2); - Span span31 = CollectionsMarshal.AsSpan(list75); - ref ChangeEntry reference75 = ref span31[0]; + CollectionsMarshal.AsSpan(list70)[0] = global::_003CModule_003E._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(1755079218); + reference69 = new ChangeEntry(EChangeCategory.Fixed, description44, list70); + reference67 = new ChangelogEntry(version25, releaseDate25, list68); + ref ChangelogEntry reference70 = ref span[25]; + string version26 = global::_003CModule_003E._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(1560310770); + DateOnly releaseDate26 = new DateOnly(2025, 12, 19); + num2 = 1; + List list71 = new List(num2); + CollectionsMarshal.SetCount(list71, num2); + ref ChangeEntry reference71 = ref CollectionsMarshal.AsSpan(list71)[0]; + string description45 = global::_003CModule_003E._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(104530671); num3 = 2; + List list72 = new List(num3); + CollectionsMarshal.SetCount(list72, num3); + Span span30 = CollectionsMarshal.AsSpan(list72); + span30[0] = global::_003CModule_003E._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(-810604868); + span30[1] = global::_003CModule_003E._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(908882830); + reference71 = new ChangeEntry(EChangeCategory.QuestUpdates, description45, list72); + reference70 = new ChangelogEntry(version26, releaseDate26, list71); + ref ChangelogEntry reference72 = ref span[26]; + string version27 = global::_003CModule_003E._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(727206169); + DateOnly releaseDate27 = new DateOnly(2025, 12, 17); + num2 = 1; + List list73 = new List(num2); + CollectionsMarshal.SetCount(list73, num2); + CollectionsMarshal.AsSpan(list73)[0] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(-1604730059)); + reference72 = new ChangelogEntry(version27, releaseDate27, list73); + ref ChangelogEntry reference73 = ref span[27]; + string version28 = global::_003CModule_003E._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(2099862460); + DateOnly releaseDate28 = new DateOnly(2025, 12, 6); + num2 = 2; + List list74 = new List(num2); + CollectionsMarshal.SetCount(list74, num2); + Span span31 = CollectionsMarshal.AsSpan(list74); + ref ChangeEntry reference74 = ref span31[0]; + string description46 = global::_003CModule_003E._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(85797835); + num3 = 4; + List list75 = new List(num3); + CollectionsMarshal.SetCount(list75, num3); + Span span32 = CollectionsMarshal.AsSpan(list75); + span32[0] = global::_003CModule_003E._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(1182594524); + span32[1] = global::_003CModule_003E._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(-756473470); + span32[2] = global::_003CModule_003E._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(314528771); + span32[3] = global::_003CModule_003E._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(724681129); + reference74 = new ChangeEntry(EChangeCategory.Changed, description46, list75); + ref ChangeEntry reference75 = ref span31[1]; + string description47 = global::_003CModule_003E._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(-1835095083); + num3 = 1; List list76 = new List(num3); CollectionsMarshal.SetCount(list76, num3); - Span span32 = CollectionsMarshal.AsSpan(list76); - span32[0] = "Added individual sequence stop condition for each quest"; - span32[1] = "Added Trials to Duties tab in config"; - reference75 = new ChangeEntry(EChangeCategory.Added, "Major features", list76); - ref ChangeEntry reference76 = ref span31[1]; - num3 = 1; - List list77 = new List(num3); - CollectionsMarshal.SetCount(list77, num3); - CollectionsMarshal.AsSpan(list77)[0] = "Added IPC for stop conditions: GetQuestSequenceStopCondition, SetQuestSequenceStopCondition, RemoveQuestSequenceStopCondition, GetAllQuestSequenceStopConditions"; - reference76 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list77); - reference74 = new ChangelogEntry("7.38.7", releaseDate29, list75); - ref ChangelogEntry reference77 = ref span[29]; - DateOnly releaseDate30 = new DateOnly(2025, 11, 25); - num2 = 3; - List list78 = new List(num2); - CollectionsMarshal.SetCount(list78, num2); - Span span33 = CollectionsMarshal.AsSpan(list78); - ref ChangeEntry reference78 = ref span33[0]; - num3 = 2; + CollectionsMarshal.AsSpan(list76)[0] = global::_003CModule_003E._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(-137511598); + reference75 = new ChangeEntry(EChangeCategory.Fixed, description47, list76); + reference73 = new ChangelogEntry(version28, releaseDate28, list74); + ref ChangelogEntry reference76 = ref span[28]; + string version29 = global::_003CModule_003E._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(-46381476); + DateOnly releaseDate29 = new DateOnly(2025, 11, 29); + num2 = 2; + List list77 = new List(num2); + CollectionsMarshal.SetCount(list77, num2); + Span span33 = CollectionsMarshal.AsSpan(list77); + ref ChangeEntry reference77 = ref span33[0]; + string description48 = global::_003CModule_003E._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(85797835); + num3 = 3; + List list78 = new List(num3); + CollectionsMarshal.SetCount(list78, num3); + Span span34 = CollectionsMarshal.AsSpan(list78); + span34[0] = global::_003CModule_003E._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(-409468670); + span34[1] = global::_003CModule_003E._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(-1767459051); + span34[2] = global::_003CModule_003E._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(1881526523); + reference77 = new ChangeEntry(EChangeCategory.Changed, description48, list78); + ref ChangeEntry reference78 = ref span33[1]; + string description49 = global::_003CModule_003E._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(1584699393); + num3 = 3; List list79 = new List(num3); CollectionsMarshal.SetCount(list79, num3); - Span span34 = CollectionsMarshal.AsSpan(list79); - span34[0] = "Updated Allied Society journal text"; - span34[1] = "Improved Allied Society rank handling"; - reference78 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list79); - ref ChangeEntry reference79 = ref span33[1]; - num3 = 1; - List list80 = new List(num3); - CollectionsMarshal.SetCount(list80, num3); - CollectionsMarshal.AsSpan(list80)[0] = "Added IPC for Allied Society: AddAlliedSocietyOptimalQuests, GetAlliedSocietyOptimalQuests"; - reference79 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list80); - ref ChangeEntry reference80 = ref span33[2]; - num3 = 1; + Span span35 = CollectionsMarshal.AsSpan(list79); + span35[0] = global::_003CModule_003E._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(-1592881755); + span35[1] = global::_003CModule_003E._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(-210252689); + span35[2] = global::_003CModule_003E._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(973706259); + reference78 = new ChangeEntry(EChangeCategory.Fixed, description49, list79); + reference76 = new ChangelogEntry(version29, releaseDate29, list77); + ref ChangelogEntry reference79 = ref span[29]; + string version30 = global::_003CModule_003E._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(179581068); + DateOnly releaseDate30 = new DateOnly(2025, 11, 25); + num2 = 2; + List list80 = new List(num2); + CollectionsMarshal.SetCount(list80, num2); + Span span36 = CollectionsMarshal.AsSpan(list80); + ref ChangeEntry reference80 = ref span36[0]; + string description50 = global::_003CModule_003E._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(879749489); + num3 = 2; List list81 = new List(num3); CollectionsMarshal.SetCount(list81, num3); - CollectionsMarshal.AsSpan(list81)[0] = "Fixed quest (We Come in Peace)"; - reference80 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list81); - reference77 = new ChangelogEntry("7.38.6", releaseDate30, list78); - ref ChangelogEntry reference81 = ref span[30]; - DateOnly releaseDate31 = new DateOnly(2025, 11, 24); - num2 = 2; - List list82 = new List(num2); - CollectionsMarshal.SetCount(list82, num2); - Span span35 = CollectionsMarshal.AsSpan(list82); - ref ChangeEntry reference82 = ref span35[0]; - num3 = 1; - List list83 = new List(num3); - CollectionsMarshal.SetCount(list83, num3); - CollectionsMarshal.AsSpan(list83)[0] = "Added Allied Society daily allowance tracker with bulk quest adding buttons"; - reference82 = new ChangeEntry(EChangeCategory.Added, "Major features", list83); - ref ChangeEntry reference83 = ref span35[1]; + Span span37 = CollectionsMarshal.AsSpan(list81); + span37[0] = global::_003CModule_003E._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(-204832208); + span37[1] = global::_003CModule_003E._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(-179084099); + reference80 = new ChangeEntry(EChangeCategory.Added, description50, list81); + ref ChangeEntry reference81 = ref span36[1]; + string description51 = global::_003CModule_003E._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(1221252743); num3 = 1; + List list82 = new List(num3); + CollectionsMarshal.SetCount(list82, num3); + CollectionsMarshal.AsSpan(list82)[0] = global::_003CModule_003E._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(414985783); + reference81 = new ChangeEntry(EChangeCategory.Added, description51, list82); + reference79 = new ChangelogEntry(version30, releaseDate30, list80); + ref ChangelogEntry reference82 = ref span[30]; + string version31 = global::_003CModule_003E._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(-833389675); + DateOnly releaseDate31 = new DateOnly(2025, 11, 25); + num2 = 3; + List list83 = new List(num2); + CollectionsMarshal.SetCount(list83, num2); + Span span38 = CollectionsMarshal.AsSpan(list83); + ref ChangeEntry reference83 = ref span38[0]; + string description52 = global::_003CModule_003E._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(-1932541412); + num3 = 2; List list84 = new List(num3); CollectionsMarshal.SetCount(list84, num3); - CollectionsMarshal.AsSpan(list84)[0] = "Added IPC for Allied Society: GetRemainingAllowances, GetTimeUntilReset, GetAvailableQuestIds, GetAllAvailableQuestCounts, IsMaxRank, GetCurrentRank, GetSocietiesWithAvailableQuests"; - reference83 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list84); - reference81 = new ChangelogEntry("7.38.5", releaseDate31, list82); - ref ChangelogEntry reference84 = ref span[31]; - DateOnly releaseDate32 = new DateOnly(2025, 11, 23); - num2 = 2; - List list85 = new List(num2); - CollectionsMarshal.SetCount(list85, num2); - Span span36 = CollectionsMarshal.AsSpan(list85); - ref ChangeEntry reference85 = ref span36[0]; + Span span39 = CollectionsMarshal.AsSpan(list84); + span39[0] = global::_003CModule_003E._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(1638683351); + span39[1] = global::_003CModule_003E._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(379716476); + reference83 = new ChangeEntry(EChangeCategory.Changed, description52, list84); + ref ChangeEntry reference84 = ref span38[1]; + string description53 = global::_003CModule_003E._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(1221252743); + num3 = 1; + List list85 = new List(num3); + CollectionsMarshal.SetCount(list85, num3); + CollectionsMarshal.AsSpan(list85)[0] = global::_003CModule_003E._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(2012802446); + reference84 = new ChangeEntry(EChangeCategory.Added, description53, list85); + ref ChangeEntry reference85 = ref span38[2]; + string description54 = global::_003CModule_003E._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(1138488759); num3 = 1; List list86 = new List(num3); CollectionsMarshal.SetCount(list86, num3); - CollectionsMarshal.AsSpan(list86)[0] = "Explicitly declare support for BMR singleplayer duty (The Rematch)"; - reference85 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list86); - ref ChangeEntry reference86 = ref span36[1]; - num3 = 8; - List list87 = new List(num3); - CollectionsMarshal.SetCount(list87, num3); - Span span37 = CollectionsMarshal.AsSpan(list87); - 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"; - reference86 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list87); - reference84 = new ChangelogEntry("7.38.4", releaseDate32, list85); - ref ChangelogEntry reference87 = ref span[32]; - DateOnly releaseDate33 = new DateOnly(2025, 11, 23); - num2 = 3; - List list88 = new List(num2); - CollectionsMarshal.SetCount(list88, num2); - Span span38 = CollectionsMarshal.AsSpan(list88); - ref ChangeEntry reference88 = ref span38[0]; - num3 = 2; + CollectionsMarshal.AsSpan(list86)[0] = global::_003CModule_003E._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(-743692222); + reference85 = new ChangeEntry(EChangeCategory.Fixed, description54, list86); + reference82 = new ChangelogEntry(version31, releaseDate31, list83); + ref ChangelogEntry reference86 = ref span[31]; + string version32 = global::_003CModule_003E._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(-572940595); + DateOnly releaseDate32 = new DateOnly(2025, 11, 24); + num2 = 2; + List list87 = new List(num2); + CollectionsMarshal.SetCount(list87, num2); + Span span40 = CollectionsMarshal.AsSpan(list87); + ref ChangeEntry reference87 = ref span40[0]; + string description55 = global::_003CModule_003E._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(-517757456); + num3 = 1; + List list88 = new List(num3); + CollectionsMarshal.SetCount(list88, num3); + CollectionsMarshal.AsSpan(list88)[0] = global::_003CModule_003E._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(2056981462); + reference87 = new ChangeEntry(EChangeCategory.Added, description55, list88); + ref ChangeEntry reference88 = ref span40[1]; + string description56 = global::_003CModule_003E._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(1797741366); + num3 = 1; List list89 = new List(num3); CollectionsMarshal.SetCount(list89, num3); - Span span39 = CollectionsMarshal.AsSpan(list89); - span39[0] = "Added RequireHq to crafting InteractionType"; - span39[1] = "Mark GC quests as Locked if rank not achieved"; - reference88 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list89); - ref ChangeEntry reference89 = ref span38[1]; - num3 = 2; - List list90 = new List(num3); - CollectionsMarshal.SetCount(list90, num3); - Span span40 = CollectionsMarshal.AsSpan(list90); - 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"; - reference89 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list90); - ref ChangeEntry reference90 = ref span38[2]; - num3 = 3; + CollectionsMarshal.AsSpan(list89)[0] = global::_003CModule_003E._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(1250463132); + reference88 = new ChangeEntry(EChangeCategory.Added, description56, list89); + reference86 = new ChangelogEntry(version32, releaseDate32, list87); + ref ChangelogEntry reference89 = ref span[32]; + string version33 = global::_003CModule_003E._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(729407823); + DateOnly releaseDate33 = new DateOnly(2025, 11, 23); + num2 = 2; + List list90 = new List(num2); + CollectionsMarshal.SetCount(list90, num2); + Span span41 = CollectionsMarshal.AsSpan(list90); + ref ChangeEntry reference90 = ref span41[0]; + string description57 = global::_003CModule_003E._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(-1862872262); + num3 = 1; List list91 = new List(num3); CollectionsMarshal.SetCount(list91, num3); - Span span41 = CollectionsMarshal.AsSpan(list91); - span41[0] = "Fixed line breaks not working in dialog strings"; - span41[1] = "Fixed quest (Labor of Love)"; - span41[2] = "Fixed quest (Sea of Sorrow)"; - reference90 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list91); - reference87 = new ChangelogEntry("7.38.3", releaseDate33, list88); - ref ChangelogEntry reference91 = ref span[33]; - DateOnly releaseDate34 = new DateOnly(2025, 11, 18); + CollectionsMarshal.AsSpan(list91)[0] = global::_003CModule_003E._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(-402086315); + reference90 = new ChangeEntry(EChangeCategory.Changed, description57, list91); + ref ChangeEntry reference91 = ref span41[1]; + string description58 = global::_003CModule_003E._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(1584699393); + num3 = 8; + List list92 = new List(num3); + CollectionsMarshal.SetCount(list92, num3); + Span span42 = CollectionsMarshal.AsSpan(list92); + span42[0] = global::_003CModule_003E._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(-1506905200); + span42[1] = global::_003CModule_003E._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(1696740166); + span42[2] = global::_003CModule_003E._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(679276901); + span42[3] = global::_003CModule_003E._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(-1358007144); + span42[4] = global::_003CModule_003E._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(-1152975625); + span42[5] = global::_003CModule_003E._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(-1423850813); + span42[6] = global::_003CModule_003E._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(324156074); + span42[7] = global::_003CModule_003E._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(2074155997); + reference91 = new ChangeEntry(EChangeCategory.Fixed, description58, list92); + reference89 = new ChangelogEntry(version33, releaseDate33, list90); + ref ChangelogEntry reference92 = ref span[33]; + string version34 = global::_003CModule_003E._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(756028822); + DateOnly releaseDate34 = new DateOnly(2025, 11, 23); num2 = 3; - List list92 = new List(num2); - CollectionsMarshal.SetCount(list92, num2); - Span span42 = CollectionsMarshal.AsSpan(list92); - ref ChangeEntry reference92 = ref span42[0]; + List list93 = new List(num2); + CollectionsMarshal.SetCount(list93, num2); + Span span43 = CollectionsMarshal.AsSpan(list93); + ref ChangeEntry reference93 = ref span43[0]; + string description59 = global::_003CModule_003E._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(774081000); num3 = 2; - List list93 = new List(num3); - CollectionsMarshal.SetCount(list93, num3); - Span span43 = CollectionsMarshal.AsSpan(list93); - 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"; - reference92 = new ChangeEntry(EChangeCategory.Added, "Major features", list93); - ref ChangeEntry reference93 = ref span42[1]; - num3 = 3; List list94 = new List(num3); CollectionsMarshal.SetCount(list94, num3); Span span44 = CollectionsMarshal.AsSpan(list94); - 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"; - reference93 = new ChangeEntry(EChangeCategory.Added, "IPC changes", list94); - span42[2] = new ChangeEntry(EChangeCategory.Fixed, "Fixed quest (Constant Cravings)"); - reference91 = new ChangelogEntry("7.38.2", releaseDate34, list92); - ref ChangelogEntry reference94 = ref span[34]; - DateOnly releaseDate35 = new DateOnly(2025, 11, 18); - num2 = 3; - List list95 = new List(num2); - CollectionsMarshal.SetCount(list95, num2); - Span span45 = CollectionsMarshal.AsSpan(list95); - ref ChangeEntry reference95 = ref span45[0]; - num3 = 1; + span44[0] = global::_003CModule_003E._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(1899046269); + span44[1] = global::_003CModule_003E._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(1707331003); + reference93 = new ChangeEntry(EChangeCategory.Changed, description59, list94); + ref ChangeEntry reference94 = ref span43[1]; + string description60 = global::_003CModule_003E._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(-702400365); + num3 = 2; + List list95 = new List(num3); + CollectionsMarshal.SetCount(list95, num3); + Span span45 = CollectionsMarshal.AsSpan(list95); + span45[0] = global::_003CModule_003E._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(1435980479); + span45[1] = global::_003CModule_003E._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(590020347); + reference94 = new ChangeEntry(EChangeCategory.Added, description60, list95); + ref ChangeEntry reference95 = ref span43[2]; + string description61 = global::_003CModule_003E._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(1067663029); + num3 = 3; List list96 = new List(num3); CollectionsMarshal.SetCount(list96, num3); - CollectionsMarshal.AsSpan(list96)[0] = "Added new fields to quest schema"; - reference95 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list96); - ref ChangeEntry reference96 = ref span45[1]; - num3 = 3; - List list97 = new List(num3); - CollectionsMarshal.SetCount(list97, num3); - Span span46 = CollectionsMarshal.AsSpan(list97); - span46[0] = "A Faerie Tale Come True"; - span46[1] = "Constant Cravings"; - span46[2] = "A Bridge Too Full"; - reference96 = new ChangeEntry(EChangeCategory.QuestUpdates, "Added new quest paths", list97); - ref ChangeEntry reference97 = ref span45[2]; - num3 = 3; + Span span46 = CollectionsMarshal.AsSpan(list96); + span46[0] = global::_003CModule_003E._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(-2109705238); + span46[1] = global::_003CModule_003E._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(712270181); + span46[2] = global::_003CModule_003E._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(220065043); + reference95 = new ChangeEntry(EChangeCategory.Fixed, description61, list96); + reference92 = new ChangelogEntry(version34, releaseDate34, list93); + ref ChangelogEntry reference96 = ref span[34]; + string version35 = global::_003CModule_003E._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(1756037876); + DateOnly releaseDate35 = new DateOnly(2025, 11, 18); + num2 = 3; + List list97 = new List(num2); + CollectionsMarshal.SetCount(list97, num2); + Span span47 = CollectionsMarshal.AsSpan(list97); + ref ChangeEntry reference97 = ref span47[0]; + string description62 = global::_003CModule_003E._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(707786884); + num3 = 2; List list98 = new List(num3); CollectionsMarshal.SetCount(list98, num3); - Span span47 = CollectionsMarshal.AsSpan(list98); - 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"; - reference97 = new ChangeEntry(EChangeCategory.Fixed, "Bug fixes", list98); - reference94 = new ChangelogEntry("7.38.1", releaseDate35, list95); - ref ChangelogEntry reference98 = ref span[35]; - DateOnly releaseDate36 = new DateOnly(2025, 11, 17); - num2 = 5; - List list99 = new List(num2); - CollectionsMarshal.SetCount(list99, num2); - Span span48 = CollectionsMarshal.AsSpan(list99); - ref ChangeEntry reference99 = ref span48[0]; - num3 = 2; - List list100 = new List(num3); - CollectionsMarshal.SetCount(list100, num3); - Span span49 = CollectionsMarshal.AsSpan(list100); - span49[0] = "Quest sequence window to show expected sequences in each quest (with quest searching)"; - span49[1] = "Changelog"; - reference99 = new ChangeEntry(EChangeCategory.Added, "Major features", list100); - ref ChangeEntry reference100 = ref span48[1]; - num3 = 2; + Span span48 = CollectionsMarshal.AsSpan(list98); + span48[0] = global::_003CModule_003E._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(1766930974); + span48[1] = global::_003CModule_003E._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(-1162740109); + reference97 = new ChangeEntry(EChangeCategory.Added, description62, list98); + ref ChangeEntry reference98 = ref span47[1]; + string description63 = global::_003CModule_003E._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(1797741366); + num3 = 3; + List list99 = new List(num3); + CollectionsMarshal.SetCount(list99, num3); + Span span49 = CollectionsMarshal.AsSpan(list99); + span49[0] = global::_003CModule_003E._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(-1908218331); + span49[1] = global::_003CModule_003E._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(1111869066); + span49[2] = global::_003CModule_003E._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(-1514865425); + reference98 = new ChangeEntry(EChangeCategory.Added, description63, list99); + span47[2] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(1365448920)); + reference96 = new ChangelogEntry(version35, releaseDate35, list97); + ref ChangelogEntry reference99 = ref span[35]; + string version36 = global::_003CModule_003E._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(51318086); + DateOnly releaseDate36 = new DateOnly(2025, 11, 18); + num2 = 3; + List list100 = new List(num2); + CollectionsMarshal.SetCount(list100, num2); + Span span50 = CollectionsMarshal.AsSpan(list100); + ref ChangeEntry reference100 = ref span50[0]; + string description64 = global::_003CModule_003E._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(-1932541412); + num3 = 1; List list101 = new List(num3); CollectionsMarshal.SetCount(list101, num3); - Span span50 = CollectionsMarshal.AsSpan(list101); - span50[0] = "Updated quest schemas"; - span50[1] = "Added search bar to preferred mounts and capitalization to mirror game mount names"; - reference100 = new ChangeEntry(EChangeCategory.Changed, "Improvements", list101); - ref ChangeEntry reference101 = ref span48[2]; + CollectionsMarshal.AsSpan(list101)[0] = global::_003CModule_003E._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(1869325161); + reference100 = new ChangeEntry(EChangeCategory.Changed, description64, list101); + ref ChangeEntry reference101 = ref span50[1]; + string description65 = global::_003CModule_003E._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(1810567874); num3 = 3; List list102 = new List(num3); CollectionsMarshal.SetCount(list102, num3); Span span51 = CollectionsMarshal.AsSpan(list102); - span51[0] = "Renamed IsQuestCompleted → IsQuestComplete"; - span51[1] = "Renamed IsQuestAvailable → IsReadyToAcceptQuest"; - span51[2] = "Added GetCurrentTask IPC"; - reference101 = new ChangeEntry(EChangeCategory.Changed, "IPC changes", list102); - span48[3] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added all Hildibrand quests"); - span48[4] = new ChangeEntry(EChangeCategory.Fixed, "Fixed credits/cutscenes playback"); - reference98 = new ChangelogEntry("7.38.0", releaseDate36, list99); - ref ChangelogEntry reference102 = ref span[36]; - DateOnly releaseDate37 = new DateOnly(2025, 11, 8); - num2 = 1; - List list103 = new List(num2); - CollectionsMarshal.SetCount(list103, num2); - CollectionsMarshal.AsSpan(list103)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added Fall Guys quest (Just Crowning Around)"); - reference102 = new ChangelogEntry("6.38", releaseDate37, list103); - ref ChangelogEntry reference103 = ref span[37]; - DateOnly releaseDate38 = new DateOnly(2025, 11, 8); - num2 = 1; + span51[0] = global::_003CModule_003E._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(-1256133354); + span51[1] = global::_003CModule_003E._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(129256587); + span51[2] = global::_003CModule_003E._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(-683046242); + reference101 = new ChangeEntry(EChangeCategory.QuestUpdates, description65, list102); + ref ChangeEntry reference102 = ref span50[2]; + string description66 = global::_003CModule_003E._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(2084764248); + num3 = 3; + List list103 = new List(num3); + CollectionsMarshal.SetCount(list103, num3); + Span span52 = CollectionsMarshal.AsSpan(list103); + span52[0] = global::_003CModule_003E._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(-716939801); + span52[1] = global::_003CModule_003E._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(-917137841); + span52[2] = global::_003CModule_003E._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(642718343); + reference102 = new ChangeEntry(EChangeCategory.Fixed, description66, list103); + reference99 = new ChangelogEntry(version36, releaseDate36, list100); + ref ChangelogEntry reference103 = ref span[36]; + string version37 = global::_003CModule_003E._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(1419048494); + DateOnly releaseDate37 = new DateOnly(2025, 11, 17); + num2 = 5; List list104 = new List(num2); CollectionsMarshal.SetCount(list104, num2); - CollectionsMarshal.AsSpan(list104)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added Cosmic Exploration and various unlock quests"); - reference103 = new ChangelogEntry("6.37", releaseDate38, list104); - ref ChangelogEntry reference104 = ref span[38]; - DateOnly releaseDate39 = new DateOnly(2025, 11, 2); - num2 = 1; - List list105 = new List(num2); - CollectionsMarshal.SetCount(list105, num2); - CollectionsMarshal.AsSpan(list105)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy Rank 6 quest (With High Spirits)"); - reference104 = new ChangelogEntry("6.36", releaseDate39, list105); - ref ChangelogEntry reference105 = ref span[39]; - DateOnly releaseDate40 = new DateOnly(2025, 10, 28); - num2 = 1; - List list106 = new List(num2); - CollectionsMarshal.SetCount(list106, num2); - CollectionsMarshal.AsSpan(list106)[0] = new ChangeEntry(EChangeCategory.Fixed, "Fixed level 3 MSQ handling if character started on non-XP buff world"); - reference105 = new ChangelogEntry("6.35", releaseDate40, list106); - ref ChangelogEntry reference106 = ref span[40]; - DateOnly releaseDate41 = new DateOnly(2025, 10, 23); - num2 = 2; - List list107 = new List(num2); - CollectionsMarshal.SetCount(list107, num2); - Span span52 = CollectionsMarshal.AsSpan(list107); - 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"); - reference106 = new ChangelogEntry("6.34", releaseDate41, list107); - ref ChangelogEntry reference107 = ref span[41]; - DateOnly releaseDate42 = new DateOnly(2025, 10, 23); + Span span53 = CollectionsMarshal.AsSpan(list104); + ref ChangeEntry reference104 = ref span53[0]; + string description67 = global::_003CModule_003E._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(707786884); + num3 = 2; + List list105 = new List(num3); + CollectionsMarshal.SetCount(list105, num3); + Span span54 = CollectionsMarshal.AsSpan(list105); + span54[0] = global::_003CModule_003E._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(405845762); + span54[1] = global::_003CModule_003E._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(-54945114); + reference104 = new ChangeEntry(EChangeCategory.Added, description67, list105); + ref ChangeEntry reference105 = ref span53[1]; + string description68 = global::_003CModule_003E._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(774081000); + num3 = 2; + List list106 = new List(num3); + CollectionsMarshal.SetCount(list106, num3); + Span span55 = CollectionsMarshal.AsSpan(list106); + span55[0] = global::_003CModule_003E._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(-2098955524); + span55[1] = global::_003CModule_003E._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(-441677591); + reference105 = new ChangeEntry(EChangeCategory.Changed, description68, list106); + ref ChangeEntry reference106 = ref span53[2]; + string description69 = global::_003CModule_003E._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(1797741366); + num3 = 3; + List list107 = new List(num3); + CollectionsMarshal.SetCount(list107, num3); + Span span56 = CollectionsMarshal.AsSpan(list107); + span56[0] = global::_003CModule_003E._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(-2047151790); + span56[1] = global::_003CModule_003E._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(580274190); + span56[2] = global::_003CModule_003E._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(885475673); + reference106 = new ChangeEntry(EChangeCategory.Changed, description69, list107); + span53[3] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(-1719573355)); + span53[4] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(-1679789910)); + reference103 = new ChangelogEntry(version37, releaseDate37, list104); + ref ChangelogEntry reference107 = ref span[37]; + string version38 = global::_003CModule_003E._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(-1509038283); + DateOnly releaseDate38 = new DateOnly(2025, 11, 8); num2 = 1; List list108 = new List(num2); CollectionsMarshal.SetCount(list108, num2); - CollectionsMarshal.AsSpan(list108)[0] = new ChangeEntry(EChangeCategory.Fixed, "Fixed RSR combat module"); - reference107 = new ChangelogEntry("6.33", releaseDate42, list108); - ref ChangelogEntry reference108 = ref span[42]; - DateOnly releaseDate43 = new DateOnly(2025, 10, 23); + CollectionsMarshal.AsSpan(list108)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(-1577309578)); + reference107 = new ChangelogEntry(version38, releaseDate38, list108); + ref ChangelogEntry reference108 = ref span[38]; + string version39 = global::_003CModule_003E._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(-1194955886); + DateOnly releaseDate39 = new DateOnly(2025, 11, 8); num2 = 1; List list109 = new List(num2); CollectionsMarshal.SetCount(list109, num2); - CollectionsMarshal.AsSpan(list109)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy Rank 5 quest (Forged in Corn)"); - reference108 = new ChangelogEntry("6.32", releaseDate43, list109); - ref ChangelogEntry reference109 = ref span[43]; - DateOnly releaseDate44 = new DateOnly(2025, 10, 21); + CollectionsMarshal.AsSpan(list109)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(-1883444568)); + reference108 = new ChangelogEntry(version39, releaseDate39, list109); + ref ChangelogEntry reference109 = ref span[39]; + string version40 = global::_003CModule_003E._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(-458815233); + DateOnly releaseDate40 = new DateOnly(2025, 11, 2); num2 = 1; List list110 = new List(num2); CollectionsMarshal.SetCount(list110, num2); - CollectionsMarshal.AsSpan(list110)[0] = new ChangeEntry(EChangeCategory.Changed, "Added checks for moogle and allied society quests when using add all available quests"); - reference109 = new ChangelogEntry("6.31", releaseDate44, list110); - ref ChangelogEntry reference110 = ref span[44]; - DateOnly releaseDate45 = new DateOnly(2025, 10, 21); + CollectionsMarshal.AsSpan(list110)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(703027607)); + reference109 = new ChangelogEntry(version40, releaseDate40, list110); + ref ChangelogEntry reference110 = ref span[40]; + string version41 = global::_003CModule_003E._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(-296614981); + DateOnly releaseDate41 = new DateOnly(2025, 10, 28); num2 = 1; List list111 = new List(num2); CollectionsMarshal.SetCount(list111, num2); - CollectionsMarshal.AsSpan(list111)[0] = new ChangeEntry(EChangeCategory.Added, "Added button to journal that allows adding all available quests to priority"); - reference110 = new ChangelogEntry("6.30", releaseDate45, list111); - ref ChangelogEntry reference111 = ref span[45]; - DateOnly releaseDate46 = new DateOnly(2025, 10, 20); + CollectionsMarshal.AsSpan(list111)[0] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(1103721861)); + reference110 = new ChangelogEntry(version41, releaseDate41, list111); + ref ChangelogEntry reference111 = ref span[41]; + string version42 = global::_003CModule_003E._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(-1667356195); + DateOnly releaseDate42 = new DateOnly(2025, 10, 23); num2 = 2; List list112 = new List(num2); CollectionsMarshal.SetCount(list112, num2); - Span span53 = CollectionsMarshal.AsSpan(list112); - ref ChangeEntry reference112 = ref span53[0]; - num3 = 2; - List list113 = new List(num3); - CollectionsMarshal.SetCount(list113, num3); - Span span54 = CollectionsMarshal.AsSpan(list113); - span54[0] = "Added item count to combat handling rework"; - span54[1] = "Updated Pandora conflicting features"; - reference112 = new ChangeEntry(EChangeCategory.Changed, "Combat handling improvements", list113); - span53[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed quest to purchase Gysahl Greens if not in inventory"); - reference111 = new ChangelogEntry("6.29", releaseDate46, list112); - ref ChangelogEntry reference113 = ref span[46]; - DateOnly releaseDate47 = new DateOnly(2025, 10, 19); + Span span57 = CollectionsMarshal.AsSpan(list112); + span57[0] = new ChangeEntry(EChangeCategory.Added, global::_003CModule_003E._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(247701156)); + span57[1] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(370312606)); + reference111 = new ChangelogEntry(version42, releaseDate42, list112); + ref ChangelogEntry reference112 = ref span[42]; + string version43 = global::_003CModule_003E._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(-930549391); + DateOnly releaseDate43 = new DateOnly(2025, 10, 23); + num2 = 1; + List list113 = new List(num2); + CollectionsMarshal.SetCount(list113, num2); + CollectionsMarshal.AsSpan(list113)[0] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(818990204)); + reference112 = new ChangelogEntry(version43, releaseDate43, list113); + ref ChangelogEntry reference113 = ref span[43]; + string version44 = global::_003CModule_003E._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(1578631884); + DateOnly releaseDate44 = new DateOnly(2025, 10, 23); num2 = 1; List list114 = new List(num2); CollectionsMarshal.SetCount(list114, num2); - CollectionsMarshal.AsSpan(list114)[0] = new ChangeEntry(EChangeCategory.Changed, "Reworked kill count combat handling - combat and enemy kills are now processed instantly"); - reference113 = new ChangelogEntry("6.28", releaseDate47, list114); - ref ChangelogEntry reference114 = ref span[47]; - DateOnly releaseDate48 = new DateOnly(2025, 10, 18); - num2 = 2; + CollectionsMarshal.AsSpan(list114)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(-725290155)); + reference113 = new ChangelogEntry(version44, releaseDate44, list114); + ref ChangelogEntry reference114 = ref span[44]; + string version45 = global::_003CModule_003E._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(70440809); + DateOnly releaseDate45 = new DateOnly(2025, 10, 21); + num2 = 1; List list115 = new List(num2); CollectionsMarshal.SetCount(list115, num2); - Span span55 = CollectionsMarshal.AsSpan(list115); - 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"); - reference114 = new ChangelogEntry("6.27", releaseDate48, list115); - ref ChangelogEntry reference115 = ref span[48]; - DateOnly releaseDate49 = new DateOnly(2025, 10, 18); + CollectionsMarshal.AsSpan(list115)[0] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(994034103)); + reference114 = new ChangelogEntry(version45, releaseDate45, list115); + ref ChangelogEntry reference115 = ref span[45]; + string version46 = global::_003CModule_003E._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(-506774381); + DateOnly releaseDate46 = new DateOnly(2025, 10, 21); 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"); - reference115 = new ChangelogEntry("6.26", releaseDate49, list116); - ref ChangelogEntry reference116 = ref span[49]; - DateOnly releaseDate50 = new DateOnly(2025, 10, 17); - num2 = 1; + CollectionsMarshal.AsSpan(list116)[0] = new ChangeEntry(EChangeCategory.Added, global::_003CModule_003E._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(1919581107)); + reference115 = new ChangelogEntry(version46, releaseDate46, list116); + ref ChangelogEntry reference116 = ref span[46]; + string version47 = global::_003CModule_003E._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(-1219020768); + DateOnly releaseDate47 = new DateOnly(2025, 10, 20); + num2 = 2; List list117 = new List(num2); CollectionsMarshal.SetCount(list117, num2); - CollectionsMarshal.AsSpan(list117)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added All Saints' Wake 2025 quests and 7.35 Yok Huy rank 4 quests"); - reference116 = new ChangelogEntry("6.25", releaseDate50, list117); - ref ChangelogEntry reference117 = ref span[50]; - DateOnly releaseDate51 = new DateOnly(2025, 10, 16); - num2 = 1; - List list118 = new List(num2); - CollectionsMarshal.SetCount(list118, num2); - CollectionsMarshal.AsSpan(list118)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 4 quests and Deep Dungeon quest"); - reference117 = new ChangelogEntry("6.24", releaseDate51, list118); - ref ChangelogEntry reference118 = ref span[51]; - DateOnly releaseDate52 = new DateOnly(2025, 10, 13); + Span span58 = CollectionsMarshal.AsSpan(list117); + ref ChangeEntry reference117 = ref span58[0]; + string description70 = global::_003CModule_003E._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(1906775718); + num3 = 2; + List list118 = new List(num3); + CollectionsMarshal.SetCount(list118, num3); + Span span59 = CollectionsMarshal.AsSpan(list118); + span59[0] = global::_003CModule_003E._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(181316074); + span59[1] = global::_003CModule_003E._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(561917383); + reference117 = new ChangeEntry(EChangeCategory.Changed, description70, list118); + span58[1] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(383802089)); + reference116 = new ChangelogEntry(version47, releaseDate47, list117); + ref ChangelogEntry reference118 = ref span[47]; + string version48 = global::_003CModule_003E._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(201999929); + DateOnly releaseDate48 = new DateOnly(2025, 10, 19); num2 = 1; List list119 = new List(num2); CollectionsMarshal.SetCount(list119, num2); - CollectionsMarshal.AsSpan(list119)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 3 quest (Larder Logistics)"); - reference118 = new ChangelogEntry("6.23", releaseDate52, list119); - ref ChangelogEntry reference119 = ref span[52]; - DateOnly releaseDate53 = new DateOnly(2025, 10, 12); - num2 = 3; + CollectionsMarshal.AsSpan(list119)[0] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(23884635)); + reference118 = new ChangelogEntry(version48, releaseDate48, list119); + ref ChangelogEntry reference119 = ref span[48]; + string version49 = global::_003CModule_003E._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(1527764514); + DateOnly releaseDate49 = new DateOnly(2025, 10, 18); + num2 = 2; List list120 = new List(num2); CollectionsMarshal.SetCount(list120, num2); - Span span56 = CollectionsMarshal.AsSpan(list120); - 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"); - reference119 = new ChangelogEntry("6.22", releaseDate53, list120); - ref ChangelogEntry reference120 = ref span[53]; - DateOnly releaseDate54 = new DateOnly(2025, 10, 12); - num2 = 2; + Span span60 = CollectionsMarshal.AsSpan(list120); + span60[0] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(637188044)); + span60[1] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(-24626882)); + reference119 = new ChangelogEntry(version49, releaseDate49, list120); + ref ChangelogEntry reference120 = ref span[49]; + string version50 = global::_003CModule_003E._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(1821061590); + DateOnly releaseDate50 = new DateOnly(2025, 10, 18); + num2 = 1; List list121 = new List(num2); CollectionsMarshal.SetCount(list121, num2); - Span span57 = CollectionsMarshal.AsSpan(list121); - 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"); - reference120 = new ChangelogEntry("6.21", releaseDate54, list121); - ref ChangelogEntry reference121 = ref span[54]; - DateOnly releaseDate55 = new DateOnly(2025, 10, 10); - num2 = 2; + CollectionsMarshal.AsSpan(list121)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(767012963)); + reference120 = new ChangelogEntry(version50, releaseDate50, list121); + ref ChangelogEntry reference121 = ref span[50]; + string version51 = global::_003CModule_003E._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(-1018773058); + DateOnly releaseDate51 = new DateOnly(2025, 10, 17); + num2 = 1; List list122 = new List(num2); CollectionsMarshal.SetCount(list122, num2); - Span span58 = CollectionsMarshal.AsSpan(list122); - 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)"); - reference121 = new ChangelogEntry("6.20", releaseDate55, list122); - ref ChangelogEntry reference122 = ref span[55]; - DateOnly releaseDate56 = new DateOnly(2025, 10, 9); - num2 = 3; + CollectionsMarshal.AsSpan(list122)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(105018276)); + reference121 = new ChangelogEntry(version51, releaseDate51, list122); + ref ChangelogEntry reference122 = ref span[51]; + string version52 = global::_003CModule_003E._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(2058716468); + DateOnly releaseDate52 = new DateOnly(2025, 10, 16); + num2 = 1; List list123 = new List(num2); CollectionsMarshal.SetCount(list123, num2); - Span span59 = CollectionsMarshal.AsSpan(list123); - 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"); - reference122 = new ChangelogEntry("6.19", releaseDate56, list123); - ref ChangelogEntry reference123 = ref span[56]; - DateOnly releaseDate57 = new DateOnly(2025, 10, 9); - num2 = 2; + CollectionsMarshal.AsSpan(list123)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(-1850932711)); + reference122 = new ChangelogEntry(version52, releaseDate52, list123); + ref ChangelogEntry reference123 = ref span[52]; + string version53 = global::_003CModule_003E._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(-2065499201); + DateOnly releaseDate53 = new DateOnly(2025, 10, 13); + num2 = 1; List list124 = new List(num2); CollectionsMarshal.SetCount(list124, num2); - Span span60 = CollectionsMarshal.AsSpan(list124); - 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"); - reference123 = new ChangelogEntry("6.18", releaseDate57, list124); - ref ChangelogEntry reference124 = ref span[57]; - DateOnly releaseDate58 = new DateOnly(2025, 10, 8); - num2 = 1; + CollectionsMarshal.AsSpan(list124)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(-1836225832)); + reference123 = new ChangelogEntry(version53, releaseDate53, list124); + ref ChangelogEntry reference124 = ref span[53]; + string version54 = global::_003CModule_003E._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(-905248882); + DateOnly releaseDate54 = new DateOnly(2025, 10, 12); + num2 = 3; List list125 = new List(num2); CollectionsMarshal.SetCount(list125, num2); - CollectionsMarshal.AsSpan(list125)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Yok Huy rank 1 and rank 2 quests"); - reference124 = new ChangelogEntry("6.17", releaseDate58, list125); - ref ChangelogEntry reference125 = ref span[58]; - DateOnly releaseDate59 = new DateOnly(2025, 10, 8); - num2 = 1; + Span span61 = CollectionsMarshal.AsSpan(list125); + span61[0] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(205757689)); + span61[1] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(598630997)); + span61[2] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(547260943)); + reference124 = new ChangelogEntry(version54, releaseDate54, list125); + ref ChangelogEntry reference125 = ref span[54]; + string version55 = global::_003CModule_003E._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(312724870); + DateOnly releaseDate55 = new DateOnly(2025, 10, 12); + num2 = 2; List list126 = new List(num2); CollectionsMarshal.SetCount(list126, num2); - CollectionsMarshal.AsSpan(list126)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, "Added 7.35 Deep Dungeon quest (Faerie Tale)"); - reference125 = new ChangelogEntry("6.16", releaseDate59, list126); - ref ChangelogEntry reference126 = ref span[59]; - DateOnly releaseDate60 = new DateOnly(2025, 10, 8); + Span span62 = CollectionsMarshal.AsSpan(list126); + span62[0] = new ChangeEntry(EChangeCategory.Added, global::_003CModule_003E._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(-1476449463)); + span62[1] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(598630997)); + reference125 = new ChangelogEntry(version55, releaseDate55, list126); + ref ChangelogEntry reference126 = ref span[55]; + string version56 = global::_003CModule_003E._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(-1305697836); + DateOnly releaseDate56 = new DateOnly(2025, 10, 10); num2 = 2; List list127 = new List(num2); CollectionsMarshal.SetCount(list127, num2); - Span span61 = CollectionsMarshal.AsSpan(list127); - span61[0] = new ChangeEntry(EChangeCategory.Changed, "Dalamud cleanup"); - span61[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed quest level requirement check log spam"); - reference126 = new ChangelogEntry("6.15", releaseDate60, list127); - ref ChangelogEntry reference127 = ref span[60]; - DateOnly releaseDate61 = new DateOnly(2025, 10, 8); - num2 = 1; + Span span63 = CollectionsMarshal.AsSpan(list127); + span63[0] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(-340821018)); + span63[1] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(1274213838)); + reference126 = new ChangelogEntry(version56, releaseDate56, list127); + ref ChangelogEntry reference127 = ref span[56]; + string version57 = global::_003CModule_003E._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(-172587466); + DateOnly releaseDate57 = new DateOnly(2025, 10, 9); + num2 = 3; List list128 = new List(num2); CollectionsMarshal.SetCount(list128, num2); - CollectionsMarshal.AsSpan(list128)[0] = new ChangeEntry(EChangeCategory.Fixed, "Fixed abandoned quest check logic if quest were MSQ"); - reference127 = new ChangelogEntry("6.14", releaseDate61, list128); - ref ChangelogEntry reference128 = ref span[61]; - DateOnly releaseDate62 = new DateOnly(2025, 10, 8); + Span span64 = CollectionsMarshal.AsSpan(list128); + span64[0] = new ChangeEntry(EChangeCategory.Added, global::_003CModule_003E._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(-1835561557)); + span64[1] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(553403373)); + span64[2] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(1034346506)); + reference127 = new ChangelogEntry(version57, releaseDate57, list128); + ref ChangelogEntry reference128 = ref span[57]; + string version58 = global::_003CModule_003E._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(876402547); + DateOnly releaseDate58 = new DateOnly(2025, 10, 9); num2 = 2; List list129 = new List(num2); CollectionsMarshal.SetCount(list129, num2); - Span span62 = CollectionsMarshal.AsSpan(list129); - ref ChangeEntry reference129 = ref span62[0]; - num3 = 3; - List list130 = new List(num3); - CollectionsMarshal.SetCount(list130, num3); - Span span63 = CollectionsMarshal.AsSpan(list130); - 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"; - reference129 = new ChangeEntry(EChangeCategory.Added, "Quest improvements", list130); - span62[1] = new ChangeEntry(EChangeCategory.Fixed, "Fixed abandoned quest check and priority list issues"); - reference128 = new ChangelogEntry("6.13", releaseDate62, list129); - ref ChangelogEntry reference130 = ref span[62]; - DateOnly releaseDate63 = new DateOnly(2025, 10, 7); - num2 = 4; + Span span65 = CollectionsMarshal.AsSpan(list129); + span65[0] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(2000193881)); + span65[1] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(982019044)); + reference128 = new ChangelogEntry(version58, releaseDate58, list129); + ref ChangelogEntry reference129 = ref span[58]; + string version59 = global::_003CModule_003E._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(-277572277); + DateOnly releaseDate59 = new DateOnly(2025, 10, 8); + num2 = 1; + List list130 = new List(num2); + CollectionsMarshal.SetCount(list130, num2); + CollectionsMarshal.AsSpan(list130)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(161460026)); + reference129 = new ChangelogEntry(version59, releaseDate59, list130); + ref ChangelogEntry reference130 = ref span[59]; + string version60 = global::_003CModule_003E._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(-1878380996); + DateOnly releaseDate60 = new DateOnly(2025, 10, 8); + num2 = 1; List list131 = new List(num2); CollectionsMarshal.SetCount(list131, num2); - Span span64 = CollectionsMarshal.AsSpan(list131); - ref ChangeEntry reference131 = ref span64[0]; - num3 = 4; - List list132 = new List(num3); - CollectionsMarshal.SetCount(list132, num3); - Span span65 = CollectionsMarshal.AsSpan(list132); - 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"; - reference131 = new ChangeEntry(EChangeCategory.Added, "FATE and quest tracking", list132); - ref ChangeEntry reference132 = ref span64[1]; - num3 = 3; - List list133 = new List(num3); - CollectionsMarshal.SetCount(list133, num3); - Span span66 = CollectionsMarshal.AsSpan(list133); - 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"; - reference132 = new ChangeEntry(EChangeCategory.Changed, "Quest prioritisation improvements", list133); - 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"); - reference130 = new ChangelogEntry("6.12", releaseDate63, list131); - ref ChangelogEntry reference133 = ref span[63]; - DateOnly releaseDate64 = new DateOnly(2025, 10, 3); + CollectionsMarshal.AsSpan(list131)[0] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(-954787702)); + reference130 = new ChangelogEntry(version60, releaseDate60, list131); + ref ChangelogEntry reference131 = ref span[60]; + string version61 = global::_003CModule_003E._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(-1791776096); + DateOnly releaseDate61 = new DateOnly(2025, 10, 8); + num2 = 2; + List list132 = new List(num2); + CollectionsMarshal.SetCount(list132, num2); + Span span66 = CollectionsMarshal.AsSpan(list132); + span66[0] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(-1481838677)); + span66[1] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(1724086869)); + reference131 = new ChangelogEntry(version61, releaseDate61, list132); + ref ChangelogEntry reference132 = ref span[61]; + string version62 = global::_003CModule_003E._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(-220687627); + DateOnly releaseDate62 = new DateOnly(2025, 10, 8); num2 = 1; + List list133 = new List(num2); + CollectionsMarshal.SetCount(list133, num2); + CollectionsMarshal.AsSpan(list133)[0] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(-807512557)); + reference132 = new ChangelogEntry(version62, releaseDate62, list133); + ref ChangelogEntry reference133 = ref span[62]; + string version63 = global::_003CModule_003E._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(521410695); + DateOnly releaseDate63 = new DateOnly(2025, 10, 8); + num2 = 2; List list134 = new List(num2); CollectionsMarshal.SetCount(list134, num2); - CollectionsMarshal.AsSpan(list134)[0] = new ChangeEntry(EChangeCategory.Changed, "Added remaining checks for quest priority to prevent infinite teleport looping"); - reference133 = new ChangelogEntry("6.11", releaseDate64, list134); - ref ChangelogEntry reference134 = ref span[64]; - DateOnly releaseDate65 = new DateOnly(2025, 10, 2); - num2 = 1; - List list135 = new List(num2); - CollectionsMarshal.SetCount(list135, num2); - ref ChangeEntry reference135 = ref CollectionsMarshal.AsSpan(list135)[0]; - num3 = 2; - List list136 = new List(num3); - CollectionsMarshal.SetCount(list136, num3); - Span span67 = CollectionsMarshal.AsSpan(list136); - 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"; - reference135 = new ChangeEntry(EChangeCategory.Changed, "Quest window improvements", list136); - reference134 = new ChangelogEntry("6.10", releaseDate65, list135); - ref ChangelogEntry reference136 = ref span[65]; - DateOnly releaseDate66 = new DateOnly(2025, 9, 21); - num2 = 5; - List list137 = new List(num2); - CollectionsMarshal.SetCount(list137, num2); - Span span68 = CollectionsMarshal.AsSpan(list137); - ref ChangeEntry reference137 = ref span68[0]; + Span span67 = CollectionsMarshal.AsSpan(list134); + ref ChangeEntry reference134 = ref span67[0]; + string description71 = global::_003CModule_003E._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(1645202029); + num3 = 3; + List list135 = new List(num3); + CollectionsMarshal.SetCount(list135, num3); + Span span68 = CollectionsMarshal.AsSpan(list135); + span68[0] = global::_003CModule_003E._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(321212655); + span68[1] = global::_003CModule_003E._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(-471904200); + span68[2] = global::_003CModule_003E._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(-2064743449); + reference134 = new ChangeEntry(EChangeCategory.Added, description71, list135); + span67[1] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(2045598109)); + reference133 = new ChangelogEntry(version63, releaseDate63, list134); + ref ChangelogEntry reference135 = ref span[63]; + string version64 = global::_003CModule_003E._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(-474447320); + DateOnly releaseDate64 = new DateOnly(2025, 10, 7); + num2 = 4; + List list136 = new List(num2); + CollectionsMarshal.SetCount(list136, num2); + Span span69 = CollectionsMarshal.AsSpan(list136); + ref ChangeEntry reference136 = ref span69[0]; + string description72 = global::_003CModule_003E._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(-376091794); num3 = 4; + List list137 = new List(num3); + CollectionsMarshal.SetCount(list137, num3); + Span span70 = CollectionsMarshal.AsSpan(list137); + span70[0] = global::_003CModule_003E._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(1250491453); + span70[1] = global::_003CModule_003E._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(143865116); + span70[2] = global::_003CModule_003E._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(1531914663); + span70[3] = global::_003CModule_003E._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(-56875911); + reference136 = new ChangeEntry(EChangeCategory.Added, description72, list137); + ref ChangeEntry reference137 = ref span69[1]; + string description73 = global::_003CModule_003E._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(1211779360); + num3 = 3; List list138 = new List(num3); CollectionsMarshal.SetCount(list138, num3); - Span span69 = CollectionsMarshal.AsSpan(list138); - 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/)"; - reference137 = new ChangeEntry(EChangeCategory.Added, "Major system reworks", list138); - ref ChangeEntry reference138 = ref span68[1]; - num3 = 4; - List list139 = new List(num3); - CollectionsMarshal.SetCount(list139, num3); - Span span70 = CollectionsMarshal.AsSpan(list139); - span70[0] = "Questionable.IsQuestCompleted"; - span70[1] = "Questionable.IsQuestAvailable"; - span70[2] = "Questionable.IsQuestAccepted"; - span70[3] = "Questionable.IsQuestUnobtainable"; - reference138 = new ChangeEntry(EChangeCategory.Added, "New IPC commands", list139); - ref ChangeEntry reference139 = ref span68[2]; - num3 = 5; - List list140 = new List(num3); - CollectionsMarshal.SetCount(list140, num3); - Span span71 = CollectionsMarshal.AsSpan(list140); - 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"; - reference139 = new ChangeEntry(EChangeCategory.Changed, "Various improvements", list140); - 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"); - reference136 = new ChangelogEntry("6.9", releaseDate66, list137); - ref ChangelogEntry reference140 = ref span[66]; - DateOnly releaseDate67 = new DateOnly(2025, 9, 2); - num2 = 4; - List list141 = new List(num2); - CollectionsMarshal.SetCount(list141, num2); - Span span72 = CollectionsMarshal.AsSpan(list141); - ref ChangeEntry reference141 = ref span72[0]; - num3 = 4; - List list142 = new List(num3); - CollectionsMarshal.SetCount(list142, num3); - Span span73 = CollectionsMarshal.AsSpan(list142); - 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)"; - reference141 = new ChangeEntry(EChangeCategory.Added, "Command and UI improvements", list142); - 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"); - reference140 = new ChangelogEntry("6.8", releaseDate67, list141); - ref ChangelogEntry reference142 = ref span[67]; - DateOnly releaseDate68 = new DateOnly(2025, 8, 27); - num2 = 4; - List list143 = new List(num2); - CollectionsMarshal.SetCount(list143, num2); - Span span74 = CollectionsMarshal.AsSpan(list143); - ref ChangeEntry reference143 = ref span74[0]; + Span span71 = CollectionsMarshal.AsSpan(list138); + span71[0] = global::_003CModule_003E._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(2131513407); + span71[1] = global::_003CModule_003E._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(-1195939832); + span71[2] = global::_003CModule_003E._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(1363559479); + reference137 = new ChangeEntry(EChangeCategory.Changed, description73, list138); + span69[2] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(1671611849)); + span69[3] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(-352098557)); + reference135 = new ChangelogEntry(version64, releaseDate64, list136); + ref ChangelogEntry reference138 = ref span[64]; + string version65 = global::_003CModule_003E._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(242245363); + DateOnly releaseDate65 = new DateOnly(2025, 10, 3); + num2 = 1; + List list139 = new List(num2); + CollectionsMarshal.SetCount(list139, num2); + CollectionsMarshal.AsSpan(list139)[0] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(1754889939)); + reference138 = new ChangelogEntry(version65, releaseDate65, list139); + ref ChangelogEntry reference139 = ref span[65]; + string version66 = global::_003CModule_003E._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(1825201563); + DateOnly releaseDate66 = new DateOnly(2025, 10, 2); + num2 = 1; + List list140 = new List(num2); + CollectionsMarshal.SetCount(list140, num2); + ref ChangeEntry reference140 = ref CollectionsMarshal.AsSpan(list140)[0]; + string description74 = global::_003CModule_003E._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(2054962055); num3 = 2; + List list141 = new List(num3); + CollectionsMarshal.SetCount(list141, num3); + Span span72 = CollectionsMarshal.AsSpan(list141); + span72[0] = global::_003CModule_003E._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(1854764015); + span72[1] = global::_003CModule_003E._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(2083999023); + reference140 = new ChangeEntry(EChangeCategory.Changed, description74, list141); + reference139 = new ChangelogEntry(version66, releaseDate66, list140); + ref ChangelogEntry reference141 = ref span[66]; + string version67 = global::_003CModule_003E._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(-1696822631); + DateOnly releaseDate67 = new DateOnly(2025, 9, 21); + num2 = 5; + List list142 = new List(num2); + CollectionsMarshal.SetCount(list142, num2); + Span span73 = CollectionsMarshal.AsSpan(list142); + ref ChangeEntry reference142 = ref span73[0]; + string description75 = global::_003CModule_003E._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(-53823140); + num3 = 4; + List list143 = new List(num3); + CollectionsMarshal.SetCount(list143, num3); + Span span74 = CollectionsMarshal.AsSpan(list143); + span74[0] = global::_003CModule_003E._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(1885683489); + span74[1] = global::_003CModule_003E._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(1712436443); + span74[2] = global::_003CModule_003E._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(1887013739); + span74[3] = global::_003CModule_003E._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(659076671); + reference142 = new ChangeEntry(EChangeCategory.Added, description75, list143); + ref ChangeEntry reference143 = ref span73[1]; + string description76 = global::_003CModule_003E._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(743463860); + num3 = 4; List list144 = new List(num3); CollectionsMarshal.SetCount(list144, num3); Span span75 = CollectionsMarshal.AsSpan(list144); - span75[0] = "Icon to 'Clear All' button in stop conditions"; - span75[1] = "Duty counts and 'Enable All' button in 'Duties' tab"; - reference143 = new ChangeEntry(EChangeCategory.Added, "UI improvements", list144); - 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"); - reference142 = new ChangelogEntry("6.7", releaseDate68, list143); - ref ChangelogEntry reference144 = ref span[68]; - DateOnly releaseDate69 = new DateOnly(2025, 8, 25); - num2 = 2; - List list145 = new List(num2); - CollectionsMarshal.SetCount(list145, num2); - Span span76 = CollectionsMarshal.AsSpan(list145); - ref ChangeEntry reference145 = ref span76[0]; + span75[0] = global::_003CModule_003E._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(455662819); + span75[1] = global::_003CModule_003E._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(-947647841); + span75[2] = global::_003CModule_003E._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(1750354769); + span75[3] = global::_003CModule_003E._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(-1683261916); + reference143 = new ChangeEntry(EChangeCategory.Added, description76, list144); + ref ChangeEntry reference144 = ref span73[2]; + string description77 = global::_003CModule_003E._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(-958550459); + num3 = 5; + List list145 = new List(num3); + CollectionsMarshal.SetCount(list145, num3); + Span span76 = CollectionsMarshal.AsSpan(list145); + span76[0] = global::_003CModule_003E._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(1774583327); + span76[1] = global::_003CModule_003E._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(-1786400970); + span76[2] = global::_003CModule_003E._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(-358241186); + span76[3] = global::_003CModule_003E._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(-868361397); + span76[4] = global::_003CModule_003E._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(1033233436); + reference144 = new ChangeEntry(EChangeCategory.Changed, description77, list145); + span73[3] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(695790285)); + span73[4] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(1951273009)); + reference141 = new ChangelogEntry(version67, releaseDate67, list142); + ref ChangelogEntry reference145 = ref span[67]; + string version68 = global::_003CModule_003E._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(1740259501); + DateOnly releaseDate68 = new DateOnly(2025, 9, 2); + num2 = 4; + List list146 = new List(num2); + CollectionsMarshal.SetCount(list146, num2); + Span span77 = CollectionsMarshal.AsSpan(list146); + ref ChangeEntry reference146 = ref span77[0]; + string description78 = global::_003CModule_003E._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(1705139781); + num3 = 3; + List list147 = new List(num3); + CollectionsMarshal.SetCount(list147, num3); + Span span78 = CollectionsMarshal.AsSpan(list147); + span78[0] = global::_003CModule_003E._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(-808089594); + span78[1] = global::_003CModule_003E._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(-212876545); + span78[2] = global::_003CModule_003E._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(-548159302); + reference146 = new ChangeEntry(EChangeCategory.Added, description78, list147); + span77[1] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(705163028)); + span77[2] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(2016624705)); + span77[3] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(1229780497)); + reference145 = new ChangelogEntry(version68, releaseDate68, list146); + ref ChangelogEntry reference147 = ref span[68]; + string version69 = global::_003CModule_003E._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(442936289); + DateOnly releaseDate69 = new DateOnly(2025, 8, 27); + num2 = 4; + List list148 = new List(num2); + CollectionsMarshal.SetCount(list148, num2); + Span span79 = CollectionsMarshal.AsSpan(list148); + ref ChangeEntry reference148 = ref span79[0]; + string description79 = global::_003CModule_003E._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(541291815); num3 = 2; - List list146 = new List(num3); - CollectionsMarshal.SetCount(list146, num3); - Span span77 = CollectionsMarshal.AsSpan(list146); - span77[0] = "Missing emotes to schema and emote handler"; - span77[1] = "Improved stop conditions with 'Clear All' button"; - reference145 = new ChangeEntry(EChangeCategory.Added, "Emote support and stop conditions", list146); - span76[1] = new ChangeEntry(EChangeCategory.Changed, "Stop at level functionality"); - reference144 = new ChangelogEntry("6.6", releaseDate69, list145); - ref ChangelogEntry reference146 = ref span[69]; + List list149 = new List(num3); + CollectionsMarshal.SetCount(list149, num3); + Span span80 = CollectionsMarshal.AsSpan(list149); + span80[0] = global::_003CModule_003E._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(-906222997); + span80[1] = global::_003CModule_003E._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(-1243277709); + reference148 = new ChangeEntry(EChangeCategory.Added, description79, list149); + span79[1] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(1804882529)); + span79[2] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(723029441)); + span79[3] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(-1471432592)); + reference147 = new ChangelogEntry(version69, releaseDate69, list148); + ref ChangelogEntry reference149 = ref span[69]; + string version70 = global::_003CModule_003E._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(1544122842); DateOnly releaseDate70 = new DateOnly(2025, 8, 25); num2 = 2; - List list147 = new List(num2); - CollectionsMarshal.SetCount(list147, num2); - Span span78 = CollectionsMarshal.AsSpan(list147); - 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"); - reference146 = new ChangelogEntry("6.5", releaseDate70, list147); + List list150 = new List(num2); + CollectionsMarshal.SetCount(list150, num2); + Span span81 = CollectionsMarshal.AsSpan(list150); + ref ChangeEntry reference150 = ref span81[0]; + string description80 = global::_003CModule_003E._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(2058268484); + num3 = 2; + List list151 = new List(num3); + CollectionsMarshal.SetCount(list151, num3); + Span span82 = CollectionsMarshal.AsSpan(list151); + span82[0] = global::_003CModule_003E._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(-1679645771); + span82[1] = global::_003CModule_003E._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(-1394765065); + reference150 = new ChangeEntry(EChangeCategory.Added, description80, list151); + span81[1] = new ChangeEntry(EChangeCategory.Changed, global::_003CModule_003E._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(176450734)); + reference149 = new ChangelogEntry(version70, releaseDate70, list150); + ref ChangelogEntry reference151 = ref span[70]; + string version71 = global::_003CModule_003E._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(611910758); + DateOnly releaseDate71 = new DateOnly(2025, 8, 25); + num2 = 2; + List list152 = new List(num2); + CollectionsMarshal.SetCount(list152, num2); + Span span83 = CollectionsMarshal.AsSpan(list152); + span83[0] = new ChangeEntry(EChangeCategory.Fixed, global::_003CModule_003E._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(-494102919)); + span83[1] = new ChangeEntry(EChangeCategory.QuestUpdates, global::_003CModule_003E._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(-1279249691)); + reference151 = new ChangelogEntry(version71, releaseDate71, list152); Changelogs = list; } } diff --git a/Questionable/Questionable.Data/ClassJobUtils.cs b/Questionable/Questionable.Data/ClassJobUtils.cs index 87e464de..f14a8980 100644 --- a/Questionable/Questionable.Data/ClassJobUtils.cs +++ b/Questionable/Questionable.Data/ClassJobUtils.cs @@ -2,10 +2,10 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; +using System.Runtime.CompilerServices; 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; @@ -15,6 +15,273 @@ namespace Questionable.Data; internal sealed class ClassJobUtils { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__2_0; + + public static Func _003C_003E9__2_1; + + public static Func _003C_003E9__2_2; + + public static Func _003C_003E9__2_3; + + public static Func<(EClassJob ClassJob, byte Priority), byte> _003C_003E9__2_4; + + public static Func<(EClassJob ClassJob, byte Priority), (EClassJob ClassJob, int)> _003C_003E9__2_5; + + public static Func _003C_003E9__4_0; + + public static Func _003C_003E9__4_1; + + public static Func _003C_003E9__4_2; + + public static Func _003C_003E9__4_3; + + public static Func<(EClassJob ClassJob, short Level, short ItemLevel), EClassJob> _003C_003E9__5_0; + + public static Func<(EClassJob ClassJob, short Level, short ItemLevel), short> _003C_003E9__5_1; + + public static Func<(EClassJob ClassJob, short Level, short ItemLevel), short> _003C_003E9__5_2; + + public static Func<(EClassJob ClassJob, short Level, short ItemLevel), int> _003C_003E9__5_3; + + public static Func<(EClassJob ClassJob, short Level, short ItemLevel), EClassJob> _003C_003E9__5_4; + + internal bool _003C_002Ector_003Eb__2_0(ClassJob x) + { + int num = ((x.RowId == 0) ? 1290142375 : 1290142372); + while (true) + { + int num2 = num; + int num3 = 1290142374; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 2: + return x.ExpArrayIndex >= 0; + case 1: + return false; + } + continue; + IL_0048: + num = 1290142372; + } + } + + internal EClassJob _003C_002Ector_003Eb__2_1(ClassJob x) + { + return (EClassJob)x.RowId; + } + + internal sbyte _003C_002Ector_003Eb__2_2(ClassJob x) + { + return x.ExpArrayIndex; + } + + internal (EClassJob ClassJob, byte Priority) _003C_002Ector_003Eb__2_3(ClassJob x) + { + return (ClassJob: (EClassJob)x.RowId, Priority: x.UIPriority); + } + + internal byte _003C_002Ector_003Eb__2_4((EClassJob ClassJob, byte Priority) x) + { + return x.Priority; + } + + internal (EClassJob ClassJob, int) _003C_002Ector_003Eb__2_5((EClassJob ClassJob, byte Priority) x) + { + return (ClassJob: x.ClassJob, x.Priority / 10); + } + + internal bool _003CAsIndividualJobs_003Eb__4_0(EClassJob x) + { + return _206E_200D_206C_202B_202D_206E_202B_206C_200C_206A_206C_202E_206F_206E_206D_202B_206F_200F_200E_202C_206E_202B_200E_202A_200C_206A_200F_200F_200D_206D_202C_200C_202A_206B_202D_202D_202A_202E_202D_200C_202E(x); + } + + internal bool _003CAsIndividualJobs_003Eb__4_1(EClassJob x) + { + return _200B_200E_200F_202B_206B_206C_200B_206D_200F_200C_206D_202D_200E_200C_200E_200B_200C_202E_202D_206B_206A_200E_200F_206C_202B_206A_206C_206E_200D_202E_200E_206B_200D_200D_200E_206E_206E_200C_206A_202E_202E(x); + } + + internal bool _003CAsIndividualJobs_003Eb__4_2(EClassJob x) + { + return _202D_200D_200E_200B_200C_206D_206D_200C_202A_202D_200C_206B_206B_206D_206A_202E_200B_200D_206C_200E_200F_202D_200E_200F_200C_202B_206C_202E_202E_206D_200B_206A_202E_200B_200D_200D_206C_206D_200D_202D_202E(x); + } + + internal bool _003CAsIndividualJobs_003Eb__4_3(EClassJob x) + { + return _200C_200E_206F_206F_202C_200B_206D_202E_206C_206A_206F_200B_206E_202E_200D_206D_202E_202D_206B_206E_202E_206A_202B_206A_206A_202C_206B_202E_202C_202C_206E_202D_206D_206B_206D_202B_206D_202E_202D_202B_202E(x); + } + + internal EClassJob _003CLookupConfiguredCombatJob_003Eb__5_0((EClassJob ClassJob, short Level, short ItemLevel) x) + { + return x.ClassJob; + } + + internal short _003CLookupConfiguredCombatJob_003Eb__5_1((EClassJob ClassJob, short Level, short ItemLevel) x) + { + return x.Level; + } + + internal short _003CLookupConfiguredCombatJob_003Eb__5_2((EClassJob ClassJob, short Level, short ItemLevel) x) + { + return x.ItemLevel; + } + + internal int _003CLookupConfiguredCombatJob_003Eb__5_3((EClassJob ClassJob, short Level, short ItemLevel) x) + { + int num = ((!_202C_206E_206A_200E_202D_200D_206E_202E_206F_200E_206E_206C_206C_202B_200D_202D_206F_206C_206F_202C_200F_200F_202D_202B_206C_206C_202D_200E_206D_202D_206E_202D_206E_206D_206A_200D_202C_202E_202D_202B_202E(x.ClassJob)) ? (-716677051) : (-716677046)); + int result = default(int); + while (true) + { + int num2 = num; + int num3 = -716677043; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + result = 20; + num = -716677048; + break; + case 1: + result = 0; + num = -716677048; + break; + case 9: + result = 10; + num = -716677048; + break; + case 3: + num = -716677046; + break; + case 8: + num = ((!_202E_206C_200D_202E_206C_206C_202B_206A_200D_200C_206F_202A_206E_200B_206A_206E_200D_202C_202C_200E_206B_202C_202B_200C_206C_202B_202D_206F_200F_200D_202E_202E_206A_206A_200E_200F_206F_202C_202E_200C_202E(x.ClassJob)) ? (-716677045) : (-716677050)); + break; + case 7: + result = 50; + num = -716677048; + break; + case 6: + num = ((!_200F_200D_206D_206D_200B_202D_202B_202A_200C_202E_206E_200C_206B_200E_206B_202E_206F_200D_206A_202C_200B_206E_202C_200E_202A_202A_202E_200E_200F_200B_202B_200B_202C_206E_202A_200E_200E_200F_206F_206C_202E(x.ClassJob)) ? (-716677049) : (-716677041)); + break; + case 5: + return result; + case 11: + result = 40; + num = -716677048; + break; + case 10: + num = ((!_200D_206D_206D_200B_200B_202D_200E_202B_206E_202D_206C_200D_206C_202E_200E_202E_202E_202C_206C_206F_200D_200B_202B_200C_206D_200D_206C_202D_200D_206C_202B_202D_200D_206F_202D_200E_202C_200C_202B_206C_202E(x.ClassJob)) ? (-716677043) : (-716677047)); + break; + case 2: + result = 30; + num = -716677048; + break; + case 0: + num = ((!_206A_200B_200E_206A_206C_206F_202B_202A_200E_202C_206D_206F_206C_200B_206A_200C_206F_206E_202E_202D_206F_206E_206A_200C_200C_206C_206D_202E_200C_202B_202A_206B_202A_200C_202A_200E_206E_200D_202A_202E_202E(x.ClassJob)) ? (-716677044) : (-716677052)); + break; + } + } + } + + internal EClassJob _003CLookupConfiguredCombatJob_003Eb__5_4((EClassJob ClassJob, short Level, short ItemLevel) x) + { + return x.ClassJob; + } + + static bool _206E_200D_206C_202B_202D_206E_202B_206C_200C_206A_206C_202E_206F_206E_206D_202B_206F_200F_200E_202C_206E_202B_200E_202A_200C_206A_200F_200F_200D_206D_202C_200C_202A_206B_202D_202D_202A_202E_202D_200C_202E(EClassJob P_0) + { + return P_0.DealsPhysicalDamage(); + } + + static bool _200B_200E_200F_202B_206B_206C_200B_206D_200F_200C_206D_202D_200E_200C_200E_200B_200C_202E_202D_206B_206A_200E_200F_206C_202B_206A_206C_206E_200D_202E_200E_206B_200D_200D_200E_206E_206E_200C_206A_202E_202E(EClassJob P_0) + { + return P_0.DealsMagicDamage(); + } + + static bool _202D_200D_200E_200B_200C_206D_206D_200C_202A_202D_200C_206B_206B_206D_206A_202E_200B_200D_206C_200E_200F_202D_200E_200F_200C_202B_206C_202E_202E_206D_200B_206A_202E_200B_200D_200D_206C_206D_200D_202D_202E(EClassJob P_0) + { + return P_0.IsCrafter(); + } + + static bool _200C_200E_206F_206F_202C_200B_206D_202E_206C_206A_206F_200B_206E_202E_200D_206D_202E_202D_206B_206E_202E_206A_202B_206A_206A_202C_206B_202E_202C_202C_206E_202D_206D_206B_206D_202B_206D_202E_202D_202B_202E(EClassJob P_0) + { + return P_0.IsGatherer(); + } + + static bool _202C_206E_206A_200E_202D_200D_206E_202E_206F_200E_206E_206C_206C_202B_200D_202D_206F_206C_206F_202C_200F_200F_202D_202B_206C_206C_202D_200E_206D_202D_206E_202D_206E_206D_206A_200D_202C_202E_202D_202B_202E(EClassJob P_0) + { + return P_0.IsCaster(); + } + + static bool _202E_206C_200D_202E_206C_206C_202B_206A_200D_200C_206F_202A_206E_200B_206A_206E_200D_202C_202C_200E_206B_202C_202B_200C_206C_202B_202D_206F_200F_200D_202E_202E_206A_206A_200E_200F_206F_202C_202E_200C_202E(EClassJob P_0) + { + return P_0.IsPhysicalRanged(); + } + + static bool _200F_200D_206D_206D_200B_202D_202B_202A_200C_202E_206E_200C_206B_200E_206B_202E_206F_200D_206A_202C_200B_206E_202C_200E_202A_202A_202E_200E_200F_200B_202B_200B_202C_206E_202A_200E_200E_200F_206F_206C_202E(EClassJob P_0) + { + return P_0.IsMelee(); + } + + static bool _200D_206D_206D_200B_200B_202D_200E_202B_206E_202D_206C_200D_206C_202E_200E_202E_202E_202C_206C_206F_200D_200B_202B_200C_206D_200D_206C_202D_200D_206C_202B_202D_200D_206F_202D_200E_202C_200C_202B_206C_202E(EClassJob P_0) + { + return P_0.IsTank(); + } + + static bool _206A_200B_200E_206A_206C_206F_202B_202A_200E_202C_206D_206F_206C_200B_206A_200C_206F_206E_202E_202D_206F_206E_206A_200C_200C_206C_206D_202E_200C_202B_202A_206B_202A_200C_202A_200E_206E_200D_202A_202E_202E(EClassJob P_0) + { + return P_0.IsHealer(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass5_0 + { + public EClassJob configuredJob; + + internal bool _003CLookupConfiguredCombatJob_003Eb__5(EClassJob x) + { + int num = ((!_202E_200B_200E_202C_206B_200B_200E_206C_200E_200D_206D_206E_200D_202D_206C_202B_206F_200F_200F_206A_200F_206B_206E_206A_202A_200E_200D_206B_206C_206D_200E_200F_206C_202B_202B_206D_202E_200E_202E_202B_202E(x)) ? 92311981 : 92311982); + while (true) + { + int num2 = num; + int num3 = 92311980; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 2: + return _200C_206E_206C_206B_202E_206E_200D_206C_202D_200D_202B_206A_202A_206F_202D_206F_200C_202B_200D_200B_206E_202B_202D_200D_206B_206C_206E_200D_206D_206E_206D_200E_200D_202A_200B_206E_200D_200B_200E_202B_202E(x) == configuredJob; + case 1: + return false; + } + continue; + IL_0046: + num = 92311982; + } + } + + static bool _202E_200B_200E_202C_206B_200B_200E_206C_200E_200D_206D_206E_200D_202D_206C_202B_206F_200F_200F_206A_200F_206B_206E_206A_202A_200E_200D_206B_206C_206D_200E_200F_206C_202B_202B_206D_202E_200E_202E_202B_202E(EClassJob P_0) + { + return P_0.IsClass(); + } + + static EClassJob _200C_206E_206C_206B_202E_206E_200D_206C_202D_200D_202B_206A_202A_206F_202D_206F_200C_202B_200D_200B_206E_202B_202D_200D_206B_206C_206E_200D_206D_206E_206D_200E_200D_202A_200B_206E_200D_200B_200E_202B_202E(EClassJob P_0) + { + return P_0.AsJob(); + } + } + private readonly Configuration _configuration; private readonly ReadOnlyDictionary _classJobToExpArrayIndex; @@ -24,153 +291,503 @@ internal sealed class ClassJobUtils public ClassJobUtils(Configuration configuration, IDataManager dataManager) { _configuration = configuration; - _classJobToExpArrayIndex = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.ExpArrayIndex >= 0 - select x).ToDictionary((ClassJob x) => (EClassJob)x.RowId, (ClassJob x) => x.ExpArrayIndex).AsReadOnly(); + _classJobToExpArrayIndex = dataManager.GetExcelSheet().Where(delegate(ClassJob x) + { + int num = ((x.RowId == 0) ? 1290142375 : 1290142372); + while (true) + { + int num2 = num; + int num3 = 1290142374; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 2: + return x.ExpArrayIndex >= 0; + case 1: + return false; + } + continue; + IL_0048: + num = 1290142372; + } + }).ToDictionary((ClassJob x) => (EClassJob)x.RowId, (ClassJob x) => x.ExpArrayIndex) + .AsReadOnly(); SortedClassJobs = (from x in dataManager.GetExcelSheet() select (ClassJob: (EClassJob)x.RowId, Priority: x.UIPriority) into x orderby x.Priority select (ClassJob: x.ClassJob, x.Priority / 10)).ToList().AsReadOnly(); } + [MethodImpl(MethodImplOptions.NoInlining)] public IEnumerable AsIndividualJobs(EExtendedClassJob classJob, ElementId? referenceQuest) { + int num; + IEnumerable result = default(IEnumerable); + EClassJob eClassJob2 = default(EClassJob); + EClassJob eClassJob = default(EClassJob); switch (classJob) { - case EExtendedClassJob.Gladiator: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Gladiator); - case EExtendedClassJob.Pugilist: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Pugilist); - case EExtendedClassJob.Marauder: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Marauder); - case EExtendedClassJob.Lancer: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Lancer); - case EExtendedClassJob.Archer: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Archer); - case EExtendedClassJob.Conjurer: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Conjurer); - case EExtendedClassJob.Thaumaturge: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Thaumaturge); - case EExtendedClassJob.Carpenter: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Carpenter); - case EExtendedClassJob.Blacksmith: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Blacksmith); - case EExtendedClassJob.Armorer: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Armorer); - case EExtendedClassJob.Goldsmith: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Goldsmith); - case EExtendedClassJob.Leatherworker: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Leatherworker); - case EExtendedClassJob.Weaver: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Weaver); - case EExtendedClassJob.Alchemist: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Alchemist); - case EExtendedClassJob.Culinarian: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Culinarian); - case EExtendedClassJob.Miner: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Miner); - case EExtendedClassJob.Botanist: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Botanist); - case EExtendedClassJob.Fisher: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Fisher); - case EExtendedClassJob.Paladin: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Paladin); - case EExtendedClassJob.Monk: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Monk); - case EExtendedClassJob.Warrior: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Warrior); - case EExtendedClassJob.Dragoon: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Dragoon); - case EExtendedClassJob.Bard: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Bard); - case EExtendedClassJob.WhiteMage: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.WhiteMage); - case EExtendedClassJob.BlackMage: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.BlackMage); - case EExtendedClassJob.Arcanist: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Arcanist); - case EExtendedClassJob.Summoner: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Summoner); - case EExtendedClassJob.Scholar: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Scholar); - case EExtendedClassJob.Rogue: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Rogue); - case EExtendedClassJob.Ninja: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Ninja); - case EExtendedClassJob.Machinist: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Machinist); - case EExtendedClassJob.DarkKnight: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.DarkKnight); - case EExtendedClassJob.Astrologian: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Astrologian); - case EExtendedClassJob.Samurai: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Samurai); - case EExtendedClassJob.RedMage: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.RedMage); - case EExtendedClassJob.BlueMage: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.BlueMage); - case EExtendedClassJob.Gunbreaker: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Gunbreaker); - case EExtendedClassJob.Dancer: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Dancer); - case EExtendedClassJob.Reaper: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Reaper); - case EExtendedClassJob.Sage: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Sage); - case EExtendedClassJob.Viper: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Viper); - case EExtendedClassJob.Pictomancer: - return new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Pictomancer); - case EExtendedClassJob.DoW: - return from x in Enum.GetValues() - where x.DealsPhysicalDamage() - select x; - case EExtendedClassJob.DoM: - return from x in Enum.GetValues() - where x.DealsMagicDamage() - select x; - case EExtendedClassJob.DoH: - return from x in Enum.GetValues() - where x.IsCrafter() - select x; - case EExtendedClassJob.DoL: - return from x in Enum.GetValues() - where x.IsGatherer() - select x; - case EExtendedClassJob.ConfiguredCombatJob: - { - EClassJob eClassJob2 = LookupConfiguredCombatJob(); - IEnumerable result2; - if (eClassJob2 == EClassJob.Adventurer) - { - IEnumerable enumerable = Array.Empty(); - result2 = enumerable; - } - else - { - IEnumerable enumerable = new global::_003C_003Ez__ReadOnlySingleElementList(eClassJob2); - result2 = enumerable; - } - return result2; - } - case EExtendedClassJob.QuestStartJob: - { - EClassJob eClassJob = LookupQuestStartJob(referenceQuest); - IEnumerable result; - if (eClassJob == EClassJob.Adventurer) - { - IEnumerable enumerable = Array.Empty(); - result = enumerable; - } - else - { - IEnumerable enumerable = new global::_003C_003Ez__ReadOnlySingleElementList(eClassJob); - result = enumerable; - } - return result; - } default: - throw new ArgumentOutOfRangeException("classJob", classJob, null); + num = 1554917607; + goto IL_00d8; + case EExtendedClassJob.Summoner: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Summoner); + num = 1554917577; + goto IL_00d8; + case EExtendedClassJob.DoM: + goto IL_0205; + case EExtendedClassJob.WhiteMage: + goto IL_023e; + case EExtendedClassJob.Goldsmith: + goto IL_0252; + case EExtendedClassJob.Samurai: + goto IL_0266; + case EExtendedClassJob.QuestStartJob: + goto IL_027a; + case EExtendedClassJob.Dragoon: + goto IL_02a0; + case EExtendedClassJob.Rogue: + goto IL_02b4; + case EExtendedClassJob.Lancer: + goto IL_02c8; + case EExtendedClassJob.Arcanist: + goto IL_02db; + case EExtendedClassJob.Bard: + goto IL_02ef; + case EExtendedClassJob.DoW: + goto IL_0303; + case EExtendedClassJob.Dancer: + goto IL_033c; + case EExtendedClassJob.Astrologian: + goto IL_0350; + case EExtendedClassJob.Paladin: + goto IL_0364; + case EExtendedClassJob.Reaper: + goto IL_0378; + case EExtendedClassJob.Miner: + goto IL_038c; + case EExtendedClassJob.Machinist: + goto IL_03a0; + case EExtendedClassJob.Pugilist: + goto IL_03b4; + case EExtendedClassJob.Botanist: + goto IL_03df; + case EExtendedClassJob.Culinarian: + goto IL_03f3; + case EExtendedClassJob.Beastmaster: + goto IL_0407; + case EExtendedClassJob.Warrior: + goto IL_041b; + case EExtendedClassJob.Marauder: + goto IL_042f; + case EExtendedClassJob.ConfiguredCombatJob: + goto IL_0442; + case EExtendedClassJob.Pictomancer: + goto IL_0467; + case EExtendedClassJob.Fisher: + goto IL_047b; + case EExtendedClassJob.BlueMage: + goto IL_048f; + case EExtendedClassJob.Carpenter: + goto IL_04c7; + case EExtendedClassJob.Archer: + goto IL_04da; + case EExtendedClassJob.Armorer: + goto IL_04ed; + case EExtendedClassJob.Alchemist: + goto IL_0501; + case EExtendedClassJob.Gladiator: + goto IL_0515; + case EExtendedClassJob.DoL: + goto IL_0528; + case EExtendedClassJob.Viper: + goto IL_0578; + case EExtendedClassJob.Blacksmith: + goto IL_058c; + case EExtendedClassJob.Thaumaturge: + goto IL_05a0; + case EExtendedClassJob.Monk: + goto IL_05b3; + case EExtendedClassJob.Scholar: + goto IL_05dc; + case EExtendedClassJob.Leatherworker: + goto IL_05fc; + case EExtendedClassJob.BlackMage: + goto IL_0610; + case EExtendedClassJob.Ninja: + goto IL_0624; + case EExtendedClassJob.Conjurer: + goto IL_0638; + case EExtendedClassJob.DoH: + goto IL_064b; + case EExtendedClassJob.RedMage: + goto IL_0684; + case EExtendedClassJob.Gunbreaker: + goto IL_0698; + case EExtendedClassJob.Weaver: + goto IL_06ae; + case EExtendedClassJob.Sage: + goto IL_06c2; + case EExtendedClassJob.DarkKnight: + goto IL_06d6; + IL_00d8: + while (true) + { + int num2 = num; + int num3 = 1554917578; + int num4 = num2; + IEnumerable enumerable3; + IEnumerable enumerable2; + switch ((num4 | num3) - (num4 & num3)) + { + case 46: + goto end_IL_00d8; + case 2: + { + IEnumerable enumerable = new global::_003C_003Ez__ReadOnlySingleElementList(eClassJob2); + enumerable3 = enumerable; + goto IL_01f8; + } + case 56: + goto IL_0205; + case 20: + goto IL_023e; + case 8: + goto IL_0252; + case 30: + goto IL_0266; + case 51: + goto IL_027a; + case 22: + goto IL_02a0; + case 10: + goto IL_02b4; + case 54: + goto IL_02c8; + case 39: + goto IL_02db; + case 37: + goto IL_02ef; + case 26: + goto IL_0303; + case 25: + goto IL_033c; + case 50: + goto IL_0350; + case 52: + goto IL_0364; + case 17: + goto IL_0378; + case 40: + goto IL_038c; + case 13: + goto IL_03a0; + case 0: + goto IL_03b4; + case 16: + { + IEnumerable enumerable = Array.Empty(); + enumerable3 = enumerable; + goto IL_01f8; + } + case 36: + goto IL_03df; + case 12: + goto IL_03f3; + case 31: + goto IL_0407; + case 34: + goto IL_041b; + case 41: + goto IL_042f; + case 9: + goto IL_0442; + case 28: + goto IL_0467; + case 18: + goto IL_047b; + case 32: + goto IL_048f; + case 45: + num = 1554917606; + break; + case 48: + { + IEnumerable enumerable = Array.Empty(); + enumerable2 = enumerable; + goto IL_05cf; + } + case 55: + goto IL_04c7; + case 42: + goto IL_04da; + case 33: + goto IL_04ed; + case 47: + goto IL_0501; + case 53: + goto IL_0515; + case 24: + goto IL_0528; + case 44: + throw _202D_200D_202D_200E_202D_206C_206A_206F_202C_206F_200C_202C_200B_202B_206C_200E_200B_206A_202B_200E_206F_206B_206A_202D_200D_206E_206B_200D_202A_202E_202E_202E_206B_206E_206D_206E_200B_206F_202D_206E_202E(global::_003CModule_003E._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(688705615), (object)classJob, (string)null); + case 35: + goto IL_0578; + case 38: + goto IL_058c; + case 6: + goto IL_05a0; + case 5: + goto IL_05b3; + case 19: + { + IEnumerable enumerable = new global::_003C_003Ez__ReadOnlySingleElementList(eClassJob); + enumerable2 = enumerable; + goto IL_05cf; + } + case 29: + goto IL_05dc; + case 23: + num = 1554917607; + break; + case 27: + goto IL_05fc; + case 21: + goto IL_0610; + case 1: + goto IL_0624; + case 11: + goto IL_0638; + case 4: + goto IL_064b; + case 43: + goto IL_0684; + case 49: + goto IL_0698; + case 3: + return result; + case 7: + goto IL_06ae; + case 15: + goto IL_06c2; + case 14: + goto IL_06d6; + IL_05cf: + result = enumerable2; + num = 1554917577; + break; + IL_01f8: + result = enumerable3; + num = 1554917577; + break; + } + continue; + end_IL_00d8: + break; + } + goto case EExtendedClassJob.Summoner; + IL_06d6: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.DarkKnight); + num = 1554917577; + goto IL_00d8; + IL_06c2: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Sage); + num = 1554917577; + goto IL_00d8; + IL_06ae: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Weaver); + num = 1554917577; + goto IL_00d8; + IL_0698: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Gunbreaker); + num = 1554917577; + goto IL_00d8; + IL_0684: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.RedMage); + num = 1554917577; + goto IL_00d8; + IL_064b: + result = from x in Enum.GetValues() + where _003C_003Ec._202D_200D_200E_200B_200C_206D_206D_200C_202A_202D_200C_206B_206B_206D_206A_202E_200B_200D_206C_200E_200F_202D_200E_200F_200C_202B_206C_202E_202E_206D_200B_206A_202E_200B_200D_200D_206C_206D_200D_202D_202E(x) + select x; + num = 1554917577; + goto IL_00d8; + IL_02a0: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Dragoon); + num = 1554917577; + goto IL_00d8; + IL_02b4: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Rogue); + num = 1554917577; + goto IL_00d8; + IL_0638: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Conjurer); + num = 1554917577; + goto IL_00d8; + IL_0624: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Ninja); + num = 1554917577; + goto IL_00d8; + IL_0610: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.BlackMage); + num = 1554917577; + goto IL_00d8; + IL_05fc: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Leatherworker); + num = 1554917577; + goto IL_00d8; + IL_05dc: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Scholar); + num = 1554917577; + goto IL_00d8; + IL_05b3: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Monk); + num = 1554917577; + goto IL_00d8; + IL_05a0: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Thaumaturge); + num = 1554917577; + goto IL_00d8; + IL_058c: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Blacksmith); + num = 1554917577; + goto IL_00d8; + IL_0578: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Viper); + num = 1554917577; + goto IL_00d8; + IL_0528: + result = from x in Enum.GetValues() + where _003C_003Ec._200C_200E_206F_206F_202C_200B_206D_202E_206C_206A_206F_200B_206E_202E_200D_206D_202E_202D_206B_206E_202E_206A_202B_206A_206A_202C_206B_202E_202C_202C_206E_202D_206D_206B_206D_202B_206D_202E_202D_202B_202E(x) + select x; + num = 1554917577; + goto IL_00d8; + IL_0205: + result = from x in Enum.GetValues() + where _003C_003Ec._200B_200E_200F_202B_206B_206C_200B_206D_200F_200C_206D_202D_200E_200C_200E_200B_200C_202E_202D_206B_206A_200E_200F_206C_202B_206A_206C_206E_200D_202E_200E_206B_200D_200D_200E_206E_206E_200C_206A_202E_202E(x) + select x; + num = 1554917577; + goto IL_00d8; + IL_027a: + eClassJob2 = LookupQuestStartJob(referenceQuest); + num = ((eClassJob2 != EClassJob.Adventurer) ? 1554917576 : 1554917594); + goto IL_00d8; + IL_0515: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Gladiator); + num = 1554917577; + goto IL_00d8; + IL_0501: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Alchemist); + num = 1554917577; + goto IL_00d8; + IL_04ed: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Armorer); + num = 1554917577; + goto IL_00d8; + IL_04da: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Archer); + num = 1554917577; + goto IL_00d8; + IL_04c7: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Carpenter); + num = 1554917577; + goto IL_00d8; + IL_048f: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.BlueMage); + num = 1554917577; + goto IL_00d8; + IL_047b: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Fisher); + num = 1554917577; + goto IL_00d8; + IL_0467: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Pictomancer); + num = 1554917577; + goto IL_00d8; + IL_0442: + eClassJob = LookupConfiguredCombatJob(); + num = ((eClassJob != EClassJob.Adventurer) ? 1554917593 : 1554917626); + goto IL_00d8; + IL_0266: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Samurai); + num = 1554917577; + goto IL_00d8; + IL_042f: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Marauder); + num = 1554917577; + goto IL_00d8; + IL_041b: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Warrior); + num = 1554917577; + goto IL_00d8; + IL_0407: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Beastmaster); + num = 1554917577; + goto IL_00d8; + IL_03f3: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Culinarian); + num = 1554917577; + goto IL_00d8; + IL_03df: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Botanist); + num = 1554917577; + goto IL_00d8; + IL_03b4: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Pugilist); + num = 1554917577; + goto IL_00d8; + IL_03a0: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Machinist); + num = 1554917577; + goto IL_00d8; + IL_038c: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Miner); + num = 1554917577; + goto IL_00d8; + IL_0378: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Reaper); + num = 1554917577; + goto IL_00d8; + IL_0364: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Paladin); + num = 1554917577; + goto IL_00d8; + IL_0350: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Astrologian); + num = 1554917577; + goto IL_00d8; + IL_033c: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Dancer); + num = 1554917577; + goto IL_00d8; + IL_0303: + result = from x in Enum.GetValues() + where _003C_003Ec._206E_200D_206C_202B_202D_206E_202B_206C_200C_206A_206C_202E_206F_206E_206D_202B_206F_200F_200E_202C_206E_202B_200E_202A_200C_206A_200F_200F_200D_206D_202C_200C_202A_206B_202D_202D_202A_202E_202D_200C_202E(x) + select x; + num = 1554917577; + goto IL_00d8; + IL_023e: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.WhiteMage); + num = 1554917577; + goto IL_00d8; + IL_0252: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Goldsmith); + num = 1554917577; + goto IL_00d8; + IL_02ef: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Bard); + num = 1554917577; + goto IL_00d8; + IL_02db: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Arcanist); + num = 1554917577; + goto IL_00d8; + IL_02c8: + result = new global::_003C_003Ez__ReadOnlySingleElementList(EClassJob.Lancer); + num = 1554917577; + goto IL_00d8; } } @@ -179,84 +796,250 @@ internal sealed class ClassJobUtils EClassJob configuredJob = _configuration.General.CombatJob; ReadOnlyCollection<(EClassJob, short, short)> combatJobGearSets = GetCombatJobGearSets(); HashSet hashSet = combatJobGearSets.Select<(EClassJob, short, short), EClassJob>(((EClassJob ClassJob, short Level, short ItemLevel) x) => x.ClassJob).Distinct().ToHashSet(); - if (configuredJob != EClassJob.Adventurer) + int num = ((configuredJob == EClassJob.Adventurer) ? 948516034 : 948516037); + EClassJob eClassJob = default(EClassJob); + while (true) { - if (hashSet.Contains(configuredJob)) - { - return configuredJob; - } - EClassJob eClassJob = Enum.GetValues().SingleOrDefault((EClassJob x) => x.IsClass() && x.AsJob() == configuredJob); - if (eClassJob != EClassJob.Adventurer && hashSet.Contains(eClassJob)) + int num2 = num; + int num3 = 948516032; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 1: + num = ((!hashSet.Contains(eClassJob)) ? 948516034 : 948516038); + break; + case 6: return eClassJob; + case 4: + eClassJob = Enum.GetValues().SingleOrDefault(delegate(EClassJob x) + { + int num7 = ((!_003C_003Ec__DisplayClass5_0._202E_200B_200E_202C_206B_200B_200E_206C_200E_200D_206D_206E_200D_202D_206C_202B_206F_200F_200F_206A_200F_206B_206E_206A_202A_200E_200D_206B_206C_206D_200E_200F_206C_202B_202B_206D_202E_200E_202E_202B_202E(x)) ? 92311981 : 92311982); + while (true) + { + int num8 = num7; + int num9 = 92311980; + int num10 = num8; + switch ((num10 | num9) - (num10 & num9)) + { + case 0: + goto IL_0046; + case 2: + return _003C_003Ec__DisplayClass5_0._200C_206E_206C_206B_202E_206E_200D_206C_202D_200D_202B_206A_202A_206F_202D_206F_200C_202B_200D_200B_206E_202B_202D_200D_206B_206C_206E_200D_206D_206E_206D_200E_200D_202A_200B_206E_200D_200B_200E_202B_202E(x) == configuredJob; + case 1: + return false; + } + continue; + IL_0046: + num7 = 92311982; + } + }); + num = ((eClassJob == EClassJob.Adventurer) ? 948516034 : 948516033); + break; + case 3: + return configuredJob; + case 0: + num = 948516037; + break; + case 2: + return (from x in (from x in combatJobGearSets + orderby x.Level descending, x.ItemLevel descending + select x).ThenByDescending<(EClassJob, short, short), int>(delegate((EClassJob ClassJob, short Level, short ItemLevel) x) + { + int num7 = ((!_003C_003Ec._202C_206E_206A_200E_202D_200D_206E_202E_206F_200E_206E_206C_206C_202B_200D_202D_206F_206C_206F_202C_200F_200F_202D_202B_206C_206C_202D_200E_206D_202D_206E_202D_206E_206D_206A_200D_202C_202E_202D_202B_202E(x.ClassJob)) ? (-716677051) : (-716677046)); + int result = default(int); + while (true) + { + int num8 = num7; + int num9 = -716677043; + int num10 = num8; + int num11 = num10 + num9; + int num12 = num10 & num9; + switch (num11 - (num12 + num12)) + { + case 4: + result = 20; + num7 = -716677048; + break; + case 1: + result = 0; + num7 = -716677048; + break; + case 9: + result = 10; + num7 = -716677048; + break; + case 3: + num7 = -716677046; + break; + case 8: + num7 = ((!_003C_003Ec._202E_206C_200D_202E_206C_206C_202B_206A_200D_200C_206F_202A_206E_200B_206A_206E_200D_202C_202C_200E_206B_202C_202B_200C_206C_202B_202D_206F_200F_200D_202E_202E_206A_206A_200E_200F_206F_202C_202E_200C_202E(x.ClassJob)) ? (-716677045) : (-716677050)); + break; + case 7: + result = 50; + num7 = -716677048; + break; + case 6: + num7 = ((!_003C_003Ec._200F_200D_206D_206D_200B_202D_202B_202A_200C_202E_206E_200C_206B_200E_206B_202E_206F_200D_206A_202C_200B_206E_202C_200E_202A_202A_202E_200E_200F_200B_202B_200B_202C_206E_202A_200E_200E_200F_206F_206C_202E(x.ClassJob)) ? (-716677049) : (-716677041)); + break; + case 5: + return result; + case 11: + result = 40; + num7 = -716677048; + break; + case 10: + num7 = ((!_003C_003Ec._200D_206D_206D_200B_200B_202D_200E_202B_206E_202D_206C_200D_206C_202E_200E_202E_202E_202C_206C_206F_200D_200B_202B_200C_206D_200D_206C_202D_200D_206C_202B_202D_200D_206F_202D_200E_202C_200C_202B_206C_202E(x.ClassJob)) ? (-716677043) : (-716677047)); + break; + case 2: + result = 30; + num7 = -716677048; + break; + case 0: + num7 = ((!_003C_003Ec._206A_200B_200E_206A_206C_206F_202B_202A_200E_202C_206D_206F_206C_200B_206A_200C_206F_206E_202E_202D_206F_206E_206A_200C_200C_206C_206D_202E_200C_202B_202A_206B_202A_200C_202A_200E_206E_200D_202A_202E_202E(x.ClassJob)) ? (-716677044) : (-716677052)); + break; + } + } + }) + select x.ClassJob).DefaultIfEmpty(EClassJob.Adventurer).FirstOrDefault(); + case 5: + num = ((!hashSet.Contains(configuredJob)) ? 948516036 : 948516035); + break; } } - return (from x in (from x in combatJobGearSets - orderby x.Level descending, x.ItemLevel descending - select x).ThenByDescending<(EClassJob, short, short), int>(delegate((EClassJob ClassJob, short Level, short ItemLevel) x) - { - if (x.ClassJob.IsCaster()) - { - return 50; - } - if (x.ClassJob.IsPhysicalRanged()) - { - return 40; - } - if (x.ClassJob.IsMelee()) - { - return 30; - } - if (x.ClassJob.IsTank()) - { - return 20; - } - return x.ClassJob.IsHealer() ? 10 : 0; - }) - select x.ClassJob).DefaultIfEmpty(EClassJob.Adventurer).FirstOrDefault(); } 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(); + int num = ((ptr != null) ? 414086816 : 414086821); + EClassJob classJob = default(EClassJob); + RaptureGearsetModule.GearsetEntry* gearset = default(RaptureGearsetModule.GearsetEntry*); + int num6 = default(int); + short num9 = default(short); + while (true) { - return list.AsReadOnly(); - } - for (int i = 0; i < 100; i++) - { - RaptureGearsetModule.GearsetEntry* gearset = ptr2->GetGearset(i); - if (!gearset->Flags.HasFlag(RaptureGearsetModule.GearsetFlag.Exists)) + int num2 = num; + int num3 = 414086819; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - continue; + case 10: + num = 414086821; + break; + case 8: + num = (_202C_206B_200F_200C_200E_200E_206E_202B_200F_202D_202E_206F_200D_202C_206A_206C_200D_200F_200C_206C_206A_202C_202E_200C_206B_200B_200C_200E_200B_202C_206C_202B_202B_200F_206E_202C_200B_202A_206A_202E_202E(classJob) ? 414086817 : 414086823); + break; + case 7: + gearset = ptr->GetGearset(num6); + num = ((!_200B_202A_206C_202D_200F_202E_200C_200E_202B_206A_200F_200D_200B_206F_206F_206A_200D_202B_206A_206B_200F_202D_202C_202E_200B_206D_206F_200D_206B_206B_202E_200F_202A_206C_202D_200C_206C_200D_206A_206B_202E((Enum)gearset->Flags, (Enum)RaptureGearsetModule.GearsetFlag.Exists)) ? 414086817 : 414086822); + break; + case 5: + classJob = (EClassJob)gearset->ClassJob; + num = (_202D_206B_202D_202B_200E_206A_206B_200F_206F_200E_202E_200F_206B_200B_206C_202A_200F_206F_200F_202B_202E_202C_202E_206D_202E_202C_200F_206A_202D_202A_200F_206E_200F_206A_206B_206A_202B_200B_202A_200C_202E(classJob) ? 414086817 : 414086827); + break; + case 3: + num6 = 0; + num = 414086826; + break; + case 6: + return list.AsReadOnly(); + case 0: + return list.AsReadOnly(); + case 1: + { + short itemLevel = gearset->ItemLevel; + list.Add((classJob, num9, itemLevel)); + num = 414086817; + break; } - EClassJob classJob = (EClassJob)gearset->ClassJob; - if (!classJob.IsCrafter() && !classJob.IsGatherer()) + case 9: + num = ((num6 < 100) ? 414086820 : 414086819); + break; + case 4: + num9 = _206E_206A_200E_206F_202C_200B_206B_200C_200C_202A_206D_200C_200F_206F_200E_206C_200F_206F_202E_200B_202D_200D_200C_202E_200E_206E_206C_202A_200D_200C_206D_200D_206C_200F_200D_202E_206A_206C_200E_202E((int)_classJobToExpArrayIndex[classJob]); + num = ((num9 == 0) ? 414086817 : 414086818); + break; + case 2: { - short num = ptr->ClassJobLevels[_classJobToExpArrayIndex[classJob]]; - if (num != 0) - { - short itemLevel = gearset->ItemLevel; - list.Add((classJob, num, itemLevel)); - } + int num5 = num6; + num3 = 1; + num4 = num5; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num6 = num7 + (num8 + num8); + num = 414086826; + break; + } } } - return list.AsReadOnly(); } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe EClassJob LookupQuestStartJob(ElementId? elementId) { - ArgumentNullException.ThrowIfNull(elementId, "elementId"); - if (elementId is QuestId questId) + _202A_206C_200B_200E_200D_200E_206A_200B_202C_206A_206F_200E_200B_200F_206B_200B_202C_206E_206B_206C_200E_202C_202B_206C_200C_206C_200F_206E_200B_206D_202D_206F_206D_200B_202E_206B_206B_202C_202E_200D_202E((object)elementId, global::_003CModule_003E._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(-390564641)); + QuestId questId = elementId as QuestId; + int num = (((object)questId == null) ? 1903187952 : 1903187954); + QuestWork* questById = default(QuestWork*); + while (true) { - QuestWork* questById = QuestManager.Instance()->GetQuestById(questId.Value); - if (questById->AcceptClassJob != 0) + int num2 = num; + int num3 = 1903187955; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 2: + num = 1903187954; + break; + case 3: + return EClassJob.Adventurer; + case 0: return (EClassJob)questById->AcceptClassJob; + case 1: + questById = QuestManager.Instance()->GetQuestById(_200E_206D_200B_206A_200F_202D_202C_202E_202A_206F_206E_206B_200D_206A_200F_200E_206E_202B_206B_202C_202E_200B_206D_202E_202A_206B_202E_200B_202E_202C_206E_200C_206E_206A_200D_206E_202E_200F_200D_200D_202E((ElementId)questId)); + num = ((questById->AcceptClassJob == 0) ? 1903187952 : 1903187955); + break; } } - return EClassJob.Adventurer; + } + + static ArgumentOutOfRangeException _202D_200D_202D_200E_202D_206C_206A_206F_202C_206F_200C_202C_200B_202B_206C_200E_200B_206A_202B_200E_206F_206B_206A_202D_200D_206E_206B_200D_202A_202E_202E_202E_206B_206E_206D_206E_200B_206F_202D_206E_202E(string P_0, object P_1, string P_2) + { + return new ArgumentOutOfRangeException(P_0, P_1, P_2); + } + + static bool _200B_202A_206C_202D_200F_202E_200C_200E_202B_206A_200F_200D_200B_206F_206F_206A_200D_202B_206A_206B_200F_202D_202C_202E_200B_206D_206F_200D_206B_206B_202E_200F_202A_206C_202D_200C_206C_200D_206A_206B_202E(Enum P_0, Enum P_1) + { + return P_0.HasFlag(P_1); + } + + static bool _202D_206B_202D_202B_200E_206A_206B_200F_206F_200E_202E_200F_206B_200B_206C_202A_200F_206F_200F_202B_202E_202C_202E_206D_202E_202C_200F_206A_202D_202A_200F_206E_200F_206A_206B_206A_202B_200B_202A_200C_202E(EClassJob P_0) + { + return P_0.IsCrafter(); + } + + static bool _202C_206B_200F_200C_200E_200E_206E_202B_200F_202D_202E_206F_200D_202C_206A_206C_200D_200F_200C_206C_206A_202C_202E_200C_206B_200B_200C_200E_200B_202C_206C_202B_202B_200F_206E_202C_200B_202A_206A_202E_202E(EClassJob P_0) + { + return P_0.IsGatherer(); + } + + static short _206E_206A_200E_206F_202C_200B_206B_200C_200C_202A_206D_200C_200F_206F_200E_206C_200F_206F_202E_200B_202D_200D_200C_202E_200E_206E_206C_202A_200D_200C_206D_200D_206C_200F_200D_202E_206A_206C_200E_202E(int P_0) + { + return PlayerStateHelper.GetClassJobLevel(P_0); + } + + static void _202A_206C_200B_200E_200D_200E_206A_200B_202C_206A_206F_200E_200B_200F_206B_200B_202C_206E_206B_206C_200E_202C_202B_206C_200C_206C_200F_206E_200B_206D_202D_206F_206D_200B_202E_206B_206B_202C_202E_200D_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static ushort _200E_206D_200B_206A_200F_202D_202C_202E_202A_206F_206E_206B_200D_206A_200F_200E_206E_202B_206B_202C_202E_200B_206D_202E_202A_206B_202E_200B_202E_202C_206E_200C_206E_206A_200D_206E_202E_200F_200D_200D_202E(ElementId P_0) + { + return P_0.Value; } } diff --git a/Questionable/Questionable.Data/DutyEntry.cs b/Questionable/Questionable.Data/DutyEntry.cs new file mode 100644 index 00000000..eb3afdd7 --- /dev/null +++ b/Questionable/Questionable.Data/DutyEntry.cs @@ -0,0 +1,162 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +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) +{ + [CompilerGenerated] + protected virtual Type EqualityContract + { + [CompilerGenerated] + get + { + return _206B_202C_206A_206B_202E_206D_200D_202A_202C_206E_202D_202D_202C_200E_200B_202D_206E_202A_206D_200B_202A_206F_202A_202A_200E_202D_202A_206A_206E_202A_202A_200C_200F_200E_206B_202B_200E_200E_202C_200E_202E(typeof(DutyEntry).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200B_200E_206C_206A_200E_202C_202E_206B_206D_202B_200C_200E_206D_202A_200D_202A_200B_206E_206E_202D_200E_202C_206B_200E_202A_206E_206E_206E_200B_200C_202D_206B_202A_202B_200B_202E_200D_200F_202A_202E_202E(); + _202B_200C_206C_206B_206A_206A_200C_200B_206B_202E_202D_202D_206B_206A_200F_200F_202E_200B_202B_206A_200E_206D_206B_206D_202E_202D_206D_202E_206B_206C_206A_206F_200B_206D_202D_206F_206B_206B_206C_206B_202E(stringBuilder, global::_003CModule_003E._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(-1564111399)); + _202B_200C_206C_206B_206A_206A_200C_200B_206B_202E_202D_202D_206B_206A_200F_200F_202E_200B_202B_206A_200E_206D_206B_206D_202E_202D_206D_202E_206B_206C_206A_206F_200B_206D_202D_206F_206B_206B_206C_206B_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? 1829663405 : 1829663404); + while (true) + { + int num2 = num; + int num3 = 1829663405; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _206F_202D_202E_206D_200F_200B_206A_202E_200B_200C_206B_202C_202D_200F_206A_206A_200C_200B_202D_200C_202D_206F_202E_200D_200C_202E_206B_200F_202A_200E_206B_206A_202E_202D_200F_206C_202E_202E_202A_200F_202E(stringBuilder, '}'); + return _206A_200C_200D_206B_206D_202D_200C_200F_200F_202C_206C_202C_200E_206C_202B_206E_200B_202A_206B_200C_206C_206B_206C_206D_206E_202C_206B_202B_206C_206A_206C_206F_206F_206C_206A_200B_200E_206B_200F_206C_202E((object?)stringBuilder); + case 1: + _206F_202D_202E_206D_200F_200B_206A_202E_200B_200C_206B_202C_202D_200F_206A_206A_200C_200B_202D_200C_202D_206F_202E_200D_200C_202E_206B_200F_202A_200E_206B_206A_202E_202D_200F_206C_202E_202E_202A_200F_202E(stringBuilder, ' '); + num = 1829663405; + break; + case 2: + num = 1829663404; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected virtual bool PrintMembers(StringBuilder builder) + { + _202C_200E_200F_200D_202B_206B_206D_202A_202D_202A_202E_202A_202D_206C_206C_202A_206D_200F_206D_206B_202A_206A_206E_206B_206A_202E_202B_206C_202C_202D_206D_200F_202D_206C_200D_200B_200F_200F_206C_200E_202E(); + _202B_200C_206C_206B_206A_206A_200C_200B_206B_202E_202D_202D_206B_206A_200F_200F_202E_200B_202B_206A_200E_206D_206B_206D_202E_202D_206D_202E_206B_206C_206A_206F_200B_206D_202D_206F_206B_206B_206C_206B_202E(builder, global::_003CModule_003E._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(2084857549)); + _202B_200C_206C_206B_206A_206A_200C_200B_206B_202E_202D_202D_206B_206A_200F_200F_202E_200B_202B_206A_200E_206D_206B_206D_202E_202D_206D_202E_206B_206C_206A_206F_200B_206D_202D_206F_206B_206B_206C_206B_202E(builder, Enabled.ToString()); + _202B_200C_206C_206B_206A_206A_200C_200B_206B_202E_202D_202D_206B_206A_200F_200F_202E_200B_202B_206A_200E_206D_206B_206D_202E_202D_206D_202E_206B_206C_206A_206F_200B_206D_202D_206F_206B_206B_206C_206B_202E(builder, global::_003CModule_003E._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(-803397145)); + _202B_200C_206C_206B_206A_206A_200C_200B_206B_202E_202D_202D_206B_206A_200F_200F_202E_200B_202B_206A_200E_206D_206B_206D_202E_202D_206D_202E_206B_206C_206A_206F_200B_206D_202D_206F_206B_206B_206C_206B_202E(builder, DutyMode.ToString()); + _202B_200C_206C_206B_206A_206A_200C_200B_206B_202E_202D_202D_206B_206A_200F_200F_202E_200B_202B_206A_200E_206D_206B_206D_202E_202D_206D_202E_206B_206C_206A_206F_200B_206D_202D_206F_206B_206B_206C_206B_202E(builder, global::_003CModule_003E._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(46890329)); + _202B_200C_206C_206B_206A_206A_200C_200B_206B_202E_202D_202D_206B_206A_200F_200F_202E_200B_202B_206A_200E_206D_206B_206D_202E_202D_206D_202E_206B_206C_206A_206F_200B_206D_202D_206F_206B_206B_206C_206B_202E(builder, LowPriority.ToString()); + _202B_200C_206C_206B_206A_206A_200C_200B_206B_202E_202D_202D_206B_206A_200F_200F_202E_200B_202B_206A_200E_206D_206B_206D_202E_202D_206D_202E_206B_206C_206A_206F_200B_206D_202D_206F_206B_206B_206C_206B_202E(builder, global::_003CModule_003E._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(1653418584)); + _200F_200C_200E_202A_200D_206C_202D_200B_202E_206F_206B_202B_202D_206C_206F_202C_206E_202A_202E_200F_202E_200C_202B_202B_202B_206F_200C_206B_206E_206C_206E_206E_200D_200B_206D_206B_206E_202B_200F_202A_202E(builder, (object?)TestedAutoDutyVersion); + _202B_200C_206C_206B_206A_206A_200C_200B_206B_202E_202D_202D_206B_206A_200F_200F_202E_200B_202B_206A_200E_206D_206B_206D_202E_202D_206D_202E_206B_206C_206A_206F_200B_206D_202D_206F_206B_206B_206C_206B_202E(builder, global::_003CModule_003E._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(1902779577)); + _200F_200C_200E_202A_200D_206C_202D_200B_202E_206F_206B_202B_202D_206C_206F_202C_206E_202A_202E_200F_202E_200C_202B_202B_202B_206F_200C_206B_206E_206C_206E_206E_200D_200B_206D_206B_206E_202B_200F_202A_202E(builder, (object?)TestedBossModVersion); + _202B_200C_206C_206B_206A_206A_200C_200B_206B_202E_202D_202D_206B_206A_200F_200F_202E_200B_202B_206A_200E_206D_206B_206D_202E_202D_206D_202E_206B_206C_206A_206F_200B_206D_202D_206F_206B_206B_206C_206B_202E(builder, global::_003CModule_003E._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(743555785)); + _200F_200C_200E_202A_200D_206C_202D_200B_202E_206F_206B_202B_202D_206C_206F_202C_206E_202A_202E_200F_202E_200C_202B_202B_202B_206F_200C_206B_206E_206C_206E_206E_200D_200B_206D_206B_206E_202B_200F_202A_202E(builder, (object?)Notes); + return true; + } + + [CompilerGenerated] + public virtual bool Equals(DutyEntry? other) + { + int num = (((object)this == other) ? (-1968311601) : (-1968311608)); + while (true) + { + int num2 = num; + int num3 = -1968311602; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = ((!EqualityComparer.Default.Equals(TestedBossModVersion, other.TestedBossModVersion)) ? (-1968311609) : (-1968311604)); + break; + case 6: + num = (((object)other == null) ? (-1968311609) : (-1968311605)); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(LowPriority, other.LowPriority)) ? (-1968311609) : (-1968311612)); + break; + case 2: + return EqualityComparer.Default.Equals(Notes, other.Notes); + case 9: + return false; + case 10: + num = ((!EqualityComparer.Default.Equals(TestedAutoDutyVersion, other.TestedAutoDutyVersion)) ? (-1968311609) : (-1968311603)); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(DutyMode, other.DutyMode)) ? (-1968311609) : (-1968311602)); + break; + case 5: + num = ((!_206E_202B_202E_206B_200F_206C_200F_206D_200B_206C_200B_206F_202D_206E_206B_206E_202E_202E_202E_206F_200D_206B_206B_200D_200E_200E_206D_206A_206A_202E_206D_206D_206B_200B_206C_200E_206D_202E_200E_206E_202E(EqualityContract, other.EqualityContract)) ? (-1968311609) : (-1968311606)); + break; + case 1: + return true; + case 8: + num = -1968311608; + break; + case 4: + num = ((!EqualityComparer.Default.Equals(Enabled, other.Enabled)) ? (-1968311609) : (-1968311607)); + break; + } + } + } + + bool IEquatable.Equals(DutyEntry? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _206B_202C_206A_206B_202E_206D_200D_202A_202C_206E_202D_202D_202C_200E_200B_202D_206E_202A_206D_200B_202A_206F_202A_202A_200E_202D_202A_206A_206E_202A_202A_200C_200F_200E_206B_202B_200E_200E_202C_200E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder? _200B_200E_206C_206A_200E_202C_202E_206B_206D_202B_200C_200E_206D_202A_200D_202A_200B_206E_206E_202D_200E_202C_206B_200E_202A_206E_206E_206E_200B_200C_202D_206B_202A_202B_200B_202E_200D_200F_202A_202E_202E() + { + return new StringBuilder(); + } + + static StringBuilder? _202B_200C_206C_206B_206A_206A_200C_200B_206B_202E_202D_202D_206B_206A_200F_200F_202E_200B_202B_206A_200E_206D_206B_206D_202E_202D_206D_202E_206B_206C_206A_206F_200B_206D_202D_206F_206B_206B_206C_206B_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _206F_202D_202E_206D_200F_200B_206A_202E_200B_200C_206B_202C_202D_200F_206A_206A_200C_200B_202D_200C_202D_206F_202E_200D_200C_202E_206B_200F_202A_200E_206B_206A_202E_202D_200F_206C_202E_202E_202A_200F_202E(StringBuilder? P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string? _206A_200C_200D_206B_206D_202D_200C_200F_200F_202C_206C_202C_200E_206C_202B_206E_200B_202A_206B_200C_206C_206B_206C_206D_206E_202C_206B_202B_206C_206A_206C_206F_206F_206C_206A_200B_200E_206B_200F_206C_202E(object? P_0) + { + return P_0.ToString(); + } + + static void _202C_200E_200F_200D_202B_206B_206D_202A_202D_202A_202E_202A_202D_206C_206C_202A_206D_200F_206D_206B_202A_206A_206E_206B_206A_202E_202B_206C_202C_202D_206D_200F_202D_206C_200D_200B_200F_200F_206C_200E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _200F_200C_200E_202A_200D_206C_202D_200B_202E_206F_206B_202B_202D_206C_206F_202C_206E_202A_202E_200F_202E_200C_202B_202B_202B_206F_200C_206B_206E_206C_206E_206E_200D_200B_206D_206B_206E_202B_200F_202A_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _206E_202B_202E_206B_200F_206C_200F_206D_200B_206C_200B_206F_202D_206E_206B_206E_202E_202E_202E_206F_200D_206B_206B_200D_200E_200E_206D_206A_206A_202E_206D_206D_206B_200B_206C_200E_206D_202E_200E_206E_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Data/DutyInfo.cs b/Questionable/Questionable.Data/DutyInfo.cs index b37e13ed..ebfe83f0 100644 --- a/Questionable/Questionable.Data/DutyInfo.cs +++ b/Questionable/Questionable.Data/DutyInfo.cs @@ -1,4 +1,8 @@ +using System; +using System.Collections.Generic; using System.Collections.Immutable; +using System.Runtime.CompilerServices; +using System.Text; using FFXIVClientStructs.FFXIV.Client.Game.UI; using Questionable.Model.Questing; @@ -6,17 +10,211 @@ namespace Questionable.Data; public sealed record DutyInfo(uint ContentFinderConditionId, uint ContentId, string Name, uint ContentTypeId, string ContentTypeName, ushort Level, ushort ItemLevel, ImmutableList UnlockQuests, bool IsHighEndDuty, EDutyCategory DutyCategory) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200E_206E_206D_206C_206E_202C_206A_200C_202D_206A_202E_206B_206F_202E_202E_206C_206F_202D_200E_206A_200F_202D_202D_206C_202A_202B_200B_206E_202A_200D_200D_200B_202A_200E_200E_206A_202E_206C_202A_202E(typeof(DutyInfo).TypeHandle); + } + } + public bool IsUnlocked => UIState.IsInstanceContentUnlocked(ContentId); public bool? IsCompleted { get { - if (DutyCategory != EDutyCategory.DeepDungeon) + int num = ((DutyCategory == EDutyCategory.DeepDungeon) ? 1546922705 : 1546922706); + while (true) { - return UIState.IsInstanceContentCompleted((ushort)ContentId); + int num2 = num; + int num3 = 1546922707; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004a; + case 1: + return UIState.IsInstanceContentCompleted((ushort)ContentId); + case 2: + return null; + } + continue; + IL_004a: + num = 1546922706; } - return null; } } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206A_202E_206F_206D_202A_200E_200B_206C_206B_202D_206E_202A_200E_202E_202A_206A_200F_202A_202A_200E_200E_206B_206D_200E_206E_206B_206E_200D_202C_200D_206B_200B_200B_206A_200B_206A_206C_200E_206B_200D_202E(); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(stringBuilder, global::_003CModule_003E._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(1059308005)); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? 2048669009 : 2048669008); + while (true) + { + int num2 = num; + int num3 = 2048669009; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _202B_202E_202E_200F_202B_202B_206B_200C_202C_206F_206E_206C_202B_206E_200C_202E_200B_202E_200F_202D_200C_206B_206B_206E_206F_202C_200F_206B_202B_202A_206A_202B_202E_206A_200B_202A_202C_202C_200E_202B_202E(stringBuilder, '}'); + return _202A_206B_200B_200C_200C_200C_200C_206B_206E_206D_202C_206F_200D_202B_200B_206C_202A_202B_206D_200F_202A_206C_202C_206B_206D_200C_206B_202C_206D_202C_206A_200F_200E_206D_202B_200E_206B_206D_206C_200E_202E((object)stringBuilder); + case 1: + _202B_202E_202E_200F_202B_202B_206B_200C_202C_206F_206E_206C_202B_206E_200C_202E_200B_202E_200F_202D_200C_206B_206B_206E_206F_202C_200F_206B_202B_202A_206A_202B_202E_206A_200B_202A_202C_202C_200E_202B_202E(stringBuilder, ' '); + num = 2048669009; + break; + case 2: + num = 2048669008; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202A_200E_202D_200F_200E_206A_202E_206B_200D_200E_206A_200E_200D_206A_206A_206E_200B_200F_200B_202A_206D_206F_206C_200D_202E_206E_200F_206F_202D_202C_202E_200C_202C_200D_200F_202E_202A_206A_202D_202E_202E(); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, global::_003CModule_003E._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(-532733746)); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, ContentFinderConditionId.ToString()); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, global::_003CModule_003E._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(1527461254)); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, ContentId.ToString()); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, global::_003CModule_003E._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(-838515035)); + _202E_206A_206C_202C_206B_206C_200C_206B_202D_202C_200C_202D_200F_202E_202E_202B_202B_206E_206C_202B_206C_206D_202B_200D_200C_206C_206A_206B_200F_202B_206A_206A_206D_202E_206B_206C_206A_202E_202D_202A_202E(builder, (object)Name); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, global::_003CModule_003E._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(1858187040)); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, ContentTypeId.ToString()); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, global::_003CModule_003E._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(-50463825)); + _202E_206A_206C_202C_206B_206C_200C_206B_202D_202C_200C_202D_200F_202E_202E_202B_202B_206E_206C_202B_206C_206D_202B_200D_200C_206C_206A_206B_200F_202B_206A_206A_206D_202E_206B_206C_206A_202E_202D_202A_202E(builder, (object)ContentTypeName); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, global::_003CModule_003E._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(2059092762)); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, Level.ToString()); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, global::_003CModule_003E._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(296851361)); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, ItemLevel.ToString()); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, global::_003CModule_003E._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(-969668761)); + _202E_206A_206C_202C_206B_206C_200C_206B_202D_202C_200C_202D_200F_202E_202E_202B_202B_206E_206C_202B_206C_206D_202B_200D_200C_206C_206A_206B_200F_202B_206A_206A_206D_202E_206B_206C_206A_202E_202D_202A_202E(builder, (object)UnlockQuests); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, global::_003CModule_003E._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(117454616)); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, IsHighEndDuty.ToString()); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, global::_003CModule_003E._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(567514760)); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, DutyCategory.ToString()); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, global::_003CModule_003E._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(-728741772)); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, IsUnlocked.ToString()); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, global::_003CModule_003E._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(1427571993)); + _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(builder, IsCompleted.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(DutyInfo? other) + { + int num = (((object)this == other) ? (-489118801) : (-489118809)); + while (true) + { + int num2 = num; + int num3 = -489118804; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + num = ((!EqualityComparer.Default.Equals(ContentTypeId, other.ContentTypeId)) ? (-489118815) : (-489118816)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(Level, other.Level)) ? (-489118815) : (-489118810)); + break; + case 13: + return false; + case 12: + num = ((!EqualityComparer.Default.Equals(ContentTypeName, other.ContentTypeName)) ? (-489118815) : (-489118806)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(ContentFinderConditionId, other.ContentFinderConditionId)) ? (-489118815) : (-489118802)); + break; + case 9: + num = ((!_200B_206E_206F_200E_206F_202A_200D_200C_206C_206E_206B_200C_200C_206A_206B_202A_206E_202D_200B_202E_202B_200E_206B_200D_202D_206C_202C_206C_206C_202A_200F_202E_202C_200C_202A_200F_200D_200B_206C_206C_202E(EqualityContract, other.EqualityContract)) ? (-489118815) : (-489118803)); + break; + case 10: + num = ((!EqualityComparer.Default.Equals(ItemLevel, other.ItemLevel)) ? (-489118815) : (-489118805)); + break; + case 11: + num = (((object)other == null) ? (-489118815) : (-489118811)); + break; + case 3: + return true; + case 5: + num = -489118809; + break; + case 0: + num = ((!EqualityComparer.Default.Equals(Name, other.Name)) ? (-489118815) : (-489118812)); + break; + case 14: + num = ((!EqualityComparer.Default.Equals(IsHighEndDuty, other.IsHighEndDuty)) ? (-489118815) : (-489118808)); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(ContentId, other.ContentId)) ? (-489118815) : (-489118804)); + break; + case 4: + return EqualityComparer.Default.Equals(DutyCategory, other.DutyCategory); + case 7: + num = ((!EqualityComparer>.Default.Equals(UnlockQuests, other.UnlockQuests)) ? (-489118815) : (-489118814)); + break; + } + } + } + + bool IEquatable.Equals(DutyInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200E_206E_206D_206C_206E_202C_206A_200C_202D_206A_202E_206B_206F_202E_202E_206C_206F_202D_200E_206A_200F_202D_202D_206C_202A_202B_200B_206E_202A_200D_200D_200B_202A_200E_200E_206A_202E_206C_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206A_202E_206F_206D_202A_200E_200B_206C_206B_202D_206E_202A_200E_202E_202A_206A_200F_202A_202A_200E_200E_206B_206D_200E_206E_206B_206E_200D_202C_200D_206B_200B_200B_206A_200B_206A_206C_200E_206B_200D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206F_200F_200E_202A_200C_202A_206C_206B_202B_206B_206C_206C_202D_200D_202C_206D_206D_202D_206F_202B_202C_206E_200B_202E_200E_206C_206C_202D_200C_200E_202E_202B_206C_200D_202D_206A_202D_206B_202D_206B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202B_202E_202E_200F_202B_202B_206B_200C_202C_206F_206E_206C_202B_206E_200C_202E_200B_202E_200F_202D_200C_206B_206B_206E_206F_202C_200F_206B_202B_202A_206A_202B_202E_206A_200B_202A_202C_202C_200E_202B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202A_206B_200B_200C_200C_200C_200C_206B_206E_206D_202C_206F_200D_202B_200B_206C_202A_202B_206D_200F_202A_206C_202C_206B_206D_200C_206B_202C_206D_202C_206A_200F_200E_206D_202B_200E_206B_206D_206C_200E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202A_200E_202D_200F_200E_206A_202E_206B_200D_200E_206A_200E_200D_206A_206A_206E_200B_200F_200B_202A_206D_206F_206C_200D_202E_206E_200F_206F_202D_202C_202E_200C_202C_200D_200F_202E_202A_206A_202D_202E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202E_206A_206C_202C_206B_206C_200C_206B_202D_202C_200C_202D_200F_202E_202E_202B_202B_206E_206C_202B_206C_206D_202B_200D_200C_206C_206A_206B_200F_202B_206A_206A_206D_202E_206B_206C_206A_202E_202D_202A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200B_206E_206F_200E_206F_202A_200D_200C_206C_206E_206B_200C_200C_206A_206B_202A_206E_202D_200B_202E_202B_200E_206B_200D_202D_206C_202C_206C_206C_202A_200F_202E_202C_200C_202A_200F_200D_200B_206C_206C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } } diff --git a/Questionable/Questionable.Data/DutyRegistry.cs b/Questionable/Questionable.Data/DutyRegistry.cs new file mode 100644 index 00000000..5e7cc713 --- /dev/null +++ b/Questionable/Questionable.Data/DutyRegistry.cs @@ -0,0 +1,1364 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using Questionable.Model.Questing; + +namespace Questionable.Data; + +internal static class DutyRegistry +{ + public static readonly Dictionary Duties; + + public static readonly Dictionary SinglePlayerDuties; + + [MethodImpl(MethodImplOptions.NoInlining)] + 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] { global::_003CModule_003E._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(-740056138) }; + dictionary[6u] = new DutyEntry(Enabled: false, null, LowPriority: false, null, null, notes); + notes = new string[1] { global::_003CModule_003E._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(500792075) }; + 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] + { + global::_003CModule_003E._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(-321137558), + global::_003CModule_003E._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(1525766035) + }; + 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, global::_003CModule_003E._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(-849445722), null); + dictionary[168u] = new DutyEntry(false, null, false, null, null); + dictionary[169u] = new DutyEntry(false, null, false, null, null); + dictionary[171u] = new DutyEntry(Enabled: false, Notes: new string[2] + { + global::_003CModule_003E._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(-97471851), + global::_003CModule_003E._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(-1463285387) + }, DutyMode: null, LowPriority: false, TestedAutoDutyVersion: global::_003CModule_003E._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(544130609), TestedBossModVersion: global::_003CModule_003E._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(-1688701408)); + notes = new string[2] + { + global::_003CModule_003E._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(606315529), + global::_003CModule_003E._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(16182373) + }; + 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] + { + global::_003CModule_003E._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(-1573536567), + global::_003CModule_003E._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(-595104119) + }; + 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] { global::_003CModule_003E._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(1940255737) }; + 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] { global::_003CModule_003E._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(-719778432) }; + 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] { global::_003CModule_003E._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(-159916004) }; + 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] { global::_003CModule_003E._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(-2114799360) }; + 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] { global::_003CModule_003E._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(-159916004) }; + dictionary[995u] = new DutyEntry(Enabled: false, null, LowPriority: false, null, null, notes); + notes = new string[2] + { + global::_003CModule_003E._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(1305406828), + global::_003CModule_003E._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(586601640) + }; + 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, global::_003CModule_003E._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(-207523551), global::_003CModule_003E._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(-2137277187)); + 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, global::_003CModule_003E._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(399731535)), + new SinglePlayerDutyEntry(true, 1, global::_003CModule_003E._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(-139715764)) + }, + [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, global::_003CModule_003E._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(1819257689), global::_003CModule_003E._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(1985319516), global::_003CModule_003E._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(1068534247)) + }, + [91] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(492644870)) + }, + [92] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(492644870)) + }, + [126] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(-62065112), global::_003CModule_003E._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(278409112), global::_003CModule_003E._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(-1377475822), global::_003CModule_003E._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(-1492222972), global::_003CModule_003E._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(-123202390)) + }, + [129] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-1228756590)) + }, + [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, global::_003CModule_003E._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(1740594943)) + }, + [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, global::_003CModule_003E._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(-62065112), global::_003CModule_003E._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(1502595228)) + }, + [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, global::_003CModule_003E._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(-427164286)) + }, + [288] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [313] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-104173425)) + }, + [317] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-104173425)) + }, + [318] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-541438926)) + }, + [319] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-1507724262)) + }, + [320] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1819257689)) + }, + [336] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1819257689)) + }, + [343] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-62065112)) + }, + [350] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(399731535), global::_003CModule_003E._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(-1050531972), global::_003CModule_003E._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(1049973291)) + }, + [351] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(399731535), global::_003CModule_003E._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(-1674476193)) + }, + [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, global::_003CModule_003E._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(492644870), global::_003CModule_003E._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(1196358840)) + }, + [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, global::_003CModule_003E._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(-1228756590), global::_003CModule_003E._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(-2033549770)) + }, + [447] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(492644870), global::_003CModule_003E._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(2048480598)) + }, + [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, global::_003CModule_003E._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(492644870)) + }, + [521] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(179053243), global::_003CModule_003E._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(-2115291333)) + }, + [543] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(9507588)) + }, + [544] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(492644870), global::_003CModule_003E._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(-1886068424)) + }, + [550] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1740594943)) + }, + [551] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1740594943), global::_003CModule_003E._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(1046490574)) + }, + [558] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1819257689)) + }, + [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, global::_003CModule_003E._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(1819257689)) + }, + [601] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1740594943)) + }, + [660] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1819257689)) + }, + [680] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-62065112)) + }, + [681] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1819257689)) + }, + [682] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1819257689)) + }, + [724] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-1228756590)) + }, + [782] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-1507724262)) + }, + [811] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(179053243)) + }, + [912] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-104173425)) + }, + [941] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(695907609)) + }, + [967] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-541438926)) + }, + [983] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(179053243)) + }, + [1004] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-1507724262)) + }, + [1005] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(695907609)) + }, + [1049] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(179053243)) + }, + [1054] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(492644870)) + }, + [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, global::_003CModule_003E._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(-2088283823)) + }, + [1090] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-2088283823)) + }, + [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, global::_003CModule_003E._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(492644870)) + }, + [1588] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-1228756590)) + }, + [1595] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-62065112)) + }, + [1597] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-62065112)) + }, + [1601] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1819257689), global::_003CModule_003E._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(-1282455856)) + }, + [1606] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(492644870)) + }, + [1639] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1819257689)) + }, + [1644] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-62065112)) + }, + [1657] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-1228756590)) + }, + [1667] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-62065112)) + }, + [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, global::_003CModule_003E._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(695907609)) + }, + [2239] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-541438926)) + }, + [2288] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [2349] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(695907609)) + }, + [2358] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(-104173425), global::_003CModule_003E._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(-738477960)) + }, + [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, global::_003CModule_003E._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(695907609)) + }, + [2463] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-541438926)) + }, + [2474] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-104173425)) + }, + [2498] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(179053243)) + }, + [2515] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(179053243)) + }, + [2528] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-104173425)) + }, + [2549] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(179053243), global::_003CModule_003E._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(1665199650)) + }, + [2550] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(179053243), global::_003CModule_003E._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(1687734342)) + }, + [2552] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-541438926)) + }, + [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, global::_003CModule_003E._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(-1507724262)) + }, + [2904] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(179053243), global::_003CModule_003E._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(1112300028)) + }, + [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, global::_003CModule_003E._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(-541438926)) + }, + [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, global::_003CModule_003E._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(-104173425)) + }, + [3027] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-1507724262)) + }, + [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, global::_003CModule_003E._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(179053243)) + }, + [3147] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(179053243), global::_003CModule_003E._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(-1066548368)) + }, + [3185] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null, global::_003CModule_003E._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(1512696108), global::_003CModule_003E._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(-1699214654), global::_003CModule_003E._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(474464200), global::_003CModule_003E._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(-732560237)) + }, + [3247] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(-104173425), global::_003CModule_003E._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(-1689685354)) + }, + [3248] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-378223677)) + }, + [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, global::_003CModule_003E._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(695907609), global::_003CModule_003E._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(-504820768)) + }, + [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, global::_003CModule_003E._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(179053243)) + }, + [3337] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(695907609), global::_003CModule_003E._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(-426707018)) + }, + [3606] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(-541438926), global::_003CModule_003E._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(-823110227), global::_003CModule_003E._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(-561511620), global::_003CModule_003E._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(961342529)) + }, + [3619] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(179053243), global::_003CModule_003E._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(-592715493)) + }, + [3626] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-1507724262), global::_003CModule_003E._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(391489563)) + }, + [3628] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(179053243)) + }, + [3631] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3638] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-1507724262)) + }, + [3682] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(-62065112), global::_003CModule_003E._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(-2033092502), global::_003CModule_003E._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(-855102905), global::_003CModule_003E._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(1912720202), global::_003CModule_003E._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(-1937006399)) + }, + [3687] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3765] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(1740594943), global::_003CModule_003E._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(408292549)) + }, + [3775] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(492644870), global::_003CModule_003E._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(-1554639648), global::_003CModule_003E._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(-1362106919)) + }, + [3836] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [3862] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-62065112), global::_003CModule_003E._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(306455426)) + }, + [3895] = new SinglePlayerDutyEntry[2] + { + new SinglePlayerDutyEntry(false, 0, null), + new SinglePlayerDutyEntry(false, 1, null) + }, + [4015] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(492644870)) + }, + [4066] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(1424932868), global::_003CModule_003E._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(-740671790), global::_003CModule_003E._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(-1395739987), global::_003CModule_003E._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(-1988843156)) + }, + [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, global::_003CModule_003E._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(-541438926), global::_003CModule_003E._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(1083592363), global::_003CModule_003E._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(539323923), global::_003CModule_003E._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(-1952404066), global::_003CModule_003E._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(1440468780), global::_003CModule_003E._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(-1191513629), global::_003CModule_003E._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(1317667646)) + }, + [4113] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(-313483273), global::_003CModule_003E._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(507533013), global::_003CModule_003E._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(-222950458)) + }, + [4119] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(1246901539), global::_003CModule_003E._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(1293492283), global::_003CModule_003E._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(-995509957), global::_003CModule_003E._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(112897989)) + }, + [4125] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4131] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(-1362434901), global::_003CModule_003E._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(-194717797), global::_003CModule_003E._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(-672969886), global::_003CModule_003E._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(1562193806), global::_003CModule_003E._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(-766926656)) + }, + [4383] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(568429296), global::_003CModule_003E._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(1388128744)) + }, + [4394] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null, global::_003CModule_003E._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(1391683818), global::_003CModule_003E._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(96288699), global::_003CModule_003E._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(2014328831), global::_003CModule_003E._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(1030773571)) + }, + [4432] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1666848730)) + }, + [4439] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(735706993)) + }, + [4464] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-1612100416)) + }, + [4521] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1740594943)) + }, + [4522] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1819257689)) + }, + [4582] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(-2088283823), global::_003CModule_003E._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(435284212), global::_003CModule_003E._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(1047030739)) + }, + [4591] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(1408328984), global::_003CModule_003E._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(-1006327605), global::_003CModule_003E._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(-1624825631)) + }, + [4594] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(774825335)) + }, + [4673] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(774825335)) + }, + [4719] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [4752] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(1666848730), global::_003CModule_003E._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(-1591985792), global::_003CModule_003E._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(1003729366)) + }, + [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, global::_003CModule_003E._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(774825335)) + }, + [4902] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(1666848730)) + }, + [4908] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-1612100416)) + }, + [4942] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(1666848730), global::_003CModule_003E._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(471673267)) + }, + [5191] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, null) + }, + [5249] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(-1552037139), global::_003CModule_003E._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(-1193123208), global::_003CModule_003E._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(1894210756), global::_003CModule_003E._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(1009055232), global::_003CModule_003E._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(-976928829)) + }, + [5325] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(true, 0, global::_003CModule_003E._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(-663552401), global::_003CModule_003E._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(-262818980)) + }, + [5433] = new SinglePlayerDutyEntry[1] + { + new SinglePlayerDutyEntry(false, 0, global::_003CModule_003E._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(-1397051405), global::_003CModule_003E._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(1325512167)) + } + }; + } +} diff --git a/Questionable/Questionable.Data/DutyUnlockData.cs b/Questionable/Questionable.Data/DutyUnlockData.cs index edee09dc..2f28d88a 100644 --- a/Questionable/Questionable.Data/DutyUnlockData.cs +++ b/Questionable/Questionable.Data/DutyUnlockData.cs @@ -1,17 +1,21 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; +using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; +using System.Runtime.CompilerServices; using Dalamud.Game; +using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin.Services; using Dalamud.Utility; using FFXIVClientStructs.FFXIV.Client.Game.UI; using Lumina.Excel; using Lumina.Excel.Sheets; +using Lumina.Text.ReadOnly; using Microsoft.Extensions.Logging; -using Questionable.Model; using Questionable.Model.Questing; namespace Questionable.Data; @@ -54,6 +58,230 @@ internal sealed class DutyUnlockData public const byte Alliance = 4; } + [CompilerGenerated] + private sealed class _003CGetDutiesUnlockedByQuest_003Ed__30 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private DutyInfo _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public DutyUnlockData _003C_003E4__this; + + private QuestId questId; + + public QuestId _003C_003E3__questId; + + private ImmutableList.Enumerator _003C_003E7__wrap1; + + DutyInfo IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CGetDutiesUnlockedByQuest_003Ed__30(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _200F_200B_202A_202A_206B_202C_200C_206A_200B_206B_206E_202B_206C_206A_202E_200C_202E_206B_200F_202E_206F_200B_200C_202B_206B_200B_200B_206B_202A_200D_200E_206B_206E_202D_202E_206F_202A_206E_202D_206E_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? 1836799872 : 1836799875); + while (true) + { + int num3 = num2; + int num4 = 1836799874; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 0: + num2 = 1836799875; + continue; + case 1: + if (num == 1) + { + num2 = 1836799872; + continue; + } + break; + case 2: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = default(ImmutableList.Enumerator); + _003C_003E1__state = -2; + } + + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + DutyUnlockData dutyUnlockData = _003C_003E4__this; + int num2 = ((num == 0) ? (-1847566198) : (-1847566200)); + ImmutableList value2 = default(ImmutableList); + DutyInfo value = default(DutyInfo); + while (true) + { + int num3 = num2; + int num4 = -1847566194; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 1: + return false; + case 4: + _003C_003E1__state = -1; + num2 = ((!dutyUnlockData._questToDuties.TryGetValue(questId, out value2)) ? (-1847566197) : (-1847566196)); + break; + case 0: + num2 = -1847566200; + break; + case 7: + _003C_003E1__state = -3; + num2 = -1847566201; + break; + case 2: + _003C_003E7__wrap1 = value2.GetEnumerator(); + _003C_003E1__state = -3; + num2 = -1847566201; + break; + case 6: + num2 = ((num == 1) ? (-1847566199) : (-1847566193)); + break; + case 10: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = default(ImmutableList.Enumerator); + num2 = -1847566197; + break; + case 3: + _003C_003E2__current = value; + _003C_003E1__state = 1; + return true; + case 9: + num2 = (_003C_003E7__wrap1.MoveNext() ? (-1847566202) : (-1847566204)); + break; + case 8: + { + uint current = _003C_003E7__wrap1.Current; + num2 = ((!dutyUnlockData._duties.TryGetValue(current, out value)) ? (-1847566201) : (-1847566195)); + break; + } + case 5: + return false; + } + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + ((IDisposable)_003C_003E7__wrap1/*cast due to .constrained prefix*/).Dispose(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _200E_202E_206F_200C_200B_200F_200E_206C_206C_200B_202A_200B_202D_200C_200B_206C_202C_206E_200E_202A_200F_206A_202C_206F_206C_206B_206D_206D_200D_202B_202C_200F_200B_206C_200E_206E_200B_206E_206C_202D_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 240060194 : 240060192); + _003CGetDutiesUnlockedByQuest_003Ed__30 _003CGetDutiesUnlockedByQuest_003Ed__ = default(_003CGetDutiesUnlockedByQuest_003Ed__30); + while (true) + { + int num2 = num; + int num3 = 240060194; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + _003CGetDutiesUnlockedByQuest_003Ed__.questId = _003C_003E3__questId; + return _003CGetDutiesUnlockedByQuest_003Ed__; + case 0: + _003CGetDutiesUnlockedByQuest_003Ed__ = new _003CGetDutiesUnlockedByQuest_003Ed__30(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = 240060193; + break; + case 1: + _003C_003E1__state = 0; + _003CGetDutiesUnlockedByQuest_003Ed__ = this; + num = 240060193; + break; + case 2: + num = ((_003C_003El__initialThreadId != _200F_200B_202A_202A_206B_202C_200C_206A_200B_206B_206E_202B_206C_206A_202E_200C_202E_206B_200F_202E_206F_200B_200C_202B_206B_200B_200B_206B_202A_200D_200E_206B_206E_202D_202E_206F_202A_206E_202D_206E_202E()) ? 240060194 : 240060195); + break; + case 4: + num = 240060192; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _200F_200B_202A_202A_206B_202C_200C_206A_200B_206B_206E_202B_206C_206A_202E_200C_202E_206B_200F_202E_206F_200B_200C_202B_206B_200B_200B_206B_202A_200D_200E_206B_206E_202D_202E_206F_202A_206E_202D_206E_202E() + { + return Environment.CurrentManagedThreadId; + } + + static NotSupportedException _200E_202E_206F_200C_200B_200F_200E_206C_206C_200B_202A_200B_202D_200C_200B_206C_202C_206E_200E_202A_200F_206A_202C_206F_206C_206B_206D_206D_200D_202B_202C_200F_200B_206C_200E_206E_200B_206E_206C_202D_202E() + { + return new NotSupportedException(); + } + } + private readonly ImmutableDictionary _duties; private readonly ImmutableDictionary> _questToDuties; @@ -62,171 +290,396 @@ internal sealed class DutyUnlockData private readonly ILogger _logger; + [MethodImpl(MethodImplOptions.NoInlining)] public DutyUnlockData(IDataManager dataManager, ILogger logger) { _logger = logger; ExcelSheet excelSheet = dataManager.GetExcelSheet(); - ExcelSheet excelSheet2 = dataManager.GetExcelSheet(); - ImmutableDictionary immutableDictionary = (from c in excelSheet - where c.RowId != 0 && c.Content.RowId != 0 && c.ContentLinkType == 1 + ExcelSheet excelSheet2 = dataManager.GetExcelSheet(); + ImmutableDictionary immutableDictionary = (from c in excelSheet.Where(delegate(ContentFinderCondition c) + { + int num3 = ((c.RowId == 0) ? 1025245727 : 1025245725); + while (true) + { + int num4 = num3; + int num5 = 1025245727; + int num6 = num4; + switch ((num6 | num5) - (num6 & num5)) + { + case 3: + num3 = 1025245725; + break; + case 2: + num3 = ((c.Content.RowId == 0) ? 1025245727 : 1025245726); + break; + case 0: + return false; + case 1: + return 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)) + IEnumerator enumerator = excelSheet2.Where((Quest q) => q.RowId != 0).GetEnumerator(); + try { - uint rowId = item.InstanceContentUnlock.RowId; - if (rowId != 0 && immutableDictionary.TryGetValue(rowId, out var value)) + while (_202D_202A_202C_202E_200B_200F_206B_202D_200C_202A_206C_206B_202E_202B_200B_206A_200D_206C_206C_200C_202E_206E_206B_206A_200B_200C_200C_202D_206E_206C_202C_206A_202B_202A_202E_202B_200E_202D_200C_200C_202E((IEnumerator)enumerator)) { - QuestId questId = QuestId.FromRowId(item.RowId); - if (!dictionary.ContainsKey(questId)) + Quest current = enumerator.Current; + uint rowId = current.InstanceContentUnlock.RowId; + if (rowId != 0 && immutableDictionary.TryGetValue(rowId, out var value)) { - dictionary[questId] = new List(); + QuestId questId = _206F_206A_206B_200D_202D_206F_206C_206A_206E_200F_202A_202D_200F_200E_206F_206C_202E_206E_200B_206A_206C_206A_202D_200F_200F_200B_200E_202A_200D_200F_206B_202E_202D_206F_206D_200D_206C_200B_206F_206C_202E(current.RowId); + if (!dictionary.ContainsKey(questId)) + { + dictionary[questId] = new List(); + } + dictionary[questId].Add(value); + if (!dictionary2.ContainsKey(value)) + { + dictionary2[value] = new List(); + } + dictionary2[value].Add(questId); } - dictionary[questId].Add(value); - if (!dictionary2.ContainsKey(value)) - { - dictionary2[value] = new List(); - } - dictionary2[value].Add(questId); + } + } + finally + { + if (enumerator != null) + { + _206E_206D_206E_202E_202C_202E_202B_206F_206F_200C_200B_206B_206E_206C_200B_206B_202B_206D_202C_200E_202B_202A_202E_200B_200F_202C_202B_206A_200F_202B_200F_206A_206D_202D_200F_202B_206A_206D_206F_206C_202E((IDisposable)enumerator); } } _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(); - foreach (ContentFinderCondition item2 in excelSheet.Where((ContentFinderCondition x) => x.RowId != 0 && x.Content.RowId != 0)) + ExcelSheet excelSheet3 = dataManager.GetExcelSheet(ClientLanguage.English); + IEnumerator enumerator2 = excelSheet.Where(delegate(ContentFinderCondition x) { - if (item2.ContentLinkType != 1) + int num3 = ((x.RowId == 0) ? (-494713515) : (-494713514)); + while (true) { - continue; - } - ContentType? valueNullable = item2.ContentType.ValueNullable; - if (!valueNullable.HasValue) - { - continue; - } - uint rowId2 = valueNullable.Value.RowId; - if (rowId2 - 6 <= 1) - { - continue; - } - string text = FixName(item2.Name.ToDalamudString().ToString(), dataManager.Language); - if (!string.IsNullOrWhiteSpace(text) && !IsExcludedContent(text, item2.RowId)) - { - 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); - if (eDutyCategory.HasValue) + int num4 = num3; + int num5 = -494713516; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) { - 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); - dictionary3[item2.RowId] = value3; + case 0: + goto IL_004a; + case 2: + return x.Content.RowId != 0; + case 1: + return false; + } + continue; + IL_004a: + num3 = -494713514; + } + }).GetEnumerator(); + try + { + while (_202D_202A_202C_202E_200B_200F_206B_202D_200C_202A_206C_206B_202E_202B_200B_206A_200D_206C_206C_200C_202E_206E_206B_206A_200B_200C_200C_202D_206E_206C_202C_206A_202B_202A_202E_202B_200E_202D_200C_200C_202E((IEnumerator)enumerator2)) + { + ContentFinderCondition current2 = enumerator2.Current; + if (current2.ContentLinkType != 1) + { + continue; + } + ContentType? valueNullable = current2.ContentType.ValueNullable; + if (!valueNullable.HasValue) + { + continue; + } + uint rowId2 = valueNullable.Value.RowId; + int num = 6; + int num2 = (int)rowId2; + if ((uint)(~(~num2 + num)) <= 1u) + { + continue; + } + string text = FixName(_200B_202B_202C_202C_202A_206D_206A_200E_206D_206F_206B_200D_202D_206F_202D_206E_202A_202B_200C_202A_200D_202D_206F_200B_206F_200F_206D_206D_202E_206C_200C_202E_206E_200C_202C_200F_206B_200C_206B_206B_202E((object)_202A_200C_200E_200E_202A_206B_200E_200D_200B_200F_200C_202A_200E_202C_206D_206C_206E_200F_206C_206B_202D_202D_200F_206A_206C_206C_206F_202B_206C_200E_206A_206E_202D_200F_200C_206B_206A_202D_200D_202E_202E(current2.Name)), _202E_200C_206B_200F_200B_200B_200B_200E_206F_200F_202E_206F_206D_206F_200C_200B_202C_206D_200F_202D_206B_200C_200E_202D_202C_202B_202A_200B_202E_202A_200D_206A_200E_202A_200C_206D_200C_206D_206F_200C_202E(dataManager)); + if (!_202D_206F_206E_206F_206C_206C_206A_206E_202B_206D_200C_202E_206C_200F_200E_200B_200E_200F_200F_200F_206E_206B_200E_206E_206D_206C_200F_206D_206E_206A_200B_206E_202C_206B_202C_206E_206C_200E_206A_202D_202E(text) && !IsExcludedContent(text, current2.RowId)) + { + List value2; + ImmutableList unlockQuests = (dictionary2.TryGetValue(current2.RowId, out value2) ? value2.ToImmutableList() : ImmutableList.Empty); + uint rowId3 = current2.ContentMemberType.RowId; + ContentFinderCondition? rowOrDefault = excelSheet3.GetRowOrDefault(current2.RowId); + string name = (rowOrDefault.HasValue ? _200B_202B_202C_202C_202A_206D_206A_200E_206D_206F_206B_200D_202D_206F_202D_206E_202A_202B_200C_202A_200D_202D_206F_200B_206F_200F_206D_206D_202E_206C_200C_202E_206E_200C_202C_200F_206B_200C_206B_206B_202E((object)_202A_200C_200E_200E_202A_206B_200E_200D_200B_200F_200C_202A_200E_202C_206D_206C_206E_200F_206C_206B_202D_202D_200F_206A_206C_206C_206F_202B_206C_200E_206A_206E_202D_200F_200C_206B_206A_202D_200D_202E_202E(rowOrDefault.GetValueOrDefault().Name)) : null) ?? text; + EDutyCategory? eDutyCategory = DetermineDutyCategory(rowId2, name, current2.HighEndDuty, current2.RowId, (byte)rowId3, current2.ContentLinkType); + if (eDutyCategory.HasValue) + { + DutyInfo value3 = new DutyInfo(current2.RowId, current2.Content.RowId, text, rowId2, _200B_202B_202C_202C_202A_206D_206A_200E_206D_206F_206B_200D_202D_206F_202D_206E_202A_202B_200C_202A_200D_202D_206F_200B_206F_200F_206D_206D_202E_206C_200C_202E_206E_200C_202C_200F_206B_200C_206B_206B_202E((object)_202A_200C_200E_200E_202A_206B_200E_200D_200B_200F_200C_202A_200E_202C_206D_206C_206E_200F_206C_206B_202D_202D_200F_206A_206C_206C_206F_202B_206C_200E_206A_206E_202D_200F_200C_206B_206A_202D_200D_202E_202E(valueNullable.Value.Name)), current2.ClassJobLevelRequired, current2.ItemLevelRequired, unlockQuests, current2.HighEndDuty, eDutyCategory.Value); + dictionary3[current2.RowId] = value3; + } } } } + finally + { + if (enumerator2 != null) + { + _206E_206D_206E_202E_202C_202E_202B_206F_206F_200C_200B_206B_206E_206C_200B_206B_202B_206D_202C_200E_202B_202A_202E_200B_200F_202C_202B_206A_200F_202B_200F_206A_206D_202D_200F_202B_206A_206D_206F_206C_202E((IDisposable)enumerator2); + } + } _duties = dictionary3.ToImmutableDictionary(); - _logger.LogInformation("Loaded {DutyCount} duties with {QuestMappings} quest unlock mappings", _duties.Count, _questToDuties.Values.Sum((ImmutableList x) => x.Count)); + _206C_206C_206E_206B_206D_200D_206C_200B_206D_206F_206F_200D_202D_206C_200D_202C_206C_206F_202A_200F_202D_206F_206B_200C_202C_206A_206C_200F_200B_202E_206F_202A_202D_206C_200F_200E_206E_200C_206E_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-947520940), new object[2] + { + _duties.Count, + _questToDuties.Values.Sum((ImmutableList x) => x.Count) + }); } private static bool IsExcludedContent(string name, uint cfcId) { - if (cfcId - 69 <= 2) + int num = 69; + int num2 = (int)cfcId; + int num3 = (((uint)(~(~num2 + num)) > 2u) ? (-657110077) : (-657110076)); + bool flag = default(bool); + while (true) { - return true; + int num4 = num3; + num = -657110080; + num2 = num4; + switch ((num2 | num) - (num2 & num)) + { + case 2: + return true; + case 4: + flag = true; + num3 = -657110079; + break; + case 5: + return false; + case 1: + num3 = ((!flag) ? (-657110075) : (-657110078)); + break; + case 0: + num3 = -657110076; + break; + case 3: + flag = false; + num3 = -657110079; + break; + } } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] private static EDutyCategory? DetermineDutyCategory(uint contentTypeId, string name, bool isHighEndDuty, uint cfcId, byte contentMemberType, byte contentLinkType) { - if (name.EndsWith("(Chaotic)", StringComparison.OrdinalIgnoreCase)) + int num = ((!_206E_200B_202B_202A_202D_202C_200D_202A_206F_206D_202D_202E_200F_200F_206D_200C_206B_202D_200F_202D_200E_200F_206D_206A_200D_202E_202D_200C_200F_200D_206C_206A_206B_206D_206B_200F_202A_206C_202B_202C_202E(name, global::_003CModule_003E._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(-1946947024), StringComparison.OrdinalIgnoreCase)) ? 1981410498 : 1981410526); + while (true) { - return EDutyCategory.ChaoticAllianceRaid; - } - switch (contentTypeId) - { - case 2u: - if (name.EndsWith("(Hard)", StringComparison.OrdinalIgnoreCase)) - { - return EDutyCategory.HardDungeon; - } - return EDutyCategory.Dungeon; - case 3u: - return EDutyCategory.Guildhest; - case 4u: - if (name.EndsWith("(Unreal)", StringComparison.OrdinalIgnoreCase)) - { - return EDutyCategory.UnrealTrial; - } - if (name.EndsWith("(Extreme)", StringComparison.OrdinalIgnoreCase) || name.StartsWith("The Minstrel's Ballad:", StringComparison.OrdinalIgnoreCase) || isHighEndDuty) + int num2 = num; + int num3 = 1981410514; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) { + case 14: return EDutyCategory.ExtremeTrial; - } - if (name.EndsWith("(Hard)", StringComparison.OrdinalIgnoreCase)) - { + case 0: + return EDutyCategory.SavageRaid; + case 2: + num = ((!_206E_200B_202B_202A_202D_202C_200D_202A_206F_206D_202D_202E_200F_200F_206D_200C_206B_202D_200F_202D_200E_200F_206D_206A_200D_202E_202D_200C_200F_200D_206C_206A_206B_206D_206B_200F_202A_206C_202B_202C_202E(name, global::_003CModule_003E._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(-829560876), StringComparison.OrdinalIgnoreCase)) ? 1981410511 : 1981410523); + break; + case 4: + num = ((!_206B_206B_206D_202A_200E_200F_200C_200D_206D_202D_200D_202D_200F_206A_200C_200F_202E_206A_206B_206D_202B_200F_202E_202E_202C_206F_202C_202A_200F_202C_200C_202B_200E_200B_200D_200D_202B_202B_200B_202C_202E(name, global::_003CModule_003E._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(576666474), StringComparison.OrdinalIgnoreCase)) ? 1981410519 : 1981410505); + break; + case 38: + return EDutyCategory.NormalRaid; + case 42: + goto IL_0162; + case 32: + goto IL_016a; + case 13: + return EDutyCategory.UnrealTrial; + case 37: + goto IL_0179; + case 5: + return EDutyCategory.DeepDungeon; + case 31: + num = ((!isHighEndDuty) ? 1981410499 : 1981410516); + break; + case 9: + return EDutyCategory.HardDungeon; + case 18: + goto IL_01c0; + case 33: + return null; + case 22: + num = ((!(_206E_200B_202B_202A_202D_202C_200D_202A_206F_206D_202D_202E_200F_200F_206D_200C_206B_202D_200F_202D_200E_200F_206D_206A_200D_202E_202D_200C_200F_200D_206C_206A_206B_206D_206B_200F_202A_206C_202B_202C_202E(name, global::_003CModule_003E._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(-805469566), StringComparison.OrdinalIgnoreCase) || isHighEndDuty)) ? 1981410548 : 1981410517); + break; + case 26: + return EDutyCategory.CriterionSavage; + case 24: + return EDutyCategory.CriterionDungeon; + case 20: return EDutyCategory.HardTrial; - } - return EDutyCategory.Trial; - case 5u: - if (contentMemberType == 4) - { - if (isHighEndDuty) + case 15: + num = (_206E_200B_202B_202A_202D_202C_200D_202A_206F_206D_202D_202E_200F_200F_206D_200C_206B_202D_200F_202D_200E_200F_206D_206A_200D_202E_202D_200C_200F_200D_206C_206A_206B_206D_206B_200F_202A_206C_202B_202C_202E(name, global::_003CModule_003E._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(2100853888), StringComparison.OrdinalIgnoreCase) ? 1981410524 : 1981410521); + break; + case 29: + return EDutyCategory.Dungeon; + case 23: + num = ((!_206E_200B_202B_202A_202D_202C_200D_202A_206F_206D_202D_202E_200F_200F_206D_200C_206B_202D_200F_202D_200E_200F_206D_206A_200D_202E_202D_200C_200F_200D_206C_206A_206B_206D_206B_200F_202A_206C_202B_202C_202E(name, global::_003CModule_003E._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(2079680527), StringComparison.OrdinalIgnoreCase)) ? 1981410520 : 1981410502); + break; + case 3: + num3 = 21; + num4 = (int)contentTypeId; + switch (~(~num4 + num3)) + { + case 0: + break; + case 10: + goto IL_0162; + case 7: + goto IL_016a; + case 5: + goto IL_0179; + case 1: + case 2: + case 3: + case 4: + case 6: + goto IL_01c0; + default: + goto IL_02d5; + case 8: + case 9: + goto IL_0301; + } + goto case 4; + case 28: + num5 = (_206D_206D_200E_206C_206F_206B_206E_206A_202D_202A_206E_206E_206C_200D_206C_202C_206E_202C_206F_202B_200B_206B_200E_202E_200C_206E_200F_206C_200E_206C_200C_200C_202E_206B_200E_200E_200E_202A_202B_202B_202E(name, global::_003CModule_003E._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(1784613949), StringComparison.OrdinalIgnoreCase) ? 1 : 0); + goto IL_0335; + case 40: + goto IL_0301; + case 7: + return EDutyCategory.SavageRaid; + case 43: + num5 = 1; + goto IL_0335; + case 11: + num = ((!_206D_206D_200E_206C_206F_206B_206E_206A_202D_202A_206E_206E_206C_200D_206C_202C_206E_202C_206F_202B_200B_206B_200E_202E_200C_206E_200F_206C_200E_206C_200C_200C_202E_206B_200E_200E_200E_202A_202B_202B_202E(name, global::_003CModule_003E._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(-707311042), StringComparison.OrdinalIgnoreCase)) ? 1981410547 : 1981410524); + break; + case 25: + num = (_206E_200B_202B_202A_202D_202C_200D_202A_206F_206D_202D_202E_200F_200F_206D_200C_206B_202D_200F_202D_200E_200F_206D_206A_200D_202E_202D_200C_200F_200D_206C_206A_206B_206D_206B_200F_202A_206C_202B_202C_202E(name, global::_003CModule_003E._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(-1824697190), StringComparison.OrdinalIgnoreCase) ? 1981410553 : 1981410510); + break; + case 16: + num3 = 2; + num4 = (int)contentTypeId; + switch (~(~num4 + num3)) + { + case 0: + break; + default: + goto IL_03c8; + case 2: + goto IL_03db; + case 1: + goto IL_0407; + case 3: + goto IL_0425; + } + goto case 2; + case 12: + return EDutyCategory.ChaoticAllianceRaid; + case 8: + goto IL_03db; + case 36: + goto IL_0407; + case 21: + return EDutyCategory.ExtremeTrial; + case 27: + return EDutyCategory.QuantumBattle; + case 6: + return EDutyCategory.ChaoticAllianceRaid; + case 39: + goto IL_0425; + case 19: + num = 1981410526; + break; + case 30: + num = ((!_206D_206D_200E_206C_206F_206B_206E_206A_202D_202A_206E_206E_206C_200D_206C_202C_206E_202C_206F_202B_200B_206B_200E_202E_200C_206E_200F_206C_200E_206C_200C_200C_202E_206B_200E_200E_200E_202A_202B_202B_202E(name, global::_003CModule_003E._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(-85328213), StringComparison.OrdinalIgnoreCase)) ? 1981410555 : 1981410506); + break; + case 10: + return EDutyCategory.Trial; + case 1: + return EDutyCategory.AllianceRaid; + case 34: + num = 1981410496; + break; + case 17: + return EDutyCategory.AllianceRaid; + case 41: + return EDutyCategory.VariantDungeon; + case 35: { return EDutyCategory.ChaoticAllianceRaid; } - return EDutyCategory.AllianceRaid; - } - if (name.EndsWith("(Savage)", StringComparison.OrdinalIgnoreCase) || isHighEndDuty) - { - return EDutyCategory.SavageRaid; - } - return EDutyCategory.NormalRaid; - case 21u: - if (name.Contains("Quantum", StringComparison.OrdinalIgnoreCase)) - { - return EDutyCategory.QuantumBattle; - } - return EDutyCategory.DeepDungeon; - case 26u: - if (isHighEndDuty) - { - return EDutyCategory.ChaoticAllianceRaid; - } - return EDutyCategory.AllianceRaid; - case 28u: - return EDutyCategory.Ultimate; - case 29u: - case 30u: - if (name.EndsWith("(Savage)", StringComparison.OrdinalIgnoreCase)) - { + IL_0425: + num = ((contentMemberType != 4) ? 1981410500 : 1981410509); + break; + IL_0407: + return EDutyCategory.Guildhest; + IL_03db: + num = ((!_206E_200B_202B_202A_202D_202C_200D_202A_206F_206D_202D_202E_200F_200F_206D_200C_206B_202D_200F_202D_200E_200F_206D_206A_200D_202E_202D_200C_200F_200D_206C_206A_206B_206D_206B_200F_202A_206C_202B_202C_202E(name, global::_003CModule_003E._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(-1732316761), StringComparison.OrdinalIgnoreCase)) ? 1981410507 : 1981410527); + break; + IL_016a: + return EDutyCategory.Ultimate; + IL_03c8: + num = 1981410513; + break; + IL_01c0: + num = ((!_206E_200B_202B_202A_202D_202C_200D_202A_206F_206D_202D_202E_200F_200F_206D_200C_206B_202D_200F_202D_200E_200F_206D_206A_200D_202E_202D_200C_200F_200D_206C_206A_206B_206D_206B_200F_202A_206C_202B_202C_202E(name, global::_003CModule_003E._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(-805469566), StringComparison.OrdinalIgnoreCase)) ? 1981410525 : 1981410514); + break; + IL_0162: return EDutyCategory.CriterionSavage; + IL_0335: + num = ((((uint)num5 | (isHighEndDuty ? 1u : 0u)) == 0) ? 1981410501 : 1981410503); + break; + IL_0301: + num = ((!_206E_200B_202B_202A_202D_202C_200D_202A_206F_206D_202D_202E_200F_200F_206D_200C_206B_202D_200F_202D_200E_200F_206D_206A_200D_202E_202D_200C_200F_200D_206C_206A_206B_206D_206B_200F_202A_206C_202B_202C_202E(name, global::_003CModule_003E._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(-1526728021), StringComparison.OrdinalIgnoreCase)) ? 1981410508 : 1981410504); + break; + IL_02d5: + num = 1981410544; + break; + IL_0179: + num = ((!isHighEndDuty) ? 1981410515 : 1981410545); + break; } - if (name.StartsWith("Another", StringComparison.OrdinalIgnoreCase)) - { - return EDutyCategory.CriterionDungeon; - } - return EDutyCategory.VariantDungeon; - case 31u: - return EDutyCategory.CriterionSavage; - default: - if (name.EndsWith("(Savage)", StringComparison.OrdinalIgnoreCase)) - { - return EDutyCategory.SavageRaid; - } - if (name.EndsWith("(Extreme)", StringComparison.OrdinalIgnoreCase) || name.StartsWith("The Minstrel's Ballad:", StringComparison.OrdinalIgnoreCase)) - { - return EDutyCategory.ExtremeTrial; - } - return null; } } private static string FixName(string name, ClientLanguage language) { - if (string.IsNullOrEmpty(name) || language != ClientLanguage.English) + int num = (_200F_200C_202B_206C_200D_200B_200B_206C_206E_200F_200F_206D_200B_200B_200D_202C_202C_206F_206B_200F_200E_202A_206A_200D_202C_206A_202B_206B_200B_202C_200E_202B_202C_206B_202A_202D_200C_202C_206C_202E(name) ? (-948301931) : (-948301932)); + while (true) { - return name; + int num2 = num; + int num3 = -948301931; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return _202E_206C_200C_206A_202E_202B_200F_206A_202C_202A_200B_202E_206C_206B_202E_200F_202A_202A_202C_202E_206F_206A_206A_206F_202A_206B_202A_200B_206B_200D_206E_206D_200C_206A_206D_202C_202C_202D_202C_206D_202E(_206D_200D_200B_206B_200C_202C_202D_206B_206C_200B_200B_206D_206E_200F_206D_202D_202A_206B_202A_206D_206A_202B_206D_206F_206B_206E_206A_206A_202A_202B_202D_206B_200E_206C_202C_206F_200F_206F_202D_206E_202E(_200D_202A_206D_206D_200D_206F_206A_206D_202B_200F_202E_200F_202C_202E_200B_202E_200B_200B_200B_206A_206B_206F_206A_200E_206B_202A_200E_206A_202D_200E_206D_206B_202C_202C_206D_200E_202A_206A_200F_206D_202E(_206A_206A_200E_202B_206A_202A_200E_206E_202D_202A_202B_206B_206B_202C_200D_202A_206B_206B_206E_200C_200C_206F_202E_202C_206A_202A_206A_206E_200F_206A_200C_202B_202A_200C_202A_206D_200F_206B_206A_206F_202E(name, 0).ToString(), _202D_200E_200E_200D_206F_200D_200C_200F_200D_200E_206A_200C_202E_206E_200D_202B_206B_200B_200C_202A_200F_206E_200C_206E_200B_202A_202C_206F_206A_200D_200E_202D_200C_206E_206F_202E_200E_200C_202A_206B_202E())), _206B_202A_202A_206C_200C_200F_202C_206F_202A_202D_200F_200E_200B_206E_202B_200C_202E_206F_206E_202D_200F_202C_200C_202B_206F_206F_206C_202C_206A_202B_206A_206D_202B_202D_206E_200B_206F_202E_200C_202E(name, 1)); + case 1: + num = ((language == ClientLanguage.English) ? (-948301929) : (-948301931)); + break; + case 3: + num = -948301932; + break; + case 0: + return name; + } } - return string.Concat(name[0].ToString().ToUpper(CultureInfo.InvariantCulture).AsSpan(), name.AsSpan(1)); } public IEnumerable GetAllDuties() @@ -329,37 +782,65 @@ internal sealed class DutyUnlockData return GetDutiesByCategory(EDutyCategory.QuantumBattle); } + [IteratorStateMachine(typeof(_003CGetDutiesUnlockedByQuest_003Ed__30))] public IEnumerable GetDutiesUnlockedByQuest(QuestId questId) { - if (!_questToDuties.TryGetValue(questId, out ImmutableList value)) + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CGetDutiesUnlockedByQuest_003Ed__30(-2) { - yield break; - } - foreach (uint item in value) - { - if (_duties.TryGetValue(item, out DutyInfo value2)) - { - yield return value2; - } - } + _003C_003E4__this = this, + _003C_003E3__questId = questId + }; } public IEnumerable GetUnlockQuestsForDuty(uint cfcId) { - if (_dutyToQuests.TryGetValue(cfcId, out ImmutableList value)) + ImmutableList value; + int num = ((!_dutyToQuests.TryGetValue(cfcId, out value)) ? (-140897364) : (-140897363)); + while (true) { - return value; + int num2 = num; + int num3 = -140897364; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return Array.Empty(); + case 1: + return value; + case 2: + goto IL_0056; + } + continue; + IL_0056: + num = -140897363; } - return Array.Empty(); } public bool IsDutyUnlocked(uint cfcId) { - if (!_duties.TryGetValue(cfcId, out DutyInfo value)) + DutyInfo value; + int num = (_duties.TryGetValue(cfcId, out value) ? (-1021007209) : (-1021007212)); + while (true) { - return false; + int num2 = num; + int num3 = -1021007211; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return UIState.IsInstanceContentUnlocked(value.ContentId); + case 1: + return false; + case 0: + goto IL_005e; + } + continue; + IL_005e: + num = -1021007212; } - return UIState.IsInstanceContentUnlocked(value.ContentId); } public static bool IsContentUnlocked(uint contentId) @@ -391,4 +872,94 @@ internal sealed class DutyUnlockData { return _duties.Values.Where((DutyInfo d) => d.UnlockQuests.Count > 0); } + + static QuestId _206F_206A_206B_200D_202D_206F_206C_206A_206E_200F_202A_202D_200F_200E_206F_206C_202E_206E_200B_206A_206C_206A_202D_200F_200F_200B_200E_202A_200D_200F_206B_202E_202D_206F_206D_200D_206C_200B_206F_206C_202E(uint P_0) + { + return QuestId.FromRowId(P_0); + } + + static bool _202D_202A_202C_202E_200B_200F_206B_202D_200C_202A_206C_206B_202E_202B_200B_206A_200D_206C_206C_200C_202E_206E_206B_206A_200B_200C_200C_202D_206E_206C_202C_206A_202B_202A_202E_202B_200E_202D_200C_200C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206E_206D_206E_202E_202C_202E_202B_206F_206F_200C_200B_206B_206E_206C_200B_206B_202B_206D_202C_200E_202B_202A_202E_200B_200F_202C_202B_206A_200F_202B_200F_206A_206D_202D_200F_202B_206A_206D_206F_206C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static SeString _202A_200C_200E_200E_202A_206B_200E_200D_200B_200F_200C_202A_200E_202C_206D_206C_206E_200F_206C_206B_202D_202D_200F_206A_206C_206C_206F_202B_206C_200E_206A_206E_202D_200F_200C_206B_206A_202D_200D_202E_202E(ReadOnlySeString P_0) + { + return P_0.ToDalamudString(); + } + + static string _200B_202B_202C_202C_202A_206D_206A_200E_206D_206F_206B_200D_202D_206F_202D_206E_202A_202B_200C_202A_200D_202D_206F_200B_206F_200F_206D_206D_202E_206C_200C_202E_206E_200C_202C_200F_206B_200C_206B_206B_202E(object P_0) + { + return P_0.ToString(); + } + + static ClientLanguage _202E_200C_206B_200F_200B_200B_200B_200E_206F_200F_202E_206F_206D_206F_200C_200B_202C_206D_200F_202D_206B_200C_200E_202D_202C_202B_202A_200B_202E_202A_200D_206A_200E_202A_200C_206D_200C_206D_206F_200C_202E(IDataManager P_0) + { + return P_0.Language; + } + + static bool _202D_206F_206E_206F_206C_206C_206A_206E_202B_206D_200C_202E_206C_200F_200E_200B_200E_200F_200F_200F_206E_206B_200E_206E_206D_206C_200F_206D_206E_206A_200B_206E_202C_206B_202C_206E_206C_200E_206A_202D_202E(string P_0) + { + return string.IsNullOrWhiteSpace(P_0); + } + + static void _206C_206C_206E_206B_206D_200D_206C_200B_206D_206F_206F_200D_202D_206C_200D_202C_206C_206F_202A_200F_202D_206F_206B_200C_202C_206A_206C_200F_200B_202E_206F_202A_202D_206C_200F_200E_206E_200C_206E_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206E_200B_202B_202A_202D_202C_200D_202A_206F_206D_202D_202E_200F_200F_206D_200C_206B_202D_200F_202D_200E_200F_206D_206A_200D_202E_202D_200C_200F_200D_206C_206A_206B_206D_206B_200F_202A_206C_202B_202C_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.EndsWith(P_1, P_2); + } + + static bool _206D_206D_200E_206C_206F_206B_206E_206A_202D_202A_206E_206E_206C_200D_206C_202C_206E_202C_206F_202B_200B_206B_200E_202E_200C_206E_200F_206C_200E_206C_200C_200C_202E_206B_200E_200E_200E_202A_202B_202B_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.StartsWith(P_1, P_2); + } + + static bool _206B_206B_206D_202A_200E_200F_200C_200D_206D_202D_200D_202D_200F_206A_200C_200F_202E_206A_206B_206D_202B_200F_202E_202E_202C_206F_202C_202A_200F_202C_200C_202B_200E_200B_200D_200D_202B_202B_200B_202C_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static bool _200F_200C_202B_206C_200D_200B_200B_206C_206E_200F_200F_206D_200B_200B_200D_202C_202C_206F_206B_200F_200E_202A_206A_200D_202C_206A_202B_206B_200B_202C_200E_202B_202C_206B_202A_202D_200C_202C_206C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static char _206A_206A_200E_202B_206A_202A_200E_206E_202D_202A_202B_206B_206B_202C_200D_202A_206B_206B_206E_200C_200C_206F_202E_202C_206A_202A_206A_206E_200F_206A_200C_202B_202A_200C_202A_206D_200F_206B_206A_206F_202E(string P_0, int P_1) + { + return P_0[P_1]; + } + + static CultureInfo _202D_200E_200E_200D_206F_200D_200C_200F_200D_200E_206A_200C_202E_206E_200D_202B_206B_200B_200C_202A_200F_206E_200C_206E_200B_202A_202C_206F_206A_200D_200E_202D_200C_206E_206F_202E_200E_200C_202A_206B_202E() + { + return CultureInfo.InvariantCulture; + } + + static string _200D_202A_206D_206D_200D_206F_206A_206D_202B_200F_202E_200F_202C_202E_200B_202E_200B_200B_200B_206A_206B_206F_206A_200E_206B_202A_200E_206A_202D_200E_206D_206B_202C_202C_206D_200E_202A_206A_200F_206D_202E(string P_0, CultureInfo P_1) + { + return P_0.ToUpper(P_1); + } + + static ReadOnlySpan _206D_200D_200B_206B_200C_202C_202D_206B_206C_200B_200B_206D_206E_200F_206D_202D_202A_206B_202A_206D_206A_202B_206D_206F_206B_206E_206A_206A_202A_202B_202D_206B_200E_206C_202C_206F_200F_206F_202D_206E_202E(string P_0) + { + return P_0.AsSpan(); + } + + static ReadOnlySpan _206B_202A_202A_206C_200C_200F_202C_206F_202A_202D_200F_200E_200B_206E_202B_200C_202E_206F_206E_202D_200F_202C_200C_202B_206F_206F_206C_202C_206A_202B_206A_206D_202B_202D_206E_200B_206F_202E_200C_202E(string P_0, int P_1) + { + return P_0.AsSpan(P_1); + } + + static string _202E_206C_200C_206A_202E_202B_200F_206A_202C_202A_200B_202E_206C_206B_202E_200F_202A_202A_202C_202E_206F_206A_206A_206F_202A_206B_202A_200B_206B_200D_206E_206D_200C_206A_206D_202C_202C_202D_202C_206D_202E(ReadOnlySpan P_0, ReadOnlySpan P_1) + { + return string.Concat(P_0, P_1); + } } diff --git a/Questionable/Questionable.Data/ERoleQuestPreference.cs b/Questionable/Questionable.Data/ERoleQuestPreference.cs new file mode 100644 index 00000000..17d94e0e --- /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 00000000..b2689626 --- /dev/null +++ b/Questionable/Questionable.Data/FishingData.cs @@ -0,0 +1,62 @@ +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) + { + FishingSpotInfo value; + int num = ((!_itemToSpot.TryGetValue(itemId, out value)) ? 254023319 : 254023316); + while (true) + { + int num2 = num; + int num3 = 254023318; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + spot = null; + return false; + case 2: + spot = value; + return true; + case 0: + goto IL_0067; + } + continue; + IL_0067: + num = 254023316; + } + } +} diff --git a/Questionable/Questionable.Data/FishingSpotInfo.cs b/Questionable/Questionable.Data/FishingSpotInfo.cs new file mode 100644 index 00000000..12ebac9d --- /dev/null +++ b/Questionable/Questionable.Data/FishingSpotInfo.cs @@ -0,0 +1,114 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace Questionable.Data; + +internal readonly record struct FishingSpotInfo(uint SpotId, ushort TerritoryId, float X, float Z, ushort GatheringLevel) +{ + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200D_200E_206C_206F_206C_200C_206D_202C_202A_206E_202D_200E_200B_206E_202E_206F_202C_206A_202E_200E_206D_200C_202A_206A_206A_200F_200C_200D_200F_200F_206A_200B_206B_200E_202B_202E_202C_202A_206D_206A_202E(); + _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(stringBuilder, global::_003CModule_003E._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(-51629188)); + _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? (-1583712030) : (-1583712029)); + while (true) + { + int num2 = num; + int num3 = -1583712030; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1583712029; + break; + case 1: + _200B_206E_200C_202A_202A_206A_200C_206F_202C_206F_200D_206A_206D_202E_202D_202E_206C_206F_202B_202C_206D_200E_202C_200D_206B_202D_206A_200F_206C_202B_206D_206B_202A_200C_200B_200E_202D_202A_206B_200E_202E(stringBuilder, ' '); + num = -1583712030; + break; + case 0: + _200B_206E_200C_202A_202A_206A_200C_206F_202C_206F_200D_206A_206D_202E_202D_202E_206C_206F_202B_202C_206D_200E_202C_200D_206B_202D_206A_200F_206C_202B_206D_206B_202A_200C_200B_200E_202D_202A_206B_200E_202E(stringBuilder, '}'); + return _206D_206C_206D_200D_206A_202A_200F_206E_200E_200B_206D_202B_200C_206A_202E_200F_200F_200D_200C_206B_200C_206B_200C_200B_200E_202C_200B_206E_206F_206E_200B_206A_202B_200D_200B_202B_202D_206D_206E_202A_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(builder, global::_003CModule_003E._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(-5346518)); + _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(builder, SpotId.ToString()); + _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(builder, global::_003CModule_003E._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(-1213099778)); + _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(builder, TerritoryId.ToString()); + _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(builder, global::_003CModule_003E._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(2042038110)); + _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(builder, X.ToString()); + _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(builder, global::_003CModule_003E._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(-1035184448)); + _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(builder, Z.ToString()); + _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(builder, global::_003CModule_003E._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(-67625738)); + _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(builder, GatheringLevel.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(FishingSpotInfo other) + { + int num = ((!EqualityComparer.Default.Equals(SpotId, other.SpotId)) ? 290247047 : 290247042); + while (true) + { + int num2 = num; + int num3 = 290247046; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 290247042; + break; + case 0: + num = ((!EqualityComparer.Default.Equals(Z, other.Z)) ? 290247047 : 290247044); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? 290247047 : 290247043); + break; + case 2: + return EqualityComparer.Default.Equals(GatheringLevel, other.GatheringLevel); + case 1: + return false; + case 5: + num = ((!EqualityComparer.Default.Equals(X, other.X)) ? 290247047 : 290247046); + break; + } + } + } + + bool IEquatable.Equals(FishingSpotInfo other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _200D_200E_206C_206F_206C_200C_206D_202C_202A_206E_202D_200E_200B_206E_202E_206F_202C_206A_202E_200E_206D_200C_202A_206A_206A_200F_200C_200D_200F_200F_206A_200B_206B_200E_202B_202E_202C_202A_206D_206A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206C_206E_206F_206A_200E_202C_206A_206C_202E_202B_202C_206F_206A_206D_200B_200D_202E_206C_202E_206B_200D_200F_202E_206B_206C_202B_206A_202D_206D_206F_202E_206D_206A_202C_202D_200E_202A_202D_202D_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200B_206E_200C_202A_202A_206A_200C_206F_202C_206F_200D_206A_206D_202E_202D_202E_206C_206F_202B_202C_206D_200E_202C_200D_206B_202D_206A_200F_206C_202B_206D_206B_202A_200C_200B_200E_202D_202A_206B_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206D_206C_206D_200D_206A_202A_200F_206E_200E_200B_206D_202B_200C_206A_202E_200F_200F_200D_200C_206B_200C_206B_200C_200B_200E_202C_200B_206E_206F_206E_200B_206A_202B_200D_200B_202B_202D_206D_206E_202A_202E(object P_0) + { + return P_0.ToString(); + } +} diff --git a/Questionable/Questionable.Data/GameQuestSequences.cs b/Questionable/Questionable.Data/GameQuestSequences.cs new file mode 100644 index 00000000..8304f9de --- /dev/null +++ b/Questionable/Questionable.Data/GameQuestSequences.cs @@ -0,0 +1,57 @@ +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 | _202B_200F_206E_206E_206E_200B_202A_200C_206B_200C_200D_200C_206E_200B_200C_200B_206D_206F_200B_206B_206D_206D_202C_200D_206B_202D_206C_206D_200D_202B_202A_206B_200F_206D_202A_202A_206F_206F_200D_202B_202E((ElementId)questId))); + int num = ((!rowOrDefault.HasValue) ? (-1830847264) : (-1830847257)); + Quest valueOrDefault = default(Quest); + while (true) + { + int num2 = num; + int num3 = -1830847263; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1830847257; + break; + case 3: + 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(); + case 5: + num = ((valueOrDefault.TodoParams[0].ToDoCompleteSeq != 0) ? (-1830847262) : (-1830847259)); + break; + case 6: + valueOrDefault = rowOrDefault.GetValueOrDefault(); + num = -1830847261; + break; + case 4: + return new List(); + case 2: + num = ((valueOrDefault.TodoParams.Count == 0) ? (-1830847259) : (-1830847260)); + break; + case 1: + return new List(); + } + } + } + + static ushort _202B_200F_206E_206E_206E_200B_202A_200C_206B_200C_200D_200C_206E_200B_200C_200B_206D_206F_200B_206B_206D_206D_202C_200D_206B_202D_206C_206D_200D_202B_202A_206B_200F_206D_202A_202A_206F_206F_200D_202B_202E(ElementId P_0) + { + return P_0.Value; + } +} diff --git a/Questionable/Questionable.Data/GatheringData.cs b/Questionable/Questionable.Data/GatheringData.cs index 65c5418e..b866cbba 100644 --- a/Questionable/Questionable.Data/GatheringData.cs +++ b/Questionable/Questionable.Data/GatheringData.cs @@ -1,3 +1,5 @@ +using System; +using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; @@ -24,27 +26,60 @@ internal sealed class GatheringData public GatheringData(IDataManager dataManager) { - Dictionary dictionary = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.Item.RowId != 0 - select x).ToDictionary((GatheringItem x) => x.RowId, (GatheringItem x) => x.Item.RowId); + Dictionary dictionary = dataManager.GetExcelSheet().Where(delegate(GatheringItem x) + { + int num4 = ((x.RowId == 0) ? 1888358196 : 1888358199); + while (true) + { + int num5 = num4; + int num6 = 1888358198; + int num7 = num5; + switch ((num7 | num6) - (num7 & num6)) + { + case 0: + goto IL_0047; + case 1: + return x.Item.RowId != 0; + case 2: + return false; + } + continue; + IL_0047: + num4 = 1888358199; + } + }).ToDictionary((GatheringItem x) => x.RowId, (GatheringItem x) => x.Item.RowId); foreach (GatheringPointBase item in dataManager.GetExcelSheet()) { - foreach (RowRef item2 in item.Item.Where((RowRef x) => x.RowId != 0)) + IEnumerator enumerator2 = item.Item.Where((RowRef x) => x.RowId != 0).GetEnumerator(); + try { - if (!dictionary.TryGetValue(item2.RowId, out var value)) + while (_200C_206A_206B_202B_200E_200C_200C_202B_206A_200B_206A_202A_202D_200E_206B_200B_200F_202B_200B_206D_206A_200D_202C_206A_206E_200E_206B_200D_206A_202D_202B_206D_200E_206C_202C_202E_200E_202B_202B_202E_202E((IEnumerator)enumerator2)) { - continue; + if (!dictionary.TryGetValue(enumerator2.Current.RowId, out var value)) + { + continue; + } + uint rowId = item.GatheringType.RowId; + if (rowId <= 1) + { + _minerGatheringPoints[value] = _200D_202D_200C_202B_200D_202B_206A_202E_200E_200F_200D_202C_202C_200D_206C_206E_202E_202E_206C_200B_202B_206B_200E_206D_206F_206F_200F_200C_200E_200D_206F_202D_200D_206C_202D_202B_206C_200F_202A_206E_202E((ushort)item.RowId); + continue; + } + rowId = item.GatheringType.RowId; + uint num = rowId; + int num2 = 2; + int num3 = (int)num; + if ((uint)(~(~num3 + num2)) <= 1u) + { + _botanistGatheringPoints[value] = _200D_202D_200C_202B_200D_202B_206A_202E_200E_200F_200D_202C_202C_200D_206C_206E_202E_202E_206C_200B_202B_206B_200E_206D_206F_206F_200F_200C_200E_200D_206F_202D_200D_206C_202D_202B_206C_200F_202A_206E_202E((ushort)item.RowId); + } } - uint rowId = item.GatheringType.RowId; - if (rowId <= 1) + } + finally + { + if (enumerator2 != null) { - _minerGatheringPoints[value] = new GatheringPointId((ushort)item.RowId); - continue; - } - rowId = item.GatheringType.RowId; - if (rowId - 2 <= 1) - { - _botanistGatheringPoints[value] = new GatheringPointId((ushort)item.RowId); + _202A_200E_206D_200B_200E_202E_200D_200E_200C_200B_200E_200E_200D_206A_202A_206D_200B_200E_202C_206C_200C_202C_202E_200B_200B_202D_200F_202E_206E_200C_206D_200C_206D_206D_206C_206E_206F_206A_200F_202E_202E((IDisposable)enumerator2); } } } @@ -88,4 +123,19 @@ internal sealed class GatheringData { return _npcForCustomDeliveries.TryGetValue(itemId, out npcId); } + + static GatheringPointId _200D_202D_200C_202B_200D_202B_206A_202E_200E_200F_200D_202C_202C_200D_206C_206E_202E_202E_206C_200B_202B_206B_200E_206D_206F_206F_200F_200C_200E_200D_206F_202D_200D_206C_202D_202B_206C_200F_202A_206E_202E(ushort P_0) + { + return new GatheringPointId(P_0); + } + + static bool _200C_206A_206B_202B_200E_200C_200C_202B_206A_200B_206A_202A_202D_200E_206B_200B_200F_202B_200B_206D_206A_200D_202C_206A_206E_200E_206B_200D_206A_202D_202B_206D_200E_206C_202C_202E_200E_202B_202B_202E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202A_200E_206D_200B_200E_202E_200D_200E_200C_200B_200E_200E_200D_206A_202A_206D_200B_200E_202C_206C_200C_202C_202E_200B_200B_202D_200F_202E_206E_200C_206D_200C_206D_206D_206C_206E_206F_206A_200F_202E_202E(IDisposable P_0) + { + P_0.Dispose(); + } } diff --git a/Questionable/Questionable.Data/HuntMobData.cs b/Questionable/Questionable.Data/HuntMobData.cs index ed478cab..4023fa22 100644 --- a/Questionable/Questionable.Data/HuntMobData.cs +++ b/Questionable/Questionable.Data/HuntMobData.cs @@ -31,7 +31,9 @@ internal sealed class HuntMobData foreach (NotoriousMonster item in excelSheet) { byte rank = item.Rank; - if ((uint)(rank - 2) > 1u) + int num = 2; + int num2 = rank; + if ((uint)(~(~num2 + num)) > 1u) { continue; } diff --git a/Questionable/Questionable.Data/JournalData.cs b/Questionable/Questionable.Data/JournalData.cs index 68ad1622..6d535605 100644 --- a/Questionable/Questionable.Data/JournalData.cs +++ b/Questionable/Questionable.Data/JournalData.cs @@ -1,6 +1,9 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; +using Dalamud.Game; using Dalamud.Plugin.Services; using Lumina.Excel; using Lumina.Excel.Sheets; @@ -54,18 +57,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(); } } @@ -84,8 +97,688 @@ internal sealed class JournalData } } + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__10_0; + + public static Func _003C_003E9__10_2; + + public static Func _003C_003E9__10_3; + + public static Func _003C_003E9__10_4; + + public static Func _003C_003E9__10_5; + + public static Func _003C_003E9__10_7; + + public static Func _003C_003E9__10_8; + + public static Func _003C_003E9__10_10; + + public static Func _003C_003E9__10_11; + + public static Func _003C_003E9__10_13; + + public static Func _003C_003E9__10_14; + + public static Func _003C_003E9__10_16; + + public static Func> _003C_003E9__10_18; + + public static Func _003C_003E9__10_19; + + public static Func _003C_003E9__10_21; + + public static Func _003C_003E9__10_22; + + public static Func _003C_003E9__10_23; + + public static Func _003C_003E9__29_0; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003C_002Ector_003Eb__10_0(JournalCategory x) + { + return _202C_202E_200B_206E_202A_202D_202A_200B_206E_206D_206A_206A_200C_200E_200C_200B_206D_202C_200C_206C_200D_202B_200F_202E_200E_200E_200C_200B_202D_206C_206C_202E_200F_206D_202E_202E_206C_202D_200C_206B_202E(x.Name.ToString(), global::_003CModule_003E._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(94738530), StringComparison.OrdinalIgnoreCase); + } + + internal uint _003C_002Ector_003Eb__10_2(JournalGenre x) + { + return x.RowId; + } + + internal uint _003C_002Ector_003Eb__10_3(uint x) + { + return x; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003C_002Ector_003Eb__10_4(JournalGenre x) + { + return _202C_202E_200B_206E_202A_202D_202A_200B_206E_206D_206A_206A_200C_200E_200C_200B_206D_202C_200C_206C_200D_202B_200F_202E_200E_200E_200C_200B_202D_206C_206C_202E_200F_206D_202E_202E_206C_202D_200C_206B_202E(x.Name.ToString(), global::_003CModule_003E._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(1098443665), StringComparison.OrdinalIgnoreCase); + } + + internal bool _003C_002Ector_003Eb__10_5(JournalGenre x) + { + int num = ((x.RowId == 0) ? 267334401 : 267334402); + while (true) + { + int num2 = num; + int num3 = 267334400; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 2: + return x.Icon > 0; + case 1: + return false; + } + continue; + IL_0048: + num = 267334402; + } + } + + internal uint _003C_002Ector_003Eb__10_7(QuestRedo.QuestRedoParamStruct x) + { + return x.Quest.RowId; + } + + internal bool _003C_002Ector_003Eb__10_8(uint x) + { + return x != 0; + } + + internal uint _003C_002Ector_003Eb__10_10(QuestRedo.QuestRedoParamStruct x) + { + return x.Quest.RowId; + } + + internal bool _003C_002Ector_003Eb__10_11(uint x) + { + return x != 0; + } + + internal uint _003C_002Ector_003Eb__10_13(QuestRedo.QuestRedoParamStruct x) + { + return x.Quest.RowId; + } + + internal bool _003C_002Ector_003Eb__10_14(uint x) + { + return x != 0; + } + + internal bool _003C_002Ector_003Eb__10_16(Genre x) + { + return x.Id == 1; + } + + internal IEnumerable _003C_002Ector_003Eb__10_18(Genre g) + { + return g.Quests; + } + + internal ElementId _003C_002Ector_003Eb__10_19(IQuestInfo q) + { + return q.QuestId; + } + + internal ushort _003C_002Ector_003Eb__10_21(QuestInfo x) + { + return x.SortKey; + } + + internal ElementId _003C_002Ector_003Eb__10_22(QuestInfo x) + { + return x.QuestId; + } + + internal bool _003C_002Ector_003Eb__10_23(JournalCategory x) + { + return x.RowId != 0; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003CGetOtherQuestsSectionRowId_003Eb__29_0(JournalSection s) + { + return _202B_200C_200B_202A_206D_206F_206C_200C_200C_200D_202C_202A_206E_206F_200E_202D_200B_200D_200B_202C_200C_202E_200F_200B_200C_200E_206D_202D_206C_202B_206C_206F_206C_200E_206E_206D_206D_200F_202D_202D_202E(s.Name.ToString(), global::_003CModule_003E._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(1421434526)); + } + + static bool _202C_202E_200B_206E_202A_202D_202A_200B_206E_206D_206A_206A_200C_200E_200C_200B_206D_202C_200C_206C_200D_202B_200F_202E_200E_200E_200C_200B_202D_206C_206C_202E_200F_206D_202E_202E_206C_202D_200C_206B_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Equals(P_1, P_2); + } + + static bool _202B_200C_200B_202A_206D_206F_206C_200C_200C_200D_202C_202A_206E_206F_200E_202D_200B_200D_200B_202C_200C_202E_200F_200B_200C_200E_206D_202D_206C_202B_206C_206F_206C_200E_206E_206D_206D_200F_202D_202D_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass10_0 + { + public JournalData _003C_003E4__this; + + public QuestData questData; + + internal bool _003C_002Ector_003Eb__1(JournalGenre x) + { + int num = ((x.RowId == 0) ? 1055000676 : 1055000677); + while (true) + { + int num2 = num; + int num3 = 1055000676; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004d; + case 0: + return false; + case 1: + return x.JournalCategory.RowId == _003C_003E4__this.SeasonalEventsCategoryId.Value; + } + continue; + IL_004d: + num = 1055000677; + } + } + + internal Genre _003C_002Ector_003Eb__6(JournalGenre x) + { + return new Genre(x, questData.GetAllByJournalGenre(x.RowId)); + } + + internal IQuestInfo _003C_002Ector_003Eb__9(uint x) + { + return questData.GetQuestInfo(_202A_200C_202A_202B_200E_206B_200E_200D_200C_202B_206D_206A_202A_200D_200B_202E_206C_202E_200C_202D_200C_206A_200E_200D_206E_206F_200C_206E_202E_206A_206D_200D_206D_206E_206F_206C_202B_206F_206C_202B_202E(x)); + } + + internal IQuestInfo _003C_002Ector_003Eb__12(uint x) + { + return questData.GetQuestInfo(_202A_200C_202A_202B_200E_206B_200E_200D_200C_202B_206D_206A_202A_200D_200B_202E_206C_202E_200C_202D_200C_206A_200E_200D_206E_206F_200C_206E_202E_206A_206D_200D_206D_206E_206F_206C_202B_206F_206C_202B_202E(x)); + } + + internal IQuestInfo _003C_002Ector_003Eb__15(uint x) + { + return questData.GetQuestInfo(_202A_200C_202A_202B_200E_206B_200E_200D_200C_202B_206D_206A_202A_200D_200B_202E_206C_202E_200C_202D_200C_206A_200E_200D_206E_206F_200C_206E_202E_206A_206D_200D_206D_206E_206F_206C_202B_206F_206C_202B_202E(x)); + } + + internal Category _003C_002Ector_003Eb__24(JournalCategory x) + { + _003C_003Ec__DisplayClass10_2 CS_0024_003C_003E8__locals2 = new _003C_003Ec__DisplayClass10_2 + { + x = x + }; + return new Category(CS_0024_003C_003E8__locals2.x, _003C_003E4__this.Genres.Where((Genre y) => y.CategoryId == CS_0024_003C_003E8__locals2.x.RowId).ToList()); + } + + internal Section _003C_002Ector_003Eb__25(JournalSection x) + { + _003C_003Ec__DisplayClass10_3 CS_0024_003C_003E8__locals2 = new _003C_003Ec__DisplayClass10_3 + { + x = x + }; + return new Section(CS_0024_003C_003E8__locals2.x, _003C_003E4__this.Categories.Where((Category y) => y.SectionId == CS_0024_003C_003E8__locals2.x.RowId).ToList()); + } + + static QuestId _202A_200C_202A_202B_200E_206B_200E_200D_200C_202B_206D_206A_202A_200D_200B_202E_206C_202E_200C_202D_200C_206A_200E_200D_206E_206F_200C_206E_202E_206A_206D_200D_206D_206E_206F_206C_202B_206F_206C_202B_202E(uint P_0) + { + return QuestId.FromRowId(P_0); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass10_2 + { + public JournalCategory x; + + internal bool _003C_002Ector_003Eb__26(Genre y) + { + return y.CategoryId == x.RowId; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass10_3 + { + public JournalSection x; + + internal bool _003C_002Ector_003Eb__27(Category y) + { + return y.SectionId == x.RowId; + } + } + private readonly ILogger _logger; + private const uint UnassignedGenreId = 4294967291u; + + private const uint UnassignedCategoryId = 4294967291u; + + private static readonly Dictionary QuestGenreOverrides = new Dictionary + { + { + 1119, + global::_003CModule_003E._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(-1305358158) + }, + { + 1120, + global::_003CModule_003E._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(1582826252) + }, + { + 1121, + global::_003CModule_003E._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(1520313259) + }, + { + 1122, + global::_003CModule_003E._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(-1305358158) + }, + { + 1123, + global::_003CModule_003E._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(-412539435) + }, + { + 1124, + global::_003CModule_003E._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(-412539435) + }, + { + 1125, + global::_003CModule_003E._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(-412539435) + }, + { + 1126, + global::_003CModule_003E._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(-1305358158) + }, + { + 1127, + global::_003CModule_003E._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(-811508698) + }, + { + 1579, + global::_003CModule_003E._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(-412539435) + }, + { + 4173, + global::_003CModule_003E._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(1693926997) + }, + { + 4196, + global::_003CModule_003E._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(1143882431) + }, + { + 4197, + global::_003CModule_003E._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(1495315526) + }, + { + 4198, + global::_003CModule_003E._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(-1396094695) + }, + { + 4199, + global::_003CModule_003E._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(1495315526) + }, + { + 4200, + global::_003CModule_003E._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(1495315526) + }, + { + 4201, + global::_003CModule_003E._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(-1396094695) + }, + { + 4202, + global::_003CModule_003E._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(1495315526) + }, + { + 4203, + global::_003CModule_003E._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(736629864) + }, + { + 4204, + global::_003CModule_003E._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(-1396094695) + }, + { + 4205, + global::_003CModule_003E._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(1143882431) + }, + { + 4206, + global::_003CModule_003E._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(1143882431) + }, + { + 4207, + global::_003CModule_003E._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(1495315526) + }, + { + 4208, + global::_003CModule_003E._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(1842340562) + }, + { + 4209, + global::_003CModule_003E._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(1495315526) + }, + { + 101, + global::_003CModule_003E._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(-1627004746) + }, + { + 177, + global::_003CModule_003E._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(-1664023325) + }, + { + 178, + global::_003CModule_003E._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(-281039921) + }, + { + 179, + global::_003CModule_003E._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(171773541) + }, + { + 180, + global::_003CModule_003E._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(1521567255) + }, + { + 181, + global::_003CModule_003E._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(1572110383) + }, + { + 182, + global::_003CModule_003E._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(1108841558) + }, + { + 183, + global::_003CModule_003E._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(1735035275) + }, + { + 184, + global::_003CModule_003E._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(-1953715994) + }, + { + 185, + global::_003CModule_003E._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(1073040588) + }, + { + 186, + global::_003CModule_003E._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(1648905240) + }, + { + 187, + global::_003CModule_003E._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(-981016817) + }, + { + 188, + global::_003CModule_003E._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(759686966) + }, + { + 189, + global::_003CModule_003E._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(950239454) + }, + { + 190, + global::_003CModule_003E._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(767562886) + }, + { + 191, + global::_003CModule_003E._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(1873832748) + }, + { + 192, + global::_003CModule_003E._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(-60872052) + }, + { + 193, + global::_003CModule_003E._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(2079024563) + }, + { + 451, + global::_003CModule_003E._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(-1922634614) + }, + { + 1134, + global::_003CModule_003E._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(-932900377) + }, + { + 2109, + global::_003CModule_003E._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(-904481056) + }, + { + 437, + global::_003CModule_003E._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(-2121067052) + }, + { + 488, + global::_003CModule_003E._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(1550833574) + }, + { + 489, + global::_003CModule_003E._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(402158112) + }, + { + 2106, + global::_003CModule_003E._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(-953100617) + }, + { + 2107, + global::_003CModule_003E._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(-1850403653) + }, + { + 2110, + global::_003CModule_003E._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(-953100617) + }, + { + 2123, + global::_003CModule_003E._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(997113777) + }, + { + 2334, + global::_003CModule_003E._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(1916944327) + }, + { + 2387, + global::_003CModule_003E._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(-87035783) + }, + { + 2389, + global::_003CModule_003E._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(-558440209) + }, + { + 2390, + global::_003CModule_003E._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(24816158) + }, + { + 2391, + global::_003CModule_003E._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(931270108) + }, + { + 2612, + global::_003CModule_003E._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(310219815) + }, + { + 2613, + global::_003CModule_003E._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(46095454) + }, + { + 2920, + global::_003CModule_003E._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(45227288) + }, + { + 2921, + global::_003CModule_003E._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(290019575) + }, + { + 2941, + global::_003CModule_003E._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(481555478) + }, + { + 2942, + global::_003CModule_003E._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(-917992694) + }, + { + 2943, + global::_003CModule_003E._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(290019575) + }, + { + 3019, + global::_003CModule_003E._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(387598708) + }, + { + 3088, + global::_003CModule_003E._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(-577278110) + }, + { + 3602, + global::_003CModule_003E._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(-944156425) + }, + { + 3603, + global::_003CModule_003E._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(-671234880) + }, + { + 3604, + global::_003CModule_003E._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(384222801) + }, + { + 3605, + global::_003CModule_003E._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(-1806863325) + }, + { + 3662, + global::_003CModule_003E._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(-1806863325) + }, + { + 3759, + global::_003CModule_003E._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(1550833574) + }, + { + 3760, + global::_003CModule_003E._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(-1790879174) + }, + { + 3841, + global::_003CModule_003E._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(-2047561568) + }, + { + 3842, + global::_003CModule_003E._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(199685168) + }, + { + 3942, + global::_003CModule_003E._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(1587082942) + }, + { + 3972, + global::_003CModule_003E._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(-2047561568) + }, + { + 4027, + global::_003CModule_003E._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(1142038998) + }, + { + 4030, + global::_003CModule_003E._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(1550833574) + }, + { + 4041, + global::_003CModule_003E._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(1142038998) + }, + { + 4042, + global::_003CModule_003E._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(-1790879174) + }, + { + 4044, + global::_003CModule_003E._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(1095305312) + }, + { + 4045, + global::_003CModule_003E._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(1238288409) + }, + { + 4046, + global::_003CModule_003E._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(607693116) + }, + { + 4047, + global::_003CModule_003E._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(2108608255) + }, + { + 4048, + global::_003CModule_003E._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(2108608255) + }, + { + 4049, + global::_003CModule_003E._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(1095305312) + }, + { + 4094, + global::_003CModule_003E._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(1587082942) + }, + { + 4170, + global::_003CModule_003E._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(-600771060) + }, + { + 4171, + global::_003CModule_003E._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(-1450732885) + }, + { + 4174, + global::_003CModule_003E._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(-1450732885) + }, + { + 4175, + global::_003CModule_003E._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(795147105) + }, + { + 4644, + global::_003CModule_003E._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(-1817042905) + }, + { + 4651, + global::_003CModule_003E._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(1561279270) + }, + { + 5003, + global::_003CModule_003E._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(-1668629340) + }, + { + 5004, + global::_003CModule_003E._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(-523374154) + }, + { + 5006, + global::_003CModule_003E._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(-523374154) + }, + { + 5007, + global::_003CModule_003E._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(111750052) + }, + { + 5008, + global::_003CModule_003E._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(711940049) + }, + { + 5408, + global::_003CModule_003E._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(-937484886) + }, + { + 5459, + global::_003CModule_003E._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(2035482034) + } + }; + + 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; } @@ -100,106 +793,438 @@ internal sealed class JournalData public int? OtherQuestsSectionRowId { get; private set; } + [MethodImpl(MethodImplOptions.NoInlining)] public JournalData(IDataManager dataManager, QuestData questData, ILogger logger) { 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([MethodImpl(MethodImplOptions.NoInlining)] (JournalCategory x) => _003C_003Ec._202C_202E_200B_206E_202A_202D_202A_200B_206E_206D_206A_206A_200C_200E_200C_200B_206D_202C_200C_206C_200D_202B_200F_202E_200E_200E_200C_200B_202D_206C_206C_202E_200F_206D_202E_202E_206C_202D_200C_206B_202E(x.Name.ToString(), global::_003CModule_003E._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(94738530), StringComparison.OrdinalIgnoreCase)); if (journalCategory.RowId != 0) { SeasonalEventsCategoryId = journalCategory.RowId; + _200B_202D_200B_206B_206C_206C_206D_202A_200C_200C_206D_206D_202A_206D_206D_206D_200E_202C_202A_200D_200F_200C_206E_206B_206E_206F_200F_206F_200D_206F_206E_202A_206F_200E_206E_200B_206D_200E_206B_202B_202E((ILogger)_logger, global::_003CModule_003E._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(1195841722), new object[1] { SeasonalEventsCategoryId }); } else { SeasonalEventsCategoryId = null; - _logger.LogWarning("Could not find 'Seasonal Events' JournalCategory - seasonal event detection may not work correctly"); + _202E_206B_206D_200E_202A_200D_206D_200F_200E_206A_200F_202D_206F_206C_200F_202B_206C_202E_200C_202B_202D_200C_206F_200B_202C_200D_202A_200B_202E_206A_206B_200C_206E_200B_206B_206F_200D_206E_202B_206C_202E((ILogger)_logger, global::_003CModule_003E._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(795445642), Array.Empty()); } if (SeasonalEventsCategoryId.HasValue) { - SeasonalEventGenreIds = (from x in excelSheet - where x.RowId != 0 && x.JournalCategory.RowId == journalData.SeasonalEventsCategoryId.Value + SeasonalEventGenreIds = (from x in excelSheet.Where(delegate(JournalGenre x) + { + int num5 = ((x.RowId == 0) ? 1055000676 : 1055000677); + while (true) + { + int num6 = num5; + int num7 = 1055000676; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + switch (num9 - (num10 + num10)) + { + case 2: + goto IL_004d; + case 0: + return false; + case 1: + return x.JournalCategory.RowId == journalData.SeasonalEventsCategoryId.Value; + } + continue; + IL_004d: + num5 = 1055000677; + } + }) select x.RowId).ToHashSet(); + _200B_202D_200B_206B_206C_206C_206D_202A_200C_200C_206D_206D_202A_206D_206D_206D_200E_202C_202A_200D_200F_200C_206E_206B_206E_206F_200F_206F_200D_206F_206E_202A_206F_200E_206E_200B_206D_200E_206B_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-180038721), new object[3] + { + SeasonalEventGenreIds.Count, + SeasonalEventsCategoryId.Value, + string.Join(global::_003CModule_003E._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(1467939024), 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([MethodImpl(MethodImplOptions.NoInlining)] (JournalGenre x) => _003C_003Ec._202C_202E_200B_206E_202A_202D_202A_200B_206E_206D_206A_206A_200C_200E_200C_200B_206D_202C_200C_206C_200D_202B_200F_202E_200E_200E_200C_200B_202D_206C_206C_202E_200F_206D_202E_202E_206C_202D_200C_206B_202E(x.Name.ToString(), global::_003CModule_003E._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(1098443665), StringComparison.OrdinalIgnoreCase)); if (journalGenre.RowId != 0) { MoogleDeliveryGenreId = journalGenre.RowId; + _200B_202D_200B_206B_206C_206C_206D_202A_200C_200C_206D_206D_202A_206D_206D_206D_200E_202C_202A_200D_200F_200C_206E_206B_206E_206F_200F_206F_200D_206F_206E_202A_206F_200E_206E_200B_206D_200E_206B_202B_202E((ILogger)_logger, global::_003CModule_003E._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(1718606289), new object[1] { MoogleDeliveryGenreId }); } else { MoogleDeliveryGenreId = null; - _logger.LogWarning("Could not find 'Delivery Moogle Quests' JournalGenre - moogle delivery quest detection may not work correctly"); + _202E_206B_206D_200E_202A_200D_206D_200F_200E_206A_200F_202D_206F_206C_200F_202B_206C_202E_200C_202B_202D_200C_206F_200B_202C_200D_202A_200B_202E_206A_206B_200C_206E_200B_206B_206F_200D_206E_202B_206C_202E((ILogger)_logger, global::_003CModule_003E._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(931762081), Array.Empty()); } - List list = (from x in excelSheet - where x.RowId != 0 && x.Icon > 0 + ApplyGenreOverrides(excelSheet2, questData); + List list = (from x in excelSheet.Where(delegate(JournalGenre x) + { + int num5 = ((x.RowId == 0) ? 267334401 : 267334402); + while (true) + { + int num6 = num5; + int num7 = 267334400; + int num8 = num6; + switch ((num8 | num7) - (num8 & num7)) + { + case 0: + goto IL_0048; + case 2: + return x.Icon > 0; + case 1: + return false; + } + continue; + IL_0048: + num5 = 267334402; + } + }) select new Genre(x, questData.GetAllByJournalGenre(x.RowId))).ToList(); QuestRedo row = dataManager.GetExcelSheet().GetRow(1u); QuestRedo row2 = dataManager.GetExcelSheet().GetRow(2u); QuestRedo row3 = dataManager.GetExcelSheet().GetRow(3u); - Genre genreLimsa = new Genre(4294967292u, "Starting in Limsa Lominsa", 1u, (from x in new uint[2] { 108u, 109u }.Concat(row.QuestRedoParam.Select((QuestRedo.QuestRedoParamStruct x) => x.Quest.RowId)) + Genre genreLimsa = new Genre(4294967292u, global::_003CModule_003E._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(-460614731), 1u, (from x in new uint[2] { 108u, 109u }.Concat(row.QuestRedoParam.Select((QuestRedo.QuestRedoParamStruct x) => x.Quest.RowId)) where x != 0 - select questData.GetQuestInfo(QuestId.FromRowId(x))).ToList()); - Genre genreGridania = new Genre(4294967293u, "Starting in Gridania", 1u, (from x in new uint[3] { 85u, 123u, 124u }.Concat(row2.QuestRedoParam.Select((QuestRedo.QuestRedoParamStruct x) => x.Quest.RowId)) + select questData.GetQuestInfo(_003C_003Ec__DisplayClass10_0._202A_200C_202A_202B_200E_206B_200E_200D_200C_202B_206D_206A_202A_200D_200B_202E_206C_202E_200C_202D_200C_206A_200E_200D_206E_206F_200C_206E_202E_206A_206D_200D_206D_206E_206F_206C_202B_206F_206C_202B_202E(x))).ToList()); + string name = global::_003CModule_003E._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(-890457159); + uint[] array = new uint[3]; + _206F_200F_202D_206E_202E_202C_200D_202D_202B_206A_202E_200F_202B_206E_200B_200D_206A_206A_200D_202A_200D_202D_202C_206A_200F_202E_202B_206F_202D_206A_202A_206F_200D_202D_200D_206A_200F_200B_200E_202B_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + Genre genreGridania = new Genre(4294967293u, name, 1u, (from x in array.Concat(row2.QuestRedoParam.Select((QuestRedo.QuestRedoParamStruct x) => x.Quest.RowId)) where x != 0 - select questData.GetQuestInfo(QuestId.FromRowId(x))).ToList()); - Genre genreUldah = new Genre(4294967294u, "Starting in Ul'dah", 1u, (from x in new uint[3] { 568u, 569u, 570u }.Concat(row3.QuestRedoParam.Select((QuestRedo.QuestRedoParamStruct x) => x.Quest.RowId)) + select questData.GetQuestInfo(_003C_003Ec__DisplayClass10_0._202A_200C_202A_202B_200E_206B_200E_200D_200C_202B_206D_206A_202A_200D_200B_202E_206C_202E_200C_202D_200C_206A_200E_200D_206E_206F_200C_206E_202E_206A_206D_200D_206D_206E_206F_206C_202B_206F_206C_202B_202E(x))).ToList()); + string name2 = global::_003CModule_003E._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(1348050745); + uint[] array2 = new uint[3]; + _206F_200F_202D_206E_202E_202C_200D_202D_202B_206A_202E_200F_202B_206E_200B_200D_206A_206A_200D_202A_200D_202D_202C_206A_200F_202E_202B_206F_202D_206A_202A_206F_200D_202D_200D_206A_200F_200B_200E_202B_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + Genre genreUldah = new Genre(4294967294u, name2, 1u, (from x in array2.Concat(row3.QuestRedoParam.Select((QuestRedo.QuestRedoParamStruct x) => x.Quest.RowId)) where x != 0 - select questData.GetQuestInfo(QuestId.FromRowId(x))).ToList()); + select questData.GetQuestInfo(_003C_003Ec__DisplayClass10_0._202A_200C_202A_202B_200E_206B_200E_200D_200C_202B_206D_206A_202A_200D_200B_202E_206C_202E_200C_202D_200C_206A_200E_200D_206E_206F_200C_206E_202E_206A_206D_200D_206D_206E_206F_206C_202B_206F_206C_202B_202E(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)); + list.Single((Genre x) => x.Id == 1).Quests.RemoveAll(delegate(IQuestInfo x) + { + int num5 = (genreLimsa.Quests.Contains(x) ? (-782963691) : (-782963692)); + while (true) + { + int num6 = num5; + int num7 = -782963690; + int num8 = num6; + switch ((num8 | num7) - (num8 & num7)) + { + case 0: + num5 = -782963692; + break; + case 3: + return true; + case 2: + num5 = (genreGridania.Quests.Contains(x) ? (-782963691) : (-782963689)); + break; + case 1: + return 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(delegate(IQuestInfo x) + { + int num5 = ((!(x is QuestInfo)) ? (-1514069229) : (-1514069232)); + while (true) + { + int num6 = num5; + int num7 = -1514069231; + int num8 = num6; + switch ((num8 | num7) - (num8 & num7)) + { + case 0: + goto IL_0046; + case 1: + return !assignedQuestIds.Contains(x.QuestId); + case 2: + return false; + } + continue; + IL_0046: + num5 = -1514069232; + } + }) + orderby x.SortKey, x.QuestId + select x).ToList(); + Genre genre = null; + if (list2.Count > 0) + { + _202E_206B_206D_200E_202A_200D_206D_200F_200E_206A_200F_202D_206F_206C_200F_202B_206C_202E_200C_202B_202D_200C_206F_200B_202C_200D_202A_200B_202E_206A_206B_200C_206E_200B_206B_206F_200D_206E_202B_206C_202E((ILogger)_logger, global::_003CModule_003E._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(767890868), new object[1] { list2.Count }); + foreach (QuestInfo item in list2) + { + _202E_206B_206D_200E_202A_200D_206D_200F_200E_206A_200F_202D_206F_206C_200F_202B_206C_202E_200C_202B_202D_200C_206F_200B_202C_200D_202A_200B_202E_206A_206B_200C_206E_200B_206B_206F_200D_206E_202B_206C_202E((ILogger)_logger, global::_003CModule_003E._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(-383819874), new object[3] { item.QuestId, item.Name, item.JournalGenre }); + } + genre = new Genre(4294967291u, global::_003CModule_003E._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(2017945527), 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, global::_003CModule_003E._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(-968948352), (uint)valueOrDefault, new global::_003C_003Ez__ReadOnlySingleElementList(genre))); + } + else + { + _202E_206B_206D_200E_202A_200D_206D_200F_200E_206A_200F_202D_206F_206C_200F_202B_206C_202E_200C_202B_202D_200C_206F_200B_202C_200D_202A_200B_202E_206A_206B_200C_206E_200B_206B_206F_200D_206E_202B_206C_202E((ILogger)_logger, global::_003CModule_003E._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(997441759), new object[1] { 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; + IEnumerator enumerator2 = section.Categories.GetEnumerator(); + try { - foreach (Category category in section.Categories) + while (_206A_200F_200F_200D_206B_206E_206F_206E_206E_202A_202B_206B_206C_202A_200C_200C_202E_200B_200E_200C_202A_202B_202D_206C_200B_200C_206E_206F_202A_202B_200E_206E_206F_202C_200D_206B_200B_202C_206E_200C_202E((IEnumerator)enumerator2)) { - foreach (Genre genre in category.Genres) + IEnumerator enumerator3 = enumerator2.Current.Genres.GetEnumerator(); + try { - genre.IsUnderOtherQuests = true; - num++; + while (_206A_200F_200F_200D_206B_206E_206F_206E_206E_202A_202B_206B_206C_202A_200C_200C_202E_200B_200E_200C_202A_202B_202D_206C_200B_200C_206E_206F_202A_202B_200E_206E_206F_202C_200D_206B_200B_202C_206E_200C_202E((IEnumerator)enumerator3)) + { + enumerator3.Current.IsUnderOtherQuests = true; + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); + } + } + finally + { + if (enumerator3 != null) + { + _202A_202C_200B_200C_206E_200F_200B_200F_202B_206E_200D_202E_200C_200D_202A_200B_200E_206C_202B_200E_206C_206A_206F_202C_202C_206B_206C_206D_206D_200F_200F_206F_206D_200D_206B_206F_200D_206F_202E_200E_202E((IDisposable)enumerator3); + } } } - return; } + finally + { + if (enumerator2 != null) + { + _202A_202C_200B_200C_206E_200F_200B_200F_202B_206E_200D_202E_200C_200D_202A_200B_200E_206C_202B_200E_206C_206A_206F_202C_202C_206B_206C_206D_206D_200F_200F_206F_206D_200D_206B_206F_200D_206F_202E_200E_202E((IDisposable)enumerator2); + } + } + _200B_202D_200B_206B_206C_206C_206D_202A_200C_200C_206D_206D_202A_206D_206D_206D_200E_202C_202A_200D_200F_200C_206E_206B_206E_206F_200F_206F_200D_206F_206E_202A_206F_200E_206E_200B_206D_200E_206B_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1290974398), new object[2] { num, valueOrDefault2 }); + } + else + { + _202E_206B_206D_200E_202A_200D_206D_200F_200E_206A_200F_202D_206F_206C_200F_202B_206C_202E_200C_202B_202D_200C_206F_200B_202C_200D_202A_200B_202E_206A_206B_200C_206E_200B_206B_206F_200D_206E_202B_206C_202E((ILogger)_logger, global::_003CModule_003E._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(510378782), new object[1] { 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"); + _200B_202D_200B_206B_206C_206C_206D_202A_200C_200C_206D_206D_202A_206D_206D_206D_200E_202C_202A_200D_200F_200C_206E_206B_206E_206F_200F_206F_200D_206F_206E_202A_206F_200E_206E_200B_206D_200E_206B_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-1552904642), Array.Empty()); } } - private int? GetOtherQuestsSectionRowId(IDataManager dataManager) + [MethodImpl(MethodImplOptions.NoInlining)] + 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(_206C_200E_206D_200B_206E_206D_202D_202E_206E_202C_206E_202E_206C_202D_200C_202D_202C_206E_202E_200E_200F_200D_200F_202E_206F_206E_200C_206D_202C_206A_200D_206D_200C_202A_200E_200D_202C_206F_206E_206C_202E()); + int num; + using (ExcelSheet.Enumerator enumerator = journalGenreSheetEnglish.GetEnumerator()) { - Section section = Sections.FirstOrDefault((Section s) => s.Name.Equals("Other Quests", StringComparison.OrdinalIgnoreCase)); - if (section != null) + num = 1219654826; + JournalGenre current = default(JournalGenre); + while (true) { - result = (int)section.Id; + int num2 = num; + int num3 = 1219654830; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + dictionary.TryAdd(current.Name.ToString(), current.RowId); + num = 1219654826; + break; + case 3: + num = (current.Name.IsEmpty ? 1219654826 : 1219654831); + break; + case 4: + num = (enumerator.MoveNext() ? 1219654827 : 1219654828); + break; + case 0: + num = 1219654826; + break; + case 5: + current = enumerator.Current; + num = ((current.RowId == 0) ? 1219654826 : 1219654829); + break; + case 2: + goto end_IL_001e; + } + continue; + end_IL_001e: + break; } } - return result; + int num7 = 0; + using (Dictionary.Enumerator enumerator2 = QuestGenreOverrides.GetEnumerator()) + { + num = -823786483; + ushort num10 = default(ushort); + string text = default(string); + uint value = default(uint); + IQuestInfo questInfo2 = default(IQuestInfo); + QuestInfo questInfo = default(QuestInfo); + while (true) + { + int num8 = num; + int num3 = -823786491; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + num = (enumerator2.MoveNext() ? (-823786495) : (-823786492)); + break; + case 4: + { + enumerator2.Current.Deconstruct(out var key, out var value2); + num10 = key; + text = value2; + num = (dictionary.TryGetValue(text, out value) ? (-823786493) : (-823786484)); + break; + } + case 6: + num = ((!questData.TryGetQuestInfo(_206F_206B_200F_202D_206E_202D_200F_200D_202B_200C_200B_206C_202C_202E_200E_206D_200E_206F_206C_200F_200B_200C_202E_202A_206A_202B_200C_200E_200F_202C_202E_206A_202D_202D_206D_206E_200D_206B_200D_202B_202E(num10), out questInfo2)) ? (-823786483) : (-823786494)); + break; + case 0: + questInfo.JournalGenre = value; + num = ((!SortKeyZeroOverrides.Contains(num10)) ? (-823786490) : (-823786489)); + break; + case 5: + num = -823786483; + break; + case 9: + _202E_206B_206D_200E_202A_200D_206D_200F_200E_206A_200F_202D_206F_206C_200F_202B_206C_202E_200C_202B_202D_200C_206F_200B_202C_200D_202A_200B_202E_206A_206B_200C_206E_200B_206B_206F_200D_206E_202B_206C_202E((ILogger)_logger, global::_003CModule_003E._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(18183827), new object[2] { text, num10 }); + num = -823786483; + break; + case 2: + questInfo.SortKey = 0; + num = -823786490; + break; + case 7: + questInfo = questInfo2 as QuestInfo; + num = ((questInfo == null) ? (-823786490) : (-823786491)); + break; + case 3: + { + int num9 = num7; + num3 = 1; + num4 = num9; + num7 = (num4 | num3) + (num4 & num3); + num = -823786483; + break; + } + case 1: + goto end_IL_013f; + } + continue; + end_IL_013f: + break; + } + } + num = ((num7 <= 0) ? (-869321296) : (-869321295)); + while (true) + { + int num11 = num; + int num3 = -869321296; + int num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -869321295; + break; + case 1: + _200B_202D_200B_206B_206C_206C_206D_202A_200C_200C_206D_206D_202A_206D_206D_206D_200E_202C_202A_200D_200F_200C_206E_206B_206E_206F_200F_206F_200D_206F_206E_202A_206F_200E_206E_200B_206D_200E_206B_202B_202E((ILogger)_logger, global::_003CModule_003E._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(-2050146357), new object[1] { num7 }); + num = -869321296; + break; + case 0: + return; + } + } + } + + private static int? GetOtherQuestsSectionRowId(IDataManager dataManager) + { + JournalSection journalSection = dataManager.GetExcelSheet(ClientLanguage.English).FirstOrDefault([MethodImpl(MethodImplOptions.NoInlining)] (JournalSection s) => _003C_003Ec._202B_200C_200B_202A_206D_206F_206C_200C_200C_200D_202C_202A_206E_206F_200E_202D_200B_200D_200B_202C_200C_202E_200F_200B_200C_200E_206D_202D_206C_202B_206C_206F_206C_200E_206E_206D_206D_200F_202D_202D_202E(s.Name.ToString(), global::_003CModule_003E._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(1421434526))); + int num = ((journalSection.RowId != 0) ? (-24571895) : (-24571896)); + while (true) + { + int num2 = num; + int num3 = -24571895; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_007f; + case 1: + return null; + case 0: + return (int)journalSection.RowId; + } + continue; + IL_007f: + num = -24571896; + } + } + + static void _200B_202D_200B_206B_206C_206C_206D_202A_200C_200C_206D_206D_202A_206D_206D_206D_200E_202C_202A_200D_200F_200C_206E_206B_206E_206F_200F_206F_200D_206F_206E_202A_206F_200E_206E_200B_206D_200E_206B_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _202E_206B_206D_200E_202A_200D_206D_200F_200E_206A_200F_202D_206F_206C_200F_202B_206C_202E_200C_202B_202D_200C_206F_200B_202C_200D_202A_200B_202E_206A_206B_200C_206E_200B_206B_206F_200D_206E_202B_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _206F_200F_202D_206E_202E_202C_200D_202D_202B_206A_202E_200F_202B_206E_200B_200D_206A_206A_200D_202A_200D_202D_202C_206A_200F_202E_202B_206F_202D_206A_202A_206F_200D_202D_200D_206A_200F_200B_200E_202B_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } + + static bool _206A_200F_200F_200D_206B_206E_206F_206E_206E_202A_202B_206B_206C_202A_200C_200C_202E_200B_200E_200C_202A_202B_202D_206C_200B_200C_206E_206F_202A_202B_200E_206E_206F_202C_200D_206B_200B_202C_206E_200C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202A_202C_200B_200C_206E_200F_200B_200F_202B_206E_200D_202E_200C_200D_202A_200B_200E_206C_202B_200E_206C_206A_206F_202C_202C_206B_206C_206D_206D_200F_200F_206F_206D_200D_206B_206F_200D_206F_202E_200E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static StringComparer _206C_200E_206D_200B_206E_206D_202D_202E_206E_202C_206E_202E_206C_202D_200C_202D_202C_206E_202E_200E_200F_200D_200F_202E_206F_206E_200C_206D_202C_206A_200D_206D_200C_202A_200E_200D_202C_206F_206E_206C_202E() + { + return StringComparer.OrdinalIgnoreCase; + } + + static QuestId _206F_206B_200F_202D_206E_202D_200F_200D_202B_200C_200B_206C_202C_202E_200E_206D_200E_206F_206C_200F_200B_200C_202E_202A_206A_202B_200C_200E_200F_202C_202E_206A_202D_202D_206D_206E_200D_206B_200D_202B_202E(ushort P_0) + { + return new QuestId(P_0); } } diff --git a/Questionable/Questionable.Data/MenderDataService.cs b/Questionable/Questionable.Data/MenderDataService.cs new file mode 100644 index 00000000..1d4beab5 --- /dev/null +++ b/Questionable/Questionable.Data/MenderDataService.cs @@ -0,0 +1,250 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Threading; +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 = _202D_200B_206C_206F_206B_202D_202D_200C_206E_200B_202C_202E_202B_202B_202E_202B_206C_200E_200F_200D_202D_200F_206F_202D_200B_206D_200C_202D_206C_202D_200E_206C_200E_202E_206B_206D_202A_202A_206B_202D_202E(); + + private ILookup? _byTerritory; + + public MenderNpc? FindNearestInTerritory(ushort territoryId, Vector3 nearPosition) + { + object obj = _lock; + bool flag = false; + ILookup lookup; + try + { + _206B_206E_200F_206B_206C_202D_202D_200F_200D_200D_202E_200B_202A_206C_202C_206F_202A_200F_206C_202E_202C_206E_200F_206C_200E_206F_202E_200F_202E_206E_200B_200E_202E_206D_202D_202B_200B_200E_206A_206D_202E(obj, ref flag); + int num = ((_byTerritory != null) ? 669180943 : 669180941); + while (true) + { + int num2 = num; + int num3 = 669180942; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 669180941; + break; + case 2: + return null; + case 3: + num = (_206C_206D_206D_202A_206C_206A_206F_202C_200B_202E_206D_200C_206F_202A_200C_202D_202D_202E_206E_200C_202D_206B_200D_202D_200F_202C_200B_206D_200C_206A_206B_202D_202D_200E_206B_202E_202B_206B_206B_206C_202E(npcPositionCache) ? 669180943 : 669180940); + break; + case 1: + lookup = _byTerritory ?? (_byTerritory = BuildIndex()); + goto end_IL_0041; + } + continue; + end_IL_0041: + break; + } + } + finally + { + int num = ((!flag) ? 242402811 : 242402808); + while (true) + { + int num7 = num; + int num3 = 242402810; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 242402808; + break; + case 2: + _206A_202A_206B_200D_200F_206D_200B_202A_200E_206C_202B_200D_200E_202B_206D_200D_202D_200C_206C_200F_206F_206A_206A_206C_200C_206C_206B_200C_206A_202B_206A_202D_206A_206E_206C_206D_200F_206D_200B_206B_202E(obj); + num = 242402811; + break; + case 1: + goto end_IL_00fd; + } + continue; + end_IL_00fd: + break; + } + } + return lookup[territoryId].OrderBy((MenderNpc x) => Vector3.DistanceSquared(x.Position, nearPosition)).FirstOrDefault(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private ILookup BuildIndex() + { + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + List list = new List(); + IEnumerator enumerator = _200C_206D_202E_200C_202C_206C_200E_206C_206B_202C_200B_202B_206A_202C_206B_206E_202E_200E_202C_202D_202E_202B_206A_202D_200E_206C_206D_200C_202B_202C_202A_206B_200E_206E_200C_206C_200C_206A_206A_202E_202E(npcPositionCache).GetEnumerator(); + try + { + int num = -898238961; + bool flag = default(bool); + int num5 = default(int); + (ushort, Vector3)? tuple = default((ushort, Vector3)?); + uint current = default(uint); + ENpcBase row = default(ENpcBase); + while (true) + { + int num2 = num; + int num3 = -898238961; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + flag = false; + num5 = 0; + num = -898238963; + break; + case 8: + tuple = _202E_202B_206D_200C_200B_200E_206F_200C_202B_202D_206A_206A_206A_206D_206B_200D_206B_206F_206A_206C_200E_206C_200F_202E_202B_206A_200B_206E_200D_206D_206F_206D_206E_206E_206A_206D_200E_200E_206B_206D_202E(npcPositionCache, current); + num = ((!tuple.HasValue) ? (-898238961) : (-898238971)); + break; + case 3: + num = -898238961; + break; + case 9: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = -898238963; + break; + } + case 1: + flag = true; + num = -898238967; + break; + case 0: + num = (_202D_202D_200C_200B_202B_206B_206E_206E_202B_206B_206D_206D_202A_206F_202C_200F_202E_206B_202A_206E_206A_200E_206F_200B_206B_200B_202A_200C_202E_200E_202C_206A_206F_206F_200D_206D_200B_200E_200C_202D_202E((IEnumerator)enumerator) ? (-898238965) : (-898238972)); + break; + case 4: + current = enumerator.Current; + num = ((!excelSheet.TryGetRow(current, out row)) ? (-898238961) : (-898238966)); + break; + case 2: + num = ((num5 < row.ENpcData.Count) ? (-898238968) : (-898238967)); + break; + case 6: + num = ((!flag) ? (-898238961) : (-898238969)); + break; + case 7: + num = ((row.ENpcData[num5].RowId != 720915) ? (-898238970) : (-898238962)); + break; + case 10: + { + (ushort, Vector3) valueOrDefault = tuple.GetValueOrDefault(); + list.Add(new MenderNpc(current, valueOrDefault.Item1, valueOrDefault.Item2)); + num = -898238961; + break; + } + case 11: + goto end_IL_0039; + } + continue; + end_IL_0039: + break; + } + } + finally + { + int num = ((enumerator == null) ? (-506737452) : (-506737451)); + while (true) + { + int num9 = num; + int num3 = -506737452; + int num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 2: + num = -506737451; + break; + case 0: + goto end_IL_023b; + case 1: + _206F_206B_206A_202C_200F_200D_206D_200B_202B_206A_202E_202E_200E_200C_200F_206C_202E_202E_206A_202B_200E_206A_206D_202E_206C_202A_206B_200D_202C_206B_202C_202C_202C_200D_206E_202B_202E_200E_206F_206B_202E((IDisposable)enumerator); + num = -506737452; + break; + } + continue; + end_IL_023b: + break; + } + } + _206D_206B_200C_206E_202E_200B_206B_202C_206A_202A_202E_200C_206A_200E_206C_202A_200B_206C_202B_202B_206C_206D_202D_206A_202D_206D_202B_206E_200B_206B_200B_206A_206D_200B_206C_206D_206A_200E_202B_206B_202E((ILogger)logger, global::_003CModule_003E._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(1337223984), new object[2] + { + list.Count, + list.Select((MenderNpc x) => x.TerritoryId).Distinct().Count() + }); + return list.ToLookup((MenderNpc x) => x.TerritoryId); + } + + static object _202D_200B_206C_206F_206B_202D_202D_200C_206E_200B_202C_202E_202B_202B_202E_202B_206C_200E_200F_200D_202D_200F_206F_202D_200B_206D_200C_202D_206C_202D_200E_206C_200E_202E_206B_206D_202A_202A_206B_202D_202E() + { + return new object(); + } + + static void _206B_206E_200F_206B_206C_202D_202D_200F_200D_200D_202E_200B_202A_206C_202C_206F_202A_200F_206C_202E_202C_206E_200F_206C_200E_206F_202E_200F_202E_206E_200B_200E_202E_206D_202D_202B_200B_200E_206A_206D_202E(object P_0, ref bool P_1) + { + Monitor.Enter(P_0, ref P_1); + } + + static bool _206C_206D_206D_202A_206C_206A_206F_202C_200B_202E_206D_200C_206F_202A_200C_202D_202D_202E_206E_200C_202D_206B_200D_202D_200F_202C_200B_206D_200C_206A_206B_202D_202D_200E_206B_202E_202B_206B_206B_206C_202E(NpcPositionCache P_0) + { + return P_0.IsBuilt; + } + + static void _206A_202A_206B_200D_200F_206D_200B_202A_200E_206C_202B_200D_200E_202B_206D_200D_202D_200C_206C_200F_206F_206A_206A_206C_200C_206C_206B_200C_206A_202B_206A_202D_206A_206E_206C_206D_200F_206D_200B_206B_202E(object P_0) + { + Monitor.Exit(P_0); + } + + static IReadOnlyCollection _200C_206D_202E_200C_202C_206C_200E_206C_206B_202C_200B_202B_206A_202C_206B_206E_202E_200E_202C_202D_202E_202B_206A_202D_200E_206C_206D_200C_202B_202C_202A_206B_200E_206E_200C_206C_200C_206A_206A_202E_202E(NpcPositionCache P_0) + { + return P_0.GetAllNpcIds(); + } + + static (ushort, Vector3)? _202E_202B_206D_200C_200B_200E_206F_200C_202B_202D_206A_206A_206A_206D_206B_200D_206B_206F_206A_206C_200E_206C_200F_202E_202B_206A_200B_206E_200D_206D_206F_206D_206E_206E_206A_206D_200E_200E_206B_206D_202E(NpcPositionCache P_0, uint P_1) + { + return P_0.GetPosition(P_1); + } + + static bool _202D_202D_200C_200B_202B_206B_206E_206E_202B_206B_206D_206D_202A_206F_202C_200F_202E_206B_202A_206E_206A_200E_206F_200B_206B_200B_202A_200C_202E_200E_202C_206A_206F_206F_200D_206D_200B_200E_200C_202D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206F_206B_206A_202C_200F_200D_206D_200B_202B_206A_202E_202E_200E_200C_200F_206C_202E_202E_206A_202B_200E_206A_206D_202E_206C_202A_206B_200D_202C_206B_202C_202C_202C_200D_206E_202B_202E_200E_206F_206B_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _206D_206B_200C_206E_202E_200B_206B_202C_206A_202A_202E_200C_206A_200E_206C_202A_200B_206C_202B_202B_206C_206D_202D_206A_202D_206D_202B_206E_200B_206B_200B_206A_206D_200B_206C_206D_206A_200E_202B_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } +} diff --git a/Questionable/Questionable.Data/MenderNpc.cs b/Questionable/Questionable.Data/MenderNpc.cs new file mode 100644 index 00000000..32dd7278 --- /dev/null +++ b/Questionable/Questionable.Data/MenderNpc.cs @@ -0,0 +1,142 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace Questionable.Data; + +internal sealed record MenderNpc(uint DataId, ushort TerritoryId, Vector3 Position) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_202D_202A_202B_202C_202C_200D_202A_200B_206A_206A_200F_200F_200D_200D_202B_200D_200F_202B_206E_200D_202A_200C_206C_200F_200E_206E_202B_202A_202E_202E_200E_200E_200B_206C_202E_200B_200C_200F_200D_202E(typeof(MenderNpc).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206B_200B_200E_200B_202E_200F_206D_202E_206A_206F_206F_202A_206D_200D_206C_206F_206B_202C_206D_202A_202E_206D_206B_206C_206F_206E_206C_202E_200D_200F_206A_200E_200F_206C_202C_206C_200E_200C_200B_206E_202E(); + _202D_200B_206F_206D_200F_202C_200B_206F_206F_206E_200E_206B_206F_202C_200C_202A_202A_200E_202A_200E_202B_200C_206B_200B_202D_206C_202B_200E_206A_202D_200B_202C_206A_202E_202A_206C_206E_202B_200F_206B_202E(stringBuilder, global::_003CModule_003E._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(-2011938778)); + _202D_200B_206F_206D_200F_202C_200B_206F_206F_206E_200E_206B_206F_202C_200C_202A_202A_200E_202A_200E_202B_200C_206B_200B_202D_206C_202B_200E_206A_202D_200B_202C_206A_202E_202A_206C_206E_202B_200F_206B_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? 1620281513 : 1620281514); + while (true) + { + int num2 = num; + int num3 = 1620281515; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1620281514; + break; + case 2: + _206B_206C_202A_202C_202A_202D_202E_200C_202D_206C_200C_206B_206F_202B_206A_200D_206F_206F_202D_200D_200B_200F_200C_206E_200E_206A_200F_206F_200B_200D_206D_206E_202E_206D_206F_206E_202C_200B_200D_202E_202E(stringBuilder, '}'); + return _206C_206D_202B_200F_200B_202D_200D_200D_206E_202E_202B_202E_200B_200F_206A_202B_200E_202D_202B_206E_202D_206D_200E_202B_200C_202A_202E_200D_202C_206A_202C_206C_200C_200B_200B_206C_202E_200D_206A_206C_202E((object)stringBuilder); + case 1: + _206B_206C_202A_202C_202A_202D_202E_200C_202D_206C_200C_206B_206F_202B_206A_200D_206F_206F_202D_200D_200B_200F_200C_206E_200E_206A_200F_206F_200B_200D_206D_206E_202E_206D_206F_206E_202C_200B_200D_202E_202E(stringBuilder, ' '); + num = 1620281513; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202C_200D_206D_202E_202D_200C_200E_200B_206A_206C_202D_202C_200E_200E_200D_206E_200C_202D_202D_206F_200E_200B_200D_202D_206B_200C_202C_200C_206F_206B_202A_200B_200E_202D_206A_202E_200C_200D_206F_206B_202E(); + _202D_200B_206F_206D_200F_202C_200B_206F_206F_206E_200E_206B_206F_202C_200C_202A_202A_200E_202A_200E_202B_200C_206B_200B_202D_206C_202B_200E_206A_202D_200B_202C_206A_202E_202A_206C_206E_202B_200F_206B_202E(builder, global::_003CModule_003E._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(931106117)); + _202D_200B_206F_206D_200F_202C_200B_206F_206F_206E_200E_206B_206F_202C_200C_202A_202A_200E_202A_200E_202B_200C_206B_200B_202D_206C_202B_200E_206A_202D_200B_202C_206A_202E_202A_206C_206E_202B_200F_206B_202E(builder, DataId.ToString()); + _202D_200B_206F_206D_200F_202C_200B_206F_206F_206E_200E_206B_206F_202C_200C_202A_202A_200E_202A_200E_202B_200C_206B_200B_202D_206C_202B_200E_206A_202D_200B_202C_206A_202E_202A_206C_206E_202B_200F_206B_202E(builder, global::_003CModule_003E._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(1203255248)); + _202D_200B_206F_206D_200F_202C_200B_206F_206F_206E_200E_206B_206F_202C_200C_202A_202A_200E_202A_200E_202B_200C_206B_200B_202D_206C_202B_200E_206A_202D_200B_202C_206A_202E_202A_206C_206E_202B_200F_206B_202E(builder, TerritoryId.ToString()); + _202D_200B_206F_206D_200F_202C_200B_206F_206F_206E_200E_206B_206F_202C_200C_202A_202A_200E_202A_200E_202B_200C_206B_200B_202D_206C_202B_200E_206A_202D_200B_202C_206A_202E_202A_206C_206E_202B_200F_206B_202E(builder, global::_003CModule_003E._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(-485383452)); + _202D_200B_206F_206D_200F_202C_200B_206F_206F_206E_200E_206B_206F_202C_200C_202A_202A_200E_202A_200E_202B_200C_206B_200B_202D_206C_202B_200E_206A_202D_200B_202C_206A_202E_202A_206C_206E_202B_200F_206B_202E(builder, Position.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(MenderNpc? other) + { + int num = (((object)this == other) ? (-1137408190) : (-1137408186)); + while (true) + { + int num2 = num; + int num3 = -1137408191; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return EqualityComparer.Default.Equals(Position, other.Position); + case 7: + num = (((object)other == null) ? (-1137408192) : (-1137408185)); + break; + case 6: + num = ((!_202E_202B_202A_206A_202C_200F_206F_200B_200B_200F_202A_206A_200E_200E_200E_202D_202E_202B_206B_200E_206A_202D_206A_206B_206E_206D_206D_202E_206D_202A_206E_200E_200D_206F_206A_206D_200C_200E_206E_206E_202E(EqualityContract, other.EqualityContract)) ? (-1137408192) : (-1137408189)); + break; + case 1: + return false; + case 5: + num = -1137408186; + break; + case 2: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? (-1137408192) : (-1137408191)); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? (-1137408192) : (-1137408187)); + break; + case 3: + return true; + } + } + } + + bool IEquatable.Equals(MenderNpc? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_202D_202A_202B_202C_202C_200D_202A_200B_206A_206A_200F_200F_200D_200D_202B_200D_200F_202B_206E_200D_202A_200C_206C_200F_200E_206E_202B_202A_202E_202E_200E_200E_200B_206C_202E_200B_200C_200F_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206B_200B_200E_200B_202E_200F_206D_202E_206A_206F_206F_202A_206D_200D_206C_206F_206B_202C_206D_202A_202E_206D_206B_206C_206F_206E_206C_202E_200D_200F_206A_200E_200F_206C_202C_206C_200E_200C_200B_206E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202D_200B_206F_206D_200F_202C_200B_206F_206F_206E_200E_206B_206F_202C_200C_202A_202A_200E_202A_200E_202B_200C_206B_200B_202D_206C_202B_200E_206A_202D_200B_202C_206A_202E_202A_206C_206E_202B_200F_206B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_206C_202A_202C_202A_202D_202E_200C_202D_206C_200C_206B_206F_202B_206A_200D_206F_206F_202D_200D_200B_200F_200C_206E_200E_206A_200F_206F_200B_200D_206D_206E_202E_206D_206F_206E_202C_200B_200D_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_206D_202B_200F_200B_202D_200D_200D_206E_202E_202B_202E_200B_200F_206A_202B_200E_202D_202B_206E_202D_206D_200E_202B_200C_202A_202E_200D_202C_206A_202C_206C_200C_200B_200B_206C_202E_200D_206A_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202C_200D_206D_202E_202D_200C_200E_200B_206A_206C_202D_202C_200E_200E_200D_206E_200C_202D_202D_206F_200E_200B_200D_202D_206B_200C_202C_200C_206F_206B_202A_200B_200E_202D_206A_202E_200C_200D_206F_206B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _202E_202B_202A_206A_202C_200F_206F_200B_200B_200F_202A_206A_200E_200E_200E_202D_202E_202B_206B_200E_206A_202D_206A_206B_206E_206D_206D_202E_206D_202A_206E_200E_200D_206F_206A_206D_200C_200E_206E_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Data/NpcPositionCacheWarmer.cs b/Questionable/Questionable.Data/NpcPositionCacheWarmer.cs new file mode 100644 index 00000000..c4e7474f --- /dev/null +++ b/Questionable/Questionable.Data/NpcPositionCacheWarmer.cs @@ -0,0 +1,212 @@ +using System; +using System.Runtime.CompilerServices; +using System.Threading; +using LLib.Shop; +using Microsoft.Extensions.Logging; +using SmartNav; +using SmartNav.Data; + +namespace Questionable.Data; + +internal sealed class NpcPositionCacheWarmer : IDisposable +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass2_0 + { + public NpcPositionCache npcPositionCache; + + public NpcPositionCacheWarmer _003C_003E4__this; + + public WarpDataService warpDataService; + + public NavRouter navRouter; + + public ILogger logger; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal void _003C_002Ector_003Eb__0() + { + try + { + _200C_206B_200C_200D_202B_200D_200C_206F_200E_200B_206F_200F_206B_206A_202B_206B_200F_200D_200B_202C_206D_200F_200D_202E_200C_206F_202E_202B_202D_206A_206C_202D_200F_202E_200E_200F_200C_206E_206F_200D_202E(npcPositionCache, _206D_206C_200B_200B_206A_206C_200C_206F_200C_202D_206E_202D_206D_200B_206A_202B_200D_206B_206D_206A_200C_200F_200F_202C_200D_206F_200E_206B_206B_200B_200C_206B_206A_200C_200E_202B_206F_200E_200B_206A_202E(_003C_003E4__this._cts)); + int num = ((!_202A_202B_206C_200C_206A_200F_202B_202D_200C_200B_206D_202C_206D_206D_202A_206F_200C_206E_202E_206A_206E_202E_206B_206E_200B_202B_200E_202D_200D_206F_200C_206C_200B_200D_200D_200C_206A_206D_200F_200F_202E(warpDataService)) ? 2029447289 : 2029447288); + while (true) + { + int num2 = num; + int num3 = 2029447289; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 2029447288; + break; + case 1: + _206A_200B_206D_206D_202B_200D_206D_206C_200D_200F_206C_200D_202E_206C_206C_206F_200C_200B_206F_206C_206A_206E_206A_206D_200D_200F_202A_202A_200E_202A_200F_206C_206D_206C_202B_200D_200C_202B_202B_202E(navRouter); + _200F_200B_202D_200E_200E_200B_200D_202D_206A_200C_206F_202E_200B_202A_206C_206C_206C_200B_202C_206F_200F_202D_200F_200B_206D_200B_200C_206D_200D_202D_206D_206C_200C_206A_200C_206A_202D_206D_200F_202C_202E((ILogger)logger, global::_003CModule_003E._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(-1529690412), Array.Empty()); + num = 2029447289; + break; + case 0: + return; + } + } + } + catch (OperationCanceledException) + { + } + catch (Exception ex2) + { + _206C_206D_206E_202A_200F_206A_202D_206C_206D_200F_206E_200D_206A_202A_200D_206A_206B_200F_206A_200D_206F_206C_206D_202D_200E_202B_202B_200C_206D_206F_202A_202A_202D_206E_200B_206F_200E_200B_200E_200E_202E((ILogger)logger, ex2, global::_003CModule_003E._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(-5610293), Array.Empty()); + } + } + + static CancellationToken _206D_206C_200B_200B_206A_206C_200C_206F_200C_202D_206E_202D_206D_200B_206A_202B_200D_206B_206D_206A_200C_200F_200F_202C_200D_206F_200E_206B_206B_200B_200C_206B_206A_200C_200E_202B_206F_200E_200B_206A_202E(CancellationTokenSource P_0) + { + return P_0.Token; + } + + static void _200C_206B_200C_200D_202B_200D_200C_206F_200E_200B_206F_200F_206B_206A_202B_206B_200F_200D_200B_202C_206D_200F_200D_202E_200C_206F_202E_202B_202D_206A_206C_202D_200F_202E_200E_200F_200C_206E_206F_200D_202E(NpcPositionCache P_0, CancellationToken P_1) + { + P_0.WarmUp(P_1); + } + + static bool _202A_202B_206C_200C_206A_200F_202B_202D_200C_200B_206D_202C_206D_206D_202A_206F_200C_206E_202E_206A_206E_202E_206B_206E_200B_202B_200E_202D_200D_206F_200C_206C_200B_200D_200D_200C_206A_206D_200F_200F_202E(WarpDataService P_0) + { + return P_0.ApplyDerivedSources(); + } + + static void _206A_200B_206D_206D_202B_200D_206D_206C_200D_200F_206C_200D_202E_206C_206C_206F_200C_200B_206F_206C_206A_206E_206A_206D_200D_200F_202A_202A_200E_202A_200F_206C_206D_206C_202B_200D_200C_202B_202B_202E(NavRouter P_0) + { + P_0.InvalidateStaticGraph(); + } + + static void _200F_200B_202D_200E_200E_200B_200D_202D_206A_200C_206F_202E_200B_202A_206C_206C_206C_200B_202C_206F_200F_202D_200F_200B_206D_200B_200C_206D_200D_202D_206D_206C_200C_206A_200C_206A_202D_206D_200F_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _206C_206D_206E_202A_200F_206A_202D_206C_206D_200F_206E_200D_206A_202A_200D_206A_206B_200F_206A_200D_206F_206C_206D_202D_200E_202B_202B_200C_206D_206F_202A_202A_202D_206E_200B_206F_200E_200B_200E_200E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + } + + private readonly CancellationTokenSource _cts = _206C_206D_202E_202B_202B_200F_202D_206B_206C_202B_200B_206B_202D_202C_206D_206A_202E_202B_202C_202B_206E_206D_206F_206E_200F_202C_206B_200C_206D_202E_202C_206A_202A_200D_206D_206F_202D_206E_206D_200D_202E(); + + private readonly Thread? _thread; + + [MethodImpl(MethodImplOptions.NoInlining)] + public NpcPositionCacheWarmer(NpcPositionCache npcPositionCache, WarpDataService warpDataService, NavRouter navRouter, ILogger logger) + { + NpcPositionCacheWarmer npcPositionCacheWarmer = this; + if (_200F_202E_206E_202D_200D_200E_200B_200E_200E_202A_206F_206C_202A_202A_200F_206E_202A_206C_202A_200D_200C_206D_202E_200B_202E_200E_202C_202A_206D_200B_206F_206F_206E_202E_200D_202B_206C_200E_202B_202E(npcPositionCache)) + { + return; + } + Thread thread = _206C_206C_202E_206A_200B_200D_200B_200E_200B_206D_200F_206F_200B_200E_200C_200D_200E_206F_206F_206C_200B_200C_206B_206B_202D_200E_206F_200E_202A_202C_206C_206E_206F_206D_202B_200E_200C_202B_206B_202C_202E((ThreadStart)([MethodImpl(MethodImplOptions.NoInlining)] () => + { + try + { + _003C_003Ec__DisplayClass2_0._200C_206B_200C_200D_202B_200D_200C_206F_200E_200B_206F_200F_206B_206A_202B_206B_200F_200D_200B_202C_206D_200F_200D_202E_200C_206F_202E_202B_202D_206A_206C_202D_200F_202E_200E_200F_200C_206E_206F_200D_202E(npcPositionCache, _003C_003Ec__DisplayClass2_0._206D_206C_200B_200B_206A_206C_200C_206F_200C_202D_206E_202D_206D_200B_206A_202B_200D_206B_206D_206A_200C_200F_200F_202C_200D_206F_200E_206B_206B_200B_200C_206B_206A_200C_200E_202B_206F_200E_200B_206A_202E(npcPositionCacheWarmer._cts)); + int num = ((!_003C_003Ec__DisplayClass2_0._202A_202B_206C_200C_206A_200F_202B_202D_200C_200B_206D_202C_206D_206D_202A_206F_200C_206E_202E_206A_206E_202E_206B_206E_200B_202B_200E_202D_200D_206F_200C_206C_200B_200D_200D_200C_206A_206D_200F_200F_202E(warpDataService)) ? 2029447289 : 2029447288); + while (true) + { + int num2 = num; + int num3 = 2029447289; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 2029447288; + break; + case 1: + _003C_003Ec__DisplayClass2_0._206A_200B_206D_206D_202B_200D_206D_206C_200D_200F_206C_200D_202E_206C_206C_206F_200C_200B_206F_206C_206A_206E_206A_206D_200D_200F_202A_202A_200E_202A_200F_206C_206D_206C_202B_200D_200C_202B_202B_202E(navRouter); + _003C_003Ec__DisplayClass2_0._200F_200B_202D_200E_200E_200B_200D_202D_206A_200C_206F_202E_200B_202A_206C_206C_206C_200B_202C_206F_200F_202D_200F_200B_206D_200B_200C_206D_200D_202D_206D_206C_200C_206A_200C_206A_202D_206D_200F_202C_202E((ILogger)logger, global::_003CModule_003E._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(-1529690412), Array.Empty()); + num = 2029447289; + break; + case 0: + return; + } + } + } + catch (OperationCanceledException) + { + } + catch (Exception ex2) + { + _003C_003Ec__DisplayClass2_0._206C_206D_206E_202A_200F_206A_202D_206C_206D_200F_206E_200D_206A_202A_200D_206A_206B_200F_206A_200D_206F_206C_206D_202D_200E_202B_202B_200C_206D_206F_202A_202A_202D_206E_200B_206F_200E_200B_200E_200E_202E((ILogger)logger, ex2, global::_003CModule_003E._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(-5610293), Array.Empty()); + } + })); + _202E_202A_200F_200E_202B_200F_200E_200B_202D_200F_206C_206D_202C_206E_202A_202C_202A_206C_200F_206B_200F_206F_206F_206F_206C_206B_206C_206D_206A_202C_200C_200C_200F_206D_206A_202C_202D_202A_206D_206A_202E(thread, true); + _206A_202B_202C_200E_200F_206B_200B_206F_202B_202A_206F_202B_206E_206D_206F_206B_206F_206F_206A_206F_206F_200B_200C_200D_200D_202C_206C_200E_202C_202A_202A_200C_202B_206F_206B_206E_206D_206E_202E_200D_202E(thread, ThreadPriority.BelowNormal); + _202B_206D_200D_206D_206B_202C_200D_202B_206A_206A_202C_202A_200E_202A_202D_200C_206E_200F_206D_206A_200B_200C_206E_206B_206B_200D_206C_200B_206B_206A_202C_202A_206E_206F_200D_206A_206B_200C_200E_202E_202E(thread, global::_003CModule_003E._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(277884647)); + _thread = thread; + _206D_200E_206A_200C_202B_202A_200F_202D_200C_206C_206C_200B_200B_206A_206D_206E_202D_202E_206A_200F_202A_202D_202B_200D_206C_200C_206F_200D_200B_206B_200C_200D_202A_202D_200C_200C_202A_206B_206E_200D_202E(_thread); + } + + public void Dispose() + { + _200D_206C_206C_200B_200D_202E_202D_206D_200D_202B_206E_202E_206B_200D_202A_200B_200B_200F_202E_202B_200B_206D_202E_206C_200C_200F_206D_202A_202B_202B_200F_202D_206E_202D_202E_202B_202B_200C_206B_200D_202E(_cts); + Thread? thread = _thread; + if (thread != null) + { + _206B_206B_200B_200F_206B_206D_202A_200E_206C_206C_206B_206C_206D_200C_206A_206E_200C_206A_202C_200D_202D_206C_206A_206A_202D_206B_202B_200C_206E_200D_202B_206F_200D_200B_202A_206E_206E_200B_200F_206A_202E(thread, TimeSpan.FromSeconds(1L)); + } + _206D_200D_202E_202D_200B_200C_202D_202E_202E_206E_206E_202A_200E_206F_206C_206A_202B_200B_206E_206F_200E_200B_200F_206E_200B_202B_206C_202A_206B_202A_200D_202A_206F_206A_202D_200D_200D_200D_202A_202B_202E(_cts); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static CancellationTokenSource _206C_206D_202E_202B_202B_200F_202D_206B_206C_202B_200B_206B_202D_202C_206D_206A_202E_202B_202C_202B_206E_206D_206F_206E_200F_202C_206B_200C_206D_202E_202C_206A_202A_200D_206D_206F_202D_206E_206D_200D_202E() + { + return new CancellationTokenSource(); + } + + static bool _200F_202E_206E_202D_200D_200E_200B_200E_200E_202A_206F_206C_202A_202A_200F_206E_202A_206C_202A_200D_200C_206D_202E_200B_202E_200E_202C_202A_206D_200B_206F_206F_206E_202E_200D_202B_206C_200E_202B_202E(NpcPositionCache P_0) + { + return P_0.IsBuilt; + } + + static Thread _206C_206C_202E_206A_200B_200D_200B_200E_200B_206D_200F_206F_200B_200E_200C_200D_200E_206F_206F_206C_200B_200C_206B_206B_202D_200E_206F_200E_202A_202C_206C_206E_206F_206D_202B_200E_200C_202B_206B_202C_202E(ThreadStart P_0) + { + return new Thread(P_0); + } + + static void _202E_202A_200F_200E_202B_200F_200E_200B_202D_200F_206C_206D_202C_206E_202A_202C_202A_206C_200F_206B_200F_206F_206F_206F_206C_206B_206C_206D_206A_202C_200C_200C_200F_206D_206A_202C_202D_202A_206D_206A_202E(Thread P_0, bool P_1) + { + P_0.IsBackground = P_1; + } + + static void _206A_202B_202C_200E_200F_206B_200B_206F_202B_202A_206F_202B_206E_206D_206F_206B_206F_206F_206A_206F_206F_200B_200C_200D_200D_202C_206C_200E_202C_202A_202A_200C_202B_206F_206B_206E_206D_206E_202E_200D_202E(Thread P_0, ThreadPriority P_1) + { + P_0.Priority = P_1; + } + + static void _202B_206D_200D_206D_206B_202C_200D_202B_206A_206A_202C_202A_200E_202A_202D_200C_206E_200F_206D_206A_200B_200C_206E_206B_206B_200D_206C_200B_206B_206A_202C_202A_206E_206F_200D_206A_206B_200C_200E_202E_202E(Thread P_0, string P_1) + { + P_0.Name = P_1; + } + + static void _206D_200E_206A_200C_202B_202A_200F_202D_200C_206C_206C_200B_200B_206A_206D_206E_202D_202E_206A_200F_202A_202D_202B_200D_206C_200C_206F_200D_200B_206B_200C_200D_202A_202D_200C_200C_202A_206B_206E_200D_202E(Thread P_0) + { + P_0.Start(); + } + + static void _200D_206C_206C_200B_200D_202E_202D_206D_200D_202B_206E_202E_206B_200D_202A_200B_200B_200F_202E_202B_200B_206D_202E_206C_200C_200F_206D_202A_202B_202B_200F_202D_206E_202D_202E_202B_202B_200C_206B_200D_202E(CancellationTokenSource P_0) + { + P_0.Cancel(); + } + + static bool _206B_206B_200B_200F_206B_206D_202A_200E_206C_206C_206B_206C_206D_200C_206A_206E_200C_206A_202C_200D_202D_206C_206A_206A_202D_206B_202B_200C_206E_200D_202B_206F_200D_200B_202A_206E_206E_200B_200F_206A_202E(Thread P_0, TimeSpan P_1) + { + return P_0.Join(P_1); + } + + static void _206D_200D_202E_202D_200B_200C_202D_202E_202E_206E_206E_202A_200E_206F_206C_206A_202B_200B_206E_206F_200E_200B_200F_206E_200B_202B_206C_202A_206B_202A_200D_202A_206F_206A_202D_200D_200D_200D_202A_202B_202E(CancellationTokenSource P_0) + { + P_0.Dispose(); + } +} diff --git a/Questionable/Questionable.Data/QuestChain.cs b/Questionable/Questionable.Data/QuestChain.cs new file mode 100644 index 00000000..7e71b3e8 --- /dev/null +++ b/Questionable/Questionable.Data/QuestChain.cs @@ -0,0 +1,147 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +using Questionable.Model.Questing; + +namespace Questionable.Data; + +internal sealed record QuestChain(List Ancestors, List Descendants, QuestId SelectedQuest) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206F_200D_202C_206B_200E_200B_200E_206E_206D_202C_202E_200F_202B_206E_200F_202D_206D_202E_206F_200C_206F_200F_202C_200F_206B_200F_206A_206C_206B_206B_200D_206F_206D_202A_200E_200E_200B_206D_202D_200F_202E(typeof(QuestChain).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_206F_206F_206C_206E_206E_200C_202D_202B_206E_202E_206D_206A_202D_206D_200F_202D_200F_200C_200C_202A_206E_200B_202A_202C_202A_202A_200C_200C_206E_202D_206D_202A_202E_206F_200B_200E_202B_206C_206E_202E(); + _206B_206B_202A_200F_200D_206E_206B_202B_202B_200D_200E_200F_206E_206C_206C_200F_202E_206E_202A_200B_206A_202A_206C_202A_206B_206C_206F_200E_206A_200D_200B_200C_200D_206D_200E_206D_206D_200C_206D_202D_202E(stringBuilder, global::_003CModule_003E._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(506864596)); + _206B_206B_202A_200F_200D_206E_206B_202B_202B_200D_200E_200F_206E_206C_206C_200F_202E_206E_202A_200B_206A_202A_206C_202A_206B_206C_206F_200E_206A_200D_200B_200C_200D_206D_200E_206D_206D_200C_206D_202D_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? (-121163571) : (-121163570)); + while (true) + { + int num2 = num; + int num3 = -121163569; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -121163570; + break; + case 1: + _206F_202C_206D_202C_202B_206C_206C_202C_206F_202C_200E_200B_200E_202A_202C_206F_200C_206C_200B_206B_200C_200F_206F_202E_206D_200B_206F_200E_200E_206F_202A_200B_202A_200F_206A_206C_202D_202E_206E_202C_202E(stringBuilder, ' '); + num = -121163571; + break; + case 2: + _206F_202C_206D_202C_202B_206C_206C_202C_206F_202C_200E_200B_200E_202A_202C_206F_200C_206C_200B_206B_200C_200F_206F_202E_206D_200B_206F_200E_200E_206F_202A_200B_202A_200F_206A_206C_202D_202E_206E_202C_202E(stringBuilder, '}'); + return _206A_200D_202E_200E_202C_202E_200F_200C_202E_206F_200E_202D_200C_202D_202B_202C_200E_202C_206A_206E_206A_202C_200B_202E_200B_206B_206D_200F_206A_200F_206D_202D_200F_202E_206A_206A_200C_206F_202E_206C_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200D_206E_206F_202A_200E_206E_206F_200E_202A_206D_206A_200B_202E_206A_206F_200B_206A_206B_200E_200C_206F_202B_206F_202D_200B_200F_200C_200B_202D_202A_200B_202B_202C_202A_202B_202A_200C_202E_202E_202E_202E(); + _206B_206B_202A_200F_200D_206E_206B_202B_202B_200D_200E_200F_206E_206C_206C_200F_202E_206E_202A_200B_206A_202A_206C_202A_206B_206C_206F_200E_206A_200D_200B_200C_200D_206D_200E_206D_206D_200C_206D_202D_202E(builder, global::_003CModule_003E._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(1980341055)); + _200C_200F_206D_206D_200E_206A_206D_200D_202B_206E_200B_200B_206B_206B_202D_200C_200B_200F_202C_202D_200E_202D_206D_202B_202C_200D_200D_200D_206E_202E_202E_200C_206A_206F_202B_202A_202D_206A_200F_202D_202E(builder, (object)Ancestors); + _206B_206B_202A_200F_200D_206E_206B_202B_202B_200D_200E_200F_206E_206C_206C_200F_202E_206E_202A_200B_206A_202A_206C_202A_206B_206C_206F_200E_206A_200D_200B_200C_200D_206D_200E_206D_206D_200C_206D_202D_202E(builder, global::_003CModule_003E._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(1369107064)); + _200C_200F_206D_206D_200E_206A_206D_200D_202B_206E_200B_200B_206B_206B_202D_200C_200B_200F_202C_202D_200E_202D_206D_202B_202C_200D_200D_200D_206E_202E_202E_200C_206A_206F_202B_202A_202D_206A_200F_202D_202E(builder, (object)Descendants); + _206B_206B_202A_200F_200D_206E_206B_202B_202B_200D_200E_200F_206E_206C_206C_200F_202E_206E_202A_200B_206A_202A_206C_202A_206B_206C_206F_200E_206A_200D_200B_200C_200D_206D_200E_206D_206D_200C_206D_202D_202E(builder, global::_003CModule_003E._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(-1311174638)); + _200C_200F_206D_206D_200E_206A_206D_200D_202B_206E_200B_200B_206B_206B_202D_200C_200B_200F_202C_202D_200E_202D_206D_202B_202C_200D_200D_200D_206E_202E_202E_200C_206A_206F_202B_202A_202D_206A_200F_202D_202E(builder, (object)SelectedQuest); + return true; + } + + [CompilerGenerated] + public bool Equals(QuestChain? other) + { + int num = (((object)this == other) ? 148556136 : 148556142); + while (true) + { + int num2 = num; + int num3 = 148556137; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = ((!_200E_200C_206D_206C_200D_206C_206E_202C_202C_206C_206E_206C_202E_200F_200F_200D_202D_202E_202E_202D_200D_200F_206B_200E_200E_206E_202A_202D_200D_202A_202B_206F_206D_200C_200D_206B_206C_200F_202E_206D_202E(EqualityContract, other.EqualityContract)) ? 148556141 : 148556140); + break; + case 0: + return EqualityComparer.Default.Equals(SelectedQuest, other.SelectedQuest); + case 1: + return true; + case 6: + num = ((!EqualityComparer>.Default.Equals(Descendants, other.Descendants)) ? 148556141 : 148556137); + break; + case 4: + return false; + case 5: + num = ((!EqualityComparer>.Default.Equals(Ancestors, other.Ancestors)) ? 148556141 : 148556143); + break; + case 7: + num = (((object)other == null) ? 148556141 : 148556138); + break; + case 2: + num = 148556142; + break; + } + } + } + + bool IEquatable.Equals(QuestChain? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206F_200D_202C_206B_200E_200B_200E_206E_206D_202C_202E_200F_202B_206E_200F_202D_206D_202E_206F_200C_206F_200F_202C_200F_206B_200F_206A_206C_206B_206B_200D_206F_206D_202A_200E_200E_200B_206D_202D_200F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202A_206F_206F_206C_206E_206E_200C_202D_202B_206E_202E_206D_206A_202D_206D_200F_202D_200F_200C_200C_202A_206E_200B_202A_202C_202A_202A_200C_200C_206E_202D_206D_202A_202E_206F_200B_200E_202B_206C_206E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206B_206B_202A_200F_200D_206E_206B_202B_202B_200D_200E_200F_206E_206C_206C_200F_202E_206E_202A_200B_206A_202A_206C_202A_206B_206C_206F_200E_206A_200D_200B_200C_200D_206D_200E_206D_206D_200C_206D_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206F_202C_206D_202C_202B_206C_206C_202C_206F_202C_200E_200B_200E_202A_202C_206F_200C_206C_200B_206B_200C_200F_206F_202E_206D_200B_206F_200E_200E_206F_202A_200B_202A_200F_206A_206C_202D_202E_206E_202C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206A_200D_202E_200E_202C_202E_200F_200C_202E_206F_200E_202D_200C_202D_202B_202C_200E_202C_206A_206E_206A_202C_200B_202E_200B_206B_206D_200F_206A_200F_206D_202D_200F_202E_206A_206A_200C_206F_202E_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200D_206E_206F_202A_200E_206E_206F_200E_202A_206D_206A_200B_202E_206A_206F_200B_206A_206B_200E_200C_206F_202B_206F_202D_200B_200F_200C_200B_202D_202A_200B_202B_202C_202A_202B_202A_200C_202E_202E_202E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200C_200F_206D_206D_200E_206A_206D_200D_202B_206E_200B_200B_206B_206B_202D_200C_200B_200F_202C_202D_200E_202D_206D_202B_202C_200D_200D_200D_206E_202E_202E_200C_206A_206F_202B_202A_202D_206A_200F_202D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200E_200C_206D_206C_200D_206C_206E_202C_202C_206C_206E_206C_202E_200F_200F_200D_202D_202E_202E_202D_200D_200F_206B_200E_200E_206E_202A_202D_200D_202A_202B_206F_206D_200C_200D_206B_206C_200F_202E_206D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Data/QuestChainBuilder.cs b/Questionable/Questionable.Data/QuestChainBuilder.cs new file mode 100644 index 00000000..6bf927db --- /dev/null +++ b/Questionable/Questionable.Data/QuestChainBuilder.cs @@ -0,0 +1,755 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Linq; +using System.Runtime.CompilerServices; +using Questionable.Model; +using Questionable.Model.Questing; + +namespace Questionable.Data; + +internal sealed class QuestChainBuilder +{ + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Comparison _003C_003E9__6_1; + + internal int _003CGetChainGraph_003Eb__6_1(QuestId a, QuestId b) + { + return _200D_202A_200B_200D_202E_206E_202C_206E_200E_206E_200D_206A_200F_202B_206B_206F_200C_202C_206D_202D_200C_200E_200E_202D_200F_200F_200F_200D_206A_206F_200D_202D_202E_206E_202D_206D_202E_200F_206C_200F_202E((ElementId)a).CompareTo(_200D_202A_200B_200D_202E_206E_202C_206E_200E_206E_200D_206A_200F_202B_206B_206F_200C_202C_206D_202D_200C_200E_200E_202D_200F_200F_200F_200D_206A_206F_200D_202D_202E_206E_202D_206D_202E_200F_206C_200F_202E((ElementId)b)); + } + + static ushort _200D_202A_200B_200D_202E_206E_202C_206E_200E_206E_200D_206A_200F_202B_206B_206F_200C_202C_206D_202D_200C_200E_200E_202D_200F_200F_200F_200D_206A_206F_200D_202D_202E_206E_202D_206D_202E_200F_206C_200F_202E(ElementId P_0) + { + return P_0.Value; + } + } + + 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; + IEnumerator> enumerator = _questData.AllQuests.GetEnumerator(); + try + { + while (_206F_202C_206E_206F_200B_206E_202D_200E_200E_200B_206A_206D_206E_200E_200E_200D_202E_200E_202B_206E_202E_206A_200C_202E_202C_206E_206B_200D_206C_200D_202A_202D_206D_206E_206B_200F_206C_206B_206D_206C_202E((IEnumerator)enumerator)) + { + var (elementId2, questInfo2) = (KeyValuePair)(ref enumerator.Current); + 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); + } + } + } + finally + { + if (enumerator != null) + { + _206F_202E_206D_200E_206A_206C_202D_206E_206E_206E_206F_206B_200D_200C_200D_202B_202A_200E_202A_206B_202A_206A_206A_200C_206F_206F_206F_206A_200B_202A_202E_202D_200E_202B_206E_206E_206D_200E_206F_200C_202E((IDisposable)enumerator); + } + } + } + + public QuestChain GetChain(QuestId questId) + { + QuestChain value; + int num = ((!_cache.TryGetValue(questId, out value)) ? (-1661948315) : (-1661948316)); + while (true) + { + int num2 = num; + int num3 = -1661948315; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + { + 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; + } + case 1: + return value; + case 2: + goto IL_009e; + } + continue; + IL_009e: + num = -1661948316; + } + } + + public QuestChainGraph GetChainGraph(QuestId questId) + { + int num = ((!_graphCache.TryGetValue(questId, out QuestChainGraph value)) ? 194094588 : 194094591); + Dictionary> prerequisites; + PreviousQuestInfo current3 = default(PreviousQuestInfo); + QuestId current7 = default(QuestId); + int num11 = default(int); + QuestId current8 = default(QuestId); + int num21 = default(int); + int num19 = default(int); + List> list2 = default(List>); + while (true) + { + int num2 = num; + int num3 = 194094590; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_005d; + case 1: + return value; + case 2: + { + HashSet hashSet = new HashSet(); + CollectAllRelated(questId, hashSet); + prerequisites = new Dictionary>(); + Dictionary> dictionary = new Dictionary>(); + using (HashSet.Enumerator enumerator = hashSet.GetEnumerator()) + { + num = 102426660; + while (true) + { + int num5 = num; + num3 = 102426662; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 102426660; + break; + case 2: + num = (enumerator.MoveNext() ? 102426661 : 102426663); + break; + case 3: + { + QuestId current = enumerator.Current; + prerequisites[current] = new List(); + dictionary[current] = new List(); + num = 102426660; + break; + } + case 1: + goto end_IL_009e; + } + continue; + end_IL_009e: + break; + } + } + foreach (QuestId item in hashSet) + { + if (!_questData.TryGetQuestInfo(item, out IQuestInfo questInfo)) + { + continue; + } + using ImmutableList.Enumerator enumerator2 = questInfo.PreviousQuests.GetEnumerator(); + num = 986674695; + while (true) + { + int num6 = num; + num3 = 986674692; + num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = (enumerator2.MoveNext() ? 986674694 : 986674693); + break; + case 4: + prerequisites[item].Add(current3.QuestId); + dictionary[current3.QuestId].Add(item); + num = 986674695; + break; + case 2: + current3 = enumerator2.Current; + num = ((!hashSet.Contains(current3.QuestId)) ? 986674695 : 986674688); + break; + case 0: + num = 986674695; + break; + case 1: + goto end_IL_0189; + } + continue; + end_IL_0189: + break; + } + } + Dictionary dictionary2 = new Dictionary(); + List list = hashSet.Where((QuestId q) => prerequisites[q].Count == 0).ToList(); + using (HashSet.Enumerator enumerator = hashSet.GetEnumerator()) + { + num = 1881646025; + while (true) + { + int num7 = num; + num3 = 1881646027; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1881646025; + break; + case 2: + num = (enumerator.MoveNext() ? 1881646026 : 1881646027); + break; + case 1: + { + QuestId current4 = enumerator.Current; + dictionary2[current4] = 0; + num = 1881646025; + break; + } + case 0: + goto end_IL_02bf; + } + continue; + end_IL_02bf: + break; + } + } + Dictionary dictionary3 = new Dictionary(); + using (HashSet.Enumerator enumerator = hashSet.GetEnumerator()) + { + num = -45802294; + while (true) + { + int num8 = num; + num3 = -45802293; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = (enumerator.MoveNext() ? (-45802295) : (-45802296)); + break; + case 2: + { + QuestId current5 = enumerator.Current; + dictionary3[current5] = prerequisites[current5].Count; + num = -45802294; + break; + } + case 0: + num = -45802294; + break; + case 3: + goto end_IL_036c; + } + continue; + end_IL_036c: + break; + } + } + Queue queue = new Queue(list); + using (List.Enumerator enumerator3 = list.GetEnumerator()) + { + num = 32820321; + while (true) + { + int num9 = num; + num3 = 32820322; + num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 32820321; + break; + case 3: + num = (enumerator3.MoveNext() ? 32820323 : 32820320); + break; + case 1: + { + QuestId current6 = enumerator3.Current; + dictionary2[current6] = 0; + num = 32820321; + break; + } + case 2: + goto end_IL_042d; + } + continue; + end_IL_042d: + break; + } + } + while (queue.Count > 0) + { + QuestId key = queue.Dequeue(); + using List.Enumerator enumerator3 = dictionary[key].GetEnumerator(); + num = -1942600016; + while (true) + { + int num10 = num; + num3 = -1942600013; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1942600016; + break; + case 4: + current7 = enumerator3.Current; + num11 = dictionary2[key] + 1; + num = ((num11 <= dictionary2[current7]) ? (-1942600011) : (-1942600013)); + break; + case 1: + queue.Enqueue(current7); + num = -1942600016; + break; + case 0: + dictionary2[current7] = num11; + num = -1942600011; + break; + case 6: + { + QuestId key2 = current7; + int num12 = dictionary3[key2]; + num3 = 1; + num4 = num12; + dictionary3[key2] = ~(~num4 + num3); + num = ((dictionary3[current7] != 0) ? (-1942600016) : (-1942600014)); + break; + } + case 3: + num = (enumerator3.MoveNext() ? (-1942600009) : (-1942600010)); + break; + case 5: + goto end_IL_04e3; + } + continue; + end_IL_04e3: + break; + } + } + using (HashSet.Enumerator enumerator = hashSet.GetEnumerator()) + { + num = -234574320; + while (true) + { + int num13 = num; + num3 = -234574318; + num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = (enumerator.MoveNext() ? (-234574314) : (-234574319)); + break; + case 4: + current8 = enumerator.Current; + num = (dictionary2.ContainsKey(current8) ? (-234574320) : (-234574317)); + break; + case 0: + num = -234574320; + break; + case 1: + dictionary2[current8] = 0; + num = -234574320; + break; + case 3: + goto end_IL_0638; + } + continue; + end_IL_0638: + break; + } + } + num = ((hashSet.Count > 0) ? (-2059298114) : (-2059298113)); + while (true) + { + int num14 = num; + num3 = -2059298115; + num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + int num20; + switch (num15 - (num16 + num16)) + { + case 0: + num = ((num21 <= num19) ? (-2059298120) : (-2059298116)); + break; + case 2: + num20 = 0; + goto IL_07cb; + case 5: + { + list2.Add(new List()); + int num22 = num21; + num3 = 1; + num4 = num22; + int num23 = num4 ^ num3; + int num24 = num4 & num3; + num21 = num23 + (num24 + num24); + num = -2059298115; + break; + } + case 4: + num = -2059298113; + break; + case 3: + num20 = _202C_206A_200F_200D_202D_206C_200B_206B_206D_200B_206B_206E_202E_202A_206C_202C_206B_200E_206C_200E_200D_200D_202B_202C_202E_200F_206D_202A_206C_202C_206E_202E_200F_206F_200C_200C_200B_200E_206D_206F_202E((IEnumerable)dictionary2.Values); + goto IL_07cb; + case 1: + { + using (HashSet.Enumerator enumerator = hashSet.GetEnumerator()) + { + num = -1078522335; + while (true) + { + int num17 = num; + num3 = -1078522335; + num4 = num17; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = (enumerator.MoveNext() ? (-1078522336) : (-1078522334)); + break; + case 1: + { + QuestId current9 = enumerator.Current; + list2[dictionary2[current9]].Add(current9); + num = -1078522335; + break; + } + case 2: + num = -1078522335; + break; + case 3: + goto end_IL_07f7; + } + continue; + end_IL_07f7: + break; + } + } + using (List>.Enumerator enumerator4 = list2.GetEnumerator()) + { + num = -1375899676; + while (true) + { + int num18 = num; + num3 = -1375899676; + num4 = num18; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = (enumerator4.MoveNext() ? (-1375899673) : (-1375899675)); + break; + case 3: + enumerator4.Current.Sort((QuestId a, QuestId b) => _003C_003Ec._200D_202A_200B_200D_202E_206E_202C_206E_200E_206E_200D_206A_200F_202B_206B_206F_200C_202C_206D_202D_200C_200E_200E_202D_200F_200F_200F_200D_206A_206F_200D_202D_202E_206E_202D_206D_202E_200F_206C_200F_202E((ElementId)a).CompareTo(_003C_003Ec._200D_202A_200B_200D_202E_206E_202C_206E_200E_206E_200D_206A_200F_202B_206B_206F_200C_202C_206D_202D_200C_200E_200E_202D_200F_200F_200F_200D_206A_206F_200D_202D_202E_206E_202D_206D_202E_200F_206C_200F_202E((ElementId)b))); + num = -1375899676; + break; + case 2: + num = -1375899676; + break; + case 1: + goto end_IL_08ab; + } + continue; + end_IL_08ab: + break; + } + } + QuestChainGraph questChainGraph = new QuestChainGraph(prerequisites, dictionary, dictionary2, list2, questId); + _graphCache[questId] = questChainGraph; + return questChainGraph; + } + IL_07cb: + num19 = num20; + list2 = new List>(); + num21 = 0; + num = -2059298115; + break; + } + } + } + } + continue; + IL_005d: + num = 194094591; + } + } + + 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) + { + int num = (visited.Add(questId) ? 1731520860 : 1731520863); + IQuestInfo questInfo = default(IQuestInfo); + while (true) + { + int num2 = num; + int num3 = 1731520861; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 1731520863; + break; + case 1: + num = (_questData.TryGetQuestInfo(questId, out questInfo) ? 1731520861 : 1731520862); + break; + case 2: + return; + case 3: + return; + case 0: + { + using ImmutableList.Enumerator enumerator = questInfo.PreviousQuests.GetEnumerator(); + num = -152844110; + while (true) + { + int num5 = num; + num3 = -152844109; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -152844110; + break; + case 2: + { + PreviousQuestInfo current = enumerator.Current; + CollectAncestorsSet(current.QuestId, visited); + num = -152844110; + break; + } + case 1: + num = (enumerator.MoveNext() ? (-152844111) : (-152844109)); + break; + case 0: + return; + } + } + } + } + } + } + + private void CollectDescendantsSet(QuestId questId, HashSet visited) + { + int num = (visited.Add(questId) ? 1111057688 : 1111057690); + List value = default(List); + while (true) + { + int num2 = num; + int num3 = 1111057691; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = 1111057690; + break; + case 2: + return; + case 3: + num = (_descendants.TryGetValue(questId, out value) ? 1111057691 : 1111057689); + break; + case 1: + return; + case 0: + { + using List.Enumerator enumerator = value.GetEnumerator(); + num = 1156773667; + while (true) + { + int num7 = num; + num3 = 1156773667; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1156773667; + break; + case 1: + { + QuestId current = enumerator.Current; + CollectDescendantsSet(current, visited); + num = 1156773667; + break; + } + case 0: + num = (enumerator.MoveNext() ? 1156773666 : 1156773664); + break; + case 3: + return; + } + } + } + } + } + } + + private void CollectAncestors(QuestId questId, List result, HashSet visited) + { + int num = (visited.Add(questId) ? 807904870 : 807904864); + IQuestInfo questInfo = default(IQuestInfo); + PreviousQuestInfo current = default(PreviousQuestInfo); + while (true) + { + int num2 = num; + int num3 = 807904866; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return; + case 4: + num = (_questData.TryGetQuestInfo(questId, out questInfo) ? 807904865 : 807904867); + break; + case 2: + return; + case 0: + num = 807904864; + break; + case 3: + { + using ImmutableList.Enumerator enumerator = questInfo.PreviousQuests.GetEnumerator(); + num = 960895852; + while (true) + { + int num5 = num; + num3 = 960895855; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 960895852; + break; + case 3: + num = (enumerator.MoveNext() ? 960895851 : 960895854); + break; + case 2: + result.Add(current.QuestId); + num = 960895852; + break; + case 4: + current = enumerator.Current; + CollectAncestors(current.QuestId, result, visited); + num = (result.Contains(current.QuestId) ? 960895852 : 960895853); + break; + case 1: + return; + } + } + } + } + } + } + + private void CollectDescendants(QuestId questId, List result, HashSet visited) + { + int num = (visited.Add(questId) ? (-599330933) : (-599330934)); + List value = default(List); + QuestId current = default(QuestId); + while (true) + { + int num2 = num; + int num3 = -599330936; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return; + case 2: + return; + case 4: + num = -599330934; + break; + case 3: + num = (_descendants.TryGetValue(questId, out value) ? (-599330936) : (-599330935)); + break; + case 0: + { + using List.Enumerator enumerator = value.GetEnumerator(); + num = -1727068589; + while (true) + { + int num7 = num; + num3 = -1727068591; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = -1727068589; + break; + case 4: + result.Add(current); + num = -1727068592; + break; + case 3: + current = enumerator.Current; + num = (result.Contains(current) ? (-1727068592) : (-1727068587)); + break; + case 2: + num = (enumerator.MoveNext() ? (-1727068590) : (-1727068591)); + break; + case 1: + CollectDescendants(current, result, visited); + num = -1727068589; + break; + case 0: + return; + } + } + } + } + } + } + + static bool _206F_202C_206E_206F_200B_206E_202D_200E_200E_200B_206A_206D_206E_200E_200E_200D_202E_200E_202B_206E_202E_206A_200C_202E_202C_206E_206B_200D_206C_200D_202A_202D_206D_206E_206B_200F_206C_206B_206D_206C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206F_202E_206D_200E_206A_206C_202D_206E_206E_206E_206F_206B_200D_200C_200D_202B_202A_200E_202A_206B_202A_206A_206A_200C_206F_206F_206F_206A_200B_202A_202E_202D_200E_202B_206E_206E_206D_200E_206F_200C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static int _202C_206A_200F_200D_202D_206C_200B_206B_206D_200B_206B_206E_202E_202A_206C_202C_206B_200E_206C_200E_200D_200D_202B_202C_202E_200F_206D_202A_206C_202C_206E_202E_200F_206F_200C_200C_200B_200E_206D_206F_202E(IEnumerable P_0) + { + return P_0.Max(); + } +} diff --git a/Questionable/Questionable.Data/QuestChainGraph.cs b/Questionable/Questionable.Data/QuestChainGraph.cs new file mode 100644 index 00000000..0a786803 --- /dev/null +++ b/Questionable/Questionable.Data/QuestChainGraph.cs @@ -0,0 +1,155 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +using Questionable.Model.Questing; + +namespace Questionable.Data; + +internal sealed record QuestChainGraph(Dictionary> Prerequisites, Dictionary> Dependents, Dictionary Layers, List> LayerOrder, QuestId SelectedQuest) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_206B_206A_206D_200B_202A_200F_202A_206A_200E_206A_200B_206E_200B_202C_200C_206C_206A_206F_206A_202A_206C_206D_206C_200F_202B_206B_202D_206A_202B_206C_200B_200C_202A_200C_202B_206D_200C_202C_206C_202E(typeof(QuestChainGraph).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200D_202A_206A_202B_202E_202D_202A_206F_206B_202B_200F_202C_206B_200C_206D_206A_200C_206E_200E_206C_206C_200C_202A_200C_206A_200D_200C_202D_202D_202A_200F_206E_202C_202B_206E_202C_200D_202A_200B_202D_202E(); + _206B_200B_202A_202B_206C_200B_202D_206D_200C_206C_200B_206A_202A_202D_206F_200F_200C_200E_206C_200D_206C_200E_200C_206B_206D_206F_202A_200D_200F_206A_206E_206B_206F_202C_200B_202B_206F_206F_200E_206B_202E(stringBuilder, global::_003CModule_003E._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(952824243)); + _206B_200B_202A_202B_206C_200B_202D_206D_200C_206C_200B_206A_202A_202D_206F_200F_200C_200E_206C_200D_206C_200E_200C_206B_206D_206F_202A_200D_200F_206A_206E_206B_206F_202C_200B_202B_206F_206F_200E_206B_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? 1169863664 : 1169863665); + while (true) + { + int num2 = num; + int num3 = 1169863664; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1169863665; + break; + case 1: + _206A_200D_206D_202E_202A_200E_200C_200C_200B_200D_202B_202D_202B_206D_200C_206B_206F_202C_206A_206D_202A_200B_206B_200F_206F_200C_202C_202E_200E_200C_206E_200B_202E_200C_206C_206A_200F_200C_200E_202B_202E(stringBuilder, ' '); + num = 1169863664; + break; + case 0: + _206A_200D_206D_202E_202A_200E_200C_200C_200B_200D_202B_202D_202B_206D_200C_206B_206F_202C_206A_206D_202A_200B_206B_200F_206F_200C_202C_202E_200E_200C_206E_200B_202E_200C_206C_206A_200F_200C_200E_202B_202E(stringBuilder, '}'); + return _206F_206B_202A_206B_202C_202E_206C_202D_202D_202E_206A_206C_206B_200C_202E_206C_206D_206E_202A_202B_206F_202E_206C_206E_202B_200F_206F_206E_202A_206F_200C_206F_200B_202C_200C_206B_202D_206A_202B_200E_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202A_202E_202A_206C_206F_200C_202B_206E_206A_206A_202B_206E_200E_206C_200F_206F_206B_206D_200B_206A_200B_200D_202C_206B_206F_200D_200B_200E_200E_200F_202C_200D_200E_202E_200B_200B_206E_202E_202D_200D_202E(); + _206B_200B_202A_202B_206C_200B_202D_206D_200C_206C_200B_206A_202A_202D_206F_200F_200C_200E_206C_200D_206C_200E_200C_206B_206D_206F_202A_200D_200F_206A_206E_206B_206F_202C_200B_202B_206F_206F_200E_206B_202E(builder, global::_003CModule_003E._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(845375176)); + _200D_202E_200E_206D_206E_200C_206C_202B_202C_202D_206B_206B_200F_202E_206F_200D_206B_206F_206F_206D_200E_206B_206B_206E_202B_202B_200F_202B_200B_202C_202D_202A_202E_206D_202C_200E_206C_206A_202B_206C_202E(builder, (object)Prerequisites); + _206B_200B_202A_202B_206C_200B_202D_206D_200C_206C_200B_206A_202A_202D_206F_200F_200C_200E_206C_200D_206C_200E_200C_206B_206D_206F_202A_200D_200F_206A_206E_206B_206F_202C_200B_202B_206F_206F_200E_206B_202E(builder, global::_003CModule_003E._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(-420424537)); + _200D_202E_200E_206D_206E_200C_206C_202B_202C_202D_206B_206B_200F_202E_206F_200D_206B_206F_206F_206D_200E_206B_206B_206E_202B_202B_200F_202B_200B_202C_202D_202A_202E_206D_202C_200E_206C_206A_202B_206C_202E(builder, (object)Dependents); + _206B_200B_202A_202B_206C_200B_202D_206D_200C_206C_200B_206A_202A_202D_206F_200F_200C_200E_206C_200D_206C_200E_200C_206B_206D_206F_202A_200D_200F_206A_206E_206B_206F_202C_200B_202B_206F_206F_200E_206B_202E(builder, global::_003CModule_003E._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(308297113)); + _200D_202E_200E_206D_206E_200C_206C_202B_202C_202D_206B_206B_200F_202E_206F_200D_206B_206F_206F_206D_200E_206B_206B_206E_202B_202B_200F_202B_200B_202C_202D_202A_202E_206D_202C_200E_206C_206A_202B_206C_202E(builder, (object)Layers); + _206B_200B_202A_202B_206C_200B_202D_206D_200C_206C_200B_206A_202A_202D_206F_200F_200C_200E_206C_200D_206C_200E_200C_206B_206D_206F_202A_200D_200F_206A_206E_206B_206F_202C_200B_202B_206F_206F_200E_206B_202E(builder, global::_003CModule_003E._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(505008165)); + _200D_202E_200E_206D_206E_200C_206C_202B_202C_202D_206B_206B_200F_202E_206F_200D_206B_206F_206F_206D_200E_206B_206B_206E_202B_202B_200F_202B_200B_202C_202D_202A_202E_206D_202C_200E_206C_206A_202B_206C_202E(builder, (object)LayerOrder); + _206B_200B_202A_202B_206C_200B_202D_206D_200C_206C_200B_206A_202A_202D_206F_200F_200C_200E_206C_200D_206C_200E_200C_206B_206D_206F_202A_200D_200F_206A_206E_206B_206F_202C_200B_202B_206F_206F_200E_206B_202E(builder, global::_003CModule_003E._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(103307351)); + _200D_202E_200E_206D_206E_200C_206C_202B_202C_202D_206B_206B_200F_202E_206F_200D_206B_206F_206F_206D_200E_206B_206B_206E_202B_202B_200F_202B_200B_202C_202D_202A_202E_206D_202C_200E_206C_206A_202B_206C_202E(builder, (object)SelectedQuest); + return true; + } + + [CompilerGenerated] + public bool Equals(QuestChainGraph? other) + { + int num = (((object)this == other) ? 1244041790 : 1244041777); + while (true) + { + int num2 = num; + int num3 = 1244041782; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = ((!_206F_202C_206D_200F_206F_206A_200C_202E_206C_202C_206F_206C_200C_206C_202E_202C_200E_200B_206A_200D_202E_206C_202B_206F_206D_202C_206C_202D_206E_202E_202A_206C_200C_206C_202E_200E_200F_200D_206D_202D_202E(EqualityContract, other.EqualityContract)) ? 1244041782 : 1244041779); + break; + case 8: + return true; + case 6: + num = ((!EqualityComparer>>.Default.Equals(LayerOrder, other.LayerOrder)) ? 1244041782 : 1244041783); + break; + case 0: + return false; + case 1: + return EqualityComparer.Default.Equals(SelectedQuest, other.SelectedQuest); + case 3: + num = ((!EqualityComparer>.Default.Equals(Layers, other.Layers)) ? 1244041782 : 1244041776); + break; + case 5: + num = ((!EqualityComparer>>.Default.Equals(Prerequisites, other.Prerequisites)) ? 1244041782 : 1244041778); + break; + case 9: + num = 1244041777; + break; + case 4: + num = ((!EqualityComparer>>.Default.Equals(Dependents, other.Dependents)) ? 1244041782 : 1244041781); + break; + case 7: + num = (((object)other == null) ? 1244041782 : 1244041780); + break; + } + } + } + + bool IEquatable.Equals(QuestChainGraph? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202E_206B_206A_206D_200B_202A_200F_202A_206A_200E_206A_200B_206E_200B_202C_200C_206C_206A_206F_206A_202A_206C_206D_206C_200F_202B_206B_202D_206A_202B_206C_200B_200C_202A_200C_202B_206D_200C_202C_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200D_202A_206A_202B_202E_202D_202A_206F_206B_202B_200F_202C_206B_200C_206D_206A_200C_206E_200E_206C_206C_200C_202A_200C_206A_200D_200C_202D_202D_202A_200F_206E_202C_202B_206E_202C_200D_202A_200B_202D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206B_200B_202A_202B_206C_200B_202D_206D_200C_206C_200B_206A_202A_202D_206F_200F_200C_200E_206C_200D_206C_200E_200C_206B_206D_206F_202A_200D_200F_206A_206E_206B_206F_202C_200B_202B_206F_206F_200E_206B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_200D_206D_202E_202A_200E_200C_200C_200B_200D_202B_202D_202B_206D_200C_206B_206F_202C_206A_206D_202A_200B_206B_200F_206F_200C_202C_202E_200E_200C_206E_200B_202E_200C_206C_206A_200F_200C_200E_202B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206F_206B_202A_206B_202C_202E_206C_202D_202D_202E_206A_206C_206B_200C_202E_206C_206D_206E_202A_202B_206F_202E_206C_206E_202B_200F_206F_206E_202A_206F_200C_206F_200B_202C_200C_206B_202D_206A_202B_200E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202A_202E_202A_206C_206F_200C_202B_206E_206A_206A_202B_206E_200E_206C_200F_206F_206B_206D_200B_206A_200B_200D_202C_206B_206F_200D_200B_200E_200E_200F_202C_200D_200E_202E_200B_200B_206E_202E_202D_200D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200D_202E_200E_206D_206E_200C_206C_202B_202C_202D_206B_206B_200F_202E_206F_200D_206B_206F_206F_206D_200E_206B_206B_206E_202B_202B_200F_202B_200B_202C_202D_202A_202E_206D_202C_200E_206C_206A_202B_206C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206F_202C_206D_200F_206F_206A_200C_202E_206C_202C_206F_206C_200C_206C_202E_202C_200E_200B_206A_200D_202E_206C_202B_206F_206D_202C_206C_202D_206E_202E_202A_206C_200C_206C_202E_200E_200F_200D_206D_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Data/QuestData.cs b/Questionable/Questionable.Data/QuestData.cs index d7776c24..4752cee0 100644 --- a/Questionable/Questionable.Data/QuestData.cs +++ b/Questionable/Questionable.Data/QuestData.cs @@ -1,40 +1,553 @@ using System; +using System.Collections; +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.Linq; +using System.Reflection; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Text; 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) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_206D_200D_200D_202C_200F_206F_200F_202E_206B_206D_206F_200C_202E_206B_206E_202B_206B_202A_200D_202E_200B_200D_206C_200C_202C_202D_202D_200B_200E_202C_202C_200B_206C_206B_206A_200C_206B_202A_200C_202E(typeof(RoleQuestData).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200C_200B_206D_200B_202D_206E_206F_202A_202E_206A_200D_202A_206D_200C_200B_206A_200D_202B_206A_200B_206D_206A_202D_206C_206E_202A_206C_200F_200E_206B_206E_206F_200F_200E_202C_206F_202D_202C_200E_202E(); + _206F_200D_202B_206D_206A_200B_200C_202C_200F_206D_206F_200E_206E_202A_206A_202E_206B_206F_202C_200D_202B_206F_200D_206A_206A_202A_200C_200E_206A_200F_206B_206B_206F_200F_200B_200B_206F_202C_206E_200C_202E(stringBuilder, global::_003CModule_003E._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(2128769799)); + _206F_200D_202B_206D_206A_200B_200C_202C_200F_206D_206F_200E_206E_202A_206A_202E_206B_206F_202C_200D_202B_206F_200D_206A_206A_202A_200C_200E_206A_200F_206B_206B_206F_200F_200B_200B_206F_202C_206E_200C_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? (-949265533) : (-949265536)); + while (true) + { + int num2 = num; + int num3 = -949265534; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _202D_202A_200C_206C_202C_206D_202C_202E_200E_206B_202B_202A_206E_200E_206F_206A_200E_200B_200B_202B_202D_202A_202E_202C_200F_206C_200B_202D_200F_206E_206A_206B_202D_206E_206C_202E_206E_206B_202A_206A_202E(stringBuilder, '}'); + return _200B_200D_200C_202B_206D_200B_206C_202B_206E_202C_202C_200E_206B_206E_200C_206C_206B_206D_200D_206E_206D_206A_200E_206C_206C_200F_206B_200C_202D_200F_206C_202D_200E_202D_206E_200E_200C_202B_202B_206C_202E((object)stringBuilder); + case 2: + _202D_202A_200C_206C_202C_206D_202C_202E_200E_206B_202B_202A_206E_200E_206F_206A_200E_200B_200B_202B_202D_202A_202E_202C_200F_206C_200B_202D_200F_206E_206A_206B_202D_206E_206C_202E_206E_206B_202A_206A_202E(stringBuilder, ' '); + num = -949265533; + break; + case 0: + num = -949265536; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202D_206B_200D_202C_206C_206D_200C_200D_206F_206F_206F_206E_202E_206C_206E_206B_202A_206E_206D_202E_206E_202B_200D_206D_202B_202C_206E_200E_202A_202D_200E_200D_202B_200D_200D_200E_206E_202A_200E_206F_202E(); + _206F_200D_202B_206D_206A_200B_200C_202C_200F_206D_206F_200E_206E_202A_206A_202E_206B_206F_202C_200D_202B_206F_200D_206A_206A_202A_200C_200E_206A_200F_206B_206B_206F_200F_200B_200B_206F_202C_206E_200C_202E(builder, global::_003CModule_003E._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(-428993358)); + _200C_200C_202D_200C_200F_200F_206F_206C_206E_206E_206A_202C_202B_202B_206B_206C_200C_202D_202B_202E_202A_202B_202A_206D_206B_206F_206E_202D_206C_200E_200B_206B_200B_202B_206B_206B_202A_206F_200C_202E(builder, (object)Chapters); + _206F_200D_202B_206D_206A_200B_200C_202C_200F_206D_206F_200E_206E_202A_206A_202E_206B_206F_202C_200D_202B_206F_200D_206A_206A_202A_200C_200E_206A_200F_206B_206B_206F_200F_200B_200B_206F_202C_206E_200C_202E(builder, global::_003CModule_003E._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(635711557)); + _200C_200C_202D_200C_200F_200F_206F_206C_206E_206E_206A_202C_202B_202B_206B_206C_200C_202D_202B_202E_202A_202B_202A_206D_206B_206F_206E_202D_206C_200E_200B_206B_200B_202B_206B_206B_202A_206F_200C_202E(builder, (object)FinalQuests); + _206F_200D_202B_206D_206A_200B_200C_202C_200F_206D_206F_200E_206E_202A_206A_202E_206B_206F_202C_200D_202B_206F_200D_206A_206A_202A_200C_200E_206A_200F_206B_206B_206F_200F_200B_200B_206F_202C_206E_200C_202E(builder, global::_003CModule_003E._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(1662807947)); + _200C_200C_202D_200C_200F_200F_206F_206C_206E_206E_206A_202C_202B_202B_206B_206C_200C_202D_202B_202E_202A_202B_202A_206D_206B_206F_206E_202D_206C_200E_200B_206B_200B_202B_206B_206B_202A_206F_200C_202E(builder, (object)JobMatch); + return true; + } + + [CompilerGenerated] + public bool Equals(RoleQuestData? other) + { + int num = (((object)this == other) ? 900942531 : 900942533); + while (true) + { + int num2 = num; + int num3 = 900942529; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return true; + case 6: + num = ((!_206C_206F_206D_200B_202C_202D_206D_200D_206A_200F_200D_206B_200E_206B_202A_206E_206A_202A_206C_206B_202C_206B_202C_206C_206C_202E_202A_206A_202E_202B_206C_202D_206E_202B_202B_206A_202A_202B_206D_206E_202E(EqualityContract, other.EqualityContract)) ? 900942532 : 900942534); + break; + case 7: + num = ((!EqualityComparer>.Default.Equals(Chapters, other.Chapters)) ? 900942532 : 900942528); + break; + case 5: + return false; + case 0: + return EqualityComparer>.Default.Equals(JobMatch, other.JobMatch); + case 3: + num = 900942533; + break; + case 4: + num = (((object)other == null) ? 900942532 : 900942535); + break; + case 1: + num = ((!EqualityComparer>.Default.Equals(FinalQuests, other.FinalQuests)) ? 900942532 : 900942529); + break; + } + } + } + + bool IEquatable.Equals(RoleQuestData? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_206D_200D_200D_202C_200F_206F_200F_202E_206B_206D_206F_200C_202E_206B_206E_202B_206B_202A_200D_202E_200B_200D_206C_200C_202C_202D_202D_200B_200E_202C_202C_200B_206C_206B_206A_200C_206B_202A_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200C_200B_206D_200B_202D_206E_206F_202A_202E_206A_200D_202A_206D_200C_200B_206A_200D_202B_206A_200B_206D_206A_202D_206C_206E_202A_206C_200F_200E_206B_206E_206F_200F_200E_202C_206F_202D_202C_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206F_200D_202B_206D_206A_200B_200C_202C_200F_206D_206F_200E_206E_202A_206A_202E_206B_206F_202C_200D_202B_206F_200D_206A_206A_202A_200C_200E_206A_200F_206B_206B_206F_200F_200B_200B_206F_202C_206E_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202D_202A_200C_206C_202C_206D_202C_202E_200E_206B_202B_202A_206E_200E_206F_206A_200E_200B_200B_202B_202D_202A_202E_202C_200F_206C_200B_202D_200F_206E_206A_206B_202D_206E_206C_202E_206E_206B_202A_206A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_200D_200C_202B_206D_200B_206C_202B_206E_202C_202C_200E_206B_206E_200C_206C_206B_206D_200D_206E_206D_206A_200E_206C_206C_200F_206B_200C_202D_200F_206C_202D_200E_202D_206E_200E_200C_202B_202B_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202D_206B_200D_202C_206C_206D_200C_200D_206F_206F_206F_206E_202E_206C_206E_206B_202A_206E_206D_202E_206E_202B_200D_206D_202B_202C_206E_200E_202A_202D_200E_200D_202B_200D_200D_200E_206E_202A_200E_206F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200C_200C_202D_200C_200F_200F_206F_206C_206E_206E_206A_202C_202B_202B_206B_206C_200C_202D_202B_202E_202A_202B_202A_206D_206B_206F_206E_202D_206C_200E_200B_206B_200B_202B_206B_206B_202A_206F_200C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206C_206F_206D_200B_202C_202D_206D_200D_206A_200F_200D_206B_200E_206B_202A_206E_206A_202A_206C_206B_202C_206B_202C_206C_206C_202E_202A_206A_202E_202B_206C_202D_206E_202B_202B_206A_202A_202B_206D_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__25_0; + + public static Func _003C_003E9__25_1; + + public static Func _003C_003E9__25_2; + + public static Func _003C_003E9__25_8; + + public static Func _003C_003E9__25_9; + + public static Func _003C_003E9__25_10; + + public static Func _003C_003E9__25_11; + + public static Func _003C_003E9__25_13; + + public static Func _003C_003E9__25_14; + + public static Func _003C_003E9__25_3; + + public static Func _003C_003E9__25_5; + + public static Func _003C_003E9__25_6; + + public static Func> _003C_003E9__25_7; + + public static Func _003C_003E9__37_1; + + public static Func _003C_003E9__44_1; + + public static Func _003C_003E9__44_2; + + public static Func _003C_003E9__45_0; + + public static Func _003C_003E9__45_2; + + public static Func _003C_003E9__55_0; + + public static Func, IEnumerable> _003C_003E9__58_0; + + public static Func _003C_003E9__58_1; + + public static Func _003C_003E9__61_8; + + internal bool _003C_002Ector_003Eb__25_0(QuestChapter x) + { + int num = ((x.RowId == 0) ? 277631296 : 277631299); + while (true) + { + int num2 = num; + int num3 = 277631297; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 1: + return false; + case 2: + return x.Quest.RowId != 0; + } + continue; + IL_0048: + num = 277631299; + } + } + + internal uint _003C_002Ector_003Eb__25_1(QuestChapter x) + { + return x.Quest.RowId; + } + + internal uint _003C_002Ector_003Eb__25_2(QuestChapter x) + { + return x.Redo.RowId; + } + + internal bool _003C_002Ector_003Eb__25_8(QuestRedo.QuestRedoParamStruct x) + { + return x.Quest.IsValid; + } + + internal bool _003C_002Ector_003Eb__25_9(Lumina.Excel.Sheets.Quest x) + { + return x.RowId != 0; + } + + internal bool _003C_002Ector_003Eb__25_10(Lumina.Excel.Sheets.Quest x) + { + return !x.Name.IsEmpty; + } + + internal bool _003C_002Ector_003Eb__25_11(Lumina.Excel.Sheets.Quest x) + { + return x.IssuerLocation.RowId != 0; + } + + internal bool _003C_002Ector_003Eb__25_13(SatisfactionNpc x) + { + int num = ((x.RowId == 0) ? (-1811955487) : (-1811955486)); + while (true) + { + int num2 = num; + int num3 = -1811955488; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004a; + case 1: + return false; + case 2: + return x.Npc.RowId != 0; + } + continue; + IL_004a: + num = -1811955486; + } + } + + internal SatisfactionSupplyInfo _003C_002Ector_003Eb__25_14(SatisfactionNpc x) + { + return new SatisfactionSupplyInfo(x); + } + + internal bool _003C_002Ector_003Eb__25_3(IQuestInfo x) + { + QuestInfo questInfo = x as QuestInfo; + int num = ((questInfo == null) ? 1962625655 : 1962625654); + while (true) + { + int num2 = num; + int num3 = 1962625655; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0048; + case 1: + return questInfo.IsMainScenarioQuest; + case 0: + return false; + } + continue; + IL_0048: + num = 1962625654; + } + } + + internal QuestId _003C_002Ector_003Eb__25_5(QuestInfo x) + { + return (QuestId)x.QuestId; + } + + internal bool _003C_002Ector_003Eb__25_6(IQuestInfo x) + { + return x is QuestInfo; + } + + internal IEnumerable _003C_002Ector_003Eb__25_7(QuestInfo x) + { + return x.ItemRewards; + } + + internal QuestId _003CAddGcFollowUpQuests_003Eb__37_1(ushort x) + { + return _202E_202A_202C_200E_200C_200E_202C_206E_206A_200B_202D_200D_206A_202D_202E_202B_206F_200F_206A_202A_206C_206F_206C_202D_200D_202B_206A_200C_206D_202B_200E_200C_200E_202E_202D_202A_202A_206F_202E_200F_202E(x); + } + + internal ushort _003CGetAllByJournalGenre_003Eb__44_1(IQuestInfo x) + { + return x.SortKey; + } + + internal ElementId _003CGetAllByJournalGenre_003Eb__44_2(IQuestInfo x) + { + return x.QuestId; + } + + internal bool _003CGetAllByAlliedSociety_003Eb__45_0(IQuestInfo x) + { + return x is QuestInfo; + } + + internal ElementId _003CGetAllByAlliedSociety_003Eb__45_2(QuestInfo x) + { + return x.QuestId; + } + + internal bool _003CGetQuestsInNewGamePlusChapters_003Eb__55_0(IQuestInfo x) + { + return x is QuestInfo; + } + + internal IEnumerable _003CGetLockedClassQuests_003Eb__58_0(List x) + { + return x; + } + + internal QuestId _003CGetLockedClassQuests_003Eb__58_1(ushort x) + { + return _202E_202A_202C_200E_200C_200E_202C_206E_206A_200B_202D_200D_206A_202D_202E_202B_206F_200F_206A_202A_206C_206F_206C_202D_200D_202B_206A_200C_206D_202B_200E_200C_200E_202E_202D_202A_202A_206F_202E_200F_202E(x); + } + + internal uint _003C_002Ecctor_003Eb__61_0(KeyValuePair> x) + { + return x.Key; + } + + internal ImmutableList _003C_002Ecctor_003Eb__61_1(KeyValuePair> x) + { + return x.Value.Select((ushort y) => _202E_202A_202C_200E_200C_200E_202C_206E_206A_200B_202D_200D_206A_202D_202E_202B_206F_200F_206A_202A_206C_206F_206C_202D_200D_202B_206A_200C_206D_202B_200E_200C_200E_202E_202D_202A_202A_206F_202E_200F_202E(y)).ToImmutableList(); + } + + internal QuestId _003C_002Ecctor_003Eb__61_8(ushort y) + { + return _202E_202A_202C_200E_200C_200E_202C_206E_206A_200B_202D_200D_206A_202D_202E_202B_206F_200F_206A_202A_206C_206F_206C_202D_200D_202B_206A_200C_206D_202B_200E_200C_200E_202E_202D_202A_202A_206F_202E_200F_202E(y); + } + + internal IEnumerable _003C_002Ecctor_003Eb__61_2(ImmutableList x) + { + return x; + } + + internal bool _003C_002Ecctor_003Eb__61_3(EClassJob j) + { + return _206F_206E_206F_206F_200F_200B_202C_202C_206B_202E_206F_202A_206E_206B_202D_206D_206A_200F_200C_206A_206B_200B_202A_202D_202E_202D_200E_202A_200F_200C_202D_200D_200F_200D_200E_200E_200F_200E_206D_206A_202E(j); + } + + internal bool _003C_002Ecctor_003Eb__61_4(EClassJob j) + { + return _200E_202D_202A_200E_202E_206C_202D_200B_200B_206E_202E_206A_206C_200B_200D_200F_200B_200C_202D_206A_200C_206A_200F_200D_202B_206F_206F_200C_200B_202D_206E_206E_200E_202A_202E_206C_200E_206C_202B_206D_202E(j); + } + + internal bool _003C_002Ecctor_003Eb__61_5(EClassJob j) + { + int num = ((!_202A_200F_202A_206C_206D_202C_206A_200E_206F_200B_202C_202D_206D_200E_206C_206F_200F_206B_206D_200C_206B_202D_200C_206D_202C_200B_200C_202D_206B_200B_206F_206F_206B_200D_202E_206B_200C_202A_202E_202C_202E(j)) ? 218387131 : 218387128); + while (true) + { + int num2 = num; + int num3 = 218387129; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0048; + case 1: + return j != EClassJob.Beastmaster; + case 2: + return false; + } + continue; + IL_0048: + num = 218387128; + } + } + + internal bool _003C_002Ecctor_003Eb__61_6(EClassJob j) + { + return _200B_206B_202A_206E_200D_206B_200F_202A_206D_200E_200E_202E_200B_206A_206F_202A_206F_200E_202D_200C_206F_202A_202D_202C_202B_206A_202D_206B_200D_202D_202E_206D_200F_206C_200C_200E_200D_202C_206E_200D_202E(j); + } + + internal bool _003C_002Ecctor_003Eb__61_7(EClassJob j) + { + int num = ((!_200F_202B_206C_200B_202A_206D_200D_202E_200C_206C_206F_206D_200B_202D_200F_206E_202E_200B_206C_206C_202A_206D_202B_206B_200B_206B_200F_202D_200F_202A_206B_202A_200D_200F_206D_202D_206A_202C_202D_202D_202E(j)) ? (-542512) : (-542509)); + while (true) + { + int num2 = num; + int num3 = -542511; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 1: + return false; + case 2: + return j != EClassJob.BlueMage; + } + continue; + IL_0046: + num = -542509; + } + } + + static QuestId _202E_202A_202C_200E_200C_200E_202C_206E_206A_200B_202D_200D_206A_202D_202E_202B_206F_200F_206A_202A_206C_206F_206C_202D_200D_202B_206A_200C_206D_202B_200E_200C_200E_202E_202D_202A_202A_206F_202E_200F_202E(ushort P_0) + { + return new QuestId(P_0); + } + + static bool _206F_206E_206F_206F_200F_200B_202C_202C_206B_202E_206F_202A_206E_206B_202D_206D_206A_200F_200C_206A_206B_200B_202A_202D_202E_202D_200E_202A_200F_200C_202D_200D_200F_200D_200E_200E_200F_200E_206D_206A_202E(EClassJob P_0) + { + return P_0.IsTank(); + } + + static bool _200E_202D_202A_200E_202E_206C_202D_200B_200B_206E_202E_206A_206C_200B_200D_200F_200B_200C_202D_206A_200C_206A_200F_200D_202B_206F_206F_200C_200B_202D_206E_206E_200E_202A_202E_206C_200E_206C_202B_206D_202E(EClassJob P_0) + { + return P_0.IsHealer(); + } + + static bool _202A_200F_202A_206C_206D_202C_206A_200E_206F_200B_202C_202D_206D_200E_206C_206F_200F_206B_206D_200C_206B_202D_200C_206D_202C_200B_200C_202D_206B_200B_206F_206F_206B_200D_202E_206B_200C_202A_202E_202C_202E(EClassJob P_0) + { + return P_0.IsMelee(); + } + + static bool _200B_206B_202A_206E_200D_206B_200F_202A_206D_200E_200E_202E_200B_206A_206F_202A_206F_200E_202D_200C_206F_202A_202D_202C_202B_206A_202D_206B_200D_202D_202E_206D_200F_206C_200C_200E_200D_202C_206E_200D_202E(EClassJob P_0) + { + return P_0.IsPhysicalRanged(); + } + + static bool _200F_202B_206C_200B_202A_206D_200D_202E_200C_206C_206F_206D_200B_202D_200F_206E_202E_200B_206C_206C_202A_206D_202B_206B_200B_206B_200F_202D_200F_202A_206B_202A_200D_200F_206D_202D_206A_202C_202D_202D_202E(EClassJob P_0) + { + return P_0.IsCaster(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass25_1 + { + public QuestInfo x; + + public Func _003C_003E9__16; + + internal bool _003C_002Ector_003Eb__15(QuestInfo y) + { + return y.PreviousQuests.Any((PreviousQuestInfo z) => _200E_206C_202B_206D_206F_206E_206E_200D_206A_202C_200B_206E_200E_202C_202B_206E_202B_202B_202C_200B_200F_202E_206D_200E_202B_206C_200F_206A_202E_206A_202D_200B_206E_206E_202B_206E_202B_206A_200E_202E((ElementId)z.QuestId, x.QuestId)); + } + + internal bool _003C_002Ector_003Eb__16(PreviousQuestInfo z) + { + return _200E_206C_202B_206D_206F_206E_206E_200D_206A_202C_200B_206E_200E_202C_202B_206E_202B_202B_202C_200B_200F_202E_206D_200E_202B_206C_200F_206A_202E_206A_202D_200B_206E_206E_202B_206E_202B_206A_200E_202E((ElementId)z.QuestId, x.QuestId); + } + + static bool _200E_206C_202B_206D_206F_206E_206E_200D_206A_202C_200B_206E_200E_202C_202B_206E_202B_202B_202C_200B_200F_202E_206D_200E_202B_206C_200F_206A_202E_206A_202D_200B_206E_206E_202B_206E_202B_206A_200E_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass37_0 + { + public ushort questId; + + internal bool _003CAddGcFollowUpQuests_003Eb__0(ushort x) + { + return x != questId; + } + } + public static readonly IReadOnlyList HardModePrimals = new global::_003C_003Ez__ReadOnlyArray(new QuestId[3] { - new QuestId(1048), - new QuestId(1157), - new QuestId(1158) + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)1048), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)1157), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)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), - new QuestId(1200), - new QuestId(1201), - new QuestId(1202), - new QuestId(1203), - new QuestId(1474), - new QuestId(494), - new QuestId(495) + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)1709), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)1200), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)1201), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)1202), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)1203), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)1474), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)494), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)495) }); public static readonly ImmutableDictionary> AetherCurrentQuestsByTerritory; @@ -53,10 +566,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,219 +596,382 @@ 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) { - QuestData questData = this; - _logger = logger ?? throw new ArgumentNullException("logger"); - JournalGenreOverrides journalGenreOverrides = new JournalGenreOverrides + return GcRankRequirements.GetValueOrDefault(_206D_202C_206E_206A_206E_202C_206E_200E_202D_202E_202A_202A_206C_200E_200E_206C_202D_206E_206B_206F_200E_200D_200E_202D_200F_202A_200D_200C_202E_200D_206E_206C_206D_206F_202E_200E_206F_202D_200F_206D_202E((ElementId)questId), 1); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public QuestData(IDataManager dataManager, ILogger logger) + { + _logger = logger ?? throw _202E_206B_200E_206E_206A_206D_206A_206B_206C_202D_202E_202E_200B_200E_206E_206E_202E_200F_202E_206C_206C_206F_202D_200B_206A_206A_200C_202B_206B_206A_206A_202D_202B_202B_200E_200B_206F_200E_202C_202E_202E(global::_003CModule_003E._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(901832441)); + Dictionary questChapters = dataManager.GetExcelSheet().Where(delegate(QuestChapter x) { - 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); - Dictionary startingCities = new Dictionary(); - for (byte b = 1; b <= 3; b++) - { - foreach (QuestRedo.QuestRedoParamStruct item in dataManager.GetExcelSheet().GetRow(b).QuestRedoParam.Where((QuestRedo.QuestRedoParamStruct x) => x.Quest.IsValid)) + int num10 = ((x.RowId == 0) ? 277631296 : 277631299); + while (true) { - startingCities[item.Quest.RowId] = b; + int num11 = num10; + int num12 = 277631297; + int num13 = num11; + switch ((num13 | num12) - (num13 & num12)) + { + case 0: + goto IL_0048; + case 1: + return false; + case 2: + return x.Quest.RowId != 0; + } + continue; + IL_0048: + num10 = 277631299; } + }).ToDictionary((QuestChapter x) => x.Quest.RowId, (QuestChapter x) => x.Redo.RowId); + Dictionary startingCities = new Dictionary(); + byte b = 1; + while (b <= 3) + { + IEnumerator enumerator = dataManager.GetExcelSheet().GetRow(b).QuestRedoParam.Where((QuestRedo.QuestRedoParamStruct x) => x.Quest.IsValid).GetEnumerator(); + try + { + while (_202D_200C_206B_200B_206A_202D_200C_200C_206B_206D_206C_200D_202C_202A_200E_200E_206F_202D_206A_200B_202C_200E_206D_202B_200D_206A_202C_200E_206F_200D_206A_202D_202C_202C_202E_206B_200D_202E_206D_202E((IEnumerator)enumerator)) + { + QuestRedo.QuestRedoParamStruct current = enumerator.Current; + startingCities[current.Quest.RowId] = b; + } + } + finally + { + if (enumerator != null) + { + _200E_202B_206F_202C_206E_200C_206B_206B_206A_206A_202D_202E_202B_202E_200F_200C_200E_206F_200F_202C_202E_206D_206B_202E_206D_200B_200F_206D_206C_206B_200B_202A_206F_206A_202C_202B_202A_202E_200E_200C_202E((IDisposable)enumerator); + } + } + byte num = b; + int num2 = 1; + int num3 = num; + b = (byte)((num3 | num2) + (num3 & num2)); } - ExcelSheet questExSheet = dataManager.GetExcelSheet(); List list = new List(); list.AddRange(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 QuestInfo(x, questChapters.GetValueOrDefault(x.RowId), startingCities.GetValueOrDefault(x.RowId))); + list.AddRange(from x in dataManager.GetExcelSheet().Where(delegate(SatisfactionNpc x) + { + int num10 = ((x.RowId == 0) ? (-1811955487) : (-1811955486)); + while (true) + { + int num11 = num10; + int num12 = -1811955488; + int num13 = num11; + int num14 = num13 + num12; + int num15 = num13 & num12; + switch (num14 - (num15 + num15)) + { + case 0: + goto IL_004a; + case 1: + return false; + case 2: + return x.Npc.RowId != 0; + } + continue; + IL_004a: + num10 = -1811955486; + } + }) 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) + List list2 = list; + _quests = new ConcurrentDictionary(); + foreach (IQuestInfo item in list2) { - if (!Enum.IsDefined(typeof(EAlliedSociety), (byte)x.RowId)) + if (!_quests.TryAdd(item.QuestId, item)) { - questData._logger.LogWarning("Skipping unknown BeastTribe with RowId {RowId} (Name: {Name})", x.RowId, x.Name.ToString()); - return Enumerable.Empty(); + _200B_200E_202C_206C_200F_206A_206B_202E_206C_206C_206A_202C_202C_200B_200B_206D_206A_206C_202E_206A_206A_206C_206D_202B_202A_200D_200E_206F_206F_202C_206D_202C_206E_206C_200F_206B_202E_200E_202B_200F_202E((ILogger)_logger, global::_003CModule_003E._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(2111536420), new object[1] { item.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)); - 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) - { - ((QuestInfo)_quests[new QuestId(value)]).StartingCity = 1; } - array = new ushort[11] + 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]; + _202E_200D_202B_202D_200C_206B_206F_200F_206A_202B_200F_200B_202A_200E_206A_200D_206C_200F_202D_200B_200B_200C_200D_206D_200B_202C_200D_206F_206B_206B_200B_200D_200F_202B_202B_206D_200D_200D_206B_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + ushort[] array2 = array; + int num4 = 0; + while (num4 < array2.Length) { - 39, 1, 32, 34, 37, 172, 127, 130, 60, 220, - 378 - }; - foreach (ushort value2 in array) - { - ((QuestInfo)_quests[new QuestId(value2)]).StartingCity = 2; + ushort questId = array2[num4]; + SetStartingCity(questId, 1); + int num5 = num4; + int num2 = 1; + int num3 = num5; + int num6 = num3 ^ num2; + int num7 = num3 & num2; + num4 = num6 + (num7 + num7); } - array = new ushort[19] + ushort[] array3 = new ushort[11]; + _202E_200D_202B_202D_200C_206B_206F_200F_206A_202B_200F_200B_202A_200E_206A_200D_206C_200F_202D_200B_200B_200C_200D_206D_200B_202C_200D_206F_206B_206B_200B_200D_200F_202B_202B_206D_200D_200D_206B_202E((Array)array3, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + array2 = array3; + num4 = 0; + while (num4 < array2.Length) { - 594, 389, 390, 321, 304, 322, 388, 308, 326, 58, - 687, 341, 504, 531, 506, 530, 573, 342, 505 - }; - foreach (ushort value3 in array) + ushort questId2 = array2[num4]; + SetStartingCity(questId2, 2); + int num8 = num4; + int num2 = 1; + int num3 = num8; + num4 = (num3 | num2) + (num3 & num2); + } + ushort[] array4 = new ushort[19]; + _202E_200D_202B_202D_200C_206B_206F_200F_206A_202B_200F_200B_202A_200E_206A_200D_206C_200F_202D_200B_200B_200C_200D_206D_200B_202C_200D_206F_206B_206B_200B_200D_200F_202B_202B_206D_200D_200D_206B_202E((Array)array4, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + array2 = array4; + num4 = 0; + while (num4 < array2.Length) { - ((QuestInfo)_quests[new QuestId(value3)]).StartingCity = 3; + ushort questId3 = array2[num4]; + SetStartingCity(questId3, 3); + int num9 = num4; + int num2 = 1; + int num3 = num9; + num4 = (num3 | num2) + (num3 & num2); } AddGcFollowUpQuests(); - MainScenarioQuests = _quests.Values.Where((IQuestInfo x) => x is QuestInfo questInfo && questInfo.IsMainScenarioQuest).Cast().ToList(); + MainScenarioQuests = _quests.Values.Where(delegate(IQuestInfo x) + { + QuestInfo questInfo = x as QuestInfo; + int num10 = ((questInfo == null) ? 1962625655 : 1962625654); + while (true) + { + int num11 = num10; + int num12 = 1962625655; + int num13 = num11; + switch ((num13 | num12) - (num13 & num12)) + { + case 2: + goto IL_0048; + case 1: + return questInfo.IsMainScenarioQuest; + case 0: + return false; + } + continue; + IL_0048: + num10 = 1962625654; + } + }).Cast().ToList(); LastMainScenarioQuestId = (from x in MainScenarioQuests - where !questData.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) + where !MainScenarioQuests.Any((QuestInfo y) => y.PreviousQuests.Any((PreviousQuestInfo z) => _003C_003Ec__DisplayClass25_1._200E_206C_202B_206D_206F_206E_206E_200D_206A_202C_200B_206E_200E_202C_202B_206E_202B_202B_202C_200B_200F_202E_206D_200E_202B_206C_200F_206A_202E_206A_202D_200B_206E_206E_202B_206E_202B_206A_200E_202E((ElementId)z.QuestId, x.QuestId))) + select (QuestId)x.QuestId).FirstOrDefault() ?? _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)0); + RedeemableItems = list2.Where((IQuestInfo x) => x is QuestInfo).Cast().SelectMany((QuestInfo x) => x.ItemRewards) .ToImmutableHashSet(); } - private void AddPreviousQuest(QuestId questToUpdate, QuestId requiredQuestId) + [MethodImpl(MethodImplOptions.NoInlining)] + private void AddPreviousQuest(ushort questToUpdate, ushort requiredQuestId) { - if (_quests.TryGetValue(questToUpdate, out IQuestInfo value) && value is QuestInfo questInfo) + QuestId questId = _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E(questToUpdate); + IQuestInfo value; + int num = ((!_quests.TryGetValue(questId, out value)) ? (-87793651) : (-87793652)); + QuestInfo questInfo = default(QuestInfo); + while (true) { - questInfo.AddPreviousQuest(new PreviousQuestInfo(requiredQuestId, 0)); + int num2 = num; + int num3 = -87793649; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -87793652; + break; + case 1: + questInfo.AddPreviousQuest(new PreviousQuestInfo(_200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E(requiredQuestId), 0)); + return; + case 3: + questInfo = value as QuestInfo; + num = ((questInfo == null) ? (-87793651) : (-87793650)); + break; + case 2: + _206A_200D_202A_202D_200D_202E_200E_206E_200C_206A_202C_206D_200C_202C_206D_200F_206C_200C_206B_202D_200C_200B_202B_206E_200E_202D_206E_202D_206A_202E_200B_206A_200E_202E_202E_202E_206F_202C_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(1633400058), new object[1] { questId }); + return; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] + private void SetStartingCity(ushort questId, byte startingCity) + { + QuestId questId2 = _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E(questId); + IQuestInfo value; + int num = ((!_quests.TryGetValue(questId2, out value)) ? (-2047917635) : (-2047917636)); + QuestInfo questInfo = default(QuestInfo); + while (true) + { + int num2 = num; + int num3 = -2047917634; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -2047917636; + break; + case 1: + questInfo.StartingCity = startingCity; + return; + case 3: + _206A_200D_202A_202D_200D_202E_200E_206E_200C_206A_202C_206D_200C_202C_206D_200F_206C_200C_206B_202D_200C_200B_202B_206E_200E_202D_206E_202D_206A_202E_200B_206A_200E_202E_202E_202E_206F_202C_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-352584003), new object[1] { questId2 }); + return; + case 2: + questInfo = value as QuestInfo; + num = ((questInfo == null) ? (-2047917635) : (-2047917633)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void AddGcFollowUpQuests() { - QuestId[] array = new QuestId[3] + ushort[] array = new ushort[3]; + _202E_200D_202B_202D_200C_206B_206F_200F_206A_202B_200F_200B_202A_200E_206A_200D_206C_200F_202D_200B_200B_200C_200D_206D_200B_202C_200D_206F_206B_206B_200B_200D_200F_202B_202B_206D_200D_200D_206B_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + ushort[] array2 = array; + ushort[] array3 = array2; + int num = 0; + int num2 = -1969703842; + QuestId questId = default(QuestId); + _003C_003Ec__DisplayClass37_0 _003C_003Ec__DisplayClass37_ = default(_003C_003Ec__DisplayClass37_0); + IQuestInfo value = default(IQuestInfo); + QuestInfo questInfo = default(QuestInfo); + while (true) { - 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()); + int num3 = num2; + int num4 = -1969703848; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + _206A_200D_202A_202D_200D_202E_200E_206E_200C_206A_202C_206D_200C_202C_206D_200F_206C_200C_206B_202D_200C_200B_202B_206E_200E_202D_206E_202D_206A_202E_200B_206A_200E_202E_202E_202E_206F_202C_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(1613940727), new object[1] { questId }); + num2 = -1969703846; + break; + case 4: + _003C_003Ec__DisplayClass37_ = new _003C_003Ec__DisplayClass37_0(); + _003C_003Ec__DisplayClass37_.questId = array3[num]; + questId = _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E(_003C_003Ec__DisplayClass37_.questId); + num2 = ((!_quests.TryGetValue(questId, out value)) ? (-1969703847) : (-1969703848)); + break; + case 5: + return; + case 3: + num2 = -1969703842; + break; + case 6: + num2 = ((num < array3.Length) ? (-1969703844) : (-1969703843)); + break; + case 7: + questInfo.AddQuestLocks(EQuestJoin.AtLeastOne, (from x in array2.Where(_003C_003Ec__DisplayClass37_._003CAddGcFollowUpQuests_003Eb__0) + select _003C_003Ec._202E_202A_202C_200E_200C_200E_202C_206E_206A_200B_202D_200D_206A_202D_202E_202B_206F_200F_206A_202A_206C_206F_206C_202D_200D_202B_206A_200C_206D_202B_200E_200C_200E_202E_202D_202A_202A_206F_202E_200F_202E(x)).ToArray()); + num2 = -1969703846; + break; + case 2: + { + int num6 = num; + num4 = 1; + num5 = num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = num7 + (num8 + num8); + num2 = -1969703842; + break; + } + case 0: + questInfo = value as QuestInfo; + num2 = ((questInfo == null) ? (-1969703847) : (-1969703841)); + break; + } } } 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) @@ -311,480 +1005,719 @@ internal sealed class QuestData select x).ToList(); } + [MethodImpl(MethodImplOptions.NoInlining)] public List GetClassJobQuests(EClassJob classJob, bool includeRoleQuests = false) { - List list2; + int num; + List list2 = default(List); + List list = default(List); + List list3; + List list4; + List list5; + Span span; + List list6; + Span span2; + List list7; + List list8; + Span span3; + List list9; + List list10; + Span span4; + List list11; + List list12; + Span span5; + List list13; + Span span6; + List list14; + Span span7; + List list15; + Span span8; + List list16; + List list17; + Span span9; + List list18; + List list19; + List list20; + Span span10; + List list21; + Span span11; + List list22; + Span span12; + List list23; + Span span13; + List list24; + Span span14; + List list25; + Span span15; + List list26; + Span span16; + List list27; + Span span17; + List list28; + Span span18; + List list29; + Span span19; + List list30; + List list31; + Span span20; + List list32; + List list33; + Span span21; + List list34; + List list35; + List list36; + Span span22; + List list37; + List list38; + Span span23; + List list39; + Span span24; + List list40; + List list41; + Span span25; + List list42; + Span span26; + int num5; + List list43; switch (classJob) { - case EClassJob.Adventurer: - throw new ArgumentOutOfRangeException("classJob"); - case EClassJob.Gladiator: + default: + num = -311827817; + goto IL_00c2; + case EClassJob.Weaver: { - int num = 1; - List list43 = new List(num); - CollectionsMarshal.SetCount(list43, num); - CollectionsMarshal.AsSpan(list43)[0] = 63u; - list2 = list43; - break; - } - case EClassJob.Paladin: - { - int num = 3; - List list42 = new List(num); - CollectionsMarshal.SetCount(list42, num); - Span span27 = CollectionsMarshal.AsSpan(list42); - span27[0] = 72u; - span27[1] = 73u; - span27[2] = 74u; - list2 = list42; - break; - } - case EClassJob.Marauder: - { - int num = 1; - List list41 = new List(num); - CollectionsMarshal.SetCount(list41, num); - CollectionsMarshal.AsSpan(list41)[0] = 64u; - list2 = list41; - break; - } - case EClassJob.Warrior: - { - int num = 3; - List list40 = new List(num); - CollectionsMarshal.SetCount(list40, num); - Span span26 = CollectionsMarshal.AsSpan(list40); - span26[0] = 76u; - span26[1] = 77u; - span26[2] = 78u; - list2 = list40; - break; - } - case EClassJob.Conjurer: - { - int num = 1; - List list39 = new List(num); - CollectionsMarshal.SetCount(list39, num); - CollectionsMarshal.AsSpan(list39)[0] = 65u; - list2 = list39; - break; - } - case EClassJob.WhiteMage: - { - int num = 3; - List list38 = new List(num); - CollectionsMarshal.SetCount(list38, num); - Span span25 = CollectionsMarshal.AsSpan(list38); - span25[0] = 86u; - span25[1] = 87u; - span25[2] = 88u; - list2 = list38; - break; - } - case EClassJob.Arcanist: - { - int num = 1; - List list37 = new List(num); - CollectionsMarshal.SetCount(list37, num); - CollectionsMarshal.AsSpan(list37)[0] = 66u; - list2 = list37; - break; - } - case EClassJob.Summoner: - { - int num = 3; - List list36 = new List(num); - CollectionsMarshal.SetCount(list36, num); - Span span24 = CollectionsMarshal.AsSpan(list36); - span24[0] = 127u; - span24[1] = 128u; - span24[2] = 129u; - list2 = list36; - break; - } - case EClassJob.Scholar: - { - int num = 3; - List list35 = new List(num); - CollectionsMarshal.SetCount(list35, num); - Span span23 = CollectionsMarshal.AsSpan(list35); - span23[0] = 90u; - span23[1] = 91u; - span23[2] = 92u; - list2 = list35; - break; + num5 = 3; + List list44 = new List(num5); + CollectionsMarshal.SetCount(list44, num5); + Span span27 = CollectionsMarshal.AsSpan(list44); + span27[0] = 45u; + span27[1] = 46u; + span27[2] = 47u; + list2 = list44; + num = -311827835; + goto IL_00c2; } case EClassJob.Pugilist: - { - int num = 1; - List list34 = new List(num); - CollectionsMarshal.SetCount(list34, num); - CollectionsMarshal.AsSpan(list34)[0] = 67u; - list2 = list34; - break; - } - case EClassJob.Monk: - { - int num = 3; - List list33 = new List(num); - CollectionsMarshal.SetCount(list33, num); - Span span22 = CollectionsMarshal.AsSpan(list33); - span22[0] = 98u; - span22[1] = 99u; - span22[2] = 100u; - list2 = list33; - break; - } - case EClassJob.Lancer: - { - int num = 1; - List list32 = new List(num); - CollectionsMarshal.SetCount(list32, num); - CollectionsMarshal.AsSpan(list32)[0] = 68u; - list2 = list32; - break; - } + goto IL_01ef; + case EClassJob.Goldsmith: + goto IL_021e; + case EClassJob.Machinist: + goto IL_0263; + case EClassJob.Arcanist: + goto IL_02a8; + case EClassJob.Leatherworker: + goto IL_02d7; + case EClassJob.RedMage: + goto IL_031c; + case EClassJob.Viper: + goto IL_035c; + case EClassJob.Blacksmith: + goto IL_038e; + case EClassJob.Rogue: + goto IL_03d3; + case EClassJob.Gladiator: + goto IL_0402; case EClassJob.Dragoon: - { - int num = 3; - List list31 = new List(num); - CollectionsMarshal.SetCount(list31, num); - Span span21 = CollectionsMarshal.AsSpan(list31); + goto IL_0430; + case EClassJob.Reaper: + goto IL_0485; + case EClassJob.Carpenter: + goto IL_04b7; + case EClassJob.Dancer: + goto IL_0504; + case EClassJob.Samurai: + goto IL_053f; + case EClassJob.Alchemist: + goto IL_0579; + case EClassJob.Astrologian: + goto IL_05be; + case EClassJob.Summoner: + goto IL_0603; + case EClassJob.BlackMage: + goto IL_066e; + case EClassJob.Beastmaster: + goto IL_06b3; + case EClassJob.Culinarian: + goto IL_06c5; + case EClassJob.Botanist: + goto IL_070a; + case EClassJob.Miner: + goto IL_074f; + case EClassJob.Ninja: + goto IL_0794; + case EClassJob.Fisher: + goto IL_07d9; + case EClassJob.Marauder: + goto IL_081e; + case EClassJob.Pictomancer: + goto IL_084d; + case EClassJob.Monk: + goto IL_087f; + case EClassJob.Conjurer: + goto IL_08c4; + case EClassJob.Armorer: + goto IL_08f3; + case EClassJob.Adventurer: + break; + case EClassJob.BlueMage: + goto IL_0948; + case EClassJob.Paladin: + goto IL_09a4; + case EClassJob.Warrior: + goto IL_09e9; + case EClassJob.Lancer: + goto IL_0a2e; + case EClassJob.Bard: + goto IL_0a5d; + case EClassJob.Sage: + goto IL_0aae; + case EClassJob.DarkKnight: + goto IL_0ae0; + case EClassJob.Thaumaturge: + goto IL_0b25; + case EClassJob.Scholar: + goto IL_0b54; + case EClassJob.WhiteMage: + goto IL_0b99; + case EClassJob.Archer: + goto IL_0bde; + case EClassJob.Gunbreaker: + goto IL_0c0d; + IL_00c2: + while (true) + { + int num2 = num; + int num3 = -311827818; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 37: + goto end_IL_00c2; + case 7: + goto IL_01ef; + case 18: + goto IL_021e; + case 6: + goto IL_0263; + case 28: + goto IL_02a8; + case 24: + goto IL_02d7; + case 44: + goto IL_031c; + case 36: + goto IL_035c; + case 23: + goto IL_038e; + case 39: + goto IL_03d3; + case 34: + goto IL_0402; + case 49: + goto IL_0430; + case 16: + throw _202D_200B_200E_202B_200D_200F_206E_206D_202B_202A_200C_202A_202C_206F_206F_206F_200D_200B_200C_200F_202A_200C_200F_206F_200F_206F_202D_200F_202D_206E_202E_202A_202A_202B_200F_202B_200B_200F_202B_206F_202E(global::_003CModule_003E._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(-1324842693)); + case 21: + goto IL_0485; + case 48: + goto IL_04b7; + case 13: + return GetQuestsInNewGamePlusChapters(list); + case 46: + goto IL_0504; + case 1: + num = -311827834; + break; + case 12: + goto IL_053f; + case 2: + goto IL_0579; + case 14: + goto IL_05be; + case 47: + goto IL_0603; + case 19: + goto IL_064e; + case 25: + goto IL_066e; + case 20: + goto IL_06b3; + case 5: + goto IL_06c5; + case 40: + goto IL_070a; + case 32: + goto IL_074f; + case 38: + goto IL_0794; + case 31: + goto IL_07d9; + case 10: + goto IL_081e; + case 43: + goto IL_084d; + case 41: + goto IL_087f; + case 42: + goto IL_08c4; + case 26: + goto IL_08f3; + case 45: + goto end_IL_0001; + case 11: + goto IL_0948; + case 33: + goto IL_09a4; + case 9: + goto IL_09e9; + case 0: + goto IL_0a2e; + case 15: + goto IL_0a5d; + case 17: + num = -311827817; + break; + case 29: + goto IL_0aae; + case 8: + goto IL_0ae0; + case 3: + goto IL_0b25; + case 35: + goto IL_0b54; + case 27: + goto IL_0b99; + case 22: + goto IL_0bde; + case 30: + goto IL_0c0d; + case 4: + list.AddRange(GetRoleQuestIds(classJob)); + num = -311827813; + break; + } + continue; + IL_064e: + list = list2; + num = ((!includeRoleQuests) ? (-311827813) : (-311827822)); + continue; + end_IL_00c2: + break; + } + goto case EClassJob.Weaver; + IL_0c0d: + num5 = 1; + list3 = new List(num5); + CollectionsMarshal.SetCount(list3, num5); + CollectionsMarshal.AsSpan(list3)[0] = 84u; + list2 = list3; + num = -311827835; + goto IL_00c2; + IL_0bde: + num5 = 1; + list4 = new List(num5); + CollectionsMarshal.SetCount(list4, num5); + CollectionsMarshal.AsSpan(list4)[0] = 70u; + list2 = list4; + num = -311827835; + goto IL_00c2; + IL_0b99: + num5 = 3; + list5 = new List(num5); + CollectionsMarshal.SetCount(list5, num5); + span = CollectionsMarshal.AsSpan(list5); + span[0] = 86u; + span[1] = 87u; + span[2] = 88u; + list2 = list5; + num = -311827835; + goto IL_00c2; + IL_0b54: + num5 = 3; + list6 = new List(num5); + CollectionsMarshal.SetCount(list6, num5); + span2 = CollectionsMarshal.AsSpan(list6); + span2[0] = 90u; + span2[1] = 91u; + span2[2] = 92u; + list2 = list6; + num = -311827835; + goto IL_00c2; + IL_0b25: + num5 = 1; + list7 = new List(num5); + CollectionsMarshal.SetCount(list7, num5); + CollectionsMarshal.AsSpan(list7)[0] = 71u; + list2 = list7; + num = -311827835; + goto IL_00c2; + IL_0ae0: + num5 = 3; + list8 = new List(num5); + CollectionsMarshal.SetCount(list8, num5); + span3 = CollectionsMarshal.AsSpan(list8); + span3[0] = 80u; + span3[1] = 81u; + span3[2] = 82u; + list2 = list8; + num = -311827835; + goto IL_00c2; + IL_0aae: + num5 = 1; + list9 = new List(num5); + CollectionsMarshal.SetCount(list9, num5); + CollectionsMarshal.AsSpan(list9)[0] = 152u; + list2 = list9; + num = -311827835; + goto IL_00c2; + IL_0a5d: + num5 = 3; + list10 = new List(num5); + CollectionsMarshal.SetCount(list10, num5); + span4 = CollectionsMarshal.AsSpan(list10); + span4[0] = 113u; + span4[1] = 114u; + span4[2] = 115u; + list2 = list10; + num = -311827835; + goto IL_00c2; + IL_0a2e: + num5 = 1; + list11 = new List(num5); + CollectionsMarshal.SetCount(list11, num5); + CollectionsMarshal.AsSpan(list11)[0] = 68u; + list2 = list11; + num = -311827835; + goto IL_00c2; + IL_09e9: + num5 = 3; + list12 = new List(num5); + CollectionsMarshal.SetCount(list12, num5); + span5 = CollectionsMarshal.AsSpan(list12); + span5[0] = 76u; + span5[1] = 77u; + span5[2] = 78u; + list2 = list12; + num = -311827835; + goto IL_00c2; + IL_09a4: + num5 = 3; + list13 = new List(num5); + CollectionsMarshal.SetCount(list13, num5); + span6 = CollectionsMarshal.AsSpan(list13); + span6[0] = 72u; + span6[1] = 73u; + span6[2] = 74u; + list2 = list13; + num = -311827835; + goto IL_00c2; + IL_0948: + num5 = 4; + list14 = new List(num5); + CollectionsMarshal.SetCount(list14, num5); + span7 = CollectionsMarshal.AsSpan(list14); + span7[0] = 134u; + span7[1] = 135u; + span7[2] = 146u; + span7[3] = 170u; + list2 = list14; + num = -311827835; + goto IL_00c2; + IL_08f3: + num5 = 3; + list15 = new List(num5); + CollectionsMarshal.SetCount(list15, num5); + span8 = CollectionsMarshal.AsSpan(list15); + span8[0] = 36u; + span8[1] = 37u; + span8[2] = 38u; + list2 = list15; + num = -311827835; + goto IL_00c2; + IL_08c4: + num5 = 1; + list16 = new List(num5); + CollectionsMarshal.SetCount(list16, num5); + CollectionsMarshal.AsSpan(list16)[0] = 65u; + list2 = list16; + num = -311827835; + goto IL_00c2; + IL_087f: + num5 = 3; + list17 = new List(num5); + CollectionsMarshal.SetCount(list17, num5); + span9 = CollectionsMarshal.AsSpan(list17); + span9[0] = 98u; + span9[1] = 99u; + span9[2] = 100u; + list2 = list17; + num = -311827835; + goto IL_00c2; + IL_084d: + num5 = 1; + list18 = new List(num5); + CollectionsMarshal.SetCount(list18, num5); + CollectionsMarshal.AsSpan(list18)[0] = 177u; + list2 = list18; + num = -311827835; + goto IL_00c2; + IL_081e: + num5 = 1; + list19 = new List(num5); + CollectionsMarshal.SetCount(list19, num5); + CollectionsMarshal.AsSpan(list19)[0] = 64u; + list2 = list19; + num = -311827835; + goto IL_00c2; + IL_07d9: + num5 = 3; + list20 = new List(num5); + CollectionsMarshal.SetCount(list20, num5); + span10 = CollectionsMarshal.AsSpan(list20); + span10[0] = 60u; + span10[1] = 61u; + span10[2] = 62u; + list2 = list20; + num = -311827835; + goto IL_00c2; + IL_0794: + num5 = 3; + list21 = new List(num5); + CollectionsMarshal.SetCount(list21, num5); + span11 = CollectionsMarshal.AsSpan(list21); + span11[0] = 106u; + span11[1] = 107u; + span11[2] = 108u; + list2 = list21; + num = -311827835; + goto IL_00c2; + IL_074f: + num5 = 3; + list22 = new List(num5); + CollectionsMarshal.SetCount(list22, num5); + span12 = CollectionsMarshal.AsSpan(list22); + span12[0] = 54u; + span12[1] = 55u; + span12[2] = 56u; + list2 = list22; + num = -311827835; + goto IL_00c2; + IL_070a: + num5 = 3; + list23 = new List(num5); + CollectionsMarshal.SetCount(list23, num5); + span13 = CollectionsMarshal.AsSpan(list23); + span13[0] = 57u; + span13[1] = 58u; + span13[2] = 59u; + list2 = list23; + num = -311827835; + goto IL_00c2; + IL_06c5: + num5 = 3; + list24 = new List(num5); + CollectionsMarshal.SetCount(list24, num5); + span14 = CollectionsMarshal.AsSpan(list24); + span14[0] = 51u; + span14[1] = 52u; + span14[2] = 53u; + list2 = list24; + num = -311827835; + goto IL_00c2; + IL_06b3: + list2 = new List(); + num = -311827835; + goto IL_00c2; + IL_066e: + num5 = 3; + list25 = new List(num5); + CollectionsMarshal.SetCount(list25, num5); + span15 = CollectionsMarshal.AsSpan(list25); + span15[0] = 123u; + span15[1] = 124u; + span15[2] = 125u; + list2 = list25; + num = -311827835; + goto IL_00c2; + IL_0603: + num5 = 3; + list26 = new List(num5); + CollectionsMarshal.SetCount(list26, num5); + span16 = CollectionsMarshal.AsSpan(list26); + span16[0] = 127u; + span16[1] = 128u; + span16[2] = 129u; + list2 = list26; + num = -311827835; + goto IL_00c2; + IL_05be: + num5 = 3; + list27 = new List(num5); + CollectionsMarshal.SetCount(list27, num5); + span17 = CollectionsMarshal.AsSpan(list27); + span17[0] = 94u; + span17[1] = 95u; + span17[2] = 96u; + list2 = list27; + num = -311827835; + goto IL_00c2; + IL_0579: + num5 = 3; + list28 = new List(num5); + CollectionsMarshal.SetCount(list28, num5); + span18 = CollectionsMarshal.AsSpan(list28); + span18[0] = 48u; + span18[1] = 49u; + span18[2] = 50u; + list2 = list28; + num = -311827835; + goto IL_00c2; + IL_053f: + num5 = 2; + list29 = new List(num5); + CollectionsMarshal.SetCount(list29, num5); + span19 = CollectionsMarshal.AsSpan(list29); + span19[0] = 110u; + span19[1] = 111u; + list2 = list29; + num = -311827835; + goto IL_00c2; + IL_0504: + num5 = 1; + list30 = new List(num5); + CollectionsMarshal.SetCount(list30, num5); + CollectionsMarshal.AsSpan(list30)[0] = 121u; + list2 = list30; + num = -311827835; + goto IL_00c2; + IL_04b7: + num5 = 3; + list31 = new List(num5); + CollectionsMarshal.SetCount(list31, num5); + span20 = CollectionsMarshal.AsSpan(list31); + span20[0] = 30u; + span20[1] = 31u; + span20[2] = 32u; + list2 = list31; + num = -311827835; + goto IL_00c2; + IL_0485: + num5 = 1; + list32 = new List(num5); + CollectionsMarshal.SetCount(list32, num5); + CollectionsMarshal.AsSpan(list32)[0] = 153u; + list2 = list32; + num = -311827835; + goto IL_00c2; + IL_0430: + num5 = 3; + list33 = new List(num5); + CollectionsMarshal.SetCount(list33, num5); + span21 = CollectionsMarshal.AsSpan(list33); span21[0] = 102u; span21[1] = 103u; span21[2] = 104u; - list2 = list31; + list2 = list33; + num = -311827835; + goto IL_00c2; + IL_0402: + num5 = 1; + list34 = new List(num5); + CollectionsMarshal.SetCount(list34, num5); + CollectionsMarshal.AsSpan(list34)[0] = 63u; + list2 = list34; + num = -311827835; + goto IL_00c2; + IL_03d3: + num5 = 1; + list35 = new List(num5); + CollectionsMarshal.SetCount(list35, num5); + CollectionsMarshal.AsSpan(list35)[0] = 69u; + list2 = list35; + num = -311827835; + goto IL_00c2; + IL_038e: + num5 = 3; + list36 = new List(num5); + CollectionsMarshal.SetCount(list36, num5); + span22 = CollectionsMarshal.AsSpan(list36); + span22[0] = 33u; + span22[1] = 34u; + span22[2] = 35u; + list2 = list36; + num = -311827835; + goto IL_00c2; + IL_035c: + num5 = 1; + list37 = new List(num5); + CollectionsMarshal.SetCount(list37, num5); + CollectionsMarshal.AsSpan(list37)[0] = 176u; + list2 = list37; + num = -311827835; + goto IL_00c2; + IL_031c: + num5 = 2; + list38 = new List(num5); + CollectionsMarshal.SetCount(list38, num5); + span23 = CollectionsMarshal.AsSpan(list38); + span23[0] = 131u; + span23[1] = 132u; + list2 = list38; + num = -311827835; + goto IL_00c2; + IL_02d7: + num5 = 3; + list39 = new List(num5); + CollectionsMarshal.SetCount(list39, num5); + span24 = CollectionsMarshal.AsSpan(list39); + span24[0] = 42u; + span24[1] = 43u; + span24[2] = 44u; + list2 = list39; + num = -311827835; + goto IL_00c2; + IL_02a8: + num5 = 1; + list40 = new List(num5); + CollectionsMarshal.SetCount(list40, num5); + CollectionsMarshal.AsSpan(list40)[0] = 66u; + list2 = list40; + num = -311827835; + goto IL_00c2; + IL_0263: + num5 = 3; + list41 = new List(num5); + CollectionsMarshal.SetCount(list41, num5); + span25 = CollectionsMarshal.AsSpan(list41); + span25[0] = 117u; + span25[1] = 118u; + span25[2] = 119u; + list2 = list41; + num = -311827835; + goto IL_00c2; + IL_021e: + num5 = 3; + list42 = new List(num5); + CollectionsMarshal.SetCount(list42, num5); + span26 = CollectionsMarshal.AsSpan(list42); + span26[0] = 39u; + span26[1] = 40u; + span26[2] = 41u; + list2 = list42; + num = -311827835; + goto IL_00c2; + IL_01ef: + num5 = 1; + list43 = new List(num5); + CollectionsMarshal.SetCount(list43, num5); + CollectionsMarshal.AsSpan(list43)[0] = 67u; + list2 = list43; + num = -311827835; + goto IL_00c2; + end_IL_0001: break; } - case EClassJob.Rogue: - { - int num = 1; - List list30 = new List(num); - CollectionsMarshal.SetCount(list30, num); - CollectionsMarshal.AsSpan(list30)[0] = 69u; - list2 = list30; - break; - } - case EClassJob.Ninja: - { - int num = 3; - List list29 = new List(num); - CollectionsMarshal.SetCount(list29, num); - Span span20 = CollectionsMarshal.AsSpan(list29); - span20[0] = 106u; - span20[1] = 107u; - span20[2] = 108u; - list2 = list29; - break; - } - case EClassJob.Archer: - { - int num = 1; - List list28 = new List(num); - CollectionsMarshal.SetCount(list28, num); - CollectionsMarshal.AsSpan(list28)[0] = 70u; - list2 = list28; - break; - } - case EClassJob.Bard: - { - int num = 3; - List list27 = new List(num); - CollectionsMarshal.SetCount(list27, num); - Span span19 = CollectionsMarshal.AsSpan(list27); - span19[0] = 113u; - span19[1] = 114u; - span19[2] = 115u; - list2 = list27; - break; - } - case EClassJob.Thaumaturge: - { - int num = 1; - List list26 = new List(num); - CollectionsMarshal.SetCount(list26, num); - CollectionsMarshal.AsSpan(list26)[0] = 71u; - list2 = list26; - break; - } - case EClassJob.BlackMage: - { - int num = 3; - List list25 = new List(num); - CollectionsMarshal.SetCount(list25, num); - Span span18 = CollectionsMarshal.AsSpan(list25); - span18[0] = 123u; - span18[1] = 124u; - span18[2] = 125u; - list2 = list25; - break; - } - case EClassJob.DarkKnight: - { - int num = 3; - List list24 = new List(num); - CollectionsMarshal.SetCount(list24, num); - Span span17 = CollectionsMarshal.AsSpan(list24); - span17[0] = 80u; - span17[1] = 81u; - span17[2] = 82u; - list2 = list24; - break; - } - case EClassJob.Astrologian: - { - int num = 3; - List list23 = new List(num); - CollectionsMarshal.SetCount(list23, num); - Span span16 = CollectionsMarshal.AsSpan(list23); - span16[0] = 94u; - span16[1] = 95u; - span16[2] = 96u; - list2 = list23; - break; - } - case EClassJob.Machinist: - { - int num = 3; - List list22 = new List(num); - CollectionsMarshal.SetCount(list22, num); - Span span15 = CollectionsMarshal.AsSpan(list22); - span15[0] = 117u; - span15[1] = 118u; - span15[2] = 119u; - list2 = list22; - break; - } - case EClassJob.Samurai: - { - int num = 2; - List list21 = new List(num); - CollectionsMarshal.SetCount(list21, num); - Span span14 = CollectionsMarshal.AsSpan(list21); - span14[0] = 110u; - span14[1] = 111u; - list2 = list21; - break; - } - case EClassJob.RedMage: - { - int num = 2; - List list20 = new List(num); - CollectionsMarshal.SetCount(list20, num); - Span span13 = CollectionsMarshal.AsSpan(list20); - span13[0] = 131u; - span13[1] = 132u; - list2 = list20; - break; - } - case EClassJob.BlueMage: - { - int num = 4; - List list19 = new List(num); - CollectionsMarshal.SetCount(list19, num); - Span span12 = CollectionsMarshal.AsSpan(list19); - span12[0] = 134u; - span12[1] = 135u; - span12[2] = 146u; - span12[3] = 170u; - list2 = list19; - break; - } - case EClassJob.Gunbreaker: - { - int num = 1; - List list18 = new List(num); - CollectionsMarshal.SetCount(list18, num); - CollectionsMarshal.AsSpan(list18)[0] = 84u; - list2 = list18; - break; - } - case EClassJob.Dancer: - { - int num = 1; - List list17 = new List(num); - CollectionsMarshal.SetCount(list17, num); - CollectionsMarshal.AsSpan(list17)[0] = 121u; - list2 = list17; - break; - } - case EClassJob.Sage: - { - int num = 1; - List list16 = new List(num); - CollectionsMarshal.SetCount(list16, num); - CollectionsMarshal.AsSpan(list16)[0] = 152u; - list2 = list16; - break; - } - case EClassJob.Reaper: - { - int num = 1; - List list15 = new List(num); - CollectionsMarshal.SetCount(list15, num); - CollectionsMarshal.AsSpan(list15)[0] = 153u; - list2 = list15; - break; - } - case EClassJob.Viper: - { - int num = 1; - List list14 = new List(num); - CollectionsMarshal.SetCount(list14, num); - CollectionsMarshal.AsSpan(list14)[0] = 176u; - list2 = list14; - break; - } - case EClassJob.Pictomancer: - { - int num = 1; - List list13 = new List(num); - CollectionsMarshal.SetCount(list13, num); - CollectionsMarshal.AsSpan(list13)[0] = 177u; - list2 = list13; - break; - } - case EClassJob.Alchemist: - { - int num = 3; - List list12 = new List(num); - CollectionsMarshal.SetCount(list12, num); - Span span11 = CollectionsMarshal.AsSpan(list12); - span11[0] = 48u; - span11[1] = 49u; - span11[2] = 50u; - list2 = list12; - break; - } - case EClassJob.Armorer: - { - int num = 3; - List list11 = new List(num); - CollectionsMarshal.SetCount(list11, num); - Span span10 = CollectionsMarshal.AsSpan(list11); - span10[0] = 36u; - span10[1] = 37u; - span10[2] = 38u; - list2 = list11; - break; - } - case EClassJob.Blacksmith: - { - int num = 3; - List list10 = new List(num); - CollectionsMarshal.SetCount(list10, num); - Span span9 = CollectionsMarshal.AsSpan(list10); - span9[0] = 33u; - span9[1] = 34u; - span9[2] = 35u; - list2 = list10; - break; - } - case EClassJob.Carpenter: - { - int num = 3; - List list9 = new List(num); - CollectionsMarshal.SetCount(list9, num); - Span span8 = CollectionsMarshal.AsSpan(list9); - span8[0] = 30u; - span8[1] = 31u; - span8[2] = 32u; - list2 = list9; - break; - } - case EClassJob.Culinarian: - { - int num = 3; - List list8 = new List(num); - CollectionsMarshal.SetCount(list8, num); - Span span7 = CollectionsMarshal.AsSpan(list8); - span7[0] = 51u; - span7[1] = 52u; - span7[2] = 53u; - list2 = list8; - break; - } - case EClassJob.Goldsmith: - { - int num = 3; - List list7 = new List(num); - CollectionsMarshal.SetCount(list7, num); - Span span6 = CollectionsMarshal.AsSpan(list7); - span6[0] = 39u; - span6[1] = 40u; - span6[2] = 41u; - list2 = list7; - break; - } - case EClassJob.Leatherworker: - { - int num = 3; - List list6 = new List(num); - CollectionsMarshal.SetCount(list6, num); - Span span5 = CollectionsMarshal.AsSpan(list6); - span5[0] = 42u; - span5[1] = 43u; - span5[2] = 44u; - list2 = list6; - break; - } - case EClassJob.Weaver: - { - int num = 3; - List list5 = new List(num); - CollectionsMarshal.SetCount(list5, num); - Span span4 = CollectionsMarshal.AsSpan(list5); - span4[0] = 45u; - span4[1] = 46u; - span4[2] = 47u; - list2 = list5; - break; - } - case EClassJob.Miner: - { - int num = 3; - List list4 = new List(num); - CollectionsMarshal.SetCount(list4, num); - Span span3 = CollectionsMarshal.AsSpan(list4); - span3[0] = 54u; - span3[1] = 55u; - span3[2] = 56u; - list2 = list4; - break; - } - case EClassJob.Botanist: - { - int num = 3; - List list3 = new List(num); - CollectionsMarshal.SetCount(list3, num); - Span span2 = CollectionsMarshal.AsSpan(list3); - span2[0] = 57u; - span2[1] = 58u; - span2[2] = 59u; - list2 = list3; - break; - } - case EClassJob.Fisher: - { - int num = 3; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - Span span = CollectionsMarshal.AsSpan(list); - span[0] = 60u; - span[1] = 61u; - span[2] = 62u; - list2 = list; - break; - } - default: - throw new ArgumentOutOfRangeException("classJob"); - } - List list44 = list2; - if (includeRoleQuests) - { - list44.AddRange(GetRoleQuestIds(classJob)); - } - return GetQuestsInNewGamePlusChapters(list44); + throw _202D_200B_200E_202B_200D_200F_206E_206D_202B_202A_200C_202A_202C_206F_206F_206F_200D_200B_200C_200F_202A_200C_200F_206F_200F_206F_202D_200F_202D_206E_202E_202A_202A_202B_200F_202B_200B_200F_202B_206F_202E(global::_003CModule_003E._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(688705615)); } public List GetRoleQuests(EClassJob referenceClassJob) @@ -792,29 +1725,87 @@ 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) + { + int num = ((preference != ERoleQuestPreference.Default) ? 505783966 : 505783967); + RoleQuestData value = default(RoleQuestData); + while (true) { - return TankRoleQuestChapters; + int num2 = num; + int num3 = 505783964; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 505783967; + break; + case 2: + num = ((!RoleDataByPreference.TryGetValue(preference, out value)) ? 505783964 : 505783965); + break; + case 0: + return false; + case 3: + return true; + case 1: + return value.JobMatch(classJob); + } } - if (classJob.IsHealer()) + } + + private static RoleQuestData? ResolveRoleData(ERoleQuestPreference preference, EClassJob currentJob) + { + int num = ((preference == ERoleQuestPreference.Default) ? (-1367229614) : (-1367229615)); + RoleQuestData value = default(RoleQuestData); + while (true) { - return HealerRoleQuestChapters; + int num2 = num; + int num3 = -1367229616; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return ResolveRoleDataForJob(currentJob); + case 1: + num = ((!RoleDataByPreference.TryGetValue(preference, out value)) ? (-1367229614) : (-1367229613)); + break; + case 0: + num = -1367229615; + break; + case 3: + return value; + } } - if (classJob.IsMelee()) - { - return MeleeRoleQuestChapters; - } - if (classJob.IsPhysicalRanged()) - { - return PhysicalRangedRoleQuestChapters; - } - if (classJob.IsCaster() && classJob != EClassJob.BlueMage) - { - return CasterRoleQuestChapters; - } - return Array.Empty(); + } + + private static RoleQuestData? ResolveRoleDataForJob(EClassJob classJob) + { + return AllRoleData.FirstOrDefault((RoleQuestData d) => d.JobMatch(classJob)); } private List GetQuestsInNewGamePlusChapters(List chapterIds) @@ -824,229 +1815,310 @@ 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); - if (eClassJob == EClassJob.Adventurer) + byte b = _202A_202D_200C_202C_202D_206D_202C_200D_202C_200F_202E_202C_202B_206E_200F_202B_206A_200B_206D_202B_206C_206A_200C_200F_202D_200C_206B_206E_206F_206D_200D_202C_206F_206E_200D_206C_200B_202C_206D_202C_202E(); + int num = ((b != _cachedFirstClass) ? (-1241614056) : (-1241614050)); + EClassJob eClassJob = default(EClassJob); + while (true) { - return new List(); + int num2 = num; + int num3 = -1241614049; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return new List(); + case 7: + num = ((b != 0) ? (-1241614054) : (-1241614055)); + break; + case 2: + { + int num6 = 8; + List> list = new List>(num6); + CollectionsMarshal.SetCount(list, num6); + Span> span = CollectionsMarshal.AsSpan(list); + ref List reference = ref span[0]; + List list2; + if (eClassJob != EClassJob.Gladiator) + { + int num7 = 2; + list2 = new List(num7); + CollectionsMarshal.SetCount(list2, num7); + Span span2 = CollectionsMarshal.AsSpan(list2); + span2[0] = 253; + span2[1] = 261; + } + else + { + int num7 = 4; + list2 = new List(num7); + CollectionsMarshal.SetCount(list2, num7); + Span span3 = CollectionsMarshal.AsSpan(list2); + span3[0] = 177; + span3[1] = 285; + span3[2] = 286; + span3[3] = 288; + } + reference = list2; + ref List reference2 = ref span[1]; + List list3; + if (eClassJob != EClassJob.Pugilist) + { + int num7 = 2; + list3 = new List(num7); + CollectionsMarshal.SetCount(list3, num7); + Span span4 = CollectionsMarshal.AsSpan(list3); + span4[0] = 533; + span4[1] = 555; + } + else + { + int num7 = 4; + list3 = new List(num7); + CollectionsMarshal.SetCount(list3, num7); + Span span5 = CollectionsMarshal.AsSpan(list3); + span5[0] = 178; + span5[1] = 532; + span5[2] = 553; + span5[3] = 698; + } + reference2 = list3; + ref List reference3 = ref span[2]; + List list4; + if (eClassJob != EClassJob.Marauder) + { + int num7 = 2; + list4 = new List(num7); + CollectionsMarshal.SetCount(list4, num7); + Span span6 = CollectionsMarshal.AsSpan(list4); + span6[0] = 311; + span6[1] = 314; + } + else + { + int num7 = 4; + list4 = new List(num7); + CollectionsMarshal.SetCount(list4, num7); + Span span7 = CollectionsMarshal.AsSpan(list4); + span7[0] = 179; + span7[1] = 310; + span7[2] = 312; + span7[3] = 315; + } + reference3 = list4; + ref List reference4 = ref span[3]; + List list5; + if (eClassJob != EClassJob.Lancer) + { + int num7 = 2; + list5 = new List(num7); + CollectionsMarshal.SetCount(list5, num7); + Span span8 = CollectionsMarshal.AsSpan(list5); + span8[0] = 23; + span8[1] = 35; + } + else + { + int num7 = 4; + list5 = new List(num7); + CollectionsMarshal.SetCount(list5, num7); + Span span9 = CollectionsMarshal.AsSpan(list5); + span9[0] = 180; + span9[1] = 132; + span9[2] = 218; + span9[3] = 143; + } + reference4 = list5; + ref List reference5 = ref span[4]; + List list6; + if (eClassJob != EClassJob.Archer) + { + int num7 = 2; + list6 = new List(num7); + CollectionsMarshal.SetCount(list6, num7); + Span span10 = CollectionsMarshal.AsSpan(list6); + span10[0] = 21; + span10[1] = 67; + } + else + { + int num7 = 4; + list6 = new List(num7); + CollectionsMarshal.SetCount(list6, num7); + Span span11 = CollectionsMarshal.AsSpan(list6); + span11[0] = 181; + span11[1] = 131; + span11[2] = 219; + span11[3] = 134; + } + reference5 = list6; + ref List reference6 = ref span[5]; + List list7; + if (eClassJob != EClassJob.Conjurer) + { + int num7 = 2; + list7 = new List(num7); + CollectionsMarshal.SetCount(list7, num7); + Span span12 = CollectionsMarshal.AsSpan(list7); + span12[0] = 22; + span12[1] = 91; + } + else + { + int num7 = 4; + list7 = new List(num7); + CollectionsMarshal.SetCount(list7, num7); + Span span13 = CollectionsMarshal.AsSpan(list7); + span13[0] = 182; + span13[1] = 133; + span13[2] = 211; + span13[3] = 147; + } + reference6 = list7; + ref List reference7 = ref span[6]; + List list8; + if (eClassJob != EClassJob.Thaumaturge) + { + int num7 = 2; + list8 = new List(num7); + CollectionsMarshal.SetCount(list8, num7); + Span span14 = CollectionsMarshal.AsSpan(list8); + span14[0] = 345; + span14[1] = 348; + } + else + { + int num7 = 4; + list8 = new List(num7); + CollectionsMarshal.SetCount(list8, num7); + Span span15 = CollectionsMarshal.AsSpan(list8); + span15[0] = 183; + span15[1] = 344; + span15[2] = 346; + span15[3] = 349; + } + reference7 = list8; + ref List reference8 = ref span[7]; + List list9; + if (eClassJob != EClassJob.Arcanist) + { + int num7 = 2; + list9 = new List(num7); + CollectionsMarshal.SetCount(list9, num7); + Span span16 = CollectionsMarshal.AsSpan(list9); + span16[0] = 453; + span16[1] = 456; + } + else + { + int num7 = 4; + list9 = new List(num7); + CollectionsMarshal.SetCount(list9, num7); + Span span17 = CollectionsMarshal.AsSpan(list9); + span17[0] = 451; + span17[1] = 452; + span17[2] = 454; + span17[3] = 457; + } + reference8 = list9; + _cachedFirstClass = b; + _cachedLockedClassQuests = (from x in list.SelectMany((List x) => x) + select _003C_003Ec._202E_202A_202C_200E_200C_200E_202C_206E_206A_200B_202D_200D_206A_202D_202E_202B_206F_200F_206A_202A_206C_206F_206C_202D_200D_202B_206A_200C_206D_202B_200E_200C_200E_202E_202D_202A_202A_206F_202E_200F_202E(x)).ToList(); + return _cachedLockedClassQuests; + } + case 5: + num5 = b; + goto IL_05df; + case 4: + return _cachedLockedClassQuests; + case 1: + num = ((_cachedLockedClassQuests.Count <= 0) ? (-1241614056) : (-1241614053)); + break; + case 0: + num = -1241614050; + break; + case 6: + { + num5 = 0; + goto IL_05df; + } + IL_05df: + eClassJob = (EClassJob)num5; + num = ((eClassJob != EClassJob.Adventurer) ? (-1241614051) : (-1241614052)); + break; + } } - int num = 8; - List> list = new List>(num); - CollectionsMarshal.SetCount(list, num); - Span> span = CollectionsMarshal.AsSpan(list); - ref List reference = ref span[0]; - List list2; - if (eClassJob != EClassJob.Gladiator) - { - int num2 = 2; - list2 = new List(num2); - CollectionsMarshal.SetCount(list2, num2); - Span span2 = CollectionsMarshal.AsSpan(list2); - span2[0] = 253; - span2[1] = 261; - } - else - { - int num2 = 4; - list2 = new List(num2); - CollectionsMarshal.SetCount(list2, num2); - Span span3 = CollectionsMarshal.AsSpan(list2); - span3[0] = 177; - span3[1] = 285; - span3[2] = 286; - span3[3] = 288; - } - reference = list2; - ref List reference2 = ref span[1]; - List list3; - if (eClassJob != EClassJob.Pugilist) - { - int num2 = 2; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span4 = CollectionsMarshal.AsSpan(list3); - span4[0] = 533; - span4[1] = 555; - } - else - { - int num2 = 4; - list3 = new List(num2); - CollectionsMarshal.SetCount(list3, num2); - Span span5 = CollectionsMarshal.AsSpan(list3); - span5[0] = 178; - span5[1] = 532; - span5[2] = 553; - span5[3] = 698; - } - reference2 = list3; - ref List reference3 = ref span[2]; - List list4; - if (eClassJob != EClassJob.Marauder) - { - int num2 = 2; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span6 = CollectionsMarshal.AsSpan(list4); - span6[0] = 311; - span6[1] = 314; - } - else - { - int num2 = 4; - list4 = new List(num2); - CollectionsMarshal.SetCount(list4, num2); - Span span7 = CollectionsMarshal.AsSpan(list4); - span7[0] = 179; - span7[1] = 310; - span7[2] = 312; - span7[3] = 315; - } - reference3 = list4; - ref List reference4 = ref span[3]; - List list5; - if (eClassJob != EClassJob.Lancer) - { - int num2 = 2; - list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span8 = CollectionsMarshal.AsSpan(list5); - span8[0] = 23; - span8[1] = 35; - } - else - { - int num2 = 4; - list5 = new List(num2); - CollectionsMarshal.SetCount(list5, num2); - Span span9 = CollectionsMarshal.AsSpan(list5); - span9[0] = 180; - span9[1] = 132; - span9[2] = 218; - span9[3] = 143; - } - reference4 = list5; - ref List reference5 = ref span[4]; - List list6; - if (eClassJob != EClassJob.Archer) - { - int num2 = 2; - list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span10 = CollectionsMarshal.AsSpan(list6); - span10[0] = 21; - span10[1] = 67; - } - else - { - int num2 = 4; - list6 = new List(num2); - CollectionsMarshal.SetCount(list6, num2); - Span span11 = CollectionsMarshal.AsSpan(list6); - span11[0] = 181; - span11[1] = 131; - span11[2] = 219; - span11[3] = 134; - } - reference5 = list6; - ref List reference6 = ref span[5]; - List list7; - if (eClassJob != EClassJob.Conjurer) - { - int num2 = 2; - list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span12 = CollectionsMarshal.AsSpan(list7); - span12[0] = 22; - span12[1] = 91; - } - else - { - int num2 = 4; - list7 = new List(num2); - CollectionsMarshal.SetCount(list7, num2); - Span span13 = CollectionsMarshal.AsSpan(list7); - span13[0] = 182; - span13[1] = 133; - span13[2] = 211; - span13[3] = 147; - } - reference6 = list7; - ref List reference7 = ref span[6]; - List list8; - if (eClassJob != EClassJob.Thaumaturge) - { - int num2 = 2; - list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - Span span14 = CollectionsMarshal.AsSpan(list8); - span14[0] = 345; - span14[1] = 348; - } - else - { - int num2 = 4; - list8 = new List(num2); - CollectionsMarshal.SetCount(list8, num2); - Span span15 = CollectionsMarshal.AsSpan(list8); - span15[0] = 183; - span15[1] = 344; - span15[2] = 346; - span15[3] = 349; - } - reference7 = list8; - ref List reference8 = ref span[7]; - List list9; - if (eClassJob != EClassJob.Arcanist) - { - int num2 = 2; - list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - Span span16 = CollectionsMarshal.AsSpan(list9); - span16[0] = 453; - span16[1] = 456; - } - else - { - int num2 = 4; - list9 = new List(num2); - CollectionsMarshal.SetCount(list9, num2); - Span span17 = CollectionsMarshal.AsSpan(list9); - span17[0] = 451; - span17[1] = 452; - span17[2] = 454; - span17[3] = 457; - } - reference8 = list9; - return (from x in list.SelectMany((List x) => x) - select new QuestId(x)).ToList(); } + [MethodImpl(MethodImplOptions.NoInlining)] public void ApplySeasonalOverride(ElementId questId, bool isSeasonal, DateTime? expiry) { - if (_quests.TryGetValue(questId, out IQuestInfo value) && value is QuestInfo questInfo) + IQuestInfo value; + int num = ((!_quests.TryGetValue(questId, out value)) ? 1563318805 : 1563318803); + QuestInfo questInfo = default(QuestInfo); + while (true) { - DateTime? seasonalQuestExpiry = null; - if (expiry.HasValue) + int num2 = num; + int num3 = 1563318805; + int num4 = num2; + DateTime? obj; + DateTime? seasonalQuestExpiry; + switch ((num4 | num3) - (num4 & num3)) { - 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)))); + case 9: + _200B_200E_202C_206C_200F_206A_206B_202E_206C_206C_206A_202C_202C_200B_200B_206D_206A_206C_202E_206A_206A_206C_206D_202B_202A_200D_200E_206F_206F_202C_206D_202C_206E_206C_200F_206B_202E_200E_202B_200F_202E((ILogger)_logger, global::_003CModule_003E._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(723364257), new object[1] { questId }); + return; + case 4: + num = (expiry.HasValue ? 1563318804 : 1563318813); + break; + case 7: + num = ((value == null) ? 1563318807 : 1563318806); + break; + case 6: + questInfo = value as QuestInfo; + num = ((questInfo == null) ? 1563318805 : 1563318801); + break; + case 1: + obj = ExpiryUtils.NormalizeExpiry(expiry.Value); + goto IL_010b; + case 5: + num = 1563318803; + break; + case 0: + num = ((!(value is UnlockLinkQuestInfo)) ? 1563318802 : 1563318812); + break; + case 8: + obj = null; + goto IL_010b; + case 3: + _200B_200E_202C_206C_200F_206A_206B_202E_206C_206C_206A_202C_202C_200B_200B_206D_206A_206C_202E_206A_206A_206C_206D_202B_202A_200D_200E_206F_206F_202C_206D_202C_206E_206C_200F_206B_202E_200E_202B_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1550302133), new object[2] + { + questId, + _206B_202D_206F_202B_206D_202D_200E_202E_206B_202D_200C_206A_202A_200B_202A_206C_202B_202A_202C_202E_202D_202A_202A_206B_200D_200E_206F_200F_202E_202C_206F_200E_202D_200E_206D_202C_200E_202B_206A_202E((MemberInfo)_206A_206E_206F_202B_200E_200C_206B_206B_200B_200F_206A_200E_200E_202A_202D_206A_206E_202B_206C_202C_202C_202E_200B_200E_200F_206E_202C_202A_202D_200F_206E_206B_200E_200C_200E_206B_200E_202A_200B_206D_202E((object)value)) + }); + return; + case 2: + { + _206A_200D_202A_202D_200D_202E_200E_206E_200C_206A_202C_206D_200C_202C_206D_200F_206C_200C_206B_202D_200C_200B_202B_206E_200E_202D_206E_202D_206A_202E_200B_206A_200E_202E_202E_202E_206F_202C_200B_206A_202E((ILogger)_logger, global::_003CModule_003E._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(1273478229), new object[1] { questId }); + return; + } + IL_010b: + seasonalQuestExpiry = obj; + questInfo.IsSeasonalQuest = isSeasonal; + questInfo.SeasonalQuestExpiry = seasonalQuestExpiry; + return; } - questInfo.IsSeasonalQuest = isSeasonal; - questInfo.SeasonalQuestExpiry = seasonalQuestExpiry; - } - else - { - _ = value is UnlockLinkQuestInfo; } } + [MethodImpl(MethodImplOptions.NoInlining)] public void AddOrReplaceQuestInfo(IQuestInfo info) { - ArgumentNullException.ThrowIfNull(info, "info"); + _200D_206A_200E_202A_206F_202B_202E_202D_200F_202A_202A_202E_206A_206E_200F_202C_202D_202D_200E_206A_202C_200D_202A_202B_206A_206E_206E_206C_202C_200F_206A_200F_200F_206E_206C_206F_202B_202C_206C_206A_202E((object)info, global::_003CModule_003E._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(1327166408)); _quests[info.QuestId] = info; + _200B_200E_202C_206C_200F_206A_206B_202E_206C_206C_206A_202C_202C_200B_200B_206D_206A_206C_202E_206A_206A_206C_206D_202B_202A_200D_200E_206F_206F_202C_206D_202C_206E_206C_200F_206B_202E_200E_202B_200F_202E((ILogger)_logger, global::_003CModule_003E._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(653660238), new object[1] { info.QuestId }); } static QuestData() @@ -1313,20 +2385,179 @@ internal sealed class QuestData span29[2] = 5178; span29[3] = 5179; dictionary.Add(1192u, list29); - AetherCurrentQuestsByTerritory = dictionary.ToImmutableDictionary((KeyValuePair> x) => x.Key, (KeyValuePair> x) => x.Value.Select((ushort y) => new QuestId(y)).ToImmutableList()); + AetherCurrentQuestsByTerritory = dictionary.ToImmutableDictionary((KeyValuePair> x) => x.Key, (KeyValuePair> x) => x.Value.Select((ushort y) => _003C_003Ec._202E_202A_202C_200E_200C_200E_202C_206E_206A_200B_202D_200D_206A_202D_202E_202B_206F_200F_206A_202A_206C_206F_206C_202D_200D_202B_206A_200C_206D_202B_200E_200C_200E_202E_202D_202A_202A_206F_202E_200F_202E(y)).ToImmutableList()); AetherCurrentQuests = AetherCurrentQuestsByTerritory.Values.SelectMany((ImmutableList x) => x).ToImmutableHashSet(); - TankRoleQuestChapters = new global::_003C_003Ez__ReadOnlyArray(new uint[3] { 136u, 154u, 178u }); - HealerRoleQuestChapters = new global::_003C_003Ez__ReadOnlyArray(new uint[3] { 137u, 155u, 179u }); - MeleeRoleQuestChapters = new global::_003C_003Ez__ReadOnlyArray(new uint[3] { 138u, 156u, 180u }); - PhysicalRangedRoleQuestChapters = new global::_003C_003Ez__ReadOnlyArray(new uint[3] { 138u, 157u, 181u }); - CasterRoleQuestChapters = new global::_003C_003Ez__ReadOnlyArray(new uint[3] { 139u, 158u, 182u }); + uint[] array = new uint[3]; + _202E_200D_202B_202D_200C_206B_206F_200F_206A_202B_200F_200B_202A_200E_206A_200D_206C_200F_202D_200B_200B_200C_200D_206D_200B_202C_200D_206F_206B_206B_200B_200D_200F_202B_202B_206D_200D_200D_206B_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + TankRoleQuestChapters = new global::_003C_003Ez__ReadOnlyArray(array); + uint[] array2 = new uint[3]; + _202E_200D_202B_202D_200C_206B_206F_200F_206A_202B_200F_200B_202A_200E_206A_200D_206C_200F_202D_200B_200B_200C_200D_206D_200B_202C_200D_206F_206B_206B_200B_200D_200F_202B_202B_206D_200D_200D_206B_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + HealerRoleQuestChapters = new global::_003C_003Ez__ReadOnlyArray(array2); + uint[] array3 = new uint[3]; + _202E_200D_202B_202D_200C_206B_206F_200F_206A_202B_200F_200B_202A_200E_206A_200D_206C_200F_202D_200B_200B_200C_200D_206D_200B_202C_200D_206F_206B_206B_200B_200D_200F_202B_202B_206D_200D_200D_206B_202E((Array)array3, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + MeleeRoleQuestChapters = new global::_003C_003Ez__ReadOnlyArray(array3); + uint[] array4 = new uint[3]; + _202E_200D_202B_202D_200C_206B_206F_200F_206A_202B_200F_200B_202A_200E_206A_200D_206C_200F_202D_200B_200B_200C_200D_206D_200B_202C_200D_206F_206B_206B_200B_200D_200F_202B_202B_206D_200D_200D_206B_202E((Array)array4, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + PhysicalRangedRoleQuestChapters = new global::_003C_003Ez__ReadOnlyArray(array4); + uint[] array5 = new uint[3]; + _202E_200D_202B_202D_200C_206B_206F_200F_206A_202B_200F_200B_202A_200E_206A_200D_206C_200F_202D_200B_200B_200C_200D_206D_200B_202C_200D_206F_206B_206B_200B_200D_200F_202B_202B_206D_200D_200D_206B_202E((Array)array5, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + CasterRoleQuestChapters = new global::_003C_003Ez__ReadOnlyArray(array5); AllRoleQuestChapters = new global::_003C_003Ez__ReadOnlyArray>(new IReadOnlyList[5] { TankRoleQuestChapters, HealerRoleQuestChapters, MeleeRoleQuestChapters, PhysicalRangedRoleQuestChapters, CasterRoleQuestChapters }); FinalShadowbringersRoleQuests = new global::_003C_003Ez__ReadOnlyArray(new QuestId[4] { - new QuestId(3248), - new QuestId(3272), - new QuestId(3278), - new QuestId(3628) + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)3248), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)3272), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)3278), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)3628) }); + TankData = new RoleQuestData(TankRoleQuestChapters, new global::_003C_003Ez__ReadOnlyArray(new QuestId[3] + { + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)3248), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)4107), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)4823) + }), (EClassJob j) => _003C_003Ec._206F_206E_206F_206F_200F_200B_202C_202C_206B_202E_206F_202A_206E_206B_202D_206D_206A_200F_200C_206A_206B_200B_202A_202D_202E_202D_200E_202A_200F_200C_202D_200D_200F_200D_200E_200E_200F_200E_206D_206A_202E(j)); + HealerData = new RoleQuestData(HealerRoleQuestChapters, new global::_003C_003Ez__ReadOnlyArray(new QuestId[3] + { + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)3272), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)4113), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)4829) + }), (EClassJob j) => _003C_003Ec._200E_202D_202A_200E_202E_206C_202D_200B_200B_206E_202E_206A_206C_200B_200D_200F_200B_200C_202D_206A_200C_206A_200F_200D_202B_206F_206F_200C_200B_202D_206E_206E_200E_202A_202E_206C_200E_206C_202B_206D_202E(j)); + MeleeData = new RoleQuestData(MeleeRoleQuestChapters, new global::_003C_003Ez__ReadOnlyArray(new QuestId[3] + { + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)3278), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)4119), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)4835) + }), delegate(EClassJob j) + { + int num2 = ((!_003C_003Ec._202A_200F_202A_206C_206D_202C_206A_200E_206F_200B_202C_202D_206D_200E_206C_206F_200F_206B_206D_200C_206B_202D_200C_206D_202C_200B_200C_202D_206B_200B_206F_206F_206B_200D_202E_206B_200C_202A_202E_202C_202E(j)) ? 218387131 : 218387128); + while (true) + { + int num3 = num2; + int num4 = 218387129; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + goto IL_0048; + case 1: + return j != EClassJob.Beastmaster; + case 2: + return false; + } + continue; + IL_0048: + num2 = 218387128; + } + }); + PhysicalRangedData = new RoleQuestData(PhysicalRangedRoleQuestChapters, new global::_003C_003Ez__ReadOnlyArray(new QuestId[3] + { + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)3278), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)4125), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)4841) + }), (EClassJob j) => _003C_003Ec._200B_206B_202A_206E_200D_206B_200F_202A_206D_200E_200E_202E_200B_206A_206F_202A_206F_200E_202D_200C_206F_202A_202D_202C_202B_206A_202D_206B_200D_202D_202E_206D_200F_206C_200C_200E_200D_202C_206E_200D_202E(j)); + CasterData = new RoleQuestData(CasterRoleQuestChapters, new global::_003C_003Ez__ReadOnlyArray(new QuestId[3] + { + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)3628), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)4131), + _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E((ushort)4847) + }), delegate(EClassJob j) + { + int num2 = ((!_003C_003Ec._200F_202B_206C_200B_202A_206D_200D_202E_200C_206C_206F_206D_200B_202D_200F_206E_202E_200B_206C_206C_202A_206D_202B_206B_200B_206B_200F_202D_200F_202A_206B_202A_200D_200F_206D_202D_206A_202C_202D_202D_202E(j)) ? (-542512) : (-542509)); + while (true) + { + int num3 = num2; + int num4 = -542511; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + goto IL_0046; + case 1: + return false; + case 2: + return j != EClassJob.BlueMage; + } + continue; + IL_0046: + num2 = -542509; + } + }); + 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(); + } + + static ushort _206D_202C_206E_206A_206E_202C_206E_200E_202D_202E_202A_202A_206C_200E_200E_206C_202D_206E_206B_206F_200E_200D_200E_202D_200F_202A_200D_200C_202E_200D_206E_206C_206D_206F_202E_200E_206F_202D_200F_206D_202E(ElementId P_0) + { + return P_0.Value; + } + + static ArgumentNullException _202E_206B_200E_206E_206A_206D_206A_206B_206C_202D_202E_202E_200B_200E_206E_206E_202E_200F_202E_206C_206C_206F_202D_200B_206A_206A_200C_202B_206B_206A_206A_202D_202B_202B_200E_200B_206F_200E_202C_202E_202E(string P_0) + { + return new ArgumentNullException(P_0); + } + + static bool _202D_200C_206B_200B_206A_202D_200C_200C_206B_206D_206C_200D_202C_202A_200E_200E_206F_202D_206A_200B_202C_200E_206D_202B_200D_206A_202C_200E_206F_200D_206A_202D_202C_202C_202E_206B_200D_202E_206D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200E_202B_206F_202C_206E_200C_206B_206B_206A_206A_202D_202E_202B_202E_200F_200C_200E_206F_200F_202C_202E_206D_206B_202E_206D_200B_200F_206D_206C_206B_200B_202A_206F_206A_202C_202B_202A_202E_200E_200C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _200B_200E_202C_206C_200F_206A_206B_202E_206C_206C_206A_202C_202C_200B_200B_206D_206A_206C_202E_206A_206A_206C_206D_202B_202A_200D_200E_206F_206F_202C_206D_202C_206E_206C_200F_206B_202E_200E_202B_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _202E_200D_202B_202D_200C_206B_206F_200F_206A_202B_200F_200B_202A_200E_206A_200D_206C_200F_202D_200B_200B_200C_200D_206D_200B_202C_200D_206F_206B_206B_200B_200D_200F_202B_202B_206D_200D_200D_206B_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } + + static QuestId _200C_202D_202E_200C_206F_202E_202A_202D_206B_206B_200E_202B_202C_206B_206F_206D_206E_202C_200B_200E_206D_200B_200C_202E_202D_200E_202D_206F_202E_200D_202E_206A_206F_206A_200E_202C_200E_206E_200B_206C_202E(ushort P_0) + { + return new QuestId(P_0); + } + + static void _206A_200D_202A_202D_200D_202E_200E_206E_200C_206A_202C_206D_200C_202C_206D_200F_206C_200C_206B_202D_200C_200B_202B_206E_200E_202D_206E_202D_206A_202E_200B_206A_200E_202E_202E_202E_206F_202C_200B_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static ArgumentOutOfRangeException _202D_200B_200E_202B_200D_200F_206E_206D_202B_202A_200C_202A_202C_206F_206F_206F_200D_200B_200C_200F_202A_200C_200F_206F_200F_206F_202D_200F_202D_206E_202E_202A_202A_202B_200F_202B_200B_200F_202B_206F_202E(string P_0) + { + return new ArgumentOutOfRangeException(P_0); + } + + static byte _202A_202D_200C_202C_202D_206D_202C_200D_202C_200F_202E_202C_202B_206E_200F_202B_206A_200B_206D_202B_206C_206A_200C_200F_202D_200C_206B_206E_206F_206D_200D_202C_206F_206E_200D_206C_200B_202C_206D_202C_202E() + { + return PlayerStateHelper.GetFirstClass(); + } + + static Type _206A_206E_206F_202B_200E_200C_206B_206B_200B_200F_206A_200E_200E_202A_202D_206A_206E_202B_206C_202C_202C_202E_200B_200E_200F_206E_202C_202A_202D_200F_206E_206B_200E_200C_200E_206B_200E_202A_200B_206D_202E(object P_0) + { + return P_0.GetType(); + } + + static string _206B_202D_206F_202B_206D_202D_200E_202E_206B_202D_200C_206A_202A_200B_202A_206C_202B_202A_202C_202E_202D_202A_202A_206B_200D_200E_206F_200F_202E_202C_206F_200E_202D_200E_206D_202C_200E_202B_206A_202E(MemberInfo P_0) + { + return P_0.Name; + } + + static void _200D_206A_200E_202A_206F_202B_202E_202D_200F_202A_202A_202E_206A_206E_200F_202C_202D_202D_200E_206A_202C_200D_202A_202B_206A_206E_206E_206C_202C_200F_206A_200F_200F_206E_206C_206F_202B_202C_206C_206A_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); } } diff --git a/Questionable/Questionable.Data/SinglePlayerDutyEntry.cs b/Questionable/Questionable.Data/SinglePlayerDutyEntry.cs new file mode 100644 index 00000000..53c11506 --- /dev/null +++ b/Questionable/Questionable.Data/SinglePlayerDutyEntry.cs @@ -0,0 +1,153 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace Questionable.Data; + +public record SinglePlayerDutyEntry(bool Enabled, byte Index = 0, string? TestedBossModVersion = null, params string[] Notes) +{ + [CompilerGenerated] + protected virtual Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_206F_202E_202C_206D_206A_206B_206A_202C_200E_202D_206B_202E_202A_206C_200E_200D_206F_202A_206D_202B_202D_202A_200D_202C_200C_206B_206C_200C_200E_200F_200B_206B_206F_200C_206B_202B_206D_202C_202D_202E(typeof(SinglePlayerDutyEntry).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202B_206E_202E_206B_200E_200E_206B_202E_202D_206A_206B_202E_200D_206E_202A_202C_202A_200F_206E_200B_206F_206B_200F_202C_200C_202E_200D_202B_206E_206F_202D_206A_202D_202B_200C_206E_206D_206B_202B_200E_202E(); + _202A_206E_206D_200F_206E_202E_206A_200F_202E_206E_202C_206F_200B_200D_200B_206F_200D_200D_200B_200E_202B_202D_206F_202B_202D_202E_206C_202A_202B_202B_202A_200E_202C_206B_206C_206E_206B_206B_206B_202D_202E(stringBuilder, global::_003CModule_003E._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(1555815973)); + _202A_206E_206D_200F_206E_202E_206A_200F_202E_206E_202C_206F_200B_200D_200B_206F_200D_200D_200B_200E_202B_202D_206F_202B_202D_202E_206C_202A_202B_202B_202A_200E_202C_206B_206C_206E_206B_206B_206B_202D_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? 1051941251 : 1051941250); + while (true) + { + int num2 = num; + int num3 = 1051941251; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1051941250; + break; + case 0: + _206B_202E_202C_206C_200D_202C_202D_206F_206A_202A_200E_206B_206C_202A_206C_202B_202A_206C_202A_202D_202D_206A_206B_202C_202A_206D_200B_206B_206A_202A_200E_200E_206E_200C_202B_200E_202C_206B_206D_202C_202E(stringBuilder, '}'); + return _202D_202A_200E_206B_206F_202C_200B_202E_206F_206C_200B_202C_206E_206A_206B_206B_206A_206A_206A_202E_202A_200C_206B_200D_202C_202E_206E_200D_200B_206E_206F_202D_200C_206A_206B_200B_200F_206B_202C_206D_202E((object)stringBuilder); + case 1: + _206B_202E_202C_206C_200D_202C_202D_206F_206A_202A_200E_206B_206C_202A_206C_202B_202A_206C_202A_202D_202D_206A_206B_202C_202A_206D_200B_206B_206A_202A_200E_200E_206E_200C_202B_200E_202C_206B_206D_202C_202E(stringBuilder, ' '); + num = 1051941251; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected virtual bool PrintMembers(StringBuilder builder) + { + _206E_206C_200E_206B_202D_206B_206F_200E_200C_202D_202E_206F_200D_206D_206B_200E_206E_200C_206A_206E_202B_202D_202B_200B_206D_206F_206E_206F_202B_206E_200C_202E_206F_206A_206D_206C_206F_206D_202B_200F_202E(); + _202A_206E_206D_200F_206E_202E_206A_200F_202E_206E_202C_206F_200B_200D_200B_206F_200D_200D_200B_200E_202B_202D_206F_202B_202D_202E_206C_202A_202B_202B_202A_200E_202C_206B_206C_206E_206B_206B_206B_202D_202E(builder, global::_003CModule_003E._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(40320486)); + _202A_206E_206D_200F_206E_202E_206A_200F_202E_206E_202C_206F_200B_200D_200B_206F_200D_200D_200B_200E_202B_202D_206F_202B_202D_202E_206C_202A_202B_202B_202A_200E_202C_206B_206C_206E_206B_206B_206B_202D_202E(builder, Enabled.ToString()); + _202A_206E_206D_200F_206E_202E_206A_200F_202E_206E_202C_206F_200B_200D_200B_206F_200D_200D_200B_200E_202B_202D_206F_202B_202D_202E_206C_202A_202B_202B_202A_200E_202C_206B_206C_206E_206B_206B_206B_202D_202E(builder, global::_003CModule_003E._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(137168657)); + _202A_206E_206D_200F_206E_202E_206A_200F_202E_206E_202C_206F_200B_200D_200B_206F_200D_200D_200B_200E_202B_202D_206F_202B_202D_202E_206C_202A_202B_202B_202A_200E_202C_206B_206C_206E_206B_206B_206B_202D_202E(builder, Index.ToString()); + _202A_206E_206D_200F_206E_202E_206A_200F_202E_206E_202C_206F_200B_200D_200B_206F_200D_200D_200B_200E_202B_202D_206F_202B_202D_202E_206C_202A_202B_202B_202A_200E_202C_206B_206C_206E_206B_206B_206B_202D_202E(builder, global::_003CModule_003E._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(-1918947748)); + _206E_206D_206F_202A_206F_206B_202B_200E_202C_202D_200D_200D_202A_206E_202B_200B_202C_206B_200D_202B_202D_202C_202D_206A_202B_200F_200E_200E_206B_202B_202E_202E_202C_206A_206B_206B_200C_206D_206C_202D_202E(builder, (object)TestedBossModVersion); + _202A_206E_206D_200F_206E_202E_206A_200F_202E_206E_202C_206F_200B_200D_200B_206F_200D_200D_200B_200E_202B_202D_206F_202B_202D_202E_206C_202A_202B_202B_202A_200E_202C_206B_206C_206E_206B_206B_206B_202D_202E(builder, global::_003CModule_003E._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(-209221941)); + _206E_206D_206F_202A_206F_206B_202B_200E_202C_202D_200D_200D_202A_206E_202B_200B_202C_206B_200D_202B_202D_202C_202D_206A_202B_200F_200E_200E_206B_202B_202E_202E_202C_206A_206B_206B_200C_206D_206C_202D_202E(builder, (object)Notes); + return true; + } + + [CompilerGenerated] + public virtual bool Equals(SinglePlayerDutyEntry? other) + { + int num = (((object)this == other) ? (-1523277809) : (-1523277819)); + while (true) + { + int num2 = num; + int num3 = -1523277811; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = ((!EqualityComparer.Default.Equals(Enabled, other.Enabled)) ? (-1523277814) : (-1523277813)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(Index, other.Index)) ? (-1523277814) : (-1523277810)); + break; + case 8: + num = (((object)other == null) ? (-1523277814) : (-1523277812)); + break; + case 0: + num = -1523277819; + break; + case 7: + return false; + case 4: + return EqualityComparer.Default.Equals(Notes, other.Notes); + case 1: + num = ((!_206E_200C_202D_200E_200F_200E_206A_202A_206A_206E_200F_206D_206F_206E_206D_200F_206B_202E_206C_202E_206B_202B_200D_202B_202E_200D_200F_202E_202E_200B_200D_202D_206B_202B_200D_202A_206F_202A_202D_202D_202E(EqualityContract, other.EqualityContract)) ? (-1523277814) : (-1523277816)); + break; + case 2: + return true; + case 3: + num = ((!EqualityComparer.Default.Equals(TestedBossModVersion, other.TestedBossModVersion)) ? (-1523277814) : (-1523277815)); + break; + } + } + } + + bool IEquatable.Equals(SinglePlayerDutyEntry? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_206F_202E_202C_206D_206A_206B_206A_202C_200E_202D_206B_202E_202A_206C_200E_200D_206F_202A_206D_202B_202D_202A_200D_202C_200C_206B_206C_200C_200E_200F_200B_206B_206F_200C_206B_202B_206D_202C_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202B_206E_202E_206B_200E_200E_206B_202E_202D_206A_206B_202E_200D_206E_202A_202C_202A_200F_206E_200B_206F_206B_200F_202C_200C_202E_200D_202B_206E_206F_202D_206A_202D_202B_200C_206E_206D_206B_202B_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202A_206E_206D_200F_206E_202E_206A_200F_202E_206E_202C_206F_200B_200D_200B_206F_200D_200D_200B_200E_202B_202D_206F_202B_202D_202E_206C_202A_202B_202B_202A_200E_202C_206B_206C_206E_206B_206B_206B_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_202E_202C_206C_200D_202C_202D_206F_206A_202A_200E_206B_206C_202A_206C_202B_202A_206C_202A_202D_202D_206A_206B_202C_202A_206D_200B_206B_206A_202A_200E_200E_206E_200C_202B_200E_202C_206B_206D_202C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202D_202A_200E_206B_206F_202C_200B_202E_206F_206C_200B_202C_206E_206A_206B_206B_206A_206A_206A_202E_202A_200C_206B_200D_202C_202E_206E_200D_200B_206E_206F_202D_200C_206A_206B_200B_200F_206B_202C_206D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206E_206C_200E_206B_202D_206B_206F_200E_200C_202D_202E_206F_200D_206D_206B_200E_206E_200C_206A_206E_202B_202D_202B_200B_206D_206F_206E_206F_202B_206E_200C_202E_206F_206A_206D_206C_206F_206D_202B_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206E_206D_206F_202A_206F_206B_202B_200E_202C_202D_200D_200D_202A_206E_202B_200B_202C_206B_200D_202B_202D_202C_202D_206A_202B_200F_200E_200E_206B_202B_202E_202E_202C_206A_206B_206B_200C_206D_206C_202D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206E_200C_202D_200E_200F_200E_206A_202A_206A_206E_200F_206D_206F_206E_206D_200F_206B_202E_206C_202E_206B_202B_200D_202B_202E_200D_200F_202E_202E_200B_200D_202D_206B_202B_200D_202A_206F_202A_202D_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Data/TerritoryData.cs b/Questionable/Questionable.Data/TerritoryData.cs index 78a30243..cf6ae35c 100644 --- a/Questionable/Questionable.Data/TerritoryData.cs +++ b/Questionable/Questionable.Data/TerritoryData.cs @@ -1,25 +1,858 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; +using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Game; +using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin.Services; using Dalamud.Utility; +using Lumina.Excel; using Lumina.Excel.Sheets; +using Lumina.Text.ReadOnly; +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 ContentFinderConditionData(ContentFinderCondition condition, ClientLanguage clientLanguage) - : this(condition.RowId, FixName(condition.Name.ToDalamudString().ToString(), clientLanguage), condition.TerritoryType.RowId, condition.ItemLevelRequired) + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() { + StringBuilder stringBuilder = _200B_202D_202A_206D_200B_206B_200E_206D_200F_202E_206F_202D_206D_200E_206E_202C_200F_206D_200F_200F_202A_202C_200B_206C_206B_202B_202A_200D_202A_206D_206A_206E_200D_206F_202D_206F_200E_200E_206A_206F_202E(); + _202E_206B_202D_206C_200C_206B_202E_202C_206E_202A_200D_202A_202E_202D_200D_206C_206C_200B_200B_206E_202B_200C_206C_200C_206A_200E_200B_206E_206F_206B_206C_200B_206C_202D_206D_200E_202C_200B_206E_202E_202E(stringBuilder, global::_003CModule_003E._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(-937976859)); + _202E_206B_202D_206C_200C_206B_202E_202C_206E_202A_200D_202A_202E_202D_200D_206C_206C_200B_200B_206E_202B_200C_206C_200C_206A_200E_200B_206E_206F_206B_206C_200B_206C_202D_206D_200E_202C_200B_206E_202E_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? (-993371309) : (-993371312)); + while (true) + { + int num2 = num; + int num3 = -993371311; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _200B_202C_200F_202D_202C_206C_202E_206E_200D_200F_206B_206D_202C_206A_202C_206E_206D_200B_206B_200C_200C_200D_200F_202A_206A_206A_202E_200E_202C_200F_200C_202B_206F_202C_200F_206A_202B_206E_206C_206B_202E(stringBuilder, '}'); + return _206C_200E_200C_200D_202A_206E_200E_200D_200D_202B_200B_200E_202C_200B_200D_202C_206C_206A_206D_200F_206B_200E_202A_206D_202A_200B_202D_206B_206C_206F_206D_206D_202A_200E_200C_200B_206F_206B_202A_202D_202E((object)stringBuilder); + case 1: + _200B_202C_200F_202D_202C_206C_202E_206E_200D_200F_206B_206D_202C_206A_202C_206E_206D_200B_206B_200C_200C_200D_200F_202A_206A_206A_202E_200E_202C_200F_200C_202B_206F_202C_200F_206A_202B_206E_206C_206B_202E(stringBuilder, ' '); + num = -993371309; + break; + case 0: + num = -993371312; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_206B_202D_206C_200C_206B_202E_202C_206E_202A_200D_202A_202E_202D_200D_206C_206C_200B_200B_206E_202B_200C_206C_200C_206A_200E_200B_206E_206F_206B_206C_200B_206C_202D_206D_200E_202C_200B_206E_202E_202E(builder, global::_003CModule_003E._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(1954192503)); + _202E_206B_202D_206C_200C_206B_202E_202C_206E_202A_200D_202A_202E_202D_200D_206C_206C_200B_200B_206E_202B_200C_206C_200C_206A_200E_200B_206E_206F_206B_206C_200B_206C_202D_206D_200E_202C_200B_206E_202E_202E(builder, RequirementType.ToString()); + _202E_206B_202D_206C_200C_206B_202E_202C_206E_202A_200D_202A_202E_202D_200D_206C_206C_200B_200B_206E_202B_200C_206C_200C_206A_200E_200B_206E_206F_206B_206C_200B_206C_202D_206D_200E_202C_200B_206E_202E_202E(builder, global::_003CModule_003E._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(-713705911)); + _202E_206B_202D_206C_200C_206B_202E_202C_206E_202A_200D_202A_202E_202D_200D_206C_206C_200B_200B_206E_202B_200C_206C_200C_206A_200E_200B_206E_206F_206B_206C_200B_206C_202D_206D_200E_202C_200B_206E_202E_202E(builder, QuestRowId.ToString()); + _202E_206B_202D_206C_200C_206B_202E_202C_206E_202A_200D_202A_202E_202D_200D_206C_206C_200B_200B_206E_202B_200C_206C_200C_206A_200E_200B_206E_206F_206B_206C_200B_206C_202D_206D_200E_202C_200B_206E_202E_202E(builder, global::_003CModule_003E._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(-978414308)); + _202E_206B_202D_206C_200C_206B_202E_202C_206E_202A_200D_202A_202E_202D_200D_206C_206C_200B_200B_206E_202B_200C_206C_200C_206A_200E_200B_206E_206F_206B_206C_200B_206C_202D_206D_200E_202C_200B_206E_202E_202E(builder, RequiredSequence.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(ZoneAccessRequirement other) + { + int num = ((!EqualityComparer.Default.Equals(RequirementType, other.RequirementType)) ? (-1739069183) : (-1739069182)); + while (true) + { + int num2 = num; + int num3 = -1739069181; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 3: + return EqualityComparer.Default.Equals(RequiredSequence, other.RequiredSequence); + case 1: + num = ((!EqualityComparer.Default.Equals(QuestRowId, other.QuestRowId)) ? (-1739069183) : (-1739069184)); + break; + case 0: + num = -1739069182; + break; + } + } + } + + bool IEquatable.Equals(ZoneAccessRequirement other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _200B_202D_202A_206D_200B_206B_200E_206D_200F_202E_206F_202D_206D_200E_206E_202C_200F_206D_200F_200F_202A_202C_200B_206C_206B_202B_202A_200D_202A_206D_206A_206E_200D_206F_202D_206F_200E_200E_206A_206F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_206B_202D_206C_200C_206B_202E_202C_206E_202A_200D_202A_202E_202D_200D_206C_206C_200B_200B_206E_202B_200C_206C_200C_206A_200E_200B_206E_206F_206B_206C_200B_206C_202D_206D_200E_202C_200B_206E_202E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200B_202C_200F_202D_202C_206C_202E_206E_200D_200F_206B_206D_202C_206A_202C_206E_206D_200B_206B_200C_200C_200D_200F_202A_206A_206A_202E_200E_202C_200F_200C_202B_206F_202C_200F_206A_202B_206E_206C_206B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_200E_200C_200D_202A_206E_200E_200D_200D_202B_200B_200E_202C_200B_200D_202C_206C_206A_206D_200F_206B_200E_202A_206D_202A_200B_202D_206B_206C_206F_206D_206D_202A_200E_200C_200B_206F_206B_202A_202D_202E(object P_0) + { + return P_0.ToString(); + } + } + + public sealed record ContentFinderConditionData(uint ContentFinderConditionId, string Name, uint TerritoryId, ushort RequiredItemLevel, byte ClassJobLevelSync, bool AllowUndersized, bool IsDungeon) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202A_200D_202E_206D_206A_202D_206B_206A_206C_206F_206D_202C_206B_202A_206A_200F_200E_206D_202A_202B_200F_206E_200B_206F_200F_206F_206B_206D_200C_202C_206D_200F_202E_200E_206E_202C_206B_200F_202B_206E_202E(typeof(ContentFinderConditionData).TypeHandle); + } + } + + public ContentFinderConditionData(ContentFinderCondition condition, ClientLanguage clientLanguage) + : this(condition.RowId, FixName(_206F_202A_206D_202D_202B_206E_206A_202C_206F_200E_202A_200F_200C_206A_202D_202B_202A_206E_200C_206D_200B_202E_200C_200D_202D_200E_202D_206C_202B_206D_200C_202C_206A_200B_200E_202D_200C_200C_200B_200D_202E((object)_200C_206D_206D_206C_206A_200E_206D_202E_206A_206E_206F_206B_200C_202E_200D_202D_206D_200C_206B_206B_206C_206E_200E_202D_206B_206B_202C_200B_202B_200D_202C_200F_202B_206C_200F_206B_200E_202E_206A_202D_202E(condition.Name)), clientLanguage), condition.TerritoryType.RowId, condition.ItemLevelRequired, condition.ClassJobLevelSync, condition.AllowUndersized, condition.ContentType.RowId == 2) + { + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202E_206B_206D_200B_200E_200B_206B_200B_202E_206D_206A_206C_200E_206E_206D_202C_200E_202C_200C_202B_202C_206E_200D_202C_206F_206F_206B_202E_202A_202B_200F_206C_206B_202C_206C_202D_200B_202E_200F_200C_202E(); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(stringBuilder, global::_003CModule_003E._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(547092396)); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? (-2102036049) : (-2102036052)); + while (true) + { + int num2 = num; + int num3 = -2102036051; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _206E_206F_200C_200B_200F_206D_202B_200F_202C_202E_206C_206E_206B_200B_202C_202A_206A_200B_202D_200F_202A_200B_200B_206E_206D_206A_200D_206C_200D_206C_200B_200F_200B_202D_202D_200D_206F_202A_202A_202C_202E(stringBuilder, '}'); + return _206F_202A_206D_202D_202B_206E_206A_202C_206F_200E_202A_200F_200C_206A_202D_202B_202A_206E_200C_206D_200B_202E_200C_200D_202D_200E_202D_206C_202B_206D_200C_202C_206A_200B_200E_202D_200C_200C_200B_200D_202E((object)stringBuilder); + case 1: + _206E_206F_200C_200B_200F_206D_202B_200F_202C_202E_206C_206E_206B_200B_202C_202A_206A_200B_202D_200F_202A_200B_200B_206E_206D_206A_200D_206C_200D_206C_200B_200F_200B_202D_202D_200D_206F_202A_202A_202C_202E(stringBuilder, ' '); + num = -2102036049; + break; + case 0: + num = -2102036052; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_206E_200B_202C_202A_206B_206F_202D_200B_202E_206E_202B_202B_206F_202B_206E_200E_202C_202E_200C_206A_200D_202E_206E_200D_202B_206F_206A_200C_206F_200F_206C_202C_200F_202E_202A_202D_202A_206D_202C_202E(); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, global::_003CModule_003E._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(-547124860)); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, ContentFinderConditionId.ToString()); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, global::_003CModule_003E._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(-838515035)); + _206A_200E_202B_200B_202B_200B_200E_202B_202A_202E_206B_202A_200F_202E_206C_200E_202D_206D_202C_200B_200F_200E_206A_200C_200C_200B_202D_200B_200F_206D_202A_200B_206B_202B_206E_206B_200C_202E_206E_202D_202E(builder, (object)Name); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, global::_003CModule_003E._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(-1428648191)); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, TerritoryId.ToString()); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, global::_003CModule_003E._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(-1772539499)); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, RequiredItemLevel.ToString()); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, global::_003CModule_003E._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(2071172515)); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, ClassJobLevelSync.ToString()); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, global::_003CModule_003E._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(1993011003)); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, AllowUndersized.ToString()); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, global::_003CModule_003E._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(-1691981228)); + _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(builder, IsDungeon.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(ContentFinderConditionData? other) + { + int num = (((object)this == other) ? (-1635239574) : (-1635239580)); + while (true) + { + int num2 = num; + int num3 = -1635239582; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? (-1635239573) : (-1635239581)); + break; + case 5: + num = ((!_206B_202E_202E_200D_200C_202B_200F_200B_206D_202E_206B_206D_202E_206E_200D_206D_200B_202B_202B_206A_200D_200F_206F_206D_206D_206C_202E_200F_202D_200D_206F_206F_206B_206D_200E_202B_206F_202A_202C_206C_202E(EqualityContract, other.EqualityContract)) ? (-1635239573) : (-1635239575)); + break; + case 10: + num = ((!EqualityComparer.Default.Equals(AllowUndersized, other.AllowUndersized)) ? (-1635239573) : (-1635239578)); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(Name, other.Name)) ? (-1635239573) : (-1635239584)); + break; + case 11: + num = ((!EqualityComparer.Default.Equals(ContentFinderConditionId, other.ContentFinderConditionId)) ? (-1635239573) : (-1635239579)); + break; + case 4: + return EqualityComparer.Default.Equals(IsDungeon, other.IsDungeon); + case 0: + num = -1635239580; + break; + case 3: + num = ((!EqualityComparer.Default.Equals(ClassJobLevelSync, other.ClassJobLevelSync)) ? (-1635239573) : (-1635239576)); + break; + case 9: + return false; + case 1: + num = ((!EqualityComparer.Default.Equals(RequiredItemLevel, other.RequiredItemLevel)) ? (-1635239573) : (-1635239583)); + break; + case 8: + return true; + case 6: + num = (((object)other == null) ? (-1635239573) : (-1635239577)); + break; + } + } + } + + bool IEquatable.Equals(ContentFinderConditionData? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202A_200D_202E_206D_206A_202D_206B_206A_206C_206F_206D_202C_206B_202A_206A_200F_200E_206D_202A_202B_200F_206E_200B_206F_200F_206F_206B_206D_200C_202C_206D_200F_202E_200E_206E_202C_206B_200F_202B_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static SeString _200C_206D_206D_206C_206A_200E_206D_202E_206A_206E_206F_206B_200C_202E_200D_202D_206D_200C_206B_206B_206C_206E_200E_202D_206B_206B_202C_200B_202B_200D_202C_200F_202B_206C_200F_206B_200E_202E_206A_202D_202E(ReadOnlySeString P_0) + { + return P_0.ToDalamudString(); + } + + static string _206F_202A_206D_202D_202B_206E_206A_202C_206F_200E_202A_200F_200C_206A_202D_202B_202A_206E_200C_206D_200B_202E_200C_200D_202D_200E_202D_206C_202B_206D_200C_202C_206A_200B_200E_202D_200C_200C_200B_200D_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _202E_206B_206D_200B_200E_200B_206B_200B_202E_206D_206A_206C_200E_206E_206D_202C_200E_202C_200C_202B_202C_206E_200D_202C_206F_206F_206B_202E_202A_202B_200F_206C_206B_202C_206C_202D_200B_202E_200F_200C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206B_202C_200D_206D_202D_200C_200D_200C_206B_206E_202C_200C_206A_206C_206D_206A_202A_200E_202E_202C_202A_206C_206A_206E_200D_200D_206F_206F_202D_206C_206D_206A_206C_206E_206A_202C_202D_200C_200B_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206E_206F_200C_200B_200F_206D_202B_200F_202C_202E_206C_206E_206B_200B_202C_202A_206A_200B_202D_200F_202A_200B_200B_206E_206D_206A_200D_206C_200D_206C_200B_200F_200B_202D_202D_200D_206F_202A_202A_202C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static void _206D_206E_200B_202C_202A_206B_206F_202D_200B_202E_206E_202B_202B_206F_202B_206E_200E_202C_202E_200C_206A_200D_202E_206E_200D_202B_206F_206A_200C_206F_200F_206C_202C_200F_202E_202A_202D_202A_206D_202C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206A_200E_202B_200B_202B_200B_200E_202B_202A_202E_206B_202A_200F_202E_206C_200E_202D_206D_202C_200B_200F_200E_206A_200C_200C_200B_202D_200B_200F_206D_202A_200B_206B_202B_206E_206B_200C_202E_206E_202D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206B_202E_202E_200D_200C_202B_200F_200B_206D_202E_206B_206D_202E_206E_200D_206D_200B_202B_202B_206A_200D_200F_206F_206D_206D_206C_202E_200F_202D_200D_206F_206F_206B_206D_200E_202B_206F_202A_202C_206C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__9_0; + + public static Func _003C_003E9__9_1; + + public static Func _003C_003E9__9_2; + + public static Func _003C_003E9__9_3; + + public static Func _003C_003E9__9_4; + + public static Func, uint> _003C_003E9__9_5; + + public static Func, string> _003C_003E9__9_6; + + public static Func _003C_003E9__9_7; + + public static Func _003C_003E9__9_9; + + public static Func _003C_003E9__9_10; + + public static Func _003C_003E9__9_11; + + public static Func _003C_003E9__9_12; + + public static Func, uint> _003C_003E9__9_13; + + public static Func, uint> _003C_003E9__9_14; + + public static Func _003C_003E9__9_15; + + public static Func<(ElementId QuestId, byte Index, uint CfcId), (ElementId QuestId, byte Index)> _003C_003E9__9_17; + + public static Func<(ElementId QuestId, byte Index, uint CfcId), uint> _003C_003E9__9_18; + + internal bool _003C_002Ector_003Eb__9_0(ZoneSharedGroup x) + { + bool flag = x.SubrowId == 0; + int num = ((!flag) ? (-581539066) : (-581539068)); + bool flag2 = default(bool); + while (true) + { + int num2 = num; + int num3 = -581539067; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + flag = flag2; + num = -581539066; + break; + case 1: + { + byte b = x.RequirementType[0]; + num3 = 1; + num4 = b; + num = (((uint)(~(~num4 + num3)) > 1u) ? (-581539065) : (-581539072)); + break; + } + case 5: + flag2 = true; + num = -581539071; + break; + case 3: + return flag; + case 0: + num = -581539068; + break; + case 2: + flag2 = false; + num = -581539071; + break; + } + } + } + + internal uint _003C_002Ector_003Eb__9_1(ZoneSharedGroup x) + { + return x.RowId; + } + + internal ZoneAccessRequirement _003C_002Ector_003Eb__9_2(ZoneSharedGroup x) + { + return new ZoneAccessRequirement(x.RequirementType[0], x.RequirementRow[0].RowId, x.RequirementQuestSequence[0]); + } + + internal bool _003C_002Ector_003Eb__9_3(ContentFinderCondition x) + { + int num = ((x.RowId == 0) ? 2089716118 : 2089716116); + while (true) + { + int num2 = num; + int num3 = 2089716118; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 2: + num = ((x.Content.RowId == 0) ? 2089716118 : 2089716119); + break; + case 1: + num = ((x.ContentLinkType != 1) ? 2089716118 : 2089716114); + break; + case 4: + return x.ContentType.RowId != 6; + case 3: + num = 2089716116; + break; + } + } + } + + internal uint _003C_002Ector_003Eb__9_4(ContentFinderCondition x) + { + return x.Content.RowId; + } + + internal uint _003C_002Ector_003Eb__9_5(IGrouping g) + { + return g.Key; + } + + internal string _003C_002Ector_003Eb__9_6(IGrouping g) + { + return _206E_200B_202A_206F_206F_206B_206C_202E_202E_206A_206F_206F_206A_202E_206D_202D_206B_200F_206D_200F_202E_200F_202E_200E_206A_206C_200D_200D_200F_202E_206C_200C_202E_202B_200B_206C_200E_202D_206E_206A_202E((object)_200C_202C_200C_206E_202B_202B_206F_202A_202C_206B_206C_206A_202D_206A_200C_200D_200F_202E_200B_200C_206A_206A_206E_202B_206B_206A_206C_200C_200C_200B_202C_206C_200C_202E_206C_202B_200C_200B_206F_206F_202E(g.First().Name)); + } + + internal bool _003C_002Ector_003Eb__9_7(ContentFinderCondition x) + { + int num = ((x.RowId == 0) ? (-1636098886) : (-1636098884)); + byte contentLinkType = default(byte); + bool flag = default(bool); + bool flag2 = default(bool); + while (true) + { + int num2 = num; + int num3 = -1636098882; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + contentLinkType = x.ContentLinkType; + num = ((contentLinkType == 1) ? (-1636098890) : (-1636098888)); + break; + case 6: + num = ((contentLinkType != 5) ? (-1636098889) : (-1636098890)); + break; + case 10: + return x.ContentType.RowId != 6; + case 1: + return false; + case 9: + flag = false; + num = -1636098887; + break; + case 2: + num5 = ((x.Content.RowId != 0) ? 1 : 0); + goto IL_0110; + case 7: + flag2 = flag; + num = -1636098885; + break; + case 4: + num5 = 0; + goto IL_0110; + case 5: + num = ((!flag2) ? (-1636098881) : (-1636098892)); + break; + case 8: + flag = true; + num = -1636098887; + break; + case 0: + { + num = -1636098884; + break; + } + IL_0110: + flag2 = (byte)num5 != 0; + num = ((!flag2) ? (-1636098885) : (-1636098883)); + break; + } + } + } + + internal uint _003C_002Ector_003Eb__9_9(ContentFinderConditionData x) + { + return x.ContentFinderConditionId; + } + + internal ContentFinderConditionData _003C_002Ector_003Eb__9_10(ContentFinderConditionData x) + { + return x; + } + + internal bool _003C_002Ector_003Eb__9_11(ContentFinderCondition x) + { + int num = ((x.RowId == 0) ? (-1478857039) : (-1478857038)); + while (true) + { + int num2 = num; + int num3 = -1478857037; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 2: + return false; + case 1: + return x.TerritoryType.RowId != 0; + } + continue; + IL_0048: + num = -1478857038; + } + } + + internal uint _003C_002Ector_003Eb__9_12(ContentFinderCondition x) + { + return x.TerritoryType.RowId; + } + + internal uint _003C_002Ector_003Eb__9_13(IGrouping g) + { + return g.Key; + } + + internal uint _003C_002Ector_003Eb__9_14(IGrouping g) + { + return g.First().RowId; + } + + internal bool _003C_002Ector_003Eb__9_15(Quest x) + { + int num = ((x.RowId == 0) ? (-1185353339) : (-1185353338)); + while (true) + { + int num2 = num; + int num3 = -1185353337; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 1: + return x.IssuerLocation.RowId != 0; + case 2: + return false; + } + continue; + IL_0048: + num = -1185353338; + } + } + + internal (ElementId QuestId, byte Index) _003C_002Ector_003Eb__9_17((ElementId QuestId, byte Index, uint CfcId) x) + { + return (QuestId: x.QuestId, Index: x.Index); + } + + internal uint _003C_002Ector_003Eb__9_18((ElementId QuestId, byte Index, uint CfcId) x) + { + return x.CfcId; + } + + static SeString _200C_202C_200C_206E_202B_202B_206F_202A_202C_206B_206C_206A_202D_206A_200C_200D_200F_202E_200B_200C_206A_206A_206E_202B_206B_206A_206C_200C_200C_200B_202C_206C_200C_202E_206C_202B_200C_200B_206F_206F_202E(ReadOnlySeString P_0) + { + return P_0.ToDalamudString(); + } + + static string _206E_200B_202A_206F_206F_206B_206C_202E_202E_206A_206F_206F_206A_202E_206D_202D_206B_200F_206D_200F_202E_200F_202E_200E_206A_206C_200D_200D_200F_202E_206C_200C_202E_202B_200B_206C_200E_202D_206E_206A_202E(object P_0) + { + return P_0.ToString(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass9_0 + { + public IDataManager dataManager; + + internal ContentFinderConditionData _003C_002Ector_003Eb__8(ContentFinderCondition x) + { + return new ContentFinderConditionData(x, _202C_206E_200D_200E_206C_202E_206C_200B_206F_202E_206C_200E_200F_206F_206A_200D_200F_202A_202A_206F_202B_200D_206B_202E_202D_200E_202E_200D_200E_202D_200D_200C_200D_200E_200E_206B_200E_202B_206D_206F_202E(dataManager)); + } + + internal (ElementId QuestId, byte Index, uint CfcId) _003C_002Ector_003Eb__16((ElementId QuestId, byte Index, uint QuestBattleId) x) + { + return (QuestId: x.QuestId, Index: x.Index, CfcId: LookupContentFinderConditionForQuestBattle(dataManager, x.QuestBattleId)); + } + + static ClientLanguage _202C_206E_200D_200E_206C_202E_206C_200B_206F_202E_206C_200E_200F_206F_206A_200D_200F_202A_202A_206F_202B_200D_206B_202E_202D_200E_202E_200D_200E_202D_200D_200C_200D_200E_200E_206B_200E_202B_206D_206F_202E(IDataManager P_0) + { + return P_0.Language; + } + } + + [CompilerGenerated] + private sealed class _003CGetQuestBattles_003Ed__24 : IEnumerable<(ElementId QuestId, byte Index, uint QuestBattleId)>, IEnumerable, IEnumerator<(ElementId QuestId, byte Index, uint QuestBattleId)>, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private (ElementId QuestId, byte Index, uint QuestBattleId) _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Quest quest; + + public Quest _003C_003E3__quest; + + private Collection.Enumerator _003C_003E7__wrap1; + + (ElementId QuestId, byte Index, uint QuestBattleId) IEnumerator<(ElementId, byte, uint)>.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CGetQuestBattles_003Ed__24(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _202D_206D_206C_206C_206F_206E_206E_206D_206F_200C_206F_200F_202B_200D_200F_200E_200D_200B_206B_200B_200F_202A_202D_202B_200C_200F_200F_206E_200F_200C_202B_202A_202C_200B_202A_202D_200F_206C_202E_202A_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? (-1116870683) : (-1116870682)); + while (true) + { + int num3 = num2; + int num4 = -1116870681; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 0: + num2 = -1116870682; + continue; + case 1: + num4 = 1; + num5 = num; + if ((uint)(~(~num5 + num4)) <= 1u) + { + num2 = -1116870683; + continue; + } + break; + case 2: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = default(Collection.Enumerator); + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num; + Quest.QuestParamsStruct current = default(Quest.QuestParamsStruct); + switch (_003C_003E1__state) + { + default: + num = 883752623; + goto IL_0025; + case 1: + _003C_003E1__state = -3; + num = 883752617; + goto IL_0025; + case 0: + goto IL_0089; + case 2: + goto IL_0129; + IL_0025: + while (true) + { + int num2 = num; + int num3 = 883752619; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + goto end_IL_0025; + case 6: + goto IL_0089; + case 2: + goto IL_00bd; + case 5: + goto IL_00e5; + case 10: + goto IL_0129; + case 1: + _003C_003E2__current = (QuestId: _202C_206C_206C_206A_206D_200B_200D_200D_200C_206A_202E_200B_206A_200E_206B_200F_206F_200D_200B_202A_202C_202D_200E_206B_200E_206A_200E_200E_206D_200E_200B_200D_206A_202C_202C_206E_202E_202D_200D_202C_202E(quest.RowId), Index: 1, QuestBattleId: current.ScriptArg); + _003C_003E1__state = 2; + return true; + case 8: + _003C_003E2__current = (QuestId: _202C_206C_206C_206A_206D_200B_200D_200D_200C_206A_202E_200B_206A_200E_206B_200F_206F_200D_200B_202A_202C_202D_200E_206B_200E_206A_200E_200E_206D_200E_200B_200D_206A_202C_202C_206E_202E_202D_200D_202C_202E(quest.RowId), Index: 0, QuestBattleId: current.ScriptArg); + _003C_003E1__state = 1; + return true; + case 3: + goto IL_01b7; + case 9: + goto IL_01e4; + case 11: + num = 883752623; + break; + case 4: + return false; + case 0: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = default(Collection.Enumerator); + return false; + } + continue; + IL_01e4: + num = ((!(current.ScriptInstruction == global::_003CModule_003E._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(1229719588))) ? 883752616 : 883752618); + continue; + IL_00e5: + current = _003C_003E7__wrap1.Current; + num = ((!(current.ScriptInstruction == global::_003CModule_003E._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(632409858))) ? 883752610 : 883752611); + continue; + IL_00bd: + num = (_003C_003E7__wrap1.MoveNext() ? 883752622 : 883752619); + continue; + IL_01b7: + num = (current.ScriptInstruction.IsEmpty ? 883752619 : 883752617); + continue; + end_IL_0025: + break; + } + goto case 1; + IL_0129: + _003C_003E1__state = -3; + num = 883752617; + goto IL_0025; + IL_0089: + _003C_003E1__state = -1; + _003C_003E7__wrap1 = quest.QuestParams.GetEnumerator(); + _003C_003E1__state = -3; + num = 883752617; + goto IL_0025; + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + ((IDisposable)_003C_003E7__wrap1/*cast due to .constrained prefix*/).Dispose(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _202C_206C_200F_202C_202A_206D_206E_206F_202D_206C_206A_206B_206B_200E_202D_206B_202B_202B_206F_202A_206D_202C_206C_200C_200C_202A_206A_202A_200B_206D_202C_200D_200F_206C_206E_200B_202C_200D_206F_202E_202E(); + } + + [DebuggerHidden] + IEnumerator<(ElementId QuestId, byte Index, uint QuestBattleId)> IEnumerable<(ElementId, byte, uint)>.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 609345982 : 609345977); + _003CGetQuestBattles_003Ed__24 _003CGetQuestBattles_003Ed__ = default(_003CGetQuestBattles_003Ed__24); + while (true) + { + int num2 = num; + int num3 = 609345978; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + _003CGetQuestBattles_003Ed__ = new _003CGetQuestBattles_003Ed__24(0); + num = 609345976; + break; + case 3: + num = ((_003C_003El__initialThreadId != _202D_206D_206C_206C_206F_206E_206E_206D_206F_200C_206F_200F_202B_200D_200F_200E_200D_200B_206B_200B_200F_202A_202D_202B_200C_200F_200F_206E_200F_200C_202B_202A_202C_200B_202A_202D_200F_206C_202E_202A_202E()) ? 609345982 : 609345979); + break; + case 2: + _003CGetQuestBattles_003Ed__.quest = _003C_003E3__quest; + return _003CGetQuestBattles_003Ed__; + case 0: + num = 609345977; + break; + case 1: + _003C_003E1__state = 0; + _003CGetQuestBattles_003Ed__ = this; + num = 609345976; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable<(ElementId, byte, uint)>)this).GetEnumerator(); + } + + static int _202D_206D_206C_206C_206F_206E_206E_206D_206F_200C_206F_200F_202B_200D_200F_200E_200D_200B_206B_200B_200F_202A_202D_202B_200C_200F_200F_206E_200F_200C_202B_202A_202C_200B_202A_202D_200F_206C_202E_202A_202E() + { + return Environment.CurrentManagedThreadId; + } + + static QuestId _202C_206C_206C_206A_206D_200B_200D_200D_200C_206A_202E_200B_206A_200E_206B_200F_206F_200D_200B_202A_202C_202D_200E_206B_200E_206A_200E_200E_206D_200E_200B_200D_206A_202C_202C_206E_202E_202D_200D_202C_202E(uint P_0) + { + return QuestId.FromRowId(P_0); + } + + static NotSupportedException _202C_206C_200F_202C_202A_206D_206E_206F_202D_206C_206A_206B_206B_200E_202D_206B_202B_202B_206F_202A_206D_202C_206C_200C_200C_202A_206A_202A_200B_206D_202C_200D_200F_206C_206E_200B_202C_200D_206F_202E_202E() + { + return new NotSupportedException(); } } @@ -27,6 +860,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,44 +874,243 @@ internal sealed class TerritoryData private readonly ImmutableDictionary<(ElementId QuestId, byte Index), uint> _questBattlesToContentFinderCondition; - public TerritoryData(IDataManager dataManager) + [MethodImpl(MethodImplOptions.NoInlining)] + 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; + int num = ((!flag) ? (-581539066) : (-581539068)); + bool flag2 = default(bool); + while (true) { - 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); - _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()); + int num2 = num; + int num3 = -581539067; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + flag = flag2; + num = -581539066; + break; + case 1: + { + byte b = x.RequirementType[0]; + num3 = 1; + num4 = b; + num = (((uint)(~(~num4 + num3)) > 1u) ? (-581539065) : (-581539072)); + break; + } + case 5: + flag2 = true; + num = -581539071; + break; + case 3: + return flag; + case 0: + num = -581539068; + break; + case 2: + flag2 = false; + num = -581539071; + break; + } + } + }) + .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 text = item.PlaceName.ValueNullable?.Name.ToString() ?? item.PlaceNameZone.ValueNullable?.Name.ToString(); + if (!_206A_206D_202D_206E_200B_202B_200B_200C_200D_206F_206A_202E_206E_202A_200F_200F_200F_206E_202A_206E_206F_200E_206B_202C_202E_206E_206E_202E_206A_202A_200F_206F_206A_200D_206F_206B_206E_206E_200E_206B_202E(text)) + { + builder[item.RowId] = text; + } + 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 value)) + { + if ((dataManager.GetExcelSheet().GetRowOrDefault(value.QuestRowId)?.Expansion.RowId ?? 0) > item.ExVersion.RowId) + { + list.Add(item.RowId); + } + else + { + builder4[item.RowId] = value; + } + } + 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) + { + _202E_200C_202B_200E_200D_200C_206F_200E_202A_202B_206E_206B_200F_206B_202B_202B_202A_202A_200F_200E_200B_206D_200B_200E_202A_202B_202E_206F_206F_200D_200B_206F_200E_202A_202C_202A_206C_202E_200F_202A_202E((ILogger)logger, global::_003CModule_003E._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(-446199229), new object[2] + { + list.Count, + _202D_200F_200C_206D_202B_206A_200B_200E_202B_206F_202A_202B_202E_206A_200C_200D_200F_206B_202D_206B_202D_202A_202E_200C_202A_202E_202B_202C_206B_200F_206E_200C_200C_200F_202C_206B_206E_206F_202E(global::_003CModule_003E._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(1577352017), list.Select(GetNameAndId)) + }); + } + _instanceNames = (from x in dataManager.GetExcelSheet().Where(delegate(ContentFinderCondition x) + { + int num = ((x.RowId == 0) ? 2089716118 : 2089716116); + while (true) + { + int num2 = num; + int num3 = 2089716118; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 2: + num = ((x.Content.RowId == 0) ? 2089716118 : 2089716119); + break; + case 1: + num = ((x.ContentLinkType != 1) ? 2089716118 : 2089716114); + break; + case 4: + return x.ContentType.RowId != 6; + case 3: + num = 2089716116; + break; + } + } + }) + group x by x.Content.RowId).ToImmutableDictionary((IGrouping g) => g.Key, (IGrouping g) => _003C_003Ec._206E_200B_202A_206F_206F_206B_206C_202E_202E_206A_206F_206F_206A_202E_206D_202D_206B_200F_206D_200F_202E_200F_202E_200E_206A_206C_200D_200D_200F_202E_206C_200C_202E_202B_200B_206C_200E_202D_206E_206A_202E((object)_003C_003Ec._200C_202C_200C_206E_202B_202B_206F_202A_202C_206B_206C_206A_202D_206A_200C_200D_200F_202E_200B_200C_206A_206A_206E_202B_206B_206A_206C_200C_200C_200B_202C_206C_200C_202E_206C_202B_200C_200B_206F_206F_202E(g.First().Name))); _contentFinderConditions = (from x in dataManager.GetExcelSheet().Where(delegate(ContentFinderCondition x) { - bool flag = x.RowId != 0 && x.Content.RowId != 0; - if (flag) + int num = ((x.RowId == 0) ? (-1636098886) : (-1636098884)); + byte contentLinkType = default(byte); + bool flag = default(bool); + bool flag2 = default(bool); + while (true) { - byte contentLinkType = x.ContentLinkType; - bool flag2 = ((contentLinkType == 1 || contentLinkType == 5) ? true : false); - flag = flag2; + int num2 = num; + int num3 = -1636098882; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + contentLinkType = x.ContentLinkType; + num = ((contentLinkType == 1) ? (-1636098890) : (-1636098888)); + break; + case 6: + num = ((contentLinkType != 5) ? (-1636098889) : (-1636098890)); + break; + case 10: + return x.ContentType.RowId != 6; + case 1: + return false; + case 9: + flag = false; + num = -1636098887; + break; + case 2: + num5 = ((x.Content.RowId != 0) ? 1 : 0); + goto IL_0110; + case 7: + flag2 = flag; + num = -1636098885; + break; + case 4: + num5 = 0; + goto IL_0110; + case 5: + num = ((!flag2) ? (-1636098881) : (-1636098892)); + break; + case 8: + flag = true; + num = -1636098887; + break; + case 0: + { + num = -1636098884; + break; + } + IL_0110: + flag2 = (byte)num5 != 0; + num = ((!flag2) ? (-1636098885) : (-1636098883)); + break; + } + } + }) + select new ContentFinderConditionData(x, _003C_003Ec__DisplayClass9_0._202C_206E_200D_200E_206C_202E_206C_200B_206F_202E_206C_200E_200F_206F_206A_200D_200F_202A_202A_206F_202B_200D_206B_202E_202D_200E_202E_200D_200E_202D_200D_200C_200D_200E_200E_206B_200E_202B_206D_206F_202E(dataManager))).ToImmutableDictionary((ContentFinderConditionData x) => x.ContentFinderConditionId, (ContentFinderConditionData x) => x); + _territoryToContentFinderCondition = (from x in dataManager.GetExcelSheet().Where(delegate(ContentFinderCondition x) + { + int num = ((x.RowId == 0) ? (-1478857039) : (-1478857038)); + while (true) + { + int num2 = num; + int num3 = -1478857037; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 2: + return false; + case 1: + return x.TerritoryType.RowId != 0; + } + continue; + IL_0048: + num = -1478857038; } - return flag && x.ContentType.RowId != 6; }) - select new ContentFinderConditionData(x, dataManager.Language)).ToImmutableDictionary((ContentFinderConditionData x) => x.ContentFinderConditionId, (ContentFinderConditionData x) => x); - _territoryToContentFinderCondition = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.TerritoryType.RowId != 0 group x by x.TerritoryType.RowId).ToImmutableDictionary((IGrouping g) => g.Key, (IGrouping g) => g.First().RowId); - _questBattlesToContentFinderCondition = (from x in (from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.IssuerLocation.RowId != 0 - select x).SelectMany(GetQuestBattles) + _questBattlesToContentFinderCondition = (from x in dataManager.GetExcelSheet().Where(delegate(Quest x) + { + int num = ((x.RowId == 0) ? (-1185353339) : (-1185353338)); + while (true) + { + int num2 = num; + int num3 = -1185353337; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 1: + return x.IssuerLocation.RowId != 0; + case 2: + return false; + } + continue; + IL_0048: + num = -1185353338; + } + }).SelectMany(GetQuestBattles) select (QuestId: x.QuestId, Index: x.Index, CfcId: LookupContentFinderConditionForQuestBattle(dataManager, x.QuestBattleId))).ToImmutableDictionary<(ElementId, byte, uint), (ElementId, byte), uint>(((ElementId QuestId, byte Index, uint CfcId) x) => (QuestId: x.QuestId, Index: x.Index), ((ElementId QuestId, byte Index, uint CfcId) x) => x.CfcId); } @@ -83,20 +1119,51 @@ internal sealed class TerritoryData return _territoryNames.GetValueOrDefault(territoryId); } + string? ITerritoryInfo.GetName(uint territoryId) + { + //ILSpy generated this explicit interface implementation from .override directive in GetName + return this.GetName(territoryId); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public string GetNameAndId(uint territoryId) { string name = GetName(territoryId); - if (name != null) + int num = ((name == null) ? (-644306227) : (-644306226)); + while (true) { - IFormatProvider invariantCulture = CultureInfo.InvariantCulture; - DefaultInterpolatedStringHandler handler = new DefaultInterpolatedStringHandler(3, 2, invariantCulture); - handler.AppendFormatted(name); - handler.AppendLiteral(" ("); - handler.AppendFormatted(territoryId); - handler.AppendLiteral(")"); - return string.Create(invariantCulture, ref handler); + int num2 = num; + int num3 = -644306228; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return territoryId.ToString(_202C_200C_200F_206C_202E_202A_206D_206C_206C_206F_200E_202E_200F_202C_202A_206D_202B_200E_206E_206C_206D_200F_200D_200D_202A_202C_200B_206C_206A_200B_202E_200B_200F_202E_202E_200B_202C_206A_202A_200D_202E()); + case 2: + { + IFormatProvider formatProvider = _202C_200C_200F_206C_202E_202A_206D_206C_206C_206F_200E_202E_200F_202C_202A_206D_202B_200E_206E_206C_206D_200F_200D_200D_202A_202C_200B_206C_206A_200B_202E_200B_200F_202E_202E_200B_202C_206A_202A_200D_202E(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2, formatProvider); + defaultInterpolatedStringHandler.AppendFormatted(name); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(588901087)); + defaultInterpolatedStringHandler.AppendFormatted(territoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + return _206B_200F_202E_202B_206C_200D_200D_206C_202D_200B_206A_200C_200E_200C_202B_200C_202C_200C_206B_206A_202D_200B_206F_202B_206C_202A_206A_202D_202E_200C_200C_202B_202B_202E_202E_202C_202A_200F_200C_202D_202E(formatProvider, ref defaultInterpolatedStringHandler); + } + case 0: + goto IL_00a9; + } + continue; + IL_00a9: + num = -644306226; } - return territoryId.ToString(CultureInfo.InvariantCulture); + } + + string ITerritoryInfo.GetNameAndId(uint territoryId) + { + //ILSpy generated this explicit interface implementation from .override directive in GetNameAndId + return this.GetNameAndId(territoryId); } public bool CanUseMount(uint territoryId) @@ -104,6 +1171,68 @@ internal sealed class TerritoryData return _territoriesWithMount.Contains(territoryId); } + bool ITerritoryInfo.CanUseMount(uint territoryId) + { + //ILSpy generated this explicit interface implementation from .override directive in CanUseMount + return this.CanUseMount(territoryId); + } + + public byte GetExVersion(uint territoryId) + { + byte value; + int num = (_territoryExVersions.TryGetValue(territoryId, out value) ? 2048951031 : 2048951028); + while (true) + { + int num2 = num; + int num3 = 2048951029; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004e; + case 2: + return value; + case 1: + return 0; + } + continue; + IL_004e: + num = 2048951028; + } + } + + byte ITerritoryInfo.GetExVersion(uint territoryId) + { + //ILSpy generated this explicit interface implementation from .override directive in GetExVersion + return this.GetExVersion(territoryId); + } + + public ZoneAccessRequirement? GetZoneAccessRequirement(uint territoryId) + { + ZoneAccessRequirement value; + int num = (_territoryZoneAccessRequirements.TryGetValue(territoryId, out value) ? 1350019505 : 1350019506); + while (true) + { + int num2 = num; + int num3 = 1350019507; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0053; + case 1: + return null; + case 2: + return value; + } + continue; + IL_0053: + num = 1350019506; + } + } + public bool IsDutyInstance(uint territoryId) { return _dutyTerritories.ContainsKey(territoryId); @@ -111,11 +1240,28 @@ internal sealed class TerritoryData public bool IsQuestBattleInstance(uint territoryId) { - if (_dutyTerritories.TryGetValue(territoryId, out var value)) + uint value; + int num = ((!_dutyTerritories.TryGetValue(territoryId, out value)) ? 555422992 : 555422995); + while (true) { - return value == 7; + int num2 = num; + int num3 = 555422993; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0050; + case 2: + return value == 7; + case 1: + return false; + } + continue; + IL_0050: + num = 555422995; } - return false; } public string? GetInstanceName(uint instanceId) @@ -135,12 +1281,27 @@ internal sealed class TerritoryData public bool TryGetContentFinderConditionForSoloInstance(ElementId questId, byte index, [NotNullWhen(true)] out ContentFinderConditionData? contentFinderConditionData) { - if (_questBattlesToContentFinderCondition.TryGetValue((questId, index), out var value)) + uint value; + int num = ((!_questBattlesToContentFinderCondition.TryGetValue((questId, index), out value)) ? (-1412736691) : (-1412736690)); + while (true) { - return _contentFinderConditions.TryGetValue(value, out contentFinderConditionData); + int num2 = num; + int num3 = -1412736689; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + contentFinderConditionData = null; + return false; + case 1: + return _contentFinderConditions.TryGetValue(value, out contentFinderConditionData); + case 0: + goto IL_0067; + } + continue; + IL_0067: + num = -1412736690; } - contentFinderConditionData = null; - return false; } public bool TryGetContentFinderConditionIdForTerritory(uint territoryId, out uint cfcId) @@ -155,38 +1316,108 @@ internal sealed class TerritoryData private static string FixName(string name, ClientLanguage language) { - if (string.IsNullOrEmpty(name) || language != ClientLanguage.English) + int num = (_206A_206D_202D_206E_200B_202B_200B_200C_200D_206F_206A_202E_206E_202A_200F_200F_200F_206E_202A_206E_206F_200E_206B_202C_202E_206E_206E_202E_206A_202A_200F_206F_206A_200D_206F_206B_206E_206E_200E_206B_202E(name) ? 1084979106 : 1084979105); + while (true) { - return name; - } - return string.Concat(name[0].ToString().ToUpper(CultureInfo.InvariantCulture).AsSpan(), name.AsSpan(1)); - } - - private static IEnumerable<(ElementId QuestId, byte Index, uint QuestBattleId)> GetQuestBattles(Quest quest) - { - foreach (Quest.QuestParamsStruct questParam in quest.QuestParams) - { - if (questParam.ScriptInstruction == "QUESTBATTLE0") - { - yield return (QuestId: QuestId.FromRowId(quest.RowId), Index: 0, QuestBattleId: questParam.ScriptArg); - } - else if (questParam.ScriptInstruction == "QUESTBATTLE1") - { - yield return (QuestId: QuestId.FromRowId(quest.RowId), Index: 1, QuestBattleId: questParam.ScriptArg); - } - else if (questParam.ScriptInstruction.IsEmpty) + int num2 = num; + int num3 = 1084979104; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 0: + return _202E_200B_200E_206D_200E_200B_206F_200E_200E_200D_206C_200F_202C_202B_202E_206F_200B_202A_202A_206B_200E_202E_202C_206D_206A_206A_206E_202D_206C_206E_200C_202A_202D_206D_202A_206D_200B_202A_206A_200C_202E(_206C_206D_206F_206E_206C_200D_206A_200E_200D_200B_206C_202B_202B_206D_200F_200C_202E_206D_200E_202A_206B_202C_200E_206A_206B_200F_200D_202D_202B_202B_202A_202B_206B_202E_206C_200F_202D_202C_202B_206A_202E(_200C_206D_206B_200B_206C_206F_202D_202C_202D_200F_206B_202C_200D_200F_202E_202B_202B_200B_202E_202B_206F_202C_200C_206F_200F_206B_206C_206F_206E_206C_202E_200D_206B_202D_200B_202B_202A_202A_202D_202D_202E(_206E_206F_200E_202A_200D_200E_206D_206E_206D_202E_206F_206A_200C_206F_200B_202C_202A_206B_202E_202C_206D_200B_200E_200D_200F_206D_206F_206E_202B_206D_202B_206D_206F_202E_200F_206C_206F_206C_202D_202C_202E(name, 0).ToString(), _202C_200C_200F_206C_202E_202A_206D_206C_206C_206F_200E_202E_200F_202C_202A_206D_202B_200E_206E_206C_206D_200F_200D_200D_202A_202C_200B_206C_206A_200B_202E_200B_200F_202E_202E_200B_202C_206A_202A_200D_202E())), _206C_202B_202E_202D_202A_202E_206D_202A_206C_200D_200D_206F_206F_202D_200D_206F_206F_202E_202D_206C_206D_206D_202B_200C_200E_202D_200C_206C_202E_202E_206A_206F_202B_206B_202B_200F_206E_200B_202B_200E_202E(name, 1)); + case 1: + num = ((language == ClientLanguage.English) ? 1084979104 : 1084979106); + break; + case 2: + return name; + case 3: + num = 1084979105; break; } } } + [IteratorStateMachine(typeof(_003CGetQuestBattles_003Ed__24))] + private static IEnumerable<(ElementId QuestId, byte Index, uint QuestBattleId)> GetQuestBattles(Quest quest) + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CGetQuestBattles_003Ed__24(-2) + { + _003C_003E3__quest = quest + }; + } + private static uint LookupContentFinderConditionForQuestBattle(IDataManager dataManager, uint questBattleId) { - if (questBattleId >= 5000) + int num = ((questBattleId < 5000) ? 152242132 : 152242135); + while (true) { - return dataManager.GetExcelSheet().GetRow(questBattleId).ContentFinderCondition.RowId; + int num2 = num; + int num3 = 152242134; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004f; + case 1: + return dataManager.GetExcelSheet().GetRow(questBattleId).ContentFinderCondition.RowId; + case 2: + return dataManager.GetExcelSheet().GetRow(questBattleId).SoloDuty.RowId; + } + continue; + IL_004f: + num = 152242135; } - return dataManager.GetExcelSheet().GetRow(questBattleId).SoloDuty.RowId; + } + + static bool _206A_206D_202D_206E_200B_202B_200B_200C_200D_206F_206A_202E_206E_202A_200F_200F_200F_206E_202A_206E_206F_200E_206B_202C_202E_206E_206E_202E_206A_202A_200F_206F_206A_200D_206F_206B_206E_206E_200E_206B_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string _202D_200F_200C_206D_202B_206A_200B_200E_202B_206F_202A_202B_202E_206A_200C_200D_200F_206B_202D_206B_202D_202A_202E_200C_202A_202E_202B_202C_206B_200F_206E_200C_200C_200F_202C_206B_206E_206F_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static void _202E_200C_202B_200E_200D_200C_206F_200E_202A_202B_206E_206B_200F_206B_202B_202B_202A_202A_200F_200E_200B_206D_200B_200E_202A_202B_202E_206F_206F_200D_200B_206F_200E_202A_202C_202A_206C_202E_200F_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static CultureInfo _202C_200C_200F_206C_202E_202A_206D_206C_206C_206F_200E_202E_200F_202C_202A_206D_202B_200E_206E_206C_206D_200F_200D_200D_202A_202C_200B_206C_206A_200B_202E_200B_200F_202E_202E_200B_202C_206A_202A_200D_202E() + { + return CultureInfo.InvariantCulture; + } + + static string _206B_200F_202E_202B_206C_200D_200D_206C_202D_200B_206A_200C_200E_200C_202B_200C_202C_200C_206B_206A_202D_200B_206F_202B_206C_202A_206A_202D_202E_200C_200C_202B_202B_202E_202E_202C_202A_200F_200C_202D_202E(IFormatProvider P_0, ref DefaultInterpolatedStringHandler P_1) + { + return string.Create(P_0, ref P_1); + } + + static char _206E_206F_200E_202A_200D_200E_206D_206E_206D_202E_206F_206A_200C_206F_200B_202C_202A_206B_202E_202C_206D_200B_200E_200D_200F_206D_206F_206E_202B_206D_202B_206D_206F_202E_200F_206C_206F_206C_202D_202C_202E(string P_0, int P_1) + { + return P_0[P_1]; + } + + static string _200C_206D_206B_200B_206C_206F_202D_202C_202D_200F_206B_202C_200D_200F_202E_202B_202B_200B_202E_202B_206F_202C_200C_206F_200F_206B_206C_206F_206E_206C_202E_200D_206B_202D_200B_202B_202A_202A_202D_202D_202E(string P_0, CultureInfo P_1) + { + return P_0.ToUpper(P_1); + } + + static ReadOnlySpan _206C_206D_206F_206E_206C_200D_206A_200E_200D_200B_206C_202B_202B_206D_200F_200C_202E_206D_200E_202A_206B_202C_200E_206A_206B_200F_200D_202D_202B_202B_202A_202B_206B_202E_206C_200F_202D_202C_202B_206A_202E(string P_0) + { + return P_0.AsSpan(); + } + + static ReadOnlySpan _206C_202B_202E_202D_202A_202E_206D_202A_206C_200D_200D_206F_206F_202D_200D_206F_206F_202E_202D_206C_206D_206D_202B_200C_200E_202D_200C_206C_202E_202E_206A_206F_202B_206B_202B_200F_206E_200B_202B_200E_202E(string P_0, int P_1) + { + return P_0.AsSpan(P_1); + } + + static string _202E_200B_200E_206D_200E_200B_206F_200E_200E_200D_206C_200F_202C_202B_202E_206F_200B_202A_202A_206B_200E_202E_202C_206D_206A_206A_206E_202D_206C_206E_200C_202A_202D_206D_202A_206D_200B_202A_206A_200C_202E(ReadOnlySpan P_0, ReadOnlySpan P_1) + { + return string.Concat(P_0, P_1); } } diff --git a/Questionable/Questionable.External/ArtisanIpc.cs b/Questionable/Questionable.External/ArtisanIpc.cs index 3d6f2a51..d2621d77 100644 --- a/Questionable/Questionable.External/ArtisanIpc.cs +++ b/Questionable/Questionable.External/ArtisanIpc.cs @@ -1,3 +1,5 @@ +using System; +using System.Runtime.CompilerServices; using Dalamud.Plugin; using Dalamud.Plugin.Ipc; using Dalamud.Plugin.Ipc.Exceptions; @@ -11,40 +13,158 @@ 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; + + [MethodImpl(MethodImplOptions.NoInlining)] public ArtisanIpc(IDalamudPluginInterface pluginInterface, ILogger logger) { _logger = logger; - _craftItem = pluginInterface.GetIpcSubscriber("Artisan.CraftItem"); - _getEnduranceStatus = pluginInterface.GetIpcSubscriber("Artisan.GetEnduranceStatus"); + _craftItem = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(47202474)); + _isBusy = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(625666467)); + _getEnduranceStatus = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-1864578961)); + _setEnduranceStatus = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(70125506)); + _getStopRequest = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-642335670)); + _setStopRequest = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-653283353)); } - public bool CraftItem(ushort recipeId, int quantity) + public bool IsAvailable() { try { - _logger.LogInformation("Attempting to craft {Quantity} items with recipe {RecipeId} with Artisan", quantity, recipeId); - _craftItem.InvokeAction(recipeId, quantity); + _isBusy.InvokeFunc(); return true; } - catch (IpcError exception) + catch (IpcError) { - _logger.LogError(exception, "Unable to craft items"); return false; } } + [MethodImpl(MethodImplOptions.NoInlining)] + public bool IsBusy() + { + try + { + return _isBusy.InvokeFunc(); + } + catch (IpcError ipcError) + { + _200F_206D_206A_202E_202C_202A_206D_206A_202A_200B_206D_202A_206E_200E_200D_202D_202B_200B_200F_206A_200C_206F_206E_206D_206B_202C_206B_206C_206A_202D_206C_202C_202C_206B_206B_200D_206D_202B_206A_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-1209801229), Array.Empty()); + return false; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public bool IsCrafting() { try { - return _getEnduranceStatus.InvokeFunc(); + int num = (_isBusy.InvokeFunc() ? 2072853802 : 2072853801); + int result; + while (true) + { + int num2 = num; + int num3 = 2072853800; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 0: + goto IL_0050; + case 1: + result = (_getEnduranceStatus.InvokeFunc() ? 1 : 0); + break; + case 2: + result = 1; + break; + } + break; + IL_0050: + num = 2072853801; + } + return (byte)result != 0; } - catch (IpcError exception) + catch (IpcError ipcError) { - _logger.LogError(exception, "Unable to check for Artisan endurance status"); + _200F_206D_206A_202E_202C_202A_206D_206A_202A_200B_206D_202A_206E_200E_200D_202D_202B_200B_200F_206A_200C_206F_206E_206D_206B_202C_206B_206C_206A_202D_206C_202C_202C_206B_206B_200D_206D_202B_206A_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-2004423705), Array.Empty()); return false; } } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool CraftItem(ushort recipeId, int quantity) + { + try + { + _206E_206F_202D_200E_202D_202D_202A_202E_200C_202C_202E_200E_202C_206A_206A_200D_206E_206A_202C_200C_200E_206D_206F_202E_202A_206A_200E_200D_200E_206A_200D_206E_200C_200D_206B_206B_202E_200F_200D_202B_202E((ILogger)_logger, global::_003CModule_003E._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(453183658), new object[2] { quantity, recipeId }); + _craftItem.InvokeAction(recipeId, quantity); + return true; + } + catch (IpcError ipcError) + { + _200F_206D_206A_202E_202C_202A_206D_206A_202A_200B_206D_202A_206E_200E_200D_202D_202B_200B_200F_206A_200C_206F_206E_206D_206B_202C_206B_206C_206A_202D_206C_202C_202C_206B_206B_200D_206D_202B_206A_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-764787723), Array.Empty()); + return false; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void SetEnduranceStatus(bool enabled) + { + try + { + _setEnduranceStatus.InvokeAction(enabled); + } + catch (IpcError ipcError) + { + _200F_206D_206A_202E_202C_202A_206D_206A_202A_200B_206D_202A_206E_200E_200D_202D_202B_200B_200F_206A_200C_206F_206E_206D_206B_202C_206B_206C_206A_202D_206C_202C_202C_206B_206B_200D_206D_202B_206A_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(789373689), Array.Empty()); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool GetStopRequest() + { + try + { + return _getStopRequest.InvokeFunc(); + } + catch (IpcError ipcError) + { + _200F_206D_206A_202E_202C_202A_206D_206A_202A_200B_206D_202A_206E_200E_200D_202D_202B_200B_200F_206A_200C_206F_206E_206D_206B_202C_206B_206C_206A_202D_206C_202C_202C_206B_206B_200D_206D_202B_206A_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-1603998774), Array.Empty()); + return false; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void SetStopRequest(bool stop) + { + try + { + _setStopRequest.InvokeAction(stop); + } + catch (IpcError ipcError) + { + _200F_206D_206A_202E_202C_202A_206D_206A_202A_200B_206D_202A_206E_200E_200D_202D_202B_200B_200F_206A_200C_206F_206E_206D_206B_202C_206B_206C_206A_202D_206C_202C_202C_206B_206B_200D_206D_202B_206A_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(1609057736), Array.Empty()); + } + } + + static void _200F_206D_206A_202E_202C_202A_206D_206A_202A_200B_206D_202A_206E_200E_200D_202D_202B_200B_200F_206A_200C_206F_206E_206D_206B_202C_206B_206C_206A_202D_206C_202C_202C_206B_206B_200D_206D_202B_206A_202E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static void _206E_206F_202D_200E_202D_202D_202A_202E_200C_202C_202E_200E_202C_206A_206A_200D_206E_206A_202C_200C_200E_206D_206F_202E_202A_206A_200E_200D_200E_206A_200D_206E_200C_200D_206B_206B_202E_200F_200D_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } } diff --git a/Questionable/Questionable.External/AutoDutyIpc.cs b/Questionable/Questionable.External/AutoDutyIpc.cs index 257efc4c..2f2b5d1e 100644 --- a/Questionable/Questionable.External/AutoDutyIpc.cs +++ b/Questionable/Questionable.External/AutoDutyIpc.cs @@ -1,4 +1,5 @@ using System; +using System.Runtime.CompilerServices; using Dalamud.Plugin; using Dalamud.Plugin.Ipc; using Dalamud.Plugin.Ipc.Exceptions; @@ -25,10 +26,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; @@ -39,43 +44,111 @@ internal sealed class AutoDutyIpc public const int MinimumLevelForLevelingMode = 15; + [MethodImpl(MethodImplOptions.NoInlining)] public AutoDutyIpc(IDalamudPluginInterface pluginInterface, Configuration configuration, TerritoryData territoryData, ILogger logger) { _configuration = configuration; _territoryData = territoryData; _logger = logger; - _contentHasPath = pluginInterface.GetIpcSubscriber("AutoDuty.ContentHasPath"); - _setConfig = pluginInterface.GetIpcSubscriber("AutoDuty.SetConfig"); - _run = pluginInterface.GetIpcSubscriber("AutoDuty.Run"); - _isStopped = pluginInterface.GetIpcSubscriber("AutoDuty.IsStopped"); - _stop = pluginInterface.GetIpcSubscriber("AutoDuty.Stop"); + _contentHasPath = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(669378037)); + _getConfig = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(778701164)); + _setConfig = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(930976644)); + _run = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-715592448)); + _start = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(586700200)); + _isStopped = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(200621634)); + _stop = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(787984803)); _loggedContentHasPathQueryWarning = false; _loggedLevelingModeWarning = false; } + [MethodImpl(MethodImplOptions.NoInlining)] + public bool ManagesRotationPluginState() + { + try + { + return _206A_200D_200D_206E_202C_200E_200F_202C_200C_200F_206E_200E_206B_206D_200B_202A_202E_202D_206F_206D_200C_200B_206A_206C_200E_206B_206F_206D_202E_206D_206B_200F_202E_202E_202A_202C_202E_200C_202C_206A_202E(_getConfig.InvokeFunc(global::_003CModule_003E._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(656009989)), global::_003CModule_003E._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(251886879), StringComparison.OrdinalIgnoreCase); + } + catch (IpcError) + { + return false; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool ManagesBossModAiSettings() + { + try + { + return _206A_200D_200D_206E_202C_200E_200F_202C_200C_200F_206E_200E_206B_206D_200B_202A_202E_202D_206F_206D_200C_200B_206A_206C_200E_206B_206F_206D_202E_206D_206B_200F_202E_202E_202A_202C_202E_200C_202C_206A_202E(_getConfig.InvokeFunc(global::_003CModule_003E._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(1652223721)), global::_003CModule_003E._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(-536004571), StringComparison.OrdinalIgnoreCase); + } + catch (IpcError) + { + return false; + } + } + public bool IsConfiguredToRunContent(DutyOptions? dutyOptions) { - if (dutyOptions == null || dutyOptions.ContentFinderConditionId == 0) + int num = ((dutyOptions == null) ? (-925211757) : (-925211760)); + uint num7 = default(uint); + DutyEntry value = default(DutyEntry); + while (true) { - return false; + int num2 = num; + int num3 = -925211759; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return false; + case 1: + num = ((_202E_206E_206B_200F_202E_200B_200D_200D_206F_202B_202D_202C_200C_206E_200F_206F_202B_200F_200B_206A_206A_200C_206F_200E_200B_200F_200C_206E_206C_202E_202D_200F_200C_206D_206E_202D_202A_200D_200D_202E_202E(dutyOptions) != 0) ? (-925211750) : (-925211757)); + break; + case 3: + return HasPath(num7); + case 14: + if (value.Enabled) + { + num = -925211758; + break; + } + goto case 0; + case 5: + num = ((!_configuration.Duties.WhitelistedDutyCfcIds.Contains(num7)) ? (-925211754) : (-925211749)); + break; + case 0: + num = -925211751; + break; + case 6: + return true; + case 9: + num = -925211760; + break; + case 13: + return false; + case 2: + return false; + case 7: + num = ((!DutyRegistry.Duties.TryGetValue(num7, out value)) ? (-925211759) : (-925211745)); + break; + case 8: + return false; + case 10: + { + num = ((!_territoryData.TryGetContentFinderCondition(num7, out TerritoryData.ContentFinderConditionData _)) ? (-925211754) : (-925211753)); + break; + } + case 12: + num7 = _202E_206E_206B_200F_202E_200B_200D_200D_206F_202B_202D_202C_200C_206E_200F_206F_202B_200F_200B_206A_206A_200C_206F_200E_200B_200F_200C_206E_206C_202E_202D_200F_200C_206D_206E_202D_202A_200D_200D_202E_202E(dutyOptions); + num = ((!_configuration.Duties.BlacklistedDutyCfcIds.Contains(num7)) ? (-925211756) : (-925211748)); + break; + case 11: + num = (_configuration.Duties.RunInstancedContentWithAutoDuty ? (-925211747) : (-925211755)); + break; + } } - if (!_configuration.Duties.RunInstancedContentWithAutoDuty) - { - return false; - } - if (_configuration.Duties.BlacklistedDutyCfcIds.Contains(dutyOptions.ContentFinderConditionId)) - { - return false; - } - if (_configuration.Duties.WhitelistedDutyCfcIds.Contains(dutyOptions.ContentFinderConditionId) && _territoryData.TryGetContentFinderCondition(dutyOptions.ContentFinderConditionId, out TerritoryData.ContentFinderConditionData _)) - { - return true; - } - if (dutyOptions.Enabled) - { - return HasPath(dutyOptions.ContentFinderConditionId); - } - return false; } public bool IsConfiguredToRunLevelingMode() @@ -83,96 +156,238 @@ internal sealed class AutoDutyIpc return _configuration.Duties.RunLevelingModeWhenUnderleveled; } + [MethodImpl(MethodImplOptions.NoInlining)] public bool IsConfiguredToRunLevelingMode(int currentPlayerLevel) { - if (!_configuration.Duties.RunLevelingModeWhenUnderleveled) + int num = (_configuration.Duties.RunLevelingModeWhenUnderleveled ? 1846348049 : 1846348050); + while (true) { - return false; + int num2 = num; + int num3 = 1846348051; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = ((currentPlayerLevel >= 15) ? 1846348055 : 1846348051); + break; + case 0: + _206C_200E_202E_200E_206A_202E_202C_206D_202B_200B_200D_200F_202D_206B_206D_200E_202A_202C_202E_206A_200D_200C_200F_206A_202E_206A_200E_200B_200D_200D_200F_202D_202B_200C_206C_206C_200B_206F_206C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-1066385664), new object[2] { currentPlayerLevel, 15 }); + return false; + case 3: + num = 1846348050; + break; + case 1: + return false; + case 4: + return true; + } } - if (currentPlayerLevel < 15) - { - return false; - } - return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public bool HasPath(uint cfcId) { - if (!_territoryData.TryGetContentFinderCondition(cfcId, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) + int num = (_territoryData.TryGetContentFinderCondition(cfcId, out TerritoryData.ContentFinderConditionData contentFinderConditionData) ? (-1822320114) : (-1822320115)); + while (true) { - return false; - } - try - { - return _contentHasPath.InvokeFunc(contentFinderConditionData.TerritoryId); - } - catch (IpcError ipcError) - { - if (!_loggedContentHasPathQueryWarning) + int num2 = num; + int num3 = -1822320113; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - _logger.LogWarning("Unable to query AutoDuty for path in territory {TerritoryType}: {Message}", contentFinderConditionData.TerritoryId, ipcError.Message); - _loggedContentHasPathQueryWarning = true; + case 0: + goto IL_0054; + case 2: + return false; + case 1: + try + { + return _contentHasPath.InvokeFunc(contentFinderConditionData.TerritoryId); + } + catch (IpcError ipcError) + { + num = (_loggedContentHasPathQueryWarning ? 1942042922 : 1942042921); + while (true) + { + int num5 = num; + num3 = 1942042923; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1942042921; + break; + case 2: + _206E_206F_206B_206E_206D_202D_206A_200F_206B_206D_206D_200D_202B_200E_200E_206B_202C_200D_202C_206E_206E_202C_200C_206A_200B_206B_206E_206D_206A_202D_202D_206E_200B_206F_200E_200C_206F_200E_202D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(63973339), new object[2] + { + contentFinderConditionData.TerritoryId, + _202E_206B_200C_202D_200C_200F_206D_200C_206F_206A_200B_202E_202B_206D_200C_206C_200E_206E_206B_202B_206F_206F_202E_202E_202A_200D_200E_200C_200D_202C_200C_200D_202D_202D_202B_202E_202D_202D_202C_202D_202E((Exception)ipcError) + }); + _loggedContentHasPathQueryWarning = true; + num = 1942042922; + break; + case 1: + return false; + } + } + } } - return false; + continue; + IL_0054: + num = -1822320115; } } + [MethodImpl(MethodImplOptions.NoInlining)] public void StartInstance(uint cfcId, DutyMode dutyMode) { - if (!_territoryData.TryGetContentFinderCondition(cfcId, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) + int num = (_territoryData.TryGetContentFinderCondition(cfcId, out TerritoryData.ContentFinderConditionData contentFinderConditionData) ? (-1305610251) : (-1305610252)); + string arg = default(string); + while (true) { - throw new TaskException($"Unknown ContentFinderConditionId {cfcId}"); - } - try - { - _setConfig.InvokeAction("leveling", "None"); - _setConfig.InvokeAction("Unsynced", $"{dutyMode == DutyMode.UnsyncRegular}"); - ICallGateSubscriber setConfig = _setConfig; - setConfig.InvokeAction("dutyModeEnum", dutyMode switch + int num2 = num; + int num3 = -1305610251; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - DutyMode.Support => "Support", - DutyMode.UnsyncRegular => "Regular", - _ => throw new ArgumentOutOfRangeException("dutyMode", dutyMode, null), - }); - _run.InvokeAction(contentFinderConditionData.TerritoryId, 1, !_configuration.Advanced.DisableAutoDutyBareMode); - } - catch (IpcError ipcError) - { - throw new TaskException("Unable to run content with AutoDuty: " + ipcError.Message, ipcError); + case 2: + goto IL_0057; + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(33, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1265777789)); + defaultInterpolatedStringHandler.AppendFormatted(cfcId); + throw new TaskException(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 0: + try + { + _206C_200E_202E_200E_206A_202E_202C_206D_202B_200B_200D_200F_202D_206B_206D_200E_202A_202C_202E_206A_200D_200C_200F_206A_202E_206A_200E_200B_200D_200D_200F_202D_202B_200C_206C_206C_200B_206F_206C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-95990036), new object[1] { cfcId }); + _setConfig.InvokeAction(global::_003CModule_003E._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(1128026998), global::_003CModule_003E._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(474422561)); + _setConfig.InvokeAction(global::_003CModule_003E._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(-135408714), $"{dutyMode == DutyMode.UnsyncRegular}"); + ICallGateSubscriber setConfig = _setConfig; + num = ((dutyMode == DutyMode.Support) ? (-858161534) : (-858161535)); + while (true) + { + int num5 = num; + num3 = -858161529; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = -858161535; + break; + case 5: + arg = global::_003CModule_003E._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(831199868); + num = -858161531; + break; + case 1: + num = -858161529; + break; + case 3: + arg = global::_003CModule_003E._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(-669754596); + num = -858161531; + break; + case 6: + num = ((dutyMode == DutyMode.UnsyncRegular) ? (-858161532) : (-858161530)); + break; + case 0: + throw _202B_202C_206C_206A_206F_206E_200D_202C_206A_202C_206A_200B_206F_200C_202E_202C_202B_206D_202E_206C_206B_200B_206A_202E_206D_206E_202B_202D_206C_200C_206E_206F_202D_202C_202C_206B_202A_200E_200E_200F_202E(global::_003CModule_003E._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(428627433), (object)dutyMode, (string)null); + case 2: + setConfig.InvokeAction(global::_003CModule_003E._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(508209007), arg); + _run.InvokeAction(contentFinderConditionData.TerritoryId, 1, !_configuration.Advanced.DisableAutoDutyBareMode); + return; + } + } + } + catch (IpcError ipcError) + { + throw new TaskException(_202B_200E_206A_200C_206C_206B_202B_200F_200B_202B_202C_206F_202D_206D_200E_206C_206D_206C_206F_202D_200C_206F_200F_200F_206C_200E_206A_202B_202C_200E_206A_202E_206F_200C_206C_202A_200B_200E_206D_202C_202E(global::_003CModule_003E._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(1617899895), _202E_206B_200C_202D_200C_200F_206D_200C_206F_206A_200B_202E_202B_206D_200C_206C_200E_206E_206B_202B_206F_206F_202E_202E_202A_200D_200E_200C_200D_202C_200C_200D_202D_202D_202B_202E_202D_202D_202C_202D_202E((Exception)ipcError)), ipcError); + } + } + continue; + IL_0057: + num = -1305610252; } } + [MethodImpl(MethodImplOptions.NoInlining)] public bool StartLevelingMode() { try { - if (!IsStopped()) + int num = (IsStopped() ? 1638080603 : 1638080602); + while (true) { - _logger.LogDebug("AutoDuty is already running, not starting leveling mode again"); - return true; + int num2 = num; + int num3 = 1638080603; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004c; + case 1: + _206C_200E_202E_200E_206A_202E_202C_206D_202B_200B_200D_200F_202D_206B_206D_200E_202A_202C_202E_206A_200D_200C_200F_206A_202E_206A_200E_200B_200D_200D_200F_202D_202B_200C_206C_206C_200B_206F_206C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(294195478), Array.Empty()); + return true; + case 0: + _206C_200E_202E_200E_206A_202E_202C_206D_202B_200B_200D_200F_202D_206B_206D_200E_202A_202C_202E_206A_200D_200C_200F_206A_202E_206A_200E_200B_200D_200D_200F_202D_202B_200C_206C_206C_200B_206F_206C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-451238822), Array.Empty()); + _setConfig.InvokeAction(global::_003CModule_003E._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(-1303258245), global::_003CModule_003E._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(-482605368)); + _setConfig.InvokeAction(global::_003CModule_003E._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(-1814589717), global::_003CModule_003E._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(-426031024)); + _start.InvokeAction(arg1: true); + return true; + } + continue; + IL_004c: + num = 1638080602; } - _logger.LogInformation("Starting AutoDuty Leveling mode (Support) - AutoDuty will select the best dungeon"); - _setConfig.InvokeAction("leveling", "Support"); - _run.InvokeAction(0u, 1, !_configuration.Advanced.DisableAutoDutyBareMode); - return true; } catch (IpcError ipcError) { - if (!_loggedLevelingModeWarning) + int num = (_loggedLevelingModeWarning ? (-312465232) : (-312465229)); + while (true) { - _logger.LogWarning("Unable to start AutoDuty Leveling mode: {Message}", ipcError.Message); - _loggedLevelingModeWarning = true; + int num5 = num; + int num3 = -312465231; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -312465229; + break; + case 2: + _206E_206F_206B_206E_206D_202D_206A_200F_206B_206D_206D_200D_202B_200E_200E_206B_202C_200D_202C_206E_206E_202C_200C_206A_200B_206B_206E_206D_206A_202D_202D_206E_200B_206F_200E_200C_206F_200E_202D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(1771489609), new object[1] { _202E_206B_200C_202D_200C_200F_206D_200C_206F_206A_200B_202E_202B_206D_200C_206C_200E_206E_206B_202B_206F_206F_202E_202E_202A_200D_200E_200C_200D_202C_200C_200D_202D_202D_202B_202E_202D_202D_202C_202D_202E((Exception)ipcError) }); + _loggedLevelingModeWarning = true; + num = -312465232; + break; + case 1: + return false; + } } - return false; } - catch (Exception exception) + catch (Exception ex) { - if (!_loggedLevelingModeWarning) + int num = (_loggedLevelingModeWarning ? (-1904773867) : (-1904773868)); + while (true) { - _logger.LogWarning(exception, "Unable to start AutoDuty Leveling mode"); - _loggedLevelingModeWarning = true; + int num6 = num; + int num3 = -1904773867; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1904773868; + break; + case 1: + _206A_200E_200F_206D_206C_200E_202D_200D_206B_206B_206E_202E_200C_206C_200F_202D_206D_202E_200C_200E_200C_206B_206E_202E_200F_202A_206C_200D_202A_200C_202A_206A_206C_202A_200B_200C_206D_202C_202A_200D_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-1702682282), Array.Empty()); + _loggedLevelingModeWarning = true; + num = -1904773867; + break; + case 0: + return false; + } } - return false; } } @@ -188,36 +403,66 @@ internal sealed class AutoDutyIpc } } - public void DisableLevelingMode() + [MethodImpl(MethodImplOptions.NoInlining)] + 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"); + _206C_200E_202E_200E_206A_202E_202C_206D_202B_200B_200D_200F_202D_206B_206D_200E_202A_202C_202E_206A_200D_200C_200F_206A_202E_206A_200E_200B_200D_200D_200F_202D_202B_200C_206C_206C_200B_206F_206C_202A_202E((ILogger)_logger, global::_003CModule_003E._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(1093041537), Array.Empty()); try { - _setConfig.InvokeAction("leveling", "None"); + _setConfig.InvokeAction(global::_003CModule_003E._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(1128026998), global::_003CModule_003E._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(474422561)); } catch (IpcError) { } _stop.InvokeAction(); + return true; } catch (IpcError ipcError2) { - throw new TaskException("Unable to stop AutoDuty: " + ipcError2.Message, ipcError2); + _206E_206F_206B_206E_206D_202D_206A_200F_206B_206D_206D_200D_202B_200E_200E_206B_202C_200D_202C_206E_206E_202C_200C_206A_200B_206B_206E_206D_206A_202D_202D_206E_200B_206F_200E_200C_206F_200E_202D_206E_202E((ILogger)_logger, global::_003CModule_003E._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(1903796332), new object[1] { _202E_206B_200C_202D_200C_200F_206D_200C_206F_206A_200B_202E_202B_206D_200C_206C_200E_206E_206B_202B_206F_206F_202E_202E_202A_200D_200E_200C_200D_202C_200C_200D_202D_202D_202B_202E_202D_202D_202C_202D_202E((Exception)ipcError2) }); + return false; } } + + static bool _206A_200D_200D_206E_202C_200E_200F_202C_200C_200F_206E_200E_206B_206D_200B_202A_202E_202D_206F_206D_200C_200B_206A_206C_200E_206B_206F_206D_202E_206D_206B_200F_202E_202E_202A_202C_202E_200C_202C_206A_202E(string P_0, string P_1, StringComparison P_2) + { + return string.Equals(P_0, P_1, P_2); + } + + static uint _202E_206E_206B_200F_202E_200B_200D_200D_206F_202B_202D_202C_200C_206E_200F_206F_202B_200F_200B_206A_206A_200C_206F_200E_200B_200F_200C_206E_206C_202E_202D_200F_200C_206D_206E_202D_202A_200D_200D_202E_202E(DutyOptions P_0) + { + return P_0.ContentFinderConditionId; + } + + static void _206C_200E_202E_200E_206A_202E_202C_206D_202B_200B_200D_200F_202D_206B_206D_200E_202A_202C_202E_206A_200D_200C_200F_206A_202E_206A_200E_200B_200D_200D_200F_202D_202B_200C_206C_206C_200B_206F_206C_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static string _202E_206B_200C_202D_200C_200F_206D_200C_206F_206A_200B_202E_202B_206D_200C_206C_200E_206E_206B_202B_206F_206F_202E_202E_202A_200D_200E_200C_200D_202C_200C_200D_202D_202D_202B_202E_202D_202D_202C_202D_202E(Exception P_0) + { + return P_0.Message; + } + + static void _206E_206F_206B_206E_206D_202D_206A_200F_206B_206D_206D_200D_202B_200E_200E_206B_202C_200D_202C_206E_206E_202C_200C_206A_200B_206B_206E_206D_206A_202D_202D_206E_200B_206F_200E_200C_206F_200E_202D_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static ArgumentOutOfRangeException _202B_202C_206C_206A_206F_206E_200D_202C_206A_202C_206A_200B_206F_200C_202E_202C_202B_206D_202E_206C_206B_200B_206A_202E_206D_206E_202B_202D_206C_200C_206E_206F_202D_202C_202C_206B_202A_200E_200E_200F_202E(string P_0, object P_1, string P_2) + { + return new ArgumentOutOfRangeException(P_0, P_1, P_2); + } + + static string _202B_200E_206A_200C_206C_206B_202B_200F_200B_202B_202C_206F_202D_206D_200E_206C_206D_206C_206F_202D_200C_206F_200F_200F_206C_200E_206A_202B_202C_200E_206A_202E_206F_200C_206C_202A_200B_200E_206D_202C_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _206A_200E_200F_206D_206C_200E_202D_200D_206B_206B_206E_202E_200C_206C_200F_202D_206D_202E_200C_200E_200C_206B_206E_202E_200F_202A_206C_200D_202A_200C_202A_206A_206C_202A_200B_200C_206D_202C_202A_200D_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } } diff --git a/Questionable/Questionable.External/AutoHookIpc.cs b/Questionable/Questionable.External/AutoHookIpc.cs new file mode 100644 index 00000000..6643909a --- /dev/null +++ b/Questionable/Questionable.External/AutoHookIpc.cs @@ -0,0 +1,152 @@ +using System; +using System.Runtime.CompilerServices; +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; + + [MethodImpl(MethodImplOptions.NoInlining)] + public AutoHookIpc(IDalamudPluginInterface pluginInterface, ILogger logger) + { + _logger = logger; + _getPluginState = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-1163699998)); + _setPluginState = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-981353761)); + _getAutoStartFishing = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(723530020)); + _setAutoStartFishing = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(960202505)); + _swapBaitById = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(1702658080)); + _createAndSelectAnonymousPreset = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(390173512)); + _deleteAllAnonymousPresets = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-472019215)); + } + + public bool IsAvailable() + { + try + { + _getPluginState.InvokeFunc(); + return true; + } + catch (IpcError) + { + return false; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool GetPluginState() + { + try + { + return _getPluginState.InvokeFunc(); + } + catch (IpcError ipcError) + { + _200F_202B_202A_202A_206E_200E_206C_202E_206F_202B_206B_206F_206A_202D_202C_200F_202C_202C_200F_206D_206E_202A_206A_206F_202B_202A_206A_206C_206F_206D_202D_202E_202D_206C_200E_202E_202B_206E_202B_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(944880881), Array.Empty()); + return false; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void SetPluginState(bool enabled) + { + try + { + _setPluginState.InvokeAction(enabled); + } + catch (IpcError ipcError) + { + _200F_202B_202A_202A_206E_200E_206C_202E_206F_202B_206B_206F_206A_202D_202C_200F_202C_202C_200F_206D_206E_202A_206A_206F_202B_202A_206A_206C_206F_206D_202D_202E_202D_206C_200E_202E_202B_206E_202B_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(1416285307), Array.Empty()); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool GetAutoStartFishing() + { + try + { + return _getAutoStartFishing.InvokeFunc(); + } + catch (IpcError ipcError) + { + _200F_202B_202A_202A_206E_200E_206C_202E_206F_202B_206B_206F_206A_202D_202C_200F_202C_202C_200F_206D_206E_202A_206A_206F_202B_202A_206A_206C_206F_206D_202D_202E_202D_206C_200E_202E_202B_206E_202B_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-795018389), Array.Empty()); + return false; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void SetAutoStartFishing(bool enabled) + { + try + { + _setAutoStartFishing.InvokeAction(enabled); + } + catch (IpcError ipcError) + { + _200F_202B_202A_202A_206E_200E_206C_202E_206F_202B_206B_206F_206A_202D_202C_200F_202C_202C_200F_206D_206E_202A_206A_206F_202B_202A_206A_206C_206F_206D_202D_202E_202D_206C_200E_202E_202B_206E_202B_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(1390121576), Array.Empty()); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool SwapBaitById(uint baitId) + { + try + { + return _swapBaitById.InvokeFunc(baitId); + } + catch (IpcError ipcError) + { + _200F_202B_202A_202A_206E_200E_206C_202E_206F_202B_206B_206F_206A_202D_202C_200F_202C_202C_200F_206D_206E_202A_206A_206F_202B_202A_206A_206C_206F_206D_202D_202E_202D_206C_200E_202E_202B_206E_202B_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-2110450433), new object[1] { baitId }); + return false; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void CreateAndSelectAnonymousPreset(string compressedPreset) + { + try + { + _createAndSelectAnonymousPreset.InvokeAction(compressedPreset); + } + catch (IpcError ipcError) + { + _200F_202B_202A_202A_206E_200E_206C_202E_206F_202B_206B_206F_206A_202D_202C_200F_202C_202C_200F_206D_206E_202A_206A_206F_202B_202A_206A_206C_206F_206D_202D_202E_202D_206C_200E_202E_202B_206E_202B_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-1997912851), Array.Empty()); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void DeleteAllAnonymousPresets() + { + try + { + _deleteAllAnonymousPresets.InvokeAction(); + } + catch (IpcError ipcError) + { + _200F_202B_202A_202A_206E_200E_206C_202E_206F_202B_206B_206F_206A_202D_202C_200F_202C_202C_200F_206D_206E_202A_206A_206F_202B_202A_206A_206C_206F_206D_202D_202E_202D_206C_200E_202E_202B_206E_202B_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-1325301918), Array.Empty()); + } + } + + static void _200F_202B_202A_202A_206E_200E_206C_202E_206F_202B_206B_206F_206A_202D_202C_200F_202C_202C_200F_206D_206E_202A_206A_206F_202B_202A_206A_206C_206F_206D_202D_202E_202D_206C_200E_202E_202B_206E_202B_202E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } +} diff --git a/Questionable/Questionable.External/AutomatonIpc.cs b/Questionable/Questionable.External/AutomatonIpc.cs index 5f6eb1b2..a6899468 100644 --- a/Questionable/Questionable.External/AutomatonIpc.cs +++ b/Questionable/Questionable.External/AutomatonIpc.cs @@ -1,11 +1,10 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; -using System.Threading.Tasks; +using System.Runtime.CompilerServices; 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 +13,23 @@ 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" + global::_003CModule_003E._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(455881545), + global::_003CModule_003E._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(-1927304316), + global::_003CModule_003E._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(157982794), + global::_003CModule_003E._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(482045276), + global::_003CModule_003E._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(-42215246), + global::_003CModule_003E._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(644875872), + global::_003CModule_003E._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(1345044293), + global::_003CModule_003E._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(67389204), + global::_003CModule_003E._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(1780504317), + global::_003CModule_003E._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(-227677374), + global::_003CModule_003E._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(296780267), + global::_003CModule_003E._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(-1211232634) }.ToImmutableHashSet(); - private const string AutoSnipeTweak = "AutoSnipeQuests"; + internal const string AutoSnipeTweak = "AutoSnipeQuests"; private readonly Configuration _configuration; @@ -30,124 +39,232 @@ 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) + [MethodImpl(MethodImplOptions.NoInlining)] + 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 = _202A_202E_206A_206E_206C_206E_206D_206C_200F_202A_202E_202A_200C_206D_206D_200F_206C_202E_200B_206F_202E_206C_202B_202D_202C_202A_206A_202E_200B_200C_202C_206B_200B_202B_206C_200C_202A_206F_202C_202C_202E(pluginInterface, global::_003CModule_003E._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(1188512438), global::_003CModule_003E._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(-1582374739), (ILogger)logger); _questController.AutomationTypeChanged += OnAutomationTypeChanged; - _framework.Update += OnFrameworkUpdate; + _202E_200F_200F_200B_206A_200C_202A_206F_202B_200E_206B_200B_200D_200C_206D_202C_200E_202D_200E_200D_202E_202E_206E_202C_206A_200D_206F_206C_200D_200B_206B_200E_202B_200B_202C_202A_206C_206C_202B_206B_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); } private void OnAutomationTypeChanged(object sender, QuestController.EAutomationType automationType) { - if (automationType != QuestController.EAutomationType.Manual && !_territoryData.IsDutyInstance(_clientState.TerritoryType)) + int num = ((automationType == QuestController.EAutomationType.Manual) ? 1465244874 : 1465244872); + while (true) { - Task.Run((Action)DisableConflictingTweaks); - } - else if (!_fateController.IsRunning && !_seasonalDutyController.IsRunning) - { - Task.Run((Action)RestoreConflictingTweaks); + int num2 = num; + int num3 = 1465244874; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = (_seasonalDutyController.IsRunning ? 1465244876 : 1465244873); + break; + case 2: + num = (_territoryData.IsDutyInstance(_200B_202B_202B_202C_200E_202D_200E_202A_206E_200E_206C_202A_206E_200F_200D_202B_202B_200D_202A_200D_206A_202C_200C_206D_202E_202C_202B_206C_202C_206B_202B_206A_202E_202B_206E_200E_206E_200F_206C_202C_202E(_clientState)) ? 1465244874 : 1465244878); + break; + case 5: + num = 1465244872; + break; + case 6: + return; + case 7: + InvokeGuarded(delegate + { + _202E_200B_200B_206D_202E_202B_202E_200E_206C_202A_206E_202B_202C_202A_200E_202E_200D_202D_206F_202D_200F_202D_202E_206E_200B_200E_202B_200C_202D_202E_200B_200E_200C_202B_206F_200F_206F_206D_206C_206F_202E(_pauser); + }); + num = 1465244876; + break; + case 3: + num = (_customDeliveryController.IsRunning ? 1465244876 : 1465244877); + break; + case 0: + num = (_fateController.IsRunning ? 1465244876 : 1465244875); + break; + case 4: + InvokeGuarded(DisableConflictingTweaks); + return; + } } } private void OnFrameworkUpdate(IFramework framework) { - bool flag = _fateController.IsRunning || _seasonalDutyController.IsRunning; - if (flag != _wasFateRunning) + int num = (_fateController.IsRunning ? 767145126 : 767145129); + bool flag = default(bool); + while (true) { - _wasFateRunning = flag; - if (flag && !_territoryData.IsDutyInstance(_clientState.TerritoryType)) + int num2 = num; + int num3 = 767145123; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) { - Task.Run((Action)DisableConflictingTweaks); - } - else if (_questController.AutomationType == QuestController.EAutomationType.Manual) - { - Task.Run((Action)RestoreConflictingTweaks); + case 0: + num = 767145129; + break; + case 1: + InvokeGuarded(delegate + { + _202E_200B_200B_206D_202E_202B_202E_200E_206C_202A_206E_202B_202C_202A_200E_202E_200D_202D_206F_202D_200F_202D_202E_206E_200B_200E_202B_200C_202D_202E_200B_200E_200C_202B_206F_200F_206F_206D_206C_206F_202E(_pauser); + }); + num = 767145130; + break; + case 7: + num = ((_questController.AutomationType != QuestController.EAutomationType.Manual) ? 767145130 : 767145122); + break; + case 6: + InvokeGuarded(DisableConflictingTweaks); + return; + case 8: + num5 = (_customDeliveryController.IsRunning ? 1 : 0); + goto IL_013c; + case 3: + _wasFateRunning = flag; + num = ((!flag) ? 767145124 : 767145127); + break; + case 4: + num = (_territoryData.IsDutyInstance(_200B_202B_202B_202C_200E_202D_200E_202A_206E_200E_206C_202A_206E_200F_200D_202B_202B_200D_202A_200D_206A_202C_200C_206D_202E_202C_202B_206C_202C_206B_202B_206A_202E_202B_206E_200E_206E_200F_206C_202C_202E(_clientState)) ? 767145124 : 767145125); + break; + case 5: + num5 = 1; + goto IL_013c; + case 9: + return; + case 10: + num = (_seasonalDutyController.IsRunning ? 767145126 : 767145131); + break; + case 2: + return; + IL_013c: + flag = (byte)num5 != 0; + num = ((flag != _wasFateRunning) ? 767145120 : 767145121); + break; } } } - 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) + [MethodImpl(MethodImplOptions.NoInlining)] + private void InvokeGuarded(Action action) { try { - if (_isTweakEnabled.InvokeFunc(tweak)) - { - _setTweakState.InvokeAction(tweak, arg2: false); - _pausedTweaks.Add(tweak); - _logger.LogInformation("Paused Automaton tweak: {Tweak}", tweak); - } + action(); } - catch (IpcError) + catch (Exception ex) { + _206A_202D_200F_206E_206D_206C_202B_202B_202E_206D_206E_200D_202C_202E_200E_206C_206D_200D_206E_200F_206D_206C_200D_206B_202A_202E_206C_202D_200C_206D_202D_206B_200B_202E_202D_202A_202B_206C_202C_200E_202E((ILogger)_logger, ex, global::_003CModule_003E._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(1444366568), Array.Empty()); } } - private void RestoreConflictingTweaks() + [MethodImpl(MethodImplOptions.NoInlining)] + private void DisableConflictingTweaks() { - if (_pausedTweaks == null) + int num = (_configuration.General.AutoSnipe ? (-1792713468) : (-1792713465)); + ImmutableHashSet immutableHashSet; + while (true) { - return; - } - foreach (string pausedTweak in _pausedTweaks) - { - try - { - _setTweakState.InvokeAction(pausedTweak, arg2: true); - _logger.LogInformation("Restored Automaton tweak: {Tweak}", pausedTweak); - } - catch (IpcError) + int num2 = num; + int num3 = -1792713467; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + default: + continue; + case 1: + immutableHashSet = ConflictingTweaks.Add(global::_003CModule_003E._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(899890205)); + break; + case 2: + immutableHashSet = ConflictingTweaks; + break; + case 0: + goto IL_009e; } + break; + IL_009e: + num = -1792713465; } - _pausedTweaks = null; + ImmutableHashSet immutableHashSet2 = immutableHashSet; + _206C_202B_200C_206A_200C_206B_206F_202C_200F_202B_206C_206F_206D_200C_200F_202D_202E_200B_206D_202E_206E_200E_200E_202E_202E_206D_200D_200B_202B_200E_200C_206E_206A_206E_202B_200C_206E_206A_200F_202E_202E(_pauser, (IEnumerable)immutableHashSet2.Except(_configuration.Advanced.AutomatonTweakExclusions)); } public void Dispose() { - _framework.Update -= OnFrameworkUpdate; + _206D_200C_202A_206D_202A_202E_202A_200E_206F_206B_202A_200B_200E_206A_206C_206F_206D_202A_200E_206A_206A_206B_202A_202B_206D_206E_202C_200F_206C_202D_202E_206F_202A_202C_202A_206F_200E_202C_200F_202C_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); _questController.AutomationTypeChanged -= OnAutomationTypeChanged; - RestoreConflictingTweaks(); + _202D_202A_200C_206A_200C_206F_200C_200C_202C_202D_200B_206F_206A_202A_200C_200F_206C_202A_202D_206E_206E_206C_206D_200E_202E_206A_206F_200D_202D_200C_202B_202E_200D_200D_206B_202C_206B_202A_202B_206C_202E(_pauser); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static PluginFeaturePauser _202A_202E_206A_206E_206C_206E_206D_206C_200F_202A_202E_202A_200C_206D_206D_200F_206C_202E_200B_206F_202E_206C_202B_202D_202C_202A_206A_202E_200B_200C_202C_206B_200B_202B_206C_200C_202A_206F_202C_202C_202E(IDalamudPluginInterface P_0, string P_1, string P_2, ILogger P_3) + { + return new PluginFeaturePauser(P_0, P_1, P_2, P_3); + } + + static void _202E_200F_200F_200B_206A_200C_202A_206F_202B_200E_206B_200B_200D_200C_206D_202C_200E_202D_200E_200D_202E_202E_206E_202C_206A_200D_206F_206C_200D_200B_206B_200E_202B_200B_202C_202A_206C_206C_202B_206B_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update += P_1; + } + + static uint _200B_202B_202B_202C_200E_202D_200E_202A_206E_200E_206C_202A_206E_200F_200D_202B_202B_200D_202A_200D_206A_202C_200C_206D_202E_202C_202B_206C_202C_206B_202B_206A_202E_202B_206E_200E_206E_200F_206C_202C_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static void _206A_202D_200F_206E_206D_206C_202B_202B_202E_206D_206E_200D_202C_202E_200E_206C_206D_200D_206E_200F_206D_206C_200D_206B_202A_202E_206C_202D_200C_206D_202D_206B_200B_202E_202D_202A_202B_206C_202C_200E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static void _206C_202B_200C_206A_200C_206B_206F_202C_200F_202B_206C_206F_206D_200C_200F_202D_202E_200B_206D_202E_206E_200E_200E_202E_202E_206D_200D_200B_202B_200E_200C_206E_206A_206E_202B_200C_206E_206A_200F_202E_202E(PluginFeaturePauser P_0, IEnumerable P_1) + { + P_0.Disable(P_1); + } + + static void _206D_200C_202A_206D_202A_202E_202A_200E_206F_206B_202A_200B_200E_206A_206C_206F_206D_202A_200E_206A_206A_206B_202A_202B_206D_206E_202C_200F_206C_202D_202E_206F_202A_202C_202A_206F_200E_202C_200F_202C_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update -= P_1; + } + + static void _202D_202A_200C_206A_200C_206F_200C_200C_202C_202D_200B_206F_206A_202A_200C_200F_206C_202A_202D_206E_206E_206C_206D_200E_202E_206A_206F_200D_202D_200C_202B_202E_200D_200D_206B_202C_206B_202A_202B_206C_202E(PluginFeaturePauser P_0) + { + P_0.Dispose(); + } + + static void _202E_200B_200B_206D_202E_202B_202E_200E_206C_202A_206E_202B_202C_202A_200E_202E_200D_202D_206F_202D_200F_202D_202E_206E_200B_200E_202B_200C_202D_202E_200B_200E_200C_202B_206F_200F_206F_206D_206C_206F_202E(PluginFeaturePauser P_0) + { + P_0.Restore(); } } diff --git a/Questionable/Questionable.External/BossModIpc.cs b/Questionable/Questionable.External/BossModIpc.cs index 3463eca4..2be170ff 100644 --- a/Questionable/Questionable.External/BossModIpc.cs +++ b/Questionable/Questionable.External/BossModIpc.cs @@ -1,57 +1,251 @@ using System; +using System.Collections.Frozen; using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.IO; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin; using Dalamud.Plugin.Ipc; using Dalamud.Plugin.Ipc.Exceptions; using Dalamud.Plugin.Services; +using LLib.GameData; +using Lumina.Excel; +using Lumina.Excel.Sheets; +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) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206C_206E_202E_202E_206F_200B_202C_200C_206E_200F_206C_202D_202B_206F_202E_202E_202B_206F_202E_202B_206C_202B_202C_200F_200C_200D_202D_202B_206D_206D_200B_200D_202B_200E_202E_206A_200E_200C_202C_202E_202E(typeof(Strategy).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200B_202E_202B_206F_206E_200B_200E_202E_202A_202A_206E_202E_206C_202D_200D_202A_202D_206A_206C_202C_200E_206A_202A_200B_202D_200E_202B_202D_202B_206D_202D_206E_206A_206C_200B_206E_202A_200C_206D_200D_202E(); + _200D_200D_206A_202E_206F_206B_200E_206A_200E_200C_200B_206C_206F_206B_206B_200E_202D_200E_202D_202E_200B_206F_202C_206D_206E_202C_206D_202D_206D_206D_202E_206B_206E_206B_202D_202B_200B_206F_200C_200E_202E(stringBuilder, global::_003CModule_003E._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(-1113697063)); + _200D_200D_206A_202E_206F_206B_200E_206A_200E_200C_200B_206C_206F_206B_206B_200E_202D_200E_202D_202E_200B_206F_202C_206D_206E_202C_206D_202D_206D_206D_202E_206B_206E_206B_202D_202B_200B_206F_200C_200E_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? (-1006362783) : (-1006362782)); + while (true) + { + int num2 = num; + int num3 = -1006362784; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1006362782; + break; + case 2: + _206F_202E_200E_202C_200D_206F_200E_202A_202D_206B_206D_200D_200D_202B_206E_202C_200D_206C_200B_202C_202C_202A_200D_202A_206F_200D_206D_200E_200D_200F_206E_206F_202E_206C_202B_206F_200B_206C_206C_206C_202E(stringBuilder, ' '); + num = -1006362783; + break; + case 1: + _206F_202E_200E_202C_200D_206F_200E_202A_202D_206B_206D_200D_200D_202B_206E_202C_200D_206C_200B_202C_202C_202A_200D_202A_206F_200D_206D_200E_200D_200F_206E_206F_202E_206C_202B_206F_200B_206C_206C_206C_202E(stringBuilder, '}'); + return _200B_202B_206B_206A_200C_206B_206C_200C_202D_206F_202E_206C_200E_206C_206C_206C_200D_206F_200E_202B_206F_200C_200B_206C_206E_200D_200B_206E_206F_200F_200B_202D_206D_202B_200B_206C_202E_206C_202B_206D_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206B_202E_206B_200D_206A_200D_206E_206E_200E_202D_200C_200B_206D_206B_200F_200B_200B_200B_206D_206D_200D_206C_200C_206B_202B_206B_206F_202B_200D_202B_202A_202A_206B_202A_202D_202A_206A_202A_200C_202D_202E(); + _200D_200D_206A_202E_206F_206B_200E_206A_200E_200C_200B_206C_206F_206B_206B_200E_202D_200E_202D_202E_200B_206F_202C_206D_206E_202C_206D_202D_206D_206D_202E_206B_206E_206B_202D_202B_200B_206F_200C_200E_202E(builder, global::_003CModule_003E._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(-711254933)); + _202D_200F_200F_206C_206C_202B_206B_202B_200B_206E_206B_200E_206E_206D_200F_200E_202C_200D_206D_206E_206C_206F_200E_200D_206D_200F_206F_202B_206F_202E_202B_206B_206B_206E_200D_202B_200E_206A_202A_206B_202E(builder, (object)Module); + _200D_200D_206A_202E_206F_206B_200E_206A_200E_200C_200B_206C_206F_206B_206B_200E_202D_200E_202D_202E_200B_206F_202C_206D_206E_202C_206D_202D_206D_206D_202E_206B_206E_206B_202D_202B_200B_206F_200C_200E_202E(builder, global::_003CModule_003E._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(1653958727)); + _202D_200F_200F_206C_206C_202B_206B_202B_200B_206E_206B_200E_206E_206D_200F_200E_202C_200D_206D_206E_206C_206F_200E_200D_206D_200F_206F_202B_206F_202E_202B_206B_206B_206E_200D_202B_200E_206A_202A_206B_202E(builder, (object)Track); + _200D_200D_206A_202E_206F_206B_200E_206A_200E_200C_200B_206C_206F_206B_206B_200E_202D_200E_202D_202E_200B_206F_202C_206D_206E_202C_206D_202D_206D_206D_202E_206B_206E_206B_202D_202B_200B_206F_200C_200E_202E(builder, global::_003CModule_003E._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(-275794909)); + _202D_200F_200F_206C_206C_202B_206B_202B_200B_206E_206B_200E_206E_206D_200F_200E_202C_200D_206D_206E_206C_206F_200E_200D_206D_200F_206F_202B_206F_202E_202B_206B_206B_206E_200D_202B_200E_206A_202A_206B_202E(builder, (object)Option); + return true; + } + + [CompilerGenerated] + public bool Equals(Strategy? other) + { + int num = (((object)this == other) ? (-511900174) : (-511900175)); + while (true) + { + int num2 = num; + int num3 = -511900170; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = ((!EqualityComparer.Default.Equals(Track, other.Track)) ? (-511900172) : (-511900173)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(Module, other.Module)) ? (-511900172) : (-511900169)); + break; + case 2: + return false; + case 5: + return EqualityComparer.Default.Equals(Option, other.Option); + case 4: + return true; + case 7: + num = (((object)other == null) ? (-511900172) : (-511900170)); + break; + case 3: + num = -511900175; + break; + case 0: + num = ((!_200F_206D_202A_200F_200B_200C_206C_202B_200E_200F_202E_206B_202E_200F_202C_202E_206A_206B_206C_200C_206C_202D_206F_200E_200E_200B_206A_206B_202A_206D_200C_206D_202C_200F_206B_202D_202A_206E_200C_206B_202E(EqualityContract, other.EqualityContract)) ? (-511900172) : (-511900176)); + break; + } + } + } + + bool IEquatable.Equals(Strategy? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206C_206E_202E_202E_206F_200B_202C_200C_206E_200F_206C_202D_202B_206F_202E_202E_202B_206F_202E_202B_206C_202B_202C_200F_200C_200D_202D_202B_206D_206D_200B_200D_202B_200E_202E_206A_200E_200C_202C_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200B_202E_202B_206F_206E_200B_200E_202E_202A_202A_206E_202E_206C_202D_200D_202A_202D_206A_206C_202C_200E_206A_202A_200B_202D_200E_202B_202D_202B_206D_202D_206E_206A_206C_200B_206E_202A_200C_206D_200D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200D_200D_206A_202E_206F_206B_200E_206A_200E_200C_200B_206C_206F_206B_206B_200E_202D_200E_202D_202E_200B_206F_202C_206D_206E_202C_206D_202D_206D_206D_202E_206B_206E_206B_202D_202B_200B_206F_200C_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206F_202E_200E_202C_200D_206F_200E_202A_202D_206B_206D_200D_200D_202B_206E_202C_200D_206C_200B_202C_202C_202A_200D_202A_206F_200D_206D_200E_200D_200F_206E_206F_202E_206C_202B_206F_200B_206C_206C_206C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_202B_206B_206A_200C_206B_206C_200C_202D_206F_202E_206C_200E_206C_206C_206C_200D_206F_200E_202B_206F_200C_200B_206C_206E_200D_200B_206E_206F_200F_200B_202D_206D_202B_200B_206C_202E_206C_202B_206D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206B_202E_206B_200D_206A_200D_206E_206E_200E_202D_200C_200B_206D_206B_200F_200B_200B_200B_206D_206D_200D_206C_200C_206B_202B_206B_206F_202B_200D_202B_202A_202A_206B_202A_202D_202A_206A_202A_200C_202D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202D_200F_200F_206C_206C_202B_206B_202B_200B_206E_206B_200E_206E_206D_200F_200E_202C_200D_206D_206E_206C_206F_200E_200D_206D_200F_206F_202B_206F_202E_202B_206B_206B_206E_200D_202B_200E_206A_202A_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200F_206D_202A_200F_200B_200C_206C_202B_200E_200F_202E_206B_202E_200F_202C_202E_206A_206B_206C_200C_206C_202D_206F_200E_200E_200B_206A_206B_202A_206D_200C_206D_202C_200F_206B_202D_202A_206E_200C_206B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + public enum EPreset { - Overworld, - QuestBattle + Active, + Passive } - private sealed class PresetDefinition + public enum EVariant { - public string Name { get; } + VBM, + BMR + } - public string Content { get; } + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); - public PresetDefinition(string name, string fileName) + public static Func _003C_003E9__25_0; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003CDetectVariantFromPlugins_003Eb__25_0(IExposedPlugin p) { - Name = name; - Content = LoadPreset(fileName); - base._002Ector(); + string text = _202E_202B_202D_202D_202B_200E_200E_200D_202E_206D_206C_200D_206C_206E_202B_200E_206E_200F_202B_200B_200D_206F_206B_202A_202C_206C_200F_206C_206E_202C_202B_206A_202D_206A_202E_206D_202A_200D_200F_206E_202E(p); + int num = (_206C_206F_202D_202D_206B_200F_202A_202B_202A_200B_202E_200C_200C_200B_206E_202A_202C_200D_202B_206D_206D_202D_200F_206A_200C_200B_200F_202A_202D_202C_200E_206E_202A_206B_202D_206B_206E_206C_202D_200E_202E(text, global::_003CModule_003E._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(865869314)) ? 173790898 : 173790900); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = 173790902; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + flag = false; + num = 173790903; + break; + case 1: + num = ((!flag) ? 173790899 : 173790902); + break; + case 2: + num = ((!_206C_206F_202D_202D_206B_200F_202A_202B_202A_200B_202E_200C_200C_200B_206E_202A_202C_200D_202B_206D_206D_202D_200F_206A_200C_200B_200F_202A_202D_202C_200E_206E_202A_206B_202D_206B_206E_206C_202D_200E_202E(text, global::_003CModule_003E._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(-1914663527))) ? 173790896 : 173790898); + break; + case 0: + return _206B_202B_202D_206E_202E_202A_206A_202B_206B_206E_206C_202E_206A_202E_202E_202A_202D_200D_202D_206D_206A_200F_206A_206A_206B_206F_206F_206C_200E_206A_200E_202E_206E_200C_200C_206B_200B_200D_200C_200D_202E(p); + case 4: + flag = true; + num = 173790903; + break; + case 3: + num = 173790900; + break; + case 5: + return false; + } + } } - private static string LoadPreset(string name) + static string _202E_202B_202D_202D_202B_200E_200E_200D_202E_206D_206C_200D_206C_206E_202B_200E_206E_200F_202B_200B_200D_206F_206B_202A_202C_206C_200F_206C_206E_202C_202B_206A_202D_206A_202E_206D_202A_200D_200F_206E_202E(IExposedPlugin P_0) { - 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(); + return P_0.InternalName; + } + + static bool _206C_206F_202D_202D_206B_200F_202A_202B_202A_200B_202E_200C_200C_200B_206E_202A_202C_200D_202B_206D_206D_202D_200F_206A_200C_200B_200F_202A_202D_202C_200E_206E_202A_206B_202D_206B_206E_206C_202D_200E_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static bool _206B_202B_202D_206E_202E_202A_206A_202B_206B_206E_206C_202E_206A_202E_202E_202A_202D_200D_202D_206D_206A_200F_206A_206A_206B_206F_206F_206C_200E_206A_200E_202E_206E_200C_200C_206B_200B_200D_200C_200D_202E(IExposedPlugin P_0) + { + return P_0.IsLoaded; } } - 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 +253,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,22 +265,202 @@ 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 readonly EVariant? _variant; + + private bool _activeShellCreated; + + private bool _passiveShellCreated; + + private bool _soloDutyZoneConfigured; + + private static readonly Strategy[] AiStrategies = new Strategy[14] { + new Strategy(global::_003CModule_003E._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(-1244564446), global::_003CModule_003E._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(1856886268), global::_003CModule_003E._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(711080410)), + new Strategy(global::_003CModule_003E._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(-1498967925), global::_003CModule_003E._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(-82449896), global::_003CModule_003E._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(264166607)), + new Strategy(global::_003CModule_003E._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(-835043382), global::_003CModule_003E._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(1036997362), global::_003CModule_003E._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(-1736014094)), + new Strategy(global::_003CModule_003E._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(1591319871), global::_003CModule_003E._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(-1390442931), global::_003CModule_003E._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(711080410)), + new Strategy(global::_003CModule_003E._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(-1244564446), global::_003CModule_003E._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(-818029721), global::_003CModule_003E._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(711080410)), + new Strategy(global::_003CModule_003E._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(1658570734), global::_003CModule_003E._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(1480455440), global::_003CModule_003E._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(421771003)), + new Strategy(global::_003CModule_003E._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(-2122341489), global::_003CModule_003E._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(1302340146), global::_003CModule_003E._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(264166607)), + new Strategy(global::_003CModule_003E._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(124779131), global::_003CModule_003E._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(-1612425008), global::_003CModule_003E._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(1439152729)), + new Strategy(global::_003CModule_003E._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(-1067443757), global::_003CModule_003E._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(296448122), global::_003CModule_003E._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(421771003)), + new Strategy(global::_003CModule_003E._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(-1289434147), global::_003CModule_003E._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(-224375461), global::_003CModule_003E._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(264166607)), + new Strategy(global::_003CModule_003E._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(-1289434147), global::_003CModule_003E._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(893010687), global::_003CModule_003E._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(421771003)), + new Strategy(global::_003CModule_003E._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(-2113838185), global::_003CModule_003E._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(490418655), global::_003CModule_003E._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(421771003)), + new Strategy(global::_003CModule_003E._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(-521202591), global::_003CModule_003E._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(296448122), global::_003CModule_003E._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(711080410)), + new Strategy(global::_003CModule_003E._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(630279450), global::_003CModule_003E._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(253848622), global::_003CModule_003E._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(543856095)) + }; + + private static readonly Strategy[] ActivePositioningStrategies = new Strategy[2] + { + new Strategy(global::_003CModule_003E._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(-434142577), global::_003CModule_003E._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(988353471), global::_003CModule_003E._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(-957874465)), + new Strategy(global::_003CModule_003E._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(1396333290), global::_003CModule_003E._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(-359200721), global::_003CModule_003E._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(-1051715723)) + }; + + private static readonly FrozenDictionary JobModules = new Dictionary + { + { + EClassJob.Paladin, + global::_003CModule_003E._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(1609942880) + }, + { + EClassJob.Monk, + global::_003CModule_003E._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(-1942292193) + }, + { + EClassJob.Dragoon, + global::_003CModule_003E._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(908716766) + }, + { + EClassJob.Bard, + global::_003CModule_003E._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(1968328073) + }, + { + EClassJob.WhiteMage, + global::_003CModule_003E._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(-1884232256) + }, + { + EClassJob.BlackMage, + global::_003CModule_003E._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(-2079870458) + }, + { + EClassJob.Summoner, + global::_003CModule_003E._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(195091335) + }, + { + EClassJob.Scholar, + global::_003CModule_003E._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(1810140920) + }, + { + EClassJob.Ninja, + global::_003CModule_003E._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(1660414167) + }, + { + EClassJob.Machinist, + global::_003CModule_003E._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(-338030362) + }, + { + EClassJob.DarkKnight, + global::_003CModule_003E._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(235491815) + }, + { + EClassJob.Astrologian, + global::_003CModule_003E._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(2141215490) + }, + { + EClassJob.Samurai, + global::_003CModule_003E._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(-1572470863) + }, + { + EClassJob.RedMage, + global::_003CModule_003E._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(-497169601) + }, + { + EClassJob.Gunbreaker, + global::_003CModule_003E._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(-1209630777) + }, + { + EClassJob.Dancer, + global::_003CModule_003E._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(-2020237514) + }, + { + EClassJob.Reaper, + global::_003CModule_003E._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(-1665453088) + }, + { + EClassJob.Sage, + global::_003CModule_003E._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(-653850318) + }, + { + EClassJob.Viper, + global::_003CModule_003E._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(1478612007) + }, + { + EClassJob.Pictomancer, + global::_003CModule_003E._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(2012623894) + } + }.ToFrozenDictionary(); + + public EVariant? Variant => _variant; + + [MethodImpl(MethodImplOptions.NoInlining)] + 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; - _getPreset = pluginInterface.GetIpcSubscriber("BossMod.Presets.Get"); - _createPreset = pluginInterface.GetIpcSubscriber("BossMod.Presets.Create"); - _setPreset = pluginInterface.GetIpcSubscriber("BossMod.Presets.SetActive"); - _clearPreset = pluginInterface.GetIpcSubscriber("BossMod.Presets.ClearActive"); + _framework = framework; + _logger = logger; + _getPreset = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(1182139829)); + _createPreset = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-453082255)); + _setPreset = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(1297770467)); + _clearPreset = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(2001823876)); + _addTransientStrategy = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(1608401772)); + _clearTransientStrategies = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(160221154)); + _deletePreset = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-1768525951)); + _setConfig = pluginInterface.GetIpcSubscriber, bool, List>(global::_003CModule_003E._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(-2005795509)); + _variant = DetectVariantFromPlugins(); + _200D_200D_202D_200E_202A_202E_200F_202C_206D_206B_202E_202C_200C_206E_206F_202D_206D_200B_206A_202B_206D_206E_206C_202D_202E_206C_202A_206D_200C_200B_206F_206A_206E_200B_200F_202C_202E_202B_202A_206A_202E(_framework, (System.Action)([MethodImpl(MethodImplOptions.NoInlining)] () => + { + int num = (IsSupported() ? 695015772 : 695015775); + while (true) + { + int num2 = num; + int num3 = 695015773; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 2: + return; + case 1: + try + { + _deletePreset.InvokeFunc(global::_003CModule_003E._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(1458411767)); + } + catch (IpcError) + { + } + try + { + _deletePreset.InvokeFunc(global::_003CModule_003E._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(467221712)); + } + catch (IpcError) + { + } + try + { + _deletePreset.InvokeFunc(global::_003CModule_003E._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(690034217)); + return; + } + catch (IpcError) + { + return; + } + } + continue; + IL_0046: + num = 695015775; + } + })); } public bool IsSupported() { try { - return _getPreset.HasFunction; + return _202E_202C_202A_200C_200F_206A_200E_206B_200C_200E_206D_200C_202B_206B_202D_202C_202A_202D_202B_202C_206E_202B_206E_206F_206E_202E_206E_206D_202D_200D_206C_200E_206A_200D_202A_206E_200C_206E_202E_202A_202E((ICallGateSubscriber)_getPreset); } catch (IpcError) { @@ -90,61 +468,758 @@ internal sealed class BossModIpc } } - public void SetPreset(EPreset preset) + [MethodImpl(MethodImplOptions.NoInlining)] + private EVariant? DetectVariantFromPlugins() { - PresetDefinition presetDefinition = PresetDefinitions[preset]; - if (_getPreset.InvokeFunc(presetDefinition.Name) == null) + IExposedPlugin exposedPlugin = _202E_202D_200E_202C_206B_206B_202B_206F_206D_200F_200C_206F_202D_202E_206B_202D_200F_200F_200C_206C_200C_206A_200E_202B_202C_200F_206F_202C_200D_200D_202C_206E_200D_206C_200B_200B_202C_206E_202C_200F_202E(_pluginInterface).FirstOrDefault([MethodImpl(MethodImplOptions.NoInlining)] (IExposedPlugin p) => { - _createPreset.InvokeFunc(presetDefinition.Content, arg2: true); + string text = _003C_003Ec._202E_202B_202D_202D_202B_200E_200E_200D_202E_206D_206C_200D_206C_206E_202B_200E_206E_200F_202B_200B_200D_206F_206B_202A_202C_206C_200F_206C_206E_202C_202B_206A_202D_206A_202E_206D_202A_200D_200F_206E_202E(p); + int num7 = (_003C_003Ec._206C_206F_202D_202D_206B_200F_202A_202B_202A_200B_202E_200C_200C_200B_206E_202A_202C_200D_202B_206D_206D_202D_200F_206A_200C_200B_200F_202A_202D_202C_200E_206E_202A_206B_202D_206B_206E_206C_202D_200E_202E(text, global::_003CModule_003E._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(865869314)) ? 173790898 : 173790900); + bool flag = default(bool); + while (true) + { + int num8 = num7; + int num9 = 173790902; + int num10 = num8; + switch ((num10 | num9) - (num10 & num9)) + { + case 6: + flag = false; + num7 = 173790903; + break; + case 1: + num7 = ((!flag) ? 173790899 : 173790902); + break; + case 2: + num7 = ((!_003C_003Ec._206C_206F_202D_202D_206B_200F_202A_202B_202A_200B_202E_200C_200C_200B_206E_202A_202C_200D_202B_206D_206D_202D_200F_206A_200C_200B_200F_202A_202D_202C_200E_206E_202A_206B_202D_206B_206E_206C_202D_200E_202E(text, global::_003CModule_003E._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(-1914663527))) ? 173790896 : 173790898); + break; + case 0: + return _003C_003Ec._206B_202B_202D_206E_202E_202A_206A_202B_206B_206E_206C_202E_206A_202E_202E_202A_202D_200D_202D_206D_206A_200F_206A_206A_206B_206F_206F_206C_200E_206A_200E_202E_206E_200C_200C_206B_200B_200D_200C_200D_202E(p); + case 4: + flag = true; + num7 = 173790903; + break; + case 3: + num7 = 173790900; + break; + case 5: + return false; + } + } + }); + int num = ((exposedPlugin != null) ? 1847840403 : 1847840406); + int value; + while (true) + { + int num2 = num; + int num3 = 1847840407; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 4: + num = (_206C_200B_206C_206E_202C_202D_200F_202E_206F_200C_206B_202D_202B_200C_202E_200E_202E_200D_202C_200C_206D_200D_206E_206E_202C_202E_200D_200D_200C_206B_202C_202D_202A_206A_206A_202B_206B_202B_206F_206A_202E(_200B_200B_202C_206C_202E_202B_206F_206B_200F_206B_200E_200B_206F_202B_202A_206C_200B_202B_202E_200C_202A_200B_206A_202D_200E_206D_200E_202A_202E_202E_206C_206C_206E_202C_206D_200B_200F_202E_206B_200F_202E(exposedPlugin), global::_003CModule_003E._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(203874627)) ? 1847840404 : 1847840405); + continue; + case 1: + return null; + case 0: + num = 1847840406; + continue; + case 2: + value = 0; + break; + case 3: + value = 1; + break; + } + break; } - _setPreset.InvokeFunc(presetDefinition.Name); + return (EVariant)value; } - public void ClearPreset() + [MethodImpl(MethodImplOptions.NoInlining)] + private void EnsureShellPresetExists(EPreset preset) { - _clearPreset.InvokeFunc(); + int num = ((preset == EPreset.Active) ? (-1099553100) : (-1099553099)); + ref bool reference = default(ref bool); + while (true) + { + int num2 = num; + int num3 = -1099553100; + int num4 = num2; + ref bool reference2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -1099553099; + break; + case 0: + reference2 = ref _activeShellCreated; + goto IL_0064; + case 2: + return; + case 1: + reference2 = ref _passiveShellCreated; + goto IL_0064; + case 4: + { + try + { + string presetName = GetPresetName(preset); + string arg = _200C_206E_202E_200B_200C_206D_206B_200F_206C_202B_202C_206B_206F_202E_202E_200E_202D_202B_206F_206F_200D_206B_202B_200C_202B_202B_206D_200F_206E_206E_202A_202E_206D_206E_200D_202D_200C_202A_200D_206E_202E(global::_003CModule_003E._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(433807349), presetName, global::_003CModule_003E._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(1542558103)); + _createPreset.InvokeFunc(arg, arg2: true); + reference = true; + return; + } + catch (IpcError ipcError) + { + _202A_202A_202E_202D_206B_206B_206F_200D_200E_206D_202D_200B_200F_200E_202C_200F_200F_200D_200C_206A_202E_206F_200E_206C_206A_200D_206B_200E_202E_202E_202C_206A_200E_200B_200B_202E_202D_200D_206B_202D_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(1779772174), new object[1] { preset }); + return; + } + } + IL_0064: + reference = ref reference2; + num = ((!reference) ? (-1099553104) : (-1099553098)); + break; + } + } } - public void EnableAi(bool passive) + [MethodImpl(MethodImplOptions.NoInlining)] + 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[] array = AiStrategies; + int num = 0; + int num2 = -963238380; + uint? num8 = default(uint?); + string value = default(string); + EClassJob eClassJob = default(EClassJob); + while (true) + { + int num3 = num2; + int num4 = -963238380; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + EClassJob? obj; + EClassJob? eClassJob2; + switch (num6 - (num7 + num7)) + { + case 3: + { + IPlayerCharacter playerCharacter = _202D_202C_200F_206C_200F_200D_202D_200D_206E_200B_206F_200F_200E_202A_202D_202D_200B_200C_202B_200F_200B_202D_200C_200B_206E_202B_206A_206E_202B_200E_206E_200E_200B_206F_206A_200E_206D_200E_202E_206D_202E(_objectTable); + num8 = ((playerCharacter != null) ? new uint?(_202C_200F_200E_200F_202D_206B_200C_202E_200B_200B_202A_202B_206A_202B_202C_202C_206E_206E_200D_202B_202D_206E_202C_200F_202B_202D_206C_206E_202C_202B_200D_206E_202B_206F_200F_206C_200D_200C_206E_206E_202E((ICharacter)playerCharacter).RowId) : ((uint?)null)); + num2 = (num8.HasValue ? (-963238375) : (-963238376)); + break; + } + case 0: + num2 = ((num < array.Length) ? (-963238370) : (-963238393)); + break; + case 14: + AddStrategy(presetName, global::_003CModule_003E._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(-2129436198), global::_003CModule_003E._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(-634884415), global::_003CModule_003E._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(1292691051)); + return; + case 13: + obj = (EClassJob)num8.GetValueOrDefault(); + goto IL_013c; + case 16: + AddStrategy(presetName, value, global::_003CModule_003E._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(-634884415), global::_003CModule_003E._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(-634884415)); + AddStrategy(presetName, value, global::_003CModule_003E._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(-812999709), global::_003CModule_003E._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(-1199747555)); + num2 = ((eClassJob == EClassJob.Monk) ? (-963238384) : (-963238379)); + break; + case 9: + AddStrategy(presetName, value, global::_003CModule_003E._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(-1881691473), global::_003CModule_003E._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(264166607)); + num2 = -963238384; + break; + case 19: + num2 = ((preset == EPreset.Active) ? (-963238381) : (-963238382)); + break; + case 10: + { + Strategy strategy2 = array[num]; + AddStrategy(presetName, strategy2.Module, strategy2.Track, strategy2.Option); + int num12 = num; + num4 = 1; + num5 = num12; + num = (num5 | num4) + (num5 & num4); + num2 = -963238380; + break; + } + case 18: + _200D_202C_202E_202C_202E_206F_206E_202D_200E_200B_206D_200C_206B_206F_206E_202C_202E_202C_202A_200F_206D_202D_200E_206A_206D_202C_202A_206D_202D_202A_200E_200B_206E_202A_206D_206B_202B_206B_206C_202C_202E((ILogger)_logger, global::_003CModule_003E._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(1680614407), new object[1] { eClassJob }); + num2 = -963238373; + break; + case 2: + AddStrategy(presetName, value, global::_003CModule_003E._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(-330636953), global::_003CModule_003E._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(-129485839)); + return; + case 17: + num2 = -963238380; + break; + case 7: + array = ActivePositioningStrategies; + num = 0; + num2 = -963238383; + break; + case 11: + { + Strategy strategy = array[num]; + AddStrategy(presetName, strategy.Module, strategy.Track, strategy.Option); + int num9 = num; + num4 = 1; + num5 = num9; + int num10 = num5 ^ num4; + int num11 = num5 & num4; + num = num10 + (num11 + num11); + num2 = -963238383; + break; + } + case 1: + num2 = ((eClassJob == EClassJob.Sage) ? (-963238384) : (-963238371)); + break; + case 12: + obj = null; + goto IL_013c; + case 15: + return; + case 4: + num2 = ((eClassJob != EClassJob.Pictomancer) ? (-963238373) : (-963238378)); + break; + case 5: + num2 = ((num < array.Length) ? (-963238369) : (-963238377)); + break; + case 8: + num2 = ((eClassJob != EClassJob.Warrior) ? (-963238394) : (-963238374)); + break; + case 6: + return; + IL_013c: + eClassJob2 = obj; + eClassJob = eClassJob2.GetValueOrDefault(); + eClassJob = _206E_200C_202C_202B_200E_206F_206D_202A_206A_206D_200E_202C_200B_200E_206B_202C_200B_200C_206A_202B_206B_200D_206F_206E_206F_206E_200E_206A_206D_202C_202A_206F_200B_202D_206D_202C_202D_206C_200F_206F_202E(eClassJob); + num2 = ((!JobModules.TryGetValue(eClassJob, out value)) ? (-963238372) : (-963238396)); + break; + } + } } + [MethodImpl(MethodImplOptions.NoInlining)] + private void ClearTransientStrategies(EPreset preset) + { + try + { + _clearTransientStrategies.InvokeFunc(GetPresetName(preset)); + } + catch (IpcError ipcError) + { + _202A_202A_202E_202D_206B_206B_206F_200D_200E_206D_202D_200B_200F_200E_202C_200F_200F_200D_200C_206A_202E_206F_200E_206C_206A_200D_206B_200E_202E_202E_202C_206A_200E_200B_200B_202E_202D_200D_206B_202D_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-731019355), new object[1] { preset }); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void AddStrategy(string presetName, string module, string track, string option) + { + try + { + _addTransientStrategy.InvokeFunc(presetName, module, track, option); + } + catch (IpcError ipcError) + { + _202A_202A_202E_202D_206B_206B_206F_200D_200E_206D_202D_200B_200F_200E_202C_200F_200F_200D_200C_206A_202E_206F_200E_206C_206A_200D_206B_200E_202E_202E_202C_206A_200E_200B_200B_202E_202D_200D_206B_202D_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-608719873), new object[3] { module, track, option }); + } + } + + public void AddTransientStrategy(EPreset preset, string moduleType, string track, string value) + { + AddStrategy(GetPresetName(preset), moduleType, track, value); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void SetRangeStrategy(EPreset preset, bool isRanged) + { + AddTransientStrategy(preset, global::_003CModule_003E._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(-588423630), global::_003CModule_003E._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(-218764474), isRanged ? global::_003CModule_003E._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(1922879553) : global::_003CModule_003E._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(-713841942)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool EnableAi(EPreset preset) + { + EnsureShellPresetExists(preset); + ApplyTransientStrategies(preset); + try + { + _setPreset.InvokeFunc(GetPresetName(preset)); + } + catch (IpcError ipcError) + { + _202C_206B_202C_206C_206B_206E_206F_206D_206F_202B_206F_202C_200D_202E_206B_206C_202D_202D_202B_200F_206D_206C_206A_200E_206F_202A_200B_206D_206E_206F_200F_206D_206C_206F_202A_202E_206F_200F_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-1782533706), new object[2] + { + preset, + _200E_200E_200B_206A_206D_202D_200E_202A_206F_202A_206B_206C_200B_200C_206B_200F_206D_202C_206C_200D_206D_200C_200B_202E_206C_202B_206C_200E_206E_200C_206D_200B_200E_202B_202A_206A_206C_206C_202B_202C_202E((Exception)ipcError) + }); + return false; + } + string aiCommand = GetAiCommand(); + int num = ((aiCommand == null) ? 152671640 : 152671643); + while (true) + { + int num2 = num; + int num3 = 152671641; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_00a8; + case 1: + _202C_206B_202C_206C_206B_206E_206F_206D_206F_202B_206F_202C_200D_202E_206B_206C_202D_202D_202B_200F_206D_206C_206A_200E_206F_202A_200B_206D_206E_206F_200F_206D_206C_206F_202A_202E_206F_200F_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-1563817871), Array.Empty()); + return false; + case 2: + _200D_202C_202E_202C_202E_206F_206E_202D_200E_200B_206D_200C_206B_206F_206E_202C_202E_202C_202A_200F_206D_202D_200E_206A_206D_202C_202A_206D_202D_202A_200E_200B_206E_202A_206D_206B_202B_206B_206C_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-80338293), new object[3] { _variant, preset, aiCommand }); + _202B_200E_202C_206C_206B_200C_200B_202C_206C_200C_202B_206E_206B_202D_202B_200B_202B_200F_200F_206E_202A_206A_206A_206B_202E_206B_206A_206E_200D_202D_202A_206B_200C_202C_200B_206D_206A_206D_200C_206F_202E(_commandManager, _202B_206E_206F_202E_206C_206D_206A_200C_200B_200D_202C_206D_206B_206A_206F_206C_206D_200B_202D_206A_206E_202A_200D_200F_206C_200F_206E_206E_202B_200D_200B_200D_200D_200C_206B_200F_206C_200E_202A_206D_202E(aiCommand, global::_003CModule_003E._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(558838852))); + return true; + } + continue; + IL_00a8: + num = 152671643; + } + } + + public void EnableQuestBattleAi() + { + EnableAi(EPreset.Active); + ConfigureSoloDutyZone(); + } + + public void DisableQuestBattleAi() + { + ReleaseSoloDutyZone(); + DisableAi(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] public void DisableAi() { - _commandManager.ProcessCommand("/vbmai off"); - _commandManager.ProcessCommand("/vbm cfg ZoneModuleConfig EnableQuestBattles false"); - ClearPreset(); + string aiCommand = GetAiCommand(); + int num = ((aiCommand == null) ? (-261406571) : (-261406570)); + while (true) + { + int num2 = num; + int num3 = -261406569; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -261406570; + break; + case 1: + _200D_202C_202E_202C_202E_206F_206E_202D_200E_200B_206D_200C_206B_206F_206E_202C_202E_202C_202A_200F_206D_202D_200E_206A_206D_202C_202A_206D_202D_202A_200E_200B_206E_202A_206D_206B_202B_206B_206C_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-1246132774), new object[1] { aiCommand }); + _202B_200E_202C_206C_206B_200C_200B_202C_206C_200C_202B_206E_206B_202D_202B_200B_202B_200F_200F_206E_202A_206A_206A_206B_202E_206B_206A_206E_200D_202D_202A_206B_200C_202C_200B_206D_206A_206D_200C_206F_202E(_commandManager, _202B_206E_206F_202E_206C_206D_206A_200C_200B_200D_202C_206D_206B_206A_206F_206C_206D_200B_202D_206A_206E_202A_200D_200F_206C_200F_206E_206E_202B_200D_200B_200D_200D_200C_206B_200F_206C_200E_202A_206D_202E(aiCommand, global::_003CModule_003E._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(1070453685))); + num = -261406571; + break; + case 2: + ClearTransientStrategies(EPreset.Active); + ClearTransientStrategies(EPreset.Passive); + try + { + _clearPreset.InvokeFunc(); + return; + } + catch (IpcError ipcError) + { + _202A_202A_202E_202D_206B_206B_206F_200D_200E_206D_202D_200B_200F_200E_202C_200F_200F_200D_200C_206A_202E_206F_200E_206C_206A_200D_206B_200E_202E_202E_202C_206A_200E_200B_200B_202E_202D_200D_206B_202D_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(1107711478), Array.Empty()); + return; + } + } + } } public bool IsConfiguredToRunSoloInstance(ElementId questId, SinglePlayerDutyOptions? dutyOptions) { - if (!IsSupported()) + int num = (IsSupported() ? 676961928 : 676961925); + SinglePlayerDutyEntry[] value = default(SinglePlayerDutyEntry[]); + byte index = default(byte); + TerritoryData.ContentFinderConditionData contentFinderConditionData = default(TerritoryData.ContentFinderConditionData); + QuestId questId2 = default(QuestId); + while (true) { - return false; + int num2 = num; + int num3 = 676961921; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num7; + ushort key; + switch (num5 - (num6 + num6)) + { + case 12: + return false; + case 8: + return value.Any(delegate(SinglePlayerDutyEntry e) + { + int num8 = ((e.Index != index) ? 15909539 : 15909536); + while (true) + { + int num9 = num8; + int num10 = 15909538; + int num11 = num9; + int num12 = num11 + num10; + int num13 = num11 & num10; + switch (num12 - (num13 + num13)) + { + case 1: + return false; + case 2: + return e.Enabled; + case 0: + goto IL_0057; + } + continue; + IL_0057: + num8 = 15909536; + } + }); + case 3: + return false; + case 4: + return false; + case 13: + num = ((!_configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Contains(contentFinderConditionData.ContentFinderConditionId)) ? 676961923 : 676961924); + break; + case 6: + num = ((!_configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Contains(contentFinderConditionData.ContentFinderConditionId)) ? 676961932 : 676961931); + break; + case 7: + num = 676961925; + break; + case 9: + num = (_configuration.SinglePlayerDuties.RunSoloInstancesWithBossMod ? 676961935 : 676961920); + break; + case 5: + return true; + case 1: + return false; + case 11: + num7 = 0; + goto IL_01b1; + case 10: + return false; + case 14: + index = (byte)((dutyOptions != null) ? _206F_200E_202A_200F_202D_200C_202C_200E_206C_202A_200C_200D_200C_206B_202C_202B_202B_200F_200D_202D_202C_206D_200F_206C_202E_200C_206C_200E_206E_206F_206A_206C_202A_206F_200C_202A_200D_206B_200B_200F_202E(dutyOptions) : 0); + num = (_territoryData.TryGetContentFinderConditionForSoloInstance(questId, index, out contentFinderConditionData) ? 676961927 : 676961933); + break; + case 0: + num7 = _206F_206E_202C_206B_202B_206C_200E_202C_200D_200C_206F_206A_200F_202B_202A_200C_202E_206B_200F_206C_202D_202C_206B_202E_202B_206E_206B_202C_200B_206C_206A_206D_206D_206D_202E_206D_200D_200B_200E_200D_202E((ElementId)questId2); + goto IL_01b1; + case 2: + { + questId2 = questId as QuestId; + num = (((object)questId2 != null) ? 676961921 : 676961930); + break; + } + IL_01b1: + key = (ushort)num7; + num = ((!DutyRegistry.SinglePlayerDuties.TryGetValue(key, out value)) ? 676961922 : 676961929); + break; + } } - if (!_configuration.SinglePlayerDuties.RunSoloInstancesWithBossMod) + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Dispose() + { + ReleaseSoloDutyZone(); + try { - return false; + _deletePreset.InvokeFunc(global::_003CModule_003E._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(467221712)); } - if (dutyOptions == null) + catch (IpcError) { - dutyOptions = new SinglePlayerDutyOptions(); } - if (!_territoryData.TryGetContentFinderConditionForSoloInstance(questId, dutyOptions.Index, out TerritoryData.ContentFinderConditionData contentFinderConditionData)) + try { - return false; + _deletePreset.InvokeFunc(global::_003CModule_003E._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(-159131530)); } - if (_configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Contains(contentFinderConditionData.ContentFinderConditionId)) + catch (IpcError) { - return false; } - if (_configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Contains(contentFinderConditionData.ContentFinderConditionId)) + _activeShellCreated = false; + _passiveShellCreated = false; + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private string? GetAiCommand() + { + int num = (_variant.HasValue ? 597010869 : 597010868); + while (true) { - return true; + int num2 = num; + int num3 = 597010871; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 597010868; + break; + case 2: + num = ((_variant == EVariant.BMR) ? 597010867 : 597010870); + break; + case 4: + return global::_003CModule_003E._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(1823552470); + case 1: + return global::_003CModule_003E._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(-329487653); + case 3: + _202C_206B_202C_206C_206B_206E_206F_206D_206F_202B_206F_202C_200D_202E_206B_206C_202D_202D_202B_200F_206D_206C_206A_200E_206F_202A_200B_206D_206E_206F_200F_206D_206C_206F_202A_202E_206F_200F_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-1900049298), Array.Empty()); + return null; + } } - return dutyOptions.Enabled; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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); + int num2 = ((list2 == null) ? (-1683933139) : (-1683933137)); + while (true) + { + int num3 = num2; + int num4 = -1683933138; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 2: + _202C_206B_202C_206C_206B_206E_206F_206D_206F_202B_206F_202C_200D_202E_206B_206C_202D_202D_202B_200F_206D_206C_206A_200E_206F_202A_200B_206D_206E_206F_200F_206D_206C_206F_202A_202E_206F_200F_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-626314783), new object[4] + { + section, + key, + value, + _200F_202C_206C_200F_206C_206B_206A_206F_200F_206F_202D_200B_200B_202B_200B_200B_206E_202A_202D_200E_202A_200E_200D_200F_206A_202E_202B_200C_202B_202C_206A_206E_200D_200F_206E_200E_200B_206A_202C_200C_202E(global::_003CModule_003E._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(495186777), (IEnumerable)list2) + }); + num2 = -1683933139; + break; + case 1: + num2 = ((list2.Count <= 0) ? (-1683933139) : (-1683933140)); + break; + case 0: + num2 = -1683933137; + break; + case 3: + return; + } + } + } + catch (IpcError ipcError) + { + _202A_202A_202E_202D_206B_206B_206F_200D_200E_206D_202D_200B_200F_200E_202C_200F_200F_200D_200C_206A_202E_206F_200E_206C_206A_200D_206B_200E_202E_202E_202C_206A_200E_200B_200B_202E_202D_200D_206B_202D_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(353123351), new object[3] { section, key, value }); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void ConfigureSoloDutyZone() + { + int num = (IsSupported() ? (-480345275) : (-480345274)); + while (true) + { + int num2 = num; + int num3 = -480345276; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 1: + SetConfigTransient(global::_003CModule_003E._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(1962349943), global::_003CModule_003E._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(936312060), global::_003CModule_003E._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(1048954191)); + SetConfigTransient(global::_003CModule_003E._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(-1298460236), global::_003CModule_003E._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(796924584), global::_003CModule_003E._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(-1013158676)); + _soloDutyZoneConfigured = true; + return; + case 2: + return; + } + continue; + IL_0046: + num = -480345274; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void ReleaseSoloDutyZone() + { + int num = ((!_soloDutyZoneConfigured) ? 753387069 : 753387071); + while (true) + { + int num2 = num; + int num3 = 753387070; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 753387071; + break; + case 0: + SetConfigTransient(global::_003CModule_003E._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(-118895340), global::_003CModule_003E._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(-1965564985), global::_003CModule_003E._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(2062724297)); + SetConfigTransient(global::_003CModule_003E._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(1935980207), global::_003CModule_003E._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(1757728501), global::_003CModule_003E._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(1048954191)); + _soloDutyZoneConfigured = false; + return; + case 3: + return; + case 1: + num = (IsSupported() ? 753387070 : 753387069); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static string GetPresetName(EPreset preset) + { + int num = ((preset == EPreset.Active) ? 1788877012 : 1788877010); + string result = default(string); + while (true) + { + int num2 = num; + int num3 = 1788877014; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1788877010; + break; + case 1: + return result; + case 5: + num = 1788877008; + break; + case 3: + result = global::_003CModule_003E._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(-159131530); + num = 1788877015; + break; + case 6: + throw _206D_202C_202E_206C_206A_202D_202C_202D_206E_200E_202C_200D_200C_206C_200C_202E_200E_206A_200D_202E_202E_206D_206D_206D_202A_206A_200C_206C_206C_202C_200F_200C_200C_200B_202C_206E_206D_202E_202E_206E_202E(global::_003CModule_003E._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(317946184)); + case 4: + num = ((preset == EPreset.Passive) ? 1788877013 : 1788877011); + break; + case 2: + result = global::_003CModule_003E._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(1231541163); + num = 1788877015; + break; + } + } + } + + static Task _200D_200D_202D_200E_202A_202E_200F_202C_206D_206B_202E_202C_200C_206E_206F_202D_206D_200B_206A_202B_206D_206E_206C_202D_202E_206C_202A_206D_200C_200B_206F_206A_206E_200B_200F_202C_202E_202B_202A_206A_202E(IFramework P_0, System.Action P_1) + { + return P_0.RunOnFrameworkThread(P_1); + } + + static bool _202E_202C_202A_200C_200F_206A_200E_206B_200C_200E_206D_200C_202B_206B_202D_202C_202A_202D_202B_202C_206E_202B_206E_206F_206E_202E_206E_206D_202D_200D_206C_200E_206A_200D_202A_206E_200C_206E_202E_202A_202E(ICallGateSubscriber P_0) + { + return P_0.HasFunction; + } + + static IEnumerable _202E_202D_200E_202C_206B_206B_202B_206F_206D_200F_200C_206F_202D_202E_206B_202D_200F_200F_200C_206C_200C_206A_200E_202B_202C_200F_206F_202C_200D_200D_202C_206E_200D_206C_200B_200B_202C_206E_202C_200F_202E(IDalamudPluginInterface P_0) + { + return P_0.InstalledPlugins; + } + + static string _200B_200B_202C_206C_202E_202B_206F_206B_200F_206B_200E_200B_206F_202B_202A_206C_200B_202B_202E_200C_202A_200B_206A_202D_200E_206D_200E_202A_202E_202E_206C_206C_206E_202C_206D_200B_200F_202E_206B_200F_202E(IExposedPlugin P_0) + { + return P_0.InternalName; + } + + static bool _206C_200B_206C_206E_202C_202D_200F_202E_206F_200C_206B_202D_202B_200C_202E_200E_202E_200D_202C_200C_206D_200D_206E_206E_202C_202E_200D_200D_200C_206B_202C_202D_202A_206A_206A_202B_206B_202B_206F_206A_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static string _200C_206E_202E_200B_200C_206D_206B_200F_206C_202B_202C_206B_206F_202E_202E_200E_202D_202B_206F_206F_200D_206B_202B_200C_202B_202B_206D_200F_206E_206E_202A_202E_206D_206E_200D_202D_200C_202A_200D_206E_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _202A_202A_202E_202D_206B_206B_206F_200D_200E_206D_202D_200B_200F_200E_202C_200F_200F_200D_200C_206A_202E_206F_200E_206C_206A_200D_206B_200E_202E_202E_202C_206A_200E_200B_200B_202E_202D_200D_206B_202D_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static IPlayerCharacter _202D_202C_200F_206C_200F_200D_202D_200D_206E_200B_206F_200F_200E_202A_202D_202D_200B_200C_202B_200F_200B_202D_200C_200B_206E_202B_206A_206E_202B_200E_206E_200E_200B_206F_206A_200E_206D_200E_202E_206D_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static RowRef _202C_200F_200E_200F_202D_206B_200C_202E_200B_200B_202A_202B_206A_202B_202C_202C_206E_206E_200D_202B_202D_206E_202C_200F_202B_202D_206C_206E_202C_202B_200D_206E_202B_206F_200F_206C_200D_200C_206E_206E_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static EClassJob _206E_200C_202C_202B_200E_206F_206D_202A_206A_206D_200E_202C_200B_200E_206B_202C_200B_200C_206A_202B_206B_200D_206F_206E_206F_206E_200E_206A_206D_202C_202A_206F_200B_202D_206D_202C_202D_206C_200F_206F_202E(EClassJob P_0) + { + return P_0.AsJob(); + } + + static void _200D_202C_202E_202C_202E_206F_206E_202D_200E_200B_206D_200C_206B_206F_206E_202C_202E_202C_202A_200F_206D_202D_200E_206A_206D_202C_202A_206D_202D_202A_200E_200B_206E_202A_206D_206B_202B_206B_206C_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static string _200E_200E_200B_206A_206D_202D_200E_202A_206F_202A_206B_206C_200B_200C_206B_200F_206D_202C_206C_200D_206D_200C_200B_202E_206C_202B_206C_200E_206E_200C_206D_200B_200E_202B_202A_206A_206C_206C_202B_202C_202E(Exception P_0) + { + return P_0.Message; + } + + static void _202C_206B_202C_206C_206B_206E_206F_206D_206F_202B_206F_202C_200D_202E_206B_206C_202D_202D_202B_200F_206D_206C_206A_200E_206F_202A_200B_206D_206E_206F_200F_206D_206C_206F_202A_202E_206F_200F_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static string _202B_206E_206F_202E_206C_206D_206A_200C_200B_200D_202C_206D_206B_206A_206F_206C_206D_200B_202D_206A_206E_202A_200D_200F_206C_200F_206E_206E_202B_200D_200B_200D_200D_200C_206B_200F_206C_200E_202A_206D_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _202B_200E_202C_206C_206B_200C_200B_202C_206C_200C_202B_206E_206B_202D_202B_200B_202B_200F_200F_206E_202A_206A_206A_206B_202E_206B_206A_206E_200D_202D_202A_206B_200C_202C_200B_206D_206A_206D_200C_206F_202E(ICommandManager P_0, string P_1) + { + return P_0.ProcessCommand(P_1); + } + + static byte _206F_200E_202A_200F_202D_200C_202C_200E_206C_202A_200C_200D_200C_206B_202C_202B_202B_200F_200D_202D_202C_206D_200F_206C_202E_200C_206C_200E_206E_206F_206A_206C_202A_206F_200C_202A_200D_206B_200B_200F_202E(SinglePlayerDutyOptions P_0) + { + return P_0.Index; + } + + static ushort _206F_206E_202C_206B_202B_206C_200E_202C_200D_200C_206F_206A_200F_202B_202A_200C_202E_206B_200F_206C_202D_202C_206B_202E_202B_206E_206B_202C_200B_206C_206A_206D_206D_206D_202E_206D_200D_200B_200E_200D_202E(ElementId P_0) + { + return P_0.Value; + } + + static string _200F_202C_206C_200F_206C_206B_206A_206F_200F_206F_202D_200B_200B_202B_200B_200B_206E_202A_202D_200E_202A_200E_200D_200F_206A_202E_202B_200C_202B_202C_206A_206E_200D_200F_206E_200E_200B_206A_202C_200C_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static ArgumentOutOfRangeException _206D_202C_202E_206C_206A_202D_202C_202D_206E_200E_202C_200D_200C_206C_200C_202E_200E_206A_200D_202E_202E_206D_206D_206D_202A_206A_200C_206C_206C_202C_200F_200C_200C_200B_202C_206E_206D_202E_202E_206E_202E(string P_0) + { + return new ArgumentOutOfRangeException(P_0); } } diff --git a/Questionable/Questionable.External/MoveCommand.cs b/Questionable/Questionable.External/MoveCommand.cs new file mode 100644 index 00000000..28e14169 --- /dev/null +++ b/Questionable/Questionable.External/MoveCommand.cs @@ -0,0 +1,149 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace Questionable.External; + +internal sealed record MoveCommand(List Waypoints, bool Fly, float ArrivalTolerance) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_206E_202E_206A_206B_200B_202A_206C_206B_206F_202A_200C_200B_202D_200D_202B_202A_200B_202C_206C_206C_206A_206B_200F_202C_200E_202A_206F_202D_202D_206A_202A_202C_202C_202E_206F_206B_200B_202C_202E(typeof(MoveCommand).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206D_206D_200B_200E_200D_202E_202E_202E_206B_206E_200B_202A_200F_200F_200C_200D_200B_206D_202D_202B_202D_200B_202E_206F_206A_206D_202C_200B_202B_206A_202C_202A_202D_202E_206F_206B_200D_200C_206A_206E_202E(); + _202C_202B_206C_202E_202C_200F_206B_202D_200C_200B_206B_200E_200F_202A_200B_200C_206E_206F_202C_200E_206B_200C_202B_206B_202E_202B_206E_206C_202B_200F_200E_206B_202D_202C_200D_206D_206A_206E_206E_206F_202E(stringBuilder, global::_003CModule_003E._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(697223660)); + _202C_202B_206C_202E_202C_200F_206B_202D_200C_200B_206B_200E_200F_202A_200B_200C_206E_206F_202C_200E_206B_200C_202B_206B_202E_202B_206E_206C_202B_200F_200E_206B_202D_202C_200D_206D_206A_206E_206E_206F_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-53230513) : (-53230514)); + while (true) + { + int num2 = num; + int num3 = -53230513; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _202B_206E_206F_200D_200C_200D_206E_206E_200C_202C_200C_202C_200C_206D_200D_200D_206D_206A_200B_206D_206F_206E_200C_206A_206D_206C_206C_206E_202C_206D_202E_206B_200E_206A_206B_206A_200B_200E_200E_202E(stringBuilder, '}'); + return _206A_202A_200B_206D_202C_202E_202E_206A_206C_202D_200B_200B_200C_200F_206E_200B_202E_202D_206B_200E_206A_202B_206C_202A_200E_200D_206A_200F_200C_206A_206E_206F_200B_206E_206C_200B_206D_202B_206A_206C_202E((object)stringBuilder); + case 1: + _202B_206E_206F_200D_200C_200D_206E_206E_200C_202C_200C_202C_200C_206D_200D_200D_206D_206A_200B_206D_206F_206E_200C_206A_206D_206C_206C_206E_202C_206D_202E_206B_200E_206A_206B_206A_200B_200E_200E_202E(stringBuilder, ' '); + num = -53230513; + break; + case 2: + num = -53230514; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202D_200B_206A_202D_206B_200C_202C_206B_206D_202B_202B_200C_206A_206E_206B_202A_202E_202E_202A_202B_202E_202B_200B_206A_200C_206E_206C_202B_206B_206E_202C_206D_202E_202C_200D_202C_206C_206F_200E_202A_202E(); + _202C_202B_206C_202E_202C_200F_206B_202D_200C_200B_206B_200E_200F_202A_200B_200C_206E_206F_202C_200E_206B_200C_202B_206B_202E_202B_206E_206C_202B_200F_200E_206B_202D_202C_200D_206D_206A_206E_206E_206F_202E(builder, global::_003CModule_003E._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(376475816)); + _202D_202C_202A_206E_202C_200C_200E_200B_206C_200B_202C_200E_202A_202A_206F_202E_206A_202A_200D_206E_202B_206E_200C_206C_200E_206D_200D_200E_202A_200C_202E_202C_206D_206B_200D_206B_202D_202E_202B_202B_202E(builder, (object)Waypoints); + _202C_202B_206C_202E_202C_200F_206B_202D_200C_200B_206B_200E_200F_202A_200B_200C_206E_206F_202C_200E_206B_200C_202B_206B_202E_202B_206E_206C_202B_200F_200E_206B_202D_202C_200D_206D_206A_206E_206E_206F_202E(builder, global::_003CModule_003E._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(1335211848)); + _202C_202B_206C_202E_202C_200F_206B_202D_200C_200B_206B_200E_200F_202A_200B_200C_206E_206F_202C_200E_206B_200C_202B_206B_202E_202B_206E_206C_202B_200F_200E_206B_202D_202C_200D_206D_206A_206E_206E_206F_202E(builder, Fly.ToString()); + _202C_202B_206C_202E_202C_200F_206B_202D_200C_200B_206B_200E_200F_202A_200B_200C_206E_206F_202C_200E_206B_200C_202B_206B_202E_202B_206E_206C_202B_200F_200E_206B_202D_202C_200D_206D_206A_206E_206E_206F_202E(builder, global::_003CModule_003E._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(-918953903)); + _202C_202B_206C_202E_202C_200F_206B_202D_200C_200B_206B_200E_200F_202A_200B_200C_206E_206F_202C_200E_206B_200C_202B_206B_202E_202B_206E_206C_202B_200F_200E_206B_202D_202C_200D_206D_206A_206E_206E_206F_202E(builder, ArrivalTolerance.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(MoveCommand? other) + { + int num = (((object)this == other) ? 1439359497 : 1439359501); + while (true) + { + int num2 = num; + int num3 = 1439359498; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + num = 1439359501; + break; + case 5: + num = ((!_202A_202C_200C_202E_206C_200B_206F_202A_202E_200B_202A_200D_206E_200D_206C_202C_200B_202E_206B_206F_206B_202D_200F_202E_202E_202E_202A_200B_206E_200D_200C_206E_202D_202E_202C_202E_206E_202A_200E_200E_202E(EqualityContract, other.EqualityContract)) ? 1439359502 : 1439359496); + break; + case 2: + num = ((!EqualityComparer>.Default.Equals(Waypoints, other.Waypoints)) ? 1439359502 : 1439359498); + break; + case 3: + return true; + case 7: + num = (((object)other == null) ? 1439359502 : 1439359503); + break; + case 4: + return false; + case 0: + num = ((!EqualityComparer.Default.Equals(Fly, other.Fly)) ? 1439359502 : 1439359499); + break; + case 1: + return EqualityComparer.Default.Equals(ArrivalTolerance, other.ArrivalTolerance); + } + } + } + + bool IEquatable.Equals(MoveCommand? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_206E_202E_206A_206B_200B_202A_206C_206B_206F_202A_200C_200B_202D_200D_202B_202A_200B_202C_206C_206C_206A_206B_200F_202C_200E_202A_206F_202D_202D_206A_202A_202C_202C_202E_206F_206B_200B_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206D_206D_200B_200E_200D_202E_202E_202E_206B_206E_200B_202A_200F_200F_200C_200D_200B_206D_202D_202B_202D_200B_202E_206F_206A_206D_202C_200B_202B_206A_202C_202A_202D_202E_206F_206B_200D_200C_206A_206E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202C_202B_206C_202E_202C_200F_206B_202D_200C_200B_206B_200E_200F_202A_200B_200C_206E_206F_202C_200E_206B_200C_202B_206B_202E_202B_206E_206C_202B_200F_200E_206B_202D_202C_200D_206D_206A_206E_206E_206F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202B_206E_206F_200D_200C_200D_206E_206E_200C_202C_200C_202C_200C_206D_200D_200D_206D_206A_200B_206D_206F_206E_200C_206A_206D_206C_206C_206E_202C_206D_202E_206B_200E_206A_206B_206A_200B_200E_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206A_202A_200B_206D_202C_202E_202E_206A_206C_202D_200B_200B_200C_200F_206E_200B_202E_202D_206B_200E_206A_202B_206C_202A_200E_200D_206A_200F_200C_206A_206E_206F_200B_206E_206C_200B_206D_202B_206A_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202D_200B_206A_202D_206B_200C_202C_206B_206D_202B_202B_200C_206A_206E_206B_202A_202E_202E_202A_202B_202E_202B_200B_206A_200C_206E_206C_202B_206B_206E_202C_206D_202E_202C_200D_202C_206C_206F_200E_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202D_202C_202A_206E_202C_200C_200E_200B_206C_200B_202C_200E_202A_202A_206F_202E_206A_202A_200D_206E_202B_206E_200C_206C_200E_206D_200D_200E_202A_200C_202E_202C_206D_206B_200D_206B_202D_202E_202B_202B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202A_202C_200C_202E_206C_200B_206F_202A_202E_200B_202A_200D_206E_200D_206C_202C_200B_202E_206B_206F_206B_202D_200F_202E_202E_202E_202A_200B_206E_200D_200C_206E_202D_202E_202C_202E_206E_202A_200E_200E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.External/NavPathfindResult.cs b/Questionable/Questionable.External/NavPathfindResult.cs new file mode 100644 index 00000000..05cca01c --- /dev/null +++ b/Questionable/Questionable.External/NavPathfindResult.cs @@ -0,0 +1,152 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace Questionable.External; + +internal sealed record NavPathfindResult(List Waypoints, bool HasPartialInfo, bool IsPartial, float EndDistance) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_200C_202B_200E_200E_200B_200B_206D_202E_202D_206C_206B_200E_206A_200E_202E_206A_206A_206A_202E_206C_202D_202E_206E_200B_200C_200E_206E_202A_206E_206F_202D_206D_202B_202D_206D_200B_200D_200B_202D_202E(typeof(NavPathfindResult).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202E_206D_206E_202C_206F_202D_202A_200E_202B_206E_202D_202E_206E_206E_202D_202A_206F_206C_202B_202A_200F_206B_206C_202A_202E_200F_200C_202A_202C_200C_206B_202C_202D_202C_200B_202B_206B_202D_202C_200C_202E(); + _202C_206B_206B_200F_206B_206A_206D_206B_206F_200B_200F_200B_200D_202A_206C_206B_200B_202D_202E_206C_200B_200E_202B_206F_202B_202B_202B_206A_200C_202D_200E_200F_206D_206D_206F_200E_202A_206A_202A_202E(stringBuilder, global::_003CModule_003E._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(-598170801)); + _202C_206B_206B_200F_206B_206A_206D_206B_206F_200B_200F_200B_200D_202A_206C_206B_200B_202D_202E_206C_200B_200E_202B_206F_202B_202B_202B_206A_200C_202D_200E_200F_206D_206D_206F_200E_202A_206A_202A_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? 490901911 : 490901908); + while (true) + { + int num2 = num; + int num3 = 490901909; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 490901908; + break; + case 2: + _206A_202C_200D_202D_200B_206F_202E_206E_206E_206C_202D_206F_202C_200B_200D_202E_202E_206E_200E_206F_202A_206E_202A_202E_200F_202C_200C_206F_206E_206B_202B_206B_202B_200C_202E_200B_202C_202C_202E_200D_202E(stringBuilder, '}'); + return _206F_206D_206C_200F_200C_202A_200D_200B_206A_200D_200B_202C_200C_206E_202B_200F_200C_200D_206D_202D_200C_202B_202D_202E_200F_200D_200D_202D_202B_206E_202D_200E_206B_200E_202A_200B_206C_200F_200F_200D_202E((object)stringBuilder); + case 1: + _206A_202C_200D_202D_200B_206F_202E_206E_206E_206C_202D_206F_202C_200B_200D_202E_202E_206E_200E_206F_202A_206E_202A_202E_200F_202C_200C_206F_206E_206B_202B_206B_202B_200C_202E_200B_202C_202C_202E_200D_202E(stringBuilder, ' '); + num = 490901911; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_202A_206B_200B_200F_200C_200F_206D_206F_206A_202A_206A_206A_206C_200F_200B_206A_206B_202A_206A_200B_200C_206F_200C_202A_206E_202A_202D_202C_206E_206B_206A_200D_200B_206A_206C_206D_206A_206A_202A_202E(); + _202C_206B_206B_200F_206B_206A_206D_206B_206F_200B_200F_200B_200D_202A_206C_206B_200B_202D_202E_206C_200B_200E_202B_206F_202B_202B_202B_206A_200C_202D_200E_200F_206D_206D_206F_200E_202A_206A_202A_202E(builder, global::_003CModule_003E._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(110603509)); + _202E_206B_200E_206B_200B_206C_206D_206F_202E_206E_206B_206C_200E_202A_206A_200C_206F_200C_200E_200F_200D_202B_200F_200C_206E_202E_202C_202C_200C_206E_202D_200D_200C_200C_206C_206C_200E_200B_206A_202C_202E(builder, (object)Waypoints); + _202C_206B_206B_200F_206B_206A_206D_206B_206F_200B_200F_200B_200D_202A_206C_206B_200B_202D_202E_206C_200B_200E_202B_206F_202B_202B_202B_206A_200C_202D_200E_200F_206D_206D_206F_200E_202A_206A_202A_202E(builder, global::_003CModule_003E._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(1493861964)); + _202C_206B_206B_200F_206B_206A_206D_206B_206F_200B_200F_200B_200D_202A_206C_206B_200B_202D_202E_206C_200B_200E_202B_206F_202B_202B_202B_206A_200C_202D_200E_200F_206D_206D_206F_200E_202A_206A_202A_202E(builder, HasPartialInfo.ToString()); + _202C_206B_206B_200F_206B_206A_206D_206B_206F_200B_200F_200B_200D_202A_206C_206B_200B_202D_202E_206C_200B_200E_202B_206F_202B_202B_202B_206A_200C_202D_200E_200F_206D_206D_206F_200E_202A_206A_202A_202E(builder, global::_003CModule_003E._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(164596793)); + _202C_206B_206B_200F_206B_206A_206D_206B_206F_200B_200F_200B_200D_202A_206C_206B_200B_202D_202E_206C_200B_200E_202B_206F_202B_202B_202B_206A_200C_202D_200E_200F_206D_206D_206F_200E_202A_206A_202A_202E(builder, IsPartial.ToString()); + _202C_206B_206B_200F_206B_206A_206D_206B_206F_200B_200F_200B_200D_202A_206C_206B_200B_202D_202E_206C_200B_200E_202B_206F_202B_202B_202B_206A_200C_202D_200E_200F_206D_206D_206F_200E_202A_206A_202A_202E(builder, global::_003CModule_003E._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(-2102577067)); + _202C_206B_206B_200F_206B_206A_206D_206B_206F_200B_200F_200B_200D_202A_206C_206B_200B_202D_202E_206C_200B_200E_202B_206F_202B_202B_202B_206A_200C_202D_200E_200F_206D_206D_206F_200E_202A_206A_202A_202E(builder, EndDistance.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(NavPathfindResult? other) + { + int num = (((object)this == other) ? 790411185 : 790411191); + while (true) + { + int num2 = num; + int num3 = 790411189; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 790411191; + break; + case 7: + return EqualityComparer.Default.Equals(EndDistance, other.EndDistance); + case 2: + num = (((object)other == null) ? 790411187 : 790411184); + break; + case 6: + return false; + case 4: + return true; + case 3: + num = ((!EqualityComparer.Default.Equals(IsPartial, other.IsPartial)) ? 790411187 : 790411186); + break; + case 5: + num = ((!_206B_206C_200D_202B_202C_200B_200C_202D_206C_200E_206D_202D_200E_202A_200E_200D_206A_202D_200F_206A_202C_206F_206B_202C_200E_202A_202C_206D_202A_206C_206C_200B_202D_206C_200D_206F_206B_206D_202D_206E_202E(EqualityContract, other.EqualityContract)) ? 790411187 : 790411188); + break; + case 1: + num = ((!EqualityComparer>.Default.Equals(Waypoints, other.Waypoints)) ? 790411187 : 790411197); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(HasPartialInfo, other.HasPartialInfo)) ? 790411187 : 790411190); + break; + } + } + } + + bool IEquatable.Equals(NavPathfindResult? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202E_200C_202B_200E_200E_200B_200B_206D_202E_202D_206C_206B_200E_206A_200E_202E_206A_206A_206A_202E_206C_202D_202E_206E_200B_200C_200E_206E_202A_206E_206F_202D_206D_202B_202D_206D_200B_200D_200B_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202E_206D_206E_202C_206F_202D_202A_200E_202B_206E_202D_202E_206E_206E_202D_202A_206F_206C_202B_202A_200F_206B_206C_202A_202E_200F_200C_202A_202C_200C_206B_202C_202D_202C_200B_202B_206B_202D_202C_200C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202C_206B_206B_200F_206B_206A_206D_206B_206F_200B_200F_200B_200D_202A_206C_206B_200B_202D_202E_206C_200B_200E_202B_206F_202B_202B_202B_206A_200C_202D_200E_200F_206D_206D_206F_200E_202A_206A_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_202C_200D_202D_200B_206F_202E_206E_206E_206C_202D_206F_202C_200B_200D_202E_202E_206E_200E_206F_202A_206E_202A_202E_200F_202C_200C_206F_206E_206B_202B_206B_202B_200C_202E_200B_202C_202C_202E_200D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206F_206D_206C_200F_200C_202A_200D_200B_206A_200D_200B_202C_200C_206E_202B_200F_200C_200D_206D_202D_200C_202B_202D_202E_200F_200D_200D_202D_202B_206E_202D_200E_206B_200E_202A_200B_206C_200F_200F_200D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200B_202A_206B_200B_200F_200C_200F_206D_206F_206A_202A_206A_206A_206C_200F_200B_206A_206B_202A_206A_200B_200C_206F_200C_202A_206E_202A_202D_202C_206E_206B_206A_200D_200B_206A_206C_206D_206A_206A_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202E_206B_200E_206B_200B_206C_206D_206F_202E_206E_206B_206C_200E_202A_206A_200C_206F_200C_200E_200F_200D_202B_200F_200C_206E_202E_202C_202C_200C_206E_202D_200D_200C_200C_206C_206C_200E_200B_206A_202C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206B_206C_200D_202B_202C_200B_200C_202D_206C_200E_206D_202D_200E_202A_200E_200D_206A_202D_200F_206A_202C_206F_206B_202C_200E_202A_202C_206D_202A_206C_206C_200B_202D_206C_200D_206F_206B_206D_202D_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.External/NavStatus.cs b/Questionable/Questionable.External/NavStatus.cs new file mode 100644 index 00000000..ebb8006b --- /dev/null +++ b/Questionable/Questionable.External/NavStatus.cs @@ -0,0 +1,156 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace Questionable.External; + +internal sealed record NavStatus(bool Ready, string State, int TilesBuilt, int TilesTotal, uint TerritoryId) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_202E_200F_206E_202E_206B_200E_202C_202B_202A_206E_200E_200C_206A_202E_206D_206E_206D_206A_200F_200F_202E_202A_200D_200C_206D_206C_206A_206A_202C_206C_200F_202A_200C_206E_200D_206E_206E_206E_206A_202E(typeof(NavStatus).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200B_202E_202E_200D_202E_206E_206E_202E_202D_200B_206D_206B_206A_206A_206D_200B_202E_206B_200F_200B_202E_206F_202E_206B_202C_202A_202E_202B_202D_202D_206F_202C_202B_202B_206B_206E_206B_202C_200C_206A_202E(); + _206E_202B_206E_202C_200C_206B_200F_200D_202C_206C_202B_200D_206C_202B_202C_206A_206E_202C_206B_202D_206E_202D_200E_202D_200C_206A_206C_202C_200F_202A_206F_200B_206F_206B_206F_202C_200F_206C_200D_200C_202E(stringBuilder, global::_003CModule_003E._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(1175225057)); + _206E_202B_206E_202C_200C_206B_200F_200D_202C_206C_202B_200D_206C_202B_202C_206A_206E_202C_206B_202D_206E_202D_200E_202D_200C_206A_206C_202C_200F_202A_206F_200B_206F_206B_206F_202C_200F_206C_200D_200C_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? (-847279882) : (-847279883)); + while (true) + { + int num2 = num; + int num3 = -847279881; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -847279883; + break; + case 1: + _206D_206A_200B_202D_206E_206B_200F_206C_206C_206C_206B_202E_200D_206C_202B_206A_206A_202C_206E_202E_202B_202E_200C_200E_202C_202D_202A_200D_202D_206E_202C_202D_206B_200E_202A_200D_200C_200B_202D_206E_202E(stringBuilder, '}'); + return _202E_202A_202E_206A_206F_202A_206C_200D_206E_202D_206C_206D_202D_206D_200C_206F_200E_202D_202A_202C_202C_202D_202E_206B_200C_200E_206C_202B_200E_202C_206C_200D_200C_200D_202A_200C_202A_206F_202D_206E_202E((object)stringBuilder); + case 2: + _206D_206A_200B_202D_206E_206B_200F_206C_206C_206C_206B_202E_200D_206C_202B_206A_206A_202C_206E_202E_202B_202E_200C_200E_202C_202D_202A_200D_202D_206E_202C_202D_206B_200E_202A_200D_200C_200B_202D_206E_202E(stringBuilder, ' '); + num = -847279882; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_202E_200B_200D_200D_202D_206B_202D_202D_206C_206C_200D_200C_200B_206E_206B_202C_206C_202C_206C_200E_202E_206B_202E_206A_200C_202D_206A_202D_206E_202E_200F_202A_206B_202E_202B_200C_202B_200C_202D_202E(); + _206E_202B_206E_202C_200C_206B_200F_200D_202C_206C_202B_200D_206C_202B_202C_206A_206E_202C_206B_202D_206E_202D_200E_202D_200C_206A_206C_202C_200F_202A_206F_200B_206F_206B_206F_202C_200F_206C_200D_200C_202E(builder, global::_003CModule_003E._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(-2002356091)); + _206E_202B_206E_202C_200C_206B_200F_200D_202C_206C_202B_200D_206C_202B_202C_206A_206E_202C_206B_202D_206E_202D_200E_202D_200C_206A_206C_202C_200F_202A_206F_200B_206F_206B_206F_202C_200F_206C_200D_200C_202E(builder, Ready.ToString()); + _206E_202B_206E_202C_200C_206B_200F_200D_202C_206C_202B_200D_206C_202B_202C_206A_206E_202C_206B_202D_206E_202D_200E_202D_200C_206A_206C_202C_200F_202A_206F_200B_206F_206B_206F_202C_200F_206C_200D_200C_202E(builder, global::_003CModule_003E._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(1574005385)); + _206D_200E_206D_202C_200F_202A_202B_202E_202A_206D_206B_202C_202A_202D_206A_200E_206A_206D_206F_200D_200C_202E_200D_206C_206D_200F_206A_200B_202E_206F_206A_206A_206F_206B_202B_200C_200B_206A_206F_206A_202E(builder, (object)State); + _206E_202B_206E_202C_200C_206B_200F_200D_202C_206C_202B_200D_206C_202B_202C_206A_206E_202C_206B_202D_206E_202D_200E_202D_200C_206A_206C_202C_200F_202A_206F_200B_206F_206B_206F_202C_200F_206C_200D_200C_202E(builder, global::_003CModule_003E._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(96629540)); + _206E_202B_206E_202C_200C_206B_200F_200D_202C_206C_202B_200D_206C_202B_202C_206A_206E_202C_206B_202D_206E_202D_200E_202D_200C_206A_206C_202C_200F_202A_206F_200B_206F_206B_206F_202C_200F_206C_200D_200C_202E(builder, TilesBuilt.ToString()); + _206E_202B_206E_202C_200C_206B_200F_200D_202C_206C_202B_200D_206C_202B_202C_206A_206E_202C_206B_202D_206E_202D_200E_202D_200C_206A_206C_202C_200F_202A_206F_200B_206F_206B_206F_202C_200F_206C_200D_200C_202E(builder, global::_003CModule_003E._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(57838909)); + _206E_202B_206E_202C_200C_206B_200F_200D_202C_206C_202B_200D_206C_202B_202C_206A_206E_202C_206B_202D_206E_202D_200E_202D_200C_206A_206C_202C_200F_202A_206F_200B_206F_206B_206F_202C_200F_206C_200D_200C_202E(builder, TilesTotal.ToString()); + _206E_202B_206E_202C_200C_206B_200F_200D_202C_206C_202B_200D_206C_202B_202C_206A_206E_202C_206B_202D_206E_202D_200E_202D_200C_206A_206C_202C_200F_202A_206F_200B_206F_206B_206F_202C_200F_206C_200D_200C_202E(builder, global::_003CModule_003E._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(647715754)); + _206E_202B_206E_202C_200C_206B_200F_200D_202C_206C_202B_200D_206C_202B_202C_206A_206E_202C_206B_202D_206E_202D_200E_202D_200C_206A_206C_202C_200F_202A_206F_200B_206F_206B_206F_202C_200F_206C_200D_200C_202E(builder, TerritoryId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(NavStatus? other) + { + int num = (((object)this == other) ? 1329501790 : 1329501785); + while (true) + { + int num2 = num; + int num3 = 1329501787; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + num = ((!EqualityComparer.Default.Equals(TilesTotal, other.TilesTotal)) ? 1329501788 : 1329501787); + break; + case 7: + return false; + case 0: + return EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId); + case 1: + num = ((!_202A_200D_206D_200C_202A_200B_206A_206B_200D_202B_202C_200D_200E_206C_202A_202A_202E_202C_200F_200E_206F_202D_200D_202C_206B_206C_200E_206C_206E_200D_202B_200E_200C_200F_202B_206E_202B_202A_202A_206D_202E(EqualityContract, other.EqualityContract)) ? 1329501788 : 1329501789); + break; + case 5: + return true; + case 9: + num = ((!EqualityComparer.Default.Equals(TilesBuilt, other.TilesBuilt)) ? 1329501788 : 1329501779); + break; + case 4: + num = 1329501785; + break; + case 6: + num = ((!EqualityComparer.Default.Equals(Ready, other.Ready)) ? 1329501788 : 1329501784); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(State, other.State)) ? 1329501788 : 1329501778); + break; + case 2: + num = (((object)other == null) ? 1329501788 : 1329501786); + break; + } + } + } + + bool IEquatable.Equals(NavStatus? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_202E_200F_206E_202E_206B_200E_202C_202B_202A_206E_200E_200C_206A_202E_206D_206E_206D_206A_200F_200F_202E_202A_200D_200C_206D_206C_206A_206A_202C_206C_200F_202A_200C_206E_200D_206E_206E_206E_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200B_202E_202E_200D_202E_206E_206E_202E_202D_200B_206D_206B_206A_206A_206D_200B_202E_206B_200F_200B_202E_206F_202E_206B_202C_202A_202E_202B_202D_202D_206F_202C_202B_202B_206B_206E_206B_202C_200C_206A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206E_202B_206E_202C_200C_206B_200F_200D_202C_206C_202B_200D_206C_202B_202C_206A_206E_202C_206B_202D_206E_202D_200E_202D_200C_206A_206C_202C_200F_202A_206F_200B_206F_206B_206F_202C_200F_206C_200D_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_206A_200B_202D_206E_206B_200F_206C_206C_206C_206B_202E_200D_206C_202B_206A_206A_202C_206E_202E_202B_202E_200C_200E_202C_202D_202A_200D_202D_206E_202C_202D_206B_200E_202A_200D_200C_200B_202D_206E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202E_202A_202E_206A_206F_202A_206C_200D_206E_202D_206C_206D_202D_206D_200C_206F_200E_202D_202A_202C_202C_202D_202E_206B_200C_200E_206C_202B_200E_202C_206C_200D_200C_200D_202A_200C_202A_206F_202D_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206D_202E_200B_200D_200D_202D_206B_202D_202D_206C_206C_200D_200C_200B_206E_206B_202C_206C_202C_206C_200E_202E_206B_202E_206A_200C_202D_206A_202D_206E_202E_200F_202A_206B_202E_202B_200C_202B_200C_202D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206D_200E_206D_202C_200F_202A_202B_202E_202A_206D_206B_202C_202A_202D_206A_200E_206A_206D_206F_200D_200C_202E_200D_206C_206D_200F_206A_200B_202E_206F_206A_206A_206F_206B_202B_200C_200B_206A_206F_206A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202A_200D_206D_200C_202A_200B_206A_206B_200D_202B_202C_200D_200E_206C_202A_202A_202E_202C_200F_200E_206F_202D_200D_202C_206B_206C_200E_206C_206E_200D_202B_200E_200C_200F_202B_206E_202B_202A_202A_206D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.External/NavmeshIpc.cs b/Questionable/Questionable.External/NavmeshIpc.cs index f7fc7b02..6fc6f5cb 100644 --- a/Questionable/Questionable.External/NavmeshIpc.cs +++ b/Questionable/Questionable.External/NavmeshIpc.cs @@ -1,64 +1,193 @@ +using System; using System.Collections.Generic; using System.Numerics; +using System.Runtime.CompilerServices; using System.Threading; 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; + + [MethodImpl(MethodImplOptions.NoInlining)] + public Subscribers(IDalamudPluginInterface pluginInterface, Configuration.ENavigationProvider provider) + { + string text = ((provider == Configuration.ENavigationProvider.WigglyNavShim) ? global::_003CModule_003E._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(400780601) : global::_003CModule_003E._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(281533512)); + IsNavReady = pluginInterface.GetIpcSubscriber(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(-2043293393))); + NavPathfind = pluginInterface.GetIpcSubscriber>>(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(1869644565))); + NavPathfindWithTolerance = pluginInterface.GetIpcSubscriber>>(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(-1343590681))); + NavPathfindInProgress = pluginInterface.GetIpcSubscriber(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(-1113861054))); + NavNumQueuedRequests = pluginInterface.GetIpcSubscriber(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(1214172476))); + PathMoveTo = pluginInterface.GetIpcSubscriber, bool, object>(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(2135724883))); + PathStop = pluginInterface.GetIpcSubscriber(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(1489726535))); + PathIsRunning = pluginInterface.GetIpcSubscriber(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(-1992325887))); + PathListWaypoints = pluginInterface.GetIpcSubscriber>(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(-1844977859))); + PathSetTolerance = pluginInterface.GetIpcSubscriber(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(1161845014))); + QueryPointOnFloor = pluginInterface.GetIpcSubscriber(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(865017884))); + QueryNearestPoint = pluginInterface.GetIpcSubscriber(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(2130817597))); + QueryNearestPointReachable = pluginInterface.GetIpcSubscriber(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(-1867865423))); + BuildProgress = pluginInterface.GetIpcSubscriber(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(2132035295))); + NavReload = pluginInterface.GetIpcSubscriber(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(885142654))); + NavRebuild = pluginInterface.GetIpcSubscriber(_206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(text, global::_003CModule_003E._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(-819256700))); + } + + static string _206A_206C_202A_200E_200F_206C_206B_202C_200B_206C_200B_202A_206D_206D_202A_200B_200E_200F_202D_206D_206A_206D_206A_202E_200B_202D_200C_206C_202D_200C_200C_200B_206B_206B_206F_206C_200D_206F_200E_206B_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + } + 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 + { + int num = ((_configuration.General.NavigationProvider != Configuration.ENavigationProvider.WigglyNav) ? (-1473368197) : (-1473368200)); + while (true) + { + int num2 = num; + int num3 = -1473368199; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0053; + case 2: + return false; + case 1: + return _wigglyNavAvailability.IsCompatible; + } + continue; + IL_0053: + num = -1473368200; + } + } + } - 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; + int num = ((navigationProvider == _activeProvider) ? (-590675720) : (-590675719)); + while (true) + { + int num2 = num; + int num3 = -590675720; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return _subscribers; + case 1: + _subscribers = new Subscribers(_pluginInterface, navigationProvider); + _activeProvider = navigationProvider; + num = -590675720; + break; + case 2: + num = -590675719; + break; + } + } + } + } public bool IsNavmeshAvailable { get { - try + int num = ((!UseNative) ? 876244421 : 876244422); + while (true) { - _isNavReady.InvokeFunc(); - return true; - } - catch (IpcNotReadyError) - { - return false; - } - catch (IpcError) - { - return true; + int num2 = num; + int num3 = 876244423; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0048; + case 1: + return _wigglyNavIpc.IsNavmeshAvailable; + case 2: + try + { + S.IsNavReady.InvokeFunc(); + return true; + } + catch (IpcNotReadyError) + { + return false; + } + catch (IpcError) + { + return true; + } + } + continue; + IL_0048: + num = 876244422; } } } @@ -67,13 +196,33 @@ internal sealed class NavmeshIpc { get { - try + int num = ((!UseNative) ? (-1348520719) : (-1348520720)); + while (true) { - return _isNavReady.InvokeFunc(); - } - catch (IpcError) - { - return false; + int num2 = num; + int num3 = -1348520719; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0048; + case 1: + return _wigglyNavIpc.IsReady; + case 0: + try + { + return S.IsNavReady.InvokeFunc(); + } + catch (IpcError) + { + return false; + } + } + continue; + IL_0048: + num = -1348520720; } } } @@ -82,13 +231,33 @@ internal sealed class NavmeshIpc { get { - try + int num = ((!UseNative) ? (-678709680) : (-678709679)); + while (true) { - return _pathIsRunning.InvokeFunc(); - } - catch (IpcError) - { - return false; + int num2 = num; + int num3 = -678709680; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0048; + case 1: + return _wigglyNavIpc.IsPathRunning; + case 0: + try + { + return S.PathIsRunning.InvokeFunc(); + } + catch (IpcError) + { + return false; + } + } + continue; + IL_0048: + num = -678709679; } } } @@ -97,13 +266,31 @@ internal sealed class NavmeshIpc { get { - try + int num = ((!UseNative) ? 552109104 : 552109107); + while (true) { - return _navPathfindInProgress.InvokeFunc(); - } - catch (IpcError) - { - return false; + int num2 = num; + int num3 = 552109106; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 1: + return _wigglyNavIpc.IsPathfindInProgress; + case 2: + try + { + return S.NavPathfindInProgress.InvokeFunc(); + } + catch (IpcError) + { + return false; + } + } + continue; + IL_0046: + num = 552109107; } } } @@ -112,204 +299,629 @@ internal sealed class NavmeshIpc { get { - try + int num = ((!UseNative) ? 1053516825 : 1053516826); + while (true) { - return _navNumQueuedRequests.InvokeFunc(); - } - catch (IpcError) - { - return 0; + int num2 = num; + int num3 = 1053516827; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 1: + return _wigglyNavIpc.NumQueuedPathfindRequests; + case 2: + try + { + return S.NavNumQueuedRequests.InvokeFunc(); + } + catch (IpcError) + { + return 0; + } + } + continue; + IL_0046: + num = 1053516826; } } } - public NavmeshIpc(IDalamudPluginInterface pluginInterface, ILogger logger) + [MethodImpl(MethodImplOptions.NoInlining)] + 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(global::_003CModule_003E._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(1557569534)); } + internal void StopAll() + { + _wigglyNavIpc.Stop(); + try + { + _vnavmeshStop.InvokeAction(); + } + catch (IpcError) + { + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void NoticeFallbackToVnavmesh() + { + int num = (UseNative ? 1523716478 : 1523716477); + while (true) + { + int num2 = num; + int num3 = 1523716478; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _fallbackNoticed = false; + return; + case 3: + num = ((_configuration.General.NavigationProvider == Configuration.ENavigationProvider.WigglyNav) ? 1523716479 : 1523716478); + break; + case 1: + num = ((!_fallbackNoticed) ? 1523716475 : 1523716474); + break; + case 4: + return; + case 2: + num = 1523716477; + break; + case 5: + _fallbackNoticed = true; + _200F_206F_200D_206C_202A_206D_206C_202A_202A_200E_200D_206C_206E_206B_206E_200C_206A_200C_200F_206C_200D_202C_202D_206E_200E_206A_206F_206C_206A_200D_200F_202C_206A_202D_206D_206A_206E_200B_202A_206A_202E(_chatGui, global::_003CModule_003E._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(-381498460), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); + return; + } + } + } + + private async Task PathfindNative(Vector3 localPlayerPosition, Vector3 targetPosition, bool fly, float tolerance, CancellationToken cancellationToken) + { + int num = 1290670332; + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter configuredTaskAwaiter = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + while (true) + { + int num2 = num; + int num3 = 1290670335; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1290670332; + break; + case 4: + await configuredTaskAwaiter; + num = 1290670334; + break; + case 1: + configuredTaskAwaiter = configuredTaskAwaiter2; + configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = 1290670335; + break; + case 3: + configuredTaskAwaiter = _wigglyNavIpc.Pathfind(localPlayerPosition, targetPosition, fly, tolerance, cancellationToken).ConfigureAwait(continueOnCapturedContext: false).GetAwaiter(); + num = (configuredTaskAwaiter.IsCompleted ? 1290670335 : 1290670331); + break; + case 0: + { + PathfindResult result = configuredTaskAwaiter.GetResult(); + return new NavPathfindResult(result.Waypoints, HasPartialInfo: true, result.IsPartial, result.EndDistance); + } + } + } + } + + private static async Task WrapLegacyPathfind(Task> pathfind) + { + int num = -802136330; + ConfiguredTaskAwaitable>.ConfiguredTaskAwaiter configuredTaskAwaiter = default(ConfiguredTaskAwaitable>.ConfiguredTaskAwaiter); + ConfiguredTaskAwaitable>.ConfiguredTaskAwaiter configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable>.ConfiguredTaskAwaiter); + while (true) + { + int num2 = num; + int num3 = -802136334; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -802136330; + break; + case 2: + await configuredTaskAwaiter; + num = -802136335; + break; + case 3: + configuredTaskAwaiter = configuredTaskAwaiter2; + configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable>.ConfiguredTaskAwaiter); + num = -802136333; + break; + case 4: + configuredTaskAwaiter = pathfind.ConfigureAwait(continueOnCapturedContext: false).GetAwaiter(); + num = (configuredTaskAwaiter.IsCompleted ? (-802136333) : (-802136336)); + break; + case 1: + return new NavPathfindResult(configuredTaskAwaiter.GetResult(), HasPartialInfo: false, IsPartial: false, 0f); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public void Stop() { - if (!IsNavmeshAvailable) + int num = ((!UseNative) ? 1744217165 : 1744217166); + while (true) { - return; - } - try - { - _pathStop.InvokeAction(); - } - catch (IpcError exception) - { - _logger.LogWarning(exception, "Could not stop navigating via navmesh"); + int num2 = num; + int num3 = 1744217164; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return; + case 2: + _wigglyNavIpc.Stop(); + return; + case 0: + num = 1744217166; + break; + case 1: + num = (IsNavmeshAvailable ? 1744217160 : 1744217167); + break; + case 4: + try + { + S.PathStop.InvokeAction(); + return; + } + catch (IpcError ipcError) + { + _202D_206A_206A_206E_202E_200C_206D_202C_200B_200E_200F_202B_200D_206B_200C_202B_206C_200D_206E_206C_200F_200D_206A_200B_200C_200B_206F_206B_200F_206E_206B_202C_202E_202B_200D_200D_200E_202C_200D_206B_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-1450190224), Array.Empty()); + return; + } + } } } + [MethodImpl(MethodImplOptions.NoInlining)] public void Reload() { - if (!IsNavmeshAvailable) + int num = ((!UseNative) ? (-215489094) : (-215489092)); + while (true) { - return; - } - try - { - _navReload.InvokeFunc(); - } - catch (IpcError exception) - { - _logger.LogWarning(exception, "Could not reload navmesh"); + int num2 = num; + int num3 = -215489090; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return; + case 2: + _wigglyNavIpc.Reload(); + return; + case 0: + num = -215489092; + break; + case 4: + num = (IsNavmeshAvailable ? (-215489089) : (-215489091)); + break; + case 1: + try + { + S.NavReload.InvokeFunc(); + return; + } + catch (IpcError ipcError) + { + _202D_206A_206A_206E_202E_200C_206D_202C_200B_200E_200F_202B_200D_206B_200C_202B_206C_200D_206E_206C_200F_200D_206A_200B_200C_200B_206F_206B_200F_206E_206B_202C_202E_202B_200D_200D_200E_202C_200D_206B_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-282340693), Array.Empty()); + return; + } + } } } + [MethodImpl(MethodImplOptions.NoInlining)] public void Rebuild() { - if (!IsNavmeshAvailable) + int num = ((!UseNative) ? (-428977095) : (-428977089)); + while (true) { - return; - } - try - { - _navRebuild.InvokeFunc(); - } - catch (IpcError exception) - { - _logger.LogWarning(exception, "Could not rebuild navmesh"); + int num2 = num; + int num3 = -428977091; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return; + case 4: + num = (IsNavmeshAvailable ? (-428977090) : (-428977092)); + break; + case 2: + _wigglyNavIpc.Rebuild(); + return; + case 0: + num = -428977089; + break; + case 3: + try + { + S.NavRebuild.InvokeFunc(); + return; + } + catch (IpcError ipcError) + { + _202D_206A_206A_206E_202E_200C_206D_202C_200B_200E_200F_202B_200D_206B_200C_202B_206C_200D_206E_206C_200F_200D_206A_200B_200C_200B_206F_206B_200F_206E_206B_202C_202E_202B_200D_200D_200E_202C_200D_206B_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(856449063), Array.Empty()); + return; + } + } } } - public Task> Pathfind(Vector3 localPlayerPosition, Vector3 targetPosition, bool fly, CancellationToken cancellationToken) + [MethodImpl(MethodImplOptions.NoInlining)] + public Task Pathfind(Vector3 localPlayerPosition, Vector3 targetPosition, bool fly, CancellationToken cancellationToken) { - if (!IsNavmeshAvailable) + NoticeFallbackToVnavmesh(); + int num = ((!UseNative) ? (-990840737) : (-990840738)); + while (true) { - return Task.FromResult(new List()); - } - try - { - _pathSetTolerance.InvokeAction(0.25f); - return _navPathfind.InvokeFunc(localPlayerPosition, targetPosition, fly, cancellationToken); - } - catch (IpcError exception) - { - _logger.LogWarning(exception, "Could not pathfind via navmesh"); - return Task.FromException>(exception); + int num2 = num; + int num3 = -990840737; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = -990840738; + break; + case 0: + num = (IsNavmeshAvailable ? (-990840740) : (-990840739)); + break; + case 1: + return PathfindNative(localPlayerPosition, targetPosition, fly, 0f, cancellationToken); + case 2: + return Task.FromResult(EmptyPathfindResult()); + case 3: + try + { + S.PathSetTolerance.InvokeAction(0.25f); + return WrapLegacyPathfind(S.NavPathfind.InvokeFunc(localPlayerPosition, targetPosition, fly, cancellationToken)); + } + catch (IpcError ipcError) + { + _202D_206A_206A_206E_202E_200C_206D_202C_200B_200E_200F_202B_200D_206B_200C_202B_206C_200D_206E_206C_200F_200D_206A_200B_200C_200B_206F_206B_200F_206E_206B_202C_202E_202B_200D_200D_200E_202C_200D_206B_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-1378323233), Array.Empty()); + return Task.FromException(ipcError); + } + } } } - public Task> PathfindWithTolerance(Vector3 localPlayerPosition, Vector3 targetPosition, bool fly, float tolerance, CancellationToken cancellationToken) + [MethodImpl(MethodImplOptions.NoInlining)] + public Task PathfindWithTolerance(Vector3 localPlayerPosition, Vector3 targetPosition, bool fly, float tolerance) { - if (!IsNavmeshAvailable) + NoticeFallbackToVnavmesh(); + int num = ((!UseNative) ? 104441860 : 104441857); + while (true) { - return Task.FromResult(new List()); - } - try - { - _pathSetTolerance.InvokeAction(tolerance); - return _pluginInterface.GetIpcSubscriber>>("vnavmesh.Nav.PathfindWithToleranceCancelable").InvokeFunc(localPlayerPosition, targetPosition, fly, tolerance, cancellationToken); - } - catch (IpcError exception) - { - _logger.LogWarning(exception, "Could not pathfind with tolerance via navmesh"); - return Task.FromException>(exception); + int num2 = num; + int num3 = 104441856; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return Task.FromResult(EmptyPathfindResult()); + case 4: + num = (IsNavmeshAvailable ? 104441856 : 104441859); + break; + case 1: + return PathfindNative(localPlayerPosition, targetPosition, fly, tolerance, CancellationToken.None); + case 2: + num = 104441857; + break; + case 0: + try + { + S.PathSetTolerance.InvokeAction(tolerance); + return WrapLegacyPathfind(S.NavPathfindWithTolerance.InvokeFunc(localPlayerPosition, targetPosition, fly, tolerance)); + } + catch (IpcError ipcError) + { + _202D_206A_206A_206E_202E_200C_206D_202C_200B_200E_200F_202B_200D_206B_200C_202B_206C_200D_206E_206C_200F_200D_206A_200B_200C_200B_206F_206B_200F_206E_206B_202C_202E_202B_200D_200D_200E_202C_200D_206B_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(1825421646), Array.Empty()); + return Task.FromException(ipcError); + } + } } } - public void MoveTo(List position, bool fly) + [MethodImpl(MethodImplOptions.NoInlining)] + public void MoveTo(List position, bool fly, float arrivalTolerance) { - if (!IsNavmeshAvailable) + NoticeFallbackToVnavmesh(); + int num = ((!UseNative) ? (-101859239) : (-101859237)); + while (true) { - return; - } - Stop(); - try - { - _pathMoveTo.InvokeAction(position, fly); - } - catch (IpcError exception) - { - _logger.LogWarning(exception, "Could not move via navmesh"); + int num2 = num; + int num3 = -101859238; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + return; + case 3: + num = (IsNavmeshAvailable ? (-101859233) : (-101859234)); + break; + case 0: + num = -101859237; + break; + case 4: + return; + case 1: + num = (_wigglyNavIpc.MoveTo(position, fly, arrivalTolerance) ? (-101859236) : (-101859240)); + break; + case 2: + _200E_200D_206A_206C_202A_202E_206D_202D_206B_200E_206B_200E_200F_206E_200C_200C_206D_206D_206B_200C_200C_206B_200C_200B_206D_202A_200D_200E_200C_206F_206E_206F_206B_202E_206C_200B_202B_200C_200E_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1935526843), Array.Empty()); + num = -101859236; + break; + case 5: + Stop(); + try + { + S.PathMoveTo.InvokeAction(position, fly); + return; + } + catch (IpcError ipcError) + { + _202D_206A_206A_206E_202E_200C_206D_202C_200B_200E_200F_202B_200D_206B_200C_202B_206C_200D_206E_206C_200F_200D_206A_200B_200C_200B_206F_206B_200F_206E_206B_202C_202E_202B_200D_200D_200E_202C_200D_206B_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(-45410338), Array.Empty()); + return; + } + } } } public Vector3? GetPointOnFloor(Vector3 position, bool unlandable) { - try + int num = ((!UseNative) ? (-1834554284) : (-1834554281)); + while (true) { - return _queryPointOnFloor.InvokeFunc(position, unlandable, 0.2f); - } - catch (IpcError) - { - return null; + int num2 = num; + int num3 = -1834554283; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 2: + return _wigglyNavIpc.GetPointOnFloor(position, unlandable, 0.2f); + case 1: + try + { + return S.QueryPointOnFloor.InvokeFunc(position, unlandable, 0.2f); + } + catch (IpcError) + { + return null; + } + } + continue; + IL_0049: + num = -1834554281; } } public Vector3? GetPointOnFloor(Vector3 position, bool unlandable, float halfExtentXZ) { - try + int num = ((!UseNative) ? 1192134162 : 1192134163); + while (true) { - return _queryPointOnFloor.InvokeFunc(position, unlandable, halfExtentXZ); - } - catch (IpcError) - { - return null; + int num2 = num; + int num3 = 1192134162; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 1: + return _wigglyNavIpc.GetPointOnFloor(position, unlandable, halfExtentXZ); + case 0: + try + { + return S.QueryPointOnFloor.InvokeFunc(position, unlandable, halfExtentXZ); + } + catch (IpcError) + { + return null; + } + } + continue; + IL_0049: + num = 1192134163; } } public Vector3? FindNearestMeshPoint(Vector3 position, float halfExtentXZ, float halfExtentY) { - try + int num = ((!UseNative) ? 564309347 : 564309346); + while (true) { - return _queryNearestPoint.InvokeFunc(position, halfExtentXZ, halfExtentY); + int num2 = num; + int num3 = 564309347; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004b; + case 1: + return _wigglyNavIpc.FindNearestMeshPoint(position, halfExtentXZ, halfExtentY); + case 0: + try + { + return S.QueryNearestPoint.InvokeFunc(position, halfExtentXZ, halfExtentY); + } + catch (IpcError) + { + return null; + } + } + continue; + IL_004b: + num = 564309346; } - catch (IpcError) + } + + public Vector3? FindNearestReachableMeshPoint(Vector3 position, float halfExtentXZ, float halfExtentY) + { + int num = ((!UseNative) ? 1954017115 : 1954017114); + while (true) { - return null; + int num2 = num; + int num3 = 1954017115; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 1: + return _wigglyNavIpc.FindNearestReachableMeshPoint(position, halfExtentXZ, halfExtentY); + case 0: + try + { + return S.QueryNearestPointReachable.InvokeFunc(position, halfExtentXZ, halfExtentY); + } + catch (IpcError) + { + return null; + } + } + continue; + IL_0049: + num = 1954017114; } } public List GetWaypoints() { - if (IsPathRunning) + int num = ((!UseNative) ? 59476464 : 59476467); + while (true) { - try - { - return _pathListWaypoints.InvokeFunc(); - } - catch (IpcError) + int num2 = num; + int num3 = 59476466; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 0: + goto IL_0048; + case 1: + return _wigglyNavIpc.GetWaypoints(); + case 2: + if (IsPathRunning) + { + try + { + return S.PathListWaypoints.InvokeFunc(); + } + catch (IpcError) + { + return new List(); + } + } return new List(); } + continue; + IL_0048: + num = 59476467; } - return new List(); } public int GetBuildProgress() { - try + int num = ((!UseNative) ? 1484625177 : 1484625178); + while (true) { - float num = _buildProgress.InvokeFunc(); - if (num < 0f) + int num2 = num; + int num3 = 1484625179; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - return 100; + case 0: + goto IL_004b; + case 1: + return _wigglyNavIpc.GetBuildProgress(); + case 2: + try + { + float num7 = S.BuildProgress.InvokeFunc(); + num = ((!(num7 < 0f)) ? 405562124 : 405562127); + while (true) + { + int num8 = num; + num3 = 405562125; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + goto IL_00bf; + case 2: + return 100; + case 1: + return (int)(num7 * 100f); + } + continue; + IL_00bf: + num = 405562127; + } + } + catch (IpcError) + { + return 0; + } } - return (int)(num * 100f); - } - catch (IpcError) - { - return 0; + continue; + IL_004b: + num = 1484625178; } } + + private static NavPathfindResult EmptyPathfindResult() + { + return new NavPathfindResult(new List(), HasPartialInfo: false, IsPartial: false, 0f); + } + + static void _200F_206F_200D_206C_202A_206D_206C_202A_202A_200E_200D_206C_206E_206B_206E_200C_206A_200C_200F_206C_200D_202C_202D_206E_200E_206A_206F_206C_206A_200D_200F_202C_206A_202D_206D_206A_206E_200B_202A_206A_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static void _202D_206A_206A_206E_202E_200C_206D_202C_200B_200E_200F_202B_200D_206B_200C_202B_206C_200D_206E_206C_200F_200D_206A_200B_200C_200B_206F_206B_200F_206E_206B_202C_202E_202B_200D_200D_200E_202C_200D_206B_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static void _200E_200D_206A_206C_202A_202E_206D_202D_206B_200E_206B_200E_200F_206E_200C_200C_206D_206D_206B_200C_200C_206B_200C_200B_206D_202A_200D_200E_200C_206F_206E_206F_206B_202E_206C_200B_202B_200C_200E_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } } diff --git a/Questionable/Questionable.External/PandorasBoxIpc.cs b/Questionable/Questionable.External/PandorasBoxIpc.cs index 9a51124b..eb162d20 100644 --- a/Questionable/Questionable.External/PandorasBoxIpc.cs +++ b/Questionable/Questionable.External/PandorasBoxIpc.cs @@ -1,11 +1,10 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; -using System.Threading.Tasks; +using System.Runtime.CompilerServices; 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 +13,35 @@ 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" + global::_003CModule_003E._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(1616111798), + global::_003CModule_003E._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(1357410567), + global::_003CModule_003E._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(-1401269692), + global::_003CModule_003E._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(-1855030583), + global::_003CModule_003E._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(-1419570559), + global::_003CModule_003E._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(149571058), + global::_003CModule_003E._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(918765153), + global::_003CModule_003E._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(324148354), + global::_003CModule_003E._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(1441534502), + global::_003CModule_003E._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(-1342775702), + global::_003CModule_003E._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(917802614), + global::_003CModule_003E._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(-923476706), + global::_003CModule_003E._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(-1001272448), + global::_003CModule_003E._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(-1171663763), + global::_003CModule_003E._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(213726178), + global::_003CModule_003E._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(1137319472), + global::_003CModule_003E._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(1873399642), + global::_003CModule_003E._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(1676513025), + global::_003CModule_003E._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(-53557543), + global::_003CModule_003E._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(1318853520), + global::_003CModule_003E._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(1902156422), + global::_003CModule_003E._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(-2045136826), + global::_003CModule_003E._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(603380574), + global::_003CModule_003E._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(-941639504) }.ToImmutableHashSet(); - private const string AutoActiveTimeManeuverFeature = "Auto Active Time Maneuver"; + internal const string AutoActiveTimeManeuverFeature = "Auto Active Time Maneuver"; private readonly Configuration _configuration; @@ -31,124 +51,230 @@ 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) + [MethodImpl(MethodImplOptions.NoInlining)] + 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 = _202D_202B_202E_200B_206D_200B_206E_206F_206A_202A_200B_206B_206C_206B_206F_206D_200C_200D_206E_202A_200C_200D_202A_202A_200B_200D_200C_200C_206C_206F_202C_202B_200D_206A_206F_200C_206A_202C_200F_206C_202E(pluginInterface, global::_003CModule_003E._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(1668439260), global::_003CModule_003E._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(-816671911), (ILogger)logger); _questController.AutomationTypeChanged += OnAutomationTypeChanged; - _framework.Update += OnFrameworkUpdate; + _206B_206D_202C_206A_202A_200B_202D_200D_202E_200D_206E_202B_200E_200E_206D_206C_202E_200C_202C_202E_206E_206A_200F_206D_206D_200C_206C_206B_200F_206C_200B_200C_200F_206A_200C_202A_200F_200D_200C_202A_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); } private void OnAutomationTypeChanged(object sender, QuestController.EAutomationType automationType) { - if (automationType != QuestController.EAutomationType.Manual && !_territoryData.IsDutyInstance(_clientState.TerritoryType)) + int num = ((automationType == QuestController.EAutomationType.Manual) ? (-1872452755) : (-1872452756)); + while (true) { - Task.Run((Action)DisableConflictingFeatures); - } - else if (!_fateController.IsRunning && !_seasonalDutyController.IsRunning) - { - Task.Run((Action)RestoreConflictingFeatures); + int num2 = num; + int num3 = -1872452753; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = -1872452756; + break; + case 2: + num = (_fateController.IsRunning ? (-1872452754) : (-1872452760)); + break; + case 5: + InvokeGuarded(DisableConflictingFeatures); + return; + case 7: + num = (_seasonalDutyController.IsRunning ? (-1872452754) : (-1872452757)); + break; + case 1: + return; + case 4: + num = (_customDeliveryController.IsRunning ? (-1872452754) : (-1872452753)); + break; + case 0: + InvokeGuarded(delegate + { + _206D_206C_200B_202A_200F_206B_202E_200B_200F_200D_200F_202C_206B_206D_202B_202E_206E_200B_200E_206D_202B_206B_206C_200C_202A_206A_202C_200C_200D_202C_206D_200D_202C_206C_206C_206F_202C_202D_200D_202B_202E(_pauser); + }); + num = -1872452754; + break; + case 3: + num = (_territoryData.IsDutyInstance(_200E_202A_200D_200B_200E_206D_202B_206C_200E_206E_202A_206C_202E_206A_202B_206E_200D_200B_206D_206F_206B_200E_206D_206F_202B_202B_202E_206C_202C_206D_206E_206B_200F_206A_200D_202E_200D_200D_202E_200F_202E(_clientState)) ? (-1872452755) : (-1872452758)); + break; + } } } private void OnFrameworkUpdate(IFramework framework) { - bool flag = _fateController.IsRunning || _seasonalDutyController.IsRunning; - if (flag != _wasFateRunning) + int num = (_fateController.IsRunning ? (-793436018) : (-793436032)); + bool flag = default(bool); + while (true) { - _wasFateRunning = flag; - if (flag && !_territoryData.IsDutyInstance(_clientState.TerritoryType)) + int num2 = num; + int num3 = -793436025; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) { - Task.Run((Action)DisableConflictingFeatures); - } - else if (_questController.AutomationType == QuestController.EAutomationType.Manual) - { - Task.Run((Action)RestoreConflictingFeatures); + case 0: + return; + case 9: + num5 = 1; + goto IL_006d; + case 6: + num = ((_questController.AutomationType != QuestController.EAutomationType.Manual) ? (-793436019) : (-793436027)); + break; + case 1: + InvokeGuarded(DisableConflictingFeatures); + return; + case 5: + num = -793436032; + break; + case 10: + return; + case 3: + num = (_territoryData.IsDutyInstance(_200E_202A_200D_200B_200E_206D_202B_206C_200E_206E_202A_206C_202E_206A_202B_206E_200D_200B_206D_206F_206B_200E_206D_206F_202B_202B_202E_206C_202C_206D_206E_206B_200F_206A_200D_202E_200D_200D_202E_200F_202E(_clientState)) ? (-793436031) : (-793436026)); + break; + case 2: + InvokeGuarded(delegate + { + _206D_206C_200B_202A_200F_206B_202E_200B_200F_200D_200F_202C_206B_206D_202B_202E_206E_200B_200E_206D_202B_206B_206C_200C_202A_206A_202C_200C_200D_202C_206D_200D_202C_206C_206C_206F_202C_202D_200D_202B_202E(_pauser); + }); + num = -793436019; + break; + case 8: + num5 = (_customDeliveryController.IsRunning ? 1 : 0); + goto IL_006d; + case 4: + _wasFateRunning = flag; + num = ((!flag) ? (-793436031) : (-793436028)); + break; + case 7: + { + num = (_seasonalDutyController.IsRunning ? (-793436018) : (-793436017)); + break; + } + IL_006d: + flag = (byte)num5 != 0; + num = ((flag != _wasFateRunning) ? (-793436029) : (-793436025)); + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] + private void InvokeGuarded(Action action) + { + try + { + action(); + } + catch (Exception ex) + { + _206D_202E_202B_202D_202A_200D_200E_200F_202D_202A_206B_202E_200C_206A_202B_200E_206E_200B_202C_202E_206E_200E_202A_206E_206C_200F_200F_206A_200D_200D_202A_200B_206E_200C_206F_200F_200E_200D_206E_202E_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-818958467), Array.Empty()); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DisableConflictingFeatures() + { + int num = (_configuration.General.AutoSolveQte ? 851339859 : 851339856); + ImmutableHashSet immutableHashSet; + while (true) + { + int num2 = num; + int num3 = 851339857; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 2: + immutableHashSet = ConflictingFeatures.Add(global::_003CModule_003E._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(1787972166)); + break; + case 1: + immutableHashSet = ConflictingFeatures; + break; + case 0: + goto IL_009c; + } + break; + IL_009c: + num = 851339856; + } + ImmutableHashSet immutableHashSet2 = immutableHashSet; + _206A_200F_206A_200D_206B_200D_202B_202E_202E_206A_202D_202B_200B_202A_200C_202E_200E_202C_206E_206B_200F_202E_202B_206E_206F_200F_200C_202D_206E_200D_202D_202B_206F_206C_202C_202B_206F_200C_206B_206B_202E(_pauser, (IEnumerable)immutableHashSet2.Except(_configuration.Advanced.PandoraFeatureExclusions)); + } + public void Dispose() { - _framework.Update -= OnFrameworkUpdate; + _200C_202A_200E_200E_206A_202C_202B_206F_202A_206C_200F_200F_200B_202C_206C_200F_206A_202B_200F_200E_206C_206B_206C_206F_206F_202C_200D_202D_202E_202A_202C_202D_202C_206D_200E_200B_202D_206F_202C_202E_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); _questController.AutomationTypeChanged -= OnAutomationTypeChanged; - RestoreConflictingFeatures(); + _200E_206E_200B_206C_206E_206C_206E_202C_206F_202E_206D_200B_200C_206B_202B_200E_200C_200E_206A_202C_202C_200D_206C_200B_206F_206E_200C_206D_202E_202E_200E_200E_206E_200D_202D_206D_202B_200D_202B_202A_202E(_pauser); } - private void DisableConflictingFeatures() + void IDisposable.Dispose() { - if (_pausedFeatures != null) - { - return; - } - _pausedFeatures = new HashSet(); - foreach (string conflictingFeature in ConflictingFeatures) - { - TryDisableFeature(conflictingFeature); - } - if (_configuration.General.AutoSolveQte) - { - TryDisableFeature("Auto Active Time Maneuver"); - } + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); } - private void TryDisableFeature(string feature) + static PluginFeaturePauser _202D_202B_202E_200B_206D_200B_206E_206F_206A_202A_200B_206B_206C_206B_206F_206D_200C_200D_206E_202A_200C_200D_202A_202A_200B_200D_200C_200C_206C_206F_202C_202B_200D_206A_206F_200C_206A_202C_200F_206C_202E(IDalamudPluginInterface P_0, string P_1, string P_2, ILogger P_3) { - 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) - { - } + return new PluginFeaturePauser(P_0, P_1, P_2, P_3); } - private void RestoreConflictingFeatures() + static void _206B_206D_202C_206A_202A_200B_202D_200D_202E_200D_206E_202B_200E_200E_206D_206C_202E_200C_202C_202E_206E_206A_200F_206D_206D_200C_206C_206B_200F_206C_200B_200C_200F_206A_200C_202A_200F_200D_200C_202A_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) { - 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; + P_0.Update += P_1; + } + + static uint _200E_202A_200D_200B_200E_206D_202B_206C_200E_206E_202A_206C_202E_206A_202B_206E_200D_200B_206D_206F_206B_200E_206D_206F_202B_202B_202E_206C_202C_206D_206E_206B_200F_206A_200D_202E_200D_200D_202E_200F_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static void _206D_202E_202B_202D_202A_200D_200E_200F_202D_202A_206B_202E_200C_206A_202B_200E_206E_200B_202C_202E_206E_200E_202A_206E_206C_200F_200F_206A_200D_200D_202A_200B_206E_200C_206F_200F_200E_200D_206E_202E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static void _206A_200F_206A_200D_206B_200D_202B_202E_202E_206A_202D_202B_200B_202A_200C_202E_200E_202C_206E_206B_200F_202E_202B_206E_206F_200F_200C_202D_206E_200D_202D_202B_206F_206C_202C_202B_206F_200C_206B_206B_202E(PluginFeaturePauser P_0, IEnumerable P_1) + { + P_0.Disable(P_1); + } + + static void _200C_202A_200E_200E_206A_202C_202B_206F_202A_206C_200F_200F_200B_202C_206C_200F_206A_202B_200F_200E_206C_206B_206C_206F_206F_202C_200D_202D_202E_202A_202C_202D_202C_206D_200E_200B_202D_206F_202C_202E_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update -= P_1; + } + + static void _200E_206E_200B_206C_206E_206C_206E_202C_206F_202E_206D_200B_200C_206B_202B_200E_200C_200E_206A_202C_202C_200D_206C_200B_206F_206E_200C_206D_202E_202E_200E_200E_206E_200D_202D_206D_202B_200D_202B_202A_202E(PluginFeaturePauser P_0) + { + P_0.Dispose(); + } + + static void _206D_206C_200B_202A_200F_206B_202E_200B_200F_200D_200F_202C_206B_206D_202B_202E_206E_200B_200E_206D_202B_206B_206C_200C_202A_206A_202C_200C_200D_202C_206D_200D_202C_206C_206C_206F_202C_202D_200D_202B_202E(PluginFeaturePauser P_0) + { + P_0.Restore(); } } diff --git a/Questionable/Questionable.External/PathfindQuery.cs b/Questionable/Questionable.External/PathfindQuery.cs new file mode 100644 index 00000000..4cbb6dcd --- /dev/null +++ b/Questionable/Questionable.External/PathfindQuery.cs @@ -0,0 +1,147 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace Questionable.External; + +internal sealed record PathfindQuery(Vector3 From, Vector3 To, bool Fly, float Tolerance) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_200C_200B_200D_200B_206F_206F_206F_202C_200D_200B_206D_206D_200C_200E_202D_200B_202C_202D_206D_202E_200F_200E_200C_200D_202E_206A_200C_202C_206C_202E_206C_202C_206B_206F_200E_200E_202D_206F_202D_202E(typeof(PathfindQuery).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_206C_206E_200C_202E_202A_200E_206A_206B_200D_202D_202B_206F_202D_202E_202D_202A_206D_202E_202B_200D_202A_206D_206E_202C_200B_200D_206A_200B_206F_200D_206F_202C_206E_200D_200C_206B_206C_200C_200F_202E(); + _206B_200F_200F_200E_202B_200C_200D_206B_206A_200B_206B_200F_202B_202B_200E_200F_206B_200B_206B_206A_202E_206A_200D_200B_202C_206D_206B_206F_202C_206B_200F_206F_206F_206A_206D_206C_206C_202C_206F_200F_202E(stringBuilder, global::_003CModule_003E._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(-545098859)); + _206B_200F_200F_200E_202B_200C_200D_206B_206A_200B_206B_200F_202B_202B_200E_200F_206B_200B_206B_206A_202E_206A_200D_200B_202C_206D_206B_206F_202C_206B_200F_206F_206F_206A_206D_206C_206C_202C_206F_200F_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? 1387886851 : 1387886850); + while (true) + { + int num2 = num; + int num3 = 1387886851; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _202A_202B_202D_202E_200D_202A_202B_206A_206F_206D_202D_202C_206F_206F_206E_202B_202D_206A_206F_200F_202A_200B_206C_200F_202C_202A_202B_206D_206F_200C_206D_206C_202C_200E_206C_202D_200C_206A_206F_202B_202E(stringBuilder, '}'); + return _206C_202D_202B_200D_200E_200C_202C_202A_206F_202A_200C_206B_200E_206D_206E_206A_206F_206F_206E_206C_202E_200E_206E_206E_206A_202E_200D_206C_202D_200C_206A_202B_206E_200E_206B_206C_206B_206D_206F_200F_202E((object)stringBuilder); + case 1: + _202A_202B_202D_202E_200D_202A_202B_206A_206F_206D_202D_202C_206F_206F_206E_202B_202D_206A_206F_200F_202A_200B_206C_200F_202C_202A_202B_206D_206F_200C_206D_206C_202C_200E_206C_202D_200C_206A_206F_202B_202E(stringBuilder, ' '); + num = 1387886851; + break; + case 2: + num = 1387886850; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206A_206C_200E_206B_202E_200E_202E_206B_206B_202B_202E_200D_202A_202B_206E_206E_200F_206B_202A_202D_200D_202B_206E_200F_206A_202B_206B_206E_202E_206B_206C_200D_206A_206F_202B_200F_202B_202B_202C_202E(); + _206B_200F_200F_200E_202B_200C_200D_206B_206A_200B_206B_200F_202B_202B_200E_200F_206B_200B_206B_206A_202E_206A_200D_200B_202C_206D_206B_206F_202C_206B_200F_206F_206F_206A_206D_206C_206C_202C_206F_200F_202E(builder, global::_003CModule_003E._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(1869557730)); + _206B_200F_200F_200E_202B_200C_200D_206B_206A_200B_206B_200F_202B_202B_200E_200F_206B_200B_206B_206A_202E_206A_200D_200B_202C_206D_206B_206F_202C_206B_200F_206F_206F_206A_206D_206C_206C_202C_206F_200F_202E(builder, From.ToString()); + _206B_200F_200F_200E_202B_200C_200D_206B_206A_200B_206B_200F_202B_202B_200E_200F_206B_200B_206B_206A_202E_206A_200D_200B_202C_206D_206B_206F_202C_206B_200F_206F_206F_206A_206D_206C_206C_202C_206F_200F_202E(builder, global::_003CModule_003E._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(2060111796)); + _206B_200F_200F_200E_202B_200C_200D_206B_206A_200B_206B_200F_202B_202B_200E_200F_206B_200B_206B_206A_202E_206A_200D_200B_202C_206D_206B_206F_202C_206B_200F_206F_206F_206A_206D_206C_206C_202C_206F_200F_202E(builder, To.ToString()); + _206B_200F_200F_200E_202B_200C_200D_206B_206A_200B_206B_200F_202B_202B_200E_200F_206B_200B_206B_206A_202E_206A_200D_200B_202C_206D_206B_206F_202C_206B_200F_206F_206F_206A_206D_206C_206C_202C_206F_200F_202E(builder, global::_003CModule_003E._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(-1534687079)); + _206B_200F_200F_200E_202B_200C_200D_206B_206A_200B_206B_200F_202B_202B_200E_200F_206B_200B_206B_206A_202E_206A_200D_200B_202C_206D_206B_206F_202C_206B_200F_206F_206F_206A_206D_206C_206C_202C_206F_200F_202E(builder, Fly.ToString()); + _206B_200F_200F_200E_202B_200C_200D_206B_206A_200B_206B_200F_202B_202B_200E_200F_206B_200B_206B_206A_202E_206A_200D_200B_202C_206D_206B_206F_202C_206B_200F_206F_206F_206A_206D_206C_206C_202C_206F_200F_202E(builder, global::_003CModule_003E._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(-1260288266)); + _206B_200F_200F_200E_202B_200C_200D_206B_206A_200B_206B_200F_202B_202B_200E_200F_206B_200B_206B_206A_202E_206A_200D_200B_202C_206D_206B_206F_202C_206B_200F_206F_206F_206A_206D_206C_206C_202C_206F_200F_202E(builder, Tolerance.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(PathfindQuery? other) + { + int num = (((object)this == other) ? 1954014884 : 1954014889); + while (true) + { + int num2 = num; + int num3 = 1954014892; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((!EqualityComparer.Default.Equals(Fly, other.Fly)) ? 1954014894 : 1954014892); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(From, other.From)) ? 1954014894 : 1954014893); + break; + case 5: + num = (((object)other == null) ? 1954014894 : 1954014890); + break; + case 6: + num = ((!_200D_206F_202A_200E_206F_206B_200D_202E_206D_200F_206C_200D_206C_202B_206D_206F_200B_200B_200D_200E_206C_206D_202B_200D_202E_206A_200C_200F_202E_202D_202C_206F_200C_206F_206C_206B_206C_200C_206F_206E_202E(EqualityContract, other.EqualityContract)) ? 1954014894 : 1954014891); + break; + case 8: + return true; + case 1: + num = ((!EqualityComparer.Default.Equals(To, other.To)) ? 1954014894 : 1954014888); + break; + case 0: + return EqualityComparer.Default.Equals(Tolerance, other.Tolerance); + case 2: + return false; + case 3: + num = 1954014889; + break; + } + } + } + + bool IEquatable.Equals(PathfindQuery? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_200C_200B_200D_200B_206F_206F_206F_202C_200D_200B_206D_206D_200C_200E_202D_200B_202C_202D_206D_202E_200F_200E_200C_200D_202E_206A_200C_202C_206C_202E_206C_202C_206B_206F_200E_200E_202D_206F_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202A_206C_206E_200C_202E_202A_200E_206A_206B_200D_202D_202B_206F_202D_202E_202D_202A_206D_202E_202B_200D_202A_206D_206E_202C_200B_200D_206A_200B_206F_200D_206F_202C_206E_200D_200C_206B_206C_200C_200F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206B_200F_200F_200E_202B_200C_200D_206B_206A_200B_206B_200F_202B_202B_200E_200F_206B_200B_206B_206A_202E_206A_200D_200B_202C_206D_206B_206F_202C_206B_200F_206F_206F_206A_206D_206C_206C_202C_206F_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202A_202B_202D_202E_200D_202A_202B_206A_206F_206D_202D_202C_206F_206F_206E_202B_202D_206A_206F_200F_202A_200B_206C_200F_202C_202A_202B_206D_206F_200C_206D_206C_202C_200E_206C_202D_200C_206A_206F_202B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_202D_202B_200D_200E_200C_202C_202A_206F_202A_200C_206B_200E_206D_206E_206A_206F_206F_206E_206C_202E_200E_206E_206E_206A_202E_200D_206C_202D_200C_206A_202B_206E_200E_206B_206C_206B_206D_206F_200F_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206A_206C_200E_206B_202E_200E_202E_206B_206B_202B_202E_200D_202A_202B_206E_206E_200F_206B_202A_202D_200D_202B_206E_200F_206A_202B_206B_206E_202E_206B_206C_200D_206A_206F_202B_200F_202B_202B_202C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _200D_206F_202A_200E_206F_206B_200D_202E_206D_200F_206C_200D_206C_202B_206D_206F_200B_200B_200D_200E_206C_206D_202B_200D_202E_206A_200C_200F_202E_202D_202C_206F_200C_206F_206C_206B_206C_200C_206F_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.External/PathfindResult.cs b/Questionable/Questionable.External/PathfindResult.cs new file mode 100644 index 00000000..e3b1b493 --- /dev/null +++ b/Questionable/Questionable.External/PathfindResult.cs @@ -0,0 +1,152 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace Questionable.External; + +internal sealed record PathfindResult(List Waypoints, bool IsPartial, string PartialReason, float EndDistance) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206C_202A_206F_202D_202D_206E_202C_200E_200C_202E_200C_206B_202B_202B_206A_206D_206A_202D_206D_206C_202C_206B_202D_202D_200D_206C_202A_200F_202C_206D_206D_200B_206C_206E_202C_206E_206E_206E_206B_206E_202E(typeof(PathfindResult).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202D_206F_202B_202D_202C_202A_206A_206D_202B_206A_206C_200F_200C_202D_200C_200E_206F_206C_206D_206C_206D_200F_202A_206E_206F_202C_202C_206B_206F_202B_206A_200F_206C_202D_206A_200B_206A_202B_200F_200C_202E(); + _206C_206B_202D_202A_200F_202B_200D_200B_200D_202D_206F_206D_206E_200D_202B_206B_206D_206F_202A_202B_202D_200B_200C_206B_200F_200B_202E_206F_206B_200B_202D_202A_206F_206A_202A_202C_202D_206B_202A_202A_202E(stringBuilder, global::_003CModule_003E._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(1943456613)); + _206C_206B_202D_202A_200F_202B_200D_200B_200D_202D_206F_206D_206E_200D_202B_206B_206D_206F_202A_202B_202D_200B_200C_206B_200F_200B_202E_206F_206B_200B_202D_202A_206F_206A_202A_202C_202D_206B_202A_202A_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? (-2114676598) : (-2114676599)); + while (true) + { + int num2 = num; + int num3 = -2114676600; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -2114676599; + break; + case 1: + _206D_206C_206B_206D_206A_200B_202C_202C_200F_202C_206F_206E_200D_200C_206B_206B_200B_200C_206D_200C_202E_206B_206B_206E_200F_200F_202A_206C_200D_206A_200E_200E_200D_202D_200C_206B_206B_206C_200E_206D_202E(stringBuilder, ' '); + num = -2114676598; + break; + case 2: + _206D_206C_206B_206D_206A_200B_202C_202C_200F_202C_206F_206E_200D_200C_206B_206B_200B_200C_206D_200C_202E_206B_206B_206E_200F_200F_202A_206C_200D_206A_200E_200E_200D_202D_200C_206B_206B_206C_200E_206D_202E(stringBuilder, '}'); + return _202B_202B_202C_200F_202E_200B_200B_200D_200D_200C_202D_200F_202A_202A_200F_200E_202A_206A_200C_200E_202C_200E_206B_200D_206B_206C_206F_202E_202C_206E_200E_200B_200D_200F_202E_206A_200B_206C_200F_202D_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202A_206D_206B_206B_202A_202D_202D_200F_202C_200B_206B_206C_202A_200D_206B_202C_206E_200B_206C_202D_202C_200C_202C_200B_206A_206B_202B_200C_202C_200D_200E_206C_202E_200E_202E_206C_202C_202E_206D_202E(); + _206C_206B_202D_202A_200F_202B_200D_200B_200D_202D_206F_206D_206E_200D_202B_206B_206D_206F_202A_202B_202D_200B_200C_206B_200F_200B_202E_206F_206B_200B_202D_202A_206F_206A_202A_202C_202D_206B_202A_202A_202E(builder, global::_003CModule_003E._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(-677874438)); + _200B_200D_206C_200D_202D_200C_206D_200B_206B_202A_206D_206C_200D_200D_202D_206C_206F_202B_200D_200F_200D_202E_206B_202C_206D_202C_206C_202D_200B_202D_206D_200F_206F_200F_200B_206C_206F_200F_202E_206E_202E(builder, (object)Waypoints); + _206C_206B_202D_202A_200F_202B_200D_200B_200D_202D_206F_206D_206E_200D_202B_206B_206D_206F_202A_202B_202D_200B_200C_206B_200F_200B_202E_206F_206B_200B_202D_202A_206F_206A_202A_202C_202D_206B_202A_202A_202E(builder, global::_003CModule_003E._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(-779972961)); + _206C_206B_202D_202A_200F_202B_200D_200B_200D_202D_206F_206D_206E_200D_202B_206B_206D_206F_202A_202B_202D_200B_200C_206B_200F_200B_202E_206F_206B_200B_202D_202A_206F_206A_202A_202C_202D_206B_202A_202A_202E(builder, IsPartial.ToString()); + _206C_206B_202D_202A_200F_202B_200D_200B_200D_202D_206F_206D_206E_200D_202B_206B_206D_206F_202A_202B_202D_200B_200C_206B_200F_200B_202E_206F_206B_200B_202D_202A_206F_206A_202A_202C_202D_206B_202A_202A_202E(builder, global::_003CModule_003E._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(-1363935452)); + _200B_200D_206C_200D_202D_200C_206D_200B_206B_202A_206D_206C_200D_200D_202D_206C_206F_202B_200D_200F_200D_202E_206B_202C_206D_202C_206C_202D_200B_202D_206D_200F_206F_200F_200B_206C_206F_200F_202E_206E_202E(builder, (object)PartialReason); + _206C_206B_202D_202A_200F_202B_200D_200B_200D_202D_206F_206D_206E_200D_202B_206B_206D_206F_202A_202B_202D_200B_200C_206B_200F_200B_202E_206F_206B_200B_202D_202A_206F_206A_202A_202C_202D_206B_202A_202A_202E(builder, global::_003CModule_003E._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(-243342175)); + _206C_206B_202D_202A_200F_202B_200D_200B_200D_202D_206F_206D_206E_200D_202B_206B_206D_206F_202A_202B_202D_200B_200C_206B_200F_200B_202E_206F_206B_200B_202D_202A_206F_206A_202A_202C_202D_206B_202A_202A_202E(builder, EndDistance.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(PathfindResult? other) + { + int num = (((object)this == other) ? (-28872494) : (-28872490)); + while (true) + { + int num2 = num; + int num3 = -28872494; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + return false; + case 3: + num = ((!EqualityComparer.Default.Equals(IsPartial, other.IsPartial)) ? (-28872492) : (-28872486)); + break; + case 7: + num = ((!_202A_206F_206F_202A_202C_202D_202C_200D_202E_202D_200E_200B_206C_200D_202D_202A_200C_200F_202A_200D_200E_202E_206A_206D_200D_200C_206D_206E_202C_206B_202C_206D_202A_206A_206F_206F_206C_206B_206E_202E_202E(EqualityContract, other.EqualityContract)) ? (-28872492) : (-28872493)); + break; + case 5: + num = -28872490; + break; + case 8: + num = ((!EqualityComparer.Default.Equals(PartialReason, other.PartialReason)) ? (-28872492) : (-28872496)); + break; + case 4: + num = (((object)other == null) ? (-28872492) : (-28872491)); + break; + case 1: + num = ((!EqualityComparer>.Default.Equals(Waypoints, other.Waypoints)) ? (-28872492) : (-28872495)); + break; + case 0: + return true; + case 2: + return EqualityComparer.Default.Equals(EndDistance, other.EndDistance); + } + } + } + + bool IEquatable.Equals(PathfindResult? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206C_202A_206F_202D_202D_206E_202C_200E_200C_202E_200C_206B_202B_202B_206A_206D_206A_202D_206D_206C_202C_206B_202D_202D_200D_206C_202A_200F_202C_206D_206D_200B_206C_206E_202C_206E_206E_206E_206B_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202D_206F_202B_202D_202C_202A_206A_206D_202B_206A_206C_200F_200C_202D_200C_200E_206F_206C_206D_206C_206D_200F_202A_206E_206F_202C_202C_206B_206F_202B_206A_200F_206C_202D_206A_200B_206A_202B_200F_200C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206C_206B_202D_202A_200F_202B_200D_200B_200D_202D_206F_206D_206E_200D_202B_206B_206D_206F_202A_202B_202D_200B_200C_206B_200F_200B_202E_206F_206B_200B_202D_202A_206F_206A_202A_202C_202D_206B_202A_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_206C_206B_206D_206A_200B_202C_202C_200F_202C_206F_206E_200D_200C_206B_206B_200B_200C_206D_200C_202E_206B_206B_206E_200F_200F_202A_206C_200D_206A_200E_200E_200D_202D_200C_206B_206B_206C_200E_206D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202B_202B_202C_200F_202E_200B_200B_200D_200D_200C_202D_200F_202A_202A_200F_200E_202A_206A_200C_200E_202C_200E_206B_200D_206B_206C_206F_202E_202C_206E_200E_200B_200D_200F_202E_206A_200B_206C_200F_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202A_206D_206B_206B_202A_202D_202D_200F_202C_200B_206B_206C_202A_200D_206B_202C_206E_200B_206C_202D_202C_200C_202C_200B_206A_206B_202B_200C_202C_200D_200E_206C_202E_200E_202E_206C_202C_202E_206D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200B_200D_206C_200D_202D_200C_206D_200B_206B_202A_206D_206C_200D_200D_202D_206C_206F_202B_200D_200F_200D_202E_206B_202C_206D_202C_206C_202D_200B_202D_206D_200F_206F_200F_200B_206C_206F_200F_202E_206E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202A_206F_206F_202A_202C_202D_202C_200D_202E_202D_200E_200B_206C_200D_202D_202A_200C_200F_202A_200D_200E_202E_206A_206D_200D_200C_206D_206E_202C_206B_202C_206D_202A_206A_206F_206F_206C_206B_206E_202E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.External/QuestionableIpc.cs b/Questionable/Questionable.External/QuestionableIpc.cs index 8dbe5361..26c6e8ec 100644 --- a/Questionable/Questionable.External/QuestionableIpc.cs +++ b/Questionable/Questionable.External/QuestionableIpc.cs @@ -1,20 +1,25 @@ using System; +using System.Collections; using System.Collections.Generic; -using System.Collections.Immutable; using System.Linq; using System.Numerics; -using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using Dalamud.Configuration; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin; using Dalamud.Plugin.Ipc; +using Dalamud.Plugin.Services; +using FFXIVClientStructs.FFXIV.Application.Network.WorkDefinitions; 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 +67,418 @@ internal sealed class QuestionableIpc : IDisposable public required string? QuestName { get; init; } } - private const string IpcIsRunning = "Questionable.IsRunning"; + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); - private const string IpcGetCurrentQuestId = "Questionable.GetCurrentQuestId"; + public static Func _003C_003E9__12_0; - private const string IpcGetCurrentStepData = "Questionable.GetCurrentStepData"; + public static Func _003C_003E9__17_3; - private const string IpcGetCurrentTask = "Questionable.GetCurrentTask"; + public static Func _003C_003E9__18_3; - private const string IpcGetCurrentlyActiveEventQuests = "Questionable.GetCurrentlyActiveEventQuests"; + public static Func _003C_003E9__18_4; - private const string IpcStartQuest = "Questionable.StartQuest"; + public static Func _003C_003E9__25_0; - private const string IpcStartSingleQuest = "Questionable.StartSingleQuest"; + public static Func<(int, int)> _003C_003E9__77_0; - private const string IpcIsQuestLocked = "Questionable.IsQuestLocked"; + public static Func _003C_003E9__103_0; - private const string IpcIsQuestComplete = "Questionable.IsQuestComplete"; + public static Func _003C_003E9__107_0; - private const string IpcIsReadyToAcceptQuest = "Questionable.IsReadyToAcceptQuest"; + public static Func _003C_003E9__112_0; - private const string IpcIsQuestAccepted = "Questionable.IsQuestAccepted"; + public static Func _003C_003E9__125_5; - private const string IpcIsQuestUnobtainable = "Questionable.IsQuestUnobtainable"; + public static Func _003C_003E9__157_0; + + public static Predicate _003C_003E9__160_0; + + public static Func _003C_003E9__168_0; + + public static Func _003C_003E9__168_1; + + public static Func _003C_003E9__168_2; + + internal string _003CGetAlliedSocietyAvailableQuestIds_003Eb__12_0(QuestId q) + { + return _206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)q); + } + + internal int _003CAddAlliedSocietyOptimalQuests_003Eb__17_3(QuestInfo questInfo) + { + return questInfo.AlliedSocietyRank; + } + + internal int _003CGetAlliedSocietyOptimalQuests_003Eb__18_3(QuestInfo questInfo) + { + return questInfo.AlliedSocietyRank; + } + + internal string _003CGetAlliedSocietyOptimalQuests_003Eb__18_4(QuestInfo q) + { + return _206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)q.QuestId); + } + + internal string _003CGetBlacklistedQuests_003Eb__25_0(ElementId q) + { + return _206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)q); + } + + internal (int, int) _003CRegisterMetaIpc_003Eb__77_0() + { + return ApiVersion; + } + + internal string _003CGetPriorityQuests_003Eb__103_0(Quest q) + { + return _206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)q.Id); + } + + internal string _003CGetPresetQuests_003Eb__107_0(ElementId q) + { + return _206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)q); + } + + internal bool _003CHasAvailablePriorityQuests_003Eb__112_0(PriorityQuestInfo x) + { + return x.IsAvailable; + } + + internal string _003CRegisterQuestStateIpc_003Eb__125_5(ElementId q) + { + return _206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)q); + } + + internal string _003CGetStopQuestList_003Eb__157_0(QuestCompleteCondition c) + { + return _206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)c.QuestId); + } + + internal bool _003CClearStopQuests_003Eb__160_0(StopCondition c) + { + return c is QuestCompleteCondition; + } + + internal bool _003CGetAllQuestSequenceStopConditions_003Eb__168_0(QuestCompleteCondition c) + { + return c.Sequence.HasValue; + } + + internal string _003CGetAllQuestSequenceStopConditions_003Eb__168_1(QuestCompleteCondition c) + { + return _206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)c.QuestId); + } + + internal int _003CGetAllQuestSequenceStopConditions_003Eb__168_2(QuestCompleteCondition c) + { + return c.Sequence.Value; + } + + static string _206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E(object P_0) + { + return P_0.ToString(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass104_0 + { + public ElementId elementId; + + internal bool _003CRemovePriorityQuest_003Eb__0(Quest q) + { + return _206A_206C_206B_200B_206A_200B_202C_202E_200C_206B_206B_200F_200D_202C_206D_202B_200D_200F_202E_202E_206F_202B_202D_206A_200F_200F_206F_202C_202E_206D_206A_202D_206D_200B_200C_206B_202E_202B_200F_200F_202E(q.Id, elementId); + } + + static bool _206A_206C_206B_200B_206A_200B_202C_202E_200C_206B_206B_200F_200D_202C_206D_202B_200D_200F_202E_202E_206F_202B_202D_206A_200F_200F_206F_202C_202E_206D_206A_202D_206D_200B_200C_206B_202E_202B_200F_200F_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass105_0 + { + public ElementId elementId; + + internal bool _003CReorderPriorityQuest_003Eb__0(Quest q) + { + return _200F_202C_206E_206D_200E_206D_206C_202D_202D_202D_200B_200F_202B_202C_200C_202A_200E_200F_200C_200B_202D_206F_206E_202A_202D_200D_202E_202C_200E_200D_206C_202C_200B_206D_202B_206D_206F_200C_206F_206F_202E(q.Id, elementId); + } + + static bool _200F_202C_206E_206D_200E_206D_206C_202D_202D_202D_200B_200F_202B_202C_200C_202A_200E_200F_200C_200B_202D_206F_206E_202A_202D_200D_202E_202C_200E_200D_206C_202C_200B_206D_202B_206D_206F_200C_206F_206F_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass108_0 + { + public ElementId elementId; + + internal bool _003CAddPresetToPriority_003Eb__0(Quest q) + { + return _206B_202C_206D_202B_206D_200D_206E_200E_200F_202A_202E_200B_206E_200B_202B_202A_200C_206A_206F_206F_206C_202E_202A_202B_202D_200F_200B_200D_200B_206B_200F_206C_206D_202E_206B_200E_206C_202E_200D_206F_202E(q.Id, elementId); + } + + static bool _206B_202C_206D_202B_206D_200D_206E_200E_200F_202A_202E_200B_206E_200B_202B_202A_200C_206A_206F_206F_206C_202E_202A_202B_202D_200F_200B_200D_200B_206B_200F_206C_206D_202E_206B_200E_206C_202E_200D_206F_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass110_0 + { + public ElementId elementId; + + internal bool _003CIsQuestInPriority_003Eb__0(Quest q) + { + return _206B_200E_200D_206D_206F_200F_200C_200D_200B_202E_200B_200C_206E_200F_200B_200E_206A_200D_206D_202C_202B_206B_206C_206F_200C_202B_206A_206A_202D_206E_200F_202C_206D_206C_206C_202C_200E_200D_206B_206A_202E(q.Id, elementId); + } + + static bool _206B_200E_200D_206D_206F_200F_200C_200D_200B_202E_200B_200C_206E_200F_200B_200E_206A_200D_206D_202C_202B_206B_206C_206F_200C_202B_206A_206A_202D_206E_200F_202C_206D_206C_206C_202C_200E_200D_206B_206A_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass111_0 + { + public ElementId elementId; + + internal bool _003CGetQuestPriorityIndex_003Eb__0(Quest q) + { + return _206B_200C_200D_200C_200B_202A_200F_206B_206C_202A_206A_200E_206D_200B_202E_200B_200C_206F_206A_206C_200B_202C_202B_206B_200E_206D_206A_206A_200B_206D_202A_202A_206B_202A_200C_202B_206E_200B_200F_202C_202E(q.Id, elementId); + } + + static bool _206B_200C_200D_200C_200B_202A_200F_206B_206C_202A_206A_200E_206D_200B_202E_200B_200C_206F_206A_206C_200B_202C_202B_206B_200E_206D_206A_206A_200B_206D_202A_202A_206B_202A_200C_202B_206E_200B_200F_202C_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass158_0 + { + public ElementId elementId; + + internal bool _003CAddStopQuest_003Eb__0(QuestCompleteCondition c) + { + return _202E_206B_200B_200F_202E_206D_202C_202E_202E_200B_200E_206D_206B_200B_202E_202E_206C_202A_200C_202C_206F_206F_202E_206C_200D_206F_206E_202B_200D_202B_206B_202C_200D_200D_206E_202B_202D_206C_200F_206B_202E(c.QuestId, elementId); + } + + static bool _202E_206B_200B_200F_202E_206D_202C_202E_202E_200B_200E_206D_206B_200B_202E_202E_206C_202A_200C_202C_206F_206F_202E_206C_200D_206F_206E_202B_200D_202B_206B_202C_200D_200D_206E_202B_202D_206C_200F_206B_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass159_0 + { + public ElementId elementId; + + internal bool _003CRemoveStopQuest_003Eb__0(QuestCompleteCondition c) + { + return _202B_206F_202A_200F_200E_206D_202B_206F_200C_200C_206E_206D_206C_202E_202C_206D_206D_202A_200B_202C_206F_202E_200B_206C_200C_206E_200C_206E_206D_202C_206D_202A_200D_200F_200C_200B_200C_200B_206C_202E_202E(c.QuestId, elementId); + } + + static bool _202B_206F_202A_200F_200E_206D_202B_206F_200C_200C_206E_206D_206C_202E_202C_206D_206D_202A_200B_202C_206F_202E_200B_206C_200C_206E_200C_206E_206D_202C_206D_202A_200D_200F_200C_200B_200C_200B_206C_202E_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass165_0 + { + public ElementId elementId; + + internal bool _003CGetQuestSequenceStopCondition_003Eb__0(QuestCompleteCondition c) + { + return _200D_202D_202E_202C_206E_206C_200E_206C_200B_206E_200E_202D_202A_206A_202A_200F_202B_206D_202E_206E_202D_200E_200C_206D_200E_206E_206F_200C_202D_206D_202B_202A_200D_206E_200E_202E_200D_206B_200B_202D_202E(c.QuestId, elementId); + } + + static bool _200D_202D_202E_202C_206E_206C_200E_206C_200B_206E_200E_202D_202A_206A_202A_200F_202B_206D_202E_206E_202D_200E_200C_206D_200E_206E_206F_200C_202D_206D_202B_202A_200D_206E_200E_202E_200D_206B_200B_202D_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass166_0 + { + public ElementId elementId; + + internal bool _003CSetQuestSequenceStopCondition_003Eb__0(QuestCompleteCondition c) + { + return _200D_202A_202A_206C_206B_206A_200D_206B_200C_200C_200B_202C_200F_202A_206F_206A_202B_202D_200E_202A_206F_206C_200F_202B_202C_206E_206A_202A_200C_202D_200E_200D_206F_200D_202A_206E_200C_202B_206C_200D_202E(c.QuestId, elementId); + } + + static bool _200D_202A_202A_206C_206B_206A_200D_206B_200C_200C_200B_202C_200F_202A_206F_206A_202B_202D_200E_202A_206F_206C_200F_202B_202C_206E_206A_202A_200C_202D_200E_200D_206F_200D_202A_206E_200C_202B_206C_200D_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass167_0 + { + public ElementId elementId; + + internal bool _003CRemoveQuestSequenceStopCondition_003Eb__0(QuestCompleteCondition c) + { + int num = ((!_206A_200B_206E_206B_202B_200C_206D_206A_200F_202C_206C_202B_202C_206F_202C_200C_206C_200B_202A_200E_200C_200B_206D_200D_200C_200F_200B_202B_202B_200E_202D_206B_206E_206F_200D_200D_206A_202A_200E_206C_202E(c.QuestId, elementId)) ? 1186797582 : 1186797583); + while (true) + { + int num2 = num; + int num3 = 1186797582; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0053; + case 0: + return false; + case 1: + return c.Sequence.HasValue; + } + continue; + IL_0053: + num = 1186797583; + } + } + + static bool _206A_200B_206E_206B_202B_200C_206D_206A_200F_202C_206C_202B_202C_206F_202C_200C_206C_200B_202A_200E_200C_200B_206D_200D_200C_200F_200B_202B_202B_200E_202D_206B_206E_206F_200D_200D_206A_202A_200E_206C_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass173_0 + { + public ElementId elementId; + + internal bool _003CGetQuestStopMode_003Eb__0(QuestCompleteCondition c) + { + return _206E_200F_202C_200C_202B_202B_202C_202B_200C_206E_202B_200D_202A_206A_206A_206A_206F_206E_200B_206B_206E_200D_202A_206D_206B_202D_200B_200D_202D_202A_200E_206A_202D_202C_202B_206C_200E_206C_206F_206D_202E(c.QuestId, elementId); + } + + static bool _206E_200F_202C_200C_202B_202B_202C_202B_200C_206E_202B_200D_202A_206A_206A_206A_206F_206E_200B_206B_206E_200D_202A_206D_206B_202D_200B_200D_202D_202A_200E_206A_202D_202C_202B_206C_200E_206C_206F_206D_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass174_0 + { + public ElementId elementId; + + internal bool _003CSetQuestStopMode_003Eb__0(QuestCompleteCondition c) + { + return _202D_202E_202C_202D_200D_200E_206F_202D_202A_206D_202D_206D_200D_202B_200B_206E_206A_206B_202C_202A_200B_206C_202C_206C_202E_206C_202C_200E_202C_202B_202C_200F_206A_206C_202C_200D_206F_200E_206F_206B_202E(c.QuestId, elementId); + } + + static bool _202D_202E_202C_202D_200D_200E_206F_202D_202A_206D_202D_206D_200D_202B_200B_206E_206A_206B_202C_202A_200B_206C_202C_206C_202E_206C_202C_200E_202C_202B_202C_200F_206A_206C_202C_200D_206F_200E_206F_206B_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass17_0 + { + public QuestInfo questInfo; + + internal bool _003CAddAlliedSocietyOptimalQuests_003Eb__4(Quest pq) + { + return _200B_206F_202A_200F_206A_206B_200F_206F_206B_206E_202E_202E_206D_206E_202C_202E_206F_206B_200B_202D_206D_200B_202B_200E_200F_202D_206D_200E_206F_206A_200E_206C_200E_206E_206B_202E_206C_206F_206A_200C_202E(pq.Id, questInfo.QuestId); + } + + static bool _200B_206F_202A_200F_206A_206B_200F_206F_206B_206E_202E_202E_206D_206E_202C_202E_206F_206B_200B_202D_206D_200B_202B_200E_200F_202D_206D_200E_206F_206A_200E_206C_200E_206E_206B_202E_206C_206F_206A_200C_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass18_0 + { + public QuestInfo questInfo; + + internal bool _003CGetAlliedSocietyOptimalQuests_003Eb__5(Quest pq) + { + return _200F_200B_200C_202B_200B_206B_206A_202C_202A_200B_202D_202A_206A_206F_206C_202A_206C_200E_200B_206D_200C_200D_200F_202C_202A_200D_202C_206B_200B_200C_202D_206C_200D_206E_206D_202B_206B_206B_200F_206F_202E(pq.Id, questInfo.QuestId); + } + + static bool _200F_200B_200C_202B_200B_206B_206A_202C_202A_200B_202D_202A_206A_206F_206C_202A_206C_200E_200B_206D_200C_200D_200F_202C_202A_200D_202C_206B_200B_200C_202D_206C_200D_206E_206D_202B_206B_206B_200F_206F_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + 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 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 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 +492,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 +540,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,1032 +604,42 @@ 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) + [MethodImpl(MethodImplOptions.NoInlining)] + private void RegisterAlliedSocietyIpc() { - QuestionableIpc questionableIpc = this; - _questController = questController; - _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) - { - 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) - { - 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) - { - if (!Enum.IsDefined(typeof(Configuration.EStopConditionMode), mode)) - { - 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); - 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); - } - - private bool StartQuest(string questId, bool single) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.TryGetQuest(elementId, out Quest quest)) - { - _questController.SetNextQuest(quest); - if (single) - { - _questController.StartSingleQuest("IPCQuestSelection"); - } - else - { - _questController.Start("IPCQuestSelection"); - } - return true; - } - return false; - } - - private StepData? GetStepData() - { - QuestController.QuestProgress currentQuest = _questController.CurrentQuest; - if (currentQuest == null) - { - return null; - } - string text = currentQuest.Quest.Id.ToString(); - if (string.IsNullOrEmpty(text)) - { - return null; - } - QuestStep questStep = currentQuest.Quest.FindSequence(currentQuest.Sequence)?.FindStep(currentQuest.Step); - if (questStep == null) - { - return null; - } - return new StepData - { - QuestId = text, - Sequence = currentQuest.Sequence, - Step = currentQuest.Step, - InteractionType = questStep.InteractionType.ToString(), - Position = questStep.Position, - TerritoryId = questStep.TerritoryId - }; - } - - private TaskData? GetCurrentTask() - { - ITask task = _questController.TaskQueue.CurrentTaskExecutor?.CurrentTask; - if (task == null) - { - return null; - } - int remainingTaskCount = _questController.TaskQueue.RemainingTasks.Count(); - string taskName = task.ToString() ?? "Unknown"; - return new TaskData - { - TaskName = taskName, - RemainingTaskCount = remainingTaskCount - }; - } - - private bool IsQuestLocked(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.TryGetQuest(elementId, out Quest _)) - { - return _questFunctions.IsQuestLocked(elementId); - } - return true; - } - - private bool IsQuestComplete(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) - { - return _questFunctions.IsQuestComplete(elementId); - } - return false; - } - - private bool IsReadyToAcceptQuest(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) - { - return _questFunctions.IsReadyToAcceptQuest(elementId); - } - return false; - } - - private bool IsQuestAccepted(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) - { - return _questFunctions.IsQuestAccepted(elementId); - } - return false; - } - - private bool IsQuestUnobtainable(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) - { - return _questFunctions.IsQuestUnobtainable(elementId); - } - return false; - } - - private int GetDefaultDutyMode() - { - return (int)_configuration.Duties.DefaultDutyMode; - } - - private bool SetDefaultDutyMode(int dutyMode) - { - if (!Enum.IsDefined(typeof(Configuration.EDutyMode), dutyMode)) - { - return false; - } - _configuration.Duties.DefaultDutyMode = (Configuration.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(Configuration.EDutyMode), dutyMode)) - { - return false; - } - _configuration.Duties.DutyModeOverrides[contentFinderConditionId] = (Configuration.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); - } - - private bool GetStopConditionsEnabled() - { - return _configuration.Stop.Enabled; - } - - private bool SetStopConditionsEnabled(bool enabled) - { - _configuration.Stop.Enabled = enabled; - _pluginInterface.SavePluginConfig(_configuration); - return true; - } - - private List GetStopQuestList() - { - return _configuration.Stop.QuestsToStopAfter.Select((ElementId q) => q.ToString()).ToList(); - } - - private bool AddStopQuest(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.IsKnownQuest(elementId) && !_configuration.Stop.QuestsToStopAfter.Contains(elementId)) - { - _configuration.Stop.QuestsToStopAfter.Add(elementId); - _pluginInterface.SavePluginConfig(_configuration); - return true; - } - return false; - } - - private bool RemoveStopQuest(string questId) - { - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null) - { - bool num = _configuration.Stop.QuestsToStopAfter.Remove(elementId); - if (num) - { - _configuration.Stop.QuestSequences.Remove(questId); - _pluginInterface.SavePluginConfig(_configuration); - } - return num; - } - return false; - } - - private bool ClearStopQuests() - { - _configuration.Stop.QuestsToStopAfter.Clear(); - _configuration.Stop.QuestSequences.Clear(); - _pluginInterface.SavePluginConfig(_configuration); - return true; - } - - private StopConditionData GetLevelStopCondition() - { - return new StopConditionData - { - Enabled = (_configuration.Stop.LevelStopMode != Configuration.EStopConditionMode.Off), - TargetValue = _configuration.Stop.TargetLevel - }; - } - - private bool SetLevelStopCondition(bool enabled, int targetLevel) - { - if (targetLevel < 1 || targetLevel > 100) - { - return false; - } - _configuration.Stop.LevelStopMode = (enabled ? Configuration.EStopConditionMode.Pause : Configuration.EStopConditionMode.Off); - _configuration.Stop.TargetLevel = targetLevel; - _pluginInterface.SavePluginConfig(_configuration); - return true; - } - - private StopConditionData GetSequenceStopCondition() - { - return new StopConditionData - { - Enabled = (_configuration.Stop.SequenceStopMode != Configuration.EStopConditionMode.Off), - TargetValue = _configuration.Stop.TargetSequence - }; - } - - private bool SetSequenceStopCondition(bool enabled, int targetSequence) - { - if (targetSequence < 0 || targetSequence > 255) - { - return false; - } - _configuration.Stop.SequenceStopMode = (enabled ? Configuration.EStopConditionMode.Pause : Configuration.EStopConditionMode.Off); - _configuration.Stop.TargetSequence = targetSequence; - _pluginInterface.SavePluginConfig(_configuration); - return true; - } - - private int GetQuestSequenceStopCondition(string questId) - { - if (_configuration.Stop.QuestSequences.TryGetValue(questId, out var value) && value.HasValue) - { - return value.Value; - } - return -1; - } - - private bool SetQuestSequenceStopCondition(string questId, int targetSequence) - { - if (targetSequence < 0 || targetSequence > 255) - { - return false; - } - if (ElementId.TryFromString(questId, out ElementId elementId) && elementId != null && _questRegistry.IsKnownQuest(elementId)) - { - if (!_configuration.Stop.QuestsToStopAfter.Contains(elementId)) - { - _configuration.Stop.QuestsToStopAfter.Add(elementId); - } - _configuration.Stop.QuestSequences[questId] = targetSequence; - _pluginInterface.SavePluginConfig(_configuration); - return true; - } - return false; - } - - private bool RemoveQuestSequenceStopCondition(string questId) - { - bool num = _configuration.Stop.QuestSequences.Remove(questId); - if (num) - { - _pluginInterface.SavePluginConfig(_configuration); - } - return num; - } - - private Dictionary GetAllQuestSequenceStopConditions() - { - return _configuration.Stop.QuestSequences.Where>((KeyValuePair kvp) => kvp.Value.HasValue).ToDictionary((KeyValuePair kvp) => kvp.Key, (KeyValuePair kvp) => kvp.Value.Value); + Register(global::_003CModule_003E._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(2076909105), GetAlliedSocietyRemainingAllowances); + Register(global::_003CModule_003E._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(-2140661285), GetAlliedSocietyTimeUntilReset); + Register>(global::_003CModule_003E._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(-293474697), GetAlliedSocietyAvailableQuestIds); + Register(global::_003CModule_003E._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(1260096233), GetAlliedSocietyAllAvailableQuestCounts); + Register(global::_003CModule_003E._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(-1318334087), GetAlliedSocietyIsMaxRank); + Register(global::_003CModule_003E._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(-1870708398), GetAlliedSocietyCurrentRank); + Register(global::_003CModule_003E._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(-1412290857), GetAlliedSocietiesWithAvailableQuests); + Register(global::_003CModule_003E._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(622905718), AddAlliedSocietyOptimalQuests); + Register>(global::_003CModule_003E._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(-1796942929), GetAlliedSocietyOptimalQuests); } private unsafe int GetAlliedSocietyRemainingAllowances() { QuestManager* ptr = QuestManager.Instance(); - if (ptr == null) + int num = ((ptr != null) ? 493033467 : 493033466); + while (true) { - return 12; + int num2 = num; + int num3 = 493033467; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 1: + return 12; + case 0: + return (int)ptr->GetBeastTribeAllowance(); + } + continue; + IL_0049: + num = 493033466; } - return (int)ptr->GetBeastTribeAllowance(); } private long GetAlliedSocietyTimeUntilReset() @@ -1204,13 +650,30 @@ internal sealed class QuestionableIpc : IDisposable private List GetAlliedSocietyAvailableQuestIds(byte alliedSocietyId) { - if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId)) + int num = ((alliedSocietyId == 0) ? 1843134312 : 1843134315); + while (true) { - return new List(); + int num2 = num; + int num3 = 1843134313; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return new List(); + case 2: + num = (_202D_200C_206C_202C_206A_202D_200F_200C_200C_206C_206F_200C_202B_200E_202D_200B_202B_200C_206E_200E_206D_206E_206A_202B_206A_206D_206D_206B_206C_206E_206A_200E_202E_200B_200B_202E_200D_206D_202C_206F_202E(_206F_202E_202C_206D_206E_206A_200C_200E_206E_206E_206C_200F_206D_202C_206E_200C_206D_206C_206E_206E_206D_206A_202D_202C_200D_206E_206A_202B_202C_202C_200F_200C_200F_206B_202E_202B_202B_202D_206D_200D_202E(typeof(EAlliedSociety).TypeHandle), (object)alliedSocietyId) ? 1843134314 : 1843134312); + break; + case 3: + { + EAlliedSociety alliedSociety = (EAlliedSociety)alliedSocietyId; + return (from q in _serviceProvider.GetRequiredService().GetAvailableAlliedSocietyQuests(alliedSociety) + select _003C_003Ec._206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)q)).ToList(); + } + case 0: + num = 1843134315; + break; + } } - EAlliedSociety alliedSociety = (EAlliedSociety)alliedSocietyId; - return (from q in _serviceProvider.GetRequiredService().GetAvailableAlliedSocietyQuests(alliedSociety) - select q.ToString()).ToList(); } private Dictionary GetAlliedSocietyAllAvailableQuestCounts() @@ -1218,55 +681,189 @@ internal sealed class QuestionableIpc : IDisposable Dictionary dictionary = new Dictionary(); AlliedSocietyQuestFunctions requiredService = _serviceProvider.GetRequiredService(); EAlliedSociety[] values = Enum.GetValues(); - foreach (EAlliedSociety eAlliedSociety in values) + int num = 0; + int num2 = -106340309; + int count = default(int); + EAlliedSociety eAlliedSociety = default(EAlliedSociety); + while (true) { - if (eAlliedSociety != EAlliedSociety.None) + int num3 = num2; + int num4 = -106340306; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) { - int count = requiredService.GetAvailableAlliedSocietyQuests(eAlliedSociety).Count; - if (count > 0) - { - dictionary[(byte)eAlliedSociety] = count; - } + case 2: + return dictionary; + case 0: + { + int num6 = num; + num4 = 1; + num5 = num6; + num = (num5 | num4) + (num5 & num4); + num2 = -106340309; + break; + } + case 6: + count = requiredService.GetAvailableAlliedSocietyQuests(eAlliedSociety).Count; + num2 = ((count <= 0) ? (-106340306) : (-106340310)); + break; + case 1: + eAlliedSociety = values[num]; + num2 = ((eAlliedSociety == EAlliedSociety.None) ? (-106340306) : (-106340312)); + break; + case 4: + dictionary[(byte)eAlliedSociety] = count; + num2 = -106340306; + break; + case 3: + num2 = -106340309; + break; + case 5: + num2 = ((num < values.Length) ? (-106340305) : (-106340308)); + break; } } - return dictionary; } private unsafe bool GetAlliedSocietyIsMaxRank(byte alliedSocietyId) { - if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId) || alliedSocietyId == 0) + int num = ((!_202D_200C_206C_202C_206A_202D_200F_200C_200C_206C_206F_200C_202B_200E_202D_200B_202B_200C_206E_200E_206D_206E_206A_202B_206A_206D_206D_206B_206C_206E_206A_200E_202E_200B_200B_202E_200D_206D_202C_206F_202E(_206F_202E_202C_206D_206E_206A_200C_200E_206E_206E_206C_200F_206D_202C_206E_200C_206D_206C_206E_206E_206D_206A_202D_202C_200D_206E_206A_202B_202C_202C_200F_200C_200F_206B_202E_202B_202B_202D_206D_200D_202E(typeof(EAlliedSociety).TypeHandle), (object)alliedSocietyId)) ? 228684273 : 228684274); + byte b = default(byte); + byte b2 = default(byte); + QuestManager* ptr = default(QuestManager*); + while (true) { - return false; + int num2 = num; + int num3 = 228684272; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 4: + { + byte b3 = b; + return b2 >= b3; + } + case 0: + b = 7; + num = 228684276; + break; + case 6: + num = 228684279; + break; + case 2: + num = ((alliedSocietyId != 0) ? 228684283 : 228684273); + break; + case 9: + return false; + case 8: + goto IL_00d2; + case 13: + goto IL_00e1; + case 5: + num = 228684274; + break; + case 10: + { + Span beastReputation = ptr->BeastReputation; + num3 = 1; + num4 = alliedSocietyId; + byte rank = beastReputation[~(~num4 + num3)].Rank; + num3 = 127; + num4 = rank; + b2 = (byte)(num4 + num3 - (num4 | num3)); + switch ((EAlliedSociety)alliedSocietyId) + { + case EAlliedSociety.Ixal: + break; + case EAlliedSociety.Kobolds: + goto IL_00d2; + case EAlliedSociety.Amaljaa: + goto IL_00e1; + default: + goto IL_014e; + case EAlliedSociety.Sylphs: + goto IL_0169; + case EAlliedSociety.Sahagin: + goto IL_0178; + } + goto case 0; + } + case 7: + b = 8; + num = 228684276; + break; + case 3: + goto IL_0169; + case 12: + goto IL_0178; + case 11: + { + ptr = QuestManager.Instance(); + num = ((ptr != null) ? 228684282 : 228684281); + break; + } + IL_0178: + b = 3; + num = 228684276; + break; + IL_0169: + b = 3; + num = 228684276; + break; + IL_014e: + num = 228684278; + break; + IL_00e1: + b = 3; + num = 228684276; + break; + IL_00d2: + b = 3; + num = 228684276; + break; + } } - 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) + int num = ((!_202D_200C_206C_202C_206A_202D_200F_200C_200C_206C_206F_200C_202B_200E_202D_200B_202B_200C_206E_200E_206D_206E_206A_202B_206A_206D_206D_206B_206C_206E_206A_200E_202E_200B_200B_202E_200D_206D_202C_206F_202E(_206F_202E_202C_206D_206E_206A_200C_200E_206E_206E_206C_200F_206D_202C_206E_200C_206D_206C_206E_206E_206D_206A_202D_202C_200D_206E_206A_202B_202C_202C_200F_200C_200F_206B_202E_202B_202B_202D_206D_200D_202E(typeof(EAlliedSociety).TypeHandle), (object)alliedSocietyId)) ? 1395822041 : 1395822046); + QuestManager* ptr = default(QuestManager*); + while (true) { - return -1; + int num2 = num; + int num3 = 1395822043; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + ptr = QuestManager.Instance(); + num = ((ptr != null) ? 1395822040 : 1395822042); + break; + case 1: + return -1; + case 5: + num = ((alliedSocietyId != 0) ? 1395822047 : 1395822041); + break; + case 3: + { + Span beastReputation = ptr->BeastReputation; + num3 = 1; + num4 = alliedSocietyId; + byte rank = beastReputation[~(~num4 + num3)].Rank; + num3 = 127; + num4 = rank; + return (byte)((num4 | num3) - (num4 ^ num3)); + } + case 2: + return -1; + case 0: + num = 1395822046; + break; + } } - QuestManager* ptr = QuestManager.Instance(); - if (ptr == null) - { - return -1; - } - return (byte)(ptr->BeastReputation[alliedSocietyId - 1].Rank & 0x7F); } private List GetAlliedSocietiesWithAvailableQuests() @@ -1274,79 +871,646 @@ internal sealed class QuestionableIpc : IDisposable List list = new List(); AlliedSocietyQuestFunctions requiredService = _serviceProvider.GetRequiredService(); EAlliedSociety[] values = Enum.GetValues(); - foreach (EAlliedSociety eAlliedSociety in values) + int num = 0; + int num2 = 240220789; + EAlliedSociety eAlliedSociety = default(EAlliedSociety); + while (true) { - if (eAlliedSociety != EAlliedSociety.None && requiredService.GetAvailableAlliedSocietyQuests(eAlliedSociety).Count > 0) + int num3 = num2; + int num4 = 240220789; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) { + case 6: + return list; + case 1: + num2 = ((requiredService.GetAvailableAlliedSocietyQuests(eAlliedSociety).Count <= 0) ? 240220784 : 240220790); + break; + case 2: + eAlliedSociety = values[num]; + num2 = ((eAlliedSociety == EAlliedSociety.None) ? 240220784 : 240220788); + break; + case 0: + num2 = ((num < values.Length) ? 240220791 : 240220787); + break; + case 5: + { + int num8 = num; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + num = num9 + (num10 + num10); + num2 = 240220789; + break; + } + case 3: list.Add((byte)eAlliedSociety); + num2 = 240220784; + break; + case 4: + num2 = 240220789; + break; } } - return list; } private int AddAlliedSocietyOptimalQuests(byte alliedSocietyId) { - if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId) || alliedSocietyId == 0) + int num = ((!_202D_200C_206C_202C_206A_202D_200F_200C_200C_206C_206F_200C_202B_200E_202D_200B_202B_200C_206E_200E_206D_206E_206A_202B_206A_206D_206D_206B_206C_206E_206A_200E_202E_200B_200B_202E_200D_206D_202C_206F_202E(_206F_202E_202C_206D_206E_206A_200C_200E_206E_206E_206C_200F_206D_202C_206E_200C_206D_206C_206E_206E_206D_206A_202D_202C_200D_206E_206A_202B_202C_202C_200F_200C_200F_206B_202E_202B_202B_202D_206D_200D_202E(typeof(EAlliedSociety).TypeHandle), (object)alliedSocietyId)) ? (-494903143) : (-494903141)); + EAlliedSociety eAlliedSociety = default(EAlliedSociety); + List list = default(List); + List availableAlliedSocietyQuests = default(List); + int num7; + while (true) { - return 0; - } - EAlliedSociety eAlliedSociety = (EAlliedSociety)alliedSocietyId; - List availableAlliedSocietyQuests = _serviceProvider.GetRequiredService().GetAvailableAlliedSocietyQuests(eAlliedSociety); - if (availableAlliedSocietyQuests.Count == 0) - { - 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)) + int num2 = num; + int num3 = -494903144; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - num++; + default: + continue; + case 5: + num = (((int)eAlliedSociety <= 5) ? (-494903142) : (-494903140)); + continue; + case 9: + return 0; + case 7: + list = (from questInfo in availableAlliedSocietyQuests.Select(delegate(QuestId questId) + { + IQuestInfo questInfo; + int num18 = (_questData.TryGetQuestInfo(questId, out questInfo) ? (-722768619) : (-722768620)); + while (true) + { + int num19 = num18; + int num20 = -722768619; + int num21 = num19; + int num22 = num21 + num20; + int num23 = num21 & num20; + switch (num22 - (num23 + num23)) + { + case 2: + goto IL_0050; + case 1: + return (IQuestInfo)null; + case 0: + return questInfo; + } + continue; + IL_0050: + num18 = -722768620; + } + }).OfType().Where(delegate(QuestInfo questInfo) + { + Quest quest; + int num18 = ((!_questRegistry.TryGetQuest(questInfo.QuestId, out quest)) ? (-1336741797) : (-1336741798)); + while (true) + { + int num19 = num18; + int num20 = -1336741797; + int num21 = num19; + switch ((num21 | num20) - (num21 & num20)) + { + case 0: + return false; + case 1: + return !_202E_202D_202A_200B_206C_202D_202D_206E_202D_206E_206D_202B_200E_206F_206F_200D_206F_202C_206E_206F_200E_206D_202D_200D_202C_200B_200B_202C_202A_200F_202B_200E_206E_202B_202C_200F_206A_206F_206F_206E_202E(quest.Root); + case 2: + goto IL_0064; + } + continue; + IL_0064: + num18 = -1336741798; + } + }) + where !_questController.ManualPriorityQuests.Any((Quest pq) => _003C_003Ec__DisplayClass17_0._200B_206F_202A_200F_206A_206B_200F_206F_206B_206E_202E_202E_206D_206E_202C_202E_206F_206B_200B_202D_206D_200B_202B_200E_200F_202D_206D_200E_206F_206A_200E_206C_200E_206E_206B_202E_206C_206F_206A_200C_202E(pq.Id, questInfo.QuestId)) + orderby questInfo.AlliedSocietyRank descending + select questInfo).ToList(); + num = ((list.Count != 0) ? (-494903139) : (-494903151)); + continue; + case 3: + num = ((alliedSocietyId != 0) ? (-494903152) : (-494903143)); + continue; + case 1: + return 0; + case 0: + num = -494903141; + continue; + case 4: + num7 = 3; + break; + case 6: + return 0; + case 8: + eAlliedSociety = (EAlliedSociety)alliedSocietyId; + availableAlliedSocietyQuests = _serviceProvider.GetRequiredService().GetAvailableAlliedSocietyQuests(eAlliedSociety); + num = ((availableAlliedSocietyQuests.Count != 0) ? (-494903137) : (-494903138)); + continue; + case 2: + num7 = 12; + break; + } + break; + } + int alliedSocietyRemainingAllowances = GetAlliedSocietyRemainingAllowances(); + int count = _202A_202C_206D_200C_206E_200E_200C_202E_202C_200E_206B_200F_206E_202B_202C_200E_206D_200C_200D_200F_200D_200C_200D_200B_206C_200B_206F_200D_202B_200C_200F_202A_206A_202B_206D_200B_200D_202C_200F_202E_202E(_202A_202C_206D_200C_206E_200E_200C_202E_202C_200E_206B_200F_206E_202B_202C_200E_206D_200C_200D_200F_200D_200C_200D_200B_206C_200B_206F_200D_202B_200C_200F_202A_206A_202B_206D_200B_200D_202C_200F_202E_202E(num7, alliedSocietyRemainingAllowances), list.Count); + int num8 = 0; + IEnumerator enumerator = list.Take(count).GetEnumerator(); + try + { + num = 1244685087; + while (true) + { + int num9 = num; + int num3 = 1244685087; + int num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 2: + num = 1244685087; + break; + case 0: + num = (_202B_200B_206F_206F_202B_206D_202E_206A_202B_202A_200D_202D_206C_206C_206D_206B_202C_206F_200F_200F_200C_206D_200C_202B_206D_206A_206F_206D_200B_202E_206C_200C_200D_202B_200B_206F_202B_206D_206A_202D_202E((IEnumerator)enumerator) ? 1244685086 : 1244685083); + break; + case 3: + { + int num12 = num8; + num3 = 1; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + num8 = num13 + (num14 + num14); + num = 1244685087; + break; + } + case 1: + { + QuestInfo current = enumerator.Current; + num = ((!_questController.AddQuestPriority(current.QuestId)) ? 1244685087 : 1244685084); + break; + } + case 4: + return num8; + } + } + } + finally + { + num = ((enumerator == null) ? (-881446915) : (-881446916)); + while (true) + { + int num15 = num; + int num3 = -881446915; + int num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 2: + num = -881446916; + break; + case 1: + _206A_202B_200C_202D_202C_202B_206F_200D_206E_206E_206D_200C_206B_200C_202B_206B_202A_200E_206F_202B_200B_200E_206E_202E_200D_206D_200D_200F_200F_200E_202E_202A_202D_202C_206F_202E_202E_206D_206F_200E_202E((IDisposable)enumerator); + num = -881446915; + break; + case 0: + goto end_IL_02c0; + } + continue; + end_IL_02c0: + break; } } - return num; } private List GetAlliedSocietyOptimalQuests(byte alliedSocietyId) { - if (!Enum.IsDefined(typeof(EAlliedSociety), alliedSocietyId) || alliedSocietyId == 0) + int num = ((!_202D_200C_206C_202C_206A_202D_200F_200C_200C_206C_206F_200C_202B_200E_202D_200B_202B_200C_206E_200E_206D_206E_206A_202B_206A_206D_206D_206B_206C_206E_206A_200E_202E_200B_200B_202E_200D_206D_202C_206F_202E(_206F_202E_202C_206D_206E_206A_200C_200E_206E_206E_206C_200F_206D_202C_206E_200C_206D_206C_206E_206E_206D_206A_202D_202C_200D_206E_206A_202B_202C_202C_200F_200C_200F_206B_202E_202B_202B_202D_206D_200D_202E(typeof(EAlliedSociety).TypeHandle), (object)alliedSocietyId)) ? (-926269664) : (-926269663)); + EAlliedSociety eAlliedSociety = default(EAlliedSociety); + List availableAlliedSocietyQuests = default(List); + int num7; + List list = default(List); + while (true) { - return new List(); + int num2 = num; + int num3 = -926269658; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 3: + return new List(); + case 8: + eAlliedSociety = (EAlliedSociety)alliedSocietyId; + availableAlliedSocietyQuests = _serviceProvider.GetRequiredService().GetAvailableAlliedSocietyQuests(eAlliedSociety); + num = ((availableAlliedSocietyQuests.Count != 0) ? (-926269649) : (-926269659)); + continue; + case 7: + num = ((alliedSocietyId != 0) ? (-926269650) : (-926269664)); + continue; + case 4: + return new List(); + case 1: + num7 = 3; + break; + case 9: + list = (from questInfo in availableAlliedSocietyQuests.Select(delegate(QuestId questId) + { + IQuestInfo questInfo; + int num8 = (_questData.TryGetQuestInfo(questId, out questInfo) ? 939637066 : 939637067); + while (true) + { + int num9 = num8; + int num10 = 939637066; + int num11 = num9; + int num12 = num11 + num10; + int num13 = num11 & num10; + switch (num12 - (num13 + num13)) + { + case 0: + return questInfo; + case 1: + return (IQuestInfo)null; + case 2: + goto IL_0054; + } + continue; + IL_0054: + num8 = 939637067; + } + }).OfType().Where(delegate(QuestInfo questInfo) + { + Quest quest; + int num8 = ((!_questRegistry.TryGetQuest(questInfo.QuestId, out quest)) ? (-212680098) : (-212680099)); + while (true) + { + int num9 = num8; + int num10 = -212680097; + int num11 = num9; + int num12 = num11 + num10; + int num13 = num11 & num10; + switch (num12 - (num13 + num13)) + { + case 1: + return false; + case 2: + return !_202E_202D_202A_200B_206C_202D_202D_206E_202D_206E_206D_202B_200E_206F_206F_200D_206F_202C_206E_206F_200E_206D_202D_200D_202C_200B_200B_202C_202A_200F_202B_200E_206E_202B_202C_200F_206A_206F_206F_206E_202E(quest.Root); + case 0: + goto IL_0066; + } + continue; + IL_0066: + num8 = -212680099; + } + }) + where !_questController.ManualPriorityQuests.Any((Quest pq) => _003C_003Ec__DisplayClass18_0._200F_200B_200C_202B_200B_206B_206A_202C_202A_200B_202D_202A_206A_206F_206C_202A_206C_200E_200B_206D_200C_200D_200F_202C_202A_200D_202C_206B_200B_200C_202D_206C_200D_206E_206D_202B_206B_206B_200F_206F_202E(pq.Id, questInfo.QuestId)) + orderby questInfo.AlliedSocietyRank descending + select questInfo).ToList(); + num = ((list.Count != 0) ? (-926269660) : (-926269662)); + continue; + case 2: + num = (((int)eAlliedSociety <= 5) ? (-926269661) : (-926269657)); + continue; + case 6: + return new List(); + case 0: + num = -926269663; + continue; + case 5: + num7 = 12; + break; + } + break; } - 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); + int count = _202A_202C_206D_200C_206E_200E_200C_202E_202C_200E_206B_200F_206E_202B_202C_200E_206D_200C_200D_200F_200D_200C_200D_200B_206C_200B_206F_200D_202B_200C_200F_202A_206A_202B_206D_200B_200D_202C_200F_202E_202E(_202A_202C_206D_200C_206E_200E_200C_202E_202C_200E_206B_200F_206E_202B_202C_200E_206D_200C_200D_200F_200D_200C_200D_200B_206C_200B_206F_200D_202B_200C_200F_202A_206A_202B_206D_200B_200D_202C_200F_202E_202E(num7, alliedSocietyRemainingAllowances), list.Count); return (from q in list.Take(count) - select q.QuestId.ToString()).ToList(); + select _003C_003Ec._206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)q.QuestId)).ToList(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void RegisterBlacklistIpc() + { + Register(global::_003CModule_003E._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(1249293845), GetBlacklistedQuests); + Register(global::_003CModule_003E._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(1677465349), AddBlacklistedQuest); + Register(global::_003CModule_003E._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(237088340), RemoveBlacklistedQuest); + Register(global::_003CModule_003E._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(-1237204749), ClearBlacklistedQuests); + Register(global::_003CModule_003E._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(-652489492), IsQuestBlacklistedIpc); + } + + private List GetBlacklistedQuests() + { + return _configuration.General.BlacklistedQuests.Select((ElementId q) => _003C_003Ec._206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)q)).ToList(); + } + + private bool AddBlacklistedQuest(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 1581774878 : 1581774877); + while (true) + { + int num2 = num; + int num3 = 1581774876; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 1581774877; + break; + case 0: + num = ((!_configuration.General.BlacklistedQuests.Add(elementId)) ? 1581774878 : 1581774872); + break; + case 4: + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 1: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 1581774878 : 1581774876); + break; + case 2: + return false; + } + } + } + + private bool RemoveBlacklistedQuest(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? (-441645662) : (-441645664)); + while (true) + { + int num2 = num; + int num3 = -441645662; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -441645664; + break; + case 0: + return false; + case 1: + { + bool num5 = _configuration.General.BlacklistedQuests.Remove(elementId); + if (num5) + { + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + } + return num5; + } + case 2: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? (-441645662) : (-441645661)); + break; + } + } + } + + private bool ClearBlacklistedQuests() + { + _configuration.General.BlacklistedQuests.Clear(); + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + } + + private bool IsQuestBlacklistedIpc(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 500134267 : 500134265); + while (true) + { + int num2 = num; + int num3 = 500134266; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 500134265; + break; + case 0: + return _questFunctions.IsQuestBlacklisted(elementId); + case 3: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 500134267 : 500134266); + break; + case 1: + 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) + { + _questController = questController; + _eventInfoComponent = eventInfoComponent; + _questRegistry = questRegistry; + _questFunctions = questFunctions; + _questData = questData; + _manualPriorityComponent = manualPriorityComponent; + _configuration = configuration; + _pluginInterface = pluginInterface; + _serviceProvider = serviceProvider; + _autoDutyIpc = autoDutyIpc; + _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() + { + using (List.Enumerator enumerator = _unregisterActions.GetEnumerator()) + { + int num = -1757565413; + while (true) + { + int num2 = num; + int num3 = -1757565416; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1757565413; + break; + case 3: + num = (enumerator.MoveNext() ? (-1757565415) : (-1757565416)); + break; + case 1: + enumerator.Current(); + num = -1757565413; + break; + case 0: + goto end_IL_0017; + } + continue; + end_IL_0017: + break; + } + } + _unregisterActions.Clear(); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void RegisterDutyModeIpc() + { + Register(global::_003CModule_003E._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(-917197889), GetDefaultDutyMode); + Register(global::_003CModule_003E._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(-2032556591), SetDefaultDutyMode); + Register(global::_003CModule_003E._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(1663101475), GetDutyModeOverride); + Register(global::_003CModule_003E._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(1851355969), SetDutyModeOverride); + Register(global::_003CModule_003E._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(-1908470567), ClearDutyModeOverride); + Register(global::_003CModule_003E._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(-1999716752), ClearAllDutyModeOverrides); + } + + private int GetDefaultDutyMode() + { + return (int)_configuration.Duties.DefaultDutyMode; + } + + private bool SetDefaultDutyMode(int dutyMode) + { + int num = (_202D_200C_206C_202C_206A_202D_200F_200C_200C_206C_206F_200C_202B_200E_202D_200B_202B_200C_206E_200E_206D_206E_206A_202B_206A_206D_206D_206B_206C_206E_206A_200E_202E_200B_200B_202E_200D_206D_202C_206F_202E(_206F_202E_202C_206D_206E_206A_200C_200E_206E_206E_206C_200F_206D_202C_206E_200C_206D_206C_206E_206E_206D_206A_202D_202C_200D_206E_206A_202B_202C_202C_200F_200C_200F_206B_202E_202B_202B_202D_206D_200D_202E(typeof(EDutyMode).TypeHandle), (object)dutyMode) ? 1207559100 : 1207559101); + while (true) + { + int num2 = num; + int num3 = 1207559100; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _configuration.Duties.DefaultDutyMode = (EDutyMode)dutyMode; + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 1: + return false; + case 2: + goto IL_007d; + } + continue; + IL_007d: + num = 1207559101; + } + } + + private int GetDutyModeOverride(uint contentFinderConditionId) + { + EDutyMode value; + int num = ((!_configuration.Duties.DutyModeOverrides.TryGetValue(contentFinderConditionId, out value)) ? 623215586 : 623215587); + while (true) + { + int num2 = num; + int num3 = 623215586; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0058; + case 1: + return (int)value; + case 0: + return -1; + } + continue; + IL_0058: + num = 623215587; + } + } + + private bool SetDutyModeOverride(uint contentFinderConditionId, int dutyMode) + { + int num = (_202D_200C_206C_202C_206A_202D_200F_200C_200C_206C_206F_200C_202B_200E_202D_200B_202B_200C_206E_200E_206D_206E_206A_202B_206A_206D_206D_206B_206C_206E_206A_200E_202E_200B_200B_202E_200D_206D_202C_206F_202E(_206F_202E_202C_206D_206E_206A_200C_200E_206E_206E_206C_200F_206D_202C_206E_200C_206D_206C_206E_206E_206D_206A_202D_202C_200D_206E_206A_202B_202C_202C_200F_200C_200F_206B_202E_202B_202B_202D_206D_200D_202E(typeof(EDutyMode).TypeHandle), (object)dutyMode) ? (-572078912) : (-572078909)); + while (true) + { + int num2 = num; + int num3 = -572078910; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _configuration.Duties.DutyModeOverrides[contentFinderConditionId] = (EDutyMode)dutyMode; + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 1: + return false; + case 0: + goto IL_0081; + } + continue; + IL_0081: + num = -572078909; + } + } + + private bool ClearDutyModeOverride(uint contentFinderConditionId) + { + bool num = _configuration.Duties.DutyModeOverrides.Remove(contentFinderConditionId); + if (num) + { + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + } + return num; + } + + private bool ClearAllDutyModeOverrides() + { + _configuration.Duties.DutyModeOverrides.Clear(); + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void RegisterLevelingModeIpc() + { + Register(global::_003CModule_003E._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(-498899778), IsLevelingModeEnabled); + Register(global::_003CModule_003E._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(1336897088), SetLevelingModeEnabled); + Register(global::_003CModule_003E._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(-1557733366), GetMsqLevelLockInfo); + Register(global::_003CModule_003E._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(1017103127), StartLevelingMode); + Register(global::_003CModule_003E._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(-622057907), StopLevelingMode); } private bool IsLevelingModeEnabled() @@ -1357,91 +1521,89 @@ internal sealed class QuestionableIpc : IDisposable private bool SetLevelingModeEnabled(bool enabled) { _configuration.Duties.RunLevelingModeWhenUnderleveled = enabled; - _pluginInterface.SavePluginConfig(_configuration); + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); return true; } private MsqLevelLockData? GetMsqLevelLockInfo() { - var (flag, levelsNeeded, requiredLevel, questName) = _questFunctions.GetMsqLevelLockInfo(); - if (!flag) + (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 num = (item ? 1070966436 : 1070966439); + while (true) { - return null; + int num2 = num; + int num3 = 1070966438; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0072; + case 1: + return null; + case 2: + return new MsqLevelLockData + { + IsLevelLocked = item, + LevelsNeeded = item2, + RequiredLevel = item3, + QuestName = item4 + }; + } + continue; + IL_0072: + num = 1070966439; } - return new MsqLevelLockData - { - IsLevelLocked = flag, - LevelsNeeded = levelsNeeded, - RequiredLevel = requiredLevel, - QuestName = questName - }; } private bool StartLevelingMode() { - if (!_autoDutyIpc.IsConfiguredToRunLevelingMode()) + AutoDutyIpc autoDutyIpc = _autoDutyIpc; + IPlayerCharacter playerCharacter = _200C_206B_206C_202A_206C_202C_206A_200D_206F_202A_202E_206C_202A_200B_206D_200E_202A_206D_200D_202E_206C_202B_206A_206C_202D_202B_206C_206B_200E_202E_206A_200F_200E_206A_206F_202A_202C_206F_202E_206F_202E(_objectTable); + int num = (autoDutyIpc.IsConfiguredToRunLevelingMode((playerCharacter != null) ? _202C_206F_200F_202A_202A_206B_206D_206D_200F_206F_200B_202A_206C_206E_206C_206F_200F_206F_200D_206F_206A_206F_202E_206F_202C_200F_202D_206C_206C_202C_202B_206C_200D_202C_200C_202D_200D_206F_206D_202C_202E((ICharacter)playerCharacter) : 0) ? 107554743 : 107554740); + while (true) { - return false; + int num2 = num; + int num3 = 107554741; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_006a; + case 1: + return false; + case 2: + return _autoDutyIpc.StartLevelingMode(); + } + continue; + IL_006a: + num = 107554740; } - return _autoDutyIpc.StartLevelingMode(); } private bool StopLevelingMode() { - try - { - _autoDutyIpc.Stop(); - return true; - } - catch - { - return false; - } + return _autoDutyIpc.Stop(); } - private List GetBlacklistedQuests() + [MethodImpl(MethodImplOptions.NoInlining)] + private void RegisterMetaIpc() { - return _configuration.General.BlacklistedQuests.Select((ElementId q) => q.ToString()).ToList(); + Register(global::_003CModule_003E._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(2128629030), () => ((int, int))ApiVersion); } - private bool AddBlacklistedQuest(string questId) + [MethodImpl(MethodImplOptions.NoInlining)] + private void RegisterMsqPriorityIpc() { - 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; + Register(global::_003CModule_003E._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(1584443572), GetMsqPriorityMode); + Register(global::_003CModule_003E._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(1319735175), SetMsqPriorityMode); } private int GetMsqPriorityMode() @@ -1451,90 +1613,1387 @@ internal sealed class QuestionableIpc : IDisposable private bool SetMsqPriorityMode(int mode) { - if (!Enum.IsDefined(typeof(Configuration.EMsqPriorityMode), mode)) + int num = (_202D_200C_206C_202C_206A_202D_200F_200C_200C_206C_206F_200C_202B_200E_202D_200B_202B_200C_206E_200E_206D_206E_206A_202B_206A_206D_206D_206B_206C_206E_206A_200E_202E_200B_200B_202E_200D_206D_202C_206F_202E(_206F_202E_202C_206D_206E_206A_200C_200E_206E_206E_206C_200F_206D_202C_206E_200C_206D_206C_206E_206E_206D_206A_202D_202C_200D_206E_206A_202B_202C_202C_200F_200C_200F_206B_202E_202B_202B_202D_206D_200D_202E(typeof(Configuration.EMsqPriorityMode).TypeHandle), (object)mode) ? 996305117 : 996305116); + while (true) { - return false; + int num2 = num; + int num3 = 996305117; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _configuration.General.MsqPriority = (Configuration.EMsqPriorityMode)mode; + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 1: + return false; + case 2: + goto IL_007b; + } + continue; + IL_007b: + num = 996305116; } - _configuration.General.MsqPriority = (Configuration.EMsqPriorityMode)mode; - _pluginInterface.SavePluginConfig(_configuration); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void RegisterPriorityQuestIpc() + { + Register(global::_003CModule_003E._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(656046441), ImportQuestPriority); + Register(global::_003CModule_003E._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(-2131076108), AddQuestPriority); + Register(global::_003CModule_003E._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(1097084822), ClearQuestPriority); + Register(global::_003CModule_003E._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(-967816125), InsertQuestPriority); + Register(global::_003CModule_003E._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(-1016325483), _manualPriorityComponent.EncodeQuestPriority); + Register(global::_003CModule_003E._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(1614761), GetPriorityQuests); + Register(global::_003CModule_003E._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(-111599131), RemovePriorityQuest); + Register(global::_003CModule_003E._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(-1155729665), ReorderPriorityQuest); + Register(global::_003CModule_003E._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(-983485644), GetAvailablePresets); + Register>(global::_003CModule_003E._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(819753663), GetPresetQuests); + Register(global::_003CModule_003E._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(426331559), AddPresetToPriority); + Register(global::_003CModule_003E._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(712685081), IsPresetAvailable); + Register(global::_003CModule_003E._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(1861068734), IsQuestInPriority); + Register(global::_003CModule_003E._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(927613685), GetQuestPriorityIndex); + Register(global::_003CModule_003E._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(-1967016769), HasAvailablePriorityQuests); + } + + private bool ImportQuestPriority(string encodedQuestPriority) + { + List list = ManualPriorityComponent.DecodeQuestPriority(encodedQuestPriority); + int num = ((list.Count <= 0) ? (-1795566929) : (-1795566932)); + while (true) + { + int num2 = num; + int num3 = -1795566930; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return _questController.ImportQuestPriority(list); + case 0: + goto IL_005f; + } + continue; + IL_005f: + num = -1795566932; + } + } + + private bool ClearQuestPriority() + { + _questController.ClearQuestPriority(); return true; } - public void Dispose() + private bool AddQuestPriority(string questId) { - _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(); + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 75745772 : 75745773); + while (true) + { + int num2 = num; + int num3 = 75745772; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = ((!_questRegistry.IsKnownQuest(elementId)) ? 75745772 : 75745768); + break; + case 0: + return false; + case 3: + num = 75745773; + break; + case 4: + return _questController.AddQuestPriority(elementId); + case 1: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 75745772 : 75745774); + break; + } + } + } + + private bool InsertQuestPriority(int index, string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 1449771337 : 1449771336); + while (true) + { + int num2 = num; + int num3 = 1449771339; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 4: + num = ((!_questRegistry.IsKnownQuest(elementId)) ? 1449771337 : 1449771338); + break; + case 3: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 1449771337 : 1449771343); + break; + case 0: + num = 1449771336; + break; + case 1: + return _questController.InsertQuestPriority(index, elementId); + } + } + } + + private List GetPriorityQuests() + { + return _questController.ManualPriorityQuests.Select((Quest q) => _003C_003Ec._206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)q.Id)).ToList(); + } + + private bool RemovePriorityQuest(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 382437358 : 382437359); + Quest quest = default(Quest); + while (true) + { + int num2 = num; + int num3 = 382437358; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + quest = _questController.ManualPriorityQuests.FirstOrDefault((Quest q) => _003C_003Ec__DisplayClass104_0._206A_206C_206B_200B_206A_200B_202C_202E_200C_206B_206B_200F_200D_202C_206D_202B_200D_200F_202E_202E_206F_202B_202D_206A_200F_200F_206F_202C_202E_206D_206A_202D_206D_200B_200C_206B_202E_202B_200F_200F_202E(q.Id, elementId)); + num = ((quest == null) ? 382437358 : 382437357); + break; + case 1: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 382437358 : 382437354); + break; + case 3: + _questController.ManualPriorityQuests.Remove(quest); + _questController.SavePriorityQuests(); + return true; + case 2: + num = 382437359; + break; + case 0: + return false; + } + } + } + + private bool ReorderPriorityQuest(string questId, int newIndex) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? (-939689696) : (-939689689)); + Quest quest = default(Quest); + while (true) + { + int num2 = num; + int num3 = -939689695; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + quest = _questController.ManualPriorityQuests.FirstOrDefault((Quest q) => _003C_003Ec__DisplayClass105_0._200F_202C_206E_206D_200E_206D_206C_202D_202D_202D_200B_200F_202B_202C_200C_202A_200E_200F_200C_200B_202D_206F_206E_202A_202D_200D_202E_202C_200E_200D_206C_202C_200B_206D_202B_206D_206F_200C_206F_206F_202E(q.Id, elementId)); + num = ((quest == null) ? (-939689696) : (-939689694)); + break; + case 6: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? (-939689696) : (-939689691)); + break; + case 1: + return false; + case 2: + _questController.ManualPriorityQuests.Remove(quest); + _questController.ManualPriorityQuests.Insert(newIndex, quest); + _questController.SavePriorityQuests(); + return true; + case 5: + num = ((newIndex >= _questController.ManualPriorityQuests.Count) ? (-939689696) : (-939689693)); + break; + case 0: + num = -939689689; + break; + case 3: + num = ((newIndex < 0) ? (-939689696) : (-939689692)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private List GetAvailablePresets() + { + return new List + { + global::_003CModule_003E._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(305232177), + global::_003CModule_003E._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(1294966414) + }; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private List GetPresetQuests(string presetName) + { + int num = (_206D_206E_202E_202E_200D_200D_202B_200D_206D_206E_202D_202A_206C_202D_206C_200F_202C_206E_202E_200D_206A_202A_206F_202C_202C_200E_200E_202B_200E_200E_200C_206E_206F_202A_206C_200E_200F_206E_200C_200E_202E(presetName, global::_003CModule_003E._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(-1905885778)) ? (-1419346625) : (-1419346631)); + List source = default(List); + while (true) + { + int num2 = num; + int num3 = -1419346629; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1419346631; + break; + case 4: + source = QuestData.CrystalTowerQuests.Cast().ToList(); + num = -1419346630; + break; + case 1: + return source.Select((ElementId q) => _003C_003Ec._206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)q)).ToList(); + case 5: + source = new List(); + num = -1419346630; + break; + case 2: + num = (_206D_206E_202E_202E_200D_200D_202B_200D_206D_206E_202D_202A_206C_202D_206C_200F_202C_206E_202E_200D_206A_202A_206F_202C_202C_200E_200E_202B_200E_200E_200C_206E_206F_202A_206C_200E_200F_206E_200C_200E_202E(presetName, global::_003CModule_003E._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(158597147)) ? (-1419346632) : (-1419346627)); + break; + case 6: + num = -1419346626; + break; + case 3: + source = QuestData.HardModePrimals.Cast().ToList(); + num = -1419346630; + break; + } + } + } + + private int AddPresetToPriority(string presetName) + { + List presetQuests = GetPresetQuests(presetName); + int num = 0; + using List.Enumerator enumerator = presetQuests.GetEnumerator(); + int num2 = 1206942101; + _003C_003Ec__DisplayClass108_0 _003C_003Ec__DisplayClass108_ = default(_003C_003Ec__DisplayClass108_0); + while (true) + { + int num3 = num2; + int num4 = 1206942103; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = 1206942101; + break; + case 9: + num2 = ((!_questFunctions.IsQuestAccepted(_003C_003Ec__DisplayClass108_.elementId)) ? 1206942097 : 1206942108); + break; + case 3: + { + int num8 = num; + num4 = 1; + num5 = num8; + num = (num5 | num4) + (num5 & num4); + num2 = 1206942101; + break; + } + case 8: + if (_questRegistry.IsKnownQuest(_003C_003Ec__DisplayClass108_.elementId)) + { + num2 = 1206942099; + break; + } + goto case 6; + case 10: + num2 = (_questFunctions.IsReadyToAcceptQuest(_003C_003Ec__DisplayClass108_.elementId) ? 1206942108 : 1206942110); + break; + case 6: + num2 = 1206942101; + break; + case 2: + num2 = (enumerator.MoveNext() ? 1206942096 : 1206942102); + break; + case 5: + num2 = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(_003C_003Ec__DisplayClass108_.elementId, (ElementId)null)) ? 1206942101 : 1206942109); + break; + case 4: + num2 = ((!_questController.AddQuestPriority(_003C_003Ec__DisplayClass108_.elementId)) ? 1206942101 : 1206942100); + break; + case 11: + num2 = (_questController.ManualPriorityQuests.Any(_003C_003Ec__DisplayClass108_._003CAddPresetToPriority_003Eb__0) ? 1206942097 : 1206942111); + break; + case 7: + { + string current = enumerator.Current; + _003C_003Ec__DisplayClass108_ = new _003C_003Ec__DisplayClass108_0(); + num2 = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(current, ref _003C_003Ec__DisplayClass108_.elementId)) ? 1206942101 : 1206942098); + break; + } + case 1: + return num; + } + } + } + + private bool IsPresetAvailable(string presetName) + { + return GetAvailablePresets().Contains(presetName); + } + + private bool IsQuestInPriority(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 119725107 : 119725104); + while (true) + { + int num2 = num; + int num3 = 119725105; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 119725104; + break; + case 1: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 119725107 : 119725105); + break; + case 2: + return false; + case 0: + return _questController.ManualPriorityQuests.Any((Quest q) => _003C_003Ec__DisplayClass110_0._206B_200E_200D_206D_206F_200F_200C_200D_200B_202E_200B_200C_206E_200F_200B_200E_206A_200D_206D_202C_202B_206B_206C_206F_200C_202B_206A_206A_202D_206E_200F_202C_206D_206C_206C_202C_200E_200D_206B_206A_202E(q.Id, elementId)); + } + } + } + + private int GetQuestPriorityIndex(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? (-1944992928) : (-1944992921)); + Quest quest = default(Quest); + while (true) + { + int num2 = num; + int num3 = -1944992924; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1944992921; + break; + case 1: + return _questController.ManualPriorityQuests.IndexOf(quest); + case 3: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? (-1944992928) : (-1944992924)); + break; + case 4: + return -1; + case 0: + quest = _questController.ManualPriorityQuests.FirstOrDefault((Quest q) => _003C_003Ec__DisplayClass111_0._206B_200C_200D_200C_200B_202A_200F_206B_206C_202A_206A_200E_206D_200B_202E_200B_200C_206F_206A_206C_200B_202C_202B_206B_200E_206D_206A_206A_200B_206D_202A_202A_206B_202A_200C_202B_206E_200B_200F_202C_202E(q.Id, elementId)); + num = ((quest == null) ? (-1944992928) : (-1944992923)); + break; + } + } + } + + private bool HasAvailablePriorityQuests() + { + return _questFunctions.GetNextPriorityQuestsThatCanBeAccepted().Any((PriorityQuestInfo x) => x.IsAvailable); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void RegisterQuestStateIpc() + { + Register(global::_003CModule_003E._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(1651197002), delegate + { + int num = ((_questController.AutomationType != QuestController.EAutomationType.Manual) ? 1200261431 : 1200261428); + while (true) + { + int num2 = num; + int num3 = 1200261430; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004b; + case 2: + return _questController.IsRunning; + case 1: + return true; + } + continue; + IL_004b: + num = 1200261428; + } + }); + Register(global::_003CModule_003E._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(1278527463), delegate + { + QuestController.QuestProgress? currentQuest = _questController.CurrentQuest; + return (currentQuest == null) ? null : _202D_206C_206F_206E_200E_206F_206E_200B_202C_202D_200E_202D_202D_200F_206A_202B_206B_206D_200D_206C_202A_206C_206F_206A_202B_206B_206B_200D_200C_206B_202A_206F_206B_202C_206E_202A_200D_206E_202D_200F_202E((object)currentQuest.Quest.Id); + }); + Register(global::_003CModule_003E._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(1450560591), GetStepData); + Register(global::_003CModule_003E._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(-54425046), GetCurrentTask); + Register(global::_003CModule_003E._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(-181500324), () => (from q in _eventInfoComponent.GetCurrentlyActiveEventQuests() + select _003C_003Ec._206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)q)).ToList()); + Register(global::_003CModule_003E._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(778415138), (string questId) => StartQuest(questId, single: false)); + Register(global::_003CModule_003E._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(1952123447), (string questId) => StartQuest(questId, single: true)); + Register(global::_003CModule_003E._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(-1428092792), IsQuestLocked); + Register(global::_003CModule_003E._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(-1628290832), IsQuestComplete); + Register(global::_003CModule_003E._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(-1828488872), IsReadyToAcceptQuest); + Register(global::_003CModule_003E._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(-1830588968), IsQuestAccepted); + Register(global::_003CModule_003E._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(1245851615), IsQuestUnobtainable); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool StartQuest(string questId, bool single) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 2028382427 : 2028382426); + Quest quest = default(Quest); + while (true) + { + int num2 = num; + int num3 = 2028382431; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return false; + case 5: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 2028382427 : 2028382430); + break; + case 6: + _questController.StartSingleQuest(global::_003CModule_003E._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(-1245876374)); + num = 2028382428; + break; + case 7: + num = 2028382426; + break; + case 1: + num = ((!_questRegistry.TryGetQuest(elementId, out quest)) ? 2028382427 : 2028382431); + break; + case 2: + _questController.Start(global::_003CModule_003E._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(-1245876374)); + num = 2028382428; + break; + case 0: + _questController.SetNextQuest(quest); + num = ((!single) ? 2028382429 : 2028382425); + break; + case 3: + return true; + } + } + } + + private StepData? GetStepData() + { + QuestController.QuestProgress currentQuest = _questController.CurrentQuest; + int num = ((currentQuest != null) ? 1405114099 : 1405114101); + string text = default(string); + QuestStep questStep = default(QuestStep); + while (true) + { + int num2 = num; + int num3 = 1405114097; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = 1405114101; + break; + case 0: + return new StepData + { + QuestId = text, + Sequence = currentQuest.Sequence, + Step = currentQuest.Step, + InteractionType = _200D_206C_202A_202B_206D_202A_202B_206C_202C_206E_202A_206F_202E_200D_200B_206D_206E_202C_206B_206D_206D_202A_200C_200D_200B_200F_200F_202B_206F_202D_206A_200E_202A_206F_202C_202D_202C_200D_200B_202D_202E(questStep).ToString(), + Position = _206F_202B_202A_202A_200B_202D_202E_202D_206D_206E_200B_202D_206C_200E_200C_202B_202D_202A_200E_206D_206D_202C_200D_206B_202B_206C_206A_206B_206D_202E_202B_202E_200E_206F_206C_202E_202B_206B_200C_202C_202E(questStep), + TerritoryId = _202B_202C_200F_200C_206F_200C_200F_202E_200F_206B_206E_206F_206D_202C_202D_200C_200D_200B_206A_206A_200F_206B_200D_206F_200F_206E_200D_200D_202D_202A_200C_206E_200F_200C_200B_200D_206D_200B_206D_202E_202E(questStep) + }; + case 3: + return null; + case 4: + return null; + case 5: + return null; + case 1: + { + QuestSequence? questSequence = currentQuest.Quest.FindSequence(currentQuest.Sequence); + questStep = ((questSequence != null) ? _206A_202B_202B_206B_202D_200C_206E_202B_200B_200E_206E_202D_206B_200C_206D_206D_202B_202B_202A_206B_200B_200F_200D_200E_206B_200E_202A_200D_206B_200D_206B_200E_206D_200D_200B_202C_206B_206C_200F_206F_202E(questSequence, currentQuest.Step) : null); + num = ((questStep != null) ? 1405114097 : 1405114098); + break; + } + case 2: + text = _202D_206C_206F_206E_200E_206F_206E_200B_202C_202D_200E_202D_202D_200F_206A_202B_206B_206D_200D_206C_202A_206C_206F_206A_202B_206B_206B_200D_200C_206B_202A_206F_206B_202C_206E_202A_200D_206E_202D_200F_202E((object)currentQuest.Quest.Id); + num = ((!_206B_202E_202A_202A_206C_206F_200D_206E_200F_200C_206A_200D_206C_200D_200D_202C_206D_206B_202E_202B_206F_202D_200F_206E_200B_200D_206E_200C_206E_200B_206A_202B_202B_206A_206A_200E_206C_202A_200E_200E_202E(text)) ? 1405114096 : 1405114100); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private TaskData? GetCurrentTask() + { + ITask task = _questController.TaskQueue.CurrentTaskExecutor?.CurrentTask; + int num = ((task != null) ? (-66796143) : (-66796144)); + while (true) + { + int num2 = num; + int num3 = -66796143; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_006c; + case 0: + { + int remainingTaskCount = _questController.TaskQueue.RemainingTasks.Count(); + string taskName = _202D_206C_206F_206E_200E_206F_206E_200B_202C_202D_200E_202D_202D_200F_206A_202B_206B_206D_200D_206C_202A_206C_206F_206A_202B_206B_206B_200D_200C_206B_202A_206F_206B_202C_206E_202A_200D_206E_202D_200F_202E((object)task) ?? global::_003CModule_003E._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(896879528); + return new TaskData + { + TaskName = taskName, + RemainingTaskCount = remainingTaskCount + }; + } + case 1: + return null; + } + continue; + IL_006c: + num = -66796144; + } + } + + private bool IsQuestLocked(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 1675380547 : 1675380544); + while (true) + { + int num2 = num; + int num3 = 1675380547; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return true; + case 2: + { + num = ((!_questRegistry.TryGetQuest(elementId, out Quest _)) ? 1675380547 : 1675380546); + break; + } + case 3: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 1675380547 : 1675380545); + break; + case 1: + return _questFunctions.IsQuestLocked(elementId); + case 4: + num = 1675380544; + break; + } + } + } + + private bool IsQuestComplete(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 215071933 : 215071935); + while (true) + { + int num2 = num; + int num3 = 215071932; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 215071935; + break; + case 0: + return _questFunctions.IsQuestComplete(elementId); + case 3: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 215071933 : 215071932); + break; + case 1: + return false; + } + } + } + + private bool IsReadyToAcceptQuest(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 657394152 : 657394154); + while (true) + { + int num2 = num; + int num3 = 657394155; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return false; + case 1: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 657394152 : 657394155); + break; + case 2: + num = 657394154; + break; + case 0: + return _questFunctions.IsReadyToAcceptQuest(elementId); + } + } + } + + private bool IsQuestAccepted(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 1441677022 : 1441677020); + while (true) + { + int num2 = num; + int num3 = 1441677022; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return _questFunctions.IsQuestAccepted(elementId); + case 2: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 1441677022 : 1441677023); + break; + case 0: + return false; + case 3: + num = 1441677020; + break; + } + } + } + + private bool IsQuestUnobtainable(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 880063755 : 880063754); + while (true) + { + int num2 = num; + int num3 = 880063755; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 880063754; + break; + case 0: + return false; + case 2: + return _questFunctions.IsQuestUnobtainable(elementId); + case 1: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 880063755 : 880063753); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void RegisterStopConditionIpc() + { + Register(global::_003CModule_003E._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(1849512536), GetStopConditionsEnabled); + Register(global::_003CModule_003E._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(-876401122), SetStopConditionsEnabled); + Register(global::_003CModule_003E._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(1681362035), GetStopQuestList); + Register(global::_003CModule_003E._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(1342781462), AddStopQuest); + Register(global::_003CModule_003E._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(1952025434), RemoveStopQuest); + Register(global::_003CModule_003E._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(-2081265786), ClearStopQuests); + Register(global::_003CModule_003E._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(742108679), GetLevelStopCondition); + Register(global::_003CModule_003E._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(-936353338), SetLevelStopCondition); + Register(global::_003CModule_003E._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(-1574710306), GetSequenceStopCondition); + Register(global::_003CModule_003E._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(983052851), SetSequenceStopCondition); + Register(global::_003CModule_003E._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(-2046114732), GetQuestSequenceStopCondition); + Register(global::_003CModule_003E._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(-1246040365), SetQuestSequenceStopCondition); + Register(global::_003CModule_003E._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(-160497028), RemoveQuestSequenceStopCondition); + Register(global::_003CModule_003E._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(-525039826), GetAllQuestSequenceStopConditions); + Register(global::_003CModule_003E._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(1214500866), GetLevelStopMode); + Register(global::_003CModule_003E._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(1385252493), SetLevelStopMode); + Register(global::_003CModule_003E._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(-422357), GetSequenceStopMode); + Register(global::_003CModule_003E._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(1802816950), SetSequenceStopMode); + Register(global::_003CModule_003E._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(-771746198), GetQuestStopMode); + Register(global::_003CModule_003E._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(1741033299), SetQuestStopMode); + } + + private bool GetStopConditionsEnabled() + { + return _configuration.Stop.Enabled; + } + + private bool SetStopConditionsEnabled(bool enabled) + { + _configuration.Stop.Enabled = enabled; + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + } + + private List GetStopQuestList() + { + return (from c in _configuration.Stop.Conditions.OfType() + select _003C_003Ec._206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)c.QuestId)).ToList(); + } + + private bool AddStopQuest(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? (-1309115989) : (-1309115992)); + while (true) + { + int num2 = num; + int num3 = -1309115989; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1309115992; + break; + case 0: + return false; + case 3: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? (-1309115989) : (-1309115985)); + break; + case 1: + num = (_configuration.Stop.Conditions.OfType().Any((QuestCompleteCondition c) => _003C_003Ec__DisplayClass158_0._202E_206B_200B_200F_202E_206D_202C_202E_202E_200B_200E_206D_206B_200B_202E_202E_206C_202A_200C_202C_206F_206F_202E_206C_200D_206F_206E_202B_200D_202B_206B_202C_200D_200D_206E_202B_202D_206C_200F_206B_202E(c.QuestId, elementId)) ? (-1309115989) : (-1309115986)); + break; + case 5: + _configuration.Stop.Conditions.Add(new QuestCompleteCondition + { + QuestId = elementId, + Mode = EStopConditionMode.Stop + }); + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 4: + num = ((!_questRegistry.IsKnownQuest(elementId)) ? (-1309115989) : (-1309115990)); + break; + } + } + } + + private bool RemoveStopQuest(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? (-1553255795) : (-1553255794)); + QuestCompleteCondition questCompleteCondition = default(QuestCompleteCondition); + while (true) + { + int num2 = num; + int num3 = -1553255793; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + questCompleteCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault((QuestCompleteCondition c) => _003C_003Ec__DisplayClass159_0._202B_206F_202A_200F_200E_206D_202B_206F_200C_200C_206E_206D_206C_202E_202C_206D_206D_202A_200B_202C_206F_202E_200B_206C_200C_206E_200C_206E_206D_202C_206D_202A_200D_200F_200C_200B_200C_200B_206C_202E_202E(c.QuestId, elementId)); + num = ((questCompleteCondition == null) ? (-1553255795) : (-1553255797)); + break; + case 2: + return false; + case 4: + _configuration.Stop.Conditions.Remove(questCompleteCondition); + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 0: + num = -1553255794; + break; + case 1: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? (-1553255795) : (-1553255796)); + break; + } + } + } + + private bool ClearStopQuests() + { + _configuration.Stop.Conditions.RemoveAll((StopCondition c) => c is QuestCompleteCondition); + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + } + + private StopConditionData GetLevelStopCondition() + { + LevelCondition levelCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(); + return new StopConditionData + { + Enabled = (levelCondition != null), + TargetValue = (levelCondition?.TargetLevel ?? 50) + }; + } + + private bool SetLevelStopCondition(bool enabled, int targetLevel) + { + int num = ((targetLevel < 1) ? 1685987986 : 1685987992); + LevelCondition levelCondition = default(LevelCondition); + while (true) + { + int num2 = num; + int num3 = 1685987995; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + num = 1685987992; + break; + case 5: + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 9: + return false; + case 8: + levelCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(); + num = (enabled ? 1685987997 : 1685987994); + break; + case 0: + levelCondition.TargetLevel = targetLevel; + levelCondition.Mode = EStopConditionMode.Stop; + num = 1685987998; + break; + case 6: + num = ((levelCondition == null) ? 1685987999 : 1685987995); + break; + case 2: + _configuration.Stop.Conditions.Remove(levelCondition); + num = 1685987998; + break; + case 1: + num = ((levelCondition == null) ? 1685987998 : 1685987993); + break; + case 4: + _configuration.Stop.Conditions.Add(new LevelCondition + { + TargetLevel = targetLevel, + Mode = EStopConditionMode.Stop + }); + num = 1685987998; + break; + case 3: + num = ((targetLevel <= 100) ? 1685987987 : 1685987986); + break; + } + } + } + + private StopConditionData GetSequenceStopCondition() + { + GlobalSequenceCondition globalSequenceCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(); + return new StopConditionData + { + Enabled = (globalSequenceCondition != null), + TargetValue = (globalSequenceCondition?.TargetSequence ?? 1) + }; + } + + private bool SetSequenceStopCondition(bool enabled, int targetSequence) + { + int num = ((targetSequence < 0) ? (-94191843) : (-94191855)); + GlobalSequenceCondition globalSequenceCondition = default(GlobalSequenceCondition); + while (true) + { + int num2 = num; + int num3 = -94191851; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + _configuration.Stop.Conditions.Remove(globalSequenceCondition); + num = -94191854; + break; + case 4: + num = ((targetSequence <= 255) ? (-94191852) : (-94191843)); + break; + case 0: + num = -94191855; + break; + case 8: + return false; + case 6: + _configuration.Stop.Conditions.Add(new GlobalSequenceCondition + { + TargetSequence = targetSequence, + Mode = EStopConditionMode.Stop + }); + num = -94191854; + break; + case 7: + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 9: + num = ((globalSequenceCondition == null) ? (-94191853) : (-94191850)); + break; + case 2: + num = ((globalSequenceCondition == null) ? (-94191854) : (-94191856)); + break; + case 1: + globalSequenceCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(); + num = (enabled ? (-94191844) : (-94191849)); + break; + case 3: + globalSequenceCondition.TargetSequence = targetSequence; + globalSequenceCondition.Mode = EStopConditionMode.Stop; + num = -94191854; + break; + } + } + } + + private int GetQuestSequenceStopCondition(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? 131272302 : 131272303); + QuestCompleteCondition questCompleteCondition = default(QuestCompleteCondition); + while (true) + { + int num2 = num; + int num3 = 131272302; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return questCompleteCondition.Sequence ?? (-1); + case 1: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? 131272302 : 131272301); + break; + case 0: + return -1; + case 3: + questCompleteCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault((QuestCompleteCondition c) => _003C_003Ec__DisplayClass165_0._200D_202D_202E_202C_206E_206C_200E_206C_200B_206E_200E_202D_202A_206A_202A_200F_202B_206D_202E_206E_202D_200E_200C_206D_200E_206E_206F_200C_202D_206D_202B_202A_200D_206E_200E_202E_200D_206B_200B_202D_202E(c.QuestId, elementId)); + num = ((questCompleteCondition == null) ? 131272302 : 131272298); + break; + case 2: + num = 131272303; + break; + } + } + } + + private bool SetQuestSequenceStopCondition(string questId, int targetSequence) + { + int num = ((targetSequence < 0) ? (-1086145826) : (-1086145828)); + QuestCompleteCondition questCompleteCondition = default(QuestCompleteCondition); + ElementId elementId = default(ElementId); + while (true) + { + int num2 = num; + int num3 = -1086145825; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 9: + questCompleteCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault((QuestCompleteCondition c) => _003C_003Ec__DisplayClass166_0._200D_202A_202A_206C_206B_206A_200D_206B_200C_200C_200B_202C_200F_202A_206F_206A_202B_202D_200E_202A_206F_206C_200F_202B_202C_206E_206A_202A_200C_202D_200E_200D_206F_200D_202A_206E_200C_202B_206C_200D_202E(c.QuestId, elementId)); + num = ((questCompleteCondition == null) ? (-1086145832) : (-1086145833)); + break; + case 5: + return false; + case 8: + questCompleteCondition.Sequence = targetSequence; + num = -1086145829; + break; + case 2: + num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? (-1086145830) : (-1086145831)); + break; + case 6: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? (-1086145830) : (-1086145825)); + break; + case 4: + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 10: + num = -1086145828; + break; + case 3: + num = ((targetSequence <= 255) ? (-1086145827) : (-1086145826)); + break; + case 0: + num = ((!_questRegistry.IsKnownQuest(elementId)) ? (-1086145830) : (-1086145834)); + break; + case 7: + _configuration.Stop.Conditions.Add(new QuestCompleteCondition + { + QuestId = elementId, + Sequence = targetSequence, + Mode = EStopConditionMode.Stop + }); + num = -1086145829; + break; + case 1: + return false; + } + } + } + + private bool RemoveQuestSequenceStopCondition(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? (-1786003914) : (-1786003917)); + QuestCompleteCondition questCompleteCondition = default(QuestCompleteCondition); + while (true) + { + int num2 = num; + int num3 = -1786003918; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -1786003917; + break; + case 4: + return false; + case 2: + questCompleteCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(delegate(QuestCompleteCondition c) + { + int num5 = ((!_003C_003Ec__DisplayClass167_0._206A_200B_206E_206B_202B_200C_206D_206A_200F_202C_206C_202B_202C_206F_202C_200C_206C_200B_202A_200E_200C_200B_206D_200D_200C_200F_200B_202B_202B_200E_202D_206B_206E_206F_200D_200D_206A_202A_200E_206C_202E(c.QuestId, elementId)) ? 1186797582 : 1186797583); + while (true) + { + int num6 = num5; + int num7 = 1186797582; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + switch (num9 - (num10 + num10)) + { + case 2: + goto IL_0053; + case 0: + return false; + case 1: + return c.Sequence.HasValue; + } + continue; + IL_0053: + num5 = 1186797583; + } + }); + num = ((questCompleteCondition == null) ? (-1786003914) : (-1786003918)); + break; + case 0: + _configuration.Stop.Conditions.Remove(questCompleteCondition); + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 1: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? (-1786003914) : (-1786003920)); + break; + } + } + } + + private Dictionary GetAllQuestSequenceStopConditions() + { + return (from c in _configuration.Stop.Conditions.OfType() + where c.Sequence.HasValue + select c).ToDictionary((QuestCompleteCondition c) => _003C_003Ec._206C_206D_206E_202E_206E_202C_200C_200B_200C_200B_200B_200C_200E_202A_206A_206E_202B_206E_206C_206F_200B_206C_200F_202C_202E_202C_206B_200F_202B_202A_200E_200B_200E_202D_200F_202C_200D_202D_200F_200E_202E((object)c.QuestId), (QuestCompleteCondition c) => c.Sequence.Value); + } + + private int GetLevelStopMode() + { + return (int)(_configuration.Stop.Conditions.OfType().FirstOrDefault()?.Mode ?? EStopConditionMode.Off); + } + + private bool SetLevelStopMode(int mode) + { + int num = (_202D_200C_206C_202C_206A_202D_200F_200C_200C_206C_206F_200C_202B_200E_202D_200B_202B_200C_206E_200E_206D_206E_206A_202B_206A_206D_206D_206B_206C_206E_206A_200E_202E_200B_200B_202E_200D_206D_202C_206F_202E(_206F_202E_202C_206D_206E_206A_200C_200E_206E_206E_206C_200F_206D_202C_206E_200C_206D_206C_206E_206E_206D_206A_202D_202C_200D_206E_206A_202B_202C_202C_200F_200C_200F_206B_202E_202B_202B_202D_206D_200D_202E(typeof(EStopConditionMode).TypeHandle), (object)mode) ? (-2038251060) : (-2038251063)); + EStopConditionMode eStopConditionMode = default(EStopConditionMode); + LevelCondition levelCondition = default(LevelCondition); + while (true) + { + int num2 = num; + int num3 = -2038251057; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + _configuration.Stop.Conditions.Add(new LevelCondition + { + TargetLevel = 50, + Mode = eStopConditionMode + }); + num = -2038251061; + break; + case 6: + return false; + case 3: + eStopConditionMode = (EStopConditionMode)mode; + levelCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(); + num = ((eStopConditionMode != EStopConditionMode.Off) ? (-2038251058) : (-2038251059)); + break; + case 4: + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 1: + num = ((levelCondition == null) ? (-2038251062) : (-2038251065)); + break; + case 0: + num = -2038251063; + break; + case 8: + levelCondition.Mode = eStopConditionMode; + num = -2038251061; + break; + case 2: + num = ((levelCondition == null) ? (-2038251061) : (-2038251064)); + break; + case 7: + _configuration.Stop.Conditions.Remove(levelCondition); + num = -2038251061; + break; + } + } + } + + private int GetSequenceStopMode() + { + return (int)(_configuration.Stop.Conditions.OfType().FirstOrDefault()?.Mode ?? EStopConditionMode.Off); + } + + private bool SetSequenceStopMode(int mode) + { + int num = (_202D_200C_206C_202C_206A_202D_200F_200C_200C_206C_206F_200C_202B_200E_202D_200B_202B_200C_206E_200E_206D_206E_206A_202B_206A_206D_206D_206B_206C_206E_206A_200E_202E_200B_200B_202E_200D_206D_202C_206F_202E(_206F_202E_202C_206D_206E_206A_200C_200E_206E_206E_206C_200F_206D_202C_206E_200C_206D_206C_206E_206E_206D_206A_202D_202C_200D_206E_206A_202B_202C_202C_200F_200C_200F_206B_202E_202B_202B_202D_206D_200D_202E(typeof(EStopConditionMode).TypeHandle), (object)mode) ? (-389123737) : (-389123742)); + GlobalSequenceCondition globalSequenceCondition = default(GlobalSequenceCondition); + EStopConditionMode eStopConditionMode = default(EStopConditionMode); + while (true) + { + int num2 = num; + int num3 = -389123741; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = ((globalSequenceCondition == null) ? (-389123740) : (-389123741)); + break; + case 1: + return false; + case 7: + _configuration.Stop.Conditions.Add(new GlobalSequenceCondition + { + TargetSequence = 1, + Mode = eStopConditionMode + }); + num = -389123733; + break; + case 4: + eStopConditionMode = (EStopConditionMode)mode; + globalSequenceCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault(); + num = ((eStopConditionMode != EStopConditionMode.Off) ? (-389123739) : (-389123743)); + break; + case 3: + num = -389123742; + break; + case 5: + _configuration.Stop.Conditions.Remove(globalSequenceCondition); + num = -389123733; + break; + case 8: + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 0: + globalSequenceCondition.Mode = eStopConditionMode; + num = -389123733; + break; + case 2: + num = ((globalSequenceCondition == null) ? (-389123733) : (-389123738)); + break; + } + } + } + + private int GetQuestStopMode(string questId) + { + ElementId elementId = default(ElementId); + int num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? (-72505088) : (-72505087)); + QuestCompleteCondition questCompleteCondition = default(QuestCompleteCondition); + while (true) + { + int num2 = num; + int num3 = -72505088; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return (int)questCompleteCondition.Mode; + case 1: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? (-72505088) : (-72505085)); + break; + case 0: + return -1; + case 2: + num = -72505087; + break; + case 3: + questCompleteCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault((QuestCompleteCondition c) => _003C_003Ec__DisplayClass173_0._206E_200F_202C_200C_202B_202B_202C_202B_200C_206E_202B_200D_202A_206A_206A_206A_206F_206E_200B_206B_206E_200D_202A_206D_206B_202D_200B_200D_202D_202A_200E_206A_202D_202C_202B_206C_200E_206C_206F_206D_202E(c.QuestId, elementId)); + num = ((questCompleteCondition == null) ? (-72505088) : (-72505084)); + break; + } + } + } + + private bool SetQuestStopMode(string questId, int mode) + { + int num = (_202D_200C_206C_202C_206A_202D_200F_200C_200C_206C_206F_200C_202B_200E_202D_200B_202B_200C_206E_200E_206D_206E_206A_202B_206A_206D_206D_206B_206C_206E_206A_200E_202E_200B_200B_202E_200D_206D_202C_206F_202E(_206F_202E_202C_206D_206E_206A_200C_200E_206E_206E_206C_200F_206D_202C_206E_200C_206D_206C_206E_206E_206D_206A_202D_202C_200D_206E_206A_202B_202C_202C_200F_200C_200F_206B_202E_202B_202B_202D_206D_200D_202E(typeof(EStopConditionMode).TypeHandle), (object)mode) ? (-806581776) : (-806581763)); + QuestCompleteCondition questCompleteCondition = default(QuestCompleteCondition); + ElementId elementId = default(ElementId); + EStopConditionMode eStopConditionMode = default(EStopConditionMode); + while (true) + { + int num2 = num; + int num3 = -806581768; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = ((questCompleteCondition == null) ? (-806581766) : (-806581774)); + break; + case 12: + _configuration.Stop.Conditions.Remove(questCompleteCondition); + num = -806581762; + break; + case 2: + _configuration.Stop.Conditions.Add(new QuestCompleteCondition + { + QuestId = elementId, + Mode = eStopConditionMode + }); + num = -806581762; + break; + case 5: + return false; + case 10: + questCompleteCondition.Mode = eStopConditionMode; + num = -806581762; + break; + case 4: + return false; + case 8: + num = ((!_202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(questId, ref elementId)) ? (-806581764) : (-806581767)); + break; + case 1: + num = ((!_200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(elementId, (ElementId)null)) ? (-806581764) : (-806581775)); + break; + case 11: + num = ((questCompleteCondition == null) ? (-806581762) : (-806581772)); + break; + case 9: + num = ((!_questRegistry.IsKnownQuest(elementId)) ? (-806581764) : (-806581761)); + break; + case 6: + _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return true; + case 7: + eStopConditionMode = (EStopConditionMode)mode; + questCompleteCondition = _configuration.Stop.Conditions.OfType().FirstOrDefault((QuestCompleteCondition c) => _003C_003Ec__DisplayClass174_0._202D_202E_202C_202D_200D_200E_206F_202D_202A_206D_202D_206D_200D_202B_200B_206E_206A_206B_202C_202A_200B_206C_202C_206C_202E_206C_202C_200E_202C_202B_202C_200F_206A_206C_202C_200D_206F_200E_206F_206B_202E(c.QuestId, elementId)); + num = ((eStopConditionMode != EStopConditionMode.Off) ? (-806581765) : (-806581773)); + break; + case 0: + num = -806581763; + break; + } + } + } + + static Type _206F_202E_202C_206D_206E_206A_200C_200E_206E_206E_206C_200F_206D_202C_206E_200C_206D_206C_206E_206E_206D_206A_202D_202C_200D_206E_206A_202B_202C_202C_200F_200C_200F_206B_202E_202B_202B_202D_206D_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _202D_200C_206C_202C_206A_202D_200F_200C_200C_206C_206F_200C_202B_200E_202D_200B_202B_200C_206E_200E_206D_206E_206A_202B_206A_206D_206D_206B_206C_206E_206A_200E_202E_200B_200B_202E_200D_206D_202C_206F_202E(Type P_0, object P_1) + { + return Enum.IsDefined(P_0, P_1); + } + + static int _202A_202C_206D_200C_206E_200E_200C_202E_202C_200E_206B_200F_206E_202B_202C_200E_206D_200C_200D_200F_200D_200C_200D_200B_206C_200B_206F_200D_202B_200C_200F_202A_206A_202B_206D_200B_200D_202C_200F_202E_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static bool _202B_200B_206F_206F_202B_206D_202E_206A_202B_202A_200D_202D_206C_206C_206D_206B_202C_206F_200F_200F_200C_206D_200C_202B_206D_206A_206F_206D_200B_202E_206C_200C_200D_202B_200B_206F_202B_206D_206A_202D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206A_202B_200C_202D_202C_202B_206F_200D_206E_206E_206D_200C_206B_200C_202B_206B_202A_200E_206F_202B_200B_200E_206E_202E_200D_206D_200D_200F_200F_200E_202E_202A_202D_202C_206F_202E_202E_206D_206F_200E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _202D_202D_202E_202B_200D_200B_202B_206D_200C_206F_202A_200B_202C_202C_200E_200F_200C_202D_206A_206E_206C_202C_200F_206A_206C_206E_200E_202C_200F_202A_200B_206A_202E_202A_206B_206E_200F_200D_206F_202B_202E(string P_0, ref ElementId P_1) + { + return ElementId.TryFromString(P_0, out P_1); + } + + static bool _200E_200E_200D_200F_206F_200D_200B_200F_206E_206F_202C_206C_206E_206B_202E_206D_206D_206C_206F_206E_200E_206C_200F_206C_206C_202E_202E_200B_200E_206C_200B_200E_202E_206D_206D_202E_200C_206A_200B_206B_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static void _200C_202B_206C_202C_202B_200E_206E_202B_206E_200B_202B_200D_200D_206F_206E_200C_200C_200E_206D_202B_200B_206B_206E_200F_200F_206D_206F_206E_200F_200E_202B_200C_202A_206D_206C_202D_206A_202C_206B_206C_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); + } + + static IPlayerCharacter _200C_206B_206C_202A_206C_202C_206A_200D_206F_202A_202E_206C_202A_200B_206D_200E_202A_206D_200D_202E_206C_202B_206A_206C_202D_202B_206C_206B_200E_202E_206A_200F_200E_206A_206F_202A_202C_206F_202E_206F_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static byte _202C_206F_200F_202A_202A_206B_206D_206D_200F_206F_200B_202A_206C_206E_206C_206F_200F_206F_200D_206F_206A_206F_202E_206F_202C_200F_202D_206C_206C_202C_202B_206C_200D_202C_200C_202D_200D_206F_206D_202C_202E(ICharacter P_0) + { + return P_0.Level; + } + + static bool _206D_206E_202E_202E_200D_200D_202B_200D_206D_206E_202D_202A_206C_202D_206C_200F_202C_206E_202E_200D_206A_202A_206F_202C_202C_200E_200E_202B_200E_200E_200C_206E_206F_202A_206C_200E_200F_206E_200C_200E_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static string _202D_206C_206F_206E_200E_206F_206E_200B_202C_202D_200E_202D_202D_200F_206A_202B_206B_206D_200D_206C_202A_206C_206F_206A_202B_206B_206B_200D_200C_206B_202A_206F_206B_202C_206E_202A_200D_206E_202D_200F_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _206B_202E_202A_202A_206C_206F_200D_206E_200F_200C_206A_200D_206C_200D_200D_202C_206D_206B_202E_202B_206F_202D_200F_206E_200B_200D_206E_200C_206E_200B_206A_202B_202B_206A_206A_200E_206C_202A_200E_200E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static QuestStep _206A_202B_202B_206B_202D_200C_206E_202B_200B_200E_206E_202D_206B_200C_206D_206D_202B_202B_202A_206B_200B_200F_200D_200E_206B_200E_202A_200D_206B_200D_206B_200E_206D_200D_200B_202C_206B_206C_200F_206F_202E(QuestSequence P_0, int P_1) + { + return P_0.FindStep(P_1); + } + + static EInteractionType _200D_206C_202A_202B_206D_202A_202B_206C_202C_206E_202A_206F_202E_200D_200B_206D_206E_202C_206B_206D_206D_202A_200C_200D_200B_200F_200F_202B_206F_202D_206A_200E_202A_206F_202C_202D_202C_200D_200B_202D_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static Vector3? _206F_202B_202A_202A_200B_202D_202E_202D_206D_206E_200B_202D_206C_200E_200C_202B_202D_202A_200E_206D_206D_202C_200D_206B_202B_206C_206A_206B_206D_202E_202B_202E_200E_206F_206C_202E_202B_206B_200C_202C_202E(QuestStep P_0) + { + return P_0.Position; + } + + static ushort _202B_202C_200F_200C_206F_200C_200F_202E_200F_206B_206E_206F_206D_202C_202D_200C_200D_200B_206A_206A_200F_206B_200D_206F_200F_206E_200D_200D_202D_202A_200C_206E_200F_200C_200B_200D_206D_200B_206D_202E_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static bool _202E_202D_202A_200B_206C_202D_202D_206E_202D_206E_206D_202B_200E_206F_206F_200D_206F_202C_206E_206F_200E_206D_202D_200D_202C_200B_200B_202C_202A_200F_202B_200E_206E_202B_202C_200F_206A_206F_206F_206E_202E(QuestRoot P_0) + { + return P_0.Disabled; } } diff --git a/Questionable/Questionable.External/TextAdvanceIpc.cs b/Questionable/Questionable.External/TextAdvanceIpc.cs index 948c72c7..bd03a04e 100644 --- a/Questionable/Questionable.External/TextAdvanceIpc.cs +++ b/Questionable/Questionable.External/TextAdvanceIpc.cs @@ -1,8 +1,11 @@ using System; +using System.Runtime.CompilerServices; 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 +35,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,80 +67,215 @@ 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; + + [MethodImpl(MethodImplOptions.NoInlining)] + 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; - _isInExternalControl = pluginInterface.GetIpcSubscriber("TextAdvance.IsInExternalControl"); - _enableExternalControl = pluginInterface.GetIpcSubscriber("TextAdvance.EnableExternalControl"); - _disableExternalControl = pluginInterface.GetIpcSubscriber("TextAdvance.DisableExternalControl"); - _pluginName = pluginInterface.InternalName; - _framework.Update += OnUpdate; + _logger = logger; + _isInExternalControl = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-67666831)); + _enableExternalControl = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-228954423)); + _disableExternalControl = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-324739652)); + _pluginName = _202E_200E_200D_200F_206B_200E_200B_206E_200D_206F_202B_200C_200D_200D_206C_206F_202D_200B_202B_206A_202A_206A_202B_206A_200D_202A_206E_200E_206D_200F_206B_206A_206D_206F_200D_206A_202C_200C_202A_206D_202E(pluginInterface); + _202C_206B_206B_206D_200B_200F_206D_202D_206E_206F_202E_202C_200E_206D_206C_200C_202C_200D_206E_200D_202D_202C_200C_202C_206A_200D_206C_200D_206E_202D_202A_200E_206B_202A_206B_200E_206C_206F_206F_202D_202E(_framework, (IFramework.OnUpdateDelegate)OnUpdate); } + [MethodImpl(MethodImplOptions.NoInlining)] public void Dispose() { - _framework.Update -= OnUpdate; + _200B_200C_202D_206D_202B_206C_200B_206C_200C_200D_202C_202D_200D_202E_206C_206C_200F_200B_202B_202A_206C_206E_200D_206E_206A_202E_206D_202E_202B_200F_200F_202C_202B_200D_206B_202A_206D_202D_202C_206E_202E(_framework, (IFramework.OnUpdateDelegate)OnUpdate); if (_isExternalControlActivated) { - _disableExternalControl.InvokeFunc(_pluginName); + try + { + _disableExternalControl.InvokeFunc(_pluginName); + } + catch (IpcError ipcError) + { + _202A_200F_202C_202B_206C_202C_200D_206A_206D_202C_200D_202E_202E_206B_202D_202B_206B_202B_206A_206A_202E_200E_200E_202B_202B_206A_206A_202E_202D_206C_206A_200E_200B_202B_206C_200F_206F_202E_200B_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(1974302231), Array.Empty()); + } } } + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void OnUpdate(IFramework framework) { - bool flag = _questController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual || _fateController.IsRunning || _seasonalDutyController.IsRunning; - if (!_configuration.General.ConfigureTextAdvance || !flag) + int num = ((_202B_202E_206D_202D_206E_200C_200B_200B_200C_206A_200B_200E_202A_200F_202B_200B_206E_206B_202E_206D_200E_200B_206E_206C_206F_202E_200F_206C_206F_200B_206F_206D_200F_200E_200C_200C_206A_206E_206A_202A_202E() >= _ipcRetryAfter) ? 1976969313 : 1976969312); + while (true) { - if (_isExternalControlActivated && (_disableExternalControl.InvokeFunc(_pluginName) || !_isInExternalControl.InvokeFunc())) + int num2 = num; + int num3 = 1976969313; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _isExternalControlActivated = false; - } - return; - } - bool cinemaMode = _configuration.General.CinemaMode; - bool flag2 = _condition[ConditionFlag.OccupiedInCutSceneEvent] || _condition[ConditionFlag.WatchingCutscene] || _condition[ConditionFlag.WatchingCutscene78]; - bool flag3 = cinemaMode != _lastCinemaModeState || (cinemaMode && flag2 != _lastInCutsceneState); - if (!_isExternalControlActivated) - { - if (!_isInExternalControl.InvokeFunc()) - { - ExternalTerritoryConfig arg = CreateExternalTerritoryConfig(cinemaMode, flag2); - if (_enableExternalControl.InvokeFunc(_pluginName, arg)) + case 2: + goto IL_004d; + case 1: + return; + case 0: + try { - _isExternalControlActivated = true; - _lastCinemaModeState = cinemaMode; - _lastInCutsceneState = flag2; + OnUpdateInner(); + return; + } + catch (IpcError ipcError) + { + _202A_200F_202C_202B_206C_202C_200D_206A_206D_202C_200D_202E_202E_206B_202D_202B_206B_202B_206A_206A_202E_200E_200E_202B_202B_206A_206A_202E_202D_206C_206A_200E_200B_202B_206C_200F_206F_202E_200B_202E_202E((ILogger)_logger, (Exception)ipcError, global::_003CModule_003E._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(1033634384), Array.Empty()); + _ipcRetryAfter = _202B_202E_206D_202D_206E_200C_200B_200B_200C_206A_200B_200E_202A_200F_202B_200B_206E_206B_202E_206D_200E_200B_206E_206C_206F_202E_200F_206C_206F_200B_206F_206D_200F_200E_200C_200C_206A_206E_206A_202A_202E() + 30000; + return; } } - } - else if (flag3) - { - ExternalTerritoryConfig arg2 = CreateExternalTerritoryConfig(cinemaMode, flag2); - _enableExternalControl.InvokeFunc(_pluginName, arg2); - _lastCinemaModeState = cinemaMode; - _lastInCutsceneState = flag2; + continue; + IL_004d: + num = 1976969312; } } - private static ExternalTerritoryConfig CreateExternalTerritoryConfig(bool cinemaMode, bool inCutscene) + private void OnUpdateInner() { - bool flag = cinemaMode && inCutscene; + //Discarded unreachable code: IL_0182 + int num = (_questController.IsRunning ? (-758359221) : (-758359219)); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = -758359224; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num7; + switch (num5 - (num6 + num6)) + { + case 2: + if (!_isExternalControlActivated) + { + return; + } + goto case 5; + case 5: + num = ((_questController.AutomationType != QuestController.EAutomationType.Manual) ? (-758359221) : (-758359220)); + break; + case 8: + num7 = (_customDeliveryController.IsRunning ? 1 : 0); + goto IL_011a; + case 1: + num = (_seasonalDutyController.IsRunning ? (-758359221) : (-758359218)); + break; + case 0: + num = -758359219; + break; + case 4: + num = (_fateController.IsRunning ? (-758359221) : (-758359223)); + break; + case 3: + num7 = 1; + goto IL_011a; + case 6: + num = (_attunementController.IsRunning ? (-758359221) : (-758359232)); + break; + case 7: + { + if (!flag) + { + num = -758359222; + break; + } + bool cinemaMode = _configuration.General.CinemaMode; + bool flag2 = _206A_202B_202E_200F_202E_206B_200E_200B_206B_206D_206B_200F_206A_206A_206F_202C_202C_206E_206E_206B_206A_200F_200F_202D_200F_206F_206D_202C_202C_200B_202E_202B_206B_200E_206F_202E_200E_200B_200C_202C_202E(_condition, ConditionFlag.OccupiedInCutSceneEvent) || _206A_202B_202E_200F_202E_206B_200E_200B_206B_206D_206B_200F_206A_206A_206F_202C_202C_206E_206E_206B_206A_200F_200F_202D_200F_206F_206D_202C_202C_200B_202E_202B_206B_200E_206F_202E_200E_200B_200C_202C_202E(_condition, ConditionFlag.WatchingCutscene) || _206A_202B_202E_200F_202E_206B_200E_200B_206B_206D_206B_200F_206A_206A_206F_202C_202C_206E_206E_206B_206A_200F_200F_202D_200F_206F_206D_202C_202C_200B_202E_202B_206B_200E_206F_202E_200E_200B_200C_202C_202E(_condition, ConditionFlag.WatchingCutscene78); + 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, flag3); + if (_enableExternalControl.InvokeFunc(_pluginName, arg)) + { + _isExternalControlActivated = true; + _lastCinemaModeState = cinemaMode; + _lastInCutsceneState = flag2; + _lastSuppressRequestState = flag3; + } + } + } + else if (flag4) + { + ExternalTerritoryConfig arg2 = CreateExternalTerritoryConfig(cinemaMode, flag2, flag3); + _enableExternalControl.InvokeFunc(_pluginName, arg2); + _lastCinemaModeState = cinemaMode; + _lastInCutsceneState = flag2; + _lastSuppressRequestState = flag3; + } + return; + } + IL_011a: + flag = (byte)num7 != 0; + num = ((!_configuration.General.ConfigureTextAdvance) ? (-758359222) : (-758359217)); + break; + } + } + } + + private static ExternalTerritoryConfig CreateExternalTerritoryConfig(bool cinemaMode, bool inCutscene, bool suppressRequestHandling) + { + bool flag = (byte)((uint)((cinemaMode ? 1 : 0) + (inCutscene ? 1 : 0)) - ((cinemaMode || inCutscene) ? 1u : 0u)) != 0; return new ExternalTerritoryConfig { EnableQuestAccept = true, EnableQuestComplete = true, EnableRewardPick = true, - EnableRequestHandin = true, + EnableRequestHandin = !suppressRequestHandling, EnableCutsceneEsc = !cinemaMode, EnableCutsceneSkipConfirm = !cinemaMode, EnableTalkSkip = !flag, - EnableRequestFill = true, + EnableRequestFill = !suppressRequestHandling, EnableAutoInteract = false }; } + + static string _202E_200E_200D_200F_206B_200E_200B_206E_200D_206F_202B_200C_200D_200D_206C_206F_202D_200B_202B_206A_202A_206A_202B_206A_200D_202A_206E_200E_206D_200F_206B_206A_206D_206F_200D_206A_202C_200C_202A_206D_202E(IDalamudPluginInterface P_0) + { + return P_0.InternalName; + } + + static void _202C_206B_206B_206D_200B_200F_206D_202D_206E_206F_202E_202C_200E_206D_206C_200C_202C_200D_206E_200D_202D_202C_200C_202C_206A_200D_206C_200D_206E_202D_202A_200E_206B_202A_206B_200E_206C_206F_206F_202D_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update += P_1; + } + + static void _200B_200C_202D_206D_202B_206C_200B_206C_200C_200D_202C_202D_200D_202E_206C_206C_200F_200B_202B_202A_206C_206E_200D_206E_206A_202E_206D_202E_202B_200F_200F_202C_202B_200D_206B_202A_206D_202D_202C_206E_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update -= P_1; + } + + static void _202A_200F_202C_202B_206C_202C_200D_206A_206D_202C_200D_202E_202E_206B_202D_202B_206B_202B_206A_206A_202E_200E_200E_202B_202B_206A_206A_202E_202D_206C_206A_200E_200B_202B_206C_200F_206F_202E_200B_202E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogDebug(P_1, P_2, P_3); + } + + static long _202B_202E_206D_202D_206E_200C_200B_200B_200C_206A_200B_200E_202A_200F_202B_200B_206E_206B_202E_206D_200E_200B_206E_206C_206F_202E_200F_206C_206F_200B_206F_206D_200F_200E_200C_200C_206A_206E_206A_202A_202E() + { + return Environment.TickCount64; + } + + static bool _206A_202B_202E_200F_202E_206B_200E_200B_206B_206D_206B_200F_206A_206A_206F_202C_202C_206E_206E_206B_206A_200F_200F_202D_200F_206F_206D_202C_202C_200B_202E_202B_206B_200E_206F_202E_200E_200B_200C_202C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } } diff --git a/Questionable/Questionable.External/WigglyNavAvailability.cs b/Questionable/Questionable.External/WigglyNavAvailability.cs new file mode 100644 index 00000000..d161d872 --- /dev/null +++ b/Questionable/Questionable.External/WigglyNavAvailability.cs @@ -0,0 +1,359 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Threading; +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 = _206B_206F_202A_202D_200B_202E_206F_200F_206E_206E_200C_202E_206B_200B_202B_202A_206A_202A_200C_200B_200B_206E_206C_200B_206C_200F_206B_206B_202C_200C_206A_206F_202C_200F_206D_206B_202A_200C_206C_202E(); + + private volatile bool _isCompatible; + + private long _lastProbeTicks; + + [CompilerGenerated] + private Action? m_CompatibilityChanged; + + public bool IsCompatible => _isCompatible; + + public event Action? CompatibilityChanged + { + [CompilerGenerated] + add + { + Action action = this.m_CompatibilityChanged; + int num = 1991447574; + while (true) + { + int num2 = num; + int num3 = 1991447575; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1991447574; + break; + case 1: + { + Action action2 = action; + Action value2 = (Action)_206F_202D_202C_206D_200D_200D_206A_202A_200E_202A_206C_206C_206C_202C_206E_202E_202A_202B_202C_202C_202D_202C_200B_206C_206F_202B_200E_206E_202D_206A_200D_200C_202E_206C_206E_200F_202D_206B_200B_202B_202E((Delegate)action2, (Delegate)value); + action = Interlocked.CompareExchange(ref this.m_CompatibilityChanged, value2, action2); + num = (((object)action != action2) ? 1991447574 : 1991447575); + break; + } + case 0: + return; + } + } + } + [CompilerGenerated] + remove + { + Action action = this.m_CompatibilityChanged; + int num = -280781093; + while (true) + { + int num2 = num; + int num3 = -280781094; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -280781093; + break; + case 2: + return; + case 1: + { + Action action2 = action; + Action value2 = (Action)_202C_200B_206A_206E_206D_202D_206B_206E_206C_206A_200F_200C_200B_206B_206C_206F_200D_200E_202A_202E_202E_206C_206F_200F_202D_206E_200C_206F_202E_206E_202A_200C_200E_202B_200C_200E_202B_202D_206F_200C_202E((Delegate)action2, (Delegate)value); + action = Interlocked.CompareExchange(ref this.m_CompatibilityChanged, value2, action2); + num = (((object)action != action2) ? (-280781093) : (-280781096)); + break; + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public WigglyNavAvailability(IDalamudPluginInterface pluginInterface, WigglyNavIpc wigglyNavIpc, IFramework framework, ILogger logger) + { + _pluginInterface = pluginInterface; + _wigglyNavIpc = wigglyNavIpc; + _framework = framework; + _logger = logger; + TryRefreshVerdict(respectThrottle: false); + _206E_206D_206E_200F_202E_206D_206D_200D_200F_202D_202C_200C_200E_206D_202E_206F_200F_200E_200E_200F_206E_202C_200E_202C_206D_202E_202E_206D_202E_202B_200E_200F_206B_206C_202C_206E_206B_202C_202E_202A_202E((ILogger)_logger, global::_003CModule_003E._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(65257321), new object[1] { DescribeVerdict(_isCompatible) }); + _206B_202D_200B_202C_200F_202D_202D_202B_206B_200F_200C_202B_200F_202E_202D_206A_202D_206F_202E_200B_206B_202C_200F_202C_206A_200B_202C_202A_206F_202E_200D_200D_206B_202D_200F_206A_200E_202B_200E_206E_202E(_pluginInterface, (IDalamudPluginInterface.ActivePluginsChangedDelegate)OnActivePluginsChanged); + _200B_206F_206C_202B_206B_200B_200B_202B_202D_206F_206E_200F_202D_206E_206B_202B_206F_202D_206E_206C_202A_206C_206F_200D_202E_202B_206F_202B_200B_200F_206B_200B_206C_202A_200D_200F_202E_206F_200C_206A_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); + } + + public void Dispose() + { + _200D_206B_200F_206F_200B_206F_200D_202B_200C_202B_200D_202B_200C_206C_200D_202B_200C_202A_202C_200F_202A_202A_200C_200C_206A_202E_202B_206F_202A_206D_202A_202A_202A_206F_200E_206D_206B_202C_200B_206B_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); + _200E_200C_202C_200B_202C_200F_206B_202C_202D_202D_200D_206C_206C_202C_200B_200D_206E_206E_206B_206D_202B_200D_200B_200C_206F_202E_200D_200C_202B_206B_202A_200E_206D_200C_202C_206D_200D_200C_202E_206B_202E(_pluginInterface, (IDalamudPluginInterface.ActivePluginsChangedDelegate)OnActivePluginsChanged); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void OnActivePluginsChanged(IActivePluginsChangedEventArgs args) + { + int num = (_200D_202D_202C_200E_206A_200E_202B_206A_206A_202B_200F_202B_206E_206D_206C_206B_206A_200C_206B_200E_200F_206D_206B_202A_206E_202D_206A_202E_202E_202A_206B_200E_200B_206A_206A_200F_206E_206C_206D_206C_202E(args).Contains(global::_003CModule_003E._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(1385994134)) ? (-92936946) : (-92936947)); + while (true) + { + int num2 = num; + int num3 = -92936946; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -92936947; + break; + case 3: + return; + case 1: + _206E_206D_206E_200F_202E_206D_206D_200D_200F_202D_202C_200C_200E_206D_202E_206F_200F_200E_200E_200F_206E_202C_200E_202C_206D_202E_202E_206D_202E_202B_200E_200F_206B_206C_202C_206E_206B_202C_202E_202A_202E((ILogger)_logger, global::_003CModule_003E._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(1087087773), new object[2] + { + DescribeVerdict(_isCompatible), + _202B_206B_200B_202C_202B_206D_206C_206E_206E_206D_202B_200E_202B_200E_206E_206E_200B_206D_202E_206E_200C_202E_206C_200D_202C_200F_200F_206D_200E_202B_200C_202C_206E_202C_202C_206B_200F_206C_206F_206B_202E(args) + }); + this.CompatibilityChanged?.Invoke(); + return; + case 4: + return; + case 0: + num = (TryRefreshVerdict(respectThrottle: false) ? (-92936945) : (-92936950)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void OnFrameworkUpdate(IFramework framework) + { + int num = ((!_isCompatible) ? (-1065706762) : (-1065706763)); + while (true) + { + int num2 = num; + int num3 = -1065706764; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return; + case 1: + return; + case 0: + _206E_206D_206E_200F_202E_206D_206D_200D_200F_202D_202C_200C_200E_206D_202E_206F_200F_200E_200E_200F_206E_202C_200E_202C_206D_202E_202E_206D_202E_202B_200E_200F_206B_206C_202C_206E_206B_202C_202E_202A_202E((ILogger)_logger, global::_003CModule_003E._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(1036219173), new object[1] { DescribeVerdict(_isCompatible) }); + this.CompatibilityChanged?.Invoke(); + return; + case 2: + num = (TryRefreshVerdict(respectThrottle: true) ? (-1065706764) : (-1065706768)); + break; + case 3: + num = -1065706763; + break; + } + } + } + + private bool TryRefreshVerdict(bool respectThrottle) + { + object verdictLock = _verdictLock; + bool flag = false; + try + { + _202D_206B_202A_206F_202C_202E_202C_200F_202C_200F_202A_206F_202E_206D_206C_206F_202E_206F_206B_200D_202B_202E_200C_202A_200B_200E_202E_202A_206E_206E_202B_200F_200C_206E_200C_202A_200B_202E_202A_202C_202E(verdictLock, ref flag); + long num = _200D_206F_206B_202C_206E_206F_206B_206E_200B_200D_202D_202E_202E_202A_200C_200E_200D_206A_202C_200F_202C_202B_202C_202D_200B_202A_202B_200F_206D_206D_206F_206D_202A_202A_206A_206E_206A_202D_206B_202C_202E(); + int num2 = ((!respectThrottle) ? 1824469596 : 1824469599); + (int, int)? tuple = default((int, int)?); + bool flag2 = default(bool); + while (true) + { + int num3 = num2; + int num4 = 1824469594; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + int num8; + switch (num6 - (num7 + num7)) + { + case 7: + return false; + case 1: + num8 = 0; + goto IL_008c; + case 3: + num2 = 1824469599; + break; + case 5: + { + long lastProbeTicks = _lastProbeTicks; + long num9 = num; + num2 = ((~(~num9 + lastProbeTicks) >= 5000) ? 1824469596 : 1824469592); + break; + } + case 6: + _lastProbeTicks = num; + tuple = _wigglyNavIpc.TryGetApiVersion(); + num2 = ((!tuple.HasValue) ? 1824469595 : 1824469598); + break; + case 4: + num8 = ((tuple.GetValueOrDefault().Item1 == 1) ? 1 : 0); + goto IL_008c; + case 2: + return false; + case 0: + { + _isCompatible = flag2; + return true; + } + IL_008c: + flag2 = (byte)num8 != 0; + num2 = ((flag2 != _isCompatible) ? 1824469594 : 1824469597); + break; + } + } + } + finally + { + int num2 = ((!flag) ? (-176733866) : (-176733867)); + while (true) + { + int num10 = num2; + int num4 = -176733865; + int num5 = num10; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -176733867; + break; + case 1: + goto end_IL_018f; + case 2: + _206E_202E_206D_202A_200B_206A_206D_206B_206C_202A_206A_200D_200F_200D_202E_200D_206D_202E_200B_202D_200B_206C_206D_206F_200E_200B_200F_202D_202E_202A_202B_200B_202E_206A_206F_200E_200E_200C_206E_202E(verdictLock); + num2 = -176733866; + break; + } + continue; + end_IL_018f: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static string DescribeVerdict(bool isCompatible) + { + int num = (isCompatible ? (-1280870548) : (-1280870547)); + while (true) + { + int num2 = num; + int num3 = -1280870548; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0041; + case 0: + return global::_003CModule_003E._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(2037209373); + case 1: + return global::_003CModule_003E._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(424588411); + } + continue; + IL_0041: + num = -1280870547; + } + } + + static object _206B_206F_202A_202D_200B_202E_206F_200F_206E_206E_200C_202E_206B_200B_202B_202A_206A_202A_200C_200B_200B_206E_206C_200B_206C_200F_206B_206B_202C_200C_206A_206F_202C_200F_206D_206B_202A_200C_206C_202E() + { + return new object(); + } + + static void _206E_206D_206E_200F_202E_206D_206D_200D_200F_202D_202C_200C_200E_206D_202E_206F_200F_200E_200E_200F_206E_202C_200E_202C_206D_202E_202E_206D_202E_202B_200E_200F_206B_206C_202C_206E_206B_202C_202E_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _206B_202D_200B_202C_200F_202D_202D_202B_206B_200F_200C_202B_200F_202E_202D_206A_202D_206F_202E_200B_206B_202C_200F_202C_206A_200B_202C_202A_206F_202E_200D_200D_206B_202D_200F_206A_200E_202B_200E_206E_202E(IDalamudPluginInterface P_0, IDalamudPluginInterface.ActivePluginsChangedDelegate P_1) + { + P_0.ActivePluginsChanged += P_1; + } + + static void _200B_206F_206C_202B_206B_200B_200B_202B_202D_206F_206E_200F_202D_206E_206B_202B_206F_202D_206E_206C_202A_206C_206F_200D_202E_202B_206F_202B_200B_200F_206B_200B_206C_202A_200D_200F_202E_206F_200C_206A_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update += P_1; + } + + static Delegate _206F_202D_202C_206D_200D_200D_206A_202A_200E_202A_206C_206C_206C_202C_206E_202E_202A_202B_202C_202C_202D_202C_200B_206C_206F_202B_200E_206E_202D_206A_200D_200C_202E_206C_206E_200F_202D_206B_200B_202B_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Combine(P_0, P_1); + } + + static Delegate _202C_200B_206A_206E_206D_202D_206B_206E_206C_206A_200F_200C_200B_206B_206C_206F_200D_200E_202A_202E_202E_206C_206F_200F_202D_206E_200C_206F_202E_206E_202A_200C_200E_202B_200C_200E_202B_202D_206F_200C_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Remove(P_0, P_1); + } + + static void _200D_206B_200F_206F_200B_206F_200D_202B_200C_202B_200D_202B_200C_206C_200D_202B_200C_202A_202C_200F_202A_202A_200C_200C_206A_202E_202B_206F_202A_206D_202A_202A_202A_206F_200E_206D_206B_202C_200B_206B_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update -= P_1; + } + + static void _200E_200C_202C_200B_202C_200F_206B_202C_202D_202D_200D_206C_206C_202C_200B_200D_206E_206E_206B_206D_202B_200D_200B_200C_206F_202E_200D_200C_202B_206B_202A_200E_206D_200C_202C_206D_200D_200C_202E_206B_202E(IDalamudPluginInterface P_0, IDalamudPluginInterface.ActivePluginsChangedDelegate P_1) + { + P_0.ActivePluginsChanged -= P_1; + } + + static IEnumerable _200D_202D_202C_200E_206A_200E_202B_206A_206A_202B_200F_202B_206E_206D_206C_206B_206A_200C_206B_200E_200F_206D_206B_202A_206E_202D_206A_202E_202E_202A_206B_200E_200B_206A_206A_200F_206E_206C_206D_206C_202E(IActivePluginsChangedEventArgs P_0) + { + return P_0.AffectedInternalNames; + } + + static PluginListInvalidationKind _202B_206B_200B_202C_202B_206D_206C_206E_206E_206D_202B_200E_202B_200E_206E_206E_200B_206D_202E_206E_200C_202E_206C_200D_202C_200F_200F_206D_200E_202B_200C_202C_206E_202C_202C_206B_200F_206C_206F_206B_202E(IActivePluginsChangedEventArgs P_0) + { + return P_0.Kind; + } + + static void _202D_206B_202A_206F_202C_202E_202C_200F_202C_200F_202A_206F_202E_206D_206C_206F_202E_206F_206B_200D_202B_202E_200C_202A_200B_200E_202E_202A_206E_206E_202B_200F_200C_206E_200C_202A_200B_202E_202A_202C_202E(object P_0, ref bool P_1) + { + Monitor.Enter(P_0, ref P_1); + } + + static long _200D_206F_206B_202C_206E_206F_206B_206E_200B_200D_202D_202E_202E_202A_200C_200E_200D_206A_202C_200F_202C_202B_202C_202D_200B_202A_202B_200F_206D_206D_206F_206D_202A_202A_206A_206E_206A_202D_206B_202C_202E() + { + return Environment.TickCount64; + } + + static void _206E_202E_206D_202A_200B_206A_206D_206B_206C_202A_206A_200D_200F_200D_202E_200D_206D_202E_200B_202D_200B_206C_206D_206F_200E_200B_200F_202D_202E_202A_202B_200B_202E_206A_206F_200E_200E_200C_206E_202E(object P_0) + { + Monitor.Exit(P_0); + } +} diff --git a/Questionable/Questionable.External/WigglyNavIpc.cs b/Questionable/Questionable.External/WigglyNavIpc.cs new file mode 100644 index 00000000..719a8143 --- /dev/null +++ b/Questionable/Questionable.External/WigglyNavIpc.cs @@ -0,0 +1,626 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +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 +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass26_0 + { + public WigglyNavIpc _003C_003E4__this; + + public CancellationToken cancellationToken; + + public PathfindQuery query; + + internal Task? _003CPathfind_003Eb__0() + { + return _003C_003E4__this._pathfind.InvokeFunc(query, cancellationToken); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass31_0 + { + public WigglyNavIpc _003C_003E4__this; + + public Vector3 position; + + public float halfExtentXZ; + + public float halfExtentY; + + internal Vector3? _003CFindNearestMeshPoint_003Eb__0() + { + return _003C_003E4__this._nearestPoint.InvokeFunc(position, _202B_206C_200C_200E_200F_202E_202E_200F_206A_200D_200E_202B_206B_202A_200D_200B_202A_202C_202E_202C_206F_206B_200F_206B_200E_200B_200F_206D_200E_200C_206B_200B_206B_200F_200E_200B_202A_202B_202D_202E_202E(halfExtentXZ, halfExtentY)); + } + + static float _202B_206C_200C_200E_200F_202E_202E_200F_206A_200D_200E_202B_206B_202A_200D_200B_202A_202C_202E_202C_206F_206B_200F_206B_200E_200B_200F_206D_200E_200C_206B_200B_206B_200F_200E_200B_202A_202B_202D_202E_202E(float P_0, float P_1) + { + return MathF.Max(P_0, P_1); + } + } + + [StructLayout(LayoutKind.Auto)] + [CompilerGenerated] + private struct _003CPathfind_003Ed__26 : IAsyncStateMachine + { + public int _003C_003E1__state; + + public AsyncTaskMethodBuilder _003C_003Et__builder; + + public WigglyNavIpc _003C_003E4__this; + + public CancellationToken cancellationToken; + + public Vector3 from; + + public Vector3 to; + + public bool fly; + + public float tolerance; + + private ConfiguredTaskAwaitable.ConfiguredTaskAwaiter _003C_003Eu__1; + + [MethodImpl(MethodImplOptions.NoInlining)] + private void MoveNext() + { + int num = _003C_003E1__state; + WigglyNavIpc wigglyNavIpc = _003C_003E4__this; + PathfindResult result2; + try + { + int num2 = ((num == 0) ? (-1011094235) : (-1011094234)); + _003C_003Ec__DisplayClass26_0 _003C_003Ec__DisplayClass26_ = default(_003C_003Ec__DisplayClass26_0); + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter awaiter = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + Task task = default(Task); + while (true) + { + int num3 = num2; + int num4 = -1011094236; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = -1011094234; + break; + case 2: + _003C_003Ec__DisplayClass26_ = new _003C_003Ec__DisplayClass26_0 + { + _003C_003E4__this = _003C_003E4__this, + cancellationToken = cancellationToken + }; + _200F_206C_206B_202E_202C_206F_202C_206A_206F_206C_206D_200E_206E_206A_202B_200B_206D_206D_206F_206E_200C_202B_202B_200F_206F_200B_202A_206D_206D_206E_206A_200B_206B_200D_202C_206F_200F_200E_200C_202D_202E(ref wigglyNavIpc._outstandingPathfinds); + num2 = -1011094235; + break; + case 1: + try + { + num2 = ((num == 0) ? 1011479215 : 1011479213); + while (true) + { + int num8 = num2; + num4 = 1011479211; + num5 = num8; + int num9 = num5 + num4; + int num10 = num5 & num4; + switch (num9 - (num10 + num10)) + { + case 4: + awaiter = _003C_003Eu__1; + _003C_003Eu__1 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = (_003C_003E1__state = -1); + num2 = 1011479208; + break; + case 6: + _003C_003Ec__DisplayClass26_.query = new PathfindQuery(from, to, fly, tolerance); + task = Guarded(_003C_003Ec__DisplayClass26_._003CPathfind_003Eb__0); + num2 = ((task != null) ? 1011479209 : 1011479210); + break; + case 1: + _200C_202A_206B_200B_206E_206E_202B_202B_200E_202B_206C_206E_206B_202A_200C_200D_206D_200D_200F_206F_202B_202D_206C_200B_202D_202B_200F_202E_202D_206E_206E_202A_202C_206B_200B_202A_206F_200F_202A_206B_202E((ILogger)wigglyNavIpc._logger, global::_003CModule_003E._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(433157232), Array.Empty()); + result2 = EmptyPathfindResult(); + goto end_IL_00bb; + case 5: + num2 = 1011479213; + break; + case 2: + awaiter = task.ConfigureAwait(continueOnCapturedContext: false).GetAwaiter(); + num2 = (awaiter.IsCompleted ? 1011479208 : 1011479211); + break; + case 0: + num = (_003C_003E1__state = 0); + _003C_003Eu__1 = awaiter; + _003C_003Et__builder.AwaitUnsafeOnCompleted(ref awaiter, ref this); + return; + case 3: + { + string result = awaiter.GetResult(); + try + { + PathfindResult pathfindResult = JsonConvert.DeserializeObject(result); + num2 = (((object)pathfindResult == null) ? 1753402747 : 1753402745); + while (true) + { + int num11 = num2; + num4 = 1753402744; + num5 = num11; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = 1753402745; + break; + case 1: + num2 = ((pathfindResult.Waypoints != null) ? 1753402746 : 1753402747); + break; + case 3: + _200C_202A_206B_200B_206E_206E_202B_202B_200E_202B_206C_206E_206B_202A_200C_200D_206D_200D_200F_206F_202B_202D_206C_200B_202D_202B_200F_202E_202D_206E_206E_202A_202C_206B_200B_202A_206F_200F_202A_206B_202E((ILogger)wigglyNavIpc._logger, global::_003CModule_003E._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(1821206779), Array.Empty()); + result2 = EmptyPathfindResult(); + goto end_IL_024d; + case 2: + result2 = pathfindResult; + goto end_IL_024d; + } + continue; + end_IL_024d: + break; + } + } + catch (JsonException ex) + { + _206B_200D_200C_206C_200B_202B_202D_200B_206E_206F_200F_200D_206A_206B_200E_206B_200D_200C_206D_200F_200E_206B_200F_202A_200E_200E_206C_200D_206C_206B_206A_206F_206F_206B_206F_200B_206E_206F_200F_206F_202E((ILogger)wigglyNavIpc._logger, (Exception)ex, global::_003CModule_003E._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(-1517525166), Array.Empty()); + result2 = EmptyPathfindResult(); + } + goto end_IL_00bb; + } + } + continue; + end_IL_00bb: + break; + } + } + finally + { + num2 = ((num >= 0) ? (-420000776) : (-420000773)); + while (true) + { + int num12 = num2; + num4 = -420000774; + num5 = num12; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -420000773; + break; + case 2: + goto end_IL_032e; + case 1: + _200C_200C_202A_200C_200F_206D_206A_206B_206D_202E_200E_200D_200E_206F_202B_202C_200F_202A_202D_206C_202A_206D_202B_200D_202C_206C_200E_202C_200B_200C_202B_200E_200F_202C_206F_202D_202A_200C_206B_206B_202E(ref wigglyNavIpc._outstandingPathfinds); + num2 = -420000776; + break; + } + continue; + end_IL_032e: + break; + } + } + goto end_IL_002c; + } + continue; + end_IL_002c: + break; + } + } + catch (Exception exception) + { + _003C_003E1__state = -2; + _003C_003Et__builder.SetException(exception); + return; + } + _003C_003E1__state = -2; + _003C_003Et__builder.SetResult(result2); + } + + void IAsyncStateMachine.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + this.MoveNext(); + } + + [DebuggerHidden] + private void SetStateMachine(IAsyncStateMachine stateMachine) + { + _003C_003Et__builder.SetStateMachine(stateMachine); + } + + void IAsyncStateMachine.SetStateMachine(IAsyncStateMachine stateMachine) + { + //ILSpy generated this explicit interface implementation from .override directive in SetStateMachine + this.SetStateMachine(stateMachine); + } + + static int _200F_206C_206B_202E_202C_206F_202C_206A_206F_206C_206D_200E_206E_206A_202B_200B_206D_206D_206F_206E_200C_202B_202B_200F_206F_200B_202A_206D_206D_206E_206A_200B_206B_200D_202C_206F_200F_200E_200C_202D_202E(ref int P_0) + { + return Interlocked.Increment(ref P_0); + } + + static void _200C_202A_206B_200B_206E_206E_202B_202B_200E_202B_206C_206E_206B_202A_200C_200D_206D_200D_200F_206F_202B_202D_206C_200B_202D_202B_200F_202E_202D_206E_206E_202A_202C_206B_200B_202A_206F_200F_202A_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _206B_200D_200C_206C_200B_202B_202D_200B_206E_206F_200F_200D_206A_206B_200E_206B_200D_200C_206D_200F_200E_206B_200F_202A_200E_200E_206C_200D_206C_206B_206A_206F_206F_206B_206F_200B_206E_206F_200F_206F_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static int _200C_200C_202A_200C_200F_206D_206A_206B_206D_202E_200E_200D_200E_206F_202B_202C_200F_202A_202D_206C_202A_206D_202B_200D_202C_206C_200E_202C_200B_200C_202B_200E_200F_202C_206F_202D_202A_200C_206B_206B_202E(ref int P_0) + { + return Interlocked.Decrement(ref P_0); + } + } + + 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 + { + get + { + NavStatus status = GetStatus(); + int num = (((object)status == null) ? (-1445089980) : (-1445089979)); + while (true) + { + int num2 = num; + int num3 = -1445089980; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0048; + case 0: + return false; + case 1: + return status.Ready; + } + continue; + IL_0048: + num = -1445089979; + } + } + } + + public bool IsPathRunning => Guarded(() => _isRunning.InvokeFunc(), fallback: false); + + public bool IsPathfindInProgress => _200B_200F_200B_202C_200F_202B_202E_206F_200F_202C_206B_200D_206D_202B_202E_206D_202A_202D_206F_202E_206D_202E_200F_202D_206C_202A_206D_200F_206F_206F_202C_202B_202C_200C_202B_202C_202E_206B_206B_206A_202E(ref _outstandingPathfinds) > 0; + + public int NumQueuedPathfindRequests => _202C_202D_202B_202E_206B_200B_206F_206B_206F_200D_206F_202B_202E_202C_200C_200B_202D_202A_206B_206D_206D_206E_202E_206B_206B_206C_206E_200F_202B_202D_202D_202E_206D_200F_202C_202D_202B_206D_202A_206C_202E(0, _200B_200F_200B_202C_200F_202B_202E_206F_200F_202C_206B_200D_206D_202B_202E_206D_202A_202D_206F_202E_206D_202E_200F_202D_206C_202A_206D_200F_206F_206F_202C_202B_202C_200C_202B_202C_202E_206B_206B_206A_202E(ref _outstandingPathfinds) - 1); + + [MethodImpl(MethodImplOptions.NoInlining)] + public WigglyNavIpc(IDalamudPluginInterface pluginInterface, ILogger logger) + { + _logger = logger; + _apiVersion = pluginInterface.GetIpcSubscriber<(int, int)>(global::_003CModule_003E._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(-210373295)); + _status = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-1180852660)); + _rebuild = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-1824704594)); + _pathfind = pluginInterface.GetIpcSubscriber>(global::_003CModule_003E._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(-1256767723)); + _move = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-2010421691)); + _stop = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(1146720717)); + _isRunning = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-2133174746)); + _waypoints = pluginInterface.GetIpcSubscriber>(global::_003CModule_003E._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(206019124)); + _floorPoint = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(1729999483)); + _nearestPoint = pluginInterface.GetIpcSubscriber(global::_003CModule_003E._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(-229973248)); + } + + 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(); + int num = ((!(status == null)) ? (-1561729010) : (-1561729012)); + while (true) + { + int num2 = num; + int num3 = -1561729009; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return _200E_200C_202A_206A_202D_206A_200B_200B_200D_206D_202A_206A_202D_202B_206D_200E_202C_202B_206E_206C_200F_202A_206A_202A_206A_200C_206C_206B_202D_202D_206D_202C_200E_206F_206E_200C_206D_202A_206C_202A_202E(status.TilesBuilt * 100 / status.TilesTotal, 0, 100); + case 0: + return 100; + case 1: + num = ((status.TilesTotal <= 0) ? (-1561729014) : (-1561729013)); + break; + case 6: + num = -1561729012; + break; + case 2: + return 0; + case 5: + num = (status.Ready ? (-1561729009) : (-1561729011)); + break; + case 3: + return 0; + } + } + } + + public async Task Pathfind(Vector3 from, Vector3 to, bool fly, float tolerance, CancellationToken cancellationToken) + { + int num = -1011094234; + _003C_003Ec__DisplayClass26_0 _003C_003Ec__DisplayClass26_ = default(_003C_003Ec__DisplayClass26_0); + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter configuredTaskAwaiter = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + ConfiguredTaskAwaitable.ConfiguredTaskAwaiter configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + Task task = default(Task); + while (true) + { + int num2 = num; + int num3 = -1011094236; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1011094234; + break; + case 2: + _003C_003Ec__DisplayClass26_ = new _003C_003Ec__DisplayClass26_0(); + _003C_003Ec__DisplayClass26_._003C_003E4__this = this; + _003C_003Ec__DisplayClass26_.cancellationToken = cancellationToken; + _003CPathfind_003Ed__26._200F_206C_206B_202E_202C_206F_202C_206A_206F_206C_206D_200E_206E_206A_202B_200B_206D_206D_206F_206E_200C_202B_202B_200F_206F_200B_202A_206D_206D_206E_206A_200B_206B_200D_202C_206F_200F_200E_200C_202D_202E(ref _outstandingPathfinds); + num = -1011094235; + break; + case 1: + try + { + num = 1011479213; + while (true) + { + int num7 = num; + num3 = 1011479211; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 4: + configuredTaskAwaiter = configuredTaskAwaiter2; + configuredTaskAwaiter2 = default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + num = 1011479208; + break; + case 6: + _003C_003Ec__DisplayClass26_.query = new PathfindQuery(from, to, fly, tolerance); + task = Guarded(_003C_003Ec__DisplayClass26_._003CPathfind_003Eb__0); + num = ((task != null) ? 1011479209 : 1011479210); + break; + case 1: + _003CPathfind_003Ed__26._200C_202A_206B_200B_206E_206E_202B_202B_200E_202B_206C_206E_206B_202A_200C_200D_206D_200D_200F_206F_202B_202D_206C_200B_202D_202B_200F_202E_202D_206E_206E_202A_202C_206B_200B_202A_206F_200F_202A_206B_202E((ILogger)_logger, global::_003CModule_003E._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(433157232), Array.Empty()); + return EmptyPathfindResult(); + case 5: + num = 1011479213; + break; + case 2: + configuredTaskAwaiter = task.ConfigureAwait(continueOnCapturedContext: false).GetAwaiter(); + num = (configuredTaskAwaiter.IsCompleted ? 1011479208 : 1011479211); + break; + case 0: + await configuredTaskAwaiter; + num = 1011479215; + break; + case 3: + { + string result = configuredTaskAwaiter.GetResult(); + try + { + PathfindResult pathfindResult = JsonConvert.DeserializeObject(result); + num = (((object)pathfindResult == null) ? 1753402747 : 1753402745); + while (true) + { + int num10 = num; + num3 = 1753402744; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1753402745; + break; + case 1: + num = ((pathfindResult.Waypoints != null) ? 1753402746 : 1753402747); + break; + case 3: + _003CPathfind_003Ed__26._200C_202A_206B_200B_206E_206E_202B_202B_200E_202B_206C_206E_206B_202A_200C_200D_206D_200D_200F_206F_202B_202D_206C_200B_202D_202B_200F_202E_202D_206E_206E_202A_202C_206B_200B_202A_206F_200F_202A_206B_202E((ILogger)_logger, global::_003CModule_003E._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(1821206779), Array.Empty()); + return EmptyPathfindResult(); + case 2: + return pathfindResult; + } + } + } + catch (JsonException ex) + { + _003CPathfind_003Ed__26._206B_200D_200C_206C_200B_202B_202D_200B_206E_206F_200F_200D_206A_206B_200E_206B_200D_200C_206D_200F_200E_206B_200F_202A_200E_200E_206C_200D_206C_206B_206A_206F_206F_206B_206F_200B_206E_206F_200F_206F_202E((ILogger)_logger, (Exception)ex, global::_003CModule_003E._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(-1517525166), Array.Empty()); + return EmptyPathfindResult(); + } + } + } + } + } + finally + { + num = -420000773; + while (true) + { + int num11 = num; + num3 = -420000774; + num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -420000773; + break; + case 2: + goto end_IL_032e; + case 1: + _003CPathfind_003Ed__26._200C_200C_202A_200C_200F_206D_206A_206B_206D_202E_200E_200D_200E_206F_202B_202C_200F_202A_202D_206C_202A_206D_202B_200D_202C_206C_200E_202C_200B_200C_202B_200E_200F_202C_206F_202D_202A_200C_206B_206B_202E(ref _outstandingPathfinds); + num = -420000776; + break; + } + continue; + end_IL_032e: + break; + } + } + } + } + } + + 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, _003C_003Ec__DisplayClass31_0._202B_206C_200C_200E_200F_202E_202E_200F_206A_200D_200E_202B_206B_202A_200D_200B_202A_202C_202E_202C_206F_206B_200F_206B_200E_200B_200F_206D_200E_200C_206B_200B_206B_200F_200E_200B_202A_202B_202D_202E_202E(halfExtentXZ, halfExtentY))); + } + + public Vector3? FindNearestReachableMeshPoint(Vector3 position, float halfExtentXZ, float halfExtentY) + { + return FindNearestMeshPoint(position, halfExtentXZ, halfExtentY); + } + + public void Reload() + { + Rebuild(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Rebuild() + { + int num = (Guarded(() => _rebuild.InvokeFunc(), fallback: false) ? 890598497 : 890598498); + while (true) + { + int num2 = num; + int num3 = 890598496; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return; + case 2: + _202D_202D_200D_202C_202A_200E_206D_202D_206A_200F_206B_200C_206D_200F_202C_202E_202A_206D_206E_206E_206A_206F_206E_202A_200D_206D_202C_200D_206D_206B_202C_206E_206D_202A_206C_202A_200F_202C_206A_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-1801615064), Array.Empty()); + num = 890598497; + break; + case 0: + num = 890598498; + break; + } + } + } + + private NavStatus? GetStatus() + { + return Guarded(() => _status.InvokeFunc()); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static PathfindResult EmptyPathfindResult() + { + return new PathfindResult(new List(), IsPartial: false, global::_003CModule_003E._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(1706749360), 0f); + } + + static int _200B_200F_200B_202C_200F_202B_202E_206F_200F_202C_206B_200D_206D_202B_202E_206D_202A_202D_206F_202E_206D_202E_200F_202D_206C_202A_206D_200F_206F_206F_202C_202B_202C_200C_202B_202C_202E_206B_206B_206A_202E(ref int P_0) + { + return Volatile.Read(in P_0); + } + + static int _202C_202D_202B_202E_206B_200B_206F_206B_206F_200D_206F_202B_202E_202C_200C_200B_202D_202A_206B_206D_206D_206E_202E_206B_206B_206C_206E_200F_202B_202D_202D_202E_206D_200F_202C_202D_202B_206D_202A_206C_202E(int P_0, int P_1) + { + return Math.Max(P_0, P_1); + } + + static int _200E_200C_202A_206A_202D_206A_200B_200B_200D_206D_202A_206A_202D_202B_206D_200E_202C_202B_206E_206C_200F_202A_206A_202A_206A_200C_206C_206B_202D_202D_206D_202C_200E_206F_206E_200C_206D_202A_206C_202A_202E(int P_0, int P_1, int P_2) + { + return Math.Clamp(P_0, P_1, P_2); + } + + static void _202D_202D_200D_202C_202A_200E_206D_202D_206A_200F_206B_200C_206D_200F_202C_202E_202A_206D_206E_206E_206A_206F_206E_202A_200D_206D_202C_200D_206D_206B_202C_206E_206D_202A_206C_202A_200F_202C_206A_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } +} diff --git a/Questionable/Questionable.Functions/AethernetTeleportService.cs b/Questionable/Questionable.Functions/AethernetTeleportService.cs new file mode 100644 index 00000000..af185771 --- /dev/null +++ b/Questionable/Questionable.Functions/AethernetTeleportService.cs @@ -0,0 +1,520 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +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; + _206A_200B_200F_206A_206C_200F_200E_206D_206E_206F_200C_200E_200B_200F_202B_202D_202B_206E_206A_206B_206E_200F_202C_202D_200C_206E_200B_202B_202A_200C_200C_202C_200C_202C_206B_206E_200B_206C_200C_200E_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void RequestTeleport(EAetheryteLocation destination) + { + int num = ((State == ETeleportState.Idle) ? 1903322012 : 1903322015); + string text = default(string); + uint value = default(uint); + while (true) + { + int num2 = num; + int num3 = 1903322013; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = 1903322015; + break; + case 4: + text = ResolvePlaceName(value); + num = ((text == null) ? 1903322014 : 1903322011); + break; + case 6: + RequestCustomZoneTeleport(destination, text); + return; + case 2: + Reset(); + num = 1903322012; + break; + case 1: + num = ((!FirmamentPlaceNameIds.TryGetValue(destination, out value)) ? 1903322013 : 1903322009); + break; + case 3: + _206C_202A_202C_200B_202A_200E_206F_202A_206A_200B_206A_202A_206B_206A_202A_200B_200C_206F_202D_206C_202E_202D_200F_202A_202D_206F_200C_206D_200E_206A_200C_200C_206F_200F_200D_206C_202E_206A_202D_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1915991887), new object[2] { value, destination }); + num = 1903322013; + break; + case 0: + _206A_202B_200D_206F_206C_202E_202C_202C_200C_206A_206D_200F_206F_206B_206F_206D_200B_206D_202A_200B_206E_202B_202C_206F_202B_200C_206E_206B_200E_206D_202E_202A_200B_202E_206B_206D_200E_206E_202E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-478164003), new object[1] { destination }); + PendingDestination = destination; + _requestedAtMs = _202A_200F_202A_202D_206D_202D_200F_200E_202A_202E_202A_206D_202A_202E_206F_202D_202C_202C_200C_206D_206C_202D_200D_206E_200B_202A_206C_200D_206E_200C_202B_202B_202C_206F_200C_206D_200F_200B_200E_200E_202E(); + State = ETeleportState.WaitingForAddon; + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void RequestCustomZoneTeleport(EAetheryteLocation destination, string destinationName) + { + int num = ((State == ETeleportState.Idle) ? (-1619368732) : (-1619368729)); + while (true) + { + int num2 = num; + int num3 = -1619368731; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _206A_202B_200D_206F_206C_202E_202C_202C_200C_206A_206D_200F_206F_206B_206F_206D_200B_206D_202A_200B_206E_202B_202C_206F_202B_200C_206E_206B_200E_206D_202E_202A_200B_202E_206B_206D_200E_206E_202E_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1788741827), new object[2] { destination, destinationName }); + PendingDestination = destination; + _interactionUiController.AethernetDestinationName = destinationName; + State = ETeleportState.Complete; + return; + case 2: + _206C_202A_202C_200B_202A_200E_206F_202A_206A_200B_206A_202A_206B_206A_202A_200B_200C_206F_202D_206C_202E_202D_200F_202A_202D_206F_200C_206D_200E_206A_200C_200C_206F_200F_200D_206C_202E_206A_202D_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1049949813), new object[1] { State }); + Reset(); + num = -1619368732; + break; + case 0: + num = -1619368729; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Reset() + { + int num = ((State == ETeleportState.Idle) ? (-1786789518) : (-1786789517)); + while (true) + { + int num2 = num; + int num3 = -1786789518; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1786789517; + break; + case 1: + _200C_202D_202A_202A_202E_206C_206E_202E_202E_202C_206C_202A_202D_200D_206B_200F_206D_200C_206E_206C_200C_200C_202A_206E_200D_202E_200C_206F_200E_202A_202D_200D_202C_206A_202E_206E_206B_206B_202A_200E_202E((ILogger)_logger, global::_003CModule_003E._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(1323544865), new object[1] { State }); + num = -1786789518; + break; + case 0: + State = ETeleportState.Idle; + PendingDestination = null; + _requestedAtMs = 0L; + _selectStringDismissed = false; + _fired = false; + _entriesLogged = false; + _nextFireAtMs = 0L; + ClearCustomZoneState(); + return; + } + } + } + + 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); + int num = (rowOrDefault.HasValue ? 1376211537 : 1376211538); + while (true) + { + int num2 = num; + int num3 = 1376211539; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return rowOrDefault.Value.AethernetName.ValueNullable?.Name.ToString(); + case 1: + return null; + case 0: + goto IL_00b7; + } + continue; + IL_00b7: + num = 1376211538; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void OnFrameworkUpdate(IFramework _) + { + int num = ((State == ETeleportState.WaitingForAddon) ? (-640751592) : (-640751593)); + AtkUnitBase* addonPtr = default(AtkUnitBase*); + int num9 = default(int); + AddonSelectString* addonPtr2 = default(AddonSelectString*); + long num19 = default(long); + int num13 = default(int); + int num7 = default(int); + string text = default(string); + string text2 = default(string); + AtkValue atkValue = default(AtkValue); + int num17 = default(int); + int num12 = default(int); + while (true) + { + int num2 = num; + int num3 = -640751592; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num8; + switch (num5 - (num6 + num6)) + { + case 39: + return; + case 26: + num = (_206D_206E_202C_202C_200C_200B_202D_202B_206A_206E_206B_200B_200C_206E_200B_200B_206C_206F_206F_202A_200D_206C_206D_202E_206C_206F_206B_202C_202E_206C_202A_202A_206D_202A_206E_206F_202A_202C_200F_200F_202E(addonPtr) ? (-640751615) : (-640751553)); + break; + case 13: + num = ((num9 < 20) ? (-640751586) : (-640751554)); + break; + case 20: + num = ((!_206D_206E_202C_202C_200C_200B_202D_202B_206A_206E_206B_200B_200C_206E_200B_200B_206C_206F_206F_202A_200D_206C_206D_202E_206C_206F_206B_202C_202E_206C_202A_202A_206D_202A_206E_206F_202A_202C_200F_200F_202E(&addonPtr2->AtkUnitBase)) ? (-640751560) : (-640751555)); + break; + case 18: + _selectStringDismissed = false; + return; + case 30: + num8 = -1; + goto IL_064f; + case 29: + num19 = _202A_200F_202A_202D_206D_202D_200F_200E_202A_202E_202A_206D_202A_202E_206F_202D_202C_202C_200C_206D_206C_202D_200D_206E_200B_202A_206C_200D_206E_200C_202B_202B_202C_206F_200C_206D_200F_200B_200E_200E_202E(); + num = ((num19 >= _nextFireAtMs) ? (-640751556) : (-640751558)); + break; + case 22: + num = ((num13 >= 0) ? (-640751616) : (-640751585)); + break; + case 4: + return; + case 2: + num13 = num7; + num = -640751616; + break; + case 7: + num = ((text == null) ? (-640751616) : (-640751589)); + break; + case 12: + _206C_202A_202C_200B_202A_200E_206F_202A_206A_200B_206A_202A_206B_206A_202A_200B_200C_206F_202D_206C_202E_202D_200F_202A_202D_206F_200C_206D_200E_206A_200C_200C_206F_200F_200D_206C_202E_206A_202D_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-964873938), new object[2] { PendingDestination, AddonTimeout.TotalSeconds }); + State = ETeleportState.Failed; + return; + case 33: + num = (_206F_206B_206F_202E_206D_200E_206A_206C_202D_206C_202C_206F_202E_202C_206F_206C_206A_202E_200E_206D_200B_200E_202D_200F_206C_200F_200E_200C_206B_202E_206A_202D_200D_202A_206B_202B_202A_202E_206E_202B_202E(_condition, ConditionFlag.BetweenAreas) ? (-640751605) : (-640751591)); + break; + case 21: + _200C_202D_202A_202A_202E_206C_206E_202E_202E_202C_206C_202A_202D_200D_206B_200F_206D_200C_206E_206C_200C_200C_202A_206E_200D_202E_200C_206F_200E_202A_202D_200D_202C_206A_202E_206E_206B_206B_202A_200E_202E((ILogger)_logger, global::_003CModule_003E._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(-969368539), new object[3] { PendingDestination, text2, num13 }); + num = -640751597; + break; + case 24: + { + int num22 = num9; + num3 = 1; + num4 = num22; + int num23 = num4 ^ num3; + int num24 = num4 & num3; + num9 = num23 + (num24 + num24); + num = -640751595; + break; + } + case 5: + _200C_202D_202A_202A_202E_206C_206E_202E_202E_202C_206C_202A_202D_200D_206B_200F_206D_200C_206E_206C_200C_200C_202A_206E_200D_202E_200C_206F_200E_202A_202D_200D_202C_206A_202E_206E_206B_206B_202A_200E_202E((ILogger)_logger, global::_003CModule_003E._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(-568972459), new object[3] { num9, text, num7 }); + num = -640751602; + break; + case 35: + num13 = -1; + num9 = 0; + num = -640751595; + break; + case 19: + _200C_202D_202A_202A_202E_206C_206E_202E_202E_202C_206C_202A_202D_200D_206B_200F_206D_200C_206E_206C_200C_200C_202A_206E_200D_202E_200C_206F_200E_202A_202D_200D_202C_206A_202E_206E_206B_206B_202A_200E_202E((ILogger)_logger, global::_003CModule_003E._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(-1143749055), new object[1] { PendingDestination }); + State = ETeleportState.Complete; + return; + case 37: + _200C_202D_202A_202A_202E_206C_206E_202E_202E_202C_206C_202A_202D_200D_206B_200F_206D_200C_206E_206C_200C_200C_202A_206E_200D_202E_200C_206F_200E_202A_202D_200D_202C_206A_202E_206E_206B_206B_202A_200E_202E((ILogger)_logger, global::_003CModule_003E._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(-533960738), Array.Empty()); + addonPtr2->AtkUnitBase.FireCallbackInt(0); + _selectStringDismissed = true; + return; + case 8: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(1860227121), out addonPtr2)) ? (-640751560) : (-640751604)); + break; + case 10: + _200C_202D_202A_202A_202E_206C_206E_202E_202E_202C_206C_202A_202D_200D_206B_200F_206D_200C_206E_206C_200C_200C_202A_206E_200D_202E_200C_206F_200E_202A_202D_200D_202C_206A_202E_206E_206B_206B_202A_200E_202E((ILogger)_logger, global::_003CModule_003E._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(151838006), new object[1] { PendingDestination }); + State = ETeleportState.Complete; + num = -640751609; + break; + case 16: + { + text = _200E_206C_202D_202B_206D_206D_202C_200D_200C_202A_200F_202A_200D_206A_206A_206B_206A_200F_200E_200D_200D_200C_202D_206E_200D_202C_200F_206B_200C_200E_202A_202E_206A_200F_206F_202C_206F_202D_202E_202E_202E(atkValue); + num3 = num9 * 4; + num4 = 6; + int num14 = (num4 | num3) + (num4 & num3); + num3 = 3; + num4 = num14; + int num15 = num4 ^ num3; + int num16 = num4 & num3; + num17 = num15 + (num16 + num16); + num = ((num17 < addonPtr->AtkValuesCount) ? (-640751599) : (-640751610)); + break; + } + case 40: + num = ((_202A_200F_202A_202D_206D_202D_200F_200E_202A_202E_202A_206D_202A_202E_206F_202D_202C_202C_200C_206D_206C_202D_200D_206E_200B_202A_206C_200D_206E_200C_202B_202B_202C_206F_200C_206D_200F_200B_200E_200E_202E() - _requestedAtMs <= (long)AddonTimeout.TotalMilliseconds) ? (-640751600) : (-640751596)); + break; + case 32: + num = ((!_selectStringDismissed) ? (-640751607) : (-640751606)); + break; + case 27: + atkValue = addonPtr->AtkValues[num12]; + num = ((atkValue.Type == AtkValueType.Undefined) ? (-640751554) : (-640751608)); + break; + case 31: + return; + case 0: + num = ((!_fired) ? (-640751568) : (-640751559)); + break; + case 38: + _entriesLogged = true; + num = ((num13 >= 0) ? (-640751611) : (-640751588)); + break; + case 14: + _206C_202A_202C_200B_202A_200E_206F_202A_206A_200B_206A_202A_206B_206A_202A_200B_200C_206F_202D_206C_202E_202D_200F_202A_202D_206F_200C_206D_200E_206A_200C_200C_206F_200F_200D_206C_202E_206A_202D_200F_202E((ILogger)_logger, global::_003CModule_003E._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(613688553), new object[1] { PendingDestination }); + State = ETeleportState.Failed; + return; + case 23: + num = -640751593; + break; + case 28: + num = ((!_fired) ? (-640751609) : (-640751598)); + break; + case 36: + num = (_fired ? (-640751597) : (-640751603)); + break; + case 3: + num = ((!GameFunctions.GameStringEquals(text, text2)) ? (-640751616) : (-640751590)); + break; + case 11: + { + AtkValue* values = stackalloc AtkValue[2] + { + new AtkValue + { + Type = AtkValueType.Int, + Int = 11 + }, + new AtkValue + { + Type = AtkValueType.Int, + Int = num13 + } + }; + addonPtr->FireCallback(2u, values, close: true); + _fired = true; + long num18 = num19; + long num20 = 100L; + long num21 = num18; + _nextFireAtMs = (num21 | num20) + (num21 & num20); + return; + } + case 9: + num8 = addonPtr->AtkValues[num17].Int; + goto IL_064f; + case 25: + text2 = ResolveAethernetDisplayName(PendingDestination.Value); + num = ((text2 != null) ? (-640751557) : (-640751594)); + break; + case 17: + num = (_gameGui.TryGetAddonByName(global::_003CModule_003E._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(-1959750528), out addonPtr) ? (-640751614) : (-640751612)); + break; + case 34: + return; + case 6: + { + num3 = num9; + num4 = 262; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num12 = num10 + (num11 + num11); + num = ((num12 >= addonPtr->AtkValuesCount) ? (-640751554) : (-640751613)); + break; + } + case 15: + return; + case 1: + { + num = ((!_206F_206B_206F_202E_206D_200E_206A_206C_202D_206C_202C_206F_202E_202C_206F_206C_206A_202E_200E_206D_200B_200E_202D_200F_206C_200F_200E_200C_206B_202E_206A_202D_200D_202A_206B_202B_202A_202E_206E_202B_202E(_condition, ConditionFlag.BetweenAreas51)) ? (-640751568) : (-640751605)); + break; + } + IL_064f: + num7 = num8; + num = (_entriesLogged ? (-640751602) : (-640751587)); + break; + } + } + } + + public void Dispose() + { + _202C_206B_202D_202A_206F_202B_202A_206C_206A_206F_202C_200F_206B_206C_206A_206A_202D_202D_200B_202D_206C_202B_202E_206C_206F_206B_200D_200F_200C_200D_206E_206C_202A_202B_202E_200F_206F_206D_200E_200F_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkUpdate); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _206A_200B_200F_206A_206C_200F_200E_206D_206E_206F_200C_200E_200B_200F_202B_202D_202B_206E_206A_206B_206E_200F_202C_202D_200C_206E_200B_202B_202A_200C_200C_202C_200C_202C_206B_206E_200B_206C_200C_200E_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update += P_1; + } + + static void _206C_202A_202C_200B_202A_200E_206F_202A_206A_200B_206A_202A_206B_206A_202A_200B_200C_206F_202D_206C_202E_202D_200F_202A_202D_206F_200C_206D_200E_206A_200C_200C_206F_200F_200D_206C_202E_206A_202D_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _206A_202B_200D_206F_206C_202E_202C_202C_200C_206A_206D_200F_206F_206B_206F_206D_200B_206D_202A_200B_206E_202B_202C_206F_202B_200C_206E_206B_200E_206D_202E_202A_200B_202E_206B_206D_200E_206E_202E_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static long _202A_200F_202A_202D_206D_202D_200F_200E_202A_202E_202A_206D_202A_202E_206F_202D_202C_202C_200C_206D_206C_202D_200D_206E_200B_202A_206C_200D_206E_200C_202B_202B_202C_206F_200C_206D_200F_200B_200E_200E_202E() + { + return Environment.TickCount64; + } + + static void _200C_202D_202A_202A_202E_206C_206E_202E_202E_202C_206C_202A_202D_200D_206B_200F_206D_200C_206E_206C_200C_200C_202A_206E_200D_202E_200C_206F_200E_202A_202D_200D_202C_206A_202E_206E_206B_206B_202A_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206F_206B_206F_202E_206D_200E_206A_206C_202D_206C_202C_206F_202E_202C_206F_206C_206A_202E_200E_206D_200B_200E_202D_200F_206C_200F_200E_200C_206B_202E_206A_202D_200D_202A_206B_202B_202A_202E_206E_202B_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + unsafe static bool _206D_206E_202C_202C_200C_200B_202D_202B_206A_206E_206B_200B_200C_206E_200B_200B_206C_206F_206F_202A_200D_206C_206D_202E_206C_206F_206B_202C_202E_206C_202A_202A_206D_202A_206E_206F_202A_202C_200F_200F_202E(AtkUnitBase* P_0) + { + return LAddon.IsAddonReady(P_0); + } + + static string _200E_206C_202D_202B_206D_206D_202C_200D_200C_202A_200F_202A_200D_206A_206A_206B_206A_200F_200E_200D_200D_200C_202D_206E_200D_202C_200F_206B_200C_200E_202A_202E_206A_200F_206F_202C_206F_202D_202E_202E_202E(AtkValue P_0) + { + return P_0.ReadAtkString(); + } + + static void _202C_206B_202D_202A_206F_202B_202A_206C_206A_206F_202C_200F_206B_206C_206A_206A_202D_202D_200B_202D_206C_202B_202E_206C_206F_206B_200D_200F_200C_200D_206E_206C_202A_202B_202E_200F_206F_206D_200E_200F_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update -= P_1; + } +} diff --git a/Questionable/Questionable.Functions/AetheryteFunctions.cs b/Questionable/Questionable.Functions/AetheryteFunctions.cs index 6a8c8efc..3cdd2990 100644 --- a/Questionable/Questionable.Functions/AetheryteFunctions.cs +++ b/Questionable/Questionable.Functions/AetheryteFunctions.cs @@ -1,12 +1,15 @@ using System; +using System.Runtime.CompilerServices; +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.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 +27,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) { @@ -38,59 +41,156 @@ internal sealed class AetheryteFunctions { subIndex = 0; UIState* ptr = UIState.Instance(); - if (ptr != null) + int num = ((ptr == null) ? 1947729333 : 1947729332); + while (true) { - return ptr->IsAetheryteUnlocked(aetheryteId); + int num2 = num; + int num3 = 1947729333; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + return ptr->IsAetheryteUnlocked(aetheryteId); + case 2: + goto IL_0058; + } + continue; + IL_0058: + num = 1947729332; } - return false; } public bool IsAetheryteUnlocked(EAetheryteLocation aetheryteLocation) { - if (aetheryteLocation.IsFirmamentAetheryte()) + int num = ((!_206E_206D_200F_200B_200E_202C_206B_206B_202E_200C_200B_200E_206B_206D_206C_200B_200C_206C_202C_202B_202C_206D_206C_200E_200B_202B_206E_206D_202B_206E_200B_206F_200B_206E_202E_206B_200B_200F_202D_202B_202E(aetheryteLocation)) ? (-1602388833) : (-1602388834)); + while (true) { - return _serviceProvider.GetRequiredService().IsQuestComplete(new QuestId(3672)); + int num2 = num; + int num3 = -1602388833; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0048; + case 0: + { + byte subIndex; + return IsAetheryteUnlocked((uint)aetheryteLocation, out subIndex); + } + case 1: + return _serviceProvider.GetRequiredService().IsQuestComplete(_206B_206E_206B_206B_206D_200D_200E_200B_202B_206D_202E_202C_200B_202D_202A_206D_206C_206E_200D_206C_200C_206A_200C_206E_202D_200C_200D_200F_202A_202D_200F_206D_202A_206D_206E_200B_206F_206F_202D_202E_202E((ushort)3672)); + } + continue; + IL_0048: + num = -1602388834; } - byte subIndex; - return IsAetheryteUnlocked((uint)aetheryteLocation, out subIndex); } 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) + int num = (((ushort)aetheryteLocation != _200E_202E_200F_206B_206A_206D_200D_206F_206F_206A_206B_206C_200E_202E_206D_200C_202C_206F_206E_200E_206B_206E_206A_200E_202E_200D_200C_200C_202B_200B_206D_206E_206D_200D_202B_206E_206C_200E_206B_202E_202E()) ? 508143747 : 508143745); + while (true) { - return true; + int num2 = num; + int num3 = 508143746; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return ActionManager.Instance()->GetActionStatus(ActionType.Action, 5u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0; + case 3: + num = ((ActionManager.Instance()->GetActionStatus(ActionType.Action, 6u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) != 0) ? 508143747 : 508143746); + break; + case 0: + return true; + case 2: + num = 508143745; + break; + } } - return ActionManager.Instance()->GetActionStatus(ActionType.Action, 5u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0; } public unsafe bool IsTeleportUnlocked() { uint rowId = _dataManager.GetExcelSheet().GetRow(5u).UnlockLink.RowId; - return UIState.Instance()->IsUnlockLinkUnlocked(rowId); + UIState* ptr = UIState.Instance(); + int num = ((ptr == null) ? 126078724 : 126078727); + while (true) + { + int num2 = num; + int num3 = 126078725; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return ptr->IsUnlockLinkUnlocked(rowId); + case 0: + goto IL_008b; + } + continue; + IL_008b: + num = 126078727; + } } + public unsafe bool IsReturnAvailable() + { + return ActionManager.Instance()->GetActionStatus(ActionType.Action, 6u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0; + } + + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe bool TeleportAetheryte(uint aetheryteId) { - _logger.LogDebug("Attempting to teleport to aetheryte {AetheryteId}", aetheryteId); - if (IsAetheryteUnlocked(aetheryteId, out var subIndex)) + _202A_206C_206B_200C_200F_202D_206A_200D_200C_202A_200D_206E_206B_206B_202D_202D_200C_206A_202C_206B_206D_206B_202A_202C_200E_200C_206B_200E_206D_206C_200C_202A_206F_200E_200B_202E_206B_202B_200B_202D_202E((ILogger)_logger, global::_003CModule_003E._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(762406754), new object[1] { aetheryteId }); + byte subIndex; + int num = ((!IsAetheryteUnlocked(aetheryteId, out subIndex)) ? 1620747025 : 1620747027); + while (true) { - if (aetheryteId == PlayerState.Instance()->HomeAetheryteId && ActionManager.Instance()->GetActionStatus(ActionType.Action, 6u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) + int num2 = num; + int num3 = 1620747030; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - ReturnRequestedAt = DateTime.Now; - if (ActionManager.Instance()->UseAction(ActionType.Action, 6u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) - { - _logger.LogInformation("Using 'return' for home aetheryte"); - return true; - } - } - if (ActionManager.Instance()->GetActionStatus(ActionType.Action, 5u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) == 0) - { - _logger.LogInformation("Teleporting to aetheryte {AetheryteId}", aetheryteId); + case 7: + return false; + case 6: + ReturnRequestedAt = _206C_200F_206F_206E_206C_200D_206F_202A_202C_202B_206F_202C_200F_200D_202B_202E_206B_200E_200E_206A_206E_200F_206A_202C_202D_206B_202C_200F_206C_200D_200B_206B_202A_206A_206D_200D_200C_202D_206B_206D_202E(); + num = ((!ActionManager.Instance()->UseAction(ActionType.Action, 6u, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null)) ? 1620747031 : 1620747029); + break; + case 5: + num = ((aetheryteId != _200E_202E_200F_206B_206A_206D_200D_206F_206F_206A_206B_206C_200E_202E_206D_200C_202C_206F_206E_200E_206B_206E_206A_200E_202E_200D_200C_200C_202B_200B_206D_206E_206D_200D_202B_206E_206C_200E_206B_202E_202E()) ? 1620747031 : 1620747030); + break; + case 0: + num = ((ActionManager.Instance()->GetActionStatus(ActionType.Action, 6u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) != 0) ? 1620747031 : 1620747024); + break; + case 2: + num = 1620747027; + break; + case 1: + num = ((ActionManager.Instance()->GetActionStatus(ActionType.Action, 5u, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) != 0) ? 1620747025 : 1620747026); + break; + case 4: + _206F_202E_206E_206B_200E_202D_206B_200B_200E_206B_206C_202B_202D_206C_206A_202B_202A_202D_202D_206B_200C_200D_206F_202D_202A_206B_202A_202A_202D_200F_206A_206B_200B_206C_200F_202A_200B_202E_202A_202E_202E((ILogger)_logger, global::_003CModule_003E._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(265904157), new object[1] { aetheryteId }); return Telepo.Instance()->Teleport(aetheryteId, subIndex); + case 3: + _206F_202E_206E_206B_200E_202D_206B_200B_200E_206B_206C_202B_202D_206C_206A_202B_202A_202D_202D_206B_200C_200D_206F_202D_202A_206B_202A_202A_202D_200F_206A_206B_200B_206C_200F_202A_200B_202E_202A_202E_202E((ILogger)_logger, global::_003CModule_003E._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(1006691700), Array.Empty()); + return true; } } - return false; } public bool TeleportAetheryte(EAetheryteLocation aetheryteLocation) @@ -98,56 +198,114 @@ 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 _206B_200E_200D_202D_202C_202C_206F_200E_202E_202E_202D_206B_206E_200C_206B_206C_200B_200F_200B_206E_206F_206B_200B_202E_200C_206E_206A_206A_202C_202C_206E_202D_206B_206C_206A_206E_200E_206E_206E_202E_202E((uint)aetheryteLocation); } - public unsafe AetheryteRegistrationResult CanRegisterFreeOrFavoriteAetheryte(EAetheryteLocation aetheryteLocation) + public AetheryteRegistrationResult CanRegisterFreeOrFavoriteAetheryte(EAetheryteLocation aetheryteLocation) { - if (_objectTable[0] == null) + int num = ((_200F_200C_206E_206B_206C_202D_206B_206B_202E_202E_202D_202D_200C_202D_202C_206E_200E_206C_200F_202C_200C_206F_200F_200D_206A_200B_206C_206D_200B_200C_200D_206A_202B_200F_202A_202A_202E_200F_206B_202B_202E(_objectTable, 0) != null) ? (-303811700) : (-303811698)); + bool flag = default(bool); + while (true) { - 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 (ptr->FavouriteAetherytes[i] == (ushort)aetheryteLocation) + int num2 = num; + int num3 = -303811697; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 5: + num = (flag ? (-303811701) : (-303811697)); + break; + case 3: + num = ((!IsFreeAetheryte(aetheryteLocation)) ? (-303811705) : (-303811699)); + break; + case 0: + return AetheryteRegistrationResult.NotPossible; + case 9: + flag = _206F_206D_200D_202C_206D_202D_202C_202E_206F_202B_200E_200C_202A_206E_200E_206F_200F_206C_206B_200E_206C_200D_202B_202E_202C_202D_200C_202E_206D_200F_202B_200D_206D_200D_206B_200F_200E_200C_206F_200F_202E(); + num = ((!_202C_200B_200C_200B_202E_202D_202B_200D_202B_200E_200E_206F_200F_200D_206B_202B_202A_202A_202C_206C_206A_202E_202B_206D_206D_206C_206E_200E_202C_200F_206B_202A_202A_200F_206A_206E_200B_206F_202C_206B_202E(PlayerStateFlag.IsLoginSecurityToken)) ? (-303811702) : (-303811707)); + break; + case 10: + num = ((_206A_202A_200E_202D_200D_206E_206F_206D_206F_200E_202D_200B_206E_202D_200B_206B_206D_202A_200B_206A_202B_206F_202D_200F_206D_206A_200E_202C_200E_202B_200C_202C_200B_200C_202C_202E_202B_206A_206E_200D_202E() != 0) ? (-303811702) : (-303811703)); + break; + case 4: + return AetheryteRegistrationResult.FavoredDestinationAvailable; + case 7: + num = -303811698; + break; + case 2: + return AetheryteRegistrationResult.NotPossible; + case 6: + return AetheryteRegistrationResult.SecurityTokenFreeDestinationAvailable; + case 8: + num = ((!_202E_206F_200B_206A_202D_206D_200F_206F_202B_206F_202C_202D_200E_206C_206D_206B_200D_202C_206F_202C_200B_206A_206B_202A_202B_206A_202C_206A_202A_202B_202C_202A_200C_206F_202C_202D_202B_202E_206D_202E((uint)aetheryteLocation)) ? (-303811706) : (-303811708)); + break; + case 1: + return AetheryteRegistrationResult.NotPossible; + case 11: return AetheryteRegistrationResult.NotPossible; } - if (ptr->FavouriteAetherytes[i] == 0) - { - flag = true; - break; - } } - if (ptr->IsPlayerStateFlagSet(PlayerStateFlag.IsLoginSecurityToken) && ptr->FreeAetheryteId == 0) - { - return AetheryteRegistrationResult.SecurityTokenFreeDestinationAvailable; - } - if (!flag) - { - return AetheryteRegistrationResult.NotPossible; - } - return AetheryteRegistrationResult.FavoredDestinationAvailable; + } + + static bool _206E_206D_200F_200B_200E_202C_206B_206B_202E_200C_200B_200E_206B_206D_206C_200B_200C_206C_202C_202B_202C_206D_206C_200E_200B_202B_206E_206D_202B_206E_200B_206F_200B_206E_202E_206B_200B_200F_202D_202B_202E(EAetheryteLocation P_0) + { + return P_0.IsFirmamentAetheryte(); + } + + static QuestId _206B_206E_206B_206B_206D_200D_200E_200B_202B_206D_202E_202C_200B_202D_202A_206D_206C_206E_200D_206C_200C_206A_200C_206E_202D_200C_200D_200F_202A_202D_200F_206D_202A_206D_206E_200B_206F_206F_202D_202E_202E(ushort P_0) + { + return new QuestId(P_0); + } + + static uint _200E_202E_200F_206B_206A_206D_200D_206F_206F_206A_206B_206C_200E_202E_206D_200C_202C_206F_206E_200E_206B_206E_206A_200E_202E_200D_200C_200C_202B_200B_206D_206E_206D_200D_202B_206E_206C_200E_206B_202E_202E() + { + return PlayerStateHelper.GetHomeAetheryteId(); + } + + static void _202A_206C_206B_200C_200F_202D_206A_200D_200C_202A_200D_206E_206B_206B_202D_202D_200C_206A_202C_206B_206D_206B_202A_202C_200E_200C_206B_200E_206D_206C_200C_202A_206F_200E_200B_202E_206B_202B_200B_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static long _206C_200F_206F_206E_206C_200D_206F_202A_202C_202B_206F_202C_200F_200D_202B_202E_206B_200E_200E_206A_206E_200F_206A_202C_202D_206B_202C_200F_206C_200D_200B_206B_202A_206A_206D_200D_200C_202D_206B_206D_202E() + { + return Environment.TickCount64; + } + + static void _206F_202E_206E_206B_200E_202D_206B_200B_200E_206B_206C_202B_202D_206C_206A_202B_202A_202D_202D_206B_200C_200D_206F_202D_202A_206B_202A_202A_202D_200F_206A_206B_200B_206C_200F_202A_200B_202E_202A_202E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static bool _206B_200E_200D_202D_202C_202C_206F_200E_202E_202E_202D_206B_206E_200C_206B_206C_200B_200F_200B_206E_206F_206B_200B_202E_200C_206E_206A_206A_202C_202C_206E_202D_206B_206C_206A_206E_200E_206E_206E_202E_202E(uint P_0) + { + return PlayerStateHelper.IsFreeAetheryte(P_0); + } + + static IGameObject _200F_200C_206E_206B_206C_202D_206B_206B_202E_202E_202D_202D_200C_202D_202C_206E_200E_206C_200F_202C_200C_206F_200F_200D_206A_200B_206C_206D_200B_200C_200D_206A_202B_200F_202A_202A_202E_200F_206B_202B_202E(IObjectTable P_0, int P_1) + { + return P_0[P_1]; + } + + static bool _202E_206F_200B_206A_202D_206D_200F_206F_202B_206F_202C_202D_200E_206C_206D_206B_200D_202C_206F_202C_200B_206A_206B_202A_202B_206A_202C_206A_202A_202B_202C_202A_200C_206F_202C_202D_202B_202E_206D_202E(uint P_0) + { + return PlayerStateHelper.IsFavouriteAetheryte(P_0); + } + + static bool _206F_206D_200D_202C_206D_202D_202C_202E_206F_202B_200E_200C_202A_206E_200E_206F_200F_206C_206B_200E_206C_200D_202B_202E_202C_202D_200C_202E_206D_200F_202B_200D_206D_200D_206B_200F_200E_200C_206F_200F_202E() + { + return PlayerStateHelper.HasFavouriteSlotAvailable(); + } + + static bool _202C_200B_200C_200B_202E_202D_202B_200D_202B_200E_200E_206F_200F_200D_206B_202B_202A_202A_202C_206C_206A_202E_202B_206D_206D_206C_206E_200E_202C_200F_206B_202A_202A_200F_206A_206E_200B_206F_202C_206B_202E(PlayerStateFlag P_0) + { + return PlayerStateHelper.IsPlayerStateFlagSet(P_0); + } + + static uint _206A_202A_200E_202D_200D_206E_206F_206D_206F_200E_202D_200B_206E_202D_200B_206B_206D_202A_200B_206A_202B_206F_202D_200F_206D_206A_200E_202C_200E_202B_200C_202C_200B_200C_202C_202E_202B_206A_206E_200D_202E() + { + return PlayerStateHelper.GetFreeAetheryteId(); } } diff --git a/Questionable/Questionable.Functions/AlliedSocietyQuestFunctions.cs b/Questionable/Questionable.Functions/AlliedSocietyQuestFunctions.cs index 20b8fea2..15c8ac2e 100644 --- a/Questionable/Questionable.Functions/AlliedSocietyQuestFunctions.cs +++ b/Questionable/Questionable.Functions/AlliedSocietyQuestFunctions.cs @@ -1,8 +1,15 @@ using System; +using System.Collections; using System.Collections.Generic; +using System.Collections.Immutable; using System.Linq; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Text; +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; @@ -36,134 +43,867 @@ internal sealed class AlliedSocietyQuestFunctions private static uint Transform(uint s0, uint s1) { - uint num = s0 ^ (s0 << 11); - return s1 ^ num ^ ((num ^ (s1 >> 11)) >> 8); + int num = (int)(s0 << 11); + int num2 = (int)s0; + int num3 = num2 + num; + int num4 = num2 & num; + uint num5 = (uint)(num3 - (num4 + num4)); + num = (int)num5; + num2 = (int)s1; + int num6 = num2 + num; + int num7 = num2 & num; + int num8 = num6 - (num7 + num7); + num = (int)(s1 >> 11); + num2 = (int)num5; + int num9 = num2 + num; + int num10 = num2 & num; + num = num9 - (num10 + num10) >>> 8; + num2 = num8; + return (uint)((num2 | num) - (num2 & num)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override readonly string ToString() + { + StringBuilder stringBuilder = _202B_202A_202D_206D_202D_206F_200E_200E_206D_200D_200F_206C_200F_206B_202C_200E_206A_200F_206F_200F_202D_200C_206A_206C_202D_202C_206A_202E_206E_202E_202B_202E_202B_202B_200C_206E_202C_206F_200F_206D_202E(); + _200F_206C_202A_200D_202E_206C_206A_202E_206E_200D_200B_200F_200E_200C_200E_202E_206E_202C_200B_206A_200D_206E_200D_202D_200D_200F_202A_202C_200E_200C_202D_206F_206B_206C_202E_200C_200E_202D_202E_202E(stringBuilder, global::_003CModule_003E._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(1180704865)); + _200F_206C_202A_200D_202E_206C_206A_202E_206E_200D_200B_200F_200E_200C_200E_202E_206E_202C_200B_206A_200D_206E_200D_202D_200D_200F_202A_202C_200E_200C_202D_206F_206B_206C_202E_200C_200E_202D_202E_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? (-666901402) : (-666901403)); + while (true) + { + int num2 = num; + int num3 = -666901401; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -666901403; + break; + case 2: + _206C_200F_202D_200E_202E_200D_206D_200F_202C_200B_206C_202D_202C_202A_206C_200B_206D_206F_206B_202C_202E_206A_200C_202E_206F_202C_202B_202E_202C_206A_206F_206F_206A_202E_200E_206B_202E_200B_202B_206E_202E(stringBuilder, ' '); + num = -666901402; + break; + case 1: + _206C_200F_202D_200E_202E_200D_206D_200F_202C_200B_206C_202D_202C_202A_206C_200B_206D_206F_206B_202C_202E_206A_200C_202E_206F_202C_202B_202E_202C_206A_206F_206F_206A_202E_200E_206B_202E_200B_202B_206E_202E(stringBuilder, '}'); + return _206C_202A_200D_206A_206D_202C_200F_202D_202B_200D_206B_206E_200F_206B_200D_200B_202A_202A_200E_206A_206D_202B_200B_200F_200C_200B_206F_206E_202B_202E_202D_206D_202E_206C_200F_206F_200F_206C_200F_206B_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private readonly bool PrintMembers(StringBuilder builder) + { + _200F_206C_202A_200D_202E_206C_206A_202E_206E_200D_200B_200F_200E_200C_200E_202E_206E_202C_200B_206A_200D_206E_200D_202D_200D_200F_202A_202C_200E_200C_202D_206F_206B_206C_202E_200C_200E_202D_202E_202E(builder, global::_003CModule_003E._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(352928866)); + _200F_206C_202A_200D_202E_206C_206A_202E_206E_200D_200B_200F_200E_200C_200E_202E_206E_202C_200B_206A_200D_206E_200D_202D_200D_200F_202A_202C_200E_200C_202D_206F_206B_206C_202E_200C_200E_202D_202E_202E(builder, S0.ToString()); + _200F_206C_202A_200D_202E_206C_206A_202E_206E_200D_200B_200F_200E_200C_200E_202E_206E_202C_200B_206A_200D_206E_200D_202D_200D_200F_202A_202C_200E_200C_202D_206F_206B_206C_202E_200C_200E_202D_202E_202E(builder, global::_003CModule_003E._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(-875975294)); + _200F_206C_202A_200D_202E_206C_206A_202E_206E_200D_200B_200F_200E_200C_200E_202E_206E_202C_200B_206A_200D_206E_200D_202D_200D_200F_202A_202C_200E_200C_202D_206F_206B_206C_202E_200C_200E_202D_202E_202E(builder, S1.ToString()); + _200F_206C_202A_200D_202E_206C_206A_202E_206E_200D_200B_200F_200E_200C_200E_202E_206E_202C_200B_206A_200D_206E_200D_202D_200D_200F_202A_202C_200E_200C_202D_206F_206B_206C_202E_200C_200E_202D_202E_202E(builder, global::_003CModule_003E._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(-660590067)); + _200F_206C_202A_200D_202E_206C_206A_202E_206E_200D_200B_200F_200E_200C_200E_202E_206E_202C_200B_206A_200D_206E_200D_202D_200D_200F_202A_202C_200E_200C_202D_206F_206B_206C_202E_200C_200E_202D_202E_202E(builder, S2.ToString()); + _200F_206C_202A_200D_202E_206C_206A_202E_206E_200D_200B_200F_200E_200C_200E_202E_206E_202C_200B_206A_200D_206E_200D_202D_200D_200F_202A_202C_200E_200C_202D_206F_206B_206C_202E_200C_200E_202D_202E_202E(builder, global::_003CModule_003E._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(-1999766628)); + _200F_206C_202A_200D_202E_206C_206A_202E_206E_200D_200B_200F_200E_200C_200E_202E_206E_202C_200B_206A_200D_206E_200D_202D_200D_200F_202A_202C_200E_200C_202D_206F_206B_206C_202E_200C_200E_202D_202E_202E(builder, S3.ToString()); + return true; + } + + [CompilerGenerated] + public readonly bool Equals(Rng other) + { + int num = ((!EqualityComparer.Default.Equals(S0, other.S0)) ? 425581049 : 425581052); + while (true) + { + int num2 = num; + int num3 = 425581053; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((!EqualityComparer.Default.Equals(S2, other.S2)) ? 425581049 : 425581054); + break; + case 3: + return EqualityComparer.Default.Equals(S3, other.S3); + case 2: + num = 425581052; + break; + case 4: + return false; + case 1: + num = ((!EqualityComparer.Default.Equals(S1, other.S1)) ? 425581049 : 425581053); + break; + } + } + } + + bool IEquatable.Equals(Rng other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _202B_202A_202D_206D_202D_206F_200E_200E_206D_200D_200F_206C_200F_206B_202C_200E_206A_200F_206F_200F_202D_200C_206A_206C_202D_202C_206A_202E_206E_202E_202B_202E_202B_202B_200C_206E_202C_206F_200F_206D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200F_206C_202A_200D_202E_206C_206A_202E_206E_200D_200B_200F_200E_200C_200E_202E_206E_202C_200B_206A_200D_206E_200D_202D_200D_200F_202A_202C_200E_200C_202D_206F_206B_206C_202E_200C_200E_202D_202E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206C_200F_202D_200E_202E_200D_206D_200F_202C_200B_206C_202D_202C_202A_206C_200B_206D_206F_206B_202C_202E_206A_200C_202E_206F_202C_202B_202E_202C_206A_206F_206F_206A_202E_200E_206B_202E_200B_202B_206E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_202A_200D_206A_206D_202C_200F_202D_202B_200D_206B_206E_200F_206B_200D_200B_202A_202A_200E_206A_206D_202B_200B_200F_200C_200B_206F_206E_202B_202E_202D_206D_202E_206C_200F_206F_200F_206C_200F_206B_202E(object P_0) + { + return P_0.ToString(); + } + } + + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__8_0; + + public static Func _003C_003E9__8_1; + + public static Func _003C_003E9__8_2; + + public static Func _003C_003E9__8_3; + + public static Func _003C_003E9__8_4; + + public static Func _003C_003E9__8_5; + + public static Func _003C_003E9__8_6; + + public static Func _003C_003E9__8_7; + + public static Func _003C_003E9__8_8; + + public static Func _003C_003E9__8_9; + + public static Func _003C_003E9__8_10; + + public static Func _003C_003E9__8_11; + + public static Func _003C_003E9__8_12; + + public static Func _003C_003E9__8_13; + + public static Func, uint> _003C_003E9__8_14; + + public static Func _003C_003E9__8_16; + + public static Func _003C_003E9__8_17; + + public static Func, List> _003C_003E9__8_15; + + public static Predicate _003C_003E9__14_2; + + public static Func _003C_003E9__14_1; + + internal bool _003C_002Ector_003Eb__8_0(BeastReputationRank x) + { + return x.RowId != 0; + } + + internal uint _003C_002Ector_003Eb__8_1(BeastReputationRank x) + { + return x.RowId; + } + + internal ushort _003C_002Ector_003Eb__8_2(BeastReputationRank x) + { + return x.RequiredReputation; + } + + internal bool _003C_002Ector_003Eb__8_3(Lumina.Excel.Sheets.Quest x) + { + int num = ((x.RowId == 0) ? 229482898 : 229482896); + while (true) + { + int num2 = num; + int num3 = 229482899; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 229482896; + break; + case 3: + num = ((x.BeastTribe.RowId == 0) ? 229482898 : 229482897); + break; + case 2: + return x.BeastReputationValue > 0; + case 1: + return false; + } + } + } + + internal uint _003C_002Ector_003Eb__8_4(Lumina.Excel.Sheets.Quest x) + { + return x.RowId; + } + + internal ushort _003C_002Ector_003Eb__8_5(Lumina.Excel.Sheets.Quest x) + { + return x.BeastReputationValue; + } + + internal bool _003C_002Ector_003Eb__8_6(BeastTribe x) + { + int num = ((x.RowId == 0) ? 1913982747 : 1913982745); + while (true) + { + int num2 = num; + int num3 = 1913982747; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return _206A_200F_206E_202C_206F_202C_206D_202A_200B_202C_202A_202A_206E_200E_206D_200C_206E_206F_200E_200C_206E_206B_202C_200B_202D_206B_202A_206F_206D_200F_202D_200B_202D_206C_200F_202C_200C_206D_202A_202C_202E(_206F_206E_206D_202C_206B_200B_206A_202A_200F_202B_202D_202B_200E_202E_202D_206E_206D_200E_202E_206E_206A_206B_206F_202E_206D_200B_202A_202C_206E_200E_206D_206D_206B_200C_206F_206C_206C_206A_200C_202B_202E(typeof(EAlliedSociety).TypeHandle), (object)(byte)x.RowId); + case 2: + num = (x.Name.IsEmpty ? 1913982747 : 1913982746); + break; + case 3: + num = 1913982745; + break; + case 0: + return false; + } + } + } + + internal EAlliedSociety _003C_002Ector_003Eb__8_7(BeastTribe x) + { + return (EAlliedSociety)x.RowId; + } + + internal byte _003C_002Ector_003Eb__8_8(BeastTribe x) + { + return x.MaxRank; + } + + internal bool _003C_002Ector_003Eb__8_9(EAlliedSociety x) + { + return x != EAlliedSociety.None; + } + + internal bool _003C_002Ector_003Eb__8_10(QuestInfo x) + { + return !x.IsRepeatable; + } + + internal bool _003C_002Ector_003Eb__8_11(EAlliedSociety x) + { + return x != EAlliedSociety.None; + } + + internal bool _003C_002Ector_003Eb__8_12(QuestInfo x) + { + return x.IsRepeatable; + } + + internal uint _003C_002Ector_003Eb__8_13(QuestInfo x) + { + return x.IssuerDataId; + } + + internal uint _003C_002Ector_003Eb__8_14(IGrouping x) + { + return x.Key; + } + + internal List _003C_002Ector_003Eb__8_15(IGrouping x) + { + return (from y in x + orderby y.AlliedSocietyQuestGroup == 3, y.QuestId + select y).ToList(); + } + + internal bool _003C_002Ector_003Eb__8_16(QuestInfo y) + { + return y.AlliedSocietyQuestGroup == 3; + } + + internal ElementId _003C_002Ector_003Eb__8_17(QuestInfo y) + { + return y.QuestId; + } + + internal bool _003CCalculateAvailableQuests_003Eb__14_2(QuestInfo q) + { + return q.AlliedSocietyQuestGroup == 3; + } + + internal QuestId _003CCalculateAvailableQuests_003Eb__14_1(QuestInfo x) + { + return (QuestId)x.QuestId; + } + + static Type _206F_206E_206D_202C_206B_200B_206A_202A_200F_202B_202D_202B_200E_202E_202D_206E_206D_200E_202E_206E_206A_206B_206F_202E_206D_200B_202A_202C_206E_200E_206D_206D_206B_200C_206F_206C_206C_206A_200C_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _206A_200F_206E_202C_206F_202C_206D_202A_200B_202C_202A_202A_206E_200E_206D_200C_206E_206F_200E_200C_206E_206B_202C_200B_202D_206B_202A_206F_206D_200F_202D_200B_202D_206C_200F_202C_200C_206D_202A_202C_202E(Type P_0, object P_1) + { + return Enum.IsDefined(P_0, P_1); } } 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; - foreach (EAlliedSociety item in from x in Enum.GetValues() - where x != EAlliedSociety.None - select x) + _questData = questData; + _reputationRequiredByRank = (from x in dataManager.GetExcelSheet() + where x.RowId != 0 + select x).ToImmutableDictionary((BeastReputationRank x) => x.RowId, (BeastReputationRank x) => x.RequiredReputation); + _questReputationRewards = dataManager.GetExcelSheet().Where(delegate(Lumina.Excel.Sheets.Quest x) { - foreach (KeyValuePair> item2 in (from x in questData.GetAllByAlliedSociety(item) - 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())) + int num2 = ((x.RowId == 0) ? 229482898 : 229482896); + while (true) { - item2.Deconstruct(out var key, out var value); - uint issuerDataId = key; - List allQuests = value; - NpcData npcData = new NpcData + int num3 = num2; + int num4 = 229482899; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) { - IssuerDataId = issuerDataId, - AllQuests = allQuests - }; - if (_questsByAlliedSociety.TryGetValue(item, out List value2)) - { - value2.Add(npcData); - continue; + case 0: + num2 = 229482896; + break; + case 3: + num2 = ((x.BeastTribe.RowId == 0) ? 229482898 : 229482897); + break; + case 2: + return x.BeastReputationValue > 0; + case 1: + return false; } - Dictionary> questsByAlliedSociety = _questsByAlliedSociety; - int num = 1; - List list = new List(num); - CollectionsMarshal.SetCount(list, num); - CollectionsMarshal.AsSpan(list)[0] = npcData; - questsByAlliedSociety[item] = list; + } + }).ToImmutableDictionary((Lumina.Excel.Sheets.Quest x) => x.RowId, (Lumina.Excel.Sheets.Quest x) => x.BeastReputationValue); + _maxRankByAlliedSociety = dataManager.GetExcelSheet().Where(delegate(BeastTribe x) + { + int num2 = ((x.RowId == 0) ? 1913982747 : 1913982745); + while (true) + { + int num3 = num2; + int num4 = 1913982747; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 1: + return _003C_003Ec._206A_200F_206E_202C_206F_202C_206D_202A_200B_202C_202A_202A_206E_200E_206D_200C_206E_206F_200E_200C_206E_206B_202C_200B_202D_206B_202A_206F_206D_200F_202D_200B_202D_206C_200F_202C_200C_206D_202A_202C_202E(_003C_003Ec._206F_206E_206D_202C_206B_200B_206A_202A_200F_202B_202D_202B_200E_202E_202D_206E_206D_200E_202E_206E_206A_206B_206F_202E_206D_200B_202A_202C_206E_200E_206D_206D_206B_200C_206F_206C_206C_206A_200C_202B_202E(typeof(EAlliedSociety).TypeHandle), (object)(byte)x.RowId); + case 2: + num2 = (x.Name.IsEmpty ? 1913982747 : 1913982746); + break; + case 3: + num2 = 1913982745; + break; + case 0: + return false; + } + } + }).ToImmutableDictionary((BeastTribe x) => (EAlliedSociety)x.RowId, (BeastTribe x) => x.MaxRank); + Dictionary<(EAlliedSociety, byte), QuestId> dictionary = new Dictionary<(EAlliedSociety, byte), QuestId>(); + IEnumerator enumerator = (from x in Enum.GetValues() + where x != EAlliedSociety.None + select x).GetEnumerator(); + try + { + while (_206F_202E_206C_200B_200E_202C_206B_202E_200E_200D_202D_200C_206E_200F_202E_200D_206C_200B_206F_206C_202A_202A_206B_202D_202D_202E_200C_200B_206C_200D_206C_206B_202C_202C_206B_200C_200B_202B_202A_206B_202E((IEnumerator)enumerator)) + { + EAlliedSociety current = enumerator.Current; + IEnumerator enumerator2 = (from x in questData.GetAllByAlliedSociety(current) + where !x.IsRepeatable + select x).GetEnumerator(); + try + { + while (_206F_202E_206C_200B_200E_202C_206B_202E_200E_200D_202D_200C_206E_200F_202E_200D_206C_200B_206F_206C_202A_202A_206B_202D_202D_202E_200C_200B_206C_200D_206C_206B_202C_202C_206B_200C_200B_202B_202A_206B_202E((IEnumerator)enumerator2)) + { + QuestInfo current2 = enumerator2.Current; + byte b = (byte)current2.AlliedSocietyRank; + if (b > 0) + { + dictionary[(current, b)] = (QuestId)current2.QuestId; + } + } + } + finally + { + if (enumerator2 != null) + { + _200B_200B_200E_202D_200D_200D_202B_200F_202E_200C_202A_200B_202B_206B_202D_200D_206D_200C_206F_200B_202A_202A_200F_200B_206A_200C_206F_200C_206B_206B_200E_200E_206C_202B_202B_202E_202C_200E_202E_202C_202E((IDisposable)enumerator2); + } + } + } + } + finally + { + if (enumerator != null) + { + _200B_200B_200E_202D_200D_200D_202B_200F_202E_200C_202A_200B_202B_206B_202D_200D_206D_200C_206F_200B_202A_202A_200F_200B_206A_200C_206F_200C_206B_206B_200E_200E_206C_202B_202B_202E_202C_200E_202E_202C_202E((IDisposable)enumerator); + } + } + _rankUpQuests = dictionary.ToImmutableDictionary(); + enumerator = (from x in Enum.GetValues() + where x != EAlliedSociety.None + select x).GetEnumerator(); + try + { + while (_206F_202E_206C_200B_200E_202C_206B_202E_200E_200D_202D_200C_206E_200F_202E_200D_206C_200B_206F_206C_202A_202A_206B_202D_202D_202E_200C_200B_206C_200D_206C_206B_202C_202C_206B_200C_200B_202B_202A_206B_202E((IEnumerator)enumerator)) + { + EAlliedSociety current3 = enumerator.Current; + foreach (KeyValuePair> item in (from x in questData.GetAllByAlliedSociety(current3) + 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())) + { + item.Deconstruct(out var key, out var value); + uint issuerDataId = key; + List allQuests = value; + NpcData npcData = new NpcData + { + IssuerDataId = issuerDataId, + AllQuests = allQuests + }; + if (_questsByAlliedSociety.TryGetValue(current3, out List value2)) + { + value2.Add(npcData); + continue; + } + Dictionary> questsByAlliedSociety = _questsByAlliedSociety; + int num = 1; + List list = new List(num); + CollectionsMarshal.SetCount(list, num); + CollectionsMarshal.AsSpan(list)[0] = npcData; + questsByAlliedSociety[current3] = list; + } + } + } + finally + { + if (enumerator != null) + { + _200B_200B_200E_202D_200D_200D_202B_200F_202E_200C_202A_200B_202B_206B_202D_200D_206D_200C_206F_200B_202A_202A_200F_200B_206A_200C_206F_200C_206B_206B_200E_200E_206C_202B_202B_202E_202C_200E_202E_202C_202E((IDisposable)enumerator); } } } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe List GetAvailableAlliedSocietyQuests(EAlliedSociety alliedSociety) { - byte rank = QuestManager.Instance()->BeastReputation[(int)(alliedSociety - 1)].Rank; - byte currentRank = (byte)(rank & 0x7F); - if (currentRank == 0) + int num = ((alliedSociety != EAlliedSociety.None) ? (-2074607472) : (-2074607467)); + byte rank = default(byte); + byte currentRank = default(byte); + List list = default(List); + bool flag2 = default(bool); + byte dailyQuestSeed = default(byte); + List value = default(List); + NpcData current = default(NpcData); + bool flag = default(bool); + (uint, byte, bool, bool) key = default((uint, byte, bool, bool)); + List value2 = default(List); + while (true) { - return new List(); - } - bool flag = (rank & 0x80) != 0; - byte dailyQuestSeed = QuestManager.Instance()->DailyQuestSeed; - List list = new List(); - foreach (NpcData item in _questsByAlliedSociety[alliedSociety]) - { - 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)) + int num2 = num; + int num3 = -2074607466; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - list.AddRange(value); - continue; + case 6: + { + rank = QuestManager.Instance()->BeastReputation[(int)(alliedSociety - 1)].Rank; + byte num11 = rank; + num3 = 127; + num4 = num11; + currentRank = (byte)(num4 + num3 - (num4 | num3)); + num = ((currentRank != 0) ? (-2074607468) : (-2074607469)); + break; + } + case 3: + return new List(); + case 5: + return new List(); + case 1: + return list; + case 0: + num = -2074607467; + break; + case 2: + { + byte num10 = rank; + num3 = 128; + num4 = num10; + flag2 = num4 + num3 - (num4 | num3) != 0; + dailyQuestSeed = QuestManager.Instance()->DailyQuestSeed; + list = new List(); + num = (_questsByAlliedSociety.TryGetValue(alliedSociety, out value) ? (-2074607470) : (-2074607465)); + break; + } + case 4: + { + using List.Enumerator enumerator = value.GetEnumerator(); + num = -1740472784; + while (true) + { + int num7 = num; + num3 = -1740472781; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 5: + num = -1740472784; + break; + case 1: + current = enumerator.Current; + flag = current.AllQuests.All((QuestInfo x) => currentRank > x.AlliedSocietyRank); + key = (current.IssuerDataId, dailyQuestSeed, flag, flag2); + num = ((!_dailyQuests.TryGetValue(key, out value2)) ? (-1740472783) : (-1740472781)); + break; + case 3: + num = (enumerator.MoveNext() ? (-1740472782) : (-1740472777)); + break; + case 0: + list.AddRange(value2); + num = -1740472784; + break; + case 2: + { + List list2 = CalculateAvailableQuests(current.AllQuests, dailyQuestSeed, flag, currentRank, flag2); + _202E_200E_206F_206E_202E_206C_206D_200B_200F_200C_206A_202A_200C_206F_206F_206E_206C_200D_206E_200D_200B_200D_206C_206B_200F_202B_206D_202A_200D_206E_206B_206A_200B_206D_200E_200E_202B_202B_206A_200E_202E((ILogger)_logger, global::_003CModule_003E._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(832413821), new object[4] + { + alliedSociety, + dailyQuestSeed, + current.IssuerDataId, + string.Join(global::_003CModule_003E._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(1467939024), list2) + }); + _dailyQuests[key] = list2; + list.AddRange(list2); + num = -1740472784; + break; + } + case 4: + 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 rank = beastReputationWork.Rank; + int num = 127; + int num2 = rank; + byte b = (byte)(num2 + num - (num2 | num)); + int num3 = ((b != 0) ? 1618192737 : 1618192736); + while (true) + { + int num4 = num3; + num = 1618192737; + num2 = num4; + int num5 = num2 + num; + int num6 = num2 & num; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0081; + case 1: + return null; + case 0: + { + 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); + } + } + continue; + IL_0081: + num3 = 1618192736; + } + } + + public QuestId? GetRankUpQuest(EAlliedSociety alliedSociety, byte currentRank) + { + return _rankUpQuests.GetValueOrDefault((alliedSociety, currentRank)); + } + + public ushort GetQuestReputationReward(QuestId questId) + { + return _questReputationRewards.GetValueOrDefault(_200D_202C_202A_206D_206E_200F_202A_202C_200C_202A_200C_202D_200F_200C_206F_206C_206B_206A_206C_200F_202A_200E_202A_206E_202D_202C_206F_200C_202B_206B_206C_206F_202B_206A_206F_202E_206F_206B_206B_206C_202E((ElementId)questId), 0); + } + + public bool WouldOvercapReputation(QuestId questId) + { + IQuestInfo questInfo; + int num = ((!_questData.TryGetQuestInfo(questId, out questInfo)) ? 370818468 : 370818473); + QuestInfo questInfo2 = default(QuestInfo); + (byte, ushort, ushort, bool, bool)? reputationStatus = default((byte, ushort, ushort, bool, bool)?); + ushort item = default(ushort); + ushort item2 = default(ushort); + while (true) + { + int num2 = num; + int num3 = 370818477; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + num = ((questInfo2.AlliedSociety != EAlliedSociety.None) ? 370818472 : 370818476); + break; + case 4: + questInfo2 = questInfo as QuestInfo; + num = ((questInfo2 != null) ? 370818474 : 370818468); + break; + case 3: + { + (byte, ushort, ushort, bool, bool) value = reputationStatus.Value; + item = value.Item2; + item2 = value.Item3; + num = ((!value.Item4) ? 370818475 : 370818469); + break; + } + case 8: + return false; + case 6: + { + ushort questReputationReward = GetQuestReputationReward(questId); + ushort num7 = item; + num3 = questReputationReward; + num4 = num7; + return (num4 | num3) + (num4 & num3) > item2; + } + case 1: + return false; + case 0: + return false; + case 9: + return false; + case 2: + num = 370818473; + break; + case 5: + reputationStatus = GetReputationStatus(questInfo2.AlliedSociety); + num = (reputationStatus.HasValue ? 370818478 : 370818477); + break; } - 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)); - _dailyQuests[key] = list2; - list.AddRange(list2); } - return list; } 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(); List list2 = new List(); - if (list.Count == 0) + int num = ((list.Count != 0) ? (-1989985077) : (-1989985088)); + int num12 = default(int); + int num20 = default(int); + int num6 = default(int); + Rng rng = default(Rng); + int num5 = default(int); + int num15 = default(int); + int num16 = default(int); + int num10 = default(int); + while (true) { - return new List(); - } - Rng rng = new Rng(seed); - if (outranksAll) - { - int num = 0; - for (int num2 = Math.Min(list.Count, 3); num < num2; num++) + int num2 = num; + int num3 = -1989985086; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - int num3 = rng.Next(list.Count); - while (list2.Contains(list[num3])) - { - num3 = (num3 + 1) % list.Count; - } - list2.Add(list[num3]); + case 6: + num = ((num12 < num20) ? (-1989985082) : (-1989985085)); + break; + case 17: + num6 = list.FindIndex((QuestInfo q) => q.AlliedSocietyQuestGroup == 3); + num = ((num6 < 0) ? (-1989985071) : (-1989985076)); + break; + case 9: + rng = new Rng(seed); + num = ((!outranksAll) ? (-1989985069) : (-1989985074)); + break; + case 11: + num = (list2.Contains(list[num5]) ? (-1989985080) : (-1989985087)); + break; + case 2: + return new List(); + case 19: + num6 = list.Count; + num = -1989985083; + break; + case 7: + num15 = list2.Count; + num16 = _202C_206C_206A_206B_206A_200B_206E_206A_202E_200E_206D_206E_200B_200B_206B_206D_206E_200C_202E_206E_200E_202B_206F_202A_206D_206F_200D_206B_202A_200D_206A_206C_206F_202B_202B_200D_206C_202C_206A_202A_202E(num6, 3); + num = -1989985086; + break; + case 3: + { + list2.Add(list[num5]); + int num21 = num15; + num3 = 1; + num4 = num21; + int num22 = num4 ^ num3; + int num23 = num4 & num3; + num15 = num22 + (num23 + num23); + num = -1989985086; + break; + } + case 14: + list2.Add(list[num6 + rng.Next(list.Count - num6)]); + num = -1989985083; + break; + case 16: + num = (list2.Contains(list[num10]) ? (-1989985072) : (-1989985078)); + break; + case 1: + num = -1989985075; + break; + case 12: + num12 = 0; + num20 = _202C_206C_206A_206B_206A_200B_206E_206A_202E_200E_206D_206E_200B_200B_206B_206D_206E_200C_202E_206E_200E_202B_206F_202A_206D_206F_200D_206B_202A_200D_206A_206C_206F_202B_202B_200D_206C_202C_206A_202A_202E(list.Count, 3); + num = -1989985084; + break; + case 4: + num10 = rng.Next(list.Count); + num = -1989985070; + break; + case 18: + { + int num17 = num10; + num3 = 1; + num4 = num17; + int num18 = num4 ^ num3; + int num19 = num4 & num3; + num10 = (num18 + (num19 + num19)) % list.Count; + num = -1989985070; + break; + } + case 0: + num = ((num15 < num16) ? (-1989985081) : (-1989985075)); + break; + case 15: + return list2.Select((QuestInfo x) => (QuestId)x.QuestId).ToList(); + case 13: + num = -1989985088; + break; + case 8: + { + list2.Add(list[num10]); + int num11 = num12; + num3 = 1; + num4 = num11; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + num12 = num13 + (num14 + num14); + num = -1989985084; + break; + } + case 10: + { + int num7 = num5; + num3 = 1; + num4 = num7; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + num5 = (num8 + (num9 + num9)) % num6; + num = -1989985079; + break; + } + case 5: + num5 = rng.Next(num6); + num = -1989985079; + break; } } - else - { - int num4 = list.FindIndex((QuestInfo q) => q.AlliedSocietyQuestGroup == 3); - if (num4 >= 0) - { - list2.Add(list[num4 + rng.Next(list.Count - num4)]); - } - else - { - num4 = list.Count; - } - int num5 = list2.Count; - for (int num6 = Math.Min(num4, 3); num5 < num6; num5++) - { - int num7 = rng.Next(num4); - while (list2.Contains(list[num7])) - { - num7 = (num7 + 1) % num4; - } - list2.Add(list[num7]); - } - } - return list2.Select((QuestInfo x) => (QuestId)x.QuestId).ToList(); } private static bool IsEligible(QuestInfo questInfo, byte currentRank, bool rankedUp) { - if (!rankedUp) + int num = (rankedUp ? (-1485940211) : (-1485940210)); + while (true) { - return questInfo.AlliedSocietyRank <= currentRank; + int num2 = num; + int num3 = -1485940212; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return questInfo.AlliedSocietyRank == currentRank; + case 2: + return questInfo.AlliedSocietyRank <= currentRank; + case 0: + goto IL_0058; + } + continue; + IL_0058: + num = -1485940210; } - return questInfo.AlliedSocietyRank == currentRank; + } + + static bool _206F_202E_206C_200B_200E_202C_206B_202E_200E_200D_202D_200C_206E_200F_202E_200D_206C_200B_206F_206C_202A_202A_206B_202D_202D_202E_200C_200B_206C_200D_206C_206B_202C_202C_206B_200C_200B_202B_202A_206B_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200B_200B_200E_202D_200D_200D_202B_200F_202E_200C_202A_200B_202B_206B_202D_200D_206D_200C_206F_200B_202A_202A_200F_200B_206A_200C_206F_200C_206B_206B_200E_200E_206C_202B_202B_202E_202C_200E_202E_202C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202E_200E_206F_206E_202E_206C_206D_200B_200F_200C_206A_202A_200C_206F_206F_206E_206C_200D_206E_200D_200B_200D_206C_206B_200F_202B_206D_202A_200D_206E_206B_206A_200B_206D_200E_200E_202B_202B_206A_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static ushort _200D_202C_202A_206D_206E_200F_202A_202C_200C_202A_200C_202D_200F_200C_206F_206C_206B_206A_206C_200F_202A_200E_202A_206E_202D_202C_206F_200C_202B_206B_206C_206F_202B_206A_206F_202E_206F_206B_206B_206C_202E(ElementId P_0) + { + return P_0.Value; + } + + static int _202C_206C_206A_206B_206A_200B_206E_206A_202E_200E_206D_206E_200B_200B_206B_206D_206E_200C_202E_206E_200E_202B_206F_202A_206D_206F_200D_206B_202A_200D_206A_206C_206F_202B_202B_200D_206C_202C_206A_202A_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); } } diff --git a/Questionable/Questionable.Functions/ChatFunctions.cs b/Questionable/Questionable.Functions/ChatFunctions.cs index a32c14d1..904e3514 100644 --- a/Questionable/Questionable.Functions/ChatFunctions.cs +++ b/Questionable/Questionable.Functions/ChatFunctions.cs @@ -2,52 +2,93 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; -using System.Runtime.InteropServices; -using System.Text; +using System.Runtime.CompilerServices; 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 + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec { - [FieldOffset(0)] - private readonly nint textPtr; + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); - [FieldOffset(16)] - private readonly ulong textLen; + public static Func _003C_003E9__3_0; - [FieldOffset(8)] - private readonly ulong unk1; + public static Func _003C_003E9__3_1; - [FieldOffset(24)] - private readonly ulong unk2; + public static Func _003C_003E9__3_2; - internal ChatPayload(byte[] stringBytes) + public static Func<(uint RowId, string Command), bool> _003C_003E9__3_3; + + public static Func<(uint RowId, string Command), EEmote> _003C_003E9__3_4; + + public static Func<(uint RowId, string Command), string> _003C_003E9__3_5; + + internal bool _003C_002Ector_003Eb__3_0(Emote x) { - 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; + return x.RowId != 0; } - public void Dispose() + internal bool _003C_002Ector_003Eb__3_1(Emote x) { - Marshal.FreeHGlobal(textPtr); + return x.TextCommand.IsValid; + } + + internal (uint RowId, string Command) _003C_002Ector_003Eb__3_2(Emote x) + { + return (RowId: x.RowId, Command: x.TextCommand.Value.Command.ToString()); + } + + internal bool _003C_002Ector_003Eb__3_3((uint RowId, string Command) x) + { + int num = (_200E_206A_206F_202E_206D_206E_206F_202B_202B_206A_200D_206B_202B_200D_206D_200C_202B_200E_202B_200C_200C_206F_202D_206C_200D_206D_202C_206B_202E_206D_200C_202D_202B_206B_200C_206F_202B_202D_206B_202D_202E(x.Command) ? 1902035638 : 1902035637); + while (true) + { + int num2 = num; + int num3 = 1902035639; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return _206E_202D_200C_202C_202E_200D_206C_202A_202D_206C_206A_202B_206D_202E_202B_200F_206F_206D_206F_206F_200D_206A_202E_202A_206A_206A_202D_200E_206B_206E_206B_202B_206C_202B_206B_200E_206B_202A_206F_206C_202E(x.Command, '/'); + case 0: + goto IL_005d; + } + continue; + IL_005d: + num = 1902035637; + } + } + + internal EEmote _003C_002Ector_003Eb__3_4((uint RowId, string Command) x) + { + return (EEmote)x.RowId; + } + + internal string _003C_002Ector_003Eb__3_5((uint RowId, string Command) x) + { + return x.Command; + } + + static bool _200E_206A_206F_202E_206D_206E_206F_202B_202B_206A_200D_206B_202B_200D_206D_200C_202B_200E_202B_200C_200C_206F_202D_206C_200D_206D_202C_206B_202E_206D_200C_202D_202B_206B_200C_206F_202B_202D_206B_202D_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _206E_202D_200C_202C_202E_200D_206C_202A_202D_206C_206A_202B_206D_202E_202B_200F_206F_206D_206F_206F_200D_206A_202E_202A_206A_206A_202D_200E_206B_206E_206B_202B_206C_202B_206B_200E_206B_202A_206F_206C_202E(string P_0, char P_1) + { + return P_0.StartsWith(P_1); } } @@ -57,83 +98,115 @@ internal sealed class ChatFunctions 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 - select (RowId: x.RowId, Command: x.TextCommand.Value.Command.ToString()) into x - where !string.IsNullOrEmpty(x.Command) && x.Command.StartsWith('/') - select x).ToDictionary<(uint, string), EEmote, string>(((uint RowId, string Command) x) => (EEmote)x.RowId, ((uint RowId, string Command) x) => x.Command).AsReadOnly(); + select (RowId: x.RowId, Command: x.TextCommand.Value.Command.ToString())).Where<(uint, string)>(delegate((uint RowId, string Command) x) + { + int num = (_003C_003Ec._200E_206A_206F_202E_206D_206E_206F_202B_202B_206A_200D_206B_202B_200D_206D_200C_202B_200E_202B_200C_200C_206F_202D_206C_200D_206D_202C_206B_202E_206D_200C_202D_202B_206B_200C_206F_202B_202D_206B_202D_202E(x.Command) ? 1902035638 : 1902035637); + while (true) + { + int num2 = num; + int num3 = 1902035639; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return _003C_003Ec._206E_202D_200C_202C_202E_200D_206C_202A_202D_206C_206A_202B_206D_202E_202B_200F_206F_206D_206F_206F_200D_206A_202E_202A_206A_206A_202D_200E_206B_206E_206B_202B_206C_202B_206B_200E_206B_202A_206F_206C_202E(x.Command, '/'); + case 0: + goto IL_005d; + } + continue; + IL_005d: + num = 1902035637; + } + }).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) + public static void ExecuteCommand(string command) { - 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) + int num = (_202D_202B_202A_202C_200E_206F_200C_206F_200B_202E_202C_200F_202A_200D_206C_202B_200B_206A_206B_200D_202A_206E_202A_202C_202B_206D_202B_202B_200D_206A_206D_202D_202D_206D_200F_200B_202D_202D_200B_202D_202E(command, '/') ? 1153841809 : 1153841810); + while (true) { - 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) - { - if (command.StartsWith('/')) - { - SendMessage(command); + int num2 = num; + int num3 = 1153841811; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _200F_202B_200B_202A_202E_206A_202C_202B_206A_200E_202B_200C_200F_200D_206C_202B_206C_202B_206A_200B_202E_206C_200C_202E_206D_200B_200E_206C_206E_202A_206B_206F_200E_206A_202E_206C_206C_206C_202D_200C_202E(command); + return; + case 1: + return; + case 0: + goto IL_0052; + } + continue; + IL_0052: + num = 1153841810; } } - public void UseEmote(uint dataId, EEmote emote) + [MethodImpl(MethodImplOptions.NoInlining)] + public bool UseEmote(uint dataId, EEmote emote) { IGameObject gameObject = _gameFunctions.FindObjectByDataId(dataId); - if (gameObject != null) + int num = ((gameObject == null) ? (-888767094) : (-888767093)); + while (true) { - _targetManager.Target = gameObject; - ExecuteCommand(_emoteCommands[emote] + " motion"); + int num2 = num; + int num3 = -888767094; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_005b; + case 1: + _202A_200D_202E_206A_202D_200E_202D_202B_206F_200F_202C_200B_200D_200E_202A_200B_206A_206F_200E_202C_206C_206E_206F_202A_202A_206E_200F_202A_200D_200F_206C_202A_206D_206F_200F_200B_202B_206B_200E_200F_202E(_targetManager, gameObject); + ExecuteCommand(_206D_206D_200D_206B_202D_200F_202C_206F_206B_206B_200D_206B_206E_202D_202A_206E_206E_206B_200D_206F_202C_206B_202B_200F_202C_206C_202A_206C_202B_200F_206B_202A_202D_200F_206F_202C_206C_200F_206A_206A_202E(_emoteCommands[emote], global::_003CModule_003E._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(-1428224074))); + return true; + case 0: + return false; + } + continue; + IL_005b: + num = -888767093; } } + [MethodImpl(MethodImplOptions.NoInlining)] public void UseEmote(EEmote emote) { - ExecuteCommand(_emoteCommands[emote] + " motion"); + ExecuteCommand(_206D_206D_200D_206B_202D_200F_202C_206F_206B_206B_200D_206B_206E_202D_202A_206E_206E_206B_200D_206F_202C_206B_202B_200F_202C_206C_202A_206C_202B_200F_206B_202A_202D_200F_206F_202C_206C_200F_206A_206A_202E(_emoteCommands[emote], global::_003CModule_003E._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(-1428224074))); + } + + static bool _202D_202B_202A_202C_200E_206F_200C_206F_200B_202E_202C_200F_202A_200D_206C_202B_200B_206A_206B_200D_202A_206E_202A_202C_202B_206D_202B_202B_200D_206A_206D_202D_202D_206D_200F_200B_202D_202D_200B_202D_202E(string P_0, char P_1) + { + return P_0.StartsWith(P_1); + } + + static void _200F_202B_200B_202A_202E_206A_202C_202B_206A_200E_202B_200C_200F_200D_206C_202B_206C_202B_206A_200B_202E_206C_200C_202E_206D_200B_200E_206C_206E_202A_206B_206F_200E_206A_202E_206C_206C_206C_202D_200C_202E(string P_0) + { + ChatHelper.SendCommand(P_0); + } + + static void _202A_200D_202E_206A_202D_200E_202D_202B_206F_200F_202C_200B_200D_200E_202A_200B_206A_206F_200E_202C_206C_206E_206F_202A_202A_206E_200F_202A_200D_200F_206C_202A_206D_206F_200F_200B_202B_206B_200E_200F_202E(ITargetManager P_0, IGameObject P_1) + { + P_0.Target = P_1; + } + + static string _206D_206D_200D_206B_202D_200F_202C_206F_206B_206B_200D_206B_206E_202D_202A_206E_206E_206B_200D_206F_202C_206B_202B_200F_202C_206C_202A_206C_202B_200F_206B_202A_202D_200F_206F_202C_206C_200F_206A_206A_202E(string P_0, string P_1) + { + return P_0 + P_1; } } diff --git a/Questionable/Questionable.Functions/ExcelFunctions.cs b/Questionable/Questionable.Functions/ExcelFunctions.cs index 96ee27e1..ade1549e 100644 --- a/Questionable/Questionable.Functions/ExcelFunctions.cs +++ b/Questionable/Questionable.Functions/ExcelFunctions.cs @@ -1,5 +1,8 @@ using System; using System.Linq; +using System.Runtime.CompilerServices; +using System.Text.RegularExpressions; +using Dalamud.Game.Text.SeStringHandling; using Dalamud.Plugin.Services; using Dalamud.Utility; using LLib; @@ -8,6 +11,7 @@ using Lumina.Excel.Sheets; using Lumina.Text.ReadOnly; using Microsoft.Extensions.Logging; using Questionable.Model; +using Questionable.Model.Questing; namespace Questionable.Functions; @@ -26,78 +30,290 @@ internal sealed class ExcelFunctions public StringOrRegex GetDialogueText(Questionable.Model.Quest? currentQuest, string? excelSheetName, string key, bool isRegex) { ReadOnlySeString? rawDialogueText = GetRawDialogueText(currentQuest, excelSheetName, key); - if (isRegex) + int num = ((!isRegex) ? 1072501571 : 1072501572); + while (true) { - return new StringOrRegex(rawDialogueText.ToRegex()); + int num2 = num; + int num3 = 1072501568; + int num4 = num2; + object str; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1072501572; + break; + case 3: + num = (rawDialogueText.HasValue ? 1072501570 : 1072501569); + break; + case 1: + str = null; + goto IL_009e; + case 2: + str = _200D_206F_206A_202A_202D_200D_206B_202E_206C_202D_202A_200C_202E_200C_202B_200E_200C_202E_206C_202D_200C_202A_200C_200F_200C_200E_200D_206A_202E_202E_202B_200F_200C_206E_200D_202B_202A_200F_200D_206D_202E(rawDialogueText.GetValueOrDefault()); + goto IL_009e; + case 4: + { + return new StringOrRegex(_202D_202D_206D_202A_206F_202D_200F_206A_200B_206D_206E_200B_206C_202B_202B_200C_206B_200D_206C_202D_206F_202C_200E_206D_206B_200E_200E_200B_206B_202C_206D_202B_200B_206C_202C_206D_202A_206F_202D_206C_202E(rawDialogueText)); + } + IL_009e: + return new StringOrRegex((string?)str); + } } - return new StringOrRegex(rawDialogueText?.WithCertainMacroCodeReplacements()); } + [MethodImpl(MethodImplOptions.NoInlining)] public ReadOnlySeString? GetRawDialogueText(Questionable.Model.Quest? currentQuest, string? excelSheetName, string key) { - if (currentQuest != null && excelSheetName == null) + int num = ((currentQuest == null) ? 29428304 : 29428309); + Lumina.Excel.Sheets.Quest? rowOrDefault = default(Lumina.Excel.Sheets.Quest?); + while (true) { - Lumina.Excel.Sheets.Quest? rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault((uint)(currentQuest.Id.Value + 65536)); - if (!rowOrDefault.HasValue) + int num2 = num; + int num3 = 29428305; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _logger.LogError("Could not find quest row for {QuestId}", currentQuest.Id); - return null; + case 0: + num = 29428309; + break; + case 2: + rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault((uint)(_206E_202E_206E_200E_206E_200E_202C_200F_206E_206C_200C_202E_200B_202B_206E_200B_206D_202C_206E_206F_200E_202B_200B_202D_206D_206C_202A_200F_200C_206C_200E_206C_202C_200B_200D_202A_200E_200F_206F_200E_202E(currentQuest.Id) + 65536)); + num = (rowOrDefault.HasValue ? 29428308 : 29428306); + break; + case 4: + num = ((excelSheetName != null) ? 29428304 : 29428307); + break; + case 5: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(7, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1117536650)); + defaultInterpolatedStringHandler.AppendFormatted(_206E_202E_206E_200E_206E_200E_202C_200F_206E_206C_200C_202E_200B_202B_206E_200B_206D_202C_206E_206F_200E_202B_200B_202D_206D_206C_202A_200F_200C_206C_200E_206C_202C_200B_200D_202A_200E_200F_206F_200E_202E(currentQuest.Id) / 100, global::_003CModule_003E._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(1475235233)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(503298330)); + defaultInterpolatedStringHandler.AppendFormatted(rowOrDefault.Value.Id); + excelSheetName = defaultInterpolatedStringHandler.ToStringAndClear(); + num = 29428304; + break; + } + case 3: + _202A_206D_200D_202A_200D_202C_200F_206C_202E_202A_200E_206B_200C_200E_200B_202D_200E_200F_202B_202A_200F_206C_200B_200F_200B_206A_200F_202C_200B_206D_202B_206A_202E_200F_202B_200E_202C_200D_206F_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1164547809), new object[1] { currentQuest.Id }); + return null; + case 1: + _200B_200E_202A_202E_206D_206D_200D_202D_206E_206D_206E_206D_206E_202C_202A_206B_202A_206B_206F_206B_202D_202D_200B_202A_206F_206B_206B_202C_206D_202E_202C_206E_200E_206A_202E_202C_202D_200C_200C_206D_202E((object)excelSheetName, global::_003CModule_003E._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(-1394089071)); + try + { + IDataManager dataManager = _dataManager; + string name = excelSheetName; + return dataManager.GetExcelSheet(null, name).Cast().FirstOrDefault((QuestDialogueText? x) => x.Value.Key == key)?.Value; + } + catch (SheetNotFoundException ex) + { + throw _202C_202B_202E_200D_202B_206A_200D_206B_200C_200C_206F_200D_200C_206A_200D_200F_200D_202B_206B_200E_206B_200D_206C_200B_206E_206D_200C_200C_200E_206C_206B_206C_202A_206E_206F_202B_202E_202D_206D_202C_202E(_202E_202B_200D_206E_202D_200B_206E_202E_206C_206E_206E_202C_200B_200C_202C_206C_206E_200B_200D_206F_206E_206E_206A_206E_206E_206E_202C_202C_206A_200D_200C_200B_200D_200C_206B_202D_206E_206D_202B_206A_202E(global::_003CModule_003E._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(517692364), excelSheetName, global::_003CModule_003E._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(-1767050032)), (Exception)ex); + } } - excelSheetName = $"quest/{currentQuest.Id.Value / 100:000}/{rowOrDefault.Value.Id}"; - } - ArgumentNullException.ThrowIfNull(excelSheetName, "excelSheetName"); - try - { - IDataManager dataManager = _dataManager; - string name = excelSheetName; - return dataManager.GetExcelSheet(null, name).Cast().FirstOrDefault((QuestDialogueText? x) => x.Value.Key == key)?.Value; - } - catch (SheetNotFoundException innerException) - { - throw new SheetNotFoundException("Sheet '" + excelSheetName + "' not found", innerException); } } public StringOrRegex GetDialogueTextByRowId(string? excelSheet, uint rowId, bool isRegex) { ReadOnlySeString? rawDialogueTextByRowId = GetRawDialogueTextByRowId(excelSheet, rowId); - if (isRegex) + int num = ((!isRegex) ? 22562861 : 22562856); + object str; + while (true) { - return new StringOrRegex(rawDialogueTextByRowId.ToRegex()); - } - return new StringOrRegex(rawDialogueTextByRowId?.ToDalamudString().ToString()); - } - - public ReadOnlySeString? GetRawDialogueTextByRowId(string? excelSheet, uint rowId) - { - bool flag; - switch (excelSheet) - { - case "GimmickYesNo": - return _dataManager.GetExcelSheet().GetRowOrDefault(rowId)?.Message; - case "Warp": - return _dataManager.GetExcelSheet().GetRowOrDefault(rowId)?.Name; - case "Addon": - return _dataManager.GetExcelSheet().GetRowOrDefault(rowId)?.Text; - case "EventPathMove": - return _dataManager.GetExcelSheet().GetRowOrDefault(rowId)?.Unknown0; - case "GilShop": - return _dataManager.GetExcelSheet().GetRowOrDefault(rowId)?.Name; - default: - if (excelSheet != null) + int num2 = num; + int num3 = 22562857; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - flag = false; + default: + continue; + case 0: + str = null; + break; + case 1: + return new StringOrRegex(_202D_202D_206D_202A_206F_202D_200F_206A_200B_206D_206E_200B_206C_202B_202B_200C_206B_200D_206C_202D_206F_202C_200E_206D_206B_200E_200E_200B_206B_202C_206D_202B_200B_206C_202C_206D_202A_206F_202D_206C_202E(rawDialogueTextByRowId)); + case 4: + num = (rawDialogueTextByRowId.HasValue ? 22562858 : 22562857); + continue; + case 2: + num = 22562856; + continue; + case 3: + str = _202E_200B_206D_206C_206E_202A_200E_202B_206B_206C_202A_200C_202E_206E_206A_206E_202E_206F_202B_200D_202D_206A_202D_200C_200B_206A_202D_206E_206E_200C_200F_202A_200F_206E_206A_200B_202C_202E_202D_202E((object)_202E_206E_206A_206A_206E_200F_202D_200E_206E_200E_200D_200D_200E_202B_200B_200B_206C_202A_206C_200C_200B_200F_202D_200E_206D_200B_206E_202A_202A_206E_206C_206C_200B_202C_200B_206F_200D_202D_200E_206C_202E(rawDialogueTextByRowId.GetValueOrDefault())); break; } - goto case "ContentTalk"; - case "ContentTalk": - flag = true; break; } - if (flag) + return new StringOrRegex((string?)str); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public ReadOnlySeString? GetRawDialogueTextByRowId(string? excelSheet, uint rowId) + { + int num = ((!_200B_202C_200E_206D_202B_206C_206B_206E_206F_206F_202D_200D_202C_206A_202D_200E_206E_206D_200E_200B_202C_200F_200D_202B_202E_200E_200D_200D_202B_206F_202A_206C_206B_206D_200C_200F_202B_200C_206F_200C_202E(excelSheet, global::_003CModule_003E._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(-1570338980))) ? (-409733808) : (-409733813)); + GilShop? rowOrDefault3 = default(GilShop?); + Addon? rowOrDefault4 = default(Addon?); + ContentTalk? rowOrDefault = default(ContentTalk?); + bool flag = default(bool); + EventPathMove? rowOrDefault6 = default(EventPathMove?); + Warp? rowOrDefault5 = default(Warp?); + GimmickYesNo? rowOrDefault2 = default(GimmickYesNo?); + while (true) { - return _dataManager.GetExcelSheet().GetRowOrDefault(rowId)?.Text; + int num2 = num; + int num3 = -409733800; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + rowOrDefault3 = _dataManager.GetExcelSheet().GetRowOrDefault(rowId); + num = (rowOrDefault3.HasValue ? (-409733798) : (-409733820)); + break; + case 11: + num = ((excelSheet != null) ? (-409733821) : (-409733807)); + break; + case 22: + return rowOrDefault4.GetValueOrDefault().Text; + case 5: + rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault(rowId); + num = (rowOrDefault.HasValue ? (-409733793) : (-409733800)); + break; + case 21: + rowOrDefault4 = _dataManager.GetExcelSheet().GetRowOrDefault(rowId); + num = (rowOrDefault4.HasValue ? (-409733810) : (-409733816)); + break; + case 0: + return null; + case 18: + num = ((!_200B_202C_200E_206D_202B_206C_206B_206E_206F_206F_202D_200D_202C_206A_202D_200E_206E_206D_200E_200B_202C_200F_200D_202B_202E_200E_200D_200D_202B_206F_202A_206C_206B_206D_200C_200F_202B_200C_206F_200C_202E(excelSheet, global::_003CModule_003E._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(1839428582))) ? (-409733801) : (-409733797)); + break; + case 27: + flag = false; + num = -409733803; + break; + case 6: + return rowOrDefault6.GetValueOrDefault().Unknown0; + case 10: + num = -409733813; + break; + case 9: + flag = true; + num = -409733803; + break; + case 2: + return rowOrDefault3.GetValueOrDefault().Name; + case 24: + throw _206A_202E_206F_200C_206F_202E_202C_202B_202A_206C_200C_206F_200E_206B_200E_202E_202E_202D_200B_200B_200F_206B_202D_202C_206F_206F_200D_200C_202C_202B_206C_200B_202C_200C_202B_206A_202E_206A_200B_206A_202E(global::_003CModule_003E._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(-1185562918), _206C_206C_200E_200C_206A_200F_202A_206A_206A_202D_206E_206A_200D_200D_206E_202B_200B_200B_200D_206F_200B_206F_206D_200F_202D_206E_202D_206D_202C_206D_200B_206D_206E_200C_206E_206D_206A_206B_202A_206F_202E(global::_003CModule_003E._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(2034463000), excelSheet)); + case 4: + return null; + case 13: + num = ((!flag) ? (-409733824) : (-409733795)); + break; + case 14: + num = ((!_200B_202C_200E_206D_202B_206C_206B_206E_206F_206F_202D_200D_202C_206A_202D_200E_206E_206D_200E_200B_202C_200F_200D_202B_202E_200E_200D_200D_202B_206F_202A_206C_206B_206D_200C_200F_202B_200C_206F_200C_202E(excelSheet, global::_003CModule_003E._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(1204948289))) ? (-409733814) : (-409733804)); + break; + case 8: + num = ((!_200B_202C_200E_206D_202B_206C_206B_206E_206F_206F_202D_200D_202C_206A_202D_200E_206E_206D_200E_200B_202C_200F_200D_202B_202E_200E_200D_200D_202B_206F_202A_206C_206B_206D_200C_200F_202B_200C_206F_200C_202E(excelSheet, global::_003CModule_003E._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(1428251349))) ? (-409733812) : (-409733822)); + break; + case 12: + rowOrDefault6 = _dataManager.GetExcelSheet().GetRowOrDefault(rowId); + num = (rowOrDefault6.HasValue ? (-409733794) : (-409733823)); + break; + case 1: + return rowOrDefault5.GetValueOrDefault().Name; + case 23: + return null; + case 26: + rowOrDefault5 = _dataManager.GetExcelSheet().GetRowOrDefault(rowId); + num = (rowOrDefault5.HasValue ? (-409733799) : (-409733809)); + break; + case 16: + return null; + case 17: + return rowOrDefault2.GetValueOrDefault().Message; + case 20: + num = ((!_200B_202C_200E_206D_202B_206C_206B_206E_206F_206F_202D_200D_202C_206A_202D_200E_206E_206D_200E_200B_202C_200F_200D_202B_202E_200E_200D_200D_202B_206F_202A_206C_206B_206D_200C_200F_202B_200C_206F_200C_202E(excelSheet, global::_003CModule_003E._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(322628157))) ? (-409733802) : (-409733811)); + break; + case 15: + num = (_200B_202C_200E_206D_202B_206C_206B_206E_206F_206F_202D_200D_202C_206A_202D_200E_206E_206D_200E_200B_202C_200F_200D_202B_202E_200E_200D_200D_202B_206F_202A_206C_206B_206D_200C_200F_202B_200C_206F_200C_202E(excelSheet, global::_003CModule_003E._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(492487113)) ? (-409733807) : (-409733805)); + break; + case 19: + rowOrDefault2 = _dataManager.GetExcelSheet().GetRowOrDefault(rowId); + num = (rowOrDefault2.HasValue ? (-409733815) : (-409733796)); + break; + case 7: + return rowOrDefault.GetValueOrDefault().Text; + case 28: + return null; + case 25: + return null; + } } - throw new ArgumentOutOfRangeException("excelSheet", "Unsupported excel sheet " + excelSheet); + } + + static Regex _202D_202D_206D_202A_206F_202D_200F_206A_200B_206D_206E_200B_206C_202B_202B_200C_206B_200D_206C_202D_206F_202C_200E_206D_206B_200E_200E_200B_206B_202C_206D_202B_200B_206C_202C_206D_202A_206F_202D_206C_202E(ReadOnlySeString? P_0) + { + return P_0.ToRegex(); + } + + static string _200D_206F_206A_202A_202D_200D_206B_202E_206C_202D_202A_200C_202E_200C_202B_200E_200C_202E_206C_202D_200C_202A_200C_200F_200C_200E_200D_206A_202E_202E_202B_200F_200C_206E_200D_202B_202A_200F_200D_206D_202E(ReadOnlySeString P_0) + { + return P_0.WithCertainMacroCodeReplacements(); + } + + static ushort _206E_202E_206E_200E_206E_200E_202C_200F_206E_206C_200C_202E_200B_202B_206E_200B_206D_202C_206E_206F_200E_202B_200B_202D_206D_206C_202A_200F_200C_206C_200E_206C_202C_200B_200D_202A_200E_200F_206F_200E_202E(ElementId P_0) + { + return P_0.Value; + } + + static void _202A_206D_200D_202A_200D_202C_200F_206C_202E_202A_200E_206B_200C_200E_200B_202D_200E_200F_202B_202A_200F_206C_200B_200F_200B_206A_200F_202C_200B_206D_202B_206A_202E_200F_202B_200E_202C_200D_206F_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static void _200B_200E_202A_202E_206D_206D_200D_202D_206E_206D_206E_206D_206E_202C_202A_206B_202A_206B_206F_206B_202D_202D_200B_202A_206F_206B_206B_202C_206D_202E_202C_206E_200E_206A_202E_202C_202D_200C_200C_206D_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static string _202E_202B_200D_206E_202D_200B_206E_202E_206C_206E_206E_202C_200B_200C_202C_206C_206E_200B_200D_206F_206E_206E_206A_206E_206E_206E_202C_202C_206A_200D_200C_200B_200D_200C_206B_202D_206E_206D_202B_206A_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static SheetNotFoundException _202C_202B_202E_200D_202B_206A_200D_206B_200C_200C_206F_200D_200C_206A_200D_200F_200D_202B_206B_200E_206B_200D_206C_200B_206E_206D_200C_200C_200E_206C_206B_206C_202A_206E_206F_202B_202E_202D_206D_202C_202E(string P_0, Exception P_1) + { + return new SheetNotFoundException(P_0, P_1); + } + + static SeString _202E_206E_206A_206A_206E_200F_202D_200E_206E_200E_200D_200D_200E_202B_200B_200B_206C_202A_206C_200C_200B_200F_202D_200E_206D_200B_206E_202A_202A_206E_206C_206C_200B_202C_200B_206F_200D_202D_200E_206C_202E(ReadOnlySeString P_0) + { + return P_0.ToDalamudString(); + } + + static string _202E_200B_206D_206C_206E_202A_200E_202B_206B_206C_202A_200C_202E_206E_206A_206E_202E_206F_202B_200D_202D_206A_202D_200C_200B_206A_202D_206E_206E_200C_200F_202A_200F_206E_206A_200B_202C_202E_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _200B_202C_200E_206D_202B_206C_206B_206E_206F_206F_202D_200D_202C_206A_202D_200E_206E_206D_200E_200B_202C_200F_200D_202B_202E_200E_200D_200D_202B_206F_202A_206C_206B_206D_200C_200F_202B_200C_206F_200C_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static string _206C_206C_200E_200C_206A_200F_202A_206A_206A_202D_206E_206A_200D_200D_206E_202B_200B_200B_200D_206F_200B_206F_206D_200F_202D_206E_202D_206D_202C_206D_200B_206D_206E_200C_206E_206D_206A_206B_202A_206F_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static ArgumentOutOfRangeException _206A_202E_206F_200C_206F_202E_202C_202B_202A_206C_200C_206F_200E_206B_200E_202E_202E_202D_200B_200B_200F_206B_202D_202C_206F_206F_200D_200C_202C_202B_206C_200B_202C_200C_202B_206A_202E_206A_200B_206A_202E(string P_0, string P_1) + { + return new ArgumentOutOfRangeException(P_0, P_1); } } diff --git a/Questionable/Questionable.Functions/GameFunctions.cs b/Questionable/Questionable.Functions/GameFunctions.cs index acb2a526..c5636d4b 100644 --- a/Questionable/Questionable.Functions/GameFunctions.cs +++ b/Questionable/Questionable.Functions/GameFunctions.cs @@ -3,7 +3,9 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; 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,12 +18,9 @@ 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; @@ -33,6 +32,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 +56,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 = _200E_206C_202E_206E_206B_206A_202D_206B_206B_206B_200D_206F_200E_202A_202A_206F_206A_200F_206B_200D_202D_200B_202A_206D_200C_206C_200C_202A_200D_202A_200D_202A_206B_206D_206A_200B_200C_200D_206F_200F_202E(global::_003CModule_003E._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(-1537827123), 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,144 +74,347 @@ 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(); + _contentFinderConditionToContentId = dataManager.GetExcelSheet().Where(delegate(ContentFinderCondition x) + { + int num = ((x.RowId == 0) ? 1024647166 : 1024647165); + while (true) + { + int num2 = num; + int num3 = 1024647164; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return false; + case 1: + return x.Content.RowId != 0; + case 0: + goto IL_005d; + } + continue; + IL_005d: + num = 1024647165; + } + }).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) + int num = ((!_configuration.Navigation.NeverFly) ? (-1364280485) : (-1364280489)); + ushort? mountId = default(ushort?); + while (true) { - return false; + int num2 = num; + int num3 = -1364280481; + int num4 = num2; + int? obj; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = ((!_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.Mounted)) ? (-1364280484) : (-1364280486)); + break; + case 2: + obj = mountId.GetValueOrDefault(); + goto IL_009e; + case 1: + obj = null; + goto IL_009e; + case 0: + num = -1364280489; + break; + case 3: + return _202B_202C_206D_206E_200C_206D_206C_206E_200E_206F_206F_206C_202A_202B_202E_202D_206B_202C_206F_200C_200F_206A_202B_206E_206D_206C_202A_202B_206C_202A_206B_206E_206A_206E_200F_200C_206E_200E_202C_200C_202E(_gameState, territoryId); + case 4: + num = ((!_questFunctions.IsQuestAccepted(_202A_206D_206C_206A_202C_202C_202B_206E_206D_202C_200F_202D_200D_202E_200B_200C_202D_202B_202A_206B_202A_202D_206E_206A_202C_200F_206A_200C_200B_206E_200F_200C_200C_206D_200F_200E_206B_206A_200B_202C_202E((ushort)3304))) ? (-1364280484) : (-1364280487)); + break; + case 7: + return true; + case 5: + mountId = GetMountId(); + num = (mountId.HasValue ? (-1364280483) : (-1364280482)); + break; + case 8: + { + return false; + } + IL_009e: + num = ((obj != 198) ? (-1364280484) : (-1364280488)); + break; + } } - if (_questFunctions.IsQuestAccepted(new QuestId(3304)) && _condition[ConditionFlag.Mounted] && GetMountId() == 198) - { - return true; - } - PlayerState* ptr = PlayerState.Instance(); - if (ptr != null && _territoryToAetherCurrentCompFlgSet.TryGetValue(territoryId, out var value)) - { - return ptr->IsAetherCurrentZoneComplete(value); - } - return false; } - public unsafe ushort? GetMountId() + public bool IsFlyingUnlockedPersistent(uint territoryId) { - BattleChara* ptr = (BattleChara*)(_objectTable.LocalPlayer?.Address ?? 0); - if (ptr != null && ptr->Mount.MountId != 0) + int num = ((!_configuration.Navigation.NeverFly) ? (-1580908316) : (-1580908315)); + while (true) { - return ptr->Mount.MountId; + int num2 = num; + int num3 = -1580908316; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return _202B_202C_206D_206E_200C_206D_206C_206E_200E_206F_206F_206C_202A_202B_202E_202D_206B_202C_206F_200C_200F_206A_202B_206E_206D_206C_202A_202B_206C_202A_206B_206E_206A_206E_200F_200C_206E_200E_202C_200C_202E(_gameState, territoryId); + case 1: + return false; + case 2: + goto IL_005f; + } + continue; + IL_005f: + num = -1580908315; } - return null; + } + + public ushort? GetMountId() + { + return _200B_200E_206F_202A_202E_200E_200C_206E_206A_206A_206A_206F_200B_206C_202B_200C_206B_202C_200E_200B_202E_206A_202E_202E_202D_206A_202A_200D_206C_206D_206C_200D_200C_206D_206A_200E_206F_206C_202D_206A_202E(_gameState); } public bool IsFlyingUnlockedInCurrentZone() { - return IsFlyingUnlocked(_clientState.TerritoryType); + return IsFlyingUnlocked(_206B_202D_206E_206A_202C_200F_202B_202E_206A_206C_206D_200E_206E_202D_206B_202C_206C_200E_200C_200F_206A_200F_200B_206D_202E_206E_200D_202B_206E_206C_206F_200E_202B_202E_202C_202C_206C_206A_200C_206D_202E(_clientState)); } - 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 _202C_206E_206E_200D_206D_202A_200B_202A_200E_200C_206E_206A_202E_200B_202E_202E_200B_206B_202C_202A_202B_206F_202A_206D_206C_200F_202E_200D_202A_200D_206B_206D_206A_200B_206C_206D_206E_206A_206E_206B_202E(aetherCurrentId); } + [MethodImpl(MethodImplOptions.NoInlining)] public IGameObject? FindObjectByDataId(uint dataId, Dalamud.Game.ClientState.Objects.Enums.ObjectKind? kind = null, bool warnIfMissing = true) { - for (int i = 0; i < _objectTable.Length; i++) + int num = 0; + int num2 = 807951982; + bool flag = default(bool); + IGameObject gameObject = default(IGameObject); + Dalamud.Game.ClientState.Objects.Enums.ObjectKind objectKind = default(Dalamud.Game.ClientState.Objects.Enums.ObjectKind); + while (true) { - IGameObject gameObject = _objectTable[i]; - if (gameObject != null) + int num3 = num2; + int num4 = 807951971; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) { - 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; - } + case 10: + num2 = (flag ? 807951978 : 807951968); + break; + case 18: + num2 = ((!kind.HasValue) ? 807951976 : 807951971); + break; + case 16: + num2 = ((_206D_202C_200F_200B_202C_200B_200B_206C_206C_206E_200F_202B_206F_200E_202B_200C_200B_200D_200F_206E_206D_206B_200F_202E_206C_202C_202C_202C_200E_206F_200F_200E_200B_206C_206D_206B_202D_202D_206A_202D_202E(gameObject) != Dalamud.Game.ClientState.Objects.Enums.ObjectKind.GatheringPoint) ? 807951974 : 807951970); + break; + case 7: + return null; + case 4: + objectKind = _206D_202C_200F_200B_202C_200B_200B_206C_206C_206E_200F_202B_206F_200E_202B_200C_200B_200D_200F_206E_206D_206B_200F_202E_206C_202C_202C_202C_200E_206F_200F_200E_200B_206C_206D_206B_202D_202D_206A_202D_202E(gameObject); + num2 = ((objectKind == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.Pc) ? 807951986 : 807951980); + break; + case 14: + _206A_206B_202A_200C_206A_200E_202D_206C_202A_200E_200B_206B_202B_202E_200D_200F_206F_206C_200E_200E_206E_200F_206F_200B_206B_200B_200F_202B_202E_202A_206C_206B_206D_206A_206F_202C_202C_206D_202C_200C_202E((ILogger)_logger, global::_003CModule_003E._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(1434337485), new object[1] { dataId }); + num2 = 807951972; + break; + case 15: + num2 = ((objectKind - 8 <= Dalamud.Game.ClientState.Objects.Enums.ObjectKind.BattleNpc) ? 807951986 : 807951983); + break; + case 13: + num2 = ((num < _202D_206E_206D_200C_200E_200F_200D_200C_200C_202B_206F_202B_202C_206F_206B_200C_202C_202C_206A_206D_202C_206C_200D_200C_200F_202D_200E_206D_202B_202B_200F_202B_206F_202E_202E_206E_202A_206A_206C_206F_202E(_objectTable)) ? 807951984 : 807951973); + break; + case 2: + num2 = 807951982; + break; + case 12: + num2 = ((objectKind != Dalamud.Game.ClientState.Objects.Enums.ObjectKind.HousingEventObject) ? 807951979 : 807951986); + break; + case 3: + num2 = ((gameObject == null) ? 807951974 : 807951987); + break; + case 6: + num2 = ((!warnIfMissing) ? 807951972 : 807951981); + break; + case 9: + { + int num8 = num; + num4 = 1; + num5 = num8; + num = (num5 | num4) + (num5 & num4); + num2 = 807951982; + break; + } + case 5: + num2 = ((_202A_200F_200B_206E_206D_202B_206E_206B_200C_202D_202B_200E_206A_202D_206F_200F_202C_202E_206C_202B_202E_200E_202E_202C_200D_200C_200D_202C_206F_200F_202C_202E_202B_202E_206B_206F_206B_206E_206F_200D_202E(gameObject) != dataId) ? 807951978 : 807951985); + break; + case 8: + flag = false; + num2 = 807951977; + break; + case 17: + flag = true; + num2 = 807951977; + break; + case 0: + num2 = ((kind.Value != _206D_202C_200F_200B_202C_200B_200B_206C_206C_206E_200F_202B_206F_200E_202B_200C_200B_200D_200F_206E_206D_206B_200F_202E_206C_202C_202C_202C_200E_206F_200F_200E_200B_206C_206D_206B_202D_202D_206A_202D_202E(gameObject)) ? 807951978 : 807951976); + break; + case 1: + num2 = ((!_200F_200C_202B_200D_206D_200F_200F_200F_206A_202E_200F_202A_206B_200F_200B_200D_206C_202C_206A_206E_206A_202C_206F_206B_202E_200F_206D_202D_206D_200D_200C_206A_202D_206F_202D_200D_206D_206D_202C_206A_202E(gameObject)) ? 807951978 : 807951974); + break; + case 11: + return gameObject; + case 19: + gameObject = _200E_200B_206B_202E_202B_200C_206D_206D_200E_200B_200F_206C_206C_202D_202D_200C_200B_200E_206A_200C_202D_206A_206F_200D_200D_200C_206C_206E_202D_202E_200C_200D_202A_206E_202D_200F_200E_206F_206E_200C_202E(_objectTable, num); + num2 = ((gameObject == null) ? 807951978 : 807951975); + break; } } - if (warnIfMissing) - { - _logger.LogWarning("Could not find GameObject with dataId {DataId}", dataId); - } - return null; } + [MethodImpl(MethodImplOptions.NoInlining)] public bool InteractWith(uint dataId, Dalamud.Game.ClientState.Objects.Enums.ObjectKind? kind = null) { IGameObject gameObject = FindObjectByDataId(dataId, kind); - if (gameObject != null) + int num = ((gameObject == null) ? (-1334484933) : (-1334484936)); + while (true) { - return InteractWith(gameObject); + int num2 = num; + int num3 = -1334484935; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _200B_200D_200E_202D_206C_202D_200D_202D_206F_200F_200C_206A_200F_202E_200D_200B_206F_200D_202C_202D_206E_206A_200C_202D_200E_200E_202B_200C_202D_206D_200E_206F_200E_202B_206C_200E_206C_206F_202D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1930921245), Array.Empty()); + return false; + case 1: + return InteractWith(gameObject); + case 0: + goto IL_0071; + } + continue; + IL_0071: + num = -1334484936; } - _logger.LogDebug("Game object is null"); - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe bool InteractWith(IGameObject gameObject) { - _logger.LogInformation("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) + _200B_200D_200E_202D_206C_202D_200D_202D_206F_200F_200C_206A_200F_202E_200D_200B_206F_200D_202C_202D_206E_206A_200C_202D_200E_200E_202B_200C_202D_206D_200E_206F_200E_202B_206C_200E_206C_206F_202D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1635854667), new object[2] { - TargetSystem.Instance()->OpenObjectInteraction((GameObject*)gameObject.Address); - _logger.LogInformation("Interact result: (none) for GatheringPoint"); - return true; - } - long num = (long)TargetSystem.Instance()->InteractWithObject((GameObject*)gameObject.Address, checkLineOfSight: false); - _logger.LogInformation("Interact result: {Result}", num); - if (num != 7) + _202A_200F_200B_206E_206D_202B_206E_206B_200C_202D_202B_200E_206A_202D_206F_200F_202C_202E_206C_202B_202E_200E_202E_202C_200D_200C_200D_202C_206F_200F_202C_202E_202B_202E_206B_206F_206B_206E_206F_200D_202E(gameObject), + _200E_206F_200B_200E_206D_206D_200E_202E_200B_200F_206D_202E_202C_202E_202C_202A_206F_200F_206C_200D_206E_206B_206B_206D_202B_202C_200B_202E_200C_202B_206A_202E_202C_202A_206A_206A_202E_206C_200D_200E_202E(gameObject) + }); + _202D_200B_206B_202B_200E_206A_200F_206D_206D_200B_202A_202E_206D_200C_200F_202B_200D_202C_200D_206F_202E_202D_202E_202C_206E_202A_202E_200F_206A_206C_200C_200F_206B_206F_200E_200E_200B_206C_200C_206D_202E(_targetManager, (IGameObject)null); + _202D_200B_206B_202B_200E_206A_200F_206D_206D_200B_202A_202E_206D_200C_200F_202B_200D_202C_200D_206F_202E_202D_202E_202C_206E_202A_202E_200F_206A_206C_200C_200F_206B_206F_200E_200E_200B_206C_200C_206D_202E(_targetManager, gameObject); + int num = ((_206D_202C_200F_200B_202C_200B_200B_206C_206C_206E_200F_202B_206F_200E_202B_200C_200B_200D_200F_206E_206D_206B_200F_202E_206C_202C_202C_202C_200E_206F_200F_200E_200B_206C_206D_206B_202D_202D_206A_202D_202E(gameObject) != Dalamud.Game.ClientState.Objects.Enums.ObjectKind.GatheringPoint) ? (-1441144196) : (-1441144194)); + long num7 = default(long); + while (true) { - return num > 0; + int num2 = num; + int num3 = -1441144195; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = -1441144194; + break; + case 0: + return false; + case 3: + TargetSystem.Instance()->OpenObjectInteraction((GameObject*)_206D_206E_202A_202A_202D_206B_200B_202D_200F_200B_206C_202D_200C_206C_206D_202A_202B_206B_206C_206B_206D_202B_202D_206F_206F_200C_200E_200E_200B_206C_206A_202A_206A_206C_206A_200C_200B_202D_202C_206A_202E(gameObject)); + _200B_200D_200E_202D_206C_202D_200D_202D_206F_200F_200C_206A_200F_202E_200D_200B_206F_200D_202C_202D_206E_206A_200C_202D_200E_200E_202B_200C_202D_206D_200E_206F_200E_202B_206C_200E_206C_206F_202D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1675557369), Array.Empty()); + return true; + case 1: + num7 = (long)TargetSystem.Instance()->InteractWithObject((GameObject*)_206D_206E_202A_202A_202D_206B_200B_202D_200F_200B_206C_202D_200C_206C_206D_202A_202B_206B_206C_206B_206D_202B_202D_206F_206F_200C_200E_200E_200B_206C_206A_202A_206A_206C_206A_200C_200B_202D_202C_206A_202E(gameObject), checkLineOfSight: false); + _200B_200D_200E_202D_206C_202D_200D_202D_206F_200F_200C_206A_200F_202E_200D_200B_206F_200D_202C_202D_206E_206A_200C_202D_200E_200E_202B_200C_202D_206D_200E_206F_200E_202B_206C_200E_206C_206F_202D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1317132666), new object[1] { num7 }); + num = ((num7 == 7) ? (-1441144195) : (-1441144193)); + break; + case 2: + return num7 > 0; + } } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe bool UseItem(uint itemId) { long num = AgentInventoryContext.Instance()->UseItem(itemId, InventoryType.Invalid, 0u, 0); - _logger.LogInformation("UseItem result: {Result}", num); + _200B_200D_200E_202D_206C_202D_200D_202D_206F_200F_200C_206A_200F_202E_200D_200B_206F_200D_202C_202D_206E_206A_200C_202D_200E_200E_202B_200C_202D_206D_200E_206F_200E_202B_206C_200E_206C_206F_202D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1085424213), new object[1] { num }); return num == 0; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe bool UseItem(uint dataId, uint itemId) { IGameObject gameObject = FindObjectByDataId(dataId); - if (gameObject != null) + int num = ((gameObject == null) ? (-1343850894) : (-1343850890)); + bool result = default(bool); + while (true) { - _targetManager.Target = gameObject; - long num = AgentInventoryContext.Instance()->UseItem(itemId, InventoryType.Invalid, 0u, 0); - _logger.LogInformation("UseItem result on {DataId}: {Result}", dataId, num); - if ((ulong)num <= 1uL) + int num2 = num; + int num3 = -1343850893; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - return true; + case 0: + result = true; + num = -1343850895; + break; + case 1: + return false; + case 4: + num = -1343850890; + break; + case 5: + { + _202D_200B_206B_202B_200E_206A_200F_206D_206D_200B_202A_202E_206D_200C_200F_202B_200D_202C_200D_206F_202E_202D_202E_202C_206E_202A_202E_200F_206A_206C_200C_200F_206B_206F_200E_200E_200B_206C_200C_206D_202E(_targetManager, gameObject); + long num5 = AgentInventoryContext.Instance()->UseItem(itemId, InventoryType.Invalid, 0u, 0); + _200B_200D_200E_202D_206C_202D_200D_202D_206F_200F_200C_206A_200F_202E_200D_200B_206F_200D_202C_202D_206E_206A_200C_202D_200E_200E_202B_200C_202D_206D_200E_206F_200E_202B_206C_200E_206C_206F_202D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1838451938), new object[2] { dataId, num5 }); + num = (((ulong)num5 > 1uL) ? (-1343850896) : (-1343850893)); + break; + } + case 2: + return result; + case 3: + result = false; + num = -1343850895; + break; } - return false; } - return false; } public unsafe bool UseItemOnGround(uint dataId, uint itemId) { IGameObject gameObject = FindObjectByDataId(dataId); - if (gameObject != null) + int num = ((gameObject == null) ? 888380852 : 888380855); + while (true) { - Vector3 position = gameObject.Position; - return ActionManager.Instance()->UseActionLocation(ActionType.EventItem, itemId, 3758096384uL, &position, 0u, 0); + int num2 = num; + int num3 = 888380853; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 2: + { + Vector3 vector = _202C_202A_200C_206D_200E_200F_206F_206C_202C_202E_200F_200C_200F_202B_200D_202C_206A_200C_200B_206A_206C_206C_206E_202E_206C_202B_206A_200C_206B_202E_202E_200F_200C_202D_200E_202E_206F_200E_200B_202E_202E(gameObject); + return ActionManager.Instance()->UseActionLocation(ActionType.EventItem, itemId, 3758096384uL, &vector, 0u, 0); + } + case 0: + goto IL_007a; + } + continue; + IL_007a: + num = 888380855; } - return false; } public unsafe bool UseItemOnPosition(Vector3 position, uint itemId) @@ -214,124 +422,188 @@ internal sealed class GameFunctions return ActionManager.Instance()->UseActionLocation(ActionType.EventItem, itemId, 3758096384uL, &position, 0u, 0); } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe bool UseAction(EAction action) { uint num = (uint)(action & (EAction)65535); - ActionType actionType = (((action & (EAction)65536) != (EAction)65536) ? ActionType.Action : ActionType.GeneralAction); - if (actionType == ActionType.Action) + int num2 = (((action & (EAction)65536) == (EAction)65536) ? 1130045637 : 1130045635); + ActionType actionType = default(ActionType); + while (true) { - num = ActionManager.Instance()->GetAdjustedActionId(num); + int num3 = num2; + int num4 = 1130045637; + int num5 = num3; + int num6; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + num = ActionManager.Instance()->GetAdjustedActionId(num); + num2 = 1130045632; + break; + case 3: + return false; + case 0: + num6 = 5; + goto IL_0084; + case 2: + num2 = 1130045635; + break; + case 4: + { + bool flag = ActionManager.Instance()->UseAction(actionType, num, 3758096384uL, 0u, ActionManager.UseActionMode.None, 0u, null); + _200B_200D_200E_202D_206C_202D_200D_202D_206F_200F_200C_206A_200F_202E_200D_200B_206F_200D_202C_202D_206E_206A_200C_202D_200E_200E_202B_200C_202D_206D_200E_206F_200E_202B_206C_200E_206C_206F_202D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1601213303), new object[3] { action, num, flag }); + return flag; + } + case 6: + num6 = 1; + goto IL_0084; + case 5: + { + num2 = ((ActionManager.Instance()->GetActionStatus(actionType, num, 3758096384uL, checkRecastActive: true, checkCastingActive: true, null) != 0) ? 1130045638 : 1130045633); + break; + } + IL_0084: + actionType = (ActionType)num6; + num2 = ((actionType != ActionType.Action) ? 1130045632 : 1130045636); + break; + } } - 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); - return flag; - } - return false; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe bool UseAction(IGameObject gameObject, EAction action, bool checkCanUse = true) { - uint actionId = (uint)(action & (EAction)65535); - ActionType actionType = (((action & (EAction)65536) != (EAction)65536) ? ActionType.Action : ActionType.GeneralAction); - if (actionType == ActionType.GeneralAction) + uint num = (uint)(action & (EAction)65535); + int num2 = (((action & (EAction)65536) == (EAction)65536) ? (-1758207256) : (-1758207250)); + bool flag = default(bool); + Lumina.Excel.Sheets.Action row = default(Lumina.Excel.Sheets.Action); + ActionType actionType = default(ActionType); + while (true) { - _logger.LogWarning("Can not use general action {Action} on target {Target}", action, gameObject); - return false; - } - actionId = ActionManager.Instance()->GetAdjustedActionId(actionId); - if (checkCanUse && !ActionManager.CanUseActionOnTarget(actionId, (GameObject*)gameObject.Address)) - { - _logger.LogWarning("Can not use action {Action} (adjusted: {AdjustedActionId}) on target {Target}", action, actionId, gameObject); - return false; - } - Lumina.Excel.Sheets.Action row = _dataManager.GetExcelSheet().GetRow(actionId); - _targetManager.Target = gameObject; - if (ActionManager.Instance()->GetActionStatus(actionType, actionId, gameObject.GameObjectId, checkRecastActive: true, checkCastingActive: true, null) == 0) - { - bool flag; - if (row.TargetArea) + int num3 = num2; + int num4 = -1758207249; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + int num8; + switch (num6 - (num7 + num7)) { - 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); - } - else + case 2: + return flag; + case 4: + _206A_206B_202A_200C_206A_200E_202D_206C_202A_200E_200B_206B_202B_202E_200D_200F_206F_206C_200E_200E_206E_200F_206F_200B_206B_200B_200F_202B_202E_202A_206C_206B_206D_206A_206F_202C_202C_206D_202C_200C_202E((ILogger)_logger, global::_003CModule_003E._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(2035975643), new object[3] { action, num, gameObject }); + return false; + case 1: + num8 = 1; + goto IL_0161; + case 8: + _206A_206B_202A_200C_206A_200E_202D_206C_202A_200E_200B_206B_202B_202E_200D_200F_206F_206C_200E_200E_206E_200F_206F_200B_206B_200B_200F_202B_202E_202A_206C_206B_206D_206A_206F_202C_202C_206D_202C_200C_202E((ILogger)_logger, global::_003CModule_003E._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(-124503162), new object[2] { action, gameObject }); + return false; + case 10: + num2 = -1758207250; + break; + case 0: + row = _dataManager.GetExcelSheet().GetRow(num); + _202D_200B_206B_202B_200E_206A_200F_206D_206D_200B_202A_202E_206D_200C_200F_202B_200D_202C_200D_206F_202E_202D_202E_202C_206E_202A_202E_200F_206A_206C_200C_200F_206B_206F_200E_200E_200B_206C_200C_206D_202E(_targetManager, gameObject); + num2 = ((ActionManager.Instance()->GetActionStatus(actionType, num, _202B_200D_202A_206F_202B_202E_206D_206D_202C_206E_202A_206E_200F_200F_202E_206B_202B_200C_200D_200D_206A_202C_206F_200B_202C_200B_202C_206E_202C_206B_200B_206E_206C_202E_202A_200F_200F_206C_202E_206D_202E(gameObject), checkRecastActive: true, checkCastingActive: true, null) != 0) ? (-1758207258) : (-1758207260)); + break; + case 7: + num8 = 5; + goto IL_0161; + case 6: + num2 = (ActionManager.CanUseActionOnTarget(num, (GameObject*)_206D_206E_202A_202A_202D_206B_200B_202D_200F_200B_206C_202D_200C_206C_206D_202A_202B_206B_206C_206B_206D_202B_202D_206F_206F_200C_200E_200E_200B_206C_206A_202A_206A_206C_206A_200C_200B_202D_202C_206A_202E(gameObject)) ? (-1758207249) : (-1758207253)); + break; + case 11: + num2 = ((!row.TargetArea) ? (-1758207261) : (-1758207252)); + break; + case 3: { - 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); + Vector3 vector = _202C_202A_200C_206D_200E_200F_206F_206C_202C_202E_200F_200C_200F_202B_200D_202C_206A_200C_200B_206A_206C_206C_206E_202E_206C_202B_206A_200C_206B_202E_202E_200F_200C_202D_200E_202E_206F_200E_200B_202E_202E(gameObject); + flag = ActionManager.Instance()->UseActionLocation(actionType, num, 3758096384uL, &vector, 0u, 0); + _200B_200D_200E_202D_206C_202D_200D_202D_206F_200F_200C_206A_200F_202E_200D_200B_206F_200D_202C_202D_206E_206A_200C_202D_200E_200E_202B_200C_202D_206D_200E_206F_200E_202B_206C_200E_206C_206F_202D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-652463398), new object[4] { action, num, gameObject, flag }); + num2 = -1758207251; + break; + } + case 12: + flag = ActionManager.Instance()->UseAction(actionType, num, _202B_200D_202A_206F_202B_202E_206D_206D_202C_206E_202A_206E_200F_200F_202E_206B_202B_200C_200D_200D_206A_202C_206F_200B_202C_200B_202C_206E_202C_206B_200B_206E_206C_202E_202A_200F_200F_206C_202E_206D_202E(gameObject), 0u, ActionManager.UseActionMode.None, 0u, null); + _200B_200D_200E_202D_206C_202D_200D_202D_206F_200F_200C_206A_200F_202E_200D_200B_206F_200D_202C_202D_206E_206A_200C_202D_200E_200E_202B_200C_202D_206D_200E_206F_200E_202B_206C_200E_206C_206F_202D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1081537317), new object[4] { action, num, gameObject, flag }); + num2 = -1758207251; + break; + case 5: + num = ActionManager.Instance()->GetAdjustedActionId(num); + num2 = ((!checkCanUse) ? (-1758207249) : (-1758207255)); + break; + case 9: + { + return false; + } + IL_0161: + actionType = (ActionType)num8; + num2 = ((actionType != ActionType.GeneralAction) ? (-1758207254) : (-1758207257)); + break; } - return flag; } - return false; } public bool IsObjectAtPosition(uint dataId, Vector3 position, float distance) { IGameObject gameObject = FindObjectByDataId(dataId); - if (gameObject != null) + int num = ((gameObject == null) ? 1252577697 : 1252577696); + while (true) { - return (gameObject.Position - position).Length() < distance; + int num2 = num; + int num3 = 1252577697; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0059; + case 0: + return false; + case 1: + return (_202C_202A_200C_206D_200E_200F_206F_206C_202C_202E_200F_200C_200F_202B_200D_202C_206A_200C_200B_206A_206C_206C_206E_202E_206C_202B_206A_200C_206B_202E_202E_200F_200C_202D_200E_202E_206F_200E_200B_202E_202E(gameObject) - position).Length() < distance; + } + continue; + IL_0059: + num = 1252577696; } - 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 _200B_200E_206E_206D_206B_206F_202B_202D_202B_206B_206F_200F_200F_202C_202A_202B_200C_202B_206A_202A_206F_200C_206E_202B_200F_200F_202D_202A_202B_206A_206A_200C_200B_202B_202A_200B_202B_206A_200E_200C_202E(_gameState); } 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 _206A_202B_200C_200E_202E_200B_206D_202E_202E_200C_206D_206E_206E_200B_206B_206B_206B_206B_202C_206D_206D_202C_202A_200C_206B_202E_202A_200C_206B_200B_200C_206B_206E_206F_202E_206B_200F_202A_206E_206F_202E(_gameState); } public unsafe bool HasStatus(EStatus statusId) { - IPlayerCharacter localPlayer = _objectTable.LocalPlayer; - if (localPlayer == null) + IPlayerCharacter playerCharacter = _206F_202A_200F_202E_206C_200E_202B_200E_200E_206E_200F_200D_202D_202B_200C_202D_206F_206D_200B_200E_206F_206F_206F_206E_206C_202C_200D_206C_202B_206E_200C_202A_200E_202E_202D_200D_202B_202C_206C_202A_202E(_objectTable); + int num = ((playerCharacter != null) ? 1203210310 : 1203210309); + while (true) { - return false; + int num2 = num; + int num3 = 1203210308; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0050; + case 2: + { + BattleChara* ptr = (BattleChara*)_206D_206E_202A_202A_202D_206B_200B_202D_200F_200B_206C_202D_200C_206C_206D_202A_202B_206B_206C_206B_206D_202B_202D_206F_206F_200C_200E_200E_200B_206C_206A_202A_206A_206C_206A_200C_200B_202D_202C_206A_202E((IGameObject)playerCharacter); + return ptr->GetStatusManager()->HasStatus((uint)statusId); + } + case 1: + return false; + } + continue; + IL_0050: + num = 1203210309; } - BattleChara* address = (BattleChara*)localPlayer.Address; - return address->GetStatusManager()->HasStatus((uint)statusId); } public static bool RemoveStatus(EStatus statusId) @@ -339,186 +611,259 @@ 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 _202D_200F_200F_200C_206B_206A_206B_206E_206E_206E_202A_202A_206A_200B_202D_206C_200B_200F_202E_206C_202B_200E_200D_200D_202C_206D_206D_206E_200B_202A_206C_206E_206C_202D_200B_206F_206F_200E_202C_200E_202E(_gameState, _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 _206B_200F_206B_206E_202C_202A_200B_200B_206F_202C_200B_200E_202D_200C_206E_202D_206D_200C_200B_206A_206F_200F_206E_200B_206A_206B_202E_202B_202E_200D_202B_200F_202D_202E_206A_206A_200E_200B_200D_206C_202E(_gameState); } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void OpenDutyFinder(uint contentFinderConditionId) { - if (_contentFinderConditionToContentId.TryGetValue(contentFinderConditionId, out var value)) + uint value; + int num = ((!_contentFinderConditionToContentId.TryGetValue(contentFinderConditionId, out value)) ? (-161194421) : (-161194419)); + while (true) { - if (UIState.IsInstanceContentUnlocked(value)) + int num2 = num; + int num3 = -161194417; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 3: + _206B_202A_200C_202E_200E_206B_200B_206A_200B_206D_202E_202C_202D_206C_206C_206A_200F_206B_202C_200D_202D_202B_206D_206F_206C_202D_206E_200E_202B_200E_200D_202B_206A_206E_200D_200D_206D_200B_206B_200D_202E((ILogger)_logger, global::_003CModule_003E._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(925011176), new object[2] { contentFinderConditionId, value }); + return; + case 2: + num = ((!UIState.IsInstanceContentUnlocked(value)) ? (-161194420) : (-161194418)); + break; + case 4: + _206B_202A_200C_202E_200E_206B_200B_206A_200B_206D_202E_202C_202D_206C_206C_206A_200F_206B_202C_200D_202D_202B_206D_206F_206C_202D_206E_200E_202B_200E_200D_202B_206A_206E_200D_200D_206D_200B_206B_200D_202E((ILogger)_logger, global::_003CModule_003E._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(1235394690), new object[1] { contentFinderConditionId }); + return; + case 1: AgentContentsFinder.Instance()->OpenRegularDuty(contentFinderConditionId); return; + case 0: + num = -161194419; + break; } - _logger.LogError("Trying to access a locked duty (cf: {ContentFinderId}, content: {ContentId})", contentFinderConditionId, value); - } - else - { - _logger.LogError("Could not find content for content finder condition (cf: {ContentFinderId})", contentFinderConditionId); } } public static bool GameStringEquals(string? a, string? b) { - if (a == null) + int num = ((a != null) ? 728092045 : 728092040); + while (true) { - return b == null; + int num2 = num; + int num3 = 728092041; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + return false; + case 4: + num = ((b != null) ? 728092044 : 728092047); + break; + case 3: + return true; + case 0: + num = 728092040; + break; + case 2: + return _206D_202C_202B_200C_200C_206C_206D_206B_202D_202C_200C_206D_200F_202C_200B_200B_200D_206E_206A_206A_200F_200E_206D_206E_200B_200E_202D_206D_202C_202E_206F_200D_200E_206F_206D_206B_200D_202E_202D_206B_202E(NormalizeGameString(a), NormalizeGameString(b)); + case 5: + num = ((!_206D_202C_202B_200C_200C_206C_206D_206B_202D_202C_200C_206D_200F_202C_200B_200B_200D_206E_206A_206A_200F_200E_206D_206E_200B_200E_202D_206D_202C_202E_206F_200D_200E_206F_206D_206B_200D_202E_202D_206B_202E(a, b)) ? 728092043 : 728092042); + break; + case 1: + return b == null; + } } - if (b == null) + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static string NormalizeGameString(string value) + { + int num = ((!_206B_206A_206F_202E_206F_206F_206D_200C_200E_200B_200D_200E_200E_206E_206F_200E_206A_202A_202A_206A_202D_200D_206A_202B_200B_202B_200D_206E_202D_200E_200C_200C_200D_206E_206E_200E_202A_206A_202C_206E_202E(value, '<', StringComparison.Ordinal)) ? (-1423448910) : (-1423448911)); + while (true) { - return false; + int num2 = num; + int num3 = -1423448912; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1423448911; + break; + case 2: + return _200F_200E_206B_200D_200C_206E_200F_200E_202A_200D_206A_202D_200F_206F_200B_200C_200E_200B_206C_206B_206D_202E_200E_206A_206B_200E_202D_202A_200D_206B_202B_200C_202A_206E_200E_200C_206F_206E_202D_206A_202E(_200C_206D_202C_202A_202E_202D_206D_206D_202E_202E_206B_206E_206E_200C_200F_202E_202A_202A_206C_206F_206D_200F_206A_206D_206C_200B_202A_200C_202A_202C_206F_206F_200D_200D_206B_206F_206F_202B_202B_206D_202E(_200B_202D_206D_200B_206E_202A_200D_206B_202E_206A_202A_200D_202D_202D_206A_202C_206E_206E_200B_206F_202C_200B_206C_206F_200F_200D_206A_200D_200D_200D_202B_202A_206D_200F_200F_202C_206C_206F_200C_206A_202E(_206B_200F_200D_200E_202C_200F_200C_202D_200B_206C_202C_206E_206B_200F_200F_200C_206E_202E_206E_200E_206D_200C_206C_202E_202E_202B_206E_202E_206A_200E_202B_206A_206A_200D_200E_202A_206F_200C_202C_200E_202E(value), '–', '-'), global::_003CModule_003E._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(1413166639), global::_003CModule_003E._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(-87324410), StringComparison.Ordinal)); + case 1: + value = _200D_200F_206C_200E_206F_200B_206E_206B_206E_206A_206A_200E_202D_202D_206B_206F_200C_206A_202B_202E_200C_202B_202B_206C_200F_200F_202C_206E_202D_206B_206A_206D_206A_202E_200E_206F_206F_200E_200D_202D_202E(MacroLiteralRegex, value, string.Empty); + num = -1423448910; + break; + } } - return a.ReplaceLineEndings().Replace('–', '-') == b.ReplaceLineEndings().Replace('–', '-'); } public unsafe bool IsOccupied() { - if (!_clientState.IsLoggedIn || _objectTable.LocalPlayer == null) + int num = ((!_200F_206B_202B_200C_206A_206E_200F_200D_200C_200C_200E_202D_200F_200E_200D_202E_202C_200F_206D_200C_200D_200F_202E_200F_200B_202B_202C_200B_202C_200C_202B_200B_202E_200D_200E_200D_200F_202D_206A_200D_202E(_clientState)) ? 1381723980 : 1381723991); + while (true) { - return true; - } - if (IsLoadingScreenVisible()) - { - return true; - } - if (_condition[ConditionFlag.Crafting]) - { - if (!AgentRecipeNote.Instance()->IsAgentActive()) + int num2 = num; + int num3 = 1381723978; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 16: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.Occupied33) ? 1381723979 : 1381723977); + break; + case 23: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.PreparingToCraft) ? 1381723970 : 1381723985); + break; + case 29: + num = ((_206F_202A_200F_202E_206C_200E_202B_200E_200E_206E_200F_200D_202D_202B_200C_202D_206F_206D_200B_200E_206F_206F_206F_206E_206C_202C_200D_206C_202B_206E_200C_202A_200E_202E_202D_200D_202B_202C_206C_202A_202E(_objectTable) != null) ? 1381723969 : 1381723980); + break; + case 2: + num = (AgentRecipeNote.Instance()->IsAgentActive() ? 1381723997 : 1381723983); + break; + case 7: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.Occupied39) ? 1381723979 : 1381723986); + break; + case 21: + return _206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.Jumping); + case 27: return true; - } - if (!_condition[ConditionFlag.PreparingToCraft]) - { + case 11: + num = ((!IsLoadingScreenVisible()) ? 1381723972 : 1381723993); + break; + case 15: + num = ((!_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.SufferingStatusAffliction63)) ? 1381723968 : 1381723995); + break; + case 18: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.BetweenAreas51) ? 1381723979 : 1381723998); + break; + case 1: return true; + case 6: + return true; + case 20: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.Jumping61) ? 1381723979 : 1381723971); + break; + case 5: + return true; + case 25: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.BetweenAreas) ? 1381723979 : 1381723992); + break; + case 17: + num = ((_206B_202D_206E_206A_202C_200F_202B_202E_206A_206C_206D_200E_206E_202D_206B_202C_206C_200E_200C_200F_206A_200F_200B_206D_202E_206E_200D_202B_206E_206C_206F_200E_202B_202E_202C_202C_206C_206A_200C_206D_202E(_clientState) != 1052) ? 1381723968 : 1381723974); + break; + case 9: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.ExecutingGatheringAction) ? 1381723979 : 1381723999); + break; + case 13: + num = 1381723991; + break; + case 4: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.Occupied30) ? 1381723979 : 1381723994); + break; + case 28: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.OccupiedInCutSceneEvent) ? 1381723979 : 1381723984); + break; + case 12: + return false; + case 0: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.OccupiedInQuestEvent) ? 1381723979 : 1381723990); + break; + case 24: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.OccupiedInEvent) ? 1381723979 : 1381723978); + break; + case 3: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.Occupied38) ? 1381723979 : 1381723981); + break; + case 19: + return true; + case 26: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.Casting) ? 1381723979 : 1381723996); + break; + case 14: + num = ((!_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.Crafting)) ? 1381723970 : 1381723976); + break; + case 10: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.Occupied) ? 1381723979 : 1381723982); + break; + case 22: + num = (_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.MountOrOrnamentTransition) ? 1381723979 : 1381723987); + break; + case 8: + num = ((!_206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(_condition, ConditionFlag.Unconscious)) ? 1381723968 : 1381723973); + break; } } - if (_condition[ConditionFlag.Unconscious] && _condition[ConditionFlag.SufferingStatusAffliction63] && _clientState.TerritoryType == 1052) - { - return false; - } - if (!_condition[ConditionFlag.Occupied] && !_condition[ConditionFlag.Occupied30] && !_condition[ConditionFlag.Occupied33] && !_condition[ConditionFlag.Occupied38] && !_condition[ConditionFlag.Occupied39] && !_condition[ConditionFlag.OccupiedInEvent] && !_condition[ConditionFlag.OccupiedInQuestEvent] && !_condition[ConditionFlag.OccupiedInCutSceneEvent] && !_condition[ConditionFlag.Casting] && !_condition[ConditionFlag.MountOrOrnamentTransition] && !_condition[ConditionFlag.BetweenAreas] && !_condition[ConditionFlag.BetweenAreas51] && !_condition[ConditionFlag.Jumping61] && !_condition[ConditionFlag.ExecutingGatheringAction]) - { - return _condition[ConditionFlag.Jumping]; - } - return true; } public unsafe bool IsOccupiedWithCustomDeliveryNpc(Questionable.Model.Quest? currentQuest) { - if (currentQuest == null || !(currentQuest.Info is SatisfactionSupplyInfo)) + int num = ((currentQuest == null) ? 1849968251 : 1849968246); + HashSet hashSet = default(HashSet); + while (true) { - 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; - } - - 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; - } - - 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) + int num2 = num; + int num3 = 1849968241; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - continue; - } - for (int i = 0; i < inventoryContainer->Size; i++) - { - InventoryItem* inventorySlot = inventoryContainer->GetInventorySlot(i); - if (inventorySlot == null || inventorySlot->ItemId == 0) - { - num++; - } + case 4: + num = 1849968246; + break; + case 2: + num = ((_202E_200B_202C_206E_206F_206E_202E_206A_202B_206E_200E_206C_200D_206E_202B_206F_206E_200B_200B_200D_206B_206C_200D_202A_206B_206E_206D_200C_200F_206F_200E_206C_202E_206F_202E_206C_206A_206B_206A_202E_202E(_targetManager) == null) ? 1849968249 : 1849968244); + break; + case 5: + num = ((_202A_200F_200B_206E_206D_202B_206E_206B_200C_202D_202B_200E_206A_202D_206F_200F_202C_202E_206C_202B_202E_200E_202E_202C_200D_200C_200D_202C_206F_200F_202C_202E_202B_202E_206B_206F_206B_206E_206F_200D_202E(_202E_200B_202C_206E_206F_206E_202E_206A_202B_206E_200E_206C_200D_206E_202B_206F_206E_200B_200B_200D_206B_206C_200D_202A_206B_206E_206D_200C_200F_206F_200E_206C_202E_206F_202E_206C_206A_206B_206A_202E_202E(_targetManager)) == currentQuest.Info.IssuerDataId) ? 1849968248 : 1849968249); + break; + case 3: + hashSet = _206D_200F_200C_206F_206B_202A_206E_200D_206F_200E_200D_200D_206C_200E_200D_206D_200D_206B_200E_202D_202A_200E_200D_200F_202D_202C_200F_200C_206B_202E_200E_206A_202D_200B_200F_206B_202C_200E_200F_202C_202E(_condition).ToHashSet(); + hashSet.Remove(ConditionFlag.InDutyQueue); + num = ((hashSet.Count != 2) ? 1849968247 : 1849968240); + break; + case 6: + return false; + case 0: + return hashSet.Contains(ConditionFlag.OccupiedInQuestEvent); + case 1: + num = ((!hashSet.Contains(ConditionFlag.NormalConditions)) ? 1849968247 : 1849968241); + break; + case 9: + num = (AgentSatisfactionSupply.Instance()->IsAgentActive() ? 1849968242 : 1849968250); + break; + case 11: + return false; + case 10: + return false; + case 7: + num = ((currentQuest.Info is SatisfactionSupplyInfo) ? 1849968243 : 1849968251); + break; + case 8: + return false; } } - return num; + } + + public bool IsLoadingScreenVisible() + { + return _206B_200B_202E_200C_206E_202E_202A_200B_206D_206C_206C_200F_200D_206B_206F_202B_202E_200E_200E_206F_206B_202B_202A_206E_206A_206D_202D_202D_200F_200B_202B_202D_202E_202A_202B_200F_200B_206D_202D_200D_202E(_gameState); + } + + public int GetFreeInventorySlots() + { + return _202C_200E_202E_206E_206D_206C_206B_202B_200B_202D_206D_206F_200B_200F_202D_206A_206D_202E_200B_202D_200C_206F_200B_202A_200B_206D_200F_200D_202A_206F_202D_206E_202E_200D_206F_200B_206B_206C_202A_206E_202E(_gameState).GetValueOrDefault(); } public void AbandonDuty() @@ -526,116 +871,372 @@ internal sealed class GameFunctions _abandonDuty(a1: false); } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe IReadOnlyList GetUnlockLinks() { UIState* ptr = UIState.Instance(); - if (ptr == null) + int num = ((ptr != null) ? (-1353490127) : (-1353490121)); + uint num8 = default(uint); + List list = default(List); + while (true) { - _logger.LogError("Could not query unlock links"); - return Array.Empty(); - } - List list = new List(); - for (uint num = 0u; num < ptr->UnlockLinksBitArray.ByteLength * 8; num++) - { - if (ptr->IsUnlockLinkUnlocked(num)) + int num2 = num; + int num3 = -1353490124; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - list.Add(num); + case 4: + num = ((!ptr->IsUnlockLinkUnlocked(num8)) ? (-1353490125) : (-1353490126)); + break; + case 6: + list.Add(num8); + num = -1353490125; + break; + case 5: + list = new List(); + num8 = 0u; + num = -1353490123; + break; + case 0: + num = -1353490121; + break; + case 3: + _206B_202A_200C_202E_200E_206B_200B_206A_200B_206D_202E_202C_202D_206C_206C_206A_200F_206B_202C_200D_202D_202B_206D_206F_206C_202D_206E_200E_202B_200E_200D_202B_206A_206E_200D_200D_206D_200B_206B_200D_202E((ILogger)_logger, global::_003CModule_003E._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(221322502), Array.Empty()); + return Array.Empty(); + case 2: + _200B_200D_200E_202D_206C_202D_200D_202D_206F_200F_200C_206A_200F_202E_200D_200B_206F_200D_202C_202D_206E_206A_200C_202D_200E_200E_202B_200C_202D_206D_200E_206F_200E_202B_206C_200E_206C_206F_202D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(430632350), new object[1] { string.Join(global::_003CModule_003E._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(1087086507), list) }); + return list; + case 1: + num = ((num8 < ptr->UnlockLinksBitArray.ByteLength * 8) ? (-1353490128) : (-1353490122)); + break; + case 7: + { + uint num7 = num8; + num3 = 1; + num4 = (int)num7; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num8 = (uint)(num9 + (num10 + num10)); + num = -1353490123; + break; + } } } - _logger.LogInformation("Unlocked unlock links: {UnlockedUnlockLinks}", string.Join(", ", list)); - return list; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe bool SyncToFate(uint fateId) { - IPlayerCharacter localPlayer = _objectTable.LocalPlayer; - if (localPlayer == null) + IPlayerCharacter playerCharacter = _206F_202A_200F_202E_206C_200E_202B_200E_200E_206E_200F_200D_202D_202B_200C_202D_206F_206D_200B_200E_206F_206F_206F_206E_206C_202C_200D_206C_202B_206E_200C_202A_200E_202E_202D_200D_202B_202C_206C_202A_202E(_objectTable); + int num = ((playerCharacter != null) ? (-1314333021) : (-1314333022)); + FateManager* ptr = default(FateManager*); + FateContext* currentFate = default(FateContext*); + byte maxLevel = default(byte); + while (true) { - _logger.LogWarning("Cannot sync to FATE: LocalPlayer is null"); - return false; - } - FateManager* ptr = FateManager.Instance(); - if (ptr == null || ptr->CurrentFate == null) - { - return false; - } - FateContext* currentFate = ptr->CurrentFate; - byte maxLevel = currentFate->MaxLevel; - if (localPlayer.Level <= maxLevel) - { - return true; - } - try - { - _logger.LogInformation("Syncing to FATE {FateId} (max level {MaxLevel})", currentFate->FateId, maxLevel); - ExecuteCommand("/lsync"); - return true; - } - catch (Exception exception) - { - _logger.LogError(exception, "Failed to sync to FATE {FateId}", fateId); - return false; + int num2 = num; + int num3 = -1314333023; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + ptr = FateManager.Instance(); + num = ((ptr == null) ? (-1314333018) : (-1314333024)); + break; + case 0: + currentFate = ptr->CurrentFate; + maxLevel = currentFate->MaxLevel; + num = ((_206C_206D_200D_206A_206C_202D_206E_202A_200B_206E_200C_200F_200D_200B_202C_206B_206E_202B_200D_206A_200D_202A_202E_206B_206F_200D_206C_206B_200E_202C_202A_200B_206A_206D_202D_206B_202C_206F_206F_200E_202E((ICharacter)playerCharacter) > maxLevel) ? (-1314333019) : (-1314333017)); + break; + case 7: + return false; + case 3: + _206A_206B_202A_200C_206A_200E_202D_206C_202A_200E_200B_206B_202B_202E_200D_200F_206F_206C_200E_200E_206E_200F_206F_200B_206B_200B_200F_202B_202E_202A_206C_206B_206D_206A_206F_202C_202C_206D_202C_200C_202E((ILogger)_logger, global::_003CModule_003E._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(-1286612770), Array.Empty()); + return false; + case 5: + num = -1314333022; + break; + case 6: + return true; + case 1: + num = ((ptr->CurrentFate != null) ? (-1314333023) : (-1314333018)); + break; + case 4: + try + { + _200B_200D_200E_202D_206C_202D_200D_202D_206F_200F_200C_206A_200F_202E_200D_200B_206F_200D_202C_202D_206E_206A_200C_202D_200E_200E_202B_200C_202D_206D_200E_206F_200E_202B_206C_200E_206C_206F_202D_206F_202E((ILogger)_logger, global::_003CModule_003E._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(1871009359), new object[2] + { + currentFate->FateId, + maxLevel + }); + ExecuteCommand(global::_003CModule_003E._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(19767302)); + return true; + } + catch (Exception ex) + { + _206A_202D_200F_200E_206D_202C_206C_202A_206B_200B_206B_206E_206A_202C_202C_202C_200B_206E_202C_206E_206C_202E_202B_206C_202B_200C_206D_206E_200D_206D_206E_200C_206E_202C_206D_206F_200F_202C_200D_202E_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-440333270), new object[1] { fateId }); + return false; + } + } } } - public unsafe ushort GetCurrentFateId() + public ushort GetCurrentFateId() { - FateManager* ptr = FateManager.Instance(); - if (ptr == null || ptr->CurrentFate == null) + PublicEvent? publicEvent = _200F_202A_206F_206A_200D_206C_206B_206C_200E_206A_206A_206A_200D_202E_206F_200C_202D_202B_202C_206E_206E_200D_202C_200F_202E_206A_200D_206A_206A_200D_206D_202B_206B_202B_200F_206A_202E_206E_202C_202E_202E(_publicEventHelper); + int num = ((!publicEvent.HasValue) ? (-1016300898) : (-1016300900)); + PublicEvent valueOrDefault = default(PublicEvent); + while (true) { - return 0; + int num2 = num; + int num3 = -1016300899; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1016300900; + break; + case 2: + return (ushort)valueOrDefault.Id; + case 1: + valueOrDefault = publicEvent.GetValueOrDefault(); + num = ((valueOrDefault.Type == EPublicEventType.Fate) ? (-1016300897) : (-1016300898)); + break; + case 3: + return 0; + } } - return ptr->CurrentFate->FateId; } - 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 _200B_206A_200D_200E_206C_200B_206F_206F_200E_206E_206C_200B_206D_206D_202A_206D_206D_206C_202E_206F_202B_200B_206E_206B_200B_206B_202B_200E_206C_202E_202A_202A_206E_206C_206F_200B_206C_202C_206F_200F_202E(_publicEventHelper, fateId); } public uint GetItemLevel(uint itemId) { - return (_dataManager.GetExcelSheet()?.GetRowOrDefault(itemId))?.LevelItem.RowId ?? 0; + return _202D_206D_206F_200E_200E_200C_206F_200B_202C_206B_206B_202E_202B_206C_206D_206C_200F_206C_202D_200E_200E_206C_200E_202A_200C_200F_200F_200C_200F_200F_206E_200B_206B_206F_206A_206E_200D_206B_200F_202B_202E(_gameState, 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); - } + _200C_202E_202E_206B_206B_206A_200E_200C_202C_202A_202D_200D_206E_200E_200E_200B_206D_206A_206E_202A_202A_200F_202C_206A_202C_202C_200E_206A_206E_202C_200F_200E_206B_206B_206E_206D_202E_200D_200B_206E_202E(command); + } + + static QuestId _202A_206D_206C_206A_202C_202C_202B_206E_206D_202C_200F_202D_200D_202E_200B_200C_202D_202B_202A_206B_202A_202D_206E_206A_202C_200F_206A_200C_200B_206E_200F_200C_200C_206D_200F_200E_206B_206A_200B_202C_202E(ushort P_0) + { + return new QuestId(P_0); + } + + static bool _206E_206C_206C_202C_202C_206C_206F_206B_200D_206B_206E_206F_202D_202C_206E_202A_202D_206E_202B_202E_200E_200F_206F_202E_206D_206D_206D_202C_206A_206D_206F_200B_200F_206B_200F_202D_200B_200C_202E_200C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static bool _202B_202C_206D_206E_200C_206D_206C_206E_200E_206F_206F_206C_202A_202B_202E_202D_206B_202C_206F_200C_200F_206A_202B_206E_206D_206C_202A_202B_206C_202A_206B_206E_206A_206E_200F_200C_206E_200E_202C_200C_202E(GameStateHelper P_0, uint P_1) + { + return P_0.IsFlyingUnlocked(P_1); + } + + static ushort? _200B_200E_206F_202A_202E_200E_200C_206E_206A_206A_206A_206F_200B_206C_202B_200C_206B_202C_200E_200B_202E_206A_202E_202E_202D_206A_202A_200D_206C_206D_206C_200D_200C_206D_206A_200E_206F_206C_202D_206A_202E(GameStateHelper P_0) + { + return P_0.GetMountId(); + } + + static uint _206B_202D_206E_206A_202C_200F_202B_202E_206A_206C_206D_200E_206E_202D_206B_202C_206C_200E_200C_200F_206A_200F_200B_206D_202E_206E_200D_202B_206E_206C_206F_200E_202B_202E_202C_202C_206C_206A_200C_206D_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static bool _202C_206E_206E_200D_206D_202A_200B_202A_200E_200C_206E_206A_202E_200B_202E_202E_200B_206B_202C_202A_202B_206F_202A_206D_206C_200F_202E_200D_202A_200D_206B_206D_206A_200B_206C_206D_206E_206A_206E_206B_202E(uint P_0) + { + return PlayerStateHelper.IsAetherCurrentUnlocked(P_0); + } + + static IGameObject _200E_200B_206B_202E_202B_200C_206D_206D_200E_200B_200F_206C_206C_202D_202D_200C_200B_200E_206A_200C_202D_206A_206F_200D_200D_200C_206C_206E_202D_202E_200C_200D_202A_206E_202D_200F_200E_206F_206E_200C_202E(IObjectTable P_0, int P_1) + { + return P_0[P_1]; + } + + static Dalamud.Game.ClientState.Objects.Enums.ObjectKind _206D_202C_200F_200B_202C_200B_200B_206C_206C_206E_200F_202B_206F_200E_202B_200C_200B_200D_200F_206E_206D_206B_200F_202E_206C_202C_202C_202C_200E_206F_200F_200E_200B_206C_206D_206B_202D_202D_206A_202D_202E(IGameObject P_0) + { + return P_0.ObjectKind; + } + + static bool _200F_200C_202B_200D_206D_200F_200F_200F_206A_202E_200F_202A_206B_200F_200B_200D_206C_202C_206A_206E_206A_202C_206F_206B_202E_200F_206D_202D_206D_200D_200C_206A_202D_206F_202D_200D_206D_206D_202C_206A_202E(IGameObject P_0) + { + return P_0.IsTargetable; + } + + static uint _202A_200F_200B_206E_206D_202B_206E_206B_200C_202D_202B_200E_206A_202D_206F_200F_202C_202E_206C_202B_202E_200E_202E_202C_200D_200C_200D_202C_206F_200F_202C_202E_202B_202E_206B_206F_206B_206E_206F_200D_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static int _202D_206E_206D_200C_200E_200F_200D_200C_200C_202B_206F_202B_202C_206F_206B_200C_202C_202C_206A_206D_202C_206C_200D_200C_200F_202D_200E_206D_202B_202B_200F_202B_206F_202E_202E_206E_202A_206A_206C_206F_202E(IObjectTable P_0) + { + return P_0.Length; + } + + static void _206A_206B_202A_200C_206A_200E_202D_206C_202A_200E_200B_206B_202B_202E_200D_200F_206F_206C_200E_200E_206E_200F_206F_200B_206B_200B_200F_202B_202E_202A_206C_206B_206D_206A_206F_202C_202C_206D_202C_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _200B_200D_200E_202D_206C_202D_200D_202D_206F_200F_200C_206A_200F_202E_200D_200B_206F_200D_202C_202D_206E_206A_200C_202D_200E_200E_202B_200C_202D_206D_200E_206F_200E_202B_206C_200E_206C_206F_202D_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static uint _200E_206F_200B_200E_206D_206D_200E_202E_200B_200F_206D_202E_202C_202E_202C_202A_206F_200F_206C_200D_206E_206B_206B_206D_202B_202C_200B_202E_200C_202B_206A_202E_202C_202A_206A_206A_202E_206C_200D_200E_202E(IGameObject P_0) + { + return P_0.EntityId; + } + + static void _202D_200B_206B_202B_200E_206A_200F_206D_206D_200B_202A_202E_206D_200C_200F_202B_200D_202C_200D_206F_202E_202D_202E_202C_206E_202A_202E_200F_206A_206C_200C_200F_206B_206F_200E_200E_200B_206C_200C_206D_202E(ITargetManager P_0, IGameObject P_1) + { + P_0.Target = P_1; + } + + static nint _206D_206E_202A_202A_202D_206B_200B_202D_200F_200B_206C_202D_200C_206C_206D_202A_202B_206B_206C_206B_206D_202B_202D_206F_206F_200C_200E_200E_200B_206C_206A_202A_206A_206C_206A_200C_200B_202D_202C_206A_202E(IGameObject P_0) + { + return P_0.Address; + } + + static Vector3 _202C_202A_200C_206D_200E_200F_206F_206C_202C_202E_200F_200C_200F_202B_200D_202C_206A_200C_200B_206A_206C_206C_206E_202E_206C_202B_206A_200C_206B_202E_202E_200F_200C_202D_200E_202E_206F_200E_200B_202E_202E(IGameObject P_0) + { + return P_0.Position; + } + + static ulong _202B_200D_202A_206F_202B_202E_206D_206D_202C_206E_202A_206E_200F_200F_202E_206B_202B_200C_200D_200D_206A_202C_206F_200B_202C_200B_202C_206E_202C_206B_200B_206E_206C_202E_202A_200F_200F_206C_202E_206D_202E(IGameObject P_0) + { + return P_0.GameObjectId; + } + + static bool _200B_200E_206E_206D_206B_206F_202B_202D_202B_206B_206F_200F_200F_202C_202A_202B_200C_202B_206A_202A_206F_200C_206E_202B_200F_200F_202D_202A_202B_206A_206A_200C_200B_202B_202A_200B_202B_206A_200E_200C_202E(GameStateHelper P_0) + { + return P_0.HasStatusPreventingMount(); + } + + static bool _206A_202B_200C_200E_202E_200B_206D_202E_202E_200C_206D_206E_206E_200B_206B_206B_206B_206B_202C_206D_206D_202C_202A_200C_206B_202E_202A_200C_206B_200B_200C_206B_206E_206F_202E_206B_200F_202A_206E_206F_202E(GameStateHelper P_0) + { + return P_0.HasStatusPreventingSprint(); + } + + static IPlayerCharacter _206F_202A_200F_202E_206C_200E_202B_200E_200E_206E_200F_200D_202D_202B_200C_202D_206F_206D_200B_200E_206F_206F_206F_206E_206C_202C_200D_206C_202B_206E_200C_202A_200E_202E_202D_200D_202B_202C_206C_202A_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static bool _202D_200F_200F_200C_206B_206A_206B_206E_206E_206E_202A_202A_206A_200B_202D_206C_200B_200F_202E_206C_202B_200E_200D_200D_202C_206D_206D_206E_200B_202A_206C_206E_206C_202D_200B_206F_206F_200E_202C_200E_202E(GameStateHelper P_0, uint P_1) + { + return P_0.Mount(P_1); + } + + static bool _206B_200F_206B_206E_202C_202A_200B_200B_206F_202C_200B_200E_202D_200C_206E_202D_206D_200C_200B_206A_206F_200F_206E_200B_206A_206B_202E_202B_202E_200D_202B_200F_202D_202E_206A_206A_200E_200B_200D_206C_202E(GameStateHelper P_0) + { + return P_0.Unmount(); + } + + static void _206B_202A_200C_202E_200E_206B_200B_206A_200B_206D_202E_202C_202D_206C_206C_206A_200F_206B_202C_200D_202D_202B_206D_206F_206C_202D_206E_200E_202B_200E_200D_202B_206A_206E_200D_200D_206D_200B_206B_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogError(P_1, P_2); + } + + static bool _206D_202C_202B_200C_200C_206C_206D_206B_202D_202C_200C_206D_200F_202C_200B_200B_200D_206E_206A_206A_200F_200E_206D_206E_200B_200E_202D_206D_202C_202E_206F_200D_200E_206F_206D_206B_200D_202E_202D_206B_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static bool _206B_206A_206F_202E_206F_206F_206D_200C_200E_200B_200D_200E_200E_206E_206F_200E_206A_202A_202A_206A_202D_200D_206A_202B_200B_202B_200D_206E_202D_200E_200C_200C_200D_206E_206E_200E_202A_206A_202C_206E_202E(string P_0, char P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static string _200D_200F_206C_200E_206F_200B_206E_206B_206E_206A_206A_200E_202D_202D_206B_206F_200C_206A_202B_202E_200C_202B_202B_206C_200F_200F_202C_206E_202D_206B_206A_206D_206A_202E_200E_206F_206F_200E_200D_202D_202E(Regex P_0, string P_1, string P_2) + { + return P_0.Replace(P_1, P_2); + } + + static string _206B_200F_200D_200E_202C_200F_200C_202D_200B_206C_202C_206E_206B_200F_200F_200C_206E_202E_206E_200E_206D_200C_206C_202E_202E_202B_206E_202E_206A_200E_202B_206A_206A_200D_200E_202A_206F_200C_202C_200E_202E(string P_0) + { + return P_0.ReplaceLineEndings(); + } + + static string _200B_202D_206D_200B_206E_202A_200D_206B_202E_206A_202A_200D_202D_202D_206A_202C_206E_206E_200B_206F_202C_200B_206C_206F_200F_200D_206A_200D_200D_200D_202B_202A_206D_200F_200F_202C_206C_206F_200C_206A_202E(string P_0, char P_1, char P_2) + { + return P_0.Replace(P_1, P_2); + } + + static string _200C_206D_202C_202A_202E_202D_206D_206D_202E_202E_206B_206E_206E_200C_200F_202E_202A_202A_206C_206F_206D_200F_206A_206D_206C_200B_202A_200C_202A_202C_206F_206F_200D_200D_206B_206F_206F_202B_202B_206D_202E(string P_0, string P_1, string P_2, StringComparison P_3) + { + return P_0.Replace(P_1, P_2, P_3); + } + + static string _200F_200E_206B_200D_200C_206E_200F_200E_202A_200D_206A_202D_200F_206F_200B_200C_200E_200B_206C_206B_206D_202E_200E_206A_206B_200E_202D_202A_200D_206B_202B_200C_202A_206E_200E_200C_206F_206E_202D_206A_202E(string P_0) + { + return P_0.Trim(); + } + + static bool _200F_206B_202B_200C_206A_206E_200F_200D_200C_200C_200E_202D_200F_200E_200D_202E_202C_200F_206D_200C_200D_200F_202E_200F_200B_202B_202C_200B_202C_200C_202B_200B_202E_200D_200E_200D_200F_202D_206A_200D_202E(IClientState P_0) + { + return P_0.IsLoggedIn; + } + + static IGameObject _202E_200B_202C_206E_206F_206E_202E_206A_202B_206E_200E_206C_200D_206E_202B_206F_206E_200B_200B_200D_206B_206C_200D_202A_206B_206E_206D_200C_200F_206F_200E_206C_202E_206F_202E_206C_206A_206B_206A_202E_202E(ITargetManager P_0) + { + return P_0.Target; + } + + static IReadOnlySet _206D_200F_200C_206F_206B_202A_206E_200D_206F_200E_200D_200D_206C_200E_200D_206D_200D_206B_200E_202D_202A_200E_200D_200F_202D_202C_200F_200C_206B_202E_200E_206A_202D_200B_200F_206B_202C_200E_200F_202C_202E(ICondition P_0) + { + return P_0.AsReadOnlySet(); + } + + static bool _206B_200B_202E_200C_206E_202E_202A_200B_206D_206C_206C_200F_200D_206B_206F_202B_202E_200E_200E_206F_206B_202B_202A_206E_206A_206D_202D_202D_200F_200B_202B_202D_202E_202A_202B_200F_200B_206D_202D_200D_202E(GameStateHelper P_0) + { + return P_0.IsLoadingScreenVisible(); + } + + static int? _202C_200E_202E_206E_206D_206C_206B_202B_200B_202D_206D_206F_200B_200F_202D_206A_206D_202E_200B_202D_200C_206F_200B_202A_200B_206D_200F_200D_202A_206F_202D_206E_202E_200D_206F_200B_206B_206C_202A_206E_202E(GameStateHelper P_0) + { + return P_0.GetFreeInventorySlots(); + } + + static byte _206C_206D_200D_206A_206C_202D_206E_202A_200B_206E_200C_200F_200D_200B_202C_206B_206E_202B_200D_206A_200D_202A_202E_206B_206F_200D_206C_206B_200E_202C_202A_200B_206A_206D_202D_206B_202C_206F_206F_200E_202E(ICharacter P_0) + { + return P_0.Level; + } + + static void _206A_202D_200F_200E_206D_202C_206C_202A_206B_200B_206B_206E_206A_202C_202C_202C_200B_206E_202C_206E_206C_202E_202B_206C_202B_200C_206D_206E_200D_206D_206E_200C_206E_202C_206D_206F_200F_202C_200D_202E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static PublicEvent? _200F_202A_206F_206A_200D_206C_206B_206C_200E_206A_206A_206A_200D_202E_206F_200C_202D_202B_202C_206E_206E_200D_202C_200F_202E_206A_200D_206A_206A_200D_206D_202B_206B_202B_200F_206A_202E_206E_202C_202E_202E(PublicEventHelper P_0) + { + return P_0.GetCurrentPlayerEvent(); + } + + static bool _200B_206A_200D_200E_206C_200B_206F_206F_200E_206E_206C_200B_206D_206D_202A_206D_206D_206C_202E_206F_202B_200B_206E_206B_200B_206B_202B_200E_206C_202E_202A_202A_206E_206C_206F_200B_206C_202C_206F_200F_202E(PublicEventHelper P_0, ushort P_1) + { + return P_0.IsFateActive(P_1); + } + + static uint _202D_206D_206F_200E_200E_200C_206F_200B_202C_206B_206B_202E_202B_206C_206D_206C_200F_206C_202D_200E_200E_206C_200E_202A_200C_200F_200F_200C_200F_200F_206E_200B_206B_206F_206A_206E_200D_206B_200F_202B_202E(GameStateHelper P_0, uint P_1) + { + return P_0.GetItemLevel(P_1); + } + + static void _200C_202E_202E_206B_206B_206A_200E_200C_202C_202A_202D_200D_206E_200E_200E_200B_206D_206A_206E_202A_202A_200F_202C_206A_202C_202C_200E_206A_206E_202C_200F_200E_206B_206B_206E_206D_202E_200D_200B_206E_202E(string P_0) + { + ChatHelper.SendCommand(P_0); + } + + static Regex _200E_206C_202E_206E_206B_206A_202D_206B_206B_206B_200D_206F_200E_202A_202A_206F_206A_200F_206B_200D_202D_200B_202A_206D_200C_206C_200C_202A_200D_202A_200D_202A_206B_206D_206A_200B_200C_200D_206F_200F_202E(string P_0, RegexOptions P_1) + { + return new Regex(P_0, P_1); } } diff --git a/Questionable/Questionable.Functions/PriorityQuestInfo.cs b/Questionable/Questionable.Functions/PriorityQuestInfo.cs index 9095b2b9..334d871e 100644 --- a/Questionable/Questionable.Functions/PriorityQuestInfo.cs +++ b/Questionable/Questionable.Functions/PriorityQuestInfo.cs @@ -1,8 +1,148 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; using Questionable.Model.Questing; namespace Questionable.Functions; internal sealed record PriorityQuestInfo(ElementId QuestId, string? UnavailableReason = null) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_202C_202C_206C_200D_202A_202A_206D_206B_202A_202D_200E_202D_200C_202C_206D_206D_202E_206C_200C_206D_202E_206F_200D_202D_206B_200D_206B_206D_200B_206C_202B_202C_200E_202B_202E_200E_200D_200D_202E(typeof(PriorityQuestInfo).TypeHandle); + } + } + public bool IsAvailable => UnavailableReason == null; + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206C_200B_202A_200F_206B_202B_200B_206B_206C_202D_200F_202D_200D_206E_202C_200F_202E_202B_202B_200F_202A_206A_200E_206E_206E_200B_200C_206D_206F_200F_206D_200C_202B_202E_206A_206C_200E_206E_206D_200E_202E(); + _200F_202D_206A_200D_202B_200F_206D_202A_206B_200B_206C_202D_202D_200D_206F_202C_206E_206B_202E_206D_206D_206C_206E_202B_200B_202C_200F_202D_206C_202A_202B_200D_206E_200D_200E_200C_206F_206F_200F_206A_202E(stringBuilder, global::_003CModule_003E._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(1805932779)); + _200F_202D_206A_200D_202B_200F_206D_202A_206B_200B_206C_202D_202D_200D_206F_202C_206E_206B_202E_206D_206D_206C_206E_202B_200B_202C_200F_202D_206C_202A_202B_200D_206E_200D_200E_200C_206F_206F_200F_206A_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? 537897320 : 537897323); + while (true) + { + int num2 = num; + int num3 = 537897322; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 537897323; + break; + case 1: + _200F_202D_206A_206C_200B_206A_206A_206A_206E_206B_206E_202E_202B_202B_206C_202E_206B_202D_200F_202E_202E_202D_200F_206C_202B_206A_206E_202B_206D_202A_200B_200E_200B_206C_200D_202E_202C_200B_202A_206B_202E(stringBuilder, ' '); + num = 537897320; + break; + case 2: + _200F_202D_206A_206C_200B_206A_206A_206A_206E_206B_206E_202E_202B_202B_206C_202E_206B_202D_200F_202E_202E_202D_200F_206C_202B_206A_206E_202B_206D_202A_200B_200E_200B_206C_200D_202E_202C_200B_202A_206B_202E(stringBuilder, '}'); + return _200C_200E_206D_206F_200F_206D_202C_206D_206F_200F_206C_200D_206F_202D_202B_206D_206D_206E_206D_206C_206C_202B_200D_206A_202B_206C_202C_206A_202E_200D_200C_206F_206C_202C_206B_202B_206B_206E_200C_202D_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_206A_200B_200B_200E_206C_206E_200E_200F_200F_202D_200E_206B_206B_206E_202A_202B_202E_206E_202B_206C_206F_202E_206D_200D_200B_206B_206F_202A_202B_200C_200D_206E_206E_202D_200E_200E_206F_202A_202C_202E(); + _200F_202D_206A_200D_202B_200F_206D_202A_206B_200B_206C_202D_202D_200D_206F_202C_206E_206B_202E_206D_206D_206C_206E_202B_200B_202C_200F_202D_206C_202A_202B_200D_206E_200D_200E_200C_206F_206F_200F_206A_202E(builder, global::_003CModule_003E._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(2135237278)); + _202C_206B_200C_202C_200F_200B_200C_202A_200D_200D_200D_202C_200E_200B_202C_202E_206E_202D_206A_202C_206E_200C_202E_206D_202E_200D_206E_202C_200E_200B_200D_202A_202C_202E_206D_200C_202C_206A_206C_202B_202E(builder, (object)QuestId); + _200F_202D_206A_200D_202B_200F_206D_202A_206B_200B_206C_202D_202D_200D_206F_202C_206E_206B_202E_206D_206D_206C_206E_202B_200B_202C_200F_202D_206C_202A_202B_200D_206E_200D_200E_200C_206F_206F_200F_206A_202E(builder, global::_003CModule_003E._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(990011326)); + _202C_206B_200C_202C_200F_200B_200C_202A_200D_200D_200D_202C_200E_200B_202C_202E_206E_202D_206A_202C_206E_200C_202E_206D_202E_200D_206E_202C_200E_200B_200D_202A_202C_202E_206D_200C_202C_206A_206C_202B_202E(builder, (object)UnavailableReason); + _200F_202D_206A_200D_202B_200F_206D_202A_206B_200B_206C_202D_202D_200D_206F_202C_206E_206B_202E_206D_206D_206C_206E_202B_200B_202C_200F_202D_206C_202A_202B_200D_206E_200D_200E_200C_206F_206F_200F_206A_202E(builder, global::_003CModule_003E._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(-682736150)); + _200F_202D_206A_200D_202B_200F_206D_202A_206B_200B_206C_202D_202D_200D_206F_202C_206E_206B_202E_206D_206D_206C_206E_202B_200B_202C_200F_202D_206C_202A_202B_200D_206E_200D_200E_200C_206F_206F_200F_206A_202E(builder, IsAvailable.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(PriorityQuestInfo? other) + { + int num = (((object)this == other) ? (-830578699) : (-830578704)); + while (true) + { + int num2 = num; + int num3 = -830578698; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -830578704; + break; + case 1: + return EqualityComparer.Default.Equals(UnavailableReason, other.UnavailableReason); + case 0: + num = ((!_200D_200E_202A_200E_200D_206C_200D_200D_206B_202A_200E_206B_202A_206D_206F_202E_200F_202B_202D_206F_200E_200C_200B_202E_200D_202E_206F_202E_206E_202B_206E_202C_206F_202C_202A_200B_200D_202B_202B_200E_202E(EqualityContract, other.EqualityContract)) ? (-830578702) : (-830578701)); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(QuestId, other.QuestId)) ? (-830578702) : (-830578697)); + break; + case 6: + num = (((object)other == null) ? (-830578702) : (-830578698)); + break; + case 3: + return true; + case 4: + return false; + } + } + } + + bool IEquatable.Equals(PriorityQuestInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206A_202C_202C_206C_200D_202A_202A_206D_206B_202A_202D_200E_202D_200C_202C_206D_206D_202E_206C_200C_206D_202E_206F_200D_202D_206B_200D_206B_206D_200B_206C_202B_202C_200E_202B_202E_200E_200D_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206C_200B_202A_200F_206B_202B_200B_206B_206C_202D_200F_202D_200D_206E_202C_200F_202E_202B_202B_200F_202A_206A_200E_206E_206E_200B_200C_206D_206F_200F_206D_200C_202B_202E_206A_206C_200E_206E_206D_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200F_202D_206A_200D_202B_200F_206D_202A_206B_200B_206C_202D_202D_200D_206F_202C_206E_206B_202E_206D_206D_206C_206E_202B_200B_202C_200F_202D_206C_202A_202B_200D_206E_200D_200E_200C_206F_206F_200F_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200F_202D_206A_206C_200B_206A_206A_206A_206E_206B_206E_202E_202B_202B_206C_202E_206B_202D_200F_202E_202E_202D_200F_206C_202B_206A_206E_202B_206D_202A_200B_200E_200B_206C_200D_202E_202C_200B_202A_206B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200C_200E_206D_206F_200F_206D_202C_206D_206F_200F_206C_200D_206F_202D_202B_206D_206D_206E_206D_206C_206C_202B_200D_206A_202B_206C_202C_206A_202E_200D_200C_206F_206C_202C_206B_202B_206B_206E_200C_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200F_206A_200B_200B_200E_206C_206E_200E_200F_200F_202D_200E_206B_206B_206E_202A_202B_202E_206E_202B_206C_206F_202E_206D_200D_200B_206B_206F_202A_202B_200C_200D_206E_206E_202D_200E_200E_206F_202A_202C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202C_206B_200C_202C_200F_200B_200C_202A_200D_200D_200D_202C_200E_200B_202C_202E_206E_202D_206A_202C_206E_200C_202E_206D_202E_200D_206E_202C_200E_200B_200D_202A_202C_202E_206D_200C_202C_206A_206C_202B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200D_200E_202A_200E_200D_206C_200D_200D_206B_202A_200E_206B_202A_206D_206F_202E_200F_202B_202D_206F_200E_200C_200B_202E_200D_202E_206F_202E_206E_202B_206E_202C_206F_202C_202A_200B_200D_202B_202B_200E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } } diff --git a/Questionable/Questionable.Functions/QuestFunctions.cs b/Questionable/Questionable.Functions/QuestFunctions.cs index fd59a92d..4140c89f 100644 --- a/Questionable/Questionable.Functions/QuestFunctions.cs +++ b/Questionable/Questionable.Functions/QuestFunctions.cs @@ -1,10 +1,10 @@ using System; +using System.Collections; 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.Game.ClientState.Objects.Types; using Dalamud.Memory; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Application.Network.WorkDefinitions; @@ -15,19 +15,395 @@ using FFXIVClientStructs.FFXIV.Client.UI.Agent; using FFXIVClientStructs.FFXIV.Component.GUI; using LLib.GameData; using LLib.GameUI; +using Lumina.Excel; 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 { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__21_0; + + public static Func _003C_003E9__21_2; + + public static Func _003C_003E9__21_3; + + public static Func _003C_003E9__22_0; + + public static Func _003C_003E9__22_1; + + public static Func _003C_003E9__22_2; + + public static Func _003C_003E9__22_3; + + public static Func _003C_003E9__22_4; + + public static Func _003C_003E9__22_5; + + public static Func _003C_003E9__26_2; + + public static Func _003C_003E9__27_0; + + public static Func _003C_003E9__27_2; + + public static Func _003C_003E9__27_4; + + public static Func _003C_003E9__45_0; + + public static Func _003C_003E9__54_0; + + internal bool _003CTryResolveFallbackMsq_003Eb__21_0(QuestInfo x) + { + int num = ((x.StartingCity == 0) ? 1042305841 : 1042305842); + while (true) + { + int num2 = num; + int num3 = 1042305843; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return true; + case 1: + return x.StartingCity == _206C_200E_200B_200C_206F_200D_200E_200F_200C_206C_202C_200F_200F_206A_202E_200D_202C_200E_200B_206A_202C_206B_200D_202D_202D_206D_200F_200C_200F_206A_200D_200E_202E_200D_206B_202D_200B_206C_200D_202C_202E(); + case 0: + goto IL_0058; + } + continue; + IL_0058: + num = 1042305842; + } + } + + internal ushort _003CTryResolveFallbackMsq_003Eb__21_2(QuestInfo x) + { + return _206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId); + } + + internal ushort _003CTryResolveFallbackMsq_003Eb__21_3(QuestInfo x) + { + return _206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId); + } + + internal bool _003CResolveBranchingMsq_003Eb__22_0(QuestInfo x) + { + ushort num = _206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId); + int num2 = 680; + int num3 = num; + int num4 = (((uint)(~(~num3 + num2)) > 2u) ? 1179559324 : 1179559327); + bool result = default(bool); + while (true) + { + int num5 = num4; + num2 = 1179559326; + num3 = num5; + int num6 = num3 + num2; + int num7 = num3 & num2; + switch (num6 - (num7 + num7)) + { + case 3: + num4 = 1179559327; + break; + case 0: + return result; + case 2: + result = false; + num4 = 1179559326; + break; + case 1: + result = true; + num4 = 1179559326; + break; + } + } + } + + internal bool _003CResolveBranchingMsq_003Eb__22_1(QuestInfo x) + { + return _206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId) == 1583; + } + + internal bool _003CResolveBranchingMsq_003Eb__22_2(QuestInfo x) + { + return _206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId) == 2451; + } + + internal bool _003CResolveBranchingMsq_003Eb__22_3(QuestInfo x) + { + return _206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId) == 3282; + } + + internal bool _003CResolveBranchingMsq_003Eb__22_4(QuestInfo x) + { + return _206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId) == 4359; + } + + internal bool _003CResolveBranchingMsq_003Eb__22_5(QuestInfo x) + { + return _206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId) == 4865; + } + + internal bool _003CGetNextPriorityQuestsThatCanBeAccepted_003Eb__26_2(EClassJob x) + { + int num = (_202E_206D_206E_200E_202B_206E_200F_206A_206C_202D_200E_202E_200B_206E_202A_200F_200C_206D_206E_200F_206E_200C_200F_202C_202D_200C_200D_200D_206B_200D_200C_202B_202C_206F_202A_206E_206D_202A_206F_206A_202E(x) ? 1114029440 : 1114029443); + while (true) + { + int num2 = num; + int num3 = 1114029442; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 1: + return !_200C_200E_200C_202A_202B_202A_206D_202D_206E_202C_202A_202A_206B_200D_200C_206B_200E_200D_202D_206A_202E_202E_206B_206F_200F_202C_202B_206E_200B_200C_202D_206F_202E_202B_202D_200D_202E_202B_202A_206C_202E(x); + case 2: + return false; + } + continue; + IL_0046: + num = 1114029443; + } + } + + internal ElementId _003CGetPriorityQuests_003Eb__27_0(QuestInfo x) + { + return x.QuestId; + } + + internal ElementId _003CGetPriorityQuests_003Eb__27_2(QuestInfo x) + { + return x.QuestId; + } + + internal ElementId _003CGetPriorityQuests_003Eb__27_4(QuestInfo x) + { + return x.QuestId; + } + + internal bool _003CGetAllRankUpQuestsNeeded_003Eb__45_0(EAlliedSociety s) + { + return s != EAlliedSociety.None; + } + + internal bool _003CHasCompletedPreviousInstances_003Eb__54_0(ushort x) + { + return UIState.IsInstanceContentCompleted(x); + } + + static byte _206C_200E_200B_200C_206F_200D_200E_200F_200C_206C_202C_200F_200F_206A_202E_200D_202C_200E_200B_206A_202C_206B_200D_202D_202D_206D_200F_200C_200F_206A_200D_200E_202E_200D_206B_202D_200B_206C_200D_202C_202E() + { + return PlayerStateHelper.GetStartTown(); + } + + static ushort _206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(ElementId P_0) + { + return P_0.Value; + } + + static bool _202E_206D_206E_200E_202B_206E_200F_206A_206C_202D_200E_202E_200B_206E_202A_200F_200C_206D_206E_200F_206E_200C_200F_202C_202D_200C_200D_200D_206B_200D_200C_202B_202C_206F_202A_206E_206D_202A_206F_206A_202E(EClassJob P_0) + { + return P_0.IsCrafter(); + } + + static bool _200C_200E_200C_202A_202B_202A_206D_202D_206E_202C_202A_202A_206B_200D_200C_206B_200E_200D_202D_206A_202E_202E_206B_206F_200F_202C_202B_206E_200B_200C_202D_206F_202E_202B_202D_200D_202E_202B_202A_206C_202E(EClassJob P_0) + { + return P_0.IsGatherer(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass24_0 + { + public uint[] dataIds; + + internal bool _003CIsInteractSequence_003Eb__0(QuestStep x) + { + int num = ((x == null) ? (-1902168028) : (-1902168030)); + uint? num5 = default(uint?); + while (true) + { + int num2 = num; + int num3 = -1902168027; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = -1902168030; + break; + case 3: + { + uint valueOrDefault = num5.GetValueOrDefault(); + return ((ReadOnlySpan)dataIds).Contains(valueOrDefault); + } + case 1: + num = ((x == null) ? (-1902168029) : (-1902168032)); + break; + case 0: + num5 = _202A_202E_202C_206A_206B_206F_202E_200D_202E_206B_200F_206D_200C_200E_202C_200F_202D_202A_202E_202E_200B_206B_202B_202A_206B_200E_202C_206B_206F_202A_202C_206C_202E_200E_206C_202A_202B_206B_200B_206F_202E(x); + num = ((!num5.HasValue) ? (-1902168029) : (-1902168026)); + break; + case 7: + num = ((_206A_202C_200B_200D_202A_206B_206C_200F_200F_206C_200C_202C_206C_206A_206C_200D_206C_200E_200C_206F_202B_200E_206B_200B_206A_202B_200B_206D_202D_202B_202C_200D_202E_206F_202A_206B_202E_206B_200E_206D_202E(x) == EInteractionType.WalkTo) ? (-1902168025) : (-1902168028)); + break; + case 6: + return false; + case 5: + num = ((_206A_202C_200B_200D_202A_206B_206C_200F_200F_206C_200C_202C_206C_206A_206C_200D_206C_200E_200C_206F_202B_200E_206B_200B_206A_202B_200B_206D_202D_202B_202C_200D_202E_206F_202A_206B_202E_206B_200E_206D_202E(x) != EInteractionType.Interact) ? (-1902168029) : (-1902168027)); + break; + case 2: + return true; + } + } + } + + static EInteractionType _206A_202C_200B_200D_202A_206B_206C_200F_200F_206C_200C_202C_206C_206A_206C_200D_206C_200E_200C_206F_202B_200E_206B_200B_206A_202B_200B_206D_202D_202B_202C_200D_202E_206F_202A_206B_202E_206B_200E_206D_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static uint? _202A_202E_202C_206A_206B_206F_202E_200D_202E_206B_200F_206D_200C_200E_202C_200F_202D_202A_202E_202E_200B_206B_202B_202A_206B_200E_202C_206B_206F_202A_202C_206C_202E_200E_206C_202A_202B_206B_200B_206F_202E(QuestStep P_0) + { + return P_0.DataId; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass48_0 + { + public QuestFunctions _003C_003E4__this; + + public ElementId extraCompletedQuest; + + internal bool _003CIsQuestUnobtainable_003Eb__1(QuestId x) + { + int num = (_003C_003E4__this.IsQuestComplete(x) ? 1809882662 : 1809882661); + while (true) + { + int num2 = num; + int num3 = 1809882660; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004e; + case 2: + return true; + case 1: + return _206D_200C_200B_206C_206E_206D_202E_206C_200F_206F_206A_206D_202A_206C_200F_202E_206B_206A_200D_202D_206C_202E_202B_206E_206F_202B_206F_200E_206C_206A_202E_206F_200F_200D_200C_202C_200E_206F_206C_202E_202E((ElementId)x, extraCompletedQuest); + } + continue; + IL_004e: + num = 1809882661; + } + } + + internal bool _003CIsQuestUnobtainable_003Eb__0(KeyValuePair x) + { + return _003C_003E4__this.IsQuestAcceptedOrComplete(_206E_202D_206E_200E_202E_206B_206B_202B_206D_202B_202D_206C_206E_202D_200B_206B_200E_200C_200F_206D_206C_206B_200B_202C_206F_206A_206A_202C_206D_206E_206F_206D_206A_202D_200C_200F_206F_200B_200B_206C_202E(x.Key)); + } + + static bool _206D_200C_200B_206C_206E_206D_202E_206C_200F_206F_206A_206D_202A_206C_200F_202E_206B_206A_200D_202D_206C_202E_202B_206E_206F_202B_206F_200E_206C_206A_202E_206F_200F_200D_200C_202C_200E_206F_206C_202E_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + + static QuestId _206E_202D_206E_200E_202E_206B_206B_202B_206D_202B_202D_206C_206E_202D_200B_206B_200E_200C_200F_206D_206C_206B_200B_202C_206F_206A_206A_202C_206D_206E_206F_206D_206A_202D_200C_200F_206F_200B_200B_206C_202E(ushort P_0) + { + return new QuestId(P_0); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass52_0 + { + public QuestFunctions _003C_003E4__this; + + public ElementId extraCompletedQuest; + + internal bool _003CHasCompletedPreviousQuests_003Eb__0(PreviousQuestInfo x) + { + int num = (_003C_003E4__this.HasEnoughProgressOnPreviousQuest(x) ? 1555514480 : 1555514481); + while (true) + { + int num2 = num; + int num3 = 1555514480; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004e; + case 1: + return _202D_200D_202D_202C_202C_200D_206F_200E_206A_206A_206E_200B_202E_206C_202C_202E_206D_202D_206D_200E_202A_202E_206A_206A_202C_202E_202C_200E_200C_206B_200B_200F_206C_206E_200F_202B_200C_202E_202E_206C_202E((ElementId)x.QuestId, extraCompletedQuest); + case 0: + return true; + } + continue; + IL_004e: + num = 1555514481; + } + } + + static bool _202D_200D_202D_202C_202C_200D_206F_200E_206A_206A_206E_200B_202E_206C_202C_202E_206D_202D_206D_200E_202A_202E_206A_206A_202C_202E_202C_200E_200C_206B_200B_200F_206C_206E_200F_202B_200C_202E_202E_206C_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + 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 +416,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 +432,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,684 +448,932 @@ 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); - } - + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe (QuestReference, string?) GetMainScenarioQuest() { - if (QuestManager.IsQuestComplete(3759)) + (QuestReference, string)? tuple = TryGetNewGamePlusQuest(); + int num = ((!tuple.HasValue) ? 797244794 : 797244774); + QuestManager* ptr = default(QuestManager*); + QuestId resolvedQuest = default(QuestId); + string item2 = default(string); + AgentScenarioTree* ptr2 = default(AgentScenarioTree*); + (QuestReference, string)? tuple2 = default((QuestReference, string)?); + while (true) { - AgentInterface* agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.QuestRedoHud); - if (agentByInternalId != null && agentByInternalId->IsAgentActive()) + int num2 = num; + int num3 = 797244783; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - 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+"); - } + case 7: + return (QuestReference.NoQuest(MainScenarioQuestState.Available), global::_003CModule_003E._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(-1559640278)); + case 12: + ptr = QuestManager.Instance(); + num = ((!IsQuestAccepted(resolvedQuest)) ? 797244799 : 797244798); + break; + case 23: + { + QuestReference item = QuestReference.NoQuest(MainScenarioQuestState.Unavailable); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(26, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(288641280)); + defaultInterpolatedStringHandler.AppendFormatted(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)resolvedQuest)); + return (item, defaultInterpolatedStringHandler.ToStringAndClear()); } - } - AgentScenarioTree* ptr = AgentScenarioTree.Instance(); - if (ptr == null) - { - _logger.LogTrace("GetMainScenarioQuest: scenarioTree is null"); - return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), "No Scenario Tree"); - } - if (ptr->Data == null) - { - _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) - { - if (IsMainScenarioQuestComplete()) + case 9: + return tuple.Value; + case 16: + num = ((!IsQuestComplete(resolvedQuest)) ? 797244768 : 797244795); + break; + case 1: + _lastLoggedAcceptedHiddenMsq = null; + return (new QuestReference(resolvedQuest, QuestManager.GetQuestSequence(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)resolvedQuest)), MainScenarioQuestState.Available), item2); + case 21: + ptr2 = AgentScenarioTree.Instance(); + num = ((ptr2 != null) ? 797244769 : 797244783); + break; + case 3: { - return (QuestReference.NoQuest(MainScenarioQuestState.Complete), "Main Scenario is complete"); - } - 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) + _lastLoggedNotReadyQuest = null; + IPlayerCharacter playerCharacter = _206C_200E_202E_206E_202D_206B_202B_206B_200D_200C_206C_202E_200C_200F_202E_200C_200B_202B_206E_202E_202B_206B_206F_206F_206E_206B_206D_206F_202E_202C_206A_202C_202D_200D_206E_200D_200E_202C_206B_206C_202E(_objectTable); + if (playerCharacter != null) { - 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); - _lastLoggedFallbackLookup = false; - } - QuestManager* ptr2 = QuestManager.Instance(); - if (IsQuestAccepted(questId) && ptr2->GetQuestById(questId.Value)->IsHidden) - { - if (_lastLoggedAcceptedHiddenMsq != questId) - { - _logger.LogInformation("GetMainScenarioQuest: Quest {QuestId} is accepted but hidden", questId); - _lastLoggedAcceptedHiddenMsq = questId; - } - return (QuestReference.NoQuest(MainScenarioQuestState.Available), "Quest accepted but hidden"); - } - if (IsQuestComplete(questId)) - { - _logger.LogInformation("GetMainScenarioQuest: Quest {QuestId} is already complete", questId); - return (new QuestReference(questId, byte.MaxValue, MainScenarioQuestState.Available), $"Quest {questId.Value} complete"); - } - if (!IsReadyToAcceptQuest(questId, ignoreLevel: true)) - { - if (_lastLoggedNotReadyQuest != questId) - { - _logger.LogInformation("GetMainScenarioQuest: Quest {QuestId} is not ready to accept (ignoring level)", questId); - _lastLoggedNotReadyQuest = questId; - } - return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), $"Not readdy to accept quest {questId.Value}"); - } - _lastLoggedNotReadyQuest = null; - if (!(_objectTable.LocalPlayer?.Level).HasValue) - { - _logger.LogTrace("GetMainScenarioQuest: In loading screen"); - return (QuestReference.NoQuest(MainScenarioQuestState.LoadingScreen), "In loading screen"); - } - _lastLoggedAcceptedHiddenMsq = null; - return (new QuestReference(questId, QuestManager.GetQuestSequence(questId.Value), MainScenarioQuestState.Available), item); - } - - private static byte GetRequiredGCRank(QuestId questId) - { - return questId.Value switch - { - 1128 => 8, - 1129 => 8, - 1130 => 8, - 1131 => 9, - 1132 => 9, - 1133 => 9, - _ => 1, - }; - } - - private unsafe bool IsOnAlliedSocietyMount() - { - BattleChara* ptr = (BattleChara*)(_objectTable.LocalPlayer?.Address ?? 0); - if (ptr != null && ptr->Mount.MountId != 0) - { - return _alliedSocietyData.Mounts.ContainsKey(ptr->Mount.MountId); - } - return false; - } - - private bool IsInteractSequence(ElementId questId, byte sequenceNo, uint[] dataIds) - { - if (_questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest)) - { - return quest.FindSequence(sequenceNo)?.Steps.All(delegate(QuestStep x) - { - if (x == null || x.InteractionType != EInteractionType.WalkTo) - { - if (x != null && x.InteractionType == EInteractionType.Interact) + _202A_200F_206C_206F_202A_202B_202D_202E_200B_202B_202E_200B_202C_206F_202D_206D_206A_202E_200D_200E_200F_206D_206F_200C_206D_202B_206C_206E_206A_200D_200C_206A_206E_206F_206D_200F_200D_202A_206E_206F_202E((ICharacter)playerCharacter); + if (0 == 0) { - uint? dataId = x.DataId; - if (dataId.HasValue) + num = 797244782; + break; + } + } + num = 797244775; + break; + } + case 6: + _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(-1226979826), new object[1] { resolvedQuest }); + _lastLoggedAcceptedHiddenMsq = resolvedQuest; + num = 797244776; + break; + case 11: + _lastLoggedFallbackLookup = false; + num = 797244771; + break; + case 0: + _202D_202C_202A_206D_202C_202C_202A_200F_200F_202B_202C_202A_206A_202D_200D_200E_202E_206E_200E_200C_200D_206A_206A_206D_202A_200E_206D_200B_202A_206C_206D_200D_200F_206A_206A_200B_206F_200C_206B_202A_202E((ILogger)_logger, global::_003CModule_003E._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(890687350), Array.Empty()); + return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), global::_003CModule_003E._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(1970295965)); + case 15: + num = (IsReadyToAcceptQuest(resolvedQuest, ignoreLevel: true) ? 797244780 : 797244797); + break; + case 4: + num = ((!_206E_202C_206F_202A_202E_202A_202A_200F_206C_202E_202C_206B_202A_200C_206C_206E_202D_202C_200E_200B_202A_206A_200D_202C_202C_202B_202B_206A_202D_206A_206C_206C_202D_200B_200E_200D_202E_202A_206C_206D_202E(_lastLoggedAcceptedHiddenMsq, (ElementId)resolvedQuest)) ? 797244776 : 797244777); + break; + case 13: + { + resolvedQuest = _206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E(ptr2->Data->MainScenarioQuestIds[0]); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(4, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-145427000)); + defaultInterpolatedStringHandler3.AppendFormatted(resolvedQuest); + item2 = defaultInterpolatedStringHandler3.ToStringAndClear(); + num = ((_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)resolvedQuest) != 0) ? 797244772 : 797244773); + break; + } + case 8: + _202D_202C_202A_206D_202C_202C_202A_200F_200F_202B_202C_202A_206A_202D_200D_200E_202E_206E_200E_200C_200D_206A_206A_206D_202A_200E_206D_200B_202A_206C_206D_200D_200F_206A_206A_200B_206F_200C_206B_202A_202E((ILogger)_logger, global::_003CModule_003E._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(1083185667), Array.Empty()); + return (QuestReference.NoQuest(MainScenarioQuestState.LoadingScreen), global::_003CModule_003E._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(744029635)); + case 20: + { + _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(-1567782321), new object[1] { resolvedQuest }); + QuestReference item3 = new QuestReference(resolvedQuest, byte.MaxValue, MainScenarioQuestState.Available); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(15, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1754422725)); + defaultInterpolatedStringHandler2.AppendFormatted(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)resolvedQuest)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1749584481)); + return (item3, defaultInterpolatedStringHandler2.ToStringAndClear()); + } + case 14: + num = ((ptr2->Data != null) ? 797244770 : 797244796); + break; + case 2: + _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(-179403140), new object[1] { resolvedQuest }); + _lastLoggedNotReadyQuest = resolvedQuest; + num = 797244792; + break; + case 5: + num = 797244774; + break; + case 22: + return tuple2.Value; + case 17: + num = ((!ptr->GetQuestById(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)resolvedQuest))->IsHidden) ? 797244799 : 797244779); + break; + case 18: + num = ((!_206E_202C_206F_202A_202E_202A_202A_200F_206C_202E_202C_206B_202A_200C_206C_206E_202D_202C_200E_200B_202A_206A_200D_202C_202C_202B_202B_206A_202D_206A_206C_206C_202D_200B_200E_200D_202E_202A_206C_206D_202E(_lastLoggedNotReadyQuest, (ElementId)resolvedQuest)) ? 797244792 : 797244781); + break; + case 19: + _202D_202C_202A_206D_202C_202C_202A_200F_200F_202B_202C_202A_206A_202D_200D_200E_202E_206E_200E_200C_200D_206A_206A_206D_202A_200E_206D_200B_202A_206C_206D_200D_200F_206A_206A_200B_206F_200C_206B_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-221817496), Array.Empty()); + return (QuestReference.NoQuest(MainScenarioQuestState.LoadingScreen), global::_003CModule_003E._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(55455565)); + case 10: + tuple2 = TryResolveFallbackMsq(out resolvedQuest); + num = ((!tuple2.HasValue) ? 797244771 : 797244793); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe (QuestReference, string?)? TryGetNewGamePlusQuest() + { + int num = (QuestManager.IsQuestComplete(3759) ? (-354991437) : (-354991429)); + uint uInt = default(uint); + AtkUnitBase* addonPtr = default(AtkUnitBase*); + bool flag = default(bool); + bool flag2 = default(bool); + AgentInterface* agentByInternalId = default(AgentInterface*); + while (true) + { + int num2 = num; + int num3 = -354991438; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 12: + { + uint num7 = uInt; + num3 = 2; + num4 = (int)num7; + num = (((uint)(~(~num4 + num3)) > 2u) ? (-354991435) : (-354991440)); + break; + } + case 4: + return null; + case 11: + return null; + case 9: + return null; + case 14: + uInt = addonPtr->AtkValues->UInt; + num = ((uInt == 0) ? (-354991440) : (-354991426)); + break; + case 0: + num5 = ((addonPtr->AtkValuesCount != 4) ? 1 : 0); + goto IL_019a; + case 7: + flag = false; + num = -354991430; + break; + case 8: + flag2 = !flag; + num = -354991432; + break; + case 10: + num = ((!flag2) ? (-354991427) : (-354991431)); + break; + case 15: + { + ushort num6 = MemoryHelper.Read((nint)((byte*)agentByInternalId + 46)); + return (new QuestReference(_206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E(num6), QuestManager.GetQuestSequence(num6), MainScenarioQuestState.Available), global::_003CModule_003E._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(-619951541)); + } + case 5: + num = -354991429; + break; + case 13: + num5 = 1; + goto IL_019a; + case 1: + agentByInternalId = AgentModule.Instance()->GetAgentByInternalId(AgentId.QuestRedoHud); + num = ((agentByInternalId == null) ? (-354991434) : (-354991436)); + break; + case 3: + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(-902798394), out addonPtr)) ? (-354991425) : (-354991438)); + break; + case 6: + num = (agentByInternalId->IsAgentActive() ? (-354991439) : (-354991434)); + break; + case 2: + { + flag = true; + num = -354991430; + break; + } + IL_019a: + flag2 = (byte)num5 != 0; + num = (flag2 ? (-354991432) : (-354991428)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private (QuestReference, string?)? TryResolveFallbackMsq(out QuestId resolvedQuest) + { + resolvedQuest = _206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E((ushort)0); + int num = ((!IsMainScenarioQuestComplete()) ? (-931951618) : (-931951626)); + List list = default(List); + QuestId questId = default(QuestId); + while (true) + { + int num2 = num; + int num3 = -931951625; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + _200F_206C_200D_206D_200B_202D_202B_200C_202E_206D_206F_202E_200F_200B_206A_200B_206A_202E_206D_200B_206B_202C_200C_202B_206D_202B_202B_200C_202D_202E_206A_206D_200B_200F_206E_206C_200D_200E_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-85946115), new object[1] { string.Join(global::_003CModule_003E._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(1467939024), list.Select((QuestInfo x) => _003C_003Ec._206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId))) }); + return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), _206A_202B_206A_202E_200D_200D_206A_200D_206E_200C_206D_206E_206E_200F_200C_206B_206E_202C_206B_206B_206E_200B_202D_206D_206A_200B_202C_206F_206D_206E_200E_200C_200C_200F_200C_206C_202D_206F_200B_206F_202E(global::_003CModule_003E._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(1248639462), string.Join(global::_003CModule_003E._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(-1095822044), list.Select((QuestInfo x) => _003C_003Ec._206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId))))); + case 5: + return (QuestReference.NoQuest(MainScenarioQuestState.Unavailable), global::_003CModule_003E._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(1786049013)); + case 2: + _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(1140660703), Array.Empty()); + _lastLoggedFallbackLookup = true; + num = -931951632; + break; + case 4: + questId = ResolveBranchingMsq(list); + num = (((object)questId != null) ? (-931951619) : (-931951631)); + break; + case 8: + num = -931951626; + break; + case 10: + resolvedQuest = questId; + _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(1400062201), new object[1] { resolvedQuest }); + return null; + case 0: + resolvedQuest = (QuestId)list[0].QuestId; + _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(685272348), new object[1] { resolvedQuest }); + return null; + case 3: + num = ((list.Count != 1) ? (-931951629) : (-931951625)); + break; + case 7: + list = (from q in _questData.MainScenarioQuests.Where(delegate(QuestInfo x) + { + int num5 = ((x.StartingCity == 0) ? 1042305841 : 1042305842); + while (true) { - uint valueOrDefault = dataId.GetValueOrDefault(); + int num6 = num5; + int num7 = 1042305843; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + switch (num9 - (num10 + num10)) + { + case 2: + return true; + case 1: + return x.StartingCity == _003C_003Ec._206C_200E_200B_200C_206F_200D_200E_200F_200C_206C_202C_200F_200F_206A_202E_200D_202C_200E_200B_206A_202C_206B_200D_202D_202D_206D_200F_200C_200F_206A_200D_200E_202E_200D_206B_202D_200B_206C_200D_202C_202E(); + case 0: + goto IL_0058; + } + continue; + IL_0058: + num5 = 1042305842; + } + }) + where IsReadyToAcceptQuest(q.QuestId, ignoreLevel: true) + select q).ToList(); + _202D_202C_202A_206D_202C_202C_202A_200F_200F_202B_202C_202A_206A_202D_200D_200E_202E_206E_200E_200C_200D_206A_206A_206D_202A_200E_206D_200B_202A_206C_206D_200D_200F_206A_206A_200B_206F_200C_206B_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-1687594215), new object[1] { list.Count }); + num = ((list.Count != 0) ? (-931951628) : (-931951630)); + break; + case 9: + num = (_lastLoggedFallbackLookup ? (-931951632) : (-931951627)); + break; + case 1: + return (QuestReference.NoQuest(MainScenarioQuestState.Complete), global::_003CModule_003E._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(-425005408)); + } + } + } + + private static QuestId? ResolveBranchingMsq(List potentialQuests) + { + int num = ((!potentialQuests.All(delegate(QuestInfo x) + { + ushort num5 = _003C_003Ec._206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId); + int num6 = 680; + int num7 = num5; + int num8 = (((uint)(~(~num7 + num6)) > 2u) ? 1179559324 : 1179559327); + bool result = default(bool); + while (true) + { + int num9 = num8; + num6 = 1179559326; + num7 = num9; + int num10 = num7 + num6; + int num11 = num7 & num6; + switch (num10 - (num11 + num11)) + { + case 3: + num8 = 1179559327; + break; + case 0: + return result; + case 2: + result = false; + num8 = 1179559326; + break; + case 1: + result = true; + num8 = 1179559326; + break; + } + } + })) ? 1548487803 : 1548487794); + while (true) + { + int num2 = num; + int num3 = 1548487793; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + return _206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E((ushort)4865); + case 3: + return _206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E((ushort)681); + case 11: + return _206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E((ushort)4359); + case 12: + num = ((!potentialQuests.Any((QuestInfo x) => _003C_003Ec._206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId) == 3282)) ? 1548487792 : 1548487800); + break; + case 5: + num = ((!potentialQuests.Any((QuestInfo x) => _003C_003Ec._206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId) == 2451)) ? 1548487805 : 1548487795); + break; + case 6: + num = 1548487794; + break; + case 10: + num = ((!potentialQuests.Any((QuestInfo x) => _003C_003Ec._206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId) == 1583)) ? 1548487796 : 1548487801); + break; + case 8: + return _206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E((ushort)1583); + case 4: + return null; + case 9: + return _206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E((ushort)3282); + case 0: + num = ((!potentialQuests.Any((QuestInfo x) => _003C_003Ec._206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId) == 4865)) ? 1548487797 : 1548487798); + break; + case 1: + num = ((!potentialQuests.Any((QuestInfo x) => _003C_003Ec._206A_202A_200F_202D_206E_206A_200C_202D_206C_206C_206D_206E_206E_200E_200D_206E_200E_200C_206D_202D_206E_200B_202A_202E_206A_202C_200E_200F_206D_206C_200F_206A_206C_206D_200E_200C_200B_202D_206A_200F_202E(x.QuestId) == 4359)) ? 1548487793 : 1548487802); + break; + case 2: + return _206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E((ushort)2451); + } + } + } + + internal unsafe bool IsOnAlliedSocietyMount() + { + IPlayerCharacter playerCharacter = _206C_200E_202E_206E_202D_206B_202B_206B_200D_200C_206C_202E_200C_200F_202E_200C_200B_202B_206E_202E_202B_206B_206F_206F_206E_206B_206D_206F_202E_202C_206A_202C_202D_200D_206E_200D_200E_202C_206B_206C_202E(_objectTable); + BattleChara* ptr = (BattleChara*)((playerCharacter != null) ? _200C_200E_202D_206B_206E_202B_206F_206A_202C_200D_200E_206F_206F_200D_206E_206B_200D_202E_206B_200F_206F_206A_202A_206E_206C_202C_206F_206C_202C_200C_200F_206B_206E_202C_202A_202E_200E_202B_202C_200E_202E((IGameObject)playerCharacter) : 0); + int num = ((ptr == null) ? (-510270648) : (-510270646)); + while (true) + { + int num2 = num; + int num3 = -510270645; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -510270646; + break; + case 1: + num = ((ptr->Mount.MountId == 0) ? (-510270648) : (-510270647)); + break; + case 2: + return _alliedSocietyData.Mounts.ContainsKey(ptr->Mount.MountId); + case 3: + return false; + } + } + } + + internal bool IsInteractSequence(ElementId questId, byte sequenceNo, uint[] dataIds) + { + Questionable.Model.Quest quest; + int num = ((!_questRegistry.TryGetQuest(questId, out quest)) ? (-2105146533) : (-2105146532)); + QuestSequence questSequence = default(QuestSequence); + while (true) + { + int num2 = num; + int num3 = -2105146529; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 3: + questSequence = quest.FindSequence(sequenceNo); + num = ((questSequence == null) ? (-2105146531) : (-2105146530)); + break; + case 1: + return _206E_200B_200C_206A_206B_200E_202C_202C_200E_206B_202B_200E_200E_202E_200B_202E_206C_202C_206A_202C_206E_202D_202C_206F_202A_202B_202B_202B_206A_202D_206D_202C_202E_206E_202E_206F_206C_206A_206F_202E(questSequence).All(delegate(QuestStep x) + { + int num7 = ((x == null) ? (-1902168028) : (-1902168030)); + uint? num11 = default(uint?); + while (true) + { + int num8 = num7; + int num9 = -1902168027; + int num10 = num8; + switch ((num10 | num9) - (num10 & num9)) + { + case 4: + num7 = -1902168030; + break; + case 3: + { + uint valueOrDefault = num11.GetValueOrDefault(); return ((ReadOnlySpan)dataIds).Contains(valueOrDefault); } + case 1: + num7 = ((x == null) ? (-1902168029) : (-1902168032)); + break; + case 0: + num11 = _003C_003Ec__DisplayClass24_0._202A_202E_202C_206A_206B_206F_202E_200D_202E_206B_200F_206D_200C_200E_202C_200F_202D_202A_202E_202E_200B_206B_202B_202A_206B_200E_202C_206B_206F_202A_202C_206C_202E_200E_206C_202A_202B_206B_200B_206F_202E(x); + num7 = ((!num11.HasValue) ? (-1902168029) : (-1902168026)); + break; + case 7: + num7 = ((_003C_003Ec__DisplayClass24_0._206A_202C_200B_200D_202A_206B_206C_200F_200F_206C_200C_202C_206C_206A_206C_200D_206C_200E_200C_206F_202B_200E_206B_200B_206A_202B_200B_206D_202D_202B_202C_200D_202E_206F_202A_206B_202E_206B_200E_206D_202E(x) == EInteractionType.WalkTo) ? (-1902168025) : (-1902168028)); + break; + case 6: + return false; + case 5: + num7 = ((_003C_003Ec__DisplayClass24_0._206A_202C_200B_200D_202A_206B_206C_200F_200F_206C_200C_202C_206C_206A_206C_200D_206C_200E_200C_206F_202B_200E_206B_200B_206A_202B_200B_206D_202D_202B_202C_200D_202E_206F_202A_206B_202E_206B_200E_206D_202E(x) != EInteractionType.Interact) ? (-1902168029) : (-1902168027)); + break; + case 2: + return true; + } } - return false; - } - return true; - }) ?? false; + }); + case 4: + return false; + case 0: + num = -2105146532; + break; + } } - return false; } public unsafe QuestProgressInfo? GetQuestProgressInfo(ElementId elementId) { - if (elementId is QuestId questId) + QuestId questId = elementId as QuestId; + int num = (((object)questId == null) ? (-1920386293) : (-1920386290)); + QuestWork* questById = default(QuestWork*); + while (true) { - QuestWork* questById = QuestManager.Instance()->GetQuestById(questId.Value); - if (questById == null) + int num2 = num; + int num3 = -1920386294; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 2: return null; + case 3: + return new QuestProgressInfo(*questById); + case 1: + return null; + case 4: + questById = QuestManager.Instance()->GetQuestById(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)questId)); + num = ((questById != null) ? (-1920386295) : (-1920386296)); + break; + case 0: + num = -1920386290; + break; } - return new QuestProgressInfo(*questById); } - 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) + select x).Select([MethodImpl(MethodImplOptions.NoInlining)] (ElementId x) => { - if (!_questRegistry.TryGetQuest(x, out Questionable.Model.Quest quest)) + Questionable.Model.Quest quest; + int num = (_questRegistry.TryGetQuest(x, out quest) ? 997542980 : 997542983); + QuestInfo questInfo = default(QuestInfo); + while (true) { - return new PriorityQuestInfo(x, "Unknown quest"); - } - QuestStep questStep = quest.FindSequence(0)?.FindStep(0); - if (questStep == 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) + int num2 = num; + int num3 = 997542978; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - EAetheryteLocation valueOrDefault = aetheryteShortcut.GetValueOrDefault(); - if (!_aetheryteFunctions.IsAetheryteUnlocked(valueOrDefault)) + case 4: + num = ((quest.Info.Level > 5) ? 997542987 : 997542986); + break; + case 3: + if (questInfo.ClassJobs.Any(delegate(EClassJob eClassJob) { - SkipConditions? skipConditions = y.Step.SkipConditions; - if (skipConditions == null || skipConditions.AetheryteShortcutIf?.AetheryteLocked != valueOrDefault) + int num5 = (_003C_003Ec._202E_206D_206E_200E_202B_206E_200F_206A_206C_202D_200E_202E_200B_206E_202A_200F_200C_206D_206E_200F_206E_200C_200F_202C_202D_200C_200D_200D_206B_200D_200C_202B_202C_206F_202A_206E_206D_202A_206F_206A_202E(eClassJob) ? 1114029440 : 1114029443); + while (true) { - return valueOrDefault; + int num6 = num5; + int num7 = 1114029442; + int num8 = num6; + switch ((num8 | num7) - (num8 & num7)) + { + case 0: + goto IL_0046; + case 1: + return !_003C_003Ec._200C_200E_200C_202A_202B_202A_206D_202D_206E_202C_202A_202A_206B_200D_200C_206B_200E_200D_202D_206A_202E_202E_206B_206F_200F_202C_202B_206E_200B_200C_202D_206F_202E_202B_202D_200D_202E_202B_202A_206C_202E(eClassJob); + case 2: + return false; + } + continue; + IL_0046: + num5 = 1114029443; } + })) + { + num = 997542981; + break; } - } - AethernetShortcut aethernetShortcut = y.Step.AethernetShortcut; - if (aethernetShortcut != null) + goto case 9; + case 10: + num = (_aetheryteFunctions.IsTeleportUnlocked() ? 997542981 : 997542979); + break; + case 11: + num = ((questInfo.ClassJobs.Count <= 0) ? 997542987 : 997542977); + break; + case 0: + num = 997542983; + break; + case 8: + questInfo = quest.Info as QuestInfo; + num = ((questInfo == null) ? 997542987 : 997542985); + break; + case 6: { - if (!_aetheryteFunctions.IsAetheryteUnlocked(aethernetShortcut.From)) - { - return aethernetShortcut.From; - } - if (!_aetheryteFunctions.IsAetheryteUnlocked(aethernetShortcut.To)) - { - return aethernetShortcut.To; - } + QuestSequence? questSequence = quest.FindSequence(0); + num = ((((questSequence != null) ? _206A_202E_202C_200C_206E_202B_202C_200E_200B_202B_206F_206B_200E_202A_202A_202B_202E_206B_200E_200E_202B_206F_202C_206E_202C_200B_202D_206E_206B_200B_206A_202E_206D_202B_206C_202B_200F_200F_200E_200D_202E(questSequence, 0) : null) != null) ? 997542982 : 997542976); + break; } - return (EAetheryteLocation?)null; - }).FirstOrDefault((EAetheryteLocation? y) => y.HasValue); - return value.HasValue ? new PriorityQuestInfo(x, $"Aetheryte locked: {value}") : new PriorityQuestInfo(x); + case 5: + return new PriorityQuestInfo(x, global::_003CModule_003E._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(-2146806073)); + case 9: + num = 997542984; + break; + case 2: + return new PriorityQuestInfo(x, global::_003CModule_003E._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(-1367010804)); + case 7: + return new PriorityQuestInfo(x); + case 1: + return new PriorityQuestInfo(x, global::_003CModule_003E._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(924143673)); + } + } }).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))); - } - + [MethodImpl(MethodImplOptions.NoInlining)] public List GetPriorityQuests(bool onlyClassAndRoleQuests = false) { List list = new List(); - if (!onlyClassAndRoleQuests) + int num = (onlyClassAndRoleQuests ? 1630044705 : 1630044712); + IReadOnlyList roleQuestChaptersForPreference = default(IReadOnlyList); + int num9 = default(int); + uint? num7 = default(uint?); + IReadOnlyList finalRoleQuests = default(IReadOnlyList); + ERoleQuestPreference roleQuestPreference = default(ERoleQuestPreference); + EClassJob valueOrDefault = default(EClassJob); + EClassJob valueOrDefault2 = default(EClassJob); + while (true) { - if (!_configuration.Advanced.SkipARealmRebornHardModePrimals) + int num2 = num; + int num3 = 1630044705; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + EClassJob? obj; + EClassJob? obj2; + EClassJob? eClassJob; + switch (num5 - (num6 + num6)) { + case 18: list.AddRange(QuestData.HardModePrimals.Skip(1)); - } - if (!_configuration.Advanced.SkipCrystalTowerRaids) - { - list.AddRange(QuestData.CrystalTowerQuests); - } - } - 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; - }) + num = 1630044707; + break; + case 13: + list.AddRange(from x in _questData.GetRoleQuestsByChapter(roleQuestChaptersForPreference[num9]) + where _questRegistry.IsKnownQuest(x.QuestId) select x.QuestId); + num = 1630044732; + break; + case 23: + { + IPlayerCharacter playerCharacter = _206C_200E_202E_206E_202D_206B_202B_206B_200D_200C_206C_202E_200C_200F_202E_200C_200B_202B_206E_202E_202B_206B_206F_206F_206E_206B_206D_206F_202E_202C_206A_202C_202D_200D_206E_200D_200E_202C_206B_206C_202E(_objectTable); + num7 = ((playerCharacter != null) ? new uint?(_206B_206D_202C_202E_202B_206C_202B_206C_206C_206B_200C_206F_200C_206F_206B_206A_206E_200D_202B_206B_206A_202A_206E_202D_202B_206C_202E_202D_206F_202B_206F_206D_202D_206C_202A_206C_200D_206A_206D_206B_202E((ICharacter)playerCharacter).RowId) : ((uint?)null)); + num = (num7.HasValue ? 1630044719 : 1630044720); + break; + } + case 26: + obj = null; + goto IL_0213; + case 12: + num9 = 1; + num = 1630044706; + break; + case 3: + num = ((num9 >= roleQuestChaptersForPreference.Count) ? 1630044725 : 1630044709); + break; + case 4: + num = ((num9 < finalRoleQuests.Count) ? 1630044724 : 1630044725); + break; + case 27: + obj = (EClassJob)num7.GetValueOrDefault(); + goto IL_0213; + case 19: + num = (_configuration.Advanced.SkipRoleQuests ? 1630044725 : 1630044726); + break; + case 5: + _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(1774164352), new object[2] { roleQuestPreference, valueOrDefault }); + num = 1630044725; + break; + case 17: + obj2 = null; + goto IL_0305; + case 25: + roleQuestChaptersForPreference = QuestData.GetRoleQuestChaptersForPreference(roleQuestPreference, valueOrDefault); + finalRoleQuests = QuestData.GetFinalRoleQuests(roleQuestPreference, valueOrDefault); + num = ((roleQuestChaptersForPreference.Count <= 0) ? 1630044710 : 1630044727); + break; + case 14: + obj2 = (EClassJob)num7.GetValueOrDefault(); + goto IL_0305; + case 21: + num = (IsQuestComplete(finalRoleQuests[num9]) ? 1630044732 : 1630044716); + break; + case 20: + num = (onlyClassAndRoleQuests ? 1630044714 : 1630044729); + break; + case 6: + list.AddRange(from x in _questRegistry.GetKnownClassJobQuests(valueOrDefault2, includeRoleQuests: false) + select x.QuestId); + num = 1630044722; + break; + case 10: + num = 1630044712; + break; + case 16: + list.AddRange(from x in _questData.GetRoleQuestsByChapter(roleQuestChaptersForPreference[0]) + where _questRegistry.IsKnownQuest(x.QuestId) + select x.QuestId); + num = 1630044710; + break; + case 28: + list.AddRange(GetAllRankUpQuestsNeeded()); + num = 1630044714; + break; + case 2: + num = (_configuration.Advanced.SkipCrystalTowerRaids ? 1630044705 : 1630044704); + break; + case 9: + num = (_configuration.Advanced.SkipARealmRebornHardModePrimals ? 1630044707 : 1630044723); + break; + case 7: + num = ((!_configuration.Advanced.ContinueRoleQuestsAfterShb) ? 1630044725 : 1630044717); + break; + case 8: + { + IPlayerCharacter playerCharacter2 = _206C_200E_202E_206E_202D_206B_202B_206B_200D_200C_206C_202E_200C_200F_202E_200C_200B_202B_206E_202E_202B_206B_206F_206F_206E_206B_206D_206F_202E_202C_206A_202C_202D_200D_206E_200D_200E_202C_206B_206C_202E(_objectTable); + num7 = ((playerCharacter2 != null) ? new uint?(_206B_206D_202C_202E_202B_206C_202B_206C_206C_206B_200C_206F_200C_206F_206B_206A_206E_200D_202B_206B_206A_202A_206E_202D_202B_206C_202E_202D_206F_202B_206F_206D_202D_206C_202A_206C_200D_206A_206D_206B_202E((ICharacter)playerCharacter2).RowId) : ((uint?)null)); + num = (num7.HasValue ? 1630044730 : 1630044731); + break; + } + case 11: + return list.Where(_questRegistry.IsKnownQuest).ToList(); + case 15: + roleQuestPreference = _configuration.Advanced.RoleQuestPreference; + num = (QuestData.JobMatchesRolePreference(roleQuestPreference, valueOrDefault) ? 1630044728 : 1630044708); + break; + case 0: + num = (_configuration.Advanced.SkipClassJobQuests ? 1630044722 : 1630044713); + break; + case 22: + num = (IsQuestComplete(finalRoleQuests[0]) ? 1630044710 : 1630044721); + break; + case 29: + { + int num8 = num9; + num3 = 1; + num4 = num8; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num9 = num10 + (num11 + num11); + num = 1630044706; + break; + } + case 1: + list.AddRange(QuestData.CrystalTowerQuests); + num = 1630044705; + break; + case 24: + { + num = ((!_configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp) ? 1630044714 : 1630044733); + break; + } + IL_0213: + eClassJob = obj; + valueOrDefault2 = eClassJob.GetValueOrDefault(); + num = ((valueOrDefault2 == EClassJob.Adventurer) ? 1630044722 : 1630044711); + break; + IL_0305: + eClassJob = obj2; + valueOrDefault = eClassJob.GetValueOrDefault(); + num = ((valueOrDefault == EClassJob.Adventurer) ? 1630044725 : 1630044718); + break; } } - return list.Where(_questRegistry.IsKnownQuest).ToList(); } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe bool IsReadyToAcceptQuest(ElementId questId, bool ignoreLevel = false) { - if (IsQuestBlacklisted(questId)) + int num = ((!IsQuestBlacklisted(questId)) ? (-1992777380) : (-1992777347)); + IQuestInfo info = default(IQuestInfo); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + QuestInfo questInfo = default(QuestInfo); + byte b = default(byte); + QuestId questId3 = default(QuestId); + EClassJob valueOrDefault = default(EClassJob); + uint? num5 = default(uint?); + QuestId questId2 = default(QuestId); + IQuestInfo questInfo2 = default(IQuestInfo); + while (true) { - return false; - } - _questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest); - if (quest != null) - { - IQuestInfo info = quest.Info; - if (info != null && info.IsRepeatable) - { - if (IsQuestAccepted(questId)) - { - return false; - } - if (questId is QuestId questId2 && IsDailyAlliedSocietyQuest(questId2)) - { - if (QuestManager.Instance()->IsDailyQuestCompleted(questId.Value)) - { - return false; - } - if (!IsDailyAlliedSocietyQuestAndAvailableToday(questId2)) - { - return false; - } - } - else if (IsQuestComplete(questId)) - { - return false; - } - goto IL_0082; - } - } - if (IsQuestAcceptedOrComplete(questId)) - { - return false; - } - goto IL_0082; - IL_0082: - if (IsQuestLocked(questId)) - { - return false; - } - if (!ignoreLevel) - { - byte b = _objectTable.LocalPlayer?.Level ?? 0; - if (b == 0) + int num2 = num; + int num3 = -1992777348; + int num4 = num2; + EClassJob? obj; + EClassJob? eClassJob; + switch ((num4 | num3) - (num4 & num3)) { + case 24: + info = quest.Info; + num = ((info == null) ? (-1992777386) : (-1992777353)); + break; + case 9: + num = ((questInfo.Level <= b) ? (-1992777374) : (-1992777354)); + break; + case 38: + num = ((!_configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp) ? (-1992777349) : (-1992777345)); + break; + case 19: return false; - } - if (quest != null && quest.Info.Level > b) - { - if (_alreadyLoggedLevelRequirements.Add(questId.Value)) - { - _logger.LogDebug("Quest {QuestId} level requirement not met: required {RequiredLevel}, current {CurrentLevel}", questId, quest.Info.Level, b); - } + case 39: + questId3 = questId as QuestId; + num = (((object)questId3 == null) ? (-1992777348) : (-1992777363)); + break; + case 28: + num = (quest.Info.ClassJobs.Contains(valueOrDefault) ? (-1992777346) : (-1992777364)); + break; + case 20: + obj = (EClassJob)num5.GetValueOrDefault(); + goto IL_01d5; + case 34: return false; - } - if (quest == null && questId is QuestId questId3 && _questData.TryGetQuestInfo(questId3, out IQuestInfo questInfo) && questInfo is QuestInfo questInfo2 && questInfo2.Level > b) - { - if (_alreadyLoggedLevelRequirements.Add(questId3.Value)) + case 6: + num = (ignoreLevel ? (-1992777374) : (-1992777375)); + break; + case 31: + questId2 = questId as QuestId; + num = (((object)questId2 == null) ? (-1992777374) : (-1992777388)); + break; + case 15: + _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(850994949), new object[3] { - _logger.LogDebug("Quest {QuestId} (from data) level requirement not met: required {RequiredLevel}, current {CurrentLevel}", questId3, questInfo2.Level, b); - } + questId, + quest.Info.Level, + b + }); + num = -1992777391; + break; + case 33: + questInfo = questInfo2 as QuestInfo; + num = ((questInfo == null) ? (-1992777374) : (-1992777355)); + break; + case 4: + num = ((quest.Info.Level <= b) ? (-1992777360) : (-1992777359)); + break; + case 14: return false; + case 25: + return false; + case 43: + return false; + case 17: + num = ((!IsDailyAlliedSocietyQuest(questId3)) ? (-1992777348) : (-1992777366)); + break; + case 35: + return false; + case 32: + _questRegistry.TryGetQuest(questId, out quest); + num = ((quest == null) ? (-1992777386) : (-1992777372)); + break; + case 26: + return false; + case 7: + num = ((!IsQuestLocked(questId)) ? (-1992777350) : (-1992777362)); + break; + case 41: + num = (IsDailyAlliedSocietyQuestAndAvailableToday(questId3) ? (-1992777382) : (-1992777377)); + break; + case 11: + num = ((!info.IsRepeatable) ? (-1992777386) : (-1992777384)); + break; + case 3: + num = ((!WouldOvercapAlliedSocietyReputation(questId3)) ? (-1992777349) : (-1992777385)); + break; + case 2: + return true; + case 22: + num = ((!QuestManager.Instance()->IsDailyQuestCompleted(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E(questId))) ? (-1992777387) : (-1992777361)); + break; + case 1: + return false; + case 13: + num = ((!_alreadyLoggedLevelRequirements.Add(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E(questId))) ? (-1992777391) : (-1992777357)); + break; + case 16: + return false; + case 40: + num = ((!_questData.TryGetQuestInfo(questId2, out questInfo2)) ? (-1992777374) : (-1992777379)); + break; + case 44: + { + IPlayerCharacter playerCharacter2 = _206C_200E_202E_206E_202D_206B_202B_206B_200D_200C_206C_202E_200C_200F_202E_200C_200B_202B_206E_202E_202B_206B_206F_206F_206E_206B_206D_206F_202E_202C_206A_202C_202D_200D_206E_200D_200E_202C_206B_206C_202E(_objectTable); + num5 = ((playerCharacter2 != null) ? new uint?(_206B_206D_202C_202E_202B_206C_202B_206C_206C_206B_200C_206F_200C_206F_206B_206A_206E_200D_202B_206B_206A_202A_206E_202D_202B_206C_202E_202D_206F_202B_206F_206D_202D_206C_202A_206C_200D_206A_206D_206B_202E((ICharacter)playerCharacter2).RowId) : ((uint?)null)); + num = (num5.HasValue ? (-1992777368) : (-1992777369)); + break; + } + case 30: + num = ((quest == null) ? (-1992777346) : (-1992777365)); + break; + case 18: + return false; + case 42: + num = ((!IsQuestAcceptedOrComplete(questId)) ? (-1992777349) : (-1992777370)); + break; + case 8: + num = ((quest == null) ? (-1992777360) : (-1992777352)); + break; + case 36: + num = ((!IsQuestAccepted(questId)) ? (-1992777381) : (-1992777378)); + break; + case 23: + num = ((quest.Info.ClassJobs.Count <= 0) ? (-1992777346) : (-1992777392)); + break; + case 5: + return false; + case 0: + num = ((!IsQuestComplete(questId)) ? (-1992777349) : (-1992777371)); + break; + case 10: + num = ((!_alreadyLoggedLevelRequirements.Add(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)questId2))) ? (-1992777358) : (-1992777383)); + break; + case 45: + return false; + case 12: + num = ((quest != null) ? (-1992777374) : (-1992777373)); + break; + case 29: + { + IPlayerCharacter playerCharacter = _206C_200E_202E_206E_202D_206B_202B_206B_200D_200C_206C_202E_200C_200F_202E_200C_200B_202B_206E_202E_202B_206B_206F_206F_206E_206B_206D_206F_202E_202C_206A_202C_202D_200D_206E_200D_200E_202C_206B_206C_202E(_objectTable); + b = (byte)((playerCharacter != null) ? _202A_200F_206C_206F_202A_202B_202D_202E_200B_202B_202E_200B_202C_206F_202D_206D_206A_202E_200D_200E_200F_206D_206F_200C_206D_202B_206C_206E_206A_200D_200C_206A_206E_206F_206D_200F_200D_202A_206E_206F_202E((ICharacter)playerCharacter) : 0); + num = ((b != 0) ? (-1992777356) : (-1992777351)); + break; + } + case 27: + obj = null; + goto IL_01d5; + case 21: + num = -1992777347; + break; + case 37: + { + _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(1851985149), new object[3] { questId2, questInfo.Level, b }); + num = -1992777358; + break; + } + IL_01d5: + eClassJob = obj; + valueOrDefault = eClassJob.GetValueOrDefault(); + num = ((!_202D_206E_200B_200C_206B_206B_206C_206B_202A_206D_206B_206E_200D_206C_200C_200D_202A_206E_202D_206B_206C_206F_200E_202A_206B_200E_200D_200C_200C_206D_200C_202D_200E_202C_200B_206F_200C_206E_200E_200D_202E(valueOrDefault)) ? (-1992777346) : (-1992777376)); + break; } } - return true; } public bool IsQuestBlacklisted(ElementId questId) @@ -771,196 +1383,396 @@ internal sealed class QuestFunctions public bool IsQuestAcceptedOrComplete(ElementId elementId) { - if (!IsQuestComplete(elementId)) + int num = (IsQuestComplete(elementId) ? 397448495 : 397448492); + while (true) { - return IsQuestAccepted(elementId); + int num2 = num; + int num3 = 397448493; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return true; + case 1: + return IsQuestAccepted(elementId); + case 0: + goto IL_0053; + } + continue; + IL_0053: + num = 397448492; } - return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public bool IsQuestAccepted(ElementId elementId) { - if (elementId is QuestId questId) + QuestId questId = elementId as QuestId; + int num = (((object)questId == null) ? 1127700724 : 1127700727); + while (true) { - return IsQuestAccepted(questId); + int num2 = num; + int num3 = 1127700724; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1127700727; + break; + case 0: + num = ((!(elementId is UnlockLinkId)) ? 1127700720 : 1127700725); + break; + case 1: + return false; + case 3: + return IsQuestAccepted(questId); + case 4: + throw _206E_206E_206E_206E_206C_206F_206F_206B_206E_200F_206F_206D_202B_206E_206F_202D_202C_206A_206D_200B_206B_206F_206A_200E_206A_206C_200B_206B_202E_206A_206F_200E_202E_206E_202A_200E_200D_202C_202E_200F_202E(global::_003CModule_003E._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(-390564641)); + } } - 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"); } public unsafe bool IsQuestAccepted(QuestId questId) { - return QuestManager.Instance()->IsQuestAccepted(questId.Value); + return QuestManager.Instance()->IsQuestAccepted(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)questId)); } + public unsafe (QuestId Id, byte Sequence)? GetCurrentQuestWithoutPath() + { + QuestManager* ptr = QuestManager.Instance(); + int num = ((ptr != null) ? 1897423805 : 1897423796); + QuestId questId2 = default(QuestId); + QuestWork questWork = default(QuestWork); + int num8 = default(int); + int num7 = default(int); + ushort questId = default(ushort); + TrackingWork trackingWork = default(TrackingWork); + while (true) + { + int num2 = num; + int num3 = 1897423797; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 15: + return null; + case 4: + return (questId2, questWork.Sequence); + case 7: + questWork = ptr->NormalQuests[num8]; + num = ((questWork.QuestId == 0) ? 1897423800 : 1897423806); + break; + case 12: + num = 1897423796; + break; + case 8: + num7 = ptr->TrackedQuests.Length - 1; + num = 1897423795; + break; + case 13: + { + int num9 = num8; + num3 = 1; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num8 = num10 + (num11 + num11); + num = 1897423792; + break; + } + case 9: + questId = ptr->NormalQuests[trackingWork.Index].QuestId; + num = ((questId == 0) ? 1897423799 : 1897423803); + break; + case 1: + return null; + case 10: + trackingWork = ptr->TrackedQuests[num7]; + num = ((trackingWork.QuestType != 1) ? 1897423799 : 1897423804); + break; + case 2: + { + int num12 = num7; + num3 = 1; + num4 = num12; + num7 = ~(~num4 + num3); + num = 1897423795; + break; + } + case 3: + return (_206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E(questId), QuestManager.GetQuestSequence(questId)); + case 11: + questId2 = _206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E(questWork.QuestId); + num = (HasUsablePath(questId2) ? 1897423800 : 1897423793); + break; + case 0: + num8 = 0; + num = 1897423792; + break; + case 5: + num = ((num8 < ptr->NormalQuests.Length) ? 1897423794 : 1897423802); + break; + case 14: + num = (HasUsablePath(_206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E(questId)) ? 1897423799 : 1897423798); + break; + case 6: + num = ((num7 >= 0) ? 1897423807 : 1897423797); + break; + } + } + } + + private bool HasUsablePath(QuestId questId) + { + Questionable.Model.Quest quest; + int num = ((!_questRegistry.TryGetQuest(questId, out quest)) ? 390771052 : 390771054); + while (true) + { + int num2 = num; + int num3 = 390771053; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 3: + num = (_202A_202E_202A_206F_206A_206B_202A_206C_206D_206E_202B_202A_200C_202B_206F_200D_206D_200B_206E_200C_206B_200D_202E_200E_200D_200B_206F_206A_206E_206D_202B_206C_202C_202E_206C_200E_202B_202B_200F_206F_202E(quest.Root) ? 390771052 : 390771053); + break; + case 0: + return _202E_200D_202D_202D_202D_200B_200F_206A_200F_202B_206E_200B_202E_206E_206A_200D_202C_202C_200D_202D_202E_200D_202A_200F_202C_206F_206B_206C_200D_200F_200E_206F_202A_206D_206C_200B_206E_200B_200B_200E_202E(quest.Root).Count > 0; + case 2: + num = 390771054; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public bool IsQuestComplete(ElementId elementId) { - if (elementId is QuestId questId) + QuestId questId = elementId as QuestId; + int num = (((object)questId == null) ? (-2066082901) : (-2066082903)); + UnlockLinkId unlockLinkId = default(UnlockLinkId); + while (true) { - return IsQuestComplete(questId); + int num2 = num; + int num3 = -2066082904; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + unlockLinkId = elementId as UnlockLinkId; + num = (((object)unlockLinkId == null) ? (-2066082902) : (-2066082900)); + break; + case 1: + return IsQuestComplete(questId); + case 2: + throw _206E_206E_206E_206E_206C_206F_206F_206B_206E_200F_206F_206D_202B_206E_206F_202D_202C_206A_206D_200B_206B_206F_206A_200E_206A_206C_200B_206B_202E_206A_206F_200E_202E_206E_202A_200E_200D_202C_202E_200F_202E(global::_003CModule_003E._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(-2103986634)); + case 0: + num = -2066082903; + break; + case 4: + return IsQuestComplete(unlockLinkId); + } } - 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"); } public bool IsQuestComplete(QuestId questId) { - return QuestManager.IsQuestComplete(questId.Value); + return QuestManager.IsQuestComplete(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)questId)); } public unsafe bool IsQuestComplete(UnlockLinkId unlockLinkId) { - 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; + return UIState.Instance()->IsUnlockLinkUnlocked(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)unlockLinkId)); } + [MethodImpl(MethodImplOptions.NoInlining)] public bool IsQuestLocked(ElementId elementId, ElementId? extraCompletedQuest = null) { - if (elementId is QuestId questId) + QuestId questId = elementId as QuestId; + int num = (((object)questId == null) ? (-1544253381) : (-1544253382)); + UnlockLinkId unlockLinkId = default(UnlockLinkId); + while (true) { - return IsQuestLocked(questId, extraCompletedQuest); + int num2 = num; + int num3 = -1544253381; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = -1544253382; + break; + case 1: + return IsQuestLocked(questId, extraCompletedQuest); + case 0: + unlockLinkId = elementId as UnlockLinkId; + num = (((object)unlockLinkId == null) ? (-1544253383) : (-1544253384)); + break; + case 3: + return IsQuestLocked(unlockLinkId); + case 2: + throw _206E_206E_206E_206E_206C_206F_206F_206B_206E_200F_206F_206D_202B_206E_206F_202D_202C_206A_206D_200B_206B_206F_206A_200E_206A_206C_200B_206B_202E_206A_206F_200E_202E_206E_202A_200E_200D_202C_202E_200F_202E(global::_003CModule_003E._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(1715407065)); + } } - 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"); } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe bool IsQuestLocked(QuestId questId, ElementId? extraCompletedQuest = null) { - if (IsQuestUnobtainable(questId, extraCompletedQuest)) + int num = ((!IsQuestUnobtainable(questId, extraCompletedQuest)) ? (-914360076) : (-914360075)); + RetainerManager* ptr = default(RetainerManager*); + bool flag = default(bool); + IQuestInfo questInfo3 = default(IQuestInfo); + QuestInfo questInfo2 = default(QuestInfo); + byte b = default(byte); + QuestInfo questInfo = default(QuestInfo); + byte b2 = default(byte); + byte requiredGCRank = default(byte); + FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany grandCompany = default(FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany); + byte grandCompanyRank = default(byte); + while (true) { - return true; - } - QuestInfo questInfo = (QuestInfo)_questData.GetQuestInfo(questId); - if (questInfo.GrandCompany != FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.None) - { - FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany grandCompany = GetGrandCompany(); - byte grandCompanyRank = GetGrandCompanyRank(); - byte requiredGCRank = GetRequiredGCRank(questId); - if (questInfo.GrandCompany != grandCompany || grandCompanyRank < requiredGCRank) + int num2 = num; + int num3 = -914360072; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - if (_alreadyLoggedGcLockedQuests.Add(questId.Value)) + case 10: + ptr = RetainerManager.Instance(); + num = ((ptr == null) ? (-914360083) : (-914360080)); + break; + case 33: + num = ((!_journalData.MoogleDeliveryGenreId.HasValue) ? (-914360102) : (-914360079)); + break; + case 0: + num = ((!flag) ? (-914360066) : (-914360078)); + break; + case 27: + return true; + case 3: + num = ((!_questData.TryGetQuestInfo(extraCompletedQuest, out questInfo3)) ? (-914360102) : (-914360096)); + break; + case 24: + questInfo2 = questInfo3 as QuestInfo; + num = ((questInfo2 == null) ? (-914360102) : (-914360103)); + break; + case 26: + return true; + case 28: + { + byte num7 = b; + num3 = 1; + num4 = num7; + b = (byte)((num4 | num3) + (num4 & num3)); + num = -914360102; + break; + } + case 1: + num = -914360089; + break; + case 9: + num = ((questInfo2.JournalGenre != _journalData.MoogleDeliveryGenreId.Value) ? (-914360102) : (-914360092)); + break; + case 18: + return true; + case 32: + num = ((!questInfo.IsRepeatable) ? (-914360084) : (-914360070)); + break; + case 14: + num = -914360075; + break; + case 29: + flag = false; + num = -914360072; + break; + case 15: + return !HasCompletedPreviousInstances(questInfo); + case 31: + { + ushort num8 = _206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)questId); + num3 = 1432; + num4 = num8; + num = (((uint)(~(~num4 + num3)) > 2u) ? (-914360091) : (-914360082)); + break; + } + case 11: + num = ((b2 >= questInfo.AlliedSocietyRank) ? (-914360104) : (-914360086)); + break; + case 25: + num = ((questInfo.AlliedSociety == EAlliedSociety.None) ? (-914360084) : (-914360087)); + break; + case 7: + b = _206C_206D_206C_202B_200B_200E_202A_200B_202D_202C_202B_206A_202C_206A_202D_202B_206F_202E_202C_200C_202B_202D_206C_206C_206B_206B_200E_206A_202D_202A_202E_206B_206C_200F_202C_202C_202E_200F_202C_206C_202E(); + num = ((!_206E_202C_206F_202A_202E_202A_202A_200F_206C_202E_202C_206B_202A_200C_206C_206E_202D_202C_200E_200B_202A_206A_200D_202C_202C_202B_202B_206A_202D_206A_206C_206C_202D_200B_200E_200D_202E_202A_206C_206D_202E(extraCompletedQuest, (ElementId)null)) ? (-914360102) : (-914360069)); + break; + case 6: + num = ((!HasCompletedPreviousQuests(questInfo, extraCompletedQuest)) ? (-914360094) : (-914360073)); + break; + case 16: + _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(1828520044), new object[5] { questId, questInfo.GrandCompany, requiredGCRank, grandCompany, grandCompanyRank }); + num = -914360093; + break; + case 17: + b2 = _202D_200D_206A_202C_206E_206F_200E_206A_202E_200F_206D_206F_206D_202D_202D_200E_200D_206A_206D_202B_200C_206C_206D_200C_200F_202A_206C_202E_200C_206E_200B_202D_202D_206F_206A_206F_200F_202A_206E_206F_202E((byte)questInfo.AlliedSociety); + num = ((b2 == 0) ? (-914360086) : (-914360077)); + break; + case 19: + if (questInfo.JournalGenre == _journalData.MoogleDeliveryGenreId.Value) { - _logger.LogDebug("Quest {QuestId} locked: required GC {RequiredGc}, required rank {RequiredRank}, player GC {PlayerGc}, player rank {PlayerRank}", questId, questInfo.GrandCompany, requiredGCRank, grandCompany, grandCompanyRank); + num = -914360065; + break; } + goto case 1; + case 5: + grandCompany = GetGrandCompany(); + grandCompanyRank = GetGrandCompanyRank(); + requiredGCRank = QuestData.GetRequiredGCRank(questId); + num = ((questInfo.GrandCompany != grandCompany) ? (-914360068) : (-914360081)); + break; + case 20: + num = ((!_journalData.MoogleDeliveryGenreId.HasValue) ? (-914360071) : (-914360085)); + break; + case 12: + questInfo = (QuestInfo)_questData.GetQuestInfo(questId); + num = ((questInfo.GrandCompany == FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany.None) ? (-914360095) : (-914360067)); + break; + case 30: return true; - } - } - if (questInfo.AlliedSociety != EAlliedSociety.None && questInfo.IsRepeatable) - { - return !IsDailyAlliedSocietyQuestAndAvailableToday(questId); - } - if (_journalData.MoogleDeliveryGenreId.HasValue && questInfo.JournalGenre == _journalData.MoogleDeliveryGenreId.Value) - { - byte b = PlayerState.Instance()->DeliveryLevel; - if (extraCompletedQuest != null && _questData.TryGetQuestInfo(extraCompletedQuest, out IQuestInfo questInfo2) && questInfo2 is QuestInfo questInfo3 && _journalData.MoogleDeliveryGenreId.HasValue && questInfo3.JournalGenre == _journalData.MoogleDeliveryGenreId.Value) - { - b++; - } - if (questInfo.MoogleDeliveryLevel > b) - { + case 8: + num = ((ptr->MaxRetainerEntitlement != 0) ? (-914360066) : (-914360083)); + break; + case 2: + return !IsDailyAlliedSocietyQuestAndAvailableToday(questId); + case 23: + num = ((grandCompanyRank >= requiredGCRank) ? (-914360095) : (-914360068)); + break; + case 21: return true; + case 4: + num = ((!_alreadyLoggedGcLockedQuests.Add(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)questId))) ? (-914360093) : (-914360088)); + break; + case 13: + return true; + case 22: + flag = true; + num = -914360072; + break; + case 34: + num = ((questInfo.MoogleDeliveryLevel <= b) ? (-914360089) : (-914360090)); + break; } } - if (HasCompletedPreviousQuests(questInfo, extraCompletedQuest)) - { - return !HasCompletedPreviousInstances(questInfo); - } - 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) @@ -968,345 +1780,712 @@ internal sealed class QuestFunctions 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); - if (questInfo.AlliedSociety != EAlliedSociety.None) + int num = ((questInfo.AlliedSociety == EAlliedSociety.None) ? 1697823360 : 1697823363); + while (true) { - return questInfo.IsRepeatable; + int num2 = num; + int num3 = 1697823361; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 2: + return questInfo.IsRepeatable; + case 0: + goto IL_0061; + } + continue; + IL_0061: + num = 1697823363; } - return false; } public bool IsDailyAlliedSocietyQuestAndAvailableToday(QuestId questId) { - if (!IsDailyAlliedSocietyQuest(questId)) + int num = (IsDailyAlliedSocietyQuest(questId) ? 919802169 : 919802170); + while (true) { - return false; + int num2 = num; + int num3 = 919802171; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0047; + case 2: + { + QuestInfo questInfo = (QuestInfo)_questData.GetQuestInfo(questId); + return _alliedSocietyQuestFunctions.GetAvailableAlliedSocietyQuests(questInfo.AlliedSociety).Contains(questId); + } + case 1: + return false; + } + continue; + IL_0047: + num = 919802170; + } + } + + public bool WouldOvercapAlliedSocietyReputation(QuestId questId) + { + int num = (IsDailyAlliedSocietyQuest(questId) ? 2116876460 : 2116876461); + while (true) + { + int num2 = num; + int num3 = 2116876460; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0049; + case 0: + return _alliedSocietyQuestFunctions.WouldOvercapReputation(questId); + case 1: + return false; + } + continue; + IL_0049: + num = 2116876461; + } + } + + public QuestId? GetRankUpQuestIfAtCapacity(EAlliedSociety alliedSociety) + { + (byte, ushort, ushort, bool, bool)? reputationStatus = _alliedSocietyQuestFunctions.GetReputationStatus(alliedSociety); + int num = (reputationStatus.HasValue ? 1865488196 : 1865488197); + byte item2 = default(byte); + bool item = default(bool); + while (true) + { + int num2 = num; + int num3 = 1865488196; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + { + (byte, ushort, ushort, bool, bool) value = reputationStatus.Value; + item2 = value.Item1; + bool item3 = value.Item4; + item = value.Item5; + num = (item3 ? 1865488198 : 1865488199); + break; + } + case 4: + return _alliedSocietyQuestFunctions.GetRankUpQuest(alliedSociety, item2); + case 5: + num = 1865488197; + break; + case 3: + num = (item ? 1865488192 : 1865488198); + break; + case 2: + return null; + case 1: + return null; + } + } + } + + public List GetAllRankUpQuestsNeeded() + { + List list = new List(); + IEnumerator enumerator = (from s in Enum.GetValues() + where s != EAlliedSociety.None + select s).GetEnumerator(); + try + { + int num = 588258585; + QuestId rankUpQuestIfAtCapacity = default(QuestId); + while (true) + { + int num2 = num; + int num3 = 588258585; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + list.Add(rankUpQuestIfAtCapacity); + num = 588258585; + break; + case 6: + { + EAlliedSociety current = enumerator.Current; + rankUpQuestIfAtCapacity = GetRankUpQuestIfAtCapacity(current); + num = ((!_206E_202C_206F_202A_202E_202A_202A_200F_206C_202E_202C_206B_202A_200C_206C_206E_202D_202C_200E_200B_202A_206A_200D_202C_202C_202B_202B_206A_202D_206A_206C_206C_202D_200B_200E_200D_202E_202A_206C_206D_202E((ElementId)rankUpQuestIfAtCapacity, (ElementId)null)) ? 588258585 : 588258587); + break; + } + case 3: + num = 588258585; + break; + case 0: + num = (_206A_200C_206C_206A_206C_202A_200E_206E_206E_200C_200D_206D_202E_206C_200F_206C_206A_202C_206A_206C_202E_206C_202A_202D_206C_202E_206C_206B_206F_200C_202E_200F_200F_200B_200D_206F_200C_200F_200E_206F_202E((IEnumerator)enumerator) ? 588258591 : 588258584); + break; + case 4: + num = (IsQuestAccepted(rankUpQuestIfAtCapacity) ? 588258585 : 588258588); + break; + case 2: + num = (IsQuestComplete(rankUpQuestIfAtCapacity) ? 588258585 : 588258589); + break; + case 1: + return list; + } + } + } + finally + { + int num = ((enumerator == null) ? (-621829932) : (-621829929)); + while (true) + { + int num5 = num; + int num3 = -621829930; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + goto end_IL_0160; + case 1: + _202D_206D_202A_206C_206E_200E_200E_206B_200E_200D_200D_206D_206B_200C_206A_200E_202C_206F_200C_206F_202B_200D_206D_202C_206B_206E_200E_206D_202C_200D_202C_206A_200C_200C_200F_200B_202A_206F_206C_206F_202E((IDisposable)enumerator); + num = -621829932; + break; + case 0: + num = -621829929; + break; + } + continue; + end_IL_0160: + break; + } } - QuestInfo questInfo = (QuestInfo)_questData.GetQuestInfo(questId); - return _alliedSocietyQuestFunctions.GetAvailableAlliedSocietyQuests(questInfo.AlliedSociety).Contains(questId); } public bool IsQuestUnobtainable(ElementId elementId, ElementId? extraCompletedQuest = null) { - if (elementId is QuestId questId) + QuestId questId = elementId as QuestId; + int num = (((object)questId == null) ? (-166207396) : (-166207395)); + UnlockLinkId unlockLinkId = default(UnlockLinkId); + while (true) { - return IsQuestUnobtainable(questId, extraCompletedQuest); + int num2 = num; + int num3 = -166207396; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return IsQuestUnobtainableStatic(unlockLinkId); + case 1: + return IsQuestUnobtainable(questId, extraCompletedQuest); + case 0: + unlockLinkId = elementId as UnlockLinkId; + num = (((object)unlockLinkId == null) ? (-166207400) : (-166207394)); + break; + case 4: + return false; + case 3: + num = -166207395; + break; + } } - if (elementId is UnlockLinkId unlockLinkId) - { - return IsQuestUnobtainableStatic(unlockLinkId); - } - return false; } private static bool IsQuestUnobtainableStatic(UnlockLinkId unlockLinkId) { - if (unlockLinkId.Value == 506) + int num = ((_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)unlockLinkId) != 506) ? (-1159477851) : (-1159477850)); + while (true) { - return !IsFestivalActive(160, (ushort)2); + int num2 = num; + int num3 = -1159477849; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1159477850; + break; + case 1: + return !IsFestivalActive(160, (ushort)2); + case 3: + return !IsFestivalActive(160, (ushort)3); + case 2: + num = ((_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)unlockLinkId) != 568) ? (-1159477853) : (-1159477852)); + break; + case 4: + return true; + } } - if (unlockLinkId.Value == 568) - { - return !IsFestivalActive(160, (ushort)3); - } - return true; } - public unsafe bool IsQuestUnobtainable(QuestId questId, ElementId? extraCompletedQuest = null) + [MethodImpl(MethodImplOptions.NoInlining)] + public bool IsQuestUnobtainable(QuestId questId, ElementId? extraCompletedQuest = null) { IQuestInfo questInfo = _questData.GetQuestInfo(questId); - if (questInfo is UnlockLinkQuestInfo { QuestExpiry: { TimeOfDay: var timeOfDay } questExpiry }) + UnlockLinkQuestInfo unlockLinkQuestInfo = questInfo as UnlockLinkQuestInfo; + int num = ((unlockLinkQuestInfo == null) ? 449197430 : 449197379); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + DateTime valueOrDefault = default(DateTime); + DateTime? expiry = default(DateTime?); + DateTime dateTime = default(DateTime); + int num7 = default(int); + EClassJob value = default(EClassJob); + QuestInfo questInfo2 = default(QuestInfo); + byte b = default(byte); + List list = default(List); + while (true) { - 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()); - } - 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); - } - if (DateTime.UtcNow > dateTime) + int num2 = num; + int num3 = 449197395; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + object obj; + switch (num5 - (num6 + num6)) { + case 44: return true; - } - } - QuestInfo questInfo2 = (QuestInfo)questInfo; - if ((int)questInfo2.Expansion > (int)PlayerState.Instance()->MaxExpansion) - { - return true; - } - if (questInfo2.JournalGenre.HasValue && _journalData.SeasonalEventGenreIds.Contains(questInfo2.JournalGenre.Value)) - { - if (_questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest)) + case 35: + return true; + case 20: { - List list = quest?.Root?.QuestSequence; - if (list != null && list.Count > 0) + QuestRoot root = quest.Root; + obj = ((root != null) ? _200F_200B_200B_206F_206E_206B_206F_200D_202C_202D_202A_206B_202A_202D_206C_200B_206F_206D_202A_202A_200D_202A_200C_202D_206F_206A_206B_200C_202B_206C_200F_200E_206C_206F_200D_206C_206C_206A_200E_206E_202E(root) : null); + goto IL_0159; + } + case 48: + return true; + case 13: + return true; + case 31: + valueOrDefault = expiry.GetValueOrDefault(); + dateTime = ExpiryUtils.NormalizeExpiry(valueOrDefault); + num = ((!_alreadyLoggedUnobtainableQuestsDetailed.Add(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)questId))) ? 449197398 : 449197429); + break; + case 28: + num = ((!_alreadyLoggedUnobtainableQuestsDetailed.Add(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)questId))) ? 449197387 : 449197410); + break; + case 17: + num = ((!CloseToHomeQuests.Any((KeyValuePair x) => IsQuestAcceptedOrComplete(_003C_003Ec__DisplayClass48_0._206E_202D_206E_200E_202E_206B_206B_202B_206D_202B_202D_206C_206E_202D_200B_206B_200E_200C_200F_206D_206C_206B_200B_202C_206F_206A_206A_202C_206D_206E_206F_206D_206A_202D_200C_200F_206F_200B_200B_206C_202E(x.Key)))) ? 449197409 : 449197404); + break; + case 52: + num = ((num7 <= 0) ? 449197395 : 449197428); + break; + case 15: + num = (((EClassJob)_202A_206F_206B_200E_206D_202B_200F_206E_202B_206D_200B_200C_206F_202D_206B_206B_202E_206C_202A_200F_202C_206B_200D_200B_200F_206C_206F_206E_200F_206E_200E_200C_206A_202E_202C_200F_206F_202A_206B_206E_202E() == value) ? 449197409 : 449197405); + break; + case 40: + num = ((questInfo2.QuestLocks.Count <= 0) ? 449197395 : 449197380); + break; + case 14: + return true; + case 42: + num = ((b == 3) ? 449197402 : 449197385); + break; + case 16: + expiry = unlockLinkQuestInfo.QuestExpiry; + num = ((!expiry.HasValue) ? 449197430 : 449197388); + break; + case 24: + return true; + case 22: + { + DateTime valueOrDefault2 = expiry.GetValueOrDefault(); + num = ((!(DateTime.UtcNow > ExpiryUtils.NormalizeExpiry(valueOrDefault2))) ? 449197438 : 449197406); + break; + } + case 51: + num = ((!questInfo2.IsSeasonalQuest) ? 449197394 : 449197377); + break; + case 49: + { + QuestData questData = _questData; + expiry = null; + questData.ApplySeasonalOverride(questId, isSeasonal: true, expiry); + _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(543870668), new object[2] { questId, questInfo2.JournalGenre }); + num = 449197387; + break; + } + case 46: + return false; + case 36: + if (list.Count > 0) { - goto IL_01fd; + num = 449197435; + break; } - } - if (_alreadyLoggedUnobtainableQuestsDetailed.Add(questId.Value)) - { - _questData.ApplySeasonalOverride(questId, isSeasonal: true, null); - } - return true; - } - goto IL_01fd; - IL_01fd: - if (questInfo2.QuestLocks.Count > 0) - { - int num = questInfo2.QuestLocks.Count((QuestId x) => IsQuestComplete(x) || x.Equals(extraCompletedQuest)); - if (questInfo2.QuestLockJoin == EQuestJoin.All && questInfo2.QuestLocks.Count == num) - { + goto case 21; + case 19: + obj = null; + goto IL_0159; + case 25: + b = _206C_202C_200B_200C_202D_206A_200C_206C_206D_202D_200D_202D_206E_202D_200F_202E_206A_200E_206A_200E_200D_202C_202C_202E_206D_200E_206C_200B_200D_206D_202D_206C_200F_200D_202D_206D_202A_206D_202B_200E_202E(); + num = ((questInfo2.StartingCity <= 0) ? 449197384 : 449197390); + break; + case 4: return true; - } - if (questInfo2.QuestLockJoin == EQuestJoin.AtLeastOne && num > 0) - { + case 12: + num = ((!_questRegistry.TryGetQuest(questId, out quest)) ? 449197382 : 449197426); + break; + case 5: + num = ((!(DateTime.UtcNow > dateTime)) ? 449197430 : 449197401); + break; + case 2: return true; - } - } - DateTime? seasonalQuestExpiry = questInfo2.SeasonalQuestExpiry; - 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) - { + case 7: + num = ((questInfo2.QuestLocks.Count != num7) ? 449197397 : 449197411); + break; + case 47: + num = ((b != 3) ? 449197389 : 449197439); + break; + case 39: return true; + case 27: + num = ((_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)questId) != 674) ? 449197389 : 449197436); + break; + case 1: + num = ((!QuestData.GetLockedClassQuests().Contains(questId)) ? 449197386 : 449197427); + break; + case 45: + num = (questInfo2.IsSeasonalEvent ? 449197377 : 449197408); + break; + case 34: + num = 449197379; + break; + case 10: + return true; + case 18: + expiry = questInfo2.SeasonalQuestExpiry; + num = (expiry.HasValue ? 449197394 : 449197403); + break; + case 8: + num = (_configuration.General.ShowIncompleteSeasonalEvents ? 449197394 : 449197393); + break; + case 38: + _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(770553959), new object[3] + { + questId, + valueOrDefault.ToString(global::_003CModule_003E._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(1434447138)), + dateTime + }); + num = 449197398; + break; + case 11: + num = ((!questInfo2.JournalGenre.HasValue) ? 449197435 : 449197392); + break; + case 3: + num = ((!_journalData.SeasonalEventGenreIds.Contains(questInfo2.JournalGenre.Value)) ? 449197435 : 449197407); + break; + case 32: + return true; + case 21: + case 41: + num = 449197391; + break; + case 26: + return true; + case 9: + num = ((!CloseToHomeQuests.TryGetValue(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)questId), out value)) ? 449197409 : 449197378); + break; + case 29: + num = ((questInfo2.StartingCity == b) ? 449197384 : 449197432); + break; + case 37: + questInfo2 = (QuestInfo)questInfo; + num = (((int)questInfo2.Expansion <= (int)_200F_202C_202E_200B_202C_206F_202D_200E_206E_202E_206C_206F_206D_202B_206E_202E_202C_200B_202A_200E_206D_202D_200F_206A_202B_206E_202A_206E_202C_200F_202A_202B_200D_206B_206B_200D_206B_206D_200B_202B_202E()) ? 449197400 : 449197424); + break; + case 30: + num = ((_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)questId) != 673) ? 449197402 : 449197433); + break; + case 0: + expiry = questInfo2.SeasonalQuestExpiry; + num = ((!expiry.HasValue) ? 449197438 : 449197381); + break; + case 50: + num = ((!IsQuestRemoved(questId)) ? 449197437 : 449197399); + break; + case 43: + return true; + case 6: + num = ((questInfo2.QuestLockJoin != EQuestJoin.AtLeastOne) ? 449197395 : 449197415); + break; + case 33: + num = ((quest != null) ? 449197383 : 449197376); + break; + case 23: + { + num7 = questInfo2.QuestLocks.Count(delegate(QuestId x) + { + int num8 = (IsQuestComplete(x) ? 1809882662 : 1809882661); + while (true) + { + int num9 = num8; + int num10 = 1809882660; + int num11 = num9; + int num12 = num11 + num10; + int num13 = num11 & num10; + switch (num12 - (num13 + num13)) + { + case 0: + goto IL_004e; + case 2: + return true; + case 1: + return _003C_003Ec__DisplayClass48_0._206D_200C_200B_206C_206E_206D_202E_206C_200F_206F_206A_206D_202A_206C_200F_202E_206B_206A_200D_202D_206C_202E_202B_206E_206F_202B_206F_200E_206C_206A_202E_206F_200F_200D_200C_202C_200E_206F_206C_202E_202E((ElementId)x, extraCompletedQuest); + } + continue; + IL_004e: + num8 = 1809882661; + } + }); + num = ((questInfo2.QuestLockJoin != EQuestJoin.All) ? 449197397 : 449197396); + break; + } + IL_0159: + list = (List)obj; + num = ((list == null) ? 449197434 : 449197431); + break; } } - if ((questInfo2.IsSeasonalEvent || questInfo2.IsSeasonalQuest) && !questInfo2.SeasonalQuestExpiry.HasValue && !_configuration.General.ShowIncompleteSeasonalEvents) - { - return true; - } - if (_questData.GetLockedClassQuests().Contains(questId)) - { - return true; - } - byte startTown = PlayerState.Instance()->StartTown; - if (questInfo2.StartingCity > 0 && questInfo2.StartingCity != startTown) - { - return true; - } - if (questId.Value == 674 && startTown == 3) - { - return true; - } - if (questId.Value == 673 && startTown != 3) - { - 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) - { - return true; - } - if (IsQuestRemoved(questId)) - { - return true; - } - return false; } private unsafe static bool IsFestivalActive(ushort id, ushort? phase = null) { - for (int i = 0; i < GameMain.Instance()->ActiveFestivals.Length; i++) + int num = 0; + int num2 = -858824134; + GameMain.Festival festival = default(GameMain.Festival); + while (true) { - GameMain.Festival festival = GameMain.Instance()->ActiveFestivals[i]; - if (festival.Id == id) + int num3 = num2; + int num4 = -858824129; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) { - if (phase.HasValue) - { - return festival.Phase == phase; - } + case 5: + num2 = ((num < GameMain.Instance()->ActiveFestivals.Length) ? (-858824135) : (-858824132)); + break; + case 7: + { + int num8 = num; + num4 = 1; + num5 = num8; + num = (num5 | num4) + (num5 & num4); + num2 = -858824134; + break; + } + case 6: + festival = GameMain.Instance()->ActiveFestivals[num]; + num2 = ((festival.Id != id) ? (-858824136) : (-858824129)); + break; + case 4: + num2 = -858824134; + break; + case 0: + num2 = ((!phase.HasValue) ? (-858824131) : (-858824130)); + break; + case 3: + return false; + case 1: + return festival.Phase == phase; + case 2: return true; } } - return false; } public bool IsQuestRemoved(ElementId elementId) { - if (elementId is QuestId questId) + QuestId questId = elementId as QuestId; + int num = (((object)questId == null) ? (-611057895) : (-611057894)); + while (true) { - return IsQuestRemoved(questId); + int num2 = num; + int num3 = -611057896; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return RemovedQuestIds.Contains(_206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E((ElementId)questId)); + case 0: + goto IL_005d; + } + continue; + IL_005d: + num = -611057894; } - return false; } - private bool IsQuestRemoved(QuestId questId) + private bool HasCompletedPreviousQuests(QuestInfo questInfo, ElementId? extraCompletedQuest) { - ushort value = questId.Value; - if (value == 487 || (uint)(value - 1428) <= 1u) + int num = ((questInfo.PreviousQuests.Count != 0) ? 1298444919 : 1298444917); + int num5 = default(int); + while (true) { - return true; + int num2 = num; + int num3 = 1298444913; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return true; + case 5: + num = ((questInfo.PreviousQuestJoin != EQuestJoin.AtLeastOne) ? 1298444921 : 1298444914); + break; + case 6: + num5 = questInfo.PreviousQuests.Count(delegate(PreviousQuestInfo x) + { + int num6 = (HasEnoughProgressOnPreviousQuest(x) ? 1555514480 : 1555514481); + while (true) + { + int num7 = num6; + int num8 = 1555514480; + int num9 = num7; + int num10 = num9 + num8; + int num11 = num9 & num8; + switch (num10 - (num11 + num11)) + { + case 2: + goto IL_004e; + case 1: + return _003C_003Ec__DisplayClass52_0._202D_200D_202D_202C_202C_200D_206F_200E_206A_206A_206E_200B_202E_206C_202C_202E_206D_202D_206D_200E_202A_202E_206A_206A_202C_202E_202C_200E_200C_206B_200B_200F_206C_206E_200F_202B_200C_202E_202E_206C_202E((ElementId)x.QuestId, extraCompletedQuest); + case 0: + return true; + } + continue; + IL_004e: + num6 = 1555514481; + } + }); + num = ((questInfo.PreviousQuestJoin != EQuestJoin.All) ? 1298444916 : 1298444912); + break; + case 1: + num = ((questInfo.PreviousQuests.Count != num5) ? 1298444916 : 1298444918); + break; + case 4: + return true; + case 3: + num = ((num5 <= 0) ? 1298444921 : 1298444915); + break; + case 7: + return true; + case 8: + return false; + case 0: + num = 1298444917; + break; + } } - return false; - } - - private bool HasCompletedPreviousQuests(IQuestInfo questInfo, ElementId? extraCompletedQuest) - { - if (questInfo.PreviousQuests.Count == 0) - { - return true; - } - int num = questInfo.PreviousQuests.Count((PreviousQuestInfo x) => HasEnoughProgressOnPreviousQuest(x) || x.QuestId.Equals(extraCompletedQuest)); - if (questInfo.PreviousQuestJoin == EQuestJoin.All && questInfo.PreviousQuests.Count == num) - { - return true; - } - if (questInfo.PreviousQuestJoin == EQuestJoin.AtLeastOne && num > 0) - { - return true; - } - return false; } private bool HasEnoughProgressOnPreviousQuest(PreviousQuestInfo previousQuestInfo) { - if (IsQuestComplete(previousQuestInfo.QuestId)) + int num = ((!IsQuestComplete(previousQuestInfo.QuestId)) ? 2049591823 : 2049591820); + QuestProgressInfo questProgressInfo = default(QuestProgressInfo); + while (true) { - return true; - } - if (previousQuestInfo.Sequence != 0 && IsQuestAccepted(previousQuestInfo.QuestId)) - { - QuestProgressInfo questProgressInfo = GetQuestProgressInfo(previousQuestInfo.QuestId); - if (questProgressInfo != null) + int num2 = num; + int num3 = 2049591818; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 5: + num = ((previousQuestInfo.Sequence == 0) ? 2049591819 : 2049591822); + break; + case 7: + return false; + case 4: + num = ((!IsQuestAccepted(previousQuestInfo.QuestId)) ? 2049591819 : 2049591818); + break; + case 2: + num = 2049591820; + break; + case 6: + return true; + case 0: + questProgressInfo = GetQuestProgressInfo(previousQuestInfo.QuestId); + num = ((questProgressInfo == null) ? 2049591821 : 2049591817); + break; + case 1: + return false; + case 3: return questProgressInfo.Sequence >= previousQuestInfo.Sequence; } - return false; } - return false; } private static bool HasCompletedPreviousInstances(QuestInfo questInfo) { - if (questInfo.PreviousInstanceContent.Count == 0) + int num = ((questInfo.PreviousInstanceContent.Count != 0) ? 522219313 : 522219317); + int num7 = default(int); + while (true) { - return true; + int num2 = num; + int num3 = 522219319; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + num = 522219317; + break; + case 3: + num = ((questInfo.PreviousInstanceContentJoin != EQuestJoin.AtLeastOne) ? 522219319 : 522219315); + break; + case 0: + return false; + case 6: + num7 = questInfo.PreviousInstanceContent.Count((ushort x) => UIState.IsInstanceContentCompleted(x)); + num = ((questInfo.PreviousInstanceContentJoin != EQuestJoin.All) ? 522219316 : 522219318); + break; + case 8: + return true; + case 2: + return true; + case 5: + return true; + case 4: + num = ((num7 <= 0) ? 522219319 : 522219327); + break; + case 1: + num = ((questInfo.PreviousInstanceContent.Count != num7) ? 522219316 : 522219314); + break; + } } - int num = questInfo.PreviousInstanceContent.Count((ushort x) => UIState.IsInstanceContentCompleted(x)); - if (questInfo.PreviousInstanceContentJoin == EQuestJoin.All && questInfo.PreviousInstanceContent.Count == num) - { - return true; - } - if (questInfo.PreviousInstanceContentJoin == EQuestJoin.AtLeastOne && num > 0) - { - return true; - } - 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 _200F_202C_200E_202A_206F_200D_206D_200F_206B_202B_206E_202B_206F_200E_200E_206E_200D_202B_202C_202C_202D_202D_202C_200B_202A_202C_206C_202D_200F_200B_206C_200B_202D_202C_202B_202B_202D_206A_200F_202A_202E(classJob, _dataManager); } public bool IsJobUnlocked(EClassJob classJob) { - return IsClassJobUnlocked((EClassJob)_dataManager.GetExcelSheet().GetRow((uint)classJob).ClassJobParent.RowId); + return _206D_200E_202A_200E_206F_200B_200E_202D_200E_202D_206C_206D_202D_206B_200C_200B_200B_206C_206B_200D_206F_206A_206A_200E_200D_206C_202B_200F_206F_202A_200F_206D_200D_202D_200D_202A_200E_206E_206C_202A_202E(classJob, _dataManager); } - public unsafe FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany GetGrandCompany() + public static FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany GetGrandCompany() { - return (FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany)PlayerState.Instance()->GrandCompany; + return _202B_200D_206E_206C_200E_200B_200C_206F_206B_200B_206A_200E_206F_206F_200F_206B_202B_202B_202A_202D_202C_200E_206B_202A_200B_206A_200D_200E_206A_200F_202A_202A_206F_206C_200E_202A_200B_206D_206E_206C_202E(); } - public unsafe byte GetGrandCompanyRank() + public static byte GetGrandCompanyRank() { - return PlayerState.Instance()->GetGrandCompanyRank(); + return _202C_202E_206C_206E_206F_200D_202A_202A_206C_206B_206A_200F_200F_200D_200E_206F_200E_202D_206D_200B_206C_206A_206F_206E_200B_206C_202B_202C_202B_200E_206A_200F_206F_206E_202B_206E_200D_202B_202D_202E(); } public bool IsMainScenarioQuestComplete() @@ -1316,40 +2495,236 @@ internal sealed class QuestFunctions public (bool isLevelLocked, int levelsNeeded, int requiredLevel, string? questName) GetMsqLevelLockInfo() { - byte b = _objectTable.LocalPlayer?.Level ?? 0; - if (b == 0) + IPlayerCharacter playerCharacter = _206C_200E_202E_206E_202D_206B_202B_206B_200D_200C_206C_202E_200C_200F_202E_200C_200B_202B_206E_202E_202B_206B_206F_206F_206E_206B_206D_206F_202E_202C_206A_202C_202D_200D_206E_200D_200E_202C_206B_206C_202E(_objectTable); + byte b = (byte)((playerCharacter != null) ? _202A_200F_206C_206F_202A_202B_202D_202E_200B_202B_202E_200B_202C_206F_202D_206D_206A_202E_200D_200E_200F_206D_206F_200C_206D_202B_206C_206E_206A_200D_200C_206A_206E_206F_206D_200F_200D_202A_206E_206F_202E((ICharacter)playerCharacter) : 0); + int num = ((b != 0) ? (-481817962) : (-481817955)); + QuestReference item = default(QuestReference); + int level = default(int); + QuestInfo questInfo = default(QuestInfo); + IQuestInfo questInfo2 = default(IQuestInfo); + int level2 = default(int); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + QuestId questId = default(QuestId); + while (true) { - return (isLevelLocked: false, levelsNeeded: 0, requiredLevel: 0, questName: null); - } - QuestReference item = GetMainScenarioQuest().Item1; - if (item.CurrentQuest == null) - { - return (isLevelLocked: false, levelsNeeded: 0, requiredLevel: 0, questName: null); - } - if (IsQuestAccepted(item.CurrentQuest)) - { - return (isLevelLocked: false, levelsNeeded: 0, requiredLevel: 0, questName: null); - } - if (_questRegistry.TryGetQuest(item.CurrentQuest, out Questionable.Model.Quest quest)) - { - int level = quest.Info.Level; - if (level <= b) + int num2 = num; + int num3 = -481817966; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - return (isLevelLocked: false, levelsNeeded: 0, requiredLevel: level, questName: null); + case 7: + num = ((!IsQuestAccepted(item.CurrentQuest)) ? (-481817960) : (-481817961)); + break; + case 3: + { + int num8 = level; + num3 = b; + num4 = num8; + int item3 = ~(~num4 + num3); + return (isLevelLocked: true, levelsNeeded: item3, requiredLevel: level, questName: questInfo.Name); } - int item2 = level - b; - return (isLevelLocked: true, levelsNeeded: item2, requiredLevel: level, questName: quest.Info.Name); - } - if (item.CurrentQuest is QuestId elementId && _questData.TryGetQuestInfo(elementId, out IQuestInfo questInfo) && questInfo is QuestInfo questInfo2) - { - int level2 = questInfo2.Level; - if (level2 <= b) - { + case 1: + level = questInfo.Level; + num = ((level > b) ? (-481817967) : (-481817966)); + break; + case 14: + questInfo = questInfo2 as QuestInfo; + num = ((questInfo == null) ? (-481817958) : (-481817965)); + break; + case 2: + num = -481817955; + break; + case 8: + return (isLevelLocked: false, levelsNeeded: 0, requiredLevel: 0, questName: null); + case 9: return (isLevelLocked: false, levelsNeeded: 0, requiredLevel: level2, questName: null); + case 12: + { + int num7 = level2; + num3 = b; + num4 = num7; + int item2 = ~(~num4 + num3); + return (isLevelLocked: true, levelsNeeded: item2, requiredLevel: level2, questName: quest.Info.Name); + } + case 11: + questId = item.CurrentQuest as QuestId; + num = (((object)questId == null) ? (-481817958) : (-481817953)); + break; + case 13: + num = ((!_questData.TryGetQuestInfo(questId, out questInfo2)) ? (-481817958) : (-481817956)); + break; + case 4: + item = GetMainScenarioQuest().Item1; + num = ((!_200D_202C_202E_202E_202E_206C_206B_206C_202D_206D_206B_202E_206A_202D_200B_206B_206E_206E_202A_200D_200C_200F_200D_206C_206E_200B_206A_200B_200C_202A_206F_202B_202B_206C_200E_200B_206E_200D_202A_202E(item.CurrentQuest, (ElementId)null)) ? (-481817963) : (-481817964)); + break; + case 6: + return (isLevelLocked: false, levelsNeeded: 0, requiredLevel: 0, questName: null); + case 0: + return (isLevelLocked: false, levelsNeeded: 0, requiredLevel: level, questName: null); + case 16: + level2 = quest.Info.Level; + num = ((level2 > b) ? (-481817954) : (-481817957)); + break; + case 10: + num = ((!_questRegistry.TryGetQuest(item.CurrentQuest, out quest)) ? (-481817959) : (-481817982)); + break; + case 15: + return (isLevelLocked: false, levelsNeeded: 0, requiredLevel: 0, questName: null); + case 5: + return (isLevelLocked: false, levelsNeeded: 0, requiredLevel: 0, questName: null); } - int item3 = level2 - b; - return (isLevelLocked: true, levelsNeeded: item3, requiredLevel: level2, questName: questInfo2.Name); } - return (isLevelLocked: false, levelsNeeded: 0, requiredLevel: 0, questName: null); + } + + static void _202D_202C_202A_206D_202C_202C_202A_200F_200F_202B_202C_202A_206A_202D_200D_200E_202E_206E_200E_200C_200D_206A_206A_206D_202A_200E_206D_200B_202A_206C_206D_200D_200F_206A_206A_200B_206F_200C_206B_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static QuestId _206E_200C_200C_202B_206D_202B_206B_200C_202A_206A_202E_202B_206F_206A_200D_202E_200B_202D_202D_206A_200D_200C_202C_202D_206D_202A_206F_200F_200D_202B_202C_206C_200C_202B_206F_206C_206D_206B_200C_206E_202E(ushort P_0) + { + return new QuestId(P_0); + } + + static ushort _206E_202D_206E_206C_202E_200F_206A_206E_200F_202A_206F_202B_200F_202C_206D_200D_206F_202A_200B_200F_200D_206B_200D_202E_206E_202E_202D_202D_200C_206A_206F_206B_206D_202D_206D_202A_202E_206A_202D_202A_202E(ElementId P_0) + { + return P_0.Value; + } + + static bool _206E_202C_206F_202A_202E_202A_202A_200F_206C_202E_202C_206B_202A_200C_206C_206E_202D_202C_200E_200B_202A_206A_200D_202C_202C_202B_202B_206A_202D_206A_206C_206C_202D_200B_200E_200D_202E_202A_206C_206D_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static void _206E_200F_202E_206E_200F_206E_202D_200C_202B_200C_202A_206B_202D_206A_200C_202A_206B_202C_206D_206E_206B_200E_206F_200E_206F_202E_200D_202B_202A_202E_202A_200D_206E_202E_202E_202A_200C_200E_206E_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static IPlayerCharacter _206C_200E_202E_206E_202D_206B_202B_206B_200D_200C_206C_202E_200C_200F_202E_200C_200B_202B_206E_202E_202B_206B_206F_206F_206E_206B_206D_206F_202E_202C_206A_202C_202D_200D_206E_200D_200E_202C_206B_206C_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static byte _202A_200F_206C_206F_202A_202B_202D_202E_200B_202B_202E_200B_202C_206F_202D_206D_206A_202E_200D_200E_200F_206D_206F_200C_206D_202B_206C_206E_206A_200D_200C_206A_206E_206F_206D_200F_200D_202A_206E_206F_202E(ICharacter P_0) + { + return P_0.Level; + } + + static void _200F_206C_200D_206D_200B_202D_202B_200C_202E_206D_206F_202E_200F_200B_206A_200B_206A_202E_206D_200B_206B_202C_200C_202B_206D_202B_202B_200C_202D_202E_206A_206D_200B_200F_206E_206C_200D_200E_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static string _206A_202B_206A_202E_200D_200D_206A_200D_206E_200C_206D_206E_206E_200F_200C_206B_206E_202C_206B_206B_206E_200B_202D_206D_206A_200B_202C_206F_206D_206E_200E_200C_200C_200F_200C_206C_202D_206F_200B_206F_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static nint _200C_200E_202D_206B_206E_202B_206F_206A_202C_200D_200E_206F_206F_200D_206E_206B_200D_202E_206B_200F_206F_206A_202A_206E_206C_202C_206F_206C_202C_200C_200F_206B_206E_202C_202A_202E_200E_202B_202C_200E_202E(IGameObject P_0) + { + return P_0.Address; + } + + static List _206E_200B_200C_206A_206B_200E_202C_202C_200E_206B_202B_200E_200E_202E_200B_202E_206C_202C_206A_202C_206E_202D_202C_206F_202A_202B_202B_202B_206A_202D_206D_202C_202E_206E_202E_206F_206C_206A_206F_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static RowRef _206B_206D_202C_202E_202B_206C_202B_206C_206C_206B_200C_206F_200C_206F_206B_206A_206E_200D_202B_206B_206A_202A_206E_202D_202B_206C_202E_202D_206F_202B_206F_206D_202D_206C_202A_206C_200D_206A_206D_206B_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static bool _202D_206E_200B_200C_206B_206B_206C_206B_202A_206D_206B_206E_200D_206C_200C_200D_202A_206E_202D_206B_206C_206F_200E_202A_206B_200E_200D_200C_200C_206D_200C_202D_200E_202C_200B_206F_200C_206E_200E_200D_202E(EClassJob P_0) + { + return P_0.IsLimitedJob(); + } + + static ArgumentOutOfRangeException _206E_206E_206E_206E_206C_206F_206F_206B_206E_200F_206F_206D_202B_206E_206F_202D_202C_206A_206D_200B_206B_206F_206A_200E_206A_206C_200B_206B_202E_206A_206F_200E_202E_206E_202A_200E_200D_202C_202E_200F_202E(string P_0) + { + return new ArgumentOutOfRangeException(P_0); + } + + static bool _202A_202E_202A_206F_206A_206B_202A_206C_206D_206E_202B_202A_200C_202B_206F_200D_206D_200B_206E_200C_206B_200D_202E_200E_200D_200B_206F_206A_206E_206D_202B_206C_202C_202E_206C_200E_202B_202B_200F_206F_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static List _202E_200D_202D_202D_202D_200B_200F_206A_200F_202B_206E_200B_202E_206E_206A_200D_202C_202C_200D_202D_202E_200D_202A_200F_202C_206F_206B_206C_200D_200F_200E_206F_202A_206D_206C_200B_206E_200B_200B_200E_202E(QuestRoot P_0) + { + return P_0.QuestSequence; + } + + static byte _202D_200D_206A_202C_206E_206F_200E_206A_202E_200F_206D_206F_206D_202D_202D_200E_200D_206A_206D_202B_200C_206C_206D_200C_200F_202A_206C_202E_200C_206E_200B_202D_202D_206F_206A_206F_200F_202A_206E_206F_202E(byte P_0) + { + return PlayerStateHelper.GetBeastTribeRank(P_0); + } + + static byte _206C_206D_206C_202B_200B_200E_202A_200B_202D_202C_202B_206A_202C_206A_202D_202B_206F_202E_202C_200C_202B_202D_206C_206C_206B_206B_200E_206A_202D_202A_202E_206B_206C_200F_202C_202C_202E_200F_202C_206C_202E() + { + return PlayerStateHelper.GetDeliveryLevel(); + } + + static bool _206A_200C_206C_206A_206C_202A_200E_206E_206E_200C_200D_206D_202E_206C_200F_206C_206A_202C_206A_206C_202E_206C_202A_202D_206C_202E_206C_206B_206F_200C_202E_200F_200F_200B_200D_206F_200C_200F_200E_206F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202D_206D_202A_206C_206E_200E_200E_206B_200E_200D_200D_206D_206B_200C_206A_200E_202C_206F_200C_206F_202B_200D_206D_202C_206B_206E_200E_206D_202C_200D_202C_206A_200C_200C_200F_200B_202A_206F_206C_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static byte _200F_202C_202E_200B_202C_206F_202D_200E_206E_202E_206C_206F_206D_202B_206E_202E_202C_200B_202A_200E_206D_202D_200F_206A_202B_206E_202A_206E_202C_200F_202A_202B_200D_206B_206B_200D_206B_206D_200B_202B_202E() + { + return PlayerStateHelper.GetMaxExpansion(); + } + + static List _200F_200B_200B_206F_206E_206B_206F_200D_202C_202D_202A_206B_202A_202D_206C_200B_206F_206D_202A_202A_200D_202A_200C_202D_206F_206A_206B_200C_202B_206C_200F_200E_206C_206F_200D_206C_206C_206A_200E_206E_202E(QuestRoot P_0) + { + return P_0.QuestSequence; + } + + static byte _206C_202C_200B_200C_202D_206A_200C_206C_206D_202D_200D_202D_206E_202D_200F_202E_206A_200E_206A_200E_200D_202C_202C_202E_206D_200E_206C_200B_200D_206D_202D_206C_200F_200D_202D_206D_202A_206D_202B_200E_202E() + { + return PlayerStateHelper.GetStartTown(); + } + + static byte _202A_206F_206B_200E_206D_202B_200F_206E_202B_206D_200B_200C_206F_202D_206B_206B_202E_206C_202A_200F_202C_206B_200D_200B_200F_206C_206F_206E_200F_206E_200E_200C_206A_202E_202C_200F_206F_202A_206B_206E_202E() + { + return PlayerStateHelper.GetFirstClass(); + } + + static bool _200F_202C_200E_202A_206F_200D_206D_200F_206B_202B_206E_202B_206F_200E_200E_206E_200D_202B_202C_202C_202D_202D_202C_200B_202A_202C_206C_202D_200F_200B_206C_200B_202D_202C_202B_202B_202D_206A_200F_202A_202E(EClassJob P_0, IDataManager P_1) + { + return ClassJobHelper.IsClassJobUnlocked(P_0, P_1); + } + + static bool _206D_200E_202A_200E_206F_200B_200E_202D_200E_202D_206C_206D_202D_206B_200C_200B_200B_206C_206B_200D_206F_206A_206A_200E_200D_206C_202B_200F_206F_202A_200F_206D_200D_202D_200D_202A_200E_206E_206C_202A_202E(EClassJob P_0, IDataManager P_1) + { + return ClassJobHelper.IsJobUnlocked(P_0, P_1); + } + + static FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany _202B_200D_206E_206C_200E_200B_200C_206F_206B_200B_206A_200E_206F_206F_200F_206B_202B_202B_202A_202D_202C_200E_206B_202A_200B_206A_200D_200E_206A_200F_202A_202A_206F_206C_200E_202A_200B_206D_206E_206C_202E() + { + return GrandCompanyHelper.GetGrandCompany(); + } + + static byte _202C_202E_206C_206E_206F_200D_202A_202A_206C_206B_206A_200F_200F_200D_200E_206F_200E_202D_206D_200B_206C_206A_206F_206E_200B_206C_202B_202C_202B_200E_206A_200F_206F_206E_202B_206E_200D_202B_202D_202E() + { + return GrandCompanyHelper.GetGrandCompanyRank(); + } + + static bool _200D_202C_202E_202E_202E_206C_206B_206C_202D_206D_206B_202E_206A_202D_200B_206B_206E_206E_202A_200D_200C_200F_200D_206C_206E_200B_206A_200B_200C_202A_206F_202B_202B_206C_200E_200B_206E_200D_202A_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } + + static QuestStep _206A_202E_202C_200C_206E_202B_202C_200E_200B_202B_206F_206B_200E_202A_202A_202B_202E_206B_200E_200E_202B_206F_202C_206E_202C_200B_202D_206E_206B_200B_206A_202E_206D_202B_206C_202B_200F_200F_200E_200D_202E(QuestSequence P_0, int P_1) + { + return P_0.FindStep(P_1); } } diff --git a/Questionable/Questionable.Functions/QuestReference.cs b/Questionable/Questionable.Functions/QuestReference.cs index dabe68a5..8b3a49c1 100644 --- a/Questionable/Questionable.Functions/QuestReference.cs +++ b/Questionable/Questionable.Functions/QuestReference.cs @@ -1,11 +1,150 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; using Questionable.Model.Questing; namespace Questionable.Functions; public sealed record QuestReference(ElementId? CurrentQuest, byte Sequence, MainScenarioQuestState State) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206F_200E_206D_200B_200C_206B_202E_200B_202A_206C_202D_206F_202E_202A_200D_206B_206A_206A_202B_206C_206E_206E_200E_206F_200D_206C_200C_202A_206E_206B_200D_202B_202B_200E_206A_200F_206B_206A_206D_202C_202E(typeof(QuestReference).TypeHandle); + } + } + public static QuestReference NoQuest(MainScenarioQuestState state) { return new QuestReference(null, 0, state); } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_200D_200B_200B_206E_200E_200B_206A_206D_206C_202A_206D_206A_206C_202D_202E_206F_206A_206F_200F_202B_206D_206B_202D_206F_206B_202D_206C_202B_202A_206F_200D_202E_202C_202D_202B_202D_206F_200D_200E_202E(); + _202C_202C_202A_202A_202A_206D_206F_200F_202C_200D_206D_206D_202A_202A_200D_202B_202A_206B_206F_202B_206B_200B_206C_206C_206A_202B_202C_202B_206E_200E_206B_202D_202B_200E_202A_202B_200C_200B_202E_202D_202E(stringBuilder, global::_003CModule_003E._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(-1603834783)); + _202C_202C_202A_202A_202A_206D_206F_200F_202C_200D_206D_206D_202A_202A_200D_202B_202A_206B_206F_202B_206B_200B_206C_206C_206A_202B_202C_202B_206E_200E_206B_202D_202B_200E_202A_202B_200C_200B_202E_202D_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? (-1592482067) : (-1592482066)); + while (true) + { + int num2 = num; + int num3 = -1592482065; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _200B_206E_200D_202B_202A_206B_200E_202D_202E_200F_200C_206C_200B_200F_200B_206F_206C_200E_202B_206E_200E_200E_200F_202B_202A_206F_200C_206F_200C_206C_206B_206E_202A_202D_202C_202D_200D_206F_206F_206D_202E(stringBuilder, '}'); + return _206D_202B_202C_202A_200C_202D_206D_200E_206F_202E_200E_202D_202E_206E_206F_200F_202D_202D_200C_200E_202A_202C_206A_206D_206B_206A_200E_200F_202A_200B_200D_206A_200D_206A_206C_200F_200D_202A_200B_202D_202E((object?)stringBuilder); + case 1: + _200B_206E_200D_202B_202A_206B_200E_202D_202E_200F_200C_206C_200B_200F_200B_206F_206C_200E_202B_206E_200E_200E_200F_202B_202A_206F_200C_206F_200C_206C_206B_206E_202A_202D_202C_202D_200D_206F_206F_206D_202E(stringBuilder, ' '); + num = -1592482067; + break; + case 0: + num = -1592482066; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_200B_206C_206B_206B_200F_206A_200C_200C_206E_200B_206D_206B_202D_200D_206E_206A_202C_202C_206A_202E_206E_202A_200E_200B_200E_200E_206F_202D_202A_200E_206F_206E_206E_206A_206F_206B_202E_206A_202C_202E(); + _202C_202C_202A_202A_202A_206D_206F_200F_202C_200D_206D_206D_202A_202A_200D_202B_202A_206B_206F_202B_206B_200B_206C_206C_206A_202B_202C_202B_206E_200E_206B_202D_202B_200E_202A_202B_200C_200B_202E_202D_202E(builder, global::_003CModule_003E._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(-1044019943)); + _206F_202E_206A_202C_206D_202B_202D_200D_200F_202A_206A_200B_206D_202E_206A_200D_202D_200F_200C_202C_202C_202C_200D_202C_200C_206A_206E_206C_200F_202E_202E_206D_206C_200D_200C_206A_206A_206A_202E_202E(builder, (object?)CurrentQuest); + _202C_202C_202A_202A_202A_206D_206F_200F_202C_200D_206D_206D_202A_202A_200D_202B_202A_206B_206F_202B_206B_200B_206C_206C_206A_202B_202C_202B_206E_200E_206B_202D_202B_200E_202A_202B_200C_200B_202E_202D_202E(builder, global::_003CModule_003E._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(1350191881)); + _202C_202C_202A_202A_202A_206D_206F_200F_202C_200D_206D_206D_202A_202A_200D_202B_202A_206B_206F_202B_206B_200B_206C_206C_206A_202B_202C_202B_206E_200E_206B_202D_202B_200E_202A_202B_200C_200B_202E_202D_202E(builder, Sequence.ToString()); + _202C_202C_202A_202A_202A_206D_206F_200F_202C_200D_206D_206D_202A_202A_200D_202B_202A_206B_206F_202B_206B_200B_206C_206C_206A_202B_202C_202B_206E_200E_206B_202D_202B_200E_202A_202B_200C_200B_202E_202D_202E(builder, global::_003CModule_003E._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(867761492)); + _202C_202C_202A_202A_202A_206D_206F_200F_202C_200D_206D_206D_202A_202A_200D_202B_202A_206B_206F_202B_206B_200B_206C_206C_206A_202B_202C_202B_206E_200E_206B_202D_202B_200E_202A_202B_200C_200B_202E_202D_202E(builder, State.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(QuestReference? other) + { + int num = (((object)this == other) ? 1185181530 : 1185181535); + while (true) + { + int num2 = num; + int num3 = 1185181532; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = ((!_202C_206E_200C_206E_200C_206D_200F_202A_200D_200E_202A_202E_206D_200B_206E_200E_206F_202A_206C_206A_200F_202C_202D_200C_200B_206F_206D_202E_206F_206F_202A_206E_200B_206A_202C_200B_206D_206B_206F_200C_202E(EqualityContract, other.EqualityContract)) ? 1185181533 : 1185181529); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(Sequence, other.Sequence)) ? 1185181533 : 1185181528); + break; + case 6: + return true; + case 2: + num = 1185181535; + break; + case 3: + num = (((object)other == null) ? 1185181533 : 1185181532); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(CurrentQuest, other.CurrentQuest)) ? 1185181533 : 1185181531); + break; + case 4: + return EqualityComparer.Default.Equals(State, other.State); + case 1: + return false; + } + } + } + + bool IEquatable.Equals(QuestReference? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _206F_200E_206D_200B_200C_206B_202E_200B_202A_206C_202D_206F_202E_202A_200D_206B_206A_206A_202B_206C_206E_206E_200E_206F_200D_206C_200C_202A_206E_206B_200D_202B_202B_200E_206A_200F_206B_206A_206D_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder? _206F_200D_200B_200B_206E_200E_200B_206A_206D_206C_202A_206D_206A_206C_202D_202E_206F_206A_206F_200F_202B_206D_206B_202D_206F_206B_202D_206C_202B_202A_206F_200D_202E_202C_202D_202B_202D_206F_200D_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder? _202C_202C_202A_202A_202A_206D_206F_200F_202C_200D_206D_206D_202A_202A_200D_202B_202A_206B_206F_202B_206B_200B_206C_206C_206A_202B_202C_202B_206E_200E_206B_202D_202B_200E_202A_202B_200C_200B_202E_202D_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _200B_206E_200D_202B_202A_206B_200E_202D_202E_200F_200C_206C_200B_200F_200B_206F_206C_200E_202B_206E_200E_200E_200F_202B_202A_206F_200C_206F_200C_206C_206B_206E_202A_202D_202C_202D_200D_206F_206F_206D_202E(StringBuilder? P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string? _206D_202B_202C_202A_200C_202D_206D_200E_206F_202E_200E_202D_202E_206E_206F_200F_202D_202D_200C_200E_202A_202C_206A_206D_206B_206A_200E_200F_202A_200B_200D_206A_200D_206A_206C_200F_200D_202A_200B_202D_202E(object? P_0) + { + return P_0.ToString(); + } + + static void _200B_200B_206C_206B_206B_200F_206A_200C_200C_206E_200B_206D_206B_202D_200D_206E_206A_202C_202C_206A_202E_206E_202A_200E_200B_200E_200E_206F_202D_202A_200E_206F_206E_206E_206A_206F_206B_202E_206A_202C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _206F_202E_206A_202C_206D_202B_202D_200D_200F_202A_206A_200B_206D_202E_206A_200D_202D_200F_200C_202C_202C_202C_200D_202C_200C_206A_206E_206C_200F_202E_202E_206D_206C_200D_200C_206A_206A_206A_202E_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _202C_206E_200C_206E_200C_206D_200F_202A_200D_200E_202A_202E_206D_200B_206E_200E_206F_202A_206C_206A_200F_202C_202D_200C_200B_206F_206D_202E_206F_206F_202A_206E_200B_206A_202C_200B_206D_206B_206F_200C_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; + } } diff --git a/Questionable/Questionable.Model.Changelog/ChangeCategoryExtensions.cs b/Questionable/Questionable.Model.Changelog/ChangeCategoryExtensions.cs index 6e177872..2d0e4d2c 100644 --- a/Questionable/Questionable.Model.Changelog/ChangeCategoryExtensions.cs +++ b/Questionable/Questionable.Model.Changelog/ChangeCategoryExtensions.cs @@ -1,32 +1,164 @@ using System.Numerics; +using System.Runtime.CompilerServices; namespace Questionable.Model.Changelog; internal static class ChangeCategoryExtensions { + [MethodImpl(MethodImplOptions.NoInlining)] public static string ToDisplayString(this EChangeCategory category) { - return category switch + int num; + string result = default(string); + switch (category) { - EChangeCategory.Added => "Added", - EChangeCategory.Changed => "Changed", - EChangeCategory.Fixed => "Fixed", - EChangeCategory.Removed => "Removed", - EChangeCategory.QuestUpdates => "Quest Updates", - _ => category.ToString(), - }; + default: + num = -1022171732; + goto IL_0025; + case EChangeCategory.Removed: + result = global::_003CModule_003E._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(1184271712); + num = -1022171735; + goto IL_0025; + case EChangeCategory.QuestUpdates: + goto IL_007a; + case EChangeCategory.Changed: + goto IL_0090; + case EChangeCategory.Added: + goto IL_00ca; + case EChangeCategory.Fixed: + goto IL_00e2; + IL_0025: + while (true) + { + int num2 = num; + int num3 = -1022171736; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + goto end_IL_0025; + case 2: + goto IL_007a; + case 0: + goto IL_0090; + case 7: + num = -1022171732; + break; + case 3: + result = category.ToString(); + num = -1022171735; + break; + case 6: + goto IL_00ca; + case 1: + return result; + case 8: + goto IL_00e2; + case 4: + num = -1022171733; + break; + } + continue; + end_IL_0025: + break; + } + goto case EChangeCategory.Removed; + IL_00e2: + result = global::_003CModule_003E._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(-1940950850); + num = -1022171735; + goto IL_0025; + IL_00ca: + result = global::_003CModule_003E._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(-836593342); + num = -1022171735; + goto IL_0025; + IL_0090: + result = global::_003CModule_003E._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(-136424921); + num = -1022171735; + goto IL_0025; + IL_007a: + result = global::_003CModule_003E._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(-126460286); + num = -1022171735; + goto IL_0025; + } } public static Vector4 GetColor(this EChangeCategory category) { - return category switch + int num; + Vector4 result = default(Vector4); + switch (category) { - EChangeCategory.Added => new Vector4(0.3f, 0.8f, 0.4f, 1f), - EChangeCategory.Changed => new Vector4(0.4f, 0.6f, 0.9f, 1f), - EChangeCategory.Fixed => new Vector4(0.9f, 0.6f, 0.3f, 1f), - EChangeCategory.Removed => new Vector4(0.9f, 0.3f, 0.3f, 1f), - EChangeCategory.QuestUpdates => new Vector4(0.8f, 0.8f, 0.4f, 1f), - _ => new Vector4(0.7f, 0.7f, 0.7f, 1f), - }; + default: + num = -1603635172; + goto IL_0025; + case EChangeCategory.QuestUpdates: + result = new Vector4(0.8f, 0.8f, 0.4f, 1f); + num = -1603635184; + goto IL_0025; + case EChangeCategory.Removed: + goto IL_0089; + case EChangeCategory.Fixed: + goto IL_00d3; + case EChangeCategory.Added: + goto IL_00f8; + case EChangeCategory.Changed: + goto IL_0135; + IL_0025: + while (true) + { + int num2 = num; + int num3 = -1603635180; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + goto end_IL_0025; + case 0: + goto IL_0089; + case 2: + result = new Vector4(0.7f, 0.7f, 0.7f, 1f); + num = -1603635184; + break; + case 1: + goto IL_00d3; + case 7: + goto IL_00f8; + case 8: + num = -1603635178; + break; + case 4: + return result; + case 5: + num = -1603635172; + break; + case 3: + goto IL_0135; + } + continue; + end_IL_0025: + break; + } + goto case EChangeCategory.QuestUpdates; + IL_0135: + result = new Vector4(0.4f, 0.6f, 0.9f, 1f); + num = -1603635184; + goto IL_0025; + IL_00f8: + result = new Vector4(0.3f, 0.8f, 0.4f, 1f); + num = -1603635184; + goto IL_0025; + IL_00d3: + result = new Vector4(0.9f, 0.6f, 0.3f, 1f); + num = -1603635184; + goto IL_0025; + IL_0089: + result = new Vector4(0.9f, 0.3f, 0.3f, 1f); + num = -1603635184; + goto IL_0025; + } } } diff --git a/Questionable/Questionable.Model.Changelog/ChangeEntry.cs b/Questionable/Questionable.Model.Changelog/ChangeEntry.cs index 13574e20..29a87930 100644 --- a/Questionable/Questionable.Model.Changelog/ChangeEntry.cs +++ b/Questionable/Questionable.Model.Changelog/ChangeEntry.cs @@ -1,5 +1,148 @@ +using System; using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; namespace Questionable.Model.Changelog; -internal sealed record ChangeEntry(EChangeCategory Category, string Description, List? SubItems = null); +internal sealed record ChangeEntry(EChangeCategory Category, string Description, List? SubItems = null) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206D_206B_200B_202B_206E_202B_200B_206A_206E_206B_200C_202B_202C_206A_200F_200B_206E_206F_206A_206C_200D_202C_206B_202C_200B_206A_202A_200C_200D_202A_206C_206E_200D_202D_202E_206D_206D_202C_200D_200D_202E(typeof(ChangeEntry).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206E_202C_202B_200D_200D_202C_206C_200F_206F_206C_202E_202A_200F_206A_200C_206A_200C_206C_206D_206F_200C_202C_206D_200F_202A_206F_200B_206E_200C_202C_200E_200D_200C_200B_202E_200D_206D_202E_206E_202B_202E(); + _206A_206F_200D_202A_200C_206D_202E_206B_200B_200F_206A_206A_200D_200F_206A_202C_202C_206A_206C_206E_200B_200E_202C_200D_202A_206F_202A_202D_202A_206B_206A_202A_200C_202A_202B_202E_206A_202B_200D_206C_202E(stringBuilder, global::_003CModule_003E._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(474130306)); + _206A_206F_200D_202A_200C_206D_202E_206B_200B_200F_206A_206A_200D_200F_206A_202C_202C_206A_206C_206E_200B_200E_202C_200D_202A_206F_202A_202D_202A_206B_206A_202A_200C_202A_202B_202E_206A_202B_200D_206C_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? 1209671208 : 1209671211); + while (true) + { + int num2 = num; + int num3 = 1209671210; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1209671211; + break; + case 1: + _200D_200E_202C_200B_200E_202E_206D_200E_206D_200B_200E_206D_206D_206D_200E_202D_206F_206F_200E_202B_202A_206F_200E_206D_202C_206A_202A_202E_200F_206D_202D_206B_200B_206C_206A_206D_206A_202A_202D_202D_202E(stringBuilder, ' '); + num = 1209671208; + break; + case 2: + _200D_200E_202C_200B_200E_202E_206D_200E_206D_200B_200E_206D_206D_206D_200E_202D_206F_206F_200E_202B_202A_206F_200E_206D_202C_206A_202A_202E_200F_206D_202D_206B_200B_206C_206A_206D_206A_202A_202D_202D_202E(stringBuilder, '}'); + return _200F_206F_206C_200C_206D_202A_200D_200B_206C_200C_202D_202D_206A_206E_206D_200D_202B_206D_202D_206C_202A_200E_206D_202E_200C_202B_202E_200C_206F_206A_200B_202D_202C_206E_206E_206D_200B_202B_202E_200D_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_200D_206A_202E_206C_206F_202E_200B_206F_202E_200C_200F_200D_202C_200C_206E_202A_200F_202C_202B_206D_202E_202E_200E_202B_206E_200C_200D_202B_200F_200B_206E_200C_200B_202B_202D_202A_206E_206E_206F_202E(); + _206A_206F_200D_202A_200C_206D_202E_206B_200B_200F_206A_206A_200D_200F_206A_202C_202C_206A_206C_206E_200B_200E_202C_200D_202A_206F_202A_202D_202A_206B_206A_202A_200C_202A_202B_202E_206A_202B_200D_206C_202E(builder, global::_003CModule_003E._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(-114589338)); + _206A_206F_200D_202A_200C_206D_202E_206B_200B_200F_206A_206A_200D_200F_206A_202C_202C_206A_206C_206E_200B_200E_202C_200D_202A_206F_202A_202D_202A_206B_206A_202A_200C_202A_202B_202E_206A_202B_200D_206C_202E(builder, Category.ToString()); + _206A_206F_200D_202A_200C_206D_202E_206B_200B_200F_206A_206A_200D_200F_206A_202C_202C_206A_206C_206E_200B_200E_202C_200D_202A_206F_202A_202D_202A_206B_206A_202A_200C_202A_202B_202E_206A_202B_200D_206C_202E(builder, global::_003CModule_003E._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(-127749891)); + _206D_206F_206D_206C_206A_206E_206C_200D_200B_206A_200B_202B_206B_200E_200C_206C_202D_200E_202B_200E_206C_200E_200E_206D_200C_206A_202E_206B_206A_206D_206E_202C_202C_200E_200E_206B_200E_202C_200B_202A_202E(builder, (object)Description); + _206A_206F_200D_202A_200C_206D_202E_206B_200B_200F_206A_206A_200D_200F_206A_202C_202C_206A_206C_206E_200B_200E_202C_200D_202A_206F_202A_202D_202A_206B_206A_202A_200C_202A_202B_202E_206A_202B_200D_206C_202E(builder, global::_003CModule_003E._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(2069471446)); + _206D_206F_206D_206C_206A_206E_206C_200D_200B_206A_200B_202B_206B_200E_200C_206C_202D_200E_202B_200E_206C_200E_200E_206D_200C_206A_202E_206B_206A_206D_206E_202C_202C_200E_200E_206B_200E_202C_200B_202A_202E(builder, (object)SubItems); + return true; + } + + [CompilerGenerated] + public bool Equals(ChangeEntry? other) + { + int num = (((object)this == other) ? 528623422 : 528623417); + while (true) + { + int num2 = num; + int num3 = 528623416; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((!_200D_206C_200F_206B_202D_202E_200B_202C_202D_200C_202B_202D_206C_200B_206B_202C_200F_206B_206B_206C_206D_202C_206D_202A_200C_206D_206B_206D_202E_206C_206C_202C_202A_202D_202A_206F_206D_200C_200D_200C_202E(EqualityContract, other.EqualityContract)) ? 528623419 : 528623418); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(Description, other.Description)) ? 528623419 : 528623423); + break; + case 4: + num = 528623417; + break; + case 2: + num = ((!EqualityComparer.Default.Equals(Category, other.Category)) ? 528623419 : 528623421); + break; + case 7: + return EqualityComparer>.Default.Equals(SubItems, other.SubItems); + case 6: + return true; + case 3: + return false; + case 1: + num = (((object)other == null) ? 528623419 : 528623416); + break; + } + } + } + + bool IEquatable.Equals(ChangeEntry? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206D_206B_200B_202B_206E_202B_200B_206A_206E_206B_200C_202B_202C_206A_200F_200B_206E_206F_206A_206C_200D_202C_206B_202C_200B_206A_202A_200C_200D_202A_206C_206E_200D_202D_202E_206D_206D_202C_200D_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206E_202C_202B_200D_200D_202C_206C_200F_206F_206C_202E_202A_200F_206A_200C_206A_200C_206C_206D_206F_200C_202C_206D_200F_202A_206F_200B_206E_200C_202C_200E_200D_200C_200B_202E_200D_206D_202E_206E_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206A_206F_200D_202A_200C_206D_202E_206B_200B_200F_206A_206A_200D_200F_206A_202C_202C_206A_206C_206E_200B_200E_202C_200D_202A_206F_202A_202D_202A_206B_206A_202A_200C_202A_202B_202E_206A_202B_200D_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_200E_202C_200B_200E_202E_206D_200E_206D_200B_200E_206D_206D_206D_200E_202D_206F_206F_200E_202B_202A_206F_200E_206D_202C_206A_202A_202E_200F_206D_202D_206B_200B_206C_206A_206D_206A_202A_202D_202D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_206F_206C_200C_206D_202A_200D_200B_206C_200C_202D_202D_206A_206E_206D_200D_202B_206D_202D_206C_202A_200E_206D_202E_200C_202B_202E_200C_206F_206A_200B_202D_202C_206E_206E_206D_200B_202B_202E_200D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206D_200D_206A_202E_206C_206F_202E_200B_206F_202E_200C_200F_200D_202C_200C_206E_202A_200F_202C_202B_206D_202E_202E_200E_202B_206E_200C_200D_202B_200F_200B_206E_200C_200B_202B_202D_202A_206E_206E_206F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206D_206F_206D_206C_206A_206E_206C_200D_200B_206A_200B_202B_206B_200E_200C_206C_202D_200E_202B_200E_206C_200E_200E_206D_200C_206A_202E_206B_206A_206D_206E_202C_202C_200E_200E_206B_200E_202C_200B_202A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200D_206C_200F_206B_202D_202E_200B_202C_202D_200C_202B_202D_206C_200B_206B_202C_200F_206B_206B_206C_206D_202C_206D_202A_200C_206D_206B_206D_202E_206C_206C_202C_202A_202D_202A_206F_206D_200C_200D_200C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Model.Changelog/ChangelogEntry.cs b/Questionable/Questionable.Model.Changelog/ChangelogEntry.cs index 64863616..f1867e77 100644 --- a/Questionable/Questionable.Model.Changelog/ChangelogEntry.cs +++ b/Questionable/Questionable.Model.Changelog/ChangelogEntry.cs @@ -1,37 +1,222 @@ using System; using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; namespace Questionable.Model.Changelog; internal sealed record ChangelogEntry(string Version, DateOnly ReleaseDate, List Changes) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202A_206E_202D_200D_200B_200D_206E_202A_206A_202D_202C_206C_202B_206A_202B_206F_202B_200C_200E_202D_200E_206B_200D_200E_206C_200C_206B_206A_200D_206B_200C_202C_200C_200C_206D_206A_206C_202A_206E_202A_202E(typeof(ChangelogEntry).TypeHandle); + } + } + public bool IsNewVersion(string? lastViewedVersion, IReadOnlyList allChangelogs) { - if (string.IsNullOrEmpty(lastViewedVersion)) + int num = ((!_202E_206E_206B_200F_206B_202B_200B_206B_202C_200E_202B_206F_202A_202C_200C_200C_202C_200C_206F_202C_206F_202C_200F_206B_202D_202D_206E_206B_206F_200D_202E_202E_206E_206A_200E_202D_200D_200E_206B_206F_202E(lastViewedVersion)) ? (-524926042) : (-524926047)); + int num7 = default(int); + int num5 = default(int); + int num6 = default(int); + while (true) { - return true; - } - int num = -1; - int num2 = -1; - for (int i = 0; i < allChangelogs.Count; i++) - { - if (allChangelogs[i].Version == Version) + int num2 = num; + int num3 = -524926042; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - num = i; + case 4: + num = ((num7 < allChangelogs.Count) ? (-524926035) : (-524926033)); + break; + case 11: + num = ((!_200B_202E_206E_202D_206D_202C_200E_202A_200F_202D_200E_200B_206A_200C_206E_206C_200E_200E_202A_206D_206D_206F_202D_200D_206B_206C_200B_202A_202A_200C_200D_202C_202B_206C_200D_202C_200D_200E_202D_206B_202E(allChangelogs[num7].Version, Version)) ? (-524926034) : (-524926037)); + break; + case 3: + return true; + case 13: + num5 = num7; + num = -524926034; + break; + case 6: + { + int num8 = num7; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num7 = num9 + (num10 + num10); + num = -524926046; + break; } - if (allChangelogs[i].Version == lastViewedVersion) - { - num2 = i; + case 10: + num6 = num7; + num = -524926048; + break; + case 1: + return num5 < num6; + case 8: + num = ((!_200B_202E_206E_202D_206D_202C_200E_202A_200F_202D_200E_200B_206A_200C_206E_206C_200E_200E_202A_206D_206D_206F_202D_200D_206B_206C_200B_202A_202A_200C_200D_202C_202B_206C_200D_202C_200D_200E_202D_206B_202E(allChangelogs[num7].Version, lastViewedVersion)) ? (-524926048) : (-524926036)); + break; + case 0: + num5 = -1; + num6 = -1; + num7 = 0; + num = -524926046; + break; + case 9: + num = ((num6 != -1) ? (-524926045) : (-524926043)); + break; + case 5: + num = ((num5 != -1) ? (-524926041) : (-524926038)); + break; + case 2: + num = -524926047; + break; + case 12: + return false; + case 7: + return true; } } - if (num2 == -1) + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200E_202C_206D_200E_202E_206E_202B_202E_206D_202A_202D_206C_200B_200E_206E_202C_200E_202B_202B_206A_206D_206D_206E_202A_200F_202A_202A_202A_202B_202E_202C_200D_200D_200D_206A_202D_200E_206A_206F_202D_202E(); + _206C_200B_206F_202D_206D_206C_200E_200E_202B_200F_206D_202B_202D_206E_200F_206D_206F_200C_202E_200D_202C_202C_206E_206C_200C_206B_202A_200F_202E_202B_202E_202E_206A_206A_202B_202C_200F_206A_206D_206F_202E(stringBuilder, global::_003CModule_003E._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(-477928175)); + _206C_200B_206F_202D_206D_206C_200E_200E_202B_200F_206D_202B_202D_206E_200F_206D_206F_200C_202E_200D_202C_202C_206E_206C_200C_206B_202A_200F_202E_202B_202E_202E_206A_206A_202B_202C_200F_206A_206D_206F_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? 1932452482 : 1932452481); + while (true) { - return true; + int num2 = num; + int num3 = 1932452480; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _206E_206D_200E_202B_200F_200B_202B_200B_206A_200E_206E_202D_206D_206C_206F_206A_200B_206D_200E_206A_200B_200C_202A_200C_200E_202B_206D_206F_200B_202E_200C_206A_206E_202D_200F_206D_200E_206D_206C_206F_202E(stringBuilder, '}'); + return _202E_200D_206E_200C_202C_200D_206E_206D_202C_202B_206F_202B_200B_206E_200E_202B_206A_206F_206A_200E_206E_206A_200B_200D_206B_202D_200C_206C_206C_206B_206B_206A_206E_202B_206A_206B_206C_202D_206A_206C_202E((object)stringBuilder); + case 1: + _206E_206D_200E_202B_200F_200B_202B_200B_206A_200E_206E_202D_206D_206C_206F_206A_200B_206D_200E_206A_200B_200C_202A_200C_200E_202B_206D_206F_200B_202E_200C_206A_206E_202D_200F_206D_200E_206D_206C_206F_202E(stringBuilder, ' '); + num = 1932452482; + break; + case 0: + num = 1932452481; + break; + } } - if (num == -1) + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_202D_200E_206B_206C_202A_202B_202A_202E_206F_200C_206D_200D_202B_206B_202B_200D_202E_202D_202E_206B_200C_200F_206B_202C_206D_206F_206C_200B_202E_202A_202E_206B_202B_206C_206D_200C_206B_202E(); + _206C_200B_206F_202D_206D_206C_200E_200E_202B_200F_206D_202B_202D_206E_200F_206D_206F_200C_202E_200D_202C_202C_206E_206C_200C_206B_202A_200F_202E_202B_202E_202E_206A_206A_202B_202C_200F_206A_206D_206F_202E(builder, global::_003CModule_003E._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(659654243)); + _202E_206D_200E_206F_200B_200D_206E_206B_202E_202A_206F_202E_206C_206A_200F_202B_206A_206D_200D_200C_206E_202A_202C_200D_206B_200B_200C_206B_200F_206D_200E_206A_202A_202B_206A_206B_206C_202D_200D_206E_202E(builder, (object)Version); + _206C_200B_206F_202D_206D_206C_200E_200E_202B_200F_206D_202B_202D_206E_200F_206D_206F_200C_202E_200D_202C_202C_206E_206C_200C_206B_202A_200F_202E_202B_202E_202E_206A_206A_202B_202C_200F_206A_206D_206F_202E(builder, global::_003CModule_003E._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(-1366096268)); + _206C_200B_206F_202D_206D_206C_200E_200E_202B_200F_206D_202B_202D_206E_200F_206D_206F_200C_202E_200D_202C_202C_206E_206C_200C_206B_202A_200F_202E_202B_202E_202E_206A_206A_202B_202C_200F_206A_206D_206F_202E(builder, ReleaseDate.ToString()); + _206C_200B_206F_202D_206D_206C_200E_200E_202B_200F_206D_202B_202D_206E_200F_206D_206F_200C_202E_200D_202C_202C_206E_206C_200C_206B_202A_200F_202E_202B_202E_202E_206A_206A_202B_202C_200F_206A_206D_206F_202E(builder, global::_003CModule_003E._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(1139339427)); + _202E_206D_200E_206F_200B_200D_206E_206B_202E_202A_206F_202E_206C_206A_200F_202B_206A_206D_200D_200C_206E_202A_202C_200D_206B_200B_200C_206B_200F_206D_200E_206A_202A_202B_206A_206B_206C_202D_200D_206E_202E(builder, (object)Changes); + return true; + } + + [CompilerGenerated] + public bool Equals(ChangelogEntry? other) + { + int num = (((object)this == other) ? 753075130 : 753075134); + while (true) { - return false; + int num2 = num; + int num3 = 753075128; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + num = ((!EqualityComparer.Default.Equals(ReleaseDate, other.ReleaseDate)) ? 753075129 : 753075131); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(Version, other.Version)) ? 753075129 : 753075135); + break; + case 3: + return EqualityComparer>.Default.Equals(Changes, other.Changes); + case 6: + num = (((object)other == null) ? 753075129 : 753075132); + break; + case 1: + return false; + case 2: + return true; + case 5: + num = 753075134; + break; + case 4: + num = ((!_206E_200D_206B_202C_202D_206F_206F_200D_206A_200C_200D_200D_202D_200D_206B_200D_206E_206E_206D_200F_206A_206A_202E_200B_202D_200F_200B_202A_202A_202B_206F_202B_200B_200B_202A_200D_206A_206C_200D_202A_202E(EqualityContract, other.EqualityContract)) ? 753075129 : 753075128); + break; + } } - return num < num2; + } + + bool IEquatable.Equals(ChangelogEntry? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202A_206E_202D_200D_200B_200D_206E_202A_206A_202D_202C_206C_202B_206A_202B_206F_202B_200C_200E_202D_200E_206B_200D_200E_206C_200C_206B_206A_200D_206B_200C_202C_200C_200C_206D_206A_206C_202A_206E_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _202E_206E_206B_200F_206B_202B_200B_206B_202C_200E_202B_206F_202A_202C_200C_200C_202C_200C_206F_202C_206F_202C_200F_206B_202D_202D_206E_206B_206F_200D_202E_202E_206E_206A_200E_202D_200D_200E_206B_206F_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _200B_202E_206E_202D_206D_202C_200E_202A_200F_202D_200E_200B_206A_200C_206E_206C_200E_200E_202A_206D_206D_206F_202D_200D_206B_206C_200B_202A_202A_200C_200D_202C_202B_206C_200D_202C_200D_200E_202D_206B_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static StringBuilder _200E_202C_206D_200E_202E_206E_202B_202E_206D_202A_202D_206C_200B_200E_206E_202C_200E_202B_202B_206A_206D_206D_206E_202A_200F_202A_202A_202A_202B_202E_202C_200D_200D_200D_206A_202D_200E_206A_206F_202D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206C_200B_206F_202D_206D_206C_200E_200E_202B_200F_206D_202B_202D_206E_200F_206D_206F_200C_202E_200D_202C_202C_206E_206C_200C_206B_202A_200F_202E_202B_202E_202E_206A_206A_202B_202C_200F_206A_206D_206F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206E_206D_200E_202B_200F_200B_202B_200B_206A_200E_206E_202D_206D_206C_206F_206A_200B_206D_200E_206A_200B_200C_202A_200C_200E_202B_206D_206F_200B_202E_200C_206A_206E_202D_200F_206D_200E_206D_206C_206F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202E_200D_206E_200C_202C_200D_206E_206D_202C_202B_206F_202B_200B_206E_200E_202B_206A_206F_206A_200E_206E_206A_200B_200D_206B_202D_200C_206C_206C_206B_206B_206A_206E_202B_206A_206B_206C_202D_206A_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200F_202D_200E_206B_206C_202A_202B_202A_202E_206F_200C_206D_200D_202B_206B_202B_200D_202E_202D_202E_206B_200C_200F_206B_202C_206D_206F_206C_200B_202E_202A_202E_206B_202B_206C_206D_200C_206B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202E_206D_200E_206F_200B_200D_206E_206B_202E_202A_206F_202E_206C_206A_200F_202B_206A_206D_200D_200C_206E_202A_202C_200D_206B_200B_200C_206B_200F_206D_200E_206A_202A_202B_206A_206B_206C_202D_200D_206E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206E_200D_206B_202C_202D_206F_206F_200D_206A_200C_200D_200D_202D_200D_206B_200D_206E_206E_206D_200F_206A_206A_202E_200B_202D_200F_200B_202A_202A_202B_206F_202B_200B_200B_202A_200D_206A_206C_200D_202A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } diff --git a/Questionable/Questionable.Model/CofferReward.cs b/Questionable/Questionable.Model/CofferReward.cs new file mode 100644 index 00000000..101ef27f --- /dev/null +++ b/Questionable/Questionable.Model/CofferReward.cs @@ -0,0 +1,127 @@ +using System; +using System.Runtime.CompilerServices; +using System.Text; + +namespace Questionable.Model; + +public sealed record CofferReward : ItemReward +{ + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_206E_202E_206F_202E_200D_206B_206C_200D_206F_200D_200C_206D_200D_206F_202E_206F_202B_202D_206C_202E_200D_202B_200F_200B_202B_206D_200D_202C_206F_202E_202C_202C_202A_206F_200C_202D_202B_206C_206E_202E(typeof(CofferReward).TypeHandle); + } + } + + public override EItemRewardType Type => EItemRewardType.Coffer; + + public CofferReward(ItemRewardDetails Item) + : base(Item) + { + } + + public override bool IsUnlocked() + { + return false; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206E_200C_206E_200F_206D_202B_200B_200E_206E_206B_202C_206A_202B_200B_200B_200C_206B_206C_206A_206C_200D_206B_202D_206D_200E_202A_206F_202B_202E_200F_200E_206F_202B_202A_200C_206E_206F_200C_202E_200E_202E(); + _206D_202B_206B_200B_206B_202E_202C_206D_200E_202C_200B_206A_206C_200E_200C_206A_202B_206F_202D_202D_206E_200F_206C_200E_202D_200D_200B_206F_206B_200E_202C_202E_200D_206B_200D_206A_202A_200C_202D_200E_202E(stringBuilder, global::_003CModule_003E._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(987724651)); + _206D_202B_206B_200B_206B_202E_202C_206D_200E_202C_200B_206A_206C_200E_200C_206A_202B_206F_202D_202D_206E_200F_206C_200E_202D_200D_200B_206F_206B_200E_202C_202E_200D_206B_200D_206A_202A_200C_202D_200E_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? (-939520159) : (-939520158)); + while (true) + { + int num2 = num; + int num3 = -939520157; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -939520158; + break; + case 1: + _206B_206F_200B_202E_202A_202E_202B_200D_202B_206B_206F_202B_202D_206B_206E_202D_206E_200D_206A_206B_200D_200C_202A_206B_206E_200E_202B_206C_202E_206E_206A_200B_206E_200E_206C_202E_206F_206D_200D_202D_202E(stringBuilder, ' '); + num = -939520159; + break; + case 2: + _206B_206F_200B_202E_202A_202E_202B_200D_202B_206B_206F_202B_202D_206B_206E_202D_206E_200D_206A_206B_200D_200C_202A_206B_206E_200E_202B_206C_202E_206E_206A_200B_206E_200E_206C_202E_206F_206D_200D_202D_202E(stringBuilder, '}'); + return _206F_206F_200F_202A_200D_200F_206E_206F_200B_200F_202C_206F_206F_200D_202C_202E_206C_202B_206C_206E_200E_200E_202D_206C_206D_202A_206A_200F_200E_206F_200C_206F_202A_206E_200B_200F_200E_200F_200E_200D_202E((object)stringBuilder); + } + } + } + + [CompilerGenerated] + public bool Equals(CofferReward? other) + { + int num = (((object)this == other) ? 1298126870 : 1298126869); + while (true) + { + int num2 = num; + int num3 = 1298126868; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0044; + case 2: + return true; + case 1: + return base.Equals(other); + } + continue; + IL_0044: + num = 1298126869; + } + } + + bool IEquatable.Equals(CofferReward? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [CompilerGenerated] + public new void Deconstruct(out ItemRewardDetails Item) + { + Item = base.Item; + } + + static Type _206A_206E_202E_206F_202E_200D_206B_206C_200D_206F_200D_200C_206D_200D_206F_202E_206F_202B_202D_206C_202E_200D_202B_200F_200B_202B_206D_200D_202C_206F_202E_202C_202C_202A_206F_200C_202D_202B_206C_206E_202E(RuntimeTypeHandle P_0) + { + return System.Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206E_200C_206E_200F_206D_202B_200B_200E_206E_206B_202C_206A_202B_200B_200B_200C_206B_206C_206A_206C_200D_206B_202D_206D_200E_202A_206F_202B_202E_200F_200E_206F_202B_202A_200C_206E_206F_200C_202E_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206D_202B_206B_200B_206B_202E_202C_206D_200E_202C_200B_206A_206C_200E_200C_206A_202B_206F_202D_202D_206E_200F_206C_200E_202D_200D_200B_206F_206B_200E_202C_202E_200D_206B_200D_206A_202A_200C_202D_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_206F_200B_202E_202A_202E_202B_200D_202B_206B_206F_202B_202D_206B_206E_202D_206E_200D_206A_206B_200D_200C_202A_206B_206E_200E_202B_206C_202E_206E_206A_200B_206E_200E_206C_202E_206F_206D_200D_202D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206F_206F_200F_202A_200D_200F_206E_206F_200B_200F_202C_206F_206F_200D_202C_202E_206C_202B_206C_206E_200E_200E_202D_206C_206D_202A_206A_200F_200E_206F_200C_206F_202A_206E_200B_200F_200E_200F_200E_200D_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _202E_200B_206C_202E_202E_200D_200F_206E_202B_202D_200D_202C_200D_200D_202D_202E_206D_202C_206F_206E_200F_200E_202B_200C_206D_202E_200C_200E_206D_202D_202C_200D_206D_202B_202A_206D_200E_206D_200F_206F_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } +} diff --git a/Questionable/Questionable.Model/EItemRewardType.cs b/Questionable/Questionable.Model/EItemRewardType.cs index c82fc6f8..07c57aab 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 00000000..2632aed6 --- /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 21a42245..209ad1d9 100644 --- a/Questionable/Questionable.Model/FashionAccessoryReward.cs +++ b/Questionable/Questionable.Model/FashionAccessoryReward.cs @@ -1,10 +1,23 @@ +using System; +using System.Collections.Generic; using System.Runtime.CompilerServices; -using FFXIVClientStructs.FFXIV.Client.Game.UI; +using System.Text; +using LLib.GameData; namespace Questionable.Model; public sealed record FashionAccessoryReward : ItemReward { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206B_206B_200F_200B_202D_202E_206C_200C_206F_206C_200E_202D_200D_206E_206A_200F_200B_200D_202A_206B_200C_206D_206D_206D_202C_200C_200C_202A_206E_206D_200C_206F_206E_206B_206B_202A_206D_206F_202D_206D_202E(typeof(FashionAccessoryReward).TypeHandle); + } + } + public uint AccessoryId { get; init; } public override EItemRewardType Type => EItemRewardType.FashionAccessory; @@ -15,9 +28,100 @@ public sealed record FashionAccessoryReward : ItemReward base._002Ector(Item); } - public unsafe override bool IsUnlocked() + public override bool IsUnlocked() { - return PlayerState.Instance()->IsOrnamentUnlocked(AccessoryId); + return _206C_202D_206F_206E_206E_202C_202C_200E_202C_202C_206F_202D_202D_202B_202A_206F_206F_200C_202C_200D_200D_200E_206E_200D_206C_206D_206D_206B_202B_202D_200F_206C_200D_206F_202B_200F_202B_202B_202A_202E(AccessoryId); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_202E_200C_206B_202B_206E_200C_206A_200C_202C_202A_206A_200F_200B_200D_202D_202B_200F_202C_206A_206B_206E_206C_202E_200D_200C_200F_200B_200E_206B_200D_202A_200D_206E_200B_202C_200D_202D_206C_200E_202E(); + _206D_206A_206D_206D_200E_200B_200E_202E_202D_202B_200D_206C_206F_206A_206B_202E_206A_202E_206D_206B_206E_206F_202A_206F_206F_206E_206D_206E_200C_206D_206E_202A_200B_206D_200E_206C_200C_206C_206C_202B_202E(stringBuilder, global::_003CModule_003E._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(1334445118)); + _206D_206A_206D_206D_200E_200B_200E_202E_202D_202B_200D_206C_206F_206A_206B_202E_206A_202E_206D_206B_206E_206F_202A_206F_206F_206E_206D_206E_200C_206D_206E_202A_200B_206D_200E_206C_200C_206C_206C_202B_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? 1221186443 : 1221186440); + while (true) + { + int num2 = num; + int num3 = 1221186441; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1221186440; + break; + case 2: + _206D_202E_206E_200C_206E_202B_206D_202E_206F_200D_202B_200F_206E_200B_206E_206E_202B_206D_206E_202E_206B_206A_206A_206C_202C_200C_206D_200E_202E_206E_206D_200F_202D_202B_206E_200D_206A_202C_206B_202E_202E(stringBuilder, '}'); + return _202D_200B_206B_200E_200B_202E_200F_202C_206C_206B_200D_202E_206D_206B_200F_200C_206E_202E_200E_202A_202C_200C_206F_200E_202A_206F_206E_200B_202E_202E_202D_200B_206D_206D_200D_202E_200D_200E_202E_200F_202E((object)stringBuilder); + case 1: + _206D_202E_206E_200C_206E_202B_206D_202E_206F_200D_202B_200F_206E_200B_206E_206E_202B_206D_206E_202E_206B_206A_206A_206C_202C_200C_206D_200E_202E_206E_206D_200F_202D_202B_206E_200D_206A_202C_206B_202E_202E(stringBuilder, ' '); + num = 1221186443; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 11478778 : 11478777); + while (true) + { + int num2 = num; + int num3 = 11478779; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _206D_206A_206D_206D_200E_200B_200E_202E_202D_202B_200D_206C_206F_206A_206B_202E_206A_202E_206D_206B_206E_206F_202A_206F_206F_206E_206D_206E_200C_206D_206E_202A_200B_206D_200E_206C_200C_206C_206C_202B_202E(builder, global::_003CModule_003E._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(-618803604)); + _206D_206A_206D_206D_200E_200B_200E_202E_202D_202B_200D_206C_206F_206A_206B_202E_206A_202E_206D_206B_206E_206F_202A_206F_206F_206E_206D_206E_200C_206D_206E_202A_200B_206D_200E_206C_200C_206C_206C_202B_202E(builder, AccessoryId.ToString()); + return true; + case 2: + _206D_206A_206D_206D_200E_200B_200E_202E_202D_202B_200D_206C_206F_206A_206B_202E_206A_202E_206D_206B_206E_206F_202A_206F_206F_206E_206D_206E_200C_206D_206E_202A_200B_206D_200E_206C_200C_206C_206C_202B_202E(builder, global::_003CModule_003E._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(1467939024)); + num = 11478778; + break; + case 0: + num = 11478777; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(FashionAccessoryReward? other) + { + int num = (((object)this == other) ? (-923320164) : (-923320162)); + while (true) + { + int num2 = num; + int num3 = -923320163; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return true; + case 2: + return false; + case 4: + return EqualityComparer.Default.Equals(AccessoryId, other.AccessoryId); + case 3: + num = ((!base.Equals(other)) ? (-923320161) : (-923320167)); + break; + case 0: + num = -923320162; + break; + } + } + } + + bool IEquatable.Equals(FashionAccessoryReward? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); } [CompilerGenerated] @@ -26,4 +130,39 @@ public sealed record FashionAccessoryReward : ItemReward Item = base.Item; AccessoryId = this.AccessoryId; } + + static Type _206B_206B_200F_200B_202D_202E_206C_200C_206F_206C_200E_202D_200D_206E_206A_200F_200B_200D_202A_206B_200C_206D_206D_206D_202C_200C_200C_202A_206E_206D_200C_206F_206E_206B_206B_202A_206D_206F_202D_206D_202E(RuntimeTypeHandle P_0) + { + return System.Type.GetTypeFromHandle(P_0); + } + + static bool _206C_202D_206F_206E_206E_202C_202C_200E_202C_202C_206F_202D_202D_202B_202A_206F_206F_200C_202C_200D_200D_200E_206E_200D_206C_206D_206D_206B_202B_202D_200F_206C_200D_206F_202B_200F_202B_202B_202A_202E(uint P_0) + { + return PlayerStateHelper.IsOrnamentUnlocked(P_0); + } + + static StringBuilder _206F_202E_200C_206B_202B_206E_200C_206A_200C_202C_202A_206A_200F_200B_200D_202D_202B_200F_202C_206A_206B_206E_206C_202E_200D_200C_200F_200B_200E_206B_200D_202A_200D_206E_200B_202C_200D_202D_206C_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206D_206A_206D_206D_200E_200B_200E_202E_202D_202B_200D_206C_206F_206A_206B_202E_206A_202E_206D_206B_206E_206F_202A_206F_206F_206E_206D_206E_200C_206D_206E_202A_200B_206D_200E_206C_200C_206C_206C_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_202E_206E_200C_206E_202B_206D_202E_206F_200D_202B_200F_206E_200B_206E_206E_202B_206D_206E_202E_206B_206A_206A_206C_202C_200C_206D_200E_202E_206E_206D_200F_202D_202B_206E_200D_206A_202C_206B_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202D_200B_206B_200E_200B_202E_200F_202C_206C_206B_200D_202E_206D_206B_200F_200C_206E_202E_200E_202A_202C_200C_206F_200E_202A_206F_206E_200B_202E_202E_202D_200B_206D_206D_200D_202E_200D_200E_202E_200F_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _206F_202C_206B_202A_206B_202E_200D_202A_206E_200F_206A_200D_202E_202E_202A_206B_206A_206F_206D_200C_202A_202C_200B_202B_206E_202A_200F_202A_200F_202C_200E_202D_202C_200E_206E_202A_202B_206D_206B_206A_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } } diff --git a/Questionable/Questionable.Model/IQuestInfo.cs b/Questionable/Questionable.Model/IQuestInfo.cs index 8981fb98..2d7a9cf3 100644 --- a/Questionable/Questionable.Model/IQuestInfo.cs +++ b/Questionable/Questionable.Model/IQuestInfo.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; +using System.Runtime.CompilerServices; using Dalamud.Game.Text; using LLib.GameData; using Questionable.Model.Questing; @@ -39,13 +40,32 @@ internal interface IQuestInfo EExpansionVersion Expansion { get; } - string SimplifiedName => Name.Replace(".", "", StringComparison.Ordinal).Replace("*", "", StringComparison.Ordinal).Replace("\"", "", StringComparison.Ordinal) - .Replace("/", "", StringComparison.Ordinal) - .Replace("\\", "", StringComparison.Ordinal) - .Replace("<", "", StringComparison.Ordinal) - .Replace(">", "", StringComparison.Ordinal) - .Replace("|", "", StringComparison.Ordinal) - .Replace(":", "", StringComparison.Ordinal) - .Replace("?", "", StringComparison.Ordinal) - .TrimStart(SeIconChar.QuestSync.ToIconChar(), SeIconChar.QuestRepeatable.ToIconChar(), ' '); + string SimplifiedName + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return _200B_200D_206A_200B_200D_200B_200B_200C_202E_206E_202E_200D_206C_206C_206D_200B_200C_202D_200E_206C_206D_200D_206A_206D_202B_206D_202B_206A_206E_202D_206C_200E_200C_200F_206D_200C_200C_206B_200D_202A_202E(_206D_200B_200D_206E_202A_200C_206F_206B_202A_202E_200B_206D_202A_206D_200E_206C_200B_202B_200C_202A_200C_206C_206D_200B_200D_200D_206E_206C_200D_200C_202C_206E_202C_200B_206E_206B_206E_202E_200F_202E(_206D_200B_200D_206E_202A_200C_206F_206B_202A_202E_200B_206D_202A_206D_200E_206C_200B_202B_200C_202A_200C_206C_206D_200B_200D_200D_206E_206C_200D_200C_202C_206E_202C_200B_206E_206B_206E_202E_200F_202E(_206D_200B_200D_206E_202A_200C_206F_206B_202A_202E_200B_206D_202A_206D_200E_206C_200B_202B_200C_202A_200C_206C_206D_200B_200D_200D_206E_206C_200D_200C_202C_206E_202C_200B_206E_206B_206E_202E_200F_202E(_206D_200B_200D_206E_202A_200C_206F_206B_202A_202E_200B_206D_202A_206D_200E_206C_200B_202B_200C_202A_200C_206C_206D_200B_200D_200D_206E_206C_200D_200C_202C_206E_202C_200B_206E_206B_206E_202E_200F_202E(_206D_200B_200D_206E_202A_200C_206F_206B_202A_202E_200B_206D_202A_206D_200E_206C_200B_202B_200C_202A_200C_206C_206D_200B_200D_200D_206E_206C_200D_200C_202C_206E_202C_200B_206E_206B_206E_202E_200F_202E(_206D_200B_200D_206E_202A_200C_206F_206B_202A_202E_200B_206D_202A_206D_200E_206C_200B_202B_200C_202A_200C_206C_206D_200B_200D_200D_206E_206C_200D_200C_202C_206E_202C_200B_206E_206B_206E_202E_200F_202E(_206D_200B_200D_206E_202A_200C_206F_206B_202A_202E_200B_206D_202A_206D_200E_206C_200B_202B_200C_202A_200C_206C_206D_200B_200D_200D_206E_206C_200D_200C_202C_206E_202C_200B_206E_206B_206E_202E_200F_202E(_206D_200B_200D_206E_202A_200C_206F_206B_202A_202E_200B_206D_202A_206D_200E_206C_200B_202B_200C_202A_200C_206C_206D_200B_200D_200D_206E_206C_200D_200C_202C_206E_202C_200B_206E_206B_206E_202E_200F_202E(_206D_200B_200D_206E_202A_200C_206F_206B_202A_202E_200B_206D_202A_206D_200E_206C_200B_202B_200C_202A_200C_206C_206D_200B_200D_200D_206E_206C_200D_200C_202C_206E_202C_200B_206E_206B_206E_202E_200F_202E(_206D_200B_200D_206E_202A_200C_206F_206B_202A_202E_200B_206D_202A_206D_200E_206C_200B_202B_200C_202A_200C_206C_206D_200B_200D_200D_206E_206C_200D_200C_202C_206E_202C_200B_206E_206B_206E_202E_200F_202E(Name, global::_003CModule_003E._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(-978038014), global::_003CModule_003E._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(-87324410), StringComparison.Ordinal), global::_003CModule_003E._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(626978395), global::_003CModule_003E._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(1200342830), StringComparison.Ordinal), global::_003CModule_003E._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(1557481284), global::_003CModule_003E._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(-1694032531), StringComparison.Ordinal), global::_003CModule_003E._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(-1680133376), global::_003CModule_003E._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(-1694032531), StringComparison.Ordinal), global::_003CModule_003E._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(1752153588), global::_003CModule_003E._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(-87324410), StringComparison.Ordinal), global::_003CModule_003E._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(-1593458294), global::_003CModule_003E._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(-1694032531), StringComparison.Ordinal), global::_003CModule_003E._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(-1127478360), global::_003CModule_003E._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(-1694032531), StringComparison.Ordinal), global::_003CModule_003E._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(856652132), global::_003CModule_003E._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(-1720149641), StringComparison.Ordinal), global::_003CModule_003E._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(13384458), global::_003CModule_003E._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(-87324410), StringComparison.Ordinal), global::_003CModule_003E._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(1887683575), global::_003CModule_003E._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(-87324410), StringComparison.Ordinal), new char[3] + { + _206D_206A_200E_202D_200E_206D_202C_202E_202E_200D_200B_202D_206A_200C_206A_202A_200B_200F_200D_202B_202C_202D_206E_206A_206A_202B_206F_206D_200B_202A_200E_206C_202B_202E_206A_202A_200B_202B_206D_202B_202E(SeIconChar.QuestSync), + _206D_206A_200E_202D_200E_206D_202C_202E_202E_200D_200B_202D_206A_200C_206A_202A_200B_200F_200D_202B_202C_202D_206E_206A_206A_202B_206F_206D_200B_202A_200E_206C_202B_202E_206A_202A_200B_202B_206D_202B_202E(SeIconChar.QuestRepeatable), + ' ' + }); + } + } + + static string _206D_200B_200D_206E_202A_200C_206F_206B_202A_202E_200B_206D_202A_206D_200E_206C_200B_202B_200C_202A_200C_206C_206D_200B_200D_200D_206E_206C_200D_200C_202C_206E_202C_200B_206E_206B_206E_202E_200F_202E(string P_0, string P_1, string P_2, StringComparison P_3) + { + return P_0.Replace(P_1, P_2, P_3); + } + + static char _206D_206A_200E_202D_200E_206D_202C_202E_202E_200D_200B_202D_206A_200C_206A_202A_200B_200F_200D_202B_202C_202D_206E_206A_206A_202B_206F_206D_200B_202A_200E_206C_202B_202E_206A_202A_200B_202B_206D_202B_202E(SeIconChar P_0) + { + return P_0.ToIconChar(); + } + + static string _200B_200D_206A_200B_200D_200B_200B_200C_202E_206E_202E_200D_206C_206C_206D_200B_200C_202D_200E_206C_206D_200D_206A_206D_202B_206D_202B_206A_206E_202D_206C_200E_200C_200F_206D_200C_200C_206B_200D_202A_202E(string P_0, char[] P_1) + { + return P_0.TrimStart(P_1); + } } diff --git a/Questionable/Questionable.Model/ItemReward.cs b/Questionable/Questionable.Model/ItemReward.cs index 204ce188..8cbfc356 100644 --- a/Questionable/Questionable.Model/ItemReward.cs +++ b/Questionable/Questionable.Model/ItemReward.cs @@ -1,4 +1,8 @@ using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +using LLib.Inventory; using Lumina.Excel.Sheets; using Questionable.Model.Questing; @@ -6,6 +10,16 @@ namespace Questionable.Model; public abstract record ItemReward(ItemRewardDetails Item) { + [CompilerGenerated] + protected virtual Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_206B_206D_206A_200B_202E_200E_200E_206B_202B_202B_206C_202E_202B_200C_206F_202B_200D_200E_200C_200F_200D_200E_206B_200E_200B_200D_202E_200B_206C_202C_202E_206C_200E_202E_202D_202E_202D_200D_206F_202E(typeof(ItemReward).TypeHandle); + } + } + public uint ItemId => Item.ItemId; public string Name => Item.Name; @@ -14,39 +28,220 @@ 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; - if (num.HasValue && num == 1322) + uint? num = item.ItemAction.ValueNullable?.Action.RowId; + int num2 = ((!num.HasValue) ? (-1359662202) : (-1359662195)); + TripleTriadCard? valueOrDefault = default(TripleTriadCard?); + Orchestrion? valueOrDefault3 = default(Orchestrion?); + while (true) { - return new MountReward(new ItemRewardDetails(item, elementId), item.ItemAction.Value.Data[0]); + int num3 = num2; + int num4 = -1359662199; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 10: + num2 = -1359662195; + break; + case 18: + num = item.ItemAction.ValueNullable?.Action.RowId; + num2 = ((!num.HasValue) ? (-1359662207) : (-1359662206)); + break; + case 17: + { + TripleTriadCard valueOrDefault2 = valueOrDefault.GetValueOrDefault(); + return new TripleTriadCardReward(new ItemRewardDetails(item, elementId), (ushort)valueOrDefault2.RowId); + } + case 5: + return null; + case 15: + num = item.ItemAction.ValueNullable?.Action.RowId; + num2 = ((!num.HasValue) ? (-1359662200) : (-1359662201)); + break; + case 13: + return new MinionReward(new ItemRewardDetails(item, elementId), item.ItemAction.Value.Data[0]); + case 9: + { + Orchestrion valueOrDefault4 = valueOrDefault3.GetValueOrDefault(); + return new OrchestrionRollReward(new ItemRewardDetails(item, elementId), valueOrDefault4.RowId); + } + case 7: + return new MountReward(new ItemRewardDetails(item, elementId), item.ItemAction.Value.Data[0]); + case 16: + return new UnlockLinkReward(new ItemRewardDetails(item, elementId), item.ItemAction.Value.Data[0]); + case 3: + return new CofferReward(new ItemRewardDetails(item, elementId)); + case 11: + num2 = ((num != 20086) ? (-1359662207) : (-1359662199)); + break; + case 12: + valueOrDefault = item.AdditionalData.GetValueOrDefault(); + num2 = ((!valueOrDefault.HasValue) ? (-1359662181) : (-1359662184)); + break; + case 0: + return new FashionAccessoryReward(new ItemRewardDetails(item, elementId), item.ItemAction.Value.Data[0]); + case 2: + num2 = ((num != 2633) ? (-1359662193) : (-1359662183)); + break; + case 1: + valueOrDefault3 = item.AdditionalData.GetValueOrDefault(); + num2 = ((!valueOrDefault3.HasValue) ? (-1359662203) : (-1359662208)); + break; + case 14: + num2 = ((num != 853) ? (-1359662200) : (-1359662204)); + break; + case 8: + num = item.ItemAction.ValueNullable?.Action.RowId; + num2 = ((!num.HasValue) ? (-1359662193) : (-1359662197)); + break; + case 6: + num2 = ((!_200B_206F_206D_202A_200C_206A_200D_202B_202E_206D_202A_206C_202D_202B_206A_202C_202B_200E_202C_202D_206C_206F_200C_202D_202A_202A_200D_202D_202B_206A_206E_202D_206F_200F_206D_206D_200E_200B_202B_202B_202E(item)) ? (-1359662196) : (-1359662198)); + break; + case 4: + num2 = ((num != 1322) ? (-1359662202) : (-1359662194)); + break; + } } - num = item.ItemAction.ValueNullable?.RowId; - if (num.HasValue && num == 853) - { - return new MinionReward(new ItemRewardDetails(item, elementId), item.ItemAction.Value.Data[0]); - } - Orchestrion? valueOrDefault = item.AdditionalData.GetValueOrDefault(); - if (valueOrDefault.HasValue) - { - Orchestrion valueOrDefault2 = valueOrDefault.GetValueOrDefault(); - return new OrchestrionRollReward(new ItemRewardDetails(item, elementId), valueOrDefault2.RowId); - } - TripleTriadCard? valueOrDefault3 = item.AdditionalData.GetValueOrDefault(); - if (valueOrDefault3.HasValue) - { - TripleTriadCard valueOrDefault4 = valueOrDefault3.GetValueOrDefault(); - return new TripleTriadCardReward(new ItemRewardDetails(item, elementId), (ushort)valueOrDefault4.RowId); - } - num = item.ItemAction.ValueNullable?.RowId; - if (num.HasValue && num == 20086) - { - return new FashionAccessoryReward(new ItemRewardDetails(item, elementId), item.ItemAction.Value.Data[0]); - } - return null; } public abstract bool IsUnlocked(); + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_202D_200E_206F_206D_202D_202C_200D_202B_202A_206A_202C_206A_206A_202E_200E_200B_206A_202C_206D_202B_206C_206F_206E_206C_202A_202D_200F_200B_206A_200C_206C_206B_206F_200D_202C_200C_206F_202C_200F_202E(); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(stringBuilder, global::_003CModule_003E._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(1783381517)); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? 1237326775 : 1237326772); + while (true) + { + int num2 = num; + int num3 = 1237326774; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1237326772; + break; + case 1: + _202E_202A_206F_206B_206A_206A_206F_202B_202B_200D_202A_202A_202A_202B_200B_206D_206B_200E_200D_202D_200C_206C_200F_202E_206F_206D_206B_202D_200D_200F_200D_202A_202C_200C_206D_202C_206C_206C_200D_200D_202E(stringBuilder, '}'); + return _206C_206E_206D_200F_202B_200F_202C_206F_206D_206D_200E_206E_200B_206F_202A_202E_206B_202D_200F_206B_202A_202B_202C_206C_206A_200B_200B_202E_202A_200F_206C_202C_200C_206D_202C_206A_200B_202E_202C_206F_202E((object)stringBuilder); + case 2: + _202E_202A_206F_206B_206A_206A_206F_202B_202B_200D_202A_202A_202A_202B_200B_206D_206B_200E_200D_202D_200C_206C_200F_202E_206F_206D_206B_202D_200D_200F_200D_202A_202C_200C_206D_202C_206C_206C_200D_200D_202E(stringBuilder, ' '); + num = 1237326775; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected virtual bool PrintMembers(StringBuilder builder) + { + _200D_206A_206C_206E_200F_206F_202C_206F_202B_206C_206E_200B_200C_200B_202A_200D_202E_202E_206D_202A_202C_202B_200B_206E_200C_200C_200D_200F_202B_202B_202C_200D_200B_202A_200F_202C_200B_202B_202A_202A_202E(); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(builder, global::_003CModule_003E._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(-1122053868)); + _202B_202D_202E_206D_200D_202E_200E_206B_200D_202A_206E_202E_206B_202A_200F_206D_202E_202E_206F_206A_202C_206C_202B_202C_200D_202A_206B_206C_202E_200D_206E_206C_206F_206D_200E_202B_206B_200E_200B_206F_202E(builder, (object)Item); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(builder, global::_003CModule_003E._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(1085623692)); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(builder, ItemId.ToString()); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(builder, global::_003CModule_003E._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(-844129380)); + _202B_202D_202E_206D_200D_202E_200E_206B_200D_202A_206E_202E_206B_202A_200F_206D_202E_202E_206F_206A_202C_206C_202B_202C_200D_202A_206B_206C_202E_200D_206E_206C_206F_206D_200E_202B_206B_200E_200B_206F_202E(builder, (object)Name); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(builder, global::_003CModule_003E._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(-788873601)); + _202B_202D_202E_206D_200D_202E_200E_206B_200D_202A_206E_202E_206B_202A_200F_206D_202E_202E_206F_206A_202C_206C_202B_202C_200D_202A_206B_206C_202E_200D_206E_206C_206F_206D_200E_202B_206B_200E_200B_206F_202E(builder, (object)ElementId); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(builder, global::_003CModule_003E._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(472252391)); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(builder, CastTime.ToString()); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(builder, global::_003CModule_003E._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(36845239)); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(builder, IsUntradable.ToString()); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(builder, global::_003CModule_003E._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(536002464)); + _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(builder, Type.ToString()); + return true; + } + + [CompilerGenerated] + public virtual bool Equals(ItemReward? other) + { + int num = (((object)this == other) ? (-1574270429) : (-1574270430)); + while (true) + { + int num2 = num; + int num3 = -1574270426; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return EqualityComparer.Default.Equals(Item, other.Item); + case 5: + return true; + case 1: + num = ((!_206C_200B_202C_200D_206D_206F_206D_200B_200C_206D_202E_200B_206B_202E_200B_206C_206C_202D_206F_200D_202A_202E_206D_200E_206C_206C_200C_206C_202E_202D_202B_206D_202A_206D_200E_200B_202C_202D_200C_202E_202E(EqualityContract, other.EqualityContract)) ? (-1574270427) : (-1574270428)); + break; + case 0: + num = -1574270430; + break; + case 4: + num = (((object)other == null) ? (-1574270427) : (-1574270425)); + break; + case 3: + return false; + } + } + } + + bool IEquatable.Equals(ItemReward? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202E_206B_206D_206A_200B_202E_200E_200E_206B_202B_202B_206C_202E_202B_200C_206F_202B_200D_200E_200C_200F_200D_200E_206B_200E_200B_200D_202E_200B_206C_202C_202E_206C_200E_202E_202D_202E_202D_200D_206F_202E(RuntimeTypeHandle P_0) + { + return System.Type.GetTypeFromHandle(P_0); + } + + static bool _200B_206F_206D_202A_200C_206A_200D_202B_202E_206D_202A_206C_202D_202B_206A_202C_202B_200E_202C_202D_206C_206F_200C_202D_202A_202A_200D_202D_202B_206A_206E_202D_206F_200F_206D_206D_200E_200B_202B_202B_202E(Item P_0) + { + return CofferHelper.IsGearCoffer(P_0); + } + + static StringBuilder _202A_202D_200E_206F_206D_202D_202C_200D_202B_202A_206A_202C_206A_206A_202E_200E_200B_206A_202C_206D_202B_206C_206F_206E_206C_202A_202D_200F_200B_206A_200C_206C_206B_206F_200D_202C_200C_206F_202C_200F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_202A_200F_202B_200C_206E_202D_202D_202A_200D_202A_206F_200C_206A_200E_200C_206D_206B_200C_202B_206A_200D_202A_200D_200F_206A_200E_202E_202B_206E_206D_200D_202E_200B_206D_202D_202E_200E_200F_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202E_202A_206F_206B_206A_206A_206F_202B_202B_200D_202A_202A_202A_202B_200B_206D_206B_200E_200D_202D_200C_206C_200F_202E_206F_206D_206B_202D_200D_200F_200D_202A_202C_200C_206D_202C_206C_206C_200D_200D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_206E_206D_200F_202B_200F_202C_206F_206D_206D_200E_206E_200B_206F_202A_202E_206B_202D_200F_206B_202A_202B_202C_206C_206A_200B_200B_202E_202A_200F_206C_202C_200C_206D_202C_206A_200B_202E_202C_206F_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200D_206A_206C_206E_200F_206F_202C_206F_202B_206C_206E_200B_200C_200B_202A_200D_202E_202E_206D_202A_202C_202B_200B_206E_200C_200C_200D_200F_202B_202B_202C_200D_200B_202A_200F_202C_200B_202B_202A_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202B_202D_202E_206D_200D_202E_200E_206B_200D_202A_206E_202E_206B_202A_200F_206D_202E_202E_206F_206A_202C_206C_202B_202C_200D_202A_206B_206C_202E_200D_206E_206C_206F_206D_200E_202B_206B_200E_200B_206F_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206C_200B_202C_200D_206D_206F_206D_200B_200C_206D_202E_200B_206B_202E_200B_206C_206C_202D_206F_200D_202A_202E_206D_200E_206C_206C_200C_206C_202E_202D_202B_206D_202A_206D_200E_200B_202C_202D_200C_202E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } } diff --git a/Questionable/Questionable.Model/ItemRewardDetails.cs b/Questionable/Questionable.Model/ItemRewardDetails.cs index aaeef1bd..a6210926 100644 --- a/Questionable/Questionable.Model/ItemRewardDetails.cs +++ b/Questionable/Questionable.Model/ItemRewardDetails.cs @@ -1,6 +1,8 @@ using System; +using Dalamud.Game.Text.SeStringHandling; using Dalamud.Utility; using Lumina.Excel.Sheets; +using Lumina.Text.ReadOnly; using Questionable.Model.Questing; namespace Questionable.Model; @@ -9,10 +11,12 @@ public sealed class ItemRewardDetails { public uint ItemId { get; } = item.RowId; - public string Name { get; } = item.Name.ToDalamudString().ToString(); + public string Name { get; } = _206A_206B_206E_206C_206A_206E_200B_206E_200E_206B_206F_202E_200E_206C_206B_200B_206F_202B_200D_206F_206A_202D_202D_202A_200F_202B_206C_202A_200D_202C_202C_200C_200C_206C_206A_200F_200C_202D_202D_202C_202E((object)_200C_202A_202B_200B_202A_206A_202B_206B_200C_200E_206C_206F_200C_206D_206C_202A_202D_206F_202A_202B_200F_206E_200E_200E_202D_200D_202A_206E_206F_202C_206A_202B_206B_200C_206F_200D_202C_200B_200E_206C_202E(item.Name)); public TimeSpan CastTime { get; } = TimeSpan.FromSeconds(item.CastTimeSeconds); + public bool IsUntradable { get; } = item.IsUntradable; + public ElementId ElementId { get; } public ItemRewardDetails(Item item, ElementId elementId) @@ -20,4 +24,14 @@ public sealed class ItemRewardDetails ElementId = elementId; base._002Ector(); } + + static SeString _200C_202A_202B_200B_202A_206A_202B_206B_200C_200E_206C_206F_200C_206D_206C_202A_202D_206F_202A_202B_200F_206E_200E_200E_202D_200D_202A_206E_206F_202C_206A_202B_206B_200C_206F_200D_202C_200B_200E_206C_202E(ReadOnlySeString P_0) + { + return P_0.ToDalamudString(); + } + + static string _206A_206B_206E_206C_206A_206E_200B_206E_200E_206B_206F_202E_200E_206C_206B_200B_206F_202B_200D_206F_206A_202D_202D_202A_200F_202B_206C_202A_200D_202C_202C_200C_200C_206C_206A_200F_200C_202D_202D_202C_202E(object P_0) + { + return P_0.ToString(); + } } diff --git a/Questionable/Questionable.Model/MinionReward.cs b/Questionable/Questionable.Model/MinionReward.cs index 4d2bce7a..5e48d3b2 100644 --- a/Questionable/Questionable.Model/MinionReward.cs +++ b/Questionable/Questionable.Model/MinionReward.cs @@ -1,10 +1,23 @@ +using System; +using System.Collections.Generic; using System.Runtime.CompilerServices; +using System.Text; using FFXIVClientStructs.FFXIV.Client.Game.UI; namespace Questionable.Model; public sealed record MinionReward : ItemReward { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206B_200F_202E_200F_206F_206D_206D_200D_202A_200C_202B_200D_200B_202B_202E_202D_206D_206C_200C_206C_206F_202B_206D_202A_202A_206B_206C_206C_200D_200E_202E_200E_202C_202B_200B_206E_206E_206A_200C_206E_202E(typeof(MinionReward).TypeHandle); + } + } + public uint MinionId { get; init; } public override EItemRewardType Type => EItemRewardType.Minion; @@ -20,10 +33,135 @@ public sealed record MinionReward : ItemReward return UIState.Instance()->IsCompanionUnlocked(MinionId); } + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200D_200F_200E_200F_202D_200B_200F_200B_206E_206E_206F_206E_200C_200B_200B_206F_206B_202A_206B_206D_200E_200B_206A_200E_202B_200B_206D_200F_206E_206E_200B_200C_202E_200E_200D_206D_200E_200D_202B_202D_202E(); + _206F_200F_202B_206F_202C_202E_202B_202D_202A_200E_206D_202E_200D_206A_200C_200D_200F_206B_200D_206F_206E_202D_206C_202D_202E_200B_200F_206C_206C_206D_200F_202B_200C_200C_206D_206C_206E_200C_200D_202A_202E(stringBuilder, global::_003CModule_003E._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(-1942612886)); + _206F_200F_202B_206F_202C_202E_202B_202D_202A_200E_206D_202E_200D_206A_200C_200D_200F_206B_200D_206F_206E_202D_206C_202D_202E_200B_200F_206C_206C_206D_200F_202B_200C_200C_206D_206C_206E_200C_200D_202A_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? 328409994 : 328409993); + while (true) + { + int num2 = num; + int num3 = 328409995; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _202A_206C_202E_200C_206E_202A_202A_206A_206E_206E_202E_206E_206F_206B_200F_202B_200C_206D_200B_202A_200E_200D_200F_200F_202D_202B_202C_202A_202B_206B_206B_206A_200F_206C_200D_206F_200E_202A_206B_206E_202E(stringBuilder, '}'); + return _200F_202E_200C_200D_206A_206B_206E_206F_206F_202E_200B_206A_202A_202C_200C_206A_206E_202A_206E_206A_206A_200B_206D_202E_202C_202B_202A_202C_200B_206E_202D_202A_200D_206A_206F_202D_206C_202A_202A_206F_202E((object)stringBuilder); + case 2: + _202A_206C_202E_200C_206E_202A_202A_206A_206E_206E_202E_206E_206F_206B_200F_202B_200C_206D_200B_202A_200E_200D_200F_200F_202D_202B_202C_202A_202B_206B_206B_206A_200F_206C_200D_206F_200E_202A_206B_206E_202E(stringBuilder, ' '); + num = 328409994; + break; + case 0: + num = 328409993; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 738059944 : 738059945); + while (true) + { + int num2 = num; + int num3 = 738059944; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _206F_200F_202B_206F_202C_202E_202B_202D_202A_200E_206D_202E_200D_206A_200C_200D_200F_206B_200D_206F_206E_202D_206C_202D_202E_200B_200F_206C_206C_206D_200F_202B_200C_200C_206D_206C_206E_200C_200D_202A_202E(builder, global::_003CModule_003E._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(1657444292)); + _206F_200F_202B_206F_202C_202E_202B_202D_202A_200E_206D_202E_200D_206A_200C_200D_200F_206B_200D_206F_206E_202D_206C_202D_202E_200B_200F_206C_206C_206D_200F_202B_200C_200C_206D_206C_206E_200C_200D_202A_202E(builder, MinionId.ToString()); + return true; + case 1: + _206F_200F_202B_206F_202C_202E_202B_202D_202A_200E_206D_202E_200D_206A_200C_200D_200F_206B_200D_206F_206E_202D_206C_202D_202E_200B_200F_206C_206C_206D_200F_202B_200C_200C_206D_206C_206E_200C_200D_202A_202E(builder, global::_003CModule_003E._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(1087086507)); + num = 738059944; + break; + case 2: + num = 738059945; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(MinionReward? other) + { + int num = (((object)this == other) ? (-1239991407) : (-1239991401)); + while (true) + { + int num2 = num; + int num3 = -1239991405; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return true; + case 4: + num = ((!base.Equals(other)) ? (-1239991405) : (-1239991406)); + break; + case 1: + return EqualityComparer.Default.Equals(MinionId, other.MinionId); + case 0: + return false; + case 3: + num = -1239991401; + break; + } + } + } + + bool IEquatable.Equals(MinionReward? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + [CompilerGenerated] public void Deconstruct(out ItemRewardDetails Item, out uint MinionId) { Item = base.Item; MinionId = this.MinionId; } + + static Type _206B_200F_202E_200F_206F_206D_206D_200D_202A_200C_202B_200D_200B_202B_202E_202D_206D_206C_200C_206C_206F_202B_206D_202A_202A_206B_206C_206C_200D_200E_202E_200E_202C_202B_200B_206E_206E_206A_200C_206E_202E(RuntimeTypeHandle P_0) + { + return System.Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200D_200F_200E_200F_202D_200B_200F_200B_206E_206E_206F_206E_200C_200B_200B_206F_206B_202A_206B_206D_200E_200B_206A_200E_202B_200B_206D_200F_206E_206E_200B_200C_202E_200E_200D_206D_200E_200D_202B_202D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206F_200F_202B_206F_202C_202E_202B_202D_202A_200E_206D_202E_200D_206A_200C_200D_200F_206B_200D_206F_206E_202D_206C_202D_202E_200B_200F_206C_206C_206D_200F_202B_200C_200C_206D_206C_206E_200C_200D_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202A_206C_202E_200C_206E_202A_202A_206A_206E_206E_202E_206E_206F_206B_200F_202B_200C_206D_200B_202A_200E_200D_200F_200F_202D_202B_202C_202A_202B_206B_206B_206A_200F_206C_200D_206F_200E_202A_206B_206E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_202E_200C_200D_206A_206B_206E_206F_206F_202E_200B_206A_202A_202C_200C_206A_206E_202A_206E_206A_206A_200B_206D_202E_202C_202B_202A_202C_200B_206E_202D_202A_200D_206A_206F_202D_206C_202A_202A_206F_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _202C_202D_206B_200D_202B_200F_202A_200D_206E_200D_202B_202A_200E_206C_206A_202D_206A_206B_206D_206D_200B_200F_202D_206F_206A_200B_202C_206D_200F_206F_206D_200E_202B_200B_206B_200B_202E_206F_206C_202C_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } } diff --git a/Questionable/Questionable.Model/MountReward.cs b/Questionable/Questionable.Model/MountReward.cs index 2c797f97..4f842b07 100644 --- a/Questionable/Questionable.Model/MountReward.cs +++ b/Questionable/Questionable.Model/MountReward.cs @@ -1,10 +1,23 @@ +using System; +using System.Collections.Generic; using System.Runtime.CompilerServices; -using FFXIVClientStructs.FFXIV.Client.Game.UI; +using System.Text; +using LLib.GameData; namespace Questionable.Model; public sealed record MountReward : ItemReward { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206D_202C_202E_200B_200D_202D_206B_202D_202A_202B_200E_206F_202A_202D_202E_202E_206F_206A_202C_200D_200B_206B_206C_202E_206F_206A_206B_206C_202E_206E_200B_200B_206D_202D_206C_206D_200F_202E_202E_206E_202E(typeof(MountReward).TypeHandle); + } + } + public uint MountId { get; init; } public override EItemRewardType Type => EItemRewardType.Mount; @@ -15,9 +28,102 @@ public sealed record MountReward : ItemReward base._002Ector(Item); } - public unsafe override bool IsUnlocked() + public override bool IsUnlocked() { - return PlayerState.Instance()->IsMountUnlocked(MountId); + return _200D_202C_200F_206D_200D_206C_202C_206D_206D_202B_200E_202D_200C_200F_206D_206C_202A_200E_202C_200B_202B_202C_202E_206C_206B_200D_206A_200D_200F_200F_206E_200B_202A_206C_200C_206C_202B_202D_206C_200C_202E(MountId); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202D_200C_206B_202C_202C_206A_200F_200B_200B_206A_200F_202C_206C_200B_206A_200E_206D_200B_202E_206F_200F_202E_202B_202D_206F_206E_206A_202B_202A_200C_202A_202C_202A_206B_202D_202E_206D_206C_202C_200E_202E(); + _200C_206F_202A_202A_200C_202B_200C_206A_200B_206D_200E_202D_202E_200C_202C_206B_202C_206D_206D_202E_200B_202B_206A_206F_206E_200F_200D_206F_202B_206F_200D_202D_202C_206E_200D_206A_206B_200F_200C_206C_202E(stringBuilder, global::_003CModule_003E._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(-1221435130)); + _200C_206F_202A_202A_200C_202B_200C_206A_200B_206D_200E_202D_202E_200C_202C_206B_202C_206D_206D_202E_200B_202B_206A_206F_206E_200F_200D_206F_202B_206F_200D_202D_202C_206E_200D_206A_206B_200F_200C_206C_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? 58843567 : 58843566); + while (true) + { + int num2 = num; + int num3 = 58843567; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 58843566; + break; + case 1: + _206A_206E_206D_200B_202D_206E_202B_206E_202E_202B_200F_202C_200F_200B_202C_206F_202B_206D_206B_206B_202D_200E_206E_200D_200C_206C_202C_202D_206C_206C_202B_200D_202E_202B_206C_206E_200C_202C_202A_200C_202E(stringBuilder, ' '); + num = 58843567; + break; + case 0: + _206A_206E_206D_200B_202D_206E_202B_206E_202E_202B_200F_202C_200F_200B_202C_206F_202B_206D_206B_206B_202D_200E_206E_200D_200C_206C_202C_202D_206C_206C_202B_200D_202E_202B_206C_206E_200C_202C_202A_200C_202E(stringBuilder, '}'); + return _202C_202B_206F_206B_200D_206E_206D_206A_202C_206E_200F_200E_202E_200F_202A_206D_206B_202E_200D_202D_200D_200E_202B_200F_200C_202D_206D_200F_200C_206B_200B_200B_200C_200F_202C_200D_202D_206C_200F_206C_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? (-1015769128) : (-1015769127)); + while (true) + { + int num2 = num; + int num3 = -1015769128; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1015769127; + break; + case 0: + _200C_206F_202A_202A_200C_202B_200C_206A_200B_206D_200E_202D_202E_200C_202C_206B_202C_206D_206D_202E_200B_202B_206A_206F_206E_200F_200D_206F_202B_206F_200D_202D_202C_206E_200D_206A_206B_200F_200C_206C_202E(builder, global::_003CModule_003E._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(1941296571)); + _200C_206F_202A_202A_200C_202B_200C_206A_200B_206D_200E_202D_202E_200C_202C_206B_202C_206D_206D_202E_200B_202B_206A_206F_206E_200F_200D_206F_202B_206F_200D_202D_202C_206E_200D_206A_206B_200F_200C_206C_202E(builder, MountId.ToString()); + return true; + case 1: + _200C_206F_202A_202A_200C_202B_200C_206A_200B_206D_200E_202D_202E_200C_202C_206B_202C_206D_206D_202E_200B_202B_206A_206F_206E_200F_200D_206F_202B_206F_200D_202D_202C_206E_200D_206A_206B_200F_200C_206C_202E(builder, global::_003CModule_003E._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(1577352017)); + num = -1015769128; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(MountReward? other) + { + int num = (((object)this == other) ? (-1601021370) : (-1601021371)); + while (true) + { + int num2 = num; + int num3 = -1601021370; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return true; + case 4: + return EqualityComparer.Default.Equals(MountId, other.MountId); + case 3: + num = ((!base.Equals(other)) ? (-1601021369) : (-1601021374)); + break; + case 1: + return false; + case 2: + num = -1601021371; + break; + } + } + } + + bool IEquatable.Equals(MountReward? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); } [CompilerGenerated] @@ -26,4 +132,39 @@ public sealed record MountReward : ItemReward Item = base.Item; MountId = this.MountId; } + + static Type _206D_202C_202E_200B_200D_202D_206B_202D_202A_202B_200E_206F_202A_202D_202E_202E_206F_206A_202C_200D_200B_206B_206C_202E_206F_206A_206B_206C_202E_206E_200B_200B_206D_202D_206C_206D_200F_202E_202E_206E_202E(RuntimeTypeHandle P_0) + { + return System.Type.GetTypeFromHandle(P_0); + } + + static bool _200D_202C_200F_206D_200D_206C_202C_206D_206D_202B_200E_202D_200C_200F_206D_206C_202A_200E_202C_200B_202B_202C_202E_206C_206B_200D_206A_200D_200F_200F_206E_200B_202A_206C_200C_206C_202B_202D_206C_200C_202E(uint P_0) + { + return PlayerStateHelper.IsMountUnlocked(P_0); + } + + static StringBuilder _202D_200C_206B_202C_202C_206A_200F_200B_200B_206A_200F_202C_206C_200B_206A_200E_206D_200B_202E_206F_200F_202E_202B_202D_206F_206E_206A_202B_202A_200C_202A_202C_202A_206B_202D_202E_206D_206C_202C_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200C_206F_202A_202A_200C_202B_200C_206A_200B_206D_200E_202D_202E_200C_202C_206B_202C_206D_206D_202E_200B_202B_206A_206F_206E_200F_200D_206F_202B_206F_200D_202D_202C_206E_200D_206A_206B_200F_200C_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_206E_206D_200B_202D_206E_202B_206E_202E_202B_200F_202C_200F_200B_202C_206F_202B_206D_206B_206B_202D_200E_206E_200D_200C_206C_202C_202D_206C_206C_202B_200D_202E_202B_206C_206E_200C_202C_202A_200C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202C_202B_206F_206B_200D_206E_206D_206A_202C_206E_200F_200E_202E_200F_202A_206D_206B_202E_200D_202D_200D_200E_202B_200F_200C_202D_206D_200F_200C_206B_200B_200B_200C_200F_202C_200D_202D_206C_200F_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _200F_206F_202E_206F_202D_202D_202A_200E_206A_202D_206B_200C_202B_200F_206A_202D_206F_206E_206D_202E_200F_206E_206D_206A_202E_206C_206E_200D_200F_202A_206B_206F_200F_200B_206C_200D_200C_202B_202C_200C_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } } diff --git a/Questionable/Questionable.Model/OrchestrionRollReward.cs b/Questionable/Questionable.Model/OrchestrionRollReward.cs index d3150403..09b33bf3 100644 --- a/Questionable/Questionable.Model/OrchestrionRollReward.cs +++ b/Questionable/Questionable.Model/OrchestrionRollReward.cs @@ -1,10 +1,23 @@ +using System; +using System.Collections.Generic; using System.Runtime.CompilerServices; -using FFXIVClientStructs.FFXIV.Client.Game.UI; +using System.Text; +using LLib.GameData; namespace Questionable.Model; public sealed record OrchestrionRollReward : ItemReward { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_206E_202D_206E_206A_206B_200B_206B_202D_202B_206E_200D_200B_200F_200E_206F_202E_202D_200B_202A_200B_202E_200D_206E_200E_200D_202D_200E_200C_202D_206E_202E_206C_202B_200E_202E_206C_202A_200F_202B_202E(typeof(OrchestrionRollReward).TypeHandle); + } + } + public uint OrchestrionRollId { get; init; } public override EItemRewardType Type => EItemRewardType.OrchestrionRoll; @@ -15,9 +28,102 @@ public sealed record OrchestrionRollReward : ItemReward base._002Ector(Item); } - public unsafe override bool IsUnlocked() + public override bool IsUnlocked() { - return PlayerState.Instance()->IsOrchestrionRollUnlocked(OrchestrionRollId); + return _200D_202D_206B_206A_206E_200F_206C_200C_202D_202C_200F_206F_206B_200C_200F_206E_200C_202C_202D_206D_202B_200C_200B_206C_206D_202E_206F_200D_200F_200B_206D_202C_206B_206E_200D_202E_202E_200C_202E_200E_202E(OrchestrionRollId); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202E_206F_206B_200E_202D_200E_202D_202C_206A_200E_200E_200C_202E_206E_202E_200E_202D_202D_202E_206A_200B_206E_202E_206A_206D_206B_206A_202D_200D_202A_200F_202E_202C_206F_206A_200E_206A_206C_202D_202B_202E(); + _202B_200B_206E_206B_206C_202D_202A_202C_206F_206E_206F_206C_206A_206D_202E_206C_206B_202B_202A_200C_206A_206C_206F_206E_200B_202E_206E_206A_206B_202D_206C_206E_202E_200D_200D_206E_206F_206A_200E_202E_202E(stringBuilder, global::_003CModule_003E._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(117582114)); + _202B_200B_206E_206B_206C_202D_202A_202C_206F_206E_206F_206C_206A_206D_202E_206C_206B_202B_202A_200C_206A_206C_206F_206E_200B_202E_206E_206A_206B_202D_206C_206E_202E_200D_200D_206E_206F_206A_200E_202E_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? (-970373537) : (-970373540)); + while (true) + { + int num2 = num; + int num3 = -970373539; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _200D_202D_206C_206B_206E_202B_206A_200E_200D_202C_200F_200F_200F_200F_206B_200D_200D_206A_202D_206D_206D_202B_200B_202E_206D_206C_200C_202C_206D_206E_200D_200F_206B_202B_206C_206A_202B_206E_206C_202B_202E(stringBuilder, '}'); + return _206A_206B_206A_200B_206A_202C_206B_200B_206B_206A_206A_206F_202B_200D_200C_206D_200D_206A_200B_200F_202A_200F_206A_206F_206E_206A_200B_206F_202B_200C_202C_202C_202C_206F_200E_202A_200E_200F_200F_202A_202E((object)stringBuilder); + case 1: + _200D_202D_206C_206B_206E_202B_206A_200E_200D_202C_200F_200F_200F_200F_206B_200D_200D_206A_202D_206D_206D_202B_200B_202E_206D_206C_200C_202C_206D_206E_200D_200F_206B_202B_206C_206A_202B_206E_206C_202B_202E(stringBuilder, ' '); + num = -970373537; + break; + case 0: + num = -970373540; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 1843073855 : 1843073852); + while (true) + { + int num2 = num; + int num3 = 1843073853; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _202B_200B_206E_206B_206C_202D_202A_202C_206F_206E_206F_206C_206A_206D_202E_206C_206B_202B_202A_200C_206A_206C_206F_206E_200B_202E_206E_206A_206B_202D_206C_206E_202E_200D_200D_206E_206F_206A_200E_202E_202E(builder, global::_003CModule_003E._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(463107182)); + _202B_200B_206E_206B_206C_202D_202A_202C_206F_206E_206F_206C_206A_206D_202E_206C_206B_202B_202A_200C_206A_206C_206F_206E_200B_202E_206E_206A_206B_202D_206C_206E_202E_200D_200D_206E_206F_206A_200E_202E_202E(builder, OrchestrionRollId.ToString()); + return true; + case 1: + _202B_200B_206E_206B_206C_202D_202A_202C_206F_206E_206F_206C_206A_206D_202E_206C_206B_202B_202A_200C_206A_206C_206F_206E_200B_202E_206E_206A_206B_202D_206C_206E_202E_200D_200D_206E_206F_206A_200E_202E_202E(builder, global::_003CModule_003E._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(-1095822044)); + num = 1843073855; + break; + case 0: + num = 1843073852; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(OrchestrionRollReward? other) + { + int num = (((object)this == other) ? 1522339869 : 1522339870); + while (true) + { + int num2 = num; + int num3 = 1522339868; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1522339870; + break; + case 1: + return true; + case 2: + num = ((!base.Equals(other)) ? 1522339871 : 1522339864); + break; + case 3: + return false; + case 4: + return EqualityComparer.Default.Equals(OrchestrionRollId, other.OrchestrionRollId); + } + } + } + + bool IEquatable.Equals(OrchestrionRollReward? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); } [CompilerGenerated] @@ -26,4 +132,39 @@ public sealed record OrchestrionRollReward : ItemReward Item = base.Item; OrchestrionRollId = this.OrchestrionRollId; } + + static Type _202C_206E_202D_206E_206A_206B_200B_206B_202D_202B_206E_200D_200B_200F_200E_206F_202E_202D_200B_202A_200B_202E_200D_206E_200E_200D_202D_200E_200C_202D_206E_202E_206C_202B_200E_202E_206C_202A_200F_202B_202E(RuntimeTypeHandle P_0) + { + return System.Type.GetTypeFromHandle(P_0); + } + + static bool _200D_202D_206B_206A_206E_200F_206C_200C_202D_202C_200F_206F_206B_200C_200F_206E_200C_202C_202D_206D_202B_200C_200B_206C_206D_202E_206F_200D_200F_200B_206D_202C_206B_206E_200D_202E_202E_200C_202E_200E_202E(uint P_0) + { + return PlayerStateHelper.IsOrchestrionRollUnlocked(P_0); + } + + static StringBuilder _202E_206F_206B_200E_202D_200E_202D_202C_206A_200E_200E_200C_202E_206E_202E_200E_202D_202D_202E_206A_200B_206E_202E_206A_206D_206B_206A_202D_200D_202A_200F_202E_202C_206F_206A_200E_206A_206C_202D_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202B_200B_206E_206B_206C_202D_202A_202C_206F_206E_206F_206C_206A_206D_202E_206C_206B_202B_202A_200C_206A_206C_206F_206E_200B_202E_206E_206A_206B_202D_206C_206E_202E_200D_200D_206E_206F_206A_200E_202E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_202D_206C_206B_206E_202B_206A_200E_200D_202C_200F_200F_200F_200F_206B_200D_200D_206A_202D_206D_206D_202B_200B_202E_206D_206C_200C_202C_206D_206E_200D_200F_206B_202B_206C_206A_202B_206E_206C_202B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206A_206B_206A_200B_206A_202C_206B_200B_206B_206A_206A_206F_202B_200D_200C_206D_200D_206A_200B_200F_202A_200F_206A_206F_206E_206A_200B_206F_202B_200C_202C_202C_202C_206F_200E_202A_200E_200F_200F_202A_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _206A_202D_206C_200D_206F_206B_202C_206F_202B_200B_202B_202C_202B_202A_206A_202B_200D_206C_200F_206A_206D_200F_200F_202A_206D_202A_202E_200E_200B_202E_202D_200B_202C_206B_206A_200F_200F_206D_206C_200C_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } } diff --git a/Questionable/Questionable.Model/PreviousQuestInfo.cs b/Questionable/Questionable.Model/PreviousQuestInfo.cs index 302a32e8..5dec1b6c 100644 --- a/Questionable/Questionable.Model/PreviousQuestInfo.cs +++ b/Questionable/Questionable.Model/PreviousQuestInfo.cs @@ -1,5 +1,140 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; using Questionable.Model.Questing; namespace Questionable.Model; -internal sealed record PreviousQuestInfo(QuestId QuestId, byte Sequence = 0); +internal sealed record PreviousQuestInfo(QuestId QuestId, byte Sequence = 0) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_200B_200C_200F_200E_200F_200B_206E_202A_200D_202D_206B_206D_206D_202B_206E_206A_200F_206F_200B_202B_200C_206B_202C_200E_206C_200E_202E_200D_206D_200F_206E_206F_200D_202B_206F_202D_202C_202A_206E_202E(typeof(PreviousQuestInfo).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_200F_202A_200E_206A_200E_202B_202D_200C_202E_200C_202A_206B_206E_200F_200D_206A_202B_206D_200D_202B_206E_206F_206F_202B_202A_200D_200C_200C_206D_206F_202C_200C_206F_206C_206E_200B_202E_206D_200D_202E(); + _202E_200C_206D_202C_206E_200B_202A_200E_200E_200D_200D_202D_202A_202D_200C_200D_202A_202C_200B_206D_200F_202B_202E_206B_200D_202C_202E_206D_202A_206C_200C_202E_206E_202B_200F_206B_200F_200E_202E_206E_202E(stringBuilder, global::_003CModule_003E._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(332491426)); + _202E_200C_206D_202C_206E_200B_202A_200E_200E_200D_200D_202D_202A_202D_200C_200D_202A_202C_200B_206D_200F_202B_202E_206B_200D_202C_202E_206D_202A_206C_200C_202E_206E_202B_200F_206B_200F_200E_202E_206E_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? 713400625 : 713400626); + while (true) + { + int num2 = num; + int num3 = 713400627; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 713400626; + break; + case 1: + _200E_202C_200F_202D_206E_202C_206B_202D_206D_206C_200F_200B_206A_200C_202D_200D_206E_206E_206F_206B_206E_206F_206C_206E_206B_206E_200E_200E_202C_202C_202A_202C_200E_202C_202B_206D_202D_202A_202E_200F_202E(stringBuilder, ' '); + num = 713400625; + break; + case 2: + _200E_202C_200F_202D_206E_202C_206B_202D_206D_206C_200F_200B_206A_200C_202D_200D_206E_206E_206F_206B_206E_206F_206C_206E_206B_206E_200E_200E_202C_202C_202A_202C_200E_202C_202B_206D_202D_202A_202E_200F_202E(stringBuilder, '}'); + return _200D_200B_200B_202C_202C_206A_206D_200C_200E_200D_206E_206A_202A_206B_200F_206F_200C_206D_202A_200C_200C_202A_206C_202C_206A_206B_200C_200D_206F_202D_200F_202B_200E_206B_200F_206A_200F_200F_206B_202C_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_200B_206D_200D_202E_206D_200E_202E_202A_202C_206C_200F_206D_202B_200F_206E_200B_200E_200B_200E_200F_206E_206C_202B_200D_202B_200B_206F_200D_200C_206D_206D_206D_202C_202E_206A_206C_202D_200B_202B_202E(); + _202E_200C_206D_202C_206E_200B_202A_200E_200E_200D_200D_202D_202A_202D_200C_200D_202A_202C_200B_206D_200F_202B_202E_206B_200D_202C_202E_206D_202A_206C_200C_202E_206E_202B_200F_206B_200F_200E_202E_206E_202E(builder, global::_003CModule_003E._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(2228577)); + _200C_200E_206B_200D_206F_206B_200C_206A_206A_206D_206C_202A_202A_200F_202A_206C_200F_200D_200C_202C_206E_206E_200B_206B_206D_202B_202C_206C_200B_202A_206F_202B_200B_202D_200D_202A_200E_206D_200B_206A_202E(builder, (object)QuestId); + _202E_200C_206D_202C_206E_200B_202A_200E_200E_200D_200D_202D_202A_202D_200C_200D_202A_202C_200B_206D_200F_202B_202E_206B_200D_202C_202E_206D_202A_206C_200C_202E_206E_202B_200F_206B_200F_200E_202E_206E_202E(builder, global::_003CModule_003E._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(-327076954)); + _202E_200C_206D_202C_206E_200B_202A_200E_200E_200D_200D_202D_202A_202D_200C_200D_202A_202C_200B_206D_200F_202B_202E_206B_200D_202C_202E_206D_202A_206C_200C_202E_206E_202B_200F_206B_200F_200E_202E_206E_202E(builder, Sequence.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(PreviousQuestInfo? other) + { + int num = (((object)this == other) ? (-684084045) : (-684084046)); + while (true) + { + int num2 = num; + int num3 = -684084048; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = ((!_202E_206F_200F_202C_202C_206B_206E_200F_206F_200E_206A_200B_202A_200E_202B_200C_206E_200C_200D_206A_200E_200E_206A_202A_200E_200C_202A_200D_200F_206A_206F_200B_200D_202A_206D_206B_200D_206C_206D_206E_202E(EqualityContract, other.EqualityContract)) ? (-684084044) : (-684084047)); + break; + case 0: + return EqualityComparer.Default.Equals(Sequence, other.Sequence); + case 4: + return false; + case 5: + num = -684084046; + break; + case 2: + num = (((object)other == null) ? (-684084044) : (-684084042)); + break; + case 3: + return true; + case 1: + num = ((!EqualityComparer.Default.Equals(QuestId, other.QuestId)) ? (-684084044) : (-684084048)); + break; + } + } + } + + bool IEquatable.Equals(PreviousQuestInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_200B_200C_200F_200E_200F_200B_206E_202A_200D_202D_206B_206D_206D_202B_206E_206A_200F_206F_200B_202B_200C_206B_202C_200E_206C_200E_202E_200D_206D_200F_206E_206F_200D_202B_206F_202D_202C_202A_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206F_200F_202A_200E_206A_200E_202B_202D_200C_202E_200C_202A_206B_206E_200F_200D_206A_202B_206D_200D_202B_206E_206F_206F_202B_202A_200D_200C_200C_206D_206F_202C_200C_206F_206C_206E_200B_202E_206D_200D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_200C_206D_202C_206E_200B_202A_200E_200E_200D_200D_202D_202A_202D_200C_200D_202A_202C_200B_206D_200F_202B_202E_206B_200D_202C_202E_206D_202A_206C_200C_202E_206E_202B_200F_206B_200F_200E_202E_206E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200E_202C_200F_202D_206E_202C_206B_202D_206D_206C_200F_200B_206A_200C_202D_200D_206E_206E_206F_206B_206E_206F_206C_206E_206B_206E_200E_200E_202C_202C_202A_202C_200E_202C_202B_206D_202D_202A_202E_200F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200D_200B_200B_202C_202C_206A_206D_200C_200E_200D_206E_206A_202A_206B_200F_206F_200C_206D_202A_200C_200C_202A_206C_202C_206A_206B_200C_200D_206F_202D_200F_202B_200E_206B_200F_206A_200F_200F_206B_202C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206D_200B_206D_200D_202E_206D_200E_202E_202A_202C_206C_200F_206D_202B_200F_206E_200B_200E_200B_200E_200F_206E_206C_202B_200D_202B_200B_206F_200D_200C_206D_206D_206D_202C_202E_206A_206C_202D_200B_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200C_200E_206B_200D_206F_206B_200C_206A_206A_206D_206C_202A_202A_200F_202A_206C_200F_200D_200C_202C_206E_206E_200B_206B_206D_202B_202C_206C_200B_202A_206F_202B_200B_202D_200D_202A_200E_206D_200B_206A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202E_206F_200F_202C_202C_206B_206E_200F_206F_200E_206A_200B_202A_200E_202B_200C_206E_200C_200D_206A_200E_200E_206A_202A_200E_200C_202A_200D_200F_206A_206F_200B_200D_202A_206D_206B_200D_206C_206D_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Model/Quest.cs b/Questionable/Questionable.Model/Quest.cs index c74eb55a..43f206d9 100644 --- a/Questionable/Questionable.Model/Quest.cs +++ b/Questionable/Questionable.Model/Quest.cs @@ -1,5 +1,9 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; +using System.Runtime.CompilerServices; using Questionable.Model.Questing; namespace Questionable.Model; @@ -13,6 +17,268 @@ internal sealed class Quest UserDirectory } + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass20_0 + { + public byte currentSequence; + + internal bool _003CFindSequence_003Eb__0(QuestSequence seq) + { + return _202C_202A_202B_202A_202E_202A_206F_202D_206B_200B_206D_206C_202E_206B_206B_202B_200B_202A_200C_206A_202C_202E_200F_206D_202B_200D_200F_202C_206D_202E_200F_206C_200E_202B_200B_202E_202E_202E_206D_200E_202E(seq) == currentSequence; + } + + static byte _202C_202A_202B_202A_202E_202A_206F_202D_206B_200B_206D_206C_202E_206B_206B_202B_200B_202A_200C_206A_202C_202E_200F_206D_202B_200D_200F_202C_206D_202E_200F_206C_200E_202B_200B_202E_202E_202E_206D_200E_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + } + + [CompilerGenerated] + private sealed class _003CAllSteps_003Ed__22 : IEnumerable<(QuestSequence Sequence, int StepId, QuestStep Step)>, IEnumerable, IEnumerator<(QuestSequence Sequence, int StepId, QuestStep Step)>, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private (QuestSequence Sequence, int StepId, QuestStep Step) _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public Quest _003C_003E4__this; + + private List.Enumerator _003C_003E7__wrap1; + + private QuestSequence _003Csequence_003E5__3; + + private int _003Ci_003E5__4; + + (QuestSequence Sequence, int StepId, QuestStep Step) IEnumerator<(QuestSequence, int, QuestStep)>.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CAllSteps_003Ed__22(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _200B_200D_202E_206B_206E_200C_202D_206E_206E_200E_206B_206B_202A_206F_202C_202D_206B_202D_200E_200E_206F_202C_206A_206D_202B_202C_202A_200C_202A_206E_202E_206A_200D_206F_200C_206C_206C_206A_206E_202C_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? 529079118 : 529079117); + while (true) + { + int num3 = num2; + int num4 = 529079116; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 0: + num2 = 529079117; + continue; + case 1: + if (num == 1) + { + num2 = 529079118; + continue; + } + break; + case 2: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = default(List.Enumerator); + _003Csequence_003E5__3 = null; + _003C_003E1__state = -2; + } + + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + Quest quest = _003C_003E4__this; + int num2 = ((num == 0) ? 1702961478 : 1702961473); + while (true) + { + int num3 = num2; + int num4 = 1702961479; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 3: + return false; + case 6: + num2 = ((num == 1) ? 1702961487 : 1702961476); + break; + case 5: + _003Csequence_003E5__3 = null; + num2 = 1702961472; + break; + case 7: + num2 = (_003C_003E7__wrap1.MoveNext() ? 1702961479 : 1702961475); + break; + case 9: + { + QuestStep item = _200E_202C_202A_206A_202A_200E_202B_200D_206B_206D_202B_200D_202A_206C_206C_202D_206A_200C_202C_206D_206E_206C_206B_206C_206E_202B_206C_206D_206F_200B_200E_206C_202B_206A_206A_202A_202A_206C_200C_206A_202E(_003Csequence_003E5__3)[_003Ci_003E5__4]; + _003C_003E2__current = (Sequence: _003Csequence_003E5__3, StepId: _003Ci_003E5__4, Step: item); + _003C_003E1__state = 1; + return true; + } + case 2: + num2 = ((_003Ci_003E5__4 < _200E_202C_202A_206A_202A_200E_202B_200D_206B_206D_202B_200D_202A_206C_206C_202D_206A_200C_202C_206D_206E_206C_206B_206C_206E_202B_206C_206D_206F_200B_200E_206C_202B_206A_206A_202A_202A_206C_200C_206A_202E(_003Csequence_003E5__3).Count) ? 1702961486 : 1702961474); + break; + case 0: + _003Csequence_003E5__3 = _003C_003E7__wrap1.Current; + _003Ci_003E5__4 = 0; + num2 = 1702961477; + break; + case 10: + num2 = 1702961473; + break; + case 1: + _003C_003E1__state = -1; + _003C_003E7__wrap1 = _202E_202A_206D_202E_200B_200F_200B_206A_206D_202E_202B_202A_200B_200D_202C_202C_200D_202D_202C_206F_200E_202C_200E_206D_202C_202A_206F_206E_202A_206E_202D_200C_200C_200D_200C_206E_200D_202E_206C_206E_202E(quest.Root).GetEnumerator(); + _003C_003E1__state = -3; + num2 = 1702961472; + break; + case 8: + { + _003C_003E1__state = -3; + int num8 = _003Ci_003E5__4; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + int num11 = num9 + (num10 + num10); + _003Ci_003E5__4 = num11; + num2 = 1702961477; + break; + } + case 4: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = default(List.Enumerator); + return false; + } + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + ((IDisposable)_003C_003E7__wrap1/*cast due to .constrained prefix*/).Dispose(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _202A_206B_200E_202E_206B_206B_206C_202E_200F_200D_200C_206F_200C_206E_202E_200F_200D_202E_200D_206E_206F_202A_202D_202A_206D_202C_206F_206A_202D_206F_206C_200D_200B_202B_202E_206D_202B_206B_206F_206B_202E(); + } + + [DebuggerHidden] + IEnumerator<(QuestSequence Sequence, int StepId, QuestStep Step)> IEnumerable<(QuestSequence, int, QuestStep)>.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 329781790 : 329781784); + _003CAllSteps_003Ed__22 result = default(_003CAllSteps_003Ed__22); + while (true) + { + int num2 = num; + int num3 = 329781788; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return result; + case 2: + result = new _003CAllSteps_003Ed__22(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = 329781791; + break; + case 0: + num = 329781784; + break; + case 4: + num = ((_003C_003El__initialThreadId != _200B_200D_202E_206B_206E_200C_202D_206E_206E_200E_206B_206B_202A_206F_202C_202D_206B_202D_200E_200E_206F_202C_206A_206D_202B_202C_202A_200C_202A_206E_202E_206A_200D_206F_200C_206C_206C_206A_206E_202C_202E()) ? 329781790 : 329781789); + break; + case 1: + _003C_003E1__state = 0; + result = this; + num = 329781791; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable<(QuestSequence, int, QuestStep)>)this).GetEnumerator(); + } + + static int _200B_200D_202E_206B_206E_200C_202D_206E_206E_200E_206B_206B_202A_206F_202C_202D_206B_202D_200E_200E_206F_202C_206A_206D_202B_202C_202A_200C_202A_206E_202E_206A_200D_206F_200C_206C_206C_206A_206E_202C_202E() + { + return Environment.CurrentManagedThreadId; + } + + static List _202E_202A_206D_202E_200B_200F_200B_206A_206D_202E_202B_202A_200B_200D_202C_202C_200D_202D_202C_206F_200E_202C_200E_206D_202C_202A_206F_206E_202A_206E_202D_200C_200C_200D_200C_206E_200D_202E_206C_206E_202E(QuestRoot P_0) + { + return P_0.QuestSequence; + } + + static List _200E_202C_202A_206A_202A_200E_202B_200D_206B_206D_202B_200D_202A_206C_206C_202D_206A_200C_202C_206D_206E_206C_206B_206C_206E_202B_206C_206D_206F_200B_200E_206C_202B_206A_206A_202A_202A_206C_200C_206A_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static NotSupportedException _202A_206B_200E_202E_206B_206B_206C_202E_200F_200D_200C_206F_200C_206E_202E_200F_200D_202E_200D_206E_206F_202A_202D_202A_206D_202C_206F_206A_202D_206F_206C_200D_200B_202B_202E_206D_202B_206B_206F_206B_202E() + { + return new NotSupportedException(); + } + } + public required ElementId Id { get; init; } public required QuestRoot Root { get; init; } @@ -21,28 +287,30 @@ internal sealed class Quest public required ESource Source { get; init; } + public string? SourcePath { get; init; } + public QuestSequence? FindSequence(byte currentSequence) { - return Root.QuestSequence.FirstOrDefault((QuestSequence seq) => seq.Sequence == currentSequence); + return _206A_206C_206A_200B_200F_206F_206C_200F_206C_200C_200C_206F_200F_206B_200F_202D_206A_200D_206C_206E_206D_200C_200D_202B_202B_200B_206C_202D_202A_206F_206F_200E_206D_200D_202E_202A_202C_200F_200D_200F_202E(Root).FirstOrDefault((QuestSequence seq) => _003C_003Ec__DisplayClass20_0._202C_202A_202B_202A_202E_202A_206F_202D_206B_200B_206D_206C_202E_206B_206B_202B_200B_202A_200C_206A_202C_202E_200F_206D_202B_200D_200F_202C_206D_202E_200F_206C_200E_202B_200B_202E_202E_202E_206D_200E_202E(seq) == currentSequence); } public IEnumerable AllSequences() { - return Root.QuestSequence; + return _206A_206C_206A_200B_200F_206F_206C_200F_206C_200C_200C_206F_200F_206B_200F_202D_206A_200D_206C_206E_206D_200C_200D_202B_202B_200B_206C_202D_202A_206F_206F_200E_206D_200D_202E_202A_202C_200F_200D_200F_202E(Root); } + [IteratorStateMachine(typeof(_003CAllSteps_003Ed__22))] public IEnumerable<(QuestSequence Sequence, int StepId, QuestStep Step)> AllSteps() { - foreach (QuestSequence sequence in Root.QuestSequence) + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CAllSteps_003Ed__22(-2) { - int i = 0; - while (i < sequence.Steps.Count) - { - QuestStep item = sequence.Steps[i]; - yield return (Sequence: sequence, StepId: i, Step: item); - int num = i + 1; - i = num; - } - } + _003C_003E4__this = this + }; + } + + static List _206A_206C_206A_200B_200F_206F_206C_200F_206C_200C_200C_206F_200F_206B_200F_202D_206A_200D_206C_206E_206D_200C_200D_202B_202B_200B_206C_202D_202A_206F_206F_200E_206D_200D_202E_202A_202C_200F_200D_200F_202E(QuestRoot P_0) + { + return P_0.QuestSequence; } } diff --git a/Questionable/Questionable.Model/QuestInfo.cs b/Questionable/Questionable.Model/QuestInfo.cs index de805953..e4b8e7a7 100644 --- a/Questionable/Questionable.Model/QuestInfo.cs +++ b/Questionable/Questionable.Model/QuestInfo.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; +using System.Runtime.CompilerServices; using FFXIVClientStructs.FFXIV.Client.UI.Agent; using LLib.GameData; using Lumina.Excel; @@ -12,6 +13,134 @@ namespace Questionable.Model; internal sealed class QuestInfo : IQuestInfo { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__0_0; + + public static Func, QuestId> _003C_003E9__0_1; + + public static Func _003C_003E9__0_2; + + public static Func, ushort> _003C_003E9__0_3; + + public static Func _003C_003E9__0_4; + + public static Func _003C_003E9__0_5; + + public static Func _003C_003E9__0_6; + + public static Func _003C_003E9__0_7; + + public static Func, bool> _003C_003E9__0_8; + + public static Func, Item?> _003C_003E9__0_9; + + public static Func _003C_003E9__0_10; + + public static Func _003C_003E9__0_11; + + public static Func _003C_003E9__0_13; + + internal bool _003C_002Ector_003Eb__0_0(PreviousQuestInfo x) + { + return _206E_200E_202A_200F_200F_206C_202E_206C_200E_202E_206B_206F_206E_206D_200F_202E_206E_206C_202E_202B_200C_202E_202D_206E_206A_206B_200E_200E_200D_202D_202E_200B_202C_206D_200C_206A_200B_206D_202C_206B_202E((ElementId)x.QuestId) != 0; + } + + internal QuestId _003C_002Ector_003Eb__0_1(RowRef x) + { + return _202C_202A_200E_206B_202E_202B_200F_200E_200B_206B_206F_200C_206A_206A_200D_200C_202C_206B_206A_200B_206B_200F_206B_200B_202A_206F_202D_200D_206D_200C_200E_200C_200F_206B_202A_202E_202C_206F_202E_206D_202E(x.RowId); + } + + internal bool _003C_002Ector_003Eb__0_2(QuestId x) + { + return _206E_200E_202A_200F_200F_206C_202E_206C_200E_202E_206B_206F_206E_206D_200F_202E_206E_206C_202E_202B_200C_202E_202D_206E_206A_206B_200E_200E_200D_202D_202E_200B_202C_206D_200C_206A_200B_206D_202C_206B_202E((ElementId)x) != 0; + } + + internal ushort _003C_002Ector_003Eb__0_3(RowRef x) + { + return (ushort)x.RowId; + } + + internal bool _003C_002Ector_003Eb__0_4(ushort x) + { + return x != 0; + } + + internal bool _003C_002Ector_003Eb__0_5(RowRef x) + { + int num = ((x.RowId == 0) ? 461820485 : 461820486); + while (true) + { + int num2 = num; + int num3 = 461820484; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004a; + case 1: + return false; + case 2: + return x.Is(); + } + continue; + IL_004a: + num = 461820486; + } + } + + internal Item? _003C_002Ector_003Eb__0_6(RowRef x) + { + return x.GetValueOrDefault(); + } + + internal bool _003C_002Ector_003Eb__0_7(Item? x) + { + return x.HasValue; + } + + internal bool _003C_002Ector_003Eb__0_8(RowRef x) + { + return x.RowId != 0; + } + + internal Item? _003C_002Ector_003Eb__0_9(RowRef x) + { + return x.ValueNullable; + } + + internal bool _003C_002Ector_003Eb__0_10(Item? x) + { + return x.HasValue; + } + + internal Item _003C_002Ector_003Eb__0_11(Item? x) + { + return x.Value; + } + + internal bool _003C_002Ector_003Eb__0_13(ItemReward x) + { + return x != null; + } + + static ushort _206E_200E_202A_200F_200F_206C_202E_206C_200E_202E_206B_206F_206E_206D_200F_202E_206E_206C_202E_202B_200C_202E_202D_206E_206A_206B_200E_200E_200D_202D_202E_200B_202C_206D_200C_206A_200B_206D_202C_206B_202E(ElementId P_0) + { + return P_0.Value; + } + + static QuestId _202C_202A_200E_206B_202E_202B_200F_200E_200B_206B_206F_200C_206A_206A_200D_200C_202C_206B_206A_200B_206B_200F_206B_200B_202A_206F_202D_200D_206D_200C_200E_200C_200F_206B_202A_202E_202C_206F_202E_206D_202E(uint P_0) + { + return Questionable.Model.Questing.QuestId.FromRowId(P_0); + } + } + public ElementId QuestId { get; } public string Name { get; } @@ -68,83 +197,121 @@ 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) + [MethodImpl(MethodImplOptions.NoInlining)] + 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 + QuestId = _206F_206F_202C_200D_200C_206D_206A_200D_206A_202A_202C_200C_206E_200F_206D_206F_206C_200C_202E_206E_202D_202D_202A_200D_200E_200D_200E_200B_200C_202D_200F_200E_200C_202A_200B_202A_200F_206D_202C_202E_202E(quest.RowId); + ushort num = _200E_206E_206F_200C_202C_206A_200F_206B_206A_206B_206B_202D_206A_202B_200F_206D_206F_200D_206D_202A_206A_206D_202E_206D_202D_200C_202A_202D_200D_200D_202C_200C_202A_206D_206C_206B_206A_202B_206F_202A_202E(QuestId); + string text; + if ((uint)num <= 123u) { - 85 => " (Lancer)", - 108 => " (Marauder)", - 109 => " (Arcanist)", - 123 => " (Archer)", - 124 => " (Conjurer)", - 568 => " (Gladiator)", - 569 => " (Pugilist)", - 570 => " (Thaumaturge)", - 673 => " (Ul'dah)", - 674 => " (Limsa/Gridania)", - 1432 => " (Gridania)", - 1433 => " (Limsa)", - 1434 => " (Ul'dah)", - _ => "", - }; + if ((uint)num <= 108u) + { + if (num != 85) + { + if (num != 108) + { + goto IL_01b2; + } + text = global::_003CModule_003E._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(-710232599); + } + else + { + text = global::_003CModule_003E._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(-112345390); + } + } + else if (num != 109) + { + if (num != 123) + { + goto IL_01b2; + } + text = global::_003CModule_003E._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(-1425643080); + } + else + { + text = global::_003CModule_003E._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(-74132824); + } + } + else if ((uint)num <= 570u) + { + if (num != 124) + { + int num2 = 568; + int num3 = num; + switch (~(~num3 + num2)) + { + case 0: + break; + case 1: + goto IL_0142; + case 2: + goto IL_0152; + default: + goto IL_01b2; + } + text = global::_003CModule_003E._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(-990183056); + } + else + { + text = global::_003CModule_003E._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(-1094754462); + } + } + else if (num != 673) + { + if (num != 674) + { + int num2 = 1432; + int num3 = num; + switch (~(~num3 + num2)) + { + case 0: + break; + case 1: + goto IL_0192; + case 2: + goto IL_01a2; + default: + goto IL_01b2; + } + text = global::_003CModule_003E._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(-755758949); + } + else + { + text = global::_003CModule_003E._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(894839759); + } + } + else + { + text = global::_003CModule_003E._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(1214228773); + } + goto IL_01bd; + IL_0192: + text = global::_003CModule_003E._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(842512297); + goto IL_01bd; + IL_0152: + text = global::_003CModule_003E._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(-1604495935); + goto IL_01bd; + IL_01bd: + string value = text; Name = $"{quest.Name}{value}"; Level = quest.ClassJobLevel[0]; IssuerDataId = quest.IssuerStart.RowId; IsRepeatable = quest.IsRepeatable; PreviousQuests = new List { - new PreviousQuestInfo(ReplaceOldQuestIds(Questionable.Model.Questing.QuestId.FromRowId(quest.PreviousQuest[0].RowId)), quest.Unknown7), - new PreviousQuestInfo(ReplaceOldQuestIds(Questionable.Model.Questing.QuestId.FromRowId(quest.PreviousQuest[1].RowId)), 0), - new PreviousQuestInfo(ReplaceOldQuestIds(Questionable.Model.Questing.QuestId.FromRowId(quest.PreviousQuest[2].RowId)), 0) - }.Where((PreviousQuestInfo x) => x.QuestId.Value != 0).ToImmutableList(); + new PreviousQuestInfo(ReplaceOldQuestIds(_206F_206F_202C_200D_200C_206D_206A_200D_206A_202A_202C_200C_206E_200F_206D_206F_206C_200C_202E_206E_202D_202D_202A_200D_200E_200D_200E_200B_200C_202D_200F_200E_200C_202A_200B_202A_200F_206D_202C_202E_202E(quest.PreviousQuest[0].RowId)), quest.Unknown7), + new PreviousQuestInfo(ReplaceOldQuestIds(_206F_206F_202C_200D_200C_206D_206A_200D_206A_202A_202C_200C_206E_200F_206D_206F_206C_200C_202E_206E_202D_202D_202A_200D_200E_200D_200E_200B_200C_202D_200F_200E_200C_202A_200B_202A_200F_206D_202C_202E_202E(quest.PreviousQuest[1].RowId)), 0), + new PreviousQuestInfo(ReplaceOldQuestIds(_206F_206F_202C_200D_200C_206D_206A_200D_206A_202A_202C_200C_206E_200F_206D_206F_206C_200C_202E_206E_202D_202D_202A_200D_200E_200D_200E_200B_200C_202D_200F_200E_200C_202A_200B_202A_200F_206D_202C_202E_202E(quest.PreviousQuest[2].RowId)), 0) + }.Where((PreviousQuestInfo x) => _003C_003Ec._206E_200E_202A_200F_200F_206C_202E_206C_200E_202E_206B_206F_206E_206D_200F_202E_206E_206C_202E_202B_200C_202E_202D_206E_206A_206B_200E_200E_200D_202D_202E_200B_202C_206D_200C_206A_200B_206D_202C_206B_202E((ElementId)x.QuestId) != 0).ToImmutableList(); PreviousQuestJoin = (EQuestJoin)quest.PreviousQuestJoin; QuestLocks = (from x in quest.QuestLock - select Questionable.Model.Questing.QuestId.FromRowId(x.RowId) into x - where x.Value != 0 + select _003C_003Ec._202C_202A_200E_206B_202E_202B_200F_200E_200B_206B_206F_200C_206A_206A_200D_200C_202C_206B_206A_200B_206B_200F_206B_200B_202A_206F_202D_200D_206D_200C_200E_200C_200F_206B_202A_202E_202C_206F_202E_206D_202E(x.RowId) into x + where _003C_003Ec._206E_200E_202A_200F_200F_206C_202E_206C_200E_202E_206B_206F_206E_206D_200F_202E_206E_206C_202E_202B_200C_202E_202D_206E_206A_206B_200E_200E_200D_202D_202E_200B_202C_206D_200C_206A_200B_206D_202C_206B_202E((ElementId)x) != 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,29 +328,86 @@ 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(delegate(RowRef x) + { + int num4 = ((x.RowId == 0) ? 461820485 : 461820486); + while (true) + { + int num5 = num4; + int num6 = 461820484; + int num7 = num5; + int num8 = num7 + num6; + int num9 = num7 & num6; + switch (num8 - (num9 + num9)) + { + case 0: + goto IL_004a; + case 1: + return false; + case 2: + return x.Is(); + } + continue; + IL_004a: + num4 = 461820486; + } + }) + 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(); Expansion = (EExpansionVersion)quest.Expansion.RowId; + return; + IL_0142: + text = global::_003CModule_003E._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(100444472); + goto IL_01bd; + IL_01b2: + text = global::_003CModule_003E._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(1200342830); + goto IL_01bd; + IL_01a2: + text = global::_003CModule_003E._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(1214228773); + goto IL_01bd; } private static QuestId ReplaceOldQuestIds(QuestId questId) { - if (questId.Value == 524) + int num = ((_200E_206E_206F_200C_202C_206A_200F_206B_206A_206B_206B_202D_206A_202B_200F_206D_206F_200D_206D_202A_206A_206D_202E_206D_202D_200C_202A_202D_200D_200D_202C_200C_202A_206D_206C_206B_206A_202B_206F_202A_202E((ElementId)questId) != 524) ? 1388511094 : 1388511093); + QuestId result = default(QuestId); + while (true) { - return new QuestId(4522); + int num2 = num; + int num3 = 1388511095; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return result; + case 2: + result = _200E_206E_200D_200E_202D_202B_200C_202E_206C_206A_206E_206D_202B_206B_200B_202E_206D_200B_202E_202D_200E_202D_200B_202D_206D_202D_206C_200C_200B_200F_206A_202D_200C_206B_206C_200C_206C_202C_206B_206F_202E((ushort)4522); + num = 1388511095; + break; + case 1: + result = questId; + num = 1388511095; + break; + case 3: + num = 1388511093; + break; + } } - return questId; } public void AddPreviousQuest(PreviousQuestInfo questId) @@ -191,10 +415,42 @@ internal sealed class QuestInfo : IQuestInfo ImmutableList previousQuests = PreviousQuests; int num = 0; PreviousQuestInfo[] array = new PreviousQuestInfo[1 + previousQuests.Count]; - foreach (PreviousQuestInfo item in previousQuests) + using (ImmutableList.Enumerator enumerator = previousQuests.GetEnumerator()) { - array[num] = item; - num++; + int num2 = 152689152; + while (true) + { + int num3 = num2; + int num4 = 152689155; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = 152689152; + break; + case 3: + num2 = (enumerator.MoveNext() ? 152689154 : 152689155); + break; + case 1: + { + PreviousQuestInfo current = enumerator.Current; + array[num] = current; + int num6 = num; + num4 = 1; + num5 = num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = num7 + (num8 + num8); + num2 = 152689152; + break; + } + case 0: + goto end_IL_002a; + } + continue; + end_IL_002a: + break; + } } array[num] = questId; PreviousQuests = ImmutableList.Create(new ReadOnlySpan(array)); @@ -202,22 +458,92 @@ internal sealed class QuestInfo : IQuestInfo public void AddQuestLocks(EQuestJoin questJoin, params QuestId[] questId) { - if (QuestLocks.Count > 0 && QuestLockJoin != questJoin) + int num = ((QuestLocks.Count <= 0) ? 132063164 : 132063166); + while (true) { - throw new InvalidOperationException(); + int num2 = num; + int num3 = 132063167; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + throw _202E_206C_200E_206B_200D_202B_202A_206C_206E_206D_206E_206E_206E_202B_206B_200B_206B_202C_206A_206C_206F_200D_202E_200B_202E_202E_200C_200F_202A_202B_202A_200C_202D_200E_200D_206C_200F_200B_202E_206E_202E(); + case 1: + num = ((QuestLockJoin == questJoin) ? 132063164 : 132063167); + break; + case 2: + num = 132063166; + break; + case 3: + { + QuestLockJoin = questJoin; + ImmutableList questLocks = QuestLocks; + int num7 = 0; + QuestId[] array = new QuestId[questLocks.Count + questId.Length]; + using (ImmutableList.Enumerator enumerator = questLocks.GetEnumerator()) + { + num = -1685123962; + while (true) + { + int num8 = num; + num3 = -1685123961; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = (enumerator.MoveNext() ? (-1685123964) : (-1685123963)); + break; + case 3: + { + QuestId current = enumerator.Current; + array[num7] = current; + int num9 = num7; + num3 = 1; + num4 = num9; + num7 = (num4 | num3) + (num4 & num3); + num = -1685123962; + break; + } + case 0: + num = -1685123962; + break; + case 2: + goto end_IL_00c5; + } + continue; + end_IL_00c5: + break; + } + } + ReadOnlySpan readOnlySpan = new ReadOnlySpan(questId); + readOnlySpan.CopyTo(new Span(array).Slice(num7, readOnlySpan.Length)); + num7 += readOnlySpan.Length; + QuestLocks = ImmutableList.Create(new ReadOnlySpan(array)); + return; + } + } } - QuestLockJoin = questJoin; - ImmutableList questLocks = QuestLocks; - int num = 0; - QuestId[] array = new QuestId[questLocks.Count + questId.Length]; - foreach (QuestId item in questLocks) - { - array[num] = item; - num++; - } - ReadOnlySpan readOnlySpan = new ReadOnlySpan(questId); - readOnlySpan.CopyTo(new Span(array).Slice(num, readOnlySpan.Length)); - num += readOnlySpan.Length; - QuestLocks = ImmutableList.Create(new ReadOnlySpan(array)); + } + + static QuestId _206F_206F_202C_200D_200C_206D_206A_200D_206A_202A_202C_200C_206E_200F_206D_206F_206C_200C_202E_206E_202D_202D_202A_200D_200E_200D_200E_200B_200C_202D_200F_200E_200C_202A_200B_202A_200F_206D_202C_202E_202E(uint P_0) + { + return Questionable.Model.Questing.QuestId.FromRowId(P_0); + } + + static ushort _200E_206E_206F_200C_202C_206A_200F_206B_206A_206B_206B_202D_206A_202B_200F_206D_206F_200D_206D_202A_206A_206D_202E_206D_202D_200C_202A_202D_200D_200D_202C_200C_202A_206D_206C_206B_206A_202B_206F_202A_202E(ElementId P_0) + { + return P_0.Value; + } + + static QuestId _200E_206E_200D_200E_202D_202B_200C_202E_206C_206A_206E_206D_202B_206B_200B_202E_206D_200B_202E_202D_200E_202D_200B_202D_206D_202D_206C_200C_200B_200F_206A_202D_200C_206B_206C_200C_206C_202C_206B_206F_202E(ushort P_0) + { + return new QuestId(P_0); + } + + static InvalidOperationException _202E_206C_200E_206B_200D_202B_202A_206C_206E_206D_206E_206E_206E_202B_206B_200B_206B_202C_206A_206C_206F_200D_202E_200B_202E_202E_200C_200F_202A_202B_202A_200C_202D_200E_200D_206C_200F_200B_202E_206E_202E() + { + return new InvalidOperationException(); } } diff --git a/Questionable/Questionable.Model/QuestInfoUtils.cs b/Questionable/Questionable.Model/QuestInfoUtils.cs index 8d673ddc..5a2f867f 100644 --- a/Questionable/Questionable.Model/QuestInfoUtils.cs +++ b/Questionable/Questionable.Model/QuestInfoUtils.cs @@ -12,193 +12,214 @@ internal static class QuestInfoUtils internal static IReadOnlyList AsList(ClassJobCategory? optionalClassJobCategory) { - if (!optionalClassJobCategory.HasValue) + int num = (optionalClassJobCategory.HasValue ? (-1115834397) : (-1115834399)); + ClassJobCategory value = default(ClassJobCategory); + IReadOnlyList readOnlyList = default(IReadOnlyList); + while (true) { - return Enum.GetValues(); - } - ClassJobCategory value = optionalClassJobCategory.Value; - if (CachedClassJobs.TryGetValue(value.RowId, out IReadOnlyList value2)) - { - return value2; - } - value2 = (from y in new Dictionary + int num2 = num; + int num3 = -1115834400; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - { - EClassJob.Adventurer, - value.ADV - }, - { - EClassJob.Gladiator, - value.GLA - }, - { - EClassJob.Pugilist, - value.PGL - }, - { - EClassJob.Marauder, - value.MRD - }, - { - EClassJob.Lancer, - value.LNC - }, - { - EClassJob.Archer, - value.ARC - }, - { - EClassJob.Conjurer, - value.CNJ - }, - { - EClassJob.Thaumaturge, - value.THM - }, - { - EClassJob.Carpenter, - value.CRP - }, - { - EClassJob.Blacksmith, - value.BSM - }, - { - EClassJob.Armorer, - value.ARM - }, - { - EClassJob.Goldsmith, - value.GSM - }, - { - EClassJob.Leatherworker, - value.LTW - }, - { - EClassJob.Weaver, - value.WVR - }, - { - EClassJob.Alchemist, - value.ALC - }, - { - EClassJob.Culinarian, - value.CUL - }, - { - EClassJob.Miner, - value.MIN - }, - { - EClassJob.Botanist, - value.BTN - }, - { - EClassJob.Fisher, - value.FSH - }, - { - EClassJob.Paladin, - value.PLD - }, - { - EClassJob.Monk, - value.MNK - }, - { - EClassJob.Warrior, - value.WAR - }, - { - EClassJob.Dragoon, - value.DRG - }, - { - EClassJob.Bard, - value.BRD - }, - { - EClassJob.WhiteMage, - value.WHM - }, - { - EClassJob.BlackMage, - value.BLM - }, - { - EClassJob.Arcanist, - value.ACN - }, - { - EClassJob.Summoner, - value.SMN - }, - { - EClassJob.Scholar, - value.SCH - }, - { - EClassJob.Rogue, - value.ROG - }, - { - EClassJob.Ninja, - value.NIN - }, - { - EClassJob.Machinist, - value.MCH - }, - { - EClassJob.DarkKnight, - value.DRK - }, - { - EClassJob.Astrologian, - value.AST - }, - { - EClassJob.Samurai, - value.SAM - }, - { - EClassJob.RedMage, - value.RDM - }, - { - EClassJob.BlueMage, - value.BLU - }, - { - EClassJob.Gunbreaker, - value.GNB - }, - { - EClassJob.Dancer, - value.DNC - }, - { - EClassJob.Reaper, - value.RPR - }, - { - EClassJob.Sage, - value.SGE - }, - { - EClassJob.Viper, - value.VPR - }, - { - EClassJob.Pictomancer, - value.PCT - } + case 0: + num = -1115834399; + break; + case 1: + return Enum.GetValues(); + case 4: + return readOnlyList; + case 3: + value = optionalClassJobCategory.Value; + num = ((!CachedClassJobs.TryGetValue(value.RowId, out readOnlyList)) ? (-1115834398) : (-1115834396)); + break; + case 2: + readOnlyList = (from y in new Dictionary + { + { + EClassJob.Adventurer, + value.ADV + }, + { + EClassJob.Gladiator, + value.GLA + }, + { + EClassJob.Pugilist, + value.PGL + }, + { + EClassJob.Marauder, + value.MRD + }, + { + EClassJob.Lancer, + value.LNC + }, + { + EClassJob.Archer, + value.ARC + }, + { + EClassJob.Conjurer, + value.CNJ + }, + { + EClassJob.Thaumaturge, + value.THM + }, + { + EClassJob.Carpenter, + value.CRP + }, + { + EClassJob.Blacksmith, + value.BSM + }, + { + EClassJob.Armorer, + value.ARM + }, + { + EClassJob.Goldsmith, + value.GSM + }, + { + EClassJob.Leatherworker, + value.LTW + }, + { + EClassJob.Weaver, + value.WVR + }, + { + EClassJob.Alchemist, + value.ALC + }, + { + EClassJob.Culinarian, + value.CUL + }, + { + EClassJob.Miner, + value.MIN + }, + { + EClassJob.Botanist, + value.BTN + }, + { + EClassJob.Fisher, + value.FSH + }, + { + EClassJob.Paladin, + value.PLD + }, + { + EClassJob.Monk, + value.MNK + }, + { + EClassJob.Warrior, + value.WAR + }, + { + EClassJob.Dragoon, + value.DRG + }, + { + EClassJob.Bard, + value.BRD + }, + { + EClassJob.WhiteMage, + value.WHM + }, + { + EClassJob.BlackMage, + value.BLM + }, + { + EClassJob.Arcanist, + value.ACN + }, + { + EClassJob.Summoner, + value.SMN + }, + { + EClassJob.Scholar, + value.SCH + }, + { + EClassJob.Rogue, + value.ROG + }, + { + EClassJob.Ninja, + value.NIN + }, + { + EClassJob.Machinist, + value.MCH + }, + { + EClassJob.DarkKnight, + value.DRK + }, + { + EClassJob.Astrologian, + value.AST + }, + { + EClassJob.Samurai, + value.SAM + }, + { + EClassJob.RedMage, + value.RDM + }, + { + EClassJob.BlueMage, + value.BLU + }, + { + EClassJob.Gunbreaker, + value.GNB + }, + { + EClassJob.Dancer, + value.DNC + }, + { + EClassJob.Reaper, + value.RPR + }, + { + EClassJob.Sage, + value.SGE + }, + { + EClassJob.Viper, + value.VPR + }, + { + EClassJob.Pictomancer, + value.PCT + }, + { + EClassJob.Beastmaster, + value.Unknown0 + } + } + where y.Value + select y.Key).ToList().AsReadOnly(); + CachedClassJobs[value.RowId] = readOnlyList; + return readOnlyList; } - where y.Value - select y.Key).ToList().AsReadOnly(); - CachedClassJobs[value.RowId] = value2; - return value2; + } } } diff --git a/Questionable/Questionable.Model/QuestProgressInfo.cs b/Questionable/Questionable.Model/QuestProgressInfo.cs index 78350f33..7f8baee5 100644 --- a/Questionable/Questionable.Model/QuestProgressInfo.cs +++ b/Questionable/Questionable.Model/QuestProgressInfo.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Runtime.CompilerServices; using FFXIVClientStructs.FFXIV.Application.Network.WorkDefinitions; using LLib.GameData; using Questionable.Model.Questing; @@ -23,29 +24,55 @@ internal sealed class QuestProgressInfo public EClassJob ClassJob { get; } + [MethodImpl(MethodImplOptions.NoInlining)] public QuestProgressInfo(QuestWork questWork) { - Id = new QuestId(questWork.QuestId); + Id = _202C_200E_202A_200D_202D_206A_200D_200F_200D_206F_202E_206D_202A_206B_200C_206D_206B_202E_202C_206A_206A_200F_200E_200C_206F_202D_200F_206F_206D_202E_206B_200F_200E_200D_206C_206B_200E_200B_206F_200E_202E(questWork.QuestId); Sequence = questWork.Sequence; Flags = questWork.Flags; Variables = questWork.Variables.ToArray().ToList(); IsHidden = questWork.IsHidden; ClassJob = (EClassJob)questWork.AcceptClassJob; Span variables = questWork.Variables; - string text = ""; - for (int i = 0; i < variables.Length; i++) + string text = global::_003CModule_003E._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(-87324410); + int num = 0; + while (num < variables.Length) { - text = text + variables[i] + " "; - if (i % 2 == 1) + text = _206C_200C_206D_200C_206F_202A_206F_206F_206E_200F_202B_202C_202E_206D_206E_200B_202A_200E_206F_206C_200D_206E_200F_202E_206A_202A_206F_206E_200B_202D_206E_202A_202E_206A_206C_200F_200F_200E_206E_206F_202E(text, variables[num].ToString(), global::_003CModule_003E._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(-818915859)); + if (num % 2 == 1) { - text += " "; + text = _202E_206B_200F_200B_200B_206B_200E_200C_202D_206A_200D_200B_206F_200D_206C_200E_206E_206B_202D_200C_200C_206D_202D_202A_206F_200F_206B_200E_202B_200C_206B_202D_206E_206D_202B_206C_200B_206B_206C_206C_202E(text, global::_003CModule_003E._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(48117010)); } + int num2 = num; + int num3 = 1; + int num4 = num2; + num = (num4 | num3) + (num4 & num3); } - _asString = "QW: " + text.Trim(); + _asString = _202E_206B_200F_200B_200B_206B_200E_200C_202D_206A_200D_200B_206F_200D_206C_200E_206E_206B_202D_200C_200C_206D_202D_202A_206F_200F_206B_200E_202B_200C_206B_202D_206E_206D_202B_206C_200B_206B_206C_206C_202E(global::_003CModule_003E._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(751657040), _200F_206D_202D_200B_202B_202D_206E_200D_200C_200B_200D_202A_206E_206F_202D_206F_202E_202B_206B_200F_202E_202D_200C_200D_200D_206F_200C_202A_202B_206A_202B_206E_206A_200B_206C_200D_206F_206E_202D_200D_202E(text)); } public override string ToString() { return _asString; } + + static QuestId _202C_200E_202A_200D_202D_206A_200D_200F_200D_206F_202E_206D_202A_206B_200C_206D_206B_202E_202C_206A_206A_200F_200E_200C_206F_202D_200F_206F_206D_202E_206B_200F_200E_200D_206C_206B_200E_200B_206F_200E_202E(ushort P_0) + { + return new QuestId(P_0); + } + + static string _206C_200C_206D_200C_206F_202A_206F_206F_206E_200F_202B_202C_202E_206D_206E_200B_202A_200E_206F_206C_200D_206E_200F_202E_206A_202A_206F_206E_200B_202D_206E_202A_202E_206A_206C_200F_200F_200E_206E_206F_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static string _202E_206B_200F_200B_200B_206B_200E_200C_202D_206A_200D_200B_206F_200D_206C_200E_206E_206B_202D_200C_200C_206D_202D_202A_206F_200F_206B_200E_202B_200C_206B_202D_206E_206D_202B_206C_200B_206B_206C_206C_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static string _200F_206D_202D_200B_202B_202D_206E_200D_200C_200B_200D_202A_206E_206F_202D_206F_202E_202B_206B_200F_202E_202D_200C_200D_200D_206F_200C_202A_202B_206A_202B_206E_206A_200B_206C_200D_206F_206E_202D_200D_202E(string P_0) + { + return P_0.Trim(); + } } diff --git a/Questionable/Questionable.Model/SatisfactionSupplyInfo.cs b/Questionable/Questionable.Model/SatisfactionSupplyInfo.cs index 7e96db14..16ca169c 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/StringOrRegex.cs b/Questionable/Questionable.Model/StringOrRegex.cs index 1d5f9d7e..1bfb284f 100644 --- a/Questionable/Questionable.Model/StringOrRegex.cs +++ b/Questionable/Questionable.Model/StringOrRegex.cs @@ -1,4 +1,5 @@ using System; +using System.Runtime.CompilerServices; using System.Text.RegularExpressions; using Questionable.Functions; @@ -10,40 +11,95 @@ internal sealed class StringOrRegex private readonly string? _stringValue; + [MethodImpl(MethodImplOptions.NoInlining)] public StringOrRegex(Regex? regex) { - ArgumentNullException.ThrowIfNull(regex, "regex"); + _206C_206E_200E_202D_200C_202E_206B_206B_202B_200D_206C_200D_206B_200C_200D_202E_206E_202D_202A_202D_200C_200F_206E_206B_200D_206B_202A_206B_200F_200C_202B_200E_200E_200C_200E_202B_202C_200F_206E_206D_202E((object?)regex, global::_003CModule_003E._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(-1417753636)); _regex = regex; _stringValue = null; } + [MethodImpl(MethodImplOptions.NoInlining)] public StringOrRegex(string? str) { - ArgumentNullException.ThrowIfNull(str, "str"); + _206C_206E_200E_202D_200C_202E_206B_206B_202B_200D_206C_200D_206B_200C_200D_202E_206E_202D_202A_202D_200C_200F_206E_206B_200D_206B_202A_206B_200F_200C_202B_200E_200E_200C_200E_202B_202C_200F_206E_206D_202E((object?)str, global::_003CModule_003E._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(1663071315)); _regex = null; _stringValue = str; } public bool IsMatch(string other) { - if (_regex != null) + int num = ((_regex == null) ? (-734326704) : (-734326703)); + while (true) { - return _regex.IsMatch(other); + int num2 = num; + int num3 = -734326704; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return GameFunctions.GameStringEquals(_stringValue, other); + case 1: + return _200F_206C_206D_200E_202C_200E_206B_206A_202A_206C_200E_206A_200F_206A_206E_206B_206A_202A_200B_202B_202B_206E_206C_200B_206D_202D_200E_206E_200D_200D_206C_206D_200B_200E_202A_200E_206D_206B_206A_206F_202E(_regex, other); + case 2: + goto IL_0062; + } + continue; + IL_0062: + num = -734326703; } - return GameFunctions.GameStringEquals(_stringValue, other); } public string? GetString() { - if (_stringValue == null) + int num = ((_stringValue != null) ? 1027325378 : 1027325379); + while (true) { - throw new InvalidOperationException(); + int num2 = num; + int num3 = 1027325378; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0048; + case 0: + return _stringValue; + case 1: + throw _200E_200C_206E_202D_200B_202E_202D_202D_200E_200C_202A_206E_200E_200D_200F_202D_202A_206C_202C_202D_206F_202A_200C_206E_200D_202C_206E_200D_206C_206F_200B_206B_200F_206C_202A_206F_202E_202A_200E_202B_202E(); + } + continue; + IL_0048: + num = 1027325379; } - return _stringValue; } public override string? ToString() { - return _regex?.ToString() ?? _stringValue; + Regex? regex = _regex; + return ((regex != null) ? _202B_200C_206B_206F_206D_202B_206A_206D_206F_206A_200D_202A_200F_202C_202D_200E_200E_200B_202E_200C_200B_202A_202A_206F_202A_200E_200B_206F_206F_202B_206C_200F_200C_206C_202E_206F_206B_200E_206E_202C_202E((object?)regex) : null) ?? _stringValue; + } + + static void _206C_206E_200E_202D_200C_202E_206B_206B_202B_200D_206C_200D_206B_200C_200D_202E_206E_202D_202A_202D_200C_200F_206E_206B_200D_206B_202A_206B_200F_200C_202B_200E_200E_200C_200E_202B_202C_200F_206E_206D_202E(object? P_0, string? P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static bool _200F_206C_206D_200E_202C_200E_206B_206A_202A_206C_200E_206A_200F_206A_206E_206B_206A_202A_200B_202B_202B_206E_206C_200B_206D_202D_200E_206E_200D_200D_206C_206D_200B_200E_202A_200E_206D_206B_206A_206F_202E(Regex? P_0, string? P_1) + { + return P_0.IsMatch(P_1); + } + + static InvalidOperationException? _200E_200C_206E_202D_200B_202E_202D_202D_200E_200C_202A_206E_200E_200D_200F_202D_202A_206C_202C_202D_206F_202A_200C_206E_200D_202C_206E_200D_206C_206F_200B_206B_200F_206C_202A_206F_202E_202A_200E_202B_202E() + { + return new InvalidOperationException(); + } + + static string? _202B_200C_206B_206F_206D_202B_206A_206D_206F_206A_200D_202A_200F_202C_202D_200E_200E_200B_202E_200C_200B_202A_202A_206F_202A_200E_200B_206F_206F_202B_206C_200F_200C_206C_202E_206F_206B_200E_206E_202C_202E(object? P_0) + { + return P_0.ToString(); } } diff --git a/Questionable/Questionable.Model/TripleTriadCardReward.cs b/Questionable/Questionable.Model/TripleTriadCardReward.cs index 4f6b44c8..69aa40d5 100644 --- a/Questionable/Questionable.Model/TripleTriadCardReward.cs +++ b/Questionable/Questionable.Model/TripleTriadCardReward.cs @@ -1,10 +1,23 @@ +using System; +using System.Collections.Generic; using System.Runtime.CompilerServices; +using System.Text; using FFXIVClientStructs.FFXIV.Client.Game.UI; namespace Questionable.Model; public sealed record TripleTriadCardReward : ItemReward { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206F_200E_200F_200D_200F_206B_206A_206E_200E_206D_202E_200D_200C_200E_206C_206E_200D_202E_200F_206F_202A_202D_206F_200E_206E_206E_206A_206D_206E_202E_202A_206D_200C_202D_206A_202E_206B_200B_200E_202B_202E(typeof(TripleTriadCardReward).TypeHandle); + } + } + public ushort TripleTriadCardId { get; init; } public override EItemRewardType Type => EItemRewardType.TripleTriadCard; @@ -20,10 +33,131 @@ public sealed record TripleTriadCardReward : ItemReward return UIState.Instance()->IsTripleTriadCardUnlocked(TripleTriadCardId); } + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206D_206A_202B_202E_206F_206E_206B_202A_202D_202B_206C_202A_202C_200B_202C_202E_202D_206C_202A_206E_202A_206E_200E_202A_200F_202A_200B_206C_206E_206A_202D_206F_206D_202B_206C_206D_206C_202E_206D_202C_202E(); + _202B_206C_200F_202E_202C_206E_206A_202D_206F_202D_200B_200E_206E_200E_206F_206C_202B_206A_200C_200B_200D_202D_202E_202D_200F_200C_200C_202C_206A_200C_202D_206D_200D_200C_200C_200C_206D_206C_202B_206E_202E(stringBuilder, global::_003CModule_003E._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(-254844244)); + _202B_206C_200F_202E_202C_206E_206A_202D_206F_202D_200B_200E_206E_200E_206F_206C_202B_206A_200C_200B_200D_202D_202E_202D_200F_200C_200C_202C_206A_200C_202D_206D_200D_200C_200C_200C_206D_206C_202B_206E_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? 1278318485 : 1278318486); + while (true) + { + int num2 = num; + int num3 = 1278318487; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _202D_206D_202B_200D_200E_206D_202D_206F_200D_202B_206D_202C_200D_206B_202E_202B_200C_206C_202C_200E_206A_206B_200C_202D_200C_200D_202C_206F_202B_202A_206B_206F_202A_206D_200E_206B_206A_200B_200F_200F_202E(stringBuilder, '}'); + return _206C_200C_206B_206C_206B_206C_202E_200E_200C_200C_206E_200E_202A_200D_206C_202D_206C_206D_200E_202C_206A_206E_200B_202E_200B_202C_206F_202D_202B_200C_200C_200D_202D_206F_202D_206F_202E_202A_202A_206F_202E((object)stringBuilder); + case 1: + _202D_206D_202B_200D_200E_206D_202D_206F_200D_202B_206D_202C_200D_206B_202E_202B_200C_206C_202C_200E_206A_206B_200C_202D_200C_200D_202C_206F_202B_202A_206B_206F_202A_206D_200E_206B_206A_200B_200F_200F_202E(stringBuilder, ' '); + num = 1278318485; + break; + case 0: + num = 1278318486; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 641722232 : 641722235); + while (true) + { + int num2 = num; + int num3 = 641722233; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 641722235; + break; + case 1: + _202B_206C_200F_202E_202C_206E_206A_202D_206F_202D_200B_200E_206E_200E_206F_206C_202B_206A_200C_200B_200D_202D_202E_202D_200F_200C_200C_202C_206A_200C_202D_206D_200D_200C_200C_200C_206D_206C_202B_206E_202E(builder, global::_003CModule_003E._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(-1636532804)); + _202B_206C_200F_202E_202C_206E_206A_202D_206F_202D_200B_200E_206E_200E_206F_206C_202B_206A_200C_200B_200D_202D_202E_202D_200F_200C_200C_202C_206A_200C_202D_206D_200D_200C_200C_200C_206D_206C_202B_206E_202E(builder, TripleTriadCardId.ToString()); + return true; + case 2: + _202B_206C_200F_202E_202C_206E_206A_202D_206F_202D_200B_200E_206E_200E_206F_206C_202B_206A_200C_200B_200D_202D_202E_202D_200F_200C_200C_202C_206A_200C_202D_206D_200D_200C_200C_200C_206D_206C_202B_206E_202E(builder, global::_003CModule_003E._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(1403263077)); + num = 641722232; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(TripleTriadCardReward? other) + { + int num = (((object)this == other) ? (-2116318036) : (-2116318034)); + while (true) + { + int num2 = num; + int num3 = -2116318033; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return true; + case 2: + return EqualityComparer.Default.Equals(TripleTriadCardId, other.TripleTriadCardId); + case 0: + return false; + case 1: + num = ((!base.Equals(other)) ? (-2116318033) : (-2116318035)); + break; + case 4: + num = -2116318034; + break; + } + } + } + + bool IEquatable.Equals(TripleTriadCardReward? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + [CompilerGenerated] public void Deconstruct(out ItemRewardDetails Item, out ushort TripleTriadCardId) { Item = base.Item; TripleTriadCardId = this.TripleTriadCardId; } + + static Type _206F_200E_200F_200D_200F_206B_206A_206E_200E_206D_202E_200D_200C_200E_206C_206E_200D_202E_200F_206F_202A_202D_206F_200E_206E_206E_206A_206D_206E_202E_202A_206D_200C_202D_206A_202E_206B_200B_200E_202B_202E(RuntimeTypeHandle P_0) + { + return System.Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206D_206A_202B_202E_206F_206E_206B_202A_202D_202B_206C_202A_202C_200B_202C_202E_202D_206C_202A_206E_202A_206E_200E_202A_200F_202A_200B_206C_206E_206A_202D_206F_206D_202B_206C_206D_206C_202E_206D_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202B_206C_200F_202E_202C_206E_206A_202D_206F_202D_200B_200E_206E_200E_206F_206C_202B_206A_200C_200B_200D_202D_202E_202D_200F_200C_200C_202C_206A_200C_202D_206D_200D_200C_200C_200C_206D_206C_202B_206E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202D_206D_202B_200D_200E_206D_202D_206F_200D_202B_206D_202C_200D_206B_202E_202B_200C_206C_202C_200E_206A_206B_200C_202D_200C_200D_202C_206F_202B_202A_206B_206F_202A_206D_200E_206B_206A_200B_200F_200F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_200C_206B_206C_206B_206C_202E_200E_200C_200C_206E_200E_202A_200D_206C_202D_206C_206D_200E_202C_206A_206E_200B_202E_200B_202C_206F_202D_202B_200C_200C_200D_202D_206F_202D_206F_202E_202A_202A_206F_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _206E_202E_206A_206C_200E_206E_202B_202D_202C_200C_202C_206B_202C_202E_206A_206D_200F_206A_206C_202E_206C_202D_200B_206D_202A_200E_200C_200B_206B_202D_206F_206C_202A_206C_200C_200F_202A_200D_200D_206D_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } } diff --git a/Questionable/Questionable.Model/UnlockLinkReward.cs b/Questionable/Questionable.Model/UnlockLinkReward.cs new file mode 100644 index 00000000..c8e723bb --- /dev/null +++ b/Questionable/Questionable.Model/UnlockLinkReward.cs @@ -0,0 +1,161 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +using FFXIVClientStructs.FFXIV.Client.Game.UI; + +namespace Questionable.Model; + +public sealed record UnlockLinkReward : ItemReward +{ + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_206E_200F_202E_206C_206E_202A_202E_206F_202E_206D_206E_200E_206A_200B_202C_202A_202B_200E_206C_206B_206F_202A_206D_206A_206D_202B_202B_206C_206A_202D_202E_202A_206C_206B_206C_202D_200F_206B_200F_202E(typeof(UnlockLinkReward).TypeHandle); + } + } + + 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); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206A_206F_206B_206B_206F_200F_206F_200D_206E_202C_200E_200B_202E_202E_206B_200F_206A_200F_200C_202C_206F_202C_206B_206F_200E_200B_202E_206F_200F_206E_206B_200D_206E_206F_202B_202A_202A_206D_202B_202E(); + _202C_206E_200F_206C_200B_202E_206E_200B_206D_200E_206D_202C_206C_202B_200B_200C_206E_202D_200E_202B_202B_206C_200F_200E_202B_206E_206A_202B_202A_202A_200C_200E_206B_206C_206D_206C_206C_202A_200D_206C_202E(stringBuilder, global::_003CModule_003E._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(1427150929)); + _202C_206E_200F_206C_200B_202E_206E_200B_206D_200E_206D_202C_206C_202B_200B_200C_206E_202D_200E_202B_202B_206C_200F_200E_202B_206E_206A_202B_202A_202A_200C_200E_206B_206C_206D_206C_206C_202A_200D_206C_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? 172812570 : 172812569); + while (true) + { + int num2 = num; + int num3 = 172812571; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 172812569; + break; + case 1: + _202C_202E_202B_206A_200B_206D_206E_202C_206B_206F_202B_206B_206A_202C_200B_202C_206B_206B_206F_206D_202D_202E_202C_206B_202C_206A_202A_206A_200F_206A_202A_200F_202B_202D_206B_200E_202D_202C_206E_206D_202E(stringBuilder, '}'); + return _202D_200F_202D_202D_206D_202C_206F_206E_206B_202B_202D_202C_200B_202A_200C_202D_202D_200B_202E_206E_206B_202B_200D_200C_202A_200C_206C_202B_200D_206C_202B_206D_202A_206B_200C_206C_206F_202B_206C_202D_202E((object)stringBuilder); + case 2: + _202C_202E_202B_206A_200B_206D_206E_202C_206B_206F_202B_206B_206A_202C_200B_202C_206B_206B_206F_206D_202D_202E_202C_206B_202C_206A_202A_206A_200F_206A_202A_200F_202B_202D_206B_200E_202D_202C_206E_206D_202E(stringBuilder, ' '); + num = 172812570; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? (-1240382848) : (-1240382847)); + while (true) + { + int num2 = num; + int num3 = -1240382848; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1240382847; + break; + case 0: + _202C_206E_200F_206C_200B_202E_206E_200B_206D_200E_206D_202C_206C_202B_200B_200C_206E_202D_200E_202B_202B_206C_200F_200E_202B_206E_206A_202B_202A_202A_200C_200E_206B_206C_206D_206C_206C_202A_200D_206C_202E(builder, global::_003CModule_003E._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(-1878082130)); + _202C_206E_200F_206C_200B_202E_206E_200B_206D_200E_206D_202C_206C_202B_200B_200C_206E_202D_200E_202B_202B_206C_200F_200E_202B_206E_206A_202B_202A_202A_200C_200E_206B_206C_206D_206C_206C_202A_200D_206C_202E(builder, UnlockLinkId.ToString()); + return true; + case 1: + _202C_206E_200F_206C_200B_202E_206E_200B_206D_200E_206D_202C_206C_202B_200B_200C_206E_202D_200E_202B_202B_206C_200F_200E_202B_206E_206A_202B_202A_202A_200C_200E_206B_206C_206D_206C_206C_202A_200D_206C_202E(builder, global::_003CModule_003E._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(-1095822044)); + num = -1240382848; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(UnlockLinkReward? other) + { + int num = (((object)this == other) ? (-563966986) : (-563966989)); + while (true) + { + int num2 = num; + int num3 = -563966990; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return true; + case 1: + num = ((!base.Equals(other)) ? (-563966992) : (-563966991)); + break; + case 2: + return false; + case 0: + num = -563966989; + break; + case 3: + return EqualityComparer.Default.Equals(UnlockLinkId, other.UnlockLinkId); + } + } + } + + bool IEquatable.Equals(UnlockLinkReward? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [CompilerGenerated] + public void Deconstruct(out ItemRewardDetails Item, out uint UnlockLinkId) + { + Item = base.Item; + UnlockLinkId = this.UnlockLinkId; + } + + static Type _200F_206E_200F_202E_206C_206E_202A_202E_206F_202E_206D_206E_200E_206A_200B_202C_202A_202B_200E_206C_206B_206F_202A_206D_206A_206D_202B_202B_206C_206A_202D_202E_202A_206C_206B_206C_202D_200F_206B_200F_202E(RuntimeTypeHandle P_0) + { + return System.Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206A_206F_206B_206B_206F_200F_206F_200D_206E_202C_200E_200B_202E_202E_206B_200F_206A_200F_200C_202C_206F_202C_206B_206F_200E_200B_202E_206F_200F_206E_206B_200D_206E_206F_202B_202A_202A_206D_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202C_206E_200F_206C_200B_202E_206E_200B_206D_200E_206D_202C_206C_202B_200B_200C_206E_202D_200E_202B_202B_206C_200F_200E_202B_206E_206A_202B_202A_202A_200C_200E_206B_206C_206D_206C_206C_202A_200D_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_202E_202B_206A_200B_206D_206E_202C_206B_206F_202B_206B_206A_202C_200B_202C_206B_206B_206F_206D_202D_202E_202C_206B_202C_206A_202A_206A_200F_206A_202A_200F_202B_202D_206B_200E_202D_202C_206E_206D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202D_200F_202D_202D_206D_202C_206F_206E_206B_202B_202D_202C_200B_202A_200C_202D_202D_200B_202E_206E_206B_202B_200D_200C_202A_200C_206C_202B_200D_206C_202B_206D_202A_206B_200C_206C_206F_202B_206C_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _202A_200F_206A_200C_200B_206E_202C_202E_202D_202A_202E_206B_206A_206A_200E_202B_206E_202A_206A_206E_202A_206E_200E_206D_206B_202E_206B_202B_202A_206A_206E_206F_206A_206C_206B_202C_200C_200D_206E_202E_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } +} diff --git a/Questionable/Questionable.Navigation/QuestionablePlayerContext.cs b/Questionable/Questionable.Navigation/QuestionablePlayerContext.cs new file mode 100644 index 00000000..54f01bcd --- /dev/null +++ b/Questionable/Questionable.Navigation/QuestionablePlayerContext.cs @@ -0,0 +1,91 @@ +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 + { + QuestId questId = questFunctions.GetMainScenarioQuest().Item1.CurrentQuest as QuestId; + int num = (((object)questId != null) ? (-685921250) : (-685921251)); + while (true) + { + int num2 = num; + int num3 = -685921249; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_005f; + case 1: + return _200C_206B_206B_206B_202C_200D_206B_202E_200C_206D_206A_200E_202B_202A_200D_200F_206B_202C_206C_202D_202B_202C_206E_200D_202B_200B_206F_206B_206D_206A_202A_200D_206F_202C_206F_200E_202B_206F_202C_202A_202E((ElementId)questId); + case 2: + return null; + } + continue; + IL_005f: + num = -685921251; + } + } + } + + 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); + } + + bool IPlayerContext.IsAetheryteUnlocked(EAetheryteLocation aetheryte) + { + //ILSpy generated this explicit interface implementation from .override directive in IsAetheryteUnlocked + return this.IsAetheryteUnlocked(aetheryte); + } + + public bool IsFlyingUnlocked(uint territoryId) + { + return gameFunctions.IsFlyingUnlockedPersistent(territoryId); + } + + bool IPlayerContext.IsFlyingUnlocked(uint territoryId) + { + //ILSpy generated this explicit interface implementation from .override directive in IsFlyingUnlocked + return this.IsFlyingUnlocked(territoryId); + } + + public bool IsTeleportUnlocked() + { + return aetheryteFunctions.IsTeleportUnlocked(); + } + + bool IPlayerContext.IsTeleportUnlocked() + { + //ILSpy generated this explicit interface implementation from .override directive in IsTeleportUnlocked + return this.IsTeleportUnlocked(); + } + + public bool IsReturnAvailable() + { + return aetheryteFunctions.IsReturnAvailable(); + } + + bool IPlayerContext.IsReturnAvailable() + { + //ILSpy generated this explicit interface implementation from .override directive in IsReturnAvailable + return this.IsReturnAvailable(); + } + + static ushort _200C_206B_206B_206B_202C_200D_206B_202E_200C_206D_206A_200E_202B_202A_200D_200F_206B_202C_206C_202D_202B_202C_206E_200D_202B_200B_206F_206B_206D_206A_202A_200D_206F_202C_206F_200E_202B_206F_202C_202A_202E(ElementId P_0) + { + return P_0.Value; + } +} diff --git a/Questionable/Questionable.Navigation/SmartNavReRouteService.cs b/Questionable/Questionable.Navigation/SmartNavReRouteService.cs new file mode 100644 index 00000000..96fed7b5 --- /dev/null +++ b/Questionable/Questionable.Navigation/SmartNavReRouteService.cs @@ -0,0 +1,310 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +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) + { + _202A_200D_200E_206F_202C_206E_200D_202E_202C_200D_200C_206C_202A_200C_206B_206A_202A_202E_206A_206F_200D_206E_206B_200C_202D_206A_206C_206D_206A_202E_206A_202B_200D_202E_206D_206E_202A_202E_202C_206E_202E(reRoutePolicy, territoryId, position); + } + + public void ClearDestination() + { + _206E_200E_202B_200E_200B_200B_200D_200C_202C_202B_202A_200D_202B_206A_200D_206E_206F_200D_206D_206F_200C_202B_206E_206E_206E_206F_206F_206D_206A_202B_202A_202B_200C_202D_202E_202D_206F_200C_206E_206B_202E(reRoutePolicy); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool HandleMovementFailure(TaskQueue taskQueue) + { + int num = (configuration.Navigation.ReRouteOnFailure ? 1710893574 : 1710893572); + ReRouteDecision reRouteDecision = default(ReRouteDecision); + List list = default(List); + string routeTargetNodeId = default(string); + MoveTask moveTask = default(MoveTask); + string text = default(string); + string text2 = default(string); + while (true) + { + int num2 = num; + int num3 = 1710893573; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + { + if (!(reRouteDecision is ReRouteDecision.Replan replan)) + { + num = 1710893570; + break; + } + taskQueue.Reset(); + IEnumerator enumerator2 = taskMapper.MapInstructions(_206F_206E_200E_202C_202E_202C_202A_202B_202D_200E_200D_202B_200C_200D_200F_206B_200D_206B_202A_202C_206D_202E_202B_206B_200E_200E_206C_206F_200F_200D_202A_200E_206F_206E_202A_200E_206F_206D_206D_200F_202E(replan)).GetEnumerator(); + try + { + num = 82705300; + while (true) + { + int num6 = num; + num3 = 82705303; + num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = (_200D_206F_200C_202D_202C_202C_202C_200D_206C_202C_202A_206A_206F_202B_200D_202C_206B_200E_206C_200B_200D_200D_200D_202A_202E_202C_206B_200C_206C_202B_202C_206E_206F_202C_200D_200C_206F_202D_202D_200E_202E((IEnumerator)enumerator2) ? 82705302 : 82705303); + break; + case 1: + { + ITask current2 = enumerator2.Current; + taskQueue.Enqueue(current2); + num = 82705300; + break; + } + case 2: + num = 82705300; + break; + case 0: + goto end_IL_026e; + } + continue; + end_IL_026e: + break; + } + } + finally + { + num = ((enumerator2 == null) ? 1773046636 : 1773046637); + while (true) + { + int num7 = num; + num3 = 1773046636; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1773046637; + break; + case 0: + goto end_IL_030f; + case 1: + _206E_202B_200E_206F_202B_202E_202D_206C_206F_200D_202E_206E_200D_200B_200B_200B_206F_200D_200B_206E_202E_202A_202E_206D_202E_206D_206D_200B_200C_206C_202D_200D_206A_206C_206D_200C_202E_202C_202B_200F_202E((IDisposable)enumerator2); + num = 1773046636; + break; + } + continue; + end_IL_030f: + break; + } + } + using (List.Enumerator enumerator = list.GetEnumerator()) + { + num = -1421091636; + while (true) + { + int num8 = num; + num3 = -1421091636; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = (enumerator.MoveNext() ? (-1421091635) : (-1421091634)); + break; + case 1: + { + ITask current3 = enumerator.Current; + taskQueue.Enqueue(current3); + num = -1421091636; + break; + } + case 3: + num = -1421091636; + break; + case 2: + goto end_IL_0370; + } + continue; + end_IL_0370: + break; + } + } + return true; + } + case 6: + routeTargetNodeId = moveTask.RouteTargetNodeId; + num = ((routeTargetNodeId == null) ? 1710893575 : 1710893573); + break; + case 1: + return false; + case 0: + text = routeTargetNodeId; + text2 = moveTask.RouteApproachNodeId; + num = 1710893575; + break; + case 8: + num = 1710893572; + break; + case 3: + text = null; + text2 = null; + moveTask = taskQueue.CurrentTaskExecutor?.CurrentTask as MoveTask; + num = (((object)moveTask == null) ? 1710893575 : 1710893571); + break; + case 2: + list = ExtractNonMovementTasks(taskQueue); + reRouteDecision = _202A_206C_202A_200F_202D_200E_206B_202C_200D_200D_206C_206D_202C_202C_200B_200D_202E_202C_202C_202E_200E_206D_206A_206E_206F_200D_206E_200B_202E_202B_200E_200B_200D_200B_206D_206D_200D_206B_206F_206C_202E(reRoutePolicy, text, text2, list.Count > 0); + num = ((reRouteDecision is ReRouteDecision.SkipMovement) ? 1710893568 : 1710893569); + break; + case 5: + { + taskQueue.Reset(); + using (List.Enumerator enumerator = list.GetEnumerator()) + { + num = -1903368627; + while (true) + { + int num5 = num; + num3 = -1903368628; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = (enumerator.MoveNext() ? (-1903368625) : (-1903368626)); + break; + case 3: + { + ITask current = enumerator.Current; + taskQueue.Enqueue(current); + num = -1903368627; + break; + } + case 0: + num = -1903368627; + break; + case 2: + goto end_IL_0186; + } + continue; + end_IL_0186: + break; + } + } + _200E_200C_202D_206D_206E_206D_202D_202E_206F_200F_206F_200B_206B_206D_202C_206B_202C_206B_202D_206F_206B_206D_206F_200D_206E_206E_206C_202C_200E_202B_202B_206C_200B_202B_206A_202C_200D_202D_202B_202C_202E((ILogger)logger, global::_003CModule_003E._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(563060847), new object[1] { list.Count }); + return true; + } + case 7: + return false; + } + } + } + + private static List ExtractNonMovementTasks(TaskQueue taskQueue) + { + return taskQueue.RemainingTasks.Where((ITask t) => !IsMovementTask(t)).ToList(); + } + + private static bool IsMovementTask(ITask task) + { + int num = ((task is MoveTask) ? (-89420229) : (-89420235)); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = -89420240; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((task is TaxiInteract.Task) ? (-89420229) : (-89420238)); + break; + case 11: + result = true; + num = -89420230; + break; + case 6: + num = ((task is WaitCondition.Task) ? (-89420229) : (-89420228)); + break; + case 13: + num = ((task is AethernetRide.Task) ? (-89420229) : (-89420239)); + break; + case 12: + num = ((task is WarpInteract.Task) ? (-89420229) : (-89420236)); + break; + case 9: + result = false; + num = -89420230; + break; + case 7: + num = ((task is Mount.MountTask) ? (-89420229) : (-89420237)); + break; + case 8: + num = -89420235; + break; + case 3: + num = ((task is AetheryteTeleport.Task) ? (-89420229) : (-89420227)); + break; + case 2: + num = ((task is SubRegionTransport.Task) ? (-89420229) : (-89420240)); + break; + case 1: + num = ((task is WaitNavmesh.Task) ? (-89420229) : (-89420234)); + break; + case 0: + num = ((!(task is TicketTeleport.Task)) ? (-89420231) : (-89420229)); + break; + case 10: + return result; + case 5: + num = ((task is LandTask) ? (-89420229) : (-89420233)); + break; + } + } + } + + static void _202A_200D_200E_206F_202C_206E_200D_202E_202C_200D_200C_206C_202A_200C_206B_206A_202A_202E_206A_206F_200D_206E_206B_200C_202D_206A_206C_206D_206A_202E_206A_202B_200D_202E_206D_206E_202A_202E_202C_206E_202E(ReRoutePolicy P_0, uint P_1, Vector3 P_2) + { + P_0.SetDestination(P_1, P_2); + } + + static void _206E_200E_202B_200E_200B_200B_200D_200C_202C_202B_202A_200D_202B_206A_200D_206E_206F_200D_206D_206F_200C_202B_206E_206E_206E_206F_206F_206D_206A_202B_202A_202B_200C_202D_202E_202D_206F_200C_206E_206B_202E(ReRoutePolicy P_0) + { + P_0.ClearDestination(); + } + + static ReRouteDecision _202A_206C_202A_200F_202D_200E_206B_202C_200D_200D_206C_206D_202C_202C_200B_200D_202E_202C_202C_202E_200E_206D_206A_206E_206F_200D_206E_200B_202E_202B_200E_200B_200D_200B_206D_206D_200D_206B_206F_206C_202E(ReRoutePolicy P_0, string P_1, string P_2, bool P_3) + { + return P_0.HandleMovementFailure(P_1, P_2, P_3); + } + + static void _200E_200C_202D_206D_206E_206D_202D_202E_206F_200F_206F_200B_206B_206D_202C_206B_202C_206B_202D_206F_206B_206D_206F_200D_206E_206E_206C_202C_200E_202B_202B_206C_200B_202B_206A_202C_200D_202D_202B_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static IReadOnlyList _206F_206E_200E_202C_202E_202C_202A_202B_202D_200E_200D_202B_200C_200D_200F_206B_200D_206B_202A_202C_206D_202E_202B_206B_200E_200E_206C_206F_200F_200D_202A_200E_206F_206E_202A_200E_206F_206D_206D_200F_202E(ReRouteDecision.Replan P_0) + { + return P_0.Instructions; + } + + static bool _200D_206F_200C_202D_202C_202C_202C_200D_206C_202C_202A_206A_206F_202B_200D_202C_206B_200E_206C_200B_200D_200D_200D_202A_202E_202C_206B_200C_206C_202B_202C_206E_206F_202C_200D_200C_206F_202D_202D_200E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206E_202B_200E_206F_202B_202E_202D_206C_206F_200D_202E_206E_200D_200B_200B_200B_206F_200D_200B_206E_202E_202A_202E_206D_202E_206D_206D_200B_200C_206C_202D_200D_206A_206C_206D_200C_202E_202C_202B_200F_202E(IDisposable P_0) + { + P_0.Dispose(); + } +} diff --git a/Questionable/Questionable.Navigation/SmartNavRouteEnqueuer.cs b/Questionable/Questionable.Navigation/SmartNavRouteEnqueuer.cs new file mode 100644 index 00000000..01735e44 --- /dev/null +++ b/Questionable/Questionable.Navigation/SmartNavRouteEnqueuer.cs @@ -0,0 +1,581 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +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) +{ + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__9_0; + + internal bool _003CTryEnqueueToTerritory_003Eb__9_0(NavInstruction x) + { + NavInstruction.Move move = x as NavInstruction.Move; + int num = (((object)move == null) ? 1487160675 : 1487160672); + int num5; + while (true) + { + int num2 = num; + int num3 = 1487160674; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + goto IL_0048; + case 2: + num5 = (_206F_202C_206C_202C_202B_206D_202E_206E_202E_206B_200F_206B_202B_202E_200E_200F_202E_200D_206A_206C_202C_206B_200E_202A_206F_206E_206A_202D_202C_206F_206A_206D_206F_206E_206D_200E_200C_200D_206D_202E_202E(move) ? 1 : 0); + break; + case 1: + num5 = 0; + break; + } + break; + IL_0048: + num = 1487160672; + } + return num5 == 0; + } + + static bool _206F_202C_206C_202C_202B_206D_202E_206E_202E_206B_200F_206B_202B_202E_200E_200F_202E_200D_206A_206C_202C_206B_200E_202A_206F_206E_206A_202D_202C_206F_206A_206D_206F_206E_206D_200E_200C_200D_206D_202E_202E(NavInstruction.Move P_0) + { + return P_0.IsFinal; + } + } + + public void Enqueue(TaskQueue taskQueue, uint territoryId, Vector3 position, float? fallbackStopDistance = null) + { + int num = ((!TryEnqueueRouted(taskQueue, territoryId, position)) ? 421503806 : 421503805); + while (true) + { + int num2 = num; + int num3 = 421503807; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004c; + case 2: + return; + case 1: + taskQueue.Enqueue(new MoveTask((ushort)territoryId, position, null, MountRequired: false, DismountRequired: false, fallbackStopDistance)); + reRouteService.SetDestination(territoryId, position); + return; + } + continue; + IL_004c: + num = 421503805; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool TryEnqueueRouted(TaskQueue taskQueue, uint territoryId, Vector3 position) + { + PlayerNavState playerNavState = _202B_206D_200F_202E_206D_200C_200D_202D_202A_200C_202E_200F_200D_206E_206E_206C_202E_206C_202B_200E_206D_202E_202D_202E_202B_202A_200C_202B_200C_206C_206E_202C_206E_202A_206E_202A_200B_200B_206A_200F_202E(playerNavStateBuilder, (int?)null); + int num = ((playerNavState != null) ? (-2001710558) : (-2001710559)); + RouteResult routeResult = default(RouteResult); + while (true) + { + int num2 = num; + int num3 = -2001710557; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 2: + return false; + case 1: + routeResult = _200C_206A_202A_202C_206A_202E_200C_206D_202C_206B_202D_200D_202B_200D_206C_206D_206C_200D_200D_200F_202C_206F_202D_202C_200E_200D_202D_200D_200F_206D_200D_202D_200F_206C_200F_206D_202A_202D_206C_202E(navRouter, playerNavState, territoryId, position, (IReadOnlySet)null); + num = ((_206A_206D_202C_202A_206C_206A_202D_200C_200D_202C_206E_206A_202C_200F_200F_202A_202B_200D_200C_202B_200E_206A_206D_206D_200C_202C_200E_206F_200B_206B_202B_202D_206F_200C_206D_202B_200F_202A_202C_202B_202E(routeResult).Count != 0) ? (-2001710553) : (-2001710557)); + break; + case 3: + num = -2001710559; + break; + case 4: + { + _200F_200B_206D_206C_206A_202B_200E_202A_200D_202C_206A_200E_200D_206D_200E_200F_202E_200C_200C_206D_206A_206B_202D_200B_202B_202D_206D_206E_200C_202B_200D_206B_206F_200C_200D_206A_206D_206A_206E_202D_202E((ILogger)logger, global::_003CModule_003E._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(-1637216935), new object[1] { _206A_206D_202C_202A_206C_206A_202D_200C_200D_202C_206E_206A_202C_200F_200F_202A_202B_200D_200C_202B_200E_206A_206D_206D_200C_202C_200E_206F_200B_206B_202B_202D_206F_200C_206D_202B_200F_202A_202C_202B_202E(routeResult).Count }); + IEnumerator enumerator = taskMapper.MapInstructions(_202E_200C_200C_202D_206A_206A_200D_200D_206C_200B_202E_206E_200B_200E_206C_200F_200D_200E_202D_206F_200F_200D_206E_206A_200D_202D_200E_206C_202C_206F_202A_206C_206A_206B_202D_206D_206B_202B_202E_206D_202E(instructionBuilder, routeResult, territoryId, false)).GetEnumerator(); + try + { + num = -1110389375; + while (true) + { + int num5 = num; + num3 = -1110389373; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + num = (_206E_206C_206D_202B_206F_200C_200C_200D_202C_206E_202E_202A_202E_200B_206F_206D_206E_206C_206B_202D_202A_206F_200C_206F_202B_206C_200F_200F_202C_206E_206F_206D_200D_206D_202A_202C_202B_202E_200C_206B_202E((IEnumerator)enumerator) ? (-1110389374) : (-1110389376)); + break; + case 1: + { + ITask current = enumerator.Current; + taskQueue.Enqueue(current); + num = -1110389375; + break; + } + case 0: + num = -1110389375; + break; + case 3: + goto end_IL_0109; + } + continue; + end_IL_0109: + break; + } + } + finally + { + num = ((enumerator == null) ? 915371857 : 915371856); + while (true) + { + int num8 = num; + num3 = 915371857; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 915371856; + break; + case 0: + goto end_IL_01a9; + case 1: + _202E_206B_202B_202B_202E_202B_202C_200D_206D_200F_202B_206F_206D_206C_200C_206D_200D_200C_202A_200D_200D_200B_202B_206F_202C_202D_202E_206C_200F_200C_200D_206C_200C_202A_202B_206B_200C_202E_202A_200D_202E((IDisposable)enumerator); + num = 915371857; + break; + } + continue; + end_IL_01a9: + break; + } + } + reRouteService.SetDestination(territoryId, position); + return true; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool TryEnqueueToTerritory(TaskQueue taskQueue, uint territoryId, Vector3 position) + { + PlayerNavState playerNavState = _202B_206D_200F_202E_206D_200C_200D_202D_202A_200C_202E_200F_200D_206E_206E_206C_202E_206C_202B_200E_206D_202E_202D_202E_202B_202A_200C_202B_200C_206C_206E_202C_206E_202A_206E_202A_200B_200B_206A_200F_202E(playerNavStateBuilder, (int?)null); + int num = ((playerNavState != null) ? 990338576 : 990338578); + RouteResult routeResult = default(RouteResult); + List list = default(List); + while (true) + { + int num2 = num; + int num3 = 990338579; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + routeResult = _200C_206A_202A_202C_206A_202E_200C_206D_202C_206B_202D_200D_202B_200D_206C_206D_206C_200D_200D_200F_202C_206F_202D_202C_200E_200D_202D_200D_200F_206D_200D_202D_200F_206C_200F_206D_202A_202D_206C_202E(navRouter, playerNavState, territoryId, position, (IReadOnlySet)null); + num = ((_206A_206D_202C_202A_206C_206A_202D_200C_200D_202C_206E_206A_202C_200F_200F_202A_202B_200D_200C_202B_200E_206A_206D_206D_200C_202C_200E_206F_200B_206B_202B_202D_206F_200C_206D_202B_200F_202A_202C_202B_202E(routeResult).Count != 0) ? 990338577 : 990338579); + break; + case 1: + return false; + case 5: + num = 990338578; + break; + case 6: + return false; + case 2: + list = _202E_200C_200C_202D_206A_206A_200D_200D_206C_200B_202E_206E_200B_200E_206C_200F_200D_200E_202D_206F_200F_200D_206E_206A_200D_202D_200E_206C_202C_206F_202A_206C_206A_206B_202D_206D_206B_202B_202E_206D_202E(instructionBuilder, routeResult, territoryId, false).TakeWhile(delegate(NavInstruction x) + { + NavInstruction.Move move = x as NavInstruction.Move; + int num7 = (((object)move == null) ? 1487160675 : 1487160672); + int num11; + while (true) + { + int num8 = num7; + int num9 = 1487160674; + int num10 = num8; + switch ((num10 | num9) - (num10 & num9)) + { + default: + continue; + case 0: + goto IL_0048; + case 2: + num11 = (_003C_003Ec._206F_202C_206C_202C_202B_206D_202E_206E_202E_206B_200F_206B_202B_202E_200E_200F_202E_200D_206A_206C_202C_206B_200E_202A_206F_206E_206A_202D_202C_206F_206A_206D_206F_206E_206D_200E_200C_200D_206D_202E_202E(move) ? 1 : 0); + break; + case 1: + num11 = 0; + break; + } + break; + IL_0048: + num7 = 1487160672; + } + return num11 == 0; + }).ToList(); + num = ((list.Count != 0) ? 990338583 : 990338581); + break; + case 0: + return false; + case 4: + { + _200F_200B_206D_206C_206A_202B_200E_202A_200D_202C_206A_200E_200D_206D_200E_200F_202E_200C_200C_206D_206A_206B_202D_200B_202B_202D_206D_206E_200C_202B_200D_206B_206F_200C_200D_206A_206D_206A_206E_202D_202E((ILogger)logger, global::_003CModule_003E._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(-511917065), new object[2] + { + territoryId, + _206A_206D_202C_202A_206C_206A_202D_200C_200D_202C_206E_206A_202C_200F_200F_202A_202B_200D_200C_202B_200E_206A_206D_206D_200C_202C_200E_206F_200B_206B_202B_202D_206F_200C_206D_202B_200F_202A_202C_202B_202E(routeResult).Count + }); + IEnumerator enumerator = taskMapper.MapInstructions(list).GetEnumerator(); + try + { + num = -1387319967; + while (true) + { + int num5 = num; + num3 = -1387319968; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = (_206E_206C_206D_202B_206F_200C_200C_200D_202C_206E_202E_202A_202E_200B_206F_206D_206E_206C_206B_202D_202A_206F_200C_206F_202B_206C_200F_200F_202C_206E_206F_206D_200D_206D_202A_202C_202B_202E_200C_206B_202E((IEnumerator)enumerator) ? (-1387319966) : (-1387319965)); + break; + case 2: + { + ITask current = enumerator.Current; + taskQueue.Enqueue(current); + num = -1387319967; + break; + } + case 0: + num = -1387319967; + break; + case 3: + goto end_IL_016e; + } + continue; + end_IL_016e: + break; + } + } + finally + { + num = ((enumerator == null) ? (-1885497311) : (-1885497310)); + while (true) + { + int num6 = num; + num3 = -1885497312; + num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1885497310; + break; + case 1: + goto end_IL_020f; + case 2: + _202E_206B_202B_202B_202E_202B_202C_200D_206D_200F_202B_206F_206D_206C_200C_206D_200D_200C_202A_200D_200D_200B_202B_206F_202C_202D_202E_206C_200F_200C_200D_206C_200C_202A_202B_206B_200C_202E_202A_200D_202E((IDisposable)enumerator); + num = -1885497311; + break; + } + continue; + end_IL_020f: + break; + } + } + reRouteService.ClearDestination(); + return true; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public IReadOnlyList BuildRoutedTasks(uint territoryId, Vector3 position) + { + reRouteService.SetDestination(territoryId, position); + PlayerNavState playerNavState = _202B_206D_200F_202E_206D_200C_200D_202D_202A_200C_202E_200F_200D_206E_206E_206C_202E_206C_202B_200E_206D_202E_202D_202E_202B_202A_200C_202B_200C_206C_206E_202C_206E_202A_206E_202A_200B_200B_206A_200F_202E(playerNavStateBuilder, (int?)null); + int num = ((playerNavState == null) ? (-660464339) : (-660464337)); + RouteResult routeResult = default(RouteResult); + while (true) + { + int num2 = num; + int num3 = -660464338; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -660464337; + break; + case 0: + { + _200F_200B_206D_206C_206A_202B_200E_202A_200D_202C_206A_200E_200D_206D_200E_200F_202E_200C_200C_206D_206A_206B_202D_200B_202B_202D_206D_206E_200C_202B_200D_206B_206F_200C_200D_206A_206D_206A_206E_202D_202E((ILogger)logger, global::_003CModule_003E._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(627470368), new object[1] { _206A_206D_202C_202A_206C_206A_202D_200C_200D_202C_206E_206A_202C_200F_200F_202A_202B_200D_200C_202B_200E_206A_206D_206D_200C_202C_200E_206F_200B_206B_202B_202D_206F_200C_206D_202B_200F_202A_202C_202B_202E(routeResult).Count }); + List list = new List(); + list.AddRange(taskMapper.MapInstructions(_202E_200C_200C_202D_206A_206A_200D_200D_206C_200B_202E_206E_200B_200E_206C_200F_200D_200E_202D_206F_200F_200D_206E_206A_200D_202D_200E_206C_202C_206F_202A_206C_206A_206B_202D_206D_206B_202B_202E_206D_202E(instructionBuilder, routeResult, territoryId, false))); + return new global::_003C_003Ez__ReadOnlyList(list); + } + case 3: + return new global::_003C_003Ez__ReadOnlySingleElementList(new MoveTask((ushort)territoryId, position)); + case 1: + routeResult = _200C_206A_202A_202C_206A_202E_200C_206D_202C_206B_202D_200D_202B_200D_206C_206D_206C_200D_200D_200F_202C_206F_202D_202C_200E_200D_202D_200D_200F_206D_200D_202D_200F_206C_200F_206D_202A_202D_206C_202E(navRouter, playerNavState, territoryId, position, (IReadOnlySet)null); + num = ((_206A_206D_202C_202A_206C_206A_202D_200C_200D_202C_206E_206A_202C_200F_200F_202A_202B_200D_200C_202B_200E_206A_206D_206D_200C_202C_200E_206F_200B_206B_202B_202D_206F_200C_206D_202B_200F_202A_202C_202B_202E(routeResult).Count <= 0) ? (-660464339) : (-660464338)); + break; + } + } + } + + public bool RouteStartsWithTeleport(uint territoryId, Vector3 position) + { + PlayerNavState playerNavState = _202B_206D_200F_202E_206D_200C_200D_202D_202A_200C_202E_200F_200D_206E_206E_206C_202E_206C_202B_200E_206D_202E_202D_202E_202B_202A_200C_202B_200C_206C_206E_202C_206E_202A_206E_202A_200B_200B_206A_200F_202E(playerNavStateBuilder, (int?)null); + int num = ((playerNavState != null) ? 1055627121 : 1055627127); + RouteResult routeResult = default(RouteResult); + bool? flag = default(bool?); + while (true) + { + int num2 = num; + int num3 = 1055627123; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 4: + return false; + case 2: + routeResult = _200C_206A_202A_202C_206A_202E_200C_206D_202C_206B_202D_200D_202B_200D_206C_206D_206C_200D_200D_200F_202C_206F_202D_202C_200E_200D_202D_200D_200F_206D_200D_202D_200F_206C_200F_206D_202A_202D_206C_202E(navRouter, playerNavState, territoryId, position, (IReadOnlySet)null); + num = ((_206A_206D_202C_202A_206C_206A_202D_200C_200D_202C_206E_206A_202C_200F_200F_202A_202B_200D_200C_202B_200E_206A_206D_206D_200C_202C_200E_206F_200B_206B_202B_202D_206F_200C_206D_202B_200F_202A_202C_202B_202E(routeResult).Count != 0) ? 1055627120 : 1055627122); + break; + case 0: + num = 1055627127; + break; + case 3: + { + IEnumerator enumerator = _202E_200C_200C_202D_206A_206A_200D_200D_206C_200B_202E_206E_200B_200E_206C_200F_200D_200E_202D_206F_200F_200D_206E_206A_200D_202D_200E_206C_202C_206F_202A_206C_206A_206B_202D_206D_206B_202B_202E_206D_202E(instructionBuilder, routeResult, territoryId, false).GetEnumerator(); + try + { + num = 606760973; + while (true) + { + int num7 = num; + num3 = 606760975; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + num = (_206E_206C_206D_202B_206F_200C_200C_200D_202C_206E_202E_202A_202E_200B_206F_206D_206E_206C_206B_202D_202A_206F_200C_206F_202B_206C_200F_200F_202C_206E_206F_206D_200D_206D_202A_202C_202B_202E_200C_206B_202E((IEnumerator)enumerator) ? 606760974 : 606760975); + break; + case 3: + return flag == true; + case 1: + flag = StartsWithTeleport(enumerator.Current); + num = ((!flag.HasValue) ? 606760973 : 606760972); + break; + case 4: + num = 606760973; + break; + case 0: + goto end_IL_00d1; + } + continue; + end_IL_00d1: + break; + } + } + finally + { + num = ((enumerator == null) ? 409111292 : 409111295); + while (true) + { + int num10 = num; + num3 = 409111294; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + num = 409111295; + break; + case 2: + goto end_IL_01a8; + case 1: + _202E_206B_202B_202B_202E_202B_202C_200D_206D_200F_202B_206F_206D_206C_200C_206D_200D_200C_202A_200D_200D_200B_202B_206F_202C_202D_202E_206C_200F_200C_200D_206C_200C_202A_202B_206B_200C_202E_202A_200D_202E((IDisposable)enumerator); + num = 409111292; + break; + } + continue; + end_IL_01a8: + break; + } + } + return false; + } + } + } + [MethodImpl(MethodImplOptions.NoInlining)] + static bool? StartsWithTeleport(NavInstruction instruction) + { + int num13 = ((instruction is NavInstruction.Teleport) ? (-1918761606) : (-1918761610)); + bool? result = default(bool?); + while (true) + { + int num14 = num13; + int num15 = -1918761612; + int num16 = num14; + int num17 = num16 + num15; + int num18 = num16 & num15; + switch (num17 - (num18 + num18)) + { + case 4: + num13 = -1918761631; + break; + case 13: + result = false; + num13 = -1918761628; + break; + case 22: + num13 = ((instruction is NavInstruction.WaitForTerritory) ? (-1918761612) : (-1918761611)); + break; + case 9: + num13 = ((instruction is NavInstruction.Land) ? (-1918761613) : (-1918761604)); + break; + case 14: + result = true; + num13 = -1918761628; + break; + case 0: + result = null; + num13 = -1918761628; + break; + case 1: + num13 = ((instruction is NavInstruction.WaitForNavmesh) ? (-1918761605) : (-1918761616)); + break; + case 11: + num13 = ((instruction is NavInstruction.InteractWarp) ? (-1918761614) : (-1918761627)); + break; + case 6: + result = false; + num13 = -1918761628; + break; + case 18: + result = null; + num13 = -1918761628; + break; + case 17: + num13 = ((instruction is NavInstruction.SubRegionTransport) ? (-1918761609) : (-1918761603)); + break; + case 16: + return result; + case 12: + result = true; + num13 = -1918761628; + break; + case 5: + result = false; + num13 = -1918761628; + break; + case 2: + num13 = ((instruction is NavInstruction.UseTeleportTicket) ? (-1918761608) : (-1918761602)); + break; + case 7: + result = null; + num13 = -1918761628; + break; + case 19: + num13 = -1918761610; + break; + case 3: + result = false; + num13 = -1918761628; + break; + case 21: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(29, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-651151470)); + defaultInterpolatedStringHandler.AppendFormatted(instruction); + throw _200E_202A_206B_206B_206D_206C_206F_206E_200C_200C_206B_202B_200B_200B_202A_202C_200D_200D_202A_200C_206A_200D_202C_200F_206A_202D_202D_206E_202B_202A_206F_202B_206A_200F_206D_206B_202E_200B_200B_200D_202E(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 8: + num13 = ((instruction is NavInstruction.Unmount) ? (-1918761626) : (-1918761630)); + break; + case 10: + num13 = ((instruction is NavInstruction.Move) ? (-1918761607) : (-1918761632)); + break; + case 20: + num13 = ((instruction is NavInstruction.AethernetHop) ? (-1918761615) : (-1918761601)); + break; + case 15: + result = null; + num13 = -1918761628; + break; + } + } + } + } + + public void ClearDestination() + { + reRouteService.ClearDestination(); + } + + static PlayerNavState _202B_206D_200F_202E_206D_200C_200D_202D_202A_200C_202E_200F_200D_206E_206E_206C_202E_206C_202B_200E_206D_202E_202D_202E_202B_202A_200C_202B_200C_206C_206E_202C_206E_202A_206E_202A_200B_200B_206A_200F_202E(PlayerNavStateBuilder P_0, int? P_1) + { + return P_0.Build(P_1); + } + + static RouteResult _200C_206A_202A_202C_206A_202E_200C_206D_202C_206B_202D_200D_202B_200D_206C_206D_206C_200D_200D_200F_202C_206F_202D_202C_200E_200D_202D_200D_200F_206D_200D_202D_200F_206C_200F_206D_202A_202D_206C_202E(NavRouter P_0, PlayerNavState P_1, uint P_2, Vector3 P_3, IReadOnlySet P_4) + { + return P_0.FindRoute(P_1, P_2, P_3, P_4); + } + + static IReadOnlyList _206A_206D_202C_202A_206C_206A_202D_200C_200D_202C_206E_206A_202C_200F_200F_202A_202B_200D_200C_202B_200E_206A_206D_206D_200C_202C_200E_206F_200B_206B_202B_202D_206F_200C_206D_202B_200F_202A_202C_202B_202E(RouteResult P_0) + { + return P_0.Segments; + } + + static void _200F_200B_206D_206C_206A_202B_200E_202A_200D_202C_206A_200E_200D_206D_200E_200F_202E_200C_200C_206D_206A_206B_202D_200B_202B_202D_206D_206E_200C_202B_200D_206B_206F_200C_200D_206A_206D_206A_206E_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static IReadOnlyList _202E_200C_200C_202D_206A_206A_200D_200D_206C_200B_202E_206E_200B_200E_206C_200F_200D_200E_202D_206F_200F_200D_206E_206A_200D_202D_200E_206C_202C_206F_202A_206C_206A_206B_202D_206D_206B_202B_202E_206D_202E(RouteInstructionBuilder P_0, RouteResult P_1, uint P_2, bool P_3) + { + return P_0.Build(P_1, P_2, P_3); + } + + static bool _206E_206C_206D_202B_206F_200C_200C_200D_202C_206E_202E_202A_202E_200B_206F_206D_206E_206C_206B_202D_202A_206F_200C_206F_202B_206C_200F_200F_202C_206E_206F_206D_200D_206D_202A_202C_202B_202E_200C_206B_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202E_206B_202B_202B_202E_202B_202C_200D_206D_200F_202B_206F_206D_206C_200C_206D_200D_200C_202A_200D_200D_200B_202B_206F_202C_202D_202E_206C_200F_200C_200D_206C_200C_202A_202B_206B_200C_202E_202A_200D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static InvalidOperationException _200E_202A_206B_206B_206D_206C_206F_206E_200C_200C_206B_202B_200B_200B_202A_202C_200D_200D_202A_200C_206A_200D_202C_200F_206A_202D_202D_206E_202B_202A_206F_202B_206A_200F_206D_206B_202E_200B_200B_200D_202E(string P_0) + { + return new InvalidOperationException(P_0); + } +} diff --git a/Questionable/Questionable.Navigation/SmartNavTaskMapper.cs b/Questionable/Questionable.Navigation/SmartNavTaskMapper.cs new file mode 100644 index 00000000..47a7e643 --- /dev/null +++ b/Questionable/Questionable.Navigation/SmartNavTaskMapper.cs @@ -0,0 +1,1239 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +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; +using SmartNav.Model; + +namespace Questionable.Navigation; + +internal sealed class SmartNavTaskMapper(IClientState clientState, TerritoryData territoryData) +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass5_0 + { + public SmartNavTaskMapper _003C_003E4__this; + + public NavInstruction.Teleport _003Cteleport_003E5__2; + + public NavInstruction.WaitForTerritory _003Cwait_003E5__3; + + internal bool _003CMap_003Eb__0() + { + return _202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(_003C_003E4__this.clientState) == _206A_202E_202D_200F_206A_200E_206A_200F_202A_206A_206F_206A_200C_206D_206E_202D_200B_206A_206D_206B_202C_206D_202D_200B_202A_206E_206F_200C_206C_200F_206B_206C_206A_202C_200B_206A_200B_202D_206B_202A_202E(_003Cteleport_003E5__2); + } + + internal bool _003CMap_003Eb__1() + { + return _206A_200B_206C_206E_200B_202D_206C_202C_202E_206B_206F_200D_206D_200F_202A_200D_202C_206E_200F_202B_206C_202E_202E_206B_202A_206D_206B_200C_202C_206D_206C_206D_200E_206A_206D_200B_206D_202B_202D_200F_202E(_003Cwait_003E5__3).Contains(_202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(_003C_003E4__this.clientState)); + } + + static uint _202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static ushort _206A_202E_202D_200F_206A_200E_206A_200F_202A_206A_206F_206A_200C_206D_206E_202D_200B_206A_206D_206B_202C_206D_202D_200B_202A_206E_206F_200C_206C_200F_206B_206C_206A_202C_200B_206A_200B_202D_206B_202A_202E(NavInstruction.Teleport P_0) + { + return P_0.ExpectedTerritory; + } + + static IReadOnlyList _206A_200B_206C_206E_200B_202D_206C_202C_202E_206B_206F_200D_206D_200F_202A_200D_202C_206E_200F_202B_206C_202E_202E_206B_202A_206D_206B_200C_202C_206D_206C_206D_200E_206A_206D_200B_206D_202B_202D_200F_202E(NavInstruction.WaitForTerritory P_0) + { + return P_0.Acceptable; + } + } + + [CompilerGenerated] + private sealed class _003CMap_003Ed__5 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public SmartNavTaskMapper _003C_003E4__this; + + private NavInstruction instruction; + + public NavInstruction _003C_003E3__instruction; + + private _003C_003Ec__DisplayClass5_0 _003C_003E8__1; + + private NavInstruction nextTravel; + + public NavInstruction _003C_003E3__nextTravel; + + private QuestStep step; + + public QuestStep _003C_003E3__step; + + ITask IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CMap_003Ed__5(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _202C_202D_206D_206C_200C_206D_200F_200B_206B_202C_206E_202B_200E_200F_200C_202C_206F_206B_206E_200D_202C_200B_202B_202E_202C_202B_206C_200C_206A_202D_206F_200E_200F_206B_200F_206A_200F_200B_202A_206B_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + _003C_003E8__1 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + int num = _003C_003E1__state; + SmartNavTaskMapper smartNavTaskMapper = _003C_003E4__this; + int num2; + NavInstruction.AethernetHop aethernetHop = default(NavInstruction.AethernetHop); + NavInstruction.Move move = default(NavInstruction.Move); + NavInstruction.InteractWarp interactWarp = default(NavInstruction.InteractWarp); + NavInstruction.SubRegionTransport subRegionTransport = default(NavInstruction.SubRegionTransport); + NavInstruction.UseTeleportTicket useTeleportTicket = default(NavInstruction.UseTeleportTicket); + NavInstruction navInstruction = default(NavInstruction); + bool? flag = default(bool?); + bool? flag2 = default(bool?); + switch (num) + { + default: + num2 = 866335748; + goto IL_005c; + case 1: + _003C_003E1__state = -1; + num2 = ((!AetheryteTeleport.MoveAwayFromAetheryteExecutor.AppliesTo(_206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(_003C_003E8__1._003Cteleport_003E5__2))) ? 866335780 : 866335766); + goto IL_005c; + case 9: + goto IL_02c7; + case 4: + goto IL_0392; + case 0: + goto IL_03a5; + case 13: + goto IL_049f; + case 8: + goto IL_054f; + case 11: + goto IL_0562; + case 12: + goto IL_0575; + case 14: + goto IL_058a; + case 10: + goto IL_06b6; + case 3: + goto IL_07cf; + case 7: + goto IL_07e2; + case 5: + goto IL_081d; + case 6: + goto IL_0847; + case 2: + break; + IL_005c: + while (true) + { + int num3 = num2; + int num4 = 866335753; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 40: + _003C_003E2__current = new WaitCondition.Task(() => _003C_003Ec__DisplayClass5_0._206A_200B_206C_206E_200B_202D_206C_202C_202E_206B_206F_200D_206D_200F_202A_200D_202C_206E_200F_202B_206C_202E_202E_206B_202A_206D_206B_200C_202C_206D_206C_206D_200E_206A_206D_200B_206D_202B_202D_200F_202E(_003C_003E8__1._003Cwait_003E5__3).Contains(_003C_003Ec__DisplayClass5_0._202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(_003C_003E8__1._003C_003E4__this.clientState)), _206D_202A_206A_206C_202E_202D_206F_200B_200E_202B_206B_202C_200C_206B_200B_202D_206B_206A_206D_206A_200D_206A_202E_202C_202A_206B_202D_206E_200D_200E_206C_202B_206A_200F_206E_206A_206B_206D_206D_200C_202E(_003C_003E8__1._003Cwait_003E5__3)); + _003C_003E1__state = 10; + return true; + case 19: + goto IL_0176; + case 33: + _003C_003E2__current = new AethernetRide.Task(_202D_200C_200C_202A_206A_206F_200D_202A_206D_202B_200B_202C_200F_200E_202C_206D_200D_202D_206F_202A_202B_202E_202A_206C_206D_202D_206D_202D_202C_202D_200D_200C_202E_202D_202B_202A_206D_206D_206E_202B_202E(aethernetHop), _200F_200D_200D_200B_206A_200F_206F_202B_206A_206A_206F_200B_200E_206B_202A_200F_206E_200E_200F_202D_200B_206F_200C_206D_202B_206E_200C_200E_202B_200F_200B_200B_206E_202E_200C_206B_206E_202C_200F_200C_202E(aethernetHop)); + _003C_003E1__state = 4; + return true; + case 43: + _003C_003E2__current = new WaitCondition.Task(() => _003C_003Ec__DisplayClass5_0._202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(_003C_003E8__1._003C_003E4__this.clientState) == _003C_003Ec__DisplayClass5_0._206A_202E_202D_200F_206A_200E_206A_200F_202A_206A_206F_206A_200C_206D_206E_202D_200B_206A_206D_206B_202C_206D_202D_200B_202A_206E_206F_200C_206C_200F_206B_206C_206A_202C_200B_206A_200B_202D_206B_202A_202E(_003C_003E8__1._003Cteleport_003E5__2), _206B_200E_200C_206D_202D_206F_200D_206D_206C_202D_200D_200B_202C_206D_206A_206E_206E_200E_206F_206E_206A_202B_202C_200E_200C_202E_206A_206C_200B_206A_202A_202B_202A_200F_202B_200E_200E_206F_202B_202E(global::_003CModule_003E._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(-344536108), smartNavTaskMapper.territoryData.GetNameAndId(_206D_206B_200E_200F_200B_202E_206E_206F_200E_206D_206A_202E_200F_202D_206B_202D_206D_202A_202E_202A_206F_206E_200E_200F_200F_202B_200E_202E_202E_200E_206D_200F_202A_206D_206F_206B_200B_202C_200F_202B_202E(_003C_003E8__1._003Cteleport_003E5__2)), global::_003CModule_003E._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(555647321))); + _003C_003E1__state = 2; + return true; + case 25: + goto end_IL_005c; + case 3: + goto IL_0259; + case 32: + _003C_003E2__current = new WaitNavmesh.Task(); + _003C_003E1__state = 11; + return true; + case 14: + goto IL_0296; + case 30: + goto IL_02c7; + case 44: + num2 = 866335748; + break; + case 18: + goto IL_02e6; + case 7: + { + NavInstruction.Move move2 = move; + ushort territoryId = _202C_202B_202D_202A_202D_200C_206E_200D_202E_200F_206C_202D_202A_202C_200B_202C_206D_200C_200E_206C_206E_200E_202D_206D_206F_202B_206D_206B_200E_206F_202B_206F_206A_202E_202C_200F_202E_206F_202B_202E_202E(move2); + Vector3 destination2 = _206D_206D_206E_202B_206B_202B_200C_202B_202D_200B_200B_200C_200F_200E_202D_200D_200B_206B_200E_200B_202E_200D_202C_202E_200B_202C_200C_202C_200F_200C_202A_200B_206E_206F_206D_200F_206C_202E_202B_202E(move2); + bool? mount = _206D_206E_200B_206A_202B_202B_200B_200D_200D_200E_202E_206B_206C_202E_200B_202A_206B_206E_202C_206A_206B_200D_200C_206A_200B_206A_206D_206F_206A_200B_206E_206A_202C_200B_202B_206C_200C_200F_200F_202E_202E(move2); + float? stopDistance = _206F_200C_200E_206D_202C_206C_206D_200C_206C_206B_206D_206D_206F_206F_202D_200E_206B_202B_200F_200B_202C_206E_206D_202C_202B_202C_206A_206D_206B_200D_202B_200B_206C_200F_202C_202A_200E_202D_206E_202A_202E(move2); + uint? dataId = _206C_200D_202D_200B_202D_202D_206B_206C_200C_206B_202A_206F_200E_200C_202D_206B_206F_206C_200B_200B_202A_200D_200F_202D_206B_206F_206D_206D_202A_206A_202D_200B_200B_200F_206B_202D_200F_200C_202B_202E(move2); + bool disableNavmesh = _200F_202C_202E_202E_206E_200D_206D_206C_206D_202A_202E_206F_202B_206F_202E_200E_202C_200F_206D_200F_206E_206F_202D_206E_202B_206C_206C_206B_202E_202D_202E_206C_202B_206E_200E_206A_206B_206E_206C_202B_202E(move2); + bool fly = _206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(move2); + bool land = _200D_200F_206A_206A_202B_200E_200F_200D_202C_202B_202D_206C_200C_200B_200D_202E_202E_206F_200F_202C_202A_206D_200B_200F_200E_206E_206D_206E_202B_202C_206C_200D_206B_206A_202A_202E_202E_206D_206B_202B_202E(move2); + bool allowZoneTransition = _200D_206B_200F_206E_202A_200C_206F_206A_206E_200B_206E_200E_202A_200D_200B_202B_202C_206C_202A_206C_200E_202C_202E_206E_200D_202E_206C_200F_200E_200C_206C_206F_202D_202B_206E_202E_200B_202E_206E_202B_202E(move2); + string routeTargetNodeId = _206F_202D_200D_202B_202C_206B_206B_200C_200C_206F_202D_200C_206B_202D_206E_202D_202A_206A_206F_206D_200E_202E_200B_202D_206E_206C_200E_202A_206D_206D_202E_202E_200D_200F_200E_200F_200E_202E_200C_206D_202E(move2); + string routeApproachNodeId = _206B_200F_202D_206E_200D_206A_206A_206F_200F_200D_202A_202C_206E_206F_202B_206C_206F_206A_206D_200E_202B_206A_202C_206B_206D_206D_202A_206C_200E_206D_200B_200E_206F_206A_206A_206F_200C_200B_206D_200C_202E(move2); + _003C_003E2__current = new MoveTask(territoryId, destination2, mount, MountRequired: false, DismountRequired: false, stopDistance, dataId, disableNavmesh, null, fly, land, IgnoreDistanceToObject: false, RestartNavigation: true, EInteractionType.None, SmartNavRouted: true, allowZoneTransition, routeTargetNodeId, routeApproachNodeId); + _003C_003E1__state = 7; + return true; + } + case 4: + goto IL_0392; + case 2: + goto IL_03a5; + case 26: + _003C_003E2__current = new WarpInteract.Task(_206A_200E_206B_206D_206C_200C_202A_206A_202B_206D_202E_206E_206E_200B_200B_206A_200C_200F_200F_206E_200D_200E_202E_200C_200E_206C_202B_200E_200F_202B_200E_206D_206D_206C_206C_202D_200E_206D_202D_202B_202E(interactWarp), _206A_202E_206D_202B_202E_202B_206D_200B_206D_202D_200F_206A_200E_206B_206E_206C_202D_202D_200E_200F_206A_200C_200B_200D_200E_200F_202C_202E_202D_206E_206D_200F_202A_200E_206B_202C_202D_206A_206F_206A_202E(interactWarp), _202E_200E_200D_200B_202C_200E_206D_202D_202A_200D_200D_202C_202B_206E_206E_206F_206C_206A_206D_202C_202B_202C_200D_206E_206A_200D_202C_206F_200F_206D_202A_200D_202B_200E_206C_206E_200E_206E_200B_200F_202E(interactWarp), _200F_200F_202C_202D_206D_202B_200F_200E_200B_202E_206A_202E_206C_202C_206F_202D_200F_202E_200D_206F_200D_200C_206C_202D_200E_206C_206A_206A_206F_206F_206F_200B_200C_206C_202A_200E_202C_206D_200F_206F_202E(interactWarp)); + _003C_003E1__state = 12; + return true; + case 48: + _003C_003E2__current = new SubRegionTransport.Task(_200B_200F_202E_206F_202C_206B_206F_206F_206D_200C_202C_206C_202D_200E_206D_206F_200F_206F_206A_200C_200F_206B_202B_206A_200B_200E_200B_202B_202B_206E_200D_200C_202D_206E_200D_200D_202D_206E_200F_200E_202E(subRegionTransport), _202B_202D_202B_206A_200B_202B_200D_200F_206B_202B_202C_202B_200C_200D_202A_200E_200B_200B_206F_206B_202C_202E_202C_206B_206C_206B_202B_200D_206B_202B_206C_200C_206D_202D_202B_206F_206C_200F_202B_200F_202E(subRegionTransport), _202C_202B_206C_206F_206D_200E_200C_200E_202D_206A_200B_206A_202A_202C_202A_200B_206A_202B_202A_202B_202D_200E_200D_200B_206F_206E_206D_206E_202B_202A_202C_200F_202E_202A_200F_206E_206A_206A_206C_200C_202E(subRegionTransport)); + _003C_003E1__state = 14; + return true; + case 17: + goto IL_0465; + case 29: + goto IL_049f; + case 37: + goto IL_04b2; + case 27: + goto IL_04d6; + case 41: + _003C_003E2__current = new TicketTeleport.Task(_202C_200C_206C_202B_200F_200E_200F_202B_200D_200E_200D_206B_206B_200B_200E_206C_202C_206F_200B_202A_206F_200E_202C_200E_200E_206D_200D_202E_200E_206F_206F_206E_202D_202A_206F_206C_206C_200C_202E_206C_202E(useTeleportTicket), _200E_206F_206B_200E_200E_206C_206A_206C_206B_206E_200E_200B_206A_200B_200F_202B_202D_206E_200C_206D_206E_206C_200B_206B_206A_206D_206F_206D_200C_200D_202D_206E_202D_202E_206D_202C_200B_202A_206D_200E_202E(useTeleportTicket)); + _003C_003E1__state = 13; + return true; + case 24: + goto IL_051d; + case 20: + num2 = 866335786; + break; + case 13: + return false; + case 11: + goto IL_054f; + case 5: + goto IL_0562; + case 15: + goto IL_0575; + case 45: + return false; + case 12: + goto IL_058a; + case 1: + goto IL_059d; + case 0: + { + QuestStep questStep = step; + Vector3 destination = _206D_206D_206F_202D_202B_200C_206A_200F_206F_202B_200B_200C_200D_202E_200D_202B_200E_206A_200E_200F_202D_202E_206E_200C_206D_200F_202B_202A_206D_200C_202C_206B_202A_206B_202E_200B_206B_200B_206F_206C_202E(step) ?? _206D_206D_206E_202B_206B_202B_200C_202B_202D_200B_200B_200C_200F_200E_202D_200D_200B_206B_200E_200B_202E_200D_202C_202E_200B_202C_200C_202C_200F_200C_202A_200B_206E_206F_206D_200F_206C_202E_202B_202E(move); + _003C_003E2__current = new MoveTask(questStep, destination)with + { + Fly = (_206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(move) || _206D_202B_206F_206D_206D_202E_206D_202E_200F_200E_206C_206B_202E_206F_202D_206B_200E_200D_200F_202C_202A_206B_206A_200C_200C_206B_202E_202B_200C_202E_206C_206F_206C_200C_200C_206C_206D_206B_200B_206E_202E(step) == true), + Land = (_206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(move) || _202C_206C_200C_200C_206B_200E_202C_200F_206C_202C_206F_202A_200B_202A_200C_206E_206A_200D_206C_200D_202A_206D_206C_206D_202E_206F_202A_206B_200F_206F_202B_202E_206A_202C_200E_206D_206E_206A_200D_206A_202E(step) == true), + SmartNavRouted = true, + RouteTargetNodeId = _206F_202D_200D_202B_202C_206B_206B_200C_200C_206F_202D_200C_206B_202D_206E_202D_202A_206A_206F_206D_200E_202E_200B_202D_206E_206C_200E_202A_206D_206D_202E_202E_200D_200F_200E_200F_200E_202E_200C_206D_202E(move), + RouteApproachNodeId = _206B_200F_202D_206E_200D_206A_206A_206F_200F_200D_202A_202C_206E_206F_202B_206C_206F_206A_206D_200E_202B_206A_202C_206B_206D_206D_202A_206C_200E_206D_200B_200E_206F_206A_206A_206F_200C_200B_206D_200C_202E(move) + }; + _003C_003E1__state = 5; + return true; + } + case 46: + _003C_003E2__current = new AetheryteTeleport.Task(_206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(_003C_003E8__1._003Cteleport_003E5__2), _206D_206B_200E_200F_200B_202E_206E_206F_200E_206D_206A_202E_200F_202D_206B_202D_206D_202A_202E_202A_206F_206E_200E_200F_200F_202B_200E_202E_202E_200E_206D_200F_202A_206D_206F_206B_200B_202C_200F_202B_202E(_003C_003E8__1._003Cteleport_003E5__2)); + _003C_003E1__state = 1; + return true; + case 39: + goto IL_06b6; + case 22: + _003C_003E2__current = new Mount.UnmountTask(); + _003C_003E1__state = 9; + return true; + case 6: + goto IL_06de; + case 38: + goto IL_0701; + case 23: + goto IL_0724; + case 16: + _003C_003E2__current = new LandTask(); + _003C_003E1__state = 6; + return true; + case 31: + goto IL_0760; + case 42: + goto IL_07cf; + case 9: + goto IL_07e2; + case 21: + goto IL_07f5; + case 28: + goto IL_081d; + case 47: + goto IL_0847; + case 35: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(25, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-82937501)); + defaultInterpolatedStringHandler.AppendFormatted(instruction); + throw _202A_200D_206A_200C_206F_202A_202E_200D_206C_202A_200C_206E_202C_206D_202E_206D_200E_200C_206F_202C_206A_202C_206B_200E_206C_206A_202A_206A_200B_206F_206D_200F_200C_200B_200F_200F_206B_200C_206D_206F_202E(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 36: + _003C_003E2__current = new LandTask(); + _003C_003E1__state = 8; + return true; + case 8: + goto IL_08a3; + case 34: + goto IL_08c7; + case 10: + goto end_IL_000f; + } + continue; + IL_08c7: + aethernetHop = navInstruction as NavInstruction.AethernetHop; + num2 = (((object)aethernetHop != null) ? 866335784 : 866335752); + continue; + IL_051d: + num2 = ((flag != true) ? 866335780 : 866335769); + continue; + IL_0259: + subRegionTransport = navInstruction as NavInstruction.SubRegionTransport; + num2 = (((object)subRegionTransport != null) ? 866335801 : 866335773); + continue; + IL_08a3: + num2 = ((navInstruction is NavInstruction.Unmount) ? 866335775 : 866335768); + continue; + IL_0701: + num2 = ((!_200D_206A_202B_202B_202C_206D_206B_202A_206B_206B_202D_206C_206B_200B_202A_206A_202E_200E_202E_200B_202C_206F_206C_206C_202D_206E_206F_206E_206E_200D_206C_200B_206E_202E_202D_206E_202B_200C_202D_200E_202E(move)) ? 866335758 : 866335759); + continue; + IL_0465: + _003C_003E8__1._003Cwait_003E5__3 = navInstruction as NavInstruction.WaitForTerritory; + num2 = (((object)_003C_003E8__1._003Cwait_003E5__3 != null) ? 866335777 : 866335771); + continue; + IL_07f5: + interactWarp = navInstruction as NavInstruction.InteractWarp; + num2 = (((object)interactWarp != null) ? 866335763 : 866335774); + continue; + IL_04d6: + num2 = ((navInstruction is NavInstruction.Land) ? 866335789 : 866335745); + continue; + IL_06de: + num2 = ((step == null) ? 866335758 : 866335753); + continue; + IL_0760: + NavInstruction.AethernetHop obj = nextTravel as NavInstruction.AethernetHop; + num2 = (((((object)obj != null) ? new EAetheryteLocation?(_206B_202B_200E_200F_206F_202E_202E_206B_202B_206C_202C_206B_202A_202A_206C_202A_206E_202A_206B_200B_202C_200C_202D_200D_206F_206C_200D_206F_202D_202E_200D_200D_200C_200D_200E_206D_200D_202B_202B_206E_202E(obj)) : ((EAetheryteLocation?)null)) == _206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(_003C_003E8__1._003Cteleport_003E5__2)) ? 866335780 : 866335778); + continue; + IL_0296: + flag = _202C_206C_200C_200C_206B_200E_202C_200F_206C_202C_206F_202A_200B_202A_200C_206E_206A_200D_206C_200D_202A_206D_206C_206D_202E_206F_202A_206B_200F_206F_202B_202E_206A_202C_200E_206D_206E_206A_200D_206A_202E(step); + num2 = ((!flag.HasValue) ? 866335780 : 866335761); + continue; + IL_059d: + move = navInstruction as NavInstruction.Move; + num2 = (((object)move != null) ? 866335791 : 866335762); + continue; + IL_0176: + flag2 = _206D_202B_206F_206D_206D_202E_206D_202E_200F_200E_206C_206B_202E_206F_202D_206B_200E_200D_200F_202C_202A_206B_206A_200C_200C_206B_202E_202B_200C_202E_206C_206F_206C_200C_200C_206C_206D_206B_200B_206E_202E(step); + num2 = ((!flag2.HasValue) ? 866335780 : 866335788); + continue; + IL_04b2: + num2 = ((flag2 != true) ? 866335780 : 866335751); + continue; + IL_02e6: + num2 = ((navInstruction is NavInstruction.WaitForNavmesh) ? 866335785 : 866335772); + continue; + IL_0724: + useTeleportTicket = navInstruction as NavInstruction.UseTeleportTicket; + num2 = (((object)useTeleportTicket != null) ? 866335776 : 866335754); + continue; + end_IL_005c: + break; + } + goto case 1; + IL_0847: + _003C_003E1__state = -1; + num2 = 866335780; + goto IL_005c; + IL_081d: + _003C_003E1__state = -1; + num2 = ((step == null) ? 866335780 : 866335770); + goto IL_005c; + IL_02c7: + _003C_003E1__state = -1; + num2 = 866335780; + goto IL_005c; + IL_07e2: + _003C_003E1__state = -1; + num2 = 866335780; + goto IL_005c; + IL_07cf: + _003C_003E1__state = -1; + num2 = 866335780; + goto IL_005c; + IL_06b6: + _003C_003E1__state = -1; + num2 = 866335780; + goto IL_005c; + IL_058a: + _003C_003E1__state = -1; + num2 = 866335780; + goto IL_005c; + IL_0575: + _003C_003E1__state = -1; + num2 = 866335780; + goto IL_005c; + IL_0562: + _003C_003E1__state = -1; + num2 = 866335780; + goto IL_005c; + IL_054f: + _003C_003E1__state = -1; + num2 = 866335780; + goto IL_005c; + IL_049f: + _003C_003E1__state = -1; + num2 = 866335780; + goto IL_005c; + IL_03a5: + _003C_003E1__state = -1; + _003C_003E8__1 = new _003C_003Ec__DisplayClass5_0(); + _003C_003E8__1._003C_003E4__this = _003C_003E4__this; + navInstruction = instruction; + _003C_003E8__1._003Cteleport_003E5__2 = navInstruction as NavInstruction.Teleport; + num2 = (((object)_003C_003E8__1._003Cteleport_003E5__2 != null) ? 866335783 : 866335787); + goto IL_005c; + IL_0392: + _003C_003E1__state = -1; + num2 = 866335780; + goto IL_005c; + end_IL_000f: + break; + } + _003C_003E1__state = -1; + _003C_003E2__current = new AetheryteTeleport.MoveAwayFromAetheryte(_206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(_003C_003E8__1._003Cteleport_003E5__2)); + _003C_003E1__state = 3; + return true; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _200D_206C_200B_202A_206E_206C_202D_202A_206D_200F_200B_206A_200D_200E_202E_206D_202B_206D_206F_202B_202C_202A_206F_200F_200E_206C_202B_206E_202E_200F_202E_206D_200D_206D_200E_206A_202D_206B_206A_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 1996571645 : 1996571644); + _003CMap_003Ed__5 _003CMap_003Ed__ = default(_003CMap_003Ed__5); + while (true) + { + int num2 = num; + int num3 = 1996571646; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _003CMap_003Ed__.instruction = _003C_003E3__instruction; + _003CMap_003Ed__.nextTravel = _003C_003E3__nextTravel; + _003CMap_003Ed__.step = _003C_003E3__step; + return _003CMap_003Ed__; + case 4: + _003C_003E1__state = 0; + _003CMap_003Ed__ = this; + num = 1996571647; + break; + case 2: + num = ((_003C_003El__initialThreadId != _202C_202D_206D_206C_200C_206D_200F_200B_206B_202C_206E_202B_200E_200F_200C_202C_206F_206B_206E_200D_202C_200B_202B_202E_202C_202B_206C_200C_206A_202D_206F_200E_200F_206B_200F_206A_200F_200B_202A_206B_202E()) ? 1996571645 : 1996571642); + break; + case 3: + _003CMap_003Ed__ = new _003CMap_003Ed__5(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = 1996571647; + break; + case 0: + num = 1996571644; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _202C_202D_206D_206C_200C_206D_200F_200B_206B_202C_206E_202B_200E_200F_200C_202C_206F_206B_206E_200D_202C_200B_202B_202E_202C_202B_206C_200C_206A_202D_206F_200E_200F_206B_200F_206A_200F_200B_202A_206B_202E() + { + return Environment.CurrentManagedThreadId; + } + + static EAetheryteLocation _206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(NavInstruction.Teleport P_0) + { + return P_0.Target; + } + + static ushort _206D_206B_200E_200F_200B_202E_206E_206F_200E_206D_206A_202E_200F_202D_206B_202D_206D_202A_202E_202A_206F_206E_200E_200F_200F_202B_200E_202E_202E_200E_206D_200F_202A_206D_206F_206B_200B_202C_200F_202B_202E(NavInstruction.Teleport P_0) + { + return P_0.ExpectedTerritory; + } + + static EAetheryteLocation _206B_202B_200E_200F_206F_202E_202E_206B_202B_206C_202C_206B_202A_202A_206C_202A_206E_202A_206B_200B_202C_200C_202D_200D_206F_206C_200D_206F_202D_202E_200D_200D_200C_200D_200E_206D_200D_202B_202B_206E_202E(NavInstruction.AethernetHop P_0) + { + return P_0.From; + } + + static string _206B_200E_200C_206D_202D_206F_200D_206D_206C_202D_200D_200B_202C_206D_206A_206E_206E_200E_206F_206E_206A_202B_202C_200E_200C_202E_206A_206C_200B_206A_202A_202B_202A_200F_202B_200E_200E_206F_202B_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static EAetheryteLocation _202D_200C_200C_202A_206A_206F_200D_202A_206D_202B_200B_202C_200F_200E_202C_206D_200D_202D_206F_202A_202B_202E_202A_206C_206D_202D_206D_202D_202C_202D_200D_200C_202E_202D_202B_202A_206D_206D_206E_202B_202E(NavInstruction.AethernetHop P_0) + { + return P_0.From; + } + + static EAetheryteLocation _200F_200D_200D_200B_206A_200F_206F_202B_206A_206A_206F_200B_200E_206B_202A_200F_206E_200E_200F_202D_200B_206F_200C_206D_202B_206E_200C_200E_202B_200F_200B_200B_206E_202E_200C_206B_206E_202C_200F_200C_202E(NavInstruction.AethernetHop P_0) + { + return P_0.To; + } + + static bool _200D_206A_202B_202B_202C_206D_206B_202A_206B_206B_202D_206C_206B_200B_202A_206A_202E_200E_202E_200B_202C_206F_206C_206C_202D_206E_206F_206E_206E_200D_206C_200B_206E_202E_202D_206E_202B_200C_202D_200E_202E(NavInstruction.Move P_0) + { + return P_0.IsFinal; + } + + static Vector3? _206D_206D_206F_202D_202B_200C_206A_200F_206F_202B_200B_200C_200D_202E_200D_202B_200E_206A_200E_200F_202D_202E_206E_200C_206D_200F_202B_202A_206D_200C_202C_206B_202A_206B_202E_200B_206B_200B_206F_206C_202E(QuestStep P_0) + { + return P_0.Position; + } + + static Vector3 _206D_206D_206E_202B_206B_202B_200C_202B_202D_200B_200B_200C_200F_200E_202D_200D_200B_206B_200E_200B_202E_200D_202C_202E_200B_202C_200C_202C_200F_200C_202A_200B_206E_206F_206D_200F_206C_202E_202B_202E(NavInstruction.Move P_0) + { + return P_0.Position; + } + + static bool _206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(NavInstruction.Move P_0) + { + return P_0.Fly; + } + + static bool? _206D_202B_206F_206D_206D_202E_206D_202E_200F_200E_206C_206B_202E_206F_202D_206B_200E_200D_200F_202C_202A_206B_206A_200C_200C_206B_202E_202B_200C_202E_206C_206F_206C_200C_200C_206C_206D_206B_200B_206E_202E(QuestStep P_0) + { + return P_0.Fly; + } + + static bool? _202C_206C_200C_200C_206B_200E_202C_200F_206C_202C_206F_202A_200B_202A_200C_206E_206A_200D_206C_200D_202A_206D_206C_206D_202E_206F_202A_206B_200F_206F_202B_202E_206A_202C_200E_206D_206E_206A_200D_206A_202E(QuestStep P_0) + { + return P_0.Land; + } + + static string _206F_202D_200D_202B_202C_206B_206B_200C_200C_206F_202D_200C_206B_202D_206E_202D_202A_206A_206F_206D_200E_202E_200B_202D_206E_206C_200E_202A_206D_206D_202E_202E_200D_200F_200E_200F_200E_202E_200C_206D_202E(NavInstruction.Move P_0) + { + return P_0.TargetNodeId; + } + + static string _206B_200F_202D_206E_200D_206A_206A_206F_200F_200D_202A_202C_206E_206F_202B_206C_206F_206A_206D_200E_202B_206A_202C_206B_206D_206D_202A_206C_200E_206D_200B_200E_206F_206A_206A_206F_200C_200B_206D_200C_202E(NavInstruction.Move P_0) + { + return P_0.ApproachNodeId; + } + + static ushort _202C_202B_202D_202A_202D_200C_206E_200D_202E_200F_206C_202D_202A_202C_200B_202C_206D_200C_200E_206C_206E_200E_202D_206D_206F_202B_206D_206B_200E_206F_202B_206F_206A_202E_202C_200F_202E_206F_202B_202E_202E(NavInstruction.Move P_0) + { + return P_0.Territory; + } + + static bool? _206D_206E_200B_206A_202B_202B_200B_200D_200D_200E_202E_206B_206C_202E_200B_202A_206B_206E_202C_206A_206B_200D_200C_206A_200B_206A_206D_206F_206A_200B_206E_206A_202C_200B_202B_206C_200C_200F_200F_202E_202E(NavInstruction.Move P_0) + { + return P_0.Mount; + } + + static float? _206F_200C_200E_206D_202C_206C_206D_200C_206C_206B_206D_206D_206F_206F_202D_200E_206B_202B_200F_200B_202C_206E_206D_202C_202B_202C_206A_206D_206B_200D_202B_200B_206C_200F_202C_202A_200E_202D_206E_202A_202E(NavInstruction.Move P_0) + { + return P_0.StopDistance; + } + + static uint? _206C_200D_202D_200B_202D_202D_206B_206C_200C_206B_202A_206F_200E_200C_202D_206B_206F_206C_200B_200B_202A_200D_200F_202D_206B_206F_206D_206D_202A_206A_202D_200B_200B_200F_206B_202D_200F_200C_202B_202E(NavInstruction.Move P_0) + { + return P_0.DataId; + } + + static bool _200F_202C_202E_202E_206E_200D_206D_206C_206D_202A_202E_206F_202B_206F_202E_200E_202C_200F_206D_200F_206E_206F_202D_206E_202B_206C_206C_206B_202E_202D_202E_206C_202B_206E_200E_206A_206B_206E_206C_202B_202E(NavInstruction.Move P_0) + { + return P_0.DisableNavmesh; + } + + static bool _200D_200F_206A_206A_202B_200E_200F_200D_202C_202B_202D_206C_200C_200B_200D_202E_202E_206F_200F_202C_202A_206D_200B_200F_200E_206E_206D_206E_202B_202C_206C_200D_206B_206A_202A_202E_202E_206D_206B_202B_202E(NavInstruction.Move P_0) + { + return P_0.LandAtTarget; + } + + static bool _200D_206B_200F_206E_202A_200C_206F_206A_206E_200B_206E_200E_202A_200D_200B_202B_202C_206C_202A_206C_200E_202C_202E_206E_200D_202E_206C_200F_200E_200C_206C_206F_202D_202B_206E_202E_200B_202E_206E_202B_202E(NavInstruction.Move P_0) + { + return P_0.AllowZoneTransition; + } + + static string _206D_202A_206A_206C_202E_202D_206F_200B_200E_202B_206B_202C_200C_206B_200B_202D_206B_206A_206D_206A_200D_206A_202E_202C_202A_206B_202D_206E_200D_200E_206C_202B_206A_200F_206E_206A_206B_206D_206D_200C_202E(NavInstruction.WaitForTerritory P_0) + { + return P_0.Description; + } + + static uint _206A_200E_206B_206D_206C_200C_202A_206A_202B_206D_202E_206E_206E_200B_200B_206A_200C_200F_200F_206E_200D_200E_202E_200C_200E_206C_202B_200E_200F_202B_200E_206D_206D_206C_206C_202D_200E_206D_202D_202B_202E(NavInstruction.InteractWarp P_0) + { + return P_0.NpcDataId; + } + + static uint _206A_202E_206D_202B_202E_202B_206D_200B_206D_202D_200F_206A_200E_206B_206E_206C_202D_202D_200E_200F_206A_200C_200B_200D_200E_200F_202C_202E_202D_206E_206D_200F_202A_200E_206B_202C_202D_206A_206F_206A_202E(NavInstruction.InteractWarp P_0) + { + return P_0.WarpRowId; + } + + static ushort _202E_200E_200D_200B_202C_200E_206D_202D_202A_200D_200D_202C_202B_206E_206E_206F_206C_206A_206D_202C_202B_202C_200D_206E_206A_200D_202C_206F_200F_206D_202A_200D_202B_200E_206C_206E_200E_206E_200B_200F_202E(NavInstruction.InteractWarp P_0) + { + return P_0.FromTerritory; + } + + static ushort _200F_200F_202C_202D_206D_202B_200F_200E_200B_202E_206A_202E_206C_202C_206F_202D_200F_202E_200D_206F_200D_200C_206C_202D_200E_206C_206A_206A_206F_206F_206F_200B_200C_206C_202A_200E_202C_206D_200F_206F_202E(NavInstruction.InteractWarp P_0) + { + return P_0.ToTerritory; + } + + static uint _202C_200C_206C_202B_200F_200E_200F_202B_200D_200E_200D_206B_206B_200B_200E_206C_202C_206F_200B_202A_206F_200E_202C_200E_200E_206D_200D_202E_200E_206F_206F_206E_202D_202A_206F_206C_206C_200C_202E_206C_202E(NavInstruction.UseTeleportTicket P_0) + { + return P_0.ItemId; + } + + static ushort _200E_206F_206B_200E_200E_206C_206A_206C_206B_206E_200E_200B_206A_200B_200F_202B_202D_206E_200C_206D_206E_206C_200B_206B_206A_206D_206F_206D_200C_200D_202D_206E_202D_202E_206D_202C_200B_202A_206D_200E_202E(NavInstruction.UseTeleportTicket P_0) + { + return P_0.Territory; + } + + static Vector3 _200B_200F_202E_206F_202C_206B_206F_206F_206D_200C_202C_206C_202D_200E_206D_206F_200F_206F_206A_200C_200F_206B_202B_206A_200B_200E_200B_202B_202B_206E_200D_200C_202D_206E_200D_200D_202D_206E_200F_200E_202E(NavInstruction.SubRegionTransport P_0) + { + return P_0.From; + } + + static Vector3 _202B_202D_202B_206A_200B_202B_200D_200F_206B_202B_202C_202B_200C_200D_202A_200E_200B_200B_206F_206B_202C_202E_202C_206B_206C_206B_202B_200D_206B_202B_206C_200C_206D_202D_202B_206F_206C_200F_202B_200F_202E(NavInstruction.SubRegionTransport P_0) + { + return P_0.To; + } + + static ushort _202C_202B_206C_206F_206D_200E_200C_200E_202D_206A_200B_206A_202A_202C_202A_200B_206A_202B_202A_202B_202D_200E_200D_200B_206F_206E_206D_206E_202B_202A_202C_200F_202E_202A_200F_206E_206A_206A_206C_200C_202E(NavInstruction.SubRegionTransport P_0) + { + return P_0.Territory; + } + + static InvalidOperationException _202A_200D_206A_200C_206F_202A_202E_200D_206C_202A_200C_206E_202C_206D_202E_206D_200E_200C_206F_202C_206A_202C_206B_200E_206C_206A_202A_206A_200B_206F_206D_200F_200C_200B_200F_200F_206B_200C_206D_206F_202E(string P_0) + { + return new InvalidOperationException(P_0); + } + + static NotSupportedException _200D_206C_200B_202A_206E_206C_202D_202A_206D_200F_200B_206A_200D_200E_202E_206D_202B_206D_206F_202B_202C_202A_206F_200F_200E_206C_202B_206E_202E_200F_202E_206D_200D_206D_200E_206A_202D_206B_206A_202E() + { + return new NotSupportedException(); + } + } + + [CompilerGenerated] + private sealed class _003CMapInstructions_003Ed__3 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ITask _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public SmartNavTaskMapper _003C_003E4__this; + + private IReadOnlyList instructions; + + public IReadOnlyList _003C_003E3__instructions; + + private QuestStep step; + + public QuestStep _003C_003E3__step; + + private int _003Ci_003E5__2; + + private IEnumerator _003C_003E7__wrap2; + + ITask IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CMapInstructions_003Ed__3(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _200B_202D_202E_202B_206C_202D_200C_200E_202A_206A_206A_200D_200E_202D_200D_202D_200B_206E_200D_206B_202C_206D_206B_206A_206A_202C_200C_206E_200E_202E_206B_206C_200D_206A_200F_206E_200E_206A_206B_206E_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? (-740261980) : (-740261977)); + while (true) + { + int num3 = num2; + int num4 = -740261978; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 0: + num2 = -740261977; + continue; + case 1: + if (num == 1) + { + num2 = -740261980; + continue; + } + break; + case 2: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap2 = null; + _003C_003E1__state = -2; + } + + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + SmartNavTaskMapper smartNavTaskMapper = _003C_003E4__this; + int num2 = ((num == 0) ? (-1350511493) : (-1350511497)); + while (true) + { + int num3 = num2; + int num4 = -1350511502; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 10: + _003C_003E1__state = -3; + num2 = -1350511501; + break; + case 5: + num2 = ((num == 1) ? (-1350511496) : (-1350511499)); + break; + case 3: + _003C_003E7__wrap2 = smartNavTaskMapper.Map(instructions[_003Ci_003E5__2], NextTravelInstruction(instructions, _003Ci_003E5__2), step).GetEnumerator(); + _003C_003E1__state = -3; + num2 = -1350511501; + break; + case 7: + return false; + case 4: + { + ITask current = _003C_003E7__wrap2.Current; + _003C_003E2__current = current; + _003C_003E1__state = 1; + return true; + } + case 9: + _003C_003E1__state = -1; + _003Ci_003E5__2 = 0; + num2 = -1350511500; + break; + case 8: + { + _003C_003Em__Finally1(); + _003C_003E7__wrap2 = null; + int num8 = _003Ci_003E5__2; + num4 = 1; + num5 = num8; + _003Ci_003E5__2 = (num5 | num4) + (num5 & num4); + num2 = -1350511500; + break; + } + case 6: + num2 = ((_003Ci_003E5__2 < instructions.Count) ? (-1350511503) : (-1350511504)); + break; + case 1: + num2 = (_200E_206A_206C_206D_202D_202E_200C_206C_200C_200F_200C_202E_200C_202A_206A_202D_202C_202B_206E_200F_202C_200E_200B_202A_200B_206E_206F_200F_202B_200D_206A_202B_200F_200D_206F_200F_200D_206B_202D_206D_202E((IEnumerator)_003C_003E7__wrap2) ? (-1350511498) : (-1350511494)); + break; + case 0: + num2 = -1350511497; + break; + case 2: + return false; + } + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap2 == null) ? 466494635 : 466494632); + while (true) + { + int num2 = num; + int num3 = 466494634; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return; + case 2: + _206F_200D_206F_200D_202A_206A_202A_202B_206A_206F_206D_206F_200B_202D_202A_200B_200C_202D_206D_200D_200E_206E_206E_206E_206D_200E_200E_200F_206F_206A_202C_200C_200D_206C_200D_200D_206A_202C_202B_206D_202E((IDisposable)_003C_003E7__wrap2); + num = 466494635; + break; + case 0: + num = 466494632; + break; + } + } + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _202E_206C_200C_202A_206C_206F_202C_200F_200D_206D_206E_202D_206C_202A_206F_206E_200F_206A_200C_202D_200D_206B_202C_202C_206F_206D_202B_200F_200B_200C_202C_200C_202A_202E_200F_202E_206D_206B_202C_206B_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-145160428) : (-145160427)); + _003CMapInstructions_003Ed__3 _003CMapInstructions_003Ed__ = default(_003CMapInstructions_003Ed__3); + while (true) + { + int num2 = num; + int num3 = -145160428; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _003CMapInstructions_003Ed__ = new _003CMapInstructions_003Ed__3(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = -145160432; + break; + case 1: + num = ((_003C_003El__initialThreadId != _200B_202D_202E_202B_206C_202D_200C_200E_202A_206A_206A_200D_200E_202D_200D_202D_200B_206E_200D_206B_202C_206D_206B_206A_206A_202C_200C_206E_200E_202E_206B_206C_200D_206A_200F_206E_200E_206A_206B_206E_202E()) ? (-145160428) : (-145160425)); + break; + case 3: + _003C_003E1__state = 0; + _003CMapInstructions_003Ed__ = this; + num = -145160432; + break; + case 2: + num = -145160427; + break; + case 4: + _003CMapInstructions_003Ed__.instructions = _003C_003E3__instructions; + _003CMapInstructions_003Ed__.step = _003C_003E3__step; + return _003CMapInstructions_003Ed__; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _200B_202D_202E_202B_206C_202D_200C_200E_202A_206A_206A_200D_200E_202D_200D_202D_200B_206E_200D_206B_202C_206D_206B_206A_206A_202C_200C_206E_200E_202E_206B_206C_200D_206A_200F_206E_200E_206A_206B_206E_202E() + { + return Environment.CurrentManagedThreadId; + } + + static bool _200E_206A_206C_206D_202D_202E_200C_206C_200C_200F_200C_202E_200C_202A_206A_202D_202C_202B_206E_200F_202C_200E_200B_202A_200B_206E_206F_200F_202B_200D_206A_202B_200F_200D_206F_200F_200D_206B_202D_206D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206F_200D_206F_200D_202A_206A_202A_202B_206A_206F_206D_206F_200B_202D_202A_200B_200C_202D_206D_200D_200E_206E_206E_206E_206D_200E_200E_200F_206F_206A_202C_200C_200D_206C_200D_200D_206A_202C_202B_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _202E_206C_200C_202A_206C_206F_202C_200F_200D_206D_206E_202D_206C_202A_206F_206E_200F_206A_200C_202D_200D_206B_202C_202C_206F_206D_202B_200F_200B_200C_202C_200C_202A_202E_200F_202E_206D_206B_202C_206B_202E() + { + return new NotSupportedException(); + } + } + + [IteratorStateMachine(typeof(_003CMapInstructions_003Ed__3))] + public IEnumerable MapInstructions(IReadOnlyList instructions, QuestStep? step = null) + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CMapInstructions_003Ed__3(-2) + { + _003C_003E4__this = this, + _003C_003E3__instructions = instructions, + _003C_003E3__step = step + }; + } + + private static NavInstruction? NextTravelInstruction(IReadOnlyList instructions, int i) + { + int num = 1; + int num2 = i; + int num3 = (num2 | num) + (num2 & num); + int num4 = -874356063; + bool flag = default(bool); + NavInstruction navInstruction = default(NavInstruction); + while (true) + { + int num5 = num4; + num = -874356060; + num2 = num5; + switch ((num2 | num) - (num2 & num)) + { + case 7: + flag = true; + num4 = -874356058; + break; + case 4: + num4 = ((navInstruction is NavInstruction.Unmount) ? (-874356061) : (-874356059)); + break; + case 6: + return null; + case 10: + navInstruction = instructions[num3]; + num4 = ((navInstruction is NavInstruction.Land) ? (-874356061) : (-874356064)); + break; + case 3: + { + int num6 = num3; + num = 1; + num2 = num6; + num3 = (num2 | num) + (num2 & num); + num4 = -874356063; + break; + } + case 11: + num4 = ((!(navInstruction is NavInstruction.WaitForNavmesh)) ? (-874356051) : (-874356061)); + break; + case 2: + num4 = (flag ? (-874356057) : (-874356052)); + break; + case 9: + flag = false; + num4 = -874356058; + break; + case 0: + num4 = -874356063; + break; + case 8: + return instructions[num3]; + case 1: + num4 = ((navInstruction is NavInstruction.WaitForTerritory) ? (-874356061) : (-874356049)); + break; + case 5: + num4 = ((num3 < instructions.Count) ? (-874356050) : (-874356062)); + break; + } + } + } + + private IEnumerable Map(NavInstruction instruction, NavInstruction? nextTravel, QuestStep? step) + { + bool? flag = default(bool?); + NavInstruction.AethernetHop aethernetHop = default(NavInstruction.AethernetHop); + NavInstruction.SubRegionTransport subRegionTransport = default(NavInstruction.SubRegionTransport); + bool? sprint = default(bool?); + NavInstruction.Move move = default(NavInstruction.Move); + NavInstruction.InteractWarp interactWarp = default(NavInstruction.InteractWarp); + NavInstruction.UseTeleportTicket useTeleportTicket = default(NavInstruction.UseTeleportTicket); + while (true) + { + NavInstruction.Teleport teleport = instruction as NavInstruction.Teleport; + int num = (((object)teleport != null) ? 866335783 : 866335787); + NavInstruction.WaitForTerritory waitForTerritory = default(NavInstruction.WaitForTerritory); + while (true) + { + int num2 = num; + int num3 = 866335753; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 40: + yield return new WaitCondition.Task(() => _003C_003Ec__DisplayClass5_0._206A_200B_206C_206E_200B_202D_206C_202C_202E_206B_206F_200D_206D_200F_202A_200D_202C_206E_200F_202B_206C_202E_202E_206B_202A_206D_206B_200C_202C_206D_206C_206D_200E_206A_206D_200B_206D_202B_202D_200F_202E(waitForTerritory).Contains(_003C_003Ec__DisplayClass5_0._202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(clientState)), _003CMap_003Ed__5._206D_202A_206A_206C_202E_202D_206F_200B_200E_202B_206B_202C_200C_206B_200B_202D_206B_206A_206D_206A_200D_206A_202E_202C_202A_206B_202D_206E_200D_200E_206C_202B_206A_200F_206E_206A_206B_206D_206D_200C_202E(waitForTerritory)); + goto case 39; + case 19: + flag = _003CMap_003Ed__5._206D_202B_206F_206D_206D_202E_206D_202E_200F_200E_206C_206B_202E_206F_202D_206B_200E_200D_200F_202C_202A_206B_206A_200C_200C_206B_202E_202B_200C_202E_206C_206F_206C_200C_200C_206C_206D_206B_200B_206E_202E(step); + num = ((!flag.HasValue) ? 866335780 : 866335788); + continue; + case 33: + yield return new AethernetRide.Task(_003CMap_003Ed__5._202D_200C_200C_202A_206A_206F_200D_202A_206D_202B_200B_202C_200F_200E_202C_206D_200D_202D_206F_202A_202B_202E_202A_206C_206D_202D_206D_202D_202C_202D_200D_200C_202E_202D_202B_202A_206D_206D_206E_202B_202E(aethernetHop), _003CMap_003Ed__5._200F_200D_200D_200B_206A_200F_206F_202B_206A_206A_206F_200B_200E_206B_202A_200F_206E_200E_200F_202D_200B_206F_200C_206D_202B_206E_200C_200E_202B_200F_200B_200B_206E_202E_200C_206B_206E_202C_200F_200C_202E(aethernetHop)); + goto case 4; + case 43: + yield return new WaitCondition.Task(() => _003C_003Ec__DisplayClass5_0._202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(clientState) == _003C_003Ec__DisplayClass5_0._206A_202E_202D_200F_206A_200E_206A_200F_202A_206A_206F_206A_200C_206D_206E_202D_200B_206A_206D_206B_202C_206D_202D_200B_202A_206E_206F_200C_206C_200F_206B_206C_206A_202C_200B_206A_200B_202D_206B_202A_202E(teleport), _003CMap_003Ed__5._206B_200E_200C_206D_202D_206F_200D_206D_206C_202D_200D_200B_202C_206D_206A_206E_206E_200E_206F_206E_206A_202B_202C_200E_200C_202E_206A_206C_200B_206A_202A_202B_202A_200F_202B_200E_200E_206F_202B_202E(global::_003CModule_003E._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(-344536108), territoryData.GetNameAndId(_003CMap_003Ed__5._206D_206B_200E_200F_200B_202E_206E_206F_200E_206D_206A_202E_200F_202D_206B_202D_206D_202A_202E_202A_206F_206E_200E_200F_200F_202B_200E_202E_202E_200E_206D_200F_202A_206D_206F_206B_200B_202C_200F_202B_202E(teleport)), global::_003CModule_003E._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(555647321))); + goto case 10; + case 25: + num = ((!AetheryteTeleport.MoveAwayFromAetheryteExecutor.AppliesTo(_003CMap_003Ed__5._206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(teleport))) ? 866335780 : 866335766); + continue; + case 3: + subRegionTransport = instruction as NavInstruction.SubRegionTransport; + num = (((object)subRegionTransport != null) ? 866335801 : 866335773); + continue; + case 32: + yield return new WaitNavmesh.Task(); + goto case 5; + case 14: + sprint = _003CMap_003Ed__5._202C_206C_200C_200C_206B_200E_202C_200F_206C_202C_206F_202A_200B_202A_200C_206E_206A_200D_206C_200D_202A_206D_206C_206D_202E_206F_202A_206B_200F_206F_202B_202E_206A_202C_200E_206D_206E_206A_200D_206A_202E(step); + num = ((!sprint.HasValue) ? 866335780 : 866335761); + continue; + case 30: + num = 866335780; + continue; + case 44: + num = 866335748; + continue; + case 18: + num = ((instruction is NavInstruction.WaitForNavmesh) ? 866335785 : 866335772); + continue; + case 7: + { + NavInstruction.Move move2 = move; + ushort territoryId = _003CMap_003Ed__5._202C_202B_202D_202A_202D_200C_206E_200D_202E_200F_206C_202D_202A_202C_200B_202C_206D_200C_200E_206C_206E_200E_202D_206D_206F_202B_206D_206B_200E_206F_202B_206F_206A_202E_202C_200F_202E_206F_202B_202E_202E(move2); + Vector3 destination2 = _003CMap_003Ed__5._206D_206D_206E_202B_206B_202B_200C_202B_202D_200B_200B_200C_200F_200E_202D_200D_200B_206B_200E_200B_202E_200D_202C_202E_200B_202C_200C_202C_200F_200C_202A_200B_206E_206F_206D_200F_206C_202E_202B_202E(move2); + bool? mount = _003CMap_003Ed__5._206D_206E_200B_206A_202B_202B_200B_200D_200D_200E_202E_206B_206C_202E_200B_202A_206B_206E_202C_206A_206B_200D_200C_206A_200B_206A_206D_206F_206A_200B_206E_206A_202C_200B_202B_206C_200C_200F_200F_202E_202E(move2); + float? stopDistance = _003CMap_003Ed__5._206F_200C_200E_206D_202C_206C_206D_200C_206C_206B_206D_206D_206F_206F_202D_200E_206B_202B_200F_200B_202C_206E_206D_202C_202B_202C_206A_206D_206B_200D_202B_200B_206C_200F_202C_202A_200E_202D_206E_202A_202E(move2); + uint? dataId = _003CMap_003Ed__5._206C_200D_202D_200B_202D_202D_206B_206C_200C_206B_202A_206F_200E_200C_202D_206B_206F_206C_200B_200B_202A_200D_200F_202D_206B_206F_206D_206D_202A_206A_202D_200B_200B_200F_206B_202D_200F_200C_202B_202E(move2); + bool disableNavmesh = _003CMap_003Ed__5._200F_202C_202E_202E_206E_200D_206D_206C_206D_202A_202E_206F_202B_206F_202E_200E_202C_200F_206D_200F_206E_206F_202D_206E_202B_206C_206C_206B_202E_202D_202E_206C_202B_206E_200E_206A_206B_206E_206C_202B_202E(move2); + bool fly = _003CMap_003Ed__5._206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(move2); + bool land = _003CMap_003Ed__5._200D_200F_206A_206A_202B_200E_200F_200D_202C_202B_202D_206C_200C_200B_200D_202E_202E_206F_200F_202C_202A_206D_200B_200F_200E_206E_206D_206E_202B_202C_206C_200D_206B_206A_202A_202E_202E_206D_206B_202B_202E(move2); + bool allowZoneTransition = _003CMap_003Ed__5._200D_206B_200F_206E_202A_200C_206F_206A_206E_200B_206E_200E_202A_200D_200B_202B_202C_206C_202A_206C_200E_202C_202E_206E_200D_202E_206C_200F_200E_200C_206C_206F_202D_202B_206E_202E_200B_202E_206E_202B_202E(move2); + string routeTargetNodeId = _003CMap_003Ed__5._206F_202D_200D_202B_202C_206B_206B_200C_200C_206F_202D_200C_206B_202D_206E_202D_202A_206A_206F_206D_200E_202E_200B_202D_206E_206C_200E_202A_206D_206D_202E_202E_200D_200F_200E_200F_200E_202E_200C_206D_202E(move2); + string routeApproachNodeId = _003CMap_003Ed__5._206B_200F_202D_206E_200D_206A_206A_206F_200F_200D_202A_202C_206E_206F_202B_206C_206F_206A_206D_200E_202B_206A_202C_206B_206D_206D_202A_206C_200E_206D_200B_200E_206F_206A_206A_206F_200C_200B_206D_200C_202E(move2); + sprint = null; + yield return new MoveTask(territoryId, destination2, mount, MountRequired: false, DismountRequired: false, stopDistance, dataId, disableNavmesh, sprint, fly, land, IgnoreDistanceToObject: false, RestartNavigation: true, EInteractionType.None, SmartNavRouted: true, allowZoneTransition, routeTargetNodeId, routeApproachNodeId); + goto case 9; + } + case 4: + num = 866335780; + continue; + case 2: + break; + case 26: + yield return new WarpInteract.Task(_003CMap_003Ed__5._206A_200E_206B_206D_206C_200C_202A_206A_202B_206D_202E_206E_206E_200B_200B_206A_200C_200F_200F_206E_200D_200E_202E_200C_200E_206C_202B_200E_200F_202B_200E_206D_206D_206C_206C_202D_200E_206D_202D_202B_202E(interactWarp), _003CMap_003Ed__5._206A_202E_206D_202B_202E_202B_206D_200B_206D_202D_200F_206A_200E_206B_206E_206C_202D_202D_200E_200F_206A_200C_200B_200D_200E_200F_202C_202E_202D_206E_206D_200F_202A_200E_206B_202C_202D_206A_206F_206A_202E(interactWarp), _003CMap_003Ed__5._202E_200E_200D_200B_202C_200E_206D_202D_202A_200D_200D_202C_202B_206E_206E_206F_206C_206A_206D_202C_202B_202C_200D_206E_206A_200D_202C_206F_200F_206D_202A_200D_202B_200E_206C_206E_200E_206E_200B_200F_202E(interactWarp), _003CMap_003Ed__5._200F_200F_202C_202D_206D_202B_200F_200E_200B_202E_206A_202E_206C_202C_206F_202D_200F_202E_200D_206F_200D_200C_206C_202D_200E_206C_206A_206A_206F_206F_206F_200B_200C_206C_202A_200E_202C_206D_200F_206F_202E(interactWarp)); + goto case 15; + case 48: + yield return new SubRegionTransport.Task(_003CMap_003Ed__5._200B_200F_202E_206F_202C_206B_206F_206F_206D_200C_202C_206C_202D_200E_206D_206F_200F_206F_206A_200C_200F_206B_202B_206A_200B_200E_200B_202B_202B_206E_200D_200C_202D_206E_200D_200D_202D_206E_200F_200E_202E(subRegionTransport), _003CMap_003Ed__5._202B_202D_202B_206A_200B_202B_200D_200F_206B_202B_202C_202B_200C_200D_202A_200E_200B_200B_206F_206B_202C_202E_202C_206B_206C_206B_202B_200D_206B_202B_206C_200C_206D_202D_202B_206F_206C_200F_202B_200F_202E(subRegionTransport), _003CMap_003Ed__5._202C_202B_206C_206F_206D_200E_200C_200E_202D_206A_200B_206A_202A_202C_202A_200B_206A_202B_202A_202B_202D_200E_200D_200B_206F_206E_206D_206E_202B_202A_202C_200F_202E_202A_200F_206E_206A_206A_206C_200C_202E(subRegionTransport)); + goto case 12; + case 17: + waitForTerritory = instruction as NavInstruction.WaitForTerritory; + num = (((object)waitForTerritory != null) ? 866335777 : 866335771); + continue; + case 29: + num = 866335780; + continue; + case 37: + num = ((flag != true) ? 866335780 : 866335751); + continue; + case 27: + num = ((instruction is NavInstruction.Land) ? 866335789 : 866335745); + continue; + case 41: + yield return new TicketTeleport.Task(_003CMap_003Ed__5._202C_200C_206C_202B_200F_200E_200F_202B_200D_200E_200D_206B_206B_200B_200E_206C_202C_206F_200B_202A_206F_200E_202C_200E_200E_206D_200D_202E_200E_206F_206F_206E_202D_202A_206F_206C_206C_200C_202E_206C_202E(useTeleportTicket), _003CMap_003Ed__5._200E_206F_206B_200E_200E_206C_206A_206C_206B_206E_200E_200B_206A_200B_200F_202B_202D_206E_200C_206D_206E_206C_200B_206B_206A_206D_206F_206D_200C_200D_202D_206E_202D_202E_206D_202C_200B_202A_206D_200E_202E(useTeleportTicket)); + goto case 29; + case 24: + num = ((sprint != true) ? 866335780 : 866335769); + continue; + case 20: + num = 866335786; + continue; + case 13: + yield break; + case 11: + num = 866335780; + continue; + case 5: + num = 866335780; + continue; + case 15: + num = 866335780; + continue; + case 45: + yield break; + case 12: + num = 866335780; + continue; + case 1: + move = instruction as NavInstruction.Move; + num = (((object)move != null) ? 866335791 : 866335762); + continue; + case 0: + { + Vector3 destination = _003CMap_003Ed__5._206D_206D_206F_202D_202B_200C_206A_200F_206F_202B_200B_200C_200D_202E_200D_202B_200E_206A_200E_200F_202D_202E_206E_200C_206D_200F_202B_202A_206D_200C_202C_206B_202A_206B_202E_200B_206B_200B_206F_206C_202E(step) ?? _003CMap_003Ed__5._206D_206D_206E_202B_206B_202B_200C_202B_202D_200B_200B_200C_200F_200E_202D_200D_200B_206B_200E_200B_202E_200D_202C_202E_200B_202C_200C_202C_200F_200C_202A_200B_206E_206F_206D_200F_206C_202E_202B_202E(move); + yield return new MoveTask(step, destination)with + { + Fly = (_003CMap_003Ed__5._206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(move) || _003CMap_003Ed__5._206D_202B_206F_206D_206D_202E_206D_202E_200F_200E_206C_206B_202E_206F_202D_206B_200E_200D_200F_202C_202A_206B_206A_200C_200C_206B_202E_202B_200C_202E_206C_206F_206C_200C_200C_206C_206D_206B_200B_206E_202E(step) == true), + Land = (_003CMap_003Ed__5._206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(move) || _003CMap_003Ed__5._202C_206C_200C_200C_206B_200E_202C_200F_206C_202C_206F_202A_200B_202A_200C_206E_206A_200D_206C_200D_202A_206D_206C_206D_202E_206F_202A_206B_200F_206F_202B_202E_206A_202C_200E_206D_206E_206A_200D_206A_202E(step) == true), + SmartNavRouted = true, + RouteTargetNodeId = _003CMap_003Ed__5._206F_202D_200D_202B_202C_206B_206B_200C_200C_206F_202D_200C_206B_202D_206E_202D_202A_206A_206F_206D_200E_202E_200B_202D_206E_206C_200E_202A_206D_206D_202E_202E_200D_200F_200E_200F_200E_202E_200C_206D_202E(move), + RouteApproachNodeId = _003CMap_003Ed__5._206B_200F_202D_206E_200D_206A_206A_206F_200F_200D_202A_202C_206E_206F_202B_206C_206F_206A_206D_200E_202B_206A_202C_206B_206D_206D_202A_206C_200E_206D_200B_200E_206F_206A_206A_206F_200C_200B_206D_200C_202E(move) + }; + goto case 28; + } + case 46: + yield return new AetheryteTeleport.Task(_003CMap_003Ed__5._206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(teleport), _003CMap_003Ed__5._206D_206B_200E_200F_200B_202E_206E_206F_200E_206D_206A_202E_200F_202D_206B_202D_206D_202A_202E_202A_206F_206E_200E_200F_200F_202B_200E_202E_202E_200E_206D_200F_202A_206D_206F_206B_200B_202C_200F_202B_202E(teleport)); + goto case 25; + case 39: + num = 866335780; + continue; + case 22: + yield return new Mount.UnmountTask(); + goto case 30; + case 6: + num = ((step == null) ? 866335758 : 866335753); + continue; + case 38: + num = ((!_003CMap_003Ed__5._200D_206A_202B_202B_202C_206D_206B_202A_206B_206B_202D_206C_206B_200B_202A_206A_202E_200E_202E_200B_202C_206F_206C_206C_202D_206E_206F_206E_206E_200D_206C_200B_206E_202E_202D_206E_202B_200C_202D_200E_202E(move)) ? 866335758 : 866335759); + continue; + case 23: + useTeleportTicket = instruction as NavInstruction.UseTeleportTicket; + num = (((object)useTeleportTicket != null) ? 866335776 : 866335754); + continue; + case 16: + yield return new LandTask(); + goto case 47; + case 31: + { + NavInstruction.AethernetHop obj = nextTravel as NavInstruction.AethernetHop; + num = (((((object)obj != null) ? new EAetheryteLocation?(_003CMap_003Ed__5._206B_202B_200E_200F_206F_202E_202E_206B_202B_206C_202C_206B_202A_202A_206C_202A_206E_202A_206B_200B_202C_200C_202D_200D_206F_206C_200D_206F_202D_202E_200D_200D_200C_200D_200E_206D_200D_202B_202B_206E_202E(obj)) : ((EAetheryteLocation?)null)) == _003CMap_003Ed__5._206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(teleport)) ? 866335780 : 866335778); + continue; + } + case 42: + num = 866335780; + continue; + case 9: + num = 866335780; + continue; + case 21: + interactWarp = instruction as NavInstruction.InteractWarp; + num = (((object)interactWarp != null) ? 866335763 : 866335774); + continue; + case 28: + num = ((step == null) ? 866335780 : 866335770); + continue; + case 47: + num = 866335780; + continue; + case 35: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(25, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-82937501)); + defaultInterpolatedStringHandler.AppendFormatted(instruction); + throw _003CMap_003Ed__5._202A_200D_206A_200C_206F_202A_202E_200D_206C_202A_200C_206E_202C_206D_202E_206D_200E_200C_206F_202C_206A_202C_206B_200E_206C_206A_202A_206A_200B_206F_206D_200F_200C_200B_200F_200F_206B_200C_206D_206F_202E(defaultInterpolatedStringHandler.ToStringAndClear()); + } + case 36: + yield return new LandTask(); + goto case 11; + case 8: + num = ((instruction is NavInstruction.Unmount) ? 866335775 : 866335768); + continue; + case 34: + aethernetHop = instruction as NavInstruction.AethernetHop; + num = (((object)aethernetHop != null) ? 866335784 : 866335752); + continue; + case 10: + yield return new AetheryteTeleport.MoveAwayFromAetheryte(_003CMap_003Ed__5._206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(teleport)); + goto case 42; + } + break; + } + } + } +} diff --git a/Questionable/Questionable.Navigation/WarpRecordingService.cs b/Questionable/Questionable.Navigation/WarpRecordingService.cs new file mode 100644 index 00000000..b5051196 --- /dev/null +++ b/Questionable/Questionable.Navigation/WarpRecordingService.cs @@ -0,0 +1,1555 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading; +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) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202A_200B_206F_202E_206F_200B_206D_202B_200E_206C_206B_206C_202C_200E_202C_206A_206F_206D_206F_202B_206C_202A_202B_200D_206C_206E_202C_206D_206A_200B_206B_202D_206C_206E_202E_206E_206C_200F_200C_200F_202E(typeof(WarpCapture).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200F_200E_206A_202A_202B_200B_202B_202C_206A_200B_206A_202D_202E_202A_206E_206E_200B_200C_206C_206C_202C_200C_206E_200B_202E_206D_206D_200E_206B_202E_202B_206B_202A_206F_202E_202E_200F_206C_202B_206E_202E(); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(stringBuilder, global::_003CModule_003E._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(-187813837)); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-1132580023) : (-1132580024)); + while (true) + { + int num2 = num; + int num3 = -1132580023; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1132580024; + break; + case 1: + _202B_200C_202D_202B_200E_202B_206C_202D_200F_202B_202E_202C_202C_206F_200E_202B_206E_200F_202D_202A_206F_202C_202B_200B_206E_202E_202A_200D_206A_202D_200F_202E_202B_200D_206D_200E_202D_206C_206C_202E(stringBuilder, ' '); + num = -1132580023; + break; + case 0: + _202B_200C_202D_202B_200E_202B_206C_202D_200F_202B_202E_202C_202C_206F_200E_202B_206E_200F_202D_202A_206F_202C_202B_200B_206E_202E_202A_200D_206A_202D_200F_202E_202B_200D_206D_200E_202D_206C_206C_202E(stringBuilder, '}'); + return _200C_206F_206E_200B_206F_200C_200E_202C_202B_202E_202C_202A_202B_202D_202D_206C_206A_206A_200F_202D_200C_206C_206C_202E_206F_206B_202A_206C_206C_206D_206C_206E_200D_202A_202E_206A_200F_206C_206A_206A_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206B_206B_200F_200B_202E_206B_206C_206E_206F_202E_202C_206F_202E_200C_206A_202C_200E_206C_206B_202E_202D_200B_200F_200C_200C_200C_206C_202A_200D_206C_202C_202C_206D_206F_200E_202A_202B_202A_206B_206B_202E(); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, global::_003CModule_003E._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(-2126812342)); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, WarpRowId.ToString()); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, global::_003CModule_003E._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(951562334)); + _202C_202E_206A_206B_206B_202C_202D_202E_206E_202D_202E_206E_200B_206C_200F_206D_200C_202E_202A_200C_200E_202C_206F_200B_206B_206C_200F_202E_200C_200B_202B_202A_200E_202D_202E_200C_200C_200D_206B_206B_202E(builder, (object)WarpName); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, global::_003CModule_003E._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(-928748373)); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, NpcDataId.ToString()); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, global::_003CModule_003E._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(1282955220)); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, SourceTerritoryId.ToString()); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, global::_003CModule_003E._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(-1305179201)); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, SourcePosition.ToString()); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, global::_003CModule_003E._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(-1003946006)); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, DestTerritoryId.ToString()); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, global::_003CModule_003E._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(-1661409789)); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, DestPosition.ToString()); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, global::_003CModule_003E._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(728831284)); + _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(builder, SeenDuringMsqId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(WarpCapture? other) + { + int num = (((object)this == other) ? (-1119467529) : (-1119467523)); + while (true) + { + int num2 = num; + int num3 = -1119467531; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = ((!EqualityComparer.Default.Equals(DestTerritoryId, other.DestTerritoryId)) ? (-1119467530) : (-1119467524)); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(NpcDataId, other.NpcDataId)) ? (-1119467530) : (-1119467522)); + break; + case 8: + num = (((object)other == null) ? (-1119467530) : (-1119467535)); + break; + case 7: + num = -1119467523; + break; + case 3: + return false; + case 10: + return EqualityComparer.Default.Equals(SeenDuringMsqId, other.SeenDuringMsqId); + case 2: + return true; + case 12: + num = ((!EqualityComparer.Default.Equals(WarpRowId, other.WarpRowId)) ? (-1119467530) : (-1119467533)); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(SourcePosition, other.SourcePosition)) ? (-1119467530) : (-1119467532)); + break; + case 4: + num = ((!_202B_206F_200F_202A_200C_206D_202C_206D_200D_202D_200E_206A_200F_202B_200C_200E_206F_202C_206B_200E_200E_202A_206C_206D_202B_200E_206E_200F_200C_202B_200C_206C_206E_206F_200D_200D_206E_200E_206E_206F_202E(EqualityContract, other.EqualityContract)) ? (-1119467530) : (-1119467527)); + break; + case 11: + num = ((!EqualityComparer.Default.Equals(SourceTerritoryId, other.SourceTerritoryId)) ? (-1119467530) : (-1119467536)); + break; + case 9: + num = ((!EqualityComparer.Default.Equals(DestPosition, other.DestPosition)) ? (-1119467530) : (-1119467521)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(WarpName, other.WarpName)) ? (-1119467530) : (-1119467531)); + break; + } + } + } + + bool IEquatable.Equals(WarpCapture? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202A_200B_206F_202E_206F_200B_206D_202B_200E_206C_206B_206C_202C_200E_202C_206A_206F_206D_206F_202B_206C_202A_202B_200D_206C_206E_202C_206D_206A_200B_206B_202D_206C_206E_202E_206E_206C_200F_200C_200F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200F_200E_206A_202A_202B_200B_202B_202C_206A_200B_206A_202D_202E_202A_206E_206E_200B_200C_206C_206C_202C_200C_206E_200B_202E_206D_206D_200E_206B_202E_202B_206B_202A_206F_202E_202E_200F_206C_202B_206E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206D_200F_200B_200B_200B_202C_202A_206A_200B_200F_200B_206C_206B_200E_200B_202A_206B_206B_206D_202D_202E_200E_202D_200C_206A_200C_206B_206A_200C_200B_206D_206E_200B_200F_200C_206E_202E_202D_200F_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202B_200C_202D_202B_200E_202B_206C_202D_200F_202B_202E_202C_202C_206F_200E_202B_206E_200F_202D_202A_206F_202C_202B_200B_206E_202E_202A_200D_206A_202D_200F_202E_202B_200D_206D_200E_202D_206C_206C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200C_206F_206E_200B_206F_200C_200E_202C_202B_202E_202C_202A_202B_202D_202D_206C_206A_206A_200F_202D_200C_206C_206C_202E_206F_206B_202A_206C_206C_206D_206C_206E_200D_202A_202E_206A_200F_206C_206A_206A_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206B_206B_200F_200B_202E_206B_206C_206E_206F_202E_202C_206F_202E_200C_206A_202C_200E_206C_206B_202E_202D_200B_200F_200C_200C_200C_206C_202A_200D_206C_202C_202C_206D_206F_200E_202A_202B_202A_206B_206B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202C_202E_206A_206B_206B_202C_202D_202E_206E_202D_202E_206E_200B_206C_200F_206D_200C_202E_202A_200C_200E_202C_206F_200B_206B_206C_200F_202E_200C_200B_202B_202A_200E_202D_202E_200C_200C_200D_206B_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202B_206F_200F_202A_200C_206D_202C_206D_200D_202D_200E_206A_200F_202B_200C_200E_206F_202C_206B_200E_200E_202A_206C_206D_202B_200E_206E_200F_200C_202B_200C_206C_206E_206F_200D_200D_206E_200E_206E_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + public sealed record TicketCapture(uint ItemId, string ItemName, ushort DestTerritoryId, Vector3 DestPosition) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206D_206F_200B_206A_206B_202A_202D_206A_206F_202E_206C_206C_206C_206F_202A_202B_200E_200C_200E_206B_202C_206E_200B_202A_200E_206C_202A_206C_206F_202B_202E_206F_200D_200C_206F_200C_200D_206B_206E_202E(typeof(TicketCapture).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206D_202A_202C_200D_202A_206A_206A_206D_206D_200F_202A_206F_206D_202D_202B_206D_206C_200F_206C_202A_202C_206A_202B_202E_206F_206C_206A_206E_200B_206A_206D_200D_200E_202A_200E_200D_200E_206E_202E_200F_202E(); + _206E_206F_202B_206B_202C_202D_200E_206F_202B_202D_200F_206B_206A_200D_206C_202B_206B_202E_200E_206C_200F_202C_200D_206F_202E_202D_206B_200F_202E_202A_202D_200C_206C_206A_206D_206A_206E_200E_202A_200C_202E(stringBuilder, global::_003CModule_003E._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(-1768035590)); + _206E_206F_202B_206B_202C_202D_200E_206F_202B_202D_200F_206B_206A_200D_206C_202B_206B_202E_200E_206C_200F_202C_200D_206F_202E_202D_206B_200F_202E_202A_202D_200C_206C_206A_206D_206A_206E_200E_202A_200C_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-522344662) : (-522344663)); + while (true) + { + int num2 = num; + int num3 = -522344664; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -522344663; + break; + case 1: + _206A_202E_202B_200B_200F_202C_200B_202B_202E_202E_200D_202E_202A_206F_202E_200B_200D_200F_202A_202C_206F_206A_206E_206C_202A_206A_206A_206C_202C_202E_202C_202D_206B_202D_202E_202C_200C_206C_200C_206B_202E(stringBuilder, ' '); + num = -522344662; + break; + case 2: + _206A_202E_202B_200B_200F_202C_200B_202B_202E_202E_200D_202E_202A_206F_202E_200B_200D_200F_202A_202C_206F_206A_206E_206C_202A_206A_206A_206C_202C_202E_202C_202D_206B_202D_202E_202C_200C_206C_200C_206B_202E(stringBuilder, '}'); + return _202B_206A_206B_202B_202B_200D_200B_206C_200B_206B_202B_202B_206C_202C_200B_200C_206A_202B_200D_200D_206E_202E_206F_200D_200F_200C_206D_202E_206E_202A_202A_200F_200F_202C_206C_206B_206F_200F_200E_206C_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_200F_202E_202A_202C_206F_200E_202D_206F_206B_206A_202D_206C_206D_200F_202B_206F_206D_206F_202B_206C_200E_200B_206F_200B_206F_200D_206D_202B_200B_200D_206D_202B_202E_206A_200F_206F_202A_202A_200D_202E(); + _206E_206F_202B_206B_202C_202D_200E_206F_202B_202D_200F_206B_206A_200D_206C_202B_206B_202E_200E_206C_200F_202C_200D_206F_202E_202D_206B_200F_202E_202A_202D_200C_206C_206A_206D_206A_206E_200E_202A_200C_202E(builder, global::_003CModule_003E._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(-1298229987)); + _206E_206F_202B_206B_202C_202D_200E_206F_202B_202D_200F_206B_206A_200D_206C_202B_206B_202E_200E_206C_200F_202C_200D_206F_202E_202D_206B_200F_202E_202A_202D_200C_206C_206A_206D_206A_206E_200E_202A_200C_202E(builder, ItemId.ToString()); + _206E_206F_202B_206B_202C_202D_200E_206F_202B_202D_200F_206B_206A_200D_206C_202B_206B_202E_200E_206C_200F_202C_200D_206F_202E_202D_206B_200F_202E_202A_202D_200C_206C_206A_206D_206A_206E_200E_202A_200C_202E(builder, global::_003CModule_003E._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(-2091026451)); + _200E_200B_202B_206B_200E_200E_206A_200D_200B_202C_200C_200E_200E_202C_206D_206B_200E_200D_202E_202B_206F_200C_206A_202A_206B_200D_206B_202E_206F_200B_206D_206B_202C_202C_206D_206A_206F_200E_200B_202D_202E(builder, (object)ItemName); + _206E_206F_202B_206B_202C_202D_200E_206F_202B_202D_200F_206B_206A_200D_206C_202B_206B_202E_200E_206C_200F_202C_200D_206F_202E_202D_206B_200F_202E_202A_202D_200C_206C_206A_206D_206A_206E_200E_202A_200C_202E(builder, global::_003CModule_003E._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(-1798905925)); + _206E_206F_202B_206B_202C_202D_200E_206F_202B_202D_200F_206B_206A_200D_206C_202B_206B_202E_200E_206C_200F_202C_200D_206F_202E_202D_206B_200F_202E_202A_202D_200C_206C_206A_206D_206A_206E_200E_202A_200C_202E(builder, DestTerritoryId.ToString()); + _206E_206F_202B_206B_202C_202D_200E_206F_202B_202D_200F_206B_206A_200D_206C_202B_206B_202E_200E_206C_200F_202C_200D_206F_202E_202D_206B_200F_202E_202A_202D_200C_206C_206A_206D_206A_206E_200E_202A_200C_202E(builder, global::_003CModule_003E._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(-1661409789)); + _206E_206F_202B_206B_202C_202D_200E_206F_202B_202D_200F_206B_206A_200D_206C_202B_206B_202E_200E_206C_200F_202C_200D_206F_202E_202D_206B_200F_202E_202A_202D_200C_206C_206A_206D_206A_206E_200E_202A_200C_202E(builder, DestPosition.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(TicketCapture? other) + { + int num = (((object)this == other) ? (-1255912688) : (-1255912673)); + while (true) + { + int num2 = num; + int num3 = -1255912680; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = -1255912673; + break; + case 8: + return true; + case 4: + num = ((!EqualityComparer.Default.Equals(ItemName, other.ItemName)) ? (-1255912677) : (-1255912678)); + break; + case 7: + num = (((object)other == null) ? (-1255912677) : (-1255912680)); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(DestTerritoryId, other.DestTerritoryId)) ? (-1255912677) : (-1255912679)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? (-1255912677) : (-1255912676)); + break; + case 3: + return false; + case 0: + num = ((!_202D_206E_200B_206D_200E_202C_206F_200E_200E_206C_200B_200B_206F_202B_200D_206B_202A_200D_202C_206B_206A_200B_200E_202D_206A_200D_206E_202B_202E_202D_202B_206A_202B_206D_206C_202A_200F_202A_202D_206A_202E(EqualityContract, other.EqualityContract)) ? (-1255912677) : (-1255912674)); + break; + case 1: + return EqualityComparer.Default.Equals(DestPosition, other.DestPosition); + } + } + } + + bool IEquatable.Equals(TicketCapture? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206D_206F_200B_206A_206B_202A_202D_206A_206F_202E_206C_206C_206C_206F_202A_202B_200E_200C_200E_206B_202C_206E_200B_202A_200E_206C_202A_206C_206F_202B_202E_206F_200D_200C_206F_200C_200D_206B_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206D_202A_202C_200D_202A_206A_206A_206D_206D_200F_202A_206F_206D_202D_202B_206D_206C_200F_206C_202A_202C_206A_202B_202E_206F_206C_206A_206E_200B_206A_206D_200D_200E_202A_200E_200D_200E_206E_202E_200F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206E_206F_202B_206B_202C_202D_200E_206F_202B_202D_200F_206B_206A_200D_206C_202B_206B_202E_200E_206C_200F_202C_200D_206F_202E_202D_206B_200F_202E_202A_202D_200C_206C_206A_206D_206A_206E_200E_202A_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_202E_202B_200B_200F_202C_200B_202B_202E_202E_200D_202E_202A_206F_202E_200B_200D_200F_202A_202C_206F_206A_206E_206C_202A_206A_206A_206C_202C_202E_202C_202D_206B_202D_202E_202C_200C_206C_200C_206B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202B_206A_206B_202B_202B_200D_200B_206C_200B_206B_202B_202B_206C_202C_200B_200C_206A_202B_200D_200D_206E_202E_206F_200D_200F_200C_206D_202E_206E_202A_202A_200F_200F_202C_206C_206B_206F_200F_200E_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200F_200F_202E_202A_202C_206F_200E_202D_206F_206B_206A_202D_206C_206D_200F_202B_206F_206D_206F_202B_206C_200E_200B_206F_200B_206F_200D_206D_202B_200B_200D_206D_202B_202E_206A_200F_206F_202A_202A_200D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200E_200B_202B_206B_200E_200E_206A_200D_200B_202C_200C_200E_200E_202C_206D_206B_200E_200D_202E_202B_206F_200C_206A_202A_206B_200D_206B_202E_206F_200B_206D_206B_202C_202C_206D_206A_206F_200E_200B_202D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202D_206E_200B_206D_200E_202C_206F_200E_200E_206C_200B_200B_206F_202B_200D_206B_202A_200D_202C_206B_206A_200B_200E_202D_206A_200D_206E_202B_202E_202D_202B_206A_202B_206D_206C_202A_200F_202A_202D_206A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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(); + + [CompilerGenerated] + private Action? m_WarpCaptured; + + [CompilerGenerated] + private Action? m_TicketCaptured; + + public bool IsWarpPending => _warpPhase != EWarpPhase.None; + + public uint? PendingWarpRowId + { + get + { + int num = (IsWarpPending ? 481097477 : 481097478); + while (true) + { + int num2 = num; + int num3 = 481097476; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0048; + case 1: + return _warpRowId; + case 2: + return null; + } + continue; + IL_0048: + num = 481097478; + } + } + } + + public string? PendingWarpName + { + get + { + int num = (IsWarpPending ? 1811343042 : 1811343041); + while (true) + { + int num2 = num; + int num3 = 1811343040; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return _warpName; + case 1: + return null; + case 0: + goto IL_0051; + } + continue; + IL_0051: + num = 1811343041; + } + } + } + + public bool IsTicketPending => _ticketItemId.HasValue; + + public uint? PendingTicketItemId => _ticketItemId; + + public string? PendingTicketItemName + { + get + { + int num = (_ticketItemId.HasValue ? 2020031708 : 2020031709); + while (true) + { + int num2 = num; + int num3 = 2020031708; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004b; + case 0: + return _ticketItemName; + case 1: + return null; + } + continue; + IL_004b: + num = 2020031709; + } + } + } + + public bool CaptureAvailable => _devEnvironmentGate; + + private bool AutoCaptureEnabled + { + get + { + int num = ((!_devEnvironmentGate) ? 1865787301 : 1865787302); + while (true) + { + int num2 = num; + int num3 = 1865787300; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 2: + return _configuration.Advanced.EnableNavDataCapture; + case 0: + goto IL_0059; + } + continue; + IL_0059: + num = 1865787302; + } + } + } + + public event Action? WarpCaptured + { + [CompilerGenerated] + add + { + Action action = this.m_WarpCaptured; + int num = -2100065366; + while (true) + { + int num2 = num; + int num3 = -2100065365; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -2100065366; + break; + case 2: + return; + case 1: + { + Action action2 = action; + Action value2 = (Action)_206F_200C_202C_206C_202D_206A_202D_202E_202A_202C_206B_202D_200B_202C_202A_200E_202D_202D_200B_202D_200F_202E_200B_206C_202E_200D_202A_202D_206D_206C_202B_206D_202B_206F_200B_206B_206E_206B_206B_202B_202E((Delegate)action2, (Delegate)value); + action = Interlocked.CompareExchange(ref this.m_WarpCaptured, value2, action2); + num = (((object)action != action2) ? (-2100065366) : (-2100065367)); + break; + } + } + } + } + [CompilerGenerated] + remove + { + Action action = this.m_WarpCaptured; + int num = 996974973; + while (true) + { + int num2 = num; + int num3 = 996974972; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 996974973; + break; + case 0: + return; + case 1: + { + Action action2 = action; + Action value2 = (Action)_202D_202B_206E_202E_206C_200C_202D_206E_206E_200F_202D_200E_202B_206E_202D_206A_206E_206D_206E_200C_206C_206A_206E_206F_202C_200E_206B_202E_206B_206D_206F_200B_200C_200E_200F_206C_206C_200D_202C_200C_202E((Delegate)action2, (Delegate)value); + action = Interlocked.CompareExchange(ref this.m_WarpCaptured, value2, action2); + num = (((object)action != action2) ? 996974973 : 996974972); + break; + } + } + } + } + } + + public event Action? TicketCaptured + { + [CompilerGenerated] + add + { + Action action = this.m_TicketCaptured; + int num = 1393978024; + while (true) + { + int num2 = num; + int num3 = 1393978025; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1393978024; + break; + case 1: + { + Action action2 = action; + Action value2 = (Action)_206F_200C_202C_206C_202D_206A_202D_202E_202A_202C_206B_202D_200B_202C_202A_200E_202D_202D_200B_202D_200F_202E_200B_206C_202E_200D_202A_202D_206D_206C_202B_206D_202B_206F_200B_206B_206E_206B_206B_202B_202E((Delegate)action2, (Delegate)value); + action = Interlocked.CompareExchange(ref this.m_TicketCaptured, value2, action2); + num = (((object)action != action2) ? 1393978024 : 1393978027); + break; + } + case 2: + return; + } + } + } + [CompilerGenerated] + remove + { + Action action = this.m_TicketCaptured; + int num = -2000190759; + while (true) + { + int num2 = num; + int num3 = -2000190760; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -2000190759; + break; + case 0: + return; + case 1: + { + Action action2 = action; + Action value2 = (Action)_202D_202B_206E_202E_206C_200C_202D_206E_206E_200F_202D_200E_202B_206E_202D_206A_206E_206D_206E_200C_206C_206A_206E_206F_202C_200E_206B_202E_206B_206D_206F_200B_200C_200E_200F_206C_206C_200D_202C_200C_202E((Delegate)action2, (Delegate)value); + action = Interlocked.CompareExchange(ref this.m_TicketCaptured, value2, action2); + num = (((object)action != action2) ? (-2000190759) : (-2000190760)); + break; + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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 = _202C_202C_202C_200D_206F_206C_206F_202C_202A_202D_206F_206D_200E_206F_206C_202B_206F_200E_206B_200B_206C_206E_200E_202E_202D_206B_206B_200B_206D_202D_200F_200F_202B_202C_200D_202A_206E_200D_202C_202E(pluginInterface) || _206D_206D_206A_206F_206F_202A_206A_202C_206C_206C_200E_200C_202D_200B_206D_206B_200F_206F_200B_206C_202B_206F_200C_200E_200B_206A_200E_202E_200E_206C_206B_200C_200E_206D_202D_206F_202D_200B_206C_202D_202E(_202A_202C_202E_206D_202D_206E_200E_200B_200F_200C_206B_202D_200F_206D_202D_200B_206D_200C_202B_200E_206D_206E_206E_206E_206A_202C_202C_202C_200B_202C_200B_202A_206B_200F_202B_200C_202B_200C_200C_200D_202E(_200B_202C_200B_202A_206F_202E_206F_206F_206B_206B_202B_200C_200D_200E_206B_202B_202E_206F_206F_200E_206A_202B_206C_202C_200B_200D_200D_206C_206C_200E_206E_202C_206F_206E_202E_200F_202E_200D_200B_206A_202E((FileSystemInfo)_200E_202B_202B_200F_202D_200B_202D_206F_200B_202A_200E_202B_200E_206D_206B_206B_202C_202C_206E_200C_206E_202D_202E_206A_206C_202A_200F_206E_200C_202D_206C_206C_206C_206A_202C_202C_206F_200E_202A_206E_202E(pluginInterface)), global::_003CModule_003E._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(-835725839))); + if (_devEnvironmentGate) + { + _202D_200C_200B_200F_206A_200F_200E_206C_206D_200F_202C_202B_202A_200F_202D_202E_202D_206B_206D_206A_200E_200C_200F_206E_202D_206C_206F_200B_202B_202A_202D_200C_200F_206B_202D_202D_202E_206E_202A_202E_202E((ILogger)_logger, global::_003CModule_003E._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(-323245053), new object[1] { _202C_202C_202C_200D_206F_206C_206F_202C_202A_202D_206F_206D_200E_206F_206C_202B_206F_200E_206B_200B_206C_206E_200E_202E_202D_206B_206B_200B_206D_202D_200F_200F_202B_202C_200D_202A_206E_200D_202C_202E(pluginInterface) }); + } + try + { + _processEventPlayHook = gameInteropProvider.HookFromAddress((nint)_206A_206A_202E_202D_200E_202E_200E_200C_202D_206D_206D_202E_200D_206F_202B_206F_206B_200F_202C_200F_206B_202B_202E_202D_202E_200D_202B_200E_202A_200D_206C_206A_206B_202D_206E_200C_200C_202D_202A_202B_202E(), OnProcessEventPlay); + _processEventPlayHook.Enable(); + } + catch (Exception ex) + { + _206A_206C_206C_206A_200E_202D_206C_202D_202E_206E_206D_202B_202A_202B_200B_202A_206B_206A_200D_206B_200E_200D_206B_206A_206E_206E_200F_200E_206C_200B_202E_206F_200E_200E_206A_200B_200D_206D_200D_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-1894559427), Array.Empty()); + } + _202A_202B_200F_202D_206E_202D_202D_206C_202B_202C_202C_206B_200B_202E_200C_200E_202B_202E_200B_206E_202B_202B_200F_206D_200D_202B_200F_206F_202C_200B_200D_202B_200F_206D_206B_206F_206D_200F_206C_206D_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkTick); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void ArmManual(uint warpRowId, string? warpName, uint npcDataId, ushort sourceTerritory, Vector3 sourcePosition) + { + int num = (_devEnvironmentGate ? 973810328 : 973810329); + while (true) + { + int num2 = num; + int num3 = 973810328; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0049; + case 0: + { + string text = warpName; + if (text == null) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1641447953)); + defaultInterpolatedStringHandler.AppendFormatted(warpRowId); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + } + Arm(warpRowId, text, (npcDataId != 0) ? new uint?(npcDataId) : ((uint?)null), sourceTerritory, sourcePosition); + return; + } + case 1: + return; + } + continue; + IL_0049: + num = 973810329; + } + } + + public bool CaptureWarpDestNow() + { + int num = ((_warpPhase != EWarpPhase.None) ? 1254314250 : 1254314251); + IGameObject gameObject = default(IGameObject); + while (true) + { + int num2 = num; + int num3 = 1254314255; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1254314251; + break; + case 5: + gameObject = _200E_202A_206E_200E_206C_202A_200B_200C_202B_206B_206A_206D_206B_200D_202A_200D_202C_202E_206C_202C_206E_200B_200D_200B_202B_202E_206C_200E_200B_202E_206A_202C_202B_202A_200B_202C_206D_206A_206D_202E(_objectTable, 0); + num = ((gameObject == null) ? 1254314253 : 1254314254); + break; + case 3: + CompleteWarp(_202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(gameObject)); + return true; + case 1: + num = ((!(_202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(gameObject) == Vector3.Zero)) ? 1254314252 : 1254314253); + break; + case 4: + return false; + case 2: + return false; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void DismissWarp() + { + ResetWarp(global::_003CModule_003E._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(-1890285424)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool CaptureTicketDestNow() + { + int num = (_ticketItemId.HasValue ? 1733996203 : 1733996202); + IGameObject gameObject = default(IGameObject); + while (true) + { + int num2 = num; + int num3 = 1733996206; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 1: + return false; + case 6: + num = ((!(_202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(gameObject) == Vector3.Zero)) ? 1733996206 : 1733996207); + continue; + case 0: + { + TicketCapture ticketCapture = new TicketCapture(_ticketItemId.Value, _ticketItemName, (ushort)_200E_200D_206A_206E_202D_202A_206D_206D_206A_206B_206F_206E_200B_202A_206E_202C_200D_202B_202B_202C_200F_200C_206E_206E_206A_200D_200B_202E_200C_200F_206B_206E_202E_206A_200C_200B_206C_206B_200B_206E_202E(_clientState), _202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(gameObject)); + _206C_202D_202A_202B_206A_206D_202C_200B_202D_202B_200D_200E_202C_202E_206D_200D_200E_206C_200C_206B_200F_206B_206A_202A_206A_206E_202D_206F_206A_200B_206E_206B_202B_206B_202D_202D_206D_202E_206B_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-1700222417), new object[3] { ticketCapture.ItemName, ticketCapture.ItemId, ticketCapture.DestTerritoryId }); + ClearTicket(); + Action? action = this.TicketCaptured; + if (action == null) + { + break; + } + action(ticketCapture); + num = 1733996204; + continue; + } + case 4: + return false; + case 3: + num = 1733996202; + continue; + case 5: + gameObject = _200E_202A_206E_200E_206C_202A_200B_200C_202B_206B_206A_206D_206B_200D_202A_200D_202C_202E_206C_202C_206E_200B_200D_200B_202B_202E_206C_200E_200B_202E_206A_202C_202B_202A_200B_202C_206D_206A_206D_202E(_objectTable, 0); + num = ((gameObject == null) ? 1733996207 : 1733996200); + continue; + case 2: + break; + } + break; + } + return true; + } + + public void DismissTicket() + { + ClearTicket(); + } + + public void Dispose() + { + _206E_200C_202B_206E_206E_206B_200B_206C_202E_202B_206E_200E_200E_202A_206A_202C_206F_202E_206A_200F_206E_202C_200C_206F_200C_206C_202E_206D_200F_202E_206F_202E_200D_206B_206F_206B_206B_206B_200C_206E_202E(_framework, (IFramework.OnUpdateDelegate)OnFrameworkTick); + _processEventPlayHook?.Disable(); + _processEventPlayHook?.Dispose(); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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 + { + int num = (AutoCaptureEnabled ? 993725425 : 993725428); + string text5 = default(string); + Warp? rowOrDefault = default(Warp?); + string text4 = default(string); + uint id = default(uint); + string text2 = default(string); + uint? npcDataId = default(uint?); + Vector3 sourcePosition = default(Vector3); + while (true) + { + int num2 = num; + int num3 = 993725425; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + uint? obj; + string text3; + switch (num5 - (num6 + num6)) + { + case 7: + obj = gameObject->BaseId; + goto IL_00a3; + case 6: + text5 = rowOrDefault.Value.Name.ExtractText(); + text4 = rowOrDefault.Value.Question.ExtractText(); + num = ((!_202E_206F_200B_200E_200D_202E_200B_206C_206F_206B_206A_202C_202D_206C_202E_206F_206B_206D_206D_200B_202C_206E_200F_200F_202A_200C_200B_202D_200F_200D_206B_206B_202B_206A_200C_200D_200F_202C_206A_206C_202E(text5)) ? 993725426 : 993725436); + break; + case 0: + num = ((eventId.ContentId == EventHandlerContent.Warp) ? 993725437 : 993725435); + break; + case 12: + id = eventId.Id; + text2 = null; + rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault(id); + num = ((!rowOrDefault.HasValue) ? 993725424 : 993725431); + break; + case 2: + num = ((gameObject->BaseId != 0) ? 993725430 : 993725434); + break; + case 4: + { + IGameObject gameObject2 = _202D_200D_200D_206E_206D_202E_202D_206F_206D_200F_206E_206E_202D_200D_206C_200D_206F_202A_200B_206C_202C_202C_200B_206D_202B_200D_206E_200B_200F_206A_202D_200B_202B_202B_206F_200D_202B_202D_202D_206E_202E(_targetManager); + npcDataId = ((gameObject2 != null) ? new uint?(_200B_200D_206A_202C_200F_206D_202E_206B_206D_202C_206B_202A_206A_202B_200D_206D_200B_202D_202A_200C_206B_206C_200D_206A_200C_206A_200F_202A_200F_202C_200C_202A_202B_202A_202D_202D_200D_206A_202B_206D_202E(gameObject2)) : ((uint?)null)); + Vector3 obj2; + if (gameObject2 == null) + { + IGameObject gameObject3 = _200E_202A_206E_200E_206C_202A_200B_200C_202B_206B_206A_206D_206B_200D_202A_200D_202C_202E_206C_202C_206E_200B_200D_200B_202B_202E_206C_200E_200B_202E_206A_202C_202B_202A_200B_202C_206D_206A_206D_202E(_objectTable, 0); + obj2 = ((gameObject3 != null) ? _202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(gameObject3) : Vector3.Zero); + } + else + { + obj2 = _202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(gameObject2); + } + sourcePosition = obj2; + num = 993725433; + break; + } + case 5: + return; + case 1: + num = ((gameObject == null) ? 993725429 : 993725427); + break; + case 3: + text3 = text5; + goto IL_024a; + case 9: + num = 993725428; + break; + case 11: + obj = null; + goto IL_00a3; + case 10: + return; + case 13: + text3 = text4; + goto IL_024a; + case 8: + { + uint warpRowId = id; + string text = text2; + if (text == null) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(889861098)); + defaultInterpolatedStringHandler.AppendFormatted(id); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + } + Arm(warpRowId, text, npcDataId, (ushort)_200E_200D_206A_206E_202D_202A_206D_206D_206A_206B_206F_206E_200B_202A_206E_202C_200D_202B_202B_202C_200F_200C_206E_206E_206A_200D_200B_202E_200C_200F_206B_206E_202E_206A_200C_200B_206C_206B_200B_206E_202E(_clientState), sourcePosition); + return; + } + IL_024a: + text2 = text3; + num = 993725424; + break; + IL_00a3: + npcDataId = obj; + sourcePosition = gameObject->Position; + num = 993725433; + break; + } + } + } + catch (Exception ex) + { + _206A_206C_206C_206A_200E_202D_206C_202D_202E_206E_206D_202B_202A_202B_200B_202A_206B_206A_200D_206B_200E_200D_206B_206A_206E_206E_200F_200E_206C_200B_202E_206F_200E_200E_206A_200B_200D_206D_200D_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-1117596149), Array.Empty()); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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; + _202D_200C_200B_200F_206A_200F_200E_206C_206D_200F_202C_202B_202A_200F_202D_202E_202D_206B_206D_206A_200E_200C_200F_206E_202D_206C_206F_200B_202B_202A_202D_200C_200F_206B_202D_202D_202E_206E_202A_202E_202E((ILogger)_logger, global::_003CModule_003E._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(281345071), new object[7] { warpRowId, warpName, sourceTerritory, sourcePosition.X, sourcePosition.Y, sourcePosition.Z, _seenMsqId }); + } + + private void OnFrameworkTick(IFramework _) + { + IGameObject gameObject = _200E_202A_206E_200E_206C_202A_200B_200C_202B_206B_206A_206D_206B_200D_202A_200D_202C_202E_206C_202C_206E_200B_200D_200B_202B_202E_206C_200E_200B_202E_206A_202C_202B_202A_200B_202C_206D_206A_206D_202E(_objectTable, 0); + int num = (_206D_202B_206C_206B_200D_202E_202E_202B_202E_200D_206B_206B_202E_200E_206B_206F_202C_206E_200D_200C_206A_202E_206D_206C_206A_206E_206B_206F_202C_202A_206F_206E_202E_206D_206F_202A_202C_200D_200E_206C_202E(_condition, ConditionFlag.BetweenAreas) ? 661314614 : 661314612); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = 661314613; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 4: + num = 661314612; + continue; + case 5: + _lastPlayerTerritory = _200E_200D_206A_206E_202D_202A_206D_206D_206A_206B_206F_206E_200B_202A_206E_202C_200D_202B_202B_202C_200F_200C_206E_206E_206A_200D_200B_202E_200C_200F_206B_206E_202E_206A_200C_200B_206C_206B_200B_206E_202E(_clientState); + _lastPlayerPosition = _202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(gameObject); + return; + case 2: + num = (flag ? 661314613 : 661314608); + continue; + case 0: + _lastPlayerPosition = null; + return; + case 1: + num5 = (_206D_202B_206C_206B_200D_202E_202E_202B_202E_200D_206B_206B_202E_200E_206B_206F_202C_206E_200D_200C_206A_202E_206D_206C_206A_206E_206B_206F_202C_202A_206F_206E_202E_206D_206F_202A_202C_200D_200E_206C_202E(_condition, ConditionFlag.BetweenAreas51) ? 1 : 0); + break; + case 3: + num5 = 1; + break; + } + flag = (byte)num5 != 0; + DateTime utcNow = DateTime.UtcNow; + TickWarp(gameObject, flag, utcNow); + TickTicket(gameObject, flag, utcNow); + num = ((gameObject == null) ? 661314613 : 661314615); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void TickWarp(IGameObject? player, bool loading, DateTime now) + { + int num = ((_warpPhase != EWarpPhase.None) ? 1067159357 : 1067159353); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = 1067159346; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 27: + num = (TryDetectJump(player, now) ? 1067159339 : 1067159358); + continue; + case 4: + num = ((!loading) ? 1067159337 : 1067159351); + continue; + case 18: + num = ((!flag) ? 1067159349 : 1067159342); + continue; + case 13: + num = ((player == null) ? 1067159339 : 1067159356); + continue; + case 10: + CompleteWarp(_202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(player)); + num = 1067159339; + continue; + case 14: + num = ((!(_202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(player) != Vector3.Zero)) ? 1067159339 : 1067159334); + continue; + case 19: + num = (flag ? 1067159339 : 1067159355); + continue; + case 9: + _warpPhase = EWarpPhase.AwaitingTransit; + _awaitTransitSince = now; + return; + case 32: + num = ((!(_202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(player) != Vector3.Zero)) ? 1067159339 : 1067159352); + continue; + case 23: + num = 1067159353; + continue; + case 26: + num = ((!(now - _armedAt > ArmedTimeout)) ? 1067159339 : 1067159346); + continue; + case 11: + return; + case 0: + ResetWarp(global::_003CModule_003E._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(-454604409)); + return; + case 22: + num5 = (_206D_202B_206C_206B_200D_202E_202E_202B_202E_200D_206B_206B_202E_200E_206B_206F_202C_206E_200D_200C_206A_202E_206D_206C_206A_206E_206B_206F_202C_202A_206F_206E_202E_206D_206F_202A_202C_200D_200E_206C_202E(_condition, ConditionFlag.OccupiedInEvent) ? 1 : 0); + goto IL_0396; + case 6: + goto IL_023b; + case 17: + EnterTransit(); + return; + case 5: + EnterTransit(); + return; + case 7: + num = (TryDetectJump(player, now) ? 1067159339 : 1067159336); + continue; + case 31: + num = ((!(now - _jumpDetectedAt > JumpSettle)) ? 1067159339 : 1067159338); + continue; + case 24: + num = ((player == null) ? 1067159339 : 1067159314); + continue; + case 20: + CompleteWarp(_202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(player)); + return; + case 12: + num = ((!(now - _awaitTransitSince > CancelGrace)) ? 1067159339 : 1067159343); + continue; + case 3: + return; + case 16: + goto IL_0314; + case 8: + goto IL_0330; + case 25: + return; + case 15: + num = (_206D_202B_206C_206B_200D_202E_202E_202B_202E_200D_206B_206B_202E_200E_206B_206F_202C_206E_200D_200C_206A_202E_206D_206C_206A_206E_206B_206F_202C_202A_206F_206E_202E_206D_206F_202A_202C_200D_200E_206C_202E(_condition, ConditionFlag.OccupiedInQuestEvent) ? 1067159344 : 1067159332); + continue; + case 21: + EnterTransit(); + return; + case 28: + _warpPhase = EWarpPhase.DialogOpen; + return; + case 29: + ResetWarp(global::_003CModule_003E._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(-629431639)); + return; + case 2: + num5 = 1; + goto IL_0396; + case 1: + EnterTransit(); + return; + case 30: + break; + IL_023b: + num = (loading ? 1067159339 : 1067159359); + continue; + IL_0396: + flag = (byte)num5 != 0; + switch (_warpPhase) + { + case EWarpPhase.AwaitingTransit: + break; + case EWarpPhase.InTransit: + goto IL_023b; + case EWarpPhase.JumpSettling: + goto IL_0314; + case EWarpPhase.Armed: + goto IL_0330; + default: + goto IL_03ba; + case EWarpPhase.DialogOpen: + goto end_IL_0033; + } + goto case 4; + IL_03ba: + num = 1067159345; + continue; + IL_0330: + num = ((!loading) ? 1067159328 : 1067159347); + continue; + IL_0314: + num = ((!loading) ? 1067159341 : 1067159331); + continue; + end_IL_0033: + break; + } + num = ((!loading) ? 1067159329 : 1067159335); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void EnterTransit() + { + _warpPhase = EWarpPhase.InTransit; + _202D_200C_200B_200F_206A_200F_200E_206C_206D_200F_202C_202B_202A_200F_202D_202E_202D_206B_206D_206A_200E_200C_200F_206E_202D_206C_206F_200B_202B_202A_202D_200C_200F_206B_202D_202D_202E_206E_202A_202E_202E((ILogger)_logger, global::_003CModule_003E._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(701038804), new object[1] { _warpRowId }); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool TryDetectJump(IGameObject? player, DateTime now) + { + int num = ((player == null) ? (-816594066) : (-816594069)); + while (true) + { + int num2 = num; + int num3 = -816594067; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = ((!(Vector3.DistanceSquared(_202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(player), _lastPlayerPosition.Value) < 1600f)) ? (-816594068) : (-816594071)); + break; + case 3: + return false; + case 1: + _warpPhase = EWarpPhase.JumpSettling; + _jumpDetectedAt = now; + _202D_200C_200B_200F_206A_200F_200E_206C_206D_200F_202C_202B_202A_200F_202D_202E_202D_206B_206D_206A_200E_200C_200F_206E_202D_206C_206F_200B_202B_202A_202D_200C_200F_206B_202D_202D_202E_206E_202A_202E_202E((ILogger)_logger, global::_003CModule_003E._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(-315128219), new object[1] { _warpRowId }); + return true; + case 6: + num = ((!_lastPlayerPosition.HasValue) ? (-816594066) : (-816594067)); + break; + case 4: + return false; + case 5: + num = -816594069; + break; + case 0: + num = ((_lastPlayerTerritory == _200E_200D_206A_206E_202D_202A_206D_206D_206A_206B_206F_206E_200B_202A_206E_202C_200D_202B_202B_202C_200F_200C_206E_206E_206A_200D_200B_202E_200C_200F_206B_206E_202E_206A_200C_200B_206C_206B_200B_206E_202E(_clientState)) ? (-816594065) : (-816594066)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void CompleteWarp(Vector3 destPosition) + { + WarpCapture warpCapture = new WarpCapture(_warpRowId, _warpName, _npcDataId, _sourceTerritory, _sourcePosition, (ushort)_200E_200D_206A_206E_202D_202A_206D_206D_206A_206B_206F_206E_200B_202A_206E_202C_200D_202B_202B_202C_200F_200C_206E_206E_206A_200D_200B_202E_200C_200F_206B_206E_202E_206A_200C_200B_206C_206B_200B_206E_202E(_clientState), destPosition, _seenMsqId); + _206C_202D_202A_202B_206A_206D_202C_200B_202D_202B_200D_200E_202C_202E_206D_200D_200E_206C_200C_206B_200F_206B_206A_202A_206A_206E_202D_206F_206A_200B_206E_206B_202B_206B_202D_202D_206D_202E_206B_202C_202E((ILogger)_logger, global::_003CModule_003E._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(1092964014), new object[8] { warpCapture.WarpRowId, warpCapture.WarpName, warpCapture.SourceTerritoryId, warpCapture.DestTerritoryId, destPosition.X, destPosition.Y, destPosition.Z, warpCapture.SeenDuringMsqId }); + ResetWarp(null); + this.WarpCaptured?.Invoke(warpCapture); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void ResetWarp(string? reason) + { + int num = ((reason == null) ? (-171802818) : (-171802817)); + while (true) + { + int num2 = num; + int num3 = -171802819; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -171802817; + break; + case 3: + _warpPhase = EWarpPhase.None; + _npcDataId = null; + _seenMsqId = null; + _warpName = string.Empty; + return; + case 1: + _202D_200C_200B_200F_206A_200F_200E_206C_206D_200F_202C_202B_202A_200F_202D_202E_202D_206B_206D_206A_200E_200C_200F_206E_202D_206C_206F_200B_202B_202A_202D_200C_200F_206B_202D_202D_202E_206E_202A_202E_202E((ILogger)_logger, global::_003CModule_003E._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(-1620536465), new object[2] { _warpRowId, reason }); + num = -171802818; + break; + case 2: + num = ((_warpPhase == EWarpPhase.None) ? (-171802818) : (-171802820)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void TickTicket(IGameObject? player, bool loading, DateTime now) + { + if (!_ticketItemId.HasValue) + { + int num = -925651820; + InventoryManager* ptr = default(InventoryManager*); + TeleportTicketService.ScannedTicket current = default(TeleportTicketService.ScannedTicket); + int value = default(int); + int inventoryItemCount = default(int); + while (true) + { + int num2 = num; + int num3 = -925651819; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _ticketInventoryCounts.Clear(); + num = -925651811; + break; + case 1: + num = (AutoCaptureEnabled ? (-925651821) : (-925651817)); + break; + case 5: + ptr = InventoryManager.Instance(); + num = ((ptr != null) ? (-925651823) : (-925651822)); + break; + case 8: + return; + case 7: + return; + case 2: + num = ((_ticketInventoryCounts.Count <= 0) ? (-925651811) : (-925651819)); + break; + case 9: + return; + case 3: + num = -925651820; + break; + case 6: + num = ((!loading) ? (-925651824) : (-925651812)); + break; + case 4: + { + IEnumerator enumerator = _200F_200F_206A_206D_206A_202A_202A_206F_200B_200C_206C_206A_202E_206A_200E_206B_206B_200B_200C_206F_206E_200D_206F_202C_206F_206E_202C_202C_206D_206F_206F_206D_200B_206E_206B_200D_206E_202D_202E_202E(_teleportTicketService).GetEnumerator(); + try + { + num = 1492712344; + while (true) + { + int num7 = num; + num3 = 1492712348; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + num = 1492712344; + break; + case 6: + _206C_202D_202A_202B_206A_206D_202C_200B_202D_202B_200D_200E_202C_202E_206D_200D_200E_206C_200C_206B_200F_206B_206A_202A_206A_206E_202D_206F_206A_200B_206E_206B_202B_206B_202D_202D_206D_202E_206B_202C_202E((ILogger)_logger, global::_003CModule_003E._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(-869991086), new object[4] + { + _206B_206F_200D_206D_200D_202C_206D_202B_200E_200E_202A_200F_200F_206A_202B_206A_206E_206A_206D_206A_202C_200B_206C_202B_206B_206C_200C_200B_206F_202C_202B_206B_202E_206B_200E_206F_200F_200E_202A_206F_202E(current), + _202E_202C_206A_200F_200D_200E_200D_200B_202A_206F_200E_206D_206A_200B_200D_202C_202D_206D_200B_200C_200F_202A_202B_200C_202A_200E_200B_200D_206A_202C_200D_200E_202A_202B_200C_200F_206C_206C_206E_206C_202E(current), + value, + inventoryItemCount + }); + _ticketItemId = _202E_202C_206A_200F_200D_200E_200D_200B_202A_206F_200E_206D_206A_200B_200D_202C_202D_206D_200B_200C_200F_202A_202B_200C_202A_200E_200B_200D_206A_202C_200D_200E_202A_202B_200C_200F_206C_206C_206E_206C_202E(current); + _ticketItemName = _206B_206F_200D_206D_200D_202C_206D_202B_200E_200E_202A_200F_200F_206A_202B_206A_206E_206A_206D_206A_202C_200B_206C_202B_206B_206C_200C_200B_206F_202C_202B_206B_202E_206B_200E_206F_200F_200E_202A_206F_202E(current); + _ticketSeenLoading = false; + _ticketArmedAt = now; + num = 1492712345; + break; + case 4: + num = (_206A_206C_202D_200E_206E_202B_206C_202B_206E_202E_202B_202B_202B_206A_206B_200F_200B_200F_206C_202D_202D_200E_200D_200B_200B_206B_206F_200C_200C_200E_206D_200D_206B_200C_202D_202C_206C_202D_200D_200F_202E((IEnumerator)enumerator) ? 1492712349 : 1492712351); + break; + case 0: + num = ((inventoryItemCount >= value) ? 1492712345 : 1492712346); + break; + case 1: + current = enumerator.Current; + inventoryItemCount = ptr->GetInventoryItemCount(_202E_202C_206A_200F_200D_200E_200D_200B_202A_206F_200E_206D_206A_200B_200D_202C_202D_206D_200B_200C_200F_202A_202B_200C_202A_200E_200B_200D_206A_202C_200D_200E_202A_202B_200C_200F_206C_206C_206E_206C_202E(current), isHq: false, checkEquipped: true, checkArmory: true, 0); + num = ((!_ticketInventoryCounts.TryGetValue(_202E_202C_206A_200F_200D_200E_200D_200B_202A_206F_200E_206D_206A_200B_200D_202C_202D_206D_200B_200C_200F_202A_202B_200C_202A_200E_200B_200D_206A_202C_200D_200E_202A_202B_200C_200F_206C_206C_206E_206C_202E(current), out value)) ? 1492712345 : 1492712348); + break; + case 5: + _ticketInventoryCounts[_202E_202C_206A_200F_200D_200E_200D_200B_202A_206F_200E_206D_206A_200B_200D_202C_202D_206D_200B_200C_200F_202A_202B_200C_202A_200E_200B_200D_206A_202C_200D_200E_202A_202B_200C_200F_206C_206C_206E_206C_202E(current)] = inventoryItemCount; + num = 1492712344; + break; + case 3: + return; + } + } + } + finally + { + num = ((enumerator == null) ? (-1158690697) : (-1158690700)); + while (true) + { + int num10 = num; + num3 = -1158690699; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1158690700; + break; + case 1: + _206A_200E_206F_200D_206D_206C_202B_202D_206B_202E_202E_202C_206F_206A_200F_202E_202E_202B_200F_202E_200C_206F_202D_206A_206A_200B_202B_206F_200C_206D_202D_200D_206A_206C_200C_200D_200B_202C_206D_206A_202E((IDisposable)enumerator); + num = -1158690697; + break; + case 2: + goto end_IL_02cb; + } + continue; + end_IL_02cb: + break; + } + } + } + } + } + } + if (loading) + { + _ticketSeenLoading = true; + } + else if (_ticketSeenLoading) + { + if (player != null && !(_202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(player) == Vector3.Zero)) + { + TicketCapture ticketCapture = new TicketCapture(_ticketItemId.Value, _ticketItemName, (ushort)_200E_200D_206A_206E_202D_202A_206D_206D_206A_206B_206F_206E_200B_202A_206E_202C_200D_202B_202B_202C_200F_200C_206E_206E_206A_200D_200B_202E_200C_200F_206B_206E_202E_206A_200C_200B_206C_206B_200B_206E_202E(_clientState), _202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(player)); + _206C_202D_202A_202B_206A_206D_202C_200B_202D_202B_200D_200E_202C_202E_206D_200D_200E_206C_200C_206B_200F_206B_206A_202A_206A_206E_202D_206F_206A_200B_206E_206B_202B_206B_202D_202D_206D_202E_206B_202C_202E((ILogger)_logger, global::_003CModule_003E._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(99542911), new object[6] + { + ticketCapture.ItemName, + ticketCapture.ItemId, + ticketCapture.DestTerritoryId, + _202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(player).X, + _202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(player).Y, + _202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(player).Z + }); + ClearTicket(); + this.TicketCaptured?.Invoke(ticketCapture); + } + } + else if (now - _ticketArmedAt > TicketTimeout) + { + _202D_200C_200B_200F_206A_200F_200E_206C_206D_200F_202C_202B_202A_200F_202D_202E_202D_206B_206D_206A_200E_200C_200F_206E_202D_206C_206F_200B_202B_202A_202D_200C_200F_206B_202D_202D_202E_206E_202A_202E_202E((ILogger)_logger, global::_003CModule_003E._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(-1635034712), new object[1] { _ticketItemId }); + ClearTicket(); + } + } + + private void ClearTicket() + { + _ticketItemId = null; + _ticketItemName = string.Empty; + _ticketSeenLoading = false; + } + + private uint? CurrentMsqQuestId() + { + QuestId questId = _questFunctions.GetMainScenarioQuest().Item1.CurrentQuest as QuestId; + int num = (((object)questId != null) ? (-37158078) : (-37158079)); + while (true) + { + int num2 = num; + int num3 = -37158077; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_005f; + case 1: + return _200F_200F_206D_206A_206C_200E_202D_200B_206E_206D_202C_202E_202A_202E_202E_200E_202C_206D_202E_206F_202A_200E_202C_200B_202A_206E_200D_206A_200D_200E_206A_200D_202C_202B_206D_202D_200D_202A_202D_202E((ElementId)questId); + case 2: + return null; + } + continue; + IL_005f: + num = -37158079; + } + } + + static bool _202C_202C_202C_200D_206F_206C_206F_202C_202A_202D_206F_206D_200E_206F_206C_202B_206F_200E_206B_200B_206C_206E_200E_202E_202D_206B_206B_200B_206D_202D_200F_200F_202B_202C_200D_202A_206E_200D_202C_202E(IDalamudPluginInterface P_0) + { + return P_0.IsDev; + } + + static DirectoryInfo _200E_202B_202B_200F_202D_200B_202D_206F_200B_202A_200E_202B_200E_206D_206B_206B_202C_202C_206E_200C_206E_202D_202E_206A_206C_202A_200F_206E_200C_202D_206C_206C_206C_206A_202C_202C_206F_200E_202A_206E_202E(IDalamudPluginInterface P_0) + { + return P_0.ConfigDirectory; + } + + static string _200B_202C_200B_202A_206F_202E_206F_206F_206B_206B_202B_200C_200D_200E_206B_202B_202E_206F_206F_200E_206A_202B_206C_202C_200B_200D_200D_206C_206C_200E_206E_202C_206F_206E_202E_200F_202E_200D_200B_206A_202E(FileSystemInfo P_0) + { + return P_0.FullName; + } + + static string _202A_202C_202E_206D_202D_206E_200E_200B_200F_200C_206B_202D_200F_206D_202D_200B_206D_200C_202B_200E_206D_206E_206E_206E_206A_202C_202C_202C_200B_202C_200B_202A_206B_200F_202B_200C_202B_200C_200C_200D_202E(string P_0, string P_1) + { + return Path.Combine(P_0, P_1); + } + + static bool _206D_206D_206A_206F_206F_202A_206A_202C_206C_206C_200E_200C_202D_200B_206D_206B_200F_206F_200B_206C_202B_206F_200C_200E_200B_206A_200E_202E_200E_206C_206B_200C_200E_206D_202D_206F_202D_200B_206C_202D_202E(string P_0) + { + return File.Exists(P_0); + } + + static void _202D_200C_200B_200F_206A_200F_200E_206C_206D_200F_202C_202B_202A_200F_202D_202E_202D_206B_206D_206A_200E_200C_200F_206E_202D_206C_206F_200B_202B_202A_202D_200C_200F_206B_202D_202D_202E_206E_202A_202E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + unsafe static delegate* unmanaged _206A_206A_202E_202D_200E_202E_200E_200C_202D_206D_206D_202E_200D_206F_202B_206F_206B_200F_202C_200F_206B_202B_202E_202D_202E_200D_202B_200E_202A_200D_206C_206A_206B_202D_206E_200C_200C_202D_202A_202B_202E() + { + return EventFramework.MemberFunctionPointers.ProcessEventPlay; + } + + static void _206A_206C_206C_206A_200E_202D_206C_202D_202E_206E_206D_202B_202A_202B_200B_202A_206B_206A_200D_206B_200E_200D_206B_206A_206E_206E_200F_200E_206C_200B_202E_206F_200E_200E_206A_200B_200D_206D_200D_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static void _202A_202B_200F_202D_206E_202D_202D_206C_202B_202C_202C_206B_200B_202E_200C_200E_202B_202E_200B_206E_202B_202B_200F_206D_200D_202B_200F_206F_202C_200B_200D_202B_200F_206D_206B_206F_206D_200F_206C_206D_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update += P_1; + } + + static Delegate _206F_200C_202C_206C_202D_206A_202D_202E_202A_202C_206B_202D_200B_202C_202A_200E_202D_202D_200B_202D_200F_202E_200B_206C_202E_200D_202A_202D_206D_206C_202B_206D_202B_206F_200B_206B_206E_206B_206B_202B_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Combine(P_0, P_1); + } + + static Delegate _202D_202B_206E_202E_206C_200C_202D_206E_206E_200F_202D_200E_202B_206E_202D_206A_206E_206D_206E_200C_206C_206A_206E_206F_202C_200E_206B_202E_206B_206D_206F_200B_200C_200E_200F_206C_206C_200D_202C_200C_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Remove(P_0, P_1); + } + + static IGameObject _200E_202A_206E_200E_206C_202A_200B_200C_202B_206B_206A_206D_206B_200D_202A_200D_202C_202E_206C_202C_206E_200B_200D_200B_202B_202E_206C_200E_200B_202E_206A_202C_202B_202A_200B_202C_206D_206A_206D_202E(IObjectTable P_0, int P_1) + { + return P_0[P_1]; + } + + static Vector3 _202D_202B_206F_206B_200E_200E_200E_206D_200C_206A_200F_200B_202E_206A_200F_202E_206F_202A_202A_202A_206F_200C_202A_206C_202A_206B_206C_202D_200F_200E_200E_202B_202D_202C_200B_202C_200E_200B_206C_200F_202E(IGameObject P_0) + { + return P_0.Position; + } + + static uint _200E_200D_206A_206E_202D_202A_206D_206D_206A_206B_206F_206E_200B_202A_206E_202C_200D_202B_202B_202C_200F_200C_206E_206E_206A_200D_200B_202E_200C_200F_206B_206E_202E_206A_200C_200B_206C_206B_200B_206E_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static void _206C_202D_202A_202B_206A_206D_202C_200B_202D_202B_200D_200E_202C_202E_206D_200D_200E_206C_200C_206B_200F_206B_206A_202A_206A_206E_202D_206F_206A_200B_206E_206B_202B_206B_202D_202D_206D_202E_206B_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _206E_200C_202B_206E_206E_206B_200B_206C_202E_202B_206E_200E_200E_202A_206A_202C_206F_202E_206A_200F_206E_202C_200C_206F_200C_206C_202E_206D_200F_202E_206F_202E_200D_206B_206F_206B_206B_206B_200C_206E_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update -= P_1; + } + + static bool _202E_206F_200B_200E_200D_202E_200B_206C_206F_206B_206A_202C_202D_206C_202E_206F_206B_206D_206D_200B_202C_206E_200F_200F_202A_200C_200B_202D_200F_200D_206B_206B_202B_206A_200C_200D_200F_202C_206A_206C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static IGameObject _202D_200D_200D_206E_206D_202E_202D_206F_206D_200F_206E_206E_202D_200D_206C_200D_206F_202A_200B_206C_202C_202C_200B_206D_202B_200D_206E_200B_200F_206A_202D_200B_202B_202B_206F_200D_202B_202D_202D_206E_202E(ITargetManager P_0) + { + return P_0.Target; + } + + static uint _200B_200D_206A_202C_200F_206D_202E_206B_206D_202C_206B_202A_206A_202B_200D_206D_200B_202D_202A_200C_206B_206C_200D_206A_200C_206A_200F_202A_200F_202C_200C_202A_202B_202A_202D_202D_200D_206A_202B_206D_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static bool _206D_202B_206C_206B_200D_202E_202E_202B_202E_200D_206B_206B_202E_200E_206B_206F_202C_206E_200D_200C_206A_202E_206D_206C_206A_206E_206B_206F_202C_202A_206F_206E_202E_206D_206F_202A_202C_200D_200E_206C_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static IReadOnlyList _200F_200F_206A_206D_206A_202A_202A_206F_200B_200C_206C_206A_202E_206A_200E_206B_206B_200B_200C_206F_206E_200D_206F_202C_206F_206E_202C_202C_206D_206F_206F_206D_200B_206E_206B_200D_206E_202D_202E_202E(TeleportTicketService P_0) + { + return P_0.ScannedTickets; + } + + static uint _202E_202C_206A_200F_200D_200E_200D_200B_202A_206F_200E_206D_206A_200B_200D_202C_202D_206D_200B_200C_200F_202A_202B_200C_202A_200E_200B_200D_206A_202C_200D_200E_202A_202B_200C_200F_206C_206C_206E_206C_202E(TeleportTicketService.ScannedTicket P_0) + { + return P_0.ItemId; + } + + static string _206B_206F_200D_206D_200D_202C_206D_202B_200E_200E_202A_200F_200F_206A_202B_206A_206E_206A_206D_206A_202C_200B_206C_202B_206B_206C_200C_200B_206F_202C_202B_206B_202E_206B_200E_206F_200F_200E_202A_206F_202E(TeleportTicketService.ScannedTicket P_0) + { + return P_0.Name; + } + + static bool _206A_206C_202D_200E_206E_202B_206C_202B_206E_202E_202B_202B_202B_206A_206B_200F_200B_200F_206C_202D_202D_200E_200D_200B_200B_206B_206F_200C_200C_200E_206D_200D_206B_200C_202D_202C_206C_202D_200D_200F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206A_200E_206F_200D_206D_206C_202B_202D_206B_202E_202E_202C_206F_206A_200F_202E_202E_202B_200F_202E_200C_206F_202D_206A_206A_200B_202B_206F_200C_206D_202D_200D_206A_206C_200C_200D_200B_202C_206D_206A_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ushort _200F_200F_206D_206A_206C_200E_202D_200B_206E_206D_202C_202E_202A_202E_202E_200E_202C_206D_202E_206F_202A_200E_202C_200B_202A_206E_200D_206A_200D_200E_206A_200D_202C_202B_206D_202D_200D_202A_202D_202E(ElementId P_0) + { + return P_0.Value; + } +} diff --git a/Questionable/Questionable.Notifications/NotificationService.cs b/Questionable/Questionable.Notifications/NotificationService.cs new file mode 100644 index 00000000..aebbe740 --- /dev/null +++ b/Questionable/Questionable.Notifications/NotificationService.cs @@ -0,0 +1,177 @@ +using System.Runtime.CompilerServices; +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; + int num = (notifications.Enabled ? (-1688153917) : (-1688153920)); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = -1688153918; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = -1688153920; + break; + case 0: + flag = true; + num = -1688153916; + break; + case 6: + num = ((!flag) ? (-1688153911) : (-1688153909)); + break; + case 3: + flag = notifications.AlertForSnipe; + num = -1688153916; + break; + case 8: + flag = notifications.AlertForSinglePlayerDuties; + num = -1688153916; + break; + case 4: + num = ((interactionType == EInteractionType.Snipe) ? (-1688153919) : (-1688153912)); + break; + case 7: + num = ((interactionType == EInteractionType.SinglePlayerDuty) ? (-1688153910) : (-1688153914)); + break; + case 2: + return; + case 12: + flag = notifications.AlertForDuties; + num = -1688153916; + break; + case 10: + num = -1688153918; + break; + case 11: + return; + case 9: + Dispatch(text); + num = -1688153911; + break; + case 1: + num = ((interactionType == EInteractionType.Duty) ? (-1688153906) : (-1688153915)); + break; + } + } + } + + public void NotifyStopCondition(string text) + { + Configuration.NotificationConfiguration notifications = configuration.Notifications; + int num = ((!notifications.Enabled) ? 2126924644 : 2126924645); + while (true) + { + int num2 = num; + int num3 = 2126924646; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + Dispatch(text); + num = 2126924644; + break; + case 3: + num = ((!notifications.AlertForStopConditions) ? 2126924644 : 2126924647); + break; + case 2: + return; + case 0: + num = 2126924645; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void Dispatch(string text) + { + Configuration.NotificationConfiguration notifications = configuration.Notifications; + int num = ((!notifications.FlashTaskbar) ? (-1607290236) : (-1607290238)); + while (true) + { + int num2 = num; + int num3 = -1607290237; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = ((!notifications.PlaySound) ? (-1607290240) : (-1607290235)); + break; + case 3: + return; + case 5: + num = -1607290238; + break; + case 7: + num = ((!notifications.OnlyWhenUnfocused) ? (-1607290237) : (-1607290233)); + break; + case 6: + _206A_202D_202D_206E_200E_200E_206F_206A_200B_206B_206C_200D_202D_202E_206B_206C_200D_206F_206C_202B_200C_206B_202E_202E_202A_202B_206F_200E_206C_200E_206A_202B_202A_206D_202C_206A_206E_206F_202E_206F_202E(notifier, _202B_206B_202E_206D_202C_202C_202E_200D_200F_200F_200B_200E_206A_206F_200F_206D_200C_202D_206B_206A_200C_200F_202A_202E_200E_202B_200B_202A_200C_200C_202E_202B_202C_206F_202D_202D_202C_202A_202D_206F_202E(notifications.SoundFile)); + num = -1607290240; + break; + case 4: + num5 = ((!_202E_200F_206F_206D_202A_206C_206B_206C_200E_202B_200C_206D_202B_200D_202D_200E_202D_206E_206F_202E_200B_202C_206D_200F_200B_200B_200C_200B_200B_206B_206F_206B_206A_206D_200C_206D_200C_202B_202A_206B_202E(notifier)) ? 1 : 0); + if (num5 != 0) + { + goto IL_00fa; + } + goto IL_011b; + case 0: + num5 = 1; + goto IL_00fa; + case 1: + { + _206C_206B_202D_206F_206B_206A_206C_202E_206D_200B_206A_202B_202E_202E_206F_202D_202E_206D_202B_200D_206B_202B_206F_206B_202B_206E_206E_200C_200D_202D_206E_200B_206A_202D_200F_206A_202D_206B_200B_202E_202E(notifier); + num = -1607290236; + break; + } + IL_00fa: + if (notifications.ShowTrayMessage) + { + _200E_200D_202A_200B_200B_200D_206E_202E_206A_202D_206F_206B_206B_206B_206F_202C_206D_200D_200D_200F_200C_202D_206D_200D_202A_200D_206F_202C_200E_206F_200B_206F_200D_200F_206E_200C_206C_202B_200E_206A_202E(notifier, global::_003CModule_003E._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(-1179749275), text); + } + goto IL_011b; + IL_011b: + num = ((num5 == 0) ? (-1607290240) : (-1607290239)); + break; + } + } + } + + static void _206C_206B_202D_206F_206B_206A_206C_202E_206D_200B_206A_202B_202E_202E_206F_202D_202E_206D_202B_200D_206B_202B_206F_206B_202B_206E_206E_200C_200D_202D_206E_200B_206A_202D_200F_206A_202D_206B_200B_202E_202E(OutOfGameNotifier P_0) + { + P_0.FlashTaskbar(); + } + + static bool _202E_200F_206F_206D_202A_206C_206B_206C_200E_202B_200C_206D_202B_200D_202D_200E_202D_206E_206F_202E_200B_202C_206D_200F_200B_200B_200C_200B_200B_206B_206F_206B_206A_206D_200C_206D_200C_202B_202A_206B_202E(OutOfGameNotifier P_0) + { + return P_0.IsGameForeground; + } + + static void _200E_200D_202A_200B_200B_200D_206E_202E_206A_202D_206F_206B_206B_206B_206F_202C_206D_200D_200D_200F_200C_202D_206D_200D_202A_200D_206F_202C_200E_206F_200B_206F_200D_200F_206E_200C_206C_202B_200E_206A_202E(OutOfGameNotifier P_0, string P_1, string P_2) + { + P_0.ShowTrayNotification(P_1, P_2); + } + + static string _202B_206B_202E_206D_202C_202C_202E_200D_200F_200F_200B_200E_206A_206F_200F_206D_200C_202D_206B_206A_200C_200F_202A_202E_200E_202B_200B_202A_200C_200C_202E_202B_202C_206F_202D_202D_202C_202A_202D_206F_202E(string P_0) + { + return WindowsSounds.ResolvePath(P_0); + } + + static void _206A_202D_202D_206E_200E_200E_206F_206A_200B_206B_206C_200D_202D_202E_206B_206C_200D_206F_206C_202B_200C_206B_202E_202E_202A_202B_206F_200E_206C_200E_206A_202B_202A_206D_202C_206A_206E_206F_202E_206F_202E(OutOfGameNotifier P_0, string P_1) + { + P_0.PlayAlertSound(P_1); + } +} diff --git a/Questionable/Questionable.Validation.Validators/BasicSequenceValidator.cs b/Questionable/Questionable.Validation.Validators/BasicSequenceValidator.cs index 1a372697..30704590 100644 --- a/Questionable/Questionable.Validation.Validators/BasicSequenceValidator.cs +++ b/Questionable/Questionable.Validation.Validators/BasicSequenceValidator.cs @@ -1,5 +1,9 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; +using System.Runtime.CompilerServices; using Questionable.Model; using Questionable.Model.Questing; @@ -7,95 +11,494 @@ namespace Questionable.Validation.Validators; internal sealed class BasicSequenceValidator : IQuestValidator { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__0_0; + + public static Func _003C_003E9__0_1; + + public static Func _003C_003E9__0_2; + + public static Func _003C_003E9__0_3; + + internal bool _003CValidate_003Eb__0_0(QuestSequence x) + { + return _206E_206E_206E_206C_206C_202D_200F_206A_202E_202D_206A_206E_202A_202D_200E_200B_206B_202E_200B_206A_202A_202C_202A_206E_202D_206C_202C_200D_206D_200E_200B_206E_200B_206D_206C_206D_206B_202A_200D_200F_202E(x) == 0; + } + + internal byte _003CValidate_003Eb__0_1(QuestSequence x) + { + return _206E_206E_206E_206C_206C_202D_200F_206A_202E_202D_206A_206E_202A_202D_200E_200B_206B_202E_200B_206A_202A_202C_202A_206E_202D_206C_202C_200D_206D_200E_200B_206E_200B_206D_206C_206D_206B_202A_200D_200F_202E(x); + } + + internal bool _003CValidate_003Eb__0_2(byte x) + { + return x != byte.MaxValue; + } + + internal bool _003CValidate_003Eb__0_3(QuestSequence x) + { + return _206E_206E_206E_206C_206C_202D_200F_206A_202E_202D_206A_206E_202A_202D_200E_200B_206B_202E_200B_206A_202A_202C_202A_206E_202D_206C_202C_200D_206D_200E_200B_206E_200B_206D_206C_206D_206B_202A_200D_200F_202E(x) == byte.MaxValue; + } + + static byte _206E_206E_206E_206C_206C_202D_200F_206A_202E_202D_206A_206E_202A_202D_200E_200B_206B_202E_200B_206A_202A_202C_202A_206E_202D_206C_202C_200D_206D_200E_200B_206E_200B_206D_206C_206D_206B_202A_200D_200F_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass0_0 + { + public int i; + + internal bool _003CValidate_003Eb__4(QuestSequence x) + { + return _200B_206E_200F_200B_206B_200C_206A_206F_206C_202B_200B_202E_202E_200D_200D_206F_206C_200C_200F_202E_200E_200E_206D_206D_206A_200B_202A_202B_206A_202B_202A_206C_206D_202B_206F_202C_206B_202E_206B_200E_202E(x) == i; + } + + static byte _200B_206E_200F_200B_206B_200C_206A_206F_206C_202B_200B_202E_202E_200D_200D_206F_206C_200C_200F_202E_200E_200E_206D_206D_206A_200B_202A_202B_206A_202B_202A_206C_206D_202B_206F_202C_206B_202E_206B_200E_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + } + + [CompilerGenerated] + private sealed class _003CValidate_003Ed__0 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Quest quest; + + public Quest _003C_003E3__quest; + + private _003C_003Ec__DisplayClass0_0 _003C_003E8__1; + + private List _003Csequences_003E5__2; + + private QuestSequence _003CfoundStart_003E5__3; + + private List.Enumerator _003C_003E7__wrap3; + + private int _003CmaxSequence_003E5__5; + + ValidationIssue IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__0(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _202D_202D_202E_206D_200D_206B_200E_200B_202E_200E_206C_206E_200B_202E_206A_202C_202C_202C_206F_200F_200F_200F_206C_202D_200D_200C_202C_200C_202D_206A_202A_202C_200E_206A_206E_206D_202E_202E_206E_202A_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? (-1108787515) : (-1108787514)); + while (true) + { + int num3 = num2; + int num4 = -1108787516; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 0: + num2 = -1108787514; + continue; + case 2: + if (num == 2) + { + num2 = -1108787515; + continue; + } + break; + case 1: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E8__1 = null; + _003Csequences_003E5__2 = null; + _003CfoundStart_003E5__3 = null; + _003C_003E7__wrap3 = default(List.Enumerator); + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num; + ValidationIssue validationIssue = default(ValidationIssue); + QuestSequence current = default(QuestSequence); + ValidationIssue validationIssue2 = default(ValidationIssue); + QuestInfo questInfo = default(QuestInfo); + switch (_003C_003E1__state) + { + default: + num = -218365441; + goto IL_002d; + case 1: + break; + case 2: + _003C_003E1__state = -3; + num = -218365453; + goto IL_002d; + case 0: + goto IL_01f4; + case 3: + goto IL_02ac; + case 4: + goto IL_0597; + IL_002d: + while (true) + { + int num2 = num; + int num3 = -218365443; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 22: + goto IL_00ad; + case 18: + goto end_IL_0008; + case 15: + goto end_IL_002d; + case 23: + goto IL_014f; + case 2: + return false; + case 6: + goto IL_018f; + case 4: + { + int num5 = _003C_003E8__1.i; + _003C_003Ec__DisplayClass0_0 _003C_003Ec__DisplayClass0_ = _003C_003E8__1; + num3 = 1; + num4 = num5; + _003C_003Ec__DisplayClass0_.i = (num4 | num3) + (num4 & num3); + num = -218365456; + break; + } + case 16: + goto IL_01f4; + case 17: + _003C_003E2__current = validationIssue; + _003C_003E1__state = 4; + return true; + case 1: + goto IL_0289; + case 3: + goto IL_02ac; + case 7: + _003C_003E2__current = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _206B_206C_202D_206D_202B_202B_202E_202B_200C_206F_202A_200E_206B_202B_200F_200F_202E_202A_200C_200B_200F_200F_206F_206C_206B_206F_206F_202A_206E_202E_202A_206A_202B_206C_206B_200E_200D_206C_206A_206E_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation(_206E_200F_200C_206F_200D_200D_200F_202D_202C_206A_206D_202A_206C_200F_206C_200B_202A_200B_206F_200E_206E_206F_206C_202B_200F_206E_202B_202E_200E_206B_200C_202E_202E_200C_202B_200E_202A_202C_202B_200F_202E(current), null), + Type = EIssueType.InstantQuestWithMultipleSteps, + Severity = EIssueSeverity.Error, + Description = global::_003CModule_003E._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(-1806487031) + }; + _003C_003E1__state = 2; + return true; + case 20: + goto IL_0340; + case 5: + _003C_003E2__current = validationIssue2; + _003C_003E1__state = 3; + return true; + case 9: + goto IL_03c4; + case 10: + _003CmaxSequence_003E5__5 = (from x in _003Csequences_003E5__2 + select _003C_003Ec._206E_206E_206E_206C_206C_202D_200F_206A_202E_202D_206A_206E_202A_202D_200E_200B_206B_202E_200B_206A_202A_202C_202A_206E_202D_206C_202C_200D_206D_200E_200B_206E_200B_206D_206C_206D_206B_202A_200D_200F_202E(x) into x + where x != byte.MaxValue + select x).Max(); + _003C_003E8__1 = new _003C_003Ec__DisplayClass0_0(); + _003C_003E8__1.i = 0; + num = -218365456; + break; + case 11: + num = -218365441; + break; + case 14: + goto IL_0484; + case 13: + goto IL_04ac; + case 8: + _003C_003E2__current = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _206B_206C_202D_206D_202B_202B_202E_202B_200C_206F_202A_200E_206B_202B_200F_200F_202E_202A_200C_200B_200F_200F_206F_206C_206B_206F_206F_202A_206E_202E_202A_206A_202B_206C_206B_200E_200D_206C_206A_206E_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation(0, null), + Type = EIssueType.MissingSequence0, + Severity = EIssueSeverity.Error, + Description = global::_003CModule_003E._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(-1619010830) + }; + _003C_003E1__state = 1; + return true; + case 21: + _003C_003E7__wrap3 = _003Csequences_003E5__2.GetEnumerator(); + _003C_003E1__state = -3; + num = -218365453; + break; + case 19: + _003C_003Em__Finally1(); + _003C_003E7__wrap3 = default(List.Enumerator); + num = -218365443; + break; + case 12: + goto IL_0597; + case 0: + return false; + } + continue; + IL_04ac: + num = ((_003C_003E8__1.i <= _003CmaxSequence_003E5__5) ? (-218365463) : (-218365461)); + continue; + IL_014f: + num = ((!(quest.Info is QuestInfo)) ? (-218365443) : (-218365449)); + continue; + IL_0340: + List foundSequences = _003Csequences_003E5__2.Where((QuestSequence x) => _003C_003Ec__DisplayClass0_0._200B_206E_200F_200B_206B_200C_206A_206F_206C_202B_200B_202E_202E_200D_200D_206F_206C_200C_200F_202E_200E_200E_206D_206D_206A_200B_202A_202B_206A_202B_202A_206C_206D_202B_206F_202C_206B_202E_206B_200E_202E(x) == _003C_003E8__1.i).ToList(); + validationIssue2 = ValidateSequences(quest, _003C_003E8__1.i, foundSequences); + num = ((!(validationIssue2 != null)) ? (-218365447) : (-218365448)); + continue; + IL_0484: + num = (_003C_003E7__wrap3.MoveNext() ? (-218365452) : (-218365458)); + continue; + IL_00ad: + _003C_003E8__1 = null; + List foundSequences2 = _003Csequences_003E5__2.Where((QuestSequence x) => _003C_003Ec._206E_206E_206E_206C_206C_202D_200F_206A_202E_202D_206A_206E_202A_202D_200E_200B_206B_202E_200B_206A_202A_202C_202A_206E_202D_206C_202C_200D_206D_200E_200B_206E_200B_206D_206C_206D_206B_202A_200D_200F_202E(x) == byte.MaxValue).ToList(); + validationIssue = ValidateSequences(quest, 255, foundSequences2); + num = ((!(validationIssue != null)) ? (-218365443) : (-218365460)); + continue; + IL_018f: + questInfo = quest.Info as QuestInfo; + num = ((questInfo == null) ? (-218365462) : (-218365444)); + continue; + IL_03c4: + current = _003C_003E7__wrap3.Current; + num = ((current == _003CfoundStart_003E5__3) ? (-218365453) : (-218365446)); + continue; + IL_0289: + num = ((!questInfo.CompletesInstantly) ? (-218365462) : (-218365464)); + continue; + end_IL_002d: + break; + } + goto case 2; + IL_0597: + _003C_003E1__state = -1; + num = -218365443; + goto IL_002d; + IL_02ac: + _003C_003E1__state = -1; + num = -218365447; + goto IL_002d; + IL_01f4: + _003C_003E1__state = -1; + _003Csequences_003E5__2 = _200C_200F_200F_202E_206E_202D_206F_202A_200B_200B_206F_206B_206A_206E_202B_200D_200D_200E_200E_206B_206C_200B_206A_206E_200E_202D_202E_202E_202C_206F_202C_202E_206C_200C_206C_202B_206E_202E_200C_200E_202E(quest.Root); + _003CfoundStart_003E5__3 = _003Csequences_003E5__2.FirstOrDefault((QuestSequence x) => _003C_003Ec._206E_206E_206E_206C_206C_202D_200F_206A_202E_202D_206A_206E_202A_202D_200E_200B_206B_202E_200B_206A_202A_202C_202A_206E_202D_206C_202C_200D_206D_200E_200B_206E_200B_206D_206C_206D_206B_202A_200D_200F_202E(x) == 0); + num = ((_003CfoundStart_003E5__3 != null) ? (-218365445) : (-218365451)); + goto IL_002d; + end_IL_0008: + break; + } + _003C_003E1__state = -1; + return false; + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + ((IDisposable)_003C_003E7__wrap3/*cast due to .constrained prefix*/).Dispose(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _200E_200E_206C_202A_206E_200B_202A_200C_200D_202E_200B_206A_202C_200D_202D_206E_202D_206B_206C_206A_200D_200E_206F_206A_200C_202B_206B_206E_202C_202C_206A_202C_202A_202B_206E_200D_206B_202E_200C_206D_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-1853104470) : (-1853104472)); + _003CValidate_003Ed__0 _003CValidate_003Ed__ = default(_003CValidate_003Ed__0); + while (true) + { + int num2 = num; + int num3 = -1853104471; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + _003CValidate_003Ed__.quest = _003C_003E3__quest; + return _003CValidate_003Ed__; + case 1: + num = ((_003C_003El__initialThreadId != _202D_202D_202E_206D_200D_206B_200E_200B_202E_200E_206C_206E_200B_202E_206A_202C_202C_202C_206F_200F_200F_200F_206C_202D_200D_200C_202C_200C_202D_206A_202A_202C_200E_206A_206E_206D_202E_202E_206E_202A_202E()) ? (-1853104470) : (-1853104469)); + break; + case 2: + _003C_003E1__state = 0; + _003CValidate_003Ed__ = this; + num = -1853104467; + break; + case 0: + num = -1853104472; + break; + case 3: + _003CValidate_003Ed__ = new _003CValidate_003Ed__0(0); + num = -1853104467; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _202D_202D_202E_206D_200D_206B_200E_200B_202E_200E_206C_206E_200B_202E_206A_202C_202C_202C_206F_200F_200F_200F_206C_202D_200D_200C_202C_200C_202D_206A_202A_202C_200E_206A_206E_206D_202E_202E_206E_202A_202E() + { + return Environment.CurrentManagedThreadId; + } + + static List _200C_200F_200F_202E_206E_202D_206F_202A_200B_200B_206F_206B_206A_206E_202B_200D_200D_200E_200E_206B_206C_200B_206A_206E_200E_202D_202E_202E_202C_206F_202C_202E_206C_200C_206C_202B_206E_202E_200C_200E_202E(QuestRoot P_0) + { + return P_0.QuestSequence; + } + + static string _206B_206C_202D_206D_202B_202B_202E_202B_200C_206F_202A_200E_206B_202B_200F_200F_202E_202A_200C_200B_200F_200F_206F_206C_206B_206F_206F_202A_206E_202E_202A_206A_202B_206C_206B_200E_200D_206C_206A_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static byte _206E_200F_200C_206F_200D_200D_200F_202D_202C_206A_206D_202A_206C_200F_206C_200B_202A_200B_206F_200E_206E_206F_206C_202B_200F_206E_202B_202E_200E_206B_200C_202E_202E_200C_202B_200E_202A_202C_202B_200F_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static NotSupportedException _200E_200E_206C_202A_206E_200B_202A_200C_200D_202E_200B_206A_202C_200D_202D_206E_202D_206B_206C_206A_200D_200E_206F_206A_200C_202B_206B_206E_202C_202C_206A_202C_202A_202B_206E_200D_206B_202E_200C_206D_202E() + { + return new NotSupportedException(); + } + } + + [IteratorStateMachine(typeof(_003CValidate_003Ed__0))] public IEnumerable Validate(Quest quest) { - List sequences = quest.Root.QuestSequence; - QuestSequence foundStart = sequences.FirstOrDefault((QuestSequence x) => x.Sequence == 0); - if (foundStart == null) + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CValidate_003Ed__0(-2) { - yield return new ValidationIssue - { - ElementId = quest.Id, - Sequence = 0, - Step = null, - Type = EIssueType.MissingSequence0, - Severity = EIssueSeverity.Error, - Description = "Missing quest start" - }; - } - else if (quest.Info is QuestInfo { CompletesInstantly: not false }) + _003C_003E3__quest = quest + }; + } + + IEnumerable IQuestValidator.Validate(Quest quest) + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(quest); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static ValidationIssue? ValidateSequences(Quest quest, int sequenceNo, List foundSequences) + { + int num = ((foundSequences.Count != 0) ? (-2063346227) : (-2063346230)); + while (true) { - foreach (QuestSequence item in sequences) + int num2 = num; + int num3 = -2063346231; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - if (item != foundStart) + case 0: + num = -2063346230; + break; + case 3: + return new ValidationIssue { - yield return new ValidationIssue - { - ElementId = quest.Id, - Sequence = item.Sequence, - Step = null, - Type = EIssueType.InstantQuestWithMultipleSteps, - Severity = EIssueSeverity.Error, - Description = "Instant quest should not have any sequences after the start" - }; - } - } - } - else - { - if (!(quest.Info is QuestInfo)) - { - yield break; - } - int maxSequence = (from x in sequences - select x.Sequence into x - where x != byte.MaxValue - select x).Max(); - int i; - for (i = 0; i < maxSequence; i++) - { - List foundSequences = sequences.Where((QuestSequence x) => x.Sequence == i).ToList(); - ValidationIssue validationIssue = ValidateSequences(quest, i, foundSequences); - if (validationIssue != null) + PathType = EPathType.Quest, + Id = _206D_206D_206D_206D_202B_202D_202C_202A_206C_206A_206C_202B_206E_200B_202E_200C_202C_206E_206B_202A_206F_200F_206D_206F_202D_206F_200E_206B_206D_200C_202A_200B_202C_200B_202B_202D_206A_206E_202D_202B_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation((byte)sequenceNo, null), + Type = EIssueType.MissingSequence, + Severity = EIssueSeverity.Error, + Description = global::_003CModule_003E._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(1578841753) + }; + case 4: + num = ((foundSequences.Count < 2) ? (-2063346229) : (-2063346232)); + break; + case 1: + return new ValidationIssue { - yield return validationIssue; - } - } - List foundSequences2 = sequences.Where((QuestSequence x) => x.Sequence == byte.MaxValue).ToList(); - ValidationIssue validationIssue2 = ValidateSequences(quest, 255, foundSequences2); - if (validationIssue2 != null) - { - yield return validationIssue2; + PathType = EPathType.Quest, + Id = _206D_206D_206D_206D_202B_202D_202C_202A_206C_206A_206C_202B_206E_200B_202E_200C_202C_206E_206B_202A_206F_200F_206D_206F_202D_206F_200E_206B_206D_200C_202A_200B_202C_200B_202B_202D_206A_206E_202D_202B_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation((byte)sequenceNo, null), + Type = EIssueType.DuplicateSequence, + Severity = EIssueSeverity.Error, + Description = global::_003CModule_003E._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(-312193419) + }; + case 2: + return null; } } } - private static ValidationIssue? ValidateSequences(Quest quest, int sequenceNo, List foundSequences) + static string _206D_206D_206D_206D_202B_202D_202C_202A_206C_206A_206C_202B_206E_200B_202E_200C_202C_206E_206B_202A_206F_200F_206D_206F_202D_206F_200E_206B_206D_200C_202A_200B_202C_200B_202B_202D_206A_206E_202D_202B_202E(object P_0) { - if (foundSequences.Count == 0) - { - return new ValidationIssue - { - ElementId = quest.Id, - Sequence = (byte)sequenceNo, - Step = null, - Type = EIssueType.MissingSequence, - Severity = EIssueSeverity.Error, - Description = "Missing sequence" - }; - } - if (foundSequences.Count == 2) - { - return new ValidationIssue - { - ElementId = quest.Id, - Sequence = (byte)sequenceNo, - Step = null, - Type = EIssueType.DuplicateSequence, - Severity = EIssueSeverity.Error, - Description = "Duplicate sequence" - }; - } - return null; + return P_0.ToString(); } } diff --git a/Questionable/Questionable.Validation.Validators/CompletionFlagsValidator.cs b/Questionable/Questionable.Validation.Validators/CompletionFlagsValidator.cs index f5a430f5..dec6ceb7 100644 --- a/Questionable/Questionable.Validation.Validators/CompletionFlagsValidator.cs +++ b/Questionable/Questionable.Validation.Validators/CompletionFlagsValidator.cs @@ -1,6 +1,10 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using Questionable.Controller.Utils; using Questionable.Model; using Questionable.Model.Questing; @@ -9,38 +13,523 @@ namespace Questionable.Validation.Validators; internal sealed class CompletionFlagsValidator : IQuestValidator { - public IEnumerable Validate(Quest quest) + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec { - if (quest.Id.Value == 5149) + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__0_0; + + internal long _003CValidate_003Eb__0_0(QuestStep x) { - yield break; - } - foreach (QuestSequence sequence in quest.AllSequences()) - { - List mappedCompletionFlags = sequence.Steps.Select((QuestStep x) => QuestWorkUtils.HasCompletionFlags(x.CompletionQuestVariablesFlags) ? Enumerable.Range(0, 6).Select(delegate(int y) + _003C_003Ec__DisplayClass0_0 CS_0024_003C_003E8__locals2 = new _003C_003Ec__DisplayClass0_0 { - QuestWorkValue questWorkValue = x.CompletionQuestVariablesFlags[y]; - return (long)((questWorkValue == null) ? 0 : BitOperations.RotateLeft((ulong)(questWorkValue.High.GetValueOrDefault() * 16 + questWorkValue.Low.GetValueOrDefault()), 8 * y)); - }).Sum() : 0).ToList(); - int i = 0; - while (i < sequence.Steps.Count) + x = x + }; + int num = ((!QuestWorkUtils.HasCompletionFlags(_202E_206D_202E_200E_202B_200E_202A_202B_206C_200B_200E_200D_200B_200C_206B_206B_206E_206B_202E_202E_200F_200C_202B_200F_200F_200B_202C_206F_202E_202A_206A_202B_200F_200F_202A_200C_206F_200B_202D_200E_202E(CS_0024_003C_003E8__locals2.x))) ? 1047291959 : 1047291956); + while (true) { - long flags = mappedCompletionFlags[i]; - if (flags != 0L && mappedCompletionFlags.Count((long x) => x == flags) >= 2) + int num2 = num; + int num3 = 1047291957; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - yield return new ValidationIssue + case 2: + return 0L; + case 1: + return _202B_202E_206B_206B_200C_206D_202A_202B_200B_206B_206B_200D_200F_202A_206D_200F_206F_200B_206D_202B_200E_206D_200C_202C_206C_200E_200B_202A_202B_200C_200F_200B_200D_202B_200D_202C_206C_200F_206E_206D_202E(_200D_200F_202E_200F_200C_202D_202E_200E_202A_200B_200B_200E_206A_206D_206E_200C_202A_200D_202A_206D_202C_200E_206F_206E_206E_202A_202D_206F_202C_200E_206E_206E_200E_206C_202D_206F_206D_206B_200F_200E_202E(0, 6).Select(delegate(int y) { - ElementId = quest.Id, - Sequence = sequence.Sequence, - Step = i, - Type = EIssueType.DuplicateCompletionFlags, - Severity = EIssueSeverity.Error, - Description = "Duplicate completion flags: " + string.Join(", ", sequence.Steps[i].CompletionQuestVariablesFlags) - }; + QuestWorkValue questWorkValue = _003C_003Ec__DisplayClass0_0._200D_200B_206D_206B_200B_202C_202E_202B_206C_206E_206E_206C_206F_200B_206A_206D_200C_200B_200F_202C_200D_202D_200D_200D_206E_202E_206B_200B_200E_206B_206A_200D_202B_206A_202D_206E_202B_200D_206E_206D_202E(CS_0024_003C_003E8__locals2.x)[y]; + int num5 = ((questWorkValue != null) ? 1457577313 : 1457577314); + while (true) + { + int num6 = num5; + int num7 = 1457577315; + int num8 = num6; + switch ((num8 | num7) - (num8 & num7)) + { + case 0: + goto IL_0056; + case 2: + return (long)_003C_003Ec__DisplayClass0_0._200C_206F_202B_202D_206C_202A_202B_200C_206B_206E_202D_206C_202D_206E_202D_200B_202D_200E_206C_206C_200F_202E_206D_202C_200F_202D_206C_202E_206E_200C_206C_202C_202E_200E_206A_200E_202D_206A_202A_200D_202E((ulong)(_003C_003Ec__DisplayClass0_0._202D_202C_206D_206D_202A_206E_206A_206D_206B_206A_202D_202D_202E_202A_206C_200B_202D_202C_202A_206E_200E_200C_200E_202E_206C_202E_206A_202E_202B_202B_200F_200E_200B_200D_202B_202A_200F_202C_206D_206F_202E(questWorkValue).GetValueOrDefault() * 16 + _003C_003Ec__DisplayClass0_0._200C_202A_200D_200E_202B_206F_206D_206C_206B_200E_202C_206D_202A_200E_202B_202E_202D_206D_206D_206E_200F_200F_202A_206A_200D_206A_206D_206C_206F_202A_202D_206B_206A_206D_202B_200E_202A_200B_202C_202E(questWorkValue).GetValueOrDefault()), 8 * y); + case 1: + return 0L; + } + continue; + IL_0056: + num5 = 1457577314; + } + })); + case 0: + goto IL_007e; } - int num = i + 1; - i = num; + continue; + IL_007e: + num = 1047291956; } } + + static List _202E_206D_202E_200E_202B_200E_202A_202B_206C_200B_200E_200D_200B_200C_206B_206B_206E_206B_202E_202E_200F_200C_202B_200F_200F_200B_202C_206F_202E_202A_206A_202B_200F_200F_202A_200C_206F_200B_202D_200E_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static IEnumerable _200D_200F_202E_200F_200C_202D_202E_200E_202A_200B_200B_200E_206A_206D_206E_200C_202A_200D_202A_206D_202C_200E_206F_206E_206E_202A_202D_206F_202C_200E_206E_206E_200E_206C_202D_206F_206D_206B_200F_200E_202E(int P_0, int P_1) + { + return Enumerable.Range(P_0, P_1); + } + + static long _202B_202E_206B_206B_200C_206D_202A_202B_200B_206B_206B_200D_200F_202A_206D_200F_206F_200B_206D_202B_200E_206D_200C_202C_206C_200E_200B_202A_202B_200C_200F_200B_200D_202B_200D_202C_206C_200F_206E_206D_202E(IEnumerable P_0) + { + return P_0.Sum(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass0_0 + { + public QuestStep x; + + internal long _003CValidate_003Eb__1(int y) + { + QuestWorkValue questWorkValue = _200D_200B_206D_206B_200B_202C_202E_202B_206C_206E_206E_206C_206F_200B_206A_206D_200C_200B_200F_202C_200D_202D_200D_200D_206E_202E_206B_200B_200E_206B_206A_200D_202B_206A_202D_206E_202B_200D_206E_206D_202E(x)[y]; + int num = ((questWorkValue != null) ? 1457577313 : 1457577314); + while (true) + { + int num2 = num; + int num3 = 1457577315; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0056; + case 2: + return (long)_200C_206F_202B_202D_206C_202A_202B_200C_206B_206E_202D_206C_202D_206E_202D_200B_202D_200E_206C_206C_200F_202E_206D_202C_200F_202D_206C_202E_206E_200C_206C_202C_202E_200E_206A_200E_202D_206A_202A_200D_202E((ulong)(_202D_202C_206D_206D_202A_206E_206A_206D_206B_206A_202D_202D_202E_202A_206C_200B_202D_202C_202A_206E_200E_200C_200E_202E_206C_202E_206A_202E_202B_202B_200F_200E_200B_200D_202B_202A_200F_202C_206D_206F_202E(questWorkValue).GetValueOrDefault() * 16 + _200C_202A_200D_200E_202B_206F_206D_206C_206B_200E_202C_206D_202A_200E_202B_202E_202D_206D_206D_206E_200F_200F_202A_206A_200D_206A_206D_206C_206F_202A_202D_206B_206A_206D_202B_200E_202A_200B_202C_202E(questWorkValue).GetValueOrDefault()), 8 * y); + case 1: + return 0L; + } + continue; + IL_0056: + num = 1457577314; + } + } + + static List _200D_200B_206D_206B_200B_202C_202E_202B_206C_206E_206E_206C_206F_200B_206A_206D_200C_200B_200F_202C_200D_202D_200D_200D_206E_202E_206B_200B_200E_206B_206A_200D_202B_206A_202D_206E_202B_200D_206E_206D_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static byte? _202D_202C_206D_206D_202A_206E_206A_206D_206B_206A_202D_202D_202E_202A_206C_200B_202D_202C_202A_206E_200E_200C_200E_202E_206C_202E_206A_202E_202B_202B_200F_200E_200B_200D_202B_202A_200F_202C_206D_206F_202E(QuestWorkValue P_0) + { + return P_0.High; + } + + static byte? _200C_202A_200D_200E_202B_206F_206D_206C_206B_200E_202C_206D_202A_200E_202B_202E_202D_206D_206D_206E_200F_200F_202A_206A_200D_206A_206D_206C_206F_202A_202D_206B_206A_206D_202B_200E_202A_200B_202C_202E(QuestWorkValue P_0) + { + return P_0.Low; + } + + static ulong _200C_206F_202B_202D_206C_202A_202B_200C_206B_206E_202D_206C_202D_206E_202D_200B_202D_200E_206C_206C_200F_202E_206D_202C_200F_202D_206C_202E_206E_200C_206C_202C_202E_200E_206A_200E_202D_206A_202A_200D_202E(ulong P_0, int P_1) + { + return BitOperations.RotateLeft(P_0, P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass0_1 + { + public long flags; + + internal bool _003CValidate_003Eb__2(long x) + { + return x == flags; + } + } + + [CompilerGenerated] + private sealed class _003CValidate_003Ed__0 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Quest quest; + + public Quest _003C_003E3__quest; + + private IEnumerator _003C_003E7__wrap1; + + private QuestSequence _003Csequence_003E5__3; + + private List _003CmappedCompletionFlags_003E5__4; + + private int _003Ci_003E5__5; + + ValidationIssue IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__0(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _200D_200B_200C_206D_200D_202E_200D_200F_206F_202B_206A_206C_202A_206B_206D_200B_202A_200F_206B_200D_202B_202B_206F_200E_200C_206A_202C_206A_200B_202E_200C_202E_200D_206E_206C_206C_206E_200F_200E_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? 403293009 : 403293008); + while (true) + { + int num3 = num2; + int num4 = 403293009; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 2: + num2 = 403293008; + continue; + case 1: + if (num == 1) + { + num2 = 403293009; + continue; + } + break; + case 0: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = null; + _003Csequence_003E5__3 = null; + _003CmappedCompletionFlags_003E5__4 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + int num2 = ((num == 0) ? 107528743 : 107528748); + _003C_003Ec__DisplayClass0_1 _003C_003Ec__DisplayClass0_ = default(_003C_003Ec__DisplayClass0_1); + while (true) + { + int num3 = num2; + int num4 = 107528743; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 13: + num2 = 107528748; + break; + case 10: + { + int num8 = _003Ci_003E5__5; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + int num11 = num9 + (num10 + num10); + _003Ci_003E5__5 = num11; + num2 = 107528751; + break; + } + case 8: + num2 = ((_003Ci_003E5__5 < _206E_206D_202E_202C_200D_200E_202D_206C_200F_206F_202A_202B_200B_202E_206D_206E_200F_206B_202C_206C_206E_200D_202C_206F_206D_206A_200C_200B_202D_206A_200F_200C_202A_200C_202D_200D_202A_200C_200E_206C_202E(_003Csequence_003E5__3).Count) ? 107528736 : 107528741); + break; + case 6: + _003C_003E7__wrap1 = quest.AllSequences().GetEnumerator(); + _003C_003E1__state = -3; + num2 = 107528738; + break; + case 2: + _003CmappedCompletionFlags_003E5__4 = null; + _003Csequence_003E5__3 = null; + num2 = 107528738; + break; + case 5: + num2 = (_202B_202D_200C_206B_206E_200C_206C_202E_206C_200F_202D_206E_200D_206B_202C_206C_206A_202A_200C_202D_206E_206C_206C_206E_200C_200B_200E_202A_202D_202D_206A_202D_206F_206F_206B_200E_206F_200C_206C_206D_202E((IEnumerator)_003C_003E7__wrap1) ? 107528747 : 107528739); + break; + case 7: + _003C_003Ec__DisplayClass0_ = new _003C_003Ec__DisplayClass0_1 + { + flags = _003CmappedCompletionFlags_003E5__4[_003Ci_003E5__5] + }; + num2 = ((_003C_003Ec__DisplayClass0_.flags == 0L) ? 107528749 : 107528742); + break; + case 11: + num2 = ((num == 1) ? 107528745 : 107528740); + break; + case 15: + return false; + case 0: + _003C_003E1__state = -1; + num2 = ((_202A_206F_206D_202E_206F_202B_200B_206C_200B_206C_202C_202B_200F_202A_206C_206D_206A_202E_202E_202E_200F_202B_202E_200B_206A_206E_206F_200E_200B_202B_206D_202A_202B_200B_202B_202D_202B_206E_202B_206B_202E(quest.Id) != 5149) ? 107528737 : 107528744); + break; + case 14: + _003C_003E1__state = -3; + num2 = 107528749; + break; + case 9: + _003C_003E2__current = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _202D_200B_202B_206B_200B_200F_206B_200C_200C_200C_200C_206C_206B_202C_202D_200B_206B_206B_202B_200C_206C_206C_206F_200E_202D_200F_202C_206B_206C_202E_202E_202B_202A_200F_200D_200C_202E_202B_202A_206D_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation(_202C_202C_206D_202A_206F_206B_206B_200C_206A_206D_202D_200F_200D_200E_206D_206F_202C_200E_206D_206E_202B_202E_202A_202A_200B_206A_206A_206A_206C_202B_200D_202B_200D_202C_202A_200C_200C_200F_200C_202E(_003Csequence_003E5__3), _003Ci_003E5__5), + Type = EIssueType.DuplicateCompletionFlags, + Severity = EIssueSeverity.Error, + Description = _206F_200C_206C_202E_200D_206C_202D_206F_200B_206E_202C_206D_202B_206E_206E_200E_206E_206F_200E_202C_200E_200C_202E_202C_202A_202A_206E_202E_206E_206F_200E_200E_206F_200B_202A_206C_206E_200F_202B_200E_202E(global::_003CModule_003E._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(1906420188), string.Join(global::_003CModule_003E._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(1403263077), _200C_202E_202C_202B_202A_202A_206F_200C_200B_200B_206A_200E_200C_202D_200C_206C_206A_202B_200C_202D_200C_202D_206A_206A_202A_200F_206F_200C_206E_202C_202B_200B_202A_200B_206E_200C_206C_202C_200F_206E_202E(_206E_206D_202E_202C_200D_200E_202D_206C_200F_206F_202A_202B_200B_202E_206D_206E_200F_206B_202C_206C_206E_200D_202C_206F_206D_206A_200C_200B_202D_206A_200F_200C_202A_200C_202D_200D_202A_200C_200E_206C_202E(_003Csequence_003E5__3)[_003Ci_003E5__5]))) + }; + _003C_003E1__state = 1; + return true; + case 12: + _003Csequence_003E5__3 = _003C_003E7__wrap1.Current; + _003CmappedCompletionFlags_003E5__4 = _206E_206D_202E_202C_200D_200E_202D_206C_200F_206F_202A_202B_200B_202E_206D_206E_200F_206B_202C_206C_206E_200D_202C_206F_206D_206A_200C_200B_202D_206A_200F_200C_202A_200C_202D_200D_202A_200C_200E_206C_202E(_003Csequence_003E5__3).Select(delegate(QuestStep x) + { + _003C_003Ec__DisplayClass0_0 CS_0024_003C_003E8__locals2 = new _003C_003Ec__DisplayClass0_0 + { + x = x + }; + int num12 = ((!QuestWorkUtils.HasCompletionFlags(_003C_003Ec._202E_206D_202E_200E_202B_200E_202A_202B_206C_200B_200E_200D_200B_200C_206B_206B_206E_206B_202E_202E_200F_200C_202B_200F_200F_200B_202C_206F_202E_202A_206A_202B_200F_200F_202A_200C_206F_200B_202D_200E_202E(CS_0024_003C_003E8__locals2.x))) ? 1047291959 : 1047291956); + while (true) + { + int num13 = num12; + int num14 = 1047291957; + int num15 = num13; + switch ((num15 | num14) - (num15 & num14)) + { + case 2: + return 0L; + case 1: + return _003C_003Ec._202B_202E_206B_206B_200C_206D_202A_202B_200B_206B_206B_200D_200F_202A_206D_200F_206F_200B_206D_202B_200E_206D_200C_202C_206C_200E_200B_202A_202B_200C_200F_200B_200D_202B_200D_202C_206C_200F_206E_206D_202E(_003C_003Ec._200D_200F_202E_200F_200C_202D_202E_200E_202A_200B_200B_200E_206A_206D_206E_200C_202A_200D_202A_206D_202C_200E_206F_206E_206E_202A_202D_206F_202C_200E_206E_206E_200E_206C_202D_206F_206D_206B_200F_200E_202E(0, 6).Select(delegate(int y) + { + QuestWorkValue questWorkValue = _003C_003Ec__DisplayClass0_0._200D_200B_206D_206B_200B_202C_202E_202B_206C_206E_206E_206C_206F_200B_206A_206D_200C_200B_200F_202C_200D_202D_200D_200D_206E_202E_206B_200B_200E_206B_206A_200D_202B_206A_202D_206E_202B_200D_206E_206D_202E(CS_0024_003C_003E8__locals2.x)[y]; + int num16 = ((questWorkValue != null) ? 1457577313 : 1457577314); + while (true) + { + int num17 = num16; + int num18 = 1457577315; + int num19 = num17; + switch ((num19 | num18) - (num19 & num18)) + { + case 0: + goto IL_0056; + case 2: + return (long)_003C_003Ec__DisplayClass0_0._200C_206F_202B_202D_206C_202A_202B_200C_206B_206E_202D_206C_202D_206E_202D_200B_202D_200E_206C_206C_200F_202E_206D_202C_200F_202D_206C_202E_206E_200C_206C_202C_202E_200E_206A_200E_202D_206A_202A_200D_202E((ulong)(_003C_003Ec__DisplayClass0_0._202D_202C_206D_206D_202A_206E_206A_206D_206B_206A_202D_202D_202E_202A_206C_200B_202D_202C_202A_206E_200E_200C_200E_202E_206C_202E_206A_202E_202B_202B_200F_200E_200B_200D_202B_202A_200F_202C_206D_206F_202E(questWorkValue).GetValueOrDefault() * 16 + _003C_003Ec__DisplayClass0_0._200C_202A_200D_200E_202B_206F_206D_206C_206B_200E_202C_206D_202A_200E_202B_202E_202D_206D_206D_206E_200F_200F_202A_206A_200D_206A_206D_206C_206F_202A_202D_206B_206A_206D_202B_200E_202A_200B_202C_202E(questWorkValue).GetValueOrDefault()), 8 * y); + case 1: + return 0L; + } + continue; + IL_0056: + num16 = 1457577314; + } + })); + case 0: + goto IL_007e; + } + continue; + IL_007e: + num12 = 1047291956; + } + }).ToList(); + _003Ci_003E5__5 = 0; + num2 = 107528751; + break; + case 1: + num2 = ((_003CmappedCompletionFlags_003E5__4.Count(_003C_003Ec__DisplayClass0_._003CValidate_003Eb__2) < 2) ? 107528749 : 107528750); + break; + case 3: + return false; + case 4: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = null; + return false; + } + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap1 == null) ? (-2045904747) : (-2045904746)); + while (true) + { + int num2 = num; + int num3 = -2045904745; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -2045904746; + break; + case 1: + _200F_206E_206F_202D_200B_202B_206A_202E_202E_200D_202D_200F_202D_202C_202B_202C_200F_202D_206E_202C_200D_200F_206D_200C_200F_200C_206D_202A_206A_202A_200C_200D_202D_200C_200C_200C_200F_200B_200D_200E_202E((IDisposable)_003C_003E7__wrap1); + num = -2045904747; + break; + case 2: + return; + } + } + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206D_206B_206A_202B_206C_200C_200C_206C_202D_200F_202A_200F_206C_200D_206E_206C_206C_200B_206A_200B_202D_202C_206F_206D_200B_200B_200E_200B_202D_206E_202A_206D_200E_206A_200F_202C_202D_202C_206E_202E_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-2052019382) : (-2052019379)); + _003CValidate_003Ed__0 _003CValidate_003Ed__ = default(_003CValidate_003Ed__0); + while (true) + { + int num2 = num; + int num3 = -2052019383; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _003CValidate_003Ed__.quest = _003C_003E3__quest; + return _003CValidate_003Ed__; + case 3: + _003CValidate_003Ed__ = new _003CValidate_003Ed__0(0); + num = -2052019381; + break; + case 4: + num = ((_003C_003El__initialThreadId != _200D_200B_200C_206D_200D_202E_200D_200F_206F_202B_206A_206C_202A_206B_206D_200B_202A_200F_206B_200D_202B_202B_206F_200E_200C_206A_202C_206A_200B_202E_200C_202E_200D_206E_206C_206C_206E_200F_200E_202E()) ? (-2052019382) : (-2052019384)); + break; + case 1: + _003C_003E1__state = 0; + _003CValidate_003Ed__ = this; + num = -2052019381; + break; + case 0: + num = -2052019379; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _200D_200B_200C_206D_200D_202E_200D_200F_206F_202B_206A_206C_202A_206B_206D_200B_202A_200F_206B_200D_202B_202B_206F_200E_200C_206A_202C_206A_200B_202E_200C_202E_200D_206E_206C_206C_206E_200F_200E_202E() + { + return Environment.CurrentManagedThreadId; + } + + static ushort _202A_206F_206D_202E_206F_202B_200B_206C_200B_206C_202C_202B_200F_202A_206C_206D_206A_202E_202E_202E_200F_202B_202E_200B_206A_206E_206F_200E_200B_202B_206D_202A_202B_200B_202B_202D_202B_206E_202B_206B_202E(ElementId P_0) + { + return P_0.Value; + } + + static List _206E_206D_202E_202C_200D_200E_202D_206C_200F_206F_202A_202B_200B_202E_206D_206E_200F_206B_202C_206C_206E_200D_202C_206F_206D_206A_200C_200B_202D_206A_200F_200C_202A_200C_202D_200D_202A_200C_200E_206C_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static string _202D_200B_202B_206B_200B_200F_206B_200C_200C_200C_200C_206C_206B_202C_202D_200B_206B_206B_202B_200C_206C_206C_206F_200E_202D_200F_202C_206B_206C_202E_202E_202B_202A_200F_200D_200C_202E_202B_202A_206D_202E(object P_0) + { + return P_0.ToString(); + } + + static byte _202C_202C_206D_202A_206F_206B_206B_200C_206A_206D_202D_200F_200D_200E_206D_206F_202C_200E_206D_206E_202B_202E_202A_202A_200B_206A_206A_206A_206C_202B_200D_202B_200D_202C_202A_200C_200C_200F_200C_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static List _200C_202E_202C_202B_202A_202A_206F_200C_200B_200B_206A_200E_200C_202D_200C_206C_206A_202B_200C_202D_200C_202D_206A_206A_202A_200F_206F_200C_206E_202C_202B_200B_202A_200B_206E_200C_206C_202C_200F_206E_202E(QuestStep P_0) + { + return P_0.CompletionQuestVariablesFlags; + } + + static string _206F_200C_206C_202E_200D_206C_202D_206F_200B_206E_202C_206D_202B_206E_206E_200E_206E_206F_200E_202C_200E_200C_202E_202C_202A_202A_206E_202E_206E_206F_200E_200E_206F_200B_202A_206C_206E_200F_202B_200E_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _202B_202D_200C_206B_206E_200C_206C_202E_206C_200F_202D_206E_200D_206B_202C_206C_206A_202A_200C_202D_206E_206C_206C_206E_200C_200B_200E_202A_202D_202D_206A_202D_206F_206F_206B_200E_206F_200C_206C_206D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200F_206E_206F_202D_200B_202B_206A_202E_202E_200D_202D_200F_202D_202C_202B_202C_200F_202D_206E_202C_200D_200F_206D_200C_200F_200C_206D_202A_206A_202A_200C_200D_202D_200C_200C_200C_200F_200B_200D_200E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _206D_206B_206A_202B_206C_200C_200C_206C_202D_200F_202A_200F_206C_200D_206E_206C_206C_200B_206A_200B_202D_202C_206F_206D_200B_200B_200E_200B_202D_206E_202A_206D_200E_206A_200F_202C_202D_202C_206E_202E_202E() + { + return new NotSupportedException(); + } + } + + [IteratorStateMachine(typeof(_003CValidate_003Ed__0))] + public IEnumerable Validate(Quest quest) + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CValidate_003Ed__0(-2) + { + _003C_003E3__quest = quest + }; + } + + IEnumerable IQuestValidator.Validate(Quest quest) + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(quest); } } diff --git a/Questionable/Questionable.Validation.Validators/DefinitionSchemaValidator.cs b/Questionable/Questionable.Validation.Validators/DefinitionSchemaValidator.cs new file mode 100644 index 00000000..71444b9a --- /dev/null +++ b/Questionable/Questionable.Validation.Validators/DefinitionSchemaValidator.cs @@ -0,0 +1,487 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; +using System.Linq; +using System.Runtime.CompilerServices; +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 +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass12_0 + { + public DefinitionSchemaValidator _003C_003E4__this; + + public ushort id; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal ValidationIssue _003CValidateImmediate_003Eb__0(SchemaValidationHelper.ParsedError error) + { + return new ValidationIssue + { + PathType = _003C_003E4__this.PathType, + Id = id.ToString(_206F_200B_202C_200B_200B_202D_200F_206F_202C_206C_200D_202C_206C_200E_200D_202B_206B_206D_200F_206D_200F_202E_202E_202E_202C_200E_200D_200F_206C_200C_202E_206B_202E_206D_200D_206F_200C_206E_200F_202A_202E()), + Location = (_206E_202D_206D_202A_200F_206A_206D_206A_206C_202E_200B_206C_202D_202B_200E_206A_200B_202A_206E_206B_206C_200E_202C_202D_206B_200E_206A_206F_206C_202D_200C_206D_206D_200D_202E_206C_200C_200D_206B_202E_202E(error.PropertyPath) ? null : error.PropertyPath), + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = (_206E_202D_206D_202A_200F_206A_206D_206A_206C_202E_200B_206C_202D_202B_200E_206A_200B_202A_206E_206B_206C_200E_202C_202D_206B_200E_206A_206F_206C_202D_200C_206D_206D_200D_202E_206C_200C_200D_206B_202E_202E(error.PropertyPath) ? error.Message : _202C_200C_200C_202E_206D_200F_200F_206C_202C_200E_200E_200F_202B_202C_206B_202D_202E_200D_206E_206E_200B_202D_200D_202E_200F_202D_206B_202C_206C_202C_202E_200D_200D_202A_200F_200E_200B_206F_202A_206E_202E(error.PropertyPath, global::_003CModule_003E._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(-437343681), error.Message)) + }; + } + + static CultureInfo _206F_200B_202C_200B_200B_202D_200F_206F_202C_206C_200D_202C_206C_200E_200D_202B_206B_206D_200F_206D_200F_202E_202E_202E_202C_200E_200D_200F_206C_200C_202E_206B_202E_206D_200D_206F_200C_206E_200F_202A_202E() + { + return CultureInfo.InvariantCulture; + } + + static bool _206E_202D_206D_202A_200F_206A_206D_206A_206C_202E_200B_206C_202D_202B_200E_206A_200B_202A_206E_206B_206C_200E_202C_202D_206B_200E_206A_206F_206C_202D_200C_206D_206D_200D_202E_206C_200C_200D_206B_202E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string _202C_200C_200C_202E_206D_200F_200F_206C_202C_200E_200E_200F_202B_202C_206B_202D_202E_200D_206E_206E_200B_202D_200D_202E_200F_202D_206B_202C_206C_202C_202E_200D_200D_202A_200F_200E_200B_206F_202A_206E_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + } + + [CompilerGenerated] + private sealed class _003CValidate_003Ed__11 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public DefinitionSchemaValidator _003C_003E4__this; + + private Dictionary.Enumerator _003C_003E7__wrap1; + + private List.Enumerator _003C_003E7__wrap2; + + ValidationIssue IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__11(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _206C_206E_202E_200D_200C_202A_206A_202A_206C_202D_206F_202A_206E_206D_206B_206E_202C_200F_202B_206C_200B_200D_206E_206E_206A_206A_200D_206F_202D_206D_200B_202D_200B_200C_206C_202D_206E_206C_200E_200D_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = -4; + int num3 = num; + int num4 = (((uint)(~(~num3 + num2)) <= 1u) ? 755205306 : 755205307); + while (true) + { + int num5 = num4; + num2 = 755205306; + num3 = num5; + switch ((num3 | num2) - (num3 & num2)) + { + default: + continue; + case 2: + num4 = 755205307; + continue; + case 1: + if (num == 1) + { + num4 = 755205306; + continue; + } + break; + case 0: + try + { + num4 = ((num == -4) ? (-1716476280) : (-1716476279)); + while (true) + { + int num6 = num4; + num2 = -1716476278; + num3 = num6; + int num7 = num3 + num2; + int num8 = num3 & num2; + switch (num7 - (num8 + num8)) + { + case 0: + num4 = -1716476279; + break; + case 3: + num4 = ((num == 1) ? (-1716476280) : (-1716476277)); + break; + case 1: + goto end_IL_008e; + case 2: + try + { + } + finally + { + _003C_003Em__Finally2(); + } + goto end_IL_008e; + } + continue; + end_IL_008e: + break; + } + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = default(Dictionary.Enumerator); + _003C_003E7__wrap2 = default(List.Enumerator); + _003C_003E1__state = -2; + } + + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + DefinitionSchemaValidator definitionSchemaValidator = _003C_003E4__this; + int num2 = ((num == 0) ? 946151668 : 946151666); + while (true) + { + int num3 = num2; + int num4 = 946151672; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 11: + _003C_003E1__state = -4; + num2 = 946151670; + break; + case 14: + num2 = (_003C_003E7__wrap2.MoveNext() ? 946151664 : 946151677); + break; + case 7: + num2 = (_003C_003E7__wrap1.MoveNext() ? 946151675 : 946151678); + break; + case 2: + num2 = 946151666; + break; + case 3: + { + _003C_003E7__wrap1.Current.Deconstruct(out ushort key, out JsonNode value); + ushort id = key; + JsonNode node = value; + _003C_003E7__wrap2 = definitionSchemaValidator.ValidateImmediate(id, node).GetEnumerator(); + _003C_003E1__state = -4; + num2 = 946151670; + break; + } + case 4: + return false; + case 12: + _003C_003E1__state = -1; + num2 = ((definitionSchemaValidator._nodes.Count != 0) ? 946151669 : 946151676); + break; + case 13: + num2 = ((definitionSchemaValidator._schema != null) ? 946151672 : 946151673); + break; + case 9: + return false; + case 0: + _003C_003E7__wrap1 = definitionSchemaValidator._nodes.GetEnumerator(); + _003C_003E1__state = -3; + num2 = 946151679; + break; + case 8: + { + ValidationIssue current = _003C_003E7__wrap2.Current; + _003C_003E2__current = current; + _003C_003E1__state = 1; + return true; + } + case 10: + num2 = ((num == 1) ? 946151667 : 946151665); + break; + case 1: + definitionSchemaValidator._schema = definitionSchemaValidator._schemaRegistrar.Get(definitionSchemaValidator.MainSchemaUri); + num2 = 946151672; + break; + case 5: + _003C_003Em__Finally2(); + _003C_003E7__wrap2 = default(List.Enumerator); + num2 = 946151679; + break; + case 6: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = default(Dictionary.Enumerator); + return false; + } + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + ((IDisposable)_003C_003E7__wrap1/*cast due to .constrained prefix*/).Dispose(); + } + + private void _003C_003Em__Finally2() + { + _003C_003E1__state = -3; + ((IDisposable)_003C_003E7__wrap2/*cast due to .constrained prefix*/).Dispose(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _200E_200B_206D_206B_200D_206C_202A_202A_202C_206D_206D_202B_200F_202E_202D_206A_202B_202D_206B_200B_202E_200F_200D_202C_202A_206C_206A_202A_202E_202C_202A_202D_200C_206F_206B_202A_200D_206B_206C_206E_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 1575118820 : 1575118817); + _003CValidate_003Ed__11 result = default(_003CValidate_003Ed__11); + while (true) + { + int num2 = num; + int num3 = 1575118816; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + _003C_003E1__state = 0; + result = this; + num = 1575118816; + break; + case 4: + result = new _003CValidate_003Ed__11(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = 1575118816; + break; + case 2: + num = 1575118817; + break; + case 0: + return result; + case 1: + num = ((_003C_003El__initialThreadId != _206C_206E_202E_200D_200C_202A_206A_202A_206C_202D_206F_202A_206E_206D_206B_206E_202C_200F_202B_206C_200B_200D_206E_206E_206A_206A_200D_206F_202D_206D_200B_202D_200B_200C_206C_202D_206E_206C_200E_200D_202E()) ? 1575118820 : 1575118819); + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _206C_206E_202E_200D_200C_202A_206A_202A_206C_202D_206F_202A_206E_206D_206B_206E_202C_200F_202B_206C_200B_200D_206E_206E_206A_206A_200D_206F_202D_206D_200B_202D_200B_200C_206C_202D_206E_206C_200E_200D_202E() + { + return Environment.CurrentManagedThreadId; + } + + static NotSupportedException _200E_200B_206D_206B_200D_206C_202A_202A_202C_206D_206D_202B_200F_202E_202D_206A_202B_202D_206B_200B_202E_200F_200D_202C_202A_206C_206A_202A_202E_202C_202A_202D_200C_206F_206B_202A_200D_206B_206C_206E_202E() + { + return new NotSupportedException(); + } + } + + 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; + } + + void IDefinitionSchemaValidator.Enqueue(ushort id, JsonNode node) + { + //ILSpy generated this explicit interface implementation from .override directive in Enqueue + this.Enqueue(id, node); + } + + public void Reset() + { + _nodes.Clear(); + } + + void IDefinitionSchemaValidator.Reset() + { + //ILSpy generated this explicit interface implementation from .override directive in Reset + this.Reset(); + } + + [IteratorStateMachine(typeof(_003CValidate_003Ed__11))] + public IEnumerable Validate() + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CValidate_003Ed__11(-2) + { + _003C_003E4__this = this + }; + } + + IEnumerable IDefinitionSchemaValidator.Validate() + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public List ValidateImmediate(ushort id, JsonNode node) + { + int num = ((_schema != null) ? 2044491341 : 2044491340); + EvaluationResults evaluationResults = default(EvaluationResults); + List list = default(List); + while (true) + { + int num2 = num; + int num3 = 2044491341; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 2044491340; + break; + case 2: + { + int num5 = 1; + List list2 = new List(num5); + CollectionsMarshal.SetCount(list2, num5); + CollectionsMarshal.AsSpan(list2)[0] = new ValidationIssue + { + PathType = PathType, + Id = id.ToString(_206B_202D_202D_200F_200F_206C_202D_202D_200D_202C_202A_206B_206C_202D_202E_200E_202A_206E_202D_202B_206B_200C_200E_206B_206F_200F_200F_202B_200D_206D_206A_200D_206E_200D_206D_202E_200F_200F_200D_206B_202E()), + Location = null, + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = global::_003CModule_003E._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(213210949) + }; + return list2; + } + case 0: + { + JsonSchema? schema = _schema; + JsonElement jsonElement = JsonSerializer.SerializeToElement(node); + EvaluationOptions evaluationOptions = _202B_202C_206F_206D_206C_200C_200D_206B_206F_206A_206E_200B_200E_200D_202C_206F_202E_200C_206A_206A_200C_206D_206C_206B_200C_206C_202E_200E_200B_202B_206F_202A_206F_206B_200C_200F_206E_206B_202C_200E_202E(); + _200D_206C_200E_206D_200E_200D_200D_206A_206E_202A_206B_206C_202A_206A_202B_206F_200F_206E_202E_200E_200F_200B_206A_206F_202C_200C_206B_206F_206F_200E_206B_200E_200E_206B_206E_202C_200D_206B_202D_200D_202E(evaluationOptions, _206B_202D_202D_200F_200F_206C_202D_202D_200D_202C_202A_206B_206C_202D_202E_200E_202A_206E_202D_202B_206B_200C_200E_206B_206F_200F_200F_202B_200D_206D_206A_200D_206E_200D_206D_202E_200F_200F_200D_206B_202E()); + _206D_200E_200E_202E_200E_200F_206E_206A_206C_200F_200E_206B_206B_200D_206C_200B_202D_200B_200B_206A_202D_200E_200E_206D_200D_206B_200C_206F_202C_202C_202E_206A_200E_200C_206A_200E_206E_206E_200C_202A_202E(evaluationOptions, OutputFormat.Hierarchical); + evaluationResults = _200B_202C_202B_202C_206E_200D_206D_202E_202A_200C_200F_202C_206D_206F_202C_200F_200F_202D_200C_202A_206A_200B_206B_202C_206C_200B_202E_206C_202A_202D_206E_202E_200E_206C_202C_206A_206C_206C_206B_206E_202E(schema, jsonElement, evaluationOptions); + num = ((!_202E_206B_206D_200D_200D_206C_202A_206A_206D_206F_206C_202A_206A_200E_206D_206F_206F_206E_206D_206E_206F_206E_206B_202A_202D_206C_200E_206B_206C_200F_206E_202A_200E_206F_200F_202E_202B_206A_202A_206A_202E(evaluationResults)) ? 2044491336 : 2044491339); + break; + } + case 5: + list = new List(); + SchemaValidationHelper.CollectLeafErrors(evaluationResults, list); + num = ((list.Count != 0) ? 2044491342 : 2044491343); + break; + case 1: + _schema = _schemaRegistrar.Get(MainSchemaUri); + num = 2044491341; + break; + case 3: + return list.Select([MethodImpl(MethodImplOptions.NoInlining)] (SchemaValidationHelper.ParsedError error) => new ValidationIssue + { + PathType = PathType, + Id = id.ToString(_003C_003Ec__DisplayClass12_0._206F_200B_202C_200B_200B_202D_200F_206F_202C_206C_200D_202C_206C_200E_200D_202B_206B_206D_200F_206D_200F_202E_202E_202E_202C_200E_200D_200F_206C_200C_202E_206B_202E_206D_200D_206F_200C_206E_200F_202A_202E()), + Location = (_003C_003Ec__DisplayClass12_0._206E_202D_206D_202A_200F_206A_206D_206A_206C_202E_200B_206C_202D_202B_200E_206A_200B_202A_206E_206B_206C_200E_202C_202D_206B_200E_206A_206F_206C_202D_200C_206D_206D_200D_202E_206C_200C_200D_206B_202E_202E(error.PropertyPath) ? null : error.PropertyPath), + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = (_003C_003Ec__DisplayClass12_0._206E_202D_206D_202A_200F_206A_206D_206A_206C_202E_200B_206C_202D_202B_200E_206A_200B_202A_206E_206B_206C_200E_202C_202D_206B_200E_206A_206F_206C_202D_200C_206D_206D_200D_202E_206C_200C_200D_206B_202E_202E(error.PropertyPath) ? error.Message : _003C_003Ec__DisplayClass12_0._202C_200C_200C_202E_206D_200F_200F_206C_202C_200E_200E_200F_202B_202C_206B_202D_202E_200D_206E_206E_200B_202D_200D_202E_200F_202D_206B_202C_206C_202C_202E_200D_200D_202A_200F_200E_200B_206F_202A_206E_202E(error.PropertyPath, global::_003CModule_003E._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(-437343681), error.Message)) + }).ToList(); + case 6: + return new List(); + } + } + } + + static EvaluationOptions _202B_202C_206F_206D_206C_200C_200D_206B_206F_206A_206E_200B_200E_200D_202C_206F_202E_200C_206A_206A_200C_206D_206C_206B_200C_206C_202E_200E_200B_202B_206F_202A_206F_206B_200C_200F_206E_206B_202C_200E_202E() + { + return new EvaluationOptions(); + } + + static CultureInfo _206B_202D_202D_200F_200F_206C_202D_202D_200D_202C_202A_206B_206C_202D_202E_200E_202A_206E_202D_202B_206B_200C_200E_206B_206F_200F_200F_202B_200D_206D_206A_200D_206E_200D_206D_202E_200F_200F_200D_206B_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _200D_206C_200E_206D_200E_200D_200D_206A_206E_202A_206B_206C_202A_206A_202B_206F_200F_206E_202E_200E_200F_200B_206A_206F_202C_200C_206B_206F_206F_200E_206B_200E_200E_206B_206E_202C_200D_206B_202D_200D_202E(EvaluationOptions P_0, CultureInfo P_1) + { + P_0.Culture = P_1; + } + + static void _206D_200E_200E_202E_200E_200F_206E_206A_206C_200F_200E_206B_206B_200D_206C_200B_202D_200B_200B_206A_202D_200E_200E_206D_200D_206B_200C_206F_202C_202C_202E_206A_200E_200C_206A_200E_206E_206E_200C_202A_202E(EvaluationOptions P_0, OutputFormat P_1) + { + P_0.OutputFormat = P_1; + } + + static EvaluationResults _200B_202C_202B_202C_206E_200D_206D_202E_202A_200C_200F_202C_206D_206F_202C_200F_200F_202D_200C_202A_206A_200B_206B_202C_206C_200B_202E_206C_202A_202D_206E_202E_200E_206C_202C_206A_206C_206C_206B_206E_202E(JsonSchema P_0, JsonElement P_1, EvaluationOptions P_2) + { + return P_0.Evaluate(P_1, P_2); + } + + static bool _202E_206B_206D_200D_200D_206C_202A_206A_206D_206F_206C_202A_206A_200E_206D_206F_206F_206E_206D_206E_206F_206E_206B_202A_202D_206C_200E_206B_206C_200F_206E_202A_200E_206F_200F_202E_202B_206A_202A_206A_202E(EvaluationResults P_0) + { + return P_0.IsValid; + } +} diff --git a/Questionable/Questionable.Validation.Validators/DialogueChoiceValidator.cs b/Questionable/Questionable.Validation.Validators/DialogueChoiceValidator.cs index 0cec54f2..3b386259 100644 --- a/Questionable/Questionable.Validation.Validators/DialogueChoiceValidator.cs +++ b/Questionable/Questionable.Validation.Validators/DialogueChoiceValidator.cs @@ -1,4 +1,8 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; @@ -7,6 +11,403 @@ namespace Questionable.Validation.Validators; internal sealed class DialogueChoiceValidator : IQuestValidator { + [CompilerGenerated] + private sealed class _003CValidate_003Ed__2 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Quest quest; + + public Quest _003C_003E3__quest; + + public DialogueChoiceValidator _003C_003E4__this; + + private IEnumerator<(QuestSequence Sequence, int StepId, QuestStep Step)> _003C_003E7__wrap1; + + private (QuestSequence Sequence, int StepId, QuestStep Step) _003Cx_003E5__3; + + private List.Enumerator _003C_003E7__wrap3; + + private DialogueChoice _003CdialogueChoice_003E5__5; + + ValidationIssue IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__2(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _200D_202C_200B_202A_200C_200F_206B_200E_202E_202E_200B_206C_200E_202A_200E_202D_200B_206E_202D_202E_200F_202E_206D_200B_202E_202C_202E_206B_200D_200E_202C_202E_200D_202A_206E_206F_200D_200C_206E_206D_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = -4; + int num3 = num; + int num4 = (((uint)(~(~num3 + num2)) <= 1u) ? 1829827120 : 1829827123); + while (true) + { + int num5 = num4; + num2 = 1829827122; + num3 = num5; + int num6 = num3 + num2; + int num7 = num3 & num2; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 0: + num4 = 1829827123; + continue; + case 1: + num2 = 1; + num3 = num; + if ((uint)(~(~num3 + num2)) <= 1u) + { + num4 = 1829827120; + continue; + } + break; + case 2: + try + { + num4 = ((num == -4) ? 1185253003 : 1185253002); + while (true) + { + int num8 = num4; + num2 = 1185253003; + num3 = num8; + int num9 = num3 + num2; + int num10 = num3 & num2; + switch (num9 - (num10 + num10)) + { + case 3: + goto end_IL_0098; + case 1: + num2 = 1; + num3 = num; + num4 = (((uint)(~(~num3 + num2)) <= 1u) ? 1185253003 : 1185253000); + break; + case 2: + num4 = 1185253002; + break; + case 0: + try + { + } + finally + { + _003C_003Em__Finally2(); + } + goto end_IL_0098; + } + continue; + end_IL_0098: + break; + } + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = null; + _003Cx_003E5__3 = default((QuestSequence, int, QuestStep)); + _003C_003E7__wrap3 = default(List.Enumerator); + _003CdialogueChoice_003E5__5 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + DialogueChoiceValidator dialogueChoiceValidator = _003C_003E4__this; + int num2; + ValidationIssue validationIssue2 = default(ValidationIssue); + ValidationIssue validationIssue = default(ValidationIssue); + ExcelRef excelRef = default(ExcelRef); + ExcelRef excelRef2 = default(ExcelRef); + switch (num) + { + default: + num2 = -658626702; + goto IL_002c; + case 0: + _003C_003E1__state = -1; + _003C_003E7__wrap1 = quest.AllSteps().GetEnumerator(); + _003C_003E1__state = -3; + num2 = -658626698; + goto IL_002c; + case 1: + goto IL_0298; + case 2: + goto IL_02ac; + IL_002c: + while (true) + { + int num3 = num2; + int num4 = -658626697; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + goto IL_0094; + case 1: + goto IL_00f3; + case 4: + goto end_IL_002c; + case 11: + _003CdialogueChoice_003E5__5 = null; + num2 = -658626704; + break; + case 15: + _003C_003E2__current = validationIssue2; + _003C_003E1__state = 1; + return true; + case 9: + goto IL_0181; + case 17: + _003C_003E2__current = validationIssue; + _003C_003E1__state = 2; + return true; + case 12: + goto IL_01e6; + case 7: + goto IL_0246; + case 0: + _003C_003Em__Finally2(); + _003C_003E7__wrap3 = default(List.Enumerator); + _003Cx_003E5__3 = default((QuestSequence, int, QuestStep)); + num2 = -658626698; + break; + case 3: + goto IL_0298; + case 13: + goto IL_02ac; + case 14: + num2 = -658626702; + break; + case 5: + return false; + case 10: + _003C_003E7__wrap3 = _206F_206E_200D_206E_200D_200C_202B_200F_206B_200E_202E_206B_202D_206D_200D_206F_200B_202E_206C_206C_200E_202E_206C_206C_206E_200E_202A_206B_202D_206E_200E_206E_206A_202B_200D_206A_206A_206A_200E_200F_202E(_003Cx_003E5__3.Step).GetEnumerator(); + _003C_003E1__state = -4; + num2 = -658626704; + break; + case 6: + goto IL_030e; + case 16: + goto IL_033a; + case 8: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = null; + return false; + } + continue; + IL_033a: + _003CdialogueChoice_003E5__5 = _003C_003E7__wrap3.Current; + excelRef = _206A_200C_200C_200F_202A_200C_206A_206C_206A_202D_206D_200B_206F_202C_202A_206E_200E_206E_206C_206B_206F_200F_200F_206B_206D_202D_202E_206A_206C_202E_202A_206E_206C_200C_202B_206D_206E_206C_202E_200F_202E(_003CdialogueChoice_003E5__5); + num2 = ((excelRef == null) ? (-658626703) : (-658626699)); + continue; + IL_0094: + validationIssue2 = dialogueChoiceValidator.Validate(quest, _003Cx_003E5__3.Sequence, _003Cx_003E5__3.StepId, _200F_202B_206D_202D_200D_202E_206C_206D_202B_202E_202B_206A_202E_206B_202A_206A_202C_206A_206C_200E_206C_200F_206C_206F_202A_200C_202D_200B_202E_206D_202B_206E_202E_200D_202E_200E_202C_202A_200F_202C_202E(_003CdialogueChoice_003E5__5), excelRef, global::_003CModule_003E._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(-633511800)); + num2 = ((!(validationIssue2 != null)) ? (-658626703) : (-658626696)); + continue; + IL_0181: + _003Cx_003E5__3 = _003C_003E7__wrap1.Current; + num2 = ((_206F_206E_200D_206E_200D_200C_202B_200F_206B_200E_202E_206B_202D_206D_200D_206F_200B_202E_206C_206C_200E_202E_206C_206C_206E_200E_202A_206B_202D_206E_200E_206E_206A_202B_200D_206A_206A_206A_200E_200F_202E(_003Cx_003E5__3.Step).Count == 0) ? (-658626698) : (-658626691)); + continue; + IL_030e: + excelRef2 = _206E_200D_206D_200D_206B_202A_202A_200D_206F_200E_202E_202D_202E_202A_206D_200F_200B_202E_200D_202E_206D_200E_200C_206E_202B_206B_202A_200B_206A_206E_206F_206A_200B_206A_202C_202E_206E_200C_202A_202C_202E(_003CdialogueChoice_003E5__5); + num2 = ((excelRef2 == null) ? (-658626692) : (-658626693)); + continue; + IL_01e6: + validationIssue = dialogueChoiceValidator.Validate(quest, _003Cx_003E5__3.Sequence, _003Cx_003E5__3.StepId, _200F_202B_206D_202D_200D_202E_206C_206D_202B_202E_202B_206A_202E_206B_202A_206A_202C_206A_206C_200E_206C_200F_206C_206F_202A_200C_202D_200B_202E_206D_202B_206E_202E_200D_202E_200E_202C_202A_200F_202C_202E(_003CdialogueChoice_003E5__5), excelRef2, global::_003CModule_003E._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(726153876)); + num2 = ((!(validationIssue != null)) ? (-658626692) : (-658626714)); + continue; + IL_00f3: + num2 = (_202D_200B_206D_200F_202C_202D_200B_206E_202A_206A_200D_200E_200F_202A_202D_206C_200F_200E_206C_202B_200D_206F_200E_206C_202D_206F_206A_202C_206E_206A_200B_200B_206E_206E_200C_206E_200E_206B_206A_202B_202E((IEnumerator)_003C_003E7__wrap1) ? (-658626690) : (-658626689)); + continue; + IL_0246: + num2 = (_003C_003E7__wrap3.MoveNext() ? (-658626713) : (-658626697)); + continue; + end_IL_002c: + break; + } + goto case 0; + IL_02ac: + _003C_003E1__state = -4; + num2 = -658626692; + goto IL_002c; + IL_0298: + _003C_003E1__state = -4; + num2 = -658626703; + goto IL_002c; + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap1 == null) ? 1730549734 : 1730549733); + while (true) + { + int num2 = num; + int num3 = 1730549732; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1730549733; + break; + case 1: + _200B_202B_202B_202C_200B_202D_206A_200B_206A_206D_202D_202D_202D_202A_202C_202D_200F_200E_200B_200C_200B_202B_200D_202A_206F_200E_202B_202B_200B_206C_206A_200B_200C_206F_202C_206C_202D_202C_202D_206D_202E((IDisposable)_003C_003E7__wrap1); + num = 1730549734; + break; + case 2: + return; + } + } + } + + private void _003C_003Em__Finally2() + { + _003C_003E1__state = -3; + ((IDisposable)_003C_003E7__wrap3/*cast due to .constrained prefix*/).Dispose(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _202E_200F_202B_206D_206C_202B_202C_202B_206C_202D_206B_206F_200F_206E_200F_202B_200E_202A_202C_202D_200B_206A_206C_206F_206C_202D_206A_206B_206C_202E_206F_206C_202D_206A_206D_200E_200F_200B_202A_202E_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 890630818 : 890630816); + _003CValidate_003Ed__2 _003CValidate_003Ed__ = default(_003CValidate_003Ed__2); + while (true) + { + int num2 = num; + int num3 = 890630817; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + _003CValidate_003Ed__.quest = _003C_003E3__quest; + return _003CValidate_003Ed__; + case 1: + num = ((_003C_003El__initialThreadId != _200D_202C_200B_202A_200C_200F_206B_200E_202E_202E_200B_206C_200E_202A_200E_202D_200B_206E_202D_202E_200F_202E_206D_200B_202E_202C_202E_206B_200D_200E_202C_202E_200D_202A_206E_206F_200D_200C_206E_206D_202E()) ? 890630818 : 890630817); + break; + case 3: + _003CValidate_003Ed__ = new _003CValidate_003Ed__2(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = 890630821; + break; + case 0: + _003C_003E1__state = 0; + _003CValidate_003Ed__ = this; + num = 890630821; + break; + case 2: + num = 890630816; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _200D_202C_200B_202A_200C_200F_206B_200E_202E_202E_200B_206C_200E_202A_200E_202D_200B_206E_202D_202E_200F_202E_206D_200B_202E_202C_202E_206B_200D_200E_202C_202E_200D_202A_206E_206F_200D_200C_206E_206D_202E() + { + return Environment.CurrentManagedThreadId; + } + + static List _206F_206E_200D_206E_200D_200C_202B_200F_206B_200E_202E_206B_202D_206D_200D_206F_200B_202E_206C_206C_200E_202E_206C_206C_206E_200E_202A_206B_202D_206E_200E_206E_206A_202B_200D_206A_206A_206A_200E_200F_202E(QuestStep P_0) + { + return P_0.DialogueChoices; + } + + static ExcelRef _206A_200C_200C_200F_202A_200C_206A_206C_206A_202D_206D_200B_206F_202C_202A_206E_200E_206E_206C_206B_206F_200F_200F_206B_206D_202D_202E_206A_206C_202E_202A_206E_206C_200C_202B_206D_206E_206C_202E_200F_202E(DialogueChoice P_0) + { + return P_0.Prompt; + } + + static string _200F_202B_206D_202D_200D_202E_206C_206D_202B_202E_202B_206A_202E_206B_202A_206A_202C_206A_206C_200E_206C_200F_206C_206F_202A_200C_202D_200B_202E_206D_202B_206E_202E_200D_202E_200E_202C_202A_200F_202C_202E(DialogueChoice P_0) + { + return P_0.ExcelSheet; + } + + static ExcelRef _206E_200D_206D_200D_206B_202A_202A_200D_206F_200E_202E_202D_202E_202A_206D_200F_200B_202E_200D_202E_206D_200E_200C_206E_202B_206B_202A_200B_206A_206E_206F_206A_200B_206A_202C_202E_206E_200C_202A_202C_202E(DialogueChoice P_0) + { + return P_0.Answer; + } + + static bool _202D_200B_206D_200F_202C_202D_200B_206E_202A_206A_200D_200E_200F_202A_202D_206C_200F_200E_206C_202B_200D_206F_200E_206C_202D_206F_206A_202C_206E_206A_200B_200B_206E_206E_200C_206E_200E_206B_206A_202B_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200B_202B_202B_202C_200B_202D_206A_200B_206A_206D_202D_202D_202D_202A_202C_202D_200F_200E_200B_200C_200B_202B_200D_202A_206F_200E_202B_202B_200B_206C_206A_200B_200C_206F_202C_206C_202D_202C_202D_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _202E_200F_202B_206D_206C_202B_202C_202B_206C_202D_206B_206F_200F_206E_200F_202B_200E_202A_202C_202D_200B_206A_206C_206F_206C_202D_206A_206B_206C_202E_206F_206C_202D_206A_206D_200E_200F_200B_202A_202E_202E() + { + return new NotSupportedException(); + } + } + private readonly ExcelFunctions _excelFunctions; public DialogueChoiceValidator(ExcelFunctions excelFunctions) @@ -14,67 +415,112 @@ internal sealed class DialogueChoiceValidator : IQuestValidator _excelFunctions = excelFunctions; } + [IteratorStateMachine(typeof(_003CValidate_003Ed__2))] public IEnumerable Validate(Quest quest) { - foreach (var x in quest.AllSteps()) + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CValidate_003Ed__2(-2) { - if (x.Step.DialogueChoices.Count == 0) + _003C_003E4__this = this, + _003C_003E3__quest = quest + }; + } + + IEnumerable IQuestValidator.Validate(Quest quest) + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(quest); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private ValidationIssue? Validate(Quest quest, QuestSequence sequence, int stepId, string? excelSheet, ExcelRef excelRef, string label) + { + int num = ((_200E_200C_206D_206D_202C_200E_200F_206E_202E_200E_202D_206D_200E_202C_206C_200B_200B_206A_202A_200F_200C_202A_202B_206F_200C_206B_206E_206D_206C_206E_202C_206B_202E_200F_206F_200B_206D_200B_206C_206E_202E(excelRef) != ExcelRef.EType.Key) ? 784349212 : 784349211); + while (true) + { + int num2 = num; + int num3 = 784349210; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - continue; + case 5: + num = 784349211; + break; + case 3: + { + ValidationIssue obj = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _200F_206F_200D_206A_206F_200D_206A_206A_206A_206F_206E_202A_200C_202C_200F_202A_202C_200C_202A_200F_202D_202E_200E_206C_206A_200C_206F_200B_206E_206A_206D_200B_200E_202C_206A_202D_202E_200C_202C_202C_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation(_206E_206B_202D_206C_206A_200B_202C_206E_200B_206B_200F_200E_206D_206D_200F_200D_202E_200E_202B_202C_200C_202C_202A_206F_202A_200F_206F_200C_206A_206C_206C_202E_200F_202B_200C_206D_206E_202A_202B_202C_202E(sequence), stepId), + Type = EIssueType.InvalidExcelRef, + Severity = EIssueSeverity.Error + }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(13, 3); + defaultInterpolatedStringHandler.AppendFormatted(label); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1993753271)); + defaultInterpolatedStringHandler.AppendFormatted(excelSheet); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-545088367)); + defaultInterpolatedStringHandler.AppendFormatted(_206D_200C_200F_202C_206D_202E_206A_206E_206F_202B_200E_206D_206D_206E_200D_206B_202E_202B_206D_206B_202D_200B_202C_200C_206B_202C_200F_206E_200E_206D_200B_200B_206B_206A_202B_200B_206B_202C_206D_202C_202E(excelRef)); + obj.Description = defaultInterpolatedStringHandler.ToStringAndClear(); + return obj; } - foreach (DialogueChoice dialogueChoice in x.Step.DialogueChoices) + case 0: + return null; + case 6: + num = ((_200E_200C_206D_206D_202C_200E_200F_206E_202E_200E_202D_206D_200E_202C_206C_200B_200B_206A_202A_200F_200C_202A_202B_206F_200C_206B_206E_206D_206C_206E_202C_206B_202E_200F_206F_200B_206D_200B_206C_206E_202E(excelRef) != ExcelRef.EType.RowId) ? 784349210 : 784349208); + break; + case 4: { - ExcelRef prompt = dialogueChoice.Prompt; - if (prompt != null) + ValidationIssue obj2 = new ValidationIssue { - ValidationIssue validationIssue = Validate(quest, x.Sequence, x.StepId, dialogueChoice.ExcelSheet, prompt, "Prompt"); - if (validationIssue != null) - { - yield return validationIssue; - } - } - ExcelRef answer = dialogueChoice.Answer; - if (answer != null) - { - ValidationIssue validationIssue2 = Validate(quest, x.Sequence, x.StepId, dialogueChoice.ExcelSheet, answer, "Answer"); - if (validationIssue2 != null) - { - yield return validationIssue2; - } - } + PathType = EPathType.Quest, + Id = _200F_206F_200D_206A_206F_200D_206A_206A_206A_206F_206E_202A_200C_202C_200F_202A_202C_200C_202A_200F_202D_202E_200E_206C_206A_200C_206F_200B_206E_206A_206D_200B_200E_202C_206A_202D_202E_200C_202C_202C_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation(_206E_206B_202D_206C_206A_200B_202C_206E_200B_206B_200F_200E_206D_206D_200F_200D_202E_200E_202B_202C_200C_202C_202A_206F_202A_200F_206F_200C_206A_206C_206C_202E_200F_202B_200C_206D_206E_202A_202B_202C_202E(sequence), stepId), + Type = EIssueType.InvalidExcelRef, + Severity = EIssueSeverity.Error + }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(13, 3); + defaultInterpolatedStringHandler2.AppendFormatted(label); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1993753271)); + defaultInterpolatedStringHandler2.AppendFormatted(excelSheet); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-485019730)); + defaultInterpolatedStringHandler2.AppendFormatted(_202B_206D_206E_206C_200E_202E_206F_200F_202B_202A_206F_206E_206D_202A_202D_202E_202D_202A_200F_206E_200C_202A_206E_206A_202C_206C_206B_206C_200E_206B_202D_202A_206A_206C_206C_202A_206F_206D_206E_202E_202E(excelRef)); + obj2.Description = defaultInterpolatedStringHandler2.ToStringAndClear(); + return obj2; + } + case 2: + num = (_excelFunctions.GetRawDialogueTextByRowId(excelSheet, _206D_200C_200F_202C_206D_202E_206A_206E_206F_202B_200E_206D_206D_206E_200D_206B_202E_202B_206D_206B_202D_200B_202C_200C_206B_202C_200F_206E_200E_206D_200B_200B_206B_206A_202B_200B_206B_202C_206D_202C_202E(excelRef)).HasValue ? 784349210 : 784349209); + break; + case 1: + num = (_excelFunctions.GetRawDialogueText(quest, excelSheet, _202B_206D_206E_206C_200E_202E_206F_200F_202B_202A_206F_206E_206D_202A_202D_202E_202D_202A_200F_206E_200C_202A_206E_206A_202C_206C_206B_206C_200E_206B_202D_202A_206A_206C_206C_202A_206F_206D_206E_202E_202E(excelRef)).HasValue ? 784349210 : 784349214); + break; } } } - private ValidationIssue? Validate(Quest quest, QuestSequence sequence, int stepId, string? excelSheet, ExcelRef excelRef, string label) + static ExcelRef.EType _200E_200C_206D_206D_202C_200E_200F_206E_202E_200E_202D_206D_200E_202C_206C_200B_200B_206A_202A_200F_200C_202A_202B_206F_200C_206B_206E_206D_206C_206E_202C_206B_202E_200F_206F_200B_206D_200B_206C_206E_202E(ExcelRef P_0) { - if (excelRef.Type == ExcelRef.EType.Key) - { - if (!_excelFunctions.GetRawDialogueText(quest, excelSheet, excelRef.AsKey()).HasValue) - { - return new ValidationIssue - { - ElementId = quest.Id, - Sequence = sequence.Sequence, - Step = stepId, - Type = EIssueType.InvalidExcelRef, - Severity = EIssueSeverity.Error, - Description = $"{label} invalid: {excelSheet} → {excelRef.AsKey()}" - }; - } - } - else if (excelRef.Type == ExcelRef.EType.RowId && !_excelFunctions.GetRawDialogueTextByRowId(excelSheet, excelRef.AsRowId()).HasValue) - { - return new ValidationIssue - { - ElementId = quest.Id, - Sequence = sequence.Sequence, - Step = stepId, - Type = EIssueType.InvalidExcelRef, - Severity = EIssueSeverity.Error, - Description = $"{label} invalid: {excelSheet} → {excelRef.AsRowId()}" - }; - } - return null; + return P_0.Type; + } + + static string _202B_206D_206E_206C_200E_202E_206F_200F_202B_202A_206F_206E_206D_202A_202D_202E_202D_202A_200F_206E_200C_202A_206E_206A_202C_206C_206B_206C_200E_206B_202D_202A_206A_206C_206C_202A_206F_206D_206E_202E_202E(ExcelRef P_0) + { + return P_0.AsKey(); + } + + static string _200F_206F_200D_206A_206F_200D_206A_206A_206A_206F_206E_202A_200C_202C_200F_202A_202C_200C_202A_200F_202D_202E_200E_206C_206A_200C_206F_200B_206E_206A_206D_200B_200E_202C_206A_202D_202E_200C_202C_202C_202E(object P_0) + { + return P_0.ToString(); + } + + static byte _206E_206B_202D_206C_206A_200B_202C_206E_200B_206B_200F_200E_206D_206D_200F_200D_202E_200E_202B_202C_200C_202C_202A_206F_202A_200F_206F_200C_206A_206C_206C_202E_200F_202B_200C_206D_206E_202A_202B_202C_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static uint _206D_200C_200F_202C_206D_202E_206A_206E_206F_202B_200E_206D_206D_206E_200D_206B_202E_202B_206D_206B_202D_200B_202C_200C_206B_202C_200F_206E_200E_206D_200B_200B_206B_206A_202B_200B_206B_202C_206D_202C_202E(ExcelRef P_0) + { + return P_0.AsRowId(); } } diff --git a/Questionable/Questionable.Validation.Validators/FateSchemaValidator.cs b/Questionable/Questionable.Validation.Validators/FateSchemaValidator.cs new file mode 100644 index 00000000..f70cda4b --- /dev/null +++ b/Questionable/Questionable.Validation.Validators/FateSchemaValidator.cs @@ -0,0 +1,22 @@ +using System.Runtime.CompilerServices; + +namespace Questionable.Validation.Validators; + +internal sealed class FateSchemaValidator : DefinitionSchemaValidator +{ + protected override EPathType PathType => EPathType.Fate; + + protected override string MainSchemaUri + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(-1643882609); + } + } + + 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 00000000..5c6b800c --- /dev/null +++ b/Questionable/Questionable.Validation.Validators/GameSequenceCoverageValidator.cs @@ -0,0 +1,354 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Runtime.CompilerServices; +using Dalamud.Plugin.Services; +using Questionable.Data; +using Questionable.Model; +using Questionable.Model.Questing; + +namespace Questionable.Validation.Validators; + +internal sealed class GameSequenceCoverageValidator : IQuestValidator +{ + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__2_0; + + internal int _003CValidate_003Eb__2_0(QuestSequence x) + { + return _202A_200F_206E_206E_206F_202A_202D_200D_200E_202D_202E_206B_206B_202C_206F_206F_200B_206B_200C_202C_200D_202B_206A_202E_206B_202A_200F_206D_202A_200D_202B_206F_202E_200F_200D_206E_206B_206F_200B_206F_202E(x); + } + + static byte _202A_200F_206E_206E_206F_202A_202D_200D_200E_202D_202E_206B_206B_202C_206F_206F_200B_206B_200C_202C_200D_202B_206A_202E_206B_202A_200F_206D_202A_200D_202B_206F_202E_200F_200D_206E_206B_206F_200B_206F_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass2_0 + { + public HashSet authored; + + internal bool _003CValidate_003Eb__1(int seq) + { + return !authored.Contains(seq); + } + } + + [CompilerGenerated] + private sealed class _003CValidate_003Ed__2 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Quest quest; + + public Quest _003C_003E3__quest; + + public GameSequenceCoverageValidator _003C_003E4__this; + + private IEnumerator _003C_003E7__wrap1; + + ValidationIssue IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__2(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _206A_200F_206B_202D_206F_202D_206B_202E_200F_206D_200B_206D_202B_206E_206C_206E_206E_206E_206A_206F_202B_200E_206E_202E_200C_202D_200C_200C_206C_202A_200C_202B_200B_200D_200B_202E_202E_200C_206D_202D_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? (-1463378025) : (-1463378026)); + while (true) + { + int num3 = num2; + int num4 = -1463378025; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 2: + num2 = -1463378026; + continue; + case 1: + if (num == 1) + { + num2 = -1463378025; + continue; + } + break; + case 0: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + GameSequenceCoverageValidator gameSequenceCoverageValidator = _003C_003E4__this; + int num2 = ((num == 0) ? (-1251389121) : (-1251389133)); + _003C_003Ec__DisplayClass2_0 _003C_003Ec__DisplayClass2_ = default(_003C_003Ec__DisplayClass2_0); + QuestId questId = default(QuestId); + while (true) + { + int num3 = num2; + int num4 = -1251389125; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 5: + return false; + case 8: + num2 = ((num == 1) ? (-1251389124) : (-1251389122)); + break; + case 6: + return false; + case 4: + _003C_003E1__state = -1; + _003C_003Ec__DisplayClass2_ = new _003C_003Ec__DisplayClass2_0(); + questId = quest.Id as QuestId; + num2 = (((object)questId != null) ? (-1251389125) : (-1251389123)); + break; + case 3: + num2 = -1251389133; + break; + case 0: + { + _003C_003Ec__DisplayClass2_.authored = ((IEnumerable)_202C_202A_206D_206A_206B_202E_206F_200C_200B_202A_206C_206B_206A_202E_206B_200C_206B_200C_200F_200F_200B_206D_200E_202C_200E_206A_200B_202C_206D_200F_200E_200F_200C_202D_200C_202A_200D_202E_206E_200E_202E(quest.Root)).Select((Func)((QuestSequence x) => _003C_003Ec._202A_200F_206E_206E_206F_202A_202D_200D_200E_202D_202E_206B_206B_202C_206F_206F_200B_206B_200C_202C_200D_202B_206A_202E_206B_202A_200F_206D_202A_200D_202B_206F_202E_200F_200D_206E_206B_206F_200B_206F_202E(x))).ToHashSet(); + IEnumerable enumerable = GameQuestSequences.GetCompletionSequences(gameSequenceCoverageValidator._dataManager, questId).Where(_003C_003Ec__DisplayClass2_._003CValidate_003Eb__1); + _003C_003E7__wrap1 = enumerable.GetEnumerator(); + _003C_003E1__state = -3; + num2 = -1251389134; + break; + } + case 2: + { + int current = _003C_003E7__wrap1.Current; + ValidationIssue obj = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _206F_206C_206E_202A_200F_206D_200B_202E_206C_200C_200B_200F_200C_202B_202B_206D_206B_202C_200D_200F_200F_200D_206B_200B_202E_200C_200D_202C_200F_206D_200D_200E_202C_206E_200B_206B_206E_202A_206B_200C_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation((byte)current, null), + Type = EIssueType.MissingPostInstanceSequence, + Severity = EIssueSeverity.Warning + }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(76, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1038269044)); + defaultInterpolatedStringHandler.AppendFormatted(current); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1871308311)); + obj.Description = _206B_202C_206E_206A_200F_206E_202A_202C_206F_200D_200C_206E_202E_200B_206B_206E_202B_202D_202E_206E_202B_206C_206B_206F_200E_206F_202B_200E_206B_206C_202C_202A_202E_202A_202D_202D_200C_206D_202E_202D_202E(defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1742548975)); + _003C_003E2__current = obj; + _003C_003E1__state = 1; + return true; + } + case 7: + _003C_003E1__state = -3; + num2 = -1251389134; + break; + case 9: + num2 = (_202A_206D_206A_200B_200B_202A_202E_202A_200B_206E_202A_202E_202D_200B_206B_200B_206B_200D_206E_202B_200B_200F_206C_200C_200E_206E_206B_206C_202E_202A_200B_202C_202E_200C_202B_206E_206F_206F_206F_200C_202E((IEnumerator)_003C_003E7__wrap1) ? (-1251389127) : (-1251389126)); + break; + case 1: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = null; + return false; + } + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap1 == null) ? (-1668424457) : (-1668424458)); + while (true) + { + int num2 = num; + int num3 = -1668424457; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1668424458; + break; + case 1: + _200F_206D_206A_206E_202C_206E_200E_200C_202C_206C_206D_206F_202C_202C_200F_202A_202A_202D_206C_206E_202A_206A_200B_206A_206C_206E_206D_200C_200B_202A_206B_200C_206B_200F_200E_202C_206A_206C_202C_206A_202E((IDisposable)_003C_003E7__wrap1); + num = -1668424457; + break; + case 0: + return; + } + } + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206E_206F_200C_200C_206F_200C_202E_202A_206E_206D_200D_206F_202D_206E_202E_200F_206C_206B_200F_200E_200B_202B_206F_206F_202D_202D_200C_202C_202A_200F_200D_202D_200B_202C_202E_200D_202D_206C_202C_200F_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-272048312) : (-272048307)); + _003CValidate_003Ed__2 _003CValidate_003Ed__ = default(_003CValidate_003Ed__2); + while (true) + { + int num2 = num; + int num3 = -272048308; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _003CValidate_003Ed__.quest = _003C_003E3__quest; + return _003CValidate_003Ed__; + case 2: + _003C_003E1__state = 0; + _003CValidate_003Ed__ = this; + num = -272048308; + break; + case 1: + num = ((_003C_003El__initialThreadId != _206A_200F_206B_202D_206F_202D_206B_202E_200F_206D_200B_206D_202B_206E_206C_206E_206E_206E_206A_206F_202B_200E_206E_202E_200C_202D_200C_200C_206C_202A_200C_202B_200B_200D_200B_202E_202E_200C_206D_202D_202E()) ? (-272048312) : (-272048306)); + break; + case 4: + _003CValidate_003Ed__ = new _003CValidate_003Ed__2(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = -272048308; + break; + case 3: + num = -272048307; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _206A_200F_206B_202D_206F_202D_206B_202E_200F_206D_200B_206D_202B_206E_206C_206E_206E_206E_206A_206F_202B_200E_206E_202E_200C_202D_200C_200C_206C_202A_200C_202B_200B_200D_200B_202E_202E_200C_206D_202D_202E() + { + return Environment.CurrentManagedThreadId; + } + + static List _202C_202A_206D_206A_206B_202E_206F_200C_200B_202A_206C_206B_206A_202E_206B_200C_206B_200C_200F_200F_200B_206D_200E_202C_200E_206A_200B_202C_206D_200F_200E_200F_200C_202D_200C_202A_200D_202E_206E_200E_202E(QuestRoot P_0) + { + return P_0.QuestSequence; + } + + static string _206F_206C_206E_202A_200F_206D_200B_202E_206C_200C_200B_200F_200C_202B_202B_206D_206B_202C_200D_200F_200F_200D_206B_200B_202E_200C_200D_202C_200F_206D_200D_200E_202C_206E_200B_206B_206E_202A_206B_200C_202E(object P_0) + { + return P_0.ToString(); + } + + static string _206B_202C_206E_206A_200F_206E_202A_202C_206F_200D_200C_206E_202E_200B_206B_206E_202B_202D_202E_206E_202B_206C_206B_206F_200E_206F_202B_200E_206B_206C_202C_202A_202E_202A_202D_202D_200C_206D_202E_202D_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _202A_206D_206A_200B_200B_202A_202E_202A_200B_206E_202A_202E_202D_200B_206B_200B_206B_200D_206E_202B_200B_200F_206C_200C_200E_206E_206B_206C_202E_202A_200B_202C_202E_200C_202B_206E_206F_206F_206F_200C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200F_206D_206A_206E_202C_206E_200E_200C_202C_206C_206D_206F_202C_202C_200F_202A_202A_202D_206C_206E_202A_206A_200B_206A_206C_206E_206D_200C_200B_202A_206B_200C_206B_200F_200E_202C_206A_206C_202C_206A_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _206E_206F_200C_200C_206F_200C_202E_202A_206E_206D_200D_206F_202D_206E_202E_200F_206C_206B_200F_200E_200B_202B_206F_206F_202D_202D_200C_202C_202A_200F_200D_202D_200B_202C_202E_200D_202D_206C_202C_200F_202E() + { + return new NotSupportedException(); + } + } + + private readonly IDataManager _dataManager; + + public GameSequenceCoverageValidator(IDataManager dataManager) + { + _dataManager = dataManager; + } + + [IteratorStateMachine(typeof(_003CValidate_003Ed__2))] + public IEnumerable Validate(Quest quest) + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CValidate_003Ed__2(-2) + { + _003C_003E4__this = this, + _003C_003E3__quest = quest + }; + } + + IEnumerable IQuestValidator.Validate(Quest quest) + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(quest); + } +} diff --git a/Questionable/Questionable.Validation.Validators/GatheringSchemaValidator.cs b/Questionable/Questionable.Validation.Validators/GatheringSchemaValidator.cs new file mode 100644 index 00000000..25e97135 --- /dev/null +++ b/Questionable/Questionable.Validation.Validators/GatheringSchemaValidator.cs @@ -0,0 +1,22 @@ +using System.Runtime.CompilerServices; + +namespace Questionable.Validation.Validators; + +internal sealed class GatheringSchemaValidator : DefinitionSchemaValidator +{ + protected override EPathType PathType => EPathType.Gathering; + + protected override string MainSchemaUri + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(-945562084); + } + } + + public GatheringSchemaValidator(SchemaRegistrar schemaRegistrar) + : base(schemaRegistrar) + { + } +} diff --git a/Questionable/Questionable.Validation.Validators/JsonSchemaValidator.cs b/Questionable/Questionable.Validation.Validators/JsonSchemaValidator.cs index 126240e3..f2444825 100644 --- a/Questionable/Questionable.Validation.Validators/JsonSchemaValidator.cs +++ b/Questionable/Questionable.Validation.Validators/JsonSchemaValidator.cs @@ -1,337 +1,1077 @@ using System; using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Globalization; -using System.IO; using System.Linq; -using System.Reflection; -using System.Text; +using System.Runtime.CompilerServices; +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 System.Text.RegularExpressions; using Json.Schema; using Questionable.Model; using Questionable.Model.Questing; -using Questionable.QuestPaths; namespace Questionable.Validation.Validators; internal sealed class JsonSchemaValidator : IQuestValidator { - private const string QuestSchemaUri = "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/QuestPaths/quest-v1.json"; + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func<(byte? Sequence, int? Step, string PropertyPath, string Message), (byte? Sequence, int? Step)> _003C_003E9__4_1; + + public static Func<(byte? Sequence, int? Step, string PropertyPath, string Message), string> _003C_003E9__4_2; + + public static Func<(byte? Sequence, int? Step, string PropertyPath, string Message), (byte? Sequence, int? Step)> _003C_003E9__5_1; + + public static Func<(byte? Sequence, int? Step, string PropertyPath, string Message), string> _003C_003E9__5_2; + + public static Func, bool> _003C_003E9__6_5; + + public static Func, string> _003C_003E9__6_6; + + public static Predicate _003C_003E9__6_0; + + public static Predicate _003C_003E9__6_1; + + public static Predicate _003C_003E9__6_2; + + public static Predicate _003C_003E9__6_3; + + public static Predicate _003C_003E9__6_4; + + public static Func _003C_003E9__15_0; + + internal (byte? Sequence, int? Step) _003CValidate_003Eb__4_1((byte? Sequence, int? Step, string PropertyPath, string Message) e) + { + return (Sequence: e.Sequence, Step: e.Step); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003CValidate_003Eb__4_2((byte? Sequence, int? Step, string PropertyPath, string Message) e) + { + int num = (_202E_200E_206E_206D_202B_206E_202D_202E_202A_206D_206F_202A_202B_200F_206F_206C_206D_202B_206F_206B_202B_206F_206D_206C_206E_200D_202B_206D_202E_206E_206F_202D_202E_200B_206B_200C_202E_200D_200E_202C_202E(e.PropertyPath) ? 1407445173 : 1407445172); + while (true) + { + int num2 = num; + int num3 = 1407445173; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return e.Message; + case 1: + return _206A_206C_206A_206D_200D_206B_200B_200C_206F_200B_202D_206A_200F_206D_202C_202C_202D_202D_206E_206A_206A_202A_206B_200F_206E_200C_206E_206A_206F_206C_202B_206C_200E_206E_200E_206B_206F_202B_200D_202E(e.PropertyPath, global::_003CModule_003E._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(1545053118), e.Message); + case 2: + goto IL_006e; + } + continue; + IL_006e: + num = 1407445172; + } + } + + internal (byte? Sequence, int? Step) _003CValidateImmediate_003Eb__5_1((byte? Sequence, int? Step, string PropertyPath, string Message) e) + { + return (Sequence: e.Sequence, Step: e.Step); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003CValidateImmediate_003Eb__5_2((byte? Sequence, int? Step, string PropertyPath, string Message) e) + { + int num = (_202E_200E_206E_206D_202B_206E_202D_202E_202A_206D_206F_202A_202B_200F_206F_206C_206D_202B_206F_206B_202B_206F_206D_206C_206E_200D_202B_206D_202E_206E_206F_202D_202E_200B_206B_200C_202E_200D_200E_202C_202E(e.PropertyPath) ? 1703630483 : 1703630480); + while (true) + { + int num2 = num; + int num3 = 1703630482; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return e.Message; + case 2: + return _206A_206C_206A_206D_200D_206B_200B_200C_206F_200B_202D_206A_200F_206D_202C_202C_202D_202D_206E_206A_206A_202A_206B_200F_206E_200C_206E_206A_206F_206C_202B_206C_200E_206E_200E_206B_206F_202B_200D_202E(e.PropertyPath, global::_003CModule_003E._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(2074665157), e.Message); + case 0: + goto IL_0070; + } + continue; + IL_0070: + num = 1703630480; + } + } + + internal bool _003CSimplifyConditionalRequiredErrors_003Eb__6_5(KeyValuePair x) + { + return x.Value != null; + } + + internal string _003CSimplifyConditionalRequiredErrors_003Eb__6_6(KeyValuePair x) + { + return x.Key; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003CSimplifyConditionalRequiredErrors_003Eb__6_0(string x) + { + int num = (IsRequiredPropertyError(x, global::_003CModule_003E._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(-1518164676)) ? (-2117687274) : (-2117687276)); + while (true) + { + int num2 = num; + int num3 = -2117687275; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -2117687276; + break; + case 0: + return IsRequiredPropertyError(x, global::_003CModule_003E._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(1372080508)); + case 3: + return true; + case 1: + num = (IsRequiredPropertyError(x, global::_003CModule_003E._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(1316123041)) ? (-2117687274) : (-2117687275)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003CSimplifyConditionalRequiredErrors_003Eb__6_1(string x) + { + return IsRequiredPropertyError(x, global::_003CModule_003E._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(-1980697895)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003CSimplifyConditionalRequiredErrors_003Eb__6_2(string x) + { + int num = (IsRequiredPropertyError(x, global::_003CModule_003E._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(-332485666)) ? (-362335936) : (-362335935)); + while (true) + { + int num2 = num; + int num3 = -362335936; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0052; + case 0: + return true; + case 1: + return IsRequiredPropertyError(x, global::_003CModule_003E._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(-1742329127)); + } + continue; + IL_0052: + num = -362335935; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003CSimplifyConditionalRequiredErrors_003Eb__6_3(string x) + { + return IsRequiredPropertyError(x, global::_003CModule_003E._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(-301952118)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003CSimplifyConditionalRequiredErrors_003Eb__6_4(string x) + { + return IsRequiredPropertyError(x, global::_003CModule_003E._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(1768019597)); + } + + internal bool _003CNoEmptyCollectionModifier_003Eb__15_0(object _, object? val) + { + ICollection collection = val as ICollection; + int num = ((collection == null) ? (-1341388091) : (-1341388092)); + while (true) + { + int num2 = num; + int num3 = -1341388091; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + return _206D_206E_206C_202B_206F_200B_200D_200C_206D_206F_200E_206B_206F_202C_206A_202D_206D_206C_200B_202E_200D_200C_206D_200B_202D_206C_200E_206E_206C_200C_200C_200E_202D_202D_200C_200D_202D_206A_206A_200F_202E(collection) > 0; + case 2: + goto IL_0056; + } + continue; + IL_0056: + num = -1341388092; + } + } + + static bool _202E_200E_206E_206D_202B_206E_202D_202E_202A_206D_206F_202A_202B_200F_206F_206C_206D_202B_206F_206B_202B_206F_206D_206C_206E_200D_202B_206D_202E_206E_206F_202D_202E_200B_206B_200C_202E_200D_200E_202C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string _206A_206C_206A_206D_200D_206B_200B_200C_206F_200B_202D_206A_200F_206D_202C_202C_202D_202D_206E_206A_206A_202A_206B_200F_206E_200C_206E_206A_206F_206C_202B_206C_200E_206E_200E_206B_206F_202B_200D_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static int _206D_206E_206C_202B_206F_200B_200D_200C_206D_206F_200E_206B_206F_202C_206A_202D_206D_206C_200B_202E_200D_200C_206D_200B_202D_206C_200E_206E_206C_200C_200C_200E_202D_202D_200C_200D_202D_206A_206A_200F_202E(ICollection P_0) + { + return P_0.Count; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass4_0 + { + public Dictionary sequenceMap; + + internal (byte? Sequence, int? Step, string PropertyPath, string Message) _003CValidate_003Eb__0(SchemaValidationHelper.ParsedError e) + { + var (item, item2, rawPath) = ParseInstanceLocation(e.InstancePath, sequenceMap); + return (Sequence: item, Step: item2, PropertyPath: SchemaValidationHelper.FormatPath(rawPath), Message: e.Message); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass8_0 + { + public byte? sequence; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003CFindStepNode_003Eb__0(JsonObject x) + { + return _202C_200B_206E_202D_200D_202D_202A_200D_200B_200C_200E_206F_200B_200E_202C_202E_200F_206A_206A_200B_200B_200F_202D_206F_206C_206E_202E_200C_200C_200D_200D_206C_202A_206A_202C_206A_202A_206C_206A_206E_202E((JsonNode)x, global::_003CModule_003E._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(916692153))?.GetValue() == sequence.Value; + } + + static JsonNode _202C_200B_206E_202D_200D_202D_202A_200D_200B_200C_200E_206F_200B_200E_202C_202E_200F_206A_206A_200B_200B_200F_202D_206F_206C_206E_202E_200C_200C_200D_200D_206C_202A_206A_202C_206A_202A_206C_206A_206E_202E(JsonNode P_0, string P_1) + { + return P_0[P_1]; + } + } + + [CompilerGenerated] + private sealed class _003CValidate_003Ed__4 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public JsonSchemaValidator _003C_003E4__this; + + private Quest quest; + + public Quest _003C_003E3__quest; + + private JsonNode _003CquestNode_003E5__2; + + private IEnumerator> _003C_003E7__wrap2; + + ValidationIssue IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__4(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _200F_206E_200B_202A_206D_200D_206B_200F_200D_200B_200E_202C_202A_206D_200C_206A_206F_206E_200B_200E_200D_200F_200F_206B_202E_206A_202B_202C_200B_200E_200E_202D_206E_206F_202B_200C_206A_202A_200B_206C_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? (-1542116256) : (-1542116255)); + while (true) + { + int num3 = num2; + int num4 = -1542116256; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 2: + num2 = -1542116255; + continue; + case 1: + if (num == 2) + { + num2 = -1542116256; + continue; + } + break; + case 0: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003CquestNode_003E5__2 = null; + _003C_003E7__wrap2 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + JsonSchemaValidator jsonSchemaValidator = _003C_003E4__this; + int num2; + List list2 = default(List); + _003C_003Ec__DisplayClass4_0 _003C_003Ec__DisplayClass4_ = default(_003C_003Ec__DisplayClass4_0); + IGrouping<(byte?, int?), (byte?, int?, string, string)> current = default(IGrouping<(byte?, int?), (byte?, int?, string, string)>); + List list = default(List); + EvaluationResults evaluationResults = default(EvaluationResults); + switch (num) + { + default: + num2 = 1845948745; + goto IL_002c; + case 1: + break; + case 2: + _003C_003E1__state = -3; + num2 = 1845948750; + goto IL_002c; + case 0: + goto IL_028d; + IL_002c: + while (true) + { + int num3 = num2; + int num4 = 1845948743; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 3: + _003C_003E2__current = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _202A_200D_200F_200C_200D_202D_206F_202A_200D_206A_202B_206A_206D_200C_206B_206D_206B_200B_200F_200E_202E_206B_206B_202C_200D_200C_200C_206E_206B_206B_202D_206E_200E_200D_206D_202A_200D_200C_202C_206E_202E((object)quest.Id), + Location = null, + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = global::_003CModule_003E._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(298877451) + }; + _003C_003E1__state = 1; + return true; + case 12: + { + List<(byte?, int?, string, string)> source = list2.Select(_003C_003Ec__DisplayClass4_._003CValidate_003Eb__0).ToList(); + _003C_003E7__wrap2 = (from e in source + group e by (Sequence: e.Sequence, Step: e.Step)).GetEnumerator(); + _003C_003E1__state = -3; + num2 = 1845948750; + break; + } + case 10: + return false; + case 1: + goto end_IL_000f; + case 14: + return false; + case 11: + num2 = 1845948745; + break; + case 5: + return false; + case 16: + goto end_IL_002c; + case 8: + goto IL_01cc; + case 15: + goto IL_0220; + case 9: + goto IL_0265; + case 0: + goto IL_028d; + case 13: + jsonSchemaValidator._questSchema = jsonSchemaValidator._schemaRegistrar.Get(global::_003CModule_003E._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(-1720677466)); + num2 = 1845948751; + break; + case 4: + _003C_003E2__current = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _202A_200D_200F_200C_200D_202D_206F_202A_200D_206A_202B_206A_206D_200C_206B_206D_206B_200B_200F_200E_202E_206B_206B_202C_200D_200C_200C_206E_206B_206B_202D_206E_200E_200D_206D_202A_200D_200C_202C_206E_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation(current.Key.Item1, current.Key.Item2), + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = _202E_202C_202C_206B_206B_200F_202C_200D_202A_202A_200B_202D_206A_206F_202B_206C_206E_200E_206E_200B_206F_206B_200E_200F_202D_206D_202B_206F_206F_202B_200C_200F_200C_206A_206D_206E_200B_206D_202D_206D_202E(global::_003CModule_003E._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(-976057447), (IEnumerable)list) + }; + _003C_003E1__state = 2; + return true; + case 2: + goto IL_0384; + case 7: + goto IL_0414; + case 6: + _003C_003Em__Finally1(); + _003C_003E7__wrap2 = null; + return false; + } + continue; + IL_0414: + num2 = ((jsonSchemaValidator._questSchema != null) ? 1845948751 : 1845948746); + continue; + IL_01cc: + JsonSchema? questSchema = jsonSchemaValidator._questSchema; + JsonElement jsonElement = JsonSerializer.SerializeToElement(_003CquestNode_003E5__2); + EvaluationOptions evaluationOptions = _206E_202D_206F_206C_200F_200B_200C_206C_206D_206F_202E_200E_206F_206F_202B_206C_202D_206A_202B_202A_200F_200C_200B_200B_206E_200F_200E_206F_206A_202C_206D_202D_200F_206C_206C_202B_206F_206B_206C_206B_202E(); + _206B_206A_200F_202E_206D_200B_206E_200B_202E_202C_200D_200E_206B_202B_202B_206A_200D_200F_206C_206A_200E_202C_202A_206E_206B_206B_206C_200B_206F_200E_200D_206C_202A_200D_200F_206F_200B_202E_200C_206E_202E(evaluationOptions, _206D_200C_202A_202A_206A_206F_206D_206D_202B_200F_206B_206A_202D_202C_200D_206B_206D_202A_206A_200F_206A_206C_206C_200C_206C_200E_206E_200E_200C_202E_200D_200B_206E_206A_200C_206B_206F_206B_202B_200D_202E()); + _206C_202B_200B_206B_202B_202D_202C_200D_206D_202D_206A_200D_200C_206C_202A_200B_202E_206F_200B_206A_206D_200B_202D_202D_206D_200F_206E_206F_206E_200D_202B_200B_206F_200C_200F_206D_202E_200F_200B_200D_202E(evaluationOptions, OutputFormat.Hierarchical); + evaluationResults = _206E_202C_206F_200E_200D_206D_206F_206A_202C_206D_202C_206E_206C_202A_202A_206E_206C_202E_202A_202A_206E_202A_206B_200E_202B_200F_202B_200F_200D_202A_200B_206D_206E_206C_206C_200F_202D_206C_202D_206E_202E(questSchema, jsonElement, evaluationOptions); + num2 = ((!_206D_206C_202C_206A_202D_202C_206E_200F_206E_206E_206F_206D_206B_206A_202D_206D_200B_202D_200C_202C_206C_206B_200D_206D_202D_202C_202C_206F_200D_202B_202B_206D_206A_206D_206C_202B_200D_202D_202B_206F_202E(evaluationResults)) ? 1845948744 : 1845948738); + continue; + IL_0220: + _003C_003Ec__DisplayClass4_.sequenceMap = BuildSequenceMap(_003CquestNode_003E5__2); + list2 = new List(); + SchemaValidationHelper.CollectLeafErrors(evaluationResults, list2); + num2 = ((list2.Count != 0) ? 1845948747 : 1845948740); + continue; + IL_0384: + current = _003C_003E7__wrap2.Current; + list = current.Select<(byte?, int?, string, string), string>([MethodImpl(MethodImplOptions.NoInlining)] ((byte? Sequence, int? Step, string PropertyPath, string Message) e) => + { + int num6 = (_003C_003Ec._202E_200E_206E_206D_202B_206E_202D_202E_202A_206D_206F_202A_202B_200F_206F_206C_206D_202B_206F_206B_202B_206F_206D_206C_206E_200D_202B_206D_202E_206E_206F_202D_202E_200B_206B_200C_202E_200D_200E_202C_202E(e.PropertyPath) ? 1407445173 : 1407445172); + while (true) + { + int num7 = num6; + int num8 = 1407445173; + int num9 = num7; + switch ((num9 | num8) - (num9 & num8)) + { + case 0: + return e.Message; + case 1: + return _003C_003Ec._206A_206C_206A_206D_200D_206B_200B_200C_206F_200B_202D_206A_200F_206D_202C_202C_202D_202D_206E_206A_206A_202A_206B_200F_206E_200C_206E_206A_206F_206C_202B_206C_200E_206E_200E_206B_206F_202B_200D_202E(e.PropertyPath, global::_003CModule_003E._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(1545053118), e.Message); + case 2: + goto IL_006e; + } + continue; + IL_006e: + num6 = 1407445172; + } + }).Distinct().ToList(); + SimplifyConditionalRequiredErrors(list, FindStepNode(_003CquestNode_003E5__2, current.Key.Item1, current.Key.Item2)); + num2 = ((list.Count == 0) ? 1845948750 : 1845948739); + continue; + IL_0265: + num2 = (_206A_202C_200B_202D_200E_206B_206A_200F_202E_200E_200D_202A_202B_202C_206A_200D_206B_202D_200C_200C_206C_206E_206C_200D_202C_206B_202C_200D_206B_206E_206C_200B_206D_206F_206C_206F_202B_206E_206C_202B_202E((IEnumerator)_003C_003E7__wrap2) ? 1845948741 : 1845948737); + continue; + end_IL_002c: + break; + } + goto case 2; + IL_028d: + _003C_003E1__state = -1; + _003C_003Ec__DisplayClass4_ = new _003C_003Ec__DisplayClass4_0(); + num2 = (jsonSchemaValidator._questNodes.TryGetValue(quest.Id, out _003CquestNode_003E5__2) ? 1845948736 : 1845948749); + goto IL_002c; + end_IL_000f: + break; + } + _003C_003E1__state = -1; + return false; + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap2 == null) ? (-232982781) : (-232982784)); + while (true) + { + int num2 = num; + int num3 = -232982783; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return; + case 1: + _202E_202A_206F_200D_200C_202A_202E_200C_206F_200E_206F_202E_202A_200F_202E_200D_202E_202A_202B_202A_206B_200E_202D_200E_202E_206D_200E_200C_206B_200E_206C_202C_206B_200B_202C_206A_206D_206F_202D_202E_202E((IDisposable)_003C_003E7__wrap2); + num = -232982781; + break; + case 0: + num = -232982784; + break; + } + } + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _202D_206F_206F_200F_202E_200D_200B_202A_202D_206B_206E_206F_200B_206C_202B_200C_200F_202B_200E_202B_202A_206A_200F_200C_202A_206B_200D_202A_206D_206A_200B_200F_206B_200C_206A_202C_202B_200F_206C_206A_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-1444097586) : (-1444097592)); + _003CValidate_003Ed__4 _003CValidate_003Ed__ = default(_003CValidate_003Ed__4); + while (true) + { + int num2 = num; + int num3 = -1444097588; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _003CValidate_003Ed__.quest = _003C_003E3__quest; + return _003CValidate_003Ed__; + case 4: + num = ((_003C_003El__initialThreadId != _200F_206E_200B_202A_206D_200D_206B_200F_200D_200B_200E_202C_202A_206D_200C_206A_206F_206E_200B_200E_200D_200F_200F_206B_202E_206A_202B_202C_200B_200E_200E_202D_206E_206F_202B_200C_206A_202A_200B_206C_202E()) ? (-1444097586) : (-1444097585)); + break; + case 3: + _003C_003E1__state = 0; + _003CValidate_003Ed__ = this; + num = -1444097587; + break; + case 0: + num = -1444097592; + break; + case 2: + _003CValidate_003Ed__ = new _003CValidate_003Ed__4(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = -1444097587; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _200F_206E_200B_202A_206D_200D_206B_200F_200D_200B_200E_202C_202A_206D_200C_206A_206F_206E_200B_200E_200D_200F_200F_206B_202E_206A_202B_202C_200B_200E_200E_202D_206E_206F_202B_200C_206A_202A_200B_206C_202E() + { + return Environment.CurrentManagedThreadId; + } + + static EvaluationOptions _206E_202D_206F_206C_200F_200B_200C_206C_206D_206F_202E_200E_206F_206F_202B_206C_202D_206A_202B_202A_200F_200C_200B_200B_206E_200F_200E_206F_206A_202C_206D_202D_200F_206C_206C_202B_206F_206B_206C_206B_202E() + { + return new EvaluationOptions(); + } + + static CultureInfo _206D_200C_202A_202A_206A_206F_206D_206D_202B_200F_206B_206A_202D_202C_200D_206B_206D_202A_206A_200F_206A_206C_206C_200C_206C_200E_206E_200E_200C_202E_200D_200B_206E_206A_200C_206B_206F_206B_202B_200D_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _206B_206A_200F_202E_206D_200B_206E_200B_202E_202C_200D_200E_206B_202B_202B_206A_200D_200F_206C_206A_200E_202C_202A_206E_206B_206B_206C_200B_206F_200E_200D_206C_202A_200D_200F_206F_200B_202E_200C_206E_202E(EvaluationOptions P_0, CultureInfo P_1) + { + P_0.Culture = P_1; + } + + static void _206C_202B_200B_206B_202B_202D_202C_200D_206D_202D_206A_200D_200C_206C_202A_200B_202E_206F_200B_206A_206D_200B_202D_202D_206D_200F_206E_206F_206E_200D_202B_200B_206F_200C_200F_206D_202E_200F_200B_200D_202E(EvaluationOptions P_0, OutputFormat P_1) + { + P_0.OutputFormat = P_1; + } + + static EvaluationResults _206E_202C_206F_200E_200D_206D_206F_206A_202C_206D_202C_206E_206C_202A_202A_206E_206C_202E_202A_202A_206E_202A_206B_200E_202B_200F_202B_200F_200D_202A_200B_206D_206E_206C_206C_200F_202D_206C_202D_206E_202E(JsonSchema P_0, JsonElement P_1, EvaluationOptions P_2) + { + return P_0.Evaluate(P_1, P_2); + } + + static bool _206D_206C_202C_206A_202D_202C_206E_200F_206E_206E_206F_206D_206B_206A_202D_206D_200B_202D_200C_202C_206C_206B_200D_206D_202D_202C_202C_206F_200D_202B_202B_206D_206A_206D_206C_202B_200D_202D_202B_206F_202E(EvaluationResults P_0) + { + return P_0.IsValid; + } + + static string _202A_200D_200F_200C_200D_202D_206F_202A_200D_206A_202B_206A_206D_200C_206B_206D_206B_200B_200F_200E_202E_206B_206B_202C_200D_200C_200C_206E_206B_206B_202D_206E_200E_200D_206D_202A_200D_200C_202C_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static string _202E_202C_202C_206B_206B_200F_202C_200D_202A_202A_200B_202D_206A_206F_202B_206C_206E_200E_206E_200B_206F_206B_200E_200F_202D_206D_202B_206F_206F_202B_200C_200F_200C_206A_206D_206E_200B_206D_202D_206D_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static bool _206A_202C_200B_202D_200E_206B_206A_200F_202E_200E_200D_202A_202B_202C_206A_200D_206B_202D_200C_200C_206C_206E_206C_200D_202C_206B_202C_200D_206B_206E_206C_200B_206D_206F_206C_206F_202B_206E_206C_202B_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202E_202A_206F_200D_200C_202A_202E_200C_206F_200E_206F_202E_202A_200F_202E_200D_202E_202A_202B_202A_206B_200E_202D_200E_202E_206D_200E_200C_206B_200E_206C_202C_206B_200B_202C_206A_206D_206F_202D_202E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _202D_206F_206F_200F_202E_200D_200B_202A_202D_206B_206E_206F_200B_206C_202B_200C_200F_202B_200E_202B_202A_206A_200F_200C_202A_206B_200D_202A_206D_206A_200B_200F_206B_200C_206A_202C_202B_200F_206C_206A_202E() + { + return new NotSupportedException(); + } + } + + private readonly SchemaRegistrar _schemaRegistrar; private readonly Dictionary _questNodes = new Dictionary(); - private static readonly JsonSerializerOptions ValidationSerializationOptions = new JsonSerializerOptions - { - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault, - IncludeFields = false, - WriteIndented = false, - TypeInfoResolver = new DefaultJsonTypeInfoResolver - { - Modifiers = { (Action)NoEmptyCollectionModifier } - } - }; - 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; + + public JsonSchemaValidator(SchemaRegistrar schemaRegistrar) { - bool flag = false; - DirectoryInfo directoryInfo = FindProjectRoot(); - if (directoryInfo != null) - { - 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(); - } - } + _schemaRegistrar = schemaRegistrar; } + [IteratorStateMachine(typeof(_003CValidate_003Ed__4))] public IEnumerable Validate(Quest quest) { - if (_questSchema == null) + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CValidate_003Ed__4(-2) { - _questSchema = JsonSchema.FromStream(AssemblyQuestLoader.QuestSchema).AsTask().Result; - } - if (!_questNodes.TryGetValue(quest.Id, out JsonNode value)) + _003C_003E4__this = this, + _003C_003E3__quest = quest + }; + } + + IEnumerable IQuestValidator.Validate(Quest quest) + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(quest); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public List ValidateImmediate(ElementId elementId, JsonNode questNode) + { + int num = ((_questSchema != null) ? (-1183405652) : (-1183405653)); + Dictionary sequenceMap = default(Dictionary); + List list2 = default(List); + EvaluationResults evaluationResults = default(EvaluationResults); + IGrouping<(byte?, int?), (byte?, int?, string, string)> current = default(IGrouping<(byte?, int?), (byte?, int?, string, string)>); + List list3 = default(List); + while (true) { - yield break; - } - EvaluationResults evaluationResults = null; - ValidationIssue validationIssue = null; - try - { - evaluationResults = _questSchema.Evaluate(value, new EvaluationOptions + int num2 = num; + int num3 = -1183405651; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - Culture = CultureInfo.InvariantCulture, - OutputFormat = OutputFormat.List - }); - } - catch (ArgumentException ex) when (ex.Message.Contains("same key", StringComparison.Ordinal)) - { - Match match = Regex.Match(ex.Message, "Key: (.+)"); - string text = (match.Success ? match.Groups[1].Value.Trim() : "unknown"); - validationIssue = new ValidationIssue + case 5: + sequenceMap = BuildSequenceMap(questNode); + list2 = new List(); + SchemaValidationHelper.CollectLeafErrors(evaluationResults, list2); + num = ((list2.Count != 0) ? (-1183405649) : (-1183405655)); + break; + case 3: + return new List(); + case 0: + num = -1183405653; + break; + case 4: { - ElementId = quest.Id, - Sequence = null, - Step = null, - Type = EIssueType.InvalidJsonSyntax, - Severity = EIssueSeverity.Error, - Description = "Duplicate JSON property '" + text + "' in quest file. Remove the duplicate key." - }; - } - if (validationIssue != null) - { - yield return validationIssue; - } - else - { - if (evaluationResults == null || evaluationResults.IsValid) - { - yield break; - } - var array = (from r in GetInvalidResults(evaluationResults).ToArray() - where !(r.EvaluationPath?.ToString() ?? string.Empty).Contains("/if", StringComparison.Ordinal) - group r by r.InstanceLocation?.ToString() ?? "").Select(delegate(IGrouping g) - { - 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 + int num9 = 1; + List list4 = new List(num9); + CollectionsMarshal.SetCount(list4, num9); + CollectionsMarshal.AsSpan(list4)[0] = new ValidationIssue { - Path = g.Key, - Messages = messages + PathType = EPathType.Quest, + Id = _202A_206B_206D_200C_206A_206D_206A_202A_206F_200B_206F_200D_200E_202B_200F_202E_200D_206B_200F_206F_206D_200D_200D_200D_206F_200C_206F_206F_200D_206D_206B_206D_202B_206D_206D_200F_202C_206F_206C_202C_202E((object)elementId), + Location = null, + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = global::_003CModule_003E._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(955249200) }; - }).ToArray(); - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.AppendLine("JSON Validation failed:"); - if (array.Length == 0) - { - stringBuilder.AppendLine(" - : validation failed"); + return list4; } - else + case 1: { - 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); - } + JsonSchema? questSchema = _questSchema; + JsonElement jsonElement = JsonSerializer.SerializeToElement(questNode); + EvaluationOptions evaluationOptions = _206D_206E_202B_200E_206A_202A_206B_206E_206F_202E_202D_206A_200D_202C_206B_200B_202A_202A_206F_206C_202D_200C_202C_202C_206D_200F_202D_206C_202D_202E_202C_200B_202C_202A_200B_206C_202C_202D_200B_200F_202E(); + _206E_200B_202B_200E_206A_206A_200C_202B_206C_202B_200B_202E_202E_200D_202E_202D_200B_202C_200D_200E_206A_200D_202D_206B_200C_206D_200E_206B_200E_200E_202E_202E_202D_202E_200D_206B_206E_206F_206D_202C_202E(evaluationOptions, _202D_200C_206F_206F_200E_206B_206F_202E_206A_202D_206F_200F_206D_206A_202C_200E_202D_200D_206E_202D_206B_206D_200D_202E_202E_206F_200C_202B_200E_200F_206F_206D_206A_202C_200E_206E_200F_202A_200B_200D_202E()); + _206A_202D_200F_200F_202A_202B_202B_200E_200D_202D_206D_202C_202C_206B_206F_200F_202C_202E_202A_202B_202D_200E_206C_200C_206B_202D_206A_200D_206C_200F_200F_202E_200B_200D_202E_202D_202C_200F_206C_202C_202E(evaluationOptions, OutputFormat.Hierarchical); + evaluationResults = _202B_206E_200D_200B_206D_206E_206B_206E_206C_202E_206C_200D_206F_206A_206F_202B_206A_200B_206A_202C_200B_200D_202E_206B_202C_200D_202E_202D_206B_200C_200D_206E_206F_202C_206B_206E_202C_200D_206B_200C_202E(questSchema, jsonElement, evaluationOptions); + num = ((!_200F_200B_206C_200D_202B_206F_200C_206A_202A_206C_206D_206F_200F_200F_202B_202C_206E_206A_202B_202C_202D_200E_202D_206F_200F_206E_202C_202E_206E_200F_200F_206B_200D_206D_206A_200F_202D_200C_206D_200D_202E(evaluationResults)) ? (-1183405656) : (-1183405650)); + break; } - yield return new ValidationIssue + case 6: + _questSchema = _schemaRegistrar.Get(global::_003CModule_003E._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(751310152)); + num = -1183405652; + break; + case 2: { - 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) - { - yield return result; - } - if (result.HasDetails) - { - foreach (EvaluationResults detail in result.Details) - { - foreach (EvaluationResults invalidResult in GetInvalidResults(detail)) + List list = new List(); + IEnumerator> enumerator = (from e in list2.Select(delegate(SchemaValidationHelper.ParsedError e) { - yield return invalidResult; + 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)).GetEnumerator(); + try + { + num = -1597210039; + while (true) + { + int num5 = num; + num3 = -1597210038; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = -1597210039; + break; + case 1: + current = enumerator.Current; + list3 = current.Select<(byte?, int?, string, string), string>([MethodImpl(MethodImplOptions.NoInlining)] ((byte? Sequence, int? Step, string PropertyPath, string Message) e) => + { + int num10 = (_003C_003Ec._202E_200E_206E_206D_202B_206E_202D_202E_202A_206D_206F_202A_202B_200F_206F_206C_206D_202B_206F_206B_202B_206F_206D_206C_206E_200D_202B_206D_202E_206E_206F_202D_202E_200B_206B_200C_202E_200D_200E_202C_202E(e.PropertyPath) ? 1703630483 : 1703630480); + while (true) + { + int num11 = num10; + int num12 = 1703630482; + int num13 = num11; + int num14 = num13 + num12; + int num15 = num13 & num12; + switch (num14 - (num15 + num15)) + { + case 1: + return e.Message; + case 2: + return _003C_003Ec._206A_206C_206A_206D_200D_206B_200B_200C_206F_200B_202D_206A_200F_206D_202C_202C_202D_202D_206E_206A_206A_202A_206B_200F_206E_200C_206E_206A_206F_206C_202B_206C_200E_206E_200E_206B_206F_202B_200D_202E(e.PropertyPath, global::_003CModule_003E._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(2074665157), e.Message); + case 0: + goto IL_0070; + } + continue; + IL_0070: + num10 = 1703630480; + } + }).Distinct().ToList(); + num = ((list3.Count == 0) ? (-1597210039) : (-1597210034)); + break; + case 4: + list.Add(new ValidationIssue + { + PathType = EPathType.Quest, + Id = _202A_206B_206D_200C_206A_206D_206A_202A_206F_200B_206F_200D_200E_202B_200F_202E_200D_206B_200F_206F_206D_200D_200D_200D_206F_200C_206F_206F_200D_206D_206B_206D_202B_206D_206D_200F_202C_206F_206C_202C_202E((object)elementId), + Location = SchemaValidationHelper.FormatQuestLocation(current.Key.Item1, current.Key.Item2), + Type = EIssueType.InvalidJsonSchema, + Severity = EIssueSeverity.Error, + Description = _200E_200C_200C_202E_200B_200D_202E_202E_206A_202E_202D_206A_200C_206A_206D_202C_202C_206C_202C_206A_200C_200D_202E_206F_200F_206D_202A_206A_202E_200D_200D_200E_200E_206A_202C_202C_206C_202A_200E_202D_202E(global::_003CModule_003E._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(564459472), (IEnumerable)list3) + }); + num = -1597210039; + break; + case 3: + num = (_200C_206A_202B_206B_206F_206C_206A_206A_200D_202C_200D_202D_202B_206B_200B_206B_206E_206A_206B_200C_206A_206D_202B_200F_206E_202E_206C_206E_206B_202B_200D_206A_200F_206D_202E_202C_202A_200B_206C_206A_202E((IEnumerator)enumerator) ? (-1597210037) : (-1597210040)); + break; + case 2: + return list; + } } } + finally + { + num = ((enumerator == null) ? (-994961268) : (-994961265)); + while (true) + { + int num8 = num; + num3 = -994961266; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -994961265; + break; + case 1: + _200E_206B_200C_202C_206A_200B_202B_202E_200C_206E_202D_202C_200D_200B_206D_200F_202A_200F_206E_206C_200F_200D_200E_200B_202D_202E_200C_202C_200F_206C_206F_202D_202A_202B_200C_206A_206B_200B_202A_200C_202E((IDisposable)enumerator); + num = -994961268; + break; + case 2: + goto end_IL_033d; + } + continue; + end_IL_033d: + break; + } + } + } } } } - public IEnumerable ValidateFromQuestRoot(Quest quest) + [MethodImpl(MethodImplOptions.NoInlining)] + private static void SimplifyConditionalRequiredErrors(List lines, JsonObject? step) { - if (!(JsonSerializer.SerializeToNode(quest.Root, ValidationSerializationOptions) is JsonObject jsonObject)) + int num = ((step != null) ? 335150382 : 335150381); + while (true) { - 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 EvaluateQuestNode(quest, jsonObject2); - } - - private IEnumerable EvaluateQuestNode(Quest quest, JsonNode questNode) - { - if (_questSchema == null) - { - _questSchema = JsonSchema.FromStream(AssemblyQuestLoader.QuestSchema).AsTask().Result; - } - EvaluationResults evaluationResults = null; - ValidationIssue validationIssue = null; - try - { - evaluationResults = _questSchema.Evaluate(questNode, new EvaluationOptions + int num2 = num; + int num3 = 335150383; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - Culture = CultureInfo.InvariantCulture, - OutputFormat = OutputFormat.List - }); - } - catch (ArgumentException ex) when (ex.Message.Contains("same key", StringComparison.Ordinal)) - { - Match match = Regex.Match(ex.Message, "Key: (.+)"); - string text = (match.Success ? match.Groups[1].Value.Trim() : "unknown"); - validationIssue = new ValidationIssue + case 0: + goto IL_0049; + case 2: + return; + case 1: { - ElementId = quest.Id, - Sequence = null, - Step = null, - Type = EIssueType.InvalidJsonSyntax, - Severity = EIssueSeverity.Error, - Description = "Duplicate JSON property '" + text + "' in quest file. Remove the duplicate key." - }; - } - if (validationIssue != null) - { - yield return validationIssue; - } - else - { - if (evaluationResults == null || evaluationResults.IsValid) - { - yield break; - } - var array = (from r in GetInvalidResults(evaluationResults).ToArray() - where !(r.EvaluationPath?.ToString() ?? string.Empty).Contains("/if", StringComparison.Ordinal) - group r by r.InstanceLocation?.ToString() ?? "").Select(delegate(IGrouping g) - { - 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 + IEnumerator enumerator = (from x in step + where x.Value != null + select x.Key).GetEnumerator(); + try { - Path = g.Key, - Messages = messages - }; - }).ToArray(); - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.AppendLine("JSON Validation failed:"); - if (array.Length == 0) - { - stringBuilder.AppendLine(" - : validation failed"); - } - else - { - var array2 = array; - foreach (var anon in array2) - { - string value = ((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(value); - stringBuilder2.AppendLine(invariantCulture, ref handler); - } - } - yield return new ValidationIssue - { - 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) - { - yield return result; - } - if (result.HasDetails) - { - foreach (EvaluationResults detail in result.Details) - { - foreach (EvaluationResults invalidResult in GetInvalidResults(detail)) + num = -365179251; + while (true) { - yield return invalidResult; + int num7 = num; + num3 = -365179251; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -365179251; + break; + case 0: + num = (_200C_206A_202B_206B_206F_206C_206A_206A_200D_202C_200D_202D_202B_206B_200B_206B_206E_206A_206B_200C_206A_206D_202B_200F_206E_202E_206C_206E_206B_202B_200D_206A_200F_206D_202E_202C_202A_200B_206C_206A_202E((IEnumerator)enumerator) ? (-365179252) : (-365179249)); + break; + case 1: + { + string property = enumerator.Current; + lines.RemoveAll((string x) => IsRequiredPropertyError(x, property)); + num = -365179251; + break; + } + case 2: + goto end_IL_00b5; + } + continue; + end_IL_00b5: + break; } } + finally + { + num = ((enumerator == null) ? 1444188635 : 1444188634); + while (true) + { + int num8 = num; + num3 = 1444188635; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1444188634; + break; + case 0: + goto end_IL_0161; + case 1: + _200E_206B_200C_202C_206A_200B_202B_202E_200C_206E_202D_202C_200D_200B_206D_200F_202A_200F_206E_206C_200F_200D_200E_200B_202D_202E_200C_202C_200F_206C_206F_202D_202A_202B_200C_206A_206B_200B_202A_200C_202E((IDisposable)enumerator); + num = 1444188635; + break; + } + continue; + end_IL_0161: + break; + } + } + num = ((!_202A_202C_206D_200C_202E_202E_202D_206B_206C_200B_206C_200C_200D_206E_200E_206B_202A_200E_202B_200F_206F_202C_202B_206D_206A_200E_202C_206E_206B_202D_206F_206B_200B_202D_206D_202E_202A_202D_200D_206F_202E(_206B_206C_206F_200F_202E_206C_200F_202A_206A_206E_202A_202C_206C_206D_200C_202C_206C_206B_202D_206C_200B_206A_202A_206B_202A_202C_206F_206E_206F_206E_202E_200D_202D_206D_206C_200E_200E_202D_206C_200C_202E((JsonNode)step, global::_003CModule_003E._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(-805703500))?.GetValue(), global::_003CModule_003E._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(562282663))) ? (-710204795) : (-710204793)); + while (true) + { + int num9 = num; + num3 = -710204797; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 1: + { + bool num12 = lines.RemoveAll([MethodImpl(MethodImplOptions.NoInlining)] (string x) => IsRequiredPropertyError(x, global::_003CModule_003E._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(-301952118))) > 0; + bool flag = lines.RemoveAll([MethodImpl(MethodImplOptions.NoInlining)] (string x) => IsRequiredPropertyError(x, global::_003CModule_003E._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(1768019597))) > 0; + num = ((!(num12 && flag)) ? (-710204799) : (-710204794)); + break; + } + case 4: + lines.RemoveAll([MethodImpl(MethodImplOptions.NoInlining)] (string x) => + { + int num13 = (IsRequiredPropertyError(x, global::_003CModule_003E._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(-1518164676)) ? (-2117687274) : (-2117687276)); + while (true) + { + int num14 = num13; + int num15 = -2117687275; + int num16 = num14; + switch ((num16 | num15) - (num16 & num15)) + { + case 2: + num13 = -2117687276; + break; + case 0: + return IsRequiredPropertyError(x, global::_003CModule_003E._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(1372080508)); + case 3: + return true; + case 1: + num13 = (IsRequiredPropertyError(x, global::_003CModule_003E._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(1316123041)) ? (-2117687274) : (-2117687275)); + break; + } + } + }); + return; + case 3: + lines.RemoveAll([MethodImpl(MethodImplOptions.NoInlining)] (string x) => + { + int num13 = (IsRequiredPropertyError(x, global::_003CModule_003E._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(-332485666)) ? (-362335936) : (-362335935)); + while (true) + { + int num14 = num13; + int num15 = -362335936; + int num16 = num14; + int num17 = num16 + num15; + int num18 = num16 & num15; + switch (num17 - (num18 + num18)) + { + case 2: + goto IL_0052; + case 0: + return true; + case 1: + return IsRequiredPropertyError(x, global::_003CModule_003E._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(-1742329127)); + } + continue; + IL_0052: + num13 = -362335935; + } + }); + return; + case 0: + num = -710204793; + break; + case 6: + { + string obj = _206B_206C_206F_200F_202E_206C_200F_202A_206A_206E_202A_202C_206C_206D_200C_202C_206C_206B_202D_206C_200B_206A_202A_206B_202A_202C_206F_206E_206F_206E_202E_200D_202D_206D_206C_200E_200E_202D_206C_200C_202E((JsonNode)step, global::_003CModule_003E._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(-1518164676))?.GetValue(); + if (_202A_202C_206D_200C_202E_202E_202D_206B_206C_200B_206C_200C_200D_206E_200E_206B_202A_200E_202B_200F_206F_202C_202B_206D_206A_200E_202C_206E_206B_202D_206F_206B_200B_202D_206D_202E_202A_202D_200D_206F_202E(obj, global::_003CModule_003E._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(168860559))) + { + lines.RemoveAll([MethodImpl(MethodImplOptions.NoInlining)] (string x) => IsRequiredPropertyError(x, global::_003CModule_003E._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(-1980697895))); + } + num = ((!_206F_206D_206F_202C_200F_206D_206D_202B_202A_206A_202C_200F_206E_206C_206E_206A_206F_202A_202B_202C_202C_200C_200B_200C_202D_200B_200E_202C_206D_202A_206C_206E_206A_206E_200C_200D_206A_202D_206A_202B_202E(obj, global::_003CModule_003E._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(-531322598))) ? (-710204798) : (-710204800)); + break; + } + case 5: + lines.Add(global::_003CModule_003E._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(-126206019)); + num = -710204799; + break; + case 2: + return; + } + } + } + } + continue; + IL_0049: + num = 335150381; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static bool IsRequiredPropertyError(string message, string property) + { + return _202D_200D_200E_200F_200D_200F_202D_202B_202D_206D_206E_200E_200D_202D_202B_200C_202A_202E_200F_202A_200D_202D_206B_202E_206A_202E_202B_200C_200C_202D_206A_206E_202B_200B_206D_202D_202D_206B_202C_206F_202E(message, _202C_202D_200E_202D_202C_200D_202A_206E_202C_200C_200C_200F_200F_206A_200B_206C_202E_202B_202C_202D_200E_206B_206C_206A_206B_200E_206E_206A_206B_202C_202E_202A_206B_202A_202C_200F_202E_200F_200C_206C_202E(global::_003CModule_003E._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(-1903574135), property, global::_003CModule_003E._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(2102967249)), StringComparison.Ordinal); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static JsonObject? FindStepNode(JsonNode questNode, byte? sequence, int? step) + { + int num = ((!sequence.HasValue) ? 1010029165 : 1010029158); + JsonArray jsonArray = default(JsonArray); + JsonArray jsonArray2 = default(JsonArray); + while (true) + { + int num2 = num; + int num3 = 1010029166; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + return _206D_206F_202C_202D_202D_202E_202D_200C_200B_202E_202B_206A_200B_206B_206C_202B_202C_206C_202C_206D_202B_200D_200B_200C_200B_206F_200F_206A_202D_202C_202A_202B_206C_202D_206B_202D_206E_206C_200C_200D_202E((JsonNode)jsonArray, step.Value) as JsonObject; + case 5: + num = ((step.Value < 0) ? 1010029162 : 1010029161); + break; + case 3: + return null; + case 4: + return null; + case 0: + jsonArray2 = _206B_206C_206F_200F_202E_206C_200F_202A_206A_206E_202A_202C_206C_206D_200C_202C_206C_206B_202D_206C_200B_206A_202A_206B_202A_202C_206F_206E_206F_206E_202E_200D_202D_206D_206C_200E_200E_202D_206C_200C_202E(questNode, global::_003CModule_003E._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(1629153329)) as JsonArray; + num = ((jsonArray2 != null) ? 1010029167 : 1010029165); + break; + case 1: + jsonArray = ((JsonSchemaValidator)(object)jsonArray2.OfType().FirstOrDefault([MethodImpl(MethodImplOptions.NoInlining)] (JsonObject x) => _003C_003Ec__DisplayClass8_0._202C_200B_206E_202D_200D_202D_202A_200D_200B_200C_200E_206F_200B_200E_202C_202E_200F_206A_206A_200B_200B_200F_202D_206F_206C_206E_202E_200C_200C_200D_200D_206C_202A_206A_202C_206A_202A_206C_206A_206E_202E((JsonNode)x, global::_003CModule_003E._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(916692153))?.GetValue() == sequence.Value))?._206B_206A_206B_200C_206B_206A_200D_206F_206A_200F_206F_200F_206A_202C_200B_200E_206D_202E_206E_202D_200B_202C_206B_202B_202C_200E_202B_206F_206F_206B_206B_202E_200C_202A_200C_202B_200B_202C_200F_202E(global::_003CModule_003E._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(789270299)) as JsonArray; + num = ((jsonArray == null) ? 1010029162 : 1010029163); + break; + case 2: + num = 1010029158; + break; + case 8: + num = ((!step.HasValue) ? 1010029165 : 1010029166); + break; + case 7: + num = ((step.Value < _202D_200F_200F_202A_200C_200E_206C_200E_200C_206C_206C_200D_200C_200F_206D_202B_206A_200E_202B_206E_206D_200E_200C_206C_206D_206F_200D_202B_200E_202A_206F_206C_200D_200C_202A_200E_202E_206F_200F_202E_202E(jsonArray)) ? 1010029160 : 1010029162); + break; } } } @@ -346,14 +1086,600 @@ internal sealed class JsonSchemaValidator : IQuestValidator _questNodes.Clear(); } - private static void NoEmptyCollectionModifier(JsonTypeInfo typeInfo) + void IQuestValidator.Reset() { - foreach (JsonPropertyInfo property in typeInfo.Properties) + //ILSpy generated this explicit interface implementation from .override directive in Reset + this.Reset(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Dictionary BuildSequenceMap(JsonNode questNode) + { + Dictionary dictionary = new Dictionary(); + JsonArray jsonArray = _206B_206C_206F_200F_202E_206C_200F_202A_206A_206E_202A_202C_206C_206D_200C_202C_206C_206B_202D_206C_200B_206A_202A_206B_202A_202C_206F_206E_206F_206E_202E_200D_202D_206D_206C_200E_200E_202D_206C_200C_202E(questNode, global::_003CModule_003E._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(1629153329)) as JsonArray; + int num = ((jsonArray != null) ? (-2072185714) : (-2072185727)); + JsonNode jsonNode = default(JsonNode); + int num7 = default(int); + while (true) { - if (typeof(ICollection).IsAssignableFrom(property.PropertyType)) + int num2 = num; + int num3 = -2072185719; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - property.ShouldSerialize = (object _, object? val) => val is ICollection collection && collection.Count > 0; + case 6: + num = -2072185727; + break; + case 4: + jsonNode = ((JsonSchemaValidator)(object)_206D_206F_202C_202D_202D_202E_202D_200C_200B_202E_202B_206A_200B_206B_206C_202B_202C_206C_202C_206D_202B_200D_200B_200C_200B_206F_200F_206A_202D_202C_202A_202B_206C_202D_206B_202D_206E_206C_200C_200D_202E((JsonNode)jsonArray, num7))?._206B_206A_206B_200C_206B_206A_200D_206F_206A_200F_206F_200F_206A_202C_200B_200E_206D_202E_206E_202D_200B_202C_206B_202B_202C_200E_202B_206F_206F_206B_206B_202E_200C_202A_200C_202B_200B_202C_200F_202E(global::_003CModule_003E._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(1807900671)); + num = ((jsonNode == null) ? (-2072185719) : (-2072185717)); + break; + case 8: + return dictionary; + case 3: + num = ((num7 < _202D_200F_200F_202A_200C_200E_206C_200E_200C_206C_206C_200D_200C_200F_206D_202B_206A_200E_202B_206E_206D_200E_200C_206C_206D_206F_200D_202B_200E_202A_206F_206C_200D_200C_202A_200E_202E_206F_200F_202E_202E(jsonArray)) ? (-2072185715) : (-2072185716)); + break; + case 1: + dictionary[num7] = (byte)jsonNode.GetValue(); + num = -2072185719; + break; + case 2: + num = ((_202E_200F_202A_206F_200D_202A_202C_202A_206D_206E_206F_200C_206E_206B_206B_200C_200B_202E_202B_202B_202E_202B_200F_206A_200E_206B_200E_202D_206F_202C_206F_200D_202A_202E_206C_202A_206C_206A_206A_206C_202E(jsonNode) != JsonValueKind.Number) ? (-2072185719) : (-2072185720)); + break; + case 5: + return dictionary; + case 0: + { + int num8 = num7; + num3 = 1; + num4 = num8; + num7 = (num4 | num3) + (num4 & num3); + num = -2072185718; + break; + } + case 7: + num7 = 0; + num = -2072185718; + break; } } } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static (byte? Sequence, int? Step, string Path) ParseInstanceLocation(string instancePath, Dictionary sequenceMap) + { + int num = ((!_202E_206D_206F_202B_202E_202B_206F_200B_206D_202C_202A_200D_200C_206E_206B_202B_206E_202D_206E_202B_200D_202A_206D_202E_202C_206C_206B_200E_206C_202A_206D_206D_202E_200C_200E_206E_200B_200C_206B_200F_202E(instancePath)) ? 1791406059 : 1791406061); + string[] array2 = default(string[]); + int num6 = default(int); + byte? item2 = default(byte?); + int? item3 = default(int?); + int num18 = default(int); + byte value = default(byte); + int result = default(int); + int result2 = default(int); + while (true) + { + int num2 = num; + int num3 = 1791406063; + int num4 = num2; + string text; + byte? obj; + string item; + int num20; + int num21; + int num22; + int num23; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = (_202A_202C_206D_200C_202E_202E_202D_206B_206C_200B_206C_200C_200D_206E_200E_206B_202A_200E_202B_200F_206F_202C_202B_206D_206A_200E_202C_206E_206B_202D_206F_206B_200B_202D_206D_202E_202A_202D_200D_206F_202E(array2[num6], global::_003CModule_003E._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(1629153329)) ? 1791406054 : 1791406062); + break; + case 4: + array2 = _206A_206E_200C_202E_202D_202A_200D_206C_200D_206A_200E_206A_200F_206E_206F_206A_202A_206E_202C_200B_200D_200E_206A_202B_200F_200E_202C_200E_200E_206E_200B_206C_206C_202D_202D_206F_202A_206A_206F_200D_202E(instancePath, '/', StringSplitOptions.None); + item2 = null; + item3 = null; + num18 = 1; + num6 = 1; + num = 1791406052; + break; + case 12: + { + string text2 = global::_003CModule_003E._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(-1680133376); + string[] array4 = array2; + int num17 = num18; + int num19 = array2.Length; + num3 = num18; + num4 = num19; + text = _202B_202A_202A_200E_206E_202B_206C_200E_206D_200E_200F_200D_202A_202A_202C_200D_202C_200E_200E_200C_206D_200C_206E_200E_202E_206F_200B_206E_200C_202E_206B_206E_200D_200D_200E_206A_200B_202C_200C_206D_202E(text2, array4, num17, ~(~num4 + num3)); + goto IL_00fe; + } + case 3: + obj = null; + goto IL_0192; + case 11: + { + int num15 = num6; + int num16 = array2.Length; + num3 = 1; + num4 = num16; + num = ((num15 < ~(~num4 + num3)) ? 1791406057 : 1791406050); + break; + } + case 9: + { + int num12 = num6; + num3 = 1; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + num6 = num13 + (num14 + num14); + num = 1791406052; + break; + } + case 15: + text = string.Empty; + goto IL_00fe; + case 8: + obj = value; + goto IL_0192; + case 10: + { + item3 = result; + int num25 = num6; + num3 = 4; + num4 = num25; + int num26 = num4 ^ num3; + int num27 = num4 & num3; + num18 = num26 + (num27 + num27); + num = 1791406050; + break; + } + case 1: + { + string[] array5 = array2; + int num24 = num6; + num3 = 1; + num4 = num24; + num = ((!int.TryParse(array5[(num4 | num3) + (num4 & num3)], out result2)) ? 1791406054 : 1791406063); + break; + } + case 13: + num = ((num18 < array2.Length) ? 1791406051 : 1791406048); + break; + case 0: + num = (sequenceMap.TryGetValue(result2, out value) ? 1791406055 : 1791406060); + break; + case 2: + return (Sequence: null, Step: null, Path: string.Empty); + case 5: + num = 1791406061; + break; + case 7: + { + string[] array3 = array2; + int num9 = num6; + num3 = 2; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num = ((!_206F_206D_206F_202C_200F_206D_206D_202B_202A_206A_202C_200F_206E_206C_206E_206A_206F_202A_202B_202C_202C_200C_200B_200C_202D_200B_200E_202C_206D_202A_206C_206E_206A_206E_200C_200D_206A_202D_206A_202B_202E(array3[num10 + (num11 + num11)], global::_003CModule_003E._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(-487116266))) ? 1791406050 : 1791406049); + break; + } + case 14: + { + string[] array = array2; + int num5 = num6; + num3 = 3; + num4 = num5; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num = ((!int.TryParse(array[num7 + (num8 + num8)], out result)) ? 1791406050 : 1791406053); + break; + } + IL_00fe: + item = text; + return (Sequence: item2, Step: item3, Path: item); + IL_0192: + item2 = obj; + num20 = num6; + num3 = 2; + num4 = num20; + num18 = (num4 | num3) + (num4 & num3); + num21 = num6; + num3 = 3; + num4 = num21; + num22 = num4 ^ num3; + num23 = num4 & num3; + num = ((num22 + (num23 + num23) >= array2.Length) ? 1791406050 : 1791406056); + break; + } + } + } + + private static void NoEmptyCollectionModifier(JsonTypeInfo typeInfo) + { + IEnumerator enumerator = _200C_200D_202A_206E_206E_202E_202C_200E_200C_206B_202C_206D_200D_202E_200B_206E_206C_200C_202E_202E_206D_200B_200D_206D_206E_200E_200F_200F_202E_206B_200E_200E_200D_206F_206E_202A_200F_200E_200B_200F_202E(typeInfo).GetEnumerator(); + try + { + int num = 470311870; + JsonPropertyInfo current = default(JsonPropertyInfo); + while (true) + { + int num2 = num; + int num3 = 470311870; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 470311870; + break; + case 3: + _206D_202B_206C_202B_200E_206F_200E_202A_202C_200C_202E_200F_206F_206E_206B_202A_202D_206A_206C_202B_206A_206D_200C_202A_206B_206E_206F_200B_200E_206A_206B_200C_200E_202C_200C_206B_202B_200D_202D_206F_202E(current, (Func)delegate(object _, object? val) + { + ICollection collection = val as ICollection; + int num8 = ((collection == null) ? (-1341388091) : (-1341388092)); + while (true) + { + int num9 = num8; + int num10 = -1341388091; + int num11 = num9; + int num12 = num11 + num10; + int num13 = num11 & num10; + switch (num12 - (num13 + num13)) + { + case 0: + return false; + case 1: + return _003C_003Ec._206D_206E_206C_202B_206F_200B_200D_200C_206D_206F_200E_206B_206F_202C_206A_202D_206D_206C_200B_202E_200D_200C_206D_200B_202D_206C_200E_206E_206C_200C_200C_200E_202D_202D_200C_200D_202D_206A_206A_200F_202E(collection) > 0; + case 2: + goto IL_0056; + } + continue; + IL_0056: + num8 = -1341388092; + } + }); + num = 470311870; + break; + case 0: + num = (_200C_206A_202B_206B_206F_206C_206A_206A_200D_202C_200D_202D_202B_206B_200B_206B_206E_206A_206B_200C_206A_206D_202B_200F_206E_202E_206C_206E_206B_202B_200D_206A_200F_206D_202E_202C_202A_200B_206C_206A_202E((IEnumerator)enumerator) ? 470311866 : 470311871); + break; + case 4: + current = enumerator.Current; + num = ((!_200D_206D_202B_202B_206B_202D_200F_200E_206F_200E_200F_200F_206C_200B_206E_200E_202E_206F_202B_200D_200F_206C_206E_200B_200E_202B_206A_200F_200F_202A_200E_202D_202E_200C_200F_206F_200D_200F_202E_202A_202E(_200F_200F_206E_200C_206C_206D_206D_206B_206B_206B_206B_202A_200F_200C_200D_200B_200B_200E_200E_200F_200F_202B_206E_202E_202C_202C_206D_200E_202C_206A_200D_206B_200C_200F_202D_202A_202C_206D_200E_202B_202E(typeof(ICollection).TypeHandle), _200E_206E_200F_202D_200D_200D_200B_202C_206F_200E_200B_200C_206D_206C_202B_200F_200D_202C_202B_200C_206E_200C_200F_202C_202B_202B_202C_200D_200F_206C_202C_202D_200D_200F_202C_206D_200F_206E_200F_206D_202E(current))) ? 470311870 : 470311869); + break; + case 1: + return; + } + } + } + finally + { + int num = ((enumerator == null) ? 1235521984 : 1235521987); + while (true) + { + int num7 = num; + int num3 = 1235521986; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1235521987; + break; + case 2: + goto end_IL_0100; + case 1: + _200E_206B_200C_202C_206A_200B_202B_202E_200C_206E_202D_202C_200D_200B_206D_200F_202A_200F_206E_206C_200F_200D_200E_200B_202D_202E_200C_202C_200F_206C_206F_202D_202A_202B_200C_206A_206B_200B_202A_200C_202E((IDisposable)enumerator); + num = 1235521984; + break; + } + continue; + end_IL_0100: + break; + } + } + } + + public IEnumerable ValidateFromQuestRoot(Quest quest) + { + return ValidateFromQuestRoot(quest.Id, quest.Root); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public IEnumerable ValidateFromQuestRoot(ElementId elementId, QuestRoot questRoot) + { + JsonObject jsonObject = JsonSerializer.SerializeToNode(questRoot, ValidationSerializationOptions) as JsonObject; + int num = ((jsonObject != null) ? (-662863464) : (-662863463)); + while (true) + { + int num2 = num; + int num3 = -662863464; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_005d; + case 1: + return Array.Empty(); + case 0: + { + JsonObject jsonObject2 = _206B_206A_206B_202A_206C_206A_206E_200B_202E_206C_202A_206C_200C_202B_202E_206E_200E_206D_200E_206D_202D_200C_202D_202C_206D_200E_206F_206F_206B_202B_202E_202E_206F_202E_206F_200D_206B_200D_202E_200F_202E((JsonNodeOptions?)null); + _200D_202C_202E_206E_206B_200F_200E_202C_200C_206C_206F_206B_206E_206C_206D_206D_202D_206A_206F_200C_202A_200C_202E_202A_200D_206E_200E_200F_206B_200E_200E_200C_200F_202B_206F_200D_206D_206D_200C_206E_202E((JsonNode)jsonObject2, global::_003CModule_003E._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(-978893896), _202D_200D_200B_206D_200E_206E_206F_200D_202C_206C_202C_202C_200E_200D_200D_200C_202C_202D_206E_202A_206C_206B_202D_200F_202A_206B_206A_202E_206D_202A_206D_206E_206E_200F_200B_206E_200C_200E_200C_202A_202E(global::_003CModule_003E._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(-2134999905))); + JsonObject jsonObject3 = jsonObject2; + IEnumerator> enumerator = _206A_200E_200B_202C_202A_200E_202A_202E_200E_206A_206E_200B_200C_206D_200F_202D_200D_200F_202B_206D_200E_206A_206B_202B_200D_206B_202E_202A_202B_202B_206D_200B_206D_206F_202D_206D_206C_200E_206F_206E_202E(jsonObject); + try + { + num = -387282071; + while (true) + { + int num7 = num; + num3 = -387282070; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -387282071; + break; + case 2: + var (text2, jsonNode2) = (KeyValuePair)(ref enumerator.Current); + _200D_202C_202E_206E_206B_200F_200E_202C_200C_206C_206F_206B_206E_206C_206D_206D_202D_206A_206F_200C_202A_200C_202E_202A_200D_206E_200E_200F_206B_200E_200E_200C_200F_202B_206F_200D_206D_206D_200C_206E_202E((JsonNode)jsonObject3, text2, (jsonNode2 != null) ? _206C_200D_200F_200C_202D_200E_200F_206B_200E_206A_200C_200B_206D_200E_202C_206B_206E_206A_206D_206C_206D_200D_202D_202A_206E_202E_206F_202B_202D_200C_202D_206F_200C_202E_200D_206B_200F_202A_200D_200F_202E(jsonNode2) : null); + num = -387282071; + break; + case 3: + num = (_200C_206A_202B_206B_206F_206C_206A_206A_200D_202C_200D_202D_202B_206B_200B_206B_206E_206A_206B_200C_206A_206D_202B_200F_206E_202E_206C_206E_206B_202B_200D_206A_200F_206D_202E_202C_202A_200B_206C_206A_202E((IEnumerator)enumerator) ? (-387282072) : (-387282069)); + break; + case 1: + goto end_IL_00b0; + } + continue; + end_IL_00b0: + break; + } + } + finally + { + num = ((enumerator == null) ? 482344416 : 482344419); + while (true) + { + int num8 = num; + num3 = 482344417; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 482344419; + break; + case 2: + _200E_206B_200C_202C_206A_200B_202B_202E_200C_206E_202D_202C_200D_200B_206D_200F_202A_200F_206E_206C_200F_200D_200E_200B_202D_202E_200C_202C_200F_206C_206F_202D_202A_202B_200C_206A_206B_200B_202A_200C_202E((IDisposable)enumerator); + num = 482344416; + break; + case 1: + goto end_IL_0175; + } + continue; + end_IL_0175: + break; + } + } + return ValidateImmediate(elementId, jsonObject3); + } + } + continue; + IL_005d: + num = -662863463; + } + } + + static JsonSchemaValidator() + { + JsonSerializerOptions jsonSerializerOptions = _202E_200E_206C_206A_206B_206D_202C_200B_206C_200E_200F_206A_200D_206F_206D_202C_202E_206A_206A_200F_200D_206F_200F_202E_206E_202B_206F_202A_206A_200E_202C_206D_200B_206A_200C_202D_202D_200B_206D_202E(); + _206D_200B_206E_200D_206D_202A_202D_206E_206A_206F_200F_200D_200F_200B_200E_200E_200E_206B_202A_200E_202B_202B_200F_200C_206B_202B_206C_202C_206F_200F_206A_200E_202C_206A_200C_206F_200E_200B_206C_206E_202E(jsonSerializerOptions, JsonIgnoreCondition.WhenWritingDefault); + _202B_200E_206B_206D_200E_200C_200F_206D_200E_206C_200D_206E_206E_206D_206E_206A_202C_202C_206B_202A_202A_206E_206F_202E_202E_206E_206B_202D_206B_206B_200F_202A_206A_206E_202A_200D_202C_206E_200C_202C_202E(jsonSerializerOptions, false); + _206E_202C_206B_202A_200D_206C_202C_206C_206E_200C_200E_206F_202C_206A_206F_206E_202A_202E_206B_206C_200E_206A_206A_206C_202E_206D_206F_202E_206B_206A_202D_200B_202C_202E_206C_206B_202A_202A_202C_202E(jsonSerializerOptions, false); + DefaultJsonTypeInfoResolver defaultJsonTypeInfoResolver = _200D_202A_202A_202C_202D_200D_202B_206E_202E_202C_206E_200C_200F_200F_202E_206F_200C_200D_202E_206A_202D_202A_206E_206B_202D_200F_206C_202D_206C_200E_200C_202C_206B_200F_202A_202E_202D_200B_202B_202E(); + _200E_206C_206F_202E_200D_206A_206C_206E_200B_206B_202E_206A_200B_200B_202E_200B_206E_206A_206E_206F_200B_200E_202D_206D_206F_206E_200C_206F_202E_206A_206B_202A_202D_202D_206B_200C_200B_206F_202A_206D_202E(defaultJsonTypeInfoResolver).Add(NoEmptyCollectionModifier); + _202A_206A_206D_206A_200E_200B_202C_202B_200C_202B_206B_200E_202C_202E_206B_200D_202D_202A_202E_200B_200B_200E_202E_206C_202A_200E_200D_206D_202C_202D_206A_200D_206D_206A_202A_206D_202B_206D_202E_206F_202E(jsonSerializerOptions, (IJsonTypeInfoResolver)defaultJsonTypeInfoResolver); + ValidationSerializationOptions = jsonSerializerOptions; + } + + static EvaluationOptions _206D_206E_202B_200E_206A_202A_206B_206E_206F_202E_202D_206A_200D_202C_206B_200B_202A_202A_206F_206C_202D_200C_202C_202C_206D_200F_202D_206C_202D_202E_202C_200B_202C_202A_200B_206C_202C_202D_200B_200F_202E() + { + return new EvaluationOptions(); + } + + static CultureInfo _202D_200C_206F_206F_200E_206B_206F_202E_206A_202D_206F_200F_206D_206A_202C_200E_202D_200D_206E_202D_206B_206D_200D_202E_202E_206F_200C_202B_200E_200F_206F_206D_206A_202C_200E_206E_200F_202A_200B_200D_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _206E_200B_202B_200E_206A_206A_200C_202B_206C_202B_200B_202E_202E_200D_202E_202D_200B_202C_200D_200E_206A_200D_202D_206B_200C_206D_200E_206B_200E_200E_202E_202E_202D_202E_200D_206B_206E_206F_206D_202C_202E(EvaluationOptions P_0, CultureInfo P_1) + { + P_0.Culture = P_1; + } + + static void _206A_202D_200F_200F_202A_202B_202B_200E_200D_202D_206D_202C_202C_206B_206F_200F_202C_202E_202A_202B_202D_200E_206C_200C_206B_202D_206A_200D_206C_200F_200F_202E_200B_200D_202E_202D_202C_200F_206C_202C_202E(EvaluationOptions P_0, OutputFormat P_1) + { + P_0.OutputFormat = P_1; + } + + static EvaluationResults _202B_206E_200D_200B_206D_206E_206B_206E_206C_202E_206C_200D_206F_206A_206F_202B_206A_200B_206A_202C_200B_200D_202E_206B_202C_200D_202E_202D_206B_200C_200D_206E_206F_202C_206B_206E_202C_200D_206B_200C_202E(JsonSchema P_0, JsonElement P_1, EvaluationOptions P_2) + { + return P_0.Evaluate(P_1, P_2); + } + + static bool _200F_200B_206C_200D_202B_206F_200C_206A_202A_206C_206D_206F_200F_200F_202B_202C_206E_206A_202B_202C_202D_200E_202D_206F_200F_206E_202C_202E_206E_200F_200F_206B_200D_206D_206A_200F_202D_200C_206D_200D_202E(EvaluationResults P_0) + { + return P_0.IsValid; + } + + static string _202A_206B_206D_200C_206A_206D_206A_202A_206F_200B_206F_200D_200E_202B_200F_202E_200D_206B_200F_206F_206D_200D_200D_200D_206F_200C_206F_206F_200D_206D_206B_206D_202B_206D_206D_200F_202C_206F_206C_202C_202E(object P_0) + { + return P_0.ToString(); + } + + static string _200E_200C_200C_202E_200B_200D_202E_202E_206A_202E_202D_206A_200C_206A_206D_202C_202C_206C_202C_206A_200C_200D_202E_206F_200F_206D_202A_206A_202E_200D_200D_200E_200E_206A_202C_202C_206C_202A_200E_202D_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static bool _200C_206A_202B_206B_206F_206C_206A_206A_200D_202C_200D_202D_202B_206B_200B_206B_206E_206A_206B_200C_206A_206D_202B_200F_206E_202E_206C_206E_206B_202B_200D_206A_200F_206D_202E_202C_202A_200B_206C_206A_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200E_206B_200C_202C_206A_200B_202B_202E_200C_206E_202D_202C_200D_200B_206D_200F_202A_200F_206E_206C_200F_200D_200E_200B_202D_202E_200C_202C_200F_206C_206F_202D_202A_202B_200C_206A_206B_200B_202A_200C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static JsonNode _206B_206C_206F_200F_202E_206C_200F_202A_206A_206E_202A_202C_206C_206D_200C_202C_206C_206B_202D_206C_200B_206A_202A_206B_202A_202C_206F_206E_206F_206E_202E_200D_202D_206D_206C_200E_200E_202D_206C_200C_202E(JsonNode P_0, string P_1) + { + return P_0[P_1]; + } + + static bool _202A_202C_206D_200C_202E_202E_202D_206B_206C_200B_206C_200C_200D_206E_200E_206B_202A_200E_202B_200F_206F_202C_202B_206D_206A_200E_202C_206E_206B_202D_206F_206B_200B_202D_206D_202E_202A_202D_200D_206F_202E(string P_0, string P_1) + { + return P_0 != P_1; + } + + static bool _206F_206D_206F_202C_200F_206D_206D_202B_202A_206A_202C_200F_206E_206C_206E_206A_206F_202A_202B_202C_202C_200C_200B_200C_202D_200B_200E_202C_206D_202A_206C_206E_206A_206E_200C_200D_206A_202D_206A_202B_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static string _202C_202D_200E_202D_202C_200D_202A_206E_202C_200C_200C_200F_200F_206A_200B_206C_202E_202B_202C_202D_200E_206B_206C_206A_206B_200E_206E_206A_206B_202C_202E_202A_206B_202A_202C_200F_202E_200F_200C_206C_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static bool _202D_200D_200E_200F_200D_200F_202D_202B_202D_206D_206E_200E_200D_202D_202B_200C_202A_202E_200F_202A_200D_202D_206B_202E_206A_202E_202B_200C_200C_202D_206A_206E_202B_200B_206D_202D_202D_206B_202C_206F_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + JsonNode _206B_206A_206B_200C_206B_206A_200D_206F_206A_200F_206F_200F_206A_202C_200B_200E_206D_202E_206E_202D_200B_202C_206B_202B_202C_200E_202B_206F_206F_206B_206B_202E_200C_202A_200C_202B_200B_202C_200F_202E(string P_0) + { + return ((JsonNode)this)[P_0]; + } + + static int _202D_200F_200F_202A_200C_200E_206C_200E_200C_206C_206C_200D_200C_200F_206D_202B_206A_200E_202B_206E_206D_200E_200C_206C_206D_206F_200D_202B_200E_202A_206F_206C_200D_200C_202A_200E_202E_206F_200F_202E_202E(JsonArray P_0) + { + return P_0.Count; + } + + static JsonNode _206D_206F_202C_202D_202D_202E_202D_200C_200B_202E_202B_206A_200B_206B_206C_202B_202C_206C_202C_206D_202B_200D_200B_200C_200B_206F_200F_206A_202D_202C_202A_202B_206C_202D_206B_202D_206E_206C_200C_200D_202E(JsonNode P_0, int P_1) + { + return P_0[P_1]; + } + + static JsonValueKind _202E_200F_202A_206F_200D_202A_202C_202A_206D_206E_206F_200C_206E_206B_206B_200C_200B_202E_202B_202B_202E_202B_200F_206A_200E_206B_200E_202D_206F_202C_206F_200D_202A_202E_206C_202A_206C_206A_206A_206C_202E(JsonNode P_0) + { + return P_0.GetValueKind(); + } + + static bool _202E_206D_206F_202B_202E_202B_206F_200B_206D_202C_202A_200D_200C_206E_206B_202B_206E_202D_206E_202B_200D_202A_206D_202E_202C_206C_206B_200E_206C_202A_206D_206D_202E_200C_200E_206E_200B_200C_206B_200F_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string[] _206A_206E_200C_202E_202D_202A_200D_206C_200D_206A_200E_206A_200F_206E_206F_206A_202A_206E_202C_200B_200D_200E_206A_202B_200F_200E_202C_200E_200E_206E_200B_206C_206C_202D_202D_206F_202A_206A_206F_200D_202E(string P_0, char P_1, StringSplitOptions P_2) + { + return P_0.Split(P_1, P_2); + } + + static string _202B_202A_202A_200E_206E_202B_206C_200E_206D_200E_200F_200D_202A_202A_202C_200D_202C_200E_200E_200C_206D_200C_206E_200E_202E_206F_200B_206E_200C_202E_206B_206E_200D_200D_200E_206A_200B_202C_200C_206D_202E(string P_0, string[] P_1, int P_2, int P_3) + { + return string.Join(P_0, P_1, P_2, P_3); + } + + static IList _200C_200D_202A_206E_206E_202E_202C_200E_200C_206B_202C_206D_200D_202E_200B_206E_206C_200C_202E_202E_206D_200B_200D_206D_206E_200E_200F_200F_202E_206B_200E_200E_200D_206F_206E_202A_200F_200E_200B_200F_202E(JsonTypeInfo P_0) + { + return P_0.Properties; + } + + static Type _200F_200F_206E_200C_206C_206D_206D_206B_206B_206B_206B_202A_200F_200C_200D_200B_200B_200E_200E_200F_200F_202B_206E_202E_202C_202C_206D_200E_202C_206A_200D_206B_200C_200F_202D_202A_202C_206D_200E_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static Type _200E_206E_200F_202D_200D_200D_200B_202C_206F_200E_200B_200C_206D_206C_202B_200F_200D_202C_202B_200C_206E_200C_200F_202C_202B_202B_202C_200D_200F_206C_202C_202D_200D_200F_202C_206D_200F_206E_200F_206D_202E(JsonPropertyInfo P_0) + { + return P_0.PropertyType; + } + + static bool _200D_206D_202B_202B_206B_202D_200F_200E_206F_200E_200F_200F_206C_200B_206E_200E_202E_206F_202B_200D_200F_206C_206E_200B_200E_202B_206A_200F_200F_202A_200E_202D_202E_200C_200F_206F_200D_200F_202E_202A_202E(Type P_0, Type P_1) + { + return P_0.IsAssignableFrom(P_1); + } + + static void _206D_202B_206C_202B_200E_206F_200E_202A_202C_200C_202E_200F_206F_206E_206B_202A_202D_206A_206C_202B_206A_206D_200C_202A_206B_206E_206F_200B_200E_206A_206B_200C_200E_202C_200C_206B_202B_200D_202D_206F_202E(JsonPropertyInfo P_0, Func P_1) + { + P_0.ShouldSerialize = P_1; + } + + static JsonObject _206B_206A_206B_202A_206C_206A_206E_200B_202E_206C_202A_206C_200C_202B_202E_206E_200E_206D_200E_206D_202D_200C_202D_202C_206D_200E_206F_206F_206B_202B_202E_202E_206F_202E_206F_200D_206B_200D_202E_200F_202E(JsonNodeOptions? P_0) + { + return new JsonObject(P_0); + } + + static JsonNode _202D_200D_200B_206D_200E_206E_206F_200D_202C_206C_202C_202C_200E_200D_200D_200C_202C_202D_206E_202A_206C_206B_202D_200F_202A_206B_206A_202E_206D_202A_206D_206E_206E_200F_200B_206E_200C_200E_200C_202A_202E(string P_0) + { + return P_0; + } + + static void _200D_202C_202E_206E_206B_200F_200E_202C_200C_206C_206F_206B_206E_206C_206D_206D_202D_206A_206F_200C_202A_200C_202E_202A_200D_206E_200E_200F_206B_200E_200E_200C_200F_202B_206F_200D_206D_206D_200C_206E_202E(JsonNode P_0, string P_1, JsonNode P_2) + { + P_0[P_1] = P_2; + } + + static IEnumerator> _206A_200E_200B_202C_202A_200E_202A_202E_200E_206A_206E_200B_200C_206D_200F_202D_200D_200F_202B_206D_200E_206A_206B_202B_200D_206B_202E_202A_202B_202B_206D_200B_206D_206F_202D_206D_206C_200E_206F_206E_202E(JsonObject P_0) + { + return P_0.GetEnumerator(); + } + + static JsonNode _206C_200D_200F_200C_202D_200E_200F_206B_200E_206A_200C_200B_206D_200E_202C_206B_206E_206A_206D_206C_206D_200D_202D_202A_206E_202E_206F_202B_202D_200C_202D_206F_200C_202E_200D_206B_200F_202A_200D_200F_202E(JsonNode P_0) + { + return P_0.DeepClone(); + } + + static JsonSerializerOptions _202E_200E_206C_206A_206B_206D_202C_200B_206C_200E_200F_206A_200D_206F_206D_202C_202E_206A_206A_200F_200D_206F_200F_202E_206E_202B_206F_202A_206A_200E_202C_206D_200B_206A_200C_202D_202D_200B_206D_202E() + { + return new JsonSerializerOptions(); + } + + static void _206D_200B_206E_200D_206D_202A_202D_206E_206A_206F_200F_200D_200F_200B_200E_200E_200E_206B_202A_200E_202B_202B_200F_200C_206B_202B_206C_202C_206F_200F_206A_200E_202C_206A_200C_206F_200E_200B_206C_206E_202E(JsonSerializerOptions P_0, JsonIgnoreCondition P_1) + { + P_0.DefaultIgnoreCondition = P_1; + } + + static void _202B_200E_206B_206D_200E_200C_200F_206D_200E_206C_200D_206E_206E_206D_206E_206A_202C_202C_206B_202A_202A_206E_206F_202E_202E_206E_206B_202D_206B_206B_200F_202A_206A_206E_202A_200D_202C_206E_200C_202C_202E(JsonSerializerOptions P_0, bool P_1) + { + P_0.IncludeFields = P_1; + } + + static void _206E_202C_206B_202A_200D_206C_202C_206C_206E_200C_200E_206F_202C_206A_206F_206E_202A_202E_206B_206C_200E_206A_206A_206C_202E_206D_206F_202E_206B_206A_202D_200B_202C_202E_206C_206B_202A_202A_202C_202E(JsonSerializerOptions P_0, bool P_1) + { + P_0.WriteIndented = P_1; + } + + static DefaultJsonTypeInfoResolver _200D_202A_202A_202C_202D_200D_202B_206E_202E_202C_206E_200C_200F_200F_202E_206F_200C_200D_202E_206A_202D_202A_206E_206B_202D_200F_206C_202D_206C_200E_200C_202C_206B_200F_202A_202E_202D_200B_202B_202E() + { + return new DefaultJsonTypeInfoResolver(); + } + + static IList> _200E_206C_206F_202E_200D_206A_206C_206E_200B_206B_202E_206A_200B_200B_202E_200B_206E_206A_206E_206F_200B_200E_202D_206D_206F_206E_200C_206F_202E_206A_206B_202A_202D_202D_206B_200C_200B_206F_202A_206D_202E(DefaultJsonTypeInfoResolver P_0) + { + return P_0.Modifiers; + } + + static void _202A_206A_206D_206A_200E_200B_202C_202B_200C_202B_206B_200E_202C_202E_206B_200D_202D_202A_202E_200B_200B_200E_202E_206C_202A_200E_200D_206D_202C_202D_206A_200D_206D_206A_202A_206D_202B_206D_202E_206F_202E(JsonSerializerOptions P_0, IJsonTypeInfoResolver P_1) + { + P_0.TypeInfoResolver = P_1; + } } diff --git a/Questionable/Questionable.Validation.Validators/LandingZoneValidator.cs b/Questionable/Questionable.Validation.Validators/LandingZoneValidator.cs index 052bf886..05da243f 100644 --- a/Questionable/Questionable.Validation.Validators/LandingZoneValidator.cs +++ b/Questionable/Questionable.Validation.Validators/LandingZoneValidator.cs @@ -1,5 +1,10 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; using Questionable.Model; using Questionable.Model.Questing; @@ -7,55 +12,476 @@ namespace Questionable.Validation.Validators; internal sealed class LandingZoneValidator : IQuestValidator { - public IEnumerable Validate(Quest quest) + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec { - foreach (var stepInfo in quest.AllSteps().Where<(QuestSequence, int, QuestStep)>(delegate((QuestSequence Sequence, int StepId, QuestStep Step) x) + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func<(QuestSequence Sequence, int StepId, QuestStep Step), bool> _003C_003E9__0_0; + + internal bool _003CValidate_003Eb__0_0((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++) + List list = _200D_202B_206F_200E_202E_206A_202A_206B_200D_206F_200C_202D_200F_202D_206E_202D_202E_202C_206D_202B_202B_200C_202D_202E_206E_206E_206F_202A_200B_202C_206B_200F_206D_200E_202E_202C_200C_202E_206B_206A_202E(x.Step); + int num = ((list == null) ? 293008772 : 293008775); + while (true) { - LandingZone zone = stepInfo.Item3.LandingZones[z]; - if (zone.Vertices.Count < 3) + int num2 = num; + int num3 = 293008773; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - 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" - }; + case 1: + return false; + case 2: + return list.Count > 0; + case 0: + goto IL_0059; + } + continue; + IL_0059: + num = 293008775; + } + } + + static List _200D_202B_206F_200E_202E_206A_202A_206B_200D_206F_200C_202D_200F_202D_206E_202D_202E_202C_206D_202B_202B_200C_202D_202E_206E_206E_206F_202A_200B_202C_206B_200F_206D_200E_202E_202C_200C_202E_206B_206A_202E(QuestStep P_0) + { + return P_0.LandingZones; + } + } + + [CompilerGenerated] + private sealed class _003CValidate_003Ed__0 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Quest quest; + + public Quest _003C_003E3__quest; + + private IEnumerator<(QuestSequence Sequence, int StepId, QuestStep Step)> _003C_003E7__wrap1; + + private (QuestSequence Sequence, int StepId, QuestStep Step) _003CstepInfo_003E5__3; + + private int _003Cz_003E5__4; + + private LandingZone _003Czone_003E5__5; + + ValidationIssue IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__0(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _206B_202C_206F_206D_202E_202E_206D_206F_200C_200D_206C_200C_206A_206F_206D_206E_202D_202A_200C_202E_202E_206D_200F_200B_200F_200B_200E_200B_202A_200F_206E_206A_202E_206B_206B_202E_206F_200B_206B_202A_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? (-301580919) : (-301580918)); + while (true) + { + int num3 = num2; + int num4 = -301580920; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: continue; - } - if (!LandingZoneMath.IsConvex(zone.Vertices)) - { - yield return new ValidationIssue + case 0: + num2 = -301580918; + continue; + case 2: + num4 = 1; + num5 = num; + if ((uint)(~(~num5 + num4)) <= 2u) { - 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 + num2 = -301580919; + continue; + } + break; + case 1: + try { - 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)" - }; + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = null; + _003CstepInfo_003E5__3 = default((QuestSequence, int, QuestStep)); + _003Czone_003E5__5 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num; + switch (_003C_003E1__state) + { + default: + num = 1353765120; + goto IL_0029; + case 2: + _003C_003E1__state = -3; + num = 1353765123; + goto IL_0029; + case 1: + goto IL_02fa; + case 0: + goto IL_0497; + case 3: + goto IL_04ef; + IL_0029: + while (true) + { + int num2 = num; + int num3 = 1353765133; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 15: + num = 1353765120; + break; + case 14: + goto IL_00a1; + case 7: + goto IL_00d3; + case 11: + goto IL_0100; + case 5: + _003CstepInfo_003E5__3 = _003C_003E7__wrap1.Current; + _003Cz_003E5__4 = 0; + num = 1353765151; + break; + case 2: + { + int num5 = _003Cz_003E5__4; + num3 = 1; + num4 = num5; + _003Cz_003E5__4 = (num4 | num3) + (num4 & num3); + num = 1353765151; + break; + } + case 18: + goto IL_0178; + case 0: + goto IL_01b0; + case 6: + _003CstepInfo_003E5__3 = default((QuestSequence, int, QuestStep)); + num = 1353765126; + break; + case 9: + goto end_IL_0029; + case 1: + _003Czone_003E5__5 = null; + num = 1353765135; + break; + case 3: + { + ValidationIssue obj3 = new ValidationIssue + { + ElementId = quest.Id, + Sequence = _200B_202B_202B_206D_206D_200C_202E_206A_200B_206F_206A_206C_202B_202D_200C_200C_206F_200C_206D_200B_200E_200D_202A_206D_202B_202A_200C_206B_206A_202B_200F_206E_200C_206B_200D_206F_206B_206F_202A_202B_202E(_003CstepInfo_003E5__3.Sequence), + Step = _003CstepInfo_003E5__3.StepId, + Type = EIssueType.InvalidLandingZone, + Severity = EIssueSeverity.Error + }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(48, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(763106568)); + defaultInterpolatedStringHandler3.AppendFormatted(_003Cz_003E5__4); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-317713008)); + obj3.Description = defaultInterpolatedStringHandler3.ToStringAndClear(); + _003C_003E2__current = obj3; + _003C_003E1__state = 3; + return true; + } + case 10: + goto IL_02fa; + case 13: + return false; + case 17: + { + ValidationIssue obj2 = new ValidationIssue + { + ElementId = quest.Id, + Sequence = _200B_202B_202B_206D_206D_200C_202E_206A_200B_206F_206A_206C_202B_202D_200C_200C_206F_200C_206D_200B_200E_200D_202A_206D_202B_202A_200C_206B_206A_202B_200F_206E_200C_206B_200D_206F_206B_206F_202A_202B_202E(_003CstepInfo_003E5__3.Sequence), + Step = _003CstepInfo_003E5__3.StepId, + Type = EIssueType.InvalidLandingZone, + Severity = EIssueSeverity.Error + }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(39, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1041108262)); + defaultInterpolatedStringHandler2.AppendFormatted(_003Cz_003E5__4); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1470671526)); + obj2.Description = defaultInterpolatedStringHandler2.ToStringAndClear(); + _003C_003E2__current = obj2; + _003C_003E1__state = 1; + return true; + } + case 16: + { + ValidationIssue obj = new ValidationIssue + { + ElementId = quest.Id, + Sequence = _200B_202B_202B_206D_206D_200C_202E_206A_200B_206F_206A_206C_202B_202D_200C_200C_206F_200C_206D_200B_200E_200D_202A_206D_202B_202A_200C_206B_206A_202B_200F_206E_200C_206B_200D_206F_206B_206F_202A_202B_202E(_003CstepInfo_003E5__3.Sequence), + Step = _003CstepInfo_003E5__3.StepId, + Type = EIssueType.InvalidLandingZone, + Severity = EIssueSeverity.Error + }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(27, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(430923307)); + defaultInterpolatedStringHandler.AppendFormatted(_003Cz_003E5__4); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1557501855)); + obj.Description = defaultInterpolatedStringHandler.ToStringAndClear(); + _003C_003E2__current = obj; + _003C_003E1__state = 2; + return true; + } + case 8: + goto IL_0497; + case 12: + goto IL_04ef; + case 4: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = null; + return false; + } + continue; + IL_01b0: + _003Czone_003E5__5 = _202E_200C_202A_200B_206B_206C_206A_206D_202B_206C_200C_202E_202A_200E_202B_206A_202D_206E_202D_200B_200F_200E_206B_200C_202A_206A_202B_206C_202D_206C_200F_202C_202B_206B_202B_206C_202C_200B_202E_200C_202E(_003CstepInfo_003E5__3.Step)[_003Cz_003E5__4]; + num = ((_206B_200F_200D_202D_202D_206E_202B_206E_206B_200C_200C_206D_206D_202B_206F_202B_206D_200C_202D_200D_206B_202E_200F_206E_202E_206B_206C_200E_200E_206B_200D_202B_206D_206D_206D_206A_206C_206C_206F_202D_202E(_003Czone_003E5__5).Count >= 3) ? 1353765130 : 1353765148); + continue; + IL_00a1: + num = ((!(_200C_202A_206D_202A_206F_200E_200C_206A_202C_202E_202D_206A_206A_206B_200F_202D_202A_200D_206F_202D_200C_200D_200E_206E_200E_200B_202E_200C_202C_206D_200C_200C_200F_200B_202B_200C_206C_202C_202A_206A_202E((IReadOnlyList)_206B_200F_200D_202D_202D_206E_202B_206E_206B_200C_200C_206D_206D_202B_206F_202B_206D_200C_202D_200D_206B_202E_200F_206E_202E_206B_206C_200E_200E_206B_200D_202B_206D_206D_206D_206A_206C_206C_206F_202D_202E(_003Czone_003E5__5)) < 0.01f)) ? 1353765132 : 1353765134); + continue; + IL_0100: + num = (_202B_206E_206E_206C_202A_200C_200C_202D_202B_202D_200E_202C_200D_202A_200C_206C_202A_200D_202C_206A_200D_200D_206B_200D_200E_206F_206A_200D_202C_202A_206D_206E_200D_206E_206B_206C_206E_200D_202A_202A_202E((IEnumerator)_003C_003E7__wrap1) ? 1353765128 : 1353765129); + continue; + IL_0178: + num = ((_003Cz_003E5__4 < _202E_200C_202A_200B_206B_206C_206A_206D_202B_206C_200C_202E_202A_200E_202B_206A_202D_206E_202D_200B_200F_200E_206B_200C_202A_206A_202B_206C_202D_206C_200F_202C_202B_206B_202B_206C_202C_200B_202E_200C_202E(_003CstepInfo_003E5__3.Step).Count) ? 1353765133 : 1353765131); + continue; + IL_00d3: + num = (_206A_206D_200F_202E_202D_202A_202B_206C_206D_202A_202A_202C_200D_206C_206F_206D_200C_200B_206B_200F_202C_206A_200D_206A_206D_202D_202E_206F_206B_202A_202C_200E_200E_206F_202C_202A_200E_202E_200C_202A_202E((IReadOnlyList)_206B_200F_200D_202D_202D_206E_202B_206E_206B_200C_200C_206D_206D_202B_206F_202B_206D_200C_202D_200D_206B_202E_200F_206E_202E_206B_206C_200E_200E_206B_200D_202B_206D_206D_206D_206A_206C_206C_206F_202D_202E(_003Czone_003E5__5)) ? 1353765123 : 1353765149); + continue; + end_IL_0029: + break; + } + goto case 2; + IL_04ef: + _003C_003E1__state = -3; + num = 1353765132; + goto IL_0029; + IL_0497: + _003C_003E1__state = -1; + _003C_003E7__wrap1 = quest.AllSteps().Where<(QuestSequence, int, QuestStep)>(delegate((QuestSequence Sequence, int StepId, QuestStep Step) x) + { + List list = _003C_003Ec._200D_202B_206F_200E_202E_206A_202A_206B_200D_206F_200C_202D_200F_202D_206E_202D_202E_202C_206D_202B_202B_200C_202D_202E_206E_206E_206F_202A_200B_202C_206B_200F_206D_200E_202E_202C_200C_202E_206B_206A_202E(x.Step); + int num6 = ((list == null) ? 293008772 : 293008775); + while (true) + { + int num7 = num6; + int num8 = 293008773; + int num9 = num7; + switch ((num9 | num8) - (num9 & num8)) + { + case 1: + return false; + case 2: + return list.Count > 0; + case 0: + goto IL_0059; + } + continue; + IL_0059: + num6 = 293008775; + } + }).GetEnumerator(); + _003C_003E1__state = -3; + num = 1353765126; + goto IL_0029; + IL_02fa: + _003C_003E1__state = -3; + num = 1353765135; + goto IL_0029; + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap1 == null) ? 849893968 : 849893971); + while (true) + { + int num2 = num; + int num3 = 849893970; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return; + case 1: + _202B_200B_206D_202B_206E_202A_206A_200D_200E_200F_206C_202A_206D_206D_206C_206F_202D_206F_202D_206B_202A_206F_200F_202A_200E_206F_206E_202D_200B_206D_200E_200F_200C_202D_202D_200F_206B_202E_206E_202C_202E((IDisposable)_003C_003E7__wrap1); + num = 849893968; + break; + case 0: + num = 849893971; + break; } } } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _200E_202D_200D_200B_202E_206F_206C_206D_206C_206F_206F_206F_202B_202E_202C_206B_206A_206D_202A_206F_206B_202A_202B_200D_202D_200C_202E_202D_202C_200F_202B_200E_206B_200D_206C_200F_202A_202C_206D_202A_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 1118277465 : 1118277470); + _003CValidate_003Ed__0 _003CValidate_003Ed__ = default(_003CValidate_003Ed__0); + while (true) + { + int num2 = num; + int num3 = 1118277469; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1118277470; + break; + case 4: + _003CValidate_003Ed__ = new _003CValidate_003Ed__0(0); + num = 1118277468; + break; + case 1: + _003CValidate_003Ed__.quest = _003C_003E3__quest; + return _003CValidate_003Ed__; + case 2: + _003C_003E1__state = 0; + _003CValidate_003Ed__ = this; + num = 1118277468; + break; + case 3: + num = ((_003C_003El__initialThreadId != _206B_202C_206F_206D_202E_202E_206D_206F_200C_200D_206C_200C_206A_206F_206D_206E_202D_202A_200C_202E_202E_206D_200F_200B_200F_200B_200E_200B_202A_200F_206E_206A_202E_206B_206B_202E_206F_200B_206B_202A_202E()) ? 1118277465 : 1118277471); + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _206B_202C_206F_206D_202E_202E_206D_206F_200C_200D_206C_200C_206A_206F_206D_206E_202D_202A_200C_202E_202E_206D_200F_200B_200F_200B_200E_200B_202A_200F_206E_206A_202E_206B_206B_202E_206F_200B_206B_202A_202E() + { + return Environment.CurrentManagedThreadId; + } + + static List _202E_200C_202A_200B_206B_206C_206A_206D_202B_206C_200C_202E_202A_200E_202B_206A_202D_206E_202D_200B_200F_200E_206B_200C_202A_206A_202B_206C_202D_206C_200F_202C_202B_206B_202B_206C_202C_200B_202E_200C_202E(QuestStep P_0) + { + return P_0.LandingZones; + } + + static List _206B_200F_200D_202D_202D_206E_202B_206E_206B_200C_200C_206D_206D_202B_206F_202B_206D_200C_202D_200D_206B_202E_200F_206E_202E_206B_206C_200E_200E_206B_200D_202B_206D_206D_206D_206A_206C_206C_206F_202D_202E(LandingZone P_0) + { + return P_0.Vertices; + } + + static byte _200B_202B_202B_206D_206D_200C_202E_206A_200B_206F_206A_206C_202B_202D_200C_200C_206F_200C_206D_200B_200E_200D_202A_206D_202B_202A_200C_206B_206A_202B_200F_206E_200C_206B_200D_206F_206B_206F_202A_202B_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static bool _206A_206D_200F_202E_202D_202A_202B_206C_206D_202A_202A_202C_200D_206C_206F_206D_200C_200B_206B_200F_202C_206A_200D_206A_206D_202D_202E_206F_206B_202A_202C_200E_200E_206F_202C_202A_200E_202E_200C_202A_202E(IReadOnlyList P_0) + { + return LandingZoneMath.IsConvex(P_0); + } + + static float _200C_202A_206D_202A_206F_200E_200C_206A_202C_202E_202D_206A_206A_206B_200F_202D_202A_200D_206F_202D_200C_200D_200E_206E_200E_200B_202E_200C_202C_206D_200C_200C_200F_200B_202B_200C_206C_202C_202A_206A_202E(IReadOnlyList P_0) + { + return LandingZoneMath.CalculatePolygonArea(P_0); + } + + static bool _202B_206E_206E_206C_202A_200C_200C_202D_202B_202D_200E_202C_200D_202A_200C_206C_202A_200D_202C_206A_200D_200D_206B_200D_200E_206F_206A_200D_202C_202A_206D_206E_200D_206E_206B_206C_206E_200D_202A_202A_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202B_200B_206D_202B_206E_202A_206A_200D_200E_200F_206C_202A_206D_206D_206C_206F_202D_206F_202D_206B_202A_206F_200F_202A_200E_206F_206E_202D_200B_206D_200E_200F_200C_202D_202D_200F_206B_202E_206E_202C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _200E_202D_200D_200B_202E_206F_206C_206D_206C_206F_206F_206F_202B_202E_202C_206B_206A_206D_202A_206F_206B_202A_202B_200D_202D_200C_202E_202D_202C_200F_202B_200E_206B_200D_206C_200F_202A_202C_206D_202A_202E() + { + return new NotSupportedException(); + } + } + + [IteratorStateMachine(typeof(_003CValidate_003Ed__0))] + public IEnumerable Validate(Quest quest) + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CValidate_003Ed__0(-2) + { + _003C_003E3__quest = quest + }; + } + + IEnumerable IQuestValidator.Validate(Quest quest) + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(quest); } } diff --git a/Questionable/Questionable.Validation.Validators/NextQuestValidator.cs b/Questionable/Questionable.Validation.Validators/NextQuestValidator.cs index e588bcd2..be8b1a54 100644 --- a/Questionable/Questionable.Validation.Validators/NextQuestValidator.cs +++ b/Questionable/Questionable.Validation.Validators/NextQuestValidator.cs @@ -1,5 +1,9 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; +using System.Runtime.CompilerServices; using Questionable.Model; using Questionable.Model.Questing; @@ -7,21 +11,305 @@ namespace Questionable.Validation.Validators; internal sealed class NextQuestValidator : IQuestValidator { - public IEnumerable Validate(Quest quest) + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass0_0 { - foreach (var item in from x in quest.AllSteps() - where x.Step.NextQuestId == quest.Id - select x) + public Quest quest; + + public Func<(QuestSequence Sequence, int StepId, QuestStep Step), bool> _003C_003E9__0; + + internal bool _003CValidate_003Eb__0((QuestSequence Sequence, int StepId, QuestStep Step) x) { - yield return new ValidationIssue - { - ElementId = quest.Id, - Sequence = item.Item1.Sequence, - Step = item.Item2, - Type = EIssueType.InvalidNextQuestId, - Severity = EIssueSeverity.Error, - Description = "Next quest should not reference itself" - }; + return _200E_200D_202E_206B_206C_202A_200E_206C_202B_200B_206A_206C_206C_200F_206A_202B_206D_200E_206E_200B_202D_202A_202C_206C_202B_206C_206C_200B_202D_200F_200B_202B_200E_206B_206A_202D_206D_202E_206C_200E_202E(_202A_200E_206B_202C_202D_200E_200D_206E_200E_206C_206A_200F_202E_200E_200C_206E_202C_200D_200E_202B_200C_206C_202A_202D_202D_200B_202B_202A_200B_200C_202E_202A_206F_206E_202A_202C_202B_200F_202D_206A_202E(x.Step), quest.Id); + } + + static ElementId _202A_200E_206B_202C_202D_200E_200D_206E_200E_206C_206A_200F_202E_200E_200C_206E_202C_200D_200E_202B_200C_206C_202A_202D_202D_200B_202B_202A_200B_200C_202E_202A_206F_206E_202A_202C_202B_200F_202D_206A_202E(QuestStep P_0) + { + return P_0.NextQuestId; + } + + static bool _200E_200D_202E_206B_206C_202A_200E_206C_202B_200B_206A_206C_206C_200F_206A_202B_206D_200E_206E_200B_202D_202A_202C_206C_202B_206C_206C_200B_202D_200F_200B_202B_200E_206B_206A_202D_206D_202E_206C_200E_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; } } + + [CompilerGenerated] + private sealed class _003CValidate_003Ed__0 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Quest quest; + + public Quest _003C_003E3__quest; + + private _003C_003Ec__DisplayClass0_0 _003C_003E8__1; + + private IEnumerator<(QuestSequence Sequence, int StepId, QuestStep Step)> _003C_003E7__wrap1; + + ValidationIssue IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__0(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _206C_206C_206D_200E_206B_200C_206D_200E_200D_206E_202B_200F_202C_200D_206A_202D_206F_206B_206A_200E_202D_200D_206D_200F_202C_202D_206E_206A_200F_206F_200D_206F_202D_202E_202E_200E_200C_206A_206D_206F_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? (-177611004) : (-177611003)); + while (true) + { + int num3 = num2; + int num4 = -177611004; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 2: + num2 = -177611003; + continue; + case 1: + if (num == 1) + { + num2 = -177611004; + continue; + } + break; + case 0: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E8__1 = null; + _003C_003E7__wrap1 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + int num2 = ((num == 0) ? 204267570 : 204267569); + while (true) + { + int num3 = num2; + int num4 = 204267573; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 7: + _003C_003E1__state = -1; + _003C_003E8__1 = new _003C_003Ec__DisplayClass0_0(); + _003C_003E8__1.quest = quest; + _003C_003E7__wrap1 = (from x in _003C_003E8__1.quest.AllSteps() + where _003C_003Ec__DisplayClass0_0._200E_200D_202E_206B_206C_202A_200E_206C_202B_200B_206A_206C_206C_200F_206A_202B_206D_200E_206E_200B_202D_202A_202C_206C_202B_206C_206C_200B_202D_200F_200B_202B_200E_206B_206A_202D_206D_202E_206C_200E_202E(_003C_003Ec__DisplayClass0_0._202A_200E_206B_202C_202D_200E_200D_206E_200E_206C_206A_200F_202E_200E_200C_206E_202C_200D_200E_202B_200C_206C_202A_202D_202D_200B_202B_202A_200B_200C_202E_202A_206F_206E_202A_202C_202B_200F_202D_206A_202E(x.Step), _003C_003E8__1.quest.Id) + select x).GetEnumerator(); + _003C_003E1__state = -3; + num2 = 204267574; + break; + case 1: + { + (QuestSequence, int, QuestStep) current = _003C_003E7__wrap1.Current; + _003C_003E2__current = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _202E_206D_200B_200B_202D_202E_206B_200B_202E_206A_202E_202D_202A_202E_202C_206E_202C_202E_202B_202E_200C_200E_202E_206D_206B_200D_202A_206F_202A_206A_202C_206D_200B_206E_200D_202C_200F_202B_206A_200D_202E((object)_003C_003E8__1.quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation(_200B_202E_206E_202E_200D_202A_200D_200E_200E_200F_200E_206E_206A_206A_202D_200E_206D_202B_200E_200D_206E_202D_206C_206B_200F_200F_202B_200C_206B_202B_206D_200E_200D_200B_206F_206A_200B_202B_206E_200F_202E(current.Item1), current.Item2), + Type = EIssueType.InvalidNextQuestId, + Severity = EIssueSeverity.Error, + Description = global::_003CModule_003E._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(-552631953) + }; + _003C_003E1__state = 1; + return true; + } + case 4: + num2 = ((num == 1) ? 204267573 : 204267568); + break; + case 3: + num2 = (_202D_200C_202D_206D_206A_200F_200D_202D_200F_206D_206F_206E_200E_200D_202A_200C_202D_200F_202D_206C_202B_202D_206C_202C_202D_202B_202D_206A_202B_200E_200F_206E_200D_200D_200D_202A_202E_200C_200B_206D_202E((IEnumerator)_003C_003E7__wrap1) ? 204267572 : 204267571); + break; + case 5: + return false; + case 2: + num2 = 204267569; + break; + case 0: + _003C_003E1__state = -3; + num2 = 204267574; + break; + case 6: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = null; + return false; + } + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap1 == null) ? (-1138121483) : (-1138121484)); + while (true) + { + int num2 = num; + int num3 = -1138121483; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return; + case 1: + _200D_206A_202A_200D_200E_202C_200B_202C_200F_200B_200E_200D_200F_200B_206E_206B_200F_200C_200E_206A_202B_200C_202E_206F_200B_206B_206B_200C_200C_206A_200D_206C_202E_200C_206B_202C_200D_206D_202D_202E((IDisposable)_003C_003E7__wrap1); + num = -1138121483; + break; + case 2: + num = -1138121484; + break; + } + } + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206A_200E_202A_202D_202A_206C_202D_202A_206D_206A_200E_202A_206C_206C_200C_206B_206A_206B_206F_200E_202A_200F_200C_206F_202A_206F_206E_206D_200E_200F_200B_206D_206C_202D_202A_200D_206B_202C_202B_200C_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-561173402) : (-561173406)); + _003CValidate_003Ed__0 _003CValidate_003Ed__ = default(_003CValidate_003Ed__0); + while (true) + { + int num2 = num; + int num3 = -561173402; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -561173406; + break; + case 0: + _003CValidate_003Ed__ = new _003CValidate_003Ed__0(0); + num = -561173404; + break; + case 2: + _003CValidate_003Ed__.quest = _003C_003E3__quest; + return _003CValidate_003Ed__; + case 1: + _003C_003E1__state = 0; + _003CValidate_003Ed__ = this; + num = -561173404; + break; + case 4: + num = ((_003C_003El__initialThreadId != _206C_206C_206D_200E_206B_200C_206D_200E_200D_206E_202B_200F_202C_200D_206A_202D_206F_206B_206A_200E_202D_200D_206D_200F_202C_202D_206E_206A_200F_206F_200D_206F_202D_202E_202E_200E_200C_206A_206D_206F_202E()) ? (-561173402) : (-561173401)); + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _206C_206C_206D_200E_206B_200C_206D_200E_200D_206E_202B_200F_202C_200D_206A_202D_206F_206B_206A_200E_202D_200D_206D_200F_202C_202D_206E_206A_200F_206F_200D_206F_202D_202E_202E_200E_200C_206A_206D_206F_202E() + { + return Environment.CurrentManagedThreadId; + } + + static string _202E_206D_200B_200B_202D_202E_206B_200B_202E_206A_202E_202D_202A_202E_202C_206E_202C_202E_202B_202E_200C_200E_202E_206D_206B_200D_202A_206F_202A_206A_202C_206D_200B_206E_200D_202C_200F_202B_206A_200D_202E(object P_0) + { + return P_0.ToString(); + } + + static byte _200B_202E_206E_202E_200D_202A_200D_200E_200E_200F_200E_206E_206A_206A_202D_200E_206D_202B_200E_200D_206E_202D_206C_206B_200F_200F_202B_200C_206B_202B_206D_200E_200D_200B_206F_206A_200B_202B_206E_200F_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static bool _202D_200C_202D_206D_206A_200F_200D_202D_200F_206D_206F_206E_200E_200D_202A_200C_202D_200F_202D_206C_202B_202D_206C_202C_202D_202B_202D_206A_202B_200E_200F_206E_200D_200D_200D_202A_202E_200C_200B_206D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200D_206A_202A_200D_200E_202C_200B_202C_200F_200B_200E_200D_200F_200B_206E_206B_200F_200C_200E_206A_202B_200C_202E_206F_200B_206B_206B_200C_200C_206A_200D_206C_202E_200C_206B_202C_200D_206D_202D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _206A_200E_202A_202D_202A_206C_202D_202A_206D_206A_200E_202A_206C_206C_200C_206B_206A_206B_206F_200E_202A_200F_200C_206F_202A_206F_206E_206D_200E_200F_200B_206D_206C_202D_202A_200D_206B_202C_202B_200C_202E() + { + return new NotSupportedException(); + } + } + + [IteratorStateMachine(typeof(_003CValidate_003Ed__0))] + public IEnumerable Validate(Quest quest) + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CValidate_003Ed__0(-2) + { + _003C_003E3__quest = quest + }; + } + + IEnumerable IQuestValidator.Validate(Quest quest) + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(quest); + } } diff --git a/Questionable/Questionable.Validation.Validators/QuestDisabledValidator.cs b/Questionable/Questionable.Validation.Validators/QuestDisabledValidator.cs index 17e660d0..08eb13b8 100644 --- a/Questionable/Questionable.Validation.Validators/QuestDisabledValidator.cs +++ b/Questionable/Questionable.Validation.Validators/QuestDisabledValidator.cs @@ -1,23 +1,230 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; using Questionable.Model; +using Questionable.Model.Questing; namespace Questionable.Validation.Validators; internal sealed class QuestDisabledValidator : IQuestValidator { - public IEnumerable Validate(Quest quest) + [CompilerGenerated] + private sealed class _003CValidate_003Ed__0 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable { - if (quest.Root.Disabled) + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Quest quest; + + public Quest _003C_003E3__quest; + + ValidationIssue IEnumerator.Current { - yield return new ValidationIssue + [DebuggerHidden] + get { - ElementId = quest.Id, - Sequence = null, - Step = null, - Type = EIssueType.QuestDisabled, - Severity = EIssueSeverity.None, - Description = "Quest is disabled" - }; + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__0(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _202C_206D_202D_200B_206F_206B_200D_202B_202A_206E_206F_202C_202E_202C_200C_200C_206D_206E_200F_206A_206E_200E_206C_202A_206A_202B_202E_202B_206F_200B_206B_206B_206F_206A_202D_200C_206F_200B_206A_200C_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + int num = _003C_003E1__state; + int num2 = ((num == 0) ? 995898240 : 995898242); + while (true) + { + int num3 = num2; + int num4 = 995898241; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 4: + return false; + case 0: + return false; + case 6: + _003C_003E2__current = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _206E_200D_200D_200D_206D_202A_200F_206A_200C_200F_200D_206F_202E_202D_206E_200F_206E_206B_200D_206C_200B_202D_206D_200C_206C_206E_202D_206E_202A_200C_206D_202E_206F_202A_206D_206F_200C_202A_206F_202D_202E((object)quest.Id), + Location = null, + Type = EIssueType.QuestDisabled, + Severity = EIssueSeverity.None, + Description = global::_003CModule_003E._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(562118672) + }; + _003C_003E1__state = 1; + return true; + case 1: + _003C_003E1__state = -1; + num2 = ((!_200C_202A_206F_206B_206D_200D_202C_200F_200C_200D_200C_200E_206A_206F_200F_202E_206D_206E_206C_202A_200C_202E_200E_202B_200E_200D_206C_202A_202A_200F_202B_200F_200D_206F_202D_206E_200F_202E_200E_200F_202E(quest.Root)) ? 995898241 : 995898247); + break; + case 2: + _003C_003E1__state = -1; + num2 = 995898241; + break; + case 5: + num2 = 995898242; + break; + case 3: + num2 = ((num == 1) ? 995898243 : 995898245); + break; + } + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206D_206D_200B_202D_206A_200D_200B_200B_200C_202D_200C_200E_200E_206D_206C_206F_206D_200F_206F_206E_200D_206D_200F_206E_206E_200F_206A_202C_206A_200F_206A_206C_206D_202B_200C_200E_206D_202B_200D_202A_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 1288599093 : 1288599094); + _003CValidate_003Ed__0 _003CValidate_003Ed__ = default(_003CValidate_003Ed__0); + while (true) + { + int num2 = num; + int num3 = 1288599095; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + _003C_003E1__state = 0; + _003CValidate_003Ed__ = this; + num = 1288599092; + break; + case 1: + num = ((_003C_003El__initialThreadId != _202C_206D_202D_200B_206F_206B_200D_202B_202A_206E_206F_202C_202E_202C_200C_200C_206D_206E_200F_206A_206E_200E_206C_202A_206A_202B_202E_202B_206F_200B_206B_206B_206F_206A_202D_200C_206F_200B_206A_200C_202E()) ? 1288599093 : 1288599091); + break; + case 0: + num = 1288599094; + break; + case 3: + _003CValidate_003Ed__.quest = _003C_003E3__quest; + return _003CValidate_003Ed__; + case 2: + _003CValidate_003Ed__ = new _003CValidate_003Ed__0(0); + num = 1288599092; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _202C_206D_202D_200B_206F_206B_200D_202B_202A_206E_206F_202C_202E_202C_200C_200C_206D_206E_200F_206A_206E_200E_206C_202A_206A_202B_202E_202B_206F_200B_206B_206B_206F_206A_202D_200C_206F_200B_206A_200C_202E() + { + return Environment.CurrentManagedThreadId; + } + + static bool _200C_202A_206F_206B_206D_200D_202C_200F_200C_200D_200C_200E_206A_206F_200F_202E_206D_206E_206C_202A_200C_202E_200E_202B_200E_200D_206C_202A_202A_200F_202B_200F_200D_206F_202D_206E_200F_202E_200E_200F_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static string _206E_200D_200D_200D_206D_202A_200F_206A_200C_200F_200D_206F_202E_202D_206E_200F_206E_206B_200D_206C_200B_202D_206D_200C_206C_206E_202D_206E_202A_200C_206D_202E_206F_202A_206D_206F_200C_202A_206F_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static NotSupportedException _206D_206D_200B_202D_206A_200D_200B_200B_200C_202D_200C_200E_200E_206D_206C_206F_206D_200F_206F_206E_200D_206D_200F_206E_206E_200F_206A_202C_206A_200F_206A_206C_206D_202B_200C_200E_206D_202B_200D_202A_202E() + { + return new NotSupportedException(); } } + + public IEnumerable Validate(Quest quest) + { + int num = 995898240; + while (true) + { + int num2 = num; + int num3 = 995898241; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + yield break; + case 0: + yield break; + case 6: + yield return new ValidationIssue + { + PathType = EPathType.Quest, + Id = _003CValidate_003Ed__0._206E_200D_200D_200D_206D_202A_200F_206A_200C_200F_200D_206F_202E_202D_206E_200F_206E_206B_200D_206C_200B_202D_206D_200C_206C_206E_202D_206E_202A_200C_206D_202E_206F_202A_206D_206F_200C_202A_206F_202D_202E((object)quest.Id), + Location = null, + Type = EIssueType.QuestDisabled, + Severity = EIssueSeverity.None, + Description = global::_003CModule_003E._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(562118672) + }; + num = 995898242; + break; + case 1: + num = ((!_003CValidate_003Ed__0._200C_202A_206F_206B_206D_200D_202C_200F_200C_200D_200C_200E_206A_206F_200F_202E_206D_206E_206C_202A_200C_202E_200E_202B_200E_200D_206C_202A_202A_200F_202B_200F_200D_206F_202D_206E_200F_202E_200E_200F_202E(quest.Root)) ? 995898241 : 995898247); + break; + case 2: + num = 995898241; + break; + case 5: + num = 995898242; + break; + case 3: + { + int num7; + num = ((num7 == 1) ? 995898243 : 995898245); + break; + } + } + } + } + + IEnumerable IQuestValidator.Validate(Quest quest) + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(quest); + } } diff --git a/Questionable/Questionable.Validation.Validators/SayValidator.cs b/Questionable/Questionable.Validation.Validators/SayValidator.cs index d6a23267..3b7e78d9 100644 --- a/Questionable/Questionable.Validation.Validators/SayValidator.cs +++ b/Questionable/Questionable.Validation.Validators/SayValidator.cs @@ -1,5 +1,9 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; +using System.Runtime.CompilerServices; using Lumina.Text.ReadOnly; using Questionable.Functions; using Questionable.Model; @@ -9,6 +13,320 @@ namespace Questionable.Validation.Validators; internal sealed class SayValidator : IQuestValidator { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func<(QuestSequence Sequence, int StepId, QuestStep Step), bool> _003C_003E9__2_0; + + internal bool _003CValidate_003Eb__2_0((QuestSequence Sequence, int StepId, QuestStep Step) x) + { + return _206B_200C_206E_200C_200F_206F_200E_202E_206D_206F_200B_206B_206F_202C_200B_200B_206D_206E_206E_202A_200C_202B_206C_202B_200C_200F_202D_206F_206A_200F_206F_202A_202A_202B_200D_206C_200B_206C_200B_206F_202E(x.Step) == EInteractionType.Say; + } + + static EInteractionType _206B_200C_206E_200C_200F_206F_200E_202E_206D_206F_200B_206B_206F_202C_200B_200B_206D_206E_206E_202A_200C_202B_206C_202B_200C_200F_202D_206F_206A_200F_206F_202A_202A_202B_200D_206C_200B_206C_200B_206F_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + } + + [CompilerGenerated] + private sealed class _003CValidate_003Ed__2 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Quest quest; + + public Quest _003C_003E3__quest; + + public SayValidator _003C_003E4__this; + + private IEnumerator<(QuestSequence Sequence, int StepId, QuestStep Step)> _003C_003E7__wrap1; + + ValidationIssue IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__2(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _202D_206C_206C_200B_206C_200B_206A_206E_206F_206A_200B_206E_206E_206D_200D_206B_200C_206E_206C_206C_206F_206E_202A_200E_202D_206F_202E_202A_202C_202E_200B_200F_202B_200D_200B_202D_206A_202D_200F_200F_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? 413952866 : 413952865); + while (true) + { + int num3 = num2; + int num4 = 413952867; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 0: + num2 = 413952865; + continue; + case 2: + if (num == 1) + { + num2 = 413952866; + continue; + } + break; + case 1: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + SayValidator sayValidator = _003C_003E4__this; + int num2 = ((num == 0) ? (-1358153620) : (-1358153627)); + (QuestSequence, int, QuestStep) current = default((QuestSequence, int, QuestStep)); + ChatMessage chatMessage = default(ChatMessage); + ReadOnlySeString? rawDialogueText = default(ReadOnlySeString?); + while (true) + { + int num3 = num2; + int num4 = -1358153628; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + current = _003C_003E7__wrap1.Current; + chatMessage = _206E_206C_200D_202A_206C_200C_206E_200F_200E_200F_206B_200D_206A_202D_206C_202D_202A_206E_202C_206C_200E_206A_200E_202A_202D_202E_206E_200F_202E_206C_200E_206B_206E_202E_206A_202A_200F_206B_202C_206F_202E(current.Item3); + num2 = ((chatMessage == null) ? (-1358153619) : (-1358153632)); + break; + case 4: + rawDialogueText = sayValidator._excelFunctions.GetRawDialogueText(quest, _206A_202A_200B_202C_202A_206A_200E_206F_206F_200D_206C_200C_202A_206F_202C_206B_206B_202C_200F_202A_206C_206F_202E_200D_200C_200E_200F_206A_206C_202C_206A_200C_206E_200C_206F_200B_200F_200B_206C_206C_202E(chatMessage), _200E_206C_200C_202D_200C_200E_200D_200E_202A_200C_206A_200E_202A_206A_206B_200E_206C_202C_200D_206D_202B_202C_200F_206B_206B_202D_202D_202B_206C_206B_200D_200F_200E_200F_200F_200B_202A_200E_202D_206E_202E(chatMessage)); + num2 = ((!rawDialogueText.HasValue) ? (-1358153619) : (-1358153629)); + break; + case 5: + { + ValidationIssue obj = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _200D_202C_202B_200E_206B_206D_200D_206A_200B_206B_206A_206D_202C_206C_206D_200E_200F_200C_200B_202A_202A_200F_206B_206A_206F_206F_200E_202E_206F_202A_200D_202D_206D_200B_206D_200B_206C_202B_200B_206F_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation(_206E_202E_206F_202C_200B_200D_202A_206A_206B_206E_206D_200D_200D_200C_202E_202C_202B_200E_206D_200D_202E_206B_202E_202A_200C_200B_206D_200F_206D_206F_206B_206A_202D_206E_202E_206B_206A_206E_202E_206A_202E(current.Item1), current.Item2), + Type = EIssueType.InvalidChatMessage, + Severity = EIssueSeverity.Error + }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(22, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1570396042)); + defaultInterpolatedStringHandler.AppendFormatted(rawDialogueText.Value); + obj.Description = defaultInterpolatedStringHandler.ToStringAndClear(); + _003C_003E2__current = obj; + _003C_003E1__state = 1; + return true; + } + case 1: + num2 = ((num == 1) ? (-1358153618) : (-1358153625)); + break; + case 9: + num2 = (_200E_206A_202C_206B_200C_206E_200E_202E_206B_206A_206F_206B_202A_202B_206E_202C_202B_200F_206D_206E_206A_206A_202A_206F_206A_206D_200B_200B_200B_202C_200B_206F_202D_206A_202C_206C_202B_206F_206C_202D_202E((IEnumerator)_003C_003E7__wrap1) ? (-1358153626) : (-1358153628)); + break; + case 8: + _003C_003E1__state = -1; + _003C_003E7__wrap1 = (from x in quest.AllSteps() + where _003C_003Ec._206B_200C_206E_200C_200F_206F_200E_202E_206D_206F_200B_206B_206F_202C_200B_200B_206D_206E_206E_202A_200C_202B_206C_202B_200C_200F_202D_206F_206A_200F_206F_202A_202A_202B_200D_206C_200B_206C_200B_206F_202E(x.Step) == EInteractionType.Say + select x).GetEnumerator(); + _003C_003E1__state = -3; + num2 = -1358153619; + break; + case 3: + return false; + case 7: + num2 = ((rawDialogueText.Value.PayloadCount == 1) ? (-1358153619) : (-1358153631)); + break; + case 6: + num2 = -1358153627; + break; + case 10: + _003C_003E1__state = -3; + num2 = -1358153619; + break; + case 0: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = null; + return false; + } + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap1 == null) ? 859629855 : 859629852); + while (true) + { + int num2 = num; + int num3 = 859629854; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return; + case 2: + _200C_206D_206F_200C_206C_200E_202D_206F_206F_206B_206A_206E_206A_202B_202A_206A_202B_200E_206C_202A_202D_200B_206F_202B_202D_202C_200D_206E_206C_200D_202B_200B_206A_206D_200C_200B_200B_202B_206D_206B_202E((IDisposable)_003C_003E7__wrap1); + num = 859629855; + break; + case 0: + num = 859629852; + break; + } + } + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _200F_202B_206B_206C_206F_200F_206D_202D_206A_200F_206A_206D_206B_200E_200F_200F_200C_200F_202A_202B_200F_202D_200D_206D_206B_202E_202E_206A_206F_206E_200B_206D_200E_200F_206A_200F_206F_202A_202D_200C_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 847025892 : 847025894); + _003CValidate_003Ed__2 _003CValidate_003Ed__ = default(_003CValidate_003Ed__2); + while (true) + { + int num2 = num; + int num3 = 847025893; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 847025894; + break; + case 3: + num = ((_003C_003El__initialThreadId != _202D_206C_206C_200B_206C_200B_206A_206E_206F_206A_200B_206E_206E_206D_200D_206B_200C_206E_206C_206C_206F_206E_202A_200E_202D_206F_202E_202A_202C_202E_200B_200F_202B_200D_200B_202D_206A_202D_200F_200F_202E()) ? 847025892 : 847025895); + break; + case 1: + _003CValidate_003Ed__ = new _003CValidate_003Ed__2(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = 847025893; + break; + case 0: + _003CValidate_003Ed__.quest = _003C_003E3__quest; + return _003CValidate_003Ed__; + case 2: + _003C_003E1__state = 0; + _003CValidate_003Ed__ = this; + num = 847025893; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _202D_206C_206C_200B_206C_200B_206A_206E_206F_206A_200B_206E_206E_206D_200D_206B_200C_206E_206C_206C_206F_206E_202A_200E_202D_206F_202E_202A_202C_202E_200B_200F_202B_200D_200B_202D_206A_202D_200F_200F_202E() + { + return Environment.CurrentManagedThreadId; + } + + static ChatMessage _206E_206C_200D_202A_206C_200C_206E_200F_200E_200F_206B_200D_206A_202D_206C_202D_202A_206E_202C_206C_200E_206A_200E_202A_202D_202E_206E_200F_202E_206C_200E_206B_206E_202E_206A_202A_200F_206B_202C_206F_202E(QuestStep P_0) + { + return P_0.ChatMessage; + } + + static string _206A_202A_200B_202C_202A_206A_200E_206F_206F_200D_206C_200C_202A_206F_202C_206B_206B_202C_200F_202A_206C_206F_202E_200D_200C_200E_200F_206A_206C_202C_206A_200C_206E_200C_206F_200B_200F_200B_206C_206C_202E(ChatMessage P_0) + { + return P_0.ExcelSheet; + } + + static string _200E_206C_200C_202D_200C_200E_200D_200E_202A_200C_206A_200E_202A_206A_206B_200E_206C_202C_200D_206D_202B_202C_200F_206B_206B_202D_202D_202B_206C_206B_200D_200F_200E_200F_200F_200B_202A_200E_202D_206E_202E(ChatMessage P_0) + { + return P_0.Key; + } + + static string _200D_202C_202B_200E_206B_206D_200D_206A_200B_206B_206A_206D_202C_206C_206D_200E_200F_200C_200B_202A_202A_200F_206B_206A_206F_206F_200E_202E_206F_202A_200D_202D_206D_200B_206D_200B_206C_202B_200B_206F_202E(object P_0) + { + return P_0.ToString(); + } + + static byte _206E_202E_206F_202C_200B_200D_202A_206A_206B_206E_206D_200D_200D_200C_202E_202C_202B_200E_206D_200D_202E_206B_202E_202A_200C_200B_206D_200F_206D_206F_206B_206A_202D_206E_202E_206B_206A_206E_202E_206A_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static bool _200E_206A_202C_206B_200C_206E_200E_202E_206B_206A_206F_206B_202A_202B_206E_202C_202B_200F_206D_206E_206A_206A_202A_206F_206A_206D_200B_200B_200B_202C_200B_206F_202D_206A_202C_206C_202B_206F_206C_202D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200C_206D_206F_200C_206C_200E_202D_206F_206F_206B_206A_206E_206A_202B_202A_206A_202B_200E_206C_202A_202D_200B_206F_202B_202D_202C_200D_206E_206C_200D_202B_200B_206A_206D_200C_200B_200B_202B_206D_206B_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _200F_202B_206B_206C_206F_200F_206D_202D_206A_200F_206A_206D_206B_200E_200F_200F_200C_200F_202A_202B_200F_202D_200D_206D_206B_202E_202E_206A_206F_206E_200B_206D_200E_200F_206A_200F_206F_202A_202D_200C_202E() + { + return new NotSupportedException(); + } + } + private readonly ExcelFunctions _excelFunctions; public SayValidator(ExcelFunctions excelFunctions) @@ -16,29 +334,20 @@ internal sealed class SayValidator : IQuestValidator _excelFunctions = excelFunctions; } + [IteratorStateMachine(typeof(_003CValidate_003Ed__2))] public IEnumerable Validate(Quest quest) { - foreach (var item in from x in quest.AllSteps() - where x.Step.InteractionType == EInteractionType.Say - select x) + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CValidate_003Ed__2(-2) { - ChatMessage chatMessage = item.Item3.ChatMessage; - if (chatMessage != null) - { - ReadOnlySeString? rawDialogueText = _excelFunctions.GetRawDialogueText(quest, chatMessage.ExcelSheet, chatMessage.Key); - if (rawDialogueText.HasValue && rawDialogueText.Value.PayloadCount != 1) - { - yield return new ValidationIssue - { - ElementId = quest.Id, - Sequence = item.Item1.Sequence, - Step = item.Item2, - Type = EIssueType.InvalidChatMessage, - Severity = EIssueSeverity.Error, - Description = $"Invalid chat message: {rawDialogueText.Value}" - }; - } - } - } + _003C_003E4__this = this, + _003C_003E3__quest = quest + }; + } + + IEnumerable IQuestValidator.Validate(Quest quest) + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(quest); } } diff --git a/Questionable/Questionable.Validation.Validators/SeasonalDutySchemaValidator.cs b/Questionable/Questionable.Validation.Validators/SeasonalDutySchemaValidator.cs new file mode 100644 index 00000000..435161ec --- /dev/null +++ b/Questionable/Questionable.Validation.Validators/SeasonalDutySchemaValidator.cs @@ -0,0 +1,22 @@ +using System.Runtime.CompilerServices; + +namespace Questionable.Validation.Validators; + +internal sealed class SeasonalDutySchemaValidator : DefinitionSchemaValidator +{ + protected override EPathType PathType => EPathType.SeasonalDuty; + + protected override string MainSchemaUri + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(-912722245); + } + } + + public SeasonalDutySchemaValidator(SchemaRegistrar schemaRegistrar) + : base(schemaRegistrar) + { + } +} diff --git a/Questionable/Questionable.Validation.Validators/SinglePlayerInstanceValidator.cs b/Questionable/Questionable.Validation.Validators/SinglePlayerInstanceValidator.cs index ae13bacb..e918c3f1 100644 --- a/Questionable/Questionable.Validation.Validators/SinglePlayerInstanceValidator.cs +++ b/Questionable/Questionable.Validation.Validators/SinglePlayerInstanceValidator.cs @@ -1,5 +1,9 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; +using System.Runtime.CompilerServices; using Questionable.Data; using Questionable.Model; using Questionable.Model.Questing; @@ -8,6 +12,297 @@ namespace Questionable.Validation.Validators; internal sealed class SinglePlayerInstanceValidator : IQuestValidator { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass2_0 + { + public byte index; + + internal bool _003CValidate_003Eb__0((QuestSequence Sequence, int StepId, QuestStep Step) x) + { + int num = ((_202B_200B_200C_200C_202D_202A_202E_200B_202B_202C_202B_202C_200D_200E_200B_202E_206E_206C_200B_200C_206A_202E_200F_206D_200F_202D_202B_202E_206A_200D_202A_206D_206F_206C_206D_202E_202E_206B_200C_202E(x.Step) != EInteractionType.SinglePlayerDuty) ? 393057114 : 393057113); + while (true) + { + int num2 = num; + int num3 = 393057115; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004f; + case 1: + return false; + case 2: + return _202C_206E_206C_206F_206F_206A_202D_206C_206D_200E_200F_202A_202A_200D_206D_206E_202D_202C_202D_206D_202D_206A_200E_202B_206B_202C_200F_202B_202E_200D_206C_200E_202E_202C_206B_202D_206D_200B_202D_202E(x.Step) == index; + } + continue; + IL_004f: + num = 393057113; + } + } + + static EInteractionType _202B_200B_200C_200C_202D_202A_202E_200B_202B_202C_202B_202C_200D_200E_200B_202E_206E_206C_200B_200C_206A_202E_200F_206D_200F_202D_202B_202E_206A_200D_202A_206D_206F_206C_206D_202E_202E_206B_200C_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static byte _202C_206E_206C_206F_206F_206A_202D_206C_206D_200E_200F_202A_202A_200D_206D_206E_202D_202C_202D_206D_202D_206A_200E_202B_206B_202C_200F_202B_202E_200D_206C_200E_202E_202C_206B_202D_206D_200B_202D_202E(QuestStep P_0) + { + return P_0.SinglePlayerDutyIndex; + } + } + + [CompilerGenerated] + private sealed class _003CValidate_003Ed__2 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public SinglePlayerInstanceValidator _003C_003E4__this; + + private Quest quest; + + public Quest _003C_003E3__quest; + + private List.Enumerator _003C_003E7__wrap1; + + ValidationIssue IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__2(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _202E_202B_206A_200E_206D_206E_206E_206E_202B_200F_206B_200F_202E_200C_206B_202B_200B_206C_206E_206C_200D_202C_206C_206C_200D_202A_202E_202E_202A_206B_202B_206E_202D_200C_206A_206C_206B_202A_202C_206A_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? (-1938689052) : (-1938689051)); + while (true) + { + int num3 = num2; + int num4 = -1938689052; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 2: + num2 = -1938689051; + continue; + case 1: + if (num == 1) + { + num2 = -1938689052; + continue; + } + break; + case 0: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = default(List.Enumerator); + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + SinglePlayerInstanceValidator singlePlayerInstanceValidator = _003C_003E4__this; + int num2 = ((num == 0) ? (-217172285) : (-217172288)); + List value = default(List); + _003C_003Ec__DisplayClass2_0 _003C_003Ec__DisplayClass2_ = default(_003C_003Ec__DisplayClass2_0); + while (true) + { + int num3 = num2; + int num4 = -217172283; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 8: + num2 = (_003C_003E7__wrap1.MoveNext() ? (-217172286) : (-217172283)); + break; + case 9: + _003C_003E7__wrap1 = value.GetEnumerator(); + _003C_003E1__state = -3; + num2 = -217172275; + break; + case 1: + return false; + case 7: + _003C_003Ec__DisplayClass2_ = new _003C_003Ec__DisplayClass2_0 + { + index = _003C_003E7__wrap1.Current + }; + num2 = (quest.AllSteps().Any(_003C_003Ec__DisplayClass2_._003CValidate_003Eb__0) ? (-217172275) : (-217172281)); + break; + case 6: + _003C_003E1__state = -1; + num2 = ((!singlePlayerInstanceValidator._questIdToDutyIndexes.TryGetValue(quest.Id, out value)) ? (-217172273) : (-217172276)); + break; + case 0: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = default(List.Enumerator); + num2 = -217172273; + break; + case 3: + _003C_003E1__state = -3; + num2 = -217172275; + break; + case 4: + num2 = -217172288; + break; + case 2: + { + ValidationIssue obj = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _202D_206F_206C_206D_202C_200D_202E_206A_206D_206F_200C_202C_206D_202E_202A_200E_200F_202A_206A_200C_200C_202C_200D_200C_206B_206F_202E_200F_206A_200D_202E_206B_206F_200E_206D_202E_202D_200C_206F_200D_202E((object)quest.Id), + Location = null, + Type = EIssueType.UnusedSinglePlayerInstance, + Severity = EIssueSeverity.Error + }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(32, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1732898265)); + defaultInterpolatedStringHandler.AppendFormatted(_003C_003Ec__DisplayClass2_.index); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1502904909)); + obj.Description = defaultInterpolatedStringHandler.ToStringAndClear(); + _003C_003E2__current = obj; + _003C_003E1__state = 1; + return true; + } + case 5: + num2 = ((num == 1) ? (-217172282) : (-217172284)); + break; + case 10: + return false; + } + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + ((IDisposable)_003C_003E7__wrap1/*cast due to .constrained prefix*/).Dispose(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _200B_200D_202A_202C_200F_200F_206D_202C_200C_200E_200D_202B_206D_206F_202E_206F_200E_202D_200E_202C_206C_206D_200C_202D_206D_200D_200B_206C_202B_200E_202E_200D_202A_202E_200E_200B_206D_202C_202A_202A_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-105732161) : (-105732163)); + _003CValidate_003Ed__2 _003CValidate_003Ed__ = default(_003CValidate_003Ed__2); + while (true) + { + int num2 = num; + int num3 = -105732162; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -105732163; + break; + case 3: + num = ((_003C_003El__initialThreadId != _202E_202B_206A_200E_206D_206E_206E_206E_202B_200F_206B_200F_202E_200C_206B_202B_200B_206C_206E_206C_200D_202C_206C_206C_200D_202A_202E_202E_202A_206B_202B_206E_202D_200C_206A_206C_206B_202A_202C_206A_202E()) ? (-105732161) : (-105732166)); + break; + case 1: + _003CValidate_003Ed__ = new _003CValidate_003Ed__2(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = -105732162; + break; + case 0: + _003CValidate_003Ed__.quest = _003C_003E3__quest; + return _003CValidate_003Ed__; + case 4: + _003C_003E1__state = 0; + _003CValidate_003Ed__ = this; + num = -105732162; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _202E_202B_206A_200E_206D_206E_206E_206E_202B_200F_206B_200F_202E_200C_206B_202B_200B_206C_206E_206C_200D_202C_206C_206C_200D_202A_202E_202E_202A_206B_202B_206E_202D_200C_206A_206C_206B_202A_202C_206A_202E() + { + return Environment.CurrentManagedThreadId; + } + + static string _202D_206F_206C_206D_202C_200D_202E_206A_206D_206F_200C_202C_206D_202E_202A_200E_200F_202A_206A_200C_200C_202C_200D_200C_206B_206F_202E_200F_206A_200D_202E_206B_206F_200E_206D_202E_202D_200C_206F_200D_202E(object P_0) + { + return P_0.ToString(); + } + + static NotSupportedException _200B_200D_202A_202C_200F_200F_206D_202C_200C_200E_200D_202B_206D_206F_202E_206F_200E_202D_200E_202C_206C_206D_200C_202D_206D_200D_200B_206C_202B_200E_202E_200D_202A_202E_200E_200B_206D_202C_202A_202A_202E() + { + return new NotSupportedException(); + } + } + private readonly Dictionary> _questIdToDutyIndexes; public SinglePlayerInstanceValidator(TerritoryData territoryData) @@ -16,26 +311,20 @@ internal sealed class SinglePlayerInstanceValidator : IQuestValidator group x by x.QuestId).ToDictionary((IGrouping x) => x.Key, (IGrouping x) => x.Select(((ElementId QuestId, byte Index, TerritoryData.ContentFinderConditionData Data) y) => y.Index).ToList()); } + [IteratorStateMachine(typeof(_003CValidate_003Ed__2))] public IEnumerable Validate(Quest quest) { - if (!_questIdToDutyIndexes.TryGetValue(quest.Id, out List value)) + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CValidate_003Ed__2(-2) { - yield break; - } - foreach (byte index in value) - { - if (!quest.AllSteps().Any<(QuestSequence, int, QuestStep)>(((QuestSequence Sequence, int StepId, QuestStep Step) x) => x.Step.InteractionType == EInteractionType.SinglePlayerDuty && x.Step.SinglePlayerDutyIndex == index)) - { - yield return new ValidationIssue - { - ElementId = quest.Id, - Sequence = null, - Step = null, - Type = EIssueType.UnusedSinglePlayerInstance, - Severity = EIssueSeverity.Error, - Description = $"Single player instance {index} not used" - }; - } - } + _003C_003E4__this = this, + _003C_003E3__quest = quest + }; + } + + IEnumerable IQuestValidator.Validate(Quest quest) + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(quest); } } diff --git a/Questionable/Questionable.Validation.Validators/UniqueSinglePlayerInstanceValidator.cs b/Questionable/Questionable.Validation.Validators/UniqueSinglePlayerInstanceValidator.cs index 866677bb..64a12cd2 100644 --- a/Questionable/Questionable.Validation.Validators/UniqueSinglePlayerInstanceValidator.cs +++ b/Questionable/Questionable.Validation.Validators/UniqueSinglePlayerInstanceValidator.cs @@ -1,5 +1,9 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; +using System.Runtime.CompilerServices; using Questionable.Model; using Questionable.Model.Questing; @@ -7,26 +11,297 @@ namespace Questionable.Validation.Validators; internal sealed class UniqueSinglePlayerInstanceValidator : IQuestValidator { - public IEnumerable Validate(Quest quest) + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec { - List<(QuestSequence, int, byte)> list = (from x in quest.AllSteps() - where x.Step.InteractionType == EInteractionType.SinglePlayerDuty - select (Sequence: x.Sequence, StepId: x.StepId, SinglePlayerDutyIndex: x.Step.SinglePlayerDutyIndex)).ToList(); - if (list.DistinctBy<(QuestSequence, int, byte), byte>(((QuestSequence Sequence, int StepId, byte SinglePlayerDutyIndex) x) => x.SinglePlayerDutyIndex).Count() >= list.Count) + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func<(QuestSequence Sequence, int StepId, QuestStep Step), bool> _003C_003E9__0_0; + + public static Func<(QuestSequence Sequence, int StepId, QuestStep Step), (QuestSequence Sequence, int StepId, byte SinglePlayerDutyIndex)> _003C_003E9__0_1; + + public static Func<(QuestSequence Sequence, int StepId, byte SinglePlayerDutyIndex), byte> _003C_003E9__0_2; + + internal bool _003CValidate_003Eb__0_0((QuestSequence Sequence, int StepId, QuestStep Step) x) { - yield break; + return _206D_200E_202B_206B_200E_206F_202C_206B_206D_200C_206F_200F_206E_206F_202D_202D_200E_200F_202A_200C_206C_206A_206F_200C_206E_202C_200F_200B_200C_202B_200F_202C_200B_202E_202A_200D_206B_202C_200F_206B_202E(x.Step) == EInteractionType.SinglePlayerDuty; } - foreach (var item in list) + + internal (QuestSequence Sequence, int StepId, byte SinglePlayerDutyIndex) _003CValidate_003Eb__0_1((QuestSequence Sequence, int StepId, QuestStep Step) x) { - yield return new ValidationIssue - { - ElementId = quest.Id, - Sequence = item.Item1.Sequence, - Step = item.Item2, - Type = EIssueType.DuplicateSinglePlayerInstance, - Severity = EIssueSeverity.Error, - Description = $"Duplicate singleplayer duty index: {item.Item3}" - }; + return (Sequence: x.Sequence, StepId: x.StepId, SinglePlayerDutyIndex: _206E_206D_202A_206D_200E_202A_206E_206A_200D_206B_206A_202D_202A_200D_200F_200B_200F_206B_206D_206D_202B_202B_200E_202C_200E_202D_202C_206B_206A_200C_206F_202E_202C_200E_202D_200D_202A_202B_200D_206F_202E(x.Step)); + } + + internal byte _003CValidate_003Eb__0_2((QuestSequence Sequence, int StepId, byte SinglePlayerDutyIndex) x) + { + return x.SinglePlayerDutyIndex; + } + + static EInteractionType _206D_200E_202B_206B_200E_206F_202C_206B_206D_200C_206F_200F_206E_206F_202D_202D_200E_200F_202A_200C_206C_206A_206F_200C_206E_202C_200F_200B_200C_202B_200F_202C_200B_202E_202A_200D_206B_202C_200F_206B_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static byte _206E_206D_202A_206D_200E_202A_206E_206A_200D_206B_206A_202D_202A_200D_200F_200B_200F_206B_206D_206D_202B_202B_200E_202C_200E_202D_202C_206B_206A_200C_206F_202E_202C_200E_202D_200D_202A_202B_200D_206F_202E(QuestStep P_0) + { + return P_0.SinglePlayerDutyIndex; } } + + [CompilerGenerated] + private sealed class _003CValidate_003Ed__0 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Quest quest; + + public Quest _003C_003E3__quest; + + private List<(QuestSequence Sequence, int StepId, byte SinglePlayerDutyIndex)>.Enumerator _003C_003E7__wrap1; + + ValidationIssue IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__0(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _206A_202A_202D_206E_202B_206A_206B_200C_200C_202C_202B_200F_202D_200D_206E_202C_206D_202E_200C_206B_200F_202B_200B_206E_200F_202E_202C_202B_200D_202C_206F_206B_202E_206D_206E_206E_200B_206E_200B_202D_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? (-490829547) : (-490829546)); + while (true) + { + int num3 = num2; + int num4 = -490829548; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 0: + num2 = -490829546; + continue; + case 2: + if (num == 1) + { + num2 = -490829547; + continue; + } + break; + case 1: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = default(List<(QuestSequence, int, byte)>.Enumerator); + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + int num2 = ((num == 0) ? (-1518519538) : (-1518519550)); + List<(QuestSequence, int, byte)> list = default(List<(QuestSequence, int, byte)>); + while (true) + { + int num3 = num2; + int num4 = -1518519542; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + { + (QuestSequence, int, byte) current = _003C_003E7__wrap1.Current; + ValidationIssue obj = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _200E_202D_200B_202C_200C_200F_200F_202A_202A_200C_206C_202B_200C_202C_200C_200C_200D_202A_202D_206B_200C_202C_202E_200E_206E_200E_206A_206D_206A_202E_200B_202D_202B_200E_206B_200D_200B_206E_200D_200E_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation(_200D_206D_206B_202C_206D_202A_202A_206D_206F_206A_202A_206B_206B_200C_200E_202C_200B_206B_206E_206D_200E_206E_206E_202E_202E_200B_202D_200F_206A_200B_200E_200E_202A_206B_206C_206A_206D_202B_200B_200C_202E(current.Item1), current.Item2), + Type = EIssueType.DuplicateSinglePlayerInstance, + Severity = EIssueSeverity.Error + }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(35, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-618147640)); + defaultInterpolatedStringHandler.AppendFormatted(current.Item3); + obj.Description = defaultInterpolatedStringHandler.ToStringAndClear(); + _003C_003E2__current = obj; + _003C_003E1__state = 1; + return true; + } + case 1: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = default(List<(QuestSequence, int, byte)>.Enumerator); + num2 = -1518519549; + break; + case 3: + return false; + case 8: + num2 = ((num == 1) ? (-1518519539) : (-1518519543)); + break; + case 7: + _003C_003E1__state = -3; + num2 = -1518519537; + break; + case 0: + num2 = -1518519550; + break; + case 6: + _003C_003E7__wrap1 = list.GetEnumerator(); + _003C_003E1__state = -3; + num2 = -1518519537; + break; + case 5: + num2 = (_003C_003E7__wrap1.MoveNext() ? (-1518519544) : (-1518519541)); + break; + case 4: + _003C_003E1__state = -1; + list = (from x in quest.AllSteps() + where _003C_003Ec._206D_200E_202B_206B_200E_206F_202C_206B_206D_200C_206F_200F_206E_206F_202D_202D_200E_200F_202A_200C_206C_206A_206F_200C_206E_202C_200F_200B_200C_202B_200F_202C_200B_202E_202A_200D_206B_202C_200F_206B_202E(x.Step) == EInteractionType.SinglePlayerDuty + select (Sequence: x.Sequence, StepId: x.StepId, SinglePlayerDutyIndex: _003C_003Ec._206E_206D_202A_206D_200E_202A_206E_206A_200D_206B_206A_202D_202A_200D_200F_200B_200F_206B_206D_206D_202B_202B_200E_202C_200E_202D_202C_206B_206A_200C_206F_202E_202C_200E_202D_200D_202A_202B_200D_206F_202E(x.Step))).ToList(); + num2 = ((list.DistinctBy<(QuestSequence, int, byte), byte>(((QuestSequence Sequence, int StepId, byte SinglePlayerDutyIndex) x) => x.SinglePlayerDutyIndex).Count() >= list.Count) ? (-1518519549) : (-1518519540)); + break; + case 9: + return false; + } + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + ((IDisposable)_003C_003E7__wrap1/*cast due to .constrained prefix*/).Dispose(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206D_202C_200E_202D_200C_206B_202B_206D_202E_200B_200C_206A_206A_206F_206D_202A_206C_206D_200F_200E_206E_206E_200D_202C_202C_206B_206B_206E_206E_200F_200B_200C_200D_202D_206E_202C_206B_206E_200B_202D_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-1918141123) : (-1918141122)); + _003CValidate_003Ed__0 _003CValidate_003Ed__ = default(_003CValidate_003Ed__0); + while (true) + { + int num2 = num; + int num3 = -1918141121; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _003CValidate_003Ed__.quest = _003C_003E3__quest; + return _003CValidate_003Ed__; + case 2: + _003CValidate_003Ed__ = new _003CValidate_003Ed__0(0); + num = -1918141121; + break; + case 3: + num = -1918141122; + break; + case 1: + num = ((_003C_003El__initialThreadId != _206A_202A_202D_206E_202B_206A_206B_200C_200C_202C_202B_200F_202D_200D_206E_202C_206D_202E_200C_206B_200F_202B_200B_206E_200F_202E_202C_202B_200D_202C_206F_206B_202E_206D_206E_206E_200B_206E_200B_202D_202E()) ? (-1918141123) : (-1918141125)); + break; + case 4: + _003C_003E1__state = 0; + _003CValidate_003Ed__ = this; + num = -1918141121; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _206A_202A_202D_206E_202B_206A_206B_200C_200C_202C_202B_200F_202D_200D_206E_202C_206D_202E_200C_206B_200F_202B_200B_206E_200F_202E_202C_202B_200D_202C_206F_206B_202E_206D_206E_206E_200B_206E_200B_202D_202E() + { + return Environment.CurrentManagedThreadId; + } + + static string _200E_202D_200B_202C_200C_200F_200F_202A_202A_200C_206C_202B_200C_202C_200C_200C_200D_202A_202D_206B_200C_202C_202E_200E_206E_200E_206A_206D_206A_202E_200B_202D_202B_200E_206B_200D_200B_206E_200D_200E_202E(object P_0) + { + return P_0.ToString(); + } + + static byte _200D_206D_206B_202C_206D_202A_202A_206D_206F_206A_202A_206B_206B_200C_200E_202C_200B_206B_206E_206D_200E_206E_206E_202E_202E_200B_202D_200F_206A_200B_200E_200E_202A_206B_206C_206A_206D_202B_200B_200C_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static NotSupportedException _206D_202C_200E_202D_200C_206B_202B_206D_202E_200B_200C_206A_206A_206F_206D_202A_206C_206D_200F_200E_206E_206E_200D_202C_202C_206B_206B_206E_206E_200F_200B_200C_200D_202D_206E_202C_206B_206E_200B_202D_202E() + { + return new NotSupportedException(); + } + } + + [IteratorStateMachine(typeof(_003CValidate_003Ed__0))] + public IEnumerable Validate(Quest quest) + { + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CValidate_003Ed__0(-2) + { + _003C_003E3__quest = quest + }; + } + + IEnumerable IQuestValidator.Validate(Quest quest) + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(quest); + } } diff --git a/Questionable/Questionable.Validation.Validators/UniqueStartStopValidator.cs b/Questionable/Questionable.Validation.Validators/UniqueStartStopValidator.cs index c6aa388a..0bd883df 100644 --- a/Questionable/Questionable.Validation.Validators/UniqueStartStopValidator.cs +++ b/Questionable/Questionable.Validation.Validators/UniqueStartStopValidator.cs @@ -1,5 +1,9 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; +using System.Runtime.CompilerServices; using Questionable.Model; using Questionable.Model.Questing; @@ -7,82 +11,493 @@ namespace Questionable.Validation.Validators; internal sealed class UniqueStartStopValidator : IQuestValidator { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func<(QuestSequence Sequence, int StepId, QuestStep Step), bool> _003C_003E9__0_0; + + public static Func<(QuestSequence Sequence, int StepId, QuestStep Step), bool> _003C_003E9__0_1; + + internal bool _003CValidate_003Eb__0_0((QuestSequence Sequence, int StepId, QuestStep Step) x) + { + return _200B_202D_206F_202E_202C_202A_202E_200C_200F_200F_202C_202D_206F_206B_200C_206A_206F_202E_202D_202D_206E_200D_202A_202A_206E_206C_206B_200B_206B_200D_206E_206D_202B_200D_200C_202A_206C_202C_206D_202A_202E(_202B_200E_202A_200E_206E_202A_206B_206B_206D_200D_206B_202D_202D_200D_200D_206C_200C_200C_206E_206E_202E_206C_206E_202E_206D_200B_206D_206F_200F_202A_206A_200F_206E_202D_202A_200C_206B_206B_200E_200E_202E(x.Step), (ElementId)null); + } + + internal bool _003CValidate_003Eb__0_1((QuestSequence Sequence, int StepId, QuestStep Step) x) + { + return _200B_202D_206F_202E_202C_202A_202E_200C_200F_200F_202C_202D_206F_206B_200C_206A_206F_202E_202D_202D_206E_200D_202A_202A_206E_206C_206B_200B_206B_200D_206E_206D_202B_200D_200C_202A_206C_202C_206D_202A_202E(_200D_200D_202A_202E_200D_202E_206E_200C_206A_206C_202A_200B_206A_200F_206E_202B_206B_200F_200D_206D_202E_200E_202A_206B_206F_206D_202D_206A_202B_200D_206B_200F_206C_200E_200C_206C_206C_202C_202E_206D_202E(x.Step), (ElementId)null); + } + + static ElementId _202B_200E_202A_200E_206E_202A_206B_206B_206D_200D_206B_202D_202D_200D_200D_206C_200C_200C_206E_206E_202E_206C_206E_202E_206D_200B_206D_206F_200F_202A_206A_200F_206E_202D_202A_200C_206B_206B_200E_200E_202E(QuestStep P_0) + { + return P_0.PickUpQuestId; + } + + static bool _200B_202D_206F_202E_202C_202A_202E_200C_200F_200F_202C_202D_206F_206B_200C_206A_206F_202E_202D_202D_206E_200D_202A_202A_206E_206C_206B_200B_206B_200D_206E_206D_202B_200D_200C_202A_206C_202C_206D_202A_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } + + static ElementId _200D_200D_202A_202E_200D_202E_206E_200C_206A_206C_202A_200B_206A_200F_206E_202B_206B_200F_200D_206D_202E_200E_202A_206B_206F_206D_202D_206A_202B_200D_206B_200F_206C_200E_200C_206C_206C_202C_202E_206D_202E(QuestStep P_0) + { + return P_0.TurnInQuestId; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass1_0 + { + public List interactionType; + + internal bool _003CFindQuestStepsWithInteractionType_003Eb__0((QuestSequence Sequence, int StepId, QuestStep Step) x) + { + return interactionType.Contains(_200B_202A_206B_200B_200E_202D_206F_202A_202B_202B_206E_202B_206B_202D_206E_200E_200B_206F_200D_200F_202A_202C_206A_202C_200B_200F_206A_200B_206D_200D_206D_202D_200B_200B_202C_202B_200E_206F_202D_206A_202E(x.Step)); + } + + static EInteractionType _200B_202A_206B_200B_200E_202D_206F_202A_202B_202B_206E_202B_206B_202D_206E_200E_200B_206F_200D_200F_202A_202C_206A_202C_200B_200F_206A_200B_206D_200D_206D_202D_200B_200B_202C_202B_200E_206F_202D_206A_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + } + + [CompilerGenerated] + private sealed class _003CValidate_003Ed__0 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private ValidationIssue _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Quest quest; + + public Quest _003C_003E3__quest; + + private bool _003CskipMissingStartStop_003E5__2; + + private List<(QuestSequence Sequence, int StepId, QuestStep Step)> _003CquestAccepts_003E5__3; + + private List<(QuestSequence Sequence, int StepId, QuestStep Step)> _003CquestCompletes_003E5__4; + + private List<(QuestSequence Sequence, int StepId, QuestStep Step)>.Enumerator _003C_003E7__wrap4; + + ValidationIssue IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CValidate_003Ed__0(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _202B_200B_202C_206C_206B_200C_206E_206E_202A_206F_200E_202A_202B_206E_202B_202D_206F_200E_200F_206A_202D_206A_200C_206B_200D_202A_200E_200D_202D_200E_200C_202B_206F_206B_200F_200B_200D_206C_200C_200E_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num > -3) ? 654863638 : 654863634); + while (true) + { + int num3 = num2; + int num4 = 654863632; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 3: + num2 = 654863634; + continue; + case 1: + num2 = ((num == -3) ? 654863639 : 654863637); + continue; + case 6: + num2 = ((num == 1) ? 654863639 : 654863632); + continue; + case 0: + if (num != 3) + { + num2 = 654863636; + continue; + } + goto IL_00f9; + case 2: + if (num != -4) + { + num2 = 654863633; + continue; + } + goto IL_00f9; + case 7: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + case 4: + case 5: + break; + IL_00f9: + try + { + } + finally + { + _003C_003Em__Finally2(); + } + break; + } + break; + } + _003CquestAccepts_003E5__3 = null; + _003CquestCompletes_003E5__4 = null; + _003C_003E7__wrap4 = default(List<(QuestSequence, int, QuestStep)>.Enumerator); + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num; + (QuestSequence, int, QuestStep) current2 = default((QuestSequence, int, QuestStep)); + (QuestSequence, int, QuestStep) current = default((QuestSequence, int, QuestStep)); + switch (_003C_003E1__state) + { + default: + num = -177960474; + goto IL_002d; + case 3: + _003C_003E1__state = -4; + num = -177960463; + goto IL_002d; + case 0: + goto IL_0189; + case 2: + goto IL_021b; + case 1: + goto IL_022e; + case 4: + goto IL_042d; + IL_002d: + while (true) + { + int num2 = num; + int num3 = -177960473; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -177960474; + break; + case 23: + goto IL_00bd; + case 5: + goto IL_00f8; + case 14: + goto end_IL_002d; + case 17: + goto IL_0139; + case 6: + goto IL_0161; + case 11: + goto IL_0189; + case 20: + goto IL_021b; + case 12: + goto IL_022e; + case 4: + goto IL_0242; + case 19: + _003C_003E2__current = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _200B_206B_200B_202A_202E_200B_202C_200B_200B_206D_206C_206E_206C_200F_202A_206C_206D_202A_206F_202A_206E_202B_200B_202D_206C_202A_206F_206E_206B_206E_206E_206F_200C_202B_206E_202A_206C_206B_200B_202B_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation(0, null), + Type = EIssueType.MissingQuestAccept, + Severity = EIssueSeverity.Error, + Description = global::_003CModule_003E._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(-1425508003) + }; + _003C_003E1__state = 2; + return true; + case 2: + _003C_003E2__current = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _200B_206B_200B_202A_202E_200B_202C_200B_200B_206D_206C_206E_206C_200F_202A_206C_206D_202A_206F_202A_206E_202B_200B_202D_206C_202A_206F_206E_206B_206E_206E_206F_200C_202B_206E_202A_206C_206B_200B_202B_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation(_200C_200D_206A_200B_200E_202D_200E_206C_200B_200D_202C_200F_200C_202C_206E_206F_200B_202D_206C_200B_202D_206C_206B_200E_200B_200D_200B_200E_206E_206D_202C_202C_206F_202D_200D_202D_202A_200E_206C_202D_202E(current2.Item1), current2.Item2), + Type = EIssueType.UnexpectedCompleteQuestStep, + Severity = EIssueSeverity.Error, + Description = global::_003CModule_003E._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(1505174393) + }; + _003C_003E1__state = 3; + return true; + case 9: + goto IL_0379; + case 8: + _003C_003E2__current = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _200B_206B_200B_202A_202E_200B_202C_200B_200B_206D_206C_206E_206C_200F_202A_206C_206D_202A_206F_202A_206E_202B_200B_202D_206C_202A_206F_206E_206B_206E_206E_206F_200C_202B_206E_202A_206C_206B_200B_202B_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation((byte)byte.MaxValue, null), + Type = EIssueType.MissingQuestComplete, + Severity = EIssueSeverity.Error, + Description = global::_003CModule_003E._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(1217373352) + }; + _003C_003E1__state = 4; + return true; + case 15: + goto IL_042d; + case 21: + goto IL_0440; + case 13: + _003CquestCompletes_003E5__4 = (from x in FindQuestStepsWithInteractionType(quest, new List { EInteractionType.CompleteQuest }) + where _003C_003Ec._200B_202D_206F_202E_202C_202A_202E_200C_200F_200F_202C_202D_206F_206B_200C_206A_206F_202E_202D_202D_206E_200D_202A_202A_206E_206C_206B_200B_206B_200D_206E_206D_202B_200D_200C_202A_206C_202C_206D_202A_202E(_003C_003Ec._200D_200D_202A_202E_200D_202E_206E_200C_206A_206C_202A_200B_206A_200F_206E_202B_206B_200F_200D_206D_202E_200E_202A_206B_206F_206D_202D_206A_202B_200D_206B_200F_206C_200E_200C_206C_206C_202C_202E_206D_202E(x.Step), (ElementId)null) + select x).ToList(); + _003C_003E7__wrap4 = _003CquestCompletes_003E5__4.GetEnumerator(); + _003C_003E1__state = -4; + num = -177960463; + break; + case 1: + return false; + case 24: + _003C_003E2__current = new ValidationIssue + { + PathType = EPathType.Quest, + Id = _200B_206B_200B_202A_202E_200B_202C_200B_200B_206D_206C_206E_206C_200F_202A_206C_206D_202A_206F_202A_206E_202B_200B_202D_206C_202A_206F_206E_206B_206E_206E_206F_200C_202B_206E_202A_206C_206B_200B_202B_202E((object)quest.Id), + Location = SchemaValidationHelper.FormatQuestLocation(_200C_200D_206A_200B_200E_202D_200E_206C_200B_200D_202C_200F_200C_202C_206E_206F_200B_202D_206C_200B_202D_206C_206B_200E_200B_200D_200B_200E_206E_206D_202C_202C_206F_202D_200D_202D_202A_200E_206C_202D_202E(current.Item1), current.Item2), + Type = EIssueType.UnexpectedAcceptQuestStep, + Severity = EIssueSeverity.Error, + Description = global::_003CModule_003E._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(-230957138) + }; + _003C_003E1__state = 1; + return true; + case 22: + goto IL_0572; + case 10: + goto IL_059a; + case 18: + goto IL_05da; + case 7: + goto IL_0615; + case 0: + goto IL_063d; + case 16: + return false; + } + continue; + IL_063d: + _003C_003Em__Finally2(); + _003C_003E7__wrap4 = default(List<(QuestSequence, int, QuestStep)>.Enumerator); + num = (_003CskipMissingStartStop_003E5__2 ? (-177960457) : (-177960478)); + continue; + IL_0572: + num = (_003C_003E7__wrap4.MoveNext() ? (-177960459) : (-177960473)); + continue; + IL_00f8: + num = ((quest.FindSequence(byte.MaxValue) == null) ? (-177960457) : (-177960480)); + continue; + IL_0615: + num = ((_003CquestCompletes_003E5__4.Count != 0) ? (-177960457) : (-177960465)); + continue; + IL_0242: + current = _003C_003E7__wrap4.Current; + num = ((_200C_200D_206A_200B_200E_202D_200E_206C_200B_200D_202C_200F_200C_202C_206E_206F_200B_202D_206C_200B_202D_206C_206B_200E_200B_200D_200B_200E_206E_206D_202C_202C_206F_202D_200D_202D_202A_200E_206C_202D_202E(current.Item1) != 0) ? (-177960449) : (-177960464)); + continue; + IL_0440: + num = ((quest.FindSequence(0) == null) ? (-177960470) : (-177960458)); + continue; + IL_05da: + current2 = _003C_003E7__wrap4.Current; + num = ((_200C_200D_206A_200B_200E_202D_200E_206C_200B_200D_202C_200F_200C_202C_206E_206F_200B_202D_206C_200B_202D_206C_206B_200E_200B_200D_200B_200E_206E_206D_202C_202C_206F_202D_200D_202D_202A_200E_206C_202D_202E(current2.Item1) != byte.MaxValue) ? (-177960475) : (-177960467)); + continue; + IL_00bd: + num = ((current.Item2 == _200E_202C_200D_202C_200D_202B_202E_206B_202E_200C_200C_206F_202E_206C_202C_202D_206C_202C_202B_206C_202C_206B_200C_206E_206E_200C_206D_202A_200F_206F_202B_202C_200E_206D_206F_206D_206E_202B_202B_206F_202E(quest.FindSequence(0)).Count - 1) ? (-177960479) : (-177960449)); + continue; + IL_0139: + num = ((_003CquestAccepts_003E5__3.Count != 0) ? (-177960470) : (-177960460)); + continue; + IL_059a: + num = ((current2.Item2 == _200E_202C_200D_202C_200D_202B_202E_206B_202E_200C_200C_206F_202E_206C_202C_202D_206C_202C_202B_206C_202C_206B_200C_206E_206E_200C_206D_202A_200F_206F_202B_202C_200E_206D_206F_206D_206E_202B_202B_206F_202E(quest.FindSequence(byte.MaxValue)).Count - 1) ? (-177960463) : (-177960475)); + continue; + IL_0379: + _003C_003Em__Finally1(); + _003C_003E7__wrap4 = default(List<(QuestSequence, int, QuestStep)>.Enumerator); + num = (_003CskipMissingStartStop_003E5__2 ? (-177960470) : (-177960462)); + continue; + IL_0161: + num = (_003C_003E7__wrap4.MoveNext() ? (-177960477) : (-177960466)); + continue; + end_IL_002d: + break; + } + goto case 3; + IL_042d: + _003C_003E1__state = -1; + num = -177960457; + goto IL_002d; + IL_022e: + _003C_003E1__state = -3; + num = -177960479; + goto IL_002d; + IL_021b: + _003C_003E1__state = -1; + num = -177960470; + goto IL_002d; + IL_0189: + _003C_003E1__state = -1; + _003CskipMissingStartStop_003E5__2 = !(quest.Id is QuestId); + _003CquestAccepts_003E5__3 = (from x in FindQuestStepsWithInteractionType(quest, new List { EInteractionType.AcceptQuest }) + where _003C_003Ec._200B_202D_206F_202E_202C_202A_202E_200C_200F_200F_202C_202D_206F_206B_200C_206A_206F_202E_202D_202D_206E_200D_202A_202A_206E_206C_206B_200B_206B_200D_206E_206D_202B_200D_200C_202A_206C_202C_206D_202A_202E(_003C_003Ec._202B_200E_202A_200E_206E_202A_206B_206B_206D_200D_206B_202D_202D_200D_200D_206C_200C_200C_206E_206E_202E_206C_206E_202E_206D_200B_206D_206F_200F_202A_206A_200F_206E_202D_202A_200C_206B_206B_200E_200E_202E(x.Step), (ElementId)null) + select x).ToList(); + _003C_003E7__wrap4 = _003CquestAccepts_003E5__3.GetEnumerator(); + _003C_003E1__state = -3; + num = -177960479; + goto IL_002d; + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + ((IDisposable)_003C_003E7__wrap4/*cast due to .constrained prefix*/).Dispose(); + } + + private void _003C_003Em__Finally2() + { + _003C_003E1__state = -1; + ((IDisposable)_003C_003E7__wrap4/*cast due to .constrained prefix*/).Dispose(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206F_202E_206A_202E_206E_200D_202A_206F_200D_202A_200E_202A_202E_200E_202C_206B_200C_206C_200B_206A_202C_202C_202D_206F_202C_200C_206B_206D_206F_200D_200D_200E_202C_206C_200F_202C_200C_206F_202E_202E_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? 1591254497 : 1591254499); + _003CValidate_003Ed__0 _003CValidate_003Ed__ = default(_003CValidate_003Ed__0); + while (true) + { + int num2 = num; + int num3 = 1591254498; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1591254499; + break; + case 2: + _003CValidate_003Ed__.quest = _003C_003E3__quest; + return _003CValidate_003Ed__; + case 1: + num = ((_003C_003El__initialThreadId != _202B_200B_202C_206C_206B_200C_206E_206E_202A_206F_200E_202A_202B_206E_202B_202D_206F_200E_200F_206A_202D_206A_200C_206B_200D_202A_200E_200D_202D_200E_200C_202B_206F_206B_200F_200B_200D_206C_200C_200E_202E()) ? 1591254497 : 1591254502); + break; + case 3: + _003CValidate_003Ed__ = new _003CValidate_003Ed__0(0); + num = 1591254496; + break; + case 4: + _003C_003E1__state = 0; + _003CValidate_003Ed__ = this; + num = 1591254496; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _202B_200B_202C_206C_206B_200C_206E_206E_202A_206F_200E_202A_202B_206E_202B_202D_206F_200E_200F_206A_202D_206A_200C_206B_200D_202A_200E_200D_202D_200E_200C_202B_206F_206B_200F_200B_200D_206C_200C_200E_202E() + { + return Environment.CurrentManagedThreadId; + } + + static byte _200C_200D_206A_200B_200E_202D_200E_206C_200B_200D_202C_200F_200C_202C_206E_206F_200B_202D_206C_200B_202D_206C_206B_200E_200B_200D_200B_200E_206E_206D_202C_202C_206F_202D_200D_202D_202A_200E_206C_202D_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static List _200E_202C_200D_202C_200D_202B_202E_206B_202E_200C_200C_206F_202E_206C_202C_202D_206C_202C_202B_206C_202C_206B_200C_206E_206E_200C_206D_202A_200F_206F_202B_202C_200E_206D_206F_206D_206E_202B_202B_206F_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static string _200B_206B_200B_202A_202E_200B_202C_200B_200B_206D_206C_206E_206C_200F_202A_206C_206D_202A_206F_202A_206E_202B_200B_202D_206C_202A_206F_206E_206B_206E_206E_206F_200C_202B_206E_202A_206C_206B_200B_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static NotSupportedException _206F_202E_206A_202E_206E_200D_202A_206F_200D_202A_200E_202A_202E_200E_202C_206B_200C_206C_200B_206A_202C_202C_202D_206F_202C_200C_206B_206D_206F_200D_200D_200E_202C_206C_200F_202C_200C_206F_202E_202E_202E() + { + return new NotSupportedException(); + } + } + + [IteratorStateMachine(typeof(_003CValidate_003Ed__0))] public IEnumerable Validate(Quest quest) { - bool flag = !(quest.Id is QuestId); - if (!flag) + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CValidate_003Ed__0(-2) { - ElementId id = quest.Id; - bool flag2 = ((id is SatisfactionSupplyNpcId || id is AlliedSocietyDailyId) ? true : false); - flag = flag2; - } - bool skipMissingStartStop = flag; - 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(); - foreach (var item in questAccepts) - { - if (item.Sequence.Sequence != 0 || item.StepId != quest.FindSequence(0).Steps.Count - 1) - { - yield return new ValidationIssue - { - ElementId = quest.Id, - Sequence = item.Sequence.Sequence, - Step = item.StepId, - Type = EIssueType.UnexpectedAcceptQuestStep, - Severity = EIssueSeverity.Error, - Description = "Unexpected AcceptQuest step" - }; - } - } - if (!skipMissingStartStop && quest.FindSequence(0) != null && questAccepts.Count == 0) - { - yield return new ValidationIssue - { - ElementId = quest.Id, - Sequence = 0, - Step = null, - Type = EIssueType.MissingQuestAccept, - Severity = EIssueSeverity.Error, - Description = "No AcceptQuest step" - }; - } - List<(QuestSequence Sequence, int StepId, QuestStep Step)> questCompletes = (from x in FindQuestStepsWithInteractionType(quest, new List { EInteractionType.CompleteQuest }) - where x.Step.TurnInQuestId == null - select x).ToList(); - foreach (var item2 in questCompletes) - { - if (item2.Sequence.Sequence != byte.MaxValue || item2.StepId != quest.FindSequence(byte.MaxValue).Steps.Count - 1) - { - yield return new ValidationIssue - { - ElementId = quest.Id, - Sequence = item2.Sequence.Sequence, - Step = item2.StepId, - Type = EIssueType.UnexpectedCompleteQuestStep, - Severity = EIssueSeverity.Error, - Description = "Unexpected CompleteQuest step" - }; - } - } - if (!skipMissingStartStop && quest.FindSequence(byte.MaxValue) != null && questCompletes.Count == 0) - { - yield return new ValidationIssue - { - ElementId = quest.Id, - Sequence = (byte)byte.MaxValue, - Step = null, - Type = EIssueType.MissingQuestComplete, - Severity = EIssueSeverity.Error, - Description = "No CompleteQuest step" - }; - } + _003C_003E3__quest = quest + }; + } + + IEnumerable IQuestValidator.Validate(Quest quest) + { + //ILSpy generated this explicit interface implementation from .override directive in Validate + return this.Validate(quest); } private static IEnumerable<(QuestSequence Sequence, int StepId, QuestStep Step)> FindQuestStepsWithInteractionType(Quest quest, List interactionType) { return from x in quest.AllSteps() - where interactionType.Contains(x.Step.InteractionType) + where interactionType.Contains(_003C_003Ec__DisplayClass1_0._200B_202A_206B_200B_200E_202D_206F_202A_202B_202B_206E_202B_206B_202D_206E_200E_200B_206F_200D_200F_202A_202C_206A_202C_200B_200F_206A_200B_206D_200D_206D_202D_200B_200B_202C_202B_200E_206F_202D_206A_202E(x.Step)) select x; } } diff --git a/Questionable/Questionable.Validation/EIssueSeverity.cs b/Questionable/Questionable.Validation/EIssueSeverity.cs index 529ffc73..b1b06c1f 100644 --- a/Questionable/Questionable.Validation/EIssueSeverity.cs +++ b/Questionable/Questionable.Validation/EIssueSeverity.cs @@ -3,6 +3,6 @@ namespace Questionable.Validation; internal enum EIssueSeverity { None, - Error, - Warning + Warning, + Error } diff --git a/Questionable/Questionable.Validation/EIssueType.cs b/Questionable/Questionable.Validation/EIssueType.cs index 297b2d1c..c2ee3e34 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,9 +17,7 @@ public enum EIssueType QuestDisabled, UnexpectedAcceptQuestStep, UnexpectedCompleteQuestStep, - InvalidAethernetShortcut, InvalidExcelRef, - ClassQuestWithoutAetheryteShortcut, DuplicateSinglePlayerInstance, UnusedSinglePlayerInstance, InvalidChatMessage, diff --git a/Questionable/Questionable.Validation/EPathType.cs b/Questionable/Questionable.Validation/EPathType.cs new file mode 100644 index 00000000..93e44095 --- /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 00000000..72ef9053 --- /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 c1563ee6..df4fef2a 100644 --- a/Questionable/Questionable.Validation/QuestValidator.cs +++ b/Questionable/Questionable.Validation/QuestValidator.cs @@ -1,6 +1,10 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Linq; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; @@ -12,10 +16,593 @@ namespace Questionable.Validation; internal sealed class QuestValidator { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__4_0; + + public static Func _003C_003E9__10_0; + + public static Func _003C_003E9__12_0; + + public static Func _003C_003E9__15_1; + + public static Func _003C_003E9__15_2; + + public static Func _003C_003E9__15_4; + + public static Func _003C_003E9__15_5; + + public static Func _003C_003E9__15_6; + + public static Func _003C_003E9__15_7; + + public static Func>, EAlliedSociety> _003C_003E9__17_0; + + public static Func _003C_003E9__17_2; + + public static Func>, ValidationIssue> _003C_003E9__17_1; + + public static Func _003C_003E9__18_0; + + public static Func _003C_003E9__18_1; + + public static Func _003C_003E9__18_2; + + public static Func _003C_003E9__19_0; + + public static Func _003C_003E9__19_1; + + public static Func _003C_003E9__19_2; + + internal string _003C_002Ector_003Eb__4_0(IQuestValidator x) + { + return _206C_202D_206F_200B_200D_206B_200C_202C_206C_206B_206A_206F_200F_206E_202D_200D_200B_200F_200D_202C_200B_200D_206F_200F_206B_202C_202D_206A_206A_202C_206D_202D_206A_200F_206E_202B_202A_202E_200E_202E((MemberInfo)_200D_206B_206C_202D_202C_202D_202B_200D_200D_200F_202B_206F_206E_202C_206D_206E_206E_202E_200B_206B_202E_206B_206D_200C_200E_200D_202E_200D_202A_202B_206E_206C_200B_202E_206C_200E_202B_200E_202A_202C_202E((object)x)); + } + + internal bool _003Cget_ErrorCount_003Eb__10_0(ValidationIssue x) + { + return x.Severity == EIssueSeverity.Error; + } + + internal bool _003Cget_WarningCount_003Eb__12_0(ValidationIssue x) + { + return x.Severity == EIssueSeverity.Warning; + } + + internal bool _003CValidate_003Eb__15_1(ValidationIssue x) + { + return x.Type == EIssueType.QuestDisabled; + } + + internal string _003CValidate_003Eb__15_2(ValidationIssue x) + { + return x.Id; + } + + internal EPathType _003CValidate_003Eb__15_4(ValidationIssue x) + { + return x.PathType; + } + + internal string _003CValidate_003Eb__15_5(ValidationIssue x) + { + return x.Id; + } + + internal string _003CValidate_003Eb__15_6(ValidationIssue x) + { + return x.Location; + } + + internal string _003CValidate_003Eb__15_7(ValidationIssue x) + { + return x.Description; + } + + internal EAlliedSociety _003CDisabledTribesAsIssues_003Eb__17_0(KeyValuePair> x) + { + return x.Key; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal ValidationIssue _003CDisabledTribesAsIssues_003Eb__17_1(KeyValuePair> x) + { + int num = ((x.Value.Count > 0) ? 617142778 : 617142779); + string text; + while (true) + { + int num2 = num; + int num3 = 617142778; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 2: + goto IL_0050; + case 1: + text = global::_003CModule_003E._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(-1756725644); + break; + case 0: + text = _202C_202E_206B_200F_202C_206C_200D_206F_206D_202B_206F_206F_202D_206D_200D_200D_202A_206A_206A_202B_200C_200B_206D_202A_200B_200E_202E_206A_200E_200E_200C_206F_206B_206D_206C_206A_206B_202A_200C_202E_202E(global::_003CModule_003E._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(-1095822044), x.Value.Select((ElementId id) => _206B_202B_202A_202E_206B_200B_202A_200D_200D_200E_202E_200D_202B_206C_200B_200F_206F_202A_202B_206C_200D_202B_206A_202A_206D_206E_200E_200D_200D_202A_202C_206A_206D_200C_200C_206A_202A_206C_202B_206D_202E((object)id))); + break; + } + break; + IL_0050: + num = 617142779; + } + string value = text; + ValidationIssue obj = new ValidationIssue + { + PathType = EPathType.Quest, + Id = null, + Location = null, + Type = EIssueType.QuestDisabled, + Severity = EIssueSeverity.None + }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 4); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1463938997)); + defaultInterpolatedStringHandler.AppendFormatted(x.Key); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-900750902)); + defaultInterpolatedStringHandler.AppendFormatted(x.Value.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-92874207)); + defaultInterpolatedStringHandler.AppendFormatted((x.Value.Count == 1) ? global::_003CModule_003E._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(308044519) : global::_003CModule_003E._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(1238320320)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-437343681)); + defaultInterpolatedStringHandler.AppendFormatted(value); + obj.Description = defaultInterpolatedStringHandler.ToStringAndClear(); + return obj; + } + + internal string _003CDisabledTribesAsIssues_003Eb__17_2(ElementId id) + { + return _206B_202B_202A_202E_206B_200B_202A_200D_200D_200E_202E_200D_202B_206C_200B_200F_206F_202A_202B_206C_200D_202B_206A_202A_206D_206E_200E_200D_200D_202A_202C_206A_206D_200C_200C_206A_202A_206C_202B_206D_202E((object)id); + } + + internal byte? _003CValidateQuestSync_003Eb__18_0(ValidationIssue x) + { + return x.Sequence; + } + + internal int? _003CValidateQuestSync_003Eb__18_1(ValidationIssue x) + { + return x.Step; + } + + internal string _003CValidateQuestSync_003Eb__18_2(ValidationIssue x) + { + return x.Description; + } + + internal byte? _003CValidateSchemaSync_003Eb__19_0(ValidationIssue x) + { + return x.Sequence; + } + + internal int? _003CValidateSchemaSync_003Eb__19_1(ValidationIssue x) + { + return x.Step; + } + + internal string _003CValidateSchemaSync_003Eb__19_2(ValidationIssue x) + { + return x.Description; + } + + static Type _200D_206B_206C_202D_202C_202D_202B_200D_200D_200F_202B_206F_206E_202C_206D_206E_206E_202E_200B_206B_202E_206B_206D_200C_200E_200D_202E_200D_202A_202B_206E_206C_200B_202E_206C_200E_202B_200E_202A_202C_202E(object P_0) + { + return P_0.GetType(); + } + + static string _206C_202D_206F_200B_200D_206B_200C_202C_206C_206B_206A_206F_200F_206E_202D_200D_200B_200F_200D_202C_200B_200D_206F_200F_206B_202C_202D_206A_206A_202C_206D_202D_206A_200F_206E_202B_202A_202E_200E_202E(MemberInfo P_0) + { + return P_0.Name; + } + + static string _202C_202E_206B_200F_202C_206C_200D_206F_206D_202B_206F_206F_202D_206D_200D_200D_202A_206A_206A_202B_200C_200B_206D_202A_200B_200E_202E_206A_200E_200E_200C_206F_206B_206D_206C_206A_206B_202A_200C_202E_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static string _206B_202B_202A_202E_206B_200B_202A_200D_200D_200E_202E_200D_202B_206C_200B_200F_206F_202A_202B_206C_200D_202B_206A_202A_206D_206E_200E_200D_200D_202A_202C_206A_206D_200C_200C_206A_202A_206C_202B_206D_202E(object P_0) + { + return P_0.ToString(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass15_0 + { + public QuestValidator _003C_003E4__this; + + public IEnumerable quests; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal void _003CValidate_003Eb__0() + { + try + { + _003C_003Ec__DisplayClass15_1 CS_0024_003C_003E8__locals2 = new _003C_003Ec__DisplayClass15_1(); + object obj = _003C_003E4__this._lock; + bool flag = false; + List validationIssues; + try + { + _202A_202B_206E_206E_202E_202C_200E_202C_200B_200C_206A_206E_206A_206B_200C_206A_206B_202C_202B_200B_206F_202D_206B_200C_200F_206E_200C_200C_206F_206E_200F_202B_206F_206C_200F_202B_206E_206D_200D_200E_202E(obj, ref flag); + validationIssues = _003C_003E4__this._validationIssues; + } + finally + { + int num = ((!flag) ? 1225999187 : 1225999186); + while (true) + { + int num2 = num; + int num3 = 1225999187; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1225999186; + break; + case 0: + goto end_IL_004f; + case 1: + _206C_200F_200F_206B_202C_206C_202C_206D_202A_200B_200F_206B_200C_202B_200C_206D_206D_202A_200D_202D_200B_202E_202C_206F_206C_200B_206F_206F_202D_206F_206A_202A_202C_206B_202E_200B_206F_206E_202D_200C_202E(obj); + num = 1225999187; + break; + } + continue; + end_IL_004f: + break; + } + } + List list = new List(); + Dictionary> dictionary = new Dictionary>(); + IEnumerator enumerator = quests.GetEnumerator(); + try + { + List value = default(List); + ValidationIssue current2 = default(ValidationIssue); + while (_206D_200D_206B_200D_206F_200B_200D_202D_206E_206D_206E_202D_206C_202A_200F_202D_200E_200D_202E_206A_206F_202E_200F_200D_200F_206A_200C_206A_202D_206A_200B_200B_206D_202C_206D_206F_202B_206C_206A_202E((IEnumerator)enumerator)) + { + Quest current = enumerator.Current; + IEnumerator enumerator2 = _003C_003E4__this._validators.GetEnumerator(); + try + { + while (_206D_200D_206B_200D_206F_200B_200D_202D_206E_206D_206E_202D_206C_202A_200F_202D_200E_200D_202E_206A_206F_202E_200F_200D_200F_206A_200C_206A_202D_206A_200B_200B_206D_202C_206D_206F_202B_206C_206A_202E((IEnumerator)enumerator2)) + { + IEnumerator enumerator3 = enumerator2.Current.Validate(current).GetEnumerator(); + try + { + int num = 1611230640; + while (true) + { + int num5 = num; + int num3 = 1611230646; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 7: + value = new List(); + dictionary[current.Info.AlliedSociety] = value; + num = 1611230646; + break; + case 6: + num = (_206D_200D_206B_200D_206F_200B_200D_202D_206E_206D_206E_202D_206C_202A_200F_202D_200E_200D_202E_206A_206F_202E_200F_200D_200F_206A_200C_206A_202D_206A_200B_200B_206D_202C_206D_206F_202B_206C_206A_202E((IEnumerator)enumerator3) ? 1611230654 : 1611230647); + break; + case 8: + current2 = enumerator3.Current; + num = ((current2.Type != EIssueType.QuestDisabled) ? 1611230643 : 1611230644); + break; + case 3: + num = (dictionary.TryGetValue(current.Info.AlliedSociety, out value) ? 1611230646 : 1611230641); + break; + case 4: + num = 1611230640; + break; + case 0: + value.Add(current.Id); + num = 1611230640; + break; + case 5: + list.Add(current2); + num = 1611230640; + break; + case 2: + num = ((current.Info.AlliedSociety == EAlliedSociety.None) ? 1611230643 : 1611230645); + break; + case 1: + goto end_IL_00fa; + } + continue; + end_IL_00fa: + break; + } + } + finally + { + int num = ((enumerator3 == null) ? (-781546946) : (-781546945)); + while (true) + { + int num8 = num; + int num3 = -781546946; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_0272; + case 1: + _200F_206B_206B_202E_202B_206F_206A_200C_202D_200F_200E_202C_202A_206B_206C_202C_202C_202D_206C_200D_206A_206C_200D_202E_200C_206C_202A_206C_206D_206A_200B_206C_200B_202E_206F_206F_200F_202E_200C_206D_202E((IDisposable)enumerator3); + num = -781546946; + break; + case 2: + num = -781546945; + break; + } + continue; + end_IL_0272: + break; + } + } + } + } + finally + { + int num = ((enumerator2 == null) ? 1631067796 : 1631067797); + while (true) + { + int num9 = num; + int num3 = 1631067796; + int num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1631067797; + break; + case 0: + goto end_IL_02ee; + case 1: + _200F_206B_206B_202E_202B_206F_206A_200C_202D_200F_200E_202C_202A_206B_206C_202C_202C_202D_206C_200D_206A_206C_200D_202E_200C_206C_202A_206C_206D_206A_200B_206C_200B_202E_206F_206F_200F_202E_200C_206D_202E((IDisposable)enumerator2); + num = 1631067796; + break; + } + continue; + end_IL_02ee: + break; + } + } + } + } + finally + { + int num = ((enumerator == null) ? (-989991724) : (-989991723)); + while (true) + { + int num10 = num; + int num3 = -989991724; + int num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -989991723; + break; + case 0: + goto end_IL_036a; + case 1: + _200F_206B_206B_202E_202B_206F_206A_200C_202D_200F_200E_202C_202A_206B_206C_202C_202C_202D_206C_200D_206A_206C_200D_202E_200C_206C_202A_206C_206D_206A_200B_206C_200B_202E_206F_206F_200F_202E_200C_206D_202E((IDisposable)enumerator); + num = -989991724; + break; + } + continue; + end_IL_036a: + break; + } + } + CS_0024_003C_003E8__locals2.disabledQuests = (from x in list + where x.Type == EIssueType.QuestDisabled + select x.Id).ToList(); + List list2 = (from x in validationIssues.Concat(list.Where(delegate(ValidationIssue x) + { + int num15 = ((!CS_0024_003C_003E8__locals2.disabledQuests.Contains(x.Id)) ? 1289967941 : 1289967942); + while (true) + { + int num16 = num15; + int num17 = 1289967940; + int num18 = num16; + switch ((num18 | num17) - (num18 & num17)) + { + case 0: + goto IL_0051; + case 1: + return true; + case 2: + return x.Type == EIssueType.QuestDisabled; + } + continue; + IL_0051: + num15 = 1289967942; + } + })).Concat(DisabledTribesAsIssues(dictionary)) + orderby x.PathType, x.Id, x.Location, x.Description + select x).ToList(); + obj = _003C_003E4__this._lock; + flag = false; + try + { + _202A_202B_206E_206E_202E_202C_200E_202C_200B_200C_206A_206E_206A_206B_200C_206A_206B_202C_202B_200B_206F_202D_206B_200C_200F_206E_200C_200C_206F_206E_200F_202B_206F_206C_200F_202B_206E_206D_200D_200E_202E(obj, ref flag); + int num = ((_003C_003E4__this._validationIssues.Count <= validationIssues.Count) ? (-500434587) : (-500434588)); + while (true) + { + int num11 = num; + int num3 = -500434587; + int num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 2: + num = -500434588; + break; + case 1: + list2.AddRange(_003C_003E4__this._validationIssues.Skip(validationIssues.Count)); + num = -500434587; + break; + case 0: + _003C_003E4__this._validationIssues = list2; + return; + } + } + } + finally + { + int num = ((!flag) ? (-2020487653) : (-2020487654)); + while (true) + { + int num14 = num; + int num3 = -2020487653; + int num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -2020487654; + break; + case 0: + goto end_IL_05b6; + case 1: + _206C_200F_200F_206B_202C_206C_202C_206D_202A_200B_200F_206B_200C_202B_200C_206D_206D_202A_200D_202D_200B_202E_202C_206F_206C_200B_206F_206F_202D_206F_206A_202A_202C_206B_202E_200B_206F_206E_202D_200C_202E(obj); + num = -2020487653; + break; + } + continue; + end_IL_05b6: + break; + } + } + } + catch (Exception ex) + { + _202E_202D_200E_200B_202D_200C_202C_202D_202E_206B_206A_202A_206C_202A_200B_200C_202B_200B_200C_200F_200E_206E_202B_206C_206D_206F_202D_202C_202B_202A_200E_206A_200B_202B_202B_200D_200F_202E_202A_206C_202E((ILogger)_003C_003E4__this._logger, ex, global::_003CModule_003E._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(479815651), Array.Empty()); + } + } + + static void _202A_202B_206E_206E_202E_202C_200E_202C_200B_200C_206A_206E_206A_206B_200C_206A_206B_202C_202B_200B_206F_202D_206B_200C_200F_206E_200C_200C_206F_206E_200F_202B_206F_206C_200F_202B_206E_206D_200D_200E_202E(object P_0, ref bool P_1) + { + Monitor.Enter(P_0, ref P_1); + } + + static void _206C_200F_200F_206B_202C_206C_202C_206D_202A_200B_200F_206B_200C_202B_200C_206D_206D_202A_200D_202D_200B_202E_202C_206F_206C_200B_206F_206F_202D_206F_206A_202A_202C_206B_202E_200B_206F_206E_202D_200C_202E(object P_0) + { + Monitor.Exit(P_0); + } + + static bool _206D_200D_206B_200D_206F_200B_200D_202D_206E_206D_206E_202D_206C_202A_200F_202D_200E_200D_202E_206A_206F_202E_200F_200D_200F_206A_200C_206A_202D_206A_200B_200B_206D_202C_206D_206F_202B_206C_206A_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200F_206B_206B_202E_202B_206F_206A_200C_202D_200F_200E_202C_202A_206B_206C_202C_202C_202D_206C_200D_206A_206C_200D_202E_200C_206C_202A_206C_206D_206A_200B_206C_200B_202E_206F_206F_200F_202E_200C_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202E_202D_200E_200B_202D_200C_202C_202D_202E_206B_206A_202A_206C_202A_200B_200C_202B_200B_200C_200F_200E_206E_202B_206C_206D_206F_202D_202C_202B_202A_200E_206A_200B_202B_202B_200D_200F_202E_202A_206C_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass15_1 + { + public List disabledQuests; + + internal bool _003CValidate_003Eb__3(ValidationIssue x) + { + int num = ((!disabledQuests.Contains(x.Id)) ? 1289967941 : 1289967942); + while (true) + { + int num2 = num; + int num3 = 1289967940; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0051; + case 1: + return true; + case 2: + return x.Type == EIssueType.QuestDisabled; + } + continue; + IL_0051: + num = 1289967942; + } + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass16_0 + { + public EPathType pathType; + + public string id; + + internal bool _003CGetIssues_003Eb__0(ValidationIssue x) + { + int num = ((x.PathType != pathType) ? (-1283237086) : (-1283237087)); + while (true) + { + int num2 = num; + int num3 = -1283237085; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004c; + case 2: + return _200B_206C_206C_202B_206D_206F_206B_202D_202D_206B_200F_206C_202E_200E_206C_206A_206C_200E_202C_200C_200D_202A_206E_200B_206E_206F_206C_202A_206C_202A_206D_200F_206B_202A_200B_202E_200E_206F_200D_200D_202E(x.Id, id); + case 1: + return false; + } + continue; + IL_004c: + num = -1283237087; + } + } + + static bool _200B_206C_206C_202B_206D_206F_206B_202D_202D_206B_200F_206C_202E_200E_206C_206A_206C_200E_202C_200C_200D_202A_206E_200B_206E_206F_206C_202A_206C_202A_206D_200F_206B_202A_200B_202E_200E_206F_200D_200D_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass20_0 + { + public ElementId questId; + + internal bool _003CClearIssuesForQuest_003Eb__0(ValidationIssue issue) + { + return _206A_200D_202E_200E_206C_202D_202D_206C_206E_200F_200C_202B_206A_200B_202D_206E_200B_200C_202C_206C_200B_202B_206C_206A_206F_206F_202E_206D_206B_206F_202E_206B_200B_202B_202B_206A_206D_206B_202D_206D_202E(issue.ElementId, questId); + } + + static bool _206A_200D_202E_200E_206C_202D_202D_206C_206E_200F_200C_202B_206A_200B_202D_206E_200B_200C_202C_206C_200B_202B_206C_206A_206F_206F_202E_206D_206B_206F_202E_206B_200B_202B_202B_206A_206D_206B_202D_206D_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + } + private readonly IReadOnlyList _validators; private readonly ILogger _logger; + private readonly object _lock = _202E_200F_202B_200E_206A_202E_206D_202A_206E_200F_202B_206E_202E_206D_202C_206B_206F_206A_206A_206A_206F_200D_206A_202C_200D_200D_200F_200C_206B_200E_200B_200E_200B_206E_200B_200C_206D_206E_206B_202A_202E(); + private List _validationIssues = new List(); public IReadOnlyList Issues => _validationIssues; @@ -24,103 +611,603 @@ 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); + + [MethodImpl(MethodImplOptions.NoInlining)] public QuestValidator(IEnumerable validators, ILogger logger) { _validators = validators.ToList(); _logger = logger; + _202D_200B_202D_206E_206B_202D_200E_200F_206C_206F_202B_200C_206A_206D_202A_202E_202B_200F_202C_202C_206C_200B_200D_202E_206F_200E_206C_200E_206D_202A_200D_206F_200F_206F_206F_200E_206F_206E_202A_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1385548896), new object[1] { _206F_206A_200C_200F_202E_200B_202D_202B_206B_206B_200C_206B_206A_202C_206C_202C_202A_200C_200B_206D_202D_206D_206C_206F_202E_206B_206F_206E_206A_202E_202A_200D_202B_202E_202B_202A_202D_206A_202C_202B_202E(global::_003CModule_003E._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(1087086507), _validators.Select((IQuestValidator x) => _003C_003Ec._206C_202D_206F_200B_200D_206B_200C_202C_206C_206B_206A_206F_200F_206E_202D_200D_200B_200F_200D_202C_200B_200D_206F_200F_206B_202C_202D_206A_206A_202C_206D_202D_206A_200F_206E_202B_202A_202E_200E_202E((MemberInfo)_003C_003Ec._200D_206B_206C_202D_202C_202D_202B_200D_200D_200F_202B_206F_206E_202C_206D_206E_206E_202E_200B_206B_202E_206B_206D_200C_200E_200D_202E_200D_202A_202B_206E_206C_200B_202E_206C_200E_202B_200E_202A_202C_202E((object)x)))) }); } public void Reset() { - foreach (IQuestValidator validator in _validators) + IEnumerator enumerator = _validators.GetEnumerator(); + try { - validator.Reset(); + int num = 1685273225; + while (true) + { + int num2 = num; + int num3 = 1685273225; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = (_206A_202E_200C_206B_200C_206E_200E_202E_200C_206A_202A_200F_200B_202B_202B_200F_202D_206F_206D_200C_206F_206E_206E_202C_202A_202A_202C_202B_202A_206F_202C_200E_206C_200E_200E_202B_206B_200B_202A_200F_202E((IEnumerator)enumerator) ? 1685273224 : 1685273226); + break; + case 1: + enumerator.Current.Reset(); + num = 1685273225; + break; + case 2: + num = 1685273225; + break; + case 3: + goto end_IL_0017; + } + continue; + end_IL_0017: + break; + } + } + finally + { + int num = ((enumerator == null) ? 406334533 : 406334532); + while (true) + { + int num7 = num; + int num3 = 406334533; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_00ab; + case 1: + _202E_206B_200F_200C_202E_206D_202E_200C_206F_206E_200C_206F_200B_200C_206F_202C_200B_200C_202E_200D_202E_200E_200C_200F_200C_202B_206B_200B_202E_206A_206F_200C_206D_200F_206A_200D_202C_200C_202B_200C_202E((IDisposable)enumerator); + num = 406334533; + break; + case 2: + num = 406334532; + break; + } + continue; + end_IL_00ab: + break; + } + } + object obj = _lock; + bool flag = false; + try + { + _202E_206F_206F_202C_202A_202C_200C_202B_206F_200F_200E_202B_206B_206C_202E_206F_206A_202A_202C_200F_206D_202C_200C_202C_202A_206A_206C_202A_202B_200D_206E_202E_206F_202C_202B_206A_200C_206C_202E_200E_202E(obj, ref flag); + _validationIssues = new List(); + } + finally + { + int num = ((!flag) ? 60446462 : 60446461); + while (true) + { + int num8 = num; + int num3 = 60446460; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num = 60446461; + break; + case 2: + goto end_IL_0130; + case 1: + _206B_206D_200E_206A_206C_200E_200F_202E_200C_202E_202D_206D_200D_202C_202E_200D_200D_200C_202E_200B_200D_206E_202D_202B_202D_200E_206F_206E_202A_200F_206F_202C_206D_202E_206F_200D_200C_206A_206A_200F_202E(obj); + num = 60446462; + break; + } + continue; + end_IL_0130: + break; + } } - _validationIssues.Clear(); } public void AddValidationIssue(ValidationIssue issue) { - _validationIssues.Add(issue); + object obj = _lock; + bool flag = false; + try + { + _202E_206F_206F_202C_202A_202C_200C_202B_206F_200F_200E_202B_206B_206C_202E_206F_206A_202A_202C_200F_206D_202C_200C_202C_202A_206A_206C_202A_202B_200D_206E_202E_206F_202C_202B_206A_200C_206C_202E_200E_202E(obj, ref flag); + 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; + } + finally + { + int num3 = ((!flag) ? (-1291483875) : (-1291483874)); + while (true) + { + int num4 = num3; + int num5 = -1291483873; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 2: + goto end_IL_0098; + case 1: + _206B_206D_200E_206A_206C_200E_200F_202E_200C_202E_202D_206D_200D_202C_202E_200D_200D_200C_202E_200B_200D_206E_202D_202B_202D_200E_206F_206E_202A_200F_206F_202C_206D_202E_206F_200D_200C_206A_206A_200F_202E(obj); + num3 = -1291483875; + break; + case 0: + num3 = -1291483874; + break; + } + continue; + end_IL_0098: + break; + } + } } public void Validate(IEnumerable quests) { - Task.Factory.StartNew(delegate + _202A_206F_200E_206E_202B_200C_206E_200E_200F_202D_200B_202A_202E_202E_206B_206E_200B_202E_202D_206A_200E_202A_200C_200E_202D_200B_202E_206B_206F_200F_200B_200E_206E_202E_206B_206B_202A_200F_202C_206A_202E(_206A_202C_202B_200E_206E_206C_200E_200D_206B_202E_206D_202B_202E_202D_206B_200C_202D_200C_202B_202D_200B_202C_200D_200F_200C_206C_200E_206C_206E_206C_206F_206B_202C_202B_200F_200C_202C_202C_200E_200F_202E(), (Action)([MethodImpl(MethodImplOptions.NoInlining)] () => { try { - List first = _validationIssues.ToList(); - _validationIssues.Clear(); + object obj = _lock; + bool flag = false; + List validationIssues; + try + { + _003C_003Ec__DisplayClass15_0._202A_202B_206E_206E_202E_202C_200E_202C_200B_200C_206A_206E_206A_206B_200C_206A_206B_202C_202B_200B_206F_202D_206B_200C_200F_206E_200C_200C_206F_206E_200F_202B_206F_206C_200F_202B_206E_206D_200D_200E_202E(obj, ref flag); + validationIssues = _validationIssues; + } + finally + { + int num = ((!flag) ? 1225999187 : 1225999186); + while (true) + { + int num2 = num; + int num3 = 1225999187; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1225999186; + break; + case 0: + goto end_IL_004f; + case 1: + _003C_003Ec__DisplayClass15_0._206C_200F_200F_206B_202C_206C_202C_206D_202A_200B_200F_206B_200C_202B_200C_206D_206D_202A_200D_202D_200B_202E_202C_206F_206C_200B_206F_206F_202D_206F_206A_202A_202C_206B_202E_200B_206F_206E_202D_200C_202E(obj); + num = 1225999187; + break; + } + continue; + end_IL_004f: + break; + } + } List list = new List(); Dictionary> dictionary = new Dictionary>(); - foreach (Quest quest in quests) + IEnumerator enumerator = quests.GetEnumerator(); + try { - foreach (IQuestValidator validator in _validators) + List value = default(List); + ValidationIssue current2 = default(ValidationIssue); + while (_003C_003Ec__DisplayClass15_0._206D_200D_206B_200D_206F_200B_200D_202D_206E_206D_206E_202D_206C_202A_200F_202D_200E_200D_202E_206A_206F_202E_200F_200D_200F_206A_200C_206A_202D_206A_200B_200B_206D_202C_206D_206F_202B_206C_206A_202E((IEnumerator)enumerator)) { - foreach (ValidationIssue item in validator.Validate(quest)) + Quest current = enumerator.Current; + IEnumerator enumerator2 = _validators.GetEnumerator(); + try { - if (item.Type == EIssueType.QuestDisabled && quest.Info.AlliedSociety != EAlliedSociety.None) + while (_003C_003Ec__DisplayClass15_0._206D_200D_206B_200D_206F_200B_200D_202D_206E_206D_206E_202D_206C_202A_200F_202D_200E_200D_202E_206A_206F_202E_200F_200D_200F_206A_200C_206A_202D_206A_200B_200B_206D_202C_206D_206F_202B_206C_206A_202E((IEnumerator)enumerator2)) { - if (!dictionary.TryGetValue(quest.Info.AlliedSociety, out var value)) + IEnumerator enumerator3 = enumerator2.Current.Validate(current).GetEnumerator(); + try { - value = new List(); - dictionary[quest.Info.AlliedSociety] = value; + int num = 1611230640; + while (true) + { + int num5 = num; + int num3 = 1611230646; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 7: + value = new List(); + dictionary[current.Info.AlliedSociety] = value; + num = 1611230646; + break; + case 6: + num = (_003C_003Ec__DisplayClass15_0._206D_200D_206B_200D_206F_200B_200D_202D_206E_206D_206E_202D_206C_202A_200F_202D_200E_200D_202E_206A_206F_202E_200F_200D_200F_206A_200C_206A_202D_206A_200B_200B_206D_202C_206D_206F_202B_206C_206A_202E((IEnumerator)enumerator3) ? 1611230654 : 1611230647); + break; + case 8: + current2 = enumerator3.Current; + num = ((current2.Type != EIssueType.QuestDisabled) ? 1611230643 : 1611230644); + break; + case 3: + num = (dictionary.TryGetValue(current.Info.AlliedSociety, out value) ? 1611230646 : 1611230641); + break; + case 4: + num = 1611230640; + break; + case 0: + value.Add(current.Id); + num = 1611230640; + break; + case 5: + list.Add(current2); + num = 1611230640; + break; + case 2: + num = ((current.Info.AlliedSociety == EAlliedSociety.None) ? 1611230643 : 1611230645); + break; + case 1: + goto end_IL_00fa; + } + continue; + end_IL_00fa: + break; + } + } + finally + { + int num = ((enumerator3 == null) ? (-781546946) : (-781546945)); + while (true) + { + int num8 = num; + int num3 = -781546946; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_0272; + case 1: + _003C_003Ec__DisplayClass15_0._200F_206B_206B_202E_202B_206F_206A_200C_202D_200F_200E_202C_202A_206B_206C_202C_202C_202D_206C_200D_206A_206C_200D_202E_200C_206C_202A_206C_206D_206A_200B_206C_200B_202E_206F_206F_200F_202E_200C_206D_202E((IDisposable)enumerator3); + num = -781546946; + break; + case 2: + num = -781546945; + break; + } + continue; + end_IL_0272: + break; + } } - value.Add(quest.Id); } - else + } + finally + { + int num = ((enumerator2 == null) ? 1631067796 : 1631067797); + while (true) { - list.Add(item); + int num9 = num; + int num3 = 1631067796; + int num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1631067797; + break; + case 0: + goto end_IL_02ee; + case 1: + _003C_003Ec__DisplayClass15_0._200F_206B_206B_202E_202B_206F_206A_200C_202D_200F_200E_202C_202A_206B_206C_202C_202C_202D_206C_200D_206A_206C_200D_202E_200C_206C_202A_206C_206D_206A_200B_206C_200B_202E_206F_206F_200F_202E_200C_206D_202E((IDisposable)enumerator2); + num = 1631067796; + break; + } + continue; + end_IL_02ee: + break; } } } } - List disabledQuests = (from x in list + finally + { + int num = ((enumerator == null) ? (-989991724) : (-989991723)); + while (true) + { + int num10 = num; + int num3 = -989991724; + int num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -989991723; + break; + case 0: + goto end_IL_036a; + case 1: + _003C_003Ec__DisplayClass15_0._200F_206B_206B_202E_202B_206F_206A_200C_202D_200F_200E_202C_202A_206B_206C_202C_202C_202D_206C_200D_206A_206C_200D_202E_200C_206C_202A_206C_206D_206A_200B_206C_200B_202E_206F_206F_200F_202E_200C_206D_202E((IDisposable)enumerator); + num = -989991724; + break; + } + continue; + end_IL_036a: + break; + } + } + 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(delegate(ValidationIssue x) + { + int num15 = ((!disabledQuests.Contains(x.Id)) ? 1289967941 : 1289967942); + while (true) + { + int num16 = num15; + int num17 = 1289967940; + int num18 = num16; + switch ((num18 | num17) - (num18 & num17)) + { + case 0: + goto IL_0051; + case 1: + return true; + case 2: + return x.Type == EIssueType.QuestDisabled; + } + continue; + IL_0051: + num15 = 1289967942; + } + })).Concat(DisabledTribesAsIssues(dictionary)) + orderby x.PathType, x.Id, x.Location, x.Description select x).ToList(); + obj = _lock; + flag = false; + try + { + _003C_003Ec__DisplayClass15_0._202A_202B_206E_206E_202E_202C_200E_202C_200B_200C_206A_206E_206A_206B_200C_206A_206B_202C_202B_200B_206F_202D_206B_200C_200F_206E_200C_200C_206F_206E_200F_202B_206F_206C_200F_202B_206E_206D_200D_200E_202E(obj, ref flag); + int num = ((_validationIssues.Count <= validationIssues.Count) ? (-500434587) : (-500434588)); + while (true) + { + int num11 = num; + int num3 = -500434587; + int num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 2: + num = -500434588; + break; + case 1: + list2.AddRange(_validationIssues.Skip(validationIssues.Count)); + num = -500434587; + break; + case 0: + _validationIssues = list2; + return; + } + } + } + finally + { + int num = ((!flag) ? (-2020487653) : (-2020487654)); + while (true) + { + int num14 = num; + int num3 = -2020487653; + int num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -2020487654; + break; + case 0: + goto end_IL_05b6; + case 1: + _003C_003Ec__DisplayClass15_0._206C_200F_200F_206B_202C_206C_202C_206D_202A_200B_200F_206B_200C_202B_200C_206D_206D_202A_200D_202D_200B_202E_202C_206F_206C_200B_206F_206F_202D_206F_206A_202A_202C_206B_202E_200B_206F_206E_202D_200C_202E(obj); + num = -2020487653; + break; + } + continue; + end_IL_05b6: + break; + } + } } - catch (Exception exception) + catch (Exception ex) { - _logger.LogError(exception, "Unable to validate quests"); + _003C_003Ec__DisplayClass15_0._202E_202D_200E_200B_202D_200C_202C_202D_202E_206B_206A_202A_206C_202A_200B_200C_202B_200B_200C_200F_200E_206E_202B_206C_206D_206F_202D_202C_202B_202A_200E_206A_200B_202B_202B_200D_200F_202E_202A_206C_202E((ILogger)_logger, ex, global::_003CModule_003E._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(479815651), Array.Empty()); } - }, CancellationToken.None, TaskCreationOptions.LongRunning, TaskScheduler.Default); + }), CancellationToken.None, TaskCreationOptions.LongRunning, _202A_206A_206B_202C_206F_202D_202D_206A_206D_206C_206A_200E_202D_206F_206C_200E_200E_206E_200E_206E_202B_200D_200F_202A_200E_202E_206B_200E_202B_206E_206F_200D_200E_206A_200F_200B_206B_202E_202C_202E_202E()); } - public List GetIssues(ElementId elementId) + public List GetIssues(EPathType pathType, string id) { - return _validationIssues.Where((ValidationIssue x) => x.ElementId == elementId).ToList(); + return _validationIssues.Where(delegate(ValidationIssue x) + { + int num = ((x.PathType != pathType) ? (-1283237086) : (-1283237087)); + while (true) + { + int num2 = num; + int num3 = -1283237085; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004c; + case 2: + return _003C_003Ec__DisplayClass16_0._200B_206C_206C_202B_206D_206F_206B_202D_202D_206B_200F_206C_202E_200E_206C_206A_206C_200E_202C_200C_200D_202A_206E_200B_206E_206F_206C_202A_206C_202A_206D_200F_206B_202A_200B_202E_200E_206F_200D_200D_202E(x.Id, id); + case 1: + return false; + } + continue; + IL_004c: + num = -1283237087; + } + }).ToList(); } private static IEnumerable DisabledTribesAsIssues(Dictionary> disabledTribeQuests) { - return disabledTribeQuests.OrderBy>, EAlliedSociety>((KeyValuePair> x) => x.Key).Select(delegate(KeyValuePair> x) + return disabledTribeQuests.OrderBy>, EAlliedSociety>((KeyValuePair> x) => x.Key).Select([MethodImpl(MethodImplOptions.NoInlining)] (KeyValuePair> x) => { - string value = ((x.Value.Count > 0) ? string.Join(", ", x.Value.Select((ElementId id) => id.ToString())) : "(none)"); - return new ValidationIssue + int num = ((x.Value.Count > 0) ? 617142778 : 617142779); + string text; + while (true) { - ElementId = null, - Sequence = null, - Step = null, - AlliedSociety = x.Key, + int num2 = num; + int num3 = 617142778; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 2: + goto IL_0050; + case 1: + text = global::_003CModule_003E._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(-1756725644); + break; + case 0: + text = _003C_003Ec._202C_202E_206B_200F_202C_206C_200D_206F_206D_202B_206F_206F_202D_206D_200D_200D_202A_206A_206A_202B_200C_200B_206D_202A_200B_200E_202E_206A_200E_200E_200C_206F_206B_206D_206C_206A_206B_202A_200C_202E_202E(global::_003CModule_003E._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(-1095822044), x.Value.Select((ElementId id) => _003C_003Ec._206B_202B_202A_202E_206B_200B_202A_200D_200D_200E_202E_200D_202B_206C_200B_200F_206F_202A_202B_206C_200D_202B_206A_202A_206D_206E_200E_200D_200D_202A_202C_206A_206D_200C_200C_206A_202A_206C_202B_206D_202E((object)id))); + break; + } + break; + IL_0050: + num = 617142779; + } + string value = text; + ValidationIssue obj = new ValidationIssue + { + 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}" + Severity = EIssueSeverity.None }; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 4); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1463938997)); + defaultInterpolatedStringHandler.AppendFormatted(x.Key); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-900750902)); + defaultInterpolatedStringHandler.AppendFormatted(x.Value.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-92874207)); + defaultInterpolatedStringHandler.AppendFormatted((x.Value.Count == 1) ? global::_003CModule_003E._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(308044519) : global::_003CModule_003E._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(1238320320)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-437343681)); + defaultInterpolatedStringHandler.AppendFormatted(value); + obj.Description = defaultInterpolatedStringHandler.ToStringAndClear(); + return obj; }); } public List ValidateQuestSync(Quest quest) { List list = new List(); - foreach (IQuestValidator validator in _validators) + IEnumerator enumerator = _validators.GetEnumerator(); + try { - foreach (ValidationIssue item in (validator is JsonSchemaValidator jsonSchemaValidator) ? jsonSchemaValidator.ValidateFromQuestRoot(quest) : validator.Validate(quest)) + while (_206A_202E_200C_206B_200C_206E_200E_202E_200C_206A_202A_200F_200B_202B_202B_200F_202D_206F_206D_200C_206F_206E_206E_202C_202A_202A_202C_202B_202A_206F_202C_200E_206C_200E_200E_202B_206B_200B_202A_200F_202E((IEnumerator)enumerator)) { - list.Add(item); + IQuestValidator current = enumerator.Current; + IEnumerator enumerator2 = ((current is JsonSchemaValidator jsonSchemaValidator) ? jsonSchemaValidator.ValidateFromQuestRoot(quest) : current.Validate(quest)).GetEnumerator(); + try + { + int num = -2015401757; + while (true) + { + int num2 = num; + int num3 = -2015401758; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = (_206A_202E_200C_206B_200C_206E_200E_202E_200C_206A_202A_200F_200B_202B_202B_200F_202D_206F_206D_200C_206F_206E_206E_202C_202A_202A_202C_202B_202A_206F_202C_200E_206C_200E_200E_202B_206B_200B_202A_200F_202E((IEnumerator)enumerator2) ? (-2015401759) : (-2015401760)); + break; + case 3: + { + ValidationIssue current2 = enumerator2.Current; + list.Add(current2); + num = -2015401757; + break; + } + case 0: + num = -2015401757; + break; + case 2: + goto end_IL_0051; + } + continue; + end_IL_0051: + break; + } + } + finally + { + int num = ((enumerator2 == null) ? (-2066314669) : (-2066314672)); + while (true) + { + int num7 = num; + int num3 = -2066314671; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = -2066314672; + break; + case 2: + goto end_IL_00f4; + case 1: + _202E_206B_200F_200C_202E_206D_202E_200C_206F_206E_200C_206F_200B_200C_206F_202C_200B_200C_202E_200D_202E_200E_200C_200F_200C_202B_206B_200B_202E_206A_206F_200C_206D_200F_206A_200D_202C_200C_202B_200C_202E((IDisposable)enumerator2); + num = -2066314669; + break; + } + continue; + end_IL_00f4: + break; + } + } + } + } + finally + { + int num = ((enumerator == null) ? 1410166863 : 1410166862); + while (true) + { + int num10 = num; + int num3 = 1410166863; + int num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 2: + num = 1410166862; + break; + case 0: + goto end_IL_0170; + case 1: + _202E_206B_200F_200C_202E_206D_202E_200C_206F_206E_200C_206F_200B_200C_206F_202C_200B_200C_202E_200D_202E_200E_200C_200F_200C_202B_206B_200B_202E_206A_206F_200C_206D_200F_206A_200D_202C_200C_202B_200C_202E((IDisposable)enumerator); + num = 1410166863; + break; + } + continue; + end_IL_0170: + break; } } return (from x in list @@ -128,8 +1215,117 @@ internal sealed class QuestValidator select x).ToList(); } + public List ValidateSchemaSync(ElementId questId, QuestRoot questRoot) + { + JsonSchemaValidator jsonSchemaValidator = _validators.OfType().FirstOrDefault(); + int num = ((jsonSchemaValidator != null) ? (-1128231448) : (-1128231445)); + while (true) + { + int num2 = num; + int num3 = -1128231446; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0054; + case 1: + return new List(); + case 2: + return (from x in jsonSchemaValidator.ValidateFromQuestRoot(questId, questRoot) + orderby x.Sequence, x.Step, x.Description + select x).ToList(); + } + continue; + IL_0054: + num = -1128231445; + } + } + public void ClearIssuesForQuest(ElementId questId) { - _validationIssues.RemoveAll((ValidationIssue issue) => issue.ElementId == questId); + object obj = _lock; + bool flag = false; + try + { + _202E_206F_206F_202C_202A_202C_200C_202B_206F_200F_200E_202B_206B_206C_202E_206F_206A_202A_202C_200F_206D_202C_200C_202C_202A_206A_206C_202A_202B_200D_206E_202E_206F_202C_202B_206A_200C_206C_202E_200E_202E(obj, ref flag); + _validationIssues = _validationIssues.Where((ValidationIssue issue) => _003C_003Ec__DisplayClass20_0._206A_200D_202E_200E_206C_202D_202D_206C_206E_200F_200C_202B_206A_200B_202D_206E_200B_200C_202C_206C_200B_202B_206C_206A_206F_206F_202E_206D_206B_206F_202E_206B_200B_202B_202B_206A_206D_206B_202D_206D_202E(issue.ElementId, questId)).ToList(); + } + finally + { + int num = ((!flag) ? (-1140950457) : (-1140950460)); + while (true) + { + int num2 = num; + int num3 = -1140950459; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1140950460; + break; + case 2: + goto end_IL_0061; + case 1: + _206B_206D_200E_206A_206C_200E_200F_202E_200C_202E_202D_206D_200D_202C_202E_200D_200D_200C_202E_200B_200D_206E_202D_202B_202D_200E_206F_206E_202A_200F_206F_202C_206D_202E_206F_200D_200C_206A_206A_200F_202E(obj); + num = -1140950457; + break; + } + continue; + end_IL_0061: + break; + } + } + } + + static object _202E_200F_202B_200E_206A_202E_206D_202A_206E_200F_202B_206E_202E_206D_202C_206B_206F_206A_206A_206A_206F_200D_206A_202C_200D_200D_200F_200C_206B_200E_200B_200E_200B_206E_200B_200C_206D_206E_206B_202A_202E() + { + return new object(); + } + + static string _206F_206A_200C_200F_202E_200B_202D_202B_206B_206B_200C_206B_206A_202C_206C_202C_202A_200C_200B_206D_202D_206D_206C_206F_202E_206B_206F_206E_206A_202E_202A_200D_202B_202E_202B_202A_202D_206A_202C_202B_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static void _202D_200B_202D_206E_206B_202D_200E_200F_206C_206F_202B_200C_206A_206D_202A_202E_202B_200F_202C_202C_206C_200B_200D_202E_206F_200E_206C_200E_206D_202A_200D_206F_200F_206F_206F_200E_206F_206E_202A_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206A_202E_200C_206B_200C_206E_200E_202E_200C_206A_202A_200F_200B_202B_202B_200F_202D_206F_206D_200C_206F_206E_206E_202C_202A_202A_202C_202B_202A_206F_202C_200E_206C_200E_200E_202B_206B_200B_202A_200F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202E_206B_200F_200C_202E_206D_202E_200C_206F_206E_200C_206F_200B_200C_206F_202C_200B_200C_202E_200D_202E_200E_200C_200F_200C_202B_206B_200B_202E_206A_206F_200C_206D_200F_206A_200D_202C_200C_202B_200C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202E_206F_206F_202C_202A_202C_200C_202B_206F_200F_200E_202B_206B_206C_202E_206F_206A_202A_202C_200F_206D_202C_200C_202C_202A_206A_206C_202A_202B_200D_206E_202E_206F_202C_202B_206A_200C_206C_202E_200E_202E(object P_0, ref bool P_1) + { + Monitor.Enter(P_0, ref P_1); + } + + static void _206B_206D_200E_206A_206C_200E_200F_202E_200C_202E_202D_206D_200D_202C_202E_200D_200D_200C_202E_200B_200D_206E_202D_202B_202D_200E_206F_206E_202A_200F_206F_202C_206D_202E_206F_200D_200C_206A_206A_200F_202E(object P_0) + { + Monitor.Exit(P_0); + } + + static TaskFactory _206A_202C_202B_200E_206E_206C_200E_200D_206B_202E_206D_202B_202E_202D_206B_200C_202D_200C_202B_202D_200B_202C_200D_200F_200C_206C_200E_206C_206E_206C_206F_206B_202C_202B_200F_200C_202C_202C_200E_200F_202E() + { + return Task.Factory; + } + + static TaskScheduler _202A_206A_206B_202C_206F_202D_202D_206A_206D_206C_206A_200E_202D_206F_206C_200E_200E_206E_200E_206E_202B_200D_200F_202A_200E_202E_206B_200E_202B_206E_206F_200D_200E_206A_200F_200B_206B_202E_202C_202E_202E() + { + return TaskScheduler.Default; + } + + static Task _202A_206F_200E_206E_202B_200C_206E_200E_200F_202D_200B_202A_202E_202E_206B_206E_200B_202E_202D_206A_200E_202A_200C_200E_202D_200B_202E_206B_206F_200F_200B_200E_206E_202E_206B_206B_202A_200F_202C_206A_202E(TaskFactory P_0, Action P_1, CancellationToken P_2, TaskCreationOptions P_3, TaskScheduler P_4) + { + return P_0.StartNew(P_1, P_2, P_3, P_4); } } diff --git a/Questionable/Questionable.Validation/SchemaRegistrar.cs b/Questionable/Questionable.Validation/SchemaRegistrar.cs new file mode 100644 index 00000000..3cfc5f5b --- /dev/null +++ b/Questionable/Questionable.Validation/SchemaRegistrar.cs @@ -0,0 +1,554 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Text.Json; +using System.Threading; +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 +{ + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + internal Stream _003C_002Ecctor_003Eb__11_0() + { + return _200B_200D_202E_206C_202D_200F_202C_202D_202E_206E_200E_202B_200C_200D_206D_202C_200D_200C_202B_206B_202B_202A_206F_200C_202B_200D_202B_206D_200E_206D_202C_200F_200D_202A_206D_206D_206A_200C_206A_206F_202E(); + } + + internal Stream _003C_002Ecctor_003Eb__11_1() + { + return _202E_200E_202E_202C_200F_202C_200B_206F_206D_206A_202B_206D_200D_202D_206A_206A_200E_206B_200C_206B_206C_206C_202E_206B_202C_202C_202E_206F_202B_200D_200E_206C_200B_202B_206D_206E_200B_202D_200E_206B_202E(); + } + + internal Stream _003C_002Ecctor_003Eb__11_2() + { + return _200E_206E_206B_200E_206C_202B_200F_200B_206A_200F_202D_202E_200C_200F_202C_206B_206D_202A_202A_202C_206B_206D_200C_202A_202D_200B_200C_200D_206A_206D_202B_202D_202E_200D_200C_200D_200E_202B_206B_200C_202E(); + } + + internal Stream _003C_002Ecctor_003Eb__11_3() + { + return _200E_200F_206E_206F_206C_206C_206A_200D_206C_206F_202B_206A_206E_200C_206C_200B_200E_202D_200D_202B_206B_200D_200B_206C_200B_206A_200F_200B_200F_200D_206C_202B_200E_206A_202B_206F_206A_200B_206D_200E_202E(); + } + + internal Stream _003C_002Ecctor_003Eb__11_4() + { + return _202E_200E_206A_206D_200D_202E_200F_202B_200E_206C_206E_206F_202E_200C_202B_200B_206A_202A_202B_200D_200D_202B_206C_202D_200D_206C_206A_202E_206D_200D_200B_200D_206E_200B_200C_200E_206B_200F_206A_206A_202E(); + } + + internal Stream _003C_002Ecctor_003Eb__11_5() + { + return _200F_202D_206E_200E_206C_206A_202D_200D_200E_202D_200F_206D_206B_200E_202A_206C_206F_200D_206C_206F_202A_200B_206F_206F_202E_200C_206B_202B_206F_202C_202B_206E_200D_200E_202C_206F_200C_206E_200F_202E(); + } + + internal Stream _003C_002Ecctor_003Eb__11_6() + { + return _206F_202C_202C_206A_200C_200B_206D_202C_206A_206E_200D_206B_206E_202E_200B_206B_200D_200B_200B_202A_200B_206D_206D_202D_202B_202D_200E_202B_206B_206A_202E_202E_206B_202E_206B_200B_206F_202D_202D_200D_202E(); + } + + internal Stream _003C_002Ecctor_003Eb__11_7() + { + return _202A_202B_202B_206D_202E_200D_202C_202D_206A_206F_206F_206C_200D_202D_200E_206A_200F_202E_200B_202C_202C_206C_200B_206A_206D_206A_206D_202A_206B_200C_202C_206E_206E_200B_206F_202D_200E_202E_206B_200C_202E(); + } + + internal Stream _003C_002Ecctor_003Eb__11_8() + { + return _206A_200D_202B_206C_200F_200C_202A_200C_200F_200F_206B_206B_202E_202D_206D_206B_206C_202B_200E_206C_206B_206F_200C_202C_200D_200D_200F_200C_202E_206C_206E_206E_200C_202B_206B_202A_200E_200C_206C_200D_202E(); + } + + internal Stream _003C_002Ecctor_003Eb__11_9() + { + return _202A_206D_206B_202A_200B_206E_206F_206C_202C_200E_202B_202E_206A_202A_202C_202B_206C_206D_200B_202D_206D_200E_202C_202E_202A_206E_200F_200F_202B_200C_200F_206B_206A_202A_206D_202E_206E_206D_206D_202A_202E(); + } + + static Stream _200B_200D_202E_206C_202D_200F_202C_202D_202E_206E_200E_202B_200C_200D_206D_202C_200D_200C_202B_206B_202B_202A_206F_200C_202B_200D_202B_206D_200E_206D_202C_200F_200D_202A_206D_206D_206A_200C_206A_206F_202E() + { + return AssemblyModelLoader.CommonAethernetShard; + } + + static Stream _202E_200E_202E_202C_200F_202C_200B_206F_206D_206A_202B_206D_200D_202D_206A_206A_200E_206B_200C_206B_206C_206C_202E_206B_202C_202C_202E_206F_202B_200D_200E_206C_200B_202B_206D_206E_200B_202D_200E_206B_202E() + { + return AssemblyModelLoader.CommonAetheryte; + } + + static Stream _200E_206E_206B_200E_206C_202B_200F_200B_206A_200F_202D_202E_200C_200F_202C_206B_206D_202A_202A_202C_206B_206D_200C_202A_202D_200B_200C_200D_206A_206D_202B_202D_202E_200D_200C_200D_200E_202B_206B_200C_202E() + { + return AssemblyModelLoader.CommonClassJob; + } + + static Stream _200E_200F_206E_206F_206C_206C_206A_200D_206C_206F_202B_206A_206E_200C_206C_200B_200E_202D_200D_202B_206B_200D_200B_206C_200B_206A_200F_200B_200F_200D_206C_202B_200E_206A_202B_206F_206A_200B_206D_200E_202E() + { + return AssemblyModelLoader.CommonCompletionFlags; + } + + static Stream _202E_200E_206A_206D_200D_202E_200F_202B_200E_206C_206E_206F_202E_200C_202B_200B_206A_202A_202B_200D_200D_202B_206C_202D_200D_206C_206A_202E_206D_200D_200B_200D_206E_200B_200C_200E_206B_200F_206A_206A_202E() + { + return AssemblyModelLoader.CommonRequiredVariables; + } + + static Stream _200F_202D_206E_200E_206C_206A_202D_200D_200E_202D_200F_206D_206B_200E_202A_206C_206F_200D_206C_206F_202A_200B_206F_206F_202E_200C_206B_202B_206F_202C_202B_206E_200D_200E_202C_206F_200C_206E_200F_202E() + { + return AssemblyModelLoader.CommonVector3; + } + + static Stream _206F_202C_202C_206A_200C_200B_206D_202C_206A_206E_200D_206B_206E_202E_200B_206B_200D_200B_200B_202A_200B_206D_206D_202D_202B_202D_200E_202B_206B_206A_202E_202E_206B_202E_206B_200B_206F_202D_202D_200D_202E() + { + return AssemblyQuestLoader.QuestSchema; + } + + static Stream _202A_202B_202B_206D_202E_200D_202C_202D_206A_206F_206F_206C_200D_202D_200E_206A_200F_202E_200B_202C_202C_206C_200B_206A_206D_206A_206D_202A_206B_200C_202C_206E_206E_200B_206F_202D_200E_202E_206B_200C_202E() + { + return AssemblyFateDefinitionLoader.FateDefinitionSchema; + } + + static Stream _206A_200D_202B_206C_200F_200C_202A_200C_200F_200F_206B_206B_202E_202D_206D_206B_206C_202B_200E_206C_206B_206F_200C_202C_200D_200D_200F_200C_202E_206C_206E_206E_200C_202B_206B_202A_200E_200C_206C_200D_202E() + { + return AssemblyGatheringLocationLoader.GatheringSchema; + } + + static Stream _202A_206D_206B_202A_200B_206E_206F_206C_202C_200E_202B_202E_206A_202A_202C_202B_206C_206D_200B_202D_206D_200E_202C_202E_202A_206E_200F_200F_202B_200C_200F_206B_206A_202A_206D_202E_206E_206D_206D_202A_202E() + { + return AssemblySeasonalDutyDefinitionLoader.SeasonalDutyDefinitionSchema; + } + } + + 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] + { + (global::_003CModule_003E._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(1093119060), global::_003CModule_003E._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(-497867105), () => _003C_003Ec._200B_200D_202E_206C_202D_200F_202C_202D_202E_206E_200E_202B_200C_200D_206D_202C_200D_200C_202B_206B_202B_202A_206F_200C_202B_200D_202B_206D_200E_206D_202C_200F_200D_202A_206D_206D_206A_200C_206A_206F_202E()), + (global::_003CModule_003E._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(353651176), global::_003CModule_003E._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(777288952), () => _003C_003Ec._202E_200E_202E_202C_200F_202C_200B_206F_206D_206A_202B_206D_200D_202D_206A_206A_200E_206B_200C_206B_206C_206C_202E_206B_202C_202C_202E_206F_202B_200D_200E_206C_200B_202B_206D_206E_200B_202D_200E_206B_202E()), + (global::_003CModule_003E._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(1103717215), global::_003CModule_003E._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(1830782875), () => _003C_003Ec._200E_206E_206B_200E_206C_202B_200F_200B_206A_200F_202D_202E_200C_200F_202C_206B_206D_202A_202A_202C_206B_206D_200C_202A_202D_200B_200C_200D_206A_206D_202B_202D_202E_200D_200C_200D_200E_202B_206B_200C_202E()), + (global::_003CModule_003E._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(1415134531), global::_003CModule_003E._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(-1951929540), () => _003C_003Ec._200E_200F_206E_206F_206C_206C_206A_200D_206C_206F_202B_206A_206E_200C_206C_200B_200E_202D_200D_202B_206B_200D_200B_206C_200B_206A_200F_200B_200F_200D_206C_202B_200E_206A_202B_206F_206A_200B_206D_200E_202E()), + (global::_003CModule_003E._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(1019495771), global::_003CModule_003E._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(-447741346), () => _003C_003Ec._202E_200E_206A_206D_200D_202E_200F_202B_200E_206C_206E_206F_202E_200C_202B_200B_206A_202A_202B_200D_200D_202B_206C_202D_200D_206C_206A_202E_206D_200D_200B_200D_206E_200B_200C_200E_206B_200F_206A_206A_202E()), + (global::_003CModule_003E._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(718531665), global::_003CModule_003E._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(2134115304), () => _003C_003Ec._200F_202D_206E_200E_206C_206A_202D_200D_200E_202D_200F_206D_206B_200E_202A_206C_206F_200D_206C_206F_202A_200B_206F_206F_202E_200C_206B_202B_206F_202C_202B_206E_200D_200E_202C_206F_200C_206E_200F_202E()), + (global::_003CModule_003E._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(1170233154), global::_003CModule_003E._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(751310152), () => _003C_003Ec._206F_202C_202C_206A_200C_200B_206D_202C_206A_206E_200D_206B_206E_202E_200B_206B_200D_200B_200B_202A_200B_206D_206D_202D_202B_202D_200E_202B_206B_206A_202E_202E_206B_202E_206B_200B_206F_202D_202D_200D_202E()), + (global::_003CModule_003E._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(-1110860710), global::_003CModule_003E._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(-1343581202), () => _003C_003Ec._202A_202B_202B_206D_202E_200D_202C_202D_206A_206F_206F_206C_200D_202D_200E_206A_200F_202E_200B_202C_202C_206C_200B_206A_206D_206A_206D_202A_206B_200C_202C_206E_206E_200B_206F_202D_200E_202E_206B_200C_202E()), + (global::_003CModule_003E._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(767306491), global::_003CModule_003E._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(567108451), () => _003C_003Ec._206A_200D_202B_206C_200F_200C_202A_200C_200F_200F_206B_206B_202E_202D_206D_206B_206C_202B_200E_206C_206B_206F_200C_202C_200D_200D_200F_200C_202E_206C_206E_206E_200C_202B_206B_202A_200E_200C_206C_200D_202E()), + (global::_003CModule_003E._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(874920765), global::_003CModule_003E._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(-912722245), () => _003C_003Ec._202A_206D_206B_202A_200B_206E_206F_206C_202C_200E_202B_202E_206A_202A_202C_202B_206C_206D_200B_202D_206D_200E_202C_202E_202A_206E_200F_200F_202B_200C_200F_206B_206A_202A_206D_202E_206E_206D_206D_202A_202E()) + }); + + private readonly SchemaRegistry _registry = _206D_202B_206D_206B_206D_206B_202D_206B_200E_202D_202C_206C_206D_206E_202A_200B_202D_206C_206E_202A_206A_202B_202E_206B_200D_202B_206B_206D_200B_206F_202E_202E_202A_206E_200B_202E_206F_206C_200C_202D_202E(); + + private readonly Dictionary _schemas = new Dictionary(); + + private readonly object _lock = _206C_200B_206B_202D_202E_202D_206E_200E_202C_206E_200D_200E_202B_202D_200B_200C_206B_202B_206F_202D_200F_206E_200C_206C_200D_200B_206E_206C_200D_200D_200B_200E_202A_206A_206D_202B_206A_202E_206A_200E_202E(); + + private bool _built; + + public void EnsureBuilt() + { + int num = ((!_built) ? (-755659506) : (-755659507)); + while (true) + { + int num2 = num; + int num3 = -755659505; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004f; + case 2: + return; + case 1: + { + object obj = _lock; + bool flag = false; + try + { + _202C_206C_200C_200F_200C_206D_202D_200E_206A_206B_200C_206A_202D_202C_206E_206E_200D_202C_202E_200C_206F_202E_200F_202C_206E_200B_206E_200D_206C_202E_200E_206A_200C_206B_206C_206F_202B_206B_206A_200C_202E(obj, ref flag); + num = ((!_built) ? (-466349832) : (-466349831)); + while (true) + { + int num5 = num; + num3 = -466349832; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + goto IL_00be; + case 1: + return; + case 0: + { + BuildOptions buildOptions = _202A_206E_200E_206E_202D_200D_202E_200D_202C_202C_206C_200B_202A_206A_200B_200C_206C_200F_202A_200B_200B_200B_206D_202D_206E_200D_206E_206E_206F_202C_200D_202B_202E_202C_206E_206F_206D_206A_200D_202A_202E(); + _202A_206C_200F_200B_200E_202E_206C_206B_200D_200F_206B_202E_202A_200E_202C_202E_206C_202B_206B_202A_206C_206F_200F_202E_202D_202C_202E_200E_200C_202E_206C_206A_206D_202A_206E_202B_200D_206E_202D_200C_202E(buildOptions, _registry); + BuildOptions buildOptions2 = buildOptions; + DirectoryInfo projectRoot = FindProjectRoot(); + IEnumerator<(string, string, Func)> enumerator = Catalog.GetEnumerator(); + try + { + num = 333964218; + while (true) + { + int num8 = num; + num3 = 333964217; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 333964218; + break; + case 3: + num = (_200D_202A_202E_206C_206F_206D_202D_200C_202A_206F_206B_202C_206C_202B_206C_202C_206F_202C_200B_200D_200E_206F_200C_200D_206C_206B_200D_202D_200B_200D_206B_200D_202B_206D_206D_206F_206D_206C_206D_202B_202E((IEnumerator)enumerator) ? 333964216 : 333964217); + break; + case 1: + var (fileName, key, embedded) = enumerator.Current; + _schemas[key] = Build(fileName, embedded, projectRoot, buildOptions2); + num = 333964218; + break; + case 0: + goto end_IL_010b; + } + continue; + end_IL_010b: + break; + } + } + finally + { + num = ((enumerator == null) ? 1298249544 : 1298249547); + while (true) + { + int num9 = num; + num3 = 1298249545; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 1: + goto end_IL_01d1; + case 2: + _206C_206D_202A_200D_200D_202C_200C_202B_206E_206C_206D_206D_206E_202E_206C_206F_206C_202B_200B_206F_202E_200E_200B_206D_206D_206C_200D_206F_202E_200F_202D_200B_200B_202B_200E_202A_206B_202D_200F_202B_202E((IDisposable)enumerator); + num = 1298249544; + break; + case 0: + num = 1298249547; + break; + } + continue; + end_IL_01d1: + break; + } + } + _built = true; + return; + } + } + continue; + IL_00be: + num = -466349831; + } + } + finally + { + num = ((!flag) ? 942948134 : 942948133); + while (true) + { + int num12 = num; + num3 = 942948135; + num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 942948133; + break; + case 2: + _200B_200F_206E_200D_202A_200C_200B_202D_206C_206F_202C_206E_202A_206E_202D_202E_202E_202B_206D_202B_202C_206F_206E_206F_202B_206E_202B_200C_200D_206B_206F_206E_202E_206B_206B_202E_202A_206E_200D_206A_202E(obj); + num = 942948134; + break; + case 1: + goto end_IL_0249; + } + continue; + end_IL_0249: + break; + } + } + } + } + continue; + IL_004f: + num = -755659507; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public JsonSchema Get(string uri) + { + EnsureBuilt(); + JsonSchema value; + int num = (_schemas.TryGetValue(uri, out value) ? (-2109712785) : (-2109712788)); + while (true) + { + int num2 = num; + int num3 = -2109712787; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0054; + case 2: + return value; + case 1: + throw _200B_202B_202C_200B_200C_200F_206F_202C_200B_206D_200B_206C_200D_202C_206D_206C_206C_206A_200C_206C_200E_206C_202B_202C_206A_200C_206B_206D_200B_200E_206B_202E_202D_206F_206C_202B_206A_202E_200E_200C_202E(_202A_202E_202A_200F_202C_206D_206A_206C_200E_202D_200E_206F_206D_202D_200D_202C_206F_206F_200E_202A_200E_206E_206A_202A_206A_206E_206E_202A_206C_200D_206D_202A_206D_202C_200F_200B_200F_202C_200C_202A_202E(global::_003CModule_003E._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(-232645525), uri)); + } + continue; + IL_0054: + num = -2109712788; + } + } + + private static JsonSchema Build(string fileName, Func embedded, DirectoryInfo? projectRoot, BuildOptions buildOptions) + { + if (projectRoot != null) + { + try + { + string text = _202E_200D_202D_200F_200F_202D_200B_206F_206A_200C_206E_202B_206D_200D_202A_200C_206A_206A_202D_206E_200B_206F_206A_200F_206F_202B_206E_200D_206C_202E_206F_206A_206E_202E_206A_206D_200D_206A_202B_206F_202E(_200C_206B_202A_200B_202B_206F_200F_200B_200E_206F_206B_200E_206C_206A_202C_202E_202B_202D_206F_206D_206B_200E_200C_200C_202A_206D_206F_206E_200B_206A_202B_206F_202A_202C_200E_200B_202D_200C_200B_206E_202E((FileSystemInfo)projectRoot), fileName, SearchOption.AllDirectories).FirstOrDefault(); + int num = ((text == null) ? 1090313824 : 1090313827); + while (true) + { + int num2 = num; + int num3 = 1090313826; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0063; + case 1: + return _206E_206A_202E_206C_200E_202D_200B_206D_200F_200F_200F_202E_206A_202A_202A_202A_200F_206D_200C_206F_200E_206C_202C_206B_206B_202E_200F_200E_206C_202E_202B_206D_202E_202B_200F_200D_206F_202A_206D_206D_202E(_200B_200D_206F_206D_206F_200C_206E_202C_202B_206A_202B_200D_206D_202B_206A_202C_200C_202D_200C_200C_206E_206A_202B_206A_202B_202A_200F_206E_206E_200E_200F_200E_202C_206A_202D_200D_202A_202C_200D_206B_202E(text), buildOptions, (Uri)null, (JsonDocumentOptions?)null); + case 2: + goto end_IL_0037; + } + continue; + IL_0063: + num = 1090313827; + continue; + end_IL_0037: + break; + } + } + catch + { + } + } + StreamReader streamReader = _202C_202D_206C_206C_202D_200F_206D_200F_206B_200F_200E_206B_206C_206D_206B_206C_200D_200D_200B_200C_206D_200D_206E_202B_206E_206C_200F_202D_202A_202B_200C_206B_200C_206B_206C_206C_206F_206D_202A_206F_202E(embedded()); + try + { + return _206E_206A_202E_206C_200E_202D_200B_206D_200F_200F_200F_202E_206A_202A_202A_202A_200F_206D_200C_206F_200E_206C_202C_206B_206B_202E_200F_200E_206C_202E_202B_206D_202E_202B_200F_200D_206F_202A_206D_206D_202E(_200F_206B_202C_202D_206B_206C_206C_206B_206B_202C_206F_200F_200E_206F_202D_206D_200B_200E_200B_200F_202E_200F_206E_206F_206D_200E_200F_202E_206D_206F_202B_200E_202B_200D_200B_200B_202A_200C_200D_200E_202E((TextReader)streamReader), buildOptions, (Uri)null, (JsonDocumentOptions?)null); + } + finally + { + int num = ((streamReader == null) ? 1697266929 : 1697266928); + while (true) + { + int num5 = num; + int num3 = 1697266929; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1697266928; + break; + case 1: + _206C_206D_202A_200D_200D_202C_200C_202B_206E_206C_206D_206D_206E_202E_206C_206F_206C_202B_200B_206F_202E_200E_200B_206D_206D_206C_200D_206F_202E_200F_202D_200B_200B_202B_200E_202A_206B_202D_200F_202B_202E((IDisposable)streamReader); + num = 1697266929; + break; + case 0: + goto end_IL_00e8; + } + continue; + end_IL_00e8: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static DirectoryInfo? FindProjectRoot() + { + try + { + string text = _202D_202E_200D_206D_202A_200F_200D_206B_202B_200E_206A_206D_202C_202A_206B_200E_200F_206A_202B_206C_206E_206B_200E_206A_206C_202A_202D_202E_206A_202D_202B_206A_200B_202E_206C_206B_200F_202E_200F_202C_202E(_206F_202D_202A_200D_206B_202D_200E_200E_202E_202E_206E_206F_202B_206F_202E_202A_200D_200B_202C_206A_202D_200B_202C_200F_206E_206F_206C_200E_206A_202C_200F_206A_206E_206A_200F_202D_206A_200B_206C_202A_202E()); + int num = ((!_202C_206A_206E_206D_200B_200B_200C_200E_200E_202A_202A_206C_200B_206C_200C_206F_202A_200F_202B_202A_206B_202D_200F_200F_206D_200C_202D_200B_200C_206B_206F_206D_206C_200D_206E_200C_200C_200E_206C_206E_202E(text)) ? 580554043 : 580554044); + DirectoryInfo directoryInfo = default(DirectoryInfo); + while (true) + { + int num2 = num; + int num3 = 580554040; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 9: + num = 580554044; + break; + case 5: + num = ((directoryInfo != null) ? 580554047 : 580554032); + break; + case 0: + directoryInfo = _200B_202D_200D_202A_202D_206E_202D_206C_202B_202E_206E_202A_202A_206D_200F_206E_200F_206F_200F_200E_202A_206E_206B_206D_200D_200D_202B_202C_206D_200E_200F_200C_202B_206F_202A_202C_200D_202B_200D_200D_202E(directoryInfo); + num = 580554045; + break; + case 3: + directoryInfo = _202C_202B_206D_202C_200B_200B_206F_202A_202B_206D_202B_202D_206E_202E_202D_202B_206C_200C_200E_206C_206D_206B_200E_202A_200B_200B_202E_206A_200E_206C_206C_202E_200F_206E_200C_202B_206D_206B_206F_202D_202E(_206A_200D_206C_202A_202E_206A_206B_206F_202C_202D_202C_206A_202E_206A_206F_206B_200D_206D_202A_202D_206B_200D_202A_202C_206B_202C_200C_200E_200C_200B_206F_200D_200E_202A_206C_202B_200C_200D_206E_206F_202E(text) ?? text); + num = 580554045; + break; + case 1: + num = ((_206E_200B_206D_200F_206E_202C_200E_202C_202B_200C_206F_202B_206D_206F_206B_202B_206E_206E_202C_200D_200B_206F_206C_202A_200F_202A_202E_202D_206E_202B_206C_206E_206A_202B_206C_200B_202B_202C_200F_202C_202E(directoryInfo, global::_003CModule_003E._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(825165366), SearchOption.TopDirectoryOnly).Length != 0) ? 580554046 : 580554042); + break; + case 4: + return null; + case 7: + num = ((_206E_200B_206D_200F_206E_202C_200E_202C_202B_200C_206F_202B_206D_206F_206B_202B_206E_206E_202C_200D_200B_206F_206C_202A_200F_202A_202E_202D_206E_202B_206C_206E_206A_202B_206C_200B_202B_202C_200F_202C_202E(directoryInfo, global::_003CModule_003E._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(2005366887), SearchOption.TopDirectoryOnly).Length != 0) ? 580554046 : 580554041); + break; + case 6: + return directoryInfo; + case 2: + num = ((_206E_200B_206D_200F_206E_202C_200E_202C_202B_200C_206F_202B_206D_206F_206B_202B_206E_206E_202C_200D_200B_206F_206C_202A_200F_202A_202E_202D_206E_202B_206C_206E_206A_202B_206C_200B_202B_202C_200F_202C_202E(directoryInfo, global::_003CModule_003E._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(-1179749275), SearchOption.TopDirectoryOnly).Length == 0) ? 580554040 : 580554046); + break; + case 8: + goto end_IL_002c; + } + continue; + end_IL_002c: + break; + } + } + catch + { + } + return null; + } + + static void _202C_206C_200C_200F_200C_206D_202D_200E_206A_206B_200C_206A_202D_202C_206E_206E_200D_202C_202E_200C_206F_202E_200F_202C_206E_200B_206E_200D_206C_202E_200E_206A_200C_206B_206C_206F_202B_206B_206A_200C_202E(object P_0, ref bool P_1) + { + Monitor.Enter(P_0, ref P_1); + } + + static BuildOptions _202A_206E_200E_206E_202D_200D_202E_200D_202C_202C_206C_200B_202A_206A_200B_200C_206C_200F_202A_200B_200B_200B_206D_202D_206E_200D_206E_206E_206F_202C_200D_202B_202E_202C_206E_206F_206D_206A_200D_202A_202E() + { + return new BuildOptions(); + } + + static void _202A_206C_200F_200B_200E_202E_206C_206B_200D_200F_206B_202E_202A_200E_202C_202E_206C_202B_206B_202A_206C_206F_200F_202E_202D_202C_202E_200E_200C_202E_206C_206A_206D_202A_206E_202B_200D_206E_202D_200C_202E(BuildOptions P_0, SchemaRegistry P_1) + { + P_0.SchemaRegistry = P_1; + } + + static bool _200D_202A_202E_206C_206F_206D_202D_200C_202A_206F_206B_202C_206C_202B_206C_202C_206F_202C_200B_200D_200E_206F_200C_200D_206C_206B_200D_202D_200B_200D_206B_200D_202B_206D_206D_206F_206D_206C_206D_202B_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206C_206D_202A_200D_200D_202C_200C_202B_206E_206C_206D_206D_206E_202E_206C_206F_206C_202B_200B_206F_202E_200E_200B_206D_206D_206C_200D_206F_202E_200F_202D_200B_200B_202B_200E_202A_206B_202D_200F_202B_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _200B_200F_206E_200D_202A_200C_200B_202D_206C_206F_202C_206E_202A_206E_202D_202E_202E_202B_206D_202B_202C_206F_206E_206F_202B_206E_202B_200C_200D_206B_206F_206E_202E_206B_206B_202E_202A_206E_200D_206A_202E(object P_0) + { + Monitor.Exit(P_0); + } + + static string _202A_202E_202A_200F_202C_206D_206A_206C_200E_202D_200E_206F_206D_202D_200D_202C_206F_206F_200E_202A_200E_206E_206A_202A_206A_206E_206E_202A_206C_200D_206D_202A_206D_202C_200F_200B_200F_202C_200C_202A_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static InvalidOperationException _200B_202B_202C_200B_200C_200F_206F_202C_200B_206D_200B_206C_200D_202C_206D_206C_206C_206A_200C_206C_200E_206C_202B_202C_206A_200C_206B_206D_200B_200E_206B_202E_202D_206F_206C_202B_206A_202E_200E_200C_202E(string P_0) + { + return new InvalidOperationException(P_0); + } + + static string _200C_206B_202A_200B_202B_206F_200F_200B_200E_206F_206B_200E_206C_206A_202C_202E_202B_202D_206F_206D_206B_200E_200C_200C_202A_206D_206F_206E_200B_206A_202B_206F_202A_202C_200E_200B_202D_200C_200B_206E_202E(FileSystemInfo P_0) + { + return P_0.FullName; + } + + static IEnumerable _202E_200D_202D_200F_200F_202D_200B_206F_206A_200C_206E_202B_206D_200D_202A_200C_206A_206A_202D_206E_200B_206F_206A_200F_206F_202B_206E_200D_206C_202E_206F_206A_206E_202E_206A_206D_200D_206A_202B_206F_202E(string P_0, string P_1, SearchOption P_2) + { + return Directory.EnumerateFiles(P_0, P_1, P_2); + } + + static string _200B_200D_206F_206D_206F_200C_206E_202C_202B_206A_202B_200D_206D_202B_206A_202C_200C_202D_200C_200C_206E_206A_202B_206A_202B_202A_200F_206E_206E_200E_200F_200E_202C_206A_202D_200D_202A_202C_200D_206B_202E(string P_0) + { + return File.ReadAllText(P_0); + } + + static JsonSchema _206E_206A_202E_206C_200E_202D_200B_206D_200F_200F_200F_202E_206A_202A_202A_202A_200F_206D_200C_206F_200E_206C_202C_206B_206B_202E_200F_200E_206C_202E_202B_206D_202E_202B_200F_200D_206F_202A_206D_206D_202E(string P_0, BuildOptions P_1, Uri P_2, JsonDocumentOptions? P_3) + { + return JsonSchema.FromText(P_0, P_1, P_2, P_3); + } + + static StreamReader _202C_202D_206C_206C_202D_200F_206D_200F_206B_200F_200E_206B_206C_206D_206B_206C_200D_200D_200B_200C_206D_200D_206E_202B_206E_206C_200F_202D_202A_202B_200C_206B_200C_206B_206C_206C_206F_206D_202A_206F_202E(Stream P_0) + { + return new StreamReader(P_0); + } + + static string _200F_206B_202C_202D_206B_206C_206C_206B_206B_202C_206F_200F_200E_206F_202D_206D_200B_200E_200B_200F_202E_200F_206E_206F_206D_200E_200F_202E_206D_206F_202B_200E_202B_200D_200B_200B_202A_200C_200D_200E_202E(TextReader P_0) + { + return P_0.ReadToEnd(); + } + + static Assembly _206F_202D_202A_200D_206B_202D_200E_200E_202E_202E_206E_206F_202B_206F_202E_202A_200D_200B_202C_206A_202D_200B_202C_200F_206E_206F_206C_200E_206A_202C_200F_206A_206E_206A_200F_202D_206A_200B_206C_202A_202E() + { + return Assembly.GetExecutingAssembly(); + } + + static string _202D_202E_200D_206D_202A_200F_200D_206B_202B_200E_206A_206D_202C_202A_206B_200E_200F_206A_202B_206C_206E_206B_200E_206A_206C_202A_202D_202E_206A_202D_202B_206A_200B_202E_206C_206B_200F_202E_200F_202C_202E(Assembly P_0) + { + return P_0.Location; + } + + static bool _202C_206A_206E_206D_200B_200B_200C_200E_200E_202A_202A_206C_200B_206C_200C_206F_202A_200F_202B_202A_206B_202D_200F_200F_206D_200C_202D_200B_200C_206B_206F_206D_206C_200D_206E_200C_200C_200E_206C_206E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string _206A_200D_206C_202A_202E_206A_206B_206F_202C_202D_202C_206A_202E_206A_206F_206B_200D_206D_202A_202D_206B_200D_202A_202C_206B_202C_200C_200E_200C_200B_206F_200D_200E_202A_206C_202B_200C_200D_206E_206F_202E(string P_0) + { + return Path.GetDirectoryName(P_0); + } + + static DirectoryInfo _202C_202B_206D_202C_200B_200B_206F_202A_202B_206D_202B_202D_206E_202E_202D_202B_206C_200C_200E_206C_206D_206B_200E_202A_200B_200B_202E_206A_200E_206C_206C_202E_200F_206E_200C_202B_206D_206B_206F_202D_202E(string P_0) + { + return new DirectoryInfo(P_0); + } + + static DirectoryInfo[] _206E_200B_206D_200F_206E_202C_200E_202C_202B_200C_206F_202B_206D_206F_206B_202B_206E_206E_202C_200D_200B_206F_206C_202A_200F_202A_202E_202D_206E_202B_206C_206E_206A_202B_206C_200B_202B_202C_200F_202C_202E(DirectoryInfo P_0, string P_1, SearchOption P_2) + { + return P_0.GetDirectories(P_1, P_2); + } + + static DirectoryInfo _200B_202D_200D_202A_202D_206E_202D_206C_202B_202E_206E_202A_202A_206D_200F_206E_200F_206F_200F_200E_202A_206E_206B_206D_200D_200D_202B_202C_206D_200E_200F_200C_202B_206F_202A_202C_200D_202B_200D_200D_202E(DirectoryInfo P_0) + { + return P_0.Parent; + } + + static SchemaRegistry _206D_202B_206D_206B_206D_206B_202D_206B_200E_202D_202C_206C_206D_206E_202A_200B_202D_206C_206E_202A_206A_202B_202E_206B_200D_202B_206B_206D_200B_206F_202E_202E_202A_206E_200B_202E_206F_206C_200C_202D_202E() + { + return new SchemaRegistry(); + } + + static object _206C_200B_206B_202D_202E_202D_206E_200E_202C_206E_200D_200E_202B_202D_200B_200C_206B_202B_206F_202D_200F_206E_200C_206C_200D_200B_206E_206C_200D_200D_200B_200E_202A_206A_206D_202B_206A_202E_206A_200E_202E() + { + return new object(); + } +} diff --git a/Questionable/Questionable.Validation/SchemaValidationHelper.cs b/Questionable/Questionable.Validation/SchemaValidationHelper.cs new file mode 100644 index 00000000..04f02300 --- /dev/null +++ b/Questionable/Questionable.Validation/SchemaValidationHelper.cs @@ -0,0 +1,663 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +using Json.Pointer; +using Json.Schema; + +namespace Questionable.Validation; + +internal static class SchemaValidationHelper +{ + internal readonly record struct ParsedError(string InstancePath, string PropertyPath, string Message) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_200D_202A_202D_202D_200F_206B_200B_206C_200C_202E_202D_200B_202B_200C_206C_200E_200F_200D_206E_202D_200B_206E_206E_202B_206B_206F_202C_206F_206F_202B_200B_206E_206C_206F_206D_202C_202B_200F_202B_202E(); + _206D_202C_200F_200E_206D_206C_206C_200C_200D_200D_206C_200C_202A_200D_202C_202C_202E_206D_200D_200B_200F_206C_200C_206C_206B_206A_206D_202B_200E_200D_206E_202D_206D_200F_200B_200F_206A_200C_206C_206A_202E(stringBuilder, global::_003CModule_003E._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(-36173424)); + _206D_202C_200F_200E_206D_206C_206C_200C_200D_200D_206C_200C_202A_200D_202C_202C_202E_206D_200D_200B_200F_206C_200C_206C_206B_206A_206D_202B_200E_200D_206E_202D_206D_200F_200B_200F_206A_200C_206C_206A_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? 144448390 : 144448389); + while (true) + { + int num2 = num; + int num3 = 144448391; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 144448389; + break; + case 1: + _206A_206F_200D_202B_206D_206D_206D_202B_202A_200F_200C_200E_200F_200F_206F_200D_200C_200B_206A_206F_206E_200D_202B_200C_206F_200D_202C_206A_200D_202E_206D_206B_200F_202E_202A_200F_206A_200D_202C_206B_202E(stringBuilder, '}'); + return _202D_206B_206B_206E_200F_200F_206D_206D_202B_206A_206F_206F_202C_206E_206F_200C_202B_206B_206D_200E_202B_206A_202B_202E_206A_202E_202A_200E_202B_206A_200E_200B_206B_202A_200F_202C_206B_202B_206A_202E((object)stringBuilder); + case 2: + _206A_206F_200D_202B_206D_206D_206D_202B_202A_200F_200C_200E_200F_200F_206F_200D_200C_200B_206A_206F_206E_200D_202B_200C_206F_200D_202C_206A_200D_202E_206D_206B_200F_202E_202A_200F_206A_200D_202C_206B_202E(stringBuilder, ' '); + num = 144448390; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_202C_200F_200E_206D_206C_206C_200C_200D_200D_206C_200C_202A_200D_202C_202C_202E_206D_200D_200B_200F_206C_200C_206C_206B_206A_206D_202B_200E_200D_206E_202D_206D_200F_200B_200F_206A_200C_206C_206A_202E(builder, global::_003CModule_003E._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(-1589665761)); + _202D_202D_200F_200F_200D_206F_200B_202A_206B_200D_202A_202E_206C_200F_200E_206B_206C_202C_206F_206F_200E_200E_206E_206C_206D_206C_200B_202E_206F_202D_206B_206C_200D_206E_206B_202C_202B_206C_206C_206A_202E(builder, (object)InstancePath); + _206D_202C_200F_200E_206D_206C_206C_200C_200D_200D_206C_200C_202A_200D_202C_202C_202E_206D_200D_200B_200F_206C_200C_206C_206B_206A_206D_202B_200E_200D_206E_202D_206D_200F_200B_200F_206A_200C_206C_206A_202E(builder, global::_003CModule_003E._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(-1127869114)); + _202D_202D_200F_200F_200D_206F_200B_202A_206B_200D_202A_202E_206C_200F_200E_206B_206C_202C_206F_206F_200E_200E_206E_206C_206D_206C_200B_202E_206F_202D_206B_206C_200D_206E_206B_202C_202B_206C_206C_206A_202E(builder, (object)PropertyPath); + _206D_202C_200F_200E_206D_206C_206C_200C_200D_200D_206C_200C_202A_200D_202C_202C_202E_206D_200D_200B_200F_206C_200C_206C_206B_206A_206D_202B_200E_200D_206E_202D_206D_200F_200B_200F_206A_200C_206C_206A_202E(builder, global::_003CModule_003E._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(-63396934)); + _202D_202D_200F_200F_200D_206F_200B_202A_206B_200D_202A_202E_206C_200F_200E_206B_206C_202C_206F_206F_200E_200E_206E_206C_206D_206C_200B_202E_206F_202D_206B_206C_200D_206E_206B_202C_202B_206C_206C_206A_202E(builder, (object)Message); + return true; + } + + [CompilerGenerated] + public bool Equals(ParsedError other) + { + int num = ((!EqualityComparer.Default.Equals(InstancePath, other.InstancePath)) ? (-1823649485) : (-1823649486)); + while (true) + { + int num2 = num; + int num3 = -1823649488; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1823649486; + break; + case 3: + return false; + case 1: + return EqualityComparer.Default.Equals(Message, other.Message); + case 2: + num = ((!EqualityComparer.Default.Equals(PropertyPath, other.PropertyPath)) ? (-1823649485) : (-1823649487)); + break; + } + } + } + + bool IEquatable.Equals(ParsedError other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206F_200D_202A_202D_202D_200F_206B_200B_206C_200C_202E_202D_200B_202B_200C_206C_200E_200F_200D_206E_202D_200B_206E_206E_202B_206B_206F_202C_206F_206F_202B_200B_206E_206C_206F_206D_202C_202B_200F_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206D_202C_200F_200E_206D_206C_206C_200C_200D_200D_206C_200C_202A_200D_202C_202C_202E_206D_200D_200B_200F_206C_200C_206C_206B_206A_206D_202B_200E_200D_206E_202D_206D_200F_200B_200F_206A_200C_206C_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_206F_200D_202B_206D_206D_206D_202B_202A_200F_200C_200E_200F_200F_206F_200D_200C_200B_206A_206F_206E_200D_202B_200C_206F_200D_202C_206A_200D_202E_206D_206B_200F_202E_202A_200F_206A_200D_202C_206B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202D_206B_206B_206E_200F_200F_206D_206D_202B_206A_206F_206F_202C_206E_206F_200C_202B_206B_206D_200E_202B_206A_202B_202E_206A_202E_202A_200E_202B_206A_200E_200B_206B_202A_200F_202C_206B_202B_206A_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _202D_202D_200F_200F_200D_206F_200B_202A_206B_200D_202A_202E_206C_200F_200E_206B_206C_202C_206F_206F_200E_200E_206E_206C_206D_206C_200B_202E_206F_202D_206B_206C_200D_206E_206B_202C_202B_206C_206C_206A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + } + + public static void CollectLeafErrors(EvaluationResults node, List errors) + { + int num; + if (!_200D_202E_206D_200E_202D_200E_200E_202C_206A_202E_202B_200C_202B_200F_206B_202E_200B_202A_206B_202C_206C_202B_200B_200B_206E_200B_200E_202C_206E_206F_202C_206E_202A_200C_206C_200E_206C_202B_202A_202D_202E(node)) + { + num = -1995348334; + Dictionary dictionary = default(Dictionary); + string text2 = default(string); + while (true) + { + int num2 = num; + int num3 = -1995348335; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + if (dictionary.Count > 0) + { + num = -1995348336; + continue; + } + break; + case 3: + dictionary = _206E_206B_206F_200E_202B_202D_202C_200C_202E_200E_202D_200E_202B_200B_200C_202C_200B_202E_202B_206B_202C_206A_200F_200E_206F_200C_200B_206E_206E_200E_202C_206E_206C_200D_200E_202D_202D_206A_206C_206F_202E(node); + if (dictionary != null) + { + num = -1995348335; + continue; + } + break; + case 2: + num = -1995348334; + continue; + case 1: + { + using (Dictionary.Enumerator enumerator = _206E_206B_206F_200E_202B_202D_202C_200C_202E_200E_202D_200E_202B_200B_200C_202C_200B_202E_202B_206B_202C_206A_200F_200E_206F_200C_200B_206E_206E_200E_202C_206E_206C_200D_200E_202D_202D_206A_206C_206F_202E(node).GetEnumerator()) + { + num = 570619197; + while (true) + { + int num5 = num; + num3 = 570619199; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 1: + num = (_202C_206C_202E_206F_202A_200E_200F_202B_200B_206F_206D_206F_200D_202E_206C_200E_200F_206D_206D_200F_206F_202D_202B_206A_200E_206E_200E_206F_200C_200C_202E_200F_200D_202C_200F_200C_202B_202B_200E_202E_202E(text2) ? 570619197 : 570619195); + break; + case 3: + { + enumerator.Current.Deconstruct(out var key, out var value); + string keyword = key; + text2 = value; + num = (IsAggregateKeyword(keyword) ? 570619197 : 570619198); + break; + } + case 0: + num = 570619197; + break; + case 2: + num = (enumerator.MoveNext() ? 570619196 : 570619194); + break; + case 4: + { + string text = _202C_202A_200B_202E_200D_202D_206B_200F_206D_200B_206E_200E_200D_206B_206B_202A_206C_202A_202C_206C_200E_206F_202D_202D_202D_206C_206F_202C_206B_202B_206A_206D_206D_202A_202B_206B_202B_202E_200E_202E_202E(node).ToString(); + string rawPath = GetRawPath(text); + errors.Add(new ParsedError(text ?? string.Empty, FormatPath(rawPath), CleanMessage(text2))); + num = 570619197; + break; + } + case 5: + goto end_IL_009c; + } + continue; + end_IL_009c: + break; + } + } + break; + } + } + break; + } + } + List list = _200D_200D_200C_202C_206A_202D_200C_206C_202A_200B_200D_206C_200E_202A_202D_200E_200D_200F_202E_206E_202E_202B_200C_202E_200F_206B_206F_202A_206F_206A_202E_206E_202C_206E_206F_200D_200E_202A_206D_202C_202E(node); + if (list == null) + { + return; + } + num = -1276546531; + EvaluationResults current = default(EvaluationResults); + while (true) + { + int num8 = num; + int num3 = -1276546532; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = -1276546531; + break; + case 1: + if (list.Count > 0) + { + num = -1276546532; + break; + } + return; + case 0: + { + using List.Enumerator enumerator2 = _200D_200D_200C_202C_206A_202D_200C_206C_202A_200B_200D_206C_200E_202A_202D_200E_200D_200F_202E_206E_202E_202B_200C_202E_200F_206B_206F_202A_206F_206A_202E_206E_202C_206E_206F_200D_200E_202A_206D_202C_202E(node).GetEnumerator(); + num = -1005796493; + while (true) + { + int num11 = num; + num3 = -1005796494; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 0: + num = -1005796493; + break; + case 2: + current = enumerator2.Current; + num = (_200D_202E_206D_200E_202D_200E_200E_202C_206A_202E_202B_200C_202B_200F_206B_202E_200B_202A_206B_202C_206C_202B_200B_200B_206E_200B_200E_202C_206E_206F_202C_206E_202A_200C_206C_200E_206C_202B_202A_202D_202E(current) ? (-1005796493) : (-1005796490)); + break; + case 1: + num = (enumerator2.MoveNext() ? (-1005796496) : (-1005796495)); + break; + case 4: + CollectLeafErrors(current, errors); + num = -1005796493; + break; + case 3: + return; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static string FormatPath(string rawPath) + { + int num = ((!_202B_202A_200C_202A_200D_200D_202E_202C_202B_200D_206B_202B_200C_206F_202E_202D_206F_206A_206B_206D_200B_200F_202B_206D_200E_206A_206C_206D_206C_206D_200E_206E_206A_202B_202A_202B_202C_200E_206A_200C_202E(rawPath)) ? 163847157 : 163847153); + List list = default(List); + int num5 = default(int); + int result = default(int); + string[] array2 = default(string[]); + string text = default(string); + while (true) + { + int num2 = num; + int num3 = 163847152; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + num = ((list.Count <= 0) ? 163847162 : 163847159); + break; + case 0: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = 163847154; + break; + } + case 10: + { + List list2 = list; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(2, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1118615183)); + defaultInterpolatedStringHandler.AppendFormatted(result); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(80455896)); + list2.Add(defaultInterpolatedStringHandler.ToStringAndClear()); + num = 163847152; + break; + } + case 9: + return _202A_202B_206A_200B_200E_202B_200E_206C_200F_206B_206B_202E_206E_200B_206B_206F_200D_202D_206E_202C_202D_200F_200E_202B_200C_202A_200E_202D_202B_206B_200C_200E_206D_206A_202E_200E_202A_200C_202C_206B_202E(global::_003CModule_003E._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(-404473860), (IEnumerable)list); + case 2: + num = ((num5 < array2.Length) ? 163847155 : 163847161); + break; + case 7: + { + List list3 = list; + int index = list.Count - 1; + string text2 = list3[index]; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(2, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1463938997)); + defaultInterpolatedStringHandler2.AppendFormatted(result); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(80455896)); + list3[index] = _202A_200B_202D_202E_202C_206E_200D_200F_202D_202D_202C_202C_202C_206E_202E_206A_202E_202C_200C_206C_206A_200F_200E_200F_206E_202D_200F_202B_200C_202D_200D_202E_202A_202A_206D_202C_202E_206A_202A_200C_202E(text2, defaultInterpolatedStringHandler2.ToStringAndClear()); + num = 163847152; + break; + } + case 3: + text = array2[num5]; + num = ((!int.TryParse(text, out result)) ? 163847158 : 163847160); + break; + case 1: + return string.Empty; + case 6: + list.Add(text); + num = 163847152; + break; + case 4: + num = 163847153; + break; + case 5: + { + string[] array = _206D_200C_202D_200C_206B_206E_202A_200B_202C_200D_200B_206C_202D_202C_200D_200F_202D_206E_206B_200B_200E_202D_200B_202B_206A_200E_206D_200E_206D_206B_206A_202B_206F_206B_206F_202C_200D_202A_200D_202E_202E(rawPath, '/', StringSplitOptions.None); + list = new List(); + array2 = array; + num5 = 0; + num = 163847154; + break; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static string CleanMessage(string message) + { + return _200C_200C_200D_202D_202E_206E_200E_206C_202D_202C_206A_202C_200B_202D_202C_202D_200E_202A_202B_202C_202E_200E_206B_202E_200B_200D_200D_202A_206F_200D_202C_202E_200C_206B_200F_202B_200E_206F_200D_200F_202E(_200C_200C_200D_202D_202E_206E_200E_206C_202D_202C_206A_202C_200B_202D_202C_202D_200E_202A_202B_202C_202E_200E_206B_202E_200B_200D_200D_202A_206F_200D_202C_202E_200C_206B_200F_202B_200E_206F_200D_200F_202E(message, global::_003CModule_003E._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(519119434), global::_003CModule_003E._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(1792309681), StringComparison.Ordinal), global::_003CModule_003E._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(-486788284), global::_003CModule_003E._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(-1307535606), StringComparison.Ordinal); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static string? FormatQuestLocation(byte? sequence, int? step) + { + int num = (sequence.HasValue ? 660406071 : 660406065); + while (true) + { + int num2 = num; + int num3 = 660406067; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(11, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1005707421)); + defaultInterpolatedStringHandler2.AppendFormatted(sequence); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(857758852)); + defaultInterpolatedStringHandler2.AppendFormatted(step); + return defaultInterpolatedStringHandler2.ToStringAndClear(); + } + case 4: + num = ((!step.HasValue) ? 660406064 : 660406066); + break; + case 2: + return null; + case 0: + num = 660406065; + break; + case 3: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(4, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1926875694)); + defaultInterpolatedStringHandler.AppendFormatted(sequence); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static bool IsAggregateKeyword(string keyword) + { + int num = ((keyword == null) ? 240931173 : 240931199); + char c = default(char); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = 240931189; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = 240931199; + break; + case 19: + c = _206D_200D_200F_200E_202A_206D_200B_202A_206C_206A_206F_202C_202D_202B_206D_206A_200D_202C_206A_206A_206C_202C_206D_202A_206C_202B_206E_206D_202B_206A_200D_202E_206E_202B_202A_206B_202D_200D_202E_206F_202E(keyword, 0); + num = ((c == 'e') ? 240931190 : 240931183); + break; + case 2: + num = 240931173; + break; + case 17: + num = (_202B_206D_206C_200D_200E_206D_206C_202C_202D_200C_206F_202C_202E_200B_202A_200F_200C_206C_200F_200D_200D_206A_202E_200F_206E_202E_202C_206E_202E_202C_200B_206B_200B_200E_202B_202B_206E_200C_206D_202D_202E(keyword, global::_003CModule_003E._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(-1371988018)) ? 240931198 : 240931197); + break; + case 8: + num = 240931173; + break; + case 20: + num = ((c == 'y') ? 240931186 : 240931181); + break; + case 15: + num = 240931173; + break; + case 21: + num = (_202B_206D_206C_200D_200E_206D_206C_202C_202D_200C_206F_202C_202E_200B_202A_200F_200C_206C_200F_200D_200D_206A_202E_200F_206E_202E_202C_206E_202E_202C_200B_206B_200B_200E_202B_202B_206E_200C_206D_202D_202E(keyword, global::_003CModule_003E._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(-880210388)) ? 240931198 : 240931175); + break; + case 9: + num = (_202B_206D_206C_200D_200E_206D_206C_202C_202D_200C_206F_202C_202E_200B_202A_200F_200C_206C_200F_200D_200D_206A_202E_200F_206E_202E_202C_206E_202E_202C_200B_206B_200B_200E_202B_202B_206E_200C_206D_202D_202E(keyword, global::_003CModule_003E._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(-1025907661)) ? 240931198 : 240931171); + break; + case 18: + num = 240931173; + break; + case 5: + num = 240931173; + break; + case 12: + num = 240931173; + break; + case 27: + num = ((c == 'l') ? 240931168 : 240931169); + break; + case 7: + num = (_202B_206D_206C_200D_200E_206D_206C_202C_202D_200C_206F_202C_202E_200B_202A_200F_200C_206C_200F_200D_200D_206A_202E_200F_206E_202E_202C_206E_202E_202C_200B_206B_200B_200E_202B_202B_206E_200C_206D_202D_202E(keyword, global::_003CModule_003E._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(-307896602)) ? 240931198 : 240931170); + break; + case 11: + result = true; + num = 240931177; + break; + case 6: + goto IL_021d; + case 13: + goto IL_0248; + case 25: + num = 240931173; + break; + case 29: + goto IL_027e; + case 16: + goto IL_02a9; + case 26: + num = ((c == 't') ? 240931196 : 240931191); + break; + case 24: + num = 240931173; + break; + case 23: + num = 240931173; + break; + case 3: + num = (_202B_206D_206C_200D_200E_206D_206C_202C_202D_200C_206F_202C_202E_200B_202A_200F_200C_206C_200F_200D_200D_206A_202E_200F_206E_202E_202C_206E_202E_202C_200B_206B_200B_200E_202B_202B_206E_200C_206D_202D_202E(keyword, global::_003CModule_003E._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(-1916484131)) ? 240931198 : 240931194); + break; + case 14: + goto IL_0315; + case 22: + num = 240931173; + break; + case 1: + goto IL_034b; + case 28: + return result; + case 10: + { + int num7 = _206B_200B_206A_202B_206F_202E_202C_200C_206B_206A_206F_206A_200E_200C_200D_200E_202D_202A_206D_206E_200F_202C_206C_206A_202E_206C_206B_206F_200B_200F_200C_206D_200B_206C_206F_202D_200E_202E_200D_200D_202E(keyword); + num3 = 2; + num4 = num7; + switch (~(~num4 + num3)) + { + case 2: + break; + case 0: + goto IL_021d; + case 9: + goto IL_0248; + case 6: + goto IL_027e; + case 4: + case 5: + case 7: + case 8: + goto IL_02a9; + case 1: + goto IL_0315; + case 3: + goto IL_034b; + default: + goto IL_03b4; + } + goto case 19; + } + case 0: + { + num = 240931173; + break; + } + IL_03b4: + num = 240931189; + break; + IL_034b: + c = _206D_200D_200F_200E_202A_206D_200B_202A_206C_206A_206F_202C_202D_202B_206D_206A_200D_202C_206A_206A_206C_202C_206D_202A_206C_202B_206E_206D_202B_206A_200D_202E_206E_202B_202A_206B_202D_200D_202E_206F_202E(keyword, 2); + num = ((c == 'e') ? 240931172 : 240931182); + break; + IL_0315: + num = (_202B_206D_206C_200D_200E_206D_206C_202C_202D_200C_206F_202C_202E_200B_202A_200F_200C_206C_200F_200D_200D_206A_202E_200F_206E_202E_202C_206E_202E_202C_200B_206B_200B_200E_202B_202B_206E_200C_206D_202D_202E(keyword, global::_003CModule_003E._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(431251289)) ? 240931198 : 240931180); + break; + IL_02a9: + result = false; + num = 240931177; + break; + IL_027e: + num = ((!_202B_206D_206C_200D_200E_206D_206C_202C_202D_200C_206F_202C_202E_200B_202A_200F_200C_206C_200F_200D_200D_206A_202E_200F_206E_202E_202C_206E_202E_202C_200B_206B_200B_200E_202B_202B_206E_200C_206D_202D_202E(keyword, global::_003CModule_003E._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(2049125528))) ? 240931173 : 240931198); + break; + IL_0248: + num = (_202B_206D_206C_200D_200E_206D_206C_202C_202D_200C_206F_202C_202E_200B_202A_200F_200C_206C_200F_200D_200D_206A_202E_200F_206E_202E_202C_206E_202E_202C_200B_206B_200B_200E_202B_202B_206E_200C_206D_202D_202E(keyword, global::_003CModule_003E._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(757162084)) ? 240931198 : 240931193); + break; + IL_021d: + num = (_202B_206D_206C_200D_200E_206D_206C_202C_202D_200C_206F_202C_202E_200B_202A_200F_200C_206C_200F_200D_200D_206A_202E_200F_206E_202E_202C_206E_202E_202C_200B_206B_200B_200E_202B_202B_206E_200C_206D_202D_202E(keyword, global::_003CModule_003E._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(-847792367)) ? 240931198 : 240931184); + break; + } + } + } + + private static string GetRawPath(string? instancePath) + { + int num = ((!_202B_202A_200C_202A_200D_200D_202E_202C_202B_200D_206B_202B_200C_206F_202E_202D_206F_206A_206B_206D_200B_200F_202B_206D_200E_206A_206C_206D_206C_206D_200E_206E_206A_202B_202A_202B_202C_200E_206A_200C_202E(instancePath)) ? (-964105651) : (-964105650)); + while (true) + { + int num2 = num; + int num3 = -964105653; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = -964105650; + break; + case 1: + instancePath = _200B_206E_202D_202B_200E_202D_202C_206B_200C_202B_206D_202C_200E_200B_202A_200C_206F_202D_202E_202E_202C_200B_206E_206F_200C_206F_200E_202C_202B_202C_200E_206E_206A_202C_202E_202D_206D_200B_202D_202C_202E(instancePath, 1); + num = -964105655; + break; + case 0: + num = ((!_202C_202A_200C_206A_206E_200C_200D_206C_202D_202A_206C_200B_200C_202E_206C_206D_202E_202E_200D_206A_200B_206E_206F_202A_200D_202C_202C_200E_200D_202D_206A_206D_206D_202A_202E_202E_200C_200B_200F_206E_202E(instancePath, '/')) ? (-964105655) : (-964105654)); + break; + case 6: + num = ((!_202C_202A_200C_206A_206E_200C_200D_206C_202D_202A_206C_200B_200C_202E_206C_206D_202E_202E_200D_206A_200B_206E_206F_202A_200D_202C_202C_200E_200D_202D_206A_206D_206D_202A_202E_202E_200C_200B_200F_206E_202E(instancePath, '#')) ? (-964105653) : (-964105656)); + break; + case 5: + return string.Empty; + case 3: + instancePath = _200B_206E_202D_202B_200E_202D_202C_206B_200C_202B_206D_202C_200E_200B_202A_200C_206F_202D_202E_202E_202C_200B_206E_206F_200C_206F_200E_202C_202B_202C_200E_206E_206A_202C_202E_202D_206D_200B_202D_202C_202E(instancePath, 1); + num = -964105653; + break; + case 2: + return instancePath; + } + } + } + + static bool _200D_202E_206D_200E_202D_200E_200E_202C_206A_202E_202B_200C_202B_200F_206B_202E_200B_202A_206B_202C_206C_202B_200B_200B_206E_200B_200E_202C_206E_206F_202C_206E_202A_200C_206C_200E_206C_202B_202A_202D_202E(EvaluationResults P_0) + { + return P_0.IsValid; + } + + static Dictionary _206E_206B_206F_200E_202B_202D_202C_200C_202E_200E_202D_200E_202B_200B_200C_202C_200B_202E_202B_206B_202C_206A_200F_200E_206F_200C_200B_206E_206E_200E_202C_206E_206C_200D_200E_202D_202D_206A_206C_206F_202E(EvaluationResults P_0) + { + return P_0.Errors; + } + + static bool _202C_206C_202E_206F_202A_200E_200F_202B_200B_206F_206D_206F_200D_202E_206C_200E_200F_206D_206D_200F_206F_202D_202B_206A_200E_206E_200E_206F_200C_200C_202E_200F_200D_202C_200F_200C_202B_202B_200E_202E_202E(string P_0) + { + return string.IsNullOrWhiteSpace(P_0); + } + + static JsonPointer _202C_202A_200B_202E_200D_202D_206B_200F_206D_200B_206E_200E_200D_206B_206B_202A_206C_202A_202C_206C_200E_206F_202D_202D_202D_206C_206F_202C_206B_202B_206A_206D_206D_202A_202B_206B_202B_202E_200E_202E_202E(EvaluationResults P_0) + { + return P_0.InstanceLocation; + } + + static List _200D_200D_200C_202C_206A_202D_200C_206C_202A_200B_200D_206C_200E_202A_202D_200E_200D_200F_202E_206E_202E_202B_200C_202E_200F_206B_206F_202A_206F_206A_202E_206E_202C_206E_206F_200D_200E_202A_206D_202C_202E(EvaluationResults P_0) + { + return P_0.Details; + } + + static bool _202B_202A_200C_202A_200D_200D_202E_202C_202B_200D_206B_202B_200C_206F_202E_202D_206F_206A_206B_206D_200B_200F_202B_206D_200E_206A_206C_206D_206C_206D_200E_206E_206A_202B_202A_202B_202C_200E_206A_200C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string[] _206D_200C_202D_200C_206B_206E_202A_200B_202C_200D_200B_206C_202D_202C_200D_200F_202D_206E_206B_200B_200E_202D_200B_202B_206A_200E_206D_200E_206D_206B_206A_202B_206F_206B_206F_202C_200D_202A_200D_202E_202E(string P_0, char P_1, StringSplitOptions P_2) + { + return P_0.Split(P_1, P_2); + } + + static string _202A_200B_202D_202E_202C_206E_200D_200F_202D_202D_202C_202C_202C_206E_202E_206A_202E_202C_200C_206C_206A_200F_200E_200F_206E_202D_200F_202B_200C_202D_200D_202E_202A_202A_206D_202C_202E_206A_202A_200C_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static string _202A_202B_206A_200B_200E_202B_200E_206C_200F_206B_206B_202E_206E_200B_206B_206F_200D_202D_206E_202C_202D_200F_200E_202B_200C_202A_200E_202D_202B_206B_200C_200E_206D_206A_202E_200E_202A_200C_202C_206B_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static string _200C_200C_200D_202D_202E_206E_200E_206C_202D_202C_206A_202C_200B_202D_202C_202D_200E_202A_202B_202C_202E_200E_206B_202E_200B_200D_200D_202A_206F_200D_202C_202E_200C_206B_200F_202B_200E_206F_200D_200F_202E(string P_0, string P_1, string P_2, StringComparison P_3) + { + return P_0.Replace(P_1, P_2, P_3); + } + + static int _206B_200B_206A_202B_206F_202E_202C_200C_206B_206A_206F_206A_200E_200C_200D_200E_202D_202A_206D_206E_200F_202C_206C_206A_202E_206C_206B_206F_200B_200F_200C_206D_200B_206C_206F_202D_200E_202E_200D_200D_202E(string P_0) + { + return P_0.Length; + } + + static char _206D_200D_200F_200E_202A_206D_200B_202A_206C_206A_206F_202C_202D_202B_206D_206A_200D_202C_206A_206A_206C_202C_206D_202A_206C_202B_206E_206D_202B_206A_200D_202E_206E_202B_202A_206B_202D_200D_202E_206F_202E(string P_0, int P_1) + { + return P_0[P_1]; + } + + static bool _202B_206D_206C_200D_200E_206D_206C_202C_202D_200C_206F_202C_202E_200B_202A_200F_200C_206C_200F_200D_200D_206A_202E_200F_206E_202E_202C_206E_202E_202C_200B_206B_200B_200E_202B_202B_206E_200C_206D_202D_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static bool _202C_202A_200C_206A_206E_200C_200D_206C_202D_202A_206C_200B_200C_202E_206C_206D_202E_202E_200D_206A_200B_206E_206F_202A_200D_202C_202C_200E_200D_202D_206A_206D_206D_202A_202E_202E_200C_200B_200F_206E_202E(string P_0, char P_1) + { + return P_0.StartsWith(P_1); + } + + static string _200B_206E_202D_202B_200E_202D_202C_206B_200C_202B_206D_202C_200E_200B_202A_200C_206F_202D_202E_202E_202C_200B_206E_206F_200C_206F_200E_202C_202B_202C_200E_206E_206A_202C_202E_202D_206D_200B_202D_202C_202E(string P_0, int P_1) + { + return P_0.Substring(P_1); + } +} diff --git a/Questionable/Questionable.Validation/ValidationIssue.cs b/Questionable/Questionable.Validation/ValidationIssue.cs index 80700383..335236ff 100644 --- a/Questionable/Questionable.Validation/ValidationIssue.cs +++ b/Questionable/Questionable.Validation/ValidationIssue.cs @@ -1,19 +1,35 @@ +using System; +using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; -using Questionable.Model; +using System.Text; using Questionable.Model.Questing; namespace Questionable.Validation; internal sealed record ValidationIssue { - public required ElementId? ElementId { get; init; } + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_206E_206B_206F_202C_202D_200D_206F_202B_200D_202E_200F_202B_206B_202C_202D_200D_202E_200C_202B_206A_200F_200B_202E_206E_200C_200D_206C_202D_202D_206E_200E_206F_200F_200F_202C_200E_202D_206A_206B_202E(typeof(ValidationIssue).TypeHandle); + } + } - public required byte? Sequence { get; init; } + public EPathType PathType { get; init; } - public required int? Step { get; init; } + public string? Id { get; init; } - public EAlliedSociety AlliedSociety { get; init; } + public string? Location { get; init; } + + public ElementId? ElementId { get; init; } + + public byte? Sequence { get; init; } + + public int? Step { get; init; } public required EIssueType Type { get; init; } @@ -21,14 +37,133 @@ internal sealed record ValidationIssue public required string Description { get; init; } + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200E_200C_206C_202B_200B_202C_202D_202C_200D_206C_206C_206A_200B_206E_206B_206E_200F_202C_206A_202A_206E_200E_206E_202E_206C_206C_206E_206F_206B_206C_202A_202C_200C_202D_202C_206D_202A_206E_206C_200E_202E(); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(stringBuilder, global::_003CModule_003E._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(2070182154)); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? (-2063063294) : (-2063063295)); + while (true) + { + int num2 = num; + int num3 = -2063063293; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -2063063295; + break; + case 1: + _200D_206D_200E_200F_206F_206A_200B_200C_202D_206A_206E_202C_200B_202E_200D_202A_206D_206F_202D_206B_202D_206B_202B_202B_200F_200C_200B_200E_202E_206B_202A_200D_202C_200F_202E_202D_202E_202A_206B_200D_202E(stringBuilder, '}'); + return _206E_202A_206A_202A_206A_202C_200D_200D_206B_202A_200E_202B_202B_202D_206E_200F_206B_206F_202E_206A_206A_202A_200B_200B_202A_200D_206C_202A_200B_202A_206F_206B_202D_200E_200C_200F_200C_206C_200E_202E((object?)stringBuilder); + case 2: + _200D_206D_200E_200F_206F_206A_200B_200C_202D_206A_206E_202C_200B_202E_200D_202A_206D_206F_202D_206B_202D_206B_202B_202B_200F_200C_200B_200E_202E_206B_202A_200D_202C_200F_202E_202D_202E_202A_206B_200D_202E(stringBuilder, ' '); + num = -2063063294; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206B_206B_200F_200C_200E_202D_200B_200B_206A_202B_206E_206E_200E_206F_202E_200E_200F_202D_206B_206D_200D_202D_206D_206C_202E_202D_202E_206A_206A_200F_200B_206A_202A_202C_202C_206D_200E_206C_206A_200E_202E(); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, global::_003CModule_003E._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(1054224284)); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, PathType.ToString()); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, global::_003CModule_003E._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(905575649)); + _200F_206F_200D_202A_202B_202C_202E_202B_206D_202E_202A_206B_206C_202A_200D_206B_206B_200E_200E_202D_206D_202C_202C_206F_206B_206B_202B_206F_206A_200F_200F_206F_202B_202D_206B_200E_206C_200D_206E_202E(builder, (object?)Id); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, global::_003CModule_003E._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(111180362)); + _200F_206F_200D_202A_202B_202C_202E_202B_206D_202E_202A_206B_206C_202A_200D_206B_206B_200E_200E_202D_206D_202C_202C_206F_206B_206B_202B_206F_206A_200F_200F_206F_202B_202D_206B_200E_206C_200D_206E_202E(builder, (object?)Location); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, global::_003CModule_003E._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(70669024)); + _200F_206F_200D_202A_202B_202C_202E_202B_206D_202E_202A_206B_206C_202A_200D_206B_206B_200E_200E_202D_206D_202C_202C_206F_206B_206B_202B_206F_206A_200F_200F_206F_202B_202D_206B_200E_206C_200D_206E_202E(builder, (object?)ElementId); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, global::_003CModule_003E._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(582584788)); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, Sequence.ToString()); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, global::_003CModule_003E._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(-218236649)); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, Step.ToString()); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, global::_003CModule_003E._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(-368361860)); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, Type.ToString()); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, global::_003CModule_003E._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(-27686502)); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, Severity.ToString()); + _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(builder, global::_003CModule_003E._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(-2025676759)); + _200F_206F_200D_202A_202B_202C_202E_202B_206D_202E_202A_206B_206C_202A_200D_206B_206B_200E_200E_202D_206D_202C_202C_206F_206B_206B_202B_206F_206A_200F_200F_206F_202B_202D_206B_200E_206C_200D_206E_202E(builder, (object?)Description); + return true; + } + + [CompilerGenerated] + public bool Equals(ValidationIssue? other) + { + int num = (((object)this == other) ? (-745881034) : (-745881033)); + while (true) + { + int num2 = num; + int num3 = -745881026; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((!EqualityComparer.Default.Equals(Type, other.Type)) ? (-745881037) : (-745881029)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(Id, other.Id)) ? (-745881037) : (-745881027)); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(ElementId, other.ElementId)) ? (-745881037) : (-745881035)); + break; + case 7: + num = -745881033; + break; + case 9: + num = (((object)other == null) ? (-745881037) : (-745881036)); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(Severity, other.Severity)) ? (-745881037) : (-745881028)); + break; + case 13: + return false; + case 8: + return true; + case 6: + num = ((!EqualityComparer.Default.Equals(PathType, other.PathType)) ? (-745881037) : (-745881030)); + break; + case 11: + num = ((!EqualityComparer.Default.Equals(Sequence, other.Sequence)) ? (-745881037) : (-745881038)); + break; + case 12: + num = ((!EqualityComparer.Default.Equals(Step, other.Step)) ? (-745881037) : (-745881025)); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(Location, other.Location)) ? (-745881037) : (-745881026)); + break; + case 10: + num = ((!_200B_206D_200C_202E_200C_206C_200B_206E_206B_202D_206B_206F_202A_200D_202B_200E_202A_206E_202A_200E_200D_200F_206E_206C_206C_206D_206D_202D_200C_202C_202E_206D_202D_206A_206D_200F_206F_206E_206E_202C_202E(EqualityContract, other.EqualityContract)) ? (-745881037) : (-745881032)); + break; + case 2: + return EqualityComparer.Default.Equals(Description, other.Description); + } + } + } + + bool IEquatable.Equals(ValidationIssue? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + [CompilerGenerated] [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; @@ -37,4 +172,44 @@ internal sealed record ValidationIssue public ValidationIssue() { } + + static Type? _206E_206E_206B_206F_202C_202D_200D_206F_202B_200D_202E_200F_202B_206B_202C_202D_200D_202E_200C_202B_206A_200F_200B_202E_206E_200C_200D_206C_202D_202D_206E_200E_206F_200F_200F_202C_200E_202D_206A_206B_202E(RuntimeTypeHandle P_0) + { + return System.Type.GetTypeFromHandle(P_0); + } + + static StringBuilder? _200E_200C_206C_202B_200B_202C_202D_202C_200D_206C_206C_206A_200B_206E_206B_206E_200F_202C_206A_202A_206E_200E_206E_202E_206C_206C_206E_206F_206B_206C_202A_202C_200C_202D_202C_206D_202A_206E_206C_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder? _206D_206C_202C_200E_206C_200D_200F_200E_200F_206C_206A_206A_200C_206D_206C_206E_200E_206A_202B_200F_200D_200D_202D_202E_202E_206B_206D_200D_206C_200C_206E_202E_202C_202C_206E_206C_200B_202E_200E_206F_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _200D_206D_200E_200F_206F_206A_200B_200C_202D_206A_206E_202C_200B_202E_200D_202A_206D_206F_202D_206B_202D_206B_202B_202B_200F_200C_200B_200E_202E_206B_202A_200D_202C_200F_202E_202D_202E_202A_206B_200D_202E(StringBuilder? P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string? _206E_202A_206A_202A_206A_202C_200D_200D_206B_202A_200E_202B_202B_202D_206E_200F_206B_206F_202E_206A_206A_202A_200B_200B_202A_200D_206C_202A_200B_202A_206F_206B_202D_200E_200C_200F_200C_206C_200E_202E(object? P_0) + { + return P_0.ToString(); + } + + static void _206B_206B_200F_200C_200E_202D_200B_200B_206A_202B_206E_206E_200E_206F_202E_200E_200F_202D_206B_206D_200D_202D_206D_206C_202E_202D_202E_206A_206A_200F_200B_206A_202A_202C_202C_206D_200E_206C_206A_200E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _200F_206F_200D_202A_202B_202C_202E_202B_206D_202E_202A_206B_206C_202A_200D_206B_206B_200E_200E_202D_206D_202C_202C_206F_206B_206B_202B_206F_206A_200F_200F_206F_202B_202D_206B_200E_206C_200D_206E_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _200B_206D_200C_202E_200C_206C_200B_206E_206B_202D_206B_206F_202A_200D_202B_200E_202A_206E_202A_200E_200D_200F_206E_206C_206C_206D_206D_202D_200C_202C_202E_206D_202D_206A_206D_200F_206F_206E_206E_202C_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; + } } diff --git a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogCategoryComponent.cs b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogCategoryComponent.cs index 6a009d19..f68bbb8c 100644 --- a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogCategoryComponent.cs +++ b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogCategoryComponent.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using System.Numerics; using Dalamud.Bindings.ImGui; @@ -11,64 +12,304 @@ internal static class ChangelogCategoryComponent { public static void DrawCategoryGroup(EChangeCategory category, List changes, float baseX) { - DrawCategoryHeader(category switch + FontAwesomeIcon fontAwesomeIcon = default(FontAwesomeIcon); + Vector4 vector = default(Vector4); + FontAwesomeIcon icon = default(FontAwesomeIcon); + int num; + switch (category) { - EChangeCategory.Added => FontAwesomeIcon.Plus, - EChangeCategory.Changed => FontAwesomeIcon.Edit, - EChangeCategory.Fixed => FontAwesomeIcon.Wrench, - EChangeCategory.Removed => FontAwesomeIcon.Minus, - EChangeCategory.QuestUpdates => FontAwesomeIcon.Map, - _ => 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), - }, category.ToDisplayString(), baseX); - ImGui.Spacing(); - float changeIndent = 28f; - foreach (ChangeEntry change in changes) - { - DrawChange(change, baseX, changeIndent); + default: + num = -3418486; + goto IL_0026; + case EChangeCategory.Fixed: + fontAwesomeIcon = FontAwesomeIcon.Wrench; + num = -3418482; + goto IL_0026; + case EChangeCategory.Added: + goto IL_00b4; + case EChangeCategory.Changed: + goto IL_0131; + case EChangeCategory.Removed: + goto IL_016b; + case EChangeCategory.QuestUpdates: + goto IL_017d; + IL_0026: + while (true) + { + int num2 = num; + int num3 = -3418489; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + goto end_IL_0026; + case 13: + num = -3418495; + break; + case 1: + num = -3418491; + break; + case 15: + goto IL_00b4; + case 8: + vector = UiThemeUtils.StatusLocked; + num = -3418487; + break; + case 7: + goto IL_00d9; + case 11: + goto IL_00ec; + case 16: + num = -3418486; + break; + case 5: + goto IL_010b; + case 3: + goto IL_011e; + case 10: + goto IL_0131; + case 9: + icon = fontAwesomeIcon; + switch (category) + { + case EChangeCategory.Removed: + break; + case EChangeCategory.Fixed: + goto IL_00d9; + case EChangeCategory.QuestUpdates: + goto IL_00ec; + case EChangeCategory.Changed: + goto IL_010b; + case EChangeCategory.Added: + goto IL_011e; + default: + goto IL_015f; + } + goto case 8; + case 12: + goto IL_016b; + case 0: + goto IL_017d; + case 6: + fontAwesomeIcon = FontAwesomeIcon.Circle; + num = -3418482; + break; + case 2: + vector = UiThemeUtils.DimTextColor; + num = -3418487; + break; + case 14: + { + Vector4 color = vector; + DrawCategoryHeader(icon, color, category.ToDisplayString(), baseX); + _206E_202C_202B_206A_206C_200D_200B_200E_206B_206B_202B_200B_206E_202B_206A_206D_202C_200B_200F_200D_206A_202E_200F_206A_200D_200C_200F_206F_202C_206C_202C_200B_200F_200C_206C_206E_206D_202E_206C_202A_202E(); + float changeIndent = 28f; + using List.Enumerator enumerator = changes.GetEnumerator(); + num = -835962102; + while (true) + { + int num5 = num; + num3 = -835962104; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + num = (enumerator.MoveNext() ? (-835962103) : (-835962104)); + break; + case 1: + DrawChange(enumerator.Current, baseX, changeIndent); + num = -835962102; + break; + case 3: + num = -835962102; + break; + case 0: + return; + } + } + } + IL_015f: + num = -3418490; + break; + IL_011e: + vector = UiThemeUtils.StatusComplete; + num = -3418487; + break; + IL_010b: + vector = UiThemeUtils.StatusActive; + num = -3418487; + break; + IL_00ec: + vector = UiThemeUtils.AccentColor; + num = -3418487; + break; + IL_00d9: + vector = UiThemeUtils.StatusAvailableComplete; + num = -3418487; + break; + } + continue; + end_IL_0026: + break; + } + goto case EChangeCategory.Fixed; + IL_017d: + fontAwesomeIcon = FontAwesomeIcon.Map; + num = -3418482; + goto IL_0026; + IL_016b: + fontAwesomeIcon = FontAwesomeIcon.Minus; + num = -3418482; + goto IL_0026; + IL_0131: + fontAwesomeIcon = FontAwesomeIcon.Edit; + num = -3418482; + goto IL_0026; + IL_00b4: + fontAwesomeIcon = FontAwesomeIcon.Plus; + num = -3418482; + goto IL_0026; } } private static void DrawCategoryHeader(FontAwesomeIcon icon, Vector4 color, string text, float baseX) { - float cursorPosY = ImGui.GetCursorPosY(); - ImGui.SetCursorPosX(baseX); - using (ImRaii.PushFont(UiBuilder.IconFont)) + float num = _206E_206F_206F_206F_206A_202C_200C_206C_202E_206B_206B_200E_206D_206D_206A_202A_206F_202D_206B_206C_200E_206A_200F_206A_202E_200D_202E_202D_206F_206C_200D_206F_206A_206F_202C_200F_200B_202D_206B_202A_202E(); + _206A_200E_206D_206D_202B_202C_202A_206E_200D_202E_202B_206F_206D_200C_202D_206C_202E_200E_202C_202A_202D_206D_202E_206A_206D_202A_206C_202B_202A_206C_202C_206A_200D_206F_200E_202B_200F_206A_206B_206B_202E(baseX); + ImRaii.FontDisposable fontDisposable = _206A_202C_200C_206A_206E_200B_206B_200B_202E_206C_206E_202B_200D_200F_200E_206A_200E_202C_206D_206C_202A_200F_206A_200E_200E_206E_206C_200F_202D_202D_206C_202B_206E_206D_202E_200C_206F_206C_206E_202C_202E(_206B_206A_206B_200B_206A_206E_202D_202E_206A_202B_200D_202D_202C_200C_206F_206C_202C_206F_200F_200D_200F_206A_202E_202E_206D_206D_206E_206A_200D_200D_202A_202E_202B_206C_202C_202A_206E_202B_202C_202D_202E(), true); + try { - ImGui.TextColored(in color, icon.ToIconString()); + _206D_202B_202C_206B_200B_206A_202C_202A_200C_202D_202C_202D_200B_202E_206A_202B_200B_200E_200C_200E_206A_200E_202A_206A_202E_206C_202B_200D_200C_202A_202C_202E_206A_206B_200F_202A_202A_200D_202C_206A_202E(ref color, (ImU8String)_202A_200C_202C_200D_206F_200D_206C_200F_202D_202A_206B_202E_200E_206E_206C_200F_202A_200C_200F_206F_202A_200C_206D_206F_202D_202D_206A_200C_202C_202B_206A_202B_202C_206F_202A_206F_200D_202B_200E_206E_202E(icon)); } - ImGui.SameLine(); - ImGui.SetCursorPosY(cursorPosY); - using (ImRaii.PushColor(ImGuiCol.Text, color)) + finally { - ImGui.TextUnformatted(text); + int num2 = ((fontDisposable == null) ? (-1204111214) : (-1204111215)); + while (true) + { + int num3 = num2; + int num4 = -1204111216; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -1204111215; + break; + case 2: + goto end_IL_004b; + case 1: + _206B_202B_206E_206B_200B_200B_206A_206B_200B_206C_202E_202C_206C_202C_200C_202B_206E_202C_206F_200F_202A_206F_206D_206D_202B_200B_206B_200F_202C_200B_200C_202C_206E_202A_206F_206C_202E_206D_202B_206A_202E((IDisposable)fontDisposable); + num2 = -1204111214; + break; + } + continue; + end_IL_004b: + break; + } + } + _200B_200C_202A_206F_200D_206F_200B_200B_202C_206E_202C_206F_206F_202C_206F_200C_206D_200E_200F_202C_206E_206A_202B_200F_206C_206D_200C_200C_200F_200C_200F_202B_202D_206C_202B_206A_202C_200B_200F_202D_202E(); + _200B_206F_206F_206D_206D_202D_206E_200D_206C_206E_206D_202E_200E_202E_206A_202B_200C_202D_202B_200D_206C_200C_200B_202D_206D_202D_206F_200B_206E_206D_202A_206A_206A_200E_202A_200E_200C_206D_206F_200E_202E(num); + ImRaii.ColorDisposable colorDisposable = _202A_200F_206A_202D_200D_200D_202B_206C_206B_206A_200E_202D_206D_202B_206B_206C_206F_200F_202C_200D_206F_200E_200C_206D_202C_206A_206A_206F_206F_206D_206F_200C_202B_202B_206A_202C_206C_202A_206E_206A_202E(ImGuiCol.Text, color, true); + try + { + _206D_206C_202B_206D_202B_206E_200D_202E_202C_206A_206D_206D_202B_206E_206C_202B_202A_202E_206A_200E_200F_206E_202A_206A_206A_200B_202C_206C_206A_202A_200C_202A_206F_206B_206A_200E_202E_206D_206D_202E((ImU8String)text); + } + finally + { + int num2 = ((colorDisposable == null) ? (-1954991280) : (-1954991279)); + while (true) + { + int num6 = num2; + int num4 = -1954991280; + int num5 = num6; + int num7 = num5 + num4; + int num8 = num5 & num4; + switch (num7 - (num8 + num8)) + { + case 0: + goto end_IL_00d3; + case 1: + _206B_202B_206E_206B_200B_200B_206A_206B_200B_206C_202E_202C_206C_202C_200C_202B_206E_202C_206F_200F_202A_206F_206D_206D_202B_200B_206B_200F_202C_200B_200C_202C_206E_202A_206F_206C_202E_206D_202B_206A_202E((IDisposable)colorDisposable); + num2 = -1954991280; + break; + case 2: + num2 = -1954991279; + break; + } + continue; + end_IL_00d3: + break; + } } } private static void DrawChange(ChangeEntry change, float baseX, float changeIndent) { - ImGui.SetCursorPosX(baseX + changeIndent); - float cursorPosY = ImGui.GetCursorPosY(); - using (ImRaii.PushFont(UiBuilder.IconFont)) + _206A_200E_206D_206D_202B_202C_202A_206E_200D_202E_202B_206F_206D_200C_202D_206C_202E_200E_202C_202A_202D_206D_202E_206A_206D_202A_206C_202B_202A_206C_202C_206A_200D_206F_200E_202B_200F_206A_206B_206B_202E(baseX + changeIndent); + float num = _206E_206F_206F_206F_206A_202C_200C_206C_202E_206B_206B_200E_206D_206D_206A_202A_206F_202D_206B_206C_200E_206A_200F_206A_202E_200D_202E_202D_206F_206C_200D_206F_206A_206F_202C_200F_200B_202D_206B_202A_202E(); + ImRaii.FontDisposable fontDisposable = _206A_202C_200C_206A_206E_200B_206B_200B_202E_206C_206E_202B_200D_200F_200E_206A_200E_202C_206D_206C_202A_200F_206A_200E_200E_206E_206C_200F_202D_202D_206C_202B_206E_206D_202E_200C_206F_206C_206E_202C_202E(_206B_206A_206B_200B_206A_206E_202D_202E_206A_202B_200D_202D_202C_200C_206F_206C_202C_206F_200F_200D_200F_206A_202E_202E_206D_206D_206E_206A_200D_200D_202A_202E_202B_206C_202C_202A_206E_202B_202C_202D_202E(), true); + int num2; + try { - ImGui.TextColored(new Vector4(0.95f, 0.95f, 1f, 1f), FontAwesomeIcon.CaretRight.ToIconString()); + _206D_202B_202C_206B_200B_206A_202C_202A_200C_202D_202C_202D_200B_202E_206A_202B_200B_200E_200C_200E_206A_200E_202A_206A_202E_206C_202B_200D_200C_202A_202C_202E_206A_206B_200F_202A_202A_200D_202C_206A_202E(ref UiThemeUtils.PrimaryTextColor, (ImU8String)_202A_200C_202C_200D_206F_200D_206C_200F_202D_202A_206B_202E_200E_206E_206C_200F_202A_200C_200F_206F_202A_200C_206D_206F_202D_202D_206A_200C_202C_202B_206A_202B_202C_206F_202A_206F_200D_202B_200E_206E_202E(FontAwesomeIcon.CaretRight)); } - 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.PopTextWrapPos(); - if (change.SubItems != null && change.SubItems.Count > 0) + finally { - DrawSubItems(change.SubItems, baseX, changeIndent); + num2 = ((fontDisposable == null) ? 90155660 : 90155663); + while (true) + { + int num3 = num2; + int num4 = 90155661; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = 90155663; + break; + case 2: + _206B_202B_206E_206B_200B_200B_206A_206B_200B_206C_202E_202C_206C_202C_200C_202B_206E_202C_206F_200F_202A_206F_206D_206D_202B_200B_206B_200F_202C_200B_200C_202C_206E_202A_206F_206C_202E_206D_202B_206A_202E((IDisposable)fontDisposable); + num2 = 90155660; + break; + case 1: + goto end_IL_0054; + } + continue; + end_IL_0054: + break; + } + } + _200B_200C_202A_206F_200D_206F_200B_200B_202C_206E_202C_206F_206F_202C_206F_200C_206D_200E_200F_202C_206E_206A_202B_200F_206C_206D_200C_200C_200F_200C_200F_202B_202D_206C_202B_206A_202C_200B_200F_202D_202E(); + _200B_206F_206F_206D_206D_202D_206E_200D_206C_206E_206D_202E_200E_202E_206A_202B_200C_202D_202B_200D_206C_200C_200B_202D_206D_202D_206F_200B_206E_206D_202A_206A_206A_200E_202A_200E_200C_206D_206F_200E_202E(num); + float num8 = _206C_206D_202A_206F_200C_206C_202A_206A_206D_202C_206E_202A_202B_206E_202E_200E_200D_200B_206F_200D_202C_202E_200C_202A_202A_206B_202C_202A_202E_202C_206A_206D_200B_200C_206D_206B_206C_200D_206F_202D_202E().X - 8f; + _200D_202C_206F_200B_206D_200E_206D_202C_202B_206B_202B_206E_200F_206C_206D_202E_202B_206C_202A_200F_206A_202C_206F_202A_202E_202E_202E_206F_200D_200D_202D_200C_202E_202D_200B_202E_206C_202D_206C_200F_202E(_202C_200B_200D_206A_202B_200E_200C_200F_202B_200C_200B_202E_202A_200B_202C_206A_206A_206A_200B_200D_202A_206E_206D_202E_206F_200B_202D_202A_202D_202B_200C_206E_200F_202E_206E_200C_200D_206D_202A_206C_202E() + num8); + _206D_202B_202C_206B_200B_206A_202C_202A_200C_202D_202C_202D_200B_202E_206A_202B_200B_200E_200C_200E_206A_200E_202A_206A_202E_206C_202B_200D_200C_202A_202C_202E_206A_206B_200F_202A_202A_200D_202C_206A_202E(ref UiThemeUtils.PrimaryTextColor, (ImU8String)change.Description); + _206D_202C_206D_200E_202D_206E_202D_206E_202A_206D_202A_206F_200E_202E_206D_202D_206C_206B_206F_206F_202A_202C_206F_200B_200E_206C_206D_200C_202D_200D_206E_206E_202A_202D_202E_202A_202A_206C_200E_206F_202E(); + num2 = ((change.SubItems == null) ? 622444501 : 622444500); + while (true) + { + int num9 = num2; + int num4 = 622444502; + int num5 = num9; + int num10 = num5 + num4; + int num11 = num5 & num4; + switch (num10 - (num11 + num11)) + { + case 0: + num2 = 622444500; + break; + case 1: + DrawSubItems(change.SubItems, baseX, changeIndent); + num2 = 622444501; + break; + case 3: + return; + case 2: + num2 = ((change.SubItems.Count <= 0) ? 622444501 : 622444503); + break; + } } } @@ -77,18 +318,126 @@ internal static class ChangelogCategoryComponent float num = changeIndent + 20f; foreach (string subItem in subItems) { - ImGui.SetCursorPosX(baseX + num); - float cursorPosY = ImGui.GetCursorPosY(); - using (ImRaii.PushFont(UiBuilder.IconFont)) + _206A_200E_206D_206D_202B_202C_202A_206E_200D_202E_202B_206F_206D_200C_202D_206C_202E_200E_202C_202A_202D_206D_202E_206A_206D_202A_206C_202B_202A_206C_202C_206A_200D_206F_200E_202B_200F_206A_206B_206B_202E(baseX + num); + float num2 = _206E_206F_206F_206F_206A_202C_200C_206C_202E_206B_206B_200E_206D_206D_206A_202A_206F_202D_206B_206C_200E_206A_200F_206A_202E_200D_202E_202D_206F_206C_200D_206F_206A_206F_202C_200F_200B_202D_206B_202A_202E(); + ImRaii.FontDisposable fontDisposable = _206A_202C_200C_206A_206E_200B_206B_200B_202E_206C_206E_202B_200D_200F_200E_206A_200E_202C_206D_206C_202A_200F_206A_200E_200E_206E_206C_200F_202D_202D_206C_202B_206E_206D_202E_200C_206F_206C_206E_202C_202E(_206B_206A_206B_200B_206A_206E_202D_202E_206A_202B_200D_202D_202C_200C_206F_206C_202C_206F_200F_200D_200F_206A_202E_202E_206D_206D_206E_206A_200D_200D_202A_202E_202B_206C_202C_202A_206E_202B_202C_202D_202E(), true); + try { - ImGui.TextColored(new Vector4(0.85f, 0.85f, 0.92f, 1f), FontAwesomeIcon.AngleRight.ToIconString()); + _206D_202B_202C_206B_200B_206A_202C_202A_200C_202D_202C_202D_200B_202E_206A_202B_200B_200E_200C_200E_206A_200E_202A_206A_202E_206C_202B_200D_200C_202A_202C_202E_206A_206B_200F_202A_202A_200D_202C_206A_202E(ref UiThemeUtils.DimTextColor, (ImU8String)_202A_200C_202C_200D_206F_200D_206C_200F_202D_202A_206B_202E_200E_206E_206C_200F_202A_200C_200F_206F_202A_200C_206D_206F_202D_202D_206A_200C_202C_202B_206A_202B_202C_206F_202A_206F_200D_202B_200E_206E_202E(FontAwesomeIcon.AngleRight)); } - 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.PopTextWrapPos(); + finally + { + int num3 = ((fontDisposable == null) ? (-940511254) : (-940511255)); + while (true) + { + int num4 = num3; + int num5 = -940511256; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 2: + goto end_IL_0074; + case 1: + _206B_202B_206E_206B_200B_200B_206A_206B_200B_206C_202E_202C_206C_202C_200C_202B_206E_202C_206F_200F_202A_206F_206D_206D_202B_200B_206B_200F_202C_200B_200C_202C_206E_202A_206F_206C_202E_206D_202B_206A_202E((IDisposable)fontDisposable); + num3 = -940511254; + break; + case 0: + num3 = -940511255; + break; + } + continue; + end_IL_0074: + break; + } + } + _200B_200C_202A_206F_200D_206F_200B_200B_202C_206E_202C_206F_206F_202C_206F_200C_206D_200E_200F_202C_206E_206A_202B_200F_206C_206D_200C_200C_200F_200C_200F_202B_202D_206C_202B_206A_202C_200B_200F_202D_202E(); + _200B_206F_206F_206D_206D_202D_206E_200D_206C_206E_206D_202E_200E_202E_206A_202B_200C_202D_202B_200D_206C_200C_200B_202D_206D_202D_206F_200B_206E_206D_202A_206A_206A_200E_202A_200E_200C_206D_206F_200E_202E(num2); + float num9 = _206C_206D_202A_206F_200C_206C_202A_206A_206D_202C_206E_202A_202B_206E_202E_200E_200D_200B_206F_200D_202C_202E_200C_202A_202A_206B_202C_202A_202E_202C_206A_206D_200B_200C_206D_206B_206C_200D_206F_202D_202E().X - 8f; + _200D_202C_206F_200B_206D_200E_206D_202C_202B_206B_202B_206E_200F_206C_206D_202E_202B_206C_202A_200F_206A_202C_206F_202A_202E_202E_202E_206F_200D_200D_202D_200C_202E_202D_200B_202E_206C_202D_206C_200F_202E(_202C_200B_200D_206A_202B_200E_200C_200F_202B_200C_200B_202E_202A_200B_202C_206A_206A_206A_200B_200D_202A_206E_206D_202E_206F_200B_202D_202A_202D_202B_200C_206E_200F_202E_206E_200C_200D_206D_202A_206C_202E() + num9); + _206D_202B_202C_206B_200B_206A_202C_202A_200C_202D_202C_202D_200B_202E_206A_202B_200B_200E_200C_200E_206A_200E_202A_206A_202E_206C_202B_200D_200C_202A_202C_202E_206A_206B_200F_202A_202A_200D_202C_206A_202E(ref UiThemeUtils.DimTextColor, (ImU8String)subItem); + _206D_202C_206D_200E_202D_206E_202D_206E_202A_206D_202A_206F_200E_202E_206D_202D_206C_206B_206F_206F_202A_202C_206F_200B_200E_206C_206D_200C_202D_200D_206E_206E_202A_202D_202E_202A_202A_206C_200E_206F_202E(); } } + + static void _206E_202C_202B_206A_206C_200D_200B_200E_206B_206B_202B_200B_206E_202B_206A_206D_202C_200B_200F_200D_206A_202E_200F_206A_200D_200C_200F_206F_202C_206C_202C_200B_200F_200C_206C_206E_206D_202E_206C_202A_202E() + { + ImGui.Spacing(); + } + + static float _206E_206F_206F_206F_206A_202C_200C_206C_202E_206B_206B_200E_206D_206D_206A_202A_206F_202D_206B_206C_200E_206A_200F_206A_202E_200D_202E_202D_206F_206C_200D_206F_206A_206F_202C_200F_200B_202D_206B_202A_202E() + { + return ImGui.GetCursorPosY(); + } + + static void _206A_200E_206D_206D_202B_202C_202A_206E_200D_202E_202B_206F_206D_200C_202D_206C_202E_200E_202C_202A_202D_206D_202E_206A_206D_202A_206C_202B_202A_206C_202C_206A_200D_206F_200E_202B_200F_206A_206B_206B_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static ImFontPtr _206B_206A_206B_200B_206A_206E_202D_202E_206A_202B_200D_202D_202C_200C_206F_206C_202C_206F_200F_200D_200F_206A_202E_202E_206D_206D_206E_206A_200D_200D_202A_202E_202B_206C_202C_202A_206E_202B_202C_202D_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _206A_202C_200C_206A_206E_200B_206B_200B_202E_206C_206E_202B_200D_200F_200E_206A_200E_202C_206D_206C_202A_200F_206A_200E_200E_206E_206C_200F_202D_202D_206C_202B_206E_206D_202E_200C_206F_206C_206E_202C_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _202A_200C_202C_200D_206F_200D_206C_200F_202D_202A_206B_202E_200E_206E_206C_200F_202A_200C_200F_206F_202A_200C_206D_206F_202D_202D_206A_200C_202C_202B_206A_202B_202C_206F_202A_206F_200D_202B_200E_206E_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static void _206D_202B_202C_206B_200B_206A_202C_202A_200C_202D_202C_202D_200B_202E_206A_202B_200B_200E_200C_200E_206A_200E_202A_206A_202E_206C_202B_200D_200C_202A_202C_202E_206A_206B_200F_202A_202A_200D_202C_206A_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _206B_202B_206E_206B_200B_200B_206A_206B_200B_206C_202E_202C_206C_202C_200C_202B_206E_202C_206F_200F_202A_206F_206D_206D_202B_200B_206B_200F_202C_200B_200C_202C_206E_202A_206F_206C_202E_206D_202B_206A_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _200B_200C_202A_206F_200D_206F_200B_200B_202C_206E_202C_206F_206F_202C_206F_200C_206D_200E_200F_202C_206E_206A_202B_200F_206C_206D_200C_200C_200F_200C_200F_202B_202D_206C_202B_206A_202C_200B_200F_202D_202E() + { + ImGui.SameLine(); + } + + static void _200B_206F_206F_206D_206D_202D_206E_200D_206C_206E_206D_202E_200E_202E_206A_202B_200C_202D_202B_200D_206C_200C_200B_202D_206D_202D_206F_200B_206E_206D_202A_206A_206A_200E_202A_200E_200C_206D_206F_200E_202E(float P_0) + { + ImGui.SetCursorPosY(P_0); + } + + static ImRaii.ColorDisposable _202A_200F_206A_202D_200D_200D_202B_206C_206B_206A_200E_202D_206D_202B_206B_206C_206F_200F_202C_200D_206F_200E_200C_206D_202C_206A_206A_206F_206F_206D_206F_200C_202B_202B_206A_202C_206C_202A_206E_206A_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static void _206D_206C_202B_206D_202B_206E_200D_202E_202C_206A_206D_206D_202B_206E_206C_202B_202A_202E_206A_200E_200F_206E_202A_206A_206A_200B_202C_206C_206A_202A_200C_202A_206F_206B_206A_200E_202E_206D_206D_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static Vector2 _206C_206D_202A_206F_200C_206C_202A_206A_206D_202C_206E_202A_202B_206E_202E_200E_200D_200B_206F_200D_202C_202E_200C_202A_202A_206B_202C_202A_202E_202C_206A_206D_200B_200C_206D_206B_206C_200D_206F_202D_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _202C_200B_200D_206A_202B_200E_200C_200F_202B_200C_200B_202E_202A_200B_202C_206A_206A_206A_200B_200D_202A_206E_206D_202E_206F_200B_202D_202A_202D_202B_200C_206E_200F_202E_206E_200C_200D_206D_202A_206C_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _200D_202C_206F_200B_206D_200E_206D_202C_202B_206B_202B_206E_200F_206C_206D_202E_202B_206C_202A_200F_206A_202C_206F_202A_202E_202E_202E_206F_200D_200D_202D_200C_202E_202D_200B_202E_206C_202D_206C_200F_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static void _206D_202C_206D_200E_202D_206E_202D_206E_202A_206D_202A_206F_200E_202E_206D_202D_206C_206B_206F_206F_202A_202C_206F_200B_200E_206C_206D_200C_202D_200D_206E_206E_202A_202D_202E_202A_202A_206C_200E_206F_202E() + { + ImGui.PopTextWrapPos(); + } } diff --git a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogEntryComponent.cs b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogEntryComponent.cs index 28267b1a..98c50ba9 100644 --- a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogEntryComponent.cs +++ b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogEntryComponent.cs @@ -1,7 +1,10 @@ using System; +using System.Collections; +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.Utility.Raii; @@ -25,128 +28,422 @@ internal sealed class ChangelogEntryComponent _animationTime = animationTime; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Draw(ChangelogEntry changelog, bool isLatest, bool hasSetInitialState) { bool isNew = changelog.IsNewVersion(_configuration.LastViewedChangelogVersion, ChangelogData.Changelogs); - ImGui.GetWindowDrawList(); - string text = changelog.ReleaseDate.ToString("MMMM dd, yyyy", CultureInfo.InvariantCulture); - if (!hasSetInitialState) + _206D_206D_206A_206F_202C_206C_206A_202D_206C_200F_206B_206B_200D_206E_206B_206A_200B_206C_206E_202B_202B_206B_202B_206E_202E_200C_200E_206B_206F_202E_200B_202B_206B_206F_206C_202E_206E_202D_200B_206B_202E(); + string text = changelog.ReleaseDate.ToString(global::_003CModule_003E._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(-1240136689), _202A_206F_206F_206A_200F_202E_200B_206C_202A_206F_202B_200D_206C_202A_206E_202C_206F_202C_200B_202E_206F_202E_206F_200B_206F_200C_206B_206A_202D_202D_202E_206A_200C_206F_200B_206E_202C_200B_206B_202A_202E()); + int num = (hasSetInitialState ? 1911348857 : 1911348856); + while (true) { - ImGui.SetNextItemOpen(isLatest, ImGuiCond.Always); - } - string text2 = "v" + changelog.Version; - float fontSize = ImGui.GetFontSize(); - float num = fontSize; - Vector2 versionSize; - using (ImRaii.PushFont(UiBuilder.MonoFont)) - { - versionSize = ImGui.CalcTextSize(text2); - } - 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))) + int num2 = num; + int num3 = 1911348857; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - using (ImRaii.PushColor(ImGuiCol.HeaderActive, new Vector4(0.25f, 0.22f, 0.3f, 1f))) + case 2: + num = 1911348856; + break; + case 1: + _202A_206A_206F_202E_202C_206D_206E_200E_206B_202D_206D_202D_202E_202E_200C_202B_206F_200F_202A_200B_202D_206A_206F_200F_200C_202C_200E_202D_202A_200C_206D_206C_200C_200D_200F_200B_206F_202E_200F_200C_202E(isLatest, ImGuiCond.Always); + num = 1911348857; + break; + case 0: + { + string text2 = _200E_200B_202C_200B_206E_206F_206C_202B_206F_206B_202C_202C_202E_202D_202B_206D_202B_202A_200C_202E_206A_202A_206F_206B_206C_202B_200E_206D_200B_200C_206E_200C_206F_206A_202B_200F_206C_202B_206A_206D_202E(global::_003CModule_003E._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(198217444), changelog.Version); + float num7 = _202E_206D_206F_202D_200E_206A_206B_206A_202C_200B_202B_200D_202B_200F_206B_206B_202A_200C_206E_202E_206A_202D_200C_202B_200F_206E_200D_202D_202A_200C_200F_206B_206B_200D_200D_206D_202B_206B_206A_206B_202E(); + float num8 = num7; + ImRaii.FontDisposable fontDisposable = _202D_206C_206A_200C_200C_206A_206A_206E_200B_202B_200D_202D_200D_200F_206A_200F_200E_206A_202C_200C_202D_202B_202D_202D_206E_206A_202B_206B_200C_206B_206B_206C_202C_206B_202E_202B_200C_206D_206E_206A_202E(_206D_206D_200B_206C_202B_202B_200F_200B_206E_200D_202C_206E_200F_206D_200F_202B_202E_202D_200F_202A_202A_206F_200E_206B_206C_202C_202C_200E_206A_202B_200F_200D_202C_202A_206C_200C_206A_200B_206D_200D_202E(), true); + Vector2 versionSize; + try { - 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); + versionSize = _206A_200D_200D_206B_206B_200C_200E_202D_206C_206B_200D_202E_206F_202C_206D_200F_202C_202C_202A_206E_200B_206D_202D_202E_200B_200C_202A_200D_206E_206A_200E_206C_202A_202E_200D_202E_202C_206A_200D_206A_202E((ImU8String)text2, false, -1f); + } + finally + { + num = ((fontDisposable == null) ? (-1789217360) : (-1789217357)); + while (true) + { + int num9 = num; + num3 = -1789217359; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 0: + num = -1789217357; + break; + case 2: + _206C_200C_202D_200C_202C_206E_206F_206D_200D_202B_206B_200F_206D_202A_206F_200F_200E_206C_200D_206C_206C_200E_200B_200F_206C_206A_202B_200C_202B_202B_202E_202E_200F_202A_200E_206B_206E_200F_200F_206D_202E((IDisposable)fontDisposable); + num = -1789217360; + break; + case 1: + goto end_IL_010a; + } + continue; + end_IL_010a: + break; + } + } + Vector2 dateSize = _206A_200D_200D_206B_206B_200C_200E_202D_206C_206B_200D_202E_206F_202C_206D_200F_202C_202C_202A_206E_200B_206D_202D_202E_200B_200C_202A_200D_206E_206A_200E_206C_202A_202E_200D_202E_202C_206A_200D_206A_202E((ImU8String)text, false, -1f); + float scaledIconFontSize = num7 * 0.85f; + float x = _206E_206C_202A_200C_200E_202E_202E_206C_200E_206A_200F_206E_202C_206B_200D_202C_200B_202D_200F_202E_206A_200D_202C_206F_206D_206C_200F_206A_202D_206F_202D_202B_206B_206B_202D_206E_206D_206F_206D_202A_202E().X; + Vector2 headerStartPos = _206D_202B_202D_206A_206F_206C_206A_202D_206E_206C_200F_206B_206F_202B_206B_206B_200F_202B_206D_200D_200D_206F_206C_206F_202B_202B_202C_202B_200F_200E_206F_202A_206E_200D_206D_206D_206E_206D_202A_200C_202E(); + Vector2 headerStartScreenPos = _206C_202E_206D_202B_206B_200E_206B_202B_200B_206F_206F_202C_200E_200D_200B_206B_206A_202D_206C_206F_200B_202B_206C_202B_202A_206B_202A_206D_206D_206A_202A_206C_200E_206A_206D_200B_200D_206B_206B_202E_202E(); + ImU8String imU8String = new ImU8String(19, 2); + imU8String.AppendLiteral(global::_003CModule_003E._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(1977092887)); + imU8String.AppendFormatted(changelog.Version); + imU8String.AppendLiteral(global::_003CModule_003E._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(47339251)); + imU8String.AppendFormatted(_windowOpenCount); + bool num12 = _200F_202C_206F_200F_206A_200F_202C_202C_206C_202B_200D_202D_206B_202B_200B_206F_200D_206E_200F_202E_202C_206F_200F_200B_200B_200D_206B_206E_206C_200C_206C_202C_202E_200E_200B_206A_202B_206C_202E_200D_202E(imU8String, ImGuiTreeNodeFlags.None); + Vector2 vector = _206D_202B_202D_206A_206F_206C_206A_202D_206E_206C_200F_206B_206F_202B_206B_206B_200F_202B_206D_200D_200D_206F_206C_206F_202B_202B_202C_202B_200F_200E_206F_202A_206E_200D_206D_206D_206E_206D_202A_200C_202E(); + float verticalOffset = (vector.Y - headerStartPos.Y - num8) * 0.5f - 1f; + DrawVersionText(text2, versionSize, headerStartPos, verticalOffset); + DrawNewBadge(isNew, headerStartScreenPos, x); + DrawDateWithIcon(text, dateSize, scaledIconFontSize, headerStartScreenPos, headerStartPos, x, verticalOffset, num7); + _206A_206C_200B_206C_202D_200E_202B_206F_206F_206E_206C_200D_202A_206A_202E_206E_200E_202E_200D_200C_200B_200C_202D_202D_200D_202C_200C_200B_206F_200E_206F_202D_200B_206A_202D_206E_200F_202C_206D_202E_202E(vector); + num = (num12 ? 301162147 : 301162144); + while (true) + { + int num13 = num; + num3 = 301162145; + num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + DrawChangelogContent(changelog); + return; + case 1: + return; + case 0: + goto IL_0280; + } + continue; + IL_0280: + num = 301162144; } } - } - if (flag) - { - DrawChangelogContent(changelog); + } } } private static void DrawVersionText(string versionText, Vector2 versionSize, Vector2 headerStartPos, float verticalOffset) { - float x = headerStartPos.X + ImGui.GetStyle().FramePadding.X * 2f + 20f; - using (ImRaii.PushFont(UiBuilder.MonoFont)) + float x = headerStartPos.X + _200F_200C_200D_202A_206B_200F_206B_200D_200E_202E_202B_202C_206A_202A_206A_202D_200C_206C_202D_202C_200B_206D_202B_200B_202B_206B_206F_202B_200C_202E_206C_200E_206E_206E_202B_202E_206A_200E_206C_206C_202E().FramePadding.X * 2f + 20f; + ImRaii.FontDisposable fontDisposable = _202D_206C_206A_200C_200C_206A_206A_206E_200B_202B_200D_202D_200D_200F_206A_200F_200E_206A_202C_200C_202D_202B_202D_202D_206E_206A_202B_206B_200C_206B_206B_206C_202C_206B_202E_202B_200C_206D_206E_206A_202E(_206D_206D_200B_206C_202B_202B_200F_200B_206E_200D_202C_206E_200F_206D_200F_202B_202E_202D_200F_202A_202A_206F_200E_206B_206C_202C_202C_200E_206A_202B_200F_200D_202C_202A_206C_200C_206A_200B_206D_200D_202E(), true); + try { - ImGui.SetCursorPos(new Vector2(x, headerStartPos.Y + verticalOffset)); - ImGui.TextColored(new Vector4(0.95f, 0.95f, 0.95f, 1f), versionText); + _206A_206C_200B_206C_202D_200E_202B_206F_206F_206E_206C_200D_202A_206A_202E_206E_200E_202E_200D_200C_200B_200C_202D_202D_200D_202C_200C_200B_206F_200E_206F_202D_200B_206A_202D_206E_200F_202C_206D_202E_202E(new Vector2(x, headerStartPos.Y + verticalOffset)); + _200D_202D_200F_202E_200E_202E_206C_202C_206B_200B_200E_202A_206C_206E_200F_202D_206E_206F_206B_200E_200F_206B_200C_202D_200E_206A_202C_202E_206F_200E_206E_202D_206B_200C_206A_206A_206C_200F_206A_200E_202E(ref UiThemeUtils.PrimaryTextColor, (ImU8String)versionText); + } + finally + { + int num = ((fontDisposable == null) ? (-657911003) : (-657911004)); + while (true) + { + int num2 = num; + int num3 = -657911003; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -657911004; + break; + case 1: + _206C_200C_202D_200C_202C_206E_206F_206D_200D_202B_206B_200F_206D_202A_206F_200F_200E_206C_200D_206C_206C_200E_200B_200F_206C_206A_202B_200C_202B_202B_202E_202E_200F_202A_200E_206B_206E_200F_200F_206D_202E((IDisposable)fontDisposable); + num = -657911003; + break; + case 0: + goto end_IL_0076; + } + continue; + end_IL_0076: + break; + } } } private void DrawNewBadge(bool isNew, Vector2 headerStartScreenPos, float availableWidth) { - if (isNew) + int num = (isNew ? 1708716040 : 1708716041); + while (true) { - float num = 2.5f; - float w = (MathF.Sin(_animationTime * num) + 1f) * 0.5f * 0.15f; - float frameHeight = ImGui.GetFrameHeight(); - float frameRounding = ImGui.GetStyle().FrameRounding; - ImGui.GetWindowDrawList().AddRectFilled(headerStartScreenPos, headerStartScreenPos + new Vector2(availableWidth, frameHeight), ImGui.ColorConvertFloat4ToU32(new Vector4(0.5f, 1f, 0.6f, w)), frameRounding); + int num2 = num; + int num3 = 1708716040; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004a; + case 1: + return; + case 0: + { + float num5 = 2.5f; + float w = (_200E_202E_206E_202D_200F_206C_202B_202B_202A_200B_202B_202C_202C_200C_200B_206B_200E_200B_200B_200B_200F_200C_206C_202D_206A_206E_200F_206C_200B_202E_206B_206F_202E_202B_202A_200E_202B_206F_206F_202E_202E(_animationTime * num5) + 1f) * 0.5f * 0.15f; + float y = _206C_200C_206D_206B_200F_202A_202A_202A_202E_206E_206F_202D_202C_206D_200D_206E_200B_206B_202C_206D_200B_206F_206B_206C_202E_200E_206B_202D_202A_200E_206F_200C_202C_200D_200D_202C_202C_200B_206F_202A_202E(); + float frameRounding = _200F_200C_200D_202A_206B_200F_206B_200D_200E_202E_202B_202C_206A_202A_206A_202D_200C_206C_202D_202C_200B_206D_202B_200B_202B_206B_206F_202B_200C_202E_206C_200E_206E_206E_202B_202E_206A_200E_206C_206C_202E().FrameRounding; + _206D_206D_206A_206F_202C_206C_206A_202D_206C_200F_206B_206B_200D_206E_206B_206A_200B_206C_206E_202B_202B_206B_202B_206E_202E_200C_200E_206B_206F_202E_200B_202B_206B_206F_206C_202E_206E_202D_200B_206B_202E().AddRectFilled(headerStartScreenPos, headerStartScreenPos + new Vector2(availableWidth, y), _206F_206E_206D_202B_200C_206E_206E_200E_206C_206B_206C_200E_206E_202B_202C_202E_206E_200D_202D_202D_202C_200E_200F_200B_202B_206B_206C_202A_202E_202C_206F_200C_206E_206E_200B_206C_200B_206B_200C_200D_202E(new Vector4(0.5f, 1f, 0.6f, w)), frameRounding); + return; + } + } + continue; + IL_004a: + num = 1708716041; } } private static void DrawDateWithIcon(string dateText, Vector2 dateSize, float scaledIconFontSize, Vector2 headerStartScreenPos, Vector2 headerStartPos, float availableWidth, float verticalOffset, float defaultFontSize) { - string text = FontAwesomeIcon.Calendar.ToIconString(); + string text = _206D_200D_206B_202B_202E_202A_202D_206F_206C_206E_200C_200E_202E_200F_202E_206C_202A_206D_200F_202E_206D_202A_206D_202E_202E_200D_202D_200D_206D_202D_202A_202B_200E_206D_200E_206A_202B_202D_202E_206F_202E(FontAwesomeIcon.Calendar); + ImRaii.FontDisposable fontDisposable = _202D_206C_206A_200C_200C_206A_206A_206E_200B_202B_200D_202D_200D_200F_206A_200F_200E_206A_202C_200C_202D_202B_202D_202D_206E_206A_202B_206B_200C_206B_206B_206C_202C_206B_202E_202B_200C_206D_206E_206A_202E(_200B_206F_206C_200B_202B_200D_200B_206D_202B_200F_202E_200E_202B_202E_200F_206D_202A_202C_206E_200C_206B_206C_202D_202D_200F_200F_206A_206A_200C_202B_202D_200D_200C_200E_206C_206B_206E_202C_202A_202E(), true); Vector2 vector; - using (ImRaii.PushFont(UiBuilder.IconFont)) + try { - vector = ImGui.CalcTextSize(text); + vector = _206A_200D_200D_206B_206B_200C_200E_202D_206C_206B_200D_202E_206F_202C_206D_200F_202C_202C_202A_206E_200B_206D_202D_202E_200B_200C_202A_200D_206E_206A_200E_206C_202A_202E_200D_202E_202C_206A_200D_206A_202E((ImU8String)text, false, -1f); } - float num = vector.X * (scaledIconFontSize / defaultFontSize); - 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.SetCursorPos(new Vector2(num3 + num + 4f, headerStartPos.Y + verticalOffset)); - ImGui.TextColored(new Vector4(0.95f, 0.95f, 1f, 1f), dateText); + finally + { + int num = ((fontDisposable == null) ? (-485668874) : (-485668873)); + while (true) + { + int num2 = num; + int num3 = -485668874; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto end_IL_004e; + case 1: + _206C_200C_202D_200C_202C_206E_206F_206D_200D_202B_206B_200F_206D_202A_206F_200F_200E_206C_200D_206C_206C_200E_200B_200F_206C_206A_202B_200C_202B_202B_202E_202E_200F_202A_200E_206B_206E_200F_200F_206D_202E((IDisposable)fontDisposable); + num = -485668874; + break; + case 2: + num = -485668873; + break; + } + continue; + end_IL_004e: + break; + } + } + float num7 = vector.X * (scaledIconFontSize / defaultFontSize); + float num8 = num7 + 4f + dateSize.X; + float num9 = availableWidth - num8 - 12f; + Vector2 pos = headerStartScreenPos + new Vector2(num9, verticalOffset); + _206D_206D_206A_206F_202C_206C_206A_202D_206C_200F_206B_206B_200D_206E_206B_206A_200B_206C_206E_202B_202B_206B_202B_206E_202E_200C_200E_206B_206F_202E_200B_202B_206B_206F_206C_202E_206E_202D_200B_206B_202E().AddText(_200B_206F_206C_200B_202B_200D_200B_206D_202B_200F_202E_200E_202B_202E_200F_206D_202A_202C_206E_200C_206B_206C_202D_202D_200F_200F_206A_206A_200C_202B_202D_200D_200C_200E_206C_206B_206E_202C_202A_202E(), scaledIconFontSize, pos, _206F_206E_206D_202B_200C_206E_206E_200E_206C_206B_206C_200E_206E_202B_202C_202E_206E_200D_202D_202D_202C_200E_200F_200B_202B_206B_206C_202A_202E_202C_206F_200C_206E_206E_200B_206C_200B_206B_200C_200D_202E(UiThemeUtils.DimTextColor), text); + _206A_206C_200B_206C_202D_200E_202B_206F_206F_206E_206C_200D_202A_206A_202E_206E_200E_202E_200D_200C_200B_200C_202D_202D_200D_202C_200C_200B_206F_200E_206F_202D_200B_206A_202D_206E_200F_202C_206D_202E_202E(new Vector2(num9 + num7 + 4f, headerStartPos.Y + verticalOffset)); + _200D_202D_200F_202E_200E_202E_206C_202C_206B_200B_200E_202A_206C_206E_200F_202D_206E_206F_206B_200E_200F_206B_200C_202D_200E_206A_202C_202E_206F_200E_206E_202D_206B_200C_206A_206A_206C_200F_206A_200E_202E(ref UiThemeUtils.PrimaryTextColor, (ImU8String)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 baseX = _206C_202E_200E_202E_206A_206A_202C_206C_202A_200F_202E_200E_202C_206F_200D_206C_200E_200F_202E_206F_206A_202D_206D_202B_206A_202E_202D_206C_200E_206E_206B_206D_200F_200C_200C_206B_206F_200C_200F_206D_202E(); bool flag = true; - foreach (IGrouping item in orderedEnumerable) + IEnumerator> enumerator = orderedEnumerable.GetEnumerator(); + try { - if (!flag) + int num = -775563470; + IGrouping current = default(IGrouping); + while (true) { - ImGui.Spacing(); + int num2 = num; + int num3 = -775563465; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -775563470; + break; + case 5: + num = (_202C_206C_200E_202E_202B_202A_206B_202D_206D_200E_206C_200F_202A_202D_202C_206E_200D_206E_206C_206C_202B_206D_206D_206B_206E_206E_206E_206A_202D_202B_206C_200C_206C_206A_200C_202B_200C_206D_206E_200F_202E((IEnumerator)enumerator) ? (-775563467) : (-775563468)); + break; + case 4: + _202B_206B_202A_206B_202C_200C_200F_200D_200F_206F_202C_200D_200B_202B_202E_206D_206D_206A_206F_202D_206F_200E_206F_200F_206F_206A_202C_202A_206B_202D_206E_206E_202D_206C_200B_206E_202E_206D_200C_206E_202E(); + num = -775563466; + break; + case 2: + current = enumerator.Current; + num = (flag ? (-775563466) : (-775563469)); + break; + case 1: + ChangelogCategoryComponent.DrawCategoryGroup(current.Key, current.ToList(), baseX); + flag = false; + num = -775563470; + break; + case 3: + goto end_IL_0089; + } + continue; + end_IL_0089: + break; } - ChangelogCategoryComponent.DrawCategoryGroup(item.Key, item.ToList(), baseX); - 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)); + finally + { + int num = ((enumerator == null) ? 420575280 : 420575281); + while (true) + { + int num7 = num; + int num3 = 420575280; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + goto end_IL_0173; + case 1: + _206C_200C_202D_200C_202C_206E_206F_206D_200D_202B_206B_200F_206D_202A_206F_200F_200E_206C_200D_206C_206C_200E_200B_200F_206C_206A_202B_200C_202B_202B_202E_202E_200F_202A_200E_206B_206E_200F_200F_206D_202E((IDisposable)enumerator); + num = 420575280; + break; + case 2: + num = 420575281; + break; + } + continue; + end_IL_0173: + break; + } + } + UiThemeUtils.EndCard(item, item2, item3); + } + + static ImDrawListPtr _206D_206D_206A_206F_202C_206C_206A_202D_206C_200F_206B_206B_200D_206E_206B_206A_200B_206C_206E_202B_202B_206B_202B_206E_202E_200C_200E_206B_206F_202E_200B_202B_206B_206F_206C_202E_206E_202D_200B_206B_202E() + { + return ImGui.GetWindowDrawList(); + } + + static CultureInfo _202A_206F_206F_206A_200F_202E_200B_206C_202A_206F_202B_200D_206C_202A_206E_202C_206F_202C_200B_202E_206F_202E_206F_200B_206F_200C_206B_206A_202D_202D_202E_206A_200C_206F_200B_206E_202C_200B_206B_202A_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _202A_206A_206F_202E_202C_206D_206E_200E_206B_202D_206D_202D_202E_202E_200C_202B_206F_200F_202A_200B_202D_206A_206F_200F_200C_202C_200E_202D_202A_200C_206D_206C_200C_200D_200F_200B_206F_202E_200F_200C_202E(bool P_0, ImGuiCond P_1) + { + ImGui.SetNextItemOpen(P_0, P_1); + } + + static string _200E_200B_202C_200B_206E_206F_206C_202B_206F_206B_202C_202C_202E_202D_202B_206D_202B_202A_200C_202E_206A_202A_206F_206B_206C_202B_200E_206D_200B_200C_206E_200C_206F_206A_202B_200F_206C_202B_206A_206D_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static float _202E_206D_206F_202D_200E_206A_206B_206A_202C_200B_202B_200D_202B_200F_206B_206B_202A_200C_206E_202E_206A_202D_200C_202B_200F_206E_200D_202D_202A_200C_200F_206B_206B_200D_200D_206D_202B_206B_206A_206B_202E() + { + return ImGui.GetFontSize(); + } + + static ImFontPtr _206D_206D_200B_206C_202B_202B_200F_200B_206E_200D_202C_206E_200F_206D_200F_202B_202E_202D_200F_202A_202A_206F_200E_206B_206C_202C_202C_200E_206A_202B_200F_200D_202C_202A_206C_200C_206A_200B_206D_200D_202E() + { + return UiBuilder.MonoFont; + } + + static ImRaii.FontDisposable _202D_206C_206A_200C_200C_206A_206A_206E_200B_202B_200D_202D_200D_200F_206A_200F_200E_206A_202C_200C_202D_202B_202D_202D_206E_206A_202B_206B_200C_206B_206B_206C_202C_206B_202E_202B_200C_206D_206E_206A_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static Vector2 _206A_200D_200D_206B_206B_200C_200E_202D_206C_206B_200D_202E_206F_202C_206D_200F_202C_202C_202A_206E_200B_206D_202D_202E_200B_200C_202A_200D_206E_206A_200E_206C_202A_202E_200D_202E_202C_206A_200D_206A_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static void _206C_200C_202D_200C_202C_206E_206F_206D_200D_202B_206B_200F_206D_202A_206F_200F_200E_206C_200D_206C_206C_200E_200B_200F_206C_206A_202B_200C_202B_202B_202E_202E_200F_202A_200E_206B_206E_200F_200F_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static Vector2 _206E_206C_202A_200C_200E_202E_202E_206C_200E_206A_200F_206E_202C_206B_200D_202C_200B_202D_200F_202E_206A_200D_202C_206F_206D_206C_200F_206A_202D_206F_202D_202B_206B_206B_202D_206E_206D_206F_206D_202A_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static Vector2 _206D_202B_202D_206A_206F_206C_206A_202D_206E_206C_200F_206B_206F_202B_206B_206B_200F_202B_206D_200D_200D_206F_206C_206F_202B_202B_202C_202B_200F_200E_206F_202A_206E_200D_206D_206D_206E_206D_202A_200C_202E() + { + return ImGui.GetCursorPos(); + } + + static Vector2 _206C_202E_206D_202B_206B_200E_206B_202B_200B_206F_206F_202C_200E_200D_200B_206B_206A_202D_206C_206F_200B_202B_206C_202B_202A_206B_202A_206D_206D_206A_202A_206C_200E_206A_206D_200B_200D_206B_206B_202E_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static bool _200F_202C_206F_200F_206A_200F_202C_202C_206C_202B_200D_202D_206B_202B_200B_206F_200D_206E_200F_202E_202C_206F_200F_200B_200B_200D_206B_206E_206C_200C_206C_202C_202E_200E_200B_206A_202B_206C_202E_200D_202E(ImU8String P_0, ImGuiTreeNodeFlags P_1) + { + return ImGui.CollapsingHeader(P_0, P_1); + } + + static void _206A_206C_200B_206C_202D_200E_202B_206F_206F_206E_206C_200D_202A_206A_202E_206E_200E_202E_200D_200C_200B_200C_202D_202D_200D_202C_200C_200B_206F_200E_206F_202D_200B_206A_202D_206E_200F_202C_206D_202E_202E(Vector2 P_0) + { + ImGui.SetCursorPos(P_0); + } + + static ImGuiStylePtr _200F_200C_200D_202A_206B_200F_206B_200D_200E_202E_202B_202C_206A_202A_206A_202D_200C_206C_202D_202C_200B_206D_202B_200B_202B_206B_206F_202B_200C_202E_206C_200E_206E_206E_202B_202E_206A_200E_206C_206C_202E() + { + return ImGui.GetStyle(); + } + + static void _200D_202D_200F_202E_200E_202E_206C_202C_206B_200B_200E_202A_206C_206E_200F_202D_206E_206F_206B_200E_200F_206B_200C_202D_200E_206A_202C_202E_206F_200E_206E_202D_206B_200C_206A_206A_206C_200F_206A_200E_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static float _200E_202E_206E_202D_200F_206C_202B_202B_202A_200B_202B_202C_202C_200C_200B_206B_200E_200B_200B_200B_200F_200C_206C_202D_206A_206E_200F_206C_200B_202E_206B_206F_202E_202B_202A_200E_202B_206F_206F_202E_202E(float P_0) + { + return MathF.Sin(P_0); + } + + static float _206C_200C_206D_206B_200F_202A_202A_202A_202E_206E_206F_202D_202C_206D_200D_206E_200B_206B_202C_206D_200B_206F_206B_206C_202E_200E_206B_202D_202A_200E_206F_200C_202C_200D_200D_202C_202C_200B_206F_202A_202E() + { + return ImGui.GetFrameHeight(); + } + + static uint _206F_206E_206D_202B_200C_206E_206E_200E_206C_206B_206C_200E_206E_202B_202C_202E_206E_200D_202D_202D_202C_200E_200F_200B_202B_206B_206C_202A_202E_202C_206F_200C_206E_206E_200B_206C_200B_206B_200C_200D_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static string _206D_200D_206B_202B_202E_202A_202D_206F_206C_206E_200C_200E_202E_200F_202E_206C_202A_206D_200F_202E_206D_202A_206D_202E_202E_200D_202D_200D_206D_202D_202A_202B_200E_206D_200E_206A_202B_202D_202E_206F_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static ImFontPtr _200B_206F_206C_200B_202B_200D_200B_206D_202B_200F_202E_200E_202B_202E_200F_206D_202A_202C_206E_200C_206B_206C_202D_202D_200F_200F_206A_206A_200C_202B_202D_200D_200C_200E_206C_206B_206E_202C_202A_202E() + { + return UiBuilder.IconFont; + } + + static float _206C_202E_200E_202E_206A_206A_202C_206C_202A_200F_202E_200E_202C_206F_200D_206C_200E_200F_202E_206F_206A_202D_206D_202B_206A_202E_202D_206C_200E_206E_206B_206D_200F_200C_200C_206B_206F_200C_200F_206D_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _202B_206B_202A_206B_202C_200C_200F_200D_200F_206F_202C_200D_200B_202B_202E_206D_206D_206A_206F_202D_206F_200E_206F_200F_206F_206A_202C_202A_206B_202D_206E_206E_202D_206C_200B_206E_202E_206D_200C_206E_202E() + { + ImGui.Spacing(); + } + + static bool _202C_206C_200E_202E_202B_202A_206B_202D_206D_200E_206C_200F_202A_202D_202C_206E_200D_206E_206C_206C_202B_206D_206D_206B_206E_206E_206E_206A_202D_202B_206C_200C_206C_206A_200C_202B_200C_206D_206E_200F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); } } diff --git a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogFooterComponent.cs b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogFooterComponent.cs index 558e6bc1..e7c3b754 100644 --- a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogFooterComponent.cs +++ b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogFooterComponent.cs @@ -1,36 +1,281 @@ using System; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Components; using Dalamud.Interface.Utility.Raii; namespace Questionable.Windows.ChangelogComponents; internal sealed class ChangelogFooterComponent { + [MethodImpl(MethodImplOptions.NoInlining)] public static void Draw(Action onConfirm) { - 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))); - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 8f); - float num = 120f; - 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))) + ImDrawListPtr imDrawListPtr = _206A_200D_202D_206D_206F_206E_202B_206F_200F_206C_200D_200C_206D_202D_206B_206B_202A_202C_202C_206C_202E_206A_206C_202D_200D_202D_200F_202A_206C_200F_206C_202A_206F_206C_206E_200F_200E_202D_202A_202C_202E(); + Vector2 vector = _206B_206B_200B_206B_206C_206D_202D_200D_200B_202D_206A_202A_202E_206C_206C_202C_200D_206F_202E_202D_202C_200C_206C_200C_202D_206B_206C_206D_200F_206C_206C_202D_200E_200C_202C_206E_202D_202E_200B_202B_202E(); + float x = _202C_200C_202E_202D_206A_202C_200F_202C_206E_200E_200C_200F_202E_200C_206D_202E_200E_206F_200F_202D_202C_202C_200C_206F_200E_202A_200F_200B_200D_200F_202E_200C_200B_206C_202C_202B_202C_200B_202C_202E_202E().X; + Vector2 pMax = vector + new Vector2(x, 2f); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.4f; + uint colUprLeft = _202B_206B_200C_206E_202B_202C_202B_200F_200D_206C_206A_206B_206C_206D_206D_202C_202B_206C_202B_206E_206A_206E_202B_206F_206C_202D_206C_200D_200B_206F_206F_202B_206C_202A_202A_206B_200B_202A_206E_206C_202E(accentColor); + uint colUprRight = _202B_206B_200C_206E_202B_202C_202B_200F_200D_206C_206A_206B_206C_206D_206D_202C_202B_206C_202B_206E_206A_206E_202B_206F_206C_202D_206C_200D_200B_206F_206F_202B_206C_202A_202A_206B_200B_202A_206E_206C_202E(UiThemeUtils.AccentColor); + uint colBotRight = _202B_206B_200C_206E_202B_202C_202B_200F_200D_206C_206A_206B_206C_206D_206D_202C_202B_206C_202B_206E_206A_206E_202B_206F_206C_202D_206C_200D_200B_206F_206F_202B_206C_202A_202A_206B_200B_202A_206E_206C_202E(UiThemeUtils.AccentColor); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.4f; + imDrawListPtr.AddRectFilledMultiColor(vector, pMax, colUprLeft, colUprRight, colBotRight, _202B_206B_200C_206E_202B_202C_202B_200F_200D_206C_206A_206B_206C_206D_206D_202C_202B_206C_202B_206E_206A_206E_202B_206F_206C_202D_206C_200D_200B_206F_206F_202B_206C_202A_202A_206B_200B_202A_206E_206C_202E(accentColor)); + _200C_200C_206F_200C_206D_202A_206B_206B_202C_206D_200C_200F_206B_200B_202A_206C_206E_200D_200B_200B_202C_200B_200D_206B_200C_202A_200F_206A_202E_206B_206D_202A_200F_202B_200D_206E_200E_202A_200B_202B_202E(_206D_202D_200F_200E_200C_202A_200C_206C_200D_200E_202E_202B_200F_202C_200F_206C_202C_206C_200B_206C_206C_200E_206A_206E_206E_202E_202C_206E_200F_206E_200C_200F_200D_206F_200C_202C_206E_202E_206A_200C_202E() + 8f); + ImRaii.FontDisposable fontDisposable = _202E_202D_206B_206A_206B_200C_202B_202D_200D_202C_206D_206E_202E_200F_200F_200F_202B_206A_202B_200C_206C_202D_200B_202C_202D_202B_206C_200F_206E_206A_200C_202A_200F_200B_202B_200D_200B_202C_206D_206A_202E(_206D_202E_202A_206E_200D_206E_202E_202A_206A_202D_206C_206E_202B_202B_206A_206E_202C_202E_206C_202A_202A_202A_202B_206E_200D_202C_206D_206C_200D_206C_200E_200E_206D_206D_200F_202D_206C_206E_202D_200C_202E(), true); + float x2; + try { - using (ImRaii.PushColor(ImGuiCol.ButtonHovered, new Vector4(0.65f, 0.55f, 0.85f, 0.8f))) + x2 = _206F_202D_200B_202A_202D_206A_202D_202E_200E_202B_202E_206B_200C_202E_206B_202D_202E_206D_200B_206D_206A_200C_200F_202C_202C_202E_200E_200E_200E_200D_206E_202C_206E_202A_206D_206A_202B_200D_200F_202C_202E((ImU8String)_206F_200B_200D_202A_202C_200E_206A_200F_206C_206F_202D_206F_202C_206B_206F_206A_206B_200B_206C_206F_206E_202D_206D_200D_206E_202C_200E_202D_200B_206F_202D_202E_206F_200B_206B_202B_206E_202E_200B_200E_202E(FontAwesomeIcon.CheckCircle), false, -1f).X; + } + finally + { + int num = ((fontDisposable == null) ? (-552404026) : (-552404025)); + while (true) { - using (ImRaii.PushColor(ImGuiCol.ButtonActive, new Vector4(0.75f, 0.55f, 0.95f, 1f))) + int num2 = num; + int num3 = -552404026; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.CheckCircle, "Got It!")) + case 0: + goto end_IL_00d9; + case 1: + _202D_206D_202A_200B_200D_202A_202D_202C_200F_202D_202D_200B_200B_202E_200B_200C_200C_200D_206A_202B_206D_202E_202B_202D_200C_202A_206F_202B_200E_200D_202E_206B_206A_200F_200E_206D_200E_206B_200D_206C_202E((IDisposable)fontDisposable); + num = -552404026; + break; + case 2: + num = -552404025; + break; + } + continue; + end_IL_00d9: + break; + } + } + float num7 = x2 + 6f + _206F_202D_200B_202A_202D_206A_202D_202E_200E_202B_202E_206B_200C_202E_206B_202D_202E_206D_200B_206D_206A_200C_200F_202C_202C_202E_200E_200E_200E_200D_206E_202C_206E_202A_206D_206A_202B_200D_200F_202C_202E((ImU8String)global::_003CModule_003E._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(-1882414385), false, -1f).X + _206C_206B_200B_206E_206C_200E_200E_206E_200D_202C_200D_202D_202D_202D_206B_200C_202B_200B_202B_200C_206F_206F_200F_202B_202B_200B_200C_206A_202E_206B_202A_200E_202A_200B_206D_200B_200F_206C_200D_206D_202E().FramePadding.X * 2f; + float num8 = (_202C_200C_202E_202D_206A_202C_200F_202C_206E_200E_200C_200F_202E_200C_206D_202E_200E_206F_200F_202D_202C_202C_200C_206F_200E_202A_200F_200B_200D_200F_202E_200C_200B_206C_202C_202B_202C_200B_202C_202E_202E().X - num7) * 0.5f; + _206C_200C_206D_200D_200F_202C_202E_202C_202A_200F_202B_202C_200D_206F_206A_206C_206B_200E_200C_202D_202C_202D_200B_206B_202A_200C_200D_200F_206E_200F_202A_200B_202B_202E_202C_202B_202B_200D_206F_200C_202E(_202A_206C_206F_200E_206B_206B_202A_200D_202A_200E_202B_206A_200E_206D_200F_200D_202E_206E_202C_206D_206D_202B_206D_200C_202B_200C_206A_202B_200E_202D_206A_202E_206B_202E_200D_200B_206C_206C_202A_202C_202E() + num8); + ImRaii.ColorDisposable colorDisposable = _206D_200E_202C_206F_206D_200B_200F_200D_206D_202A_202B_206D_200E_206A_206A_206A_206D_206E_202C_202E_200E_202B_206B_200E_200B_200E_202D_206F_206B_206E_202D_206F_202E_202D_200C_200E_202B_200C_206E_202E_202E(ImGuiCol.Button, UiThemeUtils.PlayButtonColor, true); + try + { + ImRaii.ColorDisposable colorDisposable2 = _206D_200E_202C_206F_206D_200B_200F_200D_206D_202A_202B_206D_200E_206A_206A_206A_206D_206E_202C_202E_200E_202B_206B_200E_200B_200E_202D_206F_206B_206E_202D_206F_202E_202D_200C_200E_202B_200C_206E_202E_202E(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover, true); + try + { + ImRaii.ColorDisposable colorDisposable3 = _206D_200E_202C_206F_206D_200B_200F_200D_206D_202A_202B_206D_200E_206A_206A_206A_206D_206E_202C_202E_200E_202B_206B_200E_200B_200E_202D_206F_206B_206E_202D_206F_202E_202D_200C_200E_202B_200C_206E_202E_202E(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive, true); + try + { + ImRaii.ColorDisposable colorDisposable4 = _206D_200E_202C_206F_206D_200B_200F_200D_206D_202A_202B_206D_200E_206A_206A_206A_206D_206E_202C_202E_200E_202B_206B_200E_200B_200E_202D_206F_206B_206E_202D_206F_202E_202D_200C_200E_202B_200C_206E_202E_202E(ImGuiCol.Text, UiThemeUtils.PlayButtonText, true); + try { - onConfirm(); + int num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.CheckCircle, global::_003CModule_003E._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(1608333301), num7)) ? (-1623045989) : (-1623045990)); + while (true) + { + int num9 = num; + int num3 = -1623045989; + int num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 2: + num = -1623045990; + break; + case 1: + onConfirm(); + num = -1623045989; + break; + case 0: + return; + } + } + } + finally + { + int num = ((colorDisposable4 == null) ? 1005398311 : 1005398308); + while (true) + { + int num12 = num; + int num3 = 1005398309; + int num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 0: + num = 1005398308; + break; + case 1: + _202D_206D_202A_200B_200D_202A_202D_202C_200F_202D_202D_200B_200B_202E_200B_200C_200C_200D_206A_202B_206D_202E_202B_202D_200C_202A_206F_202B_200E_200D_202E_206B_206A_200F_200E_206D_200E_206B_200D_206C_202E((IDisposable)colorDisposable4); + num = 1005398311; + break; + case 2: + goto end_IL_026a; + } + continue; + end_IL_026a: + break; + } + } + } + finally + { + int num = ((colorDisposable3 == null) ? (-259716919) : (-259716918)); + while (true) + { + int num15 = num; + int num3 = -259716917; + int num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -259716918; + break; + case 2: + goto end_IL_02d7; + case 1: + _202D_206D_202A_200B_200D_202A_202D_202C_200F_202D_202D_200B_200B_202E_200B_200C_200C_200D_206A_202B_206D_202E_202B_202D_200C_202A_206F_202B_200E_200D_202E_206B_206A_200F_200E_206D_200E_206B_200D_206C_202E((IDisposable)colorDisposable3); + num = -259716919; + break; + } + continue; + end_IL_02d7: + break; } } } + finally + { + int num = ((colorDisposable2 == null) ? (-1298176791) : (-1298176792)); + while (true) + { + int num16 = num; + int num3 = -1298176791; + int num4 = num16; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_0342; + case 1: + _202D_206D_202A_200B_200D_202A_202D_202C_200F_202D_202D_200B_200B_202E_200B_200C_200C_200D_206A_202B_206D_202E_202B_202D_200C_202A_206F_202B_200E_200D_202E_206B_206A_200F_200E_206D_200E_206B_200D_206C_202E((IDisposable)colorDisposable2); + num = -1298176791; + break; + case 2: + num = -1298176792; + break; + } + continue; + end_IL_0342: + break; + } + } + } + finally + { + int num = ((colorDisposable == null) ? (-313871180) : (-313871177)); + while (true) + { + int num17 = num; + int num3 = -313871178; + int num4 = num17; + int num18 = num4 + num3; + int num19 = num4 & num3; + switch (num18 - (num19 + num19)) + { + case 2: + goto end_IL_03ad; + case 1: + _202D_206D_202A_200B_200D_202A_202D_202C_200F_202D_202D_200B_200B_202E_200B_200C_200C_200D_206A_202B_206D_202E_202B_202D_200C_202A_206F_202B_200E_200D_202E_206B_206A_200F_200E_206D_200E_206B_200D_206C_202E((IDisposable)colorDisposable); + num = -313871180; + break; + case 0: + num = -313871177; + break; + } + continue; + end_IL_03ad: + break; + } } } + + static ImDrawListPtr _206A_200D_202D_206D_206F_206E_202B_206F_200F_206C_200D_200C_206D_202D_206B_206B_202A_202C_202C_206C_202E_206A_206C_202D_200D_202D_200F_202A_206C_200F_206C_202A_206F_206C_206E_200F_200E_202D_202A_202C_202E() + { + return ImGui.GetWindowDrawList(); + } + + static Vector2 _206B_206B_200B_206B_206C_206D_202D_200D_200B_202D_206A_202A_202E_206C_206C_202C_200D_206F_202E_202D_202C_200C_206C_200C_202D_206B_206C_206D_200F_206C_206C_202D_200E_200C_202C_206E_202D_202E_200B_202B_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static Vector2 _202C_200C_202E_202D_206A_202C_200F_202C_206E_200E_200C_200F_202E_200C_206D_202E_200E_206F_200F_202D_202C_202C_200C_206F_200E_202A_200F_200B_200D_200F_202E_200C_200B_206C_202C_202B_202C_200B_202C_202E_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static uint _202B_206B_200C_206E_202B_202C_202B_200F_200D_206C_206A_206B_206C_206D_206D_202C_202B_206C_202B_206E_206A_206E_202B_206F_206C_202D_206C_200D_200B_206F_206F_202B_206C_202A_202A_206B_200B_202A_206E_206C_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static float _206D_202D_200F_200E_200C_202A_200C_206C_200D_200E_202E_202B_200F_202C_200F_206C_202C_206C_200B_206C_206C_200E_206A_206E_206E_202E_202C_206E_200F_206E_200C_200F_200D_206F_200C_202C_206E_202E_206A_200C_202E() + { + return ImGui.GetCursorPosY(); + } + + static void _200C_200C_206F_200C_206D_202A_206B_206B_202C_206D_200C_200F_206B_200B_202A_206C_206E_200D_200B_200B_202C_200B_200D_206B_200C_202A_200F_206A_202E_206B_206D_202A_200F_202B_200D_206E_200E_202A_200B_202B_202E(float P_0) + { + ImGui.SetCursorPosY(P_0); + } + + static ImFontPtr _206D_202E_202A_206E_200D_206E_202E_202A_206A_202D_206C_206E_202B_202B_206A_206E_202C_202E_206C_202A_202A_202A_202B_206E_200D_202C_206D_206C_200D_206C_200E_200E_206D_206D_200F_202D_206C_206E_202D_200C_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _202E_202D_206B_206A_206B_200C_202B_202D_200D_202C_206D_206E_202E_200F_200F_200F_202B_206A_202B_200C_206C_202D_200B_202C_202D_202B_206C_200F_206E_206A_200C_202A_200F_200B_202B_200D_200B_202C_206D_206A_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _206F_200B_200D_202A_202C_200E_206A_200F_206C_206F_202D_206F_202C_206B_206F_206A_206B_200B_206C_206F_206E_202D_206D_200D_206E_202C_200E_202D_200B_206F_202D_202E_206F_200B_206B_202B_206E_202E_200B_200E_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _206F_202D_200B_202A_202D_206A_202D_202E_200E_202B_202E_206B_200C_202E_206B_202D_202E_206D_200B_206D_206A_200C_200F_202C_202C_202E_200E_200E_200E_200D_206E_202C_206E_202A_206D_206A_202B_200D_200F_202C_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static void _202D_206D_202A_200B_200D_202A_202D_202C_200F_202D_202D_200B_200B_202E_200B_200C_200C_200D_206A_202B_206D_202E_202B_202D_200C_202A_206F_202B_200E_200D_202E_206B_206A_200F_200E_206D_200E_206B_200D_206C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ImGuiStylePtr _206C_206B_200B_206E_206C_200E_200E_206E_200D_202C_200D_202D_202D_202D_206B_200C_202B_200B_202B_200C_206F_206F_200F_202B_202B_200B_200C_206A_202E_206B_202A_200E_202A_200B_206D_200B_200F_206C_200D_206D_202E() + { + return ImGui.GetStyle(); + } + + static float _202A_206C_206F_200E_206B_206B_202A_200D_202A_200E_202B_206A_200E_206D_200F_200D_202E_206E_202C_206D_206D_202B_206D_200C_202B_200C_206A_202B_200E_202D_206A_202E_206B_202E_200D_200B_206C_206C_202A_202C_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _206C_200C_206D_200D_200F_202C_202E_202C_202A_200F_202B_202C_200D_206F_206A_206C_206B_200E_200C_202D_202C_202D_200B_206B_202A_200C_200D_200F_206E_200F_202A_200B_202B_202E_202C_202B_202B_200D_206F_200C_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static ImRaii.ColorDisposable _206D_200E_202C_206F_206D_200B_200F_200D_206D_202A_202B_206D_200E_206A_206A_206A_206D_206E_202C_202E_200E_202B_206B_200E_200B_200E_202D_206F_206B_206E_202D_206F_202E_202D_200C_200E_202B_200C_206E_202E_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } } diff --git a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogHeaderComponent.cs b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogHeaderComponent.cs index a485d749..740412db 100644 --- a/Questionable/Questionable.Windows.ChangelogComponents/ChangelogHeaderComponent.cs +++ b/Questionable/Questionable.Windows.ChangelogComponents/ChangelogHeaderComponent.cs @@ -1,5 +1,6 @@ using System; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Interface; using Dalamud.Interface.Utility.Raii; @@ -17,25 +18,25 @@ internal sealed class ChangelogHeaderComponent public void Draw(Action onCloseClicked) { - _animationTime += ImGui.GetIO().DeltaTime; - ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - float x = ImGui.GetContentRegionAvail().X; + _animationTime += _200B_202C_206B_200C_200E_206D_202C_202C_206C_202D_200B_206C_202A_206A_206E_200B_202B_200F_206A_200F_200E_200D_206F_202D_206E_202E_206C_200C_206C_200B_202E_200F_200B_206A_206C_202A_200C_206B_202B_200E_202E().DeltaTime; + ImDrawListPtr drawList = _200C_200E_200C_202D_206F_206A_200D_202B_206D_202A_206E_202B_206F_202D_200F_202D_206E_206B_202B_206F_200B_206F_200C_202D_202B_200E_206D_206C_202A_200B_206A_206B_206E_206B_200E_200C_206F_200E_202A_206B_202E(); + Vector2 headerStartPos = _202B_206D_200C_206E_200E_206E_202E_202A_200C_202C_200D_206F_202A_202C_206D_200F_200C_206C_200B_200C_202A_202C_206B_200D_206D_206A_200D_200D_200B_206E_200D_206F_206B_206C_200D_206C_202A_206E_206D_202D_202E(); + float x = _200F_202B_206C_202B_200C_202D_200B_206C_202E_202B_206D_200D_206C_200D_206F_206C_206A_200D_200F_200F_202C_202C_200D_206E_200B_200D_202E_202C_206A_206F_200C_206A_206E_206B_206A_206E_206E_206A_206A_200C_202E().X; float headerHeight = 120f; - DrawBackground(windowDrawList, cursorScreenPos, x, headerHeight); - DrawAnimatedBorder(windowDrawList, cursorScreenPos, x, headerHeight); - DrawSparkles(windowDrawList, cursorScreenPos, x, headerHeight); - DrawCloseButton(windowDrawList, cursorScreenPos, x, onCloseClicked); - DrawHeaderContent(cursorScreenPos, x, headerHeight); - DrawAccentLine(windowDrawList, cursorScreenPos, x, headerHeight); - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 8f); + DrawBackground(drawList, headerStartPos, x, headerHeight); + DrawAnimatedBorder(drawList, headerStartPos, x, headerHeight); + DrawSparkles(drawList, headerStartPos, x, headerHeight); + DrawCloseButton(drawList, headerStartPos, x, onCloseClicked); + DrawHeaderContent(headerStartPos, x, headerHeight); + DrawAccentLine(drawList, headerStartPos, x, headerHeight); + _206B_200F_206E_202D_202E_206F_206C_206B_206F_202E_202B_202A_206F_202B_206D_200C_200B_206D_202D_200C_200E_200E_206E_206E_202B_200E_202D_202D_206F_202C_200B_206B_206B_206D_202B_206A_206D_200B_202D_206F_202E(_206A_200D_200B_200E_206A_200F_200E_202A_206F_200F_206A_202C_202A_202C_200E_200D_200E_200F_206A_202D_206E_202D_202C_206B_206E_202D_206F_200F_202E_206D_206E_200E_206C_200B_206A_206F_206A_200B_206B_202E() + 8f); } private void DrawBackground(ImDrawListPtr drawList, Vector2 headerStartPos, float contentWidth, float headerHeight) { - float num = (MathF.Sin(_animationTime * 1.5f) + 1f) * 0.5f * 0.03f; - uint num2 = ImGui.ColorConvertFloat4ToU32(new Vector4(0.15f + num, 0.1f + num, 0.2f + num, 0.95f)); - uint num3 = ImGui.ColorConvertFloat4ToU32(new Vector4(0.08f, 0.05f, 0.12f, 0.95f)); + float num = (_200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(_animationTime * 1.5f) + 1f) * 0.5f * 0.03f; + uint num2 = _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(new Vector4(0.15f + num, 0.1f + num, 0.2f + num, 0.95f)); + uint num3 = _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(new Vector4(0.08f, 0.05f, 0.12f, 0.95f)); drawList.AddRectFilledMultiColor(headerStartPos, headerStartPos + new Vector2(contentWidth, headerHeight), num2, num2, num3, num3); } @@ -44,27 +45,68 @@ internal sealed class ChangelogHeaderComponent float num = 100f; float num2 = 250f; float num3 = _animationTime * num % num2; - float num4 = MathF.Ceiling(contentWidth / num2) + 2f; - for (int i = 0; (float)i < num4; i++) + float num4 = _200E_202A_206B_206E_200E_200C_200F_200D_206F_202A_202C_202E_206E_200C_206F_202D_206F_202D_200F_202D_206D_206D_206E_200C_206A_206E_200E_202B_206C_206C_200E_200F_206E_202C_200F_206A_206A_202A_206C_206B_202E(contentWidth / num2) + 2f; + int num5 = 0; + int num6 = 1598045895; + float num10 = default(float); + float num16 = default(float); + while (true) { - float num5 = (float)i * num2 - num3; - float num6 = num5 + num2; - if (!(num6 < 0f) && !(num5 > contentWidth)) + int num7 = num6; + int num8 = 1598045893; + int num9 = num7; + switch ((num9 | num8) - (num9 & num8)) { - float num7 = MathF.Max(0f, num5); - float num8 = MathF.Min(contentWidth, num6); - float num9 = (num7 - num5) / num2; - 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 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); - 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); - Vector4 input2 = Vector4.Lerp(value3, value4, num13 + 0.2f); - drawList.AddRectFilledMultiColor(headerStartPos + new Vector2(num7, 0f), headerStartPos + new Vector2(num8, 3f), ImGui.ColorConvertFloat4ToU32(input), ImGui.ColorConvertFloat4ToU32(input2), ImGui.ColorConvertFloat4ToU32(input2), ImGui.ColorConvertFloat4ToU32(input)); + case 6: + { + int num11 = num5; + num8 = 1; + num9 = num11; + int num12 = num9 ^ num8; + int num13 = num9 & num8; + num5 = num12 + (num13 + num13); + num6 = 1598045895; + break; + } + case 1: + num10 = (float)num5 * num2 - num3; + num16 = num10 + num2; + num6 = ((num16 < 0f) ? 1598045891 : 1598045888); + break; + case 3: + { + float num14 = _206C_202A_206D_200B_206E_206E_200B_202B_202E_202B_206B_200C_202D_202B_202A_200E_206F_200D_200F_206D_200D_206A_202A_206D_200D_200F_206B_200E_200C_206A_200F_200B_200D_200D_206B_206B_202B_200D_202E_206A_202E(0f, num10); + float num15 = _202E_206E_202E_202D_200C_202A_206D_202A_200C_202C_206F_202B_206D_206C_202E_202D_202C_206B_206D_200F_206C_202D_202B_206C_206F_202B_206C_202B_200E_202D_206D_202A_202B_202D_206D_206C_206B_202A_200C_202E_202E(contentWidth, num16); + float num17 = (num14 - num10) / num2; + float num18 = (num15 - num10) / num2; + float num19 = (_200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(num17 * MathF.PI * 2f - MathF.PI / 2f) + 1f) * 0.5f; + float num20 = (_200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(num18 * MathF.PI * 2f - MathF.PI / 2f) + 1f) * 0.5f; + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = num19 * 0.8f; + Vector4 value = accentColor; + Vector4 value2 = new Vector4(0.55f, 0.75f, 0.95f, num19 * 0.8f); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = num20 * 0.8f; + Vector4 value3 = accentColor; + Vector4 value4 = new Vector4(0.55f, 0.75f, 0.95f, num20 * 0.8f); + float num21 = (num17 + num18) * 0.5f; + Vector4 vector = Vector4.Lerp(value, value2, num21); + Vector4 vector2 = Vector4.Lerp(value3, value4, num21 + 0.2f); + drawList.AddRectFilledMultiColor(headerStartPos + new Vector2(num14, 0f), headerStartPos + new Vector2(num15, 3f), _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(vector), _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(vector2), _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(vector2), _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(vector)); + num6 = 1598045891; + break; + } + case 2: + num6 = (((float)num5 < num4) ? 1598045892 : 1598045893); + break; + case 0: + return; + case 5: + num6 = ((num10 > contentWidth) ? 1598045891 : 1598045894); + break; + case 4: + num6 = 1598045895; + break; } } } @@ -72,18 +114,47 @@ internal sealed class ChangelogHeaderComponent private void DrawSparkles(ImDrawListPtr drawList, Vector2 headerStartPos, float contentWidth, float headerHeight) { int num = 12; - for (int i = 0; i < num; i++) + int num2 = 0; + int num3 = -726160502; + while (true) { - float num2 = (float)i * 123.456f; - float num3 = 0.8f + (float)(i % 3) * 0.15f; - float num4 = _animationTime * num3; - float x = num2 * 12.345f % 1f * contentWidth; - float y = (MathF.Sin(num4 + num2) + 1f) * 0.5f * headerHeight; - Vector2 pos = headerStartPos + new Vector2(x, y); - float num5 = (MathF.Sin(num4 * 3f + num2 * 2f) + 1f) * 0.5f; - float alpha = num5 * 0.6f; - float size = 2f + num5 * 1.5f; - DrawSparkleShape(drawList, pos, size, alpha, i % 4, num4); + int num4 = num3; + int num5 = -726160503; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 2: + num3 = -726160502; + break; + case 3: + num3 = ((num2 < num) ? (-726160504) : (-726160503)); + break; + case 1: + { + float num9 = (float)num2 * 123.456f; + float num10 = 0.8f + (float)(num2 % 3) * 0.15f; + float num11 = _animationTime * num10; + float x = num9 * 12.345f % 1f * contentWidth; + float y = (_200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(num11 + num9) + 1f) * 0.5f * headerHeight; + Vector2 pos = headerStartPos + new Vector2(x, y); + float num12 = (_200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(num11 * 3f + num9 * 2f) + 1f) * 0.5f; + float alpha = num12 * 0.6f; + float size = 2f + num12 * 1.5f; + DrawSparkleShape(drawList, pos, size, alpha, num2 % 4, num11); + int num13 = num2; + num5 = 1; + num6 = num13; + int num14 = num6 ^ num5; + int num15 = num6 & num5; + num2 = num14 + (num15 + num15); + num3 = -726160502; + break; + } + case 0: + return; + } } } @@ -91,28 +162,64 @@ internal sealed class ChangelogHeaderComponent { switch (type) { + default: + { + int num = 510670740; + while (true) + { + int num2 = num; + int num3 = 510670741; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_001e; + case 0: + goto IL_0059; + case 3: + num = 510670740; + break; + case 1: + num = 510670737; + break; + case 4: + DrawCircleSparkle(drawList, pos, size, alpha); + return; + case 5: + goto end_IL_0002; + } + continue; + end_IL_001e: + break; + } + goto case 0; + } case 0: DrawCrossSparkle(drawList, pos, size, alpha); - break; - case 1: - DrawDiamondSparkle(drawList, pos, size, alpha); - break; + return; case 2: - DrawStarSparkle(drawList, pos, size, alpha, time); + goto IL_0059; + case 1: break; - default: - DrawCircleSparkle(drawList, pos, size, alpha); + IL_0059: + DrawStarSparkle(drawList, pos, size, alpha, time); + return; + end_IL_0002: break; } + DrawDiamondSparkle(drawList, pos, size, alpha); } private static void DrawCrossSparkle(ImDrawListPtr drawList, Vector2 pos, float size, float alpha) { float num = size * 0.8f; - 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 thickness = _206C_202A_206D_200B_206E_206E_200B_202B_202E_202B_206B_200C_202D_202B_202A_200E_206F_200D_200F_206D_200D_206A_202A_206D_200D_200F_206B_200E_200C_206A_200F_200B_200D_200D_206B_206B_202B_200D_202E_206A_202E(1f, size * 0.3f); + drawList.AddLine(pos - new Vector2(num, 0f), pos + new Vector2(num, 0f), _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(new Vector4(0.9f, 0.8f, 1f, alpha)), thickness); + drawList.AddLine(pos - new Vector2(0f, num), pos + new Vector2(0f, num), _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(new Vector4(0.9f, 0.8f, 1f, alpha)), thickness); + float radius = size * 1.5f; + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = alpha * 0.2f; + drawList.AddCircleFilled(pos, radius, _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(accentColor)); } private static void DrawDiamondSparkle(ImDrawListPtr drawList, Vector2 pos, float size, float alpha) @@ -122,49 +229,162 @@ internal sealed class ChangelogHeaderComponent Vector2 p2 = pos + new Vector2(num, 0f); 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))); + drawList.AddQuadFilled(p, p2, p3, p4, _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(new Vector4(0.9f, 0.8f, 1f, alpha * 0.8f))); + float radius = size * 1.6f; + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = alpha * 0.25f; + drawList.AddCircleFilled(pos, radius, _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(accentColor)); } private static void DrawStarSparkle(ImDrawListPtr drawList, Vector2 pos, float size, float alpha, float time) { - for (int i = 0; i < 4; i++) + int num = 0; + int num2 = -1819671031; + while (true) { - float num = (float)i * (float)Math.PI * 0.5f; - float num2 = size * 0.3f; - float num3 = size * 0.9f; - float x = num - 0.3f; - float x2 = num + 0.3f; - Vector2 p = pos + new Vector2(MathF.Cos(x) * num2, MathF.Sin(x) * num2); - Vector2 p2 = pos + new Vector2(MathF.Cos(num) * num3, MathF.Sin(num) * num3); - 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))); + int num3 = num2; + int num4 = -1819671032; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = -1819671031; + break; + case 3: + { + float radius = size * 1.7f; + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = alpha * 0.3f; + drawList.AddCircleFilled(pos, radius, _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(accentColor)); + return; + } + case 1: + num2 = ((num < 4) ? (-1819671030) : (-1819671029)); + break; + case 2: + { + float num8 = (float)num * MathF.PI * 0.5f; + float num9 = size * 0.3f; + float num10 = size * 0.9f; + float num11 = num8 - 0.3f; + float num12 = num8 + 0.3f; + Vector2 p = pos + new Vector2(_200F_206E_200F_206E_206B_202D_206C_206C_202B_206E_200F_202D_200B_202B_200E_202A_206D_206F_206D_206E_202C_202D_202D_206B_202D_206A_202E_200C_200C_202B_206A_206E_206A_200C_202E_200C_200C_202B_202D_202E(num11) * num9, _200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(num11) * num9); + Vector2 p2 = pos + new Vector2(_200F_206E_200F_206E_206B_202D_206C_206C_202B_206E_200F_202D_200B_202B_200E_202A_206D_206F_206D_206E_202C_202D_202D_206B_202D_206A_202E_200C_200C_202B_206A_206E_206A_200C_202E_200C_200C_202B_202D_202E(num8) * num10, _200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(num8) * num10); + Vector2 p3 = pos + new Vector2(_200F_206E_200F_206E_206B_202D_206C_206C_202B_206E_200F_202D_200B_202B_200E_202A_206D_206F_206D_206E_202C_202D_202D_206B_202D_206A_202E_200C_200C_202B_206A_206E_206A_200C_202E_200C_200C_202B_202D_202E(num12) * num9, _200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(num12) * num9); + drawList.AddTriangleFilled(p, p2, p3, _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(new Vector4(0.9f, 0.8f, 1f, alpha))); + int num13 = num; + num4 = 1; + num5 = num13; + int num14 = num5 ^ num4; + int num15 = num5 & num4; + num = num14 + (num15 + num15); + num2 = -1819671031; + break; + } + } } - drawList.AddCircleFilled(pos, size * 1.7f, ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.95f, alpha * 0.3f))); } 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))); + drawList.AddCircleFilled(pos, size, _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(new Vector4(0.9f, 0.8f, 1f, alpha))); + float radius = size * 1.8f; + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = alpha * 0.3f; + drawList.AddCircleFilled(pos, radius, _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(accentColor)); } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawCloseButton(ImDrawListPtr drawList, Vector2 headerStartPos, float contentWidth, Action onCloseClicked) { float num = 32f; Vector2 vector = headerStartPos + new Vector2(contentWidth - num - 8f, 8f); Vector2 center = vector + new Vector2(num * 0.5f, num * 0.5f); - Vector2 mousePos = ImGui.GetMousePos(); - 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))); - drawList.AddCircleFilled(center, num * 0.4f, col); - DrawAnimatedCross(drawList, center, flag); - ImGui.SetCursorScreenPos(vector); - if (ImGui.InvisibleButton("CloseButton", new Vector2(num, num))) + Vector2 vector2 = _202C_200D_206E_206A_202D_202C_206C_202E_206B_200B_206B_200F_206E_202E_202E_200E_206A_202D_206D_206E_202C_200F_206A_200E_206B_200F_202D_200C_202D_206C_202D_200B_200D_202E_206E_206D_206A_202C_200B_206F_202E(); + int num2 = ((!(vector2.X >= vector.X)) ? (-1181352748) : (-1181352739)); + float num8 = default(float); + float w = default(float); + bool flag = default(bool); + while (true) { - onCloseClicked(obj: false); + int num3 = num2; + int num4 = -1181352748; + int num5 = num3; + float num9; + int num10; + float num6; + uint num7; + uint col; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num9 = 0.9f; + goto IL_00c2; + case 5: + onCloseClicked(obj: false); + num2 = -1181352747; + break; + case 0: + num10 = 0; + goto IL_00f8; + case 9: + num2 = ((!(vector2.X <= vector.X + num)) ? (-1181352748) : (-1181352745)); + break; + case 4: + num10 = ((vector2.Y <= vector.Y + num) ? 1 : 0); + goto IL_00f8; + case 7: + num6 = (_200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(_animationTime * 4f) + 1f) * 0.5f * 0.1f; + goto IL_018b; + case 10: + num9 = 0.5f; + goto IL_00c2; + case 3: + num2 = ((!(vector2.Y >= vector.Y)) ? (-1181352748) : (-1181352752)); + break; + case 6: + { + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.X = UiThemeUtils.AccentColor.X + num8; + accentColor.W = w; + num7 = _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(accentColor); + goto IL_0216; + } + case 1: + return; + case 11: + num2 = -1181352739; + break; + case 8: + num7 = _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(new Vector4(0.55f, 0.45f, 0.75f, w)); + goto IL_0216; + case 12: + { + num6 = 0f; + goto IL_018b; + } + IL_0216: + col = num7; + drawList.AddCircleFilled(center, num * 0.4f, col); + DrawAnimatedCross(drawList, center, flag); + _202E_206E_200B_200E_202B_200B_206A_200F_200E_206E_202E_202C_200C_200D_206D_202D_200D_202B_202C_206C_200C_200C_202D_206F_206A_200F_202C_206B_200C_200F_206E_206C_200E_206A_206A_200C_202A_206F_202E_206D_202E(vector); + num2 = ((!_200F_200F_206B_200E_202C_200C_206E_206B_200F_206A_200D_206A_200C_200B_206A_200E_206F_200B_206D_202B_206D_202A_206E_202D_206C_206F_202C_206F_206E_206F_206F_206E_202A_202E_202C_206D_202E_200E_202B_200C_202E((ImU8String)global::_003CModule_003E._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(-2026980897), new Vector2(num, num), ImGuiButtonFlags.None)) ? (-1181352747) : (-1181352751)); + break; + IL_00c2: + w = num9; + num2 = (flag ? (-1181352749) : (-1181352744)); + break; + IL_018b: + num8 = num6; + num2 = (flag ? (-1181352750) : (-1181352740)); + break; + IL_00f8: + flag = (byte)num10 != 0; + num2 = (flag ? (-1181352746) : (-1181352738)); + break; + } } } @@ -172,23 +392,23 @@ internal sealed class ChangelogHeaderComponent { float thickness = 2f; float w = (isHovered ? 1f : 0.8f); - float x = (isHovered ? (MathF.Sin(_animationTime * 6f) * 0.1f) : 0f); - float num = MathF.Cos(x); - float num2 = MathF.Sin(x); - float num3 = 8f * 0.5f; - Vector2 vector = new Vector2((0f - num3) * num - (0f - num3) * num2, (0f - num3) * num2 + (0f - num3) * num); - Vector2 vector2 = new Vector2(num3 * num - num3 * num2, num3 * num2 + num3 * num); - Vector2 vector3 = new Vector2((0f - num3) * num - num3 * num2, (0f - num3) * num2 + num3 * num); - Vector2 vector4 = new Vector2(num3 * num - (0f - num3) * num2, num3 * num2 + (0f - num3) * num); - drawList.AddLine(center + vector, center + vector2, ImGui.ColorConvertFloat4ToU32(new Vector4(1f, 1f, 1f, w)), thickness); - drawList.AddLine(center + vector3, center + vector4, ImGui.ColorConvertFloat4ToU32(new Vector4(1f, 1f, 1f, w)), thickness); + float num = (isHovered ? (_200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(_animationTime * 6f) * 0.1f) : 0f); + float num2 = _200F_206E_200F_206E_206B_202D_206C_206C_202B_206E_200F_202D_200B_202B_200E_202A_206D_206F_206D_206E_202C_202D_202D_206B_202D_206A_202E_200C_200C_202B_206A_206E_206A_200C_202E_200C_200C_202B_202D_202E(num); + float num3 = _200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(num); + float num4 = 8f * 0.5f; + Vector2 vector = new Vector2((0f - num4) * num2 - (0f - num4) * num3, (0f - num4) * num3 + (0f - num4) * num2); + Vector2 vector2 = new Vector2(num4 * num2 - num4 * num3, num4 * num3 + num4 * num2); + Vector2 vector3 = new Vector2((0f - num4) * num2 - num4 * num3, (0f - num4) * num3 + num4 * num2); + Vector2 vector4 = new Vector2(num4 * num2 - (0f - num4) * num3, num4 * num3 + (0f - num4) * num2); + drawList.AddLine(center + vector, center + vector2, _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(new Vector4(1f, 1f, 1f, w)), thickness); + drawList.AddLine(center + vector3, center + vector4, _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(new Vector4(1f, 1f, 1f, w)), thickness); } private void DrawHeaderContent(Vector2 headerStartPos, float contentWidth, float headerHeight) { - float fadeIn = MathF.Min(1f, _animationTime * 2f); - ImGui.SetCursorScreenPos(headerStartPos); - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 30f); + float fadeIn = _202E_206E_202E_202D_200C_202A_206D_202A_200C_202C_206F_202B_206D_206C_202E_202D_202C_206B_206D_200F_206C_202D_202B_206C_206F_202B_206C_202B_200E_202D_206D_202A_202B_202D_206D_206C_206B_202A_200C_202E_202E(1f, _animationTime * 2f); + _202E_206E_200B_200E_202B_200B_206A_200F_200E_206E_202E_202C_200C_200D_206D_202D_200D_202B_202C_206C_200C_200C_202D_206F_206A_200F_202C_206B_200C_200F_206E_206C_200E_206A_206A_200C_202A_206F_202E_206D_202E(headerStartPos); + _206B_200F_206E_202D_202E_206F_206C_206B_206F_202E_202B_202A_206F_202B_206D_200C_200B_206D_202D_200C_200E_200E_206E_206E_202B_200E_202D_202D_206F_202C_200B_206B_206B_206D_202B_206A_206D_200B_202D_206F_202E(_206A_200D_200B_200E_206A_200F_200E_202A_206F_200F_206A_202C_202A_202C_200E_200D_200E_200F_206A_202D_206E_202D_202C_206B_206E_202D_206F_200F_202E_206D_206E_200E_206C_200B_206A_206F_206A_200B_206B_202E() + 30f); float centerX = contentWidth * 0.5f; DrawIcon(centerX, fadeIn); DrawTitle(centerX, fadeIn); @@ -197,54 +417,282 @@ internal sealed class ChangelogHeaderComponent private void DrawIcon(float centerX, float fadeIn) { - float num = MathF.Sin(_animationTime * 2f) * 3f; - float num2 = MathF.Sin(_animationTime * 1.5f + (float)Math.PI / 2f) * 1.5f; - using (ImRaii.PushFont(UiBuilder.IconFont)) + float num = _200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(_animationTime * 2f) * 3f; + float num2 = _200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(_animationTime * 1.5f + MathF.PI / 2f) * 1.5f; + ImRaii.FontDisposable fontDisposable = _200F_202D_200C_200C_206B_206B_200D_200F_206D_202E_202D_200D_202C_202C_200B_206D_206B_206F_206B_200D_200E_206A_206C_200D_202B_202D_202B_202D_206F_206C_202C_200F_200F_206A_202E_202B_206E_200C_202A_202A_202E(_202E_200B_202A_202E_206E_202B_200D_202D_206A_202A_200B_202B_202C_202E_200C_200E_202D_202C_206C_200B_200C_200E_206F_200F_202B_202A_206F_200D_206F_202D_202E_200F_206D_202C_200E_206A_202B_200D_206E_206B_202E(), true); + try { - string text = FontAwesomeIcon.FileAlt.ToIconString(); - 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)); - 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.PopStyleVar(); + string text = _200F_202C_206A_206A_206E_206F_202B_200E_200E_206A_202E_202D_200F_200C_206E_200E_202E_206D_206C_206A_200D_200F_206C_200D_206C_206E_202A_206C_200F_206C_206A_202B_206C_202C_206C_202E_200D_202E_206D_202D_202E(FontAwesomeIcon.FileAlt); + _200B_200F_206D_206E_200F_206E_206F_200D_206D_202A_202B_200B_206A_202A_206E_200F_202D_206D_200F_200E_206F_202E_200F_200F_206F_206A_200C_200B_200B_200D_200D_202C_200F_202A_206F_202E_202A_206F_202C_202C_202E(centerX - _202C_202B_206E_206D_200C_200B_206C_206A_202C_202B_200F_202C_202E_202E_206F_202B_200D_200B_200E_200C_206F_202E_206A_206D_206B_202C_206E_202C_206A_206C_200F_206B_206D_206F_200D_202A_202B_206E_206A_206E_202E((ImU8String)text, false, -1f).X * 0.5f + num2); + _206B_200F_206E_202D_202E_206F_206C_206B_206F_202E_202B_202A_206F_202B_206D_200C_200B_206D_202D_200C_200E_200E_206E_206E_202B_200E_202D_202D_206F_202C_200B_206B_206B_206D_202B_206A_206D_200B_202D_206F_202E(_206A_200D_200B_200E_206A_200F_200E_202A_206F_200F_206A_202C_202A_202C_200E_200D_200E_200F_206A_202D_206E_202D_202C_206B_206E_202D_206F_200F_202E_206D_206E_200E_206C_200B_206A_206F_206A_200B_206B_202E() + num); + float w = (_200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(_animationTime * 3f) + 1f) * 0.5f * 0.3f; + int num3 = ((_animationTime * 0.5f % 1f < 0.5f) ? 769686031 : 769686028); + Vector4 vector; + while (true) + { + int num4 = num3; + int num5 = 769686030; + int num6 = num4; + switch ((num6 | num5) - (num6 & num5)) + { + default: + continue; + case 0: + goto IL_0107; + case 2: + vector = new Vector4(0.55f, 0.75f, 0.95f, w); + break; + case 1: + { + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = w; + vector = accentColor; + break; + } + } + break; + IL_0107: + num3 = 769686028; + } + Vector4 vector2 = vector; + Vector2 vector3 = _202B_206D_200C_206E_200E_206E_202E_202A_200C_202C_200D_206F_202A_202C_206D_200F_200C_206C_200B_200C_202A_202C_206B_200D_206D_206A_200D_200D_200B_206E_200D_206F_206B_206C_200D_206C_202A_206E_206D_202D_202E(); + _200C_200E_200C_202D_206F_206A_200D_202B_206D_202A_206E_202B_206F_202D_200F_202D_206E_206B_202B_206F_200B_206F_200C_202D_202B_200E_206D_206C_202A_200B_206A_206B_206E_206B_200E_200C_206F_200E_202A_206B_202E().AddText(_202E_200B_202A_202E_206E_202B_200D_202D_206A_202A_200B_202B_202C_202E_200C_200E_202D_202C_206C_200B_200C_200E_206F_200F_202B_202A_206F_200D_206F_202D_202E_200F_206D_202C_200E_206A_202B_200D_206E_206B_202E(), _206A_202D_206A_206F_200F_206B_200C_200F_200B_200D_200F_200C_206B_206F_206F_206C_202A_202B_202D_200D_202B_200C_202E_200E_202E_200B_202B_200D_206B_200E_200D_206E_206A_200B_206F_200D_206C_202D_206E_206D_202E() * 1.2f, vector3 + new Vector2(2f, 2f), _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(vector2), text); + _200C_202A_206E_206B_206B_206F_206F_206D_202B_202C_200D_206C_202B_202A_200B_206E_206F_202C_202D_206B_202D_206F_206B_206C_206C_202E_202E_202A_202A_206E_202E_206B_206D_202C_200C_202E_202B_202A_202A_202A_202E(ImGuiStyleVar.Alpha, fadeIn); + _200C_202C_200B_206B_202C_200D_206A_206F_200F_206B_206E_206F_202C_202C_200F_206C_200B_202B_206F_200D_202C_206C_206F_206F_200C_206B_206D_202D_200B_200D_202A_206C_200D_200C_200C_202E_200E_200E_202A_202E(ref UiThemeUtils.AccentColor, (ImU8String)text); + _200C_202C_206C_202D_202A_200F_206C_200B_202C_200C_206C_200B_202D_206D_202D_206C_200E_206D_206E_206D_200B_200D_200C_200F_200C_202B_202D_206D_202C_206A_200D_202A_200F_200F_200F_202D_200B_200B_200E_202B_202E(); } - ImGui.SetCursorPosY(ImGui.GetCursorPosY() - num + 4f); + finally + { + int num3 = ((fontDisposable == null) ? 201353111 : 201353108); + while (true) + { + int num7 = num3; + int num5 = 201353109; + int num6 = num7; + switch ((num6 | num5) - (num6 & num5)) + { + case 2: + goto end_IL_01da; + case 1: + _202E_202E_200F_202E_200E_206B_202E_202B_206B_202A_206C_206E_206A_206A_206D_206B_200C_200C_202A_202A_200C_202C_200C_202A_202B_206F_200E_200C_206B_206C_206A_206D_202D_202D_202A_206E_202A_206E_206B_206C_202E((IDisposable)fontDisposable); + num3 = 201353111; + break; + case 0: + num3 = 201353108; + break; + } + continue; + end_IL_01da: + break; + } + } + _206B_200F_206E_202D_202E_206F_206C_206B_206F_202E_202B_202A_206F_202B_206D_200C_200B_206D_202D_200C_200E_200E_206E_206E_202B_200E_202D_202D_206F_202C_200B_206B_206B_206D_202B_206A_206D_200B_202D_206F_202E(_206A_200D_200B_200E_206A_200F_200E_202A_206F_200F_206A_202C_202A_202C_200E_200D_200E_200F_206A_202D_206E_202D_202C_206B_206E_202D_206F_200F_202E_206D_206E_200E_206C_200B_206A_206F_206A_200B_206B_202E() - num + 4f); } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawTitle(float centerX, float fadeIn) { - float num = MathF.Max(0f, 1f - (_animationTime - 0.1f) * 3f); + float num = _206C_202A_206D_200B_206E_206E_200B_202B_202E_202B_206B_200C_202D_202B_202A_200E_206F_200D_200F_206D_200D_206A_202A_206D_200D_200F_206B_200E_200C_206A_200F_200B_200D_200D_206B_206B_202B_200D_202E_206A_202E(0f, 1f - (_animationTime - 0.1f) * 3f); float num2 = num * num * (3f - 2f * num) * 20f; - using (ImRaii.PushFont(UiBuilder.MonoFont)) + ImRaii.FontDisposable fontDisposable = _200F_202D_200C_200C_206B_206B_200D_200F_206D_202E_202D_200D_202C_202C_200B_206D_206B_206F_206B_200D_200E_206A_206C_200D_202B_202D_202B_202D_206F_206C_202C_200F_200F_206A_202E_202B_206E_200C_202A_202A_202E(_202A_202E_206F_202B_200C_202E_206F_206B_202E_200E_200C_200E_206D_206C_200C_200B_200F_200B_206B_202B_200E_206F_200C_200D_206C_202D_200C_206A_206C_206F_200F_206E_206C_200F_202B_200C_206C_202A_200F_202A_202E(), true); + try { - string text = "What's New in Questionable?"; - ImGui.SetCursorPosX(centerX - ImGui.CalcTextSize(text).X * 0.5f - num2); - ImGui.PushStyleVar(ImGuiStyleVar.Alpha, fadeIn); - ImGui.TextColored(new Vector4(0.95f, 0.95f, 1f, 1f), text); - ImGui.PopStyleVar(); + string text = global::_003CModule_003E._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(1908424869); + _200B_200F_206D_206E_200F_206E_206F_200D_206D_202A_202B_200B_206A_202A_206E_200F_202D_206D_200F_200E_206F_202E_200F_200F_206F_206A_200C_200B_200B_200D_200D_202C_200F_202A_206F_202E_202A_206F_202C_202C_202E(centerX - _202C_202B_206E_206D_200C_200B_206C_206A_202C_202B_200F_202C_202E_202E_206F_202B_200D_200B_200E_200C_206F_202E_206A_206D_206B_202C_206E_202C_206A_206C_200F_206B_206D_206F_200D_202A_202B_206E_206A_206E_202E((ImU8String)text, false, -1f).X * 0.5f - num2); + _200C_202A_206E_206B_206B_206F_206F_206D_202B_202C_200D_206C_202B_202A_200B_206E_206F_202C_202D_206B_202D_206F_206B_206C_206C_202E_202E_202A_202A_206E_202E_206B_206D_202C_200C_202E_202B_202A_202A_202A_202E(ImGuiStyleVar.Alpha, fadeIn); + Vector4 vector = new Vector4(0.95f, 0.95f, 1f, 1f); + _200C_202C_200B_206B_202C_200D_206A_206F_200F_206B_206E_206F_202C_202C_200F_206C_200B_202B_206F_200D_202C_206C_206F_206F_200C_206B_206D_202D_200B_200D_202A_206C_200D_200C_200C_202E_200E_200E_202A_202E(ref vector, (ImU8String)text); + _200C_202C_206C_202D_202A_200F_206C_200B_202C_200C_206C_200B_202D_206D_202D_206C_200E_206D_206E_206D_200B_200D_200C_200F_200C_202B_202D_206D_202C_206A_200D_202A_200F_200F_200F_202D_200B_200B_200E_202B_202E(); } - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 6f); + finally + { + int num3 = ((fontDisposable == null) ? 537868865 : 537868866); + while (true) + { + int num4 = num3; + int num5 = 537868867; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 0: + num3 = 537868866; + break; + case 1: + _202E_202E_200F_202E_200E_206B_202E_202B_206B_202A_206C_206E_206A_206A_206D_206B_200C_200C_202A_202A_200C_202C_200C_202A_202B_206F_200E_200C_206B_206C_206A_206D_202D_202D_202A_206E_202A_206E_206B_206C_202E((IDisposable)fontDisposable); + num3 = 537868865; + break; + case 2: + goto end_IL_00d2; + } + continue; + end_IL_00d2: + break; + } + } + _206B_200F_206E_202D_202E_206F_206C_206B_206F_202E_202B_202A_206F_202B_206D_200C_200B_206D_202D_200C_200E_200E_206E_206E_202B_200E_202D_202D_206F_202C_200B_206B_206B_206D_202B_206A_206D_200B_202D_206F_202E(_206A_200D_200B_200E_206A_200F_200E_202A_206F_200F_206A_202C_202A_202C_200E_200D_200E_200F_206A_202D_206E_202D_202C_206B_206E_202D_206F_200F_202E_206D_206E_200E_206C_200B_206A_206F_206A_200B_206B_202E() + 6f); } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawSubtitle(float centerX) { - float val = MathF.Max(0f, MathF.Min(1f, (_animationTime - 0.3f) * 2f)); - string text = "Stay up to date with the latest features and improvements"; - ImGui.SetCursorPosX(centerX - ImGui.CalcTextSize(text).X * 0.5f); - ImGui.PushStyleVar(ImGuiStyleVar.Alpha, val); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 0.9f), text); - ImGui.PopStyleVar(); + float num = _206C_202A_206D_200B_206E_206E_200B_202B_202E_202B_206B_200C_202D_202B_202A_200E_206F_200D_200F_206D_200D_206A_202A_206D_200D_200F_206B_200E_200C_206A_200F_200B_200D_200D_206B_206B_202B_200D_202E_206A_202E(0f, _202E_206E_202E_202D_200C_202A_206D_202A_200C_202C_206F_202B_206D_206C_202E_202D_202C_206B_206D_200F_206C_202D_202B_206C_206F_202B_206C_202B_200E_202D_206D_202A_202B_202D_206D_206C_206B_202A_200C_202E_202E(1f, (_animationTime - 0.3f) * 2f)); + string text = global::_003CModule_003E._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(1284431139); + _200B_200F_206D_206E_200F_206E_206F_200D_206D_202A_202B_200B_206A_202A_206E_200F_202D_206D_200F_200E_206F_202E_200F_200F_206F_206A_200C_200B_200B_200D_200D_202C_200F_202A_206F_202E_202A_206F_202C_202C_202E(centerX - _202C_202B_206E_206D_200C_200B_206C_206A_202C_202B_200F_202C_202E_202E_206F_202B_200D_200B_200E_200C_206F_202E_206A_206D_206B_202C_206E_202C_206A_206C_200F_206B_206D_206F_200D_202A_202B_206E_206A_206E_202E((ImU8String)text, false, -1f).X * 0.5f); + _200C_202A_206E_206B_206B_206F_206F_206D_202B_202C_200D_206C_202B_202A_200B_206E_206F_202C_202D_206B_202D_206F_206B_206C_206C_202E_202E_202A_202A_206E_202E_206B_206D_202C_200C_202E_202B_202A_202A_202A_202E(ImGuiStyleVar.Alpha, num); + Vector4 vector = new Vector4(0.7f, 0.7f, 0.8f, 0.9f); + _200C_202C_200B_206B_202C_200D_206A_206F_200F_206B_206E_206F_202C_202C_200F_206C_200B_202B_206F_200D_202C_206C_206F_206F_200C_206B_206D_202D_200B_200D_202A_206C_200D_200C_200C_202E_200E_200E_202A_202E(ref vector, (ImU8String)text); + _200C_202C_206C_202D_202A_200F_206C_200B_202C_200C_206C_200B_202D_206D_202D_206C_200E_206D_206E_206D_200B_200D_200C_200F_200C_202B_202D_206D_202C_206A_200D_202A_200F_200F_200F_202D_200B_200B_200E_202B_202E(); } private void DrawAccentLine(ImDrawListPtr drawList, Vector2 headerStartPos, float contentWidth, float headerHeight) { - 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))); + _202E_206E_200B_200E_202B_200B_206A_200F_200E_206E_202E_202C_200C_200D_206D_202D_200D_202B_202C_206C_200C_200C_202D_206F_206A_200F_202C_206B_200C_200F_206E_206C_200E_206A_206A_200C_202A_206F_202E_206D_202E(headerStartPos + new Vector2(0f, headerHeight)); + Vector2 vector = _202B_206D_200C_206E_200E_206E_202E_202A_200C_202C_200D_206F_202A_202C_206D_200F_200C_206C_200B_200C_202A_202C_206B_200D_206D_206A_200D_200D_200B_206E_200D_206F_206B_206C_200D_206C_202A_206E_206D_202D_202E(); + float num = (_200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(_animationTime * 2f + MathF.PI) + 1f) * 0.5f; + Vector2 pMax = vector + new Vector2(contentWidth, 2f); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.6f + num * 0.4f; + uint colUprLeft = _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(accentColor); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.2f + num * 0.2f; + uint colUprRight = _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(accentColor); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.2f + num * 0.2f; + uint colBotRight = _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(accentColor); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.6f + num * 0.4f; + drawList.AddRectFilledMultiColor(vector, pMax, colUprLeft, colUprRight, colBotRight, _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(accentColor)); + } + + static ImGuiIOPtr _200B_202C_206B_200C_200E_206D_202C_202C_206C_202D_200B_206C_202A_206A_206E_200B_202B_200F_206A_200F_200E_200D_206F_202D_206E_202E_206C_200C_206C_200B_202E_200F_200B_206A_206C_202A_200C_206B_202B_200E_202E() + { + return ImGui.GetIO(); + } + + static ImDrawListPtr _200C_200E_200C_202D_206F_206A_200D_202B_206D_202A_206E_202B_206F_202D_200F_202D_206E_206B_202B_206F_200B_206F_200C_202D_202B_200E_206D_206C_202A_200B_206A_206B_206E_206B_200E_200C_206F_200E_202A_206B_202E() + { + return ImGui.GetWindowDrawList(); + } + + static Vector2 _202B_206D_200C_206E_200E_206E_202E_202A_200C_202C_200D_206F_202A_202C_206D_200F_200C_206C_200B_200C_202A_202C_206B_200D_206D_206A_200D_200D_200B_206E_200D_206F_206B_206C_200D_206C_202A_206E_206D_202D_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static Vector2 _200F_202B_206C_202B_200C_202D_200B_206C_202E_202B_206D_200D_206C_200D_206F_206C_206A_200D_200F_200F_202C_202C_200D_206E_200B_200D_202E_202C_206A_206F_200C_206A_206E_206B_206A_206E_206E_206A_206A_200C_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _206A_200D_200B_200E_206A_200F_200E_202A_206F_200F_206A_202C_202A_202C_200E_200D_200E_200F_206A_202D_206E_202D_202C_206B_206E_202D_206F_200F_202E_206D_206E_200E_206C_200B_206A_206F_206A_200B_206B_202E() + { + return ImGui.GetCursorPosY(); + } + + static void _206B_200F_206E_202D_202E_206F_206C_206B_206F_202E_202B_202A_206F_202B_206D_200C_200B_206D_202D_200C_200E_200E_206E_206E_202B_200E_202D_202D_206F_202C_200B_206B_206B_206D_202B_206A_206D_200B_202D_206F_202E(float P_0) + { + ImGui.SetCursorPosY(P_0); + } + + static float _200F_202B_202B_206E_200E_202E_202C_206D_206C_200E_202D_200F_200B_202D_206B_202D_202C_200C_206F_206F_202C_206A_206E_200C_206D_200C_202C_202A_206F_202D_202C_202E_202B_200E_200C_200C_200F_206D_202E_200C_202E(float P_0) + { + return MathF.Sin(P_0); + } + + static uint _206A_200E_202B_200B_200B_200E_202A_202E_202D_202C_206C_206A_202A_206E_206D_202C_202B_206A_200E_206E_202A_200D_202A_206D_206C_202C_206F_206C_202C_200F_200B_206D_200D_202E_206C_206E_202B_200E_200D_206E_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static float _200E_202A_206B_206E_200E_200C_200F_200D_206F_202A_202C_202E_206E_200C_206F_202D_206F_202D_200F_202D_206D_206D_206E_200C_206A_206E_200E_202B_206C_206C_200E_200F_206E_202C_200F_206A_206A_202A_206C_206B_202E(float P_0) + { + return MathF.Ceiling(P_0); + } + + static float _206C_202A_206D_200B_206E_206E_200B_202B_202E_202B_206B_200C_202D_202B_202A_200E_206F_200D_200F_206D_200D_206A_202A_206D_200D_200F_206B_200E_200C_206A_200F_200B_200D_200D_206B_206B_202B_200D_202E_206A_202E(float P_0, float P_1) + { + return MathF.Max(P_0, P_1); + } + + static float _202E_206E_202E_202D_200C_202A_206D_202A_200C_202C_206F_202B_206D_206C_202E_202D_202C_206B_206D_200F_206C_202D_202B_206C_206F_202B_206C_202B_200E_202D_206D_202A_202B_202D_206D_206C_206B_202A_200C_202E_202E(float P_0, float P_1) + { + return MathF.Min(P_0, P_1); + } + + static float _200F_206E_200F_206E_206B_202D_206C_206C_202B_206E_200F_202D_200B_202B_200E_202A_206D_206F_206D_206E_202C_202D_202D_206B_202D_206A_202E_200C_200C_202B_206A_206E_206A_200C_202E_200C_200C_202B_202D_202E(float P_0) + { + return MathF.Cos(P_0); + } + + static Vector2 _202C_200D_206E_206A_202D_202C_206C_202E_206B_200B_206B_200F_206E_202E_202E_200E_206A_202D_206D_206E_202C_200F_206A_200E_206B_200F_202D_200C_202D_206C_202D_200B_200D_202E_206E_206D_206A_202C_200B_206F_202E() + { + return ImGui.GetMousePos(); + } + + static void _202E_206E_200B_200E_202B_200B_206A_200F_200E_206E_202E_202C_200C_200D_206D_202D_200D_202B_202C_206C_200C_200C_202D_206F_206A_200F_202C_206B_200C_200F_206E_206C_200E_206A_206A_200C_202A_206F_202E_206D_202E(Vector2 P_0) + { + ImGui.SetCursorScreenPos(P_0); + } + + static bool _200F_200F_206B_200E_202C_200C_206E_206B_200F_206A_200D_206A_200C_200B_206A_200E_206F_200B_206D_202B_206D_202A_206E_202D_206C_206F_202C_206F_206E_206F_206F_206E_202A_202E_202C_206D_202E_200E_202B_200C_202E(ImU8String P_0, Vector2 P_1, ImGuiButtonFlags P_2) + { + return ImGui.InvisibleButton(P_0, P_1, P_2); + } + + static ImFontPtr _202E_200B_202A_202E_206E_202B_200D_202D_206A_202A_200B_202B_202C_202E_200C_200E_202D_202C_206C_200B_200C_200E_206F_200F_202B_202A_206F_200D_206F_202D_202E_200F_206D_202C_200E_206A_202B_200D_206E_206B_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _200F_202D_200C_200C_206B_206B_200D_200F_206D_202E_202D_200D_202C_202C_200B_206D_206B_206F_206B_200D_200E_206A_206C_200D_202B_202D_202B_202D_206F_206C_202C_200F_200F_206A_202E_202B_206E_200C_202A_202A_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _200F_202C_206A_206A_206E_206F_202B_200E_200E_206A_202E_202D_200F_200C_206E_200E_202E_206D_206C_206A_200D_200F_206C_200D_206C_206E_202A_206C_200F_206C_206A_202B_206C_202C_206C_202E_200D_202E_206D_202D_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _202C_202B_206E_206D_200C_200B_206C_206A_202C_202B_200F_202C_202E_202E_206F_202B_200D_200B_200E_200C_206F_202E_206A_206D_206B_202C_206E_202C_206A_206C_200F_206B_206D_206F_200D_202A_202B_206E_206A_206E_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static void _200B_200F_206D_206E_200F_206E_206F_200D_206D_202A_202B_200B_206A_202A_206E_200F_202D_206D_200F_200E_206F_202E_200F_200F_206F_206A_200C_200B_200B_200D_200D_202C_200F_202A_206F_202E_202A_206F_202C_202C_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static float _206A_202D_206A_206F_200F_206B_200C_200F_200B_200D_200F_200C_206B_206F_206F_206C_202A_202B_202D_200D_202B_200C_202E_200E_202E_200B_202B_200D_206B_200E_200D_206E_206A_200B_206F_200D_206C_202D_206E_206D_202E() + { + return ImGui.GetFontSize(); + } + + static void _200C_202A_206E_206B_206B_206F_206F_206D_202B_202C_200D_206C_202B_202A_200B_206E_206F_202C_202D_206B_202D_206F_206B_206C_206C_202E_202E_202A_202A_206E_202E_206B_206D_202C_200C_202E_202B_202A_202A_202A_202E(ImGuiStyleVar P_0, float P_1) + { + ImGui.PushStyleVar(P_0, P_1); + } + + static void _200C_202C_200B_206B_202C_200D_206A_206F_200F_206B_206E_206F_202C_202C_200F_206C_200B_202B_206F_200D_202C_206C_206F_206F_200C_206B_206D_202D_200B_200D_202A_206C_200D_200C_200C_202E_200E_200E_202A_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _200C_202C_206C_202D_202A_200F_206C_200B_202C_200C_206C_200B_202D_206D_202D_206C_200E_206D_206E_206D_200B_200D_200C_200F_200C_202B_202D_206D_202C_206A_200D_202A_200F_200F_200F_202D_200B_200B_200E_202B_202E() + { + ImGui.PopStyleVar(); + } + + static void _202E_202E_200F_202E_200E_206B_202E_202B_206B_202A_206C_206E_206A_206A_206D_206B_200C_200C_202A_202A_200C_202C_200C_202A_202B_206F_200E_200C_206B_206C_206A_206D_202D_202D_202A_206E_202A_206E_206B_206C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ImFontPtr _202A_202E_206F_202B_200C_202E_206F_206B_202E_200E_200C_200E_206D_206C_200C_200B_200F_200B_206B_202B_200E_206F_200C_200D_206C_202D_200C_206A_206C_206F_200F_206E_206C_200F_202B_200C_206C_202A_200F_202A_202E() + { + return UiBuilder.MonoFont; } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/BlacklistConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/BlacklistConfigComponent.cs index 8f2f5b08..2129568e 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/BlacklistConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/BlacklistConfigComponent.cs @@ -1,12 +1,15 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Interface; -using Dalamud.Interface.Components; +using Dalamud.Interface.ManagedFontAtlas; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; +using Microsoft.Extensions.Logging; using Questionable.Controller; using Questionable.Functions; using Questionable.Model; @@ -18,6 +21,88 @@ namespace Questionable.Windows.ConfigComponents; internal sealed class BlacklistConfigComponent : ConfigComponent { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__10_0; + + public static Comparison _003C_003E9__12_0; + + internal string _003CDrawTab_003Eb__10_0(ElementId x) + { + return _200B_206B_200D_202E_206E_200F_206C_200E_206E_202C_206E_206D_202A_200B_200F_206C_202C_202A_206C_202C_200D_206F_202B_202E_200F_200D_202D_200E_200E_200C_202D_200B_202A_202C_206C_206E_200C_206A_206F_202A_202E((object)x); + } + + internal int _003CGetCurrentlyAcceptedQuests_003Eb__12_0(Quest a, Quest b) + { + return _202E_202B_200C_200D_200E_206F_206D_206B_206F_200C_206E_206B_206D_206D_200D_206B_202C_206C_206E_200D_202B_206D_206F_202D_206A_206C_202E_206E_202D_202B_202D_200F_206D_202C_202C_202B_200C_200E_202C_206F_202E(a.Info.Name, b.Info.Name, StringComparison.OrdinalIgnoreCase); + } + + static string _200B_206B_200D_202E_206E_200F_206C_200E_206E_202C_206E_206D_202A_200B_200F_206C_202C_202A_206C_202C_200D_206F_202B_202E_200F_200D_202D_200E_200E_200C_202D_200B_202A_202C_206C_206E_200C_206A_206F_202A_202E(object P_0) + { + return P_0.ToString(); + } + + static int _202E_202B_200C_200D_200E_206F_206D_206B_206F_200C_206E_206B_206D_206D_200D_206B_202C_206C_206E_200D_202B_206D_206F_202D_206A_206C_202E_206E_202D_202B_202D_200F_206D_202C_202C_202B_200C_200E_202C_206F_202E(string P_0, string P_1, StringComparison P_2) + { + return string.Compare(P_0, P_1, P_2); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass9_0 + { + public Configuration configuration; + + public QuestFunctions questFunctions; + + public BlacklistConfigComponent _003C_003E4__this; + + internal bool _003C_002Ector_003Eb__0(Quest quest) + { + return !configuration.General.BlacklistedQuests.Contains(quest.Id); + } + + internal bool _003C_002Ector_003Eb__1(Quest quest) + { + int num = (_202E_206E_206C_200B_206B_200E_200C_206F_202A_200E_200F_202B_206B_202B_200C_206A_206E_200C_200C_202A_200C_202B_206E_202B_200C_200C_206A_206C_200F_206C_206A_200B_206E_206C_200D_200C_202B_200D_200D_200C_202E(quest.Root) ? (-1856463303) : (-1856463304)); + while (true) + { + int num2 = num; + int num3 = -1856463303; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + return questFunctions.IsQuestAccepted(quest.Id); + case 2: + goto IL_0061; + } + continue; + IL_0061: + num = -1856463304; + } + } + + internal void _003C_002Ector_003Eb__2(Quest quest) + { + configuration.General.BlacklistedQuests.Add(quest.Id); + _003C_003E4__this.Save(); + } + + static bool _202E_206E_206C_200B_206B_200E_200C_206F_202A_200E_200F_202B_206B_202B_200C_206A_206E_200C_200C_202A_200C_202B_206E_202B_200C_200C_206A_206C_200F_206C_206A_200B_206E_206C_200D_200C_202B_200D_200D_200C_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + } + private readonly IDalamudPluginInterface _pluginInterface; private readonly QuestSelector _questSelector; @@ -30,7 +115,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,8 +131,32 @@ 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.DefaultPredicate = delegate(Quest quest) + { + int num = (_003C_003Ec__DisplayClass9_0._202E_206E_206C_200B_206B_200E_200C_206F_202A_200E_200F_202B_206B_202B_200C_206A_206E_200C_200C_202A_200C_202B_206E_202B_200C_200C_206A_206C_200F_206C_206A_200B_206E_206C_200D_200C_202B_200D_200D_200C_202E(quest.Root) ? (-1856463303) : (-1856463304)); + while (true) + { + int num2 = num; + int num3 = -1856463303; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + return questFunctions.IsQuestAccepted(quest.Id); + case 2: + goto IL_0061; + } + continue; + IL_0061: + num = -1856463304; + } + }; _questSelector.QuestSelected = delegate(Quest quest) { configuration.General.BlacklistedQuests.Add(quest.Id); @@ -49,200 +164,852 @@ internal sealed class BlacklistConfigComponent : ConfigComponent }; } + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Blacklist###QuestBlacklist"); - if (!tabItemDisposable) - { - return; - } - 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(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(1845002601)); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + _202E_206F_200B_206A_200B_206B_206E_202B_206C_202C_202A_206E_202D_206C_200F_206B_200E_202E_202A_206B_206F_200E_202B_200C_202C_202B_200C_206A_206A_206F_200D_202A_206D_206C_202B_206D_206D_200E_200B_206A_202E((ImU8String)global::_003CModule_003E._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(-1912642219)); + _202E_206F_200B_206A_200B_206B_206E_202B_206C_202C_202A_206E_202D_206C_200F_206B_200E_202E_202A_206B_206F_200E_202B_200C_202C_202B_200C_206A_206A_206F_200D_202A_206D_206C_202B_206D_206D_200E_200B_206A_202E((ImU8String)global::_003CModule_003E._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(-1813484452)); DrawCurrentlyAcceptedQuests(); HashSet blacklistedQuests = base.Configuration.General.BlacklistedQuests; - ImU8String text = new ImU8String(22, 1); - text.AppendLiteral("Blacklisted Quests ("); - text.AppendFormatted(blacklistedQuests.Count); - text.AppendLiteral("):"); - ImGui.Text(text); - using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("BlacklistedQuestsList", new Vector2(-1f, 200f), border: true)) + ImU8String imU8String = new ImU8String(22, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1982980571)); + imU8String.AppendFormatted(blacklistedQuests.Count); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1060622796)); + _200E_200C_206B_206B_206B_206C_206B_206C_200F_206A_206A_206E_200B_206F_202A_202B_206A_200E_202B_206D_202C_200B_202B_202B_200D_206A_202D_206B_202E_200D_206C_202D_206C_202B_206B_202A_200E_200D_200D_206C_202E(imU8String); + int num; + using (ImRaii.ChildDisposable childDisposable = _206A_206C_200F_206B_206E_206C_206C_206E_202B_202C_206D_200C_206F_202E_200E_202D_206D_202D_202C_200B_206B_200C_202B_206C_200B_202A_202B_202D_202D_202B_202E_202B_206C_206B_202E_200B_202A_200D_202B_206B_202E((ImU8String)global::_003CModule_003E._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(1257389053), new Vector2(-1f, 200f), true)) { if ((bool)childDisposable) { - if (blacklistedQuests.Count > 0) + num = 1347863469; + (Vector4, FontAwesomeIcon, string) questStyle = default((Vector4, FontAwesomeIcon, string)); + while (true) { - ElementId elementId = null; - int num = 0; - foreach (ElementId item in blacklistedQuests.OrderBy((ElementId x) => x.ToString())) + int num2 = num; + int num3 = 1347863471; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - if (!_questRegistry.TryGetQuest(item, out Quest quest)) + case 0: + num = 1347863469; + break; + case 2: + if (blacklistedQuests.Count > 0) { - ImU8String id = new ImU8String(5, 1); - id.AppendLiteral("Quest"); - id.AppendFormatted(item); - using (ImRaii.PushId(id)) + num = 1347863470; + break; + } + UiThemeUtils.EmptyState(FontAwesomeIcon.Ban, global::_003CModule_003E._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(-2036588043), global::_003CModule_003E._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(-1594979269)); + goto end_IL_00e5; + case 1: + { + ElementId elementId = null; + using (ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(285342029), 2)) + { + if ((bool)tableDisposable) { - 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)) + _200C_202A_206C_206C_200D_206E_202A_202B_202D_202B_202B_202B_202E_200E_202A_200B_200B_202B_206F_202E_206C_206A_202A_200C_206B_202E_206B_206C_200F_202C_200D_200C_202A_206F_200D_200E_206A_206C_200C_202E((ImU8String)global::_003CModule_003E._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(295817554), ImGuiTableColumnFlags.WidthStretch, 0f, 0u); + _200C_202A_206C_206C_200D_206E_202A_202B_202D_202B_202B_202B_202E_200E_202A_200B_200B_202B_206F_202E_206C_206A_202A_200C_206B_202E_206B_206C_200F_202C_200D_200C_202A_206F_200D_200E_206A_206C_200C_202E((ImU8String)global::_003CModule_003E._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(1334785959), ImGuiTableColumnFlags.WidthFixed, 40f * _200D_206C_202B_200E_206A_206E_206F_202D_202C_206E_200C_200C_206A_202B_206C_200E_200F_202E_206A_200B_202D_202D_200F_200F_206C_200B_206C_200F_202A_206E_202A_200C_202B_206C_202B_200E_200E_206C_200B_206A_202E().FontGlobalScale, 0u); + IEnumerator enumerator = blacklistedQuests.OrderBy((ElementId x) => _003C_003Ec._200B_206B_200D_202E_206E_200F_206C_200E_206E_202C_206E_206D_202A_200B_200F_206C_202C_202A_206C_202C_200D_206F_202B_202E_200F_200D_202D_200E_200E_200C_202D_200B_202A_202C_206C_206E_200C_206A_206F_202A_202E((object)x)).GetEnumerator(); + try { - elementId = item; + while (_206A_206A_202E_200F_200D_202E_206B_202D_206A_206E_202C_206A_202E_202D_206E_200F_200F_202B_200C_206D_206D_202D_202D_200E_200E_206A_202D_200B_206B_202D_206C_202C_206C_206A_202B_200D_206B_206D_206C_206F_202E((IEnumerator)enumerator)) + { + ElementId current = enumerator.Current; + _202C_206B_200B_200E_206C_200C_206D_202E_202B_206A_202E_206C_202B_200D_202C_200D_200D_200D_206E_200D_206F_206A_206C_200E_206D_200F_202B_200B_200B_206C_206A_200B_200D_202E_202B_206C_206D_200C_200E_202C_202E(); + ImU8String imU8String2 = new ImU8String(5, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(345110125)); + imU8String2.AppendFormatted(current); + ImRaii.IdDisposable idDisposable = _200C_200F_200B_202C_206D_200D_206B_202E_200B_202C_202D_202C_200B_202B_202A_202C_202C_202D_206F_202C_200D_200E_200F_202C_202E_206F_206C_206B_200B_200F_202C_206E_202E_202A_202E_200F_200B_202A_202C_200D_202E(imU8String2, true); + try + { + num = (_questRegistry.TryGetQuest(current, out Quest quest) ? 889101348 : 889101353); + while (true) + { + int num7 = num; + num3 = 889101356; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 4: + num = 889101353; + break; + case 0: + { + _202C_206E_206A_206F_200B_206A_202D_200E_206A_202E_202E_202E_202B_200B_206B_206B_206E_206E_200D_200D_206F_200B_202D_200E_206B_200E_206A_206C_200C_206F_200F_200D_202A_200D_200C_206E_200C_200B_202C_206A_202E(); + ImU8String imU8String3 = new ImU8String(16, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(76120943)); + imU8String3.AppendFormatted(current); + imU8String3.AppendLiteral(global::_003CModule_003E._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(555647321)); + _202D_200E_200F_202D_200B_206C_206E_202C_206B_202E_202A_202A_202D_206B_202D_202B_202B_206C_200E_206E_202C_200E_200D_202E_200C_200D_200C_206E_206E_202B_200F_200D_202A_200F_202D_206B_200E_200C_202A_202B_202E(ref UiThemeUtils.DimTextColor, imU8String3); + num = 889101354; + break; + } + case 1: + elementId = current; + num = 889101358; + break; + case 8: + questStyle = _uiUtils.GetQuestStyle(current); + if (_202C_202A_206F_206A_206E_206E_202D_200D_200B_200B_202B_200D_200B_200E_206B_206B_202B_202D_202E_206F_206D_206F_206A_200E_202E_202E_202E_200E_206D_202B_200E_200B_206A_202E_206F_200E_200F_200F_202C_202E()) + { + num = 889101359; + break; + } + goto IL_0549; + case 7: + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Times, _206A_202E_200C_202A_206F_200C_202E_202C_206F_206E_200D_200E_202B_200F_206A_206D_206F_206B_202C_202C_200E_200B_202E_200E_202A_206B_200D_206F_202D_200C_202B_206B_206E_200B_206F_206C_202C_200F_200E_206C_202E())) ? 889101358 : 889101357); + break; + case 2: + goto end_IL_023a; + case 6: + num = ((!_202C_202A_206F_206A_206E_206E_202D_200D_200B_200B_202B_200D_200B_200E_206B_206B_202B_202D_202E_206F_206D_206F_206A_200E_202E_202E_202E_200E_206D_202B_200E_200B_206A_202E_206F_200E_200F_200F_202C_202E()) ? 889101358 : 889101355); + break; + case 5: + num = ((!_202C_202A_206F_206A_206E_206E_202D_200D_200B_200B_202B_200D_200B_200E_206B_206B_202B_202D_202E_206F_206D_206F_206A_200E_202E_202E_202E_200E_206D_202B_200E_200B_206A_202E_206F_200E_200F_200F_202C_202E()) ? 889101354 : 889101356); + break; + case 3: + { + IDisposable disposable = _202E_206D_200F_206D_202A_202D_202B_202D_200C_202B_206A_200C_200D_202D_202D_200E_202C_206E_200D_202D_202B_202E_200B_202B_200F_206B_206A_206D_206B_206C_206F_200C_202C_200D_206D_202B_200E_206E_206D_206D_202E(_200D_202C_206A_206F_202D_202A_206C_202D_200B_202D_206C_202B_202D_202B_200B_206A_206E_200F_202D_206B_200F_200F_206C_206F_200D_200E_202B_200C_206F_206D_202B_206F_200C_202A_202D_206C_202D_200C_206A_200F_202E(_200D_200C_206A_200B_200F_202D_206C_206D_206D_200D_202A_202C_206F_206D_206A_200E_202E_202B_206E_202A_206B_200E_206C_200F_202E_200E_206D_202D_206F_200D_202C_202C_200F_206D_206D_206F_202D_200F_200E_202B_202E(_pluginInterface))); + bool flag; + try + { + _202C_206E_206A_206F_200B_206A_202D_200E_206A_202E_202E_202E_202B_200B_206B_206B_206E_206E_200D_200D_206F_200B_202D_200E_206B_200E_206A_206C_200C_206F_200F_200D_202A_200D_200C_206E_200C_200B_202C_206A_202E(); + _202D_200E_200F_202D_200B_206C_206E_202C_206B_202E_202A_202A_202D_206B_202D_202B_202B_206C_200E_206E_202C_200E_200D_202E_200C_200D_200C_206E_206E_202B_200F_200D_202A_200F_202D_206B_200E_200C_202A_202B_202E(ref questStyle.Item1, (ImU8String)_202C_202A_206B_206B_202D_200B_206E_202C_202D_206D_206E_200C_202C_206E_206B_202A_200B_206D_206F_206B_206F_200E_206F_202D_200B_206D_200F_206C_206D_206A_206E_202B_206F_202D_200B_202A_200D_200F_200E_206F_202E(questStyle.Item2)); + flag = _200F_202B_200B_200C_200C_202A_200F_206B_206B_200D_202A_206E_206A_202B_206A_200B_206E_202D_200E_206E_200B_200D_200B_200C_206D_202C_200D_206A_206B_206D_200C_206B_206D_206F_202A_206E_206D_206D_202D_200C_202E(); + } + finally + { + num = ((disposable == null) ? (-2134770209) : (-2134770210)); + while (true) + { + int num10 = num; + num3 = -2134770209; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_03f8; + case 1: + _202B_206F_202A_206C_202E_202C_206E_202B_206B_200C_200C_202B_200B_206A_200B_206E_202D_202D_202B_206E_206B_206B_200F_202D_202C_200B_200D_202D_206C_200E_200C_202D_206C_206B_206F_202D_200F_206A_200F_206F_202E(disposable); + num = -2134770209; + break; + case 2: + num = -2134770210; + break; + } + continue; + end_IL_03f8: + break; + } + } + _202B_202B_200F_206F_200C_206B_202B_202E_200B_202B_206A_200E_206B_206E_202C_206C_206A_200E_206D_206E_202C_206E_202C_206C_200D_206A_200D_202C_202A_200F_202B_206D_206A_206E_200F_206A_200C_200C_200B_200D_202E(); + _202C_206E_206A_206F_200B_206A_202D_200E_206A_202E_202E_202E_202B_200B_206B_206B_206E_206E_200D_200D_206F_200B_202D_200E_206B_200E_206A_206C_200C_206F_200F_200D_202A_200D_200C_206E_200C_200B_202C_206A_202E(); + UiThemeUtils.RowLabel(quest.Info.Name, 0f); + flag |= _200F_202B_200B_200C_200C_202A_200F_206B_206B_200D_202A_206E_206A_202B_206A_200B_206E_202D_200E_206E_200B_200D_200B_200C_206D_202C_200D_206A_206B_206D_200C_206B_206D_206F_202A_206E_206D_206D_202D_200C_202E(); + num = ((!flag) ? (-258902819) : (-258902824)); + goto IL_048d; + } + IL_048d: + while (true) + { + int num11 = num; + num3 = -258902820; + num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 7: + elementId = current; + num = -258902817; + continue; + case 4: + _questTooltipComponent.Draw(quest.Info); + num = -258902819; + continue; + case 0: + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Times, _206A_202E_200C_202A_206F_200C_202E_202C_206F_206E_200D_200E_202B_200F_206A_206D_206F_206B_202C_202C_200E_200B_202E_200E_202A_206B_200D_206F_202D_200C_202B_206B_206E_200B_206F_206C_202C_200F_200E_206C_202E())) ? (-258902817) : (-258902821)); + continue; + case 3: + num = ((!_200F_202B_200B_200C_200C_202A_200F_206B_206B_200D_202A_206E_206A_202B_206A_200B_206E_202D_200E_206E_200B_200D_200B_200C_206D_202C_200D_206A_206B_206D_200C_206B_206D_206F_202A_206E_206D_206D_202D_200C_202E()) ? (-258902818) : (-258902823)); + continue; + case 1: + break; + case 5: + _202A_200B_202B_200B_200C_200F_202D_206A_206C_200F_202B_200F_200C_206A_200E_202C_200C_200F_200B_202A_206C_206F_200F_202C_202D_202D_206D_206B_202E_200B_202B_206D_206F_202B_206E_206C_206F_200F_202D_206E_202E((ImU8String)global::_003CModule_003E._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(368026266)); + num = -258902818; + continue; + case 6: + num = -258902824; + continue; + case 2: + goto end_IL_048d; + } + goto IL_0549; + continue; + end_IL_048d: + break; + } + goto end_IL_023a; + IL_0549: + num = ((!_202C_202A_206F_206A_206E_206E_202D_200D_200B_200B_202B_200D_200B_200E_206B_206B_202B_202D_202E_206F_206D_206F_206A_200E_202E_202E_202E_200E_206D_202B_200E_200B_206A_202E_206F_200E_200F_200F_202C_202E()) ? (-258902818) : (-258902820)); + goto IL_048d; + } + continue; + end_IL_023a: + break; + } + } + finally + { + num = ((idDisposable == null) ? (-1239290043) : (-1239290042)); + while (true) + { + int num12 = num; + num3 = -1239290041; + num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 2: + goto end_IL_05bb; + case 1: + _202B_206F_202A_206C_202E_202C_206E_202B_206B_200C_200C_202B_200B_206A_200B_206E_202D_202D_202B_206E_206B_206B_200F_202D_202C_200B_200D_202D_206C_200E_200C_202D_206C_206B_206F_202D_200F_206A_200F_206F_202E((IDisposable)idDisposable); + num = -1239290043; + break; + case 0: + num = -1239290042; + break; + } + continue; + end_IL_05bb: + break; + } + } + } + } + finally + { + num = ((enumerator == null) ? 1685900293 : 1685900294); + while (true) + { + int num15 = num; + num3 = 1685900295; + num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0639; + case 1: + _202B_206F_202A_206C_202E_202C_206E_202B_206B_200C_200C_202B_200B_206A_200B_206E_202D_202D_202B_206E_206B_206B_200F_202D_202C_200B_200D_202D_206C_200E_200C_202D_206C_206B_206F_202D_200F_206A_200F_206F_202E((IDisposable)enumerator); + num = 1685900293; + break; + case 0: + num = 1685900294; + break; + } + continue; + end_IL_0639: + break; + } } } - 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()) + num = ((!_202E_202C_200E_206B_206B_206F_206A_200E_202B_206A_202B_206E_202D_202C_202D_200F_202B_200E_202D_200B_206D_202C_202B_206E_202D_206B_200C_206B_200F_202A_200D_202C_206D_206E_206B_200D_206C_206A_202E_206F_202E(elementId, (ElementId)null)) ? 1144232112 : 1144232113); + while (true) { - 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"); + int num16 = num; + num3 = 1144232112; + num4 = num16; + int num17 = num4 + num3; + int num18 = num4 & num3; + switch (num17 - (num18 + num18)) + { + case 2: + num = 1144232113; + break; + case 1: + base.Configuration.General.BlacklistedQuests.Remove(elementId); + Save(); + num = 1144232112; + break; + case 0: + goto end_IL_06aa; + } + continue; + end_IL_06aa: + break; } } - num++; + goto end_IL_00e5; } - if (elementId != null) - { - base.Configuration.General.BlacklistedQuests.Remove(elementId); - Save(); } - } - 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(); + continue; + end_IL_00e5: + break; } } } _questSelector.DrawSelection(); - if (blacklistedQuests.Count <= 0) + num = ((blacklistedQuests.Count <= 0) ? (-192150721) : (-192150722)); + while (true) { - return; - } - using (ImRaii.Disabled(!ImGui.IsKeyDown(ImGuiKey.ModCtrl))) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Trash, "Clear All")) + int num19 = num; + int num3 = -192150723; + int num4 = num19; + int num20 = num4 + num3; + int num21 = num4 & num3; + switch (num20 - (num21 + num21)) { + case 0: + num = -192150722; + break; + case 1: base.Configuration.General.BlacklistedQuests.Clear(); Save(); + num = -192150721; + break; + case 2: + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + return; + case 3: + num = ((!UiThemeUtils.DestructiveButton(FontAwesomeIcon.Trash, global::_003CModule_003E._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(-629121547))) ? (-192150721) : (-192150724)); + break; } } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip("Hold CTRL to enable this button."); - } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawCurrentlyAcceptedQuests() { List currentlyAcceptedQuests = GetCurrentlyAcceptedQuests(); - ImGui.Text("Currently Accepted Quests:"); - using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("AcceptedQuestsList", new Vector2(-1f, 100f), border: true)) + _200E_200C_206B_206B_206B_206C_206B_206C_200F_206A_206A_206E_200B_206F_202A_202B_206A_200E_202B_206D_202C_200B_202B_202B_200D_206A_202D_206B_202E_200D_206C_202D_206C_202B_206B_202A_200E_200D_200D_206C_202E((ImU8String)global::_003CModule_003E._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(-1422852424)); + using (ImRaii.ChildDisposable childDisposable = _206A_206C_200F_206B_206E_206C_206C_206E_202B_202C_206D_200C_206F_202E_200E_202D_206D_202D_202C_200B_206B_200C_202B_206C_200B_202A_202B_202D_202D_202B_202E_202B_206C_206B_202E_200B_202A_200D_202B_206B_202E((ImU8String)global::_003CModule_003E._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(-985352135), new Vector2(-1f, 100f), true)) { if ((bool)childDisposable) { - if (currentlyAcceptedQuests.Count > 0) + int num = -1956510770; + bool flag2 = default(bool); + while (true) { - foreach (Quest item in currentlyAcceptedQuests) + int num2 = num; + int num3 = -1956510769; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - ImU8String id = new ImU8String(13, 1); - id.AppendLiteral("AcceptedQuest"); - id.AppendFormatted(item.Id); - using (ImRaii.PushId(id)) + case 2: + num = -1956510770; + break; + case 1: + if (currentlyAcceptedQuests.Count > 0) { - (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()) + num = -1956510769; + break; + } + UiThemeUtils.EmptyState(FontAwesomeIcon.BookOpen, global::_003CModule_003E._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(2044011202)); + goto end_IL_0057; + case 0: + { + using (ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(929260577), 2)) + { + if (!(bool)tableDisposable) { - ImGui.AlignTextToFramePadding(); - ImGui.TextColored(flag2 ? new Vector4(0.5f, 0.5f, 0.5f, 1f) : questStyle.Item1, questStyle.Item2.ToIconString()); - flag = ImGui.IsItemHovered(); + goto end_IL_0057; } - 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()) + _200C_202A_206C_206C_200D_206E_202A_202B_202D_202B_202B_202B_202E_200E_202A_200B_200B_202B_206F_202E_206C_206A_202A_200C_206B_202E_206B_206C_200F_202C_200D_200C_202A_206F_200D_200E_206A_206C_200C_202E((ImU8String)global::_003CModule_003E._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(-2012877671), ImGuiTableColumnFlags.WidthStretch, 0f, 0u); + _200C_202A_206C_206C_200D_206E_202A_202B_202D_202B_202B_202B_202E_200E_202A_200B_200B_202B_206F_202E_206C_206A_202A_200C_206B_202E_206B_206C_200F_202C_200D_200C_202A_206F_200D_200E_206A_206C_200C_202E((ImU8String)global::_003CModule_003E._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(1290170824), ImGuiTableColumnFlags.WidthFixed, 40f * _200D_206C_202B_200E_206A_206E_206F_202D_202C_206E_200C_200C_206A_202B_206C_200E_200F_202E_206A_200B_202D_202D_200F_200F_206C_200B_206C_200F_202A_206E_202A_200C_202B_206C_202B_200E_200E_206C_200B_206A_202E().FontGlobalScale, 0u); + foreach (Quest item in currentlyAcceptedQuests) { - _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)) + _202C_206B_200B_200E_206C_200C_206D_202E_202B_206A_202E_206C_202B_200D_202C_200D_200D_200D_206E_200D_206F_206A_206C_200E_206D_200F_202B_200B_200B_206C_206A_200B_200D_202E_202B_206C_206D_200C_200E_202C_202E(); + ImU8String imU8String = new ImU8String(13, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1920255216)); + imU8String.AppendFormatted(item.Id); + ImRaii.IdDisposable idDisposable = _200C_200F_200B_202C_206D_200D_206B_202E_200B_202C_202D_202C_200B_202B_202A_202C_202C_202D_206F_202C_200D_200E_200F_202C_202E_206F_206C_206B_200B_200F_202C_206E_202E_202A_202E_200F_200B_202A_202C_200D_202E(imU8String, true); + try { - base.Configuration.General.BlacklistedQuests.Add(item.Id); - Save(); + (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(item.Id); + bool flag = base.Configuration.General.BlacklistedQuests.Contains(item.Id); + if (_202C_202A_206F_206A_206E_206E_202D_200D_200B_200B_202B_200D_200B_200E_206B_206B_202B_202D_202E_206F_206D_206F_206A_200E_202E_202E_202E_200E_206D_202B_200E_200B_206A_202E_206F_200E_200F_200F_202C_202E()) + { + IDisposable disposable = _202E_206D_200F_206D_202A_202D_202B_202D_200C_202B_206A_200C_200D_202D_202D_200E_202C_206E_200D_202D_202B_202E_200B_202B_200F_206B_206A_206D_206B_206C_206F_200C_202C_200D_206D_202B_200E_206E_206D_206D_202E(_200D_202C_206A_206F_202D_202A_206C_202D_200B_202D_206C_202B_202D_202B_200B_206A_206E_200F_202D_206B_200F_200F_206C_206F_200D_200E_202B_200C_206F_206D_202B_206F_200C_202A_202D_206C_202D_200C_206A_200F_202E(_200D_200C_206A_200B_200F_202D_206C_206D_206D_200D_202A_202C_206F_206D_206A_200E_202E_202B_206E_202A_206B_200E_206C_200F_202E_200E_206D_202D_206F_200D_202C_202C_200F_206D_206D_206F_202D_200F_200E_202B_202E(_pluginInterface))); + try + { + _202C_206E_206A_206F_200B_206A_202D_200E_206A_202E_202E_202E_202B_200B_206B_206B_206E_206E_200D_200D_206F_200B_202D_200E_206B_200E_206A_206C_200C_206F_200F_200D_202A_200D_200C_206E_200C_200B_202C_206A_202E(); + num = (flag ? 1132065903 : 1132065900); + Vector4 vector; + while (true) + { + int num5 = num; + num3 = 1132065902; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + goto IL_01fa; + case 2: + vector = questStyle.Item1; + break; + case 1: + vector = UiThemeUtils.MutedTextColor; + break; + } + break; + IL_01fa: + num = 1132065900; + } + Vector4 vector2 = vector; + _202D_200E_200F_202D_200B_206C_206E_202C_206B_202E_202A_202A_202D_206B_202D_202B_202B_206C_200E_206E_202C_200E_200D_202E_200C_200D_200C_206E_206E_202B_200F_200D_202A_200F_202D_206B_200E_200C_202A_202B_202E(ref vector2, (ImU8String)_202C_202A_206B_206B_202D_200B_206E_202C_202D_206D_206E_200C_202C_206E_206B_202A_200B_206D_206F_206B_206F_200E_206F_202D_200B_206D_200F_206C_206D_206A_206E_202B_206F_202D_200B_202A_200D_200F_200E_206F_202E(questStyle.Item2)); + flag2 = _200F_202B_200B_200C_200C_202A_200F_206B_206B_200D_202A_206E_206A_202B_206A_200B_206E_202D_200E_206E_200B_200D_200B_200C_206D_202C_200D_206A_206B_206D_200C_206B_206D_206F_202A_206E_206D_206D_202D_200C_202E(); + } + finally + { + num = ((disposable == null) ? 869555062 : 869555061); + while (true) + { + int num6 = num; + num3 = 869555060; + num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0268; + case 1: + _202B_206F_202A_206C_202E_202C_206E_202B_206B_200C_200C_202B_200B_206A_200B_206E_202D_202D_202B_206E_206B_206B_200F_202D_202C_200B_200D_202D_206C_200E_200C_202D_206C_206B_206F_202D_200F_206A_200F_206F_202E(disposable); + num = 869555062; + break; + case 0: + num = 869555061; + break; + } + continue; + end_IL_0268: + break; + } + } + _202B_202B_200F_206F_200C_206B_202B_202E_200B_202B_206A_200E_206B_206E_202C_206C_206A_200E_206D_206E_202C_206E_202C_206C_200D_206A_200D_202C_202A_200F_202B_206D_206A_206E_200F_206A_200C_200C_200B_200D_202E(); + _202C_206E_206A_206F_200B_206A_202D_200E_206A_202E_202E_202E_202B_200B_206B_206B_206E_206E_200D_200D_206F_200B_202D_200E_206B_200E_206A_206C_200C_206F_200F_200D_202A_200D_200C_206E_200C_200B_202C_206A_202E(); + num = ((!flag) ? (-1825666612) : (-1825666614)); + goto IL_02dd; + } + goto IL_0327; + IL_0327: + if (_202C_202A_206F_206A_206E_206E_202D_200D_200B_200B_202B_200D_200B_200E_206B_206B_202B_202D_202E_206F_206D_206F_206A_200E_202E_202E_202E_200E_206D_202B_200E_200B_206A_202E_206F_200E_200F_200F_202C_202E()) + { + num = -1825666609; + goto IL_02dd; + } + goto end_IL_0157; + IL_02dd: + while (true) + { + int num7 = num; + num3 = -1825666609; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + default: + continue; + case 6: + num = -1825666614; + continue; + case 2: + break; + case 1: + flag2 |= _200F_202B_200B_200C_200C_202A_200F_206B_206B_200D_202A_206E_206A_202B_206A_200B_206E_202D_200E_206E_200B_200D_200B_200C_206D_202C_200D_206A_206B_206D_200C_206B_206D_206F_202A_206E_206D_206D_202D_200C_202E(); + num = ((!flag2) ? (-1825666611) : (-1825666613)); + continue; + case 3: + UiThemeUtils.RowLabel(item.Info.Name, 0f); + num = -1825666610; + continue; + case 5: + UiThemeUtils.RowLabel(item.Info.Name, 0f, UiThemeUtils.DimTextColor); + num = -1825666610; + continue; + case 4: + _questTooltipComponent.Draw(item.Info); + num = -1825666611; + continue; + case 0: + { + ImRaii.DisabledDisposable disabledDisposable = _206D_202C_202C_202C_200C_200F_206B_206A_202B_206F_206F_202B_202E_206F_206D_200E_200E_206B_206C_202C_202B_200B_206D_206D_200D_206D_202A_200D_206D_206B_206C_206F_202E_202E_202D_202A_202B_200D_202E_202D_202E(flag); + try + { + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Ban, _206A_202E_200C_202A_206F_200C_202E_202C_206F_206E_200D_200E_202B_200F_206A_206D_206F_206B_202C_202C_200E_200B_202E_200E_202A_206B_200D_206F_202D_200C_202B_206B_206E_200B_206F_206C_202C_200F_200E_206C_202E())) ? 1915449733 : 1915449734); + while (true) + { + int num10 = num; + num3 = 1915449732; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + num = 1915449734; + break; + case 2: + base.Configuration.General.BlacklistedQuests.Add(item.Id); + Save(); + num = 1915449733; + break; + case 1: + goto end_IL_0402; + } + continue; + end_IL_0402: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? 1331263650 : 1331263649); + while (true) + { + int num13 = num; + num3 = 1331263648; + num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 0: + num = 1331263649; + break; + case 2: + goto end_IL_048f; + case 1: + _202B_206F_202A_206C_202E_202C_206E_202B_206B_200C_200C_202B_200B_206A_200B_206E_202D_202D_202B_206E_206B_206B_200F_202D_202C_200B_200D_202D_206C_200E_200C_202D_206C_206B_206F_202D_200F_206A_200F_206F_202E((IDisposable)disabledDisposable); + num = 1331263650; + break; + } + continue; + end_IL_048f: + break; + } + } + num = ((!_206F_206F_206E_202E_206C_202B_200F_202A_202E_200F_202C_202A_206D_206B_200E_200B_200F_200D_206F_200B_200D_200E_200B_202E_200D_200E_200C_206A_200B_200E_200F_202D_200E_200F_200D_206E_206D_206A_206F_202C_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-1781701479) : (-1781701478)); + while (true) + { + int num16 = num; + num3 = -1781701480; + num4 = num16; + int num17 = num4 + num3; + int num18 = num4 & num3; + string text; + switch (num17 - (num18 + num18)) + { + case 3: + text = global::_003CModule_003E._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(-1464111886); + goto IL_055f; + case 4: + text = global::_003CModule_003E._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(340412450); + goto IL_055f; + case 0: + num = -1781701478; + break; + case 2: + num = (flag ? (-1781701476) : (-1781701477)); + break; + case 1: + goto end_IL_0504; + IL_055f: + _202A_200B_202B_200B_200C_200F_202D_206A_206C_200F_202B_200F_200C_206A_200E_202C_200C_200F_200B_202A_206C_206F_200F_202C_202D_202D_206D_206B_202E_200B_202B_206D_206F_202B_206E_206C_206F_200F_202D_206E_202E((ImU8String)text); + num = -1781701479; + break; + } + continue; + end_IL_0504: + break; + } + goto end_IL_02dd; + } + } + goto IL_0327; + continue; + end_IL_02dd: + break; + } + end_IL_0157:; + } + finally + { + num = ((idDisposable == null) ? (-466146924) : (-466146921)); + while (true) + { + int num19 = num; + num3 = -466146923; + num4 = num19; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -466146921; + break; + case 2: + _202B_206F_202A_206C_202E_202C_206E_202B_206B_200C_200C_202B_200B_206A_200B_206E_202D_202D_202B_206E_206B_206B_200F_202D_202C_200B_200D_202D_206C_200E_200C_202D_206C_206B_206F_202D_200F_206A_200F_206F_202E((IDisposable)idDisposable); + num = -466146924; + break; + case 1: + goto end_IL_05c4; + } + continue; + end_IL_05c4: + break; + } } } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip(flag2 ? "Quest already blacklisted" : "Add this quest to blacklist"); - } } + goto end_IL_0057; } - } - else - { - ImGui.PushStyleColor(ImGuiCol.Text, new Vector4(0.7f, 0.7f, 0.7f, 1f)); - ImGui.TextWrapped("No quests currently accepted"); - ImGui.PopStyleColor(); + } + continue; + end_IL_0057: + break; } } } + _202E_200F_202E_206C_202A_206D_206D_200F_200C_206F_200B_206F_202A_200C_206C_206D_200D_202E_200E_202D_200C_206A_202B_206F_206C_206A_202C_206F_206C_202C_200E_202C_200D_202E_202D_200C_206C_200D_206A_202B_202E(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private List GetCurrentlyAcceptedQuests() + { + int num = ((_202A_206C_206E_206C_202B_202C_206C_206D_202E_200E_206F_206B_200E_200F_202B_200B_206B_206C_202A_206A_202E_206E_206D_206D_202E_206D_206A_202B_202E_206B_200B_200D_202C_200E_200C_206B_200F_202C_206E_202A_202E() >= _nextAcceptedQuestsRefreshMs) ? 1772221031 : 1772221028); + Quest current = default(Quest); + while (true) + { + int num2 = num; + int num3 = 1772221029; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0056; + case 1: + return _acceptedQuestsCache; + case 2: + { + _nextAcceptedQuestsRefreshMs = _202A_206C_206E_206C_202B_202C_206C_206D_202E_200E_206F_206B_200E_200F_202B_200B_206B_206C_202A_206A_202E_206E_206D_206D_202E_206D_206A_202B_202E_206B_200B_200D_202C_200E_200C_206B_200F_202C_206E_202A_202E() + 1000; + List list = new List(); + try + { + IEnumerator enumerator = _questRegistry.AllQuests.GetEnumerator(); + try + { + num = 1659113913; + while (true) + { + int num7 = num; + num3 = 1659113914; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1659113913; + break; + case 1: + current = enumerator.Current; + num = ((!_questFunctions.IsQuestAccepted(current.Id)) ? 1659113913 : 1659113914); + break; + case 0: + list.Add(current); + num = 1659113913; + break; + case 3: + num = (_206A_206A_202E_200F_200D_202E_206B_202D_206A_206E_202C_206A_202E_202D_206E_200F_200F_202B_200C_206D_206D_202D_202D_200E_200E_206A_202D_200B_206B_202D_206C_202C_206C_206A_202B_200D_206B_206D_206C_206F_202E((IEnumerator)enumerator) ? 1659113915 : 1659113918); + break; + case 4: + goto end_IL_009e; + } + continue; + end_IL_009e: + break; + } + } + finally + { + num = ((enumerator == null) ? 1357981513 : 1357981512); + while (true) + { + int num8 = num; + num3 = 1357981513; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = 1357981512; + break; + case 0: + goto end_IL_016c; + case 1: + _202B_206F_202A_206C_202E_202C_206E_202B_206B_200C_200C_202B_200B_206A_200B_206E_202D_202D_202B_206E_206B_206B_200F_202D_202C_200B_200D_202D_206C_200E_200C_202D_206C_206B_206F_202D_200F_206A_200F_206F_202E((IDisposable)enumerator); + num = 1357981513; + break; + } + continue; + end_IL_016c: + break; + } + } + list.Sort((Quest a, Quest b) => _003C_003Ec._202E_202B_200C_200D_200E_206F_206D_206B_206F_200C_206E_206B_206D_206D_200D_206B_202C_206C_206E_200D_202B_206D_206F_202D_206A_206C_202E_206E_202D_202B_202D_200F_206D_202C_202C_202B_200C_200E_202C_206F_202E(a.Info.Name, b.Info.Name, StringComparison.OrdinalIgnoreCase)); + } + catch (Exception ex) + { + _206B_200F_200C_200E_200E_206E_200E_206C_206D_206C_200F_200B_200D_202E_206F_206D_202D_206B_200B_206C_206E_200E_206A_202A_200B_202A_200D_202D_206D_202D_202E_202C_206B_202D_206A_206B_202A_200F_200E_202C_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-771414447), Array.Empty()); + list.Clear(); + } + _acceptedQuestsCache = list; + return list; + } + } + continue; + IL_0056: + num = 1772221028; + } + } + + static void _202E_206F_200B_206A_200B_206B_206E_202B_206C_202C_202A_206E_202D_206C_200F_206B_200E_202E_202A_206B_206F_200E_202B_200C_202C_202B_200C_206A_206A_206F_200D_202A_206D_206C_202B_206D_206D_200E_200B_206A_202E(ImU8String P_0) + { + ImGui.TextWrapped(P_0); + } + + static void _200E_200C_206B_206B_206B_206C_206B_206C_200F_206A_206A_206E_200B_206F_202A_202B_206A_200E_202B_206D_202C_200B_202B_202B_200D_206A_202D_206B_202E_200D_206C_202D_206C_202B_206B_202A_200E_200D_200D_206C_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static ImRaii.ChildDisposable _206A_206C_200F_206B_206E_206C_206C_206E_202B_202C_206D_200C_206F_202E_200E_202D_206D_202D_202C_200B_206B_200C_202B_206C_200B_202A_202B_202D_202D_202B_202E_202B_206C_206B_202E_200B_202A_200D_202B_206B_202E(ImU8String P_0, Vector2 P_1, bool P_2) + { + return ImRaii.Child(P_0, P_1, P_2); + } + + static void _200C_202A_206C_206C_200D_206E_202A_202B_202D_202B_202B_202B_202E_200E_202A_200B_200B_202B_206F_202E_206C_206A_202A_200C_206B_202E_206B_206C_200F_202C_200D_200C_202A_206F_200D_200E_206A_206C_200C_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static ImGuiIOPtr _200D_206C_202B_200E_206A_206E_206F_202D_202C_206E_200C_200C_206A_202B_206C_200E_200F_202E_206A_200B_202D_202D_200F_200F_206C_200B_206C_200F_202A_206E_202A_200C_202B_206C_202B_200E_200E_206C_200B_206A_202E() + { + return ImGui.GetIO(); + } + + static void _202C_206B_200B_200E_206C_200C_206D_202E_202B_206A_202E_206C_202B_200D_202C_200D_200D_200D_206E_200D_206F_206A_206C_200E_206D_200F_202B_200B_200B_206C_206A_200B_200D_202E_202B_206C_206D_200C_200E_202C_202E() + { + ImGui.TableNextRow(); + } + + static ImRaii.IdDisposable _200C_200F_200B_202C_206D_200D_206B_202E_200B_202C_202D_202C_200B_202B_202A_202C_202C_202D_206F_202C_200D_200E_200F_202C_202E_206F_206C_206B_200B_200F_202C_206E_202E_202A_202E_200F_200B_202A_202C_200D_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static bool _202C_202A_206F_206A_206E_206E_202D_200D_200B_200B_202B_200D_200B_200E_206B_206B_202B_202D_202E_206F_206D_206F_206A_200E_202E_202E_202E_200E_206D_202B_200E_200B_206A_202E_206F_200E_200F_200F_202C_202E() + { + return ImGui.TableNextColumn(); + } + + static void _202C_206E_206A_206F_200B_206A_202D_200E_206A_202E_202E_202E_202B_200B_206B_206B_206E_206E_200D_200D_206F_200B_202D_200E_206B_200E_206A_206C_200C_206F_200F_200D_202A_200D_200C_206E_200C_200B_202C_206A_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static void _202D_200E_200F_202D_200B_206C_206E_202C_206B_202E_202A_202A_202D_206B_202D_202B_202B_206C_200E_206E_202C_200E_200D_202E_200C_200D_200C_206E_206E_202B_200F_200D_202A_200F_202D_206B_200E_200C_202A_202B_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static float _206A_202E_200C_202A_206F_200C_202E_202C_206F_206E_200D_200E_202B_200F_206A_206D_206F_206B_202C_202C_200E_200B_202E_200E_202A_206B_200D_206F_202D_200C_202B_206B_206E_200B_206F_206C_202C_200F_200E_206C_202E() + { + return ImGui.GetFrameHeight(); + } + + static IUiBuilder _200D_200C_206A_200B_200F_202D_206C_206D_206D_200D_202A_202C_206F_206D_206A_200E_202E_202B_206E_202A_206B_200E_206C_200F_202E_200E_206D_202D_206F_200D_202C_202C_200F_206D_206D_206F_202D_200F_200E_202B_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _200D_202C_206A_206F_202D_202A_206C_202D_200B_202D_206C_202B_202D_202B_200B_206A_206E_200F_202D_206B_200F_200F_206C_206F_200D_200E_202B_200C_206F_206D_202B_206F_200C_202A_202D_206C_202D_200C_206A_200F_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _202E_206D_200F_206D_202A_202D_202B_202D_200C_202B_206A_200C_200D_202D_202D_200E_202C_206E_200D_202D_202B_202E_200B_202B_200F_206B_206A_206D_206B_206C_206F_200C_202C_200D_206D_202B_200E_206E_206D_206D_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static string _202C_202A_206B_206B_202D_200B_206E_202C_202D_206D_206E_200C_202C_206E_206B_202A_200B_206D_206F_206B_206F_200E_206F_202D_200B_206D_200F_206C_206D_206A_206E_202B_206F_202D_200B_202A_200D_200F_200E_206F_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static bool _200F_202B_200B_200C_200C_202A_200F_206B_206B_200D_202A_206E_206A_202B_206A_200B_206E_202D_200E_206E_200B_200D_200B_200C_206D_202C_200D_206A_206B_206D_200C_206B_206D_206F_202A_206E_206D_206D_202D_200C_202E() + { + return ImGui.IsItemHovered(); + } + + static void _202B_206F_202A_206C_202E_202C_206E_202B_206B_200C_200C_202B_200B_206A_200B_206E_202D_202D_202B_206E_206B_206B_200F_202D_202C_200B_200D_202D_206C_200E_200C_202D_206C_206B_206F_202D_200F_206A_200F_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202B_202B_200F_206F_200C_206B_202B_202E_200B_202B_206A_200E_206B_206E_202C_206C_206A_200E_206D_206E_202C_206E_202C_206C_200D_206A_200D_202C_202A_200F_202B_206D_206A_206E_200F_206A_200C_200C_200B_200D_202E() + { + ImGui.SameLine(); + } + + static void _202A_200B_202B_200B_200C_200F_202D_206A_206C_200F_202B_200F_200C_206A_200E_202C_200C_200F_200B_202A_206C_206F_200F_202C_202D_202D_206D_206B_202E_200B_202B_206D_206F_202B_206E_206C_206F_200F_202D_206E_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static bool _206A_206A_202E_200F_200D_202E_206B_202D_206A_206E_202C_206A_202E_202D_206E_200F_200F_202B_200C_206D_206D_202D_202D_200E_200E_206A_202D_200B_206B_202D_206C_202C_206C_206A_202B_200D_206B_206D_206C_206F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static bool _202E_202C_200E_206B_206B_206F_206A_200E_202B_206A_202B_206E_202D_202C_202D_200F_202B_200E_202D_200B_206D_202C_202B_206E_202D_206B_200C_206B_200F_202A_200D_202C_206D_206E_206B_200D_206C_206A_202E_206F_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static ImRaii.DisabledDisposable _206D_202C_202C_202C_200C_200F_206B_206A_202B_206F_206F_202B_202E_206F_206D_200E_200E_206B_206C_202C_202B_200B_206D_206D_200D_206D_202A_200D_206D_206B_206C_206F_202E_202E_202D_202A_202B_200D_202E_202D_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static bool _206F_206F_206E_202E_206C_202B_200F_202A_202E_200F_202C_202A_206D_206B_200E_200B_200F_200D_206F_200B_200D_200E_200B_202E_200D_200E_200C_206A_200B_200E_200F_202D_200E_200F_200D_206E_206D_206A_206F_202C_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static void _202E_200F_202E_206C_202A_206D_206D_200F_200C_206F_200B_206F_202A_200C_206C_206D_200D_202E_200E_202D_200C_206A_202B_206F_206C_206A_202C_206F_206C_202C_200E_202C_200D_202E_202D_200C_206C_200D_206A_202B_202E() + { ImGui.Spacing(); } - private List GetCurrentlyAcceptedQuests() + static long _202A_206C_206E_206C_202B_202C_206C_206D_202E_200E_206F_206B_200E_200F_202B_200B_206B_206C_202A_206A_202E_206E_206D_206D_202E_206D_206A_202B_202E_206B_200B_200D_202C_200E_200C_206B_200F_202C_206E_202A_202E() { - List list = new List(); - try - { - foreach (Quest allQuest in _questRegistry.AllQuests) - { - if (_questFunctions.IsQuestAccepted(allQuest.Id)) - { - list.Add(allQuest); - } - } - list.Sort((Quest a, Quest b) => string.Compare(a.Info.Name, b.Info.Name, StringComparison.OrdinalIgnoreCase)); - } - catch (Exception) - { - list.Clear(); - } - return list; + return Environment.TickCount64; + } + + static void _206B_200F_200C_200E_200E_206E_200E_206C_206D_206C_200F_200B_200D_202E_206F_206D_202D_206B_200B_206C_206E_200E_206A_202A_200B_202A_200D_202D_206D_202D_202E_202C_206B_202D_206A_206B_202A_200F_200E_202C_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogDebug(P_1, P_2, P_3); } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/ConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/ConfigComponent.cs index 13aed72d..50f688d5 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/ConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/ConfigComponent.cs @@ -1,10 +1,19 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Bindings.ImGui; +using Dalamud.Configuration; 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,24 +25,27 @@ internal abstract class ConfigComponent protected const string DutyBlacklistPrefix = "-"; + private const string ModePrefix = "M:"; + protected readonly string[] SupportedCfcOptions = new string[3] { - $"{SeIconChar.Circle.ToIconChar()} Enabled (Default)", - $"{SeIconChar.Circle.ToIconChar()} Enabled", - $"{SeIconChar.Cross.ToIconChar()} Disabled" + global::_003CModule_003E._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(-1807221551), + global::_003CModule_003E._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(380812930), + global::_003CModule_003E._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(2101114993) }; protected readonly string[] UnsupportedCfcOptions = new string[3] { - $"{SeIconChar.Cross.ToIconChar()} Disabled (Default)", - $"{SeIconChar.Circle.ToIconChar()} Enabled", - $"{SeIconChar.Cross.ToIconChar()} Disabled" + global::_003CModule_003E._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(131074132), + global::_003CModule_003E._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(429773793), + global::_003CModule_003E._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(1347834949) }; private readonly IDalamudPluginInterface _pluginInterface; protected Configuration Configuration { get; } + [MethodImpl(MethodImplOptions.NoInlining)] protected ConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration) { _pluginInterface = pluginInterface; @@ -44,45 +56,614 @@ internal abstract class ConfigComponent protected void Save() { - _pluginInterface.SavePluginConfig(Configuration); + _202D_206A_206C_206D_202D_206D_202A_200C_202E_202B_206A_206D_206D_202C_200C_206E_206A_202E_202C_202E_206E_206F_200C_206E_200E_206E_206E_206E_200B_202B_206A_206F_206F_202B_206D_202E_202A_202D_202C_206B_202E(_pluginInterface, (IPluginConfiguration)Configuration); } protected static string FormatLevel(int level, bool includePrefix = true) { - if (level == 0) + int num = ((level != 0) ? (-1915937495) : (-1915937494)); + while (true) { - return string.Empty; + int num2 = num; + int num3 = -1915937496; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return $"{(includePrefix ? _200E_206D_202B_200B_202C_206F_202E_200E_200D_206E_206D_206A_200E_206B_202C_202D_200F_206D_206A_206E_202C_202E_206D_202A_202B_206E_202C_202D_202A_206F_200C_206A_200B_202D_200C_202E_206E_202B_202C_202D_202E(SeIconChar.LevelEn) : string.Empty)}{FormatLevel(level / 10, includePrefix: false)}{_202B_202A_206D_206F_200B_200F_200E_200D_200D_202D_200E_206B_202E_200F_202C_206C_202E_202D_206F_206C_200D_200B_206C_200C_200F_206E_200C_206B_202B_202E_202C_206E_200E_206D_206D_202D_206A_202B_202C_200C_202E((SeIconChar)(57440 + level % 10))}"; + case 2: + return string.Empty; + case 0: + goto IL_00a2; + } + continue; + IL_00a2: + num = -1915937494; } - return $"{(includePrefix ? SeIconChar.LevelEn.ToIconString() : string.Empty)}{FormatLevel(level / 10, includePrefix: false)}{((SeIconChar)(57440 + level % 10)).ToIconChar()}"; } + [MethodImpl(MethodImplOptions.NoInlining)] protected static void DrawNotes(bool enabledByDefault, IEnumerable notes) { - using ImRaii.ColorDisposable colorDisposable = new ImRaii.ColorDisposable(); - colorDisposable.Push(ImGuiCol.TextDisabled, (!enabledByDefault) ? ImGuiColors.DalamudYellow : ImGuiColors.ParsedBlue); - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) + ImRaii.ColorDisposable colorDisposable = _202D_200E_206F_200F_200B_206A_200C_206E_206B_206E_200B_202D_202C_202C_206C_200D_202C_200F_206C_202E_202B_200E_202D_202C_206F_206B_206A_200C_200C_202D_206B_206F_206F_200D_202D_206A_202E_200E_202B_206F_202E(); + try { - if (!enabledByDefault) + _206E_206E_202A_202B_202E_202C_202B_200F_200B_206E_200D_200D_206F_202C_200C_202D_206C_206A_202E_202A_206F_200E_202C_200E_200F_206C_200E_202E_202B_200C_202D_200E_206C_200F_200C_200D_200F_206F_206E_202A_202E(colorDisposable, ImGuiCol.TextDisabled, (!enabledByDefault) ? UiThemeUtils.StatusActive : UiThemeUtils.StatusAvailableComplete, true); + _206F_206D_202C_206B_206D_200F_200D_206E_206C_200B_200E_202B_200B_206A_200C_200D_200E_206C_202D_200D_200B_202D_202E_202A_206A_202B_202E_200C_202C_206D_206D_200E_206A_206B_206C_206D_206C_206C_202C_206D_202E(); + ImRaii.FontDisposable fontDisposable = _202B_200D_200B_200F_206E_202D_206A_200E_206C_202E_202E_206C_202A_206E_202A_200E_202C_206B_206E_206F_200B_200D_200B_202C_200F_206C_206D_206B_200D_202D_206F_202B_202C_202B_206A_206E_200B_206B_206E_200D_202E(_202A_200C_202B_206A_202B_202E_200E_200C_202C_202D_200B_202C_206F_200B_206D_200D_206B_206A_200B_206F_206E_206C_206A_206C_202D_206B_200C_200B_200F_202C_206E_200E_206B_206B_202B_206D_206E_206E_202A_206D_202E(), true); + int num; + try { - ImGui.TextDisabled(FontAwesomeIcon.ExclamationTriangle.ToIconString()); + num = (enabledByDefault ? (-1607405850) : (-1607405851)); + while (true) + { + int num2 = num; + int num3 = -1607405852; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0081; + case 1: + _206E_206F_200D_202E_200E_206B_206B_206F_200C_206C_202E_206D_200E_200E_202A_206E_206F_206E_202C_200E_202E_202E_202B_206F_202D_206D_206D_202D_200D_202D_200F_206D_200C_202C_200F_206E_200F_202D_202C_200D_202E((ImU8String)_202C_202B_206C_202E_200B_206D_200B_206D_200E_200B_200D_206C_200B_202B_206E_202D_200D_202C_206C_206D_200D_202C_202D_200D_200B_206B_200F_206C_206B_206D_202A_200F_200B_206B_200F_200C_200D_202E_202B_200F_202E(FontAwesomeIcon.ExclamationTriangle)); + goto end_IL_0053; + case 2: + _206E_206F_200D_202E_200E_206B_206B_206F_200C_206C_202E_206D_200E_200E_202A_206E_206F_206E_202C_200E_202E_202E_202B_206F_202D_206D_206D_202D_200D_202D_200F_206D_200C_202C_200F_206E_200F_202D_202C_200D_202E((ImU8String)_202C_202B_206C_202E_200B_206D_200B_206D_200E_200B_200D_206C_200B_202B_206E_202D_200D_202C_206C_206D_200D_202C_202D_200D_200B_206B_200F_206C_206B_206D_202A_200F_200B_206B_200F_200C_200D_202E_202B_200F_202E(FontAwesomeIcon.InfoCircle)); + goto end_IL_0053; + } + continue; + IL_0081: + num = -1607405851; + continue; + end_IL_0053: + break; + } } - else + finally { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); + num = ((fontDisposable == null) ? (-1267252928) : (-1267252927)); + while (true) + { + int num7 = num; + int num3 = -1267252928; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + num = -1267252927; + break; + case 1: + _202D_202B_202E_202D_202E_200C_200D_202B_200B_202E_200F_206A_202D_202D_200E_202D_202B_200F_202C_202E_206C_206B_202D_200F_200C_200C_200C_202D_200E_200C_202B_200D_200D_200C_206D_200C_200B_200B_206D_206E_202E((IDisposable)fontDisposable); + num = -1267252928; + break; + case 0: + goto end_IL_00e9; + } + continue; + end_IL_00e9: + break; + } + } + num = (_202D_200C_206A_200E_206E_206B_200B_206A_202D_202B_202C_202D_206E_206F_206F_200E_202E_206F_202D_206D_206E_202C_206D_200C_206F_206A_200C_206C_202B_206B_200E_202A_202C_200F_206F_202B_202B_202B_206F_200C_202E() ? 777277028 : 777277031); + while (true) + { + int num10 = num; + int num3 = 777277029; + int num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + goto IL_0186; + case 2: + return; + case 1: + using (_202B_206C_202A_206E_202E_202B_206F_200F_202C_206F_200B_206E_206D_200D_206B_206F_206D_200C_200B_202B_206E_206B_206E_200F_206F_206B_200D_202B_200E_206F_206D_202D_206D_206E_202B_200D_202E_206D_202C_206C_202E()) + { + _202E_202E_202C_206D_200F_206C_206F_202E_200D_202B_206A_200C_206A_206A_206C_202B_202B_206C_200F_200C_200D_202C_200F_206E_206D_206F_206A_200B_202B_206A_202D_200D_202A_206D_202B_206C_206D_202A_202D_206D_202E(ref UiThemeUtils.StatusActive, (ImU8String)global::_003CModule_003E._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(575964310)); + IEnumerator enumerator = notes.GetEnumerator(); + try + { + num = 1611844680; + while (true) + { + int num13 = num; + num3 = 1611844682; + num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = (_200E_202C_202E_200C_200C_202D_206C_206F_206B_206D_200C_206F_206B_206F_202E_206C_206E_202D_200F_206A_206E_206D_202D_202D_206E_200F_200B_202B_200D_202E_206D_202A_200C_200B_200C_200F_200F_202D_206C_200E_202E((IEnumerator)enumerator) ? 1611844683 : 1611844682); + break; + case 1: + _202A_206C_206B_202E_200D_206E_202A_202B_206F_206C_206B_200E_206F_206F_200F_206A_200C_202A_202D_202D_206A_202C_206C_200F_206A_206F_200D_206D_206E_200F_202B_200B_206E_206B_206A_200B_200D_206E_206B_206D_202E((ImU8String)enumerator.Current); + num = 1611844680; + break; + case 3: + num = 1611844680; + break; + case 0: + return; + } + } + } + finally + { + num = ((enumerator == null) ? (-1247894138) : (-1247894139)); + while (true) + { + int num14 = num; + num3 = -1247894140; + num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1247894139; + break; + case 2: + goto end_IL_0273; + case 1: + _202D_202B_202E_202D_202E_200C_200D_202B_200B_202E_200F_206A_202D_202D_200E_202D_202B_200F_202C_202E_206C_206B_202D_200F_200C_200C_200C_202D_200E_200C_202B_200D_200D_200C_206D_200C_200B_200B_206D_206E_202E((IDisposable)enumerator); + num = -1247894138; + break; + } + continue; + end_IL_0273: + break; + } + } + } + } + continue; + IL_0186: + num = 777277031; } } - if (!ImGui.IsItemHovered()) + finally { - return; - } - using (ImRaii.Tooltip()) - { - ImGui.TextColored(ImGuiColors.DalamudYellow, "While testing, the following issues have been found:"); - foreach (string note in notes) + int num = ((colorDisposable == null) ? (-697778220) : (-697778217)); + while (true) { - ImGui.BulletText(note); + int num15 = num; + int num3 = -697778219; + int num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -697778217; + break; + case 1: + goto end_IL_02e4; + case 2: + _202D_202B_202E_202D_202E_200C_200D_202B_200B_202E_200F_206A_202D_202D_200E_202D_202B_200F_202C_202E_206C_206B_202D_200F_200C_200C_200C_202D_200E_200C_202B_200D_200D_200C_206D_200C_200B_200B_206D_206E_202E((IDisposable)colorDisposable); + num = -697778220; + break; + } + continue; + end_IL_02e4: + break; } } } + + [MethodImpl(MethodImplOptions.NoInlining)] + protected void DrawClipboardButtons(string clipboardPrefix, HashSet whitelistedIds, HashSet blacklistedIds, Dictionary? modeOverrides = null) + { + ImRaii.DisabledDisposable disabledDisposable = _206C_206E_200C_206C_206E_206E_200F_202C_206F_202D_202E_202A_200B_200F_200E_206D_206A_200B_202D_202B_202B_200C_202E_202A_200C_202E_202D_202D_206E_206E_206B_202A_200B_202E_200C_202C_206D_200F_202D_202E_202E(whitelistedIds.Count + blacklistedIds.Count + (modeOverrides?.Count ?? 0) == 0); + int num; + try + { + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Copy, global::_003CModule_003E._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(1414767654))) ? 1188485484 : 1188485481); + IEnumerable enumerable = default(IEnumerable); + while (true) + { + int num2 = num; + int num3 = 1188485480; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + enumerable = enumerable.Concat(modeOverrides.Select([MethodImpl(MethodImplOptions.NoInlining)] (KeyValuePair x) => + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 3); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(1388362359)); + defaultInterpolatedStringHandler.AppendFormatted(x.Key); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1940061145)); + defaultInterpolatedStringHandler.AppendFormatted((int)x.Value); + return defaultInterpolatedStringHandler.ToStringAndClear(); + })); + num = 1188485480; + break; + case 1: + { + IEnumerable first = whitelistedIds.Select([MethodImpl(MethodImplOptions.NoInlining)] (uint x) => $"{global::_003CModule_003E._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(-1206370274)}{x}"); + IEnumerable second = blacklistedIds.Select([MethodImpl(MethodImplOptions.NoInlining)] (uint x) => $"{global::_003CModule_003E._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(-2079705286)}{x}"); + enumerable = first.Concat(second); + num = ((modeOverrides == null) ? 1188485480 : 1188485483); + break; + } + case 2: + num = 1188485481; + break; + case 0: + _202C_206E_200C_202B_202A_202B_206C_202E_206C_206B_206B_202D_206F_200D_200C_206C_200B_206D_206B_206E_206C_206B_200C_200D_206D_206E_202C_202B_202E_200B_202C_206D_206B_202E_200E_202E_200E_206E_206A_202A_202E((ImU8String)_206C_202B_206F_200D_206B_200C_200E_206B_200D_202D_206B_202A_200E_202E_202A_202E_206A_206A_200D_206D_200F_200B_202C_206D_200C_206E_206D_202E_202C_200C_200B_202A_206D_206A_202E_206C_200B_202E_200C_200F_202E(clipboardPrefix, _206C_202A_206E_202E_206D_202C_206F_202C_206C_200F_206F_200F_202D_206D_206D_200C_206B_206F_200B_200E_206E_206D_206C_202C_200C_206E_200E_200B_206B_206C_200F_200B_206B_206A_202E_206E_200F_206E_200C_202D_202E(_200C_202E_200E_202B_200C_202D_202A_206C_206B_202A_202A_202C_206B_206E_202A_202A_206B_200E_200B_200D_200C_200F_206E_200B_206D_202B_206B_200F_202D_202B_200D_202A_206B_200E_202E_206B_202D_206A_206F_200F_202E(_200C_200C_206B_200F_206D_200E_202D_202B_200D_202D_200B_200C_202E_200C_206A_202D_202D_200E_206B_206D_202A_200B_206B_206A_206B_200C_202A_200F_206A_206D_200E_206D_202A_206A_206E_206C_206F_200C_206F_202C_202E(), _200F_202A_202E_206A_200B_206C_206E_206F_206B_200D_200B_200F_206B_200D_202C_206C_200D_206B_200D_202E_206C_202D_200D_206D_200D_206B_202E_200D_206D_206F_200C_202B_202A_200E_200B_206F_200B_200B_200D_202B_202E(global::_003CModule_003E._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(1344195866), enumerable))))); + num = 1188485484; + break; + case 4: + goto end_IL_005c; + } + continue; + end_IL_005c: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-1379274858) : (-1379274859)); + while (true) + { + int num5 = num; + int num3 = -1379274857; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1379274859; + break; + case 1: + goto end_IL_01ad; + case 2: + _202D_202B_202E_202D_202E_200C_200D_202B_200B_202E_200F_206A_202D_202D_200E_202D_202B_200F_202C_202E_206C_206B_202D_200F_200C_200C_200C_202D_200E_200C_202B_200D_200D_200C_206D_200C_200B_200B_206D_206E_202E((IDisposable)disabledDisposable); + num = -1379274858; + break; + } + continue; + end_IL_01ad: + break; + } + } + _206F_206D_202C_206B_206D_200F_200D_206E_206C_200B_200E_202B_200B_206A_200C_200D_200E_206C_202D_200D_200B_202D_202E_202A_206A_202B_202E_200C_202C_206D_206D_200E_206A_206B_206C_206D_206C_206C_202C_206D_202E(); + string text = ThrottledClipboard.GetText(); + num = (_202B_206E_200E_206B_202A_206D_206F_206C_200E_202B_202E_206E_206B_206B_200E_206F_206F_202C_200C_202A_200B_206D_200E_200F_200C_202B_202C_202E_202B_200E_202E_206C_206A_202A_206B_202C_202B_202B_200D_200C_202E(text) ? 390106122 : 390106121); + int num7; + while (true) + { + int num6 = num; + int num3 = 390106120; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + goto IL_0252; + case 1: + num7 = ((!_202D_206F_200D_206A_200E_206D_200D_206E_200C_200D_200E_202E_200F_206A_206B_200D_206E_200E_200B_202C_202D_200E_206B_202C_200F_206F_202D_202A_200C_202D_200E_200C_200C_202E_200E_202D_200E_206C_206E_206E_202E(text, clipboardPrefix, StringComparison.InvariantCulture)) ? 1 : 0); + break; + case 2: + num7 = 1; + break; + } + break; + IL_0252: + num = 390106121; + } + disabledDisposable = _206C_206E_200C_206C_206E_206E_200F_202C_206F_202D_202E_202A_200B_200F_200E_206D_206A_200B_202D_202B_202B_200C_202E_202A_200C_202E_202D_202D_206E_206E_206B_202A_200B_202E_200C_202C_206D_200F_202D_202E_202E((byte)num7 != 0); + try + { + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Paste, global::_003CModule_003E._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(2037990506))) ? 291266974 : 291266962); + string text2 = default(string); + uint result2 = default(uint); + int result3 = default(int); + uint result4 = default(uint); + int num10 = default(int); + ReadOnlySpan span = default(ReadOnlySpan); + int num14 = default(int); + string[] array = default(string[]); + uint result = default(uint); + while (true) + { + int num8 = num; + int num3 = 291266975; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 16: + num = ((!uint.TryParse(_202D_206B_206C_206C_202A_206F_200C_206E_202A_206D_206E_200F_206D_200F_206F_202A_206F_202D_200C_206E_200C_200B_202B_202A_200E_200D_200B_202C_200D_202E_202B_200D_206F_202A_202C_206B_202E_206D_202E_200F_202E(text2, _206D_202A_202D_202D_206F_202B_206A_200E_206F_200F_202D_200C_200E_200C_202B_206B_200D_200B_206E_200B_200C_206D_206B_202E_206C_206F_206A_206E_206C_202B_206A_200D_202A_200C_200E_206C_200B_206A_200F_206D_202E(global::_003CModule_003E._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(195401427))), _206B_202D_200F_206C_202D_202D_206B_206B_200C_206E_202D_200B_202D_206B_206A_206C_206B_200F_206B_200F_206C_202B_200E_206E_202A_200C_200D_206A_200C_206F_206F_206F_200C_202D_206F_202B_202D_202D_202A_200D_202E(), out result2)) ? 291266967 : 291266972); + break; + case 0: + num = ((!_202D_206F_200D_206A_200E_206D_200D_206E_200C_200D_200E_202E_200F_206A_206B_200D_206E_200E_200B_202C_202D_200E_206B_202C_200F_206F_202D_202A_200C_202D_200E_200C_200C_202E_200E_202D_200E_206C_206E_206E_202E(text2, global::_003CModule_003E._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(1172231633), StringComparison.InvariantCulture)) ? 291266957 : 291266969); + break; + case 17: + num = ((!_202D_206C_202D_202D_202B_200C_206E_202C_202A_206A_200B_206E_206A_202E_200E_206E_202E_206C_200F_206F_200C_206E_202C_206E_200F_200C_202A_206A_202C_200C_200E_200E_202E_206E_200C_206D_206C_202A_206C_206E_202E(_200C_206A_206D_200C_206F_200C_200C_202D_202B_202C_206E_202B_200F_202D_200D_200D_202B_200C_206D_206F_200C_206F_206A_206A_200E_200D_206F_202C_206F_206F_200F_202D_206F_206E_200E_206E_206E_206C_200F_206C_202E(typeof(EDutyMode).TypeHandle), (object)result3)) ? 291266957 : 291266960); + break; + case 15: + modeOverrides[result4] = (EDutyMode)result3; + num = 291266957; + break; + case 12: + num = ((modeOverrides == null) ? 291266957 : 291266975); + break; + case 18: + { + int num9 = num10; + num3 = 1; + num4 = num9; + int num11 = num4 ^ num3; + int num12 = num4 & num3; + num10 = num11 + (num12 + num12); + num = 291266970; + break; + } + case 4: + num = ((!uint.TryParse(span.Slice(0, num14), _206B_202D_200F_206C_202D_202D_206B_206B_200C_206E_202D_200B_202D_206B_206A_206C_206B_200F_206B_200F_206C_202B_200E_206E_202A_200C_200D_206A_200C_206F_206F_206F_200C_202D_206F_202B_202D_202D_202A_200D_202E(), out result4)) ? 291266957 : 291266961); + break; + case 7: + text2 = array[num10]; + num = ((!_202D_206F_200D_206A_200E_206D_200D_206E_200C_200D_200E_202E_200F_206A_206B_200D_206E_200E_200B_202C_202D_200E_206B_202C_200F_206F_202D_202A_200C_202D_200E_200C_200C_202E_200E_202D_200E_206C_206E_206E_202E(text2, global::_003CModule_003E._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(195401427), StringComparison.InvariantCulture)) ? 291266967 : 291266959); + break; + case 3: + whitelistedIds.Add(result2); + num = 291266967; + break; + case 11: + Save(); + num = 291266974; + break; + case 13: + { + text = _202B_200E_206D_206D_202B_206C_206F_202B_206A_200B_202D_202C_206B_200D_202B_202E_200F_206C_200F_206A_206F_200C_200C_202B_200B_200D_200F_206D_206E_200D_206C_200D_202A_200B_202B_206D_200F_200C_206A_202D_202E(text, _206D_202C_206E_200E_206E_206E_200E_206C_200E_202D_202B_200F_206A_206A_200E_200B_206B_206B_206E_206F_206C_200B_202E_202A_202E_202C_206D_202D_202D_200B_200F_200B_200B_206E_206C_200C_200B_200F_200B_202B_202E(clipboardPrefix)); + string text3 = _206A_206C_200C_200D_206D_200C_202A_200B_202D_206C_206B_200F_206F_206D_206C_206B_206D_206D_206C_206A_200C_202D_206C_200D_206C_206F_202B_202E_202B_200F_200D_206A_200C_206D_200D_202C_200E_200E_206B_206C_202E(_200C_200C_206B_200F_206D_200E_202D_202B_200D_202D_200B_200C_202E_200C_206A_202D_202D_200E_206B_206D_202A_200B_206B_206A_206B_200C_202A_200F_206A_206D_200E_206D_202A_206A_206E_206C_206F_200C_206F_202C_202E(), _202D_202B_202D_202D_206E_200E_200F_206C_200C_202D_200D_202D_202E_206F_202D_202D_200B_206C_206E_202C_202D_200C_206D_202B_202A_202A_200F_200E_200C_200D_206D_206F_200B_206C_206B_200B_202C_200F_202C_202B_202E(text)); + whitelistedIds.Clear(); + blacklistedIds.Clear(); + modeOverrides?.Clear(); + array = _206E_200D_206D_202B_206A_206F_200F_206F_206F_200F_206D_202A_202E_200E_200E_206A_206C_206A_202C_202D_206E_200F_200F_206F_206D_200F_206D_206B_200D_202A_206F_200D_206A_206C_202A_202E_206D_200F_206B_200E_202E(text3, global::_003CModule_003E._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(-1892636274), StringSplitOptions.None); + num10 = 0; + num = 291266970; + break; + } + case 6: + span = _202D_206B_206C_206C_202A_206F_200C_206E_202A_206D_206E_200F_206D_200F_206F_202A_206F_202D_200C_206E_200C_200B_202B_202A_200E_200D_200B_202C_200D_202E_202B_200D_206F_202A_202C_206B_202E_206D_202E_200F_202E(text2, _206D_202A_202D_202D_206F_202B_206A_200E_206F_200F_202D_200C_200E_200C_202B_206B_200D_200B_206E_200B_200C_206D_206B_202E_206C_206F_206A_206E_206C_202B_206A_200D_202A_200C_200E_206C_200B_206A_200F_206D_202E(global::_003CModule_003E._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(-1478813362))); + num14 = span.IndexOf(':'); + num = ((num14 <= 0) ? 291266957 : 291266971); + break; + case 14: + { + int num13 = num14; + num3 = 1; + num4 = num13; + num = ((!int.TryParse(span.Slice((num4 | num3) + (num4 & num3)), _206B_202D_200F_206C_202D_202D_206B_206B_200C_206E_202D_200B_202D_206B_206A_206C_206B_200F_206B_200F_206C_202B_200E_206E_202A_200C_200D_206A_200C_206F_206F_206F_200C_202D_206F_202B_202D_202D_202A_200D_202E(), out result3)) ? 291266957 : 291266958); + break; + } + case 2: + num = ((!uint.TryParse(_202D_206B_206C_206C_202A_206F_200C_206E_202A_206D_206E_200F_206D_200F_206F_202A_206F_202D_200C_206E_200C_200B_202B_202A_200E_200D_200B_202C_200D_202E_202B_200D_206F_202A_202C_206B_202E_206D_202E_200F_202E(text2, _206D_202A_202D_202D_206F_202B_206A_200E_206F_200F_202D_200C_200E_200C_202B_206B_200D_200B_206E_200B_200C_206D_206B_202E_206C_206F_206A_206E_206C_202B_206A_200D_202A_200C_200E_206C_200B_206A_200F_206D_202E(global::_003CModule_003E._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(792471175))), _206B_202D_200F_206C_202D_202D_206B_206B_200C_206E_202D_200B_202D_206B_206A_206C_206B_200F_206B_200F_206C_202B_200E_206E_202A_200C_200D_206A_200C_206F_206F_206F_200C_202D_206F_202B_202D_202D_202A_200D_202E(), out result)) ? 291266963 : 291266965); + break; + case 5: + num = ((num10 < array.Length) ? 291266968 : 291266964); + break; + case 10: + blacklistedIds.Add(result); + num = 291266963; + break; + case 9: + num = 291266962; + break; + case 8: + num = ((!_202D_206F_200D_206A_200E_206D_200D_206E_200C_200D_200E_202E_200F_206A_206B_200D_206E_200E_200B_202C_202D_200E_206B_202C_200F_206F_202D_202A_200C_202D_200E_200C_200C_202E_200E_202D_200E_206C_206E_206E_202E(text2, global::_003CModule_003E._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(792471175), StringComparison.InvariantCulture)) ? 291266963 : 291266973); + break; + case 1: + return; + } + } + } + finally + { + num = ((disabledDisposable == null) ? (-1706207698) : (-1706207699)); + while (true) + { + int num15 = num; + int num3 = -1706207700; + int num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 0: + num = -1706207699; + break; + case 2: + goto end_IL_0659; + case 1: + _202D_202B_202E_202D_202E_200C_200D_202B_200B_202E_200F_206A_202D_202D_200E_202D_202B_200F_202C_202E_206C_206B_202D_200F_200C_200C_200C_202D_200E_200C_202B_200D_200D_200C_206D_200C_200B_200B_206D_206E_202E((IDisposable)disabledDisposable); + num = -1706207698; + break; + } + continue; + end_IL_0659: + break; + } + } + } + + static void _202D_206A_206C_206D_202D_206D_202A_200C_202E_202B_206A_206D_206D_202C_200C_206E_206A_202E_202C_202E_206E_206F_200C_206E_200E_206E_206E_206E_200B_202B_206A_206F_206F_202B_206D_202E_202A_202D_202C_206B_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); + } + + static string _200E_206D_202B_200B_202C_206F_202E_200E_200D_206E_206D_206A_200E_206B_202C_202D_200F_206D_206A_206E_202C_202E_206D_202A_202B_206E_202C_202D_202A_206F_200C_206A_200B_202D_200C_202E_206E_202B_202C_202D_202E(SeIconChar P_0) + { + return P_0.ToIconString(); + } + + static char _202B_202A_206D_206F_200B_200F_200E_200D_200D_202D_200E_206B_202E_200F_202C_206C_202E_202D_206F_206C_200D_200B_206C_200C_200F_206E_200C_206B_202B_202E_202C_206E_200E_206D_206D_202D_206A_202B_202C_200C_202E(SeIconChar P_0) + { + return P_0.ToIconChar(); + } + + static ImRaii.ColorDisposable _202D_200E_206F_200F_200B_206A_200C_206E_206B_206E_200B_202D_202C_202C_206C_200D_202C_200F_206C_202E_202B_200E_202D_202C_206F_206B_206A_200C_200C_202D_206B_206F_206F_200D_202D_206A_202E_200E_202B_206F_202E() + { + return new ImRaii.ColorDisposable(); + } + + static ImRaii.ColorDisposable _206E_206E_202A_202B_202E_202C_202B_200F_200B_206E_200D_200D_206F_202C_200C_202D_206C_206A_202E_202A_206F_200E_202C_200E_200F_206C_200E_202E_202B_200C_202D_200E_206C_200F_200C_200D_200F_206F_206E_202A_202E(ImRaii.ColorDisposable P_0, ImGuiCol P_1, Vector4 P_2, bool P_3) + { + return P_0.Push(P_1, P_2, P_3); + } + + static void _206F_206D_202C_206B_206D_200F_200D_206E_206C_200B_200E_202B_200B_206A_200C_200D_200E_206C_202D_200D_200B_202D_202E_202A_206A_202B_202E_200C_202C_206D_206D_200E_206A_206B_206C_206D_206C_206C_202C_206D_202E() + { + ImGui.SameLine(); + } + + static ImFontPtr _202A_200C_202B_206A_202B_202E_200E_200C_202C_202D_200B_202C_206F_200B_206D_200D_206B_206A_200B_206F_206E_206C_206A_206C_202D_206B_200C_200B_200F_202C_206E_200E_206B_206B_202B_206D_206E_206E_202A_206D_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _202B_200D_200B_200F_206E_202D_206A_200E_206C_202E_202E_206C_202A_206E_202A_200E_202C_206B_206E_206F_200B_200D_200B_202C_200F_206C_206D_206B_200D_202D_206F_202B_202C_202B_206A_206E_200B_206B_206E_200D_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _202C_202B_206C_202E_200B_206D_200B_206D_200E_200B_200D_206C_200B_202B_206E_202D_200D_202C_206C_206D_200D_202C_202D_200D_200B_206B_200F_206C_206B_206D_202A_200F_200B_206B_200F_200C_200D_202E_202B_200F_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static void _206E_206F_200D_202E_200E_206B_206B_206F_200C_206C_202E_206D_200E_200E_202A_206E_206F_206E_202C_200E_202E_202E_202B_206F_202D_206D_206D_202D_200D_202D_200F_206D_200C_202C_200F_206E_200F_202D_202C_200D_202E(ImU8String P_0) + { + ImGui.TextDisabled(P_0); + } + + static void _202D_202B_202E_202D_202E_200C_200D_202B_200B_202E_200F_206A_202D_202D_200E_202D_202B_200F_202C_202E_206C_206B_202D_200F_200C_200C_200C_202D_200E_200C_202B_200D_200D_200C_206D_200C_200B_200B_206D_206E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _202D_200C_206A_200E_206E_206B_200B_206A_202D_202B_202C_202D_206E_206F_206F_200E_202E_206F_202D_206D_206E_202C_206D_200C_206F_206A_200C_206C_202B_206B_200E_202A_202C_200F_206F_202B_202B_202B_206F_200C_202E() + { + return ImGui.IsItemHovered(); + } + + static ImRaii.TooltipDisposable _202B_206C_202A_206E_202E_202B_206F_200F_202C_206F_200B_206E_206D_200D_206B_206F_206D_200C_200B_202B_206E_206B_206E_200F_206F_206B_200D_202B_200E_206F_206D_202D_206D_206E_202B_200D_202E_206D_202C_206C_202E() + { + return ImRaii.Tooltip(); + } + + static void _202E_202E_202C_206D_200F_206C_206F_202E_200D_202B_206A_200C_206A_206A_206C_202B_202B_206C_200F_200C_200D_202C_200F_206E_206D_206F_206A_200B_202B_206A_202D_200D_202A_206D_202B_206C_206D_202A_202D_206D_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _202A_206C_206B_202E_200D_206E_202A_202B_206F_206C_206B_200E_206F_206F_200F_206A_200C_202A_202D_202D_206A_202C_206C_200F_206A_206F_200D_206D_206E_200F_202B_200B_206E_206B_206A_200B_200D_206E_206B_206D_202E(ImU8String P_0) + { + ImGui.BulletText(P_0); + } + + static bool _200E_202C_202E_200C_200C_202D_206C_206F_206B_206D_200C_206F_206B_206F_202E_206C_206E_202D_200F_206A_206E_206D_202D_202D_206E_200F_200B_202B_200D_202E_206D_202A_200C_200B_200C_200F_200F_202D_206C_200E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static ImRaii.DisabledDisposable _206C_206E_200C_206C_206E_206E_200F_202C_206F_202D_202E_202A_200B_200F_200E_206D_206A_200B_202D_202B_202B_200C_202E_202A_200C_202E_202D_202D_206E_206E_206B_202A_200B_202E_200C_202C_206D_200F_202D_202E_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static Encoding _200C_200C_206B_200F_206D_200E_202D_202B_200D_202D_200B_200C_202E_200C_206A_202D_202D_200E_206B_206D_202A_200B_206B_206A_206B_200C_202A_200F_206A_206D_200E_206D_202A_206A_206E_206C_206F_200C_206F_202C_202E() + { + return Encoding.UTF8; + } + + static string _200F_202A_202E_206A_200B_206C_206E_206F_206B_200D_200B_200F_206B_200D_202C_206C_200D_206B_200D_202E_206C_202D_200D_206D_200D_206B_202E_200D_206D_206F_200C_202B_202A_200E_200B_206F_200B_200B_200D_202B_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static byte[] _200C_202E_200E_202B_200C_202D_202A_206C_206B_202A_202A_202C_206B_206E_202A_202A_206B_200E_200B_200D_200C_200F_206E_200B_206D_202B_206B_200F_202D_202B_200D_202A_206B_200E_202E_206B_202D_206A_206F_200F_202E(Encoding P_0, string P_1) + { + return P_0.GetBytes(P_1); + } + + static string _206C_202A_206E_202E_206D_202C_206F_202C_206C_200F_206F_200F_202D_206D_206D_200C_206B_206F_200B_200E_206E_206D_206C_202C_200C_206E_200E_200B_206B_206C_200F_200B_206B_206A_202E_206E_200F_206E_200C_202D_202E(byte[] P_0) + { + return Convert.ToBase64String(P_0); + } + + static string _206C_202B_206F_200D_206B_200C_200E_206B_200D_202D_206B_202A_200E_202E_202A_202E_206A_206A_200D_206D_200F_200B_202C_206D_200C_206E_206D_202E_202C_200C_200B_202A_206D_206A_202E_206C_200B_202E_200C_200F_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _202C_206E_200C_202B_202A_202B_206C_202E_206C_206B_206B_202D_206F_200D_200C_206C_200B_206D_206B_206E_206C_206B_200C_200D_206D_206E_202C_202B_202E_200B_202C_206D_206B_202E_200E_202E_200E_206E_206A_202A_202E(ImU8String P_0) + { + ImGui.SetClipboardText(P_0); + } + + static bool _202B_206E_200E_206B_202A_206D_206F_206C_200E_202B_202E_206E_206B_206B_200E_206F_206F_202C_200C_202A_200B_206D_200E_200F_200C_202B_202C_202E_202B_200E_202E_206C_206A_202A_206B_202C_202B_202B_200D_200C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _202D_206F_200D_206A_200E_206D_200D_206E_200C_200D_200E_202E_200F_206A_206B_200D_206E_200E_200B_202C_202D_200E_206B_202C_200F_206F_202D_202A_200C_202D_200E_200C_200C_202E_200E_202D_200E_206C_206E_206E_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.StartsWith(P_1, P_2); + } + + static int _206D_202C_206E_200E_206E_206E_200E_206C_200E_202D_202B_200F_206A_206A_200E_200B_206B_206B_206E_206F_206C_200B_202E_202A_202E_202C_206D_202D_202D_200B_200F_200B_200B_206E_206C_200C_200B_200F_200B_202B_202E(string P_0) + { + return P_0.Length; + } + + static string _202B_200E_206D_206D_202B_206C_206F_202B_206A_200B_202D_202C_206B_200D_202B_202E_200F_206C_200F_206A_206F_200C_200C_202B_200B_200D_200F_206D_206E_200D_206C_200D_202A_200B_202B_206D_200F_200C_206A_202D_202E(string P_0, int P_1) + { + return P_0.Substring(P_1); + } + + static byte[] _202D_202B_202D_202D_206E_200E_200F_206C_200C_202D_200D_202D_202E_206F_202D_202D_200B_206C_206E_202C_202D_200C_206D_202B_202A_202A_200F_200E_200C_200D_206D_206F_200B_206C_206B_200B_202C_200F_202C_202B_202E(string P_0) + { + return Convert.FromBase64String(P_0); + } + + static string _206A_206C_200C_200D_206D_200C_202A_200B_202D_206C_206B_200F_206F_206D_206C_206B_206D_206D_206C_206A_200C_202D_206C_200D_206C_206F_202B_202E_202B_200F_200D_206A_200C_206D_200D_202C_200E_200E_206B_206C_202E(Encoding P_0, byte[] P_1) + { + return P_0.GetString(P_1); + } + + static string[] _206E_200D_206D_202B_206A_206F_200F_206F_206F_200F_206D_202A_202E_200E_200E_206A_206C_206A_202C_202D_206E_200F_200F_206F_206D_200F_206D_206B_200D_202A_206F_200D_206A_206C_202A_202E_206D_200F_206B_200E_202E(string P_0, string P_1, StringSplitOptions P_2) + { + return P_0.Split(P_1, P_2); + } + + static int _206D_202A_202D_202D_206F_202B_206A_200E_206F_200F_202D_200C_200E_200C_202B_206B_200D_200B_206E_200B_200C_206D_206B_202E_206C_206F_206A_206E_206C_202B_206A_200D_202A_200C_200E_206C_200B_206A_200F_206D_202E(string P_0) + { + return P_0.Length; + } + + static ReadOnlySpan _202D_206B_206C_206C_202A_206F_200C_206E_202A_206D_206E_200F_206D_200F_206F_202A_206F_202D_200C_206E_200C_200B_202B_202A_200E_200D_200B_202C_200D_202E_202B_200D_206F_202A_202C_206B_202E_206D_202E_200F_202E(string P_0, int P_1) + { + return P_0.AsSpan(P_1); + } + + static CultureInfo _206B_202D_200F_206C_202D_202D_206B_206B_200C_206E_202D_200B_202D_206B_206A_206C_206B_200F_206B_200F_206C_202B_200E_206E_202A_200C_200D_206A_200C_206F_206F_206F_200C_202D_206F_202B_202D_202D_202A_200D_202E() + { + return CultureInfo.InvariantCulture; + } + + static Type _200C_206A_206D_200C_206F_200C_200C_202D_202B_202C_206E_202B_200F_202D_200D_200D_202B_200C_206D_206F_200C_206F_206A_206A_200E_200D_206F_202C_206F_206F_200F_202D_206F_206E_200E_206E_206E_206C_200F_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _202D_206C_202D_202D_202B_200C_206E_202C_202A_206A_200B_206E_206A_202E_200E_206E_202E_206C_200F_206F_200C_206E_202C_206E_200F_200C_202A_206A_202C_200C_200E_200E_202E_206E_200C_206D_206C_202A_206C_206E_202E(Type P_0, object P_1) + { + return Enum.IsDefined(P_0, P_1); + } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/DebugConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/DebugConfigComponent.cs index 4f568125..4ce8b1f7 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/DebugConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/DebugConfigComponent.cs @@ -1,173 +1,356 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; 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(); + public DebugConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration) : base(pluginInterface, configuration) { } + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Advanced###Debug"); - if (!tabItemDisposable) + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(1486717885)); + (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; + int num = ((!UiThemeUtils.AccentSliderInt(global::_003CModule_003E._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(459770457), ref value, 1, 10, 260f)) ? (-1001972389) : (-1001972390)); + bool value4 = default(bool); + Vector2 item4 = default(Vector2); + float item5 = default(float); + ImDrawListPtr item6 = default(ImDrawListPtr); + Vector2 contentStartPos = default(Vector2); + float availableWidth = default(float); + ImDrawListPtr drawList = default(ImDrawListPtr); + bool value3 = default(bool); + float value2 = default(float); + while (true) { - 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.PushIndent()) + int num2 = num; + int num3 = -1001972389; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - bool v2 = base.Configuration.Advanced.CombatDataOverlay; - if (ImGui.Checkbox("Enable combat data overlay", ref v2)) + case 8: + base.Configuration.Advanced.ShowWigglyNavShimProvider = value4; + Save(); + num = -1001972391; + break; + case 2: + UiThemeUtils.EndCard(item4, item5, item6); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(1322354699)); + (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.WrappedTextColored(UiThemeUtils.StatusLocked, global::_003CModule_003E._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(-1990367668)); + value3 = base.Configuration.Advanced.DisablePartyWatchdog; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-1956217498), ref value3, global::_003CModule_003E._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(1278554970))) ? (-1001972386) : (-1001972388)); + break; + case 1: + base.Configuration.Advanced.InteractionRetryLimit = value; + Save(); + num = -1001972389; + break; + case 7: + base.Configuration.Advanced.DisablePartyWatchdog = value3; + Save(); + num = -1001972386; + break; + case 4: + num = -1001972390; + break; + case 3: + { + _200D_202C_200F_200F_206B_206B_200C_206F_206C_202A_206D_206C_202D_202A_200D_202A_202C_206D_206A_202A_200F_200B_202B_200F_202D_202E_206D_202D_206F_206D_200E_206C_200D_200F_206C_206D_206B_206B_202E_200E_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(626167100)); + UiThemeUtils.EndCard(item, item2, item3); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-1927198459)); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + item4 = tuple2.ContentStartPos; + item5 = tuple2.AvailableWidth; + item6 = tuple2.DrawList; + value4 = base.Configuration.Advanced.ShowWigglyNavShimProvider; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(967670354), ref value4, global::_003CModule_003E._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(-1491500076))) ? (-1001972391) : (-1001972397)); + break; + } + case 5: + DrawFeaturePausingSection(global::_003CModule_003E._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(-1202049138), PandorasBoxIpc.ConflictingFeatures, global::_003CModule_003E._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(611154130), global::_003CModule_003E._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(207768065), base.Configuration.Advanced.PandoraFeatureExclusions); + DrawFeaturePausingSection(global::_003CModule_003E._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(11057013), AutomatonIpc.ConflictingTweaks, global::_003CModule_003E._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(899890205), global::_003CModule_003E._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(-1169537281), base.Configuration.Advanced.AutomatonTweakExclusions); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + return; + case 6: + base.Configuration.Advanced.InteractionTimeoutSeconds = value2; + Save(); + num = -1001972392; + break; + case 0: + _200D_202C_200F_200F_206B_206B_200C_206F_206C_202A_206D_206C_202D_202A_200D_202A_202C_206D_206A_202A_200F_200B_202B_200F_202D_202E_206D_202D_206F_206D_200E_206C_200D_200F_206C_206D_206B_206B_202E_200E_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(368373226)); + value2 = base.Configuration.Advanced.InteractionTimeoutSeconds; + num = ((!UiThemeUtils.AccentSliderFloat(global::_003CModule_003E._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(-1280982003), ref value2, 5f, 30f, global::_003CModule_003E._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(-1562631403), 260f)) ? (-1001972392) : (-1001972387)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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; + int num = (open ? (-1750707235) : (-1750707234)); + string current = default(string); + bool value = default(bool); + while (true) + { + int num2 = num; + int num3 = -1750707236; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0072; + case 2: + return; + case 1: + { + ImRaii.IdDisposable idDisposable = _206B_206F_206E_202A_206A_202C_206A_206E_200F_200F_206E_200B_206F_202A_200F_206C_200F_200C_202D_202C_206F_202E_202C_206C_202E_206E_206D_200C_200F_206A_202D_202A_206B_200D_200F_202B_200E_202A_206B_202B_202E((ImU8String)header, true); + try { - base.Configuration.Advanced.CombatDataOverlay = v2; - Save(); + ImRaii.IndentDisposable indentDisposable = _206B_200F_206D_200B_206B_202B_202B_206E_200C_206B_202D_200B_206A_206A_202D_202D_202E_206F_200E_206F_206B_206A_206E_206F_202C_200D_200D_200C_202A_202E_206A_206A_206E_200C_200B_206F_200E_200F_200C_206A_202E(1, true); + try + { + IEnumerator enumerator = features.Order().GetEnumerator(); + try + { + num = 405090622; + while (true) + { + int num7 = num; + num3 = 405090622; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + num = 405090622; + break; + case 5: + exclusions.Add(current); + num = 405090623; + break; + case 3: + num = ((!value) ? 405090619 : 405090616); + break; + case 1: + Save(); + num = 405090622; + break; + case 6: + exclusions.Remove(current); + num = 405090623; + break; + case 0: + num = (_200F_200E_200C_206D_202B_206D_200F_202E_202D_206E_202D_200D_206B_206C_206C_206E_206C_202E_202E_202D_206E_200B_202E_200D_202B_206F_200F_206F_202B_202D_202E_202C_200E_206A_200F_206B_206F_206B_206E_200C_202E((IEnumerator)enumerator) ? 405090618 : 405090620); + break; + case 4: + current = enumerator.Current; + value = !exclusions.Contains(current); + num = ((!UiThemeUtils.WrappedCheckbox(_200E_206B_202D_206C_200F_200E_206E_206D_200B_200E_200E_202B_206C_200B_202A_200C_202B_200D_202B_206F_206B_200D_202D_206D_202E_200D_200F_206F_202C_202A_206E_200F_200C_206E_200C_200C_200F_200B_200F_206D_202E(global::_003CModule_003E._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(1770810253), current), ref value)) ? 405090622 : 405090621); + break; + case 2: + goto end_IL_00ad; + } + continue; + end_IL_00ad: + break; + } + } + finally + { + num = ((enumerator == null) ? 1271604246 : 1271604247); + while (true) + { + int num8 = num; + num3 = 1271604246; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = 1271604247; + break; + case 0: + goto end_IL_01eb; + case 1: + _206A_206C_200B_200F_202E_200C_200B_200F_206A_206D_206E_202B_206F_202E_202C_206F_202A_200F_200D_200F_206B_202B_206F_200C_200E_200D_200D_202B_200F_206B_200F_202D_206E_206A_202E_200C_202A_202C_206E_206D_202E((IDisposable)enumerator); + num = 1271604246; + break; + } + continue; + end_IL_01eb: + break; + } + } + _202A_200D_200C_206D_202E_206B_202A_206A_202D_206F_202B_206A_206A_200B_206F_200B_200D_206E_206F_200B_200D_206D_202E_200E_206E_206F_202D_202C_206E_200F_202A_200E_202A_202E_202E_200E_200F_200F_200D_200E_202E(); + bool value2 = !exclusions.Contains(conditionalFeature); + num = ((!UiThemeUtils.WrappedCheckbox(_200E_206B_202D_206C_200F_200E_206E_206D_200B_200E_200E_202B_206C_200B_202A_200C_202B_200D_202B_206F_206B_200D_202D_206D_202E_200D_200F_206F_202C_202A_206E_200F_200C_206E_200C_200C_200F_200B_200F_206D_202E(global::_003CModule_003E._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(-1740411969), conditionalFeature), ref value2, conditionalHelpText)) ? (-1644162037) : (-1644162034)); + while (true) + { + int num11 = num; + num3 = -1644162038; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 6: + Save(); + num = -1644162037; + break; + case 5: + exclusions.Clear(); + Save(); + num = -1644162040; + break; + case 3: + exclusions.Remove(conditionalFeature); + num = -1644162036; + break; + case 7: + num = -1644162034; + break; + case 1: + _202A_200D_200C_206D_202E_206B_202A_206A_202D_206F_202B_206A_206A_200B_206F_200B_200D_206E_206F_200B_200D_206D_202E_200E_206E_206F_202D_202C_206E_200F_202A_200E_202A_202E_202E_200E_200F_200F_200D_200E_202E(); + num = ((!UiThemeUtils.DestructiveButton(FontAwesomeIcon.Undo, global::_003CModule_003E._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(105765014))) ? (-1644162040) : (-1644162033)); + break; + case 0: + exclusions.Add(conditionalFeature); + num = -1644162036; + break; + case 4: + num = ((!value2) ? (-1644162038) : (-1644162039)); + break; + case 2: + return; + } + } + } + finally + { + num = ((indentDisposable == null) ? 1350036527 : 1350036526); + while (true) + { + int num14 = num; + num3 = 1350036527; + num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) + { + case 0: + goto end_IL_039a; + case 1: + _206A_206C_200B_200F_202E_200C_200B_200F_206A_206D_206E_202B_206F_202E_202C_206F_202A_200F_200D_200F_206B_202B_206F_200C_200E_200D_200D_202B_200F_206B_200F_202D_206E_206A_202E_200C_202A_202C_206E_206D_202E((IDisposable)indentDisposable); + num = 1350036527; + break; + case 2: + num = 1350036526; + break; + } + continue; + end_IL_039a: + break; + } + } + } + finally + { + num = ((idDisposable == null) ? (-687515506) : (-687515507)); + while (true) + { + int num17 = num; + num3 = -687515508; + num4 = num17; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0405; + case 1: + _206A_206C_200B_200F_202E_200C_200B_200F_206A_206D_206E_202B_206F_202E_202C_206F_202A_200F_200D_200F_206B_202B_206F_200C_200E_200D_200D_202B_200F_206B_200F_202D_206E_206A_202E_200C_202A_202C_206E_206D_202E((IDisposable)idDisposable); + num = -687515506; + break; + case 0: + num = -687515507; + break; + } + continue; + end_IL_0405: + break; + } } } - } - bool v3 = base.Configuration.Advanced.NeverFly; - if (ImGui.Checkbox("Disable flying (even if unlocked for the zone)", ref v3)) - { - base.Configuration.Advanced.NeverFly = v3; - Save(); - } - bool v4 = base.Configuration.Advanced.AdditionalStatusInformation; - if (ImGui.Checkbox("Draw additional status information", ref v4)) - { - 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."); - bool v6 = base.Configuration.Advanced.ShowWindowInInstances; - if (ImGui.Checkbox("Show quest window in instances (ignore 'Hide in all instances' setting)", ref v6)) - { - base.Configuration.Advanced.ShowWindowInInstances = v6; - Save(); - } - ImGui.SameLine(); - ImGuiComponents.HelpMarker("When enabled, the quest window will always be shown in instanced duties, ignoring the 'Hide quest window in all instanced duties' setting in General."); - ImGui.Separator(); - ImGui.Text("AutoDuty Settings"); - using (ImRaii.PushIndent()) - { - ImGui.AlignTextToFramePadding(); - bool v7 = base.Configuration.Advanced.DisableAutoDutyBareMode; - if (ImGui.Checkbox("Use Pre-Loop/Loop/Post-Loop settings", ref v7)) - { - base.Configuration.Advanced.DisableAutoDutyBareMode = v7; - 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 v8 = base.Configuration.Advanced.SkipAetherCurrents; - if (ImGui.Checkbox("Don't pick up aether currents/aether current quests", ref v8)) - { - base.Configuration.Advanced.SkipAetherCurrents = v8; - 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 v9 = base.Configuration.Advanced.SkipClassJobQuests; - if (ImGui.Checkbox("Don't pick up class/job/role quests", ref v9)) - { - base.Configuration.Advanced.SkipClassJobQuests = v9; - 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 v10 = base.Configuration.Advanced.SkipARealmRebornHardModePrimals; - if (ImGui.Checkbox("Don't pick up ARR hard mode primal quests", ref v10)) - { - base.Configuration.Advanced.SkipARealmRebornHardModePrimals = v10; - 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 v11 = base.Configuration.Advanced.SkipCrystalTowerRaids; - if (ImGui.Checkbox("Don't pick up Crystal Tower quests", ref v11)) - { - base.Configuration.Advanced.SkipCrystalTowerRaids = v11; - 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 v12 = base.Configuration.Advanced.PreventQuestCompletion; - if (ImGui.Checkbox("Prevent quest completion", ref v12)) - { - base.Configuration.Advanced.PreventQuestCompletion = v12; - 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."); + continue; + IL_0072: + num = -1750707234; } } - private void DrawChocoboSettings() + static void _200D_202C_200F_200F_206B_206B_200C_206F_206C_202A_206D_206C_202D_202A_200D_202A_202C_206D_206A_202A_200F_200B_202B_200F_202D_202E_206D_202D_206F_206D_200E_206C_200D_200F_206C_206D_206B_206B_202E_200E_202E() { - ImGui.Text("Chocobo Settings"); - using (ImRaii.PushIndent()) - { - ImGui.AlignTextToFramePadding(); - ImGui.Text("Chocobo Name:"); - ImGui.SameLine(); - string buf = base.Configuration.Advanced.ChocoboName; - ImGui.SetNextItemWidth(200f); - if (ImGui.InputText("##ChocoboName", ref buf, 20)) - { - string chocoboName = FormatChocoboName(buf); - base.Configuration.Advanced.ChocoboName = chocoboName; - Save(); - } - if (!string.IsNullOrEmpty(buf) && buf.Length < 2) - { - ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudRed, "Name must be at least 2 characters"); - } - 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'."); - } + ImGui.SameLine(); } - private static string FormatChocoboName(string name) + static ImRaii.IdDisposable _206B_206F_206E_202A_206A_202C_206A_206E_200F_200F_206E_200B_206F_202A_200F_206C_200F_200C_202D_202C_206F_202E_202C_206C_202E_206E_206D_200C_200F_206A_202D_202A_206B_200D_200F_202B_200E_202A_206B_202B_202E(ImU8String P_0, bool P_1) { - 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); + return ImRaii.PushId(P_0, P_1); + } + + static ImRaii.IndentDisposable _206B_200F_206D_200B_206B_202B_202B_206E_200C_206B_202D_200B_206A_206A_202D_202D_202E_206F_200E_206F_206B_206A_206E_206F_202C_200D_200D_200C_202A_202E_206A_206A_206E_200C_200B_206F_200E_200F_200C_206A_202E(int P_0, bool P_1) + { + return ImRaii.PushIndent(P_0, P_1); + } + + static string _200E_206B_202D_206C_200F_200E_206E_206D_200B_200E_200E_202B_206C_200B_202A_200C_202B_200D_202B_206F_206B_200D_202D_206D_202E_200D_200F_206F_202C_202A_206E_200F_200C_206E_200C_200C_200F_200B_200F_206D_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _200F_200E_200C_206D_202B_206D_200F_202E_202D_206E_202D_200D_206B_206C_206C_206E_206C_202E_202E_202D_206E_200B_202E_200D_202B_206F_200F_206F_202B_202D_202E_202C_200E_206A_200F_206B_206F_206B_206E_200C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206A_206C_200B_200F_202E_200C_200B_200F_206A_206D_206E_202B_206F_202E_202C_206F_202A_200F_200D_200F_206B_202B_206F_200C_200E_200D_200D_202B_200F_206B_200F_202D_206E_206A_202E_200C_202A_202C_206E_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202A_200D_200C_206D_202E_206B_202A_206A_202D_206F_202B_206A_206A_200B_206F_200B_200D_206E_206F_200B_200D_206D_202E_200E_206E_206F_202D_202C_206E_200F_202A_200E_202A_202E_202E_200E_200F_200F_200D_200E_202E() + { + ImGui.Spacing(); } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/DutyConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/DutyConfigComponent.cs index 031c4326..cdb3eb79 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/DutyConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/DutyConfigComponent.cs @@ -1,19 +1,20 @@ using System; +using System.Collections; using System.Collections.Generic; -using System.Globalization; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using System.Text; using Dalamud.Bindings.ImGui; +using Dalamud.Game.Text.SeStringHandling; 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 Lumina.Text.ReadOnly; using Questionable.Data; using Questionable.External; using Questionable.Model; @@ -23,15 +24,237 @@ 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) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_202A_202D_206F_202E_200F_206E_202E_202E_202C_200C_206B_202C_200F_206E_206D_202D_206E_206E_202B_200B_206E_200E_206E_206F_202B_200F_202A_206C_206C_206A_206B_206B_202C_202C_206A_200B_202B_206B_206A_202E(typeof(DutyInfo).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202E_206D_206E_202B_200F_202D_202C_202A_206B_206B_200F_206F_206D_206A_206E_202C_206B_200C_206B_200B_202C_206A_206E_206C_206A_206E_206A_202C_200C_200C_202E_202B_206B_200C_200F_206D_200B_206F_202D_206F_202E(); + _206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(stringBuilder, global::_003CModule_003E._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(1146569186)); + _206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? 293488302 : 293488301); + while (true) + { + int num2 = num; + int num3 = 293488300; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 293488301; + break; + case 2: + _202C_206B_200E_202E_202A_206E_200B_206A_206F_200D_206D_202E_202B_206B_202A_200D_202E_206E_200B_202A_206A_206F_202D_206D_206C_206B_202B_206F_202A_202D_202D_200B_202A_202D_202A_202C_200F_202C_206C_206E_202E(stringBuilder, '}'); + return _202B_200D_202C_202A_206C_206F_202D_202B_206B_202E_202A_206A_202A_200B_206C_206C_206B_202C_202D_206E_206C_202D_206C_206A_202D_202A_200F_206C_200D_200D_206B_206D_206B_206C_206E_202A_200B_206F_206F_200C_202E((object)stringBuilder); + case 1: + _202C_206B_200E_202E_202A_206E_200B_206A_206F_200D_206D_202E_202B_206B_202A_200D_202E_206E_200B_202A_206A_206F_202D_206D_206C_206B_202B_206F_202A_202D_202D_200B_202A_202D_202A_202C_200F_202C_206C_206E_202E(stringBuilder, ' '); + num = 293488302; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_202E_206F_200F_206B_206E_202A_202E_202A_202C_202B_200E_200B_200E_202D_200C_200E_206A_200C_206C_202C_202B_200B_202E_200E_206E_206E_202A_202D_200E_206D_202A_200D_206D_206A_206D_202C_202E_202C_206F_202E(); + _206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(builder, global::_003CModule_003E._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(1846737607)); + _206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(builder, CfcId.ToString()); + _206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(builder, global::_003CModule_003E._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(647715754)); + _206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(builder, TerritoryId.ToString()); + _206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(builder, global::_003CModule_003E._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(-2011877509)); + _200D_202C_202C_200F_202E_206F_202D_206E_202D_206C_206C_202A_206C_206D_206D_206C_202E_200B_206B_200C_206C_200C_202C_206E_206E_202C_206A_202B_200C_202B_206C_202B_202D_202D_202D_200C_200B_202B_206F_206D_202E(builder, (object)Name); + _206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(builder, global::_003CModule_003E._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(-26801213)); + _206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(builder, Level.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(DutyInfo? other) + { + int num = (((object)this == other) ? 942730558 : 942730556); + while (true) + { + int num2 = num; + int num3 = 942730559; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return true; + case 4: + return EqualityComparer.Default.Equals(Level, other.Level); + case 8: + num = ((!EqualityComparer.Default.Equals(Name, other.Name)) ? 942730554 : 942730555); + break; + case 5: + return false; + case 0: + num = 942730556; + break; + case 6: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? 942730554 : 942730551); + break; + case 3: + num = (((object)other == null) ? 942730554 : 942730552); + break; + case 7: + num = ((!_206D_202A_200F_200F_202C_200D_200B_200B_206E_200B_206B_206E_206A_206E_206D_200D_206E_206C_202B_206D_206B_206C_200C_202D_200F_202D_206A_200B_206C_200F_202A_206F_202B_202A_200B_206A_202C_202E_200E_206C_202E(EqualityContract, other.EqualityContract)) ? 942730554 : 942730557); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(CfcId, other.CfcId)) ? 942730554 : 942730553); + break; + } + } + } + + bool IEquatable.Equals(DutyInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_202A_202D_206F_202E_200F_206E_202E_202E_202C_200C_206B_202C_200F_206E_206D_202D_206E_206E_202B_200B_206E_200E_206E_206F_202B_200F_202A_206C_206C_206A_206B_206B_202C_202C_206A_200B_202B_206B_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202E_206D_206E_202B_200F_202D_202C_202A_206B_206B_200F_206F_206D_206A_206E_202C_206B_200C_206B_200B_202C_206A_206E_206C_206A_206E_206A_202C_200C_200C_202E_202B_206B_200C_200F_206D_200B_206F_202D_206F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_206B_200E_202E_202A_206E_200B_206A_206F_200D_206D_202E_202B_206B_202A_200D_202E_206E_200B_202A_206A_206F_202D_206D_206C_206B_202B_206F_202A_202D_202D_200B_202A_202D_202A_202C_200F_202C_206C_206E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202B_200D_202C_202A_206C_206F_202D_202B_206B_202E_202A_206A_202A_200B_206C_206C_206B_202C_202D_206E_206C_202D_206C_206A_202D_202A_200F_206C_200D_200D_206B_206D_206B_206C_206E_202A_200B_206F_206F_200C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200C_202E_206F_200F_206B_206E_202A_202E_202A_202C_202B_200E_200B_200E_202D_200C_200E_206A_200C_206C_202C_202B_200B_202E_200E_206E_206E_202A_202D_200E_206D_202A_200D_206D_206A_206D_202C_202E_202C_206F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200D_202C_202C_200F_202E_206F_202D_206E_202D_206C_206C_202A_206C_206D_206D_206C_202E_200B_206B_200C_206C_200C_202C_206E_206E_202C_206A_202B_200C_202B_206C_202B_202D_202D_202D_200C_200B_202B_206F_206D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206D_202A_200F_200F_202C_200D_200B_200B_206E_200B_206B_206E_206A_206E_206D_200D_206E_206C_202B_206D_206B_206C_200C_202D_200F_202D_206A_200B_206C_200F_202A_206F_202B_202A_200B_206A_202C_202E_200E_206C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass15_0 + { + public uint contentTypeId; + + public uint? contentMemberTypeId; + + public TerritoryData territoryData; + + internal bool _003CLoadContentByType_003Eb__0(ContentFinderCondition x) + { + int num = ((x.RowId == 0) ? 400458494 : 400458492); + while (true) + { + int num2 = num; + int num3 = 400458495; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 400458492; + break; + case 1: + return false; + case 0: + return x.ContentType.RowId == contentTypeId; + case 3: + num = ((x.Content.RowId == 0) ? 400458494 : 400458495); + break; + } + } + } + + internal bool _003CLoadContentByType_003Eb__1(ContentFinderCondition x) + { + return x.ContentMemberType.RowId == contentMemberTypeId.Value; + } + + internal _003C_003Ef__AnonymousType3 _003CLoadContentByType_003Eb__2(ContentFinderCondition x) + { + return new + { + Expansion = (EExpansionVersion)x.TerritoryType.Value.ExVersion.RowId, + CfcId = x.RowId, + Name = (territoryData.GetContentFinderCondition(x.RowId)?.Name ?? _200F_206A_202D_200E_200C_206D_200C_200F_202E_202E_200E_200C_206E_202A_200E_200C_200D_202D_200D_206E_206A_206B_202A_200C_206B_206E_206F_206C_202A_202C_200B_206A_202C_206E_200D_202A_202D_206B_200C_202A_202E((object)_200C_200C_206E_202D_200C_202E_202B_206D_202A_206A_206E_202A_202E_202A_206B_202E_206E_200F_202D_206C_206E_200F_206A_200D_206E_200F_206C_200D_206E_206F_202B_206F_206C_206F_202C_202C_206F_200D_206B_200E_202E(x.Name))), + TerritoryId = x.TerritoryType.RowId, + Level = x.ClassJobLevelRequired, + SortKey = x.SortKey + }; + } + + static SeString _200C_200C_206E_202D_200C_202E_202B_206D_202A_206A_206E_202A_202E_202A_206B_202E_206E_200F_202D_206C_206E_200F_206A_200D_206E_200F_206C_200D_206E_206F_202B_206F_206C_206F_202C_202C_206F_200D_206B_200E_202E(ReadOnlySeString P_0) + { + return P_0.ToDalamudString(); + } + + static string _200F_206A_202D_200E_200C_206D_200C_200F_202E_202E_200E_200C_206E_202A_200E_200C_200D_202D_200D_206E_206A_206B_202A_200C_206B_206E_206F_206C_202A_202C_200B_206A_202C_206E_200D_202A_202D_206B_200C_202A_202E(object P_0) + { + return P_0.ToString(); + } + } private const string DutyClipboardPrefix = "qst:duty:"; - private const string ModePrefix = "M:"; + private const uint ContentTypeDungeons = 2u; - private static readonly string[] DutyModeLabels = new string[3] { "Duty Support", "Unsync (Solo)", "Unsync (Party)" }; + private const uint ContentTypeTrials = 4u; - private readonly QuestRegistry _questRegistry; + private const uint ContentTypeRaids = 5u; + + private const uint MemberTypeNormalRaid = 3u; + + private const uint MemberTypeAllianceRaid = 4u; + + private static readonly string[] DutyModeLabels = new string[3] + { + global::_003CModule_003E._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(1157663531), + global::_003CModule_003E._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(50543630), + global::_003CModule_003E._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(434039918) + }; + + private static readonly string[] DutyTabLabels = new string[4] + { + global::_003CModule_003E._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(1287674180), + global::_003CModule_003E._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(865548791), + global::_003CModule_003E._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(-649399310), + global::_003CModule_003E._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(1881943890) + }; private readonly AutoDutyIpc _autoDutyIpc; @@ -43,468 +266,1293 @@ 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); } + private static Dictionary> LoadContentByType(ExcelSheet sheet, TerritoryData territoryData, uint contentTypeId, uint? contentMemberTypeId = null) + { + IEnumerable source = sheet.Where(delegate(ContentFinderCondition x) + { + int num5 = ((x.RowId == 0) ? 400458494 : 400458492); + while (true) + { + int num6 = num5; + int num7 = 400458495; + int num8 = num6; + switch ((num8 | num7) - (num8 & num7)) + { + case 2: + num5 = 400458492; + break; + case 1: + return false; + case 0: + return x.ContentType.RowId == contentTypeId; + case 3: + num5 = ((x.Content.RowId == 0) ? 400458494 : 400458495); + break; + } + } + }); + int num = ((!contentMemberTypeId.HasValue) ? (-2060936807) : (-2060936808)); + while (true) + { + int num2 = num; + int num3 = -2060936807; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return (from x in source + select new + { + Expansion = (EExpansionVersion)x.TerritoryType.Value.ExVersion.RowId, + CfcId = x.RowId, + Name = (territoryData.GetContentFinderCondition(x.RowId)?.Name ?? _003C_003Ec__DisplayClass15_0._200F_206A_202D_200E_200C_206D_200C_200F_202E_202E_200E_200C_206E_202A_200E_200C_200D_202D_200D_206E_206A_206B_202A_200C_206B_206E_206F_206C_202A_202C_200B_206A_202C_206E_200D_202A_202D_206B_200C_202A_202E((object)_003C_003Ec__DisplayClass15_0._200C_200C_206E_202D_200C_202E_202B_206D_202A_206A_206E_202A_202E_202A_206B_202E_206E_200F_202D_206C_206E_200F_206A_200D_206E_200F_206C_200D_206E_206F_202B_206F_206C_206F_202C_202C_206F_200D_206B_200E_202E(x.Name))), + 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()); + case 1: + source = source.Where((ContentFinderCondition x) => x.ContentMemberType.RowId == contentMemberTypeId.Value); + num = -2060936807; + break; + case 2: + num = -2060936808; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void DrawAutoDutySettings() + { + bool value = base.Configuration.Duties.RunInstancedContentWithAutoDuty; + int num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-2060290040), ref value, global::_003CModule_003E._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(1676853483))) ? 318863839 : 318863836); + bool value4 = default(bool); + int currentItem = default(int); + while (true) + { + int num2 = num; + int num3 = 318863838; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 318863836; + break; + case 2: + base.Configuration.Duties.RunInstancedContentWithAutoDuty = value; + Save(); + num = 318863839; + break; + case 1: + { + ImRaii.DisabledDisposable disabledDisposable = _200F_206A_206C_200C_200F_206C_206E_200D_206A_200D_200E_200B_200D_206D_200C_200C_206D_206E_202B_200F_206C_200B_206E_206D_202C_200F_206F_202D_200C_202B_206B_202E_206D_202D_206E_206D_200F_206E_206D_206B_202E(!value); + try + { + bool value2 = base.Configuration.Duties.RunLevelingModeWhenUnderleveled; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1812413781), ref value2, global::_003CModule_003E._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(-1998973478))) ? (-278783301) : (-278783298)); + while (true) + { + int num5 = num; + num3 = -278783297; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 6: + num = -278783298; + break; + case 4: + value4 = base.Configuration.Duties.AutoUnsyncOverleveled; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-587123705), ref value4, global::_003CModule_003E._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(-1027843476))) ? (-278783302) : (-278783297)); + break; + case 1: + base.Configuration.Duties.RunLevelingModeWhenUnderleveled = value2; + Save(); + num = -278783301; + break; + case 5: + _202C_200D_200C_206B_206A_200F_202A_200F_206D_202A_202B_200D_200C_206A_200B_200D_206F_200D_202D_206C_206C_202E_206A_200F_200E_206A_206B_200E_202C_206A_202D_200E_200E_200F_206D_206A_206C_200F_206D_202D_202E(); + _206A_200C_206F_202B_202E_202C_206F_202D_206B_206C_200F_206B_206A_206D_202A_200F_202D_206D_202B_200D_202E_202B_200B_200F_200E_206E_200F_206E_206E_202B_202C_202B_206C_200D_202B_202B_202E_202E_200B_206E_202E((ImU8String)global::_003CModule_003E._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(1289186878)); + _200D_200F_200F_206E_206A_200F_202D_200C_202B_200B_200D_206A_206F_206E_202D_200D_202E_200F_200C_206D_206A_202D_200F_206B_202D_206F_202E_206B_206E_202A_200F_202B_202D_202A_202A_200C_206C_200F_200F_200F_202E(); + currentItem = (int)base.Configuration.Duties.DefaultDutyMode; + _206C_200F_206A_200C_200D_206F_200E_200C_202D_200F_206D_202C_202A_202D_206E_206E_200E_206B_200B_202E_206F_200C_200C_206E_200E_206C_202E_206C_202C_202E_200E_206A_200C_202C_206A_202B_200E_202C_206B_202D_202E(_200B_200C_202D_202D_202D_206A_200F_200F_206B_206B_200E_202C_206F_202A_206F_200B_202C_200B_206B_206E_202C_200F_200C_206E_202B_200C_200B_200B_202A_206D_202A_200B_202C_202B_206C_206B_200D_200C_200F_202E_202E(_206C_202B_200C_206C_206D_200C_202D_206C_206B_202B_200C_202B_206C_200E_200E_200B_202B_200B_206A_200F_200E_202A_200F_202C_206E_206C_206E_202D_200F_206D_202D_206E_206E_206C_206A_206C_206D_206E_200E_200F_202E().X * 0.6f, 260f)); + num = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(532662937), ref currentItem, DutyModeLabels, DutyModeLabels.Length)) ? (-278783300) : (-278783299)); + break; + case 0: + base.Configuration.Duties.AutoUnsyncOverleveled = value4; + Save(); + num = -278783302; + break; + case 2: + base.Configuration.Duties.DefaultDutyMode = (EDutyMode)currentItem; + Save(); + num = -278783300; + break; + case 3: + { + _200D_200F_200F_206E_206A_200F_202D_200C_202B_200B_200D_206A_206F_206E_202D_200D_202E_200F_200C_206D_206A_202D_200F_206B_202D_206F_202E_206B_206E_202A_200F_202B_202D_202A_202A_200C_206C_200F_200F_200F_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(-1150864325)); + _202C_200D_200C_206B_206A_200F_202A_200F_206D_202A_202B_200D_200C_206A_200B_200D_206F_200D_202D_206C_206C_202E_206A_200F_200E_206A_206B_200E_202C_206A_202D_200E_200E_200F_206D_206A_206C_200F_206D_202D_202E(); + UiThemeUtils.SubSectionHeader(global::_003CModule_003E._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(928732696)); + ImRaii.IndentDisposable indentDisposable = _200C_200F_202D_200C_202E_200B_206E_206E_206F_206F_206F_202D_200E_200D_200E_202A_206D_202C_202C_202C_206F_202C_206A_200C_200C_206B_200C_206A_200D_200F_206F_206A_206F_206D_200D_200C_200D_200F_202E_202C_202E(1, true); + try + { + bool value3 = base.Configuration.Advanced.DisableAutoDutyBareMode; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(544332955), ref value3, global::_003CModule_003E._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(1104098155))) ? 1613386781 : 1613386782); + while (true) + { + int num8 = num; + num3 = 1613386780; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1613386782; + break; + case 2: + base.Configuration.Advanced.DisableAutoDutyBareMode = value3; + Save(); + num = 1613386781; + break; + case 1: + return; + } + } + } + finally + { + num = ((indentDisposable == null) ? (-1890100848) : (-1890100845)); + while (true) + { + int num9 = num; + num3 = -1890100846; + num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1890100845; + break; + case 1: + _200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)indentDisposable); + num = -1890100848; + break; + case 2: + goto end_IL_0378; + } + continue; + end_IL_0378: + break; + } + } + } + } + } + } + finally + { + num = ((disabledDisposable == null) ? 1022367676 : 1022367677); + while (true) + { + int num10 = num; + num3 = 1022367676; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1022367677; + break; + case 1: + _200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)disabledDisposable); + num = 1022367676; + break; + case 0: + goto end_IL_03e2; + } + continue; + end_IL_03e2: + break; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Duties###Duties"); - if (!tabItemDisposable) + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-313400600)); + _202C_200D_200C_206B_206A_200F_202A_200F_206D_202A_202B_200D_200C_206A_200B_200D_206F_200D_202D_206C_206C_202E_206A_200F_200E_206A_206B_200E_202C_206A_202D_200E_200E_200F_206D_206A_206C_200F_206D_202D_202E(); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + DrawAutoDutySettings(); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + UiThemeUtils.SectionSpacing(); + bool runInstancedContentWithAutoDuty = base.Configuration.Duties.RunInstancedContentWithAutoDuty; + ImRaii.DisabledDisposable disabledDisposable = _200F_206A_206C_200C_200F_206C_206E_200D_206A_200D_200E_200B_200D_206D_200C_200C_206D_206E_202B_200F_206C_200B_206E_206D_202C_200F_206F_202D_200C_202B_206B_202E_206D_202D_206E_206D_200F_206E_206D_206B_202E(!runInstancedContentWithAutoDuty); + try { - return; - } - bool v = base.Configuration.Duties.RunInstancedContentWithAutoDuty; - if (ImGui.Checkbox("Run instanced content with AutoDuty and BossMod", ref v)) - { - base.Configuration.Duties.RunInstancedContentWithAutoDuty = v; - 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.PushIndent(ImGui.GetFrameHeight() + ImGui.GetStyle().ItemInnerSpacing.X)) + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-179062299)); + _202C_200D_200C_206B_206A_200F_202A_200F_206D_202A_202B_200D_200C_206A_200B_200D_206F_200D_202D_206C_206C_202E_206A_200F_200E_206A_206B_200E_202C_206A_202D_200E_200E_200F_206D_206A_206C_200F_206D_202D_202E(); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + Vector2 item = tuple2.ContentStartPos; + float item2 = tuple2.AvailableWidth; + ImDrawListPtr item3 = tuple2.DrawList; + int selectedDutyTab = _selectedDutyTab; + int num = 1; + int num2 = selectedDutyTab; + int num3; + Dictionary> dictionary = default(Dictionary>); + switch (~(~num2 + num)) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) + default: + num3 = 1928784944; + goto IL_00bf; + case 1: + dictionary = _allNormalRaidNames; + num3 = 1928784949; + goto IL_00bf; + case 0: + goto IL_0263; + case 2: + goto IL_0277; + IL_00bf: + while (true) { - 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; - 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)) - { - base.Configuration.Duties.DefaultDutyMode = (Configuration.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."); - } - ImGui.Separator(); - using (ImRaii.Disabled(!v)) - { - 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")) - { - 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) + int num4 = num3; + num = 1928784947; + num2 = num4; + int num5 = num2 + num; + int num6 = num2 & num; + switch (num5 - (num6 + num6)) { - DrawConfigTable(v, _contentFinderConditionNames); + case 6: + goto IL_0105; + case 3: + num3 = 1928784955; + break; + case 5: + base.Configuration.Duties.WhitelistedDutyCfcIds.Clear(); + base.Configuration.Duties.BlacklistedDutyCfcIds.Clear(); + base.Configuration.Duties.DutyModeOverrides.Clear(); + base.Configuration.Duties.DefaultDutyMode = EDutyMode.Support; + Save(); + num3 = 1928784947; + break; + case 8: + dictionary = _contentFinderConditionNames; + num3 = 1928784949; + break; + case 1: + goto end_IL_00bf; + case 7: + goto IL_0263; + case 4: + goto IL_0277; + case 2: + num3 = 1928784944; + break; + case 0: + UiThemeUtils.EndCard(item, item2, item3); + return; } + continue; + IL_0105: + Dictionary> contentByExpansion = dictionary; + _selectedDutyTab = UiThemeUtils.DrawTabBar(DutyTabLabels, _selectedDutyTab); + _202C_206B_202D_202C_206D_202D_206A_200D_200F_200D_202A_200E_206E_200E_200F_206D_206F_200B_202D_206D_206C_206F_200C_200E_206E_202B_200E_202C_200E_202E_206B_200E_206B_200F_200B_202C_200B_206C_206D_206F_202E(_206E_200D_206C_202C_206F_206D_206F_200E_200B_206A_200F_202B_202A_200B_202C_206C_202B_206A_206A_202B_206C_206E_206E_200D_200D_200D_206C_206F_202B_200D_206E_200C_206E_202C_206D_200E_202C_206D_206A_200F_202E() - _206A_200E_202B_202A_202C_200B_202C_206A_200B_202A_200F_206C_206D_206A_200B_202C_200E_206E_200D_206D_202B_206E_206C_200B_200F_202B_206C_200D_200B_202A_200E_200F_206A_206D_202E_200B_202D_202B_202D_202C_202E().ItemSpacing.Y); + DrawConfigTable(runInstancedContentWithAutoDuty, contentByExpansion); + DrawEnableAllButton(); + _200D_200F_200F_206E_206A_200F_202D_200C_202B_200B_200D_206A_206F_206E_202D_200D_202E_200F_200C_206D_206A_202D_200F_206B_202D_206F_202E_206B_206E_202A_200F_202B_202D_202A_202A_200C_206C_200F_200F_200F_202E(); + DrawClipboardButtons(global::_003CModule_003E._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(-21348437), base.Configuration.Duties.WhitelistedDutyCfcIds, base.Configuration.Duties.BlacklistedDutyCfcIds, base.Configuration.Duties.DutyModeOverrides); + _200D_200F_200F_206E_206A_200F_202D_200C_202B_200B_200D_206A_206F_206E_202D_200D_202E_200F_200C_206D_206A_202D_200F_206B_202D_206F_202E_206B_206E_202A_200F_202B_202D_202A_202A_200C_206C_200F_200F_200F_202E(); + num3 = ((!UiThemeUtils.DestructiveButton(FontAwesomeIcon.Undo, global::_003CModule_003E._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(-2054737015))) ? 1928784947 : 1928784950); + continue; + end_IL_00bf: + break; } - 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); - } + goto case 1; + IL_0277: + dictionary = _allAllianceRaidNames; + num3 = 1928784949; + goto IL_00bf; + IL_0263: + dictionary = _allTrialNames; + num3 = 1928784949; + goto IL_00bf; + } + } + finally + { + int num3 = ((disabledDisposable == null) ? 900259007 : 900259004); + while (true) + { + int num7 = num3; + int num = 900259006; + int num2 = num7; + int num8 = num2 + num; + int num9 = num2 & num; + switch (num8 - (num9 + num9)) + { + case 0: + num3 = 900259004; + break; + case 1: + goto end_IL_02c6; + case 2: + _200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)disabledDisposable); + num3 = 900259007; + break; + } + continue; + end_IL_02c6: + break; } - DrawEnableAllButton(); - ImGui.SameLine(); - DrawClipboardButtons(); - ImGui.SameLine(); - DrawResetButton(); } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawConfigTable(bool runInstancedContentWithAutoDuty, Dictionary> contentByExpansion) { - using ImRaii.ChildDisposable childDisposable = ImRaii.Child("DutyConfiguration", new Vector2(725f, 400f), border: true); - if (!childDisposable) + Vector2 vector = _206C_202B_200C_206C_206D_200C_202D_206C_206B_202B_200C_202B_206C_200E_200E_200B_202B_200B_206A_200F_200E_202A_200F_202C_206E_206C_206E_202D_200F_206D_202D_206E_206E_206C_206A_206C_206D_206E_200E_200F_202E(); + using ImRaii.ChildDisposable childDisposable = _202C_202B_200E_206C_202B_206A_206A_206D_206C_202C_202B_206D_206A_206B_206E_200F_206A_206B_202C_206A_200D_206D_200F_200B_206D_200D_206F_200C_200B_202B_200B_202B_206C_202E_202A_200D_200F_200C_206B_200F_202E((ImU8String)global::_003CModule_003E._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(-842817394), new Vector2(vector.X, _206E_202A_206C_202C_206F_200E_200C_206F_206F_202C_206E_206B_202D_206B_206B_202A_206F_206C_200C_206F_200C_202B_200F_206F_202A_206C_206B_200F_206A_200F_206F_206A_206E_206A_206B_202A_200B_206B_202E_206B_202E(vector.Y - 30f - 12f, 200f)), true); + int num = ((!(!childDisposable)) ? 397429394 : 397429395); + string text = default(string); + bool open = default(bool); + List value = default(List); + EDutyMode eDutyMode = default(EDutyMode); + int currentItem2 = default(int); + while (true) { - return; - } - EExpansionVersion[] values = Enum.GetValues(); - for (int i = 0; i < values.Length; i++) - { - EExpansionVersion eExpansionVersion = values[i]; - (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)) + int num2 = num; + int num3 = 397429394; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - if (!base.Configuration.Duties.ExpansionHeaderStates.GetValueOrDefault(key, defaultValue: false)) + case 2: + goto IL_0094; + case 1: + return; + case 0: + { + Dictionary expansionHeaderStates = base.Configuration.Duties.ExpansionHeaderStates; + EExpansionVersion[] values = Enum.GetValues(); + int num7 = 0; + while (true) { - 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) + if (num7 < values.Length) { - array = (dutyOptions.Enabled ? SupportedCfcOptions : UnsupportedCfcOptions); - currentItem = 0; - if (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(num)) + EExpansionVersion eExpansionVersion = values[num7]; + (int enabledCount, int totalCount) dutyCountsForExpansion = GetDutyCountsForExpansion(eExpansionVersion, contentByExpansion); + int item = dutyCountsForExpansion.enabledCount; + int item2 = dutyCountsForExpansion.totalCount; + text = eExpansionVersion.ToString(); + open = expansionHeaderStates.GetValueOrDefault(text, defaultValue: false); + string id = text; + string label = _200B_206E_206D_200F_202A_202C_202C_202D_206E_202A_206D_200C_202B_206A_200B_200B_202B_206A_202E_200C_202C_200B_200E_200B_202B_206B_200C_202A_202D_200E_206D_200B_206C_206C_202A_200B_202E_206B_200F_206D_202E(eExpansionVersion); + object rightText; + if (item2 <= 0) { - currentItem = 1; + rightText = null; } - if (base.Configuration.Duties.BlacklistedDutyCfcIds.Contains(num)) + else { - currentItem = 2; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler.AppendFormatted(item); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1605560946)); + defaultInterpolatedStringHandler.AppendFormatted(item2); + rightText = defaultInterpolatedStringHandler.ToStringAndClear(); } + if (UiThemeUtils.ThemedAccordion(id, label, (string?)rightText, ref open)) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(6, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(2007815205)); + defaultInterpolatedStringHandler2.AppendFormatted(eExpansionVersion); + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(defaultInterpolatedStringHandler2.ToStringAndClear(), 4, ImGuiTableFlags.SizingFixedFit); + if ((bool)tableDisposable) + { + num = -122867559; + while (true) + { + int num8 = num; + num3 = -122867557; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -122867559; + break; + case 2: + _200D_206E_200C_202E_206C_206D_202D_206C_202E_206E_206C_200C_206E_206D_206F_200E_206B_202E_206E_202C_206D_200C_200B_200C_200B_206D_200E_200C_202B_206C_202A_202E_202D_206C_206A_200C_202E_206C_206F_206E_202E((ImU8String)global::_003CModule_003E._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(-219663971), ImGuiTableColumnFlags.WidthFixed, 40f, 0u); + _200D_206E_200C_202E_206C_206D_202D_206C_202E_206E_206C_200C_206E_206D_206F_200E_206B_202E_206E_202C_206D_200C_200B_200C_200B_206D_200E_200C_202B_206C_202A_202E_202D_206C_206A_200C_202E_206C_206F_206E_202E((ImU8String)global::_003CModule_003E._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(-267283137), ImGuiTableColumnFlags.WidthStretch, 0f, 0u); + _200D_206E_200C_202E_206C_206D_202D_206C_202E_206E_206C_200C_206E_206D_206F_200E_206B_202E_206E_202C_206D_200C_200B_200C_200B_206D_200E_200C_202B_206C_202A_202E_202D_206C_206A_200C_202E_206C_206F_206E_202E((ImU8String)global::_003CModule_003E._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(380812930), ImGuiTableColumnFlags.WidthFixed, 180f, 0u); + _200D_206E_200C_202E_206C_206D_202D_206C_202E_206E_206C_200C_206E_206D_206F_200E_206B_202E_206E_202C_206D_200C_200B_200C_200B_206D_200E_200C_202B_206C_202A_202E_202D_206C_206A_200C_202E_206C_206F_206E_202E((ImU8String)global::_003CModule_003E._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(-1921859384), ImGuiTableColumnFlags.WidthFixed, 140f, 0u); + if (contentByExpansion.TryGetValue(eExpansionVersion, out value)) + { + num = -122867558; + break; + } + goto end_IL_01ae; + case 1: + foreach (DutyInfo item3 in value) + { + DutyEntry value2; + bool flag = DutyRegistry.Duties.TryGetValue(item3.CfcId, out value2); + _206E_206C_202A_202C_200E_206A_206D_206F_206B_206C_206C_202E_202B_200F_200D_200F_206A_206C_200C_206E_202A_200D_206D_202A_206D_202D_200D_202D_200B_200F_206B_200E_200D_206A_200C_200D_206A_202E_200D_202D_202E(); + string[] array; + int currentItem; + if (flag) + { + array = (value2.Enabled ? SupportedCfcOptions : UnsupportedCfcOptions); + currentItem = 0; + if (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(item3.CfcId)) + { + currentItem = 1; + } + if (base.Configuration.Duties.BlacklistedDutyCfcIds.Contains(item3.CfcId)) + { + currentItem = 2; + } + } + else + { + array = new string[2] + { + global::_003CModule_003E._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(2101114993), + global::_003CModule_003E._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(380812930) + }; + currentItem = (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(item3.CfcId) ? 1 : 0); + } + if (_206E_202E_206F_202C_202B_206F_206E_206D_200D_200B_202D_206F_206C_206A_200B_200D_200F_200F_202C_200C_202E_202C_206C_206A_202E_200C_200D_202B_206B_202D_202B_206F_206A_206A_202E_202A_206E_200C_200E_206C_202E()) + { + _206B_200C_200C_202D_206B_202B_200B_206C_200B_200C_206F_202D_200B_206D_202C_200B_202C_200C_200E_202A_202A_200B_206A_202B_206B_206B_202A_200F_200E_206C_206A_202D_206C_206F_202C_200E_200D_206A_206B_202E_202E(); + if (item3.Level > 0) + { + ImU8String imU8String = new ImU8String(2, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1503539278)); + imU8String.AppendFormatted(item3.Level); + _202C_206F_202A_206B_202E_202B_202D_206C_200E_202E_200D_206D_200B_200B_206D_206A_200B_202E_200B_200E_200B_202A_202D_200C_206D_206B_202B_200E_200B_202E_200B_206C_206C_206C_202E_206E_202E_202E_202E_206B_202E(ref UiThemeUtils.AccentColor, imU8String); + } + } + if (_206E_202E_206F_202C_202B_206F_206E_206D_200D_200B_202D_206F_206C_206A_200B_200D_200F_200F_202C_200C_202E_202C_206C_206A_202E_200C_200D_202B_206B_202D_202B_206F_206A_206A_202E_202A_206E_200C_200E_206C_202E()) + { + _206B_200C_200C_202D_206B_202B_200B_206C_200B_200C_206F_202D_200B_206D_202C_200B_202C_200C_200E_202A_202A_200B_206A_202B_206B_206B_202A_200F_200E_206C_206A_202D_206C_206F_202C_200E_200D_206A_206B_202E_202E(); + ImRaii.FontDisposable fontDisposable = _202C_202D_206A_202D_202A_200F_202D_200E_206B_202E_200F_206A_202C_202A_200F_202B_202E_206E_202C_206B_200D_206C_202B_206A_206F_206A_202B_202C_200F_202B_200C_206D_202B_206B_202E_200E_202C_200F_206C_200D_202E(_206E_202D_200E_200F_202C_202B_200E_200E_200F_202E_200E_202A_206D_202A_200B_206B_206C_202C_202A_206C_206D_200B_200B_200D_206F_200E_200F_206A_202A_200D_200C_200C_202A_200B_202B_206B_206E_202E_206B_206D_202E(), true); + float x; + try + { + x = _206A_206D_202D_206D_206A_200B_206E_206A_200F_200B_200C_200E_206A_206D_206B_206C_206D_206C_200F_202C_202C_200F_206A_200B_202D_202B_206E_200E_206B_202A_202A_202C_206F_206B_206D_206F_200B_200F_202E_206A_202E((ImU8String)_202E_206A_202D_206F_202E_202E_206F_202E_200F_200D_202D_202E_200C_200D_200B_206E_200C_206B_206C_206A_202B_202A_202C_200D_202B_200E_200B_200C_206C_206F_206D_200E_200E_202C_202E_206B_206D_200D_202D_202D_202E(FontAwesomeIcon.InfoCircle), false, -1f).X; + } + finally + { + num = ((fontDisposable == null) ? (-794763030) : (-794763029)); + while (true) + { + int num9 = num; + num3 = -794763030; + num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -794763029; + break; + case 0: + goto end_IL_0408; + case 1: + _200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)fontDisposable); + num = -794763030; + break; + } + continue; + end_IL_0408: + break; + } + } + UiThemeUtils.RowLabel(item3.Name, x + _206A_200E_202B_202A_202C_200B_202C_206A_200B_202A_200F_206C_206D_206A_200B_202C_200E_206E_200D_206D_202B_206E_206C_200B_200F_202B_206C_200D_200B_202A_200E_200F_206A_206D_202E_200B_202D_202B_202D_202C_202E().ItemSpacing.X); + if (!runInstancedContentWithAutoDuty) + { + goto IL_05c3; + } + num = -660637057; + while (true) + { + int num10 = num; + num3 = -660637058; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 2: + num = -660637057; + break; + case 1: + goto IL_04c2; + case 0: + goto end_IL_0488; + } + continue; + IL_04c2: + if (!_autoDutyIpc.HasPath(item3.CfcId)) + { + num = -660637058; + continue; + } + goto IL_05c3; + continue; + end_IL_0488: + break; + } + _200D_200F_200F_206E_206A_200F_202D_200C_202B_200B_200D_206A_206F_206E_202D_200D_202E_200F_200C_206D_206A_202D_200F_206B_202D_206F_202E_206B_206E_202A_200F_202B_202D_202A_202A_200C_206C_200F_200F_200F_202E(); + fontDisposable = _202C_202D_206A_202D_202A_200F_202D_200E_206B_202E_200F_206A_202C_202A_200F_202B_202E_206E_202C_206B_200D_206C_202B_206A_206F_206A_202B_202C_200F_202B_200C_206D_202B_206B_202E_200E_202C_200F_206C_200D_202E(_206E_202D_200E_200F_202C_202B_200E_200E_200F_202E_200E_202A_206D_202A_200B_206B_206C_202C_202A_206C_206D_200B_200B_200D_206F_200E_200F_206A_202A_200D_200C_200C_202A_200B_202B_206B_206E_202E_206B_206D_202E(), true); + try + { + _202C_206F_202A_206B_202E_202B_202D_206C_200E_202E_200D_206D_200B_200B_206D_206A_200B_202E_200B_200E_200B_202A_202D_200C_206D_206B_202B_200E_200B_202E_200B_206C_206C_206C_202E_206E_202E_202E_202E_206B_202E(ref UiThemeUtils.StatusLocked, (ImU8String)_202E_206A_202D_206F_202E_202E_206F_202E_200F_200D_202D_202E_200C_200D_200B_206E_200C_206B_206C_206A_202B_202A_202C_200D_202B_200E_200B_200C_206C_206F_206D_200E_200E_202C_202E_206B_206D_200D_202D_202D_202E(FontAwesomeIcon.Times)); + } + finally + { + num = ((fontDisposable == null) ? 83435608 : 83435611); + while (true) + { + int num13 = num; + num3 = 83435609; + num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 0: + num = 83435611; + break; + case 2: + _200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)fontDisposable); + num = 83435608; + break; + case 1: + goto end_IL_0534; + } + continue; + end_IL_0534: + break; + } + } + if (_200C_200C_202C_206A_206A_206C_202D_200F_200B_206D_202A_200E_200C_202A_202C_200F_206E_202E_200C_206F_206E_200C_200E_200F_202B_202A_200F_200F_200D_200C_200C_200C_200F_202D_202C_206C_206F_202C_202C_206F_202E()) + { + using (_200C_206F_200E_206D_206C_200F_202B_200D_200F_206C_202C_200D_206E_202B_206F_206E_206A_206D_200B_206A_206F_202D_206F_206B_206F_200E_200E_202B_200E_206F_200F_206B_200F_202E_206F_202B_206F_202E_206E_202D_202E()) + { + _200E_206B_202A_202C_200D_202B_200E_206A_200B_200D_202A_200B_206C_202D_200B_200E_202E_200C_202A_202D_206B_202A_206A_206A_206B_206B_206B_200D_200E_206C_200B_202C_200C_202B_200D_202C_206F_200B_202E_200E_202E(400f); + _206A_200C_206F_202B_202E_202C_206F_202D_206B_206C_200F_206B_206A_206D_202A_200F_202D_206D_202B_200D_202E_202B_200B_200F_200E_206E_200F_206E_206E_202B_202C_202B_206C_200D_202B_202B_202E_202E_200B_206E_202E((ImU8String)global::_003CModule_003E._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(292811051)); + _202D_200F_200F_206F_200F_202C_206E_200C_200C_202C_202A_206B_200D_202B_202B_206E_206B_206F_200C_206D_206A_200F_200B_200D_200E_206A_206B_200D_206C_206D_206E_202D_200C_202A_206A_200C_206B_200C_202D_202A_202E(); + } + } + } + goto IL_0666; + IL_0666: + if (_206E_202E_206F_202C_202B_206F_206E_206D_200D_200B_202D_206F_206C_206A_200B_200D_200F_200F_202C_200C_202E_202C_206C_206A_202E_200C_200D_202B_206B_202D_202B_206F_206A_206A_202E_202A_206E_200C_200E_206C_202E()) + { + num = 1001003675; + goto IL_05e2; + } + goto IL_08f4; + IL_08f4: + if (!_206E_202E_206F_202C_202B_206F_206E_206D_200D_200B_202D_206F_206C_206A_200B_200D_200F_200F_202C_200C_202E_202C_206C_206A_202E_200C_200D_202B_206B_202D_202B_206F_206A_206A_202E_202A_206E_200C_200E_206C_202E()) + { + continue; + } + ImU8String imU8String2 = new ImU8String(13, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1518573778)); + imU8String2.AppendFormatted(item3.CfcId); + ImRaii.IdDisposable idDisposable = _200B_206F_206A_202E_202B_202E_206C_200B_200D_206C_206E_206C_200F_206A_206F_200E_200D_200D_202B_200F_202A_202C_200B_206F_202E_200C_200F_200F_202D_200D_200C_202B_202A_206D_200C_202A_206E_206C_206A_206B_202E(imU8String2, true); + try + { + EDutyMode value3; + bool flag2 = base.Configuration.Duties.DutyModeOverrides.TryGetValue(item3.CfcId, out value3); + num = (flag2 ? 1328430031 : 1328430017); + while (true) + { + int num16 = num; + num3 = 1328430027; + num4 = num16; + int num18; + string text2; + EDutyMode num17; + string text3; + string[] dutyModeLabels; + string[] array2; + int num20; + ReadOnlySpan readOnlySpan; + int num19; + string[] array3; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 4: + num18 = (int)value3; + goto IL_09ca; + case 6: + text2 = _202D_200F_202A_200B_202A_202C_202D_200D_202E_206B_202D_206D_200E_202B_206A_200F_200B_206D_206E_202D_202E_200E_200B_202E_200B_206F_206D_206A_206F_202D_206A_206A_206C_206B_206D_200B_200F_202D_206F_206A_202E(global::_003CModule_003E._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(-1030730934), DutyModeLabels[(int)eDutyMode]); + break; + case 9: + num = 1328430017; + continue; + case 10: + num18 = -1; + goto IL_09ca; + case 0: + Save(); + num = 1328430022; + continue; + case 5: + num = ((currentItem2 != 0) ? 1328430028 : 1328430016); + continue; + case 11: + base.Configuration.Duties.DutyModeOverrides.Remove(item3.CfcId); + num = 1328430027; + continue; + case 2: + num = (flag2 ? 1328430026 : 1328430023); + continue; + case 13: + num = ((!_200C_200C_202C_206A_206A_206C_202D_200F_200B_206D_202A_200E_200C_202A_202C_200F_206E_202E_200C_206F_206E_200C_200E_200F_202B_202A_200F_200F_200D_200C_200C_200C_200F_202D_202C_206C_206F_202C_202C_206F_202E()) ? 1328430024 : 1328430025); + continue; + case 7: + { + Dictionary dutyModeOverrides = base.Configuration.Duties.DutyModeOverrides; + uint cfcId = item3.CfcId; + int num21 = currentItem2; + num3 = 1; + num4 = num21; + dutyModeOverrides[cfcId] = (EDutyMode)(~(~num4 + num3)); + num = 1328430027; + continue; + } + case 12: + num17 = base.Configuration.Duties.DefaultDutyMode; + goto IL_0bc6; + case 1: + num17 = value3; + goto IL_0bc6; + case 8: + text2 = _202D_200F_202A_200B_202A_202C_202D_200D_202E_206B_202D_206D_200E_202B_206A_200F_200B_206D_206E_202D_202E_200E_200B_202E_200B_206F_206D_206A_206F_202D_206A_206A_206C_206B_206D_200B_200F_202D_206F_206A_202E(global::_003CModule_003E._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(-619455763), DutyModeLabels[(int)eDutyMode]); + break; + case 3: + goto end_IL_0970; + IL_0bc6: + eDutyMode = num17; + num = (flag2 ? 1328430019 : 1328430029); + continue; + IL_09ca: + text3 = global::_003CModule_003E._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(-1673841824); + dutyModeLabels = DutyModeLabels; + num19 = 0; + num3 = dutyModeLabels.Length; + num4 = 1; + array2 = new string[(num4 | num3) + (num4 & num3)]; + array2[num19] = text3; + num20 = num19; + num3 = 1; + num4 = num20; + num19 = (num4 | num3) + (num4 & num3); + readOnlySpan = new ReadOnlySpan(dutyModeLabels); + readOnlySpan.CopyTo(new Span(array2).Slice(num19, readOnlySpan.Length)); + num19 += readOnlySpan.Length; + array3 = array2; + currentItem2 = num18 + 1; + _206C_200F_206A_200C_200D_206F_200E_200C_202D_200F_206D_202C_202A_202D_206E_206E_200E_206B_200B_202E_206F_200C_200C_206E_200E_206C_202E_206C_202C_202E_200E_206A_200C_202C_206A_202B_200E_202C_206B_202D_202E(-1f); + num = ((!UiThemeUtils.ThemedCombo(string.Empty, ref currentItem2, array3, array3.Length)) ? 1328430022 : 1328430030); + continue; + } + _202A_206D_206A_202E_200E_202E_202A_202D_202D_206F_206E_206C_202B_200E_202C_202A_200E_206A_202C_202C_200E_202B_200D_200F_200B_200B_200E_206B_200E_206A_202E_200D_202D_202E_206C_202A_202C_200E_206C_202E_202E((ImU8String)text2); + num = 1328430024; + continue; + end_IL_0970: + break; + } + } + finally + { + num = ((idDisposable == null) ? 318767164 : 318767167); + while (true) + { + int num22 = num; + num3 = 318767166; + num4 = num22; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 318767167; + break; + case 2: + goto end_IL_0c38; + case 1: + _200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)idDisposable); + num = 318767164; + break; + } + continue; + end_IL_0c38: + break; + } + } + continue; + IL_05e2: + while (true) + { + int num23 = num; + num3 = 1001003673; + num4 = num23; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + ConfigComponent.DrawNotes(value2.Enabled, value2.Notes); + num = 1001003672; + break; + case 3: + goto IL_0635; + case 4: + num = 1001003674; + break; + case 1: + goto end_IL_05e2; + case 2: + goto IL_067c; + } + continue; + IL_0635: + num = ((value2.Notes.Length == 0) ? 1001003672 : 1001003673); + continue; + end_IL_05e2: + break; + } + goto IL_0666; + IL_067c: + ImU8String imU8String3 = new ImU8String(16, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-2087649454)); + imU8String3.AppendFormatted(item3.CfcId); + ImRaii.IdDisposable idDisposable2 = _200B_206F_206A_202E_202B_202E_206C_200B_200D_206C_206E_206C_200F_206A_206F_200E_200D_200D_202B_200F_202A_202C_200B_206F_202E_200C_200F_200F_202D_200D_200C_202B_202A_206D_200C_202A_206E_206C_206A_206B_202E(imU8String3, true); + try + { + _206C_200F_206A_200C_200D_206F_200E_200C_202D_200F_206D_202C_202A_202D_206E_206E_200E_206B_200B_202E_206F_200C_200C_206E_200E_206C_202E_206C_202C_202E_200E_206A_200C_202C_206A_202B_200E_202C_206B_202D_202E(-1f); + num = ((!UiThemeUtils.ThemedCombo(string.Empty, ref currentItem, array, array.Length)) ? (-730773088) : (-730773077)); + while (true) + { + int num24 = num; + num3 = -730773080; + num4 = num24; + int num25 = num4 + num3; + int num26 = num4 & num3; + switch (num25 - (num26 + num26)) + { + case 1: + Save(); + num = -730773088; + break; + case 3: + base.Configuration.Duties.WhitelistedDutyCfcIds.Remove(item3.CfcId); + base.Configuration.Duties.BlacklistedDutyCfcIds.Remove(item3.CfcId); + num = ((!flag) ? (-730773076) : (-730773073)); + break; + case 0: + num = ((currentItem != 2) ? (-730773079) : (-730773074)); + break; + case 4: + num = ((currentItem != 1) ? (-730773079) : (-730773087)); + break; + case 6: + base.Configuration.Duties.BlacklistedDutyCfcIds.Add(item3.CfcId); + num = -730773079; + break; + case 5: + num = -730773077; + break; + case 9: + base.Configuration.Duties.WhitelistedDutyCfcIds.Add(item3.CfcId); + num = -730773079; + break; + case 7: + num = ((currentItem != 1) ? (-730773080) : (-730773078)); + break; + case 2: + base.Configuration.Duties.WhitelistedDutyCfcIds.Add(item3.CfcId); + num = -730773079; + break; + case 8: + goto end_IL_06e8; + } + continue; + end_IL_06e8: + break; + } + } + finally + { + num = ((idDisposable2 == null) ? (-810065188) : (-810065187)); + while (true) + { + int num27 = num; + num3 = -810065188; + num4 = num27; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_08a8; + case 1: + _200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)idDisposable2); + num = -810065188; + break; + case 2: + num = -810065187; + break; + } + continue; + end_IL_08a8: + break; + } + } + goto IL_08f4; + IL_05c3: + num = ((!flag) ? 1001003672 : 1001003674); + goto IL_05e2; + } + goto end_IL_01ae; + } + continue; + end_IL_01ae: + break; + } + } + } + num = ((open == expansionHeaderStates.GetValueOrDefault(text, defaultValue: false)) ? 690590899 : 690590897); } else { - array = new string[2] { "Disabled", "Enabled" }; - currentItem = (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(num) ? 1 : 0); + num = 690590896; } - if (ImGui.TableNextColumn()) + while (true) { - ImGui.AlignTextToFramePadding(); - ImGui.TextUnformatted(text); - if (ImGui.IsItemHovered() && base.Configuration.Advanced.AdditionalStatusInformation) + int num28 = num; + num3 = 690590896; + num4 = num28; + int num29 = num4 + num3; + int num30 = num4 & num3; + switch (num29 - (num30 + num30)) { - using ImRaii.TooltipDisposable tooltipDisposable = ImRaii.Tooltip(); - if (tooltipDisposable.Alive) - { - 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) - { - ImGui.BulletText("Duty Support: Available"); - } - } - } - 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) - { - switch (currentItem) - { - case 1: - base.Configuration.Duties.WhitelistedDutyCfcIds.Add(num); - break; - case 2: - base.Configuration.Duties.BlacklistedDutyCfcIds.Add(num); - break; - } - } - 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)) - { - Configuration.EDutyMode value3; - bool flag2 = base.Configuration.Duties.DutyModeOverrides.TryGetValue(num, out value3); - Configuration.EDutyMode num2 = (flag2 ? value3 : ((Configuration.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] = (Configuration.EDutyMode)(currentItem2 - 1); - } + case 3: + goto end_IL_0cd8; + case 1: + expansionHeaderStates[text] = open; Save(); + num = 690590899; + break; + case 2: + num = 690590897; + break; + case 0: + return; } - if (ImGui.IsItemHovered()) - { - Configuration.EDutyMode eDutyMode = (flag2 ? value3 : base.Configuration.Duties.DefaultDutyMode); - ImGui.SetTooltip(flag2 ? ("Override: " + DutyModeLabels[(int)eDutyMode]) : ("Using default: " + DutyModeLabels[(int)eDutyMode])); - } + continue; + end_IL_0cd8: + break; } + int num31 = num7; + num3 = 1; + num4 = num31; + int num32 = num4 ^ num3; + int num33 = num4 & num3; + num7 = num32 + (num33 + num33); } } - else if (base.Configuration.Duties.ExpansionHeaderStates.GetValueOrDefault(key, defaultValue: false)) - { - base.Configuration.Duties.ExpansionHeaderStates[key] = false; - Save(); } + continue; + IL_0094: + num = 397429395; } } private (int enabledCount, int totalCount) GetDutyCountsForExpansion(EExpansionVersion expansion, Dictionary> contentByExpansion) { - if (!contentByExpansion.TryGetValue(expansion, out List value)) + int num = (contentByExpansion.TryGetValue(expansion, out List value) ? (-2145746292) : (-2145746291)); + DutyInfo current = default(DutyInfo); + DutyEntry value2 = default(DutyEntry); + while (true) { - return (enabledCount: 0, totalCount: 0); - } - int num = 0; - int num2 = 0; - foreach (var (num5, _, _) in value) - { - if (_questRegistry.TryGetDutyByContentFinderConditionId(num5, out DutyOptions dutyOptions)) + int num2 = num; + int num3 = -2145746292; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - num2++; - if (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(num5) || (!base.Configuration.Duties.BlacklistedDutyCfcIds.Contains(num5) && dutyOptions.Enabled)) - { - num++; - } - } - else + case 2: + goto IL_0052; + case 1: + return (enabledCount: 0, totalCount: 0); + case 0: { - num2++; - if (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(num5)) + int num5 = 0; + int num6 = 0; + using (List.Enumerator enumerator = value.GetEnumerator()) { - num++; + num = -357532631; + while (true) + { + int num7 = num; + num3 = -357532638; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 11: + num = (enumerator.MoveNext() ? (-357532637) : (-357532640)); + break; + case 3: + { + int num15 = num5; + num3 = 1; + num4 = num15; + int num16 = num4 ^ num3; + int num17 = num4 & num3; + num5 = num16 + (num17 + num17); + num = -357532631; + break; + } + case 1: + current = enumerator.Current; + num = ((!DutyRegistry.Duties.TryGetValue(current.CfcId, out value2)) ? (-357532634) : (-357532629)); + break; + case 7: + if (value2.Enabled) + { + goto case 0; + } + goto case 5; + case 4: + { + int num14 = num6; + num3 = 1; + num4 = num14; + num6 = (num4 | num3) + (num4 & num3); + num = ((!base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(current.CfcId)) ? (-357532631) : (-357532639)); + break; + } + case 9: + { + int num11 = num6; + num3 = 1; + num4 = num11; + int num12 = num4 ^ num3; + int num13 = num4 & num3; + num6 = num12 + (num13 + num13); + num = (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(current.CfcId) ? (-357532638) : (-357532636)); + break; + } + case 8: + { + int num10 = num5; + num3 = 1; + num4 = num10; + num5 = (num4 | num3) + (num4 & num3); + num = -357532631; + break; + } + case 0: + num = -357532630; + break; + case 5: + num = -357532631; + break; + case 10: + num = -357532631; + break; + case 6: + num = (base.Configuration.Duties.BlacklistedDutyCfcIds.Contains(current.CfcId) ? (-357532633) : (-357532635)); + break; + case 2: + goto end_IL_007d; + } + continue; + end_IL_007d: + break; + } } + return (enabledCount: num5, totalCount: num6); } + } + continue; + IL_0052: + num = -2145746291; } - return (enabledCount: num, totalCount: num2); } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawEnableAllButton() { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.CheckCircle, "Enable All")) + int num; + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.CheckCircle, global::_003CModule_003E._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(-252153672))) { 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)) + IEnumerator> enumerator = _contentFinderConditionNames.Values.Concat>(_allTrialNames.Values).Concat>(_allNormalRaidNames.Values).Concat>(_allAllianceRaidNames.Values) + .GetEnumerator(); + try { - foreach (var (item, _, _) in item2) + while (_200E_206E_202C_200E_206F_202D_200B_206B_206C_206A_202D_202B_206E_206D_202B_202B_206F_200E_200D_202E_200E_200E_200E_200B_202C_202B_206B_202A_202C_206B_202E_200D_200F_202C_200D_200C_202A_206F_200E_202B_202E((IEnumerator)enumerator)) { - base.Configuration.Duties.WhitelistedDutyCfcIds.Add(item); - } - } - Save(); - } - if (ImGui.IsItemHovered()) - { - 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)) + using List.Enumerator enumerator2 = enumerator.Current.GetEnumerator(); + num = 659952751; + while (true) { - base.Configuration.Duties.DutyModeOverrides[result3] = (Configuration.EDutyMode)result4; + int num2 = num; + int num3 = 659952750; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 659952751; + break; + case 1: + num = (enumerator2.MoveNext() ? 659952749 : 659952748); + break; + case 3: + { + DutyInfo current = enumerator2.Current; + base.Configuration.Duties.WhitelistedDutyCfcIds.Add(current.CfcId); + num = 659952751; + break; + } + case 2: + goto end_IL_00a0; + } + continue; + end_IL_00a0: + break; } } } + finally + { + num = ((enumerator == null) ? 495906108 : 495906111); + while (true) + { + int num7 = num; + int num3 = 495906109; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 495906111; + break; + case 2: + _200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)enumerator); + num = 495906108; + break; + case 1: + goto end_IL_016c; + } + continue; + end_IL_016c: + break; + } + } Save(); } + num = ((!_200C_200C_202C_206A_206A_206C_202D_200F_200B_206D_202A_200E_200C_202A_202C_200F_206E_202E_200C_206F_206E_200C_200E_200F_202B_202A_200F_200F_200D_200C_200C_200C_200F_202D_202C_206C_206F_202C_202C_206F_202E()) ? (-968009708) : (-968009705)); + while (true) + { + int num8 = num; + int num3 = -968009706; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -968009705; + break; + case 2: + return; + case 1: + _202A_206D_206A_202E_200E_202E_202A_202D_202D_206F_206E_206C_202B_200E_202C_202A_200E_206A_202C_202C_200E_202B_200D_200F_200B_200B_200E_206B_200E_206A_202E_200D_202D_202E_206C_202A_202C_200E_206C_202E_202E((ImU8String)global::_003CModule_003E._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(1505234353)); + num = -968009708; + break; + } + } } - private void DrawResetButton() + static ImRaii.DisabledDisposable _200F_206A_206C_200C_200F_206C_206E_200D_206A_200D_200E_200B_200D_206D_200C_200C_206D_206E_202B_200F_206C_200B_206E_206D_202C_200F_206F_202D_200C_202B_206B_202E_206D_202D_206E_206D_200F_206E_206D_206B_202E(bool P_0) { - 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 = Questionable.Configuration.EDutyMode.Support; - Save(); - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip("Hold CTRL to enable this button."); - } + return ImRaii.Disabled(P_0); + } + + static void _202C_200D_200C_206B_206A_200F_202A_200F_206D_202A_202B_200D_200C_206A_200B_200D_206F_200D_202D_206C_206C_202E_206A_200F_200E_206A_206B_200E_202C_206A_202D_200E_200E_200F_206D_206A_206C_200F_206D_202D_202E() + { + ImGui.Spacing(); + } + + static void _206A_200C_206F_202B_202E_202C_206F_202D_206B_206C_200F_206B_206A_206D_202A_200F_202D_206D_202B_200D_202E_202B_200B_200F_200E_206E_200F_206E_206E_202B_202C_202B_206C_200D_202B_202B_202E_202E_200B_206E_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static void _200D_200F_200F_206E_206A_200F_202D_200C_202B_200B_200D_206A_206F_206E_202D_200D_202E_200F_200C_206D_206A_202D_200F_206B_202D_206F_202E_206B_206E_202A_200F_202B_202D_202A_202A_200C_206C_200F_200F_200F_202E() + { + ImGui.SameLine(); + } + + static Vector2 _206C_202B_200C_206C_206D_200C_202D_206C_206B_202B_200C_202B_206C_200E_200E_200B_202B_200B_206A_200F_200E_202A_200F_202C_206E_206C_206E_202D_200F_206D_202D_206E_206E_206C_206A_206C_206D_206E_200E_200F_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _200B_200C_202D_202D_202D_206A_200F_200F_206B_206B_200E_202C_206F_202A_206F_200B_202C_200B_206B_206E_202C_200F_200C_206E_202B_200C_200B_200B_202A_206D_202A_200B_202C_202B_206C_206B_200D_200C_200F_202E_202E(float P_0, float P_1) + { + return MathF.Min(P_0, P_1); + } + + static void _206C_200F_206A_200C_200D_206F_200E_200C_202D_200F_206D_202C_202A_202D_206E_206E_200E_206B_200B_202E_206F_200C_200C_206E_200E_206C_202E_206C_202C_202E_200E_206A_200C_202C_206A_202B_200E_202C_206B_202D_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static ImRaii.IndentDisposable _200C_200F_202D_200C_202E_200B_206E_206E_206F_206F_206F_202D_200E_200D_200E_202A_206D_202C_202C_202C_206F_202C_206A_200C_200C_206B_200C_206A_200D_200F_206F_206A_206F_206D_200D_200C_200D_200F_202E_202C_202E(int P_0, bool P_1) + { + return ImRaii.PushIndent(P_0, P_1); + } + + static void _200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static float _206E_200D_206C_202C_206F_206D_206F_200E_200B_206A_200F_202B_202A_200B_202C_206C_202B_206A_206A_202B_206C_206E_206E_200D_200D_200D_206C_206F_202B_200D_206E_200C_206E_202C_206D_200E_202C_206D_206A_200F_202E() + { + return ImGui.GetCursorPosY(); + } + + static ImGuiStylePtr _206A_200E_202B_202A_202C_200B_202C_206A_200B_202A_200F_206C_206D_206A_200B_202C_200E_206E_200D_206D_202B_206E_206C_200B_200F_202B_206C_200D_200B_202A_200E_200F_206A_206D_202E_200B_202D_202B_202D_202C_202E() + { + return ImGui.GetStyle(); + } + + static void _202C_206B_202D_202C_206D_202D_206A_200D_200F_200D_202A_200E_206E_200E_200F_206D_206F_200B_202D_206D_206C_206F_200C_200E_206E_202B_200E_202C_200E_202E_206B_200E_206B_200F_200B_202C_200B_206C_206D_206F_202E(float P_0) + { + ImGui.SetCursorPosY(P_0); + } + + static float _206E_202A_206C_202C_206F_200E_200C_206F_206F_202C_206E_206B_202D_206B_206B_202A_206F_206C_200C_206F_200C_202B_200F_206F_202A_206C_206B_200F_206A_200F_206F_206A_206E_206A_206B_202A_200B_206B_202E_206B_202E(float P_0, float P_1) + { + return MathF.Max(P_0, P_1); + } + + static ImRaii.ChildDisposable _202C_202B_200E_206C_202B_206A_206A_206D_206C_202C_202B_206D_206A_206B_206E_200F_206A_206B_202C_206A_200D_206D_200F_200B_206D_200D_206F_200C_200B_202B_200B_202B_206C_202E_202A_200D_200F_200C_206B_200F_202E(ImU8String P_0, Vector2 P_1, bool P_2) + { + return ImRaii.Child(P_0, P_1, P_2); + } + + static string _200B_206E_206D_200F_202A_202C_202C_202D_206E_202A_206D_200C_202B_206A_200B_200B_202B_206A_202E_200C_202C_200B_200E_200B_202B_206B_200C_202A_202D_200E_206D_200B_206C_206C_202A_200B_202E_206B_200F_206D_202E(EExpansionVersion P_0) + { + return P_0.ToFriendlyString(); + } + + static void _200D_206E_200C_202E_206C_206D_202D_206C_202E_206E_206C_200C_206E_206D_206F_200E_206B_202E_206E_202C_206D_200C_200B_200C_200B_206D_200E_200C_202B_206C_202A_202E_202D_206C_206A_200C_202E_206C_206F_206E_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static void _206E_206C_202A_202C_200E_206A_206D_206F_206B_206C_206C_202E_202B_200F_200D_200F_206A_206C_200C_206E_202A_200D_206D_202A_206D_202D_200D_202D_200B_200F_206B_200E_200D_206A_200C_200D_206A_202E_200D_202D_202E() + { + ImGui.TableNextRow(); + } + + static bool _206E_202E_206F_202C_202B_206F_206E_206D_200D_200B_202D_206F_206C_206A_200B_200D_200F_200F_202C_200C_202E_202C_206C_206A_202E_200C_200D_202B_206B_202D_202B_206F_206A_206A_202E_202A_206E_200C_200E_206C_202E() + { + return ImGui.TableNextColumn(); + } + + static void _206B_200C_200C_202D_206B_202B_200B_206C_200B_200C_206F_202D_200B_206D_202C_200B_202C_200C_200E_202A_202A_200B_206A_202B_206B_206B_202A_200F_200E_206C_206A_202D_206C_206F_202C_200E_200D_206A_206B_202E_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static void _202C_206F_202A_206B_202E_202B_202D_206C_200E_202E_200D_206D_200B_200B_206D_206A_200B_202E_200B_200E_200B_202A_202D_200C_206D_206B_202B_200E_200B_202E_200B_206C_206C_206C_202E_206E_202E_202E_202E_206B_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static ImFontPtr _206E_202D_200E_200F_202C_202B_200E_200E_200F_202E_200E_202A_206D_202A_200B_206B_206C_202C_202A_206C_206D_200B_200B_200D_206F_200E_200F_206A_202A_200D_200C_200C_202A_200B_202B_206B_206E_202E_206B_206D_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _202C_202D_206A_202D_202A_200F_202D_200E_206B_202E_200F_206A_202C_202A_200F_202B_202E_206E_202C_206B_200D_206C_202B_206A_206F_206A_202B_202C_200F_202B_200C_206D_202B_206B_202E_200E_202C_200F_206C_200D_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _202E_206A_202D_206F_202E_202E_206F_202E_200F_200D_202D_202E_200C_200D_200B_206E_200C_206B_206C_206A_202B_202A_202C_200D_202B_200E_200B_200C_206C_206F_206D_200E_200E_202C_202E_206B_206D_200D_202D_202D_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _206A_206D_202D_206D_206A_200B_206E_206A_200F_200B_200C_200E_206A_206D_206B_206C_206D_206C_200F_202C_202C_200F_206A_200B_202D_202B_206E_200E_206B_202A_202A_202C_206F_206B_206D_206F_200B_200F_202E_206A_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static bool _200C_200C_202C_206A_206A_206C_202D_200F_200B_206D_202A_200E_200C_202A_202C_200F_206E_202E_200C_206F_206E_200C_200E_200F_202B_202A_200F_200F_200D_200C_200C_200C_200F_202D_202C_206C_206F_202C_202C_206F_202E() + { + return ImGui.IsItemHovered(); + } + + static ImRaii.TooltipDisposable _200C_206F_200E_206D_206C_200F_202B_200D_200F_206C_202C_200D_206E_202B_206F_206E_206A_206D_200B_206A_206F_202D_206F_206B_206F_200E_200E_202B_200E_206F_200F_206B_200F_202E_206F_202B_206F_202E_206E_202D_202E() + { + return ImRaii.Tooltip(); + } + + static void _200E_206B_202A_202C_200D_202B_200E_206A_200B_200D_202A_200B_206C_202D_200B_200E_202E_200C_202A_202D_206B_202A_206A_206A_206B_206B_206B_200D_200E_206C_200B_202C_200C_202B_200D_202C_206F_200B_202E_200E_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static void _202D_200F_200F_206F_200F_202C_206E_200C_200C_202C_202A_206B_200D_202B_202B_206E_206B_206F_200C_206D_206A_200F_200B_200D_200E_206A_206B_200D_206C_206D_206E_202D_200C_202A_206A_200C_206B_200C_202D_202A_202E() + { + ImGui.PopTextWrapPos(); + } + + static ImRaii.IdDisposable _200B_206F_206A_202E_202B_202E_206C_200B_200D_206C_206E_206C_200F_206A_206F_200E_200D_200D_202B_200F_202A_202C_200B_206F_202E_200C_200F_200F_202D_200D_200C_202B_202A_206D_200C_202A_206E_206C_206A_206B_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static string _202D_200F_202A_200B_202A_202C_202D_200D_202E_206B_202D_206D_200E_202B_206A_200F_200B_206D_206E_202D_202E_200E_200B_202E_200B_206F_206D_206A_206F_202D_206A_206A_206C_206B_206D_200B_200F_202D_206F_206A_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _202A_206D_206A_202E_200E_202E_202A_202D_202D_206F_206E_206C_202B_200E_202C_202A_200E_206A_202C_202C_200E_202B_200D_200F_200B_200B_200E_206B_200E_206A_202E_200D_202D_202E_206C_202A_202C_200E_206C_202E_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static bool _200E_206E_202C_200E_206F_202D_200B_206B_206C_206A_202D_202B_206E_206D_202B_202B_206F_200E_200D_202E_200E_200E_200E_200B_202C_202B_206B_202A_202C_206B_202E_200D_200F_202C_200D_200C_202A_206F_200E_202B_202E(IEnumerator P_0) + { + return P_0.MoveNext(); } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/GeneralConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/GeneralConfigComponent.cs index 5cf232b0..e9b2d851 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,482 +10,1403 @@ 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; + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func<(EClassJob ClassJob, int Category), EClassJob> _003C_003E9__13_0; + + public static Func _003C_003E9__13_1; + + public static Func _003C_003E9__13_2; + + public static Func _003C_003E9__13_3; + + public static Func<(EClassJob ClassJob, string Name), EClassJob> _003C_003E9__13_5; + + public static Func<(EClassJob ClassJob, string Name), string> _003C_003E9__13_6; + + public static Func _003C_003E9__13_7; + + internal EClassJob _003C_002Ector_003Eb__13_0((EClassJob ClassJob, int Category) x) + { + return x.ClassJob; + } + + internal bool _003C_002Ector_003Eb__13_1(EClassJob x) + { + return x != EClassJob.Adventurer; + } + + internal bool _003C_002Ector_003Eb__13_2(EClassJob x) + { + int num = (_206D_200C_202A_200F_200B_200D_206D_200C_202E_206E_206B_202B_200F_202C_200C_200D_200E_200F_206B_202D_200F_200C_200D_206D_206A_202E_200F_200E_202E_200B_200E_206D_206D_206F_206A_202B_206C_206A_200D_206C_202E(x) ? (-1141664245) : (-1141664248)); + while (true) + { + int num2 = num; + int num3 = -1141664246; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 1: + return false; + case 2: + return !_200B_202A_200C_200B_202D_206F_200D_200C_202A_206D_202A_206C_200C_200B_200D_202A_202E_206E_200E_206B_202B_200D_206E_202C_202A_206B_202B_206F_200B_206F_202C_202C_206F_206E_206E_202D_202D_202C_206D_200F_202E(x); + } + continue; + IL_0046: + num = -1141664248; + } + } + + internal bool _003C_002Ector_003Eb__13_3(EClassJob x) + { + return !_206D_206B_200F_200F_200D_200B_202C_202B_206B_200D_200D_200E_200C_206A_200C_200E_202D_206F_206C_200D_202B_202E_206A_202C_202E_200D_200C_206C_206A_200D_202A_206B_202C_200B_206E_206E_206D_202C_202D_206C_202E(x); + } + + internal EClassJob _003C_002Ector_003Eb__13_5((EClassJob ClassJob, string Name) x) + { + return x.ClassJob; + } + + internal string _003C_002Ector_003Eb__13_6((EClassJob ClassJob, string Name) x) + { + return x.Name; + } + + internal string _003C_002Ector_003Eb__13_7(EClassJob x) + { + return _202A_202E_200D_206F_202B_202B_206F_202C_206D_206C_200D_202C_206B_200D_200E_200F_206E_202D_200B_202E_200C_206A_200C_200C_200D_200C_206C_206A_200C_200B_206E_200B_200C_206A_206B_202A_206B_200D_206E_200C_202E(x); + } + + static bool _206D_200C_202A_200F_200B_200D_206D_200C_202E_206E_206B_202B_200F_202C_200C_200D_200E_200F_206B_202D_200F_200C_200D_206D_206A_202E_200F_200E_202E_200B_200E_206D_206D_206F_206A_202B_206C_206A_200D_206C_202E(EClassJob P_0) + { + return P_0.IsCrafter(); + } + + static bool _200B_202A_200C_200B_202D_206F_200D_200C_202A_206D_202A_206C_200C_200B_200D_202A_202E_206E_200E_206B_202B_200D_206E_202C_202A_206B_202B_206F_200B_206F_202C_202C_206F_206E_206E_202D_202D_202C_206D_200F_202E(EClassJob P_0) + { + return P_0.IsGatherer(); + } + + static bool _206D_206B_200F_200F_200D_200B_202C_202B_206B_200D_200D_200E_200C_206A_200C_200E_202D_206F_206C_200D_202B_202E_206A_202C_202E_200D_200C_206C_206A_200D_202A_206B_202C_200B_206E_206E_206D_202C_202D_206C_202E(EClassJob P_0) + { + return P_0.IsClass(); + } + + static string _202A_202E_200D_206F_202B_202B_206F_202C_206D_206C_200D_202C_206B_200D_200E_200F_206E_202D_200B_202E_200C_206A_200C_200C_200D_200C_206C_206A_200C_200B_206E_200B_200C_206A_206B_202A_206B_200D_206E_200C_202E(EClassJob P_0) + { + return P_0.ToFriendlyString(); + } + } 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] + { + global::_003CModule_003E._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(-1980616671), + global::_003CModule_003E._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(372022407), + global::_003CModule_003E._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(1674778799), + global::_003CModule_003E._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(1041968074) + }; 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; } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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 - where !x.IsCrafter() && !x.IsGatherer() - where !x.IsClass() + List list = (from x in (from x in Enum.GetValues() + where x != EClassJob.Adventurer + select x).Where(delegate(EClassJob x) + { + int num = (_003C_003Ec._206D_200C_202A_200F_200B_200D_206D_200C_202E_206E_206B_202B_200F_202C_200C_200D_200E_200F_206B_202D_200F_200C_200D_206D_206A_202E_200F_200E_202E_200B_200E_206D_206D_206F_206A_202B_206C_206A_200D_206C_202E(x) ? (-1141664245) : (-1141664248)); + while (true) + { + int num2 = num; + int num3 = -1141664246; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 1: + return false; + case 2: + return !_003C_003Ec._200B_202A_200C_200B_202D_206F_200D_200C_202A_206D_202A_206C_200C_200B_200D_202A_202E_206E_200E_206B_202B_200D_206E_202C_202A_206B_202B_206F_200B_206F_202C_202C_206F_206E_206E_202D_202D_202C_206D_200F_202E(x); + } + continue; + IL_0046: + num = -1141664248; + } + }) + where !_003C_003Ec._206D_206B_200F_200F_200D_200B_202C_202B_206B_200D_200D_200E_200C_206A_200C_200E_202D_206F_206C_200D_202B_202E_206A_202C_202E_200D_200C_206C_206A_200D_202A_206B_202C_200B_206E_206E_206D_202C_202D_206C_202E(x) orderby sortedClassJobs.IndexOf(x) select x).ToList(); _classJobIds = DefaultClassJobs.Select<(EClassJob, string), EClassJob>(((EClassJob ClassJob, string Name) x) => x.ClassJob).Concat(list).ToArray(); - _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); + _classJobNames = DefaultClassJobs.Select<(EClassJob, string), string>(((EClassJob ClassJob, string Name) x) => x.Name).Concat(list.Select((EClassJob x) => _003C_003Ec._202A_202E_200D_206F_202B_202B_206F_202C_206D_206C_200D_202C_206B_200D_200E_200F_206E_202D_200B_202E_200C_206A_200C_200C_200D_200C_206C_206A_200C_200B_206E_200B_200C_206A_206B_202A_206B_200D_206E_200C_202E(x))).ToArray(); } 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(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void DrawGrandCompanySelector(float comboWidth) + { + int currentItem = (int)base.Configuration.General.GrandCompany; + _200E_206F_206E_206F_206B_206C_200F_202A_206C_202C_200F_200C_206E_202C_206C_206A_206C_206E_206F_200D_202B_200B_200E_202E_206C_200D_200F_206B_206D_202C_202D_202C_206A_206C_202C_200E_202B_202B_200C_202E_202E(comboWidth); + int num = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(174108271), ref currentItem, _grandCompanyNames, _grandCompanyNames.Length)) ? (-299917072) : (-299917069)); + while (true) { - 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) + int num2 = num; + int num3 = -299917070; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - 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; - Save(); - } - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); - } - 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) - { - base.Configuration.General.CombatJob = EClassJob.Adventurer; - Save(); - num3 = 0; - } - string text2 = ((num3 >= 0 && num3 < _classJobNames.Length) ? _classJobNames[num3] : "Unknown"); - if (ImGui.BeginCombo("Preferred Combat Job", text2, ImGuiComboFlags.HeightLarge)) - { - 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(); - } - else - { - _classJobComboJustOpened = false; - } - ImGui.Separator(); - ImGui.Text("UI"); - using (ImRaii.PushIndent()) - { - bool v = base.Configuration.General.HideInAllInstances; - if (ImGui.Checkbox("Hide quest window in all instanced duties", ref v)) - { - base.Configuration.General.HideInAllInstances = v; + case 2: + return; + case 1: + base.Configuration.General.GrandCompany = (FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany)currentItem; 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()) - { - 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; - 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)) - { - base.Configuration.General.PersistPriorityQuestsBetweenSessions = v14; - Save(); - } - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); - } - if (ImGui.IsItemHovered()) - { - using (ImRaii.Tooltip()) - { - ImGui.Text("When enabled, your priority quest list will be saved and restored"); - ImGui.Text("when the plugin reloads or the game restarts."); - } - } - bool v15 = base.Configuration.General.ClearPriorityQuestsOnLogout; - if (ImGui.Checkbox("Clear priority quests on character logout", ref v15)) - { - base.Configuration.General.ClearPriorityQuestsOnLogout = v15; - Save(); - } - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); - } - if (ImGui.IsItemHovered()) - { - using (ImRaii.Tooltip()) - { - ImGui.Text("Clears the priority queue when your character logs out."); - ImGui.Text("This also clears the saved list if persistence is enabled."); - } - } - bool v16 = base.Configuration.General.ClearPriorityQuestsOnCompletion; - if (ImGui.Checkbox("Remove priority quests when completed", ref v16)) - { - base.Configuration.General.ClearPriorityQuestsOnCompletion = v16; - Save(); - } - ImGui.SameLine(); - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString()); - } - if (ImGui.IsItemHovered()) - { - using (ImRaii.Tooltip()) - { - ImGui.Text("Automatically removes completed quests from your priority queue."); - ImGui.Text("This helps keep your priority list clean without manual intervention."); - return; - } + num = -299917072; + break; + case 0: + num = -299917069; + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawCombatAndClass() + { + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(917007349)); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + float num = _206A_206F_206D_200C_200C_200C_206B_202D_202C_206F_206D_202E_202A_202A_206A_206A_206F_202D_206A_202A_206E_206A_200B_202E_200F_200D_200D_200C_202B_202D_200E_206F_206D_206E_206B_206D_202A_200E_206F_202D_202E(_200C_206D_200F_202E_200F_200C_206A_200C_200F_206C_206B_202C_206F_200C_206A_200B_200E_206C_200F_202D_206A_202D_202E_200F_200F_206F_206C_200B_206D_200B_202C_200F_202C_206F_206B_206C_206D_202B_206B_200C_202E().X * 0.6f, 260f); + _202A_200B_200E_200D_206E_206F_206E_206E_200E_200B_200C_206F_206F_206E_206C_200F_202B_202A_200B_200C_202B_202C_206F_206F_202E_200C_202C_206E_200D_200C_202D_200B_200C_200F_202B_200D_200D_200F_200D_206F_202E(); + _200B_206A_200E_200E_206B_200F_200D_200D_206C_200B_206A_200F_206A_200C_206C_206D_200C_206D_200E_202D_206F_206F_202A_202D_202E_202C_206D_202E_206D_202A_206F_206E_206A_200C_202E_206A_206C_206D_200C_206B_202E((ImU8String)global::_003CModule_003E._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(-441681196)); + _200F_206E_202D_200F_200B_200D_202C_202A_202B_200E_202A_200C_206E_202A_206F_206F_206C_206F_202E_200E_200B_206F_202D_200B_206E_202B_202B_202A_200E_206C_206F_206F_200D_202E_200C_200C_200F_202B_202D_200C_202E(); + string text = CombatModuleOptions.FirstOrDefault(((Configuration.ECombatModule Module, string Name, string[] InternalNames) x) => x.Module == base.Configuration.General.CombatModule).Name ?? global::_003CModule_003E._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(2031702311); + _202C_200B_206E_206C_206F_200E_206F_200F_202A_200F_202A_202C_206F_202D_202D_206B_200B_202C_202C_206B_200E_202C_206D_200D_206D_202A_206A_200D_200F_202A_200B_206A_206F_200D_200E_200E_202D_206F_206B_206A_202E(ref UiThemeUtils.AccentColor, (ImU8String)text); + _200F_206E_202D_200F_200B_200D_202C_202A_202B_200E_202A_200C_206E_202A_206F_206F_206C_206F_202E_200E_200B_206F_202D_200B_206E_202B_202B_202A_200E_206C_206F_206F_200D_202E_200C_200C_200F_202B_202D_200C_202E(); + int num2 = ((!UiThemeUtils.PillButton(global::_003CModule_003E._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(-934450231), selected: false)) ? 1018794268 : 1018794270); + int currentItem = default(int); + while (true) + { + int num3 = num2; + int num4 = 1018794269; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 4: + UiThemeUtils.EndCard(item, item2, item3); + return; + case 1: + DrawGrandCompanySelector(num); + currentItem = Array.IndexOf(_classJobIds, base.Configuration.General.CombatJob); + num2 = ((currentItem != -1) ? 1018794269 : 1018794271); + break; + case 2: + base.Configuration.General.CombatJob = EClassJob.Adventurer; + Save(); + currentItem = 0; + num2 = 1018794269; + break; + case 3: + { + System.Action? openDependenciesTab = OpenDependenciesTab; + if (openDependenciesTab == null) + { + goto case 1; + } + openDependenciesTab(); + num2 = 1018794268; + break; + } + case 6: + num2 = 1018794270; + break; + case 0: + num2 = ((!UiThemeUtils.SearchableCombo(global::_003CModule_003E._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(1658824067), ref currentItem, _classJobNames, ref _classJobSearchText, num)) ? 1018794265 : 1018794264); + break; + case 5: + base.Configuration.General.CombatJob = _classJobIds[currentItem]; + Save(); + num2 = 1018794265; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawBehaviour() + { + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-416136072)); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SubSectionHeader(global::_003CModule_003E._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(-549533391)); + bool value = base.Configuration.General.HideInAllInstances; + int num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(276124864), ref value)) ? 593225800 : 593225803); + bool value4 = default(bool); + bool value5 = default(bool); + int num13 = default(int); + while (true) + { + int num2 = num; + int num3 = 593225802; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 593225803; + break; + case 1: + base.Configuration.General.HideInAllInstances = value; + Save(); + num = 593225800; + break; + case 2: + { + ImRaii.DisabledDisposable disabledDisposable = _202E_202D_200D_206D_200E_202C_206E_200F_200F_206A_206A_206B_206E_202A_206D_202A_206C_200F_200F_200F_206E_200E_206E_202A_202C_206B_206B_200E_206C_200F_202B_206E_200B_206B_206A_206D_206E_200B_206B_202B_202E(!value); + try + { + ImRaii.IndentDisposable indentDisposable = _200F_206D_206F_202A_202D_206C_206D_200B_200D_200B_200F_202C_206C_206C_200D_206D_200B_206F_206E_200D_206E_206E_202E_202E_200C_206E_202C_202A_206D_206F_202E_200F_206E_206B_206E_202D_202B_202A_206E_200C_202E(1, true); + try + { + bool value2 = base.Configuration.Advanced.ShowWindowInInstances; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-1505028076), ref value2, global::_003CModule_003E._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(127940536))) ? 611209518 : 611209519); + while (true) + { + int num7 = num; + num3 = 611209518; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 611209519; + break; + case 1: + base.Configuration.Advanced.ShowWindowInInstances = value2; + Save(); + num = 611209518; + break; + case 0: + goto end_IL_0132; + } + continue; + end_IL_0132: + break; + } + } + finally + { + num = ((indentDisposable == null) ? 1960475111 : 1960475110); + while (true) + { + int num8 = num; + num3 = 1960475111; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1960475110; + break; + case 0: + goto end_IL_01b2; + case 1: + _200E_206B_202E_202B_200E_206B_206D_200C_202A_202E_206E_206E_202A_202B_202E_206E_206D_200B_200D_200F_206C_202C_200B_206A_202A_202D_206A_206F_206E_206F_202D_206F_202D_202A_200C_206D_206C_206B_202B_206F_202E((IDisposable)indentDisposable); + num = 1960475111; + break; + } + continue; + end_IL_01b2: + break; + } + } + } + finally + { + num = ((disabledDisposable == null) ? (-1971968134) : (-1971968135)); + while (true) + { + int num9 = num; + num3 = -1971968136; + num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1971968135; + break; + case 2: + goto end_IL_021d; + case 1: + _200E_206B_202E_202B_200E_206B_206D_200C_202A_202E_206E_206E_202A_202B_202E_206E_206D_200B_200D_200F_206C_202C_200B_206A_202A_202D_206A_206F_206E_206F_202D_206F_202D_202A_200C_206D_206C_206B_202B_206F_202E((IDisposable)disabledDisposable); + num = -1971968134; + break; + } + continue; + end_IL_021d: + break; + } + } + bool value3 = base.Configuration.General.ShowChangelogOnUpdate; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(870916420), ref value3)) ? 749812627 : 749812635); + while (true) + { + int num10 = num; + num3 = 749812627; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 10: + num = 749812635; + break; + case 0: + UiThemeUtils.SubSectionHeader(global::_003CModule_003E._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(514685832)); + value4 = base.Configuration.General.UseEscToCancelQuesting; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1283180312), ref value4)) ? 749812626 : 749812632); + break; + case 3: + base.Configuration.General.ShowIncompleteSeasonalEvents = !base.Configuration.General.ShowIncompleteSeasonalEvents; + Save(); + num = 749812629; + break; + case 2: + base.Configuration.General.StopOnPlayerInput = value5; + Save(); + num = 749812630; + break; + case 7: + num = ((num13 == 1) ? 749812634 : 749812631); + break; + case 1: + value5 = base.Configuration.General.StopOnPlayerInput; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1148189481), ref value5)) ? 749812630 : 749812625); + break; + case 5: + { + UiThemeUtils.SubSectionHeader(global::_003CModule_003E._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(436457563)); + InlineArray2 buffer = default(InlineArray2); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, UiThemeUtils.GridCheckbox>(ref buffer, 0) = new UiThemeUtils.GridCheckbox(global::_003CModule_003E._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(-1859570277), base.Configuration.General.ShowIncompleteSeasonalEvents); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, UiThemeUtils.GridCheckbox>(ref buffer, 1) = new UiThemeUtils.GridCheckbox(global::_003CModule_003E._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(1405430146), base.Configuration.General.HideSeasonalEventsFromJournalProgress); + ReadOnlySpan items = global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, UiThemeUtils.GridCheckbox>(in buffer, 2); + num13 = UiThemeUtils.CheckboxGrid(global::_003CModule_003E._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(-1077295308), items); + num = ((num13 == 0) ? 749812624 : 749812628); + break; + } + case 11: + base.Configuration.General.UseEscToCancelQuesting = value4; + Save(); + num = 749812626; + break; + case 6: + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + return; + case 4: + num = 749812629; + break; + case 9: + base.Configuration.General.HideSeasonalEventsFromJournalProgress = !base.Configuration.General.HideSeasonalEventsFromJournalProgress; + Save(); + num = 749812629; + break; + case 8: + base.Configuration.General.ShowChangelogOnUpdate = value3; + Save(); + num = 749812627; + break; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawQuesting() + { + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(1813312374)); + (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; + int num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-726681840), ref value, global::_003CModule_003E._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(2073991844))) ? (-2112684850) : (-2112684849)); + bool value2 = default(bool); + bool value4 = default(bool); + bool value5 = default(bool); + bool value6 = default(bool); + while (true) + { + int num2 = num; + int num3 = -2112684850; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + value2 = base.Configuration.General.DeathRecoveryEnabled; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1324461342), ref value2, global::_003CModule_003E._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(-2100842061))) ? (-2112684855) : (-2112684857)); + break; + case 5: + base.Configuration.General.CinemaMode = value4; + Save(); + num = -2112684856; + break; + case 1: + base.Configuration.General.AutoSolveQte = value; + Save(); + num = -2112684850; + break; + case 4: + base.Configuration.General.AutoSnipe = value5; + Save(); + num = -2112684860; + break; + case 9: + base.Configuration.General.DeathRecoveryEnabled = value2; + Save(); + num = -2112684855; + break; + case 6: + value6 = base.Configuration.General.ConfigureTextAdvance; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1845660240), ref value6)) ? (-2112684851) : (-2112684858)); + break; + case 8: + base.Configuration.General.ConfigureTextAdvance = value6; + Save(); + num = -2112684851; + break; + case 0: + value5 = base.Configuration.General.AutoSnipe; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-572362739), ref value5, global::_003CModule_003E._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(-58217097))) ? (-2112684860) : (-2112684854)); + break; + case 10: + value4 = base.Configuration.General.CinemaMode; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-931757293), ref value4, global::_003CModule_003E._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(-550109930))) ? (-2112684856) : (-2112684853)); + break; + case 2: + num = -2112684849; + break; + case 7: + { + ImRaii.DisabledDisposable disabledDisposable = _202E_202D_200D_206D_200E_202C_206E_200F_200F_206A_206A_206B_206E_202A_206D_202A_206C_200F_200F_200F_206E_200E_206E_202A_202C_206B_206B_200E_206C_200F_202B_206E_200B_206B_206A_206D_206E_200B_206B_202B_202E(!value2); + try + { + ImRaii.IndentDisposable indentDisposable = _200F_206D_206F_202A_202D_206C_206D_200B_200D_200B_200F_202C_206C_206C_200D_206D_200B_206F_206E_200D_206E_206E_202E_202E_200C_206E_202C_202A_206D_206F_202E_200F_206E_206B_206E_202D_202B_202A_206E_200C_202E(1, true); + try + { + int value3 = base.Configuration.General.MaxDeathsBeforeStop; + num = ((!UiThemeUtils.AccentSliderInt(global::_003CModule_003E._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(-444997738), ref value3, 1, 10)) ? 1588037696 : 1588037699); + while (true) + { + int num5 = num; + num3 = 1588037698; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1588037699; + break; + case 1: + base.Configuration.General.MaxDeathsBeforeStop = value3; + Save(); + num = 1588037696; + break; + case 2: + { + _202E_206F_200C_200B_206A_206B_202A_200F_206E_200D_202B_206B_200D_202D_202D_202E_206A_206E_206C_206D_202B_202A_206D_202E_202E_202A_202C_202E_202D_200C_206B_206F_206B_206D_200B_206D_200E_206E_200B_206F_202E(0f); + ImU8String imU8String = new ImU8String(66, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-2118003974)); + imU8String.AppendFormatted(value3); + imU8String.AppendLiteral(global::_003CModule_003E._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(-270420442)); + _202C_200B_206E_206C_206F_200E_206F_200F_202A_200F_202A_202C_206F_202D_202D_206B_200B_202C_202C_206B_200E_202C_206D_200D_206D_202A_206A_200D_200F_202A_200B_206A_206F_200D_200E_200E_202D_206F_206B_206A_202E(ref UiThemeUtils.MutedTextColor, imU8String); + _206D_202E_200B_200D_200C_202B_202C_206D_200E_202A_200B_200B_200D_202C_206B_200F_206F_206C_206B_206C_206C_206D_200D_206B_206B_206E_200C_202C_206B_200F_200B_202E_206F_202A_202C_202E_200B_206D_200E_200F_202E(); + goto end_IL_02f8; + } + } + continue; + end_IL_02f8: + break; + } + } + finally + { + num = ((indentDisposable == null) ? (-1393688015) : (-1393688016)); + while (true) + { + int num6 = num; + num3 = -1393688015; + num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 2: + num = -1393688016; + break; + case 0: + goto end_IL_03c8; + case 1: + _200E_206B_202E_202B_200E_206B_206D_200C_202A_202E_206E_206E_202A_202B_202E_206E_206D_200B_200D_200F_206C_202C_200B_206A_202A_202D_206A_206F_206E_206F_202D_206F_202D_202A_200C_206D_206C_206B_202B_206F_202E((IDisposable)indentDisposable); + num = -1393688015; + break; + } + continue; + end_IL_03c8: + break; + } + } + } + finally + { + num = ((disabledDisposable == null) ? 1396766762 : 1396766763); + while (true) + { + int num9 = num; + num3 = 1396766762; + num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1396766763; + break; + case 1: + _200E_206B_202E_202B_200E_206B_206D_200C_202A_202E_206E_206E_202A_202B_202E_206E_206D_200B_200D_200F_206C_202C_200B_206A_202A_202D_206A_206F_206E_206F_202D_206F_202D_202A_200C_206D_206C_206B_202B_206F_202E((IDisposable)disabledDisposable); + num = 1396766762; + break; + case 0: + goto end_IL_0435; + } + continue; + end_IL_0435: + break; + } + } + UiThemeUtils.EndCard(item, item2, item3); + return; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawEquipment() + { + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-546915505)); + (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; + int num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1818298155), ref value, global::_003CModule_003E._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(-2041209117))) ? 1529926213 : 1529926214); + string text = default(string); + while (true) + { + int num2 = num; + int num3 = 1529926215; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1529926214; + break; + case 1: + base.Configuration.General.RepairGear = value; + Save(); + num = 1529926213; + break; + case 2: + { + ImRaii.DisabledDisposable disabledDisposable = _202E_202D_200D_206D_200E_202C_206E_200F_200F_206A_206A_206B_206E_202A_206D_202A_206C_200F_200F_200F_206E_200E_206E_202A_202C_206B_206B_200E_206C_200F_202B_206E_200B_206B_206A_206D_206E_200B_206B_202B_202E(!value); + try + { + ImRaii.IndentDisposable indentDisposable = _200F_206D_206F_202A_202D_206C_206D_200B_200D_200B_200F_202C_206C_206C_200D_206D_200B_206F_206E_200D_206E_206E_202E_202E_200C_206E_202C_202A_206D_206F_202E_200F_206E_206B_206E_202D_202B_202A_206E_200C_202E(1, true); + try + { + int value2 = base.Configuration.General.RepairThresholdPercent; + num = ((!UiThemeUtils.AccentSliderInt(global::_003CModule_003E._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(1484219829), ref value2, 10, 90)) ? (-1794286477) : (-1794286480)); + while (true) + { + int num5 = num; + num3 = -1794286479; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1794286480; + break; + case 1: + base.Configuration.General.RepairThresholdPercent = value2; + Save(); + num = -1794286477; + break; + case 2: + goto end_IL_0129; + } + continue; + end_IL_0129: + break; + } + } + finally + { + num = ((indentDisposable == null) ? (-534230182) : (-534230183)); + while (true) + { + int num6 = num; + num3 = -534230184; + num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 0: + num = -534230183; + break; + case 2: + goto end_IL_01a9; + case 1: + _200E_206B_202E_202B_200E_206B_206D_200C_202A_202E_206E_206E_202A_202B_202E_206E_206D_200B_200D_200F_206C_202C_200B_206A_202A_202D_206A_206F_206E_206F_202D_206F_202D_202A_200C_206D_206C_206B_202B_206F_202E((IDisposable)indentDisposable); + num = -534230182; + break; + } + continue; + end_IL_01a9: + break; + } + } + } + finally + { + num = ((disabledDisposable == null) ? (-1868244215) : (-1868244214)); + while (true) + { + int num9 = num; + num3 = -1868244213; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 2: + goto end_IL_0216; + case 1: + _200E_206B_202E_202B_200E_206B_206D_200C_202A_202E_206E_206E_202A_202B_202E_206E_206D_200B_200D_200F_206C_202C_200B_206A_202A_202D_206A_206F_206E_206F_202D_206F_202D_202A_200C_206D_206C_206B_202B_206F_202E((IDisposable)disabledDisposable); + num = -1868244215; + break; + case 0: + num = -1868244214; + break; + } + continue; + end_IL_0216: + break; + } + } + _200C_206B_200D_202D_200D_200E_206F_202D_202A_206C_200C_206E_206E_200B_202E_200D_202C_202E_202A_202E_202C_206E_200C_200B_206C_206A_202B_202D_202E_202E_200F_206E_200F_200F_206C_206D_200C_202B_202C_202C_202E(); + string[] array = new string[3] + { + global::_003CModule_003E._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(-2046292830), + global::_003CModule_003E._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(1746015917), + global::_003CModule_003E._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(-707924028) + }; + int currentItem = (int)base.Configuration.General.EquipMode; + switch (base.Configuration.General.EquipMode) + { + default: + num = 1656766632; + goto IL_02db; + case Questionable.Configuration.EEquipMode.Smart: + text = global::_003CModule_003E._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(1519265932); + num = 1656766639; + goto IL_02db; + case Questionable.Configuration.EEquipMode.GameRecommended: + goto IL_033b; + case Questionable.Configuration.EEquipMode.Disabled: + goto IL_035f; + IL_02db: + while (true) + { + int num12 = num; + num3 = 1656766636; + num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_02db; + case 4: + num = 1656766634; + break; + case 0: + goto IL_033b; + case 5: + num = 1656766632; + break; + case 2: + goto IL_035f; + case 6: + text = string.Empty; + num = 1656766639; + break; + case 3: + { + string tooltip = text; + _200E_206F_206E_206F_206B_206C_200F_202A_206C_202C_200F_200C_206E_202C_206C_206A_206C_206E_206F_200D_202B_200B_200E_202E_206C_200D_200F_206B_206D_202C_202D_202C_206A_206C_202C_200E_202B_202B_200C_202E_202E(_206A_206F_206D_200C_200C_200C_206B_202D_202C_206F_206D_202E_202A_202A_206A_206A_206F_202D_206A_202A_206E_206A_200B_202E_200F_200D_200D_200C_202B_202D_200E_206F_206D_206E_206B_206D_202A_200E_206F_202D_202E(260f, _200C_206D_200F_202E_200F_200C_206A_200C_200F_206C_206B_202C_206F_200C_206A_200B_200E_206C_200F_202D_206A_202D_202E_200F_200F_206F_206C_200B_206D_200B_202C_200F_202C_206F_206B_206C_206D_202B_206B_200C_202E().X)); + if (UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(960132524), ref currentItem, array, array.Length)) + { + base.Configuration.General.EquipMode = (Configuration.EEquipMode)currentItem; + Save(); + } + _200F_206E_202D_200F_200B_200D_202C_202A_202B_200E_202A_200C_206E_202A_206F_206F_206C_206F_202E_200E_200B_206F_202D_200B_206E_202B_202B_202A_200E_206C_206F_206F_200D_202E_200C_200C_200F_202B_202D_200C_202E(); + UiThemeUtils.InfoIcon(tooltip); + disabledDisposable = _202E_202D_200D_206D_200E_202C_206E_200F_200F_206A_206A_206B_206E_202A_206D_202A_206C_200F_200F_200F_206E_200E_206E_202A_202C_206B_206B_200E_206C_200F_202B_206E_200B_206B_206A_206D_206E_200B_206B_202B_202E(base.Configuration.General.EquipMode != Questionable.Configuration.EEquipMode.Smart); + try + { + ImRaii.IndentDisposable indentDisposable = _200F_206D_206F_202A_202D_206C_206D_200B_200D_200B_200F_202C_206C_206C_200D_206D_200B_206F_206E_200D_206E_206E_202E_202E_200C_206E_202C_202A_206D_206F_202E_200F_206E_206B_206E_202D_202B_202A_206E_200C_202E(1, true); + try + { + bool value3 = base.Configuration.General.PreserveGearset; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-1629950991), ref value3, global::_003CModule_003E._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(-2121728621))) ? 816050186 : 816050185); + while (true) + { + int num13 = num; + num3 = 816050187; + num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 816050185; + break; + case 2: + base.Configuration.General.PreserveGearset = value3; + Save(); + num = 816050186; + break; + case 1: + goto end_IL_0450; + } + continue; + end_IL_0450: + break; + } + } + finally + { + num = ((indentDisposable == null) ? (-1480534882) : (-1480534881)); + while (true) + { + int num14 = num; + num3 = -1480534882; + num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1480534881; + break; + case 1: + _200E_206B_202E_202B_200E_206B_206D_200C_202A_202E_206E_206E_202A_202B_202E_206E_206D_200B_200D_200F_206C_202C_200B_206A_202A_202D_206A_206F_206E_206F_202D_206F_202D_202A_200C_206D_206C_206B_202B_206F_202E((IDisposable)indentDisposable); + num = -1480534882; + break; + case 0: + goto end_IL_04d0; + } + continue; + end_IL_04d0: + break; + } + } + } + finally + { + num = ((disabledDisposable == null) ? (-1986177713) : (-1986177716)); + while (true) + { + int num15 = num; + num3 = -1986177715; + num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 2: + goto end_IL_053b; + case 1: + _200E_206B_202E_202B_200E_206B_206D_200C_202A_202E_206E_206E_202A_202B_202E_206E_206D_200B_200D_200F_206C_202C_200B_206A_202A_202D_206A_206F_206E_206F_202D_206F_202D_202A_200C_206D_206C_206B_202B_206F_202E((IDisposable)disabledDisposable); + num = -1986177713; + break; + case 0: + num = -1986177716; + break; + } + continue; + end_IL_053b: + break; + } + } + UiThemeUtils.EndCard(item, item2, item3); + return; + } + } + continue; + end_IL_02db: + break; + } + goto case Questionable.Configuration.EEquipMode.Smart; + IL_035f: + text = global::_003CModule_003E._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(1648621206); + num = 1656766639; + goto IL_02db; + IL_033b: + text = global::_003CModule_003E._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(-340342814); + num = 1656766639; + goto IL_02db; + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawRewardRedemption() + { + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(788272027)); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + _200D_202E_200E_206C_202A_200C_200B_200F_202C_202C_206F_200D_202A_206D_206E_202C_206E_202D_200F_206C_206C_202D_202D_200F_202E_206F_200C_206A_202D_200F_200F_202B_200C_206F_202E_200F_206E_200D_202E_202E_202E((ImU8String)global::_003CModule_003E._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(759905692)); + _200C_206B_200D_202D_200D_200E_206F_202D_202A_206C_200C_206E_206E_200B_202E_200D_202C_202E_202A_202E_202C_206E_200C_200B_206C_206A_202B_202D_202E_202E_200F_206E_200F_200F_206C_206D_200C_202B_202C_202C_202E(); + UiThemeUtils.GridCheckbox[] array = new UiThemeUtils.GridCheckbox[RewardTypeOptions.Length]; + int num = 0; + int num2 = 257989418; + EItemRewardType item = default(EItemRewardType); + int num9 = default(int); + while (true) + { + int num3 = num2; + int num4 = 257989416; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 6: + item = RewardTypeOptions[num9].Type; + num2 = (base.Configuration.General.DisabledRewardTypes.Remove(item) ? 257989417 : 257989423); + continue; + case 7: + base.Configuration.General.DisabledRewardTypes.Add(item); + num2 = 257989417; + continue; + case 3: + if (!base.Configuration.General.DisabledRewardTypes.Contains(EItemRewardType.Coffer)) + { + num2 = 257989408; + continue; + } + break; + case 5: + num2 = 257989418; + continue; + case 2: + num2 = ((num < RewardTypeOptions.Length) ? 257989420 : 257989416); + continue; + case 4: + { + array[num] = new UiThemeUtils.GridCheckbox(RewardTypeOptions[num].Label, !base.Configuration.General.DisabledRewardTypes.Contains(RewardTypeOptions[num].Type)); + int num10 = num; + num4 = 1; + num5 = num10; + int num11 = num5 ^ num4; + int num12 = num5 & num4; + num = num11 + (num12 + num12); + num2 = 257989418; + continue; + } + case 1: + Save(); + num2 = 257989419; + continue; + case 0: + num9 = UiThemeUtils.CheckboxGrid(global::_003CModule_003E._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(-1725542329), array); + num2 = ((num9 < 0) ? 257989419 : 257989422); + continue; + case 8: + { + ImRaii.IndentDisposable indentDisposable = _200F_206D_206F_202A_202D_206C_206D_200B_200D_200B_200F_202C_206C_206C_200D_206D_200B_206F_206E_200D_206E_206E_202E_202E_200C_206E_202C_202A_206D_206F_202E_200F_206E_206B_206E_202D_202B_202A_206E_200C_202E(1, true); + try + { + DrawCofferGearsetPicker(); + } + finally + { + num2 = ((indentDisposable == null) ? (-1326572592) : (-1326572589)); + while (true) + { + int num6 = num2; + num4 = -1326572590; + num5 = num6; + int num7 = num5 + num4; + int num8 = num5 & num4; + switch (num7 - (num8 + num8)) + { + case 2: + goto end_IL_024c; + case 1: + _200E_206B_202E_202B_200E_206B_206D_200C_202A_202E_206E_206E_202A_202B_202E_206E_206D_200B_200D_200F_206C_202C_200B_206A_202A_202D_206A_206F_206E_206F_202D_206F_202D_202A_200C_206D_206C_206B_202B_206F_202E((IDisposable)indentDisposable); + num2 = -1326572592; + break; + case 0: + num2 = -1326572589; + break; + } + continue; + end_IL_024c: + break; + } + } + break; + } + } + break; + } + _200C_206B_200D_202D_200D_200E_206F_202D_202A_206C_200C_206E_206E_200B_202E_200D_202C_202E_202A_202E_202C_206E_200C_200B_206C_206A_202B_202D_202E_202E_200F_206E_200F_200F_206C_206D_200C_202B_202C_202C_202E(); + bool value = base.Configuration.General.SkipTradableRewards; + num2 = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(35669265), ref value, global::_003CModule_003E._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(-1903657623))) ? 1280626755 : 1280626754); + while (true) + { + int num13 = num2; + int num4 = 1280626755; + int num5 = num13; + int num14 = num5 + num4; + int num15 = num5 & num4; + switch (num14 - (num15 + num15)) + { + case 2: + num2 = 1280626754; + break; + case 1: + base.Configuration.General.SkipTradableRewards = value; + Save(); + num2 = 1280626755; + break; + case 0: + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void DrawCofferGearsetPicker() + { + RaptureGearsetModule* ptr = RaptureGearsetModule.Instance(); + int num = ((ptr != null) ? 1462795241 : 1462795247); + int valueOrDefault = default(int); + string text = default(string); + int? cofferGearsetIndex = default(int?); + ClassJob row2 = default(ClassJob); + List list2 = default(List); + string item = default(string); + List list = default(List); + int num12 = default(int); + ExcelSheet excelSheet = default(ExcelSheet); + ClassJob row = default(ClassJob); + int currentItem = default(int); + while (true) + { + int num2 = num; + int num3 = 1462795246; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(18, 1); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(1234272716)); + int num24 = valueOrDefault; + num3 = 1; + num4 = num24; + defaultInterpolatedStringHandler4.AppendFormatted((num4 | num3) + (num4 & num3)); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(-2121104947)); + text = defaultInterpolatedStringHandler4.ToStringAndClear(); + num = 1462795244; + break; + } + case 7: + cofferGearsetIndex = base.Configuration.General.CofferGearsetIndex; + text = global::_003CModule_003E._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(2088550031); + num = ((!cofferGearsetIndex.HasValue) ? 1462795244 : 1462795242); + break; + case 5: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(10, 2); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(655625586)); + int num23 = valueOrDefault; + num3 = 1; + num4 = num23; + defaultInterpolatedStringHandler3.AppendFormatted((num4 | num3) + (num4 & num3)); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-2035955381)); + defaultInterpolatedStringHandler3.AppendFormatted(row2.Abbreviation.ExtractText()); + text = defaultInterpolatedStringHandler3.ToStringAndClear(); + num = 1462795244; + break; + } + case 1: + return; + case 6: + num = 1462795247; + break; + case 4: + valueOrDefault = cofferGearsetIndex.GetValueOrDefault(); + num = ((!ptr->IsValidGearset(valueOrDefault)) ? 1462795246 : 1462795245); + break; + case 3: + { + RaptureGearsetModule.GearsetEntry* gearset2 = ptr->GetGearset(valueOrDefault); + num = ((!_dataManager.GetExcelSheet().TryGetRow(gearset2->ClassJob, out row2)) ? 1462795244 : 1462795243); + break; + } + case 2: + { + _202D_206E_206D_202D_206C_202B_202C_200B_206E_206F_206D_206E_206C_202D_206D_200D_200B_200B_202B_202A_200B_202D_202A_200E_206E_200C_206B_206A_200D_206D_200C_202B_202B_200F_202E_202D_200D_206A_206E_206F_202E((ImU8String)global::_003CModule_003E._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(-1630114982)); + _206C_202C_200B_202B_200B_206F_202D_200C_206A_202D_202E_206E_206B_202A_202D_202C_206B_202B_206D_202C_202B_200D_206C_206F_206B_206C_202A_200C_202D_206E_206C_202B_206C_202D_202B_206E_202C_200E_206C_206F_202E(0f, 4f); + float x = _202C_206E_206A_200B_206D_202D_200B_200E_202D_202C_202A_206B_202A_200D_206C_202B_202D_202D_200D_200D_202C_206F_206F_206A_200E_202B_206D_200D_206F_206A_200E_202D_200E_206B_202C_206E_202A_202A_200F_200C_202E().ItemSpacing.X; + ImRaii.FontDisposable fontDisposable = _202E_206C_206B_206E_202A_206E_206D_200D_206D_200F_200D_200C_202D_200C_202B_200F_200D_200D_202E_202E_202B_206E_206A_200E_200E_200D_206C_200C_202A_206D_200C_200B_202C_206E_202C_200C_200D_206D_200C_206C_202E(_200C_206C_200C_202D_206D_200D_206C_206D_202E_202D_206D_200F_206B_202D_200C_202E_202C_202D_200E_202B_200F_200B_200E_206D_200F_200E_206B_200D_206C_206F_202E_202A_206A_206F_206A_200E_206F_206D_200C_206C_202E(), true); + float x2; + float x3; + try + { + x2 = _200B_202D_202A_202D_200F_206B_206B_200D_206B_202B_202E_206B_200D_202E_202D_200D_206E_202E_202A_202E_200B_202E_200E_202C_206A_202C_206D_202E_206D_206A_200F_200E_206F_200F_206B_202E_200E_200C_200E_202A_202E((ImU8String)_206E_206A_206D_200E_206B_200D_202D_202A_200B_200B_206E_206B_200E_200F_206F_206F_200F_206A_206B_206B_202A_200F_202B_206B_206C_206C_202A_206D_206C_200C_206D_202A_200E_202C_206E_202D_206A_200C_202B_200F_202E(FontAwesomeIcon.InfoCircle), false, -1f).X; + x3 = _200B_202D_202A_202D_200F_206B_206B_200D_206B_202B_202E_206B_200D_202E_202D_200D_206E_202E_202A_202E_200B_202E_200E_202C_206A_202C_206D_202E_206D_206A_200F_200E_206F_200F_206B_202E_200E_200C_200E_202A_202E((ImU8String)_206E_206A_206D_200E_206B_200D_202D_202A_200B_200B_206E_206B_200E_200F_206F_206F_200F_206A_206B_206B_202A_200F_202B_206B_206C_206C_202A_206D_206C_200C_206D_202A_200E_202C_206E_202D_206A_200C_202B_200F_202E(FontAwesomeIcon.Trash), false, -1f).X; + } + finally + { + num = ((fontDisposable == null) ? (-2061775915) : (-2061775916)); + while (true) + { + int num7 = num; + num3 = -2061775915; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + goto end_IL_029d; + case 1: + _200E_206B_202E_202B_200E_206B_206D_200C_202A_202E_206E_206E_202A_202B_202E_206E_206D_200B_200D_200F_206C_202C_200B_206A_202A_202D_206A_206F_206E_206F_202D_206F_202D_202A_200C_206D_206C_206B_202B_206F_202E((IDisposable)fontDisposable); + num = -2061775915; + break; + case 2: + num = -2061775916; + break; + } + continue; + end_IL_029d: + break; + } + } + float num10 = x + x2; + num = ((!cofferGearsetIndex.HasValue) ? 847629130 : 847629126); + while (true) + { + int num11 = num; + num3 = 847629135; + num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + list2.Add(item); + list.Add(num12); + num = 847629123; + break; + case 6: + { + RaptureGearsetModule.GearsetEntry* gearset = ptr->GetGearset(num12); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-968729626)); + int num13 = num12; + num3 = 1; + num4 = num13; + int num14 = num4 ^ num3; + int num15 = num4 & num3; + defaultInterpolatedStringHandler.AppendFormatted(num14 + (num15 + num15)); + item = defaultInterpolatedStringHandler.ToStringAndClear(); + num = ((!excelSheet.TryGetRow(gearset->ClassJob, out row)) ? 847629132 : 847629134); + break; + } + case 0: + num = ((num12 < 100) ? 847629133 : 847629121); + break; + case 4: + { + int num16 = 1; + List list3 = new List(num16); + CollectionsMarshal.SetCount(list3, num16); + CollectionsMarshal.AsSpan(list3)[0] = global::_003CModule_003E._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(-531956967); + list2 = list3; + num16 = 1; + List list4 = new List(num16); + CollectionsMarshal.SetCount(list4, num16); + CollectionsMarshal.AsSpan(list4)[0] = null; + list = list4; + excelSheet = _dataManager.GetExcelSheet(); + num12 = 0; + num = 847629135; + break; + } + case 8: + base.Configuration.General.CofferGearsetIndex = null; + Save(); + num = 847629131; + break; + case 2: + num = ((!ptr->IsValidGearset(num12)) ? 847629123 : 847629129); + break; + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(2, 2); + int num20 = num12; + num3 = 1; + num4 = num20; + int num21 = num4 ^ num3; + int num22 = num4 & num3; + defaultInterpolatedStringHandler2.AppendFormatted(num21 + (num22 + num22)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-437343681)); + defaultInterpolatedStringHandler2.AppendFormatted(row.Abbreviation.ExtractText()); + item = defaultInterpolatedStringHandler2.ToStringAndClear(); + num = 847629132; + break; + } + case 12: + { + int num17 = num12; + num3 = 1; + num4 = num17; + int num18 = num4 ^ num3; + int num19 = num4 & num3; + num12 = num18 + (num19 + num19); + num = 847629135; + break; + } + case 5: + UiThemeUtils.RowLabel(text, num10, UiThemeUtils.AccentColor); + _200F_206E_202D_200F_200B_200D_202C_202A_202B_200E_202A_200C_206E_202A_206F_206F_206C_206F_202E_200E_200B_206F_202D_200B_206E_202B_202B_202A_200E_206C_206F_206F_200D_202E_200C_200C_200F_202B_202D_200C_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(1685119634)); + num = ((!cofferGearsetIndex.HasValue) ? 847629131 : 847629125); + break; + case 11: + num = 847629126; + break; + case 13: + return; + case 14: + { + currentItem = list.IndexOf(cofferGearsetIndex); + float width = _206A_206F_206D_200C_200C_200C_206B_202D_202C_206F_206D_202E_202A_202A_206A_206A_206F_202D_206A_202A_206E_206A_200B_202E_200F_200D_200D_200C_202B_202D_200E_206F_206D_206E_206B_206D_202A_200E_206F_202D_202E(_200C_206D_200F_202E_200F_200C_206A_200C_200F_206C_206B_202C_206F_200C_206A_200B_200E_206C_200F_202D_206A_202D_202E_200F_200F_206F_206C_200B_206D_200B_202C_200F_202C_206F_206B_206C_206D_202B_206B_200C_202E().X * 0.6f, 260f); + num = ((!UiThemeUtils.SearchableCombo(global::_003CModule_003E._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(-591121542), ref currentItem, list2.ToArray(), ref _cofferGearsetSearchText, width)) ? 847629122 : 847629128); + break; + } + case 10: + _200F_206E_202D_200F_200B_200D_202C_202A_202B_200E_202A_200C_206E_202A_206F_206F_206C_206F_202E_200E_200B_206F_202D_200B_206E_202B_202B_202A_200E_206C_206F_206F_200D_202E_200C_200C_200F_202B_202D_200C_202E(); + num = ((!UiThemeUtils.DestructiveButton(FontAwesomeIcon.Trash, global::_003CModule_003E._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(-101994351))) ? 847629131 : 847629127); + break; + case 7: + base.Configuration.General.CofferGearsetIndex = list[currentItem]; + Save(); + num = 847629122; + break; + case 9: + num10 += x + x3 + 6f + _200B_202D_202A_202D_200F_206B_206B_200D_206B_202B_202E_206B_200D_202E_202D_200D_206E_202E_202A_202E_200B_202E_200E_202C_206A_202C_206D_202E_206D_206A_200F_200E_206F_200F_206B_202E_200E_200C_200E_202A_202E((ImU8String)global::_003CModule_003E._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(376722999), false, -1f).X + _202C_206E_206A_200B_206D_202D_200B_200E_202D_202C_202A_206B_202A_200D_206C_202B_202D_202D_200D_200D_202C_206F_206F_206A_200E_202B_206D_200D_206F_206A_200E_202D_200E_206B_202C_206E_202A_202A_200F_200C_202E().FramePadding.X * 2f; + num = 847629130; + break; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] 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, global::_003CModule_003E._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(-1120538336)); + DefaultClassJobs = list; + CombatModuleOptions = new(Configuration.ECombatModule, string, string[])[4] + { + (Questionable.Configuration.ECombatModule.None, global::_003CModule_003E._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(474422561), Array.Empty()), + (Questionable.Configuration.ECombatModule.BossMod, global::_003CModule_003E._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(-750393689), new string[2] + { + global::_003CModule_003E._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(-1719366272), + global::_003CModule_003E._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(203874627) + }), + (Questionable.Configuration.ECombatModule.WrathCombo, global::_003CModule_003E._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(632226107), new string[1] { global::_003CModule_003E._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(294326625) }), + (Questionable.Configuration.ECombatModule.RotationSolverReborn, global::_003CModule_003E._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(-774365139), new string[1] { global::_003CModule_003E._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(1992835172) }) + }; + RewardTypeOptions = new(EItemRewardType, string)[7] + { + (EItemRewardType.Mount, global::_003CModule_003E._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(659929424)), + (EItemRewardType.Minion, global::_003CModule_003E._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(1428179204)), + (EItemRewardType.OrchestrionRoll, global::_003CModule_003E._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(-253301609)), + (EItemRewardType.TripleTriadCard, global::_003CModule_003E._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(-2007752794)), + (EItemRewardType.FashionAccessory, global::_003CModule_003E._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(-1236856869)), + (EItemRewardType.Coffer, global::_003CModule_003E._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(792920890)), + (EItemRewardType.UnlockLink, global::_003CModule_003E._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(-1981003582)) + }; + } + + static void _200E_206F_206E_206F_206B_206C_200F_202A_206C_202C_200F_200C_206E_202C_206C_206A_206C_206E_206F_200D_202B_200B_200E_202E_206C_200D_200F_206B_206D_202C_202D_202C_206A_206C_202C_200E_202B_202B_200C_202E_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static Vector2 _200C_206D_200F_202E_200F_200C_206A_200C_200F_206C_206B_202C_206F_200C_206A_200B_200E_206C_200F_202D_206A_202D_202E_200F_200F_206F_206C_200B_206D_200B_202C_200F_202C_206F_206B_206C_206D_202B_206B_200C_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _206A_206F_206D_200C_200C_200C_206B_202D_202C_206F_206D_202E_202A_202A_206A_206A_206F_202D_206A_202A_206E_206A_200B_202E_200F_200D_200D_200C_202B_202D_200E_206F_206D_206E_206B_206D_202A_200E_206F_202D_202E(float P_0, float P_1) + { + return MathF.Min(P_0, P_1); + } + + static void _202A_200B_200E_200D_206E_206F_206E_206E_200E_200B_200C_206F_206F_206E_206C_200F_202B_202A_200B_200C_202B_202C_206F_206F_202E_200C_202C_206E_200D_200C_202D_200B_200C_200F_202B_200D_200D_200F_200D_206F_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static void _200B_206A_200E_200E_206B_200F_200D_200D_206C_200B_206A_200F_206A_200C_206C_206D_200C_206D_200E_202D_206F_206F_202A_202D_202E_202C_206D_202E_206D_202A_206F_206E_206A_200C_202E_206A_206C_206D_200C_206B_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _200F_206E_202D_200F_200B_200D_202C_202A_202B_200E_202A_200C_206E_202A_206F_206F_206C_206F_202E_200E_200B_206F_202D_200B_206E_202B_202B_202A_200E_206C_206F_206F_200D_202E_200C_200C_200F_202B_202D_200C_202E() + { + ImGui.SameLine(); + } + + static void _202C_200B_206E_206C_206F_200E_206F_200F_202A_200F_202A_202C_206F_202D_202D_206B_200B_202C_202C_206B_200E_202C_206D_200D_206D_202A_206A_200D_200F_202A_200B_206A_206F_200D_200E_200E_202D_206F_206B_206A_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static ImRaii.DisabledDisposable _202E_202D_200D_206D_200E_202C_206E_200F_200F_206A_206A_206B_206E_202A_206D_202A_206C_200F_200F_200F_206E_200E_206E_202A_202C_206B_206B_200E_206C_200F_202B_206E_200B_206B_206A_206D_206E_200B_206B_202B_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static ImRaii.IndentDisposable _200F_206D_206F_202A_202D_206C_206D_200B_200D_200B_200F_202C_206C_206C_200D_206D_200B_206F_206E_200D_206E_206E_202E_202E_200C_206E_202C_202A_206D_206F_202E_200F_206E_206B_206E_202D_202B_202A_206E_200C_202E(int P_0, bool P_1) + { + return ImRaii.PushIndent(P_0, P_1); + } + + static void _200E_206B_202E_202B_200E_206B_206D_200C_202A_202E_206E_206E_202A_202B_202E_206E_206D_200B_200D_200F_206C_202C_200B_206A_202A_202D_206A_206F_206E_206F_202D_206F_202D_202A_200C_206D_206C_206B_202B_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202E_206F_200C_200B_206A_206B_202A_200F_206E_200D_202B_206B_200D_202D_202D_202E_206A_206E_206C_206D_202B_202A_206D_202E_202E_202A_202C_202E_202D_200C_206B_206F_206B_206D_200B_206D_200E_206E_200B_206F_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static void _206D_202E_200B_200D_200C_202B_202C_206D_200E_202A_200B_200B_200D_202C_206B_200F_206F_206C_206B_206C_206C_206D_200D_206B_206B_206E_200C_202C_206B_200F_200B_202E_206F_202A_202C_202E_200B_206D_200E_200F_202E() + { + ImGui.PopTextWrapPos(); + } + + static void _200C_206B_200D_202D_200D_200E_206F_202D_202A_206C_200C_206E_206E_200B_202E_200D_202C_202E_202A_202E_202C_206E_200C_200B_206C_206A_202B_202D_202E_202E_200F_206E_200F_200F_206C_206D_200C_202B_202C_202C_202E() + { + ImGui.Spacing(); + } + + static void _200D_202E_200E_206C_202A_200C_200B_200F_202C_202C_206F_200D_202A_206D_206E_202C_206E_202D_200F_206C_206C_202D_202D_200F_202E_206F_200C_206A_202D_200F_200F_202B_200C_206F_202E_200F_206E_200D_202E_202E_202E(ImU8String P_0) + { + ImGui.TextWrapped(P_0); + } + + static void _202D_206E_206D_202D_206C_202B_202C_200B_206E_206F_206D_206E_206C_202D_206D_200D_200B_200B_202B_202A_200B_202D_202A_200E_206E_200C_206B_206A_200D_206D_200C_202B_202B_200F_202E_202D_200D_206A_206E_206F_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static void _206C_202C_200B_202B_200B_206F_202D_200C_206A_202D_202E_206E_206B_202A_202D_202C_206B_202B_206D_202C_202B_200D_206C_206F_206B_206C_202A_200C_202D_206E_206C_202B_206C_202D_202B_206E_202C_200E_206C_206F_202E(float P_0, float P_1) + { + ImGui.SameLine(P_0, P_1); + } + + static ImGuiStylePtr _202C_206E_206A_200B_206D_202D_200B_200E_202D_202C_202A_206B_202A_200D_206C_202B_202D_202D_200D_200D_202C_206F_206F_206A_200E_202B_206D_200D_206F_206A_200E_202D_200E_206B_202C_206E_202A_202A_200F_200C_202E() + { + return ImGui.GetStyle(); + } + + static ImFontPtr _200C_206C_200C_202D_206D_200D_206C_206D_202E_202D_206D_200F_206B_202D_200C_202E_202C_202D_200E_202B_200F_200B_200E_206D_200F_200E_206B_200D_206C_206F_202E_202A_206A_206F_206A_200E_206F_206D_200C_206C_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _202E_206C_206B_206E_202A_206E_206D_200D_206D_200F_200D_200C_202D_200C_202B_200F_200D_200D_202E_202E_202B_206E_206A_200E_200E_200D_206C_200C_202A_206D_200C_200B_202C_206E_202C_200C_200D_206D_200C_206C_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _206E_206A_206D_200E_206B_200D_202D_202A_200B_200B_206E_206B_200E_200F_206F_206F_200F_206A_206B_206B_202A_200F_202B_206B_206C_206C_202A_206D_206C_200C_206D_202A_200E_202C_206E_202D_206A_200C_202B_200F_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _200B_202D_202A_202D_200F_206B_206B_200D_206B_202B_202E_206B_200D_202E_202D_200D_206E_202E_202A_202E_200B_202E_200E_202C_206A_202C_206D_202E_206D_206A_200F_200E_206F_200F_206B_202E_200E_200C_200E_202A_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/NavigationConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/NavigationConfigComponent.cs new file mode 100644 index 00000000..d65c6f9e --- /dev/null +++ b/Questionable/Questionable.Windows.ConfigComponents/NavigationConfigComponent.cs @@ -0,0 +1,657 @@ +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.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 +{ + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__4_0; + + public static Func _003C_003E9__4_1; + + public static Func<(uint MountId, string Name), bool> _003C_003E9__4_2; + + public static Func<(uint MountId, string Name), string> _003C_003E9__4_3; + + public static Func<(uint Id, string Name), uint> _003C_003E9__4_4; + + public static Func<(uint MountId, string Name), uint> _003C_003E9__4_5; + + public static Func<(uint Id, string Name), string> _003C_003E9__4_6; + + public static Func<(uint MountId, string Name), string> _003C_003E9__4_7; + + internal bool _003C_002Ector_003Eb__4_0(Mount x) + { + int num = ((x.RowId == 0) ? 1914904014 : 1914904013); + while (true) + { + int num2 = num; + int num3 = 1914904012; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004a; + case 2: + return false; + case 1: + return x.Icon > 0; + } + continue; + IL_004a: + num = 1914904013; + } + } + + internal (uint MountId, string Name) _003C_002Ector_003Eb__4_1(Mount x) + { + return (MountId: x.RowId, Name: CapitalizeName(x.Singular.ExtractText())); + } + + internal bool _003C_002Ector_003Eb__4_2((uint MountId, string Name) x) + { + return !_206A_206F_202D_206D_206E_202C_202B_206B_202D_202C_202C_200D_206C_206E_202D_206A_200E_202A_202D_206A_202B_206A_202D_202D_200F_206F_200E_202E_200F_202C_200E_206E_206C_202E_202C_206E_202B_202B_202B_202B_202E(x.Name); + } + + internal string _003C_002Ector_003Eb__4_3((uint MountId, string Name) x) + { + return x.Name; + } + + internal uint _003C_002Ector_003Eb__4_4((uint Id, string Name) x) + { + return x.Id; + } + + internal uint _003C_002Ector_003Eb__4_5((uint MountId, string Name) x) + { + return x.MountId; + } + + internal string _003C_002Ector_003Eb__4_6((uint Id, string Name) x) + { + return x.Name; + } + + internal string _003C_002Ector_003Eb__4_7((uint MountId, string Name) x) + { + return x.Name; + } + + static bool _206A_206F_202D_206D_206E_202C_202B_206B_202D_202C_202C_200D_206C_206E_202D_206A_200E_202A_202D_206A_202B_206A_202D_202D_200F_206F_200E_202E_200F_202C_200E_206E_206C_202E_202C_206E_202B_202B_202B_202B_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + } + + 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(delegate(Mount x) + { + int num = ((x.RowId == 0) ? 1914904014 : 1914904013); + while (true) + { + int num2 = num; + int num3 = 1914904012; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004a; + case 2: + return false; + case 1: + return x.Icon > 0; + } + continue; + IL_004a: + num = 1914904013; + } + }) + select (MountId: x.RowId, Name: CapitalizeName(x.Singular.ExtractText())) into x + where !_003C_003Ec._206A_206F_202D_206D_206E_202C_202B_206B_202D_202C_202C_200D_206C_206E_202D_206A_200E_202A_202D_206A_202B_206A_202D_202D_200F_206F_200E_202E_200F_202C_200E_206E_206C_202E_202C_206E_202B_202B_202B_202B_202E(x.Name) + select x).OrderBy<(uint, string), string>(((uint MountId, string Name) x) => x.Name, _202B_206D_206F_202E_206B_206A_206D_200C_206B_206E_206B_200B_200E_200D_206C_202D_200F_202B_206E_206F_200E_206C_206A_206D_202C_202E_200B_200B_206B_200B_200C_202E_200E_202B_206A_200E_206A_206C_202D_202D_202E()).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(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static string CapitalizeName(string text) + { + int num = ((!_200C_206B_206F_206D_200B_200B_202A_206A_200C_202D_200C_202C_206D_202B_202E_206D_202D_206F_200E_200F_206B_200E_206C_206F_202A_202D_202B_202A_206F_206D_200D_200D_202B_200C_206F_202A_200C_206B_202B_206A_202E(text)) ? (-1379143407) : (-1379143402)); + int num5 = default(int); + string[] array = default(string[]); + while (true) + { + int num2 = num; + int num3 = -1379143401; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = ((num5 < array.Length) ? (-1379143408) : (-1379143395)); + break; + case 1: + return text; + case 8: + array[num5] = _202E_200B_206D_200F_200E_202D_200B_206F_200B_206F_200D_202D_200B_200D_206B_200C_202D_206A_202B_202B_206D_202D_202E_206C_206E_200D_202A_206F_202E_202B_202E_206B_202A_200C_200C_202A_202E_206A_206F_202A_202E(new ReadOnlySpan(char.ToUpperInvariant(_206F_200C_200D_206B_206C_206B_206C_206C_206F_206D_206C_200E_200B_202B_200F_206A_202E_202D_200C_200C_206F_202D_202D_200C_202A_206A_202C_200D_202E_200D_206D_206B_202B_206A_202A_206E_200C_202A_202C_202C_202E(array[num5], 0))), _202D_202D_202C_206C_206B_206E_206B_206A_206F_202E_206C_200E_206A_202C_200D_206F_206E_206D_206A_206A_202E_202D_202B_202C_202E_202E_202D_206C_206A_200B_200C_206D_206B_200D_202D_206D_202E_200D_202B_202A_202E(_202C_200C_200D_202E_206E_202B_200E_202A_206E_206D_202C_206A_206F_200C_202D_206E_200E_206C_202D_200F_206B_206A_202E_202A_200D_200F_200B_202A_200C_202E_200E_206C_202B_206B_206D_206F_206A_202C_202D_202D_202E(array[num5], 1))); + num = -1379143401; + break; + case 0: + { + int num6 = num5; + num3 = 1; + num4 = num6; + num5 = (num4 | num3) + (num4 & num3); + num = -1379143405; + break; + } + case 7: + num = ((_206D_206B_206B_202C_206C_206C_202A_202A_200E_202A_200F_200E_206D_206D_202D_202D_206F_202D_202B_206D_200B_206B_202D_202D_202E_202B_202D_206A_206E_200E_200D_206D_200B_202A_206C_202B_206E_200B_200D_206F_202E(array[num5]) <= 0) ? (-1379143401) : (-1379143406)); + break; + case 3: + num = -1379143402; + break; + case 10: + return _200D_206C_202D_202E_206E_200C_202D_206D_206F_206F_202A_206F_206E_200E_206D_202E_202B_206F_206A_200C_202B_206A_206A_202E_200C_206F_206E_200C_206D_200E_200E_202B_206E_202D_202D_202B_206D_200E_202B_200D_202E(global::_003CModule_003E._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(-324914973), array); + case 5: + num = ((!char.IsLower(_206F_200C_200D_206B_206C_206B_206C_206C_206F_206D_206C_200E_200B_202B_200F_206A_202E_202D_200C_200C_206F_202D_202D_200C_202A_206A_202C_200D_202E_200D_206D_206B_202B_206A_202A_206E_200C_202A_202C_202C_202E(array[num5], 0))) ? (-1379143401) : (-1379143393)); + break; + case 2: + array = _202A_202D_202A_200B_206E_200D_202C_206B_200D_202D_200E_200C_206E_202B_200E_206B_200F_202A_206C_206C_206B_200E_202C_206E_202A_202C_200E_200F_200E_206E_202E_200E_206A_202E_206A_202C_200B_200E_206A_200E_202E(text, ' ', StringSplitOptions.None); + num5 = 0; + num = -1379143405; + break; + case 9: + return _202D_206F_200D_200E_200D_206B_202C_206D_206B_206E_202C_202C_206D_202A_202D_202A_202C_206D_200F_206C_200E_206D_202A_202B_206C_206C_206F_206A_202C_202D_206F_200E_206F_200B_206B_206A_206E_200F_202C_206F_202E(_202E_200D_200C_202D_206E_202C_206C_200B_202D_206E_202C_200D_206E_206B_200E_202E_200D_206E_200E_202B_206F_206A_200F_202E_202C_202B_200F_206E_200E_202A_200B_206F_202C_200E_206E_200C_200F_206B_206B_200E_202E(_202E_206D_202B_206B_206B_206D_202E_202E_200D_202C_202B_206D_206B_200E_206A_206D_206A_200C_206C_202E_200E_202B_200F_206F_202A_202D_200D_202E_206D_200C_202C_200F_206A_202E_202B_206B_200B_206B_206D_206C_202E()), text); + case 6: + num = ((!_200B_200F_200C_206F_202B_202B_206D_206D_200C_206D_206F_206B_206D_202E_200F_202A_200B_200B_202C_202B_206A_206D_202D_206A_202E_206D_206E_206A_202C_202E_200C_200F_206E_200C_202B_202C_202B_200C_206B_206E_202E(text, _200D_200E_202A_200C_200B_202C_202D_206E_202C_206B_206C_206A_206B_200E_202C_206F_200B_200D_200E_206C_200B_206D_202E_206F_200E_206D_206F_202E_200D_202C_202A_202D_202E_202D_202E_206C_206C_202D_202A_200F_202E(text), StringComparison.Ordinal)) ? (-1379143403) : (-1379143394)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override void DrawTab() + { + Configuration.NavigationConfiguration navigation = base.Configuration.Navigation; + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(547712580)); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + DrawMountSelector(navigation); + bool value = navigation.NeverFly; + int num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-1858753748), ref value, global::_003CModule_003E._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(-1387349322))) ? 446317926 : 446317925); + float value9 = default(float); + bool value8 = default(bool); + float value7 = default(float); + string text = default(string); + int currentItem = default(int); + string[] names = default(string[]); + bool value6 = default(bool); + Vector2 item7 = default(Vector2); + float item8 = default(float); + ImDrawListPtr item9 = default(ImDrawListPtr); + int value5 = default(int); + bool value4 = default(bool); + Vector2 item4 = default(Vector2); + float item5 = default(float); + ImDrawListPtr item6 = default(ImDrawListPtr); + while (true) + { + int num2 = num; + int num3 = 446317927; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = 446317925; + break; + case 2: + navigation.NeverFly = value; + Save(); + num = 446317926; + break; + case 1: + value9 = navigation.MountGroundDistance; + num = ((!UiThemeUtils.AccentSliderFloat(global::_003CModule_003E._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(697577803), ref value9, 0f, 100f, global::_003CModule_003E._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(-1562631403), 260f)) ? 446317924 : 446317927); + break; + case 0: + navigation.MountGroundDistance = value9; + Save(); + num = 446317924; + break; + case 3: + { + _200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(49, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(161055188)); + defaultInterpolatedStringHandler.AppendFormatted(20f, global::_003CModule_003E._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(-2033331044)); + UiThemeUtils.InfoIcon(defaultInterpolatedStringHandler.ToStringAndClear()); + ImRaii.DisabledDisposable disabledDisposable = _202E_202E_202B_202E_200E_200D_202E_200C_200D_206A_200D_200D_202E_200C_200B_206C_206B_202B_200E_200F_206F_206B_206A_202C_200B_206E_200F_206A_200E_206B_202B_206D_200F_202D_202E_202D_206B_206A_202B_206B_202E(navigation.NeverFly); + try + { + float value2 = navigation.MountFlyDistance; + num = ((!UiThemeUtils.AccentSliderFloat(global::_003CModule_003E._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(-18366214), ref value2, 0f, 100f, global::_003CModule_003E._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(-1102866709), 260f)) ? (-436311720) : (-436311717)); + while (true) + { + int num7 = num; + num3 = -436311719; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -436311717; + break; + case 2: + navigation.MountFlyDistance = value2; + Save(); + num = -436311720; + break; + case 1: + { + _200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(49, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1563330266)); + defaultInterpolatedStringHandler2.AppendFormatted(15f, global::_003CModule_003E._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(-2033331044)); + UiThemeUtils.InfoIcon(defaultInterpolatedStringHandler2.ToStringAndClear()); + goto end_IL_01de; + } + } + continue; + end_IL_01de: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-184304173) : (-184304176)); + while (true) + { + int num8 = num; + num3 = -184304175; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0296; + case 1: + _206B_200E_206C_200D_202D_206A_202C_200B_206D_202E_206B_202C_202B_206D_206D_200C_200F_202A_206D_202B_202B_202E_202B_206A_206C_202C_202B_202C_206B_200F_206E_200B_206E_200B_202E_202D_206F_206C_206A_206F_202E((IDisposable)disabledDisposable); + num = -184304173; + break; + case 0: + num = -184304176; + break; + } + continue; + end_IL_0296: + break; + } + } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-1285735320)); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + Vector2 item = tuple2.ContentStartPos; + float item2 = tuple2.AvailableWidth; + ImDrawListPtr item3 = tuple2.DrawList; + float value3 = navigation.SprintDistanceTown; + num = ((!UiThemeUtils.AccentSliderFloat(global::_003CModule_003E._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(-377031381), ref value3, 0f, 100f, global::_003CModule_003E._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(2028773324), 260f)) ? (-1837094585) : (-1837094575)); + while (true) + { + int num9 = num; + num3 = -1837094589; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + default: + continue; + case 8: + num = -1837094575; + continue; + case 13: + navigation.PreferFreeTravel = value8; + Save(); + num = -1837094582; + continue; + case 4: + { + _200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(46, 1); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(533706590)); + defaultInterpolatedStringHandler4.AppendFormatted(20f, global::_003CModule_003E._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(-2033331044)); + UiThemeUtils.InfoIcon(defaultInterpolatedStringHandler4.ToStringAndClear()); + value7 = navigation.SprintDistanceOpenWorld; + num = ((!UiThemeUtils.AccentSliderFloat(global::_003CModule_003E._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(-1911081210), ref value7, 0f, 200f, global::_003CModule_003E._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(2028773324), 260f)) ? (-1837094584) : (-1837094591)); + continue; + } + case 0: + { + string tooltip = text; + _202E_206C_202E_202E_200F_202A_206A_206E_202C_206E_200B_200C_202E_206D_206E_202B_200C_200C_200E_206F_206A_206B_202B_206B_206D_202D_200C_202B_206C_206C_200B_202C_206D_206F_200F_206E_202B_202B_206A_202C_202E(_202E_206C_200C_202D_202C_200D_206F_202E_206C_206C_206C_206F_206B_206E_206F_206C_200D_200B_206A_200F_200D_200C_202A_202B_206A_206F_200B_206F_202D_200B_202A_200F_202C_202B_200F_202E_200F_202E_206A_206E_202E(260f, _202A_200B_200F_206C_200C_202E_200D_200D_200D_202C_206F_206B_206B_202B_206F_206A_206C_202A_200B_200B_200E_202B_202D_200E_200E_200E_206A_202B_202B_206E_200F_206B_200C_202D_202D_206B_202E_200D_206E_202A_202E().X)); + if (UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(1580633882), ref currentItem, names, names.Length)) + { + navigation.StuckRecoveryMode = (EStuckRecoveryMode)currentItem; + Save(); + } + _200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E(); + UiThemeUtils.InfoIcon(tooltip); + value6 = navigation.ReRouteOnFailure; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1332835539), ref value6, global::_003CModule_003E._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(598894295))) ? (-1837094577) : (-1837094586)); + continue; + } + case 18: + navigation.SprintDistanceTown = value3; + Save(); + num = -1837094585; + continue; + case 12: + UiThemeUtils.EndCard(item7, item8, item9); + return; + case 17: + navigation.GilReserve = _202E_200C_200E_206A_206F_206D_202C_200F_206D_206A_202A_206E_200E_202E_200D_202E_200F_202B_206E_202C_200E_200E_206C_200C_206F_202E_206B_202E_202B_206F_206C_206E_200E_202B_200D_206A_202D_206A_202E_200F_202E(value5, 0, 999999999); + Save(); + num = -1837094583; + continue; + case 9: + value4 = navigation.UseTeleportTickets; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1746473185), ref value4, global::_003CModule_003E._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(8925130))) ? (-1837094579) : (-1837094587)); + continue; + case 10: + _200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(-1411121243)); + value8 = navigation.PreferFreeTravel; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(480673472), ref value8, global::_003CModule_003E._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(-1628227995))) ? (-1837094582) : (-1837094578)); + continue; + case 2: + navigation.SprintDistanceOpenWorld = value7; + Save(); + num = -1837094584; + continue; + case 5: + navigation.ReRouteOnFailure = value6; + Save(); + num = -1837094577; + continue; + case 14: + { + UiThemeUtils.EndCard(item4, item5, item6); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-1576741816)); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple4 = UiThemeUtils.BeginCard(); + item7 = tuple4.ContentStartPos; + item8 = tuple4.AvailableWidth; + item9 = tuple4.DrawList; + names = Enum.GetNames(); + currentItem = (int)navigation.StuckRecoveryMode; + switch (navigation.StuckRecoveryMode) + { + case EStuckRecoveryMode.Conservative: + goto IL_06a1; + case EStuckRecoveryMode.Aggressive: + goto IL_0783; + case EStuckRecoveryMode.Passive: + goto end_IL_0381; + } + num = -1837094580; + continue; + } + case 16: + goto IL_06a1; + case 15: + num = -1837094592; + continue; + case 11: + { + _200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(51, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(1746484759)); + defaultInterpolatedStringHandler3.AppendFormatted(50f, global::_003CModule_003E._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(107444647)); + UiThemeUtils.InfoIcon(defaultInterpolatedStringHandler3.ToStringAndClear()); + UiThemeUtils.EndCard(item, item2, item3); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(1498456112)); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple3 = UiThemeUtils.BeginCard(); + item4 = tuple3.ContentStartPos; + item5 = tuple3.AvailableWidth; + item6 = tuple3.DrawList; + value5 = navigation.GilReserve; + num = ((!UiThemeUtils.AccentSliderInt(global::_003CModule_003E._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(836461425), ref value5, 0, 20000, 260f)) ? (-1837094583) : (-1837094574)); + continue; + } + case 1: + goto IL_0783; + case 6: + navigation.UseTeleportTickets = value4; + Save(); + num = -1837094579; + continue; + case 3: + text = string.Empty; + num = -1837094589; + continue; + case 7: + break; + IL_0783: + text = global::_003CModule_003E._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(-874015327); + num = -1837094589; + continue; + IL_06a1: + text = global::_003CModule_003E._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(-1630606955); + num = -1837094589; + continue; + end_IL_0381: + break; + } + text = global::_003CModule_003E._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(-1437944343); + num = -1837094589; + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawMountSelector(Configuration.NavigationConfiguration nav) + { + int currentItem = Array.FindIndex(_mountIds, (uint x) => x == nav.MountId); + int num = ((currentItem != -1) ? 1444695159 : 1444695155); + while (true) + { + int num2 = num; + int num3 = 1444695154; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + object obj; + string previewOverride; + switch (num5 - (num6 + num6)) + { + case 3: + nav.MountId = _mountIds[currentItem]; + Save(); + num = 1444695152; + break; + case 6: + obj = null; + goto IL_00a8; + case 2: + _200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(1749227958)); + return; + case 0: + num = ((currentItem < _mountNames.Length) ? 1444695156 : 1444695158); + break; + case 1: + currentItem = 0; + nav.MountId = _mountIds[currentItem]; + Save(); + num = 1444695159; + break; + case 5: + num = ((currentItem < 0) ? 1444695158 : 1444695154); + break; + case 7: + num = 1444695155; + break; + case 4: + { + obj = global::_003CModule_003E._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(-934792339); + goto IL_00a8; + } + IL_00a8: + previewOverride = (string)obj; + num = ((!UiThemeUtils.SearchableCombo(global::_003CModule_003E._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(-35861399), ref currentItem, _mountNames, ref _mountSearchText, _202E_206C_200C_202D_202C_200D_206F_202E_206C_206C_206C_206F_206B_206E_206F_206C_200D_200B_206A_200F_200D_200C_202A_202B_206A_206F_200B_206F_202D_200B_202A_200F_202C_202B_200F_202E_200F_202E_206A_206E_202E(260f, _202A_200B_200F_206C_200C_202E_200D_200D_200D_202C_206F_206B_206B_202B_206F_206A_206C_202A_200B_200B_200E_202B_202D_200E_200E_200E_206A_202B_202B_206E_200F_206B_200C_202D_202D_206B_202E_200D_206E_202A_202E().X), previewOverride)) ? 1444695152 : 1444695153); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + static NavigationConfigComponent() + { + int num = 1; + List<(uint, string)> list = new List<(uint, string)>(num); + CollectionsMarshal.SetCount(list, num); + CollectionsMarshal.AsSpan(list)[0] = (0u, global::_003CModule_003E._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(566069387)); + DefaultMounts = list; + } + + static StringComparer _202B_206D_206F_202E_206B_206A_206D_200C_206B_206E_206B_200B_200E_200D_206C_202D_200F_202B_206E_206F_200E_206C_206A_206D_202C_202E_200B_200B_206B_200B_200C_202E_200E_202B_206A_200E_206A_206C_202D_202D_202E() + { + return StringComparer.OrdinalIgnoreCase; + } + + static bool _200C_206B_206F_206D_200B_200B_202A_206A_200C_202D_200C_202C_206D_202B_202E_206D_202D_206F_200E_200F_206B_200E_206C_206F_202A_202D_202B_202A_206F_206D_200D_200D_202B_200C_206F_202A_200C_206B_202B_206A_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string _200D_200E_202A_200C_200B_202C_202D_206E_202C_206B_206C_206A_206B_200E_202C_206F_200B_200D_200E_206C_200B_206D_202E_206F_200E_206D_206F_202E_200D_202C_202A_202D_202E_202D_202E_206C_206C_202D_202A_200F_202E(string P_0) + { + return P_0.ToLowerInvariant(); + } + + static bool _200B_200F_200C_206F_202B_202B_206D_206D_200C_206D_206F_206B_206D_202E_200F_202A_200B_200B_202C_202B_206A_206D_202D_206A_202E_206D_206E_206A_202C_202E_200C_200F_206E_200C_202B_202C_202B_200C_206B_206E_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Equals(P_1, P_2); + } + + static CultureInfo _202E_206D_202B_206B_206B_206D_202E_202E_200D_202C_202B_206D_206B_200E_206A_206D_206A_200C_206C_202E_200E_202B_200F_206F_202A_202D_200D_202E_206D_200C_202C_200F_206A_202E_202B_206B_200B_206B_206D_206C_202E() + { + return CultureInfo.InvariantCulture; + } + + static TextInfo _202E_200D_200C_202D_206E_202C_206C_200B_202D_206E_202C_200D_206E_206B_200E_202E_200D_206E_200E_202B_206F_206A_200F_202E_202C_202B_200F_206E_200E_202A_200B_206F_202C_200E_206E_200C_200F_206B_206B_200E_202E(CultureInfo P_0) + { + return P_0.TextInfo; + } + + static string _202D_206F_200D_200E_200D_206B_202C_206D_206B_206E_202C_202C_206D_202A_202D_202A_202C_206D_200F_206C_200E_206D_202A_202B_206C_206C_206F_206A_202C_202D_206F_200E_206F_200B_206B_206A_206E_200F_202C_206F_202E(TextInfo P_0, string P_1) + { + return P_0.ToTitleCase(P_1); + } + + static string[] _202A_202D_202A_200B_206E_200D_202C_206B_200D_202D_200E_200C_206E_202B_200E_206B_200F_202A_206C_206C_206B_200E_202C_206E_202A_202C_200E_200F_200E_206E_202E_200E_206A_202E_206A_202C_200B_200E_206A_200E_202E(string P_0, char P_1, StringSplitOptions P_2) + { + return P_0.Split(P_1, P_2); + } + + static int _206D_206B_206B_202C_206C_206C_202A_202A_200E_202A_200F_200E_206D_206D_202D_202D_206F_202D_202B_206D_200B_206B_202D_202D_202E_202B_202D_206A_206E_200E_200D_206D_200B_202A_206C_202B_206E_200B_200D_206F_202E(string P_0) + { + return P_0.Length; + } + + static char _206F_200C_200D_206B_206C_206B_206C_206C_206F_206D_206C_200E_200B_202B_200F_206A_202E_202D_200C_200C_206F_202D_202D_200C_202A_206A_202C_200D_202E_200D_206D_206B_202B_206A_202A_206E_200C_202A_202C_202C_202E(string P_0, int P_1) + { + return P_0[P_1]; + } + + static string _202C_200C_200D_202E_206E_202B_200E_202A_206E_206D_202C_206A_206F_200C_202D_206E_200E_206C_202D_200F_206B_206A_202E_202A_200D_200F_200B_202A_200C_202E_200E_206C_202B_206B_206D_206F_206A_202C_202D_202D_202E(string P_0, int P_1) + { + return P_0.Substring(P_1); + } + + static ReadOnlySpan _202D_202D_202C_206C_206B_206E_206B_206A_206F_202E_206C_200E_206A_202C_200D_206F_206E_206D_206A_206A_202E_202D_202B_202C_202E_202E_202D_206C_206A_200B_200C_206D_206B_200D_202D_206D_202E_200D_202B_202A_202E(string P_0) + { + return P_0; + } + + static string _202E_200B_206D_200F_200E_202D_200B_206F_200B_206F_200D_202D_200B_200D_206B_200C_202D_206A_202B_202B_206D_202D_202E_206C_206E_200D_202A_206F_202E_202B_202E_206B_202A_200C_200C_202A_202E_206A_206F_202A_202E(ReadOnlySpan P_0, ReadOnlySpan P_1) + { + return string.Concat(P_0, P_1); + } + + static string _200D_206C_202D_202E_206E_200C_202D_206D_206F_206F_202A_206F_206E_200E_206D_202E_202B_206F_206A_200C_202B_206A_206A_202E_200C_206F_206E_200C_206D_200E_200E_202B_206E_202D_202D_202B_206D_200E_202B_200D_202E(string P_0, string[] P_1) + { + return string.Join(P_0, P_1); + } + + static void _200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E() + { + ImGui.SameLine(); + } + + static ImRaii.DisabledDisposable _202E_202E_202B_202E_200E_200D_202E_200C_200D_206A_200D_200D_202E_200C_200B_206C_206B_202B_200E_200F_206F_206B_206A_202C_200B_206E_200F_206A_200E_206B_202B_206D_200F_202D_202E_202D_206B_206A_202B_206B_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static void _206B_200E_206C_200D_202D_206A_202C_200B_206D_202E_206B_202C_202B_206D_206D_200C_200F_202A_206D_202B_202B_202E_202B_206A_206C_202C_202B_202C_206B_200F_206E_200B_206E_200B_202E_202D_206F_206C_206A_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static int _202E_200C_200E_206A_206F_206D_202C_200F_206D_206A_202A_206E_200E_202E_200D_202E_200F_202B_206E_202C_200E_200E_206C_200C_206F_202E_206B_202E_202B_206F_206C_206E_200E_202B_200D_206A_202D_206A_202E_200F_202E(int P_0, int P_1, int P_2) + { + return Math.Clamp(P_0, P_1, P_2); + } + + static Vector2 _202A_200B_200F_206C_200C_202E_200D_200D_200D_202C_206F_206B_206B_202B_206F_206A_206C_202A_200B_200B_200E_202B_202D_200E_200E_200E_206A_202B_202B_206E_200F_206B_200C_202D_202D_206B_202E_200D_206E_202A_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _202E_206C_200C_202D_202C_200D_206F_202E_206C_206C_206C_206F_206B_206E_206F_206C_200D_200B_206A_200F_200D_200C_202A_202B_206A_206F_200B_206F_202D_200B_202A_200F_202C_202B_200F_202E_200F_202E_206A_206E_202E(float P_0, float P_1) + { + return MathF.Min(P_0, P_1); + } + + static void _202E_206C_202E_202E_200F_202A_206A_206E_202C_206E_200B_200C_202E_206D_206E_202B_200C_200C_200E_206F_206A_206B_202B_206B_206D_202D_200C_202B_206C_206C_200B_202C_206D_206F_200F_206E_202B_202B_206A_202C_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } +} diff --git a/Questionable/Questionable.Windows.ConfigComponents/NotificationConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/NotificationConfigComponent.cs index 595bee2c..4ce6dc09 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/NotificationConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/NotificationConfigComponent.cs @@ -1,98 +1,588 @@ 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 { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__8_0; + + public static Func _003C_003E9__8_1; + + public static Func _003C_003E9__8_2; + + internal bool _003C_002Ector_003Eb__8_0(string n) + { + return _206D_200C_206E_202D_206B_206E_200C_200E_200B_200E_200E_206E_206E_206B_206E_200E_206A_200E_200F_202D_202D_200B_200D_200D_200F_206B_202A_200D_206D_202D_202A_200C_206E_206A_200F_206F_206A_202D_200C_206C_202E(n) != null; + } + + internal bool _003C_002Ector_003Eb__8_1(XivChatType x) + { + return x != XivChatType.StandardEmote; + } + + internal string _003C_002Ector_003Eb__8_2(XivChatType t) + { + XivChatTypeInfoAttribute? attribute = t.GetAttribute(); + return ((attribute != null) ? _206D_200F_202D_200B_200B_202E_206E_202A_202D_206A_202A_200D_200B_200B_206A_202D_200C_200C_202A_202A_200C_200D_200D_200B_206F_202B_200D_202E_200D_206E_206D_206A_202D_206A_202C_202D_202C_200F_200D_206E_202E(attribute) : null) ?? t.ToString(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003C_002Ecctor_003Eb__11_0(int i) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(602783001)); + defaultInterpolatedStringHandler.AppendFormatted(i, global::_003CModule_003E._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(1462241587)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(278560641)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003C_002Ecctor_003Eb__11_1(int i) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1592517238)); + defaultInterpolatedStringHandler.AppendFormatted(i, global::_003CModule_003E._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(1194352829)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1770632532)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + static string _206D_200C_206E_202D_206B_206E_200C_200E_200B_200E_200E_206E_206E_206B_206E_200E_206A_200E_200F_202D_202D_200B_200D_200D_200F_206B_202A_200D_206D_202D_202A_200C_206E_206A_200F_206F_206A_202D_200C_206C_202E(string P_0) + { + return WindowsSounds.ResolvePath(P_0); + } + + static string _206D_200F_202D_200B_200B_202E_206E_202A_202D_206A_202A_200D_200B_200B_206A_202D_200C_200C_202A_202A_200C_200D_200D_200B_206F_202B_200D_202E_200D_206E_206D_206A_202D_206A_202C_202D_202C_200F_200D_206E_202E(XivChatTypeInfoAttribute P_0) + { + return P_0.FancyName; + } + } + + 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) => _003C_003Ec._206D_200C_206E_202D_206B_206E_200C_200E_200B_200E_200E_206E_206E_206B_206E_200E_206A_200E_200F_202D_202D_200B_200D_200D_200F_206B_202A_200D_206D_202D_202A_200C_206E_206A_200F_206F_206A_202D_200C_206C_202E(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(); + _chatTypeNames = _xivChatTypes.Select(delegate(XivChatType t) + { + XivChatTypeInfoAttribute? attribute = t.GetAttribute(); + return ((attribute != null) ? _003C_003Ec._206D_200F_202D_200B_200B_202E_206E_202A_202D_206A_202A_200D_200B_200B_206A_202D_200C_200C_202A_202A_200C_200D_200D_200B_206F_202B_200D_202E_200D_206E_206D_206A_202D_206A_202C_202D_202C_200F_200D_206E_202E(attribute) : null) ?? t.ToString(); + }).ToArray(); } + [MethodImpl(MethodImplOptions.NoInlining)] + private static string SoundLabel(string value) + { + int num = (_202B_200D_200B_206A_206A_206A_206E_206D_202A_202E_202A_206C_200D_206A_202D_200B_200B_200B_206C_206F_202A_200B_200E_200F_206C_206D_202E_202D_206B_206D_206C_200E_202D_206A_202C_206A_202A_206B_200C_200C_202E(value) ? (-600532132) : (-600532129)); + while (true) + { + int num2 = num; + int num3 = -600532130; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return global::_003CModule_003E._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(-989655231); + case 1: + return _206D_200D_200F_202D_202C_202A_200D_206C_200C_200F_202B_202E_206F_200C_202C_206F_206F_202B_202A_206B_206B_202C_200D_206C_206A_202D_200C_200B_200B_200F_206A_206D_206C_200C_200F_200D_200E_200D_200F_202E(value); + case 0: + goto IL_0058; + } + continue; + IL_0058: + num = -600532129; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Notifications###Notifications"); - if (!tabItemDisposable) + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-1178059847)); + (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; + int num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(860957043), ref value)) ? 1450201521 : 1450201522); + bool value4 = default(bool); + bool value5 = default(bool); + Vector2 item7 = default(Vector2); + float item8 = default(float); + ImDrawListPtr item9 = default(ImDrawListPtr); + while (true) { - return; - } - bool v = base.Configuration.Notifications.Enabled; - if (ImGui.Checkbox("Enable notifications when manual interaction is required", ref v)) - { - base.Configuration.Notifications.Enabled = v; - Save(); - } - using (ImRaii.Disabled(!base.Configuration.Notifications.Enabled)) - { - using (ImRaii.PushIndent()) + int num2 = num; + int num3 = 1450201520; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - int num = Array.IndexOf(_xivChatTypes, base.Configuration.Notifications.ChatType); - if (num == -1) + case 0: + num = 1450201522; + break; + case 2: + base.Configuration.Notifications.Enabled = value; + Save(); + num = 1450201521; + break; + case 1: + { + ImRaii.DisabledDisposable disabledDisposable = _206D_206A_206C_206D_200C_202A_202D_206D_206B_202E_206B_206B_200C_200B_202D_202D_200D_206B_200C_200B_206C_206B_200E_206B_202A_202B_202D_206D_206D_200C_200C_200D_206C_206C_206E_200F_206E_202D_202A_206A_202E(!base.Configuration.Notifications.Enabled); + try { - num = 0; - } - string text = ((num >= 0 && num < _chatTypeNames.Length) ? _chatTypeNames[num] : "Unknown"); - if (ImGui.BeginCombo("Chat channel", text, ImGuiComboFlags.HeightLarge)) - { - if (!_chatChannelComboJustOpened) + int currentItem = Array.IndexOf(_xivChatTypes, base.Configuration.Notifications.ChatType); + num = ((currentItem != -1) ? 55349641 : 55349647); + while (true) { - 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) + int num7 = num; + num3 = 55349645; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) { - string value = _chatChannelSearchText.ToUpperInvariant(); - for (int i = 0; i < _chatTypeNames.Length; i++) + case 3: + num = 55349647; + break; + case 4: + { + float width = _202D_200E_202B_202C_202A_206E_202C_202B_206A_202D_206A_200E_200F_200E_200F_200D_200D_206F_202B_200F_206D_206F_202E_202B_206D_202D_202D_202C_206D_206C_206A_200B_202B_200E_200C_200C_202C_206A_202C_200C_202E(260f, _206D_202E_202E_206A_206F_206E_200C_200B_202A_202D_206D_200B_202C_200E_200D_202C_202D_202B_202A_202D_206E_206B_200F_206D_206D_206A_206D_206D_200E_206A_206A_206B_206F_202B_200B_206A_206E_200C_202E_202A_202E().X); + num = ((!UiThemeUtils.SearchableCombo(global::_003CModule_003E._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(-1712169255), ref currentItem, _chatTypeNames, ref _chatChannelSearchText, width)) ? 55349644 : 55349645); + break; + } + case 0: + base.Configuration.Notifications.ChatType = _xivChatTypes[currentItem]; + Save(); + num = 55349644; + break; + case 2: + currentItem = 0; + num = 55349641; + break; + case 1: + goto end_IL_011e; + } + continue; + end_IL_011e: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? 1015162828 : 1015162831); + while (true) + { + int num8 = num; + num3 = 1015162829; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 1: + goto end_IL_020f; + case 2: + _206C_206B_206C_206E_200E_202C_200E_202E_202E_200D_202A_200D_206C_200D_206F_206C_202E_200B_206D_202E_200D_200D_202D_202B_206E_200B_206B_202B_200D_202C_200B_200B_206D_206D_202C_202E_200D_206C_206C_206D_202E((IDisposable)disabledDisposable); + num = 1015162828; + break; + case 0: + num = 1015162831; + break; + } + continue; + end_IL_020f: + break; + } + } + UiThemeUtils.EndCard(item, item2, item3); + disabledDisposable = _206D_206A_206C_206D_200C_202A_202D_206D_206B_202E_206B_206B_200C_200B_202D_202D_200D_206B_200C_200B_206C_206B_200E_206B_202A_202B_202D_206D_206D_200C_200C_200D_206C_206C_206E_200F_206E_202D_202A_206A_202E(!base.Configuration.Notifications.Enabled); + try + { + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-594783107)); + (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; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1116257301), ref value2)) ? (-62751594) : (-62751599)); + while (true) + { + int num11 = num; + num3 = -62751598; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 6: + value4 = base.Configuration.Notifications.PlaySound; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(922936492), ref value4)) ? (-62751600) : (-62751593)); + break; + case 5: + base.Configuration.Notifications.PlaySound = value4; + Save(); + num = -62751600; + break; + case 0: + num = -62751599; + break; + case 3: + base.Configuration.Notifications.FlashTaskbar = value2; + Save(); + num = -62751594; + break; + case 4: + value5 = base.Configuration.Notifications.ShowTrayMessage; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-212691953), ref value5)) ? (-62751596) : (-62751597)); + break; + case 1: + base.Configuration.Notifications.ShowTrayMessage = value5; + Save(); + num = -62751596; + break; + case 2: + { + ImRaii.DisabledDisposable disabledDisposable2 = _206D_206A_206C_206D_200C_202A_202D_206D_206B_202E_206B_206B_200C_200B_202D_202D_200D_206B_200C_200B_206C_206B_200E_206B_202A_202B_202D_206D_206D_200C_200C_200D_206C_206C_206E_200F_206E_202D_202A_206A_202E(!base.Configuration.Notifications.PlaySound); + try { - if (string.IsNullOrEmpty(_chatChannelSearchText) || _chatTypeNames[i].ToUpperInvariant().Contains(value, StringComparison.Ordinal)) + ImRaii.IndentDisposable indentDisposable = _202E_202C_206C_200F_206C_206D_202E_202B_202E_206A_200D_202B_200E_200D_206C_200D_206B_200D_206B_200B_206F_200B_206A_206D_206B_206D_200B_200C_202D_200E_206E_206F_200C_200C_200C_206B_206E_200E_200E_206D_202E(1, true); + try { - bool flag = i == num; - if (ImGui.Selectable(_chatTypeNames[i], flag)) + int currentItem2 = Array.IndexOf(_soundFiles, base.Configuration.Notifications.SoundFile); + float width2 = _202D_200E_202B_202C_202A_206E_202C_202B_206A_202D_206A_200E_200F_200E_200F_200D_200D_206F_202B_200F_206D_206F_202E_202B_206D_202D_202D_202C_206D_206C_206A_200B_202B_200E_200C_200C_202C_206A_202C_200C_202E(_206D_202E_202E_206A_206F_206E_200C_200B_202A_202D_206D_200B_202C_200E_200D_202C_202D_202B_202A_202D_206E_206B_200F_206D_206D_206A_206D_206D_200E_206A_206A_206B_206F_202B_200B_206A_206E_200C_202E_202A_202E().X * 0.6f, 260f); + num = ((currentItem2 < 0) ? (-996474497) : (-996474498)); + while (true) { - base.Configuration.Notifications.ChatType = _xivChatTypes[i]; - Save(); - _chatChannelSearchText = string.Empty; - ImGui.CloseCurrentPopup(); + int num14 = num; + num3 = -996474499; + num4 = num14; + object obj; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 5: + base.Configuration.Notifications.SoundFile = _soundFiles[currentItem2]; + Save(); + num = -996474500; + continue; + case 3: + obj = null; + break; + case 1: + _200D_202B_206F_202B_206E_202E_202D_200C_202A_202B_206D_200D_206A_202A_202C_202D_202D_200C_200F_202C_200F_206E_206F_206D_206B_206D_202E_200E_202A_206C_206C_200C_202E_202D_206D_206F_206E_202E_202B_200E_202E(); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Play, global::_003CModule_003E._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(1219773276))) ? (-996474503) : (-996474501)); + continue; + case 6: + _202B_206C_200E_206E_200B_200E_200F_206E_200C_200B_202E_202E_202D_206E_200E_206E_202B_200F_202E_206C_202C_200C_202A_200F_202C_202B_202E_206C_206A_202D_200F_200F_206B_200C_206A_200E_202A_206D_206B_206D_202E(_notifier, _202D_200D_202B_206D_206F_206C_202E_202A_200D_206C_206B_200B_200D_202C_202E_206A_200F_202A_200F_200C_202C_202B_202E_206C_206B_202C_200E_200B_202C_202B_206F_202C_206B_200E_206D_206C_202D_200F_206D_206D_202E(base.Configuration.Notifications.SoundFile)); + num = -996474503; + continue; + case 0: + num = -996474498; + continue; + case 2: + obj = SoundLabel(base.Configuration.Notifications.SoundFile); + break; + case 4: + goto end_IL_04a4; + } + string previewOverride = (string)obj; + num = ((!UiThemeUtils.SearchableCombo(global::_003CModule_003E._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(51923745), ref currentItem2, _soundLabels, ref _soundSearchText, width2, previewOverride)) ? (-996474500) : (-996474504)); + continue; + end_IL_04a4: + break; } - if (flag) + } + finally + { + num = ((indentDisposable == null) ? (-363189453) : (-363189456)); + while (true) { - ImGui.SetItemDefaultFocus(); + int num15 = num; + num3 = -363189454; + num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 0: + num = -363189456; + break; + case 1: + goto end_IL_0604; + case 2: + _206C_206B_206C_206E_200E_202C_200E_202E_202E_200D_202A_200D_206C_200D_206F_206C_202E_200B_206D_202E_200D_200D_202D_202B_206E_200B_206B_202B_200D_202C_200B_200B_206D_206D_202C_202E_200D_206C_206C_206D_202E((IDisposable)indentDisposable); + num = -363189453; + break; + } + continue; + end_IL_0604: + break; } } } + finally + { + num = ((disabledDisposable2 == null) ? 33973152 : 33973155); + while (true) + { + int num18 = num; + num3 = 33973154; + num4 = num18; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 33973155; + break; + case 1: + _206C_206B_206C_206E_200E_202C_200E_202E_202E_200D_202A_200D_206C_200D_206F_206C_202E_200B_206D_202E_200D_200D_202D_202B_206E_200B_206B_202B_200D_202C_200B_200B_206D_206D_202C_202E_200D_206C_206C_206D_202E((IDisposable)disabledDisposable2); + num = 33973152; + break; + case 2: + goto end_IL_0671; + } + continue; + end_IL_0671: + break; + } + } + bool value3 = base.Configuration.Notifications.OnlyWhenUnfocused; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1501040901), ref value3, global::_003CModule_003E._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(-468946821))) ? (-1567407838) : (-1567407833)); + while (true) + { + int num19 = num; + num3 = -1567407840; + num4 = num19; + int num20 = num4 + num3; + int num21 = num4 & num3; + switch (num20 - (num21 + num21)) + { + case 4: + base.Configuration.Notifications.AlertForSnipe = !base.Configuration.Notifications.AlertForSnipe; + Save(); + num = -1567407832; + break; + case 1: + goto IL_0782; + case 7: + base.Configuration.Notifications.OnlyWhenUnfocused = value3; + Save(); + num = -1567407838; + break; + case 5: + goto IL_07db; + case 2: + { + UiThemeUtils.EndCard(item4, item5, item6); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(1455636673)); + _200D_202B_206F_202B_206E_202E_202D_200C_202A_202B_206D_200D_206A_202A_202C_202D_202D_200C_200F_202C_200F_206E_206F_206D_206B_206D_202E_200E_202A_206C_206C_200C_202E_202D_206D_206F_206E_202E_202B_200E_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(1061858222)); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple3 = UiThemeUtils.BeginCard(); + item7 = tuple3.ContentStartPos; + item8 = tuple3.AvailableWidth; + item9 = tuple3.DrawList; + InlineArray4 buffer = default(InlineArray4); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, UiThemeUtils.GridCheckbox>(ref buffer, 0) = new UiThemeUtils.GridCheckbox(global::_003CModule_003E._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(1354247148), base.Configuration.Notifications.AlertForDuties); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, UiThemeUtils.GridCheckbox>(ref buffer, 1) = new UiThemeUtils.GridCheckbox(global::_003CModule_003E._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(134232088), base.Configuration.Notifications.AlertForSinglePlayerDuties); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, UiThemeUtils.GridCheckbox>(ref buffer, 2) = new UiThemeUtils.GridCheckbox(global::_003CModule_003E._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(898378632), base.Configuration.Notifications.AlertForSnipe); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, UiThemeUtils.GridCheckbox>(ref buffer, 3) = new UiThemeUtils.GridCheckbox(global::_003CModule_003E._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(1315244177), base.Configuration.Notifications.AlertForStopConditions); + ReadOnlySpan items = global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, UiThemeUtils.GridCheckbox>(in buffer, 4); + switch (UiThemeUtils.CheckboxGrid(global::_003CModule_003E._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(-1373958987), items)) + { + case 2: + break; + case 3: + goto IL_0782; + case 0: + goto IL_07db; + default: + goto IL_0950; + case 1: + goto IL_095c; + } + goto case 4; + } + case 6: + goto IL_095c; + case 3: + num = -1567407833; + break; + case 0: + num = -1567407832; + break; + case 8: + { + UiThemeUtils.EndCard(item7, item8, item9); + return; + } + IL_095c: + base.Configuration.Notifications.AlertForSinglePlayerDuties = !base.Configuration.Notifications.AlertForSinglePlayerDuties; + Save(); + num = -1567407832; + break; + IL_0950: + num = -1567407840; + break; + IL_07db: + base.Configuration.Notifications.AlertForDuties = !base.Configuration.Notifications.AlertForDuties; + Save(); + num = -1567407832; + break; + IL_0782: + base.Configuration.Notifications.AlertForStopConditions = !base.Configuration.Notifications.AlertForStopConditions; + Save(); + num = -1567407832; + break; + } + } + } } } - ImGui.EndCombo(); } - else + finally { - _chatChannelComboJustOpened = false; + num = ((disabledDisposable == null) ? (-307318706) : (-307318705)); + while (true) + { + int num22 = num; + num3 = -307318706; + num4 = num22; + int num23 = num4 + num3; + int num24 = num4 & num3; + switch (num23 - (num24 + num24)) + { + case 2: + num = -307318705; + break; + case 0: + goto end_IL_09d8; + case 1: + _206C_206B_206C_206E_200E_202C_200E_202E_202E_200D_202A_200D_206C_200D_206F_206C_202E_200B_206D_202E_200D_200D_202D_202B_206E_200B_206B_202B_200D_202C_200B_200B_206D_206D_202C_202E_200D_206C_206C_206D_202E((IDisposable)disabledDisposable); + num = -307318706; + break; + } + continue; + end_IL_09d8: + break; + } } } + } } } + + static NotificationConfigComponent() + { + List list = new List(); + list.AddRange(_200F_206E_206E_200F_200E_202D_202C_202E_202B_200D_202B_200F_200B_206D_202B_202E_200D_200B_200E_200F_200E_202D_200B_202C_206D_206F_200C_206F_200C_200B_206B_202A_206E_200C_206C_202B_200D_200D_206E_202B_202E(1, 10).Select([MethodImpl(MethodImplOptions.NoInlining)] (int i) => + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(602783001)); + defaultInterpolatedStringHandler.AppendFormatted(i, global::_003CModule_003E._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(1462241587)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(278560641)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + })); + list.AddRange(_200F_206E_206E_200F_200E_202D_202C_202E_202B_200D_202B_200F_200B_206D_202B_202E_200D_200B_200E_200F_200E_202D_200B_202C_206D_206F_200C_206F_200C_200B_206B_202A_206E_200C_206C_202B_200D_200D_206E_202B_202E(1, 10).Select([MethodImpl(MethodImplOptions.NoInlining)] (int i) => + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1592517238)); + defaultInterpolatedStringHandler.AppendFormatted(i, global::_003CModule_003E._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(1194352829)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1770632532)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + })); + CuratedSoundNames = list.ToArray(); + } + + static bool _202B_200D_200B_206A_206A_206A_206E_206D_202A_202E_202A_206C_200D_206A_202D_200B_200B_200B_206C_206F_202A_200B_200E_200F_206C_206D_202E_202D_206B_206D_206C_200E_202D_206A_202C_206A_202A_206B_200C_200C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string _206D_200D_200F_202D_202C_202A_200D_206C_200C_200F_202B_202E_206F_200C_202C_206F_206F_202B_202A_206B_206B_202C_200D_206C_206A_202D_200C_200B_200B_200F_206A_206D_206C_200C_200F_200D_200E_200D_200F_202E(string P_0) + { + return Path.GetFileNameWithoutExtension(P_0); + } + + static ImRaii.DisabledDisposable _206D_206A_206C_206D_200C_202A_202D_206D_206B_202E_206B_206B_200C_200B_202D_202D_200D_206B_200C_200B_206C_206B_200E_206B_202A_202B_202D_206D_206D_200C_200C_200D_206C_206C_206E_200F_206E_202D_202A_206A_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static Vector2 _206D_202E_202E_206A_206F_206E_200C_200B_202A_202D_206D_200B_202C_200E_200D_202C_202D_202B_202A_202D_206E_206B_200F_206D_206D_206A_206D_206D_200E_206A_206A_206B_206F_202B_200B_206A_206E_200C_202E_202A_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _202D_200E_202B_202C_202A_206E_202C_202B_206A_202D_206A_200E_200F_200E_200F_200D_200D_206F_202B_200F_206D_206F_202E_202B_206D_202D_202D_202C_206D_206C_206A_200B_202B_200E_200C_200C_202C_206A_202C_200C_202E(float P_0, float P_1) + { + return MathF.Min(P_0, P_1); + } + + static void _206C_206B_206C_206E_200E_202C_200E_202E_202E_200D_202A_200D_206C_200D_206F_206C_202E_200B_206D_202E_200D_200D_202D_202B_206E_200B_206B_202B_200D_202C_200B_200B_206D_206D_202C_202E_200D_206C_206C_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ImRaii.IndentDisposable _202E_202C_206C_200F_206C_206D_202E_202B_202E_206A_200D_202B_200E_200D_206C_200D_206B_200D_206B_200B_206F_200B_206A_206D_206B_206D_200B_200C_202D_200E_206E_206F_200C_200C_200C_206B_206E_200E_200E_206D_202E(int P_0, bool P_1) + { + return ImRaii.PushIndent(P_0, P_1); + } + + static void _200D_202B_206F_202B_206E_202E_202D_200C_202A_202B_206D_200D_206A_202A_202C_202D_202D_200C_200F_202C_200F_206E_206F_206D_206B_206D_202E_200E_202A_206C_206C_200C_202E_202D_206D_206F_206E_202E_202B_200E_202E() + { + ImGui.SameLine(); + } + + static string _202D_200D_202B_206D_206F_206C_202E_202A_200D_206C_206B_200B_200D_202C_202E_206A_200F_202A_200F_200C_202C_202B_202E_206C_206B_202C_200E_200B_202C_202B_206F_202C_206B_200E_206D_206C_202D_200F_206D_206D_202E(string P_0) + { + return WindowsSounds.ResolvePath(P_0); + } + + static void _202B_206C_200E_206E_200B_200E_200F_206E_200C_200B_202E_202E_202D_206E_200E_206E_202B_200F_202E_206C_202C_200C_202A_200F_202C_202B_202E_206C_206A_202D_200F_200F_206B_200C_206A_200E_202A_206D_206B_206D_202E(OutOfGameNotifier P_0, string P_1) + { + P_0.PlayAlertSound(P_1); + } + + static IEnumerable _200F_206E_206E_200F_200E_202D_202C_202E_202B_200D_202B_200F_200B_206D_202B_202E_200D_200B_200E_200F_200E_202D_200B_202C_206D_206F_200C_206F_200C_200B_206B_202A_206E_200C_206C_202B_200D_200D_206E_202B_202E(int P_0, int P_1) + { + return Enumerable.Range(P_0, P_1); + } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/PluginConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/PluginConfigComponent.cs index 1cd1edd1..0f637dfb 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/PluginConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/PluginConfigComponent.cs @@ -1,50 +1,634 @@ using System; +using System.Collections; 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.Configuration; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; +using Dalamud.Interface.ManagedFontAtlas; 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 PluginDetailInfo(string DisplayName, string Details, Func Predicate); - - private static readonly IReadOnlyList RequiredPlugins = new global::_003C_003Ez__ReadOnlyArray(new PluginInfo[3] + private sealed record PluginProvider(string DisplayName, string InternalName, Uri WebsiteUri, Uri? DalamudRepositoryUri, IReadOnlyList? DalamudRepositoryAliases = null) { - 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")) - }); + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); - private static readonly ReadOnlyDictionary CombatPlugins = new Dictionary + public static Func _003C_003E9__25_0; + + internal string _003Cget_AliasUrls_003Eb__25_0(Uri u) + { + return _202A_200E_206F_206F_200B_202C_202A_206F_200D_200F_200C_200B_202E_202E_200D_202B_202B_200F_202A_202E_202E_206D_206C_202C_206D_206B_202E_200C_206B_202A_202B_206A_206D_206D_202D_200E_206E_202D_200B_206D_202E((object)u); + } + + static string _202A_200E_206F_206F_200B_202C_202A_206F_200D_200F_200C_200B_202E_202E_200D_202B_202B_200F_202A_202E_202E_206D_206C_202C_206D_206B_202E_200C_206B_202A_202B_206A_206D_206D_202D_200E_206E_202D_200B_206D_202E(object P_0) + { + return P_0.ToString(); + } + } + + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_200C_202B_200C_202D_202B_206A_206A_202E_200D_206A_200F_206C_200E_206B_202D_200B_202B_200D_206F_200C_202C_200D_202B_206F_206A_200C_200B_200F_206C_202A_206A_202A_206B_206A_200F_202C_200B_202E_202D_202E(typeof(PluginProvider).TypeHandle); + } + } + + public IReadOnlyList AliasUrls + { + get + { + IReadOnlyList? readOnlyList = _aliasUrls; + if (readOnlyList == null) + { + IReadOnlyList readOnlyList2 = DalamudRepositoryAliases?.Select((Uri u) => _003C_003Ec._202A_200E_206F_206F_200B_202C_202A_206F_200D_200F_200C_200B_202E_202E_200D_202B_202B_200F_202A_202E_202E_206D_206C_202C_206D_206B_202E_200C_206B_202A_202B_206A_206D_206D_202D_200E_206E_202D_200B_206D_202E((object)u)).ToList(); + readOnlyList = (_aliasUrls = readOnlyList2 ?? Array.Empty()); + } + return readOnlyList; + } + } + + private IReadOnlyList? _aliasUrls; + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206E_202B_200D_206D_206B_206D_200D_202C_206B_206D_200B_206F_206C_202C_200B_202D_200C_206C_202E_206B_206C_206B_202A_200F_200D_200C_206D_200B_200D_200D_206A_206E_200C_202A_200E_206C_200B_200B_202D_202A_202E(); + _206C_202D_200D_206A_206C_202C_200E_202C_202A_206A_206B_206B_206B_202B_206B_202C_206A_200C_202A_200C_200E_202A_206A_202A_202D_202A_206E_202B_200D_202A_202C_202A_206B_202A_206D_202B_200D_202A_202C_206D_202E(stringBuilder, global::_003CModule_003E._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(599096135)); + _206C_202D_200D_206A_206C_202C_200E_202C_202A_206A_206B_206B_206B_202B_206B_202C_206A_200C_202A_200C_200E_202A_206A_202A_202D_202A_206E_202B_200D_202A_202C_202A_206B_202A_206D_202B_200D_202A_202C_206D_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? 1856987188 : 1856987191); + while (true) + { + int num2 = num; + int num3 = 1856987189; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1856987191; + break; + case 1: + _206D_202E_206B_200F_206E_202B_202C_200C_206E_206D_202D_202D_206F_206D_202C_202D_206D_206B_202B_202C_200D_206B_206A_202A_200D_202E_202A_202E_200B_200F_200E_202D_200D_206D_206F_206B_206D_202E_206B_200E_202E(stringBuilder, '}'); + return _206D_206D_202D_200D_206E_200E_206C_206F_200D_202C_200B_206A_206B_202B_206F_202C_206A_200C_206C_200E_206E_202C_200B_200D_202E_202A_200E_206E_200F_202D_202E_206C_202A_202C_206D_200D_202E_202D_202C_202A_202E((object)stringBuilder); + case 2: + _206D_202E_206B_200F_206E_202B_202C_200C_206E_206D_202D_202D_206F_206D_202C_202D_206D_206B_202B_202C_200D_206B_206A_202A_200D_202E_202A_202E_200B_200F_200E_202D_200D_206D_206F_206B_206D_202E_206B_200E_202E(stringBuilder, ' '); + num = 1856987188; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206E_206E_202D_200F_202D_202B_200C_200E_202A_200E_202D_202D_206D_206A_206C_206A_202E_202B_200B_200F_202E_206E_200F_200E_200E_206D_206A_200C_202C_202A_200F_206A_200D_200C_200F_200B_206C_202C_202D_202B_202E(); + _206C_202D_200D_206A_206C_202C_200E_202C_202A_206A_206B_206B_206B_202B_206B_202C_206A_200C_202A_200C_200E_202A_206A_202A_202D_202A_206E_202B_200D_202A_202C_202A_206B_202A_206D_202B_200D_202A_202C_206D_202E(builder, global::_003CModule_003E._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(1554457261)); + _202C_206B_200D_202D_200D_206C_206F_200B_206F_202B_202B_202B_202A_202A_200C_206F_202A_206D_200C_206B_202A_206F_206B_206D_206A_202D_206E_202A_206F_206B_202A_206D_206B_206D_206F_202E_206B_200C_202A_202C_202E(builder, (object)DisplayName); + _206C_202D_200D_206A_206C_202C_200E_202C_202A_206A_206B_206B_206B_202B_206B_202C_206A_200C_202A_200C_200E_202A_206A_202A_202D_202A_206E_202B_200D_202A_202C_202A_206B_202A_206D_202B_200D_202A_202C_206D_202E(builder, global::_003CModule_003E._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(1253723183)); + _202C_206B_200D_202D_200D_206C_206F_200B_206F_202B_202B_202B_202A_202A_200C_206F_202A_206D_200C_206B_202A_206F_206B_206D_206A_202D_206E_202A_206F_206B_202A_206D_206B_206D_206F_202E_206B_200C_202A_202C_202E(builder, (object)InternalName); + _206C_202D_200D_206A_206C_202C_200E_202C_202A_206A_206B_206B_206B_202B_206B_202C_206A_200C_202A_200C_200E_202A_206A_202A_202D_202A_206E_202B_200D_202A_202C_202A_206B_202A_206D_202B_200D_202A_202C_206D_202E(builder, global::_003CModule_003E._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(2064418967)); + _202C_206B_200D_202D_200D_206C_206F_200B_206F_202B_202B_202B_202A_202A_200C_206F_202A_206D_200C_206B_202A_206F_206B_206D_206A_202D_206E_202A_206F_206B_202A_206D_206B_206D_206F_202E_206B_200C_202A_202C_202E(builder, (object)WebsiteUri); + _206C_202D_200D_206A_206C_202C_200E_202C_202A_206A_206B_206B_206B_202B_206B_202C_206A_200C_202A_200C_200E_202A_206A_202A_202D_202A_206E_202B_200D_202A_202C_202A_206B_202A_206D_202B_200D_202A_202C_206D_202E(builder, global::_003CModule_003E._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(2073079248)); + _202C_206B_200D_202D_200D_206C_206F_200B_206F_202B_202B_202B_202A_202A_200C_206F_202A_206D_200C_206B_202A_206F_206B_206D_206A_202D_206E_202A_206F_206B_202A_206D_206B_206D_206F_202E_206B_200C_202A_202C_202E(builder, (object)DalamudRepositoryUri); + _206C_202D_200D_206A_206C_202C_200E_202C_202A_206A_206B_206B_206B_202B_206B_202C_206A_200C_202A_200C_200E_202A_206A_202A_202D_202A_206E_202B_200D_202A_202C_202A_206B_202A_206D_202B_200D_202A_202C_206D_202E(builder, global::_003CModule_003E._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(1815798103)); + _202C_206B_200D_202D_200D_206C_206F_200B_206F_202B_202B_202B_202A_202A_200C_206F_202A_206D_200C_206B_202A_206F_206B_206D_206A_202D_206E_202A_206F_206B_202A_206D_206B_206D_206F_202E_206B_200C_202A_202C_202E(builder, (object)DalamudRepositoryAliases); + _206C_202D_200D_206A_206C_202C_200E_202C_202A_206A_206B_206B_206B_202B_206B_202C_206A_200C_202A_200C_200E_202A_206A_202A_202D_202A_206E_202B_200D_202A_202C_202A_206B_202A_206D_202B_200D_202A_202C_206D_202E(builder, global::_003CModule_003E._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(-812070845)); + _202C_206B_200D_202D_200D_206C_206F_200B_206F_202B_202B_202B_202A_202A_200C_206F_202A_206D_200C_206B_202A_206F_206B_206D_206A_202D_206E_202A_206F_206B_202A_206D_206B_206D_206F_202E_206B_200C_202A_202C_202E(builder, (object)AliasUrls); + return true; + } + + [CompilerGenerated] + public bool Equals(PluginProvider? other) + { + int num = (((object)this == other) ? (-947040485) : (-947040495)); + while (true) + { + int num2 = num; + int num3 = -947040493; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 9: + num = ((!EqualityComparer>.Default.Equals(DalamudRepositoryAliases, other.DalamudRepositoryAliases)) ? (-947040490) : (-947040494)); + break; + case 8: + return true; + case 7: + num = ((!EqualityComparer.Default.Equals(DisplayName, other.DisplayName)) ? (-947040490) : (-947040489)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(InternalName, other.InternalName)) ? (-947040490) : (-947040487)); + break; + case 1: + return EqualityComparer>.Default.Equals(_aliasUrls, other._aliasUrls); + case 0: + num = -947040495; + break; + case 3: + num = ((!EqualityComparer.Default.Equals(DalamudRepositoryUri, other.DalamudRepositoryUri)) ? (-947040490) : (-947040486)); + break; + case 6: + num = ((!_200C_200F_200C_200E_202D_206D_206A_200C_206E_206A_206C_200C_206C_200F_202A_206D_206D_202A_202C_206A_200E_200C_200B_202A_200D_206B_200C_202E_202B_200E_206F_206F_206F_202D_200D_200E_200C_206F_206C_200D_202E(EqualityContract, other.EqualityContract)) ? (-947040490) : (-947040492)); + break; + case 5: + return false; + case 10: + num = ((!EqualityComparer.Default.Equals(WebsiteUri, other.WebsiteUri)) ? (-947040490) : (-947040496)); + break; + case 2: + num = (((object)other == null) ? (-947040490) : (-947040491)); + break; + } + } + } + + bool IEquatable.Equals(PluginProvider? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_200C_202B_200C_202D_202B_206A_206A_202E_200D_206A_200F_206C_200E_206B_202D_200B_202B_200D_206F_200C_202C_200D_202B_206F_206A_200C_200B_200F_206C_202A_206A_202A_206B_206A_200F_202C_200B_202E_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206E_202B_200D_206D_206B_206D_200D_202C_206B_206D_200B_206F_206C_202C_200B_202D_200C_206C_202E_206B_206C_206B_202A_200F_200D_200C_206D_200B_200D_200D_206A_206E_200C_202A_200E_206C_200B_200B_202D_202A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206C_202D_200D_206A_206C_202C_200E_202C_202A_206A_206B_206B_206B_202B_206B_202C_206A_200C_202A_200C_200E_202A_206A_202A_202D_202A_206E_202B_200D_202A_202C_202A_206B_202A_206D_202B_200D_202A_202C_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_202E_206B_200F_206E_202B_202C_200C_206E_206D_202D_202D_206F_206D_202C_202D_206D_206B_202B_202C_200D_206B_206A_202A_200D_202E_202A_202E_200B_200F_200E_202D_200D_206D_206F_206B_206D_202E_206B_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206D_206D_202D_200D_206E_200E_206C_206F_200D_202C_200B_206A_206B_202B_206F_202C_206A_200C_206C_200E_206E_202C_200B_200D_202E_202A_200E_206E_200F_202D_202E_206C_202A_202C_206D_200D_202E_202D_202C_202A_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206E_206E_202D_200F_202D_202B_200C_200E_202A_200E_202D_202D_206D_206A_206C_206A_202E_202B_200B_200F_202E_206E_200F_200E_200E_206D_206A_200C_202C_202A_200F_206A_200D_200C_200F_200B_206C_202C_202D_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202C_206B_200D_202D_200D_206C_206F_200B_206F_202B_202B_202B_202A_202A_200C_206F_202A_206D_200C_206B_202A_206F_206B_206D_206A_202D_206E_202A_206F_206B_202A_206D_206B_206D_206F_202E_206B_200C_202A_202C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_200F_200C_200E_202D_206D_206A_200C_206E_206A_206C_200C_206C_200F_202A_206D_206D_202A_202C_206A_200E_200C_200B_202A_200D_206B_200C_202E_202B_200E_206F_206F_206F_202D_200D_200E_200C_206F_206C_200D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + private sealed record PluginRequirement(string GroupName, string Description, IReadOnlyList Providers, string? ConfigCommand = null, List? DetailsToCheck = null, (string Label, Uri Uri)? ExtraLink = null) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_206E_206A_202E_200E_206A_202D_206A_206B_206B_206B_206C_206C_202A_206B_202D_206C_202D_202B_202D_206B_206D_200D_200B_200D_206F_206B_206D_200C_206F_202C_206E_200C_202C_206B_206E_200E_206B_202B_202E(typeof(PluginRequirement).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206C_206E_206A_200B_200C_206D_202B_202E_202A_202C_202B_202B_206D_206A_206A_206E_202B_200D_206E_206F_202C_206F_202C_206B_200C_202B_200B_206B_200E_206E_200B_202C_206D_202D_200B_206E_200D_200F_200E_206F_202E(); + _202B_206D_200B_200E_202E_206A_200E_200F_206F_206C_202D_200C_200C_206A_206E_200D_206E_200C_206E_206E_202C_206D_200C_202D_206D_200D_200F_206C_206F_202D_206A_202E_206A_200D_202C_202C_206B_200B_206B_206D_202E(stringBuilder, global::_003CModule_003E._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(491808729)); + _202B_206D_200B_200E_202E_206A_200E_200F_206F_206C_202D_200C_200C_206A_206E_200D_206E_200C_206E_206E_202C_206D_200C_202D_206D_200D_200F_206C_206F_202D_206A_202E_206A_200D_202C_202C_206B_200B_206B_206D_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? (-1844014661) : (-1844014662)); + while (true) + { + int num2 = num; + int num3 = -1844014661; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1844014662; + break; + case 1: + _200D_206E_206E_202D_202D_206B_200B_206A_202C_200D_202D_200B_200C_206A_206C_200F_202D_206C_202E_202C_202E_200F_202D_206A_202B_200F_200F_202B_200F_200E_202B_202A_200E_202C_200B_202E_200C_202A_200B_202C_202E(stringBuilder, ' '); + num = -1844014661; + break; + case 0: + _200D_206E_206E_202D_202D_206B_200B_206A_202C_200D_202D_200B_200C_206A_206C_200F_202D_206C_202E_202C_202E_200F_202D_206A_202B_200F_200F_202B_200F_200E_202B_202A_200E_202C_200B_202E_200C_202A_200B_202C_202E(stringBuilder, '}'); + return _200E_200D_206D_202E_206F_202A_206B_202B_202A_200C_206D_200E_206B_200F_202E_200B_206B_200E_200F_202E_200D_206C_202C_202B_200F_202A_206A_202D_202A_206E_202A_206B_206B_202A_200D_206B_202D_202A_200D_206B_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_202D_200C_206A_202D_200F_206F_202B_206C_200E_202E_202C_202A_200F_206C_200B_206F_200D_206A_206B_202A_206F_206F_200D_206F_200F_200F_202E_206F_206E_202A_200E_200D_206F_200B_206B_200E_206C_206C_202E(); + _202B_206D_200B_200E_202E_206A_200E_200F_206F_206C_202D_200C_200C_206A_206E_200D_206E_200C_206E_206E_202C_206D_200C_202D_206D_200D_200F_206C_206F_202D_206A_202E_206A_200D_202C_202C_206B_200B_206B_206D_202E(builder, global::_003CModule_003E._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(1802003745)); + _202E_206B_200B_200F_200D_200B_202A_202E_202C_202C_206E_202A_206D_206D_206B_206D_202E_200C_202B_202C_206F_206C_200D_200D_206D_200E_200E_202E_202C_200B_206F_202A_206D_206D_200F_200D_206C_200B_200E_200F_202E(builder, (object)GroupName); + _202B_206D_200B_200E_202E_206A_200E_200F_206F_206C_202D_200C_200C_206A_206E_200D_206E_200C_206E_206E_202C_206D_200C_202D_206D_200D_200F_206C_206F_202D_206A_202E_206A_200D_202C_202C_206B_200B_206B_206D_202E(builder, global::_003CModule_003E._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(-2025676759)); + _202E_206B_200B_200F_200D_200B_202A_202E_202C_202C_206E_202A_206D_206D_206B_206D_202E_200C_202B_202C_206F_206C_200D_200D_206D_200E_200E_202E_202C_200B_206F_202A_206D_206D_200F_200D_206C_200B_200E_200F_202E(builder, (object)Description); + _202B_206D_200B_200E_202E_206A_200E_200F_206F_206C_202D_200C_200C_206A_206E_200D_206E_200C_206E_206E_202C_206D_200C_202D_206D_200D_200F_206C_206F_202D_206A_202E_206A_200D_202C_202C_206B_200B_206B_206D_202E(builder, global::_003CModule_003E._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(-1402204001)); + _202E_206B_200B_200F_200D_200B_202A_202E_202C_202C_206E_202A_206D_206D_206B_206D_202E_200C_202B_202C_206F_206C_200D_200D_206D_200E_200E_202E_202C_200B_206F_202A_206D_206D_200F_200D_206C_200B_200E_200F_202E(builder, (object)Providers); + _202B_206D_200B_200E_202E_206A_200E_200F_206F_206C_202D_200C_200C_206A_206E_200D_206E_200C_206E_206E_202C_206D_200C_202D_206D_200D_200F_206C_206F_202D_206A_202E_206A_200D_202C_202C_206B_200B_206B_206D_202E(builder, global::_003CModule_003E._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(1430915318)); + _202E_206B_200B_200F_200D_200B_202A_202E_202C_202C_206E_202A_206D_206D_206B_206D_202E_200C_202B_202C_206F_206C_200D_200D_206D_200E_200E_202E_202C_200B_206F_202A_206D_206D_200F_200D_206C_200B_200E_200F_202E(builder, (object)ConfigCommand); + _202B_206D_200B_200E_202E_206A_200E_200F_206F_206C_202D_200C_200C_206A_206E_200D_206E_200C_206E_206E_202C_206D_200C_202D_206D_200D_200F_206C_206F_202D_206A_202E_206A_200D_202C_202C_206B_200B_206B_206D_202E(builder, global::_003CModule_003E._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(-1878575073)); + _202E_206B_200B_200F_200D_200B_202A_202E_202C_202C_206E_202A_206D_206D_206B_206D_202E_200C_202B_202C_206F_206C_200D_200D_206D_200E_200E_202E_202C_200B_206F_202A_206D_206D_200F_200D_206C_200B_200E_200F_202E(builder, (object)DetailsToCheck); + _202B_206D_200B_200E_202E_206A_200E_200F_206F_206C_202D_200C_200C_206A_206E_200D_206E_200C_206E_206E_202C_206D_200C_202D_206D_200D_200F_206C_206F_202D_206A_202E_206A_200D_202C_202C_206B_200B_206B_206D_202E(builder, global::_003CModule_003E._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(1074684730)); + _202B_206D_200B_200E_202E_206A_200E_200F_206F_206C_202D_200C_200C_206A_206E_200D_206E_200C_206E_206E_202C_206D_200C_202D_206D_200D_200F_206C_206F_202D_206A_202E_206A_200D_202C_202C_206B_200B_206B_206D_202E(builder, ExtraLink.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(PluginRequirement? other) + { + int num = (((object)this == other) ? 1323011366 : 1323011365); + while (true) + { + int num2 = num; + int num3 = 1323011363; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + num = ((!_202D_206E_200F_206E_200E_200D_202B_202A_206D_200C_206D_200C_202C_200C_202D_206D_200C_206C_206C_200C_200C_200E_200E_202B_200B_202C_202B_206D_200D_200E_206C_206B_202B_202E_200E_206C_202E_202C_202D_206B_202E(EqualityContract, other.EqualityContract)) ? 1323011370 : 1323011360); + break; + case 1: + num = ((!EqualityComparer>.Default.Equals(Providers, other.Providers)) ? 1323011370 : 1323011364); + break; + case 0: + return EqualityComparer<(string, Uri)?>.Default.Equals(ExtraLink, other.ExtraLink); + case 7: + num = ((!EqualityComparer.Default.Equals(ConfigCommand, other.ConfigCommand)) ? 1323011370 : 1323011367); + break; + case 10: + num = ((!EqualityComparer.Default.Equals(Description, other.Description)) ? 1323011370 : 1323011362); + break; + case 4: + num = ((!EqualityComparer>.Default.Equals(DetailsToCheck, other.DetailsToCheck)) ? 1323011370 : 1323011363); + break; + case 5: + return true; + case 9: + return false; + case 3: + num = ((!EqualityComparer.Default.Equals(GroupName, other.GroupName)) ? 1323011370 : 1323011369); + break; + case 6: + num = (((object)other == null) ? 1323011370 : 1323011371); + break; + case 2: + num = 1323011365; + break; + } + } + } + + bool IEquatable.Equals(PluginRequirement? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_206E_206A_202E_200E_206A_202D_206A_206B_206B_206B_206C_206C_202A_206B_202D_206C_202D_202B_202D_206B_206D_200D_200B_200D_206F_206B_206D_200C_206F_202C_206E_200C_202C_206B_206E_200E_206B_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206C_206E_206A_200B_200C_206D_202B_202E_202A_202C_202B_202B_206D_206A_206A_206E_202B_200D_206E_206F_202C_206F_202C_206B_200C_202B_200B_206B_200E_206E_200B_202C_206D_202D_200B_206E_200D_200F_200E_206F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202B_206D_200B_200E_202E_206A_200E_200F_206F_206C_202D_200C_200C_206A_206E_200D_206E_200C_206E_206E_202C_206D_200C_202D_206D_200D_200F_206C_206F_202D_206A_202E_206A_200D_202C_202C_206B_200B_206B_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_206E_206E_202D_202D_206B_200B_206A_202C_200D_202D_200B_200C_206A_206C_200F_202D_206C_202E_202C_202E_200F_202D_206A_202B_200F_200F_202B_200F_200E_202B_202A_200E_202C_200B_202E_200C_202A_200B_202C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200E_200D_206D_202E_206F_202A_206B_202B_202A_200C_206D_200E_206B_200F_202E_200B_206B_200E_200F_202E_200D_206C_202C_202B_200F_202A_206A_202D_202A_206E_202A_206B_206B_202A_200D_206B_202D_202A_200D_206B_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200B_202D_200C_206A_202D_200F_206F_202B_206C_200E_202E_202C_202A_200F_206C_200B_206F_200D_206A_206B_202A_206F_206F_200D_206F_200F_200F_202E_206F_206E_202A_200E_200D_206F_200B_206B_200E_206C_206C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202E_206B_200B_200F_200D_200B_202A_202E_202C_202C_206E_202A_206D_206D_206B_206D_202E_200C_202B_202C_206F_206C_200D_200D_206D_200E_200E_202E_202C_200B_206F_202A_206D_206D_200F_200D_206C_200B_200E_200F_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202D_206E_200F_206E_200E_200D_202B_202A_206D_200C_206D_200C_202C_200C_202D_206D_200C_206C_206C_200C_200C_200E_200E_202B_200B_202C_202B_206D_200D_200E_206C_206B_202B_202E_200E_206C_202E_202C_202D_206B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + private sealed record PluginDetailInfo(string DisplayName, string Details, Func Predicate) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200B_206F_206F_206F_206C_202C_200E_202D_202E_202C_206B_202A_200E_202D_206E_202C_200C_200E_200D_200B_206E_202B_200F_200F_206F_206A_206E_206D_202E_202A_206C_206D_202B_202C_200B_206E_200E_206D_206A_202A_202E(typeof(PluginDetailInfo).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202D_206B_200F_200C_206C_202A_200D_200E_202D_206B_202B_200F_202B_200F_200D_202C_206D_200B_206F_206F_200F_206F_206B_206F_206E_200E_206A_206C_206C_200F_206A_202A_206B_200D_206E_206B_200D_206E_200F_202D_202E(); + _200B_202A_202E_202D_206A_202C_202A_200E_206D_206E_206D_206C_200C_202C_200C_202B_202C_206B_202A_206D_206C_202B_202D_202D_200D_202A_202E_206F_202A_200E_202C_202D_206D_206B_206A_200D_200C_206B_206B_200E_202E(stringBuilder, global::_003CModule_003E._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(-938985440)); + _200B_202A_202E_202D_206A_202C_202A_200E_206D_206E_206D_206C_200C_202C_200C_202B_202C_206B_202A_206D_206C_202B_202D_202D_200D_202A_202E_206F_202A_200E_202C_202D_206D_206B_206A_200D_200C_206B_206B_200E_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-926821840) : (-926821837)); + while (true) + { + int num2 = num; + int num3 = -926821839; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _202B_206C_202E_200D_200B_200F_202C_200C_200E_200C_200D_206B_202A_206B_202E_200D_200F_206E_200D_206D_200D_206E_206A_206C_202A_206F_200C_206E_200D_200B_206E_200B_206D_206D_206F_206B_206E_202C_200B_202A_202E(stringBuilder, '}'); + return _200F_202B_206F_206C_202C_206E_202E_200F_206A_206D_200E_206F_202A_202C_200F_206A_200B_200F_202C_200F_206B_200C_202A_202C_200C_200B_202E_200C_206E_202D_200D_200F_200D_202D_206F_202A_200E_202D_202D_202D_202E((object)stringBuilder); + case 2: + _202B_206C_202E_200D_200B_200F_202C_200C_200E_200C_200D_206B_202A_206B_202E_200D_200F_206E_200D_206D_200D_206E_206A_206C_202A_206F_200C_206E_200D_200B_206E_200B_206D_206D_206F_206B_206E_202C_200B_202A_202E(stringBuilder, ' '); + num = -926821840; + break; + case 0: + num = -926821837; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202D_206D_206B_206D_202D_206C_200D_206C_202E_202B_206A_206F_206D_206C_206A_202D_202A_202D_206C_206A_206B_200F_200C_200F_202D_202D_206F_206A_200D_206C_206E_206C_206D_202B_202D_200D_206B_206F_206C_202E(); + _200B_202A_202E_202D_206A_202C_202A_200E_206D_206E_206D_206C_200C_202C_200C_202B_202C_206B_202A_206D_206C_202B_202D_202D_200D_202A_202E_206F_202A_200E_202C_202D_206D_206B_206A_200D_200C_206B_206B_200E_202E(builder, global::_003CModule_003E._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(-1139649280)); + _202E_206A_200C_206D_200F_202A_206C_200B_202D_206F_200D_200C_206C_200F_206D_200B_206B_202D_200C_202E_202B_206F_202C_202D_202B_202D_206B_206F_200B_206F_206B_200E_200C_200F_202A_206A_206D_206E_200B_202B_202E(builder, (object)DisplayName); + _200B_202A_202E_202D_206A_202C_202A_200E_206D_206E_206D_206C_200C_202C_200C_202B_202C_206B_202A_206D_206C_202B_202D_202D_200D_202A_202E_206F_202A_200E_202C_202D_206D_206B_206A_200D_200C_206B_206B_200E_202E(builder, global::_003CModule_003E._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(1920135945)); + _202E_206A_200C_206D_200F_202A_206C_200B_202D_206F_200D_200C_206C_200F_206D_200B_206B_202D_200C_202E_202B_206F_202C_202D_202B_202D_206B_206F_200B_206F_206B_200E_200C_200F_202A_206A_206D_206E_200B_202B_202E(builder, (object)Details); + _200B_202A_202E_202D_206A_202C_202A_200E_206D_206E_206D_206C_200C_202C_200C_202B_202C_206B_202A_206D_206C_202B_202D_202D_200D_202A_202E_206F_202A_200E_202C_202D_206D_206B_206A_200D_200C_206B_206B_200E_202E(builder, global::_003CModule_003E._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(-1576844440)); + _202E_206A_200C_206D_200F_202A_206C_200B_202D_206F_200D_200C_206C_200F_206D_200B_206B_202D_200C_202E_202B_206F_202C_202D_202B_202D_206B_206F_200B_206F_206B_200E_200C_200F_202A_206A_206D_206E_200B_202B_202E(builder, (object)Predicate); + return true; + } + + [CompilerGenerated] + public bool Equals(PluginDetailInfo? other) + { + int num = (((object)this == other) ? 704266451 : 704266455); + while (true) + { + int num2 = num; + int num3 = 704266454; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + num = ((!_206E_206F_202B_206F_206B_200D_202A_202B_200D_202A_200C_200B_202B_200D_202B_200C_206A_200E_206E_202A_202B_200F_202B_202A_202E_202B_200F_202D_206F_206F_200D_202D_200D_200D_202C_200E_206D_202B_200F_206F_202E(EqualityContract, other.EqualityContract)) ? 704266452 : 704266454); + break; + case 4: + return EqualityComparer>.Default.Equals(Predicate, other.Predicate); + case 3: + num = 704266455; + break; + case 2: + return false; + case 7: + num = ((!EqualityComparer.Default.Equals(Details, other.Details)) ? 704266452 : 704266450); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(DisplayName, other.DisplayName)) ? 704266452 : 704266449); + break; + case 5: + return true; + case 1: + num = (((object)other == null) ? 704266452 : 704266448); + break; + } + } + } + + bool IEquatable.Equals(PluginDetailInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200B_206F_206F_206F_206C_202C_200E_202D_202E_202C_206B_202A_200E_202D_206E_202C_200C_200E_200D_200B_206E_202B_200F_200F_206F_206A_206E_206D_202E_202A_206C_206D_202B_202C_200B_206E_200E_206D_206A_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202D_206B_200F_200C_206C_202A_200D_200E_202D_206B_202B_200F_202B_200F_200D_202C_206D_200B_206F_206F_200F_206F_206B_206F_206E_200E_206A_206C_206C_200F_206A_202A_206B_200D_206E_206B_200D_206E_200F_202D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200B_202A_202E_202D_206A_202C_202A_200E_206D_206E_206D_206C_200C_202C_200C_202B_202C_206B_202A_206D_206C_202B_202D_202D_200D_202A_202E_206F_202A_200E_202C_202D_206D_206B_206A_200D_200C_206B_206B_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202B_206C_202E_200D_200B_200F_202C_200C_200E_200C_200D_206B_202A_206B_202E_200D_200F_206E_200D_206D_200D_206E_206A_206C_202A_206F_200C_206E_200D_200B_206E_200B_206D_206D_206F_206B_206E_202C_200B_202A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_202B_206F_206C_202C_206E_202E_200F_206A_206D_200E_206F_202A_202C_200F_206A_200B_200F_202C_200F_206B_200C_202A_202C_200C_200B_202E_200C_206E_202D_200D_200F_200D_202D_206F_202A_200E_202D_202D_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202D_206D_206B_206D_202D_206C_200D_206C_202E_202B_206A_206F_206D_206C_206A_202D_202A_202D_206C_206A_206B_200F_200C_200F_202D_202D_206F_206A_200D_206C_206E_206C_206D_202B_202D_200D_206B_206F_206C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202E_206A_200C_206D_200F_202A_206C_200B_202D_206F_200D_200C_206C_200F_206D_200B_206B_202D_200C_202E_202B_206F_202C_202D_202B_202D_206B_206F_200B_206F_206B_200E_200C_200F_202A_206A_206D_206E_200B_202B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206E_206F_202B_206F_206B_200D_202A_202B_200D_202A_200C_200B_202B_200D_202B_200C_206A_200E_206E_202A_202B_200F_202B_202A_202E_202B_200F_202D_206F_206F_200D_202D_200D_200D_202C_200E_206D_202B_200F_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__16_0; + + public static Func _003C_003E9__19_1; + + public static Func _003C_003E9__25_0; + + public static Func _003C_003E9__35_1; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003CIsWigglyNavInstalled_003Eb__16_0(IExposedPlugin x) + { + return _206B_206F_202D_200D_206B_202D_206B_206D_202A_200C_200E_206A_200B_200D_202B_200E_202E_206F_206F_202C_202D_206D_200D_200B_202E_200B_200E_206C_200B_200B_206B_206F_200F_200C_202D_200E_206D_206C_200E_200F_202E(_200B_200B_206C_206D_202A_206E_202C_202E_200E_206D_200E_202E_200D_202B_200B_206E_202B_200E_206D_206E_202A_206F_202C_202D_200C_200D_200D_200C_200F_200C_202C_206C_206F_202D_202E_206C_206D_200D_200E_202C_202E(x), global::_003CModule_003E._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(-1828301953)); + } + + internal string _003CDetectIpcConflicts_003Eb__19_1(PluginProvider p) + { + return p.DisplayName; + } + + internal bool _003CDrawRequirementExtras_003Eb__25_0(PluginDetailInfo d) + { + return !d.Predicate(); + } + + internal bool _003C_002Ecctor_003Eb__35_0(PluginRequirement g) + { + return g.Providers.Select((PluginProvider p) => p.InternalName).Distinct().Count() > 1; + } + + internal string _003C_002Ecctor_003Eb__35_1(PluginProvider p) + { + return p.InternalName; + } + + static string _200B_200B_206C_206D_202A_206E_202C_202E_200E_206D_200E_202E_200D_202B_200B_206E_202B_200E_206D_206E_202A_206F_202C_202D_200C_200D_200D_200C_200F_200C_202C_206C_206F_202D_202E_206C_206D_200D_200E_202C_202E(IExposedPlugin P_0) + { + return P_0.InternalName; + } + + static bool _206B_206F_202D_200D_206B_202D_206B_206D_202A_200C_200E_206A_200B_200D_202B_200E_202E_206F_206F_202C_202D_206D_200D_200B_202E_200B_200E_206C_200B_200B_206B_206F_200F_200C_202D_200E_206D_206C_200E_200F_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass17_0 + { + public PluginProvider provider; + + internal bool _003CFindProvider_003Eb__0(IExposedPlugin x) + { + return _206D_206A_200F_202E_206E_206D_202B_200D_206D_200D_202E_200D_202E_200D_206A_200C_206A_200D_202D_206A_206B_202B_200F_200C_202D_206A_200E_200F_206E_206D_202E_202D_202C_202C_206C_206E_206B_200C_206D_206C_202E(_200D_202A_206B_206F_200D_200D_206F_206F_206B_200F_202A_206E_200E_206C_206F_206C_200F_206C_202C_206E_202B_200B_200E_206E_206B_206B_202B_206F_200B_206C_200B_206C_206C_200E_200C_202E_200B_200C_206C_202E(x), provider.InternalName); + } + + static string _200D_202A_206B_206F_200D_200D_206F_206F_206B_200F_202A_206E_200E_206C_206F_206C_200F_206C_202C_206E_202B_200B_200E_206E_206B_206B_202B_206F_200B_206C_200B_206C_206C_200E_200C_202E_200B_200C_206C_202E(IExposedPlugin P_0) + { + return P_0.InternalName; + } + + static bool _206D_206A_200F_202E_206E_206D_202B_200D_206D_200D_202E_200D_202E_200D_206A_200C_206A_200D_202D_206A_206B_202B_200F_200C_202D_206A_200E_200F_206E_206D_202E_202D_202C_202C_206C_206E_206B_200C_206D_206C_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + } + + private const string WigglyNavInternalName = "WigglyNav"; + + private static readonly IReadOnlyList RequiredPlugins = new global::_003C_003Ez__ReadOnlySingleElementList(new PluginRequirement(global::_003CModule_003E._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(-2126151179), global::_003CModule_003E._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(1867946866), new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider(global::_003CModule_003E._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(1911109856), global::_003CModule_003E._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(206151933), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-1266471292)), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-2081357902)), new global::_003C_003Ez__ReadOnlyArray(new Uri[3] + { + _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(1167214966)), + _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(298695425)), + _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(1869783894)) + }))))); + + 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(global::_003CModule_003E._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(1295043937), string.Empty, new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider(global::_003CModule_003E._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(281533512), global::_003CModule_003E._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(281533512), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(1906606559)), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(662598880))))) }, { - 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(global::_003CModule_003E._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(-1161359100), string.Empty, new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider(global::_003CModule_003E._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(-1161359100), global::_003CModule_003E._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(1385994134), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-667911163)), 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(global::_003CModule_003E._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(-1024141751), string.Empty, new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider(global::_003CModule_003E._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(400780601), global::_003CModule_003E._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(400780601), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(1876532187)), null))) } }.AsReadOnly(); - private readonly IReadOnlyList _recommendedPlugins; + private static readonly ReadOnlyDictionary CombatPlugins = new Dictionary + { + { + Questionable.Configuration.ECombatModule.BossMod, + new PluginRequirement(global::_003CModule_003E._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(-482524518), string.Empty, new global::_003C_003Ez__ReadOnlyArray(new PluginProvider[2] + { + new PluginProvider(global::_003CModule_003E._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(-482524518), global::_003CModule_003E._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(650557213), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(1518653891)), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(662598880))), + new PluginProvider(global::_003CModule_003E._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(-2108181002), global::_003CModule_003E._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(203874627), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-1646384355)), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-1536677423))) + })) + }, + { + Questionable.Configuration.ECombatModule.RotationSolverReborn, + new PluginRequirement(global::_003CModule_003E._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(-1544788976), string.Empty, new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider(global::_003CModule_003E._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(465473234), global::_003CModule_003E._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(1992835172), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-187382835)), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-1536677423))))) + }, + { + Questionable.Configuration.ECombatModule.WrathCombo, + new PluginRequirement(global::_003CModule_003E._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(2115595372), string.Empty, new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider(global::_003CModule_003E._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(2115595372), global::_003CModule_003E._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(185841736), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-352805072)), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-603623577)), new global::_003C_003Ez__ReadOnlySingleElementList(_206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(342901462)))))) + } + }.AsReadOnly(); + + private readonly IReadOnlyList _recommendedPlugins; private readonly Configuration _configuration; @@ -56,7 +640,16 @@ 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(); + + [MethodImpl(MethodImplOptions.NoInlining)] + public PluginConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, CombatController combatController, UiUtils uiUtils, ICommandManager commandManager, PluginInstaller installer, WigglyNavAvailability wigglyNavAvailability) : base(pluginInterface, configuration) { _configuration = configuration; @@ -64,185 +657,2305 @@ 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(global::_003CModule_003E._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(2126863120), global::_003CModule_003E._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(601551502), new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider(global::_003CModule_003E._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(-650563733), global::_003CModule_003E._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(2126863120), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-1492895404)), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-864989238)), new global::_003C_003Ez__ReadOnlySingleElementList(_206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(1195205762)))))), + new PluginRequirement(global::_003CModule_003E._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(-1920887579), global::_003CModule_003E._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(1351416667), new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider(global::_003CModule_003E._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(-448079343), global::_003CModule_003E._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(738617192), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-1537134691)), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(1378351879)))), null, null, (global::_003CModule_003E._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(-1868722484), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(584426194)))), + new PluginRequirement(global::_003CModule_003E._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(-1791927627), global::_003CModule_003E._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(837994430), new global::_003C_003Ez__ReadOnlySingleElementList(new PluginProvider(global::_003CModule_003E._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(-1791927627), global::_003CModule_003E._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(-1606149705), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(1945842408)), _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(-581699999)), new global::_003C_003Ez__ReadOnlySingleElementList(_206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(global::_003CModule_003E._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(342901462)))))) }); } + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Dependencies###Plugins"); - if (!(!tabItemDisposable)) + int num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Hammer, global::_003CModule_003E._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(1442225123))) ? 625860852 : 625860853); + while (true) { - Draw(out var allRequiredInstalled); - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - if (allRequiredInstalled) + int num2 = num; + int num3 = 625860852; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - ImGui.TextColored(ImGuiColors.ParsedGreen, "All required plugins are installed."); + case 0: + { + _202B_206D_206D_202C_200F_200E_200B_202D_200C_206A_206C_202A_206F_202C_206B_200C_202A_202E_200B_202C_200C_200E_206A_206A_202C_202D_200F_206D_206D_200F_206F_202C_200F_200F_206F_202B_202C_206B_202A_200F_202E(); + DrawSections(useCards: true, out var _); + return; } - else - { - ImGui.TextColored(ImGuiColors.DalamudRed, "Required plugins are missing, Questionable will not work properly."); + case 1: + _200F_206F_200D_206E_202A_206F_206D_206B_202C_202B_200D_206C_206C_200C_202A_206A_206C_206F_200B_202E_200B_202C_200C_206C_206C_206F_206A_200E_206C_200B_200D_206D_206A_206A_206E_202E_202C_202B_206D_202B_202E(_commandManager, global::_003CModule_003E._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(-262766157)); + num = 625860852; + break; + case 2: + num = 625860853; + break; } } } public void Draw(out bool allRequiredInstalled) { + DrawSections(useCards: false, out allRequiredInstalled); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawSections(bool useCards, out bool allRequiredInstalled) + { + IDisposable disposable = _202B_200F_200B_200E_206F_200D_202D_206C_202A_202D_202E_202D_206D_206E_206A_200D_200C_200F_206A_200D_200C_202A_206A_202A_202E_200C_206F_200B_206A_200D_202B_202C_202E_202A_206C_202A_202C_202C_202C_206E_202E(_202D_202D_202E_200B_200C_200B_206D_202C_200D_206C_206A_202B_200E_206F_206B_200C_206A_206A_206D_202E_202D_200E_202A_200D_200E_202D_202E_206F_202B_200E_202E_200E_206A_202A_206D_206E_206A_206D_206E_202E_202E(_202C_202B_200D_202D_202B_202B_206F_200C_202C_200F_200F_200B_206A_206F_206F_202C_206C_202E_206C_206B_200E_200F_206C_200D_206B_206D_200D_202A_200D_206E_202D_206B_202E_206E_202B_200E_206C_200D_200C_206C_202E(_pluginInterface))); float checklistPadding; - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + int num; + try { - checklistPadding = ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X + ImGui.GetStyle().ItemSpacing.X; + checklistPadding = _200D_206F_206D_206A_202E_200E_202E_202C_200F_202C_206E_206C_202C_202B_200E_202C_200B_202B_206D_202B_202A_206A_206D_200B_202B_206F_206D_206C_200D_202C_200B_202C_206C_206C_202B_200B_202C_202C_202C_200F_202E((ImU8String)_206A_202B_202C_200D_206D_206B_200F_206C_206E_200C_200E_200F_206E_206D_200D_202C_202C_206F_206C_200C_206C_202B_202A_206F_200D_206B_202A_200C_206B_200E_200C_200E_200B_202A_206F_206A_206B_202E_200D_206A_202E(FontAwesomeIcon.Check), false, -1f).X + _206A_206C_200E_200D_202D_202E_202C_200B_206E_200B_200B_206F_200D_202E_200B_200E_200C_202E_206D_200D_200C_206C_200C_202C_200E_200D_206F_202D_202E_206A_206B_206E_206F_200B_202A_200C_202B_202C_200F_206B_202E().ItemSpacing.X; } - ImGui.Text("Questionable requires the following plugins to work:"); - allRequiredInstalled = true; - using (ImRaii.PushIndent()) + finally { - foreach (PluginInfo requiredPlugin in RequiredPlugins) + num = ((disposable == null) ? (-778211204) : (-778211201)); + while (true) { - allRequiredInstalled &= DrawPlugin(requiredPlugin, checklistPadding); - } - } - 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()) - { - using (ImRaii.Disabled(_combatController.IsRunning)) - { - if (ImGui.RadioButton("No rotation/combat plugin (combat must be done manually)", _configuration.General.CombatModule == Questionable.Configuration.ECombatModule.None)) + int num2 = num; + int num3 = -778211203; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - _configuration.General.CombatModule = Questionable.Configuration.ECombatModule.None; - _pluginInterface.SavePluginConfig(_configuration); + case 0: + num = -778211201; + break; + case 2: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E(disposable); + num = -778211204; + break; + case 1: + goto end_IL_0074; } - allRequiredInstalled &= DrawCombatPlugin(Questionable.Configuration.ECombatModule.BossMod, checklistPadding); - allRequiredInstalled &= DrawCombatPlugin(Questionable.Configuration.ECombatModule.RotationSolverReborn, checklistPadding); - allRequiredInstalled &= DrawCombatPlugin(Questionable.Configuration.ECombatModule.WrathCombo, checklistPadding); + continue; + end_IL_0074: + break; } } - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - ImGui.Text("The following plugins are recommended, but not required:"); - using (ImRaii.PushIndent()) + allRequiredInstalled = true; + Header(global::_003CModule_003E._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(-581863990)); + num = (useCards ? (-632762949) : (-632762952)); + Vector2 contentStartPos3 = default(Vector2); + float availableWidth3 = default(float); + ImDrawListPtr drawList3 = default(ImDrawListPtr); + Vector2 contentStartPos2 = default(Vector2); + float availableWidth2 = default(float); + ImDrawListPtr drawList2 = default(ImDrawListPtr); + Vector2 contentStartPos = default(Vector2); + float availableWidth = default(float); + ImDrawListPtr drawList = default(ImDrawListPtr); + while (true) { - foreach (PluginInfo recommendedPlugin in _recommendedPlugins) + int num7 = num; + int num3 = -632762949; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) { - DrawPlugin(recommendedPlugin, checklistPadding); + case 2: + num = -632762952; + break; + case 0: + { + (Vector2, float, ImDrawListPtr) tuple = UiThemeUtils.BeginCard(); + contentStartPos3 = tuple.Item1; + availableWidth3 = tuple.Item2; + drawList3 = tuple.Item3; + num = -632762950; + break; } - } - } - - private bool DrawPlugin(PluginInfo plugin, float checklistPadding) - { - using (ImRaii.PushId("plugin_" + plugin.DisplayName)) - { - IExposedPlugin exposedPlugin = FindInstalledPlugin(plugin); - bool flag = exposedPlugin != null; - string text = plugin.DisplayName; - if (exposedPlugin != null) + case 3: + contentStartPos3 = default(Vector2); + availableWidth3 = 0f; + drawList3 = default(ImDrawListPtr); + num = -632762950; + break; + case 1: { - text += $" v{exposedPlugin.Version}"; - } - _uiUtils.ChecklistItem(text, flag); - DrawPluginDetails(plugin, checklistPadding, flag); - return flag; - } - } - - private bool DrawCombatPlugin(Configuration.ECombatModule combatModule, float checklistPadding) - { - ImGui.Spacing(); - PluginInfo pluginInfo = CombatPlugins[combatModule]; - using (ImRaii.PushId("plugin_" + pluginInfo.DisplayName)) - { - 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)) - { - _configuration.General.CombatModule = combatModule; - _pluginInterface.SavePluginConfig(_configuration); - } - ImGui.SameLine(0f); - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - 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) + IEnumerator enumerator = RequiredPlugins.GetEnumerator(); + try { - bool flag2 = item.Predicate(); - flag = flag && flag2; - _uiUtils.ChecklistItem(item.DisplayName, isInstalled && flag2); - if (!string.IsNullOrEmpty(item.Details)) + num = 1214490098; + while (true) { - using (ImRaii.PushIndent(checklistPadding)) + int num8 = num; + num3 = 1214490099; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) { - ImGui.TextUnformatted(item.Details); + case 0: + num = 1214490098; + break; + case 2: + { + PluginRequirement current = enumerator.Current; + allRequiredInstalled &= DrawRequirement(current, checklistPadding); + num = 1214490098; + break; } + case 1: + num = (_206F_202E_200C_202D_206F_206D_202D_202C_206D_200B_202D_202A_202D_202D_202C_200C_206B_206E_206C_200E_206D_206D_202E_206C_206D_206B_200F_200C_200E_206A_200F_202E_202C_200E_200E_206A_206E_200B_200B_202C_202E((IEnumerator)enumerator) ? 1214490097 : 1214490096); + break; + case 3: + goto end_IL_019d; + } + continue; + end_IL_019d: + break; + } + } + finally + { + num = ((enumerator == null) ? (-986240802) : (-986240801)); + while (true) + { + int num9 = num; + num3 = -986240802; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 2: + num = -986240801; + break; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)enumerator); + num = -986240802; + break; + case 0: + goto end_IL_0244; + } + continue; + end_IL_0244: + break; + } + } + allRequiredInstalled &= DrawNavigationSelection(checklistPadding); + num = ((!useCards) ? (-393044439) : (-393044438)); + while (true) + { + int num12 = num; + num3 = -393044440; + num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 4: + contentStartPos2 = default(Vector2); + availableWidth2 = 0f; + drawList2 = default(ImDrawListPtr); + num = -393044437; + break; + case 2: + UiThemeUtils.EndCard(contentStartPos3, availableWidth3, drawList3); + num = -393044439; + break; + case 5: + { + (Vector2, float, ImDrawListPtr) tuple = UiThemeUtils.BeginCard(); + contentStartPos2 = tuple.Item1; + availableWidth2 = tuple.Item2; + drawList2 = tuple.Item3; + num = -393044437; + break; + } + case 1: + Between(); + Header(global::_003CModule_003E._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(347553613)); + num = (useCards ? (-393044435) : (-393044436)); + break; + case 0: + num = -393044438; + break; + case 3: + { + ImRaii.DisabledDisposable disabledDisposable = _206C_202C_206D_206B_202B_206A_202D_202D_202B_206B_202C_202E_206C_206D_202A_206B_206E_202C_200E_202C_202D_200E_206B_202D_202E_206F_202C_206D_206E_206B_200C_202A_202A_206E_202A_200F_200F_200E_206A_200E_202E(_combatController.IsRunning); + try + { + num = ((!_206B_206F_200E_200B_202D_202D_206E_206B_202D_200F_206B_206A_206A_206E_202E_200B_206B_206B_206F_200F_200C_206C_200C_200B_202C_202B_206B_200F_206E_200B_206D_200D_202B_200C_200F_206A_200B_206B_202A_200E_202E((ImU8String)global::_003CModule_003E._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(-1532757094), _configuration.General.CombatModule == Questionable.Configuration.ECombatModule.None)) ? (-1771590171) : (-1771590170)); + while (true) + { + int num15 = num; + num3 = -1771590169; + num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1771590170; + break; + case 1: + _configuration.General.CombatModule = Questionable.Configuration.ECombatModule.None; + _206D_206D_206A_200F_202E_200B_202E_206C_206A_206E_206D_202C_202C_206C_202A_206D_202A_202B_206D_200C_200E_206B_202C_202C_200B_206B_202E_206B_206B_206B_202C_202B_200B_206F_200C_200D_206B_200F_202A_202C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num = -1771590171; + break; + case 2: + allRequiredInstalled &= DrawCombatPlugin(Questionable.Configuration.ECombatModule.BossMod, checklistPadding); + allRequiredInstalled &= DrawCombatPlugin(Questionable.Configuration.ECombatModule.RotationSolverReborn, checklistPadding); + allRequiredInstalled &= DrawCombatPlugin(Questionable.Configuration.ECombatModule.WrathCombo, checklistPadding); + goto end_IL_0400; + } + continue; + end_IL_0400: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? 1592385881 : 1592385880); + while (true) + { + int num16 = num; + num3 = 1592385881; + num4 = num16; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1592385880; + break; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)disabledDisposable); + num = 1592385881; + break; + case 0: + goto end_IL_04b1; + } + continue; + end_IL_04b1: + break; + } + } + num = ((!useCards) ? (-1596913669) : (-1596913672)); + while (true) + { + int num17 = num; + num3 = -1596913669; + num4 = num17; + int num18 = num4 + num3; + int num19 = num4 & num3; + switch (num18 - (num19 + num19)) + { + case 5: + num = -1596913672; + break; + case 0: + Between(); + Header(global::_003CModule_003E._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(991584144)); + num = (useCards ? (-1596913665) : (-1596913670)); + break; + case 1: + contentStartPos = default(Vector2); + availableWidth = 0f; + drawList = default(ImDrawListPtr); + num = -1596913671; + break; + case 3: + UiThemeUtils.EndCard(contentStartPos2, availableWidth2, drawList2); + num = -1596913669; + break; + case 4: + { + (Vector2, float, ImDrawListPtr) tuple = UiThemeUtils.BeginCard(); + contentStartPos = tuple.Item1; + availableWidth = tuple.Item2; + drawList = tuple.Item3; + num = -1596913671; + break; + } + case 2: + enumerator = _recommendedPlugins.GetEnumerator(); + try + { + num = 150201408; + while (true) + { + int num20 = num; + num3 = 150201409; + num4 = num20; + int num21 = num4 + num3; + int num22 = num4 & num3; + switch (num21 - (num22 + num22)) + { + case 3: + num = 150201408; + break; + case 1: + num = (_206F_202E_200C_202D_206F_206D_202D_202C_206D_200B_202D_202A_202D_202D_202C_200C_206B_206E_206C_200E_206D_206D_202E_206C_206D_206B_200F_200C_200E_206A_200F_202E_202C_200E_200E_206A_206E_200B_200B_202C_202E((IEnumerator)enumerator) ? 150201411 : 150201409); + break; + case 2: + { + PluginRequirement current2 = enumerator.Current; + DrawRequirement(current2, checklistPadding); + num = 150201408; + break; + } + case 0: + goto end_IL_0622; + } + continue; + end_IL_0622: + break; + } + } + finally + { + num = ((enumerator == null) ? (-54325925) : (-54325928)); + while (true) + { + int num23 = num; + num3 = -54325926; + num4 = num23; + int num24 = num4 + num3; + int num25 = num4 & num3; + switch (num24 - (num25 + num25)) + { + case 0: + num = -54325928; + break; + case 2: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)enumerator); + num = -54325925; + break; + case 1: + goto end_IL_06c7; + } + continue; + end_IL_06c7: + break; + } + } + num = ((!useCards) ? (-1546763573) : (-1546763570)); + while (true) + { + int num26 = num; + num3 = -1546763573; + num4 = num26; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + Status(global::_003CModule_003E._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(919027909), UiThemeUtils.StatusLocked, FontAwesomeIcon.ExclamationTriangle); + num = -1546763572; + break; + case 3: + Status(global::_003CModule_003E._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(-385107803), UiThemeUtils.StatusComplete, FontAwesomeIcon.CheckCircle); + num = -1546763572; + break; + case 5: + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + num = -1546763573; + break; + case 2: + num = -1546763570; + break; + case 0: + num = ((!useCards) ? (-1546763574) : (-1546763571)); + break; + case 1: + num = ((!allRequiredInstalled) ? (-1546763569) : (-1546763576)); + break; + case 6: + UiThemeUtils.SectionSpacing(); + num = -1546763574; + break; + case 7: + { + using List.Enumerator enumerator2 = DetectIpcConflicts().GetEnumerator(); + num = 2070589958; + while (true) + { + int num27 = num; + num3 = 2070589958; + num4 = num27; + int num28 = num4 + num3; + int num29 = num4 & num3; + switch (num28 - (num29 + num29)) + { + case 2: + num = 2070589958; + break; + case 3: + Status(enumerator2.Current, UiThemeUtils.StatusActive, FontAwesomeIcon.ExclamationTriangle); + num = 2070589958; + break; + case 0: + num = (enumerator2.MoveNext() ? 2070589957 : 2070589959); + break; + case 1: + return; + } + } + } + } + } + } + } + } } } } - ImGui.Spacing(); - if (isInstalled) + } + } + void Between() + { + int num30 = ((!useCards) ? 356309127 : 356309124); + while (true) { - if (!flag && plugin.ConfigCommand != null && plugin.ConfigCommand.StartsWith('/') && ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Cog, "Open configuration")) + int num31 = num30; + int num32 = 356309126; + int num33 = num31; + switch ((num33 | num32) - (num33 & num32)) { - _commandManager.ProcessCommand(plugin.ConfigCommand); + case 1: + _202B_206D_206D_202C_200F_200E_200B_202D_200C_206A_206C_202A_206F_202C_206B_200C_202A_202E_200B_202C_200C_200E_206A_206A_202C_202D_200F_206D_206D_200F_206F_202C_200F_200F_206F_202B_202C_206B_202A_200F_202E(); + _206D_206B_206A_202D_200E_202E_206D_200E_200E_200D_206B_206D_206C_206A_200D_206B_206D_206F_206F_200B_200F_206A_200F_202E_202C_206B_200C_206A_206B_200F_202D_200E_206F_202E_202A_202D_202E_200D_202A_202C_202E(); + _202B_206D_206D_202C_200F_200E_200B_202D_200C_206A_206C_202A_206F_202C_206B_200C_202A_202E_200B_202C_200C_200E_206A_206A_202C_202D_200F_206D_206D_200F_206F_202C_200F_200F_206F_202B_202C_206B_202A_200F_202E(); + return; + case 2: + UiThemeUtils.SectionSpacing(); + return; + case 0: + goto IL_005c; } - return; + continue; + IL_005c: + num30 = 356309124; } - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Globe, "Open Website")) + } + void Header(string title) + { + int num30 = ((!useCards) ? 937347689 : 937347688); + while (true) { - Util.OpenLink(plugin.WebsiteUri.ToString()); - } - ImGui.SameLine(); - if (plugin.DalamudRepositoryUri != null) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Code, "Open Repository")) + int num31 = num30; + int num32 = 937347689; + int num33 = num31; + switch ((num33 | num32) - (num33 & num32)) { - Util.OpenLink(plugin.DalamudRepositoryUri.ToString()); + case 2: + goto IL_0046; + case 0: + _206F_206D_206A_202E_200F_200F_206F_206D_200C_200F_206E_202C_202D_200F_200D_200F_200B_206C_206B_202B_200F_200C_206F_202A_206B_206F_202D_200D_202B_206F_202E_206E_202A_202C_202D_206F_206F_200B_202C_200E_202E((ImU8String)title); + _202B_206D_206D_202C_200F_200E_200B_202D_200C_206A_206C_202A_206F_202C_206B_200C_202A_202E_200B_202C_200C_200E_206A_206A_202C_202D_200F_206D_206D_200F_206F_202C_200F_200F_206F_202B_202C_206B_202A_200F_202E(); + return; + case 1: + UiThemeUtils.SectionHeader(title); + return; + } + continue; + IL_0046: + num30 = 937347688; + } + } + void Status(string text, Vector4 color, FontAwesomeIcon icon) + { + int num30 = ((!useCards) ? (-2098713833) : (-2098713834)); + while (true) + { + int num31 = num30; + int num32 = -2098713833; + int num33 = num31; + switch ((num33 | num32) - (num33 & num32)) + { + case 2: + goto IL_0046; + case 0: + _202B_206D_206D_202C_200F_200E_200B_202D_200C_206A_206C_202A_206F_202C_206B_200C_202A_202E_200B_202C_200C_200E_206A_206A_202C_202D_200F_206D_206D_200F_206F_202C_200F_200F_206F_202B_202C_206B_202A_200F_202E(); + UiThemeUtils.StatusBadge(text, color, icon); + return; + case 1: + UiThemeUtils.StatusBanner(text, color, icon); + return; + } + continue; + IL_0046: + num30 = -2098713834; + } + } + } + + private bool IsWigglyNavInstalled() + { + return _200B_200F_202C_200B_206D_206F_202A_202E_202E_202A_202A_202C_200C_206F_202B_200F_206E_206B_200B_200D_200F_200D_206D_206E_202C_202E_206F_200F_200D_206E_206C_202C_206A_202D_206F_206D_200E_206F_206D_202A_202E(_pluginInterface).Any([MethodImpl(MethodImplOptions.NoInlining)] (IExposedPlugin x) => _003C_003Ec._206B_206F_202D_200D_206B_202D_206B_206D_202A_200C_200E_206A_200B_200D_202B_200E_202E_206F_206F_202C_202D_206D_200D_200B_202E_200B_200E_206C_200B_200B_206B_206F_200F_200C_202D_200E_206D_206C_200E_200F_202E(_003C_003Ec._200B_200B_206C_206D_202A_206E_202C_202E_200E_206D_200E_202E_200D_202B_200B_206E_202B_200E_206D_206E_202A_206F_202C_202D_200C_200D_200D_200C_200F_200C_202C_206C_206F_202D_202E_206C_206D_200D_200E_202C_202E(x), global::_003CModule_003E._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(-1828301953))); + } + + private IExposedPlugin? FindProvider(PluginProvider provider) + { + return _200B_200F_202C_200B_206D_206F_202A_202E_202E_202A_202A_202C_200C_206F_202B_200F_206E_206B_200B_200D_200F_200D_206D_206E_202C_202E_206F_200F_200D_206E_206C_202C_206A_202D_206F_206D_200E_206F_206D_202A_202E(_pluginInterface).FirstOrDefault((IExposedPlugin x) => _003C_003Ec__DisplayClass17_0._206D_206A_200F_202E_206E_206D_202B_200D_206D_200D_202E_200D_202E_200D_206A_200C_206A_200D_202D_206A_206B_202B_200F_200C_202D_206A_200E_200F_206E_206D_202E_202D_202C_202C_206C_206E_206B_200C_206D_206C_202E(_003C_003Ec__DisplayClass17_0._200D_202A_206B_206F_200D_200D_206F_206F_206B_200F_202A_206E_200E_206C_206F_206C_200F_206C_202C_206E_202B_200B_200E_206E_206B_206B_202B_206F_200B_206C_200B_206C_206C_200E_200C_202E_200B_200C_206C_202E(x), provider.InternalName)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private List DetectIpcConflicts() + { + List list = new List(); + IEnumerator enumerator = ConflictEligibleGroups.GetEnumerator(); + try + { + int num = -1006735350; + List list2 = default(List); + while (true) + { + int num2 = num; + int num3 = -1006735350; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = (_206F_202E_200C_202D_206F_206D_202D_202C_206D_200B_202D_202A_202D_202D_202C_200C_206B_206E_206C_200E_206D_206D_202E_206C_206D_206B_200F_200C_200E_206A_200F_202E_202C_200E_200E_206A_206E_200B_200B_202C_202E((IEnumerator)enumerator) ? (-1006735349) : (-1006735352)); + break; + case 1: + list2 = (from p in enumerator.Current.Providers.Where(delegate(PluginProvider p) + { + IExposedPlugin exposedPlugin = FindProvider(p); + int num8 = ((exposedPlugin == null) ? (-1051625553) : (-1051625556)); + while (true) + { + int num9 = num8; + int num10 = -1051625555; + int num11 = num9; + int num12 = num11 + num10; + int num13 = num11 & num10; + switch (num12 - (num13 + num13)) + { + case 0: + goto IL_004b; + case 1: + return _206B_200E_202B_200C_206B_202C_206F_206B_202A_202D_202A_202D_202C_206D_200B_200B_200E_206A_206A_206C_202E_202B_200B_206B_200E_202C_200C_202E_202A_202E_200E_202D_202E_206F_202E_206B_202C_200C_206F_206F_202E(exposedPlugin); + case 2: + return false; + } + continue; + IL_004b: + num8 = -1051625556; + } + }) + select p.DisplayName).ToList(); + num = ((list2.Count <= 1) ? (-1006735350) : (-1006735351)); + break; + case 3: + list.Add(_202E_200E_202E_206E_202D_200B_202B_200B_200E_200E_200C_206A_202E_206E_206F_202C_206F_206C_202C_200B_200B_202E_200B_206F_200F_206E_202E_202D_206D_200C_206A_202D_206E_206C_200B_200B_206F_200D_202B_202A_202E(_200D_202D_200E_202E_202E_206F_206C_206B_202C_200D_202E_202E_202A_202A_200B_200C_200B_206A_206E_200F_206D_200D_200D_200C_200E_206D_202E_206C_200F_202E_206D_200F_202E_200E_206E_202B_206C_206A_206B_206E_202E(global::_003CModule_003E._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(-566909963), (IEnumerable)list2), global::_003CModule_003E._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(-1222712651))); + num = -1006735350; + break; + case 4: + num = -1006735350; + break; + case 2: + return list; + } + } + } + finally + { + int num = ((enumerator == null) ? (-1090896135) : (-1090896134)); + while (true) + { + int num7 = num; + int num3 = -1090896136; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_0139; + case 2: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)enumerator); + num = -1090896135; + break; + case 0: + num = -1090896134; + break; + } + continue; + end_IL_0139: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool DrawRequirement(PluginRequirement requirement, float checklistPadding) + { + bool flag = false; + ImRaii.IdDisposable idDisposable = _206C_200C_200B_200D_202A_202B_202C_200B_202E_202E_206F_202A_202B_200E_202A_200F_206B_206F_206E_200E_206B_206A_206E_202C_202E_206E_200C_200D_202A_200B_206F_202A_200B_202C_200B_202B_206E_202C_206C_202B_202E((ImU8String)_202E_200E_202E_206E_202D_200B_202B_200B_200E_200E_200C_206A_202E_206E_206F_202C_206F_206C_202C_200B_200B_202E_200B_206F_200F_206E_202E_202D_206D_200C_206A_202D_206E_206C_200B_200B_206F_200D_202B_202A_202E(global::_003CModule_003E._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(-1635601727), requirement.GroupName), true); + try + { + if (requirement.Providers.Count > 1) + { + _202D_202A_206D_206B_200B_200F_200E_200B_200B_206B_200F_202A_200F_206D_200C_200F_206C_200E_202D_202D_200D_206E_202A_206C_200C_202E_200B_206C_206F_206E_202E_202E_206E_206D_206E_200B_206E_200F_206F_200E_202E((ImU8String)requirement.GroupName); + ImRaii.IndentDisposable indentDisposable = _200B_200C_200D_200F_202E_200F_206D_206E_200D_202C_200B_206D_202B_200F_200E_206E_202A_200D_200D_200D_200C_200F_206B_200B_200C_202A_202E_206E_206D_200F_202C_200C_206C_200F_200C_206C_206A_206B_206B_206D_202E(checklistPadding, true, true); + try + { + int num = (_202A_206C_206D_202D_206B_202E_206E_200D_206E_202B_200F_200C_202D_202C_202B_202A_200E_206F_206D_200B_206B_202D_202A_206E_200E_202B_200F_202B_206C_202E_200B_202C_206F_206C_200D_200E_206B_200B_200E_200D_202E(requirement.Description) ? (-1189463) : (-1189462)); + while (true) + { + int num2 = num; + int num3 = -1189461; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1189462; + break; + case 1: + _200F_202E_200C_202C_200B_206A_206F_200C_206D_202B_202D_206E_206A_200E_206B_206B_206C_206A_202C_202A_202D_206E_206E_202D_200F_206D_202A_200B_200F_206B_206B_200F_202D_206D_200C_206B_206B_200E_200C_206E_202E(0f); + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref UiThemeUtils.DimTextColor, (ImU8String)requirement.Description); + _200B_202B_202B_206F_202D_202D_206D_200F_206A_206E_202E_206E_202C_202C_202C_206F_206A_200B_202A_202B_206E_206E_200D_200C_200C_202A_206B_206D_200B_206A_200C_200E_200D_200E_200F_206E_206D_202A_202D_202A_202E(); + num = -1189463; + break; + case 2: + { + IEnumerator enumerator = requirement.Providers.GetEnumerator(); + try + { + num = 979882847; + while (true) + { + int num5 = num; + num3 = 979882845; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = 979882847; + break; + case 2: + num = (_206F_202E_200C_202D_206F_206D_202D_202C_206D_200B_202D_202A_202D_202D_202C_200C_206B_206E_206C_200E_206D_206D_202E_206C_206D_206B_200F_200C_200E_206A_200F_202E_202C_200E_200E_206A_206E_200B_200B_202C_202E((IEnumerator)enumerator) ? 979882846 : 979882844); + break; + case 3: + { + PluginProvider current = enumerator.Current; + flag |= DrawProvider(current, checklistPadding); + num = 979882847; + break; + } + case 1: + goto end_IL_00f7; + } + continue; + end_IL_00f7: + break; + } + } + finally + { + num = ((enumerator == null) ? (-1773998403) : (-1773998402)); + while (true) + { + int num8 = num; + num3 = -1773998404; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1773998402; + break; + case 2: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)enumerator); + num = -1773998403; + break; + case 1: + goto end_IL_019b; + } + continue; + end_IL_019b: + break; + } + } + DrawRequirementExtras(requirement, checklistPadding, flag); + goto end_IL_0077; + } + } + continue; + end_IL_0077: + break; + } + } + finally + { + int num = ((indentDisposable == null) ? 582692765 : 582692766); + while (true) + { + int num9 = num; + int num3 = 582692764; + int num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 1: + goto end_IL_0212; + case 2: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)indentDisposable); + num = 582692765; + break; + case 0: + num = 582692766; + break; + } + continue; + end_IL_0212: + break; + } } } else { - ImGui.AlignTextToFramePadding(); - ImGuiComponents.HelpMarker("Available on official Dalamud Repository"); + PluginProvider pluginProvider = requirement.Providers[0]; + IExposedPlugin exposedPlugin = FindProvider(pluginProvider); + int num = ((exposedPlugin == null) ? 961917508 : 961917504); + bool isDisabled = default(bool); + bool flag2 = default(bool); + while (true) + { + int num12 = num; + int num3 = 961917508; + int num4 = num12; + int num14; + int num13; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + num14 = 0; + goto IL_02d3; + case 4: + num14 = (_206B_200E_202B_200C_206B_202C_206F_206B_202A_202D_202A_202D_202C_206D_200B_200B_200E_206A_206A_206C_202E_202B_200B_206B_200E_202C_200C_202E_202A_202E_200E_202D_202E_206F_202E_206B_202C_200C_206F_206F_202E(exposedPlugin) ? 1 : 0); + goto IL_02d3; + case 6: + num13 = 0; + goto IL_030d; + case 2: + num = 961917504; + continue; + case 1: + { + _206F_202A_202D_202E_202B_200C_202D_206B_202D_206E_200C_200E_200F_206C_206F_202C_200F_200B_202A_206B_206A_202D_206C_200B_200E_206A_202A_202E_202C_200B_206C_206A_202C_202E_202E_202A_200B_206A_206F_200E_202E(); + ImU8String imU8String = new ImU8String(1, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1813717021)); + imU8String.AppendFormatted(_202C_202B_200C_206B_202C_200C_202D_200D_206B_202E_206D_200C_206D_206B_200F_202C_206B_206A_200E_202B_206C_200B_200F_200E_206C_200C_200F_206A_200F_206B_202C_200E_206C_202D_200E_200E_206C_202B_200B_206E_202E(exposedPlugin)); + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref UiThemeUtils.DimTextColor, imU8String); + num = 961917511; + continue; + } + case 5: + num13 = ((!_206B_200E_202B_200C_206B_202C_206F_206B_202A_202D_202A_202D_202C_206D_200B_200B_200E_206A_206A_206C_202E_202B_200B_206B_200E_202C_200C_202E_202A_202E_200E_202D_202E_206F_202E_206B_202C_200C_206F_206F_202E(exposedPlugin)) ? 1 : 0); + goto IL_030d; + case 3: + break; + IL_030d: + isDisabled = (byte)num13 != 0; + flag = flag2; + _uiUtils.ChecklistItem(pluginProvider.DisplayName, flag2); + num = ((exposedPlugin == null) ? 961917511 : 961917509); + continue; + IL_02d3: + flag2 = (byte)num14 != 0; + num = ((exposedPlugin == null) ? 961917506 : 961917505); + continue; + } + break; + } + ImRaii.IndentDisposable indentDisposable = _200B_200C_200D_200F_202E_200F_206D_206E_200D_202C_200B_206D_202B_200F_200E_206E_202A_200D_200D_200D_200C_200F_206B_200B_200C_202A_202E_206E_206D_200F_202C_200C_206C_200F_200C_206C_206A_206B_206B_206D_202E(checklistPadding, true, true); + try + { + num = (_202A_206C_206D_202D_206B_202E_206E_200D_206E_202B_200F_200C_202D_202C_202B_202A_200E_206F_206D_200B_206B_202D_202A_206E_200E_202B_200F_202B_206C_202E_200B_202C_206F_206C_200D_200E_206B_200B_200E_200D_202E(requirement.Description) ? 1089901797 : 1089901796); + while (true) + { + int num15 = num; + int num3 = 1089901797; + int num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 2: + num = 1089901796; + break; + case 1: + _200F_202E_200C_202C_200B_206A_206F_200C_206D_202B_202D_206E_206A_200E_206B_206B_206C_206A_202C_202A_202D_206E_206E_202D_200F_206D_202A_200B_200F_206B_206B_200F_202D_206D_200C_206B_206B_200E_200C_206E_202E(0f); + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref UiThemeUtils.DimTextColor, (ImU8String)requirement.Description); + _200B_202B_202B_206F_202D_202D_206D_200F_206A_206E_202E_206E_202C_202C_202C_206F_206A_200B_202A_202B_206E_206E_200D_200C_200C_202A_206B_206D_200B_206A_200C_200E_200D_200E_200F_206E_206D_202A_202D_202A_202E(); + num = 1089901797; + break; + case 0: + DrawRequirementExtras(requirement, checklistPadding, flag2); + DrawProviderActions(pluginProvider, exposedPlugin, flag2, isDisabled); + goto end_IL_03ed; + } + continue; + end_IL_03ed: + break; + } + } + finally + { + num = ((indentDisposable == null) ? 1392021490 : 1392021491); + while (true) + { + int num18 = num; + int num3 = 1392021490; + int num4 = num18; + int num19 = num4 + num3; + int num20 = num4 & num3; + switch (num19 - (num20 + num20)) + { + case 0: + goto end_IL_0492; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)indentDisposable); + num = 1392021490; + break; + case 2: + num = 1392021491; + break; + } + continue; + end_IL_0492: + break; + } + } + } + _202B_206D_206D_202C_200F_200E_200B_202D_200C_206A_206C_202A_206F_202C_206B_200C_202A_202E_200B_202C_200C_200E_206A_206A_202C_202D_200F_206D_206D_200F_206F_202C_200F_200F_206F_202B_202C_206B_202A_200F_202E(); + return flag; + } + finally + { + int num = ((idDisposable == null) ? 11622408 : 11622411); + while (true) + { + int num21 = num; + int num3 = 11622410; + int num4 = num21; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 11622411; + break; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)idDisposable); + num = 11622408; + break; + case 2: + goto end_IL_0507; + } + continue; + end_IL_0507: + break; } } } - private IExposedPlugin? FindInstalledPlugin(PluginInfo pluginInfo) + [MethodImpl(MethodImplOptions.NoInlining)] + private bool DrawProvider(PluginProvider provider, float checklistPadding) { - return _pluginInterface.InstalledPlugins.FirstOrDefault((IExposedPlugin x) => x.InternalName == pluginInfo.InternalName && x.IsLoaded); + ImRaii.IdDisposable idDisposable = _206C_200C_200B_200D_202A_202B_202C_200B_202E_202E_206F_202A_202B_200E_202A_200F_206B_206F_206E_200E_206B_206A_206E_202C_202E_206E_200C_200D_202A_200B_206F_202A_200B_202C_200B_202B_206E_202C_206C_202B_202E((ImU8String)_202E_200E_202E_206E_202D_200B_202B_200B_200E_200E_200C_206A_202E_206E_206F_202C_206F_206C_202C_200B_200B_202E_200B_206F_200F_206E_202E_202D_206D_200C_206A_202D_206E_206C_200B_200B_206F_200D_202B_202A_202E(global::_003CModule_003E._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(-956198908), provider.DisplayName), true); + try + { + IExposedPlugin exposedPlugin = FindProvider(provider); + int num = ((exposedPlugin == null) ? (-542460311) : (-542460312)); + bool flag = default(bool); + bool isDisabled = default(bool); + while (true) + { + int num2 = num; + int num3 = -542460311; + int num4 = num2; + int num6; + int num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + { + _206F_202A_202D_202E_202B_200C_202D_206B_202D_206E_200C_200E_200F_206C_206F_202C_200F_200B_202A_206B_206A_202D_206C_200B_200E_206A_202A_202E_202C_200B_206C_206A_202C_202E_202E_202A_200B_206A_206F_200E_202E(); + ImU8String imU8String = new ImU8String(1, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1827973971)); + imU8String.AppendFormatted(_202C_202B_200C_206B_202C_200C_202D_200D_206B_202E_206D_200C_206D_206B_200F_202C_206B_206A_200E_202B_206C_200B_200F_200E_206C_200C_200F_206A_200F_206B_202C_200E_206C_202D_200E_200E_206C_202B_200B_206E_202E(exposedPlugin)); + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref UiThemeUtils.DimTextColor, imU8String); + num = -542460309; + break; + } + case 1: + num6 = (_206B_200E_202B_200C_206B_202C_206F_206B_202A_202D_202A_202D_202C_206D_200B_200B_200E_206A_206A_206C_202E_202B_200B_206B_200E_202C_200C_202E_202A_202E_200E_202D_202E_206F_202E_206B_202C_200C_206F_206F_202E(exposedPlugin) ? 1 : 0); + goto IL_0142; + case 3: + num7 = ((!_206B_200E_202B_200C_206B_202C_206F_206B_202A_202D_202A_202D_202C_206D_200B_200B_200E_206A_206A_206C_202E_202B_200B_206B_200E_202C_200C_202E_202A_202E_200E_202D_202E_206F_202E_206B_202C_200C_206F_206F_202E(exposedPlugin)) ? 1 : 0); + goto IL_00f9; + case 5: + num7 = 0; + goto IL_00f9; + case 4: + num = -542460312; + break; + case 0: + num6 = 0; + goto IL_0142; + case 2: + { + ImRaii.IndentDisposable indentDisposable = _200B_200C_200D_200F_202E_200F_206D_206E_200D_202C_200B_206D_202B_200F_200E_206E_202A_200D_200D_200D_200C_200F_206B_200B_200C_202A_202E_206E_206D_200F_202C_200C_206C_200F_200C_206C_206A_206B_206B_206D_202E(checklistPadding, true, true); + try + { + DrawProviderActions(provider, exposedPlugin, flag, isDisabled); + } + finally + { + num = ((indentDisposable == null) ? 685235413 : 685235414); + while (true) + { + int num5 = num; + num3 = 685235412; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 685235414; + break; + case 1: + goto end_IL_0199; + case 2: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)indentDisposable); + num = 685235413; + break; + } + continue; + end_IL_0199: + break; + } + } + return flag; + } + IL_00f9: + isDisabled = (byte)num7 != 0; + _uiUtils.ChecklistItem(provider.DisplayName, flag); + num = ((exposedPlugin == null) ? (-542460309) : (-542460305)); + break; + IL_0142: + flag = (byte)num6 != 0; + num = ((exposedPlugin == null) ? (-542460308) : (-542460310)); + break; + } + } + } + finally + { + int num = ((idDisposable == null) ? (-600920814) : (-600920813)); + while (true) + { + int num8 = num; + int num3 = -600920814; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = -600920813; + break; + case 0: + goto end_IL_020b; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)idDisposable); + num = -600920814; + break; + } + continue; + end_IL_020b: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool DrawNavigationSelection(float checklistPadding) + { + ImRaii.IdDisposable idDisposable = _206C_200C_200B_200D_202A_202B_202C_200B_202E_202E_206F_202A_202B_200E_202A_200F_206B_206F_206E_200E_206B_206A_206E_202C_202E_206E_200C_200D_202A_200B_206F_202A_200B_202C_200B_202B_206E_202C_206C_202B_202E((ImU8String)global::_003CModule_003E._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(-256030487), true); + try + { + bool flag = true; + _202D_202A_206D_206B_200B_200F_200E_200B_200B_206B_200F_202A_200F_206D_200C_200F_206C_200E_202D_202D_200D_206E_202A_206C_200C_202E_200B_206C_206F_206E_202E_202E_206E_206D_206E_200B_206E_200F_206F_200E_202E((ImU8String)global::_003CModule_003E._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(-1010966512)); + ImRaii.IndentDisposable indentDisposable = _200B_200C_200D_200F_202E_200F_206D_206E_200D_202C_200B_206D_202B_200F_200E_206E_202A_200D_200D_200D_200C_200F_206B_200B_200C_202A_202E_206E_206D_200F_202C_200C_206C_200F_200C_206C_206A_206B_206B_206D_202E(checklistPadding, true, true); + try + { + _200F_202E_200C_202C_200B_206A_206F_200C_206D_202B_202D_206E_206A_200E_206B_206B_206C_206A_202C_202A_202D_206E_206E_202D_200F_206D_202A_200B_200F_206B_206B_200F_202D_206D_200C_206B_206B_200E_200C_206E_202E(0f); + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(-1894858104)); + _200B_202B_202B_206F_202D_202D_206D_200F_206A_206E_202E_206E_202C_202C_202C_206F_206A_200B_202A_202B_206E_206E_200D_200C_200C_202A_206B_206D_200B_206A_200C_200E_200D_200E_200F_206E_206D_202A_202D_202A_202E(); + flag &= DrawNavigationProvider(Questionable.Configuration.ENavigationProvider.Vnavmesh); + Configuration.ENavigationProvider navigationProvider = _configuration.General.NavigationProvider; + int num = (_wigglyNavAvailability.IsCompatible ? (-1787642142) : (-1787642137)); + while (true) + { + int num2 = num; + int num3 = -1787642143; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + num = -1787642137; + break; + case 2: + num = ((!_configuration.Advanced.ShowWigglyNavShimProvider) ? (-1787642139) : (-1787642144)); + break; + case 4: + num = ((navigationProvider != Questionable.Configuration.ENavigationProvider.WigglyNavShim) ? (-1787642143) : (-1787642140)); + break; + case 5: + flag &= DrawNavigationProvider(Questionable.Configuration.ENavigationProvider.WigglyNavShim); + num = -1787642143; + break; + case 6: + num = ((navigationProvider != Questionable.Configuration.ENavigationProvider.WigglyNav) ? (-1787642141) : (-1787642142)); + break; + case 3: + flag &= DrawNavigationProvider(Questionable.Configuration.ENavigationProvider.WigglyNav); + num = -1787642141; + break; + case 1: + num = (IsWigglyNavInstalled() ? (-1787642140) : (-1787642139)); + break; + case 0: + goto end_IL_00a0; + } + continue; + end_IL_00a0: + break; + } + } + finally + { + int num = ((indentDisposable == null) ? (-1047707652) : (-1047707651)); + while (true) + { + int num7 = num; + int num3 = -1047707652; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_01cb; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)indentDisposable); + num = -1047707652; + break; + case 2: + num = -1047707651; + break; + } + continue; + end_IL_01cb: + break; + } + } + _202B_206D_206D_202C_200F_200E_200B_202D_200C_206A_206C_202A_206F_202C_206B_200C_202A_202E_200B_202C_200C_200E_206A_206A_202C_202D_200F_206D_206D_200F_206F_202C_200F_200F_206F_202B_202C_206B_202A_200F_202E(); + return flag; + } + finally + { + int num = ((idDisposable == null) ? (-1041380219) : (-1041380220)); + while (true) + { + int num8 = num; + int num3 = -1041380219; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = -1041380220; + break; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)idDisposable); + num = -1041380219; + break; + case 0: + goto end_IL_0241; + } + continue; + end_IL_0241: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool DrawNavigationProvider(Configuration.ENavigationProvider navigationProvider) + { + PluginRequirement pluginRequirement = NavigationPlugins[navigationProvider]; + ImRaii.IdDisposable idDisposable = _206C_200C_200B_200D_202A_202B_202C_200B_202E_202E_206F_202A_202B_200E_202A_200F_206B_206F_206E_200E_206B_206A_206E_202C_202E_206E_200C_200D_202A_200B_206F_202A_200B_202C_200B_202B_206E_202C_206C_202B_202E((ImU8String)_202E_200E_202E_206E_202D_200B_202B_200B_200E_200E_200C_206A_202E_206E_206F_202C_206F_206C_202C_200B_200B_202E_200B_206F_200F_206E_202E_202D_206D_200C_206A_202D_206E_206C_200B_200B_206F_200D_202B_202A_202E(global::_003CModule_003E._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(794949383), pluginRequirement.GroupName), true); + try + { + int num = ((!_206B_206F_200E_200B_202D_202D_206E_206B_202D_200F_206B_206A_206A_206E_202E_200B_206B_206B_206F_200F_200C_206C_200C_200B_202C_202B_206B_200F_206E_200B_206D_200D_202B_200C_200F_206A_200B_206B_202A_200E_202E((ImU8String)pluginRequirement.GroupName, _configuration.General.NavigationProvider == navigationProvider)) ? 310088016 : 310088022); + int result; + IExposedPlugin exposedPlugin = default(IExposedPlugin); + PluginProvider pluginProvider = default(PluginProvider); + bool flag2 = default(bool); + while (true) + { + int num2 = num; + int num3 = 310088023; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num8; + int num7; + bool flag; + bool num9; + bool flag3; + bool isLoaded; + int isDisabled; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 2: + result = ((_configuration.General.NavigationProvider != navigationProvider) ? 1 : 0); + break; + case 4: + num8 = (_206B_200E_202B_200C_206B_202C_206F_206B_202A_202D_202A_202D_202C_206D_200B_200B_200E_206A_206A_206C_202E_202B_200B_206B_200E_202C_200C_202E_202A_202E_200E_202D_202E_206F_202E_206B_202C_200C_206F_206F_202E(exposedPlugin) ? 1 : 0); + goto IL_0179; + case 7: + pluginProvider = pluginRequirement.Providers[0]; + exposedPlugin = FindProvider(pluginProvider); + num = ((exposedPlugin == null) ? 310088020 : 310088019); + continue; + case 1: + _configuration.General.NavigationProvider = navigationProvider; + _206D_206D_206A_200F_202E_200B_202E_206C_206A_206E_206D_202C_202C_206C_202A_206D_202A_202B_206D_200C_200E_206B_202C_202C_200B_206B_202E_206B_206B_206B_202C_202B_200B_206F_200C_200D_206B_200F_202A_202C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num = 310088016; + continue; + case 8: + num7 = ((!_206B_200E_202B_200C_206B_202C_206F_206B_202A_202D_202A_202D_202C_206D_200B_200B_200E_206A_206A_206C_202E_202B_200B_206B_200E_202C_200C_202E_202A_202E_200E_202D_202E_206F_202E_206B_202C_200C_206F_206F_202E(exposedPlugin)) ? 1 : 0); + goto IL_019a; + case 5: + num = 310088022; + continue; + case 3: + num8 = 0; + goto IL_0179; + case 6: + num7 = 0; + goto IL_019a; + case 0: + { + result = 1; + break; + } + IL_019a: + flag = (byte)num7 != 0; + num9 = flag2; + if (exposedPlugin != null) + { + _202B_200B_206A_200C_200D_202E_200B_200C_206A_206E_202B_206D_202B_202D_206B_206F_200B_206E_200E_200C_206E_202C_202D_200D_202C_200C_200F_206C_206B_202C_200D_202B_202B_206B_202D_200E_200C_200D_206E_200C_202E(0f); + _202D_200E_206B_206A_202C_200D_206F_206C_202C_206D_206D_202B_206D_202D_200B_200D_200D_206D_202A_202E_206B_206E_202C_202E_206C_200E_206C_202B_202A_202C_202A_206F_206A_206B_200B_202D_200B_206A_206D_206C_202E(); + ImU8String imU8String = new ImU8String(1, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1938431546)); + imU8String.AppendFormatted(_202C_202B_200C_206B_202C_200C_202D_200D_206B_202E_206D_200C_206D_206B_200F_202C_206B_206A_200E_202B_206C_200B_200F_200E_206C_200C_200F_206A_200F_206B_202C_200E_206C_202D_200E_200E_206C_202B_200B_206E_202E(exposedPlugin)); + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref UiThemeUtils.DimTextColor, imU8String); + } + flag3 = navigationProvider == Questionable.Configuration.ENavigationProvider.WigglyNav && !_wigglyNavAvailability.IsCompatible; + isLoaded = flag2 && !flag3; + if (!flag) + { + bool num10 = flag2; + num3 = (flag3 ? 1 : 0); + num4 = (num10 ? 1 : 0); + isDisabled = (num4 | num3) - (num4 ^ num3); + } + else + { + isDisabled = 1; + } + DrawProviderStatusIcon(isLoaded, (byte)isDisabled != 0); + if (!flag2 && _206A_206F_206D_206A_200D_202A_202A_206E_200F_200C_200C_200F_206A_202D_200F_206F_206E_202A_200C_206C_200E_200C_202B_200F_206C_202C_202E_206C_200C_206B_206B_206D_206E_206A_200C_206B_206E_200B_206A_202A_202E(pluginProvider.DalamudRepositoryUri, (Uri)null)) + { + DrawInlineProviderActions(pluginProvider, flag); + } + if (navigationProvider == Questionable.Configuration.ENavigationProvider.WigglyNav && _configuration.General.NavigationProvider == navigationProvider && !_wigglyNavAvailability.IsCompatible) + { + _206F_202A_202D_202E_202B_200C_202D_206B_202D_206E_200C_200E_200F_206C_206F_202C_200F_200B_202A_206B_206A_202D_206C_200B_200E_206A_202A_202E_202C_200B_206C_206A_202C_202E_202E_202A_200B_206A_206F_200E_202E(); + _202D_200E_206B_206A_202C_200D_206F_206C_202C_206D_206D_202B_206D_202D_200B_200D_200D_206D_202A_202E_206B_206E_202C_202E_206C_200E_206C_202B_202A_202C_202A_206F_206A_206B_200B_202D_200B_206A_206D_206C_202E(); + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(1036127683)); + } + num = (num9 ? 310088023 : 310088021); + continue; + IL_0179: + flag2 = (byte)num8 != 0; + num = ((exposedPlugin == null) ? 310088017 : 310088031); + continue; + } + break; + } + return (byte)result != 0; + } + finally + { + int num = ((idDisposable == null) ? (-565239728) : (-565239727)); + while (true) + { + int num11 = num; + int num3 = -565239728; + int num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 2: + num = -565239727; + break; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)idDisposable); + num = -565239728; + break; + case 0: + goto end_IL_02ef; + } + continue; + end_IL_02ef: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawProviderActions(PluginProvider provider, IExposedPlugin? installed, bool isLoaded, bool isDisabled) + { + int num = ((!isLoaded) ? (-1679626831) : (-1679626819)); + while (true) + { + int num2 = num; + int num3 = -1679626828; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1679626819; + break; + case 7: + DrawInstallError(provider); + return; + case 8: + _200F_206E_200B_202A_206F_202B_200B_206D_202D_206E_200D_206D_200C_202D_200F_202E_200D_202B_206F_206C_202B_206C_206C_200D_206A_200C_206C_202A_206B_202C_202E_206C_206B_200D_202C_206B_200D_206A_206E_206B_202E(_202B_206A_202D_206E_206B_200B_206C_206D_202C_202A_202A_200D_200B_200C_202C_200C_206E_206A_206E_200F_200C_206F_200B_206F_206C_202B_202C_206A_206F_206F_200F_206B_206C_200F_206C_200C_206A_200E_200B_206F_202E((object)provider.WebsiteUri)); + num = -1679626827; + break; + case 5: + num = ((!isDisabled) ? (-1679626826) : (-1679626825)); + break; + case 3: + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref UiThemeUtils.StatusActive, (ImU8String)global::_003CModule_003E._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(1909700008)); + DrawEnableButton(provider); + DrawInstallError(provider); + return; + case 6: + _206F_202A_202D_202E_202B_200C_202D_206B_202D_206E_200C_200E_200F_206C_206F_202C_200F_200B_202A_206B_206A_202D_206C_200B_200E_206A_202A_202E_202C_200B_206C_206A_202C_202E_202E_202A_200B_206A_206F_200E_202E(); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Code, global::_003CModule_003E._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(-625667250))) ? (-1679626829) : (-1679626832)); + break; + case 1: + num = ((!_206A_206F_206D_206A_200D_202A_202A_206E_200F_200C_200C_200F_206A_202D_200F_206F_206E_202A_200C_206C_200E_200C_202B_200F_206C_202C_202E_206C_200C_206B_206B_206D_206E_206A_200C_206B_206E_200B_206A_202A_202E(provider.DalamudRepositoryUri, (Uri)null)) ? (-1679626829) : (-1679626830)); + break; + case 9: + return; + case 2: + DrawInstallButton(provider); + _206F_202A_202D_202E_202B_200C_202D_206B_202D_206E_200C_200E_200F_206C_206F_202C_200F_200B_202A_206B_206A_202D_206C_200B_200E_206A_202A_202E_202C_200B_206C_206A_202C_202E_202E_202A_200B_206A_206F_200E_202E(); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Globe, global::_003CModule_003E._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(106460701))) ? (-1679626827) : (-1679626820)); + break; + case 4: + _200F_206E_200B_202A_206F_202B_200B_206D_202D_206E_200D_206D_200C_202D_200F_202E_200D_202B_206F_206C_202B_206C_206C_200D_206A_200C_206C_202A_206B_202C_202E_206C_206B_200D_202C_206B_200D_206A_206E_206B_202E(_202B_206A_202D_206E_206B_200B_206C_206D_202C_202A_202A_200D_200B_200C_202C_200C_206E_206A_206E_200F_200C_206F_200B_206F_206C_202B_202C_206A_206F_206F_200F_206B_206C_200F_206C_200C_206A_200E_200B_206F_202E((object)provider.DalamudRepositoryUri)); + num = -1679626829; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawRequirementExtras(PluginRequirement requirement, float checklistPadding, bool isLoaded) + { + (string, Uri)? extraLink = requirement.ExtraLink; + int num = ((!extraLink.HasValue) ? (-1403183022) : (-1403183023)); + (string, Uri) valueOrDefault = default((string, Uri)); + while (true) + { + int num2 = num; + int num3 = -1403183021; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 1: + if (requirement.DetailsToCheck != null) + { + num = -1403183024; + continue; + } + break; + case 2: + valueOrDefault = extraLink.GetValueOrDefault(); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.ExternalLinkAlt, valueOrDefault.Item1)) ? (-1403183022) : (-1403183017)); + continue; + case 4: + _200F_206E_200B_202A_206F_202B_200B_206D_202D_206E_200D_206D_200C_202D_200F_202E_200D_202B_206F_206C_202B_206C_206C_200D_206A_200C_206C_202A_206B_202C_202E_206C_206B_200D_202C_206B_200D_206A_206E_206B_202E(_202B_206A_202D_206E_206B_200B_206C_206D_202C_202A_202A_200D_200B_200C_202C_200C_206E_206A_206E_200F_200C_206F_200B_206F_206C_202B_202C_206A_206F_206F_200F_206B_206C_200F_206C_200C_206A_200E_200B_206F_202E((object)valueOrDefault.Item2)); + num = -1403183022; + continue; + case 0: + num = -1403183023; + continue; + case 3: + foreach (PluginDetailInfo item in requirement.DetailsToCheck) + { + bool flag = item.Predicate(); + UiUtils uiUtils = _uiUtils; + string displayName = item.DisplayName; + num3 = (flag ? 1 : 0); + num4 = (isLoaded ? 1 : 0); + uiUtils.ChecklistItem(displayName, (byte)(num4 + num3 - (num4 | num3)) != 0); + if (_202A_206C_206D_202D_206B_202E_206E_200D_206E_202B_200F_200C_202D_202C_202B_202A_200E_206F_206D_200B_206B_202D_202A_206E_200E_202B_200F_202B_206C_202E_200B_202C_206F_206C_200D_200E_206B_200B_200E_200D_202E(item.Details)) + { + continue; + } + ImRaii.IndentDisposable indentDisposable = _200B_200C_200D_200F_202E_200F_206D_206E_200D_202C_200B_206D_202B_200F_200E_206E_202A_200D_200D_200D_200C_200F_206B_200B_200C_202A_202E_206E_206D_200F_202C_200C_206C_200F_200C_206C_206A_206B_206B_206D_202E(checklistPadding, true, true); + try + { + _202D_202A_206D_206B_200B_200F_200E_200B_200B_206B_200F_202A_200F_206D_200C_200F_206C_200E_202D_202D_200D_206E_202A_206C_200C_202E_200B_206C_206F_206E_202E_202E_206E_206D_206E_200B_206E_200F_206F_200E_202E((ImU8String)item.Details); + } + finally + { + num = ((indentDisposable == null) ? (-2133715370) : (-2133715369)); + while (true) + { + int num5 = num; + num3 = -2133715370; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -2133715369; + break; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)indentDisposable); + num = -2133715370; + break; + case 0: + goto end_IL_0175; + } + continue; + end_IL_0175: + break; + } + } + } + break; + } + break; + } + num = ((!isLoaded) ? (-99509028) : (-99509025)); + while (true) + { + int num6 = num; + int num3 = -99509031; + int num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 5: + return; + case 6: + { + List? detailsToCheck = requirement.DetailsToCheck; + num = ((detailsToCheck == null || !detailsToCheck.Any((PluginDetailInfo d) => !d.Predicate())) ? (-99509028) : (-99509032)); + break; + } + case 1: + num = ((requirement.ConfigCommand == null) ? (-99509028) : (-99509030)); + break; + case 2: + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Cog, global::_003CModule_003E._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(-91321368))) ? (-99509028) : (-99509027)); + break; + case 0: + num = -99509025; + break; + case 3: + num = ((!_200B_200F_200D_202A_202D_200D_202A_206C_200D_200B_206E_200C_206B_206A_200E_206E_202D_200E_200F_202A_202D_202B_206E_200D_206C_206A_202A_202E_206C_200F_200E_206F_206C_206D_206C_206D_206A_200E_206E_202B_202E(requirement.ConfigCommand, '/')) ? (-99509028) : (-99509029)); + break; + case 4: + _200F_206F_200D_206E_202A_206F_206D_206B_202C_202B_200D_206C_206C_200C_202A_206A_206C_206F_200B_202E_200B_202C_200C_206C_206C_206F_206A_200E_206C_200B_200D_206D_206A_206A_206E_202E_202C_202B_206D_202B_202E(_commandManager, requirement.ConfigCommand); + num = -99509028; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool DrawCombatPlugin(Configuration.ECombatModule combatModule, float checklistPadding) + { + _202B_206D_206D_202C_200F_200E_200B_202D_200C_206A_206C_202A_206F_202C_206B_200C_202A_202E_200B_202C_200C_200E_206A_206A_202C_202D_200F_206D_206D_200F_206F_202C_200F_200F_206F_202B_202C_206B_202A_200F_202E(); + PluginRequirement pluginRequirement = CombatPlugins[combatModule]; + ImRaii.IdDisposable idDisposable = _206C_200C_200B_200D_202A_202B_202C_200B_202E_202E_206F_202A_202B_200E_202A_200F_206B_206F_206E_200E_206B_206A_206E_202C_202E_206E_200C_200D_202A_200B_206F_202A_200B_202C_200B_202B_206E_202C_206C_202B_202E((ImU8String)_202E_200E_202E_206E_202D_200B_202B_200B_200E_200E_200C_206A_202E_206E_206F_202C_206F_206C_202C_200B_200B_202E_200B_206F_200F_206E_202E_202D_206D_200C_206A_202D_206E_206C_200B_200B_206F_200D_202B_202A_202E(global::_003CModule_003E._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(1338005117), pluginRequirement.GroupName), true); + try + { + bool flag = false; + bool num = pluginRequirement.Providers.Count > 1; + if (_206B_206F_200E_200B_202D_202D_206E_206B_202D_200F_206B_206A_206A_206E_202E_200B_206B_206B_206F_200F_200C_206C_200C_200B_202C_202B_206B_200F_206E_200B_206D_200D_202B_200C_200F_206A_200B_206B_202A_200E_202E((ImU8String)pluginRequirement.GroupName, _configuration.General.CombatModule == combatModule)) + { + _configuration.General.CombatModule = combatModule; + _206D_206D_206A_200F_202E_200B_202E_206C_206A_206E_206D_202C_202C_206C_202A_206D_202A_202B_206D_200C_200E_206B_202C_202C_200B_206B_202E_206B_206B_206B_202C_202B_200B_206F_200C_200D_206B_200F_202A_202C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + } + int num2 = (num ? (-1321585178) : (-1321585170)); + PluginProvider provider = default(PluginProvider); + IExposedPlugin exposedPlugin2 = default(IExposedPlugin); + bool isDisabled2 = default(bool); + bool flag3 = default(bool); + bool flag2 = default(bool); + bool isDisabled = default(bool); + while (true) + { + int num3 = num2; + int num4 = -1321585177; + int num5 = num3; + int num15; + int num14; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 7: + num15 = 0; + goto IL_00f2; + case 9: + provider = pluginRequirement.Providers[0]; + exposedPlugin2 = FindProvider(provider); + num2 = ((exposedPlugin2 == null) ? (-1321585184) : (-1321585181)); + continue; + case 5: + num14 = 0; + goto IL_0149; + case 4: + num15 = (_206B_200E_202B_200C_206B_202C_206F_206B_202A_202D_202A_202D_202C_206D_200B_200B_200E_206A_206A_206C_202E_202B_200B_206B_200E_202C_200C_202E_202A_202E_200E_202D_202E_206F_202E_206B_202C_200C_206F_206F_202E(exposedPlugin2) ? 1 : 0); + goto IL_00f2; + case 8: + num2 = -1321585170; + continue; + case 0: + DrawInlineProviderActions(provider, isDisabled2); + break; + case 2: + DrawProviderStatusIcon(flag3, isDisabled2); + if (!flag3) + { + num2 = -1321585177; + continue; + } + break; + case 6: + num14 = ((!_206B_200E_202B_200C_206B_202C_206F_206B_202A_202D_202A_202D_202C_206D_200B_200B_200E_206A_206A_206C_202E_202B_200B_206B_200E_202C_200C_202E_202A_202E_200E_202D_202E_206F_202E_206B_202C_200C_206F_206F_202E(exposedPlugin2)) ? 1 : 0); + goto IL_0149; + case 3: + { + _202B_200B_206A_200C_200D_202E_200B_200C_206A_206E_202B_206D_202B_202D_206B_206F_200B_206E_200E_200C_206E_202C_202D_200D_202C_200C_200F_206C_206B_202C_200D_202B_202B_206B_202D_200E_200C_200D_206E_200C_202E(0f); + _202D_200E_206B_206A_202C_200D_206F_206C_202C_206D_206D_202B_206D_202D_200B_200D_200D_206D_202A_202E_206B_206E_202C_202E_206C_200E_206C_202B_202A_202C_202A_206F_206A_206B_200B_202D_200B_206A_206D_206C_202E(); + ImU8String imU8String2 = new ImU8String(1, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1827973971)); + imU8String2.AppendFormatted(_202C_202B_200C_206B_202C_200C_202D_200D_206B_202E_206D_200C_206D_206B_200F_202C_206B_206A_200E_202B_206C_200B_200F_200E_206C_200C_200F_206A_200F_206B_202C_200E_206C_202D_200E_200E_206C_202B_200B_206E_202E(exposedPlugin2)); + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref UiThemeUtils.DimTextColor, imU8String2); + num2 = -1321585179; + continue; + } + case 1: + { + ImRaii.IndentDisposable indentDisposable = _200B_200C_200D_200F_202E_200F_206D_206E_200D_202C_200B_206D_202B_200F_200E_206E_202A_200D_200D_200D_200C_200F_206B_200B_200C_202A_202E_206E_206D_200F_202C_200C_206C_200F_200C_206C_206A_206B_206B_206D_202E(checklistPadding, true, true); + try + { + IEnumerator enumerator = pluginRequirement.Providers.GetEnumerator(); + try + { + while (_206F_202E_200C_202D_206F_206D_202D_202C_206D_200B_202D_202A_202D_202D_202C_200C_206B_206E_206C_200E_206D_206D_202E_206C_206D_206B_200F_200C_200E_206A_200F_202E_202C_200E_200E_206A_206E_200B_200B_202C_202E((IEnumerator)enumerator)) + { + PluginProvider current = enumerator.Current; + ImRaii.IdDisposable idDisposable2 = _206C_200C_200B_200D_202A_202B_202C_200B_202E_202E_206F_202A_202B_200E_202A_200F_206B_206F_206E_200E_206B_206A_206E_202C_202E_206E_200C_200D_202A_200B_206F_202A_200B_202C_200B_202B_206E_202C_206C_202B_202E((ImU8String)_202E_200E_202E_206E_202D_200B_202B_200B_200E_200E_200C_206A_202E_206E_206F_202C_206F_206C_202C_200B_200B_202E_200B_206F_200F_206E_202E_202D_206D_200C_206A_202D_206E_206C_200B_200B_206F_200D_202B_202A_202E(global::_003CModule_003E._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(689068784), current.DisplayName), true); + try + { + IExposedPlugin exposedPlugin = FindProvider(current); + num2 = ((exposedPlugin == null) ? (-78011020) : (-78011019)); + while (true) + { + int num6 = num2; + num4 = -78011024; + num5 = num6; + int num8; + int num7; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + _uiUtils.ChecklistItem(current.DisplayName, flag2); + num2 = ((exposedPlugin == null) ? (-78011023) : (-78011021)); + break; + case 1: + num2 = (flag2 ? (-78011022) : (-78011016)); + break; + case 9: + flag = true; + num2 = -78011024; + break; + case 4: + num8 = 0; + goto IL_035b; + case 6: + num7 = ((!_206B_200E_202B_200C_206B_202C_206F_206B_202A_202D_202A_202D_202C_206D_200B_200B_200E_206A_206A_206C_202E_202B_200B_206B_200E_202C_200C_202E_202A_202E_200E_202D_202E_206F_202E_206B_202C_200C_206F_206F_202E(exposedPlugin)) ? 1 : 0); + goto IL_040b; + case 5: + num8 = (_206B_200E_202B_200C_206B_202C_206F_206B_202A_202D_202A_202D_202C_206D_200B_200B_200E_206A_206A_206C_202E_202B_200B_206B_200E_202C_200C_202E_202A_202E_200E_202D_202E_206F_202E_206B_202C_200C_206F_206F_202E(exposedPlugin) ? 1 : 0); + goto IL_035b; + case 3: + { + _206F_202A_202D_202E_202B_200C_202D_206B_202D_206E_200C_200E_200F_206C_206F_202C_200F_200B_202A_206B_206A_202D_206C_200B_200E_206A_202A_202E_202C_200B_206C_206A_202C_202E_202E_202A_200B_206A_206F_200E_202E(); + ImU8String imU8String = new ImU8String(1, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(198217444)); + imU8String.AppendFormatted(_202C_202B_200C_206B_202C_200C_202D_200D_206B_202E_206D_200C_206D_206B_200F_202C_206B_206A_200E_202B_206C_200B_200F_200E_206C_200C_200F_206A_200F_206B_202C_200E_206C_202D_200E_200E_206C_202B_200B_206E_202E(exposedPlugin)); + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref UiThemeUtils.DimTextColor, imU8String); + num2 = -78011023; + break; + } + case 8: + DrawInlineProviderActions(current, isDisabled); + num2 = -78011022; + break; + case 10: + num7 = 0; + goto IL_040b; + case 7: + num2 = -78011019; + break; + case 2: + goto end_IL_02a3; + IL_040b: + isDisabled = (byte)num7 != 0; + num2 = ((!flag2) ? (-78011024) : (-78011015)); + break; + IL_035b: + flag2 = (byte)num8 != 0; + num2 = ((exposedPlugin == null) ? (-78011014) : (-78011018)); + break; + } + continue; + end_IL_02a3: + break; + } + } + finally + { + num2 = ((idDisposable2 == null) ? (-508580231) : (-508580230)); + while (true) + { + int num9 = num2; + num4 = -508580229; + num5 = num9; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -508580230; + break; + case 2: + goto end_IL_045c; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)idDisposable2); + num2 = -508580231; + break; + } + continue; + end_IL_045c: + break; + } + } + } + } + finally + { + num2 = ((enumerator == null) ? 1494926685 : 1494926686); + while (true) + { + int num10 = num2; + num4 = 1494926687; + num5 = num10; + int num11 = num5 + num4; + int num12 = num5 & num4; + switch (num11 - (num12 + num12)) + { + case 0: + num2 = 1494926686; + break; + case 2: + goto end_IL_04d8; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)enumerator); + num2 = 1494926685; + break; + } + continue; + end_IL_04d8: + break; + } + } + } + finally + { + num2 = ((indentDisposable == null) ? 875852940 : 875852943); + while (true) + { + int num13 = num2; + num4 = 875852942; + num5 = num13; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = 875852943; + break; + case 2: + goto end_IL_0545; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)indentDisposable); + num2 = 875852940; + break; + } + continue; + end_IL_0545: + break; + } + } + break; + } + IL_0149: + isDisabled2 = (byte)num14 != 0; + flag = flag3; + num2 = ((exposedPlugin2 == null) ? (-1321585179) : (-1321585180)); + continue; + IL_00f2: + flag3 = (byte)num15 != 0; + num2 = ((exposedPlugin2 == null) ? (-1321585182) : (-1321585183)); + continue; + } + break; + } + num2 = (flag ? 80486539 : 80486536); + int result; + while (true) + { + int num16 = num2; + int num4 = 80486537; + int num5 = num16; + int num17 = num5 + num4; + int num18 = num5 & num4; + switch (num17 - (num18 + num18)) + { + default: + continue; + case 0: + goto IL_05dd; + case 1: + result = ((_configuration.General.CombatModule != combatModule) ? 1 : 0); + break; + case 2: + result = 1; + break; + } + break; + IL_05dd: + num2 = 80486536; + } + return (byte)result != 0; + } + finally + { + int num2 = ((idDisposable == null) ? 412497532 : 412497533); + while (true) + { + int num19 = num2; + int num4 = 412497532; + int num5 = num19; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = 412497533; + break; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)idDisposable); + num2 = 412497532; + break; + case 0: + goto end_IL_0636; + } + continue; + end_IL_0636: + break; + } + } + } + + private void DrawProviderStatusIcon(bool isLoaded, bool isDisabled) + { + _202B_200B_206A_200C_200D_202E_200B_200C_206A_206E_202B_206D_202B_202D_206B_206F_200B_206E_200E_200C_206E_202C_202D_200D_202C_200C_200F_206C_206B_202C_200D_202B_202B_206B_202D_200E_200C_200D_206E_200C_202E(0f); + IDisposable disposable = _202B_200F_200B_200E_206F_200D_202D_206C_202A_202D_202E_202D_206D_206E_206A_200D_200C_200F_206A_200D_200C_202A_206A_202A_202E_200C_206F_200B_206A_200D_202B_202C_202E_202A_206C_202A_202C_202C_202C_206E_202E(_202D_202D_202E_200B_200C_200B_206D_202C_200D_206C_206A_202B_200E_206F_206B_200C_206A_206A_206D_202E_202D_200E_202A_200D_200E_202D_202E_206F_202B_200E_202E_200E_206A_202A_206D_206E_206A_206D_206E_202E_202E(_202C_202B_200D_202D_202B_202B_206F_200C_202C_200F_200F_200B_206A_206F_206F_202C_206C_202E_206C_206B_200E_200F_206C_200D_206B_206D_200D_202A_200D_206E_202D_206B_202E_206E_202B_200E_206C_200D_200C_206C_202E(_pluginInterface))); + try + { + int num = ((!isLoaded) ? 401911537 : 401911543); + Vector4 vector = default(Vector4); + FontAwesomeIcon fontAwesomeIcon = default(FontAwesomeIcon); + while (true) + { + int num2 = num; + int num3 = 401911539; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 401911543; + break; + case 3: + vector = UiThemeUtils.StatusLocked; + fontAwesomeIcon = FontAwesomeIcon.Times; + num = 401911542; + break; + case 4: + vector = UiThemeUtils.StatusComplete; + fontAwesomeIcon = FontAwesomeIcon.Check; + num = 401911542; + break; + case 1: + vector = UiThemeUtils.StatusActive; + fontAwesomeIcon = FontAwesomeIcon.ExclamationTriangle; + num = 401911542; + break; + case 2: + num = ((!isDisabled) ? 401911536 : 401911538); + break; + case 5: + _202D_200E_206B_206A_202C_200D_206F_206C_202C_206D_206D_202B_206D_202D_200B_200D_200D_206D_202A_202E_206B_206E_202C_202E_206C_200E_206C_202B_202A_202C_202A_206F_206A_206B_200B_202D_200B_206A_206D_206C_202E(); + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref vector, (ImU8String)_206A_202B_202C_200D_206D_206B_200F_206C_206E_200C_200E_200F_206E_206D_200D_202C_202C_206F_206C_200C_206C_202B_202A_206F_200D_206B_202A_200C_206B_200E_200C_200E_200B_202A_206F_206A_206B_202E_200D_206A_202E(fontAwesomeIcon)); + return; + } + } + } + finally + { + int num = ((disposable == null) ? (-1351279691) : (-1351279690)); + while (true) + { + int num7 = num; + int num3 = -1351279692; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 1: + goto end_IL_0119; + case 2: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E(disposable); + num = -1351279691; + break; + case 0: + num = -1351279690; + break; + } + continue; + end_IL_0119: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawInlineProviderActions(PluginProvider provider, bool isDisabled) + { + int num = ((!isDisabled) ? (-398916645) : (-398916646)); + while (true) + { + int num2 = num; + int num3 = -398916642; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -398916646; + break; + case 1: + _200F_206E_200B_202A_206F_202B_200B_206D_202D_206E_200D_206D_200C_202D_200F_202E_200D_202B_206F_206C_202B_206C_206C_200D_206A_200C_206C_202A_206B_202C_202E_206C_206B_200D_202C_206B_200D_206A_206E_206B_202E(_202B_206A_202D_206E_206B_200B_206C_206D_202C_202A_202A_200D_200B_200C_202C_200C_206E_206A_206E_200F_200C_206F_200B_206F_206C_202B_202C_206A_206F_206F_200F_206B_206C_200F_206C_200C_206A_200E_200B_206F_202E((object)provider.WebsiteUri)); + num = -398916643; + break; + case 3: + num = ((!_206A_206F_206D_206A_200D_202A_202A_206E_200F_200C_200C_200F_206A_202D_200F_206F_206E_202A_200C_206C_200E_200C_202B_200F_206C_202C_202E_206C_200C_206B_206B_206D_206E_206A_200C_206B_206E_200B_206A_202A_202E(provider.DalamudRepositoryUri, (Uri)null)) ? (-398916648) : (-398916647)); + break; + case 6: + DrawInstallError(provider); + return; + case 2: + _200F_206E_200B_202A_206F_202B_200B_206D_202D_206E_200D_206D_200C_202D_200F_202E_200D_202B_206F_206C_202B_206C_206C_200D_206A_200C_206C_202A_206B_202C_202E_206C_206B_200D_202C_206B_200D_206A_206E_206B_202E(_202B_206A_202D_206E_206B_200B_206C_206D_202C_202A_202A_200D_200B_200C_202C_200C_206E_206A_206E_200F_200C_206F_200B_206F_206C_202B_202C_206A_206F_206F_200F_206B_206C_200F_206C_200C_206A_200E_200B_206F_202E((object)provider.DalamudRepositoryUri)); + num = -398916648; + break; + case 4: + _206F_202A_202D_202E_202B_200C_202D_206B_202D_206E_200C_200E_200F_206C_206F_202C_200F_200B_202A_206B_206A_202D_206C_200B_200E_206A_202A_202E_202C_200B_206C_206A_202C_202E_202E_202A_200B_206A_206F_200E_202E(); + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref UiThemeUtils.StatusActive, (ImU8String)global::_003CModule_003E._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(-443944027)); + _206F_202A_202D_202E_202B_200C_202D_206B_202D_206E_200C_200E_200F_206C_206F_202C_200F_200B_202A_206B_206A_202D_206C_200B_200E_206A_202A_202E_202C_200B_206C_206A_202C_202E_202E_202A_200B_206A_206F_200E_202E(); + DrawEnableButton(provider); + DrawInstallError(provider); + return; + case 5: + _206F_202A_202D_202E_202B_200C_202D_206B_202D_206E_200C_200E_200F_206C_206F_202C_200F_200B_202A_206B_206A_202D_206C_200B_200E_206A_202A_202E_202C_200B_206C_206A_202C_202E_202E_202A_200B_206A_206F_200E_202E(); + DrawInstallButton(provider); + _206F_202A_202D_202E_202B_200C_202D_206B_202D_206E_200C_200E_200F_206C_206F_202C_200F_200B_202A_206B_206A_202D_206C_200B_200E_206A_202A_202E_202C_200B_206C_206A_202C_202E_202E_202A_200B_206A_206F_200E_202E(); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Globe, global::_003CModule_003E._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(256224394))) ? (-398916643) : (-398916641)); + break; + case 7: + _206F_202A_202D_202E_202B_200C_202D_206B_202D_206E_200C_200E_200F_206C_206F_202C_200F_200B_202A_206B_206A_202D_206C_200B_200E_206A_202A_202E_202C_200B_206C_206A_202C_202E_202E_202A_200B_206A_206F_200E_202E(); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Code, global::_003CModule_003E._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(1538203157))) ? (-398916648) : (-398916644)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawInstallButton(PluginProvider provider) + { + Uri? dalamudRepositoryUri = provider.DalamudRepositoryUri; + string text = (((object)dalamudRepositoryUri != null) ? _202B_206A_202D_206E_206B_200B_206C_206D_202C_202A_202A_200D_200B_200C_202C_200C_206E_206A_206E_200F_200C_206F_200B_206F_206C_202B_202C_206A_206F_206F_200F_206B_206C_200F_206C_200C_206A_200E_200B_206F_202E((object)dalamudRepositoryUri) : null); + PluginInstallStatus pluginInstallStatus = _206A_206A_202C_202C_206F_202E_206A_200F_200C_202B_206B_202D_200C_206F_206C_206A_200E_206A_206B_202A_202A_202E_200B_200E_206C_206C_200B_206F_200E_202C_202C_202B_206E_206B_200D_206F_200F_202E_202D_206C_202E(_206A_202A_206B_200F_206A_202D_202D_206A_200E_206B_206C_206A_202A_202B_206B_200B_202D_200B_200C_206F_206F_206C_206F_206E_200E_202C_202E_200E_206D_206E_200F_200D_202B_206E_202A_202C_206E_206B_200E_200C_202E(_installer, provider.InternalName, text)); + int num = ((pluginInstallStatus == PluginInstallStatus.InProgress) ? (-1622657706) : (-1622657711)); + string text2 = default(string); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = -1622657707; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + text2 = global::_003CModule_003E._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(1562604466); + flag = !_202C_200F_202A_206D_206D_200B_202A_202D_200F_206C_200F_206D_200D_202D_202D_202E_200C_202B_200F_206E_206F_200B_202B_200D_200D_206D_200C_200D_200F_206E_202A_202D_200B_202D_206D_202A_200B_202B_200C_202D_202E(_installer); + num = -1622657712; + break; + case 1: + text2 = global::_003CModule_003E._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(1827312863); + flag = !_202C_200F_202A_206D_206D_200B_202A_202D_200F_206C_200F_206D_200D_202D_202D_202E_200C_202B_200F_206E_206F_200B_202B_200D_200D_206D_200C_200D_200F_206E_202A_202D_200B_202D_206D_202A_200B_202B_200C_202D_202E(_installer); + num = -1622657712; + break; + case 3: + text2 = global::_003CModule_003E._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(676010430); + flag = false; + num = -1622657712; + break; + case 0: + num = -1622657711; + break; + case 4: + num = ((pluginInstallStatus == PluginInstallStatus.Failed) ? (-1622657708) : (-1622657709)); + break; + case 6: + num = -1622657705; + break; + case 5: + { + ImRaii.DisabledDisposable disabledDisposable = _206C_202C_206D_206B_202B_206A_202D_202D_202B_206B_202C_202E_206C_206D_202A_206B_206E_202C_200E_202C_202D_200E_206B_202D_202E_206F_202C_206D_206E_206B_200C_202A_202A_206E_202A_200F_200F_200E_206A_200E_202E(!flag); + try + { + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Download, text2)) ? (-1581628262) : (-1581628263)); + while (true) + { + int num5 = num; + num3 = -1581628264; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1581628263; + break; + case 1: + _200C_206A_206D_202E_206D_202E_200B_206E_200F_200F_202B_202C_206B_202E_206C_202B_200B_202C_206A_200E_200E_200C_206A_202D_202E_206E_202A_202E_202E_206B_206D_202C_202E_200E_206F_206C_200F_202B_202D_206B_202E(_installer, provider.InternalName, text, provider.AliasUrls); + num = -1581628262; + break; + case 2: + return; + } + } + } + finally + { + num = ((disabledDisposable == null) ? (-1254752141) : (-1254752144)); + while (true) + { + int num6 = num; + num3 = -1254752142; + num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1254752144; + break; + case 1: + goto end_IL_01dc; + case 2: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)disabledDisposable); + num = -1254752141; + break; + } + continue; + end_IL_01dc: + break; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawEnableButton(PluginProvider provider) + { + Uri? dalamudRepositoryUri = provider.DalamudRepositoryUri; + string text = (((object)dalamudRepositoryUri != null) ? _202B_206A_202D_206E_206B_200B_206C_206D_202C_202A_202A_200D_200B_200C_202C_200C_206E_206A_206E_200F_200C_206F_200B_206F_206C_202B_202C_206A_206F_206F_200F_206B_206C_200F_206C_200C_206A_200E_200B_206F_202E((object)dalamudRepositoryUri) : null); + PluginInstallStatus pluginInstallStatus = _206A_206A_202C_202C_206F_202E_206A_200F_200C_202B_206B_202D_200C_206F_206C_206A_200E_206A_206B_202A_202A_202E_200B_200E_206C_206C_200B_206F_200E_202C_202C_202B_206E_206B_200D_206F_200F_202E_202D_206C_202E(_206A_202A_206B_200F_206A_202D_202D_206A_200E_206B_206C_206A_202A_202B_206B_200B_202D_200B_200C_206F_206F_206C_206F_206E_200E_202C_202E_200E_206D_206E_200F_200D_202B_206E_202A_202C_206E_206B_200E_200C_202E(_installer, provider.InternalName, text)); + int num = ((pluginInstallStatus == PluginInstallStatus.InProgress) ? 931338616 : 931338618); + string text2 = default(string); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = 931338622; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + text2 = global::_003CModule_003E._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(1378809147); + flag = !_202C_200F_202A_206D_206D_200B_202A_202D_200F_206C_200F_206D_200D_202D_202D_202E_200C_202B_200F_206E_206F_200B_202B_200D_200D_206D_200C_200D_200F_206E_202A_202D_200B_202D_206D_202A_200B_202B_200C_202D_202E(_installer); + num = 931338620; + break; + case 6: + text2 = global::_003CModule_003E._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(-681385853); + flag = false; + num = 931338620; + break; + case 3: + text2 = global::_003CModule_003E._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(-1002098078); + flag = !_202C_200F_202A_206D_206D_200B_202A_202D_200F_206C_200F_206D_200D_202D_202D_202E_200C_202B_200F_206E_206F_200B_202B_200D_200D_206D_200C_200D_200F_206E_202A_202D_200B_202D_206D_202A_200B_202B_200C_202D_202E(_installer); + num = 931338620; + break; + case 4: + num = ((pluginInstallStatus == PluginInstallStatus.Failed) ? 931338621 : 931338623); + break; + case 0: + num = 931338618; + break; + case 1: + num = 931338619; + break; + case 2: + { + ImRaii.DisabledDisposable disabledDisposable = _206C_202C_206D_206B_202B_206A_202D_202D_202B_206B_202C_202E_206C_206D_202A_206B_206E_202C_200E_202C_202D_200E_206B_202D_202E_206F_202C_206D_206E_206B_200C_202A_202A_206E_202A_200F_200F_200E_206A_200E_202E(!flag); + try + { + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.ToggleOn, text2)) ? (-2109627536) : (-2109627533)); + while (true) + { + int num5 = num; + num3 = -2109627535; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = -2109627533; + break; + case 2: + _206F_202E_206A_200F_200F_200F_200C_202A_206E_200E_200D_200B_206E_200D_202A_200C_200B_200D_200E_202B_200B_202A_200E_200D_206C_202C_202C_202D_206F_202E_200C_202B_202D_206D_206B_202B_206D_206A_202E_202C_202E(_installer, provider.InternalName, text, provider.AliasUrls); + num = -2109627536; + break; + case 1: + return; + } + } + } + finally + { + num = ((disabledDisposable == null) ? 1605622938 : 1605622937); + while (true) + { + int num8 = num; + num3 = 1605622936; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + goto end_IL_01de; + case 1: + _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E((IDisposable)disabledDisposable); + num = 1605622938; + break; + case 0: + num = 1605622937; + break; + } + continue; + end_IL_01de: + break; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawInstallError(PluginProvider provider) + { + Uri? dalamudRepositoryUri = provider.DalamudRepositoryUri; + string text = (((object)dalamudRepositoryUri != null) ? _202B_206A_202D_206E_206B_200B_206C_206D_202C_202A_202A_200D_200B_200C_202C_200C_206E_206A_206E_200F_200C_206F_200B_206F_206C_202B_202C_206A_206F_206F_200F_206B_206C_200F_206C_200C_206A_200E_200B_206F_202E((object)dalamudRepositoryUri) : null); + PluginInstallState pluginInstallState = _206A_202A_206B_200F_206A_202D_202D_206A_200E_206B_206C_206A_202A_202B_206B_200B_202D_200B_200C_206F_206F_206C_206F_206E_200E_202C_202E_200E_206D_206E_200F_200D_202B_206E_202A_202C_206E_206B_200E_200C_202E(_installer, provider.InternalName, text); + int num = ((_206A_206A_202C_202C_206F_202E_206A_200F_200C_202B_206B_202D_200C_206F_206C_206A_200E_206A_206B_202A_202A_202E_200B_200E_206C_206C_200B_206F_200E_202C_202C_202B_206E_206B_200D_206F_200F_202E_202D_206C_202E(pluginInstallState) != PluginInstallStatus.Failed) ? 1117282439 : 1117282436); + while (true) + { + int num2 = num; + int num3 = 1117282439; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1117282436; + break; + case 3: + num = ((!_202A_206C_206D_202D_206B_202E_206E_200D_206E_202B_200F_200C_202D_202C_202B_202A_200E_206F_206D_200B_206B_202D_202A_206E_200E_202B_200F_202B_206C_202E_200B_202C_206F_206C_200D_200E_206B_200B_200E_200D_202E(_200E_200C_202D_202C_206A_202C_200F_206B_200F_200B_202E_200C_202C_206A_200F_206E_202B_200C_200C_200D_202C_202E_206E_200D_202B_206C_206A_206B_206E_206F_200F_200C_200E_202E_202D_206F_202D_206D_200E_206C_202E(pluginInstallState))) ? 1117282438 : 1117282439); + break; + case 1: + { + _200F_202E_200C_202C_200B_206A_206F_200C_206D_202B_202D_206E_206A_200E_206B_206B_206C_206A_202C_202A_202D_206E_206E_202D_200F_206D_202A_200B_200F_206B_206B_200F_202D_206D_200C_206B_206B_200E_200C_206E_202E(0f); + ImU8String imU8String = new ImU8String(8, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1468647696)); + imU8String.AppendFormatted(_200E_200C_202D_202C_206A_202C_200F_206B_200F_200B_202E_200C_202C_206A_200F_206E_202B_200C_200C_200D_202C_202E_206E_200D_202B_206C_206A_206B_206E_206F_200F_200C_200E_202E_202D_206F_202D_206D_200E_206C_202E(pluginInstallState)); + _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref UiThemeUtils.StatusLocked, imU8String); + _200B_202B_202B_206F_202D_202D_206D_200F_206A_206E_202E_206E_202C_202C_202C_206F_206A_200B_202A_202B_206E_206E_200D_200C_200C_202A_206B_206D_200B_206A_200C_200E_200D_200E_200F_206E_206D_202A_202D_202A_202E(); + return; + } + case 0: + return; + } + } + } + + static Uri _206B_202C_206D_202B_206A_206A_206E_202E_202C_200C_200D_202C_200C_202C_202B_206E_206E_200E_202C_206B_202B_202E_200E_200C_202E_200D_206E_206B_206C_206D_206D_202E_200E_202A_200F_206B_202E_200C_202B_202E(string P_0) + { + return new Uri(P_0); + } + + static bool _200F_206F_200D_206E_202A_206F_206D_206B_202C_202B_200D_206C_206C_200C_202A_206A_206C_206F_200B_202E_200B_202C_200C_206C_206C_206F_206A_200E_206C_200B_200D_206D_206A_206A_206E_202E_202C_202B_206D_202B_202E(ICommandManager P_0, string P_1) + { + return P_0.ProcessCommand(P_1); + } + + static void _202B_206D_206D_202C_200F_200E_200B_202D_200C_206A_206C_202A_206F_202C_206B_200C_202A_202E_200B_202C_200C_200E_206A_206A_202C_202D_200F_206D_206D_200F_206F_202C_200F_200F_206F_202B_202C_206B_202A_200F_202E() + { + ImGui.Spacing(); + } + + static IUiBuilder _202C_202B_200D_202D_202B_202B_206F_200C_202C_200F_200F_200B_206A_206F_206F_202C_206C_202E_206C_206B_200E_200F_206C_200D_206B_206D_200D_202A_200D_206E_202D_206B_202E_206E_202B_200E_206C_200D_200C_206C_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _202D_202D_202E_200B_200C_200B_206D_202C_200D_206C_206A_202B_200E_206F_206B_200C_206A_206A_206D_202E_202D_200E_202A_200D_200E_202D_202E_206F_202B_200E_202E_200E_206A_202A_206D_206E_206A_206D_206E_202E_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _202B_200F_200B_200E_206F_200D_202D_206C_202A_202D_202E_202D_206D_206E_206A_200D_200C_200F_206A_200D_200C_202A_206A_202A_202E_200C_206F_200B_206A_200D_202B_202C_202E_202A_206C_202A_202C_202C_202C_206E_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static string _206A_202B_202C_200D_206D_206B_200F_206C_206E_200C_200E_200F_206E_206D_200D_202C_202C_206F_206C_200C_206C_202B_202A_206F_200D_206B_202A_200C_206B_200E_200C_200E_200B_202A_206F_206A_206B_202E_200D_206A_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _200D_206F_206D_206A_202E_200E_202E_202C_200F_202C_206E_206C_202C_202B_200E_202C_200B_202B_206D_202B_202A_206A_206D_200B_202B_206F_206D_206C_200D_202C_200B_202C_206C_206C_202B_200B_202C_202C_202C_200F_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static ImGuiStylePtr _206A_206C_200E_200D_202D_202E_202C_200B_206E_200B_200B_206F_200D_202E_200B_200E_200C_202E_206D_200D_200C_206C_200C_202C_200E_200D_206F_202D_202E_206A_206B_206E_206F_200B_202A_200C_202B_202C_200F_206B_202E() + { + return ImGui.GetStyle(); + } + + static void _206E_206E_202C_202B_202D_202C_202D_200D_200E_202A_202D_206F_200F_200E_206A_200F_200F_206A_206C_206D_202C_200E_206C_200F_202A_200C_202D_206B_200C_202D_202B_202C_202C_200D_200C_202C_202C_206E_206C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _206F_202E_200C_202D_206F_206D_202D_202C_206D_200B_202D_202A_202D_202D_202C_200C_206B_206E_206C_200E_206D_206D_202E_206C_206D_206B_200F_200C_200E_206A_200F_202E_202C_200E_200E_206A_206E_200B_200B_202C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static ImRaii.DisabledDisposable _206C_202C_206D_206B_202B_206A_202D_202D_202B_206B_202C_202E_206C_206D_202A_206B_206E_202C_200E_202C_202D_200E_206B_202D_202E_206F_202C_206D_206E_206B_200C_202A_202A_206E_202A_200F_200F_200E_206A_200E_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static bool _206B_206F_200E_200B_202D_202D_206E_206B_202D_200F_206B_206A_206A_206E_202E_200B_206B_206B_206F_200F_200C_206C_200C_200B_202C_202B_206B_200F_206E_200B_206D_200D_202B_200C_200F_206A_200B_206B_202A_200E_202E(ImU8String P_0, bool P_1) + { + return ImGui.RadioButton(P_0, P_1); + } + + static void _206D_206D_206A_200F_202E_200B_202E_206C_206A_206E_206D_202C_202C_206C_202A_206D_202A_202B_206D_200C_200E_206B_202C_202C_200B_206B_202E_206B_206B_206B_202C_202B_200B_206F_200C_200D_206B_200F_202A_202C_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); + } + + static IEnumerable _200B_200F_202C_200B_206D_206F_202A_202E_202E_202A_202A_202C_200C_206F_202B_200F_206E_206B_200B_200D_200F_200D_206D_206E_202C_202E_206F_200F_200D_206E_206C_202C_206A_202D_206F_206D_200E_206F_206D_202A_202E(IDalamudPluginInterface P_0) + { + return P_0.InstalledPlugins; + } + + static string _200D_202D_200E_202E_202E_206F_206C_206B_202C_200D_202E_202E_202A_202A_200B_200C_200B_206A_206E_200F_206D_200D_200D_200C_200E_206D_202E_206C_200F_202E_206D_200F_202E_200E_206E_202B_206C_206A_206B_206E_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static string _202E_200E_202E_206E_202D_200B_202B_200B_200E_200E_200C_206A_202E_206E_206F_202C_206F_206C_202C_200B_200B_202E_200B_206F_200F_206E_202E_202D_206D_200C_206A_202D_206E_206C_200B_200B_206F_200D_202B_202A_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static ImRaii.IdDisposable _206C_200C_200B_200D_202A_202B_202C_200B_202E_202E_206F_202A_202B_200E_202A_200F_206B_206F_206E_200E_206B_206A_206E_202C_202E_206E_200C_200D_202A_200B_206F_202A_200B_202C_200B_202B_206E_202C_206C_202B_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static void _202D_202A_206D_206B_200B_200F_200E_200B_200B_206B_200F_202A_200F_206D_200C_200F_206C_200E_202D_202D_200D_206E_202A_206C_200C_202E_200B_206C_206F_206E_202E_202E_206E_206D_206E_200B_206E_200F_206F_200E_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static ImRaii.IndentDisposable _200B_200C_200D_200F_202E_200F_206D_206E_200D_202C_200B_206D_202B_200F_200E_206E_202A_200D_200D_200D_200C_200F_206B_200B_200C_202A_202E_206E_206D_200F_202C_200C_206C_200F_200C_206C_206A_206B_206B_206D_202E(float P_0, bool P_1, bool P_2) + { + return ImRaii.PushIndent(P_0, P_1, P_2); + } + + static bool _202A_206C_206D_202D_206B_202E_206E_200D_206E_202B_200F_200C_202D_202C_202B_202A_200E_206F_206D_200B_206B_202D_202A_206E_200E_202B_200F_202B_206C_202E_200B_202C_206F_206C_200D_200E_206B_200B_200E_200D_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static void _200F_202E_200C_202C_200B_206A_206F_200C_206D_202B_202D_206E_206A_200E_206B_206B_206C_206A_202C_202A_202D_206E_206E_202D_200F_206D_202A_200B_200F_206B_206B_200F_202D_206D_200C_206B_206B_200E_200C_206E_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static void _202A_202D_200F_202E_202D_202C_200F_200C_206C_200E_200E_202E_202E_200D_206F_200D_206C_200E_202C_206A_206E_200E_200B_206D_202B_206B_200B_202B_202B_200B_206E_206C_200E_202E_206E_202C_200B_206A_206C_202C_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _200B_202B_202B_206F_202D_202D_206D_200F_206A_206E_202E_206E_202C_202C_202C_206F_206A_200B_202A_202B_206E_206E_200D_200C_200C_202A_206B_206D_200B_206A_200C_200E_200D_200E_200F_206E_206D_202A_202D_202A_202E() + { + ImGui.PopTextWrapPos(); + } + + static bool _206B_200E_202B_200C_206B_202C_206F_206B_202A_202D_202A_202D_202C_206D_200B_200B_200E_206A_206A_206C_202E_202B_200B_206B_200E_202C_200C_202E_202A_202E_200E_202D_202E_206F_202E_206B_202C_200C_206F_206F_202E(IExposedPlugin P_0) + { + return P_0.IsLoaded; + } + + static void _206F_202A_202D_202E_202B_200C_202D_206B_202D_206E_200C_200E_200F_206C_206F_202C_200F_200B_202A_206B_206A_202D_206C_200B_200E_206A_202A_202E_202C_200B_206C_206A_202C_202E_202E_202A_200B_206A_206F_200E_202E() + { + ImGui.SameLine(); + } + + static Version _202C_202B_200C_206B_202C_200C_202D_200D_206B_202E_206D_200C_206D_206B_200F_202C_206B_206A_200E_202B_206C_200B_200F_200E_206C_200C_200F_206A_200F_206B_202C_200E_206C_202D_200E_200E_206C_202B_200B_206E_202E(IExposedPlugin P_0) + { + return P_0.Version; + } + + static void _202B_200B_206A_200C_200D_202E_200B_200C_206A_206E_202B_206D_202B_202D_206B_206F_200B_206E_200E_200C_206E_202C_202D_200D_202C_200C_200F_206C_206B_202C_200D_202B_202B_206B_202D_200E_200C_200D_206E_200C_202E(float P_0) + { + ImGui.SameLine(P_0); + } + + static void _202D_200E_206B_206A_202C_200D_206F_206C_202C_206D_206D_202B_206D_202D_200B_200D_200D_206D_202A_202E_206B_206E_202C_202E_206C_200E_206C_202B_202A_202C_202A_206F_206A_206B_200B_202D_200B_206A_206D_206C_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static bool _206A_206F_206D_206A_200D_202A_202A_206E_200F_200C_200C_200F_206A_202D_200F_206F_206E_202A_200C_206C_200E_200C_202B_200F_206C_202C_202E_206C_200C_206B_206B_206D_206E_206A_200C_206B_206E_200B_206A_202A_202E(Uri P_0, Uri P_1) + { + return P_0 != P_1; + } + + static string _202B_206A_202D_206E_206B_200B_206C_206D_202C_202A_202A_200D_200B_200C_202C_200C_206E_206A_206E_200F_200C_206F_200B_206F_206C_202B_202C_206A_206F_206F_200F_206B_206C_200F_206C_200C_206A_200E_200B_206F_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200F_206E_200B_202A_206F_202B_200B_206D_202D_206E_200D_206D_200C_202D_200F_202E_200D_202B_206F_206C_202B_206C_206C_200D_206A_200C_206C_202A_206B_202C_202E_206C_206B_200D_202C_206B_200D_206A_206E_206B_202E(string P_0) + { + Util.OpenLink(P_0); + } + + static bool _200B_200F_200D_202A_202D_200D_202A_206C_200D_200B_206E_200C_206B_206A_200E_206E_202D_200E_200F_202A_202D_202B_206E_200D_206C_206A_202A_202E_206C_200F_200E_206F_206C_206D_206C_206D_206A_200E_206E_202B_202E(string P_0, char P_1) + { + return P_0.StartsWith(P_1); + } + + static PluginInstallState _206A_202A_206B_200F_206A_202D_202D_206A_200E_206B_206C_206A_202A_202B_206B_200B_202D_200B_200C_206F_206F_206C_206F_206E_200E_202C_202E_200E_206D_206E_200F_200D_202B_206E_202A_202C_206E_206B_200E_200C_202E(PluginInstaller P_0, string P_1, string P_2) + { + return P_0.GetState(P_1, P_2); + } + + static PluginInstallStatus _206A_206A_202C_202C_206F_202E_206A_200F_200C_202B_206B_202D_200C_206F_206C_206A_200E_206A_206B_202A_202A_202E_200B_200E_206C_206C_200B_206F_200E_202C_202C_202B_206E_206B_200D_206F_200F_202E_202D_206C_202E(PluginInstallState P_0) + { + return P_0.Status; + } + + static bool _202C_200F_202A_206D_206D_200B_202A_202D_200F_206C_200F_206D_200D_202D_202D_202E_200C_202B_200F_206E_206F_200B_202B_200D_200D_206D_200C_200D_200F_206E_202A_202D_200B_202D_206D_202A_200B_202B_200C_202D_202E(PluginInstaller P_0) + { + return P_0.IsAnyInstallInProgress; + } + + static bool _200C_206A_206D_202E_206D_202E_200B_206E_200F_200F_202B_202C_206B_202E_206C_202B_200B_202C_206A_200E_200E_200C_206A_202D_202E_206E_202A_202E_202E_206B_206D_202C_202E_200E_206F_206C_200F_202B_202D_206B_202E(PluginInstaller P_0, string P_1, string P_2, IReadOnlyList P_3) + { + return P_0.TryInstall(P_1, P_2, P_3); + } + + static bool _206F_202E_206A_200F_200F_200F_200C_202A_206E_200E_200D_200B_206E_200D_202A_200C_200B_200D_200E_202B_200B_202A_200E_200D_206C_202C_202C_202D_206F_202E_200C_202B_202D_206D_206B_202B_206D_206A_202E_202C_202E(PluginInstaller P_0, string P_1, string P_2, IReadOnlyList P_3) + { + return P_0.TryEnable(P_1, P_2, P_3); + } + + static string _200E_200C_202D_202C_206A_202C_200F_206B_200F_200B_202E_200C_202C_206A_200F_206E_202B_200C_200C_200D_202C_202E_206E_200D_202B_206C_206A_206B_206E_206F_200F_200C_200E_202E_202D_206F_202D_206D_200E_206C_202E(PluginInstallState P_0) + { + return P_0.ErrorMessage; + } + + static void _206F_206D_206A_202E_200F_200F_206F_206D_200C_200F_206E_202C_202D_200F_200D_200F_200B_206C_206B_202B_200F_200C_206F_202A_206B_206F_202D_200D_202B_206F_202E_206E_202A_202C_202D_206F_206F_200B_202C_200E_202E(ImU8String P_0) + { + ImGui.TextDisabled(P_0); + } + + static void _206D_206B_206A_202D_200E_202E_206D_200E_200E_200D_206B_206D_206C_206A_200D_206B_206D_206F_206F_200B_200F_206A_200F_202E_202C_206B_200C_206A_206B_200F_202D_200E_206F_202E_202A_202D_202E_200D_202A_202C_202E() + { + ImGui.Separator(); } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/QuestsConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/QuestsConfigComponent.cs new file mode 100644 index 00000000..a739d829 --- /dev/null +++ b/Questionable/Questionable.Windows.ConfigComponents/QuestsConfigComponent.cs @@ -0,0 +1,604 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface.Utility.Raii; +using Dalamud.Plugin; +using Questionable.Controller; +using Questionable.Data; +using Questionable.Model.Questing; + +namespace Questionable.Windows.ConfigComponents; + +internal sealed class QuestsConfigComponent : ConfigComponent +{ + private static readonly string[] RoleQuestPreferenceNames = new string[6] + { + global::_003CModule_003E._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(782819251), + global::_003CModule_003E._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(-1988067926), + global::_003CModule_003E._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(1416322900), + global::_003CModule_003E._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(775671530), + global::_003CModule_003E._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(-642103101), + global::_003CModule_003E._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(-1075445521) + }; + + private readonly string[] _msqPriorityNames = new string[3] + { + global::_003CModule_003E._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(728941723), + global::_003CModule_003E._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(-1545248646), + global::_003CModule_003E._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(-1566075214) + }; + + private readonly QuestRegistry _questRegistry; + + private readonly TerritoryData _territoryData; + + [MethodImpl(MethodImplOptions.NoInlining)] + 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(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawStoryAndProgression() + { + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(237164093)); + (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; + _206A_202B_200E_200E_206A_206F_202C_200D_206F_200B_206C_202B_200B_206B_202A_202A_202B_206F_200D_206F_200D_202E_206E_202E_202A_206D_206E_200D_206D_206B_206A_200E_202D_202D_200F_206A_206F_200C_206D_202E_202E(_202A_200C_202C_200E_206D_200D_202B_206C_200C_202D_206B_200C_206F_200C_200C_200D_206C_202A_206D_206C_202D_200F_206C_202A_202B_206E_202C_202E_206D_202C_206C_202A_206D_206D_202A_200C_200F_200F_206F_200D_202E(_202C_200D_200B_202B_206A_206F_206E_200C_200E_200E_200F_200D_202D_202E_202B_200B_202B_200E_200C_200C_200D_206D_202B_200D_200C_202D_202E_202B_206E_206A_206E_202C_206A_206F_200B_200C_206C_206A_206D_206E_202E().X * 0.6f, 260f)); + int num = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(-812204508), ref currentItem, _msqPriorityNames, _msqPriorityNames.Length)) ? (-1137741193) : (-1137741192)); + bool value3 = default(bool); + bool value = default(bool); + bool value2 = default(bool); + while (true) + { + int num2 = num; + int num3 = -1137741200; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = -1137741192; + break; + case 6: + UiThemeUtils.EndCard(item, item2, item3); + return; + case 3: + _206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E(); + UiThemeUtils.InfoIcon(BuildLowPriorityDutyTooltip()); + value3 = base.Configuration.Advanced.SkipARealmRebornHardModePrimals; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1581997806), ref value3, global::_003CModule_003E._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(1805083128))) ? (-1137741199) : (-1137741196)); + break; + case 1: + value = base.Configuration.Advanced.SkipCrystalTowerRaids; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(597003945), ref value, global::_003CModule_003E._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(600330157))) ? (-1137741194) : (-1137741198)); + break; + case 7: + _206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(-844746693)); + value2 = base.Configuration.General.SkipLowPriorityDuties; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1739526740), ref value2)) ? (-1137741197) : (-1137741200)); + break; + case 8: + base.Configuration.General.MsqPriority = (Configuration.EMsqPriorityMode)currentItem; + Save(); + num = -1137741193; + break; + case 4: + base.Configuration.Advanced.SkipARealmRebornHardModePrimals = value3; + Save(); + num = -1137741199; + break; + case 0: + base.Configuration.General.SkipLowPriorityDuties = value2; + Save(); + num = -1137741197; + break; + case 2: + base.Configuration.Advanced.SkipCrystalTowerRaids = value; + Save(); + num = -1137741194; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawSideContent() + { + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-1505105599)); + (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; + int num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-287751804), ref value, global::_003CModule_003E._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(695773902))) ? 701911122 : 701911123); + bool value2 = default(bool); + bool value3 = default(bool); + bool value5 = default(bool); + while (true) + { + int num2 = num; + int num3 = 701911120; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 701911123; + break; + case 2: + value2 = base.Configuration.Advanced.SkipRoleQuests; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1998442994), ref value2, global::_003CModule_003E._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(1288406521))) ? 701911121 : 701911124); + break; + case 3: + base.Configuration.Advanced.SkipClassJobQuests = value; + Save(); + num = 701911122; + break; + case 4: + base.Configuration.Advanced.SkipRoleQuests = value2; + Save(); + num = 701911121; + break; + case 1: + { + ImRaii.DisabledDisposable disabledDisposable = _200F_200F_200E_200D_202D_200D_202B_206A_206E_200C_206A_202E_200D_200E_206B_202E_202D_206F_206C_206D_206C_200F_202B_200B_206A_202B_202C_202B_206A_202D_206F_202C_206C_206D_206F_206B_200C_206C_200C_200F_202E(value2); + try + { + ImRaii.IndentDisposable indentDisposable = _200F_202E_206D_202B_206F_202C_206A_206B_206B_206E_206B_206B_202C_206A_202E_206C_200E_200C_206B_202C_200F_202B_206D_202A_202D_202A_202E_202B_206B_206C_202A_202B_202E_206B_206D_202C_206D_200B_200E_200D_202E(1, true); + try + { + int currentItem = (int)base.Configuration.Advanced.RoleQuestPreference; + _206A_202B_200E_200E_206A_206F_202C_200D_206F_200B_206C_202B_200B_206B_202A_202A_202B_206F_200D_206F_200D_202E_206E_202E_202A_206D_206E_200D_206D_206B_206A_200E_202D_202D_200F_206A_206F_200C_206D_202E_202E(_202A_200C_202C_200E_206D_200D_202B_206C_200C_202D_206B_200C_206F_200C_200C_200D_206C_202A_206D_206C_202D_200F_206C_202A_202B_206E_202C_202E_206D_202C_206C_202A_206D_206D_202A_200C_200F_200F_206F_200D_202E(260f, _202C_200D_200B_202B_206A_206F_206E_200C_200E_200E_200F_200D_202D_202E_202B_200B_202B_200E_200C_200C_200D_206D_202B_200D_200C_202D_202E_202B_206E_206A_206E_202C_206A_206F_200B_200C_206C_206A_206D_206E_202E().X)); + num = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(1098205123), ref currentItem, RoleQuestPreferenceNames, RoleQuestPreferenceNames.Length)) ? 961882088 : 961882093); + while (true) + { + int num5 = num; + num3 = 961882092; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + _206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(-278600332)); + value3 = base.Configuration.Advanced.ContinueRoleQuestsAfterShb; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-368335617), ref value3, global::_003CModule_003E._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(-540198939))) ? 961882095 : 961882094); + break; + case 2: + base.Configuration.Advanced.ContinueRoleQuestsAfterShb = value3; + Save(); + num = 961882095; + break; + case 0: + num = 961882093; + break; + case 1: + base.Configuration.Advanced.RoleQuestPreference = (ERoleQuestPreference)currentItem; + Save(); + num = 961882088; + break; + case 3: + goto end_IL_01b9; + } + continue; + end_IL_01b9: + break; + } + } + finally + { + num = ((indentDisposable == null) ? 1246267524 : 1246267527); + while (true) + { + int num6 = num; + num3 = 1246267525; + num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 0: + num = 1246267527; + break; + case 1: + goto end_IL_02c3; + case 2: + _202B_202A_202C_206D_206A_206F_200F_202B_200C_200D_200E_202A_202B_200C_206E_202B_202B_202B_200D_206B_206D_206B_202E_206B_206C_202D_200E_206A_202E_206C_200C_206C_202A_202D_202E_202B_200B_202A_206E_200C_202E((IDisposable)indentDisposable); + num = 1246267524; + break; + } + continue; + end_IL_02c3: + break; + } + } + } + finally + { + num = ((disabledDisposable == null) ? (-306243295) : (-306243296)); + while (true) + { + int num9 = num; + num3 = -306243295; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 2: + num = -306243296; + break; + case 1: + _202B_202A_202C_206D_206A_206F_200F_202B_200C_200D_200E_202A_202B_200C_206E_202B_202B_202B_200D_206B_206D_206B_202E_206B_206C_202D_200E_206A_202E_206C_200C_206C_202A_202D_202E_202B_200B_202A_206E_200C_202E((IDisposable)disabledDisposable); + num = -306243295; + break; + case 0: + goto end_IL_0330; + } + continue; + end_IL_0330: + break; + } + } + bool value4 = base.Configuration.Advanced.SkipAetherCurrents; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1840272948), ref value4, global::_003CModule_003E._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(2059790792))) ? (-1684768103) : (-1684768097)); + while (true) + { + int num12 = num; + num3 = -1684768099; + num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 4: + value5 = base.Configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1599968493), ref value5, global::_003CModule_003E._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(1897441794))) ? (-1684768100) : (-1684768099)); + break; + case 1: + UiThemeUtils.EndCard(item, item2, item3); + return; + case 0: + base.Configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp = value5; + Save(); + num = -1684768100; + break; + case 3: + num = -1684768097; + break; + case 2: + base.Configuration.Advanced.SkipAetherCurrents = value4; + Save(); + num = -1684768103; + break; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawPriorityQuests() + { + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-353625027)); + (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; + int num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-577769319), ref value, global::_003CModule_003E._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(-1807354534))) ? 1805304050 : 1805304055); + bool value2 = default(bool); + bool value3 = default(bool); + while (true) + { + int num2 = num; + int num3 = 1805304054; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + value2 = base.Configuration.General.ClearPriorityQuestsOnLogout; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-1009601852), ref value2, global::_003CModule_003E._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(247181671))) ? 1805304053 : 1805304048); + break; + case 1: + base.Configuration.General.PersistPriorityQuestsBetweenSessions = value; + Save(); + num = 1805304050; + break; + case 3: + value3 = base.Configuration.General.ClearPriorityQuestsOnCompletion; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-441944134), ref value3, global::_003CModule_003E._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(1752253012))) ? 1805304054 : 1805304051); + break; + case 0: + UiThemeUtils.EndCard(item, item2, item3); + return; + case 5: + base.Configuration.General.ClearPriorityQuestsOnCompletion = value3; + Save(); + num = 1805304054; + break; + case 6: + base.Configuration.General.ClearPriorityQuestsOnLogout = value2; + Save(); + num = 1805304053; + break; + case 2: + num = 1805304055; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawQuestDetails() + { + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-599014717)); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + _202C_206A_200F_200D_202A_206D_206D_200B_206A_202C_202D_206C_200F_200B_200C_200C_206D_206E_206E_202B_202D_202E_200E_206C_206C_202A_202A_206A_200B_202A_206B_202B_202C_206C_202A_206F_202A_200D_206E_202E_202E(); + _206D_202D_202A_202D_202E_200F_202E_200E_202A_202E_200B_206A_200E_200C_202B_206B_206A_202C_206E_206C_206A_206B_206B_200B_202E_202A_200B_200B_200C_206B_206A_202D_200F_206D_202A_200E_200C_202B_200D_206B_202E((ImU8String)global::_003CModule_003E._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(746105637)); + _206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E(); + string chocoboName = base.Configuration.Advanced.ChocoboName; + _206A_202B_200E_200E_206A_206F_202C_200D_206F_200B_206C_202B_200B_206B_202A_202A_202B_206F_200D_206F_200D_202E_206E_202E_202A_206D_206E_200D_206D_206B_206A_200E_202D_202D_200F_206A_206F_200C_206D_202E_202E(_202A_200C_202C_200E_206D_200D_202B_206C_200C_202D_206B_200C_206F_200C_200C_200D_206C_202A_206D_206C_202D_200F_206C_202A_202B_206E_202C_202E_206D_202C_206C_202A_206D_206D_202A_200C_200F_200F_206F_200D_202E(260f, _202C_200D_200B_202B_206A_206F_206E_200C_200E_200E_200F_200D_202D_202E_202B_200B_202B_200E_200C_200C_200D_206D_202B_200D_200C_202D_202E_202B_206E_206A_206E_202C_206A_206F_200B_200C_206C_206A_206D_206E_202E().X)); + int num = ((!_206B_200E_206C_206A_206F_206F_206F_202C_200F_202C_202C_206A_200C_202E_202A_206A_200D_202E_202B_200E_202B_200E_202C_200E_202A_200D_200B_200C_206F_206B_202C_202A_200C_206A_200E_206D_206C_206F_200D_200E_202E((ImU8String)global::_003CModule_003E._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(-1101377353), ref chocoboName, 20, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null)) ? 1006772323 : 1006772320); + bool value = default(bool); + while (true) + { + int num2 = num; + int num3 = 1006772323; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = (_206A_200D_200B_202E_200C_200B_206B_200B_206A_206C_202A_202C_202B_206D_206C_200D_206D_200F_206E_206A_206C_200C_202B_206D_202E_206B_202B_202D_200B_202A_206D_202B_200F_206B_206F_202B_202E_202A_206A_202D_202E(chocoboName) ? 1006772322 : 1006772324); + break; + case 7: + num = ((_200C_200F_206E_202A_200E_200C_206D_202D_202B_206E_202D_206E_200D_202C_206C_200B_202A_202E_206E_202D_202C_206C_206A_200E_200C_202E_206D_206A_206E_206B_206F_206A_206A_200D_202B_206D_202D_200D_202E_202B_202E(chocoboName) >= 2) ? 1006772322 : 1006772325); + break; + case 1: + _206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(-743653940)); + value = base.Configuration.Advanced.PreventQuestCompletion; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1717929186), ref value, global::_003CModule_003E._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(488343971))) ? 1006772326 : 1006772321); + break; + case 5: + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + return; + case 2: + base.Configuration.Advanced.PreventQuestCompletion = value; + Save(); + num = 1006772326; + break; + case 4: + num = 1006772320; + break; + case 3: + base.Configuration.Advanced.ChocoboName = FormatChocoboName(chocoboName); + Save(); + num = 1006772323; + break; + case 6: + _206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E(); + _200F_202D_206C_206E_200F_202C_206A_202D_200D_200B_206C_202E_206A_200E_202A_200D_206C_202E_202D_206C_200E_200E_206C_202D_202E_206F_202B_202C_202A_202C_200F_200B_202C_200C_202A_206D_206F_202D_206B_202B_202E(ref UiThemeUtils.StatusLocked, (ImU8String)global::_003CModule_003E._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(269183977)); + num = 1006772322; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private string BuildLowPriorityDutyTooltip() + { + string text = global::_003CModule_003E._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(-452308535); + IEnumerator<(uint, ElementId, int)> enumerator = _questRegistry.LowPriorityContentFinderConditionQuests.GetEnumerator(); + try + { + int num = 1407189999; + TerritoryData.ContentFinderConditionData contentFinderConditionData = default(TerritoryData.ContentFinderConditionData); + while (true) + { + int num2 = num; + int num3 = 1407189996; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + text = _202A_206E_206A_206C_206E_206C_202D_200D_202D_206B_202C_206B_202D_200F_200B_206D_200C_202D_202A_206C_206B_206B_202B_206F_202D_200B_206A_202A_206E_206D_202B_200D_202D_206B_200F_200E_202C_202B_200C_206C_202E(text, global::_003CModule_003E._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(-1097491456), contentFinderConditionData.Name); + num = 1407189999; + break; + case 1: + { + (uint, ElementId, int) current = enumerator.Current; + num = ((!_territoryData.TryGetContentFinderCondition(current.Item1, out contentFinderConditionData)) ? 1407189999 : 1407189992); + break; + } + case 2: + num = 1407189999; + break; + case 3: + num = (_202A_206A_206C_200D_200F_202D_206E_202C_206B_202C_206E_206F_200B_206F_202B_206D_206D_202B_200D_202B_202D_202B_202C_206E_200D_206C_202B_206B_206E_206D_202B_202A_202A_200C_206D_206B_206E_202C_200E_206F_202E((IEnumerator)enumerator) ? 1407189997 : 1407189996); + break; + case 0: + return text; + } + } + } + finally + { + int num = ((enumerator == null) ? 1125418101 : 1125418102); + while (true) + { + int num5 = num; + int num3 = 1125418100; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_0108; + case 2: + _202B_202A_202C_206D_206A_206F_200F_202B_200C_200D_200E_202A_202B_200C_206E_202B_202B_202B_200D_206B_206D_206B_202E_206B_206C_202D_200E_206A_202E_206C_200C_206C_202A_202D_202E_202B_200B_202A_206E_200C_202E((IDisposable)enumerator); + num = 1125418101; + break; + case 0: + num = 1125418102; + break; + } + continue; + end_IL_0108: + break; + } + } + } + + private static string FormatChocoboName(string name) + { + int num = ((!_206A_200D_200B_202E_200C_200B_206B_200B_206A_206C_202A_202C_202B_206D_206C_200D_206D_200F_206E_206A_206C_200C_202B_206D_202E_206B_202B_202D_200B_202A_206D_202B_200F_206B_206F_202B_202E_202A_206A_202D_202E(name)) ? (-1145813507) : (-1145813509)); + while (true) + { + int num2 = num; + int num3 = -1145813505; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return string.Empty; + case 1: + return _200E_206E_206A_206E_206E_202B_202C_202A_206B_206D_206C_200D_206B_206D_202E_206D_206F_202E_206E_206C_206A_206E_206F_202B_202E_200B_206B_206B_202E_200B_200F_202B_200B_206B_200F_202C_202D_206D_202D_200E_202E(_200D_202A_202B_206D_202B_200C_200D_206B_202C_206F_200C_200E_206B_206D_206B_206C_206A_202E_206C_200B_200F_200E_206B_202E_202A_206A_206A_206F_202A_206F_206B_202D_200D_206B_206E_200B_206E_202E_206D_200F_202E(_206F_200D_206A_202B_200D_206E_206E_202C_200C_202A_202B_202D_200D_202C_200C_202E_200C_206E_206E_200D_206C_206C_206B_200B_206E_206F_202C_206C_202D_206E_206A_206E_202B_206C_200D_200B_200F_206C_202B_200E_202E(name, 0, 1)), (_200C_200F_206E_202A_200E_200C_206D_202D_202B_206E_202D_206E_200D_202C_206C_200B_202A_202E_206E_202D_202C_206C_206A_200E_200C_202E_206D_206A_206E_206B_206F_206A_206A_200D_202B_206D_202D_200D_202E_202B_202E(name) > 1) ? _206A_200F_202B_202B_202B_202E_200C_206B_206E_206B_206C_206C_200C_202B_200C_206A_202E_202E_206D_206E_206D_202C_202B_200F_206F_206E_200D_206E_206D_200D_202D_202B_202A_200C_200D_202C_202A_202E_202D_206B_202E(_206B_202C_206B_206F_200C_200B_206F_206F_200E_200D_206D_206B_202B_206B_202A_202C_206C_200C_206A_206E_202A_206D_200D_206C_206A_206D_206D_200D_200D_206E_202C_206D_200F_202C_206D_206B_202C_202A_206F_202A_202E(name, 1)) : string.Empty); + case 2: + name = _202E_202D_206E_206A_202B_206E_202C_200C_200F_206E_200B_200E_206E_202B_206F_200C_202B_202C_206F_202E_206D_202B_206F_200E_200C_202E_206D_202C_200F_202A_202A_206E_202B_200C_200F_200E_206F_200D_200E_202B_202E(name); + num = ((_200C_200F_206E_202A_200E_200C_206D_202D_202B_206E_202D_206E_200D_202C_206C_200B_202A_202E_206E_202D_202C_206C_206A_200E_200C_202E_206D_206A_206E_206B_206F_206A_206A_200D_202B_206D_202D_200D_202E_202B_202E(name) != 0) ? (-1145813506) : (-1145813505)); + break; + case 3: + num = -1145813509; + break; + case 4: + return string.Empty; + } + } + } + + static Vector2 _202C_200D_200B_202B_206A_206F_206E_200C_200E_200E_200F_200D_202D_202E_202B_200B_202B_200E_200C_200C_200D_206D_202B_200D_200C_202D_202E_202B_206E_206A_206E_202C_206A_206F_200B_200C_206C_206A_206D_206E_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _202A_200C_202C_200E_206D_200D_202B_206C_200C_202D_206B_200C_206F_200C_200C_200D_206C_202A_206D_206C_202D_200F_206C_202A_202B_206E_202C_202E_206D_202C_206C_202A_206D_206D_202A_200C_200F_200F_206F_200D_202E(float P_0, float P_1) + { + return MathF.Min(P_0, P_1); + } + + static void _206A_202B_200E_200E_206A_206F_202C_200D_206F_200B_206C_202B_200B_206B_202A_202A_202B_206F_200D_206F_200D_202E_206E_202E_202A_206D_206E_200D_206D_206B_206A_200E_202D_202D_200F_206A_206F_200C_206D_202E_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static void _206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E() + { + ImGui.SameLine(); + } + + static ImRaii.DisabledDisposable _200F_200F_200E_200D_202D_200D_202B_206A_206E_200C_206A_202E_200D_200E_206B_202E_202D_206F_206C_206D_206C_200F_202B_200B_206A_202B_202C_202B_206A_202D_206F_202C_206C_206D_206F_206B_200C_206C_200C_200F_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static ImRaii.IndentDisposable _200F_202E_206D_202B_206F_202C_206A_206B_206B_206E_206B_206B_202C_206A_202E_206C_200E_200C_206B_202C_200F_202B_206D_202A_202D_202A_202E_202B_206B_206C_202A_202B_202E_206B_206D_202C_206D_200B_200E_200D_202E(int P_0, bool P_1) + { + return ImRaii.PushIndent(P_0, P_1); + } + + static void _202B_202A_202C_206D_206A_206F_200F_202B_200C_200D_200E_202A_202B_200C_206E_202B_202B_202B_200D_206B_206D_206B_202E_206B_206C_202D_200E_206A_202E_206C_200C_206C_202A_202D_202E_202B_200B_202A_206E_200C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202C_206A_200F_200D_202A_206D_206D_200B_206A_202C_202D_206C_200F_200B_200C_200C_206D_206E_206E_202B_202D_202E_200E_206C_206C_202A_202A_206A_200B_202A_206B_202B_202C_206C_202A_206F_202A_200D_206E_202E_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static void _206D_202D_202A_202D_202E_200F_202E_200E_202A_202E_200B_206A_200E_200C_202B_206B_206A_202C_206E_206C_206A_206B_206B_200B_202E_202A_200B_200B_200C_206B_206A_202D_200F_206D_202A_200E_200C_202B_200D_206B_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static bool _206B_200E_206C_206A_206F_206F_206F_202C_200F_202C_202C_206A_200C_202E_202A_206A_200D_202E_202B_200E_202B_200E_202C_200E_202A_200D_200B_200C_206F_206B_202C_202A_200C_206A_200E_206D_206C_206F_200D_200E_202E(ImU8String P_0, ref string P_1, int P_2, ImGuiInputTextFlags P_3, ImGui.ImGuiInputTextCallbackDelegate P_4) + { + return ImGui.InputText(P_0, ref P_1, P_2, P_3, P_4); + } + + static bool _206A_200D_200B_202E_200C_200B_206B_200B_206A_206C_202A_202C_202B_206D_206C_200D_206D_200F_206E_206A_206C_200C_202B_206D_202E_206B_202B_202D_200B_202A_206D_202B_200F_206B_206F_202B_202E_202A_206A_202D_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static int _200C_200F_206E_202A_200E_200C_206D_202D_202B_206E_202D_206E_200D_202C_206C_200B_202A_202E_206E_202D_202C_206C_206A_200E_200C_202E_206D_206A_206E_206B_206F_206A_206A_200D_202B_206D_202D_200D_202E_202B_202E(string P_0) + { + return P_0.Length; + } + + static void _200F_202D_206C_206E_200F_202C_206A_202D_200D_200B_206C_202E_206A_200E_202A_200D_206C_202E_202D_206C_200E_200E_206C_202D_202E_206F_202B_202C_202A_202C_200F_200B_202C_200C_202A_206D_206F_202D_206B_202B_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static string _202A_206E_206A_206C_206E_206C_202D_200D_202D_206B_202C_206B_202D_200F_200B_206D_200C_202D_202A_206C_206B_206B_202B_206F_202D_200B_206A_202A_206E_206D_202B_200D_202D_206B_200F_200E_202C_202B_200C_206C_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static bool _202A_206A_206C_200D_200F_202D_206E_202C_206B_202C_206E_206F_200B_206F_202B_206D_206D_202B_200D_202B_202D_202B_202C_206E_200D_206C_202B_206B_206E_206D_202B_202A_202A_200C_206D_206B_206E_202C_200E_206F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static string _202E_202D_206E_206A_202B_206E_202C_200C_200F_206E_200B_200E_206E_202B_206F_200C_202B_202C_206F_202E_206D_202B_206F_200E_200C_202E_206D_202C_200F_202A_202A_206E_202B_200C_200F_200E_206F_200D_200E_202B_202E(string P_0) + { + return P_0.Trim(); + } + + static string _206F_200D_206A_202B_200D_206E_206E_202C_200C_202A_202B_202D_200D_202C_200C_202E_200C_206E_206E_200D_206C_206C_206B_200B_206E_206F_202C_206C_202D_206E_206A_206E_202B_206C_200D_200B_200F_206C_202B_200E_202E(string P_0, int P_1, int P_2) + { + return P_0.Substring(P_1, P_2); + } + + static string _200D_202A_202B_206D_202B_200C_200D_206B_202C_206F_200C_200E_206B_206D_206B_206C_206A_202E_206C_200B_200F_200E_206B_202E_202A_206A_206A_206F_202A_206F_206B_202D_200D_206B_206E_200B_206E_202E_206D_200F_202E(string P_0) + { + return P_0.ToUpperInvariant(); + } + + static string _206B_202C_206B_206F_200C_200B_206F_206F_200E_200D_206D_206B_202B_206B_202A_202C_206C_200C_206A_206E_202A_206D_200D_206C_206A_206D_206D_200D_200D_206E_202C_206D_200F_202C_206D_206B_202C_202A_206F_202A_202E(string P_0, int P_1) + { + return P_0.Substring(P_1); + } + + static string _206A_200F_202B_202B_202B_202E_200C_206B_206E_206B_206C_206C_200C_202B_200C_206A_202E_202E_206D_206E_206D_202C_202B_200F_206F_206E_200D_206E_206D_200D_202D_202B_202A_200C_200D_202C_202A_202E_202D_206B_202E(string P_0) + { + return P_0.ToLowerInvariant(); + } + + static string _200E_206E_206A_206E_206E_202B_202C_202A_206B_206D_206C_200D_206B_206D_202E_206D_206F_202E_206E_206C_206A_206E_206F_202B_202E_200B_206B_206B_202E_200B_200F_202B_200B_206B_200F_202C_202D_206D_202D_200E_202E(string P_0, string P_1) + { + return P_0 + P_1; + } +} diff --git a/Questionable/Questionable.Windows.ConfigComponents/SinglePlayerDutyConfigComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/SinglePlayerDutyConfigComponent.cs index d95b2e69..b2b8c3cd 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/SinglePlayerDutyConfigComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/SinglePlayerDutyConfigComponent.cs @@ -1,16 +1,14 @@ using System; +using System.Collections; 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,15 +18,25 @@ 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) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_200E_206B_206A_200C_200D_206E_200C_206D_206B_200C_206E_206B_206B_200E_202A_206E_200B_200E_202C_202D_202E_202D_202C_200F_206A_200B_202E_206E_206C_206B_206F_202C_202B_202C_200F_202D_206B_202D_202C_202E(typeof(SinglePlayerDutyInfo).TypeHandle); + } + } + public EExpansionVersion Expansion => QuestInfo.Expansion; public uint JournalGenreId => (uint)(((int?)QuestInfo.JournalGenre) ?? (-1)); @@ -39,22 +47,40 @@ 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 { uint contentFinderConditionId = ContentFinderConditionId; - if (contentFinderConditionId == 313 || contentFinderConditionId - 332 <= 2) + int num = ((contentFinderConditionId == 313) ? 695604595 : 695604594); + bool result = default(bool); + while (true) { - return true; + int num2 = num; + int num3 = 695604595; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return result; + case 0: + result = true; + num = 695604599; + break; + case 1: + num3 = 332; + num4 = (int)contentFinderConditionId; + num = (((uint)(~(~num4 + num3)) > 2u) ? 695604592 : 695604595); + break; + case 3: + result = false; + num = 695604599; + break; + case 2: + num = 695604594; + break; + } } - return false; } } @@ -63,11 +89,32 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent get { uint contentFinderConditionId = ContentFinderConditionId; - if (contentFinderConditionId - 296 <= 3) + int num = 296; + int num2 = (int)contentFinderConditionId; + int num3 = (((uint)(~(~num2 + num)) > 3u) ? (-721391715) : (-721391713)); + bool result = default(bool); + while (true) { - return true; + int num4 = num3; + num = -721391714; + num2 = num4; + switch ((num2 | num) - (num2 & num)) + { + case 0: + num3 = -721391713; + break; + case 2: + return result; + case 3: + result = false; + num3 = -721391716; + break; + case 1: + result = true; + num3 = -721391716; + break; + } } - return false; } } @@ -76,11 +123,35 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent get { uint contentFinderConditionId = ContentFinderConditionId; - if (contentFinderConditionId == 312 || contentFinderConditionId - 335 <= 2) + int num = ((contentFinderConditionId == 312) ? 2086696776 : 2086696779); + bool result = default(bool); + while (true) { - return true; + int num2 = num; + int num3 = 2086696776; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + result = false; + num = 2086696777; + break; + case 1: + return result; + case 2: + num = 2086696779; + break; + case 0: + result = true; + num = 2086696777; + break; + case 3: + num3 = 335; + num4 = (int)contentFinderConditionId; + num = (((uint)(~(~num4 + num3)) > 2u) ? 2086696780 : 2086696776); + break; + } } - return false; } } @@ -89,19 +160,660 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent get { uint contentFinderConditionId = ContentFinderConditionId; - if (contentFinderConditionId == 845 || contentFinderConditionId == 1016) + int num = ((contentFinderConditionId == 845) ? 38467213 : 38467214); + bool result = default(bool); + while (true) { - return true; + int num2 = num; + int num3 = 38467212; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 38467214; + break; + case 2: + num = ((contentFinderConditionId != 1016) ? 38467208 : 38467213); + break; + case 1: + result = true; + num = 38467215; + break; + case 3: + return result; + case 4: + result = false; + num = 38467215; + break; + } } - return false; } } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202E_206E_206A_206B_200E_202D_206C_202E_202E_202B_206F_200D_206E_200F_200B_206C_206D_206B_206A_200E_206D_200E_200D_206B_206A_200D_202D_202D_206A_200D_206D_202A_206B_202C_206E_206F_206A_202A_202B_202B_202E(); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(stringBuilder, global::_003CModule_003E._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(-1642824356)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-1098257480) : (-1098257479)); + while (true) + { + int num2 = num; + int num3 = -1098257480; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1098257479; + break; + case 1: + _200F_200F_206F_200B_206B_206C_200D_202D_200F_206D_200F_200D_202B_206C_202B_206A_202C_206A_206A_202B_202A_206B_202A_206E_206B_200C_202D_200F_206F_202E_206A_206B_206E_200F_202D_206C_206B_202A_202A_206B_202E(stringBuilder, ' '); + num = -1098257480; + break; + case 0: + _200F_200F_206F_200B_206B_206C_200D_202D_200F_206D_200F_200D_202B_206C_202B_206A_202C_206A_206A_202B_202A_206B_202A_206E_206B_200C_202D_200F_206F_202E_206A_206B_206E_200F_202D_206C_206B_202A_202A_206B_202E(stringBuilder, '}'); + return _206D_200B_206B_206C_206C_200C_202B_200F_202A_202D_206D_200D_200C_200D_202D_206C_206D_206B_206B_200C_202D_202C_206B_206C_206A_206D_206F_206A_202E_200F_206D_202D_202E_202A_200F_202C_206B_206F_206C_206A_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206E_202B_200B_200F_206D_200C_202B_202B_206F_202C_206B_202C_206B_200D_200F_206C_206F_202E_206F_200B_206E_202C_200F_206B_202D_202E_200C_206E_206E_206E_206C_202A_202A_202C_200B_206A_200E_202C_202D_200D_202E(); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(-510347430)); + _206E_202E_206B_206C_206A_200E_206C_206E_200C_206B_202E_206E_200F_206B_206C_202B_206A_206A_202B_202C_202C_200F_206E_206C_206E_206F_206D_206F_206E_206F_206E_202E_202B_200B_202E_206B_202E_202D_200F_206B_202E(builder, (object)Name); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(1022368391)); + _206E_202E_206B_206C_206A_200E_206C_206E_200C_206B_202E_206E_200F_206B_206C_202B_206A_206A_202B_202C_202C_200F_206E_206C_206E_206F_206D_206F_206E_206F_206E_202E_202B_200B_202E_206B_202E_202D_200F_206B_202E(builder, (object)QuestInfo); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(-1666070650)); + _206E_202E_206B_206C_206A_200E_206C_206E_200C_206B_202E_206E_200F_206B_206C_202B_206A_206A_202B_202C_202C_200F_206E_206C_206E_206F_206D_206F_206E_206F_206E_202E_202B_200B_202E_206B_202E_202D_200F_206B_202E(builder, (object)ContentFinderConditionData); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(-273621318)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, Index.ToString()); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(-641834156)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, EnabledByDefault.ToString()); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(743555785)); + _206E_202E_206B_206C_206A_200E_206C_206E_200C_206B_202E_206E_200F_206B_206C_202B_206A_206A_202B_202C_202C_200F_206E_206C_206E_206F_206D_206F_206E_206F_206E_202E_202B_200B_202E_206B_202E_202D_200F_206B_202E(builder, (object)Notes); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(-2138975577)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, Enabled.ToString()); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(-1473156179)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, Expansion.ToString()); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(149315602)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, JournalGenreId.ToString()); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(-780631629)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, SortKey.ToString()); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(-48999932)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, ContentFinderConditionId.ToString()); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(647715754)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, TerritoryId.ToString()); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(-1268757632)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, IsLimsaStart.ToString()); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(-41240036)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, IsGridaniaStart.ToString()); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(-2036989188)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, IsUldahStart.ToString()); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, global::_003CModule_003E._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(-306072753)); + _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(builder, IsOtherRoleQuest.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(SinglePlayerDutyInfo? other) + { + int num = (((object)this == other) ? (-884727854) : (-884727846)); + while (true) + { + int num2 = num; + int num3 = -884727845; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -884727846; + break; + case 4: + num = ((!EqualityComparer.Default.Equals(Notes, other.Notes)) ? (-884727856) : (-884727847)); + break; + case 10: + num = ((!_202D_202C_206D_202C_206B_206D_202C_200F_206E_200F_206F_206F_206A_202C_200C_202D_200F_206B_202D_206C_202E_202C_200F_206F_202E_202C_202E_202E_200C_200C_202C_200E_202C_202B_200C_200E_202B_206E_202C_206E_202E(EqualityContract, other.EqualityContract)) ? (-884727856) : (-884727843)); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(ContentFinderConditionData, other.ContentFinderConditionData)) ? (-884727856) : (-884727844)); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(QuestInfo, other.QuestInfo)) ? (-884727856) : (-884727845)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(Name, other.Name)) ? (-884727856) : (-884727842)); + break; + case 1: + num = (((object)other == null) ? (-884727856) : (-884727855)); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(Index, other.Index)) ? (-884727856) : (-884727853)); + break; + case 2: + return EqualityComparer.Default.Equals(Enabled, other.Enabled); + case 8: + num = ((!EqualityComparer.Default.Equals(EnabledByDefault, other.EnabledByDefault)) ? (-884727856) : (-884727841)); + break; + case 9: + return true; + case 11: + return false; + } + } + } + + bool IEquatable.Equals(SinglePlayerDutyInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_200E_206B_206A_200C_200D_206E_200C_206D_206B_200C_206E_206B_206B_200E_202A_206E_200B_200E_202C_202D_202E_202D_202C_200F_206A_200B_202E_206E_206C_206B_206F_202C_202B_202C_200F_202D_206B_202D_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202E_206E_206A_206B_200E_202D_206C_202E_202E_202B_206F_200D_206E_200F_200B_206C_206D_206B_206A_200E_206D_200E_200D_206B_206A_200D_202D_202D_206A_200D_206D_202A_206B_202C_206E_206F_206A_202A_202B_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202B_206C_202C_202B_206E_206D_202A_206C_200C_206F_202B_202A_206F_202C_202D_206B_202C_206D_202C_202A_200F_200E_206D_200D_202A_200D_202E_202A_202E_202B_200D_200E_206C_202A_206E_200D_200D_200F_202D_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200F_200F_206F_200B_206B_206C_200D_202D_200F_206D_200F_200D_202B_206C_202B_206A_202C_206A_206A_202B_202A_206B_202A_206E_206B_200C_202D_200F_206F_202E_206A_206B_206E_200F_202D_206C_206B_202A_202A_206B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206D_200B_206B_206C_206C_200C_202B_200F_202A_202D_206D_200D_200C_200D_202D_206C_206D_206B_206B_200C_202D_202C_206B_206C_206A_206D_206F_206A_202E_200F_206D_202D_202E_202A_200F_202C_206B_206F_206C_206A_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206E_202B_200B_200F_206D_200C_202B_202B_206F_202C_206B_202C_206B_200D_200F_206C_206F_202E_206F_200B_206E_202C_200F_206B_202D_202E_200C_206E_206E_206E_206C_202A_202A_202C_200B_206A_200E_202C_202D_200D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206E_202E_206B_206C_206A_200E_206C_206E_200C_206B_202E_206E_200F_206B_206C_202B_206A_206A_202B_202C_202C_200F_206E_206C_206E_206F_206D_206F_206E_206F_206E_202E_202B_200B_202E_206B_202E_202D_200F_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202D_202C_206D_202C_206B_206D_202C_200F_206E_200F_206F_206F_206A_202C_200C_202D_200F_206B_202D_206C_202E_202C_200F_206F_202E_202C_202E_202E_200C_200C_202C_200E_202C_202B_200C_200E_202B_206E_202C_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func<(ElementId QuestId, byte Index, TerritoryData.ContentFinderConditionData Data), ElementId> _003C_003E9__18_0; + + public static Func, bool> _003C_003E9__18_1; + + public static Func, ElementId> _003C_003E9__18_2; + + public static Func _003C_003E9__18_3; + + public static Func _003C_003E9__18_4; + + public static Func<(ElementId QuestId, EClassJob ClassJob), ElementId> _003C_003E9__18_6; + + public static Func<(ElementId QuestId, EClassJob ClassJob), EClassJob> _003C_003E9__18_7; + + public static Func _003C_003E9__18_8; + + public static Func> _003C_003E9__18_9; + + public static Func<(ElementId QuestId, EClassJob ClassJob), ElementId> _003C_003E9__18_11; + + public static Func, ElementId> _003C_003E9__18_12; + + public static Func<(ElementId QuestId, EClassJob ClassJob), EClassJob> _003C_003E9__18_33; + + public static Func, List> _003C_003E9__18_13; + + public static Func<(EClassJob ClassJob, string Name), EClassJob> _003C_003E9__18_14; + + public static Func<(EClassJob ClassJob, string Name), List> _003C_003E9__18_15; + + public static Func>, EAetheryteLocation> _003C_003E9__18_16; + + public static Func _003C_003E9__18_34; + + public static Func>, List> _003C_003E9__18_17; + + public static Func _003C_003E9__18_18; + + public static Func, EExpansionVersion> _003C_003E9__18_19; + + public static Func _003C_003E9__18_35; + + public static Func _003C_003E9__18_36; + + public static Func _003C_003E9__18_37; + + public static Func, List> _003C_003E9__18_20; + + public static Func>, bool> _003C_003E9__18_21; + + public static Func>, EClassJob> _003C_003E9__18_22; + + public static Func _003C_003E9__18_38; + + public static Func _003C_003E9__18_39; + + public static Func _003C_003E9__18_40; + + public static Func _003C_003E9__18_41; + + public static Func>, List> _003C_003E9__18_23; + + public static Func>, EClassJob> _003C_003E9__18_24; + + public static Func _003C_003E9__18_42; + + public static Func _003C_003E9__18_43; + + public static Func _003C_003E9__18_44; + + public static Func>, List> _003C_003E9__18_25; + + public static Func _003C_003E9__18_26; + + public static Func _003C_003E9__18_27; + + public static Func _003C_003E9__18_28; + + public static Func _003C_003E9__18_29; + + public static Func<(QuestSequence Sequence, int StepId, QuestStep Step), QuestStep> _003C_003E9__19_0; + + public static Func, IEnumerable> _003C_003E9__30_0; + + public static Func, IEnumerable> _003C_003E9__30_1; + + public static Func, IEnumerable> _003C_003E9__30_2; + + public static Func, IEnumerable> _003C_003E9__30_3; + + public static Func<(string Label, List), IEnumerable> _003C_003E9__30_4; + + public static Func _003C_003E9__30_5; + + internal ElementId _003CReload_003Eb__18_0((ElementId QuestId, byte Index, TerritoryData.ContentFinderConditionData Data) x) + { + return x.QuestId; + } + + internal bool _003CReload_003Eb__18_1(IGrouping x) + { + return x.Count() > 1; + } + + internal ElementId _003CReload_003Eb__18_2(IGrouping x) + { + return x.Key; + } + + internal bool _003CReload_003Eb__18_3(EClassJob x) + { + int num = ((x == EClassJob.Adventurer) ? (-669783748) : (-669783746)); + while (true) + { + int num2 = num; + int num3 = -669783747; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -669783746; + break; + case 3: + num = (_206D_202D_202A_200D_202D_206F_202C_206A_206E_200D_202E_202A_206C_200D_202B_200D_202A_206C_202B_206F_202D_206C_202B_206F_206C_202A_202B_206C_202C_200E_202D_206D_206E_200C_202D_206F_206A_202D_206E_202E(x) ? (-669783748) : (-669783747)); + break; + case 1: + return false; + case 0: + return !_202B_200B_206B_200C_202C_202C_200B_206D_200D_202B_206C_202D_202B_206D_206A_206E_206F_206A_200E_200F_202C_200E_202C_200B_202E_206E_202E_200B_200B_202C_200E_206D_202D_202B_202E_200E_206E_206E_206A_202C_202E(x); + } + } + } + + internal bool _003CReload_003Eb__18_4(EClassJob x) + { + int num = (_200C_206E_202D_202A_206C_206B_206A_206D_202D_202C_200C_206A_206A_206E_202D_200D_206C_202D_200F_206A_206F_206C_202B_202D_206E_206F_202C_206E_200F_206A_202B_200C_206D_202B_202D_206B_202D_202B_202E_202A_202E(x) ? 1636109059 : 1636109056); + while (true) + { + int num2 = num; + int num3 = 1636109058; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return true; + case 2: + return !_202E_200E_202A_206F_206A_202D_206E_206A_200E_202A_200B_206E_206F_202D_202D_206A_202E_202C_202C_200E_206B_206D_202C_202E_200F_202E_206F_206B_202B_206B_200E_206D_202C_206C_202D_206C_202D_206E_202E_202A_202E(x); + case 0: + goto IL_0052; + } + continue; + IL_0052: + num = 1636109056; + } + } + + internal ElementId _003CReload_003Eb__18_6((ElementId QuestId, EClassJob ClassJob) x) + { + return x.QuestId; + } + + internal EClassJob _003CReload_003Eb__18_7((ElementId QuestId, EClassJob ClassJob) x) + { + return x.ClassJob; + } + + internal EClassJob _003CReload_003Eb__18_8(EClassJob x) + { + return x; + } + + internal List _003CReload_003Eb__18_9(EClassJob _) + { + return new List(); + } + + internal ElementId _003CReload_003Eb__18_11((ElementId QuestId, EClassJob ClassJob) x) + { + return x.QuestId; + } + + internal ElementId _003CReload_003Eb__18_12(IGrouping x) + { + return x.Key; + } + + internal List _003CReload_003Eb__18_13(IGrouping x) + { + return x.Select(((ElementId QuestId, EClassJob ClassJob) y) => y.ClassJob).ToList(); + } + + internal EClassJob _003CReload_003Eb__18_33((ElementId QuestId, EClassJob ClassJob) y) + { + return y.ClassJob; + } + + internal EClassJob _003CReload_003Eb__18_14((EClassJob ClassJob, string Name) x) + { + return x.ClassJob; + } + + internal List _003CReload_003Eb__18_15((EClassJob ClassJob, string Name) _) + { + return new List(); + } + + internal EAetheryteLocation _003CReload_003Eb__18_16(KeyValuePair> x) + { + return x.Key; + } + + internal List _003CReload_003Eb__18_17(KeyValuePair> x) + { + return x.Value.OrderBy((SinglePlayerDutyInfo y) => y.SortKey).ToList(); + } + + internal ushort _003CReload_003Eb__18_34(SinglePlayerDutyInfo y) + { + return y.SortKey; + } + + internal EExpansionVersion _003CReload_003Eb__18_18(SinglePlayerDutyInfo x) + { + return x.Expansion; + } + + internal EExpansionVersion _003CReload_003Eb__18_19(IGrouping x) + { + return x.Key; + } + + internal List _003CReload_003Eb__18_20(IGrouping x) + { + return (from y in x + orderby y.JournalGenreId, y.SortKey, y.Index + select y).ToList(); + } + + internal uint _003CReload_003Eb__18_35(SinglePlayerDutyInfo y) + { + return y.JournalGenreId; + } + + internal ushort _003CReload_003Eb__18_36(SinglePlayerDutyInfo y) + { + return y.SortKey; + } + + internal byte _003CReload_003Eb__18_37(SinglePlayerDutyInfo y) + { + return y.Index; + } + + internal bool _003CReload_003Eb__18_21(KeyValuePair> x) + { + return x.Value.Count > 0; + } + + internal EClassJob _003CReload_003Eb__18_22(KeyValuePair> x) + { + return x.Key; + } + + internal List _003CReload_003Eb__18_23(KeyValuePair> x) + { + return (from y in x.Value.DistinctBy((SinglePlayerDutyInfo y) => y.ContentFinderConditionId) + orderby y.JournalGenreId, y.SortKey, y.Index + select y).ToList(); + } + + internal uint _003CReload_003Eb__18_38(SinglePlayerDutyInfo y) + { + return y.ContentFinderConditionId; + } + + internal uint _003CReload_003Eb__18_39(SinglePlayerDutyInfo y) + { + return y.JournalGenreId; + } + + internal ushort _003CReload_003Eb__18_40(SinglePlayerDutyInfo y) + { + return y.SortKey; + } + + internal byte _003CReload_003Eb__18_41(SinglePlayerDutyInfo y) + { + return y.Index; + } + + internal EClassJob _003CReload_003Eb__18_24(KeyValuePair> x) + { + return x.Key; + } + + internal List _003CReload_003Eb__18_25(KeyValuePair> x) + { + return (from y in x.Value + orderby y.JournalGenreId, y.SortKey, y.Index + select y).ToList(); + } + + internal uint _003CReload_003Eb__18_42(SinglePlayerDutyInfo y) + { + return y.JournalGenreId; + } + + internal ushort _003CReload_003Eb__18_43(SinglePlayerDutyInfo y) + { + return y.SortKey; + } + + internal byte _003CReload_003Eb__18_44(SinglePlayerDutyInfo y) + { + return y.Index; + } + + internal uint _003CReload_003Eb__18_26(SinglePlayerDutyInfo x) + { + return x.JournalGenreId; + } + + internal ushort _003CReload_003Eb__18_27(SinglePlayerDutyInfo x) + { + return x.SortKey; + } + + internal byte _003CReload_003Eb__18_28(SinglePlayerDutyInfo x) + { + return x.Index; + } + + internal uint _003CReload_003Eb__18_29(SinglePlayerDutyInfo x) + { + return x.JournalGenreId; + } + + internal QuestStep _003CFindDutyOptions_003Eb__19_0((QuestSequence Sequence, int StepId, QuestStep Step) x) + { + return x.Step; + } + + internal IEnumerable _003CGetAllEnabledSinglePlayerDuties_003Eb__30_0(List x) + { + return x; + } + + internal IEnumerable _003CGetAllEnabledSinglePlayerDuties_003Eb__30_1(List x) + { + return x; + } + + internal IEnumerable _003CGetAllEnabledSinglePlayerDuties_003Eb__30_2(List x) + { + return x; + } + + internal IEnumerable _003CGetAllEnabledSinglePlayerDuties_003Eb__30_3(List x) + { + return x; + } + + internal IEnumerable _003CGetAllEnabledSinglePlayerDuties_003Eb__30_4((string Label, List) x) + { + return x.Item2; + } + + internal bool _003CGetAllEnabledSinglePlayerDuties_003Eb__30_5(SinglePlayerDutyInfo x) + { + return x.Enabled; + } + + static bool _206D_202D_202A_200D_202D_206F_202C_206A_206E_200D_202E_202A_206C_200D_202B_200D_202A_206C_202B_206F_202D_206C_202B_206F_206C_202A_202B_206C_202C_200E_202D_206D_206E_200C_202D_206F_206A_202D_206E_202E(EClassJob P_0) + { + return P_0.IsCrafter(); + } + + static bool _202B_200B_206B_200C_202C_202C_200B_206D_200D_202B_206C_202D_202B_206D_206A_206E_206F_206A_200E_200F_202C_200E_202C_200B_202E_206E_202E_200B_200B_202C_200E_206D_202D_202B_202E_200E_206E_206E_206A_202C_202E(EClassJob P_0) + { + return P_0.IsGatherer(); + } + + static bool _200C_206E_202D_202A_206C_206B_206A_206D_202D_202C_200C_206A_206A_206E_202D_200D_206C_202D_200F_206A_206F_206C_202B_202D_206E_206F_202C_206E_200F_206A_202B_200C_206D_202B_202D_206B_202D_202B_202E_202A_202E(EClassJob P_0) + { + return P_0.IsClass(); + } + + static bool _202E_200E_202A_206F_206A_202D_206E_206A_200E_202A_200B_206E_206F_202D_202D_206A_202E_202C_202C_200E_206B_206D_202C_202E_200F_202E_206F_206B_202B_206B_200E_206D_202C_206C_202D_206C_202D_206E_202E_202A_202E(EClassJob P_0) + { + return P_0.HasBaseClass(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass19_0 + { + public byte index; + + internal bool _003CFindDutyOptions_003Eb__1(QuestStep x) + { + int num = ((_202A_200E_200E_206A_200E_200D_202C_200D_200E_206B_206D_206E_206B_202D_206C_206A_202A_200F_206A_200C_200B_200E_206C_200D_206B_200F_202E_202B_202D_206A_202B_202B_200B_202A_200D_200D_202E_202E_200F_206B_202E(x) != EInteractionType.SinglePlayerDuty) ? (-482062610) : (-482062609)); + while (true) + { + int num2 = num; + int num3 = -482062610; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0048; + case 1: + return _200E_200B_206B_206B_202B_206A_206B_200C_206C_202B_202E_206A_200B_202C_206B_200F_202D_206F_206B_206E_206F_206B_200E_206E_202A_200B_206F_200E_206E_200F_202B_200E_202C_200D_200B_200C_200F_202A_206D_202B_202E(x) == index; + case 0: + return false; + } + continue; + IL_0048: + num = -482062609; + } + } + + internal bool _003CFindDutyOptions_003Eb__2(SinglePlayerDutyEntry e) + { + return e.Index == index; + } + + static EInteractionType _202A_200E_200E_206A_200E_200D_202C_200D_200E_206B_206D_206E_206B_202D_206C_206A_202A_200F_206A_200C_200B_200E_206C_200D_206B_200F_202E_202B_202D_206A_202B_202B_200B_202A_200D_200D_202E_202E_200F_206B_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static byte _200E_200B_206B_206B_202B_206A_206B_200C_206C_202B_202E_206A_200B_202C_206B_200F_202D_206F_206B_206E_206F_206B_200E_206E_202A_200B_206F_200E_206E_200F_202B_200E_202C_200D_200B_200C_200F_202A_206D_202B_202E(QuestStep P_0) + { + return P_0.SinglePlayerDutyIndex; + } } private const string SinglePlayerDutyClipboardPrefix = "qst:single:"; private static readonly List<(EClassJob ClassJob, string Name)> RoleQuestCategories; + private readonly string[] _retryDifficulties = new string[3] + { + global::_003CModule_003E._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(-1135623481), + global::_003CModule_003E._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(466989143), + global::_003CModule_003E._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(-673826834) + }; + private readonly TerritoryData _territoryData; private readonly QuestRegistry _questRegistry; @@ -126,6 +838,11 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent private ImmutableList<(string Label, List)> _otherQuestBattles = ImmutableList<(string, List)>.Empty; + private bool _needsReload = true; + + private int _selectedTab; + + [MethodImpl(MethodImplOptions.NoInlining)] public SinglePlayerDutyConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, TerritoryData territoryData, QuestRegistry questRegistry, QuestData questData, IDataManager dataManager, ClassJobUtils classJobUtils, ILogger logger) : base(pluginInterface, configuration) { @@ -135,8 +852,13 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent _dataManager = dataManager; _classJobUtils = classJobUtils; _logger = logger; + _questRegistry.Reloaded += delegate + { + _needsReload = true; + }; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Reload() { List list = (from x in _territoryData.GetAllQuestsWithQuestBattles() @@ -160,80 +882,231 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent } }; List list3 = new List(); - Dictionary dictionary2 = (from x in Enum.GetValues() - where x != EClassJob.Adventurer && !x.IsCrafter() && !x.IsGatherer() - where x.IsClass() || !x.HasBaseClass() - select x).SelectMany((EClassJob x) => from y in _questRegistry.GetKnownClassJobQuests(x, includeRoleQuests: false) - select (QuestId: y.QuestId, ClassJob: x)).ToDictionary<(ElementId, EClassJob), ElementId, EClassJob>(((ElementId QuestId, EClassJob ClassJob) x) => x.QuestId, ((ElementId QuestId, EClassJob ClassJob) x) => x.ClassJob); + Dictionary dictionary2 = Enum.GetValues().Where(delegate(EClassJob x) + { + int num11 = ((x == EClassJob.Adventurer) ? (-669783748) : (-669783746)); + while (true) + { + int num12 = num11; + int num13 = -669783747; + int num14 = num12; + int num15 = num14 + num13; + int num16 = num14 & num13; + switch (num15 - (num16 + num16)) + { + case 2: + num11 = -669783746; + break; + case 3: + num11 = (_003C_003Ec._206D_202D_202A_200D_202D_206F_202C_206A_206E_200D_202E_202A_206C_200D_202B_200D_202A_206C_202B_206F_202D_206C_202B_206F_206C_202A_202B_206C_202C_200E_202D_206D_206E_200C_202D_206F_206A_202D_206E_202E(x) ? (-669783748) : (-669783747)); + break; + case 1: + return false; + case 0: + return !_003C_003Ec._202B_200B_206B_200C_202C_202C_200B_206D_200D_202B_206C_202D_202B_206D_206A_206E_206F_206A_200E_200F_202C_200E_202C_200B_202E_206E_202E_200B_200B_202C_200E_206D_202D_202B_202E_200E_206E_206E_206A_202C_202E(x); + } + } + }).Where(delegate(EClassJob x) + { + int num11 = (_003C_003Ec._200C_206E_202D_202A_206C_206B_206A_206D_202D_202C_200C_206A_206A_206E_202D_200D_206C_202D_200F_206A_206F_206C_202B_202D_206E_206F_202C_206E_200F_206A_202B_200C_206D_202B_202D_206B_202D_202B_202E_202A_202E(x) ? 1636109059 : 1636109056); + while (true) + { + int num12 = num11; + int num13 = 1636109058; + int num14 = num12; + switch ((num14 | num13) - (num14 & num13)) + { + case 1: + return true; + case 2: + return !_003C_003Ec._202E_200E_202A_206F_206A_202D_206E_206A_200E_202A_200B_206E_206F_202D_202D_206A_202E_202C_202C_200E_206B_206D_202C_202E_200F_202E_206F_206B_202B_206B_200E_206D_202C_206C_202D_206C_202D_206E_202E_202A_202E(x); + case 0: + goto IL_0052; + } + continue; + IL_0052: + num11 = 1636109056; + } + }) + .SelectMany((EClassJob x) => from y in _questRegistry.GetKnownClassJobQuests(x, includeRoleQuests: false) + select (QuestId: y.QuestId, ClassJob: x)) + .ToDictionary<(ElementId, EClassJob), ElementId, EClassJob>(((ElementId QuestId, EClassJob ClassJob) x) => x.QuestId, ((ElementId QuestId, EClassJob ClassJob) x) => x.ClassJob); Dictionary> dictionary3 = dictionary2.Values.Distinct().ToDictionary((EClassJob x) => x, (EClassJob _) => new List()); Dictionary> dictionary4 = (from x in RoleQuestCategories.SelectMany<(EClassJob, string), (ElementId, EClassJob)>(((EClassJob ClassJob, string Name) x) => from y in _questData.GetRoleQuests(x.ClassJob) select (QuestId: y.QuestId, ClassJob: x.ClassJob)) group x by x.QuestId).ToDictionary((IGrouping x) => x.Key, (IGrouping x) => x.Select(((ElementId QuestId, EClassJob ClassJob) y) => y.ClassJob).ToList()); Dictionary> dictionary5 = RoleQuestCategories.ToDictionary<(EClassJob, string), EClassJob, List>(((EClassJob ClassJob, string Name) x) => x.ClassJob, ((EClassJob ClassJob, string Name) _) => new List()); List list4 = new List(); - foreach (var allQuestsWithQuestBattle in _territoryData.GetAllQuestsWithQuestBattles()) + IEnumerator<(ElementId, byte, TerritoryData.ContentFinderConditionData)> enumerator = _territoryData.GetAllQuestsWithQuestBattles().GetEnumerator(); + try { - ElementId item = allQuestsWithQuestBattle.QuestId; - 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; - string text = ConfigComponent.FormatLevel(questInfo.Level) + " " + questInfo.Name; - if (!string.IsNullOrEmpty(item3.Name) && !questInfo.Name.EndsWith(item3.Name, StringComparison.Ordinal)) + SinglePlayerDutyInfo singlePlayerDutyInfo = default(SinglePlayerDutyInfo); + while (true) { - text = text + " (" + item3.Name + ")"; - } - if (list.Contains(item)) - { - text += $" (Part {item5.Index + 1})"; - } - else - { - uint contentFinderConditionId = item3.ContentFinderConditionId; - if ((contentFinderConditionId == 674 || contentFinderConditionId == 691) ? true : false) + IL_0617: + int num3; + if (_202D_206B_206B_200D_202A_206F_202C_202A_202E_206B_202E_206B_200B_202A_200B_202D_206D_202E_206E_202D_202E_206A_200D_206E_200D_206A_200E_200B_200C_202B_206B_200E_202C_202D_202D_200D_206B_206A_202D_200F_202E((IEnumerator)enumerator)) { - text += " (Melee/Phys. Ranged)"; + (ElementId, byte, TerritoryData.ContentFinderConditionData) current = enumerator.Current; + ElementId item = current.Item1; + byte item2 = current.Item2; + TerritoryData.ContentFinderConditionData item3 = current.Item3; + IQuestInfo questInfo = _questData.GetQuestInfo(item); + (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 = _206B_200B_202D_206F_206F_206B_202C_202C_200D_200C_206D_206B_202E_200E_206B_206F_202B_200D_202E_206A_200E_200B_202E_206C_206B_202D_202C_206E_200B_202D_202A_200B_202A_206F_206D_202A_200B_206D_202B_202A_202E(ConfigComponent.FormatLevel(questInfo.Level), global::_003CModule_003E._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(-324914973), questInfo.Name); + if (!_200C_206D_200F_202D_202B_202D_206D_206C_202C_202E_202A_202B_200E_200D_200B_200B_202A_206F_206B_202E_200C_202A_200B_206E_206C_202B_200E_206B_206C_202C_206F_206F_202B_206B_206B_206B_202B_206F_202E_200E_202E(item3.Name) && !_200B_202D_206F_200D_206A_200E_202E_202D_202C_206A_202C_206A_206D_206F_202E_200D_202E_200B_206F_200C_200C_202D_202A_200C_206E_202A_202D_200F_206A_202C_206F_202C_202B_202B_206F_200C_202D_206D_202C_200F_202E(questInfo.Name, item3.Name, StringComparison.Ordinal)) + { + text = _200E_200C_200C_206E_200E_200C_200C_206B_206D_202A_206C_200B_202B_202B_202B_202A_202C_206C_200B_206B_200E_202E_206D_206E_206F_206D_200C_200F_200E_206B_200F_200F_202C_206D_202A_206F_206C_206A_200C_206B_202E(text, global::_003CModule_003E._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(588901087), item3.Name, global::_003CModule_003E._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(555647321)); + } + if (list.Contains(item)) + { + string text2 = text; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-394042080)); + int num = 1; + int num2 = item2; + defaultInterpolatedStringHandler.AppendFormatted((num2 | num) + (num2 & num)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1618480346)); + text = _200B_200E_202B_200C_202A_200E_202E_202E_202B_202E_206D_202B_206F_200E_202C_202E_206C_206A_200B_200B_202D_202E_200D_200B_200F_202C_206D_206A_206B_206C_200B_202C_200F_202B_206C_202A_202A_202B_202A_206B_202E(text2, defaultInterpolatedStringHandler.ToStringAndClear()); + } + else + { + uint contentFinderConditionId = item3.ContentFinderConditionId; + if ((contentFinderConditionId == 674 || contentFinderConditionId == 691) ? true : false) + { + text = _200B_200E_202B_200C_202A_200E_202E_202E_202B_202E_206D_202B_206F_200E_202C_202E_206C_206A_200B_200B_202D_202E_200D_200B_200F_202C_206D_206A_206B_206C_200B_202C_200F_202B_206C_202A_202A_202B_202A_206B_202E(text, global::_003CModule_003E._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(1402602553)); + } + } + singlePlayerDutyInfo = new SinglePlayerDutyInfo(text, questInfo, item3, item2, item5, item6, item4); + if (singlePlayerDutyInfo.IsLimsaStart) + { + dictionary[EAetheryteLocation.Limsa].Add(singlePlayerDutyInfo); + continue; + } + if (singlePlayerDutyInfo.IsGridaniaStart) + { + dictionary[EAetheryteLocation.Gridania].Add(singlePlayerDutyInfo); + continue; + } + if (singlePlayerDutyInfo.IsUldahStart) + { + dictionary[EAetheryteLocation.Uldah].Add(singlePlayerDutyInfo); + continue; + } + if (questInfo.IsMainScenarioQuest) + { + list2.Add(singlePlayerDutyInfo); + continue; + } + if (dictionary2.TryGetValue(item, out var value)) + { + dictionary3[value].Add(singlePlayerDutyInfo); + continue; + } + if (dictionary4.TryGetValue(item, out var value2)) + { + using (List.Enumerator enumerator2 = value2.GetEnumerator()) + { + num3 = 328955790; + while (true) + { + int num4 = num3; + int num = 328955788; + int num2 = num4; + int num5 = num2 + num; + int num6 = num2 & num; + switch (num5 - (num6 + num6)) + { + case 0: + num3 = 328955790; + break; + case 2: + num3 = (enumerator2.MoveNext() ? 328955791 : 328955789); + break; + case 3: + { + EClassJob current2 = enumerator2.Current; + dictionary5[current2].Add(singlePlayerDutyInfo); + num3 = 328955790; + break; + } + case 1: + goto end_IL_04fc; + } + continue; + end_IL_04fc: + break; + } + } + continue; + } + num3 = ((!singlePlayerDutyInfo.IsOtherRoleQuest) ? 2040971182 : 2040971183); } - } - SinglePlayerDutyInfo singlePlayerDutyInfo = new SinglePlayerDutyInfo(text, questInfo, item3, item5, item4); - EClassJob value; - List value2; - if (singlePlayerDutyInfo.IsLimsaStart) - { - dictionary[EAetheryteLocation.Limsa].Add(singlePlayerDutyInfo); - } - else if (singlePlayerDutyInfo.IsGridaniaStart) - { - dictionary[EAetheryteLocation.Gridania].Add(singlePlayerDutyInfo); - } - else if (singlePlayerDutyInfo.IsUldahStart) - { - dictionary[EAetheryteLocation.Uldah].Add(singlePlayerDutyInfo); - } - else if (questInfo.IsMainScenarioQuest) - { - list2.Add(singlePlayerDutyInfo); - } - else if (dictionary2.TryGetValue(item, out value)) - { - dictionary3[value].Add(singlePlayerDutyInfo); - } - else if (dictionary4.TryGetValue(item, out value2)) - { - foreach (EClassJob item6 in value2) + else { - dictionary5[item6].Add(singlePlayerDutyInfo); + num3 = 2040971180; } + while (true) + { + int num7 = num3; + int num = 2040971180; + int num2 = num7; + switch ((num2 | num) - (num2 & num)) + { + default: + continue; + case 2: + list3.Add(singlePlayerDutyInfo); + num3 = 2040971181; + continue; + case 3: + list4.Add(singlePlayerDutyInfo); + num3 = 2040971181; + continue; + case 1: + break; + case 4: + num3 = 2040971183; + continue; + case 0: + goto end_IL_05ba; + } + goto IL_0617; + continue; + end_IL_05ba: + break; + } + break; } - else if (singlePlayerDutyInfo.IsOtherRoleQuest) + } + finally + { + int num3 = ((enumerator == null) ? (-503752894) : (-503752895)); + while (true) { - list4.Add(singlePlayerDutyInfo); - } - else - { - list3.Add(singlePlayerDutyInfo); + int num8 = num3; + int num = -503752893; + int num2 = num8; + int num9 = num2 + num; + int num10 = num2 & num; + switch (num9 - (num10 + num10)) + { + case 0: + num3 = -503752895; + break; + case 1: + goto end_IL_065f; + case 2: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)enumerator); + num3 = -503752894; + break; + } + continue; + end_IL_065f: + break; } } _startingCityBattles = dictionary.ToImmutableDictionary((KeyValuePair> x) => x.Key, (KeyValuePair> x) => x.Value.OrderBy((SinglePlayerDutyInfo y) => y.SortKey).ToList()); @@ -254,539 +1127,1265 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent select (BuildJournalGenreLabel(x.Key), x.ToList())).ToImmutableList(); } - private (bool Enabled, SinglePlayerDutyOptions Options) FindDutyOptions(ElementId questId, byte index) + [MethodImpl(MethodImplOptions.NoInlining)] + private (bool QuestExists, bool EnabledByDefault, byte Index, string[] Notes) FindDutyOptions(ElementId questId, byte index) { - SinglePlayerDutyOptions singlePlayerDutyOptions = new SinglePlayerDutyOptions + Questionable.Model.Quest quest; + int num = (_questRegistry.TryGetQuest(questId, out quest) ? (-2063264622) : (-2063264611)); + QuestId questId2 = default(QuestId); + SinglePlayerDutyEntry singlePlayerDutyEntry = default(SinglePlayerDutyEntry); + SinglePlayerDutyEntry[] value = default(SinglePlayerDutyEntry[]); + bool item = default(bool); + string[] item2 = default(string[]); + while (true) { - Index = 0, - Enabled = false - }; - if (_questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest)) - { - if (quest.Root.Disabled) + int num2 = num; + int num3 = -2063264616; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num7; + ushort key; + switch (num5 - (num6 + num6)) { - return (Enabled: false, Options: singlePlayerDutyOptions); + case 2: + _206D_206E_202D_202E_206D_206E_200F_202D_206B_206E_202E_200D_206F_200D_200F_200C_206D_202B_200E_206B_200E_202C_206B_202C_200F_206D_206F_206F_206E_200D_206E_202B_206C_200C_200D_202B_206E_200D_202D_202D_202E((ILogger)_logger, global::_003CModule_003E._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(-97214950), new object[1] { questId }); + return (QuestExists: false, EnabledByDefault: false, Index: index, Notes: Array.Empty()); + case 8: + questId2 = questId as QuestId; + num = (((object)questId2 != null) ? (-2063264613) : (-2063264621)); + break; + case 9: + num = (((from x in quest.AllSteps() + select x.Step).FirstOrDefault(delegate(QuestStep x) + { + int num8 = ((_003C_003Ec__DisplayClass19_0._202A_200E_200E_206A_200E_200D_202C_200D_200E_206B_206D_206E_206B_202D_206C_206A_202A_200F_206A_200C_200B_200E_206C_200D_206B_200F_202E_202B_202D_206A_202B_202B_200B_202A_200D_200D_202E_202E_200F_206B_202E(x) != EInteractionType.SinglePlayerDuty) ? (-482062610) : (-482062609)); + while (true) + { + int num9 = num8; + int num10 = -482062610; + int num11 = num9; + switch ((num11 | num10) - (num11 & num10)) + { + case 2: + goto IL_0048; + case 1: + return _003C_003Ec__DisplayClass19_0._200E_200B_206B_206B_202B_206A_206B_200C_206C_202B_202E_206A_200B_202C_206B_200F_202D_206F_206B_206E_206F_206B_200E_206E_202A_200B_206F_200E_206E_200F_202B_200E_202C_200D_200B_200C_200F_202A_206D_202B_202E(x) == index; + case 0: + return false; + } + continue; + IL_0048: + num8 = -482062609; + } + }) != null) ? (-2063264624) : (-2063264615)); + break; + case 4: + num = -2063264611; + break; + case 3: + num7 = _202D_202C_206F_206C_202D_200D_200C_202C_206B_206E_206D_206A_200F_206F_202D_206E_206A_206C_202B_200E_200B_206E_206E_200C_202B_200C_200E_206E_206B_206E_202B_202A_206A_200D_206D_200F_202B_202B_202D_200D_202E((ElementId)questId2); + goto IL_014e; + case 6: + singlePlayerDutyEntry = value.FirstOrDefault((SinglePlayerDutyEntry e) => e.Index == index); + num = ((!(singlePlayerDutyEntry != null)) ? (-2063264609) : (-2063264616)); + break; + case 11: + num7 = 0; + goto IL_014e; + case 7: + return (QuestExists: true, EnabledByDefault: item, Index: index, Notes: item2); + case 5: + _206D_206E_202D_202E_206D_206E_200F_202D_206B_206E_202E_200D_206F_200D_200F_200C_206D_202B_200E_206B_200E_202C_206B_202C_200F_206D_206F_206F_206E_200D_206E_202B_206C_200C_200D_202B_206E_200D_202D_202D_202E((ILogger)_logger, global::_003CModule_003E._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(1940899937), new object[1] { questId }); + return (QuestExists: false, EnabledByDefault: false, Index: index, Notes: Array.Empty()); + case 0: + item = singlePlayerDutyEntry.Enabled; + item2 = singlePlayerDutyEntry.Notes; + num = -2063264609; + break; + case 1: + _202E_202A_202C_200F_206F_200B_206D_206C_202A_202E_200C_206D_200D_202C_206C_200B_206F_202D_206E_200D_200B_202B_202C_200E_206C_202C_200E_206E_206B_206A_200F_202E_206B_202E_200E_202E_200F_206A_206E_200F_202E((ILogger)_logger, global::_003CModule_003E._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(1989143781), new object[2] { questId, index }); + return (QuestExists: false, EnabledByDefault: false, Index: index, Notes: Array.Empty()); + case 10: + { + num = ((!_202E_202C_200D_200E_206F_202B_200E_200C_200C_202E_206F_206D_202D_200B_200F_206F_202A_200C_200E_206F_200E_200F_200F_200B_200C_206C_206F_202D_206E_200C_200F_202A_202A_202B_206B_206A_206F_206F_202B_206A_202E(quest.Root)) ? (-2063264623) : (-2063264614)); + break; + } + IL_014e: + key = (ushort)num7; + item = false; + item2 = Array.Empty(); + num = ((!DutyRegistry.SinglePlayerDuties.TryGetValue(key, out value)) ? (-2063264609) : (-2063264610)); + break; } - 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); } - return (Enabled: false, Options: singlePlayerDutyOptions); } + [MethodImpl(MethodImplOptions.NoInlining)] private string BuildJournalGenreLabel(uint journalGenreId) { JournalGenre row = _dataManager.GetExcelSheet().GetRow(journalGenreId); JournalCategory value = row.JournalCategory.Value; string text = row.Name.ExtractText(); - return value.Name.ExtractText() + " ※ " + text; + return _206B_200B_202D_206F_206F_206B_202C_202C_200D_200C_206D_206B_202E_200E_206B_206F_202B_200D_202E_206A_200E_200B_202E_206C_206B_202D_202C_206E_200B_202D_202A_200B_202A_206F_206D_202A_200B_206D_202B_202A_202E(value.Name.ExtractText(), global::_003CModule_003E._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(-1206804877), text); } + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Quest Battles###QuestBattles"); - if (!tabItemDisposable) + int num = ((!_needsReload) ? (-1602595785) : (-1602595786)); + Vector2 item = default(Vector2); + float item2 = default(float); + ImDrawListPtr item3 = default(ImDrawListPtr); + bool value = default(bool); + int num10 = default(int); + int maxRetries = default(int); + bool flag = default(bool); + while (true) { - return; - } - bool v = base.Configuration.SinglePlayerDuties.RunSoloInstancesWithBossMod; - if (ImGui.Checkbox("Run quest battles with BossMod", ref v)) - { - base.Configuration.SinglePlayerDuties.RunSoloInstancesWithBossMod = v; - Save(); - } - using (ImRaii.PushIndent(ImGui.GetFrameHeight() + ImGui.GetStyle().ItemInnerSpacing.X)) - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) + int num2 = num; + int num3 = -1602595787; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - 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."); - } - } - ImGui.Separator(); - using (ImRaii.Disabled(!v)) - { - 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) + case 4: + num = -1602595786; + break; + case 3: + _needsReload = false; + Reload(); + num = -1602595785; + break; + case 2: { - DrawMainScenarioConfigTable(); - DrawJobQuestConfigTable(); - DrawRoleQuestConfigTable(); - DrawOtherQuestConfigTable(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(591315449)); + _206B_202A_200C_206C_202C_206C_202C_200C_200D_200F_200E_202C_200F_200B_206F_200C_202C_206A_206C_200E_200C_202A_206F_202B_200D_202E_206B_200F_206F_200F_206B_202C_202A_200E_202E_202A_200C_200B_202D_200C_202E(); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + item = tuple2.ContentStartPos; + item2 = tuple2.AvailableWidth; + item3 = tuple2.DrawList; + value = base.Configuration.SinglePlayerDuties.RunSoloInstancesWithBossMod; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1787365424), ref value, global::_003CModule_003E._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(-304229320))) ? (-1602595787) : (-1602595788)); + break; + } + case 1: + base.Configuration.SinglePlayerDuties.RunSoloInstancesWithBossMod = value; + Save(); + num = -1602595787; + break; + case 0: + { + ImRaii.DisabledDisposable disabledDisposable = _202D_200E_206A_202E_206E_206C_202D_206F_200C_202A_202A_200B_206D_200F_206D_202C_206E_200E_202C_200B_202E_200B_200C_202D_202A_202E_200C_200E_202A_206C_200D_200F_202C_202E_206D_206B_206C_202C_206C_202E_202E(!value); + try + { + _206B_202A_200C_206C_202C_206C_202C_200C_200D_200F_200E_202C_200F_200B_206F_200C_202C_206A_206C_200E_200C_202A_206F_202B_200D_202E_206B_200F_206F_200F_206B_202C_202A_200E_202E_202A_200C_200B_202D_200C_202E(); + int currentItem = (int)base.Configuration.SinglePlayerDuties.RetryDifficulty; + _200D_206A_206A_200B_200B_206B_202A_206B_200D_206B_206D_200B_202E_202B_200E_206B_206A_202B_200D_202B_200D_200B_206D_200F_200F_206D_202B_206D_206F_206E_202C_206F_200B_200D_206B_206D_200F_202A_202A_206C_202E(_206E_200D_202A_202D_206E_200C_200D_206D_206F_200D_206D_202D_200E_200D_206F_200E_202E_206C_206B_202A_206C_200F_206B_200F_200B_206E_200C_202D_202B_202A_200C_202D_200D_202B_206D_200F_200D_200B_202E_206E_202E(_206C_206D_200C_206A_200D_202E_206D_202B_206F_202B_206B_206A_202D_206F_206D_202B_200E_202C_200F_202B_200D_202A_206E_202B_206B_202A_206C_202E_202B_200F_206B_206D_200C_202D_206A_200E_200D_202E_206B_202E().X * 0.4f, 260f)); + num = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(-586214286), ref currentItem, _retryDifficulties, _retryDifficulties.Length)) ? (-1682209538) : (-1682209541)); + while (true) + { + int num7 = num; + num3 = -1682209544; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 4: + _202D_206F_206D_206B_200F_202D_206D_202C_202D_206F_202E_206C_202C_202E_206F_200E_200E_200B_206D_202B_202E_206C_200E_206C_206C_202D_202A_200C_200C_206E_206E_200D_202A_206B_202D_202D_206B_202C_206F_202E(); + _200D_206A_206A_200B_200B_206B_202A_206B_200D_206B_206D_200B_202E_202B_200E_206B_206A_202B_200D_202B_200D_200B_206D_200F_200F_206D_202B_206D_206F_206E_202C_206F_200B_200D_206B_206D_200F_202A_202A_206C_202E(80f); + num10 = maxRetries; + num = ((!_202A_200F_206C_202B_202B_206D_200E_206F_200F_206B_206A_206F_206C_202E_200B_202D_206D_200B_200C_202E_202A_202D_202E_202D_206C_200E_200C_202D_206A_206B_206E_206D_206D_202A_202B_202E_200D_206B_200F_200D_202E((ImU8String)global::_003CModule_003E._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(-672593592), ref num10, 1, 0, default(ImU8String), ImGuiInputTextFlags.None)) ? (-1682209548) : (-1682209551)); + break; + case 6: + _202D_206F_206D_206B_200F_202D_206D_202C_202D_206F_202E_206C_202C_202E_206F_200E_200E_200B_206D_202B_202E_206C_200E_206C_206C_202D_202A_200C_200C_206E_206E_200D_202A_206B_202D_202D_206B_202C_206F_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(1252247264)); + _206B_202A_200C_206C_202C_206C_202C_200C_200D_200F_200E_202C_200F_200B_206F_200C_202C_206A_206C_200E_200C_202A_206F_202B_200D_202E_206B_200F_206F_200F_206B_202C_202A_200E_202E_202A_200C_200B_202D_200C_202E(); + maxRetries = base.Configuration.SinglePlayerDuties.MaxRetries; + num = ((!_206B_206D_200D_202B_202B_200C_202E_206D_206B_206D_206E_202D_200F_202C_202A_202D_206E_202D_206F_200B_202A_200B_200F_202E_200D_202D_200E_206C_200B_200B_206A_206E_202B_206D_202D_206A_202B_202D_206D_202C_202E((ImU8String)global::_003CModule_003E._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(556769295), maxRetries == 0)) ? (-1682209547) : (-1682209543)); + break; + case 7: + base.Configuration.SinglePlayerDuties.MaxRetries = num10; + Save(); + num = -1682209548; + break; + case 14: + num = -1682209541; + break; + case 1: + base.Configuration.SinglePlayerDuties.MaxRetries = 0; + Save(); + num = -1682209547; + break; + case 8: + num = ((!flag) ? (-1682209548) : (-1682209540)); + break; + case 5: + base.Configuration.SinglePlayerDuties.MaxRetries = _202C_202D_206F_200E_200E_202B_202C_206E_206B_200B_202E_206F_206E_202D_202C_206B_206D_206C_200F_202C_202B_202B_206E_202D_206C_200E_206D_200D_202D_200E_206D_200D_200B_206C_206F_206E_206A_200F_206D_206F_202E(1, maxRetries); + Save(); + num = -1682209552; + break; + case 13: + flag = maxRetries > 0; + num = ((!_206B_206D_200D_202B_202B_200C_202E_206D_206B_206D_206E_202D_200F_202C_202A_202D_206E_202D_206F_200B_202A_200B_200F_202E_200D_202D_200E_206C_200B_200B_206A_206E_202B_206D_202D_206A_202B_202D_206D_202C_202E((ImU8String)global::_003CModule_003E._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(679585427), flag)) ? (-1682209552) : (-1682209539)); + break; + case 11: + base.Configuration.SinglePlayerDuties.MaxRetries = -1; + Save(); + num = -1682209550; + break; + case 12: + num = ((!_206B_206D_200D_202B_202B_200C_202E_206D_206B_206D_206E_202D_200F_202C_202A_202D_206E_202D_206F_200B_202A_200B_200F_202E_200D_202D_200E_206C_200B_200B_206A_206E_202B_206D_202D_206A_202B_202D_206D_202C_202E((ImU8String)global::_003CModule_003E._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(-760791582), maxRetries == -1)) ? (-1682209550) : (-1682209549)); + break; + case 2: + _202D_206F_206D_206B_200F_202D_206D_202C_202D_206F_202E_206C_202C_202E_206F_200E_200E_200B_206D_202B_202E_206C_200E_206C_206C_202D_202A_200C_200C_206E_206E_200D_202A_206B_202D_202D_206B_202C_206F_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(1186403595)); + num = -1682209544; + break; + case 3: + base.Configuration.SinglePlayerDuties.RetryDifficulty = (Configuration.ERetryDifficulty)currentItem; + Save(); + num = -1682209538; + break; + case 10: + num = ((maxRetries != -1) ? (-1682209544) : (-1682209542)); + break; + case 9: + num = ((num10 < 1) ? (-1682209548) : (-1682209537)); + break; + case 0: + goto end_IL_0194; + } + continue; + end_IL_0194: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-1889698799) : (-1889698800)); + while (true) + { + int num11 = num; + num3 = -1889698799; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 2: + num = -1889698800; + break; + case 1: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)disabledDisposable); + num = -1889698799; + break; + case 0: + goto end_IL_047e; + } + continue; + end_IL_047e: + break; + } + } + UiThemeUtils.EndCard(item, item2, item3); + UiThemeUtils.SectionSpacing(); + disabledDisposable = _202D_200E_206A_202E_206E_206C_202D_206F_200C_202A_202A_200B_206D_200F_206D_202C_206E_200E_202C_200B_202E_200B_200C_202D_202A_202E_200C_200E_202A_206C_200D_200F_202C_202E_206D_206B_206C_202C_206C_202E_202E(!value); + try + { + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-405282686)); + _206B_202A_200C_206C_202C_206C_202C_200C_200D_200F_200E_202C_200F_200B_206F_200C_202C_206A_206C_200E_200C_202A_206F_202B_200D_202E_206B_200F_206F_200F_206B_202C_202A_200E_202E_202A_200C_200B_202D_200C_202E(); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item4 = tuple.ContentStartPos; + float item5 = tuple.AvailableWidth; + ImDrawListPtr item6 = tuple.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); + ref string reference = ref global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 0); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(24, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1502035446)); + defaultInterpolatedStringHandler.AppendFormatted(item7); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-70733513)); + defaultInterpolatedStringHandler.AppendFormatted(item8); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(555647321)); + reference = defaultInterpolatedStringHandler.ToStringAndClear(); + ref string reference2 = ref global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 1); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(20, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-764635290)); + defaultInterpolatedStringHandler2.AppendFormatted(item9); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(503298330)); + defaultInterpolatedStringHandler2.AppendFormatted(item10); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(555647321)); + reference2 = defaultInterpolatedStringHandler2.ToStringAndClear(); + ref string reference3 = ref global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 2); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(15, 2); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-286842304)); + defaultInterpolatedStringHandler3.AppendFormatted(item11); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(503298330)); + defaultInterpolatedStringHandler3.AppendFormatted(item12); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(555647321)); + reference3 = defaultInterpolatedStringHandler3.ToStringAndClear(); + ref string reference4 = ref global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 3); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(16, 2); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(1317598960)); + defaultInterpolatedStringHandler4.AppendFormatted(item13); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(-1392036559)); + defaultInterpolatedStringHandler4.AppendFormatted(item14); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(444206578)); + reference4 = defaultInterpolatedStringHandler4.ToStringAndClear(); + ReadOnlySpan labels = global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, string>(in buffer, 4); + _selectedTab = UiThemeUtils.DrawTabBar(labels, _selectedTab); + _206D_206B_200D_206B_206B_206A_200D_206D_202D_206E_202D_200B_200C_202A_206D_206E_202B_202D_200E_206B_206C_202D_202A_202E_206A_206C_206B_202B_202A_202B_200C_206A_206C_202C_202D_200D_200D_206F_206D_206E_202E(_202E_200D_206D_200D_200B_202E_206A_206D_202C_200B_200B_206F_206A_206C_200B_200F_200D_206B_202E_202C_206A_202D_200C_202B_200E_202D_202C_206A_206F_206C_200E_202A_202C_206F_200E_200B_200B_202D_200E_200C_202E() - _200E_202B_206C_200F_206C_206F_206E_202E_202A_206D_202C_200D_200B_206B_200D_206A_206E_206C_202E_206F_202D_200E_206A_202E_206F_200D_200F_200C_200C_202B_206C_200E_200C_206C_200B_206D_206D_202B_206C_202E_202E().ItemSpacing.Y); + switch (_selectedTab) + { + default: + num = -1152905542; + goto IL_0753; + case 1: + DrawJobQuestConfigTable(); + num = -1152905541; + goto IL_0753; + case 2: + goto IL_07f1; + case 3: + goto IL_0881; + case 0: + goto IL_0893; + IL_0753: + while (true) + { + int num14 = num; + num3 = -1152905538; + num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Clear(); + base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Clear(); + Save(); + num = -1152905538; + break; + case 4: + num = -1152905541; + break; + case 7: + goto end_IL_0753; + case 6: + goto IL_07f1; + case 3: + num = -1152905542; + break; + case 5: + goto IL_080f; + case 2: + goto IL_0881; + case 1: + goto IL_0893; + case 0: + UiThemeUtils.EndCard(item4, item5, item6); + return; + } + continue; + IL_080f: + DrawEnableAllButton(); + _202D_206F_206D_206B_200F_202D_206D_202C_202D_206F_202E_206C_202C_202E_206F_200E_200E_200B_206D_202B_202E_206C_200E_206C_206C_202D_202A_200C_200C_206E_206E_200D_202A_206B_202D_202D_206B_202C_206F_202E(); + DrawClipboardButtons(global::_003CModule_003E._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(436552950), base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds, base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds); + _202D_206F_206D_206B_200F_202D_206D_202C_202D_206F_202E_206C_202C_202E_206F_200E_200E_200B_206D_202B_202E_206C_200E_206C_206C_202D_202A_200C_200C_206E_206E_200D_202A_206B_202D_202D_206B_202C_206F_202E(); + num = ((!UiThemeUtils.DestructiveButton(FontAwesomeIcon.Undo, global::_003CModule_003E._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(105765014))) ? (-1152905538) : (-1152905546)); + continue; + end_IL_0753: + break; + } + goto case 1; + IL_0893: + DrawMainScenarioConfigTable(); + num = -1152905541; + goto IL_0753; + IL_0881: + DrawOtherQuestConfigTable(); + num = -1152905541; + goto IL_0753; + IL_07f1: + DrawRoleQuestConfigTable(); + num = -1152905541; + goto IL_0753; + } + } + finally + { + num = ((disabledDisposable == null) ? (-1996908765) : (-1996908768)); + while (true) + { + int num15 = num; + num3 = -1996908767; + num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1996908768; + break; + case 2: + goto end_IL_08d4; + case 1: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)disabledDisposable); + num = -1996908765; + break; + } + continue; + end_IL_08d4: + break; + } + } + } } - DrawEnableAllButton(); - ImGui.SameLine(); - DrawClipboardButtons(); - ImGui.SameLine(); - DrawResetButton(); } } + [MethodImpl(MethodImplOptions.NoInlining)] 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) + int num = ((!(!childDisposable)) ? 2112848608 : 2112848618); + EExpansionVersion eExpansionVersion = default(EExpansionVersion); + EExpansionVersion[] values = default(EExpansionVersion[]); + int num8 = default(int); + List value = default(List); + Dictionary headerStates = default(Dictionary); + while (true) { - 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)) - { - if (!base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) + int num2 = num; + int num3 = 2112848609; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = true; - Save(); + case 7: + eExpansionVersion = values[num8]; + num = ((!_mainScenarioBattles.TryGetValue(eExpansionVersion, out value)) ? 2112848615 : 2112848621); + break; + case 4: + num = ((num8 < values.Length) ? 2112848614 : 2112848612); + break; + case 12: + { + (int enabledCount, int totalCount) questBattleCounts3 = GetQuestBattleCounts(value); + int item5 = questBattleCounts3.enabledCount; + int item6 = questBattleCounts3.totalCount; + string label3 = _206E_200C_206F_202A_206A_200D_200C_202B_200E_200E_202B_206C_200D_202B_200C_200B_202C_200D_200E_206A_206C_206B_206B_202B_202C_202D_200B_202A_206F_206B_202B_200E_206F_202D_206C_200B_200D_200C_206E_200E_202E(eExpansionVersion); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler6 = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler6.AppendFormatted(item5); + defaultInterpolatedStringHandler6.AppendLiteral(global::_003CModule_003E._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(503298330)); + defaultInterpolatedStringHandler6.AppendFormatted(item6); + num = ((!DrawPersistentAccordion(label3, defaultInterpolatedStringHandler6.ToStringAndClear(), eExpansionVersion.ToString(), headerStates)) ? 2112848615 : 2112848616); + break; } - DrawQuestTable("LimsaLominsa", _startingCityBattles[EAetheryteLocation.Limsa]); - } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) - { - 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)) + case 13: + DrawQuestTable(global::_003CModule_003E._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(-1733632812), _startingCityBattles[EAetheryteLocation.Uldah]); + num = 2112848609; + break; + case 14: { - base.Configuration.SinglePlayerDuties.HeaderStates[key2] = true; - Save(); + (int enabledCount, int totalCount) questBattleCounts4 = GetQuestBattleCounts(_startingCityBattles[EAetheryteLocation.Gridania]); + int item7 = questBattleCounts4.enabledCount; + int item8 = questBattleCounts4.totalCount; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler7 = new DefaultInterpolatedStringHandler(14, 2); + defaultInterpolatedStringHandler7.AppendLiteral(global::_003CModule_003E._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(36156870)); + defaultInterpolatedStringHandler7.AppendFormatted(ConfigComponent.FormatLevel(5)); + defaultInterpolatedStringHandler7.AppendLiteral(global::_003CModule_003E._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(680284710)); + defaultInterpolatedStringHandler7.AppendFormatted(ConfigComponent.FormatLevel(14)); + defaultInterpolatedStringHandler7.AppendLiteral(global::_003CModule_003E._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(1618480346)); + string label4 = defaultInterpolatedStringHandler7.ToStringAndClear(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler8 = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler8.AppendFormatted(item7); + defaultInterpolatedStringHandler8.AppendLiteral(global::_003CModule_003E._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(-1392036559)); + defaultInterpolatedStringHandler8.AppendFormatted(item8); + num = ((!DrawPersistentAccordion(label4, defaultInterpolatedStringHandler8.ToStringAndClear(), global::_003CModule_003E._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(-609841478), headerStates)) ? 2112848610 : 2112848611); + break; } - DrawQuestTable("Gridania", _startingCityBattles[EAetheryteLocation.Gridania]); - } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key2, defaultValue: false)) - { - 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)) + case 2: + DrawQuestTable(global::_003CModule_003E._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(-609841478), _startingCityBattles[EAetheryteLocation.Gridania]); + num = 2112848610; + break; + case 10: + num = 2112848618; + break; + case 3: { - base.Configuration.SinglePlayerDuties.HeaderStates[key3] = true; - Save(); + (int enabledCount, int totalCount) questBattleCounts2 = GetQuestBattleCounts(_startingCityBattles[EAetheryteLocation.Uldah]); + int item3 = questBattleCounts2.enabledCount; + int item4 = questBattleCounts2.totalCount; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(12, 2); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(266830176)); + defaultInterpolatedStringHandler4.AppendFormatted(ConfigComponent.FormatLevel(4)); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(680284710)); + defaultInterpolatedStringHandler4.AppendFormatted(ConfigComponent.FormatLevel(14)); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(1735737295)); + string label2 = defaultInterpolatedStringHandler4.ToStringAndClear(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler5 = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler5.AppendFormatted(item3); + defaultInterpolatedStringHandler5.AppendLiteral(global::_003CModule_003E._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(-1680133376)); + defaultInterpolatedStringHandler5.AppendFormatted(item4); + num = ((!DrawPersistentAccordion(label2, defaultInterpolatedStringHandler5.ToStringAndClear(), global::_003CModule_003E._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(-1652029814), headerStates)) ? 2112848609 : 2112848620); + break; } - 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)) + case 1: { - continue; + headerStates = base.Configuration.SinglePlayerDuties.HeaderStates; + (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(_startingCityBattles[EAetheryteLocation.Limsa]); + int item = questBattleCounts.enabledCount; + int item2 = questBattleCounts.totalCount; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(19, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1811029718)); + defaultInterpolatedStringHandler2.AppendFormatted(ConfigComponent.FormatLevel(5)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1884306162)); + defaultInterpolatedStringHandler2.AppendFormatted(ConfigComponent.FormatLevel(14)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1735737295)); + string label = defaultInterpolatedStringHandler2.ToStringAndClear(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler3.AppendFormatted(item); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-1680133376)); + defaultInterpolatedStringHandler3.AppendFormatted(item2); + num = ((!DrawPersistentAccordion(label, defaultInterpolatedStringHandler3.ToStringAndClear(), global::_003CModule_003E._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(106972195), headerStates)) ? 2112848623 : 2112848617); + break; } - (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)) + case 0: + values = Enum.GetValues(); + num8 = 0; + num = 2112848613; + break; + case 6: { - if (!base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key4, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key4] = true; - Save(); - } - DrawQuestTable($"Duties{eExpansionVersion}", value); + int num7 = num8; + num3 = 1; + num4 = num7; + num8 = (num4 | num3) + (num4 & num3); + num = 2112848613; + break; } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key4, defaultValue: false)) + case 8: + DrawQuestTable(global::_003CModule_003E._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(-2011227758), _startingCityBattles[EAetheryteLocation.Limsa]); + num = 2112848623; + break; + case 9: { - base.Configuration.SinglePlayerDuties.HeaderStates[key4] = false; - Save(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1381860118)); + defaultInterpolatedStringHandler.AppendFormatted(eExpansionVersion); + DrawQuestTable(defaultInterpolatedStringHandler.ToStringAndClear(), value); + num = 2112848615; + break; + } + case 11: + return; + case 5: + return; } } } + [MethodImpl(MethodImplOptions.NoInlining)] 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) + int num = ((!(!childDisposable)) ? 986510284 : 986510287); + string text = default(string); + EClassJob item = default(EClassJob); + List value = default(List); + int item2 = default(int); + while (true) { - return; - } - int num = 0; - foreach (var (eClassJob, num2) in _classJobUtils.SortedClassJobs) - { - if (eClassJob.IsCrafter() || eClassJob.IsGatherer() || !_jobQuestBattles.TryGetValue(eClassJob, out List value)) + int num2 = num; + int num3 = 986510285; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - continue; - } - if (num2 != num) + case 0: + goto IL_0057; + case 2: + return; + case 1: { - 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)) + Dictionary headerStates = base.Configuration.SinglePlayerDuties.HeaderStates; + int num7 = 0; + IEnumerator<(EClassJob, int)> enumerator = _classJobUtils.SortedClassJobs.GetEnumerator(); + try { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = true; - Save(); + num = -1544215623; + while (true) + { + int num8 = num; + num3 = -1544215619; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 10: + text = _206B_200B_202D_206F_206F_206B_202C_202C_200D_200C_206D_206B_202E_200E_206B_206F_202B_200D_202E_206A_200E_200B_202E_206C_206B_202D_202C_206E_200B_202D_202A_200B_202A_206F_206D_202A_200B_206D_202B_202A_202E(text, global::_003CModule_003E._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(-2014446916), _206F_206F_206F_206D_206C_200E_206D_200E_200D_202E_200F_202C_202C_206E_202C_206F_200E_200B_200F_200B_202A_206B_206B_202A_206C_200E_206C_206D_200D_202A_200C_202E_202D_206E_202B_206F_206C_200C_206B_200E_202E(_200D_206F_200C_200B_200D_206B_200E_206B_200D_206B_206F_206C_206E_202C_202C_202B_206D_202A_206D_206D_206C_202E_200F_202C_206B_200C_202C_200F_200B_200C_202A_206A_206D_200C_206F_202A_200E_202C_202A_206A_202E(item))); + num = -1544215620; + break; + case 5: + num = (_206C_206B_206A_202A_206A_206F_206D_202C_200F_200C_206E_200D_206A_200D_206C_200D_202C_206B_202D_202C_200C_200D_202C_202A_206E_202B_200D_206D_200E_200C_202E_200B_206C_206E_200E_206C_206C_200B_202C_200C_202E(item) ? (-1544215623) : (-1544215619)); + break; + case 6: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(9, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-157733930)); + defaultInterpolatedStringHandler2.AppendFormatted(item); + DrawQuestTable(defaultInterpolatedStringHandler2.ToStringAndClear(), value); + num = -1544215623; + break; + } + case 2: + num = ((item2 == num7) ? (-1544215618) : (-1544215622)); + break; + case 9: + num = -1544215623; + break; + case 1: + { + (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(value); + int item3 = questBattleCounts.enabledCount; + int item4 = questBattleCounts.totalCount; + string label = text; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler.AppendFormatted(item3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1680133376)); + defaultInterpolatedStringHandler.AppendFormatted(item4); + num = ((!DrawPersistentAccordion(label, defaultInterpolatedStringHandler.ToStringAndClear(), item.ToString(), headerStates)) ? (-1544215623) : (-1544215621)); + break; + } + case 11: + { + (EClassJob, int) current = enumerator.Current; + item = current.Item1; + item2 = current.Item2; + num = (_200C_202D_200B_206A_200F_200E_202B_202B_200C_202C_202A_206B_202D_202C_202A_206D_206A_200F_202E_206E_202A_206D_202D_202C_200E_206C_200F_200F_206C_200E_200E_202C_206E_206D_206C_202B_206B_202B_200D_206C_202E(item) ? (-1544215623) : (-1544215624)); + break; + } + case 4: + num = (_202D_206B_206B_200D_202A_206F_202C_202A_202E_206B_202E_206B_200B_202A_200B_202D_206D_202E_206E_202D_202E_206A_200D_206E_200D_206A_200E_200B_200C_202B_206B_200E_202C_202D_202D_200D_206B_206A_202D_200F_202E((IEnumerator)enumerator) ? (-1544215626) : (-1544215627)); + break; + case 7: + num7 = item2; + _206B_202A_200C_206C_202C_206C_202C_200C_200D_200F_200E_202C_200F_200B_206F_200C_202C_206A_206C_200E_200C_202A_206F_202B_200D_202E_206B_200F_206F_200F_206B_202C_202A_200E_202E_202A_200C_200B_202D_200C_202E(); + _202C_202B_206B_200D_202A_202E_206C_206E_202A_206A_202B_200B_202E_202E_206D_200D_206E_206C_202A_200D_206D_206C_206E_200F_202B_202D_200F_206F_200C_206D_202C_206D_202B_206E_206B_206F_206A_206C_206A_202E_202E(); + _206B_202A_200C_206C_202C_206C_202C_200C_200D_200F_200E_202C_200F_200B_206F_200C_202C_206A_206C_200E_200C_202A_206F_202B_200D_202E_206B_200F_206F_200F_206B_202C_202A_200E_202E_202A_200C_200B_202D_200C_202E(); + num = -1544215618; + break; + case 3: + text = _206F_206F_206F_206D_206C_200E_206D_200E_200D_202E_200F_202C_202C_206E_202C_206F_200E_200B_200F_200B_202A_206B_206B_202A_206C_200E_206C_206D_200D_202A_200C_202E_202D_206E_202B_206F_206C_200C_206B_200E_202E(item); + num = ((!_200D_206B_206C_206C_202E_200C_206A_206C_206B_200C_200C_200D_200E_200D_206D_202D_200F_200F_202A_200F_206D_200C_200E_206A_206F_202C_202C_206B_206F_206A_202A_202D_202C_200C_206B_200E_200C_200D_202A_206C_202E(item)) ? (-1544215620) : (-1544215625)); + break; + case 0: + num = ((!_jobQuestBattles.TryGetValue(item, out value)) ? (-1544215623) : (-1544215617)); + break; + case 8: + return; + } + } + } + finally + { + num = ((enumerator == null) ? 909059327 : 909059324); + while (true) + { + int num9 = num; + num3 = 909059326; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 0: + num = 909059324; + break; + case 1: + goto end_IL_0321; + case 2: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)enumerator); + num = 909059327; + break; + } + continue; + end_IL_0321: + break; + } } - DrawQuestTable($"JobQuests{eClassJob}", value); } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = false; - Save(); } + continue; + IL_0057: + num = 986510287; } } + [MethodImpl(MethodImplOptions.NoInlining)] 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) + int num = ((!(!childDisposable)) ? 713533165 : 713533166); + EClassJob item4 = default(EClassJob); + List value = default(List); + string item3 = default(string); + while (true) { - return; - } - foreach (var (eClassJob, value) in RoleQuestCategories) - { - if (!_roleQuestBattles.TryGetValue(eClassJob, out List value2)) + int num2 = num; + int num3 = 713533167; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - 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)) + case 0: + goto IL_0057; + case 1: + return; + case 2: { - if (!base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) + Dictionary headerStates = base.Configuration.SinglePlayerDuties.HeaderStates; + using (List<(EClassJob, string)>.Enumerator enumerator = RoleQuestCategories.GetEnumerator()) { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = true; - Save(); + num = -2084148046; + while (true) + { + int num7 = num; + num3 = -2084148048; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -2084148046; + break; + case 2: + num = (enumerator.MoveNext() ? (-2084148044) : (-2084148043)); + break; + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(10, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(1547149851)); + defaultInterpolatedStringHandler3.AppendFormatted(item4); + DrawQuestTable(defaultInterpolatedStringHandler3.ToStringAndClear(), value); + num = -2084148046; + break; + } + case 4: + { + (EClassJob, string) current = enumerator.Current; + item4 = current.Item1; + item3 = current.Item2; + num = ((!_roleQuestBattles.TryGetValue(item4, out value)) ? (-2084148046) : (-2084148047)); + break; + } + case 1: + { + (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(value); + int item = questBattleCounts.enabledCount; + int item2 = questBattleCounts.totalCount; + string label = item3; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler.AppendFormatted(item); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(503298330)); + defaultInterpolatedStringHandler.AppendFormatted(item2); + string rightText = defaultInterpolatedStringHandler.ToStringAndClear(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(712946175)); + defaultInterpolatedStringHandler2.AppendFormatted(item4); + num = ((!DrawPersistentAccordion(label, rightText, defaultInterpolatedStringHandler2.ToStringAndClear(), headerStates)) ? (-2084148046) : (-2084148048)); + break; + } + case 5: + goto end_IL_009d; + } + continue; + end_IL_009d: + break; + } + } + (int enabledCount, int totalCount) questBattleCounts2 = GetQuestBattleCounts(_otherRoleQuestBattles); + int item5 = questBattleCounts2.enabledCount; + int item6 = questBattleCounts2.totalCount; + string label2 = global::_003CModule_003E._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(900333825); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler4.AppendFormatted(item5); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(-70733513)); + defaultInterpolatedStringHandler4.AppendFormatted(item6); + num = ((!DrawPersistentAccordion(label2, defaultInterpolatedStringHandler4.ToStringAndClear(), global::_003CModule_003E._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(-346473233), headerStates)) ? (-1432626738) : (-1432626737)); + while (true) + { + int num8 = num; + num3 = -1432626738; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1432626737; + break; + case 1: + DrawQuestTable(global::_003CModule_003E._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(-345649742), _otherRoleQuestBattles); + num = -1432626738; + break; + case 0: + return; + } } - 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)) - { - 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(); + continue; + IL_0057: + num = 713533166; } } + [MethodImpl(MethodImplOptions.NoInlining)] 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) + int num = ((!(!childDisposable)) ? 70323230 : 70323231); + string item = default(string); + List item2 = default(List); + while (true) { - return; - } - foreach (var otherQuestBattle 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)) + int num2 = num; + int num3 = 70323230; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - if (!base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) + case 2: + goto IL_0055; + case 1: + return; + case 0: + { + Dictionary headerStates = base.Configuration.SinglePlayerDuties.HeaderStates; + using ImmutableList<(string, List)>.Enumerator enumerator = _otherQuestBattles.GetEnumerator(); + num = -444495889; + while (true) { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = true; - Save(); + int num5 = num; + num3 = -444495890; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + DrawQuestTable(_200B_200E_202B_200C_202A_200E_202E_202E_202B_202E_206D_202B_206F_200E_202C_202E_206C_206A_200B_200B_202D_202E_200D_200B_200F_202C_206D_206A_206B_206C_200B_202C_200F_202B_206C_202A_202A_202B_202A_206B_202E(global::_003CModule_003E._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(835196009), item), item2); + num = -444495889; + break; + case 4: + { + (string, List) current = enumerator.Current; + item = current.Item1; + item2 = current.Item2; + (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(item2); + int item3 = questBattleCounts.enabledCount; + int item4 = questBattleCounts.totalCount; + string label = item; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler.AppendFormatted(item3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-70733513)); + defaultInterpolatedStringHandler.AppendFormatted(item4); + num = ((!DrawPersistentAccordion(label, defaultInterpolatedStringHandler.ToStringAndClear(), _200B_200E_202B_200C_202A_200E_202E_202E_202B_202E_206D_202B_206F_200E_202C_202E_206C_206A_200B_200B_202D_202E_200D_200B_200F_202C_206D_206A_206B_206C_200B_202C_200F_202B_206C_202A_202A_202B_202A_206B_202E(global::_003CModule_003E._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(880133585), item), headerStates)) ? (-444495889) : (-444495890)); + break; + } + case 1: + num = (enumerator.MoveNext() ? (-444495894) : (-444495891)); + break; + case 2: + num = -444495889; + break; + case 3: + return; + } } - DrawQuestTable("Other" + item3, item4); } - else if (base.Configuration.SinglePlayerDuties.HeaderStates.GetValueOrDefault(key, defaultValue: false)) - { - base.Configuration.SinglePlayerDuties.HeaderStates[key] = false; - Save(); } + continue; + IL_0055: + num = 70323231; } } + [MethodImpl(MethodImplOptions.NoInlining)] 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; } - ImGui.TableSetupColumn("Quest", ImGuiTableColumnFlags.WidthStretch); - ImGui.TableSetupColumn("Options", ImGuiTableColumnFlags.WidthFixed, 200f); - foreach (SinglePlayerDutyInfo dutyInfo in dutyInfos) + _202A_202B_202B_206F_206C_200F_206E_200B_200C_202E_202B_202B_206C_206B_202E_202C_202E_206A_200E_206C_206E_202A_202D_200B_202D_206F_206E_206D_200E_206B_202E_206E_202A_206C_206F_202A_202B_202C_206B_206A_202E((ImU8String)global::_003CModule_003E._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(-670330761), ImGuiTableColumnFlags.WidthStretch, 0f, 0u); + _202A_202B_202B_206F_206C_200F_206E_200B_200C_202E_202B_202B_206C_206B_202E_202C_202E_206A_200E_206C_206E_202A_202D_200B_202D_206F_206E_206D_200E_206B_202E_206E_202A_206C_206F_202A_202B_202C_206B_206A_202E((ImU8String)global::_003CModule_003E._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(465239065), ImGuiTableColumnFlags.WidthFixed, 200f, 0u); + IEnumerator enumerator = dutyInfos.GetEnumerator(); + try { - ImGui.TableNextRow(); - string[] array = (dutyInfo.EnabledByDefault ? SupportedCfcOptions : UnsupportedCfcOptions); - int currentItem = 0; - if (base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Contains(dutyInfo.ContentFinderConditionId)) + while (_202D_206B_206B_200D_202A_206F_202C_202A_202E_206B_202E_206B_200B_202A_200B_202D_206D_202E_206E_202D_202E_206A_200D_206E_200D_206A_200E_200B_200C_202B_206B_200E_202C_202D_202D_200D_206B_206A_202D_200F_202E((IEnumerator)enumerator)) { - currentItem = 1; - } - if (base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Contains(dutyInfo.ContentFinderConditionId)) - { - currentItem = 2; - } - if (ImGui.TableNextColumn()) - { - ImGui.AlignTextToFramePadding(); - ImGui.TextUnformatted(dutyInfo.Name); - if (ImGui.IsItemHovered() && base.Configuration.Advanced.AdditionalStatusInformation) + SinglePlayerDutyInfo current = enumerator.Current; + _200B_202A_202E_202C_206C_206F_200B_200C_206E_206B_206C_206A_200D_202E_202D_200E_206C_200B_206A_202B_202A_206B_202C_206D_202D_206A_202A_202A_202D_200B_200C_202D_206E_200B_202A_200D_202C_202D_202D_206D_202E(); + string[] array = (current.EnabledByDefault ? SupportedCfcOptions : UnsupportedCfcOptions); + int currentItem = 0; + if (base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Contains(current.ContentFinderConditionId)) { - using ImRaii.TooltipDisposable tooltipDisposable = ImRaii.Tooltip(); - if (tooltipDisposable.Alive) + currentItem = 1; + } + if (base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Contains(current.ContentFinderConditionId)) + { + currentItem = 2; + } + int num; + if (_200B_200C_202D_206A_202A_200D_202B_200E_202E_200D_200F_202D_200C_200C_200F_206B_206D_200E_206B_200F_206F_200F_200D_200D_206A_202E_200C_202C_200B_206E_200D_206B_202D_200D_202C_206E_200C_200E_206B_206E_202E()) + { + _206A_206F_202B_206E_206B_206E_206C_206D_202D_202E_206E_206E_200B_200B_202E_206A_206D_200F_200C_202D_206E_202C_206F_200B_202D_206C_200D_206C_200D_206A_206E_206A_206C_200E_202A_200C_200E_200E_206F_202E_202E(); + float reservedRightWidth = ((!current.Enabled || current.Notes.Length != 0) ? (_206F_206C_206E_202C_200D_202D_206F_200F_202A_200F_200D_200D_206B_202C_206D_202E_202A_206A_202B_202D_202D_200E_200F_200E_200D_206B_202B_200C_206D_200B_202A_206E_200F_200F_200B_202D_206C_202E_200B_206B_202E() + _200E_202B_206C_200F_206C_206F_206E_202E_202A_206D_202C_200D_200B_206B_200D_206A_206E_206C_202E_206F_202D_200E_206A_202E_206F_200D_200F_200C_200C_202B_206C_200E_200C_206C_200B_206D_206D_202B_206C_202E_202E().ItemSpacing.X) : 0f); + UiThemeUtils.RowLabel(current.Name, reservedRightWidth); + if (current.Enabled) { - 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); + num = ((current.Notes.Length == 0) ? (-1210552144) : (-1210552143)); + goto IL_0238; } - } - if (!dutyInfo.Enabled) - { - ImGuiComponents.HelpMarker("Questionable doesn't include support for this quest.", FontAwesomeIcon.Times, ImGuiColors.DalamudRed); - } - else if (dutyInfo.Notes.Count > 0) - { - ConfigComponent.DrawNotes(dutyInfo.EnabledByDefault, dutyInfo.Notes); - } - } - if (!ImGui.TableNextColumn()) - { - continue; - } - ImU8String id = new ImU8String(6, 1); - id.AppendLiteral("##Duty"); - id.AppendFormatted(dutyInfo.ContentFinderConditionId); - using (ImRaii.PushId(id)) - { - using (ImRaii.Disabled(!dutyInfo.Enabled)) - { - ImGui.SetNextItemWidth(200f); - if (ImGui.Combo((ImU8String)string.Empty, ref currentItem, (ReadOnlySpan)array, array.Length)) + _202D_206F_206D_206B_200F_202D_206D_202C_202D_206F_202E_206C_202C_202E_206F_200E_200E_200B_206D_202B_202E_206C_200E_206C_206C_202D_202A_200C_200C_206E_206E_200D_202A_206B_202D_202D_206B_202C_206F_202E(); + ImRaii.FontDisposable fontDisposable = _202A_202B_206D_200D_206F_200F_202B_200D_202D_200F_206A_202B_206A_200F_202C_206D_206C_206A_202A_200F_206F_206B_202E_206D_202E_202B_202D_200D_200D_202D_202A_200E_206D_206B_202A_202B_202C_206C_206A_206B_202E(_200D_206B_202A_200E_206A_202B_206E_200D_200B_200C_200B_206F_206B_202E_200E_202A_200D_202C_202E_202E_206E_202E_206C_206A_206F_200F_202E_206F_202E_202B_202D_202C_200B_202E_200C_202D_206C_206B_202C_206F_202E(), true); + try { - base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Remove(dutyInfo.ContentFinderConditionId); - base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Remove(dutyInfo.ContentFinderConditionId); - switch (currentItem) + _206E_206C_202E_200C_202C_206A_206C_200D_206B_202E_200E_200D_206B_202B_202C_200C_202E_206A_206E_202B_200E_202A_200F_202D_206E_202B_200D_206A_200F_206D_202B_202C_206E_200F_200C_202E_202A_202E_206B_200D_202E(ref UiThemeUtils.StatusLocked, (ImU8String)_202C_206A_206C_206F_200C_200F_202C_206F_202A_200F_206C_200E_202C_206E_200C_206F_206B_206D_206D_206A_200C_200B_202D_206C_202E_206D_202D_206C_206D_206B_206C_202B_202C_206A_200F_200C_206B_206A_206D_202B_202E(FontAwesomeIcon.Times)); + } + finally + { + num = ((fontDisposable == null) ? 144414257 : 144414258); + while (true) { - case 1: - base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Add(dutyInfo.ContentFinderConditionId); - break; - case 2: - base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Add(dutyInfo.ContentFinderConditionId); + int num2 = num; + int num3 = 144414256; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 144414258; + break; + case 2: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)fontDisposable); + num = 144414257; + break; + case 1: + goto end_IL_0187; + } + continue; + end_IL_0187: break; } - Save(); + } + if (_202A_206B_200F_200B_206C_206B_202A_200D_206B_202D_206D_200B_202E_202D_206F_202C_200B_200F_206D_202A_206C_206B_206F_202E_200F_202D_200E_202C_200D_200E_200B_202B_206B_200B_206B_206A_206F_202A_206D_202E()) + { + using (_206B_206F_206E_202B_200B_206E_200D_206F_202D_200B_206E_206E_206C_200D_206D_202E_206C_202E_206F_200E_206D_200C_206A_200F_202E_206C_200D_200E_206E_206A_206E_200D_202D_200C_200F_206A_200F_202C_206C_206D_202E()) + { + _206C_200D_206D_202C_200C_202B_202A_206C_200E_206C_202C_202D_206A_200F_200B_202A_206A_206A_206F_202C_206B_202E_200D_200F_200E_202D_206A_202B_200F_202B_202A_202C_202B_202B_202A_200E_200F_202B_206B_202E_202E(400f); + _200E_200B_202D_202A_206D_200D_200C_202B_200C_206F_206E_206E_200D_200B_200F_206B_202D_200E_200B_206F_200B_206A_206B_206B_202B_202B_202C_202B_200E_206F_202A_206B_200D_206F_202A_206E_202B_206A_200F_200D_202E((ImU8String)global::_003CModule_003E._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(-1139774933)); + _200E_200F_206D_206B_206F_200E_206F_200F_202B_200F_202E_206E_206B_202B_200C_200C_200B_200F_202E_202A_202C_200B_202E_202C_200E_202E_200D_202D_206C_206C_202D_206E_202A_206B_206E_206A_206E_200F_206A_202E(); + } } } + goto IL_026a; + IL_02a9: + ImU8String imU8String = new ImU8String(6, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1875056268)); + imU8String.AppendFormatted(current.ContentFinderConditionId); + ImRaii.IdDisposable idDisposable = _202D_206F_200B_202C_202A_206A_206C_206E_200C_206E_206B_206A_202C_200F_206D_206C_202B_202B_206B_202E_202E_202C_206C_206E_200E_200C_206A_202E_200C_206B_200B_200B_206D_206D_202D_200B_206B_206B_206C_200D_202E(imU8String, true); + try + { + ImRaii.DisabledDisposable disabledDisposable = _202D_200E_206A_202E_206E_206C_202D_206F_200C_202A_202A_200B_206D_200F_206D_202C_206E_200E_202C_200B_202E_200B_200C_202D_202A_202E_200C_200E_202A_206C_200D_200F_202C_202E_206D_206B_206C_202C_206C_202E_202E(!current.Enabled); + try + { + _200D_206A_206A_200B_200B_206B_202A_206B_200D_206B_206D_200B_202E_202B_200E_206B_206A_202B_200D_202B_200D_200B_206D_200F_200F_206D_202B_206D_206F_206E_202C_206F_200B_200D_206B_206D_200F_202A_202A_206C_202E(-1f); + num = ((!UiThemeUtils.ThemedCombo(string.Empty, ref currentItem, array, array.Length)) ? (-430072401) : (-430072402)); + while (true) + { + int num5 = num; + int num3 = -430072405; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Add(current.ContentFinderConditionId); + num = -430072406; + break; + case 5: + base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Remove(current.ContentFinderConditionId); + base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Remove(current.ContentFinderConditionId); + num = ((currentItem != 1) ? (-430072408) : (-430072407)); + break; + case 3: + num = ((currentItem != 2) ? (-430072406) : (-430072403)); + break; + case 0: + num = -430072402; + break; + case 1: + Save(); + num = -430072401; + break; + case 6: + base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Add(current.ContentFinderConditionId); + num = -430072406; + break; + case 4: + goto end_IL_0321; + } + continue; + end_IL_0321: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-29554292) : (-29554289)); + while (true) + { + int num6 = num; + int num3 = -29554290; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -29554289; + break; + case 2: + goto end_IL_0467; + case 1: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)disabledDisposable); + num = -29554292; + break; + } + continue; + end_IL_0467: + break; + } + } + } + finally + { + num = ((idDisposable == null) ? (-175423025) : (-175423026)); + while (true) + { + int num7 = num; + int num3 = -175423025; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + num = -175423026; + break; + case 1: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)idDisposable); + num = -175423025; + break; + case 0: + goto end_IL_04d2; + } + continue; + end_IL_04d2: + break; + } + } + continue; + IL_0238: + while (true) + { + int num10 = num; + int num3 = -1210552142; + int num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 2: + goto end_IL_0238; + case 3: + ConfigComponent.DrawNotes(current.EnabledByDefault, current.Notes); + num = -1210552144; + break; + case 0: + num = -1210552143; + break; + case 1: + goto IL_02a9; + } + continue; + end_IL_0238: + break; + } + goto IL_026a; + IL_026a: + if (!_200B_200C_202D_206A_202A_200D_202B_200E_202E_200D_200F_202D_200C_200C_200F_206B_206D_200E_206B_200F_206F_200F_200D_200D_206A_202E_200C_202C_200B_206E_200D_206B_202D_200D_202C_206E_200C_200E_206B_206E_202E()) + { + continue; + } + num = -1210552141; + goto IL_0238; + } + } + finally + { + int num = ((enumerator == null) ? 10830017 : 10830018); + while (true) + { + int num13 = num; + int num3 = 10830019; + int num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 0: + num = 10830018; + break; + case 2: + goto end_IL_054e; + case 1: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)enumerator); + num = 10830017; + break; + } + continue; + end_IL_054e: + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] private static ImRaii.ChildDisposable BeginChildArea() { - return ImRaii.Child("DutyConfiguration", new Vector2(725f, 400f), border: true); + Vector2 vector = _206C_206D_200C_206A_200D_202E_206D_202B_206F_202B_206B_206A_202D_206F_206D_202B_200E_202C_200F_202B_200D_202A_206E_202B_206B_202A_206C_202E_202B_200F_206B_206D_200C_202D_206A_200E_200D_202E_206B_202E(); + return _202E_200D_200E_202E_206E_206C_206B_202B_206E_200C_202C_202C_200E_200D_200D_200B_202D_202E_206E_206D_206A_206D_202B_206F_206D_200F_206D_202D_200D_200C_200F_202C_200E_200E_200E_200C_202E_200C_202A_206C_202E((ImU8String)global::_003CModule_003E._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(-363264000), new Vector2(vector.X, _206F_200F_206D_200D_200F_206C_200F_200B_202E_202D_200B_200C_202E_200D_202B_202C_200B_202E_202C_206D_200B_206C_200D_206C_202A_206B_202A_200D_202A_200C_206E_200D_200B_206B_206B_202B_206A_206A_200C_200D_202E(vector.Y - 30f - 12f, 200f)), 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); + int num = ((open == headerStates.GetValueOrDefault(stateKey, defaultValue: false)) ? 1135011708 : 1135011709); + while (true) + { + int num2 = num; + int num3 = 1135011708; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1135011709; + break; + case 0: + return open; + case 1: + headerStates[stateKey] = open; + Save(); + num = 1135011708; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawEnableAllButton() { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.CheckCircle, "Enable All")) + int num; + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.CheckCircle, global::_003CModule_003E._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(-1612441257))) { base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Clear(); base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Clear(); - foreach (SinglePlayerDutyInfo allEnabledSinglePlayerDuty in GetAllEnabledSinglePlayerDuties()) + IEnumerator enumerator = GetAllEnabledSinglePlayerDuties().GetEnumerator(); + try { - base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Add(allEnabledSinglePlayerDuty.ContentFinderConditionId); + num = 104695518; + while (true) + { + int num2 = num; + int num3 = 104695516; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 104695518; + break; + case 3: + { + SinglePlayerDutyInfo current = enumerator.Current; + base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Add(current.ContentFinderConditionId); + num = 104695518; + break; + } + case 2: + num = (_202D_206B_206B_200D_202A_206F_202C_202A_202E_206B_202E_206B_200B_202A_200B_202D_206D_202E_206E_202D_202E_206A_200D_206E_200D_206A_200E_200B_200C_202B_206B_200E_202C_202D_202D_200D_206B_206A_202D_200F_202E((IEnumerator)enumerator) ? 104695519 : 104695517); + break; + case 1: + goto end_IL_005a; + } + continue; + end_IL_005a: + break; + } + } + finally + { + num = ((enumerator == null) ? (-1714249428) : (-1714249425)); + while (true) + { + int num5 = num; + int num3 = -1714249426; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0101; + case 1: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)enumerator); + num = -1714249428; + break; + case 0: + num = -1714249425; + break; + } + continue; + end_IL_0101: + break; + } } Save(); } - if (ImGui.IsItemHovered()) + num = ((!_202A_206B_200F_200B_206C_206B_202A_200D_206B_202D_206D_200B_202E_202D_206F_202C_200B_200F_206D_202A_206C_206B_206F_202E_200F_202D_200E_202C_200D_200E_200B_202B_206B_200B_206B_206A_206F_202A_206D_202E()) ? 1421940663 : 1421940660); + while (true) { - ImGui.SetTooltip("Enable all of the quest battles, use at your own risk."); - } - } - - 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")) + int num6 = num; + int num3 = 1421940662; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) { + case 0: + num = 1421940660; + break; + case 1: return; + case 2: + _202C_206C_206F_200E_200C_206D_206D_206C_206A_206C_206D_202E_202A_200D_200B_206F_206C_206A_200C_200E_202A_202D_206B_202A_202E_200F_206E_202C_200E_200E_206E_206F_206F_206D_206E_202B_200F_200B_202B_206F_202E((ImU8String)global::_003CModule_003E._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(-1435365237)); + num = 1421940663; + break; } - 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."); } } @@ -804,15 +2403,96 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent { int num = 0; int num2 = 0; - foreach (SinglePlayerDutyInfo dutyInfo in dutyInfos) + IEnumerator enumerator = dutyInfos.GetEnumerator(); + try { - if (dutyInfo.Enabled) + int num3 = 929460521; + SinglePlayerDutyInfo current = default(SinglePlayerDutyInfo); + while (true) { - num2++; - if (base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Contains(dutyInfo.ContentFinderConditionId) || (!base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Contains(dutyInfo.ContentFinderConditionId) && dutyInfo.EnabledByDefault)) + int num4 = num3; + int num5 = 929460527; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) { - num++; + case 3: + { + int num10 = num; + num5 = 1; + num6 = num10; + num = (num6 | num5) + (num6 & num5); + num3 = 929460521; + break; } + case 2: + if (current.EnabledByDefault) + { + goto case 8; + } + goto case 7; + case 4: + { + int num9 = num2; + num5 = 1; + num6 = num9; + num2 = (num6 | num5) + (num6 & num5); + num3 = (base.Configuration.SinglePlayerDuties.WhitelistedSinglePlayerDutyCfcIds.Contains(current.ContentFinderConditionId) ? 929460519 : 929460526); + break; + } + case 8: + num3 = 929460524; + break; + case 7: + num3 = 929460521; + break; + case 6: + num3 = (_202D_206B_206B_200D_202A_206F_202C_202A_202E_206B_202E_206B_200B_202A_200B_202D_206D_202E_206E_202D_202E_206A_200D_206E_200D_206A_200E_200B_200C_202B_206B_200E_202C_202D_202D_200D_206B_206A_202D_200F_202E((IEnumerator)enumerator) ? 929460522 : 929460527); + break; + case 5: + current = enumerator.Current; + num3 = ((!current.Enabled) ? 929460521 : 929460523); + break; + case 1: + num3 = (base.Configuration.SinglePlayerDuties.BlacklistedSinglePlayerDutyCfcIds.Contains(current.ContentFinderConditionId) ? 929460520 : 929460525); + break; + case 9: + num3 = 929460521; + break; + case 0: + goto end_IL_0017; + } + continue; + end_IL_0017: + break; + } + } + finally + { + int num3 = ((enumerator == null) ? (-2020150969) : (-2020150972)); + while (true) + { + int num11 = num3; + int num5 = -2020150971; + int num6 = num11; + int num12 = num6 + num5; + int num13 = num6 & num5; + switch (num12 - (num13 + num13)) + { + case 2: + goto end_IL_01c4; + case 1: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)enumerator); + num3 = -2020150969; + break; + case 0: + num3 = -2020150972; + break; + } + continue; + end_IL_01c4: + break; } } return (enabledCount: num, totalCount: num2); @@ -822,21 +2502,151 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent { int num = 0; int num2 = 0; - foreach (List value in _startingCityBattles.Values) + IEnumerator> enumerator = _startingCityBattles.Values.GetEnumerator(); + try { - (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(value); - int item = questBattleCounts.enabledCount; - int item2 = questBattleCounts.totalCount; - num += item; - num2 += item2; + int num3 = -1710617818; + while (true) + { + int num4 = num3; + int num5 = -1710617820; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 2: + num3 = (_202D_206B_206B_200D_202A_206F_202C_202A_202E_206B_202E_206B_200B_202A_200B_202D_206D_202E_206E_202D_202E_206A_200D_206E_200D_206A_200E_200B_200C_202B_206B_200E_202C_202D_202D_200D_206B_206A_202D_200F_202E((IEnumerator)enumerator) ? (-1710617819) : (-1710617817)); + break; + case 1: + { + List current = enumerator.Current; + (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(current); + int item = questBattleCounts.enabledCount; + int item2 = questBattleCounts.totalCount; + int num9 = num; + num5 = item; + num6 = num9; + int num10 = num6 ^ num5; + int num11 = num6 & num5; + num = num10 + (num11 + num11); + int num12 = num2; + num5 = item2; + num6 = num12; + int num13 = num6 ^ num5; + int num14 = num6 & num5; + num2 = num13 + (num14 + num14); + num3 = -1710617818; + break; + } + case 0: + num3 = -1710617818; + break; + case 3: + goto end_IL_0021; + } + continue; + end_IL_0021: + break; + } } - foreach (List value2 in _mainScenarioBattles.Values) + finally { - (int enabledCount, int totalCount) questBattleCounts2 = GetQuestBattleCounts(value2); - int item3 = questBattleCounts2.enabledCount; - int item4 = questBattleCounts2.totalCount; - num += item3; - num2 += item4; + int num3 = ((enumerator == null) ? (-1533787922) : (-1533787923)); + while (true) + { + int num15 = num3; + int num5 = -1533787924; + int num6 = num15; + int num16 = num6 + num5; + int num17 = num6 & num5; + switch (num16 - (num17 + num17)) + { + case 0: + num3 = -1533787923; + break; + case 2: + goto end_IL_00f8; + case 1: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)enumerator); + num3 = -1533787922; + break; + } + continue; + end_IL_00f8: + break; + } + } + enumerator = _mainScenarioBattles.Values.GetEnumerator(); + try + { + int num3 = -2131619834; + while (true) + { + int num18 = num3; + int num5 = -2131619835; + int num6 = num18; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num3 = -2131619834; + break; + case 2: + { + List current2 = enumerator.Current; + (int enabledCount, int totalCount) questBattleCounts2 = GetQuestBattleCounts(current2); + int item3 = questBattleCounts2.enabledCount; + int item4 = questBattleCounts2.totalCount; + int num19 = num; + num5 = item3; + num6 = num19; + int num20 = num6 ^ num5; + int num21 = num6 & num5; + num = num20 + (num21 + num21); + int num22 = num2; + num5 = item4; + num6 = num22; + num2 = (num6 | num5) + (num6 & num5); + num3 = -2131619834; + break; + } + case 3: + num3 = (_202D_206B_206B_200D_202A_206F_202C_202A_202E_206B_202E_206B_200B_202A_200B_202D_206D_202E_206E_202D_202E_206A_200D_206E_200D_206A_200E_200B_200C_202B_206B_200E_202C_202D_202D_200D_206B_206A_202D_200F_202E((IEnumerator)enumerator) ? (-2131619833) : (-2131619836)); + break; + case 1: + goto end_IL_0162; + } + continue; + end_IL_0162: + break; + } + } + finally + { + int num3 = ((enumerator == null) ? (-1852342746) : (-1852342747)); + while (true) + { + int num23 = num3; + int num5 = -1852342748; + int num6 = num23; + int num24 = num6 + num5; + int num25 = num6 & num5; + switch (num24 - (num25 + num25)) + { + case 2: + goto end_IL_0237; + case 1: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)enumerator); + num3 = -1852342746; + break; + case 0: + num3 = -1852342747; + break; + } + continue; + end_IL_0237: + break; + } } return (enabledCount: num, totalCount: num2); } @@ -845,13 +2655,78 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent { int num = 0; int num2 = 0; - foreach (List value in _jobQuestBattles.Values) + IEnumerator> enumerator = _jobQuestBattles.Values.GetEnumerator(); + try { - (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(value); - int item = questBattleCounts.enabledCount; - int item2 = questBattleCounts.totalCount; - num += item; - num2 += item2; + int num3 = 1882322765; + while (true) + { + int num4 = num3; + int num5 = 1882322764; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 0: + num3 = 1882322765; + break; + case 2: + { + List current = enumerator.Current; + (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(current); + int item = questBattleCounts.enabledCount; + int item2 = questBattleCounts.totalCount; + int num9 = num; + num5 = item; + num6 = num9; + int num10 = num6 ^ num5; + int num11 = num6 & num5; + num = num10 + (num11 + num11); + int num12 = num2; + num5 = item2; + num6 = num12; + int num13 = num6 ^ num5; + int num14 = num6 & num5; + num2 = num13 + (num14 + num14); + num3 = 1882322765; + break; + } + case 1: + num3 = (_202D_206B_206B_200D_202A_206F_202C_202A_202E_206B_202E_206B_200B_202A_200B_202D_206D_202E_206E_202D_202E_206A_200D_206E_200D_206A_200E_200B_200C_202B_206B_200E_202C_202D_202D_200D_206B_206A_202D_200F_202E((IEnumerator)enumerator) ? 1882322766 : 1882322767); + break; + case 3: + goto end_IL_0021; + } + continue; + end_IL_0021: + break; + } + } + finally + { + int num3 = ((enumerator == null) ? 1350854521 : 1350854520); + while (true) + { + int num15 = num3; + int num5 = 1350854521; + int num6 = num15; + switch ((num6 | num5) - (num6 & num5)) + { + case 2: + num3 = 1350854520; + break; + case 1: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)enumerator); + num3 = 1350854521; + break; + case 0: + goto end_IL_00f8; + } + continue; + end_IL_00f8: + break; + } } return (enabledCount: num, totalCount: num2); } @@ -860,19 +2735,94 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent { int num = 0; int num2 = 0; - foreach (List value in _roleQuestBattles.Values) + IEnumerator> enumerator = _roleQuestBattles.Values.GetEnumerator(); + int num5; + int num6; + try { - (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(value); - int item = questBattleCounts.enabledCount; - int item2 = questBattleCounts.totalCount; - num += item; - num2 += item2; + int num3 = -766289963; + while (true) + { + int num4 = num3; + num5 = -766289964; + num6 = num4; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num3 = -766289963; + break; + case 1: + num3 = (_202D_206B_206B_200D_202A_206F_202C_202A_202E_206B_202E_206B_200B_202A_200B_202D_206D_202E_206E_202D_202E_206A_200D_206E_200D_206A_200E_200B_200C_202B_206B_200E_202C_202D_202D_200D_206B_206A_202D_200F_202E((IEnumerator)enumerator) ? (-766289961) : (-766289962)); + break; + case 3: + { + List current = enumerator.Current; + (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(current); + int item = questBattleCounts.enabledCount; + int item2 = questBattleCounts.totalCount; + int num7 = num; + num5 = item; + num6 = num7; + int num8 = num6 ^ num5; + int num9 = num6 & num5; + num = num8 + (num9 + num9); + int num10 = num2; + num5 = item2; + num6 = num10; + num2 = (num6 | num5) + (num6 & num5); + num3 = -766289963; + break; + } + case 2: + goto end_IL_0022; + } + continue; + end_IL_0022: + break; + } + } + finally + { + int num3 = ((enumerator == null) ? 769404478 : 769404479); + while (true) + { + int num11 = num3; + num5 = 769404478; + num6 = num11; + int num12 = num6 + num5; + int num13 = num6 & num5; + switch (num12 - (num13 + num13)) + { + case 0: + goto end_IL_00fa; + case 1: + _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E((IDisposable)enumerator); + num3 = 769404478; + break; + case 2: + num3 = 769404479; + break; + } + continue; + end_IL_00fa: + break; + } } (int enabledCount, int totalCount) questBattleCounts2 = GetQuestBattleCounts(_otherRoleQuestBattles); int item3 = questBattleCounts2.enabledCount; int item4 = questBattleCounts2.totalCount; - num += item3; - num2 += item4; + int num14 = num; + num5 = item3; + num6 = num14; + int num15 = num6 ^ num5; + int num16 = num6 & num5; + num = num15 + (num16 + num16); + int num17 = num2; + num5 = item4; + num6 = num17; + int num18 = num6 ^ num5; + int num19 = num6 & num5; + num2 = num18 + (num19 + num19); return (enabledCount: num, totalCount: num2); } @@ -880,29 +2830,304 @@ internal sealed class SinglePlayerDutyConfigComponent : ConfigComponent { int num = 0; int num2 = 0; - foreach (var otherQuestBattle in _otherQuestBattles) + using (ImmutableList<(string, List)>.Enumerator enumerator = _otherQuestBattles.GetEnumerator()) { - List item = otherQuestBattle.Item2; - (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(item); - int item2 = questBattleCounts.enabledCount; - int item3 = questBattleCounts.totalCount; - num += item2; - num2 += item3; + int num3 = -1177106358; + while (true) + { + int num4 = num3; + int num5 = -1177106358; + int num6 = num4; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num3 = (enumerator.MoveNext() ? (-1177106359) : (-1177106357)); + break; + case 3: + { + List item = enumerator.Current.Item2; + (int enabledCount, int totalCount) questBattleCounts = GetQuestBattleCounts(item); + int item2 = questBattleCounts.enabledCount; + int item3 = questBattleCounts.totalCount; + int num7 = num; + num5 = item2; + num6 = num7; + int num8 = num6 ^ num5; + int num9 = num6 & num5; + num = num8 + (num9 + num9); + int num10 = num2; + num5 = item3; + num6 = num10; + num2 = (num6 | num5) + (num6 & num5); + num3 = -1177106358; + break; + } + case 2: + num3 = -1177106358; + break; + case 1: + goto end_IL_001c; + } + continue; + end_IL_001c: + break; + } } return (enabledCount: num, totalCount: num2); } + [MethodImpl(MethodImplOptions.NoInlining)] static SinglePlayerDutyConfigComponent() { int num = 5; List<(EClassJob, string)> list = new List<(EClassJob, string)>(num); CollectionsMarshal.SetCount(list, num); Span<(EClassJob, string)> span = CollectionsMarshal.AsSpan(list); - span[0] = (EClassJob.Paladin, "Tank Role Quests"); - span[1] = (EClassJob.WhiteMage, "Healer Role Quests"); - span[2] = (EClassJob.Lancer, "Melee Role Quests"); - span[3] = (EClassJob.Bard, "Physical Ranged Role Quests"); - span[4] = (EClassJob.BlackMage, "Magical Ranged Role Quests"); + span[0] = (EClassJob.Paladin, global::_003CModule_003E._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(891173026)); + span[1] = (EClassJob.WhiteMage, global::_003CModule_003E._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(337356766)); + span[2] = (EClassJob.Lancer, global::_003CModule_003E._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(-1720221262)); + span[3] = (EClassJob.Bard, global::_003CModule_003E._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(-1993977067)); + span[4] = (EClassJob.BlackMage, global::_003CModule_003E._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(-702703821)); RoleQuestCategories = list; } + + static string _206B_200B_202D_206F_206F_206B_202C_202C_200D_200C_206D_206B_202E_200E_206B_206F_202B_200D_202E_206A_200E_200B_202E_206C_206B_202D_202C_206E_200B_202D_202A_200B_202A_206F_206D_202A_200B_206D_202B_202A_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static bool _200C_206D_200F_202D_202B_202D_206D_206C_202C_202E_202A_202B_200E_200D_200B_200B_202A_206F_206B_202E_200C_202A_200B_206E_206C_202B_200E_206B_206C_202C_206F_206F_202B_206B_206B_206B_202B_206F_202E_200E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _200B_202D_206F_200D_206A_200E_202E_202D_202C_206A_202C_206A_206D_206F_202E_200D_202E_200B_206F_200C_200C_202D_202A_200C_206E_202A_202D_200F_206A_202C_206F_202C_202B_202B_206F_200C_202D_206D_202C_200F_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.EndsWith(P_1, P_2); + } + + static string _200E_200C_200C_206E_200E_200C_200C_206B_206D_202A_206C_200B_202B_202B_202B_202A_202C_206C_200B_206B_200E_202E_206D_206E_206F_206D_200C_200F_200E_206B_200F_200F_202C_206D_202A_206F_206C_206A_200C_206B_202E(string P_0, string P_1, string P_2, string P_3) + { + return P_0 + P_1 + P_2 + P_3; + } + + static string _200B_200E_202B_200C_202A_200E_202E_202E_202B_202E_206D_202B_206F_200E_202C_202E_206C_206A_200B_200B_202D_202E_200D_200B_200F_202C_206D_206A_206B_206C_200B_202C_200F_202B_206C_202A_202A_202B_202A_206B_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _202D_206B_206B_200D_202A_206F_202C_202A_202E_206B_202E_206B_200B_202A_200B_202D_206D_202E_206E_202D_202E_206A_200D_206E_200D_206A_200E_200B_200C_202B_206B_200E_202C_202D_202D_200D_206B_206A_202D_200F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200E_200D_206F_202C_200D_200F_206D_206C_200B_200E_200E_202E_202E_202A_206C_200E_202E_200F_200B_202B_200D_206B_206F_206C_206C_202C_202C_206D_206E_200F_200B_200F_202A_206B_202D_206C_202C_200B_200B_200F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _206D_206E_202D_202E_206D_206E_200F_202D_206B_206E_202E_200D_206F_200D_200F_200C_206D_202B_200E_206B_200E_202C_206B_202C_200F_206D_206F_206F_206E_200D_206E_202B_206C_200C_200D_202B_206E_200D_202D_202D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _202E_202C_200D_200E_206F_202B_200E_200C_200C_202E_206F_206D_202D_200B_200F_206F_202A_200C_200E_206F_200E_200F_200F_200B_200C_206C_206F_202D_206E_200C_200F_202A_202A_202B_206B_206A_206F_206F_202B_206A_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static void _202E_202A_202C_200F_206F_200B_206D_206C_202A_202E_200C_206D_200D_202C_206C_200B_206F_202D_206E_200D_200B_202B_202C_200E_206C_202C_200E_206E_206B_206A_200F_202E_206B_202E_200E_202E_200F_206A_206E_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static ushort _202D_202C_206F_206C_202D_200D_200C_202C_206B_206E_206D_206A_200F_206F_202D_206E_206A_206C_202B_200E_200B_206E_206E_200C_202B_200C_200E_206E_206B_206E_202B_202A_206A_200D_206D_200F_202B_202B_202D_200D_202E(ElementId P_0) + { + return P_0.Value; + } + + static void _206B_202A_200C_206C_202C_206C_202C_200C_200D_200F_200E_202C_200F_200B_206F_200C_202C_206A_206C_200E_200C_202A_206F_202B_200D_202E_206B_200F_206F_200F_206B_202C_202A_200E_202E_202A_200C_200B_202D_200C_202E() + { + ImGui.Spacing(); + } + + static ImRaii.DisabledDisposable _202D_200E_206A_202E_206E_206C_202D_206F_200C_202A_202A_200B_206D_200F_206D_202C_206E_200E_202C_200B_202E_200B_200C_202D_202A_202E_200C_200E_202A_206C_200D_200F_202C_202E_206D_206B_206C_202C_206C_202E_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static Vector2 _206C_206D_200C_206A_200D_202E_206D_202B_206F_202B_206B_206A_202D_206F_206D_202B_200E_202C_200F_202B_200D_202A_206E_202B_206B_202A_206C_202E_202B_200F_206B_206D_200C_202D_206A_200E_200D_202E_206B_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _206E_200D_202A_202D_206E_200C_200D_206D_206F_200D_206D_202D_200E_200D_206F_200E_202E_206C_206B_202A_206C_200F_206B_200F_200B_206E_200C_202D_202B_202A_200C_202D_200D_202B_206D_200F_200D_200B_202E_206E_202E(float P_0, float P_1) + { + return MathF.Min(P_0, P_1); + } + + static void _200D_206A_206A_200B_200B_206B_202A_206B_200D_206B_206D_200B_202E_202B_200E_206B_206A_202B_200D_202B_200D_200B_206D_200F_200F_206D_202B_206D_206F_206E_202C_206F_200B_200D_206B_206D_200F_202A_202A_206C_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static void _202D_206F_206D_206B_200F_202D_206D_202C_202D_206F_202E_206C_202C_202E_206F_200E_200E_200B_206D_202B_202E_206C_200E_206C_206C_202D_202A_200C_200C_206E_206E_200D_202A_206B_202D_202D_206B_202C_206F_202E() + { + ImGui.SameLine(); + } + + static bool _206B_206D_200D_202B_202B_200C_202E_206D_206B_206D_206E_202D_200F_202C_202A_202D_206E_202D_206F_200B_202A_200B_200F_202E_200D_202D_200E_206C_200B_200B_206A_206E_202B_206D_202D_206A_202B_202D_206D_202C_202E(ImU8String P_0, bool P_1) + { + return ImGui.RadioButton(P_0, P_1); + } + + static int _202C_202D_206F_200E_200E_202B_202C_206E_206B_200B_202E_206F_206E_202D_202C_206B_206D_206C_200F_202C_202B_202B_206E_202D_206C_200E_206D_200D_202D_200E_206D_200D_200B_206C_206F_206E_206A_200F_206D_206F_202E(int P_0, int P_1) + { + return Math.Max(P_0, P_1); + } + + static bool _202A_200F_206C_202B_202B_206D_200E_206F_200F_206B_206A_206F_206C_202E_200B_202D_206D_200B_200C_202E_202A_202D_202E_202D_206C_200E_200C_202D_206A_206B_206E_206D_206D_202A_202B_202E_200D_206B_200F_200D_202E(ImU8String P_0, ref int P_1, int P_2, int P_3, ImU8String P_4, ImGuiInputTextFlags P_5) + { + return ImGui.InputInt(P_0, ref P_1, P_2, P_3, P_4, P_5); + } + + static float _202E_200D_206D_200D_200B_202E_206A_206D_202C_200B_200B_206F_206A_206C_200B_200F_200D_206B_202E_202C_206A_202D_200C_202B_200E_202D_202C_206A_206F_206C_200E_202A_202C_206F_200E_200B_200B_202D_200E_200C_202E() + { + return ImGui.GetCursorPosY(); + } + + static ImGuiStylePtr _200E_202B_206C_200F_206C_206F_206E_202E_202A_206D_202C_200D_200B_206B_200D_206A_206E_206C_202E_206F_202D_200E_206A_202E_206F_200D_200F_200C_200C_202B_206C_200E_200C_206C_200B_206D_206D_202B_206C_202E_202E() + { + return ImGui.GetStyle(); + } + + static void _206D_206B_200D_206B_206B_206A_200D_206D_202D_206E_202D_200B_200C_202A_206D_206E_202B_202D_200E_206B_206C_202D_202A_202E_206A_206C_206B_202B_202A_202B_200C_206A_206C_202C_202D_200D_200D_206F_206D_206E_202E(float P_0) + { + ImGui.SetCursorPosY(P_0); + } + + static string _206E_200C_206F_202A_206A_200D_200C_202B_200E_200E_202B_206C_200D_202B_200C_200B_202C_200D_200E_206A_206C_206B_206B_202B_202C_202D_200B_202A_206F_206B_202B_200E_206F_202D_206C_200B_200D_200C_206E_200E_202E(EExpansionVersion P_0) + { + return P_0.ToFriendlyString(); + } + + static bool _200C_202D_200B_206A_200F_200E_202B_202B_200C_202C_202A_206B_202D_202C_202A_206D_206A_200F_202E_206E_202A_206D_202D_202C_200E_206C_200F_200F_206C_200E_200E_202C_206E_206D_206C_202B_206B_202B_200D_206C_202E(EClassJob P_0) + { + return P_0.IsCrafter(); + } + + static bool _206C_206B_206A_202A_206A_206F_206D_202C_200F_200C_206E_200D_206A_200D_206C_200D_202C_206B_202D_202C_200C_200D_202C_202A_206E_202B_200D_206D_200E_200C_202E_200B_206C_206E_200E_206C_206C_200B_202C_200C_202E(EClassJob P_0) + { + return P_0.IsGatherer(); + } + + static void _202C_202B_206B_200D_202A_202E_206C_206E_202A_206A_202B_200B_202E_202E_206D_200D_206E_206C_202A_200D_206D_206C_206E_200F_202B_202D_200F_206F_200C_206D_202C_206D_202B_206E_206B_206F_206A_206C_206A_202E_202E() + { + ImGui.Separator(); + } + + static string _206F_206F_206F_206D_206C_200E_206D_200E_200D_202E_200F_202C_202C_206E_202C_206F_200E_200B_200F_200B_202A_206B_206B_202A_206C_200E_206C_206D_200D_202A_200C_202E_202D_206E_202B_206F_206C_200C_206B_200E_202E(EClassJob P_0) + { + return P_0.ToFriendlyString(); + } + + static bool _200D_206B_206C_206C_202E_200C_206A_206C_206B_200C_200C_200D_200E_200D_206D_202D_200F_200F_202A_200F_206D_200C_200E_206A_206F_202C_202C_206B_206F_206A_202A_202D_202C_200C_206B_200E_200C_200D_202A_206C_202E(EClassJob P_0) + { + return P_0.IsClass(); + } + + static EClassJob _200D_206F_200C_200B_200D_206B_200E_206B_200D_206B_206F_206C_206E_202C_202C_202B_206D_202A_206D_206D_206C_202E_200F_202C_206B_200C_202C_200F_200B_200C_202A_206A_206D_200C_206F_202A_200E_202C_202A_206A_202E(EClassJob P_0) + { + return P_0.AsJob(); + } + + static void _202A_202B_202B_206F_206C_200F_206E_200B_200C_202E_202B_202B_206C_206B_202E_202C_202E_206A_200E_206C_206E_202A_202D_200B_202D_206F_206E_206D_200E_206B_202E_206E_202A_206C_206F_202A_202B_202C_206B_206A_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static void _200B_202A_202E_202C_206C_206F_200B_200C_206E_206B_206C_206A_200D_202E_202D_200E_206C_200B_206A_202B_202A_206B_202C_206D_202D_206A_202A_202A_202D_200B_200C_202D_206E_200B_202A_200D_202C_202D_202D_206D_202E() + { + ImGui.TableNextRow(); + } + + static bool _200B_200C_202D_206A_202A_200D_202B_200E_202E_200D_200F_202D_200C_200C_200F_206B_206D_200E_206B_200F_206F_200F_200D_200D_206A_202E_200C_202C_200B_206E_200D_206B_202D_200D_202C_206E_200C_200E_206B_206E_202E() + { + return ImGui.TableNextColumn(); + } + + static void _206A_206F_202B_206E_206B_206E_206C_206D_202D_202E_206E_206E_200B_200B_202E_206A_206D_200F_200C_202D_206E_202C_206F_200B_202D_206C_200D_206C_200D_206A_206E_206A_206C_200E_202A_200C_200E_200E_206F_202E_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static float _206F_206C_206E_202C_200D_202D_206F_200F_202A_200F_200D_200D_206B_202C_206D_202E_202A_206A_202B_202D_202D_200E_200F_200E_200D_206B_202B_200C_206D_200B_202A_206E_200F_200F_200B_202D_206C_202E_200B_206B_202E() + { + return ImGui.GetFrameHeight(); + } + + static ImFontPtr _200D_206B_202A_200E_206A_202B_206E_200D_200B_200C_200B_206F_206B_202E_200E_202A_200D_202C_202E_202E_206E_202E_206C_206A_206F_200F_202E_206F_202E_202B_202D_202C_200B_202E_200C_202D_206C_206B_202C_206F_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _202A_202B_206D_200D_206F_200F_202B_200D_202D_200F_206A_202B_206A_200F_202C_206D_206C_206A_202A_200F_206F_206B_202E_206D_202E_202B_202D_200D_200D_202D_202A_200E_206D_206B_202A_202B_202C_206C_206A_206B_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _202C_206A_206C_206F_200C_200F_202C_206F_202A_200F_206C_200E_202C_206E_200C_206F_206B_206D_206D_206A_200C_200B_202D_206C_202E_206D_202D_206C_206D_206B_206C_202B_202C_206A_200F_200C_206B_206A_206D_202B_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static void _206E_206C_202E_200C_202C_206A_206C_200D_206B_202E_200E_200D_206B_202B_202C_200C_202E_206A_206E_202B_200E_202A_200F_202D_206E_202B_200D_206A_200F_206D_202B_202C_206E_200F_200C_202E_202A_202E_206B_200D_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static bool _202A_206B_200F_200B_206C_206B_202A_200D_206B_202D_206D_200B_202E_202D_206F_202C_200B_200F_206D_202A_206C_206B_206F_202E_200F_202D_200E_202C_200D_200E_200B_202B_206B_200B_206B_206A_206F_202A_206D_202E() + { + return ImGui.IsItemHovered(); + } + + static ImRaii.TooltipDisposable _206B_206F_206E_202B_200B_206E_200D_206F_202D_200B_206E_206E_206C_200D_206D_202E_206C_202E_206F_200E_206D_200C_206A_200F_202E_206C_200D_200E_206E_206A_206E_200D_202D_200C_200F_206A_200F_202C_206C_206D_202E() + { + return ImRaii.Tooltip(); + } + + static void _206C_200D_206D_202C_200C_202B_202A_206C_200E_206C_202C_202D_206A_200F_200B_202A_206A_206A_206F_202C_206B_202E_200D_200F_200E_202D_206A_202B_200F_202B_202A_202C_202B_202B_202A_200E_200F_202B_206B_202E_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static void _200E_200B_202D_202A_206D_200D_200C_202B_200C_206F_206E_206E_200D_200B_200F_206B_202D_200E_200B_206F_200B_206A_206B_206B_202B_202B_202C_202B_200E_206F_202A_206B_200D_206F_202A_206E_202B_206A_200F_200D_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static void _200E_200F_206D_206B_206F_200E_206F_200F_202B_200F_202E_206E_206B_202B_200C_200C_200B_200F_202E_202A_202C_200B_202E_202C_200E_202E_200D_202D_206C_206C_202D_206E_202A_206B_206E_206A_206E_200F_206A_202E() + { + ImGui.PopTextWrapPos(); + } + + static ImRaii.IdDisposable _202D_206F_200B_202C_202A_206A_206C_206E_200C_206E_206B_206A_202C_200F_206D_206C_202B_202B_206B_202E_202E_202C_206C_206E_200E_200C_206A_202E_200C_206B_200B_200B_206D_206D_202D_200B_206B_206B_206C_200D_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static float _206F_200F_206D_200D_200F_206C_200F_200B_202E_202D_200B_200C_202E_200D_202B_202C_200B_202E_202C_206D_200B_206C_200D_206C_202A_206B_202A_200D_202A_200C_206E_200D_200B_206B_206B_202B_206A_206A_200C_200D_202E(float P_0, float P_1) + { + return MathF.Max(P_0, P_1); + } + + static ImRaii.ChildDisposable _202E_200D_200E_202E_206E_206C_206B_202B_206E_200C_202C_202C_200E_200D_200D_200B_202D_202E_206E_206D_206A_206D_202B_206F_206D_200F_206D_202D_200D_200C_200F_202C_200E_200E_200E_200C_202E_200C_202A_206C_202E(ImU8String P_0, Vector2 P_1, bool P_2) + { + return ImRaii.Child(P_0, P_1, P_2); + } + + static void _202C_206C_206F_200E_200C_206D_206D_206C_206A_206C_206D_202E_202A_200D_200B_206F_206C_206A_200C_200E_202A_202D_206B_202A_202E_200F_206E_202C_200E_200E_206E_206F_206F_206D_206E_202B_200F_200B_202B_206F_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } } diff --git a/Questionable/Questionable.Windows.ConfigComponents/StopConditionComponent.cs b/Questionable/Questionable.Windows.ConfigComponents/StopConditionComponent.cs index 8c18ccb1..07c490e9 100644 --- a/Questionable/Questionable.Windows.ConfigComponents/StopConditionComponent.cs +++ b/Questionable/Questionable.Windows.ConfigComponents/StopConditionComponent.cs @@ -1,15 +1,21 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; +using Dalamud.Interface.ManagedFontAtlas; 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 +26,48 @@ namespace Questionable.Windows.ConfigComponents; internal sealed class StopConditionComponent : ConfigComponent { - private static readonly string[] StopModeNames = new string[3] { "Off", "Pause", "Stop" }; + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__29_1; + + public static Comparison _003C_003E9__37_0; + + internal string _003CDrawAddQuestAccept_003Eb__29_1(Quest x) + { + return x.Info.Name; + } + + internal int _003CGetCurrentlyAcceptedQuests_003Eb__37_0(Quest a, Quest b) + { + return _202B_200C_202C_202B_202D_200B_200C_206E_200B_202D_200B_202B_200B_200E_200C_206A_200F_202E_206F_202B_206B_206F_200D_206C_200C_202D_206C_200B_200C_206A_200D_206E_202D_206F_206B_202A_200B_202A_206B_202E_202E(a.Info.Name, b.Info.Name, StringComparison.OrdinalIgnoreCase); + } + + static int _202B_200C_202C_202B_202D_200B_200C_206E_200B_202D_200B_202B_200B_200E_200C_206A_200F_202E_206F_202B_206B_206F_200D_206C_200C_202D_206C_200B_200C_206A_200D_206E_202D_206F_206B_202A_200B_202A_206B_202E_202E(string P_0, string P_1, StringComparison P_2) + { + return string.Compare(P_0, P_1, P_2); + } + } + + private static readonly string[] ConditionModeNames = new string[2] + { + global::_003CModule_003E._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(905118381), + global::_003CModule_003E._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(560121957) + }; + + private static readonly string[] ConditionTypeNames = new string[7] + { + global::_003CModule_003E._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(110723094), + global::_003CModule_003E._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(1530936395), + global::_003CModule_003E._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(-219663971), + global::_003CModule_003E._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(-70647925), + global::_003CModule_003E._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(2025939443), + global::_003CModule_003E._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(1440127939), + global::_003CModule_003E._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(661458144) + }; private readonly IDalamudPluginInterface _pluginInterface; @@ -28,6 +75,8 @@ internal sealed class StopConditionComponent : ConfigComponent private readonly QuestRegistry _questRegistry; + private readonly QuestData _questData; + private readonly QuestFunctions _questFunctions; private readonly QuestTooltipComponent _questTooltipComponent; @@ -36,390 +85,1532 @@ 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.DefaultPredicate = (Quest quest) => quest.Info.IsMainScenarioQuest && questFunctions.IsQuestAccepted(quest.Id); + _questSelector.SuggestionPredicate = (Quest quest) => !stopConditionComponent.HasQuestCondition(quest.Id, EStopConditionType.QuestComplete); + _questSelector.DefaultPredicate = delegate(Quest quest) + { + int num = ((!quest.Info.IsMainScenarioQuest) ? 902983598 : 902983599); + while (true) + { + int num2 = num; + int num3 = 902983598; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return false; + case 1: + return questFunctions.IsQuestAccepted(quest.Id); + case 2: + goto IL_0061; + } + continue; + IL_0061: + num = 902983599; + } + }; _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(); }; } + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawTab() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Stop###StopConditionns"); - if (!tabItemDisposable) + bool value = base.Configuration.Stop.Enabled; + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-1625853193)); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + int num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1186075613), ref value, global::_003CModule_003E._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(-1404007902))) ? (-1028566401) : (-1028566404)); + while (true) { - return; - } - bool v = base.Configuration.Stop.Enabled; - if (ImGui.Checkbox("Enable stop conditions", ref v)) - { - base.Configuration.Stop.Enabled = v; - 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)) - { - 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)) + int num2 = num; + int num3 = -1028566403; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - base.Configuration.Stop.LevelStopMode = (Configuration.EStopConditionMode)currentItem; + case 0: + num = -1028566404; + break; + case 1: + base.Configuration.Stop.Enabled = value; Save(); - } - ImGui.SameLine(); - using (ImRaii.Disabled(base.Configuration.Stop.LevelStopMode == Questionable.Configuration.EStopConditionMode.Off)) + num = -1028566401; + break; + case 2: { - int data = base.Configuration.Stop.TargetLevel; - ImGui.SetNextItemWidth(100f); - if (ImGui.InputInt("Target level", ref data, 1, 5)) + ImRaii.DisabledDisposable disabledDisposable = _202D_202C_206B_202A_200E_200C_202A_202D_206E_206F_206D_206E_202C_200F_200F_206C_202D_202A_202D_202D_200F_202E_202B_206A_200C_206B_206A_206E_202B_206C_206E_206A_202B_200F_202D_202E_206F_200D_206D_206C_202E(!value); + try { - base.Configuration.Stop.TargetLevel = Math.Max(1, Math.Min(100, data)); - Save(); + DrawConditionsList(); } - int num = _objectTable.LocalPlayer?.Level ?? 0; - if (num > 0) + finally { - 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")) + num = ((disabledDisposable == null) ? 1850490731 : 1850490728); + while (true) { - foreach (ElementId item in questsToStopAfter) + int num5 = num; + num3 = 1850490730; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) { - string key = item.ToString(); - base.Configuration.Stop.QuestSequences.Remove(key); - base.Configuration.Stop.QuestStopModes.Remove(key); + case 1: + goto end_IL_0101; + case 2: + _206E_200E_202B_206B_206F_206F_200F_206D_200E_202E_206F_202C_202C_206A_200E_206F_206A_206F_202D_200F_206B_202B_202C_202A_206E_206F_202D_200D_202C_202B_202B_206D_200E_202D_206C_200D_202E_200B_200F_202C_202E((IDisposable)disabledDisposable); + num = 1850490731; + break; + case 0: + num = 1850490728; + break; } - base.Configuration.Stop.QuestsToStopAfter.Clear(); - Save(); + continue; + end_IL_0101: + break; } } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + UiThemeUtils.EndCard(item, item2, item3); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(235360192)); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + Vector2 item4 = tuple2.ContentStartPos; + float item5 = tuple2.AvailableWidth; + ImDrawListPtr item6 = tuple2.DrawList; + disabledDisposable = _202D_202C_206B_202A_200E_200C_202A_202D_206E_206F_206D_206E_202C_200F_200F_206C_202D_202A_202D_202D_200F_202E_202B_206A_200C_206B_206A_206E_202B_206C_206E_206A_202B_200F_202D_202E_206F_200D_206D_206C_202E(!value); + try { - ImGui.SetTooltip("Hold CTRL to enable this button."); + DrawAddCondition(); } - ImGui.Separator(); - ImGui.Text("(Drag arrow buttons to reorder)"); + finally + { + num = ((disabledDisposable == null) ? 1883978520 : 1883978523); + while (true) + { + int num8 = num; + num3 = 1883978522; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1883978523; + break; + case 2: + goto end_IL_01bc; + case 1: + _206E_200E_202B_206B_206F_206F_200F_206D_200E_202E_206F_202C_202C_206A_200E_206F_206A_206F_202D_200F_206B_202B_202C_202A_206E_206F_202D_200D_202C_202B_202B_206D_200E_202D_206C_200D_202E_200B_200F_202C_202E((IDisposable)disabledDisposable); + num = 1883978520; + break; + } + continue; + end_IL_01bc: + break; + } + } + UiThemeUtils.EndCard(item4, item5, item6); + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-2147440442)); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple3 = UiThemeUtils.BeginCard(); + Vector2 item7 = tuple3.ContentStartPos; + float item8 = tuple3.AvailableWidth; + ImDrawListPtr item9 = tuple3.DrawList; + disabledDisposable = _202D_202C_206B_202A_200E_200C_202A_202D_206E_206F_206D_206E_202C_200F_200F_206C_202D_202A_202D_202D_200F_202E_202B_206A_200C_206B_206A_206E_202B_206C_206E_206A_202B_200F_202D_202E_206F_200D_206D_206C_202E(!value); + try + { + string commandAfterStop = base.Configuration.Stop.CommandAfterStop; + _202D_200D_202E_206F_202D_202A_200B_200C_200F_200B_206B_206A_200F_200E_200C_206D_202D_202B_202B_200E_200D_202B_202E_206D_200B_202C_200E_202C_206A_200B_202A_202D_206C_200E_206E_202D_200B_206F_206F_202E(_206F_202A_200E_206C_202D_200F_200C_206B_202C_206E_206C_200C_202D_206D_202E_206B_206C_202B_202A_202D_202C_200C_202C_206D_206E_206A_202E_206F_200C_206E_200E_206D_202C_200F_206B_200E_206C_206C_200E_206C_202E(260f, _200F_206E_200F_200E_202C_200C_206E_202B_200F_206D_202B_200C_206D_200C_200B_202D_206A_202E_202C_206E_206C_202A_202E_206B_206B_202B_202E_202B_206D_200D_202D_206D_206F_202E_202A_200C_206E_200D_206F_206C_202E().X)); + num = ((!_206B_206F_206A_200D_200D_202D_200C_202B_206F_206B_202C_206F_202C_206C_206F_202B_200D_200F_206E_206B_202D_202B_202E_202E_200E_206F_202D_206B_206D_206C_200D_202D_206D_200B_200B_202E_206A_200E_200E_200C_202E((ImU8String)global::_003CModule_003E._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(-59706386), ref commandAfterStop, 200, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null)) ? 111240016 : 111240019); + while (true) + { + int num9 = num; + num3 = 111240017; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 0: + num = 111240019; + break; + case 2: + base.Configuration.Stop.CommandAfterStop = commandAfterStop; + Save(); + num = 111240016; + break; + case 1: + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + UiThemeUtils.InfoIcon(global::_003CModule_003E._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(1301330466)); + goto end_IL_02b3; + } + continue; + end_IL_02b3: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-1795551806) : (-1795551807)); + while (true) + { + int num12 = num; + num3 = -1795551805; + num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 0: + num = -1795551807; + break; + case 2: + _206E_200E_202B_206B_206F_206F_200F_206D_200E_202E_206F_202C_202C_206A_200E_206F_206A_206F_202D_200F_206B_202B_202C_202A_206E_206F_202D_200D_202C_202B_202B_206D_200E_202D_206C_200D_202E_200B_200F_202C_202E((IDisposable)disabledDisposable); + num = -1795551806; + break; + case 1: + goto end_IL_0349; + } + continue; + end_IL_0349: + break; + } + } + UiThemeUtils.EndCard(item7, item8, item9); + DrawSessionConditions(); + return; + } } - DrawStopQuestList(questsToStopAfter); } } - private void DrawStopQuestList(List questsToStopAfter) + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawConditionsList() { - 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++) + List conditions = base.Configuration.Stop.Conditions; + int num = ((conditions.Count != 0) ? 12968843 : 12968842); + while (true) { - Vector2 item = ImGui.GetCursorScreenPos() + new Vector2(0f, (0f - ImGui.GetStyle().ItemSpacing.Y) / 2f); - ElementId elementId = questsToStopAfter[i]; - if (!_questRegistry.TryGetQuest(elementId, out Quest quest3)) + int num2 = num; + int num3 = 12968841; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 1: + conditions.Clear(); + Save(); + num = 12968845; + break; + case 2: + num = ((!UiThemeUtils.DestructiveButton(FontAwesomeIcon.Trash, global::_003CModule_003E._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(1617749259))) ? 12968845 : 12968840); + break; + case 3: + _202A_206F_206F_202C_206B_200C_200C_206A_206B_200F_206D_206F_202E_202D_206E_206F_200D_202B_202C_202B_202A_206F_202C_200B_200E_206B_206A_206F_202B_206F_200B_202E_202D_202B_202C_200E_202D_206E_202A_202E_202E((ImU8String)global::_003CModule_003E._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(1333678507)); + return; + case 0: + num = 12968842; + break; + case 4: + { + int? indexToRemove = null; + int num7 = 0; + while (num7 < conditions.Count) + { + ImRaii.IdDisposable idDisposable = _200D_200C_202B_200F_206D_206B_202B_200F_200D_200F_206D_206E_200D_202C_200D_206A_206F_200C_206F_206C_200E_202A_206E_200D_202E_206E_202E_202D_202E_200B_202E_202A_206A_206C_200C_206E_206D_202B_206F_202C_202E(num7, true); + try + { + StopCondition condition = conditions[num7]; + DrawConditionRow(condition, num7, ref indexToRemove); + } + finally + { + num = ((idDisposable == null) ? 1927508809 : 1927508810); + while (true) + { + int num8 = num; + num3 = 1927508811; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1927508810; + break; + case 1: + _206E_200E_202B_206B_206F_206F_200F_206D_200E_202E_206F_202C_202C_206A_200E_206F_206A_206F_202D_200F_206B_202B_202C_202A_206E_206F_202D_200D_202C_202B_202B_206D_200E_202D_206C_200D_202E_200B_200F_202C_202E((IDisposable)idDisposable); + num = 1927508809; + break; + case 2: + goto end_IL_0124; + } + continue; + end_IL_0124: + break; + } + } + int num9 = num7; + num3 = 1; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num7 = num10 + (num11 + num11); + } + num = 1035952951; + while (true) + { + int num12 = num; + num3 = 1035952949; + num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1035952951; + break; + case 1: + { + int valueOrDefault = indexToRemove.GetValueOrDefault(); + conditions.RemoveAt(valueOrDefault); + Save(); + num = 1035952949; + break; + } + case 0: + return; + case 2: + num = ((!indexToRemove.HasValue) ? 1035952949 : 1035952948); + break; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawConditionRow(StopCondition condition, int index, ref int? indexToRemove) + { + _206F_202A_206B_206A_206F_206C_200B_200F_206C_200E_202B_206F_206E_200F_200E_206D_202D_206B_206B_202C_206D_200F_200C_202B_202B_206A_206F_202C_202B_206D_202D_200E_202E_202D_202C_202B_200B_206B_206B_206A_202E(); + QuestCompleteCondition questCompleteCondition = condition as QuestCompleteCondition; + int num = ((questCompleteCondition != null) ? (-2027175199) : (-2027175190)); + GilThresholdCondition gilThresholdCondition = default(GilThresholdCondition); + QuestAcceptCondition questAcceptCondition = default(QuestAcceptCondition); + LevelCondition levelCondition = default(LevelCondition); + GlobalSequenceCondition globalSequenceCondition = default(GlobalSequenceCondition); + int currentItem = default(int); + while (true) + { + int num2 = num; + int num3 = -2027175191; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 19: + indexToRemove = index; + num = -2027175175; + break; + case 18: + num = ((condition is BeforeDutyCondition) ? (-2027175196) : (-2027175189)); + break; + case 2: + gilThresholdCondition = condition as GilThresholdCondition; + num = ((gilThresholdCondition != null) ? (-2027175200) : (-2027175188)); + break; + case 6: + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Times, _202C_202B_206B_202D_202B_206A_202A_206A_200E_200C_202E_202B_202C_206F_200F_200B_200D_206C_202B_200E_202A_206A_202A_200B_200F_200E_200B_200D_202C_202C_200D_200F_200F_200F_200F_206B_206C_206E_200B_206D_202E())) ? (-2027175175) : (-2027175174)); + break; + case 9: + { + ImU8String imU8String = new ImU8String(10, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(451308865)); + imU8String.AppendFormatted(gilThresholdCondition.MinGil, global::_003CModule_003E._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(-1470080372)); + _200F_202A_200C_202E_206D_206E_206B_202D_202A_206E_200D_200D_200D_202D_202D_200E_202C_200B_206E_202A_202E_206E_206C_200D_200F_206C_206D_200F_202E_200E_202A_200C_200C_202D_206D_200E_200D_206B_200F_206B_202E(imU8String); + num = -2027175193; + break; + } + case 16: + return; + case 20: + DrawQuestAcceptRow(questAcceptCondition); + num = -2027175193; + break; + case 12: + num = ((condition is InventoryFullCondition) ? (-2027175187) : (-2027175173)); + break; + case 11: + DrawLevelRow(levelCondition); + num = -2027175193; + break; + case 1: + globalSequenceCondition = condition as GlobalSequenceCondition; + num = ((globalSequenceCondition != null) ? (-2027175194) : (-2027175195)); + break; + case 14: + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + currentItem = ((condition.Mode != EStopConditionMode.Pause) ? 1 : 0); + _202D_200D_202E_206F_202D_202A_200B_200C_200F_200B_206B_206A_200F_200E_200C_206D_202D_202B_202B_200E_200D_202B_202E_206D_200B_202C_200E_202C_206A_200B_202A_202D_206C_200E_206E_202D_200B_206F_206F_202E(70f); + num = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(1973083812), ref currentItem, ConditionModeNames, ConditionModeNames.Length)) ? (-2027175185) : (-2027175186)); + break; + case 8: + DrawQuestCompleteRow(questCompleteCondition); + num = -2027175193; + break; + case 10: + _200F_202A_200C_202E_206D_206E_206B_202D_202A_206E_200D_200D_200D_202D_202D_200E_202C_200B_206E_202A_202E_206E_206C_200D_200F_206C_206D_200F_202E_200E_202A_200C_200C_202D_206D_200E_200D_206B_200F_206B_202E((ImU8String)condition.GetDescription()); + num = -2027175193; + break; + case 17: + levelCondition = condition as LevelCondition; + num = ((levelCondition != null) ? (-2027175198) : (-2027175192)); + break; + case 5: + num = -2027175197; + break; + case 4: + _200F_202A_200C_202E_206D_206E_206B_202D_202A_206E_200D_200D_200D_202D_202D_200E_202C_200B_206E_202A_202E_206E_206C_200D_200F_206C_206D_200F_202E_200E_202A_200C_200C_202D_206D_200E_200D_206B_200F_206B_202E((ImU8String)global::_003CModule_003E._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(2025939443)); + num = -2027175193; + break; + case 15: + DrawGlobalSequenceRow(globalSequenceCondition); + num = -2027175193; + break; + case 13: + _200F_202A_200C_202E_206D_206E_206B_202D_202A_206E_200D_200D_200D_202D_202D_200E_202C_200B_206E_202A_202E_206E_206C_200D_200F_206C_206D_200F_202E_200E_202A_200C_200C_202D_206D_200E_200D_206B_200F_206B_202E((ImU8String)global::_003CModule_003E._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(1140496665)); + num = -2027175193; + break; + case 7: + condition.Mode = ((currentItem == 0) ? EStopConditionMode.Pause : EStopConditionMode.Stop); + Save(); + num = -2027175185; + break; + case 0: + num = -2027175190; + break; + case 3: + questAcceptCondition = condition as QuestAcceptCondition; + num = ((questAcceptCondition != null) ? (-2027175171) : (-2027175176)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawQuestCompleteRow(QuestCompleteCondition condition) + { + string text = ResolveQuestName(condition.QuestId); + (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(condition.QuestId); + IDisposable disposable = _200C_206B_206C_200F_200D_202E_202C_206B_200F_202E_206D_206F_202E_200C_200E_200F_200F_202D_200D_200C_206E_206F_206B_200C_200D_206F_202A_200C_206C_202E_206D_200E_200B_206F_202C_206C_200B_200E_206E_200C_202E(_202B_200F_206A_200E_200C_200B_202A_200B_206C_200D_206D_200C_206E_200B_202D_200B_206B_206F_206A_200F_206D_202C_206E_206B_202A_200C_206E_200D_206A_206C_200D_206D_206F_200C_202B_206E_202A_206E_206D_206F_202E(_206A_202D_206F_206A_206D_202D_206B_206B_200B_202B_200F_202C_202C_200E_202C_202B_200B_206B_202C_200B_202C_200D_202D_200F_200D_206C_200E_200C_202B_206E_202B_200E_200F_206C_202C_200D_200E_206E_200C_200C_202E(_pluginInterface))); + int num; + try + { + _206B_206B_200E_200F_200F_202D_200B_200B_202B_206C_200F_200E_200B_206C_202C_206C_206C_200D_206E_200F_202A_202A_206A_202D_206F_200F_206C_206D_206D_200C_206C_200D_202A_206D_202E_202C_200F_200B_200C_206C_202E(ref questStyle.Item1, (ImU8String)_206D_206D_202A_202C_206A_200D_202D_206A_202A_200E_202B_202D_200C_202A_202C_206B_206F_206A_206C_206B_202E_200F_202A_200B_206B_202C_206A_202D_206C_206D_200B_200F_202A_200F_202B_200D_200B_206D_206A_206B_202E(questStyle.Item2)); + } + finally + { + num = ((disposable == null) ? 149607400 : 149607403); + while (true) + { + int num2 = num; + int num3 = 149607402; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 149607403; + break; + case 2: + goto end_IL_0076; + case 1: + _206E_200E_202B_206B_206F_206F_200F_206D_200E_202E_206F_202C_202C_206A_200E_206F_206A_206F_202D_200F_206B_202B_202C_202A_206E_206F_202D_200D_202C_202B_202B_206D_200E_202D_206C_200D_202E_200B_200F_202C_202E(disposable); + num = 149607400; + break; + } + continue; + end_IL_0076: + break; + } + } + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + float x = _206A_200D_202C_206D_200C_202E_206C_202D_200D_202E_206B_202D_202E_200B_206D_202D_202D_200F_200E_202A_206F_206B_200C_206F_206D_200D_202D_206A_200D_206C_200E_200E_206B_202C_206A_202B_202A_206E_202E_200F_202E().ItemSpacing.X; + float num7 = _202C_202B_206B_202D_202B_206A_202A_206A_200E_200C_202E_202B_202C_206F_200F_200B_200D_206C_202B_200E_202A_206A_202A_200B_200F_200E_200B_200D_202C_202C_200D_200F_200F_200F_200F_206B_206C_206E_200B_206D_202E(); + ImRaii.FontDisposable fontDisposable = _200B_200E_202D_200B_206F_202A_202E_200E_202C_200E_206A_206C_206E_200D_202A_200E_200E_206A_200F_206B_202D_206A_202C_206E_206F_200D_206E_206D_206B_206D_206B_206E_206D_202D_206C_206C_202A_206C_200E_200C_202E(_202C_206C_200D_206A_200D_200C_202D_206B_206B_202B_200F_206C_206E_206C_202D_200B_200F_206B_202D_206F_200F_206F_202C_206E_200D_206D_200B_206B_206D_206D_202E_200D_200F_206C_202B_202B_202E_202E_206F_202E_202E(), true); + float x2; + try + { + x2 = _206D_200D_202B_202D_202D_206D_206D_206E_200C_200B_202E_202B_202D_202C_206C_206E_202C_200B_200C_202A_206F_200C_202E_202C_200D_200D_202A_200D_206F_206B_202C_206B_206C_206E_206D_202C_202C_206B_202D_206F_202E((ImU8String)_206D_206D_202A_202C_206A_200D_202D_206A_202A_200E_202B_202D_200C_202A_202C_206B_206F_206A_206C_206B_202E_200F_202A_200B_206B_202C_206A_202D_206C_206D_200B_200F_202A_200F_202B_200D_200B_206D_206A_206B_202E(FontAwesomeIcon.InfoCircle), false, -1f).X; + } + finally + { + num = ((fontDisposable == null) ? (-1470124797) : (-1470124798)); + while (true) + { + int num8 = num; + int num3 = -1470124797; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1470124798; + break; + case 0: + goto end_IL_0135; + case 1: + _206E_200E_202B_206B_206F_206F_200F_206D_200E_202E_206F_202C_202C_206A_200E_206F_206A_206F_202D_200F_206B_202B_202C_202A_206E_206F_202D_200D_202C_202B_202B_206D_200E_202D_206C_200D_202E_200B_200F_202C_202E((IDisposable)fontDisposable); + num = -1470124797; + break; + } + continue; + end_IL_0135: + break; + } + } + float reservedRightWidth = x * 6f + num7 * 2f + _206D_200D_202B_202D_202D_206D_206D_206E_200C_200B_202E_202B_202D_202C_206C_206E_202C_200B_200C_202A_206F_200C_202E_202C_200D_200D_202A_200D_206F_206B_202C_206B_206C_206E_206D_202C_202C_206B_202D_206F_202E((ImU8String)global::_003CModule_003E._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(601017091), false, -1f).X + x2 + 85f + 70f; + UiThemeUtils.RowLabel(text, reservedRightWidth); + num = ((!_202D_206C_206C_206B_202E_206C_202B_206C_202B_206C_202B_200C_200C_206A_200B_206C_200B_206E_200D_206D_202B_206C_206D_202B_206D_200C_206A_206C_202A_202A_206F_202E_200D_206B_206C_206B_200D_206D_200D_200E_202E()) ? 1085741449 : 1085741452); + bool value = default(bool); + Quest quest = default(Quest); + while (true) + { + int num9 = num; + int num3 = 1085741453; + int num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + condition.Sequence = (value ? new int?(1) : ((int?)null)); + Save(); + num = 1085741454; + break; + case 1: + num = ((!_questRegistry.TryGetQuest(condition.QuestId, out quest)) ? 1085741449 : 1085741455); + break; + case 4: + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + value = condition.Sequence.HasValue; + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-26866547), ref value, global::_003CModule_003E._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(-715355229))) ? 1085741454 : 1085741448); + break; + case 0: + num = 1085741452; + break; + case 2: + _questTooltipComponent.Draw(quest.Info); + num = 1085741449; + break; + case 3: + { + ImRaii.DisabledDisposable disabledDisposable = _202D_202C_206B_202A_200E_200C_202A_202D_206E_206F_206D_206E_202C_200F_200F_206C_202D_202A_202D_202D_200F_202E_202B_206A_200C_206B_206A_206E_202B_206C_206E_206A_202B_200F_202D_202E_206F_200D_206D_206C_202E(!value); + try + { + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + _202D_200D_202E_206F_202D_202A_200B_200C_200F_200B_206B_206A_200F_200E_200C_206D_202D_202B_202B_200E_200D_202B_202E_206D_200B_202C_200E_202C_206A_200B_202A_202D_206C_200E_206E_202D_200B_206F_206F_202E(85f); + int num10 = condition.Sequence ?? 1; + num = ((!_206A_206C_206B_206B_206F_200F_206C_206E_200F_200D_200B_206F_200B_206B_200B_200B_202B_200C_206C_200B_202B_206A_206E_200B_206D_206E_202A_200F_202C_200C_200E_202E_200E_202E_206D_200B_202A_206B_202A_200D_202E((ImU8String)global::_003CModule_003E._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(2048602950), ref num10, 1, 1, default(ImU8String), ImGuiInputTextFlags.None)) ? 1567100735 : 1567100733); + while (true) + { + int num11 = num; + num3 = 1567100735; + num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + condition.Sequence = _202A_202C_206A_206F_202E_200F_206E_202A_202E_202E_206B_200E_200E_200F_206D_206B_202B_202B_202A_206F_206B_202B_206F_206D_202B_202A_200F_200B_206E_206E_206A_200D_200E_200E_202A_200F_206F_206F_206A_200E_202E(0, _200B_200D_206B_202A_202A_200D_206B_200E_200B_206D_206B_206E_200E_206C_200B_206D_206A_200F_202E_206C_202A_200F_202E_200B_200E_202E_200B_200B_200B_206E_206D_200F_200F_202E_200D_200F_206E_206D_200F_202B_202E(255, num10)); + Save(); + num = 1567100735; + break; + case 2: + num = ((!value) ? 1567100735 : 1567100734); + break; + case 3: + num = 1567100733; + break; + case 0: + return; + } + } + } + finally + { + num = ((disabledDisposable == null) ? 83270173 : 83270174); + while (true) + { + int num12 = num; + num3 = 83270175; + num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 0: + num = 83270174; + break; + case 2: + goto end_IL_041a; + case 1: + _206E_200E_202B_206B_206F_206F_200F_206D_200E_202E_206F_202C_202C_206A_200E_206F_206A_206F_202D_200F_206B_202B_202C_202A_206E_206F_202D_200D_202C_202B_202B_206D_200E_202D_206C_200D_202E_200B_200F_202C_202E((IDisposable)disabledDisposable); + num = 83270173; + break; + } + continue; + end_IL_041a: + break; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawQuestAcceptRow(QuestAcceptCondition condition) + { + string text = ResolveQuestName(condition.QuestId); + (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(condition.QuestId); + IDisposable disposable = _200C_206B_206C_200F_200D_202E_202C_206B_200F_202E_206D_206F_202E_200C_200E_200F_200F_202D_200D_200C_206E_206F_206B_200C_200D_206F_202A_200C_206C_202E_206D_200E_200B_206F_202C_206C_200B_200E_206E_200C_202E(_202B_200F_206A_200E_200C_200B_202A_200B_206C_200D_206D_200C_206E_200B_202D_200B_206B_206F_206A_200F_206D_202C_206E_206B_202A_200C_206E_200D_206A_206C_200D_206D_206F_200C_202B_206E_202A_206E_206D_206F_202E(_206A_202D_206F_206A_206D_202D_206B_206B_200B_202B_200F_202C_202C_200E_202C_202B_200B_206B_202C_200B_202C_200D_202D_200F_200D_206C_200E_200C_202B_206E_202B_200E_200F_206C_202C_200D_200E_206E_200C_200C_202E(_pluginInterface))); + int num; + try + { + _206B_206B_200E_200F_200F_202D_200B_200B_202B_206C_200F_200E_200B_206C_202C_206C_206C_200D_206E_200F_202A_202A_206A_202D_206F_200F_206C_206D_206D_200C_206C_200D_202A_206D_202E_202C_200F_200B_200C_206C_202E(ref questStyle.Item1, (ImU8String)_206D_206D_202A_202C_206A_200D_202D_206A_202A_200E_202B_202D_200C_202A_202C_206B_206F_206A_206C_206B_202E_200F_202A_200B_206B_202C_206A_202D_206C_206D_200B_200F_202A_200F_202B_200D_200B_206D_206A_206B_202E(questStyle.Item2)); + } + finally + { + num = ((disposable == null) ? 1459802869 : 1459802868); + while (true) + { + int num2 = num; + int num3 = 1459802869; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto end_IL_0076; + case 1: + _206E_200E_202B_206B_206F_206F_200F_206D_200E_202E_206F_202C_202C_206A_200E_206F_206A_206F_202D_200F_206B_202B_202C_202A_206E_206F_202D_200D_202C_202B_202B_206D_200E_202D_206C_200D_202E_200B_200F_202C_202E(disposable); + num = 1459802869; + break; + case 2: + num = 1459802868; + break; + } + continue; + end_IL_0076: + break; + } + } + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + float num7 = _206A_200D_202C_206D_200C_202E_206C_202D_200D_202E_206B_202D_202E_200B_206D_202D_202D_200F_200E_202A_206F_206B_200C_206F_206D_200D_202D_206A_200D_206C_200E_200E_206B_202C_206A_202B_202A_206E_202E_200F_202E().ItemSpacing.X * 2f + 70f + _202C_202B_206B_202D_202B_206A_202A_206A_200E_200C_202E_202B_202C_206F_200F_200B_200D_206C_202B_200E_202A_206A_202A_200B_200F_200E_200B_200D_202C_202C_200D_200F_200F_200F_200F_206B_206C_206E_200B_206D_202E() + _206D_200D_202B_202D_202D_206D_206D_206E_200C_200B_202E_202B_202D_202C_206C_206E_202C_200B_200C_202A_206F_200C_202E_202C_200D_200D_202A_200D_206F_206B_202C_206B_206C_206E_206D_202C_202C_206B_202D_206F_202E((ImU8String)global::_003CModule_003E._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(1280436704), false, -1f).X; + float maxWidth = _200F_206E_200F_200E_202C_200C_206E_202B_200F_206D_202B_200C_206D_200C_200B_202D_206A_202E_202C_206E_206C_202A_202E_206B_206B_202B_202E_202B_206D_200D_202D_206D_206F_202E_202A_200C_206E_200D_206F_206C_202E().X - num7; + _202A_202B_200D_200F_200F_200D_200C_206E_206A_200D_206A_200B_206A_200D_206F_200B_202B_206C_200F_206B_206D_202A_200B_206C_200B_202C_202A_200E_206A_200D_200E_202E_200D_202C_200E_206C_202B_202B_200E_206A_202E((ImU8String)_206B_202B_206B_202C_200F_202C_200F_206F_200C_206E_206C_200F_202B_206C_202E_206F_202E_206B_206F_200E_202C_202D_206D_202C_200C_202B_200E_200F_200F_200D_206E_200B_200F_200D_206B_202E_200D_200C_200D_202E_202E(UiThemeUtils.TruncateToWidth(text, maxWidth), global::_003CModule_003E._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(-1797593997))); + num = ((!_202D_206C_206C_206B_202E_206C_202B_206C_202B_206C_202B_200C_200C_206A_200B_206C_200B_206E_200D_206D_202B_206C_206D_202B_206D_200C_206A_206C_202A_202A_206F_202E_200D_206B_206C_206B_200D_206D_200D_200E_202E()) ? 1390568266 : 1390568264); + Quest quest = default(Quest); + while (true) + { + int num8 = num; + int num3 = 1390568267; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + _questTooltipComponent.Draw(quest.Info); + num = 1390568266; + break; + case 1: + return; + case 2: + num = 1390568264; + break; + case 3: + num = ((!_questRegistry.TryGetQuest(condition.QuestId, out quest)) ? 1390568266 : 1390568267); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawLevelRow(LevelCondition condition) + { + _200F_202A_200C_202E_206D_206E_206B_202D_202A_206E_200D_200D_200D_202D_202D_200E_202C_200B_206E_202A_202E_206E_206C_200D_200F_206C_206D_200F_202E_200E_202A_200C_200C_202D_206D_200E_200D_206B_200F_206B_202E((ImU8String)global::_003CModule_003E._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(-219663971)); + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + _202D_200D_202E_206F_202D_202A_200B_200C_200F_200B_206B_206A_200F_200E_200C_206D_202D_202B_202B_200E_200D_202B_202E_206D_200B_202C_200E_202C_206A_200B_202A_202D_206C_200E_206E_202D_200B_206F_206F_202E(100f); + int targetLevel = condition.TargetLevel; + int num = ((!_206A_206C_206B_206B_206F_200F_206C_206E_200F_200D_200B_206F_200B_206B_200B_200B_202B_200C_206C_200B_202B_206A_206E_200B_206D_206E_202A_200F_202C_200C_200E_202E_200E_202E_206D_200B_202A_206B_202A_200D_202E((ImU8String)global::_003CModule_003E._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(-1600882945), ref targetLevel, 1, 5, default(ImU8String), ImGuiInputTextFlags.None)) ? 1089741510 : 1089741506); + int num7 = default(int); + while (true) + { + int num2 = num; + int num3 = 1089741510; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1089741506; + break; + case 1: + return; + case 3: + { + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + ImU8String imU8String = new ImU8String(11, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-92710216)); + imU8String.AppendFormatted(num7); + imU8String.AppendLiteral(global::_003CModule_003E._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(424561659)); + _202A_206F_206F_202C_206B_200C_200C_206A_206B_200F_206D_206F_202E_202D_206E_206F_200D_202B_202C_202B_202A_206F_202C_200B_200E_206B_206A_206F_202B_206F_200B_202E_202D_202B_202C_200E_202D_206E_202A_202E_202E(imU8String); + num = 1089741511; + break; + } + case 4: + condition.TargetLevel = _202A_202C_206A_206F_202E_200F_206E_202A_202E_202E_206B_200E_200E_200F_206D_206B_202B_202B_202A_206F_206B_202B_206F_206D_202B_202A_200F_200B_206E_206E_206A_200D_200E_200E_202A_200F_206F_206F_206A_200E_202E(1, _200B_200D_206B_202A_202A_200D_206B_200E_200B_206D_206B_206E_200E_206C_200B_206D_206A_200F_202E_206C_202A_200F_202E_200B_200E_202E_200B_200B_200B_206E_206D_200F_200F_202E_200D_200F_206E_206D_200F_202B_202E(100, targetLevel)); + Save(); + num = 1089741510; + break; + case 0: + { + IPlayerCharacter playerCharacter = _206C_202D_202B_200E_200E_202A_206E_206C_202C_202A_200F_200B_206E_206C_200F_202D_200F_206F_206E_206E_200C_206D_202C_206A_202A_206F_206E_200D_200F_206E_206F_206A_202D_206D_206F_202D_200D_202A_202D_206F_202E(_objectTable); + num7 = ((playerCharacter != null) ? _206A_206F_206F_206F_202B_200D_202D_206E_200E_200C_206B_202D_202D_202A_206A_200D_202C_202C_202C_202E_200D_200B_202B_206D_200D_206A_206F_202D_206E_206D_200C_202A_200F_206F_200F_206C_200D_202D_202D_200C_202E((ICharacter)playerCharacter) : 0); + num = ((num7 <= 0) ? 1089741511 : 1089741509); + break; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawGlobalSequenceRow(GlobalSequenceCondition condition) + { + _200F_202A_200C_202E_206D_206E_206B_202D_202A_206E_200D_200D_200D_202D_202D_200E_202C_200B_206E_202A_202E_206E_206C_200D_200F_206C_206D_200F_202E_200E_202A_200C_200C_202D_206D_200E_200D_206B_200F_206B_202E((ImU8String)global::_003CModule_003E._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(-1238893136)); + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + _202D_200D_202E_206F_202D_202A_200B_200C_200F_200B_206B_206A_200F_200E_200C_206D_202D_202B_202B_200E_200D_202B_202E_206D_200B_202C_200E_202C_206A_200B_202A_202D_206C_200E_206E_202D_200B_206F_206F_202E(100f); + int targetSequence = condition.TargetSequence; + int num = ((!_206A_206C_206B_206B_206F_200F_206C_206E_200F_200D_200B_206F_200B_206B_200B_200B_202B_200C_206C_200B_202B_206A_206E_200B_206D_206E_202A_200F_202C_200C_200E_202E_200E_202E_206D_200B_202A_206B_202A_200D_202E((ImU8String)global::_003CModule_003E._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(2048602950), ref targetSequence, 1, 1, default(ImU8String), ImGuiInputTextFlags.None)) ? (-1103679332) : (-1103679331)); + QuestController.QuestProgress currentQuest = default(QuestController.QuestProgress); + while (true) + { + int num2 = num; + int num3 = -1103679329; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1103679331; + break; + case 2: + condition.TargetSequence = _202A_202C_206A_206F_202E_200F_206E_202A_202E_202E_206B_200E_200E_200F_206D_206B_202B_202B_202A_206F_206B_202B_206F_206D_202B_202A_200F_200B_206E_206E_206A_200D_200E_200E_202A_200F_206F_206F_206A_200E_202E(0, _200B_200D_206B_202A_202A_200D_206B_200E_200B_206D_206B_206E_200E_206C_200B_206D_206A_200F_202E_206C_202A_200F_202E_200B_200E_202E_200B_200B_200B_206E_206D_200F_200F_202E_200D_200F_206E_206D_200F_202B_202E(255, targetSequence)); + Save(); + num = -1103679332; + break; + case 1: + return; + case 4: + { + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + ImU8String imU8String = new ImU8String(11, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-2118032553)); + imU8String.AppendFormatted(currentQuest.Sequence); + imU8String.AppendLiteral(global::_003CModule_003E._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(1735737295)); + _202A_206F_206F_202C_206B_200C_200C_206A_206B_200F_206D_206F_202E_202D_206E_206F_200D_202B_202C_202B_202A_206F_202C_200B_200E_206B_206A_206F_202B_206F_200B_202E_202D_202B_202C_200E_202D_206E_202A_202E_202E(imU8String); + num = -1103679330; + break; + } + case 3: + currentQuest = _questController.CurrentQuest; + num = ((currentQuest == null) ? (-1103679330) : (-1103679333)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawAddCondition() + { + _202D_200D_202E_206F_202D_202A_200B_200C_200F_200B_206B_206A_200F_200E_200C_206D_202D_202B_202B_200E_200D_202B_202E_206D_200B_202C_200E_202C_206A_200B_202A_202D_206C_200E_206E_202D_200B_206F_206F_202E(_206F_202A_200E_206C_202D_200F_200C_206B_202C_206E_206C_200C_202D_206D_202E_206B_206C_202B_202A_202D_202C_200C_202C_206D_206E_206A_202E_206F_200C_206E_200E_206D_202C_200F_206B_200E_206C_206C_200E_206C_202E(260f, _200F_206E_200F_200E_202C_200C_206E_202B_200F_206D_202B_200C_206D_200C_200B_202D_206A_202E_202C_206E_206C_202A_202E_206B_206B_202B_202E_202B_206D_200D_202D_206D_206F_202E_202A_200C_206E_200D_206F_206C_202E().X)); + UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(391148722), ref _addConditionType, ConditionTypeNames, ConditionTypeNames.Length); + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + switch (_addConditionType) + { + default: + { + int num = -16462781; + while (true) + { + int num2 = num; + int num3 = -16462777; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + goto end_IL_0074; + case 7: + goto IL_00ba; + case 8: + goto IL_00c1; + case 6: + goto IL_00c8; + case 3: + goto IL_00cf; + case 1: + goto IL_00d6; + case 2: + goto end_IL_0048; + case 4: + return; + case 0: + num = -16462781; + break; + } + continue; + end_IL_0074: + break; + } + goto case 4; + } + case 4: + DrawAddSimpleCondition(); + return; + case 1: + goto IL_00ba; + case 3: + goto IL_00c1; + case 0: + goto IL_00c8; + case 2: + goto IL_00cf; + case 5: + goto IL_00d6; + case 6: + break; + IL_00d6: + DrawAddSimpleCondition(); + return; + IL_00cf: + DrawAddLevel(); + return; + IL_00c8: + DrawAddQuestComplete(); + return; + IL_00c1: + DrawAddGlobalSequence(); + return; + IL_00ba: + DrawAddQuestAccept(); + return; + end_IL_0048: + break; + } + DrawAddGilThreshold(); + } + + private void DrawAddQuestComplete() + { + _200F_202C_202E_206F_206C_206A_206C_200C_206A_200B_202E_206E_200C_206C_202C_200B_206C_202A_200C_200F_200D_206A_206D_206D_206B_202B_200C_202D_202D_206D_206D_202D_206B_202C_206D_200E_206A_200F_206B_206F_202E(); + _questSelector.DrawSelection(_206F_202A_200E_206C_202D_200F_200C_206B_202C_206E_206C_200C_202D_206D_202E_206B_206C_202B_202A_202D_202C_200C_202C_206D_206E_206A_202E_206F_200C_206E_200E_206D_202C_200F_206B_200E_206C_206C_200E_206C_202E(260f, _200F_206E_200F_200E_202C_200C_206E_202B_200F_206D_202B_200C_206D_200C_200B_202D_206A_202E_202C_206E_206C_202A_202E_206B_206B_202B_202E_202B_206D_200D_202D_206D_206F_202E_202A_200C_206E_200D_206F_206C_202E().X)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawAddQuestAccept() + { + _200F_202C_202E_206F_206C_206A_206C_200C_206A_200B_202E_206E_200C_206C_202C_200B_206C_202A_200C_200F_200D_206A_206D_206D_206B_202B_200C_202D_202D_206D_206D_202D_206B_202C_206D_200E_206A_200F_206B_206F_202E(); + long num = _200C_202B_202D_202C_202C_206E_206E_206A_206B_202A_200C_200B_202A_202B_200B_200E_200D_206D_200E_202D_202E_206F_202D_200C_202A_202A_206F_206F_206C_206A_206B_202D_200B_202B_206A_206E_202E_206F_206D_202E(); + int num2 = ((num < _acceptedQuestsRefreshAtMs) ? 187960232 : 187960237); + List list = default(List); + int currentItem = default(int); + string text; + while (true) + { + int num3 = num2; + int num4 = 187960236; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 2: + num2 = 187960237; + continue; + case 6: + { + string[] items = list.Select((Quest x) => x.Info.Name).ToArray(); + currentItem = -1; + num2 = ((!UiThemeUtils.SearchableCombo(global::_003CModule_003E._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(-1600317314), ref currentItem, items, ref _questAcceptSearchText, _206F_202A_200E_206C_202D_200F_200C_206B_202C_206E_206C_200C_202D_206D_202E_206B_206C_202B_202A_202D_202C_200C_202C_206D_206E_206A_202E_206F_200C_206E_200E_206D_202C_200F_206B_200E_206C_206C_200E_206C_202E(260f, _200F_206E_200F_200E_202C_200C_206E_202B_200F_206D_202B_200C_206D_200C_200B_202D_206A_202E_202C_206E_206C_202A_202E_206B_206B_202B_202E_202B_206D_200D_202D_206D_206F_202E_202A_200C_206E_200D_206F_206C_202E().X), global::_003CModule_003E._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(-977909950))) ? 187960236 : 187960228); continue; } - ImU8String id = new ImU8String(5, 1); - id.AppendLiteral("Quest"); - id.AppendFormatted(elementId); - using (ImRaii.PushId(id)) + case 7: + base.Configuration.Stop.Conditions.Add(new QuestAcceptCondition + { + QuestId = list[currentItem].Id, + Mode = EStopConditionMode.Stop + }); + Save(); + num2 = 187960236; + continue; + case 4: + list = _acceptedQuests.Where((Quest x) => !HasQuestCondition(x.Id, EStopConditionType.QuestAccept)).ToList(); + num2 = ((list.Count != 0) ? 187960234 : 187960229); + continue; + case 9: + num2 = ((_acceptedQuests.Count == 0) ? 187960239 : 187960233); + continue; + case 8: + num2 = ((currentItem < 0) ? 187960236 : 187960235); + continue; + case 5: + text = global::_003CModule_003E._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(1123334752); + break; + case 1: { - 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(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; - } + _acceptedQuests = GetCurrentlyAcceptedQuests(); + long num8 = 1000L; + long num9 = num; + long num10 = num9 ^ num8; + long num11 = num9 & num8; + _acceptedQuestsRefreshAtMs = num10 + (num11 + num11); + num2 = 187960232; + continue; } - Vector2 item2 = new Vector2(item.X + x, ImGui.GetCursorScreenPos().Y - ImGui.GetStyle().ItemSpacing.Y + 2f); - list.Add((item, item2)); + case 3: + text = global::_003CModule_003E._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(-571216407); + break; + case 0: + return; + } + break; } - if (!ImGui.IsMouseDragging(ImGuiMouseButton.Left)) + _202A_206F_206F_202C_206B_200C_200C_206A_206B_200F_206D_206F_202E_202D_206E_206F_200D_202B_202C_202B_202A_206F_202C_200B_200E_206B_206A_206F_202B_206F_200B_202E_202D_202B_202C_200E_202D_206E_202A_202E_202E((ImU8String)text); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawAddLevel() + { + int num = ((!base.Configuration.Stop.Conditions.OfType().Any()) ? (-1746384537) : (-1746384543)); + while (true) { - _draggedItem = null; - } - else if (_draggedItem != null) - { - int num = questsToStopAfter.FindIndex((ElementId elementId2) => elementId2 == _draggedItem); - if (num >= 0 && num < list.Count) + int num2 = num; + int num3 = -1746384539; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - 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) + case 0: + base.Configuration.Stop.Conditions.Add(new LevelCondition { - quest2 = (_questRegistry.TryGetQuest(_draggedItem, out Quest quest4) ? quest4 : null); - index = num2; - } + TargetLevel = _addLevel, + Mode = EStopConditionMode.Stop + }); + Save(); + num = -1746384540; + break; + case 4: + _202A_206F_206F_202C_206B_200C_200C_206A_206B_200F_206D_206F_202E_202D_206E_206F_200D_202B_202C_202B_202A_206F_202C_200B_200E_206B_206A_206F_202B_206F_200B_202E_202D_202B_202C_200E_202D_206E_202A_202E_202E((ImU8String)global::_003CModule_003E._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(-855443746)); + return; + case 2: + _202D_200D_202E_206F_202D_202A_200B_200C_200F_200B_206B_206A_200F_200E_200C_206D_202D_202B_202B_200E_200D_202B_202E_206D_200B_202C_200E_202C_206A_200B_202A_202D_206C_200E_206E_202D_200B_206F_206F_202E(100f); + _206A_206C_206B_206B_206F_200F_206C_206E_200F_200D_200B_206F_200B_206B_200B_200B_202B_200C_206C_200B_202B_206A_206E_200B_206D_206E_202A_200F_202C_200C_200E_202E_200E_202E_206D_200B_202A_206B_202A_200D_202E((ImU8String)global::_003CModule_003E._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(235196201), ref _addLevel, 1, 5, default(ImU8String), ImGuiInputTextFlags.None); + _addLevel = _202A_202C_206A_206F_202E_200F_206E_202A_202E_202E_206B_200E_200E_200F_206D_206B_202B_202B_202A_206F_206B_202B_206F_206D_202B_202A_200F_200B_206E_206E_206A_200D_200E_200E_202A_200F_206F_206F_206A_200E_202E(1, _200B_200D_206B_202A_202A_200D_206B_200E_200B_206D_206B_206E_200E_206C_200B_206D_206A_200F_202E_206C_202A_200F_202E_200B_200E_202E_200B_200B_200B_206E_206D_200F_200F_202E_200D_200F_206E_206D_200F_202B_202E(100, _addLevel)); + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, global::_003CModule_003E._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(1748421528))) ? (-1746384540) : (-1746384539)); + break; + case 3: + num = -1746384543; + break; + case 1: + return; } } - 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(); - } } - private void DrawCurrentlyAcceptedQuests() + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawAddGlobalSequence() { - List currentlyAcceptedQuests = GetCurrentlyAcceptedQuests(); - ImGui.Text("Currently Accepted Quests:"); - using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("AcceptedQuestsList", new Vector2(-1f, 120f), border: true)) + int num = ((!base.Configuration.Stop.Conditions.OfType().Any()) ? 1585398821 : 1585398817); + while (true) { - if ((bool)childDisposable) + int num2 = num; + int num3 = 1585398821; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - if (currentlyAcceptedQuests.Count > 0) + case 1: + return; + case 4: + _202A_206F_206F_202C_206B_200C_200C_206A_206B_200F_206D_206F_202E_202D_206E_206F_200D_202B_202C_202B_202A_206F_202C_200B_200E_206B_206A_206F_202B_206F_200B_202E_202D_202B_202C_200E_202D_206E_202A_202E_202E((ImU8String)global::_003CModule_003E._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(-855443746)); + return; + case 3: + num = 1585398817; + break; + case 0: + _202D_200D_202E_206F_202D_202A_200B_200C_200F_200B_206B_206A_200F_200E_200C_206D_202D_202B_202B_200E_200D_202B_202E_206D_200B_202C_200E_202C_206A_200B_202A_202D_206C_200E_206E_202D_200B_206F_206F_202E(100f); + _206A_206C_206B_206B_206F_200F_206C_206E_200F_200D_200B_206F_200B_206B_200B_200B_202B_200C_206C_200B_202B_206A_206E_200B_206D_206E_202A_200F_202C_200C_200E_202E_200E_202E_206D_200B_202A_206B_202A_200D_202E((ImU8String)global::_003CModule_003E._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(-464915630), ref _addSequence, 1, 1, default(ImU8String), ImGuiInputTextFlags.None); + _addSequence = _202A_202C_206A_206F_202E_200F_206E_202A_202E_202E_206B_200E_200E_200F_206D_206B_202B_202B_202A_206F_206B_202B_206F_206D_202B_202A_200F_200B_206E_206E_206A_200D_200E_200E_202A_200F_206F_206F_206A_200E_202E(0, _200B_200D_206B_202A_202A_200D_206B_200E_200B_206D_206B_206E_200E_206C_200B_206D_206A_200F_202E_206C_202A_200F_202E_200B_200E_202E_200B_200B_200B_206E_206D_200F_200F_202E_200D_200F_206E_206D_200F_202B_202E(255, _addSequence)); + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, global::_003CModule_003E._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(-1012926107))) ? 1585398820 : 1585398823); + break; + case 2: + base.Configuration.Stop.Conditions.Add(new GlobalSequenceCondition { - foreach (Quest item in currentlyAcceptedQuests) + TargetSequence = _addSequence, + Mode = EStopConditionMode.Stop + }); + Save(); + num = 1585398820; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawAddGilThreshold() + { + int num = ((!base.Configuration.Stop.Conditions.OfType().Any()) ? (-1473032468) : (-1473032465)); + while (true) + { + int num2 = num; + int num3 = -1473032466; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -1473032465; + break; + case 0: + base.Configuration.Stop.Conditions.Add(new GilThresholdCondition + { + MinGil = _addGilThreshold, + Mode = EStopConditionMode.Stop + }); + Save(); + num = -1473032470; + break; + case 4: + return; + case 2: + _202D_200D_202E_206F_202D_202A_200B_200C_200F_200B_206B_206A_200F_200E_200C_206D_202D_202B_202B_200E_200D_202B_202E_206D_200B_202C_200E_202C_206A_200B_202A_202D_206C_200E_206E_202D_200B_206F_206F_202E(100f); + _206A_206C_206B_206B_206F_200F_206C_206E_200F_200D_200B_206F_200B_206B_200B_200B_202B_200C_206C_200B_202B_206A_206E_200B_206D_206E_202A_200F_202C_200C_200E_202E_200E_202E_206D_200B_202A_206B_202A_200D_202E((ImU8String)global::_003CModule_003E._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(1007739181), ref _addGilThreshold, 100, 1000, default(ImU8String), ImGuiInputTextFlags.None); + _addGilThreshold = _202A_202C_206A_206F_202E_200F_206E_202A_202E_202E_206B_200E_200E_200F_206D_206B_202B_202B_202A_206F_206B_202B_206F_206D_202B_202A_200F_200B_206E_206E_206A_200D_200E_200E_202A_200F_206F_206F_206A_200E_202E(1, _200B_200D_206B_202A_202A_200D_206B_200E_200B_206D_206B_206E_200E_206C_200B_206D_206A_200F_202E_206C_202A_200F_202E_200B_200E_202E_200B_200B_200B_206E_206D_200F_200F_202E_200D_200F_206E_206D_200F_202B_202E(999999999, _addGilThreshold)); + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, global::_003CModule_003E._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(1210011820))) ? (-1473032470) : (-1473032466)); + break; + case 1: + _202A_206F_206F_202C_206B_200C_200C_206A_206B_200F_206D_206F_202E_202D_206E_206F_200D_202B_202C_202B_202A_206F_202C_200B_200E_206B_206A_206F_202B_206F_200B_202E_202D_202B_202C_200E_202D_206E_202A_202E_202E((ImU8String)global::_003CModule_003E._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(726973831)); + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawAddSimpleCondition() where T : StopCondition, new() + { + int num = ((!base.Configuration.Stop.Conditions.OfType().Any()) ? (-989337839) : (-989337837)); + while (true) + { + int num2 = num; + int num3 = -989337838; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -989337837; + break; + case 1: + _202A_206F_206F_202C_206B_200C_200C_206A_206B_200F_206D_206F_202E_202D_206E_206F_200D_202B_202C_202B_202A_206F_202C_200B_200E_206B_206A_206F_202B_206F_200B_202E_202D_202B_202C_200E_202D_206E_202A_202E_202E((ImU8String)global::_003CModule_003E._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(-855443746)); + return; + case 0: + return; + case 4: + base.Configuration.Stop.Conditions.Add(new T + { + Mode = EStopConditionMode.Stop + }); + Save(); + num = -989337838; + break; + case 3: + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, global::_003CModule_003E._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(506770427))) ? (-989337838) : (-989337834)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawSessionConditions() + { + List sessionConditions = _questController.SessionConditions; + int num = ((sessionConditions.Count != 0) ? (-565908276) : (-565908273)); + while (true) + { + int num2 = num; + int num3 = -565908274; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_005d; + case 1: + return; + case 2: + { + UiThemeUtils.SectionSpacing(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-59870377)); + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item = tuple.ContentStartPos; + float item2 = tuple.AvailableWidth; + ImDrawListPtr item3 = tuple.DrawList; + for (int num7 = 0; num7 < sessionConditions.Count; num7 = (num4 | num3) + (num4 & num3)) + { + ImU8String imU8String = new ImU8String(7, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-228958659)); + imU8String.AppendFormatted(num7); + ImRaii.IdDisposable idDisposable = _206B_202D_200F_200C_202D_200E_206E_202E_206A_206D_206E_200D_206E_202B_200D_206E_200B_200C_206A_206B_202A_206E_206B_200E_200C_200F_206E_202D_206A_206C_206D_202B_200C_200E_202D_206C_206C_200D_202C_202E(imU8String, true); + try { - ImU8String id = new ImU8String(13, 1); - id.AppendLiteral("AcceptedQuest"); - id.AppendFormatted(item.Id); - using (ImRaii.PushId(id)) + StopCondition stopCondition = sessionConditions[num7]; + _202D_202E_206A_202B_200F_206D_202B_200D_206F_206E_206A_202D_206F_206A_200E_200C_206C_206A_206D_202A_202D_202B_206E_206F_206D_202C_200D_206E_206C_206D_206D_206E_202B_202E_202A_206A_206C_206C_200F_206C_202E((ImU8String)stopCondition.GetDescription()); + _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E(); + ImU8String imU8String2 = new ImU8String(2, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1234830832)); + imU8String2.AppendFormatted(stopCondition.Mode); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1851437460)); + _202A_206F_206F_202C_206B_200C_200C_206A_206B_200F_206D_206F_202E_202D_206E_206F_200D_202B_202C_202B_202A_206F_202C_200B_200E_206B_206A_206F_202B_206F_200B_202E_202D_202B_202C_200E_202D_206E_202A_202E_202E(imU8String2); + } + finally + { + num = ((idDisposable == null) ? (-943401635) : (-943401636)); + while (true) { - (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()) + int num8 = num; + num3 = -943401635; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) { - 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"); + case 0: + goto end_IL_0150; + case 1: + _206E_200E_202B_206B_206F_206F_200F_206D_200E_202E_206F_202C_202C_206A_200E_206F_206A_206F_202D_200F_206B_202B_202C_202A_206E_206F_202D_200D_202C_202B_202B_206D_200E_202D_206C_200D_202E_200B_200F_202C_202E((IDisposable)idDisposable); + num = -943401635; + break; + case 2: + num = -943401636; + break; } + continue; + end_IL_0150: + break; } } + int num11 = num7; + num3 = 1; + num4 = num11; } - else - { - ImGui.PushStyleColor(ImGuiCol.Text, new Vector4(0.7f, 0.7f, 0.7f, 1f)); - ImGui.TextWrapped("No quests currently accepted"); - ImGui.PopStyleColor(); - } + UiThemeUtils.EndCard(item, item2, item3); + return; } + } + continue; + IL_005d: + num = -565908273; } - ImGui.Spacing(); } + private string ResolveQuestName(ElementId questId) + { + IQuestInfo questInfo; + int num = ((!_questData.TryGetQuestInfo(questId, out questInfo)) ? (-1798007610) : (-1798007609)); + while (true) + { + int num2 = num; + int num3 = -1798007610; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return _200E_202D_202C_206F_206C_202E_200D_202E_200E_200D_200C_202A_200D_202E_200C_202B_202D_200C_206A_206F_202B_202A_200E_200B_202B_202A_200F_200B_206E_206B_200D_206B_200E_200C_202E_206F_200E_200E_200E_206A_202E((object)questId); + case 1: + return questInfo.Name; + case 2: + goto IL_005e; + } + continue; + IL_005e: + num = -1798007609; + } + } + + private bool HasQuestCondition(ElementId questId, EStopConditionType type) + { + using (List.Enumerator enumerator = base.Configuration.Stop.Conditions.GetEnumerator()) + { + int num = 511644902; + StopCondition current = default(StopCondition); + QuestCompleteCondition questCompleteCondition = default(QuestCompleteCondition); + QuestAcceptCondition questAcceptCondition = default(QuestAcceptCondition); + while (true) + { + int num2 = num; + int num3 = 511644896; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return true; + case 3: + current = enumerator.Current; + num = ((current.Type != type) ? 511644902 : 511644904); + break; + case 7: + num = ((!_206D_200D_206B_202B_202A_206D_200E_202D_206B_200E_200C_200E_206F_202A_202A_206E_202C_206A_200F_206A_200B_200F_206A_202C_200B_202C_202B_200D_200C_202A_202B_200E_202A_206B_200C_202E_206B_202A_206E_206A_202E(questCompleteCondition.QuestId, questId)) ? 511644896 : 511644898); + break; + case 4: + num = 511644902; + break; + case 8: + questCompleteCondition = current as QuestCompleteCondition; + num = ((questCompleteCondition == null) ? 511644896 : 511644903); + break; + case 2: + return true; + case 9: + num = ((!_206D_200D_206B_202B_202A_206D_200E_202D_206B_200E_200C_200E_206F_202A_202A_206E_202C_206A_200F_206A_200B_200F_206A_202C_200B_202C_202B_200D_200C_202A_202B_200E_202A_206B_200C_202E_206B_202A_206E_206A_202E(questAcceptCondition.QuestId, questId)) ? 511644902 : 511644897); + break; + case 6: + num = (enumerator.MoveNext() ? 511644899 : 511644901); + break; + case 0: + questAcceptCondition = current as QuestAcceptCondition; + num = ((questAcceptCondition == null) ? 511644902 : 511644905); + break; + case 5: + goto end_IL_0022; + } + continue; + end_IL_0022: + break; + } + } + return false; + } + + [MethodImpl(MethodImplOptions.NoInlining)] private List GetCurrentlyAcceptedQuests() { List list = new List(); try { - foreach (Quest allQuest in _questRegistry.AllQuests) + IEnumerator enumerator = _questRegistry.AllQuests.GetEnumerator(); + try { - if (_questFunctions.IsQuestAccepted(allQuest.Id)) + int num = -406994437; + Quest current = default(Quest); + while (true) { - list.Add(allQuest); + int num2 = num; + int num3 = -406994438; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -406994437; + break; + case 3: + list.Add(current); + num = -406994437; + break; + case 1: + num = (_206D_206F_206B_206F_206E_206D_206D_206C_202C_200E_202E_206A_206E_200E_206F_206B_202C_206C_206E_200C_202E_206A_206B_206D_200D_202A_200C_206E_206A_206B_206E_202E_202D_202B_200B_206B_202B_202A_202B_202D_202E((IEnumerator)enumerator) ? (-406994440) : (-406994434)); + break; + case 2: + current = enumerator.Current; + num = ((!_questFunctions.IsQuestAccepted(current.Id)) ? (-406994437) : (-406994439)); + break; + case 4: + goto end_IL_0023; + } + continue; + end_IL_0023: + break; } } - list.Sort((Quest a, Quest b) => string.Compare(a.Info.Name, b.Info.Name, StringComparison.OrdinalIgnoreCase)); + finally + { + int num = ((enumerator == null) ? 1292761729 : 1292761728); + while (true) + { + int num5 = num; + int num3 = 1292761729; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + num = 1292761728; + break; + case 1: + _206E_200E_202B_206B_206F_206F_200F_206D_200E_202E_206F_202C_202C_206A_200E_206F_206A_206F_202D_200F_206B_202B_202C_202A_206E_206F_202D_200D_202C_202B_202B_206D_200E_202D_206C_200D_202E_200B_200F_202C_202E((IDisposable)enumerator); + num = 1292761729; + break; + case 0: + goto end_IL_00f1; + } + continue; + end_IL_00f1: + break; + } + } + list.Sort((Quest a, Quest b) => _003C_003Ec._202B_200C_202C_202B_202D_200B_200C_206E_200B_202D_200B_202B_200B_200E_200C_206A_200F_202E_206F_202B_206B_206F_200D_206C_200C_202D_206C_200B_200C_206A_200D_206E_202D_206F_206B_202A_200B_202A_206B_202E_202E(a.Info.Name, b.Info.Name, StringComparison.OrdinalIgnoreCase)); } - catch (Exception) + catch (Exception ex) { + _202B_200B_200C_206C_200E_200F_202A_202D_206C_200B_202C_206B_202C_202A_202D_202C_206A_206B_206F_200C_202A_202B_206A_200E_206B_200F_200B_202E_206E_200B_200B_200D_202A_202D_200F_200D_206C_202A_206A_200F_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-1084509902), Array.Empty()); list.Clear(); } return list; } + + static ImRaii.DisabledDisposable _202D_202C_206B_202A_200E_200C_202A_202D_206E_206F_206D_206E_202C_200F_200F_206C_202D_202A_202D_202D_200F_202E_202B_206A_200C_206B_206A_206E_202B_206C_206E_206A_202B_200F_202D_202E_206F_200D_206D_206C_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static void _206E_200E_202B_206B_206F_206F_200F_206D_200E_202E_206F_202C_202C_206A_200E_206F_206A_206F_202D_200F_206B_202B_202C_202A_206E_206F_202D_200D_202C_202B_202B_206D_200E_202D_206C_200D_202E_200B_200F_202C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static Vector2 _200F_206E_200F_200E_202C_200C_206E_202B_200F_206D_202B_200C_206D_200C_200B_202D_206A_202E_202C_206E_206C_202A_202E_206B_206B_202B_202E_202B_206D_200D_202D_206D_206F_202E_202A_200C_206E_200D_206F_206C_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _206F_202A_200E_206C_202D_200F_200C_206B_202C_206E_206C_200C_202D_206D_202E_206B_206C_202B_202A_202D_202C_200C_202C_206D_206E_206A_202E_206F_200C_206E_200E_206D_202C_200F_206B_200E_206C_206C_200E_206C_202E(float P_0, float P_1) + { + return MathF.Min(P_0, P_1); + } + + static void _202D_200D_202E_206F_202D_202A_200B_200C_200F_200B_206B_206A_200F_200E_200C_206D_202D_202B_202B_200E_200D_202B_202E_206D_200B_202C_200E_202C_206A_200B_202A_202D_206C_200E_206E_202D_200B_206F_206F_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static bool _206B_206F_206A_200D_200D_202D_200C_202B_206F_206B_202C_206F_202C_206C_206F_202B_200D_200F_206E_206B_202D_202B_202E_202E_200E_206F_202D_206B_206D_206C_200D_202D_206D_200B_200B_202E_206A_200E_200E_200C_202E(ImU8String P_0, ref string P_1, int P_2, ImGuiInputTextFlags P_3, ImGui.ImGuiInputTextCallbackDelegate P_4) + { + return ImGui.InputText(P_0, ref P_1, P_2, P_3, P_4); + } + + static void _200B_206C_202A_200E_202D_202B_200F_206C_202B_200B_202B_206F_202D_200C_206D_200E_202A_202E_206C_202A_206E_206C_206A_200E_206B_206C_206A_202C_206E_200B_200F_200F_202A_202B_206B_200F_202B_202C_206E_202E_202E() + { + ImGui.SameLine(); + } + + static void _202A_206F_206F_202C_206B_200C_200C_206A_206B_200F_206D_206F_202E_202D_206E_206F_200D_202B_202C_202B_202A_206F_202C_200B_200E_206B_206A_206F_202B_206F_200B_202E_202D_202B_202C_200E_202D_206E_202A_202E_202E(ImU8String P_0) + { + ImGui.TextDisabled(P_0); + } + + static ImRaii.IdDisposable _200D_200C_202B_200F_206D_206B_202B_200F_200D_200F_206D_206E_200D_202C_200D_206A_206F_200C_206F_206C_200E_202A_206E_200D_202E_206E_202E_202D_202E_200B_202E_202A_206A_206C_200C_206E_206D_202B_206F_202C_202E(int P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static void _206F_202A_206B_206A_206F_206C_200B_200F_206C_200E_202B_206F_206E_200F_200E_206D_202D_206B_206B_202C_206D_200F_200C_202B_202B_206A_206F_202C_202B_206D_202D_200E_202E_202D_202C_202B_200B_206B_206B_206A_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static void _200F_202A_200C_202E_206D_206E_206B_202D_202A_206E_200D_200D_200D_202D_202D_200E_202C_200B_206E_202A_202E_206E_206C_200D_200F_206C_206D_200F_202E_200E_202A_200C_200C_202D_206D_200E_200D_206B_200F_206B_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static float _202C_202B_206B_202D_202B_206A_202A_206A_200E_200C_202E_202B_202C_206F_200F_200B_200D_206C_202B_200E_202A_206A_202A_200B_200F_200E_200B_200D_202C_202C_200D_200F_200F_200F_200F_206B_206C_206E_200B_206D_202E() + { + return ImGui.GetFrameHeight(); + } + + static IUiBuilder _206A_202D_206F_206A_206D_202D_206B_206B_200B_202B_200F_202C_202C_200E_202C_202B_200B_206B_202C_200B_202C_200D_202D_200F_200D_206C_200E_200C_202B_206E_202B_200E_200F_206C_202C_200D_200E_206E_200C_200C_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _202B_200F_206A_200E_200C_200B_202A_200B_206C_200D_206D_200C_206E_200B_202D_200B_206B_206F_206A_200F_206D_202C_206E_206B_202A_200C_206E_200D_206A_206C_200D_206D_206F_200C_202B_206E_202A_206E_206D_206F_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _200C_206B_206C_200F_200D_202E_202C_206B_200F_202E_206D_206F_202E_200C_200E_200F_200F_202D_200D_200C_206E_206F_206B_200C_200D_206F_202A_200C_206C_202E_206D_200E_200B_206F_202C_206C_200B_200E_206E_200C_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static string _206D_206D_202A_202C_206A_200D_202D_206A_202A_200E_202B_202D_200C_202A_202C_206B_206F_206A_206C_206B_202E_200F_202A_200B_206B_202C_206A_202D_206C_206D_200B_200F_202A_200F_202B_200D_200B_206D_206A_206B_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static void _206B_206B_200E_200F_200F_202D_200B_200B_202B_206C_200F_200E_200B_206C_202C_206C_206C_200D_206E_200F_202A_202A_206A_202D_206F_200F_206C_206D_206D_200C_206C_200D_202A_206D_202E_202C_200F_200B_200C_206C_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static ImGuiStylePtr _206A_200D_202C_206D_200C_202E_206C_202D_200D_202E_206B_202D_202E_200B_206D_202D_202D_200F_200E_202A_206F_206B_200C_206F_206D_200D_202D_206A_200D_206C_200E_200E_206B_202C_206A_202B_202A_206E_202E_200F_202E() + { + return ImGui.GetStyle(); + } + + static ImFontPtr _202C_206C_200D_206A_200D_200C_202D_206B_206B_202B_200F_206C_206E_206C_202D_200B_200F_206B_202D_206F_200F_206F_202C_206E_200D_206D_200B_206B_206D_206D_202E_200D_200F_206C_202B_202B_202E_202E_206F_202E_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _200B_200E_202D_200B_206F_202A_202E_200E_202C_200E_206A_206C_206E_200D_202A_200E_200E_206A_200F_206B_202D_206A_202C_206E_206F_200D_206E_206D_206B_206D_206B_206E_206D_202D_206C_206C_202A_206C_200E_200C_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static Vector2 _206D_200D_202B_202D_202D_206D_206D_206E_200C_200B_202E_202B_202D_202C_206C_206E_202C_200B_200C_202A_206F_200C_202E_202C_200D_200D_202A_200D_206F_206B_202C_206B_206C_206E_206D_202C_202C_206B_202D_206F_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static bool _202D_206C_206C_206B_202E_206C_202B_206C_202B_206C_202B_200C_200C_206A_200B_206C_200B_206E_200D_206D_202B_206C_206D_202B_206D_200C_206A_206C_202A_202A_206F_202E_200D_206B_206C_206B_200D_206D_200D_200E_202E() + { + return ImGui.IsItemHovered(); + } + + static bool _206A_206C_206B_206B_206F_200F_206C_206E_200F_200D_200B_206F_200B_206B_200B_200B_202B_200C_206C_200B_202B_206A_206E_200B_206D_206E_202A_200F_202C_200C_200E_202E_200E_202E_206D_200B_202A_206B_202A_200D_202E(ImU8String P_0, ref int P_1, int P_2, int P_3, ImU8String P_4, ImGuiInputTextFlags P_5) + { + return ImGui.InputInt(P_0, ref P_1, P_2, P_3, P_4, P_5); + } + + static int _200B_200D_206B_202A_202A_200D_206B_200E_200B_206D_206B_206E_200E_206C_200B_206D_206A_200F_202E_206C_202A_200F_202E_200B_200E_202E_200B_200B_200B_206E_206D_200F_200F_202E_200D_200F_206E_206D_200F_202B_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static int _202A_202C_206A_206F_202E_200F_206E_202A_202E_202E_206B_200E_200E_200F_206D_206B_202B_202B_202A_206F_206B_202B_206F_206D_202B_202A_200F_200B_206E_206E_206A_200D_200E_200E_202A_200F_206F_206F_206A_200E_202E(int P_0, int P_1) + { + return Math.Max(P_0, P_1); + } + + static string _206B_202B_206B_202C_200F_202C_200F_206F_200C_206E_206C_200F_202B_206C_202E_206F_202E_206B_206F_200E_202C_202D_206D_202C_200C_202B_200E_200F_200F_200D_206E_200B_200F_200D_206B_202E_200D_200C_200D_202E_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _202A_202B_200D_200F_200F_200D_200C_206E_206A_200D_206A_200B_206A_200D_206F_200B_202B_206C_200F_206B_206D_202A_200B_206C_200B_202C_202A_200E_206A_200D_200E_202E_200D_202C_200E_206C_202B_202B_200E_206A_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static IPlayerCharacter _206C_202D_202B_200E_200E_202A_206E_206C_202C_202A_200F_200B_206E_206C_200F_202D_200F_206F_206E_206E_200C_206D_202C_206A_202A_206F_206E_200D_200F_206E_206F_206A_202D_206D_206F_202D_200D_202A_202D_206F_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static byte _206A_206F_206F_206F_202B_200D_202D_206E_200E_200C_206B_202D_202D_202A_206A_200D_202C_202C_202C_202E_200D_200B_202B_206D_200D_206A_206F_202D_206E_206D_200C_202A_200F_206F_200F_206C_200D_202D_202D_200C_202E(ICharacter P_0) + { + return P_0.Level; + } + + static void _200F_202C_202E_206F_206C_206A_206C_200C_206A_200B_202E_206E_200C_206C_202C_200B_206C_202A_200C_200F_200D_206A_206D_206D_206B_202B_200C_202D_202D_206D_206D_202D_206B_202C_206D_200E_206A_200F_206B_206F_202E() + { + ImGui.NewLine(); + } + + static long _200C_202B_202D_202C_202C_206E_206E_206A_206B_202A_200C_200B_202A_202B_200B_200E_200D_206D_200E_202D_202E_206F_202D_200C_202A_202A_206F_206F_206C_206A_206B_202D_200B_202B_206A_206E_202E_206F_206D_202E() + { + return Environment.TickCount64; + } + + static ImRaii.IdDisposable _206B_202D_200F_200C_202D_200E_206E_202E_206A_206D_206E_200D_206E_202B_200D_206E_200B_200C_206A_206B_202A_206E_206B_200E_200C_200F_206E_202D_206A_206C_206D_202B_200C_200E_202D_206C_206C_200D_202C_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static void _202D_202E_206A_202B_200F_206D_202B_200D_206F_206E_206A_202D_206F_206A_200E_200C_206C_206A_206D_202A_202D_202B_206E_206F_206D_202C_200D_206E_206C_206D_206D_206E_202B_202E_202A_206A_206C_206C_200F_206C_202E(ImU8String P_0) + { + ImGui.BulletText(P_0); + } + + static string _200E_202D_202C_206F_206C_202E_200D_202E_200E_200D_200C_202A_200D_202E_200C_202B_202D_200C_206A_206F_202B_202A_200E_200B_202B_202A_200F_200B_206E_206B_200D_206B_200E_200C_202E_206F_200E_200E_200E_206A_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _206D_200D_206B_202B_202A_206D_200E_202D_206B_200E_200C_200E_206F_202A_202A_206E_202C_206A_200F_206A_200B_200F_206A_202C_200B_202C_202B_200D_200C_202A_202B_200E_202A_206B_200C_202E_206B_202A_206E_206A_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + + static bool _206D_206F_206B_206F_206E_206D_206D_206C_202C_200E_202E_206A_206E_200E_206F_206B_202C_206C_206E_200C_202E_206A_206B_206D_200D_202A_200C_206E_206A_206B_206E_202E_202D_202B_200B_206B_202B_202A_202B_202D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202B_200B_200C_206C_200E_200F_202A_202D_206C_200B_202C_206B_202C_202A_202D_202C_206A_206B_206F_200C_202A_202B_206A_200E_206B_200F_200B_202E_206E_200B_200B_200D_202A_202D_200F_200D_206C_202A_206A_200F_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogDebug(P_1, P_2, P_3); + } } diff --git a/Questionable/Questionable.Windows.JournalComponents/AlliedSocietyJournalComponent.cs b/Questionable/Questionable.Windows.JournalComponents/AlliedSocietyJournalComponent.cs index 71be9de4..6b5859e4 100644 --- a/Questionable/Questionable.Windows.JournalComponents/AlliedSocietyJournalComponent.cs +++ b/Questionable/Questionable.Windows.JournalComponents/AlliedSocietyJournalComponent.cs @@ -2,11 +2,10 @@ using System; using System.Collections.Generic; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; 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; @@ -22,12 +21,41 @@ namespace Questionable.Windows.JournalComponents; internal sealed class AlliedSocietyJournalComponent { - private static readonly string[] RankNames = new string[9] { "Neutral", "Recognized", "Friendly", "Trusted", "Respected", "Honored", "Sworn", "Bloodsworn", "Allied" }; + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass21_0 + { + public QuestInfo q; + + internal bool _003CDrawAddToPriorityButtons_003Eb__3(Quest pq) + { + return _206F_202C_200D_206C_202D_206C_200D_206F_202C_206F_206C_202B_200C_200E_200B_202B_206E_200F_206C_200D_206C_202A_202C_206A_202C_202E_200B_202C_202A_202C_206E_200E_200B_206E_202A_206C_206A_206D_202D_200F_202E(pq.Id, q.QuestId); + } + + static bool _206F_202C_200D_206C_202D_206C_200D_206F_202C_206F_206C_202B_200C_200E_200B_202B_206E_200F_206C_200D_206C_202A_202C_206A_202C_202E_200B_202C_202A_202C_206E_200E_200B_206E_202A_206C_206A_206D_202D_200F_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + private static readonly string[] RankNames = new string[9] + { + global::_003CModule_003E._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(483536351), + global::_003CModule_003E._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(-2031906070), + global::_003CModule_003E._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(981104508), + global::_003CModule_003E._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(1129518073), + global::_003CModule_003E._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(176487350), + global::_003CModule_003E._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(1452508934), + global::_003CModule_003E._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(-249962653), + global::_003CModule_003E._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(1890145585), + global::_003CModule_003E._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(821453821) + }; private const int DefaultDailyQuestLimit = 3; private const int SharedDailyAllowanceLimit = 12; + private readonly Dictionary _societyHeaderStates = new Dictionary(); + private readonly AlliedSocietyQuestFunctions _alliedSocietyQuestFunctions; private readonly QuestData _questData; @@ -46,6 +74,8 @@ internal sealed class AlliedSocietyJournalComponent private readonly ILogger _logger; + private static readonly (string Name, EAlliedSociety[] Societies)[] ExpansionGroups; + public AlliedSocietyJournalComponent(AlliedSocietyQuestFunctions alliedSocietyQuestFunctions, QuestData questData, QuestRegistry questRegistry, QuestJournalUtils questJournalUtils, QuestTooltipComponent questTooltipComponent, UiUtils uiUtils, QuestController questController, IChatGui chatGui, ILogger logger) { _alliedSocietyQuestFunctions = alliedSocietyQuestFunctions; @@ -59,85 +89,139 @@ internal sealed class AlliedSocietyJournalComponent _logger = logger; } + [MethodImpl(MethodImplOptions.NoInlining)] public void DrawAlliedSocietyQuests() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Allied Societies"); - if (!tabItemDisposable) + DrawDailyAllowanceBar(); + _200E_206A_200D_200F_206D_202A_206F_206F_200E_200B_200B_206C_200F_202B_202D_200E_200B_202B_200B_206B_200E_206C_202C_202B_200E_206A_206B_202D_200C_206C_200C_202B_206F_200F_202D_200D_202B_206F_206F_206C_202E(); + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + bool flag = false; + (string, EAlliedSociety[])[] expansionGroups = ExpansionGroups; + int num = 0; + int num6; + while (num < expansionGroups.Length) { - 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[num]; + string item = tuple.Item1; + EAlliedSociety[] item2 = tuple.Item2; + List<(EAlliedSociety, List)> list = new List<(EAlliedSociety, List)>(); + EAlliedSociety[] array = item2; + int num4; + int num5; + for (int num2 = 0; num2 < array.Length; num2 = (num5 | num4) + (num5 & num4)) { - using (ImRaii.PushIndent()) + EAlliedSociety eAlliedSociety = array[num2]; + 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)); } + int num3 = num2; + num4 = 1; + num5 = num3; + } + if (list.Count != 0) + { + flag = true; + UiThemeUtils.SubSectionHeader(item); + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + using (List<(EAlliedSociety, List)>.Enumerator enumerator = list.GetEnumerator()) + { + num6 = -1559165555; + while (true) + { + int num7 = num6; + num4 = -1559165553; + num5 = num7; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num6 = -1559165555; + break; + case 2: + num6 = (enumerator.MoveNext() ? (-1559165556) : (-1559165554)); + break; + case 3: + var (alliedSociety, quests) = enumerator.Current; + DrawSocietySection(alliedSociety, quests); + num6 = -1559165555; + break; + case 1: + goto end_IL_00d9; + } + continue; + end_IL_00d9: + break; + } + } + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + } + int num8 = num; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + num = num9 + (num10 + num10); + } + num6 = -1902781762; + while (true) + { + int num11 = num6; + int num4 = -1902781763; + int num5 = num11; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num6 = -1902781762; + break; + case 0: + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(-1468474206)); + num6 = -1902781764; + break; + case 3: + num6 = (flag ? (-1902781764) : (-1902781763)); + break; + case 1: + return; } } } - private unsafe void DrawDailyAllowanceHeader() + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void DrawDailyAllowanceBar() { QuestManager* ptr = QuestManager.Instance(); - if (ptr != null) + int num = ((ptr != null) ? 1997430706 : 1997430707); + while (true) { - 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()) + int num2 = num; + int num3 = 1997430706; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - 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(); + case 0: + { + byte b = (byte)ptr->GetBeastTribeAllowance(); + num3 = b; + num4 = 12; + int num5 = ~(~num4 + num3); + TimeSpan item = CalculateTimeUntilReset().TimeUntilReset; + string unit = global::_003CModule_003E._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(173280231); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(47, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-283282305)); + defaultInterpolatedStringHandler.AppendFormatted(num5); + JournalUiShared.DrawAllowanceHeader(num5, 12, unit, item, defaultInterpolatedStringHandler.ToStringAndClear()); + return; } - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); + case 1: + return; + case 2: + goto IL_00b3; + } + continue; + IL_00b3: + num = 1997430707; } } @@ -145,91 +229,435 @@ internal sealed class AlliedSocietyJournalComponent { DateTime utcNow = DateTime.UtcNow; DateTime dateTime = new DateTime(utcNow.Year, utcNow.Month, utcNow.Day, 15, 0, 0, DateTimeKind.Utc); - DateTime dateTime2 = ((utcNow >= dateTime) ? dateTime.AddDays(1.0) : dateTime); - TimeSpan item = dateTime2 - utcNow; - return (ResetTime: dateTime2.ToLocalTime(), TimeUntilReset: item); - } - - private static string FormatTimeSpan(TimeSpan timeSpan) - { - if (timeSpan.TotalMinutes < 1.0) + int num = ((utcNow >= dateTime) ? 688800403 : 688800400); + DateTime dateTime2; + while (true) { - return "< 1m"; - } - if (!(timeSpan.TotalHours < 1.0)) - { - if (!(timeSpan.TotalDays < 1.0)) + int num2 = num; + int num3 = 688800401; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - return $"{(int)timeSpan.TotalDays}d {timeSpan.Hours}h"; + default: + continue; + case 0: + goto IL_0079; + case 1: + dateTime2 = dateTime; + break; + case 2: + dateTime2 = dateTime.AddDays(1.0); + break; } - return $"{timeSpan.Hours}h {timeSpan.Minutes}m"; + break; + IL_0079: + num = 688800400; } - return $"{timeSpan.Minutes}m"; + DateTime dateTime3 = dateTime2; + TimeSpan item = dateTime3 - utcNow; + return (ResetTime: dateTime3.ToLocalTime(), TimeUntilReset: item); } - private bool DrawAlliedSocietyHeader(EAlliedSociety alliedSociety, List quests) + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawReputationStatus(EAlliedSociety alliedSociety) { - return ImGui.CollapsingHeader($"{alliedSociety}###AlliedSociety{alliedSociety}"); + (byte, ushort, ushort, bool, bool)? reputationStatus = _alliedSocietyQuestFunctions.GetReputationStatus(alliedSociety); + int num = (reputationStatus.HasValue ? (-129004571) : (-129004570)); + byte item4 = default(byte); + ushort item = default(ushort); + ushort item2 = default(ushort); + bool item5 = default(bool); + bool item3 = default(bool); + string value = default(string); + while (true) + { + int num2 = num; + int num3 = -129004576; + int num4 = num2; + object obj; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 5: + { + (byte, ushort, ushort, bool, bool) value2 = reputationStatus.Value; + item4 = value2.Item1; + item = value2.Item2; + item2 = value2.Item3; + item5 = value2.Item4; + item3 = value2.Item5; + num = ((item4 < RankNames.Length) ? (-129004576) : (-129004572)); + continue; + } + case 0: + obj = RankNames[item4]; + goto IL_00c8; + case 3: + num = -129004570; + continue; + case 6: + return; + case 4: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1579900622)); + defaultInterpolatedStringHandler.AppendFormatted(item4); + obj = defaultInterpolatedStringHandler.ToStringAndClear(); + goto IL_00c8; + } + case 7: + { + ImU8String imU8String3 = new ImU8String(0, 1); + imU8String3.AppendFormatted(value); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.StatusComplete, imU8String3); + break; + } + case 1: + { + if (item3) + { + num = -129004574; + continue; + } + num = ((item2 > 0) ? 1342331391 : 1342331390); + Vector4 vector; + while (true) + { + int num11 = num; + num3 = 1342331391; + num4 = num11; + float num12; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 2: + vector = UiThemeUtils.MutedTextColor; + break; + case 1: + num12 = 0f; + goto IL_03db; + case 4: + vector = UiThemeUtils.StatusActive; + break; + case 3: + num = 1342331390; + continue; + case 0: + { + num12 = (float)(int)item / (float)(int)item2; + goto IL_03db; + } + IL_03db: + num = ((num12 >= 0.8f) ? 1342331387 : 1342331389); + continue; + } + break; + } + Vector4 vector2 = vector; + ImU8String imU8String2 = new ImU8String(4, 3); + imU8String2.AppendFormatted(value); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1648031977)); + imU8String2.AppendFormatted(item); + imU8String2.AppendLiteral(global::_003CModule_003E._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(503298330)); + imU8String2.AppendFormatted(item2); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref vector2, imU8String2); + break; + } + case 2: + { + ImRaii.ColorDisposable colorDisposable = _202B_206D_202D_206B_206B_202C_206A_206D_202E_206E_200C_202C_202B_206E_200F_202B_200E_206D_206F_206F_202C_200C_206C_202B_206C_206F_200E_202D_202E_202D_206A_206C_206E_200F_200B_200B_202D_206D_202D_200D_202E(ImGuiCol.Text, UiThemeUtils.StatusActive, true); + try + { + ImRaii.FontDisposable fontDisposable = _206A_206A_202A_202C_206D_206E_206B_202D_200E_200E_200C_206C_200C_202B_202C_202B_202E_202E_202A_206F_206B_206A_202A_200D_200D_202C_206E_200B_206A_202E_202B_206C_206E_200E_202C_206A_200E_202C_200C_206D_202E(_206E_200C_202B_206A_206A_202B_202D_206B_200D_200C_200F_200C_206F_200F_200F_200E_202C_206B_200F_206B_200F_206F_200C_202E_206C_200C_200F_206C_202E_202A_200E_200D_200D_202A_200C_200C_206F_206D_206A_206F_202E(), true); + try + { + _202D_206B_206F_202E_202E_200D_202E_206E_200B_200E_206F_200C_206F_202D_206E_206D_206A_202D_206E_206B_206D_202B_202E_200B_206B_202A_202A_200F_200B_202B_202A_200B_206D_206A_206B_206C_200E_200D_200E_206F_202E((ImU8String)_200F_202D_202E_206D_200F_206E_202C_206F_206E_202E_206A_206E_202D_206F_202B_206C_206C_202E_200F_206A_206F_202B_206D_202D_206F_200C_202E_200E_200F_206B_202A_200D_202A_202C_206D_200F_200B_202A_206B_206B_202E(FontAwesomeIcon.ExclamationTriangle)); + } + finally + { + num = ((fontDisposable == null) ? 1728465027 : 1728465026); + while (true) + { + int num5 = num; + num3 = 1728465027; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + num = 1728465026; + break; + case 0: + goto end_IL_01c5; + case 1: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)fontDisposable); + num = 1728465027; + break; + } + continue; + end_IL_01c5: + break; + } + } + _202D_200E_206A_202B_206F_200C_206A_206C_200E_202C_202A_206D_202D_200E_200C_202B_202D_202B_206B_206D_200F_206E_202B_200E_200E_206D_206D_206B_202E_206A_202D_202E_200E_202E_200B_206C_200C_206B_200E_200E_202E(0f, 4f); + ImU8String imU8String = new ImU8String(24, 3); + imU8String.AppendFormatted(value); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1648031977)); + imU8String.AppendFormatted(item); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1392036559)); + imU8String.AppendFormatted(item2); + imU8String.AppendLiteral(global::_003CModule_003E._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(-651901975)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String); + } + finally + { + num = ((colorDisposable == null) ? 108065444 : 108065445); + while (true) + { + int num8 = num; + num3 = 108065444; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = 108065445; + break; + case 1: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)colorDisposable); + num = 108065444; + break; + case 0: + goto end_IL_02a3; + } + continue; + end_IL_02a3: + break; + } + } + break; + } + IL_00c8: + value = (string)obj; + num = ((!item5) ? (-129004575) : (-129004569)); + continue; + } + break; + } + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawSocietySection(EAlliedSociety alliedSociety, List quests) + { + int num = quests.Count(delegate(QuestInfo q) + { + Quest quest; + int num9 = ((!_questRegistry.TryGetQuest(q.QuestId, out quest)) ? 1263260945 : 1263260944); + while (true) + { + int num10 = num9; + int num11 = 1263260945; + int num12 = num10; + int num13 = num12 + num11; + int num14 = num12 & num11; + switch (num13 - (num14 + num14)) + { + case 2: + goto IL_0055; + case 0: + return false; + case 1: + return !_206F_200E_200C_206B_206F_206B_202E_200E_200B_200C_200C_202E_206B_206B_200B_202E_200F_200E_200E_200E_206E_202D_206C_206B_202A_202C_200C_200B_202D_200B_206E_206B_200E_206D_206D_206C_200D_202E_200F_206F_202E(quest.Root); + } + continue; + IL_0055: + num9 = 1263260944; + } + }); + int num2 = ((num > 0) ? 963882484 : 963882487); + while (true) + { + int num3 = num2; + int num4 = 963882486; + int num5 = num3; + string text; + string rightText; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2; + string text2; + string label; + bool open; + switch ((num5 | num4) - (num5 & num4)) + { + case 4: + return; + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 1); + defaultInterpolatedStringHandler.AppendFormatted(num); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1529874773)); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + goto IL_0091; + } + case 1: + text = global::_003CModule_003E._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(-205885399); + goto IL_0091; + case 0: + num2 = 963882487; + break; + case 3: + { + ImRaii.IndentDisposable indentDisposable = _202D_202D_206A_206D_206B_206B_206A_200B_202C_206C_202B_200D_200D_200B_206A_206B_200B_200F_206E_206F_200D_202C_206C_202A_206C_206E_200E_206D_206F_206A_202C_200D_202E_206A_206B_202A_200F_206C_206B_200E_202E(1, true); + try + { + DrawReputationStatus(alliedSociety); + DrawAddToPriorityButtons(alliedSociety, quests); + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + DrawQuestList(alliedSociety, quests); + return; + } + finally + { + num2 = ((indentDisposable == null) ? (-827768642) : (-827768643)); + while (true) + { + int num6 = num2; + num4 = -827768644; + num5 = num6; + int num7 = num5 + num4; + int num8 = num5 & num4; + switch (num7 - (num8 + num8)) + { + case 0: + num2 = -827768643; + break; + case 1: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)indentDisposable); + num2 = -827768642; + break; + case 2: + goto end_IL_0183; + } + continue; + end_IL_0183: + break; + } + } + } + IL_0091: + rightText = text; + defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(13, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1880679379)); + defaultInterpolatedStringHandler2.AppendFormatted((int)alliedSociety); + text2 = defaultInterpolatedStringHandler2.ToStringAndClear(); + label = alliedSociety.ToString(); + open = _societyHeaderStates.GetValueOrDefault(text2, defaultValue: false); + UiThemeUtils.ThemedAccordion(text2, label, rightText, ref open); + _societyHeaderStates[text2] = open; + num2 = (open ? 963882485 : 963882482); + break; + } + } } private void DrawQuestList(EAlliedSociety alliedSociety, List quests) { - if ((int)alliedSociety <= 4) + int num = (((int)alliedSociety <= 4) ? (-562687489) : (-562687491)); + int num6 = default(int); + while (true) { - byte rank = 1; - while (rank <= 4) + int num2 = num; + int num3 = -562687493; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - List list = quests.Where((QuestInfo x) => x.AlliedSocietyRank == rank).ToList(); - if (list.Count != 0) + case 1: + num6 = 9; + num = -562687496; + break; + case 5: + num = -562687494; + break; + case 6: + num = ((alliedSociety == EAlliedSociety.Ixal) ? (-562687495) : (-562687490)); + break; + case 4: + num6 = 4; + num = -562687496; + break; + case 2: + num6 = 8; + num = -562687496; + break; + case 0: + num = -562687491; + break; + case 3: + { + int num5 = num6; + int num7 = 0; + byte rank = 1; + while (rank <= num5) { - ImGui.Text(RankNames[rank]); - foreach (QuestInfo item in list) + List list = quests.Where((QuestInfo x) => x.AlliedSocietyRank == rank).ToList(); + if (list.Count != 0) { - DrawQuest(item); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)RankNames[rank]); + using List.Enumerator enumerator = list.GetEnumerator(); + num = -192678582; + while (true) + { + int num8 = num; + num3 = -192678581; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 3: + num = -192678582; + break; + case 2: + { + QuestInfo current = enumerator.Current; + int num11 = num7; + num3 = 1; + num4 = num11; + int num12 = num4 ^ num3; + int num13 = num4 & num3; + num7 = num12 + (num13 + num13); + UiThemeUtils.DrawAltRowBackground(num11); + DrawQuest(current); + num = -192678582; + break; + } + case 1: + num = (enumerator.MoveNext() ? (-192678583) : (-192678581)); + break; + case 0: + goto end_IL_0128; + } + continue; + end_IL_0128: + break; + } } + byte num14 = rank; + num3 = 1; + num4 = num14; + int num15 = num4 ^ num3; + int num16 = num4 & num3; + byte b = (byte)(num15 + (num16 + num16)); + rank = b; } - 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; - } - } - else - { - if ((int)alliedSociety < 6) - { return; } - byte rank3 = 1; - while (rank3 <= 9) - { - List list3 = quests.Where((QuestInfo x) => x.AlliedSocietyRank == rank3).ToList(); - if (list3.Count != 0) - { - ImGui.Text(RankNames[rank3]); - foreach (QuestInfo item3 in list3) - { - DrawQuest(item3); - } - } - byte b = (byte)(rank3 + 1); - rank3 = b; } } } @@ -237,396 +665,1360 @@ internal sealed class AlliedSocietyJournalComponent private void DrawAddToPriorityButtons(EAlliedSociety alliedSociety, List quests) { bool flag = (int)alliedSociety <= 5; - int dailyLimit = (flag ? 12 : 3); - int remainingAllowances = GetRemainingAllowances(); - Quest quest; - List list = (from q in quests - where _questRegistry.TryGetQuest(q.QuestId, out quest) && !quest.Root.Disabled - where !_questController.ManualPriorityQuests.Any((Quest pq) => pq.Id.Equals(q.QuestId)) - orderby q.AlliedSocietyRank descending - select q).ToList(); - if (list.Count == 0) + int num = (flag ? (-1988656495) : (-1988656490)); + List list = default(List); + int dailyLimit = default(int); + int remainingAllowances = default(int); + while (true) { - DrawDisabledAddButton(); - } - else if (flag) - { - DrawArrSocietyButtons(alliedSociety, list, dailyLimit, remainingAllowances); - } - else - { - DrawStandardAddButton(alliedSociety, list, remainingAllowances); + int num2 = num; + int num3 = -1988656493; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + DrawArrSocietyButtons(alliedSociety, list, dailyLimit, remainingAllowances); + return; + case 3: + num = ((!flag) ? (-1988656491) : (-1988656494)); + break; + case 0: + num = -1988656490; + break; + case 5: + num5 = 3; + goto IL_00b1; + case 4: + DrawDisabledAddButton(); + return; + case 2: + num5 = 12; + goto IL_00b1; + case 6: + { + DrawStandardAddButton(alliedSociety, list, remainingAllowances); + return; + } + IL_00b1: + dailyLimit = num5; + remainingAllowances = GetRemainingAllowances(); + list = (from q in quests.Where(delegate(QuestInfo q) + { + Quest quest; + int num6 = ((!_questRegistry.TryGetQuest(q.QuestId, out quest)) ? (-50999461) : (-50999462)); + while (true) + { + int num7 = num6; + int num8 = -50999461; + int num9 = num7; + int num10 = num9 + num8; + int num11 = num9 & num8; + switch (num10 - (num11 + num11)) + { + case 0: + return false; + case 1: + return !_206F_200E_200C_206B_206F_206B_202E_200E_200B_200C_200C_202E_206B_206B_200B_202E_200F_200E_200E_200E_206E_202D_206C_206B_202A_202C_200C_200B_202D_200B_206E_206B_200E_206D_206D_206C_200D_202E_200F_206F_202E(quest.Root); + case 2: + goto IL_0066; + } + continue; + IL_0066: + num6 = -50999462; + } + }) + where !_questController.ManualPriorityQuests.Any((Quest pq) => _003C_003Ec__DisplayClass21_0._206F_202C_200D_206C_202D_206C_200D_206F_202C_206F_206C_202B_200C_200E_200B_202B_206E_200F_206C_200D_206C_202A_202C_206A_202C_202E_200B_202C_202A_202C_206E_200E_200B_206E_202A_206C_206A_206D_202D_200F_202E(pq.Id, q.QuestId)) + orderby q.AlliedSocietyRank descending + select q).ToList(); + num = ((list.Count != 0) ? (-1988656496) : (-1988656489)); + break; + } } } private unsafe int GetRemainingAllowances() { QuestManager* ptr = QuestManager.Instance(); - if (ptr == null) + int num = ((ptr != null) ? (-981576494) : (-981576495)); + while (true) { - return 12; + int num2 = num; + int num3 = -981576496; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0049; + case 1: + return 12; + case 2: + return (int)ptr->GetBeastTribeAllowance(); + } + continue; + IL_0049: + num = -981576495; } - return (int)ptr->GetBeastTribeAllowance(); } + private static float IconTextButtonWidth(FontAwesomeIcon icon, string text) + { + ImRaii.FontDisposable fontDisposable = _206A_206A_202A_202C_206D_206E_206B_202D_200E_200E_200C_206C_200C_202B_202C_202B_202E_202E_202A_206F_206B_206A_202A_200D_200D_202C_206E_200B_206A_202E_202B_206C_206E_200E_202C_206A_200E_202C_200C_206D_202E(_206E_200C_202B_206A_206A_202B_202D_206B_200D_200C_200F_200C_206F_200F_200F_200E_202C_206B_200F_206B_200F_206F_200C_202E_206C_200C_200F_206C_202E_202A_200E_200D_200D_202A_200C_200C_206F_206D_206A_206F_202E(), true); + Vector2 vector; + try + { + vector = _200E_202C_200B_206B_206F_206B_202B_202D_202A_200D_202D_206A_202A_200E_206D_202C_206B_206E_202A_200F_206B_206F_202C_206C_200F_200F_206B_200B_206B_202A_200C_202B_200F_200B_206A_206F_200F_206B_202B_202D_202E((ImU8String)_200F_202D_202E_206D_200F_206E_202C_206F_206E_202E_206A_206E_202D_206F_202B_206C_206C_202E_200F_206A_206F_202B_206D_202D_206F_200C_202E_200E_200F_206B_202A_200D_202A_202C_206D_200F_200B_202A_206B_206B_202E(icon), false, -1f); + } + finally + { + int num = ((fontDisposable == null) ? 920978695 : 920978694); + while (true) + { + int num2 = num; + int num3 = 920978695; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 920978694; + break; + case 0: + goto end_IL_0044; + case 1: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)fontDisposable); + num = 920978695; + break; + } + continue; + end_IL_0044: + break; + } + } + return _206C_200B_206E_206D_200F_200C_200B_202D_206B_206D_206B_202A_206A_206C_200E_202B_202B_200D_206C_206A_206F_202D_206F_206A_206C_206B_206A_200C_200C_206E_206F_202D_202D_206F_206F_206E_206B_200B_200F_206E_202E().FramePadding.X * 3f * 2f + vector.X + 6f + _200E_202C_200B_206B_206F_206B_202B_202D_202A_200D_202D_206A_202A_200E_206D_202C_206B_206E_202A_200F_206B_206F_202C_206C_200F_200F_206B_200B_206B_202A_200C_202B_200F_200B_206A_206F_200F_206B_202B_202D_202E((ImU8String)text, false, -1f).X; + } + + [MethodImpl(MethodImplOptions.NoInlining)] private static void DrawDisabledAddButton() { - using (ImRaii.Disabled(disabled: true)) + ImRaii.DisabledDisposable disabledDisposable = _200B_202B_202C_202E_200E_206C_202C_200C_200F_206D_200F_206B_206E_200C_202E_202A_202C_206F_202E_202B_206A_200C_202A_206D_206F_202C_200D_200B_206E_206D_202E_206D_200C_200C_200C_200B_206E_206C_200E_202E(true); + int num; + try { - ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Plus, "Add to Priority"); + UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, global::_003CModule_003E._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(979306502), IconTextButtonWidth(FontAwesomeIcon.Plus, global::_003CModule_003E._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(-2145387776))); } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + finally { - ImGui.SetTooltip("No quests available to add (may be disabled, already in priority, or not available)"); + num = ((disabledDisposable == null) ? (-500733352) : (-500733351)); + while (true) + { + int num2 = num; + int num3 = -500733352; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -500733351; + break; + case 1: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)disabledDisposable); + num = -500733352; + break; + case 0: + goto end_IL_0051; + } + continue; + end_IL_0051: + break; + } + } + num = ((!_200C_202E_202D_206A_200C_202A_200C_200C_206D_200B_206B_202A_206B_202C_202C_200B_206B_206F_200C_202B_206A_202C_206B_206E_206A_202D_200D_202D_202A_206C_202A_206E_206A_200B_200E_206A_200E_200B_206A_200E_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? 1860909156 : 1860909159); + while (true) + { + int num5 = num; + int num3 = 1860909157; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 1: + return; + case 2: + _202C_206A_206E_202D_200C_200E_202A_200F_202E_206C_200F_200C_202E_206C_200E_206A_206A_206A_202D_206D_206E_202C_200C_206A_200B_206A_202E_200C_206E_206F_202C_206E_206E_206E_200B_206C_200E_206B_200E_200E_202E((ImU8String)global::_003CModule_003E._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(859090157)); + num = 1860909156; + break; + case 0: + num = 1860909159; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawArrSocietyButtons(EAlliedSociety alliedSociety, List availableQuests, int dailyLimit, int remainingAllowances) { - int num = Math.Min(Math.Min(dailyLimit, remainingAllowances), availableQuests.Count); - using (ImRaii.Disabled(remainingAllowances == 0)) + int num = _206F_202A_206D_202C_206D_200D_202A_200F_206C_202B_206C_206A_200E_202B_200C_206B_200C_200C_202E_202D_206E_200D_200F_202A_200B_202D_206E_202A_202E_202B_200E_202D_202E_202E_202A_202C_206C_200E_206E_200F_202E(_206F_202A_206D_202C_206D_200D_202A_200F_206C_202B_206C_206A_200E_202B_200C_206B_200C_200C_202E_202D_206E_200D_200F_202A_200B_202D_206E_202A_202E_202B_200E_202D_202E_202E_202A_202C_206C_200E_206E_200F_202E(dailyLimit, remainingAllowances), availableQuests.Count); + ImRaii.DisabledDisposable disabledDisposable = _200B_202B_202C_202E_200E_206C_202C_200C_200F_206D_200F_206B_206E_200C_202E_202A_202C_206F_202E_202B_206A_200C_202A_206D_206F_202C_200D_200B_206E_206D_202E_206D_200C_200C_200C_200B_206E_206C_200E_202E(remainingAllowances == 0); + int num5; + try { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Plus, num switch + int num2 = num; + int num3 = 1; + int num4 = num2; + string text = default(string); + switch (~(~num4 + num3)) { - 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)", - })) - { - AddQuestsToPriority(alliedSociety, availableQuests.Take(num).ToList()); + default: + num5 = 2039988543; + goto IL_004d; + case 2: + text = global::_003CModule_003E._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(-587700351); + num5 = 2039988542; + goto IL_004d; + case 0: + goto IL_013b; + case 1: + goto IL_01d2; + IL_004d: + while (true) + { + int num6 = num5; + num3 = 2039988537; + num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 8: + goto end_IL_004d; + case 9: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(24, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1218084889)); + defaultInterpolatedStringHandler2.AppendFormatted(num); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1921480924)); + text = defaultInterpolatedStringHandler2.ToStringAndClear(); + num5 = 2039988542; + break; + } + case 2: + AddQuestsToPriority(alliedSociety, availableQuests.Take(num).ToList()); + num5 = 2039988536; + break; + case 5: + goto IL_011b; + case 3: + goto IL_013b; + case 7: + goto IL_0153; + case 10: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(14, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1727957168)); + defaultInterpolatedStringHandler.AppendFormatted(num); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(505623713)); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + num5 = 2039988542; + break; + } + case 4: + goto IL_01d2; + case 6: + num5 = 2039988540; + break; + case 0: + num5 = 2039988543; + break; + case 1: + goto end_IL_0030; + } + continue; + IL_0153: + string text2 = text; + num5 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, text2, IconTextButtonWidth(FontAwesomeIcon.Plus, text2))) ? 2039988536 : 2039988539); + continue; + IL_011b: + num5 = ((num != remainingAllowances) ? 2039988531 : 2039988528); + continue; + end_IL_004d: + break; + } + goto case 2; + IL_01d2: + text = global::_003CModule_003E._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(-608472171); + num5 = 2039988542; + goto IL_004d; + IL_013b: + text = global::_003CModule_003E._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(-1176371460); + num5 = 2039988542; + goto IL_004d; + end_IL_0030: + break; } } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + finally { - DrawRecommendedButtonTooltip(num, remainingAllowances, dailyLimit, alliedSociety, availableQuests.Count); + num5 = ((disabledDisposable == null) ? (-1217205887) : (-1217205886)); + while (true) + { + int num9 = num5; + int num3 = -1217205888; + int num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 0: + num5 = -1217205886; + break; + case 1: + goto end_IL_0225; + case 2: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)disabledDisposable); + num5 = -1217205887; + break; + } + continue; + end_IL_0225: + break; + } } - ImGui.SameLine(); - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.ListOl, $"Add All {availableQuests.Count} Available")) + num5 = ((!_200C_202E_202D_206A_200C_202A_200C_200C_206D_200B_206B_202A_206B_202C_202C_200B_206B_206F_200C_202B_206A_202C_206B_206E_206A_202D_200D_202D_202A_206C_202A_206E_206A_200B_200E_206A_200E_200B_206A_200E_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-217773596) : (-217773600)); + while (true) { - AddQuestsToPriority(alliedSociety, availableQuests); - } - if (ImGui.IsItemHovered()) - { - DrawAddAllButtonTooltip(availableQuests.Count, remainingAllowances, dailyLimit, alliedSociety); + int num12 = num5; + int num3 = -217773598; + int num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 0: + AddQuestsToPriority(alliedSociety, availableQuests); + num5 = -217773593; + break; + case 4: + return; + case 1: + DrawAddAllButtonTooltip(availableQuests.Count, remainingAllowances, dailyLimit, alliedSociety); + num5 = -217773594; + break; + case 6: + { + _202C_206A_200C_200B_206C_206C_200B_200F_206E_206D_206C_206F_206C_202B_202D_206A_200E_206D_206E_202D_202A_206B_202D_206E_206F_202E_200F_202D_206F_206F_206F_206A_200E_206B_206A_202D_200E_202E_206A_202E_202E(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(18, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-563068051)); + defaultInterpolatedStringHandler3.AppendFormatted(availableQuests.Count); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(1982881491)); + string text3 = defaultInterpolatedStringHandler3.ToStringAndClear(); + num5 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.ListOl, text3, IconTextButtonWidth(FontAwesomeIcon.ListOl, text3))) ? (-217773593) : (-217773598)); + break; + } + case 2: + DrawRecommendedButtonTooltip(num, remainingAllowances, dailyLimit, alliedSociety, availableQuests.Count); + num5 = -217773596; + break; + case 3: + num5 = -217773600; + break; + case 5: + num5 = ((!_206A_200F_202B_202B_200E_200C_206B_200D_206D_206E_202E_202C_206A_200D_206A_200E_200E_206C_202B_206F_206F_206F_202C_206B_206F_202D_206F_202B_200D_200E_202D_206D_206E_200C_202D_202D_200D_202E_202D_206A_202E()) ? (-217773594) : (-217773597)); + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private static void DrawRecommendedButtonTooltip(int questsToAddCount, int remainingAllowances, int dailyLimit, EAlliedSociety alliedSociety, int availableCount) { - ImGui.BeginTooltip(); + _200C_200E_200B_200C_202A_200B_202E_200F_202A_206D_202A_202C_200C_200B_206C_206F_206B_202C_206B_206C_200E_206E_200E_206A_200B_202E_202A_206D_206E_202A_200B_200E_202D_200D_202E_200B_202B_206C_202C_206B_202E(); if (remainingAllowances == 0) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) + ImRaii.ColorDisposable colorDisposable = _202B_206D_202D_206B_206B_202C_206A_206D_202E_206E_200C_202C_202B_206E_200F_202B_200E_206D_206F_206F_202C_200C_206C_202B_206C_206F_200E_202D_202E_202D_206A_206C_206E_200F_200B_200B_202D_206D_202D_200D_202E(ImGuiCol.Text, UiThemeUtils.StatusLocked, true); + try { - ImU8String text = new ImU8String(0, 1); - text.AppendFormatted(SeIconChar.Cross.ToIconString()); - ImGui.Text(text); - ImGui.SameLine(); - ImGui.TextUnformatted("No daily allowances remaining"); + ImU8String imU8String = new ImU8String(0, 1); + imU8String.AppendFormatted(_202B_206F_200E_206C_202A_202B_200D_200C_200B_202D_206B_200F_202B_206B_206E_200B_202B_206E_206D_206D_202D_206A_200C_200F_200C_200B_202A_206E_202B_202A_200C_206D_202C_202A_200E_206A_202B_206B_200E_202D_202E(SeIconChar.Cross)); + _202D_206B_206F_202E_202E_200D_202E_206E_200B_200E_206F_200C_206F_202D_206E_206D_206A_202D_206E_206B_206D_202B_202E_200B_206B_202A_202A_200F_200B_202B_202A_200B_206D_206A_206B_206C_200E_200D_200E_206F_202E(imU8String); + _202C_206A_200C_200B_206C_206C_200B_200F_206E_206D_206C_206F_206C_202B_202D_206A_200E_206D_206E_202D_202A_206B_202D_206E_206F_202E_200F_202D_206F_206F_206F_206A_200E_206B_206A_202D_200E_202E_206A_202E_202E(); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E((ImU8String)global::_003CModule_003E._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(1336883143)); } - 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); + finally + { + int num = ((colorDisposable == null) ? (-348792307) : (-348792306)); + while (true) + { + int num2 = num; + int num3 = -348792305; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -348792306; + break; + case 2: + goto end_IL_0073; + case 1: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)colorDisposable); + num = -348792307; + break; + } + continue; + end_IL_0073: + break; + } + } + ImU8String imU8String2 = new ImU8String(44, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1943636564)); + imU8String2.AppendFormatted(12); + imU8String2.AppendLiteral(global::_003CModule_003E._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(12893769)); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, imU8String2); } else if (questsToAddCount == remainingAllowances && questsToAddCount < availableCount) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + ImRaii.ColorDisposable colorDisposable = _202B_206D_202D_206B_206B_202C_206A_206D_202E_206E_200C_202C_202B_206E_200F_202B_200E_206D_206F_206F_202C_200C_206C_202B_206C_206F_200E_202D_202E_202D_206A_206C_206E_200F_200B_200B_202D_206D_202D_200D_202E(ImGuiCol.Text, UiThemeUtils.StatusComplete, true); + try { - ImU8String text3 = new ImU8String(0, 1); - text3.AppendFormatted(SeIconChar.QuestSync.ToIconString()); - ImGui.Text(text3); - ImGui.SameLine(); - ImU8String text4 = new ImU8String(5, 2); - text4.AppendLiteral("Add "); - text4.AppendFormatted(questsToAddCount); - text4.AppendLiteral(" "); - text4.AppendFormatted((questsToAddCount == 1) ? "quest" : "quests"); - ImGui.TextUnformatted(text4); + ImU8String imU8String3 = new ImU8String(0, 1); + imU8String3.AppendFormatted(_202B_206F_200E_206C_202A_202B_200D_200C_200B_202D_206B_200F_202B_206B_206E_200B_202B_206E_206D_206D_202D_206A_200C_200F_200C_200B_202A_206E_202B_202A_200C_206D_202C_202A_200E_206A_202B_206B_200E_202D_202E(SeIconChar.QuestSync)); + _202D_206B_206F_202E_202E_200D_202E_206E_200B_200E_206F_200C_206F_202D_206E_206D_206A_202D_206E_206B_206D_202B_202E_200B_206B_202A_202A_200F_200B_202B_202A_200B_206D_206A_206B_206C_200E_200D_200E_206F_202E(imU8String3); + _202C_206A_200C_200B_206C_206C_200B_200F_206E_206D_206C_206F_206C_202B_202D_206A_200E_206D_206E_202D_202A_206B_202D_206E_206F_202E_200F_202D_206F_206F_206F_206A_200E_206B_206A_202D_200E_202E_206A_202E_202E(); + ImU8String imU8String4 = new ImU8String(5, 2); + imU8String4.AppendLiteral(global::_003CModule_003E._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(-1493671905)); + imU8String4.AppendFormatted(questsToAddCount); + imU8String4.AppendLiteral(global::_003CModule_003E._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(-1051702537)); + imU8String4.AppendFormatted((questsToAddCount == 1) ? global::_003CModule_003E._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(-607980198) : global::_003CModule_003E._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(1391970161)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String4); } - 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.Spacing(); - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Prioritises highest rank quests first"); + finally + { + int num = ((colorDisposable == null) ? (-1931404698) : (-1931404699)); + while (true) + { + int num7 = num; + int num3 = -1931404697; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 1: + goto end_IL_01c9; + case 2: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)colorDisposable); + num = -1931404698; + break; + case 0: + num = -1931404699; + break; + } + continue; + end_IL_01c9: + break; + } + } + ImU8String imU8String5 = new ImU8String(44, 2); + imU8String5.AppendLiteral(global::_003CModule_003E._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(-1690517102)); + imU8String5.AppendFormatted(remainingAllowances); + imU8String5.AppendLiteral(global::_003CModule_003E._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(-1511293645)); + imU8String5.AppendFormatted((remainingAllowances == 1) ? global::_003CModule_003E._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(308044519) : global::_003CModule_003E._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(1303968590)); + imU8String5.AppendLiteral(global::_003CModule_003E._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(893587226)); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, imU8String5); + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(-2050965222)); } else if (questsToAddCount == dailyLimit) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + ImRaii.ColorDisposable colorDisposable = _202B_206D_202D_206B_206B_202C_206A_206D_202E_206E_200C_202C_202B_206E_200F_202B_200E_206D_206F_206F_202C_200C_206C_202B_206C_206F_200E_202D_202E_202D_206A_206C_206E_200F_200B_200B_202D_206D_202D_200D_202E(ImGuiCol.Text, UiThemeUtils.StatusComplete, true); + try { - ImU8String text6 = new ImU8String(0, 1); - text6.AppendFormatted(SeIconChar.QuestSync.ToIconString()); - ImGui.Text(text6); - ImGui.SameLine(); - ImU8String text7 = new ImU8String(11, 1); - text7.AppendLiteral("Add "); - text7.AppendFormatted(dailyLimit); - text7.AppendLiteral(" quests"); - ImGui.TextUnformatted(text7); + ImU8String imU8String6 = new ImU8String(0, 1); + imU8String6.AppendFormatted(_202B_206F_200E_206C_202A_202B_200D_200C_200B_202D_206B_200F_202B_206B_206E_200B_202B_206E_206D_206D_202D_206A_200C_200F_200C_200B_202A_206E_202B_202A_200C_206D_202C_202A_200E_206A_202B_206B_200E_202D_202E(SeIconChar.QuestSync)); + _202D_206B_206F_202E_202E_200D_202E_206E_200B_200E_206F_200C_206F_202D_206E_206D_206A_202D_206E_206B_206D_202B_202E_200B_206B_202A_202A_200F_200B_202B_202A_200B_206D_206A_206B_206C_200E_200D_200E_206F_202E(imU8String6); + _202C_206A_200C_200B_206C_206C_200B_200F_206E_206D_206C_206F_206C_202B_202D_206A_200E_206D_206E_202D_202A_206B_202D_206E_206F_202E_200F_202D_206F_206F_206F_206A_200E_206B_206A_202D_200E_202E_206A_202E_202E(); + ImU8String imU8String7 = new ImU8String(11, 1); + imU8String7.AppendLiteral(global::_003CModule_003E._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(797689590)); + imU8String7.AppendFormatted(dailyLimit); + imU8String7.AppendLiteral(global::_003CModule_003E._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(151691242)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String7); } - 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.Spacing(); - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Prioritises highest rank quests first"); + finally + { + int num = ((colorDisposable == null) ? 1466168460 : 1466168463); + while (true) + { + int num10 = num; + int num3 = 1466168461; + int num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1466168463; + break; + case 1: + goto end_IL_0349; + case 2: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)colorDisposable); + num = 1466168460; + break; + } + continue; + end_IL_0349: + break; + } + } + ImU8String imU8String8 = new ImU8String(51, 2); + imU8String8.AppendLiteral(global::_003CModule_003E._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(526137809)); + imU8String8.AppendFormatted(dailyLimit); + imU8String8.AppendLiteral(global::_003CModule_003E._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(-48506798)); + imU8String8.AppendFormatted(remainingAllowances); + imU8String8.AppendLiteral(global::_003CModule_003E._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(-1668324224)); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, imU8String8); + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(-1710717342)); } else if (questsToAddCount == availableCount) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + ImRaii.ColorDisposable colorDisposable = _202B_206D_202D_206B_206B_202C_206A_206D_202E_206E_200C_202C_202B_206E_200F_202B_200E_206D_206F_206F_202C_200C_206C_202B_206C_206F_200E_202D_202E_202D_206A_206C_206E_200F_200B_200B_202D_206D_202D_200D_202E(ImGuiCol.Text, UiThemeUtils.StatusComplete, true); + try { - ImU8String text9 = new ImU8String(0, 1); - text9.AppendFormatted(SeIconChar.QuestSync.ToIconString()); - ImGui.Text(text9); - ImGui.SameLine(); - ImU8String text10 = new ImU8String(20, 3); - text10.AppendLiteral("Add all "); - text10.AppendFormatted(questsToAddCount); - text10.AppendLiteral(" available "); - text10.AppendFormatted(alliedSociety); - text10.AppendLiteral(" "); - text10.AppendFormatted((questsToAddCount == 1) ? "quest" : "quests"); - ImGui.TextUnformatted(text10); + ImU8String imU8String9 = new ImU8String(0, 1); + imU8String9.AppendFormatted(_202B_206F_200E_206C_202A_202B_200D_200C_200B_202D_206B_200F_202B_206B_206E_200B_202B_206E_206D_206D_202D_206A_200C_200F_200C_200B_202A_206E_202B_202A_200C_206D_202C_202A_200E_206A_202B_206B_200E_202D_202E(SeIconChar.QuestSync)); + _202D_206B_206F_202E_202E_200D_202E_206E_200B_200E_206F_200C_206F_202D_206E_206D_206A_202D_206E_206B_206D_202B_202E_200B_206B_202A_202A_200F_200B_202B_202A_200B_206D_206A_206B_206C_200E_200D_200E_206F_202E(imU8String9); + _202C_206A_200C_200B_206C_206C_200B_200F_206E_206D_206C_206F_206C_202B_202D_206A_200E_206D_206E_202D_202A_206B_202D_206E_206F_202E_200F_202D_206F_206F_206F_206A_200E_206B_206A_202D_200E_202E_206A_202E_202E(); + ImU8String imU8String10 = new ImU8String(20, 3); + imU8String10.AppendLiteral(global::_003CModule_003E._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(1748878796)); + imU8String10.AppendFormatted(questsToAddCount); + imU8String10.AppendLiteral(global::_003CModule_003E._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(1734073964)); + imU8String10.AppendFormatted(alliedSociety); + imU8String10.AppendLiteral(global::_003CModule_003E._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(-818915859)); + imU8String10.AppendFormatted((questsToAddCount == 1) ? global::_003CModule_003E._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(576325633) : global::_003CModule_003E._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(233880951)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String10); } - 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.Spacing(); - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Prioritises highest rank quests first"); + finally + { + int num = ((colorDisposable == null) ? (-1997523121) : (-1997523124)); + while (true) + { + int num11 = num; + int num3 = -1997523122; + int num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1997523124; + break; + case 1: + goto end_IL_04e9; + case 2: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)colorDisposable); + num = -1997523121; + break; + } + continue; + end_IL_04e9: + break; + } + } + ImU8String imU8String11 = new ImU8String(37, 2); + imU8String11.AppendLiteral(global::_003CModule_003E._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(-1620683229)); + imU8String11.AppendFormatted(questsToAddCount); + imU8String11.AppendLiteral(global::_003CModule_003E._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(891743000)); + imU8String11.AppendFormatted(remainingAllowances); + imU8String11.AppendLiteral(global::_003CModule_003E._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(-2074684074)); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, imU8String11); + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(-1710717342)); } else { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudYellow)) + ImRaii.ColorDisposable colorDisposable = _202B_206D_202D_206B_206B_202C_206A_206D_202E_206E_200C_202C_202B_206E_200F_202B_200E_206D_206F_206F_202C_200C_206C_202B_206C_206F_200E_202D_202E_202D_206A_206C_206E_200F_200B_200B_202D_206D_202D_200D_202E(ImGuiCol.Text, UiThemeUtils.StatusActive, true); + try { - ImU8String text12 = new ImU8String(0, 1); - text12.AppendFormatted(SeIconChar.BoxedLetterQ.ToIconString()); - ImGui.Text(text12); - ImGui.SameLine(); - ImU8String text13 = new ImU8String(6, 3); - text13.AppendLiteral("Add "); - text13.AppendFormatted(questsToAddCount); - text13.AppendLiteral(" "); - text13.AppendFormatted(alliedSociety); - text13.AppendLiteral(" "); - text13.AppendFormatted((questsToAddCount == 1) ? "quest" : "quests"); - ImGui.TextUnformatted(text13); + ImU8String imU8String12 = new ImU8String(0, 1); + imU8String12.AppendFormatted(_202B_206F_200E_206C_202A_202B_200D_200C_200B_202D_206B_200F_202B_206B_206E_200B_202B_206E_206D_206D_202D_206A_200C_200F_200C_200B_202A_206E_202B_202A_200C_206D_202C_202A_200E_206A_202B_206B_200E_202D_202E(SeIconChar.BoxedLetterQ)); + _202D_206B_206F_202E_202E_200D_202E_206E_200B_200E_206F_200C_206F_202D_206E_206D_206A_202D_206E_206B_206D_202B_202E_200B_206B_202A_202A_200F_200B_202B_202A_200B_206D_206A_206B_206C_200E_200D_200E_206F_202E(imU8String12); + _202C_206A_200C_200B_206C_206C_200B_200F_206E_206D_206C_206F_206C_202B_202D_206A_200E_206D_206E_202D_202A_206B_202D_206E_206F_202E_200F_202D_206F_206F_206F_206A_200E_206B_206A_202D_200E_202E_206A_202E_202E(); + ImU8String imU8String13 = new ImU8String(6, 3); + imU8String13.AppendLiteral(global::_003CModule_003E._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(797689590)); + imU8String13.AppendFormatted(questsToAddCount); + imU8String13.AppendLiteral(global::_003CModule_003E._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(2018550958)); + imU8String13.AppendFormatted(alliedSociety); + imU8String13.AppendLiteral(global::_003CModule_003E._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(2018550958)); + imU8String13.AppendFormatted((questsToAddCount == 1) ? global::_003CModule_003E._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(-607980198) : global::_003CModule_003E._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(-14946342)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String13); } - 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.Spacing(); - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Prioritises highest rank quests first"); + finally + { + int num = ((colorDisposable == null) ? (-1147129248) : (-1147129245)); + while (true) + { + int num12 = num; + int num3 = -1147129246; + int num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 0: + num = -1147129245; + break; + case 1: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)colorDisposable); + num = -1147129248; + break; + case 2: + goto end_IL_0680; + } + continue; + end_IL_0680: + break; + } + } + ImU8String imU8String14 = new ImU8String(55, 2); + imU8String14.AppendLiteral(global::_003CModule_003E._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(1784736301)); + imU8String14.AppendFormatted(availableCount); + imU8String14.AppendLiteral(global::_003CModule_003E._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(1627889639)); + imU8String14.AppendFormatted(remainingAllowances); + imU8String14.AppendLiteral(global::_003CModule_003E._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(424561659)); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, imU8String14); + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(-1710717342)); } - ImGui.EndTooltip(); + _206D_202A_206D_206A_200F_206C_200C_200E_202E_200B_200D_206F_200C_202B_202D_206B_206C_200B_200B_202B_206A_206A_200D_206A_206A_200F_200F_200E_202E_206E_200D_202D_202D_202C_206A_202C_206D_202B_202E_200C_202E(); } + [MethodImpl(MethodImplOptions.NoInlining)] private static void DrawAddAllButtonTooltip(int availableCount, int remainingAllowances, int dailyLimit, EAlliedSociety alliedSociety) { - ImGui.BeginTooltip(); + _200C_200E_200B_200C_202A_200B_202E_200F_202A_206D_202A_202C_200C_200B_206C_206F_206B_202C_206B_206C_200E_206E_200E_206A_200B_202E_202A_206D_206E_202A_200B_200E_202D_200D_202E_200B_202B_206C_202C_206B_202E(); if (availableCount > remainingAllowances) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange)) + ImRaii.ColorDisposable colorDisposable = _202B_206D_202D_206B_206B_202C_206A_206D_202E_206E_200C_202C_202B_206E_200F_202B_200E_206D_206F_206F_202C_200C_206C_202B_206C_206F_200E_202D_202E_202D_206A_206C_206E_200F_200B_200B_202D_206D_202D_200D_202E(ImGuiCol.Text, UiThemeUtils.StatusActive, true); + try { - ImU8String text = new ImU8String(0, 1); - text.AppendFormatted(SeIconChar.Cross.ToIconString()); - ImGui.Text(text); - ImGui.SameLine(); - ImGui.TextUnformatted("Warning: Exceeds remaining allowances"); + ImU8String imU8String = new ImU8String(0, 1); + imU8String.AppendFormatted(_202B_206F_200E_206C_202A_202B_200D_200C_200B_202D_206B_200F_202B_206B_206E_200B_202B_206E_206D_206D_202D_206A_200C_200F_200C_200B_202A_206E_202B_202A_200C_206D_202C_202A_200E_206A_202B_206B_200E_202D_202E(SeIconChar.Cross)); + _202D_206B_206F_202E_202E_200D_202E_206E_200B_200E_206F_200C_206F_202D_206E_206D_206A_202D_206E_206B_206D_202B_202E_200B_206B_202A_202A_200F_200B_202B_202A_200B_206D_206A_206B_206C_200E_200D_200E_206F_202E(imU8String); + _202C_206A_200C_200B_206C_206C_200B_200F_206E_206D_206C_206F_206C_202B_202D_206A_200E_206D_206E_202D_202A_206B_202D_206E_206F_202E_200F_202D_206F_206F_206F_206A_200E_206B_206A_202D_200E_202E_206A_202E_202E(); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E((ImU8String)global::_003CModule_003E._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(288951372)); } - ImGui.Spacing(); - ImU8String text2 = new ImU8String(54, 1); - text2.AppendLiteral("This adds all "); - text2.AppendFormatted(availableCount); - text2.AppendLiteral(" available quests to your priority list,"); - ImGui.TextUnformatted(text2); - ImU8String text3 = new ImU8String(37, 2); - text3.AppendLiteral("but you only have "); - text3.AppendFormatted(remainingAllowances); - text3.AppendLiteral(" shared "); - text3.AppendFormatted((remainingAllowances == 1) ? "allowance" : "allowances"); - text3.AppendLiteral(" remaining."); - ImGui.TextUnformatted(text3); - ImGui.Spacing(); - ImGui.TextColored(ImGuiColors.DalamudGrey3, "The excess quests won't be completable until tomorrow."); + finally + { + int num = ((colorDisposable == null) ? 1632104344 : 1632104347); + while (true) + { + int num2 = num; + int num3 = 1632104346; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto end_IL_0074; + case 1: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)colorDisposable); + num = 1632104344; + break; + case 0: + num = 1632104347; + break; + } + continue; + end_IL_0074: + break; + } + } + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + ImU8String imU8String2 = new ImU8String(54, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1456800903)); + imU8String2.AppendFormatted(availableCount); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1135970980)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String2); + ImU8String imU8String3 = new ImU8String(37, 2); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-1655607110)); + imU8String3.AppendFormatted(remainingAllowances); + imU8String3.AppendLiteral(global::_003CModule_003E._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(642895778)); + imU8String3.AppendFormatted((remainingAllowances == 1) ? global::_003CModule_003E._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(-686634527) : global::_003CModule_003E._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(-1978597971)); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-219296949)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String3); + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(1828087679)); } else if (availableCount > dailyLimit) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange)) + ImRaii.ColorDisposable colorDisposable = _202B_206D_202D_206B_206B_202C_206A_206D_202E_206E_200C_202C_202B_206E_200F_202B_200E_206D_206F_206F_202C_200C_206C_202B_206C_206F_200E_202D_202E_202D_206A_206C_206E_200F_200B_200B_202D_206D_202D_200D_202E(ImGuiCol.Text, UiThemeUtils.StatusActive, true); + try { - ImU8String text4 = new ImU8String(0, 1); - text4.AppendFormatted(SeIconChar.Cross.ToIconString()); - ImGui.Text(text4); - ImGui.SameLine(); - ImGui.TextUnformatted("Warning: Exceeds daily optimal amount"); + ImU8String imU8String4 = new ImU8String(0, 1); + imU8String4.AppendFormatted(_202B_206F_200E_206C_202A_202B_200D_200C_200B_202D_206B_200F_202B_206B_206E_200B_202B_206E_206D_206D_202D_206A_200C_200F_200C_200B_202A_206E_202B_202A_200C_206D_202C_202A_200E_206A_202B_206B_200E_202D_202E(SeIconChar.Cross)); + _202D_206B_206F_202E_202E_200D_202E_206E_200B_200E_206F_200C_206F_202D_206E_206D_206A_202D_206E_206B_206D_202B_202E_200B_206B_202A_202A_200F_200B_202B_202A_200B_206D_206A_206B_206C_200E_200D_200E_206F_202E(imU8String4); + _202C_206A_200C_200B_206C_206C_200B_200F_206E_206D_206C_206F_206C_202B_202D_206A_200E_206D_206E_202D_202A_206B_202D_206E_206F_202E_200F_202D_206F_206F_206F_206A_200E_206B_206A_202D_200E_202E_206A_202E_202E(); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E((ImU8String)global::_003CModule_003E._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(662565610)); } - ImGui.Spacing(); - ImU8String text5 = new ImU8String(32, 1); - text5.AppendLiteral("This adds all "); - text5.AppendFormatted(availableCount); - text5.AppendLiteral(" available quests,"); - ImGui.TextUnformatted(text5); - ImU8String text6 = new ImU8String(48, 1); - text6.AppendLiteral("using more than the typical "); - text6.AppendFormatted(3); - 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."); + finally + { + int num = ((colorDisposable == null) ? 699836000 : 699836001); + while (true) + { + int num7 = num; + int num3 = 699836000; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + goto end_IL_0206; + case 1: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)colorDisposable); + num = 699836000; + break; + case 2: + num = 699836001; + break; + } + continue; + end_IL_0206: + break; + } + } + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + ImU8String imU8String5 = new ImU8String(32, 1); + imU8String5.AppendLiteral(global::_003CModule_003E._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(1456800903)); + imU8String5.AppendFormatted(availableCount); + imU8String5.AppendLiteral(global::_003CModule_003E._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(-2006347210)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String5); + ImU8String imU8String6 = new ImU8String(48, 1); + imU8String6.AppendLiteral(global::_003CModule_003E._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(1754274204)); + imU8String6.AppendFormatted(3); + imU8String6.AppendLiteral(global::_003CModule_003E._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(1846668807)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String6); + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + ImU8String imU8String7 = new ImU8String(37, 1); + imU8String7.AppendLiteral(global::_003CModule_003E._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(-1920261830)); + imU8String7.AppendFormatted(remainingAllowances); + imU8String7.AppendLiteral(global::_003CModule_003E._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(-2116808891)); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.StatusComplete, imU8String7); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(1784572310)); } else { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + ImRaii.ColorDisposable colorDisposable = _202B_206D_202D_206B_206B_202C_206A_206D_202E_206E_200C_202C_202B_206E_200F_202B_200E_206D_206F_206F_202C_200C_206C_202B_206C_206F_200E_202D_202E_202D_206A_206C_206E_200F_200B_200B_202D_206D_202D_200D_202E(ImGuiCol.Text, UiThemeUtils.StatusComplete, true); + try { - ImU8String text8 = new ImU8String(0, 1); - text8.AppendFormatted(SeIconChar.QuestSync.ToIconString()); - ImGui.Text(text8); - ImGui.SameLine(); - ImU8String text9 = new ImU8String(20, 3); - text9.AppendLiteral("Add all "); - text9.AppendFormatted(availableCount); - text9.AppendLiteral(" available "); - text9.AppendFormatted(alliedSociety); - text9.AppendLiteral(" "); - text9.AppendFormatted((availableCount == 1) ? "quest" : "quests"); - ImGui.TextUnformatted(text9); + ImU8String imU8String8 = new ImU8String(0, 1); + imU8String8.AppendFormatted(_202B_206F_200E_206C_202A_202B_200D_200C_200B_202D_206B_200F_202B_206B_206E_200B_202B_206E_206D_206D_202D_206A_200C_200F_200C_200B_202A_206E_202B_202A_200C_206D_202C_202A_200E_206A_202B_206B_200E_202D_202E(SeIconChar.QuestSync)); + _202D_206B_206F_202E_202E_200D_202E_206E_200B_200E_206F_200C_206F_202D_206E_206D_206A_202D_206E_206B_206D_202B_202E_200B_206B_202A_202A_200F_200B_202B_202A_200B_206D_206A_206B_206C_200E_200D_200E_206F_202E(imU8String8); + _202C_206A_200C_200B_206C_206C_200B_200F_206E_206D_206C_206F_206C_202B_202D_206A_200E_206D_206E_202D_202A_206B_202D_206E_206F_202E_200F_202D_206F_206F_206F_206A_200E_206B_206A_202D_200E_202E_206A_202E_202E(); + ImU8String imU8String9 = new ImU8String(20, 3); + imU8String9.AppendLiteral(global::_003CModule_003E._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(566224433)); + imU8String9.AppendFormatted(availableCount); + imU8String9.AppendLiteral(global::_003CModule_003E._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(1734073964)); + imU8String9.AppendFormatted(alliedSociety); + imU8String9.AppendLiteral(global::_003CModule_003E._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(-818915859)); + imU8String9.AppendFormatted((availableCount == 1) ? global::_003CModule_003E._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(308044519) : global::_003CModule_003E._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(1391970161)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String9); } - 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"); + finally + { + int num = ((colorDisposable == null) ? 1860381034 : 1860381033); + while (true) + { + int num10 = num; + int num3 = 1860381035; + int num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + num = 1860381033; + break; + case 1: + goto end_IL_0402; + case 2: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)colorDisposable); + num = 1860381034; + break; + } + continue; + end_IL_0402: + break; + } + } + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + ImU8String imU8String10 = new ImU8String(27, 2); + imU8String10.AppendLiteral(global::_003CModule_003E._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(-1280288787)); + imU8String10.AppendFormatted(availableCount); + imU8String10.AppendLiteral(global::_003CModule_003E._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(-1153128276)); + imU8String10.AppendFormatted(remainingAllowances); + imU8String10.AppendLiteral(global::_003CModule_003E._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(-2117985447)); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, imU8String10); + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(1705577423)); } - ImGui.EndTooltip(); + _206D_202A_206D_206A_200F_206C_200C_200E_202E_200B_200D_206F_200C_202B_202D_206B_206C_200B_200B_202B_206A_206A_200D_206A_206A_200F_200F_200E_202E_206E_200D_202D_202D_202C_206A_202C_206D_202B_202E_200C_202E(); } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawStandardAddButton(EAlliedSociety alliedSociety, List availableQuests, int remainingAllowances) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Plus, availableQuests.Count switch + int count = availableQuests.Count; + int num = 1; + int num2 = count; + string text = default(string); + int num3; + switch (~(~num2 + num)) { - 1 => "Add 1 Quest", - 2 => "Add 2 Quests", - 3 => "Add 3 Quests", - _ => $"Add All {availableQuests.Count} Quests", - })) - { - AddQuestsToPriority(alliedSociety, availableQuests); - } - if (!ImGui.IsItemHovered()) - { - 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); - ImGui.Spacing(); - if (availableQuests.Count <= remainingAllowances) - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + default: + num3 = -1251083593; + goto IL_0031; + case 1: + text = global::_003CModule_003E._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(-50765842); + num3 = -1251083589; + goto IL_0031; + case 0: + goto IL_00e1; + case 2: + goto IL_00f8; + IL_0031: + while (true) { - ImU8String text2 = new ImU8String(0, 1); - text2.AppendFormatted(SeIconChar.QuestSync.ToIconString()); - ImGui.Text(text2); - 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); + int num4 = num3; + num = -1251083597; + num2 = num4; + int num5 = num2 + num; + int num6 = num2 & num; + switch (num5 - (num6 + num6)) + { + case 7: + goto end_IL_0031; + case 8: + goto IL_0096; + case 6: + if (_206A_200F_202B_202B_200E_200C_206B_200D_206D_206E_202E_202C_206A_200D_206A_200E_200E_206C_202B_206F_206F_206F_202C_206B_206F_202D_206F_202B_200D_200E_202D_206D_206E_200C_202D_202D_200D_202E_202D_206A_202E()) + { + num3 = -1251083600; + break; + } + return; + case 9: + goto IL_00e1; + case 5: + goto IL_00f8; + case 0: + num3 = -1251083593; + break; + case 4: + num3 = -1251083599; + break; + case 3: + { + _200C_200E_200B_200C_202A_200B_202E_200F_202A_206D_202A_202C_200C_200B_206C_206F_206B_202C_206B_206C_200E_206E_200E_206A_200B_202E_202A_206D_206E_202A_200B_200E_202D_200D_202E_200B_202B_206C_202C_206B_202E(); + ImU8String imU8String3 = new ImU8String(18, 3); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-1727957168)); + imU8String3.AppendFormatted(availableQuests.Count); + imU8String3.AppendLiteral(global::_003CModule_003E._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(751790982)); + imU8String3.AppendFormatted(alliedSociety); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-1051702537)); + imU8String3.AppendFormatted((availableQuests.Count == 1) ? global::_003CModule_003E._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(-1468314462) : global::_003CModule_003E._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(1391970161)); + imU8String3.AppendLiteral(global::_003CModule_003E._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(1952651272)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String3); + _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E(); + if (availableQuests.Count <= remainingAllowances) + { + num3 = -1251083591; + break; + } + ImRaii.ColorDisposable colorDisposable = _202B_206D_202D_206B_206B_202C_206A_206D_202E_206E_200C_202C_202B_206E_200F_202B_200E_206D_206F_206F_202C_200C_206C_202B_206C_206F_200E_202D_202E_202D_206A_206C_206E_200F_200B_200B_202D_206D_202D_200D_202E(ImGuiCol.Text, UiThemeUtils.StatusActive, true); + try + { + ImU8String imU8String4 = new ImU8String(0, 1); + imU8String4.AppendFormatted(_202B_206F_200E_206C_202A_202B_200D_200C_200B_202D_206B_200F_202B_206B_206E_200B_202B_206E_206D_206D_202D_206A_200C_200F_200C_200B_202A_206E_202B_202A_200C_206D_202C_202A_200E_206A_202B_206B_200E_202D_202E(SeIconChar.Cross)); + _202D_206B_206F_202E_202E_200D_202E_206E_200B_200E_206F_200C_206F_202D_206E_206D_206A_202D_206E_206B_206D_202B_202E_200B_206B_202A_202A_200F_200B_202B_202A_200B_206D_206A_206B_206C_200E_200D_200E_206F_202E(imU8String4); + _202C_206A_200C_200B_206C_206C_200B_200F_206E_206D_206C_206F_206C_202B_202D_206A_200E_206D_206E_202D_202A_206B_202D_206E_206F_202E_200F_202D_206F_206F_206F_206A_200E_206B_206A_202D_200E_202E_206A_202E_202E(); + ImU8String imU8String5 = new ImU8String(31, 1); + imU8String5.AppendLiteral(global::_003CModule_003E._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(22897636)); + imU8String5.AppendFormatted(remainingAllowances); + imU8String5.AppendLiteral(global::_003CModule_003E._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(424561659)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String5); + } + finally + { + num3 = ((colorDisposable == null) ? 443411992 : 443411995); + while (true) + { + int num8 = num3; + num = 443411994; + num2 = num8; + switch ((num2 | num) - (num2 & num)) + { + case 0: + num3 = 443411995; + break; + case 2: + goto end_IL_0415; + case 1: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)colorDisposable); + num3 = 443411992; + break; + } + continue; + end_IL_0415: + break; + } + } + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(-969382418)); + goto IL_047a; + } + case 1: + AddQuestsToPriority(alliedSociety, availableQuests); + num3 = -1251083595; + break; + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1650091118)); + defaultInterpolatedStringHandler.AppendFormatted(availableQuests.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-182538210)); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + num3 = -1251083589; + break; + } + case 10: + { + ImRaii.ColorDisposable colorDisposable = _202B_206D_202D_206B_206B_202C_206A_206D_202E_206E_200C_202C_202B_206E_200F_202B_200E_206D_206F_206F_202C_200C_206C_202B_206C_206F_200E_202D_202E_202D_206A_206C_206E_200F_200B_200B_202D_206D_202D_200D_202E(ImGuiCol.Text, UiThemeUtils.StatusComplete, true); + try + { + ImU8String imU8String = new ImU8String(0, 1); + imU8String.AppendFormatted(_202B_206F_200E_206C_202A_202B_200D_200C_200B_202D_206B_200F_202B_206B_206E_200B_202B_206E_206D_206D_202D_206A_200C_200F_200C_200B_202A_206E_202B_202A_200C_206D_202C_202A_200E_206A_202B_206B_200E_202D_202E(SeIconChar.QuestSync)); + _202D_206B_206F_202E_202E_200D_202E_206E_200B_200E_206F_200C_206F_202D_206E_206D_206A_202D_206E_206B_206D_202B_202E_200B_206B_202A_202A_200F_200B_202B_202A_200B_206D_206A_206B_206C_200E_200D_200E_206F_202E(imU8String); + _202C_206A_200C_200B_206C_206C_200B_200F_206E_206D_206C_206F_206C_202B_202D_206A_200E_206D_206E_202D_202A_206B_202D_206E_206F_202E_200F_202D_206F_206F_206F_206A_200E_206B_206A_202D_200E_202E_206A_202E_202E(); + ImU8String imU8String2 = new ImU8String(17, 3); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-116858532)); + imU8String2.AppendFormatted(availableQuests.Count); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1153128276)); + imU8String2.AppendFormatted(remainingAllowances); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1907189443)); + imU8String2.AppendFormatted((remainingAllowances == 1) ? global::_003CModule_003E._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(-908522859) : global::_003CModule_003E._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(-19098909)); + _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(imU8String2); + } + finally + { + num3 = ((colorDisposable == null) ? 1663038793 : 1663038792); + while (true) + { + int num7 = num3; + num = 1663038793; + num2 = num7; + switch ((num2 | num) - (num2 & num)) + { + case 0: + goto end_IL_0318; + case 1: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)colorDisposable); + num3 = 1663038793; + break; + case 2: + num3 = 1663038792; + break; + } + continue; + end_IL_0318: + break; + } + } + _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(325664986)); + goto IL_047a; + } + IL_047a: + _206D_202A_206D_206A_200F_206C_200C_200E_202E_200B_200D_206F_200C_202B_202D_206B_206C_200B_200B_202B_206A_206A_200D_206A_206A_200F_200F_200E_202E_206E_200D_202D_202D_202C_206A_202C_206D_202B_202E_200C_202E(); + return; + } + continue; + IL_0096: + string text2 = text; + num3 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, text2, IconTextButtonWidth(FontAwesomeIcon.Plus, text2))) ? (-1251083595) : (-1251083598)); + continue; + end_IL_0031: + break; } - ImGui.TextColored(ImGuiColors.DalamudGrey3, "All can be completed today"); + goto case 1; + IL_00f8: + text = global::_003CModule_003E._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(407594946); + num3 = -1251083589; + goto IL_0031; + IL_00e1: + text = global::_003CModule_003E._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(1523669633); + num3 = -1251083589; + goto IL_0031; } - else - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange)) - { - ImU8String text4 = new ImU8String(0, 1); - text4.AppendFormatted(SeIconChar.Cross.ToIconString()); - ImGui.Text(text4); - ImGui.SameLine(); - ImU8String text5 = new ImU8String(31, 1); - text5.AppendLiteral("Exceeds remaining allowances ("); - text5.AppendFormatted(remainingAllowances); - text5.AppendLiteral(")"); - ImGui.TextUnformatted(text5); - } - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Some quests won't be completable until tomorrow"); - } - ImGui.EndTooltip(); } + [MethodImpl(MethodImplOptions.NoInlining)] private void AddQuestsToPriority(EAlliedSociety alliedSociety, List questsToAdd) { int num = 0; - foreach (QuestInfo item in questsToAdd) + int num2; + using (List.Enumerator enumerator = questsToAdd.GetEnumerator()) { - if (_questController.AddQuestPriority(item.QuestId)) + num2 = -1316256234; + while (true) { - num++; + int num3 = num2; + int num4 = -1316256236; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + { + int num8 = num; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + num = num9 + (num10 + num10); + num2 = -1316256234; + break; + } + case 1: + { + QuestInfo current = enumerator.Current; + num2 = ((!_questController.AddQuestPriority(current.QuestId)) ? (-1316256234) : (-1316256236)); + break; + } + case 3: + num2 = -1316256234; + break; + case 2: + num2 = (enumerator.MoveNext() ? (-1316256235) : (-1316256240)); + break; + case 4: + goto end_IL_0015; + } + continue; + end_IL_0015: + break; } } - if (num > 0) + num2 = ((num <= 0) ? (-976233410) : (-976233415)); + while (true) { - string text = ((num == 1) ? "quest" : "quests"); - _logger.LogInformation("Added {Count} {Society} {QuestWord} to priority list", num, alliedSociety, text); - _chatGui.Print($"Added {num} {alliedSociety} {text} to priority list.", "Questionable", 576); + int num11 = num2; + int num4 = -976233411; + int num5 = num11; + string text; + string text2; + IChatGui chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler; + switch ((num5 | num4) - (num5 & num4)) + { + case 3: + return; + case 4: + num2 = ((num == 1) ? (-976233412) : (-976233411)); + break; + case 0: + text = global::_003CModule_003E._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(1303968590); + goto IL_017c; + case 1: + text = global::_003CModule_003E._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(-1468314462); + goto IL_017c; + case 2: + { + num2 = -976233415; + break; + } + IL_017c: + text2 = text; + _206D_200E_202A_206C_200D_202A_200E_200F_200E_202B_200F_206A_206A_202D_200B_202B_200D_202B_206F_206B_200D_202D_206C_200C_206B_206E_206B_202D_202D_200D_202B_202E_206D_200F_202E_206F_206E_200E_206E_200C_202E((ILogger)_logger, global::_003CModule_003E._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(538675772), new object[3] { num, alliedSociety, text2 }); + chatGui = _chatGui; + defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(26, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1201571515)); + defaultInterpolatedStringHandler.AppendFormatted(num); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1051702537)); + defaultInterpolatedStringHandler.AppendFormatted(alliedSociety); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-818915859)); + defaultInterpolatedStringHandler.AppendFormatted(text2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-985511642)); + _200C_200F_206A_202E_202B_200B_206C_202B_202B_202B_206F_202D_206E_200B_206F_200B_206E_200E_200B_202C_200F_206D_206B_200D_202E_200E_200F_206D_202E_202A_206D_202A_206A_200F_206A_206A_200B_206B_202D_206C_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + num2 = -976233410; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawQuest(QuestInfo questInfo) { - var (color, icon, value) = _uiUtils.GetQuestStyle(questInfo.QuestId); - if (!_questRegistry.TryGetQuest(questInfo.QuestId, out Quest quest) || quest.Root.Disabled) + (Vector4 Color, FontAwesomeIcon Icon, string Status) questStyle = _uiUtils.GetQuestStyle(questInfo.QuestId); + Vector4 color = questStyle.Color; + FontAwesomeIcon item = questStyle.Icon; + string item2 = questStyle.Status; + int num = ((!_questRegistry.TryGetQuest(questInfo.QuestId, out Quest quest)) ? 808488069 : 808488071); + while (true) { - color = ImGuiColors.DalamudGrey; + int num2 = num; + int num3 = 808488070; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 808488071; + break; + case 1: + num = ((!_206F_200E_200C_206B_206F_206B_202E_200E_200B_200C_200C_202E_206B_206B_200B_202E_200F_200E_200E_200E_206E_202D_206C_206B_202A_202C_200C_200B_202D_200B_206E_206B_200E_206D_206D_206C_200D_202E_200F_206F_202E(quest.Root)) ? 808488070 : 808488069); + break; + case 3: + color = UiThemeUtils.StatusUnobtainable; + num = 808488070; + break; + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 3); + defaultInterpolatedStringHandler.AppendFormatted(questInfo.Name); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1473546846)); + defaultInterpolatedStringHandler.AppendFormatted(item2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1129892722)); + defaultInterpolatedStringHandler.AppendFormatted(questInfo.QuestId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-25878066)); + string text = defaultInterpolatedStringHandler.ToStringAndClear(); + ImRaii.FontDisposable fontDisposable = _206A_206A_202A_202C_206D_206E_206B_202D_200E_200E_200C_206C_200C_202B_202C_202B_202E_202E_202A_206F_206B_206A_202A_200D_200D_202C_206E_200B_206A_202E_202B_206C_206E_200E_202C_206A_200E_202C_200C_206D_202E(_206E_200C_202B_206A_206A_202B_202D_206B_200D_200C_200F_200C_206F_200F_200F_200E_202C_206B_200F_206B_200F_206F_200C_202E_206C_200C_200F_206C_202E_202A_200E_200D_200D_202A_200C_200C_206F_206D_206A_206F_202E(), true); + float x; + try + { + x = _200E_202C_200B_206B_206F_206B_202B_202D_202A_200D_202D_206A_202A_200E_206D_202C_206B_206E_202A_200F_206B_206F_202C_206C_200F_200F_206B_200B_206B_202A_200C_202B_200F_200B_206A_206F_200F_206B_202B_202D_202E((ImU8String)_200F_202D_202E_206D_200F_206E_202C_206F_206E_202E_206A_206E_202D_206F_202B_206C_206C_202E_200F_206A_206F_202B_206D_202D_206F_200C_202E_200E_200F_206B_202A_200D_202A_202C_206D_200F_200B_202A_206B_206B_202E(item), false, -1f).X; + } + finally + { + num = ((fontDisposable == null) ? 1044840550 : 1044840549); + while (true) + { + int num7 = num; + num3 = 1044840548; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = 1044840549; + break; + case 1: + _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E((IDisposable)fontDisposable); + num = 1044840550; + break; + case 2: + goto end_IL_0182; + } + continue; + end_IL_0182: + break; + } + } + float maxWidth = _200C_202A_202E_202A_206E_202A_200B_206A_206D_200B_202A_200D_206E_202E_200F_200E_202A_202D_202E_200C_206A_206C_200D_202B_200C_202E_206C_206F_206C_202A_206E_200F_206F_206E_200D_206E_206B_200B_200E_202B_202E().X - x - _206C_200B_206E_206D_200F_200C_200B_202D_206B_206D_206B_202A_206A_206C_200E_202B_202B_200D_206C_206A_206F_202D_206F_206A_206C_206B_206A_200C_200C_206E_206F_202D_202D_206F_206F_206E_206B_200B_200F_206E_202E().ItemSpacing.X; + num = ((!_uiUtils.ChecklistItem(UiThemeUtils.TruncateToWidth(text, maxWidth), color, item)) ? (-225021821) : (-225021824)); + while (true) + { + int num10 = num; + num3 = -225021823; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + num = -225021824; + break; + case 1: + _questTooltipComponent.Draw(questInfo); + num = -225021821; + break; + case 2: + _questJournalUtils.ShowContextMenu(questInfo, quest, global::_003CModule_003E._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(806527212)); + return; + } + } + } + } } - string text = $"{questInfo.Name} ({value}) [{questInfo.QuestId}]"; - if (_uiUtils.ChecklistItem(text, color, icon)) - { - _questTooltipComponent.Draw(questInfo); - } - _questJournalUtils.ShowContextMenu(questInfo, quest, "AlliedSocietyJournalComponent"); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + static AlliedSocietyJournalComponent() + { + (string, EAlliedSociety[])[] array = new(string, EAlliedSociety[])[6]; + string item = global::_003CModule_003E._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(-1261156168); + EAlliedSociety[] array2 = new EAlliedSociety[5]; + _206D_200B_202B_202A_200C_200B_206A_200C_206B_206F_206D_202A_200C_200C_206C_202B_202C_206F_200F_206B_206D_200D_202E_200E_206E_200E_206E_200D_200E_200C_206B_200D_206E_200D_206B_202D_206F_202A_202C_206F_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + array[0] = (item, array2); + string item2 = global::_003CModule_003E._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(782699001); + EAlliedSociety[] array3 = new EAlliedSociety[3]; + _206D_200B_202B_202A_200C_200B_206A_200C_206B_206F_206D_202A_200C_200C_206C_202B_202C_206F_200F_206B_206D_200D_202E_200E_206E_200E_206E_200D_200E_200C_206B_200D_206E_200D_206B_202D_206F_202A_202C_206F_202E((Array)array3, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + array[1] = (item2, array3); + string item3 = global::_003CModule_003E._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(1513405217); + EAlliedSociety[] array4 = new EAlliedSociety[3]; + _206D_200B_202B_202A_200C_200B_206A_200C_206B_206F_206D_202A_200C_200C_206C_202B_202C_206F_200F_206B_206D_200D_202E_200E_206E_200E_206E_200D_200E_200C_206B_200D_206E_200D_206B_202D_206F_202A_202C_206F_202E((Array)array4, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + array[2] = (item3, array4); + string item4 = global::_003CModule_003E._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(-1593202768); + EAlliedSociety[] array5 = new EAlliedSociety[3]; + _206D_200B_202B_202A_200C_200B_206A_200C_206B_206F_206D_202A_200C_200C_206C_202B_202C_206F_200F_206B_206D_200D_202E_200E_206E_200E_206E_200D_200E_200C_206B_200D_206E_200D_206B_202D_206F_202A_202C_206F_202E((Array)array5, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + array[3] = (item4, array5); + string item5 = global::_003CModule_003E._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(73028208); + EAlliedSociety[] array6 = new EAlliedSociety[3]; + _206D_200B_202B_202A_200C_200B_206A_200C_206B_206F_206D_202A_200C_200C_206C_202B_202C_206F_200F_206B_206D_200D_202E_200E_206E_200E_206E_200D_200E_200C_206B_200D_206E_200D_206B_202D_206F_202A_202C_206F_202E((Array)array6, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + array[4] = (item5, array6); + string item6 = global::_003CModule_003E._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(997564111); + EAlliedSociety[] array7 = new EAlliedSociety[3]; + _206D_200B_202B_202A_200C_200B_206A_200C_206B_206F_206D_202A_200C_200C_206C_202B_202C_206F_200F_206B_206D_200D_202E_200E_206E_200E_206E_200D_200E_200C_206B_200D_206E_200D_206B_202D_206F_202A_202C_206F_202E((Array)array7, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + array[5] = (item6, array7); + ExpansionGroups = array; + } + + static void _200E_206A_200D_200F_206D_202A_206F_206F_200E_200B_200B_206C_200F_202B_202D_200E_200B_202B_200B_206B_200E_206C_202C_202B_200E_206A_206B_202D_200C_206C_200C_202B_206F_200F_202D_200D_202B_206F_206F_206C_202E() + { + ImGui.Separator(); + } + + static void _202E_200B_200E_200F_202B_206B_200B_202C_202A_202B_200C_206C_200E_206D_202D_202A_200C_206B_206A_200B_206C_202A_200B_206C_200F_206E_206F_206F_202E_200B_206E_206A_200C_206D_206C_200C_202C_200F_200D_202C_202E() + { + ImGui.Spacing(); + } + + static void _206B_200D_206F_206D_206D_202C_202D_202A_200C_206D_200B_200B_202A_206C_202B_202E_206D_200E_202B_200E_202E_200D_206A_206C_200E_202E_200D_206F_200F_202B_202A_206B_202B_206E_202B_206B_206A_206C_200C_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static ImRaii.ColorDisposable _202B_206D_202D_206B_206B_202C_206A_206D_202E_206E_200C_202C_202B_206E_200F_202B_200E_206D_206F_206F_202C_200C_206C_202B_206C_206F_200E_202D_202E_202D_206A_206C_206E_200F_200B_200B_202D_206D_202D_200D_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static ImFontPtr _206E_200C_202B_206A_206A_202B_202D_206B_200D_200C_200F_200C_206F_200F_200F_200E_202C_206B_200F_206B_200F_206F_200C_202E_206C_200C_200F_206C_202E_202A_200E_200D_200D_202A_200C_200C_206F_206D_206A_206F_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _206A_206A_202A_202C_206D_206E_206B_202D_200E_200E_200C_206C_200C_202B_202C_202B_202E_202E_202A_206F_206B_206A_202A_200D_200D_202C_206E_200B_206A_202E_202B_206C_206E_200E_202C_206A_200E_202C_200C_206D_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _200F_202D_202E_206D_200F_206E_202C_206F_206E_202E_206A_206E_202D_206F_202B_206C_206C_202E_200F_206A_206F_202B_206D_202D_206F_200C_202E_200E_200F_206B_202A_200D_202A_202C_206D_200F_200B_202A_206B_206B_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static void _202D_206B_206F_202E_202E_200D_202E_206E_200B_200E_206F_200C_206F_202D_206E_206D_206A_202D_206E_206B_206D_202B_202E_200B_206B_202A_202A_200F_200B_202B_202A_200B_206D_206A_206B_206C_200E_200D_200E_206F_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static void _200F_206B_202C_202B_200E_206A_206A_206A_202C_202D_206A_202B_206A_202C_206D_206B_200D_206A_200E_206E_202E_200C_206A_206D_202B_200E_206A_202E_202E_202A_206A_200C_200E_200F_200B_200C_206E_202A_200C_206B_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202D_200E_206A_202B_206F_200C_206A_206C_200E_202C_202A_206D_202D_200E_200C_202B_202D_202B_206B_206D_200F_206E_202B_200E_200E_206D_206D_206B_202E_206A_202D_202E_200E_202E_200B_206C_200C_206B_200E_200E_202E(float P_0, float P_1) + { + ImGui.SameLine(P_0, P_1); + } + + static void _202B_206E_202E_200C_206C_202B_206A_206E_206F_202D_200E_202E_206B_200B_206B_200F_206B_206B_202C_200E_206B_206D_206B_206F_206F_206E_200D_202B_206C_206A_202D_206B_206D_200D_202C_200D_202B_200B_206D_200D_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static ImRaii.IndentDisposable _202D_202D_206A_206D_206B_206B_206A_200B_202C_206C_202B_200D_200D_200B_206A_206B_200B_200F_206E_206F_200D_202C_206C_202A_206C_206E_200E_206D_206F_206A_202C_200D_202E_206A_206B_202A_200F_206C_206B_200E_202E(int P_0, bool P_1) + { + return ImRaii.PushIndent(P_0, P_1); + } + + static Vector2 _200E_202C_200B_206B_206F_206B_202B_202D_202A_200D_202D_206A_202A_200E_206D_202C_206B_206E_202A_200F_206B_206F_202C_206C_200F_200F_206B_200B_206B_202A_200C_202B_200F_200B_206A_206F_200F_206B_202B_202D_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static ImGuiStylePtr _206C_200B_206E_206D_200F_200C_200B_202D_206B_206D_206B_202A_206A_206C_200E_202B_202B_200D_206C_206A_206F_202D_206F_206A_206C_206B_206A_200C_200C_206E_206F_202D_202D_206F_206F_206E_206B_200B_200F_206E_202E() + { + return ImGui.GetStyle(); + } + + static ImRaii.DisabledDisposable _200B_202B_202C_202E_200E_206C_202C_200C_200F_206D_200F_206B_206E_200C_202E_202A_202C_206F_202E_202B_206A_200C_202A_206D_206F_202C_200D_200B_206E_206D_202E_206D_200C_200C_200C_200B_206E_206C_200E_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static bool _200C_202E_202D_206A_200C_202A_200C_200C_206D_200B_206B_202A_206B_202C_202C_200B_206B_206F_200C_202B_206A_202C_206B_206E_206A_202D_200D_202D_202A_206C_202A_206E_206A_200B_200E_206A_200E_200B_206A_200E_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static void _202C_206A_206E_202D_200C_200E_202A_200F_202E_206C_200F_200C_202E_206C_200E_206A_206A_206A_202D_206D_206E_202C_200C_206A_200B_206A_202E_200C_206E_206F_202C_206E_206E_206E_200B_206C_200E_206B_200E_200E_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static int _206F_202A_206D_202C_206D_200D_202A_200F_206C_202B_206C_206A_200E_202B_200C_206B_200C_200C_202E_202D_206E_200D_200F_202A_200B_202D_206E_202A_202E_202B_200E_202D_202E_202E_202A_202C_206C_200E_206E_200F_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static void _202C_206A_200C_200B_206C_206C_200B_200F_206E_206D_206C_206F_206C_202B_202D_206A_200E_206D_206E_202D_202A_206B_202D_206E_206F_202E_200F_202D_206F_206F_206F_206A_200E_206B_206A_202D_200E_202E_206A_202E_202E() + { + ImGui.SameLine(); + } + + static bool _206A_200F_202B_202B_200E_200C_206B_200D_206D_206E_202E_202C_206A_200D_206A_200E_200E_206C_202B_206F_206F_206F_202C_206B_206F_202D_206F_202B_200D_200E_202D_206D_206E_200C_202D_202D_200D_202E_202D_206A_202E() + { + return ImGui.IsItemHovered(); + } + + static void _200C_200E_200B_200C_202A_200B_202E_200F_202A_206D_202A_202C_200C_200B_206C_206F_206B_202C_206B_206C_200E_206E_200E_206A_200B_202E_202A_206D_206E_202A_200B_200E_202D_200D_202E_200B_202B_206C_202C_206B_202E() + { + ImGui.BeginTooltip(); + } + + static string _202B_206F_200E_206C_202A_202B_200D_200C_200B_202D_206B_200F_202B_206B_206E_200B_202B_206E_206D_206D_202D_206A_200C_200F_200C_200B_202A_206E_202B_202A_200C_206D_202C_202A_200E_206A_202B_206B_200E_202D_202E(SeIconChar P_0) + { + return P_0.ToIconString(); + } + + static void _206D_202A_206D_206A_200F_206C_200C_200E_202E_200B_200D_206F_200C_202B_202D_206B_206C_200B_200B_202B_206A_206A_200D_206A_206A_200F_200F_200E_202E_206E_200D_202D_202D_202C_206A_202C_206D_202B_202E_200C_202E() + { + ImGui.EndTooltip(); + } + + static void _206D_200E_202A_206C_200D_202A_200E_200F_200E_202B_200F_206A_206A_202D_200B_202B_200D_202B_206F_206B_200D_202D_206C_200C_206B_206E_206B_202D_202D_200D_202B_202E_206D_200F_202E_206F_206E_200E_206E_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _200C_200F_206A_202E_202B_200B_206C_202B_202B_202B_206F_202D_206E_200B_206F_200B_206E_200E_200B_202C_200F_206D_206B_200D_202E_200E_200F_206D_202E_202A_206D_202A_206A_200F_206A_206A_200B_206B_202D_206C_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static bool _206F_200E_200C_206B_206F_206B_202E_200E_200B_200C_200C_202E_206B_206B_200B_202E_200F_200E_200E_200E_206E_202D_206C_206B_202A_202C_200C_200B_202D_200B_206E_206B_200E_206D_206D_206C_200D_202E_200F_206F_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static Vector2 _200C_202A_202E_202A_206E_202A_200B_206A_206D_200B_202A_200D_206E_202E_200F_200E_202A_202D_202E_200C_206A_206C_200D_202B_200C_202E_206C_206F_206C_202A_206E_200F_206F_206E_200D_206E_206B_200B_200E_202B_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static void _206D_200B_202B_202A_200C_200B_206A_200C_206B_206F_206D_202A_200C_200C_206C_202B_202C_206F_200F_206B_206D_200D_202E_200E_206E_200E_206E_200D_200E_200C_206B_200D_206E_200D_206B_202D_206F_202A_202C_206F_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); } } diff --git a/Questionable/Questionable.Windows.JournalComponents/AttunementJournalComponent.cs b/Questionable/Questionable.Windows.JournalComponents/AttunementJournalComponent.cs new file mode 100644 index 00000000..f84f29da --- /dev/null +++ b/Questionable/Questionable.Windows.JournalComponents/AttunementJournalComponent.cs @@ -0,0 +1,3892 @@ +using System; +using System.Collections; +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.Text; +using Dalamud.Bindings.ImGui; +using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Interface; +using Dalamud.Interface.ManagedFontAtlas; +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) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206C_202A_202A_202E_200B_206C_206B_202C_206A_206A_200D_206C_202A_202A_206D_200F_206D_202A_200B_202E_206F_202E_202A_200B_200D_200D_202C_200D_202C_202A_206B_202E_200C_206D_202E_206D_206A_202B_200C_206D_202E(typeof(AetheryteEntry).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200C_200D_202C_202D_200B_202A_200B_200B_206E_206E_206F_206A_200D_200C_206C_206A_206C_200E_202D_206E_200E_206B_202E_200D_202D_202E_206C_202D_200B_202E_200F_200B_200E_202E_202D_200B_200B_200E_206B_200E_202E(); + _206B_206E_206B_200B_200B_202E_202C_206A_202E_200B_202D_202E_206D_202E_200C_202E_206A_200C_200F_202C_200C_200E_206E_200D_206A_202E_202E_202B_202D_202C_202C_206F_202C_202B_202E_200C_202D_200B_202C_206C_202E(stringBuilder, global::_003CModule_003E._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(-1383851405)); + _206B_206E_206B_200B_200B_202E_202C_206A_202E_200B_202D_202E_206D_202E_200C_202E_206A_200C_200F_202C_200C_200E_206E_200D_206A_202E_202E_202B_202D_202C_202C_206F_202C_202B_202E_200C_202D_200B_202C_206C_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? (-913631883) : (-913631882)); + while (true) + { + int num2 = num; + int num3 = -913631881; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -913631882; + break; + case 1: + _200E_206B_200B_200D_206A_202B_202B_200F_202A_200F_206B_206A_202A_206A_202D_200C_200D_202C_200E_200D_206D_202A_202D_206A_206A_200E_206F_200B_206B_200F_200C_200C_206B_206A_200D_206D_200E_202A_206A_202E_202E(stringBuilder, ' '); + num = -913631883; + break; + case 2: + _200E_206B_200B_200D_206A_202B_202B_200F_202A_200F_206B_206A_202A_206A_202D_200C_200D_202C_200E_200D_206D_202A_202D_206A_206A_200E_206F_200B_206B_200F_200C_200C_206B_206A_200D_206D_200E_202A_206A_202E_202E(stringBuilder, '}'); + return _200C_200E_206A_200E_200C_200E_202D_206C_206D_206C_206E_200C_202A_200E_206F_200E_206C_202E_206C_200C_206B_202C_202A_200F_202D_202B_202A_202A_202B_206E_200F_206B_200D_206B_202A_202C_202C_200E_200E_206D_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202A_200D_206F_206B_206C_200E_206B_200D_200E_206F_200B_200C_200D_202A_206C_200C_206D_202C_200B_206B_206F_206E_200B_206B_202A_202E_206C_206A_206A_200D_202A_202D_206C_202B_200F_206A_206E_200C_200D_200C_202E(); + _206B_206E_206B_200B_200B_202E_202C_206A_202E_200B_202D_202E_206D_202E_200C_202E_206A_200C_200F_202C_200C_200E_206E_200D_206A_202E_202E_202B_202D_202C_202C_206F_202C_202B_202E_200C_202D_200B_202C_206C_202E(builder, global::_003CModule_003E._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(1926859199)); + _206B_206E_206B_200B_200B_202E_202C_206A_202E_200B_202D_202E_206D_202E_200C_202E_206A_200C_200F_202C_200C_200E_206E_200D_206A_202E_202E_202B_202D_202C_202C_206F_202C_202B_202E_200C_202D_200B_202C_206C_202E(builder, Location.ToString()); + _206B_206E_206B_200B_200B_202E_202C_206A_202E_200B_202D_202E_206D_202E_200C_202E_206A_200C_200F_202C_200C_200E_206E_200D_206A_202E_202E_202B_202D_202C_202C_206F_202C_202B_202E_200C_202D_200B_202C_206C_202E(builder, global::_003CModule_003E._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(-644247690)); + _200C_206A_200E_200E_200B_200F_202D_206B_202E_202D_206E_200E_206A_202A_200F_206C_202A_206F_206B_200E_206B_202A_202E_202D_202B_206B_202D_202E_206F_200E_206B_202A_206C_206F_206F_200C_206A_202B_200D_202A_202E(builder, (object)Name); + _206B_206E_206B_200B_200B_202E_202C_206A_202E_200B_202D_202E_206D_202E_200C_202E_206A_200C_200F_202C_200C_200E_206E_200D_206A_202E_202E_202B_202D_202C_202C_206F_202C_202B_202E_200C_202D_200B_202C_206C_202E(builder, global::_003CModule_003E._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(1214398023)); + _206B_206E_206B_200B_200B_202E_202C_206A_202E_200B_202D_202E_206D_202E_200C_202E_206A_200C_200F_202C_200C_200E_206E_200D_206A_202E_202E_202B_202D_202C_202C_206F_202C_202B_202E_200C_202D_200B_202C_206C_202E(builder, TerritoryId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(AetheryteEntry? other) + { + int num = (((object)this == other) ? 1949028632 : 1949028635); + while (true) + { + int num2 = num; + int num3 = 1949028638; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = ((!EqualityComparer.Default.Equals(Location, other.Location)) ? 1949028636 : 1949028639); + break; + case 5: + num = (((object)other == null) ? 1949028636 : 1949028633); + break; + case 2: + return false; + case 7: + num = ((!_200C_206F_206D_202A_202C_206E_200B_206A_202C_202C_200D_206B_206B_202D_206B_202E_206A_206E_200B_206C_206A_206B_202A_200C_200F_206C_200B_206B_206A_200C_206B_206B_206C_202B_202A_206D_202E_202B_206C_206F_202E(EqualityContract, other.EqualityContract)) ? 1949028636 : 1949028637); + break; + case 6: + return true; + case 4: + return EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId); + case 0: + num = 1949028635; + break; + case 1: + num = ((!EqualityComparer.Default.Equals(Name, other.Name)) ? 1949028636 : 1949028634); + break; + } + } + } + + bool IEquatable.Equals(AetheryteEntry? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206C_202A_202A_202E_200B_206C_206B_202C_206A_206A_200D_206C_202A_202A_206D_200F_206D_202A_200B_202E_206F_202E_202A_200B_200D_200D_202C_200D_202C_202A_206B_202E_200C_206D_202E_206D_206A_202B_200C_206D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200C_200D_202C_202D_200B_202A_200B_200B_206E_206E_206F_206A_200D_200C_206C_206A_206C_200E_202D_206E_200E_206B_202E_200D_202D_202E_206C_202D_200B_202E_200F_200B_200E_202E_202D_200B_200B_200E_206B_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206B_206E_206B_200B_200B_202E_202C_206A_202E_200B_202D_202E_206D_202E_200C_202E_206A_200C_200F_202C_200C_200E_206E_200D_206A_202E_202E_202B_202D_202C_202C_206F_202C_202B_202E_200C_202D_200B_202C_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200E_206B_200B_200D_206A_202B_202B_200F_202A_200F_206B_206A_202A_206A_202D_200C_200D_202C_200E_200D_206D_202A_202D_206A_206A_200E_206F_200B_206B_200F_200C_200C_206B_206A_200D_206D_200E_202A_206A_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200C_200E_206A_200E_200C_200E_202D_206C_206D_206C_206E_200C_202A_200E_206F_200E_206C_202E_206C_200C_206B_202C_202A_200F_202D_202B_202A_202A_202B_206E_200F_206B_200D_206B_202A_202C_202C_200E_200E_206D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202A_200D_206F_206B_206C_200E_206B_200D_200E_206F_200B_200C_200D_202A_206C_200C_206D_202C_200B_206B_206F_206E_200B_206B_202A_202E_206C_206A_206A_200D_202A_202D_206C_202B_200F_206A_206E_200C_200D_200C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200C_206A_200E_200E_200B_200F_202D_206B_202E_202D_206E_200E_206A_202A_200F_206C_202A_206F_206B_200E_206B_202A_202E_202D_202B_206B_202D_202E_206F_200E_206B_202A_206C_206F_206F_200C_206A_202B_200D_202A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_206F_206D_202A_202C_206E_200B_206A_202C_202C_200D_206B_206B_202D_206B_202E_206A_206E_200B_206C_206A_206B_202A_200C_200F_206C_200B_206B_206A_200C_206B_206B_206C_202B_202A_206D_202E_202B_206C_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + private sealed record CityGroup(string CityName, ImmutableList Shards) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202D_200F_206B_200F_202D_202B_200B_200C_200D_206E_200C_206D_202D_200F_206C_200D_202A_200E_200C_206C_206F_206C_200E_200B_206D_206E_206C_202D_206B_200F_202B_206D_206B_200F_200D_200D_202D_206C_200F_202B_202E(typeof(CityGroup).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200F_200D_202E_200D_200E_200B_200E_206E_202A_206F_206E_202C_206A_200B_202C_206F_200B_200D_206D_200E_206F_202E_206F_206D_206C_202D_200F_200F_200D_206B_202B_202D_202C_206B_206D_202A_206D_200F_206A_200D_202E(); + _206F_202A_200B_202D_206E_206F_206B_200F_200D_200D_206A_202C_206C_200B_200F_206C_206B_206C_202B_206D_200B_200E_206E_206D_200B_200D_206D_206A_202B_200B_206A_206D_202B_206F_206D_206A_200B_202C_206B_202D_202E(stringBuilder, global::_003CModule_003E._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(-792661255)); + _206F_202A_200B_202D_206E_206F_206B_200F_200D_200D_206A_202C_206C_200B_200F_206C_206B_206C_202B_206D_200B_200E_206E_206D_200B_200D_206D_206A_202B_200B_206A_206D_202B_206F_206D_206A_200B_202C_206B_202D_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? (-25201407) : (-25201406)); + while (true) + { + int num2 = num; + int num3 = -25201405; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -25201406; + break; + case 2: + _206E_206F_200C_206F_206C_200F_202A_200D_206A_206B_206A_206A_206F_202C_206F_202E_206F_206B_200F_202E_206A_200B_206E_202A_202D_206C_206C_206D_206B_200D_202C_206F_202B_200F_202A_200E_206D_200C_206D_200E_202E(stringBuilder, '}'); + return _200B_202B_206A_200D_200F_202B_200E_202D_206A_200D_206A_202C_206D_202B_200C_200D_206F_206B_202D_206C_206D_200F_200D_206F_202A_206A_200C_200F_206F_202A_202E_200B_206C_202B_206B_206D_206A_202B_206B_206F_202E((object)stringBuilder); + case 1: + _206E_206F_200C_206F_206C_200F_202A_200D_206A_206B_206A_206A_206F_202C_206F_202E_206F_206B_200F_202E_206A_200B_206E_202A_202D_206C_206C_206D_206B_200D_202C_206F_202B_200F_202A_200E_206D_200C_206D_200E_202E(stringBuilder, ' '); + num = -25201407; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_200D_206D_202D_202C_206F_206E_200B_202C_206F_200D_200E_200D_206C_202C_200E_202B_206D_206A_202A_206E_206D_202E_206D_206E_200F_200C_202D_206B_206D_206A_202D_202B_202D_200E_202D_200F_206C_206D_200D_202E(); + _206F_202A_200B_202D_206E_206F_206B_200F_200D_200D_206A_202C_206C_200B_200F_206C_206B_206C_202B_206D_200B_200E_206E_206D_200B_200D_206D_206A_202B_200B_206A_206D_202B_206F_206D_206A_200B_202C_206B_202D_202E(builder, global::_003CModule_003E._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(324724893)); + _206C_200B_200C_202D_206B_206B_200C_206B_206E_200C_200B_202E_200E_202B_202D_200D_202D_200F_206A_202C_206F_202D_200E_200B_202C_206A_200D_202A_200D_200C_202B_200D_200C_206E_206A_206F_206E_206B_206A_206C_202E(builder, (object)CityName); + _206F_202A_200B_202D_206E_206F_206B_200F_200D_200D_206A_202C_206C_200B_200F_206C_206B_206C_202B_206D_200B_200E_206E_206D_200B_200D_206D_206A_202B_200B_206A_206D_202B_206F_206D_206A_200B_202C_206B_202D_202E(builder, global::_003CModule_003E._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(799410148)); + _206C_200B_200C_202D_206B_206B_200C_206B_206E_200C_200B_202E_200E_202B_202D_200D_202D_200F_206A_202C_206F_202D_200E_200B_202C_206A_200D_202A_200D_200C_202B_200D_200C_206E_206A_206F_206E_206B_206A_206C_202E(builder, (object)Shards); + return true; + } + + [CompilerGenerated] + public bool Equals(CityGroup? other) + { + int num = (((object)this == other) ? (-153552481) : (-153552482)); + while (true) + { + int num2 = num; + int num3 = -153552483; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = -153552482; + break; + case 1: + return EqualityComparer>.Default.Equals(Shards, other.Shards); + case 2: + return true; + case 0: + num = ((!_206C_200B_206A_202D_202A_200E_200E_202A_202D_202A_202A_202B_206B_206D_206A_200B_200B_200B_206E_200D_202C_206C_206D_206E_200B_206F_202B_200C_206F_202E_206C_202E_200E_206A_202D_206C_206B_206C_202B_206D_202E(EqualityContract, other.EqualityContract)) ? (-153552485) : (-153552487)); + break; + case 3: + num = (((object)other == null) ? (-153552485) : (-153552483)); + break; + case 6: + return false; + case 4: + num = ((!EqualityComparer.Default.Equals(CityName, other.CityName)) ? (-153552485) : (-153552484)); + break; + } + } + } + + bool IEquatable.Equals(CityGroup? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202D_200F_206B_200F_202D_202B_200B_200C_200D_206E_200C_206D_202D_200F_206C_200D_202A_200E_200C_206C_206F_206C_200E_200B_206D_206E_206C_202D_206B_200F_202B_206D_206B_200F_200D_200D_202D_206C_200F_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200F_200D_202E_200D_200E_200B_200E_206E_202A_206F_206E_202C_206A_200B_202C_206F_200B_200D_206D_200E_206F_202E_206F_206D_206C_202D_200F_200F_200D_206B_202B_202D_202C_206B_206D_202A_206D_200F_206A_200D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206F_202A_200B_202D_206E_206F_206B_200F_200D_200D_206A_202C_206C_200B_200F_206C_206B_206C_202B_206D_200B_200E_206E_206D_200B_200D_206D_206A_202B_200B_206A_206D_202B_206F_206D_206A_200B_202C_206B_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206E_206F_200C_206F_206C_200F_202A_200D_206A_206B_206A_206A_206F_202C_206F_202E_206F_206B_200F_202E_206A_200B_206E_202A_202D_206C_206C_206D_206B_200D_202C_206F_202B_200F_202A_200E_206D_200C_206D_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_202B_206A_200D_200F_202B_200E_202D_206A_200D_206A_202C_206D_202B_200C_200D_206F_206B_202D_206C_206D_200F_200D_206F_202A_206A_200C_200F_206F_202A_202E_200B_206C_202B_206B_206D_206A_202B_206B_206F_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206C_200D_206D_202D_202C_206F_206E_200B_202C_206F_200D_200E_200D_206C_202C_200E_202B_206D_206A_202A_206E_206D_202E_206D_206E_200F_200C_202D_206B_206D_206A_202D_202B_202D_200E_202D_200F_206C_206D_200D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206C_200B_200C_202D_206B_206B_200C_206B_206E_200C_200B_202E_200E_202B_202D_200D_202D_200F_206A_202C_206F_202D_200E_200B_202C_206A_200D_202A_200D_200C_202B_200D_200C_206E_206A_206F_206E_206B_206A_206C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206C_200B_206A_202D_202A_200E_200E_202A_202D_202A_202A_202B_206B_206D_206A_200B_200B_200B_206E_200D_202C_206C_206D_206E_200B_206F_202B_200C_206F_202E_206C_202E_200E_206A_202D_206C_206B_206C_202B_206D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + private sealed record ZoneCurrentGroup(ushort TerritoryId, string ZoneName, ImmutableList Currents) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206C_206B_202B_200B_206D_202E_200E_200B_206B_200B_202C_200E_206A_202C_202E_200B_206C_200C_202B_202A_206D_200E_200C_206D_200D_202A_200E_206A_206D_206A_200E_202C_206C_200B_202B_206C_200E_200C_206E_202B_202E(typeof(ZoneCurrentGroup).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_200F_202B_206E_200B_206F_202A_206E_202D_206F_202D_206A_206D_200F_206D_200F_206F_202B_206C_202C_200E_200E_206C_202E_200C_200E_202E_202D_202C_206C_206B_206F_206F_200E_202A_200F_202B_202B_200C_206C_202E(); + _206D_202E_200F_200D_202E_200C_206E_200D_206D_206A_202A_202D_202A_200B_206F_200D_202B_200F_206E_206F_200F_202B_200E_202A_202E_206D_202D_200C_206A_206B_202A_200C_202A_202B_202D_206F_202B_202A_200E_206A_202E(stringBuilder, global::_003CModule_003E._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(534034741)); + _206D_202E_200F_200D_202E_200C_206E_200D_206D_206A_202A_202D_202A_200B_206F_200D_202B_200F_206E_206F_200F_202B_200E_202A_202E_206D_202D_200C_206A_206B_202A_200C_202A_202B_202D_206F_202B_202A_200E_206A_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? 2137363416 : 2137363419); + while (true) + { + int num2 = num; + int num3 = 2137363417; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 2137363419; + break; + case 2: + _200D_206A_206C_200C_206A_206D_202B_206E_202C_202A_200E_206E_202D_200B_200F_200B_206D_206F_200D_200F_200D_206D_200B_206E_202B_206F_206A_206E_206B_206D_206D_206B_200B_200C_206F_206B_200D_206B_200C_206A_202E(stringBuilder, ' '); + num = 2137363416; + break; + case 1: + _200D_206A_206C_200C_206A_206D_202B_206E_202C_202A_200E_206E_202D_200B_200F_200B_206D_206F_200D_200F_200D_206D_200B_206E_202B_206F_206A_206E_206B_206D_206D_206B_200B_200C_206F_206B_200D_206B_200C_206A_202E(stringBuilder, '}'); + return _200D_206C_206A_200B_206C_206D_202D_202B_202B_206A_200C_202C_206E_202B_202D_206D_200D_200B_206A_206B_206C_206E_202D_206B_200F_200B_202E_206F_202E_206C_206E_206F_200E_206C_200D_202E_206E_202E_206F_202B_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_200F_200C_200B_202C_200C_202D_202A_206F_200C_202C_206E_202E_200C_202A_200F_206E_200D_200F_206C_202B_200F_202D_200C_202C_206D_202E_200C_202E_206D_200C_206D_206E_202E_202D_202D_200E_206C_206A_202A_202E(); + _206D_202E_200F_200D_202E_200C_206E_200D_206D_206A_202A_202D_202A_200B_206F_200D_202B_200F_206E_206F_200F_202B_200E_202A_202E_206D_202D_200C_206A_206B_202A_200C_202A_202B_202D_206F_202B_202A_200E_206A_202E(builder, global::_003CModule_003E._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(-1030915870)); + _206D_202E_200F_200D_202E_200C_206E_200D_206D_206A_202A_202D_202A_200B_206F_200D_202B_200F_206E_206F_200F_202B_200E_202A_202E_206D_202D_200C_206A_206B_202A_200C_202A_202B_202D_206F_202B_202A_200E_206A_202E(builder, TerritoryId.ToString()); + _206D_202E_200F_200D_202E_200C_206E_200D_206D_206A_202A_202D_202A_200B_206F_200D_202B_200F_206E_206F_200F_202B_200E_202A_202E_206D_202D_200C_206A_206B_202A_200C_202A_202B_202D_206F_202B_202A_200E_206A_202E(builder, global::_003CModule_003E._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(1005439167)); + _202E_200C_200F_200D_206C_202D_202A_202C_200C_202A_200D_206B_206D_202A_200F_202E_200F_206C_200F_202E_200D_206B_202B_202D_206F_202A_206E_200D_206F_202C_202D_206C_200F_200E_200D_206A_206E_206E_200D_202C_202E(builder, (object)ZoneName); + _206D_202E_200F_200D_202E_200C_206E_200D_206D_206A_202A_202D_202A_200B_206F_200D_202B_200F_206E_206F_200F_202B_200E_202A_202E_206D_202D_200C_206A_206B_202A_200C_202A_202B_202D_206F_202B_202A_200E_206A_202E(builder, global::_003CModule_003E._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(-107322576)); + _202E_200C_200F_200D_206C_202D_202A_202C_200C_202A_200D_206B_206D_202A_200F_202E_200F_206C_200F_202E_200D_206B_202B_202D_206F_202A_206E_200D_206F_202C_202D_206C_200F_200E_200D_206A_206E_206E_200D_202C_202E(builder, (object)Currents); + return true; + } + + [CompilerGenerated] + public bool Equals(ZoneCurrentGroup? other) + { + int num = (((object)this == other) ? 241157465 : 241157466); + while (true) + { + int num2 = num; + int num3 = 241157468; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 241157466; + break; + case 4: + return false; + case 7: + num = ((!_206E_206B_202D_202D_206A_200D_206C_200E_206D_202C_202E_202B_206C_206E_206D_202D_202E_206C_202E_202B_202E_202E_206B_200C_200E_200E_202E_206F_202D_202B_206A_200E_206C_200C_206C_200D_206A_206A_202C_202E(EqualityContract, other.EqualityContract)) ? 241157464 : 241157468); + break; + case 6: + num = (((object)other == null) ? 241157464 : 241157467); + break; + case 3: + return EqualityComparer>.Default.Equals(Currents, other.Currents); + case 0: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? 241157464 : 241157469); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(ZoneName, other.ZoneName)) ? 241157464 : 241157471); + break; + case 5: + return true; + } + } + } + + bool IEquatable.Equals(ZoneCurrentGroup? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206C_206B_202B_200B_206D_202E_200E_200B_206B_200B_202C_200E_206A_202C_202E_200B_206C_200C_202B_202A_206D_200E_200C_206D_200D_202A_200E_206A_206D_206A_200E_202C_206C_200B_202B_206C_200E_200C_206E_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206F_200F_202B_206E_200B_206F_202A_206E_202D_206F_202D_206A_206D_200F_206D_200F_206F_202B_206C_202C_200E_200E_206C_202E_200C_200E_202E_202D_202C_206C_206B_206F_206F_200E_202A_200F_202B_202B_200C_206C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206D_202E_200F_200D_202E_200C_206E_200D_206D_206A_202A_202D_202A_200B_206F_200D_202B_200F_206E_206F_200F_202B_200E_202A_202E_206D_202D_200C_206A_206B_202A_200C_202A_202B_202D_206F_202B_202A_200E_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_206A_206C_200C_206A_206D_202B_206E_202C_202A_200E_206E_202D_200B_200F_200B_206D_206F_200D_200F_200D_206D_200B_206E_202B_206F_206A_206E_206B_206D_206D_206B_200B_200C_206F_206B_200D_206B_200C_206A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200D_206C_206A_200B_206C_206D_202D_202B_202B_206A_200C_202C_206E_202B_202D_206D_200D_200B_206A_206B_206C_206E_202D_206B_200F_200B_202E_206F_202E_206C_206E_206F_200E_206C_200D_202E_206E_202E_206F_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206C_200F_200C_200B_202C_200C_202D_202A_206F_200C_202C_206E_202E_200C_202A_200F_206E_200D_200F_206C_202B_200F_202D_200C_202C_206D_202E_200C_202E_206D_200C_206D_206E_202E_202D_202D_200E_206C_206A_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202E_200C_200F_200D_206C_202D_202A_202C_200C_202A_200D_206B_206D_202A_200F_202E_200F_206C_200F_202E_200D_206B_202B_202D_206F_202A_206E_200D_206F_202C_202D_206C_200F_200E_200D_206A_206E_206E_200D_202C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206E_206B_202D_202D_206A_200D_206C_200E_206D_202C_202E_202B_206C_206E_206D_202D_202E_206C_202E_202B_202E_202E_206B_200C_200E_200E_202E_206F_202D_202B_206A_200E_206C_200C_206C_200D_206A_206A_202C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + private sealed record CurrentEntry(uint AetherCurrentId, bool IsQuestGated, uint QuestId, string QuestName) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_200B_206A_206E_202D_202D_200B_200B_200C_202E_200E_206B_206D_200E_202C_206B_202E_202C_200C_202A_202D_200C_202A_206E_206F_202E_206D_200C_206F_206E_200C_206B_200F_202A_206A_202D_202E_206C_200C_202B_202E(typeof(CurrentEntry).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206A_202A_206E_206D_202E_202E_206A_206A_206A_200B_206E_206F_202D_202B_200F_206D_202B_202D_202B_206B_200E_202B_202C_206A_202E_206B_202A_200C_200D_202E_206D_200F_200D_206A_202D_200B_206B_200E_202A_202B_202E(); + _200C_206B_200B_206B_200D_200B_202B_200F_206F_200F_202E_206D_202D_202E_200F_200F_206F_206E_206F_202A_202A_202D_206D_206B_200D_200D_200B_200B_202B_200E_206C_202A_200C_206D_206B_200C_200C_206E_200B_202E_202E(stringBuilder, global::_003CModule_003E._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(-1337973380)); + _200C_206B_200B_206B_200D_200B_202B_200F_206F_200F_202E_206D_202D_202E_200F_200F_206F_206E_206F_202A_202A_202D_206D_206B_200D_200D_200B_200B_202B_200E_206C_202A_200C_206D_206B_200C_200C_206E_200B_202E_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? (-116101333) : (-116101336)); + while (true) + { + int num2 = num; + int num3 = -116101334; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -116101336; + break; + case 1: + _202C_206A_206C_202A_206E_200C_202B_206A_206B_202E_206C_206B_206D_200F_200E_206E_206A_202B_206F_202C_200D_206B_202C_206B_202C_200C_206C_200F_200D_200E_200E_206A_202A_206C_202B_206A_202C_200B_202E_202D_202E(stringBuilder, '}'); + return _200D_202D_200C_200F_206C_202D_206A_202B_206E_202A_206D_206F_206B_202C_200F_200C_206F_202A_206B_202D_202A_206D_200D_202E_206C_202B_200E_206A_202A_202C_206D_206D_202D_206B_200F_202A_202C_200D_206B_202D_202E((object)stringBuilder); + case 2: + _202C_206A_206C_202A_206E_200C_202B_206A_206B_202E_206C_206B_206D_200F_200E_206E_206A_202B_206F_202C_200D_206B_202C_206B_202C_200C_206C_200F_200D_200E_200E_206A_202A_206C_202B_206A_202C_200B_202E_202D_202E(stringBuilder, ' '); + num = -116101333; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_200D_200F_200B_200B_206C_202D_206D_200F_200F_206F_200D_200B_200D_200E_202A_200F_200E_202E_200B_202E_202A_200C_202B_200C_206F_200D_206C_200C_206D_206B_200F_206D_200E_206F_202C_200D_206C_202A_206E_202E(); + _200C_206B_200B_206B_200D_200B_202B_200F_206F_200F_202E_206D_202D_202E_200F_200F_206F_206E_206F_202A_202A_202D_206D_206B_200D_200D_200B_200B_202B_200E_206C_202A_200C_206D_206B_200C_200C_206E_200B_202E_202E(builder, global::_003CModule_003E._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(699491945)); + _200C_206B_200B_206B_200D_200B_202B_200F_206F_200F_202E_206D_202D_202E_200F_200F_206F_206E_206F_202A_202A_202D_206D_206B_200D_200D_200B_200B_202B_200E_206C_202A_200C_206D_206B_200C_200C_206E_200B_202E_202E(builder, AetherCurrentId.ToString()); + _200C_206B_200B_206B_200D_200B_202B_200F_206F_200F_202E_206D_202D_202E_200F_200F_206F_206E_206F_202A_202A_202D_206D_206B_200D_200D_200B_200B_202B_200E_206C_202A_200C_206D_206B_200C_200C_206E_200B_202E_202E(builder, global::_003CModule_003E._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(-1615513651)); + _200C_206B_200B_206B_200D_200B_202B_200F_206F_200F_202E_206D_202D_202E_200F_200F_206F_206E_206F_202A_202A_202D_206D_206B_200D_200D_200B_200B_202B_200E_206C_202A_200C_206D_206B_200C_200C_206E_200B_202E_202E(builder, IsQuestGated.ToString()); + _200C_206B_200B_206B_200D_200B_202B_200F_206F_200F_202E_206D_202D_202E_200F_200F_206F_206E_206F_202A_202A_202D_206D_206B_200D_200D_200B_200B_202B_200E_206C_202A_200C_206D_206B_200C_200C_206E_200B_202E_202E(builder, global::_003CModule_003E._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(-794801667)); + _200C_206B_200B_206B_200D_200B_202B_200F_206F_200F_202E_206D_202D_202E_200F_200F_206F_206E_206F_202A_202A_202D_206D_206B_200D_200D_200B_200B_202B_200E_206C_202A_200C_206D_206B_200C_200C_206E_200B_202E_202E(builder, QuestId.ToString()); + _200C_206B_200B_206B_200D_200B_202B_200F_206F_200F_202E_206D_202D_202E_200F_200F_206F_206E_206F_202A_202A_202D_206D_206B_200D_200D_200B_200B_202B_200E_206C_202A_200C_206D_206B_200C_200C_206E_200B_202E_202E(builder, global::_003CModule_003E._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(-892118397)); + _202E_206E_202C_200D_206F_200E_202A_200D_200F_206E_200D_200E_206C_200E_200F_202C_200C_206A_202C_200B_202B_202B_206F_200B_206B_202C_200B_206C_206C_206C_200E_206D_206F_200F_200E_206B_200B_202D_206A_200F_202E(builder, (object)QuestName); + return true; + } + + [CompilerGenerated] + public bool Equals(CurrentEntry? other) + { + int num = (((object)this == other) ? 516498834 : 516498833); + while (true) + { + int num2 = num; + int num3 = 516498832; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return false; + case 1: + num = (((object)other == null) ? 516498835 : 516498839); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(AetherCurrentId, other.AetherCurrentId)) ? 516498835 : 516498840); + break; + case 7: + num = ((!_200B_202C_202D_200B_200B_200B_206F_206E_200B_200C_202B_202E_202B_202A_200F_202A_200C_202E_206B_202C_200D_202A_206C_206A_206E_200D_202D_200F_206A_206A_202D_202B_200E_200B_206A_200F_206B_206D_202E_200D_202E(EqualityContract, other.EqualityContract)) ? 516498835 : 516498838); + break; + case 2: + return true; + case 5: + return EqualityComparer.Default.Equals(QuestName, other.QuestName); + case 0: + num = ((!EqualityComparer.Default.Equals(QuestId, other.QuestId)) ? 516498835 : 516498837); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(IsQuestGated, other.IsQuestGated)) ? 516498835 : 516498832); + break; + case 4: + num = 516498833; + break; + } + } + } + + bool IEquatable.Equals(CurrentEntry? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_200B_206A_206E_202D_202D_200B_200B_200C_202E_200E_206B_206D_200E_202C_206B_202E_202C_200C_202A_202D_200C_202A_206E_206F_202E_206D_200C_206F_206E_200C_206B_200F_202A_206A_202D_202E_206C_200C_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206A_202A_206E_206D_202E_202E_206A_206A_206A_200B_206E_206F_202D_202B_200F_206D_202B_202D_202B_206B_200E_202B_202C_206A_202E_206B_202A_200C_200D_202E_206D_200F_200D_206A_202D_200B_206B_200E_202A_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200C_206B_200B_206B_200D_200B_202B_200F_206F_200F_202E_206D_202D_202E_200F_200F_206F_206E_206F_202A_202A_202D_206D_206B_200D_200D_200B_200B_202B_200E_206C_202A_200C_206D_206B_200C_200C_206E_200B_202E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_206A_206C_202A_206E_200C_202B_206A_206B_202E_206C_206B_206D_200F_200E_206E_206A_202B_206F_202C_200D_206B_202C_206B_202C_200C_206C_200F_200D_200E_200E_206A_202A_206C_202B_206A_202C_200B_202E_202D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200D_202D_200C_200F_206C_202D_206A_202B_206E_202A_206D_206F_206B_202C_200F_200C_206F_202A_206B_202D_202A_206D_200D_202E_206C_202B_200E_206A_202A_202C_206D_206D_202D_206B_200F_202A_202C_200D_206B_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202B_200D_200F_200B_200B_206C_202D_206D_200F_200F_206F_200D_200B_200D_200E_202A_200F_200E_202E_200B_202E_202A_200C_202B_200C_206F_200D_206C_200C_206D_206B_200F_206D_200E_206F_202C_200D_206C_202A_206E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202E_206E_202C_200D_206F_200E_202A_200D_200F_206E_200D_200E_206C_200E_200F_202C_200C_206A_202C_200B_202B_202B_206F_200B_206B_202C_200B_206C_206C_206C_200E_206D_206F_200F_200E_206B_200B_202D_206A_200F_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200B_202C_202D_200B_200B_200B_206F_206E_200B_200C_202B_202E_202B_202A_200F_202A_200C_202E_206B_202C_200D_202A_206C_206A_206E_200D_202D_200F_206A_206A_202D_202B_200E_200B_206A_200F_206B_206D_202E_200D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + private sealed record ExpansionGroup(string ExpansionName, ImmutableList Items, byte SortOrder = 0) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_202D_206E_206F_200E_202D_200D_202B_200B_200D_206F_206F_206A_200E_206E_206C_202A_206A_200D_202C_206F_202B_200D_206A_200B_206C_202D_200B_200B_206B_206A_200B_206A_206F_200F_206A_206C_202E_202C_202B_202E(typeof(ExpansionGroup).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_206B_206D_200E_202D_202C_200D_200F_202D_206D_202C_206B_200B_206C_200D_202D_206E_202C_202A_202D_202E_206E_200B_206A_206A_206F_200C_206C_206D_202A_202B_202A_206E_206A_200D_202B_206D_206F_206E_206D_202E(); + _200C_200D_200B_200E_200C_206F_206E_206C_200F_206F_206C_200B_200F_202D_202A_206D_200B_200D_202D_206E_206E_206C_200D_206F_200B_202B_202C_202D_206F_202A_202D_202A_206B_206D_200F_206F_200B_200B_206D_202E(stringBuilder, global::_003CModule_003E._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(1305703596)); + _200C_200D_200B_200E_200C_206F_206E_206C_200F_206F_206C_200B_200F_202D_202A_206D_200B_200D_202D_206E_206E_206C_200D_206F_200B_202B_202C_202D_206F_202A_202D_202A_206B_206D_200F_206F_200B_200B_206D_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? 920434898 : 920434899); + while (true) + { + int num2 = num; + int num3 = 920434898; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _202E_200F_200B_206F_202A_202A_202E_202B_202D_206E_200D_206F_200C_202D_200B_206D_200E_202E_206D_206B_200B_200D_202B_202E_202A_202E_206A_200B_206F_200F_206C_206C_206B_202B_206E_200E_206F_200D_200F_202E_202E(stringBuilder, '}'); + return _200E_206B_202C_202C_206F_206A_200E_206A_206D_200E_202B_200B_200B_206A_206B_202E_202A_202E_206D_200F_202C_200C_200E_202C_206F_200D_206C_206E_206F_200F_202A_206C_206D_206F_202C_200C_206A_200B_206B_202C_202E((object)stringBuilder); + case 1: + _202E_200F_200B_206F_202A_202A_202E_202B_202D_206E_200D_206F_200C_202D_200B_206D_200E_202E_206D_206B_200B_200D_202B_202E_202A_202E_206A_200B_206F_200F_206C_206C_206B_202B_206E_200E_206F_200D_200F_202E_202E(stringBuilder, ' '); + num = 920434898; + break; + case 2: + num = 920434899; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_202D_202A_206F_200F_206B_200D_200C_200D_200C_200D_202A_206D_206E_206C_206A_202C_206B_206E_202A_206F_200D_202A_206E_202C_202E_200B_206E_206C_206E_200B_202B_200B_202C_206B_202D_202A_202B_206D_206A_202E(); + _200C_200D_200B_200E_200C_206F_206E_206C_200F_206F_206C_200B_200F_202D_202A_206D_200B_200D_202D_206E_206E_206C_200D_206F_200B_202B_202C_202D_206F_202A_202D_202A_206B_206D_200F_206F_200B_200B_206D_202E(builder, global::_003CModule_003E._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(-1229333129)); + _206E_200D_202E_200C_200D_206D_202B_206D_202B_200B_206E_200C_206D_206B_206B_206B_200B_200C_200E_202B_206D_200C_200B_206E_206F_206D_206C_202D_206F_202D_206D_202D_200B_200B_200E_206E_206B_200D_200E_200E_202E(builder, (object)ExpansionName); + _200C_200D_200B_200E_200C_206F_206E_206C_200F_206F_206C_200B_200F_202D_202A_206D_200B_200D_202D_206E_206E_206C_200D_206F_200B_202B_202C_202D_206F_202A_202D_202A_206B_206D_200F_206F_200B_200B_206D_202E(builder, global::_003CModule_003E._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(1428745784)); + _206E_200D_202E_200C_200D_206D_202B_206D_202B_200B_206E_200C_206D_206B_206B_206B_200B_200C_200E_202B_206D_200C_200B_206E_206F_206D_206C_202D_206F_202D_206D_202D_200B_200B_200E_206E_206B_200D_200E_200E_202E(builder, (object)Items); + _200C_200D_200B_200E_200C_206F_206E_206C_200F_206F_206C_200B_200F_202D_202A_206D_200B_200D_202D_206E_206E_206C_200D_206F_200B_202B_202C_202D_206F_202A_202D_202A_206B_206D_200F_206F_200B_200B_206D_202E(builder, global::_003CModule_003E._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(507871010)); + _200C_200D_200B_200E_200C_206F_206E_206C_200F_206F_206C_200B_200F_202D_202A_206D_200B_200D_202D_206E_206E_206C_200D_206F_200B_202B_202C_202D_206F_202A_202D_202A_206B_206D_200F_206F_200B_200B_206D_202E(builder, SortOrder.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(ExpansionGroup? other) + { + int num = (((object)this == other) ? 73841765 : 73841760); + while (true) + { + int num2 = num; + int num3 = 73841767; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = ((!EqualityComparer.Default.Equals(ExpansionName, other.ExpansionName)) ? 73841761 : 73841763); + break; + case 2: + return true; + case 7: + num = (((object)other == null) ? 73841761 : 73841762); + break; + case 4: + num = ((!EqualityComparer>.Default.Equals(Items, other.Items)) ? 73841761 : 73841766); + break; + case 6: + return false; + case 5: + num = ((!_202B_206A_200D_206B_200D_200D_202A_200B_200C_206E_206A_206F_206C_206A_200E_202C_200F_206C_200D_206F_202C_200C_202D_202A_200D_202A_202D_202A_202A_200B_202D_202E_200F_206F_202A_206F_200F_206E_200E_202D_202E(EqualityContract, other.EqualityContract)) ? 73841761 : 73841767); + break; + case 3: + num = 73841760; + break; + case 1: + return EqualityComparer.Default.Equals(SortOrder, other.SortOrder); + } + } + } + + bool IEquatable>.Equals(ExpansionGroup? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_202D_206E_206F_200E_202D_200D_202B_200B_200D_206F_206F_206A_200E_206E_206C_202A_206A_200D_202C_206F_202B_200D_206A_200B_206C_202D_200B_200B_206B_206A_200B_206A_206F_200F_206A_206C_202E_202C_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206F_206B_206D_200E_202D_202C_200D_200F_202D_206D_202C_206B_200B_206C_200D_202D_206E_202C_202A_202D_202E_206E_200B_206A_206A_206F_200C_206C_206D_202A_202B_202A_206E_206A_200D_202B_206D_206F_206E_206D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200C_200D_200B_200E_200C_206F_206E_206C_200F_206F_206C_200B_200F_202D_202A_206D_200B_200D_202D_206E_206E_206C_200D_206F_200B_202B_202C_202D_206F_202A_202D_202A_206B_206D_200F_206F_200B_200B_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202E_200F_200B_206F_202A_202A_202E_202B_202D_206E_200D_206F_200C_202D_200B_206D_200E_202E_206D_206B_200B_200D_202B_202E_202A_202E_206A_200B_206F_200F_206C_206C_206B_202B_206E_200E_206F_200D_200F_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200E_206B_202C_202C_206F_206A_200E_206A_206D_200E_202B_200B_200B_206A_206B_202E_202A_202E_206D_200F_202C_200C_200E_202C_206F_200D_206C_206E_206F_200F_202A_206C_206D_206F_202C_200C_206A_200B_206B_202C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206D_202D_202A_206F_200F_206B_200D_200C_200D_200C_200D_202A_206D_206E_206C_206A_202C_206B_206E_202A_206F_200D_202A_206E_202C_202E_200B_206E_206C_206E_200B_202B_200B_202C_206B_202D_202A_202B_206D_206A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206E_200D_202E_200C_200D_206D_202B_206D_202B_200B_206E_200C_206D_206B_206B_206B_200B_200C_200E_202B_206D_200C_200B_206E_206F_206D_206C_202D_206F_202D_206D_202D_200B_200B_200E_206E_206B_200D_200E_200E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202B_206A_200D_206B_200D_200D_202A_200B_200C_206E_206A_206F_206C_206A_200E_202C_200F_206C_200D_206F_202C_200C_202D_202A_200D_202A_202D_202A_202A_200B_202D_202E_200F_206F_202A_206F_200F_206E_200E_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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; } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass67_0 + { + public ExcelSheet territorySheet; + + public AttunementJournalComponent _003C_003E4__this; + + public ExcelSheet aetheryteSheet; + + public ExcelSheet questSheet; + + public Func, string> _003C_003E9__17; + + public Func _003C_003E9__19; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal (string Name, byte SortOrder) _003CInitializeData_003Eb__0(AetheryteEntry a) + { + TerritoryType? rowOrDefault = territorySheet.GetRowOrDefault(a.TerritoryId); + int num = (rowOrDefault.HasValue ? 1176503751 : 1176503747); + ExVersion? exVersion = default(ExVersion?); + while (true) + { + int num2 = num; + int num3 = 1176503751; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + ExVersion? obj; + object obj2; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 2: + num = 1176503747; + continue; + case 4: + obj = null; + break; + case 3: + obj2 = exVersion.GetValueOrDefault().Name.ToString(); + goto IL_00b1; + case 1: + obj2 = null; + goto IL_00b1; + case 0: + { + obj = rowOrDefault.GetValueOrDefault().ExVersion.ValueNullable; + break; + } + IL_00b1: + if (obj2 == null) + { + obj2 = global::_003CModule_003E._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(-1261156168); + } + return (Name: (string)obj2, SortOrder: (byte)(exVersion?.RowId ?? 0)); + } + exVersion = obj; + num = (exVersion.HasValue ? 1176503748 : 1176503750); + } + } + + internal ushort _003CInitializeData_003Eb__4(AetheryteEntry a) + { + return _200E_200D_206B_206E_202D_206F_200E_202A_202D_206A_206A_206B_202D_202D_200E_202A_202A_202D_200D_206E_206F_200C_200E_200D_200E_200F_206C_206F_206B_206B_200F_200B_200F_200B_200D_202C_202E_206B_206F_206A_202E(_003C_003E4__this._aetheryteData).GetValueOrDefault(a.Location); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal CityGroup _003CInitializeData_003Eb__6(IGrouping g) + { + _003C_003Ec__DisplayClass67_1 CS_0024_003C_003E8__locals2 = new _003C_003Ec__DisplayClass67_1 + { + groupId = g.Key + }; + string text = _200E_200D_206B_206E_202D_206F_200E_202A_202D_206A_206A_206B_202D_202D_200E_202A_202A_202D_200D_206E_206F_200C_200E_200D_200E_200F_206C_206F_206B_206B_200F_200B_200F_200B_200D_202C_202E_206B_206F_206A_202E(_003C_003E4__this._aetheryteData).Where(delegate(KeyValuePair kv) + { + int num7 = ((kv.Value != CS_0024_003C_003E8__locals2.groupId) ? 1506024622 : 1506024621); + while (true) + { + int num8 = num7; + int num9 = 1506024623; + int num10 = num8; + switch ((num10 | num9) - (num10 & num9)) + { + case 0: + goto IL_004d; + case 2: + return _003C_003Ec__DisplayClass67_1._202A_206F_206C_202D_200C_200F_206C_206A_206B_200E_200E_206F_206F_206F_206E_206E_206C_202D_200F_200E_200C_200D_202D_202E_200C_200E_202B_206E_206D_206A_200C_206B_206F_206E_200C_206F_202D_202C_202C_206C_202E(kv.Key); + case 1: + return false; + } + continue; + IL_004d: + num7 = 1506024621; + } + }).Select(delegate(KeyValuePair kv) + { + Lumina.Excel.Sheets.Aetheryte? rowOrDefault = aetheryteSheet.GetRowOrDefault((uint)kv.Key); + int num7 = (rowOrDefault.HasValue ? 665015300 : 665015303); + while (true) + { + int num8 = num7; + int num9 = 665015301; + int num10 = num8; + switch ((num10 | num9) - (num10 & num9)) + { + case 1: + return rowOrDefault.GetValueOrDefault().PlaceName.ValueNullable?.Name.ToString(); + case 2: + return (string)null; + case 0: + goto IL_00ab; + } + continue; + IL_00ab: + num7 = 665015303; + } + }).FirstOrDefault(); + int num = ((!_200E_202C_200E_206C_206F_206C_206E_206A_200D_202A_202C_206E_202A_206A_200F_206B_206F_202B_206D_206D_202B_206B_202E_200F_200B_200B_206F_206C_200B_206D_206E_206D_202E_200D_202D_200F_200E_202B_206E_206D_202E(text)) ? 875556706 : 875556705); + while (true) + { + int num2 = num; + int num3 = 875556707; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return new CityGroup(text, g.OrderBy((AetheryteEntry a) => a.Name).ToImmutableList()); + case 2: + { + ushort territoryId = g.First().TerritoryId; + object obj = territorySheet.GetRowOrDefault(territoryId)?.PlaceName.ValueNullable?.Name.ToString(); + if (obj == null) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(636653864)); + defaultInterpolatedStringHandler.AppendFormatted(CS_0024_003C_003E8__locals2.groupId); + obj = defaultInterpolatedStringHandler.ToStringAndClear(); + } + text = (string)obj; + num = 875556706; + break; + } + case 0: + num = 875556705; + break; + } + } + } + + internal string _003CInitializeData_003Eb__17(KeyValuePair kv) + { + Lumina.Excel.Sheets.Aetheryte? rowOrDefault = aetheryteSheet.GetRowOrDefault((uint)kv.Key); + int num = (rowOrDefault.HasValue ? 665015300 : 665015303); + while (true) + { + int num2 = num; + int num3 = 665015301; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return rowOrDefault.GetValueOrDefault().PlaceName.ValueNullable?.Name.ToString(); + case 2: + return null; + case 0: + goto IL_00ab; + } + continue; + IL_00ab: + num = 665015303; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal (ushort territoryId, string zoneName, string expansionName, byte sortOrder, ImmutableList currents) _003CInitializeData_003Eb__9(KeyValuePair> kv) + { + ushort key = kv.Key; + TerritoryType? rowOrDefault = territorySheet.GetRowOrDefault(key); + int num = (rowOrDefault.HasValue ? 1752178972 : 1752178960); + ExVersion? exVersion = default(ExVersion?); + byte item = default(byte); + string item2 = default(string); + while (true) + { + int num2 = num; + int num3 = 1752178964; + int num4 = num2; + int num5; + object obj3; + object obj2; + ExVersion? obj; + string item3; + ImmutableList item4; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 7: + num5 = (int)exVersion.GetValueOrDefault().RowId; + goto IL_008d; + case 3: + obj3 = exVersion.GetValueOrDefault().Name.ToString(); + goto IL_00d3; + case 8: + obj2 = rowOrDefault.GetValueOrDefault().PlaceName.ValueNullable?.Name.ToString(); + goto IL_0177; + case 1: + obj3 = null; + goto IL_00d3; + case 0: + num5 = 0; + goto IL_008d; + case 2: + num = 1752178960; + continue; + case 6: + obj = rowOrDefault.GetValueOrDefault().ExVersion.ValueNullable; + break; + case 4: + obj2 = null; + goto IL_0177; + case 5: + { + obj = null; + break; + } + IL_008d: + item = (byte)num5; + num = (exVersion.HasValue ? 1752178967 : 1752178965); + continue; + IL_0177: + if (obj2 == null) + { + obj2 = key.ToString(_206B_202D_200D_200E_206C_206D_202E_200E_202C_206C_200C_200C_202B_200B_206F_202B_206C_200D_206B_206D_200E_200B_200C_202A_200D_202E_200D_200B_200D_202D_202C_206E_206E_202D_200B_200D_202E_206B_206D_200D_202E()); + } + item2 = (string)obj2; + num = (rowOrDefault.HasValue ? 1752178962 : 1752178961); + continue; + IL_00d3: + if (obj3 == null) + { + obj3 = global::_003CModule_003E._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(1925248335); + } + item3 = (string)obj3; + item4 = kv.Value.Select(delegate(AetherCurrentInfo info) + { + string questName = string.Empty; + int num6 = ((!info.IsQuestGated) ? (-733306427) : (-733306432)); + Lumina.Excel.Sheets.Quest? rowOrDefault2 = default(Lumina.Excel.Sheets.Quest?); + while (true) + { + int num7 = num6; + int num8 = -733306428; + int num9 = num7; + object obj4; + switch ((num9 | num8) - (num9 & num8)) + { + case 5: + rowOrDefault2 = questSheet.GetRowOrDefault(info.QuestId); + num6 = (rowOrDefault2.HasValue ? (-733306425) : (-733306426)); + break; + case 3: + obj4 = rowOrDefault2.GetValueOrDefault().Name.ToString(); + goto IL_00b4; + case 2: + obj4 = null; + goto IL_00b4; + case 0: + num6 = -733306432; + break; + case 4: + num6 = ((info.QuestId == 0) ? (-733306427) : (-733306431)); + break; + case 1: + { + return new CurrentEntry(info.AetherCurrentId, info.IsQuestGated, info.QuestId, questName); + } + IL_00b4: + if (obj4 == null) + { + obj4 = string.Empty; + } + questName = (string)obj4; + num6 = -733306427; + break; + } + } + }).ToImmutableList(); + return (territoryId: key, zoneName: item2, expansionName: item3, sortOrder: item, currents: item4); + } + exVersion = obj; + num = (exVersion.HasValue ? 1752178963 : 1752178964); + } + } + + internal CurrentEntry _003CInitializeData_003Eb__19(AetherCurrentInfo info) + { + string questName = string.Empty; + int num = ((!info.IsQuestGated) ? (-733306427) : (-733306432)); + Lumina.Excel.Sheets.Quest? rowOrDefault = default(Lumina.Excel.Sheets.Quest?); + while (true) + { + int num2 = num; + int num3 = -733306428; + int num4 = num2; + object obj; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + rowOrDefault = questSheet.GetRowOrDefault(info.QuestId); + num = (rowOrDefault.HasValue ? (-733306425) : (-733306426)); + break; + case 3: + obj = rowOrDefault.GetValueOrDefault().Name.ToString(); + goto IL_00b4; + case 2: + obj = null; + goto IL_00b4; + case 0: + num = -733306432; + break; + case 4: + num = ((info.QuestId == 0) ? (-733306427) : (-733306431)); + break; + case 1: + { + return new CurrentEntry(info.AetherCurrentId, info.IsQuestGated, info.QuestId, questName); + } + IL_00b4: + if (obj == null) + { + obj = string.Empty; + } + questName = (string)obj; + num = -733306427; + break; + } + } + } + + static ReadOnlyDictionary _200E_200D_206B_206E_202D_206F_200E_202A_202D_206A_206A_206B_202D_202D_200E_202A_202A_202D_200D_206E_206F_200C_200E_200D_200E_200F_206C_206F_206B_206B_200F_200B_200F_200B_200D_202C_202E_206B_206F_206A_202E(AetheryteData P_0) + { + return P_0.AethernetGroups; + } + + static bool _200E_202C_200E_206C_206F_206C_206E_206A_200D_202A_202C_206E_202A_206A_200F_206B_206F_202B_206D_206D_202B_206B_202E_200F_200B_200B_206F_206C_200B_206D_206E_206D_202E_200D_202D_200F_200E_202B_206E_206D_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static CultureInfo _206B_202D_200D_200E_206C_206D_202E_200E_202C_206C_200C_200C_202B_200B_206F_202B_206C_200D_206B_206D_200E_200B_200C_202A_200D_202E_200D_200B_200D_202D_202C_206E_206E_202D_200B_200D_202E_206B_206D_200D_202E() + { + return CultureInfo.InvariantCulture; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass67_1 + { + public ushort groupId; + + internal bool _003CInitializeData_003Eb__16(KeyValuePair kv) + { + int num = ((kv.Value != groupId) ? 1506024622 : 1506024621); + while (true) + { + int num2 = num; + int num3 = 1506024623; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004d; + case 2: + return _202A_206F_206C_202D_200C_200F_206C_206A_206B_200E_200E_206F_206F_206F_206E_206E_206C_202D_200F_200E_200C_200D_202D_202E_200C_200E_202B_206E_206D_206A_200C_206B_206F_206E_200C_206F_202D_202C_202C_206C_202E(kv.Key); + case 1: + return false; + } + continue; + IL_004d: + num = 1506024621; + } + } + + static bool _202A_206F_206C_202D_200C_200F_206C_206A_206B_200E_200E_206F_206F_206F_206E_206E_206C_202D_200F_200E_200C_200D_202D_202E_200C_200E_202B_206E_206D_206A_200C_206B_206F_206E_200C_206F_202D_202C_202C_206C_202E(EAetheryteLocation P_0) + { + return AetheryteConverter.IsLargeAetheryte(P_0); + } + } + + 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 = _206C_200C_200B_206C_202E_202B_206D_206C_202A_206C_206A_200D_206A_206F_206D_200C_200F_200D_202D_206D_200F_202C_202B_206C_202E_202E_202B_206A_206D_206C_202D_200B_200D_206A_200F_206A_200D_200F_200B_206E_202E(9999.ToString(_202A_200B_206B_206F_202C_200C_200E_200D_206C_202C_202A_202D_202A_200B_206A_206A_206B_202E_206B_202D_206F_202C_202B_200D_206E_206B_206A_206D_200F_206F_202E_200D_206F_202B_202A_206E_206F_200D_206F_202A_202E())); + + 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(); + IEnumerator enumerator = _200F_202C_200C_206C_206E_206E_200F_200F_206F_206D_206D_206B_200E_206C_202B_206F_202B_206F_206A_202A_200D_200D_202D_202D_202C_202E_206A_202D_206A_200F_202E_206F_202A_200E_206B_202A_206D_202C_202D_206F_202E(_aetheryteData).Keys.GetEnumerator(); + try + { + int num = -1496383647; + AetheryteEntry item = default(AetheryteEntry); + EAetheryteLocation current = default(EAetheryteLocation); + ushort valueOrDefault = default(ushort); + Lumina.Excel.Sheets.Aetheryte? rowOrDefault = default(Lumina.Excel.Sheets.Aetheryte?); + string name = default(string); + uint value = default(uint); + while (true) + { + int num2 = num; + int num3 = -1496383636; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + object obj; + int num7; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 5: + num = -1496383647; + continue; + case 12: + list2.Add(item); + num = -1496383647; + continue; + case 1: + current = enumerator.Current; + valueOrDefault = _200C_206F_200C_200E_200B_206B_206D_202A_206A_200B_202E_202D_206B_200E_206B_200E_202D_200F_206C_200B_200E_206A_200F_206E_202A_202E_206E_200B_206E_202A_200F_202E_202E_202B_200C_200B_202A_200F_206D_206E_202E(_aetheryteData).GetValueOrDefault(current); + rowOrDefault = aetheryteSheet.GetRowOrDefault((uint)current); + num = (rowOrDefault.HasValue ? (-1496383640) : (-1496383638)); + continue; + case 7: + name = rowOrDefault.Value.AethernetName.ValueNullable?.Name.ToString() ?? current.ToString(); + list2.Add(new AetheryteEntry(current, name, valueOrDefault)); + num = -1496383647; + continue; + case 9: + name = rowOrDefault.Value.PlaceName.ValueNullable?.Name.ToString() ?? current.ToString(); + list.Add(new AetheryteEntry(current, name, valueOrDefault)); + num = -1496383647; + continue; + case 4: + num = ((!_202E_206A_200B_206C_202C_206D_206F_200B_206B_206E_206E_206E_206B_206E_202D_200B_206A_200E_206E_200E_200E_200D_202E_202B_202E_206C_202C_206E_202B_206E_206E_202C_206B_202D_200C_206D_206A_200C_200B_206D_202E(current)) ? (-1496383637) : (-1496383643)); + continue; + case 11: + obj = excelSheet.GetRowOrDefault(value)?.Name.ToString() ?? current.ToString(); + goto IL_02e2; + case 13: + num = (_206B_206A_202E_200B_202E_202D_202C_202A_206D_200C_200D_200B_200E_206E_202A_200B_202B_202A_200B_202B_200D_206C_206C_200E_206A_206B_206C_206B_206B_200F_202E_206C_202A_206A_202A_202C_206F_206C_206B_206A_202E((IEnumerator)enumerator) ? (-1496383635) : (-1496383644)); + continue; + case 6: + num = (FirmamentPlaceNameIds.TryGetValue(current, out value) ? (-1496383641) : (-1496383633)); + continue; + case 10: + list.Add(item); + num = -1496383647; + continue; + case 2: + num7 = 0; + break; + case 0: + num7 = ((!_202E_206A_200B_206C_202C_206D_206F_200B_206B_206E_206E_206E_206B_206E_202D_200B_206A_200E_206E_200E_200E_200D_202E_202B_202E_206C_202C_206E_202B_206E_206E_202C_206B_202D_200C_206D_206A_200C_200B_206D_202E(current)) ? 1 : 0); + break; + case 3: + obj = current.ToString(); + goto IL_02e2; + case 8: + goto end_IL_00a7; + IL_02e2: + name = (string)obj; + num = ((!_200F_206F_202E_202D_202D_206B_200C_206D_202B_202E_206B_200F_202E_200B_200F_206B_200F_200C_202A_206D_206B_206E_200D_206E_206C_202A_200F_200B_202B_206B_206C_200C_200B_206D_200E_206C_206B_206C_200B_202C_202E(_aetheryteData).ContainsKey(current)) ? (-1496383634) : (-1496383636)); + continue; + } + item = new AetheryteEntry(current, name, valueOrDefault); + num = ((num7 == 0) ? (-1496383642) : (-1496383648)); + continue; + end_IL_00a7: + break; + } + } + finally + { + int num = ((enumerator == null) ? (-1787889750) : (-1787889751)); + while (true) + { + int num8 = num; + int num3 = -1787889752; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1787889751; + break; + case 1: + _200C_200B_200F_202E_206F_202B_202B_202B_200E_206F_206E_202D_202E_200D_206C_200C_200E_206D_206A_202B_206D_206F_202E_206A_202C_206C_202B_200B_206B_200B_202B_206C_206D_206D_206E_202D_202D_206C_200B_202E_202E((IDisposable)enumerator); + num = -1787889750; + break; + case 2: + goto end_IL_03fe; + } + continue; + end_IL_03fe: + break; + } + } + _aetherytesByExpansion = (from g in list.GroupBy([MethodImpl(MethodImplOptions.NoInlining)] (AetheryteEntry a) => + { + TerritoryType? rowOrDefault2 = territorySheet.GetRowOrDefault(a.TerritoryId); + int num9 = (rowOrDefault2.HasValue ? 1176503751 : 1176503747); + ExVersion? exVersion = default(ExVersion?); + while (true) + { + int num10 = num9; + int num11 = 1176503751; + int num12 = num10; + int num13 = num12 + num11; + int num14 = num12 & num11; + ExVersion? obj2; + object obj3; + switch (num13 - (num14 + num14)) + { + default: + continue; + case 2: + num9 = 1176503747; + continue; + case 4: + obj2 = null; + break; + case 3: + obj3 = exVersion.GetValueOrDefault().Name.ToString(); + goto IL_00b1; + case 1: + obj3 = null; + goto IL_00b1; + case 0: + { + obj2 = rowOrDefault2.GetValueOrDefault().ExVersion.ValueNullable; + break; + } + IL_00b1: + if (obj3 == null) + { + obj3 = global::_003CModule_003E._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(-1261156168); + } + return (Name: (string)obj3, SortOrder: (byte)(exVersion?.RowId ?? 0)); + } + exVersion = obj2; + num9 = (exVersion.HasValue ? 1176503748 : 1176503750); + } + }) + 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 _003C_003Ec__DisplayClass67_0._200E_200D_206B_206E_202D_206F_200E_202A_202D_206A_206A_206B_202D_202D_200E_202A_202A_202D_200D_206E_206F_200C_200E_200D_200E_200F_206C_206F_206B_206B_200F_200B_200F_200B_200D_202C_202E_206B_206F_206A_202E(_aetheryteData).GetValueOrDefault(a.Location) into g + where g.Key != 0 + select g).Select([MethodImpl(MethodImplOptions.NoInlining)] (IGrouping g) => + { + ushort groupId = g.Key; + string text = _003C_003Ec__DisplayClass67_0._200E_200D_206B_206E_202D_206F_200E_202A_202D_206A_206A_206B_202D_202D_200E_202A_202A_202D_200D_206E_206F_200C_200E_200D_200E_200F_206C_206F_206B_206B_200F_200B_200F_200B_200D_202C_202E_206B_206F_206A_202E(_aetheryteData).Where(delegate(KeyValuePair kv) + { + int num15 = ((kv.Value != groupId) ? 1506024622 : 1506024621); + while (true) + { + int num16 = num15; + int num17 = 1506024623; + int num18 = num16; + switch ((num18 | num17) - (num18 & num17)) + { + case 0: + goto IL_004d; + case 2: + return _003C_003Ec__DisplayClass67_1._202A_206F_206C_202D_200C_200F_206C_206A_206B_200E_200E_206F_206F_206F_206E_206E_206C_202D_200F_200E_200C_200D_202D_202E_200C_200E_202B_206E_206D_206A_200C_206B_206F_206E_200C_206F_202D_202C_202C_206C_202E(kv.Key); + case 1: + return false; + } + continue; + IL_004d: + num15 = 1506024621; + } + }).Select(delegate(KeyValuePair kv) + { + Lumina.Excel.Sheets.Aetheryte? rowOrDefault2 = aetheryteSheet.GetRowOrDefault((uint)kv.Key); + int num15 = (rowOrDefault2.HasValue ? 665015300 : 665015303); + while (true) + { + int num16 = num15; + int num17 = 665015301; + int num18 = num16; + switch ((num18 | num17) - (num18 & num17)) + { + case 1: + return rowOrDefault2.GetValueOrDefault().PlaceName.ValueNullable?.Name.ToString(); + case 2: + return (string)null; + case 0: + goto IL_00ab; + } + continue; + IL_00ab: + num15 = 665015303; + } + }) + .FirstOrDefault(); + int num9 = ((!_003C_003Ec__DisplayClass67_0._200E_202C_200E_206C_206F_206C_206E_206A_200D_202A_202C_206E_202A_206A_200F_206B_206F_202B_206D_206D_202B_206B_202E_200F_200B_200B_206F_206C_200B_206D_206E_206D_202E_200D_202D_200F_200E_202B_206E_206D_202E(text)) ? 875556706 : 875556705); + while (true) + { + int num10 = num9; + int num11 = 875556707; + int num12 = num10; + int num13 = num12 + num11; + int num14 = num12 & num11; + switch (num13 - (num14 + num14)) + { + case 1: + return new CityGroup(text, g.OrderBy((AetheryteEntry a) => a.Name).ToImmutableList()); + case 2: + { + ushort territoryId = g.First().TerritoryId; + object obj2 = territorySheet.GetRowOrDefault(territoryId)?.PlaceName.ValueNullable?.Name.ToString(); + if (obj2 == null) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(636653864)); + defaultInterpolatedStringHandler.AppendFormatted(groupId); + obj2 = defaultInterpolatedStringHandler.ToStringAndClear(); + } + text = (string)obj2; + num9 = 875556706; + break; + } + case 0: + num9 = 875556705; + break; + } + } + }) + 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)>([MethodImpl(MethodImplOptions.NoInlining)] (KeyValuePair> kv) => + { + ushort key = kv.Key; + TerritoryType? rowOrDefault2 = territorySheet.GetRowOrDefault(key); + int num9 = (rowOrDefault2.HasValue ? 1752178972 : 1752178960); + ExVersion? exVersion = default(ExVersion?); + byte item2 = default(byte); + string item3 = default(string); + while (true) + { + int num10 = num9; + int num11 = 1752178964; + int num12 = num10; + int num13; + object obj4; + object obj3; + ExVersion? obj2; + string item4; + ImmutableList item5; + switch ((num12 | num11) - (num12 & num11)) + { + default: + continue; + case 7: + num13 = (int)exVersion.GetValueOrDefault().RowId; + goto IL_008d; + case 3: + obj4 = exVersion.GetValueOrDefault().Name.ToString(); + goto IL_00d3; + case 8: + obj3 = rowOrDefault2.GetValueOrDefault().PlaceName.ValueNullable?.Name.ToString(); + goto IL_0177; + case 1: + obj4 = null; + goto IL_00d3; + case 0: + num13 = 0; + goto IL_008d; + case 2: + num9 = 1752178960; + continue; + case 6: + obj2 = rowOrDefault2.GetValueOrDefault().ExVersion.ValueNullable; + break; + case 4: + obj3 = null; + goto IL_0177; + case 5: + { + obj2 = null; + break; + } + IL_008d: + item2 = (byte)num13; + num9 = (exVersion.HasValue ? 1752178967 : 1752178965); + continue; + IL_0177: + if (obj3 == null) + { + obj3 = key.ToString(_003C_003Ec__DisplayClass67_0._206B_202D_200D_200E_206C_206D_202E_200E_202C_206C_200C_200C_202B_200B_206F_202B_206C_200D_206B_206D_200E_200B_200C_202A_200D_202E_200D_200B_200D_202D_202C_206E_206E_202D_200B_200D_202E_206B_206D_200D_202E()); + } + item3 = (string)obj3; + num9 = (rowOrDefault2.HasValue ? 1752178962 : 1752178961); + continue; + IL_00d3: + if (obj4 == null) + { + obj4 = global::_003CModule_003E._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(1925248335); + } + item4 = (string)obj4; + item5 = kv.Value.Select(delegate(AetherCurrentInfo info) + { + string questName = string.Empty; + int num14 = ((!info.IsQuestGated) ? (-733306427) : (-733306432)); + Lumina.Excel.Sheets.Quest? rowOrDefault3 = default(Lumina.Excel.Sheets.Quest?); + while (true) + { + int num15 = num14; + int num16 = -733306428; + int num17 = num15; + object obj5; + switch ((num17 | num16) - (num17 & num16)) + { + case 5: + rowOrDefault3 = questSheet.GetRowOrDefault(info.QuestId); + num14 = (rowOrDefault3.HasValue ? (-733306425) : (-733306426)); + break; + case 3: + obj5 = rowOrDefault3.GetValueOrDefault().Name.ToString(); + goto IL_00b4; + case 2: + obj5 = null; + goto IL_00b4; + case 0: + num14 = -733306432; + break; + case 4: + num14 = ((info.QuestId == 0) ? (-733306427) : (-733306431)); + break; + case 1: + { + return new CurrentEntry(info.AetherCurrentId, info.IsQuestGated, info.QuestId, questName); + } + IL_00b4: + if (obj5 == null) + { + obj5 = string.Empty; + } + questName = (string)obj5; + num14 = -733306427; + break; + } + } + }).ToImmutableList(); + return (territoryId: key, zoneName: item3, expansionName: item4, sortOrder: item2, currents: item5); + } + exVersion = obj2; + num9 = (exVersion.HasValue ? 1752178963 : 1752178964); + } + }) + 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; + int num5; + int num6; + using (ImmutableList.Enumerator enumerator2 = item.Items.GetEnumerator()) + { + int num3 = 1439963513; + while (true) + { + int num4 = num3; + num5 = 1439963514; + num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 3: + num3 = (enumerator2.MoveNext() ? 1439963512 : 1439963514); + break; + case 2: + { + AetheryteEntry current2 = enumerator2.Current; + bool flag = _aetheryteFunctions.IsAetheryteUnlocked(current2.Location); + dictionary[current2.Location] = flag; + num3 = ((!flag) ? 1439963513 : 1439963515); + break; + } + case 4: + num3 = 1439963513; + break; + case 1: + { + int num9 = num2; + num5 = 1; + num6 = num9; + int num10 = num6 ^ num5; + int num11 = num6 & num5; + num2 = num10 + (num11 + num11); + num3 = 1439963513; + break; + } + case 0: + goto end_IL_0046; + } + continue; + end_IL_0046: + break; + } + } + dictionary2[item.SortOrder] = num2; + int num12 = num; + num5 = num2; + num6 = num12; + int num13 = num6 ^ num5; + int num14 = num6 & num5; + num = num13 + (num14 + num14); + } + Dictionary dictionary3 = new Dictionary(); + int num15 = 0; + foreach (CityGroup item2 in _aethernetByCity) + { + int num16 = 0; + int num5; + int num6; + using (ImmutableList.Enumerator enumerator2 = item2.Shards.GetEnumerator()) + { + int num3 = -235894113; + while (true) + { + int num17 = num3; + num5 = -235894115; + num6 = num17; + switch ((num6 | num5) - (num6 & num5)) + { + case 2: + num3 = (enumerator2.MoveNext() ? (-235894119) : (-235894116)); + break; + case 0: + { + int num18 = num16; + num5 = 1; + num6 = num18; + num16 = (num6 | num5) + (num6 & num5); + num3 = -235894113; + break; + } + case 4: + { + AetheryteEntry current4 = enumerator2.Current; + bool flag2 = _aetheryteFunctions.IsAetheryteUnlocked(current4.Location); + dictionary[current4.Location] = flag2; + num3 = ((!flag2) ? (-235894113) : (-235894115)); + break; + } + case 3: + num3 = -235894113; + break; + case 1: + goto end_IL_01b0; + } + continue; + end_IL_01b0: + break; + } + } + dictionary3[item2.CityName] = num16; + int num19 = num15; + num5 = num16; + num6 = num19; + num15 = (num6 | num5) + (num6 & num5); + } + Dictionary dictionary4 = new Dictionary(); + Dictionary dictionary5 = new Dictionary(); + int num20 = 0; + foreach (ExpansionGroup item3 in _currentsByExpansion) + { + foreach (ZoneCurrentGroup item4 in item3.Items) + { + int num21 = 0; + int num5; + int num6; + using (ImmutableList.Enumerator enumerator6 = item4.Currents.GetEnumerator()) + { + int num3 = 505719856; + while (true) + { + int num22 = num3; + num5 = 505719857; + num6 = num22; + int num23 = num6 + num5; + int num24 = num6 & num5; + switch (num23 - (num24 + num24)) + { + case 1: + num3 = (enumerator6.MoveNext() ? 505719858 : 505719859); + break; + case 0: + { + int num25 = num21; + num5 = 1; + num6 = num25; + num21 = (num6 | num5) + (num6 & num5); + num3 = 505719856; + break; + } + case 3: + { + CurrentEntry current6 = enumerator6.Current; + bool flag3 = GameFunctions.IsAetherCurrentUnlocked(current6.AetherCurrentId); + dictionary4[current6.AetherCurrentId] = flag3; + num3 = ((!flag3) ? 505719856 : 505719857); + break; + } + case 4: + num3 = 505719856; + break; + case 2: + goto end_IL_0336; + } + continue; + end_IL_0336: + break; + } + } + dictionary5[item4.TerritoryId] = num21; + int num26 = num20; + num5 = num21; + num6 = num26; + int num27 = num6 ^ num5; + int num28 = num6 & num5; + num20 = num27 + (num28 + num28); + } + } + _aetheryteUnlockCache = dictionary; + _currentUnlockCache = dictionary4; + _aetheryteExpansionUnlockedCounts = dictionary2; + _aethernetCityUnlockedCounts = dictionary3; + _currentZoneUnlockedCounts = dictionary5; + _aetheryteUnlocked = num; + _aethernetUnlocked = num15; + _currentUnlocked = num20; + _lastStatusRefresh = _206B_206E_200F_202C_200E_206D_206A_200E_200B_202B_206D_206D_200E_200B_202B_206B_202C_202D_206E_200E_202C_206B_200F_206B_200E_202B_206D_202C_206F_200C_202C_200F_202A_200E_200F_200B_202E_200F_206B_200E_202E(); + 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() + { + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void DrawAttunement() + { + int num = ((_206B_206E_200F_202C_200E_206D_206A_200E_200B_202B_206D_206D_200E_200B_202B_206B_202C_202D_206E_200E_202C_206B_200F_206B_200E_202B_206D_202C_206F_200C_202C_200F_202A_200E_200F_200B_202E_200F_206B_200E_202E() - _lastStatusRefresh <= 3000) ? 24779854 : 24779842); + while (true) + { + int num2 = num; + int num3 = 24779848; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + string text; + float x; + float num8; + string text3; + ImRaii.FontDisposable fontDisposable; + float x2; + float num12; + switch (num5 - (num6 + num6)) + { + case 1: + num = ((!_attunementController.CompletedSuccessfully) ? 24779850 : 24779840); + break; + case 2: + _pendingBatchTargets.Clear(); + _batchName = null; + num = 24779841; + break; + case 10: + RefreshCounts(); + num = 24779854; + break; + case 8: + { + (string, ushort, Vector3, ITask) tuple = PopNearestTarget(); + string text2 = _batchName; + if (text2 == null) + { + (text2, _, _, _) = tuple; + } + StartAttunement(text2, tuple.Item2, tuple.Item3, tuple.Item4); + num = 24779841; + break; + } + case 11: + num = 24779842; + break; + case 3: + num = ((_pendingBatchTargets.Count <= 0) ? 24779841 : 24779849); + break; + case 5: + text = _200E_206C_206C_202B_202D_200D_200F_206E_206E_202A_200F_202A_200E_200E_200D_206E_206B_206B_202C_200B_200C_206E_206B_200C_202B_202E_200D_200F_200F_200C_206E_200D_206B_200C_202C_202B_202A_206F_206A_206D_202E(global::_003CModule_003E._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(88792405), _attunementController.CurrentTargetName, global::_003CModule_003E._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(799152405)); + goto IL_027f; + case 6: + num = (_attunementController.IsRunning ? 24779841 : 24779851); + break; + case 4: + num = ((_pendingBatchTargets.Count > 0) ? 24779848 : 24779853); + break; + case 9: + num = (_attunementController.IsRunning ? 24779852 : 24779855); + break; + case 7: + if (_pendingBatchTargets.Count > 0) + { + num = 24779852; + break; + } + goto IL_040c; + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(30, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1784068616)); + defaultInterpolatedStringHandler.AppendFormatted(_attunementController.CurrentTargetName); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1241011405)); + defaultInterpolatedStringHandler.AppendFormatted(_pendingBatchTargets.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1953473602)); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + goto IL_027f; + } + IL_03d0: + while (true) + { + int num7 = num; + num3 = 1185678891; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 1: + break; + case 3: + StopAll(global::_003CModule_003E._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(-267438183)); + num = 1185678890; + continue; + case 5: + _206D_202A_206D_206E_206E_200D_200F_202C_200C_202B_202C_206E_202E_206E_202B_206A_200B_200C_202B_206E_200C_206B_200D_202E_206F_200D_200E_206A_206A_200E_200B_200E_206F_202C_206F_202C_202E_202C_200E_202C_202E(); + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-2079895087), ref _showUnattunedOnly)) ? 1185678889 : 1185678891); + continue; + case 2: + _202A_200F_200E_202B_202A_202A_200B_200E_200C_202D_206B_206C_206C_202C_206E_200E_202B_202A_202C_206E_202B_200E_206A_200D_202E_206D_206B_206F_202B_200D_206E_206F_206D_206B_202A_206E_206C_206E_206C_200E_202E(); + DrawTrackerTable(); + return; + case 6: + RebuildFlatRows(); + num = 1185678894; + continue; + case 0: + RebuildFlatRows(); + num = 1185678889; + continue; + case 4: + num = 1185678888; + continue; + } + break; + } + goto IL_040c; + IL_040c: + x = _206E_200F_200F_202A_206B_206D_200E_206A_206F_200C_202C_200E_200D_206C_202B_202A_206E_202E_202D_200B_200B_202A_206C_202D_206F_200F_202E_200C_202E_200B_202B_202E_206D_206C_206B_206D_200C_202B_206A_200F_202E().ItemSpacing.X; + num8 = _206C_206E_202E_200B_202D_206C_200B_206F_200F_206E_206C_202C_206D_200B_202D_206C_200D_206E_202D_202A_202D_200B_206D_206D_200E_206F_200B_206E_202C_202D_206F_206E_202C_206C_200D_200B_202B_200F_206E_202B_202E() + _206A_200D_202A_202B_202E_202D_206E_200C_206E_202C_200B_200F_202B_200C_202A_200C_202E_202A_200E_200C_202B_200E_202C_200B_200F_206E_202B_200C_206D_202E_202A_200C_202D_200B_206E_200D_202A_202D_200C_200C_202E((ImU8String)global::_003CModule_003E._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(-2079895087), false, -1f).X + 3f * x; + num = ((!UiThemeUtils.SearchInput(global::_003CModule_003E._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(-1618098440), ref _searchText, 0f - num8, global::_003CModule_003E._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(-1483495335))) ? 1185678894 : 1185678893); + goto IL_03d0; + IL_027f: + text3 = text; + fontDisposable = _200D_200F_200D_200D_202D_202E_200E_200E_200F_206A_206F_200D_206B_200C_202C_202A_200D_202D_206C_202A_202A_206C_202B_200E_202E_206D_206C_200F_206E_202B_200F_200E_200E_200D_202A_200D_206F_200E_200E_206B_202E(_202E_206B_200F_200B_200B_202E_202C_202E_200C_206F_206A_206C_200C_200E_206D_202E_200C_200D_202C_200B_200F_202A_206B_202A_206F_202B_200E_206B_202D_200C_206F_202C_202D_206C_206E_202A_202C_202E_206B_202A_202E(), true); + try + { + x2 = _206A_200D_202A_202B_202E_202D_206E_200C_206E_202C_200B_200F_202B_200C_202A_200C_202E_202A_200E_200C_202B_200E_202C_200B_200F_206E_202B_200C_206D_202E_202A_200C_202D_200B_206E_200D_202A_202D_200C_200C_202E((ImU8String)_206F_206E_200F_202C_200C_206D_206C_206F_200C_200F_206D_202C_206E_202C_200C_202D_202D_206A_206F_206B_202D_206A_202A_202A_200D_202A_202B_200B_206F_202B_200B_206B_206E_206F_202C_206C_202C_200E_200F_206C_202E(FontAwesomeIcon.Stop), false, -1f).X; + } + finally + { + num = ((fontDisposable == null) ? 67468924 : 67468927); + while (true) + { + int num9 = num; + num3 = 67468926; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 0: + num = 67468927; + break; + case 2: + goto end_IL_02d2; + case 1: + _200C_200B_200F_202E_206F_202B_202B_202B_200E_206F_206E_202D_202E_200D_206C_200C_200E_206D_206A_202B_206D_206F_202E_206A_202C_206C_202B_200B_206B_200B_202B_206C_206D_206D_206E_202D_202D_206C_200B_202E_202E((IDisposable)fontDisposable); + num = 67468924; + break; + } + continue; + end_IL_02d2: + break; + } + } + num12 = x2 + 6f + _206A_200D_202A_202B_202E_202D_206E_200C_206E_202C_200B_200F_202B_200C_202A_200C_202E_202A_200E_200C_202B_200E_202C_200B_200F_206E_202B_200C_206D_202E_202A_200C_202D_200B_206E_200D_202A_202D_200C_200C_202E((ImU8String)global::_003CModule_003E._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(1414712036), false, -1f).X + _206E_200F_200F_202A_206B_206D_200E_206A_206F_200C_202C_200E_200D_206C_202B_202A_206E_202E_202D_200B_200B_202A_206C_202D_206F_200F_202E_200C_202E_200B_202B_202E_206D_206C_206B_206D_200C_202B_206A_200F_202E().FramePadding.X * 2f + _206E_200F_200F_202A_206B_206D_200E_206A_206F_200C_202C_200E_200D_206C_202B_202A_206E_202E_202D_200B_200B_202A_206C_202D_206F_200F_202E_200C_202E_200B_202B_202E_206D_206C_206B_206D_200C_202B_206A_200F_202E().ItemSpacing.X; + _200B_200C_200F_206C_202C_206D_200D_200C_202A_202C_202D_206F_200B_202A_202A_206A_200E_206D_206C_202A_200B_206F_200D_200F_202E_202C_200B_206A_206F_206A_200C_206E_206F_206B_206D_206D_202B_206A_202E_206F_202E(ref UiThemeUtils.StatusActive, (ImU8String)UiThemeUtils.TruncateToWidth(text3, _206D_200E_200C_202D_202D_200D_200E_206A_200F_206B_206D_202B_200B_202D_206E_202D_202D_202B_202C_202D_200E_206B_202C_202E_200E_206F_202B_206B_206B_206D_206A_202D_202A_206E_202A_202E_202C_202A_202A_202E().X - num12)); + _206D_202A_206D_206E_206E_200D_200F_202C_200C_202B_202C_206E_202E_206E_202B_206A_200B_200C_202B_206E_200C_206B_200D_202E_206F_200D_200E_206A_206A_200E_200B_200E_206F_202C_206F_202C_202E_202C_200E_202C_202E(); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Stop, global::_003CModule_003E._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(-706453881))) ? 1185678890 : 1185678888); + goto IL_03d0; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void DrawTrackerTable() + { + int num = ((_flatRows.Count != 0) ? (-1990997379) : (-1990997380)); + int num15 = default(int); + while (true) + { + int num2 = num; + int num3 = -1990997379; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0056; + case 1: + UiThemeUtils.EmptyState(FontAwesomeIcon.Wifi, global::_003CModule_003E._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(-1166257461)); + return; + case 0: + { + IDisposable disposable = _206D_206B_206F_206D_200F_202D_206E_206A_206F_200E_200C_206D_206F_200D_202C_206B_202C_206B_202D_206C_206C_206B_202C_206E_206A_206B_200E_200C_200C_202B_202A_202E_206C_200D_206E_206A_206D_202D_206F_206F_202E(_202C_202D_200E_200B_206F_200D_200C_202A_200C_200F_206C_200E_202E_206F_200D_202E_200D_206A_200E_206D_200C_206E_202A_206E_202A_206A_206B_206B_200C_206E_202D_200F_200E_206B_200F_200C_200E_200B_202D_206D_202E(_202A_200D_206C_206F_202A_206C_206C_206F_202E_200C_206A_200D_206C_206B_200F_206E_206A_200D_200F_200B_206B_206C_202E_206B_202E_206F_200E_200F_206A_206C_206C_200F_200C_202E_206B_202A_206C_202E_200F_200E_202E(_pluginInterface))); + float x; + try + { + x = _206A_200D_202A_202B_202E_202D_206E_200C_206E_202C_200B_200F_202B_200C_202A_200C_202E_202A_200E_200C_202B_200E_202C_200B_200F_206E_202B_200C_206D_202E_202A_200C_202D_200B_206E_200D_202A_202D_200C_200C_202E((ImU8String)_206F_206E_200F_202C_200C_206D_206C_206F_200C_200F_206D_202C_206E_202C_200C_202D_202D_206A_206F_206B_202D_206A_202A_202A_200D_202A_202B_200B_206F_202B_200B_206B_206E_206F_202C_206C_202C_200E_200F_206C_202E(FontAwesomeIcon.Check), false, -1f).X; + } + finally + { + num = ((disposable == null) ? (-515031401) : (-515031402)); + while (true) + { + int num7 = num; + num3 = -515031401; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + goto end_IL_00d3; + case 1: + _200C_200B_200F_202E_206F_202B_202B_202B_200E_206F_206E_202D_202E_200D_206C_200C_200E_206D_206A_202B_206D_206F_202E_206A_202C_206C_202B_200B_206B_200B_202B_206C_206D_206D_206E_202D_202D_206C_200B_202E_202E(disposable); + num = -515031401; + break; + case 2: + num = -515031402; + break; + } + continue; + end_IL_00d3: + break; + } + } + float fontGlobalScale = _206B_200B_200C_206A_200E_200D_202D_206A_200F_206B_202D_200F_206A_202C_200D_202A_200B_200F_206B_200F_206F_206C_202B_202C_200C_206A_200B_200C_202E_202E_202A_202A_200D_200B_202A_206E_202C_200D_206F_200E_202E().FontGlobalScale; + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(-1117676722), 2, ImGuiTableFlags.NoSavedSettings | ImGuiTableFlags.ScrollY); + num = ((!(!tableDisposable)) ? (-135002875) : (-135002874)); + while (true) + { + int num10 = num; + num3 = -135002876; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + goto IL_0198; + case 2: + return; + case 1: + { + _206A_206F_200C_200E_200E_202A_202D_202E_202A_206C_202A_200D_202E_200D_202C_202B_200D_200B_206F_206B_202D_206B_202E_206C_202D_200D_206C_200B_202B_200F_206D_200F_206F_202A_202D_202A_200F_206B_206A_206B_202E((ImU8String)global::_003CModule_003E._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(-2012877671), ImGuiTableColumnFlags.NoHide, 0f, 0u); + _206A_206F_200C_200E_200E_202A_202D_202E_202A_206C_202A_200D_202E_200D_202C_202B_200D_200B_206F_206B_202D_206B_202E_206C_202D_200D_206C_200B_202B_200F_206D_200F_206F_202A_202D_202A_200F_206B_206A_206B_202E((ImU8String)global::_003CModule_003E._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(-416910200), ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale, 0u); + _202D_200E_206A_206F_206C_200C_200E_200E_206F_200F_200C_206A_206A_202E_202E_206E_206B_206C_202D_206A_206F_202C_206A_206C_200F_202B_202E_206D_206E_206F_202D_200F_206A_206D_206F_206D_200F_206F_200D_202A_202E(); + float num13 = _202B_202D_200E_200B_206F_200D_206B_202C_202E_202C_200E_206E_206D_200D_200E_200B_202D_202A_206D_200B_206E_200C_202E_206B_202E_200D_202B_202C_206B_206B_200F_206E_200B_206C_206A_206C_200E_202B_200E_200D_202E(); + bool flag = false; + ImGuiListClipper* intPtr = _206C_206C_206A_202A_200C_202E_200F_200D_200C_200F_206E_206E_206B_206E_206A_206C_200D_206C_200E_200E_202C_200F_200E_206E_202B_206F_202A_200D_206A_202C_206F_202E_206D_202C_206C_200C_206D_206B_200C_202B_202E(); + _200B_202C_206D_200C_202E_206A_202C_202B_202D_200E_202C_202E_200B_202A_202D_206A_206D_200B_200E_206B_200D_202B_200C_200D_206A_206C_206E_200E_202A_200D_206E_206D_200E_202A_202A_202B_200F_200E_202B_206F_202E(intPtr, _flatRows.Count, num13); + ImGuiListClipperPtr imGuiListClipperPtr = intPtr; + try + { + num = -1671656629; + while (true) + { + int num14 = num; + num3 = -1671656627; + num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = (imGuiListClipperPtr.Step() ? (-1671656628) : (-1671656627)); + break; + case 1: + num15 = imGuiListClipperPtr.DisplayStart; + num = -1671656632; + break; + case 3: + num = ((!DrawFlatRow(_flatRows[num15], x)) ? (-1671656631) : (-1671656625)); + break; + case 2: + flag = true; + num = -1671656631; + break; + case 4: + { + int num16 = num15; + num3 = 1; + num4 = num16; + int num17 = num4 ^ num3; + int num18 = num4 & num3; + num15 = num17 + (num18 + num18); + num = -1671656632; + break; + } + case 5: + num = ((num15 < imGuiListClipperPtr.DisplayEnd) ? (-1671656626) : (-1671656629)); + break; + case 7: + num = -1671656629; + break; + case 0: + goto end_IL_0226; + } + continue; + end_IL_0226: + break; + } + } + finally + { + imGuiListClipperPtr.Destroy(); + } + num = ((!flag) ? (-892291942) : (-892291943)); + while (true) + { + int num19 = num; + num3 = -892291941; + num4 = num19; + int num20 = num4 + num3; + int num21 = num4 & num3; + switch (num20 - (num21 + num21)) + { + case 0: + num = -892291943; + break; + case 2: + RebuildFlatRows(); + num = -892291942; + break; + case 1: + return; + } + } + } + } + continue; + IL_0198: + num = -135002874; + } + } + } + continue; + IL_0056: + num = -1990997380; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool DrawFlatRow(FlatRow row, float statusIconSpacing) + { + _206C_206A_202E_200D_202A_200C_200C_200F_200F_206D_206F_206B_202E_200C_202D_200B_200D_200B_202A_206F_202B_202C_202E_200F_200F_206B_206C_206E_202D_200C_200D_202A_202C_200D_202B_202E_200B_200E_200D_206A_202E(); + _200E_200F_200D_200E_200D_200C_206A_202B_206E_206D_202C_202B_200D_200F_202C_206E_200E_200D_206B_202D_202E_202A_202D_202C_202A_202C_200F_206F_202A_200D_202E_202B_206D_202E_206D_200C_206B_202D_202D_200E_202E(); + int num = ((row.Depth <= 0) ? 465421303 : 465421306); + bool result = default(bool); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = 465421297; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + _expandedGroups.Remove(row.Key); + num = 465421307; + break; + case 11: + _202C_200E_206A_206F_200E_200F_206F_200C_202D_202D_206E_206F_200D_202D_200E_206E_206F_202E_206F_202A_206F_200F_206A_200B_202C_200E_200F_200C_202D_206E_206E_200E_202C_200D_200B_206D_200D_200D_200E_202C_202E(_206B_200B_202C_206B_200D_202B_200C_206D_206E_202E_206A_200B_206D_206D_200E_202A_206D_202D_200D_206C_200D_200C_206F_206A_206C_206B_206F_202C_202B_202C_206E_200D_200B_206E_200B_202B_202C_200F_206A_202E() + _206E_200F_200F_202A_206B_206D_200E_206A_206F_200C_202C_200E_200D_206C_202B_202A_206E_202E_202D_200B_200B_202A_206C_202D_206F_200F_202E_200C_202E_200B_202B_202E_206D_206C_206B_206D_200C_202B_206A_200F_202E().IndentSpacing * (float)row.Depth); + num = 465421303; + break; + case 10: + result = true; + num = 465421305; + break; + case 8: + DrawHeaderBatchPopup(row); + _200E_200F_200D_200E_200D_200C_206A_202B_206E_206D_202C_202B_200D_200F_202C_206E_200E_200D_206B_202D_202E_202A_202D_202C_202A_202C_200F_206F_202A_200D_202E_202B_206D_202E_206D_200C_206B_202D_202D_200E_202E(); + UiThemeUtils.DrawTrackerCount(row.CountText, row.CountComplete, row.CountEmpty); + return result; + case 0: + { + flag = _expandedGroups.Contains(row.Key); + UiThemeUtils.DrawTrackerGroupCaret(_202C_202D_200E_200B_206F_200D_200C_202A_200C_200F_206C_200E_202E_206F_200D_202E_200D_206A_200E_206D_200C_206E_202A_206E_202A_206A_206B_206B_200C_206E_202D_200F_200E_206B_200F_200C_200E_200B_202D_206D_202E(_202A_200D_206C_206F_202A_206C_206C_206F_202E_200C_206A_200D_206C_206B_200F_206E_206A_200D_200F_200B_206B_206C_202E_206B_202E_206F_200E_200F_206A_206C_206C_200F_200C_202E_206B_202A_206C_202E_200F_200E_202E(_pluginInterface)), flag); + _206D_202A_206D_206E_206E_200D_200F_202C_200C_202B_202C_206E_202E_206E_202B_206A_200B_200C_202B_206E_200C_206B_200D_202E_206F_200D_200E_206A_206A_200E_200B_200E_206F_202C_206F_202C_202E_202C_200E_202C_202E(); + result = false; + ImU8String imU8String = new ImU8String(2, 2); + imU8String.AppendFormatted(row.Label); + imU8String.AppendLiteral(global::_003CModule_003E._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(604327994)); + imU8String.AppendFormatted(row.Key); + num = ((!_206A_200F_206E_206F_202D_202D_202E_206A_202D_200F_202D_206A_200B_202E_202E_202A_206A_200D_202D_202D_200B_200D_200E_202D_200C_206A_206E_202B_202B_200D_202C_202A_200E_206D_202C_202A_206A_206F_202C_202B_202E(imU8String, false, ImGuiSelectableFlags.None, default(Vector2))) ? 465421305 : 465421301); + break; + } + case 7: + num = 465421306; + break; + case 3: + DrawAetheryteLeaf(row, statusIconSpacing); + return false; + case 2: + num = ((row.Kind != AttuneRowKind.CurrentLeaf) ? 465421297 : 465421304); + break; + case 1: + _expandedGroups.Add(row.Key); + num = 465421307; + break; + case 9: + DrawCurrentLeaf(row, statusIconSpacing); + return false; + case 4: + num = ((!flag) ? 465421296 : 465421300); + break; + case 6: + num = ((row.Kind != AttuneRowKind.AetheryteLeaf) ? 465421299 : 465421298); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawHeaderBatchPopup(FlatRow row) + { + int num; + if (row.Batch == BatchKind.AethernetCity) + { + num = 674359626; + string text = default(string); + CityGroup city = default(CityGroup); + while (true) + { + int num2 = num; + int num3 = 674359625; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 0: + num = 674359626; + continue; + case 1: + text = _202B_200C_202C_200B_206C_206C_202D_206C_202B_200E_206A_206E_200D_200D_206C_202B_206E_206C_202B_206B_200E_200B_202B_206D_200D_206D_202A_200F_206E_200C_202E_202D_200D_202D_200F_202B_202B_206E_206B_200D_202E(global::_003CModule_003E._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(1831388298), city.CityName); + num = ((!_200E_200D_206D_202B_202C_200B_202D_200F_202A_206A_206C_206E_202C_206E_202A_202D_202A_206D_202E_206D_206D_200E_206A_202E_206E_206A_200F_200B_206F_206E_200E_206A_206F_206D_206A_202B_206C_200C_200F_202A_202E(ImGuiMouseButton.Right)) ? 674359627 : 674359631); + continue; + case 3: + break; + case 5: + { + int count = city.Shards.Count; + if (_aethernetCityUnlockedCounts.GetValueOrDefault(city.CityName) < count) + { + num = 674359629; + continue; + } + return; + } + case 6: + _202B_200B_206E_206F_206B_206E_206F_202E_206A_202B_206F_202E_202D_206A_206E_200B_202D_200F_206F_206B_206F_202E_200C_202B_200F_200F_206D_200D_206A_202C_202E_200F_206D_200E_206C_202A_200E_206F_206A_206C_202E((ImU8String)text, ImGuiPopupFlags.None); + num = 674359627; + continue; + case 4: + if (!IsAnyControllerRunning()) + { + num = 674359624; + continue; + } + return; + case 2: + { + ImRaii.PopupDisposable popupDisposable = _200D_200D_206D_206D_202E_206F_200C_206F_202B_206A_202B_206D_202A_200F_206E_200B_206A_202D_202B_206E_202D_202C_200E_206C_206B_206C_200F_202A_206D_202A_202C_206A_206F_206E_200C_206B_202C_202E_200C_202E((ImU8String)text); + try + { + num = ((!popupDisposable.Success) ? (-1176859534) : (-1176859535)); + while (true) + { + int num7 = num; + num3 = -1176859533; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1176859535; + break; + case 3: + { + 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, _200F_202C_200C_206C_206E_206E_200F_200F_206F_206D_206D_206B_200E_206C_202B_206F_202B_206F_206A_202A_200D_200D_202D_202D_202C_202E_206A_202D_206A_200F_202E_206F_202A_200E_206B_202A_206D_202C_202D_206F_202E(_aetheryteData)[s.Location], new AethernetShard.Attune(s.Location)); + StartBatchAttunement(_202B_200C_202C_200B_206C_206C_202D_206C_202B_200E_206A_206E_200D_200D_206C_202B_206E_206C_202B_206B_200E_200B_202B_206D_200D_206D_202A_200F_206E_200C_202E_202D_200D_202D_200F_202B_202B_206E_206B_200D_202E(global::_003CModule_003E._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(-149862362), city.CityName), targets); + num = -1176859534; + break; + } + case 2: + { + ImU8String imU8String = new ImU8String(14, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1568089828)); + imU8String.AppendFormatted(city.CityName); + num = ((!_202C_206D_200C_202E_200F_206B_200B_202C_206A_202B_200C_202C_206A_206F_206E_206B_206E_206B_202B_200E_202D_202A_206E_206F_200F_206E_202E_206B_202E_206F_202D_206B_200F_206D_202A_206E_202C_202D_206A_206A_202E(imU8String, false, true)) ? (-1176859534) : (-1176859536)); + break; + } + case 1: + return; + } + } + } + finally + { + popupDisposable.Dispose(); + } + } + } + city = row.City; + if ((object)city == null) + { + break; + } + num = 674359628; + } + } + if (row.Batch != BatchKind.CurrentZone) + { + return; + } + num = -815572066; + List list = default(List); + ZoneCurrentGroup zone = default(ZoneCurrentGroup); + string text2 = default(string); + while (true) + { + int num8 = num; + int num3 = -815572069; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + list = zone.Currents.Where(delegate(CurrentEntry c) + { + int num10 = (c.IsQuestGated ? 981624173 : 981624174); + while (true) + { + int num11 = num10; + int num12 = 981624175; + int num13 = num11; + int num14 = num13 + num12; + int num15 = num13 & num12; + switch (num14 - (num15 + num15)) + { + case 2: + return false; + case 1: + return !_currentUnlockCache.GetValueOrDefault(c.AetherCurrentId); + case 0: + goto IL_005f; + } + continue; + IL_005f: + num10 = 981624174; + } + }).ToList(); + if (list.Count > 0) + { + num = -815572069; + break; + } + return; + case 5: + zone = row.Zone; + if ((object)zone != null) + { + num = -815572070; + break; + } + return; + case 0: + if (!IsAnyControllerRunning()) + { + num = -815572071; + break; + } + return; + case 3: + num = -815572066; + break; + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(20, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-822713294)); + defaultInterpolatedStringHandler.AppendFormatted(zone.TerritoryId); + text2 = defaultInterpolatedStringHandler.ToStringAndClear(); + num = ((!_200E_200D_206D_202B_202C_200B_202D_200F_202A_206A_206C_206E_202C_206E_202A_202D_202A_206D_202E_206D_206D_200E_206A_202E_206E_206A_200F_200B_206F_206E_200E_206A_206F_206D_206A_202B_206C_200C_200F_202A_202E(ImGuiMouseButton.Right)) ? (-815572067) : (-815572065)); + break; + } + case 4: + _202B_200B_206E_206F_206B_206E_206F_202E_206A_202B_206F_202E_202D_206A_206E_200B_202D_200F_206F_206B_206F_202E_200C_202B_200F_200F_206D_200D_206A_202C_202E_200F_206D_200E_206C_202A_200E_206F_206A_206C_202E((ImU8String)text2, ImGuiPopupFlags.None); + num = -815572067; + break; + case 6: + { + ImRaii.PopupDisposable popupDisposable2 = _200D_200D_206D_206D_202E_206F_200C_206F_202B_206A_202B_206D_202A_200F_206E_200B_206A_202D_202B_206E_202D_202C_200E_206C_206B_206C_200F_202A_206D_202A_202C_206A_206F_206E_200C_206B_202C_202E_200C_202E((ImU8String)text2); + try + { + num = ((!popupDisposable2.Success) ? (-576402676) : (-576402673)); + while (true) + { + int num9 = num; + num3 = -576402675; + num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -576402673; + break; + case 2: + { + ImU8String imU8String2 = new ImU8String(14, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-939498879)); + imU8String2.AppendFormatted(zone.ZoneName); + num = ((!_202C_206D_200C_202E_200F_206B_200B_202C_206A_202B_200C_202C_206A_206F_206E_206B_206E_206B_202B_200E_202D_202A_206E_206F_200F_206E_202E_206B_202E_206F_202D_206B_200F_206D_202A_206E_202C_202D_206A_206A_202E(imU8String2, false, true)) ? (-576402676) : (-576402674)); + break; + } + case 3: + { + 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))(global::_003CModule_003E._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(303621313), TerritoryId: x.pos.TerritoryId, Position: x.pos.Position, new Questionable.Controller.Steps.Interactions.AetherCurrent.Attune(x.pos.DataId, x.current.AetherCurrentId)); + StartBatchAttunement(_202B_200C_202C_200B_206C_206C_202D_206C_202B_200E_206A_206E_200D_200D_206C_202B_206E_206C_202B_206B_200E_200B_202B_206D_200D_206D_202A_200F_206E_200C_202E_202D_200D_202D_200F_202B_202B_206E_206B_200D_202E(global::_003CModule_003E._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(-1352130088), zone.ZoneName), targets2); + num = -576402676; + break; + } + case 1: + return; + } + } + } + finally + { + popupDisposable2.Dispose(); + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawAetheryteLeaf(FlatRow row, float statusIconSpacing) + { + AetheryteEntry aetheryte = row.Aetheryte; + bool valueOrDefault = _aetheryteUnlockCache.GetValueOrDefault(aetheryte.Location); + ImU8String imU8String = new ImU8String(2, 2); + imU8String.AppendFormatted(aetheryte.Name); + imU8String.AppendLiteral(global::_003CModule_003E._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(259713198)); + imU8String.AppendFormatted(row.Key); + _206A_200F_206E_206F_202D_202D_202E_206A_202D_200F_202D_206A_200B_202E_202E_202A_206A_200D_202D_202D_200B_200D_200E_202D_200C_206A_206E_202B_202B_200D_202C_202A_200E_206D_202C_202A_206A_206F_202C_202B_202E(imU8String, false, ImGuiSelectableFlags.None, default(Vector2)); + if (!valueOrDefault) + { + int num = 1450260088; + string text = default(string); + Vector3 position = default(Vector3); + while (true) + { + int num2 = num; + int num3 = 1450260091; + int num4 = num2; + string text2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 4: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(18, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(465941441)); + defaultInterpolatedStringHandler2.AppendFormatted(aetheryte.Location); + text2 = defaultInterpolatedStringHandler2.ToStringAndClear(); + goto IL_00dc; + } + case 2: + num = (row.IsAethernet ? 1450260095 : 1450260090); + continue; + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(18, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(762768571)); + defaultInterpolatedStringHandler.AppendFormatted(aetheryte.Location); + text2 = defaultInterpolatedStringHandler.ToStringAndClear(); + goto IL_00dc; + } + case 5: + _202B_200B_206E_206F_206B_206E_206F_202E_206A_202B_206F_202E_202D_206A_206E_200B_202D_200F_206F_206B_206F_202E_200C_202B_200F_200F_206D_200D_206A_202C_202E_200F_206D_200E_206C_202A_200E_206F_206A_206C_202E((ImU8String)text, ImGuiPopupFlags.None); + num = 1450260091; + continue; + case 6: + num = 1450260088; + continue; + case 3: + if (!IsAnyControllerRunning()) + { + num = 1450260089; + continue; + } + break; + case 0: + { + ImRaii.PopupDisposable popupDisposable = _200D_200D_206D_206D_202E_206F_200C_206F_202B_206A_202B_206D_202A_200F_206E_200B_206A_202D_202B_206E_202D_202C_200E_206C_206B_206C_200F_202A_206D_202A_202C_206A_206F_206E_200C_206B_202C_202E_200C_202E((ImU8String)text); + try + { + num = ((!popupDisposable.Success) ? 975509733 : 975509734); + while (true) + { + int num5 = num; + num3 = 975509733; + num4 = num5; + ITask task2; + ITask attuneTask; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + { + ITask task = new AethernetShard.Attune(aetheryte.Location); + task2 = task; + goto IL_0219; + } + case 3: + { + ImU8String imU8String2 = new ImU8String(10, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1181378461)); + imU8String2.AppendFormatted(aetheryte.Name); + num = ((!_202C_206D_200C_202E_200F_206B_200B_202C_206A_202B_200C_202C_206A_206F_206E_206B_206E_206B_202B_200E_202D_202A_206E_206F_200F_206E_202E_206B_202E_206F_202D_206B_200F_206D_202A_206E_202C_202D_206A_206A_202E(imU8String2, false, true)) ? 975509733 : 975509729); + break; + } + case 2: + num = 975509734; + break; + case 1: + { + ITask task = new Questionable.Controller.Steps.Interactions.Aetheryte.Attune(aetheryte.Location); + task2 = task; + goto IL_0219; + } + case 4: + position = _200F_202C_200C_206C_206E_206E_200F_200F_206F_206D_206D_206B_200E_206C_202B_206F_202B_206F_206A_202A_200D_200D_202D_202D_202C_202E_206A_202D_206A_200F_202E_206F_202A_200E_206B_202A_206D_202C_202D_206F_202E(_aetheryteData)[aetheryte.Location]; + num = (row.IsAethernet ? 975509728 : 975509732); + break; + case 0: + goto end_IL_01d2; + IL_0219: + attuneTask = task2; + StartAttunement(aetheryte.Name, aetheryte.TerritoryId, position, attuneTask); + num = 975509733; + break; + } + continue; + end_IL_01d2: + break; + } + } + finally + { + popupDisposable.Dispose(); + } + break; + } + IL_00dc: + text = text2; + num = ((!_200E_200D_206D_202B_202C_200B_202D_200F_202A_206A_206C_206E_202C_206E_202A_202D_202A_206D_202E_206D_206D_200E_206A_202E_206E_206A_200F_200B_206F_206E_200E_206A_206F_206D_206A_202B_206C_200C_200F_202A_202E(ImGuiMouseButton.Right)) ? 1450260091 : 1450260094); + continue; + } + break; + } + } + _200E_200F_200D_200E_200D_200C_206A_202B_206E_206D_202C_202B_200D_200F_202C_206E_200E_200D_206B_202D_202E_202A_202D_202C_202A_202C_200F_206F_202A_200D_202E_202B_206D_202E_206D_200C_206B_202D_202D_200E_202E(); + DrawStatusGlyph(valueOrDefault, statusIconSpacing); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawCurrentLeaf(FlatRow row, float statusIconSpacing) + { + CurrentEntry current = row.Current; + bool valueOrDefault = _currentUnlockCache.GetValueOrDefault(current.AetherCurrentId); + if (current.IsQuestGated) + { + int num = -967715694; + string text = default(string); + IQuestInfo questInfo = default(IQuestInfo); + while (true) + { + int num2 = num; + int num3 = -967715693; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + string text2; + string value; + ImU8String imU8String; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 9: + num = -967715694; + continue; + case 5: + _202B_200B_206E_206F_206B_206E_206F_202E_206A_202B_206F_202E_202D_206A_206E_200B_202D_200F_206F_206B_206F_202E_200C_202B_200F_200F_206D_200D_206A_202C_202E_200F_206D_200E_206C_202A_200E_206F_206A_206C_202E((ImU8String)text, ImGuiPopupFlags.None); + num = -967715685; + continue; + case 3: + num = ((!_200D_202A_200D_200B_206C_202D_206F_202A_206E_206C_200E_206B_200B_206E_200B_206E_202B_200D_200C_202C_200D_202E_200C_202A_206E_206A_202B_206A_200E_202E_202D_202A_206F_202E_200F_200B_206E_202E_200D_206D_202E()) ? (-967715689) : (-967715695)); + continue; + case 2: + num = ((!_questData.TryGetQuestInfo(_202A_206B_206F_200C_200B_202D_200C_206B_202E_206E_200C_202D_202C_200C_206B_200D_206E_200C_206F_200D_200B_206A_206E_206F_202C_202E_206C_202B_202E_206A_200E_206C_200F_202D_200C_202D_202B_200F_202C_200D_202E(current.QuestId), out questInfo)) ? (-967715689) : (-967715692)); + continue; + case 6: + text2 = global::_003CModule_003E._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(937345867); + goto IL_013e; + case 7: + _questTooltipComponent.Draw(questInfo); + num = -967715689; + continue; + case 0: + text2 = _202B_200C_202C_200B_206C_206C_202D_206C_202B_200E_206A_206E_200D_200D_206C_202B_206E_206C_202B_206B_200E_200B_202B_206D_200D_206D_202A_200F_206E_200C_202E_202D_200D_202D_200F_202B_202B_206E_206B_200D_202E(global::_003CModule_003E._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(-1186831656), current.QuestName); + goto IL_013e; + case 4: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2030870508)); + defaultInterpolatedStringHandler.AppendFormatted(current.AetherCurrentId); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + num = ((!_200E_200D_206D_202B_202C_200B_202D_200F_202A_206A_206C_206E_202C_206E_202A_202D_202A_206D_202E_206D_206D_200E_206A_202E_206E_206A_200F_200B_206F_206E_200E_206A_206F_206D_206A_202B_206C_200C_200F_202A_202E(ImGuiMouseButton.Right)) ? (-967715685) : (-967715690)); + continue; + } + case 1: + num = ((!_206E_202C_206F_200F_200D_202E_206C_200D_206F_202D_202E_200C_202D_206A_206D_200E_202E_202B_206D_206D_202B_202B_206C_200D_206C_202A_200D_202D_206E_202E_206E_200C_202C_200B_206E_200E_200F_206F_200E_200C_202E(current.QuestName)) ? (-967715693) : (-967715691)); + continue; + case 8: + break; + IL_013e: + value = text2; + imU8String = new ImU8String(2, 2); + imU8String.AppendFormatted(value); + imU8String.AppendLiteral(global::_003CModule_003E._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(604327994)); + imU8String.AppendFormatted(row.Key); + _206A_200F_206E_206F_202D_202D_202E_206A_202D_200F_202D_206A_200B_202E_202E_202A_206A_200D_202D_202D_200B_200D_200E_202D_200C_206A_206E_202B_202B_200D_202C_202A_200E_206D_202C_202A_206A_206F_202C_202B_202E(imU8String, false, ImGuiSelectableFlags.None, default(Vector2)); + num = ((current.QuestId == 0) ? (-967715689) : (-967715696)); + continue; + } + break; + } + ImRaii.PopupDisposable popupDisposable = _200D_200D_206D_206D_202E_206F_200C_206F_202B_206A_202B_206D_202A_200F_206E_200B_206A_202D_202B_206E_202D_202C_200E_206C_206B_206C_200F_202A_206D_202A_202C_206A_206F_206E_200C_206B_202C_202E_200C_202E((ImU8String)text); + try + { + num = ((!popupDisposable.Success) ? 1411598846 : 1411598842); + while (true) + { + int num7 = num; + int num3 = 1411598847; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + default: + continue; + case 4: + num = ((current.QuestId == 0) ? 1411598846 : 1411598845); + continue; + case 5: + num = ((!_202C_206D_200C_202E_200F_206B_200B_202C_206A_202B_200C_202C_206A_206F_206E_206B_206E_206B_202B_200E_202D_202A_206E_206F_200F_206E_202E_206B_202E_206F_202D_206B_200F_206D_202A_206E_202C_202D_206A_206A_202E((ImU8String)global::_003CModule_003E._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(-329882336), false, true)) ? 1411598846 : 1411598843); + continue; + case 0: + num = 1411598842; + continue; + case 2: + { + QuestChainComponent? questChainComponent = QuestChainComponent; + if (questChainComponent == null) + { + break; + } + questChainComponent.SelectQuest(_202A_206B_206F_200C_200B_202D_200C_206B_202E_206E_200C_202D_202C_200C_206B_200D_206E_200C_206F_200D_200B_206A_206E_206F_202C_202E_206C_202B_202E_206A_200E_206C_200F_202D_200C_202D_202B_200F_202C_200D_202E(current.QuestId)); + num = 1411598844; + continue; + } + case 3: + break; + case 1: + goto end_IL_0253; + } + Action? selectTabAction = SelectTabAction; + if (selectTabAction == null) + { + break; + } + selectTabAction(global::_003CModule_003E._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(-898291037)); + num = 1411598846; + continue; + end_IL_0253: + break; + } + } + finally + { + popupDisposable.Dispose(); + } + } + else + { + ImU8String imU8String2 = new ImU8String(16, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1398574100)); + imU8String2.AppendFormatted(row.Key); + _206A_200F_206E_206F_202D_202D_202E_206A_202D_200F_202D_206A_200B_202E_202E_202A_206A_200D_202D_202D_200B_200D_200E_202D_200C_206A_206E_202B_202B_200D_202C_202A_200E_206D_202C_202A_206A_206F_202C_202B_202E(imU8String2, false, ImGuiSelectableFlags.None, default(Vector2)); + if (!valueOrDefault) + { + int num = 939541890; + string text3 = default(string); + AetherCurrentPosition overworldPosition = default(AetherCurrentPosition); + while (true) + { + int num10 = num; + int num3 = 939541891; + int num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + default: + continue; + case 2: + _202B_200B_206E_206F_206B_206E_206F_202E_206A_202B_206F_202E_202D_206A_206E_200B_202D_200F_206F_206B_206F_202E_200C_202B_200F_200F_206D_200D_206A_202C_202E_200F_206D_200E_206C_202A_200E_206F_206A_206C_202E((ImU8String)text3, ImGuiPopupFlags.None); + num = 939541888; + continue; + case 1: + { + overworldPosition = _aetherCurrentData.GetOverworldPosition(current.AetherCurrentId); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(16, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1992006660)); + defaultInterpolatedStringHandler2.AppendFormatted(current.AetherCurrentId); + text3 = defaultInterpolatedStringHandler2.ToStringAndClear(); + num = ((!_200E_200D_206D_202B_202C_200B_202D_200F_202A_206A_206C_206E_202C_206E_202A_202D_202A_206D_202E_206D_206D_200E_206A_202E_206E_206A_200F_200B_206F_206E_200E_206A_206F_206D_206A_202B_206C_200C_200F_202A_202E(ImGuiMouseButton.Right)) ? 939541888 : 939541889); + continue; + } + case 0: + num = 939541890; + continue; + case 3: + break; + } + break; + } + using ImRaii.PopupDisposable popupDisposable2 = _200D_200D_206D_206D_202E_206F_200C_206F_202B_206A_202B_206D_202A_200F_206E_200B_206A_202D_202B_206E_202D_202C_200E_206C_206B_206C_200F_202A_206D_202A_202C_206A_206F_206E_200C_206B_202C_202E_200C_202E((ImU8String)text3); + if ((bool)popupDisposable2) + { + num = -1681952250; + int num14; + while (true) + { + int num13 = num; + int num3 = -1681952251; + int num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + num = -1681952250; + continue; + case 3: + num = ((!(overworldPosition != null)) ? (-1681952249) : (-1681952252)); + continue; + case 1: + num14 = ((!IsAnyControllerRunning()) ? 1 : 0); + break; + case 2: + num14 = 0; + break; + } + break; + } + bool flag = (byte)num14 != 0; + ImRaii.DisabledDisposable disabledDisposable = _206E_202A_200B_206D_206B_206C_206E_206E_202D_206F_206C_202C_206F_200D_202D_206D_202A_202B_206C_202B_200F_200B_206D_206C_200F_200C_206A_206A_202B_200D_206B_200F_206B_200D_202D_202A_202B_202A_202C_202E(!flag); + try + { + num = ((!_202C_206D_200C_202E_200F_206B_200B_202C_206A_202B_200C_202C_206A_206F_206E_206B_206E_206B_202B_200E_202D_202A_206E_206F_200F_206E_202E_206B_202E_206F_202D_206B_200F_206D_202A_206E_202C_202D_206A_206A_202E((ImU8String)global::_003CModule_003E._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(1095755646), false, true)) ? 846999353 : 846999355); + while (true) + { + int num15 = num; + int num3 = 846999352; + int num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 846999355; + break; + case 3: + num = ((!(overworldPosition != null)) ? 846999353 : 846999352); + break; + case 0: + StartAttunement(global::_003CModule_003E._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(-904194713), overworldPosition.TerritoryId, overworldPosition.Position, new Questionable.Controller.Steps.Interactions.AetherCurrent.Attune(overworldPosition.DataId, current.AetherCurrentId)); + num = 846999353; + break; + case 1: + goto end_IL_0546; + } + continue; + end_IL_0546: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-611190412) : (-611190409)); + while (true) + { + int num16 = num; + int num3 = -611190411; + int num4 = num16; + int num17 = num4 + num3; + int num18 = num4 & num3; + switch (num17 - (num18 + num18)) + { + case 0: + num = -611190409; + break; + case 2: + _200C_200B_200F_202E_206F_202B_202B_202B_200E_206F_206E_202D_202E_200D_206C_200C_200E_206D_206A_202B_206D_206F_202E_206A_202C_206C_202B_200B_206B_200B_202B_206C_206D_206D_206E_202D_202D_206C_200B_202E_202E((IDisposable)disabledDisposable); + num = -611190412; + break; + case 1: + goto end_IL_0607; + } + continue; + end_IL_0607: + break; + } + } + num = (flag ? 683962009 : 683962014); + while (true) + { + int num19 = num; + int num3 = 683962010; + int num4 = num19; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 683962014; + break; + case 1: + num = ((!_200E_200D_206B_206C_202C_200F_206B_200B_206B_202C_206E_200D_206C_206C_206A_206C_200F_206A_206F_206B_202A_200C_206F_200C_206D_200D_206F_200B_200D_202E_206E_206C_206B_200E_202D_202C_206A_206A_202D_206F_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? 683962009 : 683962008); + break; + case 4: + num = ((!(overworldPosition == null)) ? 683962009 : 683962011); + break; + case 2: + _202D_206B_200E_200F_200D_202B_206F_206C_206C_206A_200C_206E_206B_202E_200F_206F_200F_202B_202B_202D_206D_206E_202C_200B_202C_206D_202A_202E_200F_200D_202A_206F_202C_206D_202C_202B_200D_206C_202E_200D_202E((ImU8String)global::_003CModule_003E._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(702333542)); + num = 683962009; + break; + case 3: + goto end_IL_0674; + } + continue; + end_IL_0674: + break; + } + } + } + } + _200E_200F_200D_200E_200D_200C_206A_202B_206E_206D_202C_202B_200D_200F_202C_206E_200E_200D_206B_202D_202E_202A_202D_202C_202A_202C_200F_206F_202A_200D_202E_202B_206D_202E_206D_200C_206B_202D_202D_200E_202E(); + DrawStatusGlyph(valueOrDefault, statusIconSpacing); + } + + private void DrawStatusGlyph(bool unlocked, float statusIconSpacing) + { + float num = _202C_200F_206E_202E_200E_202C_202C_202E_202B_206B_200B_200D_202A_206C_202D_206B_200B_206C_200F_200B_206C_206C_206D_202E_200C_200F_206D_202E_200C_200B_202E_206C_202D_206C_202D_206E_202C_200C_206D_206F_202E() / 2f - statusIconSpacing; + _202C_200E_206A_206F_200E_200F_206F_200C_202D_202D_206E_206F_200D_202D_200E_206E_206F_202E_206F_202A_206F_200F_206A_200B_202C_200E_200F_200C_202D_206E_206E_200E_202C_200D_200B_206D_200D_200D_200E_202C_202E(_206B_200B_202C_206B_200D_202B_200C_206D_206E_202E_206A_200B_206D_206D_200E_202A_206D_202D_200D_206C_200D_200C_206F_206A_206C_206B_206F_202C_202B_202C_206E_200D_200B_206E_200B_202B_202C_200F_206A_202E() + num); + _uiUtils.ChecklistItem(string.Empty, unlocked ? UiThemeUtils.StatusComplete : UiThemeUtils.StatusLocked, unlocked ? FontAwesomeIcon.Check : FontAwesomeIcon.Times); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void RebuildFlatRows() + { + List list = new List(); + if (_aetherytesByExpansion.Any((ExpansionGroup exp) => exp.Items.Any(AetherytePasses))) + { + int num = 1424535059; + while (true) + { + int num2 = num; + int num3 = 1424535057; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + num = 1424535059; + continue; + case 2: + list.Add(HeaderRow(0, global::_003CModule_003E._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(648065356), global::_003CModule_003E._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(648065356), _aetheryteUnlocked, _aetheryteTotal)); + if (_expandedGroups.Contains(global::_003CModule_003E._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(648065356))) + { + num = 1424535056; + continue; + } + break; + case 1: + foreach (ExpansionGroup item in _aetherytesByExpansion) + { + List list2 = item.Items.Where(AetherytePasses).ToList(); + if (list2.Count == 0) + { + continue; + } + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(13, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1272732722)); + defaultInterpolatedStringHandler.AppendFormatted(item.SortOrder); + string text = defaultInterpolatedStringHandler.ToStringAndClear(); + int valueOrDefault = _aetheryteExpansionUnlockedCounts.GetValueOrDefault(item.SortOrder); + list.Add(HeaderRow(1, text, item.ExpansionName, valueOrDefault, item.Items.Count)); + if (!_expandedGroups.Contains(text)) + { + continue; + } + using List.Enumerator enumerator2 = list2.GetEnumerator(); + num = -2140436778; + while (true) + { + int num5 = num; + num3 = -2140436777; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = (enumerator2.MoveNext() ? (-2140436780) : (-2140436779)); + break; + case 3: + { + AetheryteEntry current2 = enumerator2.Current; + list.Add(AetheryteLeafRow(2, current2, isAethernet: false)); + num = -2140436778; + break; + } + case 0: + num = -2140436778; + break; + case 2: + goto end_IL_018a; + } + continue; + end_IL_018a: + break; + } + } + break; + } + break; + } + } + if (_aethernetByCity.Any((CityGroup city) => city.Shards.Any(AetherytePasses))) + { + int num = -1021691128; + while (true) + { + int num6 = num; + int num3 = -1021691127; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + num = -1021691128; + continue; + case 1: + list.Add(HeaderRow(0, global::_003CModule_003E._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(827772541), global::_003CModule_003E._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(827772541), _aethernetUnlocked, _aethernetTotal)); + if (_expandedGroups.Contains(global::_003CModule_003E._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(263665615))) + { + num = -1021691125; + continue; + } + break; + case 2: + foreach (CityGroup item2 in _aethernetByCity) + { + List list3 = item2.Shards.Where(AetherytePasses).ToList(); + if (list3.Count == 0) + { + continue; + } + string text2 = _202B_200C_202C_200B_206C_206C_202D_206C_202B_200E_206A_206E_200D_200D_206C_202B_206E_206C_202B_206B_200E_200B_202B_206D_200D_206D_202A_200F_206E_200C_202E_202D_200D_202D_200F_202B_202B_206E_206B_200D_202E(global::_003CModule_003E._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(-429040103), item2.CityName); + int valueOrDefault2 = _aethernetCityUnlockedCounts.GetValueOrDefault(item2.CityName); + list.Add(HeaderRow(1, text2, item2.CityName, valueOrDefault2, item2.Shards.Count, BatchKind.AethernetCity, item2)); + if (!_expandedGroups.Contains(text2)) + { + continue; + } + using List.Enumerator enumerator2 = list3.GetEnumerator(); + num = 2111684106; + while (true) + { + int num7 = num; + num3 = 2111684107; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = 2111684106; + break; + case 3: + { + AetheryteEntry current4 = enumerator2.Current; + list.Add(AetheryteLeafRow(2, current4, isAethernet: true)); + num = 2111684106; + break; + } + case 1: + num = (enumerator2.MoveNext() ? 2111684104 : 2111684105); + break; + case 2: + goto end_IL_03b5; + } + continue; + end_IL_03b5: + break; + } + } + break; + } + break; + } + } + if (_currentsByExpansion.Any((ExpansionGroup exp) => exp.Items.Any(ZoneHasContent))) + { + int num = -91847285; + while (true) + { + int num10 = num; + int num3 = -91847286; + int num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + num = -91847285; + continue; + case 1: + list.Add(HeaderRow(0, global::_003CModule_003E._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(1187258909), global::_003CModule_003E._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(-477932770), _currentUnlocked, _currentTotal)); + if (_expandedGroups.Contains(global::_003CModule_003E._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(560694134))) + { + num = -91847288; + continue; + } + break; + case 2: + foreach (ExpansionGroup item3 in _currentsByExpansion) + { + List list4 = item3.Items.Where(ZoneHasContent).ToList(); + if (list4.Count == 0) + { + continue; + } + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(12, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1831556210)); + defaultInterpolatedStringHandler2.AppendFormatted(item3.SortOrder); + string text3 = defaultInterpolatedStringHandler2.ToStringAndClear(); + int unlocked = item3.Items.Sum((ZoneCurrentGroup z) => _currentZoneUnlockedCounts.GetValueOrDefault(z.TerritoryId)); + int total = item3.Items.Sum((ZoneCurrentGroup z) => z.Currents.Count); + list.Add(HeaderRow(1, text3, item3.ExpansionName, unlocked, total)); + if (!_expandedGroups.Contains(text3)) + { + continue; + } + foreach (ZoneCurrentGroup item4 in list4) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(12, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(1906658959)); + defaultInterpolatedStringHandler3.AppendFormatted(item4.TerritoryId); + string text4 = defaultInterpolatedStringHandler3.ToStringAndClear(); + int valueOrDefault3 = _currentZoneUnlockedCounts.GetValueOrDefault(item4.TerritoryId); + list.Add(HeaderRow(2, text4, item4.ZoneName, valueOrDefault3, item4.Currents.Count, BatchKind.CurrentZone, null, item4)); + if (!_expandedGroups.Contains(text4)) + { + continue; + } + IEnumerator enumerator6 = item4.Currents.Where(CurrentPasses).GetEnumerator(); + try + { + num = -1715466179; + while (true) + { + int num11 = num; + num3 = -1715466178; + num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = (_206B_206A_202E_200B_202E_202D_202C_202A_206D_200C_200D_200B_200E_206E_202A_200B_202B_202A_200B_202B_200D_206C_206C_200E_206A_206B_206C_206B_206B_200F_202E_206C_202A_206A_202A_202C_206F_206C_206B_206A_202E((IEnumerator)enumerator6) ? (-1715466177) : (-1715466180)); + break; + case 1: + { + CurrentEntry current7 = enumerator6.Current; + list.Add(CurrentLeafRow(3, current7)); + num = -1715466179; + break; + } + case 0: + num = -1715466179; + break; + case 2: + goto end_IL_06d3; + } + continue; + end_IL_06d3: + break; + } + } + finally + { + num = ((enumerator6 == null) ? 1736578572 : 1736578575); + while (true) + { + int num12 = num; + num3 = 1736578574; + num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 2: + goto end_IL_077a; + case 1: + _200C_200B_200F_202E_206F_202B_202B_202B_200E_206F_206E_202D_202E_200D_206C_200C_200E_206D_206A_202B_206D_206F_202E_206A_202C_206C_202B_200B_206B_200B_202B_206C_206D_206D_206E_202D_202D_206C_200B_202E_202E((IDisposable)enumerator6); + num = 1736578572; + break; + case 0: + num = 1736578575; + break; + } + continue; + end_IL_077a: + break; + } + } + } + } + break; + } + break; + } + } + _flatRows = list; + } + + private bool AetherytePasses(AetheryteEntry entry) + { + int num = (_206E_202C_206F_200F_200D_202E_206C_200D_206F_202D_202E_200C_202D_206A_206D_200E_202E_202B_206D_206D_202B_202B_206C_200D_206C_202A_200D_202D_206E_202E_206E_200C_202C_200B_206E_200E_200F_206F_200E_200C_202E(_searchText) ? (-2025218308) : (-2025218305)); + while (true) + { + int num2 = num; + int num3 = -2025218307; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return false; + case 0: + num = ((!_aetheryteUnlockCache.GetValueOrDefault(entry.Location)) ? (-2025218312) : (-2025218311)); + break; + case 4: + return false; + case 1: + num = ((!_showUnattunedOnly) ? (-2025218312) : (-2025218307)); + break; + case 2: + num = (_206C_200C_202C_206A_206D_202E_206E_202A_200B_206D_200C_200F_206B_202E_206D_206E_202E_202C_206A_206C_206D_200B_200E_202C_202E_206E_202E_206B_206A_200F_200F_202E_206D_206B_200F_206A_202B_206B_200F_206E_202E(entry.Name, _searchText, StringComparison.OrdinalIgnoreCase) ? (-2025218308) : (-2025218306)); + break; + case 6: + num = -2025218305; + break; + case 5: + return true; + } + } + } + + private bool CurrentPasses(CurrentEntry entry) + { + int num = ((!_showUnattunedOnly) ? 1104505652 : 1104505655); + while (true) + { + int num2 = num; + int num3 = 1104505654; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 2: + return true; + case 1: + return !_currentUnlockCache.GetValueOrDefault(entry.AetherCurrentId); + } + continue; + IL_0046: + num = 1104505655; + } + } + + private bool ZoneHasContent(ZoneCurrentGroup zone) + { + int num = (_206E_202C_206F_200F_200D_202E_206C_200D_206F_202D_202E_200C_202D_206A_206D_200E_202E_202B_206D_206D_202B_202B_206C_200D_206C_202A_200D_202D_206E_202E_206E_200C_202C_200B_206E_200E_200F_206F_200E_200C_202E(_searchText) ? (-1980776685) : (-1980776688)); + while (true) + { + int num2 = num; + int num3 = -1980776687; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -1980776688; + break; + case 0: + return false; + case 2: + return zone.Currents.Any(CurrentPasses); + case 1: + num = (_206C_200C_202C_206A_206D_202E_206E_202A_200B_206D_200C_200F_206B_202E_206D_206E_202E_202C_206A_206C_206D_200B_200E_202C_202E_206E_202E_206B_206A_200F_200F_202E_206D_206B_200F_206A_202B_206B_200F_206E_202E(zone.ZoneName, _searchText, StringComparison.OrdinalIgnoreCase) ? (-1980776685) : (-1980776687)); + break; + } + } + } + + 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 + }; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static FlatRow AetheryteLeafRow(int depth, AetheryteEntry entry, bool isAethernet) + { + return new FlatRow + { + Kind = AttuneRowKind.AetheryteLeaf, + Depth = depth, + Key = _202B_200C_202C_200B_206C_206C_202D_206C_202B_200E_206A_206E_200D_200D_206C_202B_206E_206C_202B_206B_200E_200B_202B_206D_200D_206D_202A_200F_206E_200C_202E_202D_200D_202D_200F_202B_202B_206E_206B_200D_202E(isAethernet ? global::_003CModule_003E._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(27897763) : global::_003CModule_003E._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(1522017589), entry.Location.ToString()), + Label = entry.Name, + Aetheryte = entry, + IsAethernet = isAethernet + }; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static FlatRow CurrentLeafRow(int depth, CurrentEntry entry) + { + return new FlatRow + { + Kind = AttuneRowKind.CurrentLeaf, + Depth = depth, + Key = _202B_200C_202C_200B_206C_206C_202D_206C_202B_200E_206A_206E_200D_200D_206C_202B_206E_206C_202B_206B_200E_200B_202B_206D_200D_206D_202A_200F_206E_200C_202E_202D_200D_202D_200F_202B_202B_206E_206B_200D_202E(global::_003CModule_003E._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(1869444216), entry.AetherCurrentId.ToString()), + Current = entry + }; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static string FormatCount(int unlocked, int total) + { + int num = ((total == 0) ? (-601303065) : (-601303068)); + while (true) + { + int num2 = num; + int num3 = -601303067; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0043; + case 1: + return _200E_206C_206C_202B_202D_200D_200F_206E_206E_202A_200F_202A_200E_200E_200D_206E_206B_206B_202C_200B_200C_206E_206B_200C_202B_202E_200D_200F_200F_200C_206E_200D_206B_200C_202C_202B_202A_206F_206A_206D_202E(_206F_200E_206E_202C_206E_200E_206C_206A_206C_200F_202C_200D_202C_202A_206E_200F_206A_202A_202A_202E_202D_200E_200B_202B_200E_200C_202D_202C_200B_206F_202A_202A_206C_206E_200B_206A_200D_206B_202B_200E_202E(unlocked.ToString(_202A_200B_206B_206F_202C_200C_200E_200D_206C_202C_202A_202D_202A_200B_206A_206A_206B_202E_206B_202D_206F_202C_202B_200D_206E_206B_206A_206D_200F_206F_202E_200D_206F_202B_202A_206E_206F_200D_206F_202A_202E()), CountPadWidth), global::_003CModule_003E._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(884463298), _206F_200E_206E_202C_206E_200E_206C_206A_206C_200F_202C_200D_202C_202A_206E_200F_206A_202A_202A_202E_202D_200E_200B_202B_200E_200C_202D_202C_200B_206F_202A_202A_206C_206E_200B_206A_200D_206B_202B_200E_202E(total.ToString(_202A_200B_206B_206F_202C_200C_200E_200D_206C_202C_202A_202D_202A_200B_206A_206A_206B_202E_206B_202D_206F_202C_202B_200D_206E_206B_206A_206D_200F_206F_202E_200D_206F_202B_202A_206E_206F_200D_206F_202A_202E()), CountPadWidth)); + case 2: + return _200E_206C_206C_202B_202D_200D_200F_206E_206E_202A_200F_202A_200E_200E_200D_206E_206B_206B_202C_200B_200C_206E_206B_200C_202B_202E_200D_200F_200F_200C_206E_200D_206B_200C_202C_202B_202A_206F_206A_206D_202E(_202E_206B_206B_202D_202D_202B_202D_202C_202C_200D_200C_206E_202C_206B_200E_200C_200E_202A_202B_202A_206A_202A_202C_200E_202A_200E_200D_202C_206B_206E_206D_206F_200E_206B_202C_202B_206C_206A_206B_202E_202E(global::_003CModule_003E._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(792471175), CountPadWidth), global::_003CModule_003E._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(-2014446916), _202E_206B_206B_202D_202D_202B_202D_202C_202C_200D_200C_206E_202C_206B_200E_200C_200E_202A_202B_202A_206A_202A_202C_200E_202A_200E_200D_202C_206B_206E_206D_206F_200E_206B_202C_202B_206C_206A_206B_202E_202E(global::_003CModule_003E._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(792471175), CountPadWidth)); + } + continue; + IL_0043: + num = -601303068; + } + } + + 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() + { + int num = (_questController.IsRunning ? 1800165961 : 1800165962); + while (true) + { + int num2 = num; + int num3 = 1800165960; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = (_customDeliveryController.IsRunning ? 1800165961 : 1800165964); + break; + case 1: + return true; + case 5: + num = (_seasonalDutyController.IsRunning ? 1800165961 : 1800165960); + break; + case 4: + return _attunementController.IsRunning; + case 3: + num = 1800165962; + break; + case 2: + num = (_fateController.IsRunning ? 1800165961 : 1800165965); + break; + } + } + } + + private void StartBatchAttunement(string batchName, IEnumerable<(string Name, ushort TerritoryId, Vector3 Position, ITask AttuneTask)> targets) + { + _pendingBatchTargets.Clear(); + _pendingBatchTargets.AddRange(targets); + int num = ((_pendingBatchTargets.Count != 0) ? 681163999 : 681163998); + while (true) + { + int num2 = num; + int num3 = 681163999; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0064; + case 0: + { + _batchName = batchName; + (string, ushort, Vector3, ITask) tuple = PopNearestTarget(); + StartAttunement(batchName, tuple.Item2, tuple.Item3, tuple.Item4); + return; + } + case 1: + return; + } + continue; + IL_0064: + num = 681163998; + } + } + + private (string Name, ushort TerritoryId, Vector3 Position, ITask AttuneTask) PopNearestTarget() + { + IGameObject gameObject = _200F_200C_202D_202D_200C_202C_202D_200E_202B_206A_206E_206D_202B_200E_200B_206E_200E_202A_202C_206F_200E_206C_200D_202B_206F_202A_202D_200B_206C_202B_206E_206A_200F_206C_202B_202E_206E_200B_206C_202D_202E(_objectTable, 0); + Vector3 value = ((gameObject != null) ? _200D_202E_200B_200D_202D_200B_206E_202A_206F_200D_202A_206A_206B_200D_202C_200C_200D_200B_206C_202D_202C_200D_200E_206D_202B_206F_202B_206D_200F_202B_202D_206E_206C_206F_200D_200E_202C_200F_200F_202A_202E(gameObject) : Vector3.Zero); + int index = 0; + float num = float.MaxValue; + int num2 = 0; + int num3 = 803266970; + float num9 = default(float); + while (true) + { + int num4 = num3; + int num5 = 803266968; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 2: + num3 = ((num2 < _pendingBatchTargets.Count) ? 803266969 : 803266973); + break; + case 4: + num = num9; + index = num2; + num3 = 803266968; + break; + case 0: + { + int num10 = num2; + num5 = 1; + num6 = num10; + int num11 = num6 ^ num5; + int num12 = num6 & num5; + num2 = num11 + (num12 + num12); + num3 = 803266970; + break; + } + case 5: + { + (string Name, ushort TerritoryId, Vector3 Position, ITask AttuneTask) result = _pendingBatchTargets[index]; + _pendingBatchTargets.RemoveAt(index); + return result; + } + case 3: + num3 = 803266970; + break; + case 1: + num9 = Vector3.DistanceSquared(value, _pendingBatchTargets[num2].Position); + num3 = ((!(num9 < num)) ? 803266968 : 803266972); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void StartAttunement(string targetName, ushort territoryId, Vector3 position, ITask attuneTask) + { + PlayerNavState playerNavState = _206A_202A_200C_202C_200F_206D_206A_202C_206D_206B_206F_200D_206E_200C_206E_200C_206B_206E_206D_206F_202E_206A_206A_200B_200F_200C_202E_202C_200C_202A_202E_202A_202C_206B_202C_200E_202E_202C_206D_202C_202E(_playerNavStateBuilder, (int?)null); + int num = ((playerNavState != null) ? 1264790983 : 1264790979); + List list = default(List); + RouteResult routeResult = default(RouteResult); + while (true) + { + int num2 = num; + int num3 = 1264790983; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + 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); + return; + case 4: + _200D_200E_202C_206E_200E_200E_202C_200D_202C_200E_200C_200C_200F_206D_202E_202A_200F_206E_206E_202E_202A_202B_200E_206F_200F_200E_200B_202D_202A_200C_206C_200E_206E_202D_200C_200B_206D_200D_206D_202A_202E((ILogger)_logger, global::_003CModule_003E._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(145706259), Array.Empty()); + return; + case 1: + _200D_200E_202C_206E_200E_200E_202C_200D_202C_200E_200C_200C_200F_206D_202E_202A_200F_206E_206E_202E_202A_202B_200E_206F_200F_200E_200B_202D_202A_200C_206C_200E_206E_202D_200C_200B_206D_200D_206D_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-1554603032), new object[2] { territoryId, targetName }); + return; + case 2: + num = 1264790979; + break; + case 3: + num = ((_206A_200D_200E_206F_200E_206A_206E_202B_202A_206A_202A_206F_206B_206D_206B_200C_200C_202B_206D_206B_202A_206C_206A_206E_206D_200C_202B_200C_200F_200C_206A_202E_202C_202A_200E_206A_200D_206D_206C_202B_202E(_clientState) == territoryId) ? 1264790977 : 1264790982); + break; + case 5: + list.AddRange(_taskMapper.MapInstructions(_206C_200D_202E_206F_206F_206E_206F_206D_202B_206B_206E_202C_200B_206E_202D_200C_202C_202C_202B_202B_200B_206E_206E_202B_206A_206C_206A_200B_202C_200B_206B_202C_202D_200D_202E_202B_206B_200E_206E_202D_202E(_instructionBuilder, routeResult, (uint)territoryId, false))); + num = 1264790977; + break; + case 0: + routeResult = _206B_202A_206B_200D_206B_200D_202E_206D_206B_202E_206B_206D_206D_200C_200C_200C_200E_206F_200D_200F_200B_202A_200B_200D_200F_206E_202E_206B_200E_206A_206C_200D_200D_202B_200C_202D_200B_200E_206D_202E(_navRouter, playerNavState, (uint)territoryId, position, (IReadOnlySet)null); + list = new List(); + num = ((_206C_202D_202D_200E_206B_202E_200B_200B_206C_206C_206E_202A_206C_200D_206A_202C_202A_206F_206A_206F_202B_200C_206B_200F_206C_200C_200E_202D_206F_202E_202E_200F_202B_200C_200F_202C_202E_202C_206F_206D_202E(routeResult).Count <= 0) ? 1264790980 : 1264790978); + break; + } + } + } + + static ReadOnlyDictionary _200F_202C_200C_206C_206E_206E_200F_200F_206F_206D_206D_206B_200E_206C_202B_206F_202B_206F_206A_202A_200D_200D_202D_202D_202C_202E_206A_202D_206A_200F_202E_206F_202A_200E_206B_202A_206D_202C_202D_206F_202E(AetheryteData P_0) + { + return P_0.Locations; + } + + static ReadOnlyDictionary _200C_206F_200C_200E_200B_206B_206D_202A_206A_200B_202E_202D_206B_200E_206B_200E_202D_200F_206C_200B_200E_206A_200F_206E_202A_202E_206E_200B_206E_202A_200F_202E_202E_202B_200C_200B_202A_200F_206D_206E_202E(AetheryteData P_0) + { + return P_0.TerritoryIds; + } + + static ReadOnlyDictionary _200F_206F_202E_202D_202D_206B_200C_206D_202B_202E_206B_200F_202E_200B_200F_206B_200F_200C_202A_206D_206B_206E_200D_206E_206C_202A_200F_200B_202B_206B_206C_200C_200B_206D_200E_206C_206B_206C_200B_202C_202E(AetheryteData P_0) + { + return P_0.AethernetGroups; + } + + static bool _202E_206A_200B_206C_202C_206D_206F_200B_206B_206E_206E_206E_206B_206E_202D_200B_206A_200E_206E_200E_200E_200D_202E_202B_202E_206C_202C_206E_202B_206E_206E_202C_206B_202D_200C_206D_206A_200C_200B_206D_202E(EAetheryteLocation P_0) + { + return AetheryteConverter.IsLargeAetheryte(P_0); + } + + static bool _206B_206A_202E_200B_202E_202D_202C_202A_206D_200C_200D_200B_200E_206E_202A_200B_202B_202A_200B_202B_200D_206C_206C_200E_206A_206B_206C_206B_206B_200F_202E_206C_202A_206A_202A_202C_206F_206C_206B_206A_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200C_200B_200F_202E_206F_202B_202B_202B_200E_206F_206E_202D_202E_200D_206C_200C_200E_206D_206A_202B_206D_206F_202E_206A_202C_206C_202B_200B_206B_200B_202B_206C_206D_206D_206E_202D_202D_206C_200B_202E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static long _206B_206E_200F_202C_200E_206D_206A_200E_200B_202B_206D_206D_200E_200B_202B_206B_202C_202D_206E_200E_202C_206B_200F_206B_200E_202B_206D_202C_206F_200C_202C_200F_202A_200E_200F_200B_202E_200F_206B_200E_202E() + { + return Environment.TickCount64; + } + + static string _200E_206C_206C_202B_202D_200D_200F_206E_206E_202A_200F_202A_200E_200E_200D_206E_206B_206B_202C_200B_200C_206E_206B_200C_202B_202E_200D_200F_200F_200C_206E_200D_206B_200C_202C_202B_202A_206F_206A_206D_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static ImFontPtr _202E_206B_200F_200B_200B_202E_202C_202E_200C_206F_206A_206C_200C_200E_206D_202E_200C_200D_202C_200B_200F_202A_206B_202A_206F_202B_200E_206B_202D_200C_206F_202C_202D_206C_206E_202A_202C_202E_206B_202A_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _200D_200F_200D_200D_202D_202E_200E_200E_200F_206A_206F_200D_206B_200C_202C_202A_200D_202D_206C_202A_202A_206C_202B_200E_202E_206D_206C_200F_206E_202B_200F_200E_200E_200D_202A_200D_206F_200E_200E_206B_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _206F_206E_200F_202C_200C_206D_206C_206F_200C_200F_206D_202C_206E_202C_200C_202D_202D_206A_206F_206B_202D_206A_202A_202A_200D_202A_202B_200B_206F_202B_200B_206B_206E_206F_202C_206C_202C_200E_200F_206C_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _206A_200D_202A_202B_202E_202D_206E_200C_206E_202C_200B_200F_202B_200C_202A_200C_202E_202A_200E_200C_202B_200E_202C_200B_200F_206E_202B_200C_206D_202E_202A_200C_202D_200B_206E_200D_202A_202D_200C_200C_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static ImGuiStylePtr _206E_200F_200F_202A_206B_206D_200E_206A_206F_200C_202C_200E_200D_206C_202B_202A_206E_202E_202D_200B_200B_202A_206C_202D_206F_200F_202E_200C_202E_200B_202B_202E_206D_206C_206B_206D_200C_202B_206A_200F_202E() + { + return ImGui.GetStyle(); + } + + static Vector2 _206D_200E_200C_202D_202D_200D_200E_206A_200F_206B_206D_202B_200B_202D_206E_202D_202D_202B_202C_202D_200E_206B_202C_202E_200E_206F_202B_206B_206B_206D_206A_202D_202A_206E_202A_202E_202C_202A_202A_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static void _200B_200C_200F_206C_202C_206D_200D_200C_202A_202C_202D_206F_200B_202A_202A_206A_200E_206D_206C_202A_200B_206F_200D_200F_202E_202C_200B_206A_206F_206A_200C_206E_206F_206B_206D_206D_202B_206A_202E_206F_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _206D_202A_206D_206E_206E_200D_200F_202C_200C_202B_202C_206E_202E_206E_202B_206A_200B_200C_202B_206E_200C_206B_200D_202E_206F_200D_200E_206A_206A_200E_200B_200E_206F_202C_206F_202C_202E_202C_200E_202C_202E() + { + ImGui.SameLine(); + } + + static float _206C_206E_202E_200B_202D_206C_200B_206F_200F_206E_206C_202C_206D_200B_202D_206C_200D_206E_202D_202A_202D_200B_206D_206D_200E_206F_200B_206E_202C_202D_206F_206E_202C_206C_200D_200B_202B_200F_206E_202B_202E() + { + return ImGui.GetFrameHeight(); + } + + static void _202A_200F_200E_202B_202A_202A_200B_200E_200C_202D_206B_206C_206C_202C_206E_200E_202B_202A_202C_206E_202B_200E_206A_200D_202E_206D_206B_206F_202B_200D_206E_206F_206D_206B_202A_206E_206C_206E_206C_200E_202E() + { + ImGui.Separator(); + } + + static IUiBuilder _202A_200D_206C_206F_202A_206C_206C_206F_202E_200C_206A_200D_206C_206B_200F_206E_206A_200D_200F_200B_206B_206C_202E_206B_202E_206F_200E_200F_206A_206C_206C_200F_200C_202E_206B_202A_206C_202E_200F_200E_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _202C_202D_200E_200B_206F_200D_200C_202A_200C_200F_206C_200E_202E_206F_200D_202E_200D_206A_200E_206D_200C_206E_202A_206E_202A_206A_206B_206B_200C_206E_202D_200F_200E_206B_200F_200C_200E_200B_202D_206D_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _206D_206B_206F_206D_200F_202D_206E_206A_206F_200E_200C_206D_206F_200D_202C_206B_202C_206B_202D_206C_206C_206B_202C_206E_206A_206B_200E_200C_200C_202B_202A_202E_206C_200D_206E_206A_206D_202D_206F_206F_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static ImGuiIOPtr _206B_200B_200C_206A_200E_200D_202D_206A_200F_206B_202D_200F_206A_202C_200D_202A_200B_200F_206B_200F_206F_206C_202B_202C_200C_206A_200B_200C_202E_202E_202A_202A_200D_200B_202A_206E_202C_200D_206F_200E_202E() + { + return ImGui.GetIO(); + } + + static void _206A_206F_200C_200E_200E_202A_202D_202E_202A_206C_202A_200D_202E_200D_202C_202B_200D_200B_206F_206B_202D_206B_202E_206C_202D_200D_206C_200B_202B_200F_206D_200F_206F_202A_202D_202A_200F_206B_206A_206B_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static void _202D_200E_206A_206F_206C_200C_200E_200E_206F_200F_200C_206A_206A_202E_202E_206E_206B_206C_202D_206A_206F_202C_206A_206C_200F_202B_202E_206D_206E_206F_202D_200F_206A_206D_206F_206D_200F_206F_200D_202A_202E() + { + ImGui.TableHeadersRow(); + } + + static float _202B_202D_200E_200B_206F_200D_206B_202C_202E_202C_200E_206E_206D_200D_200E_200B_202D_202A_206D_200B_206E_200C_202E_206B_202E_200D_202B_202C_206B_206B_200F_206E_200B_206C_206A_206C_200E_202B_200E_200D_202E() + { + return ImGui.GetTextLineHeightWithSpacing(); + } + + unsafe static ImGuiListClipper* _206C_206C_206A_202A_200C_202E_200F_200D_200C_200F_206E_206E_206B_206E_206A_206C_200D_206C_200E_200E_202C_200F_200E_206E_202B_206F_202A_200D_206A_202C_206F_202E_206D_202C_206C_200C_206D_206B_200C_202B_202E() + { + return ImGuiNative.ImGuiListClipper(); + } + + unsafe static void _200B_202C_206D_200C_202E_206A_202C_202B_202D_200E_202C_202E_200B_202A_202D_206A_206D_200B_200E_206B_200D_202B_200C_200D_206A_206C_206E_200E_202A_200D_206E_206D_200E_202A_202A_202B_200F_200E_202B_206F_202E(ImGuiListClipper* P_0, int P_1, float P_2) + { + ImGuiNative.Begin(P_0, P_1, P_2); + } + + static void _206C_206A_202E_200D_202A_200C_200C_200F_200F_206D_206F_206B_202E_200C_202D_200B_200D_200B_202A_206F_202B_202C_202E_200F_200F_206B_206C_206E_202D_200C_200D_202A_202C_200D_202B_202E_200B_200E_200D_206A_202E() + { + ImGui.TableNextRow(); + } + + static bool _200E_200F_200D_200E_200D_200C_206A_202B_206E_206D_202C_202B_200D_200F_202C_206E_200E_200D_206B_202D_202E_202A_202D_202C_202A_202C_200F_206F_202A_200D_202E_202B_206D_202E_206D_200C_206B_202D_202D_200E_202E() + { + return ImGui.TableNextColumn(); + } + + static float _206B_200B_202C_206B_200D_202B_200C_206D_206E_202E_206A_200B_206D_206D_200E_202A_206D_202D_200D_206C_200D_200C_206F_206A_206C_206B_206F_202C_202B_202C_206E_200D_200B_206E_200B_202B_202C_200F_206A_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _202C_200E_206A_206F_200E_200F_206F_200C_202D_202D_206E_206F_200D_202D_200E_206E_206F_202E_206F_202A_206F_200F_206A_200B_202C_200E_200F_200C_202D_206E_206E_200E_202C_200D_200B_206D_200D_200D_200E_202C_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static bool _206A_200F_206E_206F_202D_202D_202E_206A_202D_200F_202D_206A_200B_202E_202E_202A_206A_200D_202D_202D_200B_200D_200E_202D_200C_206A_206E_202B_202B_200D_202C_202A_200E_206D_202C_202A_206A_206F_202C_202B_202E(ImU8String P_0, bool P_1, ImGuiSelectableFlags P_2, Vector2 P_3) + { + return ImGui.Selectable(P_0, P_1, P_2, P_3); + } + + static string _202B_200C_202C_200B_206C_206C_202D_206C_202B_200E_206A_206E_200D_200D_206C_202B_206E_206C_202B_206B_200E_200B_202B_206D_200D_206D_202A_200F_206E_200C_202E_202D_200D_202D_200F_202B_202B_206E_206B_200D_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _200E_200D_206D_202B_202C_200B_202D_200F_202A_206A_206C_206E_202C_206E_202A_202D_202A_206D_202E_206D_206D_200E_206A_202E_206E_206A_200F_200B_206F_206E_200E_206A_206F_206D_206A_202B_206C_200C_200F_202A_202E(ImGuiMouseButton P_0) + { + return ImGui.IsItemClicked(P_0); + } + + static void _202B_200B_206E_206F_206B_206E_206F_202E_206A_202B_206F_202E_202D_206A_206E_200B_202D_200F_206F_206B_206F_202E_200C_202B_200F_200F_206D_200D_206A_202C_202E_200F_206D_200E_206C_202A_200E_206F_206A_206C_202E(ImU8String P_0, ImGuiPopupFlags P_1) + { + ImGui.OpenPopup(P_0, P_1); + } + + static ImRaii.PopupDisposable _200D_200D_206D_206D_202E_206F_200C_206F_202B_206A_202B_206D_202A_200F_206E_200B_206A_202D_202B_206E_202D_202C_200E_206C_206B_206C_200F_202A_206D_202A_202C_206A_206F_206E_200C_206B_202C_202E_200C_202E(ImU8String P_0) + { + return ImRaii.Popup(P_0); + } + + static bool _202C_206D_200C_202E_200F_206B_200B_202C_206A_202B_200C_202C_206A_206F_206E_206B_206E_206B_202B_200E_202D_202A_206E_206F_200F_206E_202E_206B_202E_206F_202D_206B_200F_206D_202A_206E_202C_202D_206A_206A_202E(ImU8String P_0, bool P_1, bool P_2) + { + return ImGui.MenuItem(P_0, P_1, P_2); + } + + static bool _206E_202C_206F_200F_200D_202E_206C_200D_206F_202D_202E_200C_202D_206A_206D_200E_202E_202B_206D_206D_202B_202B_206C_200D_206C_202A_200D_202D_206E_202E_206E_200C_202C_200B_206E_200E_200F_206F_200E_200C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _200D_202A_200D_200B_206C_202D_206F_202A_206E_206C_200E_206B_200B_206E_200B_206E_202B_200D_200C_202C_200D_202E_200C_202A_206E_206A_202B_206A_200E_202E_202D_202A_206F_202E_200F_200B_206E_202E_200D_206D_202E() + { + return ImGui.IsItemHovered(); + } + + static QuestId _202A_206B_206F_200C_200B_202D_200C_206B_202E_206E_200C_202D_202C_200C_206B_200D_206E_200C_206F_200D_200B_206A_206E_206F_202C_202E_206C_202B_202E_206A_200E_206C_200F_202D_200C_202D_202B_200F_202C_200D_202E(uint P_0) + { + return QuestId.FromRowId(P_0); + } + + static ImRaii.DisabledDisposable _206E_202A_200B_206D_206B_206C_206E_206E_202D_206F_206C_202C_206F_200D_202D_206D_202A_202B_206C_202B_200F_200B_206D_206C_200F_200C_206A_206A_202B_200D_206B_200F_206B_200D_202D_202A_202B_202A_202C_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static bool _200E_200D_206B_206C_202C_200F_206B_200B_206B_202C_206E_200D_206C_206C_206A_206C_200F_206A_206F_206B_202A_200C_206F_200C_206D_200D_206F_200B_200D_202E_206E_206C_206B_200E_202D_202C_206A_206A_202D_206F_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static void _202D_206B_200E_200F_200D_202B_206F_206C_206C_206A_200C_206E_206B_202E_200F_206F_200F_202B_202B_202D_206D_206E_202C_200B_202C_206D_202A_202E_200F_200D_202A_206F_202C_206D_202C_202B_200D_206C_202E_200D_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static float _202C_200F_206E_202E_200E_202C_202C_202E_202B_206B_200B_200D_202A_206C_202D_206B_200B_206C_200F_200B_206C_206C_206D_202E_200C_200F_206D_202E_200C_200B_202E_206C_202D_206C_202D_206E_202C_200C_206D_206F_202E() + { + return ImGui.GetColumnWidth(); + } + + static bool _206C_200C_202C_206A_206D_202E_206E_202A_200B_206D_200C_200F_206B_202E_206D_206E_202E_202C_206A_206C_206D_200B_200E_202C_202E_206E_202E_206B_206A_200F_200F_202E_206D_206B_200F_206A_202B_206B_200F_206E_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static CultureInfo _202A_200B_206B_206F_202C_200C_200E_200D_206C_202C_202A_202D_202A_200B_206A_206A_206B_202E_206B_202D_206F_202C_202B_200D_206E_206B_206A_206D_200F_206F_202E_200D_206F_202B_202A_206E_206F_200D_206F_202A_202E() + { + return CultureInfo.CurrentCulture; + } + + static string _206F_200E_206E_202C_206E_200E_206C_206A_206C_200F_202C_200D_202C_202A_206E_200F_206A_202A_202A_202E_202D_200E_200B_202B_200E_200C_202D_202C_200B_206F_202A_202A_206C_206E_200B_206A_200D_206B_202B_200E_202E(string P_0, int P_1) + { + return P_0.PadLeft(P_1); + } + + static string _202E_206B_206B_202D_202D_202B_202D_202C_202C_200D_200C_206E_202C_206B_200E_200C_200E_202A_202B_202A_206A_202A_202C_200E_202A_200E_200D_202C_206B_206E_206D_206F_200E_206B_202C_202B_206C_206A_206B_202E_202E(string P_0, int P_1) + { + return P_0.PadLeft(P_1); + } + + static IGameObject _200F_200C_202D_202D_200C_202C_202D_200E_202B_206A_206E_206D_202B_200E_200B_206E_200E_202A_202C_206F_200E_206C_200D_202B_206F_202A_202D_200B_206C_202B_206E_206A_200F_206C_202B_202E_206E_200B_206C_202D_202E(IObjectTable P_0, int P_1) + { + return P_0[P_1]; + } + + static Vector3 _200D_202E_200B_200D_202D_200B_206E_202A_206F_200D_202A_206A_206B_200D_202C_200C_200D_200B_206C_202D_202C_200D_200E_206D_202B_206F_202B_206D_200F_202B_202D_206E_206C_206F_200D_200E_202C_200F_200F_202A_202E(IGameObject P_0) + { + return P_0.Position; + } + + static PlayerNavState _206A_202A_200C_202C_200F_206D_206A_202C_206D_206B_206F_200D_206E_200C_206E_200C_206B_206E_206D_206F_202E_206A_206A_200B_200F_200C_202E_202C_200C_202A_202E_202A_202C_206B_202C_200E_202E_202C_206D_202C_202E(PlayerNavStateBuilder P_0, int? P_1) + { + return P_0.Build(P_1); + } + + static void _200D_200E_202C_206E_200E_200E_202C_200D_202C_200E_200C_200C_200F_206D_202E_202A_200F_206E_206E_202E_202A_202B_200E_206F_200F_200E_200B_202D_202A_200C_206C_200E_206E_202D_200C_200B_206D_200D_206D_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static RouteResult _206B_202A_206B_200D_206B_200D_202E_206D_206B_202E_206B_206D_206D_200C_200C_200C_200E_206F_200D_200F_200B_202A_200B_200D_200F_206E_202E_206B_200E_206A_206C_200D_200D_202B_200C_202D_200B_200E_206D_202E(NavRouter P_0, PlayerNavState P_1, uint P_2, Vector3 P_3, IReadOnlySet P_4) + { + return P_0.FindRoute(P_1, P_2, P_3, P_4); + } + + static IReadOnlyList _206C_202D_202D_200E_206B_202E_200B_200B_206C_206C_206E_202A_206C_200D_206A_202C_202A_206F_206A_206F_202B_200C_206B_200F_206C_200C_200E_202D_206F_202E_202E_200F_202B_200C_200F_202C_202E_202C_206F_206D_202E(RouteResult P_0) + { + return P_0.Segments; + } + + static IReadOnlyList _206C_200D_202E_206F_206F_206E_206F_206D_202B_206B_206E_202C_200B_206E_202D_200C_202C_202C_202B_202B_200B_206E_206E_202B_206A_206C_206A_200B_202C_200B_206B_202C_202D_200D_202E_202B_206B_200E_206E_202D_202E(RouteInstructionBuilder P_0, RouteResult P_1, uint P_2, bool P_3) + { + return P_0.Build(P_1, P_2, P_3); + } + + static uint _206A_200D_200E_206F_200E_206A_206E_202B_202A_206A_202A_206F_206B_206D_206B_200C_200C_202B_206D_206B_202A_206C_206A_206E_206D_200C_202B_200C_200F_200C_206A_202E_202C_202A_200E_206A_200D_206D_206C_202B_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static int _206C_200C_200B_206C_202E_202B_206D_206C_202A_206C_206A_200D_206A_206F_206D_200C_200F_200D_202D_206D_200F_202C_202B_206C_202E_202E_202B_206A_206D_206C_202D_200B_200D_206A_200F_206A_200D_200F_200B_206E_202E(string P_0) + { + return P_0.Length; + } +} diff --git a/Questionable/Questionable.Windows.JournalComponents/CustomDeliveryJournalComponent.cs b/Questionable/Questionable.Windows.JournalComponents/CustomDeliveryJournalComponent.cs new file mode 100644 index 00000000..48969c0b --- /dev/null +++ b/Questionable/Questionable.Windows.JournalComponents/CustomDeliveryJournalComponent.cs @@ -0,0 +1,2363 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Bindings.ImGui; +using Dalamud.Configuration; +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 +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass33_0 + { + public QuestId questId; + + internal bool _003CDrawNpcSection_003Eb__0(Questionable.Model.Quest q) + { + return _202C_200C_202B_200C_206D_206C_206F_206A_200D_206D_200F_202A_202B_206F_202A_202C_200F_206A_202A_202E_202D_200C_206E_206C_200D_206D_202E_202A_202B_206B_200B_206C_206E_206B_200D_206C_206D_202B_202E(q.Id, (ElementId)questId); + } + + static bool _202C_200C_202B_200C_206D_206C_206F_206A_200D_206D_200F_202A_202B_206F_202A_202C_200F_206A_202A_202E_202D_200C_206E_206C_200D_206D_202E_202A_202B_206B_200B_206C_206E_206B_200D_206C_206D_202B_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + private const int WeeklyAllowanceLimit = 12; + + private const int DeliveriesPerWeek = 6; + + private static readonly string[] SlotLabels = new string[3] + { + global::_003CModule_003E._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(1546741505), + global::_003CModule_003E._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(-1787754537), + global::_003CModule_003E._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(591834367) + }; + + private static readonly EDeliverySlot[] Slots = new EDeliverySlot[3] + { + EDeliverySlot.Craft, + EDeliverySlot.Gather, + EDeliverySlot.Fish + }; + + private static readonly string[] JobModeNames = new string[2] + { + global::_003CModule_003E._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(-1758491554), + global::_003CModule_003E._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(2088550031) + }; + + private static readonly string[] CrafterNames = new string[8] + { + global::_003CModule_003E._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(-1066230618), + global::_003CModule_003E._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(715786355), + global::_003CModule_003E._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(-1778691794), + global::_003CModule_003E._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(-346963292), + global::_003CModule_003E._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(-78338836), + global::_003CModule_003E._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(469033233), + global::_003CModule_003E._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(-967072851), + global::_003CModule_003E._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(1854423174) + }; + + private static readonly EClassJob[] CrafterJobs; + + private static readonly string[] GathererNames; + + private static readonly EClassJob[] GathererJobs; + + private static readonly string[] OvercapModeNames; + + private static readonly string[] CollectabilityTierNames; + + 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 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, 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; + _supplyHelper = supplyHelper; + _rewardCalculator = rewardCalculator; + _questRegistry = questRegistry; + _questTooltip = questTooltip; + _questData = questData; + _configuration = configuration; + _pluginInterface = pluginInterface; + _dataManager = dataManager; + _logger = logger; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void DrawCustomDeliveries() + { + DrawWeeklyAllowanceBar(); + List deliveryQueue = _configuration.CustomDeliveries.DeliveryQueue; + int num; + if (deliveryQueue.Count > 0) + { + num = 1894687875; + int num7; + while (true) + { + int num2 = num; + int num3 = 1894687878; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 6: + num = (_seasonalDutyController.IsRunning ? 1894687877 : 1894687874); + continue; + case 1: + num = (_fateController.IsRunning ? 1894687877 : 1894687872); + continue; + case 5: + _200C_200D_202C_200E_200B_202C_200B_200B_206D_200C_206B_200B_202B_202B_202E_206B_200E_202C_206B_202E_206C_200E_200C_202D_206C_206F_202C_206F_200B_202C_200F_200F_200E_200C_206D_206A_206C_206B_206B_202E(); + num = (_customDeliveryController.IsRunning ? 1894687877 : 1894687878); + continue; + case 0: + num = (_questController.IsRunning ? 1894687877 : 1894687879); + continue; + case 4: + num7 = (_attunementController.IsRunning ? 1 : 0); + break; + case 2: + num = 1894687875; + continue; + case 3: + num7 = 1; + break; + } + break; + } + ImRaii.DisabledDisposable disabledDisposable = _200F_206F_202D_206B_206F_200E_200E_206B_202C_202C_206B_206B_200D_206E_202B_202E_200B_200D_200E_206C_200F_206C_206A_206A_206F_202D_200E_202E_200C_202E_206D_202E_202D_202B_206D_206A_202D_200C_200E_202E_202E((byte)num7 != 0); + try + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(14, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1274998743)); + defaultInterpolatedStringHandler.AppendFormatted(deliveryQueue.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Play, defaultInterpolatedStringHandler.ToStringAndClear())) ? 1903583856 : 1903583857); + while (true) + { + int num8 = num; + int num3 = 1903583856; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = 1903583857; + break; + case 1: + _questController.Stop(global::_003CModule_003E._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(-2138710865)); + _fateController.Stop(global::_003CModule_003E._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(947038429)); + _seasonalDutyController.Stop(global::_003CModule_003E._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(-1317773140)); + _attunementController.Stop(global::_003CModule_003E._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(243231760)); + _customDeliveryController.StartQueue(); + num = 1903583856; + break; + case 0: + goto end_IL_01a6; + } + continue; + end_IL_01a6: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-1507641474) : (-1507641475)); + while (true) + { + int num11 = num; + int num3 = -1507641476; + int num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 0: + num = -1507641475; + break; + case 2: + goto end_IL_026f; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)disabledDisposable); + num = -1507641474; + break; + } + continue; + end_IL_026f: + break; + } + } + } + _206B_202C_206C_206E_200E_206E_206A_200D_200D_202C_202E_206D_200C_200C_202E_206B_200D_200B_200D_202B_200E_202B_202E_200C_202C_200F_202D_206E_200B_206C_206F_200C_202D_206D_206A_202C_206F_202B_202C_202D_202E(); + _200D_202D_200F_200C_206C_202B_200F_202A_206C_206D_206F_206F_206C_200D_206C_202C_206E_206B_200E_206D_206B_206C_202E_200F_202D_200C_206D_202A_206E_202D_200F_200D_200D_200C_200E_200F_202D_200E_206F_206E_202E(); + DrawBonusNpcCallout(); + DrawJobSelectionSettings(); + _200D_202D_200F_200C_206C_202B_200F_202A_206C_206D_206F_206F_206C_200D_206C_202C_206E_206B_200E_206D_206B_206C_202E_200F_202D_200C_206D_202A_206E_202D_200F_200D_200D_200C_200E_200F_202D_200E_206F_206E_202E(); + List> list = _npcsByExpansion ?? (_npcsByExpansion = (from x in _questData.AllQuests.Values.OfType() + group x by x.Expansion into g + orderby (int)g.Key + select g).ToList()); + num = ((list.Count != 0) ? 1578901953 : 1578901954); + while (true) + { + int num14 = num; + int num3 = 1578901955; + int num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) + { + case 0: + goto IL_03a9; + case 1: + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(-150190344)); + return; + case 2: + { + foreach (IGrouping item in list) + { + UiThemeUtils.SubSectionHeader(GetExpansionName(item.Key)); + _200D_202D_200F_200C_206C_202B_200F_202A_206C_206D_206F_206F_206C_200D_206C_202C_206E_206B_200E_206D_206B_206C_202E_200F_202D_200C_206D_202A_206E_202D_200F_200D_200D_200C_200E_200F_202D_200E_206F_206E_202E(); + IEnumerator enumerator2 = item.OrderBy((SatisfactionSupplyInfo x) => x.SortKey).GetEnumerator(); + try + { + num = -1162577959; + while (true) + { + int num17 = num; + num3 = -1162577958; + num4 = num17; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1162577959; + break; + case 2: + { + SatisfactionSupplyInfo current2 = enumerator2.Current; + int npcIndex = _206F_202B_206A_202C_202E_200F_200E_202A_200E_206B_206B_200C_206B_200C_206F_200F_202B_200F_206E_202C_206B_206C_202A_206F_200C_202C_202D_200D_206D_206B_202D_206F_206B_200C_206B_200C_206B_202E_206C_202A_202E((ElementId)(SatisfactionSupplyNpcId)current2.QuestId) - 1; + DrawNpcSection(current2, npcIndex); + num = -1162577959; + break; + } + case 3: + num = (_200C_200F_206C_200F_200E_206D_206F_206D_206D_206A_202B_206C_200B_206B_206A_206E_200E_206D_206B_202E_200E_206F_200E_202E_202A_200C_200B_200F_202E_206B_206F_202C_206F_200B_202D_206E_202B_200E_206A_206E_202E((IEnumerator)enumerator2) ? (-1162577960) : (-1162577957)); + break; + case 1: + goto end_IL_0432; + } + continue; + end_IL_0432: + break; + } + } + finally + { + num = ((enumerator2 == null) ? (-1577618023) : (-1577618024)); + while (true) + { + int num18 = num; + num3 = -1577618023; + num4 = num18; + int num19 = num4 + num3; + int num20 = num4 & num3; + switch (num19 - (num20 + num20)) + { + case 2: + num = -1577618024; + break; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)enumerator2); + num = -1577618023; + break; + case 0: + goto end_IL_04ea; + } + continue; + end_IL_04ea: + break; + } + } + _200D_202D_200F_200C_206C_202B_200F_202A_206C_206D_206F_206F_206C_200D_206C_202C_206E_206B_200E_206D_206B_206C_202E_200F_202D_200C_206D_202A_206E_202D_200F_200D_200D_200C_200E_200F_202D_200E_206F_206E_202E(); + } + return; + } + } + continue; + IL_03a9: + num = 1578901954; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static void DrawWeeklyAllowanceBar() + { + int num = _206D_202A_200F_206F_200C_202E_202C_202D_206E_200D_200C_202B_206F_200D_200B_202E_200F_202D_200C_202E_202A_206C_200B_202E_202B_202D_202D_200C_200D_206F_206C_206E_200C_202D_206D_206B_200E_206D_206B_200D_202E(); + int num2 = num; + int num3 = 12; + int num4 = ~(~num3 + num2); + TimeSpan item = CalculateWeeklyReset().TimeUntilReset; + string unit = global::_003CModule_003E._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(-684269491); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(55, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-953518964)); + defaultInterpolatedStringHandler.AppendFormatted(num4); + JournalUiShared.DrawAllowanceHeader(num4, 12, unit, item, defaultInterpolatedStringHandler.ToStringAndClear()); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawBonusNpcCallout() + { + byte b = _206E_200B_200C_206D_200E_202A_206D_206E_206A_206C_206D_206D_200D_200D_202B_202D_202B_206C_202D_206C_206F_206D_206A_200B_202C_200F_202E_200D_202E_206A_202A_206A_202C_200F_206E_200B_206A_206D_206A_200D_202E(); + int num = ((b != byte.MaxValue) ? (-653921244) : (-653921245)); + IQuestInfo questInfo = default(IQuestInfo); + int num8 = default(int); + SatisfactionBonusGuarantee row = default(SatisfactionBonusGuarantee); + while (true) + { + int num2 = num; + int num3 = -653921248; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -653921245; + break; + case 8: + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(-1035390078)); + _200D_202E_202B_202B_202A_200B_206B_206E_206A_200B_202D_202E_206F_200E_200D_202C_206C_202D_202E_202B_200B_202B_200E_200B_202B_202E_202D_206C_206F_200B_202A_206F_206B_200D_206C_202C_206F_200D_202C_200E_202E(0f, 4f); + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.AccentColor, (ImU8String)questInfo.Name); + _200D_202D_200F_200C_206C_202B_200F_202A_206C_206D_206F_206F_206C_200D_206C_202C_206E_206B_200E_206D_206B_206C_202E_200F_202D_200C_206D_202A_206E_202D_200F_200D_200D_200C_200E_200F_202D_200E_206F_206E_202E(); + return; + case 3: + { + int num7 = (int)DateTimeOffset.UtcNow.ToUnixTimeSeconds(); + num8 = _200C_200B_200D_202C_206D_202C_200D_206E_202A_206E_200E_206B_206A_202A_202B_200D_206A_206E_200E_200D_206F_202D_200C_202C_200C_202A_200D_200F_200F_200B_200B_206F_206D_202C_200E_206F_200F_206D_202B_202D_202E(_supplyHelper, num7); + num = ((num8 >= 0) ? (-653921241) : (-653921248)); + break; + } + case 6: + return; + case 1: + return; + case 0: + return; + case 7: + num = (_dataManager.GetExcelSheet().TryGetRow((uint)num8, out row) ? (-653921243) : (-653921242)); + break; + case 4: + { + SatisfactionSupplyNpcId elementId = _200E_202B_206E_202E_202C_206D_200B_206D_206B_206E_206A_206D_202A_206C_202E_200E_200C_202D_206B_206B_202B_206A_200F_200B_200B_206D_206C_202E_206C_202B_206A_206D_206F_206B_200F_206E_202B_200B_200D_200E_202E((ushort)b); + num = (_questData.TryGetQuestInfo(elementId, out questInfo) ? (-653921240) : (-653921247)); + break; + } + case 5: + b = (byte)row.RowId; + num = -653921244; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawJobSelectionSettings() + { + Configuration.CustomDeliveryConfiguration customDeliveries = _configuration.CustomDeliveries; + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-338851739)); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + _206B_202D_200D_200F_200B_206B_206C_200E_206A_206A_206E_202A_200B_206B_206B_206B_200F_206F_206E_202D_200D_206F_206B_206F_202C_206A_202C_200F_200D_206E_200F_200D_200D_206F_206F_200F_206A_200C_206A_200D_202E(_206C_200C_206C_200D_206D_200F_202C_202A_202D_206E_206D_206C_200B_202D_202A_200B_206F_202D_200B_202A_200C_206D_202E_206E_206D_202A_206C_200B_200D_206B_206D_202D_202E_202C_200C_206F_200D_202D_202E_202E_202E(_202E_202A_206C_202A_206E_200F_200B_200B_200D_202C_206B_206D_206A_200C_200D_202E_206C_200B_202D_202A_206A_202E_202D_200B_206C_206D_206B_206A_200D_206A_202E_202C_202B_206B_202D_200E_202D_206F_202A_202B_202E().X * 0.4f, 150f)); + int currentItem = (int)customDeliveries.CraftJobMode; + int num = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(971064530), ref currentItem, JobModeNames, JobModeNames.Length)) ? 1534487448 : 1534487447); + int currentItem4 = default(int); + int currentItem3 = default(int); + int currentItem6 = default(int); + int currentItem2 = default(int); + int currentItem5 = default(int); + while (true) + { + int num2 = num; + int num3 = 1534487451; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 20: + _206B_202D_200D_200F_200B_206B_206C_200E_206A_206A_206E_202A_200B_206B_206B_206B_200F_206F_206E_202D_200D_206F_206B_206F_202C_206A_202C_200F_200D_206E_200F_200D_200D_206F_206F_200F_206A_200C_206A_200D_202E(_206C_200C_206C_200D_206D_200F_202C_202A_202D_206E_206D_206C_200B_202D_202A_200B_206F_202D_200B_202A_200C_206D_202E_206E_206D_202A_206C_200B_200D_206B_206D_202D_202E_202C_200C_206F_200D_202D_202E_202E_202E(_202E_202A_206C_202A_206E_200F_200B_200B_200D_202C_206B_206D_206A_200C_200D_202E_206C_200B_202D_202A_206A_202E_202D_200B_206C_206D_206B_206A_200D_206A_202E_202C_202B_206B_202D_200E_202D_206F_202A_202B_202E().X * 0.4f, 150f)); + currentItem4 = (int)customDeliveries.ScripOvercapMode; + num = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(1574243439), ref currentItem4, OvercapModeNames, OvercapModeNames.Length)) ? 1534487443 : 1534487435); + break; + case 16: + customDeliveries.ScripOvercapMode = (Configuration.CustomDeliveryConfiguration.EScripOvercapMode)currentItem4; + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num = 1534487443; + break; + case 18: + customDeliveries.PreferredCraftJob = CrafterJobs[currentItem3]; + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num = 1534487445; + break; + case 10: + num = ((!_200B_206D_206C_206B_200B_202D_202A_200B_206C_202E_206F_200B_200F_200C_200E_202D_200C_206A_206C_206D_200B_206B_202D_200B_202D_202E_202B_200D_200B_202C_202D_200D_206B_206F_200D_200F_206B_202C_202B_206E_202E()) ? 1534487434 : 1534487453); + break; + case 14: + _206B_202D_200D_200F_200B_206B_206C_200E_206A_206A_206E_202A_200B_206B_206B_206B_200F_206F_206E_202D_200D_206F_206B_206F_202C_206A_202C_200F_200D_206E_200F_200D_200D_206F_206F_200F_206A_200C_206A_200D_202E(_206C_200C_206C_200D_206D_200F_202C_202A_202D_206E_206D_206C_200B_202D_202A_200B_206F_202D_200B_202A_200C_206D_202E_206E_206D_202A_206C_200B_200D_206B_206D_202D_202E_202C_200C_206F_200D_202D_202E_202E_202E(_202E_202A_206C_202A_206E_200F_200B_200B_200D_202C_206B_206D_206A_200C_200D_202E_206C_200B_202D_202A_206A_202E_202D_200B_206C_206D_206B_206A_200D_206A_202E_202C_202B_206B_202D_200E_202D_206F_202A_202B_202E().X * 0.4f, 150f)); + currentItem6 = (int)customDeliveries.GatherJobMode; + num = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(637808228), ref currentItem6, JobModeNames, JobModeNames.Length)) ? 1534487440 : 1534487449); + break; + case 12: + customDeliveries.CraftJobMode = (Configuration.CustomDeliveryConfiguration.EJobSelectionMode)currentItem; + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num = 1534487448; + break; + case 9: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(2066372464)); + num = 1534487432; + break; + case 15: + num = 1534487447; + break; + case 6: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(-871682856)); + num = 1534487434; + break; + case 11: + _200C_200D_202C_200E_200B_202C_200B_200B_206D_200C_206B_200B_202B_202B_202E_206B_200E_202C_206B_202E_206C_200E_200C_202D_206C_206F_202C_206F_200B_202C_200F_200F_200E_200C_206D_206A_206C_206B_206B_202E(); + _206B_202D_200D_200F_200B_206B_206C_200E_206A_206A_206E_202A_200B_206B_206B_206B_200F_206F_206E_202D_200D_206F_206B_206F_202C_206A_202C_200F_200D_206E_200F_200D_200D_206F_206F_200F_206A_200C_206A_200D_202E(_206C_200C_206C_200D_206D_200F_202C_202A_202D_206E_206D_206C_200B_202D_202A_200B_206F_202D_200B_202A_200C_206D_202E_206E_206D_202A_206C_200B_200D_206B_206D_202D_202E_202C_200C_206F_200D_202D_202E_202E_202E(_202E_202A_206C_202A_206E_200F_200B_200B_200D_202C_206B_206D_206A_200C_200D_202E_206C_200B_202D_202A_206A_202E_202D_200B_206C_206D_206B_206A_200D_206A_202E_202C_202B_206B_202D_200E_202D_206F_202A_202B_202E().X, 150f)); + currentItem2 = Array.IndexOf(GathererJobs, customDeliveries.PreferredGatherJob); + num = ((currentItem2 >= 0) ? 1534487455 : 1534487454); + break; + case 0: + customDeliveries.PreferredGatherJob = GathererJobs[currentItem2]; + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num = 1534487439; + break; + case 4: + num = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(230575598), ref currentItem2, GathererNames, GathererNames.Length)) ? 1534487439 : 1534487451); + break; + case 19: + _206B_202D_200D_200F_200B_206B_206C_200E_206A_206A_206E_202A_200B_206B_206B_206B_200F_206F_206E_202D_200D_206F_206B_206F_202C_206A_202C_200F_200D_206E_200F_200D_200D_206F_206F_200F_206A_200C_206A_200D_202E(_206C_200C_206C_200D_206D_200F_202C_202A_202D_206E_206D_206C_200B_202D_202A_200B_206F_202D_200B_202A_200C_206D_202E_206E_206D_202A_206C_200B_200D_206B_206D_202D_202E_202C_200C_206F_200D_202D_202E_202E_202E(_202E_202A_206C_202A_206E_200F_200B_200B_200D_202C_206B_206D_206A_200C_200D_202E_206C_200B_202D_202A_206A_202E_202D_200B_206C_206D_206B_206A_200D_206A_202E_202C_202B_206B_202D_200E_202D_206F_202A_202B_202E().X * 0.4f, 150f)); + currentItem5 = (int)customDeliveries.CollectabilityTier; + num = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(360535167), ref currentItem5, CollectabilityTierNames, CollectabilityTierNames.Length)) ? 1534487441 : 1534487450); + break; + case 5: + currentItem2 = 0; + num = 1534487455; + break; + case 2: + customDeliveries.GatherJobMode = (Configuration.CustomDeliveryConfiguration.EJobSelectionMode)currentItem6; + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num = 1534487440; + break; + case 1: + customDeliveries.CollectabilityTier = (Configuration.CustomDeliveryConfiguration.ECollectabilityTier)currentItem5; + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num = 1534487441; + break; + case 17: + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + return; + case 7: + currentItem3 = 0; + num = 1534487446; + break; + case 3: + _200C_200D_202C_200E_200B_202C_200B_200B_206D_200C_206B_200B_202B_202B_202E_206B_200E_202C_206B_202E_206C_200E_200C_202D_206C_206F_202C_206F_200B_202C_200F_200F_200E_200C_206D_206A_206C_206B_206B_202E(); + _206B_202D_200D_200F_200B_206B_206C_200E_206A_206A_206E_202A_200B_206B_206B_206B_200F_206F_206E_202D_200D_206F_206B_206F_202C_206A_202C_200F_200D_206E_200F_200D_200D_206F_206F_200F_206A_200C_206A_200D_202E(_206C_200C_206C_200D_206D_200F_202C_202A_202D_206E_206D_206C_200B_202D_202A_200B_206F_202D_200B_202A_200C_206D_202E_206E_206D_202A_206C_200B_200D_206B_206D_202D_202E_202C_200C_206F_200D_202D_202E_202E_202E(_202E_202A_206C_202A_206E_200F_200B_200B_200D_202C_206B_206D_206A_200C_200D_202E_206C_200B_202D_202A_206A_202E_202D_200B_206C_206D_206B_206A_200D_206A_202E_202C_202B_206B_202D_200E_202D_206F_202A_202B_202E().X, 150f)); + currentItem3 = Array.IndexOf(CrafterJobs, customDeliveries.PreferredCraftJob); + num = ((currentItem3 >= 0) ? 1534487446 : 1534487452); + break; + case 13: + num = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(-1920589812), ref currentItem3, CrafterNames, CrafterNames.Length)) ? 1534487445 : 1534487433); + break; + case 8: + num = ((!_200B_206D_206C_206B_200B_202D_202A_200B_206C_202E_206F_200B_200F_200C_200E_202D_200C_206A_206C_206D_200B_206B_202D_200B_202D_202E_202B_200D_200B_202C_202D_200D_206B_206F_200D_200F_206B_202C_202B_206E_202E()) ? 1534487432 : 1534487442); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawNpcSection(SatisfactionSupplyInfo npc, int npcIndex) + { + bool num = _plannerService.IsNpcUnlocked(npcIndex); + SatisfactionSupplyActions.NpcState npcState = _200E_202C_206A_200F_206F_206F_200B_202B_206D_202D_202C_202B_206E_200E_202C_200F_206F_200C_206C_206A_202B_202B_206F_202A_200B_202B_202E_206A_202A_206C_206A_202D_200B_200C_200D_202B_206A_206E_206D_202E_202E(npcIndex); + if (!num) + { + int num2 = -684755026; + IQuestInfo questInfo = default(IQuestInfo); + while (true) + { + int num3 = num2; + int num4 = -684755025; + int num5 = num3; + string text; + string value; + bool open; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler; + string id; + string name; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = -684755026; + break; + case 0: + text = global::_003CModule_003E._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(773096941); + goto IL_006e; + case 1: + num2 = (HasAnyDoHDoLAtLevel(npc.Level) ? (-684755025) : (-684755028)); + break; + case 3: + text = global::_003CModule_003E._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(554916939); + goto IL_006e; + case 4: + { + QuestId questId = npc.PreviousQuests[0].QuestId; + bool num6 = _questController.ManualPriorityQuests.Any((Questionable.Model.Quest q) => _003C_003Ec__DisplayClass33_0._202C_200C_202B_200C_206D_206C_206F_206A_200D_206D_200F_202A_202B_206F_202A_202C_200F_206A_202A_202E_202D_200C_206E_206C_200D_206D_202E_202A_202B_206B_200B_206C_206E_206B_200D_206C_206D_202B_202E(q.Id, (ElementId)questId)); + _200C_200D_202C_200E_200B_202C_200B_200B_206D_200C_206B_200B_202B_202B_202E_206B_200E_202C_206B_202E_206C_200E_200C_202D_206C_206F_202C_206F_200B_202C_200F_200F_200E_200C_206D_206A_206C_206B_206B_202E(); + ImRaii.DisabledDisposable disabledDisposable = _200F_206F_202D_206B_206F_200E_200E_206B_202C_202C_206B_206B_200D_206E_202B_202E_200B_200D_200E_206C_200F_206C_206A_206A_206F_202D_200E_202E_200C_202E_206D_202E_202D_202B_206D_206A_202D_200C_200E_202E_202E(num6); + try + { + ImU8String imU8String = new ImU8String(6, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1746900472)); + imU8String.AppendFormatted(npcIndex); + ImRaii.IdDisposable idDisposable = _200F_202D_202A_206A_202C_206A_200F_200C_206F_202E_200E_206E_206A_206A_202A_206B_200D_206B_200B_206E_206B_206F_206F_206F_206E_202A_202E_202A_202A_202A_200D_202A_206F_200C_202E_202B_200F_200C_202B_206C_202E(imU8String, true); + try + { + num2 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Unlock, global::_003CModule_003E._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(-667756117))) ? (-1912480859) : (-1912480858)); + while (true) + { + int num7 = num2; + num4 = -1912480857; + num5 = num7; + int num8 = num5 + num4; + int num9 = num5 & num4; + switch (num8 - (num9 + num9)) + { + case 0: + num2 = -1912480858; + break; + case 1: + _questController.AddQuestPriority(questId); + num2 = -1912480859; + break; + case 2: + goto end_IL_01fa; + } + continue; + end_IL_01fa: + break; + } + } + finally + { + num2 = ((idDisposable == null) ? (-743536500) : (-743536497)); + while (true) + { + int num10 = num2; + num4 = -743536498; + num5 = num10; + int num11 = num5 + num4; + int num12 = num5 & num4; + switch (num11 - (num12 + num12)) + { + case 0: + num2 = -743536497; + break; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)idDisposable); + num2 = -743536500; + break; + case 2: + goto end_IL_0277; + } + continue; + end_IL_0277: + break; + } + } + } + finally + { + num2 = ((disabledDisposable == null) ? (-617632198) : (-617632197)); + while (true) + { + int num13 = num2; + num4 = -617632198; + num5 = num13; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = -617632197; + break; + case 0: + goto end_IL_02e4; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)disabledDisposable); + num2 = -617632198; + break; + } + continue; + end_IL_02e4: + break; + } + } + num2 = ((!_202C_202B_206B_202A_206B_202D_206F_200F_206B_202A_200B_202D_200D_200D_206E_206A_202C_202B_202D_206D_200B_200E_206A_200B_206E_206A_202C_200D_202A_206B_206D_200D_200E_206E_200C_200F_202A_206F_200B_206D_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-1486890987) : (-1486890988)); + while (true) + { + int num14 = num2; + num4 = -1486890986; + num5 = num14; + int num15 = num5 + num4; + int num16 = num5 & num4; + switch (num15 - (num16 + num16)) + { + case 1: + _questTooltip.Draw(questInfo); + num2 = -1486890987; + break; + case 2: + num2 = ((!_questData.TryGetQuestInfo(questId, out questInfo)) ? (-1486890987) : (-1486890985)); + break; + case 0: + num2 = -1486890988; + break; + case 3: + return; + } + } + } + IL_006e: + value = text; + open = false; + defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(17, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(115415045)); + defaultInterpolatedStringHandler.AppendFormatted(npcIndex); + id = defaultInterpolatedStringHandler.ToStringAndClear(); + name = npc.Name; + defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(7, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-939376673)); + defaultInterpolatedStringHandler2.AppendFormatted(npc.Level); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1648031977)); + defaultInterpolatedStringHandler2.AppendFormatted(value); + UiThemeUtils.ThemedAccordion(id, name, defaultInterpolatedStringHandler2.ToStringAndClear(), ref open, enabled: false); + if (npc.PreviousQuests.Count > 0) + { + num2 = -684755029; + break; + } + return; + } + } + } + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(17, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-1835605648)); + defaultInterpolatedStringHandler3.AppendFormatted(npcIndex); + string text2 = defaultInterpolatedStringHandler3.ToStringAndClear(); + bool open2 = _npcHeaderStates.GetValueOrDefault(text2, defaultValue: false); + UiThemeUtils.ThemedAccordion(text2, npc.Name, null, ref open2); + _npcHeaderStates[text2] = open2; + if (!open2) + { + return; + } + ImRaii.IndentDisposable indentDisposable = _200C_202A_200E_202A_206D_202E_202A_202B_206D_206C_200F_202B_200E_206D_206B_200C_206D_206F_206E_206C_202E_206B_200F_200F_200C_202C_206B_200E_206F_206C_200C_200C_206B_206D_200B_206C_206F_202B_200D_206E_202E(1, true); + try + { + ImRaii.IdDisposable idDisposable2 = _200C_202C_206E_206C_206F_206A_202A_200D_206E_200C_200E_202A_206F_206E_206A_200C_202D_206D_202A_200F_202A_206C_206A_206A_200C_202D_202D_200F_202A_202C_206C_202B_202B_206B_206F_202C_206F_206B_206F_202C_202E(npcIndex, true); + try + { + DrawSatisfactionProgress(npcIndex, npcState); + int num17 = 6 - npcState.UsedDeliveries; + ImU8String imU8String2 = new ImU8String(38, 3); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1904815526)); + imU8String2.AppendFormatted(npcState.UsedDeliveries); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1534070043)); + imU8String2.AppendFormatted(6); + imU8String2.AppendLiteral(global::_003CModule_003E._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(588901087)); + imU8String2.AppendFormatted(num17); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-623668771)); + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.DimTextColor, imU8String2); + _200D_202D_200F_200C_206C_202B_200F_202A_206C_206D_206F_206F_206C_200D_206C_202C_206E_206B_200E_206D_206B_206C_202E_200F_202D_200C_206D_202A_206E_202D_200F_200D_200D_200C_200E_200F_202D_200E_206F_206E_202E(); + DrawAchievementGoal(npcIndex, npcState); + DrawPredictedItems(npc, npcIndex, npcState, num17); + } + finally + { + int num2 = ((idDisposable2 == null) ? (-2043880067) : (-2043880068)); + while (true) + { + int num18 = num2; + int num4 = -2043880067; + int num5 = num18; + int num19 = num5 + num4; + int num20 = num5 & num4; + switch (num19 - (num20 + num20)) + { + case 2: + num2 = -2043880068; + break; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)idDisposable2); + num2 = -2043880067; + break; + case 0: + goto end_IL_0517; + } + continue; + end_IL_0517: + break; + } + } + } + finally + { + int num2 = ((indentDisposable == null) ? 73276519 : 73276516); + while (true) + { + int num21 = num2; + int num4 = 73276518; + int num5 = num21; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + goto end_IL_0583; + case 2: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)indentDisposable); + num2 = 73276519; + break; + case 0: + num2 = 73276516; + break; + } + continue; + end_IL_0583: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawSatisfactionProgress(int npcIndex, SatisfactionSupplyActions.NpcState npcState) + { + int num = 0; + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + int num2 = 1; + int num3 = npcIndex; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + int num6 = ((!excelSheet.TryGetRow((uint)(num4 + (num5 + num5)), out var row)) ? (-1057565978) : (-1057565984)); + while (true) + { + int num7 = num6; + num2 = -1057565982; + num3 = num7; + int num8 = num3 + num2; + int num9 = num3 & num2; + switch (num8 - (num9 + num9)) + { + default: + continue; + case 6: + num6 = ((npcState.Rank >= row.SatisfactionNpcParams.Count) ? (-1057565978) : (-1057565981)); + continue; + case 4: + num6 = ((num > 0) ? (-1057565983) : (-1057565982)); + continue; + case 5: + num6 = -1057565984; + continue; + case 1: + num = row.SatisfactionNpcParams[npcState.Rank].SatisfactionRequired; + num6 = -1057565978; + continue; + case 2: + num6 = ((npcState.Rank <= 0) ? (-1057565978) : (-1057565980)); + continue; + case 0: + { + ImU8String imU8String3 = new ImU8String(5, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(687425873)); + imU8String3.AppendFormatted(npcState.Rank); + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.DimTextColor, imU8String3); + break; + } + case 3: + { + float num10 = (float)npcState.SatisfactionCurrent / (float)num; + ImU8String imU8String = new ImU8String(9, 3); + imU8String.AppendLiteral(global::_003CModule_003E._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(-800315540)); + imU8String.AppendFormatted(npcState.Rank); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1648031977)); + imU8String.AppendFormatted(npcState.SatisfactionCurrent); + imU8String.AppendLiteral(global::_003CModule_003E._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(503298330)); + imU8String.AppendFormatted(num); + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.DimTextColor, imU8String); + ImRaii.ColorDisposable colorDisposable = UiThemeUtils.PushProgressBarColors(); + try + { + Vector2 vector = new Vector2(-1E-45f, 0f); + ImU8String imU8String2 = new ImU8String(1, 2); + imU8String2.AppendFormatted(npcState.SatisfactionCurrent); + imU8String2.AppendLiteral(global::_003CModule_003E._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(503298330)); + imU8String2.AppendFormatted(num); + _202C_202D_202E_202A_200B_202C_200F_200F_202B_206E_206F_206F_200B_200C_200D_202A_200C_202E_200F_202D_206E_206E_200E_200D_206D_206E_206B_206D_206E_200E_200B_202A_202E_202A_202E_206F_200D_206A_200C_202E_202E(num10, vector, imU8String2); + } + finally + { + num6 = ((colorDisposable == null) ? 516015191 : 516015190); + while (true) + { + int num11 = num6; + num2 = 516015191; + num3 = num11; + int num12 = num3 + num2; + int num13 = num3 & num2; + switch (num12 - (num13 + num13)) + { + case 2: + num6 = 516015190; + break; + case 0: + goto end_IL_026d; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)colorDisposable); + num6 = 516015191; + break; + } + continue; + end_IL_026d: + break; + } + } + break; + } + } + break; + } + _200D_202D_200F_200C_206C_202B_200F_202A_206C_206D_206F_206F_206C_200D_206C_202C_206E_206B_200E_206D_206B_206C_202E_200F_202D_200C_206D_202A_206E_202D_200F_200D_200D_200C_200E_200F_202D_200E_206F_206E_202E(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawAchievementGoal(int npcIndex, SatisfactionSupplyActions.NpcState npcState) + { + int num = 1; + int num2 = npcIndex; + ushort key = (ushort)((num2 | num) + (num2 & num)); + Dictionary achievementGoals = _configuration.CustomDeliveries.AchievementGoals; + achievementGoals.TryGetValue(key, out var value); + uint usedDeliveries = (uint)npcState.UsedDeliveries; + int num3 = ((value == null) ? 765454105 : 765454085); + bool value2 = default(bool); + int num5 = default(int); + while (true) + { + int num4 = num3; + num = 765454104; + num2 = num4; + int num6; + switch ((num2 | num) - (num2 & num)) + { + case 2: + _200C_200D_202C_200E_200B_202C_200B_200B_206D_200C_206B_200B_202B_202B_202E_206B_200E_202C_206B_202E_206C_200E_200C_202D_206C_206F_202C_206F_200B_202C_200F_200F_200E_200C_206D_206A_206C_206B_206B_202E(); + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.StatusComplete, (ImU8String)global::_003CModule_003E._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(866040764)); + num3 = 765454100; + break; + case 29: + num3 = ((!value.Active) ? 765454105 : 765454097); + break; + case 28: + value.Active = value2; + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num3 = 765454107; + break; + case 22: + num3 = ((!_200B_206D_206C_206B_200B_202D_202A_200B_206C_202E_206F_200B_200F_200C_200E_202D_200C_206A_206C_206D_200B_206B_202D_200B_202D_202E_202B_200D_200B_202C_202D_200D_206B_206F_200D_200F_206B_202C_202B_206E_202E()) ? 765454089 : 765454096); + break; + case 23: + _200C_200D_202C_200E_200B_202C_200B_200B_206D_200C_206B_200B_202B_202B_202E_206B_200E_202C_206B_202E_206C_200E_200C_202D_206C_206F_202C_206F_200B_202C_200F_200F_200E_200C_206D_206A_206C_206B_206B_202E(); + num3 = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Times, _200C_206D_200E_206C_206C_200F_200E_202C_206E_200F_202C_200F_202D_206E_202D_202C_200F_202E_202A_206A_202E_200F_202B_200C_206D_200F_202D_206C_202B_202A_206B_206E_202D_202C_206D_202E_206F_206F_206D_202E_202E())) ? 765454088 : 765454092); + break; + case 7: + _200D_202D_200F_200C_206C_202B_200F_202A_206C_206D_206F_206F_206C_200D_206C_202C_206E_206B_200E_206D_206B_206C_202E_200F_202D_200C_206D_202A_206E_202D_200F_200D_200D_200C_200E_200F_202D_200E_206F_206E_202E(); + return; + case 5: + { + ImU8String imU8String3 = new ImU8String(8, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-687956357)); + imU8String3.AppendFormatted(npcIndex); + _206B_202C_202A_200D_202E_202E_206C_206F_202E_206A_206A_200E_200D_200C_200D_206A_200F_202B_202A_200C_206E_202C_200C_200E_200C_200C_200F_200F_206B_202C_200C_206B_200E_200E_200B_200D_206A_206D_206E_206D_202E(imU8String3, ImGuiPopupFlags.None); + num3 = 765454080; + break; + } + case 21: + num3 = ((num5 > 12) ? 765454101 : 765454098); + break; + case 26: + { + ImU8String imU8String2 = new ImU8String(8, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(857482870)); + imU8String2.AppendFormatted(npcIndex); + _206B_202C_202A_200D_202E_202E_206C_206F_202E_206A_206A_200E_200D_200C_200D_206A_200F_202B_202A_200C_206E_202C_200C_200E_200C_200C_200F_200F_206B_202C_200C_206B_200E_200E_200B_200D_206A_206D_206E_206D_202E(imU8String2, ImGuiPopupFlags.None); + num3 = 765454094; + break; + } + case 10: + num3 = ((value != null) ? 765454104 : 765454102); + break; + case 8: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(802463423)); + num3 = 765454089; + break; + case 20: + achievementGoals.Remove(key); + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num3 = 765454088; + break; + case 15: + num3 = ((num5 < 1) ? 765454101 : 765454093); + break; + case 16: + num3 = ((!_200B_206D_206C_206B_200B_202D_202A_200B_206C_202E_206F_200B_200F_200C_200E_202D_200C_206A_206C_206D_200B_206B_202D_200B_202D_202E_202B_200D_200B_202C_202D_200D_206B_206F_200D_200F_206B_202C_202B_206E_202E()) ? 765454089 : 765454108); + break; + case 4: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(570974186)); + num3 = 765454089; + break; + case 24: + num3 = ((!_200B_206D_206C_206B_200B_202D_202A_200B_206C_202E_206F_200B_200F_200C_200E_202D_200C_206A_206C_206D_200B_206B_202D_200B_202D_202E_202B_200D_200B_202C_202D_200D_206B_206F_200D_200F_206B_202C_202B_206E_202E()) ? 765454095 : 765454081); + break; + case 18: + num6 = 6; + goto IL_0503; + case 27: + num3 = ((value != null) ? 765454099 : 765454090); + break; + case 9: + { + bool num7 = usedDeliveries >= value.TargetCount; + Vector4 vector = (num7 ? UiThemeUtils.StatusComplete : UiThemeUtils.StatusActive); + ImU8String imU8String4 = new ImU8String(9, 2); + imU8String4.AppendLiteral(global::_003CModule_003E._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(1328887296)); + imU8String4.AppendFormatted(usedDeliveries); + imU8String4.AppendLiteral(global::_003CModule_003E._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(1762358294)); + imU8String4.AppendFormatted(value.TargetCount); + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref vector, imU8String4); + num3 = ((!num7) ? 765454100 : 765454106); + break; + } + case 1: + num3 = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Bullseye, _200C_206D_200E_206C_206C_200F_200E_202C_206E_200F_202C_200F_202D_206E_202D_202C_200F_202E_202A_206A_202E_200F_202B_200C_206D_200F_202D_206C_202B_202A_206B_206E_202D_202C_206D_202E_206F_206F_206D_202E_202E())) ? 765454094 : 765454082); + break; + case 19: + value2 = value.Active; + num3 = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-1513339182), ref value2)) ? 765454107 : 765454084); + break; + case 12: + _200C_200D_202C_200E_200B_202C_200B_200B_206D_200C_206B_200B_202B_202B_202E_206B_200E_202C_206B_202E_206C_200E_200C_202D_206C_206F_202C_206F_200B_202C_200F_200F_200E_200C_206D_206A_206C_206B_206B_202E(); + num3 = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Edit, _200C_206D_200E_206C_206C_200F_200E_202C_206E_200F_202C_200F_202D_206E_202D_202C_200F_202E_202A_206A_202E_200F_202B_200C_206D_200F_202D_206C_202B_202A_206B_206E_202D_202C_206D_202E_206F_206F_206D_202E_202E())) ? 765454080 : 765454109); + break; + case 25: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(367003399)); + num3 = 765454095; + break; + case 14: + value = new Configuration.AchievementGoal(); + num3 = 765454104; + break; + case 0: + value.TargetCount = (uint)num5; + value.Active = true; + achievementGoals[key] = value; + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num3 = 765454101; + break; + case 13: + num3 = ((value == null) ? 765454107 : 765454091); + break; + case 11: + num6 = (int)value.TargetCount; + goto IL_0503; + case 3: + _200D_206F_202A_206B_200F_206D_202B_206E_200D_200B_200D_206E_206F_200B_206F_202C_206C_202C_200B_206B_200E_200B_202A_200C_206B_206E_202B_206E_206B_200B_200E_206E_200C_206F_206D_200C_206A_200C_202D_206A_202E(); + num3 = 765454111; + break; + case 17: + { + ImU8String imU8String = new ImU8String(8, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-333165022)); + imU8String.AppendFormatted(npcIndex); + num3 = ((!_202D_206A_200F_202D_202B_202C_206A_202E_202B_202C_202C_206A_206D_202B_200D_206D_206A_200B_206C_206C_202A_200C_206C_206D_200B_200C_202A_202E_200C_202B_206C_200F_202E_202D_200E_202C_206C_202E_206B_200E_202E(imU8String, ImGuiWindowFlags.None)) ? 765454111 : 765454083); + break; + } + case 6: + { + num3 = 765454085; + break; + } + IL_0503: + num5 = num6; + _206B_202D_200D_200F_200B_206B_206C_200E_206A_206A_206E_202A_200B_206B_206B_206B_200F_206F_206E_202D_200D_206F_206B_206F_202C_206A_202C_200F_200D_206E_200F_200D_200D_206F_206F_200F_206A_200C_206A_200D_202E(100f); + num3 = ((!_200D_200D_206D_206D_200E_206E_200B_202D_200C_206D_202D_202C_206F_206C_200B_206A_200B_206B_202C_202E_200C_202E_200F_200E_202A_200D_202D_200F_206E_202C_200C_206B_202E_200E_200B_206D_202A_202A_202A_202D_202E((ImU8String)global::_003CModule_003E._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(1390330251), ref num5, 1, 1, default(ImU8String), ImGuiInputTextFlags.None)) ? 765454101 : 765454103); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawPredictedItems(SatisfactionSupplyInfo npc, int npcIndex, SatisfactionSupplyActions.NpcState npcState, int deliveriesRemaining) + { + uint num = _202E_206E_200C_202D_206F_206E_206D_200B_206C_200D_200F_202D_200E_200D_202C_206B_206C_202E_200F_206B_202B_206A_206B_206B_206B_206B_206B_200D_200F_206B_206C_202A_202D_206E_200C_206C_202D_206A_200B_206C_202E(); + int num2 = ((num != 0) ? 940253457 : 940253463); + uint supplyIndex = default(uint); + SatisfactionNpc row = default(SatisfactionNpc); + uint[] array = default(uint[]); + SubrowExcelSheet subrowExcelSheet = default(SubrowExcelSheet); + int num7 = default(int); + int num6; + while (true) + { + int num3 = num2; + int num4 = 940253457; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 4: + supplyIndex = (uint)row.SatisfactionNpcParams[npcState.Rank].SupplyIndex; + array = _202A_202C_200F_206E_200F_206D_206D_200F_200D_202C_200F_202B_200C_202E_202B_206A_206F_206F_200E_202E_200D_200F_202D_200B_206B_202D_206A_206E_200F_202B_202D_206A_206D_206A_202C_200D_202D_206B_206F_206C_202E(_supplyHelper, supplyIndex, num); + subrowExcelSheet = _dataManager.GetSubrowExcelSheet(); + num7 = _206D_202A_200F_206F_200C_202E_202C_202D_206E_200D_200C_202B_206F_200D_200B_202E_200F_202D_200C_202E_202A_206C_200B_202E_202B_202D_202D_200C_200D_206F_206C_206E_200C_202D_206D_206B_200E_206D_206B_200D_202E(); + num2 = ((_customDeliveryController.State == CustomDeliveryController.EDeliveryState.Idle) ? 940253465 : 940253458); + continue; + case 6: + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(2035765301)); + return; + case 3: + { + DeliveryPlan? currentPlan = _customDeliveryController.CurrentPlan; + num6 = ((currentPlan != null && currentPlan.NpcIndex == npcIndex) ? 1 : 0); + break; + } + case 0: + { + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + num4 = 1; + num5 = npcIndex; + num2 = (excelSheet.TryGetRow((uint)((num5 | num4) + (num5 & num4)), out row) ? 940253464 : 940253462); + continue; + } + case 9: + num2 = ((npcState.Rank <= 0) ? 940253460 : 940253456); + continue; + case 7: + return; + case 5: + return; + case 1: + num2 = ((npcState.Rank < row.SatisfactionNpcParams.Count) ? 940253461 : 940253460); + continue; + case 2: + num2 = 940253463; + continue; + case 8: + num6 = 0; + break; + } + break; + } + bool flag = (byte)num6 != 0; + int num8 = 0; + SatisfactionSupply subrow = default(SatisfactionSupply); + List list = default(List); + while (num8 < 3) + { + ImRaii.IdDisposable idDisposable = _200C_202C_206E_206C_206F_206A_202A_200D_206E_200C_200E_202A_206F_206E_206A_200C_202D_206D_202A_200F_202A_206C_206A_206A_200C_202D_202D_200F_202A_202C_206C_202B_202B_206B_206F_202C_206F_206B_206F_202C_202E(num8, true); + int num4; + int num5; + try + { + EDeliverySlot eDeliverySlot = Slots[num8]; + string value = SlotLabels[num8]; + uint num9 = array[num8]; + num2 = ((num9 != uint.MaxValue) ? (-1305180789) : (-1305180788)); + while (true) + { + int num10 = num2; + num4 = -1305180792; + num5 = num10; + int num11 = num5 + num4; + int num12 = num5 & num4; + switch (num11 - (num12 + num12)) + { + case 3: + num2 = (subrowExcelSheet.TryGetSubrow(supplyIndex, (ushort)num9, out subrow) ? (-1305180790) : (-1305180791)); + break; + case 4: + { + ImU8String imU8String3 = new ImU8String(4, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(1234830832)); + imU8String3.AppendFormatted(value); + imU8String3.AppendLiteral(global::_003CModule_003E._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(1193619199)); + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.MutedTextColor, imU8String3); + goto end_IL_022e; + } + case 1: + { + ImU8String imU8String2 = new ImU8String(4, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1118615183)); + imU8String2.AppendFormatted(value); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1291974725)); + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.MutedTextColor, imU8String2); + goto end_IL_022e; + } + case 0: + num2 = -1305180788; + break; + case 2: + { + uint rowId = subrow.Item.RowId; + string itemName = GetItemName(rowId); + ImU8String imU8String = new ImU8String(2, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-999106428)); + imU8String.AppendFormatted(value); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1991522223)); + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.DimTextColor, imU8String); + _200D_202E_202B_202B_202A_200B_206B_206E_206A_200B_202D_202E_206F_200E_200D_202C_206C_202D_202E_202B_200B_202B_200E_200B_202B_202E_202D_206C_206F_200B_202A_206F_206B_200D_206C_202C_206F_200D_202C_200E_202E(0f, 6f); + ImRaii.FontDisposable fontDisposable = _202B_200B_206D_206E_200D_200E_202D_202A_202D_200B_200D_202D_200D_206C_202B_200F_202D_202A_202B_206E_200D_202A_200E_206D_206D_200E_206B_202B_202B_200D_200C_200D_200F_200C_200E_202A_202E_206A_200E_206D_202E(_206C_206C_202D_206F_200C_200F_200C_200B_202E_200F_202E_200D_200C_202C_206E_206F_206C_200D_206E_200F_206D_206C_206C_206A_206E_202E_200D_206C_202C_202E_206B_206B_206A_206C_200F_200F_206E_202A_200D_200C_202E(), true); + float x; + try + { + x = _202C_200F_206E_206F_200D_206D_206A_200E_202A_206B_200C_206A_202B_200B_200F_206D_202D_200D_206E_200B_202C_206B_206E_200E_206B_202C_200D_200C_200E_202A_206E_200F_206A_200B_202B_200E_200B_200D_202A_202A_202E((ImU8String)_206E_206D_202B_206A_206B_206E_206B_206F_202D_206B_206A_200F_202A_202B_200F_202B_200B_206B_206C_200F_206B_202D_202E_200E_206F_202E_200B_200F_206A_202A_200B_202D_200E_202B_206B_202A_206E_202C_202D_200E_202E(FontAwesomeIcon.Play), false, -1f).X; + } + finally + { + num2 = ((fontDisposable == null) ? (-973895939) : (-973895938)); + while (true) + { + int num13 = num2; + num4 = -973895937; + num5 = num13; + int num14 = num5 + num4; + int num15 = num5 & num4; + switch (num14 - (num15 + num15)) + { + case 0: + num2 = -973895938; + break; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)fontDisposable); + num2 = -973895939; + break; + case 2: + goto end_IL_03f9; + } + continue; + end_IL_03f9: + break; + } + } + float reservedRightWidth = x + 6f + _202C_200F_206E_206F_200D_206D_206A_200E_202A_206B_200C_206A_202B_200B_200F_206D_202D_200D_206E_200B_202C_206B_206E_200E_206B_202C_200D_200C_200E_202A_206E_200F_206A_200B_202B_200E_200B_200D_202A_202A_202E((ImU8String)global::_003CModule_003E._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(880256074), false, -1f).X + _206B_206F_200C_200C_202D_202D_202C_202E_206B_206C_206D_200D_206E_200F_200D_206E_206C_200C_206F_200E_206D_206B_206F_206F_202D_202D_200E_206B_206E_202C_202D_202B_202D_202D_200B_200B_200E_206A_202D_206E_202E().FramePadding.X * 2f + _206B_206F_200C_200C_202D_202D_202C_202E_206B_206C_206D_200D_206E_200F_200D_206E_206C_200C_206F_200E_206D_206B_206F_206F_202D_202D_200E_206B_206E_202C_202D_202B_202D_202D_200B_200B_200E_206A_202D_206E_202E().ItemSpacing.X; + UiThemeUtils.RowLabel(itemName, reservedRightWidth); + num2 = (flag ? (-2087654464) : (-2087654459)); + int num17; + while (true) + { + int num16 = num2; + num4 = -2087654457; + num5 = num16; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 5: + num2 = (_seasonalDutyController.IsRunning ? (-2087654464) : (-2087654463)); + continue; + case 8: + num2 = ((deliveriesRemaining <= 0) ? (-2087654464) : (-2087654458)); + continue; + case 2: + num2 = ((num7 <= 0) ? (-2087654464) : (-2087654449)); + continue; + case 4: + num2 = (_fateController.IsRunning ? (-2087654464) : (-2087654462)); + continue; + case 6: + num17 = ((!_attunementController.IsRunning) ? 1 : 0); + break; + case 0: + num2 = -2087654459; + continue; + case 1: + num2 = ((_customDeliveryController.State != CustomDeliveryController.EDeliveryState.Idle) ? (-2087654464) : (-2087654460)); + continue; + case 3: + num2 = (_questController.IsRunning ? (-2087654464) : (-2087654461)); + continue; + case 7: + num17 = 0; + break; + } + break; + } + bool flag2 = (byte)num17 != 0; + _200C_200D_202C_200E_200B_202C_200B_200B_206D_200C_206B_200B_202B_202B_202E_206B_200E_202C_206B_202E_206C_200E_200C_202D_206C_206F_202C_206F_200B_202C_200F_200F_200E_200C_206D_206A_206C_206B_206B_202E(); + ImRaii.DisabledDisposable disabledDisposable = _200F_206F_202D_206B_206F_200E_200E_206B_202C_202C_206B_206B_200D_206E_202B_202E_200B_200D_200E_206C_200F_206C_206A_206A_206F_202D_200E_202E_200C_202E_206D_202E_202D_202B_206D_206A_202D_200C_200E_202E_202E(!flag2); + try + { + num2 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Play, global::_003CModule_003E._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(880256074))) ? 1169289649 : 1169289650); + while (true) + { + int num18 = num2; + num4 = 1169289651; + num5 = num18; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = 1169289650; + break; + case 1: + _206A_202A_200E_200C_200D_200D_202E_206C_200B_200E_200D_200C_206B_206E_206B_202D_206F_202C_202C_206C_202D_200D_206D_206B_202D_206D_206E_206F_202A_206A_200B_202C_202B_200E_200B_202C_200B_206D_206C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-2084624699), new object[2] { npcIndex, eDeliverySlot }); + _questController.Stop(global::_003CModule_003E._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(349841486)); + _fateController.Stop(global::_003CModule_003E._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(-85002639)); + _seasonalDutyController.Stop(global::_003CModule_003E._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(349841486)); + _attunementController.Stop(global::_003CModule_003E._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(-1089731648)); + _customDeliveryController.Start(npcIndex, eDeliverySlot); + num2 = 1169289649; + break; + case 2: + goto end_IL_065b; + } + continue; + end_IL_065b: + break; + } + } + finally + { + num2 = ((disabledDisposable == null) ? (-1489318527) : (-1489318528)); + while (true) + { + int num19 = num2; + num4 = -1489318527; + num5 = num19; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = -1489318528; + break; + case 0: + goto end_IL_0754; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)disabledDisposable); + num2 = -1489318527; + break; + } + continue; + end_IL_0754: + break; + } + } + num2 = (flag2 ? 1980773701 : 1980773707); + while (true) + { + int num20 = num2; + num4 = 1980773706; + num5 = num20; + switch ((num5 | num4) - (num5 & num4)) + { + case 14: + num2 = 1980773707; + break; + case 1: + num2 = ((!_202C_202B_206B_202A_206B_202D_206F_200F_206B_202A_200B_202D_200D_200D_206E_206A_202C_202B_202D_206D_200B_200E_206A_200B_206E_206A_202C_200D_202A_206B_206D_200D_200E_206E_200C_200F_202A_206F_200B_206D_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? 1980773701 : 1980773705); + break; + case 2: + num2 = ((!_attunementController.IsRunning) ? 1980773723 : 1980773710); + break; + case 18: + num2 = ((_customDeliveryController.State == CustomDeliveryController.EDeliveryState.Idle) ? 1980773706 : 1980773709); + break; + case 7: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(1435445966)); + num2 = 1980773701; + break; + case 16: + num2 = ((!_seasonalDutyController.IsRunning) ? 1980773704 : 1980773696); + break; + case 13: + num2 = ((!_fateController.IsRunning) ? 1980773722 : 1980773697); + break; + case 5: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(-1861782460)); + num2 = 1980773701; + break; + case 0: + num2 = ((num7 > 0) ? 1980773708 : 1980773699); + break; + case 3: + num2 = ((!_questController.IsRunning) ? 1980773703 : 1980773702); + break; + case 10: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(-1412730822)); + num2 = 1980773701; + break; + case 11: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(1423170090)); + num2 = 1980773701; + break; + case 17: + num2 = ((!flag) ? 1980773720 : 1980773711); + break; + case 4: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(1808860543)); + num2 = 1980773701; + break; + case 9: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(573253239)); + num2 = 1980773701; + break; + case 12: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(-212367762)); + num2 = 1980773701; + break; + case 6: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(-1212532782)); + num2 = 1980773701; + break; + case 15: + { + uint rowId2 = subrow.Reward.RowId; + bool isBonus = subrow.IsBonus; + list = _rewardCalculator.CalculateRewards(rowId2, isBonus, _configuration.CustomDeliveries.CollectabilityTier); + if (list.Count > 0) + { + num2 = 1980773698; + break; + } + goto end_IL_07bf; + } + case 8: + { + string text = _200C_206D_206B_202A_202D_202A_202A_202C_202E_206A_202C_200B_206C_200D_200B_202C_200B_202B_200F_200E_202C_200C_202C_200E_200B_200B_206C_206B_202E_206E_206F_206E_202B_206A_202A_202B_200B_206F_200C_200D_202E(global::_003CModule_003E._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(1403263077), (IEnumerable)list.ConvertAll([MethodImpl(MethodImplOptions.NoInlining)] (DeliveryRewardCalculator.CurrencyReward r) => + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler2.AppendFormatted(r.AmountPerDelivery); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(2018550958)); + defaultInterpolatedStringHandler2.AppendFormatted(r.CurrencyName); + return defaultInterpolatedStringHandler2.ToStringAndClear(); + })); + ImRaii.IndentDisposable indentDisposable = _200C_202A_200E_202A_206D_202E_202A_202B_206D_206C_200F_202B_200E_206D_206B_200C_206D_206F_206E_206C_202E_206B_200F_200F_200C_202C_206B_200E_206F_206C_200C_200C_206B_206D_200B_206C_206F_202B_200D_206E_202E(1, true); + try + { + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, _200C_206B_206D_206C_200E_200C_206B_200D_202A_200F_202B_200F_202A_202C_206F_206F_202B_206A_206E_202E_206A_200F_202D_202A_200D_202B_202A_206C_206E_200F_200B_206E_206C_202C_206D_200C_202A_206B_206F_206A_202E(global::_003CModule_003E._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(552086919), text)); + foreach (DeliveryRewardCalculator.CurrencyReward item in list) + { + if (!DeliveryRewardCalculator.WouldOvercap(item.CurrencyItemId, item.AmountPerDelivery, deliveriesRemaining)) + { + continue; + } + ImRaii.ColorDisposable colorDisposable = _202B_206D_206C_206F_200B_200F_202C_200E_206C_206D_206E_200B_202D_200D_202A_200D_200D_206F_206B_202A_200C_202E_206E_206A_202D_200D_200C_206F_206D_202B_200C_206F_200B_202E_200C_202D_200C_202C_206E_202B_202E(ImGuiCol.Text, UiThemeUtils.StatusActive, true); + try + { + fontDisposable = _202B_200B_206D_206E_200D_200E_202D_202A_202D_200B_200D_202D_200D_206C_202B_200F_202D_202A_202B_206E_200D_202A_200E_206D_206D_200E_206B_202B_202B_200D_200C_200D_200F_200C_200E_202A_202E_206A_200E_206D_202E(_206C_206C_202D_206F_200C_200F_200C_200B_202E_200F_202E_200D_200C_202C_206E_206F_206C_200D_206E_200F_206D_206C_206C_206A_206E_202E_200D_206C_202C_202E_206B_206B_206A_206C_200F_200F_206E_202A_200D_200C_202E(), true); + try + { + _202A_202A_206A_202E_200B_206A_202E_202B_202B_200C_202D_206D_202E_200E_200F_206A_200D_206A_206B_202C_206F_200C_202E_200D_206A_200B_206B_202C_200E_202E_206B_202E_206F_200C_200B_206F_200F_200D_206F_206A_202E((ImU8String)_206E_206D_202B_206A_206B_206E_206B_206F_202D_206B_206A_200F_202A_202B_200F_202B_200B_206B_206C_200F_206B_202D_202E_200E_206F_202E_200B_200F_206A_202A_200B_202D_200E_202B_206B_202A_206E_202C_202D_200E_202E(FontAwesomeIcon.ExclamationTriangle)); + } + finally + { + num2 = ((fontDisposable == null) ? (-1914682844) : (-1914682841)); + while (true) + { + int num21 = num2; + num4 = -1914682842; + num5 = num21; + int num22 = num5 + num4; + int num23 = num5 & num4; + switch (num22 - (num23 + num23)) + { + case 2: + goto end_IL_0b9c; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)fontDisposable); + num2 = -1914682844; + break; + case 0: + num2 = -1914682841; + break; + } + continue; + end_IL_0b9c: + break; + } + } + _200D_202E_202B_202B_202A_200B_206B_206E_206A_200B_202D_202E_206F_200E_200D_202C_206C_202D_202E_202B_200B_202B_200E_200B_202B_202E_202D_206C_206F_200B_202A_206F_206B_200D_206C_202C_206F_200D_202C_200E_202E(0f, 4f); + int value2 = _202D_202C_202D_202E_206B_206A_206E_202B_206F_206C_206C_206D_206D_206E_202C_206F_200F_200F_202C_200F_206B_202C_202E_200F_202C_206D_202E_206A_206C_202B_202A_206D_206A_200B_200F_202A_200F_202C_206C_200F_202E(item.CurrencyItemId, false, false); + int value3 = item.AmountPerDelivery * deliveriesRemaining; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(20, 3); + defaultInterpolatedStringHandler.AppendFormatted(item.CurrencyName); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1071152910)); + defaultInterpolatedStringHandler.AppendFormatted(value2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-809157797)); + defaultInterpolatedStringHandler.AppendFormatted(value3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + UiThemeUtils.WrappedText(defaultInterpolatedStringHandler.ToStringAndClear()); + } + finally + { + num2 = ((colorDisposable == null) ? (-609824758) : (-609824759)); + while (true) + { + int num24 = num2; + num4 = -609824760; + num5 = num24; + int num25 = num5 + num4; + int num26 = num5 & num4; + switch (num25 - (num26 + num26)) + { + case 0: + num2 = -609824759; + break; + case 2: + goto end_IL_0ca2; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)colorDisposable); + num2 = -609824758; + break; + } + continue; + end_IL_0ca2: + break; + } + } + } + } + finally + { + num2 = ((indentDisposable == null) ? (-1110550115) : (-1110550116)); + while (true) + { + int num27 = num2; + num4 = -1110550115; + num5 = num27; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = -1110550116; + break; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)indentDisposable); + num2 = -1110550115; + break; + case 0: + goto end_IL_0d2e; + } + continue; + end_IL_0d2e: + break; + } + } + goto end_IL_07bf; + } + } + continue; + end_IL_07bf: + break; + } + goto end_IL_022e; + } + } + continue; + end_IL_022e: + break; + } + } + finally + { + num2 = ((idDisposable == null) ? 735896166 : 735896165); + while (true) + { + int num28 = num2; + num4 = 735896164; + num5 = num28; + int num29 = num5 + num4; + int num30 = num5 & num4; + switch (num29 - (num30 + num30)) + { + case 0: + num2 = 735896165; + break; + case 2: + goto end_IL_0d9e; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)idDisposable); + num2 = 735896166; + break; + } + continue; + end_IL_0d9e: + break; + } + } + int num31 = num8; + num4 = 1; + num5 = num31; + int num32 = num5 ^ num4; + int num33 = num5 & num4; + num8 = num32 + (num33 + num33); + } + num2 = -108366554; + List deliveryQueue = default(List); + int num35 = default(int); + string text2 = default(string); + DeliveryPlan currentPlan2 = default(DeliveryPlan); + while (true) + { + int num34 = num2; + int num4 = -108366553; + int num5 = num34; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = -108366554; + break; + case 1: + deliveryQueue = _configuration.CustomDeliveries.DeliveryQueue; + num35 = deliveryQueue.IndexOf(npcIndex); + if (num35 >= 0) + { + num2 = -108366553; + break; + } + if (UiThemeUtils.IconButton(FontAwesomeIcon.Plus, _200C_206D_200E_206C_206C_200F_200E_202C_206E_200F_202C_200F_202D_206E_202D_202C_200F_202E_202A_206A_202E_200F_202B_200C_206D_200F_202D_206C_202B_202A_206B_206E_202D_202C_206D_202E_206F_206F_206D_202E_202E())) + { + deliveryQueue.Add(npcIndex); + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + } + if (_200B_206D_206C_206B_200B_202D_202A_200B_206C_202E_206F_200B_200F_200C_200E_202D_200C_206A_206C_206D_200B_206B_202D_200B_202D_202E_202B_200D_200B_202C_202D_200D_206B_206F_200D_200F_206B_202C_202B_206E_202E()) + { + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(-1508108081)); + num2 = -24438164; + goto IL_11ce; + } + goto IL_12f5; + case 0: + { + ImRaii.DisabledDisposable disabledDisposable = _200F_206F_202D_206B_206F_200E_200E_206B_202C_202C_206B_206B_200D_206E_202B_202E_200B_200D_200E_206C_200F_206C_206A_206A_206F_202D_200E_202E_200C_202E_206D_202E_202D_202B_206D_206A_202D_200C_200E_202E_202E(num35 == 0); + try + { + num2 = ((!UiThemeUtils.IconButton(FontAwesomeIcon.ArrowUp, _200C_206D_200E_206C_206C_200F_200E_202C_206E_200F_202C_200F_202D_206E_202D_202C_200F_202E_202A_206A_202E_200F_202B_200C_206D_200F_202D_206C_202B_202A_206B_206E_202D_202C_206D_202E_206F_206F_206D_202E_202E())) ? (-446512354) : (-446512355)); + while (true) + { + int num36 = num2; + num4 = -446512356; + num5 = num36; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -446512355; + break; + case 1: + { + deliveryQueue.RemoveAt(num35); + List list2 = deliveryQueue; + int num37 = num35; + num4 = 1; + num5 = num37; + list2.Insert(~(~num5 + num4), npcIndex); + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num2 = -446512354; + break; + } + case 2: + goto end_IL_0ebb; + } + continue; + end_IL_0ebb: + break; + } + } + finally + { + num2 = ((disabledDisposable == null) ? (-187160597) : (-187160598)); + while (true) + { + int num38 = num2; + num4 = -187160597; + num5 = num38; + int num39 = num5 + num4; + int num40 = num5 & num4; + switch (num39 - (num40 + num40)) + { + case 2: + num2 = -187160598; + break; + case 0: + goto end_IL_0f53; + case 1: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)disabledDisposable); + num2 = -187160597; + break; + } + continue; + end_IL_0f53: + break; + } + } + num2 = ((!_202C_202B_206B_202A_206B_202D_206F_200F_206B_202A_200B_202D_200D_200D_206E_206A_202C_202B_202D_206D_200B_200E_206A_200B_206E_206A_202C_200D_202A_206B_206D_200D_200E_206E_200C_200F_202A_206F_200B_206D_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-1917102626) : (-1917102627)); + while (true) + { + int num41 = num2; + num4 = -1917102628; + num5 = num41; + int num42 = num5 + num4; + int num43 = num5 & num4; + switch (num42 - (num43 + num43)) + { + default: + continue; + case 0: + num2 = -1917102627; + continue; + case 1: + { + ImU8String imU8String4 = new ImU8String(19, 2); + imU8String4.AppendLiteral(global::_003CModule_003E._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(-1691694885)); + int num44 = num35; + num4 = 1; + num5 = num44; + int num45 = num5 ^ num4; + int num46 = num5 & num4; + imU8String4.AppendFormatted(num45 + (num46 + num46)); + imU8String4.AppendLiteral(global::_003CModule_003E._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(1534070043)); + imU8String4.AppendFormatted(deliveryQueue.Count); + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E(imU8String4); + num2 = -1917102626; + continue; + } + case 2: + break; + } + break; + } + _200C_200D_202C_200E_200B_202C_200B_200B_206D_200C_206B_200B_202B_202B_202E_206B_200E_202C_206B_202E_206C_200E_200C_202D_206C_206F_202C_206F_200B_202C_200F_200F_200E_200C_206D_206A_206C_206B_206B_202E(); + disabledDisposable = _200F_206F_202D_206B_206F_200E_200E_206B_202C_202C_206B_206B_200D_206E_202B_202E_200B_200D_200E_206C_200F_206C_206A_206A_206F_202D_200E_202E_200C_202E_206D_202E_202D_202B_206D_206A_202D_200C_200E_202E_202E(num35 == deliveryQueue.Count - 1); + try + { + num2 = ((!UiThemeUtils.IconButton(FontAwesomeIcon.ArrowDown, _200C_206D_200E_206C_206C_200F_200E_202C_206E_200F_202C_200F_202D_206E_202D_202C_200F_202E_202A_206A_202E_200F_202B_200C_206D_200F_202D_206C_202B_202A_206B_206E_202D_202C_206D_202E_206F_206F_206D_202E_202E())) ? 1024234644 : 1024234647); + while (true) + { + int num47 = num2; + num4 = 1024234645; + num5 = num47; + int num48 = num5 + num4; + int num49 = num5 & num4; + switch (num48 - (num49 + num49)) + { + case 0: + num2 = 1024234647; + break; + case 2: + { + deliveryQueue.RemoveAt(num35); + List list3 = deliveryQueue; + int num50 = num35; + num4 = 1; + num5 = num50; + int num51 = num5 ^ num4; + int num52 = num5 & num4; + list3.Insert(num51 + (num52 + num52), npcIndex); + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num2 = 1024234644; + break; + } + case 1: + goto end_IL_10af; + } + continue; + end_IL_10af: + break; + } + } + finally + { + num2 = ((disabledDisposable == null) ? 440717623 : 440717620); + while (true) + { + int num53 = num2; + num4 = 440717622; + num5 = num53; + int num54 = num5 + num4; + int num55 = num5 & num4; + switch (num54 - (num55 + num55)) + { + case 0: + num2 = 440717620; + break; + case 2: + _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E((IDisposable)disabledDisposable); + num2 = 440717623; + break; + case 1: + goto end_IL_114f; + } + continue; + end_IL_114f: + break; + } + } + _200C_200D_202C_200E_200B_202C_200B_200B_206D_200C_206B_200B_202B_202B_202E_206B_200E_202C_206B_202E_206C_200E_200C_202D_206C_206F_202C_206F_200B_202C_200F_200F_200E_200C_206D_206A_206C_206B_206B_202E(); + num2 = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Minus, _200C_206D_200E_206C_206C_200F_200E_202C_206E_200F_202C_200F_202D_206E_202D_202C_200F_202E_202A_206A_202E_200F_202B_200C_206D_200F_202D_206C_202B_202A_206B_206E_202D_202C_206D_202E_206F_206F_206D_202E_202E())) ? (-24438174) : (-24438170)); + goto IL_11ce; + } + IL_11ce: + while (true) + { + int num56 = num2; + num4 = -24438164; + num5 = num56; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 5: + text2 = global::_003CModule_003E._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(-208957793); + num2 = -24438162; + continue; + case 3: + _200D_202D_200F_200C_206C_202B_200F_202A_206C_206D_206F_206F_206C_200D_206C_202C_206E_206B_200E_206D_206B_206C_202E_200F_202D_200C_206D_202A_206E_202D_200F_200D_200D_200C_200E_200F_202D_200E_206F_206E_202E(); + currentPlan2 = _customDeliveryController.CurrentPlan; + switch (_customDeliveryController.State) + { + case CustomDeliveryController.EDeliveryState.TurningIn: + break; + default: + goto IL_1292; + case CustomDeliveryController.EDeliveryState.Executing: + goto IL_129e; + case CustomDeliveryController.EDeliveryState.WaitingForCraft: + goto IL_12b6; + case CustomDeliveryController.EDeliveryState.WaitingForFish: + goto IL_1342; + case CustomDeliveryController.EDeliveryState.Complete: + goto IL_1366; + case CustomDeliveryController.EDeliveryState.WaitingForGather: + goto IL_14c3; + } + goto case 5; + case 11: + goto IL_129e; + case 18: + goto IL_12b6; + case 9: + _200D_202D_200F_200C_206C_202B_200F_202A_206C_206D_206F_206F_206C_200D_206C_202C_206E_206B_200E_206D_206B_206C_202E_200F_202D_200C_206D_202A_206E_202D_200F_200D_200D_200C_200E_200F_202D_200E_206F_206E_202E(); + return; + case 1: + _customDeliveryController.Stop(global::_003CModule_003E._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(2144334620)); + num2 = -24438171; + continue; + case 0: + break; + case 17: + num2 = -24438176; + continue; + case 14: + num2 = ((!_200B_206D_206C_206B_200B_202D_202A_200B_206C_202E_206F_200B_200F_200C_200E_202D_200C_206A_206C_206D_200B_206B_202D_200B_202D_202E_202B_200D_200B_202C_202D_200D_206B_206F_200D_200F_206B_202C_202B_206E_202E()) ? (-24438164) : (-24438172)); + continue; + case 7: + goto IL_1342; + case 15: + num2 = -24438170; + continue; + case 4: + goto IL_1366; + case 16: + { + string itemName2 = GetItemName(currentPlan2.ItemId); + ImU8String imU8String5 = new ImU8String(6, 1); + imU8String5.AppendLiteral(global::_003CModule_003E._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(-150682317)); + imU8String5.AppendFormatted(itemName2); + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.DimTextColor, imU8String5); + num2 = -24438175; + continue; + } + case 2: + { + string text3 = text2; + _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref UiThemeUtils.StatusActive, (ImU8String)text3); + num2 = ((currentPlan2 == null) ? (-24438175) : (-24438148)); + continue; + } + case 10: + deliveryQueue.Remove(npcIndex); + _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num2 = -24438174; + continue; + case 8: + _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E((ImU8String)global::_003CModule_003E._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(656153411)); + break; + case 13: + num2 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Stop, global::_003CModule_003E._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(-706453881))) ? (-24438171) : (-24438163)); + continue; + case 6: + goto IL_14c3; + case 12: + { + text2 = global::_003CModule_003E._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(1654225134); + num2 = -24438162; + continue; + } + IL_1366: + text2 = global::_003CModule_003E._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(-1679534027); + num2 = -24438162; + continue; + IL_1342: + text2 = global::_003CModule_003E._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(-739876525); + num2 = -24438162; + continue; + IL_12b6: + text2 = global::_003CModule_003E._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(2013139255); + num2 = -24438162; + continue; + IL_129e: + text2 = global::_003CModule_003E._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(793879849); + num2 = -24438162; + continue; + IL_1292: + num2 = -24438147; + continue; + IL_14c3: + text2 = global::_003CModule_003E._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(1684456319); + num2 = -24438162; + continue; + } + break; + } + goto IL_12f5; + IL_12f5: + num2 = ((!flag) ? (-24438171) : (-24438161)); + goto IL_11ce; + } + } + } + + private bool HasAnyDoHDoLAtLevel(ushort requiredLevel) + { + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + EClassJob[] array = new EClassJob[11]; + _202A_202E_202A_206D_202B_202D_206E_200E_202C_202A_202B_202C_200C_206C_200B_206A_200F_206D_202B_206E_200B_202B_202D_206E_206C_206E_200F_206B_202C_202A_206A_206C_202C_200C_202B_200B_206D_206C_206D_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + EClassJob[] array2 = array; + int num = 0; + int num2 = -1047471697; + ClassJob row = default(ClassJob); + while (true) + { + int num3 = num2; + int num4 = -1047471702; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 6: + return false; + case 2: + { + int num8 = num; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + num = num9 + (num10 + num10); + num2 = -1047471697; + break; + } + case 0: + num2 = -1047471697; + break; + case 4: + return true; + case 1: + { + EClassJob rowId = array2[num]; + num2 = ((!excelSheet.TryGetRow((uint)rowId, out row)) ? (-1047471704) : (-1047471703)); + break; + } + case 3: + num2 = ((_200F_200F_200B_200B_206A_202D_202B_206D_200D_200B_202B_200F_200C_202A_206E_202C_206A_202E_206D_200E_200F_200B_202D_206D_200D_200F_206D_200D_202E_200D_200F_200D_202D_200C_200F_200B_200E_206F_200C_200F_202E((int)row.ExpArrayIndex) < requiredLevel) ? (-1047471704) : (-1047471698)); + break; + case 5: + num2 = ((num < array2.Length) ? (-1047471701) : (-1047471700)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private string GetItemName(uint itemId) + { + Item row; + int num = ((!_dataManager.GetExcelSheet().TryGetRow(itemId, out row)) ? (-1329306888) : (-1329306887)); + while (true) + { + int num2 = num; + int num3 = -1329306888; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1774619943)); + defaultInterpolatedStringHandler.AppendFormatted(itemId); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + case 1: + return row.Name.ToString(); + case 2: + goto IL_00a6; + } + continue; + IL_00a6: + num = -1329306887; + } + } + + 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); + int num2 = ((!(dateTime <= utcNow)) ? (-1056922684) : (-1056922681)); + while (true) + { + int num3 = num2; + int num4 = -1056922683; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = -1056922681; + break; + case 2: + dateTime = dateTime.AddDays(7.0); + num2 = -1056922684; + break; + case 1: + { + TimeSpan item = dateTime - utcNow; + return (ResetTime: dateTime.ToLocalTime(), TimeUntilReset: item); + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static string GetExpansionName(EExpansionVersion expansion) + { + int num; + string result = default(string); + switch (expansion) + { + default: + num = -2868485; + goto IL_0029; + case EExpansionVersion.Heavensward: + result = global::_003CModule_003E._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(221441773); + num = -2868486; + goto IL_0029; + case EExpansionVersion.Endwalker: + goto IL_0099; + case EExpansionVersion.Dawntrail: + goto IL_00ba; + case EExpansionVersion.Shadowbringers: + goto IL_00d0; + case EExpansionVersion.Stormblood: + goto IL_00f1; + case EExpansionVersion.ARealmReborn: + goto IL_0109; + IL_0029: + while (true) + { + int num2 = num; + int num3 = -2868493; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + result = expansion.ToString(); + num = -2868486; + break; + case 5: + goto end_IL_0029; + case 3: + goto IL_0099; + case 8: + num = -2868492; + break; + case 6: + goto IL_00ba; + case 2: + goto IL_00d0; + case 0: + num = -2868485; + break; + case 1: + goto IL_00f1; + case 9: + return result; + case 4: + goto IL_0109; + } + continue; + end_IL_0029: + break; + } + goto case EExpansionVersion.Heavensward; + IL_0109: + result = global::_003CModule_003E._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(177882678); + num = -2868486; + goto IL_0029; + IL_00f1: + result = global::_003CModule_003E._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(-1756895913); + num = -2868486; + goto IL_0029; + IL_00d0: + result = global::_003CModule_003E._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(-1593202768); + num = -2868486; + goto IL_0029; + IL_00ba: + result = global::_003CModule_003E._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(-247237943); + num = -2868486; + goto IL_0029; + IL_0099: + result = global::_003CModule_003E._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(-603468531); + num = -2868486; + goto IL_0029; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + static CustomDeliveryJournalComponent() + { + EClassJob[] array = new EClassJob[8]; + _202A_202E_202A_206D_202B_202D_206E_200E_202C_202A_202B_202C_200C_206C_200B_206A_200F_206D_202B_206E_200B_202B_202D_206E_206C_206E_200F_206B_202C_202A_206A_206C_202C_200C_202B_200B_206D_206C_206D_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + CrafterJobs = array; + GathererNames = new string[2] + { + global::_003CModule_003E._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(1210711157), + global::_003CModule_003E._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(-491484256) + }; + GathererJobs = new EClassJob[2] + { + EClassJob.Miner, + EClassJob.Botanist + }; + OvercapModeNames = new string[3] + { + global::_003CModule_003E._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(-1551866722), + global::_003CModule_003E._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(1606236117), + global::_003CModule_003E._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(1302723565) + }; + CollectabilityTierNames = new string[3] + { + global::_003CModule_003E._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(2068032764), + global::_003CModule_003E._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(1663501260), + global::_003CModule_003E._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(-1666589218) + }; + } + + static void _200C_200D_202C_200E_200B_202C_200B_200B_206D_200C_206B_200B_202B_202B_202E_206B_200E_202C_206B_202E_206C_200E_200C_202D_206C_206F_202C_206F_200B_202C_200F_200F_200E_200C_206D_206A_206C_206B_206B_202E() + { + ImGui.SameLine(); + } + + static ImRaii.DisabledDisposable _200F_206F_202D_206B_206F_200E_200E_206B_202C_202C_206B_206B_200D_206E_202B_202E_200B_200D_200E_206C_200F_206C_206A_206A_206F_202D_200E_202E_200C_202E_206D_202E_202D_202B_206D_206A_202D_200C_200E_202E_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static void _206B_200B_206F_206C_202B_206E_206E_200F_202C_206B_200D_200C_206E_206A_206C_200C_202B_202E_202B_202A_200D_206F_200F_200B_206A_206D_200D_206F_200C_202C_200F_206D_200E_206F_202E_206F_200C_202A_206C_206A_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _206B_202C_206C_206E_200E_206E_206A_200D_200D_202C_202E_206D_200C_200C_202E_206B_200D_200B_200D_202B_200E_202B_202E_200C_202C_200F_202D_206E_200B_206C_206F_200C_202D_206D_206A_202C_206F_202B_202C_202D_202E() + { + ImGui.Separator(); + } + + static void _200D_202D_200F_200C_206C_202B_200F_202A_206C_206D_206F_206F_206C_200D_206C_202C_206E_206B_200E_206D_206B_206C_202E_200F_202D_200C_206D_202A_206E_202D_200F_200D_200D_200C_200E_200F_202D_200E_206F_206E_202E() + { + ImGui.Spacing(); + } + + static void _200C_206E_200B_206E_200C_202B_206A_202A_200B_206D_206C_200E_206F_206A_206D_206D_202B_206B_206C_206F_200E_202A_200E_206C_202C_200D_206C_202E_206C_202A_206D_206C_206B_206A_202D_206D_206E_202B_206E_200F_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static ushort _206F_202B_206A_202C_202E_200F_200E_202A_200E_206B_206B_200C_206B_200C_206F_200F_202B_200F_206E_202C_206B_206C_202A_206F_200C_202C_202D_200D_206D_206B_202D_206F_206B_200C_206B_200C_206B_202E_206C_202A_202E(ElementId P_0) + { + return P_0.Value; + } + + static bool _200C_200F_206C_200F_200E_206D_206F_206D_206D_206A_202B_206C_200B_206B_206A_206E_200E_206D_206B_202E_200E_206F_200E_202E_202A_200C_200B_200F_202E_206B_206F_202C_206F_200B_202D_206E_202B_200E_206A_206E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static int _206D_202A_200F_206F_200C_202E_202C_202D_206E_200D_200C_202B_206F_200D_200B_202E_200F_202D_200C_202E_202A_206C_200B_202E_202B_202D_202D_200C_200D_206F_206C_206E_200C_202D_206D_206B_200E_206D_206B_200D_202E() + { + return SatisfactionSupplyActions.GetRemainingAllowances(); + } + + static byte _206E_200B_200C_206D_200E_202A_206D_206E_206A_206C_206D_206D_200D_200D_202B_202D_202B_206C_202D_206C_206F_206D_206A_200B_202C_200F_202E_200D_202E_206A_202A_206A_202C_200F_206E_200B_206A_206D_206A_200D_202E() + { + return SatisfactionSupplyActions.GetBonusGuaranteeRowId(); + } + + static int _200C_200B_200D_202C_206D_202C_200D_206E_202A_206E_200E_206B_206A_202A_202B_200D_206A_206E_200E_200D_206F_202D_200C_202C_200C_202A_200D_200F_200F_200B_200B_206F_206D_202C_200E_206F_200F_206D_202B_202D_202E(SatisfactionSupplyHelper P_0, int P_1) + { + return P_0.CalculateBonusGuaranteeIndex(P_1); + } + + static SatisfactionSupplyNpcId _200E_202B_206E_202E_202C_206D_200B_206D_206B_206E_206A_206D_202A_206C_202E_200E_200C_202D_206B_206B_202B_206A_200F_200B_200B_206D_206C_202E_206C_202B_206A_206D_206F_206B_200F_206E_202B_200B_200D_200E_202E(ushort P_0) + { + return new SatisfactionSupplyNpcId(P_0); + } + + static void _200D_202E_202B_202B_202A_200B_206B_206E_206A_200B_202D_202E_206F_200E_200D_202C_206C_202D_202E_202B_200B_202B_200E_200B_202B_202E_202D_206C_206F_200B_202A_206F_206B_200D_206C_202C_206F_200D_202C_200E_202E(float P_0, float P_1) + { + ImGui.SameLine(P_0, P_1); + } + + static Vector2 _202E_202A_206C_202A_206E_200F_200B_200B_200D_202C_206B_206D_206A_200C_200D_202E_206C_200B_202D_202A_206A_202E_202D_200B_206C_206D_206B_206A_200D_206A_202E_202C_202B_206B_202D_200E_202D_206F_202A_202B_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _206C_200C_206C_200D_206D_200F_202C_202A_202D_206E_206D_206C_200B_202D_202A_200B_206F_202D_200B_202A_200C_206D_202E_206E_206D_202A_206C_200B_200D_206B_206D_202D_202E_202C_200C_206F_200D_202D_202E_202E_202E(float P_0, float P_1) + { + return MathF.Min(P_0, P_1); + } + + static void _206B_202D_200D_200F_200B_206B_206C_200E_206A_206A_206E_202A_200B_206B_206B_206B_200F_206F_206E_202D_200D_206F_206B_206F_202C_206A_202C_200F_200D_206E_200F_200D_200D_206F_206F_200F_206A_200C_206A_200D_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static void _206A_202D_200C_200B_202B_206B_206C_206D_202E_206B_202E_202D_206C_206B_202E_200C_200D_202E_206F_200C_202A_202D_200D_202D_206F_206C_206A_202B_202D_200D_202D_202C_200F_206B_206C_200C_202B_200E_206E_202E_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); + } + + static bool _200B_206D_206C_206B_200B_202D_202A_200B_206C_202E_206F_200B_200F_200C_200E_202D_200C_206A_206C_206D_200B_206B_202D_200B_202D_202E_202B_200D_200B_202C_202D_200D_206B_206F_200D_200F_206B_202C_202B_206E_202E() + { + return ImGui.IsItemHovered(); + } + + static void _202A_206C_202B_200F_206C_200B_200D_202A_206C_206A_200D_206F_200E_202E_202D_200F_200B_206E_206C_206C_200F_200E_206A_200E_202B_202B_202C_206C_206E_206B_202A_200C_206E_200E_200B_200C_200B_202C_200E_206B_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static SatisfactionSupplyActions.NpcState _200E_202C_206A_200F_206F_206F_200B_202B_206D_202D_202C_202B_206E_200E_202C_200F_206F_200C_206C_206A_202B_202B_206F_202A_200B_202B_202E_206A_202A_206C_206A_202D_200B_200C_200D_202B_206A_206E_206D_202E_202E(int P_0) + { + return SatisfactionSupplyActions.GetNpcState(P_0); + } + + static ImRaii.IdDisposable _200F_202D_202A_206A_202C_206A_200F_200C_206F_202E_200E_206E_206A_206A_202A_206B_200D_206B_200B_206E_206B_206F_206F_206F_206E_202A_202E_202A_202A_202A_200D_202A_206F_200C_202E_202B_200F_200C_202B_206C_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static bool _202C_202B_206B_202A_206B_202D_206F_200F_206B_202A_200B_202D_200D_200D_206E_206A_202C_202B_202D_206D_200B_200E_206A_200B_206E_206A_202C_200D_202A_206B_206D_200D_200E_206E_200C_200F_202A_206F_200B_206D_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static ImRaii.IndentDisposable _200C_202A_200E_202A_206D_202E_202A_202B_206D_206C_200F_202B_200E_206D_206B_200C_206D_206F_206E_206C_202E_206B_200F_200F_200C_202C_206B_200E_206F_206C_200C_200C_206B_206D_200B_206C_206F_202B_200D_206E_202E(int P_0, bool P_1) + { + return ImRaii.PushIndent(P_0, P_1); + } + + static ImRaii.IdDisposable _200C_202C_206E_206C_206F_206A_202A_200D_206E_200C_200E_202A_206F_206E_206A_200C_202D_206D_202A_200F_202A_206C_206A_206A_200C_202D_202D_200F_202A_202C_206C_202B_202B_206B_206F_202C_206F_206B_206F_202C_202E(int P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static void _202C_202D_202E_202A_200B_202C_200F_200F_202B_206E_206F_206F_200B_200C_200D_202A_200C_202E_200F_202D_206E_206E_200E_200D_206D_206E_206B_206D_206E_200E_200B_202A_202E_202A_202E_206F_200D_206A_200C_202E_202E(float P_0, Vector2 P_1, ImU8String P_2) + { + ImGui.ProgressBar(P_0, P_1, P_2); + } + + static float _200C_206D_200E_206C_206C_200F_200E_202C_206E_200F_202C_200F_202D_206E_202D_202C_200F_202E_202A_206A_202E_200F_202B_200C_206D_200F_202D_206C_202B_202A_206B_206E_202D_202C_206D_202E_206F_206F_206D_202E_202E() + { + return ImGui.GetFrameHeight(); + } + + static void _206B_202C_202A_200D_202E_202E_206C_206F_202E_206A_206A_200E_200D_200C_200D_206A_200F_202B_202A_200C_206E_202C_200C_200E_200C_200C_200F_200F_206B_202C_200C_206B_200E_200E_200B_200D_206A_206D_206E_206D_202E(ImU8String P_0, ImGuiPopupFlags P_1) + { + ImGui.OpenPopup(P_0, P_1); + } + + static bool _202D_206A_200F_202D_202B_202C_206A_202E_202B_202C_202C_206A_206D_202B_200D_206D_206A_200B_206C_206C_202A_200C_206C_206D_200B_200C_202A_202E_200C_202B_206C_200F_202E_202D_200E_202C_206C_202E_206B_200E_202E(ImU8String P_0, ImGuiWindowFlags P_1) + { + return ImGui.BeginPopup(P_0, P_1); + } + + static bool _200D_200D_206D_206D_200E_206E_200B_202D_200C_206D_202D_202C_206F_206C_200B_206A_200B_206B_202C_202E_200C_202E_200F_200E_202A_200D_202D_200F_206E_202C_200C_206B_202E_200E_200B_206D_202A_202A_202A_202D_202E(ImU8String P_0, ref int P_1, int P_2, int P_3, ImU8String P_4, ImGuiInputTextFlags P_5) + { + return ImGui.InputInt(P_0, ref P_1, P_2, P_3, P_4, P_5); + } + + static void _200D_206F_202A_206B_200F_206D_202B_206E_200D_200B_200D_206E_206F_200B_206F_202C_206C_202C_200B_206B_200E_200B_202A_200C_206B_206E_202B_206E_206B_200B_200E_206E_200C_206F_206D_200C_206A_200C_202D_206A_202E() + { + ImGui.EndPopup(); + } + + static uint _202E_206E_200C_202D_206F_206E_206D_200B_206C_200D_200F_202D_200E_200D_202C_206B_206C_202E_200F_206B_202B_206A_206B_206B_206B_206B_206B_200D_200F_206B_206C_202A_202D_206E_200C_206C_202D_206A_200B_206C_202E() + { + return SatisfactionSupplyActions.GetSupplySeed(); + } + + static uint[] _202A_202C_200F_206E_200F_206D_206D_200F_200D_202C_200F_202B_200C_202E_202B_206A_206F_206F_200E_202E_200D_200F_202D_200B_206B_202D_206A_206E_200F_202B_202D_206A_206D_206A_202C_200D_202D_206B_206F_206C_202E(SatisfactionSupplyHelper P_0, uint P_1, uint P_2) + { + return P_0.CalculateRequestedItems(P_1, P_2); + } + + static ImFontPtr _206C_206C_202D_206F_200C_200F_200C_200B_202E_200F_202E_200D_200C_202C_206E_206F_206C_200D_206E_200F_206D_206C_206C_206A_206E_202E_200D_206C_202C_202E_206B_206B_206A_206C_200F_200F_206E_202A_200D_200C_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _202B_200B_206D_206E_200D_200E_202D_202A_202D_200B_200D_202D_200D_206C_202B_200F_202D_202A_202B_206E_200D_202A_200E_206D_206D_200E_206B_202B_202B_200D_200C_200D_200F_200C_200E_202A_202E_206A_200E_206D_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _206E_206D_202B_206A_206B_206E_206B_206F_202D_206B_206A_200F_202A_202B_200F_202B_200B_206B_206C_200F_206B_202D_202E_200E_206F_202E_200B_200F_206A_202A_200B_202D_200E_202B_206B_202A_206E_202C_202D_200E_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _202C_200F_206E_206F_200D_206D_206A_200E_202A_206B_200C_206A_202B_200B_200F_206D_202D_200D_206E_200B_202C_206B_206E_200E_206B_202C_200D_200C_200E_202A_206E_200F_206A_200B_202B_200E_200B_200D_202A_202A_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static ImGuiStylePtr _206B_206F_200C_200C_202D_202D_202C_202E_206B_206C_206D_200D_206E_200F_200D_206E_206C_200C_206F_200E_206D_206B_206F_206F_202D_202D_200E_206B_206E_202C_202D_202B_202D_202D_200B_200B_200E_206A_202D_206E_202E() + { + return ImGui.GetStyle(); + } + + static void _206A_202A_200E_200C_200D_200D_202E_206C_200B_200E_200D_200C_206B_206E_206B_202D_206F_202C_202C_206C_202D_200D_206D_206B_202D_206D_206E_206F_202A_206A_200B_202C_202B_200E_200B_202C_200B_206D_206C_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static string _200C_206D_206B_202A_202D_202A_202A_202C_202E_206A_202C_200B_206C_200D_200B_202C_200B_202B_200F_200E_202C_200C_202C_200E_200B_200B_206C_206B_202E_206E_206F_206E_202B_206A_202A_202B_200B_206F_200C_200D_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static string _200C_206B_206D_206C_200E_200C_206B_200D_202A_200F_202B_200F_202A_202C_206F_206F_202B_206A_206E_202E_206A_200F_202D_202A_200D_202B_202A_206C_206E_200F_200B_206E_206C_202C_206D_200C_202A_206B_206F_206A_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static ImRaii.ColorDisposable _202B_206D_206C_206F_200B_200F_202C_200E_206C_206D_206E_200B_202D_200D_202A_200D_200D_206F_206B_202A_200C_202E_206E_206A_202D_200D_200C_206F_206D_202B_200C_206F_200B_202E_200C_202D_200C_202C_206E_202B_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static void _202A_202A_206A_202E_200B_206A_202E_202B_202B_200C_202D_206D_202E_200E_200F_206A_200D_206A_206B_202C_206F_200C_202E_200D_206A_200B_206B_202C_200E_202E_206B_202E_206F_200C_200B_206F_200F_200D_206F_206A_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static int _202D_202C_202D_202E_206B_206A_206E_202B_206F_206C_206C_206D_206D_206E_202C_206F_200F_200F_202C_200F_206B_202C_202E_200F_202C_206D_202E_206A_206C_202B_202A_206D_206A_200B_200F_202A_200F_202C_206C_200F_202E(uint P_0, bool P_1, bool P_2) + { + return InventoryHelper.GetItemCount(P_0, P_1, P_2); + } + + static void _202A_202E_202A_206D_202B_202D_206E_200E_202C_202A_202B_202C_200C_206C_200B_206A_200F_206D_202B_206E_200B_202B_202D_206E_206C_206E_200F_206B_202C_202A_206A_206C_202C_200C_202B_200B_206D_206C_206D_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } + + static short _200F_200F_200B_200B_206A_202D_202B_206D_200D_200B_202B_200F_200C_202A_206E_202C_206A_202E_206D_200E_200F_200B_202D_206D_200D_200F_206D_200D_202E_200D_200F_200D_202D_200C_200F_200B_200E_206F_200C_200F_202E(int P_0) + { + return PlayerStateHelper.GetClassJobLevel(P_0); + } +} diff --git a/Questionable/Questionable.Windows.JournalComponents/DutyJournalComponent.cs b/Questionable/Questionable.Windows.JournalComponents/DutyJournalComponent.cs index c3747fd4..28f19668 100644 --- a/Questionable/Questionable.Windows.JournalComponents/DutyJournalComponent.cs +++ b/Questionable/Questionable.Windows.JournalComponents/DutyJournalComponent.cs @@ -1,11 +1,14 @@ using System; using System.Collections.Generic; +using System.Collections.Immutable; using System.Globalization; 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.ManagedFontAtlas; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Microsoft.Extensions.Logging; @@ -18,14 +21,538 @@ namespace Questionable.Windows.JournalComponents; internal sealed class DutyJournalComponent { - private sealed record DutyCategory(string Name, List Duties); + private enum RowType : byte + { + Category, + Duty + } + + private readonly record struct FlatRow(RowType Type, int GroupIndex, DutyInfo? Duty, string Label, DutyCounts Counts) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_202A_206C_206C_202A_206B_206A_206C_200E_202C_202C_200D_202E_200D_200B_206A_206D_200B_206D_202D_206C_206E_200D_206D_200C_200B_206A_200D_206A_200F_200E_202B_202C_206C_200C_200D_206E_200C_206C_202A_202E(); + _200C_202B_200B_200E_200D_202C_206A_206B_202C_200F_202D_202C_206C_206B_202C_202D_200D_202E_206A_202B_202D_206B_202C_202A_206B_206C_202C_200F_206C_206A_202D_206C_206B_202A_206F_200E_206B_206E_200D_206A_202E(stringBuilder, global::_003CModule_003E._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(-2098208768)); + _200C_202B_200B_200E_200D_202C_206A_206B_202C_200F_202D_202C_206C_206B_202C_202D_200D_202E_206A_202B_202D_206B_202C_202A_206B_206C_202C_200F_206C_206A_202D_206C_206B_202A_206F_200E_206B_206E_200D_206A_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? 653299951 : 653299950); + while (true) + { + int num2 = num; + int num3 = 653299951; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 653299950; + break; + case 0: + _206A_206C_202D_206D_202B_200D_202A_206E_206D_206C_200C_206F_202A_206A_206D_200E_206E_206D_206D_206D_202D_206B_200C_200F_206D_206C_206C_202C_202C_206D_206C_200F_202D_206E_202C_202C_206F_202D_200F_200C_202E(stringBuilder, '}'); + return _200E_206C_206B_202B_206A_202A_202E_202E_206C_200B_206C_200E_200C_200B_206F_202A_206D_202C_200D_202A_206B_202E_202A_200B_206E_202D_200D_200B_202A_200B_200E_206D_202A_202C_206F_206F_200F_206B_206F_202C_202E((object)stringBuilder); + case 1: + _206A_206C_202D_206D_202B_200D_202A_206E_206D_206C_200C_206F_202A_206A_206D_200E_206E_206D_206D_206D_202D_206B_200C_200F_206D_206C_206C_202C_202C_206D_206C_200F_202D_206E_202C_202C_206F_202D_200F_200C_202E(stringBuilder, ' '); + num = 653299951; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_202B_200B_200E_200D_202C_206A_206B_202C_200F_202D_202C_206C_206B_202C_202D_200D_202E_206A_202B_202D_206B_202C_202A_206B_206C_202C_200F_206C_206A_202D_206C_206B_202A_206F_200E_206B_206E_200D_206A_202E(builder, global::_003CModule_003E._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(-217898061)); + _200C_202B_200B_200E_200D_202C_206A_206B_202C_200F_202D_202C_206C_206B_202C_202D_200D_202E_206A_202B_202D_206B_202C_202A_206B_206C_202C_200F_206C_206A_202D_206C_206B_202A_206F_200E_206B_206E_200D_206A_202E(builder, Type.ToString()); + _200C_202B_200B_200E_200D_202C_206A_206B_202C_200F_202D_202C_206C_206B_202C_202D_200D_202E_206A_202B_202D_206B_202C_202A_206B_206C_202C_200F_206C_206A_202D_206C_206B_202A_206F_200E_206B_206E_200D_206A_202E(builder, global::_003CModule_003E._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(-868367691)); + _200C_202B_200B_200E_200D_202C_206A_206B_202C_200F_202D_202C_206C_206B_202C_202D_200D_202E_206A_202B_202D_206B_202C_202A_206B_206C_202C_200F_206C_206A_202D_206C_206B_202A_206F_200E_206B_206E_200D_206A_202E(builder, GroupIndex.ToString()); + _200C_202B_200B_200E_200D_202C_206A_206B_202C_200F_202D_202C_206C_206B_202C_202D_200D_202E_206A_202B_202D_206B_202C_202A_206B_206C_202C_200F_206C_206A_202D_206C_206B_202A_206F_200E_206B_206E_200D_206A_202E(builder, global::_003CModule_003E._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(-406571044)); + _202A_200E_206E_200E_202D_206D_200C_200C_202B_202B_202E_200E_200D_202C_200B_200E_200B_206B_200B_200F_202C_206C_200B_200E_202C_206D_202E_200F_200B_200E_200B_206A_200B_200E_206E_200B_200B_206A_206D_206B_202E(builder, (object)Duty); + _200C_202B_200B_200E_200D_202C_206A_206B_202C_200F_202D_202C_206C_206B_202C_202D_200D_202E_206A_202B_202D_206B_202C_202A_206B_206C_202C_200F_206C_206A_202D_206C_206B_202A_206F_200E_206B_206E_200D_206A_202E(builder, global::_003CModule_003E._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(-215899582)); + _202A_200E_206E_200E_202D_206D_200C_200C_202B_202B_202E_200E_200D_202C_200B_200E_200B_206B_200B_200F_202C_206C_200B_200E_202C_206D_202E_200F_200B_200E_200B_206A_200B_200E_206E_200B_200B_206A_206D_206B_202E(builder, (object)Label); + _200C_202B_200B_200E_200D_202C_206A_206B_202C_200F_202D_202C_206C_206B_202C_202D_200D_202E_206A_202B_202D_206B_202C_202A_206B_206C_202C_200F_206C_206A_202D_206C_206B_202A_206F_200E_206B_206E_200D_206A_202E(builder, global::_003CModule_003E._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(-1999051001)); + _202A_200E_206E_200E_202D_206D_200C_200C_202B_202B_202E_200E_200D_202C_200B_200E_200B_206B_200B_200F_202C_206C_200B_200E_202C_206D_202E_200F_200B_200E_200B_206A_200B_200E_206E_200B_200B_206A_206D_206B_202E(builder, (object)Counts); + return true; + } + + [CompilerGenerated] + public bool Equals(FlatRow other) + { + int num = ((!EqualityComparer.Default.Equals(Type, other.Type)) ? (-146816792) : (-146816791)); + while (true) + { + int num2 = num; + int num3 = -146816792; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return EqualityComparer.Default.Equals(Counts, other.Counts); + case 4: + num = ((!EqualityComparer.Default.Equals(Label, other.Label)) ? (-146816792) : (-146816789)); + break; + case 5: + num = -146816791; + break; + case 1: + num = ((!EqualityComparer.Default.Equals(GroupIndex, other.GroupIndex)) ? (-146816792) : (-146816790)); + break; + case 0: + return false; + case 2: + num = ((!EqualityComparer.Default.Equals(Duty, other.Duty)) ? (-146816792) : (-146816788)); + break; + } + } + } + + bool IEquatable.Equals(FlatRow other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206F_202A_206C_206C_202A_206B_206A_206C_200E_202C_202C_200D_202E_200D_200B_206A_206D_200B_206D_202D_206C_206E_200D_206D_200C_200B_206A_200D_206A_200F_200E_202B_202C_206C_200C_200D_206E_200C_206C_202A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200C_202B_200B_200E_200D_202C_206A_206B_202C_200F_202D_202C_206C_206B_202C_202D_200D_202E_206A_202B_202D_206B_202C_202A_206B_206C_202C_200F_206C_206A_202D_206C_206B_202A_206F_200E_206B_206E_200D_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_206C_202D_206D_202B_200D_202A_206E_206D_206C_200C_206F_202A_206A_206D_200E_206E_206D_206D_206D_202D_206B_200C_200F_206D_206C_206C_202C_202C_206D_206C_200F_202D_206E_202C_202C_206F_202D_200F_200C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200E_206C_206B_202B_206A_202A_202E_202E_206C_200B_206C_200E_200C_200B_206F_202A_206D_202C_200D_202A_206B_202E_202A_200B_206E_202D_200D_200B_202A_200B_200E_206D_202A_202C_206F_206F_200F_206B_206F_202C_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _202A_200E_206E_200E_202D_206D_200C_200C_202B_202B_202E_200E_200D_202C_200B_200E_200B_206B_200B_200F_202C_206C_200B_200E_202C_206D_202E_200F_200B_200E_200B_206A_200B_200E_206E_200B_200B_206A_206D_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + } + + private sealed record DutyCategory(string Name, List Duties) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_202B_202D_202B_200D_202E_206C_202E_206D_200C_200D_206D_200F_200D_206A_206C_206C_200B_202B_202D_206E_206E_200D_202D_202A_202E_200B_200D_200F_206F_202C_202C_200B_206C_206A_202C_200F_202C_206D_206A_202E(typeof(DutyCategory).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200F_200C_206D_200E_202C_200F_200F_200B_200B_200C_206A_200B_206E_206C_202A_206E_200C_202D_202A_202B_202C_200E_200E_200F_202B_206D_206E_206F_202A_206B_206D_200F_202C_206D_200B_206F_202A_200E_202A_200F_202E(); + _206F_206B_202E_202C_206F_206A_202A_206C_206B_202B_200C_200D_200E_202C_206F_200C_200F_200F_202D_200C_206E_206A_202B_200E_202C_202D_202C_202E_200E_206D_200F_206B_200B_202D_206C_200B_202C_206D_200D_200E_202E(stringBuilder, global::_003CModule_003E._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(-1281747430)); + _206F_206B_202E_202C_206F_206A_202A_206C_206B_202B_200C_200D_200E_202C_206F_200C_200F_200F_202D_200C_206E_206A_202B_200E_202C_202D_202C_202E_200E_206D_200F_206B_200B_202D_206C_200B_202C_206D_200D_200E_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-1876373602) : (-1876373603)); + while (true) + { + int num2 = num; + int num3 = -1876373601; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _206D_200D_206D_206E_206A_202A_202E_202C_206A_206D_206E_200B_200B_202B_200C_206D_206E_206A_206E_206F_206A_200B_206E_200C_202A_202D_202C_206D_202E_202D_200B_206F_206A_206F_206A_206D_200F_206A_200D_200E_202E(stringBuilder, '}'); + return _202B_202E_202B_202A_202B_200B_200E_200C_206B_202A_200F_200B_200D_202C_206E_200D_206C_206A_206A_206A_206A_206B_200C_206F_200D_200D_200E_202B_202C_206E_202E_206A_206E_202D_206F_200C_206A_200D_200C_202E_202E((object)stringBuilder); + case 2: + _206D_200D_206D_206E_206A_202A_202E_202C_206A_206D_206E_200B_200B_202B_200C_206D_206E_206A_206E_206F_206A_200B_206E_200C_202A_202D_202C_206D_202E_202D_200B_206F_206A_206F_206A_206D_200F_206A_200D_200E_202E(stringBuilder, ' '); + num = -1876373602; + break; + case 0: + num = -1876373603; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_202E_202B_206F_202C_206B_202D_206B_200D_206B_202D_202C_202A_206F_206C_200B_206B_202E_200B_206F_200E_206E_202D_202C_200B_200D_200F_202D_206C_202A_206C_206D_200B_206E_206A_206D_206B_206E_206E_202E(); + _206F_206B_202E_202C_206F_206A_202A_206C_206B_202B_200C_200D_200E_202C_206F_200C_200F_200F_202D_200C_206E_206A_202B_200E_202C_202D_202C_202E_200E_206D_200F_206B_200B_202D_206C_200B_202C_206D_200D_200E_202E(builder, global::_003CModule_003E._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(868794944)); + _202A_200D_202D_200B_200C_206F_206F_202C_206F_206B_206F_206E_202A_202C_202A_200E_206D_200D_202B_202E_202A_200F_206B_206F_206F_206B_200E_202C_206A_200E_202B_206C_200F_206B_202E_206C_202B_206F_202A_200D_202E(builder, (object)Name); + _206F_206B_202E_202C_206F_206A_202A_206C_206B_202B_200C_200D_200E_202C_206F_200C_200F_200F_202D_200C_206E_206A_202B_200E_202C_202D_202C_202E_200E_206D_200F_206B_200B_202D_206C_200B_202C_206D_200D_200E_202E(builder, global::_003CModule_003E._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(1440615544)); + _202A_200D_202D_200B_200C_206F_206F_202C_206F_206B_206F_206E_202A_202C_202A_200E_206D_200D_202B_202E_202A_200F_206B_206F_206F_206B_200E_202C_206A_200E_202B_206C_200F_206B_202E_206C_202B_206F_202A_200D_202E(builder, (object)Duties); + return true; + } + + [CompilerGenerated] + public bool Equals(DutyCategory? other) + { + int num = (((object)this == other) ? 1905115001 : 1905115003); + while (true) + { + int num2 = num; + int num3 = 1905115002; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + return false; + case 2: + num = ((!_200B_206B_206F_200B_202B_202A_200C_200D_206D_202E_200D_200C_206B_202A_202D_206B_200F_200B_202A_206B_200D_202B_206D_206A_206C_206C_206D_206C_206F_200D_206F_202C_200B_206E_200D_200B_200E_206F_206E_202C_202E(EqualityContract, other.EqualityContract)) ? 1905115004 : 1905115006); + break; + case 1: + num = (((object)other == null) ? 1905115004 : 1905115000); + break; + case 3: + return true; + case 4: + num = ((!EqualityComparer.Default.Equals(Name, other.Name)) ? 1905115004 : 1905115002); + break; + case 0: + return EqualityComparer>.Default.Equals(Duties, other.Duties); + case 5: + num = 1905115003; + break; + } + } + } + + bool IEquatable.Equals(DutyCategory? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202E_202B_202D_202B_200D_202E_206C_202E_206D_200C_200D_206D_200F_200D_206A_206C_206C_200B_202B_202D_206E_206E_200D_202D_202A_202E_200B_200D_200F_206F_202C_202C_200B_206C_206A_202C_200F_202C_206D_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200F_200C_206D_200E_202C_200F_200F_200B_200B_200C_206A_200B_206E_206C_202A_206E_200C_202D_202A_202B_202C_200E_200E_200F_202B_206D_206E_206F_202A_206B_206D_200F_202C_206D_200B_206F_202A_200E_202A_200F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206F_206B_202E_202C_206F_206A_202A_206C_206B_202B_200C_200D_200E_202C_206F_200C_200F_200F_202D_200C_206E_206A_202B_200E_202C_202D_202C_202E_200E_206D_200F_206B_200B_202D_206C_200B_202C_206D_200D_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_200D_206D_206E_206A_202A_202E_202C_206A_206D_206E_200B_200B_202B_200C_206D_206E_206A_206E_206F_206A_200B_206E_200C_202A_202D_202C_206D_202E_202D_200B_206F_206A_206F_206A_206D_200F_206A_200D_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202B_202E_202B_202A_202B_200B_200E_200C_206B_202A_200F_200B_200D_202C_206E_200D_206C_206A_206A_206A_206A_206B_200C_206F_200D_200D_200E_202B_202C_206E_202E_206A_206E_202D_206F_200C_206A_200D_200C_202E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202B_202E_202B_206F_202C_206B_202D_206B_200D_206B_202D_202C_202A_206F_206C_200B_206B_202E_200B_206F_200E_206E_202D_202C_200B_200D_200F_202D_206C_202A_206C_206D_200B_206E_206A_206D_206B_206E_206E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202A_200D_202D_200B_200C_206F_206F_202C_206F_206B_206F_206E_202A_202C_202A_200E_206D_200D_202B_202E_202A_200F_206B_206F_206F_206B_200E_202C_206A_200E_202B_206C_200F_206B_202E_206C_202B_206F_202A_200D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200B_206B_206F_200B_202B_202A_200C_200D_206D_202E_200D_200C_206B_202A_202D_206B_200F_200B_202A_206B_200D_202B_206D_206A_206C_206C_206D_206C_206F_200D_206F_202C_200B_206E_200D_200B_200E_206F_206E_202C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } private sealed record DutyCounts(int Unlocked, int Completed, int CompletionTrackable, int Total) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_202C_200F_200B_202C_206C_202C_200F_206E_200F_206C_202A_200D_202A_206A_206A_206F_206F_202B_202C_200F_200F_200B_200F_206A_200F_202E_206E_206E_206E_206A_202A_202E_202D_200C_206C_202A_202B_206B_206B_202E(typeof(DutyCounts).TypeHandle); + } + } + + public string FormattedUnlocked { get; } = FormatPair(Unlocked, Total); + + public string FormattedCompleted { get; } = FormatPair(Completed, CompletionTrackable); + + public bool IsUnlockedComplete + { + get + { + int num = ((Unlocked != Total) ? 1708914712 : 1708914713); + while (true) + { + int num2 = num; + int num3 = 1708914712; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004c; + case 1: + return Total > 0; + case 0: + return false; + } + continue; + IL_004c: + num = 1708914713; + } + } + } + + public bool IsCompletedComplete + { + get + { + int num = ((Completed != CompletionTrackable) ? (-261795205) : (-261795206)); + while (true) + { + int num2 = num; + int num3 = -261795205; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return false; + case 1: + return CompletionTrackable > 0; + case 2: + goto IL_0058; + } + continue; + IL_0058: + num = -261795206; + } + } + } + + private static readonly int PadWidth = _200B_200B_206B_202A_200D_202C_206C_202A_206A_206E_202B_206A_206B_206E_206E_206B_202A_206A_200D_200C_200C_200B_200B_202C_200D_206B_202A_202B_206F_200E_206D_202D_202A_206F_202A_202E_200B_200C_202E_206E_202E(9999.ToString(_200F_206E_202B_206B_200D_202B_202A_206D_206B_200C_206C_200D_206D_202D_200E_200C_200B_202A_200E_206A_206A_202B_202C_200C_200B_206D_202D_206C_202D_200B_206C_206A_206A_206A_202C_200C_200E_202D_202B_200C_202E())); + public DutyCounts() : this(0, 0, 0, 0) { } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static string FormatPair(int n, int d) + { + int num = ((d == 0) ? 190024114 : 190024115); + while (true) + { + int num2 = num; + int num3 = 190024114; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return _200D_200B_206A_206C_206A_206F_202E_202B_202D_202A_200D_200F_206C_202C_200E_200E_200C_200C_200F_206C_206F_200F_202C_206D_200E_200B_202A_202B_200B_206A_206D_206F_200F_200B_202C_206E_206A_202D_202E_202E_202E(_206F_202C_202E_200F_206D_200C_206D_206D_206F_200F_200C_206F_202C_206B_206A_202D_202A_206A_200D_202E_202E_200C_202B_202A_206E_206E_202E_206E_206A_202A_200C_200D_206E_206A_206F_202C_206F_206C_206D_202C_202E(global::_003CModule_003E._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(1108021570), PadWidth), global::_003CModule_003E._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(884463298), _206F_202C_202E_200F_206D_200C_206D_206D_206F_200F_200C_206F_202C_206B_206A_202D_202A_206A_200D_202E_202E_200C_202B_202A_206E_206E_202E_206E_206A_202A_200C_200D_206E_206A_206F_202C_206F_206C_206D_202C_202E(global::_003CModule_003E._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(1228468769), PadWidth)); + case 1: + return _200D_200B_206A_206C_206A_206F_202E_202B_202D_202A_200D_200F_206C_202C_200E_200E_200C_200C_200F_206C_206F_200F_202C_206D_200E_200B_202A_202B_200B_206A_206D_206F_200F_200B_202C_206E_206A_202D_202E_202E_202E(_202A_202E_200E_200D_206E_200D_200F_206A_200F_202C_200B_200E_200F_200D_206F_206B_206F_202E_206E_202C_206B_202A_200C_202A_206E_202B_200C_206B_206B_200F_202D_200C_200B_202B_206A_206F_206A_206F_202B_206E_202E(n.ToString(_200F_206E_202B_206B_200D_202B_202A_206D_206B_200C_206C_200D_206D_202D_200E_200C_200B_202A_200E_206A_206A_202B_202C_200C_200B_206D_202D_206C_202D_200B_206C_206A_206A_206A_202C_200C_200E_202D_202B_200C_202E()), PadWidth), global::_003CModule_003E._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(-242478203), _202A_202E_200E_200D_206E_200D_200F_206A_200F_202C_200B_200E_200F_200D_206F_206B_206F_202E_206E_202C_206B_202A_200C_202A_206E_202B_200C_206B_206B_200F_202D_200C_200B_202B_206A_206F_206A_206F_202B_206E_202E(d.ToString(_200F_206E_202B_206B_200D_202B_202A_206D_206B_200C_206C_200D_206D_202D_200E_200C_200B_202A_200E_206A_206A_202B_202C_200C_200B_206D_202D_206C_202D_200B_206C_206A_206A_206A_202C_200C_200E_202D_202B_200C_202E()), PadWidth)); + case 2: + goto IL_00b7; + } + continue; + IL_00b7: + num = 190024115; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_206F_202C_200B_206C_200B_202C_206C_200B_206A_200E_200D_200B_200C_200B_206A_206C_206D_202E_200C_206B_200E_200F_206D_206F_200B_202A_200D_206B_202E_202D_200C_200D_202A_200B_202D_202C_200E_200C_202C_202E(); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(stringBuilder, global::_003CModule_003E._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(1939685707)); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? 412923273 : 412923272); + while (true) + { + int num2 = num; + int num3 = 412923273; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 412923272; + break; + case 1: + _202E_206A_200B_200F_206A_200F_202D_206F_202D_202D_206A_206E_200D_202B_206F_202B_206B_206B_202C_206B_206F_202D_200F_202D_206B_200C_202E_200D_206C_200D_206F_200B_200C_206A_200B_206C_202D_206D_200B_206C_202E(stringBuilder, ' '); + num = 412923273; + break; + case 0: + _202E_206A_200B_200F_206A_200F_202D_206F_202D_202D_206A_206E_200D_202B_206F_202B_206B_206B_202C_206B_206F_202D_200F_202D_206B_200C_202E_200D_206C_200D_206F_200B_200C_206A_200B_206C_202D_206D_200B_206C_202E(stringBuilder, '}'); + return _200D_202E_206F_202E_206D_200E_202A_206E_202C_202D_206C_202E_202E_206F_206A_200F_206D_200C_206F_202C_206C_202D_206F_206B_202C_202A_206F_202B_200C_200C_202A_206D_200C_202A_206D_200D_202A_202E_200F_200F_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206B_202C_202D_200C_206E_202C_200C_206C_200B_200B_202D_206C_200C_206A_200D_206A_206D_202C_202A_200B_206C_206C_202C_206B_206D_200C_206C_202B_202A_206B_206E_200B_206A_202E_200C_206A_202E_202B_206C_200E_202E(); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, global::_003CModule_003E._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(1032517434)); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, Unlocked.ToString()); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, global::_003CModule_003E._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(-2145063714)); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, Completed.ToString()); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, global::_003CModule_003E._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(1848940060)); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, CompletionTrackable.ToString()); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, global::_003CModule_003E._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(-1905120994)); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, Total.ToString()); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, global::_003CModule_003E._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(-1602419933)); + _202A_202C_202D_206E_206D_202B_200D_206B_206A_200E_206F_202D_206E_200E_206C_202C_202C_202C_206B_206F_206C_206C_206C_206F_202A_202E_202D_200D_200C_202B_206B_200C_200B_202D_202D_202D_206E_202B_202E_202E_202E(builder, (object)FormattedUnlocked); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, global::_003CModule_003E._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(1579413017)); + _202A_202C_202D_206E_206D_202B_200D_206B_206A_200E_206F_202D_206E_200E_206C_202C_202C_202C_206B_206F_206C_206C_206C_206F_202A_202E_202D_200D_200C_202B_206B_200C_200B_202D_202D_202D_206E_202B_202E_202E_202E(builder, (object)FormattedCompleted); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, global::_003CModule_003E._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(-905427732)); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, IsUnlockedComplete.ToString()); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, global::_003CModule_003E._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(360371981)); + _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(builder, IsCompletedComplete.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(DutyCounts? other) + { + int num = (((object)this == other) ? (-651727258) : (-651727262)); + while (true) + { + int num2 = num; + int num3 = -651727263; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = ((!EqualityComparer.Default.Equals(FormattedUnlocked, other.FormattedUnlocked)) ? (-651727255) : (-651727260)); + break; + case 7: + return true; + case 2: + num = ((!_202A_206E_206D_206B_206D_200D_206A_202D_200D_202D_202D_206D_206E_206F_202B_202A_200E_202B_206B_206E_202B_202A_206D_202A_206F_206A_206E_200D_206F_202C_206A_200E_206A_206A_202D_202E_202C_200E_202A_202C_202E(EqualityContract, other.EqualityContract)) ? (-651727255) : (-651727264)); + break; + case 4: + num = -651727262; + break; + case 0: + num = ((!EqualityComparer.Default.Equals(CompletionTrackable, other.CompletionTrackable)) ? (-651727255) : (-651727256)); + break; + case 10: + num = ((!EqualityComparer.Default.Equals(Completed, other.Completed)) ? (-651727255) : (-651727263)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(Unlocked, other.Unlocked)) ? (-651727255) : (-651727253)); + break; + case 5: + return EqualityComparer.Default.Equals(FormattedCompleted, other.FormattedCompleted); + case 9: + num = ((!EqualityComparer.Default.Equals(Total, other.Total)) ? (-651727255) : (-651727257)); + break; + case 3: + num = (((object)other == null) ? (-651727255) : (-651727261)); + break; + case 8: + return false; + } + } + } + + bool IEquatable.Equals(DutyCounts? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [CompilerGenerated] + private DutyCounts(DutyCounts original) + { + Unlocked = original.Unlocked; + Completed = original.Completed; + CompletionTrackable = original.CompletionTrackable; + Total = original.Total; + FormattedUnlocked = original.FormattedUnlocked; + FormattedCompleted = original.FormattedCompleted; + } + + static Type _206A_202C_200F_200B_202C_206C_202C_200F_206E_200F_206C_202A_200D_202A_206A_206A_206F_206F_202B_202C_200F_200F_200B_200F_206A_200F_202E_206E_206E_206E_206A_202A_202E_202D_200C_206C_202A_202B_206B_206B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static CultureInfo _200F_206E_202B_206B_200D_202B_202A_206D_206B_200C_206C_200D_206D_202D_200E_200C_200B_202A_200E_206A_206A_202B_202C_200C_200B_206D_202D_206C_202D_200B_206C_206A_206A_206A_202C_200C_200E_202D_202B_200C_202E() + { + return CultureInfo.CurrentCulture; + } + + static string _202A_202E_200E_200D_206E_200D_200F_206A_200F_202C_200B_200E_200F_200D_206F_206B_206F_202E_206E_202C_206B_202A_200C_202A_206E_202B_200C_206B_206B_200F_202D_200C_200B_202B_206A_206F_206A_206F_202B_206E_202E(string P_0, int P_1) + { + return P_0.PadLeft(P_1); + } + + static string _200D_200B_206A_206C_206A_206F_202E_202B_202D_202A_200D_200F_206C_202C_200E_200E_200C_200C_200F_206C_206F_200F_202C_206D_200E_200B_202A_202B_200B_206A_206D_206F_200F_200B_202C_206E_206A_202D_202E_202E_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static string _206F_202C_202E_200F_206D_200C_206D_206D_206F_200F_200C_206F_202C_206B_206A_202D_202A_206A_200D_202E_202E_200C_202B_202A_206E_206E_202E_206E_206A_202A_200C_200D_206E_206A_206F_202C_206F_206C_206D_202C_202E(string P_0, int P_1) + { + return P_0.PadLeft(P_1); + } + + static StringBuilder _202A_206F_202C_200B_206C_200B_202C_206C_200B_206A_200E_200D_200B_200C_200B_206A_206C_206D_202E_200C_206B_200E_200F_206D_206F_200B_202A_200D_206B_202E_202D_200C_200D_202A_200B_202D_202C_200E_200C_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200E_200B_206B_200B_202B_202D_202D_200C_202D_206D_206D_202E_202D_202A_202C_202D_202E_206F_206E_202C_206C_200D_200D_200D_202A_202E_200F_206A_202C_200D_200D_200E_200B_200E_206A_206A_200F_206F_200E_206F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202E_206A_200B_200F_206A_200F_202D_206F_202D_202D_206A_206E_200D_202B_206F_202B_206B_206B_202C_206B_206F_202D_200F_202D_206B_200C_202E_200D_206C_200D_206F_200B_200C_206A_200B_206C_202D_206D_200B_206C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200D_202E_206F_202E_206D_200E_202A_206E_202C_202D_206C_202E_202E_206F_206A_200F_206D_200C_206F_202C_206C_202D_206F_206B_202C_202A_206F_202B_200C_200C_202A_206D_200C_202A_206D_200D_202A_202E_200F_200F_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206B_202C_202D_200C_206E_202C_200C_206C_200B_200B_202D_206C_200C_206A_200D_206A_206D_202C_202A_200B_206C_206C_202C_206B_206D_200C_206C_202B_202A_206B_206E_200B_206A_202E_200C_206A_202E_202B_206C_200E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202A_202C_202D_206E_206D_202B_200D_206B_206A_200E_206F_202D_206E_200E_206C_202C_202C_202C_206B_206F_206C_206C_206C_206F_202A_202E_202D_200D_200C_202B_206B_200C_200B_202D_202D_202D_206E_202B_202E_202E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202A_206E_206D_206B_206D_200D_206A_202D_200D_202D_202D_206D_206E_206F_202B_202A_200E_202B_206B_206E_202B_202A_206D_202A_206F_206A_206E_200D_206F_202C_206A_200E_206A_206A_202D_202E_202C_200E_202A_202C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + + static int _200B_200B_206B_202A_200D_202C_206C_202A_206A_206E_202B_206A_206B_206E_206E_206B_202A_206A_200D_200C_200C_200B_200B_202C_200D_206B_202A_202B_206F_200E_206D_202D_202A_206F_202A_202E_200B_200C_202E_206E_202E(string P_0) + { + return P_0.Length; + } } private readonly DutyUnlockData _dutyUnlockData; @@ -44,6 +571,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,256 +591,554 @@ internal sealed class DutyJournalComponent _logger = logger; } - public void DrawDuties() + [MethodImpl(MethodImplOptions.NoInlining)] + 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) + _202B_200D_202B_206B_202B_202C_200D_200B_200C_202B_206C_206F_202C_200B_206F_206B_202D_202E_206A_202B_200B_206F_202E_200F_202B_202B_200E_206D_206E_206F_200C_202B_202D_200D_200F_206C_200C_200C_200D_202B_202E(); + if (_flatRows.Count > 0) { - using (ImRaii.TableDisposable tableDisposable = ImRaii.Table("Duties", 3, ImGuiTableFlags.NoSavedSettings)) + IDisposable disposable = _202E_206C_200D_206E_200B_206C_202D_202E_202D_206D_200F_200D_206F_206D_206B_206C_200B_200D_200F_200C_200B_202E_206A_200F_206D_206A_202D_206F_206B_200D_206A_206D_202C_200B_200D_206D_206B_202E_206B_202D_202E(_202C_206E_200D_202A_200C_202C_206D_200E_206F_200E_206A_206A_206A_206D_206B_206C_202C_202B_200D_200C_200E_200B_202E_206F_202B_202B_200E_202A_200D_200B_200B_200F_200E_202B_202D_200E_202A_200D_206E_206C_202E(_200F_202A_200D_202A_202D_200D_202B_200F_200F_206D_206B_206D_200F_206D_200E_206C_206F_202D_206F_206B_202B_202B_200C_200D_202E_202B_202E_202B_206E_200E_202D_200E_200D_202B_202E_206E_206A_202C_200B_202C_202E(_pluginInterface))); + float x; + try { - if (!tableDisposable) + x = _200D_206F_206C_206C_206B_206C_200F_206D_206D_202E_206B_206B_206C_200B_206D_200C_200D_200D_200F_206B_200D_202D_200B_206B_206D_206F_206E_202A_202B_206D_202A_202E_200C_206A_206E_200B_200F_202A_202D_202B_202E((ImU8String)_200E_206E_202A_206A_200D_200F_206B_206B_200F_200F_202E_206F_202A_200E_206F_200F_206D_200F_202E_200E_200F_206B_202D_202B_206A_206C_206C_202B_206C_202B_206E_202E_202A_202D_200E_206D_202A_200E_200C_200E_202E(FontAwesomeIcon.Check), false, -1f).X; + } + finally + { + int num = ((disposable == null) ? (-1587807121) : (-1587807124)); + while (true) { + int num2 = num; + int num3 = -1587807122; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + goto end_IL_0077; + case 2: + _200D_202E_200C_200E_202D_200B_206F_200E_206A_206E_206B_202C_202B_206E_206F_200C_206D_200E_202A_206F_202D_200E_202C_206B_200E_200D_206B_202E_202B_202E_200B_206C_206C_202D_200F_206A_202D_202D_200D_202E(disposable); + num = -1587807121; + break; + case 0: + num = -1587807124; + break; + } + continue; + end_IL_0077: + break; + } + } + float fontGlobalScale = _202E_206A_206F_200B_206B_206D_202C_202D_206B_206F_202C_200F_202D_200C_200F_202E_202B_206B_200D_200D_200F_200B_206D_200E_206E_202B_206F_200B_202A_200C_202D_200B_202C_206D_200E_206E_200C_200B_206D_206D_202E().FontGlobalScale; + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(-1381860118), 3, ImGuiTableFlags.NoSavedSettings | ImGuiTableFlags.ScrollY); + int num = ((!(!tableDisposable)) ? (-1537769579) : (-1537769578)); + int num12 = default(int); + while (true) + { + int num7 = num; + int num3 = -1537769577; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_013a; + case 1: 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) + case 2: { - DrawCategory(filteredCategory); + _202E_206F_206F_206F_200E_206C_200D_202C_202C_200D_206D_200D_202D_202D_206A_206A_206C_200F_206F_206C_202E_200B_202D_200D_206A_200E_200D_202A_200D_206A_200D_202E_202E_200D_200D_202D_206E_200E_206F_202A_202E((ImU8String)global::_003CModule_003E._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(1033927912), ImGuiTableColumnFlags.NoHide, 0f, 0u); + _202E_206F_206F_206F_200E_206C_200D_202C_202C_200D_206D_200D_202D_202D_206A_206A_206C_200F_206F_206C_202E_200B_202D_200D_206A_200E_200D_202A_200D_206A_200D_202E_202E_200D_200D_202D_206E_200E_206F_202A_202E((ImU8String)global::_003CModule_003E._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(-761383585), ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale, 0u); + _202E_206F_206F_206F_200E_206C_200D_202C_202C_200D_206D_200D_202D_202D_206A_206A_206C_200F_206F_206C_202E_200B_202D_200D_206A_200E_200D_202A_200D_206A_200D_202E_202E_200D_200D_202D_206E_200E_206F_202A_202E((ImU8String)global::_003CModule_003E._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(504802535), ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale, 0u); + _200F_206D_202C_202B_200D_202C_200D_202B_200B_200F_200B_200F_206F_206C_206C_206D_202D_202C_206A_202A_206B_200D_200F_200F_202D_206B_206C_200B_202A_202E_202C_206A_206A_202E_200F_200C_206C_206B_202A_202E(); + float num8 = _200B_200F_200E_206B_200F_202A_200F_200B_202C_202D_206F_202D_202B_206F_206E_202B_206F_200F_200E_206F_206C_206D_202C_206A_200B_200C_206D_200B_202B_206A_206B_200D_206F_206A_200F_206B_206F_200B_206E_202A_202E(); + bool flag = false; + ImGuiListClipper* intPtr = _200C_200F_206E_206A_200D_206B_200B_206D_200D_206A_206B_202D_202B_202D_202C_206C_206C_206F_202A_206B_202C_200E_202B_206C_202A_200D_206E_200C_200F_206E_206E_200E_206D_200D_202D_206F_206F_206E_202A_200F_202E(); + _206C_200D_206F_200F_206E_200E_200C_202E_200F_206F_206C_202D_200B_206E_202E_202C_206D_200F_206B_202C_200C_206A_206E_200E_202B_206C_200E_202A_200B_200D_200E_206C_202B_202D_202A_200D_206E_200C_200E_200E_202E(intPtr, _flatRows.Count, num8); + ImGuiListClipperPtr imGuiListClipperPtr = intPtr; + try + { + num = 510030050; + while (true) + { + int num9 = num; + num3 = 510030051; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 5: + { + int num13 = num12; + num3 = 1; + num4 = num13; + num12 = (num4 | num3) + (num4 & num3); + num = 510030052; + break; + } + case 1: + num = (imGuiListClipperPtr.Step() ? 510030048 : 510030055); + break; + case 0: + num = 510030050; + break; + case 6: + flag = true; + num = 510030054; + break; + case 2: + num = ((!DrawFlatRow(_flatRows[num12], x)) ? 510030054 : 510030053); + break; + case 7: + num = ((num12 < imGuiListClipperPtr.DisplayEnd) ? 510030049 : 510030050); + break; + case 3: + num12 = imGuiListClipperPtr.DisplayStart; + num = 510030052; + break; + case 4: + goto end_IL_01e5; + } + continue; + end_IL_01e5: + break; + } + } + finally + { + imGuiListClipperPtr.Destroy(); + } + num = ((!flag) ? (-1551397696) : (-1551397693)); + while (true) + { + int num14 = num; + num3 = -1551397694; + num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) + { + case 0: + num = -1551397693; + break; + case 1: + RebuildFlatRows(); + num = -1551397696; + break; + case 2: + return; + } + } } - return; + } + continue; + IL_013a: + num = -1537769578; } } - ImGui.Text("No duties match your search."); + UiThemeUtils.EmptyState(FontAwesomeIcon.Dungeon, global::_003CModule_003E._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(-469285537)); } + [MethodImpl(MethodImplOptions.NoInlining)] + private bool DrawFlatRow(FlatRow row, float statusIconSpacing) + { + _200D_202D_200B_200E_200F_202C_200F_200C_202B_206B_202C_206E_200F_200F_200E_206C_202A_200F_200F_202D_206A_206C_202D_206C_202B_206F_206B_200D_202E_202D_206F_200D_206A_202E_206B_206B_200B_206D_206B_206D_202E(); + _206C_206A_200E_206D_200E_206B_206B_206B_206B_202B_206B_200E_202A_200D_202B_206C_202C_206C_206F_206E_202C_206E_202A_206A_202D_200C_202B_202D_200C_200D_206E_206F_202D_206C_202D_200C_200B_206D_200F_200D_202E(); + bool result = false; + int num = ((row.Type != RowType.Duty) ? (-911999900) : (-911999895)); + string text = default(string); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = -911999890; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + { + string text2 = text; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(4, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(13024905)); + defaultInterpolatedStringHandler2.AppendFormatted(row.Duty.ItemLevel); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(444206578)); + text = _206B_200C_202A_200B_200B_202D_200D_202D_200C_206F_200B_206D_200F_200F_200D_200F_202D_200B_206C_202E_206D_202B_200E_206D_202E_206E_200E_202C_206F_206E_202E_206D_202B_202E_200E_206C_206C_200B_206C_206D_202E(text2, defaultInterpolatedStringHandler2.ToStringAndClear()); + num = -911999894; + break; + } + case 7: + { + float indentSpacing = _200D_202D_202E_200E_200D_206F_202C_206B_202C_202D_206E_206A_206F_206F_200B_206F_200F_202E_200F_200C_200E_202C_206D_206C_206C_206E_200C_202A_200E_206E_200F_202C_206B_206D_202C_202B_206B_202E_206E_206A_202E().IndentSpacing; + _202E_200E_202B_200E_200B_206B_200F_202C_200F_202C_200E_206B_206A_200C_200B_200C_206E_206D_206A_206F_200D_200B_202C_202E_200C_200C_200E_200F_200E_206A_202C_202D_202A_202E_200B_200E_206D_206B_206C_200C_202E(_206D_202A_206B_206E_202C_206E_202E_200F_200E_206A_200F_200F_202A_206D_200C_200B_202E_200D_206F_200B_202C_202D_206E_206B_206B_206F_200E_202B_202E_200D_206A_200E_206E_202D_202B_206F_202B_202C_206F_202A_202E() + indentSpacing); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-926672371)); + defaultInterpolatedStringHandler.AppendFormatted(row.Duty.Level); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2018550958)); + defaultInterpolatedStringHandler.AppendFormatted(row.Duty.Name); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + num = ((row.Duty.ItemLevel <= 0) ? (-911999894) : (-911999898)); + break; + } + case 1: + DrawDutyTooltip(row.Duty); + num = -911999896; + break; + case 6: + _206C_206A_200E_206D_200E_206B_206B_206B_206B_202B_206B_200E_202A_200D_202B_206C_202C_206C_206F_206E_202C_206E_202A_206A_202D_200C_202B_202D_200C_200D_206E_206F_202D_206C_202D_200C_200B_206D_200F_200D_202E(); + DrawDutyStatus(row.Duty.IsUnlocked, statusIconSpacing); + _206C_206A_200E_206D_200E_206B_206B_206B_206B_202B_206B_200E_202A_200D_202B_206C_202C_206C_206F_206E_202C_206E_202A_206A_202D_200C_202B_202D_200C_200D_206E_206F_202D_206C_202D_200C_200B_206D_200F_200D_202E(); + DrawDutyStatus(row.Duty.IsCompleted, statusIconSpacing); + num = -911999899; + break; + case 9: + _expandedGroups.Remove(row.Label); + num = -911999902; + break; + case 2: + num = -911999895; + break; + case 0: + _206C_206A_200E_206D_200E_206B_206B_206B_206B_202B_206B_200E_202A_200D_202B_206C_202C_206C_206F_206E_202C_206E_202A_206A_202D_200C_202B_202D_200C_200D_206E_206F_202D_206C_202D_200C_200B_206D_200F_200D_202E(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedUnlocked, row.Counts.IsUnlockedComplete, row.Counts.Total == 0); + _206C_206A_200E_206D_200E_206B_206B_206B_206B_202B_206B_200E_202A_200D_202B_206C_202C_206C_206F_206E_202C_206E_202A_206A_202D_200C_202B_202D_200C_200D_206E_206F_202D_206C_202D_200C_200B_206D_200F_200D_202E(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedCompleted, row.Counts.IsCompletedComplete, row.Counts.CompletionTrackable == 0); + num = -911999899; + break; + case 5: + _expandedGroups.Add(row.Label); + num = -911999902; + break; + case 3: + num = ((!flag) ? (-911999893) : (-911999897)); + break; + case 10: + { + flag = _expandedGroups.Contains(row.Label); + UiThemeUtils.DrawTrackerGroupCaret(_202C_206E_200D_202A_200C_202C_206D_200E_206F_200E_206A_206A_206A_206D_206B_206C_202C_202B_200D_200C_200E_200B_202E_206F_202B_202B_200E_202A_200D_200B_200B_200F_200E_202B_202D_200E_202A_200D_206E_206C_202E(_200F_202A_200D_202A_202D_200D_202B_200F_200F_206D_206B_206D_200F_206D_200E_206C_206F_202D_206F_206B_202B_202B_200C_200D_202E_202B_202E_202B_206E_200E_202D_200E_200D_202B_202E_206E_206A_202C_200B_202C_202E(_pluginInterface)), flag); + _200B_202A_200D_200C_200D_202C_202B_206A_206C_200C_200C_206E_206A_200C_202C_206D_202B_206F_206E_206E_202B_200B_206F_200D_206E_202B_202A_202B_206D_200D_202C_200F_200D_200D_202E_200E_200F_206B_200C_202A_202E(); + ImU8String imU8String = new ImU8String(5, 2); + imU8String.AppendFormatted(row.Label); + imU8String.AppendLiteral(global::_003CModule_003E._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(169207648)); + imU8String.AppendFormatted(row.GroupIndex); + num = ((!_200E_206B_206C_200C_202C_202A_202D_200F_202B_200E_206A_200F_200B_202A_202C_206D_202D_202D_206A_206E_202B_206A_206F_206B_202C_202B_202C_206A_206D_206A_202D_202B_200C_206D_202B_202D_206D_202A_200F_202C_202E(imU8String, false, ImGuiSelectableFlags.None, default(Vector2))) ? (-911999890) : (-911999891)); + break; + } + case 12: + result = true; + num = -911999890; + break; + case 4: + _206A_200F_202C_202B_206B_200B_202D_202B_206B_202C_206B_200E_200C_202C_206B_200B_202A_206A_206A_200D_206C_202C_200D_200B_206C_206D_206E_206D_200F_206C_200E_200E_206B_202B_202B_202C_202A_206E_206D_202E_202E((ImU8String)text, ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.SpanFullWidth, default(ImU8String)); + num = ((!_202E_202A_202E_202A_200B_200F_206E_200E_202D_202C_206C_200D_202D_206F_200E_200B_200B_202E_200B_202E_206F_200B_202C_200F_202D_200C_200E_206D_206A_200F_206A_206F_206D_206B_202E_206B_206D_202D_200D_200D_202E()) ? (-911999896) : (-911999889)); + break; + case 11: + return result; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawFilterControls() { - if (ImGui.Checkbox("Locked Only", ref _showLockedOnly)) + float x = _200D_202D_202E_200E_200D_206F_202C_206B_202C_202D_206E_206A_206F_206F_200B_206F_200F_202E_200F_200C_200E_202C_206D_206C_206C_206E_200C_202A_200E_206E_200F_202C_206B_206D_202C_202B_206B_202E_206E_206A_202E().ItemSpacing.X; + float num = 2f * _202D_206A_200C_202A_206D_206E_200B_206F_206D_200D_200E_200C_206D_206E_200F_200C_202D_202A_202D_206D_206D_206D_200F_206F_202B_206F_202A_206C_200E_200C_202A_202B_206F_202D_206A_202C_206A_202A_202B_202C_202E() + _200D_206F_206C_206C_206B_206C_200F_206D_206D_202E_206B_206B_206C_200B_206D_200C_200D_200D_200F_206B_200D_202D_200B_206B_206D_206F_206E_202A_202B_206D_202A_202E_200C_206A_206E_200B_200F_202A_202D_202B_202E((ImU8String)global::_003CModule_003E._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(2070955121), false, -1f).X + _200D_206F_206C_206C_206B_206C_200F_206D_206D_202E_206B_206B_206C_200B_206D_200C_200D_200D_200F_206B_200D_202D_200B_206B_206D_206F_206E_202A_202B_206D_202A_202E_200C_206A_206E_200B_200F_202A_202D_202B_202E((ImU8String)global::_003CModule_003E._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(-1106626027), false, -1f).X + 5f * x; + int num2 = ((!UiThemeUtils.SearchInput(global::_003CModule_003E._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(-872174829), ref _searchText, 0f - num, global::_003CModule_003E._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(-1459019774))) ? 92816374 : 92816372); + while (true) { - if (_showLockedOnly) + int num3 = num2; + int num4 = 92816373; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) { + case 10: + return; + case 3: + _200B_202A_200D_200C_200D_202C_202B_206A_206C_200C_200C_206E_206A_200C_202C_206D_202B_206F_206E_206E_202B_200B_206F_200D_206E_202B_202A_202B_206D_200D_202C_200F_200D_200D_202E_200E_200F_206B_200C_202A_202E(); + num2 = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(2002129860), ref _showLockedOnly)) ? 92816370 : 92816380); + break; + case 4: + num2 = ((!_showUnlockedOnly) ? 92816381 : 92816371); + break; + case 0: _showUnlockedOnly = false; - } - UpdateFilter(); - } - ImGui.SameLine(); - if (ImGui.Checkbox("Unlocked Only", ref _showUnlockedOnly)) - { - if (_showUnlockedOnly) - { + num2 = 92816368; + break; + case 5: + UpdateFilter(); + num2 = 92816370; + break; + case 6: _showLockedOnly = false; + num2 = 92816381; + break; + case 9: + num2 = ((!_showLockedOnly) ? 92816368 : 92816373); + break; + case 8: + UpdateFilter(); + num2 = 92816383; + break; + case 7: + _200B_202A_200D_200C_200D_202C_202B_206A_206C_200C_200C_206E_206A_200C_202C_206D_202B_206F_206E_206E_202B_200B_206F_200D_206E_202B_202A_202B_206D_200D_202C_200F_200D_200D_202E_200E_200F_206B_200C_202A_202E(); + num2 = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-1060377567), ref _showUnlockedOnly)) ? 92816383 : 92816369); + break; + case 1: + UpdateFilter(); + num2 = 92816374; + break; + case 2: + num2 = 92816372; + break; } - 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); - } - + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawDutyTooltip(DutyInfo duty) { - using ImRaii.TooltipDisposable tooltipDisposable = ImRaii.Tooltip(); - if (!tooltipDisposable.Alive) + using ImRaii.TooltipDisposable tooltipDisposable = _202D_200F_206D_206C_200E_202E_200E_206E_206C_202C_200D_206C_200B_200B_200D_200D_202A_206E_200C_206E_206B_200E_206B_206F_206F_200C_202E_200D_206A_202C_206D_206B_200D_200B_206E_206E_200B_200F_206C_200F_202E(); + int num = (tooltipDisposable.Alive ? (-1982852974) : (-1982852965)); + QuestId current = default(QuestId); + IQuestInfo questInfo = default(IQuestInfo); + while (true) { - return; - } - ImGui.TextColored(ImGuiColors.DalamudWhite, duty.Name); - Vector4 col = ImGuiColors.DalamudGrey; - ImU8String text = new ImU8String(12, 1); - text.AppendLiteral("Content ID: "); - text.AppendFormatted(duty.ContentFinderConditionId); - ImGui.TextColored(in col, text); - ImGui.Separator(); - ImU8String text2 = new ImU8String(16, 1); - text2.AppendLiteral("Level Required: "); - text2.AppendFormatted(duty.Level); - ImGui.Text(text2); - if (duty.ItemLevel > 0) - { - ImU8String text3 = new ImU8String(21, 1); - text3.AppendLiteral("Item Level Required: "); - text3.AppendFormatted(duty.ItemLevel); - ImGui.Text(text3); - } - ImU8String text4 = new ImU8String(6, 1); - text4.AppendLiteral("Type: "); - text4.AppendFormatted(duty.ContentTypeName); - ImGui.Text(text4); - if (duty.IsHighEndDuty) - { - ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudOrange, "(High-End)"); - } - ImGui.Separator(); - if (duty.IsUnlocked) - { - ImGui.TextColored(ImGuiColors.ParsedGreen, "Status: Unlocked"); - } - else - { - ImGui.TextColored(ImGuiColors.DalamudRed, "Status: Locked"); - } - if (duty.UnlockQuests.Count > 0) - { - ImGui.Separator(); - ImGui.Text("Unlock Quest(s):"); + int num2 = num; + int num3 = -1982852974; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - foreach (QuestId unlockQuest in duty.UnlockQuests) + case 4: + _206D_200D_202B_206F_200D_202E_202D_200B_200B_202A_206F_202D_202B_200F_206B_206F_202D_200E_206B_200E_206E_206B_200C_202D_206F_206D_206B_206B_200D_206B_200B_200F_200D_206F_200F_206E_206C_200B_202E_206F_202E(ref UiThemeUtils.StatusLocked, (ImU8String)global::_003CModule_003E._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(-2074321662)); + num = -1982852968; + break; + case 10: + if (duty.UnlockQuests.Count > 0) { - if (_questData.TryGetQuestInfo(unlockQuest, out IQuestInfo questInfo)) + num = -1982852971; + break; + } + _202B_200D_202B_206B_202B_202C_200D_200B_200C_202B_206C_206F_202C_200B_206F_206B_202D_202E_206A_202B_200B_206F_202E_200F_202B_202B_200E_206D_206E_206F_200C_202B_202D_200D_200F_206C_200C_200C_200D_202B_202E(); + _206D_200D_202B_206F_200D_202E_202D_200B_200B_202A_206F_202D_202B_200F_206B_206F_202D_200E_206B_200E_206E_206B_200C_202D_206F_206D_206B_206B_200D_206B_200B_200F_200D_206F_200F_206E_206C_200B_202E_206F_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(617607988)); + return; + case 6: + { + ImU8String imU8String2 = new ImU8String(6, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-725035009)); + imU8String2.AppendFormatted(duty.ContentTypeName); + _202E_202C_206F_206C_202D_200F_206F_206A_206E_200F_202E_202D_202A_200E_200E_200B_200D_206F_206E_200F_200D_200B_206C_202A_202D_202A_202A_202E_202C_202B_202D_202E_200C_206B_206A_206E_206D_200B_206C_200F_202E(imU8String2); + num = ((!duty.IsHighEndDuty) ? (-1982852973) : (-1982852969)); + break; + } + case 2: + num = -1982852965; + break; + case 0: + { + _206D_200D_202B_206F_200D_202E_202D_200B_200B_202A_206F_202D_202B_200F_206B_206F_202D_200E_206B_200E_206E_206B_200C_202D_206F_206D_206B_206B_200D_206B_200B_200F_200D_206F_200F_206E_206C_200B_202E_206F_202E(ref UiThemeUtils.PrimaryTextColor, (ImU8String)duty.Name); + ImU8String imU8String3 = new ImU8String(12, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(1747964260)); + imU8String3.AppendFormatted(duty.ContentFinderConditionId); + _206D_200D_202B_206F_200D_202E_202D_200B_200B_202A_206F_202D_202B_200F_206B_206F_202D_200E_206B_200E_206E_206B_200C_202D_206F_206D_206B_206B_200D_206B_200B_200F_200D_206F_200F_206E_206C_200B_202E_206F_202E(ref UiThemeUtils.DimTextColor, imU8String3); + _202B_200D_202B_206B_202B_202C_200D_200B_200C_202B_206C_206F_202C_200B_206F_206B_202D_202E_206A_202B_200B_206F_202E_200F_202B_202B_200E_206D_206E_206F_200C_202B_202D_200D_200F_206C_200C_200C_200D_202B_202E(); + ImU8String imU8String4 = new ImU8String(16, 1); + imU8String4.AppendLiteral(global::_003CModule_003E._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(-1265596933)); + imU8String4.AppendFormatted(duty.Level); + _202E_202C_206F_206C_202D_200F_206F_206A_206E_200F_202E_202D_202A_200E_200E_200B_200D_206F_206E_200F_200D_200B_206C_202A_202D_202A_202A_202E_202C_202B_202D_202E_200C_206B_206A_206E_206D_200B_206C_200F_202E(imU8String4); + num = ((duty.ItemLevel <= 0) ? (-1982852972) : (-1982852966)); + break; + } + case 1: + _202B_200D_202B_206B_202B_202C_200D_200B_200C_202B_206C_206F_202C_200B_206F_206B_202D_202E_206A_202B_200B_206F_202E_200F_202B_202B_200E_206D_206E_206F_200C_202B_202D_200D_200F_206C_200C_200C_200D_202B_202E(); + num = ((!duty.IsUnlocked) ? (-1982852970) : (-1982852975)); + break; + case 3: + _206D_200D_202B_206F_200D_202E_202D_200B_200B_202A_206F_202D_202B_200F_206B_206F_202D_200E_206B_200E_206E_206B_200C_202D_206F_206D_206B_206B_200D_206B_200B_200F_200D_206F_200F_206E_206C_200B_202E_206F_202E(ref UiThemeUtils.StatusComplete, (ImU8String)global::_003CModule_003E._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(-194010955)); + num = -1982852968; + break; + case 5: + _200B_202A_200D_200C_200D_202C_202B_206A_206C_200C_200C_206E_206A_200C_202C_206D_202B_206F_206E_206E_202B_200B_206F_200D_206E_202B_202A_202B_206D_200D_202C_200F_200D_200D_202E_200E_200F_206B_200C_202A_202E(); + _206D_200D_202B_206F_200D_202E_202D_200B_200B_202A_206F_202D_202B_200F_206B_206F_202D_200E_206B_200E_206E_206B_200C_202D_206F_206D_206B_206B_200D_206B_200B_200F_200D_206F_200F_206E_206C_200B_202E_206F_202E(ref UiThemeUtils.StatusActive, (ImU8String)global::_003CModule_003E._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(1344637510)); + num = -1982852973; + break; + case 8: + { + ImU8String imU8String = new ImU8String(21, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(755322802)); + imU8String.AppendFormatted(duty.ItemLevel); + _202E_202C_206F_206C_202D_200F_206F_206A_206E_200F_202E_202D_202A_200E_200E_200B_200D_206F_206E_200F_200D_200B_206C_202A_202D_202A_202A_202E_202C_202B_202D_202E_200C_206B_206A_206E_206D_200B_206C_200F_202E(imU8String); + num = -1982852972; + break; + } + case 9: + return; + case 7: + { + _202B_200D_202B_206B_202B_202C_200D_200B_200C_202B_206C_206F_202C_200B_206F_206B_202D_202E_206A_202B_200B_206F_202E_200F_202B_202B_200E_206D_206E_206F_200C_202B_202D_200D_200F_206C_200C_200C_200D_202B_202E(); + _202E_202C_206F_206C_202D_200F_206F_206A_206E_200F_202E_202D_202A_200E_200E_200B_200D_206F_206E_200F_200D_200B_206C_202A_202D_202A_202A_202E_202C_202B_202D_202E_200C_206B_206A_206E_206D_200B_206C_200F_202E((ImU8String)global::_003CModule_003E._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(1947459577)); + using ImmutableList.Enumerator enumerator = duty.UnlockQuests.GetEnumerator(); + num = -517590375; + while (true) + { + int num7 = num; + num3 = -517590376; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) { - var (color, icon, _) = _uiUtils.GetQuestStyle(unlockQuest); - _uiUtils.ChecklistItem($"{questInfo.Name} ({unlockQuest})", color, icon); + case 2: + num = -517590375; + break; + case 4: + { + UiUtils uiUtils2 = _uiUtils; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(16, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(76120943)); + defaultInterpolatedStringHandler2.AppendFormatted(current); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1735737295)); + uiUtils2.ChecklistItem(defaultInterpolatedStringHandler2.ToStringAndClear(), UiThemeUtils.StatusUnobtainable, FontAwesomeIcon.Question); + num = -517590375; + break; } - else + case 0: { - _uiUtils.ChecklistItem($"Unknown Quest ({unlockQuest})", ImGuiColors.DalamudGrey, FontAwesomeIcon.Question); + (Vector4 Color, FontAwesomeIcon Icon, string Status) questStyle = _uiUtils.GetQuestStyle(current); + Vector4 item = questStyle.Color; + FontAwesomeIcon item2 = questStyle.Icon; + UiUtils uiUtils = _uiUtils; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2); + defaultInterpolatedStringHandler.AppendFormatted(questInfo.Name); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1495931675)); + defaultInterpolatedStringHandler.AppendFormatted(current); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1618480346)); + uiUtils.ChecklistItem(defaultInterpolatedStringHandler.ToStringAndClear(), item, item2); + num = -517590375; + break; + } + case 1: + num = (enumerator.MoveNext() ? (-517590373) : (-517590371)); + break; + case 3: + current = enumerator.Current; + num = ((!_questData.TryGetQuestInfo(current, out questInfo)) ? (-517590372) : (-517590376)); + break; + case 5: + return; } } + } + } + } + } + + private void DrawDutyStatus(bool? status, float statusIconSpacing) + { + float num = _206C_206B_206D_206D_202C_206F_200D_202A_202D_202D_202A_202A_200F_206E_202E_206C_202B_202A_202C_200C_206B_200F_206C_202E_206E_206D_206B_200D_200E_202A_200C_206F_206A_200F_206F_202A_206D_200C_206E_202E() / 2f - statusIconSpacing; + _202E_200E_202B_200E_200B_206B_200F_202C_200F_202C_200E_206B_206A_200C_200B_200C_206E_206D_206A_206F_200D_200B_202C_202E_200C_200C_200E_200F_200E_206A_202C_202D_202A_202E_200B_200E_206D_206B_206C_200C_202E(_206D_202A_206B_206E_202C_206E_202E_200F_200E_206A_200F_200F_202A_206D_200C_200B_202E_200D_206F_200B_202C_202D_206E_206B_206B_206F_200E_202B_202E_200D_206A_200E_206E_202D_202B_206F_202B_202C_206F_202A_202E() + num); + int num2 = (status.HasValue ? 1147629739 : 1147629738); + while (true) + { + int num3 = num2; + int num4 = 1147629739; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = 1147629738; + break; + case 4: + _uiUtils.ChecklistItem(string.Empty, UiThemeUtils.StatusLocked, FontAwesomeIcon.Times); + return; + case 0: + num2 = ((!status.Value) ? 1147629743 : 1147629736); + break; + case 3: + _uiUtils.ChecklistItem(string.Empty, UiThemeUtils.StatusComplete, FontAwesomeIcon.Check); + return; + case 1: + _uiUtils.ChecklistItem(string.Empty, UiThemeUtils.StatusUnobtainable, FontAwesomeIcon.Minus); return; } } - ImGui.Separator(); - ImGui.TextColored(ImGuiColors.DalamudGrey, "No unlock quest data available."); } - private void DrawDutyStatus(bool? status) + private void RebuildFlatRows() { - float num; - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + List list = new List(); + foreach (DutyCategory filteredCategory in _filteredCategories) { - num = ImGui.GetColumnWidth() / 2f - ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X; - } - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); - if (!status.HasValue) - { - _uiUtils.ChecklistItem(string.Empty, ImGuiColors.DalamudGrey, FontAwesomeIcon.Minus); - } - else if (status.Value) - { - _uiUtils.ChecklistItem(string.Empty, ImGuiColors.ParsedGreen, FontAwesomeIcon.Check); - } - else - { - _uiUtils.ChecklistItem(string.Empty, ImGuiColors.DalamudRed, FontAwesomeIcon.Times); - } - } - - private static void DrawCount(int count, int total) - { - string text = 9999.ToString(CultureInfo.CurrentCulture); - ImGui.PushFont(UiBuilder.MonoFont); - if (total == 0) - { - 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; + } + using List.Enumerator enumerator2 = filteredCategory.Duties.GetEnumerator(); + int num = 844311653; + while (true) + { + int num2 = num; + int num3 = 844311652; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 844311653; + break; + case 1: + num = (enumerator2.MoveNext() ? 844311654 : 844311652); + break; + case 2: + { + DutyInfo current2 = enumerator2.Current; + list.Add(new FlatRow(RowType.Duty, 0, current2, string.Empty, new DutyCounts())); + num = 844311653; + break; + } + case 0: + goto end_IL_0085; + } + continue; + end_IL_0085: + break; } } - ImGui.PopFont(); + _flatRows = list; } + [MethodImpl(MethodImplOptions.NoInlining)] public void UpdateFilter() { List list = new List(); - AddCategory(list, "Dungeons", _dutyUnlockData.GetDungeons()); - AddCategory(list, "Hard Dungeons", _dutyUnlockData.GetHardDungeons()); - AddCategory(list, "Guildhests", _dutyUnlockData.GetGuildhests()); - AddCategory(list, "Trials", _dutyUnlockData.GetTrials()); - AddCategory(list, "Hard Trials", _dutyUnlockData.GetHardTrials()); - AddCategory(list, "Extreme Trials", _dutyUnlockData.GetExtremeTrials()); - AddCategory(list, "Unreal Trials", _dutyUnlockData.GetUnrealTrials()); - AddCategory(list, "Normal Raids", _dutyUnlockData.GetNormalRaids()); - AddCategory(list, "Savage Raids", _dutyUnlockData.GetSavageRaids()); - AddCategory(list, "Alliance Raids", _dutyUnlockData.GetAllianceRaids()); - AddCategory(list, "Chaotic Alliance Raids", _dutyUnlockData.GetChaoticAllianceRaids()); - AddCategory(list, "Ultimate Raids", _dutyUnlockData.GetUltimateRaids()); - AddCategory(list, "Deep Dungeons", _dutyUnlockData.GetDeepDungeons()); - AddCategory(list, "Variant Dungeons", _dutyUnlockData.GetVariantDungeons()); - AddCategory(list, "Criterion Dungeons", _dutyUnlockData.GetCriterionDungeons()); - AddCategory(list, "Criterion Savage", _dutyUnlockData.GetCriterionSavageDungeons()); + AddCategory(list, global::_003CModule_003E._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(1287674180), _dutyUnlockData.GetDungeons()); + AddCategory(list, global::_003CModule_003E._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(-937690516), _dutyUnlockData.GetHardDungeons()); + AddCategory(list, global::_003CModule_003E._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(-2127926072), _dutyUnlockData.GetGuildhests()); + AddCategory(list, global::_003CModule_003E._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(-206619432), _dutyUnlockData.GetTrials()); + AddCategory(list, global::_003CModule_003E._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(-115053428), _dutyUnlockData.GetHardTrials()); + AddCategory(list, global::_003CModule_003E._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(-1436204647), _dutyUnlockData.GetExtremeTrials()); + AddCategory(list, global::_003CModule_003E._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(1230911397), _dutyUnlockData.GetUnrealTrials()); + AddCategory(list, global::_003CModule_003E._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(-2019601302), _dutyUnlockData.GetNormalRaids()); + AddCategory(list, global::_003CModule_003E._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(2018627659), _dutyUnlockData.GetSavageRaids()); + AddCategory(list, global::_003CModule_003E._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(1360633849), _dutyUnlockData.GetAllianceRaids()); + AddCategory(list, global::_003CModule_003E._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(870993943), _dutyUnlockData.GetChaoticAllianceRaids()); + AddCategory(list, global::_003CModule_003E._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(1100628143), _dutyUnlockData.GetUltimateRaids()); + AddCategory(list, global::_003CModule_003E._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(835919746), _dutyUnlockData.GetDeepDungeons()); + AddCategory(list, global::_003CModule_003E._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(-2078008528), _dutyUnlockData.GetVariantDungeons()); + AddCategory(list, global::_003CModule_003E._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(1259422192), _dutyUnlockData.GetCriterionDungeons()); + AddCategory(list, global::_003CModule_003E._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(788017766), _dutyUnlockData.GetCriterionSavageDungeons()); _filteredCategories = list.Where((DutyCategory c) => c.Duties.Count > 0).ToList(); RefreshCounts(); + RebuildFlatRows(); } private void AddCategory(List categories, string name, IEnumerable duties) @@ -318,52 +1147,295 @@ internal sealed class DutyJournalComponent where MatchesFilter(d) orderby d.Level, d.ItemLevel, d.ContentFinderConditionId select d).ToList(); - if (list.Count > 0) + int num = ((list.Count <= 0) ? (-1138690258) : (-1138690257)); + while (true) { - categories.Add(new DutyCategory(name, list)); + int num2 = num; + int num3 = -1138690258; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return; + case 1: + categories.Add(new DutyCategory(name, list)); + num = -1138690258; + break; + case 2: + num = -1138690257; + break; + } } } private bool MatchesFilter(DutyInfo duty) { - if (!string.IsNullOrEmpty(_searchText) && !duty.Name.Contains(_searchText, StringComparison.OrdinalIgnoreCase)) + int num = (_206B_200F_200B_206D_200C_202D_206B_200E_206F_206D_200C_202A_206C_202C_200C_206C_206F_206D_202E_202C_206B_200F_200F_200D_206E_202D_206A_206E_202A_206C_206B_202E_202B_206D_200B_200E_202A_200D_206D_200E_202E(_searchText) ? 1918787153 : 1918787152); + while (true) { - return false; + int num2 = num; + int num3 = 1918787159; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = ((!duty.IsUnlocked) ? 1918787157 : 1918787154); + break; + case 1: + return false; + case 6: + num = ((!_showLockedOnly) ? 1918787157 : 1918787156); + break; + case 4: + return false; + case 8: + num = (duty.IsUnlocked ? 1918787159 : 1918787155); + break; + case 2: + num = ((!_showUnlockedOnly) ? 1918787159 : 1918787167); + break; + case 0: + return true; + case 5: + return false; + case 7: + num = (_200F_200C_202D_202B_202D_202E_202A_200E_206A_200D_202D_202C_206E_200C_206C_200E_206F_206F_202A_200C_202B_202B_200C_206E_200D_202E_206D_202E_202B_202B_206C_200B_206A_206A_206E_206C_202E_206E_206B_206C_202E(duty.Name, _searchText, StringComparison.OrdinalIgnoreCase) ? 1918787153 : 1918787158); + break; + case 9: + num = 1918787152; + break; + } } - if (_showLockedOnly && duty.IsUnlocked) - { - return false; - } - if (_showUnlockedOnly && !duty.IsUnlocked) - { - return false; - } - return true; } public void RefreshCounts() { _categoryCounts.Clear(); - foreach (DutyCategory filteredCategory in _filteredCategories) + using (List.Enumerator enumerator = _filteredCategories.GetEnumerator()) { - int unlocked = filteredCategory.Duties.Count((DutyInfo d) => d.IsUnlocked); - int completed = filteredCategory.Duties.Count((DutyInfo d) => d.IsCompleted == true); - int completionTrackable = filteredCategory.Duties.Count((DutyInfo d) => d.IsCompleted.HasValue); - int count = filteredCategory.Duties.Count; - _categoryCounts[filteredCategory.Name] = new DutyCounts(unlocked, completed, completionTrackable, count); + int num = 1539315091; + while (true) + { + int num2 = num; + int num3 = 1539315088; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = (enumerator.MoveNext() ? 1539315089 : 1539315088); + break; + case 1: + { + DutyCategory current = enumerator.Current; + int unlocked = current.Duties.Count((DutyInfo d) => d.IsUnlocked); + int completed = current.Duties.Count((DutyInfo d) => d.IsCompleted == true); + int completionTrackable = current.Duties.Count((DutyInfo d) => d.IsCompleted.HasValue); + int count = current.Duties.Count; + _categoryCounts[current.Name] = new DutyCounts(unlocked, completed, completionTrackable, count); + num = 1539315091; + break; + } + case 2: + num = 1539315091; + break; + case 0: + goto end_IL_0023; + } + continue; + end_IL_0023: + break; + } } + RebuildFlatRows(); } public void ClearCounts(int type, int code) { - foreach (string item in _categoryCounts.Keys.ToList()) + using (List.Enumerator enumerator = _categoryCounts.Keys.ToList().GetEnumerator()) { - _categoryCounts[item] = _categoryCounts[item]with + int num = 279885653; + while (true) { - Unlocked = 0, - Completed = 0, - CompletionTrackable = 0 - }; + int num2 = num; + int num3 = 279885654; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 279885653; + break; + case 3: + num = (enumerator.MoveNext() ? 279885652 : 279885655); + break; + case 2: + { + string current = enumerator.Current; + _categoryCounts[current] = new DutyCounts(0, 0, 0, _categoryCounts[current].Total); + num = 279885653; + break; + } + case 1: + goto end_IL_0021; + } + continue; + end_IL_0021: + break; + } } + RebuildFlatRows(); + } + + static void _202B_200D_202B_206B_202B_202C_200D_200B_200C_202B_206C_206F_202C_200B_206F_206B_202D_202E_206A_202B_200B_206F_202E_200F_202B_202B_200E_206D_206E_206F_200C_202B_202D_200D_200F_206C_200C_200C_200D_202B_202E() + { + ImGui.Separator(); + } + + static IUiBuilder _200F_202A_200D_202A_202D_200D_202B_200F_200F_206D_206B_206D_200F_206D_200E_206C_206F_202D_206F_206B_202B_202B_200C_200D_202E_202B_202E_202B_206E_200E_202D_200E_200D_202B_202E_206E_206A_202C_200B_202C_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _202C_206E_200D_202A_200C_202C_206D_200E_206F_200E_206A_206A_206A_206D_206B_206C_202C_202B_200D_200C_200E_200B_202E_206F_202B_202B_200E_202A_200D_200B_200B_200F_200E_202B_202D_200E_202A_200D_206E_206C_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _202E_206C_200D_206E_200B_206C_202D_202E_202D_206D_200F_200D_206F_206D_206B_206C_200B_200D_200F_200C_200B_202E_206A_200F_206D_206A_202D_206F_206B_200D_206A_206D_202C_200B_200D_206D_206B_202E_206B_202D_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static string _200E_206E_202A_206A_200D_200F_206B_206B_200F_200F_202E_206F_202A_200E_206F_200F_206D_200F_202E_200E_200F_206B_202D_202B_206A_206C_206C_202B_206C_202B_206E_202E_202A_202D_200E_206D_202A_200E_200C_200E_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _200D_206F_206C_206C_206B_206C_200F_206D_206D_202E_206B_206B_206C_200B_206D_200C_200D_200D_200F_206B_200D_202D_200B_206B_206D_206F_206E_202A_202B_206D_202A_202E_200C_206A_206E_200B_200F_202A_202D_202B_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static void _200D_202E_200C_200E_202D_200B_206F_200E_206A_206E_206B_202C_202B_206E_206F_200C_206D_200E_202A_206F_202D_200E_202C_206B_200E_200D_206B_202E_202B_202E_200B_206C_206C_202D_200F_206A_202D_202D_200D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ImGuiIOPtr _202E_206A_206F_200B_206B_206D_202C_202D_206B_206F_202C_200F_202D_200C_200F_202E_202B_206B_200D_200D_200F_200B_206D_200E_206E_202B_206F_200B_202A_200C_202D_200B_202C_206D_200E_206E_200C_200B_206D_206D_202E() + { + return ImGui.GetIO(); + } + + static void _202E_206F_206F_206F_200E_206C_200D_202C_202C_200D_206D_200D_202D_202D_206A_206A_206C_200F_206F_206C_202E_200B_202D_200D_206A_200E_200D_202A_200D_206A_200D_202E_202E_200D_200D_202D_206E_200E_206F_202A_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static void _200F_206D_202C_202B_200D_202C_200D_202B_200B_200F_200B_200F_206F_206C_206C_206D_202D_202C_206A_202A_206B_200D_200F_200F_202D_206B_206C_200B_202A_202E_202C_206A_206A_202E_200F_200C_206C_206B_202A_202E() + { + ImGui.TableHeadersRow(); + } + + static float _200B_200F_200E_206B_200F_202A_200F_200B_202C_202D_206F_202D_202B_206F_206E_202B_206F_200F_200E_206F_206C_206D_202C_206A_200B_200C_206D_200B_202B_206A_206B_200D_206F_206A_200F_206B_206F_200B_206E_202A_202E() + { + return ImGui.GetTextLineHeightWithSpacing(); + } + + unsafe static ImGuiListClipper* _200C_200F_206E_206A_200D_206B_200B_206D_200D_206A_206B_202D_202B_202D_202C_206C_206C_206F_202A_206B_202C_200E_202B_206C_202A_200D_206E_200C_200F_206E_206E_200E_206D_200D_202D_206F_206F_206E_202A_200F_202E() + { + return ImGuiNative.ImGuiListClipper(); + } + + unsafe static void _206C_200D_206F_200F_206E_200E_200C_202E_200F_206F_206C_202D_200B_206E_202E_202C_206D_200F_206B_202C_200C_206A_206E_200E_202B_206C_200E_202A_200B_200D_200E_206C_202B_202D_202A_200D_206E_200C_200E_200E_202E(ImGuiListClipper* P_0, int P_1, float P_2) + { + ImGuiNative.Begin(P_0, P_1, P_2); + } + + static void _200D_202D_200B_200E_200F_202C_200F_200C_202B_206B_202C_206E_200F_200F_200E_206C_202A_200F_200F_202D_206A_206C_202D_206C_202B_206F_206B_200D_202E_202D_206F_200D_206A_202E_206B_206B_200B_206D_206B_206D_202E() + { + ImGui.TableNextRow(); + } + + static bool _206C_206A_200E_206D_200E_206B_206B_206B_206B_202B_206B_200E_202A_200D_202B_206C_202C_206C_206F_206E_202C_206E_202A_206A_202D_200C_202B_202D_200C_200D_206E_206F_202D_206C_202D_200C_200B_206D_200F_200D_202E() + { + return ImGui.TableNextColumn(); + } + + static ImGuiStylePtr _200D_202D_202E_200E_200D_206F_202C_206B_202C_202D_206E_206A_206F_206F_200B_206F_200F_202E_200F_200C_200E_202C_206D_206C_206C_206E_200C_202A_200E_206E_200F_202C_206B_206D_202C_202B_206B_202E_206E_206A_202E() + { + return ImGui.GetStyle(); + } + + static float _206D_202A_206B_206E_202C_206E_202E_200F_200E_206A_200F_200F_202A_206D_200C_200B_202E_200D_206F_200B_202C_202D_206E_206B_206B_206F_200E_202B_202E_200D_206A_200E_206E_202D_202B_206F_202B_202C_206F_202A_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _202E_200E_202B_200E_200B_206B_200F_202C_200F_202C_200E_206B_206A_200C_200B_200C_206E_206D_206A_206F_200D_200B_202C_202E_200C_200C_200E_200F_200E_206A_202C_202D_202A_202E_200B_200E_206D_206B_206C_200C_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static string _206B_200C_202A_200B_200B_202D_200D_202D_200C_206F_200B_206D_200F_200F_200D_200F_202D_200B_206C_202E_206D_202B_200E_206D_202E_206E_200E_202C_206F_206E_202E_206D_202B_202E_200E_206C_206C_200B_206C_206D_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _206A_200F_202C_202B_206B_200B_202D_202B_206B_202C_206B_200E_200C_202C_206B_200B_202A_206A_206A_200D_206C_202C_200D_200B_206C_206D_206E_206D_200F_206C_200E_200E_206B_202B_202B_202C_202A_206E_206D_202E_202E(ImU8String P_0, ImGuiTreeNodeFlags P_1, ImU8String P_2) + { + return ImGui.TreeNodeEx(P_0, P_1, P_2); + } + + static bool _202E_202A_202E_202A_200B_200F_206E_200E_202D_202C_206C_200D_202D_206F_200E_200B_200B_202E_200B_202E_206F_200B_202C_200F_202D_200C_200E_206D_206A_200F_206A_206F_206D_206B_202E_206B_206D_202D_200D_200D_202E() + { + return ImGui.IsItemHovered(); + } + + static void _200B_202A_200D_200C_200D_202C_202B_206A_206C_200C_200C_206E_206A_200C_202C_206D_202B_206F_206E_206E_202B_200B_206F_200D_206E_202B_202A_202B_206D_200D_202C_200F_200D_200D_202E_200E_200F_206B_200C_202A_202E() + { + ImGui.SameLine(); + } + + static bool _200E_206B_206C_200C_202C_202A_202D_200F_202B_200E_206A_200F_200B_202A_202C_206D_202D_202D_206A_206E_202B_206A_206F_206B_202C_202B_202C_206A_206D_206A_202D_202B_200C_206D_202B_202D_206D_202A_200F_202C_202E(ImU8String P_0, bool P_1, ImGuiSelectableFlags P_2, Vector2 P_3) + { + return ImGui.Selectable(P_0, P_1, P_2, P_3); + } + + static float _202D_206A_200C_202A_206D_206E_200B_206F_206D_200D_200E_200C_206D_206E_200F_200C_202D_202A_202D_206D_206D_206D_200F_206F_202B_206F_202A_206C_200E_200C_202A_202B_206F_202D_206A_202C_206A_202A_202B_202C_202E() + { + return ImGui.GetFrameHeight(); + } + + static ImRaii.TooltipDisposable _202D_200F_206D_206C_200E_202E_200E_206E_206C_202C_200D_206C_200B_200B_200D_200D_202A_206E_200C_206E_206B_200E_206B_206F_206F_200C_202E_200D_206A_202C_206D_206B_200D_200B_206E_206E_200B_200F_206C_200F_202E() + { + return ImRaii.Tooltip(); + } + + static void _206D_200D_202B_206F_200D_202E_202D_200B_200B_202A_206F_202D_202B_200F_206B_206F_202D_200E_206B_200E_206E_206B_200C_202D_206F_206D_206B_206B_200D_206B_200B_200F_200D_206F_200F_206E_206C_200B_202E_206F_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _202E_202C_206F_206C_202D_200F_206F_206A_206E_200F_202E_202D_202A_200E_200E_200B_200D_206F_206E_200F_200D_200B_206C_202A_202D_202A_202A_202E_202C_202B_202D_202E_200C_206B_206A_206E_206D_200B_206C_200F_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static float _206C_206B_206D_206D_202C_206F_200D_202A_202D_202D_202A_202A_200F_206E_202E_206C_202B_202A_202C_200C_206B_200F_206C_202E_206E_206D_206B_200D_200E_202A_200C_206F_206A_200F_206F_202A_206D_200C_206E_202E() + { + return ImGui.GetColumnWidth(); + } + + static bool _206B_200F_200B_206D_200C_202D_206B_200E_206F_206D_200C_202A_206C_202C_200C_206C_206F_206D_202E_202C_206B_200F_200F_200D_206E_202D_206A_206E_202A_206C_206B_202E_202B_206D_200B_200E_202A_200D_206D_200E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _200F_200C_202D_202B_202D_202E_202A_200E_206A_200D_202D_202C_206E_200C_206C_200E_206F_206F_202A_200C_202B_202B_200C_206E_200D_202E_206D_202E_202B_202B_206C_200B_206A_206A_206E_206C_202E_206E_206B_206C_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); } } diff --git a/Questionable/Questionable.Windows.JournalComponents/GatheringJournalComponent.cs b/Questionable/Questionable.Windows.JournalComponents/GatheringJournalComponent.cs index 7571c6c9..83b61bdd 100644 --- a/Questionable/Questionable.Windows.JournalComponents/GatheringJournalComponent.cs +++ b/Questionable/Questionable.Windows.JournalComponents/GatheringJournalComponent.cs @@ -2,9 +2,12 @@ using System; using System.Collections.Generic; using System.Globalization; 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.ManagedFontAtlas; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Dalamud.Plugin.Services; @@ -15,15 +18,349 @@ using Lumina.Excel.Sheets; using Questionable.Controller; using Questionable.Model; using Questionable.Model.Gathering; +using Questionable.Model.Questing; 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 + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return new GatheringCounts(global::_003CModule_003E._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(1108021570), global::_003CModule_003E._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(1228468769), IsSupportedComplete: false, IsCollectedComplete: false, IsSupportedEmpty: true, IsCollectedEmpty: true); + } + } + + private static readonly int PadWidth = _206B_200C_206B_202A_200E_206B_202E_206D_202A_206F_200B_200E_202E_200E_202C_202C_206A_202B_202D_200F_200E_206D_200C_202B_200F_202B_206F_202D_200D_202C_202E_202C_200F_202C_206E_206D_200F_200E_206B_202E_202E(9999.ToString(_200F_202C_206F_200F_202B_202D_200E_200F_200E_206B_200F_202E_206A_200F_200D_206F_200D_202C_200B_202B_206F_206D_206E_206F_206F_206E_202E_200C_202D_202D_206F_202B_202D_206B_206E_200C_202E_206E_206D_200D_202E())); + + 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); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static string FormatPair(int n, int d) + { + int num = ((d == 0) ? 1282005657 : 1282005658); + while (true) + { + int num2 = num; + int num3 = 1282005659; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return _206F_206A_200E_206B_202C_202D_206A_202C_200F_202E_206F_200D_202D_202E_200B_200C_206F_202A_206B_206D_202B_202D_206E_206B_202B_200E_206C_206F_200E_206F_202B_206B_206B_200B_206E_206C_200E_206F_206E_202A_202E(_206C_202C_202E_200F_206F_200E_202E_202A_200B_206D_200E_206E_202C_200B_206E_206B_200D_206D_202B_206B_202E_202B_200B_200E_206C_202D_206A_206C_202D_200E_200F_206E_200C_200F_202B_202A_200C_200C_202E_206B_202E(global::_003CModule_003E._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(792471175), PadWidth), global::_003CModule_003E._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(1534070043), _206C_202C_202E_200F_206F_200E_202E_202A_200B_206D_200E_206E_202C_200B_206E_206B_200D_206D_202B_206B_202E_202B_200B_200E_206C_202D_206A_206C_202D_200E_200F_206E_200C_200F_202B_202A_200C_200C_202E_206B_202E(global::_003CModule_003E._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(792471175), PadWidth)); + case 1: + return _206F_206A_200E_206B_202C_202D_206A_202C_200F_202E_206F_200D_202D_202E_200B_200C_206F_202A_206B_206D_202B_202D_206E_206B_202B_200E_206C_206F_200E_206F_202B_206B_206B_200B_206E_206C_200E_206F_206E_202A_202E(_202A_202C_202B_200D_206C_200B_206E_206A_200B_200F_200F_200F_206D_200C_206E_206F_206D_200E_200D_202C_200D_200D_206A_206E_200B_200C_206C_200E_202C_202C_200D_202C_206C_206A_202D_206E_202D_200C_200F_200E_202E(n.ToString(_200F_202C_206F_200F_202B_202D_200E_200F_200E_206B_200F_202E_206A_200F_200D_206F_200D_202C_200B_202B_206F_206D_206E_206F_206F_206E_202E_200C_202D_202D_206F_202B_202D_206B_206E_200C_202E_206E_206D_200D_202E()), PadWidth), global::_003CModule_003E._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(-242478203), _202A_202C_202B_200D_206C_200B_206E_206A_200B_200F_200F_200F_206D_200C_206E_206F_206D_200E_200D_202C_200D_200D_206A_206E_200B_200C_206C_200E_202C_202C_200D_202C_206C_206A_202D_206E_202D_200C_200F_200E_202E(d.ToString(_200F_202C_206F_200F_202B_202D_200E_200F_200E_206B_200F_202E_206A_200F_200D_206F_200D_202C_200B_202B_206F_206D_206E_206F_206F_206E_202E_200C_202D_202D_206F_202B_202D_206B_206E_200C_202E_206E_206D_200D_202E()), PadWidth)); + case 0: + goto IL_00b7; + } + continue; + IL_00b7: + num = 1282005658; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206A_206C_206C_206C_206F_202A_202B_206C_206D_202C_206D_200D_200E_206B_206C_200C_202A_206E_206D_206B_200B_206E_202C_200B_202B_206D_202A_206A_206F_200D_200E_202B_206F_206E_200F_206F_200E_202C_202A_200D_202E(); + _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(stringBuilder, global::_003CModule_003E._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(-790800990)); + _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? 631277519 : 631277516); + while (true) + { + int num2 = num; + int num3 = 631277518; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _200F_202B_206F_206F_206A_200B_200B_202B_206C_200E_202A_206F_200B_202C_206C_200C_200E_206A_200E_206A_206F_206A_200F_200F_202B_202A_206C_202B_200B_200D_200D_206F_200F_206A_200C_200F_200F_202C_202B_200D_202E(stringBuilder, '}'); + return _206B_206C_202B_202E_206A_202E_200C_200B_200E_206A_200F_202A_200E_200F_200B_202E_202A_206D_200F_202D_206D_206D_202A_206B_200E_200D_200F_200C_200F_202C_200D_202B_202B_206C_202D_200C_206B_206B_206E_206C_202E((object)stringBuilder); + case 2: + _200F_202B_206F_206F_206A_200B_200B_202B_206C_200E_202A_206F_200B_202C_206C_200C_200E_206A_200E_206A_206F_206A_200F_200F_202B_202A_206C_202B_200B_200D_200D_206F_200F_206A_200C_200F_200F_202C_202B_200D_202E(stringBuilder, ' '); + num = 631277519; + break; + case 0: + num = 631277516; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, global::_003CModule_003E._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(-1069213863)); + _206D_200C_200C_206C_200E_200F_200E_200F_206D_206F_206A_202C_200C_202A_206D_200D_200E_206D_206F_206E_200C_200E_202A_206C_206D_200D_206D_206E_206A_202B_200B_200D_200C_202A_206B_206A_202B_200E_206B_200D_202E(builder, (object)FormattedSupported); + _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, global::_003CModule_003E._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(-2136494893)); + _206D_200C_200C_206C_200E_200F_200E_200F_206D_206F_206A_202C_200C_202A_206D_200D_200E_206D_206F_206E_200C_200E_202A_206C_206D_200D_206D_206E_206A_202B_200B_200D_200C_202A_206B_206A_202B_200E_206B_200D_202E(builder, (object)FormattedCollected); + _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, global::_003CModule_003E._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(-1503984796)); + _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, IsSupportedComplete.ToString()); + _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, global::_003CModule_003E._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(1561397285)); + _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, IsCollectedComplete.ToString()); + _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, global::_003CModule_003E._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(-748445346)); + _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, IsSupportedEmpty.ToString()); + _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, global::_003CModule_003E._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(-1462861686)); + _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, IsCollectedEmpty.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(GatheringCounts other) + { + int num = ((!EqualityComparer.Default.Equals(FormattedSupported, other.FormattedSupported)) ? 156024419 : 156024416); + while (true) + { + int num2 = num; + int num3 = 156024422; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((!EqualityComparer.Default.Equals(IsCollectedComplete, other.IsCollectedComplete)) ? 156024419 : 156024418); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(FormattedCollected, other.FormattedCollected)) ? 156024419 : 156024420); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(IsSupportedComplete, other.IsSupportedComplete)) ? 156024419 : 156024422); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(IsSupportedEmpty, other.IsSupportedEmpty)) ? 156024419 : 156024423); + break; + case 1: + return EqualityComparer.Default.Equals(IsCollectedEmpty, other.IsCollectedEmpty); + case 3: + num = 156024416; + break; + case 5: + return false; + } + } + } + + bool IEquatable.Equals(GatheringCounts other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static CultureInfo _200F_202C_206F_200F_202B_202D_200E_200F_200E_206B_200F_202E_206A_200F_200D_206F_200D_202C_200B_202B_206F_206D_206E_206F_206F_206E_202E_200C_202D_202D_206F_202B_202D_206B_206E_200C_202E_206E_206D_200D_202E() + { + return CultureInfo.CurrentCulture; + } + + static string _202A_202C_202B_200D_206C_200B_206E_206A_200B_200F_200F_200F_206D_200C_206E_206F_206D_200E_200D_202C_200D_200D_206A_206E_200B_200C_206C_200E_202C_202C_200D_202C_206C_206A_202D_206E_202D_200C_200F_200E_202E(string P_0, int P_1) + { + return P_0.PadLeft(P_1); + } + + static string _206F_206A_200E_206B_202C_202D_206A_202C_200F_202E_206F_200D_202D_202E_200B_200C_206F_202A_206B_206D_202B_202D_206E_206B_202B_200E_206C_206F_200E_206F_202B_206B_206B_200B_206E_206C_200E_206F_206E_202A_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static string _206C_202C_202E_200F_206F_200E_202E_202A_200B_206D_200E_206E_202C_200B_206E_206B_200D_206D_202B_206B_202E_202B_200B_200E_206C_202D_206A_206C_202D_200E_200F_206E_200C_200F_202B_202A_200C_200C_202E_206B_202E(string P_0, int P_1) + { + return P_0.PadLeft(P_1); + } + + static StringBuilder _206A_206C_206C_206C_206F_202A_202B_206C_206D_202C_206D_200D_200E_206B_206C_200C_202A_206E_206D_206B_200B_206E_202C_200B_202B_206D_202A_206A_206F_200D_200E_202B_206F_206E_200F_206F_200E_202C_202A_200D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200F_202B_206F_206F_206A_200B_200B_202B_206C_200E_202A_206F_200B_202C_206C_200C_200E_206A_200E_206A_206F_206A_200F_200F_202B_202A_206C_202B_200B_200D_200D_206F_200F_206A_200C_200F_200F_202C_202B_200D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206B_206C_202B_202E_206A_202E_200C_200B_200E_206A_200F_202A_200E_200F_200B_202E_202A_206D_200F_202D_206D_206D_202A_206B_200E_200D_200F_200C_200F_202C_200D_202B_202B_206C_202D_200C_206B_206B_206E_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _206D_200C_200C_206C_200E_200F_200E_200F_206D_206F_206A_202C_200C_202A_206D_200D_200E_206D_206F_206E_200C_200E_202A_206C_206D_200D_206D_206E_206A_202B_200B_200D_200C_202A_206B_206A_202B_200E_206B_200D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static int _206B_200C_206B_202A_200E_206B_202E_206D_202A_206F_200B_200E_202E_200E_202C_202C_206A_202B_202D_200F_200E_206D_200C_202B_200F_202B_206F_202D_200D_202C_202E_202C_200F_202C_206E_206D_200F_200E_206B_202E_202E(string P_0) + { + return P_0.Length; + } + } + + private readonly record struct FlatRow(RowType Type, int Depth, int GroupIndex, string Label, GatheringCounts Counts, bool IsPointComplete, ushort ItemId, bool IsItemGathered) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200F_206C_202D_206B_206D_200B_206C_200C_206D_206C_202E_206A_202A_206B_200B_202D_202E_202D_202B_206E_200C_206C_202E_206B_206E_202A_200E_200C_206C_202A_202B_206D_206B_202B_200D_206A_206B_200D_206A_206E_202E(); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(stringBuilder, global::_003CModule_003E._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(-2098208768)); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? (-1638947350) : (-1638947351)); + while (true) + { + int num2 = num; + int num3 = -1638947352; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _200D_206C_206D_206C_206E_202A_202B_202D_202E_202C_202D_202E_200E_200C_202E_200E_202E_206D_202A_206C_202D_206C_206A_202B_206A_200C_202C_200F_202D_200D_200F_206C_202B_200E_206B_202A_200F_200D_202B_206F_202E(stringBuilder, '}'); + return _206C_206C_202B_202D_206D_202D_202B_202A_206D_200F_206C_202D_202D_202A_202E_206A_202E_206B_200E_202D_202D_200D_200C_202B_200D_200C_202E_200F_202D_206D_202B_200F_200D_202E_202A_202D_206D_206B_206E_202B_202E((object)stringBuilder); + case 1: + _200D_206C_206D_206C_206E_202A_202B_202D_202E_202C_202D_202E_200E_200C_202E_200E_202E_206D_202A_206C_202D_206C_206A_202B_206A_200C_202C_200F_202D_200D_200F_206C_202B_200E_206B_202A_200F_200D_202B_206F_202E(stringBuilder, ' '); + num = -1638947350; + break; + case 0: + num = -1638947351; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._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(-217898061)); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, Type.ToString()); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._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(1014922524)); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, Depth.ToString()); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._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(-1647495557)); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, GroupIndex.ToString()); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._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(-882901215)); + _202C_200F_206A_202A_202B_202D_202C_202D_200D_200F_200E_206C_200F_206C_202C_206A_206E_202A_200E_202E_200D_202D_206B_206B_200F_206A_200E_206C_202C_206C_206E_200C_206B_202A_206E_202C_202A_206E_200D_206F_202E(builder, (object)Label); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._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(-1999051001)); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, Counts.ToString()); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._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(237855300)); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, IsPointComplete.ToString()); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._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(-727021518)); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, ItemId.ToString()); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._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(2079981210)); + _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, IsItemGathered.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(FlatRow other) + { + int num = ((!EqualityComparer.Default.Equals(Type, other.Type)) ? (-1674576019) : (-1674576028)); + while (true) + { + int num2 = num; + int num3 = -1674576027; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + num = -1674576028; + break; + case 1: + num = ((!EqualityComparer.Default.Equals(Depth, other.Depth)) ? (-1674576019) : (-1674576030)); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(IsPointComplete, other.IsPointComplete)) ? (-1674576019) : (-1674576031)); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(Label, other.Label)) ? (-1674576019) : (-1674576027)); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(GroupIndex, other.GroupIndex)) ? (-1674576019) : (-1674576025)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? (-1674576019) : (-1674576032)); + break; + case 8: + return false; + case 0: + num = ((!EqualityComparer.Default.Equals(Counts, other.Counts)) ? (-1674576019) : (-1674576026)); + break; + case 5: + return EqualityComparer.Default.Equals(IsItemGathered, other.IsItemGathered); + } + } + } + + bool IEquatable.Equals(FlatRow other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _200F_206C_202D_206B_206D_200B_206C_200C_206D_206C_202E_206A_202A_206B_200B_202D_202E_202D_202B_206E_200C_206C_202E_206B_206E_202A_200E_200C_206C_202A_202B_206D_206B_202B_200D_206A_206B_200D_206A_206E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_206C_206D_206C_206E_202A_202B_202D_202E_202C_202D_202E_200E_200C_202E_200E_202E_206D_202A_206C_202D_206C_206A_202B_206A_200C_202C_200F_202D_200D_200F_206C_202B_200E_206B_202A_200F_200D_202B_206F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_206C_202B_202D_206D_202D_202B_202A_206D_200F_206C_202D_202D_202A_202E_206A_202E_206B_200E_202D_202D_200D_200C_202B_200D_200C_202E_200F_202D_206D_202B_200F_200D_202E_202A_202D_206D_206B_206E_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _202C_200F_206A_202A_202B_202D_202C_202D_200D_200F_200E_206C_200F_206C_202C_206A_206E_202A_200E_202E_200D_202D_206B_206B_200F_206A_200E_206C_202C_206C_206E_200C_206B_202A_206E_202C_202A_206E_200D_206F_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + } + private delegate byte GetIsGatheringItemGatheredDelegate(ushort item); private sealed record ExpansionPoints(EExpansionVersion ExpansionVersion, List PointsByTerritories) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_206F_200D_200C_206F_206A_206E_202C_202A_200B_200F_202E_200E_202D_206F_202C_206B_202A_200F_200F_200F_206D_200B_206C_206A_200F_202A_206C_200D_202A_206D_200F_206F_200B_206E_206A_206D_206A_202B_200E_202E(typeof(ExpansionPoints).TypeHandle); + } + } + public int TotalItems { get; set; } public int TotalPoints { get; set; } @@ -31,10 +368,164 @@ internal sealed class GatheringJournalComponent public int CompletedItems { get; set; } public int CompletedPoints { get; set; } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_200F_206C_206E_200E_202C_206C_202A_202C_206F_206B_200E_206B_200D_206C_200E_200B_202E_206F_206B_202A_202A_202C_200F_206D_200B_200C_206D_202B_206E_202E_200F_200C_202D_202B_206F_206B_200F_206A_206D_202E(); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(stringBuilder, global::_003CModule_003E._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(1433999488)); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? (-127138192) : (-127138189)); + while (true) + { + int num2 = num; + int num3 = -127138191; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -127138189; + break; + case 2: + _202C_200B_206E_202D_206D_202C_206B_206F_202D_202B_200C_200C_206E_200C_202B_202D_200E_202A_206F_202C_206A_202C_206F_200F_200D_200F_200B_206C_200E_200D_200D_206F_202C_200F_200F_200F_206A_202B_202C_202D_202E(stringBuilder, ' '); + num = -127138192; + break; + case 1: + _202C_200B_206E_202D_206D_202C_206B_206F_202D_202B_200C_200C_206E_200C_202B_202D_200E_202A_206F_202C_206A_202C_206F_200F_200D_200F_200B_206C_200E_200D_200D_206F_202C_200F_200F_200F_206A_202B_202C_202D_202E(stringBuilder, '}'); + return _200F_202E_200C_206A_202E_200E_206E_200B_206C_200B_202C_206E_206D_202D_200B_202A_200B_202B_200E_200D_206E_200C_206A_206A_206C_206B_202E_202B_200C_202B_206F_200D_200B_202A_206C_200F_200C_206C_202E_202B_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_206A_200D_200C_202A_202B_206B_206E_202D_206D_202D_200C_206F_206E_202C_200B_202E_202D_200B_206D_200B_200D_206F_202B_206A_202C_206E_202A_202D_206E_206D_200F_200E_202B_202E_200E_206F_206C_202E_202A_202E(); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, global::_003CModule_003E._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(-1921573758)); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, ExpansionVersion.ToString()); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, global::_003CModule_003E._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(-1746556757)); + _206A_200B_202E_202B_202A_206D_202B_206F_202B_206F_206A_202D_200C_202B_200C_202B_202A_202E_200F_200B_200B_206F_206E_200B_206F_202D_200B_206E_200B_206E_202C_202C_202D_206E_206D_206A_206B_202B_200B_200D_202E(builder, (object)PointsByTerritories); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, global::_003CModule_003E._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(19786210)); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, TotalItems.ToString()); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, global::_003CModule_003E._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(606702436)); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, TotalPoints.ToString()); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, global::_003CModule_003E._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(-1780143284)); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, CompletedItems.ToString()); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, global::_003CModule_003E._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(1774551967)); + _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, CompletedPoints.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(ExpansionPoints? other) + { + int num = (((object)this == other) ? (-1546294236) : (-1546294235)); + while (true) + { + int num2 = num; + int num3 = -1546294227; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return EqualityComparer.Default.Equals(CompletedPoints, other.CompletedPoints); + case 0: + num = ((!EqualityComparer.Default.Equals(ExpansionVersion, other.ExpansionVersion)) ? (-1546294226) : (-1546294229)); + break; + case 7: + num = -1546294235; + break; + case 9: + return true; + case 6: + num = ((!EqualityComparer>.Default.Equals(PointsByTerritories, other.PointsByTerritories)) ? (-1546294226) : (-1546294232)); + break; + case 10: + num = ((!EqualityComparer.Default.Equals(CompletedItems, other.CompletedItems)) ? (-1546294226) : (-1546294228)); + break; + case 8: + num = (((object)other == null) ? (-1546294226) : (-1546294225)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(TotalPoints, other.TotalPoints)) ? (-1546294226) : (-1546294233)); + break; + case 2: + num = ((!_200E_206B_200F_202B_200B_202C_202C_200C_206B_200E_206F_206F_206B_202C_202C_206B_206B_200B_206D_200D_206E_202D_200F_206F_206F_200B_202D_202E_202A_202E_206A_202C_200B_202A_202D_202D_206F_206A_206E_206E_202E(EqualityContract, other.EqualityContract)) ? (-1546294226) : (-1546294227)); + break; + case 3: + return false; + case 5: + num = ((!EqualityComparer.Default.Equals(TotalItems, other.TotalItems)) ? (-1546294226) : (-1546294231)); + break; + } + } + } + + bool IEquatable.Equals(ExpansionPoints? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_206F_200D_200C_206F_206A_206E_202C_202A_200B_200F_202E_200E_202D_206F_202C_206B_202A_200F_200F_200F_206D_200B_206C_206A_200F_202A_206C_200D_202A_206D_200F_206F_200B_206E_206A_206D_206A_202B_200E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206F_200F_206C_206E_200E_202C_206C_202A_202C_206F_206B_200E_206B_200D_206C_200E_200B_202E_206F_206B_202A_202A_202C_200F_206D_200B_200C_206D_202B_206E_202E_200F_200C_202D_202B_206F_206B_200F_206A_206D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_200B_206E_202D_206D_202C_206B_206F_202D_202B_200C_200C_206E_200C_202B_202D_200E_202A_206F_202C_206A_202C_206F_200F_200D_200F_200B_206C_200E_200D_200D_206F_202C_200F_200F_200F_206A_202B_202C_202D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_202E_200C_206A_202E_200E_206E_200B_206C_200B_202C_206E_206D_202D_200B_202A_200B_202B_200E_200D_206E_200C_206A_206A_206C_206B_202E_202B_200C_202B_206F_200D_200B_202A_206C_200F_200C_206C_202E_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206D_206A_200D_200C_202A_202B_206B_206E_202D_206D_202D_200C_206F_206E_202C_200B_202E_202D_200B_206D_200B_200D_206F_202B_206A_202C_206E_202A_202D_206E_206D_200F_200E_202B_202E_200E_206F_206C_202E_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206A_200B_202E_202B_202A_206D_202B_206F_202B_206F_206A_202D_200C_202B_200C_202B_202A_202E_200F_200B_200B_206F_206E_200B_206F_202D_200B_206E_200B_206E_202C_202C_202D_206E_206D_206A_206B_202B_200B_200D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200E_206B_200F_202B_200B_202C_202C_200C_206B_200E_206F_206F_206B_202C_202C_206B_206B_200B_206D_200D_206E_202D_200F_206F_206F_200B_202D_202E_202A_202E_206A_202C_200B_202A_202D_202D_206F_206A_206E_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } } private sealed record TerritoryPoints(ushort TerritoryType, string TerritoryName, List Points) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_206C_200C_206B_200E_200E_202A_206B_206A_202D_206C_200F_202D_206F_200D_206E_206D_200F_206F_206F_206C_206E_206B_206F_200D_206B_202C_202C_206F_206F_202B_202D_200D_202C_206F_202E_202C_200C_202D_200D_202E(typeof(TerritoryPoints).TypeHandle); + } + } + public int TotalItems { get; set; } public int TotalPoints => Points.Count; @@ -43,30 +534,1411 @@ internal sealed class GatheringJournalComponent public int CompletedPoints { get; set; } + [MethodImpl(MethodImplOptions.NoInlining)] public string ToFriendlyString() { - if (string.IsNullOrEmpty(TerritoryName)) + int num = ((!_206E_200B_202A_202A_202D_202C_200E_202C_206D_206B_200B_202A_206B_202A_202B_200F_200E_202B_202C_206C_200B_200C_202D_206B_202E_206C_202B_200C_200C_200D_202B_202B_200E_202B_206E_200C_200E_202A_200D_200D_202E(TerritoryName)) ? (-372970510) : (-372970511)); + while (true) { - return $"??? ({TerritoryType})"; + int num2 = num; + int num3 = -372970509; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004b; + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1282129484)); + defaultInterpolatedStringHandler.AppendFormatted(TerritoryType); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + case 1: + return TerritoryName; + } + continue; + IL_004b: + num = -372970511; } - return TerritoryName; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200E_206B_202E_206C_200C_202D_206B_200D_206D_200B_202C_200E_200F_200D_206B_202D_206A_200D_206C_202D_206B_202A_202E_200C_206E_202E_202E_206A_200D_206D_206B_206D_202E_200D_202C_200B_206E_202D_202E_200E_202E(); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(stringBuilder, global::_003CModule_003E._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(1982297905)); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? (-1682111640) : (-1682111639)); + while (true) + { + int num2 = num; + int num3 = -1682111640; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _202B_206D_206C_206A_202B_206A_206F_200B_206F_202A_202A_202B_200C_200F_200D_202D_200F_202C_206E_200F_200B_206E_202A_206F_202E_202D_206D_202A_202D_200E_206F_202B_206B_206D_206F_206E_202B_200B_206B_200D_202E(stringBuilder, '}'); + return _202C_202C_206A_202C_206A_206E_200C_202E_206D_200E_202D_202E_200B_202B_206D_202D_202B_200B_200B_206F_202A_202E_202D_202B_200D_202C_202B_206A_200F_206F_200D_202C_200D_206F_206B_200B_206F_202E_202B_202A_202E((object)stringBuilder); + case 1: + _202B_206D_206C_206A_202B_206A_206F_200B_206F_202A_202A_202B_200C_200F_200D_202D_200F_202C_206E_200F_200B_206E_202A_206F_202E_202D_206D_202A_202D_200E_206F_202B_206B_206D_206F_206E_202B_200B_206B_200D_202E(stringBuilder, ' '); + num = -1682111640; + break; + case 2: + num = -1682111639; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_206D_206C_202E_206F_206E_206A_206A_200E_200E_202E_200F_202E_206E_206E_200C_202A_206F_202E_200B_200E_200D_202E_200E_202E_206E_202C_206A_200C_206E_200F_202A_202C_200E_206F_206A_202B_206F_200F_206F_202E(); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._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(1717589508)); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, TerritoryType.ToString()); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._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(-1928556849)); + _202E_200D_206D_200D_206D_202D_202B_202D_206F_202D_202B_200F_202E_200C_202D_200D_200D_200C_206D_200E_206E_206E_200B_202D_200D_206F_202E_206F_206A_206A_200D_202E_202D_200C_202A_206F_202D_202E_206D_202C_202E(builder, (object)TerritoryName); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._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(1371274133)); + _202E_200D_206D_200D_206D_202D_202B_202D_206F_202D_202B_200F_202E_200C_202D_200D_200D_200C_206D_200E_206E_206E_200B_202D_200D_206F_202E_206F_206A_206A_200D_202E_202D_200C_202A_206F_202D_202E_206D_202C_202E(builder, (object)Points); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._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(-708467607)); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, TotalItems.ToString()); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._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(-1253835803)); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, TotalPoints.ToString()); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._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(-1273608271)); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, CompletedItems.ToString()); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._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(-1790706375)); + _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, CompletedPoints.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(TerritoryPoints? other) + { + int num = (((object)this == other) ? (-862053346) : (-862053348)); + while (true) + { + int num2 = num; + int num3 = -862053350; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = ((!EqualityComparer>.Default.Equals(Points, other.Points)) ? (-862053345) : (-862053349)); + break; + case 3: + num = ((!_200C_200F_202B_202D_202B_202B_202B_202D_206D_200B_200B_200D_206B_202B_206F_200B_206B_200C_200F_202A_206B_202D_202C_200C_202D_200D_206E_202B_200E_200D_202B_206E_200B_206B_200D_206E_202C_202C_206D_200E_202E(EqualityContract, other.EqualityContract)) ? (-862053345) : (-862053358)); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(TerritoryType, other.TerritoryType)) ? (-862053345) : (-862053357)); + break; + case 9: + num = ((!EqualityComparer.Default.Equals(TerritoryName, other.TerritoryName)) ? (-862053345) : (-862053352)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(TotalItems, other.TotalItems)) ? (-862053345) : (-862053360)); + break; + case 0: + return EqualityComparer.Default.Equals(CompletedPoints, other.CompletedPoints); + case 4: + return true; + case 5: + return false; + case 7: + num = -862053348; + break; + case 10: + num = ((!EqualityComparer.Default.Equals(CompletedItems, other.CompletedItems)) ? (-862053345) : (-862053350)); + break; + case 6: + num = (((object)other == null) ? (-862053345) : (-862053351)); + break; + } + } + } + + bool IEquatable.Equals(TerritoryPoints? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_206C_200C_206B_200E_200E_202A_206B_206A_202D_206C_200F_202D_206F_200D_206E_206D_200F_206F_206F_206C_206E_206B_206F_200D_206B_202C_202C_206F_206F_202B_202D_200D_202C_206F_202E_202C_200C_202D_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static bool _206E_200B_202A_202A_202D_202C_200E_202C_206D_206B_200B_202A_206B_202A_202B_200F_200E_202B_202C_206C_200B_200C_202D_206B_202E_206C_202B_200C_200C_200D_202B_202B_200E_202B_206E_200C_200E_202A_200D_200D_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static StringBuilder _200E_206B_202E_206C_200C_202D_206B_200D_206D_200B_202C_200E_200F_200D_206B_202D_206A_200D_206C_202D_206B_202A_202E_200C_206E_202E_202E_206A_200D_206D_206B_206D_202E_200D_202C_200B_206E_202D_202E_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202B_206D_206C_206A_202B_206A_206F_200B_206F_202A_202A_202B_200C_200F_200D_202D_200F_202C_206E_200F_200B_206E_202A_206F_202E_202D_206D_202A_202D_200E_206F_202B_206B_206D_206F_206E_202B_200B_206B_200D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202C_202C_206A_202C_206A_206E_200C_202E_206D_200E_202D_202E_200B_202B_206D_202D_202B_200B_200B_206F_202A_202E_202D_202B_200D_202C_202B_206A_200F_206F_200D_202C_200D_206F_206B_200B_206F_202E_202B_202A_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200C_206D_206C_202E_206F_206E_206A_206A_200E_200E_202E_200F_202E_206E_206E_200C_202A_206F_202E_200B_200E_200D_202E_200E_202E_206E_202C_206A_200C_206E_200F_202A_202C_200E_206F_206A_202B_206F_200F_206F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202E_200D_206D_200D_206D_202D_202B_202D_206F_202D_202B_200F_202E_200C_202D_200D_200D_200C_206D_200E_206E_206E_200B_202D_200D_206F_202E_206F_206A_206A_200D_202E_202D_200C_202A_206F_202D_202E_206D_202C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_200F_202B_202D_202B_202B_202B_202D_206D_200B_200B_200D_206B_202B_206F_200B_206B_200C_200F_202A_206B_202D_202C_200C_202D_200D_206E_202B_200E_200D_202B_206E_200B_206B_200D_206E_202C_202C_206D_200E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; } } private sealed record DefaultGatheringPoint(GatheringPointId Id, EClassJob ClassJob, byte Level, List GatheringItemIds, EExpansionVersion Expansion, ushort TerritoryType, string? TerritoryName, string? PlaceName) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_200D_206E_202C_206F_200F_200E_200D_206F_206F_202C_202A_206E_202D_200D_206F_206D_200C_206C_202C_206F_206B_200F_206E_202D_206A_200B_202A_200C_200D_202C_206B_200B_202A_206C_202E_206C_200D_200E_202B_202E(typeof(DefaultGatheringPoint).TypeHandle); + } + } + public int TotalItems { get; set; } public int CompletedItems { get; set; } public bool IsComplete { get; set; } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200F_200C_200D_206A_200D_202A_200D_202A_206E_202D_206D_200B_202E_206A_206D_202B_202B_200D_202B_200C_202B_202E_200D_206A_200C_202C_200E_202D_206E_206E_206C_206B_202A_202B_206F_200C_202B_206A_202B_200C_202E(); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(stringBuilder, global::_003CModule_003E._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(697029583)); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? (-1428012309) : (-1428012310)); + while (true) + { + int num2 = num; + int num3 = -1428012309; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1428012310; + break; + case 0: + _200D_200C_202D_200C_206F_206F_202B_202E_206D_200F_206D_200D_206F_206E_202D_202D_200D_202E_206D_202E_206B_200C_206B_206B_206A_202B_202C_206B_202B_202D_206B_202C_206B_200F_206F_200E_206A_200E_206F_200D_202E(stringBuilder, '}'); + return _200C_206F_206B_206B_206F_200B_202B_206A_200F_202E_202E_206B_206B_200E_206A_206F_206D_200F_200D_202D_202C_202A_200F_200C_206C_200D_206F_202B_206C_202D_200D_200F_200B_206D_200C_200C_206A_206A_206E_200C_202E((object)stringBuilder); + case 1: + _200D_200C_202D_200C_206F_206F_202B_202E_206D_200F_206D_200D_206F_206E_202D_202D_200D_202E_206D_202E_206B_200C_206B_206B_206A_202B_202C_206B_202B_202D_206B_202C_206B_200F_206F_200E_206A_200E_206F_200D_202E(stringBuilder, ' '); + num = -1428012309; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202A_200E_202E_206F_206F_206C_206A_206D_202D_200F_200C_200C_200C_202D_206A_202E_200E_206C_200F_200B_206F_206B_206B_206C_206E_200D_200F_206D_200D_200B_206B_202B_206B_200D_200D_200C_206E_200F_202E_202A_202E(); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._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(-2012349732)); + _206E_200B_206C_200D_202E_206E_200D_202D_200F_202C_202E_200D_202A_200C_200D_200D_206F_200F_200F_206B_202C_202E_200E_206D_200C_202B_202D_202D_200D_206D_200E_206F_200E_206E_206F_200D_202A_200F_202A_206B_202E(builder, (object)Id); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._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(-1160325293)); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, ClassJob.ToString()); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._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(2059092762)); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, Level.ToString()); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._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(1694264994)); + _206E_200B_206C_200D_202E_206E_200D_202D_200F_202C_202E_200D_202A_200C_200D_200D_206F_200F_200F_206B_202C_202E_200E_206D_200C_202B_202D_202D_200D_206D_200E_206F_200E_206E_206F_200D_202A_200F_202A_206B_202E(builder, (object)GatheringItemIds); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._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(-1684057181)); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, Expansion.ToString()); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._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(-1364954486)); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, TerritoryType.ToString()); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._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(-282533646)); + _206E_200B_206C_200D_202E_206E_200D_202D_200F_202C_202E_200D_202A_200C_200D_200D_206F_200F_200F_206B_202C_202E_200E_206D_200C_202B_202D_202D_200D_206D_200E_206F_200E_206E_206F_200D_202A_200F_202A_206B_202E(builder, (object)TerritoryName); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._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(-1894371280)); + _206E_200B_206C_200D_202E_206E_200D_202D_200F_202C_202E_200D_202A_200C_200D_200D_206F_200F_200F_206B_202C_202E_200E_206D_200C_202B_202D_202D_200D_206D_200E_206F_200E_206E_206F_200D_202A_200F_202A_206B_202E(builder, (object)PlaceName); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._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(-1350395082)); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, TotalItems.ToString()); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._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(-1518544200)); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, CompletedItems.ToString()); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._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(-1873552259)); + _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, IsComplete.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(DefaultGatheringPoint? other) + { + int num = (((object)this == other) ? (-1315173192) : (-1315173194)); + while (true) + { + int num2 = num; + int num3 = -1315173199; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 11: + num = ((!EqualityComparer>.Default.Equals(GatheringItemIds, other.GatheringItemIds)) ? (-1315173198) : (-1315173187)); + break; + case 7: + num = (((object)other == null) ? (-1315173198) : (-1315173191)); + break; + case 13: + num = ((!EqualityComparer.Default.Equals(ClassJob, other.ClassJob)) ? (-1315173198) : (-1315173186)); + break; + case 8: + num = ((!_202B_206F_200C_206C_200F_206C_202B_206B_202D_200E_200D_206C_206F_206A_206B_202E_206B_202D_206D_200C_202B_200B_200F_206D_206B_206B_206A_206B_202C_200C_206C_206F_202D_202B_202D_202C_202C_202E_206F_202E(EqualityContract, other.EqualityContract)) ? (-1315173198) : (-1315173200)); + break; + case 9: + return true; + case 0: + num = -1315173194; + break; + case 10: + num = ((!EqualityComparer.Default.Equals(PlaceName, other.PlaceName)) ? (-1315173198) : (-1315173196)); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(TotalItems, other.TotalItems)) ? (-1315173198) : (-1315173185)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(TerritoryName, other.TerritoryName)) ? (-1315173198) : (-1315173189)); + break; + case 3: + return false; + case 4: + return EqualityComparer.Default.Equals(IsComplete, other.IsComplete); + case 2: + num = ((!EqualityComparer.Default.Equals(TerritoryType, other.TerritoryType)) ? (-1315173198) : (-1315173193)); + break; + case 15: + num = ((!EqualityComparer.Default.Equals(Level, other.Level)) ? (-1315173198) : (-1315173190)); + break; + case 14: + num = ((!EqualityComparer.Default.Equals(CompletedItems, other.CompletedItems)) ? (-1315173198) : (-1315173195)); + break; + case 12: + num = ((!EqualityComparer.Default.Equals(Expansion, other.Expansion)) ? (-1315173198) : (-1315173197)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(Id, other.Id)) ? (-1315173198) : (-1315173188)); + break; + } + } + } + + bool IEquatable.Equals(DefaultGatheringPoint? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202E_200D_206E_202C_206F_200F_200E_200D_206F_206F_202C_202A_206E_202D_200D_206F_206D_200C_206C_202C_206F_206B_200F_206E_202D_206A_200B_202A_200C_200D_202C_206B_200B_202A_206C_202E_206C_200D_200E_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200F_200C_200D_206A_200D_202A_200D_202A_206E_202D_206D_200B_202E_206A_206D_202B_202B_200D_202B_200C_202B_202E_200D_206A_200C_202C_200E_202D_206E_206E_206C_206B_202A_202B_206F_200C_202B_206A_202B_200C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_200C_202D_200C_206F_206F_202B_202E_206D_200F_206D_200D_206F_206E_202D_202D_200D_202E_206D_202E_206B_200C_206B_206B_206A_202B_202C_206B_202B_202D_206B_202C_206B_200F_206F_200E_206A_200E_206F_200D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200C_206F_206B_206B_206F_200B_202B_206A_200F_202E_202E_206B_206B_200E_206A_206F_206D_200F_200D_202D_202C_202A_200F_200C_206C_200D_206F_202B_206C_202D_200D_200F_200B_206D_200C_200C_206A_206A_206E_200C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202A_200E_202E_206F_206F_206C_206A_206D_202D_200F_200C_200C_200C_202D_206A_202E_200E_206C_200F_200B_206F_206B_206B_206C_206E_200D_200F_206D_200D_200B_206B_202B_206B_200D_200D_200C_206E_200F_202E_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206E_200B_206C_200D_202E_206E_200D_202D_200F_202C_202E_200D_202A_200C_200D_200D_206F_200F_200F_206B_202C_202E_200E_206D_200C_202B_202D_202D_200D_206D_200E_206F_200E_206E_206F_200D_202A_200F_202A_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202B_206F_200C_206C_200F_206C_202B_206B_202D_200E_200D_206C_206F_206A_206B_202E_206B_202D_206D_200C_202B_200B_200F_206D_206B_206B_206A_206B_202C_200C_206C_206F_202D_202B_202D_202C_202C_202E_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } } - private sealed record FilteredExpansion(ExpansionPoints Expansion, List Territories); + private sealed record FilteredExpansion(ExpansionPoints Expansion, List Territories) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206D_200F_200F_202E_202B_200E_200D_202E_202C_206B_200F_200D_206B_202B_200B_200C_200D_202A_200D_200E_206F_202D_200C_200B_202A_200C_202B_202D_202A_206E_202D_202C_202C_200D_202C_206F_200F_200B_200E_206B_202E(typeof(FilteredExpansion).TypeHandle); + } + } - private sealed record FilteredTerritory(TerritoryPoints Territory, List GatheringPoints); + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202D_200B_200E_202D_202D_200C_200B_206D_206D_206F_200C_200D_202E_206C_202B_206E_200D_202C_206A_200B_200D_200F_200D_206A_200C_202B_202E_200D_200B_206D_206B_202C_206C_206B_206E_206F_200C_202C_202C_200F_202E(); + _200E_206D_202D_200E_206A_200E_206F_206C_206C_200E_202B_202E_200E_206C_202E_200C_202C_206A_200B_206D_202E_202A_206F_206D_202C_202B_206C_200E_202C_202E_202C_206C_200C_202A_200F_200E_206B_202B_200C_202B_202E(stringBuilder, global::_003CModule_003E._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(-1411755612)); + _200E_206D_202D_200E_206A_200E_206F_206C_206C_200E_202B_202E_200E_206C_202E_200C_202C_206A_200B_206D_202E_202A_206F_206D_202C_202B_206C_200E_202C_202E_202C_206C_200C_202A_200F_200E_206B_202B_200C_202B_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? (-655734955) : (-655734956)); + while (true) + { + int num2 = num; + int num3 = -655734955; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -655734956; + break; + case 0: + _206F_200F_200B_200D_202C_206A_202C_206A_206C_202E_202B_200C_202C_202C_206E_202B_202A_206F_206F_202A_202B_206D_200E_206B_206E_206C_206B_202B_202C_200F_202B_206C_206F_200F_200F_200E_206E_206F_202D_202E(stringBuilder, '}'); + return _200E_200B_200B_200F_206B_200E_202C_200C_200E_200B_202D_202C_206C_202D_202E_202B_202E_202E_200B_202C_206D_202D_200E_206A_202D_202D_206E_202E_206C_206B_206A_200F_200E_202C_200E_200F_202B_200B_206A_200F_202E((object)stringBuilder); + case 1: + _206F_200F_200B_200D_202C_206A_202C_206A_206C_202E_202B_200C_202C_202C_206E_202B_202A_206F_206F_202A_202B_206D_200E_206B_206E_206C_206B_202B_202C_200F_202B_206C_206F_200F_200F_200E_206E_206F_202D_202E(stringBuilder, ' '); + num = -655734955; + break; + } + } + } - private sealed record FilteredGatheringPoint(DefaultGatheringPoint Point, List GatheringItemIds); + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_206F_206B_202E_202E_202E_206B_206D_206D_200D_200F_200F_200D_200D_200B_206E_206A_200E_202D_202D_200E_206D_202D_206E_200C_206F_206F_206F_200C_200D_200D_200D_200E_206C_202C_202A_200B_200B_200B_200F_202E(); + _200E_206D_202D_200E_206A_200E_206F_206C_206C_200E_202B_202E_200E_206C_202E_200C_202C_206A_200B_206D_202E_202A_206F_206D_202C_202B_206C_200E_202C_202E_202C_206C_200C_202A_200F_200E_206B_202B_200C_202B_202E(builder, global::_003CModule_003E._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(-243680172)); + _200D_206A_202B_200D_200D_206F_206F_200B_206A_206D_206C_206C_200D_206F_202A_200E_202C_206C_202A_206C_200B_200C_206C_202E_200D_206F_202C_200B_206F_206F_200C_206C_202E_206D_202A_200F_202D_200E_200C_206F_202E(builder, (object)Expansion); + _200E_206D_202D_200E_206A_200E_206F_206C_206C_200E_202B_202E_200E_206C_202E_200C_202C_206A_200B_206D_202E_202A_206F_206D_202C_202B_206C_200E_202C_202E_202C_206C_200C_202A_200F_200E_206B_202B_200C_202B_202E(builder, global::_003CModule_003E._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(-1921737749)); + _200D_206A_202B_200D_200D_206F_206F_200B_206A_206D_206C_206C_200D_206F_202A_200E_202C_206C_202A_206C_200B_200C_206C_202E_200D_206F_202C_200B_206F_206F_200C_206C_202E_206D_202A_200F_202D_200E_200C_206F_202E(builder, (object)Territories); + return true; + } + + [CompilerGenerated] + public bool Equals(FilteredExpansion? other) + { + int num = (((object)this == other) ? (-801738585) : (-801738586)); + while (true) + { + int num2 = num; + int num3 = -801738585; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 0: + return true; + case 1: + num = (((object)other == null) ? (-801738587) : (-801738591)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(Expansion, other.Expansion)) ? (-801738587) : (-801738590)); + break; + case 3: + num = -801738586; + break; + case 5: + return EqualityComparer>.Default.Equals(Territories, other.Territories); + case 6: + num = ((!_200B_200B_206B_200C_202A_206F_202B_202E_206D_202A_200C_206F_206C_202C_202B_200D_202D_202B_206B_202D_206B_202C_200F_200E_200C_202E_206F_206B_200B_200E_200F_202B_206B_206C_206B_200E_200F_206D_200C_200D_202E(EqualityContract, other.EqualityContract)) ? (-801738587) : (-801738589)); + break; + } + } + } + + bool IEquatable.Equals(FilteredExpansion? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206D_200F_200F_202E_202B_200E_200D_202E_202C_206B_200F_200D_206B_202B_200B_200C_200D_202A_200D_200E_206F_202D_200C_200B_202A_200C_202B_202D_202A_206E_202D_202C_202C_200D_202C_206F_200F_200B_200E_206B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202D_200B_200E_202D_202D_200C_200B_206D_206D_206F_200C_200D_202E_206C_202B_206E_200D_202C_206A_200B_200D_200F_200D_206A_200C_202B_202E_200D_200B_206D_206B_202C_206C_206B_206E_206F_200C_202C_202C_200F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200E_206D_202D_200E_206A_200E_206F_206C_206C_200E_202B_202E_200E_206C_202E_200C_202C_206A_200B_206D_202E_202A_206F_206D_202C_202B_206C_200E_202C_202E_202C_206C_200C_202A_200F_200E_206B_202B_200C_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206F_200F_200B_200D_202C_206A_202C_206A_206C_202E_202B_200C_202C_202C_206E_202B_202A_206F_206F_202A_202B_206D_200E_206B_206E_206C_206B_202B_202C_200F_202B_206C_206F_200F_200F_200E_206E_206F_202D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200E_200B_200B_200F_206B_200E_202C_200C_200E_200B_202D_202C_206C_202D_202E_202B_202E_202E_200B_202C_206D_202D_200E_206A_202D_202D_206E_202E_206C_206B_206A_200F_200E_202C_200E_200F_202B_200B_206A_200F_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200F_206F_206B_202E_202E_202E_206B_206D_206D_200D_200F_200F_200D_200D_200B_206E_206A_200E_202D_202D_200E_206D_202D_206E_200C_206F_206F_206F_200C_200D_200D_200D_200E_206C_202C_202A_200B_200B_200B_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200D_206A_202B_200D_200D_206F_206F_200B_206A_206D_206C_206C_200D_206F_202A_200E_202C_206C_202A_206C_200B_200C_206C_202E_200D_206F_202C_200B_206F_206F_200C_206C_202E_206D_202A_200F_202D_200E_200C_206F_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200B_200B_206B_200C_202A_206F_202B_202E_206D_202A_200C_206F_206C_202C_202B_200D_202D_202B_206B_202D_206B_202C_200F_200E_200C_202E_206F_206B_200B_200E_200F_202B_206B_206C_206B_200E_200F_206D_200C_200D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + private sealed record FilteredTerritory(TerritoryPoints Territory, List GatheringPoints) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202A_202C_202B_202D_200F_202A_206B_202E_202B_200F_200C_206F_200F_206E_206B_200B_200B_202E_202C_200F_206B_200B_200E_206D_206F_200B_200C_202C_206C_206C_206C_202C_202A_206C_206C_206E_206C_206E_200C_202E_202E(typeof(FilteredTerritory).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206E_206D_200F_206D_200C_206E_202B_206A_200F_206B_206E_206A_202C_206A_202B_200C_206E_202B_202B_200B_202C_200C_202C_202E_206B_202B_206B_202D_200F_200C_202A_206A_202B_206D_200E_206D_200C_202B_200C_200C_202E(); + _206A_202A_200D_202C_206E_200B_200B_206A_200C_200E_200B_202C_206C_200F_200D_202B_202C_202D_206F_206C_200F_206B_206C_200C_206F_200F_200C_202B_200D_202A_202B_206A_202D_202C_206A_206B_200F_202B_200D_200E_202E(stringBuilder, global::_003CModule_003E._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(-2065026974)); + _206A_202A_200D_202C_206E_200B_200B_206A_200C_200E_200B_202C_206C_200F_200D_202B_202C_202D_206F_206C_200F_206B_206C_200C_206F_200F_200C_202B_200D_202A_202B_206A_202D_202C_206A_206B_200F_202B_200D_200E_202E(stringBuilder, global::_003CModule_003E._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(117284107)); + int num = ((!PrintMembers(stringBuilder)) ? (-747900744) : (-747900741)); + while (true) + { + int num2 = num; + int num3 = -747900742; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _206F_206B_202E_202A_200E_206E_202A_200D_202B_202E_202A_206A_206B_206D_202D_202D_200C_206C_206F_200D_200C_202C_206F_200F_202A_206C_202C_206F_202A_206D_202B_206A_206B_206A_200F_202C_202A_206B_206C_202E_202E(stringBuilder, '}'); + return _202D_202E_200C_200E_202C_206D_200D_200F_202E_206E_206D_206A_200B_200E_200D_202E_202B_206E_206B_206B_200C_206D_206F_202A_200C_206E_206A_202D_202B_206C_206D_202A_200F_202B_200E_200F_202D_200B_206C_202E((object)stringBuilder); + case 1: + _206F_206B_202E_202A_200E_206E_202A_200D_202B_202E_202A_206A_206B_206D_202D_202D_200C_206C_206F_200D_200C_202C_206F_200F_202A_206C_202C_206F_202A_206D_202B_206A_206B_206A_200F_202C_202A_206B_206C_202E_202E(stringBuilder, ' '); + num = -747900744; + break; + case 0: + num = -747900741; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_206E_200B_200D_202A_206F_202A_200E_202C_206B_206D_206D_200E_202A_206A_202C_206A_202C_202D_202B_206C_200C_206A_202A_206A_200F_202A_202A_200B_206D_200C_202B_200B_200B_202B_200F_206A_206A_206B_202A_202E(); + _206A_202A_200D_202C_206E_200B_200B_206A_200C_200E_200B_202C_206C_200F_200D_202B_202C_202D_206F_206C_200F_206B_206C_200C_206F_200F_200C_202B_200D_202A_202B_206A_202D_202C_206A_206B_200F_202B_200D_200E_202E(builder, global::_003CModule_003E._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(-20142916)); + _206A_206D_206C_202D_200B_200C_200E_202E_202B_206D_202C_206F_202B_202D_200B_200E_202C_200B_206C_206E_202A_206C_206C_200D_202A_200D_206C_202E_202B_202C_200B_200E_200B_200D_206E_206E_206C_200D_206A_206D_202E(builder, (object)Territory); + _206A_202A_200D_202C_206E_200B_200B_206A_200C_200E_200B_202C_206C_200F_200D_202B_202C_202D_206F_206C_200F_206B_206C_200C_206F_200F_200C_202B_200D_202A_202B_206A_202D_202C_206A_206B_200F_202B_200D_200E_202E(builder, global::_003CModule_003E._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(2098415863)); + _206A_206D_206C_202D_200B_200C_200E_202E_202B_206D_202C_206F_202B_202D_200B_200E_202C_200B_206C_206E_202A_206C_206C_200D_202A_200D_206C_202E_202B_202C_200B_200E_200B_200D_206E_206E_206C_200D_206A_206D_202E(builder, (object)GatheringPoints); + return true; + } + + [CompilerGenerated] + public bool Equals(FilteredTerritory? other) + { + int num = (((object)this == other) ? 295431495 : 295431493); + while (true) + { + int num2 = num; + int num3 = 295431492; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return true; + case 0: + return false; + case 2: + num = 295431493; + break; + case 6: + num = ((!EqualityComparer.Default.Equals(Territory, other.Territory)) ? 295431492 : 295431488); + break; + case 4: + return EqualityComparer>.Default.Equals(GatheringPoints, other.GatheringPoints); + case 1: + num = (((object)other == null) ? 295431492 : 295431489); + break; + case 5: + num = ((!_200D_206C_200B_200C_206D_202A_200B_202E_200B_200B_200E_202B_200D_200D_206B_200B_206D_202B_206D_200D_202E_200E_202B_202C_206F_206C_206B_206C_202A_206A_202D_202A_202B_202A_202D_200D_200B_200F_206E_206E_202E(EqualityContract, other.EqualityContract)) ? 295431492 : 295431490); + break; + } + } + } + + bool IEquatable.Equals(FilteredTerritory? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202A_202C_202B_202D_200F_202A_206B_202E_202B_200F_200C_206F_200F_206E_206B_200B_200B_202E_202C_200F_206B_200B_200E_206D_206F_200B_200C_202C_206C_206C_206C_202C_202A_206C_206C_206E_206C_206E_200C_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206E_206D_200F_206D_200C_206E_202B_206A_200F_206B_206E_206A_202C_206A_202B_200C_206E_202B_202B_200B_202C_200C_202C_202E_206B_202B_206B_202D_200F_200C_202A_206A_202B_206D_200E_206D_200C_202B_200C_200C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206A_202A_200D_202C_206E_200B_200B_206A_200C_200E_200B_202C_206C_200F_200D_202B_202C_202D_206F_206C_200F_206B_206C_200C_206F_200F_200C_202B_200D_202A_202B_206A_202D_202C_206A_206B_200F_202B_200D_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206F_206B_202E_202A_200E_206E_202A_200D_202B_202E_202A_206A_206B_206D_202D_202D_200C_206C_206F_200D_200C_202C_206F_200F_202A_206C_202C_206F_202A_206D_202B_206A_206B_206A_200F_202C_202A_206B_206C_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202D_202E_200C_200E_202C_206D_200D_200F_202E_206E_206D_206A_200B_200E_200D_202E_202B_206E_206B_206B_200C_206D_206F_202A_200C_206E_206A_202D_202B_206C_206D_202A_200F_202B_200E_200F_202D_200B_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202B_206E_200B_200D_202A_206F_202A_200E_202C_206B_206D_206D_200E_202A_206A_202C_206A_202C_202D_202B_206C_200C_206A_202A_206A_200F_202A_202A_200B_206D_200C_202B_200B_200B_202B_200F_206A_206A_206B_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206A_206D_206C_202D_200B_200C_200E_202E_202B_206D_202C_206F_202B_202D_200B_200E_202C_200B_206C_206E_202A_206C_206C_200D_202A_200D_206C_202E_202B_202C_200B_200E_200B_200D_206E_206E_206C_200D_206A_206D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200D_206C_200B_200C_206D_202A_200B_202E_200B_200B_200E_202B_200D_200D_206B_200B_206D_202B_206D_200D_202E_200E_202B_202C_206F_206C_206B_206C_202A_206A_202D_202A_202B_202A_202D_200D_200B_200F_206E_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + private sealed record FilteredGatheringPoint(DefaultGatheringPoint Point, List GatheringItemIds) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_206F_200C_200E_200E_200E_206D_206B_200D_206A_202D_200E_202D_200F_200C_202A_200D_202B_206D_202D_206A_206F_200D_202A_200B_202D_202D_206E_200B_206E_206F_200E_202B_200B_206D_206E_206A_200F_206E_202E(typeof(FilteredGatheringPoint).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200C_200D_200E_206C_206F_206C_202E_200B_202B_200D_206A_202A_202E_202E_206D_206A_202D_202E_206A_200B_206A_200F_202C_202A_206C_202B_206B_200B_202C_206A_206F_200B_206D_202B_200E_202B_202C_202A_200B_202E_202E(); + _202B_202B_202E_206D_200D_206D_200C_202B_206F_206B_206D_202E_200E_202A_200B_206D_202A_200D_200B_202A_200E_206A_202C_200F_200C_206C_206B_206F_206C_206A_206D_200C_202D_206E_206B_206A_200B_202C_200E_202D_202E(stringBuilder, global::_003CModule_003E._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(974624529)); + _202B_202B_202E_206D_200D_206D_200C_202B_206F_206B_206D_202E_200E_202A_200B_206D_202A_200D_200B_202A_200E_206A_202C_200F_200C_206C_206B_206F_206C_206A_206D_200C_202D_206E_206B_206A_200B_202C_200E_202D_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? (-1211955640) : (-1211955637)); + while (true) + { + int num2 = num; + int num3 = -1211955638; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _202E_206D_200B_206E_206D_200D_202E_206E_200F_200B_202E_206B_200C_206C_206A_206E_202E_202D_202E_200B_206C_206A_200E_206F_202B_200D_202E_200D_202C_200E_206D_202A_206E_202B_200B_206B_202E_202C_202D_200E_202E(stringBuilder, '}'); + return _206E_206F_202C_202A_202E_206D_202E_202C_202A_206B_200B_202E_202B_206F_202E_200C_206A_206F_202E_206D_206A_202A_206B_200B_202E_200F_202A_200E_206B_206A_202A_206D_202C_200E_206D_200E_206B_200E_202D_200C_202E((object)stringBuilder); + case 1: + _202E_206D_200B_206E_206D_200D_202E_206E_200F_200B_202E_206B_200C_206C_206A_206E_202E_202D_202E_200B_206C_206A_200E_206F_202B_200D_202E_200D_202C_200E_206D_202A_206E_202B_200B_206B_202E_202C_202D_200E_202E(stringBuilder, ' '); + num = -1211955640; + break; + case 0: + num = -1211955637; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206B_200C_206C_200D_206F_206C_202E_206C_200F_202E_200B_206C_202E_202C_200B_200C_202B_206F_202C_202D_200F_200F_206C_206E_206C_202C_200B_202C_202A_202E_200C_202D_200D_206A_206C_200D_202D_206C_200E_206A_202E(); + _202B_202B_202E_206D_200D_206D_200C_202B_206F_206B_206D_202E_200E_202A_200B_206D_202A_200D_200B_202A_200E_206A_202C_200F_200C_206C_206B_206F_206C_206A_206D_200C_202D_206E_206B_206A_200B_202C_200E_202D_202E(builder, global::_003CModule_003E._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(-1934952826)); + _200B_202B_202E_200F_200F_206D_202C_206B_206A_200B_200F_200C_206C_202C_206A_206B_202A_200F_200D_202E_202A_200F_206D_200B_200B_200D_206F_202D_202E_206C_200B_200C_206C_200D_200F_202D_202E_206A_202E_206E_202E(builder, (object)Point); + _202B_202B_202E_206D_200D_206D_200C_202B_206F_206B_206D_202E_200E_202A_200B_206D_202A_200D_200B_202A_200E_206A_202C_200F_200C_206C_206B_206F_206C_206A_206D_200C_202D_206E_206B_206A_200B_202C_200E_202D_202E(builder, global::_003CModule_003E._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(1694264994)); + _200B_202B_202E_200F_200F_206D_202C_206B_206A_200B_200F_200C_206C_202C_206A_206B_202A_200F_200D_202E_202A_200F_206D_200B_200B_200D_206F_202D_202E_206C_200B_200C_206C_200D_200F_202D_202E_206A_202E_206E_202E(builder, (object)GatheringItemIds); + return true; + } + + [CompilerGenerated] + public bool Equals(FilteredGatheringPoint? other) + { + int num = (((object)this == other) ? 971204107 : 971204106); + while (true) + { + int num2 = num; + int num3 = 971204105; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((!_206D_200F_200D_202A_206A_202B_202A_200F_206F_206C_200C_202D_200B_200E_202A_202C_202E_206A_200E_206F_200E_202D_202C_206F_202A_206B_202A_200C_206E_202A_200D_200F_202C_200F_206E_200C_206E_200D_200D_206C_202E(EqualityContract, other.EqualityContract)) ? 971204105 : 971204109); + break; + case 6: + return EqualityComparer>.Default.Equals(GatheringItemIds, other.GatheringItemIds); + case 4: + num = ((!EqualityComparer.Default.Equals(Point, other.Point)) ? 971204105 : 971204111); + break; + case 2: + return true; + case 3: + num = (((object)other == null) ? 971204105 : 971204104); + break; + case 0: + return false; + case 5: + num = 971204106; + break; + } + } + } + + bool IEquatable.Equals(FilteredGatheringPoint? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_206F_200C_200E_200E_200E_206D_206B_200D_206A_202D_200E_202D_200F_200C_202A_200D_202B_206D_202D_206A_206F_200D_202A_200B_202D_202D_206E_200B_206E_206F_200E_202B_200B_206D_206E_206A_200F_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200C_200D_200E_206C_206F_206C_202E_200B_202B_200D_206A_202A_202E_202E_206D_206A_202D_202E_206A_200B_206A_200F_202C_202A_206C_202B_206B_200B_202C_206A_206F_200B_206D_202B_200E_202B_202C_202A_200B_202E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202B_202B_202E_206D_200D_206D_200C_202B_206F_206B_206D_202E_200E_202A_200B_206D_202A_200D_200B_202A_200E_206A_202C_200F_200C_206C_206B_206F_206C_206A_206D_200C_202D_206E_206B_206A_200B_202C_200E_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202E_206D_200B_206E_206D_200D_202E_206E_200F_200B_202E_206B_200C_206C_206A_206E_202E_202D_202E_200B_206C_206A_200E_206F_202B_200D_202E_200D_202C_200E_206D_202A_206E_202B_200B_206B_202E_202C_202D_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206E_206F_202C_202A_202E_206D_202E_202C_202A_206B_200B_202E_202B_206F_202E_200C_206A_206F_202E_206D_206A_202A_206B_200B_202E_200F_202A_200E_206B_206A_202A_206D_202C_200E_206D_200E_206B_200E_202D_200C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206B_200C_206C_200D_206F_206C_202E_206C_200F_202E_200B_206C_202E_202C_200B_200C_202B_206F_202C_202D_200F_200F_206C_206E_206C_202C_200B_202C_202A_202E_200C_202D_200D_206A_206C_200D_202D_206C_200E_206A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200B_202B_202E_200F_200F_206D_202C_206B_206A_200B_200F_200C_206C_202C_206A_206B_202A_200F_200D_202E_202A_200F_206D_200B_200B_200D_206F_202D_202E_206C_200B_200C_206C_200D_200F_202D_202E_206A_202E_206E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206D_200F_200D_202A_206A_202B_202A_200F_206F_206C_200C_202D_200B_200E_202A_202C_202E_206A_200E_206F_200E_202D_202C_206F_202A_206B_202A_200C_206E_202A_200D_200F_202C_200F_206E_200C_206E_200D_200D_206C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__15_0; + + public static Func, bool> _003C_003E9__15_29; + + public static Func>> _003C_003E9__15_1; + + public static Func<_003C_003Ef__AnonymousType4, uint> _003C_003E9__15_2; + + public static Func>, uint> _003C_003E9__15_3; + + public static Func<_003C_003Ef__AnonymousType4, uint> _003C_003E9__15_31; + + public static Func>, List> _003C_003E9__15_4; + + public static Func _003C_003E9__15_5; + + public static Func _003C_003E9__15_7; + + public static Func>> _003C_003E9__15_8; + + public static Func, bool> _003C_003E9__15_9; + + public static Func _003C_003E9__15_11; + + public static Func<_003C_003Ef__AnonymousType5, bool> _003C_003E9__15_13; + + public static Func<_003C_003Ef__AnonymousType5, int> _003C_003E9__15_14; + + public static Func<_003C_003Ef__AnonymousType5, string> _003C_003E9__15_15; + + public static Func _003C_003E9__15_16; + + public static Func _003C_003E9__15_17; + + public static Func _003C_003E9__15_18; + + public static Func _003C_003E9__15_32; + + public static Func _003C_003E9__15_33; + + public static Func> _003C_003E9__15_19; + + public static Func<_003C_003Ef__AnonymousType6, bool> _003C_003E9__15_20; + + public static Func _003C_003E9__15_22; + + public static Func _003C_003E9__15_23; + + public static Func _003C_003E9__15_24; + + public static Func _003C_003E9__15_25; + + public static Func _003C_003E9__15_26; + + public static Func> _003C_003E9__15_34; + + public static Func, DefaultGatheringPoint>, TerritoryPoints> _003C_003E9__15_35; + + public static Func _003C_003E9__15_36; + + public static Func, ExpansionPoints> _003C_003E9__15_27; + + public static Func _003C_003E9__15_28; + + public static Predicate _003C_003E9__19_0; + + public static Func _003C_003E9__19_3; + + public static Func _003C_003E9__20_1; + + public static Func _003C_003E9__20_2; + + public static Predicate _003C_003E9__21_1; + + public static Func _003C_003E9__21_3; + + public static Func _003C_003E9__21_4; + + public static Func _003C_003E9__23_7; + + public static Func _003C_003E9__23_4; + + public static Func _003C_003E9__23_5; + + public static Func _003C_003E9__23_6; + + public static Func _003C_003E9__23_0; + + public static Func _003C_003E9__23_1; + + public static Func _003C_003E9__23_2; + + public static Func _003C_003E9__23_3; + + internal bool _003C_002Ector_003Eb__15_0(GatheringLeveRoute x) + { + return x.GatheringPoint[0].RowId != 0; + } + + internal IEnumerable<_003C_003Ef__AnonymousType4> _003C_002Ector_003Eb__15_1(GatheringLeveRoute x) + { + _003C_003Ec__DisplayClass15_1 CS_0024_003C_003E8__locals2 = new _003C_003Ec__DisplayClass15_1 + { + x = x + }; + return from y in CS_0024_003C_003E8__locals2.x.GatheringPoint + where y.RowId != 0 + select new + { + RouteId = CS_0024_003C_003E8__locals2.x.RowId, + GatheringPointId = y.RowId + }; + } + + internal bool _003C_002Ector_003Eb__15_29(RowRef y) + { + return y.RowId != 0; + } + + internal uint _003C_002Ector_003Eb__15_2(_003C_003Ef__AnonymousType4 x) + { + return x.RouteId; + } + + internal uint _003C_002Ector_003Eb__15_3(IGrouping> x) + { + return x.Key; + } + + internal List _003C_002Ector_003Eb__15_4(IGrouping> x) + { + return x.Select(y => y.GatheringPointId).ToList(); + } + + internal uint _003C_002Ector_003Eb__15_31(_003C_003Ef__AnonymousType4 y) + { + return y.GatheringPointId; + } + + internal bool _003C_002Ector_003Eb__15_5(Leve x) + { + return x.RowId != 0; + } + + internal bool _003C_002Ector_003Eb__15_7(GatheringLeve? x) + { + return x.HasValue; + } + + internal IEnumerable> _003C_002Ector_003Eb__15_8(GatheringLeve x) + { + return x.Route; + } + + internal bool _003C_002Ector_003Eb__15_9(RowRef y) + { + return y.RowId != 0; + } + + internal bool _003C_002Ector_003Eb__15_11(GatheringItem x) + { + int num = ((x.RowId == 0) ? (-1719090108) : (-1719090105)); + while (true) + { + int num2 = num; + int num3 = -1719090107; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0049; + case 2: + return x.GatheringItemLevel.RowId != 0; + case 1: + return false; + } + continue; + IL_0049: + num = -1719090105; + } + } + + internal bool _003C_002Ector_003Eb__15_13(_003C_003Ef__AnonymousType5 x) + { + return !_206B_206A_202A_206E_202C_200D_200F_206B_206E_206F_202B_202C_202B_206A_202C_200E_200E_206C_200F_202E_206A_206A_202B_202D_200E_202C_206A_206F_202C_206F_200C_200F_202D_206B_200F_202E_200F_206D_202B_206A_202E(x.Name); + } + + internal int _003C_002Ector_003Eb__15_14(_003C_003Ef__AnonymousType5 x) + { + return x.GatheringItemId; + } + + internal string _003C_002Ector_003Eb__15_15(_003C_003Ef__AnonymousType5 x) + { + return x.Name; + } + + internal bool _003C_002Ector_003Eb__15_16(GatheringPoint x) + { + return x.GatheringPointBase.RowId != 0; + } + + internal bool _003C_002Ector_003Eb__15_17(GatheringPoint x) + { + uint rowId = x.GatheringPointBase.RowId; + int num = ((rowId < 653) ? (-647467167) : (-647467166)); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = -647467168; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -647467166; + break; + case 4: + return result; + case 0: + result = false; + num = -647467164; + break; + case 1: + result = true; + num = -647467164; + break; + case 2: + num = ((rowId <= 680) ? (-647467168) : (-647467167)); + break; + } + } + } + + internal uint _003C_002Ector_003Eb__15_18(GatheringPoint x) + { + return x.GatheringPointBase.RowId; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal _003C_003Ef__AnonymousType6 _003C_002Ector_003Eb__15_19(GatheringPoint x) + { + uint rowId = x.RowId; + GatheringPointId id = _202B_206E_202C_202E_206B_200B_206F_206E_206B_202A_206B_202E_206D_202E_200E_206F_206F_206F_206A_206C_200C_206C_206A_202D_200F_206A_200F_206D_206F_206D_202C_202E_206D_202C_200C_200E_206C_202B_202C_206E_202E((ushort)x.GatheringPointBase.RowId); + uint rowId2 = x.GatheringPointBase.Value.GatheringType.RowId; + int num = ((rowId2 <= 1) ? (-232485595) : (-232485593)); + EClassJob eClassJob = default(EClassJob); + while (true) + { + int num2 = num; + int num3 = -232485595; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + { + EClassJob classJob = eClassJob; + byte gatheringLevel = x.GatheringPointBase.Value.GatheringLevel; + List gatheringItemIds = (from y in x.GatheringPointBase.Value.Item + where y.RowId != 0 + select (ushort)y.RowId).ToList(); + byte expansion = ((byte?)x.TerritoryType.ValueNullable?.ExVersion.RowId) ?? byte.MaxValue; + ushort territoryType = (ushort)x.TerritoryType.RowId; + string territoryName = x.TerritoryType.ValueNullable?.PlaceName.ValueNullable?.Name.ToString(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2); + defaultInterpolatedStringHandler.AppendFormatted(x.GatheringPointBase.RowId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1687715325)); + defaultInterpolatedStringHandler.AppendFormatted(x.PlaceName.ValueNullable?.Name); + return new + { + GatheringPointId = rowId, + Point = new DefaultGatheringPoint(id, classJob, gatheringLevel, gatheringItemIds, (EExpansionVersion)expansion, territoryType, territoryName, defaultInterpolatedStringHandler.ToStringAndClear()) + }; + } + case 1: + eClassJob = EClassJob.Botanist; + num = -232485599; + break; + case 3: + num = -232485593; + break; + case 2: + num3 = 2; + num4 = (int)rowId2; + num = (((uint)(~(~num4 + num3)) <= 1u) ? (-232485596) : (-232485597)); + break; + case 0: + eClassJob = EClassJob.Miner; + num = -232485599; + break; + case 6: + num = -232485600; + break; + case 5: + eClassJob = EClassJob.Fisher; + num = -232485599; + break; + } + } + } + + internal bool _003C_002Ector_003Eb__15_32(RowRef y) + { + return y.RowId != 0; + } + + internal ushort _003C_002Ector_003Eb__15_33(RowRef y) + { + return (ushort)y.RowId; + } + + internal bool _003C_002Ector_003Eb__15_20(_003C_003Ef__AnonymousType6 x) + { + return x.Point.ClassJob != EClassJob.Fisher; + } + + internal bool _003C_002Ector_003Eb__15_22(DefaultGatheringPoint x) + { + return x != null; + } + + internal bool _003C_002Ector_003Eb__15_23(DefaultGatheringPoint x) + { + return x.Expansion != (EExpansionVersion)255; + } + + internal bool _003C_002Ector_003Eb__15_24(DefaultGatheringPoint x) + { + return x.GatheringItemIds.Count > 0; + } + + internal bool _003C_002Ector_003Eb__15_25(DefaultGatheringPoint x) + { + ushort territoryType = x.TerritoryType; + int num = ((territoryType == 901) ? (-1510043061) : (-1510043064)); + while (true) + { + int num2 = num; + int num3 = -1510043062; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004f; + case 2: + return territoryType != 929; + case 1: + return false; + } + continue; + IL_004f: + num = -1510043064; + } + } + + internal EExpansionVersion _003C_002Ector_003Eb__15_26(DefaultGatheringPoint x) + { + return x.Expansion; + } + + internal ExpansionPoints _003C_002Ector_003Eb__15_27(IGrouping x) + { + return new ExpansionPoints(x.Key, (from y in x.GroupBy([MethodImpl(MethodImplOptions.NoInlining)] (DefaultGatheringPoint y) => + { + ushort territoryType = y.TerritoryType; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2); + defaultInterpolatedStringHandler.AppendFormatted((!_206B_206A_202A_206E_202C_200D_200F_206B_206E_206F_202B_202C_202B_206A_202C_200E_200E_206C_200F_202E_206A_206A_202B_202D_200E_202C_206A_206F_202C_206F_200C_200F_202D_206B_200F_202E_200F_206D_202B_206A_202E(y.TerritoryName)) ? y.TerritoryName : global::_003CModule_003E._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(1520869652)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1473546846)); + defaultInterpolatedStringHandler.AppendFormatted(y.TerritoryType); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1618480346)); + return new + { + TerritoryType = territoryType, + TerritoryName = defaultInterpolatedStringHandler.ToStringAndClear() + }; + }) + select new TerritoryPoints(y.Key.TerritoryType, y.Key.TerritoryName, y.ToList()) into y + where y.Points.Count > 0 + select y).ToList()); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal _003C_003Ef__AnonymousType7 _003C_002Ector_003Eb__15_34(DefaultGatheringPoint y) + { + ushort territoryType = y.TerritoryType; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2); + defaultInterpolatedStringHandler.AppendFormatted((!_206B_206A_202A_206E_202C_200D_200F_206B_206E_206F_202B_202C_202B_206A_202C_200E_200E_206C_200F_202E_206A_206A_202B_202D_200E_202C_206A_206F_202C_206F_200C_200F_202D_206B_200F_202E_200F_206D_202B_206A_202E(y.TerritoryName)) ? y.TerritoryName : global::_003CModule_003E._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(1520869652)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1473546846)); + defaultInterpolatedStringHandler.AppendFormatted(y.TerritoryType); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1618480346)); + return new + { + TerritoryType = territoryType, + TerritoryName = defaultInterpolatedStringHandler.ToStringAndClear() + }; + } + + internal TerritoryPoints _003C_002Ector_003Eb__15_35(IGrouping<_003C_003Ef__AnonymousType7, DefaultGatheringPoint> y) + { + return new TerritoryPoints(y.Key.TerritoryType, y.Key.TerritoryName, y.ToList()); + } + + internal bool _003C_002Ector_003Eb__15_36(TerritoryPoints y) + { + return y.Points.Count > 0; + } + + internal EExpansionVersion _003C_002Ector_003Eb__15_28(ExpansionPoints x) + { + return x.ExpansionVersion; + } + + internal bool _003CUpdateFilter_003Eb__19_0(string _) + { + return true; + } + + internal bool _003CUpdateFilter_003Eb__19_3(FilteredExpansion x) + { + return x != null; + } + + internal bool _003CFilterExpansion_003Eb__20_1(FilteredTerritory x) + { + return x != null; + } + + internal FilteredTerritory _003CFilterExpansion_003Eb__20_2(FilteredTerritory x) + { + return x; + } + + internal bool _003CFilterTerritory_003Eb__21_1(string _) + { + return true; + } + + internal bool _003CFilterTerritory_003Eb__21_3(FilteredGatheringPoint x) + { + return x != null; + } + + internal FilteredGatheringPoint _003CFilterTerritory_003Eb__21_4(FilteredGatheringPoint x) + { + return x; + } + + internal bool _003CRefreshCounts_003Eb__23_7(ushort x) + { + return x < 10000; + } + + internal int _003CRefreshCounts_003Eb__23_4(DefaultGatheringPoint x) + { + return x.TotalItems; + } + + internal int _003CRefreshCounts_003Eb__23_5(DefaultGatheringPoint x) + { + return x.CompletedItems; + } + + internal bool _003CRefreshCounts_003Eb__23_6(DefaultGatheringPoint x) + { + return x.IsComplete; + } + + internal int _003CRefreshCounts_003Eb__23_0(TerritoryPoints x) + { + return x.TotalItems; + } + + internal int _003CRefreshCounts_003Eb__23_1(TerritoryPoints x) + { + return x.CompletedItems; + } + + internal int _003CRefreshCounts_003Eb__23_2(TerritoryPoints x) + { + return x.TotalPoints; + } + + internal int _003CRefreshCounts_003Eb__23_3(TerritoryPoints x) + { + return x.CompletedPoints; + } + + static bool _206B_206A_202A_206E_202C_200D_200F_206B_206E_206F_202B_202C_202B_206A_202C_200E_200E_206C_200F_202E_206A_206A_202B_202D_200E_202C_206A_206F_202C_206F_200C_200F_202D_206B_200F_202E_200F_206D_202B_206A_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static GatheringPointId _202B_206E_202C_202E_206B_200B_206F_206E_206B_202A_206B_202E_206D_202E_200E_206F_206F_206F_206A_206C_200C_206C_206A_202D_200F_206A_200F_206D_206F_206D_202C_202E_206D_202C_200C_200E_206C_202B_202C_206E_202E(ushort P_0) + { + return new GatheringPointId(P_0); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass15_0 + { + public GatheringJournalComponent _003C_003E4__this; + + public ExcelSheet gatheringLeveSheet; + + public Dictionary> routeToGatheringPoint; + + public ExcelSheet itemSheet; + + public HashSet leveGatheringPoints; + + public ExcelSheet territoryTypeSheet; + + internal GatheringLeve? _003C_002Ector_003Eb__6(Leve x) + { + return gatheringLeveSheet.GetRowOrDefault(x.DataId.RowId); + } + + internal IEnumerable _003C_002Ector_003Eb__10(RowRef y) + { + return routeToGatheringPoint[y.RowId]; + } + + internal _003C_003Ef__AnonymousType5 _003C_002Ector_003Eb__12(GatheringItem x) + { + return new + { + GatheringItemId = (int)x.RowId, + Name = itemSheet.GetRowOrDefault(x.Item.RowId)?.Name.ToString() + }; + } + + internal DefaultGatheringPoint _003C_002Ector_003Eb__21(_003C_003Ef__AnonymousType6 x) + { + int num = ((!leveGatheringPoints.Contains(x.GatheringPointId)) ? (-1847691260) : (-1847691259)); + GatheringRoot gatheringRoot = default(GatheringRoot); + while (true) + { + int num2 = num; + int num3 = -1847691263; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1847691259; + break; + case 2: + { + TerritoryType row = territoryTypeSheet.GetRow(_206B_200F_202A_206E_206E_200D_200E_206C_200B_200E_206A_202E_202C_200B_202E_200B_206A_206C_206D_202E_202A_200F_202D_200F_200B_206B_206B_202E_200F_202C_200E_200C_200C_200C_202E_206B_200F_200D_206E_206F_202E(_206E_200B_202D_200C_202B_202A_202A_200C_206C_202C_206B_200D_200E_202C_206A_202B_202C_200E_206E_202C_206A_200F_200D_206A_202E_202C_206A_206E_200F_206A_206A_206B_202B_200D_200C_202B_202E_200F_200D_200F_202E(gatheringRoot).Last())); + return x.Point with + { + Expansion = (EExpansionVersion)row.ExVersion.RowId, + TerritoryType = (ushort)row.RowId, + TerritoryName = row.PlaceName.ValueNullable?.Name.ToString() + }; + } + case 4: + return null; + case 5: + num = ((x.Point.TerritoryType != 1) ? (-1847691264) : (-1847691262)); + break; + case 1: + return x.Point; + case 3: + num = ((!_003C_003E4__this._gatheringPointRegistry.TryGetGatheringPoint(x.Point.Id, out gatheringRoot)) ? (-1847691264) : (-1847691261)); + break; + } + } + } + + static List _206E_200B_202D_200C_202B_202A_202A_200C_206C_202C_206B_200D_200E_202C_206A_202B_202C_200E_206E_202C_206A_200F_200D_206A_202E_202C_206A_206E_200F_206A_206A_206B_202B_200D_200C_202B_202E_200F_200D_200F_202E(GatheringRoot P_0) + { + return P_0.Steps; + } + + static ushort _206B_200F_202A_206E_206E_200D_200E_206C_200B_200E_206A_202E_202C_200B_202E_200B_206A_206C_206D_202E_202A_200F_202D_200F_200B_206B_206B_202E_200F_202C_200E_200C_200C_200C_202E_206B_200F_200D_206E_206F_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass15_1 + { + public GatheringLeveRoute x; + + internal _003C_003Ef__AnonymousType4 _003C_002Ector_003Eb__30(RowRef y) + { + return new + { + RouteId = x.RowId, + GatheringPointId = y.RowId + }; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass19_0 + { + public GatheringJournalComponent _003C_003E4__this; + + public Predicate match; + + internal bool _003CUpdateFilter_003Eb__1(string x) + { + return _202D_206D_206E_206D_206E_202A_200F_206A_206C_202A_202D_200F_200C_202D_200E_206A_202E_206D_206D_202D_206B_200C_202A_200F_206B_206C_200F_202A_202C_206A_200F_206D_206C_202B_200F_206D_206C_202A_202B_200C_202E(x, _003C_003E4__this._searchText, StringComparison.CurrentCultureIgnoreCase); + } + + internal FilteredExpansion _003CUpdateFilter_003Eb__2(ExpansionPoints section) + { + return _003C_003E4__this.FilterExpansion(section, match); + } + + static bool _202D_206D_206E_206D_206E_202A_200F_206A_206C_202A_202D_200F_200C_202D_200E_206A_202E_206D_206D_202D_206B_200C_202A_200F_206B_206C_200F_202A_202C_206A_200F_206D_206C_202B_200F_206D_206C_202A_202B_200C_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + } private readonly IDalamudPluginInterface _pluginInterface; @@ -82,6 +1954,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) @@ -115,66 +1991,170 @@ internal sealed class GatheringJournalComponent where y.RowId != 0 select y).SelectMany((RowRef y) => routeToGatheringPoint[y.RowId]).Distinct().ToHashSet(); ExcelSheet itemSheet = dataManager.GetExcelSheet(); - _gatheringItems = (from x in dataManager.GetExcelSheet() - where x.RowId != 0 && x.GatheringItemLevel.RowId != 0 + _gatheringItems = (from x in dataManager.GetExcelSheet().Where(delegate(GatheringItem x) + { + int num = ((x.RowId == 0) ? (-1719090108) : (-1719090105)); + while (true) + { + int num2 = num; + int num3 = -1719090107; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0049; + case 2: + return x.GatheringItemLevel.RowId != 0; + case 1: + return false; + } + continue; + IL_0049: + num = -1719090105; + } + }) select new { GatheringItemId = (int)x.RowId, Name = itemSheet.GetRowOrDefault(x.Item.RowId)?.Name.ToString() } into x - where !string.IsNullOrEmpty(x.Name) + where !_003C_003Ec._206B_206A_202A_206E_202C_200D_200F_206B_206E_206F_202B_202C_202B_206A_202C_200E_200E_206C_200F_202E_206A_206A_202B_202D_200E_202C_206A_206F_202C_206F_200C_200F_202D_206B_200F_202E_200F_206D_202B_206A_202E(x.Name) select x).ToDictionary(x => x.GatheringItemId, x => x.Name); _gatheringPointsByExpansion = (from x in (from DefaultGatheringPoint x in from x in (from x in (from x in dataManager.GetExcelSheet() where x.GatheringPointBase.RowId != 0 select x).Where(delegate(GatheringPoint x) { uint rowId = x.GatheringPointBase.RowId; - return (rowId < 653 || rowId > 680) ? true : false; - }).DistinctBy((GatheringPoint x) => x.GatheringPointBase.RowId).Select(delegate(GatheringPoint x) + int num = ((rowId < 653) ? (-647467167) : (-647467166)); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = -647467168; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -647467166; + break; + case 4: + return result; + case 0: + result = false; + num = -647467164; + break; + case 1: + result = true; + num = -647467164; + break; + case 2: + num = ((rowId <= 680) ? (-647467168) : (-647467167)); + break; + } + } + }).DistinctBy((GatheringPoint x) => x.GatheringPointBase.RowId).Select([MethodImpl(MethodImplOptions.NoInlining)] (GatheringPoint x) => { uint rowId = x.RowId; - GatheringPointId id = new GatheringPointId((ushort)x.GatheringPointBase.RowId); - EClassJob classJob; - switch (x.GatheringPointBase.Value.GatheringType.RowId) + GatheringPointId id = _003C_003Ec._202B_206E_202C_202E_206B_200B_206F_206E_206B_202A_206B_202E_206D_202E_200E_206F_206F_206F_206A_206C_200C_206C_206A_202D_200F_206A_200F_206D_206F_206D_202C_202E_206D_202C_200C_200E_206C_202B_202C_206E_202E((ushort)x.GatheringPointBase.RowId); + uint rowId2 = x.GatheringPointBase.Value.GatheringType.RowId; + int num = ((rowId2 <= 1) ? (-232485595) : (-232485593)); + EClassJob eClassJob = default(EClassJob); + while (true) { - case 0u: - case 1u: - classJob = EClassJob.Miner; - break; - case 2u: - case 3u: - classJob = EClassJob.Botanist; - break; - default: - classJob = EClassJob.Fisher; - break; + int num2 = num; + int num3 = -232485595; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + { + EClassJob classJob = eClassJob; + byte gatheringLevel = x.GatheringPointBase.Value.GatheringLevel; + List gatheringItemIds = (from y in x.GatheringPointBase.Value.Item + where y.RowId != 0 + select (ushort)y.RowId).ToList(); + byte expansion = ((byte?)x.TerritoryType.ValueNullable?.ExVersion.RowId) ?? byte.MaxValue; + ushort territoryType = (ushort)x.TerritoryType.RowId; + string territoryName = x.TerritoryType.ValueNullable?.PlaceName.ValueNullable?.Name.ToString(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2); + defaultInterpolatedStringHandler.AppendFormatted(x.GatheringPointBase.RowId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1687715325)); + defaultInterpolatedStringHandler.AppendFormatted(x.PlaceName.ValueNullable?.Name); + return new + { + GatheringPointId = rowId, + Point = new DefaultGatheringPoint(id, classJob, gatheringLevel, gatheringItemIds, (EExpansionVersion)expansion, territoryType, territoryName, defaultInterpolatedStringHandler.ToStringAndClear()) + }; + } + case 1: + eClassJob = EClassJob.Botanist; + num = -232485599; + break; + case 3: + num = -232485593; + break; + case 2: + num3 = 2; + num4 = (int)rowId2; + num = (((uint)(~(~num4 + num3)) <= 1u) ? (-232485596) : (-232485597)); + break; + case 0: + eClassJob = EClassJob.Miner; + num = -232485599; + break; + case 6: + num = -232485600; + break; + case 5: + eClassJob = EClassJob.Fisher; + num = -232485599; + break; + } } - return new - { - GatheringPointId = rowId, - Point = new DefaultGatheringPoint(id, classJob, x.GatheringPointBase.Value.GatheringLevel, (from y in x.GatheringPointBase.Value.Item - where y.RowId != 0 - select (ushort)y.RowId).ToList(), (EExpansionVersion)(((byte?)x.TerritoryType.ValueNullable?.ExVersion.RowId) ?? byte.MaxValue), (ushort)x.TerritoryType.RowId, x.TerritoryType.ValueNullable?.PlaceName.ValueNullable?.Name.ToString(), $"{x.GatheringPointBase.RowId} - {x.PlaceName.ValueNullable?.Name}") - }; }) where x.Point.ClassJob != EClassJob.Fisher select x).Select(x => { - if (leveGatheringPoints.Contains(x.GatheringPointId)) + int num = ((!leveGatheringPoints.Contains(x.GatheringPointId)) ? (-1847691260) : (-1847691259)); + GatheringRoot gatheringRoot = default(GatheringRoot); + while (true) { - return (DefaultGatheringPoint)null; - } - if (x.Point.TerritoryType == 1 && gatheringJournalComponent._gatheringPointRegistry.TryGetGatheringPoint(x.Point.Id, out GatheringRoot gatheringRoot)) - { - TerritoryType row = territoryTypeSheet.GetRow(gatheringRoot.Steps.Last().TerritoryId); - return x.Point with + int num2 = num; + int num3 = -1847691263; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - Expansion = (EExpansionVersion)row.ExVersion.RowId, - TerritoryType = (ushort)row.RowId, - TerritoryName = row.PlaceName.ValueNullable?.Name.ToString() - }; + case 0: + num = -1847691259; + break; + case 2: + { + TerritoryType row = territoryTypeSheet.GetRow(_003C_003Ec__DisplayClass15_0._206B_200F_202A_206E_206E_200D_200E_206C_200B_200E_206A_202E_202C_200B_202E_200B_206A_206C_206D_202E_202A_200F_202D_200F_200B_206B_206B_202E_200F_202C_200E_200C_200C_200C_202E_206B_200F_200D_206E_206F_202E(_003C_003Ec__DisplayClass15_0._206E_200B_202D_200C_202B_202A_202A_200C_206C_202C_206B_200D_200E_202C_206A_202B_202C_200E_206E_202C_206A_200F_200D_206A_202E_202C_206A_206E_200F_206A_206A_206B_202B_200D_200C_202B_202E_200F_200D_200F_202E(gatheringRoot).Last())); + return x.Point with + { + Expansion = (EExpansionVersion)row.ExVersion.RowId, + TerritoryType = (ushort)row.RowId, + TerritoryName = row.PlaceName.ValueNullable?.Name.ToString() + }; + } + case 4: + return (DefaultGatheringPoint)null; + case 5: + num = ((x.Point.TerritoryType != 1) ? (-1847691264) : (-1847691262)); + break; + case 1: + return x.Point; + case 3: + num = ((!gatheringJournalComponent._gatheringPointRegistry.TryGetGatheringPoint(x.Point.Id, out gatheringRoot)) ? (-1847691264) : (-1847691261)); + break; + } } - return x.Point; }) where x != null select x @@ -183,184 +2163,465 @@ internal sealed class GatheringJournalComponent select x).Where(delegate(DefaultGatheringPoint x) { ushort territoryType = x.TerritoryType; - return territoryType != 901 && territoryType != 929; + int num = ((territoryType == 901) ? (-1510043061) : (-1510043064)); + while (true) + { + int num2 = num; + int num3 = -1510043062; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004f; + case 2: + return territoryType != 929; + case 1: + return false; + } + continue; + IL_004f: + num = -1510043064; + } }) group x by x.Expansion into x - select new ExpansionPoints(x.Key, (from y in x - group y by new + select new ExpansionPoints(x.Key, (from y in x.GroupBy([MethodImpl(MethodImplOptions.NoInlining)] (DefaultGatheringPoint y) => { - TerritoryType = y.TerritoryType, - TerritoryName = $"{((!string.IsNullOrEmpty(y.TerritoryName)) ? y.TerritoryName : "???")} ({y.TerritoryType})" - } into y + ushort territoryType = y.TerritoryType; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2); + defaultInterpolatedStringHandler.AppendFormatted((!_003C_003Ec._206B_206A_202A_206E_202C_200D_200F_206B_206E_206F_202B_202C_202B_206A_202C_200E_200E_206C_200F_202E_206A_206A_202B_202D_200E_202C_206A_206F_202C_206F_200C_200F_202D_206B_200F_202E_200F_206D_202B_206A_202E(y.TerritoryName)) ? y.TerritoryName : global::_003CModule_003E._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(1520869652)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1473546846)); + defaultInterpolatedStringHandler.AppendFormatted(y.TerritoryType); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1618480346)); + return new + { + TerritoryType = territoryType, + TerritoryName = defaultInterpolatedStringHandler.ToStringAndClear() + }; + }) select new TerritoryPoints(y.Key.TerritoryType, y.Key.TerritoryName, y.ToList()) into y where y.Points.Count > 0 select y).ToList()) into x orderby x.ExpansionVersion select x).ToList(); - gameInteropProvider.InitializeFromAttributes(this); + _206B_202E_202E_200F_202B_202E_206B_200D_202E_200F_202C_202A_200F_206A_202C_202A_202D_206A_200F_206F_200D_206D_200D_202E_206C_200B_206C_202D_206C_206C_202D_206E_206B_202B_206C_206E_200B_200F_206E_206C_202E(gameInteropProvider, (object)this); } - public void DrawGatheringItems() + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe void DrawGatheringItems() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Gathering Points"); - if (!tabItemDisposable) + int num = ((!UiThemeUtils.SearchInput(global::_003CModule_003E._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(891194183), ref _searchText, -1E-45f, global::_003CModule_003E._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(1918408530))) ? (-916943759) : (-916943757)); + int num16 = default(int); + while (true) { - return; - } - ImGui.SetNextItemWidth(ImGui.GetContentRegionAvail().X); - if (ImGui.InputTextWithHint(string.Empty, "Search areas, gathering points and items", ref _searchText, 256)) - { - UpdateFilter(); - } - if (_filteredExpansions.Count > 0) - { - using (ImRaii.TableDisposable tableDisposable = ImRaii.Table("GatheringPoints", 3, ImGuiTableFlags.NoSavedSettings)) + int num2 = num; + int num3 = -916943758; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - if (!tableDisposable) + case 3: + _206D_200C_206A_202B_202A_202C_200D_206E_200B_200B_206B_206C_200D_202D_206B_200E_206C_202E_202E_200C_200F_200E_200F_206E_200B_202E_200D_200C_206F_206A_206F_206A_202A_200E_206D_200D_206B_200B_200E_206E_202E(); + if (_flatRows.Count > 0) { - 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); + num = -916943760; + break; } + UiThemeUtils.EmptyState(FontAwesomeIcon.Leaf, global::_003CModule_003E._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(595845560)); return; + case 1: + UpdateFilter(); + num = -916943759; + break; + case 0: + num = -916943757; + break; + case 2: + { + IDisposable disposable = _206D_202A_200E_200C_202C_200F_206A_200E_202B_206D_202A_200E_202D_206F_200F_206C_202A_200B_206F_200C_206A_206D_206E_202E_206C_202E_206B_200B_206F_202C_200D_202C_202E_200B_206F_200C_202C_200B_200F_202D_202E(_202C_202D_200F_202D_202D_206F_206F_200F_206A_206C_202D_206E_202E_200B_200F_202C_206A_200F_206A_202C_202D_200C_200D_200F_200D_206B_200D_206F_200E_206C_202E_200C_206E_206C_206F_200B_200B_200C_202C_200F_202E(_202D_202A_206B_202C_202E_206A_202E_206E_206C_200C_202E_202D_200D_206E_202C_206F_200E_202E_206F_202A_202D_206C_200C_206C_200F_200D_202A_200C_206B_206E_200E_202B_206F_202A_200B_200F_202E_206B_202D_202D_202E(_pluginInterface))); + float x; + try + { + x = _206B_202C_200F_206B_200F_202C_202D_206B_206A_206A_206F_202E_206C_206F_200B_200D_206E_206C_206D_206A_202E_206D_202A_202A_200E_206F_200E_206A_206D_200C_206E_202D_200F_206C_206A_206C_206E_206A_200F_202C_202E((ImU8String)_206C_206B_206B_202E_202A_206B_206C_206C_200B_200E_200D_206B_200F_200D_206A_202C_202B_200F_206D_206E_206E_206A_206F_202B_206C_202B_200D_202C_200B_206E_206B_200F_200E_206F_200F_206F_200B_200D_202D_206F_202E(FontAwesomeIcon.Check), false, -1f).X; + } + finally + { + num = ((disposable == null) ? 1660478905 : 1660478904); + while (true) + { + int num7 = num; + num3 = 1660478905; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_010e; + case 1: + _200E_200B_206C_200B_202D_206E_200D_200F_202A_206C_206D_206C_206B_200D_206E_206A_200F_202E_200C_206A_206A_206E_206E_200F_200E_206C_206B_202C_206E_206A_200B_202C_202C_200F_202D_206F_206C_206E_202D_200D_202E(disposable); + num = 1660478905; + break; + case 2: + num = 1660478904; + break; + } + continue; + end_IL_010e: + break; + } + } + float fontGlobalScale = _200B_202C_206F_200C_202E_206D_202B_206B_206D_206F_200D_202C_200C_206D_206E_206E_202B_202A_202D_202B_200B_200D_200B_200C_206D_206C_206E_202E_202A_202B_200B_202D_202D_202B_206B_200E_200E_202E_200D_206D_202E().FontGlobalScale; + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(744259125), 3, ImGuiTableFlags.NoSavedSettings | ImGuiTableFlags.ScrollY); + num = ((!(!tableDisposable)) ? 439090384 : 439090385); + while (true) + { + int num8 = num; + num3 = 439090384; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + goto IL_01d1; + case 1: + return; + case 0: + { + _200D_200F_202C_200B_202C_200E_200D_202D_206F_200F_206A_206C_206E_206B_202E_202C_200E_206E_206C_206E_200C_206B_200C_206C_200D_202B_206F_202B_206F_206E_202B_202C_200E_202D_202A_200C_202A_200B_202A_200C_202E((ImU8String)global::_003CModule_003E._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(-267283137), ImGuiTableColumnFlags.NoHide, 0f, 0u); + _200D_200F_202C_200B_202C_200E_200D_202D_206F_200F_206A_206C_206E_206B_202E_202C_200E_206E_206C_206E_200C_206B_200C_206C_200D_202B_206F_202B_206F_206E_202B_202C_200E_202D_202A_200C_202A_200B_202A_200C_202E((ImU8String)global::_003CModule_003E._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(1008226786), ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale, 0u); + _200D_200F_202C_200B_202C_200E_200D_202D_206F_200F_206A_206C_206E_206B_202E_202C_200E_206E_206C_206E_200C_206B_200C_206C_200D_202B_206F_202B_206F_206E_202B_202C_200E_202D_202A_200C_202A_200B_202A_200C_202E((ImU8String)global::_003CModule_003E._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(-1239355882), ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale, 0u); + _202D_206B_206B_202C_200D_200D_200B_200D_206C_200D_206E_200F_206D_206C_206F_202C_206D_206D_200C_202C_206B_206A_206A_206B_206A_206C_202E_206D_202A_206B_202A_206B_200E_200C_202B_206D_206E_202B_200C_202B_202E(); + float num11 = _206C_206F_206D_200D_200F_202D_202B_202E_200B_202C_202B_206E_200D_206A_200E_202D_202A_206E_206C_200B_202C_206C_202C_206B_202B_206C_202D_200E_202C_206F_202A_206D_202B_200B_200B_206F_206E_202E_202A_202E_202E(); + bool flag = false; + ImGuiListClipper* intPtr = _202A_202A_200B_206D_206E_206D_202B_200C_206A_202B_202C_202B_200F_200D_200C_202B_202B_206B_202A_206B_206D_206C_200B_206C_206B_206C_202E_202B_200E_206B_202B_200D_200E_202A_200D_200B_202A_200B_200D_206B_202E(); + _200C_202E_206B_206F_200B_200C_206E_206F_200D_202D_200B_200C_202B_200D_206E_202D_206B_206E_202B_206B_206B_206E_200B_200E_206D_200C_202B_200C_202C_206A_206C_200D_200E_200B_202B_206B_202C_200D_202A_206F_202E(intPtr, _flatRows.Count, num11); + ImGuiListClipperPtr imGuiListClipperPtr = intPtr; + try + { + num = 837427177; + while (true) + { + int num12 = num; + num3 = 837427176; + num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 0: + flag = true; + num = 837427178; + break; + case 5: + num16 = imGuiListClipperPtr.DisplayStart; + num = 837427180; + break; + case 1: + num = (imGuiListClipperPtr.Step() ? 837427181 : 837427183); + break; + case 4: + num = ((num16 < imGuiListClipperPtr.DisplayEnd) ? 837427182 : 837427177); + break; + case 6: + num = ((!DrawFlatRow(_flatRows[num16], x)) ? 837427178 : 837427176); + break; + case 2: + { + int num15 = num16; + num3 = 1; + num4 = num15; + num16 = (num4 | num3) + (num4 & num3); + num = 837427180; + break; + } + case 3: + num = 837427177; + break; + case 7: + goto end_IL_027c; + } + continue; + end_IL_027c: + break; + } + } + finally + { + imGuiListClipperPtr.Destroy(); + } + num = ((!flag) ? (-1673621087) : (-1673621086)); + while (true) + { + int num17 = num; + num3 = -1673621088; + num4 = num17; + int num18 = num4 + num3; + int num19 = num4 & num3; + switch (num18 - (num19 + num19)) + { + case 0: + num = -1673621086; + break; + case 2: + RebuildFlatRows(); + num = -1673621087; + break; + case 1: + return; + } + } + } + } + continue; + IL_01d1: + num = 439090385; + } + } } } - ImGui.Text("No area, gathering point or item matches your search text."); } - private void DrawExpansion(FilteredExpansion expansion) + [MethodImpl(MethodImplOptions.NoInlining)] + private bool DrawFlatRow(FlatRow row, float iconSpacing) { - 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) + _202E_200E_202D_206D_200E_206A_200C_202E_206A_200C_206B_206B_202C_202B_206C_200B_206D_206F_206D_206E_200F_200D_202B_202D_200E_202B_206F_206A_200E_200E_202D_206C_206C_202B_202B_202C_200E_202D_202B_202E_202E(); + _202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E(); + bool result = false; + float num = (float)row.Depth * _202B_206B_206E_200C_202B_200B_202D_200F_206E_206A_206B_200C_206B_206F_200E_202A_200D_200B_206C_202C_200F_202D_200D_206B_206E_202C_206E_200F_202A_200D_200E_200C_206D_200B_200F_202C_200F_206D_206F_202D_202E().IndentSpacing; + int num2 = ((row.Type != RowType.Item) ? 119097280 : 119097288); + (RowType, int) item2 = default((RowType, int)); + bool flag2 = default(bool); + bool flag = default(bool); + (RowType, int) item = default((RowType, int)); + while (true) { - return; - } - foreach (FilteredTerritory territory in expansion.Territories) - { - DrawTerritory(territory); - } - ImGui.TreePop(); - } - - private void DrawTerritory(FilteredTerritory territory) - { - 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) - { - return; - } - foreach (FilteredGatheringPoint gatheringPoint in territory.GatheringPoints) - { - 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)); - } - else - { - _uiUtils.ChecklistItem(string.Empty, ImGuiColors.DalamudGrey, FontAwesomeIcon.Minus); + int num3 = num2; + int num4 = 119097295; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = 119097288; + break; + case 1: + return result; + case 16: + result = true; + num2 = 119097281; + break; + case 13: + _expandedGroups.Remove(item2); + num2 = 119097287; + break; + case 11: + { + item2 = (row.Type, row.GroupIndex); + flag2 = _expandedGroups.Contains(item2); + _202E_206A_206F_206D_206C_206B_200E_202A_200B_206B_200D_200B_202A_206B_206B_206E_202E_200C_202C_206E_202C_202B_200E_206A_206C_206E_200F_206A_206C_202E_200C_206F_206A_202C_206F_200C_206D_202E_202B_206C_202E(_206B_202D_206B_206B_202E_200D_202E_202E_200F_206E_202D_206C_200D_206A_202C_206E_200D_202D_200E_200F_202E_206D_202E_206E_202E_206F_202C_206C_206D_200F_206A_206D_200F_202A_206A_200E_206A_200E_200E_206E_202E() + num); + UiThemeUtils.DrawTrackerGroupCaret(_202C_202D_200F_202D_202D_206F_206F_200F_206A_206C_202D_206E_202E_200B_200F_202C_206A_200F_206A_202C_202D_200C_200D_200F_200D_206B_200D_206F_200E_206C_202E_200C_206E_206C_206F_200B_200B_200C_202C_200F_202E(_202D_202A_206B_202C_202E_206A_202E_206E_206C_200C_202E_202D_200D_206E_202C_206F_200E_202E_206F_202A_202D_206C_200C_206C_200F_200D_202A_200C_206B_206E_200E_202B_206F_202A_200B_200F_202E_206B_202D_202D_202E(_pluginInterface)), flag2); + _206B_206B_202C_202A_202E_206E_202A_202B_202B_200F_206B_206E_200E_200C_202B_200D_206E_206B_202A_206C_202E_200F_202C_206B_202E_206C_206C_202C_206C_206A_200E_200F_202D_202A_206B_206F_200E_200F_202B_200D_202E(); + ImU8String imU8String2 = new ImU8String(6, 3); + imU8String2.AppendFormatted(row.Label); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-2023271148)); + imU8String2.AppendFormatted(row.Type); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-546490491)); + imU8String2.AppendFormatted(row.GroupIndex); + num2 = ((!_202E_202C_206D_202B_200D_206C_200C_206A_206D_206F_202A_202D_202C_206D_202E_200C_206C_202E_200D_206B_206A_206D_200B_202A_200E_206E_200F_200D_202D_200F_200B_206C_200F_206E_206E_206E_200C_206B_206C_206E_202E(imU8String2, false, ImGuiSelectableFlags.None, default(Vector2))) ? 119097285 : 119097291); + break; + } + case 17: + num2 = ((!flag) ? 119097283 : 119097290); + break; + case 5: + _expandedGroups.Remove(item); + num2 = 119097311; + break; + case 12: + _expandedGroups.Add(item); + num2 = 119097311; + break; + case 2: + _uiUtils.ChecklistItem(string.Empty, row.IsItemGathered); + num2 = 119097294; + break; + case 7: + { + _202E_206A_206F_206D_206C_206B_200E_202A_200B_206B_200D_200B_202A_206B_206B_206E_202E_200C_202C_206E_202C_202B_200E_206A_206C_206E_200F_206A_206C_202E_200C_206F_206A_202C_206F_200C_206D_202E_202B_206C_202E(_206B_202D_206B_206B_202E_200D_202E_202E_200F_206E_202D_206C_200D_206A_202C_206E_200D_202D_200E_200F_202E_206D_202E_206E_202E_206F_202C_206C_206D_200F_206A_206D_200F_202A_206A_200E_206A_200E_200E_206E_202E() + num); + _202D_202B_206F_206F_206F_202D_202D_206C_206C_200C_206D_200E_200F_200E_206E_200B_206A_202E_200B_206E_200D_202A_200B_202D_200F_200C_206E_206F_202B_200F_206A_202E_202E_202C_206B_206E_200C_206F_200C_206F_202E((ImU8String)row.Label, ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.SpanFullWidth, default(ImU8String)); + _202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E(); + _202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E(); + float num7 = _206B_202A_200E_206B_206A_206E_200E_200F_202E_202D_200F_206A_202D_202B_206B_206C_202E_200D_206A_202E_200D_202C_202A_200E_202D_206A_206D_200D_202B_202A_206A_206B_206B_202E_206B_202B_206F_206E_202B_202E() / 2f - iconSpacing; + _202E_206A_206F_206D_206C_206B_200E_202A_200B_206B_200D_200B_202A_206B_206B_206E_202E_200C_202C_206E_202C_202B_200E_206A_206C_206E_200F_206A_206C_202E_200C_206F_206A_202C_206F_200C_206D_202E_202B_206C_202E(_206B_202D_206B_206B_202E_200D_202E_202E_200F_206E_202D_206C_200D_206A_202C_206E_200D_202D_200E_200F_202E_206D_202E_206E_202E_206F_202C_206C_206D_200F_206A_206D_200F_202A_206A_200E_206A_200E_200E_206E_202E() + num7); + num2 = ((row.ItemId >= 10000) ? 119097286 : 119097293); + break; + } + case 14: + _202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedSupported, row.Counts.IsSupportedComplete, row.Counts.IsSupportedEmpty); + _202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedCollected, row.Counts.IsCollectedComplete, row.Counts.IsCollectedEmpty); + num2 = 119097294; + break; + case 15: + num2 = ((row.Type != RowType.GatheringPoint) ? 119097292 : 119097284); + break; + case 8: + result = true; + num2 = 119097285; + break; + case 10: + { + _202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E(); + float num6 = _206B_202A_200E_206B_206A_206E_200E_200F_202E_202D_200F_206A_202D_202B_206B_206C_202E_200D_206A_202E_200D_202C_202A_200E_202D_206A_206D_200D_202B_202A_206A_206B_206B_202E_206B_202B_206F_206E_202B_202E() / 2f - iconSpacing; + _202E_206A_206F_206D_206C_206B_200E_202A_200B_206B_200D_200B_202A_206B_206B_206E_202E_200C_202C_206E_202C_202B_200E_206A_206C_206E_200F_206A_206C_202E_200C_206F_206A_202C_206F_200C_206D_202E_202B_206C_202E(_206B_202D_206B_206B_202E_200D_202E_202E_200F_206E_202D_206C_200D_206A_202C_206E_200D_202D_200E_200F_202E_206D_202E_206E_202E_206F_202C_206C_206D_200F_206A_206D_200F_202A_206A_200E_206A_200E_200E_206E_202E() + num6); + _uiUtils.ChecklistItem(string.Empty, row.IsPointComplete); + _202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedCollected, row.Counts.IsCollectedComplete, row.Counts.IsCollectedEmpty); + num2 = 119097294; + break; + } + case 4: + num2 = ((!flag2) ? 119097289 : 119097282); + break; + case 9: + _uiUtils.ChecklistItem(string.Empty, UiThemeUtils.StatusUnobtainable, FontAwesomeIcon.Minus); + num2 = 119097294; + break; + case 6: + _expandedGroups.Add(item2); + num2 = 119097287; + break; + case 3: + { + item = (row.Type, row.GroupIndex); + flag = _expandedGroups.Contains(item); + _202E_206A_206F_206D_206C_206B_200E_202A_200B_206B_200D_200B_202A_206B_206B_206E_202E_200C_202C_206E_202C_202B_200E_206A_206C_206E_200F_206A_206C_202E_200C_206F_206A_202C_206F_200C_206D_202E_202B_206C_202E(_206B_202D_206B_206B_202E_200D_202E_202E_200F_206E_202D_206C_200D_206A_202C_206E_200D_202D_200E_200F_202E_206D_202E_206E_202E_206F_202C_206C_206D_200F_206A_206D_200F_202A_206A_200E_206A_200E_200E_206E_202E() + num); + UiThemeUtils.DrawTrackerGroupCaret(_202C_202D_200F_202D_202D_206F_206F_200F_206A_206C_202D_206E_202E_200B_200F_202C_206A_200F_206A_202C_202D_200C_200D_200F_200D_206B_200D_206F_200E_206C_202E_200C_206E_206C_206F_200B_200B_200C_202C_200F_202E(_202D_202A_206B_202C_202E_206A_202E_206E_206C_200C_202E_202D_200D_206E_202C_206F_200E_202E_206F_202A_202D_206C_200C_206C_200F_200D_202A_200C_206B_206E_200E_202B_206F_202A_200B_200F_202E_206B_202D_202D_202E(_pluginInterface)), flag); + _206B_206B_202C_202A_202E_206E_202A_202B_202B_200F_206B_206E_200E_200C_202B_200D_206E_206B_202A_206C_202E_200F_202C_206B_202E_206C_206C_202C_206C_206A_200E_200F_202D_202A_206B_206F_200E_200F_202B_200D_202E(); + ImU8String imU8String = new ImU8String(6, 3); + imU8String.AppendFormatted(row.Label); + imU8String.AppendLiteral(global::_003CModule_003E._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(111380431)); + imU8String.AppendFormatted(row.Type); + imU8String.AppendLiteral(global::_003CModule_003E._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(-294503681)); + imU8String.AppendFormatted(row.GroupIndex); + num2 = ((!_202E_202C_206D_202B_200D_206C_200C_206A_206D_206F_202A_202D_202C_206D_202E_200C_206C_202E_200D_206B_206A_206D_200B_202A_200E_206E_200F_200D_202D_200F_200B_206C_200F_206E_206E_206E_200C_206B_206C_206E_202E(imU8String, false, ImGuiSelectableFlags.None, default(Vector2))) ? 119097281 : 119097310); + break; + } + } } } - private static void DrawCount(int count, int total) + [MethodImpl(MethodImplOptions.NoInlining)] + 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, _206F_206A_206D_206A_200C_200F_206A_200B_206B_202E_200C_200F_200B_202E_202A_206E_200C_202A_202C_206B_200E_206E_206F_206F_202C_206C_206F_206E_202C_206E_202D_206E_200E_206B_200D_202C_206A_202C_200F_202B_202E(expansion.ExpansionVersion), 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 num = _202A_202B_200C_200D_202A_200E_200C_206E_206B_200F_206E_200D_206B_202B_200B_202E_200D_200B_202D_200E_206A_206A_202E_206B_206B_202E_206A_200C_202E_206C_206C_206F_206D_206F_206C_202D_206A_206B_200B_206D_202E(point.Id); + GatheringCounts counts3 = GatheringCounts.Create(0, 0, point.CompletedItems, point.TotalItems); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 3); + defaultInterpolatedStringHandler.AppendFormatted(point.PlaceName); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(588901087)); + defaultInterpolatedStringHandler.AppendFormatted(point.ClassJob); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2009216986)); + defaultInterpolatedStringHandler.AppendFormatted(point.Level); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + list.Add(new FlatRow(RowType.GatheringPoint, 2, num, defaultInterpolatedStringHandler.ToStringAndClear(), counts3, point.IsComplete, 0, IsItemGathered: false)); + if (!_expandedGroups.Contains((RowType.GatheringPoint, num))) + { + continue; + } + using List.Enumerator enumerator4 = gatheringPoint.GatheringItemIds.GetEnumerator(); + int num2 = 1747781992; + while (true) + { + int num3 = num2; + int num4 = 1747781995; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = 1747781992; + break; + case 3: + num2 = (enumerator4.MoveNext() ? 1747781993 : 1747781994); + break; + case 2: + { + ushort current4 = enumerator4.Current; + string valueOrDefault = _gatheringItems.GetValueOrDefault(current4, global::_003CModule_003E._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(1347222299)); + bool isItemGathered = _gatheredItems.Contains(current4); + list.Add(new FlatRow(RowType.Item, 3, 0, valueOrDefault, default(GatheringCounts), IsPointComplete: false, current4, isItemGathered)); + num2 = 1747781992; + break; + } + case 1: + goto end_IL_020a; + } + continue; + end_IL_020a: + break; + } + } + } } - else - { - ImGui.TextUnformatted(text2); - } - ImGui.PopFont(); + _flatRows = list; } public void UpdateFilter() { - Predicate match; - if (string.IsNullOrWhiteSpace(_searchText)) + int num = ((!_202C_202C_200B_206B_206F_202E_206E_200E_202E_202C_202D_202D_200B_200B_206A_202A_206E_200D_206D_206A_206A_202B_202E_200F_206C_200C_202C_206E_202D_200F_202C_206C_200E_206A_202B_206D_206F_206D_200F_202E(_searchText)) ? 564615307 : 564615305); + Predicate match = default(Predicate); + while (true) { - match = (string _) => true; + int num2 = num; + int num3 = 564615306; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + match = (string x) => _003C_003Ec__DisplayClass19_0._202D_206D_206E_206D_206E_202A_200F_206A_206C_202A_202D_200F_200C_202D_200E_206A_202E_206D_206D_202D_206B_200C_202A_200F_206B_206C_200F_202A_202C_206A_200F_206D_206C_202B_200F_206D_206C_202A_202B_200C_202E(x, _searchText, StringComparison.CurrentCultureIgnoreCase); + num = 564615304; + break; + case 3: + match = (string _) => true; + num = 564615304; + break; + case 0: + num = 564615305; + break; + case 2: + _filteredExpansions = (from section in _gatheringPointsByExpansion + select FilterExpansion(section, match) into x + where x != null + select x).Cast().ToList(); + RebuildFlatRows(); + return; + } } - else - { - match = (string x) => x.Contains(_searchText, StringComparison.CurrentCultureIgnoreCase); - } - _filteredExpansions = (from section in _gatheringPointsByExpansion - select FilterExpansion(section, match) into x - where x != null - select x).Cast().ToList(); } private FilteredExpansion? FilterExpansion(ExpansionPoints expansion, Predicate match) @@ -369,64 +2630,162 @@ internal sealed class GatheringJournalComponent select FilterTerritory(x, match) into x where x != null select (x)).ToList(); - if (list.Count > 0) + int num = ((list.Count <= 0) ? (-1280566856) : (-1280566853)); + while (true) { - return new FilteredExpansion(expansion, list); + int num2 = num; + int num3 = -1280566854; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_00cb; + case 2: + return null; + case 1: + return new FilteredExpansion(expansion, list); + } + continue; + IL_00cb: + num = -1280566853; } - return null; } private FilteredTerritory? FilterTerritory(TerritoryPoints territory, Predicate match) { - if (match(territory.TerritoryName)) + int num = ((!match(territory.TerritoryName)) ? 798766867 : 798766864); + List list = default(List); + while (true) { - return new FilteredTerritory(territory, territory.Points.Select((DefaultGatheringPoint x) => FilterGatheringPoint(x, (string _) => true)).ToList()); + int num2 = num; + int num3 = 798766866; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + list = (from x in territory.Points + select FilterGatheringPoint(x, match) into x + where x != null + select (x)).ToList(); + num = ((list.Count <= 0) ? 798766870 : 798766866); + break; + case 4: + return null; + case 3: + num = 798766864; + break; + case 2: + return new FilteredTerritory(territory, territory.Points.Select((DefaultGatheringPoint x) => FilterGatheringPoint(x, (string _) => true)).ToList()); + case 0: + return new FilteredTerritory(territory, list); + } } - List list = (from x in territory.Points - select FilterGatheringPoint(x, match) into x - where x != null - select (x)).ToList(); - if (list.Count > 0) - { - return new FilteredTerritory(territory, list); - } - return null; } private FilteredGatheringPoint? FilterGatheringPoint(DefaultGatheringPoint gatheringPoint, Predicate match) { - if (match(gatheringPoint.PlaceName ?? string.Empty)) + int num = ((!match(gatheringPoint.PlaceName ?? string.Empty)) ? 730370401 : 730370402); + List list = default(List); + while (true) { - return new FilteredGatheringPoint(gatheringPoint, gatheringPoint.GatheringItemIds); + int num2 = num; + int num3 = 730370400; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return null; + case 3: + return new FilteredGatheringPoint(gatheringPoint, list); + case 1: + list = gatheringPoint.GatheringItemIds.Where((ushort x) => match(_gatheringItems.GetValueOrDefault(x, string.Empty))).ToList(); + num = ((list.Count <= 0) ? 730370400 : 730370403); + break; + case 2: + return new FilteredGatheringPoint(gatheringPoint, gatheringPoint.GatheringItemIds); + case 4: + num = 730370402; + break; + } } - List list = gatheringPoint.GatheringItemIds.Where((ushort x) => match(_gatheringItems.GetValueOrDefault(x, string.Empty))).ToList(); - if (list.Count > 0) - { - return new FilteredGatheringPoint(gatheringPoint, list); - } - return null; } internal void RefreshCounts() { _gatheredItems.Clear(); - foreach (int key in _gatheringItems.Keys) + using (Dictionary.KeyCollection.Enumerator enumerator = _gatheringItems.Keys.GetEnumerator()) { - ushort item = (ushort)key; - if (IsGatheringItemGathered(item)) + int num = 2008890764; + ushort item = default(ushort); + while (true) { - _gatheredItems.Add(item); + int num2 = num; + int num3 = 2008890760; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 2008890764; + break; + case 1: + item = (ushort)enumerator.Current; + num = ((!IsGatheringItemGathered(item)) ? 2008890764 : 2008890762); + break; + case 4: + num = (enumerator.MoveNext() ? 2008890761 : 2008890763); + break; + case 2: + _gatheredItems.Add(item); + num = 2008890764; + break; + case 3: + goto end_IL_0028; + } + continue; + end_IL_0028: + break; } } foreach (ExpansionPoints item2 in _gatheringPointsByExpansion) { foreach (TerritoryPoints pointsByTerritory in item2.PointsByTerritories) { - foreach (DefaultGatheringPoint point in pointsByTerritory.Points) + using (List.Enumerator enumerator4 = pointsByTerritory.Points.GetEnumerator()) { - point.TotalItems = point.GatheringItemIds.Count((ushort x) => x < 10000); - point.CompletedItems = point.GatheringItemIds.Count(_gatheredItems.Contains); - point.IsComplete = _gatheringPointRegistry.TryGetGatheringPoint(point.Id, out GatheringRoot _); + int num = -305033941; + while (true) + { + int num5 = num; + int num3 = -305033942; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 3: + num = -305033941; + break; + case 1: + num = (enumerator4.MoveNext() ? (-305033944) : (-305033942)); + break; + case 2: + { + DefaultGatheringPoint current3 = enumerator4.Current; + current3.TotalItems = current3.GatheringItemIds.Count((ushort x) => x < 10000); + current3.CompletedItems = current3.GatheringItemIds.Count(_gatheredItems.Contains); + current3.IsComplete = _gatheringPointRegistry.TryGetGatheringPoint(current3.Id, out GatheringRoot _); + num = -305033941; + break; + } + case 0: + goto end_IL_0131; + } + continue; + end_IL_0131: + break; + } } pointsByTerritory.TotalItems = pointsByTerritory.Points.Sum((DefaultGatheringPoint x) => x.TotalItems); pointsByTerritory.CompletedItems = pointsByTerritory.Points.Sum((DefaultGatheringPoint x) => x.CompletedItems); @@ -437,6 +2796,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) @@ -449,11 +2809,164 @@ internal sealed class GatheringJournalComponent { pointsByTerritory.CompletedItems = 0; pointsByTerritory.CompletedPoints = 0; - foreach (DefaultGatheringPoint point in pointsByTerritory.Points) + using List.Enumerator enumerator3 = pointsByTerritory.Points.GetEnumerator(); + int num = 1467322152; + while (true) { - point.IsComplete = false; + int num2 = num; + int num3 = 1467322153; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1467322152; + break; + case 2: + enumerator3.Current.IsComplete = false; + num = 1467322152; + break; + case 1: + num = (enumerator3.MoveNext() ? 1467322155 : 1467322153); + break; + case 0: + goto end_IL_0061; + } + continue; + end_IL_0061: + break; } } } + RebuildFlatRows(); + } + + static void _206B_202E_202E_200F_202B_202E_206B_200D_202E_200F_202C_202A_200F_206A_202C_202A_202D_206A_200F_206F_200D_206D_200D_202E_206C_200B_206C_202D_206C_206C_202D_206E_206B_202B_206C_206E_200B_200F_206E_206C_202E(IGameInteropProvider P_0, object P_1) + { + P_0.InitializeFromAttributes(P_1); + } + + static void _206D_200C_206A_202B_202A_202C_200D_206E_200B_200B_206B_206C_200D_202D_206B_200E_206C_202E_202E_200C_200F_200E_200F_206E_200B_202E_200D_200C_206F_206A_206F_206A_202A_200E_206D_200D_206B_200B_200E_206E_202E() + { + ImGui.Separator(); + } + + static IUiBuilder _202D_202A_206B_202C_202E_206A_202E_206E_206C_200C_202E_202D_200D_206E_202C_206F_200E_202E_206F_202A_202D_206C_200C_206C_200F_200D_202A_200C_206B_206E_200E_202B_206F_202A_200B_200F_202E_206B_202D_202D_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _202C_202D_200F_202D_202D_206F_206F_200F_206A_206C_202D_206E_202E_200B_200F_202C_206A_200F_206A_202C_202D_200C_200D_200F_200D_206B_200D_206F_200E_206C_202E_200C_206E_206C_206F_200B_200B_200C_202C_200F_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _206D_202A_200E_200C_202C_200F_206A_200E_202B_206D_202A_200E_202D_206F_200F_206C_202A_200B_206F_200C_206A_206D_206E_202E_206C_202E_206B_200B_206F_202C_200D_202C_202E_200B_206F_200C_202C_200B_200F_202D_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static string _206C_206B_206B_202E_202A_206B_206C_206C_200B_200E_200D_206B_200F_200D_206A_202C_202B_200F_206D_206E_206E_206A_206F_202B_206C_202B_200D_202C_200B_206E_206B_200F_200E_206F_200F_206F_200B_200D_202D_206F_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _206B_202C_200F_206B_200F_202C_202D_206B_206A_206A_206F_202E_206C_206F_200B_200D_206E_206C_206D_206A_202E_206D_202A_202A_200E_206F_200E_206A_206D_200C_206E_202D_200F_206C_206A_206C_206E_206A_200F_202C_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static void _200E_200B_206C_200B_202D_206E_200D_200F_202A_206C_206D_206C_206B_200D_206E_206A_200F_202E_200C_206A_206A_206E_206E_200F_200E_206C_206B_202C_206E_206A_200B_202C_202C_200F_202D_206F_206C_206E_202D_200D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ImGuiIOPtr _200B_202C_206F_200C_202E_206D_202B_206B_206D_206F_200D_202C_200C_206D_206E_206E_202B_202A_202D_202B_200B_200D_200B_200C_206D_206C_206E_202E_202A_202B_200B_202D_202D_202B_206B_200E_200E_202E_200D_206D_202E() + { + return ImGui.GetIO(); + } + + static void _200D_200F_202C_200B_202C_200E_200D_202D_206F_200F_206A_206C_206E_206B_202E_202C_200E_206E_206C_206E_200C_206B_200C_206C_200D_202B_206F_202B_206F_206E_202B_202C_200E_202D_202A_200C_202A_200B_202A_200C_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static void _202D_206B_206B_202C_200D_200D_200B_200D_206C_200D_206E_200F_206D_206C_206F_202C_206D_206D_200C_202C_206B_206A_206A_206B_206A_206C_202E_206D_202A_206B_202A_206B_200E_200C_202B_206D_206E_202B_200C_202B_202E() + { + ImGui.TableHeadersRow(); + } + + static float _206C_206F_206D_200D_200F_202D_202B_202E_200B_202C_202B_206E_200D_206A_200E_202D_202A_206E_206C_200B_202C_206C_202C_206B_202B_206C_202D_200E_202C_206F_202A_206D_202B_200B_200B_206F_206E_202E_202A_202E_202E() + { + return ImGui.GetTextLineHeightWithSpacing(); + } + + unsafe static ImGuiListClipper* _202A_202A_200B_206D_206E_206D_202B_200C_206A_202B_202C_202B_200F_200D_200C_202B_202B_206B_202A_206B_206D_206C_200B_206C_206B_206C_202E_202B_200E_206B_202B_200D_200E_202A_200D_200B_202A_200B_200D_206B_202E() + { + return ImGuiNative.ImGuiListClipper(); + } + + unsafe static void _200C_202E_206B_206F_200B_200C_206E_206F_200D_202D_200B_200C_202B_200D_206E_202D_206B_206E_202B_206B_206B_206E_200B_200E_206D_200C_202B_200C_202C_206A_206C_200D_200E_200B_202B_206B_202C_200D_202A_206F_202E(ImGuiListClipper* P_0, int P_1, float P_2) + { + ImGuiNative.Begin(P_0, P_1, P_2); + } + + static void _202E_200E_202D_206D_200E_206A_200C_202E_206A_200C_206B_206B_202C_202B_206C_200B_206D_206F_206D_206E_200F_200D_202B_202D_200E_202B_206F_206A_200E_200E_202D_206C_206C_202B_202B_202C_200E_202D_202B_202E_202E() + { + ImGui.TableNextRow(); + } + + static bool _202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E() + { + return ImGui.TableNextColumn(); + } + + static ImGuiStylePtr _202B_206B_206E_200C_202B_200B_202D_200F_206E_206A_206B_200C_206B_206F_200E_202A_200D_200B_206C_202C_200F_202D_200D_206B_206E_202C_206E_200F_202A_200D_200E_200C_206D_200B_200F_202C_200F_206D_206F_202D_202E() + { + return ImGui.GetStyle(); + } + + static float _206B_202D_206B_206B_202E_200D_202E_202E_200F_206E_202D_206C_200D_206A_202C_206E_200D_202D_200E_200F_202E_206D_202E_206E_202E_206F_202C_206C_206D_200F_206A_206D_200F_202A_206A_200E_206A_200E_200E_206E_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _202E_206A_206F_206D_206C_206B_200E_202A_200B_206B_200D_200B_202A_206B_206B_206E_202E_200C_202C_206E_202C_202B_200E_206A_206C_206E_200F_206A_206C_202E_200C_206F_206A_202C_206F_200C_206D_202E_202B_206C_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static bool _202D_202B_206F_206F_206F_202D_202D_206C_206C_200C_206D_200E_200F_200E_206E_200B_206A_202E_200B_206E_200D_202A_200B_202D_200F_200C_206E_206F_202B_200F_206A_202E_202E_202C_206B_206E_200C_206F_200C_206F_202E(ImU8String P_0, ImGuiTreeNodeFlags P_1, ImU8String P_2) + { + return ImGui.TreeNodeEx(P_0, P_1, P_2); + } + + static float _206B_202A_200E_206B_206A_206E_200E_200F_202E_202D_200F_206A_202D_202B_206B_206C_202E_200D_206A_202E_200D_202C_202A_200E_202D_206A_206D_200D_202B_202A_206A_206B_206B_202E_206B_202B_206F_206E_202B_202E() + { + return ImGui.GetColumnWidth(); + } + + static void _206B_206B_202C_202A_202E_206E_202A_202B_202B_200F_206B_206E_200E_200C_202B_200D_206E_206B_202A_206C_202E_200F_202C_206B_202E_206C_206C_202C_206C_206A_200E_200F_202D_202A_206B_206F_200E_200F_202B_200D_202E() + { + ImGui.SameLine(); + } + + static bool _202E_202C_206D_202B_200D_206C_200C_206A_206D_206F_202A_202D_202C_206D_202E_200C_206C_202E_200D_206B_206A_206D_200B_202A_200E_206E_200F_200D_202D_200F_200B_206C_200F_206E_206E_206E_200C_206B_206C_206E_202E(ImU8String P_0, bool P_1, ImGuiSelectableFlags P_2, Vector2 P_3) + { + return ImGui.Selectable(P_0, P_1, P_2, P_3); + } + + static string _206F_206A_206D_206A_200C_200F_206A_200B_206B_202E_200C_200F_200B_202E_202A_206E_200C_202A_202C_206B_200E_206E_206F_206F_202C_206C_206F_206E_202C_206E_202D_206E_200E_206B_200D_202C_206A_202C_200F_202B_202E(EExpansionVersion P_0) + { + return P_0.ToFriendlyString(); + } + + static ushort _202A_202B_200C_200D_202A_200E_200C_206E_206B_200F_206E_200D_206B_202B_200B_202E_200D_200B_202D_200E_206A_206A_202E_206B_206B_202E_206A_200C_202E_206C_206C_206F_206D_206F_206C_202D_206A_206B_200B_206D_202E(GatheringPointId P_0) + { + return P_0.Value; + } + + static bool _202C_202C_200B_206B_206F_202E_206E_200E_202E_202C_202D_202D_200B_200B_206A_202A_206E_200D_206D_206A_206A_202B_202E_200F_206C_200C_202C_206E_202D_200F_202C_206C_200E_206A_202B_206D_206F_206D_200F_202E(string P_0) + { + return string.IsNullOrWhiteSpace(P_0); } } diff --git a/Questionable/Questionable.Windows.JournalComponents/JournalUiShared.cs b/Questionable/Questionable.Windows.JournalComponents/JournalUiShared.cs new file mode 100644 index 00000000..80c710e4 --- /dev/null +++ b/Questionable/Questionable.Windows.JournalComponents/JournalUiShared.cs @@ -0,0 +1,268 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface.Utility.Raii; +using Questionable.Controller.Utils; + +namespace Questionable.Windows.JournalComponents; + +internal static class JournalUiShared +{ + [MethodImpl(MethodImplOptions.NoInlining)] + public static void DrawAllowanceHeader(int used, int limit, string unit, TimeSpan untilReset, string? tooltip = null) + { + int num = used; + int num2 = limit; + int num3 = ~(~num2 + num); + int num4 = ((limit > 0) ? (-1046628758) : (-1046628759)); + Vector4 vector; + float num9 = default(float); + string text = default(string); + while (true) + { + int num5 = num4; + num = -1046628757; + num2 = num5; + int num6 = num2 + num; + int num7 = num2 & num; + float num8; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 3: + vector = UiThemeUtils.StatusLocked; + break; + case 2: + num8 = 0f; + goto IL_0094; + case 1: + num8 = (float)num3 / (float)limit; + goto IL_0094; + case 4: + num4 = -1046628759; + continue; + case 0: + { + vector = UiThemeUtils.StatusComplete; + break; + } + IL_0094: + num9 = num8; + text = ExpiryUtils.FormatTimeSpan(untilReset); + num4 = ((num3 > 0) ? (-1046628757) : (-1046628760)); + continue; + } + break; + } + Vector4 vector2 = vector; + ImU8String imU8String = new ImU8String(0, 1); + imU8String.AppendFormatted(num3); + _200D_202A_200D_202A_202E_202E_202D_200B_200F_206B_200B_200F_200C_202B_200D_206C_200F_200F_202C_200D_202C_206E_202E_202E_202A_206B_202E_202E_206C_202A_200C_200C_200F_200C_206C_202D_202A_200B_206F_206F_202E(ref vector2, imU8String); + _206D_200E_202B_202E_200C_202A_206F_202A_200F_202E_200E_200B_202E_206B_200B_206C_200F_200B_202B_202A_206C_206D_202C_206B_202C_202C_200B_206F_202B_200E_200E_206D_200F_202A_206A_206B_206F_206E_200C_200F_202E(0f, 4f); + ImU8String imU8String2 = new ImU8String(13, 2); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1805890328)); + imU8String2.AppendFormatted(limit); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1051702537)); + imU8String2.AppendFormatted(unit); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1418557285)); + _200D_202A_200D_202A_202E_202E_202D_200B_200F_206B_200B_200F_200C_202B_200D_206C_200F_200F_202C_200D_202C_206E_202E_202E_202A_206B_202E_202E_206C_202A_200C_200C_200F_200C_206C_202D_202A_200B_206F_206F_202E(ref UiThemeUtils.MutedTextColor, imU8String2); + string text2 = _200E_206E_202E_206C_200F_202C_200C_202D_206B_202B_202C_206C_206F_200C_202E_200F_200C_206D_206D_200F_202C_200D_202D_206A_202D_206F_200C_202C_200C_200B_202B_202D_206E_202C_202B_206A_206E_200E_200E_206A_202E(global::_003CModule_003E._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(-511196351), text); + float num10 = _200D_202D_200B_200F_200F_206F_202A_206C_206E_206A_206F_200C_206E_206D_206A_206B_206B_206B_206B_202D_202C_200E_202B_202A_202B_206B_206D_200B_200C_200E_200C_206B_206A_206E_200F_206C_200B_202E_206D_202A_202E().X - _200E_206E_206F_202B_202B_200B_202A_206C_206A_206B_200C_202C_200F_200F_206B_206F_206E_206B_200E_202E_202D_200C_200B_200C_206E_200C_202A_202A_206B_200B_202B_206E_200E_206E_200D_206C_206F_206F_202C_206C_202E((ImU8String)text2, false, -1f).X; + _206D_200E_202B_202E_200C_202A_206F_202A_200F_202E_200E_200B_202E_206B_200B_206C_200F_200B_202B_202A_206C_206D_202C_206B_202C_202C_200B_206F_202B_200E_200E_206D_200F_202A_206A_206B_206F_206E_200C_200F_202E(0f, 0f); + _202D_200C_202C_202A_200C_202A_200D_200B_202B_206C_200E_200E_206E_200B_202E_200D_200F_200F_200C_206C_206C_202D_206C_200C_206B_202E_206F_200B_202B_200F_200E_200F_200D_206B_200D_206B_200D_206D_206F_200E_202E(_202C_206A_202E_200D_202B_206E_202D_206B_202A_200C_202C_206A_206D_206F_200D_202D_202D_206D_206F_200D_202D_202B_206D_206D_202D_200D_200F_206D_206E_202A_202C_206C_200C_200C_206C_200C_206F_206F_206E_200C_202E(_200C_206B_206A_200F_202A_202D_200E_206F_200B_206B_200C_200C_202D_200B_206C_202C_202D_202C_202E_200E_200F_200B_200D_200F_200F_206A_202E_206E_206E_206C_206B_200B_200E_200B_202D_206F_200E_202E_206D_200E_202E() + _206A_202C_206E_206A_202D_206B_200D_206C_202D_206D_202E_206E_202E_202A_200D_200E_200D_202D_202D_206C_202B_206E_200D_206F_202C_206E_202C_202A_206C_200D_200D_200C_206A_206A_206A_200D_202E_202E_206D_202E().ItemSpacing.X, num10)); + _200D_202A_200D_202A_202E_202E_202D_200B_200F_206B_200B_200F_200C_202B_200D_206C_200F_200F_202C_200D_202C_206E_202E_202E_202A_206B_202E_202E_206C_202A_200C_200C_200F_200C_206C_202D_202A_200B_206F_206F_202E(ref UiThemeUtils.DimTextColor, (ImU8String)text2); + _202E_206B_200E_206B_202A_202A_206C_206C_202C_200D_200C_206A_206A_206A_202E_200E_206F_202A_206A_200D_206C_206C_200C_200B_202B_206D_200C_206D_200D_200E_202E_200E_206E_206C_206B_202A_202B_200E_206D_202E(); + ImRaii.ColorDisposable colorDisposable = UiThemeUtils.PushProgressBarColors(); + try + { + float num11 = num9; + Vector2 vector3 = new Vector2(-1E-45f, 0f); + ImU8String imU8String3 = new ImU8String(3, 2); + imU8String3.AppendFormatted(num3); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-2014446916)); + imU8String3.AppendFormatted(limit); + _202B_206D_206F_206A_202E_202A_206D_206B_200D_206A_202C_202B_200B_200E_202E_206C_206B_200B_200E_202C_200C_202D_200E_202B_206A_200C_202E_202E_206F_200F_206E_206A_202C_202E_200F_206E_200E_206A_206E_206A_202E(num11, vector3, imU8String3); + } + finally + { + num4 = ((colorDisposable == null) ? (-829553128) : (-829553127)); + while (true) + { + int num12 = num4; + num = -829553128; + num2 = num12; + int num13 = num2 + num; + int num14 = num2 & num; + switch (num13 - (num14 + num14)) + { + case 2: + num4 = -829553127; + break; + case 1: + _202A_206D_200F_202E_202D_206D_200C_206A_202B_200B_202E_200B_206E_206D_200E_206A_202D_206E_202E_200C_202E_206B_200F_206B_200F_206F_202D_200E_202E_202D_202E_206A_200B_202A_206F_200B_200E_200B_206E_206E_202E((IDisposable)colorDisposable); + num4 = -829553128; + break; + case 0: + goto end_IL_023b; + } + continue; + end_IL_023b: + break; + } + } + if (tooltip != null) + { + num4 = 193452767; + while (true) + { + int num15 = num4; + num = 193452766; + num2 = num15; + switch ((num2 | num) - (num2 & num)) + { + default: + continue; + case 0: + num4 = 193452767; + continue; + case 1: + if (_206B_202C_202E_206E_202D_206E_202B_206C_200B_202E_200B_202B_200C_206E_206F_206E_202D_202A_202E_202E_202E_202D_202D_200D_206A_200F_200C_200C_202A_200F_200C_200B_200B_200B_202C_206A_200F_202D_200F_200E_202E()) + { + num4 = 193452764; + continue; + } + break; + case 2: + { + using (ImRaii.TooltipDisposable tooltipDisposable = _206D_202C_206D_206E_202E_206E_206B_200D_206D_202B_206D_202B_206B_202A_202E_200E_202E_206F_202C_206C_200E_206C_206A_200C_202A_206C_206D_206E_206B_202C_206E_206D_202C_206B_200F_202B_206C_200C_202B_206F_202E()) + { + num4 = ((!tooltipDisposable.Alive) ? 275444392 : 275444395); + while (true) + { + int num16 = num4; + num = 275444394; + num2 = num16; + int num17 = num2 + num; + int num18 = num2 & num; + switch (num17 - (num18 + num18)) + { + case 0: + num4 = 275444395; + break; + case 1: + { + DateTime value = (DateTime.UtcNow + untilReset).ToLocalTime(); + _200C_206D_202C_206A_202D_206A_202E_206D_202B_202C_200E_200B_206B_206F_206F_202A_206B_206D_200F_202C_200C_200F_206A_202C_206A_202D_200D_200B_200F_202B_200D_202D_200B_202E_202B_202A_200F_202E_200B_200D_202E((ImU8String)tooltip); + _202E_206B_200E_206B_202A_202A_206C_206C_202C_200D_200C_206A_206A_206A_202E_200E_206F_202A_206A_200D_206C_206C_200C_200B_202B_206D_200C_206D_200D_200E_202E_200E_206E_206C_206B_202A_202B_200E_206D_202E(); + _200B_202C_200D_200B_206B_206B_200C_202C_200E_206C_202E_202D_200D_206D_200E_202D_206C_206C_202C_202D_200D_200D_206B_200B_206B_202C_202E_202A_206E_206B_202D_200C_206A_200F_206D_200C_202D_202C_206D_200F_202E(); + _202E_206B_200E_206B_202A_202A_206C_206C_202C_200D_200C_206A_206A_206A_202E_200E_206F_202A_206A_200D_206C_206C_200C_200B_202B_206D_200C_206D_200D_200E_202E_200E_206E_206C_206B_202A_202B_200E_206D_202E(); + ImU8String imU8String4 = new ImU8String(12, 1); + imU8String4.AppendLiteral(global::_003CModule_003E._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(1379764332)); + imU8String4.AppendFormatted(value, global::_003CModule_003E._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(-1889225892)); + _200D_202A_200D_202A_202E_202E_202D_200B_200F_206B_200B_200F_200C_202B_200D_206C_200F_200F_202C_200D_202C_206E_202E_202E_202A_206B_202E_202E_206C_202A_200C_200C_200F_200C_206C_202D_202A_200B_206F_206F_202E(ref UiThemeUtils.DimTextColor, imU8String4); + ImU8String imU8String5 = new ImU8String(18, 1); + imU8String5.AppendLiteral(global::_003CModule_003E._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(-706515777)); + imU8String5.AppendFormatted(text); + _200D_202A_200D_202A_202E_202E_202D_200B_200F_206B_200B_200F_200C_202B_200D_206C_200F_200F_202C_200D_202C_206E_202E_202E_202A_206B_202E_202E_206C_202A_200C_200C_200F_200C_206C_202D_202A_200B_206F_206F_202E(ref UiThemeUtils.DimTextColor, imU8String5); + num4 = 275444392; + break; + } + case 2: + goto end_IL_0315; + } + continue; + end_IL_0315: + break; + } + } + break; + } + } + break; + } + } + _202E_206B_200E_206B_202A_202A_206C_206C_202C_200D_200C_206A_206A_206A_202E_200E_206F_202A_206A_200D_206C_206C_200C_200B_202B_206D_200C_206D_200D_200E_202E_200E_206E_206C_206B_202A_202B_200E_206D_202E(); + } + + static void _200D_202A_200D_202A_202E_202E_202D_200B_200F_206B_200B_200F_200C_202B_200D_206C_200F_200F_202C_200D_202C_206E_202E_202E_202A_206B_202E_202E_206C_202A_200C_200C_200F_200C_206C_202D_202A_200B_206F_206F_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _206D_200E_202B_202E_200C_202A_206F_202A_200F_202E_200E_200B_202E_206B_200B_206C_200F_200B_202B_202A_206C_206D_202C_206B_202C_202C_200B_206F_202B_200E_200E_206D_200F_202A_206A_206B_206F_206E_200C_200F_202E(float P_0, float P_1) + { + ImGui.SameLine(P_0, P_1); + } + + static string _200E_206E_202E_206C_200F_202C_200C_202D_206B_202B_202C_206C_206F_200C_202E_200F_200C_206D_206D_200F_202C_200D_202D_206A_202D_206F_200C_202C_200C_200B_202B_202D_206E_202C_202B_206A_206E_200E_200E_206A_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static Vector2 _200D_202D_200B_200F_200F_206F_202A_206C_206E_206A_206F_200C_206E_206D_206A_206B_206B_206B_206B_202D_202C_200E_202B_202A_202B_206B_206D_200B_200C_200E_200C_206B_206A_206E_200F_206C_200B_202E_206D_202A_202E() + { + return ImGui.GetContentRegionMax(); + } + + static Vector2 _200E_206E_206F_202B_202B_200B_202A_206C_206A_206B_200C_202C_200F_200F_206B_206F_206E_206B_200E_202E_202D_200C_200B_200C_206E_200C_202A_202A_206B_200B_202B_206E_200E_206E_200D_206C_206F_206F_202C_206C_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static float _200C_206B_206A_200F_202A_202D_200E_206F_200B_206B_200C_200C_202D_200B_206C_202C_202D_202C_202E_200E_200F_200B_200D_200F_200F_206A_202E_206E_206E_206C_206B_200B_200E_200B_202D_206F_200E_202E_206D_200E_202E() + { + return ImGui.GetCursorPosX(); + } + + static ImGuiStylePtr _206A_202C_206E_206A_202D_206B_200D_206C_202D_206D_202E_206E_202E_202A_200D_200E_200D_202D_202D_206C_202B_206E_200D_206F_202C_206E_202C_202A_206C_200D_200D_200C_206A_206A_206A_200D_202E_202E_206D_202E() + { + return ImGui.GetStyle(); + } + + static float _202C_206A_202E_200D_202B_206E_202D_206B_202A_200C_202C_206A_206D_206F_200D_202D_202D_206D_206F_200D_202D_202B_206D_206D_202D_200D_200F_206D_206E_202A_202C_206C_200C_200C_206C_200C_206F_206F_206E_200C_202E(float P_0, float P_1) + { + return MathF.Max(P_0, P_1); + } + + static void _202D_200C_202C_202A_200C_202A_200D_200B_202B_206C_200E_200E_206E_200B_202E_200D_200F_200F_200C_206C_206C_202D_206C_200C_206B_202E_206F_200B_202B_200F_200E_200F_200D_206B_200D_206B_200D_206D_206F_200E_202E(float P_0) + { + ImGui.SameLine(P_0); + } + + static void _202E_206B_200E_206B_202A_202A_206C_206C_202C_200D_200C_206A_206A_206A_202E_200E_206F_202A_206A_200D_206C_206C_200C_200B_202B_206D_200C_206D_200D_200E_202E_200E_206E_206C_206B_202A_202B_200E_206D_202E() + { + ImGui.Spacing(); + } + + static void _202B_206D_206F_206A_202E_202A_206D_206B_200D_206A_202C_202B_200B_200E_202E_206C_206B_200B_200E_202C_200C_202D_200E_202B_206A_200C_202E_202E_206F_200F_206E_206A_202C_202E_200F_206E_200E_206A_206E_206A_202E(float P_0, Vector2 P_1, ImU8String P_2) + { + ImGui.ProgressBar(P_0, P_1, P_2); + } + + static void _202A_206D_200F_202E_202D_206D_200C_206A_202B_200B_202E_200B_206E_206D_200E_206A_202D_206E_202E_200C_202E_206B_200F_206B_200F_206F_202D_200E_202E_202D_202E_206A_200B_202A_206F_200B_200E_200B_206E_206E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _206B_202C_202E_206E_202D_206E_202B_206C_200B_202E_200B_202B_200C_206E_206F_206E_202D_202A_202E_202E_202E_202D_202D_200D_206A_200F_200C_200C_202A_200F_200C_200B_200B_200B_202C_206A_200F_202D_200F_200E_202E() + { + return ImGui.IsItemHovered(); + } + + static ImRaii.TooltipDisposable _206D_202C_206D_206E_202E_206E_206B_200D_206D_202B_206D_202B_206B_202A_202E_200E_202E_206F_202C_206C_200E_206C_206A_200C_202A_206C_206D_206E_206B_202C_206E_206D_202C_206B_200F_202B_206C_200C_202B_206F_202E() + { + return ImRaii.Tooltip(); + } + + static void _200C_206D_202C_206A_202D_206A_202E_206D_202B_202C_200E_200B_206B_206F_206F_202A_206B_206D_200F_202C_200C_200F_206A_202C_206A_202D_200D_200B_200F_202B_200D_202D_200B_202E_202B_202A_200F_202E_200B_200D_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _200B_202C_200D_200B_206B_206B_200C_202C_200E_206C_202E_202D_200D_206D_200E_202D_206C_206C_202C_202D_200D_200D_206B_200B_206B_202C_202E_202A_206E_206B_202D_200C_206A_200F_206D_200C_202D_202C_206D_200F_202E() + { + ImGui.Separator(); + } +} diff --git a/Questionable/Questionable.Windows.JournalComponents/QuestChainComponent.cs b/Questionable/Questionable.Windows.JournalComponents/QuestChainComponent.cs new file mode 100644 index 00000000..7e085a04 --- /dev/null +++ b/Questionable/Questionable.Windows.JournalComponents/QuestChainComponent.cs @@ -0,0 +1,4315 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +using Dalamud.Bindings.ImGui; +using Dalamud.Game.Text.SeStringHandling.Payloads; +using Dalamud.Interface.Textures; +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) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_200E_206D_206A_202B_200D_206C_200E_206B_202D_206C_200E_200C_200C_202C_206E_202E_206B_202A_200C_206F_206A_200E_202E_206C_206A_206C_200B_206B_200C_200E_200E_202B_200B_202E_202D_206F_200D_200C_202B_202E(); + _200B_206C_206B_200C_202B_200B_200E_200B_200F_200D_202A_206A_206F_202A_206E_202D_202E_206A_200F_200F_200C_206F_200B_200F_206F_202C_202D_200D_206B_202B_206F_206B_206F_206C_200F_200F_206B_200D_200B_200C_202E(stringBuilder, global::_003CModule_003E._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(77884628)); + _200B_206C_206B_200C_202B_200B_200E_200B_200F_200D_202A_206A_206F_202A_206E_202D_202E_206A_200F_200F_200C_206F_200B_200F_206F_202C_202D_200D_206B_202B_206F_206B_206F_206C_200F_200F_206B_200D_200B_200C_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? 449897545 : 449897544); + while (true) + { + int num2 = num; + int num3 = 449897545; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _200D_200F_202D_200D_202B_206C_200F_206F_202C_202D_200B_200F_206F_206A_206B_206A_206A_202A_202A_200F_202B_202B_202E_206B_202A_202C_206C_206B_200E_202E_206B_200B_202A_202C_202E_202A_202A_200B_202D_202E(stringBuilder, '}'); + return _200C_202D_202E_206D_200B_206A_200D_200F_200C_200F_202E_206B_200C_200C_206B_200B_206C_206F_202B_200C_202E_200D_200F_202B_202B_206C_200D_206D_202E_202B_200B_202E_200D_206D_202D_206C_200E_206B_202D_202B_202E((object)stringBuilder); + case 1: + _200D_200F_202D_200D_202B_206C_200F_206F_202C_202D_200B_200F_206F_206A_206B_206A_206A_202A_202A_200F_202B_202B_202E_206B_202A_202C_206C_206B_200E_202E_206B_200B_202A_202C_202E_202A_202A_200B_202D_202E(stringBuilder, ' '); + num = 449897545; + break; + case 2: + num = 449897544; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_206C_206B_200C_202B_200B_200E_200B_200F_200D_202A_206A_206F_202A_206E_202D_202E_206A_200F_200F_200C_206F_200B_200F_206F_202C_202D_200D_206B_202B_206F_206B_206F_206C_200F_200F_206B_200D_200B_200C_202E(builder, global::_003CModule_003E._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(1684412883)); + _200B_206C_206B_200C_202B_200B_200E_200B_200F_200D_202A_206A_206F_202A_206E_202D_202E_206A_200F_200F_200C_206F_200B_200F_206F_202C_202D_200D_206B_202B_206F_206B_206F_206C_200F_200F_206B_200D_200B_200C_202E(builder, Color.ToString()); + _200B_206C_206B_200C_202B_200B_200E_200B_200F_200D_202A_206A_206F_202A_206E_202D_202E_206A_200F_200F_200C_206F_200B_200F_206F_202C_202D_200D_206B_202B_206F_206B_206F_206C_200F_200F_206B_200D_200B_200C_202E(builder, global::_003CModule_003E._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(-315537476)); + _200B_206C_206B_200C_202B_200B_200E_200B_200F_200D_202A_206A_206F_202A_206E_202D_202E_206A_200F_200F_200C_206F_200B_200F_206F_202C_202D_200D_206B_202B_206F_206B_206F_206C_200F_200F_206B_200D_200B_200C_202E(builder, IsCompleted.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(QuestStatusEntry other) + { + int num = ((!EqualityComparer.Default.Equals(Color, other.Color)) ? 674746801 : 674746802); + while (true) + { + int num2 = num; + int num3 = 674746800; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0058; + case 1: + return false; + case 2: + return EqualityComparer.Default.Equals(IsCompleted, other.IsCompleted); + } + continue; + IL_0058: + num = 674746802; + } + } + + bool IEquatable.Equals(QuestStatusEntry other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _206F_200E_206D_206A_202B_200D_206C_200E_206B_202D_206C_200E_200C_200C_202C_206E_202E_206B_202A_200C_206F_206A_200E_202E_206C_206A_206C_200B_206B_200C_200E_200E_202B_200B_202E_202D_206F_200D_200C_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200B_206C_206B_200C_202B_200B_200E_200B_200F_200D_202A_206A_206F_202A_206E_202D_202E_206A_200F_200F_200C_206F_200B_200F_206F_202C_202D_200D_206B_202B_206F_206B_206F_206C_200F_200F_206B_200D_200B_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_200F_202D_200D_202B_206C_200F_206F_202C_202D_200B_200F_206F_206A_206B_206A_206A_202A_202A_200F_202B_202B_202E_206B_202A_202C_206C_206B_200E_202E_206B_200B_202A_202C_202E_202A_202A_200B_202D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200C_202D_202E_206D_200B_206A_200D_200F_200C_200F_202E_206B_200C_200C_206B_200B_206C_206F_202B_200C_202E_200D_200F_202B_202B_206C_200D_206D_202E_202B_200B_202E_200D_206D_202D_206C_200E_206B_202D_202B_202E(object P_0) + { + return P_0.ToString(); + } + } + + 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) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200E_200E_206C_202D_206E_200B_200F_206E_206C_200E_202A_206B_206E_206D_202B_202B_206B_200C_202E_202C_200E_202C_200C_202B_202A_206F_200E_202C_200B_200D_206A_206C_200F_200F_202D_200C_202B_202C_200E_200E_202E(); + _206D_202E_206F_206C_202B_200D_206D_202C_200B_200C_206A_206F_206E_202A_206C_200F_206E_206F_206B_202B_200C_200F_200C_206B_206C_202A_202D_200F_206B_206D_206C_202A_202C_202A_206A_202E_206E_200B_202E_202B_202E(stringBuilder, global::_003CModule_003E._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(-1670769430)); + _206D_202E_206F_206C_202B_200D_206D_202C_200B_200C_206A_206F_206E_202A_206C_200F_206E_206F_206B_202B_200C_200F_200C_206B_206C_202A_202D_200F_206B_206D_206C_202A_202C_202A_206A_202E_206E_200B_202E_202B_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-76710960) : (-76710957)); + while (true) + { + int num2 = num; + int num3 = -76710959; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -76710957; + break; + case 2: + _206F_200B_202C_200B_206C_202A_202B_200C_200B_200B_206C_200F_206F_206F_200B_202C_206E_200E_206B_206F_202C_200F_206E_206D_202B_206A_200B_200E_200D_202A_206A_200E_206D_200C_202B_202D_206A_202E_200E_202E_202E(stringBuilder, ' '); + num = -76710960; + break; + case 1: + _206F_200B_202C_200B_206C_202A_202B_200C_200B_200B_206C_200F_206F_206F_200B_202C_206E_200E_206B_206F_202C_200F_206E_206D_202B_206A_200B_200E_200D_202A_206A_200E_206D_200C_202B_202D_206A_202E_200E_202E_202E(stringBuilder, '}'); + return _202B_200C_206A_206D_206F_200E_206D_200E_206F_206D_206F_206D_206B_202D_200D_202C_206A_202A_206A_206D_200B_202D_206A_200E_200B_200C_206B_206A_200E_200F_202D_200B_202A_202A_200F_206D_200B_202E_202C_200C_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_202E_206F_206C_202B_200D_206D_202C_200B_200C_206A_206F_206E_202A_206C_200F_206E_206F_206B_202B_200C_200F_200C_206B_206C_202A_202D_200F_206B_206D_206C_202A_202C_202A_206A_202E_206E_200B_202E_202B_202E(builder, global::_003CModule_003E._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(760482231)); + _206D_202E_206F_206C_202B_200D_206D_202C_200B_200C_206A_206F_206E_202A_206C_200F_206E_206F_206B_202B_200C_200F_200C_206B_206C_202A_202D_200F_206B_206D_206C_202A_202C_202A_206A_202E_206E_200B_202E_202B_202E(builder, BgColor.ToString()); + _206D_202E_206F_206C_202B_200D_206D_202C_200B_200C_206A_206F_206E_202A_206C_200F_206E_206F_206B_202B_200C_200F_200C_206B_206C_202A_202D_200F_206B_206D_206C_202A_202C_202A_206A_202E_206E_200B_202E_202B_202E(builder, global::_003CModule_003E._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(-1200737210)); + _206D_202E_206F_206C_202B_200D_206D_202C_200B_200C_206A_206F_206E_202A_206C_200F_206E_206F_206B_202B_200C_200F_200C_206B_206C_202A_202D_200F_206B_206D_206C_202A_202C_202A_206A_202E_206E_200B_202E_202B_202E(builder, IsDone.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(NodeStatusEntry other) + { + int num = ((!EqualityComparer.Default.Equals(BgColor, other.BgColor)) ? (-287632482) : (-287632481)); + while (true) + { + int num2 = num; + int num3 = -287632482; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0056; + case 1: + return EqualityComparer.Default.Equals(IsDone, other.IsDone); + case 0: + return false; + } + continue; + IL_0056: + num = -287632481; + } + } + + bool IEquatable.Equals(NodeStatusEntry other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _200E_200E_206C_202D_206E_200B_200F_206E_206C_200E_202A_206B_206E_206D_202B_202B_206B_200C_202E_202C_200E_202C_200C_202B_202A_206F_200E_202C_200B_200D_206A_206C_200F_200F_202D_200C_202B_202C_200E_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206D_202E_206F_206C_202B_200D_206D_202C_200B_200C_206A_206F_206E_202A_206C_200F_206E_206F_206B_202B_200C_200F_200C_206B_206C_202A_202D_200F_206B_206D_206C_202A_202C_202A_206A_202E_206E_200B_202E_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206F_200B_202C_200B_206C_202A_202B_200C_200B_200B_206C_200F_206F_206F_200B_202C_206E_200E_206B_206F_202C_200F_206E_206D_202B_206A_200B_200E_200D_202A_206A_200E_206D_200C_202B_202D_206A_202E_200E_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202B_200C_206A_206D_206F_200E_206D_200E_206F_206D_206F_206D_206B_202D_200D_202C_206A_202A_206A_206D_200B_202D_206A_200E_200B_200C_206B_206A_200E_200F_202D_200B_202A_202A_200F_206D_200B_202E_202C_200C_202E(object P_0) + { + return P_0.ToString(); + } + } + + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func, bool> _003C_003E9__67_0; + + public static Func, IQuestInfo> _003C_003E9__67_1; + + public static Func _003C_003E9__67_2; + + public static Func _003C_003E9__67_3; + + public static Func _003C_003E9__67_6; + + public static Predicate> _003C_003E9__78_0; + + public static Func _003C_003E9__85_1; + + internal bool _003CRebuildFilteredQuests_003Eb__67_0(KeyValuePair kvp) + { + return kvp.Key is QuestId; + } + + internal IQuestInfo _003CRebuildFilteredQuests_003Eb__67_1(KeyValuePair kvp) + { + return kvp.Value; + } + + internal bool _003CRebuildFilteredQuests_003Eb__67_2(IQuestInfo q) + { + return !_202C_200C_206E_206C_200C_202B_206A_200B_200C_202C_206F_206B_202B_206D_200E_206E_200D_200F_202A_200B_202B_202E_202A_202D_202B_206E_200D_206D_200D_200E_200C_200F_200E_202D_206E_206E_200E_200D_202B_200E_202E(q.Name); + } + + internal bool _003CRebuildFilteredQuests_003Eb__67_3(IQuestInfo q) + { + return q.Expansion != (EExpansionVersion)255; + } + + internal string _003CRebuildFilteredQuests_003Eb__67_6(IQuestInfo q) + { + return q.Name; + } + + internal bool _003CComputeLayout_003Eb__78_0(List l) + { + return l.Count == 0; + } + + internal bool _003CComputeBarycenters_003Eb__85_1(int idx) + { + return idx >= 0; + } + + static bool _202C_200C_206E_206C_200C_202B_206A_200B_200C_202C_206F_206B_202B_206D_200E_206E_200D_200F_202A_200B_202B_202E_202A_202D_202B_206E_200D_206D_200D_200E_200C_200F_200E_202D_206E_206E_200E_200D_202B_200E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + } + + private static readonly string[] ExpansionNames = new string[7] + { + global::_003CModule_003E._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(-20470898), + global::_003CModule_003E._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(177882678), + global::_003CModule_003E._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(490686755), + global::_003CModule_003E._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(-1949433356), + global::_003CModule_003E._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(1218159025), + global::_003CModule_003E._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(953450628), + global::_003CModule_003E._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(-1495297306) + }; + + 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() + { + int num = (_200B_202E_206B_206B_206E_206D_202B_202C_206D_200F_206C_206A_202E_206F_200C_206F_200D_200E_202C_202C_206F_202D_200F_206C_202C_200E_206F_206A_202A_200C_200E_200F_200E_202D_202A_202D_200B_206B_200E_202D_202E(_searchText, _previousSearchText) ? (-830776698) : (-830776689)); + float num7 = default(float); + Vector2 vector = default(Vector2); + float width = default(float); + while (true) + { + int num2 = num; + int num3 = -830776690; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = -830776689; + break; + case 8: + _filterDirty = true; + _previousSearchText = _searchText; + _previousExpansion = _selectedExpansion; + num = -830776695; + break; + case 2: + DrawDetailPanel(num7, vector.Y); + num = -830776697; + break; + case 3: + RebuildFilteredQuests(); + _filterDirty = false; + num = -830776693; + break; + case 7: + num = ((!_filterDirty) ? (-830776693) : (-830776691)); + break; + case 6: + DrawQuestList(num7, vector.Y); + num = -830776697; + break; + case 0: + num = ((!_206D_206A_206B_202D_200F_202B_202E_202A_206E_202A_206C_206F_202B_202B_202C_206D_202C_200B_200D_200C_206C_206A_202D_206A_206D_206B_200F_202D_202E_206D_206F_206B_202A_202D_202B_200C_206F_200E_202E_206E_202E(_selectedQuestId, (ElementId)null)) ? (-830776696) : (-830776692)); + break; + case 1: + num = ((_selectedExpansion == _previousExpansion) ? (-830776695) : (-830776698)); + break; + case 5: + DrawSearchBar(); + _200C_202E_202B_202A_200D_202C_202D_200D_202C_200D_206F_200F_200B_200C_206E_200C_206A_200F_206A_200D_206A_200F_200E_200B_200B_202B_200F_206C_206C_202A_200F_202C_206E_200B_202A_202B_206F_202B_202B_202B_202E(); + vector = _206F_200B_200E_206C_200E_200B_206B_206E_200E_206C_206E_206E_202B_202A_206B_202C_200C_202A_206B_202D_206C_202D_202D_200F_206B_200E_200B_206B_202A_206A_206D_200F_206D_206E_202B_200B_200C_206D_200C_202A_202E(); + num7 = _206D_200F_206A_200F_206D_202C_202E_202E_206F_206C_200C_206A_202E_202E_206E_202C_206A_202B_206B_206B_206A_206F_202A_202C_202A_200E_202D_200F_206B_200F_202C_206B_206B_206E_206F_200C_202E_202C_206F_202E(vector.X * 0.25f, 180f); + width = vector.X - num7 - _202C_206F_206D_206C_200D_202A_206E_202A_206A_206B_200B_206B_202B_202D_202C_200E_206E_206C_206F_206B_200E_206E_206E_200C_200D_202E_202D_206E_206D_206E_202A_200C_206E_200C_200C_206E_202D_202E_202A_206C_202E().ItemSpacing.X; + num = ((!_showDetail) ? (-830776696) : (-830776690)); + break; + case 9: + _206F_202C_206E_206C_200D_202B_200C_206D_200E_202A_206F_206C_200B_206A_200D_206A_200D_200C_200D_206A_202D_202B_200C_202A_200C_206F_202A_200B_206B_202B_202B_200C_202A_200E_200E_202C_206A_200B_202B_206B_202E(); + DrawChainPanel(width, vector.Y); + return; + } + } + } + + public void SelectQuest(ElementId questId) + { + _selectedQuestId = questId; + _filterDirty = true; + _scrollToSelected = true; + } + + public void MarkDirty() + { + _filterDirty = true; + _cachedLayout = null; + _questStatusCache.Clear(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawSearchBar() + { + UiThemeUtils.SearchInput(global::_003CModule_003E._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(-1003342907), ref _searchText, -280f * _206D_200F_206F_202D_202B_206A_202A_200E_206C_206C_200D_206A_200C_200D_206F_206B_202D_206B_200B_200B_200C_200C_206C_200D_202E_202D_206D_206D_206D_200F_200C_206D_206D_200C_200F_206F_206C_200E_202A_202C_202E().FontGlobalScale, global::_003CModule_003E._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(-1685627218)); + _206F_202C_206E_206C_200D_202B_200C_206D_200E_202A_206F_206C_200B_206A_200D_206A_200D_200C_200D_206A_202D_202B_200C_202A_200C_206F_202A_200B_206B_202B_202B_200C_202A_200E_200E_202C_206A_200B_202B_206B_202E(); + int selectedExpansion = _selectedExpansion; + int num = 1; + int num2 = selectedExpansion; + int num3 = num2 ^ num; + int num4 = num2 & num; + int currentItem = num3 + (num4 + num4); + _206F_200E_200B_202A_200C_200D_200E_206A_200E_200F_200D_202E_202C_202A_200B_206E_206F_206A_202E_202E_202C_202C_202B_206E_200B_202D_200B_202A_200B_202E_200D_200E_200F_202A_206F_200D_200B_206C_206F_202E_202E(140f * _206D_200F_206F_202D_202B_206A_202A_200E_206C_206C_200D_206A_200C_200D_206F_206B_202D_206B_200B_200B_200C_200C_206C_200D_202E_202D_206D_206D_206D_200F_200C_206D_206D_200C_200F_206F_206C_200E_202A_202C_202E().FontGlobalScale); + int num5 = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(-676119741), ref currentItem, ExpansionNames, ExpansionNames.Length)) ? 676982153 : 676982159); + while (true) + { + int num6 = num5; + num = 676982157; + num2 = num6; + switch ((num2 | num) - (num2 & num)) + { + case 4: + _206F_202C_206E_206C_200D_202B_200C_206D_200E_202A_206F_206C_200B_206A_200D_206A_200D_200C_200D_206A_202D_202B_200C_202A_200C_206F_202A_200B_206B_202B_202B_200C_202A_200E_200E_202C_206A_200B_202B_206B_202E(); + num5 = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1722794526), ref _showUnobtainable)) ? 676982158 : 676982156); + break; + case 3: + return; + case 0: + num5 = 676982159; + break; + case 2: + { + int num7 = currentItem; + num = 1; + num2 = num7; + _selectedExpansion = ~(~num2 + num); + num5 = 676982153; + break; + } + case 1: + _filterDirty = true; + num5 = 676982158; + break; + } + } + } + + private void RebuildFilteredQuests() + { + _filteredQuests = (from kvp in _questData.AllQuests + where kvp.Key is QuestId + select kvp.Value into q + where !_003C_003Ec._202C_200C_206E_206C_200C_202B_206A_200B_200C_202C_206F_206B_202B_206D_200E_206E_200D_200F_202A_200B_202B_202E_202A_202D_202B_206E_200D_206D_200D_200E_200C_200F_200E_202D_206E_206E_200E_200D_202B_200E_202E(q.Name) + where q.Expansion != (EExpansionVersion)255 + select q).Where(delegate(IQuestInfo q) + { + int num = (_showUnobtainable ? 240107821 : 240107820); + while (true) + { + int num2 = num; + int num3 = 240107821; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0048; + case 1: + return !_questFunctions.IsQuestUnobtainable(q.QuestId); + case 0: + return true; + } + continue; + IL_0048: + num = 240107820; + } + }).Where(delegate(IQuestInfo q) + { + int num = ((_selectedExpansion < 0) ? (-2019604063) : (-2019604057)); + while (true) + { + int num2 = num; + int num3 = -2019604060; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + return true; + case 5: + num = (_200D_206D_200B_200D_206B_206F_202C_206B_202B_200F_206E_202E_206C_206A_206E_202C_202A_200B_206F_202C_202B_202A_206D_202B_200B_206A_200B_206D_200E_202D_206C_202B_200B_200D_202D_202D_202A_206C_206F_200F_202E(_searchText) ? (-2019604062) : (-2019604059)); + break; + case 3: + num = (((uint)q.Expansion == (byte)_selectedExpansion) ? (-2019604063) : (-2019604064)); + break; + case 4: + return false; + case 0: + num = -2019604057; + break; + case 2: + return false; + case 1: + num = (_200B_202A_206B_206D_206F_206B_202A_202A_202D_200F_200C_200B_206A_200F_206F_200C_202B_200D_200E_200D_206E_206B_202E_202E_206F_202A_206F_202E_200D_200B_202A_206A_202A_206A_206C_200E_200C_206A_202A_200E_202E(q.Name, _searchText, StringComparison.OrdinalIgnoreCase) ? (-2019604062) : (-2019604058)); + break; + } + } + }).OrderBy((IQuestInfo q) => q.Name, _206F_202B_200B_200D_206D_202B_206A_200D_206E_202A_206F_202C_200B_206B_206F_200E_200F_206E_200F_202E_206B_206F_202C_206A_202C_202D_206E_206D_206A_206A_206A_206B_206A_202A_202A_200D_202C_200F_202D_200F_202E()) + .ToList(); + } + + private QuestStatusEntry GetCachedQuestStatus(ElementId questId) + { + long num = _202D_202E_206C_200E_206E_200C_200D_202A_202D_200B_200C_206D_200C_206A_206F_206E_200C_206C_206E_206F_206D_200B_200E_206E_200E_202C_206C_206F_206C_202E_206E_206F_202B_202C_202A_202E_206A_206E_206B_202C_202E(); + long statusCacheRefreshedAt = _statusCacheRefreshedAt; + long num2 = num; + int num3 = ((~(~num2 + statusCacheRefreshedAt) <= 3000) ? 1101058836 : 1101058835); + QuestStatusEntry value = default(QuestStatusEntry); + while (true) + { + int num4 = num3; + int num5 = 1101058839; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 2: + { + Vector4 item = _uiUtils.GetQuestStyle(questId).Color; + bool isCompleted = _questFunctions.IsQuestAcceptedOrComplete(questId); + value = new QuestStatusEntry(item, isCompleted); + _questStatusCache[questId] = value; + num3 = 1101058838; + break; + } + case 4: + _questStatusCache.Clear(); + _statusCacheRefreshedAt = num; + num3 = 1101058836; + break; + case 1: + return value; + case 0: + num3 = 1101058835; + break; + case 3: + num3 = (_questStatusCache.TryGetValue(questId, out value) ? 1101058838 : 1101058837); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void DrawQuestList(float width, float height) + { + using ImRaii.ChildDisposable childDisposable = _206C_200E_202A_202A_200F_202C_200E_202E_202C_202D_206A_202C_206E_202A_202B_200D_200C_206E_206D_206D_202D_206E_206E_202D_200D_206E_200F_206C_200D_202A_200B_206B_206E_202B_200D_200B_200C_200F_202A_202E((ImU8String)global::_003CModule_003E._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(132957274), new Vector2(width, height), true); + int num = ((!(!childDisposable)) ? (-900441304) : (-900441312)); + int num17 = default(int); + float num7 = default(float); + while (true) + { + int num2 = num; + int num3 = -900441311; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((!_206D_206A_206B_202D_200F_202B_202E_202A_206E_202A_206C_206F_202B_202B_202C_206D_202C_200B_200D_200C_206C_206A_202D_206A_206D_206B_200F_202D_202E_206D_206F_206B_202A_202D_202B_200C_206F_200E_202E_206E_202E(_selectedQuestId, (ElementId)null)) ? (-900441311) : (-900441310)); + break; + case 8: + { + float num18 = (float)num17 * num7 - _202D_202E_206A_202B_202E_206C_202C_202C_206F_206F_206E_202C_200B_206D_200B_200C_202C_206F_200D_206B_200B_202A_206B_202C_202B_200B_200E_200F_202E_202C_206C_206E_202B_200D_200B_202A_206F_202B_202B_200C_202E() * 0.5f; + _200B_200E_202A_200C_202C_202C_206A_206F_200C_206A_200C_206F_202D_200B_200E_200D_202C_202E_202B_200D_206F_200B_202D_200F_202E_202E_202B_202E_200B_202C_206B_206C_206D_200F_200C_200D_206B_202E_200C_202E_202E(_206D_200F_206A_200F_206D_202C_202E_202E_206F_206C_200C_206A_202E_202E_206E_202C_206A_202B_206B_206B_206A_206F_202A_202C_202A_200E_202D_200F_206B_200F_202C_206B_206B_206E_206F_200C_202E_202C_206F_202E(0f, num18)); + num = -900441306; + break; + } + case 7: + _scrollToSelectedInList = false; + num = -900441311; + break; + case 5: + num = -900441312; + break; + case 9: + num = ((_filteredQuests.Count != 0) ? (-900441305) : (-900441309)); + break; + case 6: + num7 = _206C_206E_200F_206D_206E_202C_206E_206A_202B_202A_206D_202B_200C_206D_200C_200F_200E_202A_200D_206F_200B_200F_200C_206E_202D_202B_202D_206C_202D_200E_206F_206A_202E_206F_202D_202A_200D_200C_206E_206C_202E(); + num = ((!_scrollToSelectedInList) ? (-900441311) : (-900441307)); + break; + case 3: + num17 = _filteredQuests.FindIndex((IQuestInfo q) => _200C_206B_202D_206B_206D_202E_206B_200E_200C_206B_202A_206A_206C_206B_200C_202E_200D_206F_200C_200B_206F_202C_202E_202A_206E_202C_206C_206E_206D_202A_202C_202E_200B_202B_202E_200E_200F_202C_206C_202B_202E(q.QuestId, _selectedQuestId)); + num = ((num17 < 0) ? (-900441306) : (-900441303)); + break; + case 1: + return; + case 2: + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(-971186319)); + return; + case 0: + { + ImGuiListClipper* intPtr = _200D_206E_200E_200E_206D_200F_206A_202B_202A_200C_200B_206A_206A_202E_202D_206E_206A_200D_206B_200C_206E_200E_200E_206F_202A_200B_200D_202D_200C_206D_206A_206F_200C_206B_200B_206D_202D_202E_200C_206D_202E(); + _202C_200E_202D_206F_200F_200B_202E_206C_202B_206A_206D_200F_200F_202D_200F_200B_202A_206A_200E_200F_202B_200F_206D_206C_206C_206C_206D_206F_202C_206D_200F_200F_202B_202C_206E_206B_200C_200C_206E_200F_202E(intPtr, _filteredQuests.Count, num7); + ImGuiListClipperPtr imGuiListClipperPtr = intPtr; + try + { + while (true) + { + if (imGuiListClipperPtr.Step()) + { + for (int num8 = imGuiListClipperPtr.DisplayStart; num8 < imGuiListClipperPtr.DisplayEnd; num8 = (num4 | num3) + (num4 & num3)) + { + IQuestInfo questInfo = _filteredQuests[num8]; + UiThemeUtils.DrawAltRowBackground(num8); + bool flag = _206D_206A_206B_202D_200F_202B_202E_202A_206E_202A_206C_206F_202B_202B_202C_206D_202C_200B_200D_200C_206C_206A_202D_206A_206D_206B_200F_202D_202E_206D_206F_206B_202A_202D_202B_200C_206F_200E_202E_206E_202E(_selectedQuestId, (ElementId)null) && _200C_206B_202D_206B_206D_202E_206B_200E_200C_206B_202A_206A_206C_206B_200C_202E_200D_206F_200C_200B_206F_202C_202E_202A_206E_202C_206C_206E_206D_202A_202C_202E_200B_202B_202E_200E_200F_202C_206C_202B_202E(_selectedQuestId, questInfo.QuestId); + QuestStatusEntry cachedQuestStatus = GetCachedQuestStatus(questInfo.QuestId); + ImRaii.ColorDisposable colorDisposable = (cachedQuestStatus.IsCompleted ? _206C_200D_200C_200F_200F_206B_202E_202A_206A_200C_202E_202E_200B_202D_200E_206E_200C_200C_206F_200C_200B_200E_202A_206E_206E_206F_200E_206E_200B_200B_200C_202E_202A_200B_202B_206D_206D_206C_200F_202B_202E(ImGuiCol.Text, UiThemeUtils.DimTextColor, true) : null); + try + { + _206E_206E_206B_200B_202C_206D_206F_202B_206C_200E_202E_206F_200D_206E_206F_206B_206A_202E_206A_200D_206F_206C_206F_202B_202D_206B_200E_206D_200F_202A_200C_202B_202C_200B_202E_200C_206F_206B_202E_206D_202E(_206C_206D_206A_206B_202C_202E_206C_206D_202E_202E_206D_200E_200F_206C_202A_206A_206A_202A_206E_206E_206B_200E_206F_202D_202E_200C_206D_202A_206B_206A_202B_206D_202C_200C_206C_206C_202C_206C_206D_206B_202E() + 14f); + num = ((!_202C_200C_200B_206F_202E_206B_202D_206C_206C_200B_202C_202B_200F_206E_200E_206E_200D_206F_206B_202B_206B_200D_200B_206E_200D_206E_202C_206A_202B_206D_206B_200E_200E_206C_206A_202A_206E_202A_200F_200C_202E((ImU8String)UiThemeUtils.CleanSeString(questInfo.Name), flag, ImGuiSelectableFlags.AllowDoubleClick, default(Vector2))) ? (-1989955630) : (-1989955629)); + while (true) + { + int num9 = num; + num3 = -1989955630; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 3: + num = -1989955629; + break; + case 2: + _showDetail = true; + num = -1989955630; + break; + case 1: + _selectedQuestId = questInfo.QuestId; + num = ((!_202B_200E_202C_202B_202E_200B_202C_202A_202A_200C_206A_200F_202B_202A_206A_200E_200B_200E_202E_206E_206F_200F_200D_202D_200F_206B_200F_206B_206A_202E_206F_202E_206E_200D_200D_200F_200F_206C_202A_200F_202E(ImGuiMouseButton.Left)) ? (-1989955630) : (-1989955632)); + break; + case 0: + { + ImDrawListPtr imDrawListPtr = _202E_200C_202A_202A_206A_202C_202E_202D_202B_200F_206A_206E_206E_206D_206F_206B_202D_206F_200E_202A_202C_206F_202E_206D_202E_202B_200E_202B_200C_202C_206E_206A_206A_200C_202A_200B_206C_206C_200D_206C_202E(); + Vector2 vector = _200B_202E_206D_200D_206B_202E_206D_202A_206E_206E_206D_206C_206A_200D_202B_202C_202E_200D_206C_202A_200B_202E_206E_200E_200D_206A_206E_200B_206D_206A_202C_206C_206A_200C_202A_200F_200C_206C_206E_202E(); + Vector2 vector2 = _206A_206C_206E_202C_206E_206E_206D_200B_202C_202D_200C_206A_202D_206D_202D_200B_200E_206C_202A_202C_202C_200E_200D_206E_202D_206F_200D_202E_206D_200D_200F_200F_206F_202E_206C_200D_200F_202B_200F_202C_202E(); + float y = (vector.Y + vector2.Y) * 0.5f; + float x = vector.X - 14f + 5f; + imDrawListPtr.AddCircleFilled(new Vector2(x, y), 3f, _206E_202A_202C_206F_200F_206A_200C_206D_202D_200B_206B_206E_206C_200B_206B_200E_200D_200F_206D_200B_200C_200C_206B_206B_200F_206D_206E_206D_206E_202C_202A_206C_206A_200D_202C_206E_200D_202B_200B_202D_202E(cachedQuestStatus.Color), 12); + Questionable.Model.Quest quest = null; + _questRegistry.TryGetQuest(questInfo.QuestId, out quest); + QuestJournalUtils?.ShowContextMenu(questInfo, quest, global::_003CModule_003E._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(1930812166)); + goto end_IL_02b4; + } + } + continue; + end_IL_02b4: + break; + } + } + finally + { + num = ((colorDisposable == null) ? 1973818357 : 1973818356); + while (true) + { + int num12 = num; + num3 = 1973818357; + num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1973818356; + break; + case 0: + goto end_IL_03f5; + case 1: + _206D_200D_202B_200E_206D_202B_200D_206F_200F_200B_202C_200D_202E_200F_206F_200D_206F_206E_206A_200E_202C_206A_202E_200F_206F_206E_206E_206D_200E_206B_206A_202D_206C_202B_202A_202A_206A_206F_200F_206D_202E((IDisposable)colorDisposable); + num = 1973818357; + break; + } + continue; + end_IL_03f5: + break; + } + } + int num13 = num8; + num3 = 1; + num4 = num13; + } + num = -182849509; + } + else + { + num = -182849512; + } + while (true) + { + int num14 = num; + num3 = -182849510; + num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) + { + default: + continue; + case 0: + goto IL_049e; + case 1: + break; + case 2: + return; + } + break; + IL_049e: + num = -182849509; + } + } + } + finally + { + imGuiListClipperPtr.Destroy(); + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawChainPanel(float width, float height) + { + using ImRaii.ChildDisposable childDisposable = _206E_206E_206B_200E_200E_202E_200D_202C_200E_206E_202A_200B_200D_206C_206C_206A_200B_200D_206D_202B_202D_200E_200D_202D_202B_206C_206A_200D_206B_206F_202B_206A_200F_200C_202D_206C_202E_200F_200E_206B_202E((ImU8String)global::_003CModule_003E._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(1280606565), new Vector2(width, height), true, ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoScrollWithMouse); + int num = ((!(!childDisposable)) ? 1382098797 : 1382098798); + QuestId questId = default(QuestId); + QuestChainGraph chainGraph = default(QuestChainGraph); + while (true) + { + int num2 = num; + int num3 = 1382098793; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(464838865)); + return; + case 1: + { + num = (_questData.TryGetQuestInfo(_selectedQuestId, out IQuestInfo _) ? 1382098787 : 1382098791); + break; + } + case 14: + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.StatusLocked, (ImU8String)global::_003CModule_003E._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(-839990954)); + return; + case 6: + num = ((!UiThemeUtils.PillButton(global::_003CModule_003E._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(-2067117906), selected: false)) ? 1382098789 : 1382098786); + break; + case 5: + questId = _selectedQuestId as QuestId; + num = (((object)questId != null) ? 1382098792 : 1382098784); + break; + case 11: + _scrollToSelected = true; + _graphZoom = 1f; + num = 1382098789; + break; + case 0: + _previousChainQuestId = _selectedQuestId; + _scrollToSelected = true; + num = 1382098785; + break; + case 8: + chainGraph = _questChainBuilder.GetChainGraph(questId); + num = ((chainGraph.LayerOrder.Count != 0) ? 1382098799 : 1382098794); + break; + case 4: + num = ((!_200C_206B_202D_206B_206D_202E_206B_200E_200C_206B_202A_206A_206C_206B_200C_202E_200D_206F_200C_200B_206F_202C_202E_202A_206E_202C_206C_206E_206D_202A_202C_202E_200B_202B_202E_200E_200F_202C_206C_202B_202E(_selectedQuestId, (ElementId)null)) ? 1382098796 : 1382098795); + break; + case 9: + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(746260683)); + return; + case 10: + num = ((!_206D_206A_206B_202D_200F_202B_202E_202A_206E_202A_206C_206F_202B_202B_202C_206D_202C_200B_200D_200C_206C_206A_202D_206A_206D_206B_200F_202D_202E_206D_206F_206B_202A_202D_202B_200C_206F_200E_202E_206E_202E(_previousChainQuestId, _selectedQuestId)) ? 1382098785 : 1382098793); + break; + case 3: + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(1321007045)); + return; + case 13: + num = 1382098798; + break; + case 7: + return; + case 12: + { + _206F_202C_206E_206C_200D_202B_200C_206D_200E_202A_206F_206C_200B_206A_200D_206A_200D_200C_200D_206A_202D_202B_200C_202A_200C_206F_202A_200B_206B_202B_202B_200C_202A_200E_200E_202C_206A_200B_202B_206B_202E(); + ImU8String imU8String = new ImU8String(1, 1); + imU8String.AppendFormatted((int)(_graphZoom * 100f)); + imU8String.AppendLiteral(global::_003CModule_003E._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(944653740)); + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.MutedTextColor, imU8String); + DrawChainGraph(chainGraph, width); + return; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawDetailPanel(float width, float height) + { + //Discarded unreachable code: IL_05a6 + using ImRaii.ChildDisposable childDisposable = _206C_200E_202A_202A_200F_202C_200E_202E_202C_202D_206A_202C_206E_202A_202B_200D_200C_206E_206D_206D_202D_206E_206E_202D_200D_206E_200F_206C_200D_202A_200B_206B_206E_202B_200D_200B_200C_200F_202A_202E((ImU8String)global::_003CModule_003E._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(-1449880132), new Vector2(width, height), true); + int num = ((!(!childDisposable)) ? (-574358889) : (-574358896)); + IQuestInfo questInfo = default(IQuestInfo); + QuestId questId = default(QuestId); + List list = default(List); + QuestSequence questSequence = default(QuestSequence); + ushort num8 = default(ushort); + Vector3? vector2 = default(Vector3?); + ushort expFactor = default(ushort); + uint gilReward = default(uint); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + Vector3 vector = default(Vector3); + long num15 = default(long); + Map? valueNullable = default(Map?); + TerritoryType? rowOrDefault2 = default(TerritoryType?); + QuestJournalUtils questJournalUtils = default(QuestJournalUtils); + while (true) + { + int num2 = num; + int num3 = -574358894; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + num = (_questData.TryGetQuestInfo(_selectedQuestId, out questInfo) ? (-574358890) : (-574358891)); + break; + case 7: + _showDetail = false; + return; + case 5: + questId = _selectedQuestId as QuestId; + num = (((object)questId == null) ? (-574358891) : (-574358892)); + break; + case 0: + _showDetail = false; + _scrollToSelectedInList = true; + return; + case 2: + return; + case 3: + num = -574358896; + break; + case 4: + num = ((!UiThemeUtils.PillButton(global::_003CModule_003E._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(1648941856), selected: false)) ? (-574358893) : (-574358894)); + break; + case 1: + _200C_202E_202B_202A_200D_202C_202D_200D_202C_200D_206F_200F_200B_200C_206E_200C_206A_200F_206A_200D_206A_200F_200E_200B_200B_202B_200F_206C_206C_202A_200F_202C_206E_200B_202A_202B_206F_202B_202B_202B_202E(); + UiThemeUtils.WrappedTextColored(UiThemeUtils.AccentColor, UiThemeUtils.CleanSeString(questInfo.Name)); + _206B_206B_202D_200E_206E_200C_202E_200F_202A_200E_206E_206A_206B_200F_200F_202B_200C_206F_202E_206D_200C_206F_200C_202D_206A_202C_206E_206F_200C_200E_202D_206D_206F_202A_200F_206A_206B_206E_206B_202A_202E(_206C_206D_206A_206B_202C_202E_206C_206D_202E_202E_206D_200E_200F_206C_202A_206A_206A_202A_206E_206E_206B_200E_206F_202D_202E_200C_206D_202A_206B_206A_202B_206D_202C_200C_206C_206C_202C_206C_206D_206B_202E() + _206F_200B_200E_206C_200E_200B_206B_206E_200E_206C_206E_206E_202B_202A_206B_202C_200C_202A_206B_202D_206C_202D_202D_200F_206B_200E_200B_206B_202A_206A_206D_200F_206D_206E_202B_200B_200C_206D_200C_202A_202E().X); + try + { + Lumina.Excel.Sheets.Quest? rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault((uint)(_200B_200B_202E_206B_200E_206C_206A_206E_202C_200B_200E_202B_206D_206B_202B_202A_202D_202A_200D_200C_206F_200B_206F_206A_206A_200F_200F_202E_202B_200C_206D_202A_206B_202B_206B_202A_202C_206E_206F_202E_202E((ElementId)questId) + 65536)); + ImU8String imU8String = new ImU8String(7, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-636593405)); + imU8String.AppendFormatted(questInfo.Level); + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.DimTextColor, imU8String); + num = ((!rowOrDefault.HasValue) ? 1733997033 : 1733997037); + while (true) + { + int num7 = num; + num3 = 1733997024; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 11: + list = _202D_200C_206D_202C_202E_206C_202E_206B_206C_206F_206D_202A_206E_202D_200F_202B_206D_202D_200B_206F_202C_202D_200C_200B_200D_200B_200E_206E_200C_200C_206A_202C_200E_202E_202C_202E_200F_206D_206B_206E_202E(questSequence); + num = ((list == null) ? 1733997031 : 1733997030); + continue; + case 6: + num = ((list.Count <= 0) ? 1733997031 : 1733997025); + continue; + case 1: + num8 = _206E_200F_200C_206E_202B_206C_202A_202E_202B_202E_200B_202B_206F_200E_200F_206B_206D_200C_202D_202D_206C_206C_200F_200C_206E_200C_202E_206F_200B_202B_206F_202C_206D_200E_200B_206C_200C_200F_200C_200F_202E(_202D_200C_206D_202C_202E_206C_202E_206B_206C_206F_206D_202A_206E_202D_200F_202B_206D_202D_200B_206F_202C_202D_200C_200B_200D_200B_200E_206E_200C_200C_206A_202C_200E_202E_202C_202E_200F_206D_206B_206E_202E(questSequence)[0]); + vector2 = _200B_200E_206B_206E_202B_200E_206E_206A_202E_206C_202A_206B_202A_200C_202A_202A_200B_200D_200F_202A_200D_200F_202D_202B_200E_200E_202C_206B_200E_206E_200D_202E_206F_206D_200B_202D_206B_206F_206B_202E(_202D_200C_206D_202C_202E_206C_202E_206B_206C_206F_206D_202A_206E_202D_200F_202B_206D_202D_200B_206F_202C_202D_200C_200B_200D_200B_200E_206E_200C_200C_206A_202C_200E_202E_202C_202E_200F_206D_206B_206E_202E(questSequence)[0]); + num = ((!vector2.HasValue) ? 1733997031 : 1733997041); + continue; + case 10: + if (!rowOrDefault.HasValue) + { + break; + } + goto case 2; + case 2: + { + ImU8String imU8String4 = new ImU8String(5, 1); + imU8String4.AppendLiteral(global::_003CModule_003E._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(1657037393)); + imU8String4.AppendFormatted(expFactor, global::_003CModule_003E._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(-1510396995)); + _202D_200C_202D_202A_202E_206D_206C_202B_206D_200C_206A_200F_202B_202B_202E_202C_200C_206D_206D_200D_200D_206D_206E_206E_206C_200C_206F_206B_200E_206B_202B_200E_202C_206E_200B_202C_202E_202D_200F_206A_202E(imU8String4); + num = 1733997024; + continue; + } + case 18: + _206E_202A_202B_206F_206B_206F_200E_206C_200F_206F_206D_206A_200D_200F_206C_206D_200B_206B_202A_202E_206F_202E_206C_200E_206D_206D_206B_206B_206C_200F_202B_202E_202B_200F_202A_200B_202C_206F_200F_202D_202E(0f, 20f); + num = 1733997028; + continue; + case 8: + DrawRewards(rowOrDefault.Value); + num = 1733997039; + continue; + case 9: + num = ((!rowOrDefault.HasValue) ? 1733997039 : 1733997036); + continue; + case 5: + num = ((expFactor <= 0) ? 1733997028 : 1733997042); + continue; + case 12: + expFactor = rowOrDefault.Value.ExpFactor; + gilReward = rowOrDefault.Value.GilReward; + num = ((expFactor <= 0) ? 1733997024 : 1733997026); + continue; + case 16: + num = 1733997037; + continue; + case 14: + questSequence = quest.FindSequence(0); + num = ((questSequence == null) ? 1733997031 : 1733997035); + continue; + case 3: + DrawQuestBanner(rowOrDefault.Value.Icon); + num = 1733997033; + continue; + case 7: + if (num8 == 0) + { + num = 1733997034; + continue; + } + break; + case 17: + { + Vector3 valueOrDefault = vector2.GetValueOrDefault(); + vector = valueOrDefault; + num = 1733997031; + continue; + } + case 13: + num = ((rowOrDefault.Value.Icon == 0) ? 1733997033 : 1733997027); + continue; + case 15: + { + DrawQuestDescription(questId, rowOrDefault); + DrawNpcLine(rowOrDefault, questInfo); + ImU8String imU8String3 = new ImU8String(4, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-771359438)); + imU8String3.AppendFormatted(_200B_200B_202E_206B_200E_206C_206A_206E_202C_200B_200E_202B_206D_206B_202B_202A_202D_202A_200D_200C_206F_200B_206F_206A_206A_200F_200F_202E_202B_200C_206D_202A_206B_202B_206B_202A_202C_206E_206F_202E_202E((ElementId)questId)); + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.MutedTextColor, imU8String3); + _202C_206C_206F_206F_200E_206B_202B_202D_206D_206D_200C_200E_200F_206C_202B_202C_200E_206B_202B_206E_206A_202B_202B_206D_202E_206B_206A_206B_200F_202D_206F_200B_206B_202C_200D_202D_202C_202E_202C_206F_202E(); + num8 = 0; + vector = Vector3.Zero; + num = ((!_questRegistry.TryGetQuest(questId, out quest)) ? 1733997031 : 1733997038); + continue; + } + case 0: + num = ((gilReward == 0) ? 1733997032 : 1733997029); + continue; + case 4: + { + ImU8String imU8String2 = new ImU8String(5, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1648195666)); + imU8String2.AppendFormatted(gilReward, global::_003CModule_003E._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(-904554737)); + _202D_200C_202D_202A_202E_206D_206C_202B_206D_200C_206A_200F_202B_202B_202E_202C_200C_206D_206D_200D_200D_206D_206E_206E_206C_200C_206F_206B_200E_206B_202B_200E_202C_206E_200B_202C_202E_202D_200F_206A_202E(imU8String2); + num = 1733997032; + continue; + } + } + break; + } + num = ((num8 == 0) ? 1094075995 : 1094075987); + while (true) + { + int num9 = num; + num3 = 1094075993; + num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num15 = _202D_202E_206C_200E_206E_200C_200D_202A_202D_200B_200C_206D_200C_206A_206F_206E_200C_206C_206E_206F_206D_200B_200E_206E_200E_202C_206C_206F_206C_202E_206E_206F_202B_202C_202A_202E_206A_206E_206B_202C_202E(); + num = ((!_200C_202A_206F_200B_206E_206F_206F_206D_206E_206A_200E_206E_206E_202E_202D_202A_206A_202C_202C_206C_206C_200C_202E_200E_200D_206C_200C_202A_206B_200E_206D_206F_206F_202B_206C_206B_202E_200F_202E_200D_202E((ElementId)questId, _addableCachedForQuestId)) ? 1094075984 : 1094075986); + break; + case 7: + valueNullable = rowOrDefault2.Value.Map.ValueNullable; + num = ((!valueNullable.HasValue) ? 1094075995 : 1094075992); + break; + case 8: + questJournalUtils = QuestJournalUtils; + if (questJournalUtils != null) + { + num = 1094075994; + break; + } + goto end_IL_06a8; + case 10: + num = ((!(vector != Vector3.Zero)) ? 1094075995 : 1094075997); + break; + case 4: + num = ((!UiThemeUtils.PillButton(global::_003CModule_003E._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(-118662433), selected: false)) ? 1094075995 : 1094075996); + break; + case 6: + num = 1094075987; + break; + case 2: + num = ((num8 == 0) ? 1094075985 : 1094075993); + break; + case 5: + rowOrDefault2 = _dataManager.GetExcelSheet().GetRowOrDefault(num8); + num = ((!rowOrDefault2.HasValue) ? 1094075995 : 1094075998); + break; + case 11: + { + long num16 = num15; + long addableRefreshedAt = _addableRefreshedAt; + long num17 = num16; + num = ((~(~num17 + addableRefreshedAt) <= 3000) ? 1094075988 : 1094075984); + break; + } + case 0: + num = ((!UiThemeUtils.PillButton(global::_003CModule_003E._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(590108268), selected: false)) ? 1094075985 : 1094075989); + break; + case 1: + { + Vector2 vector3 = _202B_200B_206A_200C_206A_200B_206D_202B_202E_206E_202C_202B_200E_206D_200B_200B_202A_206F_202B_206A_202B_200B_200D_202A_206E_206E_200F_200C_202E_200D_200C_206C_206C_206A_200C_202D_206D_200E_206D_206B_202E(new Vector2(vector.X, vector.Z), valueNullable.Value); + MapLinkPayload mapLinkPayload = _206C_200D_206F_206E_206A_200B_202C_206D_206B_206A_206B_206C_202A_206C_206F_206F_202C_206A_206D_206B_200B_200B_202E_202C_200C_200B_200B_202D_206E_202B_200E_206A_200B_202C_200D_200E_202A_206F_206D_206A_202E((uint)num8, valueNullable.Value.RowId, vector3.X, vector3.Y, 0.05f); + _200F_206D_202D_200E_200C_202E_206E_206C_206B_206A_202C_206E_200E_206D_200D_206F_202B_200F_206B_206C_206A_206E_206E_202B_200F_200B_200C_200F_206A_202A_200C_200F_206E_202C_206C_202A_202D_202A_202B_206B_202E(_gameGui, mapLinkPayload); + num = 1094075995; + break; + } + case 12: + { + _questMapComponent.SelectQuest(questId, num8); + Action? selectTabAction = SelectTabAction; + if (selectTabAction == null) + { + goto case 8; + } + selectTabAction(global::_003CModule_003E._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(-308157881)); + num = 1094075985; + break; + } + case 9: + _addableQuestIds.Clear(); + _addableQuestIds.AddRange(questJournalUtils.GetIncompletePrerequisiteQuests(questInfo)); + _addableCachedForQuestId = questId; + _addableRefreshedAt = num15; + num = 1094075988; + break; + case 13: + { + int count = _addableQuestIds.Count; + ImRaii.DisabledDisposable disabledDisposable = _202B_202E_206D_202D_202C_200F_206D_202C_202B_206E_206E_200D_206A_206A_200F_200D_202A_202B_202D_206D_202B_202D_202C_200E_206B_200F_202E_206E_202C_206F_200F_206E_206B_202B_206D_206F_200D_200F_206D_202E(count == 0); + try + { + num = ((!UiThemeUtils.PillButton(global::_003CModule_003E._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(1162255279), selected: false)) ? 558090735 : 558090732); + while (true) + { + int num10 = num; + num3 = 558090734; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 558090732; + break; + case 2: + questJournalUtils.AddRequiredQuestsToPriority(questInfo, _addableQuestIds); + _addableCachedForQuestId = null; + num = 558090735; + break; + case 1: + goto end_IL_09d2; + } + continue; + end_IL_09d2: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-299246376) : (-299246375)); + while (true) + { + int num11 = num; + num3 = -299246376; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 0: + goto end_IL_0a4f; + case 1: + _206D_200D_202B_200E_206D_202B_200D_206F_200F_200B_202C_200D_202E_200F_206F_200D_206F_206E_206A_200E_202C_206A_202E_200F_206F_206E_206E_206D_200E_206B_206A_202D_206C_202B_202A_202A_206A_206F_200F_206D_202E((IDisposable)disabledDisposable); + num = -299246376; + break; + case 2: + num = -299246375; + break; + } + continue; + end_IL_0a4f: + break; + } + } + num = ((!_206F_206A_206B_202C_202C_206E_200E_202D_202E_202B_206B_202D_200C_206A_200C_200C_202C_200B_200F_202D_200E_200D_202D_200F_200C_200F_200E_206B_206B_200E_206C_206E_206D_206C_202B_200B_206D_202D_202C_202A_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-112163756) : (-112163753)); + while (true) + { + int num14 = num; + num3 = -112163758; + num4 = num14; + string text; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = ((count == 1) ? (-112163760) : (-112163754)); + break; + case 4: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(70, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-381217154)); + num3 = 1; + num4 = count; + defaultInterpolatedStringHandler.AppendFormatted(~(~num4 + num3)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-206759940)); + num3 = 1; + num4 = count; + defaultInterpolatedStringHandler.AppendFormatted((~(~num4 + num3) == 1) ? global::_003CModule_003E._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(576325633) : global::_003CModule_003E._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(233880951)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1161964285)); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + goto IL_0bf4; + } + case 3: + num = -112163753; + break; + case 1: + _200B_200B_200E_200C_206C_202C_206E_200D_206C_206E_200C_202C_200F_200C_200B_206C_206A_206D_200D_202C_200E_206B_202D_206D_206A_202E_206D_206C_200D_200F_206A_202B_206E_202A_206A_206F_206B_200E_200C_206B_202E((ImU8String)global::_003CModule_003E._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(-374768550)); + num = -112163756; + break; + case 2: + text = global::_003CModule_003E._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(-1659838992); + goto IL_0bf4; + case 5: + num = ((count != 0) ? (-112163758) : (-112163757)); + break; + case 6: + goto end_IL_0ac4; + IL_0bf4: + _200B_200B_200E_200C_206C_202C_206E_200D_206C_206E_200C_202C_200F_200C_200B_206C_206A_206D_200D_202C_200E_206B_202D_206D_206A_202E_206D_206C_200D_200F_206A_202B_206E_202A_206A_206F_206B_200E_200C_206B_202E((ImU8String)text); + num = -112163756; + break; + } + continue; + end_IL_0ac4: + break; + } + goto end_IL_06a8; + } + } + continue; + end_IL_06a8: + break; + } + } + catch + { + } + _206B_200B_200B_202E_200B_202A_202E_206F_200C_206B_206A_200D_202E_206C_206C_200E_200F_202C_206C_202C_206C_200C_202C_200F_200C_202C_202E_202E_200D_206D_206B_202D_202E_206B_200F_206B_200D_206F_206D_202D_202E(); + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawQuestDescription(QuestId questId, Lumina.Excel.Sheets.Quest? questEx) + { + int num = ((!_200C_202A_206F_200B_206E_206F_206F_206D_206E_206A_200E_206E_206E_202E_202D_202A_206A_202C_202C_206C_206C_200C_202E_200E_200D_206C_200C_202A_206B_200E_206D_206F_206F_202B_206C_206B_202E_200F_202E_200D_202E((ElementId)questId, (ElementId)_cachedDescriptionQuestId)) ? (-1809658304) : (-1809658298)); + string text = default(string); + string text4 = default(string); + string text5 = default(string); + QuestDialogueText current = default(QuestDialogueText); + string text6 = default(string); + QuestDialogueText current2 = default(QuestDialogueText); + string text7 = default(string); + while (true) + { + int num2 = num; + int num3 = -1809658300; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _202C_206C_206F_206F_200E_206B_202B_202D_206D_206D_200C_200E_200F_206C_202B_202C_200E_206B_202B_206E_206A_202B_202B_206D_202E_206B_206A_206B_200F_202D_206F_200B_206B_202C_200D_202D_202C_202E_202C_206F_202E(); + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.DimTextColor, (ImU8String)_cachedDescription); + num = -1809658300; + break; + case 2: + num = (_200E_200C_200D_202E_200B_202B_200C_200C_206A_206F_206F_202D_206A_200D_206A_200E_202C_200E_200C_202D_200F_202C_200D_200F_200C_206E_202E_202D_202D_200F_200F_202B_202A_206C_200E_206B_202B_206E_200B_206A_202E(_cachedDescription) ? (-1809658300) : (-1809658299)); + break; + case 0: + return; + case 3: + num = -1809658298; + break; + case 4: + _cachedDescriptionQuestId = questId; + _cachedDescription = null; + try + { + num = (questEx.HasValue ? 1925656317 : 1925656318); + while (true) + { + int num7 = num; + num3 = 1925656319; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1925656318; + break; + case 2: + text = questEx.Value.Id.ExtractText(); + num = ((!_200D_206D_200B_200D_206B_206F_202C_206B_202B_200F_206E_202E_206C_206A_206E_202C_202A_200B_206F_202C_202B_202A_206D_202B_200B_206A_200B_206D_200E_202D_206C_202B_200B_200D_202D_202D_202A_206C_206F_200F_202E(text)) ? 1925656319 : 1925656315); + break; + case 4: + return; + case 1: + return; + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(7, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-562974435)); + defaultInterpolatedStringHandler.AppendFormatted(_200B_200B_202E_206B_200E_206C_206A_206E_202C_200B_200E_202B_206D_206B_202B_202A_202D_202A_200D_200C_206F_200B_206F_206A_206A_200F_200F_202E_202B_200C_206D_202A_206B_202B_206B_202A_202C_206E_206F_202E_202E((ElementId)questId) / 100, global::_003CModule_003E._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(-1224969122)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1392036559)); + defaultInterpolatedStringHandler.AppendFormatted(text); + string text2 = defaultInterpolatedStringHandler.ToStringAndClear(); + IDataManager dataManager = _dataManager; + string name = text2; + ExcelSheet excelSheet = dataManager.GetExcelSheet(null, name); + string text3 = null; + using (ExcelSheet.Enumerator enumerator = excelSheet.GetEnumerator()) + { + num = 533685612; + while (true) + { + int num8 = num; + num3 = 533685610; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = ((!_200B_202A_206B_206D_206F_206B_202A_202A_202D_200F_200C_200B_206A_200F_206F_200C_202B_200D_200E_200D_206E_206B_202E_202E_206F_202A_206F_202E_200D_200B_202A_206A_202A_206A_206C_200E_200C_206A_202A_200E_202E(text4, global::_003CModule_003E._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(1709442303), StringComparison.Ordinal)) ? 533685612 : 533685615); + break; + case 6: + num = (enumerator.MoveNext() ? 533685608 : 533685611); + break; + case 3: + text3 = text5; + num = 533685611; + break; + case 5: + text5 = current.Value.ExtractText(); + num = (_200E_200C_200D_202E_200B_202B_200C_200C_206A_206F_206F_202D_206A_200D_206A_200E_202C_200E_200C_202D_200F_202C_200D_200F_200C_206E_202E_202D_202D_200F_200F_202B_202A_206C_200E_206B_202B_206E_200B_206A_202E(text5) ? 533685612 : 533685609); + break; + case 0: + num = 533685612; + break; + case 2: + current = enumerator.Current; + text4 = current.Key.ExtractText(); + num = ((!_200B_202A_206B_206D_206F_206B_202A_202A_202D_200F_200C_200B_206A_200F_206F_200C_202B_200D_200E_200D_206E_206B_202E_202E_206F_202A_206F_202E_200D_200B_202A_206A_202A_206A_206C_200E_200C_206A_202A_200E_202E(text4, global::_003CModule_003E._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(1297119939), StringComparison.Ordinal)) ? 533685612 : 533685614); + break; + case 1: + goto end_IL_0211; + } + continue; + end_IL_0211: + break; + } + } + if (text3 == null) + { + using ExcelSheet.Enumerator enumerator = excelSheet.GetEnumerator(); + num = 1693390878; + while (true) + { + int num9 = num; + num3 = 1693390876; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 4: + text3 = text6; + num = 1693390879; + break; + case 1: + current2 = enumerator.Current; + text7 = current2.Key.ExtractText(); + num = (_200B_202A_206B_206D_206F_206B_202A_202A_202D_200F_200C_200B_206A_200F_206F_200C_202B_200D_200E_200D_206E_206B_202E_202E_206F_202A_206F_202E_200D_200B_202A_206A_202A_206A_206C_200E_200C_206A_202A_200E_202E(text7, global::_003CModule_003E._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(160420819), StringComparison.Ordinal) ? 1693390874 : 1693390873); + break; + case 6: + text6 = current2.Value.ExtractText(); + num = (_200E_200C_200D_202E_200B_202B_200C_200C_206A_206F_206F_202D_206A_200D_206A_200E_202C_200E_200C_202D_200F_202C_200D_200F_200C_206E_202E_202D_202D_200F_200F_202B_202A_206C_200E_206B_202B_206E_200B_206A_202E(text6) ? 1693390878 : 1693390872); + break; + case 5: + num = ((!_200B_202A_206B_206D_206F_206B_202A_202A_202D_200F_200C_200B_206A_200F_206F_200C_202B_200D_200E_200D_206E_206B_202E_202E_206F_202A_206F_202E_200D_200B_202A_206A_202A_206A_206C_200E_200C_206A_202A_200E_202E(text7, global::_003CModule_003E._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(584658763), StringComparison.Ordinal)) ? 1693390878 : 1693390874); + break; + case 2: + num = (enumerator.MoveNext() ? 1693390877 : 1693390879); + break; + case 0: + num = 1693390878; + break; + case 3: + goto end_IL_0368; + } + continue; + end_IL_0368: + break; + } + } + num = (_200E_200C_200D_202E_200B_202B_200C_200C_206A_206F_206F_202D_206A_200D_206A_200E_202C_200E_200C_202D_200F_202C_200D_200F_200C_206E_202E_202D_202D_200F_200F_202B_202A_206C_200E_206B_202B_206E_200B_206A_202E(text3) ? (-1018691369) : (-1018691370)); + while (true) + { + int num12 = num; + num3 = -1018691369; + num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 2: + num = -1018691370; + break; + case 1: + _cachedDescription = text3; + _202C_206C_206F_206F_200E_206B_202B_202D_206D_206D_200C_200E_200F_206C_202B_202C_200E_206B_202B_206E_206A_202B_202B_206D_202E_206B_206A_206B_200F_202D_206F_200B_206B_202C_200D_202D_202C_202E_202C_206F_202E(); + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.DimTextColor, (ImU8String)text3); + num = -1018691369; + break; + case 0: + return; + } + } + } + } + } + } + catch + { + return; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawNpcLine(Lumina.Excel.Sheets.Quest? questEx, IQuestInfo questInfo) + { + string text = null; + string text2 = null; + int num; + try + { + num = ((!questEx.HasValue) ? 1742559574 : 1742559575); + uint rowId = default(uint); + while (true) + { + int num2 = num; + int num3 = 1742559573; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1742559575; + break; + case 2: + rowId = questEx.Value.IssuerStart.RowId; + num = ((rowId == 0) ? 1742559574 : 1742559572); + break; + case 1: + text = ResolveNpcName(rowId); + num = 1742559574; + break; + case 3: + goto end_IL_0028; + } + continue; + end_IL_0028: + break; + } + } + catch + { + } + if (text == null && questInfo.IssuerDataId != 0) + { + try + { + text = ResolveNpcName(questInfo.IssuerDataId); + } + catch + { + } + } + try + { + num = ((!questEx.HasValue) ? (-84290485) : (-84290487)); + uint rowId2 = default(uint); + while (true) + { + int num5 = num; + int num3 = -84290485; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + text2 = ResolveNpcName(rowId2); + num = -84290485; + break; + case 2: + rowId2 = questEx.Value.TargetEnd.RowId; + num = ((rowId2 == 0) ? (-84290485) : (-84290486)); + break; + case 3: + num = -84290487; + break; + case 0: + goto end_IL_010a; + } + continue; + end_IL_010a: + break; + } + } + catch + { + } + num = ((text != null) ? 596830364 : 596830365); + while (true) + { + int num6 = num; + int num3 = 596830362; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + { + ImU8String imU8String = new ImU8String(3, 2); + imU8String.AppendFormatted(text); + imU8String.AppendLiteral(global::_003CModule_003E._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(-485019730)); + imU8String.AppendFormatted(text2); + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.DimTextColor, imU8String); + return; + } + case 0: + return; + case 7: + num = ((text2 == null) ? 596830362 : 596830364); + break; + case 3: + { + ImU8String imU8String2 = new ImU8String(2, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(935059527)); + imU8String2.AppendFormatted(text2); + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.DimTextColor, imU8String2); + num = 596830362; + break; + } + case 5: + num = 596830365; + break; + case 2: + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.DimTextColor, (ImU8String)text); + return; + case 6: + num = ((text == null) ? 596830366 : 596830363); + break; + case 1: + num = ((text2 == null) ? 596830366 : 596830354); + break; + case 4: + num = ((text == null) ? 596830361 : 596830360); + break; + } + } + } + + private string? ResolveNpcName(uint npcId) + { + ENpcResident? rowOrDefault = _dataManager.GetExcelSheet().GetRowOrDefault(npcId); + int num = ((!rowOrDefault.HasValue) ? (-1406842401) : (-1406842403)); + string text = default(string); + while (true) + { + int num2 = num; + int num3 = -1406842404; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return null; + case 1: + text = rowOrDefault.Value.Singular.ExtractText(); + num = (_200D_206D_200B_200D_206B_206F_202C_206B_202B_200F_206E_202E_206C_206A_206E_202C_202A_200B_206F_202C_202B_202A_206D_202B_200B_206A_200B_206D_200E_202D_206C_202B_200B_200D_202D_202D_202A_206C_206F_200F_202E(text) ? (-1406842401) : (-1406842402)); + break; + case 0: + num = -1406842403; + break; + case 2: + return text; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawRewards(Lumina.Excel.Sheets.Quest questEx) + { + byte itemRewardType = questEx.ItemRewardType; + int num = 1; + int num2 = itemRewardType; + bool flag3 = default(bool); + Item? valueOrDefault = default(Item?); + int num3; + Item? valueNullable = default(Item?); + switch (~(~num2 + num)) + { + default: + num3 = 1403024806; + goto IL_003a; + case 0: + case 2: + case 4: + flag3 = true; + num3 = 1403024807; + goto IL_003a; + case 1: + case 3: + goto IL_00aa; + IL_003a: + while (true) + { + int num4 = num3; + num = 1403024802; + num2 = num4; + bool flag2; + int num13; + switch ((num2 | num) - (num2 & num)) + { + case 2: + goto end_IL_003a; + case 5: + if (flag3) + { + num3 = 1403024803; + break; + } + goto IL_02b0; + case 3: + num3 = 1403024806; + break; + case 4: + num3 = 1403024802; + break; + case 0: + goto IL_00aa; + case 1: + { + bool flag = false; + int num5 = 0; + while (num5 < questEx.Reward.Count) + { + try + { + RowRef rowRef = questEx.Reward[num5]; + num3 = ((rowRef.RowId == 0) ? 1542330155 : 1542330152); + while (true) + { + int num6 = num3; + num = 1542330159; + num2 = num6; + int num7 = num2 + num; + int num8 = num2 & num; + int num9; + switch (num7 - (num8 + num8)) + { + default: + continue; + case 10: + valueOrDefault = rowRef.GetValueOrDefault(); + num3 = (valueOrDefault.HasValue ? 1542330157 : 1542330158); + continue; + case 4: + goto end_IL_00fb; + case 3: + _206F_202C_206E_206C_200D_202B_200C_206D_200E_202A_206F_206C_200B_206A_200D_206A_200D_200C_200D_206A_202D_202B_200C_202A_200C_206F_202A_200B_206B_202B_202B_200C_202A_200E_200E_202C_206A_200B_202B_206B_202E(); + num3 = 1542330159; + continue; + case 5: + num9 = 1; + break; + case 0: + num3 = ((num5 < questEx.ItemCountReward.Count) ? 1542330150 : 1542330154); + continue; + case 1: + goto end_IL_00fb; + case 6: + UiThemeUtils.SubSectionHeader(global::_003CModule_003E._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(-828308343)); + flag = true; + num3 = 1542330159; + continue; + case 2: + num3 = (flag ? 1542330156 : 1542330153); + continue; + case 7: + num3 = (rowRef.Is() ? 1542330149 : 1542330155); + continue; + case 8: + num3 = 1542330152; + continue; + case 9: + num9 = questEx.ItemCountReward[num5]; + break; + } + byte count = (byte)num9; + DrawItemIcon(valueOrDefault.Value, count); + break; + continue; + end_IL_00fb: + break; + } + } + catch + { + } + int num10 = num5; + num = 1; + num2 = num10; + int num11 = num2 ^ num; + int num12 = num2 & num; + num5 = num11 + (num12 + num12); + } + goto IL_02b0; + } + IL_02b0: + flag2 = false; + num13 = 0; + while (num13 < questEx.OptionalItemReward.Count) + { + try + { + RowRef rowRef2 = questEx.OptionalItemReward[num13]; + num3 = ((rowRef2.RowId != 0) ? 1010436964 : 1010436970); + while (true) + { + int num14 = num3; + num = 1010436973; + num2 = num14; + int num15 = num2 + num; + int num16 = num2 & num; + int num17; + switch (num15 - (num16 + num16)) + { + default: + continue; + case 8: + UiThemeUtils.SubSectionHeader(global::_003CModule_003E._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(-49559706)); + flag2 = true; + num3 = 1010436968; + continue; + case 7: + goto end_IL_02f3; + case 2: + num3 = 1010436970; + continue; + case 1: + num3 = (flag2 ? 1010436974 : 1010436965); + continue; + case 3: + _206F_202C_206E_206C_200D_202B_200C_206D_200E_202A_206F_206C_200B_206A_200D_206A_200D_200C_200D_206A_202D_202B_200C_202A_200C_206F_202A_200B_206B_202B_202B_200C_202A_200E_200E_202C_206A_200B_202B_206B_202E(); + num3 = 1010436968; + continue; + case 4: + num17 = 1; + break; + case 5: + num3 = ((num13 < questEx.OptionalItemCountReward.Count) ? 1010436973 : 1010436969); + continue; + case 9: + valueNullable = rowRef2.ValueNullable; + num3 = (valueNullable.HasValue ? 1010436972 : 1010436971); + continue; + case 6: + goto end_IL_02f3; + case 0: + num17 = questEx.OptionalItemCountReward[num13]; + break; + } + byte count2 = (byte)num17; + DrawItemIcon(valueNullable.Value, count2); + break; + continue; + end_IL_02f3: + break; + } + } + catch + { + } + int num18 = num13; + num = 1; + num2 = num18; + int num19 = num2 ^ num; + int num20 = num2 & num; + num13 = num19 + (num20 + num20); + } + return; + } + continue; + end_IL_003a: + break; + } + goto case 0; + IL_00aa: + flag3 = false; + num3 = 1403024807; + goto IL_003a; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawItemIcon(Item item, byte count) + { + int num; + try + { + ushort icon = item.Icon; + num = ((icon <= 0) ? (-1941394636) : (-1941394632)); + string text3 = default(string); + IDalamudTextureWrap dalamudTextureWrap = default(IDalamudTextureWrap); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = -1941394627; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + string text2; + switch (num5 - (num6 + num6)) + { + case 2: + _200E_206C_202C_202A_200C_202D_206A_206F_206B_202E_200E_200B_200C_206F_200C_206C_200E_202B_200C_206C_206D_202E_202A_202D_200E_206B_202A_200D_200B_206C_206F_206C_206D_206F_202B_206A_206F_200C_200D_200E_202E(); + text3 = item.Name.ExtractText(); + num = ((count > 1) ? (-1941394626) : (-1941394627)); + break; + case 1: + _202D_200D_206E_206E_206B_202A_206E_206F_202C_202E_206E_202C_202C_206E_200D_206F_202C_202D_200D_200B_202A_200C_200B_202E_206A_202A_206A_200C_206E_206F_202B_200E_202B_202E_206C_202E_200E_200E_206F_206E_202E(_206E_202C_202E_202B_200D_206B_200C_200F_206C_206D_200F_202C_206B_200F_200E_202C_206B_200D_202B_206E_200D_206A_202C_202A_200D_206B_200D_200E_200B_200C_202A_200B_202A_206E_206C_206C_202D_206E_202D_200C_202E(dalamudTextureWrap), new Vector2(32f, 32f)); + flag = _202D_206C_202B_206F_200F_206C_202E_200E_200D_202E_206F_202E_206E_206E_202C_206A_200D_200B_206B_206F_206A_202E_202C_200F_200B_202D_202C_200C_206D_202D_202B_202C_200C_200D_202A_200B_202B_202E_202E_200E_202E(); + num = ((count <= 1) ? (-1941394635) : (-1941394631)); + break; + case 4: + { + _206E_202A_202B_206F_206B_206F_200E_206C_200F_206F_206D_206A_200D_200F_206C_206D_200B_206B_202A_202E_206F_202E_206C_200E_206D_206D_206B_206B_206C_200F_202B_202E_202B_200F_202A_200B_202C_206F_200F_202D_202E(0f, 2f); + _200F_202D_200B_206A_200D_206F_206F_200F_200B_206D_202C_206E_200C_200D_206A_202E_200E_202A_200D_202D_200C_202B_206C_206D_200E_202D_206F_206C_200F_206D_200F_200C_200C_200F_202A_200E_206A_200B_206D_206C_202E(_206D_202C_200C_200E_202C_202C_200D_206D_206F_206A_200C_200E_202C_202E_200C_200F_206E_206E_206E_202B_206C_200F_200D_200F_206D_202B_200F_200E_202B_200D_206A_202D_206E_200E_200F_202A_206D_206C_200E_202C_202E() + 16f); + ImU8String imU8String = new ImU8String(1, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(446943949)); + imU8String.AppendFormatted(count); + _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref UiThemeUtils.DimTextColor, imU8String); + flag |= _202D_206C_202B_206F_200F_206C_202E_200E_200D_202E_206F_202E_206E_206E_202C_206A_200D_200B_206B_206F_206A_202E_202C_200F_200B_202D_202C_200C_206D_202D_202B_202C_200C_200D_202A_200B_202B_202E_202E_200E_202E(); + num = -1941394635; + break; + } + case 0: + text2 = text3; + goto IL_01bf; + case 6: + return; + case 8: + num = ((!flag) ? (-1941394629) : (-1941394625)); + break; + case 3: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(2, 2); + defaultInterpolatedStringHandler2.AppendFormatted(text3); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1448126334)); + defaultInterpolatedStringHandler2.AppendFormatted(count); + text2 = defaultInterpolatedStringHandler2.ToStringAndClear(); + goto IL_01bf; + } + case 5: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(17, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(668017784)); + defaultInterpolatedStringHandler.AppendFormatted(icon / 1000 * 1000, global::_003CModule_003E._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(786645962)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(503298330)); + defaultInterpolatedStringHandler.AppendFormatted(icon, global::_003CModule_003E._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(981289831)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(963084362)); + string text = defaultInterpolatedStringHandler.ToStringAndClear(); + dalamudTextureWrap = _200F_206C_200D_206A_206B_200B_206A_206D_200F_202A_202E_206C_202A_202B_200F_206A_206D_202E_200F_202C_206A_202B_200E_200B_202A_200E_206A_206F_206D_202B_202D_202B_202E_206A_202A_206B_202A_202D_200C_200E_202E(_206D_200E_206D_206F_206C_200B_200D_202C_206F_202D_202E_202C_202C_202A_202B_202B_202C_206A_206E_202D_202E_206F_200D_202C_200E_200D_206C_200C_206D_200F_200B_200E_206C_206D_200B_200E_206D_206F_206E_206B_202E(_textureProvider, text), (IDalamudTextureWrap)null); + num = ((dalamudTextureWrap == null) ? (-1941394636) : (-1941394628)); + break; + } + case 7: + num = -1941394632; + break; + case 9: + goto end_IL_0027; + IL_01bf: + _202D_200C_202D_202A_202E_206D_206C_202B_206D_200C_206A_200F_202B_202B_202E_202C_200C_206D_206D_200D_200D_206D_206E_206E_206C_200C_206F_206B_200E_206B_202B_200E_202C_206E_200B_202C_202E_202D_200F_206A_202E((ImU8String)text2); + _202A_206B_206A_202B_206B_200B_200B_202A_206C_206C_202D_206F_200D_200F_200E_200E_200B_200E_206B_202A_206E_206E_200F_200F_206C_206F_206A_200C_206F_200E_200C_200C_200E_202D_202C_202D_206D_200B_200B_202C_202E(); + num = -1941394629; + break; + } + continue; + end_IL_0027: + break; + } + } + catch + { + } + string text4 = item.Name.ExtractText(); + num = ((count > 1) ? 504309802 : 504309800); + while (true) + { + int num7 = num; + int num3 = 504309801; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + string text5; + switch (num8 - (num9 + num9)) + { + case 3: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(4, 2); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(1542193285)); + defaultInterpolatedStringHandler3.AppendFormatted(text4); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(821360342)); + defaultInterpolatedStringHandler3.AppendFormatted(count); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-1851437460)); + text5 = defaultInterpolatedStringHandler3.ToStringAndClear(); + goto IL_0350; + } + case 1: + text5 = _200F_206B_200D_200D_206B_206C_200B_200D_206E_202A_202C_206E_202E_206D_202C_206B_206E_200F_200B_206D_202E_206D_200B_206E_206E_206D_206A_202E_206D_200E_206F_202A_202D_206D_206B_202A_200D_202A_206A_206F_202E(global::_003CModule_003E._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(-999106428), text4, global::_003CModule_003E._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(-1851437460)); + goto IL_0350; + case 2: + return; + case 0: + _200E_206C_202C_202A_200C_202D_206A_206F_206B_202E_200E_200B_200C_206F_200C_206C_200E_202B_200C_206C_206D_202E_202A_202D_200E_206B_202A_200D_200B_206C_206F_206C_206D_206F_202B_206A_206F_200C_200D_200E_202E(); + _202D_200C_202D_202A_202E_206D_206C_202B_206D_200C_206A_200F_202B_202B_202E_202C_200C_206D_206D_200D_200D_206D_206E_206E_206C_200C_206F_206B_200E_206B_202B_200E_202C_206E_200B_202C_202E_202D_200F_206A_202E((ImU8String)text4); + _202A_206B_206A_202B_206B_200B_200B_202A_206C_206C_202D_206F_200D_200F_200E_200E_200B_200E_206B_202A_206E_206E_200F_200F_206C_206F_206A_200C_206F_200E_200C_200C_200E_202D_202C_202D_206D_200B_200B_202C_202E(); + num = 504309803; + break; + case 4: + { + num = 504309800; + break; + } + IL_0350: + _202D_200C_202D_202A_202E_206D_206C_202B_206D_200C_206A_200F_202B_202B_202E_202C_200C_206D_206D_200D_200D_206D_206E_206E_206C_200C_206F_206B_200E_206B_202B_200E_202C_206E_200B_202C_202E_202D_200F_206A_202E((ImU8String)text5); + num = ((!_202D_206C_202B_206F_200F_206C_202E_200E_200D_202E_206F_202E_206E_206E_202C_206A_200D_200B_206B_206F_206A_202E_202C_200F_200B_202D_202C_200C_206D_202D_202B_202C_200C_200D_202A_200B_202B_202E_202E_200E_202E()) ? 504309803 : 504309801); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawQuestBanner(uint iconId) + { + int num = ((iconId != 0) ? 1411179466 : 1411179465); + while (true) + { + int num2 = num; + int num3 = 1411179464; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004a; + case 1: + return; + case 2: + try + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(17, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-899020876)); + defaultInterpolatedStringHandler.AppendFormatted(iconId / 1000 * 1000, global::_003CModule_003E._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(385900318)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1680133376)); + defaultInterpolatedStringHandler.AppendFormatted(iconId, global::_003CModule_003E._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(-1347770256)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2009764943)); + string text = defaultInterpolatedStringHandler.ToStringAndClear(); + IDalamudTextureWrap dalamudTextureWrap = _200F_206C_200D_206A_206B_200B_206A_206D_200F_202A_202E_206C_202A_202B_200F_206A_206D_202E_200F_202C_206A_202B_200E_200B_202A_200E_206A_206F_206D_202B_202D_202B_202E_206A_202A_206B_202A_202D_200C_200E_202E(_206D_200E_206D_206F_206C_200B_200D_202C_206F_202D_202E_202C_202C_202A_202B_202B_202C_206A_206E_202D_202E_206F_200D_202C_200E_200D_206C_200C_206D_200F_200B_200E_206C_206D_200B_200E_206D_206F_206E_206B_202E(_textureProvider, text), (IDalamudTextureWrap)null); + num = ((dalamudTextureWrap == null) ? (-419652818) : (-419652819)); + while (true) + { + int num5 = num; + num3 = -419652820; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -419652819; + break; + case 1: + { + float num6 = _206A_206F_202B_200C_200F_202A_202C_206F_202C_206E_202E_206D_206A_200B_206C_200B_200C_206F_206F_202A_206E_206B_200B_206D_206F_202E_206B_206A_202B_206C_206C_202E_206A_202D_200C_206E_202D_200C_200D_202B_202E(_206F_200B_200E_206C_200E_200B_206B_206E_200E_206C_206E_206E_202B_202A_206B_202C_200C_202A_206B_202D_206C_202D_202D_200F_206B_200E_200B_206B_202A_206A_206D_200F_206D_206E_202B_200B_200C_206D_200C_202A_202E().X, (float)_202A_200E_206D_200E_206A_202C_206E_206A_202C_206C_206B_200F_200B_200F_200F_202A_206B_200E_200D_202A_206F_200E_200F_202B_200B_202D_206D_206C_206B_202A_202A_206D_200C_200D_200D_206B_200B_206A_206C_200E_202E(dalamudTextureWrap) * 0.5f); + float num7 = (float)_200F_206A_200E_206F_206F_202C_206C_200F_202E_206F_206C_202D_202B_202C_200F_202B_200E_200B_200B_202B_206D_206B_202A_206B_200C_206D_206A_202E_200C_202B_206C_206C_206D_206B_206C_200D_202B_202E_206C_206A_202E(dalamudTextureWrap) / (float)_202A_200E_206D_200E_206A_202C_206E_206A_202C_206C_206B_200F_200B_200F_200F_202A_206B_200E_200D_202A_206F_200E_200F_202B_200B_202D_206D_206C_206B_202A_202A_206D_200C_200D_200D_206B_200B_206A_206C_200E_202E(dalamudTextureWrap); + float y = num6 * num7; + _202D_200D_206E_206E_206B_202A_206E_206F_202C_202E_206E_202C_202C_206E_200D_206F_202C_202D_200D_200B_202A_200C_200B_202E_206A_202A_206A_200C_206E_206F_202B_200E_202B_202E_206C_202E_200E_200E_206F_206E_202E(_206E_202C_202E_202B_200D_206B_200C_200F_206C_206D_200F_202C_206B_200F_200E_202C_206B_200D_202B_206E_200D_206A_202C_202A_200D_206B_200D_200E_200B_200C_202A_200B_202A_206E_206C_206C_202D_206E_202D_200C_202E(dalamudTextureWrap), new Vector2(num6, y)); + num = -419652818; + break; + } + case 2: + return; + } + } + } + catch + { + return; + } + } + continue; + IL_004a: + num = 1411179465; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private CachedGraphLayout ComputeLayout(QuestChainGraph graph) + { + List> list = ReorderLayers(graph); + int num = 0; + int num2 = -417925842; + IQuestInfo questInfo = default(IQuestInfo); + QuestId current = default(QuestId); + float num19 = default(float); + int num18 = default(int); + int num14 = default(int); + QuestId current2 = default(QuestId); + string text = default(string); + string text2 = default(string); + float num16 = default(float); + float num15 = default(float); + IQuestInfo questInfo2 = default(IQuestInfo); + while (true) + { + int num3 = num2; + int num4 = -417925844; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 3: + num2 = -417925842; + break; + case 1: + { + list[num] = list[num].Where((QuestId qid) => _questData.TryGetQuestInfo(qid, out IQuestInfo _)).ToList(); + int num22 = num; + num4 = 1; + num5 = num22; + int num23 = num5 ^ num4; + int num24 = num5 & num4; + num = num23 + (num24 + num24); + num2 = -417925842; + break; + } + case 2: + num2 = ((num < list.Count) ? (-417925843) : (-417925844)); + break; + case 0: + { + list.RemoveAll((List l) => l.Count == 0); + Dictionary dictionary = new Dictionary(); + foreach (List item in list) + { + using List.Enumerator enumerator2 = item.GetEnumerator(); + num2 = 169388037; + while (true) + { + int num6 = num2; + num4 = 169388037; + num5 = num6; + float num7; + float num8; + switch ((num5 | num4) - (num5 & num4)) + { + case 4: + num7 = 150f; + goto IL_018a; + case 1: + num7 = _200C_202E_206B_202A_206C_206F_202B_202C_202B_200F_206D_200F_206D_206D_200E_200F_206B_206F_200D_206A_206A_200B_206E_200D_200B_200E_200D_202E_200B_200B_200B_202A_206B_206C_202C_202E_206D_206B_206E_202D_202E((ImU8String)UiThemeUtils.CleanSeString(questInfo.Name), false, -1f).X + 16f; + goto IL_018a; + case 2: + num2 = 169388037; + break; + case 5: + current = enumerator2.Current; + num2 = (_questData.TryGetQuestInfo(current, out questInfo) ? 169388036 : 169388033); + break; + case 0: + num2 = (enumerator2.MoveNext() ? 169388032 : 169388038); + break; + case 3: + goto end_IL_0115; + IL_018a: + num8 = num7; + dictionary[current] = _206D_200F_206A_200F_206D_202C_202E_202E_206F_206C_200C_206A_202E_202E_206E_202C_206A_202B_206B_206B_206A_206F_202A_202C_202A_200E_202D_200F_206B_200F_202C_206B_206B_206E_206F_200C_202E_202C_206F_202E(150f, _206A_206F_202B_200C_200F_202A_202C_206F_202C_206E_202E_206D_206A_200B_206C_200B_200C_206F_206F_202A_206E_206B_200B_206D_206F_202E_206B_206A_202B_206C_206C_202E_206A_202D_200C_206E_202D_200C_200D_202B_202E(240f, num8)); + num2 = 169388037; + break; + } + continue; + end_IL_0115: + break; + } + } + float[] array = new float[list.Count]; + int num9 = 0; + num2 = -240026125; + while (true) + { + int num10 = num2; + num4 = -240026126; + num5 = num10; + int num11 = num5 + num4; + int num12 = num5 & num4; + switch (num11 - (num12 + num12)) + { + case 3: + { + num19 += dictionary[list[num9][num18]]; + int num20 = num18; + num4 = 1; + num5 = num20; + num18 = (num5 | num4) + (num5 & num4); + num2 = -240026128; + break; + } + case 0: + num2 = ((num18 <= 0) ? (-240026127) : (-240026124)); + break; + case 1: + num2 = ((num9 < list.Count) ? (-240026122) : (-240026121)); + break; + case 7: + { + array[num9] = num19; + int num21 = num9; + num4 = 1; + num5 = num21; + num9 = (num5 | num4) + (num5 & num4); + num2 = -240026125; + break; + } + case 8: + num2 = -240026125; + break; + case 4: + num19 = 0f; + num18 = 0; + num2 = -240026128; + break; + case 6: + num19 += 20f; + num2 = -240026127; + break; + case 2: + num2 = ((num18 < list[num9].Count) ? (-240026126) : (-240026123)); + break; + case 5: + { + Dictionary dictionary2 = new Dictionary(); + foreach (List item2 in list) + { + using List.Enumerator enumerator2 = item2.GetEnumerator(); + num2 = -1017681287; + while (true) + { + int num13 = num2; + num4 = -1017681287; + num5 = num13; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = (enumerator2.MoveNext() ? (-1017681281) : (-1017681293)); + break; + case 1: + { + int num17 = num14; + num4 = 1; + num5 = num17; + num14 = ~(~num5 + num4); + num2 = -1017681295; + break; + } + case 7: + dictionary2[current2] = text; + num2 = -1017681287; + break; + case 3: + text2 = _206F_206A_202E_206F_202D_202B_206D_206F_202E_206D_200C_206D_200E_200B_202E_202B_202B_200E_200E_206B_206A_206A_200B_200F_206D_200B_200D_206F_200D_200C_206F_202E_200C_200D_206F_206F_202D_202B_200D_206F_202E(_200C_202B_206C_202C_206F_202B_202E_202A_200F_206E_202A_206A_200C_200E_200F_200C_206F_200C_202D_200F_206C_200C_200E_200E_202E_206C_202B_206C_206C_200D_200F_206E_206C_206A_202A_206B_206C_202C_202C_206E_202E(text, 0, num14), global::_003CModule_003E._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(799152405)); + num2 = ((!(_200C_202E_206B_202A_206C_206F_202B_202C_202B_200F_206D_200F_206D_206D_200E_200F_206B_206F_200D_206A_206A_200B_206E_200D_200B_200E_200D_202E_200B_200B_200B_202A_206B_206C_202C_202E_206D_206B_206E_202D_202E((ImU8String)text2, false, -1f).X + num16 <= num15)) ? (-1017681288) : (-1017681296)); + break; + case 4: + num2 = -1017681287; + break; + case 6: + current2 = enumerator2.Current; + num2 = ((!_questData.TryGetQuestInfo(current2, out questInfo2)) ? (-1017681287) : (-1017681285)); + break; + case 9: + text = text2; + num2 = -1017681282; + break; + case 2: + text = UiThemeUtils.CleanSeString(questInfo2.Name); + num15 = dictionary[current2]; + num16 = 8f; + num2 = ((!(_200C_202E_206B_202A_206C_206F_202B_202C_202B_200F_206D_200F_206D_206D_200E_200F_206B_206F_200D_206A_206A_200B_206E_200D_200B_200E_200D_202E_200B_200B_200B_202A_206B_206C_202C_202E_206D_206B_206E_202D_202E((ImU8String)text, false, -1f).X + num16 > num15)) ? (-1017681282) : (-1017681284)); + break; + case 8: + num2 = ((num14 > 3) ? (-1017681286) : (-1017681282)); + break; + case 5: + num14 = _206F_200C_202E_202B_206A_200E_206D_206D_206C_202B_206C_202A_202C_206A_202E_202C_206F_200D_202E_206F_206E_202C_202A_206B_200D_202A_202A_206F_206C_202D_206C_200E_206B_202C_200E_202B_206D_206C_200D_202A_202E(text) - 1; + num2 = -1017681295; + break; + case 10: + goto end_IL_03e4; + } + continue; + end_IL_03e4: + break; + } + } + return new CachedGraphLayout + { + Layers = list, + NodeWidths = dictionary, + LayerWidths = array, + TruncatedLabels = dictionary2 + }; + } + } + } + } + } + } + } + + private void RefreshNodeStatusCache() + { + _nodeStatusCache.Clear(); + int num = ((_cachedLayout != null) ? 592531214 : 592531215); + while (true) + { + int num2 = num; + int num3 = 592531214; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_005c; + case 1: + return; + case 0: + foreach (List layer in _cachedLayout.Layers) + { + using List.Enumerator enumerator2 = layer.GetEnumerator(); + num = -2029790129; + while (true) + { + int num7 = num; + num3 = -2029790130; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -2029790129; + break; + case 1: + num = (enumerator2.MoveNext() ? (-2029790132) : (-2029790131)); + break; + case 2: + { + QuestId current = enumerator2.Current; + Vector4 questNodeColor = GetQuestNodeColor(current); + bool isDone = _questFunctions.IsQuestAcceptedOrComplete(current); + _nodeStatusCache[current] = new NodeStatusEntry(questNodeColor, isDone); + num = -2029790129; + break; + } + case 3: + goto end_IL_0098; + } + continue; + end_IL_0098: + break; + } + } + _nodeStatusRefreshedAt = _202D_202E_206C_200E_206E_200C_200D_202A_202D_200B_200C_206D_200C_206A_206F_206E_200C_206C_206E_206F_206D_200B_200E_206E_200E_202C_206C_206F_206C_202E_206E_206F_202B_202C_202A_202E_206A_206E_206B_202C_202E(); + return; + } + continue; + IL_005c: + num = 592531215; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawChainGraph(QuestChainGraph graph, float panelWidth) + { + float graphZoom = _graphZoom; + ImDrawListPtr drawList = _202E_200C_202A_202A_206A_202C_202E_202D_202B_200F_206A_206E_206E_206D_206F_206B_202D_206F_200E_202A_202C_206F_202E_206D_202E_202B_200E_202B_200C_202C_206E_206A_206A_200C_202A_200B_206C_206C_200D_206C_202E(); + Vector2 vector = _202E_200C_202E_200B_206A_200D_200D_200D_206C_200F_206B_206A_202A_202D_202D_200D_202E_206B_200E_200E_206C_200B_200B_206E_200D_202B_202E_200C_200C_206D_206A_200D_200B_200C_200D_202A_202E_206D_206E_202A_202E(); + Vector2 vector2 = _206F_200B_200E_206C_200E_200B_206B_206E_200E_206C_206E_206E_202B_202A_206B_202C_200C_202A_206B_202D_206C_202D_202D_200F_206B_200E_200B_206B_202A_206A_206D_200F_206D_206E_202B_200B_200C_206D_200C_202A_202E(); + int num = ((!(vector2.X < 1f)) ? 1242681115 : 1242681101); + Vector2 vector4 = default(Vector2); + float num68 = default(float); + float[] layerWidths = default(float[]); + int num69 = default(int); + int num70 = default(int); + Dictionary nodeWidths = default(Dictionary); + bool flag = default(bool); + bool flag4 = default(bool); + float mouseWheel = default(float); + Vector2 vector3 = default(Vector2); + List> layers = default(List>); + int num76 = default(int); + Dictionary nodePos; + QuestId questId2 = default(QuestId); + bool dragMoved = default(bool); + QuestId questId = default(QuestId); + (Vector2, Vector2) tuple = default((Vector2, Vector2)); + QuestId current2 = default(QuestId); + List value3 = default(List); + List value4 = default(List); + List list4 = default(List); + int num22 = default(int); + QuestId item3 = default(QuestId); + List list5 = default(List); + QuestId item6 = default(QuestId); + int num30 = default(int); + Vector2 vector6 = default(Vector2); + Vector2 vector5 = default(Vector2); + uint num42 = default(uint); + float thickness = default(float); + QuestId current3 = default(QuestId); + (Vector2, Vector2) value6 = default((Vector2, Vector2)); + int num48 = default(int); + bool flag2 = default(bool); + int num44 = default(int); + int valueOrDefault = default(int); + float num43 = default(float); + float num41 = default(float); + float num40 = default(float); + (Vector2, Vector2) value7 = default((Vector2, Vector2)); + QuestId current4 = default(QuestId); + bool flag3 = default(bool); + bool isDone = default(bool); + string valueOrDefault3 = default(string); + Vector2 pos2 = default(Vector2); + IQuestInfo questInfo2 = default(IQuestInfo); + IQuestInfo questInfo = default(IQuestInfo); + while (true) + { + int num2 = num; + int num3 = 1242681116; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1242681101; + break; + case 7: + num = ((!(vector2.Y < 1f)) ? 1242681106 : 1242681095); + break; + case 20: + num = ((!(Vector2.Distance(vector4, _dragOrigin) > 4f)) ? 1242681108 : 1242681103); + break; + case 12: + num68 = (0f - layerWidths[num69]) * 0.5f; + num70 = 0; + num = 1242681093; + break; + case 16: + RefreshNodeStatusCache(); + num = 1242681118; + break; + case 17: + vector2.X = 1f; + num = 1242681115; + break; + case 2: + num = ((!_scrollToSelected) ? 1242681113 : 1242681092); + break; + case 10: + { + float num71 = nodeWidths[graph.SelectedQuest]; + float num72 = (float)num69 * 81f; + _graphOffset = -new Vector2(num68 + num71 * 0.5f, num72 + 13f) * graphZoom; + num = 1242681113; + break; + } + case 11: + _isDragging = true; + _dragStart = vector4; + _dragOrigin = vector4; + num = 1242681096; + break; + case 0: + num = (_isDragging ? 1242681096 : 1242681111); + break; + case 14: + _206C_200C_206E_206E_200F_200D_202A_200C_202E_200E_206F_202D_200C_200F_206A_202A_206D_206C_202A_206B_200B_206A_202B_202B_206B_202B_200E_206D_206A_206D_202C_200D_200D_200F_200D_202B_200F_200F_206C_206A_202E((ImU8String)global::_003CModule_003E._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(1258050388), vector2, ImGuiButtonFlags.MouseButtonMask); + flag = _202D_206C_202B_206F_200F_206C_202E_200E_200D_202E_206F_202E_206E_206E_202C_206A_200D_200B_206B_206F_206A_202E_202C_200F_200B_202D_202C_200C_206D_202D_202B_202C_200C_200D_202A_200B_202B_202E_202E_200E_202E(); + flag4 = _200E_206C_206F_200D_200E_206B_206C_202E_206F_206F_206F_206A_200D_206A_202E_206D_200D_206D_206D_202D_206D_200B_202A_206A_200D_200D_206D_206B_202B_200D_206B_206D_200E_202C_202B_200E_200F_202B_206B_206B_202E(); + vector4 = _200E_202C_206E_200E_202D_202E_206D_206C_206B_206A_202A_206A_202B_200F_206D_202A_206B_200F_202A_206A_202C_206D_206B_206D_206E_206B_202E_202E_206F_202B_200C_206C_202E_202B_206C_202C_202B_202B_200C_200C_202E(); + drawList.PushClipRect(vector, vector + vector2, intersectWithCurrentClipRect: true); + drawList.AddRectFilled(vector, vector + vector2, _206E_202A_202C_206F_200F_206A_200C_206D_202D_200B_206B_206E_206C_200B_206B_200E_200D_200F_206D_200B_200C_200C_206B_206B_200F_206D_206E_206D_206E_202C_202A_206C_206A_200D_202C_206E_200D_202B_200B_202D_202E(GraphBackgroundColor)); + mouseWheel = _206D_200F_206F_202D_202B_206A_202A_200E_206C_206C_200D_206A_200C_200D_206F_206B_202D_206B_200B_200B_200C_200C_206C_200D_202E_202D_206D_206D_206D_200F_200C_206D_206D_200C_200F_206F_206C_200E_202A_202C_202E().MouseWheel; + num = ((!flag) ? 1242681099 : 1242681112); + break; + case 4: + num = ((!(_200B_202C_200D_206E_202E_206F_206E_200D_206D_202A_200D_206C_200D_206E_202A_202A_202E_202C_202D_206D_200E_200E_200C_202B_200E_200F_202A_202D_200E_206D_202A_202E_206B_206C_206B_206A_200F_206B_206D_206F_202E(mouseWheel) > 0.01f)) ? 1242681099 : 1242681102); + break; + case 1: + _cachedLayout = ComputeLayout(graph); + _cachedLayoutQuestId = graph.SelectedQuest; + RefreshNodeStatusCache(); + num = 1242681114; + break; + case 23: + num = ((!flag4) ? 1242681088 : 1242681116); + break; + case 6: + vector3 = vector + vector2 * 0.5f; + layers = _cachedLayout.Layers; + nodeWidths = _cachedLayout.NodeWidths; + layerWidths = _cachedLayout.LayerWidths; + num = ((_202D_202E_206C_200E_206E_200C_200D_202A_202D_200B_200C_206D_200C_206A_206F_206E_200C_206C_206E_206F_206D_200B_200E_206E_200E_202C_206C_206F_206C_202E_206E_206F_202B_202C_202A_202E_206A_206E_206B_202C_202E() - _nodeStatusRefreshedAt <= 3000) ? 1242681118 : 1242681100); + break; + case 21: + num = ((_cachedLayout == null) ? 1242681117 : 1242681098); + break; + case 18: + { + float graphZoom2 = _graphZoom; + _graphZoom = _202E_206D_206D_206F_206C_206D_202A_200C_206B_202B_206E_200E_202D_200C_200C_202C_200E_200C_200D_206F_206C_206A_200F_206A_202C_202E_200D_206E_206F_200B_202D_206C_200B_200F_202E_200B_206D_200E_206B_202B_202E(_graphZoom + mouseWheel * 0.1f, 0.25f, 2f); + Vector2 vector10 = vector4 - vector - vector2 * 0.5f - _graphOffset; + _graphOffset -= vector10 * (_graphZoom / graphZoom2 - 1f); + graphZoom = _graphZoom; + num = 1242681099; + break; + } + case 28: + _isDragging = false; + num = 1242681097; + break; + case 22: + num = ((!_206D_206A_206B_202D_200F_202B_202E_202A_206E_202A_206C_206F_202B_202B_202C_206D_202C_200B_200D_200C_206C_206A_202D_206A_206D_206B_200F_202D_202E_206D_206F_206B_202A_202D_202B_200C_206F_200E_202E_206E_202E((ElementId)_cachedLayoutQuestId, (ElementId)graph.SelectedQuest)) ? 1242681114 : 1242681117); + break; + case 25: + num = ((num70 < num76) ? 1242681109 : 1242681110); + break; + case 8: + { + Vector2 vector11 = vector4 - _dragStart; + _graphOffset += vector11; + _dragStart = vector4; + num = 1242681097; + break; + } + case 9: + { + num68 += nodeWidths[layers[num69][num70]] + 20f; + int num77 = num70; + num3 = 1; + num4 = num77; + num70 = (num4 | num3) + (num4 & num3); + num = 1242681093; + break; + } + case 24: + _scrollToSelected = false; + num69 = 0; + num = 1242681105; + break; + case 27: + vector2.Y = 1f; + num = 1242681106; + break; + case 26: + num76 = layers[num69].IndexOf(graph.SelectedQuest); + num = ((num76 < 0) ? 1242681107 : 1242681104); + break; + case 19: + _dragMoved = true; + num = 1242681108; + break; + case 13: + num = ((num69 < layers.Count) ? 1242681094 : 1242681113); + break; + case 15: + { + int num73 = num69; + num3 = 1; + num4 = num73; + int num74 = num4 ^ num3; + int num75 = num4 & num3; + num69 = num74 + (num75 + num75); + num = 1242681105; + break; + } + case 5: + { + nodePos = new Dictionary(); + for (int num5 = 0; num5 < layers.Count; num5 = (num4 | num3) + (num4 & num3)) + { + List list = layers[num5]; + float num6 = (0f - layerWidths[num5]) * 0.5f; + float num7 = (float)num5 * 81f; + using (List.Enumerator enumerator = list.GetEnumerator()) + { + num = 635879042; + while (true) + { + int num8 = num; + num3 = 635879041; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = (enumerator.MoveNext() ? 635879043 : 635879040); + break; + case 2: + { + QuestId current = enumerator.Current; + float num9 = nodeWidths[current]; + Vector2 item = vector3 + new Vector2(num6, num7) * graphZoom + _graphOffset; + Vector2 item2 = vector3 + new Vector2(num6 + num9, num7 + 26f) * graphZoom + _graphOffset; + nodePos[current] = (item, item2); + num6 += num9 + 20f; + num = 635879042; + break; + } + case 0: + num = 635879042; + break; + case 1: + goto end_IL_0635; + } + continue; + end_IL_0635: + break; + } + } + int num10 = num5; + num3 = 1; + num4 = num10; + } + num = -1061267090; + QuestId key; + while (true) + { + int num11 = num; + num3 = -1061267089; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + default: + continue; + case 0: + num = -1061267090; + continue; + case 1: + questId2 = null; + dragMoved = _dragMoved; + if (flag) + { + num = -1061267091; + continue; + } + break; + case 2: + if (!dragMoved) + { + num = -1061267092; + continue; + } + break; + case 3: + { + using (Dictionary.Enumerator enumerator2 = nodePos.GetEnumerator()) + { + num = -1296291044; + while (true) + { + int num14 = num; + num3 = -1296291041; + num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + num = -1296291044; + break; + case 2: + { + enumerator2.Current.Deconstruct(out key, out var value); + questId = key; + tuple = value; + num = ((!(vector4.X >= tuple.Item1.X)) ? (-1296291044) : (-1296291045)); + break; + } + case 1: + num = ((!(vector4.Y <= tuple.Item2.Y)) ? (-1296291044) : (-1296291046)); + break; + case 3: + num = (enumerator2.MoveNext() ? (-1296291043) : (-1296291047)); + break; + case 5: + questId2 = questId; + goto end_IL_07f0; + case 4: + num = ((!(vector4.X <= tuple.Item2.X)) ? (-1296291044) : (-1296291041)); + break; + case 0: + num = ((!(vector4.Y >= tuple.Item1.Y)) ? (-1296291044) : (-1296291042)); + break; + case 6: + goto end_IL_07f0; + } + continue; + end_IL_07f0: + break; + } + } + break; + } + } + break; + } + QuestId questId3 = questId2 ?? 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; + using List.Enumerator enumerator = value2.GetEnumerator(); + num = -1509620626; + while (true) + { + int num15 = num; + num3 = -1509620630; + num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 5: + num = -1509620626; + break; + case 2: + current2 = enumerator.Current; + num = ((!nodePos.ContainsKey(current2)) ? (-1509620626) : (-1509620627)); + break; + case 7: + num = ((!nodePos.ContainsKey(questId4)) ? (-1509620626) : (-1509620629)); + break; + case 6: + value3.Add(questId4); + num = (dictionary3.TryGetValue(questId4, out value4) ? (-1509620631) : (-1509620638)); + break; + case 8: + value4 = (dictionary3[questId4] = new List()); + num = -1509620631; + break; + case 3: + value4.Add(current2); + num = -1509620626; + break; + case 1: + num = (dictionary2.TryGetValue(current2, out value3) ? (-1509620628) : (-1509620630)); + break; + case 4: + num = (enumerator.MoveNext() ? (-1509620632) : (-1509620637)); + break; + case 0: + value3 = (dictionary2[current2] = new List()); + num = -1509620628; + break; + case 9: + goto end_IL_09c9; + } + continue; + end_IL_09c9: + break; + } + } + using (Dictionary>.Enumerator enumerator3 = dictionary2.GetEnumerator()) + { + num = -1953269065; + while (true) + { + int num18 = num; + num3 = -1953269065; + num4 = num18; + int num19 = num4 + num3; + int num20 = num4 & num3; + float num21; + switch (num19 - (num20 + num20)) + { + default: + continue; + case 4: + num = -1953269065; + continue; + case 6: + num = ((list4.Count > 1) ? (-1953269070) : (-1953269066)); + continue; + case 2: + num = ((num22 < list4.Count) ? (-1953269071) : (-1953269065)); + continue; + case 7: + enumerator3.Current.Deconstruct(out key, out value2); + item3 = key; + list4 = value2; + list4.Sort(delegate(QuestId a, QuestId b) + { + float num78 = (nodePos[a].Min.X + nodePos[a].Max.X) * 0.5f; + float value9 = (nodePos[b].Min.X + nodePos[b].Max.X) * 0.5f; + return num78.CompareTo(value9); + }); + num22 = 0; + num = -1953269067; + continue; + case 0: + num = (enumerator3.MoveNext() ? (-1953269072) : (-1953269068)); + continue; + case 5: + num21 = (float)num22 / (float)(list4.Count - 1); + break; + case 1: + num21 = 0.5f; + break; + case 3: + goto end_IL_0b91; + } + float item4 = num21; + dictionary[(item3, list4[num22])] = (item4, 0.5f); + int num23 = num22; + num3 = 1; + num4 = num23; + int num24 = num4 ^ num3; + int num25 = num4 & num3; + num22 = num24 + (num25 + num25); + num = -1953269067; + continue; + end_IL_0b91: + break; + } + } + using (Dictionary>.Enumerator enumerator3 = dictionary3.GetEnumerator()) + { + num = 559713151; + while (true) + { + int num26 = num; + num3 = 559713150; + num4 = num26; + int num27 = num4 + num3; + int num28 = num4 & num3; + float num29; + float item5; + (QuestId, QuestId) key2; + int num31; + int num32; + int num33; + switch (num27 - (num28 + num28)) + { + case 1: + num = (enumerator3.MoveNext() ? 559713144 : 559713145); + break; + case 3: + num = ((list5.Count > 1) ? 559713147 : 559713150); + break; + case 6: + enumerator3.Current.Deconstruct(out key, out value2); + item6 = key; + list5 = value2; + list5.Sort(delegate(QuestId a, QuestId b) + { + float num78 = (nodePos[a].Min.X + nodePos[a].Max.X) * 0.5f; + float value9 = (nodePos[b].Min.X + nodePos[b].Max.X) * 0.5f; + return num78.CompareTo(value9); + }); + num30 = 0; + num = 559713146; + break; + case 5: + num29 = (float)num30 / (float)(list5.Count - 1); + goto IL_0e26; + case 4: + num = ((num30 < list5.Count) ? 559713149 : 559713151); + break; + case 0: + num29 = 0.5f; + goto IL_0e26; + case 2: + num = 559713151; + break; + case 7: + goto end_IL_0d37; + IL_0e26: + item5 = num29; + key2 = (list5[num30], item6); + dictionary[key2] = (dictionary.GetValueOrDefault(key2, (0.5f, 0.5f)).Item1, item5); + num31 = num30; + num3 = 1; + num4 = num31; + num32 = num4 ^ num3; + num33 = num4 & num3; + num30 = num32 + (num33 + num33); + num = 559713146; + break; + } + continue; + end_IL_0d37: + break; + } + } + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.9f; + uint num34 = _206E_202A_202C_206F_200F_206A_200C_206D_202D_200B_206B_206E_206C_200B_206B_200E_200D_200F_206D_200B_200C_200C_206B_206B_200F_206D_206E_206D_206E_202C_202A_206C_206A_200D_202C_206E_200D_202B_200B_202D_202E(accentColor); + float size = 6f * graphZoom; + for (int num35 = 0; num35 < 2; num35 = (num4 | num3) + (num4 & num3)) + { + 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; + } + using List.Enumerator enumerator = list6.GetEnumerator(); + num = -1371036284; + while (true) + { + int num36 = num; + num3 = -1371036273; + num4 = num36; + int num37 = num4 + num3; + int num38 = num4 & num3; + int num39; + float num51; + float num56; + float x3; + float num57; + Vector2 p2; + Vector2 pos; + switch (num37 - (num38 + num38)) + { + case 24: + { + float num55 = (vector6.Y - vector5.Y) * 0.4f; + Vector2 p = new Vector2(vector5.X, vector5.Y + num55); + Vector2 vector7 = new Vector2(vector6.X, vector6.Y - num55); + drawList.AddBezierCubic(vector5, p, vector7, vector6, num42, thickness, 28); + DrawArrowhead(drawList, vector6, vector7, size, num42); + num = -1371036284; + break; + } + case 15: + num42 = _206E_202A_202C_206F_200F_206A_200C_206D_202D_200B_206B_206E_206C_200B_206B_200E_200D_200F_206D_200B_200C_200C_206B_206B_200F_206D_206E_206D_206E_202C_202A_206C_206A_200D_202C_206E_200D_202B_200B_202D_202E(HueToColor((float)(int)_200B_200B_202E_206B_200E_206C_206A_206E_202C_200B_200E_202B_206D_206B_202B_202A_202D_202A_200D_200C_206F_200B_206F_206A_206A_200F_200F_202E_202B_200C_206D_202A_206B_202B_206B_202A_202C_206E_206F_202E_202E((ElementId)current3) * 0.618034f % 1f, 0.35f, 0.85f)); + thickness = 2f; + num = -1371036260; + break; + case 12: + num39 = 0; + goto IL_10a6; + case 8: + num = (_200C_206B_202D_206B_206D_202E_206B_200E_200C_206B_202A_206A_206C_206B_200C_202E_200D_206F_200C_200B_206F_202C_202E_202A_206E_202C_206C_206E_206D_202A_202C_202E_200B_202B_202E_200E_200F_202C_206C_202B_202E((ElementId)questId5, (ElementId)questId3) ? (-1371036282) : (-1371036286)); + break; + case 10: + num = ((_200B_200B_202E_206B_200E_206C_206A_206E_202C_200B_200E_202B_206D_206B_202B_202A_202D_202A_200D_200C_206F_200B_206F_206A_206A_200F_200F_202E_202B_200C_206D_202A_206B_202B_206B_202A_202C_206E_206F_202E_202E((ElementId)current3) % 2 == 0) ? (-1371036287) : (-1371036273)); + break; + case 0: + num51 = -1f; + goto IL_1315; + case 19: + { + (float, float) valueOrDefault2 = dictionary.GetValueOrDefault((current3, questId5), (0.5f, 0.5f)); + float item7 = valueOrDefault2.Item1; + float item8 = valueOrDefault2.Item2; + float num52 = value6.Item2.X - value6.Item1.X; + float num53 = value5.Item2.X - value5.Item1.X; + float num54 = 10f * graphZoom; + float x = value6.Item1.X + num54 + (num52 - num54 * 2f) * item7; + float x2 = value5.Item1.X + num54 + (num53 - num54 * 2f) * item8; + vector5 = new Vector2(x, value6.Item2.Y); + vector6 = new Vector2(x2, value5.Item1.Y); + num48 = graph.Layers.GetValueOrDefault(questId5) - graph.Layers.GetValueOrDefault(current3); + num = ((num48 <= 1) ? (-1371036265) : (-1371036278)); + break; + } + case 14: + num51 = 1f; + goto IL_1315; + case 21: + num42 = _206E_202A_202C_206F_200F_206A_200C_206D_202D_200B_206B_206E_206C_200B_206B_200E_200D_200F_206D_200B_200C_200C_206B_206B_200F_206D_206E_206D_206E_202C_202A_206C_206A_200D_202C_206E_200D_202B_200B_202D_202E(HueToColor((float)(int)_200B_200B_202E_206B_200E_206C_206A_206E_202C_200B_200E_202B_206D_206B_202B_202A_202D_202A_200D_200C_206F_200B_206F_206A_206A_200F_200F_202E_202B_200C_206D_202A_206B_202B_206B_202A_202C_206E_206F_202E_202E((ElementId)current3) * 0.618034f % 1f, 0.15f, 0.35f)); + thickness = 1.5f; + num = -1371036260; + break; + case 17: + num = ((!flag2) ? (-1371036264) : (-1371036263)); + break; + case 7: + num = ((num44 < layerWidths.Length) ? (-1371036279) : (-1371036274)); + break; + case 5: + { + valueOrDefault = graph.Layers.GetValueOrDefault(current3); + num43 = 0f; + int num58 = valueOrDefault; + num3 = 1; + num4 = num58; + num44 = (num4 | num3) + (num4 & num3); + num = -1371036277; + break; + } + case 3: + num51 = _202C_206F_200B_200C_202A_206A_202A_206C_206B_202B_206D_200B_206F_200D_200B_202C_200E_202D_200C_200B_206A_202A_200F_206A_202C_200F_200B_206B_200B_200F_200E_202C_202C_206A_202D_202D_206C_202C_202B_202E(num41); + goto IL_1315; + case 16: + current3 = enumerator.Current; + num = ((!nodePos.TryGetValue(current3, out value6)) ? (-1371036284) : (-1371036261)); + break; + case 23: + num = ((!_206D_206A_206B_202D_200F_202B_202E_202A_206E_202A_206C_206F_202B_202B_202C_206D_202C_200B_200D_200C_206C_206A_202D_206A_206D_206B_200F_202D_202E_206D_206F_206B_202A_202D_202B_200C_206F_200E_202E_206E_202E((ElementId)questId3, (ElementId)null)) ? (-1371036288) : (-1371036262)); + break; + case 18: + num = -1371036284; + break; + case 4: + { + int num46 = num44; + int num47 = valueOrDefault; + num3 = num48; + num4 = num47; + int num49 = num4 ^ num3; + int num50 = num4 & num3; + num = ((num46 >= num49 + (num50 + num50)) ? (-1371036274) : (-1371036280)); + break; + } + case 13: + num39 = (_200C_206B_202D_206B_206D_202E_206B_200E_200C_206B_202A_206A_206C_206B_200C_202E_200D_206F_200C_200B_206F_202C_202E_202A_206E_202C_206C_206E_206D_202A_202C_202E_200B_202B_202E_200E_200F_202C_206C_202B_202E((ElementId)current3, (ElementId)questId3) ? 1 : 0); + goto IL_10a6; + case 6: + { + num43 = _206D_200F_206A_200F_206D_202C_202E_202E_206F_206C_200C_206A_202E_202E_206E_202C_206A_202B_206B_206B_206A_206F_202A_202C_202A_200E_202D_200F_206B_200F_202C_206B_206B_206E_206F_200C_202E_202C_206F_202E(num43, layerWidths[num44] * 0.5f); + int num45 = num44; + num3 = 1; + num4 = num45; + num44 = (num4 | num3) + (num4 & num3); + num = -1371036277; + break; + } + case 22: + num42 = num34; + thickness = 2.5f; + num = -1371036260; + break; + case 9: + num39 = 1; + goto IL_10a6; + case 20: + num = ((!_206D_206A_206B_202D_200F_202B_202E_202A_206E_202A_206C_206F_202B_202B_202C_206D_202C_200B_200D_200C_206C_206A_202D_206A_206D_206B_200F_202D_202E_206D_206F_206B_202A_202D_202B_200C_206F_200E_202E_206E_202E((ElementId)questId3, (ElementId)null)) ? (-1371036285) : (-1371036281)); + break; + case 1: + num40 = vector3.X + _graphOffset.X; + num41 = (vector5.X + vector6.X) * 0.5f - num40; + num = ((_200B_202C_200D_206E_202E_206F_206E_200D_206D_202A_200D_206C_200D_206E_202A_202A_202E_202C_202D_206D_200E_200E_200C_202B_200E_200F_202A_202D_200E_206D_202A_202E_206B_206C_206B_206A_200F_206B_206D_206F_202E(num41) > 1f) ? (-1371036276) : (-1371036283)); + break; + case 11: + num = (enumerator.MoveNext() ? (-1371036257) : (-1371036275)); + break; + case 2: + goto end_IL_0f6c; + IL_10a6: + flag2 = (byte)num39 != 0; + num = ((num35 == 0 == flag2) ? (-1371036284) : (-1371036258)); + break; + IL_1315: + num56 = num51; + x3 = num40 + num56 * (num43 + 40f + (float)(_200B_200B_202E_206B_200E_206C_206A_206E_202C_200B_200E_202B_206D_206B_202B_202A_202D_202A_200D_200C_206F_200B_206F_206A_206A_200F_200F_202E_202B_200C_206D_202A_206B_202B_206B_202A_202C_206E_206F_202E_202E((ElementId)current3) % 3) * 16f) * graphZoom; + num57 = _206A_206F_202B_200C_200F_202A_202C_206F_202C_206E_202E_206D_206A_200B_206C_200B_200C_206F_206F_202A_206E_206B_200B_206D_206F_202E_206B_206A_202B_206C_206C_202E_206A_202D_200C_206E_202D_200C_200D_202B_202E(30f * graphZoom, (vector6.Y - vector5.Y) * 0.2f); + p2 = new Vector2(x3, vector5.Y + num57 * 2.5f); + pos = new Vector2(x3, _206D_200F_206A_200F_206D_202C_202E_202E_206F_206C_200C_206A_202E_202E_206E_202C_206A_202B_206B_206B_206A_206F_202A_202C_202A_200E_202D_200F_206B_200F_202C_206B_206B_206E_206F_200C_202E_202C_206F_202E(vector6.Y - num57 * 2.5f, vector5.Y + num57 * 2.5f)); + drawList.PathLineTo(vector5); + drawList.PathBezierCubicCurveTo(new Vector2(vector5.X, vector5.Y + num57 * 1.5f), new Vector2(x3, vector5.Y + num57), p2, 20); + drawList.PathLineTo(pos); + drawList.PathBezierCubicCurveTo(new Vector2(x3, vector6.Y - num57), new Vector2(vector6.X, vector6.Y - num57 * 1.5f), vector6, 20); + drawList.PathStroke(num42, ImDrawFlags.None, thickness); + DrawArrowhead(drawList, vector6, new Vector2(vector6.X, vector6.Y - num57), size, num42); + num = -1371036284; + break; + } + continue; + end_IL_0f6c: + break; + } + } + int num59 = num35; + num3 = 1; + num4 = num59; + } + float fontSize = _200C_206E_202C_200C_202D_206C_206E_206C_206D_200D_200B_200B_202D_200F_206F_202D_206F_202A_200F_202D_206D_200F_202A_200B_200C_202C_202A_200E_206F_202E_202A_200E_206B_202B_200C_206D_202C_206C_200B_202B_202E() * graphZoom; + ImFontPtr font = _206D_206C_202E_206B_200E_202A_200C_206F_206E_206C_206B_206B_202E_200D_206D_202A_200D_200D_206A_202E_206C_200D_200B_206C_202E_200D_206B_200C_200E_206E_202A_202C_200C_202D_200D_206B_206A_202A_202C_202C_202E(); + foreach (List item11 in layers) + { + using List.Enumerator enumerator = item11.GetEnumerator(); + num = 1607295633; + while (true) + { + int num60 = num; + num3 = 1607295638; + num4 = num60; + uint num61; + uint col; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num61 = _206E_202A_202C_206F_200F_206A_200C_206D_202D_200B_206B_206E_206C_200B_206B_200E_200D_200F_206D_200B_200C_200C_206B_206B_200F_206D_206E_206D_206E_202C_202A_206C_206A_200D_202C_206E_200D_202B_200B_202D_202E(new Vector4(1f, 1f, 1f, 0.5f)); + goto IL_1702; + case 8: + drawList.AddRect(value7.Item1 - Vector2.One, value7.Item2 + Vector2.One, _206E_202A_202C_206F_200F_206A_200C_206D_202D_200B_206B_206E_206C_200B_206B_200E_200D_200F_206D_200B_200C_200C_206B_206B_200F_206D_206E_206D_206E_202C_202A_206C_206A_200D_202C_206E_200D_202B_200B_202D_202E(UiThemeUtils.AccentColor), 5f, ImDrawFlags.None, 3f); + num = 1607295637; + break; + case 2: + num = 1607295633; + break; + case 10: + current4 = enumerator.Current; + num = ((!nodePos.TryGetValue(current4, out value7)) ? 1607295633 : 1607295647); + break; + case 7: + num = (enumerator.MoveNext() ? 1607295644 : 1607295639); + break; + case 9: + { + bool num64 = _200C_206B_202D_206B_206D_202E_206B_200E_200C_206B_202A_206A_206C_206B_200C_202E_200D_206F_200C_200B_206F_202C_202E_202A_206E_202C_206C_206E_206D_202A_202C_202E_200B_202B_202E_200E_200F_202C_206C_202B_202E((ElementId)current4, (ElementId)graph.SelectedQuest); + flag3 = _200C_206B_202D_206B_206D_202E_206B_200E_200C_206B_202A_206A_206C_206B_200C_202E_200D_206F_200C_200B_206F_202C_202E_202A_206E_202C_206C_206E_206D_202A_202C_202E_200B_202B_202E_200E_200F_202C_206C_202B_202E((ElementId)questId2, (ElementId)current4); + NodeStatusEntry valueOrDefault4 = _nodeStatusCache.GetValueOrDefault(current4, new NodeStatusEntry(NodeFillLocked, IsDone: false)); + Vector4 vector9 = valueOrDefault4.BgColor; + isDone = valueOrDefault4.IsDone; + if (isDone) + { + accentColor = GraphBackgroundColor; + accentColor.W = 1f; + Vector4 value8 = accentColor; + accentColor = vector9; + accentColor.W = 1f; + vector9 = Vector4.Lerp(value8, accentColor, 0.5f); + } + drawList.AddRectFilled(value7.Item1, value7.Item2, _206E_202A_202C_206F_200F_206A_200C_206D_202D_200B_206B_206E_206C_200B_206B_200E_200D_200F_206D_200B_200C_200C_206B_206B_200F_206D_206E_206D_206E_202C_202A_206C_206A_200D_202C_206E_200D_202B_200B_202D_202E(vector9), 5f); + num = ((!num64) ? 1607295632 : 1607295646); + break; + } + case 0: + num61 = _206E_202A_202C_206F_200F_206A_200C_206D_202D_200B_206B_206E_206C_200B_206B_200E_200D_200F_206D_200B_200C_200C_206B_206B_200F_206D_206E_206D_206E_202C_202A_206C_206A_200D_202C_206E_200D_202B_200B_202D_202E(new Vector4(1f, 1f, 1f, 1f)); + goto IL_1702; + case 3: + { + valueOrDefault3 = _cachedLayout.TruncatedLabels.GetValueOrDefault(current4, _202E_206B_206F_206D_202A_202E_202A_206B_202C_202A_202C_200D_202D_202E_202E_202E_200E_206E_206E_206C_200D_200D_206D_206E_206C_206D_200D_206F_206D_206F_200D_200C_206E_206D_202E_202D_202A_202C_202C_200C_202E((object)current4)); + float num62 = value7.Item2.X - value7.Item1.X; + float num63 = value7.Item2.Y - value7.Item1.Y; + Vector2 vector8 = _200C_202E_206B_202A_206C_206F_202B_202C_202B_200F_206D_200F_206D_206D_200E_200F_206B_206F_200D_206A_206A_200B_206E_200D_200B_200E_200D_202E_200B_200B_200B_202A_206B_206C_202C_202E_206D_206B_206E_202D_202E((ImU8String)valueOrDefault3, false, -1f) * graphZoom; + pos2 = new Vector2(value7.Item1.X + (num62 - vector8.X) * 0.5f, value7.Item1.Y + (num63 - vector8.Y) * 0.5f); + num = (isDone ? 1607295635 : 1607295638); + break; + } + case 6: + num = ((!flag3) ? 1607295637 : 1607295634); + break; + case 4: + { + Vector2 item9 = value7.Item1; + Vector2 item10 = value7.Item2; + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.6f; + drawList.AddRect(item9, item10, _206E_202A_202C_206F_200F_206A_200C_206D_202D_200B_206B_206E_206C_200B_206B_200E_200D_200F_206D_200B_200C_200C_206B_206B_200F_206D_206E_206D_206E_202C_202A_206C_206A_200D_202C_206E_200D_202B_200B_202D_202E(accentColor), 5f, ImDrawFlags.None, 1.5f); + num = 1607295637; + break; + } + case 1: + goto end_IL_1698; + IL_1702: + col = num61; + drawList.AddText(font, fontSize, pos2, col, valueOrDefault3); + num = 1607295633; + break; + } + continue; + end_IL_1698: + break; + } + } + drawList.PopClipRect(); + num = ((!_206D_206A_206B_202D_200F_202B_202E_202A_206E_202A_206C_206F_202B_202B_202C_206D_202C_200B_200D_200C_206C_206A_202D_206A_206D_206B_200F_202D_202E_206D_206F_206B_202A_202D_202B_200C_206F_200E_202E_206E_202E((ElementId)questId2, (ElementId)null)) ? 1631145092 : 1631145089); + while (true) + { + int num65 = num; + num3 = 1631145100; + num4 = num65; + int num66 = num4 + num3; + int num67 = num4 & num3; + switch (num66 - (num67 + num67)) + { + case 0: + num = 1631145089; + break; + case 11: + _selectedQuestId = questId2; + _showDetail = true; + num = 1631145092; + break; + case 12: + num = (dragMoved ? 1631145092 : 1631145095); + break; + case 5: + num = (dragMoved ? 1631145102 : 1631145096); + break; + case 4: + num = ((!_questData.TryGetQuestInfo(questId2, out questInfo2)) ? 1631145102 : 1631145103); + break; + case 9: + num = ((!_206D_206A_206B_202D_200F_202B_202E_202A_206E_202A_206C_206F_202B_202B_202C_206D_202C_200B_200D_200C_206C_206A_202D_206A_206D_206B_200F_202D_202E_206D_206F_206B_202A_202D_202B_200C_206F_200E_202E_206E_202E((ElementId)questId2, (ElementId)null)) ? 1631145094 : 1631145098); + break; + case 1: + num = ((!_202E_202C_200B_202A_200D_200F_200C_200D_206C_206E_206A_202D_206A_206E_202B_202D_202B_200B_202A_206B_200B_200B_200F_206C_206F_206D_200B_206D_200D_202E_206F_206C_206A_206A_202A_206E_202D_206F_200E_200F_202E(ImGuiMouseButton.Right)) ? 1631145102 : 1631145097); + break; + case 10: + DrawNodeContextMenu(); + return; + case 13: + num = ((!_202E_202C_200B_202A_200D_200F_200C_200D_206C_206E_206A_202D_206A_206E_202B_202D_202B_200B_202A_206B_200B_200B_200F_206C_206F_206D_200B_206D_200D_202E_206F_206C_206A_206A_202A_206E_202D_206F_200E_200F_202E(ImGuiMouseButton.Left)) ? 1631145092 : 1631145088); + break; + case 3: + { + _contextMenuNodeId = questId2; + QuestJournalUtils? questJournalUtils = QuestJournalUtils; + if (questJournalUtils == null) + { + goto case 2; + } + questJournalUtils.OpenContextMenu(questInfo2); + num = 1631145102; + break; + } + case 8: + num = ((!_206D_206A_206B_202D_200F_202B_202E_202A_206E_202A_206C_206F_202B_202B_202C_206D_202C_200B_200D_200C_206C_206A_202D_206A_206D_206B_200F_202D_202E_206D_206F_206B_202A_202D_202B_200C_206F_200E_202E_206E_202E((ElementId)questId2, (ElementId)null)) ? 1631145102 : 1631145101); + break; + case 6: + num = ((!_questData.TryGetQuestInfo(questId2, out questInfo)) ? 1631145094 : 1631145090); + break; + case 2: + num = (flag4 ? 1631145093 : 1631145099); + break; + case 14: + _questTooltipComponent.Draw(questInfo); + num = 1631145094; + break; + case 7: + _dragMoved = false; + num = 1631145093; + break; + } + } + } + } + } + static Vector4 HueToColor(float hue, float sat, float alpha) + { + float num78 = hue * 6f; + float num79 = sat * (1f - _200B_202C_200D_206E_202E_206F_206E_200D_206D_202A_200D_206C_200D_206E_202A_202A_202E_202C_202D_206D_200E_200E_200C_202B_200E_200F_202A_202D_200E_206D_202A_202E_206B_206C_206B_206A_200F_206B_206D_206F_202E(num78 % 2f - 1f)); + int num80 = ((!(num78 < 1f)) ? 687735810 : 687735819); + float num85 = default(float); + float num86 = default(float); + float num87 = default(float); + while (true) + { + int num81 = num80; + int num82 = 687735816; + int num83 = num81; + switch ((num83 | num82) - (num83 & num82)) + { + case 4: + num85 = num79; + num86 = 0f; + num87 = sat; + num80 = 687735808; + break; + case 8: + { + float num84 = 1f - sat; + return new Vector4(num85 + num84, num86 + num84, num87 + num84, alpha); + } + case 5: + num85 = 0f; + num86 = num79; + num87 = sat; + num80 = 687735808; + break; + case 2: + num85 = sat; + num86 = 0f; + num87 = num79; + num80 = 687735808; + break; + case 9: + num85 = 0f; + num86 = sat; + num87 = num79; + num80 = 687735808; + break; + case 10: + num80 = ((!(num78 < 2f)) ? 687735811 : 687735817); + break; + case 6: + num80 = ((!(num78 < 4f)) ? 687735816 : 687735821); + break; + case 3: + num85 = sat; + num86 = num79; + num87 = 0f; + num80 = 687735808; + break; + case 0: + num80 = ((!(num78 < 5f)) ? 687735818 : 687735820); + break; + case 7: + num80 = 687735819; + break; + case 1: + num85 = num79; + num86 = sat; + num87 = 0f; + num80 = 687735808; + break; + case 11: + num80 = ((!(num78 < 3f)) ? 687735822 : 687735809); + break; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawNodeContextMenu() + { + QuestId contextMenuNodeId = _contextMenuNodeId; + int num = (((object)contextMenuNodeId == null) ? 1466448774 : 1466448773); + IQuestInfo questInfo = default(IQuestInfo); + QuestJournalUtils questJournalUtils = default(QuestJournalUtils); + while (true) + { + int num2 = num; + int num3 = 1466448774; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + return; + case 1: + num = (_questData.TryGetQuestInfo(contextMenuNodeId, out questInfo) ? 1466448770 : 1466448772); + break; + case 7: + num = 1466448773; + break; + case 3: + questJournalUtils = QuestJournalUtils; + num = ((questJournalUtils != null) ? 1466448775 : 1466448774); + break; + case 2: + _contextMenuNodeId = null; + return; + case 0: + return; + case 4: + { + Questionable.Model.Quest quest = null; + _questRegistry.TryGetQuest(contextMenuNodeId, out quest); + num = (questJournalUtils.DrawContextMenu(questInfo, quest, global::_003CModule_003E._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(1814952447)) ? 1466448771 : 1466448768); + break; + } + case 6: + _contextMenuNodeId = null; + num = 1466448771; + break; + } + } + } + + private static List> ReorderLayers(QuestChainGraph graph) + { + List> list = new List>(); + int num = 0; + int num2 = 2069656921; + Dictionary> dependents; + QuestId current = default(QuestId); + List value = default(List); + int num15 = default(int); + int num13 = default(int); + List list4 = default(List); + bool flag = default(bool); + int num19 = default(int); + int num21 = default(int); + int num12 = default(int); + List adjAbove = default(List); + List adjBelow = default(List); + while (true) + { + int num3 = num2; + int num4 = 2069656924; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 5: + num2 = ((num < graph.LayerOrder.Count) ? 2069656925 : 2069656926); + break; + case 0: + return list; + case 2: + num2 = ((list.Count > 1) ? 2069656927 : 2069656924); + break; + case 4: + num2 = 2069656921; + break; + case 1: + { + list.Add(new List(graph.LayerOrder[num])); + int num45 = num; + num4 = 1; + num5 = num45; + num = (num5 | num4) + (num5 & num4); + num2 = 2069656921; + break; + } + case 3: + { + dependents = new Dictionary>(); + foreach (var (item, list3) in graph.Prerequisites) + { + using List.Enumerator enumerator2 = list3.GetEnumerator(); + num2 = 1740892846; + while (true) + { + int num6 = num2; + num4 = 1740892844; + num5 = num6; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = (enumerator2.MoveNext() ? 1740892847 : 1740892845); + break; + case 3: + current = enumerator2.Current; + num2 = (dependents.TryGetValue(current, out value) ? 1740892841 : 1740892840); + break; + case 0: + num2 = 1740892846; + break; + case 4: + value = new List(); + dependents[current] = value; + num2 = 1740892841; + break; + case 5: + value.Add(item); + num2 = 1740892846; + break; + case 1: + goto end_IL_0141; + } + continue; + end_IL_0141: + break; + } + } + int num7 = 0; + num2 = 675261841; + while (true) + { + int num8 = num2; + num4 = 675261855; + num5 = num8; + int num9 = num5 + num4; + int num10 = num5 & num4; + object obj; + object obj2; + switch (num9 - (num10 + num10)) + { + case 0: + { + int num14 = num15; + num4 = 1; + num5 = num14; + int num16 = num5 ^ num4; + int num17 = num5 & num4; + obj = list[num16 + (num17 + num17)]; + goto IL_030a; + } + case 7: + obj = null; + goto IL_030a; + case 2: + num2 = ((num13 < list4.Count - 1) ? 675261850 : 675261832); + break; + case 20: + { + int num44 = num7; + num4 = 1; + num5 = num44; + num7 = (num5 | num4) + (num5 & num4); + num2 = 675261841; + break; + } + case 13: + flag = false; + num15 = 0; + num2 = 675261826; + break; + case 23: + { + int num28 = num15; + num4 = 1; + num5 = num28; + int num29 = num5 ^ num4; + int num30 = num5 & num4; + num15 = num29 + (num30 + num30); + num2 = 675261826; + break; + } + case 16: + num2 = ((num19 < list.Count) ? 675261837 : 675261840); + break; + case 27: + list4 = list[num15]; + num2 = ((list4.Count < 2) ? 675261832 : 675261852); + break; + case 9: + num2 = ((!flag) ? 675261849 : 675261836); + break; + case 15: + num2 = 675261835; + break; + case 12: + num2 = 675261841; + break; + case 21: + num2 = ((num21 >= 0) ? 675261838 : 675261835); + break; + case 18: + { + int num18 = num19; + num4 = 1; + num5 = num18; + List referenceLayer = list[~(~num5 + num4)]; + Dictionary bary = ComputeBarycenters(list[num19], referenceLayer, (QuestId qid) => graph.Prerequisites.GetValueOrDefault(qid)); + list[num19].Sort((QuestId a, QuestId b) => bary.GetValueOrDefault(a).CompareTo(bary.GetValueOrDefault(b))); + int num20 = num19; + num4 = 1; + num5 = num20; + num19 = (num5 | num4) + (num5 & num4); + num2 = 675261839; + break; + } + case 25: + obj2 = null; + goto IL_0752; + case 17: + { + int num40 = num21; + num4 = 1; + num5 = num40; + int num41 = num5 ^ num4; + int num42 = num5 & num4; + List referenceLayer2 = list[num41 + (num42 + num42)]; + Dictionary bary2 = ComputeBarycenters(list[num21], referenceLayer2, (QuestId qid) => dependents.GetValueOrDefault(qid)); + list[num21].Sort((QuestId a, QuestId b) => bary2.GetValueOrDefault(a).CompareTo(bary2.GetValueOrDefault(b))); + int num43 = num21; + num4 = 1; + num5 = num43; + num21 = ~(~num5 + num4); + num2 = 675261834; + break; + } + case 28: + { + int num37 = num13; + num4 = 1; + num5 = num37; + int num38 = num5 ^ num4; + int num39 = num5 & num4; + num13 = num38 + (num39 + num39); + num2 = 675261853; + break; + } + case 4: + num2 = ((num12 < 3) ? 675261842 : 675261849); + break; + case 11: + num2 = ((num7 % 2 != 0) ? 675261831 : 675261829); + break; + case 22: + { + List list5 = list4; + int index2 = num13; + List list8 = list4; + int num31 = num13; + num4 = 1; + num5 = num31; + int num32 = num5 ^ num4; + int num33 = num5 & num4; + int index = num32 + (num33 + num33); + List list9 = list4; + int num34 = num13; + num4 = 1; + num5 = num34; + int num35 = num5 ^ num4; + int num36 = num5 & num4; + QuestId value3 = list9[num35 + (num36 + num36)]; + QuestId value2 = list4[num13]; + list5[index2] = value3; + list8[index] = value2; + num2 = 675261827; + break; + } + case 1: + num12 = 0; + num2 = 675261851; + break; + case 24: + num21 = list.Count - 2; + num2 = 675261834; + break; + case 26: + num19 = 1; + num2 = 675261839; + break; + case 6: + return list; + case 5: + { + int num23 = CountCrossings(list4, adjAbove, adjBelow, graph.Prerequisites, dependents); + List list5 = list4; + int index = num13; + List list6 = list4; + int num24 = num13; + num4 = 1; + num5 = num24; + int index2 = (num5 | num4) + (num5 & num4); + List list7 = list4; + int num25 = num13; + num4 = 1; + num5 = num25; + int num26 = num5 ^ num4; + int num27 = num5 & num4; + QuestId value2 = list7[num26 + (num27 + num27)]; + QuestId value3 = list4[num13]; + list5[index] = value2; + list6[index2] = value3; + num2 = ((CountCrossings(list4, adjAbove, adjBelow, graph.Prerequisites, dependents) >= num23) ? 675261833 : 675261845); + break; + } + case 8: + { + int num22 = num15; + num4 = 1; + num5 = num22; + obj2 = list[~(~num5 + num4)]; + goto IL_0752; + } + case 3: + num2 = ((num15 > 0) ? 675261847 : 675261830); + break; + case 10: + flag = true; + num2 = 675261827; + break; + case 29: + num2 = ((num15 < list.Count) ? 675261828 : 675261846); + break; + case 14: + num2 = ((num7 < 6) ? 675261844 : 675261854); + break; + case 19: + { + int num11 = num12; + num4 = 1; + num5 = num11; + num12 = (num5 | num4) + (num5 & num4); + num2 = 675261851; + break; + } + IL_030a: + adjBelow = (List)obj; + num13 = 0; + num2 = 675261853; + break; + IL_0752: + adjAbove = (List)obj2; + num2 = ((num15 < list.Count - 1) ? 675261855 : 675261848); + break; + } + } + } + } + } + } + + private static int CountCrossings(List layer, List? adjAbove, List? adjBelow, Dictionary> prerequisites, Dictionary> dependents) + { + int num = 0; + int num2 = ((adjAbove == null) ? (-1766914003) : (-1766914004)); + while (true) + { + int num3 = num2; + int num4 = -1766914003; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 2: + num2 = -1766914004; + break; + case 0: + num2 = ((adjBelow == null) ? (-1766914007) : (-1766914002)); + break; + case 1: + num += CountLayerCrossings(adjAbove, layer, (QuestId qid) => prerequisites.GetValueOrDefault(qid)); + num2 = -1766914003; + break; + case 3: + num += CountLayerCrossings(layer, adjBelow, (QuestId qid) => dependents.GetValueOrDefault(qid)); + num2 = -1766914007; + break; + case 4: + return num; + } + } + } + + private static int CountLayerCrossings(List upperLayer, List lowerLayer, Func?> getUpperConnections) + { + int num = 0; + int num2 = 0; + int num14 = default(int); + while (true) + { + int num10; + int num4; + int num5; + if (num2 < lowerLayer.Count) + { + List list = getUpperConnections(lowerLayer[num2]); + if (list == null) + { + goto IL_01f1; + } + int num3 = num2; + num4 = 1; + num5 = num3; + int num6 = num5 ^ num4; + int num7 = num5 & num4; + int num8 = num6 + (num7 + num7); + while (num8 < lowerLayer.Count) + { + List list2 = getUpperConnections(lowerLayer[num8]); + if (list2 != null) + { + foreach (QuestId item in list) + { + int num9 = upperLayer.IndexOf(item); + if (num9 < 0) + { + continue; + } + using List.Enumerator enumerator2 = list2.GetEnumerator(); + num10 = 2134794961; + while (true) + { + int num11 = num10; + num4 = 2134794963; + num5 = num11; + int num12 = num5 + num4; + int num13 = num5 & num4; + switch (num12 - (num13 + num13)) + { + case 1: + { + int num15 = num; + num4 = 1; + num5 = num15; + num = (num5 | num4) + (num5 & num4); + num10 = 2134794961; + break; + } + case 2: + num10 = (enumerator2.MoveNext() ? 2134794960 : 2134794963); + break; + case 5: + num10 = 2134794961; + break; + case 4: + num10 = ((num9 <= num14) ? 2134794961 : 2134794962); + break; + case 3: + { + QuestId current2 = enumerator2.Current; + num14 = upperLayer.IndexOf(current2); + num10 = ((num14 < 0) ? 2134794961 : 2134794967); + break; + } + case 0: + goto end_IL_0089; + } + continue; + end_IL_0089: + break; + } + } + } + int num16 = num8; + num4 = 1; + num5 = num16; + int num17 = num5 ^ num4; + int num18 = num5 & num4; + num8 = num17 + (num18 + num18); + } + num10 = 1270965095; + } + else + { + num10 = 1270965092; + } + while (true) + { + int num19 = num10; + num4 = 1270965094; + num5 = num19; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 2: + return num; + case 1: + break; + case 0: + goto IL_021d; + } + break; + IL_021d: + num10 = 1270965095; + } + goto IL_01f1; + IL_01f1: + int num20 = num2; + num4 = 1; + num5 = num20; + int num21 = num5 ^ num4; + int num22 = num5 & num4; + num2 = num21 + (num22 + num22); + } + } + + private static Dictionary ComputeBarycenters(List layer, List referenceLayer, Func?> getConnected) + { + Dictionary dictionary = new Dictionary(); + using List.Enumerator enumerator = layer.GetEnumerator(); + int num = -521962402; + QuestId current = default(QuestId); + List list = default(List); + while (true) + { + int num2 = num; + int num3 = -521962402; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = -521962402; + break; + case 0: + num = (enumerator.MoveNext() ? (-521962401) : (-521962403)); + break; + case 4: + dictionary[current] = (float)referenceLayer.Count * 0.5f; + num = -521962402; + break; + case 2: + { + List list2 = (from p in list + select referenceLayer.IndexOf(p) into idx + where idx >= 0 + select idx).ToList(); + dictionary[current] = ((list2.Count > 0) ? ((float)_200E_206F_202A_206C_200C_202E_200F_202E_206D_206B_206E_200C_200F_206E_202E_200D_206B_206F_202B_202C_206C_206A_200B_202A_200E_202B_206A_206C_202D_200B_200F_206A_206A_200B_200B_200F_206A_206A_200F_202C_202E((IEnumerable)list2)) : ((float)referenceLayer.Count * 0.5f)); + num = -521962402; + break; + } + case 1: + current = enumerator.Current; + list = getConnected(current); + num = ((list == null) ? (-521962406) : (-521962404)); + break; + case 3: + return dictionary; + } + } + } + + private static void DrawArrowhead(ImDrawListPtr drawList, Vector2 tip, Vector2 controlPt, float size, uint color) + { + int num = ((!(size <= 1.5f)) ? (-1420458262) : (-1420458263)); + while (true) + { + int num2 = num; + int num3 = -1420458261; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + { + 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); + return; + } + case 2: + return; + case 0: + goto IL_00b7; + } + continue; + IL_00b7: + num = -1420458263; + } + } + + private Vector4 GetQuestNodeColor(QuestId questId) + { + int num = ((!_questFunctions.IsQuestAccepted(questId)) ? 1480321081 : 1480321074); + while (true) + { + int num2 = num; + int num3 = 1480321072; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + num = 1480321074; + break; + case 2: + return NodeFillActive; + case 0: + num = ((!_questFunctions.IsReadyToAcceptQuest(questId)) ? 1480321078 : 1480321077); + break; + case 1: + num = (_questFunctions.IsQuestLocked(questId) ? 1480321078 : 1480321072); + break; + case 6: + return NodeFillLocked; + case 5: + return NodeFillAvailable; + case 4: + return NodeFillComplete; + case 8: + num = ((!_questFunctions.IsQuestUnobtainable(questId)) ? 1480321073 : 1480321075); + break; + case 3: + return NodeFillUnobtainable; + case 9: + num = ((!_questFunctions.IsQuestComplete(questId)) ? 1480321080 : 1480321076); + break; + } + } + } + + static bool _200B_202E_206B_206B_206E_206D_202B_202C_206D_200F_206C_206A_202E_206F_200C_206F_200D_200E_202C_202C_206F_202D_200F_206C_202C_200E_206F_206A_202A_200C_200E_200F_200E_202D_202A_202D_200B_206B_200E_202D_202E(string P_0, string P_1) + { + return P_0 != P_1; + } + + static void _200C_202E_202B_202A_200D_202C_202D_200D_202C_200D_206F_200F_200B_200C_206E_200C_206A_200F_206A_200D_206A_200F_200E_200B_200B_202B_200F_206C_206C_202A_200F_202C_206E_200B_202A_202B_206F_202B_202B_202B_202E() + { + ImGui.Separator(); + } + + static Vector2 _206F_200B_200E_206C_200E_200B_206B_206E_200E_206C_206E_206E_202B_202A_206B_202C_200C_202A_206B_202D_206C_202D_202D_200F_206B_200E_200B_206B_202A_206A_206D_200F_206D_206E_202B_200B_200C_206D_200C_202A_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _206D_200F_206A_200F_206D_202C_202E_202E_206F_206C_200C_206A_202E_202E_206E_202C_206A_202B_206B_206B_206A_206F_202A_202C_202A_200E_202D_200F_206B_200F_202C_206B_206B_206E_206F_200C_202E_202C_206F_202E(float P_0, float P_1) + { + return MathF.Max(P_0, P_1); + } + + static ImGuiStylePtr _202C_206F_206D_206C_200D_202A_206E_202A_206A_206B_200B_206B_202B_202D_202C_200E_206E_206C_206F_206B_200E_206E_206E_200C_200D_202E_202D_206E_206D_206E_202A_200C_206E_200C_200C_206E_202D_202E_202A_206C_202E() + { + return ImGui.GetStyle(); + } + + static bool _206D_206A_206B_202D_200F_202B_202E_202A_206E_202A_206C_206F_202B_202B_202C_206D_202C_200B_200D_200C_206C_206A_202D_206A_206D_206B_200F_202D_202E_206D_206F_206B_202A_202D_202B_200C_206F_200E_202E_206E_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static void _206F_202C_206E_206C_200D_202B_200C_206D_200E_202A_206F_206C_200B_206A_200D_206A_200D_200C_200D_206A_202D_202B_200C_202A_200C_206F_202A_200B_206B_202B_202B_200C_202A_200E_200E_202C_206A_200B_202B_206B_202E() + { + ImGui.SameLine(); + } + + static ImGuiIOPtr _206D_200F_206F_202D_202B_206A_202A_200E_206C_206C_200D_206A_200C_200D_206F_206B_202D_206B_200B_200B_200C_200C_206C_200D_202E_202D_206D_206D_206D_200F_200C_206D_206D_200C_200F_206F_206C_200E_202A_202C_202E() + { + return ImGui.GetIO(); + } + + static void _206F_200E_200B_202A_200C_200D_200E_206A_200E_200F_200D_202E_202C_202A_200B_206E_206F_206A_202E_202E_202C_202C_202B_206E_200B_202D_200B_202A_200B_202E_200D_200E_200F_202A_206F_200D_200B_206C_206F_202E_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static StringComparer _206F_202B_200B_200D_206D_202B_206A_200D_206E_202A_206F_202C_200B_206B_206F_200E_200F_206E_200F_202E_206B_206F_202C_206A_202C_202D_206E_206D_206A_206A_206A_206B_206A_202A_202A_200D_202C_200F_202D_200F_202E() + { + return StringComparer.OrdinalIgnoreCase; + } + + static long _202D_202E_206C_200E_206E_200C_200D_202A_202D_200B_200C_206D_200C_206A_206F_206E_200C_206C_206E_206F_206D_200B_200E_206E_200E_202C_206C_206F_206C_202E_206E_206F_202B_202C_202A_202E_206A_206E_206B_202C_202E() + { + return Environment.TickCount64; + } + + static ImRaii.ChildDisposable _206C_200E_202A_202A_200F_202C_200E_202E_202C_202D_206A_202C_206E_202A_202B_200D_200C_206E_206D_206D_202D_206E_206E_202D_200D_206E_200F_206C_200D_202A_200B_206B_206E_202B_200D_200B_200C_200F_202A_202E(ImU8String P_0, Vector2 P_1, bool P_2) + { + return ImRaii.Child(P_0, P_1, P_2); + } + + static void _200B_200D_202A_206F_202A_202C_202A_202D_206E_200C_206C_202A_206A_206B_202C_202D_206B_200C_200B_202B_206C_206A_200F_200F_206F_202B_202D_206D_206E_202E_202C_200B_206F_206A_202D_206B_200F_202B_200E_200F_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static float _206C_206E_200F_206D_206E_202C_206E_206A_202B_202A_206D_202B_200C_206D_200C_200F_200E_202A_200D_206F_200B_200F_200C_206E_202D_202B_202D_206C_202D_200E_206F_206A_202E_206F_202D_202A_200D_200C_206E_206C_202E() + { + return ImGui.GetTextLineHeightWithSpacing(); + } + + static float _202D_202E_206A_202B_202E_206C_202C_202C_206F_206F_206E_202C_200B_206D_200B_200C_202C_206F_200D_206B_200B_202A_206B_202C_202B_200B_200E_200F_202E_202C_206C_206E_202B_200D_200B_202A_206F_202B_202B_200C_202E() + { + return ImGui.GetWindowHeight(); + } + + static void _200B_200E_202A_200C_202C_202C_206A_206F_200C_206A_200C_206F_202D_200B_200E_200D_202C_202E_202B_200D_206F_200B_202D_200F_202E_202E_202B_202E_200B_202C_206B_206C_206D_200F_200C_200D_206B_202E_200C_202E_202E(float P_0) + { + ImGui.SetScrollY(P_0); + } + + unsafe static ImGuiListClipper* _200D_206E_200E_200E_206D_200F_206A_202B_202A_200C_200B_206A_206A_202E_202D_206E_206A_200D_206B_200C_206E_200E_200E_206F_202A_200B_200D_202D_200C_206D_206A_206F_200C_206B_200B_206D_202D_202E_200C_206D_202E() + { + return ImGuiNative.ImGuiListClipper(); + } + + unsafe static void _202C_200E_202D_206F_200F_200B_202E_206C_202B_206A_206D_200F_200F_202D_200F_200B_202A_206A_200E_200F_202B_200F_206D_206C_206C_206C_206D_206F_202C_206D_200F_200F_202B_202C_206E_206B_200C_200C_206E_200F_202E(ImGuiListClipper* P_0, int P_1, float P_2) + { + ImGuiNative.Begin(P_0, P_1, P_2); + } + + static bool _200C_206B_202D_206B_206D_202E_206B_200E_200C_206B_202A_206A_206C_206B_200C_202E_200D_206F_200C_200B_206F_202C_202E_202A_206E_202C_206C_206E_206D_202A_202C_202E_200B_202B_202E_200E_200F_202C_206C_202B_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } + + static ImRaii.ColorDisposable _206C_200D_200C_200F_200F_206B_202E_202A_206A_200C_202E_202E_200B_202D_200E_206E_200C_200C_206F_200C_200B_200E_202A_206E_206E_206F_200E_206E_200B_200B_200C_202E_202A_200B_202B_206D_206D_206C_200F_202B_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static float _206C_206D_206A_206B_202C_202E_206C_206D_202E_202E_206D_200E_200F_206C_202A_206A_206A_202A_206E_206E_206B_200E_206F_202D_202E_200C_206D_202A_206B_206A_202B_206D_202C_200C_206C_206C_202C_206C_206D_206B_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _206E_206E_206B_200B_202C_206D_206F_202B_206C_200E_202E_206F_200D_206E_206F_206B_206A_202E_206A_200D_206F_206C_206F_202B_202D_206B_200E_206D_200F_202A_200C_202B_202C_200B_202E_200C_206F_206B_202E_206D_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static bool _202C_200C_200B_206F_202E_206B_202D_206C_206C_200B_202C_202B_200F_206E_200E_206E_200D_206F_206B_202B_206B_200D_200B_206E_200D_206E_202C_206A_202B_206D_206B_200E_200E_206C_206A_202A_206E_202A_200F_200C_202E(ImU8String P_0, bool P_1, ImGuiSelectableFlags P_2, Vector2 P_3) + { + return ImGui.Selectable(P_0, P_1, P_2, P_3); + } + + static bool _202B_200E_202C_202B_202E_200B_202C_202A_202A_200C_206A_200F_202B_202A_206A_200E_200B_200E_202E_206E_206F_200F_200D_202D_200F_206B_200F_206B_206A_202E_206F_202E_206E_200D_200D_200F_200F_206C_202A_200F_202E(ImGuiMouseButton P_0) + { + return ImGui.IsMouseDoubleClicked(P_0); + } + + static ImDrawListPtr _202E_200C_202A_202A_206A_202C_202E_202D_202B_200F_206A_206E_206E_206D_206F_206B_202D_206F_200E_202A_202C_206F_202E_206D_202E_202B_200E_202B_200C_202C_206E_206A_206A_200C_202A_200B_206C_206C_200D_206C_202E() + { + return ImGui.GetWindowDrawList(); + } + + static Vector2 _200B_202E_206D_200D_206B_202E_206D_202A_206E_206E_206D_206C_206A_200D_202B_202C_202E_200D_206C_202A_200B_202E_206E_200E_200D_206A_206E_200B_206D_206A_202C_206C_206A_200C_202A_200F_200C_206C_206E_202E() + { + return ImGui.GetItemRectMin(); + } + + static Vector2 _206A_206C_206E_202C_206E_206E_206D_200B_202C_202D_200C_206A_202D_206D_202D_200B_200E_206C_202A_202C_202C_200E_200D_206E_202D_206F_200D_202E_206D_200D_200F_200F_206F_202E_206C_200D_200F_202B_200F_202C_202E() + { + return ImGui.GetItemRectMax(); + } + + static uint _206E_202A_202C_206F_200F_206A_200C_206D_202D_200B_206B_206E_206C_200B_206B_200E_200D_200F_206D_200B_200C_200C_206B_206B_200F_206D_206E_206D_206E_202C_202A_206C_206A_200D_202C_206E_200D_202B_200B_202D_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static void _206D_200D_202B_200E_206D_202B_200D_206F_200F_200B_202C_200D_202E_200F_206F_200D_206F_206E_206A_200E_202C_206A_202E_200F_206F_206E_206E_206D_200E_206B_206A_202D_206C_202B_202A_202A_206A_206F_200F_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ImRaii.ChildDisposable _206E_206E_206B_200E_200E_202E_200D_202C_200E_206E_202A_200B_200D_206C_206C_206A_200B_200D_206D_202B_202D_200E_200D_202D_202B_206C_206A_200D_206B_206F_202B_206A_200F_200C_202D_206C_202E_200F_200E_206B_202E(ImU8String P_0, Vector2 P_1, bool P_2, ImGuiWindowFlags P_3) + { + return ImRaii.Child(P_0, P_1, P_2, P_3); + } + + static void _206B_206B_202D_200E_206E_200C_202E_200F_202A_200E_206E_206A_206B_200F_200F_202B_200C_206F_202E_206D_200C_206F_200C_202D_206A_202C_206E_206F_200C_200E_202D_206D_206F_202A_200F_206A_206B_206E_206B_202A_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static ushort _200B_200B_202E_206B_200E_206C_206A_206E_202C_200B_200E_202B_206D_206B_202B_202A_202D_202A_200D_200C_206F_200B_206F_206A_206A_200F_200F_202E_202B_200C_206D_202A_206B_202B_206B_202A_202C_206E_206F_202E_202E(ElementId P_0) + { + return P_0.Value; + } + + static void _202D_200C_202D_202A_202E_206D_206C_202B_206D_200C_206A_200F_202B_202B_202E_202C_200C_206D_206D_200D_200D_206D_206E_206E_206C_200C_206F_206B_200E_206B_202B_200E_202C_206E_200B_202C_202E_202D_200F_206A_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _206E_202A_202B_206F_206B_206F_200E_206C_200F_206F_206D_206A_200D_200F_206C_206D_200B_206B_202A_202E_206F_202E_206C_200E_206D_206D_206B_206B_206C_200F_202B_202E_202B_200F_202A_200B_202C_206F_200F_202D_202E(float P_0, float P_1) + { + ImGui.SameLine(P_0, P_1); + } + + static void _202C_206C_206F_206F_200E_206B_202B_202D_206D_206D_200C_200E_200F_206C_202B_202C_200E_206B_202B_206E_206A_202B_202B_206D_202E_206B_206A_206B_200F_202D_206F_200B_206B_202C_200D_202D_202C_202E_202C_206F_202E() + { + ImGui.Spacing(); + } + + static List _202D_200C_206D_202C_202E_206C_202E_206B_206C_206F_206D_202A_206E_202D_200F_202B_206D_202D_200B_206F_202C_202D_200C_200B_200D_200B_200E_206E_200C_200C_206A_202C_200E_202E_202C_202E_200F_206D_206B_206E_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static ushort _206E_200F_200C_206E_202B_206C_202A_202E_202B_202E_200B_202B_206F_200E_200F_206B_206D_200C_202D_202D_206C_206C_200F_200C_206E_200C_202E_206F_200B_202B_206F_202C_206D_200E_200B_206C_200C_200F_200C_200F_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static Vector3? _200B_200E_206B_206E_202B_200E_206E_206A_202E_206C_202A_206B_202A_200C_202A_202A_200B_200D_200F_202A_200D_200F_202D_202B_200E_200E_202C_206B_200E_206E_200D_202E_206F_206D_200B_202D_206B_206F_206B_202E(QuestStep P_0) + { + return P_0.Position; + } + + static Vector2 _202B_200B_206A_200C_206A_200B_206D_202B_202E_206E_202C_202B_200E_206D_200B_200B_202A_206F_202B_206A_202B_200B_200D_202A_206E_206E_200F_200C_202E_200D_200C_206C_206C_206A_200C_202D_206D_200E_206D_206B_202E(Vector2 P_0, Map P_1) + { + return MapUtil.WorldToMap(P_0, P_1); + } + + static MapLinkPayload _206C_200D_206F_206E_206A_200B_202C_206D_206B_206A_206B_206C_202A_206C_206F_206F_202C_206A_206D_206B_200B_200B_202E_202C_200C_200B_200B_202D_206E_202B_200E_206A_200B_202C_200D_200E_202A_206F_206D_206A_202E(uint P_0, uint P_1, float P_2, float P_3, float P_4) + { + return new MapLinkPayload(P_0, P_1, P_2, P_3, P_4); + } + + static bool _200F_206D_202D_200E_200C_202E_206E_206C_206B_206A_202C_206E_200E_206D_200D_206F_202B_200F_206B_206C_206A_206E_206E_202B_200F_200B_200C_200F_206A_202A_200C_200F_206E_202C_206C_202A_202D_202A_202B_206B_202E(IGameGui P_0, MapLinkPayload P_1) + { + return P_0.OpenMapWithMapLink(P_1); + } + + static bool _200C_202A_206F_200B_206E_206F_206F_206D_206E_206A_200E_206E_206E_202E_202D_202A_206A_202C_202C_206C_206C_200C_202E_200E_200D_206C_200C_202A_206B_200E_206D_206F_206F_202B_206C_206B_202E_200F_202E_200D_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + + static ImRaii.DisabledDisposable _202B_202E_206D_202D_202C_200F_206D_202C_202B_206E_206E_200D_206A_206A_200F_200D_202A_202B_202D_206D_202B_202D_202C_200E_206B_200F_202E_206E_202C_206F_200F_206E_206B_202B_206D_206F_200D_200F_206D_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static bool _206F_206A_206B_202C_202C_206E_200E_202D_202E_202B_206B_202D_200C_206A_200C_200C_202C_200B_200F_202D_200E_200D_202D_200F_200C_200F_200E_206B_206B_200E_206C_206E_206D_206C_202B_200B_206D_202D_202C_202A_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static void _200B_200B_200E_200C_206C_202C_206E_200D_206C_206E_200C_202C_200F_200C_200B_206C_206A_206D_200D_202C_200E_206B_202D_206D_206A_202E_206D_206C_200D_200F_206A_202B_206E_202A_206A_206F_206B_200E_200C_206B_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static void _206B_200B_200B_202E_200B_202A_202E_206F_200C_206B_206A_200D_202E_206C_206C_200E_200F_202C_206C_202C_206C_200C_202C_200F_200C_202C_202E_202E_200D_206D_206B_202D_202E_206B_200F_206B_200D_206F_206D_202D_202E() + { + ImGui.PopTextWrapPos(); + } + + static bool _200E_200C_200D_202E_200B_202B_200C_200C_206A_206F_206F_202D_206A_200D_206A_200E_202C_200E_200C_202D_200F_202C_200D_200F_200C_206E_202E_202D_202D_200F_200F_202B_202A_206C_200E_206B_202B_206E_200B_206A_202E(string P_0) + { + return string.IsNullOrWhiteSpace(P_0); + } + + static bool _200D_206D_200B_200D_206B_206F_202C_206B_202B_200F_206E_202E_206C_206A_206E_202C_202A_200B_206F_202C_202B_202A_206D_202B_200B_206A_200B_206D_200E_202D_206C_202B_200B_200D_202D_202D_202A_206C_206F_200F_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _200B_202A_206B_206D_206F_206B_202A_202A_202D_200F_200C_200B_206A_200F_206F_200C_202B_200D_200E_200D_206E_206B_202E_202E_206F_202A_206F_202E_200D_200B_202A_206A_202A_206A_206C_200E_200C_206A_202A_200E_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static ISharedImmediateTexture _206D_200E_206D_206F_206C_200B_200D_202C_206F_202D_202E_202C_202C_202A_202B_202B_202C_206A_206E_202D_202E_206F_200D_202C_200E_200D_206C_200C_206D_200F_200B_200E_206C_206D_200B_200E_206D_206F_206E_206B_202E(ITextureProvider P_0, string P_1) + { + return P_0.GetFromGame(P_1); + } + + static IDalamudTextureWrap _200F_206C_200D_206A_206B_200B_206A_206D_200F_202A_202E_206C_202A_202B_200F_206A_206D_202E_200F_202C_206A_202B_200E_200B_202A_200E_206A_206F_206D_202B_202D_202B_202E_206A_202A_206B_202A_202D_200C_200E_202E(ISharedImmediateTexture P_0, IDalamudTextureWrap P_1) + { + return P_0.GetWrapOrDefault(P_1); + } + + static ImTextureID _206E_202C_202E_202B_200D_206B_200C_200F_206C_206D_200F_202C_206B_200F_200E_202C_206B_200D_202B_206E_200D_206A_202C_202A_200D_206B_200D_200E_200B_200C_202A_200B_202A_206E_206C_206C_202D_206E_202D_200C_202E(IDalamudTextureWrap P_0) + { + return P_0.Handle; + } + + static void _202D_200D_206E_206E_206B_202A_206E_206F_202C_202E_206E_202C_202C_206E_200D_206F_202C_202D_200D_200B_202A_200C_200B_202E_206A_202A_206A_200C_206E_206F_202B_200E_202B_202E_206C_202E_200E_200E_206F_206E_202E(ImTextureID P_0, Vector2 P_1) + { + ImGui.Image(P_0, P_1); + } + + static bool _202D_206C_202B_206F_200F_206C_202E_200E_200D_202E_206F_202E_206E_206E_202C_206A_200D_200B_206B_206F_206A_202E_202C_200F_200B_202D_202C_200C_206D_202D_202B_202C_200C_200D_202A_200B_202B_202E_202E_200E_202E() + { + return ImGui.IsItemHovered(); + } + + static float _206D_202C_200C_200E_202C_202C_200D_206D_206F_206A_200C_200E_202C_202E_200C_200F_206E_206E_206E_202B_206C_200F_200D_200F_206D_202B_200F_200E_202B_200D_206A_202D_206E_200E_200F_202A_206D_206C_200E_202C_202E() + { + return ImGui.GetCursorPosY(); + } + + static void _200F_202D_200B_206A_200D_206F_206F_200F_200B_206D_202C_206E_200C_200D_206A_202E_200E_202A_200D_202D_200C_202B_206C_206D_200E_202D_206F_206C_200F_206D_200F_200C_200C_200F_202A_200E_206A_200B_206D_206C_202E(float P_0) + { + ImGui.SetCursorPosY(P_0); + } + + static void _200E_206C_202C_202A_200C_202D_206A_206F_206B_202E_200E_200B_200C_206F_200C_206C_200E_202B_200C_206C_206D_202E_202A_202D_200E_206B_202A_200D_200B_206C_206F_206C_206D_206F_202B_206A_206F_200C_200D_200E_202E() + { + ImGui.BeginTooltip(); + } + + static void _202A_206B_206A_202B_206B_200B_200B_202A_206C_206C_202D_206F_200D_200F_200E_200E_200B_200E_206B_202A_206E_206E_200F_200F_206C_206F_206A_200C_206F_200E_200C_200C_200E_202D_202C_202D_206D_200B_200B_202C_202E() + { + ImGui.EndTooltip(); + } + + static string _200F_206B_200D_200D_206B_206C_200B_200D_206E_202A_202C_206E_202E_206D_202C_206B_206E_200F_200B_206D_202E_206D_200B_206E_206E_206D_206A_202E_206D_200E_206F_202A_202D_206D_206B_202A_200D_202A_206A_206F_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static int _202A_200E_206D_200E_206A_202C_206E_206A_202C_206C_206B_200F_200B_200F_200F_202A_206B_200E_200D_202A_206F_200E_200F_202B_200B_202D_206D_206C_206B_202A_202A_206D_200C_200D_200D_206B_200B_206A_206C_200E_202E(IDalamudTextureWrap P_0) + { + return P_0.Width; + } + + static float _206A_206F_202B_200C_200F_202A_202C_206F_202C_206E_202E_206D_206A_200B_206C_200B_200C_206F_206F_202A_206E_206B_200B_206D_206F_202E_206B_206A_202B_206C_206C_202E_206A_202D_200C_206E_202D_200C_200D_202B_202E(float P_0, float P_1) + { + return MathF.Min(P_0, P_1); + } + + static int _200F_206A_200E_206F_206F_202C_206C_200F_202E_206F_206C_202D_202B_202C_200F_202B_200E_200B_200B_202B_206D_206B_202A_206B_200C_206D_206A_202E_200C_202B_206C_206C_206D_206B_206C_200D_202B_202E_206C_206A_202E(IDalamudTextureWrap P_0) + { + return P_0.Height; + } + + static Vector2 _200C_202E_206B_202A_206C_206F_202B_202C_202B_200F_206D_200F_206D_206D_200E_200F_206B_206F_200D_206A_206A_200B_206E_200D_200B_200E_200D_202E_200B_200B_200B_202A_206B_206C_202C_202E_206D_206B_206E_202D_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static int _206F_200C_202E_202B_206A_200E_206D_206D_206C_202B_206C_202A_202C_206A_202E_202C_206F_200D_202E_206F_206E_202C_202A_206B_200D_202A_202A_206F_206C_202D_206C_200E_206B_202C_200E_202B_206D_206C_200D_202A_202E(string P_0) + { + return P_0.Length; + } + + static string _200C_202B_206C_202C_206F_202B_202E_202A_200F_206E_202A_206A_200C_200E_200F_200C_206F_200C_202D_200F_206C_200C_200E_200E_202E_206C_202B_206C_206C_200D_200F_206E_206C_206A_202A_206B_206C_202C_202C_206E_202E(string P_0, int P_1, int P_2) + { + return P_0.Substring(P_1, P_2); + } + + static string _206F_206A_202E_206F_202D_202B_206D_206F_202E_206D_200C_206D_200E_200B_202E_202B_202B_200E_200E_206B_206A_206A_200B_200F_206D_200B_200D_206F_200D_200C_206F_202E_200C_200D_206F_206F_202D_202B_200D_206F_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static Vector2 _202E_200C_202E_200B_206A_200D_200D_200D_206C_200F_206B_206A_202A_202D_202D_200D_202E_206B_200E_200E_206C_200B_200B_206E_200D_202B_202E_200C_200C_206D_206A_200D_200B_200C_200D_202A_202E_206D_206E_202A_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static bool _206C_200C_206E_206E_200F_200D_202A_200C_202E_200E_206F_202D_200C_200F_206A_202A_206D_206C_202A_206B_200B_206A_202B_202B_206B_202B_200E_206D_206A_206D_202C_200D_200D_200F_200D_202B_200F_200F_206C_206A_202E(ImU8String P_0, Vector2 P_1, ImGuiButtonFlags P_2) + { + return ImGui.InvisibleButton(P_0, P_1, P_2); + } + + static bool _200E_206C_206F_200D_200E_206B_206C_202E_206F_206F_206F_206A_200D_206A_202E_206D_200D_206D_206D_202D_206D_200B_202A_206A_200D_200D_206D_206B_202B_200D_206B_206D_200E_202C_202B_200E_200F_202B_206B_206B_202E() + { + return ImGui.IsItemActive(); + } + + static Vector2 _200E_202C_206E_200E_202D_202E_206D_206C_206B_206A_202A_206A_202B_200F_206D_202A_206B_200F_202A_206A_202C_206D_206B_206D_206E_206B_202E_202E_206F_202B_200C_206C_202E_202B_206C_202C_202B_202B_200C_200C_202E() + { + return ImGui.GetMousePos(); + } + + static float _200B_202C_200D_206E_202E_206F_206E_200D_206D_202A_200D_206C_200D_206E_202A_202A_202E_202C_202D_206D_200E_200E_200C_202B_200E_200F_202A_202D_200E_206D_202A_202E_206B_206C_206B_206A_200F_206B_206D_206F_202E(float P_0) + { + return MathF.Abs(P_0); + } + + static float _202E_206D_206D_206F_206C_206D_202A_200C_206B_202B_206E_200E_202D_200C_200C_202C_200E_200C_200D_206F_206C_206A_200F_206A_202C_202E_200D_206E_206F_200B_202D_206C_200B_200F_202E_200B_206D_200E_206B_202B_202E(float P_0, float P_1, float P_2) + { + return Math.Clamp(P_0, P_1, P_2); + } + + static int _202C_206F_200B_200C_202A_206A_202A_206C_206B_202B_206D_200B_206F_200D_200B_202C_200E_202D_200C_200B_206A_202A_200F_206A_202C_200F_200B_206B_200B_200F_200E_202C_202C_206A_202D_202D_206C_202C_202B_202E(float P_0) + { + return MathF.Sign(P_0); + } + + static float _200C_206E_202C_200C_202D_206C_206E_206C_206D_200D_200B_200B_202D_200F_206F_202D_206F_202A_200F_202D_206D_200F_202A_200B_200C_202C_202A_200E_206F_202E_202A_200E_206B_202B_200C_206D_202C_206C_200B_202B_202E() + { + return ImGui.GetFontSize(); + } + + static ImFontPtr _206D_206C_202E_206B_200E_202A_200C_206F_206E_206C_206B_206B_202E_200D_206D_202A_200D_200D_206A_202E_206C_200D_200B_206C_202E_200D_206B_200C_200E_206E_202A_202C_200C_202D_200D_206B_206A_202A_202C_202C_202E() + { + return ImGui.GetFont(); + } + + static string _202E_206B_206F_206D_202A_202E_202A_206B_202C_202A_202C_200D_202D_202E_202E_202E_200E_206E_206E_206C_200D_200D_206D_206E_206C_206D_200D_206F_206D_206F_200D_200C_206E_206D_202E_202D_202A_202C_202C_200C_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _202E_202C_200B_202A_200D_200F_200C_200D_206C_206E_206A_202D_206A_206E_202B_202D_202B_200B_202A_206B_200B_200B_200F_206C_206F_206D_200B_206D_200D_202E_206F_206C_206A_206A_202A_206E_202D_206F_200E_200F_202E(ImGuiMouseButton P_0) + { + return ImGui.IsMouseReleased(P_0); + } + + static double _200E_206F_202A_206C_200C_202E_200F_202E_206D_206B_206E_200C_200F_206E_202E_200D_206B_206F_202B_202C_206C_206A_200B_202A_200E_202B_206A_206C_202D_200B_200F_206A_206A_200B_200B_200F_206A_206A_200F_202C_202E(IEnumerable P_0) + { + return P_0.Average(); + } +} diff --git a/Questionable/Questionable.Windows.JournalComponents/QuestJournalComponent.cs b/Questionable/Questionable.Windows.JournalComponents/QuestJournalComponent.cs index ec072215..0b48a74d 100644 --- a/Questionable/Questionable.Windows.JournalComponents/QuestJournalComponent.cs +++ b/Questionable/Questionable.Windows.JournalComponents/QuestJournalComponent.cs @@ -1,17 +1,19 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Globalization; 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.ManagedFontAtlas; 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,18 +25,936 @@ namespace Questionable.Windows.JournalComponents; internal sealed class QuestJournalComponent { - private sealed record FilteredSection(JournalData.Section Section, List Categories); + private enum RowType : byte + { + Section, + Category, + Genre, + Quest + } - private sealed record FilteredCategory(JournalData.Category Category, List Genres); + private readonly record struct FlatRow(RowType Type, int Depth, int GroupIndex, IQuestInfo? Quest, string Label, JournalCounts Counts) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200B_202B_202A_200C_200D_200D_200F_202B_202A_206D_200D_200F_202A_206C_206F_200E_202B_206F_206C_200B_202D_206C_200E_206B_200E_200D_200E_200C_200D_206B_206C_206E_202E_200E_206A_202D_206A_200F_206B_200F_202E(); + _202B_206C_202A_206E_202C_202C_200B_206D_206D_202E_206B_206F_206F_206D_206E_206F_206D_200C_202E_206A_206E_206D_200D_202C_202E_200B_200E_200D_200D_200B_202A_206F_200C_206B_200D_202A_206C_200C_200C_200E_202E(stringBuilder, global::_003CModule_003E._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(-1001513835)); + _202B_206C_202A_206E_202C_202C_200B_206D_206D_202E_206B_206F_206F_206D_206E_206F_206D_200C_202E_206A_206E_206D_200D_202C_202E_200B_200E_200D_200D_200B_202A_206F_200C_206B_200D_202A_206C_200C_200C_200E_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? (-1551625878) : (-1551625877)); + while (true) + { + int num2 = num; + int num3 = -1551625878; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1551625877; + break; + case 1: + _200C_202E_202C_200E_206B_206D_206F_200D_200F_206F_200D_202B_202D_206A_206B_202E_200B_200C_202C_206D_200E_200D_202C_206C_202B_200F_200D_200B_206E_206A_202A_200E_206D_200F_200C_206B_200F_206E_200D_202C_202E(stringBuilder, ' '); + num = -1551625878; + break; + case 0: + _200C_202E_202C_200E_206B_206D_206F_200D_200F_206F_200D_202B_202D_206A_206B_202E_200B_200C_202C_206D_200E_200D_202C_206C_202B_200F_200D_200B_206E_206A_202A_200E_206D_200F_200C_206B_200F_206E_200D_202C_202E(stringBuilder, '}'); + return _200D_200D_200D_200F_202D_202D_200E_206F_206D_202D_202B_202D_202B_202A_202A_206A_202E_200C_206E_200E_200F_202C_200E_200E_200B_206A_206B_200F_206A_202C_202D_206D_202D_206D_200C_200C_200B_206B_206E_206E_202E((object)stringBuilder); + } + } + } - private sealed record FilteredGenre(JournalData.Genre Genre, List Quests); + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_206C_202A_206E_202C_202C_200B_206D_206D_202E_206B_206F_206F_206D_206E_206F_206D_200C_202E_206A_206E_206D_200D_202C_202E_200B_200E_200D_200D_200B_202A_206F_200C_206B_200D_202A_206C_200C_200C_200E_202E(builder, global::_003CModule_003E._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(1816100221)); + _202B_206C_202A_206E_202C_202C_200B_206D_206D_202E_206B_206F_206F_206D_206E_206F_206D_200C_202E_206A_206E_206D_200D_202C_202E_200B_200E_200D_200D_200B_202A_206F_200C_206B_200D_202A_206C_200C_200C_200E_202E(builder, Type.ToString()); + _202B_206C_202A_206E_202C_202C_200B_206D_206D_202E_206B_206F_206F_206D_206E_206F_206D_200C_202E_206A_206E_206D_200D_202C_202E_200B_200E_200D_200D_200B_202A_206F_200C_206B_200D_202A_206C_200C_200C_200E_202E(builder, global::_003CModule_003E._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(1014922524)); + _202B_206C_202A_206E_202C_202C_200B_206D_206D_202E_206B_206F_206F_206D_206E_206F_206D_200C_202E_206A_206E_206D_200D_202C_202E_200B_200E_200D_200D_200B_202A_206F_200C_206B_200D_202A_206C_200C_200C_200E_202E(builder, Depth.ToString()); + _202B_206C_202A_206E_202C_202C_200B_206D_206D_202E_206B_206F_206F_206D_206E_206F_206D_200C_202E_206A_206E_206D_200D_202C_202E_200B_200E_200D_200D_200B_202A_206F_200C_206B_200D_202A_206C_200C_200C_200E_202E(builder, global::_003CModule_003E._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(-1452499057)); + _202B_206C_202A_206E_202C_202C_200B_206D_206D_202E_206B_206F_206F_206D_206E_206F_206D_200C_202E_206A_206E_206D_200D_202C_202E_200B_200E_200D_200D_200B_202A_206F_200C_206B_200D_202A_206C_200C_200C_200E_202E(builder, GroupIndex.ToString()); + _202B_206C_202A_206E_202C_202C_200B_206D_206D_202E_206B_206F_206F_206D_206E_206F_206D_200C_202E_206A_206E_206D_200D_202C_202E_200B_200E_200D_200D_200B_202A_206F_200C_206B_200D_202A_206C_200C_200C_200E_202E(builder, global::_003CModule_003E._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(-1159868025)); + _202B_202B_206C_206C_202E_206E_200C_202E_202B_206C_206D_200C_206D_202B_202A_206C_202A_206A_200F_202A_200E_202B_200C_202E_206F_200C_202D_202B_206A_202E_202C_200C_202E_200D_202D_200B_206D_200E_206A_200D_202E(builder, (object)Quest); + _202B_206C_202A_206E_202C_202C_200B_206D_206D_202E_206B_206F_206F_206D_206E_206F_206D_200C_202E_206A_206E_206D_200D_202C_202E_200B_200E_200D_200D_200B_202A_206F_200C_206B_200D_202A_206C_200C_200C_200E_202E(builder, global::_003CModule_003E._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(-1931637293)); + _202B_202B_206C_206C_202E_206E_200C_202E_202B_206C_206D_200C_206D_202B_202A_206C_202A_206A_200F_202A_200E_202B_200C_202E_206F_200C_202D_202B_206A_202E_202C_200C_202E_200D_202D_200B_206D_200E_206A_200D_202E(builder, (object)Label); + _202B_206C_202A_206E_202C_202C_200B_206D_206D_202E_206B_206F_206F_206D_206E_206F_206D_200C_202E_206A_206E_206D_200D_202C_202E_200B_200E_200D_200D_200B_202A_206F_200C_206B_200D_202A_206C_200C_200C_200E_202E(builder, global::_003CModule_003E._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(-1999051001)); + _202B_202B_206C_206C_202E_206E_200C_202E_202B_206C_206D_200C_206D_202B_202A_206C_202A_206A_200F_202A_200E_202B_200C_202E_206F_200C_202D_202B_206A_202E_202C_200C_202E_200D_202D_200B_206D_200E_206A_200D_202E(builder, (object)Counts); + return true; + } + + [CompilerGenerated] + public bool Equals(FlatRow other) + { + int num = ((!EqualityComparer.Default.Equals(Type, other.Type)) ? (-278484317) : (-278484316)); + while (true) + { + int num2 = num; + int num3 = -278484319; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((!EqualityComparer.Default.Equals(Quest, other.Quest)) ? (-278484317) : (-278484318)); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(Label, other.Label)) ? (-278484317) : (-278484315)); + break; + case 2: + return false; + case 0: + num = -278484316; + break; + case 4: + return EqualityComparer.Default.Equals(Counts, other.Counts); + case 6: + num = ((!EqualityComparer.Default.Equals(GroupIndex, other.GroupIndex)) ? (-278484317) : (-278484320)); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(Depth, other.Depth)) ? (-278484317) : (-278484313)); + break; + } + } + } + + bool IEquatable.Equals(FlatRow other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _200B_202B_202A_200C_200D_200D_200F_202B_202A_206D_200D_200F_202A_206C_206F_200E_202B_206F_206C_200B_202D_206C_200E_206B_200E_200D_200E_200C_200D_206B_206C_206E_202E_200E_206A_202D_206A_200F_206B_200F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202B_206C_202A_206E_202C_202C_200B_206D_206D_202E_206B_206F_206F_206D_206E_206F_206D_200C_202E_206A_206E_206D_200D_202C_202E_200B_200E_200D_200D_200B_202A_206F_200C_206B_200D_202A_206C_200C_200C_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200C_202E_202C_200E_206B_206D_206F_200D_200F_206F_200D_202B_202D_206A_206B_202E_200B_200C_202C_206D_200E_200D_202C_206C_202B_200F_200D_200B_206E_206A_202A_200E_206D_200F_200C_206B_200F_206E_200D_202C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200D_200D_200D_200F_202D_202D_200E_206F_206D_202D_202B_202D_202B_202A_202A_206A_202E_200C_206E_200E_200F_202C_200E_200E_200B_206A_206B_200F_206A_202C_202D_206D_202D_206D_200C_200C_200B_206B_206E_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _202B_202B_206C_206C_202E_206E_200C_202E_202B_206C_206D_200C_206D_202B_202A_206C_202A_206A_200F_202A_200E_202B_200C_202E_206F_200C_202D_202B_206A_202E_202C_200C_202E_200D_202D_200B_206D_200E_206A_200D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + } + + private sealed record FilteredSection(JournalData.Section Section, List Categories) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_202B_206D_206B_206B_200F_200F_206C_206E_202B_200C_200E_206D_206D_200B_200C_202B_206B_206D_202E_206B_200C_206B_200F_206E_202C_202B_206D_206B_202C_200E_202D_202D_206A_200D_202B_206E_206F_206A_206B_202E(typeof(FilteredSection).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200B_200F_200E_200E_202E_202A_202B_206F_202B_200F_202D_202E_202C_200E_206C_206E_200F_200B_200E_200B_202A_200B_202B_202D_200D_206A_202D_206A_206F_206B_202D_206D_206F_206D_206F_202B_200C_202B_200D_202E_202E(); + _206A_202B_202A_202A_200D_202C_202B_202B_206D_200C_202D_206F_200E_200E_202D_202C_202A_202E_206F_202E_200E_206B_206A_200C_206C_202D_202E_202B_206F_206F_206B_202C_202E_202D_200E_206E_206B_206B_202D_206D_202E(stringBuilder, global::_003CModule_003E._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(947801429)); + _206A_202B_202A_202A_200D_202C_202B_202B_206D_200C_202D_206F_200E_200E_202D_202C_202A_202E_206F_202E_200E_206B_206A_200C_206C_202D_202E_202B_206F_206F_206B_202C_202E_202D_200E_206E_206B_206B_202D_206D_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? 209316329 : 209316328); + while (true) + { + int num2 = num; + int num3 = 209316329; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _206E_206D_200C_200F_206F_202A_202A_200E_206C_206C_200E_206C_202D_200C_202E_206D_200E_200D_200D_200E_206E_200D_202D_206B_200F_206A_206B_206F_206C_206C_200E_202B_202A_206E_200C_200E_200E_206F_206D_200C_202E(stringBuilder, '}'); + return _200C_202D_200E_206B_200E_202A_202E_200E_200E_202C_202E_202D_200F_206A_200E_200F_206B_200E_200D_200E_200D_206D_202E_202A_200C_202C_206C_202D_200F_202E_202B_200D_200D_200B_200E_206E_200C_200B_202D_206E_202E((object)stringBuilder); + case 1: + _206E_206D_200C_200F_206F_202A_202A_200E_206C_206C_200E_206C_202D_200C_202E_206D_200E_200D_200D_200E_206E_200D_202D_206B_200F_206A_206B_206F_206C_206C_200E_202B_202A_206E_200C_200E_200E_206F_206D_200C_202E(stringBuilder, ' '); + num = 209316329; + break; + case 2: + num = 209316328; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202D_202B_202A_200E_206E_206A_200C_200D_206C_202D_202C_200D_202D_206D_200C_202C_202D_200F_202D_206B_200D_202E_202D_200F_200C_206B_206A_202E_202A_200F_200D_200F_200C_200C_202E_200C_202A_202B_206C_202C_202E(); + _206A_202B_202A_202A_200D_202C_202B_202B_206D_200C_202D_206F_200E_200E_202D_202C_202A_202E_206F_202E_200E_206B_206A_200C_206C_202D_202E_202B_206F_206F_206B_202C_202E_202D_200E_206E_206B_206B_202D_206D_202E(builder, global::_003CModule_003E._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(1694722262)); + _206F_200E_206F_200F_200F_200E_206B_206D_206E_202C_206D_202A_202C_202C_206C_202D_202E_200F_200E_200D_202E_200B_206F_206C_200C_202E_206F_202C_206F_200B_200F_202D_202D_200B_200E_200D_200F_206C_200D_200E_202E(builder, (object)Section); + _206A_202B_202A_202A_200D_202C_202B_202B_206D_200C_202D_206F_200E_200E_202D_202C_202A_202E_206F_202E_200E_206B_206A_200C_206C_202D_202E_202B_206F_206F_206B_202C_202E_202D_200E_206E_206B_206B_202D_206D_202E(builder, global::_003CModule_003E._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(-1308281590)); + _206F_200E_206F_200F_200F_200E_206B_206D_206E_202C_206D_202A_202C_202C_206C_202D_202E_200F_200E_200D_202E_200B_206F_206C_200C_202E_206F_202C_206F_200B_200F_202D_202D_200B_200E_200D_200F_206C_200D_200E_202E(builder, (object)Categories); + return true; + } + + [CompilerGenerated] + public bool Equals(FilteredSection? other) + { + int num = (((object)this == other) ? (-1818550142) : (-1818550138)); + while (true) + { + int num2 = num; + int num3 = -1818550137; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + return EqualityComparer>.Default.Equals(Categories, other.Categories); + case 2: + num = ((!_206F_206E_202A_202C_206D_206E_202E_200D_200F_206E_206A_200F_202A_202C_200D_202D_202A_206C_202A_206D_202B_206C_206F_206F_202A_200D_202C_202A_202E_206F_206B_202D_206B_202C_200C_202B_202D_200B_206A_206B_202E(EqualityContract, other.EqualityContract)) ? (-1818550137) : (-1818550140)); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(Section, other.Section)) ? (-1818550137) : (-1818550141)); + break; + case 1: + num = (((object)other == null) ? (-1818550137) : (-1818550139)); + break; + case 5: + return true; + case 6: + num = -1818550138; + break; + case 0: + return false; + } + } + } + + bool IEquatable.Equals(FilteredSection? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_202B_206D_206B_206B_200F_200F_206C_206E_202B_200C_200E_206D_206D_200B_200C_202B_206B_206D_202E_206B_200C_206B_200F_206E_202C_202B_206D_206B_202C_200E_202D_202D_206A_200D_202B_206E_206F_206A_206B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200B_200F_200E_200E_202E_202A_202B_206F_202B_200F_202D_202E_202C_200E_206C_206E_200F_200B_200E_200B_202A_200B_202B_202D_200D_206A_202D_206A_206F_206B_202D_206D_206F_206D_206F_202B_200C_202B_200D_202E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206A_202B_202A_202A_200D_202C_202B_202B_206D_200C_202D_206F_200E_200E_202D_202C_202A_202E_206F_202E_200E_206B_206A_200C_206C_202D_202E_202B_206F_206F_206B_202C_202E_202D_200E_206E_206B_206B_202D_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206E_206D_200C_200F_206F_202A_202A_200E_206C_206C_200E_206C_202D_200C_202E_206D_200E_200D_200D_200E_206E_200D_202D_206B_200F_206A_206B_206F_206C_206C_200E_202B_202A_206E_200C_200E_200E_206F_206D_200C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200C_202D_200E_206B_200E_202A_202E_200E_200E_202C_202E_202D_200F_206A_200E_200F_206B_200E_200D_200E_200D_206D_202E_202A_200C_202C_206C_202D_200F_202E_202B_200D_200D_200B_200E_206E_200C_200B_202D_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202D_202B_202A_200E_206E_206A_200C_200D_206C_202D_202C_200D_202D_206D_200C_202C_202D_200F_202D_206B_200D_202E_202D_200F_200C_206B_206A_202E_202A_200F_200D_200F_200C_200C_202E_200C_202A_202B_206C_202C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206F_200E_206F_200F_200F_200E_206B_206D_206E_202C_206D_202A_202C_202C_206C_202D_202E_200F_200E_200D_202E_200B_206F_206C_200C_202E_206F_202C_206F_200B_200F_202D_202D_200B_200E_200D_200F_206C_200D_200E_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206F_206E_202A_202C_206D_206E_202E_200D_200F_206E_206A_200F_202A_202C_200D_202D_202A_206C_202A_206D_202B_206C_206F_206F_202A_200D_202C_202A_202E_206F_206B_202D_206B_202C_200C_202B_202D_200B_206A_206B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + private sealed record FilteredCategory(JournalData.Category Category, List Genres) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_200C_206F_200B_200B_202C_206E_202C_202E_206C_206D_200B_206E_200C_202E_206E_206B_206C_206E_206F_202C_206E_206F_200B_206A_206E_206D_206D_200E_202E_200E_206A_206B_202D_200C_206F_202D_206C_206D_202A_202E(typeof(FilteredCategory).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200F_200C_200D_202D_202C_202C_200D_206B_200D_206B_200B_200D_200D_202C_206A_206B_206F_202A_200E_200D_206A_206D_206F_206A_200E_206C_200B_200D_206C_200B_206F_200F_206E_206B_200F_202B_206A_200B_202E_200D_202E(); + _206C_202B_202E_200E_206A_200E_202C_206D_202E_202D_202E_202D_202E_202E_200B_206C_206B_206A_202E_202B_200E_206B_200D_206D_202A_200E_202E_202D_200F_206A_200D_202B_200F_200D_200B_206A_202C_206E_200D_206F_202E(stringBuilder, global::_003CModule_003E._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(-1168389344)); + _206C_202B_202E_200E_206A_200E_202C_206D_202E_202D_202E_202D_202E_202E_200B_206C_206B_206A_202E_202B_200E_206B_200D_206D_202A_200E_202E_202D_200F_206A_200D_202B_200F_200D_200B_206A_202C_206E_200D_206F_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-2117931978) : (-2117931979)); + while (true) + { + int num2 = num; + int num3 = -2117931977; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -2117931979; + break; + case 1: + _206E_206B_200F_206C_202E_200C_202A_206E_206B_200B_200E_202A_206F_202B_206C_206C_206E_200B_202D_200B_206C_206E_206C_200E_206D_206E_200F_206B_206B_202C_200E_200D_206F_206B_202E_206C_206A_202C_202E_206A_202E(stringBuilder, '}'); + return _200B_200B_200D_206F_200B_202C_206E_200F_202A_200F_202A_206E_202A_200C_202B_206A_202E_206C_206D_202E_200C_206F_202C_206D_206C_200C_202E_202E_200B_200C_206E_206D_202E_206E_202B_202E_202E_202C_206E_202E_202E((object)stringBuilder); + case 2: + _206E_206B_200F_206C_202E_200C_202A_206E_206B_200B_200E_202A_206F_202B_206C_206C_206E_200B_202D_200B_206C_206E_206C_200E_206D_206E_200F_206B_206B_202C_200E_200D_206F_206B_202E_206C_206A_202C_202E_206A_202E(stringBuilder, ' '); + num = -2117931978; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202C_200F_202B_202E_200F_200E_202B_202C_200D_206E_202A_202C_206F_202E_202B_206F_206C_206B_200D_200F_202D_206C_202A_200F_200D_206F_206E_200B_200F_206B_206E_200D_202C_206F_206A_206B_206B_206D_200F_200F_202E(); + _206C_202B_202E_200E_206A_200E_202C_206D_202E_202D_202E_202D_202E_202E_200B_206C_206B_206A_202E_202B_200E_206B_200D_206D_202A_200E_202E_202D_200F_206A_200D_202B_200F_200D_200B_206A_202C_206E_200D_206F_202E(builder, global::_003CModule_003E._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(-836877164)); + _202C_206F_206D_200B_206E_206C_200D_206E_202B_202D_206D_200D_202C_206A_200E_200B_200B_202B_200F_206E_200B_200E_200D_200E_202E_200B_206F_202D_200F_200E_206B_200D_202E_200F_206E_202B_202A_200D_202B_206A_202E(builder, (object)Category); + _206C_202B_202E_200E_206A_200E_202C_206D_202E_202D_202E_202D_202E_202E_200B_206C_206B_206A_202E_202B_200E_206B_200D_206D_202A_200E_202E_202D_200F_206A_200D_202B_200F_200D_200B_206A_202C_206E_200D_206F_202E(builder, global::_003CModule_003E._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(-427119147)); + _202C_206F_206D_200B_206E_206C_200D_206E_202B_202D_206D_200D_202C_206A_200E_200B_200B_202B_200F_206E_200B_200E_200D_200E_202E_200B_206F_202D_200F_200E_206B_200D_202E_200F_206E_202B_202A_200D_202B_206A_202E(builder, (object)Genres); + return true; + } + + [CompilerGenerated] + public bool Equals(FilteredCategory? other) + { + int num = (((object)this == other) ? 1587726649 : 1587726650); + while (true) + { + int num2 = num; + int num3 = 1587726648; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = ((!EqualityComparer.Default.Equals(Category, other.Category)) ? 1587726654 : 1587726651); + break; + case 3: + return EqualityComparer>.Default.Equals(Genres, other.Genres); + case 6: + return false; + case 0: + num = 1587726650; + break; + case 1: + return true; + case 2: + num = (((object)other == null) ? 1587726654 : 1587726653); + break; + case 5: + num = ((!_206F_202E_202C_206F_206E_200E_200E_200F_200C_200F_202B_206A_202D_200B_200E_206E_206B_202C_202D_206F_202D_200F_202E_206F_206A_200E_206D_200C_206D_202D_200D_206B_202C_202D_202B_200B_206E_206B_206A_206E_202E(EqualityContract, other.EqualityContract)) ? 1587726654 : 1587726652); + break; + } + } + } + + bool IEquatable.Equals(FilteredCategory? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206A_200C_206F_200B_200B_202C_206E_202C_202E_206C_206D_200B_206E_200C_202E_206E_206B_206C_206E_206F_202C_206E_206F_200B_206A_206E_206D_206D_200E_202E_200E_206A_206B_202D_200C_206F_202D_206C_206D_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200F_200C_200D_202D_202C_202C_200D_206B_200D_206B_200B_200D_200D_202C_206A_206B_206F_202A_200E_200D_206A_206D_206F_206A_200E_206C_200B_200D_206C_200B_206F_200F_206E_206B_200F_202B_206A_200B_202E_200D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206C_202B_202E_200E_206A_200E_202C_206D_202E_202D_202E_202D_202E_202E_200B_206C_206B_206A_202E_202B_200E_206B_200D_206D_202A_200E_202E_202D_200F_206A_200D_202B_200F_200D_200B_206A_202C_206E_200D_206F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206E_206B_200F_206C_202E_200C_202A_206E_206B_200B_200E_202A_206F_202B_206C_206C_206E_200B_202D_200B_206C_206E_206C_200E_206D_206E_200F_206B_206B_202C_200E_200D_206F_206B_202E_206C_206A_202C_202E_206A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_200B_200D_206F_200B_202C_206E_200F_202A_200F_202A_206E_202A_200C_202B_206A_202E_206C_206D_202E_200C_206F_202C_206D_206C_200C_202E_202E_200B_200C_206E_206D_202E_206E_202B_202E_202E_202C_206E_202E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202C_200F_202B_202E_200F_200E_202B_202C_200D_206E_202A_202C_206F_202E_202B_206F_206C_206B_200D_200F_202D_206C_202A_200F_200D_206F_206E_200B_200F_206B_206E_200D_202C_206F_206A_206B_206B_206D_200F_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202C_206F_206D_200B_206E_206C_200D_206E_202B_202D_206D_200D_202C_206A_200E_200B_200B_202B_200F_206E_200B_200E_200D_200E_202E_200B_206F_202D_200F_200E_206B_200D_202E_200F_206E_202B_202A_200D_202B_206A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206F_202E_202C_206F_206E_200E_200E_200F_200C_200F_202B_206A_202D_200B_200E_206E_206B_202C_202D_206F_202D_200F_202E_206F_206A_200E_206D_200C_206D_202D_200D_206B_202C_202D_202B_200B_206E_206B_206A_206E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + private sealed record FilteredGenre(JournalData.Genre Genre, List Quests) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_206F_206D_206C_200B_206A_202D_200E_206D_202E_200F_206E_202E_200D_206A_202C_200F_200C_202B_202C_202B_206A_200D_206C_206D_202D_200C_202D_202B_200F_206A_202D_206D_206D_200C_206E_206F_202D_206D_202E_202E(typeof(FilteredGenre).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202B_206F_200F_206D_202C_200D_200F_200C_202D_206D_206C_206F_200D_202E_200C_200D_202C_200C_206C_202E_200C_202A_206A_200D_206F_206D_202E_206F_202B_200E_206A_206F_206D_206F_206C_202A_202E_202E_202C_202C_202E(); + _202D_206B_200F_202B_200E_200E_206C_200D_206E_206A_200E_202D_202B_202D_202B_202A_206A_200B_202B_202A_202D_206A_200F_206F_206D_200F_200E_200C_200E_202A_202C_200F_206D_206C_206D_206D_206E_202C_206C_202E_202E(stringBuilder, global::_003CModule_003E._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(1286796942)); + _202D_206B_200F_202B_200E_200E_206C_200D_206E_206A_200E_202D_202B_202D_202B_202A_206A_200B_202B_202A_202D_206A_200F_206F_206D_200F_200E_200C_200E_202A_202C_200F_206D_206C_206D_206D_206E_202C_206C_202E_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? 497921459 : 497921458); + while (true) + { + int num2 = num; + int num3 = 497921459; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 497921458; + break; + case 1: + _206D_200B_200C_200B_202A_206E_202D_202C_206A_200B_206F_206E_200E_206C_206D_206F_206B_206E_202D_200B_200F_202A_202E_200B_206E_206B_200F_200D_202A_200C_206C_202A_200B_206C_202A_202D_206D_202A_202D_202D_202E(stringBuilder, ' '); + num = 497921459; + break; + case 0: + _206D_200B_200C_200B_202A_206E_202D_202C_206A_200B_206F_206E_200E_206C_206D_206F_206B_206E_202D_200B_200F_202A_202E_200B_206E_206B_200F_200D_202A_200C_206C_202A_200B_206C_202A_202D_206D_202A_202D_202D_202E(stringBuilder, '}'); + return _200B_202B_200C_206F_202B_206D_200B_202C_200B_206B_202C_200B_202A_206C_200F_200B_200F_200E_202E_206E_206D_206D_200F_202E_206A_200D_202A_200B_202A_202D_202A_200B_206B_206F_202D_202D_202B_200C_200B_200C_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_200C_202C_202E_206D_202C_200F_200D_206E_206D_200B_200E_200D_202A_200D_200D_202A_206C_200F_206C_202D_206D_202D_200C_202C_202B_206D_206A_202B_206B_202D_200C_202C_200C_206D_206B_200E_206C_206C_202A_202E(); + _202D_206B_200F_202B_200E_200E_206C_200D_206E_206A_200E_202D_202B_202D_202B_202A_206A_200B_202B_202A_202D_206A_200F_206F_206D_200F_200E_200C_200E_202A_202C_200F_206D_206C_206D_206D_206E_202C_206C_202E_202E(builder, global::_003CModule_003E._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(-306988401)); + _200D_200F_202A_200C_200D_202D_200B_202A_200F_200D_202D_200E_206E_200B_202D_202E_200B_206C_202B_200F_202D_206F_206A_202B_206B_200E_202A_206F_200C_206B_200D_200C_206A_200D_200B_202D_200C_206E_202D_200D_202E(builder, (object)Genre); + _202D_206B_200F_202B_200E_200E_206C_200D_206E_206A_200E_202D_202B_202D_202B_202A_206A_200B_202B_202A_202D_206A_200F_206F_206D_200F_200E_200C_200E_202A_202C_200F_206D_206C_206D_206D_206E_202C_206C_202E_202E(builder, global::_003CModule_003E._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(-783349735)); + _200D_200F_202A_200C_200D_202D_200B_202A_200F_200D_202D_200E_206E_200B_202D_202E_200B_206C_202B_200F_202D_206F_206A_202B_206B_200E_202A_206F_200C_206B_200D_200C_206A_200D_200B_202D_200C_206E_202D_200D_202E(builder, (object)Quests); + return true; + } + + [CompilerGenerated] + public bool Equals(FilteredGenre? other) + { + int num = (((object)this == other) ? (-210424102) : (-210424103)); + while (true) + { + int num2 = num; + int num3 = -210424102; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = ((!EqualityComparer.Default.Equals(Genre, other.Genre)) ? (-210424097) : (-210424101)); + break; + case 5: + return false; + case 0: + return true; + case 6: + num = -210424103; + break; + case 1: + return EqualityComparer>.Default.Equals(Quests, other.Quests); + case 3: + num = (((object)other == null) ? (-210424097) : (-210424098)); + break; + case 4: + num = ((!_206F_206E_202E_200B_206E_206A_200E_206E_206E_202A_206C_200B_200D_206F_206B_206B_206F_206C_202D_202A_206F_202E_202B_202E_206A_202D_202B_200D_200C_206F_202D_202B_206A_206C_200D_202E_206E_206D_202E_206B_202E(EqualityContract, other.EqualityContract)) ? (-210424097) : (-210424104)); + break; + } + } + } + + bool IEquatable.Equals(FilteredGenre? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206A_206F_206D_206C_200B_206A_202D_200E_206D_202E_200F_206E_202E_200D_206A_202C_200F_200C_202B_202C_202B_206A_200D_206C_206D_202D_200C_202D_202B_200F_206A_202D_206D_206D_200C_206E_206F_202D_206D_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202B_206F_200F_206D_202C_200D_200F_200C_202D_206D_206C_206F_200D_202E_200C_200D_202C_200C_206C_202E_200C_202A_206A_200D_206F_206D_202E_206F_202B_200E_206A_206F_206D_206F_206C_202A_202E_202E_202C_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202D_206B_200F_202B_200E_200E_206C_200D_206E_206A_200E_202D_202B_202D_202B_202A_206A_200B_202B_202A_202D_206A_200F_206F_206D_200F_200E_200C_200E_202A_202C_200F_206D_206C_206D_206D_206E_202C_206C_202E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_200B_200C_200B_202A_206E_202D_202C_206A_200B_206F_206E_200E_206C_206D_206F_206B_206E_202D_200B_200F_202A_202E_200B_206E_206B_200F_200D_202A_200C_206C_202A_200B_206C_202A_202D_206D_202A_202D_202D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_202B_200C_206F_202B_206D_200B_202C_200B_206B_202C_200B_202A_206C_200F_200B_200F_200E_202E_206E_206D_206D_200F_202E_206A_200D_202A_200B_202A_202D_202A_200B_206B_206F_202D_202D_202B_200C_200B_200C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202B_200C_202C_202E_206D_202C_200F_200D_206E_206D_200B_200E_200D_202A_200D_200D_202A_206C_200F_206C_202D_206D_202D_200C_202C_202B_206D_206A_202B_206B_202D_200C_202C_200C_206D_206B_200E_206C_206C_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200D_200F_202A_200C_200D_202D_200B_202A_200F_200D_202D_200E_206E_200B_202D_202E_200B_206C_202B_200F_202D_206F_206A_202B_206B_200E_202A_206F_200C_206B_200D_200C_206A_200D_200B_202D_200C_206E_202D_200D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206F_206E_202E_200B_206E_206A_200E_206E_206E_202A_206C_200B_200D_206F_206B_206B_206F_206C_202D_202A_206F_202E_202B_202E_206A_202D_202B_200D_200C_206F_202D_202B_206A_206C_200D_202E_206E_206D_202E_206B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } private sealed record JournalCounts(int Available, int Total, int Obtainable, int Completed) { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_206A_202B_200C_202D_202C_202D_200B_200F_206F_202B_206B_202B_202C_206A_206C_200C_200F_202C_206F_202D_206E_202B_200B_206E_200C_200B_200E_206A_200F_200D_206A_202C_200C_202A_200B_206C_206A_206F_206E_202E(typeof(JournalCounts).TypeHandle); + } + } + + public string FormattedSupported { get; } = FormatPair(Available, Total); + + public string FormattedCompleted { get; } = FormatPair(Completed, Obtainable); + + public bool IsSupportedComplete + { + get + { + int num = ((Available != Total) ? (-828232541) : (-828232542)); + while (true) + { + int num2 = num; + int num3 = -828232541; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004c; + case 1: + return Total > 0; + case 0: + return false; + } + continue; + IL_004c: + num = -828232542; + } + } + } + + public bool IsCompletedComplete + { + get + { + int num = ((Completed != Obtainable) ? (-1994052825) : (-1994052828)); + while (true) + { + int num2 = num; + int num3 = -1994052827; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004e; + case 1: + return Obtainable > 0; + case 2: + return false; + } + continue; + IL_004e: + num = -1994052828; + } + } + } + + private static readonly int PadWidth = _206B_202A_200B_202E_202E_200D_206C_202A_206F_206A_202A_202C_202C_200C_202A_200B_202A_206D_200B_202A_202A_200D_206C_200B_206F_200E_206B_206D_200B_200B_200D_206A_200E_202B_206B_202D_200C_200F_206E_202D_202E(9999.ToString(_200E_200F_206C_200F_206C_200D_206B_206A_206B_206D_206C_206F_200B_202E_200E_202E_206C_200F_206C_206B_202B_202B_200E_206E_200C_202A_200C_206F_200E_200B_202B_202D_200E_206C_200E_206F_202B_206F_200E_200D_202E())); + public JournalCounts() : this(0, 0, 0, 0) { } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static string FormatPair(int n, int d) + { + int num = ((d == 0) ? 755925451 : 755925450); + while (true) + { + int num2 = num; + int num3 = 755925451; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return _206E_206B_206F_200F_202B_206C_206D_206F_206C_206F_202C_200C_206F_206C_200B_206C_200C_200E_200F_202A_206B_206E_202D_200E_202B_202B_206C_206E_200C_202D_202A_206F_200D_202E_206F_202B_202A_206F_206F_200E_202E(_200E_200B_206C_206E_200C_206B_206F_200D_200D_200F_206D_206F_200D_202D_200F_200F_202A_206F_206C_202D_206C_206F_206A_200C_206A_206D_200D_200D_206C_202E_206D_202D_202A_200E_202C_200D_200C_200F_202C_200E_202E(global::_003CModule_003E._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(1228468769), PadWidth), global::_003CModule_003E._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(1762358294), _200E_200B_206C_206E_200C_206B_206F_200D_200D_200F_206D_206F_200D_202D_200F_200F_202A_206F_206C_202D_206C_206F_206A_200C_206A_206D_200D_200D_206C_202E_206D_202D_202A_200E_202C_200D_200C_200F_202C_200E_202E(global::_003CModule_003E._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(1313511123), PadWidth)); + case 1: + return _206E_206B_206F_200F_202B_206C_206D_206F_206C_206F_202C_200C_206F_206C_200B_206C_200C_200E_200F_202A_206B_206E_202D_200E_202B_202B_206C_206E_200C_202D_202A_206F_200D_202E_206F_202B_202A_206F_206F_200E_202E(_202E_202B_206A_202C_206E_202D_206A_200E_206B_202A_206C_202B_206A_206F_206F_202D_202B_202E_206C_202C_202C_206A_200E_200D_200E_206D_206F_206B_206E_200E_202C_200B_202E_202B_200D_202A_200C_200D_200D_202A_202E(n.ToString(_200E_200F_206C_200F_206C_200D_206B_206A_206B_206D_206C_206F_200B_202E_200E_202E_206C_200F_206C_206B_202B_202B_200E_206E_200C_202A_200C_206F_200E_200B_202B_202D_200E_206C_200E_206F_202B_206F_200E_200D_202E()), PadWidth), global::_003CModule_003E._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(-2014446916), _202E_202B_206A_202C_206E_202D_206A_200E_206B_202A_206C_202B_206A_206F_206F_202D_202B_202E_206C_202C_202C_206A_200E_200D_200E_206D_206F_206B_206E_200E_202C_200B_202E_202B_200D_202A_200C_200D_200D_202A_202E(d.ToString(_200E_200F_206C_200F_206C_200D_206B_206A_206B_206D_206C_206F_200B_202E_200E_202E_206C_200F_206C_206B_202B_202B_200E_206E_200C_202A_200C_206F_200E_200B_202B_202D_200E_206C_200E_206F_202B_206F_200E_200D_202E()), PadWidth)); + case 2: + goto IL_00b5; + } + continue; + IL_00b5: + num = 755925450; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_202A_206F_200D_202A_206B_206B_202A_206A_206D_206E_202A_202A_200B_206C_206B_200B_200F_206E_206D_206B_202E_200F_200D_206C_202D_200C_200D_200E_200E_200E_202A_200F_202E_202A_200D_206F_202C_206B_206C_202E(); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(stringBuilder, global::_003CModule_003E._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(-1852041499)); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? (-1022703241) : (-1022703244)); + while (true) + { + int num2 = num; + int num3 = -1022703242; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1022703244; + break; + case 1: + _206F_200B_202A_206C_202C_206D_200F_206E_200F_202B_200F_206B_202A_206A_200C_200B_202E_206A_202A_202E_202C_200D_202A_200C_200D_206C_206F_206A_202A_206F_200D_200B_200B_202C_206F_202A_206A_202E_206F_200E_202E(stringBuilder, '}'); + return _206B_206F_200F_206D_206B_202C_202E_206B_206D_206C_206C_200F_206B_206A_202A_202E_206C_206C_202E_206F_202C_200D_202E_200C_200F_200F_202E_202E_206F_200F_206C_206E_206E_206B_202A_206F_200D_200C_206B_206A_202E((object)stringBuilder); + case 2: + _206F_200B_202A_206C_202C_206D_200F_206E_200F_202B_200F_206B_202A_206A_200C_200B_202E_206A_202A_202E_202C_200D_202A_200C_200D_206C_206F_206A_202A_206F_200D_200B_200B_202C_206F_202A_206A_202E_206F_200E_202E(stringBuilder, ' '); + num = -1022703241; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_202D_202C_202A_206C_202A_200E_202A_202C_202B_206C_206F_200C_206B_200F_206F_206A_202C_202E_202E_202B_206E_206F_200F_200D_206B_200B_206B_202B_200B_200E_200B_200B_202E_200F_206E_202C_206D_206A_206A_202E(); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, global::_003CModule_003E._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(-2053589078)); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, Available.ToString()); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, global::_003CModule_003E._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(-741143455)); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, Total.ToString()); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, global::_003CModule_003E._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(1348197509)); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, Obtainable.ToString()); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, global::_003CModule_003E._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(-410827382)); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, Completed.ToString()); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, global::_003CModule_003E._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(-250349771)); + _206D_206E_200F_200D_200E_202E_206A_206A_206C_206A_206D_206B_200E_206B_202E_206E_202B_206C_200E_202A_200E_200E_200C_200C_200C_206E_202D_206F_206E_206A_206A_206E_202B_206D_200F_200C_200E_200C_206B_202E(builder, (object)FormattedSupported); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, global::_003CModule_003E._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(-769492549)); + _206D_206E_200F_200D_200E_202E_206A_206A_206C_206A_206D_206B_200E_206B_202E_206E_202B_206C_200E_202A_200E_200E_200C_200C_200C_206E_202D_206F_206E_206A_206A_206E_202B_206D_200F_200C_200E_200C_206B_202E(builder, (object)FormattedCompleted); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, global::_003CModule_003E._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(1408622866)); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, IsSupportedComplete.ToString()); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, global::_003CModule_003E._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(275251644)); + _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(builder, IsCompletedComplete.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(JournalCounts? other) + { + int num = (((object)this == other) ? 245494928 : 245494938); + while (true) + { + int num2 = num; + int num3 = 245494937; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 10: + return false; + case 3: + num = (((object)other == null) ? 245494931 : 245494936); + break; + case 7: + return EqualityComparer.Default.Equals(FormattedCompleted, other.FormattedCompleted); + case 5: + num = ((!EqualityComparer.Default.Equals(Total, other.Total)) ? 245494931 : 245494939); + break; + case 9: + return true; + case 1: + num = ((!_202C_200C_200E_202B_202E_202C_200B_202E_202E_206F_206A_202B_206B_202B_206D_206A_206A_206F_206B_206E_202C_202A_206C_200D_200E_202E_202E_206B_206B_202A_206A_206D_200C_200F_202A_206C_200C_206D_202C_202B_202E(EqualityContract, other.EqualityContract)) ? 245494931 : 245494943); + break; + case 0: + num = 245494938; + break; + case 8: + num = ((!EqualityComparer.Default.Equals(FormattedSupported, other.FormattedSupported)) ? 245494931 : 245494942); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(Completed, other.Completed)) ? 245494931 : 245494929); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(Available, other.Available)) ? 245494931 : 245494940); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(Obtainable, other.Obtainable)) ? 245494931 : 245494941); + break; + } + } + } + + bool IEquatable.Equals(JournalCounts? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [CompilerGenerated] + private JournalCounts(JournalCounts original) + { + Available = original.Available; + Total = original.Total; + Obtainable = original.Obtainable; + Completed = original.Completed; + FormattedSupported = original.FormattedSupported; + FormattedCompleted = original.FormattedCompleted; + } + + static Type _200F_206A_202B_200C_202D_202C_202D_200B_200F_206F_202B_206B_202B_202C_206A_206C_200C_200F_202C_206F_202D_206E_202B_200B_206E_200C_200B_200E_206A_200F_200D_206A_202C_200C_202A_200B_206C_206A_206F_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static CultureInfo _200E_200F_206C_200F_206C_200D_206B_206A_206B_206D_206C_206F_200B_202E_200E_202E_206C_200F_206C_206B_202B_202B_200E_206E_200C_202A_200C_206F_200E_200B_202B_202D_200E_206C_200E_206F_202B_206F_200E_200D_202E() + { + return CultureInfo.CurrentCulture; + } + + static string _202E_202B_206A_202C_206E_202D_206A_200E_206B_202A_206C_202B_206A_206F_206F_202D_202B_202E_206C_202C_202C_206A_200E_200D_200E_206D_206F_206B_206E_200E_202C_200B_202E_202B_200D_202A_200C_200D_200D_202A_202E(string P_0, int P_1) + { + return P_0.PadLeft(P_1); + } + + static string _206E_206B_206F_200F_202B_206C_206D_206F_206C_206F_202C_200C_206F_206C_200B_206C_200C_200E_200F_202A_206B_206E_202D_200E_202B_202B_206C_206E_200C_202D_202A_206F_200D_202E_206F_202B_202A_206F_206F_200E_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static string _200E_200B_206C_206E_200C_206B_206F_200D_200D_200F_206D_206F_200D_202D_200F_200F_202A_206F_206C_202D_206C_206F_206A_200C_206A_206D_200D_200D_206C_202E_206D_202D_202A_200E_202C_200D_200C_200F_202C_200E_202E(string P_0, int P_1) + { + return P_0.PadLeft(P_1); + } + + static StringBuilder _206F_202A_206F_200D_202A_206B_206B_202A_206A_206D_206E_202A_202A_200B_206C_206B_200B_200F_206E_206D_206B_202E_200F_200D_206C_202D_200C_200D_200E_200E_200E_202A_200F_202E_202A_200D_206F_202C_206B_206C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200D_206A_206C_206F_200B_206B_202C_206B_200B_202A_200D_206F_202E_206A_202C_202C_202A_202D_200C_202E_206B_206D_206A_200B_200F_200F_202A_202B_206C_200D_200D_202C_200E_206F_200E_206A_206E_206A_202A_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206F_200B_202A_206C_202C_206D_200F_206E_200F_202B_200F_206B_202A_206A_200C_200B_202E_206A_202A_202E_202C_200D_202A_200C_200D_206C_206F_206A_202A_206F_200D_200B_200B_202C_206F_202A_206A_202E_206F_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206B_206F_200F_206D_206B_202C_202E_206B_206D_206C_206C_200F_206B_206A_202A_202E_206C_206C_202E_206F_202C_200D_202E_200C_200F_200F_202E_202E_206F_200F_206C_206E_206E_206B_202A_206F_200D_200C_206B_206A_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206C_202D_202C_202A_206C_202A_200E_202A_202C_202B_206C_206F_200C_206B_200F_206F_206A_202C_202E_202E_202B_206E_206F_200F_200D_206B_200B_206B_202B_200B_200E_200B_200B_202E_200F_206E_202C_206D_206A_206A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206D_206E_200F_200D_200E_202E_206A_206A_206C_206A_206D_206B_200E_206B_202E_206E_202B_206C_200E_202A_200E_200E_200C_200C_200C_206E_202D_206F_206E_206A_206A_206E_202B_206D_200F_200C_200E_200C_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202C_200C_200E_202B_202E_202C_200B_202E_202E_206F_206A_202B_206B_202B_206D_206A_206A_206F_206B_206E_202C_202A_206C_200D_200E_202E_202E_206B_206B_202A_206A_206D_200C_200F_202A_206C_200C_206D_202C_202B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + + static int _206B_202A_200B_202E_202E_200D_206C_202A_206F_206A_202A_202C_202C_200C_202A_200B_202A_206D_200B_202A_202A_200D_206C_200B_206F_200E_206B_206D_200B_200B_200D_206A_200E_202B_206B_202D_200C_200F_206E_202D_202E(string P_0) + { + return P_0.Length; + } + } + + private readonly record struct CachedQuestDisplay(Vector4 SupportColor, FontAwesomeIcon SupportIcon, Vector4 CompletionColor, FontAwesomeIcon CompletionIcon, string CompletionText) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202C_206E_206A_206F_206C_200B_202B_206C_206B_206C_202B_202D_202C_206C_200C_206F_206B_202A_202A_202B_200D_200D_206B_206E_206D_200C_206C_206E_200B_200F_206D_206F_206D_206D_206D_200C_202D_206C_200E_202E_202E(); + _200D_206C_206D_202D_200E_202E_206D_200F_200C_202C_200C_206E_202E_200E_206E_202D_200B_200F_206C_200F_200E_202B_202D_206C_202A_206A_206C_200B_202E_200D_200E_206E_202D_206B_200D_202C_200F_202C_200B_200C_202E(stringBuilder, global::_003CModule_003E._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(1454534010)); + _200D_206C_206D_202D_200E_202E_206D_200F_200C_202C_200C_206E_202E_200E_206E_202D_200B_200F_206C_200F_200E_202B_202D_206C_202A_206A_206C_200B_202E_200D_200E_206E_202D_206B_200D_202C_200F_202C_200B_200C_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-564173337) : (-564173340)); + while (true) + { + int num2 = num; + int num3 = -564173338; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _200D_206C_206A_206D_202B_200D_206E_202D_200F_202A_206C_206C_200E_202E_200C_202B_202D_200F_200E_206F_206C_200B_206C_200B_200C_202C_202B_206E_206D_206A_202E_202D_200E_206F_200B_206B_200B_206D_202D_200D_202E(stringBuilder, '}'); + return _200C_200E_200F_200B_200C_200B_206F_202A_206A_202D_200F_206A_200E_200B_206B_206B_206D_206E_206F_200C_206C_206F_200D_206A_202D_200D_206F_206A_200E_206E_202D_202A_202D_206B_202C_200D_202D_206A_200E_200E_202E((object)stringBuilder); + case 2: + _200D_206C_206A_206D_202B_200D_206E_202D_200F_202A_206C_206C_200E_202E_200C_202B_202D_200F_200E_206F_206C_200B_206C_200B_200C_202C_202B_206E_206D_206A_202E_202D_200E_206F_200B_206B_200B_206D_202D_200D_202E(stringBuilder, ' '); + num = -564173337; + break; + case 0: + num = -564173340; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200D_206C_206D_202D_200E_202E_206D_200F_200C_202C_200C_206E_202E_200E_206E_202D_200B_200F_206C_200F_200E_202B_202D_206C_202A_206A_206C_200B_202E_200D_200E_206E_202D_206B_200D_202C_200F_202C_200B_200C_202E(builder, global::_003CModule_003E._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(-821988253)); + _200D_206C_206D_202D_200E_202E_206D_200F_200C_202C_200C_206E_202E_200E_206E_202D_200B_200F_206C_200F_200E_202B_202D_206C_202A_206A_206C_200B_202E_200D_200E_206E_202D_206B_200D_202C_200F_202C_200B_200C_202E(builder, SupportColor.ToString()); + _200D_206C_206D_202D_200E_202E_206D_200F_200C_202C_200C_206E_202E_200E_206E_202D_200B_200F_206C_200F_200E_202B_202D_206C_202A_206A_206C_200B_202E_200D_200E_206E_202D_206B_200D_202C_200F_202C_200B_200C_202E(builder, global::_003CModule_003E._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(-1724487156)); + _200D_206C_206D_202D_200E_202E_206D_200F_200C_202C_200C_206E_202E_200E_206E_202D_200B_200F_206C_200F_200E_202B_202D_206C_202A_206A_206C_200B_202E_200D_200E_206E_202D_206B_200D_202C_200F_202C_200B_200C_202E(builder, SupportIcon.ToString()); + _200D_206C_206D_202D_200E_202E_206D_200F_200C_202C_200C_206E_202E_200E_206E_202D_200B_200F_206C_200F_200E_202B_202D_206C_202A_206A_206C_200B_202E_200D_200E_206E_202D_206B_200D_202C_200F_202C_200B_200C_202E(builder, global::_003CModule_003E._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(-59441917)); + _200D_206C_206D_202D_200E_202E_206D_200F_200C_202C_200C_206E_202E_200E_206E_202D_200B_200F_206C_200F_200E_202B_202D_206C_202A_206A_206C_200B_202E_200D_200E_206E_202D_206B_200D_202C_200F_202C_200B_200C_202E(builder, CompletionColor.ToString()); + _200D_206C_206D_202D_200E_202E_206D_200F_200C_202C_200C_206E_202E_200E_206E_202D_200B_200F_206C_200F_200E_202B_202D_206C_202A_206A_206C_200B_202E_200D_200E_206E_202D_206B_200D_202C_200F_202C_200B_200C_202E(builder, global::_003CModule_003E._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(-588858711)); + _200D_206C_206D_202D_200E_202E_206D_200F_200C_202C_200C_206E_202E_200E_206E_202D_200B_200F_206C_200F_200E_202B_202D_206C_202A_206A_206C_200B_202E_200D_200E_206E_202D_206B_200D_202C_200F_202C_200B_200C_202E(builder, CompletionIcon.ToString()); + _200D_206C_206D_202D_200E_202E_206D_200F_200C_202C_200C_206E_202E_200E_206E_202D_200B_200F_206C_200F_200E_202B_202D_206C_202A_206A_206C_200B_202E_200D_200E_206E_202D_206B_200D_202C_200F_202C_200B_200C_202E(builder, global::_003CModule_003E._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(970249347)); + _200E_202A_206A_202C_200B_206E_200B_202C_206E_200D_206C_202B_206F_200B_200E_206B_206A_206F_200B_202B_202B_200F_202B_202E_200D_206C_200D_202B_200D_200D_206C_206C_200B_206D_202A_202A_202A_202D_200C_206C_202E(builder, (object)CompletionText); + return true; + } + + [CompilerGenerated] + public bool Equals(CachedQuestDisplay other) + { + int num = ((!EqualityComparer.Default.Equals(SupportColor, other.SupportColor)) ? 1882949337 : 1882949341); + while (true) + { + int num2 = num; + int num3 = 1882949336; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 5: + num = ((!EqualityComparer.Default.Equals(SupportIcon, other.SupportIcon)) ? 1882949337 : 1882949340); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(CompletionIcon, other.CompletionIcon)) ? 1882949337 : 1882949339); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(CompletionColor, other.CompletionColor)) ? 1882949337 : 1882949338); + break; + case 3: + return EqualityComparer.Default.Equals(CompletionText, other.CompletionText); + case 0: + num = 1882949341; + break; + } + } + } + + bool IEquatable.Equals(CachedQuestDisplay other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _202C_206E_206A_206F_206C_200B_202B_206C_206B_206C_202B_202D_202C_206C_200C_206F_206B_202A_202A_202B_200D_200D_206B_206E_206D_200C_206C_206E_200B_200F_206D_206F_206D_206D_206D_200C_202D_206C_200E_202E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200D_206C_206D_202D_200E_202E_206D_200F_200C_202C_200C_206E_202E_200E_206E_202D_200B_200F_206C_200F_200E_202B_202D_206C_202A_206A_206C_200B_202E_200D_200E_206E_202D_206B_200D_202C_200F_202C_200B_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_206C_206A_206D_202B_200D_206E_202D_200F_202A_206C_206C_200E_202E_200C_202B_202D_200F_200E_206F_206C_200B_206C_200B_200C_202C_202B_206E_206D_206A_202E_202D_200E_206F_200B_206B_200B_206D_202D_200D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200C_200E_200F_200B_200C_200B_206F_202A_206A_202D_200F_206A_200E_200B_206B_206B_206D_206E_206F_200C_206C_206F_200D_206A_202D_200D_206F_206A_200E_206E_202D_202A_202D_206B_202C_200D_202D_206A_200E_200E_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _200E_202A_206A_202C_200B_206E_200B_202C_206E_200D_206C_202B_206F_200B_200E_206B_206A_206F_200B_202B_202B_200F_202B_202E_200D_206C_200D_202B_200D_200D_206C_206C_200B_206D_202A_202A_202A_202D_200C_206C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } } internal sealed class FilterConfiguration @@ -51,11 +971,26 @@ internal sealed class QuestJournalComponent { get { - if (!AvailableOnly && !HideNoPaths) + int num = (AvailableOnly ? 1781684003 : 1781684002); + while (true) { - return HideUnobtainable; + int num2 = num; + int num3 = 1781684000; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1781684002; + break; + case 2: + num = (HideNoPaths ? 1781684003 : 1781684001); + break; + case 3: + return true; + case 1: + return HideUnobtainable; + } } - return true; } } @@ -76,6 +1011,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 +1041,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,336 +1066,582 @@ internal sealed class QuestJournalComponent _lastHideSeasonalGlobally = _configuration.General.HideSeasonalEventsFromJournalProgress; } - public void DrawQuests() + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe void DrawQuests() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Quests"); - if (!tabItemDisposable) + int num = ((_refreshGenreIndex >= 0) ? 1868955401 : 1868955407); + bool hideSeasonalEventsFromJournalProgress = default(bool); + bool flag2 = default(bool); + int num11 = default(int); + while (true) { - return; - } - bool hideSeasonalEventsFromJournalProgress = _configuration.General.HideSeasonalEventsFromJournalProgress; - if (hideSeasonalEventsFromJournalProgress != _lastHideSeasonalGlobally) - { - _lastHideSeasonalGlobally = hideSeasonalEventsFromJournalProgress; - _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)) - { - UpdateFilter(); - } - if (_filteredSections.Count > 0) - { - using (ImRaii.TableDisposable tableDisposable = ImRaii.Table("Quests", 3, ImGuiTableFlags.NoSavedSettings)) + int num2 = num; + int num3 = 1868955396; + int num4 = num2; + int num23; + switch ((num4 | num3) - (num4 & num3)) { - if (!tableDisposable) + case 12: + _lastHideSeasonalGlobally = hideSeasonalEventsFromJournalProgress; + _200F_200F_206D_200C_206F_202A_206B_206B_200E_202B_200B_200F_202E_206E_206B_206C_202C_202B_200F_200F_206F_206D_200D_206F_206E_202C_202A_206E_202E_202B_200F_202E_200D_202E_206A_202D_200D_200E_200C_202E_202E((ILogger)_logger, global::_003CModule_003E._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(-1004026158), new object[1] { hideSeasonalEventsFromJournalProgress }); + UpdateFilter(); + num = 1868955392; + break; + case 4: + _questJournalUtils.AddAllAvailableQuests(); + _202C_200D_202B_200D_206B_200E_206D_202B_202C_206C_202D_200E_202B_206E_202A_206A_206E_202A_206C_206D_206C_206B_202A_206E_206F_202A_200C_206B_202A_206A_200F_206E_202A_206A_202E_200C_200C_200F_200E_200C_202E(); + num = ((!UiThemeUtils.SearchInput(global::_003CModule_003E._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(570004168), ref Filter.SearchText, -1E-45f, global::_003CModule_003E._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(1939826874))) ? 1868955398 : 1868955397); + break; + case 13: + TickRefresh(); + num = 1868955394; + break; + case 6: + hideSeasonalEventsFromJournalProgress = _configuration.General.HideSeasonalEventsFromJournalProgress; + num = ((hideSeasonalEventsFromJournalProgress == _lastHideSeasonalGlobally) ? 1868955392 : 1868955400); + break; + case 8: + num = 1868955407; + break; + case 7: + UpdateFilter(); + num = 1868955399; + break; + case 14: + _206F_202B_202E_202C_206A_206C_202A_206B_206A_200F_202A_206C_202C_206D_200E_206E_202D_202D_202D_202E_206C_202C_206B_206D_200F_202E_202B_206A_200E_206D_206A_206D_202D_206B_206A_202A_200D_206E_206D_202E_202E(ref UiThemeUtils.StatusActive, (ImU8String)global::_003CModule_003E._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(-968153087)); + num = 1868955396; + break; + case 3: + _200B_200B_200F_202A_200E_200D_200F_202E_202B_202C_206D_200B_206B_202B_200C_200C_206A_206D_202A_206A_206E_206A_206F_206C_202E_206D_202C_202D_202E_202D_206A_206B_206A_200B_200F_206C_206E_206C_200C_206E_202E(); + num = ((_refreshGenreIndex >= 0) ? 1868955406 : 1868955393); + break; + case 2: + { + int num21 = 0 | (UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1764187366), ref Filter.AvailableOnly) ? 1 : 0); + _202C_200D_202B_200D_206B_200E_206D_202B_202C_206C_202D_200E_202B_206E_202A_206A_206E_202A_206C_206D_206C_206B_202A_206E_206F_202A_200C_206B_202A_206A_200F_206E_202A_206A_202E_200C_200C_200F_200E_200C_202E(); + int num22 = num21 | (UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(1852813595), ref Filter.HideNoPaths) ? 1 : 0); + _202C_200D_202B_200D_206B_200E_206D_202B_202C_206C_202D_200E_202B_206E_202A_206A_206E_202A_206C_206D_206C_206B_202A_206E_206F_202A_200C_206B_202A_206A_200F_206E_202A_206A_202E_200C_200C_200F_200E_200C_202E(); + num = ((((uint)num22 | (UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-784051953), ref Filter.HideUnobtainable) ? 1u : 0u)) == 0) ? 1868955399 : 1868955395); + break; + } + case 11: + num = ((_refreshDisplayIndex < 0) ? 1868955394 : 1868955401); + break; + case 10: + num23 = 1; + goto IL_0267; + case 5: + num23 = ((_refreshDisplayIndex >= 0) ? 1 : 0); + goto IL_0267; + case 1: + UpdateFilter(); + num = 1868955398; + break; + case 0: + if (_flatRows.Count > 0) { - return; + num = 1868955405; + break; } - 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) + num = (flag2 ? 1956666445 : 1956666446); + while (true) { - DrawSection(filteredSection); + int num18 = num; + num3 = 1956666444; + num4 = num18; + int num19 = num4 + num3; + int num20 = num4 & num3; + switch (num19 - (num20 + num20)) + { + case 0: + num = 1956666446; + break; + case 1: + return; + case 2: + UiThemeUtils.EmptyState(FontAwesomeIcon.Book, global::_003CModule_003E._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(1452417515)); + num = 1956666445; + break; + } } - return; + case 9: + { + IDisposable disposable = _202B_200D_200E_206A_202D_202B_206D_202C_206E_206D_202E_200B_206F_206A_202D_206A_200B_202D_202A_202E_206B_200F_202C_206E_202A_206D_200D_202B_202E_200F_200C_200D_202D_206A_206A_200E_202A_202C_202E_200C_202E(_206A_202A_202E_202E_206E_200F_206D_202A_206D_200C_206A_202E_200F_200D_202D_206A_206A_202C_206C_202E_202C_200B_202E_202E_200D_206A_202B_206F_206A_200D_206C_200F_206F_200F_200F_206F_206E_200D_200E_202C_202E(_206E_206B_206E_202B_202B_206B_206A_200D_206F_200E_202B_200F_206F_206B_200F_202B_200C_202C_202C_202B_202D_206C_200F_202D_200F_206E_202D_206A_206D_200E_202B_200E_200D_200F_206D_206A_206F_206D_202B_202B_202E(_pluginInterface))); + float x; + try + { + x = _200E_200D_200C_200E_202C_206A_200C_202B_202A_206E_206F_206C_206A_200D_202D_202D_206E_202D_200C_206F_202D_202A_202A_202E_206E_200E_200D_202B_206B_200B_200F_206B_206E_206B_200D_202D_202E_206A_200E_206E_202E((ImU8String)_206C_200F_206D_202A_206D_206F_206A_206A_202A_202A_202A_206B_202C_200F_206F_206E_200D_200B_202A_200E_202D_206D_206B_202B_200B_200F_206A_206F_200F_206D_200E_202E_202C_200B_200E_202A_202A_200B_200C_200F_202E(FontAwesomeIcon.Check), false, -1f).X; + } + finally + { + num = ((disposable == null) ? 1763295843 : 1763295840); + while (true) + { + int num5 = num; + num3 = 1763295841; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = 1763295840; + break; + case 2: + goto end_IL_032d; + case 1: + _200E_206C_200C_206A_206A_206E_200E_202C_206E_202B_202B_206D_202C_206B_206D_206D_206C_200B_206A_202A_206D_202C_202B_206E_202D_200F_206A_200F_202C_202C_202C_202C_200D_200B_206B_202D_206B_202E_200E_202D_202E(disposable); + num = 1763295843; + break; + } + continue; + end_IL_032d: + break; + } + } + float fontGlobalScale = _206D_206F_202D_202B_200C_206A_206C_206E_202D_202D_206E_200E_200E_202E_202A_202A_202D_206A_200B_206A_206F_202B_200D_202D_200F_202B_202B_202E_202D_206B_206A_200F_200F_200F_200E_202D_206A_206F_202D_202E_202E().FontGlobalScale; + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(-1895196101), 3, ImGuiTableFlags.NoSavedSettings | ImGuiTableFlags.ScrollY); + num = ((!(!tableDisposable)) ? (-587254794) : (-587254793)); + while (true) + { + int num8 = num; + num3 = -587254794; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_03f2; + case 1: + return; + case 0: + { + _200D_202D_202C_206E_202C_200B_202C_202A_206D_200D_206F_200B_202C_206F_200B_200B_200E_200B_202B_206A_200E_206C_200D_206A_200B_202B_200E_206B_202E_202A_200C_200F_206C_206B_202C_206C_200D_206C_206F_200C_202E((ImU8String)global::_003CModule_003E._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(-267283137), ImGuiTableColumnFlags.NoHide, 0f, 0u); + _200D_202D_202C_206E_202C_200B_202C_202A_206D_200D_206F_200B_202C_206F_200B_200B_200E_200B_202B_206A_200E_206C_200D_206A_200B_202B_200E_206B_202E_202A_200C_200F_206C_206B_202C_206C_200D_206C_206F_200C_202E((ImU8String)global::_003CModule_003E._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(406119027), ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale, 0u); + _200D_202D_202C_206E_202C_200B_202C_202A_206D_200D_206F_200B_202C_206F_200B_200B_200E_200B_202B_206A_200E_206C_200D_206A_200B_202B_200E_206B_202E_202A_200C_200F_206C_206B_202C_206C_200D_206C_206F_200C_202E((ImU8String)global::_003CModule_003E._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(211501148), ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale, 0u); + _206E_202C_206D_200F_200F_202C_206C_206B_206B_206B_200C_202B_200D_206D_206A_206D_206E_200C_202B_206A_200D_200C_202E_200B_206E_206D_200F_202D_200F_200C_200E_206E_206E_206C_202B_206E_206A_202A_202E_200E_202E(); + float num9 = _202D_200D_206D_206F_202A_206E_202D_200C_200D_200F_200F_200E_202B_206A_200C_206A_200D_200C_200D_202E_206E_200D_202A_200E_202A_206C_200B_200C_200C_200B_206C_200E_200C_206A_200E_202C_206F_202B_200B_206D_202E(); + bool flag = false; + ImGuiListClipper* intPtr = _200D_200E_202E_202B_206A_202A_206B_200D_200B_202A_200C_206F_206A_206D_206D_202B_200D_206D_200C_206F_202D_200F_206A_206A_206E_202E_200C_200C_202A_206A_206E_206E_202A_200C_206E_200E_202C_202C_200E_206E_202E(); + _202C_202E_200B_206A_200D_200F_200F_200F_200C_202A_202A_200E_200E_200F_202A_202B_202D_206E_202A_200C_206B_200F_206E_200E_202A_200D_206A_202E_202E_202D_206A_202A_200E_200E_200B_206F_202D_202E_206A_202B_202E(intPtr, _flatRows.Count, num9); + ImGuiListClipperPtr imGuiListClipperPtr = intPtr; + try + { + num = 987035593; + while (true) + { + int num10 = num; + num3 = 987035599; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + flag = true; + num = 987035597; + break; + case 1: + num11 = imGuiListClipperPtr.DisplayStart; + num = 987035596; + break; + case 6: + num = (imGuiListClipperPtr.Step() ? 987035598 : 987035592); + break; + case 3: + num = ((num11 < imGuiListClipperPtr.DisplayEnd) ? 987035599 : 987035593); + break; + case 2: + { + int num12 = num11; + num3 = 1; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + num11 = num13 + (num14 + num14); + num = 987035596; + break; + } + case 5: + num = 987035593; + break; + case 0: + num = ((!DrawFlatRow(_flatRows[num11], x)) ? 987035597 : 987035595); + break; + case 7: + goto end_IL_049f; + } + continue; + end_IL_049f: + break; + } + } + finally + { + imGuiListClipperPtr.Destroy(); + } + num = ((!flag) ? (-545525042) : (-545525043)); + while (true) + { + int num15 = num; + num3 = -545525044; + num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 0: + num = -545525043; + break; + case 1: + RebuildFlatRows(); + num = -545525042; + break; + case 2: + return; + } + } + } + } + continue; + IL_03f2: + num = -587254793; + } + } + IL_0267: + flag2 = (byte)num23 != 0; + num = ((!flag2) ? 1868955396 : 1868955402); + break; } } - ImGui.Text("No quest or category matches your search."); } - private void DrawSection(FilteredSection filter) + [MethodImpl(MethodImplOptions.NoInlining)] + private bool DrawFlatRow(FlatRow row, float supportIconSpacing) { - var (count, num5, total, count2) = _sectionCounts.GetValueOrDefault(filter.Section, new JournalCounts()); - if (num5 == 0) + _200F_206F_200C_202D_206D_200C_202E_200D_206A_206D_202A_206D_206B_206E_206B_202C_206E_202E_202E_202D_206D_200D_202A_202C_200D_206A_206C_206A_202A_200E_200C_200C_206D_206B_200F_206E_206C_200C_202B_202E(); + _206A_200E_206E_202D_206A_200F_206D_202D_200B_202B_206F_206A_206D_202C_202B_200F_206A_202D_206E_200B_206A_206D_202C_206B_200D_200E_200C_202E_200D_206E_202C_206D_202C_206F_206B_200D_200B_202B_206D_202B_202E(); + bool result = false; + float num = (float)row.Depth * _206D_206E_200D_202D_206B_200F_202C_200B_200E_206C_206B_200C_202D_202A_206A_206F_206A_206E_206A_206A_200B_200B_202C_206D_200C_206F_202B_202E_200B_200E_206A_206A_202E_200C_200E_206D_206C_206E_202D_202B_202E().IndentSpacing; + int num2 = ((row.Type != RowType.Quest) ? 468966862 : 468966852); + (RowType, int) item = default((RowType, int)); + bool flag = default(bool); + while (true) { - return; + int num3 = num2; + int num4 = 468966860; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 4: + _expandedGroups.Remove(item); + num2 = 468966858; + break; + case 8: + { + _206D_200D_206E_206C_206A_206B_200C_200C_200B_202A_206B_200E_202B_200B_202D_200D_202A_206F_200E_202E_206F_200C_206F_202E_206A_202A_206B_206A_202E_200F_200C_206E_206A_206E_206F_206B_200E_202D_202A_200E_202E(_200C_206B_206F_206E_200D_206D_202C_200D_200D_200E_200F_202A_200B_206F_202A_206A_206D_200F_200E_200F_200D_206E_206C_206D_206B_206F_202D_202E_200D_206F_200C_206F_202B_206C_202C_202E_206F_206E_206B_206C_202E() + num); + DrawQuestName(row.Quest, out var expansionHovered); + _questRegistry.TryGetQuest(row.Quest.QuestId, out Quest quest); + DrawQuestTooltipAndContextMenu(row.Quest, quest, expansionHovered); + _206A_200E_206E_202D_206A_200F_206D_202D_200B_202B_206F_206A_206D_202C_202B_200F_206A_202D_206E_200B_206A_206D_202C_206B_200D_200E_200C_202E_200D_206E_202C_206D_202C_206F_206B_200D_200B_202B_206D_202B_202E(); + DrawQuestSupportStatus(row.Quest, supportIconSpacing); + _206A_200E_206E_202D_206A_200F_206D_202D_200B_202B_206F_206A_206D_202C_202B_200F_206A_202D_206E_200B_206A_206D_202C_206B_200D_200E_200C_202E_200D_206E_202C_206D_202C_206F_206B_200D_200B_202B_206D_202B_202E(); + DrawQuestCompletionStatus(row.Quest); + num2 = 468966861; + break; + } + case 1: + return result; + case 5: + _206A_200E_206E_202D_206A_200F_206D_202D_200B_202B_206F_206A_206D_202C_202B_200F_206A_202D_206E_200B_206A_206D_202C_206B_200D_200E_200C_202E_200D_206E_202C_206D_202C_206F_206B_200D_200B_202B_206D_202B_202E(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedSupported, row.Counts.IsSupportedComplete, row.Counts.Total == 0); + _206A_200E_206E_202D_206A_200F_206D_202D_200B_202B_206F_206A_206D_202C_202B_200F_206A_202D_206E_200B_206A_206D_202C_206B_200D_200E_200C_202E_200D_206E_202C_206D_202C_206F_206B_200D_200B_202B_206D_202B_202E(); + UiThemeUtils.DrawTrackerCount(row.Counts.FormattedCompleted, row.Counts.IsCompletedComplete, row.Counts.Obtainable == 0); + num2 = 468966861; + break; + case 2: + { + item = (row.Type, row.GroupIndex); + flag = _expandedGroups.Contains(item); + _206D_200D_206E_206C_206A_206B_200C_200C_200B_202A_206B_200E_202B_200B_202D_200D_202A_206F_200E_202E_206F_200C_206F_202E_206A_202A_206B_206A_202E_200F_200C_206E_206A_206E_206F_206B_200E_202D_202A_200E_202E(_200C_206B_206F_206E_200D_206D_202C_200D_200D_200E_200F_202A_200B_206F_202A_206A_206D_200F_200E_200F_200D_206E_206C_206D_206B_206F_202D_202E_200D_206F_200C_206F_202B_206C_202C_202E_206F_206E_206B_206C_202E() + num); + UiThemeUtils.DrawTrackerGroupCaret(_206A_202A_202E_202E_206E_200F_206D_202A_206D_200C_206A_202E_200F_200D_202D_206A_206A_202C_206C_202E_202C_200B_202E_202E_200D_206A_202B_206F_206A_200D_206C_200F_206F_200F_200F_206F_206E_200D_200E_202C_202E(_206E_206B_206E_202B_202B_206B_206A_200D_206F_200E_202B_200F_206F_206B_200F_202B_200C_202C_202C_202B_202D_206C_200F_202D_200F_206E_202D_206A_206D_200E_202B_200E_200D_200F_206D_206A_206F_206D_202B_202B_202E(_pluginInterface)), flag); + _202C_200D_202B_200D_206B_200E_206D_202B_202C_206C_202D_200E_202B_206E_202A_206A_206E_202A_206C_206D_206C_206B_202A_206E_206F_202A_200C_206B_202A_206A_200F_206E_202A_206A_202E_200C_200C_200F_200E_200C_202E(); + ImU8String imU8String = new ImU8String(5, 2); + imU8String.AppendFormatted(row.Label); + imU8String.AppendLiteral(global::_003CModule_003E._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(-2023271148)); + imU8String.AppendFormatted(row.GroupIndex); + num2 = ((!_206B_206E_202C_200C_202C_200C_202E_202B_206C_206C_206D_202C_200E_202B_200F_202A_206E_206F_200B_200E_206E_206C_202D_200B_202A_202D_200C_206C_206C_200D_206F_206C_202D_200E_206D_206F_200D_202D_202A_200D_202E(imU8String, false, ImGuiSelectableFlags.None, default(Vector2))) ? 468966857 : 468966860); + break; + } + case 0: + num2 = ((!flag) ? 468966863 : 468966856); + break; + case 3: + _expandedGroups.Add(item); + num2 = 468966858; + break; + case 6: + result = true; + num2 = 468966857; + break; + case 7: + num2 = 468966852; + break; + } } - 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) - { - return; - } - foreach (FilteredCategory category in filter.Categories) - { - DrawCategory(category); - } - 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); } + [MethodImpl(MethodImplOptions.NoInlining)] private static void DrawQuestName(IQuestInfo questInfo, out bool expansionHovered) { expansionHovered = false; - if (questInfo.Expansion != (EExpansionVersion)255) + int num = ((questInfo.Expansion == (EExpansionVersion)255) ? 793425820 : 793425818); + while (true) { - ImGui.PushFont(UiBuilder.MonoFont); - ImGui.PushStyleColor(ImGuiCol.Text, questInfo.Expansion.GetExpansionColor()); - ImGui.TextUnformatted(questInfo.Expansion.ToAbbreviation().PadRight(3)); - ImGui.PopStyleColor(); - ImGui.PopFont(); - if (ImGui.IsItemHovered()) + int num2 = num; + int num3 = 793425816; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 0: + num = 793425818; + break; + case 1: + _202C_200D_202B_200D_206B_200E_206D_202B_202C_206C_202D_200E_202B_206E_202A_206A_206E_202A_206C_206D_206C_206B_202A_206E_206F_202A_200C_206B_202A_206A_200F_206E_202A_206A_202E_200C_200C_200F_200E_200C_202E(); + num = 793425820; + break; + case 2: + _206F_206F_206D_202C_202D_200C_202A_200E_206B_206C_200D_206A_200E_202A_206E_202D_206B_202A_202D_206C_206A_200D_200C_206E_200C_206B_206C_202B_200F_202A_202D_200D_200E_202B_206B_200C_200D_202E_202D_200D_202E(_202C_202A_206C_200D_202A_206F_206B_202D_202E_202C_200D_202C_202B_202D_202A_200E_206B_200C_206D_206F_202B_200C_206C_200F_200B_200E_200D_202B_202D_202E_202E_206A_202B_200F_202C_200F_202B_202D_202B_202E()); + _206F_202B_206B_206F_200E_206A_200D_202B_202C_206C_200E_200E_200B_200E_200E_206B_206F_206A_202D_206B_206C_206F_200B_200B_202A_206A_202D_202C_206D_202E_206E_202B_200B_206B_202E_202A_206E_206F_200B_202E_202E(ImGuiCol.Text, _206D_200F_202D_202A_200E_206C_202B_202D_202D_206F_202E_206D_206B_202A_202E_200B_202B_206B_206A_206F_200B_202B_202E_202B_202B_206B_200D_202E_202D_206C_206F_202C_202A_206D_200E_202E_200D_200B_202E_202D_202E(questInfo.Expansion)); + _202B_202D_206F_206E_202C_200F_200D_202D_206E_206C_206C_200F_200C_202C_202A_206B_202E_202B_206E_200F_200B_206F_200E_206E_202C_200B_202E_202E_206E_206D_206F_206D_200D_206F_200B_202E_206E_206D_206D_206F_202E((ImU8String)_206A_200E_206F_206A_200D_200F_206F_200C_206D_206A_206F_206B_206A_206F_202D_200E_200B_206F_206E_202D_200F_202D_202E_206B_200D_200D_200F_202B_200C_200C_200E_200D_202B_200D_206A_202E_206F_202E_200E_200D_202E(_206F_200D_202C_202E_206B_200F_200B_200F_206D_206A_200B_202B_202A_200E_202B_200B_202D_200C_200C_206C_200C_202E_206B_202B_200C_206C_202E_206F_202D_206D_202B_200C_206D_200D_202A_200C_200F_202D_206B_206C_202E(questInfo.Expansion), 3)); + _202A_200E_202B_200F_202B_202E_200C_202B_202D_202B_206A_200B_206F_206D_202C_206A_202E_206C_206D_206A_200D_200E_200D_202D_206D_200E_206C_206D_206E_206C_200F_200D_206C_206E_202E_200D_206E_206E_202A_202B_202E(); + _202D_200C_202B_200E_200E_206E_200B_206B_200F_202D_200D_206D_206D_200B_200F_206F_206C_206B_202C_200E_200E_206B_202E_200C_200E_206F_200E_206E_200C_206B_202A_200E_200F_200B_206D_206D_200E_200F_202A_206D_202E(); + num = ((!_206E_202C_202B_200E_200E_200E_206D_202A_200B_200F_200D_206B_200D_200B_200D_206E_206C_206A_206E_200D_206A_202A_202B_206F_202B_206A_202C_206C_200D_202A_202A_202B_202D_206E_200D_202E_200E_202C_206E_200C_202E()) ? 793425817 : 793425819); + break; + case 3: expansionHovered = true; - } - ImGui.SameLine(); - } - ImU8String id = new ImU8String(3, 2); - id.AppendFormatted(questInfo.Name); - id.AppendLiteral(" ("); - id.AppendFormatted(questInfo.QuestId); - id.AppendLiteral(")"); - ImGui.TreeNodeEx(id, ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.SpanFullWidth); - } - - private void DrawQuestTooltipAndContextMenu(IQuestInfo questInfo, Quest? quest, bool expansionHovered) - { - if ((ImGui.IsItemHovered() || expansionHovered) && questInfo.Expansion != (EExpansionVersion)255) - { - ImGui.BeginTooltip(); - ImGui.PushStyleColor(ImGuiCol.Text, questInfo.Expansion.GetExpansionColor()); - ImGui.TextUnformatted(questInfo.Expansion.ToFriendlyString()); - ImGui.PopStyleColor(); - ImGui.Separator(); - _questTooltipComponent.Draw(questInfo); - ImGui.EndTooltip(); - } - else if (ImGui.IsItemHovered() && questInfo.Expansion == (EExpansionVersion)255) - { - _questTooltipComponent.Draw(questInfo); - } - _questJournalUtils.ShowContextMenu(questInfo, quest, "QuestJournalComponent"); - } - - private void DrawQuestSupportStatus(IQuestInfo questInfo, Quest? quest) - { - float num; - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - num = ImGui.GetColumnWidth() / 2f - ImGui.CalcTextSize(FontAwesomeIcon.Check.ToIconString()).X; - } - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + num); - if (_questFunctions.IsQuestRemoved(questInfo.QuestId)) - { - _uiUtils.ChecklistItem(string.Empty, ImGuiColors.DalamudGrey, FontAwesomeIcon.Minus); - return; - } - if (quest != null) - { - QuestRoot root = quest.Root; - if (root != null && !root.Disabled) + num = 793425817; + break; + case 4: { - 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); - } + ImU8String imU8String = new ImU8String(3, 2); + imU8String.AppendFormatted(questInfo.Name); + imU8String.AppendLiteral(global::_003CModule_003E._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(-2002137365)); + imU8String.AppendFormatted(questInfo.QuestId); + imU8String.AppendLiteral(global::_003CModule_003E._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(424561659)); + _200F_200D_200E_202B_206C_206B_200F_200E_200F_200D_202B_202C_206D_206C_200E_200C_200D_200F_200D_206A_202D_206A_206F_202D_200E_206A_206C_200D_202C_200B_206B_206E_200E_202A_200D_200F_202D_202D_200B_200C_202E(imU8String, ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.SpanFullWidth, default(ImU8String)); return; } + } } - _uiUtils.ChecklistItem(string.Empty, complete: false); } + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawQuestTooltipAndContextMenu(IQuestInfo questInfo, Quest? quest, bool expansionHovered) + { + int num = ((!(_206E_202C_202B_200E_200E_200E_206D_202A_200B_200F_200D_206B_200D_200B_200D_206E_206C_206A_206E_200D_206A_202A_202B_206F_202B_206A_202C_206C_200D_202A_202A_202B_202D_206E_200D_202E_200E_202C_206E_200C_202E() || expansionHovered)) ? 982291073 : 982291077); + while (true) + { + int num2 = num; + int num3 = 982291076; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _202E_206D_202B_206A_206E_200D_206D_202B_200F_202C_200C_200F_206E_200E_200F_202C_206E_206F_206C_206E_202D_206E_200F_200D_206D_202B_206B_202E_200C_200D_200C_200B_202B_202B_200E_202C_200D_206C_200E_202B_202E(); + _206F_202B_206B_206F_200E_206A_200D_202B_202C_206C_200E_200E_200B_200E_200E_206B_206F_206A_202D_206B_206C_206F_200B_200B_202A_206A_202D_202C_206D_202E_206E_202B_200B_206B_202E_202A_206E_206F_200B_202E_202E(ImGuiCol.Text, _206D_200F_202D_202A_200E_206C_202B_202D_202D_206F_202E_206D_206B_202A_202E_200B_202B_206B_206A_206F_200B_202B_202E_202B_202B_206B_200D_202E_202D_206C_206F_202C_202A_206D_200E_202E_200D_200B_202E_202D_202E(questInfo.Expansion)); + _202B_202D_206F_206E_202C_200F_200D_202D_206E_206C_206C_200F_200C_202C_202A_206B_202E_202B_206E_200F_200B_206F_200E_206E_202C_200B_202E_202E_206E_206D_206F_206D_200D_206F_200B_202E_206E_206D_206D_206F_202E((ImU8String)_202D_206E_200E_202E_206E_206B_206D_202B_200F_202E_206D_206F_206D_200D_206A_200B_202B_202C_200B_200C_200C_206A_206C_206E_200D_206D_206C_200F_202D_200B_200E_202C_206E_200E_206F_206C_206B_200C_200E_202C_202E(questInfo.Expansion)); + _202A_200E_202B_200F_202B_202E_200C_202B_202D_202B_206A_200B_206F_206D_202C_206A_202E_206C_206D_206A_200D_200E_200D_202D_206D_200E_206C_206D_206E_206C_200F_200D_206C_206E_202E_200D_206E_206E_202A_202B_202E(); + _200B_200B_200F_202A_200E_200D_200F_202E_202B_202C_206D_200B_206B_202B_200C_200C_206A_206D_202A_206A_206E_206A_206F_206C_202E_206D_202C_202D_202E_202D_206A_206B_206A_200B_200F_206C_206E_206C_200C_206E_202E(); + _questTooltipComponent.Draw(questInfo); + _202B_206A_202C_200F_206C_206A_202C_202D_200B_202C_202C_202B_202B_200F_206F_206A_202A_202D_200F_202C_202D_200D_206A_206D_206C_202B_200D_202D_206E_202E_206B_206E_202C_206D_206E_200F_202B_200D_202D_202B_202E(); + num = 982291076; + break; + case 5: + num = ((!_206E_202C_202B_200E_200E_200E_206D_202A_200B_200F_200D_206B_200D_200B_200D_206E_206C_206A_206E_200D_206A_202A_202B_206F_202B_206A_202C_206C_200D_202A_202A_202B_202D_206E_200D_202E_200E_202C_206E_200C_202E()) ? 982291076 : 982291079); + break; + case 0: + _questJournalUtils.ShowContextMenu(questInfo, quest, global::_003CModule_003E._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(2011424548)); + return; + case 3: + num = ((questInfo.Expansion != (EExpansionVersion)255) ? 982291076 : 982291074); + break; + case 1: + num = ((questInfo.Expansion == (EExpansionVersion)255) ? 982291073 : 982291078); + break; + case 6: + _questTooltipComponent.Draw(questInfo); + num = 982291076; + break; + case 4: + num = 982291077; + break; + } + } + } + + private void DrawQuestSupportStatus(IQuestInfo questInfo, float supportIconSpacing) + { + float num = _202D_206E_202E_200E_202E_202A_200B_200B_206D_202D_206C_200F_206D_200D_202B_202C_200D_200B_200F_200E_202E_202A_206B_202A_202B_206D_200B_200C_202C_200F_200F_202B_206F_206A_202C_206B_206A_206D_206C_200F_202E() / 2f - supportIconSpacing; + _206D_200D_206E_206C_206A_206B_200C_200C_200B_202A_206B_200E_202B_200B_202D_200D_202A_206F_200E_202E_206F_200C_206F_202E_206A_202A_206B_206A_202E_200F_200C_206E_206A_206E_206F_206B_200E_202D_202A_200E_202E(_200C_206B_206F_206E_200D_206D_202C_200D_200D_200E_200F_202A_200B_206F_202A_206A_206D_200F_200E_200F_200D_206E_206C_206D_206B_206F_202D_202E_200D_206F_200C_206F_202B_206C_202C_202E_206F_206E_206B_206C_202E() + num); + CachedQuestDisplay value; + int num2 = ((!_displayCache.TryGetValue(questInfo.QuestId, out value)) ? (-533488192) : (-533488189)); + while (true) + { + int num3 = num2; + int num4 = -533488190; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 2: + _uiUtils.ChecklistItem(string.Empty, complete: false); + return; + case 1: + _uiUtils.ChecklistItem(string.Empty, value.SupportColor, value.SupportIcon); + return; + case 0: + goto IL_00b7; + } + continue; + IL_00b7: + num2 = -533488189; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawQuestCompletionStatus(IQuestInfo questInfo) { - if (_questFunctions.IsQuestAccepted(questInfo.QuestId)) + CachedQuestDisplay value; + int num = ((!_displayCache.TryGetValue(questInfo.QuestId, out value)) ? (-1337565764) : (-1337565763)); + while (true) { - _uiUtils.ChecklistItem("Active", ImGuiColors.DalamudYellow, FontAwesomeIcon.PersonWalkingArrowRight); - } - else if (_questFunctions.IsQuestComplete(questInfo.QuestId)) - { - DrawCompletedQuestStatus(questInfo); - } - 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); + int num2 = num; + int num3 = -1337565764; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0055; + case 0: + _uiUtils.ChecklistItem(global::_003CModule_003E._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(896879528), UiThemeUtils.StatusUnobtainable, FontAwesomeIcon.Question); + return; + case 1: + _uiUtils.ChecklistItem(value.CompletionText, value.CompletionColor, value.CompletionIcon); + return; + } + continue; + IL_0055: + num = -1337565763; } } private static bool IsQuestExpired(IQuestInfo questInfo) { DateTime? seasonalQuestExpiry = questInfo.SeasonalQuestExpiry; - if (seasonalQuestExpiry.HasValue) + int num = ((!seasonalQuestExpiry.HasValue) ? 1979033601 : 1979033603); + DateTime valueOrDefault = default(DateTime); + while (true) { - DateTime valueOrDefault = seasonalQuestExpiry.GetValueOrDefault(); - DateTime dateTime = ((valueOrDefault.Kind == DateTimeKind.Utc) ? valueOrDefault : valueOrDefault.ToUniversalTime()); - return DateTime.UtcNow > dateTime; + int num2 = num; + int num3 = 1979033600; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1979033603; + break; + case 1: + return false; + case 2: + return DateTime.UtcNow > ExpiryUtils.NormalizeExpiry(valueOrDefault); + case 3: + valueOrDefault = seasonalQuestExpiry.GetValueOrDefault(); + num = 1979033602; + break; + } } - 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; + } + using List.Enumerator enumerator4 = genre.Quests.GetEnumerator(); + int num = -2141524933; + while (true) + { + int num2 = num; + int num3 = -2141524934; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + num = (enumerator4.MoveNext() ? (-2141524936) : (-2141524935)); + break; + case 2: + { + IQuestInfo current4 = enumerator4.Current; + list.Add(new FlatRow(RowType.Quest, 3, 0, current4, string.Empty, new JournalCounts())); + num = -2141524933; + break; + } + case 0: + num = -2141524933; + break; + case 3: + goto end_IL_01a5; + } + continue; + end_IL_01a5: + break; + } + } } } - ImGui.PopFont(); + _flatRows = list; } public void UpdateFilter() @@ -456,164 +1651,1098 @@ internal sealed class QuestJournalComponent where x.Categories.Count > 0 select x).ToList(); RefreshCounts(); + RebuildFlatRows(); } private FilteredSection FilterSection(JournalData.Section section, FilterConfiguration filter) { - IEnumerable enumerable; - if (!_configuration.General.HideSeasonalEventsFromJournalProgress || !_journalData.SeasonalEventsCategoryId.HasValue) + int num = ((!_configuration.General.HideSeasonalEventsFromJournalProgress) ? 731985677 : 731985672); + IEnumerable source = default(IEnumerable); + IEnumerable source2 = default(IEnumerable); + while (true) { - IEnumerable categories = section.Categories; - enumerable = categories; + int num2 = num; + int num3 = 731985673; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + IEnumerable enumerable; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 5: + source = source2.Select((JournalData.Category category) => FilterCategory(category, filter, section)); + num = 731985674; + continue; + case 1: + num = (_journalData.SeasonalEventsCategoryId.HasValue ? 731985675 : 731985677); + continue; + case 0: + num = 731985672; + continue; + case 3: + return new FilteredSection(section, source.Where((FilteredCategory x) => x.Genres.Count > 0).ToList()); + case 4: + { + IEnumerable categories = section.Categories; + enumerable = categories; + break; + } + case 6: + source = source2.Select((JournalData.Category x) => FilterCategory(x, filter.WithoutName(), section)); + num = 731985674; + continue; + case 2: + enumerable = section.Categories.Where((JournalData.Category c) => c.Id != _journalData.SeasonalEventsCategoryId.Value); + break; + } + source2 = enumerable; + num = ((!IsCategorySectionGenreMatch(filter, section.Name)) ? 731985676 : 731985679); } - else - { - enumerable = section.Categories.Where((JournalData.Category c) => c.Id != _journalData.SeasonalEventsCategoryId.Value); - } - IEnumerable source = enumerable; - return new FilteredSection(Categories: ((!IsCategorySectionGenreMatch(filter, section.Name)) ? source.Select((JournalData.Category category) => FilterCategory(category, filter, section)) : source.Select((JournalData.Category x) => FilterCategory(x, filter.WithoutName(), section))).Where((FilteredCategory x) => x.Genres.Count > 0).ToList(), Section: section); } private FilteredCategory FilterCategory(JournalData.Category category, FilterConfiguration filter, JournalData.Section? parentSection = null) { - IEnumerable source = ((!IsCategorySectionGenreMatch(filter, category.Name)) ? category.Genres.Select((JournalData.Genre genre) => FilterGenre(genre, filter, parentSection)) : category.Genres.Select((JournalData.Genre x) => FilterGenre(x, filter.WithoutName(), parentSection))); - return new FilteredCategory(category, source.Where((FilteredGenre x) => x.Quests.Count > 0).ToList()); + int num = ((!IsCategorySectionGenreMatch(filter, category.Name)) ? (-1684269347) : (-1684269346)); + IEnumerable source = default(IEnumerable); + while (true) + { + int num2 = num; + int num3 = -1684269348; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -1684269346; + break; + case 0: + return new FilteredCategory(category, source.Where((FilteredGenre x) => x.Quests.Count > 0).ToList()); + case 1: + source = category.Genres.Select((JournalData.Genre genre) => FilterGenre(genre, filter, parentSection)); + num = -1684269348; + break; + case 2: + source = category.Genres.Select((JournalData.Genre x) => FilterGenre(x, filter.WithoutName(), parentSection)); + num = -1684269348; + break; + } + } } private FilteredGenre FilterGenre(JournalData.Genre genre, FilterConfiguration filter, JournalData.Section? parentSection = null) { bool hideSeasonalEventsFromJournalProgress = _configuration.General.HideSeasonalEventsFromJournalProgress; IEnumerable source = ((!IsCategorySectionGenreMatch(filter, genre.Name)) ? genre.Quests.Where((IQuestInfo x) => IsQuestMatch(filter, x)) : genre.Quests.Where((IQuestInfo x) => IsQuestMatch(filter.WithoutName(), x))); - if (hideSeasonalEventsFromJournalProgress && _journalData.SeasonalEventsCategoryId.HasValue && genre.CategoryId == _journalData.SeasonalEventsCategoryId.Value) + int num = ((!hideSeasonalEventsFromJournalProgress) ? 2099015948 : 2099015949); + while (true) { - source = source.Where((IQuestInfo q) => !IsSeasonal(q)); + int num2 = num; + int num3 = 2099015948; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 2099015949; + break; + case 4: + source = source.Where((IQuestInfo q) => !IsSeasonal(q)); + num = 2099015948; + break; + case 0: + return new FilteredGenre(genre, source.ToList()); + case 2: + num = ((genre.CategoryId != _journalData.SeasonalEventsCategoryId.Value) ? 2099015948 : 2099015944); + break; + case 1: + num = ((!_journalData.SeasonalEventsCategoryId.HasValue) ? 2099015948 : 2099015950); + break; + } } - return new FilteredGenre(genre, source.ToList()); } internal void RefreshCounts() { - _genreCounts.Clear(); - _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) - { - 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); - } - } - foreach (JournalData.Section section in _journalData.Sections) - { - List source3 = (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 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); + StartRefresh(); } - private List _genre_counts_or_default(JournalData.Category category) + [MethodImpl(MethodImplOptions.NoInlining)] + private void StartRefresh() { - return (from x in _genreCounts - where category.Genres.Contains(x.Key) - select x.Value).ToList(); + _refreshHideSeasonal = _configuration.General.HideSeasonalEventsFromJournalProgress; + _refreshGenreIndex = 0; + _refreshDisplayIndex = -1; + _200F_200F_206D_200C_206F_202A_206B_206B_200E_202B_200B_200F_202E_206E_206B_206C_202C_202B_200F_200F_206F_206D_200D_206F_206E_202C_202A_206E_202E_202B_200F_202E_200D_202E_206A_202D_200D_200E_200C_202E_202E((ILogger)_logger, global::_003CModule_003E._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(1651409053), new object[1] { _refreshHideSeasonal }); + } + + private void TickRefresh() + { + if (_refreshGenreIndex >= 0) + { + List genres = _journalData.Genres; + int refreshGenreIndex = _refreshGenreIndex; + int num = 20; + int num2 = refreshGenreIndex; + int num3 = num2 ^ num; + int num4 = num2 & num; + int num5 = _206E_206D_202A_202C_206E_200F_202B_200C_200C_202C_206B_202B_200D_202E_200C_200B_200E_206F_202D_206F_200E_202A_200B_200E_200E_202A_202B_202E_200B_202C_200D_200D_202A_202B_202C_200D_202E_206A_206F_206F_202E(num3 + (num4 + num4), genres.Count); + int num6 = _refreshGenreIndex; + Quest quest = default(Quest); + IQuestInfo current = default(IQuestInfo); + int num11; + while (num6 < num5) + { + JournalData.Genre genre = genres[num6]; + List obj = ((_refreshHideSeasonal && _journalData.SeasonalEventsCategoryId.HasValue && genre.CategoryId == _journalData.SeasonalEventsCategoryId.Value) ? genre.Quests.Where((IQuestInfo q) => !IsSeasonal(q)).ToList() : genre.Quests.ToList()); + int num7 = 0; + int num8 = 0; + int num9 = 0; + int num10 = 0; + using (List.Enumerator enumerator = obj.GetEnumerator()) + { + num11 = -149263321; + while (true) + { + int num12 = num11; + num = -149263315; + num2 = num12; + int num13 = num2 + num; + int num14 = num2 & num; + switch (num13 - (num14 + num14)) + { + case 9: + num11 = (_206A_200F_200C_206C_200D_206A_206A_206D_200B_202B_202C_206F_200D_206A_206E_206D_206C_202C_206E_202C_200F_206B_200C_200B_200C_202B_206B_200E_206C_206A_206D_206C_202A_206E_206D_202E_200B_200C_200E_202A_202E(quest.Root) ? (-149263318) : (-149263315)); + break; + case 2: + { + int num15 = num8; + num = 1; + num2 = num15; + int num16 = num2 ^ num; + int num17 = num2 & num; + num8 = num16 + (num17 + num17); + num11 = ((!_questRegistry.TryGetQuest(current.QuestId, out quest)) ? (-149263318) : (-149263324)); + break; + } + case 4: + { + int num22 = num9; + num = 1; + num2 = num22; + int num23 = num2 ^ num; + int num24 = num2 & num; + num9 = num23 + (num24 + num24); + num11 = -149263323; + break; + } + case 1: + { + int num19 = num10; + num = 1; + num2 = num19; + int num20 = num2 ^ num; + int num21 = num2 & num; + num10 = num20 + (num21 + num21); + num11 = -149263321; + break; + } + case 6: + num11 = -149263321; + break; + case 0: + { + int num18 = num7; + num = 1; + num2 = num18; + num7 = (num2 | num) + (num2 & num); + num11 = -149263318; + break; + } + case 8: + num11 = ((!_questFunctions.IsQuestComplete(current.QuestId)) ? (-149263321) : (-149263316)); + break; + case 3: + current = enumerator.Current; + num11 = (_questFunctions.IsQuestRemoved(current.QuestId) ? (-149263318) : (-149263313)); + break; + case 10: + num11 = (enumerator.MoveNext() ? (-149263314) : (-149263320)); + break; + case 7: + num11 = (_questFunctions.IsQuestUnobtainable(current.QuestId) ? (-149263323) : (-149263319)); + break; + case 5: + goto end_IL_00f5; + } + continue; + end_IL_00f5: + break; + } + } + _genreCounts[genre] = new JournalCounts(num7, num8, num9, num10); + int num25 = num6; + num = 1; + num2 = num25; + int num26 = num2 ^ num; + int num27 = num2 & num; + num6 = num26 + (num27 + num27); + } + num11 = -89365687; + while (true) + { + int num28 = num11; + num = -89365688; + num2 = num28; + switch ((num2 | num) - (num2 & num)) + { + case 2: + _refreshGenreIndex = -1; + AggregateCategoriesAndSections(); + RebuildFlatRows(); + _refreshDisplayIndex = 0; + num11 = -89365688; + break; + case 0: + return; + case 3: + num11 = -89365687; + break; + case 1: + _refreshGenreIndex = num5; + num11 = ((_refreshGenreIndex < genres.Count) ? (-89365688) : (-89365686)); + break; + } + } + } + if (_refreshDisplayIndex >= 0) + { + TickDisplayCache(); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void AggregateCategoriesAndSections() + { + _categoryCounts.Clear(); + _sectionCounts.Clear(); + using (List.Enumerator enumerator = _journalData.Categories.GetEnumerator()) + { + int num = -1263025259; + JournalData.Category current = default(JournalData.Category); + while (true) + { + int num2 = num; + int num3 = -1263025263; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + { + List genreCountsForCategory = GetGenreCountsForCategory(current); + 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[current] = new JournalCounts(available, total, obtainable, completed); + num = -1263025259; + break; + } + case 5: + current = enumerator.Current; + num = ((!_refreshHideSeasonal) ? (-1263025257) : (-1263025264)); + break; + case 3: + num = ((current.Id == _journalData.SeasonalEventsCategoryId.Value) ? (-1263025259) : (-1263025257)); + break; + case 4: + num = (enumerator.MoveNext() ? (-1263025260) : (-1263025261)); + break; + case 1: + num = ((!_journalData.SeasonalEventsCategoryId.HasValue) ? (-1263025257) : (-1263025262)); + break; + case 0: + num = -1263025259; + break; + case 2: + goto end_IL_0033; + } + continue; + end_IL_0033: + break; + } + } + using (List.Enumerator enumerator2 = _journalData.Sections.GetEnumerator()) + { + int num = 1128894241; + while (true) + { + int num5 = num; + int num3 = 1128894243; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1128894241; + break; + case 1: + { + JournalData.Section section = enumerator2.Current; + List source = (from x in _categoryCounts + where section.Categories.Contains(x.Key) + select x.Value).ToList(); + 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); + num = 1128894241; + break; + } + case 2: + num = (enumerator2.MoveNext() ? 1128894242 : 1128894243); + break; + case 0: + goto end_IL_0234; + } + continue; + end_IL_0234: + break; + } + } + int num6 = _sectionCounts.Values.Sum((JournalCounts x) => x.Total); + _200F_200F_206D_200C_206F_202A_206B_206B_200E_202B_200B_200F_202E_206E_206B_206C_202C_202B_200F_200F_206F_206D_200D_206F_206E_202C_202A_206E_202E_202B_200F_202E_200D_202E_206A_202D_200D_200E_200C_202E_202E((ILogger)_logger, global::_003CModule_003E._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(599122976), new object[4] { _sectionCounts.Count, _categoryCounts.Count, _genreCounts.Count, num6 }); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void TickDisplayCache() + { + List genres = _journalData.Genres; + int num = 0; + Vector4 completionColor = default(Vector4); + FontAwesomeIcon completionIcon = default(FontAwesomeIcon); + string completionText = default(string); + Quest quest = default(Quest); + IQuestInfo current = default(IQuestInfo); + List issues = default(List); + bool flag4 = default(bool); + bool flag = default(bool); + bool flag3 = default(bool); + Vector4 supportColor = default(Vector4); + FontAwesomeIcon supportIcon = default(FontAwesomeIcon); + QuestRoot root = default(QuestRoot); + while (true) + { + int num2 = ((_refreshDisplayIndex >= genres.Count) ? (-1946846845) : (-1946846848)); + while (true) + { + int num3 = num2; + int num4 = -1946846847; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -1946846848; + break; + case 3: + _refreshDisplayIndex = -1; + _200F_200F_206D_200C_206F_202A_206B_206B_200E_202B_200B_200F_202E_206E_206B_206C_202C_202B_200F_200F_206F_206D_200D_206F_206E_202C_202A_206E_202E_202B_200F_202E_200D_202E_206A_202D_200D_200E_200C_202E_202E((ILogger)_logger, global::_003CModule_003E._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(487344429), new object[1] { _displayCache.Count }); + num2 = -1946846843; + break; + case 4: + return; + case 2: + num2 = ((_refreshDisplayIndex < genres.Count) ? (-1946846843) : (-1946846846)); + break; + case 1: + if (num < 20) + { + using (List.Enumerator enumerator = genres[_refreshDisplayIndex].Quests.GetEnumerator()) + { + num2 = 469226274; + while (true) + { + int num6 = num2; + num4 = 469226282; + num5 = num6; + switch ((num5 | num4) - (num5 & num4)) + { + case 23: + completionColor = UiThemeUtils.StatusActive; + completionIcon = FontAwesomeIcon.PersonWalkingArrowRight; + completionText = global::_003CModule_003E._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(-1513339182); + num2 = 469226278; + break; + case 21: + completionColor = UiThemeUtils.StatusAvailableComplete; + completionIcon = FontAwesomeIcon.Running; + completionText = global::_003CModule_003E._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(-1067102916); + num2 = 469226278; + break; + case 8: + num2 = (enumerator.MoveNext() ? 469226284 : 469226272); + break; + case 9: + num2 = ((quest == null) ? 469226299 : 469226297); + break; + case 27: + num2 = 469226274; + break; + case 6: + current = enumerator.Current; + _questRegistry.TryGetQuest(current.QuestId, out quest); + num2 = ((!_questFunctions.IsQuestRemoved(current.QuestId)) ? 469226275 : 469226281); + break; + case 26: + num2 = ((!_questFunctions.IsQuestComplete(current.QuestId)) ? 469226300 : 469226286); + break; + case 11: + num2 = ((!_questFunctions.IsQuestAccepted(current.QuestId)) ? 469226288 : 469226301); + break; + case 2: + issues = _questValidator.GetIssues(EPathType.Quest, _206E_206F_200F_206B_206D_202E_202A_206D_202A_202A_202C_202B_202A_206C_200D_200B_200B_200B_206B_206D_206C_206E_202C_206A_200B_200F_206C_200C_200C_206E_202D_202B_200F_206F_206D_200F_200C_200C_202C_206E_202E((object)quest.Id)); + num2 = ((!issues.Any((ValidationIssue x) => x.Severity == EIssueSeverity.Error)) ? 469226302 : 469226279); + break; + case 28: + completionColor = UiThemeUtils.StatusAvailable; + completionIcon = FontAwesomeIcon.Running; + completionText = global::_003CModule_003E._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(1447021718); + num2 = 469226278; + break; + case 16: + num2 = ((!flag4) ? 469226276 : 469226292); + break; + case 22: + { + bool num7 = IsQuestExpired(current); + bool flag2 = _questFunctions.IsQuestUnobtainable(current.QuestId); + flag = _questFunctions.IsQuestBlacklisted(current.QuestId); + flag3 = _questFunctions.IsQuestLocked(current.QuestId); + flag4 = _questFunctions.IsReadyToAcceptQuest(current.QuestId); + num2 = ((!(num7 || flag2)) ? 469226277 : 469226296); + break; + } + case 17: + supportColor = UiThemeUtils.StatusLocked; + supportIcon = FontAwesomeIcon.Times; + num2 = 469226273; + break; + case 19: + root = quest.Root; + num2 = ((root == null) ? 469226299 : 469226287); + break; + case 20: + num2 = ((issues.Count <= 0) ? 469226285 : 469226293); + break; + case 13: + supportColor = UiThemeUtils.StatusLocked; + supportIcon = FontAwesomeIcon.ExclamationTriangle; + num2 = 469226273; + break; + case 4: + num2 = (current.IsRepeatable ? 469226282 : 469226295); + break; + case 24: + completionColor = UiThemeUtils.StatusBlacklisted; + completionIcon = FontAwesomeIcon.Ban; + completionText = global::_003CModule_003E._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(-833431314); + num2 = 469226278; + break; + case 29: + completionColor = UiThemeUtils.StatusComplete; + completionIcon = FontAwesomeIcon.Check; + completionText = global::_003CModule_003E._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(1552042899); + num2 = 469226278; + break; + case 1: + num2 = (flag3 ? 469226276 : 469226298); + break; + case 0: + { + bool num8 = _questFunctions.IsQuestLocked(current.QuestId); + bool flag5 = _questFunctions.IsReadyToAcceptQuest(current.QuestId); + bool num9 = !num8; + num4 = (flag5 ? 1 : 0); + num5 = (num9 ? 1 : 0); + num2 = (((num5 | num4) - (num5 ^ num4) == 0) ? 469226291 : 469226303); + break; + } + case 30: + num2 = (_questRegistry.IsKnownQuest(current.QuestId) ? 469226294 : 469226276); + break; + case 12: + _displayCache[current.QuestId] = new CachedQuestDisplay(supportColor, supportIcon, completionColor, completionIcon, completionText); + num2 = 469226274; + break; + case 7: + supportColor = UiThemeUtils.StatusComplete; + supportIcon = FontAwesomeIcon.Check; + num2 = 469226273; + break; + case 15: + num2 = ((!flag) ? 469226283 : 469226290); + break; + case 5: + num2 = (_206A_200F_200C_206C_200D_206A_206A_206D_200B_202B_202C_206F_200D_206A_206E_206D_206C_202C_206E_202C_200F_206B_200C_200B_200C_202B_206B_200E_206C_206A_206D_206C_202A_206E_206D_202E_200B_200C_200E_202A_202E(root) ? 469226299 : 469226280); + break; + case 31: + supportColor = UiThemeUtils.StatusAvailableComplete; + supportIcon = FontAwesomeIcon.InfoCircle; + num2 = 469226273; + break; + case 14: + completionColor = UiThemeUtils.StatusLocked; + completionIcon = FontAwesomeIcon.Times; + completionText = global::_003CModule_003E._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(-438595986); + num2 = 469226278; + break; + case 18: + completionColor = UiThemeUtils.StatusUnobtainable; + completionIcon = FontAwesomeIcon.Minus; + completionText = global::_003CModule_003E._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(980281712); + num2 = 469226278; + break; + case 3: + supportColor = UiThemeUtils.StatusUnobtainable; + supportIcon = FontAwesomeIcon.Minus; + num2 = 469226273; + break; + case 25: + completionColor = UiThemeUtils.StatusComplete; + completionIcon = FontAwesomeIcon.Check; + completionText = global::_003CModule_003E._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(-636720262); + num2 = 469226278; + break; + case 10: + goto end_IL_0036; + } + continue; + end_IL_0036: + break; + } + } + int refreshDisplayIndex = _refreshDisplayIndex; + num4 = 1; + num5 = refreshDisplayIndex; + _refreshDisplayIndex = (num5 | num4) + (num5 & num4); + int num10 = num; + num4 = 1; + num5 = num10; + int num11 = num5 ^ num4; + int num12 = num5 & num4; + num = num11 + (num12 + num12); + goto end_IL_0660; + } + num2 = -1946846845; + break; + } + continue; + end_IL_0660: + break; + } + } + } + + private List GetGenreCountsForCategory(JournalData.Category category) + { + List list = new List(category.Genres.Count); + IEnumerator enumerator = category.Genres.GetEnumerator(); + try + { + int num = 1867662392; + JournalCounts value = default(JournalCounts); + while (true) + { + int num2 = num; + int num3 = 1867662394; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = (_200F_206A_202C_200C_206F_202A_202B_202C_200F_206C_200F_202A_200B_206F_202D_200B_206D_206D_200D_200E_202C_206A_202D_200C_202A_206F_200E_206E_206D_200F_206C_200B_202C_200F_206A_206E_206A_202D_202B_200F_202E((IEnumerator)enumerator) ? 1867662395 : 1867662393); + break; + case 1: + { + JournalData.Genre current = enumerator.Current; + num = ((!_genreCounts.TryGetValue(current, out value)) ? 1867662392 : 1867662394); + break; + } + case 4: + num = 1867662392; + break; + case 0: + list.Add(value); + num = 1867662392; + break; + case 3: + return list; + } + } + } + finally + { + int num = ((enumerator == null) ? 1104193695 : 1104193694); + while (true) + { + int num7 = num; + int num3 = 1104193695; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1104193694; + break; + case 1: + _200E_206C_200C_206A_206A_206E_200E_202C_206E_202B_202B_206D_202C_206B_206D_206D_206C_200B_206A_202A_206D_202C_202B_206E_202D_200F_206A_200F_202C_202C_202C_202C_200D_200B_206B_202D_206B_202E_200E_202D_202E((IDisposable)enumerator); + num = 1104193695; + break; + case 0: + goto end_IL_00f6; + } + continue; + end_IL_00f6: + break; + } + } } internal void ClearCounts(int type, int code) { - foreach (KeyValuePair item in _genreCounts.ToList()) + _refreshGenreIndex = -1; + _refreshDisplayIndex = -1; + using (List>.Enumerator enumerator = _genreCounts.ToList().GetEnumerator()) { - _genreCounts[item.Key] = item.Value with + int num = -78639595; + while (true) { - Completed = 0 - }; + int num2 = num; + int num3 = -78639595; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -78639595; + break; + case 1: + { + KeyValuePair current = enumerator.Current; + _genreCounts[current.Key] = new JournalCounts(current.Value.Available, current.Value.Total, current.Value.Obtainable, 0); + num = -78639595; + break; + } + case 0: + num = (enumerator.MoveNext() ? (-78639596) : (-78639594)); + break; + case 3: + goto end_IL_002b; + } + continue; + end_IL_002b: + break; + } } - foreach (KeyValuePair item2 in _categoryCounts.ToList()) + using (List>.Enumerator enumerator2 = _categoryCounts.ToList().GetEnumerator()) { - _categoryCounts[item2.Key] = item2.Value with + int num = 540818768; + while (true) { - Completed = 0 - }; + int num5 = num; + int num3 = 540818771; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 540818768; + break; + case 3: + num = (enumerator2.MoveNext() ? 540818770 : 540818771); + break; + case 1: + { + KeyValuePair current2 = enumerator2.Current; + _categoryCounts[current2.Key] = new JournalCounts(current2.Value.Available, current2.Value.Total, current2.Value.Obtainable, 0); + num = 540818768; + break; + } + case 0: + goto end_IL_010b; + } + continue; + end_IL_010b: + break; + } } - foreach (KeyValuePair item3 in _sectionCounts.ToList()) + using (List>.Enumerator enumerator3 = _sectionCounts.ToList().GetEnumerator()) { - _sectionCounts[item3.Key] = item3.Value with + int num = -769681140; + while (true) { - Completed = 0 - }; + int num6 = num; + int num3 = -769681140; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -769681140; + break; + case 1: + { + KeyValuePair current3 = enumerator3.Current; + _sectionCounts[current3.Key] = new JournalCounts(current3.Value.Available, current3.Value.Total, current3.Value.Obtainable, 0); + num = -769681140; + break; + } + case 0: + num = (enumerator3.MoveNext() ? (-769681139) : (-769681137)); + break; + case 3: + goto end_IL_01ec; + } + continue; + end_IL_01ec: + break; + } } + _displayCache.Clear(); + RebuildFlatRows(); } private static bool IsCategorySectionGenreMatch(FilterConfiguration filter, string name) { - if (!string.IsNullOrEmpty(filter.SearchText)) + int num = (_202D_200D_202B_206F_200B_206D_202A_202E_206A_202B_206E_202B_200D_206D_206F_200D_202C_200F_206A_206A_200C_206D_202A_202A_200C_206C_206A_202A_202D_206D_206B_202E_200D_202E_202C_202C_206A_206D_206D_200C_202E(filter.SearchText) ? (-1656748562) : (-1656748563)); + while (true) { - return name.Contains(filter.SearchText, StringComparison.CurrentCultureIgnoreCase); + int num2 = num; + int num3 = -1656748561; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004b; + case 2: + return _206F_206F_202A_206C_200B_200E_206D_206C_206C_200E_206B_202B_206B_206D_206A_206D_202E_206A_202A_200F_206F_202E_200F_206E_206C_200B_206D_200E_206F_206D_202B_202D_202D_206D_200E_206D_206E_202A_206A_206D_202E(name, filter.SearchText, StringComparison.CurrentCultureIgnoreCase); + case 1: + return true; + } + continue; + IL_004b: + num = -1656748563; } - return true; } private bool IsQuestMatch(FilterConfiguration filter, IQuestInfo questInfo) { - if (!string.IsNullOrEmpty(filter.SearchText) && !questInfo.Name.Contains(filter.SearchText, StringComparison.CurrentCultureIgnoreCase) && !(questInfo.QuestId.ToString() == filter.SearchText)) + int num = (_202D_200D_202B_206F_200B_206D_202A_202E_206A_202B_206E_202B_200D_206D_206F_200D_202C_200F_206A_206A_200C_206D_202A_202A_200C_206C_206A_202A_202D_206D_206B_202E_200D_202E_202C_202C_206A_206D_206D_200C_202E(filter.SearchText) ? 635265476 : 635265485); + Quest quest = default(Quest); + while (true) { - return false; + int num2 = num; + int num3 = 635265480; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((!_206A_200F_200C_206C_200D_206A_206A_206D_200B_202B_202C_206F_200D_206A_206E_206D_206C_202C_206E_202C_200F_206B_200C_200B_200C_202B_206B_200E_206C_206A_206D_206C_202A_206E_206D_202E_200B_200C_200E_202A_202E(quest.Root)) ? 635265480 : 635265477); + break; + case 4: + num = ((!filter.HideNoPaths) ? 635265480 : 635265473); + break; + case 9: + num = ((!_questRegistry.TryGetQuest(questInfo.QuestId, out quest)) ? 635265477 : 635265481); + break; + case 2: + num = (_202E_202B_202A_202C_200C_200B_206C_202A_200D_206F_206E_206B_200F_202A_200B_202C_200B_206B_206C_202B_202A_206B_206A_206A_200B_206A_202D_200E_206F_200F_200C_202A_206A_200B_206E_200F_202C_206E_202E(_206E_206F_200F_206B_206D_202E_202A_206D_202A_202A_202C_202B_202A_206C_200D_200B_200B_200B_206B_206D_206C_206E_202C_206A_200B_200F_206C_200C_200C_206E_202D_202B_200F_206F_206D_200F_200C_200C_202C_206E_202E((object)questInfo.QuestId), filter.SearchText) ? 635265476 : 635265474); + break; + case 8: + num = (_questFunctions.IsReadyToAcceptQuest(questInfo.QuestId) ? 635265484 : 635265475); + break; + case 5: + num = (_206F_206F_202A_206C_200B_200E_206D_206C_206C_200E_206B_202B_206B_206D_206A_206D_202E_206A_202A_200F_206F_202E_200F_206E_206C_200B_206D_200E_206F_206D_202B_202D_202D_206D_200E_206D_206E_202A_206A_206D_202E(questInfo.Name, filter.SearchText, StringComparison.CurrentCultureIgnoreCase) ? 635265476 : 635265482); + break; + case 6: + num = 635265485; + break; + case 7: + num = ((!_questFunctions.IsQuestUnobtainable(questInfo.QuestId)) ? 635265483 : 635265478); + break; + case 11: + return false; + case 13: + return false; + case 10: + return false; + case 0: + num = ((!filter.HideUnobtainable) ? 635265483 : 635265487); + break; + case 14: + return false; + case 3: + return true; + case 12: + num = ((!filter.AvailableOnly) ? 635265484 : 635265472); + break; + } } - if (filter.AvailableOnly && !_questFunctions.IsReadyToAcceptQuest(questInfo.QuestId)) - { - return false; - } - if (filter.HideNoPaths && (!_questRegistry.TryGetQuest(questInfo.QuestId, out Quest quest) || quest.Root.Disabled)) - { - return false; - } - if (filter.HideUnobtainable && _questFunctions.IsQuestUnobtainable(questInfo.QuestId)) - { - return false; - } - return true; } private static bool IsSeasonal(IQuestInfo q) { - if (q == null) + int num = ((!q.IsSeasonalQuest) ? (-2078706913) : (-2078706919)); + UnlockLinkQuestInfo unlockLinkQuestInfo = default(UnlockLinkQuestInfo); + while (true) { - return false; + int num2 = num; + int num3 = -2078706918; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return false; + case 5: + num = ((!q.SeasonalQuestExpiry.HasValue) ? (-2078706915) : (-2078706917)); + break; + case 7: + unlockLinkQuestInfo = q as UnlockLinkQuestInfo; + num = ((unlockLinkQuestInfo == null) ? (-2078706920) : (-2078706916)); + break; + case 6: + num = ((!unlockLinkQuestInfo.QuestExpiry.HasValue) ? (-2078706920) : (-2078706918)); + break; + case 0: + return true; + case 4: + num = -2078706919; + break; + case 3: + return true; + case 1: + return true; + } } - if (q.IsSeasonalQuest) - { - return true; - } - if (q.SeasonalQuestExpiry.HasValue) - { - return true; - } - if (q is UnlockLinkQuestInfo { QuestExpiry: not null }) - { - return true; - } - return false; + } + + static void _200F_200F_206D_200C_206F_202A_206B_206B_200E_202B_200B_200F_202E_206E_206B_206C_202C_202B_200F_200F_206F_206D_200D_206F_206E_202C_202A_206E_202E_202B_200F_202E_200D_202E_206A_202D_200D_200E_200C_202E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _202C_200D_202B_200D_206B_200E_206D_202B_202C_206C_202D_200E_202B_206E_202A_206A_206E_202A_206C_206D_206C_206B_202A_206E_206F_202A_200C_206B_202A_206A_200F_206E_202A_206A_202E_200C_200C_200F_200E_200C_202E() + { + ImGui.SameLine(); + } + + static void _200B_200B_200F_202A_200E_200D_200F_202E_202B_202C_206D_200B_206B_202B_200C_200C_206A_206D_202A_206A_206E_206A_206F_206C_202E_206D_202C_202D_202E_202D_206A_206B_206A_200B_200F_206C_206E_206C_200C_206E_202E() + { + ImGui.Separator(); + } + + static void _206F_202B_202E_202C_206A_206C_202A_206B_206A_200F_202A_206C_202C_206D_200E_206E_202D_202D_202D_202E_206C_202C_206B_206D_200F_202E_202B_206A_200E_206D_206A_206D_202D_206B_206A_202A_200D_206E_206D_202E_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static IUiBuilder _206E_206B_206E_202B_202B_206B_206A_200D_206F_200E_202B_200F_206F_206B_200F_202B_200C_202C_202C_202B_202D_206C_200F_202D_200F_206E_202D_206A_206D_200E_202B_200E_200D_200F_206D_206A_206F_206D_202B_202B_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _206A_202A_202E_202E_206E_200F_206D_202A_206D_200C_206A_202E_200F_200D_202D_206A_206A_202C_206C_202E_202C_200B_202E_202E_200D_206A_202B_206F_206A_200D_206C_200F_206F_200F_200F_206F_206E_200D_200E_202C_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _202B_200D_200E_206A_202D_202B_206D_202C_206E_206D_202E_200B_206F_206A_202D_206A_200B_202D_202A_202E_206B_200F_202C_206E_202A_206D_200D_202B_202E_200F_200C_200D_202D_206A_206A_200E_202A_202C_202E_200C_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static string _206C_200F_206D_202A_206D_206F_206A_206A_202A_202A_202A_206B_202C_200F_206F_206E_200D_200B_202A_200E_202D_206D_206B_202B_200B_200F_206A_206F_200F_206D_200E_202E_202C_200B_200E_202A_202A_200B_200C_200F_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _200E_200D_200C_200E_202C_206A_200C_202B_202A_206E_206F_206C_206A_200D_202D_202D_206E_202D_200C_206F_202D_202A_202A_202E_206E_200E_200D_202B_206B_200B_200F_206B_206E_206B_200D_202D_202E_206A_200E_206E_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static void _200E_206C_200C_206A_206A_206E_200E_202C_206E_202B_202B_206D_202C_206B_206D_206D_206C_200B_206A_202A_206D_202C_202B_206E_202D_200F_206A_200F_202C_202C_202C_202C_200D_200B_206B_202D_206B_202E_200E_202D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ImGuiIOPtr _206D_206F_202D_202B_200C_206A_206C_206E_202D_202D_206E_200E_200E_202E_202A_202A_202D_206A_200B_206A_206F_202B_200D_202D_200F_202B_202B_202E_202D_206B_206A_200F_200F_200F_200E_202D_206A_206F_202D_202E_202E() + { + return ImGui.GetIO(); + } + + static void _200D_202D_202C_206E_202C_200B_202C_202A_206D_200D_206F_200B_202C_206F_200B_200B_200E_200B_202B_206A_200E_206C_200D_206A_200B_202B_200E_206B_202E_202A_200C_200F_206C_206B_202C_206C_200D_206C_206F_200C_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static void _206E_202C_206D_200F_200F_202C_206C_206B_206B_206B_200C_202B_200D_206D_206A_206D_206E_200C_202B_206A_200D_200C_202E_200B_206E_206D_200F_202D_200F_200C_200E_206E_206E_206C_202B_206E_206A_202A_202E_200E_202E() + { + ImGui.TableHeadersRow(); + } + + static float _202D_200D_206D_206F_202A_206E_202D_200C_200D_200F_200F_200E_202B_206A_200C_206A_200D_200C_200D_202E_206E_200D_202A_200E_202A_206C_200B_200C_200C_200B_206C_200E_200C_206A_200E_202C_206F_202B_200B_206D_202E() + { + return ImGui.GetTextLineHeightWithSpacing(); + } + + unsafe static ImGuiListClipper* _200D_200E_202E_202B_206A_202A_206B_200D_200B_202A_200C_206F_206A_206D_206D_202B_200D_206D_200C_206F_202D_200F_206A_206A_206E_202E_200C_200C_202A_206A_206E_206E_202A_200C_206E_200E_202C_202C_200E_206E_202E() + { + return ImGuiNative.ImGuiListClipper(); + } + + unsafe static void _202C_202E_200B_206A_200D_200F_200F_200F_200C_202A_202A_200E_200E_200F_202A_202B_202D_206E_202A_200C_206B_200F_206E_200E_202A_200D_206A_202E_202E_202D_206A_202A_200E_200E_200B_206F_202D_202E_206A_202B_202E(ImGuiListClipper* P_0, int P_1, float P_2) + { + ImGuiNative.Begin(P_0, P_1, P_2); + } + + static void _200F_206F_200C_202D_206D_200C_202E_200D_206A_206D_202A_206D_206B_206E_206B_202C_206E_202E_202E_202D_206D_200D_202A_202C_200D_206A_206C_206A_202A_200E_200C_200C_206D_206B_200F_206E_206C_200C_202B_202E() + { + ImGui.TableNextRow(); + } + + static bool _206A_200E_206E_202D_206A_200F_206D_202D_200B_202B_206F_206A_206D_202C_202B_200F_206A_202D_206E_200B_206A_206D_202C_206B_200D_200E_200C_202E_200D_206E_202C_206D_202C_206F_206B_200D_200B_202B_206D_202B_202E() + { + return ImGui.TableNextColumn(); + } + + static ImGuiStylePtr _206D_206E_200D_202D_206B_200F_202C_200B_200E_206C_206B_200C_202D_202A_206A_206F_206A_206E_206A_206A_200B_200B_202C_206D_200C_206F_202B_202E_200B_200E_206A_206A_202E_200C_200E_206D_206C_206E_202D_202B_202E() + { + return ImGui.GetStyle(); + } + + static float _200C_206B_206F_206E_200D_206D_202C_200D_200D_200E_200F_202A_200B_206F_202A_206A_206D_200F_200E_200F_200D_206E_206C_206D_206B_206F_202D_202E_200D_206F_200C_206F_202B_206C_202C_202E_206F_206E_206B_206C_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _206D_200D_206E_206C_206A_206B_200C_200C_200B_202A_206B_200E_202B_200B_202D_200D_202A_206F_200E_202E_206F_200C_206F_202E_206A_202A_206B_206A_202E_200F_200C_206E_206A_206E_206F_206B_200E_202D_202A_200E_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static bool _206B_206E_202C_200C_202C_200C_202E_202B_206C_206C_206D_202C_200E_202B_200F_202A_206E_206F_200B_200E_206E_206C_202D_200B_202A_202D_200C_206C_206C_200D_206F_206C_202D_200E_206D_206F_200D_202D_202A_200D_202E(ImU8String P_0, bool P_1, ImGuiSelectableFlags P_2, Vector2 P_3) + { + return ImGui.Selectable(P_0, P_1, P_2, P_3); + } + + static ImFontPtr _202C_202A_206C_200D_202A_206F_206B_202D_202E_202C_200D_202C_202B_202D_202A_200E_206B_200C_206D_206F_202B_200C_206C_200F_200B_200E_200D_202B_202D_202E_202E_206A_202B_200F_202C_200F_202B_202D_202B_202E() + { + return UiBuilder.MonoFont; + } + + static void _206F_206F_206D_202C_202D_200C_202A_200E_206B_206C_200D_206A_200E_202A_206E_202D_206B_202A_202D_206C_206A_200D_200C_206E_200C_206B_206C_202B_200F_202A_202D_200D_200E_202B_206B_200C_200D_202E_202D_200D_202E(ImFontPtr P_0) + { + ImGui.PushFont(P_0); + } + + static Vector4 _206D_200F_202D_202A_200E_206C_202B_202D_202D_206F_202E_206D_206B_202A_202E_200B_202B_206B_206A_206F_200B_202B_202E_202B_202B_206B_200D_202E_202D_206C_206F_202C_202A_206D_200E_202E_200D_200B_202E_202D_202E(EExpansionVersion P_0) + { + return P_0.GetExpansionColor(); + } + + static void _206F_202B_206B_206F_200E_206A_200D_202B_202C_206C_200E_200E_200B_200E_200E_206B_206F_206A_202D_206B_206C_206F_200B_200B_202A_206A_202D_202C_206D_202E_206E_202B_200B_206B_202E_202A_206E_206F_200B_202E_202E(ImGuiCol P_0, Vector4 P_1) + { + ImGui.PushStyleColor(P_0, P_1); + } + + static string _206F_200D_202C_202E_206B_200F_200B_200F_206D_206A_200B_202B_202A_200E_202B_200B_202D_200C_200C_206C_200C_202E_206B_202B_200C_206C_202E_206F_202D_206D_202B_200C_206D_200D_202A_200C_200F_202D_206B_206C_202E(EExpansionVersion P_0) + { + return P_0.ToAbbreviation(); + } + + static string _206A_200E_206F_206A_200D_200F_206F_200C_206D_206A_206F_206B_206A_206F_202D_200E_200B_206F_206E_202D_200F_202D_202E_206B_200D_200D_200F_202B_200C_200C_200E_200D_202B_200D_206A_202E_206F_202E_200E_200D_202E(string P_0, int P_1) + { + return P_0.PadRight(P_1); + } + + static void _202B_202D_206F_206E_202C_200F_200D_202D_206E_206C_206C_200F_200C_202C_202A_206B_202E_202B_206E_200F_200B_206F_200E_206E_202C_200B_202E_202E_206E_206D_206F_206D_200D_206F_200B_202E_206E_206D_206D_206F_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _202A_200E_202B_200F_202B_202E_200C_202B_202D_202B_206A_200B_206F_206D_202C_206A_202E_206C_206D_206A_200D_200E_200D_202D_206D_200E_206C_206D_206E_206C_200F_200D_206C_206E_202E_200D_206E_206E_202A_202B_202E() + { + ImGui.PopStyleColor(); + } + + static void _202D_200C_202B_200E_200E_206E_200B_206B_200F_202D_200D_206D_206D_200B_200F_206F_206C_206B_202C_200E_200E_206B_202E_200C_200E_206F_200E_206E_200C_206B_202A_200E_200F_200B_206D_206D_200E_200F_202A_206D_202E() + { + ImGui.PopFont(); + } + + static bool _206E_202C_202B_200E_200E_200E_206D_202A_200B_200F_200D_206B_200D_200B_200D_206E_206C_206A_206E_200D_206A_202A_202B_206F_202B_206A_202C_206C_200D_202A_202A_202B_202D_206E_200D_202E_200E_202C_206E_200C_202E() + { + return ImGui.IsItemHovered(); + } + + static bool _200F_200D_200E_202B_206C_206B_200F_200E_200F_200D_202B_202C_206D_206C_200E_200C_200D_200F_200D_206A_202D_206A_206F_202D_200E_206A_206C_200D_202C_200B_206B_206E_200E_202A_200D_200F_202D_202D_200B_200C_202E(ImU8String P_0, ImGuiTreeNodeFlags P_1, ImU8String P_2) + { + return ImGui.TreeNodeEx(P_0, P_1, P_2); + } + + static void _202E_206D_202B_206A_206E_200D_206D_202B_200F_202C_200C_200F_206E_200E_200F_202C_206E_206F_206C_206E_202D_206E_200F_200D_206D_202B_206B_202E_200C_200D_200C_200B_202B_202B_200E_202C_200D_206C_200E_202B_202E() + { + ImGui.BeginTooltip(); + } + + static string _202D_206E_200E_202E_206E_206B_206D_202B_200F_202E_206D_206F_206D_200D_206A_200B_202B_202C_200B_200C_200C_206A_206C_206E_200D_206D_206C_200F_202D_200B_200E_202C_206E_200E_206F_206C_206B_200C_200E_202C_202E(EExpansionVersion P_0) + { + return P_0.ToFriendlyString(); + } + + static void _202B_206A_202C_200F_206C_206A_202C_202D_200B_202C_202C_202B_202B_200F_206F_206A_202A_202D_200F_202C_202D_200D_206A_206D_206C_202B_200D_202D_206E_202E_206B_206E_202C_206D_206E_200F_202B_200D_202D_202B_202E() + { + ImGui.EndTooltip(); + } + + static float _202D_206E_202E_200E_202E_202A_200B_200B_206D_202D_206C_200F_206D_200D_202B_202C_200D_200B_200F_200E_202E_202A_206B_202A_202B_206D_200B_200C_202C_200F_200F_202B_206F_206A_202C_206B_206A_206D_206C_200F_202E() + { + return ImGui.GetColumnWidth(); + } + + static int _206E_206D_202A_202C_206E_200F_202B_200C_200C_202C_206B_202B_200D_202E_200C_200B_200E_206F_202D_206F_200E_202A_200B_200E_200E_202A_202B_202E_200B_202C_200D_200D_202A_202B_202C_200D_202E_206A_206F_206F_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static bool _206A_200F_200C_206C_200D_206A_206A_206D_200B_202B_202C_206F_200D_206A_206E_206D_206C_202C_206E_202C_200F_206B_200C_200B_200C_202B_206B_200E_206C_206A_206D_206C_202A_206E_206D_202E_200B_200C_200E_202A_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static string _206E_206F_200F_206B_206D_202E_202A_206D_202A_202A_202C_202B_202A_206C_200D_200B_200B_200B_206B_206D_206C_206E_202C_206A_200B_200F_206C_200C_200C_206E_202D_202B_200F_206F_206D_200F_200C_200C_202C_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _200F_206A_202C_200C_206F_202A_202B_202C_200F_206C_200F_202A_200B_206F_202D_200B_206D_206D_200D_200E_202C_206A_202D_200C_202A_206F_200E_206E_206D_200F_206C_200B_202C_200F_206A_206E_206A_202D_202B_200F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static bool _202D_200D_202B_206F_200B_206D_202A_202E_206A_202B_206E_202B_200D_206D_206F_200D_202C_200F_206A_206A_200C_206D_202A_202A_200C_206C_206A_202A_202D_206D_206B_202E_200D_202E_202C_202C_206A_206D_206D_200C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _206F_206F_202A_206C_200B_200E_206D_206C_206C_200E_206B_202B_206B_206D_206A_206D_202E_206A_202A_200F_206F_202E_200F_206E_206C_200B_206D_200E_206F_206D_202B_202D_202D_206D_200E_206D_206E_202A_206A_206D_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static bool _202E_202B_202A_202C_200C_200B_206C_202A_200D_206F_206E_206B_200F_202A_200B_202C_200B_206B_206C_202B_202A_206B_206A_206A_200B_206A_202D_200E_206F_200F_200C_202A_206A_200B_206E_200F_202C_206E_202E(string P_0, string P_1) + { + return P_0 == P_1; } } diff --git a/Questionable/Questionable.Windows.JournalComponents/QuestJournalUtils.cs b/Questionable/Questionable.Windows.JournalComponents/QuestJournalUtils.cs index 0f97b39b..3b61c6d5 100644 --- a/Questionable/Questionable.Windows.JournalComponents/QuestJournalUtils.cs +++ b/Questionable/Questionable.Windows.JournalComponents/QuestJournalUtils.cs @@ -1,8 +1,10 @@ +using System; using System.Collections.Generic; +using System.Collections.Immutable; using System.Linq; +using System.Runtime.CompilerServices; 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; @@ -17,287 +19,1161 @@ namespace Questionable.Windows.JournalComponents; internal sealed class QuestJournalUtils { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass17_0 + { + public QuestJournalUtils _003C_003E4__this; + + public IQuestInfo questInfo; + + internal unsafe bool _003CGetIncompletePrerequisiteQuests_003Eb__0(ElementId qId) + { + IQuestInfo questInfo; + int num = (_003C_003E4__this._questData.TryGetQuestInfo(qId, out questInfo) ? 953970550 : 953970544); + QuestId questId = default(QuestId); + while (true) + { + int num2 = num; + int num3 = 953970550; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + return true; + case 6: + return false; + case 2: + return false; + case 5: + num = 953970544; + break; + case 8: + questId = qId as QuestId; + num = (((object)questId == null) ? 953970551 : 953970546); + break; + case 3: + return false; + case 0: + num = ((!questInfo.IsRepeatable) ? 953970551 : 953970558); + break; + case 4: + num = ((!QuestManager.Instance()->IsDailyQuestCompleted(_206C_200C_206B_202A_202C_202A_200C_202C_200D_206E_200B_206F_202C_200D_200C_200E_206B_206E_200C_206B_206B_202B_206D_200B_206E_200E_200F_202D_206F_202C_206C_206F_200E_206D_206C_202E_200D_200F_202C_202B_202E((ElementId)questId))) ? 953970545 : 953970548); + break; + case 1: + num = ((!_003C_003E4__this._questFunctions.IsQuestComplete(qId)) ? 953970545 : 953970549); + break; + } + } + } + + internal bool _003CGetIncompletePrerequisiteQuests_003Eb__1(ElementId qId) + { + return !_003C_003E4__this._questFunctions.IsQuestUnobtainable(qId); + } + + internal bool _003CGetIncompletePrerequisiteQuests_003Eb__2(ElementId qId) + { + return _003C_003E4__this._questRegistry.IsKnownQuest(qId); + } + + internal bool _003CGetIncompletePrerequisiteQuests_003Eb__3(ElementId qId) + { + Quest quest; + int num = ((!_003C_003E4__this._questRegistry.TryGetQuest(qId, out quest)) ? 2035464301 : 2035464302); + while (true) + { + int num2 = num; + int num3 = 2035464300; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return false; + case 1: + return true; + case 0: + num = 2035464302; + break; + case 2: + num = ((!_200D_200C_202C_200C_200D_206B_206B_200D_206D_202C_206E_202E_200F_202E_200E_206C_206E_200C_206B_200D_202C_202A_200F_200E_202A_200C_200E_200C_202A_206C_200E_206A_202D_200D_200B_206B_202A_206F_200C_200E_202E(quest.Root)) ? 2035464301 : 2035464303); + break; + } + } + } + + internal bool _003CGetIncompletePrerequisiteQuests_003Eb__4(ElementId qId) + { + _003C_003Ec__DisplayClass17_1 CS_0024_003C_003E8__locals1 = new _003C_003Ec__DisplayClass17_1 + { + qId = qId + }; + return !_003C_003E4__this._questController.ManualPriorityQuests.Any((Quest q) => _003C_003Ec__DisplayClass17_1._200D_206D_200F_202D_200B_202D_200B_206D_202A_200C_200F_206E_200B_200E_202E_200B_200E_200D_206D_202E_206F_202E_206C_206C_202D_206D_206D_206E_206C_200F_200B_206A_200F_202E_202D_200C_202C_206C_202A_206C_202E(q.Id, CS_0024_003C_003E8__locals1.qId)); + } + + internal bool _003CGetIncompletePrerequisiteQuests_003Eb__5(Quest q) + { + return _202A_202C_202E_200D_206F_202A_206E_206B_200F_202A_202E_206C_206A_206F_202D_202A_200F_206B_206B_206D_202D_206D_206D_206A_200D_200E_200D_206F_200B_202A_206C_202A_206C_206B_200F_200B_200E_202B_202C_200D_202E(q.Id, questInfo.QuestId); + } + + static ushort _206C_200C_206B_202A_202C_202A_200C_202C_200D_206E_200B_206F_202C_200D_200C_200E_206B_206E_200C_206B_206B_202B_206D_200B_206E_200E_200F_202D_206F_202C_206C_206F_200E_206D_206C_202E_200D_200F_202C_202B_202E(ElementId P_0) + { + return P_0.Value; + } + + static bool _200D_200C_202C_200C_200D_206B_206B_200D_206D_202C_206E_202E_200F_202E_200E_206C_206E_200C_206B_200D_202C_202A_200F_200E_202A_200C_200E_200C_202A_206C_200E_206A_202D_200D_200B_206B_202A_206F_200C_200E_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static bool _202A_202C_202E_200D_206F_202A_206E_206B_200F_202A_202E_206C_206A_206F_202D_202A_200F_206B_206B_206D_202D_206D_206D_206A_200D_200E_200D_206F_200B_202A_206C_202A_206C_206B_200F_200B_200E_202B_202C_200D_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass17_1 + { + public ElementId qId; + + internal bool _003CGetIncompletePrerequisiteQuests_003Eb__6(Quest q) + { + return _200D_206D_200F_202D_200B_202D_200B_206D_202A_200C_200F_206E_200B_200E_202E_200B_200E_200D_206D_202E_206F_202E_206C_206C_202D_206D_206D_206E_206C_200F_200B_206A_200F_202E_202D_200C_202C_206C_202A_206C_202E(q.Id, qId); + } + + static bool _200D_206D_200F_202D_200B_202D_200B_206D_202A_200C_200F_206E_200B_200E_202E_200B_200E_200D_206D_202E_206F_202E_206C_206C_202D_206D_206D_206E_206C_200F_200B_206A_200F_202E_202D_200C_202C_206C_202A_206C_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass20_0 + { + public Quest quest; + + internal bool _003CAddAllAvailableQuests_003Eb__1(Quest q) + { + return _200F_200F_200B_206D_200E_206F_206B_200E_206E_206F_200D_206B_202B_202C_206B_206B_202E_206B_200D_202D_202E_200D_200B_200D_206E_200D_202B_200B_202E_200E_200B_200F_202B_206F_200F_202D_200E_202A_206F_202C_202E(q.Id, quest.Id); + } + + static bool _200F_200F_200B_206D_200E_206F_206B_200E_206E_206F_200D_206B_202B_202C_206B_206B_202E_206B_200D_202D_202E_200D_200B_200D_206E_200D_202B_200B_202E_200E_200B_200F_202B_206F_200F_202D_200E_202A_206F_202C_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + 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; } public void ShowContextMenu(IQuestInfo questInfo, Quest? quest, string label) { - if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) + int num = ((!_200E_202B_200D_206B_200D_200D_206E_200D_206E_200E_206A_206C_206D_202D_206E_206D_202E_202A_206D_202E_200F_202E_200C_200B_206A_200E_202B_200C_206B_200C_200D_206A_200F_200F_206E_202A_202C_200D_206C_202D_202E(ImGuiMouseButton.Right)) ? (-208587597) : (-208587598)); + while (true) { - ImU8String strId = new ImU8String(12, 1); - strId.AppendLiteral("##QuestPopup"); - strId.AppendFormatted(questInfo.QuestId); - ImGui.OpenPopup(strId); - } - ImU8String id = new ImU8String(12, 1); - id.AppendLiteral("##QuestPopup"); - id.AppendFormatted(questInfo.QuestId); - using ImRaii.PopupDisposable popupDisposable = ImRaii.Popup(id); - if (!popupDisposable) - { - return; - } - using (ImRaii.Disabled(!_questFunctions.IsReadyToAcceptQuest(questInfo.QuestId) || quest == null || quest.Root.Disabled)) - { - if (ImGui.MenuItem("Start as next quest")) + int num2 = num; + int num3 = -208587597; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - _questController.SetNextQuest(quest); - _questController.Start(label); - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - if (!_questFunctions.IsReadyToAcceptQuest(questInfo.QuestId)) - { - ImGui.SetTooltip("Quest is not ready to accept"); - } - else if (quest == null) - { - ImGui.SetTooltip("Quest has no path available"); - } - else if (quest.Root.Disabled) - { - ImGui.SetTooltip("Quest path is disabled"); - } - } - List incompletePrerequisiteQuests = GetIncompletePrerequisiteQuests(questInfo); - using (ImRaii.Disabled(incompletePrerequisiteQuests.Count == 0)) - { - if (ImGui.MenuItem(incompletePrerequisiteQuests.Count switch - { - 0 => "Add quest and requirements to priority", - 1 => "Add 1 quest to priority", - _ => $"Add {incompletePrerequisiteQuests.Count} quests to priority", - })) - { - AddRequiredQuestsToPriority(questInfo, incompletePrerequisiteQuests); - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - if (incompletePrerequisiteQuests.Count == 0) - { - ImGui.SetTooltip("No quests to add (quest may be complete, disabled, locked with no unlock path, or already in priority)"); - } - else - { - 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 (ImGui.MenuItem("View in Quest Map")) - { - _commandManager.ProcessCommand($"/questinfo {questInfo.QuestId}"); + case 2: + num = -208587598; + break; + case 1: + OpenContextMenu(questInfo); + num = -208587597; + break; + case 0: + DrawContextMenu(questInfo, quest, label); + return; } } } - private unsafe List GetIncompletePrerequisiteQuests(IQuestInfo questInfo) + [MethodImpl(MethodImplOptions.NoInlining)] + public void OpenContextMenu(IQuestInfo questInfo) + { + ImU8String imU8String = new ImU8String(12, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(324267625)); + imU8String.AppendFormatted(questInfo.QuestId); + _200E_206D_202E_206F_206F_200D_202A_202B_206F_206E_200D_202D_206E_202C_206F_206B_202E_202D_202B_202B_202D_206F_206B_200D_206A_206D_206B_200C_206A_206A_200B_206C_200F_200B_200F_202D_200B_200E_206F_206C_202E(imU8String, ImGuiPopupFlags.None); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool DrawContextMenu(IQuestInfo questInfo, Quest? quest, string label) + { + ImU8String imU8String = new ImU8String(12, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-307761140)); + imU8String.AppendFormatted(questInfo.QuestId); + using ImRaii.PopupDisposable popupDisposable = _200F_200D_206D_200D_200C_200C_200C_206B_200B_206B_200C_200B_202A_200D_206D_206D_206F_206F_206B_200B_202C_206F_200E_206C_202E_206C_206F_202C_202E_202D_202E_206C_200F_202C_200B_206C_202D_200D_202E_206A_202E(imU8String); + int num = ((!(!popupDisposable)) ? (-1838329671) : (-1838329669)); + int num7; + while (true) + { + int num2 = num; + int num3 = -1838329665; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 5: + num = (_202C_202C_202D_206F_202B_200C_200B_202B_200C_202C_202C_200E_202C_200C_202B_206D_206F_200D_200D_206D_200D_206D_206D_200E_200F_200E_206A_202A_202E_200C_202A_200F_202A_200C_202D_206C_202D_200D_200D_206B_202E(quest.Root) ? (-1838329666) : (-1838329672)); + continue; + case 8: + num = ((quest == null) ? (-1838329666) : (-1838329670)); + continue; + case 6: + num = ((!_questFunctions.IsReadyToAcceptQuest(questInfo.QuestId)) ? (-1838329666) : (-1838329673)); + continue; + case 9: + num = (_customDeliveryController.IsRunning ? (-1838329666) : (-1838329668)); + continue; + case 0: + num = -1838329669; + continue; + case 4: + return false; + case 2: + num = (_seasonalDutyController.IsRunning ? (-1838329666) : (-1838329674)); + continue; + case 3: + num7 = ((!_attunementController.IsRunning) ? 1 : 0); + break; + case 7: + num = (_fateController.IsRunning ? (-1838329666) : (-1838329667)); + continue; + case 1: + num7 = 0; + break; + } + break; + } + ImRaii.DisabledDisposable disabledDisposable = _202E_202D_202A_200B_206F_200C_202D_202C_206D_200B_200C_206C_200B_202A_202C_202D_206C_200F_206C_202B_200E_202C_206B_200E_200E_200B_202B_206D_202B_206C_200B_202B_206B_206C_202C_206C_202C_202B_206B_200F_202E(num7 == 0); + try + { + num = ((!_202A_200B_202D_202B_202E_200B_200D_206B_202D_206C_202E_200E_200D_200C_206F_202D_206F_206D_206F_200B_202C_206F_200D_200B_206D_206C_202E_206F_200C_200E_200E_200F_200C_206D_206D_200F_206A_202E_202A_206E_202E((ImU8String)global::_003CModule_003E._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(2129565064), false, true)) ? (-220845706) : (-220845707)); + while (true) + { + int num8 = num; + int num3 = -220845705; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num = -220845707; + break; + case 2: + _fateController.Stop(global::_003CModule_003E._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(1441653773)); + _seasonalDutyController.Stop(global::_003CModule_003E._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(-21196093)); + _customDeliveryController.Stop(global::_003CModule_003E._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(-21196093)); + _attunementController.Stop(global::_003CModule_003E._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(-21196093)); + _questController.SetNextQuest(quest); + _questController.Start(label); + num = -220845706; + break; + case 1: + goto end_IL_0205; + } + continue; + end_IL_0205: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-1086471845) : (-1086471846)); + while (true) + { + int num11 = num; + int num3 = -1086471845; + int num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1086471846; + break; + case 1: + _206D_200B_202C_200C_206B_206F_206D_200C_202D_206E_206C_202D_202E_206B_206F_206B_202A_200E_200E_200D_202D_206B_206A_202B_206E_202C_206E_202B_202D_200C_206C_202B_200E_206C_202A_206B_206D_206A_202A_206E_202E((IDisposable)disabledDisposable); + num = -1086471845; + break; + case 0: + goto end_IL_02db; + } + continue; + end_IL_02db: + break; + } + } + num = ((!_202B_200D_202C_202C_202C_202A_200B_200E_206C_206E_202D_202A_200F_200E_200F_202B_206C_200F_206B_206B_200F_200F_200F_202A_202C_206E_202D_202B_206F_202B_206F_202C_206E_206A_206B_206B_206A_206E_206E_202C_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-905088776) : (-905088771)); + string text = default(string); + while (true) + { + int num12 = num; + int num3 = -905088776; + int num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 4: + num = ((!_202C_202C_202D_206F_202B_200C_200B_202B_200C_202C_202C_200E_202C_200C_202B_206D_206F_200D_200D_206D_200D_206D_206D_200E_200F_200E_206A_202A_202E_200C_202A_200F_202A_200C_202D_206C_202D_200D_200D_206B_202E(quest.Root)) ? (-905088776) : (-905088774)); + break; + case 5: + num = (_questFunctions.IsReadyToAcceptQuest(questInfo.QuestId) ? (-905088775) : (-905088770)); + break; + case 6: + _202C_202D_200B_200F_202B_206E_206D_200B_206D_200C_202B_202A_206A_206E_202B_206D_202E_202D_206B_200C_200B_200C_202B_206D_200C_202A_206A_200C_200D_202C_206C_200C_200E_202C_206F_202A_202A_202B_200E_206E_202E((ImU8String)global::_003CModule_003E._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(-682815481)); + num = -905088776; + break; + case 2: + _202C_202D_200B_200F_202B_206E_206D_200B_206D_200C_202B_202A_206A_206E_202B_206D_202E_202D_206B_200C_200B_200C_202B_206D_200C_202A_206A_200C_200D_202C_206C_200C_200E_202C_206F_202A_202A_202B_200E_206E_202E((ImU8String)global::_003CModule_003E._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(188104567)); + num = -905088776; + break; + case 1: + num = ((quest != null) ? (-905088772) : (-905088773)); + break; + case 7: + num = -905088771; + break; + case 3: + _202C_202D_200B_200F_202B_206E_206D_200B_206D_200C_202B_202A_206A_206E_202B_206D_202E_202D_206B_200C_200B_200C_202B_206D_200C_202A_206A_200C_200D_202C_206C_200C_200E_202C_206F_202A_202A_202B_200E_206E_202E((ImU8String)global::_003CModule_003E._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(-1910798786)); + num = -905088776; + break; + case 0: + { + List incompletePrerequisiteQuests = GetIncompletePrerequisiteQuests(questInfo); + disabledDisposable = _202E_202D_202A_200B_206F_200C_202D_202C_206D_200B_200C_206C_200B_202A_202C_202D_206C_200F_206C_202B_200E_202C_206B_200E_200E_200B_202B_206D_202B_206C_200B_202B_206B_206C_202C_206C_202C_202B_206B_200F_202E(incompletePrerequisiteQuests.Count == 0); + try + { + int count = incompletePrerequisiteQuests.Count; + num = ((count == 0) ? (-224870237) : (-224870236)); + while (true) + { + int num15 = num; + num3 = -224870234; + num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 8: + AddRequiredQuestsToPriority(questInfo, incompletePrerequisiteQuests); + num = -224870238; + break; + case 3: + num = -224870233; + break; + case 5: + text = global::_003CModule_003E._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(-480064653); + num = -224870239; + break; + case 0: + text = global::_003CModule_003E._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(1421530180); + num = -224870239; + break; + case 2: + num = ((count == 1) ? (-224870234) : (-224870235)); + break; + case 7: + num = ((!_202A_200B_202D_202B_202E_200B_200D_206B_202D_206C_202E_200E_200D_200C_206F_202D_206F_206D_206F_200B_202C_206F_200D_200B_206D_206C_202E_206F_200C_200E_200E_200F_200C_206D_206D_200F_206A_202E_202A_206E_202E((ImU8String)text, false, true)) ? (-224870238) : (-224870226)); + break; + case 6: + num = -224870236; + break; + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(23, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2063300836)); + defaultInterpolatedStringHandler.AppendFormatted(incompletePrerequisiteQuests.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2146435518)); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + num = -224870239; + break; + } + case 4: + goto end_IL_04b0; + } + continue; + end_IL_04b0: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-231672322) : (-231672323)); + while (true) + { + int num18 = num; + num3 = -231672321; + num4 = num18; + int num19 = num4 + num3; + int num20 = num4 & num3; + switch (num19 - (num20 + num20)) + { + case 0: + num = -231672323; + break; + case 2: + _206D_200B_202C_200C_206B_206F_206D_200C_202D_206E_206C_202D_202E_206B_206F_206B_202A_200E_200E_200D_202D_206B_206A_202B_206E_202C_206E_202B_202D_200C_206C_202B_200E_206C_202A_206B_206D_206A_202A_206E_202E((IDisposable)disabledDisposable); + num = -231672322; + break; + case 1: + goto end_IL_060f; + } + continue; + end_IL_060f: + break; + } + } + num = ((!_202B_200D_202C_202C_202C_202A_200B_200E_206C_206E_202D_202A_200F_200E_200F_202B_206C_200F_206B_206B_200F_200F_200F_202A_202C_206E_202D_202B_206F_202B_206F_202C_206E_206A_206B_206B_206A_206E_206E_202C_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? 1039916492 : 1039916487); + while (true) + { + int num21 = num; + num3 = 1039916494; + num4 = num21; + int num22 = num4 + num3; + int num23 = num4 & num3; + string text2; + switch (num22 - (num23 + num23)) + { + default: + continue; + case 1: + text2 = global::_003CModule_003E._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(-479153751); + goto IL_06d8; + case 3: + _202C_202D_200B_200F_202B_206E_206D_200B_206D_200C_202B_202A_206A_206E_202B_206D_202E_202D_206B_200C_200B_200C_202B_206D_200C_202A_206A_200C_200D_202C_206C_200C_200E_202C_206F_202A_202A_202B_200E_206E_202E((ImU8String)global::_003CModule_003E._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(-413729011)); + num = 1039916492; + continue; + case 5: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(70, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1363766595)); + defaultInterpolatedStringHandler2.AppendFormatted(incompletePrerequisiteQuests.Count - 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-872994784)); + defaultInterpolatedStringHandler2.AppendFormatted((incompletePrerequisiteQuests.Count - 1 == 1) ? global::_003CModule_003E._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(2004137011) : global::_003CModule_003E._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(1391970161)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-640371341)); + text2 = defaultInterpolatedStringHandler2.ToStringAndClear(); + goto IL_06d8; + } + case 2: + num = ((!_206C_202B_202D_200E_200C_206F_206A_200E_202E_202C_202D_200B_206D_200D_206F_206B_206C_202D_206D_206B_202C_200F_206E_206E_202B_200F_206D_200F_202A_202C_200E_200E_202C_202D_202A_200C_206E_206D_202A_206C_202E(label, global::_003CModule_003E._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(-1364608423))) ? 1039916486 : 1039916489); + continue; + case 7: + num = ((!_202A_200B_202D_202B_202E_200B_200D_206B_202D_206C_202E_200E_200D_200C_206F_202D_206F_206D_206F_200B_202C_206F_200D_200B_206D_206C_202E_206F_200C_200E_200E_200F_200C_206D_206D_200F_206A_202E_202A_206E_202E((ImU8String)global::_003CModule_003E._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(-1664854212), false, true)) ? 1039916486 : 1039916488); + continue; + case 0: + num = 1039916487; + continue; + case 9: + num = ((incompletePrerequisiteQuests.Count != 0) ? 1039916490 : 1039916493); + continue; + case 6: + { + _questChainComponent.SelectQuest(questInfo.QuestId); + Action? selectTabAction = _questChainComponent.SelectTabAction; + if (selectTabAction == null) + { + break; + } + selectTabAction(global::_003CModule_003E._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(644196516)); + num = 1039916486; + continue; + } + case 4: + num = ((incompletePrerequisiteQuests.Count == 1) ? 1039916495 : 1039916491); + continue; + case 8: + break; + IL_06d8: + _202C_202D_200B_200F_202B_206E_206D_200B_206D_200C_202B_202A_206A_206E_202B_206D_202E_202D_206B_200C_200B_200C_202B_206D_200C_202A_206A_200C_200D_202C_206C_200C_200E_202C_206F_202A_202A_202B_200E_206E_202E((ImU8String)text2); + num = 1039916492; + continue; + } + break; + } + return true; + } + } + } + } + + public unsafe List GetIncompletePrerequisiteQuests(IQuestInfo questInfo) { List list = new List(); HashSet visited = new HashSet(); CollectPrerequisitesRecursive(questInfo, list, visited); list.Reverse(); - Quest quest2; - List list2 = (from qId in list.Where(delegate(ElementId qId) - { - if (!_questData.TryGetQuestInfo(qId, out IQuestInfo questInfo2)) + List list2 = (from qId in (from qId in list.Where(delegate(ElementId qId) { - return false; - } - if (questInfo2.IsRepeatable && qId is QuestId questId2) - { - if (QuestManager.Instance()->IsDailyQuestCompleted(questId2.Value)) + IQuestInfo questInfo2; + int num9 = (_questData.TryGetQuestInfo(qId, out questInfo2) ? 953970550 : 953970544); + QuestId questId2 = default(QuestId); + while (true) { + int num10 = num9; + int num11 = 953970550; + int num12 = num10; + switch ((num12 | num11) - (num12 & num11)) + { + case 7: + return true; + case 6: + return false; + case 2: + return false; + case 5: + num9 = 953970544; + break; + case 8: + questId2 = qId as QuestId; + num9 = (((object)questId2 == null) ? 953970551 : 953970546); + break; + case 3: + return false; + case 0: + num9 = ((!questInfo2.IsRepeatable) ? 953970551 : 953970558); + break; + case 4: + num9 = ((!QuestManager.Instance()->IsDailyQuestCompleted(_003C_003Ec__DisplayClass17_0._206C_200C_206B_202A_202C_202A_200C_202C_200D_206E_200B_206F_202C_200D_200C_200E_206B_206E_200C_206B_206B_202B_206D_200B_206E_200E_200F_202D_206F_202C_206C_206F_200E_206D_206C_202E_200D_200F_202C_202B_202E((ElementId)questId2))) ? 953970545 : 953970548); + break; + case 1: + num9 = ((!_questFunctions.IsQuestComplete(qId)) ? 953970545 : 953970549); + break; + } + } + }) + where !_questFunctions.IsQuestUnobtainable(qId) + where _questRegistry.IsKnownQuest(qId) + select qId).Where(delegate(ElementId qId) + { + Quest quest2; + int num9 = ((!_questRegistry.TryGetQuest(qId, out quest2)) ? 2035464301 : 2035464302); + while (true) + { + int num10 = num9; + int num11 = 2035464300; + int num12 = num10; + int num13 = num12 + num11; + int num14 = num12 & num11; + switch (num13 - (num14 + num14)) + { + case 3: return false; + case 1: + return true; + case 0: + num9 = 2035464302; + break; + case 2: + num9 = ((!_003C_003Ec__DisplayClass17_0._200D_200C_202C_200C_200D_206B_206B_200D_206D_202C_206E_202E_200F_202E_200E_206C_206E_200C_206B_200D_202C_202A_200F_200E_202A_200C_200E_200C_202A_206C_200E_206A_202D_200D_200B_206B_202A_206F_200C_200E_202E(quest2.Root)) ? 2035464301 : 2035464303); + break; } } - else if (_questFunctions.IsQuestComplete(qId)) - { - return false; - } - return true; }) - where !_questFunctions.IsQuestUnobtainable(qId) - where _questRegistry.IsKnownQuest(qId) - where (!_questRegistry.TryGetQuest(qId, out quest2) || !quest2.Root.Disabled) ? true : false - where !_questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(qId)) + where !_questController.ManualPriorityQuests.Any((Quest q) => _003C_003Ec__DisplayClass17_1._200D_206D_200F_202D_200B_202D_200B_206D_202A_200C_200F_206E_200B_200E_202E_200B_200E_200D_206D_202E_206F_202E_206C_206C_202D_206D_206D_206E_206C_200F_200B_206A_200F_202E_202D_200C_202C_206C_202A_206C_202E(q.Id, qId)) select qId).ToList(); list2.Reverse(); bool flag = false; - flag = ((!questInfo.IsRepeatable || !(questInfo.QuestId is QuestId questId)) ? (!_questFunctions.IsQuestComplete(questInfo.QuestId)) : (!QuestManager.Instance()->IsDailyQuestCompleted(questId.Value))); - Quest quest; - bool flag2 = _questRegistry.TryGetQuest(questInfo.QuestId, out quest) && quest.Root.Disabled; - bool flag3 = _questFunctions.IsQuestLocked(questInfo.QuestId) && questInfo.PreviousQuests.Count == 0; - if (flag && !flag2 && !flag3 && !_questFunctions.IsQuestUnobtainable(questInfo.QuestId) && _questRegistry.IsKnownQuest(questInfo.QuestId) && !_questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(questInfo.QuestId))) + int num = ((!questInfo.IsRepeatable) ? 1364265692 : 1364265683); + QuestId questId = default(QuestId); + bool flag2 = default(bool); + Quest quest = default(Quest); + bool flag3 = default(bool); + while (true) { - list2.Add(questInfo.QuestId); + int num2 = num; + int num3 = 1364265690; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num7; + int num8; + switch (num5 - (num6 + num6)) + { + case 13: + flag = !QuestManager.Instance()->IsDailyQuestCompleted(_202C_206D_202B_202E_206F_200C_200D_200E_202C_200D_200D_202D_206B_200F_206F_206E_200D_202B_206D_200E_206F_202C_200C_206D_206D_202C_206E_202D_202B_200F_206C_200D_200E_202E_202E_206E_206E_202A_200E_206D_202E((ElementId)questId)); + num = 1364265684; + break; + case 3: + num = (_questFunctions.IsQuestUnobtainable(questInfo.QuestId) ? 1364265690 : 1364265685); + break; + case 8: + num = (flag2 ? 1364265690 : 1364265691); + break; + case 4: + num7 = (_202C_202C_202D_206F_202B_200C_200B_202B_200C_202C_202C_200E_202C_200C_202B_206D_206F_200D_200D_206D_200D_206D_206D_200E_200F_200E_206A_202A_202E_200C_202A_200F_202A_200C_202D_206C_202D_200D_200D_206B_202E(quest.Root) ? 1 : 0); + goto IL_01b6; + case 7: + num7 = 0; + goto IL_01b6; + case 6: + flag = !_questFunctions.IsQuestComplete(questInfo.QuestId); + num = 1364265684; + break; + case 12: + num = (_questController.ManualPriorityQuests.Any((Quest q) => _003C_003Ec__DisplayClass17_0._202A_202C_202E_200D_206F_202A_206E_206B_200F_202A_202E_206C_206A_206F_202D_202A_200F_206B_206B_206D_202D_206D_206D_206A_200D_200E_200D_206F_200B_202A_206C_202A_206C_206B_200F_200B_200E_202B_202C_200D_202E(q.Id, questInfo.QuestId)) ? 1364265690 : 1364265681); + break; + case 1: + num = (flag3 ? 1364265690 : 1364265689); + break; + case 9: + questId = questInfo.QuestId as QuestId; + num = (((object)questId == null) ? 1364265692 : 1364265687); + break; + case 10: + num8 = ((questInfo.PreviousQuests.Count == 0) ? 1 : 0); + goto IL_0302; + case 2: + num = 1364265683; + break; + case 14: + num = ((!_questRegistry.TryGetQuest(questInfo.QuestId, out quest)) ? 1364265693 : 1364265694); + break; + case 5: + num8 = 0; + goto IL_0302; + case 0: + return list2; + case 15: + num = ((!_questRegistry.IsKnownQuest(questInfo.QuestId)) ? 1364265690 : 1364265686); + break; + case 11: + { + list2.Add(questInfo.QuestId); + num = 1364265690; + break; + } + IL_01b6: + flag2 = (byte)num7 != 0; + num = ((!_questFunctions.IsQuestLocked(questInfo.QuestId)) ? 1364265695 : 1364265680); + break; + IL_0302: + flag3 = (byte)num8 != 0; + num = ((!flag) ? 1364265690 : 1364265682); + break; + } } - return list2; } private void CollectPrerequisitesRecursive(IQuestInfo questInfo, List prerequisites, HashSet visited) { - if (visited.Contains(questInfo.QuestId)) + int num = ((!visited.Contains(questInfo.QuestId)) ? 941451724 : 941451726); + IQuestInfo questInfo3 = default(IQuestInfo); + PreviousQuestInfo current2 = default(PreviousQuestInfo); + PreviousQuestInfo current = default(PreviousQuestInfo); + IQuestInfo questInfo2 = default(IQuestInfo); + while (true) { - return; - } - visited.Add(questInfo.QuestId); - if (questInfo.PreviousQuests.Count <= 0) - { - return; - } - if (questInfo.PreviousQuestJoin == EQuestJoin.All) - { - foreach (PreviousQuestInfo previousQuest in questInfo.PreviousQuests) + int num2 = num; + int num3 = 941451727; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - if (_questData.TryGetQuestInfo(previousQuest.QuestId, out IQuestInfo questInfo2)) + case 0: + num = 941451726; + break; + case 2: + { + if (questInfo.PreviousQuestJoin == EQuestJoin.All) { - CollectPrerequisitesRecursive(questInfo2, prerequisites, visited); - if (!prerequisites.Contains(previousQuest.QuestId)) + num = 941451723; + break; + } + if (questInfo.PreviousQuestJoin != EQuestJoin.AtLeastOne) + { + return; + } + using ImmutableList.Enumerator enumerator = questInfo.PreviousQuests.GetEnumerator(); + num = -1667593406; + while (true) + { + int num6 = num; + num3 = -1667593405; + num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) { - prerequisites.Add(previousQuest.QuestId); + case 6: + CollectPrerequisitesRecursive(questInfo3, prerequisites, visited); + num = (prerequisites.Contains(current2.QuestId) ? (-1667593405) : (-1667593401)); + break; + case 1: + num = (enumerator.MoveNext() ? (-1667593407) : (-1667593405)); + break; + case 2: + current2 = enumerator.Current; + num = (_questFunctions.IsQuestComplete(current2.QuestId) ? (-1667593406) : (-1667593402)); + break; + case 3: + num = -1667593406; + break; + case 4: + prerequisites.Add(current2.QuestId); + return; + case 5: + num = ((!_questData.TryGetQuestInfo(current2.QuestId, out questInfo3)) ? (-1667593405) : (-1667593403)); + break; + case 0: + return; } } } - return; - } - if (questInfo.PreviousQuestJoin != EQuestJoin.AtLeastOne) - { - return; - } - foreach (PreviousQuestInfo previousQuest2 in questInfo.PreviousQuests) - { - if (_questFunctions.IsQuestComplete(previousQuest2.QuestId)) - { - continue; - } - if (_questData.TryGetQuestInfo(previousQuest2.QuestId, out IQuestInfo questInfo3)) - { - CollectPrerequisitesRecursive(questInfo3, prerequisites, visited); - if (!prerequisites.Contains(previousQuest2.QuestId)) + case 1: + return; + case 3: + visited.Add(questInfo.QuestId); + if (questInfo.PreviousQuests.Count > 0) { - prerequisites.Add(previousQuest2.QuestId); + num = 941451725; + break; + } + return; + case 4: + { + using ImmutableList.Enumerator enumerator = questInfo.PreviousQuests.GetEnumerator(); + num = 1353867004; + while (true) + { + int num5 = num; + num3 = 1353867006; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + prerequisites.Add(current.QuestId); + num = 1353867004; + break; + case 4: + current = enumerator.Current; + num = ((!_questData.TryGetQuestInfo(current.QuestId, out questInfo2)) ? 1353867004 : 1353867007); + break; + case 1: + CollectPrerequisitesRecursive(questInfo2, prerequisites, visited); + num = (prerequisites.Contains(current.QuestId) ? 1353867004 : 1353867003); + break; + case 0: + num = 1353867004; + break; + case 2: + num = (enumerator.MoveNext() ? 1353867002 : 1353867005); + break; + case 3: + return; + } } } - break; + } } } - private void AddRequiredQuestsToPriority(IQuestInfo questInfo, List prerequisiteQuests) + [MethodImpl(MethodImplOptions.NoInlining)] + public void AddRequiredQuestsToPriority(IQuestInfo questInfo, List prerequisiteQuests) { int num = 0; - foreach (ElementId prerequisiteQuest in prerequisiteQuests) + int num2; + using (List.Enumerator enumerator = prerequisiteQuests.GetEnumerator()) { - if (_questController.AddQuestPriority(prerequisiteQuest)) + num2 = 1706753795; + while (true) { - num++; + int num3 = num2; + int num4 = 1706753793; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = 1706753795; + break; + case 1: + { + int num8 = num; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + num = num9 + (num10 + num10); + num2 = 1706753795; + break; + } + case 2: + num2 = (enumerator.MoveNext() ? 1706753794 : 1706753797); + break; + case 3: + { + ElementId current = enumerator.Current; + num2 = ((!_questController.AddQuestPriority(current)) ? 1706753795 : 1706753792); + break; + } + case 4: + goto end_IL_0015; + } + continue; + end_IL_0015: + break; } } - if (num > 0) + num2 = ((num <= 0) ? (-1189358037) : (-1189358036)); + while (true) { - string text = ((num == 1) ? "quest" : "quests"); - _logger.LogInformation("Added {Count} {QuestWord} for '{QuestName}' to priority list", num, text, questInfo.Name); - _chatGui.Print($"Added {num} {text} to priority list.", "Questionable", 576); - } - else - { - _logger.LogWarning("No quests were added to priority list for '{QuestName}'", questInfo.Name); - _chatGui.Print("No quests to add (may be complete, disabled, locked with no unlock path, or already in priority).", "Questionable", 576); - } - } - - 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 (ImGuiComponents.IconButton(FontAwesomeIcon.ListOl)) - { - int num2 = _questController.AddAllAvailableQuests(); - string value = ((num2 == 1) ? "quest" : "quests"); - _chatGui.Print($"Added {num2} {value} to priority queue.", "Questionable", 576); - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - object obj; - switch (num) + int num11 = num2; + int num4 = -1189358033; + int num5 = num11; + string text2; + string text; + IChatGui chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler; + switch ((num5 | num4) - (num5 & num4)) { case 0: - ImGui.SetTooltip("No available quests to add"); + num2 = -1189358036; + break; + case 2: + text2 = global::_003CModule_003E._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(-14946342); + goto IL_01b1; + case 4: + _200D_200E_206A_206E_202D_200E_202A_202B_206A_200F_202E_202C_206B_206C_206C_202A_206D_206C_202E_206D_200C_206A_206E_200F_200D_206C_206D_202A_200B_206F_202D_202D_200C_206A_206B_202B_200F_202B_202A_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-1192976444), new object[1] { questInfo.Name }); + _202E_200B_200B_200F_202C_206B_206C_202C_206D_206C_202E_200C_206D_202C_206C_206C_206A_202D_206F_202C_206A_202B_200E_202C_200E_206D_200E_202C_200C_200B_200E_206E_202B_206F_206C_206B_200F_206A_206A_200E_202E(_chatGui, global::_003CModule_003E._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(1593799777), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); return; - default: - obj = "quests"; - break; case 1: - obj = "quest"; - break; + text2 = global::_003CModule_003E._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(2004137011); + goto IL_01b1; + case 3: + { + num2 = ((num == 1) ? (-1189358034) : (-1189358035)); + break; + } + IL_01b1: + text = text2; + _200F_206B_200D_206E_202B_206B_200D_206D_200B_206F_202A_202A_206A_206B_206A_200B_206C_206E_206F_202B_200B_206F_202D_202C_206C_202C_202A_200E_202A_200B_206D_206A_206E_200B_202E_200B_206D_206D_206F_202C_202E((ILogger)_logger, global::_003CModule_003E._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(681991038), new object[3] { num, text, questInfo.Name }); + chatGui = _chatGui; + defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(25, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(901909596)); + defaultInterpolatedStringHandler.AppendFormatted(num); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1051702537)); + defaultInterpolatedStringHandler.AppendFormatted(text); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-904513196)); + _202E_200B_200B_200F_202C_206B_206C_202C_206D_206C_202E_200C_206D_202C_206C_206C_206A_202D_206F_202C_206A_202B_200E_202C_200E_206D_200E_202C_200C_200B_200E_206E_202B_206F_206C_206B_200F_206A_206A_200E_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + return; } - string value2 = (string)obj; - ImU8String tooltip = new ImU8String(27, 2); - tooltip.AppendLiteral("Add "); - tooltip.AppendFormatted(num); - tooltip.AppendLiteral(" available "); - tooltip.AppendFormatted(value2); - tooltip.AppendLiteral(" to priority"); - ImGui.SetTooltip(tooltip); } } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void AddAllAvailableQuests() + { + if (_200F_206B_200B_200F_202A_202E_206A_206C_200E_202E_206A_206F_202E_206F_206F_200F_206D_206A_202D_206F_206E_200F_206B_202E_206A_200F_202B_200F_202C_200D_202B_202B_206A_206E_200E_202C_200D_206A_200C_206A_202E() >= _nextAvailableCountRefreshMs) + { + _nextAvailableCountRefreshMs = _200F_206B_200B_200F_202A_202E_206A_206C_200E_202E_206A_206F_202E_206F_206F_200F_206D_206A_202D_206F_206E_200F_206B_202E_206A_200F_202B_200F_202C_200D_202B_202B_206A_206E_200E_202C_200D_206A_200C_206A_202E() + 1000; + try + { + _availableQuestCount = _questRegistry.AllQuests.Count(delegate(Quest quest) + { + int num10 = ((quest?.Info == null) ? (-46476095) : (-46476092)); + QuestRoot root = default(QuestRoot); + QuestInfo questInfo = default(QuestInfo); + while (true) + { + int num11 = num10; + int num12 = -46476096; + int num13 = num11; + int num14 = num13 + num12; + int num15 = num13 & num12; + switch (num14 - (num15 + num15)) + { + case 8: + num10 = (_202C_202C_202D_206F_202B_200C_200B_202B_200C_202C_202C_200E_202C_200C_202B_206D_206F_200D_200D_206D_200D_206D_206D_200E_200F_200E_206A_202A_202E_200C_202A_200F_202A_200C_202D_206C_202D_200D_200D_206B_202E(root) ? (-46476095) : (-46476094)); + break; + case 5: + num10 = ((questInfo.MoogleDeliveryLevel > 0) ? (-46476095) : (-46476096)); + break; + case 9: + num10 = ((!_questFunctions.IsReadyToAcceptQuest(quest.Id)) ? (-46476095) : (-46476085)); + break; + case 2: + num10 = (_questFunctions.IsQuestRemoved(quest.Id) ? (-46476095) : (-46476087)); + break; + case 7: + num10 = (quest.Info.IsRepeatable ? (-46476095) : (-46476093)); + break; + case 4: + root = quest.Root; + num10 = ((root == null) ? (-46476095) : (-46476088)); + break; + case 11: + num10 = (_questFunctions.IsQuestComplete(quest.Id) ? (-46476095) : (-46476090)); + break; + case 10: + num10 = -46476092; + break; + case 1: + return false; + case 6: + num10 = (_questFunctions.IsQuestAccepted(quest.Id) ? (-46476095) : (-46476089)); + break; + case 3: + questInfo = quest.Info as QuestInfo; + num10 = ((questInfo == null) ? (-46476096) : (-46476091)); + break; + case 0: + return !_questController.ManualPriorityQuests.Any((Quest q) => _003C_003Ec__DisplayClass20_0._200F_200F_200B_206D_200E_206F_206B_200E_206E_206F_200D_206B_202B_202C_206B_206B_202E_206B_200D_202D_202E_200D_200B_200D_206E_200D_202B_200B_202E_200E_200B_200F_202B_206F_200F_202D_200E_202A_206F_202C_202E(q.Id, quest.Id)); + } + } + }); + } + catch + { + _availableQuestCount = 0; + } + } + int availableQuestCount = _availableQuestCount; + ImRaii.DisabledDisposable disabledDisposable = _202E_202D_202A_200B_206F_200C_202D_202C_206D_200B_200C_206C_200B_202A_202C_202D_206C_200F_206C_202B_200E_202C_206B_200E_200E_200B_202B_206D_202B_206C_200B_202B_206B_206C_202C_206C_202C_202B_206B_200F_202E(availableQuestCount == 0); + int num; + try + { + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.ListOl, _206D_200B_202B_206E_202A_202C_200D_202C_206A_202E_202B_206C_206F_202E_200B_202E_202D_200E_206D_206E_206E_206F_202E_202B_206A_202C_206C_206A_202D_202C_206A_202A_206A_202B_200D_206F_200C_200B_202D_202C_202E())) ? 1356896523 : 1356896526); + int num7 = default(int); + while (true) + { + int num2 = num; + int num3 = 1356896527; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + string text; + string value; + IChatGui chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler; + switch (num5 - (num6 + num6)) + { + case 0: + text = global::_003CModule_003E._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(-14946342); + goto IL_00ee; + case 2: + text = global::_003CModule_003E._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(576325633); + goto IL_00ee; + case 3: + num = 1356896526; + break; + case 1: + num7 = _questController.AddAllAvailableQuests(); + num = ((num7 == 1) ? 1356896525 : 1356896527); + break; + case 4: + goto end_IL_0093; + IL_00ee: + value = text; + chatGui = _chatGui; + defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(26, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(901909596)); + defaultInterpolatedStringHandler.AppendFormatted(num7); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1051702537)); + defaultInterpolatedStringHandler.AppendFormatted(value); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1585565384)); + _202E_200B_200B_200F_202C_206B_206C_202C_206D_206C_202E_200C_206D_202C_206C_206C_206A_202D_206F_202C_206A_202B_200E_202C_200E_206D_200E_202C_200C_200B_200E_206E_202B_206F_206C_206B_200F_206A_206A_200E_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + _nextAvailableCountRefreshMs = 0L; + num = 1356896523; + break; + } + continue; + end_IL_0093: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? 1785744636 : 1785744637); + while (true) + { + int num8 = num; + int num3 = 1785744636; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1785744637; + break; + case 0: + goto end_IL_01d0; + case 1: + _206D_200B_202C_200C_206B_206F_206D_200C_202D_206E_206C_202D_202E_206B_206F_206B_202A_200E_200E_200D_202D_206B_206A_202B_206E_202C_206E_202B_202D_200C_206C_202B_200E_206C_202A_206B_206D_206A_202A_206E_202E((IDisposable)disabledDisposable); + num = 1785744636; + break; + } + continue; + end_IL_01d0: + break; + } + } + num = ((!_202B_200D_202C_202C_202C_202A_200B_200E_206C_206E_202D_202A_200F_200E_200F_202B_206C_200F_206B_206B_200F_200F_200F_202A_202C_206E_202D_202B_206F_202B_206F_202C_206E_206A_206B_206B_206A_206E_206E_202C_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-1961186728) : (-1961186727)); + while (true) + { + int num9 = num; + int num3 = -1961186725; + int num4 = num9; + string text2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 5: + num = -1961186727; + continue; + case 1: + _202C_202D_200B_200F_202B_206E_206D_200B_206D_200C_202B_202A_206A_206E_202B_206D_202E_202D_206B_200C_200B_200C_202B_206D_200C_202A_206A_200C_200D_202C_206C_200C_200E_202C_206F_202A_202A_202B_200E_206E_202E((ImU8String)global::_003CModule_003E._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(1880631962)); + return; + case 4: + num = ((availableQuestCount == 1) ? (-1961186723) : (-1961186725)); + continue; + case 2: + num = ((availableQuestCount != 0) ? (-1961186721) : (-1961186726)); + continue; + case 0: + text2 = global::_003CModule_003E._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(1391970161); + break; + case 3: + return; + case 6: + text2 = global::_003CModule_003E._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(2004137011); + break; + } + string value2 = text2; + ImU8String imU8String = new ImU8String(27, 2); + imU8String.AppendLiteral(global::_003CModule_003E._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(797689590)); + imU8String.AppendFormatted(availableQuestCount); + imU8String.AppendLiteral(global::_003CModule_003E._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(1897292361)); + imU8String.AppendFormatted(value2); + imU8String.AppendLiteral(global::_003CModule_003E._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(1829544865)); + _202C_202D_200B_200F_202B_206E_206D_200B_206D_200C_202B_202A_206A_206E_202B_206D_202E_202D_206B_200C_200B_200C_202B_206D_200C_202A_206A_200C_200D_202C_206C_200C_200E_202C_206F_202A_202A_202B_200E_206E_202E(imU8String); + num = -1961186728; + } + } + + static bool _200E_202B_200D_206B_200D_200D_206E_200D_206E_200E_206A_206C_206D_202D_206E_206D_202E_202A_206D_202E_200F_202E_200C_200B_206A_200E_202B_200C_206B_200C_200D_206A_200F_200F_206E_202A_202C_200D_206C_202D_202E(ImGuiMouseButton P_0) + { + return ImGui.IsItemClicked(P_0); + } + + static void _200E_206D_202E_206F_206F_200D_202A_202B_206F_206E_200D_202D_206E_202C_206F_206B_202E_202D_202B_202B_202D_206F_206B_200D_206A_206D_206B_200C_206A_206A_200B_206C_200F_200B_200F_202D_200B_200E_206F_206C_202E(ImU8String P_0, ImGuiPopupFlags P_1) + { + ImGui.OpenPopup(P_0, P_1); + } + + static ImRaii.PopupDisposable _200F_200D_206D_200D_200C_200C_200C_206B_200B_206B_200C_200B_202A_200D_206D_206D_206F_206F_206B_200B_202C_206F_200E_206C_202E_206C_206F_202C_202E_202D_202E_206C_200F_202C_200B_206C_202D_200D_202E_206A_202E(ImU8String P_0) + { + return ImRaii.Popup(P_0); + } + + static bool _202C_202C_202D_206F_202B_200C_200B_202B_200C_202C_202C_200E_202C_200C_202B_206D_206F_200D_200D_206D_200D_206D_206D_200E_200F_200E_206A_202A_202E_200C_202A_200F_202A_200C_202D_206C_202D_200D_200D_206B_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static ImRaii.DisabledDisposable _202E_202D_202A_200B_206F_200C_202D_202C_206D_200B_200C_206C_200B_202A_202C_202D_206C_200F_206C_202B_200E_202C_206B_200E_200E_200B_202B_206D_202B_206C_200B_202B_206B_206C_202C_206C_202C_202B_206B_200F_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static bool _202A_200B_202D_202B_202E_200B_200D_206B_202D_206C_202E_200E_200D_200C_206F_202D_206F_206D_206F_200B_202C_206F_200D_200B_206D_206C_202E_206F_200C_200E_200E_200F_200C_206D_206D_200F_206A_202E_202A_206E_202E(ImU8String P_0, bool P_1, bool P_2) + { + return ImGui.MenuItem(P_0, P_1, P_2); + } + + static void _206D_200B_202C_200C_206B_206F_206D_200C_202D_206E_206C_202D_202E_206B_206F_206B_202A_200E_200E_200D_202D_206B_206A_202B_206E_202C_206E_202B_202D_200C_206C_202B_200E_206C_202A_206B_206D_206A_202A_206E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _202B_200D_202C_202C_202C_202A_200B_200E_206C_206E_202D_202A_200F_200E_200F_202B_206C_200F_206B_206B_200F_200F_200F_202A_202C_206E_202D_202B_206F_202B_206F_202C_206E_206A_206B_206B_206A_206E_206E_202C_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static void _202C_202D_200B_200F_202B_206E_206D_200B_206D_200C_202B_202A_206A_206E_202B_206D_202E_202D_206B_200C_200B_200C_202B_206D_200C_202A_206A_200C_200D_202C_206C_200C_200E_202C_206F_202A_202A_202B_200E_206E_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static bool _206C_202B_202D_200E_200C_206F_206A_200E_202E_202C_202D_200B_206D_200D_206F_206B_206C_202D_206D_206B_202C_200F_206E_206E_202B_200F_206D_200F_202A_202C_200E_200E_202C_202D_202A_200C_206E_206D_202A_206C_202E(string P_0, string P_1) + { + return P_0 != P_1; + } + + static ushort _202C_206D_202B_202E_206F_200C_200D_200E_202C_200D_200D_202D_206B_200F_206F_206E_200D_202B_206D_200E_206F_202C_200C_206D_206D_202C_206E_202D_202B_200F_206C_200D_200E_202E_202E_206E_206E_202A_200E_206D_202E(ElementId P_0) + { + return P_0.Value; + } + + static void _200F_206B_200D_206E_202B_206B_200D_206D_200B_206F_202A_202A_206A_206B_206A_200B_206C_206E_206F_202B_200B_206F_202D_202C_206C_202C_202A_200E_202A_200B_206D_206A_206E_200B_202E_200B_206D_206D_206F_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _202E_200B_200B_200F_202C_206B_206C_202C_206D_206C_202E_200C_206D_202C_206C_206C_206A_202D_206F_202C_206A_202B_200E_202C_200E_206D_200E_202C_200C_200B_200E_206E_202B_206F_206C_206B_200F_206A_206A_200E_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static void _200D_200E_206A_206E_202D_200E_202A_202B_206A_200F_202E_202C_206B_206C_206C_202A_206D_206C_202E_206D_200C_206A_206E_200F_200D_206C_206D_202A_200B_206F_202D_202D_200C_206A_206B_202B_200F_202B_202A_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static long _200F_206B_200B_200F_202A_202E_206A_206C_200E_202E_206A_206F_202E_206F_206F_200F_206D_206A_202D_206F_206E_200F_206B_202E_206A_200F_202B_200F_202C_200D_202B_202B_206A_206E_200E_202C_200D_206A_200C_206A_202E() + { + return Environment.TickCount64; + } + + static float _206D_200B_202B_206E_202A_202C_200D_202C_206A_202E_202B_206C_206F_202E_200B_202E_202D_200E_206D_206E_206E_206F_202E_202B_206A_202C_206C_206A_202D_202C_206A_202A_206A_202B_200D_206F_200C_200B_202D_202C_202E() + { + return ImGui.GetFrameHeight(); + } } diff --git a/Questionable/Questionable.Windows.JournalComponents/QuestMapComponent.cs b/Questionable/Questionable.Windows.JournalComponents/QuestMapComponent.cs new file mode 100644 index 00000000..f739c23d --- /dev/null +++ b/Questionable/Questionable.Windows.JournalComponents/QuestMapComponent.cs @@ -0,0 +1,2258 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +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) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_202C_202B_206A_200C_200C_200E_202A_206F_202B_200F_202E_206A_200B_202E_202A_202A_202C_206B_206D_202E_202B_206C_206F_200C_200D_206F_202D_206D_206C_206E_202E_206C_202C_206E_206A_202D_200E_206E_202B_202E(typeof(ZoneEntry).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202B_200D_200B_206F_202C_206F_206E_206B_202E_202B_200C_206F_206A_200C_202D_202D_206C_202C_202E_206E_202D_202C_202B_206E_206D_200F_206A_200D_200D_206E_202E_202B_200C_206A_206F_200F_202A_202B_200E_206D_202E(); + _206E_202B_206A_206D_206E_202B_202B_206A_202D_200C_206F_202C_202E_202B_200E_206F_202A_200C_206E_200B_206B_200C_206E_202B_206E_202E_206C_206E_206C_206E_206F_206B_200C_200B_206D_200B_202B_200B_206A_202E(stringBuilder, global::_003CModule_003E._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(-234805683)); + _206E_202B_206A_206D_206E_202B_202B_206A_202D_200C_206F_202C_202E_202B_200E_206F_202A_200C_206E_200B_206B_200C_206E_202B_206E_202E_206C_206E_206C_206E_206F_206B_200C_200B_206D_200B_202B_200B_206A_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? (-355734154) : (-355734155)); + while (true) + { + int num2 = num; + int num3 = -355734153; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _200C_206A_202D_202C_200F_200E_206C_200C_206D_202D_202B_200B_202B_202E_206A_200D_206F_200F_200B_206B_206B_200D_202D_206C_202A_206A_206F_206B_206C_202A_200F_202C_202E_200F_200E_206A_202A_206B_206B_206D_202E(stringBuilder, '}'); + return _206D_202A_206F_206E_206F_206F_206F_206C_206B_202E_202E_202B_202D_206A_202B_200F_206F_206B_202A_200E_200E_202D_200D_200C_202E_206A_206D_200B_202D_202D_200F_206D_206F_202A_200F_200D_206C_202B_206D_200E_202E((object)stringBuilder); + case 2: + _200C_206A_202D_202C_200F_200E_206C_200C_206D_202D_202B_200B_202B_202E_206A_200D_206F_200F_200B_206B_206B_200D_202D_206C_202A_206A_206F_206B_206C_202A_200F_202C_202E_200F_200E_206A_202A_206B_206B_206D_202E(stringBuilder, ' '); + num = -355734154; + break; + case 0: + num = -355734155; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200F_206D_202E_200D_202C_200D_206C_202B_200C_200B_206E_200D_202B_202B_200B_200D_206D_206D_206B_200D_200D_200F_200F_202A_206B_200F_202D_202A_202A_200C_206E_206C_206D_200D_202D_200F_202C_206C_202A_202D_202E(); + _206E_202B_206A_206D_206E_202B_202B_206A_202D_200C_206F_202C_202E_202B_200E_206F_202A_200C_206E_200B_206B_200C_206E_202B_206E_202E_206C_206E_206C_206E_206F_206B_200C_200B_206D_200B_202B_200B_206A_202E(builder, global::_003CModule_003E._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(-1030915870)); + _206E_202B_206A_206D_206E_202B_202B_206A_202D_200C_206F_202C_202E_202B_200E_206F_202A_200C_206E_200B_206B_200C_206E_202B_206E_202E_206C_206E_206C_206E_206F_206B_200C_200B_206D_200B_202B_200B_206A_202E(builder, TerritoryId.ToString()); + _206E_202B_206A_206D_206E_202B_202B_206A_202D_200C_206F_202C_202E_202B_200E_206F_202A_200C_206E_200B_206B_200C_206E_202B_206E_202E_206C_206E_206C_206E_206F_206B_200C_200B_206D_200B_202B_200B_206A_202E(builder, global::_003CModule_003E._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(-844129380)); + _206A_206D_206B_200C_200C_206D_206A_202B_202E_202A_206E_200C_202C_206B_206A_206E_206B_206F_206D_202D_200C_202D_206D_206F_206E_202C_200C_200F_202D_206F_200D_206B_206A_206C_200F_202A_200D_200C_200D_206B_202E(builder, (object)Name); + _206E_202B_206A_206D_206E_202B_202B_206A_202D_200C_206F_202C_202E_202B_200E_206F_202A_200C_206E_200B_206B_200C_206E_202B_206E_202E_206C_206E_206C_206E_206F_206B_200C_200B_206D_200B_202B_200B_206A_202E(builder, global::_003CModule_003E._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(572946355)); + _206A_206D_206B_200C_200C_206D_206A_202B_202E_202A_206E_200C_202C_206B_206A_206E_206B_206F_206D_202D_200C_202D_206D_206F_206E_202C_200C_200F_202D_206F_200D_206B_206A_206C_200F_202A_200D_200C_200D_206B_202E(builder, (object)DisplayName); + _206E_202B_206A_206D_206E_202B_202B_206A_202D_200C_206F_202C_202E_202B_200E_206F_202A_200C_206E_200B_206B_200C_206E_202B_206E_202E_206C_206E_206C_206E_206F_206B_200C_200B_206D_200B_202B_200B_206A_202E(builder, global::_003CModule_003E._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(6225535)); + _206A_206D_206B_200C_200C_206D_206A_202B_202E_202A_206E_200C_202C_206B_206A_206E_206B_206F_206D_202D_200C_202D_206D_206F_206E_202C_200C_200F_202D_206F_200D_206B_206A_206C_200F_202A_200D_200C_200D_206B_202E(builder, (object)MapId); + return true; + } + + [CompilerGenerated] + public bool Equals(ZoneEntry? other) + { + int num = (((object)this == other) ? 1236100265 : 1236100263); + while (true) + { + int num2 = num; + int num3 = 1236100271; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = 1236100263; + break; + case 5: + num = ((!EqualityComparer.Default.Equals(DisplayName, other.DisplayName)) ? 1236100268 : 1236100269); + break; + case 8: + num = (((object)other == null) ? 1236100268 : 1236100270); + break; + case 3: + return false; + case 7: + num = ((!EqualityComparer.Default.Equals(Name, other.Name)) ? 1236100268 : 1236100266); + break; + case 1: + num = ((!_202A_202E_206C_206B_202E_200F_206A_206C_202A_202B_200E_202C_206E_206C_200C_200C_200B_206E_206E_202B_200B_200F_200F_200D_206B_200E_200E_202C_200E_200E_200E_202A_202A_202C_200D_200E_206E_200D_202D_206C_202E(EqualityContract, other.EqualityContract)) ? 1236100268 : 1236100271); + break; + case 2: + return EqualityComparer.Default.Equals(MapId, other.MapId); + case 6: + return true; + case 0: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? 1236100268 : 1236100264); + break; + } + } + } + + bool IEquatable.Equals(ZoneEntry? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206A_202C_202B_206A_200C_200C_200E_202A_206F_202B_200F_202E_206A_200B_202E_202A_202A_202C_206B_206D_202E_202B_206C_206F_200C_200D_206F_202D_206D_206C_206E_202E_206C_202C_206E_206A_202D_200E_206E_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202B_200D_200B_206F_202C_206F_206E_206B_202E_202B_200C_206F_206A_200C_202D_202D_206C_202C_202E_206E_202D_202C_202B_206E_206D_200F_206A_200D_200D_206E_202E_202B_200C_206A_206F_200F_202A_202B_200E_206D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206E_202B_206A_206D_206E_202B_202B_206A_202D_200C_206F_202C_202E_202B_200E_206F_202A_200C_206E_200B_206B_200C_206E_202B_206E_202E_206C_206E_206C_206E_206F_206B_200C_200B_206D_200B_202B_200B_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200C_206A_202D_202C_200F_200E_206C_200C_206D_202D_202B_200B_202B_202E_206A_200D_206F_200F_200B_206B_206B_200D_202D_206C_202A_206A_206F_206B_206C_202A_200F_202C_202E_200F_200E_206A_202A_206B_206B_206D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206D_202A_206F_206E_206F_206F_206F_206C_206B_202E_202E_202B_202D_206A_202B_200F_206F_206B_202A_200E_200E_202D_200D_200C_202E_206A_206D_200B_202D_202D_200F_206D_206F_202A_200F_200D_206C_202B_206D_200E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200F_206D_202E_200D_202C_200D_206C_202B_200C_200B_206E_200D_202B_202B_200B_200D_206D_206D_206B_200D_200D_200F_200F_202A_206B_200F_202D_202A_202A_200C_206E_206C_206D_200D_202D_200F_202C_206C_202A_202D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206A_206D_206B_200C_200C_206D_206A_202B_202E_202A_206E_200C_202C_206B_206A_206E_206B_206F_206D_202D_200C_202D_206D_206F_206E_202C_200C_200F_202D_206F_200D_206B_206A_206C_200F_202A_200D_200C_200D_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202A_202E_206C_206B_202E_200F_206A_206C_202A_202B_200E_202C_206E_206C_200C_200C_200B_206E_206E_202B_200B_200F_200F_200D_206B_200E_200E_202C_200E_200E_200E_202A_202A_202C_200D_200E_206E_200D_202D_206C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass56_0 + { + public QuestMapComponent _003C_003E4__this; + + public Dictionary territoryQuests; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal ZoneEntry _003CRebuildZoneList_003Eb__1(ushort id) + { + string name = _003C_003E4__this._territoryData.GetName(id); + string mapIdForTerritory = _003C_003E4__this.GetMapIdForTerritory(id); + int num = territoryQuests[id]; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1509869170)); + defaultInterpolatedStringHandler.AppendFormatted(num); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(362456123)); + defaultInterpolatedStringHandler.AppendFormatted((num != 1) ? global::_003CModule_003E._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(1550583417) : global::_003CModule_003E._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(1281927779)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + string text = defaultInterpolatedStringHandler.ToStringAndClear(); + int num2 = ((name != null) ? 1994970144 : 1994970147); + string text2; + while (true) + { + int num3 = num2; + int num4 = 1994970145; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 0: + goto IL_00eb; + case 1: + text2 = _200E_202E_206F_202A_200E_202C_202B_200C_202E_200B_202D_200D_206F_202B_206F_206F_200F_202C_202A_202E_200C_206E_206C_200B_206C_206A_206E_206B_202C_200E_200E_202A_200F_206E_200F_202B_206F_200C_202D_202E(name, global::_003CModule_003E._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(2018550958), text); + break; + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(6, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-950100909)); + defaultInterpolatedStringHandler2.AppendFormatted(id); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(751790982)); + defaultInterpolatedStringHandler2.AppendFormatted(text); + text2 = defaultInterpolatedStringHandler2.ToStringAndClear(); + break; + } + } + break; + IL_00eb: + num2 = 1994970147; + } + string displayName = text2; + string text3 = name; + if (text3 == null) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(1749272606)); + defaultInterpolatedStringHandler3.AppendFormatted(id); + text3 = defaultInterpolatedStringHandler3.ToStringAndClear(); + } + return new ZoneEntry(id, text3, displayName, mapIdForTerritory); + } + + static string _200E_202E_206F_202A_200E_202C_202B_200C_202E_200B_202D_200D_206F_202B_206F_206F_200F_202C_202A_202E_200C_206E_206C_200B_206C_206A_206E_206B_202C_200E_200E_202A_200F_206E_200F_202B_206F_200C_202D_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + } + + 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] + { + global::_003CModule_003E._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(-20470898), + global::_003CModule_003E._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(-642419134), + global::_003CModule_003E._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(1953363253), + global::_003CModule_003E._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(718683105), + global::_003CModule_003E._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(-1267300956) + }; + + 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; } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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 = _202C_206A_200F_200F_206D_206D_206A_202A_202E_206F_206B_202D_206E_206E_206B_206F_200E_206B_206A_206B_206C_206C_206F_200B_202A_202B_202E_206D_202C_206F_200E_206D_202B_202B_200B_202C_206B_200F_202D_206B_202E(textureProvider, dataManager, loggerFactory.CreateLogger()); + _dataManager = dataManager; + _questRegistry = questRegistry; + _questData = questData; + _uiUtils = uiUtils; + _territoryData = territoryData; + _questFunctions = questFunctions; + _questTooltipComponent = questTooltipComponent; + _gameGui = gameGui; + _clientState = clientState; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void DrawQuestMap() + { + int num = ((!_needsRebuild) ? (-455274411) : (-455274409)); + while (true) + { + int num2 = num; + int num3 = -455274412; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + { + ZoneEntry zone = _zones[_selectedZoneIndex]; + DrawMapCanvas(zone); + return; + } + case 1: + DrawFilters(); + _206C_200C_200B_200E_206C_206C_202C_206B_200E_206D_206F_206F_206F_200C_200F_200F_200B_200E_202C_206C_202D_206B_206B_206A_206C_200D_200B_206C_200D_200D_202A_200D_206E_206A_206F_202A_206E_200C_200B_206D_202E(); + num = ((_zones.Count != 0) ? (-455274410) : (-455274416)); + break; + case 4: + UiThemeUtils.EmptyState(FontAwesomeIcon.Map, global::_003CModule_003E._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(1249481567)); + return; + case 3: + RebuildZoneList(); + _needsRebuild = false; + num = -455274411; + break; + case 0: + num = -455274409; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawFilters() + { + ImGuiStylePtr imGuiStylePtr = _206E_202C_202C_200C_206B_202E_200C_200E_206D_202B_200C_206F_200F_202C_206E_206E_202E_206A_200F_200D_206D_206C_206E_200C_202D_202A_200D_202E_206C_206F_200D_202B_202D_206E_202B_202C_200C_206C_206D_200C_202E(); + float num = 100f * _206A_206E_202C_200C_206E_206F_206A_200E_200F_206E_202B_202C_202B_202C_200D_202D_206A_202B_200B_200C_200C_206B_206F_206B_206E_206B_202C_200D_206D_200E_202D_202D_200D_202E_202B_206A_202A_206D_200B_206C_202E().FontGlobalScale; + float num2 = _202E_206F_202A_202D_206F_202D_200E_200B_202A_202B_206B_206A_206E_206F_200B_206B_200C_206C_200D_206A_206F_206C_202E_206F_206A_200E_206A_206E_202A_200C_206F_206D_202E_206C_202E_206F_200D_200F_206F_202B_202E((ImU8String)global::_003CModule_003E._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(59823971), false, -1f).X + imGuiStylePtr.FramePadding.X * 2f; + float num3 = _202C_200D_202B_200D_206C_206D_202E_206E_200B_206F_206A_206A_206A_200E_200B_200D_200F_200E_206B_206D_200C_206D_202E_202A_206D_200D_202A_206C_202E_202D_200F_206E_200F_200C_206C_200B_206D_206F_206F_200E_202E() + imGuiStylePtr.ItemInnerSpacing.X + _202E_206F_202A_202D_206F_202D_200E_200B_202A_202B_206B_206A_206E_206F_200B_206B_200C_206C_200D_206A_206F_206C_202E_206F_206A_200E_206A_206E_202A_200C_206F_206D_202E_206C_202E_206F_200D_200F_206F_202B_202E((ImU8String)global::_003CModule_003E._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(1722794526), false, -1f).X; + float num4 = num + num2 + num3 + imGuiStylePtr.ItemSpacing.X * 4f; + int num5 = ((_zones.Count <= 0) ? (-1339818219) : (-1339818224)); + int num11 = default(int); + while (true) + { + int num6 = num5; + int num7 = -1339818215; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + string text; + string previewOverride; + switch (num9 - (num10 + num10)) + { + case 5: + { + uint currentTerritory = _200C_202E_202D_206C_200D_200D_200D_202E_206F_200D_200D_200E_200E_202D_200B_200C_206B_202E_206D_202B_202D_200C_202E_206A_202E_200F_200F_206B_206D_202D_202B_202D_206D_206A_200E_202A_200C_202E_200C_200E_202E(_clientState); + num11 = _zones.FindIndex((ZoneEntry z) => z.TerritoryId == currentTerritory); + num5 = ((num11 < 0) ? (-1339818211) : (-1339818214)); + break; + } + case 10: + _200C_202D_206C_200F_200C_202D_202A_206B_200F_200B_206E_202D_200F_200C_200E_200F_200E_200E_206D_200E_206D_200D_202A_206E_206F_206B_200F_200F_200C_200B_202A_206F_200C_202C_206F_206D_200C_206F_200C_202D_202E((ImU8String)global::_003CModule_003E._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(760859895)); + num5 = -1339818215; + break; + case 6: + return; + case 2: + _202C_206D_200E_206C_206D_206C_200E_200F_202D_206D_200D_206D_200E_202B_200B_206B_202D_206C_206E_202B_206D_206E_202C_202B_206E_206D_200B_202D_202D_200D_200C_206A_202B_202E_200B_200D_202E_200B_206D_200F_202E(); + _206F_202D_206D_200B_202B_206C_202D_200D_202C_200F_200C_202A_206C_206B_202E_200B_202C_202E_206D_206F_206B_206F_202E_200E_206D_202C_200E_206D_200D_206B_202D_206E_206A_206D_206F_206A_200C_206B_202B_206A_202E(100f * _206A_206E_202C_200C_206E_206F_206A_200E_200F_206E_202B_202C_202B_202C_200D_202D_206A_202B_200B_200C_200C_206B_206F_206B_206E_206B_202C_200D_206D_200E_202D_202D_200D_202E_202B_206A_202A_206D_200B_206C_202E().FontGlobalScale); + num5 = ((!UiThemeUtils.ThemedCombo(global::_003CModule_003E._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(-1397940235), ref _selectedStatusFilter, _statusFilterNames, _statusFilterNames.Length)) ? (-1339818220) : (-1339818222)); + break; + case 0: + _202C_206D_200E_206C_206D_206C_200E_200F_202D_206D_200D_206D_200E_202B_200B_206B_202D_206C_206E_202B_206D_206E_202C_202B_206E_206D_200B_202D_202D_200D_200C_206A_202B_202E_200B_200D_202E_200B_206D_200F_202E(); + num5 = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(576385889), ref _showUnobtainable)) ? (-1339818209) : (-1339818216)); + break; + case 12: + text = global::_003CModule_003E._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(1811265581); + goto IL_026e; + case 14: + OnZoneChanged(); + num5 = -1339818213; + break; + case 7: + text = _zones[_selectedZoneIndex].DisplayName; + goto IL_026e; + case 13: + _202C_206D_200E_206C_206D_206C_200E_200F_202D_206D_200D_206D_200E_202B_200B_206B_202D_206C_206E_202B_206D_206E_202C_202B_206E_206D_200B_202D_202D_200D_200C_206A_202B_202E_200B_200D_202E_200B_206D_200F_202E(); + num5 = ((!UiThemeUtils.PillButton(global::_003CModule_003E._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(-636136137), selected: false)) ? (-1339818211) : (-1339818212)); + break; + case 9: + num5 = ((_selectedZoneIndex < _zones.Count) ? (-1339818210) : (-1339818219)); + break; + case 4: + num5 = ((!_206D_200F_202C_206D_206E_202D_202D_200C_200E_202B_200B_206B_206B_206F_200E_206C_206E_200E_202A_200D_202D_200C_200E_202E_206F_206E_206B_202E_200F_202B_202D_206C_206E_202B_206C_200B_202A_200E_206A_202C_202E()) ? (-1339818215) : (-1339818221)); + break; + case 11: + RebuildMarkers(); + num5 = -1339818220; + break; + case 3: + _selectedZoneIndex = num11; + OnZoneChanged(); + num5 = -1339818211; + break; + case 8: + num5 = -1339818224; + break; + case 1: + { + RebuildMarkers(); + num5 = -1339818209; + break; + } + IL_026e: + previewOverride = text; + num5 = ((!UiThemeUtils.SearchableCombo(global::_003CModule_003E._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(670206483), ref _selectedZoneIndex, _zoneItems, ref _zoneSearchText, 0f - num4, previewOverride)) ? (-1339818213) : (-1339818217)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static void DrawMapLegend(ImDrawListPtr drawList, Vector2 canvasPos, float canvasWidth) + { + (Vector4, string)[] array = new(Vector4, string)[4] + { + (UiThemeUtils.StatusAvailable, global::_003CModule_003E._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(-642419134)), + (UiThemeUtils.StatusComplete, global::_003CModule_003E._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(-636720262)), + (UiThemeUtils.StatusLocked, global::_003CModule_003E._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(773096941)), + (UiThemeUtils.StatusUnobtainable, global::_003CModule_003E._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(-1343348633)) + }; + float num = 0f; + (Vector4, string)[] array2 = array; + int num2 = 0; + int num3 = 1199359599; + float num10 = default(float); + float num11 = default(float); + float num12 = default(float); + while (true) + { + int num4 = num3; + int num5 = 1199359597; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 0: + return; + case 3: + { + (Vector4, string) tuple = array2[num2]; + Vector4 item = tuple.Item1; + string item2 = tuple.Item2; + float y = num10 + num11 * 0.5f; + drawList.AddCircleFilled(new Vector2(num12 + 4f, y), 4f, _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(item), 12); + num12 += 14f; + drawList.AddText(new Vector2(num12, num10), _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(UiThemeUtils.DimTextColor), item2); + num12 += _202E_206F_202A_202D_206F_202D_200E_200B_202A_202B_206B_206A_206E_206F_200B_206B_200C_206C_200D_206A_206F_206C_202E_206F_206A_200E_206A_206E_202A_200C_206F_206D_202E_206C_202E_206F_200D_200F_206F_202B_202E((ImU8String)item2, false, -1f).X + 14f; + int num13 = num2; + num5 = 1; + num6 = num13; + int num14 = num6 ^ num5; + int num15 = num6 & num5; + num2 = num14 + (num15 + num15); + num3 = 1199359593; + break; + } + case 5: + { + num -= 14f; + float num9 = canvasPos.X + canvasWidth - num - 8f; + num10 = canvasPos.Y + 8f; + num11 = _206D_206A_200F_206D_200C_206E_206C_200C_206F_200B_202D_200D_202B_200B_202E_200E_206C_206F_206E_202E_200F_202B_206D_200F_200D_200E_202C_200F_200C_206F_206E_200C_206A_200C_206E_200E_200F_202D_202E_206A_202E(); + Vector2 pMin = new Vector2(num9 - 8f, num10 - 2f); + Vector2 pMax = new Vector2(canvasPos.X + canvasWidth, num10 + num11 + 2f); + Vector4 playButtonText = UiThemeUtils.PlayButtonText; + playButtonText.W = 0.75f; + drawList.AddRectFilled(pMin, pMax, _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(playButtonText), 3f); + num12 = num9; + array2 = array; + num2 = 0; + num3 = 1199359593; + break; + } + case 4: + num3 = ((num2 < array2.Length) ? 1199359598 : 1199359597); + break; + case 1: + { + string item3 = array2[num2].Item2; + num += 14f + _202E_206F_202A_202D_206F_202D_200E_200B_202A_202B_206B_206A_206E_206F_200B_206B_200C_206C_200D_206A_206F_206C_202E_206F_206A_200E_206A_206E_202A_200C_206F_206D_202E_206C_202E_206F_200D_200F_206F_202B_202E((ImU8String)item3, false, -1f).X + 14f; + int num16 = num2; + num5 = 1; + num6 = num16; + num2 = (num6 | num5) + (num6 & num5); + num3 = 1199359599; + break; + } + case 2: + num3 = ((num2 < array2.Length) ? 1199359596 : 1199359592); + break; + case 6: + num3 = 1199359599; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawMapCanvas(ZoneEntry zone) + { + //Discarded unreachable code: IL_0dfb + long num = _200C_200B_202A_202B_202A_206D_206D_206A_200D_200C_200B_206A_202A_206C_206B_206B_200F_202B_206E_202D_206E_202C_202A_206A_202E_206D_206E_200B_200C_200E_200C_202D_200E_202E_206C_200B_206F_206F_206A_206B_202E(); + long lastStyleRefresh = _lastStyleRefresh; + long num2 = num; + int num3 = ((~(~num2 + lastStyleRefresh) <= 3000) ? 277732529 : 277732528); + Vector2 vector3 = default(Vector2); + Vector2 vector2 = default(Vector2); + bool flag = default(bool); + ImDrawListPtr drawList = default(ImDrawListPtr); + Vector2 vector5 = default(Vector2); + IDalamudTextureWrap dalamudTextureWrap = default(IDalamudTextureWrap); + QuestMarker current = default(QuestMarker); + Vector2 vector6 = default(Vector2); + Vector2 center = default(Vector2); + bool flag4 = default(bool); + bool flag3 = default(bool); + Vector2 vector7 = default(Vector2); + bool flag2 = default(bool); + uint col3 = default(uint); + float num19 = default(float); + float num20 = default(float); + string text4 = default(string); + float num21 = default(float); + Vector2 pMin3 = default(Vector2); + Vector2 pMax3 = default(Vector2); + Vector2 pMax4 = default(Vector2); + Vector2 pMin4 = default(Vector2); + string text5 = default(string); + bool flag5 = default(bool); + IQuestInfo questInfo = default(IQuestInfo); + IQuestInfo questInfo2 = default(IQuestInfo); + while (true) + { + int num4 = num3; + int num5 = 277732535; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + string text7; + string text6; + Vector2 pos2; + switch (num7 - (num8 + num8)) + { + case 6: + { + Vector2 vector15 = _206B_202C_200B_200F_206D_206B_200F_202B_206F_206B_206A_202A_206A_206F_200F_200B_202D_202D_206E_200B_202B_200D_206A_200D_202D_202E_202E_200F_206B_200D_200C_202A_206C_200E_206E_206A_202C_206C_206B_202B_202E(); + vector3 = new Vector2(vector15.X, _206C_206B_206B_202E_206D_200F_206E_200C_206C_200B_206C_206D_206D_200E_206E_202B_206B_202B_206F_200D_200F_200C_202C_200C_206B_200C_206D_200D_206A_206B_206B_200F_202B_202E_206C_206D_202A_202E_202A_202B_202E(vector15.Y, 100f)); + vector2 = _202A_206A_202D_202C_200C_200F_206B_200E_206D_202A_206B_206B_202B_206D_200B_200D_206E_200F_200B_202D_202E_202C_200E_206A_200F_200E_200B_202C_206A_206F_202C_200D_206C_206D_206B_200D_206E_202B_206C_202A_202E(); + _206D_206B_202D_202C_206C_206D_202D_206E_200F_200C_202A_200F_202C_202B_202A_200D_200F_202A_200C_206E_206D_202A_206E_206C_200C_200E_202A_202B_206F_202A_202C_206A_206C_202B_206D_200F_206A_200B_202A_202E_202E((ImU8String)global::_003CModule_003E._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(-1235795883), vector3, ImGuiButtonFlags.None); + flag = _206D_200F_202C_206D_206E_202D_202D_200C_200E_202B_200B_206B_206B_206F_200E_206C_206E_200E_202A_200D_202D_200C_200E_202E_206F_206E_206B_202E_200F_202B_202D_206C_206E_202B_206C_200B_202A_200E_206A_202C_202E(); + drawList = _202A_200C_200F_200C_200D_200E_202D_200B_206C_200F_206C_200F_202C_200B_202B_202B_202B_202E_202C_206D_200D_200B_202B_202B_200C_206F_206D_200E_206F_200D_202C_206C_206A_206E_202E_206D_200F_206E_200F_206F_202E(); + vector5 = vector2 + vector3; + drawList.AddRectFilled(vector2, vector5, _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(UiThemeUtils.PlayButtonText)); + drawList.PushClipRect(vector2, vector5, intersectWithCurrentClipRect: true); + HandlePanZoom(vector2, vector3, flag); + num3 = ((!_centerOnMarker) ? 277732543 : 277732533); + break; + } + case 9: + text7 = global::_003CModule_003E._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(1310835118); + goto IL_0136; + case 2: + num3 = ((_selectedMarker == null) ? 277732543 : 277732532); + break; + case 10: + num3 = (_206F_206F_206F_206A_206B_206F_202D_206E_200E_202B_206D_206C_206E_200D_206A_206E_206A_200C_202A_206A_202E_202B_202C_200C_202C_206D_206F_206B_202D_206A_202A_206E_202C_206B_202D_206B_206D_200E_200F_206B_202E(_mapService) ? 277732542 : 277732531); + break; + case 0: + num3 = 277732528; + break; + case 8: + _206D_200F_202B_200B_206D_206E_202B_206D_200B_200E_206B_206D_206B_200F_206F_200C_200F_206A_206A_202A_200F_206F_202B_206E_202C_206C_202A_202E_206E_202C_206B_206D_206C_200C_202C_206F_206A_206E_200B_202E_202E(_mapService, (uint)zone.TerritoryId); + dalamudTextureWrap = _206C_200E_200D_200E_200C_200C_206D_202E_202D_206E_202D_200B_202E_206C_200E_202D_206C_206C_206F_200C_206B_202C_206C_200C_206A_202A_202E_206F_202C_206F_200B_206A_200E_202B_200E_202B_202E_206A_200E_200C_202E(_mapService); + num3 = ((dalamudTextureWrap == null) ? 277732541 : 277732530); + break; + case 7: + _lastStyleRefresh = num; + RefreshMarkerStyles(); + num3 = 277732529; + break; + case 3: + { + _centerOnMarker = false; + _zoom = 1f; + Vector2 vector18 = (_selectedMarker.MapPixelPos - new Vector2(1024f)) * _zoom; + _offset = -vector18; + num3 = 277732543; + break; + } + case 4: + text7 = global::_003CModule_003E._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(-250847286); + goto IL_0136; + case 5: + { + Vector2 vector16 = new Vector2(2048f * _zoom, 2048f * _zoom); + Vector2 vector17 = vector2 + _offset + vector3 * 0.5f - vector16 * 0.5f; + drawList.AddImage(_200E_202C_206C_200F_200E_206A_206C_202D_202D_206D_200D_202A_202D_202B_200C_202B_202C_202B_206D_206B_200E_200E_206A_200C_206C_200E_206C_206D_206F_206C_200F_206B_206B_200B_206B_202D_200D_202D_202A_200D_202E(dalamudTextureWrap), vector17, vector17 + vector16); + num3 = 277732534; + break; + } + case 1: + { + Vector2 vector = ScreenToMapPixel(vector2, vector2, vector3); + Vector2 vector4 = ScreenToMapPixel(vector5, vector2, vector3); + float num9 = 12f; + QuestMarker questMarker = null; + using (List.Enumerator enumerator = _currentMarkers.GetEnumerator()) + { + num3 = -1593489404; + while (true) + { + int num10 = num3; + num5 = -1593489408; + num6 = num10; + switch ((num6 | num5) - (num6 & num5)) + { + case 2: + num3 = -1593489404; + break; + case 10: + num3 = ((current.MapPixelPos.X > vector4.X + num9) ? (-1593489404) : (-1593489400)); + break; + case 3: + num3 = ((!(Vector2.Distance(_206A_200E_200B_206A_206A_206B_206C_200D_206C_200F_200B_206A_206A_206D_206B_202C_202E_202E_206F_206C_206A_200B_202C_202B_202B_206C_200D_202E_202A_206E_200B_206D_200C_202C_202B_206A_206A_202E_200D_202D_202E(), vector6) <= 8f * _202C_200B_206A_206E_202D_206C_202C_202E_206C_206F_206E_202B_200E_200F_202B_202D_202B_206C_206E_206E_206E_202D_202E_200D_200E_200B_200D_200F_206C_200C_206E_206B_200B_202C_206D_206F_200D_206C_206F_206C_202E(_zoom, 0.5f))) ? (-1593489404) : (-1593489399)); + break; + case 8: + num3 = ((current.MapPixelPos.Y < vector.Y - num9) ? (-1593489404) : (-1593489408)); + break; + case 7: + num3 = (_isDragging ? (-1593489404) : (-1593489405)); + break; + case 1: + { + vector6 = MapPixelToScreen(current.MapPixelPos, vector2, vector3); + uint col = _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(current.Color); + uint col2 = _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(new Vector4(0f, 0f, 0f, 0.8f)); + float num11 = 6f * _202C_200B_206A_206E_202D_206C_202C_202E_206C_206F_206E_202B_200E_200F_202B_202D_202B_206C_206E_206E_206E_202D_202E_200D_200E_200B_200D_200F_206C_200C_206E_206B_200B_202C_206D_206F_200D_206C_206F_206C_202E(_zoom, 0.5f); + drawList.AddCircleFilled(vector6, num11 + 1f, col2, 16); + drawList.AddCircleFilled(vector6, num11, col, 16); + num3 = ((!flag) ? (-1593489404) : (-1593489401)); + break; + } + case 9: + questMarker = current; + num3 = -1593489404; + break; + case 5: + current = enumerator.Current; + num3 = ((current.MapPixelPos.X < vector.X - num9) ? (-1593489404) : (-1593489398)); + break; + case 0: + num3 = ((current.MapPixelPos.Y > vector4.Y + num9) ? (-1593489404) : (-1593489407)); + break; + case 4: + num3 = (enumerator.MoveNext() ? (-1593489403) : (-1593489402)); + break; + case 6: + goto end_IL_035a; + } + continue; + end_IL_035a: + break; + } + } + DrawMapLegend(drawList, vector2, vector3.X); + num3 = ((_selectedMarker == null) ? 1621936261 : 1621936262); + while (true) + { + int num12 = num3; + num5 = 1621936263; + num6 = num12; + int num13 = num6 + num5; + int num14 = num6 & num5; + switch (num13 - (num14 + num14)) + { + default: + continue; + case 4: + num3 = 1621936262; + continue; + case 0: + num3 = ((!(center.Y <= vector5.Y)) ? 1621936261 : 1621936256); + continue; + case 6: + num3 = ((!(center.X <= vector5.X)) ? 1621936261 : 1621936260); + continue; + case 1: + center = MapPixelToScreen(_selectedMarker.MapPixelPos, vector2, vector3); + num3 = ((!(center.X >= vector2.X)) ? 1621936261 : 1621936257); + continue; + case 2: + flag4 = false; + flag3 = false; + if (_selectedMarker != null) + { + num3 = 1621936258; + continue; + } + goto IL_0cba; + case 3: + num3 = ((!(center.Y >= vector2.Y)) ? 1621936261 : 1621936263); + continue; + case 7: + { + float num30 = 6f * _202C_200B_206A_206E_202D_206C_202C_202E_206C_206F_206E_202B_200E_200F_202B_202D_202B_206C_206E_206E_206E_202D_202E_200D_200E_200B_200D_200F_206C_200C_206E_206B_200B_202C_206D_206F_200D_206C_206F_206C_202E(_zoom, 0.5f); + drawList.AddCircle(center, num30 + 3f, _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(new Vector4(1f, 1f, 1f, 0.9f)), 16, 2f); + num3 = 1621936261; + continue; + } + case 5: + { + Vector4 color = _selectedMarker.Color; + FontAwesomeIcon icon = _selectedMarker.Icon; + string status = _selectedMarker.Status; + string text = UiThemeUtils.CleanSeString(_selectedMarker.QuestName); + vector7 = _206A_200E_200B_206A_206A_206B_206C_200D_206C_200F_200B_206A_206A_206D_206B_202C_202E_202E_206F_206C_206A_200B_202C_202B_202B_206C_200D_202E_202A_206E_200B_206D_200C_202C_202B_206A_206A_202E_200D_202D_202E(); + flag2 = _200F_206C_206E_202D_206C_206B_206A_206B_200C_202B_200D_200E_200E_202E_206F_202E_202D_200E_206B_206C_206C_206E_206D_206B_200B_206C_202B_202C_202A_202E_202D_200B_202C_206E_202C_200B_202B_206B_202C_206B_202E(ImGuiMouseButton.Left); + Vector2 vector8 = new Vector2(vector2.X, vector5.Y - 34f); + Vector2 vector9 = vector5; + Vector2 pMin = vector8; + Vector2 pMax = vector9; + Vector4 playButtonText = UiThemeUtils.PlayButtonText; + playButtonText.W = 0.9f; + drawList.AddRectFilled(pMin, pMax, _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(playButtonText)); + Vector2 pMin2 = vector8; + Vector2 pMax2 = new Vector2(vector9.X, vector8.Y + 1f); + playButtonText = UiThemeUtils.AccentColor; + playButtonText.W = 0.4f; + drawList.AddRectFilled(pMin2, pMax2, _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(playButtonText)); + float y = vector8.Y + (34f - _206D_206A_200F_206D_200C_206E_206C_200C_206F_200B_202D_200D_202B_200B_202E_200E_206C_206F_206E_202E_200F_202B_206D_200F_200D_200E_202C_200F_200C_206F_206E_200C_206A_200C_206E_200E_200F_202D_202E_206A_202E()) * 0.5f; + float num15 = vector8.X + 10f; + string text2 = _206C_200C_200C_202B_200D_206C_202D_206B_206A_206F_206A_200E_200D_202A_200E_202E_202E_202E_202B_202A_202B_200C_202E_202C_202B_200E_200C_200B_202D_206C_200C_200B_206B_200B_206A_206D_206B_202C_202E_202D_202E(icon); + ImRaii.FontDisposable fontDisposable = _200E_200E_202B_206B_202E_206C_200B_202E_202D_202B_200C_202C_206C_200E_200D_202E_202A_200D_200B_206B_202C_206E_200C_202D_202C_200B_206F_202D_200F_200E_202E_202C_200E_200D_206E_200B_200D_200D_206B_200C_202E(_206E_206D_202A_206E_206B_206B_200B_200F_206D_200E_202D_200F_200E_202A_206A_200C_202D_206A_200D_202C_206D_200E_206D_206F_202D_206E_202D_202A_200D_200C_206E_206E_202A_200E_200D_200D_202E_200F_206F_206E_202E(), true); + Vector2 vector10; + try + { + vector10 = _202E_206F_202A_202D_206F_202D_200E_200B_202A_202B_206B_206A_206E_206F_200B_206B_200C_206C_200D_206A_206F_206C_202E_206F_206A_200E_206A_206E_202A_200C_206F_206D_202E_206C_202E_206F_200D_200F_206F_202B_202E((ImU8String)text2, false, -1f); + } + finally + { + num3 = ((fontDisposable == null) ? (-1319197121) : (-1319197124)); + while (true) + { + int num16 = num3; + num5 = -1319197123; + num6 = num16; + int num17 = num6 + num5; + int num18 = num6 & num5; + switch (num17 - (num18 + num18)) + { + case 2: + goto end_IL_08ba; + case 1: + _200C_200D_200F_206B_202D_202C_202B_202D_200E_200E_200C_200F_206E_200D_202B_206F_206F_200B_202B_206C_206D_206D_200B_206E_200B_206D_202A_206D_202A_206A_206B_202D_200E_200D_200C_200D_202E_202C_206F_206D_202E((IDisposable)fontDisposable); + num3 = -1319197121; + break; + case 0: + num3 = -1319197124; + break; + } + continue; + end_IL_08ba: + break; + } + } + drawList.AddText(_206E_206D_202A_206E_206B_206B_200B_200F_206D_200E_202D_200F_200E_202A_206A_200C_202D_206A_200D_202C_206D_200E_206D_206F_202D_206E_202D_202A_200D_200C_206E_206E_202A_200E_200D_200D_202E_200F_206F_206E_202E(), _206D_200E_202B_202E_206D_200C_206D_200E_202D_206F_206B_206A_206D_206C_200E_202A_206E_206C_200C_200F_202D_206B_200B_200B_206E_200B_202E_200F_200D_200F_206E_206D_206C_202C_206E_200C_202D_206C_206B_202E(), new Vector2(num15, y), _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(color), text2); + num15 += vector10.X + 6f; + col3 = _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(UiThemeUtils.PrimaryTextColor); + drawList.AddText(new Vector2(num15, y), col3, text); + num15 += _202E_206F_202A_202D_206F_202D_200E_200B_202A_202B_206B_206A_206E_206F_200B_206B_200C_206C_200D_206A_206F_206C_202E_206F_206A_200E_206A_206E_202A_200C_206F_206D_202E_206C_202E_206F_200D_200F_206F_202B_202E((ImU8String)text, false, -1f).X + 10f; + Vector2 pos = new Vector2(num15, y); + uint col4 = _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(color); + ImU8String text3 = new ImU8String(2, 1); + text3.AppendLiteral(global::_003CModule_003E._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(1542193285)); + text3.AppendFormatted(status); + text3.AppendLiteral(global::_003CModule_003E._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(-1991522223)); + drawList.AddText(pos, col4, text3); + num19 = vector8.Y + (34f - _206D_206A_200F_206D_200C_206E_206C_200C_206F_200B_202D_200D_202B_200B_202E_200E_206C_206F_206E_202E_200F_202B_206D_200F_200D_200E_202C_200F_200C_206F_206E_200C_206A_200C_206E_200E_200F_202D_202E_206A_202E() - 8f) * 0.5f; + num20 = vector9.X - 10f; + text4 = global::_003CModule_003E._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(-1775105392); + Vector2 vector11 = _202E_206F_202A_202D_206F_202D_200E_200B_202A_202B_206B_206A_206E_206F_200B_206B_200C_206C_200D_206A_206F_206C_202E_206F_206A_200E_206A_206E_202A_200C_206F_206D_202E_206C_202E_206F_200D_200F_206F_202B_202E((ImU8String)text4, false, -1f); + num21 = vector11.X + 16f; + float num22 = vector11.Y + 8f; + pMin3 = new Vector2(num20 - num21, num19); + pMax3 = new Vector2(num20, num19 + num22); + num3 = ((!(vector7.X >= pMin3.X)) ? 831584535 : 831584531); + goto IL_0a8b; + } + IL_0cba: + drawList.PopClipRect(); + if (!flag3) + { + break; + } + num3 = 831584530; + goto IL_0a8b; + IL_0a8b: + while (true) + { + int num23 = num3; + num5 = 831584529; + num6 = num23; + int num24 = num6 + num5; + int num25 = num6 & num5; + int num27; + Vector4 vector13; + int num26; + Vector4 vector12; + switch (num24 - (num25 + num25)) + { + case 9: + goto IL_0ae9; + case 13: + flag4 = true; + num3 = 831584529; + break; + case 14: + goto IL_0b23; + case 8: + goto IL_0b4e; + case 1: + goto IL_0b68; + case 10: + num3 = 831584531; + break; + case 6: + num27 = 0; + goto IL_0ba6; + case 11: + goto IL_0c2d; + case 0: + goto end_IL_0a8b; + case 12: + { + num27 = ((vector7.Y <= pMax3.Y) ? 1 : 0); + if (num27 == 0) + { + goto IL_0ba6; + } + Vector4 playButtonText = UiThemeUtils.AccentColor; + playButtonText.W = 0.25f; + vector13 = playButtonText; + goto IL_0bc5; + } + case 5: + { + num26 = ((vector7.Y <= pMax4.Y) ? 1 : 0); + if (num26 == 0) + { + goto IL_0d65; + } + Vector4 playButtonText = UiThemeUtils.AccentColor; + playButtonText.W = 0.25f; + vector12 = playButtonText; + goto IL_0d84; + } + case 2: + goto IL_0d1c; + case 3: + goto IL_0d47; + case 4: + num26 = 0; + goto IL_0d65; + case 7: + { + flag3 = true; + num3 = 831584538; + break; + } + IL_0d65: + vector12 = UiThemeUtils.AccentDimColor; + goto IL_0d84; + IL_0ba6: + vector13 = UiThemeUtils.AccentDimColor; + goto IL_0bc5; + IL_0d84: + drawList.AddRectFilled(col: _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(vector12), pMin: pMin4, pMax: pMax4, rounding: 3f); + drawList.AddText(new Vector2(pMin4.X + 8f, pMin4.Y + 4f), col3, text5); + num3 = ((((uint)num26 & (flag2 ? 1u : 0u)) == 0) ? 831584529 : 831584540); + break; + IL_0bc5: + drawList.AddRectFilled(col: _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(vector13), pMin: pMin3, pMax: pMax3, rounding: 3f); + drawList.AddText(new Vector2(pMin3.X + 8f, pMin3.Y + 4f), col3, text4); + num3 = ((((uint)num27 & (flag2 ? 1u : 0u)) == 0) ? 831584538 : 831584534); + break; + } + continue; + IL_0d47: + if (_selectedMarker == null) + { + goto end_IL_0613; + } + num3 = 831584537; + continue; + IL_0ae9: + num3 = ((!(vector7.Y >= pMin3.Y)) ? 831584535 : 831584541); + continue; + IL_0d1c: + num3 = ((!(vector7.X <= pMax3.X)) ? 831584535 : 831584536); + continue; + IL_0b4e: + if (!(_selectedMarker.WorldPos != Vector3.Zero)) + { + goto end_IL_0613; + } + goto IL_0b68; + IL_0b68: + num3 = ((!(vector7.Y >= pMin4.Y)) ? 831584533 : 831584532); + continue; + IL_0c2d: + num20 -= num21 + 6f; + text5 = global::_003CModule_003E._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(644196516); + Vector2 vector14 = _202E_206F_202A_202D_206F_202D_200E_200B_202A_202B_206B_206A_206E_206F_200B_206B_200C_206C_200D_206A_206F_206C_202E_206F_206A_200E_206A_206E_202A_200C_206F_206D_202E_206C_202E_206F_200D_200F_206F_202B_202E((ImU8String)text5, false, -1f); + float num28 = vector14.X + 16f; + float num29 = vector14.Y + 8f; + pMin4 = new Vector2(num20 - num28, num19); + pMax4 = new Vector2(num20, num19 + num29); + num3 = ((!(vector7.X >= pMin4.X)) ? 831584533 : 831584543); + continue; + IL_0b23: + num3 = ((!(vector7.X <= pMax4.X)) ? 831584533 : 831584528); + continue; + end_IL_0a8b: + break; + } + goto IL_0cba; + end_IL_0613: + break; + } + break; + } + num3 = ((!flag4) ? (-907725640) : (-907725635)); + while (true) + { + int num31 = num3; + num5 = -907725641; + num6 = num31; + int num32; + switch ((num6 | num5) - (num6 & num5)) + { + default: + continue; + case 20: + num3 = -907725635; + continue; + case 10: + num3 = ((_selectedMarker == null) ? (-907725640) : (-907725639)); + continue; + case 4: + num3 = ((!_isDragging) ? (-907725633) : (-907725658)); + continue; + case 17: + num32 = ((Vector2.Distance(_206A_200E_200B_206A_206A_206B_206C_200D_206C_200F_200B_206A_206A_206D_206B_202C_202E_202E_206F_206C_206A_200B_202C_202B_202B_206C_200D_202E_202A_206E_200B_206D_200C_202C_202B_206A_206A_202E_200D_202D_202E(), _dragStartPos) > 4f) ? 1 : 0); + goto IL_129f; + case 1: + num3 = (flag5 ? (-907725657) : (-907725647)); + continue; + case 0: + _questTooltipComponent.Draw(questInfo); + num3 = -907725645; + continue; + case 5: + { + Action? selectTabAction = SelectTabAction; + if (selectTabAction == null) + { + break; + } + selectTabAction(global::_003CModule_003E._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(529311826)); + num3 = -907725640; + continue; + } + case 9: + { + _selectedMarker = questMarker; + ImU8String imU8String = new ImU8String(12, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-807643088)); + imU8String.AppendFormatted(questMarker.QuestId); + _206C_206C_206F_200E_206E_202C_206A_202C_206A_202B_202E_202E_202E_200B_200D_200B_202D_206E_202B_202C_200F_206D_200D_200E_202C_200B_200B_200F_200F_206D_206C_202A_202B_206B_206D_200E_200E_200B_202E_202A_202E(imU8String, ImGuiPopupFlags.None); + num3 = -907725637; + continue; + } + case 21: + return; + case 16: + num3 = ((questMarker == null) ? (-907725637) : (-907725643)); + continue; + case 12: + num3 = ((_selectedMarker == null) ? (-907725662) : (-907725659)); + continue; + case 19: + { + Questionable.Model.Quest quest = null; + _questRegistry.TryGetQuest(_selectedMarker.QuestId, out quest); + QuestJournalUtils? questJournalUtils = QuestJournalUtils; + if (questJournalUtils == null) + { + return; + } + questJournalUtils.ShowContextMenu(questInfo2, quest, global::_003CModule_003E._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(-712598669)); + num3 = -907725662; + continue; + } + case 3: + num3 = (flag5 ? (-907725637) : (-907725634)); + continue; + case 18: + num3 = ((!_questData.TryGetQuestInfo(_selectedMarker.QuestId, out questInfo2)) ? (-907725662) : (-907725660)); + continue; + case 14: + { + QuestChainComponent? questChainComponent = QuestChainComponent; + if (questChainComponent == null) + { + goto case 5; + } + questChainComponent.SelectQuest(_selectedMarker.QuestId); + num3 = -907725646; + continue; + } + case 11: + _selectedMarker = questMarker; + num3 = -907725657; + continue; + case 13: + _selectedMarker = null; + num3 = -907725657; + continue; + case 7: + num3 = ((!_questData.TryGetQuestInfo(questMarker.QuestId, out questInfo)) ? (-907725645) : (-907725641)); + continue; + case 6: + num3 = ((questMarker == null) ? (-907725663) : (-907725636)); + continue; + case 8: + num32 = 0; + goto IL_129f; + case 2: + num3 = ((!_200F_206C_206E_202D_206C_206B_206A_206B_200C_202B_200D_200E_200E_202E_206F_202E_202D_200E_206B_206C_206C_206E_206D_206B_200B_206C_202B_202C_202A_202E_202D_200B_202C_206E_202C_200B_202B_206B_202C_206B_202E(ImGuiMouseButton.Right)) ? (-907725637) : (-907725644)); + continue; + case 22: + num3 = ((!flag) ? (-907725657) : (-907725638)); + continue; + case 15: + break; + IL_129f: + flag5 = (byte)num32 != 0; + num3 = ((!_200F_206C_206E_202D_206C_206B_206A_206B_200C_202B_200D_200E_200E_202E_206F_202E_202D_200E_206B_206C_206C_206E_206D_206B_200B_206C_202B_202C_202A_202E_202D_200B_202C_206E_202C_200B_202B_206B_202C_206B_202E(ImGuiMouseButton.Left)) ? (-907725657) : (-907725642)); + continue; + } + num3 = ((questMarker == null) ? (-907725645) : (-907725648)); + } + } + IL_0136: + text6 = text7; + pos2 = vector2 + vector3 * 0.5f - _202E_206F_202A_202D_206F_202D_200E_200B_202A_202B_206B_206A_206E_206F_200B_206B_200C_206C_200D_206A_206F_206C_202E_206F_206A_200E_206A_206E_202A_200C_206F_206D_202E_206C_202E_206F_200D_200F_206F_202B_202E((ImU8String)text6, false, -1f) * 0.5f; + drawList.AddText(pos2, _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(UiThemeUtils.DimTextColor), text6); + num3 = 277732534; + break; + } + } + } + + private void HandlePanZoom(Vector2 canvasPos, Vector2 canvasSize, bool isHovered) + { + ImGuiIOPtr imGuiIOPtr = _206A_206E_202C_200C_206E_206F_206A_200E_200F_206E_202B_202C_202B_202C_200D_202D_206A_202B_200B_200C_200C_206B_206F_206B_206E_206B_202C_200D_206D_200E_202D_202D_200D_202E_202B_206A_202A_206D_200B_206C_202E(); + int num = ((!isHovered) ? (-1220923858) : (-1220923861)); + while (true) + { + int num2 = num; + int num3 = -1220923860; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num7; + bool flag; + switch (num5 - (num6 + num6)) + { + case 6: + _isDragging = false; + return; + case 7: + num = ((!(_200D_206A_202E_206B_202D_206C_206A_206C_202D_206D_200F_200E_202D_200F_202A_200E_206A_200B_200E_200B_202D_200E_206D_202D_206E_206B_202A_202E_206B_206A_200E_200C_206E_206C_200F_206B_206C_202B_202A_206B_202E(imGuiIOPtr.MouseWheel) > 0.01f)) ? (-1220923858) : (-1220923864)); + break; + case 4: + { + float zoom = _zoom; + _zoom = _200B_202B_200F_202A_206C_206B_200C_200F_206E_202B_200F_200B_206A_206F_202A_202A_200E_202B_202A_202A_200B_200F_200E_202C_206F_200B_202A_206F_206D_206D_206F_206F_206B_202C_202B_206B_202D_206C_202D_200E_202E(_zoom + imGuiIOPtr.MouseWheel * 0.1f, 0.15f, 3f); + Vector2 vector = _206A_200E_200B_206A_206A_206B_206C_200D_206C_200F_200B_206A_206A_206D_206B_202C_202E_202E_206F_206C_206A_200B_202C_202B_202B_206C_200D_202E_202A_206E_200B_206D_200C_202C_202B_206A_206A_202E_200D_202D_202E() - canvasPos - canvasSize * 0.5f - _offset; + _offset -= vector * (_zoom / zoom - 1f); + num = -1220923858; + break; + } + case 2: + num = (_206C_206B_200D_202E_206C_206E_206A_200F_206E_206B_206B_202B_200E_202C_206D_200D_206C_206A_202A_206E_206D_206A_200F_206D_202C_202E_200E_200C_202D_202A_202E_206D_200B_206D_202A_202A_206C_206A_206F_200E_202E(ImGuiMouseButton.Left) ? (-1220923859) : (-1220923868)); + break; + case 9: + num7 = (_206C_206B_200D_202E_206C_206E_206A_200F_206E_206B_206B_202B_200E_202C_206D_200D_206C_206A_202A_206E_206D_206A_200F_206D_202C_202E_200E_200C_202D_202A_202E_206D_200B_206D_202A_202A_206C_206A_206F_200E_202E(ImGuiMouseButton.Middle) ? 1 : 0); + goto IL_016d; + case 1: + num7 = 1; + goto IL_016d; + case 0: + { + Vector2 vector2 = _206A_200E_200B_206A_206A_206B_206C_200D_206C_200F_200B_206A_206A_206D_206B_202C_202E_202E_206F_206C_206A_200B_202C_202B_202B_206C_200D_202E_202A_206E_200B_206D_200C_202C_202B_206A_206A_202E_200D_202D_202E(); + Vector2 vector3 = vector2 - _lastMousePos; + _offset += vector3; + _lastMousePos = vector2; + return; + } + case 8: + num = (_206C_206B_200D_202E_206C_206E_206A_200F_206E_206B_206B_202B_200E_202C_206D_200D_206C_206A_202A_206E_206D_206A_200F_206D_202C_202E_200E_200C_202D_202A_202E_206D_200B_206D_202A_202A_206C_206A_206F_200E_202E(ImGuiMouseButton.Right) ? (-1220923859) : (-1220923867)); + break; + case 10: + num = (_isDragging ? (-1220923860) : (-1220923863)); + break; + case 3: + num = -1220923861; + break; + case 5: + { + _isDragging = true; + _lastMousePos = _206A_200E_200B_206A_206A_206B_206C_200D_206C_200F_200B_206A_206A_206D_206B_202C_202E_202E_206F_206C_206A_200B_202C_202B_202B_206C_200D_202E_202A_206E_200B_206D_200C_202C_202B_206A_206A_202E_200D_202D_202E(); + _dragStartPos = _lastMousePos; + return; + } + IL_016d: + flag = (byte)num7 != 0; + num3 = (flag ? 1 : 0); + num4 = (isHovered ? 1 : 0); + num = (((num4 | num3) - (num4 ^ num3) == 0) ? (-1220923862) : (-1220923866)); + break; + } + } + } + + 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(); + IEnumerator enumerator = _questRegistry.AllQuests.GetEnumerator(); + int num; + try + { + num = 3510575; + QuestSequence questSequence = default(QuestSequence); + Questionable.Model.Quest current = default(Questionable.Model.Quest); + QuestStep questStep = default(QuestStep); + List<(ElementId, string, Vector3, bool)> value = default(List<(ElementId, string, Vector3, bool)>); + while (true) + { + int num2 = num; + int num3 = 3510575; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + questSequence = current.FindSequence(0); + num = ((questSequence == null) ? 3510575 : 3510565); + break; + case 3: + hashSet.Add(_202C_200D_202C_202A_206E_200C_200F_200E_206F_206A_200E_206D_202E_200C_202A_202C_206F_200F_206C_202C_200E_206E_206D_206B_202E_200D_202E_200C_200F_200E_202A_200F_202A_206A_206C_202D_200E_202B_202D_202A_202E(questStep)); + territoryQuests[_202C_200D_202C_202A_206E_200C_200F_200E_206F_206A_200E_206D_202E_200C_202A_202C_206F_200F_206C_202C_200E_206E_206D_206B_202E_200D_202E_200C_200F_200E_202A_200F_202A_206A_206C_202D_200E_202B_202D_202A_202E(questStep)] = territoryQuests.GetValueOrDefault(_202C_200D_202C_202A_206E_200C_200F_200E_206F_206A_200E_206D_202E_200C_202A_202C_206F_200F_206C_202C_200E_206E_206D_206B_202E_200D_202E_200C_200F_200E_202A_200F_202A_206A_206C_202D_200E_202B_202D_202A_202E(questStep)) + 1; + num = (_questsByTerritory.TryGetValue(_202C_200D_202C_202A_206E_200C_200F_200E_206F_206A_200E_206D_202E_200C_202A_202C_206F_200F_206C_202C_200E_206E_206D_206B_202E_200D_202E_200C_200F_200E_202A_200F_202A_206A_206C_202D_200E_202B_202D_202A_202E(questStep), out value) ? 3510567 : 3510571); + break; + case 8: + value.Add((current.Id, current.Info.Name, _202E_206F_206D_200B_200C_200D_200F_200F_202D_206F_202A_206A_206D_202A_202B_200D_200B_206D_202D_206C_206C_200E_202D_206B_206E_200D_206D_206C_202B_206A_200E_200F_200D_200B_200F_202E_200F_200D_206E_200F_202E(questStep).Value, true)); + num = 3510575; + break; + case 7: + questStep = _202B_206F_200E_206F_202E_206F_202E_206D_206D_200C_200C_200D_200F_202A_206A_206A_206C_206F_202B_202E_202E_202B_202A_200D_200D_202B_206A_200D_206A_200B_200F_206C_206D_200B_206A_200B_202E_202C_200B_202C_202E(questSequence)[0]; + num = ((_202C_200D_202C_202A_206E_200C_200F_200E_206F_206A_200E_206D_202E_200C_202A_202C_206F_200F_206C_202C_200E_206E_206D_206B_202E_200D_202E_200C_200F_200E_202A_200F_202A_206A_206C_202D_200E_202B_202D_202A_202E(questStep) == 0) ? 3510575 : 3510566); + break; + case 5: + num = 3510575; + break; + case 1: + current = enumerator.Current; + num = (_202C_206D_206E_202D_200C_206C_202D_206C_202B_200E_202A_200F_200C_202D_202C_202D_206C_202A_206C_206D_202C_200E_200E_206D_200E_200B_200D_200B_202D_202A_200B_206A_200E_206C_202C_206F_200D_202A_206F_202E_202E(current.Root) ? 3510575 : 3510573); + break; + case 4: + value = new List<(ElementId, string, Vector3, bool)>(); + _questsByTerritory[_202C_200D_202C_202A_206E_200C_200F_200E_206F_206A_200E_206D_202E_200C_202A_202C_206F_200F_206C_202C_200E_206E_206D_206B_202E_200D_202E_200C_200F_200E_202A_200F_202A_206A_206C_202D_200E_202B_202D_202A_202E(questStep)] = value; + num = 3510567; + break; + case 9: + num = ((!_202E_206F_206D_200B_200C_200D_200F_200F_202D_206F_202A_206A_206D_202A_202B_200D_200B_206D_202D_206C_206C_200E_202D_206B_206E_200D_206D_206C_202B_206A_200E_200F_200D_200B_200F_202E_200F_200D_206E_200F_202E(questStep).HasValue) ? 3510575 : 3510572); + break; + case 10: + num = ((_202B_206F_200E_206F_202E_206F_202E_206D_206D_200C_200C_200D_200F_202A_206A_206A_206C_206F_202B_202E_202E_202B_202A_200D_200D_202B_206A_200D_206A_200B_200F_206C_206D_200B_206A_200B_202E_202C_200B_202C_202E(questSequence).Count == 0) ? 3510575 : 3510568); + break; + case 0: + num = (_202E_202C_202B_206E_202C_206C_202A_200E_200C_200B_202E_200D_206F_206E_202C_200C_200E_206D_200E_200F_200F_202A_206D_200C_206A_200F_200E_200E_200E_200B_206D_200B_206F_206E_202E_200B_206C_206E_202B_206E_202E((IEnumerator)enumerator) ? 3510574 : 3510569); + break; + case 6: + goto end_IL_0046; + } + continue; + end_IL_0046: + break; + } + } + finally + { + num = ((enumerator == null) ? (-1429783768) : (-1429783765)); + while (true) + { + int num5 = num; + int num3 = -1429783766; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1429783765; + break; + case 2: + goto end_IL_028f; + case 1: + _200C_200D_200F_206B_202D_202C_202B_202D_200E_200E_200C_200F_206E_200D_202B_206F_206F_200B_202B_206C_206D_206D_200B_206E_200B_206D_202A_206D_202A_206A_206B_202D_200E_200D_200C_200D_202E_202C_206F_206D_202E((IDisposable)enumerator); + num = -1429783768; + break; + } + continue; + end_IL_028f: + break; + } + } + HashSet hashSet2 = new HashSet(_questRegistry.AllQuests.Select((Questionable.Model.Quest q) => q.Id)); + try + { + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + IEnumerator> enumerator2 = _questData.AllQuests.GetEnumerator(); + try + { + Level? valueNullable = default(Level?); + List<(ElementId, string, Vector3, bool)> value2 = default(List<(ElementId, string, Vector3, bool)>); + ushort num9 = default(ushort); + while (_202E_202C_202B_206E_202C_206C_202A_200E_200C_200B_202E_200D_206F_206E_202C_200C_200E_206D_200E_200F_200F_202A_206D_200C_206A_200F_200E_200E_200E_200B_206D_200B_206F_206E_202E_200B_206C_206E_202B_206E_202E((IEnumerator)enumerator2)) + { + var (elementId2, questInfo2) = (KeyValuePair)(ref enumerator2.Current); + if (!(elementId2 is QuestId questId) || hashSet2.Contains(elementId2)) + { + continue; + } + try + { + Lumina.Excel.Sheets.Quest? rowOrDefault = excelSheet.GetRowOrDefault((uint)(_202A_200F_206F_206D_206C_206C_206D_202C_202E_206E_202C_206A_200F_200D_202A_200D_202A_200E_200C_206F_200B_202D_200D_200D_206E_200F_206B_200E_206F_202E_206C_200F_206D_206F_206B_206D_202B_206A_206F_202E((ElementId)questId) + 65536)); + num = (rowOrDefault.HasValue ? 87324240 : 87324247); + while (true) + { + int num6 = num; + int num3 = 87324246; + int num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 5: + goto end_IL_03b5; + case 6: + valueNullable = rowOrDefault.Value.IssuerLocation.ValueNullable; + num = (valueNullable.HasValue ? 87324244 : 87324243); + break; + case 4: + value2 = new List<(ElementId, string, Vector3, bool)>(); + _questsByTerritory[num9] = value2; + num = 87324245; + break; + case 2: + num9 = (ushort)valueNullable.Value.Territory.RowId; + num = ((num9 != 0) ? 87324254 : 87324241); + break; + case 0: + num = 87324247; + break; + case 1: + goto end_IL_03b5; + case 7: + goto end_IL_03b5; + case 8: + hashSet.Add(num9); + territoryQuests[num9] = territoryQuests.GetValueOrDefault(num9) + 1; + num = (_questsByTerritory.TryGetValue(num9, out value2) ? 87324245 : 87324242); + break; + case 3: + { + Vector3 item = new Vector3(valueNullable.Value.X, valueNullable.Value.Y, valueNullable.Value.Z); + value2.Add((questId, questInfo2.Name, item, false)); + goto end_IL_03b5; + } + } + continue; + end_IL_03b5: + break; + } + } + catch + { + } + } + } + finally + { + num = ((enumerator2 == null) ? 311590421 : 311590422); + while (true) + { + int num10 = num; + int num3 = 311590423; + int num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_05b1; + case 1: + _200C_200D_200F_206B_202D_202C_202B_202D_200E_200E_200C_200F_206E_200D_202B_206F_206F_200B_202B_206C_206D_206D_200B_206E_200B_206D_202A_206D_202A_206A_206B_202D_200E_200D_200C_200D_202E_202C_206F_206D_202E((IDisposable)enumerator2); + num = 311590421; + break; + case 0: + num = 311590422; + break; + } + continue; + end_IL_05b1: + break; + } + } + } + catch + { + } + _zones = (from z in hashSet.Select([MethodImpl(MethodImplOptions.NoInlining)] (ushort id) => + { + string name = _territoryData.GetName(id); + string mapIdForTerritory = GetMapIdForTerritory(id); + int num13 = territoryQuests[id]; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1509869170)); + defaultInterpolatedStringHandler.AppendFormatted(num13); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(362456123)); + defaultInterpolatedStringHandler.AppendFormatted((num13 != 1) ? global::_003CModule_003E._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(1550583417) : global::_003CModule_003E._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(1281927779)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + string text = defaultInterpolatedStringHandler.ToStringAndClear(); + int num14 = ((name != null) ? 1994970144 : 1994970147); + string text2; + while (true) + { + int num15 = num14; + int num16 = 1994970145; + int num17 = num15; + int num18 = num17 + num16; + int num19 = num17 & num16; + switch (num18 - (num19 + num19)) + { + default: + continue; + case 0: + goto IL_00eb; + case 1: + text2 = _003C_003Ec__DisplayClass56_0._200E_202E_206F_202A_200E_202C_202B_200C_202E_200B_202D_200D_206F_202B_206F_206F_200F_202C_202A_202E_200C_206E_206C_200B_206C_206A_206E_206B_202C_200E_200E_202A_200F_206E_200F_202B_206F_200C_202D_202E(name, global::_003CModule_003E._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(2018550958), text); + break; + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(6, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-950100909)); + defaultInterpolatedStringHandler2.AppendFormatted(id); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(751790982)); + defaultInterpolatedStringHandler2.AppendFormatted(text); + text2 = defaultInterpolatedStringHandler2.ToStringAndClear(); + break; + } + } + break; + IL_00eb: + num14 = 1994970147; + } + string displayName = text2; + string text3 = name; + if (text3 == null) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(1749272606)); + defaultInterpolatedStringHandler3.AppendFormatted(id); + text3 = defaultInterpolatedStringHandler3.ToStringAndClear(); + } + return new ZoneEntry(id, text3, displayName, mapIdForTerritory); + }) + orderby z.Name + select z).ToList(); + _zoneItems = _zones.Select((ZoneEntry z) => z.DisplayName).ToArray(); + num = ((_zones.Count <= 0) ? 1345343028 : 1345343029); + while (true) + { + int num11 = num; + int num3 = 1345343028; + int num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1345343029; + break; + case 1: + { + uint currentTerritory = _200C_202E_202D_206C_200D_200D_200D_202E_206F_200D_200D_200E_200E_202D_200B_200C_206B_202E_206D_202B_202D_200C_202E_206A_202E_200F_200F_206B_206D_202D_202B_202D_206D_206A_200E_202A_200C_202E_200C_200E_202E(_clientState); + int num12 = _zones.FindIndex((ZoneEntry z) => z.TerritoryId == currentTerritory); + _selectedZoneIndex = ((num12 >= 0) ? num12 : _202C_206F_202A_200C_200C_202A_200D_206A_206E_206E_200C_206A_200E_206C_202A_200E_206A_202B_200C_202A_206C_206F_206E_206C_206F_200C_206F_206A_202E_206F_206B_206A_200F_206A_200F_200C_202B_206C_206E_206C_202E(_selectedZoneIndex, 0, _zones.Count - 1)); + RebuildMarkers(); + num = 1345343028; + break; + } + case 0: + return; + } + } + } + + private string GetMapIdForTerritory(ushort territoryId) + { + try + { + RowRef map = _dataManager.GetExcelSheet().GetRow(territoryId).Map; + int num = ((map.RowId == 0) ? 1831894853 : 1831894852); + while (true) + { + int num2 = num; + int num3 = 1831894853; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0077; + case 1: + return map.Value.Id.ExtractText(); + case 0: + goto end_IL_0049; + } + continue; + IL_0077: + num = 1831894852; + continue; + end_IL_0049: + break; + } + } + catch + { + } + return string.Empty; + } + + private Map? LoadMapRow(ushort territoryId) + { + try + { + TerritoryType row = _dataManager.GetExcelSheet().GetRow(territoryId); + int num = ((row.Map.RowId != 0) ? 818760685 : 818760684); + Map? result; + while (true) + { + int num2 = num; + int num3 = 818760685; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 2: + goto IL_0077; + case 1: + result = null; + break; + case 0: + result = row.Map.Value; + break; + } + break; + IL_0077: + num = 818760684; + } + return result; + } + catch + { + return null; + } + } + + private void OnZoneChanged() + { + _offset = Vector2.Zero; + _zoom = 0.5f; + _selectedMarker = null; + RebuildMarkers(); + } + + private void RebuildMarkers() + { + _currentMarkers.Clear(); + int num = ((_zones.Count == 0) ? (-1023750218) : (-1023750224)); + ZoneEntry zoneEntry = default(ZoneEntry); + List<(ElementId, string, Vector3, bool)> value = default(List<(ElementId, string, Vector3, bool)>); + Vector3 item3 = default(Vector3); + ElementId item = default(ElementId); + string item2 = default(string); + while (true) + { + int num2 = num; + int num3 = -1023750220; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + zoneEntry = _zones[_selectedZoneIndex]; + num = (_questsByTerritory.TryGetValue(zoneEntry.TerritoryId, out value) ? (-1023750223) : (-1023750219)); + break; + case 2: + return; + case 4: + num = ((_selectedZoneIndex < _zones.Count) ? (-1023750217) : (-1023750218)); + break; + case 0: + num = -1023750224; + break; + case 1: + return; + case 5: + { + Map? map = LoadMapRow(zoneEntry.TerritoryId); + using (List<(ElementId, string, Vector3, bool)>.Enumerator enumerator = value.GetEnumerator()) + { + num = -1798420317; + while (true) + { + int num7 = num; + num3 = -1798420317; + num4 = num7; + Vector2 vector; + Vector2 mapPixelPos; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + vector = new Vector2(WorldToMapPixel(item3.X, map.Value.OffsetX, (int)map.Value.SizeFactor), WorldToMapPixel(item3.Z, map.Value.OffsetY, (int)map.Value.SizeFactor)); + goto IL_01b0; + case 5: + vector = new Vector2(1024f + item3.X, 1024f + item3.Z); + goto IL_01b0; + case 8: + num = ((!PassesStatusFilter(item)) ? (-1798420317) : (-1798420316)); + break; + case 3: + num = (_questFunctions.IsQuestUnobtainable(item) ? (-1798420317) : (-1798420309)); + break; + case 7: + num = (map.HasValue ? (-1798420319) : (-1798420314)); + break; + case 0: + num = (enumerator.MoveNext() ? (-1798420315) : (-1798420318)); + break; + case 4: + num = -1798420317; + break; + case 6: + { + (ElementId, string, Vector3, bool) current = enumerator.Current; + item = current.Item1; + item2 = current.Item2; + item3 = current.Item3; + num = (_showUnobtainable ? (-1798420309) : (-1798420320)); + break; + } + case 1: + goto end_IL_010b; + IL_01b0: + mapPixelPos = vector; + _currentMarkers.Add(new QuestMarker(item, item2, mapPixelPos, item3)); + num = -1798420317; + break; + } + continue; + end_IL_010b: + break; + } + } + RefreshMarkerStyles(); + return; + } + } + } + } + + private void RefreshMarkerStyles() + { + int num; + using (List.Enumerator enumerator = _currentMarkers.GetEnumerator()) + { + num = -1929554673; + while (true) + { + int num2 = num; + int num3 = -1929554676; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1929554673; + break; + case 3: + num = (enumerator.MoveNext() ? (-1929554675) : (-1929554676)); + break; + case 1: + { + QuestMarker current = enumerator.Current; + (Vector4 Color, FontAwesomeIcon Icon, string Status) questStyle = _uiUtils.GetQuestStyle(current.QuestId); + Vector4 item = questStyle.Color; + FontAwesomeIcon item2 = questStyle.Icon; + string item3 = questStyle.Status; + current.Color = item; + current.Icon = item2; + current.Status = item3; + num = -1929554673; + break; + } + case 0: + goto end_IL_0018; + } + continue; + end_IL_0018: + break; + } + } + num = ((_selectedMarker == null) ? 638306356 : 638306357); + while (true) + { + int num7 = num; + int num3 = 638306359; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 638306357; + break; + case 1: + var (color, icon, status) = _uiUtils.GetQuestStyle(_selectedMarker.QuestId); + _selectedMarker.Color = color; + _selectedMarker.Icon = icon; + _selectedMarker.Status = status; + num = 638306356; + break; + case 2: + num = (_currentMarkers.Contains(_selectedMarker) ? 638306356 : 638306358); + break; + case 3: + _lastStyleRefresh = _200C_200B_202A_202B_202A_206D_206D_206A_200D_200C_200B_206A_202A_206C_206B_206B_200F_202B_206E_202D_206E_202C_202A_206A_202E_206D_206E_200B_200C_200E_200C_202D_200E_202E_206C_200B_206F_206F_206A_206B_202E(); + return; + } + } + } + + private bool PassesStatusFilter(ElementId questId) + { + int selectedStatusFilter = _selectedStatusFilter; + int num = 1; + int num2 = selectedStatusFilter; + int num3; + bool result = default(bool); + switch (~(~num2 + num)) + { + default: + num3 = -1323618443; + goto IL_0032; + case 2: + result = _questFunctions.IsQuestComplete(questId); + num3 = -1323618440; + goto IL_0032; + case 0: + goto IL_00cf; + case 1: + goto IL_0131; + case 3: + goto IL_0149; + IL_0032: + while (true) + { + int num4 = num3; + num = -1323618446; + num2 = num4; + int num5 = num2 + num; + int num6 = num2 & num; + int num8; + int num7; + switch (num5 - (num6 + num6)) + { + case 5: + goto IL_0084; + case 9: + goto end_IL_0032; + case 2: + num3 = -1323618443; + break; + case 12: + goto IL_00cf; + case 8: + result = true; + num3 = -1323618440; + break; + case 11: + num8 = ((!_questFunctions.IsReadyToAcceptQuest(questId)) ? 1 : 0); + goto IL_017f; + case 10: + return result; + case 7: + num3 = -1323618438; + break; + case 3: + goto IL_0131; + case 1: + goto IL_0149; + case 0: + num7 = 0; + goto IL_0172; + case 6: + num8 = 1; + goto IL_017f; + case 4: + { + num7 = ((!_questFunctions.IsQuestAcceptedOrComplete(questId)) ? 1 : 0); + goto IL_0172; + } + IL_0172: + result = (byte)num7 != 0; + num3 = -1323618440; + break; + IL_017f: + result = (byte)num8 != 0; + num3 = -1323618440; + break; + } + continue; + IL_0084: + num3 = ((!_questFunctions.IsReadyToAcceptQuest(questId)) ? (-1323618446) : (-1323618442)); + continue; + end_IL_0032: + break; + } + goto case 2; + IL_0149: + num3 = (_questFunctions.IsQuestLocked(questId) ? (-1323618444) : (-1323618439)); + goto IL_0032; + IL_00cf: + num3 = (_questFunctions.IsQuestLocked(questId) ? (-1323618446) : (-1323618441)); + goto IL_0032; + IL_0131: + result = _questFunctions.IsQuestAccepted(questId); + num3 = -1323618440; + goto IL_0032; + } + } + + public void SelectZone(ushort territoryId) + { + int num = ((!_needsRebuild) ? 798839994 : 798839997); + int num7 = default(int); + while (true) + { + int num2 = num; + int num3 = 798839993; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _selectedZoneIndex = num7; + OnZoneChanged(); + return; + case 3: + num7 = 0; + num = 798839996; + break; + case 0: + num = ((_zones[num7].TerritoryId != territoryId) ? 798839999 : 798839992); + break; + case 4: + RebuildZoneList(); + _needsRebuild = false; + num = 798839994; + break; + case 7: + num = 798839997; + break; + case 2: + return; + case 6: + { + int num8 = num7; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num7 = num9 + (num10 + num10); + num = 798839996; + break; + } + case 5: + num = ((num7 < _zones.Count) ? 798839993 : 798839995); + break; + } + } + } + + public void SelectQuest(ElementId questId, ushort territoryId) + { + SelectZone(territoryId); + using (List.Enumerator enumerator = _currentMarkers.GetEnumerator()) + { + int num = 924575683; + QuestMarker current = default(QuestMarker); + while (true) + { + int num2 = num; + int num3 = 924575683; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 924575683; + break; + case 0: + num = (enumerator.MoveNext() ? 924575687 : 924575682); + break; + case 2: + _selectedMarker = current; + _centerOnMarker = true; + return; + case 4: + current = enumerator.Current; + num = ((!_200C_206F_206D_206E_202B_202B_202D_206C_202A_200B_206D_202C_202E_206C_202D_200B_202E_206D_202C_202C_206C_200B_206B_206D_202A_202B_200C_206E_202E_206C_202E_206E_200E_200E_206B_206E_200B_206D_206E_206C_202E(current.QuestId, questId)) ? 924575683 : 924575681); + break; + case 1: + goto end_IL_001f; + } + continue; + end_IL_001f: + break; + } + } + 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)(_202A_200F_206F_206D_206C_206C_206D_202C_202E_206E_202C_206A_200F_200D_202A_200D_202A_200E_200C_206F_200B_202D_200D_200D_206E_200F_206B_200E_206F_202E_206C_200F_206D_206F_206B_206D_202B_206A_206F_202E((ElementId)questId2) + 65536)); + int num = ((!rowOrDefault.HasValue) ? 1567290571 : 1567290568); + Level? valueNullable = default(Level?); + Map? map = default(Map?); + while (true) + { + int num7 = num; + int num3 = 1567290569; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 1567290568; + break; + case 1: + valueNullable = rowOrDefault.Value.IssuerLocation.ValueNullable; + num = ((!valueNullable.HasValue) ? 1567290571 : 1567290570); + break; + case 3: + worldPos = new Vector3(valueNullable.Value.X, valueNullable.Value.Y, valueNullable.Value.Z); + map = LoadMapRow(territoryId); + num = ((!map.HasValue) ? 1567290571 : 1567290569); + break; + case 0: + mapPixelPos = new Vector2(WorldToMapPixel(worldPos.X, map.Value.OffsetX, (int)map.Value.SizeFactor), WorldToMapPixel(worldPos.Z, map.Value.OffsetY, (int)map.Value.SizeFactor)); + num = 1567290571; + break; + case 2: + goto end_IL_016b; + } + continue; + end_IL_016b: + break; + } + } + 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; + } + + static MapTextureService _202C_206A_200F_200F_206D_206D_206A_202A_202E_206F_206B_202D_206E_206E_206B_206F_200E_206B_206A_206B_206C_206C_206F_200B_202A_202B_202E_206D_202C_206F_200E_206D_202B_202B_200B_202C_206B_200F_202D_206B_202E(ITextureProvider P_0, IDataManager P_1, ILogger P_2) + { + return new MapTextureService(P_0, P_1, P_2); + } + + static void _206C_200C_200B_200E_206C_206C_202C_206B_200E_206D_206F_206F_206F_200C_200F_200F_200B_200E_202C_206C_202D_206B_206B_206A_206C_200D_200B_206C_200D_200D_202A_200D_206E_206A_206F_202A_206E_200C_200B_206D_202E() + { + ImGui.Separator(); + } + + static ImGuiStylePtr _206E_202C_202C_200C_206B_202E_200C_200E_206D_202B_200C_206F_200F_202C_206E_206E_202E_206A_200F_200D_206D_206C_206E_200C_202D_202A_200D_202E_206C_206F_200D_202B_202D_206E_202B_202C_200C_206C_206D_200C_202E() + { + return ImGui.GetStyle(); + } + + static ImGuiIOPtr _206A_206E_202C_200C_206E_206F_206A_200E_200F_206E_202B_202C_202B_202C_200D_202D_206A_202B_200B_200C_200C_206B_206F_206B_206E_206B_202C_200D_206D_200E_202D_202D_200D_202E_202B_206A_202A_206D_200B_206C_202E() + { + return ImGui.GetIO(); + } + + static Vector2 _202E_206F_202A_202D_206F_202D_200E_200B_202A_202B_206B_206A_206E_206F_200B_206B_200C_206C_200D_206A_206F_206C_202E_206F_206A_200E_206A_206E_202A_200C_206F_206D_202E_206C_202E_206F_200D_200F_206F_202B_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static float _202C_200D_202B_200D_206C_206D_202E_206E_200B_206F_206A_206A_206A_200E_200B_200D_200F_200E_206B_206D_200C_206D_202E_202A_206D_200D_202A_206C_202E_202D_200F_206E_200F_200C_206C_200B_206D_206F_206F_200E_202E() + { + return ImGui.GetFrameHeight(); + } + + static void _202C_206D_200E_206C_206D_206C_200E_200F_202D_206D_200D_206D_200E_202B_200B_206B_202D_206C_206E_202B_206D_206E_202C_202B_206E_206D_200B_202D_202D_200D_200C_206A_202B_202E_200B_200D_202E_200B_206D_200F_202E() + { + ImGui.SameLine(); + } + + static void _206F_202D_206D_200B_202B_206C_202D_200D_202C_200F_200C_202A_206C_206B_202E_200B_202C_202E_206D_206F_206B_206F_202E_200E_206D_202C_200E_206D_200D_206B_202D_206E_206A_206D_206F_206A_200C_206B_202B_206A_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static uint _200C_202E_202D_206C_200D_200D_200D_202E_206F_200D_200D_200E_200E_202D_200B_200C_206B_202E_206D_202B_202D_200C_202E_206A_202E_200F_200F_206B_206D_202D_202B_202D_206D_206A_200E_202A_200C_202E_200C_200E_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static bool _206D_200F_202C_206D_206E_202D_202D_200C_200E_202B_200B_206B_206B_206F_200E_206C_206E_200E_202A_200D_202D_200C_200E_202E_206F_206E_206B_202E_200F_202B_202D_206C_206E_202B_206C_200B_202A_200E_206A_202C_202E() + { + return ImGui.IsItemHovered(); + } + + static void _200C_202D_206C_200F_200C_202D_202A_206B_200F_200B_206E_202D_200F_200C_200E_200F_200E_200E_206D_200E_206D_200D_202A_206E_206F_206B_200F_200F_200C_200B_202A_206F_200C_202C_206F_206D_200C_206F_200C_202D_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static float _206D_206A_200F_206D_200C_206E_206C_200C_206F_200B_202D_200D_202B_200B_202E_200E_206C_206F_206E_202E_200F_202B_206D_200F_200D_200E_202C_200F_200C_206F_206E_200C_206A_200C_206E_200E_200F_202D_202E_206A_202E() + { + return ImGui.GetTextLineHeight(); + } + + static uint _202B_200E_202D_206A_206A_202D_202D_202D_202C_200F_200C_206E_206B_206B_200B_206F_206C_202D_202E_200C_202D_200F_206A_206B_206A_206B_200B_206E_200C_206C_202C_202A_200B_202D_200F_200B_202D_206E_206E_202A_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static long _200C_200B_202A_202B_202A_206D_206D_206A_200D_200C_200B_206A_202A_206C_206B_206B_200F_202B_206E_202D_206E_202C_202A_206A_202E_206D_206E_200B_200C_200E_200C_202D_200E_202E_206C_200B_206F_206F_206A_206B_202E() + { + return Environment.TickCount64; + } + + static Vector2 _206B_202C_200B_200F_206D_206B_200F_202B_206F_206B_206A_202A_206A_206F_200F_200B_202D_202D_206E_200B_202B_200D_206A_200D_202D_202E_202E_200F_206B_200D_200C_202A_206C_200E_206E_206A_202C_206C_206B_202B_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _206C_206B_206B_202E_206D_200F_206E_200C_206C_200B_206C_206D_206D_200E_206E_202B_206B_202B_206F_200D_200F_200C_202C_200C_206B_200C_206D_200D_206A_206B_206B_200F_202B_202E_206C_206D_202A_202E_202A_202B_202E(float P_0, float P_1) + { + return MathF.Max(P_0, P_1); + } + + static Vector2 _202A_206A_202D_202C_200C_200F_206B_200E_206D_202A_206B_206B_202B_206D_200B_200D_206E_200F_200B_202D_202E_202C_200E_206A_200F_200E_200B_202C_206A_206F_202C_200D_206C_206D_206B_200D_206E_202B_206C_202A_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static bool _206D_206B_202D_202C_206C_206D_202D_206E_200F_200C_202A_200F_202C_202B_202A_200D_200F_202A_200C_206E_206D_202A_206E_206C_200C_200E_202A_202B_206F_202A_202C_206A_206C_202B_206D_200F_206A_200B_202A_202E_202E(ImU8String P_0, Vector2 P_1, ImGuiButtonFlags P_2) + { + return ImGui.InvisibleButton(P_0, P_1, P_2); + } + + static ImDrawListPtr _202A_200C_200F_200C_200D_200E_202D_200B_206C_200F_206C_200F_202C_200B_202B_202B_202B_202E_202C_206D_200D_200B_202B_202B_200C_206F_206D_200E_206F_200D_202C_206C_206A_206E_202E_206D_200F_206E_200F_206F_202E() + { + return ImGui.GetWindowDrawList(); + } + + static bool _206D_200F_202B_200B_206D_206E_202B_206D_200B_200E_206B_206D_206B_200F_206F_200C_200F_206A_206A_202A_200F_206F_202B_206E_202C_206C_202A_202E_206E_202C_206B_206D_206C_200C_202C_206F_206A_206E_200B_202E_202E(MapTextureService P_0, uint P_1) + { + return P_0.LoadForTerritory(P_1); + } + + static IDalamudTextureWrap _206C_200E_200D_200E_200C_200C_206D_202E_202D_206E_202D_200B_202E_206C_200E_202D_206C_206C_206F_200C_206B_202C_206C_200C_206A_202A_202E_206F_202C_206F_200B_206A_200E_202B_200E_202B_202E_206A_200E_200C_202E(MapTextureService P_0) + { + return P_0.GetTextureWrap(); + } + + static ImTextureID _200E_202C_206C_200F_200E_206A_206C_202D_202D_206D_200D_202A_202D_202B_200C_202B_202C_202B_206D_206B_200E_200E_206A_200C_206C_200E_206C_206D_206F_206C_200F_206B_206B_200B_206B_202D_200D_202D_202A_200D_202E(IDalamudTextureWrap P_0) + { + return P_0.Handle; + } + + static bool _206F_206F_206F_206A_206B_206F_202D_206E_200E_202B_206D_206C_206E_200D_206A_206E_206A_200C_202A_206A_202E_202B_202C_200C_202C_206D_206F_206B_202D_206A_202A_206E_202C_206B_202D_206B_206D_200E_200F_206B_202E(MapTextureService P_0) + { + return P_0.IsSearching; + } + + static float _202C_200B_206A_206E_202D_206C_202C_202E_206C_206F_206E_202B_200E_200F_202B_202D_202B_206C_206E_206E_206E_202D_202E_200D_200E_200B_200D_200F_206C_200C_206E_206B_200B_202C_206D_206F_200D_206C_206F_206C_202E(float P_0, float P_1) + { + return Math.Max(P_0, P_1); + } + + static Vector2 _206A_200E_200B_206A_206A_206B_206C_200D_206C_200F_200B_206A_206A_206D_206B_202C_202E_202E_206F_206C_206A_200B_202C_202B_202B_206C_200D_202E_202A_206E_200B_206D_200C_202C_202B_206A_206A_202E_200D_202D_202E() + { + return ImGui.GetMousePos(); + } + + static bool _200F_206C_206E_202D_206C_206B_206A_206B_200C_202B_200D_200E_200E_202E_206F_202E_202D_200E_206B_206C_206C_206E_206D_206B_200B_206C_202B_202C_202A_202E_202D_200B_202C_206E_202C_200B_202B_206B_202C_206B_202E(ImGuiMouseButton P_0) + { + return ImGui.IsMouseReleased(P_0); + } + + static string _206C_200C_200C_202B_200D_206C_202D_206B_206A_206F_206A_200E_200D_202A_200E_202E_202E_202E_202B_202A_202B_200C_202E_202C_202B_200E_200C_200B_202D_206C_200C_200B_206B_200B_206A_206D_206B_202C_202E_202D_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static ImFontPtr _206E_206D_202A_206E_206B_206B_200B_200F_206D_200E_202D_200F_200E_202A_206A_200C_202D_206A_200D_202C_206D_200E_206D_206F_202D_206E_202D_202A_200D_200C_206E_206E_202A_200E_200D_200D_202E_200F_206F_206E_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _200E_200E_202B_206B_202E_206C_200B_202E_202D_202B_200C_202C_206C_200E_200D_202E_202A_200D_200B_206B_202C_206E_200C_202D_202C_200B_206F_202D_200F_200E_202E_202C_200E_200D_206E_200B_200D_200D_206B_200C_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static void _200C_200D_200F_206B_202D_202C_202B_202D_200E_200E_200C_200F_206E_200D_202B_206F_206F_200B_202B_206C_206D_206D_200B_206E_200B_206D_202A_206D_202A_206A_206B_202D_200E_200D_200C_200D_202E_202C_206F_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static float _206D_200E_202B_202E_206D_200C_206D_200E_202D_206F_206B_206A_206D_206C_200E_202A_206E_206C_200C_200F_202D_206B_200B_200B_206E_200B_202E_200F_200D_200F_206E_206D_206C_202C_206E_200C_202D_206C_206B_202E() + { + return ImGui.GetFontSize(); + } + + static Vector2 _206D_206A_206B_200F_206D_200F_200B_206A_200D_202E_206D_206C_206D_200C_206B_202A_206D_206C_206E_206A_206D_206E_200E_206E_200D_206E_202C_200D_202A_200F_202B_206A_202B_206A_202A_206C_202D_206C_206B_202D_202E(Vector2 P_0, Map P_1) + { + return MapUtil.WorldToMap(P_0, P_1); + } + + static MapLinkPayload _200C_202E_206E_200E_200D_206B_206A_202D_202D_206C_202C_206F_202E_202A_206D_206D_200D_202B_202C_206F_206E_202C_206B_206E_200E_202D_202E_206D_206C_200D_202C_200F_202A_202B_206C_200B_206C_206A_202E_202E(uint P_0, uint P_1, float P_2, float P_3, float P_4) + { + return new MapLinkPayload(P_0, P_1, P_2, P_3, P_4); + } + + static bool _206E_206D_202B_206D_202E_202E_206B_206F_200B_202B_200F_206B_206C_206B_206B_200C_202B_206A_202A_200C_206A_200F_202A_202B_206A_206F_202A_202D_202C_200E_206E_206A_202D_202C_200F_202D_202B_206C_206D_202E(IGameGui P_0, MapLinkPayload P_1) + { + return P_0.OpenMapWithMapLink(P_1); + } + + static void _206C_206C_206F_200E_206E_202C_206A_202C_206A_202B_202E_202E_202E_200B_200D_200B_202D_206E_202B_202C_200F_206D_200D_200E_202C_200B_200B_200F_200F_206D_206C_202A_202B_206B_206D_200E_200E_200B_202E_202A_202E(ImU8String P_0, ImGuiPopupFlags P_1) + { + ImGui.OpenPopup(P_0, P_1); + } + + static float _200D_206A_202E_206B_202D_206C_206A_206C_202D_206D_200F_200E_202D_200F_202A_200E_206A_200B_200E_200B_202D_200E_206D_202D_206E_206B_202A_202E_206B_206A_200E_200C_206E_206C_200F_206B_206C_202B_202A_206B_202E(float P_0) + { + return MathF.Abs(P_0); + } + + static float _200B_202B_200F_202A_206C_206B_200C_200F_206E_202B_200F_200B_206A_206F_202A_202A_200E_202B_202A_202A_200B_200F_200E_202C_206F_200B_202A_206F_206D_206D_206F_206F_206B_202C_202B_206B_202D_206C_202D_200E_202E(float P_0, float P_1, float P_2) + { + return Math.Clamp(P_0, P_1, P_2); + } + + static bool _206C_206B_200D_202E_206C_206E_206A_200F_206E_206B_206B_202B_200E_202C_206D_200D_206C_206A_202A_206E_206D_206A_200F_206D_202C_202E_200E_200C_202D_202A_202E_206D_200B_206D_202A_202A_206C_206A_206F_200E_202E(ImGuiMouseButton P_0) + { + return ImGui.IsMouseDown(P_0); + } + + static bool _202C_206D_206E_202D_200C_206C_202D_206C_202B_200E_202A_200F_200C_202D_202C_202D_206C_202A_206C_206D_202C_200E_200E_206D_200E_200B_200D_200B_202D_202A_200B_206A_200E_206C_202C_206F_200D_202A_206F_202E_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static List _202B_206F_200E_206F_202E_206F_202E_206D_206D_200C_200C_200D_200F_202A_206A_206A_206C_206F_202B_202E_202E_202B_202A_200D_200D_202B_206A_200D_206A_200B_200F_206C_206D_200B_206A_200B_202E_202C_200B_202C_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static ushort _202C_200D_202C_202A_206E_200C_200F_200E_206F_206A_200E_206D_202E_200C_202A_202C_206F_200F_206C_202C_200E_206E_206D_206B_202E_200D_202E_200C_200F_200E_202A_200F_202A_206A_206C_202D_200E_202B_202D_202A_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + + static Vector3? _202E_206F_206D_200B_200C_200D_200F_200F_202D_206F_202A_206A_206D_202A_202B_200D_200B_206D_202D_206C_206C_200E_202D_206B_206E_200D_206D_206C_202B_206A_200E_200F_200D_200B_200F_202E_200F_200D_206E_200F_202E(QuestStep P_0) + { + return P_0.Position; + } + + static bool _202E_202C_202B_206E_202C_206C_202A_200E_200C_200B_202E_200D_206F_206E_202C_200C_200E_206D_200E_200F_200F_202A_206D_200C_206A_200F_200E_200E_200E_200B_206D_200B_206F_206E_202E_200B_206C_206E_202B_206E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static ushort _202A_200F_206F_206D_206C_206C_206D_202C_202E_206E_202C_206A_200F_200D_202A_200D_202A_200E_200C_206F_200B_202D_200D_200D_206E_200F_206B_200E_206F_202E_206C_200F_206D_206F_206B_206D_202B_206A_206F_202E(ElementId P_0) + { + return P_0.Value; + } + + static int _202C_206F_202A_200C_200C_202A_200D_206A_206E_206E_200C_206A_200E_206C_202A_200E_206A_202B_200C_202A_206C_206F_206E_206C_206F_200C_206F_206A_202E_206F_206B_206A_200F_206A_200F_200C_202B_206C_206E_206C_202E(int P_0, int P_1, int P_2) + { + return Math.Clamp(P_0, P_1, P_2); + } + + static bool _200C_206F_206D_206E_202B_202B_202D_206C_202A_200B_206D_202C_202E_206C_202D_200B_202E_206D_202C_202C_206C_200B_206B_206D_202A_202B_200C_206E_202E_206C_202E_206E_200E_200E_206B_206E_200B_206D_206E_206C_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } +} diff --git a/Questionable/Questionable.Windows.JournalComponents/QuestRewardComponent.cs b/Questionable/Questionable.Windows.JournalComponents/QuestRewardComponent.cs index fe789b82..eae3d1d9 100644 --- a/Questionable/Questionable.Windows.JournalComponents/QuestRewardComponent.cs +++ b/Questionable/Questionable.Windows.JournalComponents/QuestRewardComponent.cs @@ -1,11 +1,16 @@ using System; +using System.Collections.Generic; +using System.Globalization; using System.Linq; 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.Raii; +using Dalamud.Plugin; using Questionable.Controller; using Questionable.Data; using Questionable.Model; @@ -15,6 +20,321 @@ 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) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202C_202E_202C_200D_202C_202B_206D_202B_200F_200D_202A_202B_206D_202B_202D_206A_202B_202B_206E_200E_202E_206E_202B_200B_200B_202D_202A_206E_200D_202C_206E_206B_200B_206D_206D_206C_202D_202D_206B_202A_202E(); + _200D_202E_200E_200E_206E_200B_202E_202C_200E_202A_200B_200D_206E_200D_200E_202C_200F_206D_202B_202D_200B_206C_200E_202D_200D_202A_206B_200C_200E_202A_200B_200E_206B_206B_206A_206E_200D_206E_200B_200E_202E(stringBuilder, global::_003CModule_003E._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(-478916716)); + _200D_202E_200E_200E_206E_200B_202E_202C_200E_202A_200B_200D_206E_200D_200E_202C_200F_206D_202B_202D_200B_206C_200E_202D_200D_202A_206B_200C_200E_202A_200B_200E_206B_206B_206A_206E_200D_206E_200B_200E_202E(stringBuilder, global::_003CModule_003E._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(556540328)); + int num = ((!PrintMembers(stringBuilder)) ? 641617468 : 641617469); + while (true) + { + int num2 = num; + int num3 = 641617468; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 641617469; + break; + case 0: + _206E_206F_202C_206B_206B_206E_200E_200B_206B_202D_202D_206C_202A_200C_206F_206A_206C_202B_206B_200F_200F_206A_200D_202C_200F_200D_206E_200F_202D_202A_200D_200C_206A_200D_200F_200E_206C_202D_200C_202C_202E(stringBuilder, '}'); + return _202E_202B_202B_200C_206E_200E_202C_202A_202E_202D_202E_206E_200B_200B_202A_202D_202D_202D_200C_206E_202E_200D_206C_200D_202C_202E_202C_206C_202E_206C_202E_200B_202B_206C_202B_200E_206F_200F_206F_200F_202E((object?)stringBuilder); + case 1: + _206E_206F_202C_206B_206B_206E_200E_200B_206B_202D_202D_206C_202A_200C_206F_206A_206C_202B_206B_200F_200F_206A_200D_202C_200F_200D_206E_200F_202D_202A_200D_200C_206A_200D_200F_200E_206C_202D_200C_202C_202E(stringBuilder, ' '); + num = 641617468; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200D_202E_200E_200E_206E_200B_202E_202C_200E_202A_200B_200D_206E_200D_200E_202C_200F_206D_202B_202D_200B_206C_200E_202D_200D_202A_206B_200C_200E_202A_200B_200E_206B_206B_206A_206E_200D_206E_200B_200E_202E(builder, global::_003CModule_003E._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(-1795909122)); + _200D_202E_200E_200E_206E_200B_202E_202C_200E_202A_200B_200D_206E_200D_200E_202C_200F_206D_202B_202D_200B_206C_200E_202D_200D_202A_206B_200C_200E_202A_200B_200E_206B_206B_206A_206E_200D_206E_200B_200E_202E(builder, Type.ToString()); + _200D_202E_200E_200E_206E_200B_202E_202C_200E_202A_200B_200D_206E_200D_200E_202C_200F_206D_202B_202D_200B_206C_200E_202D_200D_202A_206B_200C_200E_202A_200B_200E_206B_206B_206A_206E_200D_206E_200B_200E_202E(builder, global::_003CModule_003E._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(-1647495557)); + _200D_202E_200E_200E_206E_200B_202E_202C_200E_202A_200B_200D_206E_200D_200E_202C_200F_206D_202B_202D_200B_206C_200E_202D_200D_202A_206B_200C_200E_202A_200B_200E_206B_206B_206A_206E_200D_206E_200B_200E_202E(builder, GroupIndex.ToString()); + _200D_202E_200E_200E_206E_200B_202E_202C_200E_202A_200B_200D_206E_200D_200E_202C_200F_206D_202B_202D_200B_206C_200E_202D_200D_202A_206B_200C_200E_202A_200B_200E_206B_206B_206A_206E_200D_206E_200B_200E_202E(builder, global::_003CModule_003E._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(-955671083)); + _200B_206F_206B_202E_202D_200D_206D_200E_206C_206E_206A_202B_206C_200E_200F_202A_202B_206E_200B_200F_200C_202C_206F_200C_206B_206D_202B_206A_202B_206A_202A_200B_200B_200C_206F_206F_206C_206C_200E_202E(builder, (object?)Item); + return true; + } + + [CompilerGenerated] + public bool Equals(FlatRow other) + { + int num = ((!EqualityComparer.Default.Equals(Type, other.Type)) ? (-1578356657) : (-1578356658)); + while (true) + { + int num2 = num; + int num3 = -1578356660; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return EqualityComparer.Default.Equals(Item, other.Item); + case 2: + num = ((!EqualityComparer.Default.Equals(GroupIndex, other.GroupIndex)) ? (-1578356657) : (-1578356659)); + break; + case 3: + return false; + case 0: + num = -1578356658; + break; + } + } + } + + bool IEquatable.Equals(FlatRow other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder? _202C_202E_202C_200D_202C_202B_206D_202B_200F_200D_202A_202B_206D_202B_202D_206A_202B_202B_206E_200E_202E_206E_202B_200B_200B_202D_202A_206E_200D_202C_206E_206B_200B_206D_206D_206C_202D_202D_206B_202A_202E() + { + return new StringBuilder(); + } + + static StringBuilder? _200D_202E_200E_200E_206E_200B_202E_202C_200E_202A_200B_200D_206E_200D_200E_202C_200F_206D_202B_202D_200B_206C_200E_202D_200D_202A_206B_200C_200E_202A_200B_200E_206B_206B_206A_206E_200D_206E_200B_200E_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _206E_206F_202C_206B_206B_206E_200E_200B_206B_202D_202D_206C_202A_200C_206F_206A_206C_202B_206B_200F_200F_206A_200D_202C_200F_200D_206E_200F_202D_202A_200D_200C_206A_200D_200F_200E_206C_202D_200C_202C_202E(StringBuilder? P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string? _202E_202B_202B_200C_206E_200E_202C_202A_202E_202D_202E_206E_200B_200B_202A_202D_202D_202D_200C_206E_202E_200D_206C_200D_202C_202E_202C_206C_202E_206C_202E_200B_202B_206C_202B_200E_206F_200F_206F_200F_202E(object? P_0) + { + return P_0.ToString(); + } + + static StringBuilder? _200B_206F_206B_202E_202D_200D_206D_200E_206C_206E_206A_202B_206C_200E_200F_202A_202B_206E_200B_200F_200C_202C_206F_200C_206B_206D_202B_206A_202B_206A_202A_200B_200B_200C_206F_206F_206C_206C_200E_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + } + + private sealed record ItemGroup(string Label, EItemRewardType Type, List Items) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202D_200D_206C_202D_202B_202B_202D_200C_202A_202D_200E_200C_206C_202D_200F_202A_200E_206C_202C_200D_200C_206B_206A_206F_206F_206E_200E_206F_206B_206D_206F_206E_202E_202B_206B_200C_200F_206B_206D_206F_202E(typeof(ItemGroup).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206E_206B_206D_200B_206D_200B_200B_200C_206F_200B_206F_202A_206E_200E_200E_202C_202C_200E_202D_200F_200C_200B_202A_206F_200F_202C_206F_200E_206F_206B_206A_200B_202E_200D_202A_200B_206F_200B_206E_202C_202E(); + _200D_202C_202C_206A_206B_206E_202D_202A_202C_206F_206C_206F_202C_200E_206D_200C_206F_202E_200F_206A_200F_202B_206D_202D_202E_200D_200D_202B_200B_202D_202C_206F_202A_202C_206F_200D_202A_200E_206B_202B_202E(stringBuilder, global::_003CModule_003E._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(1409542577)); + _200D_202C_202C_206A_206B_206E_202D_202A_202C_206F_206C_206F_202C_200E_206D_200C_206F_202E_200F_206A_200F_202B_206D_202D_202E_200D_200D_202B_200B_202D_202C_206F_202A_202C_206F_200D_202A_200E_206B_202B_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-1981378509) : (-1981378512)); + while (true) + { + int num2 = num; + int num3 = -1981378510; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1981378512; + break; + case 2: + _202E_200B_206A_206F_200C_202A_206F_200D_202D_206D_202C_202E_206C_200D_202E_202A_200B_202E_202B_200F_202E_202D_206E_200C_200B_200F_206E_200F_206D_206A_202A_206D_206B_200D_206A_200B_202B_206F_202E_202E_202E(stringBuilder, ' '); + num = -1981378509; + break; + case 1: + _202E_200B_206A_206F_200C_202A_206F_200D_202D_206D_202C_202E_206C_200D_202E_202A_200B_202E_202B_200F_202E_202D_206E_200C_200B_200F_206E_200F_206D_206A_202A_206D_206B_200D_206A_200B_202B_206F_202E_202E_202E(stringBuilder, '}'); + return _202E_206C_200B_200D_206E_200C_206D_206C_206F_206A_206F_200B_202B_202B_202E_200C_206E_202C_200E_206D_202B_200D_200F_202E_206B_206C_200F_206E_202A_202A_200F_206A_206A_206C_202E_200D_206E_202C_200C_206A_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202B_202C_200D_206F_206D_202C_206E_206D_206C_200B_202E_206A_206F_206B_206F_202C_206D_200B_206F_200E_206A_200F_206A_200B_200E_206D_206D_202C_200C_202D_200E_206B_200B_206C_206E_202B_200D_202A_202C_202B_202E(); + _200D_202C_202C_206A_206B_206E_202D_202A_202C_206F_206C_206F_202C_200E_206D_200C_206F_202E_200F_206A_200F_202B_206D_202D_202E_200D_200D_202B_200B_202D_202C_206F_202A_202C_206F_200D_202A_200E_206B_202B_202E(builder, global::_003CModule_003E._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(502488726)); + _200C_200F_202B_206D_202D_202A_200F_206E_206B_206F_200D_206F_202D_206C_202B_206D_200C_206D_200E_206B_206F_206D_200F_200F_202A_202A_202D_202E_206E_200E_202D_206B_206A_206E_200C_206D_200E_200C_202E_200D_202E(builder, (object)Label); + _200D_202C_202C_206A_206B_206E_202D_202A_202C_206F_206C_206F_202C_200E_206D_200C_206F_202E_200F_206A_200F_202B_206D_202D_202E_200D_200D_202B_200B_202D_202C_206F_202A_202C_206F_200D_202A_200E_206B_202B_202E(builder, global::_003CModule_003E._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(149690329)); + _200D_202C_202C_206A_206B_206E_202D_202A_202C_206F_206C_206F_202C_200E_206D_200C_206F_202E_200F_206A_200F_202B_206D_202D_202E_200D_200D_202B_200B_202D_202C_206F_202A_202C_206F_200D_202A_200E_206B_202B_202E(builder, Type.ToString()); + _200D_202C_202C_206A_206B_206E_202D_202A_202C_206F_206C_206F_202C_200E_206D_200C_206F_202E_200F_206A_200F_202B_206D_202D_202E_200D_200D_202B_200B_202D_202C_206F_202A_202C_206F_200D_202A_200E_206B_202B_202E(builder, global::_003CModule_003E._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(-63277663)); + _200C_200F_202B_206D_202D_202A_200F_206E_206B_206F_200D_206F_202D_206C_202B_206D_200C_206D_200E_206B_206F_206D_200F_200F_202A_202A_202D_202E_206E_200E_202D_206B_206A_206E_200C_206D_200E_200C_202E_200D_202E(builder, (object)Items); + return true; + } + + [CompilerGenerated] + public bool Equals(ItemGroup? other) + { + int num = (((object)this == other) ? 1282595569 : 1282595575); + while (true) + { + int num2 = num; + int num3 = 1282595568; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return true; + case 2: + num = ((!_200F_200F_202A_206B_202A_200D_206A_206C_206B_206A_206C_202C_202C_202A_206D_206B_202A_202A_202C_206E_202A_206B_206D_206F_200C_200B_206F_202E_200F_200C_202C_206A_200E_202C_200F_206A_206B_202A_200F_200E_202E(EqualityContract, other.EqualityContract)) ? 1282595572 : 1282595573); + break; + case 7: + num = (((object)other == null) ? 1282595572 : 1282595570); + break; + case 6: + num = 1282595575; + break; + case 5: + num = ((!EqualityComparer.Default.Equals(Label, other.Label)) ? 1282595572 : 1282595571); + break; + case 4: + return false; + case 0: + return EqualityComparer>.Default.Equals(Items, other.Items); + case 3: + num = ((!EqualityComparer.Default.Equals(Type, other.Type)) ? 1282595572 : 1282595568); + break; + } + } + } + + bool IEquatable.Equals(ItemGroup? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202D_200D_206C_202D_202B_202B_202D_200C_202A_202D_200E_200C_206C_202D_200F_202A_200E_206C_202C_200D_200C_206B_206A_206F_206F_206E_200E_206F_206B_206D_206F_206E_202E_202B_206B_200C_200F_206B_206D_206F_202E(RuntimeTypeHandle P_0) + { + return System.Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206E_206B_206D_200B_206D_200B_200B_200C_206F_200B_206F_202A_206E_200E_200E_202C_202C_200E_202D_200F_200C_200B_202A_206F_200F_202C_206F_200E_206F_206B_206A_200B_202E_200D_202A_200B_206F_200B_206E_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200D_202C_202C_206A_206B_206E_202D_202A_202C_206F_206C_206F_202C_200E_206D_200C_206F_202E_200F_206A_200F_202B_206D_202D_202E_200D_200D_202B_200B_202D_202C_206F_202A_202C_206F_200D_202A_200E_206B_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202E_200B_206A_206F_200C_202A_206F_200D_202D_206D_202C_202E_206C_200D_202E_202A_200B_202E_202B_200F_202E_202D_206E_200C_200B_200F_206E_200F_206D_206A_202A_206D_206B_200D_206A_200B_202B_206F_202E_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202E_206C_200B_200D_206E_200C_206D_206C_206F_206A_206F_200B_202B_202B_202E_200C_206E_202C_200E_206D_202B_200D_200F_202E_206B_206C_200F_206E_202A_202A_200F_206A_206A_206C_202E_200D_206E_202C_200C_206A_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202B_202C_200D_206F_206D_202C_206E_206D_206C_200B_202E_206A_206F_206B_206F_202C_206D_200B_206F_200E_206A_200F_206A_200B_200E_206D_206D_202C_200C_202D_200E_206B_200B_206C_206E_202B_200D_202A_202C_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200C_200F_202B_206D_202D_202A_200F_206E_206B_206F_200D_206F_202D_206C_202B_206D_200C_206D_200E_206B_206F_206D_200F_200F_202A_202A_202D_202E_206E_200E_202D_206B_206A_206E_200C_206D_200E_200C_202E_200D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200F_200F_202A_206B_202A_200D_206A_206C_206B_206A_206C_202C_202C_202A_206D_206B_202A_202A_202C_206E_202A_206B_206D_206F_200C_200B_206F_202E_200F_200C_202C_206A_200E_202C_200F_206A_206B_202A_200F_200E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass22_0 + { + public EItemRewardType type; + + public QuestRewardComponent _003C_003E4__this; + + internal bool _003CGetFilteredItems_003Eb__0(ItemReward x) + { + return x.Type == type; + } + + internal bool _003CGetFilteredItems_003Eb__2(ItemReward x) + { + int num = (_003C_003E4__this._showEventRewards ? (-346188384) : (-346188382)); + IQuestInfo questInfo2 = default(IQuestInfo); + QuestInfo questInfo = default(QuestInfo); + while (true) + { + int num2 = num; + int num3 = -346188380; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + return true; + case 6: + num = ((!_003C_003E4__this._questData.TryGetQuestInfo(x.ElementId, out questInfo2)) ? (-346188384) : (-346188380)); + break; + case 8: + num = -346188382; + break; + case 3: + num = (_200F_206E_200F_202D_206D_202D_200B_206B_202B_200E_206A_202A_200C_202E_200B_206B_202E_200C_206F_202B_200C_200E_206E_202E_200D_200E_200C_200E_200F_200C_202A_206A_206E_202E_202E_206F_206A_206D_202B_202C_202E(x.Name, _003C_003E4__this._searchText, StringComparison.OrdinalIgnoreCase) ? (-346188383) : (-346188379)); + break; + case 7: + num = ((!questInfo.IsSeasonalEvent) ? (-346188384) : (-346188378)); + break; + case 2: + return false; + case 0: + questInfo = questInfo2 as QuestInfo; + num = ((questInfo == null) ? (-346188384) : (-346188381)); + break; + case 1: + return false; + case 4: + num = (_202C_206C_206E_200D_202B_202C_200D_200B_206B_202A_206A_202E_206A_206E_206C_206B_200D_200D_200E_200E_200F_200F_200F_202D_202E_206C_206E_200C_200C_200F_202E_200F_206D_200E_206B_202A_206D_206F_202D_206A_202E(_003C_003E4__this._searchText) ? (-346188383) : (-346188377)); + break; + } + } + } + + static bool _202C_206C_206E_200D_202B_202C_200D_200B_206B_202A_206A_202E_206A_206E_206C_206B_200D_200D_200E_200E_200F_200F_200F_202D_202E_206C_206E_200C_200C_200F_202E_200F_206D_200E_206B_202A_206D_206F_202D_206A_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _200F_206E_200F_202D_206D_202D_200B_206B_202B_200E_206A_202A_200C_202E_200B_206B_202E_200C_206F_202B_200C_200E_206E_202E_200D_200E_200C_200E_200F_200C_202A_206A_206E_202E_202E_206F_206A_206D_202B_202C_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + } + private readonly QuestRegistry _questRegistry; private readonly QuestData _questData; @@ -23,77 +343,734 @@ 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 = _202A_200B_202B_202E_206E_200C_200F_206A_202B_206C_206B_206F_202C_202B_206C_206D_202A_206A_200C_200C_206B_206B_206B_202E_202C_206B_202C_202B_206F_200D_200E_202D_206E_206A_200E_200D_202A_202A_202E_206A_202E(9999.ToString(_206B_206C_202D_202C_202A_202A_206E_206C_200B_206B_206E_202A_200F_202A_200F_206B_206B_202C_206A_206D_200D_202C_206A_202D_202E_206F_202B_202E_206F_206A_200C_206A_206D_200F_200C_200F_200C_206E_206C_206A_202E())); + + 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() + [MethodImpl(MethodImplOptions.NoInlining)] + public unsafe void DrawItemRewards() { - using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Item Rewards"); - if (!(!tabItemDisposable)) + int num = (_initialized ? (-1982138496) : (-1982138492)); + int num11 = default(int); + while (true) { - 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); - } - } - - 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)) - { - return; - } - foreach (ItemReward item in _questData.RedeemableItems.Where((ItemReward x) => x.Type == type).OrderBy((ItemReward x) => x.Name, StringComparer.CurrentCultureIgnoreCase)) - { - if (!_questData.TryGetQuestInfo(item.ElementId, out IQuestInfo questInfo)) + int num2 = num; + int num3 = -1982138489; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - continue; + case 2: + _202E_200B_200B_202B_206A_200E_206E_202D_206A_200D_202E_200C_206F_202A_206E_206F_202B_200B_200D_206F_206E_202B_202A_206D_202C_202E_206E_206D_202D_200F_200D_202A_202C_202A_202A_206C_200B_200B_202E_200F_202E(); + _202C_206D_206A_200D_200D_206D_200C_200F_202E_202E_202A_200F_206A_202D_200B_202D_200E_202B_202B_200C_206C_202C_200D_202B_200C_202A_202A_206A_206A_202D_200E_200D_206F_202A_202B_206A_200B_206B_202C_206B_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(-315135606)); + _200C_200E_200D_200B_202C_206E_200C_202B_200F_200F_206F_202B_206A_202C_206A_206C_202D_206B_200C_206F_200F_206B_200D_206F_206D_200C_200E_200C_206C_206E_206C_202B_202C_202A_206F_200B_200F_206D_206B_202D_202E(); + num = ((_flatRows.Count != 0) ? (-1982138495) : (-1982138494)); + break; + case 0: + UpdateFilter(); + num = -1982138491; + break; + case 1: + UpdateFilter(); + num = -1982138481; + break; + case 5: + UiThemeUtils.EmptyState(FontAwesomeIcon.Gift, global::_003CModule_003E._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(-234196815)); + return; + case 3: + UpdateFilter(); + _initialized = true; + num = -1982138496; + break; + case 8: + _206A_200B_202E_206A_202E_200B_200C_200F_200C_202B_206A_202C_200F_200E_206A_202C_200D_200B_202E_202B_206F_206B_206B_202D_202B_206F_200C_200E_206B_206F_206C_200D_206F_200B_200D_206F_202B_200D_200B_200C_202E(); + num = ((!UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(-171889759), ref _showEventRewards)) ? (-1982138491) : (-1982138489)); + break; + case 4: + num = -1982138492; + break; + case 7: + { + float x2 = _202A_200D_200C_202C_200F_202E_206A_206E_200D_202E_202E_206A_200E_206B_206B_206E_200C_206D_200D_202D_200C_202C_206D_206A_200D_200C_206A_202B_202B_206A_206E_206B_206D_200B_200B_206D_206B_206E_202E().ItemSpacing.X; + float num16 = _202C_200B_206E_200D_206F_202E_202C_202E_200E_206A_200B_200F_200D_206E_206D_202A_200C_202A_206F_200F_206F_206A_200B_202C_200B_202B_202A_206B_200C_202C_202A_206A_200E_206A_202E_206C_202E_206A_200D_206F_202E() + _206B_200E_206D_202C_202B_206A_206B_200D_206D_200E_202B_206E_200C_200F_202A_200F_200D_206B_200D_202B_202D_206B_200F_202A_206E_200B_206D_200B_206B_206D_206A_202E_202B_202A_202E_206F_206F_200C_206A_206B_202E((ImU8String)global::_003CModule_003E._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(2144034824), false, -1f).X + 3f * x2; + num = ((!UiThemeUtils.SearchInput(global::_003CModule_003E._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(-1497394490), ref _searchText, 0f - num16, global::_003CModule_003E._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(-1473832797))) ? (-1982138481) : (-1982138490)); + break; } - bool flag = questInfo is QuestInfo questInfo2 && questInfo2.IsSeasonalEvent; - if (!_showEventRewards && flag) + case 6: { - 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; - } - using ImRaii.TooltipDisposable tooltipDisposable = ImRaii.Tooltip(); - if (tooltipDisposable.Alive) - { - ImU8String text2 = new ImU8String(15, 1); - text2.AppendLiteral("Obtained from: "); - text2.AppendFormatted(questInfo.Name); - ImGui.Text(text2); - using (ImRaii.PushIndent()) + IDisposable disposable = _200E_200D_202A_202A_206E_200C_206C_206C_206B_200D_202C_202A_206B_206D_206E_200C_206B_206B_202E_206F_200E_200B_200B_206F_206C_202E_202E_200C_202E_200E_206F_202C_206E_200B_202C_202B_200C_202E_206C_202A_202E(_200B_206D_206B_200F_200D_206C_200D_206A_200F_202A_200F_200F_200E_202A_200F_200F_206B_202B_200C_200F_202E_200B_202A_206B_202B_200B_200F_206E_206F_202A_206A_202B_202B_200C_206E_206B_200F_202C_206B_202E(_200B_200B_206C_206A_202A_206E_200F_206B_206D_206B_200B_200C_206E_200D_200E_202A_200B_200C_206E_202C_206A_200D_206E_206A_206C_206D_206D_202C_206E_200B_202B_202E_206E_206E_200B_200C_200F_206C_202B_200C_202E(_pluginInterface))); + float x; + try { - _questTooltipComponent.DrawInner(questInfo, showItemRewards: false); + x = _206B_200E_206D_202C_202B_206A_206B_200D_206D_200E_202B_206E_200C_200F_202A_200F_200D_206B_200D_202B_202D_206B_200F_202A_206E_200B_206D_200B_206B_206D_206A_202E_202B_202A_202E_206F_206F_200C_206A_206B_202E((ImU8String)_200F_206E_206C_206B_200B_200D_200E_206C_206F_200C_200B_202A_206E_206C_200D_200C_206A_206C_206E_200E_206F_202B_202B_202C_202E_202D_200F_206C_200C_206B_206B_200B_202A_202D_202B_202D_206F_200B_206A_202A_202E(FontAwesomeIcon.Check), false, -1f).X; + } + finally + { + num = ((disposable == null) ? 152155330 : 152155331); + while (true) + { + int num5 = num; + num3 = 152155330; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_0224; + case 1: + _200C_202C_202A_206B_202D_200E_206B_206E_202C_202E_206D_206C_202E_200D_206F_202D_206F_206C_206D_200F_200F_202D_200E_200F_206F_200B_206B_200E_202B_206D_206E_206E_202D_202E_206D_202E_202E_202D_202E_202D_202E(disposable); + num = 152155330; + break; + case 2: + num = 152155331; + break; + } + continue; + end_IL_0224: + break; + } + } + float fontGlobalScale = _202E_202E_206C_206B_202C_202E_202B_206C_206F_202A_206B_206B_206B_206F_202D_200B_206D_206E_200B_200F_200E_206D_200C_202A_206B_200C_202A_202D_202E_206F_202B_200D_202A_202E_206F_202A_206E_202D_202B_202C_202E().FontGlobalScale; + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(-1103037648), 2, ImGuiTableFlags.NoSavedSettings | ImGuiTableFlags.ScrollY); + num = ((!(!tableDisposable)) ? (-1408349333) : (-1408349336)); + while (true) + { + int num6 = num; + num3 = -1408349334; + num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_02e7; + case 2: + return; + case 1: + { + _206A_206D_202E_206D_202E_206C_200B_206A_200F_206C_206B_206E_200F_200B_206C_202C_202A_206E_202E_206C_202E_200F_200F_202D_206C_200C_206F_206E_206D_202E_202E_202B_206C_206C_200E_202C_202E_206F_202B_206B_202E((ImU8String)global::_003CModule_003E._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(261089734), ImGuiTableColumnFlags.WidthStretch, 0f, 0u); + _206A_206D_202E_206D_202E_206C_200B_206A_200F_206C_206B_206E_200F_200B_206C_202C_202A_206E_202E_206C_202E_200F_200F_202D_206C_200C_206F_206E_206D_202E_202E_202B_206C_206C_200E_202C_202E_206F_202B_206B_202E((ImU8String)global::_003CModule_003E._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(-906326596), ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale, 0u); + _200B_202A_206A_202B_206B_200B_206B_200F_206D_202A_202A_206B_200F_200B_206B_200F_202B_200C_206D_206E_200E_202B_206F_206B_200E_202B_202A_200C_200D_206E_206B_206A_200B_202B_200E_200E_202D_200C_206B_202E_202E(); + float num7 = _200F_206F_202D_200D_200E_202E_206D_206E_200D_200E_202D_202B_200D_202B_206D_206C_202A_200D_206F_200E_200F_206D_206F_200B_200C_200F_206F_206A_206B_200D_206D_200E_202A_200B_200D_206C_200E_200E_200E_200E_202E(); + bool flag = false; + ImGuiListClipper* intPtr = _206D_200C_200B_206E_206C_206B_206D_200F_202A_206A_202C_202C_206E_202E_200E_206F_200E_200F_202E_206B_200C_206E_206C_200F_202C_206F_202C_200F_202B_206E_206A_202C_202A_206F_206C_206B_200C_200F_206E_200F_202E(); + _200F_202D_200D_206E_200D_202D_202E_206E_202A_202E_200E_200C_206F_206A_206B_200F_206E_202E_206A_200D_202B_206D_206C_200B_206B_206A_206B_200C_200E_200D_200B_200E_206B_206B_200D_200E_200C_200B_200E_202A_202E(intPtr, _flatRows.Count, num7); + ImGuiListClipperPtr imGuiListClipperPtr = intPtr; + try + { + num = 1069013826; + while (true) + { + int num8 = num; + num3 = 1069013829; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 4: + { + int num12 = num11; + num3 = 1; + num4 = num12; + num11 = (num4 | num3) + (num4 & num3); + num = 1069013831; + break; + } + case 0: + num = ((!DrawFlatRow(_flatRows[num11], x)) ? 1069013825 : 1069013824); + break; + case 6: + num11 = imGuiListClipperPtr.DisplayStart; + num = 1069013831; + break; + case 7: + num = (imGuiListClipperPtr.Step() ? 1069013827 : 1069013828); + break; + case 3: + num = 1069013826; + break; + case 5: + flag = true; + num = 1069013825; + break; + case 2: + num = ((num11 < imGuiListClipperPtr.DisplayEnd) ? 1069013829 : 1069013826); + break; + case 1: + goto end_IL_0376; + } + continue; + end_IL_0376: + break; + } + } + finally + { + imGuiListClipperPtr.Destroy(); + } + num = ((!flag) ? (-1647057897) : (-1647057898)); + while (true) + { + int num13 = num; + num3 = -1647057897; + num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 2: + num = -1647057898; + break; + case 1: + RebuildFlatRows(); + num = -1647057897; + break; + case 0: + return; + } + } + } + } + continue; + IL_02e7: + num = -1408349336; } } + } } } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool DrawFlatRow(FlatRow row, float statusIconSpacing) + { + _206F_206F_200B_200E_200B_200C_200E_206A_202A_206F_202E_202A_200C_200C_200C_202C_202D_202B_200B_200C_202D_202E_200C_200B_206E_200C_202A_206D_200D_206B_206A_206B_202D_206D_200C_202A_206A_206E_202D_206C_202E(); + _202C_202C_202A_200E_206E_202E_206E_206D_200F_206A_202E_206B_200D_200F_206C_206A_202D_206A_200E_206B_206B_206D_206B_206D_206F_200F_202E_200F_200B_202B_202E_202D_200C_202C_200D_200D_206D_206B_206F_202A_202E(); + int num = ((row.Type != RowType.Group) ? 484356028 : 484356023); + ItemGroup itemGroup = default(ItemGroup); + bool flag2 = default(bool); + bool result = default(bool); + QuestInfo questInfo2 = default(QuestInfo); + ItemReward item = default(ItemReward); + bool flag = default(bool); + string text = default(string); + Vector4 color = default(Vector4); + bool flag3 = default(bool); + IQuestInfo questInfo = default(IQuestInfo); + while (true) + { + int num2 = num; + int num3 = 484356024; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + Vector4 vector; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 13: + vector = UiThemeUtils.StatusUnobtainable; + goto IL_0096; + case 8: + _expandedGroups.Add(itemGroup.Label); + num = 484356024; + continue; + case 15: + { + itemGroup = _filteredGroups[row.GroupIndex]; + flag2 = _expandedGroups.Contains(itemGroup.Label); + UiThemeUtils.DrawTrackerGroupCaret(_200B_206D_206B_200F_200D_206C_200D_206A_200F_202A_200F_200F_200E_202A_200F_200F_206B_202B_200C_200F_202E_200B_202A_206B_202B_200B_200F_206E_206F_202A_206A_202B_202B_200C_206E_206B_200F_202C_206B_202E(_200B_200B_206C_206A_202A_206E_200F_206B_206D_206B_200B_200C_206E_200D_200E_202A_200B_200C_206E_202C_206A_200D_206E_206A_206C_206D_206D_202C_206E_200B_202B_202E_206E_206E_200B_200C_200F_206C_202B_200C_202E(_pluginInterface)), flag2); + _206A_200B_202E_206A_202E_200B_200C_200F_200C_202B_206A_202C_200F_200E_206A_202C_200D_200B_202E_202B_206F_206B_206B_202D_202B_206F_200C_200E_206B_206F_206C_200D_206F_200B_200D_206F_202B_200D_200B_200C_202E(); + result = false; + ImU8String imU8String2 = new ImU8String(5, 2); + imU8String2.AppendFormatted(itemGroup.Label); + imU8String2.AppendLiteral(global::_003CModule_003E._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(169207648)); + imU8String2.AppendFormatted(row.GroupIndex); + num = ((!_206F_202D_200B_206E_206D_202D_206C_206B_206F_206E_200E_202A_206E_206A_202D_202A_206D_206C_200E_206F_200C_200B_202E_206B_200C_206F_200D_200D_202E_206C_206A_206B_200C_202C_200E_200F_206D_200D_206F_202C_202E(imU8String2, false, ImGuiSelectableFlags.None, default(Vector2))) ? 484356025 : 484356020); + continue; + } + case 12: + num = ((!flag2) ? 484356016 : 484356019); + continue; + case 2: + num = ((!questInfo2.IsSeasonalEvent) ? 484356029 : 484356018); + continue; + case 4: + { + item = row.Item; + float indentSpacing = _202A_200D_200C_202C_200F_202E_206A_206E_200D_202E_202E_206A_200E_206B_206B_206E_200C_206D_200D_202D_200C_202C_206D_206A_200D_200C_206A_202B_202B_206A_206E_206B_206D_200B_200B_206D_206B_206E_202E().IndentSpacing; + _202C_200C_206A_200E_206B_206C_202B_200B_202B_202B_202B_202E_202D_200F_200F_206B_202B_206D_200F_206D_200B_200C_206C_206A_200C_206D_200E_202C_202D_202A_200E_202D_206A_200B_206B_206E_202C_206A_202E_206B_202E(_202B_202B_202D_202E_202D_202E_206C_206C_206C_200C_206A_202A_202C_200E_202B_202A_202D_200D_200D_202A_200E_200C_202A_202E_200B_200E_202B_202A_200F_206E_200F_206F_200D_200C_202A_206C_202E_206B_206A_206E_202E() + indentSpacing); + flag = item.IsUnlocked(); + num = ((!_questRegistry.IsKnownQuest(item.ElementId)) ? 484356021 : 484356022); + continue; + } + case 14: + num = (flag ? 484356031 : 484356027); + continue; + case 7: + vector = UiThemeUtils.StatusComplete; + goto IL_0096; + case 5: + { + _202D_206F_206F_200D_206E_206C_200D_202B_202C_200C_202C_206E_202A_202D_202C_200B_206A_200E_202B_206B_202C_206E_206E_206E_202E_206E_200E_206F_200F_202A_206A_200F_206B_206D_206E_202A_206C_200C_206A_206D_202E((ImU8String)text, ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.SpanFullWidth, default(ImU8String)); + bool num11 = _206B_202C_202C_200D_202D_200D_200F_206B_206E_202B_200C_206E_206F_202E_206E_202B_200B_200B_200F_200C_200E_202C_206C_200B_200F_202D_200B_200E_202C_202D_202C_202B_206B_202B_200B_202C_206C_200F_206B_206F_202E(); + _202C_202C_202A_200E_206E_202E_206E_206D_200F_206A_202E_206B_200D_200F_206C_206A_202D_206A_200E_206B_206B_206D_206B_206D_206F_200F_202E_200F_200B_202B_202E_202D_200C_202C_200D_200D_206D_206B_206F_202A_202E(); + float num12 = _202C_206A_202C_206A_206F_206B_202D_206B_200E_200C_206A_200F_200C_206C_206F_202D_206C_202A_202C_202A_200D_202A_200F_206F_206D_200E_200F_202E_206A_202E_202E_200F_202A_206E_200E_206B_200F_206B_200F_200D_202E() / 2f - statusIconSpacing; + _202C_200C_206A_200E_206B_206C_202B_200B_202B_202B_202B_202E_202D_200F_200F_206B_202B_206D_200F_206D_200B_200C_206C_206A_200C_206D_200E_202C_202D_202A_200E_202D_206A_200B_206B_206E_202C_206A_202E_206B_202E(_202B_202B_202D_202E_202D_202E_206C_206C_206C_200C_206A_202A_202C_200E_202B_202A_202D_200D_200D_202A_200E_200C_202A_202E_200B_200E_202B_202A_200F_206E_200F_206F_200D_200C_202A_206C_202E_206B_206A_206E_202E() + num12); + FontAwesomeIcon icon = (flag ? FontAwesomeIcon.Check : FontAwesomeIcon.Times); + if ((num11 | _uiUtils.ChecklistItem(string.Empty, color, icon)) && flag3) + { + num = 484356030; + continue; + } + break; + } + case 0: + result = true; + num = 484356025; + continue; + case 3: + vector = UiThemeUtils.StatusLocked; + goto IL_0096; + case 9: + num = 484356023; + continue; + case 10: + text = _200E_206B_202E_202D_206A_202A_206F_200E_202D_202C_200F_206F_206E_202D_206B_200B_206E_202C_206E_200F_206F_206A_200B_206D_202E_200D_200F_202D_200F_206F_202E_200D_202A_206F_200E_202C_206D_206F_206D_202D_202E(text, global::_003CModule_003E._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(-324914973), _200B_206D_200D_202C_200B_206A_206F_200B_200C_202E_206E_202B_200B_206D_206F_202C_206C_200B_206F_202D_202A_200F_206B_202B_206D_206F_206E_200C_200B_202A_206C_206F_200E_206A_200E_202B_202A_200F_206E_200C_202E(SeIconChar.Clock)); + num = 484356029; + continue; + case 11: + _expandedGroups.Remove(itemGroup.Label); + num = 484356024; + continue; + case 1: + { + int num10 = itemGroup.Items.Count((ItemReward x) => x.IsUnlocked()); + int count = itemGroup.Items.Count; + _202C_202C_202A_200E_206E_202E_206E_206D_200F_206A_202E_206B_200D_200F_206C_206A_202D_206A_200E_206B_206B_206D_206B_206D_206F_200F_202E_200F_200B_202B_202E_202D_200C_202C_200D_200D_206D_206B_206F_202A_202E(); + UiThemeUtils.DrawTrackerCount(FormatCount(num10, count), num10 == count && count > 0, count == 0); + return result; + } + case 6: + { + using (ImRaii.TooltipDisposable tooltipDisposable = _200D_202E_202E_206B_206B_206C_200E_200E_202C_202D_202D_202C_206D_202B_200D_200C_200E_200C_206C_202C_200D_202D_206E_200D_200D_206F_202C_200E_202E_200C_202C_200D_206B_206C_200B_206F_206D_206A_202A_200C_202E()) + { + if (!tooltipDisposable.Alive) + { + break; + } + ImU8String imU8String = new ImU8String(15, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1862164514)); + imU8String.AppendFormatted(questInfo.Name); + _202A_206F_206F_200F_200F_202D_200C_200E_206C_200F_206D_206D_206E_202A_206E_200F_206F_200E_206F_202E_202D_202D_202A_206F_200E_202A_200F_202D_206C_200F_206C_202D_206F_202D_200F_206C_200E_202A_200C_206C_202E(imU8String); + ImRaii.IndentDisposable indentDisposable = _206E_206F_206F_202D_206F_200B_206B_206A_206C_202D_200D_206C_202B_206C_200B_206B_200F_206D_200B_202C_202B_200B_206C_202D_202D_200D_202A_202E_202D_200B_202D_200F_206E_202D_206A_206D_206B_206D_200C_206C_202E(1, true); + try + { + _questTooltipComponent.DrawInner(questInfo, showItemRewards: false); + } + finally + { + num = ((indentDisposable == null) ? (-2000233485) : (-2000233488)); + while (true) + { + int num7 = num; + num3 = -2000233487; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = -2000233488; + break; + case 2: + goto end_IL_0461; + case 1: + _200C_202C_202A_206B_202D_200E_206B_206E_202C_202E_206D_206C_202E_200D_206F_202D_206F_206C_206D_200F_200F_202D_200E_200F_206F_200B_206B_200E_202B_206D_206E_206E_202D_202E_206D_202E_202E_202D_202E_202D_202E((IDisposable)indentDisposable); + num = -2000233485; + break; + } + continue; + end_IL_0461: + break; + } + } + } + break; + } + IL_0096: + color = vector; + flag3 = _questData.TryGetQuestInfo(item.ElementId, out questInfo); + text = item.Name; + questInfo2 = questInfo as QuestInfo; + num = ((questInfo2 == null) ? 484356029 : 484356026); + continue; + } + break; + } + return false; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static string FormatCount(int n, int d) + { + int num = ((d == 0) ? 491542123 : 491542122); + while (true) + { + int num2 = num; + int num3 = 491542123; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0041; + case 0: + return _200E_206B_202E_202D_206A_202A_206F_200E_202D_202C_200F_206F_206E_202D_206B_200B_206E_202C_206E_200F_206F_206A_200B_206D_202E_200D_200F_202D_200F_206F_202E_200D_202A_206F_200E_202C_206D_206F_206D_202D_202E(_200C_200E_206F_200C_200F_202C_206A_200F_202E_206A_202B_206D_202D_202E_200E_202A_202D_206F_200E_206C_202B_206F_200B_202D_206E_206C_200B_202D_206B_206C_206D_202D_206B_206C_202D_202E_200F_202C_202A_202E(global::_003CModule_003E._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(-2079705286), CountPadWidth), global::_003CModule_003E._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(1762358294), _200C_200E_206F_200C_200F_202C_206A_200F_202E_206A_202B_206D_202D_202E_200E_202A_202D_206F_200E_206C_202B_206F_200B_202D_206E_206C_200B_202D_206B_206C_206D_202D_206B_206C_202D_202E_200F_202C_202A_202E(global::_003CModule_003E._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(-2079705286), CountPadWidth)); + case 1: + return _200E_206B_202E_202D_206A_202A_206F_200E_202D_202C_200F_206F_206E_202D_206B_200B_206E_202C_206E_200F_206F_206A_200B_206D_202E_200D_200F_202D_200F_206F_202E_200D_202A_206F_200E_202C_206D_206F_206D_202D_202E(_200F_202E_206C_200E_202E_202B_206C_202B_202C_200E_206B_202A_206C_206F_206C_202E_202E_202D_202D_200B_202A_200F_202B_202B_202E_200E_200C_200D_200C_206F_206B_200D_202B_200D_200B_202B_202A_202A_206C_200D_202E(n.ToString(_206B_206C_202D_202C_202A_202A_206E_206C_200B_206B_206E_202A_200F_202A_200F_206B_206B_202C_206A_206D_200D_202C_206A_202D_202E_206F_202B_202E_206F_206A_200C_206A_206D_200F_200C_200F_200C_206E_206C_206A_202E()), CountPadWidth), global::_003CModule_003E._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(1762358294), _200F_202E_206C_200E_202E_202B_206C_202B_202C_200E_206B_202A_206C_206F_206C_202E_202E_202D_202D_200B_202A_200F_202B_202B_202E_200E_200C_200D_200C_206F_206B_200D_202B_200D_200B_202B_202A_202A_206C_200D_202E(d.ToString(_206B_206C_202D_202C_202A_202A_206E_206C_200B_206B_206E_202A_200F_202A_200F_206B_206B_202C_206A_206D_200D_202C_206A_202D_202E_206F_202B_202E_206F_206A_200C_206A_206D_200F_200C_200F_200C_206E_206C_206A_202E()), CountPadWidth)); + } + continue; + IL_0041: + num = 491542122; + } + } + + private void RebuildFlatRows() + { + List list = new List(); + int num = 0; + ItemReward current = default(ItemReward); + while (num < _filteredGroups.Count) + { + ItemGroup itemGroup = _filteredGroups[num]; + list.Add(new FlatRow(RowType.Group, num, null)); + int num4; + int num5; + if (_expandedGroups.Contains(itemGroup.Label)) + { + using List.Enumerator enumerator = itemGroup.Items.GetEnumerator(); + int num2 = 1766502721; + while (true) + { + int num3 = num2; + num4 = 1766502721; + num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 3: + num2 = 1766502721; + break; + case 2: + list.Add(new FlatRow(RowType.Item, num, current)); + num2 = 1766502721; + break; + case 4: + { + current = enumerator.Current; + num2 = ((!_questData.TryGetQuestInfo(current.ElementId, out IQuestInfo _)) ? 1766502721 : 1766502723); + break; + } + case 0: + num2 = (enumerator.MoveNext() ? 1766502725 : 1766502720); + break; + case 1: + goto end_IL_0056; + } + continue; + end_IL_0056: + break; + } + } + int num6 = num; + num4 = 1; + num5 = num6; + num = (num5 | num4) + (num5 & num4); + } + _flatRows = list; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void UpdateFilter() + { + List list = new List(); + AddGroup(list, global::_003CModule_003E._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(-1299748700), EItemRewardType.Mount); + AddGroup(list, global::_003CModule_003E._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(263371342), EItemRewardType.Minion); + AddGroup(list, global::_003CModule_003E._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(-1791526330), EItemRewardType.OrchestrionRoll); + AddGroup(list, global::_003CModule_003E._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(-1826591131), EItemRewardType.TripleTriadCard); + AddGroup(list, global::_003CModule_003E._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(1738480903), EItemRewardType.FashionAccessory); + AddGroup(list, global::_003CModule_003E._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(974082553), EItemRewardType.UnlockLink); + _filteredGroups = list; + RebuildFlatRows(); + } + + private void AddGroup(List groups, string label, EItemRewardType type) + { + List filteredItems = GetFilteredItems(type); + int num = ((filteredItems.Count <= 0) ? (-138188978) : (-138188979)); + while (true) + { + int num2 = num; + int num3 = -138188977; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return; + case 2: + groups.Add(new ItemGroup(label, type, filteredItems)); + num = -138188978; + break; + case 0: + num = -138188979; + break; + } + } + } + + private List GetFilteredItems(EItemRewardType type) + { + return (from x in _questData.RedeemableItems + where x.Type == type + where x.IsUntradable + select x).Where(delegate(ItemReward x) + { + int num = (_showEventRewards ? (-346188384) : (-346188382)); + IQuestInfo questInfo2 = default(IQuestInfo); + QuestInfo questInfo = default(QuestInfo); + while (true) + { + int num2 = num; + int num3 = -346188380; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + return true; + case 6: + num = ((!_questData.TryGetQuestInfo(x.ElementId, out questInfo2)) ? (-346188384) : (-346188380)); + break; + case 8: + num = -346188382; + break; + case 3: + num = (_003C_003Ec__DisplayClass22_0._200F_206E_200F_202D_206D_202D_200B_206B_202B_200E_206A_202A_200C_202E_200B_206B_202E_200C_206F_202B_200C_200E_206E_202E_200D_200E_200C_200E_200F_200C_202A_206A_206E_202E_202E_206F_206A_206D_202B_202C_202E(x.Name, _searchText, StringComparison.OrdinalIgnoreCase) ? (-346188383) : (-346188379)); + break; + case 7: + num = ((!questInfo.IsSeasonalEvent) ? (-346188384) : (-346188378)); + break; + case 2: + return false; + case 0: + questInfo = questInfo2 as QuestInfo; + num = ((questInfo == null) ? (-346188384) : (-346188381)); + break; + case 1: + return false; + case 4: + num = (_003C_003Ec__DisplayClass22_0._202C_206C_206E_200D_202B_202C_200D_200B_206B_202A_206A_202E_206A_206E_206C_206B_200D_200D_200E_200E_200F_200F_200F_202D_202E_206C_206E_200C_200C_200F_202E_200F_206D_200E_206B_202A_206D_206F_202D_206A_202E(_searchText) ? (-346188383) : (-346188377)); + break; + } + } + }).OrderBy((ItemReward x) => x.Name, _202E_202E_202A_206D_206B_206F_206F_206E_202B_206C_206C_206F_202C_200D_200E_202B_200D_206F_200E_200F_202E_202A_206F_202E_206D_202B_206C_202E_200B_202A_206F_200F_206C_206A_202A_200D_200B_206D_200D_206C_202E()).ToList(); + } + + static ImGuiStylePtr _202A_200D_200C_202C_200F_202E_206A_206E_200D_202E_202E_206A_200E_206B_206B_206E_200C_206D_200D_202D_200C_202C_206D_206A_200D_200C_206A_202B_202B_206A_206E_206B_206D_200B_200B_206D_206B_206E_202E() + { + return ImGui.GetStyle(); + } + + static float _202C_200B_206E_200D_206F_202E_202C_202E_200E_206A_200B_200F_200D_206E_206D_202A_200C_202A_206F_200F_206F_206A_200B_202C_200B_202B_202A_206B_200C_202C_202A_206A_200E_206A_202E_206C_202E_206A_200D_206F_202E() + { + return ImGui.GetFrameHeight(); + } + + static Vector2 _206B_200E_206D_202C_202B_206A_206B_200D_206D_200E_202B_206E_200C_200F_202A_200F_200D_206B_200D_202B_202D_206B_200F_202A_206E_200B_206D_200B_206B_206D_206A_202E_202B_202A_202E_206F_206F_200C_206A_206B_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static void _206A_200B_202E_206A_202E_200B_200C_200F_200C_202B_206A_202C_200F_200E_206A_202C_200D_200B_202E_202B_206F_206B_206B_202D_202B_206F_200C_200E_206B_206F_206C_200D_206F_200B_200D_206F_202B_200D_200B_200C_202E() + { + ImGui.SameLine(); + } + + static void _202E_200B_200B_202B_206A_200E_206E_202D_206A_200D_202E_200C_206F_202A_206E_206F_202B_200B_200D_206F_206E_202B_202A_206D_202C_202E_206E_206D_202D_200F_200D_202A_202C_202A_202A_206C_200B_200B_202E_200F_202E() + { + ImGui.Spacing(); + } + + static void _202C_206D_206A_200D_200D_206D_200C_200F_202E_202E_202A_200F_206A_202D_200B_202D_200E_202B_202B_200C_206C_202C_200D_202B_200C_202A_202A_206A_206A_202D_200E_200D_206F_202A_202B_206A_200B_206B_202C_206B_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _200C_200E_200D_200B_202C_206E_200C_202B_200F_200F_206F_202B_206A_202C_206A_206C_202D_206B_200C_206F_200F_206B_200D_206F_206D_200C_200E_200C_206C_206E_206C_202B_202C_202A_206F_200B_200F_206D_206B_202D_202E() + { + ImGui.Separator(); + } + + static IUiBuilder _200B_200B_206C_206A_202A_206E_200F_206B_206D_206B_200B_200C_206E_200D_200E_202A_200B_200C_206E_202C_206A_200D_206E_206A_206C_206D_206D_202C_206E_200B_202B_202E_206E_206E_200B_200C_200F_206C_202B_200C_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _200B_206D_206B_200F_200D_206C_200D_206A_200F_202A_200F_200F_200E_202A_200F_200F_206B_202B_200C_200F_202E_200B_202A_206B_202B_200B_200F_206E_206F_202A_206A_202B_202B_200C_206E_206B_200F_202C_206B_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _200E_200D_202A_202A_206E_200C_206C_206C_206B_200D_202C_202A_206B_206D_206E_200C_206B_206B_202E_206F_200E_200B_200B_206F_206C_202E_202E_200C_202E_200E_206F_202C_206E_200B_202C_202B_200C_202E_206C_202A_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static string _200F_206E_206C_206B_200B_200D_200E_206C_206F_200C_200B_202A_206E_206C_200D_200C_206A_206C_206E_200E_206F_202B_202B_202C_202E_202D_200F_206C_200C_206B_206B_200B_202A_202D_202B_202D_206F_200B_206A_202A_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static void _200C_202C_202A_206B_202D_200E_206B_206E_202C_202E_206D_206C_202E_200D_206F_202D_206F_206C_206D_200F_200F_202D_200E_200F_206F_200B_206B_200E_202B_206D_206E_206E_202D_202E_206D_202E_202E_202D_202E_202D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ImGuiIOPtr _202E_202E_206C_206B_202C_202E_202B_206C_206F_202A_206B_206B_206B_206F_202D_200B_206D_206E_200B_200F_200E_206D_200C_202A_206B_200C_202A_202D_202E_206F_202B_200D_202A_202E_206F_202A_206E_202D_202B_202C_202E() + { + return ImGui.GetIO(); + } + + static void _206A_206D_202E_206D_202E_206C_200B_206A_200F_206C_206B_206E_200F_200B_206C_202C_202A_206E_202E_206C_202E_200F_200F_202D_206C_200C_206F_206E_206D_202E_202E_202B_206C_206C_200E_202C_202E_206F_202B_206B_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static void _200B_202A_206A_202B_206B_200B_206B_200F_206D_202A_202A_206B_200F_200B_206B_200F_202B_200C_206D_206E_200E_202B_206F_206B_200E_202B_202A_200C_200D_206E_206B_206A_200B_202B_200E_200E_202D_200C_206B_202E_202E() + { + ImGui.TableHeadersRow(); + } + + static float _200F_206F_202D_200D_200E_202E_206D_206E_200D_200E_202D_202B_200D_202B_206D_206C_202A_200D_206F_200E_200F_206D_206F_200B_200C_200F_206F_206A_206B_200D_206D_200E_202A_200B_200D_206C_200E_200E_200E_200E_202E() + { + return ImGui.GetTextLineHeightWithSpacing(); + } + + unsafe static ImGuiListClipper* _206D_200C_200B_206E_206C_206B_206D_200F_202A_206A_202C_202C_206E_202E_200E_206F_200E_200F_202E_206B_200C_206E_206C_200F_202C_206F_202C_200F_202B_206E_206A_202C_202A_206F_206C_206B_200C_200F_206E_200F_202E() + { + return ImGuiNative.ImGuiListClipper(); + } + + unsafe static void _200F_202D_200D_206E_200D_202D_202E_206E_202A_202E_200E_200C_206F_206A_206B_200F_206E_202E_206A_200D_202B_206D_206C_200B_206B_206A_206B_200C_200E_200D_200B_200E_206B_206B_200D_200E_200C_200B_200E_202A_202E(ImGuiListClipper* P_0, int P_1, float P_2) + { + ImGuiNative.Begin(P_0, P_1, P_2); + } + + static void _206F_206F_200B_200E_200B_200C_200E_206A_202A_206F_202E_202A_200C_200C_200C_202C_202D_202B_200B_200C_202D_202E_200C_200B_206E_200C_202A_206D_200D_206B_206A_206B_202D_206D_200C_202A_206A_206E_202D_206C_202E() + { + ImGui.TableNextRow(); + } + + static bool _202C_202C_202A_200E_206E_202E_206E_206D_200F_206A_202E_206B_200D_200F_206C_206A_202D_206A_200E_206B_206B_206D_206B_206D_206F_200F_202E_200F_200B_202B_202E_202D_200C_202C_200D_200D_206D_206B_206F_202A_202E() + { + return ImGui.TableNextColumn(); + } + + static bool _206F_202D_200B_206E_206D_202D_206C_206B_206F_206E_200E_202A_206E_206A_202D_202A_206D_206C_200E_206F_200C_200B_202E_206B_200C_206F_200D_200D_202E_206C_206A_206B_200C_202C_200E_200F_206D_200D_206F_202C_202E(ImU8String P_0, bool P_1, ImGuiSelectableFlags P_2, Vector2 P_3) + { + return ImGui.Selectable(P_0, P_1, P_2, P_3); + } + + static float _202B_202B_202D_202E_202D_202E_206C_206C_206C_200C_206A_202A_202C_200E_202B_202A_202D_200D_200D_202A_200E_200C_202A_202E_200B_200E_202B_202A_200F_206E_200F_206F_200D_200C_202A_206C_202E_206B_206A_206E_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _202C_200C_206A_200E_206B_206C_202B_200B_202B_202B_202B_202E_202D_200F_200F_206B_202B_206D_200F_206D_200B_200C_206C_206A_200C_206D_200E_202C_202D_202A_200E_202D_206A_200B_206B_206E_202C_206A_202E_206B_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static string _200B_206D_200D_202C_200B_206A_206F_200B_200C_202E_206E_202B_200B_206D_206F_202C_206C_200B_206F_202D_202A_200F_206B_202B_206D_206F_206E_200C_200B_202A_206C_206F_200E_206A_200E_202B_202A_200F_206E_200C_202E(SeIconChar P_0) + { + return P_0.ToIconString(); + } + + static string _200E_206B_202E_202D_206A_202A_206F_200E_202D_202C_200F_206F_206E_202D_206B_200B_206E_202C_206E_200F_206F_206A_200B_206D_202E_200D_200F_202D_200F_206F_202E_200D_202A_206F_200E_202C_206D_206F_206D_202D_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static bool _202D_206F_206F_200D_206E_206C_200D_202B_202C_200C_202C_206E_202A_202D_202C_200B_206A_200E_202B_206B_202C_206E_206E_206E_202E_206E_200E_206F_200F_202A_206A_200F_206B_206D_206E_202A_206C_200C_206A_206D_202E(ImU8String P_0, ImGuiTreeNodeFlags P_1, ImU8String P_2) + { + return ImGui.TreeNodeEx(P_0, P_1, P_2); + } + + static bool _206B_202C_202C_200D_202D_200D_200F_206B_206E_202B_200C_206E_206F_202E_206E_202B_200B_200B_200F_200C_200E_202C_206C_200B_200F_202D_200B_200E_202C_202D_202C_202B_206B_202B_200B_202C_206C_200F_206B_206F_202E() + { + return ImGui.IsItemHovered(); + } + + static float _202C_206A_202C_206A_206F_206B_202D_206B_200E_200C_206A_200F_200C_206C_206F_202D_206C_202A_202C_202A_200D_202A_200F_206F_206D_200E_200F_202E_206A_202E_202E_200F_202A_206E_200E_206B_200F_206B_200F_200D_202E() + { + return ImGui.GetColumnWidth(); + } + + static ImRaii.TooltipDisposable _200D_202E_202E_206B_206B_206C_200E_200E_202C_202D_202D_202C_206D_202B_200D_200C_200E_200C_206C_202C_200D_202D_206E_200D_200D_206F_202C_200E_202E_200C_202C_200D_206B_206C_200B_206F_206D_206A_202A_200C_202E() + { + return ImRaii.Tooltip(); + } + + static void _202A_206F_206F_200F_200F_202D_200C_200E_206C_200F_206D_206D_206E_202A_206E_200F_206F_200E_206F_202E_202D_202D_202A_206F_200E_202A_200F_202D_206C_200F_206C_202D_206F_202D_200F_206C_200E_202A_200C_206C_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static ImRaii.IndentDisposable _206E_206F_206F_202D_206F_200B_206B_206A_206C_202D_200D_206C_202B_206C_200B_206B_200F_206D_200B_202C_202B_200B_206C_202D_202D_200D_202A_202E_202D_200B_202D_200F_206E_202D_206A_206D_206B_206D_200C_206C_202E(int P_0, bool P_1) + { + return ImRaii.PushIndent(P_0, P_1); + } + + static CultureInfo _206B_206C_202D_202C_202A_202A_206E_206C_200B_206B_206E_202A_200F_202A_200F_206B_206B_202C_206A_206D_200D_202C_206A_202D_202E_206F_202B_202E_206F_206A_200C_206A_206D_200F_200C_200F_200C_206E_206C_206A_202E() + { + return CultureInfo.CurrentCulture; + } + + static string _200F_202E_206C_200E_202E_202B_206C_202B_202C_200E_206B_202A_206C_206F_206C_202E_202E_202D_202D_200B_202A_200F_202B_202B_202E_200E_200C_200D_200C_206F_206B_200D_202B_200D_200B_202B_202A_202A_206C_200D_202E(string P_0, int P_1) + { + return P_0.PadLeft(P_1); + } + + static string _200C_200E_206F_200C_200F_202C_206A_200F_202E_206A_202B_206D_202D_202E_200E_202A_202D_206F_200E_206C_202B_206F_200B_202D_206E_206C_200B_202D_206B_206C_206D_202D_206B_206C_202D_202E_200F_202C_202A_202E(string P_0, int P_1) + { + return P_0.PadLeft(P_1); + } + + static StringComparer _202E_202E_202A_206D_206B_206F_206F_206E_202B_206C_206C_206F_202C_200D_200E_202B_200D_206F_200E_200F_202E_202A_206F_202E_206D_202B_206C_202E_200B_202A_206F_200F_206C_206A_202A_200D_200B_206D_200D_206C_202E() + { + return StringComparer.CurrentCultureIgnoreCase; + } + + static int _202A_200B_202B_202E_206E_200C_200F_206A_202B_206C_206B_206F_202C_202B_206C_206D_202A_206A_200C_200C_206B_206B_206B_202E_202C_206B_202C_202B_206F_200D_200E_202D_206E_206A_200E_200D_202A_202A_202E_206A_202E(string P_0) + { + return P_0.Length; + } } diff --git a/Questionable/Questionable.Windows.QuestComponents/ARealmRebornComponent.cs b/Questionable/Questionable.Windows.QuestComponents/ARealmRebornComponent.cs index 9fe65eda..3ac70cf2 100644 --- a/Questionable/Questionable.Windows.QuestComponents/ARealmRebornComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/ARealmRebornComponent.cs @@ -1,6 +1,9 @@ +using System; +using System.Collections; using System.Collections.Generic; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Interface; using Dalamud.Interface.Colors; @@ -15,13 +18,13 @@ namespace Questionable.Windows.QuestComponents; internal sealed class ARealmRebornComponent { - private static readonly QuestId ATimeForEveryPurpose = new QuestId(425); + private static readonly QuestId ATimeForEveryPurpose = _206E_200C_202E_200D_200F_202D_202B_200D_206A_206E_206D_202C_200D_202C_206A_206E_200E_202D_200E_200C_200E_200F_202E_200B_200C_206E_206A_200D_202E_200D_200D_200D_200B_202C_206E_202B_202E_202D_200D_200F_202E((ushort)425); - private static readonly QuestId TheUltimateWeapon = new QuestId(524); + private static readonly QuestId TheUltimateWeapon = _206E_200C_202E_200D_200F_202D_202B_200D_206A_206E_206D_202C_200D_202C_206A_206E_200E_202D_200E_200C_200E_200F_202E_200B_200C_206E_206A_200D_202E_200D_200D_200D_200B_202C_206E_202B_202E_202D_200D_200F_202E((ushort)524); - private static readonly QuestId GoodIntentions = new QuestId(363); + private static readonly QuestId GoodIntentions = _206E_200C_202E_200D_200F_202D_202B_200D_206A_206E_206D_202C_200D_202C_206A_206E_200E_202D_200E_200C_200E_200F_202E_200B_200C_206E_206A_200D_202E_200D_200D_200D_200B_202C_206E_202B_202E_202D_200D_200F_202E((ushort)363); - private static readonly ushort[] RequiredPrimalInstances = new ushort[3] { 20004, 20006, 20005 }; + private static readonly ushort[] RequiredPrimalInstances; private readonly QuestFunctions _questFunctions; @@ -37,11 +40,27 @@ internal sealed class ARealmRebornComponent { get { - if (!_questFunctions.IsQuestAcceptedOrComplete(ATimeForEveryPurpose)) + int num = (_questFunctions.IsQuestAcceptedOrComplete(ATimeForEveryPurpose) ? 392545045 : 392545044); + while (true) { - return _questFunctions.IsQuestComplete(TheUltimateWeapon); + int num2 = num; + int num3 = 392545045; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0052; + case 1: + return _questFunctions.IsQuestComplete(TheUltimateWeapon); + case 0: + return false; + } + continue; + IL_0052: + num = 392545044; } - return false; } } @@ -54,58 +73,255 @@ internal sealed class ARealmRebornComponent _configuration = configuration; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Draw() { - if (!_questFunctions.IsQuestAcceptedOrComplete(GoodIntentions)) + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-1261156168)); + int num = (_questFunctions.IsQuestAcceptedOrComplete(GoodIntentions) ? 534954263 : 534954260); + while (true) { - DrawPrimals(); - } - DrawAllianceRaids(); - } - - private void DrawPrimals() - { - bool flag = UIState.IsInstanceContentCompleted(RequiredPrimalInstances.Last()); - bool flag2 = _uiUtils.ChecklistItem("Hard Mode Primals", flag, _configuration.Advanced.SkipARealmRebornHardModePrimals ? new System.Numerics.Vector4?(ImGuiColors.DalamudGrey) : ((System.Numerics.Vector4?)null)); - if (flag || !flag2) - { - return; - } - using ImRaii.TooltipDisposable tooltipDisposable = ImRaii.Tooltip(); - if (tooltipDisposable.Alive) - { - ushort[] requiredPrimalInstances = RequiredPrimalInstances; - foreach (ushort instanceId in requiredPrimalInstances) + int num2 = num; + int num3 = 534954261; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - (System.Numerics.Vector4 color, FontAwesomeIcon icon) instanceStyle = UiUtils.GetInstanceStyle(instanceId); - FFXIVClientStructs.FFXIV.Common.Math.Vector4 vector = instanceStyle.color; - FontAwesomeIcon item = instanceStyle.icon; - _uiUtils.ChecklistItem(_territoryData.GetInstanceName(instanceId) ?? "?", vector, item, ImGui.GetStyle().FramePadding.X); + case 2: + DrawAllianceRaids(); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + return; + case 1: + DrawPrimals(); + num = 534954263; + break; + case 0: + num = 534954260; + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawPrimals() + { + bool flag = UIState.IsInstanceContentCompleted(RequiredPrimalInstances.Last()); + bool flag2 = _uiUtils.ChecklistItem(global::_003CModule_003E._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(-1581570553), flag, _configuration.Advanced.SkipARealmRebornHardModePrimals ? new System.Numerics.Vector4?(_202E_202A_206C_200E_206E_200D_202C_202C_200E_202E_206F_202E_202D_200B_206C_206B_200F_202D_200E_206C_200B_202B_206B_200D_202E_200F_200F_202D_206C_206F_202D_206B_206A_200B_206B_200E_202D_202D_200F_202E_202E()) : ((System.Numerics.Vector4?)null)); + int num = (flag ? (-1664397724) : (-1664397721)); + ushort[] requiredPrimalInstances = default(ushort[]); + int num8 = default(int); + while (true) + { + int num2 = num; + int num3 = -1664397722; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1664397721; + break; + case 2: + return; + case 1: + num = (flag2 ? (-1664397723) : (-1664397724)); + break; + case 3: + { + using ImRaii.TooltipDisposable tooltipDisposable = _206D_200F_200C_206C_202B_200F_200E_200B_206F_200C_202C_200E_200E_200F_202D_202E_202C_200C_202B_202B_206C_200D_206E_206C_202A_206A_202E_200B_200F_206D_206A_206C_206D_202A_202A_200C_202D_206E_206E_202A_202E(); + num = (tooltipDisposable.Alive ? (-863151473) : (-863151478)); + while (true) + { + int num5 = num; + num3 = -863151474; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 5: + num = -863151478; + break; + case 2: + { + ushort instanceId = requiredPrimalInstances[num8]; + (System.Numerics.Vector4 color, FontAwesomeIcon icon) instanceStyle = UiUtils.GetInstanceStyle(instanceId); + FFXIVClientStructs.FFXIV.Common.Math.Vector4 vector = instanceStyle.color; + FontAwesomeIcon item = instanceStyle.icon; + _uiUtils.ChecklistItem(_territoryData.GetInstanceName(instanceId) ?? global::_003CModule_003E._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(-1923490088), vector, item, _202E_206F_202D_202E_200C_202C_206F_200C_202D_206B_200C_202E_202C_200E_206F_200D_202C_206D_206A_202D_202C_206A_202A_202E_200D_202D_202A_202A_206E_206F_202B_206A_200D_202C_206B_206A_206D_206E_202C_206C_202E().FramePadding.X); + int num9 = num8; + num3 = 1; + num4 = num9; + num8 = (num4 | num3) + (num4 & num3); + num = -863151475; + break; + } + case 3: + num = ((num8 < requiredPrimalInstances.Length) ? (-863151476) : (-863151474)); + break; + case 1: + requiredPrimalInstances = RequiredPrimalInstances; + num8 = 0; + num = -863151475; + break; + case 4: + return; + case 0: + return; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawAllianceRaids() { QuestFunctions questFunctions = _questFunctions; IReadOnlyList crystalTowerQuests = QuestData.CrystalTowerQuests; bool flag = questFunctions.IsQuestComplete(crystalTowerQuests[crystalTowerQuests.Count - 1]); - bool flag2 = _uiUtils.ChecklistItem("Crystal Tower Raids", flag, _configuration.Advanced.SkipCrystalTowerRaids ? new System.Numerics.Vector4?(ImGuiColors.DalamudGrey) : ((System.Numerics.Vector4?)null)); - if (flag || !flag2) + bool flag2 = _uiUtils.ChecklistItem(global::_003CModule_003E._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(442894650), flag, _configuration.Advanced.SkipCrystalTowerRaids ? new System.Numerics.Vector4?(_202E_202A_206C_200E_206E_200D_202C_202C_200E_202E_206F_202E_202D_200B_206C_206B_200F_202D_200E_206C_200B_202B_206B_200D_202E_200F_200F_202D_206C_206F_202D_206B_206A_200B_206B_200E_202D_202D_200F_202E_202E()) : ((System.Numerics.Vector4?)null)); + int num = (flag ? 406928079 : 406928076); + while (true) { - return; - } - using ImRaii.TooltipDisposable tooltipDisposable = ImRaii.Tooltip(); - if (!tooltipDisposable.Alive) - { - return; - } - foreach (QuestId crystalTowerQuest in QuestData.CrystalTowerQuests) - { - (System.Numerics.Vector4 Color, FontAwesomeIcon Icon, string Status) questStyle = _uiUtils.GetQuestStyle(crystalTowerQuest); - FFXIVClientStructs.FFXIV.Common.Math.Vector4 vector = questStyle.Color; - FontAwesomeIcon item = questStyle.Icon; - _uiUtils.ChecklistItem(_questData.GetQuestInfo(crystalTowerQuest).Name, vector, item, ImGui.GetStyle().FramePadding.X); + int num2 = num; + int num3 = 406928077; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 406928076; + break; + case 2: + return; + case 1: + num = (flag2 ? 406928077 : 406928079); + break; + case 0: + { + using ImRaii.TooltipDisposable tooltipDisposable = _206D_200F_200C_206C_202B_200F_200E_200B_206F_200C_202C_200E_200E_200F_202D_202E_202C_200C_202B_202B_206C_200D_206E_206C_202A_206A_202E_200B_200F_206D_206A_206C_206D_202A_202A_200C_202D_206E_206E_202A_202E(); + num = (tooltipDisposable.Alive ? 533911175 : 533911174); + while (true) + { + int num5 = num; + num3 = 533911175; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + goto IL_0133; + case 1: + return; + case 0: + { + IEnumerator enumerator = QuestData.CrystalTowerQuests.GetEnumerator(); + try + { + num = -1056949056; + while (true) + { + int num8 = num; + num3 = -1056949054; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1056949056; + break; + case 3: + { + QuestId current = enumerator.Current; + (System.Numerics.Vector4 Color, FontAwesomeIcon Icon, string Status) questStyle = _uiUtils.GetQuestStyle(current); + FFXIVClientStructs.FFXIV.Common.Math.Vector4 vector = questStyle.Color; + FontAwesomeIcon item = questStyle.Icon; + _uiUtils.ChecklistItem(_questData.GetQuestInfo(current).Name, vector, item, _202E_206F_202D_202E_200C_202C_206F_200C_202D_206B_200C_202E_202C_200E_206F_200D_202C_206D_206A_202D_202C_206A_202A_202E_200D_202D_202A_202A_206E_206F_202B_206A_200D_202C_206B_206A_206D_206E_202C_206C_202E().FramePadding.X); + num = -1056949056; + break; + } + case 2: + num = (_200D_202A_206E_206D_200C_206A_206D_206C_206B_200C_200C_206C_200E_200C_200E_206D_206E_206E_206E_200C_200D_200D_206E_200C_206C_200D_206D_200E_202B_200B_202D_200B_202E_206A_206F_202D_206C_200C_202D_200C_202E((IEnumerator)enumerator) ? (-1056949055) : (-1056949053)); + break; + case 1: + return; + } + } + } + finally + { + num = ((enumerator == null) ? (-208595158) : (-208595159)); + while (true) + { + int num9 = num; + num3 = -208595160; + num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -208595159; + break; + case 2: + goto end_IL_025d; + case 1: + _200F_202A_200E_200D_202B_206F_202E_200C_206C_206D_200D_206B_202A_202D_202B_202C_202D_200B_206C_202E_206B_202B_202B_202C_202A_202A_200D_206F_202E_206B_202D_200D_202B_200C_202A_206C_200D_200B_200D_200C_202E((IDisposable)enumerator); + num = -208595158; + break; + } + continue; + end_IL_025d: + break; + } + } + } + } + continue; + IL_0133: + num = 533911174; + } + } + } } } + + static ARealmRebornComponent() + { + ushort[] array = new ushort[3]; + _200D_206A_200B_206B_206E_200F_202E_202B_206B_206C_206C_202E_206E_206B_206B_206C_202D_206C_200C_200E_206C_202A_200E_202E_200B_206D_206F_202C_206E_206C_206B_200F_202E_200F_202D_206B_200B_206F_206B_200C_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + RequiredPrimalInstances = array; + } + + static System.Numerics.Vector4 _202E_202A_206C_200E_206E_200D_202C_202C_200E_202E_206F_202E_202D_200B_206C_206B_200F_202D_200E_206C_200B_202B_206B_200D_202E_200F_200F_202D_206C_206F_202D_206B_206A_200B_206B_200E_202D_202D_200F_202E_202E() + { + return ImGuiColors.DalamudGrey; + } + + static ImRaii.TooltipDisposable _206D_200F_200C_206C_202B_200F_200E_200B_206F_200C_202C_200E_200E_200F_202D_202E_202C_200C_202B_202B_206C_200D_206E_206C_202A_206A_202E_200B_200F_206D_206A_206C_206D_202A_202A_200C_202D_206E_206E_202A_202E() + { + return ImRaii.Tooltip(); + } + + static ImGuiStylePtr _202E_206F_202D_202E_200C_202C_206F_200C_202D_206B_200C_202E_202C_200E_206F_200D_202C_206D_206A_202D_202C_206A_202A_202E_200D_202D_202A_202A_206E_206F_202B_206A_200D_202C_206B_206A_206D_206E_202C_206C_202E() + { + return ImGui.GetStyle(); + } + + static bool _200D_202A_206E_206D_200C_206A_206D_206C_206B_200C_200C_206C_200E_200C_200E_206D_206E_206E_206E_200C_200D_200D_206E_200C_206C_200D_206D_200E_202B_200B_202D_200B_202E_206A_206F_202D_206C_200C_202D_200C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200F_202A_200E_200D_202B_206F_202E_200C_206C_206D_200D_206B_202A_202D_202B_202C_202D_200B_206C_202E_206B_202B_202B_202C_202A_202A_200D_206F_202E_206B_202D_200D_202B_200C_202A_206C_200D_200B_200D_200C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static QuestId _206E_200C_202E_200D_200F_202D_202B_200D_206A_206E_206D_202C_200D_202C_206A_206E_200E_202D_200E_200C_200E_200F_202E_200B_200C_206E_206A_200D_202E_200D_200D_200D_200B_202C_206E_202B_202E_202D_200D_200F_202E(ushort P_0) + { + return new QuestId(P_0); + } + + static void _200D_206A_200B_206B_206E_200F_202E_202B_206B_206C_206C_202E_206E_206B_206B_206C_202D_206C_200C_200E_206C_202A_200E_202E_200B_206D_206F_202C_206E_206C_206B_200F_202E_200F_202D_206B_200B_206F_206B_200C_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } } diff --git a/Questionable/Questionable.Windows.QuestComponents/ActiveQuestComponent.cs b/Questionable/Questionable.Windows.QuestComponents/ActiveQuestComponent.cs index b2dbfa34..bf22bf4d 100644 --- a/Questionable/Questionable.Windows.QuestComponents/ActiveQuestComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/ActiveQuestComponent.cs @@ -3,18 +3,22 @@ using System.CodeDom.Compiler; using System.Collections.Generic; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using System.Text.RegularExpressions; using System.Text.RegularExpressions.Generated; +using System.Threading; using Dalamud.Bindings.ImGui; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; 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; @@ -24,6 +28,32 @@ namespace Questionable.Windows.QuestComponents; internal sealed class ActiveQuestComponent { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__37_0; + + public static Func _003C_003E9__37_2; + + internal byte _003CDrawSimulationControls_003Eb__37_0(QuestSequence x) + { + return _200F_206D_206F_206B_206B_206E_206C_202B_202E_202A_206B_202E_202D_200C_206B_206F_206A_202A_206F_206B_202A_206B_202E_206D_202B_202D_206B_200D_202E_202E_200E_200C_200D_200B_200F_200B_206F_206F_206E_202B_202E(x); + } + + internal byte _003CDrawSimulationControls_003Eb__37_2(QuestSequence x) + { + return _200F_206D_206F_206B_206B_206E_206C_202B_202E_202A_206B_202E_202D_200C_206B_206F_206A_202A_206F_206B_202A_206B_202E_206D_202B_202D_206B_200D_202E_202E_200E_200C_200D_200B_200F_200B_206F_206F_206E_202B_202E(x); + } + + static byte _200F_206D_206F_206B_206B_206E_206C_202B_202E_202A_206B_202E_202D_200C_206B_206F_206A_202A_206F_206B_202A_206B_202E_206D_202B_202D_206B_200D_202E_202E_200E_200C_200D_200B_200F_200B_206F_206F_206E_202B_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + } + private readonly QuestController _questController; private readonly MovementController _movementController; @@ -32,20 +62,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,734 +88,3643 @@ internal sealed class ActiveQuestComponent private readonly AutoDutyIpc _autoDutyIpc; + private readonly IDataManager _dataManager; + private readonly ILogger _logger; - public event EventHandler? Reload; + private bool _questCardExpanded; - [GeneratedRegex("\\s\\s+", RegexOptions.IgnoreCase, "en-US")] - [GeneratedCode("System.Text.RegularExpressions.Generator", "10.0.14.27113")] - private static Regex MultipleWhitespaceRegex() + [CompilerGenerated] + private System.Action? m_OpenQueueTab; + + public event System.Action? OpenQueueTab { - return _003CRegexGenerator_g_003EFBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__MultipleWhitespaceRegex_0.Instance; + [CompilerGenerated] + add + { + System.Action action = this.m_OpenQueueTab; + int num = -1845062686; + while (true) + { + int num2 = num; + int num3 = -1845062685; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1845062686; + break; + case 0: + return; + case 1: + { + System.Action action2 = action; + System.Action value2 = (System.Action)_206B_202D_200E_202B_202B_200D_202E_202C_206F_202D_202D_202B_206E_202B_202A_200D_200F_206C_206C_200B_200E_206A_206D_202B_206A_202A_202B_202D_206A_206F_200F_206B_206D_200C_202A_200E_200B_206E_200F_200C_202E((Delegate)action2, (Delegate)value); + action = Interlocked.CompareExchange(ref this.m_OpenQueueTab, value2, action2); + num = (((object)action != action2) ? (-1845062686) : (-1845062685)); + break; + } + } + } + } + [CompilerGenerated] + remove + { + System.Action action = this.m_OpenQueueTab; + int num = -117649682; + while (true) + { + int num2 = num; + int num3 = -117649681; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return; + case 1: + { + System.Action action2 = action; + System.Action value2 = (System.Action)_202A_206F_200E_202B_202B_206C_202C_200F_206C_200B_202B_200E_206F_200B_200C_206C_202E_202D_206E_200B_202E_206C_206B_206C_202D_206D_200D_206D_206B_206F_200B_206E_202C_206E_200D_200D_200F_202A_200C_206E_202E((Delegate)action2, (Delegate)value); + action = Interlocked.CompareExchange(ref this.m_OpenQueueTab, value2, action2); + num = (((object)action != action2) ? (-117649682) : (-117649683)); + break; + } + case 0: + num = -117649682; + break; + } + } + } } - 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) + [GeneratedRegex("\\s\\s+", RegexOptions.IgnoreCase, "en-US")] + [GeneratedCode("System.Text.RegularExpressions.Generator", "10.0.14.37416")] + private static Regex MultipleWhitespaceRegex() + { + return _003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__MultipleWhitespaceRegex_0.Instance; + } + + 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; } public void Draw(bool isMinimized) { - if (_fateController.IsRunning) + int num = ((!_fateController.IsRunning) ? (-901177579) : (-901177582)); + QuestController.QuestProgress questProgress = default(QuestController.QuestProgress); + QuestController.ECurrentQuestType? currentQuestType = default(QuestController.ECurrentQuestType?); + (QuestController.QuestProgress, QuestController.ECurrentQuestType)? currentQuestDetails = default((QuestController.QuestProgress, QuestController.ECurrentQuestType)?); + while (true) { - DrawFateActive(isMinimized); - return; - } - if (_seasonalDutyController.IsRunning) - { - DrawDutyActive(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) + int num2 = num; + int num3 = -901177578; + int num4 = num2; + QuestController.ECurrentQuestType? obj2; + object obj; + switch ((num4 | num3) - (num4 & num3)) { - ImGui.TextColored(ImGuiColors.DalamudOrange, "In Combat"); + case 9: + DrawMinimizedQuest(questProgress); + return; + case 18: + DrawQuestCard(questProgress, currentQuestType); + return; + case 3: + num = ((!_seasonalDutyController.IsRunning) ? (-901177584) : (-901177577)); + break; + case 5: + num = ((!_gatheringController.IsRunning) ? (-901177578) : (-901177575)); + break; + case 12: + DrawFishingActive(isMinimized); + return; + case 1: + DrawDutyActive(isMinimized); + return; + case 10: + obj2 = null; + goto IL_01e7; + case 2: + obj = currentQuestDetails.GetValueOrDefault().Item1; + goto IL_012b; + case 15: + DrawGatheringActive(isMinimized); + return; + case 4: + DrawFateActive(isMinimized); + return; + case 16: + num = ((!isMinimized) ? (-901177596) : (-901177569)); + break; + case 6: + num = ((!_customDeliveryController.IsRunning) ? (-901177581) : (-901177573)); + break; + case 17: + DrawNoActiveQuest(isMinimized); + return; + case 0: + num = ((!_fishingController.IsRunning) ? (-901177583) : (-901177574)); + break; + case 14: + obj2 = currentQuestDetails.GetValueOrDefault().Item2; + goto IL_01e7; + case 13: + DrawCustomDeliveryActive(isMinimized); + return; + case 8: + num = -901177582; + break; + case 11: + obj = null; + goto IL_012b; + case 7: + { + currentQuestDetails = _questController.CurrentQuestDetails; + num = (currentQuestDetails.HasValue ? (-901177580) : (-901177571)); + break; + } + IL_01e7: + currentQuestType = obj2; + num = ((questProgress == null) ? (-901177593) : (-901177594)); + break; + IL_012b: + questProgress = (QuestController.QuestProgress)obj; + num = (currentQuestDetails.HasValue ? (-901177576) : (-901177572)); + break; } - 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); - } - } - } - 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(); } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawFateActive(bool isMinimized) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGold)) + ImRaii.ColorDisposable colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, _200E_200F_202C_206B_200B_202B_206F_206B_206F_206D_206D_200B_206A_200E_200D_200C_206F_202B_202D_202A_206E_206C_202A_206D_206E_206A_200D_202D_206F_206C_206F_206D_200F_202A_200C_200F_200F_200C_202B_206A_202E(), true); + int num; + try { - ImU8String text = new ImU8String(6, 1); - text.AppendLiteral("FATE: "); - text.AppendFormatted(Shorten(_fateController.CurrentFate.Name)); - ImGui.TextUnformatted(text); + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E((ImU8String)UiThemeUtils.TruncateToWidth(_200C_202D_202E_206B_202C_202D_200B_202C_206F_200F_206E_202C_206C_206E_200C_206B_200B_206A_206C_202E_206A_202D_200E_206F_206D_200E_202A_202E_206C_202D_202E_202B_202D_206C_202E_200F_200D_202A_206D_202E_202E(global::_003CModule_003E._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(-1853729886), _206F_200E_200B_206D_202B_200E_202B_202C_206A_206F_202A_200E_206E_200E_206C_202C_206A_202B_202C_202B_200D_206D_206D_200B_200B_202B_202B_206B_200E_202D_206B_200D_206A_200B_202D_200C_200C_200E_206B_202B_202E(_fateController.CurrentFate)), _202E_206F_202E_206B_200C_200C_202B_206C_202D_200F_206A_206E_200E_202C_206A_202D_206E_200D_200E_206C_200B_200C_206E_206E_206E_200F_206D_200D_206F_202E_206F_202C_202A_206D_206A_206C_202B_206E_206B_200C_202E().X)); + } + finally + { + num = ((colorDisposable == null) ? (-2041127811) : (-2041127812)); + while (true) + { + int num2 = num; + int num3 = -2041127811; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -2041127812; + break; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num = -2041127811; + break; + case 0: + goto end_IL_0068; + } + continue; + end_IL_0068: + break; + } } IList remainingTaskNames = _fateController.GetRemainingTaskNames(); - if (remainingTaskNames.Count > 0) + num = ((remainingTaskNames.Count <= 0) ? 93172541 : 93172531); + while (true) { - ImGui.TextColored(ImGuiColors.DalamudGrey, remainingTaskNames[0]); - } - if (!isMinimized) - { - string text2 = (_fateController.CycleLimit.HasValue ? $"Cycle {_fateController.CompletedCycles + 1} / {_fateController.CycleLimit}" : $"Cycle {_fateController.CompletedCycles + 1}"); - ImGui.TextColored(ImGuiColors.DalamudGrey3, text2); - } - if (ImGuiComponents.IconButton(FontAwesomeIcon.Stop)) - { - _fateController.Stop("UI stop"); - _movementController.Stop(); + int num7 = num; + int num3 = 93172539; + int num4 = num7; + string text2; + string text; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(9, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-346240664)); + defaultInterpolatedStringHandler2.AppendFormatted(_fateController.CompletedCycles + 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-2014446916)); + defaultInterpolatedStringHandler2.AppendFormatted(_fateController.CycleLimit); + text2 = defaultInterpolatedStringHandler2.ToStringAndClear(); + goto IL_0182; + } + case 4: + num = (_fateController.CycleLimit.HasValue ? 93172536 : 93172538); + break; + case 6: + num = (isMinimized ? 93172539 : 93172543); + break; + case 7: + _fateController.Stop(global::_003CModule_003E._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(-271672975)); + _movementController.Stop(); + num = 93172542; + break; + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1738213715)); + defaultInterpolatedStringHandler.AppendFormatted(_fateController.CompletedCycles + 1); + text2 = defaultInterpolatedStringHandler.ToStringAndClear(); + goto IL_0182; + } + case 0: + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Stop, _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E())) ? 93172542 : 93172540); + break; + case 2: + num = 93172531; + break; + case 8: + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, remainingTaskNames[0]); + num = 93172541; + break; + case 5: + return; + IL_0182: + text = text2; + _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)text); + num = 93172539; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawDutyActive(bool isMinimized) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + ImRaii.ColorDisposable colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, _206C_206B_206D_206F_202B_206B_206C_200C_206F_202D_206B_202B_200D_206F_206B_206C_206A_202C_200E_206E_202A_200C_200D_200C_206E_206D_202E_200E_200C_200F_202D_200C_202C_200B_202D_206B_206F_206E_202D_206D_202E(), true); + int num; + try { - ImU8String text = new ImU8String(6, 1); - text.AppendLiteral("Duty: "); - text.AppendFormatted(Shorten(_seasonalDutyController.CurrentDuty.Name)); - ImGui.TextUnformatted(text); + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E((ImU8String)UiThemeUtils.TruncateToWidth(_200C_202D_202E_206B_202C_202D_200B_202C_206F_200F_206E_202C_206C_206E_200C_206B_200B_206A_206C_202E_206A_202D_200E_206F_206D_200E_202A_202E_206C_202D_202E_202B_202D_206C_202E_200F_200D_202A_206D_202E_202E(global::_003CModule_003E._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(-840992576), _206A_200D_200F_206F_206D_206D_206B_206B_206A_200B_202A_202C_202B_202D_202A_200B_202A_202B_202B_202D_206F_202D_202E_200E_206B_206F_200E_202A_200E_206C_202D_202B_206E_200F_206A_200B_206F_206A_206A_206B_202E(_seasonalDutyController.CurrentDuty)), _202E_206F_202E_206B_200C_200C_202B_206C_202D_200F_206A_206E_200E_202C_206A_202D_206E_200D_200E_206C_200B_200C_206E_206E_206E_200F_206D_200D_206F_202E_206F_202C_202A_206D_206A_206C_202B_206E_206B_200C_202E().X)); + } + finally + { + num = ((colorDisposable == null) ? 702830084 : 702830087); + while (true) + { + int num2 = num; + int num3 = 702830086; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 702830087; + break; + case 2: + goto end_IL_0068; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num = 702830084; + break; + } + continue; + end_IL_0068: + break; + } } IList remainingTaskNames = _seasonalDutyController.GetRemainingTaskNames(); - if (remainingTaskNames.Count > 0) + num = ((remainingTaskNames.Count <= 0) ? (-562554573) : (-562554574)); + while (true) { - ImGui.TextColored(ImGuiColors.DalamudGrey, remainingTaskNames[0]); - } - if (!isMinimized) - { - string text2 = (_seasonalDutyController.CycleLimit.HasValue ? $"Cycle {_seasonalDutyController.CompletedCycles + 1} / {_seasonalDutyController.CycleLimit}" : $"Cycle {_seasonalDutyController.CompletedCycles + 1}"); - ImGui.TextColored(ImGuiColors.DalamudGrey3, text2); - } - if (ImGuiComponents.IconButton(FontAwesomeIcon.Stop)) - { - _seasonalDutyController.Stop("UI stop"); - _movementController.Stop(); + int num7 = num; + int num3 = -562554571; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + string text; + switch (num8 - (num9 + num9)) + { + default: + continue; + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(6, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-346240664)); + defaultInterpolatedStringHandler2.AppendFormatted(_seasonalDutyController.CompletedCycles + 1); + text = defaultInterpolatedStringHandler2.ToStringAndClear(); + break; + } + case 2: + _seasonalDutyController.Stop(global::_003CModule_003E._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(-271672975)); + _movementController.Stop(); + num = -562554570; + continue; + case 6: + num = (isMinimized ? (-562554572) : (-562554563)); + continue; + case 7: + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, remainingTaskNames[0]); + num = -562554573; + continue; + case 5: + num = -562554574; + continue; + case 8: + num = (_seasonalDutyController.CycleLimit.HasValue ? (-562554575) : (-562554571)); + continue; + case 1: + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Stop, _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E())) ? (-562554570) : (-562554569)); + continue; + case 4: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1552650269)); + defaultInterpolatedStringHandler.AppendFormatted(_seasonalDutyController.CompletedCycles + 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-242478203)); + defaultInterpolatedStringHandler.AppendFormatted(_seasonalDutyController.CycleLimit); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + break; + } + case 3: + return; + } + string text2 = text; + _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)text2); + num = -562554572; } } - private void DrawQuestNames(QuestController.QuestProgress currentQuest, QuestController.ECurrentQuestType? currentQuestType) + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawCustomDeliveryActive(bool isMinimized) { - if (currentQuestType == QuestController.ECurrentQuestType.Simulated) + string text = _customDeliveryController.CurrentNpcName ?? global::_003CModule_003E._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(-518001715); + ImRaii.ColorDisposable colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, _200D_206A_202A_200E_206C_200D_202D_200F_202B_200B_206E_200E_206C_200D_202C_206C_202E_206C_206C_200E_202A_200B_202B_200F_202E_202D_202A_200E_200B_206E_206B_206B_206E_200D_206C_206E_206F_206B_202B_206E_202E(), true); + int num; + try { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E((ImU8String)UiThemeUtils.TruncateToWidth(_200C_202D_202E_206B_202C_202D_200B_202C_206F_200F_206E_202C_206C_206E_200C_206B_200B_206A_206C_202E_206A_202D_200E_206F_206D_200E_202A_202E_206C_202D_202E_202B_202D_206C_202E_200F_200D_202A_206D_202E_202E(global::_003CModule_003E._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(-1720434949), text), _202E_206F_202E_206B_200C_200C_202B_206C_202D_200F_206A_206E_200E_202C_206A_202D_206E_200D_200E_206C_200B_200C_206E_206E_206E_200F_206D_200D_206F_202E_206F_202C_202A_206D_206A_206C_202B_206E_206B_200C_202E().X)); + } + finally + { + num = ((colorDisposable == null) ? (-1732181227) : (-1732181226)); + while (true) { - 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; + int num2 = num; + int num3 = -1732181228; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1732181226; + break; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num = -1732181227; + break; + case 1: + goto end_IL_0076; + } + continue; + end_IL_0076: + break; } } - if (currentQuestType == QuestController.ECurrentQuestType.Gathering) + UiThemeUtils.WrappedTextColored(_200D_206D_206B_202E_202A_206B_202A_202E_200D_202D_200C_200C_206A_202A_202A_206D_206E_206D_200B_206E_206E_202E_202B_206F_206A_200F_200D_202B_200B_202D_202C_206A_202C_200E_206D_200E_206F_200B_200E_202B_202E(), _customDeliveryController.StatusLabel); + IList remainingTaskNames = _customDeliveryController.GetRemainingTaskNames(); + num = ((remainingTaskNames.Count <= 0) ? 1144182412 : 1144182411); + int queueRemaining = default(int); + while (true) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGold)) + int num7 = num; + int num3 = 1144182409; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) { - 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); + case 1: + { + ImU8String imU8String = new ImU8String(19, 1); + imU8String.AppendFormatted(queueRemaining); + imU8String.AppendLiteral(global::_003CModule_003E._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(444648158)); + _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref UiThemeUtils.MutedTextColor, imU8String); + num = 1144182410; + break; + } + case 3: + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Stop, _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E())) ? 1144182414 : 1144182415); + break; + case 4: + queueRemaining = _customDeliveryController.QueueRemaining; + num = ((queueRemaining <= 0) ? 1144182410 : 1144182408); + break; + case 7: return; + case 5: + num = (isMinimized ? 1144182410 : 1144182413); + break; + case 2: + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, remainingTaskNames[0]); + num = 1144182412; + break; + case 0: + num = 1144182411; + break; + case 6: + _customDeliveryController.Stop(global::_003CModule_003E._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(-30410556)); + _movementController.Stop(); + num = 1144182414; + break; } } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawGatheringActive(bool isMinimized) + { + string text = ResolveItemName(_gatheringController.CurrentItemId) ?? global::_003CModule_003E._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(2134680438); + ImRaii.ColorDisposable colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, _200E_200F_202C_206B_200B_202B_206F_206B_206F_206D_206D_200B_206A_200E_200D_200C_206F_202B_202D_202A_206E_206C_202A_206D_206E_206A_200D_202D_206F_206C_206F_206D_200F_202A_200C_200F_200F_200C_202B_206A_202E(), true); + int num; + try + { + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E((ImU8String)UiThemeUtils.TruncateToWidth(_200C_202D_202E_206B_202C_202D_200B_202C_206F_200F_206E_202C_206C_206E_200C_206B_200B_206A_206C_202E_206A_202D_200E_206F_206D_200E_202A_202E_206C_202D_202E_202B_202D_206C_202E_200F_200D_202A_206D_202E_202E(global::_003CModule_003E._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(-1818790475), text), _202E_206F_202E_206B_200C_200C_202B_206C_202D_200F_206A_206E_200E_202C_206A_202D_206E_200D_200E_206C_200B_200C_206E_206E_206E_200F_206D_200D_206F_202E_206F_202C_202A_206D_206A_206C_202B_206E_206B_200C_202E().X)); + } + finally + { + num = ((colorDisposable == null) ? 1566387616 : 1566387617); + while (true) + { + int num2 = num; + int num3 = 1566387616; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1566387617; + break; + case 0: + goto end_IL_007c; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num = 1566387616; + break; + } + continue; + end_IL_007c: + break; + } + } + IList remainingTaskNames = _gatheringController.GetRemainingTaskNames(); + num = ((remainingTaskNames.Count <= 0) ? 1907929888 : 1907929890); + while (true) + { + int num7 = num; + int num3 = 1907929895; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 3: + num = 1907929890; + break; + case 2: + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Stop, _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E())) ? 1907929889 : 1907929891); + break; + case 7: + num = (isMinimized ? 1907929893 : 1907929895); + break; + case 4: + _gatheringController.Stop(global::_003CModule_003E._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(-767095672)); + _movementController.Stop(); + num = 1907929889; + break; + case 0: + num = ((remainingTaskNames.Count <= 1) ? 1907929893 : 1907929894); + break; + case 5: + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, remainingTaskNames[0]); + num = 1907929888; + break; + case 6: + return; + case 1: + { + ImU8String imU8String = new ImU8String(13, 1); + imU8String.AppendFormatted(remainingTaskNames.Count - 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1724826834)); + _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref UiThemeUtils.MutedTextColor, imU8String); + num = 1907929893; + break; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawFishingActive(bool isMinimized) + { + string text = ResolveItemName(_fishingController.CurrentItemId) ?? global::_003CModule_003E._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(-1984542455); + ImRaii.ColorDisposable colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, _202E_202C_200D_202A_202E_206F_206A_206A_200F_202D_206D_200F_206C_200B_200C_202B_206B_200D_206F_200F_202C_200B_202B_200C_206A_202A_202D_202E_206C_200B_206B_202A_206D_206D_202A_206B_206A_200E_200B_202C_202E(), true); + int num; + try + { + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E((ImU8String)UiThemeUtils.TruncateToWidth(_200C_202D_202E_206B_202C_202D_200B_202C_206F_200F_206E_202C_206C_206E_200C_206B_200B_206A_206C_202E_206A_202D_200E_206F_206D_200E_202A_202E_206C_202D_202E_202B_202D_206C_202E_200F_200D_202A_206D_202E_202E(global::_003CModule_003E._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(522045064), text), _202E_206F_202E_206B_200C_200C_202B_206C_202D_200F_206A_206E_200E_202C_206A_202D_206E_200D_200E_206C_200B_200C_206E_206E_206E_200F_206D_200D_206F_202E_206F_202C_202A_206D_206A_206C_202B_206E_206B_200C_202E().X)); + } + finally + { + num = ((colorDisposable == null) ? 932326906 : 932326905); + while (true) + { + int num2 = num; + int num3 = 932326907; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 932326905; + break; + case 1: + goto end_IL_007c; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num = 932326906; + break; + } + continue; + end_IL_007c: + break; + } + } + IList remainingTaskNames = _fishingController.GetRemainingTaskNames(); + num = ((remainingTaskNames.Count <= 0) ? (-649755039) : (-649755035)); + while (true) + { + int num7 = num; + int num3 = -649755037; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return; + case 5: + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Stop, _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E())) ? (-649755033) : (-649755038)); + break; + case 1: + _fishingController.Stop(global::_003CModule_003E._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(-271672975)); + _movementController.Stop(); + num = -649755033; + break; + case 3: + num = -649755035; + break; + case 6: + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, remainingTaskNames[0]); + num = -649755039; + break; + case 2: + num = (isMinimized ? (-649755034) : (-649755037)); + break; + case 0: + { + string text2 = _fishingController.State.ToString(); + _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)text2); + num = -649755034; + break; + } + } + } + } + + private string? ResolveItemName(uint? itemId) + { + int num = (itemId.HasValue ? 1749616264 : 1749616270); + Item row = default(Item); + while (true) + { + int num2 = num; + int num3 = 1749616268; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return row.Name.ToString(); + case 4: + num = ((!_dataManager.GetExcelSheet().TryGetRow(itemId.Value, out row)) ? 1749616269 : 1749616271); + break; + case 2: + return null; + case 0: + num = 1749616270; + break; + case 1: + 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); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawStopConditionTooltip() + { + int num = ((_configuration.Stop.Conditions.Count != 0) ? 866326740 : 866326741); + while (true) + { + int num2 = num; + int num3 = 866326740; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 866326741; + break; + case 2: + return; + case 0: + num = (_200E_200D_200B_200F_206B_200D_206F_200B_202C_206B_202A_202C_206F_206D_202D_206C_200C_206A_200C_200C_202C_202E_206A_206D_202E_200F_206D_202B_200F_206F_206C_206E_206C_200E_202D_206F_206E_200F_202E_202E() ? 866326736 : 866326742); + break; + case 1: + num = ((_questController.SessionConditions.Count == 0) ? 866326742 : 866326740); + break; + case 4: + { + _202C_206D_202C_206B_206F_200C_200E_206A_202C_200D_200D_206F_206B_200C_200D_202B_206D_200E_200D_206C_200D_200B_200C_200C_200D_206C_202B_202A_202C_202C_202B_202E_206A_202C_206F_206B_202D_200D_202D_206C_202E(); + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E((ImU8String)global::_003CModule_003E._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(1075846850)); + using (List.Enumerator enumerator = _configuration.Stop.Conditions.GetEnumerator()) + { + num = -48425608; + while (true) + { + int num5 = num; + num3 = -48425607; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 3: + num = -48425608; + break; + case 2: + { + StopCondition current = enumerator.Current; + ImU8String imU8String = new ImU8String(3, 2); + imU8String.AppendLiteral(global::_003CModule_003E._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(-999106428)); + imU8String.AppendFormatted(current.Mode); + imU8String.AppendLiteral(global::_003CModule_003E._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(-900750902)); + imU8String.AppendFormatted(current.GetDescription()); + _206A_200D_200E_200B_206C_206E_202B_200B_206D_206F_202E_206A_202A_200F_206A_200D_200B_206C_206A_202C_206A_202C_206A_200C_202C_200E_200B_202C_206C_206B_200E_206F_206E_202C_202B_202C_202C_200B_202C_202A_202E(imU8String); + num = -48425608; + break; + } + case 1: + num = (enumerator.MoveNext() ? (-48425605) : (-48425607)); + break; + case 0: + goto end_IL_00fd; + } + continue; + end_IL_00fd: + break; + } + } + using (List.Enumerator enumerator = _questController.SessionConditions.GetEnumerator()) + { + num = 538641667; + while (true) + { + int num8 = num; + num3 = 538641664; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 538641667; + break; + case 3: + num = (enumerator.MoveNext() ? 538641665 : 538641664); + break; + case 1: + { + StopCondition current2 = enumerator.Current; + ImU8String imU8String2 = new ImU8String(3, 2); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1118615183)); + imU8String2.AppendFormatted(current2.Mode); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-900750902)); + imU8String2.AppendFormatted(current2.GetDescription()); + _206A_200D_200E_200B_206C_206E_202B_200B_206D_206F_202E_206A_202A_200F_206A_200D_200B_206C_206A_202C_206A_202C_206A_200C_202C_200E_200B_202C_206C_206B_200E_206F_206E_202C_202B_202C_202C_200B_202C_202A_202E(imU8String2); + num = 538641667; + break; + } + case 0: + goto end_IL_01ed; + } + continue; + end_IL_01ed: + break; + } + } + _206E_206C_200F_202D_206C_200C_206B_200F_206D_206A_202C_206C_206D_206F_200D_202C_202E_202E_206E_200D_206E_202A_200E_206D_202C_202D_200F_206B_206C_200E_206F_202A_206A_200D_202A_206D_206A_200B_200E_202B_202E(); + return; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawMinimizedQuest(QuestController.QuestProgress currentQuest) + { QuestController.QuestProgress startedQuest = _questController.StartedQuest; - if (startedQuest != null) + int num = ((startedQuest != null) ? 621647736 : 621647737); + int num7; + float num9 = default(float); + while (true) { - if (startedQuest.Quest.Source == Quest.ESource.UserDirectory) + int num2 = num; + int num3 = 621647741; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + string text; + string text2; + float num8; + float x; + float x2; + float num10; + switch (num5 - (num6 + num6)) { - ImGui.PushFont(UiBuilder.IconFont); - ImGui.TextColored(ImGuiColors.DalamudOrange, FontAwesomeIcon.FilePen.ToIconString()); - ImGui.PopFont(); - ImGui.SameLine(0f); - if (ImGui.IsItemHovered()) + default: + continue; + case 7: + num = (_gatheringController.IsRunning ? 621647743 : 621647733); + continue; + case 4: + text = Shorten(currentQuest.Quest.Info.Name); + goto IL_019f; + case 8: + num = (_fishingController.IsRunning ? 621647743 : 621647740); + continue; + case 0: + num = 621647737; + continue; + case 3: + num = (_customDeliveryController.IsRunning ? 621647743 : 621647732); + continue; + case 1: + num = (_fateController.IsRunning ? 621647743 : 621647739); + continue; + case 6: + num = (_seasonalDutyController.IsRunning ? 621647743 : 621647742); + continue; + case 9: + num7 = (_attunementController.IsRunning ? 1 : 0); + break; + case 5: + text = Shorten(startedQuest.Quest.Info.Name); + goto IL_019f; + case 2: { - 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."); + num7 = 1; + break; } + IL_019f: + text2 = text; + num8 = _206C_206E_200C_202A_200C_202B_200E_206D_206F_200B_202C_202C_200C_206D_202A_200D_206A_206D_200F_202C_206A_200B_202B_200F_202C_202D_206E_206F_200D_206C_206B_206E_206A_206E_202C_206C_200F_206B_200C_202A_202E(); + x = _202E_206F_202E_206B_200C_200C_202B_206C_202D_200F_206A_206E_200E_202C_206A_202D_206E_200D_200E_206C_200B_200C_206E_206E_206E_200F_206D_200D_206F_202E_206F_202C_202A_206D_206A_206C_202B_206E_206B_200C_202E().X; + num9 = _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E(); + x2 = _202C_206C_200C_202E_206C_200B_200F_206D_206E_206F_202D_200F_200B_206F_202C_202D_202E_200F_206B_200E_200C_200F_202D_200C_200F_202E_206F_206D_206B_206C_202A_206F_202B_200D_202E_200D_206C_206C_202A_206B_202E().ItemSpacing.X; + num10 = num9 * 4f + x2 * 3f; + _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref UiThemeUtils.AccentColor, (ImU8String)UiThemeUtils.TruncateToWidth(text2, x - num10 - x2)); + _202C_202A_202E_200C_202C_206A_200D_200C_206A_206D_206F_200C_206E_200B_200D_202A_202C_200E_202A_206A_200F_206E_202C_202E_206A_202A_202B_200B_206A_206C_200C_202C_206C_206B_202D_202E_202E_200C_206F_202A_202E(num8 + x - num10); + num = (_questController.IsRunning ? 621647743 : 621647738); + continue; } - 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) + break; + } + ImRaii.DisabledDisposable disabledDisposable = _200F_200C_200D_206B_200C_202E_206C_206C_206B_206B_206B_200F_206F_202B_200C_200E_206D_206C_206E_202C_202B_202B_206E_206F_206E_200D_206D_200E_206F_206F_202B_202A_200D_206C_202D_202E_202C_202E_202E_206D_202E((byte)num7 != 0); + ImRaii.ColorDisposable colorDisposable; + try + { + colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Button, UiThemeUtils.PlayButtonColor, true); + try { - 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) + ImRaii.ColorDisposable colorDisposable2 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover, true); + try { - int num = _objectTable.LocalPlayer?.Level ?? 0; - if (num > 0 && num >= _configuration.Stop.TargetLevel) + ImRaii.ColorDisposable colorDisposable3 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive, true); + try { - 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) + ImRaii.ColorDisposable colorDisposable4 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, UiThemeUtils.PlayButtonText, true); + try { - 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) + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Play, num9)) ? 1002588221 : 1002588222); + while (true) { - ImGui.SameLine(); - if (num2 >= _configuration.Stop.TargetLevel) + int num11 = num; + int num3 = 1002588221; + int num4 = num11; + switch ((num4 | num3) - (num4 & num3)) { - 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); + case 2: + num = 1002588222; + break; + case 1: + _questController.Start(global::_003CModule_003E._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(-1809965159)); + num = 1002588221; + break; + case 4: + _questController.SetNextQuest(currentQuest.Quest); + num = 1002588220; + break; + case 3: + num = ((_questFunctions.GetQuestProgressInfo(currentQuest.Quest.Id) != null) ? 1002588220 : 1002588217); + break; + case 0: + goto end_IL_0296; } + continue; + end_IL_0296: + break; } } - if (flag3) + finally { - if (flag) + num = ((colorDisposable4 == null) ? 1021762009 : 1021762010); + while (true) { - 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); + int num12 = num; + int num3 = 1021762011; + int num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1021762010; + break; + case 2: + goto end_IL_036b; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable4); + num = 1021762009; + break; + } + continue; + end_IL_036b: + break; } } - if (flag2) + } + finally + { + num = ((colorDisposable3 == null) ? 2028192270 : 2028192269); + while (true) { - if (flag || flag3) + int num13 = num; + int num3 = 2028192271; + int num4 = num13; + switch ((num4 | num3) - (num4 & num3)) { - ImGui.Spacing(); + case 0: + num = 2028192269; + break; + case 1: + goto end_IL_03d6; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable3); + num = 2028192270; + break; } - 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(); + continue; + end_IL_03d6: + break; } } } - } - if (_configuration.Advanced.AdditionalStatusInformation && _questController.IsInterruptible()) - { - ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudYellow, SeIconChar.Hyadelyn.ToIconString()); - if (ImGui.IsItemHovered()) + finally { - using ImRaii.TooltipDisposable tooltipDisposable2 = ImRaii.Tooltip(); - if (tooltipDisposable2.Alive) + num = ((colorDisposable2 == null) ? 1950199973 : 1950199972); + while (true) { - 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) + int num14 = num; + int num3 = 1950199973; + int num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) { - foreach (ElementId item2 in list) + case 0: + goto end_IL_0441; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable2); + num = 1950199973; + break; + case 2: + num = 1950199972; + break; + } + continue; + end_IL_0441: + break; + } + } + } + finally + { + num = ((colorDisposable == null) ? (-1939629864) : (-1939629863)); + while (true) + { + int num17 = num; + int num3 = -1939629864; + int num4 = num17; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1939629863; + break; + case 0: + goto end_IL_04ae; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num = -1939629864; + break; + } + continue; + end_IL_04ae: + break; + } + } + } + finally + { + num = ((disabledDisposable == null) ? (-1539532021) : (-1539532022)); + while (true) + { + int num18 = num; + int num3 = -1539532021; + int num4 = num18; + int num19 = num4 + num3; + int num20 = num4 & num3; + switch (num19 - (num20 + num20)) + { + case 0: + goto end_IL_0519; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)disabledDisposable); + num = -1539532021; + break; + case 2: + num = -1539532022; + break; + } + continue; + end_IL_0519: + break; + } + } + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.StepForward, num9)) ? (-1721937345) : (-1721937346)); + int num25 = default(int); + float num24; + while (true) + { + int num21 = num; + int num3 = -1721937349; + int num4 = num21; + int num22 = num4 + num3; + int num23 = num4 & num3; + switch (num22 - (num23 + num23)) + { + default: + continue; + case 3: + { + QuestSequence? questSequence = currentQuest.Quest.FindSequence(currentQuest.Sequence); + num25 = ((questSequence != null) ? _202E_202E_202A_202B_206A_206B_202C_202E_206F_200B_206F_206D_206A_200B_206E_202C_206F_206F_200B_202A_206C_206A_206A_206B_202D_202C_200F_206F_206D_200D_206C_200B_202C_202C_200F_206C_200B_202E_200B_202B_202E(questSequence).Count : 0); + num = ((num25 > 0) ? (-1721937357) : (-1721937351)); + continue; + } + case 5: + _questController.StartSingleStep(global::_003CModule_003E._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(-418446762)); + num = -1721937345; + continue; + case 6: + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Forward, num9)) ? (-1721937352) : (-1721937350)); + continue; + case 4: + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Stop, num9)) ? (-1721937347) : (-1721937348)); + continue; + case 2: + num24 = 0f; + break; + case 0: + num = -1721937346; + continue; + case 1: + _movementController.Stop(); + _questController.Skip(currentQuest.Quest.Id, currentQuest.Sequence); + num = -1721937352; + continue; + case 7: + StopAllControllers(global::_003CModule_003E._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(-1993005243)); + num = -1721937347; + continue; + case 8: + num24 = (float)currentQuest.Step / (float)num25; + break; + } + break; + } + float num26 = num24; + ImRaii.ColorDisposable colorDisposable5 = UiThemeUtils.PushProgressBarColors(); + try + { + _206E_202E_200B_200E_206B_202D_200E_200E_206E_206E_200C_200B_206F_202C_200B_206C_200C_206A_200E_202A_202C_206D_200B_206D_202A_202D_202A_202B_200C_200D_206E_206E_202C_200C_200C_206E_200E_200B_206C_200F_202E(num26, new Vector2(-1f, 3f), (ImU8String)string.Empty); + } + finally + { + num = ((colorDisposable5 == null) ? 87944784 : 87944785); + while (true) + { + int num27 = num; + int num3 = 87944784; + int num4 = num27; + int num28 = num4 + num3; + int num29 = num4 & num3; + switch (num28 - (num29 + num29)) + { + case 0: + goto end_IL_0768; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable5); + num = 87944784; + break; + case 2: + num = 87944785; + break; + } + continue; + end_IL_0768: + break; + } + } + int value = _202B_200E_206D_206F_202A_206B_202B_202E_202E_206D_206A_206A_200C_200E_206B_206F_200E_200C_202A_206A_206B_206C_200E_206F_206F_206A_200B_202D_202E_202B_200B_206F_202D_202D_206A_206A_200C_206F_200F_206B_202E(currentQuest.Step + 1, _200C_206F_202B_206C_202D_206E_206E_206E_206A_206D_200D_206E_202C_202E_206C_200C_206D_200C_200B_206B_206C_202B_206B_202D_202C_200E_200E_202C_206F_206B_200E_202D_206A_206E_206A_202E_202E_206B_206D_202A_202E(num25, 1)); + string text3 = null; + num = ((!_combatController.IsRunning) ? (-984884916) : (-984884915)); + string currentTaskState = default(string); + string text4; + while (true) + { + int num30 = num; + int num3 = -984884916; + int num4 = num30; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 2: + num = ((text3 != null) ? (-984884919) : (-984884917)); + continue; + case 4: + text3 = currentTaskState; + num = -984884914; + continue; + case 6: + text3 = _questController.DebugState; + num = -984884914; + continue; + case 7: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(6, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(2121328215)); + defaultInterpolatedStringHandler2.AppendFormatted(value); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-70733513)); + defaultInterpolatedStringHandler2.AppendFormatted(num25); + text4 = defaultInterpolatedStringHandler2.ToStringAndClear(); + break; + } + case 3: + num = -984884915; + continue; + case 8: + num = (_206B_200B_200F_202E_200C_202A_200B_206A_202B_206F_202B_206E_202C_206F_200B_206B_200F_200F_206D_206B_202A_202A_206A_206A_200C_200C_200E_200B_200B_202C_202D_206B_206C_200F_202B_206F_200F_200E_200C_202E(_questController.DebugState) ? (-984884914) : (-984884918)); + continue; + case 0: + currentTaskState = _questController.CurrentTaskState; + num = ((currentTaskState == null) ? (-984884924) : (-984884920)); + continue; + case 1: + text3 = global::_003CModule_003E._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(2013597711); + num = -984884914; + continue; + case 5: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1115395302)); + defaultInterpolatedStringHandler.AppendFormatted(value); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1680133376)); + defaultInterpolatedStringHandler.AppendFormatted(num25); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1884306162)); + defaultInterpolatedStringHandler.AppendFormatted(text3); + text4 = defaultInterpolatedStringHandler.ToStringAndClear(); + break; + } + } + break; + } + string text5 = text4; + colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, UiThemeUtils.DimTextColor, true); + try + { + UiThemeUtils.WrappedText(text5); + } + finally + { + num = ((colorDisposable == null) ? (-969358061) : (-969358064)); + while (true) + { + int num31 = num; + int num3 = -969358063; + int num4 = num31; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -969358064; + break; + case 2: + goto end_IL_09f0; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num = -969358061; + break; + } + continue; + end_IL_09f0: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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 num = _206C_206E_200C_202A_200C_202B_200E_206D_206F_200B_202C_202C_200C_206D_202A_200D_206A_206D_200F_202C_206A_200B_202B_200F_202C_202D_206E_206F_200D_206C_206B_206E_206A_206E_202C_206C_200F_206B_200C_202A_202E(); + float num2 = _202E_206F_202E_206B_200C_200C_202B_206C_202D_200F_206A_206E_200E_202C_206A_202D_206E_200D_200E_206C_200B_200C_206E_206E_206E_200F_206D_200D_206F_202E_206F_202C_202A_206D_206A_206C_202B_206E_206B_200C_202E().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; + IPlayerCharacter playerCharacter = _206C_202A_200C_202A_206A_200C_200F_200C_202E_206A_206A_202E_200E_202B_202D_202B_206B_206A_200D_200F_200F_206B_202A_202C_206B_202D_202D_200B_200D_202B_202B_200C_200C_202B_200F_200B_200B_200B_202E_206C_202E(_objectTable); + int currentPlayerLevel = ((playerCharacter != null) ? _202B_200B_200F_200F_202A_206C_206D_206B_200F_200D_206A_202C_206C_200B_206A_202E_200D_202D_202E_200F_200B_206E_206E_200F_200C_206D_206E_206A_200E_206F_206B_202A_206A_206D_206F_202D_202B_202C_200E_202B_202E((ICharacter)playerCharacter) : 0); + int num3 = ((!item4) ? (-1477048887) : (-1477048886)); + while (true) + { + int num4 = num3; + int num5 = -1477048888; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + default: + continue; + case 3: + num3 = -1477048886; + continue; + case 2: + if (_autoDutyIpc.IsConfiguredToRunLevelingMode(currentPlayerLevel)) + { + num3 = -1477048888; + continue; + } + goto case 1; + case 0: + if (item7 != null) + { + num3 = -1477048884; + continue; + } + goto case 1; + case 4: + { + _200B_206B_200E_202A_206A_200F_200D_206D_200D_202E_200E_206E_206D_200D_200E_202B_206A_200D_206E_206A_206C_206A_206B_200F_206F_200D_206B_202D_202B_200D_206E_206A_200D_200B_202D_206A_202E_206E_200F_200C_202E(num + num2); + Vector4 vector = _202A_206C_206E_206E_206D_206D_202A_200F_200E_206E_200C_200B_202B_200C_200F_200D_202D_200E_202C_200C_206C_200E_200C_202A_206F_202E_200E_200E_200F_202D_206F_206E_206A_202A_202D_200C_200E_202D_202A_202A_202E(); + ImU8String imU8String = new ImU8String(22, 2); + imU8String.AppendLiteral(global::_003CModule_003E._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(1214630592)); + imU8String.AppendFormatted(item7); + imU8String.AppendLiteral(global::_003CModule_003E._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(224066110)); + imU8String.AppendFormatted(item6); + _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref vector, imU8String); + ImRaii.ColorDisposable colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, UiThemeUtils.DimTextColor, true); + try + { + ImU8String imU8String2 = new ImU8String(57, 2); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-2048536778)); + imU8String2.AppendFormatted(item5); + imU8String2.AppendLiteral(global::_003CModule_003E._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(75652545)); + imU8String2.AppendFormatted((item5 == 1) ? string.Empty : global::_003CModule_003E._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(1550583417)); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1722172452)); + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E(imU8String2); + } + finally + { + num3 = ((colorDisposable == null) ? 440487731 : 440487728); + while (true) + { + int num9 = num3; + num5 = 440487729; + num6 = num9; + switch ((num6 | num5) - (num6 & num5)) { - if (_questRegistry.TryGetQuest(item2, out Quest quest2)) - { - ImU8String text10 = new ImU8String(3, 2); - text10.AppendFormatted(quest2.Info.Name); - text10.AppendLiteral(" ("); - text10.AppendFormatted(item2); - text10.AppendLiteral(")"); - ImGui.BulletText(text10); - } + case 0: + num3 = 440487728; + break; + case 2: + goto end_IL_0217; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num3 = 440487731; + break; } + continue; + end_IL_0217: + break; } - else + } + _206D_202B_202C_206F_206F_200B_206F_206F_202D_200F_202C_206D_202E_206A_202B_202C_202D_202D_200F_202E_206C_202E_206E_200E_202E_206C_206F_202A_202B_202B_206B_200B_200D_200B_200B_202D_206C_202B_206B_202C_202E(); + float size = _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E(); + num3 = (_questController.IsRunning ? 1877422138 : 1877422134); + int num11; + while (true) + { + int num10 = num3; + num5 = 1877422142; + num6 = num10; + switch ((num6 | num5) - (num6 & num5)) { - ImGui.BulletText("(none)"); + default: + continue; + case 3: + num3 = (_seasonalDutyController.IsRunning ? 1877422138 : 1877422143); + continue; + case 7: + num3 = (_fishingController.IsRunning ? 1877422138 : 1877422139); + continue; + case 8: + num3 = (_gatheringController.IsRunning ? 1877422138 : 1877422137); + continue; + case 1: + num3 = (_customDeliveryController.IsRunning ? 1877422138 : 1877422136); + continue; + case 2: + num3 = 1877422134; + continue; + case 0: + num11 = ((!_autoDutyIpc.IsStopped()) ? 1 : 0); + break; + case 5: + num3 = (_fateController.IsRunning ? 1877422138 : 1877422141); + continue; + case 6: + num3 = (_attunementController.IsRunning ? 1877422138 : 1877422142); + continue; + case 4: + num11 = 1; + break; } - if (_configuration.Advanced.AdditionalStatusInformation) + break; + } + ImRaii.DisabledDisposable disabledDisposable = _200F_200C_200D_206B_200C_202E_206C_206C_206B_206B_206B_200F_206F_202B_200C_200E_206D_206C_206E_202C_202B_202B_206E_206F_206E_200D_206D_200E_206F_206F_202B_202A_200D_206C_202D_202E_202C_202E_202E_206D_202E((byte)num11 != 0); + try + { + colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Button, UiThemeUtils.PlayButtonColor, true); + try { - List list2 = nextPriorityQuestsThatCanBeAccepted.Where((PriorityQuestInfo x) => !x.IsAvailable).ToList(); - if (list2.Count > 0) + ImRaii.ColorDisposable colorDisposable2 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover, true); + try { - ImGui.Text("Unavailable priority quests:"); - foreach (var (elementId2, value) in list2) + ImRaii.ColorDisposable colorDisposable3 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive, true); + try { - if (_questRegistry.TryGetQuest(elementId2, out Quest quest3)) + ImRaii.ColorDisposable colorDisposable4 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, UiThemeUtils.PlayButtonText, true); + try { - ImU8String text12 = new ImU8String(6, 3); - text12.AppendFormatted(quest3.Info.Name); - text12.AppendLiteral(" ("); - text12.AppendFormatted(elementId2); - text12.AppendLiteral(") - "); - text12.AppendFormatted(value); - ImGui.BulletText(text12); + num3 = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Play, size)) ? (-587433458) : (-587433460)); + while (true) + { + int num12 = num3; + num5 = -587433459; + num6 = num12; + switch ((num6 | num5) - (num6 & num5)) + { + case 2: + num3 = -587433460; + break; + case 0: + _202C_206E_206F_202D_202C_202B_202E_200C_200D_206B_206B_202E_206F_206F_206A_200B_202A_200E_206A_200B_202A_200C_200C_202C_202C_200C_206B_206F_200E_200F_200E_200E_206C_202A_202E_200C_206A_206A_200E_206F_202E(_chatGui, global::_003CModule_003E._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(43094195), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + num3 = -587433458; + break; + case 1: + _202E_202E_202D_200C_200B_200D_202C_206D_200C_202C_200B_202B_200F_202E_202A_206C_202B_202E_206D_200C_206D_202C_202A_206B_200E_202A_202C_206A_206F_202B_206D_202D_202D_202B_202E_206B_206B_202A_202D_206C_202E((ILogger)_logger, global::_003CModule_003E._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(1053651217), Array.Empty()); + num3 = ((!_autoDutyIpc.StartLevelingMode()) ? (-587433459) : (-587433463)); + break; + case 4: + { + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(59, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1817016272)); + defaultInterpolatedStringHandler.AppendFormatted(item6); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1066195627)); + defaultInterpolatedStringHandler.AppendFormatted(item7); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1262906679)); + _206B_206C_206C_200D_206B_206D_200B_206A_206E_206A_202C_206A_206B_206D_206B_206F_206C_206B_206B_200F_206F_202B_200B_202E_206E_200B_200D_206D_206A_202B_206C_200E_200E_206C_202E_206B_200D_200F_206E_206A_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + num3 = -587433458; + break; + } + case 3: + goto end_IL_0462; + } + continue; + end_IL_0462: + break; + } + } + finally + { + num3 = ((colorDisposable4 == null) ? 1067192071 : 1067192068); + while (true) + { + int num13 = num3; + num5 = 1067192069; + num6 = num13; + switch ((num6 | num5) - (num6 & num5)) + { + case 2: + goto end_IL_05be; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable4); + num3 = 1067192071; + break; + case 0: + num3 = 1067192068; + break; + } + continue; + end_IL_05be: + break; + } + } + } + finally + { + num3 = ((colorDisposable3 == null) ? (-38333506) : (-38333505)); + while (true) + { + int num14 = num3; + num5 = -38333506; + num6 = num14; + int num15 = num6 + num5; + int num16 = num6 & num5; + switch (num15 - (num16 + num16)) + { + case 2: + num3 = -38333505; + break; + case 0: + goto end_IL_062e; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable3); + num3 = -38333506; + break; + } + continue; + end_IL_062e: + break; } } } + finally + { + num3 = ((colorDisposable2 == null) ? (-205032898) : (-205032897)); + while (true) + { + int num17 = num3; + num5 = -205032898; + num6 = num17; + int num18 = num6 + num5; + int num19 = num6 & num5; + switch (num18 - (num19 + num19)) + { + case 2: + num3 = -205032897; + break; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable2); + num3 = -205032898; + break; + case 0: + goto end_IL_06a0; + } + continue; + end_IL_06a0: + break; + } + } + } + finally + { + num3 = ((colorDisposable == null) ? 1110655560 : 1110655563); + while (true) + { + int num20 = num3; + num5 = 1110655561; + num6 = num20; + switch ((num6 | num5) - (num6 & num5)) + { + case 1: + goto end_IL_0712; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num3 = 1110655560; + break; + case 0: + num3 = 1110655563; + break; + } + continue; + end_IL_0712: + break; + } } } + finally + { + num3 = ((disabledDisposable == null) ? 1917512739 : 1917512736); + while (true) + { + int num21 = num3; + num5 = 1917512738; + num6 = num21; + int num22 = num6 + num5; + int num23 = num6 & num5; + switch (num22 - (num23 + num23)) + { + case 0: + num3 = 1917512736; + break; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)disabledDisposable); + num3 = 1917512739; + break; + case 1: + goto end_IL_0782; + } + continue; + end_IL_0782: + break; + } + } + if (!_202A_200B_206B_202D_200D_206D_200B_200E_200C_200D_202D_200C_206B_206A_202C_206E_206E_200F_206B_200D_202A_202B_202B_202D_200B_200E_202E_206A_200C_206C_200F_200F_200B_200F_202C_200B_200F_202C_206B_200D_202E(ImGuiHoveredFlags.AllowWhenDisabled)) + { + break; + } + num3 = -1019970739; + while (true) + { + int num24 = num3; + num5 = -1019970740; + num6 = num24; + int num25 = num6 + num5; + int num26 = num6 & num5; + switch (num25 - (num26 + num26)) + { + default: + continue; + case 2: + num3 = -1019970739; + continue; + case 1: + num3 = (_autoDutyIpc.IsStopped() ? (-1019970737) : (-1019970740)); + continue; + case 0: + _206F_202E_202D_200E_200C_200E_200D_206C_206E_200E_202E_206F_200E_202E_206D_200C_206B_200F_206F_206E_206F_202E_202A_206D_202C_202B_206A_206A_206C_200D_200F_206C_206A_206A_206F_202B_202E_206F_206B_200D_202E((ImU8String)global::_003CModule_003E._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(1590813096)); + break; + case 3: + { + ImU8String imU8String3 = new ImU8String(53, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-900914893)); + imU8String3.AppendFormatted(item6); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-1163312383)); + _206F_202E_202D_200E_200C_200E_200D_206C_206E_200E_202E_206F_200E_202E_206D_200C_206B_200F_206F_206E_206F_202E_202A_206D_202C_202B_206A_206A_206C_200D_200F_206C_206A_206A_206F_202B_202E_206F_206B_200D_202E(imU8String3); + break; + } + } + break; + } + break; } - } - } - QuestController.QuestProgress nextQuest = _questController.NextQuest; - if (nextQuest != null) - { - 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()) + case 1: { - string text2 = MultipleWhitespaceRegex().Replace(questProgressInfo.ToString(), " "); - ImGui.SetClipboardText(text2); - _chatGui.Print("Copied '" + text2 + "' to clipboard"); + ImRaii.ColorDisposable colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, UiThemeUtils.DimTextColor, true); + try + { + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E((ImU8String)global::_003CModule_003E._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(2062963149)); + } + finally + { + num3 = ((colorDisposable == null) ? (-1727582402) : (-1727582401)); + while (true) + { + int num27 = num3; + num5 = -1727582402; + num6 = num27; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + goto end_IL_08fd; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num3 = -1727582402; + break; + case 2: + num3 = -1727582401; + break; + } + continue; + end_IL_08fd: + break; + } + } + string lastStopReason = _questController.LastStopReason; + if (lastStopReason == null) + { + break; + } + colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, _202A_206C_206E_206E_206D_206D_202A_200F_200E_206E_200C_200B_202B_200C_200F_200D_202D_200E_202C_200C_206C_200E_200C_202A_206F_202E_200E_200E_200F_202D_206F_206E_206A_202A_202D_200C_200E_202D_202A_202A_202E(), true); + try + { + UiThemeUtils.WrappedText(lastStopReason); + } + finally + { + num3 = ((colorDisposable == null) ? 1579698075 : 1579698072); + while (true) + { + int num28 = num3; + num5 = 1579698073; + num6 = num28; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num3 = 1579698072; + break; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num3 = 1579698075; + break; + case 2: + goto end_IL_0996; + } + continue; + end_IL_0996: + break; + } + } + break; } - 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"); + break; } if (!isMinimized) { - ImGui.SameLine(); - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.StepForward, "Step")) + float num29 = _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E(); + float x = _202C_206C_200C_202E_206C_200B_200F_206D_206E_206F_202D_200F_200B_206F_202C_202D_202E_200F_206B_200E_200C_200F_202D_200C_200F_202E_206F_206D_206B_206C_202A_206F_202B_200D_202E_200D_206C_206C_202A_206B_202E().ItemSpacing.X; + float num30 = num29 * 2f + x; + ImRaii.ColorDisposable colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, UiThemeUtils.MutedTextColor, true); + try { - _questController.StartSingleStep("UI step"); + ImU8String imU8String4 = new ImU8String(14, 1); + imU8String4.AppendFormatted(_questRegistry.Count); + imU8String4.AppendLiteral(global::_003CModule_003E._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(479225625)); + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E(imU8String4); + } + finally + { + num3 = ((colorDisposable == null) ? (-824980491) : (-824980492)); + while (true) + { + int num31 = num3; + int num5 = -824980491; + int num6 = num31; + int num32 = num6 + num5; + int num33 = num6 & num5; + switch (num32 - (num33 + num33)) + { + case 2: + num3 = -824980492; + break; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num3 = -824980491; + break; + case 0: + goto end_IL_0a77; + } + continue; + end_IL_0a77: + break; + } + } + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + _202B_206F_202C_200F_202A_202C_202A_206D_206B_200B_206A_202E_206B_206A_200D_202C_206E_206C_200E_202E_200F_206B_206E_202D_202E_202E_206E_200E_206F_202C_206E_206E_206D_206C_200F_202A_200D_200E_200B_206B_202E(num + num2 - num30); + if (UiThemeUtils.IconButton(FontAwesomeIcon.Stop, num29)) + { + StopAllControllers(global::_003CModule_003E._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(494076814)); + if (!_autoDutyIpc.IsStopped()) + { + try + { + _autoDutyIpc.Stop(); + } + catch (Exception ex) + { + _202C_202D_200C_202E_200C_206E_200E_206E_202A_200C_200B_202C_200E_206D_202D_202A_202B_206C_200C_202B_202A_200F_206F_200E_200B_202C_206E_200D_200B_202E_202B_202A_200B_202A_202B_206E_206F_202D_202A_200E_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-735508401), Array.Empty()); + } + } + } + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + num3 = ((!UiThemeUtils.IconButton(FontAwesomeIcon.SortAmountDown, num29)) ? 1307931510 : 1307931511); + while (true) + { + int num34 = num3; + int num5 = 1307931510; + int num6 = num34; + switch ((num6 | num5) - (num6 & num5)) + { + case 2: + num3 = 1307931511; + break; + case 1: + { + System.Action? action = this.OpenQueueTab; + if (action == null) + { + goto end_IL_0b69; + } + action(); + num3 = 1307931510; + break; + } + case 0: + goto end_IL_0b69; + } + continue; + end_IL_0b69: + break; } } } - ImGui.SameLine(); - if (ImGuiComponents.IconButton(FontAwesomeIcon.Stop)) + catch (Exception ex2) { - _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(_200C_206C_200D_200D_206F_200C_200E_206C_202B_202E_202D_200D_206E_200E_206C_200F_206A_206E_206E_200D_200E_202A_202C_200F_200F_202E_202B_200F_206E_202A_202A_206C_200F_200E_206D_200B_206A_202B_206E_202B_202E(), _206A_202D_202C_200B_200C_202D_206B_206A_202D_206B_200D_202C_206D_200D_206F_206E_202A_200F_206C_202D_202C_206D_200C_206C_200F_200C_206C_202B_200D_202C_202D_200F_202A_206F_200E_202E_202D_206A_202A_200D_202E((object)ex2)); } + UiThemeUtils.EndCard(item, item2, item3); } + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawQuestCard(QuestController.QuestProgress currentQuest, QuestController.ECurrentQuestType? currentQuestType) + { + QuestController.QuestProgress startedQuest = _questController.StartedQuest; + QuestSequence questSequence = currentQuest.Quest.FindSequence(currentQuest.Sequence); + int num = ((questSequence != null) ? (-1809927327) : (-1809927326)); + object obj; + while (true) + { + int num2 = num; + int num3 = -1809927325; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + goto IL_0068; + case 1: + obj = null; + break; + case 2: + obj = _202C_206B_200D_200F_202E_206E_202E_200F_202D_202E_202C_200F_206D_206D_206F_206A_202E_202E_202A_200D_202D_200C_202B_206B_200B_206F_202D_206D_206D_202E_206B_200E_200B_206B_206F_200B_200C_206E_206B_206E_202E(questSequence, currentQuest.Step); + break; + } + break; + IL_0068: + num = -1809927326; + } + QuestStep questStep = (QuestStep)obj; + 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 num5 = _206C_206E_200C_202A_200C_202B_200E_206D_206F_200B_202C_202C_200C_206D_202A_200D_206A_206D_200F_202C_206A_200B_202B_200F_202C_202D_206E_206F_200D_206C_206B_206E_206A_206E_202C_206C_200F_206B_200C_202A_202E(); + float num6 = _202E_206F_202E_206B_200C_200C_202B_206C_202D_200F_206A_206E_200E_202C_206A_202D_206E_200D_200E_206C_200B_200C_206E_206E_206E_200F_206D_200D_206F_202E_206F_202C_202A_206D_206A_206C_202B_206E_206B_200C_202E().X - 12f; + try + { + float num7 = _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E(); + float num8 = num5 + num6 - num7 - _202C_206C_200C_202E_206C_200B_200F_206D_206E_206F_202D_200F_200B_206F_202C_202D_202E_200F_206B_200E_200C_200F_202D_200C_200F_202E_206F_206D_206B_206C_202A_206F_202B_200D_202E_200D_206C_206C_202A_206B_202E().ItemSpacing.X; + num = ((currentQuestType != QuestController.ECurrentQuestType.Simulated) ? 1274942762 : 1274942760); + int num12; + while (true) + { + int num9 = num; + int num3 = 1274942761; + int num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + string name; + string text; + switch (num10 - (num11 + num11)) + { + default: + continue; + case 8: + _206F_202E_202D_200E_200C_200E_200D_206C_206E_200E_202E_206F_200E_202E_206D_200C_206B_200F_206F_206E_206F_202E_202A_206D_202C_202B_206A_206A_206C_200D_200F_206C_206A_206A_206F_202B_202E_206F_206B_200D_202E((ImU8String)global::_003CModule_003E._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(1623652935)); + num = 1274942755; + continue; + case 5: + num = ((startedQuest.Quest.Source != Questionable.Model.Quest.ESource.UserDirectory) ? 1274942755 : 1274942761); + continue; + case 0: + { + _202E_202E_202A_200D_202E_200C_206B_202E_200E_202C_206E_206D_206E_206D_206B_206C_206F_200B_200F_202D_202E_200E_202D_202B_200B_206D_206E_206F_200F_206E_202C_200B_202B_200D_200B_202A_200E_200C_202A_206F_202E(_202A_200F_200D_200D_206A_206C_206D_206C_202B_200E_206F_200F_206B_206D_206B_200B_202D_202C_200B_202C_206D_202A_202B_200D_206C_206B_202C_206C_200B_200E_202D_202E_202E_200F_206B_206F_200C_200D_202E_200F_202E()); + Vector4 vector = _200D_206D_206B_202E_202A_206B_202A_202E_200D_202D_200C_200C_206A_202A_202A_206D_206E_206D_200B_206E_206E_202E_202B_206F_206A_200F_200D_202B_200B_202D_202C_206A_202C_200E_206D_200E_206F_200B_200E_202B_202E(); + _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref vector, (ImU8String)_200D_202E_202D_200F_206C_200D_206D_202B_206B_206D_200E_202E_202B_202A_200B_200B_200B_200D_206B_206A_202E_206C_202E_206D_200F_206E_206F_200F_202A_202A_202E_200C_200B_200D_200E_206C_206C_200B_202B_202E(FontAwesomeIcon.FilePen)); + _206D_202B_202B_200E_200E_206C_200F_200E_202C_206B_202D_206D_206A_200C_206B_200C_202E_200B_202B_202B_206D_200F_206A_200C_206D_206E_200D_200C_206D_202D_206D_200F_206D_206A_206D_200B_202D_202D_200E_206E_202E(); + _202C_202A_202E_200C_202C_206A_200D_200C_206A_206D_206F_200C_206E_200B_200D_202A_202C_200E_202A_206A_200F_206E_202C_202E_206A_202A_202B_200B_206A_206C_200C_202C_206C_206B_202D_202E_202E_200C_206F_202A_202E(0f); + num = ((!_200E_200D_200B_200F_206B_200D_206F_200B_202C_206B_202A_202C_206F_206D_202D_206C_200C_206A_200C_200C_202C_202E_206A_206D_202E_200F_206D_202B_200F_206F_206C_206E_206C_200E_202D_206F_206E_200F_202E_202E()) ? 1274942755 : 1274942753); + continue; + } + case 12: + name = currentQuest.Quest.Info.Name; + goto IL_02b7; + case 7: + { + _200B_206B_200E_202A_206A_200F_200D_206D_200D_202E_200E_206E_206D_200D_200E_202B_206A_200D_206E_206A_206C_206A_206B_200F_206F_200D_206B_202D_202B_200D_206E_206A_200D_200B_202D_206A_202E_206E_200F_200C_202E(num8); + Vector4 vector = _200E_200F_202C_206B_200B_202B_206F_206B_206F_206D_206D_200B_206A_200E_200D_200C_206F_202B_202D_202A_206E_206C_202A_206D_206E_206A_200D_202D_206F_206C_206F_206D_200F_202A_200C_200F_200F_200C_202B_206A_202E(); + ImU8String imU8String2 = new ImU8String(11, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(204926802)); + imU8String2.AppendFormatted(currentQuest.Quest.Info.Name); + _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref vector, imU8String2); + _206D_202B_202C_206F_206F_200B_206F_206F_202D_200F_202C_206D_202E_206A_202B_202C_202D_202D_200F_202E_206C_202E_206E_200E_202E_206C_206F_202A_202B_202B_206B_200B_200D_200B_200B_202D_206C_202B_206B_202C_202E(); + num = 1274942754; + continue; + } + case 9: + name = startedQuest.Quest.Info.Name; + goto IL_02b7; + case 2: + num = 1274942760; + continue; + case 14: + num = ((!_202B_202B_206D_206B_200B_206B_206F_202D_202E_200D_202A_200E_206F_200C_200C_200C_202D_202E_206E_206C_200C_206D_202A_202C_200D_202A_200C_200B_206B_206D_206D_206B_202C_202A_200F_200B_200C_206D_200C_202A_202E(startedQuest.Quest.Root)) ? 1274942754 : 1274942765); + continue; + case 11: + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + _202B_206F_202C_200F_202A_202C_202A_206D_206B_200B_206A_202E_206B_206A_200D_202C_206E_206C_200E_202E_200F_206B_206E_202D_202E_202E_206E_200E_206F_202C_206E_206E_206D_206C_200F_202A_200D_200E_200B_206B_202E(num5 + num6 - num7); + num = (_questCardExpanded ? 1274942756 : 1274942758); + continue; + case 10: + num = ((startedQuest != null) ? 1274942752 : 1274942757); + continue; + case 1: + { + _200B_206B_200E_202A_206A_200F_200D_206D_200D_202E_200E_206E_206D_200D_200E_202B_206A_200D_206E_206A_206C_206A_206B_200F_206F_200D_206B_202D_202B_200D_206E_206A_200D_200B_202D_206A_202E_206E_200F_200C_202E(num8); + Vector4 vector = _200C_206C_200D_200D_206F_200C_200E_206C_202B_202E_202D_200D_206E_200E_206C_200F_206A_206E_206E_200D_200E_202A_202C_200F_200F_202E_202B_200F_206E_202A_202A_206C_200F_200E_206D_200B_206A_202B_206E_202B_202E(); + ImU8String imU8String = new ImU8String(11, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1426941883)); + imU8String.AppendFormatted(currentQuest.Quest.Info.Name); + _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref vector, imU8String); + _206D_202B_202C_206F_206F_200B_206F_206F_202D_200F_202C_206D_202E_206A_202B_202C_202D_202D_200F_202E_206C_202E_206E_200E_202E_206C_206F_202A_202B_202B_206B_200B_200D_200B_200B_202D_206C_202B_206B_202C_202E(); + num = 1274942754; + continue; + } + case 4: + { + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + Vector4 vector = _200C_206C_200D_200D_206F_200C_200E_206C_202B_202E_202D_200D_206E_200E_206C_200F_206A_206E_206E_200D_200E_202A_202C_200F_200F_202E_202B_200F_206E_202A_202A_206C_200F_200E_206D_200B_206A_202B_206E_202B_202E(); + _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref vector, (ImU8String)global::_003CModule_003E._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(-1800349721)); + num = 1274942754; + continue; + } + case 3: + num = ((currentQuestType != QuestController.ECurrentQuestType.Gathering) ? 1274942767 : 1274942766); + continue; + case 6: + num = ((startedQuest == null) ? 1274942755 : 1274942764); + continue; + case 15: + num12 = 61560; + break; + case 13: + { + num12 = 61559; + break; + } + IL_02b7: + text = name; + _200B_206B_200E_202A_206A_200F_200D_206D_200D_202E_200E_206E_206D_200D_200E_202B_206A_200D_206E_206A_206C_206A_206B_200F_206F_200D_206B_202D_202B_200D_206E_206A_200D_200B_202D_206A_202E_206E_200F_200C_202E(num8); + _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref UiThemeUtils.AccentColor, (ImU8String)text); + _206D_202B_202C_206F_206F_200B_206F_206F_202D_200F_202C_206D_202E_206A_202B_202C_202D_202D_200F_202E_206C_202E_206E_200E_202E_206C_206F_202A_202B_202B_206B_200B_200D_200B_200B_202D_206C_202B_206B_202C_202E(); + num = ((startedQuest == null) ? 1274942754 : 1274942759); + continue; + } + break; + } + FontAwesomeIcon icon = (FontAwesomeIcon)num12; + ImRaii.ColorDisposable colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Button, Vector4.Zero, true); + try + { + ImRaii.ColorDisposable colorDisposable2 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.ButtonHovered, UiThemeUtils.SubtleActiveColor, true); + try + { + ImRaii.ColorDisposable colorDisposable3 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.ButtonActive, UiThemeUtils.SubtlePressColor, true); + try + { + num = ((!UiThemeUtils.IconButton(icon, num7)) ? (-946181556) : (-946181553)); + while (true) + { + int num13 = num; + int num3 = -946181555; + int num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -946181553; + break; + case 2: + _questCardExpanded = !_questCardExpanded; + num = -946181556; + break; + case 1: + goto end_IL_04bb; + } + continue; + end_IL_04bb: + break; + } + } + finally + { + num = ((colorDisposable3 == null) ? 1853237578 : 1853237577); + while (true) + { + int num14 = num; + int num3 = 1853237579; + int num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) + { + case 0: + num = 1853237577; + break; + case 1: + goto end_IL_0532; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable3); + num = 1853237578; + break; + } + continue; + end_IL_0532: + break; + } + } + } + finally + { + num = ((colorDisposable2 == null) ? (-845638651) : (-845638650)); + while (true) + { + int num17 = num; + int num3 = -845638652; + int num4 = num17; + int num18 = num4 + num3; + int num19 = num4 & num3; + switch (num18 - (num19 + num19)) + { + case 0: + num = -845638650; + break; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable2); + num = -845638651; + break; + case 1: + goto end_IL_05a4; + } + continue; + end_IL_05a4: + break; + } + } + } + finally + { + num = ((colorDisposable == null) ? 388096058 : 388096057); + while (true) + { + int num20 = num; + int num3 = 388096059; + int num4 = num20; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 388096057; + break; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num = 388096058; + break; + case 1: + goto end_IL_0616; + } + continue; + end_IL_0616: + break; + } + } + string text2 = null; + num = ((!_combatController.IsRunning) ? (-122246827) : (-122246826)); + string currentTaskState = default(string); + int num27 = default(int); + EInteractionType eInteractionType = default(EInteractionType); + string text4 = default(string); + bool flag = default(bool); + while (true) + { + int num21 = num; + int num3 = -122246832; + int num4 = num21; + int num22 = num4 + num3; + int num23 = num4 & num3; + switch (num22 - (num23 + num23)) + { + case 0: + text2 = _questController.DebugState; + num = -122246831; + break; + case 4: + text2 = currentTaskState; + num = -122246831; + break; + case 5: + currentTaskState = _questController.CurrentTaskState; + num = ((currentTaskState == null) ? (-122246829) : (-122246828)); + break; + case 6: + text2 = global::_003CModule_003E._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(2013597711); + num = -122246831; + break; + case 3: + num = (_206B_200B_200F_202E_200C_202A_200B_206A_202B_206F_202B_206E_202C_206F_200B_206B_200F_200F_206D_206B_202A_202A_206A_206A_200C_200C_200E_200B_200B_202C_202D_206B_206C_200F_202B_206F_200F_200E_200C_202E(_questController.DebugState) ? (-122246831) : (-122246832)); + break; + case 2: + num = -122246826; + break; + case 1: + { + _200B_206B_200E_202A_206A_200F_200D_206D_200D_202E_200E_206E_206D_200D_200E_202B_206A_200D_206E_206A_206C_206A_206B_200F_206F_200D_206B_202D_202B_200D_206E_206A_200D_200B_202D_206A_202E_206E_200F_200C_202E(num5 + num6); + colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, UiThemeUtils.DimTextColor, true); + try + { + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E((ImU8String)(text2 ?? global::_003CModule_003E._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(2018550958))); + } + finally + { + num = ((colorDisposable == null) ? (-1779511041) : (-1779511044)); + while (true) + { + int num24 = num; + num3 = -1779511042; + num4 = num24; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1779511044; + break; + case 1: + goto end_IL_07ca; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num = -1779511041; + break; + } + continue; + end_IL_07ca: + break; + } + } + _206D_202B_202C_206F_206F_200B_206F_206F_202D_200F_202C_206D_202E_206A_202B_202C_202D_202D_200F_202E_206C_202E_206E_200E_202E_206C_206F_202A_202B_202B_206B_200B_200D_200B_200B_202D_206C_202B_206B_202C_202E(); + num = ((questSequence != null) ? (-970034650) : (-970034656)); + float num26; + while (true) + { + int num25 = num; + num3 = -970034652; + num4 = num25; + int num28; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 2: + num28 = _202E_202E_202A_202B_206A_206B_202C_202E_206F_200B_206F_206D_206A_200B_206E_202C_206F_206F_200B_202A_206C_206A_206A_206B_202D_202C_200F_206F_206D_200D_206C_200B_202C_202C_200F_206C_200B_202E_200B_202B_202E(questSequence).Count; + goto IL_0878; + case 4: + num28 = 0; + goto IL_0878; + case 3: + num26 = 0f; + break; + case 0: + num = -970034656; + continue; + case 1: + { + num26 = (float)currentQuest.Step / (float)num27; + break; + } + IL_0878: + num27 = num28; + num = ((num27 > 0) ? (-970034651) : (-970034649)); + continue; + } + break; + } + float num29 = num26; + ImRaii.ColorDisposable colorDisposable4 = UiThemeUtils.PushProgressBarColors(); + try + { + _206E_202E_200B_200E_206B_202D_200E_200E_206E_206E_200C_200B_206F_202C_200B_206C_200C_206A_200E_202A_202C_206D_200B_206D_202A_202D_202A_202B_200C_200D_206E_206E_202C_200C_200C_206E_200E_200B_206C_200F_202E(num29, new Vector2(num6, 4f), (ImU8String)string.Empty); + } + finally + { + num = ((colorDisposable4 == null) ? 1853465686 : 1853465685); + while (true) + { + int num30 = num; + num3 = 1853465687; + num4 = num30; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1853465685; + break; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable4); + num = 1853465686; + break; + case 1: + goto end_IL_0923; + } + continue; + end_IL_0923: + break; + } + } + _206E_202E_206F_200B_200C_202C_202B_206A_206F_202A_206F_206A_206D_206F_200B_206E_206A_200B_206F_206E_202C_202D_202A_202A_202D_206D_200E_202C_206D_206D_200D_202D_206F_202C_200B_206F_206F_202C_200E_202E_202E(); + _206E_202E_206F_200B_200C_202C_202B_206A_206F_202A_206F_206A_206D_206F_200B_206E_206A_200B_206F_206E_202C_202D_202A_202A_202D_206D_200E_202C_206D_206D_200D_202D_206F_202C_200B_206F_206F_202C_200E_202E_202E(); + int value = _202B_200E_206D_206F_202A_206B_202B_202E_202E_206D_206A_206A_200C_200E_206B_206F_200E_200C_202A_206A_206B_206C_200E_206F_206F_206A_200B_202D_202E_202B_200B_206F_202D_202D_206A_206A_200C_206F_200F_206B_202E(currentQuest.Step + 1, _200C_206F_202B_206C_202D_206E_206E_206E_206A_206D_200D_206E_202C_202E_206C_200C_206D_200C_200B_206B_206C_202B_206B_202D_202C_200E_200E_202C_206F_206B_200E_202D_206A_206E_206A_202E_202E_206B_206D_202A_202E(num27, 1)); + _206E_202B_202A_202D_206C_202B_206A_206B_206A_206A_202D_200C_200B_206A_206D_202C_202A_206B_202C_206B_206B_200E_200D_200C_202B_206A_202A_206C_200F_202A_202C_200B_200D_202D_206B_202C_200C_206C_206B_202E_202E(); + colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, UiThemeUtils.MutedTextColor, true); + try + { + ImU8String imU8String3 = new ImU8String(9, 2); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-965467699)); + imU8String3.AppendFormatted(value); + imU8String3.AppendLiteral(global::_003CModule_003E._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(891743000)); + imU8String3.AppendFormatted(num27); + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E(imU8String3); + } + finally + { + num = ((colorDisposable == null) ? 704709166 : 704709167); + while (true) + { + int num31 = num; + num3 = 704709166; + num4 = num31; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_0a0c; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num = 704709166; + break; + case 2: + num = 704709167; + break; + } + continue; + end_IL_0a0c: + break; + } + } + float num32 = _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E(); + float x = _202C_206C_200C_202E_206C_200B_200F_206D_206E_206F_202D_200F_200B_206F_202C_202D_202E_200F_206B_200E_200C_200F_202D_200C_200F_202E_206F_206D_206B_206C_202A_206F_202B_200D_202E_200D_206C_206C_202A_206B_202E().ItemSpacing.X; + ImRaii.FontDisposable fontDisposable = _202B_206A_202E_206E_202D_206A_200F_200F_202B_206B_202D_202D_202E_200F_206A_206F_200C_200F_202A_206F_202C_206E_202E_206D_200F_206A_202E_202A_202E_206A_206D_202D_200F_202C_206A_202A_200E_200F_206F_206C_202E(_202A_200F_200D_200D_206A_206C_206D_206C_202B_200E_206F_200F_206B_206D_206B_200B_202D_202C_200B_202C_206D_202A_202B_200D_206C_206B_202C_206C_200B_200E_202D_202E_202E_200F_206B_206F_200C_200D_202E_200F_202E(), true); + Vector2 vector2; + try + { + vector2 = _200E_200E_200F_200B_200F_206A_200E_200D_202B_200B_202C_202A_202D_206E_200F_206D_206C_200C_200B_202D_202C_206F_200B_206C_200F_206E_200C_206A_200C_206F_206E_206A_200C_206C_202D_202A_200D_206F_200E_200C_202E((ImU8String)_200D_202E_202D_200F_206C_200D_206D_202B_206B_206D_200E_202E_202B_202A_200B_200B_200B_200D_206B_206A_202E_206C_202E_206D_200F_206E_206F_200F_202A_202A_202E_200C_200B_200D_200E_206C_206C_200B_202B_202E(FontAwesomeIcon.Play), false, -1f); + } + finally + { + num = ((fontDisposable == null) ? (-1384453383) : (-1384453384)); + while (true) + { + int num33 = num; + num3 = -1384453383; + num4 = num33; + int num34 = num4 + num3; + int num35 = num4 & num3; + switch (num34 - (num35 + num35)) + { + case 2: + num = -1384453384; + break; + case 0: + goto end_IL_0ac1; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)fontDisposable); + num = -1384453383; + break; + } + continue; + end_IL_0ac1: + break; + } + } + float x2 = _200E_200E_200F_200B_200F_206A_200E_200D_202B_200B_202C_202A_202D_206E_200F_206D_206C_200C_200B_202D_202C_206F_200B_206C_200F_206E_200C_206A_200C_206F_206E_206A_200C_206C_202D_202A_200D_206F_200E_200C_202E((ImU8String)global::_003CModule_003E._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(1306719706), false, -1f).X; + float num36 = _202C_206C_200C_202E_206C_200B_200F_206D_206E_206F_202D_200F_200B_206F_202C_202D_202E_200F_206B_200E_200C_200F_202D_200C_200F_202E_206F_206D_206B_206C_202A_206F_202B_200D_202E_200D_206C_206C_202A_206B_202E().FramePadding.X * 3f * 2f + vector2.X + 6f + x2; + num = (_questController.IsRunning ? 2069742109 : 2069742105); + int num38; + while (true) + { + int num37 = num; + num3 = 2069742104; + num4 = num37; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + num = 2069742105; + continue; + case 6: + num = (_fateController.IsRunning ? 2069742109 : 2069742108); + continue; + case 4: + num = (_seasonalDutyController.IsRunning ? 2069742109 : 2069742106); + continue; + case 3: + num = (_fishingController.IsRunning ? 2069742109 : 2069742110); + continue; + case 1: + num = (_gatheringController.IsRunning ? 2069742109 : 2069742107); + continue; + case 7: + num38 = (_attunementController.IsRunning ? 1 : 0); + break; + case 2: + num = (_customDeliveryController.IsRunning ? 2069742109 : 2069742111); + continue; + case 5: + num38 = 1; + break; + } + break; + } + float num39 = num36 + (num32 + x) * 3f; + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + _202B_206F_202C_200F_202A_202C_202A_206D_206B_200B_206A_202E_206B_206A_200D_202C_206E_206C_200E_202E_200F_206B_206E_202D_202E_202E_206E_200E_206F_202C_206E_206E_206D_206C_200F_202A_200D_200E_200B_206B_202E(num5 + num6 - num39); + ImRaii.DisabledDisposable disabledDisposable = _200F_200C_200D_206B_200C_202E_206C_206C_206B_206B_206B_200F_206F_202B_200C_200E_206D_206C_206E_202C_202B_202B_206E_206F_206E_200D_206D_200E_206F_206F_202B_202A_200D_206C_202D_202E_202C_202E_202E_206D_202E((byte)num38 != 0); + try + { + colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Button, UiThemeUtils.PlayButtonColor, true); + try + { + ImRaii.ColorDisposable colorDisposable2 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover, true); + try + { + ImRaii.ColorDisposable colorDisposable3 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive, true); + try + { + ImRaii.ColorDisposable colorDisposable5 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, UiThemeUtils.PlayButtonText, true); + try + { + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Play, global::_003CModule_003E._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(1306719706), num36)) ? 708226379 : 708226382); + while (true) + { + int num40 = num; + num3 = 708226378; + num4 = num40; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 708226382; + break; + case 2: + _questController.SetNextQuest(currentQuest.Quest); + num = 708226378; + break; + case 4: + num = ((questProgressInfo != null) ? 708226378 : 708226376); + break; + case 0: + _questController.Start(global::_003CModule_003E._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(-1809965159)); + num = 708226379; + break; + case 1: + goto end_IL_0d52; + } + continue; + end_IL_0d52: + break; + } + } + finally + { + num = ((colorDisposable5 == null) ? (-597929640) : (-597929637)); + while (true) + { + int num41 = num; + num3 = -597929639; + num4 = num41; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -597929637; + break; + case 1: + goto end_IL_0e12; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable5); + num = -597929640; + break; + } + continue; + end_IL_0e12: + break; + } + } + } + finally + { + num = ((colorDisposable3 == null) ? (-745915135) : (-745915136)); + while (true) + { + int num42 = num; + num3 = -745915135; + num4 = num42; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -745915136; + break; + case 0: + goto end_IL_0e82; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable3); + num = -745915135; + break; + } + continue; + end_IL_0e82: + break; + } + } + } + finally + { + num = ((colorDisposable2 == null) ? (-844982535) : (-844982536)); + while (true) + { + int num43 = num; + num3 = -844982535; + num4 = num43; + int num44 = num4 + num3; + int num45 = num4 & num3; + switch (num44 - (num45 + num45)) + { + case 2: + num = -844982536; + break; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable2); + num = -844982535; + break; + case 0: + goto end_IL_0ef2; + } + continue; + end_IL_0ef2: + break; + } + } + } + finally + { + num = ((colorDisposable == null) ? 1996833315 : 1996833314); + while (true) + { + int num46 = num; + num3 = 1996833315; + num4 = num46; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_0f64; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num = 1996833315; + break; + case 2: + num = 1996833314; + break; + } + continue; + end_IL_0f64: + break; + } + } + num = ((!_202A_200B_206B_202D_200D_206D_200B_200E_200C_200D_202D_200C_206B_206A_202C_206E_206E_200F_206B_200D_202A_202B_202B_202D_200B_200E_202E_206A_200C_206C_200F_200F_200B_200F_202C_200B_200F_202C_206B_200D_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-499700013) : (-499700016)); + while (true) + { + int num47 = num; + num3 = -499700014; + num4 = num47; + int num48 = num4 + num3; + int num49 = num4 & num3; + switch (num48 - (num49 + num49)) + { + case 0: + num = -499700016; + break; + case 2: + _206F_202E_202D_200E_200C_200E_200D_206C_206E_200E_202E_206F_200E_202E_206D_200C_206B_200F_206F_206E_206F_202E_202A_206D_202C_202B_206A_206A_206C_200D_200F_206C_206A_206A_206F_202B_202E_206F_206B_200D_202E((ImU8String)global::_003CModule_003E._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(1706732561)); + num = -499700013; + break; + case 1: + goto end_IL_0fd7; + } + continue; + end_IL_0fd7: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? 1256893257 : 1256893258); + while (true) + { + int num50 = num; + num3 = 1256893259; + num4 = num50; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_1055; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)disabledDisposable); + num = 1256893257; + break; + case 0: + num = 1256893258; + break; + } + continue; + end_IL_1055: + break; + } + } + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + ImRaii.StyleDisposable styleDisposable = _206E_200E_206C_200C_202E_202A_202E_206E_202D_206D_206D_200D_206B_200B_206A_200D_206E_206B_202D_200F_200B_206D_200D_206F_202E_200D_206A_206F_206A_202D_206B_206F_202B_200D_202E_206A_206E_202B_206B_206E_202E(ImGuiStyleVar.FrameBorderSize, 1f, true); + try + { + colorDisposable = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Border, UiThemeUtils.CardBorderHighColor, true); + try + { + ImRaii.ColorDisposable colorDisposable2 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Button, new Vector4(0.12f, 0.1f, 0.18f, 1f), true); + try + { + ImRaii.ColorDisposable colorDisposable3 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.ButtonHovered, new Vector4(0.2f, 0.16f, 0.28f, 1f), true); + try + { + ImRaii.ColorDisposable colorDisposable5 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.ButtonActive, new Vector4(0.25f, 0.2f, 0.35f, 1f), true); + try + { + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.StepForward, num32)) ? 1655729010 : 1655729009); + while (true) + { + int num51 = num; + num3 = 1655729010; + num4 = num51; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = 1655729009; + break; + case 0: + num = ((!_200E_200D_200B_200F_206B_200D_206F_200B_202C_206B_202A_202C_206F_206D_202D_206C_200C_206A_200C_200C_202C_202E_206A_206D_202E_200F_206D_202B_200F_206F_206C_206E_206C_200E_202D_206F_206E_200F_202E_202E()) ? 1655729014 : 1655729011); + break; + case 3: + _questController.StartSingleStep(global::_003CModule_003E._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(705777353)); + num = 1655729010; + break; + case 4: + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Stop, num32)) ? 1655729008 : 1655729015); + break; + case 5: + StopAllControllers(global::_003CModule_003E._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(-30410556)); + num = 1655729008; + break; + case 1: + _206F_202E_202D_200E_200C_200E_200D_206C_206E_200E_202E_206F_200E_202E_206D_200C_206B_200F_206F_206E_206F_202E_202A_206D_202C_202B_206A_206A_206C_200D_200F_206C_206A_206A_206F_202B_202E_206F_206B_200D_202E((ImU8String)global::_003CModule_003E._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(-1598500498)); + num = 1655729014; + break; + case 2: + { + DrawStopConditionTooltip(); + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + QuestSequence? questSequence2 = currentQuest.Quest.FindSequence(currentQuest.Sequence); + disabledDisposable = _200F_200C_200D_206B_200C_202E_206C_206C_206B_206B_206B_200F_206F_202B_200C_200E_206D_206C_206E_202C_202B_202B_206E_206F_206E_200D_206D_200E_206F_206F_202B_202A_200D_206C_202D_202E_202C_202E_202E_206D_202E(questStep == ((questSequence2 != null) ? _202E_202E_202A_202B_206A_206B_202C_202E_206F_200B_206F_206D_206A_200B_206E_202C_206F_206F_200B_202A_206C_206A_206A_206B_202D_202C_200F_206F_206D_200D_206C_200B_202C_202C_200F_206C_200B_202E_200B_202B_202E(questSequence2).LastOrDefault() : null)); + try + { + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Forward, num32)) ? (-1561561467) : (-1561561472)); + while (true) + { + int num52 = num; + num3 = -1561561471; + num4 = num52; + int num53 = num4 + num3; + int num54 = num4 & num3; + switch (num53 - (num54 + num54)) + { + case 2: + num = -1561561472; + break; + case 4: + num = ((!_202A_200B_206B_202D_200D_206D_200B_200E_200C_200D_202D_200C_206B_206A_202C_206E_206E_200F_206B_200D_202A_202B_202B_202D_200B_200E_202E_206A_200C_206C_200F_200F_200B_200F_202C_200B_200F_202C_206B_200D_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-1561561470) : (-1561561471)); + break; + case 0: + _206F_202E_202D_200E_200C_200E_200D_206C_206E_200E_202E_206F_200E_202E_206D_200C_206B_200F_206F_206E_206F_202E_202A_206D_202C_202B_206A_206A_206C_200D_200F_206C_206A_206A_206F_202B_202E_206F_206B_200D_202E((ImU8String)global::_003CModule_003E._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(2094221495)); + num = -1561561470; + break; + case 1: + _movementController.Stop(); + _questController.Skip(currentQuest.Quest.Id, currentQuest.Sequence); + num = -1561561467; + break; + case 3: + goto end_IL_12b0; + } + continue; + end_IL_12b0: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-352809062) : (-352809061)); + while (true) + { + int num55 = num; + num3 = -352809062; + num4 = num55; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_1390; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)disabledDisposable); + num = -352809062; + break; + case 2: + num = -352809061; + break; + } + continue; + end_IL_1390: + break; + } + } + goto end_IL_1155; + } + } + continue; + end_IL_1155: + break; + } + } + finally + { + num = ((colorDisposable5 == null) ? 403276378 : 403276379); + while (true) + { + int num56 = num; + num3 = 403276378; + num4 = num56; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 403276379; + break; + case 0: + goto end_IL_1400; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable5); + num = 403276378; + break; + } + continue; + end_IL_1400: + break; + } + } + } + finally + { + num = ((colorDisposable3 == null) ? (-1015045512) : (-1015045509)); + while (true) + { + int num57 = num; + num3 = -1015045510; + num4 = num57; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1015045509; + break; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable3); + num = -1015045512; + break; + case 2: + goto end_IL_1470; + } + continue; + end_IL_1470: + break; + } + } + } + finally + { + num = ((colorDisposable2 == null) ? 1419865656 : 1419865659); + while (true) + { + int num58 = num; + num3 = 1419865657; + num4 = num58; + int num59 = num4 + num3; + int num60 = num4 & num3; + switch (num59 - (num60 + num60)) + { + case 0: + num = 1419865659; + break; + case 1: + goto end_IL_14e0; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable2); + num = 1419865656; + break; + } + continue; + end_IL_14e0: + break; + } + } + } + finally + { + num = ((colorDisposable == null) ? 1112060778 : 1112060777); + while (true) + { + int num61 = num; + num3 = 1112060779; + num4 = num61; + int num62 = num4 + num3; + int num63 = num4 & num3; + switch (num62 - (num63 + num63)) + { + case 1: + goto end_IL_1552; + case 2: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable); + num = 1112060778; + break; + case 0: + num = 1112060777; + break; + } + continue; + end_IL_1552: + break; + } + } + } + finally + { + num = ((styleDisposable == null) ? 1084173692 : 1084173695); + while (true) + { + int num64 = num; + num3 = 1084173694; + num4 = num64; + int num65 = num4 + num3; + int num66 = num4 & num3; + switch (num65 - (num66 + num66)) + { + case 0: + num = 1084173695; + break; + case 2: + goto end_IL_15c4; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)styleDisposable); + num = 1084173692; + break; + } + continue; + end_IL_15c4: + break; + } + } + if (!_questCardExpanded) + { + goto end_IL_068d; + } + num = -895413615; + while (true) + { + int num67 = num; + num3 = -895413613; + num4 = num67; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + num = -895413615; + continue; + case 2: + _206E_202E_206F_200B_200C_202C_202B_206A_206F_202A_206F_206A_206D_206F_200B_206E_206A_200B_206F_206E_202C_202D_202A_202A_202D_206D_200E_202C_206D_206D_200D_202D_206F_202C_200B_206F_206F_202C_200E_202E_202E(); + _200B_206B_200E_202A_206A_200F_200D_206D_200D_202E_200E_206E_206D_200D_200E_202B_206A_200D_206E_206A_206C_206A_206B_200F_206F_200D_206B_202D_202B_200D_206E_206A_200D_200B_202D_206A_202E_206E_200F_200C_202E(num5 + num6); + if (startedQuest != null) + { + num = -895413614; + continue; + } + break; + case 1: + { + ImRaii.ColorDisposable colorDisposable6 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, UiThemeUtils.DimTextColor, true); + try + { + ImU8String imU8String4 = new ImU8String(15, 3); + imU8String4.AppendFormatted(startedQuest.Quest.Id); + imU8String4.AppendLiteral(global::_003CModule_003E._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(970430161)); + imU8String4.AppendFormatted(startedQuest.Sequence); + imU8String4.AppendLiteral(global::_003CModule_003E._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(-786881555)); + imU8String4.AppendFormatted(startedQuest.Step); + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E(imU8String4); + } + finally + { + num = ((colorDisposable6 == null) ? (-1801729739) : (-1801729738)); + while (true) + { + int num68 = num; + num3 = -1801729737; + num4 = num68; + int num69 = num4 + num3; + int num70 = num4 & num3; + switch (num69 - (num70 + num70)) + { + case 0: + num = -1801729738; + break; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable6); + num = -1801729739; + break; + case 2: + goto end_IL_1713; + } + continue; + end_IL_1713: + break; + } + } + break; + } + } + break; + } + if (questProgressInfo != null) + { + ImRaii.ColorDisposable colorDisposable7 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, UiThemeUtils.DimTextColor, true); + try + { + ImU8String imU8String5 = new ImU8String(0, 1); + imU8String5.AppendFormatted(questProgressInfo); + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E(imU8String5); + num = ((!_200C_206A_202D_200B_202E_202B_206F_200C_206D_206B_206C_202D_206C_200E_206C_206A_200E_206D_206E_200F_202D_200C_206D_200F_202B_200B_202A_202A_206A_200F_200B_206E_206C_206F_202D_202C_206D_206D_202D_206D_202E()) ? (-561090679) : (-561090678)); + while (true) + { + int num71 = num; + num3 = -561090677; + num4 = num71; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + _202E_202E_202A_200D_202E_200C_206B_202E_200E_202C_206E_206D_206E_206D_206B_206C_206F_200B_200F_202D_202E_200E_202D_202B_200B_206D_206E_206F_200F_206E_202C_200B_202B_200D_200B_202A_200E_200C_202A_206F_202E(_202A_200F_200D_200D_206A_206C_206D_206C_202B_200E_206F_200F_206B_206D_206B_200B_202D_202C_200B_202C_206D_202A_202B_200D_206C_206B_202C_206C_200B_200E_202D_202E_202E_200F_206B_206F_200C_200D_202E_200F_202E()); + _206E_200B_206D_200D_206D_206F_200B_202A_206F_200C_200D_202B_200F_202A_206D_202E_200E_200E_202C_202A_202A_200B_206E_202D_200D_206A_202C_202A_206D_200B_206C_200B_206F_200E_206A_202E_202D_200F_200E_202E((ImU8String)_200D_202E_202D_200F_206C_200D_206D_202B_206B_206D_200E_202E_202B_202A_200B_200B_200B_200D_206B_206A_202E_206C_202E_206D_200F_206E_206F_200F_202A_202A_202E_200C_200B_200D_200E_206C_206C_200B_202B_202E(FontAwesomeIcon.Copy)); + _206D_202B_202B_200E_200E_206C_200F_200E_202C_206B_202D_206D_206A_200C_206B_200C_202E_200B_202B_202B_206D_200F_206A_200C_206D_206E_200D_200C_206D_202D_206D_200F_206D_206A_206D_200B_202D_202D_200E_206E_202E(); + num = -561090674; + break; + case 5: + num = ((currentQuest.Quest.Info.AlliedSociety == EAlliedSociety.None) ? (-561090680) : (-561090673)); + break; + case 2: + num = ((!_200E_200D_200B_200F_206B_200D_206F_200B_202C_206B_202A_202C_206F_206D_202D_206C_200C_206A_200C_200C_202C_202E_206A_206D_202E_200F_206D_202B_200F_206F_206C_206E_206C_200E_202D_206F_206E_200F_202E_202E()) ? (-561090674) : (-561090675)); + break; + case 0: + num = -561090678; + break; + case 4: + { + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + ImU8String imU8String6 = new ImU8String(2, 1); + imU8String6.AppendLiteral(global::_003CModule_003E._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(1805890328)); + imU8String6.AppendFormatted(questProgressInfo.ClassJob); + _206E_200B_206D_200D_206D_206F_200B_202A_206F_200C_200D_202B_200F_202A_206D_202E_200E_200E_202C_202A_202A_200B_206E_202D_200D_206A_202C_202A_206D_200B_206C_200B_206F_200E_206A_202E_202D_200F_200E_202E(imU8String6); + num = -561090680; + break; + } + case 1: + { + string text3 = _202B_206E_200C_200F_202C_200D_206B_206F_206B_206C_200D_200D_200F_200E_202B_200F_206C_202B_202E_202C_200B_202D_206E_200F_202B_206E_200B_200F_202B_206F_200C_202E_206B_206D_206D_206E_200F_206B_206C_206A_202E(MultipleWhitespaceRegex(), _206A_202D_202C_200B_200C_202D_206B_206A_202D_206B_200D_202C_206D_200D_206F_206E_202A_200F_206C_202D_202C_206D_200C_206C_200F_200C_206C_202B_200D_202C_202D_200F_202A_206F_200E_202E_202D_206A_202A_200D_202E((object)questProgressInfo), global::_003CModule_003E._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(-818915859)); + _200B_202C_200E_200B_206E_206F_200D_200F_206C_206D_202A_200D_202A_206F_202A_206A_206E_202A_206B_202E_202D_202C_200C_206E_202B_202D_206F_202E_200F_206C_206D_206E_206E_202D_202C_206E_206E_202A_200C_206A_202E((ImU8String)text3); + _206B_206C_206C_200D_206B_206D_200B_206A_206E_206A_202C_206A_206B_206D_206B_206F_206C_206B_206B_200F_206F_202B_200B_202E_206E_200B_200D_206D_206A_202B_206C_200E_200E_206C_202E_206B_200D_200F_206E_206A_202E(_chatGui, _200F_206A_202C_206C_200B_200B_202E_200E_206C_200E_200F_202E_206C_202D_202A_202D_206E_200D_202A_200D_206E_200C_202A_200F_200E_206F_206A_202B_200D_206E_206B_206F_200E_206B_200D_206C_202D_206A_206F_206E_202E(global::_003CModule_003E._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(-2046209483), text3, global::_003CModule_003E._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(854895789)), (string)null, (ushort?)null); + num = -561090679; + break; + } + case 3: + goto end_IL_17af; + } + continue; + end_IL_17af: + break; + } + } + finally + { + num = ((colorDisposable7 == null) ? (-139688526) : (-139688527)); + while (true) + { + int num72 = num; + num3 = -139688528; + num4 = num72; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -139688527; + break; + case 2: + goto end_IL_1942; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable7); + num = -139688526; + break; + } + continue; + end_IL_1942: + break; + } + } + } + ImRaii.ColorDisposable colorDisposable8 = _202E_200E_200B_206B_206D_206B_206E_202C_206F_200D_202A_206B_200B_206A_200E_206F_202D_206B_200B_200D_200E_200C_202B_202C_202E_206E_206A_206E_206A_202D_202B_202E_200D_202A_202E_202B_206B_200E_202B_202C_202E(); + try + { + num = ((questStep == null) ? 294423165 : 294423157); + while (true) + { + int num73 = num; + num3 = 294423160; + num4 = num73; + int num74 = num4 + num3; + int num75 = num4 & num3; + object obj2; + switch (num74 - (num75 + num75)) + { + case 7: + obj2 = _206B_206B_200C_206C_200D_206C_202D_206C_206F_202B_206B_206E_206E_200E_202A_200C_200C_200D_202A_202B_200E_200F_206A_200E_206C_202E_206D_200B_200F_206C_206A_202E_202E_206A_200B_206A_200F_206D_202C_202A_202E(questSequence); + goto IL_1a17; + case 13: + eInteractionType = _206F_200F_206E_200F_206C_200F_206C_206D_206D_206A_206B_206D_206E_202C_202E_200E_200F_206F_202C_206A_202D_200B_206A_200F_200F_200B_200F_206E_206D_202A_206D_202D_200C_200D_206E_200D_206B_202A_200C_200C_202E(questStep); + num = ((eInteractionType == EInteractionType.WaitForManualProgress) ? 294423164 : 294423161); + break; + case 0: + obj2 = null; + goto IL_1b17; + case 9: + num = ((questStep != null) ? 294423163 : 294423160); + break; + case 14: + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E((ImU8String)text4); + num = 294423166; + break; + case 8: + num = 294423157; + break; + case 10: + num = ((eInteractionType != EInteractionType.Instruction) ? 294423165 : 294423164); + break; + case 12: + num = ((!flag) ? 294423153 : 294423162); + break; + case 3: + obj2 = _200C_206A_202B_202E_206F_202C_200C_202D_200D_202B_200D_200D_202B_200C_206D_206E_202B_202D_202B_206B_206C_202C_206F_202D_206F_200F_202B_206E_200F_200C_200F_206D_202C_200C_200C_200E_202C_200C_202D_206D_202E(questStep); + goto IL_1b17; + case 11: + obj2 = null; + goto IL_1a17; + case 1: + num = ((eInteractionType == EInteractionType.Snipe) ? 294423164 : 294423154); + break; + case 2: + _206F_206B_200C_206A_206B_202B_202A_202D_200F_206D_202D_200F_206E_202E_200C_200F_206D_202B_202E_200F_206A_206B_206D_206D_202A_200F_200D_206B_206B_202E_202E_206B_200B_200D_202D_202D_202E_202D_202C_206A_202E(colorDisposable8, ImGuiCol.Text, _200D_206D_206B_202E_202A_206B_202A_202E_200D_202D_200C_200C_206A_202A_202A_206D_206E_206D_200B_206E_206E_202E_202B_206F_206A_200F_200D_202B_200B_202D_202C_206A_202C_200E_206D_200E_206F_200B_200E_202B_202E(), true); + num = 294423153; + break; + case 4: + flag = true; + num = 294423156; + break; + case 5: + flag = false; + num = 294423156; + break; + case 6: + goto end_IL_19b3; + IL_1b17: + if (obj2 == null) + { + num = ((questSequence != null) ? 294423167 : 294423155); + break; + } + goto IL_1a2e; + IL_1a17: + if (obj2 == null) + { + obj2 = _206F_206C_202C_206B_200E_206F_202B_202B_202A_202D_202B_206D_206B_200D_202C_202D_200D_202D_202D_200D_200F_200B_200E_200E_200B_202D_200D_206A_200F_202A_200C_200B_206C_206C_202D_206B_206D_206C_202D_206D_202E(currentQuest.Quest.Root); + } + goto IL_1a2e; + IL_1a2e: + text4 = (string)obj2; + num = (_206B_200B_200F_202E_200C_202A_200B_206A_202B_206F_202B_206E_202C_206F_200B_206B_200F_200F_206D_206B_202A_202A_206A_206A_200C_200C_200E_200B_200B_202C_202D_206B_206C_200F_202B_206F_200F_200E_200C_202E(text4) ? 294423166 : 294423158); + break; + } + continue; + end_IL_19b3: + break; + } + } + finally + { + num = ((colorDisposable8 == null) ? (-347151565) : (-347151568)); + while (true) + { + int num76 = num; + num3 = -347151567; + num4 = num76; + int num77 = num4 + num3; + int num78 = num4 & num3; + switch (num77 - (num78 + num78)) + { + case 0: + num = -347151568; + break; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable8); + num = -347151565; + break; + case 2: + goto end_IL_1bcc; + } + continue; + end_IL_1bcc: + break; + } + } + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E((ImU8String)_questController.ToStatString()); + QuestController.QuestProgress nextQuest = _questController.NextQuest; + if (nextQuest != null) + { + ImRaii.ColorDisposable colorDisposable9 = _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol.Text, _202A_206C_206E_206E_206D_206D_202A_200F_200E_206E_200C_200B_202B_200C_200F_200D_202D_200E_202C_200C_206C_200E_200C_202A_206F_202E_200E_200E_200F_202D_206F_206E_206A_202A_202D_200C_200E_202D_202A_202A_202E(), true); + try + { + ImU8String imU8String7 = new ImU8String(9, 2); + imU8String7.AppendLiteral(global::_003CModule_003E._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(1689338203)); + imU8String7.AppendFormatted(Shorten(nextQuest.Quest.Info.Name)); + imU8String7.AppendLiteral(global::_003CModule_003E._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(-1495931675)); + imU8String7.AppendFormatted(nextQuest.Quest.Id); + imU8String7.AppendLiteral(global::_003CModule_003E._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(424561659)); + _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E(imU8String7); + } + finally + { + num = ((colorDisposable9 == null) ? 112958250 : 112958251); + while (true) + { + int num79 = num; + num3 = 112958250; + num4 = num79; + int num80 = num4 + num3; + int num81 = num4 & num3; + switch (num80 - (num81 + num81)) + { + case 2: + num = 112958251; + break; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)colorDisposable9); + num = 112958250; + break; + case 0: + goto end_IL_1ce9; + } + continue; + end_IL_1ce9: + break; + } + } + } + _206D_202B_202C_206F_206F_200B_206F_206F_202D_200F_202C_206D_202E_206A_202B_202C_202D_202D_200F_202E_206C_202E_206E_200E_202E_206C_206F_202A_202B_202B_206B_200B_200D_200B_200B_202D_206C_202B_206B_202C_202E(); + goto end_IL_068d; + } + } + continue; + end_IL_068d: + break; + } + } + catch (Exception ex) + { + UiThemeUtils.WrappedTextColored(_200C_206C_200D_200D_206F_200C_200E_206C_202B_202E_202D_200D_206E_200E_206C_200F_206A_206E_206E_200D_200E_202A_202C_200F_200F_202E_202B_200F_206E_202A_202A_206C_200F_200E_206D_200B_206A_202B_206E_202B_202E(), _206A_202D_202C_200B_200C_202D_206B_206A_202D_206B_200D_202C_206D_200D_206F_206E_202A_200F_206C_202D_202C_206D_200C_206C_200F_200C_206C_202B_200D_202C_202D_200F_202A_206F_200E_202E_202D_206A_202A_200D_202E((object)ex)); + _200F_206C_202A_202C_200E_200D_200E_206A_202B_200D_202B_206A_206F_202C_206F_200D_202E_202B_202A_200B_200C_200F_200E_202E_200B_202C_206B_202B_206F_200C_200F_206C_206C_206E_200E_202A_206F_202C_202E_206F_202E((ILogger)_logger, ex, global::_003CModule_003E._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(459752988), Array.Empty()); + } + UiThemeUtils.EndCard(item, item2, item3); + DrawSimulationControls(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawSimulationControls() { - if (_questController.SimulatedQuest == null) + int num = ((_questController.SimulatedQuest != null) ? 1313421221 : 1313421218); + QuestController.QuestProgress simulatedQuest = default(QuestController.QuestProgress); + QuestSequence questSequence = default(QuestSequence); + Vector2 contentStartPos = default(Vector2); + float availableWidth = default(float); + ImDrawListPtr drawList = default(ImDrawListPtr); + while (true) { - 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); - ImGui.BeginDisabled(simulatedQuest.Sequence == 0); - if (ImGuiComponents.IconButton(FontAwesomeIcon.Minus)) - { - _movementController.Stop(); - _questController.Stop("Sim-"); - byte oldSequence = simulatedQuest.Sequence; - byte sequence = simulatedQuest.Quest.Root.QuestSequence.Select((QuestSequence x) => x.Sequence).LastOrDefault((byte x) => x < oldSequence, 0); - _questController.SimulatedQuest.SetSequence(sequence); - } - ImGui.EndDisabled(); - ImGui.SameLine(); - ImGui.BeginDisabled(simulatedQuest.Sequence >= byte.MaxValue); - if (ImGuiComponents.IconButton(FontAwesomeIcon.Plus)) - { - _movementController.Stop(); - _questController.Stop("Sim+"); - byte oldSequence2 = simulatedQuest.Sequence; - byte sequence2 = simulatedQuest.Quest.Root.QuestSequence.Select((QuestSequence x) => x.Sequence).FirstOrDefault((byte x) => x > oldSequence2, byte.MaxValue); - simulatedQuest.SetSequence(sequence2); - } - ImGui.EndDisabled(); - QuestSequence questSequence = simulatedQuest.Quest.FindSequence(simulatedQuest.Sequence); - 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)) + int num2 = num; + int num3 = 1313421222; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 2: + num = 1313421218; + continue; + case 6: { _movementController.Stop(); - _questController.Stop("SimStep-"); - simulatedQuest.SetStep(Math.Min(simulatedQuest.Step - 1, questSequence.Steps.Count - 1)); + _questController.Stop(global::_003CModule_003E._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(809151549)); + byte oldSequence = simulatedQuest.Sequence; + byte sequence = (from x in _206C_202B_202E_202E_202E_202B_206C_200F_202B_206B_206E_200E_200D_200E_202C_200B_202E_202C_202D_202E_202B_202C_206E_202D_200F_206C_206F_200E_206A_200E_206F_200F_202D_202B_206F_200B_206A_200D_206D_202B_202E(simulatedQuest.Quest.Root) + select _003C_003Ec._200F_206D_206F_206B_206B_206E_206C_202B_202E_202A_206B_202E_202D_200C_206B_206F_206A_202A_206F_206B_202A_206B_202E_206D_202B_202D_206B_200D_202E_202E_200E_200C_200D_200B_200F_200B_206F_206F_206E_202B_202E(x)).LastOrDefault((byte x) => x < oldSequence, 0); + _questController.SimulatedQuest.SetSequence(sequence); + num = 1313421217; + continue; } - ImGui.EndDisabled(); - ImGui.SameLine(); - ImGui.BeginDisabled(simulatedQuest.Step >= questSequence.Steps.Count); - if (ImGuiComponents.IconButton(FontAwesomeIcon.Plus)) + case 1: { _movementController.Stop(); - _questController.Stop("SimStep+"); - simulatedQuest.SetStep((simulatedQuest.Step == questSequence.Steps.Count - 1) ? 255 : (simulatedQuest.Step + 1)); + _questController.Stop(global::_003CModule_003E._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(-779639025)); + byte oldSequence2 = simulatedQuest.Sequence; + byte sequence2 = (from x in _206C_202B_202E_202E_202E_202B_206C_200F_202B_206B_206E_200E_200D_200E_202C_200B_202E_202C_202D_202E_202B_202C_206E_202D_200F_206C_206F_200E_206A_200E_206F_200F_202D_202B_206F_200B_206A_200D_206D_202B_202E(simulatedQuest.Quest.Root) + select _003C_003Ec._200F_206D_206F_206B_206B_206E_206C_202B_202E_202A_206B_202E_202D_200C_206B_206F_206A_202A_206F_206B_202A_206B_202E_206D_202B_202D_206B_200D_202E_202E_200E_200C_200D_200B_200F_200B_206F_206F_206E_202B_202E(x)).FirstOrDefault((byte x) => x > oldSequence2, byte.MaxValue); + simulatedQuest.SetSequence(sequence2); + num = 1313421222; + continue; } - ImGui.EndDisabled(); - if (ImGui.Button("Skip current task")) + case 7: + _202B_206F_206A_200B_206A_200C_206C_206F_202B_202E_202D_200D_200C_200E_202E_200B_200B_200E_200D_206F_200B_200E_206E_202D_202D_200C_202B_206B_202C_200B_200E_206B_200C_202C_202B_202A_202D_206E_206F_200C_202E(); + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + _200D_200B_200B_200B_200B_206A_202C_202D_202D_202D_200F_200E_200D_202C_202C_206D_206A_206E_202A_206A_200B_202A_206F_202C_202C_202D_206A_206A_202A_206D_206C_200B_206A_206D_200E_200E_206E_206C_206C_206B_202E(simulatedQuest.Sequence >= byte.MaxValue); + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Plus, _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E())) ? 1313421222 : 1313421223); + continue; + case 4: + return; + case 0: + _202B_206F_206A_200B_206A_200C_206C_206F_202B_202E_202D_200D_200C_200E_202E_200B_200B_200E_200D_206F_200B_200E_206E_202D_202D_200C_202B_206B_202C_200B_200E_206B_200C_202C_202B_202A_202D_206E_206F_200C_202E(); + questSequence = simulatedQuest.Quest.FindSequence(simulatedQuest.Sequence); + if (questSequence != null) + { + num = 1313421219; + continue; + } + break; + case 3: { - _questController.SkipSimulatedTask(); + simulatedQuest = _questController.SimulatedQuest; + UiThemeUtils.SectionSpacing(); + (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-1277207182)); + UiThemeUtils.WrappedTextColored(_200C_206C_200D_200D_206F_200C_200E_206C_202B_202E_202D_200D_206E_200E_206C_200F_206A_206E_206E_200D_200E_202A_202C_200F_200F_202E_202B_200F_206E_202A_202A_206C_200F_200E_206D_200B_206A_202B_206E_202B_202E(), global::_003CModule_003E._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(-159821034)); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(10, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1884634144)); + defaultInterpolatedStringHandler2.AppendFormatted(simulatedQuest.Sequence); + UiThemeUtils.WrappedText(defaultInterpolatedStringHandler2.ToStringAndClear()); + _200D_200B_200B_200B_200B_206A_202C_202D_202D_202D_200F_200E_200D_202C_202C_206D_206A_206E_202A_206A_200B_202A_206F_202C_202C_202D_206A_206A_202A_206D_206C_200B_206A_206D_200E_200E_206E_206C_206C_206B_202E(simulatedQuest.Sequence == 0); + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Minus, _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E())) ? 1313421217 : 1313421216); + continue; } - ImGui.SameLine(); - if (ImGui.Button("Clear sim")) + case 5: { - _questController.SimulateQuest(null, 0, 0); - _movementController.Stop(); - _questController.Stop("ClearSim"); + ImRaii.IdDisposable idDisposable = _206B_206D_200C_206D_202E_200B_206F_200B_202A_200E_202A_202B_200E_206B_206F_200B_206B_206D_200D_200E_202A_200F_202D_202A_206F_200B_206D_206D_206D_206C_206F_200F_206C_200D_206C_206E_200F_206C_206D_202E_202E((ImU8String)global::_003CModule_003E._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(1402805809), true); + try + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(271839448)); + defaultInterpolatedStringHandler.AppendFormatted(simulatedQuest.Step); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1534070043)); + defaultInterpolatedStringHandler.AppendFormatted(_200D_200C_206C_202E_200B_202C_206E_200D_200B_206E_202C_206E_206F_206B_200C_202E_202E_200B_206A_200F_202E_206E_206B_202E_200B_200B_202A_200F_202E_200C_202E_202B_200B_206A_202B_200E_202C_202B_206C_202E_202E(questSequence).Count - 1); + UiThemeUtils.WrappedText(defaultInterpolatedStringHandler.ToStringAndClear()); + _200D_200B_200B_200B_200B_206A_202C_202D_202D_202D_200F_200E_200D_202C_202C_206D_206A_206E_202A_206A_200B_202A_206F_202C_202C_202D_206A_206A_202A_206D_206C_200B_206A_206D_200E_200E_206E_206C_206C_206B_202E(simulatedQuest.Step == 0); + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Minus, _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E())) ? 1601603120 : 1601603123); + while (true) + { + int num7 = num; + num3 = 1601603121; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 4: + _questController.SkipSimulatedTask(); + num = 1601603127; + break; + case 2: + _movementController.Stop(); + _questController.Stop(global::_003CModule_003E._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(1623488944)); + simulatedQuest.SetStep(_202B_200E_206D_206F_202A_206B_202B_202E_202E_206D_206A_206A_200C_200E_206B_206F_200E_200C_202A_206A_206B_206C_200E_206F_206F_206A_200B_202D_202E_202B_200B_206F_202D_202D_206A_206A_200C_206F_200F_206B_202E(simulatedQuest.Step - 1, _200D_200C_206C_202E_200B_202C_206E_200D_200B_206E_202C_206E_206F_206B_200C_202E_202E_200B_206A_200F_202E_206E_206B_202E_200B_200B_202A_200F_202E_200C_202E_202B_200B_206A_202B_200E_202C_202B_206C_202E_202E(questSequence).Count - 1)); + num = 1601603120; + break; + case 7: + _movementController.Stop(); + _questController.Stop(global::_003CModule_003E._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(-693037370)); + simulatedQuest.SetStep((simulatedQuest.Step == _200D_200C_206C_202E_200B_202C_206E_200D_200B_206E_202C_206E_206F_206B_200C_202E_202E_200B_206A_200F_202E_206E_206B_202E_200B_200B_202A_200F_202E_200C_202E_202B_200B_206A_202B_200E_202C_202B_206C_202E_202E(questSequence).Count - 1) ? 255 : (simulatedQuest.Step + 1)); + num = 1601603124; + break; + case 1: + _202B_206F_206A_200B_206A_200C_206C_206F_202B_202E_202D_200D_200C_200E_202E_200B_200B_200E_200D_206F_200B_200E_206E_202D_202D_200C_202B_206B_202C_200B_200E_206B_200C_202C_202B_202A_202D_206E_206F_200C_202E(); + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + _200D_200B_200B_200B_200B_206A_202C_202D_202D_202D_200F_200E_200D_202C_202C_206D_206A_206E_202A_206A_200B_202A_206F_202C_202C_202D_206A_206A_202A_206D_206C_200B_206A_206D_200E_200E_206E_206C_206C_206B_202E(simulatedQuest.Step >= _200D_200C_206C_202E_200B_202C_206E_200D_200B_206E_202C_206E_206F_206B_200C_202E_202E_200B_206A_200F_202E_206E_206B_202E_200B_200B_202A_200F_202E_200C_202E_202B_200B_206A_202B_200E_202C_202B_206C_202E_202E(questSequence).Count); + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Plus, _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E())) ? 1601603124 : 1601603126); + break; + case 5: + _202B_206F_206A_200B_206A_200C_206C_206F_202B_202E_202D_200D_200C_200E_202E_200B_200B_200E_200D_206F_200B_200E_206E_202D_202D_200C_202B_206B_202C_200B_200E_206B_200C_202C_202B_202A_202D_206E_206F_200C_202E(); + num = ((!_206A_206C_202B_202C_202D_202B_200C_200D_202C_206B_206E_206E_202C_202A_200C_202E_202A_206B_206A_200D_200C_200D_200D_202C_200C_202B_200F_200C_202D_200E_200C_206A_206D_206B_202E_200E_206C_202A_202C_202A_202E((ImU8String)global::_003CModule_003E._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(-1303370913), default(Vector2))) ? 1601603127 : 1601603125); + break; + case 0: + _questController.SimulateQuest(null, 0, 0); + _movementController.Stop(); + _questController.Stop(global::_003CModule_003E._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(-657389191)); + num = 1601603129; + break; + case 3: + num = 1601603123; + break; + case 6: + _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E(); + num = ((!_206A_206C_202B_202C_202D_202B_200C_200D_202C_206B_206E_206E_202C_202A_200C_202E_202A_206B_206A_200D_200C_200D_200D_202C_200C_202B_200F_200C_202D_200E_200C_206A_206D_206B_202E_200E_206C_202A_202C_202A_202E((ImU8String)global::_003CModule_003E._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(-522285743), default(Vector2))) ? 1601603129 : 1601603121); + break; + case 8: + goto end_IL_038b; + } + continue; + end_IL_038b: + break; + } + } + finally + { + num = ((idDisposable == null) ? (-2068302135) : (-2068302134)); + while (true) + { + int num10 = num; + num3 = -2068302133; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -2068302134; + break; + case 2: + goto end_IL_05ce; + case 1: + _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E((IDisposable)idDisposable); + num = -2068302135; + break; + } + continue; + end_IL_05ce: + break; + } + } + break; } + } + break; } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); } private static string Shorten(string text) { - if (text.Length > 35) + int num = ((_206C_200F_202B_206D_200F_202E_202E_202A_200C_206D_202C_200E_202B_202A_206B_202D_206F_206F_206D_202C_202E_202E_206B_202E_202C_206C_202D_202A_206F_202A_200C_200C_206F_206D_200D_200D_202E_206C_200E_206E_202E(text) <= 35) ? (-1117641395) : (-1117641394)); + while (true) { - return string.Concat(text.AsSpan(0, 30).Trim(), ((SeIconChar)57434).ToIconString().AsSpan()); + int num2 = num; + int num3 = -1117641393; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0048; + case 2: + return text; + case 1: + return _202A_200D_206C_200C_200C_200E_206D_202A_202E_206F_202B_200D_202D_200B_202C_200F_206F_200B_202C_202B_206A_200D_206D_206A_202C_206C_200D_202C_202E_202D_206B_200F_206C_200C_200C_200B_202D_206E_200B_206C_202E(_200C_206F_202E_206A_206F_202B_202A_200D_200C_200F_206C_206A_202E_206A_200B_200F_200E_200F_202C_200D_202A_202A_206B_200C_200E_202D_206A_206B_206B_206B_202B_200D_200B_202D_202A_206A_202C_206F_200D_206D_202E(_202B_202C_200B_202D_206D_200C_206F_202A_202B_200C_206B_202E_206E_200B_202C_200B_206A_206E_206E_202B_200E_206F_206D_202C_206B_206E_202A_202C_200E_206A_202B_206E_206B_200D_202A_200E_200B_200D_202A_202C_202E(text, 0, 30)), _202D_202E_200B_206C_200C_200D_202E_200F_206F_202E_206B_200B_206E_206D_206D_200C_206D_200F_206B_202B_206D_206C_206A_200D_200F_202C_200E_200E_202D_206A_206A_200D_200B_200E_200F_206A_202C_202E_202A_206D_202E(_206D_202D_206B_206E_206C_202A_200E_206B_202C_202A_206E_206F_202E_200F_200D_202A_200B_206B_202C_206A_206F_206D_206B_200C_206C_200F_200C_206B_202E_206D_206A_202C_200C_206F_202C_200D_200B_202E_202D_206A_202E((SeIconChar)57434))); + } + continue; + IL_0048: + num = -1117641394; } - return text; + } + + static Delegate _206B_202D_200E_202B_202B_200D_202E_202C_206F_202D_202D_202B_206E_202B_202A_200D_200F_206C_206C_200B_200E_206A_206D_202B_206A_202A_202B_202D_206A_206F_200F_206B_206D_200C_202A_200E_200B_206E_200F_200C_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Combine(P_0, P_1); + } + + static Delegate _202A_206F_200E_202B_202B_206C_202C_200F_206C_200B_202B_200E_206F_200B_200C_206C_202E_202D_206E_200B_202E_206C_206B_206C_202D_206D_200D_206D_206B_206F_200B_206E_202C_206E_200D_200D_200F_202A_200C_206E_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Remove(P_0, P_1); + } + + static Vector4 _200E_200F_202C_206B_200B_202B_206F_206B_206F_206D_206D_200B_206A_200E_200D_200C_206F_202B_202D_202A_206E_206C_202A_206D_206E_206A_200D_202D_206F_206C_206F_206D_200F_202A_200C_200F_200F_200C_202B_206A_202E() + { + return ImGuiColors.ParsedGold; + } + + static ImRaii.ColorDisposable _206D_206E_206C_200F_206F_206C_200F_202D_206A_206F_206B_200F_206D_206A_202A_202E_202A_202C_206E_200B_202C_200B_202C_200C_202B_206D_206E_202C_200D_206C_200B_200B_206F_202D_206D_200C_206C_200D_200D_202E_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static string _206F_200E_200B_206D_202B_200E_202B_202C_206A_206F_202A_200E_206E_200E_206C_202C_206A_202B_202C_202B_200D_206D_206D_200B_200B_202B_202B_206B_200E_202D_206B_200D_206A_200B_202D_200C_200C_200E_206B_202B_202E(FateDefinition P_0) + { + return P_0.Name; + } + + static string _200C_202D_202E_206B_202C_202D_200B_202C_206F_200F_206E_202C_206C_206E_200C_206B_200B_206A_206C_202E_206A_202D_200E_206F_206D_200E_202A_202E_206C_202D_202E_202B_202D_206C_202E_200F_200D_202A_206D_202E_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static Vector2 _202E_206F_202E_206B_200C_200C_202B_206C_202D_200F_206A_206E_200E_202C_206A_202D_206E_200D_200E_206C_200B_200C_206E_206E_206E_200F_206D_200D_206F_202E_206F_202C_202A_206D_206A_206C_202B_206E_206B_200C_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static void _200E_202C_202D_206D_202B_206E_200E_206F_202D_206D_206F_202C_206A_200B_200C_202B_202E_206A_200F_202D_200E_200C_200E_206D_206C_202B_202B_202E_200D_206C_206E_206E_202D_206C_200B_200E_206E_200C_206E_206E_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _200E_202B_202D_206F_206F_206E_206D_200C_200E_200C_206A_200E_202B_206C_202D_206F_200C_200D_206C_206E_206B_206F_200B_200E_206A_206A_200E_206E_202D_206A_206C_200D_200B_206D_206D_202E_200C_200E_202A_206B_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202E_200E_200E_202E_200D_206E_206F_206E_200C_206F_202C_206D_200D_200C_206F_206B_202B_206F_206F_200F_206D_200E_200B_200E_206D_200E_206F_202C_202A_206F_202D_206B_202C_202E_200F_206B_200E_206E_206D_202D_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static float _206C_206C_206C_206D_200C_200E_202C_202C_206E_202C_202C_206B_200F_202A_200D_202C_200B_206E_206B_202D_206E_206F_200C_206B_200C_206B_206B_202D_202A_206E_202A_200B_200E_202C_200D_206F_200F_206D_206A_200F_202E() + { + return ImGui.GetFrameHeight(); + } + + static Vector4 _206C_206B_206D_206F_202B_206B_206C_200C_206F_202D_206B_202B_200D_206F_206B_206C_206A_202C_200E_206E_202A_200C_200D_200C_206E_206D_202E_200E_200C_200F_202D_200C_202C_200B_202D_206B_206F_206E_202D_206D_202E() + { + return ImGuiColors.ParsedGreen; + } + + static string _206A_200D_200F_206F_206D_206D_206B_206B_206A_200B_202A_202C_202B_202D_202A_200B_202A_202B_202B_202D_206F_202D_202E_200E_206B_206F_200E_202A_200E_206C_202D_202B_206E_200F_206A_200B_206F_206A_206A_206B_202E(SeasonalDutyDefinition P_0) + { + return P_0.Name; + } + + static Vector4 _200D_206A_202A_200E_206C_200D_202D_200F_202B_200B_206E_200E_206C_200D_202C_206C_202E_206C_206C_200E_202A_200B_202B_200F_202E_202D_202A_200E_200B_206E_206B_206B_206E_200D_206C_206E_206F_206B_202B_206E_202E() + { + return ImGuiColors.ParsedPurple; + } + + static Vector4 _200D_206D_206B_202E_202A_206B_202A_202E_200D_202D_200C_200C_206A_202A_202A_206D_206E_206D_200B_206E_206E_202E_202B_206F_206A_200F_200D_202B_200B_202D_202C_206A_202C_200E_206D_200E_206F_200B_200E_202B_202E() + { + return ImGuiColors.DalamudOrange; + } + + static Vector4 _202E_202C_200D_202A_202E_206F_206A_206A_200F_202D_206D_200F_206C_200B_200C_202B_206B_200D_206F_200F_202C_200B_202B_200C_206A_202A_202D_202E_206C_200B_206B_202A_206D_206D_202A_206B_206A_200E_200B_202C_202E() + { + return ImGuiColors.ParsedBlue; + } + + static bool _200E_200D_200B_200F_206B_200D_206F_200B_202C_206B_202A_202C_206F_206D_202D_206C_200C_206A_200C_200C_202C_202E_206A_206D_202E_200F_206D_202B_200F_206F_206C_206E_206C_200E_202D_206F_206E_200F_202E_202E() + { + return ImGui.IsItemHovered(); + } + + static void _202C_206D_202C_206B_206F_200C_200E_206A_202C_200D_200D_206F_206B_200C_200D_202B_206D_200E_200D_206C_200D_200B_200C_200C_200D_206C_202B_202A_202C_202C_202B_202E_206A_202C_206F_206B_202D_200D_202D_206C_202E() + { + ImGui.BeginTooltip(); + } + + static void _206A_200D_200E_200B_206C_206E_202B_200B_206D_206F_202E_206A_202A_200F_206A_200D_200B_206C_206A_202C_206A_202C_206A_200C_202C_200E_200B_202C_206C_206B_200E_206F_206E_202C_202B_202C_202C_200B_202C_202A_202E(ImU8String P_0) + { + ImGui.BulletText(P_0); + } + + static void _206E_206C_200F_202D_206C_200C_206B_200F_206D_206A_202C_206C_206D_206F_200D_202C_202E_202E_206E_200D_206E_202A_200E_206D_202C_202D_200F_206B_206C_200E_206F_202A_206A_200D_202A_206D_206A_200B_200E_202B_202E() + { + ImGui.EndTooltip(); + } + + static float _206C_206E_200C_202A_200C_202B_200E_206D_206F_200B_202C_202C_200C_206D_202A_200D_206A_206D_200F_202C_206A_200B_202B_200F_202C_202D_206E_206F_200D_206C_206B_206E_206A_206E_202C_206C_200F_206B_200C_202A_202E() + { + return ImGui.GetCursorPosX(); + } + + static ImGuiStylePtr _202C_206C_200C_202E_206C_200B_200F_206D_206E_206F_202D_200F_200B_206F_202C_202D_202E_200F_206B_200E_200C_200F_202D_200C_200F_202E_206F_206D_206B_206C_202A_206F_202B_200D_202E_200D_206C_206C_202A_206B_202E() + { + return ImGui.GetStyle(); + } + + static void _202C_202A_202E_200C_202C_206A_200D_200C_206A_206D_206F_200C_206E_200B_200D_202A_202C_200E_202A_206A_200F_206E_202C_202E_206A_202A_202B_200B_206A_206C_200C_202C_206C_206B_202D_202E_202E_200C_206F_202A_202E(float P_0) + { + ImGui.SameLine(P_0); + } + + static ImRaii.DisabledDisposable _200F_200C_200D_206B_200C_202E_206C_206C_206B_206B_206B_200F_206F_202B_200C_200E_206D_206C_206E_202C_202B_202B_206E_206F_206E_200D_206D_200E_206F_206F_202B_202A_200D_206C_202D_202E_202C_202E_202E_206D_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static void _202B_202D_200D_202A_200F_206A_202A_202B_206E_206F_200D_200D_200B_200C_200B_200F_206D_202C_206F_200E_200C_200B_206B_206E_202A_202A_206F_202B_202B_200B_200C_206D_206A_206C_202D_200B_206D_206D_200E_202B_202E() + { + ImGui.SameLine(); + } + + static List _202E_202E_202A_202B_206A_206B_202C_202E_206F_200B_206F_206D_206A_200B_206E_202C_206F_206F_200B_202A_206C_206A_206A_206B_202D_202C_200F_206F_206D_200D_206C_200B_202C_202C_200F_206C_200B_202E_200B_202B_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static void _206E_202E_200B_200E_206B_202D_200E_200E_206E_206E_200C_200B_206F_202C_200B_206C_200C_206A_200E_202A_202C_206D_200B_206D_202A_202D_202A_202B_200C_200D_206E_206E_202C_200C_200C_206E_200E_200B_206C_200F_202E(float P_0, Vector2 P_1, ImU8String P_2) + { + ImGui.ProgressBar(P_0, P_1, P_2); + } + + static int _200C_206F_202B_206C_202D_206E_206E_206E_206A_206D_200D_206E_202C_202E_206C_200C_206D_200C_200B_206B_206C_202B_206B_202D_202C_200E_200E_202C_206F_206B_200E_202D_206A_206E_206A_202E_202E_206B_206D_202A_202E(int P_0, int P_1) + { + return Math.Max(P_0, P_1); + } + + static int _202B_200E_206D_206F_202A_206B_202B_202E_202E_206D_206A_206A_200C_200E_206B_206F_200E_200C_202A_206A_206B_206C_200E_206F_206F_206A_200B_202D_202E_202B_200B_206F_202D_202D_206A_206A_200C_206F_200F_206B_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static bool _206B_200B_200F_202E_200C_202A_200B_206A_202B_206F_202B_206E_202C_206F_200B_206B_200F_200F_206D_206B_202A_202A_206A_206A_200C_200C_200E_200B_200B_202C_202D_206B_206C_200F_202B_206F_200F_200E_200C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static IPlayerCharacter _206C_202A_200C_202A_206A_200C_200F_200C_202E_206A_206A_202E_200E_202B_202D_202B_206B_206A_200D_200F_200F_206B_202A_202C_206B_202D_202D_200B_200D_202B_202B_200C_200C_202B_200F_200B_200B_200B_202E_206C_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static byte _202B_200B_200F_200F_202A_206C_206D_206B_200F_200D_206A_202C_206C_200B_206A_202E_200D_202D_202E_200F_200B_206E_206E_200F_200C_206D_206E_206A_200E_206F_206B_202A_206A_206D_206F_202D_202B_202C_200E_202B_202E(ICharacter P_0) + { + return P_0.Level; + } + + static void _200B_206B_200E_202A_206A_200F_200D_206D_200D_202E_200E_206E_206D_200D_200E_202B_206A_200D_206E_206A_206C_206A_206B_200F_206F_200D_206B_202D_202B_200D_206E_206A_200D_200B_202D_206A_202E_206E_200F_200C_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static Vector4 _202A_206C_206E_206E_206D_206D_202A_200F_200E_206E_200C_200B_202B_200C_200F_200D_202D_200E_202C_200C_206C_200E_200C_202A_206F_202E_200E_200E_200F_202D_206F_206E_206A_202A_202D_200C_200E_202D_202A_202A_202E() + { + return ImGuiColors.DalamudYellow; + } + + static void _206D_202B_202C_206F_206F_200B_206F_206F_202D_200F_202C_206D_202E_206A_202B_202C_202D_202D_200F_202E_206C_202E_206E_200E_202E_206C_206F_202A_202B_202B_206B_200B_200D_200B_200B_202D_206C_202B_206B_202C_202E() + { + ImGui.PopTextWrapPos(); + } + + static void _202E_202E_202D_200C_200B_200D_202C_206D_200C_202C_200B_202B_200F_202E_202A_206C_202B_202E_206D_200C_206D_202C_202A_206B_200E_202A_202C_206A_206F_202B_206D_202D_202D_202B_202E_206B_206B_202A_202D_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _206B_206C_206C_200D_206B_206D_200B_206A_206E_206A_202C_206A_206B_206D_206B_206F_206C_206B_206B_200F_206F_202B_200B_202E_206E_200B_200D_206D_206A_202B_206C_200E_200E_206C_202E_206B_200D_200F_206E_206A_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static void _202C_206E_206F_202D_202C_202B_202E_200C_200D_206B_206B_202E_206F_206F_206A_200B_202A_200E_206A_200B_202A_200C_200C_202C_202C_200C_206B_206F_200E_200F_200E_200E_206C_202A_202E_200C_206A_206A_200E_206F_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static bool _202A_200B_206B_202D_200D_206D_200B_200E_200C_200D_202D_200C_206B_206A_202C_206E_206E_200F_206B_200D_202A_202B_202B_202D_200B_200E_202E_206A_200C_206C_200F_200F_200B_200F_202C_200B_200F_202C_206B_200D_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static void _206F_202E_202D_200E_200C_200E_200D_206C_206E_200E_202E_206F_200E_202E_206D_200C_206B_200F_206F_206E_206F_202E_202A_206D_202C_202B_206A_206A_206C_200D_200F_206C_206A_206A_206F_202B_202E_206F_206B_200D_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static void _202B_206F_202C_200F_202A_202C_202A_206D_206B_200B_206A_202E_206B_206A_200D_202C_206E_206C_200E_202E_200F_206B_206E_202D_202E_202E_206E_200E_206F_202C_206E_206E_206D_206C_200F_202A_200D_200E_200B_206B_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static void _202C_202D_200C_202E_200C_206E_200E_206E_202A_200C_200B_202C_200E_206D_202D_202A_202B_206C_200C_202B_202A_200F_206F_200E_200B_202C_206E_200D_200B_202E_202B_202A_200B_202A_202B_206E_206F_202D_202A_200E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static Vector4 _200C_206C_200D_200D_206F_200C_200E_206C_202B_202E_202D_200D_206E_200E_206C_200F_206A_206E_206E_200D_200E_202A_202C_200F_200F_202E_202B_200F_206E_202A_202A_206C_200F_200E_206D_200B_206A_202B_206E_202B_202E() + { + return ImGuiColors.DalamudRed; + } + + static string _206A_202D_202C_200B_200C_202D_206B_206A_202D_206B_200D_202C_206D_200D_206F_206E_202A_200F_206C_202D_202C_206D_200C_206C_200F_200C_206C_202B_200D_202C_202D_200F_202A_206F_200E_202E_202D_206A_202A_200D_202E(object P_0) + { + return P_0.ToString(); + } + + static QuestStep _202C_206B_200D_200F_202E_206E_202E_200F_202D_202E_202C_200F_206D_206D_206F_206A_202E_202E_202A_200D_202D_200C_202B_206B_200B_206F_202D_206D_206D_202E_206B_200E_200B_206B_206F_200B_200C_206E_206B_206E_202E(QuestSequence P_0, int P_1) + { + return P_0.FindStep(P_1); + } + + static ImFontPtr _202A_200F_200D_200D_206A_206C_206D_206C_202B_200E_206F_200F_206B_206D_206B_200B_202D_202C_200B_202C_206D_202A_202B_200D_206C_206B_202C_206C_200B_200E_202D_202E_202E_200F_206B_206F_200C_200D_202E_200F_202E() + { + return UiBuilder.IconFont; + } + + static void _202E_202E_202A_200D_202E_200C_206B_202E_200E_202C_206E_206D_206E_206D_206B_206C_206F_200B_200F_202D_202E_200E_202D_202B_200B_206D_206E_206F_200F_206E_202C_200B_202B_200D_200B_202A_200E_200C_202A_206F_202E(ImFontPtr P_0) + { + ImGui.PushFont(P_0); + } + + static string _200D_202E_202D_200F_206C_200D_206D_202B_206B_206D_200E_202E_202B_202A_200B_200B_200B_200D_206B_206A_202E_206C_202E_206D_200F_206E_206F_200F_202A_202A_202E_200C_200B_200D_200E_206C_206C_200B_202B_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static void _206D_202B_202B_200E_200E_206C_200F_200E_202C_206B_202D_206D_206A_200C_206B_200C_202E_200B_202B_202B_206D_200F_206A_200C_206D_206E_200D_200C_206D_202D_206D_200F_206D_206A_206D_200B_202D_202D_200E_206E_202E() + { + ImGui.PopFont(); + } + + static bool _202B_202B_206D_206B_200B_206B_206F_202D_202E_200D_202A_200E_206F_200C_200C_200C_202D_202E_206E_206C_200C_206D_202A_202C_200D_202A_200C_200B_206B_206D_206D_206B_202C_202A_200F_200B_200C_206D_200C_202A_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static void _206E_202E_206F_200B_200C_202C_202B_206A_206F_202A_206F_206A_206D_206F_200B_206E_206A_200B_206F_206E_202C_202D_202A_202A_202D_206D_200E_202C_206D_206D_200D_202D_206F_202C_200B_206F_206F_202C_200E_202E_202E() + { + ImGui.Spacing(); + } + + static void _206E_202B_202A_202D_206C_202B_206A_206B_206A_206A_202D_200C_200B_206A_206D_202C_202A_206B_202C_206B_206B_200E_200D_200C_202B_206A_202A_206C_200F_202A_202C_200B_200D_202D_206B_202C_200C_206C_206B_202E_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static ImRaii.FontDisposable _202B_206A_202E_206E_202D_206A_200F_200F_202B_206B_202D_202D_202E_200F_206A_206F_200C_200F_202A_206F_202C_206E_202E_206D_200F_206A_202E_202A_202E_206A_206D_202D_200F_202C_206A_202A_200E_200F_206F_206C_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static Vector2 _200E_200E_200F_200B_200F_206A_200E_200D_202B_200B_202C_202A_202D_206E_200F_206D_206C_200C_200B_202D_202C_206F_200B_206C_200F_206E_200C_206A_200C_206F_206E_206A_200C_206C_202D_202A_200D_206F_200E_200C_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static ImRaii.StyleDisposable _206E_200E_206C_200C_202E_202A_202E_206E_202D_206D_206D_200D_206B_200B_206A_200D_206E_206B_202D_200F_200B_206D_200D_206F_202E_200D_206A_206F_206A_202D_206B_206F_202B_200D_202E_206A_206E_202B_206B_206E_202E(ImGuiStyleVar P_0, float P_1, bool P_2) + { + return ImRaii.PushStyle(P_0, P_1, P_2); + } + + static bool _200C_206A_202D_200B_202E_202B_206F_200C_206D_206B_206C_202D_206C_200E_206C_206A_200E_206D_206E_200F_202D_200C_206D_200F_202B_200B_202A_202A_206A_200F_200B_206E_206C_206F_202D_202C_206D_206D_202D_206D_202E() + { + return ImGui.IsItemClicked(); + } + + static string _202B_206E_200C_200F_202C_200D_206B_206F_206B_206C_200D_200D_200F_200E_202B_200F_206C_202B_202E_202C_200B_202D_206E_200F_202B_206E_200B_200F_202B_206F_200C_202E_206B_206D_206D_206E_200F_206B_206C_206A_202E(Regex P_0, string P_1, string P_2) + { + return P_0.Replace(P_1, P_2); + } + + static void _200B_202C_200E_200B_206E_206F_200D_200F_206C_206D_202A_200D_202A_206F_202A_206A_206E_202A_206B_202E_202D_202C_200C_206E_202B_202D_206F_202E_200F_206C_206D_206E_206E_202D_202C_206E_206E_202A_200C_206A_202E(ImU8String P_0) + { + ImGui.SetClipboardText(P_0); + } + + static string _200F_206A_202C_206C_200B_200B_202E_200E_206C_200E_200F_202E_206C_202D_202A_202D_206E_200D_202A_200D_206E_200C_202A_200F_200E_206F_206A_202B_200D_206E_206B_206F_200E_206B_200D_206C_202D_206A_206F_206E_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _206E_200B_206D_200D_206D_206F_200B_202A_206F_200C_200D_202B_200F_202A_206D_202E_200E_200E_202C_202A_202A_200B_206E_202D_200D_206A_202C_202A_206D_200B_206C_200B_206F_200E_206A_202E_202D_200F_200E_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static ImRaii.ColorDisposable _202E_200E_200B_206B_206D_206B_206E_202C_206F_200D_202A_206B_200B_206A_200E_206F_202D_206B_200B_200D_200E_200C_202B_202C_202E_206E_206A_206E_206A_202D_202B_202E_200D_202A_202E_202B_206B_200E_202B_202C_202E() + { + return new ImRaii.ColorDisposable(); + } + + static EInteractionType _206F_200F_206E_200F_206C_200F_206C_206D_206D_206A_206B_206D_206E_202C_202E_200E_200F_206F_202C_206A_202D_200B_206A_200F_200F_200B_200F_206E_206D_202A_206D_202D_200C_200D_206E_200D_206B_202A_200C_200C_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static ImRaii.ColorDisposable _206F_206B_200C_206A_206B_202B_202A_202D_200F_206D_202D_200F_206E_202E_200C_200F_206D_202B_202E_200F_206A_206B_206D_206D_202A_200F_200D_206B_206B_202E_202E_206B_200B_200D_202D_202D_202E_202D_202C_206A_202E(ImRaii.ColorDisposable P_0, ImGuiCol P_1, Vector4 P_2, bool P_3) + { + return P_0.Push(P_1, P_2, P_3); + } + + static string _200C_206A_202B_202E_206F_202C_200C_202D_200D_202B_200D_200D_202B_200C_206D_206E_202B_202D_202B_206B_206C_202C_206F_202D_206F_200F_202B_206E_200F_200C_200F_206D_202C_200C_200C_200E_202C_200C_202D_206D_202E(QuestStep P_0) + { + return P_0.Comment; + } + + static string _206B_206B_200C_206C_200D_206C_202D_206C_206F_202B_206B_206E_206E_200E_202A_200C_200C_200D_202A_202B_200E_200F_206A_200E_206C_202E_206D_200B_200F_206C_206A_202E_202E_206A_200B_206A_200F_206D_202C_202A_202E(QuestSequence P_0) + { + return P_0.Comment; + } + + static string _206F_206C_202C_206B_200E_206F_202B_202B_202A_202D_202B_206D_206B_200D_202C_202D_200D_202D_202D_200D_200F_200B_200E_200E_200B_202D_200D_206A_200F_202A_200C_200B_206C_206C_202D_206B_206D_206C_202D_206D_202E(QuestRoot P_0) + { + return P_0.Comment; + } + + static void _200F_206C_202A_202C_200E_200D_200E_206A_202B_200D_202B_206A_206F_202C_206F_200D_202E_202B_202A_200B_200C_200F_200E_202E_200B_202C_206B_202B_206F_200C_200F_206C_206C_206E_200E_202A_206F_202C_202E_206F_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static void _200D_200B_200B_200B_200B_206A_202C_202D_202D_202D_200F_200E_200D_202C_202C_206D_206A_206E_202A_206A_200B_202A_206F_202C_202C_202D_206A_206A_202A_206D_206C_200B_206A_206D_200E_200E_206E_206C_206C_206B_202E(bool P_0) + { + ImGui.BeginDisabled(P_0); + } + + static List _206C_202B_202E_202E_202E_202B_206C_200F_202B_206B_206E_200E_200D_200E_202C_200B_202E_202C_202D_202E_202B_202C_206E_202D_200F_206C_206F_200E_206A_200E_206F_200F_202D_202B_206F_200B_206A_200D_206D_202B_202E(QuestRoot P_0) + { + return P_0.QuestSequence; + } + + static void _202B_206F_206A_200B_206A_200C_206C_206F_202B_202E_202D_200D_200C_200E_202E_200B_200B_200E_200D_206F_200B_200E_206E_202D_202D_200C_202B_206B_202C_200B_200E_206B_200C_202C_202B_202A_202D_206E_206F_200C_202E() + { + ImGui.EndDisabled(); + } + + static ImRaii.IdDisposable _206B_206D_200C_206D_202E_200B_206F_200B_202A_200E_202A_202B_200E_206B_206F_200B_206B_206D_200D_200E_202A_200F_202D_202A_206F_200B_206D_206D_206D_206C_206F_200F_206C_200D_206C_206E_200F_206C_206D_202E_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static List _200D_200C_206C_202E_200B_202C_206E_200D_200B_206E_202C_206E_206F_206B_200C_202E_202E_200B_206A_200F_202E_206E_206B_202E_200B_200B_202A_200F_202E_200C_202E_202B_200B_206A_202B_200E_202C_202B_206C_202E_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static bool _206A_206C_202B_202C_202D_202B_200C_200D_202C_206B_206E_206E_202C_202A_200C_202E_202A_206B_206A_200D_200C_200D_200D_202C_200C_202B_200F_200C_202D_200E_200C_206A_206D_206B_202E_200E_206C_202A_202C_202A_202E(ImU8String P_0, Vector2 P_1) + { + return ImGui.Button(P_0, P_1); + } + + static int _206C_200F_202B_206D_200F_202E_202E_202A_200C_206D_202C_200E_202B_202A_206B_202D_206F_206F_206D_202C_202E_202E_206B_202E_202C_206C_202D_202A_206F_202A_200C_200C_206F_206D_200D_200D_202E_206C_200E_206E_202E(string P_0) + { + return P_0.Length; + } + + static ReadOnlySpan _202B_202C_200B_202D_206D_200C_206F_202A_202B_200C_206B_202E_206E_200B_202C_200B_206A_206E_206E_202B_200E_206F_206D_202C_206B_206E_202A_202C_200E_206A_202B_206E_206B_200D_202A_200E_200B_200D_202A_202C_202E(string P_0, int P_1, int P_2) + { + return P_0.AsSpan(P_1, P_2); + } + + static ReadOnlySpan _200C_206F_202E_206A_206F_202B_202A_200D_200C_200F_206C_206A_202E_206A_200B_200F_200E_200F_202C_200D_202A_202A_206B_200C_200E_202D_206A_206B_206B_206B_202B_200D_200B_202D_202A_206A_202C_206F_200D_206D_202E(ReadOnlySpan P_0) + { + return P_0.Trim(); + } + + static string _206D_202D_206B_206E_206C_202A_200E_206B_202C_202A_206E_206F_202E_200F_200D_202A_200B_206B_202C_206A_206F_206D_206B_200C_206C_200F_200C_206B_202E_206D_206A_202C_200C_206F_202C_200D_200B_202E_202D_206A_202E(SeIconChar P_0) + { + return P_0.ToIconString(); + } + + static ReadOnlySpan _202D_202E_200B_206C_200C_200D_202E_200F_206F_202E_206B_200B_206E_206D_206D_200C_206D_200F_206B_202B_206D_206C_206A_200D_200F_202C_200E_200E_202D_206A_206A_200D_200B_200E_200F_206A_202C_202E_202A_206D_202E(string P_0) + { + return P_0.AsSpan(); + } + + static string _202A_200D_206C_200C_200C_200E_206D_202A_202E_206F_202B_200D_202D_200B_202C_200F_206F_200B_202C_202B_206A_200D_206D_206A_202C_206C_200D_202C_202E_202D_206B_200F_206C_200C_200C_200B_202D_206E_200B_206C_202E(ReadOnlySpan P_0, ReadOnlySpan P_1) + { + return string.Concat(P_0, P_1); } } diff --git a/Questionable/Questionable.Windows.QuestComponents/CreationUtilsComponent.cs b/Questionable/Questionable.Windows.QuestComponents/CreationUtilsComponent.cs index 7a51ae6e..7b26db4e 100644 --- a/Questionable/Questionable.Windows.QuestComponents/CreationUtilsComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/CreationUtilsComponent.cs @@ -5,8 +5,10 @@ using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; 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; +using Dalamud.Game.Text.SeStringHandling; using Dalamud.Interface; using Dalamud.Interface.Colors; using Dalamud.Interface.Components; @@ -18,7 +20,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 +30,7 @@ internal sealed class CreationUtilsComponent private readonly GameFunctions _gameFunctions; - private readonly QuestFunctions _questFunctions; + private readonly QuestPriorityResolver _priorityResolver; private readonly TerritoryData _territoryData; @@ -50,11 +52,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; @@ -67,287 +69,733 @@ internal sealed class CreationUtilsComponent _logger = logger; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Draw() { - ImGui.Text(_territoryData.GetNameAndId(_clientState.TerritoryType)); - if (_gameFunctions.IsFlyingUnlockedInCurrentZone()) + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.WrappedText(_territoryData.GetNameAndId(_200F_200C_206D_202B_206F_200E_206B_206A_206D_206E_202E_206F_202B_202E_206E_206D_206B_200B_202E_202B_206C_202A_200B_202A_202E_206A_200E_206A_202B_206B_200E_202D_206E_206C_206C_202D_202E_206D_202C_202D_202E(_clientState))); + int num = ((!_gameFunctions.IsFlyingUnlockedInCurrentZone()) ? (-1212132610) : (-1212132611)); + ulong num7 = default(ulong); + while (true) { - 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); - DrawInteractionButtons(_targetManager.Target); - ImGui.SameLine(); - DrawCopyButton(_targetManager.Target); - } - else - { - DrawCopyButton(); - } - ulong hoveredItem = _gameGui.HoveredItem; - if (hoveredItem != 0L) - { - ImGui.Separator(); - ImU8String text2 = new ImU8String(14, 1); - text2.AppendLiteral("Hovered Item: "); - text2.AppendFormatted(hoveredItem); - ImGui.Text(text2); + int num2 = num; + int num3 = -1212132614; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = -1212132611; + break; + case 7: + _202C_200E_202D_206F_202A_202A_202B_206F_206E_206B_206A_200C_206B_200C_200C_206D_200D_206C_200F_200D_206E_202C_206C_200D_206B_202A_206F_206F_206D_200C_206D_206C_206C_202D_206B_206D_200B_206C_202B_200D_202E(); + _202A_202E_202E_202A_200F_202C_206C_206F_202A_200B_202C_202D_202A_206A_202C_200B_206C_202D_202D_202B_202C_202C_206A_200C_202E_200B_206A_202C_200B_206C_202A_200E_200C_200C_200E_206E_202B_200C_206C_200E_202E((ImU8String)_206B_206B_200E_202C_200F_206C_200E_200F_206C_206A_200E_202D_202E_206E_200D_200B_200B_206C_200E_206F_202B_206B_202E_202C_202C_200B_200F_200B_200F_206F_200E_206D_202E_202C_202E_200C_200E_206E_206B_206C_202E(SeIconChar.BotanistSprout)); + num = -1212132610; + break; + case 0: + DrawCopyButton(); + num = -1212132612; + break; + case 2: + { + _206B_202D_200F_206A_200B_206B_200C_202B_202E_202B_200F_206D_206E_200D_200C_206B_206B_202C_202E_206E_206B_206B_206E_206C_206B_200F_202E_200E_206A_206F_206D_206B_200D_202C_206B_200C_202E_200D_202A_202D_202E(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(14, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1437995629)); + defaultInterpolatedStringHandler.AppendFormatted(num7); + UiThemeUtils.WrappedText(defaultInterpolatedStringHandler.ToStringAndClear()); + num = -1212132613; + break; + } + case 4: + num = ((_206C_200D_200E_206E_202C_200E_202B_202C_202C_200E_206E_202B_206F_202C_200B_206A_206D_202D_200F_202A_202A_206D_200E_206D_200B_200D_200E_206B_206C_206C_206D_206C_202B_206F_206A_206A_202C_200C_206A_206C_202E(_targetManager) == null) ? (-1212132614) : (-1212132615)); + break; + case 1: + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + return; + case 3: + DrawTargetDetails(_206C_200D_200E_206E_202C_200E_202B_202C_202C_200E_206E_202B_206F_202C_200B_206A_206D_202D_200F_202A_202A_206D_200E_206D_200B_200D_200E_206B_206C_206C_206D_206C_202B_206F_206A_206A_202C_200C_206A_206C_202E(_targetManager)); + DrawInteractionButtons(_206C_200D_200E_206E_202C_200E_202B_202C_202C_200E_206E_202B_206F_202C_200B_206A_206D_202D_200F_202A_202A_206D_200E_206D_200B_200D_200E_206B_206C_206C_206D_206C_202B_206F_206A_206A_202C_200C_206A_206C_202E(_targetManager)); + _202C_200E_202D_206F_202A_202A_202B_206F_206E_206B_206A_200C_206B_200C_200C_206D_200D_206C_200F_200D_206E_202C_206C_200D_206B_202A_206F_206F_206D_200C_206D_206C_206C_202D_206B_206D_200B_206C_202B_200D_202E(); + DrawCopyButton(_206C_200D_200E_206E_202C_200E_202B_202C_202C_200E_206E_202B_206F_202C_200B_206A_206D_202D_200F_202A_202A_206D_200E_206D_200B_200D_200E_206B_206C_206C_206D_206C_202B_206F_206A_206A_202C_200C_206A_206C_202E(_targetManager)); + num = -1212132612; + break; + case 6: + num7 = _202D_206C_200F_200E_206D_202B_202B_202A_206D_202E_206A_206B_206B_206E_206F_200C_206C_206F_200E_200E_202B_206B_206E_200B_206A_206F_200C_200B_206F_200D_206D_202B_200E_200B_206A_206F_206C_202E_202E_206B_202E(_gameGui); + num = ((num7 == 0L) ? (-1212132613) : (-1212132616)); + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private unsafe void DrawTargetDetails(IGameObject target) { string value = string.Empty; - if (target is ICharacter { NameId: not 0u } character) + ICharacter character = target as ICharacter; + int num = ((character == null) ? 2100973131 : 2100973128); + string text = default(string); + while (true) { - value = $"; n={character.NameId}"; - } - ImGui.Separator(); - IFormatProvider invariantCulture = CultureInfo.InvariantCulture; - IFormatProvider provider = invariantCulture; - DefaultInterpolatedStringHandler handler = new DefaultInterpolatedStringHandler(14, 4, invariantCulture); - handler.AppendLiteral("Target: "); - handler.AppendFormatted(target.Name); - handler.AppendLiteral(" ("); - handler.AppendFormatted(target.ObjectKind); - handler.AppendLiteral("; "); - handler.AppendFormatted(target.BaseId); - handler.AppendFormatted(value); - handler.AppendLiteral(")"); - ImGui.Text(string.Create(provider, ref handler)); - if (_objectTable.LocalPlayer != null) - { - invariantCulture = CultureInfo.InvariantCulture; - IFormatProvider provider2 = invariantCulture; - DefaultInterpolatedStringHandler handler2 = new DefaultInterpolatedStringHandler(10, 1, invariantCulture); - 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; - DefaultInterpolatedStringHandler handler3 = new DefaultInterpolatedStringHandler(3, 1, invariantCulture); - handler3.AppendLiteral("Y: "); - handler3.AppendFormatted(value2, "F2"); - string text = string.Create(provider3, ref handler3); - if (Math.Abs(value2) >= 1.95f) + int num2 = num; + int num3 = 2100973130; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - ImGui.TextColored(ImGuiColors.DalamudOrange, text); + case 4: + num = 2100973128; + break; + case 0: + { + IFormatProvider formatProvider = _202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E(); + IFormatProvider formatProvider3 = formatProvider; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(10, 1, formatProvider); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-1739902178)); + defaultInterpolatedStringHandler3.AppendFormatted((_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target) - _200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E((IGameObject)_200B_206E_206E_202A_202A_200D_206B_202E_200C_206E_200E_206D_202E_202A_206E_206A_206B_202A_206C_200F_202C_200D_206F_200C_206C_202C_202B_202D_202C_200B_202A_200F_202D_202E_206E_206A_206A_206C_206E_200F_202E(_objectTable))).Length(), global::_003CModule_003E._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(989011289)); + _202A_202E_202E_202A_200F_202C_206C_206F_202A_200B_202C_202D_202A_206A_202C_200B_206C_202D_202D_202B_202C_202C_206A_200C_202E_200B_206A_202C_200B_206C_202A_200E_200C_200C_200E_206E_202B_200C_206C_200E_202E((ImU8String)_200C_202C_200D_202B_202C_200F_202A_200C_206D_200B_200F_206C_202A_200E_202D_206A_206A_202A_202B_200D_206B_202D_200D_206B_202E_200F_206F_206F_202D_206A_200C_202C_200C_206D_200C_206C_206D_202B_206B_202E(formatProvider3, ref defaultInterpolatedStringHandler3)); + float num7 = _200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).Y - _200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E((IGameObject)_200B_206E_206E_202A_202A_200D_206B_202E_200C_206E_200E_206D_202E_202A_206E_206A_206B_202A_206C_200F_202C_200D_206F_200C_206C_202C_202B_202D_202C_200B_202A_200F_202D_202E_206E_206A_206A_206C_206E_200F_202E(_objectTable)).Y; + formatProvider = _202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E(); + IFormatProvider formatProvider4 = formatProvider; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(3, 1, formatProvider); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(-780778393)); + defaultInterpolatedStringHandler4.AppendFormatted(num7, global::_003CModule_003E._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(989011289)); + text = _200C_202C_200D_202B_202C_200F_202A_200C_206D_200B_200F_206C_202A_200E_202D_206A_206A_202A_202B_200D_206B_202D_200D_206B_202E_200F_206F_206F_202D_206A_200C_202C_200C_206D_200C_206C_206D_202B_206B_202E(formatProvider4, ref defaultInterpolatedStringHandler4); + num = ((!(_202C_200C_206F_206D_206C_202D_202A_200B_200D_206A_202B_206F_206A_200F_202D_200F_200B_202D_202E_200E_206B_200E_200F_202D_200D_206A_202C_200D_202E_206A_202D_200D_200D_206C_202E_202E_206E_200D_200E_202B_202E(num7) >= 1.95f)) ? 2100973129 : 2100973133); + break; } - else + case 2: + num = ((_202E_206E_206A_200B_206B_200F_202C_202C_200C_206D_202A_200C_200D_202C_200F_206A_202A_202A_202A_202B_206C_206E_200F_206F_206A_206A_202A_202B_202D_200D_206C_206C_202E_206B_202E_202B_202E_200D_200E_202D_202E(character) == 0) ? 2100973131 : 2100973132); + break; + case 1: { - ImGui.Text(text); + _206B_202D_200F_206A_200B_206B_200C_202B_202E_202B_200F_206D_206E_200D_200C_206B_206B_202C_202E_206E_206B_206B_206E_206C_206B_200F_202E_200E_206A_206F_206D_206B_200D_202C_206B_200C_202E_200D_202A_202D_202E(); + IFormatProvider formatProvider = _202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E(); + IFormatProvider formatProvider2 = formatProvider; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(14, 4, formatProvider); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1030984999)); + defaultInterpolatedStringHandler2.AppendFormatted(_206A_200E_202D_202C_206F_206E_200F_202A_206C_200B_200E_206C_202C_206B_206B_206D_206A_206B_206F_202A_206D_200B_206C_206F_202A_200F_200B_200B_200E_200C_200B_206A_206F_200E_202D_206E_202B_200B_202E_202E_202E(target)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(84793411)); + defaultInterpolatedStringHandler2.AppendFormatted(_202C_206F_206B_200D_206B_206C_200C_202B_206E_202B_206F_200F_206B_200E_202B_202C_206F_202A_206F_206D_200C_206B_202B_206C_202C_200F_202E_200C_206B_200B_202B_206D_200B_200F_202B_200E_206A_202B_200B_206B_202E(target)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1032438240)); + defaultInterpolatedStringHandler2.AppendFormatted(_202C_200B_206D_206B_200E_202A_206F_200F_206B_206D_200B_206F_206B_206F_200C_200C_206C_206F_206F_206F_202E_206A_206D_202A_200B_202E_206C_206D_202C_206F_200D_202B_202C_206F_206D_206C_200B_202A_206C_206C_202E(target)); + defaultInterpolatedStringHandler2.AppendFormatted(value); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(444206578)); + UiThemeUtils.WrappedText(_200C_202C_200D_202B_202C_200F_202A_200C_206D_200B_200F_206C_202A_200E_202D_206A_206A_202A_202B_200D_206B_202D_200D_206B_202E_200F_206F_206F_202D_206A_200C_202C_200C_206D_200C_206C_206D_202B_206B_202E(formatProvider2, ref defaultInterpolatedStringHandler2)); + num = ((_200B_206E_206E_202A_202A_200D_206B_202E_200C_206E_200E_206D_202E_202A_206E_206A_206B_202A_206C_200F_202C_200D_206F_200C_206C_202C_202B_202D_202C_200B_202A_200F_202D_202E_206E_206A_206A_206C_206E_200F_202E(_objectTable) == null) ? 2100973135 : 2100973130); + break; } - ImGui.SameLine(); - } - GameObject* address = (GameObject*)target.Address; - ImU8String text2 = new ImU8String(4, 1); - text2.AppendLiteral("QM: "); - text2.AppendFormatted(address->NamePlateIconId); - ImGui.Text(text2); - } - - private unsafe void DrawInteractionButtons(IGameObject target) - { - ImGui.BeginDisabled(!_movementController.IsNavmeshReady || _gameFunctions.IsOccupied()); - if (!_movementController.IsPathfinding) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Bullseye, "To Target")) + case 3: + _202A_202E_202E_202A_200F_202C_206C_206F_202A_200B_202C_202D_202A_206A_202C_200B_206C_202D_202D_202B_202C_202C_206A_200C_202E_200B_206A_202C_200B_206C_202A_200E_200C_200C_200E_206E_202B_200C_206C_200E_202E((ImU8String)text); + num = 2100973135; + break; + case 6: { - _movementController.NavigateTo(EMovementType.DebugWindow, target.BaseId, target.Position, _condition[ConditionFlag.Mounted] && _gameFunctions.IsFlyingUnlockedInCurrentZone(), sprint: true); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(4, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1580251828)); + defaultInterpolatedStringHandler.AppendFormatted(_202E_206E_206A_200B_206B_200F_202C_202C_200C_206D_202A_200C_200D_202C_200F_206A_202A_202A_202A_202B_206C_206E_200F_206F_206A_206A_202A_202B_202D_200D_206C_206C_202E_206B_202E_202B_202E_200D_200E_202D_202E(character)); + value = defaultInterpolatedStringHandler.ToStringAndClear(); + num = 2100973131; + break; } - } - else if (ImGui.Button("Cancel pathfinding")) - { - _movementController.ResetPathfinding(); - } - ImGui.EndDisabled(); - ImGui.SameLine(); - ImGui.BeginDisabled(!_questData.IsIssuerOfAnyQuest(target.BaseId)); - bool num = ImGuiComponents.IconButton(FontAwesomeIcon.MapMarkerAlt); - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Show all Quests starting with your current target."); - } - if (num) - { - _questSelectionWindow.OpenForTarget(_targetManager.Target); - } - ImGui.EndDisabled(); - ImGui.BeginDisabled(_gameFunctions.IsOccupied()); - ImGui.SameLine(); - bool num2 = ImGuiComponents.IconButton(FontAwesomeIcon.MousePointer); - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Interact with your current target."); - } - if (num2) - { - ulong num3 = TargetSystem.Instance()->InteractWithObject((GameObject*)target.Address, checkLineOfSight: false); - _logger.LogInformation("XXXXX Interaction Result: {Result}", num3); - } - ImGui.EndDisabled(); - } - - private unsafe void DrawCopyButton(IGameObject target) - { - GameObject* address = (GameObject*)target.Address; - bool num = ImGuiComponents.IconButton(FontAwesomeIcon.Copy); - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Left click: Copy target position as JSON.\nRight click: Copy target position as C# code."); - } - if (num) - { - if (target.ObjectKind == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.GatheringPoint) + case 7: { - ImU8String clipboardText = new ImU8String(59, 4); - clipboardText.AppendLiteral("\"DataId\": "); - clipboardText.AppendFormatted(target.BaseId); - clipboardText.AppendLiteral(",\n\"Position\": {\n \"X\": "); - clipboardText.AppendFormatted(target.Position.X.ToString(CultureInfo.InvariantCulture)); - clipboardText.AppendLiteral(",\n \"Y\": "); - clipboardText.AppendFormatted(target.Position.Y.ToString(CultureInfo.InvariantCulture)); - clipboardText.AppendLiteral(",\n \"Z\": "); - clipboardText.AppendFormatted(target.Position.Z.ToString(CultureInfo.InvariantCulture)); - clipboardText.AppendLiteral("\n}"); - ImGui.SetClipboardText(clipboardText); + Vector4 vector = _200C_200B_200D_202C_206F_202A_200C_206D_202D_200F_200C_200F_200D_202B_200B_202D_202D_206E_206C_206C_206D_200B_206C_202C_200B_202D_200B_202D_202C_200D_206C_202B_200C_200E_206C_200E_206C_200F_206A_206A_202E(); + _202E_200E_206A_206E_206C_206D_206C_200B_206A_206A_202E_206D_202C_206B_200C_206A_202B_200E_202C_206C_206C_206F_200F_202E_206C_206E_202C_200F_206E_200C_202A_206D_202A_206F_200E_200E_200B_200D_202C_200C_202E(ref vector, (ImU8String)text); + num = 2100973135; + break; + } + case 5: + { + GameObject* ptr = (GameObject*)_200C_202B_200C_200F_202D_200D_200D_202B_206B_200D_200B_206F_206D_202D_200C_206F_200D_202E_206D_202D_200F_200F_202B_202B_200D_206C_206A_202B_202D_202C_200E_202E_202B_206C_206B_206A_200C_206F_206C_202B_202E(target); + ImU8String imU8String = new ImU8String(4, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(617436611)); + imU8String.AppendFormatted(ptr->NamePlateIconId); + _202A_202E_202E_202A_200F_202C_206C_206F_202A_200B_202C_202D_202A_206A_202C_200B_206C_202D_202D_202B_202C_202C_206A_200C_202E_200B_206A_202C_200B_206C_202A_200E_200C_200C_200E_206E_202B_200C_206C_200E_202E(imU8String); return; } - string text; - switch (address->NamePlateIconId) - { - case 71201u: - case 71211u: - case 71221u: - case 71231u: - case 71341u: - case 71351u: - text = "AcceptQuest"; - break; - case 71202u: - case 71212u: - case 71222u: - case 71232u: - case 71342u: - case 71352u: - text = "AcceptQuest"; - break; - case 71205u: - case 71215u: - case 71225u: - case 71235u: - case 71345u: - case 71355u: - text = "CompleteQuest"; - break; - default: - text = "Interact"; - break; - } - string value = text; - ImU8String clipboardText2 = new ImU8String(99, 6); - clipboardText2.AppendLiteral("\"DataId\": "); - clipboardText2.AppendFormatted(target.BaseId); - clipboardText2.AppendLiteral(",\n\"Position\": {\n \"X\": "); - clipboardText2.AppendFormatted(target.Position.X.ToString(CultureInfo.InvariantCulture)); - clipboardText2.AppendLiteral(",\n \"Y\": "); - clipboardText2.AppendFormatted(target.Position.Y.ToString(CultureInfo.InvariantCulture)); - clipboardText2.AppendLiteral(",\n \"Z\": "); - clipboardText2.AppendFormatted(target.Position.Z.ToString(CultureInfo.InvariantCulture)); - clipboardText2.AppendLiteral("\n},\n\"TerritoryId\": "); - clipboardText2.AppendFormatted(_clientState.TerritoryType); - clipboardText2.AppendLiteral(",\n\"InteractionType\": \""); - clipboardText2.AppendFormatted(value); - clipboardText2.AppendLiteral("\""); - ImGui.SetClipboardText(clipboardText2); - } - else if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) - { - if (target.ObjectKind == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.Aetheryte) - { - EAetheryteLocation baseId = (EAetheryteLocation)target.BaseId; - IFormatProvider invariantCulture = CultureInfo.InvariantCulture; - IFormatProvider provider = invariantCulture; - DefaultInterpolatedStringHandler handler = new DefaultInterpolatedStringHandler(36, 4, invariantCulture); - handler.AppendLiteral("{EAetheryteLocation."); - handler.AppendFormatted(baseId); - handler.AppendLiteral(", new("); - handler.AppendFormatted(target.Position.X); - handler.AppendLiteral("f, "); - handler.AppendFormatted(target.Position.Y); - handler.AppendLiteral("f, "); - handler.AppendFormatted(target.Position.Z); - handler.AppendLiteral("f)},"); - ImGui.SetClipboardText(string.Create(provider, ref handler)); - } - else - { - IFormatProvider invariantCulture = CultureInfo.InvariantCulture; - IFormatProvider provider2 = invariantCulture; - DefaultInterpolatedStringHandler handler2 = new DefaultInterpolatedStringHandler(12, 3, invariantCulture); - handler2.AppendLiteral("new("); - handler2.AppendFormatted(target.Position.X); - handler2.AppendLiteral("f, "); - handler2.AppendFormatted(target.Position.Y); - handler2.AppendLiteral("f, "); - handler2.AppendFormatted(target.Position.Z); - handler2.AppendLiteral("f)"); - ImGui.SetClipboardText(string.Create(provider2, ref handler2)); } } } - private void DrawCopyButton() + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void DrawInteractionButtons(IGameObject target) { - if (_objectTable.LocalPlayer != null) + int num = ((!_movementController.IsNavmeshReady) ? (-1572387827) : (-1572387829)); + while (true) { - bool num = ImGuiComponents.IconButton(FontAwesomeIcon.Copy); - if (ImGui.IsItemHovered()) + int num2 = num; + int num3 = -1572387832; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) { - ImGui.SetTooltip("Left click: Copy your position as JSON.\nRight click: Copy your position as C# code."); + case 0: + num = ((!_206C_206B_202C_206C_202A_202B_200E_206B_206C_202B_202B_202C_206F_206E_206A_202C_206B_206D_200D_202E_202B_202C_200B_206D_202B_200E_200E_200E_206C_206C_206C_202D_202A_206E_202E_202A_206B_202E_200E_206D_202E((ImU8String)global::_003CModule_003E._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(-1819282448), default(Vector2))) ? (-1572387825) : (-1572387839)); + break; + case 8: + num = ((!_206A_206C_200E_206B_200B_200F_202D_206C_200D_202E_200B_206C_206E_206F_206F_202C_202B_202D_206C_200C_202B_202A_200E_206C_202D_202A_200C_200D_202D_202A_206A_202A_200F_202B_206E_200F_206E_206C_200C_202E_202E(FontAwesomeIcon.Bullseye, global::_003CModule_003E._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(-9163359), (Vector4?)null, (Vector4?)null, (Vector4?)null, (Vector2?)null)) ? (-1572387825) : (-1572387828)); + break; + case 6: + { + _202D_200D_200C_206E_206E_206F_206F_200E_206D_206E_200D_200C_206F_206A_202E_202D_206A_206D_200E_202A_200C_202A_202E_200C_202B_202A_200F_200E_200B_202C_202B_200F_206E_206E_202E_200D_202E_200E_200D_200D_202E(); + _200F_200F_206F_206E_200D_202B_202A_200E_206C_206F_200F_206D_200C_200E_200E_202B_206F_206D_200F_202A_206C_202B_202C_202B_206F_202C_202C_200F_200B_202A_202B_206E_202A_202E_206A_206D_206C_202D_206E_202E(_gameFunctions.IsOccupied()); + _202C_200E_202D_206F_202A_202A_202B_206F_206E_206B_206A_200C_206B_200C_200C_206D_200D_206C_200F_200D_206E_202C_206C_200D_206B_202A_206F_206F_206D_200C_206D_206C_206C_202D_206B_206D_200B_206C_202B_200D_202E(); + bool num8 = _202E_206E_206A_206E_200D_200D_200C_200C_206C_206F_206B_206C_206C_202E_206B_200F_206F_206A_200F_206E_202A_200C_200F_202E_202D_202C_206A_206B_206E_206F_202E_206B_206F_206C_200C_202C_202B_200B_202E_202E_202E(FontAwesomeIcon.MousePointer); + if (_200F_200E_200F_200D_202E_200D_202A_206E_206E_206D_200F_206C_200B_202E_206B_206D_206A_200C_202A_200F_200D_200B_206E_202A_200F_200D_202A_202E_206B_202C_202D_206C_200F_202B_202E_200F_206A_200C_206B_206F_202E()) + { + _200D_200E_206D_206F_206C_202D_202B_202E_202A_206D_206C_200B_206A_206F_200F_206E_202C_200B_202C_200C_200C_206E_202E_200C_200D_206A_206C_200B_202C_202A_200D_206F_200F_206F_202A_202E_200D_200B_206B_202A_202E((ImU8String)global::_003CModule_003E._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(1644288408)); + } + num = ((!num8) ? (-1572387838) : (-1572387837)); + break; } - if (num) + case 4: + _movementController.NavigateTo(EMovementType.DebugWindow, _202C_200B_206D_206B_200E_202A_206F_200F_206B_206D_200B_206F_206B_206F_200C_200C_206C_206F_206F_206F_202E_206A_206D_202A_200B_202E_206C_206D_202C_206F_200D_202B_202C_206F_206D_206C_200B_202A_206C_206C_202E(target), _200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target), _206F_206D_206F_206D_206C_202B_200C_206D_202E_206C_206B_200C_202D_206F_206F_206F_200C_206E_206E_202B_200C_202C_202A_200F_202E_200F_206C_202A_202B_206D_200D_206C_206C_206A_200C_200C_202E_202D_206C_202A_202E(_condition, ConditionFlag.Mounted) && _gameFunctions.IsFlyingUnlockedInCurrentZone(), sprint: true); + num = -1572387825; + break; + case 10: + _202D_200D_200C_206E_206E_206F_206F_200E_206D_206E_200D_200C_206F_206A_202E_202D_206A_206D_200E_202A_200C_202A_202E_200C_202B_202A_200F_200E_200B_202C_202B_200F_206E_206E_202E_200D_202E_200E_200D_200D_202E(); + return; + case 11: { - ImU8String clipboardText = new ImU8String(87, 4); - clipboardText.AppendLiteral("\"Position\": {\n \"X\": "); - clipboardText.AppendFormatted(_objectTable.LocalPlayer.Position.X.ToString(CultureInfo.InvariantCulture)); - clipboardText.AppendLiteral(",\n \"Y\": "); - clipboardText.AppendFormatted(_objectTable.LocalPlayer.Position.Y.ToString(CultureInfo.InvariantCulture)); - clipboardText.AppendLiteral(",\n \"Z\": "); - clipboardText.AppendFormatted(_objectTable.LocalPlayer.Position.Z.ToString(CultureInfo.InvariantCulture)); - clipboardText.AppendLiteral("\n},\n\"TerritoryId\": "); - clipboardText.AppendFormatted(_clientState.TerritoryType); - clipboardText.AppendLiteral(",\n\"InteractionType\": \"\""); - ImGui.SetClipboardText(clipboardText); + ulong num7 = TargetSystem.Instance()->InteractWithObject((GameObject*)_200C_202B_200C_200F_202D_200D_200D_202B_206B_200D_200B_206F_206D_202D_200C_206F_200D_202E_206D_202D_200F_200F_202B_202B_200D_206C_206A_202B_202D_202C_200E_202E_202B_206C_206B_206A_200C_206F_206C_202B_202E(target), checkLineOfSight: false); + _202D_200B_202E_202C_206D_206C_206A_202C_202A_200D_200D_202D_202E_200D_200C_206E_206A_206C_200B_200D_200D_202E_200E_200D_200E_206A_200E_206F_200F_206F_202C_200B_200D_206E_206D_206F_206C_200F_200D_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-1103777567), new object[1] { num7 }); + num = -1572387838; + break; } - else if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) + case 9: + _movementController.ResetPathfinding(); + num = -1572387825; + break; + case 2: + num = -1572387829; + break; + case 3: + num5 = (_gameFunctions.IsOccupied() ? 1 : 0); + goto IL_02b3; + case 7: { - Vector3 position = _objectTable.LocalPlayer.Position; - IFormatProvider invariantCulture = CultureInfo.InvariantCulture; - DefaultInterpolatedStringHandler handler = new DefaultInterpolatedStringHandler(12, 3, invariantCulture); - handler.AppendLiteral("new("); - handler.AppendFormatted(position.X); - handler.AppendLiteral("f, "); - handler.AppendFormatted(position.Y); - handler.AppendLiteral("f, "); - handler.AppendFormatted(position.Z); - handler.AppendLiteral("f)"); - ImGui.SetClipboardText(string.Create(invariantCulture, ref handler)); + _202D_200D_200C_206E_206E_206F_206F_200E_206D_206E_200D_200C_206F_206A_202E_202D_206A_206D_200E_202A_200C_202A_202E_200C_202B_202A_200F_200E_200B_202C_202B_200F_206E_206E_202E_200D_202E_200E_200D_200D_202E(); + _200F_200F_206F_206E_200D_202B_202A_200E_206C_206F_200F_206D_200C_200E_200E_202B_206F_206D_200F_202A_206C_202B_202C_202B_206F_202C_202C_200F_200B_202A_202B_206E_202A_202E_206A_206D_206C_202D_206E_202E(!_questData.IsIssuerOfAnyQuest(_202C_200B_206D_206B_200E_202A_206F_200F_206B_206D_200B_206F_206B_206F_200C_200C_206C_206F_206F_206F_202E_206A_206D_202A_200B_202E_206C_206D_202C_206F_200D_202B_202C_206F_206D_206C_200B_202A_206C_206C_202E(target))); + bool num6 = _202E_206E_206A_206E_200D_200D_200C_200C_206C_206F_206B_206C_206C_202E_206B_200F_206F_206A_200F_206E_202A_200C_200F_202E_202D_202C_206A_206B_206E_206F_202E_206B_206F_206C_200C_202C_202B_200B_202E_202E_202E(FontAwesomeIcon.MapMarkerAlt); + if (_200F_200E_200F_200D_202E_200D_202A_206E_206E_206D_200F_206C_200B_202E_206B_206D_206A_200C_202A_200F_200D_200B_206E_202A_200F_200D_202A_202E_206B_202C_202D_206C_200F_202B_202E_200F_206A_200C_206B_206F_202E()) + { + _200D_200E_206D_206F_206C_202D_202B_202E_202A_206D_206C_200B_206A_206F_200F_206E_202C_200B_202C_200C_200C_206E_202E_200C_200D_206A_206C_200B_202C_202A_200D_206F_200F_206F_202A_202E_200D_200B_206B_202A_202E((ImU8String)global::_003CModule_003E._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(-1524215870)); + } + num = ((!num6) ? (-1572387826) : (-1572387831)); + break; + } + case 5: + num5 = 1; + goto IL_02b3; + case 1: + { + _questSelectionWindow.OpenForTarget(_206C_200D_200E_206E_202C_200E_202B_202C_202C_200E_206E_202B_206F_202C_200B_206A_206D_202D_200F_202A_202A_206D_200E_206D_200B_200D_200E_206B_206C_206C_206D_206C_202B_206F_206A_206A_202C_200C_206A_206C_202E(_targetManager)); + num = -1572387826; + break; + } + IL_02b3: + _200F_200F_206F_206E_200D_202B_202A_200E_206C_206F_200F_206D_200C_200E_200E_202B_206F_206D_200F_202A_206C_202B_202C_202B_206F_202C_202C_200F_200B_202A_202B_206E_202A_202E_206A_206D_206C_202D_206E_202E((byte)num5 != 0); + num = (_movementController.IsPathfinding ? (-1572387832) : (-1572387840)); + break; } } } + + [MethodImpl(MethodImplOptions.NoInlining)] + private unsafe void DrawCopyButton(IGameObject target) + { + GameObject* ptr = (GameObject*)_200C_202B_200C_200F_202D_200D_200D_202B_206B_200D_200B_206F_206D_202D_200C_206F_200D_202E_206D_202D_200F_200F_202B_202B_200D_206C_206A_202B_202D_202C_200E_202E_202B_206C_206B_206A_200C_206F_206C_202B_202E(target); + bool num = _202E_206E_206A_206E_200D_200D_200C_200C_206C_206F_206B_206C_206C_202E_206B_200F_206F_206A_200F_206E_202A_200C_200F_202E_202D_202C_206A_206B_206E_206F_202E_206B_206F_206C_200C_202C_202B_200B_202E_202E_202E(FontAwesomeIcon.Copy); + if (_200F_200E_200F_200D_202E_200D_202A_206E_206E_206D_200F_206C_200B_202E_206B_206D_206A_200C_202A_200F_200D_200B_206E_202A_200F_200D_202A_202E_206B_202C_202D_206C_200F_202B_202E_200F_206A_200C_206B_206F_202E()) + { + _200D_200E_206D_206F_206C_202D_202B_202E_202A_206D_206C_200B_206A_206F_200F_206E_202C_200B_202C_200C_200C_206E_202E_200C_200D_206A_206C_200B_202C_202A_200D_206F_200F_206F_202A_202E_200D_200B_206B_202A_202E((ImU8String)global::_003CModule_003E._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(-849104129)); + } + int num2 = ((!num) ? (-2038665732) : (-2038665741)); + uint namePlateIconId = default(uint); + string text = default(string); + while (true) + { + int num3 = num2; + int num4 = -2038665743; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 10: + { + uint num7 = namePlateIconId; + num4 = 71341; + num5 = (int)num7; + switch (~(~num5 + num4)) + { + case 4: + goto IL_0271; + case 0: + goto IL_048b; + case 2: + case 3: + goto IL_04e6; + case 1: + goto IL_05ce; + } + num2 = -2038665736; + break; + } + case 13: + num2 = ((!_202C_206A_206C_202D_206E_206B_202B_206B_200F_202E_206F_206D_202B_200E_202D_206D_206F_206E_202C_202B_202C_206F_206A_206D_200D_202B_202A_206D_206E_200C_202D_206D_206A_206A_206B_202B_200E_200E_202B_200D_202E(ImGuiMouseButton.Right)) ? (-2038665740) : (-2038665729)); + break; + case 19: + num2 = -2038665734; + break; + case 0: + { + string value2 = text; + ImU8String imU8String2 = new ImU8String(99, 6); + imU8String2.AppendLiteral(global::_003CModule_003E._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(140408529)); + imU8String2.AppendFormatted(_202C_200B_206D_206B_200E_202A_206F_200F_206B_206D_200B_206F_206B_206F_200C_200C_206C_206F_206F_206F_202E_206A_206D_202A_200B_202E_206C_206D_202C_206F_200D_202B_202C_206F_206D_206C_200B_202A_206C_206C_202E(target)); + imU8String2.AppendLiteral(global::_003CModule_003E._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(67540992)); + imU8String2.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).X.ToString(_202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E())); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-649698836)); + imU8String2.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).Y.ToString(_202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E())); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1284513823)); + imU8String2.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).Z.ToString(_202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E())); + imU8String2.AppendLiteral(global::_003CModule_003E._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(2693715)); + imU8String2.AppendFormatted(_200F_200C_206D_202B_206F_200E_206B_206A_206D_206E_202E_206F_202B_202E_206E_206D_206B_200B_202E_202B_206C_202A_200B_202A_202E_206A_200E_206A_202B_206B_200E_202D_206E_206C_206C_202D_202E_206D_202C_202D_202E(_clientState)); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-228173290)); + imU8String2.AppendFormatted(value2); + imU8String2.AppendLiteral(global::_003CModule_003E._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(948996293)); + _206D_202A_206D_206F_206B_200D_202D_206B_206A_202E_202B_206D_202D_206E_202B_206C_202C_206B_202E_202A_200D_200E_200B_202A_200C_202D_206D_202D_200F_202A_202B_202A_200F_202B_200B_200B_202B_206A_202A_206A_202E(imU8String2); + return; + } + case 21: + { + uint num11 = namePlateIconId; + num4 = 71201; + num5 = (int)num11; + switch (~(~num5 + num4)) + { + case 4: + goto IL_0271; + case 0: + goto IL_048b; + case 2: + case 3: + goto IL_04e6; + case 1: + goto IL_05ce; + } + num2 = -2038665759; + break; + } + case 7: + goto IL_0271; + case 20: + { + EAetheryteLocation value = (EAetheryteLocation)_202C_200B_206D_206B_200E_202A_206F_200F_206B_206D_200B_206F_206B_206F_200C_200C_206C_206F_206F_206F_202E_206A_206D_202A_200B_202E_206C_206D_202C_206F_200D_202B_202C_206F_206D_206C_200B_202A_206C_206C_202E(target); + IFormatProvider formatProvider = _202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E(); + IFormatProvider formatProvider3 = formatProvider; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(36, 4, formatProvider); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-2013959311)); + defaultInterpolatedStringHandler2.AppendFormatted(value); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1164059180)); + defaultInterpolatedStringHandler2.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).X); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(562724466)); + defaultInterpolatedStringHandler2.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).Y); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(562724466)); + defaultInterpolatedStringHandler2.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).Z); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1620544171)); + _206D_202A_206D_206F_206B_200D_202D_206B_206A_202E_202B_206D_202D_206E_202B_206C_202C_206B_202E_202A_200D_200E_200B_202A_200C_202D_206D_202D_200F_202A_202B_202A_200F_202B_200B_200B_202B_206A_202A_206A_202E((ImU8String)_200C_202C_200D_202B_202C_200F_202A_200C_206D_200B_200F_206C_202A_200E_202D_206A_206A_202A_202B_200D_206B_202D_200D_206B_202E_200F_206F_206F_202D_206A_200C_202C_200C_206D_200C_206C_206D_202B_206B_202E(formatProvider3, ref defaultInterpolatedStringHandler2)); + return; + } + case 9: + { + uint num10 = namePlateIconId; + num4 = 71351; + num5 = (int)num10; + switch (~(~num5 + num4)) + { + case 4: + break; + default: + goto IL_0377; + case 0: + goto IL_048b; + case 2: + case 3: + goto IL_04e6; + case 1: + goto IL_05ce; + } + goto IL_0271; + } + case 5: + return; + case 16: + { + uint num9 = namePlateIconId; + num4 = 71211; + num5 = (int)num9; + switch (~(~num5 + num4)) + { + case 4: + break; + default: + goto IL_03af; + case 0: + goto IL_048b; + case 2: + case 3: + goto IL_04e6; + case 1: + goto IL_05ce; + } + goto IL_0271; + } + case 3: + { + ImU8String imU8String = new ImU8String(59, 4); + imU8String.AppendLiteral(global::_003CModule_003E._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(844594776)); + imU8String.AppendFormatted(_202C_200B_206D_206B_200E_202A_206F_200F_206B_206D_200B_206F_206B_206F_200C_200C_206C_206F_206F_206F_202E_206A_206D_202A_200B_202E_206C_206D_202C_206F_200D_202B_202C_206F_206D_206C_200B_202A_206C_206C_202E(target)); + imU8String.AppendLiteral(global::_003CModule_003E._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(-964980094)); + imU8String.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).X.ToString(_202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E())); + imU8String.AppendLiteral(global::_003CModule_003E._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(1131547323)); + imU8String.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).Y.ToString(_202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E())); + imU8String.AppendLiteral(global::_003CModule_003E._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(882206494)); + imU8String.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).Z.ToString(_202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E())); + imU8String.AppendLiteral(global::_003CModule_003E._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(738125219)); + _206D_202A_206D_206F_206B_200D_202D_206B_206A_202E_202B_206D_202D_206E_202B_206C_202C_206B_202E_202A_200D_200E_200B_202A_200C_202D_206D_202D_200F_202A_202B_202A_200F_202B_200B_200B_202B_206A_202A_206A_202E(imU8String); + return; + } + case 12: + goto IL_048b; + case 17: + num2 = -2038665741; + break; + case 4: + { + uint num8 = namePlateIconId; + num4 = 71231; + num5 = (int)num8; + switch (~(~num5 + num4)) + { + case 4: + break; + case 0: + goto IL_048b; + default: + goto IL_04da; + case 2: + case 3: + goto IL_04e6; + case 1: + goto IL_05ce; + } + goto IL_0271; + } + case 11: + goto IL_04e6; + case 14: + num2 = ((_202C_206F_206B_200D_206B_206C_200C_202B_206E_202B_206F_200F_206B_200E_202B_202C_206F_202A_206F_206D_200C_206B_202B_206C_202C_200F_202E_200C_206B_200B_202B_206D_200B_200F_202B_200E_206A_202B_200B_206B_202E(target) != Dalamud.Game.ClientState.Objects.Enums.ObjectKind.Aetheryte) ? (-2038665730) : (-2038665755)); + break; + case 15: + { + IFormatProvider formatProvider = _202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E(); + IFormatProvider formatProvider2 = formatProvider; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(12, 3, formatProvider); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1798659465)); + defaultInterpolatedStringHandler.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).X); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-835891179)); + defaultInterpolatedStringHandler.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).Y); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-835891179)); + defaultInterpolatedStringHandler.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(target).Z); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(772816910)); + _206D_202A_206D_206F_206B_200D_202D_206B_206A_202E_202B_206D_202D_206E_202B_206C_202C_206B_202E_202A_200D_200E_200B_202A_200C_202D_206D_202D_200F_202A_202B_202A_200F_202B_200B_200B_202B_206A_202A_206A_202E((ImU8String)_200C_202C_200D_202B_202C_200F_202A_200C_206D_200B_200F_206C_202A_200E_202D_206A_206A_202A_202B_200D_206B_202D_200D_206B_202E_200F_206F_206F_202D_206A_200C_202C_200C_206D_200C_206C_206D_202B_206B_202E(formatProvider2, ref defaultInterpolatedStringHandler)); + num2 = -2038665740; + break; + } + case 18: + goto IL_05ce; + case 6: + { + uint num6 = namePlateIconId; + num4 = 71221; + num5 = (int)num6; + switch (~(~num5 + num4)) + { + case 4: + break; + case 0: + goto IL_048b; + case 2: + case 3: + goto IL_04e6; + case 1: + goto IL_05ce; + default: + goto IL_0611; + } + goto IL_0271; + } + case 8: + num2 = -2038665734; + break; + case 1: + namePlateIconId = ptr->NamePlateIconId; + num2 = ((namePlateIconId > 71225) ? (-2038665739) : (-2038665756)); + break; + case 2: + { + num2 = ((_202C_206F_206B_200D_206B_206C_200C_202B_206E_202B_206F_200F_206B_200E_202B_202C_206F_202A_206F_206D_200C_206B_202B_206C_202C_200F_202E_200C_206B_200B_202B_206D_200B_200F_202B_200E_206A_202B_200B_206B_202E(target) != Dalamud.Game.ClientState.Objects.Enums.ObjectKind.GatheringPoint) ? (-2038665744) : (-2038665742)); + break; + } + IL_048b: + text = global::_003CModule_003E._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(750638006); + num2 = -2038665743; + break; + IL_0271: + text = global::_003CModule_003E._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(2119877003); + num2 = -2038665743; + break; + IL_0611: + num2 = -2038665758; + break; + IL_05ce: + text = global::_003CModule_003E._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(1763646415); + num2 = -2038665743; + break; + IL_04da: + num2 = -2038665733; + break; + IL_03af: + num2 = -2038665737; + break; + IL_0377: + num2 = -2038665735; + break; + IL_04e6: + text = global::_003CModule_003E._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(-1950641804); + num2 = -2038665743; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawCopyButton() + { + int num = ((_200B_206E_206E_202A_202A_200D_206B_202E_200C_206E_200E_206D_202E_202A_206E_206A_206B_202A_206C_200F_202C_200D_206F_200C_206C_202C_202B_202D_202C_200B_202A_200F_202D_202E_206E_206A_206A_206C_206E_200F_202E(_objectTable) != null) ? (-721194997) : (-721194994)); + while (true) + { + int num2 = num; + int num3 = -721194997; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + { + bool num7 = _202E_206E_206A_206E_200D_200D_200C_200C_206C_206F_206B_206C_206C_202E_206B_200F_206F_206A_200F_206E_202A_200C_200F_202E_202D_202C_206A_206B_206E_206F_202E_206B_206F_206C_200C_202C_202B_200B_202E_202E_202E(FontAwesomeIcon.Copy); + if (_200F_200E_200F_200D_202E_200D_202A_206E_206E_206D_200F_206C_200B_202E_206B_206D_206A_200C_202A_200F_200D_200B_206E_202A_200F_200D_202A_202E_206B_202C_202D_206C_200F_202B_202E_200F_206A_200C_206B_206F_202E()) + { + _200D_200E_206D_206F_206C_202D_202B_202E_202A_206D_206C_200B_206A_206F_200F_206E_202C_200B_202C_200C_200C_206E_202E_200C_200D_206A_206C_200B_202C_202A_200D_206F_200F_206F_202A_202E_200D_200B_206B_202A_202E((ImU8String)global::_003CModule_003E._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(-1229313283)); + } + num = ((!num7) ? (-721194999) : (-721194995)); + break; + } + case 5: + return; + case 1: + { + Vector3 vector = _200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E((IGameObject)_200B_206E_206E_202A_202A_200D_206B_202E_200C_206E_200E_206D_202E_202A_206E_206A_206B_202A_206C_200F_202C_200D_206F_200C_206C_202C_202B_202D_202C_200B_202A_200F_202D_202E_206E_206A_206A_206C_206E_200F_202E(_objectTable)); + IFormatProvider formatProvider = _202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(12, 3, formatProvider); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1798659465)); + defaultInterpolatedStringHandler.AppendFormatted(vector.X); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(562724466)); + defaultInterpolatedStringHandler.AppendFormatted(vector.Y); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(495221964)); + defaultInterpolatedStringHandler.AppendFormatted(vector.Z); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1219659692)); + _206D_202A_206D_206F_206B_200D_202D_206B_206A_202E_202B_206D_202D_206E_202B_206C_202C_206B_202E_202A_200D_200E_200B_202A_200C_202D_206D_202D_200F_202A_202B_202A_200F_202B_200B_200B_202B_206A_202A_206A_202E((ImU8String)_200C_202C_200D_202B_202C_200F_202A_200C_206D_200B_200F_206C_202A_200E_202D_206A_206A_202A_202B_200D_206B_202D_200D_206B_202E_200F_206F_206F_202D_206A_200C_202C_200C_206D_200C_206C_206D_202B_206B_202E(formatProvider, ref defaultInterpolatedStringHandler)); + num = -721194993; + break; + } + case 6: + { + ImU8String imU8String = new ImU8String(87, 4); + imU8String.AppendLiteral(global::_003CModule_003E._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(-840535308)); + imU8String.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E((IGameObject)_200B_206E_206E_202A_202A_200D_206B_202E_200C_206E_200E_206D_202E_202A_206E_206A_206B_202A_206C_200F_202C_200D_206F_200C_206C_202C_202B_202D_202C_200B_202A_200F_202D_202E_206E_206A_206A_206C_206E_200F_202E(_objectTable)).X.ToString(_202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E())); + imU8String.AppendLiteral(global::_003CModule_003E._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(-649698836)); + imU8String.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E((IGameObject)_200B_206E_206E_202A_202A_200D_206B_202E_200C_206E_200E_206D_202E_202A_206E_206A_206B_202A_206C_200F_202C_200D_206F_200C_206C_202C_202B_202D_202C_200B_202A_200F_202D_202E_206E_206A_206A_206C_206E_200F_202E(_objectTable)).Y.ToString(_202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E())); + imU8String.AppendLiteral(global::_003CModule_003E._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(-700690564)); + imU8String.AppendFormatted(_200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E((IGameObject)_200B_206E_206E_202A_202A_200D_206B_202E_200C_206E_200E_206D_202E_202A_206E_206A_206B_202A_206C_200F_202C_200D_206F_200C_206C_202C_202B_202D_202C_200B_202A_200F_202D_202E_206E_206A_206A_206C_206E_200F_202E(_objectTable)).Z.ToString(_202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E())); + imU8String.AppendLiteral(global::_003CModule_003E._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(-19976290)); + imU8String.AppendFormatted(_200F_200C_206D_202B_206F_200E_206B_206A_206D_206E_202E_206F_202B_202E_206E_206D_206B_200B_202E_202B_206C_202A_200B_202A_202E_206A_200E_206A_202B_206B_200E_202D_206E_206C_206C_202D_202E_206D_202C_202D_202E(_clientState)); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1135770245)); + _206D_202A_206D_206F_206B_200D_202D_206B_206A_202E_202B_206D_202D_206E_202B_206C_202C_206B_202E_202A_200D_200E_200B_202A_200C_202D_206D_202D_200F_202A_202B_202A_200F_202B_200B_200B_202B_206A_202A_206A_202E(imU8String); + return; + } + case 3: + num = -721194994; + break; + case 2: + num = ((!_202C_206A_206C_202D_206E_206B_202B_206B_200F_202E_206F_206D_202B_200E_202D_206D_206F_206E_202C_202B_202C_206F_206A_206D_200D_202B_202A_206D_206E_200C_202D_206D_206A_206A_206B_202B_200E_200E_202B_200D_202E(ImGuiMouseButton.Right)) ? (-721194993) : (-721194998)); + break; + case 4: + return; + } + } + } + + static uint _200F_200C_206D_202B_206F_200E_206B_206A_206D_206E_202E_206F_202B_202E_206E_206D_206B_200B_202E_202B_206C_202A_200B_202A_202E_206A_200E_206A_202B_206B_200E_202D_206E_206C_206C_202D_202E_206D_202C_202D_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static void _202C_200E_202D_206F_202A_202A_202B_206F_206E_206B_206A_200C_206B_200C_200C_206D_200D_206C_200F_200D_206E_202C_206C_200D_206B_202A_206F_206F_206D_200C_206D_206C_206C_202D_206B_206D_200B_206C_202B_200D_202E() + { + ImGui.SameLine(); + } + + static string _206B_206B_200E_202C_200F_206C_200E_200F_206C_206A_200E_202D_202E_206E_200D_200B_200B_206C_200E_206F_202B_206B_202E_202C_202C_200B_200F_200B_200F_206F_200E_206D_202E_202C_202E_200C_200E_206E_206B_206C_202E(SeIconChar P_0) + { + return P_0.ToIconString(); + } + + static void _202A_202E_202E_202A_200F_202C_206C_206F_202A_200B_202C_202D_202A_206A_202C_200B_206C_202D_202D_202B_202C_202C_206A_200C_202E_200B_206A_202C_200B_206C_202A_200E_200C_200C_200E_206E_202B_200C_206C_200E_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static IGameObject _206C_200D_200E_206E_202C_200E_202B_202C_202C_200E_206E_202B_206F_202C_200B_206A_206D_202D_200F_202A_202A_206D_200E_206D_200B_200D_200E_206B_206C_206C_206D_206C_202B_206F_206A_206A_202C_200C_206A_206C_202E(ITargetManager P_0) + { + return P_0.Target; + } + + static ulong _202D_206C_200F_200E_206D_202B_202B_202A_206D_202E_206A_206B_206B_206E_206F_200C_206C_206F_200E_200E_202B_206B_206E_200B_206A_206F_200C_200B_206F_200D_206D_202B_200E_200B_206A_206F_206C_202E_202E_206B_202E(IGameGui P_0) + { + return P_0.HoveredItem; + } + + static void _206B_202D_200F_206A_200B_206B_200C_202B_202E_202B_200F_206D_206E_200D_200C_206B_206B_202C_202E_206E_206B_206B_206E_206C_206B_200F_202E_200E_206A_206F_206D_206B_200D_202C_206B_200C_202E_200D_202A_202D_202E() + { + ImGui.Separator(); + } + + static uint _202E_206E_206A_200B_206B_200F_202C_202C_200C_206D_202A_200C_200D_202C_200F_206A_202A_202A_202A_202B_206C_206E_200F_206F_206A_206A_202A_202B_202D_200D_206C_206C_202E_206B_202E_202B_202E_200D_200E_202D_202E(ICharacter P_0) + { + return P_0.NameId; + } + + static CultureInfo _202A_200F_206C_206E_200D_202C_200E_200D_206E_206F_206A_206B_202A_200C_200B_206E_200B_206C_202B_202C_200E_206E_206E_206A_206A_200B_206A_206E_202D_200D_206B_206A_202D_206A_206B_200C_202E_200B_202E_206B_202E() + { + return CultureInfo.InvariantCulture; + } + + static SeString _206A_200E_202D_202C_206F_206E_200F_202A_206C_200B_200E_206C_202C_206B_206B_206D_206A_206B_206F_202A_206D_200B_206C_206F_202A_200F_200B_200B_200E_200C_200B_206A_206F_200E_202D_206E_202B_200B_202E_202E_202E(IGameObject P_0) + { + return P_0.Name; + } + + static Dalamud.Game.ClientState.Objects.Enums.ObjectKind _202C_206F_206B_200D_206B_206C_200C_202B_206E_202B_206F_200F_206B_200E_202B_202C_206F_202A_206F_206D_200C_206B_202B_206C_202C_200F_202E_200C_206B_200B_202B_206D_200B_200F_202B_200E_206A_202B_200B_206B_202E(IGameObject P_0) + { + return P_0.ObjectKind; + } + + static uint _202C_200B_206D_206B_200E_202A_206F_200F_206B_206D_200B_206F_206B_206F_200C_200C_206C_206F_206F_206F_202E_206A_206D_202A_200B_202E_206C_206D_202C_206F_200D_202B_202C_206F_206D_206C_200B_202A_206C_206C_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static string _200C_202C_200D_202B_202C_200F_202A_200C_206D_200B_200F_206C_202A_200E_202D_206A_206A_202A_202B_200D_206B_202D_200D_206B_202E_200F_206F_206F_202D_206A_200C_202C_200C_206D_200C_206C_206D_202B_206B_202E(IFormatProvider P_0, ref DefaultInterpolatedStringHandler P_1) + { + return string.Create(P_0, ref P_1); + } + + static IPlayerCharacter _200B_206E_206E_202A_202A_200D_206B_202E_200C_206E_200E_206D_202E_202A_206E_206A_206B_202A_206C_200F_202C_200D_206F_200C_206C_202C_202B_202D_202C_200B_202A_200F_202D_202E_206E_206A_206A_206C_206E_200F_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _200D_206F_206C_200B_200E_202B_206F_200F_206B_206E_206B_206D_202C_200E_206C_206D_200F_200E_202E_202B_200C_202D_206C_200F_206B_206B_202C_200F_200F_206F_200B_200E_200E_206B_202B_202E_206F_200F_206F_202B_202E(IGameObject P_0) + { + return P_0.Position; + } + + static float _202C_200C_206F_206D_206C_202D_202A_200B_200D_206A_202B_206F_206A_200F_202D_200F_200B_202D_202E_200E_206B_200E_200F_202D_200D_206A_202C_200D_202E_206A_202D_200D_200D_206C_202E_202E_206E_200D_200E_202B_202E(float P_0) + { + return Math.Abs(P_0); + } + + static Vector4 _200C_200B_200D_202C_206F_202A_200C_206D_202D_200F_200C_200F_200D_202B_200B_202D_202D_206E_206C_206C_206D_200B_206C_202C_200B_202D_200B_202D_202C_200D_206C_202B_200C_200E_206C_200E_206C_200F_206A_206A_202E() + { + return ImGuiColors.DalamudOrange; + } + + static void _202E_200E_206A_206E_206C_206D_206C_200B_206A_206A_202E_206D_202C_206B_200C_206A_202B_200E_202C_206C_206C_206F_200F_202E_206C_206E_202C_200F_206E_200C_202A_206D_202A_206F_200E_200E_200B_200D_202C_200C_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static nint _200C_202B_200C_200F_202D_200D_200D_202B_206B_200D_200B_206F_206D_202D_200C_206F_200D_202E_206D_202D_200F_200F_202B_202B_200D_206C_206A_202B_202D_202C_200E_202E_202B_206C_206B_206A_200C_206F_206C_202B_202E(IGameObject P_0) + { + return P_0.Address; + } + + static void _200F_200F_206F_206E_200D_202B_202A_200E_206C_206F_200F_206D_200C_200E_200E_202B_206F_206D_200F_202A_206C_202B_202C_202B_206F_202C_202C_200F_200B_202A_202B_206E_202A_202E_206A_206D_206C_202D_206E_202E(bool P_0) + { + ImGui.BeginDisabled(P_0); + } + + static bool _206A_206C_200E_206B_200B_200F_202D_206C_200D_202E_200B_206C_206E_206F_206F_202C_202B_202D_206C_200C_202B_202A_200E_206C_202D_202A_200C_200D_202D_202A_206A_202A_200F_202B_206E_200F_206E_206C_200C_202E_202E(FontAwesomeIcon P_0, string P_1, Vector4? P_2, Vector4? P_3, Vector4? P_4, Vector2? P_5) + { + return ImGuiComponents.IconButtonWithText(P_0, P_1, P_2, P_3, P_4, P_5); + } + + static bool _206F_206D_206F_206D_206C_202B_200C_206D_202E_206C_206B_200C_202D_206F_206F_206F_200C_206E_206E_202B_200C_202C_202A_200F_202E_200F_206C_202A_202B_206D_200D_206C_206C_206A_200C_200C_202E_202D_206C_202A_202E(ICondition P_0, ConditionFlag P_1) + { + return P_0[P_1]; + } + + static bool _206C_206B_202C_206C_202A_202B_200E_206B_206C_202B_202B_202C_206F_206E_206A_202C_206B_206D_200D_202E_202B_202C_200B_206D_202B_200E_200E_200E_206C_206C_206C_202D_202A_206E_202E_202A_206B_202E_200E_206D_202E(ImU8String P_0, Vector2 P_1) + { + return ImGui.Button(P_0, P_1); + } + + static void _202D_200D_200C_206E_206E_206F_206F_200E_206D_206E_200D_200C_206F_206A_202E_202D_206A_206D_200E_202A_200C_202A_202E_200C_202B_202A_200F_200E_200B_202C_202B_200F_206E_206E_202E_200D_202E_200E_200D_200D_202E() + { + ImGui.EndDisabled(); + } + + static bool _202E_206E_206A_206E_200D_200D_200C_200C_206C_206F_206B_206C_206C_202E_206B_200F_206F_206A_200F_206E_202A_200C_200F_202E_202D_202C_206A_206B_206E_206F_202E_206B_206F_206C_200C_202C_202B_200B_202E_202E_202E(FontAwesomeIcon P_0) + { + return ImGuiComponents.IconButton(P_0); + } + + static bool _200F_200E_200F_200D_202E_200D_202A_206E_206E_206D_200F_206C_200B_202E_206B_206D_206A_200C_202A_200F_200D_200B_206E_202A_200F_200D_202A_202E_206B_202C_202D_206C_200F_202B_202E_200F_206A_200C_206B_206F_202E() + { + return ImGui.IsItemHovered(); + } + + static void _200D_200E_206D_206F_206C_202D_202B_202E_202A_206D_206C_200B_206A_206F_200F_206E_202C_200B_202C_200C_200C_206E_202E_200C_200D_206A_206C_200B_202C_202A_200D_206F_200F_206F_202A_202E_200D_200B_206B_202A_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static void _202D_200B_202E_202C_206D_206C_206A_202C_202A_200D_200D_202D_202E_200D_200C_206E_206A_206C_200B_200D_200D_202E_200E_200D_200E_206A_200E_206F_200F_206F_202C_200B_200D_206E_206D_206F_206C_200F_200D_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _206D_202A_206D_206F_206B_200D_202D_206B_206A_202E_202B_206D_202D_206E_202B_206C_202C_206B_202E_202A_200D_200E_200B_202A_200C_202D_206D_202D_200F_202A_202B_202A_200F_202B_200B_200B_202B_206A_202A_206A_202E(ImU8String P_0) + { + ImGui.SetClipboardText(P_0); + } + + static bool _202C_206A_206C_202D_206E_206B_202B_206B_200F_202E_206F_206D_202B_200E_202D_206D_206F_206E_202C_202B_202C_206F_206A_206D_200D_202B_202A_206D_206E_200C_202D_206D_206A_206A_206B_202B_200E_200E_202B_200D_202E(ImGuiMouseButton P_0) + { + return ImGui.IsItemClicked(P_0); + } } diff --git a/Questionable/Questionable.Windows.QuestComponents/EventInfoComponent.cs b/Questionable/Questionable.Windows.QuestComponents/EventInfoComponent.cs index a79c19d9..d67b1443 100644 --- a/Questionable/Questionable.Windows.QuestComponents/EventInfoComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/EventInfoComponent.cs @@ -1,7 +1,11 @@ using System; +using System.Collections; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; using Dalamud.Bindings.ImGui; using Dalamud.Interface; using Dalamud.Interface.Components; @@ -10,6 +14,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; @@ -19,7 +24,751 @@ namespace Questionable.Windows.QuestComponents; internal sealed class EventInfoComponent { - private sealed record EventQuest(string Name, List QuestIds, DateTime EndsAtUtc, string? Patch); + private sealed record EventQuest(string Name, List QuestIds, DateTime EndsAtUtc, string? Patch) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206D_202C_200C_200F_206E_200B_206C_206F_202A_202A_200F_206F_206E_200B_200C_202B_200D_200F_200B_200C_206A_206C_206E_206F_202B_202A_206F_200B_200E_202C_200C_206F_206A_200E_200C_202B_200C_206A_200B_202E_202E(typeof(EventQuest).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200D_200E_206D_200C_200C_200E_206D_202C_200C_206F_200D_202E_200F_200C_200B_206A_200E_202E_200E_202B_202D_202E_206C_202B_206C_200B_206E_206D_200F_202B_202D_206B_202A_200B_206D_200C_200B_206B_202B_202B_202E(); + _206C_202A_206C_206B_200E_202D_202D_200C_200E_202E_206D_206F_200F_202D_202C_202D_200F_202E_200F_200F_206D_200D_206B_200F_202A_200E_206C_200D_202C_206E_202D_200D_202B_200D_200B_206F_200C_202A_206B_202D_202E(stringBuilder, global::_003CModule_003E._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(1998675563)); + _206C_202A_206C_206B_200E_202D_202D_200C_200E_202E_206D_206F_200F_202D_202C_202D_200F_202E_200F_200F_206D_200D_206B_200F_202A_200E_206C_200D_202C_206E_202D_200D_202B_200D_200B_206F_200C_202A_206B_202D_202E(stringBuilder, global::_003CModule_003E._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(-1344697862)); + int num = ((!PrintMembers(stringBuilder)) ? (-678979591) : (-678979592)); + while (true) + { + int num2 = num; + int num3 = -678979591; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -678979592; + break; + case 0: + _200B_206F_206B_206E_200C_200D_202E_206B_202C_206A_206E_200D_202D_202A_200C_202B_202D_200C_202E_206E_200E_206E_206B_202B_206B_206B_200F_202D_206D_200F_200C_202C_206F_206A_206A_206F_202E_200B_206A_206A_202E(stringBuilder, '}'); + return _200F_206D_200F_206B_202A_206D_202E_202B_206F_202E_202C_206F_200B_206D_206C_206D_202D_206C_200E_206C_206E_206C_206E_200E_200E_200C_206E_200F_206C_202D_200B_206B_202D_202E_206A_200E_206C_200E_202C_202D_202E((object)stringBuilder); + case 1: + _200B_206F_206B_206E_200C_200D_202E_206B_202C_206A_206E_200D_202D_202A_200C_202B_202D_200C_202E_206E_200E_206E_206B_202B_206B_206B_200F_202D_206D_200F_200C_202C_206F_206A_206A_206F_202E_200B_206A_206A_202E(stringBuilder, ' '); + num = -678979591; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202A_206B_202B_206B_206F_200D_202A_206F_206D_202A_206E_206A_200D_206E_202C_206F_206D_200D_206C_200C_200D_200B_206F_202E_202A_202C_200C_202D_206B_202C_206E_206B_200C_200D_202E_200C_206D_200D_202A_206B_202E(); + _206C_202A_206C_206B_200E_202D_202D_200C_200E_202E_206D_206F_200F_202D_202C_202D_200F_202E_200F_200F_206D_200D_206B_200F_202A_200E_206C_200D_202C_206E_202D_200D_202B_200D_200B_206F_200C_202A_206B_202D_202E(builder, global::_003CModule_003E._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(868794944)); + _206B_206A_200D_200C_200F_202D_200C_206E_206B_202D_206A_206C_200E_206C_200B_200E_202E_206B_206A_206A_200B_206B_202B_200C_202B_200E_206D_206D_206B_206B_202B_206A_200F_202C_206D_206F_200B_206D_206C_206A_202E(builder, (object)Name); + _206C_202A_206C_206B_200E_202D_202D_200C_200E_202E_206D_206F_200F_202D_202C_202D_200F_202E_200F_200F_206D_200D_206B_200F_202A_200E_206C_200D_202C_206E_202D_200D_202B_200D_200B_206F_200C_202A_206B_202D_202E(builder, global::_003CModule_003E._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(206800257)); + _206B_206A_200D_200C_200F_202D_200C_206E_206B_202D_206A_206C_200E_206C_200B_200E_202E_206B_206A_206A_200B_206B_202B_200C_202B_200E_206D_206D_206B_206B_202B_206A_200F_202C_206D_206F_200B_206D_206C_206A_202E(builder, (object)QuestIds); + _206C_202A_206C_206B_200E_202D_202D_200C_200E_202E_206D_206F_200F_202D_202C_202D_200F_202E_200F_200F_206D_200D_206B_200F_202A_200E_206C_200D_202C_206E_202D_200D_202B_200D_200B_206F_200C_202A_206B_202D_202E(builder, global::_003CModule_003E._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(-263122042)); + _206C_202A_206C_206B_200E_202D_202D_200C_200E_202E_206D_206F_200F_202D_202C_202D_200F_202E_200F_200F_206D_200D_206B_200F_202A_200E_206C_200D_202C_206E_202D_200D_202B_200D_200B_206F_200C_202A_206B_202D_202E(builder, EndsAtUtc.ToString()); + _206C_202A_206C_206B_200E_202D_202D_200C_200E_202E_206D_206F_200F_202D_202C_202D_200F_202E_200F_200F_206D_200D_206B_200F_202A_200E_206C_200D_202C_206E_202D_200D_202B_200D_200B_206F_200C_202A_206B_202D_202E(builder, global::_003CModule_003E._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(1837383221)); + _206B_206A_200D_200C_200F_202D_200C_206E_206B_202D_206A_206C_200E_206C_200B_200E_202E_206B_206A_206A_200B_206B_202B_200C_202B_200E_206D_206D_206B_206B_202B_206A_200F_202C_206D_206F_200B_206D_206C_206A_202E(builder, (object)Patch); + return true; + } + + [CompilerGenerated] + public bool Equals(EventQuest? other) + { + int num = (((object)this == other) ? 943810149 : 943810156); + while (true) + { + int num2 = num; + int num3 = 943810148; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + num = 943810156; + break; + case 4: + return EqualityComparer.Default.Equals(Patch, other.Patch); + case 3: + num = ((!EqualityComparer.Default.Equals(EndsAtUtc, other.EndsAtUtc)) ? 943810145 : 943810144); + break; + case 2: + num = ((!EqualityComparer>.Default.Equals(QuestIds, other.QuestIds)) ? 943810145 : 943810151); + break; + case 7: + num = ((!_206A_200D_206A_202A_206E_202C_202C_200E_202B_200D_206B_206B_200D_200D_206C_202B_206A_202D_202B_206D_202C_200B_206A_206C_206D_206C_206E_202B_200F_206F_202E_202E_202D_206D_206D_206D_202A_200E_206A_206F_202E(EqualityContract, other.EqualityContract)) ? 943810145 : 943810148); + break; + case 5: + return false; + case 1: + return true; + case 8: + num = (((object)other == null) ? 943810145 : 943810147); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(Name, other.Name)) ? 943810145 : 943810150); + break; + } + } + } + + bool IEquatable.Equals(EventQuest? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206D_202C_200C_200F_206E_200B_206C_206F_202A_202A_200F_206F_206E_200B_200C_202B_200D_200F_200B_200C_206A_206C_206E_206F_202B_202A_206F_200B_200E_202C_200C_206F_206A_200E_200C_202B_200C_206A_200B_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200D_200E_206D_200C_200C_200E_206D_202C_200C_206F_200D_202E_200F_200C_200B_206A_200E_202E_200E_202B_202D_202E_206C_202B_206C_200B_206E_206D_200F_202B_202D_206B_202A_200B_206D_200C_200B_206B_202B_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206C_202A_206C_206B_200E_202D_202D_200C_200E_202E_206D_206F_200F_202D_202C_202D_200F_202E_200F_200F_206D_200D_206B_200F_202A_200E_206C_200D_202C_206E_202D_200D_202B_200D_200B_206F_200C_202A_206B_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200B_206F_206B_206E_200C_200D_202E_206B_202C_206A_206E_200D_202D_202A_200C_202B_202D_200C_202E_206E_200E_206E_206B_202B_206B_206B_200F_202D_206D_200F_200C_202C_206F_206A_206A_206F_202E_200B_206A_206A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_206D_200F_206B_202A_206D_202E_202B_206F_202E_202C_206F_200B_206D_206C_206D_202D_206C_200E_206C_206E_206C_206E_200E_200E_200C_206E_200F_206C_202D_200B_206B_202D_202E_206A_200E_206C_200E_202C_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202A_206B_202B_206B_206F_200D_202A_206F_206D_202A_206E_206A_200D_206E_202C_206F_206D_200D_206C_200C_200D_200B_206F_202E_202A_202C_200C_202D_206B_202C_206E_206B_200C_200D_202E_200C_206D_200D_202A_206B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206B_206A_200D_200C_200F_202D_200C_206E_206B_202D_206A_206C_200E_206C_200B_200E_202E_206B_206A_206A_200B_206B_202B_200C_202B_200E_206D_206D_206B_206B_202B_206A_200F_202C_206D_206F_200B_206D_206C_206A_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206A_200D_206A_202A_206E_202C_202C_200E_202B_200D_206B_206B_200D_200D_206C_202B_206A_202D_202B_206D_202C_200B_206A_206C_206D_206C_206E_202B_200F_206F_202E_202E_202D_206D_206D_206D_202A_200E_206A_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__21_2; + + public static Func _003C_003E9__21_3; + + public static Func _003C_003E9__21_4; + + public static Func _003C_003E9__21_5; + + public static Func _003C_003E9__24_0; + + public static Func _003C_003E9__24_1; + + public static Func _003C_003E9__28_1; + + public static Func _003C_003E9__28_2; + + public static Func _003C_003E9__28_3; + + internal DateTime _003CDraw_003Eb__21_2(IQuestInfo q) + { + DateTime? dateTime = (q as QuestInfo)?.SeasonalQuestExpiry; + int num = (dateTime.HasValue ? (-1099291127) : (-1099291121)); + DateTime? dateTime2 = default(DateTime?); + UnlockLinkQuestInfo unlockLinkQuestInfo = default(UnlockLinkQuestInfo); + while (true) + { + int num2 = num; + int num3 = -1099291124; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + DateTime? obj; + switch (num5 - (num6 + num6)) + { + case 1: + { + DateTime valueOrDefault = dateTime2.GetValueOrDefault(); + return NormalizeExpiry(valueOrDefault); + } + case 3: + unlockLinkQuestInfo = q as UnlockLinkQuestInfo; + num = ((unlockLinkQuestInfo != null) ? (-1099291126) : (-1099291122)); + break; + case 6: + obj = unlockLinkQuestInfo.QuestExpiry; + goto IL_00d6; + case 4: + return DateTime.MaxValue; + case 5: + obj = dateTime; + goto IL_00d6; + case 0: + num = -1099291121; + break; + case 2: + { + obj = null; + goto IL_00d6; + } + IL_00d6: + dateTime2 = obj; + num = ((!dateTime2.HasValue) ? (-1099291128) : (-1099291123)); + break; + } + } + } + + internal string _003CDraw_003Eb__21_3(IQuestInfo q) + { + return (q as UnlockLinkQuestInfo)?.Patch; + } + + internal bool _003CDraw_003Eb__21_4(string p) + { + return !_206C_206A_200D_206A_206B_200C_200B_202C_202C_202A_202B_200E_206E_202A_200E_202C_202A_202E_200C_202A_200D_206E_202C_200D_202B_202A_200F_206B_206B_206E_202E_200D_202E_200B_200B_200D_200E_202E_200C_200F_202E(p); + } + + internal ElementId _003CDraw_003Eb__21_5(IQuestInfo q) + { + return q.QuestId; + } + + internal bool _003CGetCurrentlyActiveEventQuests_003Eb__24_0(IQuestInfo q) + { + DateTime? dateTime = (q as QuestInfo)?.SeasonalQuestExpiry; + int num = ((!dateTime.HasValue) ? (-1628574967) : (-1628574968)); + UnlockLinkQuestInfo unlockLinkQuestInfo = default(UnlockLinkQuestInfo); + while (true) + { + int num2 = num; + int num3 = -1628574965; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + return true; + case 2: + unlockLinkQuestInfo = q as UnlockLinkQuestInfo; + num = ((unlockLinkQuestInfo == null) ? (-1628574966) : (-1628574962)); + break; + case 0: + { + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + num = ((!(NormalizeExpiry(valueOrDefault) >= DateTime.UtcNow)) ? (-1628574966) : (-1628574963)); + break; + } + case 3: + { + DateTime valueOrDefault2 = dateTime.GetValueOrDefault(); + num = ((!(NormalizeExpiry(valueOrDefault2) >= DateTime.UtcNow)) ? (-1628574967) : (-1628574964)); + break; + } + case 1: + return false; + case 7: + return true; + case 4: + num = -1628574968; + break; + case 5: + dateTime = unlockLinkQuestInfo.QuestExpiry; + num = ((!dateTime.HasValue) ? (-1628574966) : (-1628574965)); + break; + } + } + } + + internal ElementId _003CGetCurrentlyActiveEventQuests_003Eb__24_1(IQuestInfo q) + { + return q.QuestId; + } + + internal DateTime _003CUpdateCacheIfNeeded_003Eb__28_1(IQuestInfo q) + { + DateTime? dateTime = (q as QuestInfo)?.SeasonalQuestExpiry; + int num = (dateTime.HasValue ? (-968246671) : (-968246666)); + DateTime? dateTime2 = default(DateTime?); + UnlockLinkQuestInfo unlockLinkQuestInfo = default(UnlockLinkQuestInfo); + while (true) + { + int num2 = num; + int num3 = -968246665; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + DateTime? obj; + switch (num5 - (num6 + num6)) + { + case 5: + num = -968246666; + break; + case 6: + obj = dateTime; + goto IL_0091; + case 2: + return DateTime.MaxValue; + case 4: + { + DateTime valueOrDefault = dateTime2.GetValueOrDefault(); + return NormalizeExpiry(valueOrDefault); + } + case 1: + unlockLinkQuestInfo = q as UnlockLinkQuestInfo; + num = ((unlockLinkQuestInfo != null) ? (-968246668) : (-968246665)); + break; + case 3: + obj = unlockLinkQuestInfo.QuestExpiry; + goto IL_0091; + case 0: + { + obj = null; + goto IL_0091; + } + IL_0091: + dateTime2 = obj; + num = ((!dateTime2.HasValue) ? (-968246667) : (-968246669)); + break; + } + } + } + + internal string _003CUpdateCacheIfNeeded_003Eb__28_2(IQuestInfo q) + { + return (q as UnlockLinkQuestInfo)?.Patch; + } + + internal bool _003CUpdateCacheIfNeeded_003Eb__28_3(string p) + { + return !_206C_206A_200D_206A_206B_200C_200B_202C_202C_202A_202B_200E_206E_202A_200E_202C_202A_202E_200C_202A_200D_206E_202C_200D_202B_202A_200F_206B_206B_206E_202E_200D_202E_200B_200B_200D_200E_202E_200C_200F_202E(p); + } + + static bool _206C_206A_200D_206A_206B_200C_200B_202C_202C_202A_202B_200E_206E_202A_200E_202C_202A_202E_200C_202A_200D_206E_202C_200D_202B_202A_200F_206B_206B_206E_202E_200D_202E_200B_200B_200D_200E_202E_200C_200F_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + } + + [CompilerGenerated] + private sealed class _003CGetActiveSeasonalQuestsNoCache_003Ed__27 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private IQuestInfo _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public EventInfoComponent _003C_003E4__this; + + private IEnumerator _003C_003E7__wrap1; + + IQuestInfo IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return _003C_003E2__current; + } + } + + [DebuggerHidden] + public _003CGetActiveSeasonalQuestsNoCache_003Ed__27(int _003C_003E1__state) + { + this._003C_003E1__state = _003C_003E1__state; + _003C_003El__initialThreadId = _200E_200C_202A_206E_200E_202A_202C_202B_202B_206E_202C_200C_206E_202E_200C_200F_202B_202D_206D_206A_206D_202E_206A_200C_200F_206C_202E_206E_206B_202A_202D_200C_200E_206B_202D_202E_202C_200C_202D_202D_202E(); + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + int num = _003C_003E1__state; + int num2 = ((num == -3) ? 1245844464 : 1245844467); + while (true) + { + int num3 = num2; + int num4 = 1245844466; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 0: + num2 = 1245844467; + continue; + case 1: + num4 = 1; + num5 = num; + if ((uint)(~(~num5 + num4)) <= 3u) + { + num2 = 1245844464; + continue; + } + break; + case 2: + try + { + } + finally + { + _003C_003Em__Finally1(); + } + break; + } + break; + } + _003C_003E7__wrap1 = null; + _003C_003E1__state = -2; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private bool MoveNext() + { + try + { + int num = _003C_003E1__state; + EventInfoComponent eventInfoComponent = _003C_003E4__this; + int num2; + IQuestInfo questInfo = default(IQuestInfo); + DateTime dateTime = default(DateTime); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + ElementId current = default(ElementId); + DateTime? dateTime2 = default(DateTime?); + QuestInfo questInfo2 = default(QuestInfo); + UnlockLinkQuestInfo unlockLinkQuestInfo = default(UnlockLinkQuestInfo); + switch (num) + { + default: + num2 = -910534625; + goto IL_0034; + case 0: + { + _003C_003E1__state = -1; + IEnumerable allQuestIds = eventInfoComponent._questRegistry.GetAllQuestIds(); + _003C_003E7__wrap1 = allQuestIds.GetEnumerator(); + _003C_003E1__state = -3; + num2 = -910534647; + goto IL_0034; + } + case 4: + goto IL_0250; + case 2: + goto IL_02a4; + case 3: + goto IL_0373; + case 1: + goto IL_0387; + IL_0034: + while (true) + { + int num3 = num2; + int num4 = -910534626; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 21: + goto IL_00c8; + case 15: + goto IL_00ff; + case 6: + goto IL_0123; + case 12: + _202C_200F_200D_202E_202C_200C_206C_200D_200E_206A_206D_206A_206B_202B_202B_202A_200E_202D_206D_202B_206B_202A_200F_200D_202B_206D_200F_200C_200F_202E_202B_200E_206B_206F_206E_202A_206F_202B_200D_206B_202E((ILogger)eventInfoComponent._logger, global::_003CModule_003E._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(553552971), new object[3] { questInfo.QuestId, questInfo.Name, dateTime }); + num2 = -910534647; + break; + case 17: + goto end_IL_0034; + case 24: + _003C_003E2__current = questInfo; + _003C_003E1__state = 4; + return true; + case 14: + goto IL_01f8; + case 5: + goto IL_0220; + case 18: + goto IL_0250; + case 16: + goto IL_0264; + case 1: + return false; + case 4: + goto IL_02a4; + case 2: + _003C_003E2__current = questInfo; + _003C_003E1__state = 2; + return true; + case 25: + questInfo = quest.Info; + num2 = -910534629; + break; + case 23: + goto IL_02ef; + case 22: + goto IL_0317; + case 27: + goto IL_0344; + case 19: + goto IL_0373; + case 0: + goto IL_0387; + case 8: + num2 = -910534625; + break; + case 28: + goto IL_03a7; + case 11: + _202C_200F_200D_202E_202C_200C_206C_200D_200E_206A_206D_206A_206B_202B_202B_202A_200E_202D_206D_202B_206B_202A_200F_200D_202B_206D_200F_200C_200F_202E_202B_200E_206B_206F_206E_202A_206F_202B_200D_206B_202E((ILogger)eventInfoComponent._logger, global::_003CModule_003E._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(-92370415), new object[1] { current }); + num2 = -910534647; + break; + case 13: + _003C_003E2__current = questInfo; + _003C_003E1__state = 1; + return true; + case 7: + goto IL_0422; + case 20: + goto IL_044a; + case 9: + _003C_003E2__current = questInfo; + _003C_003E1__state = 3; + return true; + case 26: + goto IL_04a5; + case 3: + goto IL_04d1; + case 10: + _003C_003Em__Finally1(); + _003C_003E7__wrap1 = null; + return false; + } + continue; + IL_04d1: + num2 = ((!eventInfoComponent._alreadyLoggedActiveSeasonalSkip.Add(_206B_200E_200E_202A_202E_206E_200E_206E_200E_206C_206D_202B_200F_202B_206B_200D_200F_200B_200B_202A_202A_206F_206F_206B_206B_202A_200F_202D_202E_200F_206E_200E_206D_206C_206F_206F_206B_200C_200C_202B_202E(questInfo.QuestId))) ? (-910534647) : (-910534638)); + continue; + IL_0123: + DateTime valueOrDefault = dateTime2.GetValueOrDefault(); + dateTime = NormalizeExpiry(valueOrDefault); + num2 = ((!(dateTime > DateTime.UtcNow)) ? (-910534627) : (-910534637)); + continue; + IL_0344: + num2 = ((!eventInfoComponent._alreadyLoggedActiveSeasonalSkip.Add(_206B_200E_200E_202A_202E_206E_200E_206E_200E_206C_206D_202B_200F_202B_206B_200D_200F_200B_200B_202A_202A_206F_206F_206B_206B_202A_200F_202D_202E_200F_206E_200E_206D_206C_206F_206F_206B_200C_200C_202B_202E(current))) ? (-910534647) : (-910534635)); + continue; + IL_04a5: + num2 = ((!eventInfoComponent._questRegistry.TryGetQuest(current, out quest)) ? (-910534651) : (-910534649)); + continue; + IL_0264: + dateTime2 = questInfo2.SeasonalQuestExpiry; + num2 = (dateTime2.HasValue ? (-910534647) : (-910534650)); + continue; + IL_01f8: + questInfo2 = questInfo as QuestInfo; + num2 = ((questInfo2 == null) ? (-910534647) : (-910534654)); + continue; + IL_044a: + current = _003C_003E7__wrap1.Current; + num2 = (eventInfoComponent._questData.TryGetQuestInfo(current, out questInfo) ? (-910534629) : (-910534652)); + continue; + IL_0317: + dateTime2 = unlockLinkQuestInfo.QuestExpiry; + num2 = ((!dateTime2.HasValue) ? (-910534628) : (-910534632)); + continue; + IL_00ff: + num2 = ((!questInfo2.IsSeasonalQuest) ? (-910534647) : (-910534642)); + continue; + IL_0422: + unlockLinkQuestInfo = questInfo as UnlockLinkQuestInfo; + num2 = ((unlockLinkQuestInfo == null) ? (-910534640) : (-910534648)); + continue; + IL_0220: + num2 = (eventInfoComponent._questFunctions.IsQuestUnobtainable(questInfo.QuestId) ? (-910534647) : (-910534631)); + continue; + IL_02ef: + num2 = (_206F_202B_206F_206B_206A_206B_202E_200B_202B_200C_206A_202B_202D_202E_200C_206D_200E_200E_200F_206F_200D_206C_200C_200F_206D_200E_206D_200C_202D_202B_206C_202B_200E_206C_200B_200B_200B_206D_206F_200D_202E((IEnumerator)_003C_003E7__wrap1) ? (-910534646) : (-910534636)); + continue; + IL_03a7: + dateTime2 = questInfo2.SeasonalQuestExpiry; + num2 = ((!dateTime2.HasValue) ? (-910534639) : (-910534645)); + continue; + IL_00c8: + DateTime valueOrDefault2 = dateTime2.GetValueOrDefault(); + num2 = ((!(NormalizeExpiry(valueOrDefault2) > DateTime.UtcNow)) ? (-910534647) : (-910534633)); + continue; + end_IL_0034: + break; + } + goto case 0; + IL_0387: + _003C_003E1__state = -3; + num2 = -910534647; + goto IL_0034; + IL_0373: + _003C_003E1__state = -3; + num2 = -910534647; + goto IL_0034; + IL_02a4: + _003C_003E1__state = -3; + num2 = -910534647; + goto IL_0034; + IL_0250: + _003C_003E1__state = -3; + num2 = -910534647; + goto IL_0034; + } + } + catch + { + //try-fault + ((IDisposable)this).Dispose(); + throw; + } + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + _003C_003E1__state = -1; + int num = ((_003C_003E7__wrap1 == null) ? 92311819 : 92311816); + while (true) + { + int num2 = num; + int num3 = 92311818; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 92311816; + break; + case 2: + _206C_202A_200B_202D_206F_206E_206A_202B_202C_200E_200F_206B_200E_202D_202C_200E_202E_200D_206C_202E_202E_206C_206C_202E_200C_202B_206A_200B_200C_202D_206A_206A_206C_200B_202E_206D_206E_200B_206D_200C_202E((IDisposable)_003C_003E7__wrap1); + num = 92311819; + break; + case 1: + return; + } + } + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + throw _206C_206D_206F_200F_206D_202A_200E_200E_206D_200C_206E_200D_200F_206D_200E_200D_200B_200D_206D_200E_206E_206C_206F_202A_206C_200E_200F_206E_202E_200E_206A_206B_200F_200C_202C_206B_200D_206E_202E_206B_202E(); + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + int num = ((_003C_003E1__state != -2) ? (-673075660) : (-673075657)); + _003CGetActiveSeasonalQuestsNoCache_003Ed__27 result = default(_003CGetActiveSeasonalQuestsNoCache_003Ed__27); + while (true) + { + int num2 = num; + int num3 = -673075658; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + _003C_003E1__state = 0; + result = this; + num = -673075659; + break; + case 3: + return result; + case 0: + num = -673075657; + break; + case 1: + num = ((_003C_003El__initialThreadId != _200E_200C_202A_206E_200E_202A_202C_202B_202B_206E_202C_200C_206E_202E_200C_200F_202B_202D_206D_206A_206D_202E_206A_200C_200F_206C_202E_206E_206B_202A_202D_200C_200E_206B_202D_202E_202C_200C_202D_202D_202E()) ? (-673075660) : (-673075662)); + break; + case 2: + result = new _003CGetActiveSeasonalQuestsNoCache_003Ed__27(0) + { + _003C_003E4__this = _003C_003E4__this + }; + num = -673075659; + break; + } + } + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)this).GetEnumerator(); + } + + static int _200E_200C_202A_206E_200E_202A_202C_202B_202B_206E_202C_200C_206E_202E_200C_200F_202B_202D_206D_206A_206D_202E_206A_200C_200F_206C_202E_206E_206B_202A_202D_200C_200E_206B_202D_202E_202C_200C_202D_202D_202E() + { + return Environment.CurrentManagedThreadId; + } + + static ushort _206B_200E_200E_202A_202E_206E_200E_206E_200E_206C_206D_202B_200F_202B_206B_200D_200F_200B_200B_202A_202A_206F_206F_206B_206B_202A_200F_202D_202E_200F_206E_200E_206D_206C_206F_206F_206B_200C_200C_202B_202E(ElementId P_0) + { + return P_0.Value; + } + + static void _202C_200F_200D_202E_202C_200C_206C_200D_200E_206A_206D_206A_206B_202B_202B_202A_200E_202D_206D_202B_206B_202A_200F_200D_202B_206D_200F_200C_200F_202E_202B_200E_206B_206F_206E_202A_206F_202B_200D_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206F_202B_206F_206B_206A_206B_202E_200B_202B_200C_206A_202B_202D_202E_200C_206D_200E_200E_200F_206F_200D_206C_200C_200F_206D_200E_206D_200C_202D_202B_206C_202B_200E_206C_200B_200B_200B_206D_206F_200D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206C_202A_200B_202D_206F_206E_206A_202B_202C_200E_200F_206B_200E_202D_202C_200E_202E_200D_206C_202E_202E_206C_206C_202E_200C_202B_206A_200B_200C_202D_206A_206A_206C_200B_202E_206D_206E_200B_206D_200C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static NotSupportedException _206C_206D_206F_200F_206D_202A_200E_200E_206D_200C_206E_200D_200F_206D_200E_200D_200B_200D_206D_200E_206E_206C_206F_202A_206C_200E_200F_206E_202E_200E_206A_206B_200F_200C_202C_206B_200D_206E_202E_206B_202E() + { + return new NotSupportedException(); + } + } private readonly QuestData _questData; @@ -31,6 +780,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; @@ -53,156 +810,547 @@ internal sealed class EventInfoComponent { get { - if (!_configuration.General.ShowIncompleteSeasonalEvents) + int num = (_configuration.General.ShowIncompleteSeasonalEvents ? (-922541968) : (-922541965)); + while (true) { - return false; + int num2 = num; + int num3 = -922541966; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0050; + case 2: + UpdateCacheIfNeeded(); + return _cachedActiveSeasonalQuests.Any((IQuestInfo q) => !_questFunctions.IsQuestComplete(q.QuestId)); + case 1: + return false; + } + continue; + IL_0050: + num = -922541965; } - UpdateCacheIfNeeded(); - return _cachedActiveSeasonalQuests.Count > 0; } } - public EventInfoComponent(QuestData questData, QuestRegistry questRegistry, QuestFunctions questFunctions, UiUtils uiUtils, QuestController questController, QuestTooltipComponent questTooltipComponent, Configuration configuration, IDataManager dataManager, JournalData journalData, ILogger logger) + [MethodImpl(MethodImplOptions.NoInlining)] + 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; _journalData = journalData; - _logger = logger ?? throw new ArgumentNullException("logger"); + _logger = logger ?? throw _202A_206F_200B_202A_206A_206E_200F_202C_206E_206E_202B_200D_200E_200D_200F_202E_202D_206D_200D_206A_200F_200E_206D_200B_200C_200E_206E_206B_200F_206A_206C_202A_200C_206E_206F_200E_206C_202E_202D_206D_202E(global::_003CModule_003E._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(449817736)); } + [MethodImpl(MethodImplOptions.NoInlining)] public void Draw() { UpdateCacheIfNeeded(); - foreach (IGrouping item in _cachedActiveSeasonalQuests.GroupBy(delegate(IQuestInfo q) + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-212176951)); + IEnumerator> enumerator = _cachedActiveSeasonalQuests.GroupBy([MethodImpl(MethodImplOptions.NoInlining)] (IQuestInfo q) => { - if (q.QuestId is UnlockLinkId) + int num6 = ((!(q.QuestId is UnlockLinkId)) ? (-2142227645) : (-2142227641)); + string folderName = default(string); + while (true) { - return "Limited Unlocks"; - } - if (_questRegistry.TryGetQuestFolderName(q.QuestId, out string folderName) && !string.IsNullOrEmpty(folderName)) - { - return folderName; - } - return q.JournalGenre.HasValue ? GetJournalGenreName(q.JournalGenre.Value) : q.Name; - })) - { - if (item.All((IQuestInfo q) => _questFunctions.IsQuestComplete(q.QuestId))) - { - continue; - } - DateTime endsAtUtc = item.Select(delegate(IQuestInfo q) - { - DateTime? dateTime = (q as QuestInfo)?.SeasonalQuestExpiry ?? ((q is UnlockLinkQuestInfo unlockLinkQuestInfo) ? unlockLinkQuestInfo.QuestExpiry : ((DateTime?)null)); - if (dateTime.HasValue) + int num7 = num6; + int num8 = -2142227647; + int num9 = num7; + switch ((num9 | num8) - (num9 & num8)) { - DateTime valueOrDefault = dateTime.GetValueOrDefault(); - return NormalizeExpiry(valueOrDefault); + case 0: + return q.Name; + case 2: + num6 = ((!_questRegistry.TryGetQuestFolderName(q.QuestId, out folderName)) ? (-2142227648) : (-2142227644)); + break; + case 3: + return folderName; + case 1: + num6 = ((!q.JournalGenre.HasValue) ? (-2142227647) : (-2142227643)); + break; + case 6: + return global::_003CModule_003E._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(1279184171); + case 7: + num6 = -2142227641; + break; + case 4: + return GetJournalGenreName(q.JournalGenre.Value); + case 5: + num6 = (_206E_206D_200E_206A_206F_200E_202E_206F_206C_202E_200B_202D_200C_206B_202A_206D_200B_202B_200F_200C_200F_200E_200E_200F_202E_200E_200C_202D_202E_206D_202C_202C_200F_206D_202B_200D_206A_202C_206B_202B_202E(folderName) ? (-2142227648) : (-2142227646)); + break; } - return DateTime.MaxValue; - }).DefaultIfEmpty(DateTime.MaxValue).Min(); - List list = (from q in item - select (q as UnlockLinkQuestInfo)?.Patch into p - where !string.IsNullOrEmpty(p) - select p).Distinct().ToList(); - string patch = ((list.Count == 1) ? list[0] : null); - EventQuest eventQuest = new EventQuest(item.Key, item.Select((IQuestInfo q) => q.QuestId).ToList(), endsAtUtc, patch); - DrawEventQuest(eventQuest); + } + }).GetEnumerator(); + try + { + int num = 1269360380; + List list = default(List); + IGrouping current = default(IGrouping); + DateTime endsAtUtc = default(DateTime); + while (true) + { + int num2 = num; + int num3 = 1269360381; + int num4 = num2; + object obj; + string patch; + EventQuest eventQuest; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1269360380; + break; + case 4: + obj = list[0]; + goto IL_00a7; + case 1: + num = (_202B_206A_202B_206E_202C_206B_200D_202D_200B_202D_206B_202C_202C_200B_206D_200B_200F_202A_202C_200D_206C_202C_200D_200D_206E_206A_206B_206A_200B_206B_206B_200E_202B_202C_206A_206B_200D_200E_202C_200C_202E((IEnumerator)enumerator) ? 1269360383 : 1269360379); + break; + case 2: + current = enumerator.Current; + num = (current.All((IQuestInfo q) => _questFunctions.IsQuestComplete(q.QuestId)) ? 1269360380 : 1269360376); + break; + case 5: + endsAtUtc = current.Select(delegate(IQuestInfo q) + { + DateTime? dateTime = (q as QuestInfo)?.SeasonalQuestExpiry; + int num6 = (dateTime.HasValue ? (-1099291127) : (-1099291121)); + DateTime? dateTime2 = default(DateTime?); + UnlockLinkQuestInfo unlockLinkQuestInfo = default(UnlockLinkQuestInfo); + while (true) + { + int num7 = num6; + int num8 = -1099291124; + int num9 = num7; + int num10 = num9 + num8; + int num11 = num9 & num8; + DateTime? obj2; + switch (num10 - (num11 + num11)) + { + case 1: + { + DateTime valueOrDefault = dateTime2.GetValueOrDefault(); + return NormalizeExpiry(valueOrDefault); + } + case 3: + unlockLinkQuestInfo = q as UnlockLinkQuestInfo; + num6 = ((unlockLinkQuestInfo != null) ? (-1099291126) : (-1099291122)); + break; + case 6: + obj2 = unlockLinkQuestInfo.QuestExpiry; + goto IL_00d6; + case 4: + return DateTime.MaxValue; + case 5: + obj2 = dateTime; + goto IL_00d6; + case 0: + num6 = -1099291121; + break; + case 2: + { + obj2 = null; + goto IL_00d6; + } + IL_00d6: + dateTime2 = obj2; + num6 = ((!dateTime2.HasValue) ? (-1099291128) : (-1099291123)); + break; + } + } + }).DefaultIfEmpty(DateTime.MaxValue).Min(); + list = (from q in current + select (q as UnlockLinkQuestInfo)?.Patch into p + where !_003C_003Ec._206C_206A_200D_206A_206B_200C_200B_202C_202C_202A_202B_200E_206E_202A_200E_202C_202A_202E_200C_202A_200D_206E_202C_200D_202B_202A_200F_206B_206B_206E_202E_200D_202E_200B_200B_200D_200E_202E_200C_200F_202E(p) + select p).Distinct().ToList(); + num = ((list.Count == 1) ? 1269360377 : 1269360381); + break; + case 0: + obj = null; + goto IL_00a7; + case 6: + goto end_IL_0057; + IL_00a7: + patch = (string)obj; + eventQuest = new EventQuest(current.Key, current.Select((IQuestInfo q) => q.QuestId).ToList(), endsAtUtc, patch); + DrawEventQuest(eventQuest); + num = 1269360380; + break; + } + continue; + end_IL_0057: + break; + } } + finally + { + int num = ((enumerator == null) ? (-1205956058) : (-1205956059)); + while (true) + { + int num5 = num; + int num3 = -1205956057; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_0248; + case 2: + _200B_202A_200F_202A_202C_200C_202C_202A_202D_200D_206E_200B_202B_200F_200F_206C_202C_200E_206B_200D_206D_200F_200D_200D_200C_202A_202C_202A_206B_200F_200F_202D_202B_206C_200B_206C_200B_200B_200E_206E_202E((IDisposable)enumerator); + num = -1205956058; + break; + case 0: + num = -1205956059; + break; + } + continue; + end_IL_0248: + break; + } + } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); } + [MethodImpl(MethodImplOptions.NoInlining)] private string GetJournalGenreName(uint journalGenreId) { try { JournalGenre row = _dataManager.GetExcelSheet().GetRow(journalGenreId); - if (!row.Equals(default(JournalGenre))) + int num = (row.Equals(default(JournalGenre)) ? (-948662388) : (-948662385)); + while (true) { - return row.Name.ExtractText(); + int num2 = num; + int num3 = -948662386; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0082; + case 1: + return row.Name.ExtractText(); + case 2: + goto end_IL_0054; + } + continue; + IL_0082: + num = -948662385; + continue; + end_IL_0054: + break; } } - catch (Exception exception) + catch (Exception ex) { - _logger.LogWarning(exception, "Failed to get journal genre name for id {JournalGenreId}", journalGenreId); + _206C_206F_206C_200E_202B_206C_206E_206E_200B_202E_206C_200C_206A_206D_200F_200D_202A_206C_206A_206C_206D_202C_206F_206B_206D_206A_202A_200C_206C_206B_206A_206E_206C_206E_202B_200B_200E_206C_206E_202D_202E((ILogger)_logger, ex, global::_003CModule_003E._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(410054811), new object[1] { journalGenreId }); } - return $"Event {journalGenreId}"; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-788724988)); + defaultInterpolatedStringHandler.AppendFormatted(journalGenreId); + return defaultInterpolatedStringHandler.ToStringAndClear(); } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawEventQuest(EventQuest eventQuest) { string text = eventQuest.Name; - if (!string.IsNullOrEmpty(eventQuest.Patch)) + int num = (_206E_206D_200E_206A_206F_200E_202E_206F_206C_202E_200B_202D_200C_206B_202A_206D_200B_202B_200F_200C_200F_200E_200E_200F_202E_200E_200C_202D_202E_206D_202C_202C_200F_206D_202B_200D_206A_202C_206B_202B_202E(eventQuest.Patch) ? (-1061868039) : (-1061868033)); + string text3 = default(string); + TimeSpan timeSpan = default(TimeSpan); + Questionable.Model.Quest quest = default(Questionable.Model.Quest); + while (true) { - text = text + " [" + eventQuest.Patch + "]"; - } - if (eventQuest.EndsAtUtc != DateTime.MaxValue) - { - TimeSpan timeSpan = eventQuest.EndsAtUtc - DateTime.UtcNow; - if (timeSpan < TimeSpan.Zero) + int num2 = num; + int num3 = -1061868034; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 6: + num = -1061868033; + break; + case 8: + _202C_206C_202A_206C_202A_206F_202A_200B_200C_200F_206B_200C_206F_202C_202A_202B_200B_206B_202C_206E_202D_200F_200B_206F_206B_202B_200B_200C_206E_200D_206E_202B_206B_202E_206B_200C_206B_200B_200B_200E_202E((ImU8String)text3); + num = -1061868034; + break; + case 7: + num = ((!(eventQuest.EndsAtUtc != DateTime.MaxValue)) ? (-1061868035) : (-1061868038)); + break; + case 5: 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); - if (ImGui.IsItemHovered()) + num = -1061868036; + break; + case 1: + text = _200B_200B_206F_200E_200B_206F_200D_202E_202B_202E_200D_202C_206D_202C_202D_200B_200C_202C_206E_206C_202E_202E_206C_202E_200C_200C_206B_200F_200E_206D_206C_200E_206E_200C_206D_206B_200B_206F_206B_202B_202E(text, global::_003CModule_003E._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(-949471360), eventQuest.Patch, global::_003CModule_003E._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(-25878066)); + num = -1061868039; + break; + case 2: { - ImGui.SetTooltip(text2); + string text2 = FormatRemainingDays(timeSpan); + text3 = FormatRemainingFull(timeSpan); + UiThemeUtils.WrappedText(_200B_200B_206F_200E_200B_206F_200D_202E_202B_202E_200D_202C_206D_202C_202D_200B_200C_202C_206E_206C_202E_202E_206C_202E_200C_200C_206B_200F_200E_206D_206C_200E_206E_200C_206D_206B_200B_206F_206B_202B_202E(text, global::_003CModule_003E._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(-1495931675), text2, global::_003CModule_003E._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(444206578))); + num = ((!_206E_202A_202D_200C_200B_202D_206A_200E_200C_200C_200F_200F_200D_206A_206C_200C_202A_202B_202E_206D_206B_200E_206E_202A_200F_206C_200F_202A_200E_206B_206A_206C_202E_200E_200E_206F_202E_200F_202A_200D_202E()) ? (-1061868034) : (-1061868042)); + break; } - } - else - { - ImGui.Text(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) - { - if (_questFunctions.IsQuestComplete(questId)) + case 4: + timeSpan = eventQuest.EndsAtUtc - DateTime.UtcNow; + num = ((!(timeSpan < TimeSpan.Zero)) ? (-1061868036) : (-1061868037)); + break; + case 3: + UiThemeUtils.WrappedText(text); + num = -1061868034; + break; + case 0: { - continue; - } - ImU8String id = new ImU8String(21, 1); - id.AppendLiteral("##EventQuestSelection"); - id.AppendFormatted(questId); - using (ImRaii.PushId(id)) - { - string name = _questData.GetQuestInfo(questId).Name; - if (list.Contains(questId) && _questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest)) + List list = eventQuest.QuestIds.Where(delegate(ElementId x) { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Play)) + int num22 = ((!_questRegistry.IsKnownQuest(x)) ? 517113328 : 517113333); + while (true) { - _questController.SetNextQuest(quest); - _questController.Start("SeasonalEventSelection"); + int num23 = num22; + int num24 = 517113329; + int num25 = num23; + switch ((num25 | num24) - (num25 & num24)) + { + case 1: + return false; + case 0: + num22 = ((!_202A_200E_200B_206C_200C_200C_202A_200D_206B_200F_202E_202E_202E_200D_206F_206D_206D_206B_202C_200D_200D_202C_202D_206A_206F_206F_200C_202E_200E_206D_200F_206A_206E_200B_206C_202A_206C_202A_202D_206B_202E(x, _questController.StartedQuest?.Quest.Id)) ? 517113328 : 517113330); + break; + case 4: + num22 = ((!_questFunctions.IsReadyToAcceptQuest(x)) ? 517113328 : 517113329); + break; + case 2: + num22 = 517113333; + break; + case 3: + return _202A_200E_200B_206C_200C_200C_202A_200D_206B_200F_202E_202E_202E_200D_206F_206D_206D_206B_202C_200D_200D_202C_202D_206A_206F_206F_200C_202E_200E_206D_200F_206A_206E_200B_206C_202A_206C_202A_202D_206B_202E(x, _questController.NextQuest?.Quest.Id); + } } - bool num = ImGui.IsItemHovered(); - ImGui.SameLine(); - ImGui.AlignTextToFramePadding(); - ImGui.Text(name); - if (num | ImGui.IsItemHovered()) - { - _questTooltipComponent.Draw(quest.Info); - } - } - else + }).ToList(); { - ImGui.SetCursorPosX(ImGui.GetCursorPosX()); - (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(questId); - if (_uiUtils.ChecklistItem(name, questStyle.Item1, questStyle.Item2, ImGui.GetStyle().FramePadding.X)) + foreach (ElementId questId in eventQuest.QuestIds) { - _questTooltipComponent.Draw(_questData.GetQuestInfo(questId)); + if (_questFunctions.IsQuestComplete(questId)) + { + continue; + } + ImU8String imU8String = new ImU8String(21, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(2110141082)); + imU8String.AppendFormatted(questId); + ImRaii.IdDisposable idDisposable = _202C_200D_200E_206F_206A_206A_202C_200D_206E_206A_206C_202E_206A_200F_200D_202D_202E_206C_200D_206B_202B_200C_200D_200E_202B_206C_200F_200B_200B_200D_202B_200E_200E_202E_202D_202D_206A_206F_200D_206C_202E(imU8String, true); + try + { + string name = _questData.GetQuestInfo(questId).Name; + if (list.Contains(questId)) + { + num = 580891172; + while (true) + { + int num7 = num; + num3 = 580891175; + num4 = num7; + int num8; + ImRaii.DisabledDisposable disabledDisposable; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0286; + case 7: + num8 = (_attunementController.IsRunning ? 1 : 0); + goto IL_036f; + case 6: + goto IL_02ca; + case 0: + num = 580891172; + break; + case 4: + goto IL_02fe; + case 1: + goto IL_0326; + case 3: + goto IL_034e; + case 5: + { + num8 = 1; + goto IL_036f; + } + IL_036f: + disabledDisposable = _202B_200E_206D_206C_202B_200F_206B_206B_206F_200C_200E_206E_200F_202E_202A_202A_202A_200D_206A_200F_206E_200F_202D_206D_202C_206E_200F_202A_206F_206A_206E_206A_202A_200F_206F_202D_200C_206B_200D_206E_202E((byte)num8 != 0); + try + { + num = ((!_200C_200B_206E_202B_206C_206E_206F_200E_206C_206E_206E_202A_206C_206D_200E_206B_202A_200B_202B_202E_202B_200D_206A_200E_202B_202D_202A_200F_202B_202E_206E_206C_200E_200D_200D_206B_202C_206C_202C_202C_202E(FontAwesomeIcon.Play)) ? (-1437028178) : (-1437028179)); + while (true) + { + int num9 = num; + num3 = -1437028180; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 0: + num = -1437028179; + break; + case 1: + _fateController.Stop(global::_003CModule_003E._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(-1679301458)); + _seasonalDutyController.Stop(global::_003CModule_003E._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(-919026501)); + _customDeliveryController.Stop(global::_003CModule_003E._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(-919026501)); + _attunementController.Stop(global::_003CModule_003E._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(-919026501)); + _questController.SetNextQuest(quest); + _questController.Start(global::_003CModule_003E._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(1512208503)); + num = -1437028178; + break; + case 2: + goto end_IL_039d; + } + continue; + end_IL_039d: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-1918927549) : (-1918927552)); + while (true) + { + int num12 = num; + num3 = -1918927551; + num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 0: + num = -1918927552; + break; + case 2: + goto end_IL_047d; + case 1: + _200B_202A_200F_202A_202C_200C_202C_202A_202D_200D_206E_200B_202B_200F_200F_206C_202C_200E_206B_200D_206D_200F_200D_200D_200C_202A_202C_202A_206B_200F_200F_202D_202B_206C_200B_206C_200B_200B_200E_206E_202E((IDisposable)disabledDisposable); + num = -1918927549; + break; + } + continue; + end_IL_047d: + break; + } + } + goto end_IL_0246; + } + continue; + IL_034e: + if (_questRegistry.TryGetQuest(questId, out quest)) + { + num = 580891173; + continue; + } + goto IL_0555; + IL_02fe: + num = (_fateController.IsRunning ? 580891170 : 580891169); + continue; + IL_0326: + num = (_customDeliveryController.IsRunning ? 580891170 : 580891168); + continue; + IL_02ca: + num = (_seasonalDutyController.IsRunning ? 580891170 : 580891174); + continue; + IL_0286: + num = (_questController.IsRunning ? 580891170 : 580891171); + continue; + end_IL_0246: + break; + } + bool num15 = _206E_202A_202D_200C_200B_202D_206A_200E_200C_200C_200F_200F_200D_206A_206C_200C_202A_202B_202E_206D_206B_200E_206E_202A_200F_206C_200F_202A_200E_206B_206A_206C_202E_200E_200E_206F_202E_200F_202A_200D_202E(); + _200D_200B_200D_200F_202A_202D_206D_206B_206A_202C_202A_206F_200E_200D_206C_202B_206E_202D_202D_206B_206F_200C_206B_200B_200F_200C_206A_202D_200C_200F_200B_206D_206B_206C_206B_200C_200F_200B_206C_202B_202E(); + _200B_200F_206D_200C_206D_200F_200D_206E_206E_206B_206E_202B_200D_200D_200D_200F_206F_200F_206C_200E_206E_202D_200C_202B_200B_206E_206F_200E_200B_200F_200B_206B_206F_206D_200C_206A_200C_206E_206D_202E(); + UiThemeUtils.WrappedText(name); + num = ((!(num15 | _206E_202A_202D_200C_200B_202D_206A_200E_200C_200C_200F_200F_200D_206A_206C_200C_202A_202B_202E_206D_206B_200E_206E_202A_200F_206C_200F_202A_200E_206B_206A_206C_202E_200E_200E_206F_202E_200F_202A_200D_202E())) ? (-1473581929) : (-1473581932)); + goto IL_0504; + } + goto IL_0555; + IL_0504: + while (true) + { + int num16 = num; + num3 = -1473581931; + num4 = num16; + int num17 = num4 + num3; + int num18 = num4 & num3; + switch (num17 - (num18 + num18)) + { + case 0: + goto IL_0532; + case 1: + _questTooltipComponent.Draw(quest.Info); + goto end_IL_0504; + case 2: + goto end_IL_0504; + } + continue; + IL_0532: + num = -1473581932; + continue; + end_IL_0504: + break; + } + goto end_IL_0219; + IL_0555: + _200B_206D_206A_206B_206D_200C_206D_200E_200E_206D_206A_200B_202E_206D_206B_202B_206F_206D_206F_202D_206C_200D_200E_202E_200C_200E_202D_206D_202E_200C_206B_200D_206B_206E_206E_200F_200C_200C_200F_202E(_206E_206E_202C_202C_200F_206D_202C_206D_206E_202E_200F_200E_200D_206E_206E_202C_200E_202B_200B_200D_206F_200C_206A_206B_206C_202A_200B_202D_206E_200C_202E_202E_206B_206B_206A_206F_206E_200F_202A_202E()); + (Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(questId); + if (_uiUtils.ChecklistItem(name, questStyle.Item1, questStyle.Item2, _202D_206E_200C_206E_202B_202E_206A_206A_206C_202C_206E_202E_206C_202A_200E_202C_200D_206C_200D_200B_206A_206D_202E_202C_206D_202C_202B_200F_202D_206C_200F_202A_206F_202E_202A_200D_206F_206A_206C_202E().FramePadding.X)) + { + _questTooltipComponent.Draw(_questData.GetQuestInfo(questId)); + num = -1473581929; + goto IL_0504; + } + end_IL_0219:; + } + finally + { + num = ((idDisposable == null) ? (-1454907752) : (-1454907751)); + while (true) + { + int num19 = num; + num3 = -1454907752; + num4 = num19; + int num20 = num4 + num3; + int num21 = num4 & num3; + switch (num20 - (num21 + num21)) + { + case 2: + num = -1454907751; + break; + case 0: + goto end_IL_05ea; + case 1: + _200B_202A_200F_202A_202C_200C_202C_202A_202D_200D_206E_200B_202B_200F_200F_206C_202C_200E_206B_200D_206D_200F_200D_200D_200C_202A_202C_202A_206B_200F_200F_202D_202B_206C_200B_206C_200B_200B_200E_206E_202E((IDisposable)idDisposable); + num = -1454907752; + break; + } + continue; + end_IL_05ea: + break; + } + } } + return; } } + } } } @@ -212,131 +1360,257 @@ internal sealed class EventInfoComponent return (from q in _cachedActiveSeasonalQuests.Where(delegate(IQuestInfo q) { DateTime? dateTime = (q as QuestInfo)?.SeasonalQuestExpiry; - if (dateTime.HasValue) + int num = ((!dateTime.HasValue) ? (-1628574967) : (-1628574968)); + UnlockLinkQuestInfo unlockLinkQuestInfo = default(UnlockLinkQuestInfo); + while (true) { - DateTime valueOrDefault = dateTime.GetValueOrDefault(); - if (NormalizeExpiry(valueOrDefault) >= DateTime.UtcNow) + int num2 = num; + int num3 = -1628574965; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 6: return true; + case 2: + unlockLinkQuestInfo = q as UnlockLinkQuestInfo; + num = ((unlockLinkQuestInfo == null) ? (-1628574966) : (-1628574962)); + break; + case 0: + { + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + num = ((!(NormalizeExpiry(valueOrDefault) >= DateTime.UtcNow)) ? (-1628574966) : (-1628574963)); + break; + } + case 3: + { + DateTime valueOrDefault2 = dateTime.GetValueOrDefault(); + num = ((!(NormalizeExpiry(valueOrDefault2) >= DateTime.UtcNow)) ? (-1628574967) : (-1628574964)); + break; + } + case 1: + return false; + case 7: + return true; + case 4: + num = -1628574968; + break; + case 5: + dateTime = unlockLinkQuestInfo.QuestExpiry; + num = ((!dateTime.HasValue) ? (-1628574966) : (-1628574965)); + break; } } - return (q is UnlockLinkQuestInfo { QuestExpiry: { } questExpiry } && NormalizeExpiry(questExpiry) >= DateTime.UtcNow) ? true : false; }) select q.QuestId).Where(ShouldShowQuest); } private bool ShouldShowQuest(ElementId elementId) { - if (!_questFunctions.IsQuestComplete(elementId)) + int num = (_questFunctions.IsQuestComplete(elementId) ? 1742950996 : 1742950999); + while (true) { - return !_questFunctions.IsQuestUnobtainable(elementId); + int num2 = num; + int num3 = 1742950998; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return false; + case 1: + return !_questFunctions.IsQuestUnobtainable(elementId); + case 0: + goto IL_005f; + } + continue; + IL_005f: + num = 1742950999; } - return false; } + [IteratorStateMachine(typeof(_003CGetActiveSeasonalQuestsNoCache_003Ed__27))] private IEnumerable GetActiveSeasonalQuestsNoCache() { - IEnumerable allQuestIds = _questRegistry.GetAllQuestIds(); - foreach (ElementId item in allQuestIds) + //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() + return new _003CGetActiveSeasonalQuestsNoCache_003Ed__27(-2) { - if (!_questData.TryGetQuestInfo(item, out IQuestInfo questInfo)) - { - if (!_questRegistry.TryGetQuest(item, out Questionable.Model.Quest quest)) - { - if (_alreadyLoggedActiveSeasonalSkip.Add(item.Value)) - { - _logger.LogDebug("Skipping quest {QuestId}: no QuestInfo", item); - } - continue; - } - questInfo = quest.Info; - } - if (_questFunctions.IsQuestUnobtainable(questInfo.QuestId)) - { - continue; - } - if (questInfo is UnlockLinkQuestInfo { QuestExpiry: var questExpiry }) - { - if (questExpiry.HasValue) - { - DateTime valueOrDefault = questExpiry.GetValueOrDefault(); - DateTime dateTime = NormalizeExpiry(valueOrDefault); - if (dateTime > DateTime.UtcNow) - { - yield return questInfo; - } - else if (_alreadyLoggedActiveSeasonalSkip.Add(questInfo.QuestId.Value)) - { - _logger.LogDebug("Skipping UnlockLink quest {QuestId} '{Name}': expiry {Expiry:o} UTC is not in the future", questInfo.QuestId, questInfo.Name, dateTime); - } - } - else - { - yield return questInfo; - } - } - else - { - if (!(questInfo is QuestInfo { SeasonalQuestExpiry: var seasonalQuestExpiry } questInfo2)) - { - continue; - } - if (seasonalQuestExpiry.HasValue) - { - DateTime valueOrDefault2 = seasonalQuestExpiry.GetValueOrDefault(); - if (NormalizeExpiry(valueOrDefault2) > DateTime.UtcNow) - { - yield return questInfo; - } - } - else if (questInfo2.IsSeasonalQuest && !questInfo2.SeasonalQuestExpiry.HasValue) - { - yield return questInfo; - } - } - } + _003C_003E4__this = this + }; } + [MethodImpl(MethodImplOptions.NoInlining)] private void UpdateCacheIfNeeded() { - if (DateTime.UtcNow - _cachedAtUtc < _cacheDuration) + int num = ((!(DateTime.UtcNow - _cachedAtUtc < _cacheDuration)) ? 1628818511 : 1628818508); + List list = default(List); + while (true) { - return; - } - _cachedActiveSeasonalQuests = GetActiveSeasonalQuestsNoCache().ToList(); - _cachedAtUtc = DateTime.UtcNow; - _logger.LogDebug("Refreshed seasonal quest cache: {Count} active seasonal quests (UTC now {UtcNow:o})", _cachedActiveSeasonalQuests.Count, _cachedAtUtc); - foreach (IGrouping item in _cachedActiveSeasonalQuests.GroupBy(delegate(IQuestInfo q) - { - if (q.QuestId is UnlockLinkId) + int num2 = num; + int num3 = 1628818510; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - return "Limited Unlocks"; - } - if (_questRegistry.TryGetQuestFolderName(q.QuestId, out string folderName) && !string.IsNullOrEmpty(folderName)) + case 0: + goto IL_005e; + case 2: + return; + case 1: { - return folderName; - } - return q.JournalGenre.HasValue ? GetJournalGenreName(q.JournalGenre.Value) : q.Name; - })) - { - item.Select(delegate(IQuestInfo q) - { - DateTime? dateTime = (q as QuestInfo)?.SeasonalQuestExpiry ?? ((q is UnlockLinkQuestInfo unlockLinkQuestInfo) ? unlockLinkQuestInfo.QuestExpiry : ((DateTime?)null)); - if (dateTime.HasValue) + _cachedActiveSeasonalQuests = GetActiveSeasonalQuestsNoCache().ToList(); + _cachedAtUtc = DateTime.UtcNow; + _200E_206A_200F_206E_206A_206E_200C_206A_200F_206A_200F_202C_206B_206E_202A_202A_202A_206D_200C_202A_200D_202A_206D_206B_200C_200D_206E_202E_202C_206D_206D_206B_202D_202B_206E_200F_200B_206B_206E_206B_202E((ILogger)_logger, global::_003CModule_003E._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(-868567027), new object[2] { _cachedActiveSeasonalQuests.Count, _cachedAtUtc }); + IEnumerator> enumerator = _cachedActiveSeasonalQuests.GroupBy([MethodImpl(MethodImplOptions.NoInlining)] (IQuestInfo q) => { - DateTime valueOrDefault = dateTime.GetValueOrDefault(); - return NormalizeExpiry(valueOrDefault); + int num11 = ((!(q.QuestId is UnlockLinkId)) ? (-1816240252) : (-1816240250)); + string folderName = default(string); + while (true) + { + int num12 = num11; + int num13 = -1816240249; + int num14 = num12; + switch ((num14 | num13) - (num14 & num13)) + { + case 4: + return q.Name; + case 7: + num11 = ((!q.JournalGenre.HasValue) ? (-1816240253) : (-1816240254)); + break; + case 0: + num11 = -1816240250; + break; + case 3: + num11 = ((!_questRegistry.TryGetQuestFolderName(q.QuestId, out folderName)) ? (-1816240256) : (-1816240255)); + break; + case 6: + num11 = (_206E_206D_200E_206A_206F_200E_202E_206F_206C_202E_200B_202D_200C_206B_202A_206D_200B_202B_200F_200C_200F_200E_200E_200F_202E_200E_200C_202D_202E_206D_202C_202C_200F_206D_202B_200D_206A_202C_206B_202B_202E(folderName) ? (-1816240256) : (-1816240251)); + break; + case 1: + return global::_003CModule_003E._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(1052996645); + case 5: + return GetJournalGenreName(q.JournalGenre.Value); + case 2: + return folderName; + } + } + }).GetEnumerator(); + try + { + num = -184184745; + while (true) + { + int num5 = num; + num3 = -184184745; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 3: + num = -184184745; + break; + case 0: + num = (_202B_206A_202B_206E_202C_206B_200D_202D_200B_202D_206B_202C_202C_200B_206D_200B_200F_202A_202C_200D_206C_202C_200D_200D_206E_206A_206B_206A_200B_206B_206B_200E_202B_202C_206A_206B_200D_200E_202C_200C_202E((IEnumerator)enumerator) ? (-184184747) : (-184184749)); + break; + case 2: + { + IGrouping current = enumerator.Current; + current.Select(delegate(IQuestInfo q) + { + DateTime? dateTime = (q as QuestInfo)?.SeasonalQuestExpiry; + int num11 = (dateTime.HasValue ? (-968246671) : (-968246666)); + DateTime? dateTime2 = default(DateTime?); + UnlockLinkQuestInfo unlockLinkQuestInfo = default(UnlockLinkQuestInfo); + while (true) + { + int num12 = num11; + int num13 = -968246665; + int num14 = num12; + int num15 = num14 + num13; + int num16 = num14 & num13; + DateTime? obj; + switch (num15 - (num16 + num16)) + { + case 5: + num11 = -968246666; + break; + case 6: + obj = dateTime; + goto IL_0091; + case 2: + return DateTime.MaxValue; + case 4: + { + DateTime valueOrDefault = dateTime2.GetValueOrDefault(); + return NormalizeExpiry(valueOrDefault); + } + case 1: + unlockLinkQuestInfo = q as UnlockLinkQuestInfo; + num11 = ((unlockLinkQuestInfo != null) ? (-968246668) : (-968246665)); + break; + case 3: + obj = unlockLinkQuestInfo.QuestExpiry; + goto IL_0091; + case 0: + { + obj = null; + goto IL_0091; + } + IL_0091: + dateTime2 = obj; + num11 = ((!dateTime2.HasValue) ? (-968246667) : (-968246669)); + break; + } + } + }).DefaultIfEmpty(DateTime.MaxValue).Min(); + list = (from q in current + select (q as UnlockLinkQuestInfo)?.Patch into p + where !_003C_003Ec._206C_206A_200D_206A_206B_200C_200B_202C_202C_202A_202B_200E_206E_202A_200E_202C_202A_202E_200C_202A_200D_206E_202C_200D_202B_202A_200F_206B_206B_206E_202E_200D_202E_200B_200B_200D_200E_202E_200C_200F_202E(p) + select p).Distinct().ToList(); + num = ((list.Count != 1) ? (-184184745) : (-184184746)); + break; + } + case 1: + _ = list[0]; + num = -184184745; + break; + case 4: + return; + } + } + } + finally + { + num = ((enumerator == null) ? 1835390803 : 1835390800); + while (true) + { + int num8 = num; + num3 = 1835390802; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 1: + goto end_IL_0235; + case 2: + _200B_202A_200F_202A_202C_200C_202C_202A_202D_200D_206E_200B_202B_200F_200F_206C_202C_200E_206B_200D_206D_200F_200D_200D_200C_202A_202C_202A_206B_200F_200F_202D_202B_206C_200B_206C_200B_200B_200E_206E_202E((IDisposable)enumerator); + num = 1835390803; + break; + case 0: + num = 1835390800; + break; + } + continue; + end_IL_0235: + break; + } } - return DateTime.MaxValue; - }).DefaultIfEmpty(DateTime.MaxValue).Min(); - List list = (from q in item - select (q as UnlockLinkQuestInfo)?.Patch into p - where !string.IsNullOrEmpty(p) - select p).Distinct().ToList(); - if (list.Count == 1) - { - _ = list[0]; } + } + continue; + IL_005e: + num = 1628818508; } } @@ -348,53 +1622,209 @@ 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); } + [MethodImpl(MethodImplOptions.NoInlining)] internal static string FormatRemainingDays(TimeSpan remaining) { - int num = (int)Math.Ceiling(Math.Max(0.0, remaining.TotalSeconds)); + int num = (int)_202D_200C_206F_202D_206E_206A_202E_202D_200C_206C_206A_206B_206F_206F_206C_200B_202E_200B_206F_206F_200F_202C_200E_200D_206C_200F_202B_200B_200B_202B_206E_202B_202B_202C_202A_200D_200F_206E_200E_206B_202E(_200B_206D_206D_206D_202D_200D_200E_206F_206C_200C_200F_206F_200D_206F_200D_202B_206C_202C_200D_206A_202C_202D_202D_206E_206E_202A_200F_200C_200F_200C_202E_202E_206D_200F_206F_202E_206E_206E_206A_206A_202E(0.0, remaining.TotalSeconds)); int num2 = num / 86400; - if (num2 >= 1) + int num3 = ((num2 < 1) ? (-778997214) : (-778997213)); + while (true) { - if (num2 != 1) + int num4 = num3; + int num5 = -778997214; + int num6 = num4; + switch ((num6 | num5) - (num6 & num5)) { - return $"{num2} days"; + case 2: + num3 = -778997213; + break; + case 1: + num3 = ((num2 == 1) ? (-778997210) : (-778997215)); + break; + case 4: + return global::_003CModule_003E._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(807779745); + case 0: + { + int value = num % 86400 / 3600; + int value2 = num % 3600 / 60; + int value3 = num % 60; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(2, 3); + defaultInterpolatedStringHandler2.AppendFormatted(value, global::_003CModule_003E._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(1462241587)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-332393296)); + defaultInterpolatedStringHandler2.AppendFormatted(value2, global::_003CModule_003E._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(1462241587)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1360606241)); + defaultInterpolatedStringHandler2.AppendFormatted(value3, global::_003CModule_003E._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(1194352829)); + return defaultInterpolatedStringHandler2.ToStringAndClear(); + } + case 3: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler.AppendFormatted(num2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-604625296)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } } - return "1 day"; } - int value = num % 86400 / 3600; - int value2 = num % 3600 / 60; - int value3 = num % 60; - return $"{value:D2}:{value2:D2}:{value3:D2}"; } + [MethodImpl(MethodImplOptions.NoInlining)] internal static string FormatRemainingFull(TimeSpan remaining) { - int num = (int)Math.Ceiling(Math.Max(0.0, remaining.TotalSeconds)); + int num = (int)_202D_200C_206F_202D_206E_206A_202E_202D_200C_206C_206A_206B_206F_206F_206C_200B_202E_200B_206F_206F_200F_202C_200E_200D_206C_200F_202B_200B_200B_202B_206E_202B_202B_202C_202A_200D_200F_206E_200E_206B_202E(_200B_206D_206D_206D_202D_200D_200E_206F_206C_200C_200F_206F_200D_206F_200D_202B_206C_202C_200D_206A_202C_202D_202D_206E_206E_202A_200F_200C_200F_200C_202E_202E_206D_200F_206F_202E_206E_206E_206A_206A_202E(0.0, remaining.TotalSeconds)); int num2 = num / 86400; int value = num % 86400 / 3600; int value2 = num % 3600 / 60; int value3 = num % 60; - if (num2 < 1) + int num3 = ((num2 < 1) ? 1138194550 : 1138194549); + while (true) { - return $"Ends in {value:D2}d {value2:D2}m {value3:D2}s"; + int num4 = num3; + int num5 = 1138194548; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 0: + goto IL_008d; + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(13, 3); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1458961767)); + defaultInterpolatedStringHandler2.AppendFormatted(value, global::_003CModule_003E._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(1194352829)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-192724514)); + defaultInterpolatedStringHandler2.AppendFormatted(value2, global::_003CModule_003E._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(1194352829)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1016237535)); + defaultInterpolatedStringHandler2.AppendFormatted(value3, global::_003CModule_003E._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(1194352829)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-2118666922)); + return defaultInterpolatedStringHandler2.ToStringAndClear(); + } + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 4); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(591199998)); + defaultInterpolatedStringHandler.AppendFormatted(num2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1327832800)); + defaultInterpolatedStringHandler.AppendFormatted(value, global::_003CModule_003E._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(1462241587)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2144237027)); + defaultInterpolatedStringHandler.AppendFormatted(value2, global::_003CModule_003E._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(-1968563628)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1560597113)); + defaultInterpolatedStringHandler.AppendFormatted(value3, global::_003CModule_003E._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(1462241587)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-838706236)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + } + continue; + IL_008d: + num3 = 1138194549; } - return $"Ends in {num2}d {value:D2}h {value2:D2}m {value3:D2}s"; + } + + static ArgumentNullException _202A_206F_200B_202A_206A_206E_200F_202C_206E_206E_202B_200D_200E_200D_200F_202E_202D_206D_200D_206A_200F_200E_206D_200B_200C_200E_206E_206B_200F_206A_206C_202A_200C_206E_206F_200E_206C_202E_202D_206D_202E(string P_0) + { + return new ArgumentNullException(P_0); + } + + static bool _202B_206A_202B_206E_202C_206B_200D_202D_200B_202D_206B_202C_202C_200B_206D_200B_200F_202A_202C_200D_206C_202C_200D_200D_206E_206A_206B_206A_200B_206B_206B_200E_202B_202C_206A_206B_200D_200E_202C_200C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200B_202A_200F_202A_202C_200C_202C_202A_202D_200D_206E_200B_202B_200F_200F_206C_202C_200E_206B_200D_206D_200F_200D_200D_200C_202A_202C_202A_206B_200F_200F_202D_202B_206C_200B_206C_200B_200B_200E_206E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _206C_206F_206C_200E_202B_206C_206E_206E_200B_202E_206C_200C_206A_206D_200F_200D_202A_206C_206A_206C_206D_202C_206F_206B_206D_206A_202A_200C_206C_206B_206A_206E_206C_206E_202B_200B_200E_206C_206E_202D_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static bool _206E_206D_200E_206A_206F_200E_202E_206F_206C_202E_200B_202D_200C_206B_202A_206D_200B_202B_200F_200C_200F_200E_200E_200F_202E_200E_200C_202D_202E_206D_202C_202C_200F_206D_202B_200D_206A_202C_206B_202B_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string _200B_200B_206F_200E_200B_206F_200D_202E_202B_202E_200D_202C_206D_202C_202D_200B_200C_202C_206E_206C_202E_202E_206C_202E_200C_200C_206B_200F_200E_206D_206C_200E_206E_200C_206D_206B_200B_206F_206B_202B_202E(string P_0, string P_1, string P_2, string P_3) + { + return P_0 + P_1 + P_2 + P_3; + } + + static bool _206E_202A_202D_200C_200B_202D_206A_200E_200C_200C_200F_200F_200D_206A_206C_200C_202A_202B_202E_206D_206B_200E_206E_202A_200F_206C_200F_202A_200E_206B_206A_206C_202E_200E_200E_206F_202E_200F_202A_200D_202E() + { + return ImGui.IsItemHovered(); + } + + static void _202C_206C_202A_206C_202A_206F_202A_200B_200C_200F_206B_200C_206F_202C_202A_202B_200B_206B_202C_206E_202D_200F_200B_206F_206B_202B_200B_200C_206E_200D_206E_202B_206B_202E_206B_200C_206B_200B_200B_200E_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static ImRaii.IdDisposable _202C_200D_200E_206F_206A_206A_202C_200D_206E_206A_206C_202E_206A_200F_200D_202D_202E_206C_200D_206B_202B_200C_200D_200E_202B_206C_200F_200B_200B_200D_202B_200E_200E_202E_202D_202D_206A_206F_200D_206C_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static ImRaii.DisabledDisposable _202B_200E_206D_206C_202B_200F_206B_206B_206F_200C_200E_206E_200F_202E_202A_202A_202A_200D_206A_200F_206E_200F_202D_206D_202C_206E_200F_202A_206F_206A_206E_206A_202A_200F_206F_202D_200C_206B_200D_206E_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static bool _200C_200B_206E_202B_206C_206E_206F_200E_206C_206E_206E_202A_206C_206D_200E_206B_202A_200B_202B_202E_202B_200D_206A_200E_202B_202D_202A_200F_202B_202E_206E_206C_200E_200D_200D_206B_202C_206C_202C_202C_202E(FontAwesomeIcon P_0) + { + return ImGuiComponents.IconButton(P_0); + } + + static void _200D_200B_200D_200F_202A_202D_206D_206B_206A_202C_202A_206F_200E_200D_206C_202B_206E_202D_202D_206B_206F_200C_206B_200B_200F_200C_206A_202D_200C_200F_200B_206D_206B_206C_206B_200C_200F_200B_206C_202B_202E() + { + ImGui.SameLine(); + } + + static void _200B_200F_206D_200C_206D_200F_200D_206E_206E_206B_206E_202B_200D_200D_200D_200F_206F_200F_206C_200E_206E_202D_200C_202B_200B_206E_206F_200E_200B_200F_200B_206B_206F_206D_200C_206A_200C_206E_206D_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static float _206E_206E_202C_202C_200F_206D_202C_206D_206E_202E_200F_200E_200D_206E_206E_202C_200E_202B_200B_200D_206F_200C_206A_206B_206C_202A_200B_202D_206E_200C_202E_202E_206B_206B_206A_206F_206E_200F_202A_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _200B_206D_206A_206B_206D_200C_206D_200E_200E_206D_206A_200B_202E_206D_206B_202B_206F_206D_206F_202D_206C_200D_200E_202E_200C_200E_202D_206D_202E_200C_206B_200D_206B_206E_206E_200F_200C_200C_200F_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static ImGuiStylePtr _202D_206E_200C_206E_202B_202E_206A_206A_206C_202C_206E_202E_206C_202A_200E_202C_200D_206C_200D_200B_206A_206D_202E_202C_206D_202C_202B_200F_202D_206C_200F_202A_206F_202E_202A_200D_206F_206A_206C_202E() + { + return ImGui.GetStyle(); + } + + static void _200E_206A_200F_206E_206A_206E_200C_206A_200F_206A_200F_202C_206B_206E_202A_202A_202A_206D_200C_202A_200D_202A_206D_206B_200C_200D_206E_202E_202C_206D_206D_206B_202D_202B_206E_200F_200B_206B_206E_206B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static double _200B_206D_206D_206D_202D_200D_200E_206F_206C_200C_200F_206F_200D_206F_200D_202B_206C_202C_200D_206A_202C_202D_202D_206E_206E_202A_200F_200C_200F_200C_202E_202E_206D_200F_206F_202E_206E_206E_206A_206A_202E(double P_0, double P_1) + { + return Math.Max(P_0, P_1); + } + + static double _202D_200C_206F_202D_206E_206A_202E_202D_200C_206C_206A_206B_206F_206F_206C_200B_202E_200B_206F_206F_200F_202C_200E_200D_206C_200F_202B_200B_200B_202B_206E_202B_202B_202C_202A_200D_200F_206E_200E_206B_202E(double P_0) + { + return Math.Ceiling(P_0); + } + + static bool _202A_200E_200B_206C_200C_200C_202A_200D_206B_200F_202E_202E_202E_200D_206F_206D_206D_206B_202C_200D_200D_202C_202D_206A_206F_206F_200C_202E_200E_206D_200F_206A_206E_200B_206C_202A_206C_202A_202D_206B_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; } } diff --git a/Questionable/Questionable.Windows.QuestComponents/GameSequenceChainComponent.cs b/Questionable/Questionable.Windows.QuestComponents/GameSequenceChainComponent.cs new file mode 100644 index 00000000..1c96b271 --- /dev/null +++ b/Questionable/Questionable.Windows.QuestComponents/GameSequenceChainComponent.cs @@ -0,0 +1,171 @@ +using System.Collections.Generic; +using System.Globalization; +using System.Numerics; +using System.Runtime.CompilerServices; +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) + { + List value; + int num = (_cache.TryGetValue(_202B_202A_202D_206F_200D_206D_200C_200D_200E_202E_206E_206F_200B_206F_206A_206A_206D_202B_206D_206D_200F_200C_206B_206F_206C_206B_202A_202A_206E_206D_206B_206E_202A_206D_202C_206A_206D_202A_206D_202C_202E((ElementId)questId), out value) ? (-354892396) : (-354892395)); + while (true) + { + int num2 = num; + int num3 = -354892396; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return value; + case 1: + value = GameQuestSequences.GetCompletionSequences(_dataManager, questId); + _cache[_202B_202A_202D_206F_200D_206D_200C_200D_200E_202E_206E_206F_200B_206F_206A_206A_206D_202B_206D_206D_200F_200C_206B_206F_206C_206B_202A_202A_206E_206D_206B_206E_202A_206D_202C_206A_206D_202A_206D_202C_202E((ElementId)questId)] = value; + num = -354892396; + break; + case 2: + num = -354892395; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Draw(QuestId questId, byte currentSequence) + { + List sequences = GetSequences(questId); + int num = ((sequences.Count != 0) ? 702696098 : 702696101); + int num7 = default(int); + int num5 = default(int); + int num6 = default(int); + while (true) + { + int num2 = num; + int num3 = 702696110; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + { + ImU8String imU8String2 = new ImU8String(3, 2); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1824588032)); + int num8 = num7; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + imU8String2.AppendFormatted(num9 + (num10 + num10)); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1605560946)); + imU8String2.AppendFormatted(sequences.Count); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1618480346)); + _202C_202D_202C_200B_202B_206B_200B_200D_200D_200F_200C_200F_200B_200E_200E_200C_202A_206E_206F_200D_202B_202D_206D_202B_206C_206A_200E_202A_202B_200F_206A_206D_202C_206E_202A_202E_202E_202E_202A_202E(ref UiThemeUtils.MutedTextColor, imU8String2); + return; + } + case 1: + _202C_202D_202C_200B_202B_206B_200B_200D_200D_200F_200C_200F_200B_200E_200E_200C_202A_206E_206F_200D_202B_202D_206D_202B_206C_206A_200E_202A_202B_200F_206A_206D_202C_206E_202A_202E_202E_202E_202A_202E(ref UiThemeUtils.StatusComplete, (ImU8String)global::_003CModule_003E._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(-544992352)); + return; + case 7: + num5 = sequences[num6]; + num = ((num5 != currentSequence) ? 702696096 : 702696107); + break; + case 8: + { + ImU8String imU8String3 = new ImU8String(19, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-900994738)); + imU8String3.AppendFormatted(currentSequence); + imU8String3.AppendLiteral(global::_003CModule_003E._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(1286214387)); + _202C_202D_202C_200B_202B_206B_200B_200D_200D_200F_200C_200F_200B_200E_200E_200C_202A_206E_206F_200D_202B_202D_206D_202B_206C_206A_200E_202A_202B_200F_206A_206D_202C_206E_202A_202E_202E_202E_202A_202E(ref UiThemeUtils.StatusUnobtainable, imU8String3); + return; + } + case 6: + { + int num11 = num6; + num3 = 1; + num4 = num11; + num6 = (num4 | num3) + (num4 & num3); + num = 702696110; + break; + } + case 4: + num = 702696101; + break; + case 10: + num = ((num6 <= 0) ? 702696105 : 702696099); + break; + case 9: + num7 = sequences.IndexOf(currentSequence); + _202B_200E_200D_206E_202B_206A_200E_206C_200E_200F_206B_206A_206F_206A_200D_200D_206C_202A_202D_200C_206C_200B_206E_202E_200F_200C_206E_200D_202C_200B_206B_202D_206F_200B_206B_200D_200D_200D_202B_206F_202E(0f, 8f); + num = ((currentSequence != byte.MaxValue) ? 702696108 : 702696111); + break; + case 0: + num = ((num6 < sequences.Count) ? 702696100 : 702696103); + break; + case 14: + _202C_202D_202C_200B_202B_206B_200B_200D_200D_200F_200C_200F_200B_200E_200E_200C_202A_206E_206F_200D_202B_202D_206D_202B_206C_206A_200E_202A_202B_200F_206A_206D_202C_206E_202A_202E_202E_202E_202A_202E(ref UiThemeUtils.DimTextColor, (ImU8String)num5.ToString(_202C_200F_200B_202D_206A_202C_202C_200E_206C_202B_206D_200D_200D_200B_206D_206A_206D_202B_206E_200E_200F_206C_202E_202A_206B_202C_202E_200F_206A_206D_200E_200F_202E_206B_202A_200C_206D_206D_202E())); + num = 702696104; + break; + case 2: + num = ((num7 < 0) ? 702696102 : 702696109); + break; + case 11: + _202C_202D_202C_200B_202B_206B_200B_200D_200D_200F_200C_200F_200B_200E_200E_200C_202A_206E_206F_200D_202B_202D_206D_202B_206C_206A_200E_202A_202B_200F_206A_206D_202C_206E_202A_202E_202E_202E_202A_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(-361933865)); + return; + case 12: + num6 = 0; + num = 702696110; + break; + case 5: + { + ImU8String imU8String = new ImU8String(2, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1463938997)); + imU8String.AppendFormatted(num5); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1991522223)); + _202C_202D_202C_200B_202B_206B_200B_200D_200D_200F_200C_200F_200B_200E_200E_200C_202A_206E_206F_200D_202B_202D_206D_202B_206C_206A_200E_202A_202B_200F_206A_206D_202C_206E_202A_202E_202E_202E_202A_202E(ref UiThemeUtils.StatusActive, imU8String); + num = 702696104; + break; + } + case 13: + _202B_200E_200D_206E_202B_206A_200E_206C_200E_200F_206B_206A_206F_206A_200D_200D_206C_202A_202D_200C_206C_200B_206E_202E_200F_200C_206E_200D_202C_200B_206B_202D_206F_200B_206B_200D_200D_200D_202B_206F_202E(0f, 4f); + _202C_202D_202C_200B_202B_206B_200B_200D_200D_200F_200C_200F_200B_200E_200E_200C_202A_206E_206F_200D_202B_202D_206D_202B_206C_206A_200E_202A_202B_200F_206A_206D_202C_206E_202A_202E_202E_202E_202A_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(1068992984)); + _202B_200E_200D_206E_202B_206A_200E_206C_200E_200F_206B_206A_206F_206A_200D_200D_206C_202A_202D_200C_206C_200B_206E_202E_200F_200C_206E_200D_202C_200B_206B_202D_206F_200B_206B_200D_200D_200D_202B_206F_202E(0f, 4f); + num = 702696105; + break; + } + } + } + + static ushort _202B_202A_202D_206F_200D_206D_200C_200D_200E_202E_206E_206F_200B_206F_206A_206A_206D_202B_206D_206D_200F_200C_206B_206F_206C_206B_202A_202A_206E_206D_206B_206E_202A_206D_202C_206A_206D_202A_206D_202C_202E(ElementId P_0) + { + return P_0.Value; + } + + static void _202C_202D_202C_200B_202B_206B_200B_200D_200D_200F_200C_200F_200B_200E_200E_200C_202A_206E_206F_200D_202B_202D_206D_202B_206C_206A_200E_202A_202B_200F_206A_206D_202C_206E_202A_202E_202E_202E_202A_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _202B_200E_200D_206E_202B_206A_200E_206C_200E_200F_206B_206A_206F_206A_200D_200D_206C_202A_202D_200C_206C_200B_206E_202E_200F_200C_206E_200D_202C_200B_206B_202D_206F_200B_206B_200D_200D_200D_202B_206F_202E(float P_0, float P_1) + { + ImGui.SameLine(P_0, P_1); + } + + static CultureInfo _202C_200F_200B_202D_206A_202C_202C_200E_206C_202B_206D_200D_200D_200B_206D_206A_206D_202B_206E_200E_200F_206C_202E_202A_206B_202C_202E_200F_206A_206D_200E_200F_202E_206B_202A_200C_206D_206D_202E() + { + return CultureInfo.InvariantCulture; + } +} diff --git a/Questionable/Questionable.Windows.QuestComponents/ManualPriorityComponent.cs b/Questionable/Questionable.Windows.QuestComponents/ManualPriorityComponent.cs index efbab63c..328b70c1 100644 --- a/Questionable/Questionable.Windows.QuestComponents/ManualPriorityComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/ManualPriorityComponent.cs @@ -2,13 +2,12 @@ using System; using System.Collections.Generic; 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 Questionable.Controller; using Questionable.Functions; @@ -20,6 +19,59 @@ namespace Questionable.Windows.QuestComponents; internal sealed class ManualPriorityComponent { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Predicate<(Vector2 TopLeft, Vector2 BottomRight)> _003C_003E9__14_1; + + public static Func _003C_003E9__15_0; + + internal bool _003CDrawQuestList_003Eb__14_1((Vector2 TopLeft, Vector2 BottomRight) x) + { + return _202C_200E_202C_202D_202C_200F_200B_202E_202C_202B_206D_202A_206F_202A_206B_200F_200C_202B_206D_200C_200C_206E_206D_202E_206B_200D_206F_202C_200E_202E_202A_202A_200B_206C_206F_206D_200C_202E_206A_202B_202E(x.TopLeft, x.BottomRight, true); + } + + internal string _003CEncodeQuestPriority_003Eb__15_0(Quest x) + { + return _200D_206B_200B_206A_202C_200B_200E_206A_200E_200B_200E_206E_206A_200C_202D_200D_206B_206C_202E_206E_200B_206A_200F_200F_206B_200B_206F_202C_202D_206B_202C_200C_200D_202E_200C_202D_200D_206E_202B_206F_202E((object)x.Id); + } + + static bool _202C_200E_202C_202D_202C_200F_200B_202E_202C_202B_206D_202A_206F_202A_206B_200F_200C_202B_206D_200C_200C_206E_206D_202E_206B_200D_206F_202C_200E_202E_202A_202A_200B_206C_206F_206D_200C_202E_206A_202B_202E(Vector2 P_0, Vector2 P_1, bool P_2) + { + return ImGui.IsMouseHoveringRect(P_0, P_1, P_2); + } + + static string _200D_206B_200B_206A_202C_200B_200E_206A_200E_200B_200E_206E_206A_200C_202D_200D_206B_206C_202E_206E_200B_206A_200F_200F_206B_200B_206F_202C_202D_206B_202C_200C_200D_202E_200C_202D_200D_206E_202B_206F_202E(object P_0) + { + return P_0.ToString(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass11_1 + { + public Quest quest; + + internal bool _003C_002Ector_003Eb__3(Quest x) + { + return _206F_206E_200B_200C_200D_202E_202D_200F_206D_202D_202D_202C_206B_206A_206C_202D_202C_200D_200B_200D_200B_206F_200D_202B_206A_206B_206B_206B_206A_206C_200F_202B_202B_200E_206D_200E_200B_200B_206E_206F_202E(x.Id, quest.Id); + } + + static bool _206F_206E_200B_200C_200D_202E_202D_200F_206D_202D_202D_202C_206B_206A_206C_202D_202C_200D_200B_200D_200B_206F_200D_202B_206A_206B_206B_206B_206A_206C_200F_202B_202B_200E_206D_200E_200B_200B_206E_206F_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + } + + 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,25 +80,47 @@ 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.SuggestionPredicate = delegate(Quest quest) + { + int num = (quest.Info.IsMainScenarioQuest ? (-1325154727) : (-1325154728)); + while (true) + { + int num2 = num; + int num3 = -1325154726; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return questController.ManualPriorityQuests.All((Quest x) => _003C_003Ec__DisplayClass11_1._206F_206E_200B_200C_200D_202E_202D_200F_206D_202D_202D_202C_206B_206A_206C_202D_202C_200D_200B_200D_200B_206F_200D_202B_206A_206B_206B_206B_206A_206C_200F_202B_202B_200E_206D_200E_200B_200B_206E_206F_202E(x.Id, quest.Id)); + case 3: + return false; + case 0: + num = -1325154728; + break; + case 2: + num = (questFunctions.IsQuestUnobtainable(quest.Id) ? (-1325154727) : (-1325154725)); + break; + } + } + }; _questSelector.DefaultPredicate = (Quest quest) => questFunctions.IsQuestAccepted(quest.Id); _questSelector.QuestSelected = delegate(Quest quest) { @@ -55,192 +129,1270 @@ internal sealed class ManualPriorityComponent }; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Draw() { - 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.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:"); + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + _200B_200C_202E_202D_206F_206A_200D_202B_202C_206B_202A_202C_206F_202C_200E_206B_200E_200E_202E_202B_202B_202D_206E_206C_206A_202B_202B_202B_202E_202D_200E_206F_206D_206E_200F_206F_202A_200E_206D_200F_202E((ImU8String)global::_003CModule_003E._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(-1339117543)); + _206C_206A_202B_200F_200B_200F_200C_206D_206A_206A_200F_202B_200B_202A_200B_202C_202B_200C_202A_206B_206E_202D_202B_200C_200B_200D_202D_206F_200D_202A_200F_202C_200B_200B_206D_206C_200D_206D_206A_202E(); + _200E_206B_202C_206D_206B_206E_200B_202B_200D_200B_206F_200B_200D_200C_202D_200C_206C_206F_200F_202B_206B_202A_200E_202E_200B_202C_200C_206E_200B_206A_202B_206F_206D_202A_206B_206E_206F_206E_206C_202A_202E(); + UiThemeUtils.WrappedText(global::_003CModule_003E._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(-49374953)); + _206C_206A_202B_200F_200B_200F_200C_206D_206A_206A_200F_202B_200B_202A_200B_202C_202B_200C_202A_206B_206E_202D_202B_200C_200B_200D_202D_206F_200D_202A_200F_202C_200B_200B_206D_206C_200D_206D_206A_202E(); + _200E_206B_202C_206D_206B_206E_200B_202B_200D_200B_206F_200B_200D_200C_202D_200C_206C_206F_200F_202B_206B_202A_200E_202E_200B_202C_200C_206E_200B_206A_202B_206F_206D_202A_206B_206E_206F_206E_206C_202A_202E(); + UiThemeUtils.WrappedText(global::_003CModule_003E._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(2138233810)); + _206C_206A_202B_200F_200B_200F_200C_206D_206A_206A_200F_202B_200B_202A_200B_202C_202B_200C_202A_206B_206E_202D_202B_200C_200B_200D_202D_206F_200D_202A_200F_202C_200B_200B_206D_206C_200D_206D_206A_202E(); + _200E_206B_202C_206D_206B_206E_200B_202B_200D_200B_206F_200B_200D_200C_202D_200C_206C_206F_200F_202B_206B_202A_200E_202E_200B_202C_200C_206E_200B_206A_202B_206F_206D_202A_206B_206E_206F_206E_206C_202A_202E(); + UiThemeUtils.WrappedText(global::_003CModule_003E._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(81820412)); + _200B_200C_202E_202D_206F_206A_200D_202B_202C_206B_202A_202C_206F_202C_200E_206B_200E_200E_202E_202B_202B_202D_206E_206C_206A_202B_202B_202B_202E_202D_200E_206F_206D_206E_200F_206F_202A_200E_206D_200F_202E((ImU8String)global::_003CModule_003E._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(1331511633)); + _206F_206B_200B_202C_200C_200D_206B_206A_200C_200C_200B_206C_206B_202D_200B_206D_202B_200B_206C_200F_202E_200F_202B_206E_202B_206C_200B_202B_200E_200D_206E_206D_202E_200F_200C_200D_200B_202C_206C_202D_202E(); + _200C_202C_206E_200F_200E_202E_200D_202D_206C_200F_206A_206C_206D_206D_202C_200D_200E_206A_202E_202A_206E_206A_206B_206E_206E_200C_200C_202C_206C_202D_202C_206C_202A_206A_206A_206E_202B_202D_206E_200D_202E((ImU8String)global::_003CModule_003E._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(-1503029597)); _questSelector.DrawSelection(); - ImGui.Spacing(); - if (_questController.ManualPriorityQuests.Count > 0) + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + UiThemeUtils.SectionSpacing(); + int num = ((_questController.ManualPriorityQuests.Count <= 0) ? 1307733761 : 1307733762); + while (true) { - ImGui.Text("Priority queue (drag arrow buttons to reorder):"); - } - using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("ManualPriorityList", new Vector2(-1f, -27f), border: true)) - { - if ((bool)childDisposable) + int num2 = num; + int num3 = 1307733760; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - DrawQuestList(); - } - } - List list = ParseClipboardItems(); - using (ImRaii.Disabled(list.Count == 0)) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Download, "Import from Clipboard")) + case 0: + num = 1307733762; + break; + case 2: + UiThemeUtils.WrappedText(global::_003CModule_003E._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(1498796953)); + num = 1307733761; + break; + case 1: { - ImportFromClipboard(list); - } - } - ImGui.SameLine(); - using (ImRaii.Disabled(_questController.ManualPriorityQuests.Count == 0)) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Upload, "Export to Clipboard")) - { - ExportToClipboard(); - } - ImGui.SameLine(); - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Check, "Remove finished Quests") && _questController.ManualPriorityQuests.RemoveAll((Quest q) => _questFunctions.IsQuestComplete(q.Id)) > 0) - { - _questController.SavePriorityQuests(); - } - ImGui.SameLine(); - using (ImRaii.Disabled(!ImGui.IsKeyDown(ImGuiKey.ModCtrl))) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Trash, "Clear All")) + using (ImRaii.ChildDisposable childDisposable = _202B_202A_200D_200B_206C_200F_202C_206F_202B_200D_202A_206D_200D_200D_206F_200F_206E_200F_202B_206B_200E_206D_200F_202B_206C_202E_202C_200F_202E_200C_200E_206B_202B_200B_200F_206B_200F_206A_206C_200E_202E((ImU8String)global::_003CModule_003E._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(-2046810542), new Vector2(-1f, -27f), true)) { - _questController.ClearQuestPriority(); + num = ((!(bool)childDisposable) ? 1900023188 : 1900023191); + while (true) + { + int num5 = num; + num3 = 1900023190; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = 1900023191; + break; + case 1: + DrawQuestList(); + num = 1900023188; + break; + case 2: + goto end_IL_018d; + } + continue; + end_IL_018d: + break; + } } + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard(); + Vector2 item = tuple2.ContentStartPos; + float item2 = tuple2.AvailableWidth; + ImDrawListPtr item3 = tuple2.DrawList; + List list = ParseClipboardItems(); + ImRaii.DisabledDisposable disabledDisposable = _200E_206F_200B_206B_202E_206D_206B_202D_200D_206D_206A_202C_206E_202E_202E_206B_200C_206E_206A_200E_206F_200F_206C_206A_206A_206B_202C_202A_206E_206F_206B_202A_200B_206F_206D_206F_202E_206F_200E_202C_202E(list.Count == 0); + try + { + num = ((!_206A_206E_206F_202D_206A_200B_206A_202A_200F_200B_202E_206D_206E_206C_206F_206A_206C_202E_206F_206D_202C_206E_206D_200E_206A_206E_202D_206E_202D_202D_200E_206D_206B_200C_202A_200C_202C_206B_206E_202D_202E(FontAwesomeIcon.Download, global::_003CModule_003E._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(2037990506), (Vector4?)null, (Vector4?)null, (Vector4?)null, (Vector2?)null)) ? (-2137916426) : (-2137916425)); + while (true) + { + int num8 = num; + num3 = -2137916426; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = -2137916425; + break; + case 1: + ImportFromClipboard(list); + num = -2137916426; + break; + case 0: + goto end_IL_0273; + } + continue; + end_IL_0273: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? 360587248 : 360587251); + while (true) + { + int num11 = num; + num3 = 360587249; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 0: + num = 360587251; + break; + case 1: + goto end_IL_02e5; + case 2: + _206E_206C_206D_200B_202C_206C_206D_206C_200B_206B_202D_202C_202D_202B_202A_200E_202A_202B_202C_202A_202A_200E_202E_200C_200C_206C_200F_200C_202B_200E_202C_202C_206E_200C_202D_200B_200D_206A_206D_206D_202E((IDisposable)disabledDisposable); + num = 360587248; + break; + } + continue; + end_IL_02e5: + break; + } + } + _200E_206B_202C_206D_206B_206E_200B_202B_200D_200B_206F_200B_200D_200C_202D_200C_206C_206F_200F_202B_206B_202A_200E_202E_200B_202C_200C_206E_200B_206A_202B_206F_206D_202A_206B_206E_206F_206E_206C_202A_202E(); + disabledDisposable = _200E_206F_200B_206B_202E_206D_206B_202D_200D_206D_206A_202C_206E_202E_202E_206B_200C_206E_206A_200E_206F_200F_206C_206A_206A_206B_202C_202A_206E_206F_206B_202A_200B_206F_206D_206F_202E_206F_200E_202C_202E(_questController.ManualPriorityQuests.Count == 0); + try + { + num = ((!_206A_206E_206F_202D_206A_200B_206A_202A_200F_200B_202E_206D_206E_206C_206F_206A_206C_202E_206F_206D_202C_206E_206D_200E_206A_206E_202D_206E_202D_202D_200E_206D_206B_200C_202A_200C_202C_206B_206E_202D_202E(FontAwesomeIcon.Upload, global::_003CModule_003E._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(245855616), (Vector4?)null, (Vector4?)null, (Vector4?)null, (Vector2?)null)) ? 733316058 : 733316060); + while (true) + { + int num14 = num; + num3 = 733316057; + num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 733316060; + break; + case 4: + _questController.SavePriorityQuests(); + num = 733316056; + break; + case 2: + num = ((_questController.ManualPriorityQuests.RemoveAll((Quest q) => _questFunctions.IsQuestComplete(q.Id)) <= 0) ? 733316056 : 733316061); + break; + case 5: + ExportToClipboard(); + num = 733316058; + break; + case 3: + _200E_206B_202C_206D_206B_206E_200B_202B_200D_200B_206F_200B_200D_200C_202D_200C_206C_206F_200F_202B_206B_202A_200E_202E_200B_202C_200C_206E_200B_206A_202B_206F_206D_202A_206B_206E_206F_206E_206C_202A_202E(); + num = ((!_206A_206E_206F_202D_206A_200B_206A_202A_200F_200B_202E_206D_206E_206C_206F_206A_206C_202E_206F_206D_202C_206E_206D_200E_206A_206E_202D_206E_202D_202D_200E_206D_206B_200C_202A_200C_202C_206B_206E_202D_202E(FontAwesomeIcon.Check, global::_003CModule_003E._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(-1549242385), (Vector4?)null, (Vector4?)null, (Vector4?)null, (Vector2?)null)) ? 733316056 : 733316059); + break; + case 1: + { + _200E_206B_202C_206D_206B_206E_200B_202B_200D_200B_206F_200B_200D_200C_202D_200C_206C_206F_200F_202B_206B_202A_200E_202E_200B_202C_200C_206E_200B_206A_202B_206F_206D_202A_206B_206E_206F_206E_206C_202A_202E(); + ImRaii.DisabledDisposable disabledDisposable2 = _200E_206F_200B_206B_202E_206D_206B_202D_200D_206D_206A_202C_206E_202E_202E_206B_200C_206E_206A_200E_206F_200F_206C_206A_206A_206B_202C_202A_206E_206F_206B_202A_200B_206F_206D_206F_202E_206F_200E_202C_202E(!_202E_206C_206A_206B_206F_202B_202B_206B_202B_202A_206D_202D_200E_202E_206E_200C_202C_206A_206E_206E_200C_200F_206C_200F_200F_200C_202A_202A_202B_202E_202D_202B_200B_206B_206E_206E_202B_200B_200E_202D_202E(ImGuiKey.ModCtrl)); + try + { + num = ((!_206A_206E_206F_202D_206A_200B_206A_202A_200F_200B_202E_206D_206E_206C_206F_206A_206C_202E_206F_206D_202C_206E_206D_200E_206A_206E_202D_206E_202D_202D_200E_206D_206B_200C_202A_200C_202C_206B_206E_202D_202E(FontAwesomeIcon.Trash, global::_003CModule_003E._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(-1192001234), (Vector4?)null, (Vector4?)null, (Vector4?)null, (Vector2?)null)) ? (-1696550278) : (-1696550279)); + while (true) + { + int num15 = num; + num3 = -1696550280; + num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 0: + num = -1696550279; + break; + case 1: + _questController.ClearQuestPriority(); + num = -1696550278; + break; + case 2: + goto end_IL_0522; + } + continue; + end_IL_0522: + break; + } + } + finally + { + num = ((disabledDisposable2 == null) ? (-940388815) : (-940388814)); + while (true) + { + int num18 = num; + num3 = -940388813; + num4 = num18; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -940388814; + break; + case 2: + goto end_IL_0597; + case 1: + _206E_206C_206D_200B_202C_206C_206D_206C_200B_206B_202D_202C_202D_202B_202A_200E_202A_202B_202C_202A_202A_200E_202E_200C_200C_206C_200F_200C_202B_200E_202C_202C_206E_200C_202D_200B_200D_206A_206D_206D_202E((IDisposable)disabledDisposable2); + num = -940388815; + break; + } + continue; + end_IL_0597: + break; + } + } + num = ((!_206A_202A_200F_206D_202A_200C_202B_200D_202E_206E_200E_200C_200C_202D_206C_200C_200F_200C_206D_200C_200C_202A_206D_200E_206C_206D_202D_200B_200C_200D_202B_206C_206E_200C_206D_206D_200B_202A_200F_202B_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? 1780050147 : 1780050144); + while (true) + { + int num19 = num; + num3 = 1780050146; + num4 = num19; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1780050144; + break; + case 2: + _206D_206E_206E_206F_202C_200E_200D_206B_206F_202C_200C_206D_206E_200C_200F_200C_206E_206F_206D_206A_206C_206F_206D_200B_200B_206D_206B_202A_206A_206C_206C_202D_202B_202B_202D_202E_206F_202B_202A_202E_202E((ImU8String)global::_003CModule_003E._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(275309460)); + num = 1780050147; + break; + case 1: + goto end_IL_060a; + } + continue; + end_IL_060a: + break; + } + goto end_IL_03ab; + } + } + continue; + end_IL_03ab: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? 1584072103 : 1584072100); + while (true) + { + int num20 = num; + num3 = 1584072101; + num4 = num20; + int num21 = num4 + num3; + int num22 = num4 & num3; + switch (num21 - (num22 + num22)) + { + case 0: + num = 1584072100; + break; + case 1: + _206E_206C_206D_200B_202C_206C_206D_206C_200B_206B_202D_202C_202D_202B_202A_200E_202A_202B_202C_202A_202A_200E_202E_200C_200C_206C_200F_200C_202B_200E_202C_202C_206E_200C_202D_200B_200D_206A_206D_206D_202E((IDisposable)disabledDisposable); + num = 1584072103; + break; + case 2: + goto end_IL_0686; + } + continue; + end_IL_0686: + break; + } + } + UiThemeUtils.EndCard(item, item2, item3); + return; } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip("Hold CTRL to enable this button."); } } } + [MethodImpl(MethodImplOptions.NoInlining)] + public void DrawCompact() + { + _questSelector.DrawSelection(); + _206F_206B_200B_202C_200C_200D_206B_206A_200C_200C_200B_206C_206B_202D_200B_206D_202B_200B_206C_200F_202E_200F_202B_206E_202B_206C_200B_202B_200E_200D_206E_206D_202E_200F_200C_200D_200B_202C_206C_202D_202E(); + List manualPriorityQuests = _questController.ManualPriorityQuests; + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + int num; + if (manualPriorityQuests.Count == 0) + { + ImRaii.ColorDisposable colorDisposable = _200B_202D_200E_206A_206F_202C_206B_202C_206D_206E_202E_202B_202A_202E_202B_202A_206D_202C_206E_202E_202D_202D_200D_202D_206F_202E_200F_200B_200C_202A_200C_200D_200D_200E_200B_200E_200F_206F_202A_206A_202E(ImGuiCol.Text, UiThemeUtils.MutedTextColor, true); + try + { + _200B_200C_202E_202D_206F_206A_200D_202B_202C_206B_202A_202C_206F_202C_200E_206B_200E_200E_202E_202B_202B_202D_206E_206C_206A_202B_202B_202B_202E_202D_200E_206F_206D_206E_200F_206F_202A_200E_206D_200F_202E((ImU8String)global::_003CModule_003E._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(10601063)); + } + finally + { + num = ((colorDisposable == null) ? 1053224897 : 1053224898); + while (true) + { + int num2 = num; + int num3 = 1053224899; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1053224898; + break; + case 2: + goto end_IL_008b; + case 1: + _206E_206C_206D_200B_202C_206C_206D_206C_200B_206B_202D_202C_202D_202B_202A_200E_202A_202B_202C_202A_202A_200E_202E_200C_200C_206C_200F_200C_202B_200E_202C_202C_206E_200C_202D_200B_200D_206A_206D_206D_202E((IDisposable)colorDisposable); + num = 1053224897; + break; + } + continue; + end_IL_008b: + break; + } + } + } + else + { + DrawQuestList(); + } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + UiThemeUtils.SectionSpacing(); + float x = _200D_200B_200C_200E_200B_206C_202D_202D_206E_202C_206A_206E_200D_206B_206B_200E_206D_206F_202A_200B_202A_206D_202D_202C_206F_200D_200D_206C_202D_202B_206B_206E_200D_202D_202E_200F_200E_206F_200B_200C_202E().X; + float x2 = _206C_200D_206E_200F_200B_206B_206B_206E_206E_202B_202E_202E_206E_200B_206B_206F_206F_206F_202B_206C_200F_206C_202C_202C_200C_206B_206C_200B_202C_200D_202E_200F_202A_202C_206A_200C_206F_206E_206F_200D_202E().ItemSpacing.X; + float num5 = _202D_202E_206C_206C_202C_200B_202B_206C_200E_202E_206A_200C_200B_200D_202C_206A_206D_206B_206E_206D_202E_202C_202E_202D_202A_202B_206D_202D_206F_206C_206B_206E_202B_200F_206D_200D_200B_202B_202A_202C_202E(); + List list = ParseClipboardItems(); + ImRaii.DisabledDisposable disabledDisposable = _200E_206F_200B_206B_202E_206D_206B_202D_200D_206D_206A_202C_206E_202E_202E_206B_200C_206E_206A_200E_206F_200F_206C_206A_206A_206B_202C_202A_206E_206F_206B_202A_200B_206F_206D_206F_202E_206F_200E_202C_202E(list.Count == 0); + try + { + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Download, num5)) ? 1715850622 : 1715850621); + while (true) + { + int num6 = num; + int num3 = 1715850623; + int num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 0: + num = 1715850621; + break; + case 2: + ImportFromClipboard(list); + num = 1715850622; + break; + case 1: + goto end_IL_0154; + } + continue; + end_IL_0154: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-957715576) : (-957715575)); + while (true) + { + int num9 = num; + int num3 = -957715576; + int num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_01c6; + case 1: + _206E_206C_206D_200B_202C_206C_206D_206C_200B_206B_202D_202C_202D_202B_202A_200E_202A_202B_202C_202A_202A_200E_202E_200C_200C_206C_200F_200C_202B_200E_202C_202C_206E_200C_202D_200B_200D_206A_206D_206D_202E((IDisposable)disabledDisposable); + num = -957715576; + break; + case 2: + num = -957715575; + break; + } + continue; + end_IL_01c6: + break; + } + } + num = ((!_206A_202A_200F_206D_202A_200C_202B_200D_202E_206E_200E_200C_200C_202D_206C_200C_200F_200C_206D_200C_200C_202A_206D_200E_206C_206D_202D_200B_200C_200D_202B_206C_206E_200C_206D_206D_200B_202A_200F_202B_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-969276494) : (-969276495)); + while (true) + { + int num10 = num; + int num3 = -969276493; + int num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + num = -969276495; + break; + case 2: + _206D_206E_206E_206F_202C_200E_200D_206B_206F_202C_200C_206D_206E_200C_200F_200C_206E_206F_206D_206A_206C_206F_206D_200B_200B_206D_206B_202A_206A_206C_206C_202D_202B_202B_202D_202E_206F_202B_202A_202E_202E((ImU8String)global::_003CModule_003E._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(1068567148)); + num = -969276494; + break; + case 1: + _200E_206B_202C_206D_206B_206E_200B_202B_200D_200B_206F_200B_200D_200C_202D_200C_206C_206F_200F_202B_206B_202A_200E_202E_200B_202C_200C_206E_200B_206A_202B_206F_206D_202A_206B_206E_206F_206E_206C_202A_202E(); + disabledDisposable = _200E_206F_200B_206B_202E_206D_206B_202D_200D_206D_206A_202C_206E_202E_202E_206B_200C_206E_206A_200E_206F_200F_206C_206A_206A_206B_202C_202A_206E_206F_206B_202A_200B_206F_206D_206F_202E_206F_200E_202C_202E(manualPriorityQuests.Count == 0); + try + { + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Upload, num5)) ? 151666692 : 151666695); + while (true) + { + int num13 = num; + num3 = 151666694; + num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 151666695; + break; + case 1: + ExportToClipboard(); + num = 151666692; + break; + case 2: + goto end_IL_02d1; + } + continue; + end_IL_02d1: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-653805404) : (-653805401)); + while (true) + { + int num14 = num; + num3 = -653805403; + num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -653805401; + break; + case 1: + goto end_IL_033f; + case 2: + _206E_206C_206D_200B_202C_206C_206D_206C_200B_206B_202D_202C_202D_202B_202A_200E_202A_202B_202C_202A_202A_200E_202E_200C_200C_206C_200F_200C_202B_200E_202C_202C_206E_200C_202D_200B_200D_206A_206D_206D_202E((IDisposable)disabledDisposable); + num = -653805404; + break; + } + continue; + end_IL_033f: + break; + } + } + num = ((!_206A_202A_200F_206D_202A_200C_202B_200D_202E_206E_200E_200C_200C_202D_206C_200C_200F_200C_206D_200C_200C_202A_206D_200E_206C_206D_202D_200B_200C_200D_202B_206C_206E_200C_206D_206D_200B_202A_200F_202B_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? 631254428 : 631254431); + while (true) + { + int num15 = num; + num3 = 631254429; + num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 631254431; + break; + case 2: + _206D_206E_206E_206F_202C_200E_200D_206B_206F_202C_200C_206D_206E_200C_200F_200C_206E_206F_206D_206A_206C_206F_206D_200B_200B_206D_206B_202A_206A_206C_206C_202D_202B_202B_202D_202E_206F_202B_202A_202E_202E((ImU8String)global::_003CModule_003E._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(245855616)); + num = 631254428; + break; + case 1: + { + _200E_206B_202C_206D_206B_206E_200B_202B_200D_200B_206F_200B_200D_200C_202D_200C_206C_206F_200F_202B_206B_202A_200E_202E_200B_202C_200C_206E_200B_206A_202B_206F_206D_202A_206B_206E_206F_206E_206C_202A_202E(); + float width = (x - num5 * 2f - x2 * 3f) / 2f; + disabledDisposable = _200E_206F_200B_206B_202E_206D_206B_202D_200D_206D_206A_202C_206E_202E_202E_206B_200C_206E_206A_200E_206F_200F_206C_206A_206A_206B_202C_202A_206E_206F_206B_202A_200B_206F_206D_206F_202E_206F_200E_202C_202E(manualPriorityQuests.Count == 0); + try + { + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Check, global::_003CModule_003E._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(446061087), width)) ? (-1706212292) : (-1706212289)); + while (true) + { + int num16 = num; + num3 = -1706212290; + num4 = num16; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + _questController.SavePriorityQuests(); + num = -1706212292; + break; + case 1: + num = ((_questController.ManualPriorityQuests.RemoveAll((Quest q) => _questFunctions.IsQuestComplete(q.Id)) <= 0) ? (-1706212292) : (-1706212291)); + break; + case 0: + num = -1706212289; + break; + case 2: + goto end_IL_046e; + } + continue; + end_IL_046e: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-382502620) : (-382502619)); + while (true) + { + int num17 = num; + num3 = -382502620; + num4 = num17; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_051f; + case 1: + _206E_206C_206D_200B_202C_206C_206D_206C_200B_206B_202D_202C_202D_202B_202A_200E_202A_202B_202C_202A_202A_200E_202E_200C_200C_206C_200F_200C_202B_200E_202C_202C_206E_200C_202D_200B_200D_206A_206D_206D_202E((IDisposable)disabledDisposable); + num = -382502620; + break; + case 2: + num = -382502619; + break; + } + continue; + end_IL_051f: + break; + } + } + num = ((!_206A_202A_200F_206D_202A_200C_202B_200D_202E_206E_200E_200C_200C_202D_206C_200C_200F_200C_206D_200C_200C_202A_206D_200E_206C_206D_202D_200B_200C_200D_202B_206C_206E_200C_206D_206D_200B_202A_200F_202B_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? 35071333 : 35071334); + int num21; + while (true) + { + int num18 = num; + num3 = 35071333; + num4 = num18; + int num19 = num4 + num3; + int num20 = num4 & num3; + switch (num19 - (num20 + num20)) + { + default: + continue; + case 0: + _200E_206B_202C_206D_206B_206E_200B_202B_200D_200B_206F_200B_200D_200C_202D_200C_206C_206F_200F_202B_206B_202A_200E_202E_200B_202C_200C_206E_200B_206A_202B_206F_206D_202A_206B_206E_206F_206E_206C_202A_202E(); + num = ((manualPriorityQuests.Count == 0) ? 35071329 : 35071332); + continue; + case 3: + _206D_206E_206E_206F_202C_200E_200D_206B_206F_202C_200C_206D_206E_200C_200F_200C_206E_206F_206D_206A_206C_206F_206D_200B_200B_206D_206B_202A_206A_206C_206C_202D_202B_202B_202D_202E_206F_202B_202A_202E_202E((ImU8String)global::_003CModule_003E._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(-396666417)); + num = 35071333; + continue; + case 2: + num = 35071334; + continue; + case 1: + num21 = ((!_202E_206C_206A_206B_206F_202B_202B_206B_202B_202A_206D_202D_200E_202E_206E_200C_202C_206A_206E_206E_200C_200F_206C_200F_200F_200C_202A_202A_202B_202E_202D_202B_200B_206B_206E_206E_202B_200B_200E_202D_202E(ImGuiKey.ModCtrl)) ? 1 : 0); + break; + case 4: + num21 = 1; + break; + } + break; + } + disabledDisposable = _200E_206F_200B_206B_202E_206D_206B_202D_200D_206D_206A_202C_206E_202E_202E_206B_200C_206E_206A_200E_206F_200F_206C_206A_206A_206B_202C_202A_206E_206F_206B_202A_200B_206F_206D_206F_202E_206F_200E_202C_202E((byte)num21 != 0); + try + { + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Trash, global::_003CModule_003E._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(-391209074), width)) ? (-1705386044) : (-1705386041)); + while (true) + { + int num22 = num; + num3 = -1705386042; + num4 = num22; + int num23 = num4 + num3; + int num24 = num4 & num3; + switch (num23 - (num24 + num24)) + { + case 0: + num = -1705386041; + break; + case 1: + _questController.ClearQuestPriority(); + num = -1705386044; + break; + case 2: + goto end_IL_0675; + } + continue; + end_IL_0675: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? 1135246932 : 1135246935); + while (true) + { + int num25 = num; + num3 = 1135246933; + num4 = num25; + int num26 = num4 + num3; + int num27 = num4 & num3; + switch (num26 - (num27 + num27)) + { + case 0: + num = 1135246935; + break; + case 2: + _206E_206C_206D_200B_202C_206C_206D_206C_200B_206B_202D_202C_202D_202B_202A_200E_202A_202B_202C_202A_202A_200E_202E_200C_200C_206C_200F_200C_202B_200E_202C_202C_206E_200C_202D_200B_200D_206A_206D_206D_202E((IDisposable)disabledDisposable); + num = 1135246932; + break; + case 1: + goto end_IL_06ea; + } + continue; + end_IL_06ea: + break; + } + } + num = ((!_206A_202A_200F_206D_202A_200C_202B_200D_202E_206E_200E_200C_200C_202D_206C_200C_200F_200C_206D_200C_200C_202A_206D_200E_206C_206D_202D_200B_200C_200D_202B_206C_206E_200C_206D_206D_200B_202A_200F_202B_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-912424730) : (-912424729)); + while (true) + { + int num28 = num; + num3 = -912424730; + num4 = num28; + int num29 = num4 + num3; + int num30 = num4 & num3; + switch (num29 - (num30 + num30)) + { + case 2: + num = -912424729; + break; + case 1: + _206D_206E_206E_206F_202C_200E_200D_206B_206F_202C_200C_206D_206E_200C_200F_200C_206E_206F_206D_206A_206C_206F_206D_200B_200B_206D_206B_202A_206A_206C_206C_202D_202B_202B_202D_202E_206F_202B_202A_202E_202E((ImU8String)global::_003CModule_003E._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(-448993879)); + num = -912424730; + break; + case 0: + return; + } + } + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawQuestList() { List manualPriorityQuests = _questController.ManualPriorityQuests; - if (manualPriorityQuests.Count == 0) + int num = ((manualPriorityQuests.Count != 0) ? (-1063636530) : (-1063636531)); + float num12 = default(float); + Quest quest4 = default(Quest); + int num17 = default(int); + int num18 = default(int); + while (true) { - ImGui.PushStyleColor(ImGuiCol.Text, ImGuiColors.DalamudGrey); - ImGui.TextWrapped("No quests in priority queue. Add quests using the selector above to prioritise them over other available quests."); - ImGui.PopStyleColor(); - return; - } - 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 < manualPriorityQuests.Count; i++) - { - Vector2 item = ImGui.GetCursorScreenPos() + new Vector2(0f, (0f - ImGui.GetStyle().ItemSpacing.Y) / 2f); - Quest quest3 = manualPriorityQuests[i]; - ImU8String id = new ImU8String(5, 1); - id.AppendLiteral("Quest"); - id.AppendFormatted(quest3.Id); - using (ImRaii.PushId(id)) + int num2 = num; + int num3 = -1063636529; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - 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()) + case 0: + goto IL_005d; + case 2: + _200D_206F_202E_200F_200B_202D_206C_202A_200D_206C_206E_202C_200C_200F_200E_206C_202D_206F_206D_200C_202B_206F_202D_200C_206A_202A_202C_202A_206E_206B_202E_206A_200D_200C_206E_200D_200E_202E_206B_202B_202E(ImGuiCol.Text, UiThemeUtils.MutedTextColor); + _200B_200C_202E_202D_206F_206A_200D_202B_202C_206B_202A_202C_206F_202C_200E_206B_200E_200E_202E_202B_202B_202D_206E_206C_206A_202B_202B_202B_202E_202D_200E_206F_206D_206E_200F_206F_202A_200E_206D_200F_202E((ImU8String)global::_003CModule_003E._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(-126003018)); + _206C_206A_206A_206F_202C_200B_206C_206E_206D_200D_202A_202B_206B_200B_202C_200C_206A_202E_202E_206F_202E_202E_202E_206E_202B_200B_202B_206E_202E_202A_206F_200F_200B_200C_200B_206D_206B_206C_200E_200E_202E(); + return; + case 1: + { + Quest quest = null; + Quest quest2 = null; + int index = 0; + float x = _200D_200B_200C_200E_200B_206C_202D_202D_206E_202C_206A_206E_200D_206B_206B_200E_206D_206F_202A_200B_202A_206D_202D_202C_206F_200D_200D_206C_202D_202B_206B_206E_200D_202D_202E_200F_200E_206F_200B_200C_202E().X; + float num7 = _206C_202B_206B_202B_206D_200F_200E_206B_200B_206A_202D_200E_206F_206B_206C_200D_202B_200E_202E_202B_200C_200D_202C_202E_202A_200B_200C_206C_200C_206A_202A_202E_202E_206B_202E_200C_200B_206B_206D_206B_202E() + x - 12f; + List<(Vector2, Vector2)> list = new List<(Vector2, Vector2)>(); + for (int num8 = 0; num8 < manualPriorityQuests.Count; num8 = (num4 | num3) + (num4 & num3)) { - ImGui.AlignTextToFramePadding(); - ImGui.TextColored(in questStyle.Item1, questStyle.Item2.ToIconString()); - flag = ImGui.IsItemHovered(); + Vector2 item = _202B_206F_206E_206C_202E_206E_206C_200E_206F_206D_202E_200D_206F_202E_206C_206F_200B_200C_202B_202E_206B_202D_202D_202D_206E_206B_206E_202D_206C_200E_206E_202A_202B_202A_206F_200E_200C_202A_202B_200D_202E() + new Vector2(0f, (0f - _206C_200D_206E_200F_200B_206B_206B_206E_206E_202B_202E_202E_206E_200B_206B_206F_206F_206F_202B_206C_200F_206C_202C_202C_200C_206B_206C_200B_202C_200D_202E_200F_202A_202C_206A_200C_206F_206E_206F_200D_202E().ItemSpacing.Y) / 2f); + Quest quest3 = manualPriorityQuests[num8]; + ImU8String imU8String = new ImU8String(5, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-670330761)); + imU8String.AppendFormatted(quest3.Id); + ImRaii.IdDisposable idDisposable = _206D_200C_200B_206E_206E_202C_200D_202E_202C_202D_206A_200B_206F_202D_206D_202B_202C_202E_206D_200D_200E_206F_202C_200F_202C_202D_202D_202A_206A_206B_200E_202C_200B_206B_200C_200D_202D_206C_206F_202A_202E(imU8String, true); + try + { + num = ((manualPriorityQuests.Count <= 1) ? (-774498785) : (-774498791)); + while (true) + { + int num9 = num; + num3 = -774498795; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 10: + num12 = _202D_202E_206C_206C_202C_200B_202B_206C_200E_202E_206A_200C_200B_200D_202C_206A_206D_206B_206E_206D_202E_202C_202E_202D_202A_202B_206D_202D_206F_206C_206B_206E_202B_200F_206D_200D_200B_202B_202A_202C_202E(); + _200F_200E_206E_200D_202B_200E_206C_206B_200D_200B_206B_202E_202B_202A_206F_202B_200B_200B_206A_202B_200B_206F_200C_200C_200E_200E_206F_206B_206D_202B_206B_206E_206C_202D_202C_202C_202C_206C_206D_200C_202E(); + UiThemeUtils.RowLabel(quest3.Info.Name, num12 + _206C_200D_206E_200F_200B_206B_206B_206E_206E_202B_202E_202E_206E_200B_206B_206F_206F_206F_202B_206C_200F_206C_202C_202C_200C_206B_206C_200B_202C_200D_202E_200F_202A_202C_206A_200C_206F_206E_206F_200D_202E().ItemSpacing.X); + num = ((!_206B_200C_200B_206D_202A_200E_200F_200B_206D_206A_206E_202C_206A_206A_206E_202B_202C_206E_202D_200F_206E_206A_200F_202A_206A_200F_200E_206D_200B_206D_200B_202D_202A_200B_202C_202A_202E_202D_200F_202A_202E()) ? (-774498788) : (-774498793)); + break; + case 11: + _draggedItem = quest3.Id; + num = -774498795; + break; + case 1: + num = ((!_202A_202D_206C_202D_200C_202E_202A_202E_202A_206C_202C_200B_202A_200C_202E_200C_202C_200D_202E_206E_206C_202E_202E_202C_206D_200C_206F_206B_202D_202C_206B_202D_206F_202A_206F_202B_202E_200D_206E_200C_202E(_draggedItem, (ElementId)null)) ? (-774498795) : (-774498797)); + break; + case 4: + quest = quest3; + num = -774498792; + break; + case 0: + _200E_206B_202C_206D_206B_206E_200B_202B_200D_200B_206F_200B_200D_200C_202D_200C_206C_206F_200F_202B_206B_202A_200E_202E_200B_202C_200C_206E_200B_206A_202B_206F_206D_202A_206B_206E_206F_206E_206C_202A_202E(); + num = -774498785; + break; + case 12: + num = ((!_202A_202D_206C_202D_200C_202E_202A_202E_202A_206C_202C_200B_202A_200C_202E_200C_202C_200D_202E_206E_206C_202E_202E_202C_206D_200C_206F_206B_202D_202C_206B_202D_206F_202A_206F_202B_202E_200D_206E_200C_202E(_draggedItem, quest3.Id)) ? (-774498794) : (-774498798)); + break; + case 5: + num = ((!_206A_206F_202C_206C_200F_200E_202C_200B_200E_206F_206B_206F_200D_200F_202B_202C_206B_200E_206C_200D_206B_200F_200F_200B_202E_200C_206E_202A_206B_206C_206F_202E_200F_206B_206F_202D_202C_200F_202D_202A_202E(ImGuiMouseButton.Left)) ? (-774498795) : (-774498786)); + break; + case 2: + _questTooltipComponent.Draw(quest3.Info); + num = -774498788; + break; + case 7: + _202C_200B_200D_200C_200D_202C_206D_202C_206B_206D_202D_206E_200C_206B_200C_202D_206A_206D_206E_206B_200F_200F_206B_200F_200E_202E_206A_202A_200C_206C_200E_206E_206E_200D_202A_202A_206A_202D_202D_202E(global::_003CModule_003E._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(319237677), FontAwesomeIcon.Bars, (Vector4?)_206E_202B_202A_202A_200B_206A_200F_206D_202E_202C_206E_200C_202E_202B_200E_202E_200E_202D_202E_200B_202C_200E_202C_206C_202B_200F_202B_206B_202A_202A_200F_202C_202B_202A_206B_202D_206B_202E_206A_202C_202E(_206C_206C_206F_206C_206C_202D_202D_202D_206C_202A_200E_202A_200E_200B_206D_206F_202C_202C_202B_200B_200B_206C_200B_202D_206B_202C_206E_206C_200C_206A_200B_206E_200F_200E_206A_202E_202B_206A_202B_202A_202E(ImGuiCol.ButtonActive)), (Vector4?)null, (Vector4?)null, (Vector2?)null); + num = -774498796; + break; + case 8: + num = -774498791; + break; + case 6: + num = ((!_202E_206E_202C_206A_200E_200C_202D_206F_206C_200F_200D_202B_200D_200C_200E_200F_200F_200C_200C_202B_206F_200D_202D_202E_200D_202B_202B_206E_200B_202B_200B_206B_206F_206D_206C_200B_200E_206D_200E_206B_202E()) ? (-774498795) : (-774498800)); + break; + case 9: + { + _200E_206B_202C_206D_206B_206E_200B_202B_200D_200B_206F_200B_200D_200C_202D_200C_206C_206F_200F_202B_206B_202A_200E_202E_200B_202C_200C_206E_200B_206A_202B_206F_206D_202A_206B_206E_206F_206E_206C_202A_202E(); + _206C_202D_202C_200B_206E_200C_206D_200E_202C_202D_206B_206B_200E_202C_206D_200F_206F_200B_200E_206B_206C_202C_206C_200E_202B_200C_206D_200C_200C_206A_200C_200B_200F_202E_206C_206D_206C_200E_206E_200F_202E(num7 - num12); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1500854462)); + defaultInterpolatedStringHandler.AppendFormatted(num8); + num = ((!_202E_206E_202E_202B_206B_202A_200B_200E_200D_206A_206A_202E_206B_202E_206C_202C_206F_200B_202A_206D_206F_206D_206D_202C_206A_206A_206D_206A_200E_202C_206E_202E_206D_202B_202E_206B_206A_200D_200D_206D_202E(defaultInterpolatedStringHandler.ToStringAndClear(), FontAwesomeIcon.Times)) ? (-774498792) : (-774498799)); + break; + } + case 3: + _202E_206E_202E_202B_206B_202A_200B_200E_200D_206A_206A_202E_206B_202E_206C_202C_206F_200B_202A_206D_206F_206D_206D_202C_206A_206A_206D_206A_200E_202C_206E_202E_206D_202B_202E_206B_206A_200D_200D_206D_202E(global::_003CModule_003E._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(507918364), FontAwesomeIcon.Bars); + num = -774498796; + break; + case 13: + goto end_IL_014f; + } + continue; + end_IL_014f: + break; + } + } + finally + { + num = ((idDisposable == null) ? (-1233269749) : (-1233269750)); + while (true) + { + int num13 = num; + num3 = -1233269749; + num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1233269750; + break; + case 0: + goto end_IL_03f3; + case 1: + _206E_206C_206D_200B_202C_206C_206D_206C_200B_206B_202D_202C_202D_202B_202A_200E_202A_202B_202C_202A_202A_200E_202E_200C_200C_206C_200F_200C_202B_200E_202C_202C_206E_200C_202D_200B_200D_206A_206D_206D_202E((IDisposable)idDisposable); + num = -1233269749; + break; + } + continue; + end_IL_03f3: + break; + } + } + Vector2 item2 = new Vector2(item.X + x, _202B_206F_206E_206C_202E_206E_206C_200E_206F_206D_202E_200D_206F_202E_206C_206F_200B_200C_202B_202E_206B_202D_202D_202D_206E_206B_206E_202D_206C_200E_206E_202A_202B_202A_206F_200E_200C_202A_202B_200D_202E().Y - _206C_200D_206E_200F_200B_206B_206B_206E_206E_202B_202E_202E_206E_200B_206B_206F_206F_206F_202B_206C_200F_206C_202C_202C_200C_206B_206C_200B_202C_200D_202E_200F_202A_202C_206A_200C_206F_206E_206F_200D_202E().ItemSpacing.Y + 2f); + list.Add((item, item2)); + int num14 = num8; + num3 = 1; + num4 = num14; } - ImGui.SameLine(); - ImGui.AlignTextToFramePadding(); - ImGui.Text(quest3.Info.Name); - flag |= ImGui.IsItemHovered(); - if (flag) + _200F_206B_200C_200E_206B_206F_202E_206C_206F_200C_200C_206D_200D_200E_206B_200D_206D_202A_202A_206C_200C_202C_202D_200C_206B_202C_202E_206F_200C_206E_206B_206D_200B_200C_202C_202E_202C_200C_206F_202C_202E(); + using (List<(Vector2, Vector2)>.Enumerator enumerator = list.GetEnumerator()) { - _questTooltipComponent.Draw(quest3.Info); - } - if (manualPriorityQuests.Count > 1) - { - using (ImRaii.PushFont(UiBuilder.IconFont)) + num = -195838984; + while (true) { - 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))); - } - else - { - ImGuiComponents.IconButton("##Move", FontAwesomeIcon.ArrowsUpDown); - } - if (_draggedItem == null && ImGui.IsItemActive() && ImGui.IsMouseDragging(ImGuiMouseButton.Left)) - { - _draggedItem = quest3.Id; - } - 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); + int num15 = num; + num3 = -195838984; + num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -195838984; + break; + case 1: + var (topLeft, bottomRight) = enumerator.Current; + UiThemeUtils.DrawRowBackground(topLeft, bottomRight); + num = -195838984; + break; + case 0: + num = (enumerator.MoveNext() ? (-195838983) : (-195838982)); + break; + case 2: + goto end_IL_04c0; + } + continue; + end_IL_04c0: + break; } } - if (ImGuiComponents.IconButton($"##Remove{i}", FontAwesomeIcon.Times)) + num = (_206A_206F_202C_206C_200F_200E_202C_200B_200E_206F_206B_206F_200D_200F_202B_202C_206B_200E_206C_200D_206B_200F_200F_200B_202E_200C_206E_202A_206B_206C_206F_202E_200F_206B_206F_202D_202C_200F_202D_202A_202E(ImGuiMouseButton.Left) ? (-1587377589) : (-1587377597)); + while (true) { - quest = quest3; + int num16 = num; + num3 = -1587377585; + num4 = num16; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + _draggedItem = null; + num = -1587377586; + break; + case 10: + quest2 = quest4; + index = num17; + num = -1587377586; + break; + case 0: + quest4 = manualPriorityQuests.FirstOrDefault((Quest quest5) => _202A_202D_206C_202D_200C_202E_202A_202E_202A_206C_202C_200B_202A_200C_202E_200C_202C_200D_202E_206E_206C_202E_202E_202C_206D_200C_206F_206B_202D_202C_206B_202D_206F_202A_206F_202B_202E_200D_206E_200C_202E(quest5.Id, _draggedItem)); + num = ((quest4 != null) ? (-1587377591) : (-1587377588)); + break; + case 12: + _draggedItem = null; + num = -1587377586; + break; + case 6: + num18 = manualPriorityQuests.IndexOf(quest4); + var (pMin, pMax) = list[num18]; + _200F_206B_200C_200E_206B_206F_202E_206C_206F_200C_200C_206D_200D_200E_206B_200D_206D_202A_202A_206C_200C_202C_202D_200C_206B_202C_202E_206F_200C_206E_206B_206D_200B_200C_202C_202E_202C_200C_206F_202C_202E().AddRect(pMin, pMax, _202C_202A_206D_200E_202C_206A_200C_206E_202C_202E_202C_202E_206D_206E_200F_202E_206A_206B_200C_206C_202E_200B_200C_206E_202B_206B_200C_200E_202A_202B_202D_200C_202B_200E_200D_202B_200B_206F_200B_200F_202E(UiThemeUtils.CardBorderHighColor), 3f, ImDrawFlags.RoundCornersAll); + num17 = list.FindIndex(((Vector2 TopLeft, Vector2 BottomRight) tuple3) => _003C_003Ec._202C_200E_202C_202D_202C_200F_200B_202E_202C_202B_206D_202A_206F_202A_206B_200F_200C_202B_206D_200C_200C_206E_206D_202E_206B_200D_206F_202C_200E_202E_202A_202A_200B_206C_206F_206D_200C_202E_206A_202B_202E(tuple3.TopLeft, tuple3.BottomRight, true)); + num = ((num17 < 0) ? (-1587377586) : (-1587377590)); + break; + case 8: + manualPriorityQuests.Remove(quest2); + manualPriorityQuests.Insert(index, quest2); + _questController.SavePriorityQuests(); + num = -1587377594; + break; + case 9: + return; + case 11: + num = ((quest2 == null) ? (-1587377594) : (-1587377593)); + break; + case 5: + num = ((num18 == num17) ? (-1587377586) : (-1587377595)); + break; + case 1: + num = ((quest == null) ? (-1587377596) : (-1587377592)); + break; + case 4: + num = ((!_206B_200F_200C_206F_202A_200F_200D_202C_200F_200B_202E_206F_200F_200D_200F_206C_202C_202A_206A_200F_206C_202B_202C_200E_202B_202E_206E_200B_206F_200C_202E_200D_200B_206E_202E_206C_206F_200E_202D_202C_202E(_draggedItem, (ElementId)null)) ? (-1587377586) : (-1587377585)); + break; + case 7: + manualPriorityQuests.Remove(quest); + _questController.SavePriorityQuests(); + num = -1587377596; + break; + case 2: + num = -1587377597; + break; + } } } - 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) - { - 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) - { - quest2 = manualPriorityQuests.Single((Quest quest4) => quest4.Id == _draggedItem); - index = num2; } - } - if (quest != null) - { - manualPriorityQuests.Remove(quest); - _questController.SavePriorityQuests(); - } - if (quest2 != null) - { - manualPriorityQuests.Remove(quest2); - manualPriorityQuests.Insert(index, quest2); - _questController.SavePriorityQuests(); + continue; + IL_005d: + num = -1063636531; } } + [MethodImpl(MethodImplOptions.NoInlining)] public string EncodeQuestPriority() { - return "qst:priority:" + Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Join(';', _questController.ManualPriorityQuests.Select((Quest x) => x.Id.ToString())))); + return _206E_206D_206A_200B_206F_202E_200D_202B_202E_200B_202D_206E_206E_202D_200E_200C_206F_202B_206E_200C_206B_200C_206F_206D_200F_206A_206D_200C_206B_206F_200B_200D_206A_200C_206D_202B_200F_206F_200F_202C_202E(global::_003CModule_003E._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(215679190), _200E_200B_202A_200B_202D_200F_202D_200F_206E_200C_202C_206B_206F_200E_206B_206D_200E_200C_202E_200C_200F_200E_200E_200D_202A_202D_202C_200D_200B_200B_202A_206F_200B_202E_200D_200E_200B_202A_202B_206A_202E(_202D_206F_202C_200D_200F_202E_202B_202C_200E_202E_206A_206F_200B_202D_206B_206C_200D_206B_202C_206A_200B_200F_200F_206F_202C_206E_206D_202C_206F_200C_200F_200E_206A_200B_202D_202E_206B_206A_206C_200D_202E(_206F_206B_200D_206F_206E_202D_206F_202A_206F_200D_202D_206D_202D_202D_206C_206E_202A_200F_200B_200B_202D_200B_206B_200D_206E_206C_202D_202E_200E_206F_200E_200F_200C_202A_202A_200D_202D_200B_202D_200D_202E(), string.Join(';', _questController.ManualPriorityQuests.Select((Quest x) => _003C_003Ec._200D_206B_200B_206A_202C_200B_200E_206A_200E_200B_200E_206E_206A_200C_202D_200D_206B_206C_202E_206E_200B_206A_200F_200F_206B_200B_206F_202C_202D_206B_202C_200C_200D_202E_200C_202D_200D_206E_202B_206F_202E((object)x.Id)))))); } - private static List ParseClipboardItems() + private List ParseClipboardItems() { - return PriorityWindow.DecodeQuestPriority(ImGui.GetClipboardText().Trim()); + string text = ThrottledClipboard.GetText(); + int num = ((!_206D_200B_206C_200B_202A_206A_200F_200F_200E_202A_200D_206A_200C_202E_206A_200B_200E_202E_206C_206C_206E_200D_206B_202C_200B_200B_200D_206A_206F_200C_206E_202B_202B_206C_202D_206B_202E_200E_200B_200D_202E(text, _lastClipboardText)) ? (-1557024321) : (-1557024322)); + while (true) + { + int num2 = num; + int num3 = -1557024321; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1557024322; + break; + case 0: + return _clipboardItems; + case 1: + _lastClipboardText = text; + _clipboardItems = DecodeQuestPriority(text); + num = -1557024321; + break; + } + } } + [MethodImpl(MethodImplOptions.NoInlining)] private void ExportToClipboard() { - ImGui.SetClipboardText(EncodeQuestPriority()); - _chatGui.Print("Copied quests to clipboard.", "Questionable", 576); + _206D_200E_200E_206A_202C_200C_202E_200F_200F_202B_200F_206C_206F_202B_206B_202B_200B_206F_202B_200B_202E_206D_200D_206B_206B_202A_206E_200E_202D_206F_206E_206E_206D_200F_202E_202E_200F_200F_200B_206C_202E((ImU8String)EncodeQuestPriority()); + _200B_206A_202C_206D_200B_202E_200B_206B_200F_206B_206B_200C_206A_200E_206E_206F_206D_206A_206C_206F_200B_202B_200D_202D_206B_206E_206C_206C_206A_202E_206A_206D_200C_202D_200D_206B_206B_200B_206F_206D_202E(_chatGui, global::_003CModule_003E._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(1934191982), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); } + [MethodImpl(MethodImplOptions.NoInlining)] private void ImportFromClipboard(List questElements) { - _questController.ImportQuestPriority(questElements); + int num = ((!_questController.ImportQuestPriority(questElements)) ? (-1390193338) : (-1390193339)); + while (true) + { + int num2 = num; + int num3 = -1390193337; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _202D_206D_200F_200F_202A_200C_202D_200B_202D_206D_206F_200D_206D_206F_206E_200E_200F_202E_202A_200E_200F_206D_202A_200D_202A_200B_206C_200E_206B_202A_202B_202A_200C_200E_200F_206F_200C_200E_206C_206A_202E(_chatGui, global::_003CModule_003E._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(-1037207422), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + return; + case 2: + { + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(26, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2016091093)); + defaultInterpolatedStringHandler.AppendFormatted(_questController.ManualPriorityQuests.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735279246)); + _200B_206A_202C_206D_200B_202E_200B_206B_200F_206B_206B_200C_206A_200E_206E_206F_206D_206A_206C_206F_200B_202B_200D_202D_206B_206E_206C_206C_206A_202E_206A_206D_200C_202D_200D_206B_206B_200B_206F_206D_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1481660241), (ushort?)(ushort)576); + return; + } + case 0: + goto IL_00e2; + } + continue; + IL_00e2: + num = -1390193339; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static List DecodeQuestPriority(string clipboardText) + { + List list = new List(); + try + { + int num = (_202D_202C_200B_202A_206C_202B_200E_206C_200C_206D_206A_206E_202A_206F_206F_200B_206B_202C_202A_200D_200D_202E_202A_202E_206C_206E_206B_200B_200C_206B_206A_206C_206D_202C_200C_202C_206D_200D_200C_200F_202E(clipboardText) ? (-132354680) : (-132354674)); + string text = default(string); + int num5 = default(int); + while (true) + { + int num2 = num; + int num3 = -132354679; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + text = global::_003CModule_003E._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(-800686041); + num = -132354676; + break; + case 6: + { + clipboardText = _202E_200F_206C_200C_202E_202A_202A_206B_206E_202C_200D_206A_206A_206B_206A_202B_200D_200C_200D_200F_202C_200C_202C_200D_202B_200D_202B_202D_206A_202B_202E_206F_202C_200C_202D_200B_202D_202A_202B_202B_202E(clipboardText, _200F_200E_200F_202D_200E_202B_202D_200D_206B_200F_206E_206F_206E_202B_202D_200E_206C_200F_200E_202D_200F_202C_206D_206C_206D_200F_206E_202C_202A_200C_200E_200C_202E_200B_200F_200D_200F_200D_200D_200C_202E(text)); + string text2 = _206C_206B_202A_206E_200C_202D_206E_206C_200E_200C_206C_202C_206D_200F_200F_206C_206E_200C_206A_200B_202A_202C_202A_202E_200B_200B_200E_200B_202A_202C_202E_206A_202B_200F_202A_206C_202A_200D_206E_202E_202E(_206F_206B_200D_206F_206E_202D_206F_202A_206F_200D_202D_206D_202D_202D_206C_206E_202A_200F_200B_200B_202D_200B_206B_200D_206E_206C_202D_202E_200E_206F_200E_200F_200C_202A_202A_200D_202D_200B_202D_200D_202E(), _202B_206C_206D_206C_200E_200C_206C_200B_202C_202D_202D_206F_200B_202A_202B_202A_202D_206D_206D_202C_202A_206C_202E_206C_202E_206C_206E_202E_206E_206D_206B_202E_202C_202B_206B_202C_200F_202C_202B_200C_202E(clipboardText)); + list.AddRange(_206C_200C_200B_206F_200C_202A_206E_202C_200C_202D_200F_206B_202E_202C_200E_202E_206A_202B_202D_206A_202D_202C_202A_202A_202E_200E_200D_200F_202B_200F_206A_200D_202B_200C_206D_202C_206A_206F_206B_202E_202E((IEnumerable)_206E_206F_200F_206D_202B_206A_200B_200F_206E_200C_206D_200B_206C_200E_206F_202E_206C_206D_206D_206A_206F_202C_200E_202E_200B_202A_206E_206E_200E_206D_200E_206E_206F_206D_206C_202D_206C_206D_200D_206B_202E(text2, ';', StringSplitOptions.None), ref num5)); + num = -132354680; + break; + } + case 3: + text = global::_003CModule_003E._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(-775608815); + num = -132354676; + break; + case 4: + num = -132354674; + break; + case 2: + num = ((!_200F_206D_202D_200F_206D_202A_206D_206B_202A_202D_206C_206F_200D_206A_202A_206F_200D_200B_206A_206E_200E_206F_206C_200F_200D_206C_206C_206B_206B_206D_206B_206C_206D_200D_206B_206C_206E_206C_206D_200D_202E(clipboardText, global::_003CModule_003E._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(790642103), StringComparison.InvariantCulture)) ? (-132354676) : (-132354678)); + break; + case 5: + num = ((text == null) ? (-132354680) : (-132354673)); + break; + case 7: + text = null; + num = ((!_200F_206D_202D_200F_206D_202A_206D_206B_202A_202D_206C_206F_200D_206A_202A_206F_200D_200B_206A_206E_200E_206F_206C_200F_200D_206C_206C_206B_206B_206D_206B_206C_206D_200D_206B_206C_206E_206C_206D_200D_202E(clipboardText, global::_003CModule_003E._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(215679190), StringComparison.InvariantCulture)) ? (-132354677) : (-132354679)); + break; + case 1: + goto end_IL_0029; + } + continue; + end_IL_0029: + break; + } + } + catch (Exception) + { + list.Clear(); + } + return list; + } + + static void _200B_200C_202E_202D_206F_206A_200D_202B_202C_206B_202A_202C_206F_202C_200E_206B_200E_200E_202E_202B_202B_202D_206E_206C_206A_202B_202B_202B_202E_202D_200E_206F_206D_206E_200F_206F_202A_200E_206D_200F_202E(ImU8String P_0) + { + ImGui.TextWrapped(P_0); + } + + static void _206C_206A_202B_200F_200B_200F_200C_206D_206A_206A_200F_202B_200B_202A_200B_202C_202B_200C_202A_206B_206E_202D_202B_200C_200B_200D_202D_206F_200D_202A_200F_202C_200B_200B_206D_206C_200D_206D_206A_202E() + { + ImGui.Bullet(); + } + + static void _200E_206B_202C_206D_206B_206E_200B_202B_200D_200B_206F_200B_200D_200C_202D_200C_206C_206F_200F_202B_206B_202A_200E_202E_200B_202C_200C_206E_200B_206A_202B_206F_206D_202A_206B_206E_206F_206E_206C_202A_202E() + { + ImGui.SameLine(); + } + + static void _206F_206B_200B_202C_200C_200D_206B_206A_200C_200C_200B_206C_206B_202D_200B_206D_202B_200B_206C_200F_202E_200F_202B_206E_202B_206C_200B_202B_200E_200D_206E_206D_202E_200F_200C_200D_200B_202C_206C_202D_202E() + { + ImGui.Spacing(); + } + + static void _200C_202C_206E_200F_200E_202E_200D_202D_206C_200F_206A_206C_206D_206D_202C_200D_200E_206A_202E_202A_206E_206A_206B_206E_206E_200C_200C_202C_206C_202D_202C_206C_202A_206A_206A_206E_202B_202D_206E_200D_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static ImRaii.ChildDisposable _202B_202A_200D_200B_206C_200F_202C_206F_202B_200D_202A_206D_200D_200D_206F_200F_206E_200F_202B_206B_200E_206D_200F_202B_206C_202E_202C_200F_202E_200C_200E_206B_202B_200B_200F_206B_200F_206A_206C_200E_202E(ImU8String P_0, Vector2 P_1, bool P_2) + { + return ImRaii.Child(P_0, P_1, P_2); + } + + static ImRaii.DisabledDisposable _200E_206F_200B_206B_202E_206D_206B_202D_200D_206D_206A_202C_206E_202E_202E_206B_200C_206E_206A_200E_206F_200F_206C_206A_206A_206B_202C_202A_206E_206F_206B_202A_200B_206F_206D_206F_202E_206F_200E_202C_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static bool _206A_206E_206F_202D_206A_200B_206A_202A_200F_200B_202E_206D_206E_206C_206F_206A_206C_202E_206F_206D_202C_206E_206D_200E_206A_206E_202D_206E_202D_202D_200E_206D_206B_200C_202A_200C_202C_206B_206E_202D_202E(FontAwesomeIcon P_0, string P_1, Vector4? P_2, Vector4? P_3, Vector4? P_4, Vector2? P_5) + { + return ImGuiComponents.IconButtonWithText(P_0, P_1, P_2, P_3, P_4, P_5); + } + + static void _206E_206C_206D_200B_202C_206C_206D_206C_200B_206B_202D_202C_202D_202B_202A_200E_202A_202B_202C_202A_202A_200E_202E_200C_200C_206C_200F_200C_202B_200E_202C_202C_206E_200C_202D_200B_200D_206A_206D_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _202E_206C_206A_206B_206F_202B_202B_206B_202B_202A_206D_202D_200E_202E_206E_200C_202C_206A_206E_206E_200C_200F_206C_200F_200F_200C_202A_202A_202B_202E_202D_202B_200B_206B_206E_206E_202B_200B_200E_202D_202E(ImGuiKey P_0) + { + return ImGui.IsKeyDown(P_0); + } + + static bool _206A_202A_200F_206D_202A_200C_202B_200D_202E_206E_200E_200C_200C_202D_206C_200C_200F_200C_206D_200C_200C_202A_206D_200E_206C_206D_202D_200B_200C_200D_202B_206C_206E_200C_206D_206D_200B_202A_200F_202B_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static void _206D_206E_206E_206F_202C_200E_200D_206B_206F_202C_200C_206D_206E_200C_200F_200C_206E_206F_206D_206A_206C_206F_206D_200B_200B_206D_206B_202A_206A_206C_206C_202D_202B_202B_202D_202E_206F_202B_202A_202E_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static ImRaii.ColorDisposable _200B_202D_200E_206A_206F_202C_206B_202C_206D_206E_202E_202B_202A_202E_202B_202A_206D_202C_206E_202E_202D_202D_200D_202D_206F_202E_200F_200B_200C_202A_200C_200D_200D_200E_200B_200E_200F_206F_202A_206A_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static Vector2 _200D_200B_200C_200E_200B_206C_202D_202D_206E_202C_206A_206E_200D_206B_206B_200E_206D_206F_202A_200B_202A_206D_202D_202C_206F_200D_200D_206C_202D_202B_206B_206E_200D_202D_202E_200F_200E_206F_200B_200C_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static ImGuiStylePtr _206C_200D_206E_200F_200B_206B_206B_206E_206E_202B_202E_202E_206E_200B_206B_206F_206F_206F_202B_206C_200F_206C_202C_202C_200C_206B_206C_200B_202C_200D_202E_200F_202A_202C_206A_200C_206F_206E_206F_200D_202E() + { + return ImGui.GetStyle(); + } + + static float _202D_202E_206C_206C_202C_200B_202B_206C_200E_202E_206A_200C_200B_200D_202C_206A_206D_206B_206E_206D_202E_202C_202E_202D_202A_202B_206D_202D_206F_206C_206B_206E_202B_200F_206D_200D_200B_202B_202A_202C_202E() + { + return ImGui.GetFrameHeight(); + } + + static void _200D_206F_202E_200F_200B_202D_206C_202A_200D_206C_206E_202C_200C_200F_200E_206C_202D_206F_206D_200C_202B_206F_202D_200C_206A_202A_202C_202A_206E_206B_202E_206A_200D_200C_206E_200D_200E_202E_206B_202B_202E(ImGuiCol P_0, Vector4 P_1) + { + ImGui.PushStyleColor(P_0, P_1); + } + + static void _206C_206A_206A_206F_202C_200B_206C_206E_206D_200D_202A_202B_206B_200B_202C_200C_206A_202E_202E_206F_202E_202E_202E_206E_202B_200B_202B_206E_202E_202A_206F_200F_200B_200C_200B_206D_206B_206C_200E_200E_202E() + { + ImGui.PopStyleColor(); + } + + static float _206C_202B_206B_202B_206D_200F_200E_206B_200B_206A_202D_200E_206F_206B_206C_200D_202B_200E_202E_202B_200C_200D_202C_202E_202A_200B_200C_206C_200C_206A_202A_202E_202E_206B_202E_200C_200B_206B_206D_206B_202E() + { + return ImGui.GetCursorPosX(); + } + + static Vector2 _202B_206F_206E_206C_202E_206E_206C_200E_206F_206D_202E_200D_206F_202E_206C_206F_200B_200C_202B_202E_206B_202D_202D_202D_206E_206B_206E_202D_206C_200E_206E_202A_202B_202A_206F_200E_200C_202A_202B_200D_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static ImRaii.IdDisposable _206D_200C_200B_206E_206E_202C_200D_202E_202C_202D_206A_200B_206F_202D_206D_202B_202C_202E_206D_200D_200E_206F_202C_200F_202C_202D_202D_202A_206A_206B_200E_202C_200B_206B_200C_200D_202D_206C_206F_202A_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static bool _202A_202D_206C_202D_200C_202E_202A_202E_202A_206C_202C_200B_202A_200C_202E_200C_202C_200D_202E_206E_206C_202E_202E_202C_206D_200C_206F_206B_202D_202C_206B_202D_206F_202A_206F_202B_202E_200D_206E_200C_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } + + static uint _206C_206C_206F_206C_206C_202D_202D_202D_206C_202A_200E_202A_200E_200B_206D_206F_202C_202C_202B_200B_200B_206C_200B_202D_206B_202C_206E_206C_200C_206A_200B_206E_200F_200E_206A_202E_202B_206A_202B_202A_202E(ImGuiCol P_0) + { + return ImGui.GetColorU32(P_0); + } + + static Vector4 _206E_202B_202A_202A_200B_206A_200F_206D_202E_202C_206E_200C_202E_202B_200E_202E_200E_202D_202E_200B_202C_200E_202C_206C_202B_200F_202B_206B_202A_202A_200F_202C_202B_202A_206B_202D_206B_202E_206A_202C_202E(uint P_0) + { + return ImGui.ColorConvertU32ToFloat4(P_0); + } + + static bool _202C_200B_200D_200C_200D_202C_206D_202C_206B_206D_202D_206E_200C_206B_200C_202D_206A_206D_206E_206B_200F_200F_206B_200F_200E_202E_206A_202A_200C_206C_200E_206E_206E_200D_202A_202A_206A_202D_202D_202E(string P_0, FontAwesomeIcon P_1, Vector4? P_2, Vector4? P_3, Vector4? P_4, Vector2? P_5) + { + return ImGuiComponents.IconButton(P_0, P_1, P_2, P_3, P_4, P_5); + } + + static bool _202E_206E_202E_202B_206B_202A_200B_200E_200D_206A_206A_202E_206B_202E_206C_202C_206F_200B_202A_206D_206F_206D_206D_202C_206A_206A_206D_206A_200E_202C_206E_202E_206D_202B_202E_206B_206A_200D_200D_206D_202E(string P_0, FontAwesomeIcon P_1) + { + return ImGuiComponents.IconButton(P_0, P_1); + } + + static bool _202E_206E_202C_206A_200E_200C_202D_206F_206C_200F_200D_202B_200D_200C_200E_200F_200F_200C_200C_202B_206F_200D_202D_202E_200D_202B_202B_206E_200B_202B_200B_206B_206F_206D_206C_200B_200E_206D_200E_206B_202E() + { + return ImGui.IsItemActive(); + } + + static bool _206A_206F_202C_206C_200F_200E_202C_200B_200E_206F_206B_206F_200D_200F_202B_202C_206B_200E_206C_200D_206B_200F_200F_200B_202E_200C_206E_202A_206B_206C_206F_202E_200F_206B_206F_202D_202C_200F_202D_202A_202E(ImGuiMouseButton P_0) + { + return ImGui.IsMouseDragging(P_0); + } + + static void _200F_200E_206E_200D_202B_200E_206C_206B_200D_200B_206B_202E_202B_202A_206F_202B_200B_200B_206A_202B_200B_206F_200C_200C_200E_200E_206F_206B_206D_202B_206B_206E_206C_202D_202C_202C_202C_206C_206D_200C_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static bool _206B_200C_200B_206D_202A_200E_200F_200B_206D_206A_206E_202C_206A_206A_206E_202B_202C_206E_202D_200F_206E_206A_200F_202A_206A_200F_200E_206D_200B_206D_200B_202D_202A_200B_202C_202A_202E_202D_200F_202A_202E() + { + return ImGui.IsItemHovered(); + } + + static void _206C_202D_202C_200B_206E_200C_206D_200E_202C_202D_206B_206B_200E_202C_206D_200F_206F_200B_200E_206B_206C_202C_206C_200E_202B_200C_206D_200C_200C_206A_200C_200B_200F_202E_206C_206D_206C_200E_206E_200F_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static ImDrawListPtr _200F_206B_200C_200E_206B_206F_202E_206C_206F_200C_200C_206D_200D_200E_206B_200D_206D_202A_202A_206C_200C_202C_202D_200C_206B_202C_202E_206F_200C_206E_206B_206D_200B_200C_202C_202E_202C_200C_206F_202C_202E() + { + return ImGui.GetWindowDrawList(); + } + + static bool _206B_200F_200C_206F_202A_200F_200D_202C_200F_200B_202E_206F_200F_200D_200F_206C_202C_202A_206A_200F_206C_202B_202C_200E_202B_202E_206E_200B_206F_200C_202E_200D_200B_206E_202E_206C_206F_200E_202D_202C_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static uint _202C_202A_206D_200E_202C_206A_200C_206E_202C_202E_202C_202E_206D_206E_200F_202E_206A_206B_200C_206C_202E_200B_200C_206E_202B_206B_200C_200E_202A_202B_202D_200C_202B_200E_200D_202B_200B_206F_200B_200F_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static Encoding _206F_206B_200D_206F_206E_202D_206F_202A_206F_200D_202D_206D_202D_202D_206C_206E_202A_200F_200B_200B_202D_200B_206B_200D_206E_206C_202D_202E_200E_206F_200E_200F_200C_202A_202A_200D_202D_200B_202D_200D_202E() + { + return Encoding.UTF8; + } + + static byte[] _202D_206F_202C_200D_200F_202E_202B_202C_200E_202E_206A_206F_200B_202D_206B_206C_200D_206B_202C_206A_200B_200F_200F_206F_202C_206E_206D_202C_206F_200C_200F_200E_206A_200B_202D_202E_206B_206A_206C_200D_202E(Encoding P_0, string P_1) + { + return P_0.GetBytes(P_1); + } + + static string _200E_200B_202A_200B_202D_200F_202D_200F_206E_200C_202C_206B_206F_200E_206B_206D_200E_200C_202E_200C_200F_200E_200E_200D_202A_202D_202C_200D_200B_200B_202A_206F_200B_202E_200D_200E_200B_202A_202B_206A_202E(byte[] P_0) + { + return Convert.ToBase64String(P_0); + } + + static string _206E_206D_206A_200B_206F_202E_200D_202B_202E_200B_202D_206E_206E_202D_200E_200C_206F_202B_206E_200C_206B_200C_206F_206D_200F_206A_206D_200C_206B_206F_200B_200D_206A_200C_206D_202B_200F_206F_200F_202C_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _206D_200B_206C_200B_202A_206A_200F_200F_200E_202A_200D_206A_200C_202E_206A_200B_200E_202E_206C_206C_206E_200D_206B_202C_200B_200B_200D_206A_206F_200C_206E_202B_202B_206C_202D_206B_202E_200E_200B_200D_202E(string P_0, string P_1) + { + return P_0 != P_1; + } + + static void _206D_200E_200E_206A_202C_200C_202E_200F_200F_202B_200F_206C_206F_202B_206B_202B_200B_206F_202B_200B_202E_206D_200D_206B_206B_202A_206E_200E_202D_206F_206E_206E_206D_200F_202E_202E_200F_200F_200B_206C_202E(ImU8String P_0) + { + ImGui.SetClipboardText(P_0); + } + + static void _200B_206A_202C_206D_200B_202E_200B_206B_200F_206B_206B_200C_206A_200E_206E_206F_206D_206A_206C_206F_200B_202B_200D_202D_206B_206E_206C_206C_206A_202E_206A_206D_200C_202D_200D_206B_206B_200B_206F_206D_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static void _202D_206D_200F_200F_202A_200C_202D_200B_202D_206D_206F_200D_206D_206F_206E_200E_200F_202E_202A_200E_200F_206D_202A_200D_202A_200B_206C_200E_206B_202A_202B_202A_200C_200E_200F_206F_200C_200E_206C_206A_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static bool _202D_202C_200B_202A_206C_202B_200E_206C_200C_206D_206A_206E_202A_206F_206F_200B_206B_202C_202A_200D_200D_202E_202A_202E_206C_206E_206B_200B_200C_206B_206A_206C_206D_202C_200C_202C_206D_200D_200C_200F_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _200F_206D_202D_200F_206D_202A_206D_206B_202A_202D_206C_206F_200D_206A_202A_206F_200D_200B_206A_206E_200E_206F_206C_200F_200D_206C_206C_206B_206B_206D_206B_206C_206D_200D_206B_206C_206E_206C_206D_200D_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.StartsWith(P_1, P_2); + } + + static int _200F_200E_200F_202D_200E_202B_202D_200D_206B_200F_206E_206F_206E_202B_202D_200E_206C_200F_200E_202D_200F_202C_206D_206C_206D_200F_206E_202C_202A_200C_200E_200C_202E_200B_200F_200D_200F_200D_200D_200C_202E(string P_0) + { + return P_0.Length; + } + + static string _202E_200F_206C_200C_202E_202A_202A_206B_206E_202C_200D_206A_206A_206B_206A_202B_200D_200C_200D_200F_202C_200C_202C_200D_202B_200D_202B_202D_206A_202B_202E_206F_202C_200C_202D_200B_202D_202A_202B_202B_202E(string P_0, int P_1) + { + return P_0.Substring(P_1); + } + + static byte[] _202B_206C_206D_206C_200E_200C_206C_200B_202C_202D_202D_206F_200B_202A_202B_202A_202D_206D_206D_202C_202A_206C_202E_206C_202E_206C_206E_202E_206E_206D_206B_202E_202C_202B_206B_202C_200F_202C_202B_200C_202E(string P_0) + { + return Convert.FromBase64String(P_0); + } + + static string _206C_206B_202A_206E_200C_202D_206E_206C_200E_200C_206C_202C_206D_200F_200F_206C_206E_200C_206A_200B_202A_202C_202A_202E_200B_200B_200E_200B_202A_202C_202E_206A_202B_200F_202A_206C_202A_200D_206E_202E_202E(Encoding P_0, byte[] P_1) + { + return P_0.GetString(P_1); + } + + static string[] _206E_206F_200F_206D_202B_206A_200B_200F_206E_200C_206D_200B_206C_200E_206F_202E_206C_206D_206D_206A_206F_202C_200E_202E_200B_202A_206E_206E_200E_206D_200E_206E_206F_206D_206C_202D_206C_206D_200D_206B_202E(string P_0, char P_1, StringSplitOptions P_2) + { + return P_0.Split(P_1, P_2); + } + + static List _206C_200C_200B_206F_200C_202A_206E_202C_200C_202D_200F_206B_202E_202C_200E_202E_206A_202B_202D_206A_202D_202C_202A_202A_202E_200E_200D_200F_202B_200F_206A_200D_202B_200C_206D_202C_206A_206F_206B_202E_202E(IEnumerable P_0, ref int P_1) + { + return ElementId.FromStrings(P_0, out P_1); } } diff --git a/Questionable/Questionable.Windows.QuestComponents/NavigationBarComponent.cs b/Questionable/Questionable.Windows.QuestComponents/NavigationBarComponent.cs new file mode 100644 index 00000000..2f329b7f --- /dev/null +++ b/Questionable/Questionable.Windows.QuestComponents/NavigationBarComponent.cs @@ -0,0 +1,325 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Bindings.ImGui; +using Dalamud.Interface; +using Dalamud.Interface.Utility.Raii; +using LLib.ImGui; + +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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Draw() + { + float x = _206C_202C_200E_206D_200F_202D_200B_200B_200D_200D_206A_202A_202E_206A_200B_200B_202E_206A_206C_202B_202C_206F_200F_206F_200E_206F_202E_206B_206F_202A_200E_206F_200B_206E_202D_202E_206F_200F_202A_206C_202E().X; + float x2 = _206C_202E_206A_206E_200B_200E_200B_200F_200E_206B_206B_200C_202E_206E_202B_202D_206C_206C_202D_206E_206E_206B_202B_206B_200E_200E_206E_206E_202C_202E_200C_200F_206B_200E_202D_200E_202B_202D_200E_200D_202E().ItemSpacing.X; + float width = (x - 4f * x2) / 5f; + NavButton(FontAwesomeIcon.Cog, global::_003CModule_003E._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(-1437603502), delegate + { + _202E_200B_206C_200E_202E_202E_200E_206C_206C_206A_206D_206B_202D_202D_202E_206C_202C_200B_206A_206C_202B_206D_200F_202D_200F_202E_202A_206F_200C_200F_206F_202E_200F_206D_206C_200B_206C_206C_200E_200E_202E((LWindow)_configWindow, true); + }, width, active: true); + _206F_206F_202E_200E_202D_202D_200D_200B_202D_202A_200F_202D_200E_206E_206E_206E_206E_200D_206C_206D_202D_202B_200F_200C_200E_206E_206F_206B_200B_202B_200B_200C_206E_206A_202B_200C_200F_206A_202D_200E_202E(); + NavButton(FontAwesomeIcon.Book, global::_003CModule_003E._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(-1518016375), delegate + { + _202E_200B_206C_200E_202E_202E_200E_206C_206C_206A_206D_206B_202D_202D_202E_206C_202C_200B_206A_206C_202B_206D_200F_202D_200F_202E_202A_206F_200C_200F_206F_202E_200F_206D_206C_200B_206C_206C_200E_200E_202E((LWindow)_journalProgressWindow, true); + }, width); + _206F_206F_202E_200E_202D_202D_200D_200B_202D_202A_200F_202D_200E_206E_206E_206E_206E_200D_206C_206D_202D_202B_200F_200C_200E_206E_206F_206B_200B_202B_200B_200C_206E_206A_202B_200C_200F_206A_202D_200E_202E(); + NavButton(FontAwesomeIcon.Shield, global::_003CModule_003E._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(30979368), delegate + { + _202E_200B_206C_200E_202E_202E_200E_206C_206C_206A_206D_206B_202D_202D_202E_206C_202C_200B_206A_206C_202B_206D_200F_202D_200F_202E_202A_206F_200C_200F_206F_202E_200F_206D_206C_200B_206C_206C_200E_200E_202E((LWindow)_seasonalDutySelectionWindow, true); + }, width); + _206F_206F_202E_200E_202D_202D_200D_200B_202D_202A_200F_202D_200E_206E_206E_206E_206E_200D_206C_206D_202D_202B_200F_200C_200E_206E_206F_206B_200B_202B_200B_200C_206E_206A_202B_200C_200F_206A_202D_200E_202E(); + NavButton(FontAwesomeIcon.Calendar, global::_003CModule_003E._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(1296779081), delegate + { + _202E_200B_206C_200E_202E_202E_200E_206C_206C_206A_206D_206B_202D_202D_202E_206C_202C_200B_206A_206C_202B_206D_200F_202D_200F_202E_202A_206F_200C_200F_206F_202E_200F_206D_206C_200B_206C_206C_200E_200E_202E((LWindow)_fateSelectionWindow, true); + }, width); + _206F_206F_202E_200E_202D_202D_200D_200B_202D_202A_200F_202D_200E_206E_206E_206E_206E_200D_206C_206D_202D_202B_200F_200C_200E_206E_206F_206B_200B_202B_200B_200C_206E_206A_202B_200C_200F_206A_202D_200E_202E(); + NavButton(FontAwesomeIcon.FileAlt, global::_003CModule_003E._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(-1880802067), delegate + { + _202E_200B_206C_200E_202E_202E_200E_206C_206C_206A_206D_206B_202D_202D_202E_206C_202C_200B_206A_206C_202B_206D_200F_202D_200F_202E_202A_206F_200C_200F_206F_202E_200F_206D_206C_200B_206C_206C_200E_200E_202E((LWindow)_changelogWindow, true); + }, width); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static void NavButton(FontAwesomeIcon icon, string tooltip, Action onClick, float width, bool active = false) + { + ImRaii.ColorDisposable colorDisposable = _206E_202A_202B_200B_206D_202C_200B_202E_200B_200D_206B_202C_206D_202D_202E_206C_200B_200E_206B_202A_206C_206B_202A_206F_206C_202A_200C_206A_202E_206D_200F_206F_202C_206E_202D_200E_200B_200B_206E_200C_202E(); + try + { + int num = ((!active) ? (-1402550216) : (-1402550214)); + float num6 = default(float); + Vector2 vector2 = default(Vector2); + while (true) + { + int num2 = num; + int num3 = -1402550213; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + onClick(); + num = -1402550215; + break; + case 3: + { + num6 = _202E_206F_206A_202C_206C_206A_200B_200D_206F_200D_206F_200F_202E_202D_200F_202C_206A_200D_206A_206F_202D_206F_202C_206F_206A_200E_200B_202B_200B_206E_200C_206E_206A_200F_200C_206A_202A_200B_206B_202A_202E(); + vector2 = _206B_200D_206E_202D_200F_206A_206C_200E_202E_202D_202D_202E_202C_200E_206A_206F_202E_206C_200B_200D_206A_200E_200D_200F_206B_206C_202C_202B_206D_202A_206B_202E_200D_200F_206C_202E_200C_200E_202E_206E_202E(); + ImU8String imU8String = new ImU8String(2, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1426082020)); + imU8String.AppendFormatted(tooltip); + num = ((!_200B_206B_200D_202C_202C_202A_202C_200F_202A_202B_200F_206A_206F_202B_200D_200E_200B_202A_202E_202D_200F_206F_202D_202B_200D_200F_200C_202A_206F_206F_202C_206C_200D_202C_200D_202E_206F_200E_200B_206A_202E(imU8String, new Vector2(width, num6))) ? (-1402550215) : (-1402550213)); + break; + } + case 1: + { + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.12f; + _206B_200D_206B_200C_200E_200B_206F_202A_206A_206B_206B_202A_200F_202C_200E_202D_206B_202B_200B_206F_200F_206C_206A_200E_206F_202C_200C_202C_200C_206F_202E_206C_202D_202D_200D_206A_202C_200E_202C_206C_202E(colorDisposable, ImGuiCol.Button, accentColor, true); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.2f; + _206B_200D_206B_200C_200E_200B_206F_202A_206A_206B_206B_202A_200F_202C_200E_202D_206B_202B_200B_206F_200F_206C_206A_200E_206F_202C_200C_202C_200C_206F_202E_206C_202D_202D_200D_206A_202C_200E_202C_206C_202E(colorDisposable, ImGuiCol.ButtonHovered, accentColor, true); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.25f; + _206B_200D_206B_200C_200E_200B_206F_202A_206A_206B_206B_202A_200F_202C_200E_202D_206B_202B_200B_206F_200F_206C_206A_200E_206F_202C_200C_202C_200C_206F_202E_206C_202D_202D_200D_206A_202C_200E_202C_206C_202E(colorDisposable, ImGuiCol.ButtonActive, accentColor, true); + _206B_200D_206B_200C_200E_200B_206F_202A_206A_206B_206B_202A_200F_202C_200E_202D_206B_202B_200B_206F_200F_206C_206A_200E_206F_202C_200C_202C_200C_206F_202E_206C_202D_202D_200D_206A_202C_200E_202C_206C_202E(colorDisposable, ImGuiCol.Text, UiThemeUtils.AccentColor, true); + num = -1402550216; + break; + } + case 4: + num = -1402550214; + break; + case 2: + { + string text = _200E_202E_206D_206F_200D_200F_200D_206F_206E_202E_202B_202A_206B_206F_202C_202D_200F_202D_206E_206D_206D_206A_206F_206B_202E_206D_202D_206D_200B_202C_206C_200F_206B_206E_202C_206B_202D_200C_202E(icon); + ImRaii.FontDisposable fontDisposable = _206E_200B_200E_202C_206B_202E_202C_200D_200C_200D_200D_202C_200E_200F_206C_206D_206E_206E_206F_200F_202B_200C_200F_202E_206C_202C_206E_206A_206C_200D_200B_202C_206B_202B_202B_202D_206B_206A_206E_206D_202E(_202A_206E_202B_202D_206D_200D_200B_206F_206A_202A_202A_200E_202B_200D_202E_206E_206C_202E_202E_206B_202D_206C_200F_202B_200D_206B_202A_206A_206F_206B_200E_206E_200F_202B_202B_206D_206F_202B_206F_200E_202E(), true); + Vector2 vector; + try + { + vector = _206C_200E_206D_200B_200C_202E_202D_202B_202B_206B_202E_206E_202D_206B_202B_206C_202C_202E_200E_206B_200C_200B_202D_202C_200B_200B_200E_202E_200C_202C_206D_200D_202B_206E_206D_206C_202E_206F_206C_206C_202E((ImU8String)text, false, -1f); + } + finally + { + num = ((fontDisposable == null) ? (-1860794618) : (-1860794619)); + while (true) + { + int num5 = num; + num3 = -1860794620; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0192; + case 1: + _200C_202B_200C_206B_206D_206E_200E_206C_206E_206A_202A_202A_200E_202A_202E_200D_206C_206F_200B_200D_206A_206B_206C_202D_200C_206B_200D_206D_200E_200F_200F_206E_202A_202C_202C_206E_200B_200F_200B_200F_202E((IDisposable)fontDisposable); + num = -1860794618; + break; + case 0: + num = -1860794619; + break; + } + continue; + end_IL_0192: + break; + } + } + ImDrawListPtr imDrawListPtr = _202B_200F_206F_200B_202B_200F_200F_202B_202E_206B_202A_202D_200F_206D_206B_206F_206B_206F_202A_200F_206D_202A_206F_206B_202C_202E_202E_202A_206B_206A_202E_202B_206B_200B_202A_206B_206E_206A_200B_206F_202E(); + uint col = _200E_202A_200E_202E_202E_206E_200B_200D_206E_202D_200F_200B_202A_200F_202B_200E_206D_206D_200B_200F_206A_202B_202A_200B_206F_202E_206F_200E_202D_206D_206E_206C_200F_202C_206C_202D_206A_200E_206D_200F_202E(ImGuiCol.Text); + float x = vector2.X + (width - vector.X) / 2f; + float y = vector2.Y + (num6 - vector.Y) / 2f; + imDrawListPtr.AddText(_202A_206E_202B_202D_206D_200D_200B_206F_206A_202A_202A_200E_202B_200D_202E_206E_206C_202E_202E_206B_202D_206C_200F_202B_200D_206B_202A_206A_206F_206B_200E_206E_200F_202B_202B_206D_206F_202B_206F_200E_202E(), _206A_200F_206F_202C_200C_206D_202B_202A_202D_206A_200C_206D_200F_206E_206C_202B_206C_206E_206B_200B_202E_206A_202A_202E_206B_206F_206D_200F_206E_202A_200C_200C_206F_206B_206F_202A_202B_202D_202D_206B_202E(), new Vector2(x, y), col, text); + num = ((!active) ? 1157755779 : 1157755782); + while (true) + { + int num7 = num; + num3 = 1157755778; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1157755782; + break; + case 4: + { + Vector2 pMin = _200E_206C_202C_206A_200C_200C_206F_206A_206A_206A_202D_200C_206E_200C_200E_206D_202A_202B_200D_200D_200D_202B_200C_206E_206D_200C_200E_206A_206A_200D_206E_200D_206F_206A_202D_200C_206F_202C_202A_200C_202E(); + Vector2 pMax = _200B_202B_206F_202D_202C_206C_202E_202C_200E_202D_202B_200B_200E_206A_206C_200D_202C_206C_202D_202B_202E_206D_200E_206D_200E_206B_202D_206E_200C_202B_206E_206E_200E_202E_206B_200F_200F_200E_200B_206B_202E(); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.35f; + imDrawListPtr.AddRect(pMin, pMax, _202B_206A_202B_202D_206F_202B_206D_206F_200B_202B_200D_200B_206B_206B_206E_206C_200D_200E_206D_206D_202E_206E_200F_202C_206D_200E_200D_206A_206C_206B_202B_206C_202A_200B_200F_202E_202A_206C_200C_202E_202E(accentColor), 4f, ImDrawFlags.RoundCornersAll, 1f); + num = 1157755779; + break; + } + case 1: + num = ((!_200F_206F_202B_206F_202B_200C_206B_206B_206A_202C_202C_206C_206F_206A_202C_200B_200C_200E_206B_206D_206F_206C_200E_206A_200B_202E_202D_200B_206C_206A_200B_202E_202D_206A_206A_206D_206F_206F_206E_206A_202E()) ? 1157755777 : 1157755776); + break; + case 2: + _200D_202B_202D_200B_202C_202C_202A_200D_206E_206D_200D_202E_202B_200C_202D_206E_206C_200B_200D_206E_200C_202D_202A_200D_200F_200B_200D_206B_202B_200F_206A_202C_202B_206B_202C_200C_200C_206D_202B_206E_202E((ImU8String)tooltip); + num = 1157755777; + break; + case 3: + return; + } + } + } + } + } + } + finally + { + int num = ((colorDisposable == null) ? 13502380 : 13502383); + while (true) + { + int num8 = num; + int num3 = 13502381; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num = 13502383; + break; + case 1: + goto end_IL_034d; + case 2: + _200C_202B_200C_206B_206D_206E_200E_206C_206E_206A_202A_202A_200E_202A_202E_200D_206C_206F_200B_200D_206A_206B_206C_202D_200C_206B_200D_206D_200E_200F_200F_206E_202A_202C_202C_206E_200B_200F_200B_200F_202E((IDisposable)colorDisposable); + num = 13502380; + break; + } + continue; + end_IL_034d: + break; + } + } + } + + static Vector2 _206C_202C_200E_206D_200F_202D_200B_200B_200D_200D_206A_202A_202E_206A_200B_200B_202E_206A_206C_202B_202C_206F_200F_206F_200E_206F_202E_206B_206F_202A_200E_206F_200B_206E_202D_202E_206F_200F_202A_206C_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static ImGuiStylePtr _206C_202E_206A_206E_200B_200E_200B_200F_200E_206B_206B_200C_202E_206E_202B_202D_206C_206C_202D_206E_206E_206B_202B_206B_200E_200E_206E_206E_202C_202E_200C_200F_206B_200E_202D_200E_202B_202D_200E_200D_202E() + { + return ImGui.GetStyle(); + } + + static void _206F_206F_202E_200E_202D_202D_200D_200B_202D_202A_200F_202D_200E_206E_206E_206E_206E_200D_206C_206D_202D_202B_200F_200C_200E_206E_206F_206B_200B_202B_200B_200C_206E_206A_202B_200C_200F_206A_202D_200E_202E() + { + ImGui.SameLine(); + } + + static ImRaii.ColorDisposable _206E_202A_202B_200B_206D_202C_200B_202E_200B_200D_206B_202C_206D_202D_202E_206C_200B_200E_206B_202A_206C_206B_202A_206F_206C_202A_200C_206A_202E_206D_200F_206F_202C_206E_202D_200E_200B_200B_206E_200C_202E() + { + return new ImRaii.ColorDisposable(); + } + + static ImRaii.ColorDisposable _206B_200D_206B_200C_200E_200B_206F_202A_206A_206B_206B_202A_200F_202C_200E_202D_206B_202B_200B_206F_200F_206C_206A_200E_206F_202C_200C_202C_200C_206F_202E_206C_202D_202D_200D_206A_202C_200E_202C_206C_202E(ImRaii.ColorDisposable P_0, ImGuiCol P_1, Vector4 P_2, bool P_3) + { + return P_0.Push(P_1, P_2, P_3); + } + + static float _202E_206F_206A_202C_206C_206A_200B_200D_206F_200D_206F_200F_202E_202D_200F_202C_206A_200D_206A_206F_202D_206F_202C_206F_206A_200E_200B_202B_200B_206E_200C_206E_206A_200F_200C_206A_202A_200B_206B_202A_202E() + { + return ImGui.GetFrameHeight(); + } + + static Vector2 _206B_200D_206E_202D_200F_206A_206C_200E_202E_202D_202D_202E_202C_200E_206A_206F_202E_206C_200B_200D_206A_200E_200D_200F_206B_206C_202C_202B_206D_202A_206B_202E_200D_200F_206C_202E_200C_200E_202E_206E_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static bool _200B_206B_200D_202C_202C_202A_202C_200F_202A_202B_200F_206A_206F_202B_200D_200E_200B_202A_202E_202D_200F_206F_202D_202B_200D_200F_200C_202A_206F_206F_202C_206C_200D_202C_200D_202E_206F_200E_200B_206A_202E(ImU8String P_0, Vector2 P_1) + { + return ImGui.Button(P_0, P_1); + } + + static string _200E_202E_206D_206F_200D_200F_200D_206F_206E_202E_202B_202A_206B_206F_202C_202D_200F_202D_206E_206D_206D_206A_206F_206B_202E_206D_202D_206D_200B_202C_206C_200F_206B_206E_202C_206B_202D_200C_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static ImFontPtr _202A_206E_202B_202D_206D_200D_200B_206F_206A_202A_202A_200E_202B_200D_202E_206E_206C_202E_202E_206B_202D_206C_200F_202B_200D_206B_202A_206A_206F_206B_200E_206E_200F_202B_202B_206D_206F_202B_206F_200E_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _206E_200B_200E_202C_206B_202E_202C_200D_200C_200D_200D_202C_200E_200F_206C_206D_206E_206E_206F_200F_202B_200C_200F_202E_206C_202C_206E_206A_206C_200D_200B_202C_206B_202B_202B_202D_206B_206A_206E_206D_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static Vector2 _206C_200E_206D_200B_200C_202E_202D_202B_202B_206B_202E_206E_202D_206B_202B_206C_202C_202E_200E_206B_200C_200B_202D_202C_200B_200B_200E_202E_200C_202C_206D_200D_202B_206E_206D_206C_202E_206F_206C_206C_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static void _200C_202B_200C_206B_206D_206E_200E_206C_206E_206A_202A_202A_200E_202A_202E_200D_206C_206F_200B_200D_206A_206B_206C_202D_200C_206B_200D_206D_200E_200F_200F_206E_202A_202C_202C_206E_200B_200F_200B_200F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ImDrawListPtr _202B_200F_206F_200B_202B_200F_200F_202B_202E_206B_202A_202D_200F_206D_206B_206F_206B_206F_202A_200F_206D_202A_206F_206B_202C_202E_202E_202A_206B_206A_202E_202B_206B_200B_202A_206B_206E_206A_200B_206F_202E() + { + return ImGui.GetWindowDrawList(); + } + + static uint _200E_202A_200E_202E_202E_206E_200B_200D_206E_202D_200F_200B_202A_200F_202B_200E_206D_206D_200B_200F_206A_202B_202A_200B_206F_202E_206F_200E_202D_206D_206E_206C_200F_202C_206C_202D_206A_200E_206D_200F_202E(ImGuiCol P_0) + { + return ImGui.GetColorU32(P_0); + } + + static float _206A_200F_206F_202C_200C_206D_202B_202A_202D_206A_200C_206D_200F_206E_206C_202B_206C_206E_206B_200B_202E_206A_202A_202E_206B_206F_206D_200F_206E_202A_200C_200C_206F_206B_206F_202A_202B_202D_202D_206B_202E() + { + return ImGui.GetFontSize(); + } + + static Vector2 _200E_206C_202C_206A_200C_200C_206F_206A_206A_206A_202D_200C_206E_200C_200E_206D_202A_202B_200D_200D_200D_202B_200C_206E_206D_200C_200E_206A_206A_200D_206E_200D_206F_206A_202D_200C_206F_202C_202A_200C_202E() + { + return ImGui.GetItemRectMin(); + } + + static Vector2 _200B_202B_206F_202D_202C_206C_202E_202C_200E_202D_202B_200B_200E_206A_206C_200D_202C_206C_202D_202B_202E_206D_200E_206D_200E_206B_202D_206E_200C_202B_206E_206E_200E_202E_206B_200F_200F_200E_200B_206B_202E() + { + return ImGui.GetItemRectMax(); + } + + static uint _202B_206A_202B_202D_206F_202B_206D_206F_200B_202B_200D_200B_206B_206B_206E_206C_200D_200E_206D_206D_202E_206E_200F_202C_206D_200E_200D_206A_206C_206B_202B_206C_202A_200B_200F_202E_202A_206C_200C_202E_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static bool _200F_206F_202B_206F_202B_200C_206B_206B_206A_202C_202C_206C_206F_206A_202C_200B_200C_200E_206B_206D_206F_206C_200E_206A_200B_202E_202D_200B_206C_206A_200B_202E_202D_206A_206A_206D_206F_206F_206E_206A_202E() + { + return ImGui.IsItemHovered(); + } + + static void _200D_202B_202D_200B_202C_202C_202A_200D_206E_206D_200D_202E_202B_200C_202D_206E_206C_200B_200D_206E_200C_202D_202A_200D_200F_200B_200D_206B_202B_200F_206A_202C_202B_206B_202C_200C_200C_206D_202B_206E_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static void _202E_200B_206C_200E_202E_202E_200E_206C_206C_206A_206D_206B_202D_202D_202E_206C_202C_200B_206A_206C_202B_206D_200F_202D_200F_202E_202A_206F_200C_200F_206F_202E_200F_206D_206C_200B_206C_206C_200E_200E_202E(LWindow P_0, bool P_1) + { + P_0.IsOpenAndUncollapsed = P_1; + } +} diff --git a/Questionable/Questionable.Windows.QuestComponents/QuestSequenceComponent.cs b/Questionable/Questionable.Windows.QuestComponents/QuestSequenceComponent.cs index 0693f57a..9ba513ce 100644 --- a/Questionable/Questionable.Windows.QuestComponents/QuestSequenceComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/QuestSequenceComponent.cs @@ -3,6 +3,7 @@ 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.Components; @@ -20,10 +21,254 @@ namespace Questionable.Windows.QuestComponents; internal sealed class QuestSequenceComponent { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass17_0 + { + public int totalSequences; + + public int maxSeq; + + public bool hasQuestPath; + + public Vector4 coverageColor; + + public int implementedCount; + + public int expectedCount; + + public float coverage; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal void _003CDrawSummaryCards_003Eb__0() + { + _206A_202A_200E_200F_200D_202A_200D_202A_206F_206C_202B_200E_202C_206D_206B_206E_202D_206F_202E_206D_206F_206C_202A_202A_200E_206E_202A_200C_202D_202D_206A_202E_206A_206B_200E_202D_200C_200D_202E_200F_202E(); + _202C_202D_200B_206D_206E_202E_206A_202D_202B_200F_202A_202D_202C_200F_200E_202E_200D_202C_206B_202B_206E_202C_202C_202B_206B_200F_206D_202C_202B_206C_206E_206F_200B_206A_202D_200B_200C_202D_200F_206C_202E(10f); + ImU8String imU8String = new ImU8String(6, 0); + imU8String.AppendLiteral(global::_003CModule_003E._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(389160049)); + _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref UiThemeUtils.PrimaryTextColor, imU8String); + _200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + Vector4 vector = new Vector4(0.7f, 0.9f, 1f, 1f); + ImU8String imU8String2 = new ImU8String(0, 1); + imU8String2.AppendFormatted(totalSequences); + _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref vector, imU8String2); + _206A_202A_200E_200F_200D_202A_200D_202A_206F_206C_202B_200E_202C_206D_206B_206E_202D_206F_202E_206D_206F_206C_202A_202A_200E_206E_202A_200C_202D_202D_206A_202E_206A_206B_200E_202D_200C_200D_202E_200F_202E(); + ImU8String imU8String3 = new ImU8String(6, 0); + imU8String3.AppendLiteral(global::_003CModule_003E._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(1982759281)); + _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref UiThemeUtils.PrimaryTextColor, imU8String3); + _200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + vector = new Vector4(0.7f, 0.9f, 1f, 1f); + ImU8String imU8String4 = new ImU8String(9, 1); + imU8String4.AppendLiteral(global::_003CModule_003E._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(-17191078)); + imU8String4.AppendFormatted(maxSeq); + imU8String4.AppendLiteral(global::_003CModule_003E._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(1638758109)); + _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref vector, imU8String4); + _206A_200B_202B_206A_200E_206D_200F_202C_200C_206C_206A_206B_206F_206B_202C_206C_200F_202E_200C_202A_200D_206D_206F_202B_206D_200E_206F_202B_202B_200F_206C_206F_202D_202D_202A_202B_206B_202A_206F_206A_202E(10f); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal void _003CDrawSummaryCards_003Eb__1() + { + if (hasQuestPath) + { + _202C_202D_200B_206D_206E_202E_206A_202D_202B_200F_202A_202D_202C_200F_200E_202E_200D_202C_206B_202B_206E_202C_202C_202B_206B_200F_206D_202C_202B_206C_206E_206F_200B_206A_202D_200B_200C_202D_200F_206C_202E(10f); + _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref UiThemeUtils.PrimaryTextColor, (ImU8String)global::_003CModule_003E._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(-97617789)); + _200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + ref Vector4 reference = ref coverageColor; + ImU8String imU8String = new ImU8String(0, 1); + imU8String.AppendFormatted(implementedCount); + _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref reference, imU8String); + _200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(-1392036559)); + _200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + ImU8String imU8String2 = new ImU8String(0, 1); + imU8String2.AppendFormatted(expectedCount); + _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref UiThemeUtils.PrimaryTextColor, imU8String2); + _200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + ref Vector4 reference2 = ref coverageColor; + ImU8String imU8String3 = new ImU8String(3, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-1208656614)); + imU8String3.AppendFormatted(coverage, global::_003CModule_003E._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(1949766839)); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-1310244362)); + _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref reference2, imU8String3); + _206A_202A_200E_200F_200D_202A_200D_202A_206F_206C_202B_200E_202C_206D_206B_206E_202D_206F_202E_206D_206F_206C_202A_202A_200E_206E_202A_200C_202D_202D_206A_202E_206A_206B_200E_202D_200C_200D_202E_200F_202E(); + Vector2 vector = _206D_202B_202C_206D_206B_200D_206C_206B_202A_200B_202B_202A_200B_200E_206A_200D_202A_202E_200B_200B_200B_206A_206A_202C_206D_200B_200E_200D_202A_202A_206B_202D_200B_202B_200F_202E_206B_202A_200F_202C_202E(); + float x = _200F_200F_206F_200D_206A_202C_206D_206F_206E_202E_200F_202A_206F_206A_206A_200B_202B_200D_200D_202C_206B_202D_200B_202C_206E_200C_206B_206C_202A_206C_200E_206D_202C_206E_200C_206F_206C_200C_206C_200C_202E().X - 10f; + ImRaii.ColorDisposable colorDisposable = _206E_202D_202E_206A_202B_200C_206B_206D_206A_206E_200E_206E_200E_206E_202D_206E_202A_200E_202D_206E_206B_200D_206B_202B_200E_206F_202B_200F_200B_200C_206D_202D_206E_202E_202C_202B_202C_206D_202B_200E_202E(ImGuiCol.PlotHistogram, coverageColor, true); + try + { + ImRaii.ColorDisposable colorDisposable2 = _206E_202D_202E_206A_202B_200C_206B_206D_206A_206E_200E_206E_200E_206E_202D_206E_202A_200E_202D_206E_206B_200D_206B_202B_200E_206F_202B_200F_200B_200C_206D_202D_206E_202E_202C_202B_202C_206D_202B_200E_202E(ImGuiCol.FrameBg, new Vector4(0.08f, 0.06f, 0.12f, 0.8f), true); + try + { + _202E_202D_202A_202B_202E_206C_206F_200D_200B_200C_206D_200E_200E_200C_206F_202A_202E_200B_202D_200F_206A_200E_200B_206A_200E_206C_206B_202C_206F_200F_200B_200D_206C_200C_206E_206B_200D_206D_206B_206D_202E(coverage / 100f, new Vector2(x, 16f), (ImU8String)global::_003CModule_003E._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(1200342830)); + } + finally + { + int num = ((colorDisposable2 == null) ? 1407322401 : 1407322400); + while (true) + { + int num2 = num; + int num3 = 1407322401; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto end_IL_018b; + case 1: + _200D_206B_200E_202E_206F_202A_202A_200C_206A_206A_206C_206F_206D_200C_200B_202D_206E_200E_206D_200E_202D_206E_202A_206F_206E_202E_206F_206C_200F_202B_202C_200F_202C_206A_200E_206E_206B_206D_206D_206E_202E((IDisposable)colorDisposable2); + num = 1407322401; + break; + case 2: + num = 1407322400; + break; + } + continue; + end_IL_018b: + break; + } + } + } + finally + { + int num = ((colorDisposable == null) ? 807614204 : 807614205); + while (true) + { + int num7 = num; + int num3 = 807614204; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + num = 807614205; + break; + case 0: + goto end_IL_01f8; + case 1: + _200D_206B_200E_202E_206F_202A_202A_200C_206A_206A_206C_206F_206D_200C_200B_202D_206E_200E_206D_200E_202D_206E_202A_206F_206E_202E_206F_206C_200F_202B_202C_200F_202C_206A_200E_206E_206B_206D_206D_206E_202E((IDisposable)colorDisposable); + num = 807614204; + break; + } + continue; + end_IL_01f8: + break; + } + } + ImDrawListPtr imDrawListPtr = _200F_206B_202A_206D_206C_206E_200F_206C_202A_200E_206A_200F_200E_206F_200B_200D_202C_206C_206D_200B_200F_200C_202D_206D_200F_206B_206E_200B_200B_202B_206C_200C_206F_206F_206E_200F_202A_206B_200F_200F_202E(); + Vector2 pMax = vector + new Vector2(x, 16f); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.3f; + imDrawListPtr.AddRect(vector, pMax, _206D_200E_206D_202B_200B_206C_206F_202C_202B_206A_202B_202E_200C_206D_206B_200C_206D_202D_206C_202C_202E_202A_200E_200B_202A_206C_202E_200F_206A_202C_206B_200E_206C_202C_200C_206A_202A_202D_206E_202E_202E(accentColor), 2f); + _206A_200B_202B_206A_200E_206D_200F_202C_200C_206C_206A_206B_206F_206B_202C_206C_200F_202E_200C_202A_200D_206D_206F_202B_206D_200E_206F_202B_202B_200F_206C_206F_202D_202D_202A_202B_206B_202A_206F_206A_202E(10f); + } + else + { + _206A_202A_200E_200F_200D_202A_200D_202A_206F_206C_202B_200E_202C_206D_206B_206E_202D_206F_202E_206D_206F_206C_202A_202A_200E_206E_202A_200C_202D_202D_206A_202E_206A_206B_200E_202D_200C_200D_202E_200F_202E(); + _202C_202D_200B_206D_206E_202E_206A_202D_202B_200F_202A_202D_202C_200F_200E_202E_200D_202C_206B_202B_206E_202C_202C_202B_206B_200F_206D_202C_202B_206C_206E_206F_200B_206A_202D_200B_200C_202D_200F_206C_202E(10f); + _200B_202D_200D_202B_200F_206F_206E_202D_202B_206F_206F_202C_206F_206A_202D_200F_206A_206F_206C_206D_206C_200C_200D_206C_202C_206E_200F_200F_206E_202B_206C_206E_200E_200C_202A_202C_206A_206B_200F_206C_202E(_206A_202D_202B_202B_206C_206E_206A_200D_206C_206C_200B_202E_206A_200D_200C_206C_200D_200F_200D_206F_206E_202A_202E_202E_202D_206F_202E_200D_202E_200C_206A_200C_202D_206D_206A_200B_206C_202E_206D_206A_202E()); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.8f; + _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref accentColor, (ImU8String)_200C_206C_202A_200F_202B_202C_206D_200D_200F_200F_206C_206F_200D_202E_202A_200C_200B_206E_206B_202A_206B_202D_206F_202A_200C_206E_200E_200C_202E_202E_202A_206E_200D_200E_206F_202C_200E_206A_200D_206D_202E(FontAwesomeIcon.Ban)); + _206A_206B_200D_206E_202C_202E_202C_200E_200B_206A_200D_206D_206A_202C_202E_206E_206F_200B_206C_206F_202A_202D_200C_206C_200B_200B_206C_200C_206E_200B_202E_202D_206E_202E_206F_202D_200D_206F_206D_206E_202E(); + _200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.8f; + _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref accentColor, (ImU8String)global::_003CModule_003E._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(868008656)); + _206A_202A_200E_200F_200D_202A_200D_202A_206F_206C_202B_200E_202C_206D_206B_206E_202D_206F_202E_206D_206F_206C_202A_202A_200E_206E_202A_200C_202D_202D_206A_202E_206A_206B_200E_202D_200C_200D_202E_200F_202E(); + _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(384693137)); + _206A_200B_202B_206A_200E_206D_200F_202C_200C_206C_206A_206B_206F_206B_202C_206C_200F_202E_200C_202A_200D_206D_206F_202B_206D_200E_206F_202B_202B_200F_206C_206F_202D_202D_202A_202B_206B_202A_206F_206A_202E(10f); + } + } + + static void _206A_202A_200E_200F_200D_202A_200D_202A_206F_206C_202B_200E_202C_206D_206B_206E_202D_206F_202E_206D_206F_206C_202A_202A_200E_206E_202A_200C_202D_202D_206A_202E_206A_206B_200E_202D_200C_200D_202E_200F_202E() + { + ImGui.Spacing(); + } + + static void _202C_202D_200B_206D_206E_202E_206A_202D_202B_200F_202A_202D_202C_200F_200E_202E_200D_202C_206B_202B_206E_202C_202C_202B_206B_200F_206D_202C_202B_206C_206E_206F_200B_206A_202D_200B_200C_202D_200F_206C_202E(float P_0) + { + ImGui.Indent(P_0); + } + + static void _202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E() + { + ImGui.SameLine(); + } + + static void _206A_200B_202B_206A_200E_206D_200F_202C_200C_206C_206A_206B_206F_206B_202C_206C_200F_202E_200C_202A_200D_206D_206F_202B_206D_200E_206F_202B_202B_200F_206C_206F_202D_202D_202A_202B_206B_202A_206F_206A_202E(float P_0) + { + ImGui.Unindent(P_0); + } + + static Vector2 _206D_202B_202C_206D_206B_200D_206C_206B_202A_200B_202B_202A_200B_200E_206A_200D_202A_202E_200B_200B_200B_206A_206A_202C_206D_200B_200E_200D_202A_202A_206B_202D_200B_202B_200F_202E_206B_202A_200F_202C_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static Vector2 _200F_200F_206F_200D_206A_202C_206D_206F_206E_202E_200F_202A_206F_206A_206A_200B_202B_200D_200D_202C_206B_202D_200B_202C_206E_200C_206B_206C_202A_206C_200E_206D_202C_206E_200C_206F_206C_200C_206C_200C_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static ImRaii.ColorDisposable _206E_202D_202E_206A_202B_200C_206B_206D_206A_206E_200E_206E_200E_206E_202D_206E_202A_200E_202D_206E_206B_200D_206B_202B_200E_206F_202B_200F_200B_200C_206D_202D_206E_202E_202C_202B_202C_206D_202B_200E_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static void _202E_202D_202A_202B_202E_206C_206F_200D_200B_200C_206D_200E_200E_200C_206F_202A_202E_200B_202D_200F_206A_200E_200B_206A_200E_206C_206B_202C_206F_200F_200B_200D_206C_200C_206E_206B_200D_206D_206B_206D_202E(float P_0, Vector2 P_1, ImU8String P_2) + { + ImGui.ProgressBar(P_0, P_1, P_2); + } + + static void _200D_206B_200E_202E_206F_202A_202A_200C_206A_206A_206C_206F_206D_200C_200B_202D_206E_200E_206D_200E_202D_206E_202A_206F_206E_202E_206F_206C_200F_202B_202C_200F_202C_206A_200E_206E_206B_206D_206D_206E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ImDrawListPtr _200F_206B_202A_206D_206C_206E_200F_206C_202A_200E_206A_200F_200E_206F_200B_200D_202C_206C_206D_200B_200F_200C_202D_206D_200F_206B_206E_200B_200B_202B_206C_200C_206F_206F_206E_200F_202A_206B_200F_200F_202E() + { + return ImGui.GetWindowDrawList(); + } + + static uint _206D_200E_206D_202B_200B_206C_206F_202C_202B_206A_202B_202E_200C_206D_206B_200C_206D_202D_206C_202C_202E_202A_200E_200B_202A_206C_202E_200F_206A_202C_206B_200E_206C_202C_200C_206A_202A_202D_206E_202E_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static ImFontPtr _206A_202D_202B_202B_206C_206E_206A_200D_206C_206C_200B_202E_206A_200D_200C_206C_200D_200F_200D_206F_206E_202A_202E_202E_202D_206F_202E_200D_202E_200C_206A_200C_202D_206D_206A_200B_206C_202E_206D_206A_202E() + { + return UiBuilder.IconFont; + } + + static void _200B_202D_200D_202B_200F_206F_206E_202D_202B_206F_206F_202C_206F_206A_202D_200F_206A_206F_206C_206D_206C_200C_200D_206C_202C_206E_200F_200F_206E_202B_206C_206E_200E_200C_202A_202C_206A_206B_200F_206C_202E(ImFontPtr P_0) + { + ImGui.PushFont(P_0); + } + + static string _200C_206C_202A_200F_202B_202C_206D_200D_200F_200F_206C_206F_200D_202E_202A_200C_200B_206E_206B_202A_206B_202D_206F_202A_200C_206E_200E_200C_202E_202E_202A_206E_200D_200E_206F_202C_200E_206A_200D_206D_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static void _206A_206B_200D_206E_202C_202E_202C_200E_200B_206A_200D_206D_206A_202C_202E_206E_206F_200B_206C_206F_202A_202D_200C_206C_200B_200B_206C_200C_206E_200B_202E_202D_206E_202E_206F_202D_200D_206F_206D_206E_202E() + { + ImGui.PopFont(); + } + } + private readonly QuestData _questData; private readonly QuestRegistry _questRegistry; + private readonly QuestPriorityResolver _priorityResolver; + private readonly QuestFunctions _questFunctions; private readonly IDataManager _dataManager; @@ -36,613 +281,2164 @@ internal sealed class QuestSequenceComponent private int _hoveredSequenceId = -1; - public bool HasLookedUpQuest => _lookedUpQuestId != null; + public bool HasLookedUpQuest => _200E_206C_206B_200D_206C_200B_206B_206D_202C_206C_206C_206A_206D_202A_200F_206E_200D_200E_200C_202E_202A_200B_206B_206F_202C_200F_200F_200B_206C_202C_206A_200D_200F_206D_206C_206C_206F_200B_200B_206E_202E(_lookedUpQuestId, (ElementId)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; } + [MethodImpl(MethodImplOptions.NoInlining)] public static void DrawCustomHeader(ref bool isOpen) { - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - float x = ImGui.GetContentRegionAvail().X; - 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); - 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.SameLine(x - 35f); - ImGui.SetCursorPosY(ImGui.GetCursorPosY() - num2 + ImGui.GetStyle().ItemSpacing.Y); - using (ImRaii.PushColor(ImGuiCol.Button, Vector4.Zero)) + Vector2 vector = _202D_202C_202D_200B_202E_200F_206E_206C_206C_200B_200E_202C_202A_200E_206D_200F_206D_206B_206B_202B_206B_206F_206C_202E_206B_202D_200F_200F_202D_202C_206F_206A_206D_206D_200C_200D_202D_200E_202E_206C_202E(); + float x = _200C_206F_200C_202D_206F_200C_202E_202A_200F_206A_200D_206B_206D_206C_202C_200C_202E_200C_200F_206C_200C_202D_206D_200D_206C_202B_202C_202B_202E_206C_202C_202C_202E_200D_206D_206A_202B_202A_202C_202A_202E().X; + float num = _200B_206E_202A_206F_206E_206B_206B_202E_202C_200C_200F_206D_200E_206F_200F_202D_206D_200D_206C_206C_206A_200D_200D_202E_206C_206C_206B_206D_200D_202E_202A_202B_202B_200C_202E_200D_206A_206B_202A_202D_202E() + _200B_202B_202D_202E_206C_206A_200C_202C_206D_202A_206D_206B_202E_202E_206C_202C_200D_206B_206D_202E_206F_202A_200C_202A_206F_206F_206D_206A_202D_200E_202E_202B_206C_206B_206C_206A_202E_202B_200F_206F_202E().ItemSpacing.Y * 1.5f; + ImDrawListPtr imDrawListPtr = _206E_200C_200E_206F_200D_200D_202A_206B_202D_202D_206F_202C_200D_200C_200D_200F_200B_202A_206C_206B_202C_200E_202E_206A_206A_202C_202B_200E_206B_200C_206F_200C_200B_200B_206B_200E_200F_206E_200D_206D_202E(); + imDrawListPtr.AddRectFilledMultiColor(vector, vector + new Vector2(x, num), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(new Vector4(0.22f, 0.2f, 0.28f, 0.85f)), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(new Vector4(0.18f, 0.16f, 0.24f, 0.85f)), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(new Vector4(0.18f, 0.16f, 0.24f, 0.85f)), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(new Vector4(0.22f, 0.2f, 0.28f, 0.85f))); + Vector2 p = vector + new Vector2(0f, num); + Vector2 p2 = vector + new Vector2(x, num); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.5f; + imDrawListPtr.AddLine(p, p2, _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(accentColor), 2f); + float num2 = _200F_202A_206E_200C_202C_202D_206C_206C_202B_206E_202B_202B_202C_206D_206C_200C_206B_206A_206D_206D_202E_200B_206A_206C_202E_200F_200D_206A_200B_202E_200D_202D_200E_206E_200B_202D_206B_206A_206E_206D_202E(); + float num3 = (num - num2) * 0.5f; + _202C_206E_206D_200E_206E_200F_206D_206F_200B_202A_200B_202D_202C_206D_202B_202D_200D_200F_202B_200E_202A_200D_200B_206B_202C_202B_200D_202A_202D_202B_202B_206D_206D_206A_202A_202C_200B_206A_200C_206C_202E(_206E_200C_200C_202E_206F_202E_200F_200E_200F_206F_206B_206B_206A_202B_202B_202D_202D_206F_206E_200B_206F_200F_200D_200D_206E_200E_206D_206E_206C_206D_206E_202B_200B_200D_206A_206D_206D_202C_202D_202E_202E() + num3); + _202C_206D_200E_200B_200B_202D_206A_200F_200E_202B_206B_200D_200E_200F_206D_206B_206B_202B_202C_200E_206C_200C_206F_200E_202A_200B_206E_202B_202A_206F_206A_202D_206B_206B_202E_202C_206E_202D_200C_202C_202E(_206F_206D_206B_206B_202D_202A_202A_200F_200B_202E_206B_200B_206B_202A_202D_200E_200D_206F_206E_206D_206E_206E_206A_206E_200E_206C_200C_206C_200B_202B_206E_202D_200D_206E_202D_200D_206F_206D_206B_202B_202E() + 10f); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref UiThemeUtils.PrimaryTextColor, (ImU8String)global::_003CModule_003E._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(769981112)); + _206F_200D_202B_200C_202D_202A_200C_200F_206C_200C_202A_200E_206A_202C_202E_200E_206A_200F_206B_206D_206A_206F_202B_206B_206E_200E_202C_206A_200C_200F_202A_206A_202A_200E_206C_206D_206C_200E_202C_202C_202E(x - 35f); + _202C_206E_206D_200E_206E_200F_206D_206F_200B_202A_200B_202D_202C_206D_202B_202D_200D_200F_202B_200E_202A_200D_200B_206B_202C_202B_200D_202A_202D_202B_202B_206D_206D_206A_202A_202C_200B_206A_200C_206C_202E(_206E_200C_200C_202E_206F_202E_200F_200E_200F_206F_206B_206B_206A_202B_202B_202D_202D_206F_206E_200B_206F_200F_200D_200D_206E_200E_206D_206E_206C_206D_206E_202B_200B_200D_206A_206D_206D_202C_202D_202E_202E() - num3 + _200B_202B_202D_202E_206C_206A_200C_202C_206D_202A_206D_206B_202E_202E_206C_202C_200D_206B_206D_202E_206F_202A_200C_202A_206F_206F_206D_206A_202D_200E_202E_202B_206C_206B_206C_206A_202E_202B_200F_206F_202E().ItemSpacing.Y); + ImRaii.ColorDisposable colorDisposable = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.Button, Vector4.Zero, true); + try { - using (ImRaii.PushColor(ImGuiCol.ButtonHovered, new Vector4(0.8f, 0.3f, 0.3f, 0.4f))) + ImRaii.ColorDisposable colorDisposable2 = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.ButtonHovered, new Vector4(0.8f, 0.3f, 0.3f, 0.4f), true); + try { - using (ImRaii.PushColor(ImGuiCol.ButtonActive, new Vector4(0.9f, 0.2f, 0.2f, 0.6f))) + ImRaii.ColorDisposable colorDisposable3 = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.ButtonActive, new Vector4(0.9f, 0.2f, 0.2f, 0.6f), true); + try { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Times)) + int num4 = ((!_202A_206F_200B_200B_206D_200E_206D_200D_206A_200D_202D_206D_200C_202C_206B_202A_206F_202B_206E_206A_200B_200E_206D_200D_200B_206F_202A_202B_200B_202A_200B_206E_206D_202C_202E_200B_202A_202B_206E_200E_202E(FontAwesomeIcon.Times)) ? (-799147489) : (-799147492)); + while (true) { - isOpen = false; + int num5 = num4; + int num6 = -799147490; + int num7 = num5; + switch ((num7 | num6) - (num7 & num6)) + { + case 0: + num4 = -799147492; + break; + case 2: + isOpen = false; + num4 = -799147489; + break; + case 1: + goto end_IL_01fa; + } + continue; + end_IL_01fa: + break; + } + } + finally + { + int num4 = ((colorDisposable3 == null) ? (-216661876) : (-216661873)); + while (true) + { + int num8 = num4; + int num6 = -216661875; + int num7 = num8; + switch ((num7 | num6) - (num7 & num6)) + { + case 1: + goto end_IL_0265; + case 2: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable3); + num4 = -216661876; + break; + case 0: + num4 = -216661873; + break; + } + continue; + end_IL_0265: + break; } } } + finally + { + int num4 = ((colorDisposable2 == null) ? (-1685088427) : (-1685088426)); + while (true) + { + int num9 = num4; + int num6 = -1685088428; + int num7 = num9; + int num10 = num7 + num6; + int num11 = num7 & num6; + switch (num10 - (num11 + num11)) + { + case 0: + num4 = -1685088426; + break; + case 2: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable2); + num4 = -1685088427; + break; + case 1: + goto end_IL_02d0; + } + continue; + end_IL_02d0: + break; + } + } } - ImGui.SetCursorPosY(cursorScreenPos.Y + num - ImGui.GetCursorScreenPos().Y + ImGui.GetCursorPosY()); + finally + { + int num4 = ((colorDisposable == null) ? 1591897086 : 1591897085); + while (true) + { + int num12 = num4; + int num6 = 1591897084; + int num7 = num12; + switch ((num7 | num6) - (num7 & num6)) + { + case 0: + num4 = 1591897085; + break; + case 2: + goto end_IL_033d; + case 1: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable); + num4 = 1591897086; + break; + } + continue; + end_IL_033d: + break; + } + } + _202C_206E_206D_200E_206E_200F_206D_206F_200B_202A_200B_202D_202C_206D_202B_202D_200D_200F_202B_200E_202A_200D_200B_206B_202C_202B_200D_202A_202D_202B_202B_206D_206D_206A_202A_202C_200B_206A_200C_206C_202E(vector.Y + num - _202D_202C_202D_200B_202E_200F_206E_206C_206C_200B_200E_202C_202A_200E_206D_200F_206D_206B_206B_202B_206B_206F_206C_202E_206B_202D_200F_200F_202D_202C_206F_206A_206D_206D_200C_200D_202D_200E_202E_206C_202E().Y + _206E_200C_200C_202E_206F_202E_200F_200E_200F_206F_206B_206B_206A_202B_202B_202D_202D_206F_206E_200B_206F_200F_200D_200D_206E_200E_206D_206E_206C_206D_206E_202B_200B_200D_206A_206D_206D_202C_202D_202E_202E()); } public static void DrawWindowBorder() { - 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); + ImDrawListPtr imDrawListPtr = _206E_200C_200E_206F_200D_200D_202A_206B_202D_202D_206F_202C_200D_200C_200D_200F_200B_202A_206C_206B_202C_200E_202E_206A_206A_202C_202B_200E_206B_200C_206F_200C_200B_200B_206B_200E_200F_206E_200D_206D_202E(); + Vector2 vector = _202E_206D_202A_202A_200F_202C_206B_200D_200B_206E_206C_200F_202E_206C_200D_200E_206E_206A_202B_202B_206E_202C_202B_202A_202C_200D_206F_206E_202A_202C_200E_206E_200C_206F_206C_206C_202D_206A_200B_202B_202E(); + Vector2 vector2 = _206F_206C_202A_206C_206B_200B_200D_202E_202E_202C_206C_206A_202D_200F_200C_200E_200D_200B_202D_206B_200D_200F_200D_202C_206A_206B_200D_206E_206F_206E_206B_200B_206C_202E_200C_206E_206F_206A_200B_202E_202E(); + Vector2 pMin = vector - new Vector2(1f, 1f); + Vector2 pMax = vector + vector2 + new Vector2(1f, 1f); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.15f; + imDrawListPtr.AddRect(pMin, pMax, _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(accentColor), 5f, ImDrawFlags.None, 3f); + Vector2 pMax2 = vector + vector2; + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.4f; + imDrawListPtr.AddRect(vector, pMax2, _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(accentColor), 4f, ImDrawFlags.None, 1.5f); } + [MethodImpl(MethodImplOptions.NoInlining)] 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; + int num = ((!_202B_200B_206B_200C_200C_200B_202C_202D_200F_200C_200B_202E_202B_200B_206C_200E_200D_202E_202E_206C_202E_200B_206D_206F_202D_200D_200E_202C_200C_200F_200E_200E_202D_202D_202A_206B_202B_200D_202C_200C_202E(elementId, (ElementId)null)) ? (-1494991257) : (-1494991255)); + (QuestId, byte)? currentQuestWithoutPath = default((QuestId, byte)?); + QuestId questId = default(QuestId); + IQuestInfo questInfo = default(IQuestInfo); + while (true) { - DrawQuestSequences(tuple.Item1, tuple.Item2); - } - 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)); - } - if (!(tuple.Item1 is QuestId questId)) - { - return; - } - ImGui.Spacing(); - if (ImGui.Button("Copy filename")) - { - if (_questData.TryGetQuestInfo(questId, out IQuestInfo questInfo)) + int num2 = num; + int num3 = -1494991263; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - ImGui.SetClipboardText(GetSequenceFilename(questId.Value, questInfo.Name)); - } - else + case 6: + num = ((!_200E_206C_206B_200D_206C_200B_206B_206D_202C_206C_206C_206A_206D_202A_200F_206E_200D_200E_200C_202E_202A_200B_206B_206F_202C_200F_200F_200B_206C_202C_206A_200D_200F_206D_206C_206C_206F_200B_200B_206E_202E(elementId, (ElementId)null)) ? (-1494991252) : (-1494991253)); + break; + case 4: { - ImGui.SetClipboardText(GetSequenceFilename(questId.Value, questId.Value.ToString(CultureInfo.InvariantCulture))); + (QuestId, byte) valueOrDefault = currentQuestWithoutPath.GetValueOrDefault(); + elementId = valueOrDefault.Item1; + currentSequence = valueOrDefault.Item2; + num = -1494991257; + break; + } + case 0: + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + num = ((!_200D_202D_202A_206C_202D_200D_206A_202D_206B_206D_206C_206E_206E_200F_206E_206D_206C_202D_200E_206A_206C_200C_206F_202B_206F_206B_200E_200B_200C_202A_206A_206E_202E_206D_202B_200B_206A_202D_206F_200C_202E((ImU8String)global::_003CModule_003E._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(1742019776), default(Vector2))) ? (-1494991261) : (-1494991251)); + break; + case 2: + num = ((!_200D_202E_200E_206F_202D_200F_202A_206F_206C_206C_202B_206E_202A_202B_202C_202E_202E_200D_202E_206E_200C_200E_200E_202D_202D_202D_206A_206D_206D_206B_202C_200C_200D_200D_200F_206E_202B_206A_206A_202C_202E()) ? (-1494991262) : (-1494991256)); + break; + case 10: + DrawQuestSequences(elementId, currentSequence); + num = -1494991264; + break; + case 7: + num = -1494991255; + break; + case 11: + _206E_206B_200E_206B_206C_202E_200E_200E_202A_200F_202C_202B_200E_200D_206E_202A_200C_206D_202D_206A_206D_200C_206A_202C_202A_206C_202D_206C_200D_202C_206D_206F_202D_200F_206A_202A_202E_206C_202B_206D_202E((ImU8String)GetSequenceFilename(_200E_202C_202B_202A_202B_200B_202A_200D_200D_206F_200D_202D_206E_206F_202C_206E_202A_200E_202C_206B_200B_206B_200F_206A_200E_202C_206A_202B_206F_206E_200E_202E_206A_206A_200B_200C_202C_206E_202D_200D_202E((ElementId)questId), _200E_202C_202B_202A_202B_200B_202A_200D_200D_206F_200D_202D_206E_206F_202C_206E_202A_200E_202C_206B_200B_206B_200F_206A_200E_202C_206A_202B_206F_206E_200E_202E_206A_206A_200B_200C_202C_206E_202D_200D_202E((ElementId)questId).ToString(_206A_202E_200E_200F_200E_200E_200D_206B_202D_206E_200D_202A_206B_202C_206D_202B_202C_200C_202B_202B_206B_200F_206A_202E_206E_202B_200D_202B_202E_206E_202B_206A_202A_206C_202B_206A_202B_202E_206D_200F_202E()))); + num = -1494991261; + break; + case 8: + currentQuestWithoutPath = _questFunctions.GetCurrentQuestWithoutPath(); + num = ((!currentQuestWithoutPath.HasValue) ? (-1494991257) : (-1494991259)); + break; + case 12: + num = ((!_questData.TryGetQuestInfo(questId, out questInfo)) ? (-1494991254) : (-1494991260)); + break; + case 5: + _206E_206B_200E_206B_206C_202E_200E_200E_202A_200F_202C_202B_200E_200D_206E_202A_200C_206D_202D_206A_206D_200C_206A_202C_202A_206C_202D_206C_200D_202C_206D_206F_202D_200F_206A_202A_202E_206C_202B_206D_202E((ImU8String)GetSequenceFilename(_200E_202C_202B_202A_202B_200B_202A_200D_200D_206F_200D_202D_206E_206F_202C_206E_202A_200E_202C_206B_200B_206B_200F_206A_200E_202C_206A_202B_206F_206E_200E_202E_206A_206A_200B_200C_202C_206E_202D_200D_202E((ElementId)questId), questInfo.Name)); + num = -1494991261; + break; + case 9: + _202A_202A_200D_206D_206F_202D_200B_206B_202A_200F_200C_200E_202B_206A_202B_202E_200F_202D_206A_206C_200E_202C_200C_202D_200D_206B_206C_202B_206D_206E_200D_202A_206C_200C_206F_200D_202D_206E_200F_202E((ImU8String)global::_003CModule_003E._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(2059620587)); + num = -1494991262; + break; + case 1: + questId = elementId as QuestId; + num = (((object)questId == null) ? (-1494991262) : (-1494991263)); + break; + case 3: + return; + case 13: + { + string title = global::_003CModule_003E._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(1225613667); + string message = global::_003CModule_003E._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(884791283); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.7f; + DrawEmptyState(FontAwesomeIcon.QuestionCircle, title, message, accentColor); + num = -1494991264; + break; + } } - } - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Copies filename as QuestID_QuestNameWithSpaces.json"); } } + [MethodImpl(MethodImplOptions.NoInlining)] public void DrawQuestLookupTab() { - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - 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); - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + ImGui.GetStyle().ItemSpacing.Y * 1.5f); - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 10f); - using (ImRaii.PushFont(UiBuilder.IconFont)) + Vector2 vector = _202D_202C_202D_200B_202E_200F_206E_206C_206C_200B_200E_202C_202A_200E_206D_200F_206D_206B_206B_202B_206B_206F_206C_202E_206B_202D_200F_200F_202D_202C_206F_206A_206D_206D_200C_200D_202D_200E_202E_206C_202E(); + float y = _200B_206E_202A_206F_206E_206B_206B_202E_202C_200C_200F_206D_200E_206F_200F_202D_206D_200D_206C_206C_206A_200D_200D_202E_206C_206C_206B_206D_200D_202E_202A_202B_202B_200C_202E_200D_206A_206B_202A_202D_202E() + _200B_202B_202D_202E_206C_206A_200C_202C_206D_202A_206D_206B_202E_202E_206C_202C_200D_206B_206D_202E_206F_202A_200C_202A_206F_206F_206D_206A_202D_200E_202E_202B_206C_206B_206C_206A_202E_202B_200F_206F_202E().ItemSpacing.Y * 3f; + float x = _200C_206F_200C_202D_206F_200C_202E_202A_200F_206A_200D_206B_206D_206C_202C_200C_202E_200C_200F_206C_200C_202D_206D_200D_206C_202B_202C_202B_202E_206C_202C_202C_202E_200D_206D_206A_202B_202A_202C_202A_202E().X; + ImDrawListPtr imDrawListPtr = _206E_200C_200E_206F_200D_200D_202A_206B_202D_202D_206F_202C_200D_200C_200D_200F_200B_202A_206C_206B_202C_200E_202E_206A_206A_202C_202B_200E_206B_200C_206F_200C_200B_200B_206B_200E_200F_206E_200D_206D_202E(); + imDrawListPtr.AddRectFilledMultiColor(vector, vector + new Vector2(x, y), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(UiThemeUtils.CardBackgroundColor), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(UiThemeUtils.CardBackgroundColor), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(UiThemeUtils.CardBackgroundColor), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(UiThemeUtils.CardBackgroundColor)); + Vector2 pMax = vector + new Vector2(x, y); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.2f; + imDrawListPtr.AddRect(vector, pMax, _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(accentColor), 4f, ImDrawFlags.None, 1f); + _202C_206E_206D_200E_206E_200F_206D_206F_200B_202A_200B_202D_202C_206D_202B_202D_200D_200F_202B_200E_202A_200D_200B_206B_202C_202B_200D_202A_202D_202B_202B_206D_206D_206A_202A_202C_200B_206A_200C_206C_202E(_206E_200C_200C_202E_206F_202E_200F_200E_200F_206F_206B_206B_206A_202B_202B_202D_202D_206F_206E_200B_206F_200F_200D_200D_206E_200E_206D_206E_206C_206D_206E_202B_200B_200D_206A_206D_206D_202C_202D_202E_202E() + _200B_202B_202D_202E_206C_206A_200C_202C_206D_202A_206D_206B_202E_202E_206C_202C_200D_206B_206D_202E_206F_202A_200C_202A_206F_206F_206D_206A_202D_200E_202E_202B_206C_206B_206C_206A_202E_202B_200F_206F_202E().ItemSpacing.Y * 1.5f); + _202C_206D_200E_200B_200B_202D_206A_200F_200E_202B_206B_200D_200E_200F_206D_206B_206B_202B_202C_200E_206C_200C_206F_200E_202A_200B_206E_202B_202A_206F_206A_202D_206B_206B_202E_202C_206E_202D_200C_202C_202E(_206F_206D_206B_206B_202D_202A_202A_200F_200B_202E_206B_200B_206B_202A_202D_200E_200D_206F_206E_206D_206E_206E_206A_206E_200E_206C_200C_206C_200B_202B_206E_202D_200D_206E_202D_200D_206F_206D_206B_202B_202E() + 10f); + ImRaii.FontDisposable fontDisposable = _202E_206E_200F_200F_200F_206D_202D_202C_206A_206C_206B_206B_200F_202D_206C_200E_202D_206B_206D_200C_206F_200C_200C_206D_206A_202A_206A_202E_206D_200D_206C_206F_202D_200F_200E_202E_200F_200D_206F_202E_202E(_200D_206C_200F_202A_202E_206D_206E_202E_202A_206C_202C_202C_200C_202C_206D_202D_206F_200C_206F_200B_206A_200C_202A_200B_206E_202C_206D_202E_202A_200D_200F_200B_202B_202C_202C_206E_200F_200C_202A_202A_202E(), true); + int num; + try { - ImGui.TextColored(new Vector4(0.7f, 0.6f, 0.9f, 1f), FontAwesomeIcon.Search.ToIconString()); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref UiThemeUtils.AccentColor, (ImU8String)_200F_200C_206B_200B_206C_200E_206F_206C_206D_206A_200E_202B_206B_206E_202A_206C_202D_202E_200D_206E_202E_202A_206D_200B_206B_202C_202A_206A_206E_206D_202C_200F_206D_206E_202C_200E_202D_206F_200D_200C_202E(FontAwesomeIcon.Search)); } - ImGui.SameLine(); - float x2 = ImGui.GetStyle().ItemSpacing.X; - float num = 10f; - float num2 = 10f; - float num3 = ImGui.CalcTextSize("Search").X + ImGui.CalcTextSize(FontAwesomeIcon.Search.ToIconString()).X + ImGui.GetStyle().FramePadding.X * 4f + x2; - ImGui.SetNextItemWidth(x - num3 - x2 * 3f - num - num2); - using (ImRaii.PushColor(ImGuiCol.FrameBg, new Vector4(0.08f, 0.06f, 0.12f, 0.8f))) + finally { - using (ImRaii.PushColor(ImGuiCol.FrameBgHovered, new Vector4(0.12f, 0.1f, 0.18f, 0.9f))) + num = ((fontDisposable == null) ? 733147327 : 733147324); + while (true) { - using (ImRaii.PushColor(ImGuiCol.FrameBgActive, new Vector4(0.15f, 0.13f, 0.22f, 1f))) + int num2 = num; + int num3 = 733147325; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - bool flag = ImGui.InputTextWithHint("##QuestLookup", "Enter quest ID...", ref _questLookupInput, 10, ImGuiInputTextFlags.EnterReturnsTrue); - ImGui.SameLine(); - using (ImRaii.PushColor(ImGuiCol.Button, new Vector4(0.25f, 0.22f, 0.32f, 0.8f))) + case 0: + num = 733147324; + break; + case 1: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)fontDisposable); + num = 733147327; + break; + case 2: + goto end_IL_012c; + } + continue; + end_IL_012c: + break; + } + } + _200E_202D_200B_206E_200E_200D_202D_202B_202D_206F_206B_206A_202A_202A_206F_206B_200D_200F_200E_202C_206C_200B_206C_200E_200E_202E_200C_206C_202D_202A_206E_206B_200C_202D_200F_202C_206C_202C_202E_200D_202E(); + float x2 = _200B_202B_202D_202E_206C_206A_200C_202C_206D_202A_206D_206B_202E_202E_206C_202C_200D_206B_206D_202E_206F_202A_200C_202A_206F_206F_206D_206A_202D_200E_202E_202B_206C_206B_206C_206A_202E_202B_200F_206F_202E().ItemSpacing.X; + float num7 = 10f; + float num8 = 10f; + float num9 = _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E((ImU8String)global::_003CModule_003E._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(-1000418356), false, -1f).X + _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E((ImU8String)_200F_200C_206B_200B_206C_200E_206F_206C_206D_206A_200E_202B_206B_206E_202A_206C_202D_202E_200D_206E_202E_202A_206D_200B_206B_202C_202A_206A_206E_206D_202C_200F_206D_206E_202C_200E_202D_206F_200D_200C_202E(FontAwesomeIcon.Search), false, -1f).X + _200B_202B_202D_202E_206C_206A_200C_202C_206D_202A_206D_206B_202E_202E_206C_202C_200D_206B_206D_202E_206F_202A_200C_202A_206F_206F_206D_206A_202D_200E_202E_202B_206C_206B_206C_206A_202E_202B_200F_206F_202E().FramePadding.X * 4f + x2; + _206D_202D_200D_206E_200D_206F_206D_200E_206F_202B_202C_200E_200D_202E_206B_206A_200F_206D_206C_200F_206B_202C_202B_200D_206C_202D_206B_202E_202B_206B_206C_206E_200E_202C_202E_206E_206F_206F_202D_202A_202E(x - num9 - x2 * 3f - num7 - num8); + ImRaii.ColorDisposable colorDisposable = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.FrameBg, new Vector4(0.08f, 0.06f, 0.12f, 0.8f), true); + try + { + ImRaii.ColorDisposable colorDisposable2 = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.FrameBgHovered, new Vector4(0.12f, 0.1f, 0.18f, 0.9f), true); + try + { + ImRaii.ColorDisposable colorDisposable3 = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.FrameBgActive, new Vector4(0.15f, 0.13f, 0.22f, 1f), true); + try + { + bool flag = _200F_200B_206D_202E_206B_202E_202A_202B_206F_202D_206E_202D_200B_206C_200B_202C_200D_202A_206E_206A_200D_200C_200E_206C_206E_200E_206E_206F_206F_202A_206E_202C_200C_202B_206F_206F_200F_200D_200F_200D_202E((ImU8String)global::_003CModule_003E._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(300618578), (ImU8String)global::_003CModule_003E._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(-1207997573), ref _questLookupInput, 10, ImGuiInputTextFlags.EnterReturnsTrue, (ImGui.ImGuiInputTextCallbackDelegate)null); + _200E_202D_200B_206E_200E_200D_202D_202B_202D_206F_206B_206A_202A_202A_206F_206B_200D_200F_200E_202C_206C_200B_206C_200E_200E_202E_200C_206C_202D_202A_206E_206B_200C_202D_200F_202C_206C_202C_202E_200D_202E(); + ImRaii.ColorDisposable colorDisposable4 = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.Button, new Vector4(0.25f, 0.22f, 0.32f, 0.8f), true); + try { - using (ImRaii.PushColor(ImGuiCol.ButtonHovered, new Vector4(0.35f, 0.3f, 0.45f, 0.9f))) + ImRaii.ColorDisposable colorDisposable5 = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.ButtonHovered, new Vector4(0.35f, 0.3f, 0.45f, 0.9f), true); + try { - using (ImRaii.PushColor(ImGuiCol.ButtonActive, new Vector4(0.4f, 0.35f, 0.5f, 1f))) + ImRaii.ColorDisposable colorDisposable6 = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.ButtonActive, new Vector4(0.4f, 0.35f, 0.5f, 1f), true); + try { - bool flag2 = ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Search, "Search"); - if (flag || flag2) + bool flag2 = _206F_200D_206B_200B_202B_206A_206C_206B_200B_206D_200F_200D_202E_206B_206F_200B_202A_206E_200B_206C_200C_200D_206D_200E_202D_206D_202D_202B_200C_200B_206C_202C_206F_202A_200E_200C_206B_206F_202D_200E_202E(FontAwesomeIcon.Search, global::_003CModule_003E._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(1685583443), (Vector4?)null, (Vector4?)null, (Vector4?)null, (Vector2?)null); + int num3 = (flag2 ? 1 : 0); + int num4 = (flag ? 1 : 0); + num = (((num4 & num3) + (num4 ^ num3) == 0) ? (-688250819) : (-688250822)); + ushort result = default(ushort); + while (true) { - if (ushort.TryParse(_questLookupInput, out var result)) - { - _lookedUpQuestId = new QuestId(result); - } - else + int num10 = num; + num3 = -688250823; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) { + case 1: _lookedUpQuestId = null; + num = -688250819; + break; + case 3: + num = ((!ushort.TryParse(_questLookupInput, out result)) ? (-688250824) : (-688250821)); + break; + case 0: + num = -688250822; + break; + case 2: + _lookedUpQuestId = _206F_202A_200B_206F_202C_202B_200E_202C_206C_200F_200E_206D_202E_206D_202B_202E_202C_202C_200B_202B_202B_206E_202A_200F_202C_202A_200B_200D_206D_202D_202A_206B_202C_206B_206D_200B_206C_200D_206C_200D_202E(result); + goto end_IL_038b; + case 4: + goto end_IL_038b; } + continue; + end_IL_038b: + break; + } + } + finally + { + num = ((colorDisposable6 == null) ? 1463431846 : 1463431845); + while (true) + { + int num13 = num; + int num3 = 1463431844; + int num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_044c; + case 1: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable6); + num = 1463431846; + break; + case 0: + num = 1463431845; + break; + } + continue; + end_IL_044c: + break; } } } + finally + { + num = ((colorDisposable5 == null) ? 1672099567 : 1672099564); + while (true) + { + int num14 = num; + int num3 = 1672099565; + int num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) + { + case 0: + num = 1672099564; + break; + case 2: + goto end_IL_04b7; + case 1: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable5); + num = 1672099567; + break; + } + continue; + end_IL_04b7: + break; + } + } + } + finally + { + num = ((colorDisposable4 == null) ? 1061432150 : 1061432149); + while (true) + { + int num17 = num; + int num3 = 1061432151; + int num4 = num17; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1061432149; + break; + case 2: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable4); + num = 1061432150; + break; + case 1: + goto end_IL_0524; + } + continue; + end_IL_0524: + break; + } + } + } + finally + { + num = ((colorDisposable3 == null) ? 1572938025 : 1572938026); + while (true) + { + int num18 = num; + int num3 = 1572938027; + int num4 = num18; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1572938026; + break; + case 1: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable3); + num = 1572938025; + break; + case 2: + goto end_IL_058f; + } + continue; + end_IL_058f: + break; } } } + finally + { + num = ((colorDisposable2 == null) ? (-1890235398) : (-1890235399)); + while (true) + { + int num19 = num; + int num3 = -1890235400; + int num4 = num19; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1890235399; + break; + case 1: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable2); + num = -1890235398; + break; + case 2: + goto end_IL_05fa; + } + continue; + end_IL_05fa: + break; + } + } } - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + ImGui.GetStyle().ItemSpacing.Y * 1.5f); - ImGui.Spacing(); - ImGui.Spacing(); - if (_lookedUpQuestId != null) + finally { - DrawQuestSequences(_lookedUpQuestId, null); + num = ((colorDisposable == null) ? 193392893 : 193392892); + while (true) + { + int num20 = num; + int num3 = 193392893; + int num4 = num20; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 193392892; + break; + case 1: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable); + num = 193392893; + break; + case 0: + goto end_IL_0665; + } + continue; + end_IL_0665: + break; + } } - else + _202C_206E_206D_200E_206E_200F_206D_206F_200B_202A_200B_202D_202C_206D_202B_202D_200D_200F_202B_200E_202A_200D_200B_206B_202C_202B_200D_202A_202D_202B_202B_206D_206D_206A_202A_202C_200B_206A_200C_206C_202E(_206E_200C_200C_202E_206F_202E_200F_200E_200F_206F_206B_206B_206A_202B_202B_202D_202D_206F_206E_200B_206F_200F_200D_200D_206E_200E_206D_206E_206C_206D_206E_202B_200B_200D_206A_206D_206D_202C_202D_202E_202E() + _200B_202B_202D_202E_206C_206A_200C_202C_206D_202A_206D_206B_202E_202E_206C_202C_200D_206B_206D_202E_206F_202A_200C_202A_206F_206F_206D_206A_202D_200E_202E_202B_206C_206B_206C_206A_202E_202B_200F_206F_202E().ItemSpacing.Y * 1.5f); + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + num = ((!_200E_206C_206B_200D_206C_200B_206B_206D_202C_206C_206C_206A_206D_202A_200F_206E_200D_200E_200C_202E_202A_200B_206B_206F_202C_200F_200F_200B_206C_202C_206A_200D_200F_206D_206C_206C_206F_200B_200B_206E_202E(_lookedUpQuestId, (ElementId)null)) ? (-1802651693) : (-1802651696)); + while (true) { - 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)); + int num21 = num; + int num3 = -1802651694; + int num4 = num21; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + { + string title = global::_003CModule_003E._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(1963178389); + string message = global::_003CModule_003E._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(-1869992260); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.7f; + DrawEmptyState(FontAwesomeIcon.Search, title, message, accentColor); + return; + } + case 2: + DrawQuestSequences(_lookedUpQuestId, null); + return; + case 0: + goto IL_077f; + } + continue; + IL_077f: + num = -1802651696; } } private static void DrawEmptyState(FontAwesomeIcon icon, string title, string message, Vector4 iconColor) { - float y = ImGui.GetContentRegionAvail().Y; - float x = ImGui.GetContentRegionAvail().X; - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + y * 0.25f); - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - ImGui.PushFont(UiBuilder.IconFont); - string text = icon.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--) + float y = _200C_206F_200C_202D_206F_200C_202E_202A_200F_206A_200D_206B_206D_206C_202C_200C_202E_200C_200F_206C_200C_202D_206D_200D_206C_202B_202C_202B_202E_206C_202C_202C_202E_200D_206D_206A_202B_202A_202C_202A_202E().Y; + float x = _200C_206F_200C_202D_206F_200C_202E_202A_200F_206A_200D_206B_206D_206C_202C_200C_202E_200C_200F_206C_200C_202D_206D_200D_206C_202B_202C_202B_202E_206C_202C_202C_202E_200D_206D_206A_202B_202A_202C_202A_202E().X; + _202C_206E_206D_200E_206E_200F_206D_206F_200B_202A_200B_202D_202C_206D_202B_202D_200D_200F_202B_200E_202A_200D_200B_206B_202C_202B_200D_202A_202D_202B_202B_206D_206D_206A_202A_202C_200B_206A_200C_206C_202E(_206E_200C_200C_202E_206F_202E_200F_200E_200F_206F_206B_206B_206A_202B_202B_202D_202D_206F_206E_200B_206F_200F_200D_200D_206E_200E_206D_206E_206C_206D_206E_202B_200B_200D_206A_206D_206D_202C_202D_202E_202E() + y * 0.25f); + Vector2 vector = _202D_202C_202D_200B_202E_200F_206E_206C_206C_200B_200E_202C_202A_200E_206D_200F_206D_206B_206B_202B_206B_206F_206C_202E_206B_202D_200F_200F_202D_202C_206F_206A_206D_206D_200C_200D_202D_200E_202E_206C_202E(); + _202E_202D_202E_206D_206B_206F_202E_202D_200F_206C_200F_202B_206B_202D_206B_200D_206B_206A_202E_200B_202B_202E_200F_202A_200C_200D_206B_202B_206B_206D_202A_206A_206D_202B_200B_206C_202A_206E_202A_206E_202E(_200D_206C_200F_202A_202E_206D_206E_202E_202A_206C_202C_202C_200C_202C_206D_202D_206F_200C_206F_200B_206A_200C_202A_200B_206E_202C_206D_202E_202A_200D_200F_200B_202B_202C_202C_206E_200F_200C_202A_202A_202E()); + string text = _200F_200C_206B_200B_206C_200E_206F_206C_206D_206A_200E_202B_206B_206E_202A_206C_202D_202E_200D_206E_202E_202A_206D_200B_206B_202C_202A_206A_206E_206D_202C_200F_206D_206E_202C_200E_202D_206F_200D_200C_202E(icon); + Vector2 vector2 = _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E((ImU8String)text, false, -1f); + vector2 *= 2.5f; + ImDrawListPtr imDrawListPtr = _206E_200C_200E_206F_200D_200D_202A_206B_202D_202D_206F_202C_200D_200C_200D_200F_200B_202A_206C_206B_202C_200E_202E_206A_206A_202C_202B_200E_206B_200C_206F_200C_200B_200B_206B_200E_200F_206E_200D_206D_202E(); + Vector2 vector3 = new Vector2(x * 0.5f, 0f) + vector + new Vector2(0f, vector2.Y * 0.5f); + int num = 3; + int num2 = 61091441; + while (true) { - Vector4 col = new Vector4(iconColor.X, iconColor.Y, iconColor.Z, iconColor.W * 0.1f * (float)num); - ImGui.SetCursorScreenPos(vector2 - vector * 0.5f - new Vector2(num * 2, num * 2)); - ImGui.TextColored(in col, text); + int num3 = num2; + int num4 = 61091442; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = 61091441; + break; + case 3: + num2 = ((num > 0) ? 61091443 : 61091440); + break; + case 2: + { + _202B_206F_200B_206F_206E_206B_200B_200C_200C_200C_200D_206C_206D_202C_202B_200F_206A_202A_202D_200D_206B_206C_206A_200B_206B_206D_200B_206A_202E_206F_206D_200F_200B_206B_202D_206D_202B_200F_202D_206C_202E(vector3 - vector2 * 0.5f); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref iconColor, (ImU8String)text); + _206A_202D_200F_202E_202E_200C_202C_206C_202A_200C_206F_206E_200B_206F_202B_202E_200E_202B_200F_206A_206E_202E_202E_202D_200E_202D_202C_202C_202D_206E_200E_200E_202B_206F_200C_200F_200F_206B_206E_202B_202E(); + _202C_206E_206D_200E_206E_200F_206D_206F_200B_202A_200B_202D_202C_206D_202B_202D_200D_200F_202B_200E_202A_200D_200B_206B_202C_202B_200D_202A_202D_202B_202B_206D_206D_206A_202A_202C_200B_206A_200C_206C_202E(_206E_200C_200C_202E_206F_202E_200F_200E_200F_206F_206B_206B_206A_202B_202B_202D_202D_206F_206E_200B_206F_200F_200D_200D_206E_200E_206D_206E_206C_206D_206E_202B_200B_200D_206A_206D_206D_202C_202D_202E_202E() + vector2.Y * 0.5f + 20f); + Vector2 vector5 = _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E((ImU8String)title, false, -1f); + Vector2 vector6 = new Vector2((x - vector5.X) * 0.5f, 0f) + _202D_202C_202D_200B_202E_200F_206E_206C_206C_200B_200E_202C_202A_200E_206D_200F_206D_206B_206B_202B_206B_206F_206C_202E_206B_202D_200F_200F_202D_202C_206F_206A_206D_206D_200C_200D_202D_200E_202E_206C_202E(); + imDrawListPtr.AddText(vector6 + new Vector2(1f, 1f), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(new Vector4(0f, 0f, 0f, 0.5f)), title); + _202C_206D_200E_200B_200B_202D_206A_200F_200E_202B_206B_200D_200E_200F_206D_206B_206B_202B_202C_200E_206C_200C_206F_200E_202A_200B_206E_202B_202A_206F_206A_202D_206B_206B_202E_202C_206E_202D_200C_202C_202E((x - vector5.X) * 0.5f); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref UiThemeUtils.PrimaryTextColor, (ImU8String)title); + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + _202C_206D_200E_200B_200B_202D_206A_200F_200E_202B_206B_200D_200E_200F_206D_206B_206B_202B_202C_200E_206C_200C_206F_200E_202A_200B_206E_202B_202A_206F_206A_202D_206B_206B_202E_202C_206E_202D_200C_202C_202E(_202A_200E_206E_202A_202C_200B_200F_200D_206A_200C_200F_206D_200E_202C_206B_206E_206D_200D_200C_206E_206D_206B_200F_206A_206A_200E_206E_202E_200F_200E_202B_200F_200D_206A_202E_202E_200C_202B_202D_200E_202E(0f, (x - _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E((ImU8String)message, false, -1f).X) * 0.5f)); + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, message); + return; + } + case 1: + { + Vector4 vector4 = new Vector4(iconColor.X, iconColor.Y, iconColor.Z, iconColor.W * 0.1f * (float)num); + _202B_206F_200B_206F_206E_206B_200B_200C_200C_200C_200D_206C_206D_202C_202B_200F_206A_202A_202D_200D_206B_206C_206A_200B_206B_206D_200B_206A_202E_206F_206D_200F_200B_206B_202D_206D_202B_200F_202D_206C_202E(vector3 - vector2 * 0.5f - new Vector2(num * 2, num * 2)); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref vector4, (ImU8String)text); + int num8 = num; + num4 = 1; + num5 = num8; + num = ~(~num5 + num4); + num2 = 61091441; + break; + } + } } - ImGui.SetCursorScreenPos(vector2 - vector * 0.5f); - ImGui.TextColored(in iconColor, text); - ImGui.PopFont(); - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + vector.Y * 0.5f + 20f); - Vector2 vector3 = ImGui.CalcTextSize(title); - 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.Spacing(); - ImGui.Spacing(); - ImGui.SetCursorPosX((x - ImGui.CalcTextSize(message).X) * 0.5f); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), message); } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawQuestSequences(ElementId questElementId, byte? currentSequence) { - if (!(questElementId is QuestId questId)) + QuestId questId = questElementId as QuestId; + int num = (((object)questId != null) ? (-1912268142) : (-1912268139)); + Vector2 vector = default(Vector2); + float num20 = default(float); + float x = default(float); + IQuestInfo questInfo = default(IQuestInfo); + float reservedRightWidth = default(float); + Questionable.Model.Quest quest2 = default(Questionable.Model.Quest); + int num25 = default(int); + List list = default(List); + int num27 = default(int); + bool flag2 = default(bool); + HashSet hashSet = default(HashSet); + Dictionary dictionary = default(Dictionary); + bool flag = default(bool); + QuestSequence current = default(QuestSequence); + float num32 = default(float); + while (true) { - DrawErrorState("Invalid Quest ID Type", "This viewer only supports regular quest IDs."); - return; - } - if (!_questData.TryGetQuestInfo(questElementId, out IQuestInfo questInfo)) - { - DrawErrorState($"Quest {questId.Value} Not Found", "This quest ID does not exist in the game data."); - return; - } - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - 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); - 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.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); - ImU8String text = new ImU8String(6, 1); - text.AppendLiteral("(ID: "); - text.AppendFormatted(questId.Value); - text.AppendLiteral(")"); - ImGui.TextColored(in col, text); - ImGui.SameLine(); - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + 8f); - using (ImRaii.PushColor(ImGuiCol.Button, new Vector4(0.18f, 0.16f, 0.22f, 0.8f))) - { - using (ImRaii.PushColor(ImGuiCol.ButtonHovered, new Vector4(0.28f, 0.24f, 0.32f, 0.95f))) + int num2 = num; + int num3 = -1912268144; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - using (ImRaii.PushColor(ImGuiCol.ButtonActive, new Vector4(0.35f, 0.3f, 0.45f, 1f))) + case 6: + num = -1912268139; + break; + case 3: + { + vector = _202D_202C_202D_200B_202E_200F_206E_206C_206C_200B_200E_202C_202A_200E_206D_200F_206D_206B_206B_202B_206B_206F_206C_202E_206B_202D_200F_200F_202D_202C_206F_206A_206D_206D_200C_200D_202D_200E_202E_206C_202E(); + num20 = _200B_206E_202A_206F_206E_206B_206B_202E_202C_200C_200F_206D_200E_206F_200F_202D_206D_200D_206C_206C_206A_200D_200D_202E_206C_206C_206B_206D_200D_202E_202A_202B_202B_200C_202E_200D_206A_206B_202A_202D_202E() * 1.8f; + float x2 = _200C_206F_200C_202D_206F_200C_202E_202A_200F_206A_200D_206B_206D_206C_202C_200C_202E_200C_200F_206C_200C_202D_206D_200D_206C_202B_202C_202B_202E_206C_202C_202C_202E_200D_206D_206A_202B_202A_202C_202A_202E().X; + ImDrawListPtr imDrawListPtr = _206E_200C_200E_206F_200D_200D_202A_206B_202D_202D_206F_202C_200D_200C_200D_200F_200B_202A_206C_206B_202C_200E_202E_206A_206A_202C_202B_200E_206B_200C_206F_200C_200B_200B_206B_200E_200F_206E_200D_206D_202E(); + imDrawListPtr.AddRectFilledMultiColor(vector, vector + new Vector2(x2, num20), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(UiThemeUtils.CardBackgroundColor), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(UiThemeUtils.CardBackgroundColor), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(UiThemeUtils.CardBackgroundColor), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(UiThemeUtils.CardBackgroundColor)); + Vector2 pMin = vector; + Vector2 pMax = vector + new Vector2(x2, num20); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.25f; + imDrawListPtr.AddRect(pMin, pMax, _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(accentColor), 4f, ImDrawFlags.None, 1f); + float num38 = _200F_202A_206E_200C_202C_202D_206C_206C_202B_206E_202B_202B_202C_206D_206C_200C_206B_206A_206D_206D_202E_200B_206A_206C_202E_200F_200D_206A_200B_202E_200D_202D_200E_206E_200B_202D_206B_206A_206E_206D_202E(); + float num39 = (num20 - num38) * 0.5f; + _202C_206E_206D_200E_206E_200F_206D_206F_200B_202A_200B_202D_202C_206D_202B_202D_200D_200F_202B_200E_202A_200D_200B_206B_202C_202B_200D_202A_202D_202B_202B_206D_206D_206A_202A_202C_200B_206A_200C_206C_202E(_206E_200C_200C_202E_206F_202E_200F_200E_200F_206F_206B_206B_206A_202B_202B_202D_202D_206F_206E_200B_206F_200F_200D_200D_206E_200E_206D_206E_206C_206D_206E_202B_200B_200D_206A_206D_206D_202C_202D_202E_202E() + num39); + _202C_206D_200E_200B_200B_202D_206A_200F_200E_202B_206B_200D_200E_200F_206D_206B_206B_202B_202C_200E_206C_200C_206F_200E_202A_200B_206E_202B_202A_206F_206A_202D_206B_206B_202E_202C_206E_202D_200C_202C_202E(_206F_206D_206B_206B_202D_202A_202A_200F_200B_202E_206B_200B_206B_202A_202D_200E_200D_206F_206E_206D_206E_206E_206A_206E_200E_206C_200C_206C_200B_202B_206E_202D_200D_206E_202D_200D_206F_206D_206B_202B_202E() + 10f); + _202E_202D_202E_206D_206B_206F_202E_202D_200F_206C_200F_202B_206B_202D_206B_200D_206B_206A_202E_200B_202B_202E_200F_202A_200C_200D_206B_202B_206B_206D_202A_206A_206D_202B_200B_206C_202A_206E_202A_206E_202E(_200D_206C_200F_202A_202E_206D_206E_202E_202A_206C_202C_202C_200C_202C_206D_202D_206F_200C_206F_200B_206A_200C_202A_200B_206E_202C_206D_202E_202A_200D_200F_200B_202B_202C_202C_206E_200F_200C_202A_202A_202E()); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref UiThemeUtils.AccentColor, (ImU8String)_200F_200C_206B_200B_206C_200E_206F_206C_206D_206A_200E_202B_206B_206E_202A_206C_202D_202E_200D_206E_202E_202A_206D_200B_206B_202C_202A_206A_206E_206D_202C_200F_206D_206E_202C_200E_202D_206F_200D_200C_202E(FontAwesomeIcon.Book)); + _206A_202D_200F_202E_202E_200C_202C_206C_202A_200C_206F_206E_200B_206F_202B_202E_200E_202B_200F_206A_206E_202E_202E_202D_200E_202D_202C_202C_202D_206E_200E_200E_202B_206F_200C_200F_200F_206B_206E_202B_202E(); + _200E_202D_200B_206E_200E_200D_202D_202B_202D_206F_206B_206A_202A_202A_206F_206B_200D_200F_200E_202C_206C_200B_206C_200E_200E_202E_200C_206C_202D_202A_206E_206B_200C_202D_200F_202C_206C_202C_202E_200D_202E(); + x = _200B_202B_202D_202E_206C_206A_200C_202C_206D_202A_206D_206B_202E_202E_206C_202C_200D_206B_206D_202E_206F_202A_200C_202A_206F_206F_206D_206A_202D_200E_202E_202B_206C_206B_206C_206A_202E_202B_200F_206F_202E().ItemSpacing.X; + ImU8String imU8String4 = new ImU8String(6, 1); + imU8String4.AppendLiteral(global::_003CModule_003E._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(1059552440)); + imU8String4.AppendFormatted(_200E_202C_202B_202A_202B_200B_202A_200D_200D_206F_200D_202D_206E_206F_202C_206E_202A_200E_202C_206B_200B_206B_200F_206A_200E_202C_206A_202B_206F_206E_200E_202E_206A_206A_200B_200C_202C_206E_202D_200D_202E((ElementId)questId)); + imU8String4.AppendLiteral(global::_003CModule_003E._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(1618480346)); + reservedRightWidth = _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E(imU8String4, false, -1f).X + x + 8f + _202E_206A_206A_206E_200D_202C_206B_200B_206B_206D_206C_202C_206D_206C_202B_202E_202D_206E_202C_206F_202A_202B_200B_202E_206A_206F_202C_206C_200B_202D_206A_202B_202C_206A_202B_200E_202B_202D_206C_206C_202E() + x; + num = ((!currentSequence.HasValue) ? (-1912268144) : (-1912268143)); + break; + } + case 2: + num = (_questData.TryGetQuestInfo(questElementId, out questInfo) ? (-1912268141) : (-1912268140)); + break; + case 1: + { + float num36 = reservedRightWidth; + float num37 = _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E((ImU8String)global::_003CModule_003E._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(1228468769), false, -1f).X + x * 2f; + ImU8String imU8String3 = new ImU8String(17, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(257374063)); + imU8String3.AppendFormatted(currentSequence.Value); + reservedRightWidth = num36 + (num37 + _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E(imU8String3, false, -1f).X + x); + num = -1912268144; + break; + } + case 5: + DrawErrorState(global::_003CModule_003E._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(301642767), global::_003CModule_003E._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(-21193391)); + return; + case 4: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(16, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1802346331)); + defaultInterpolatedStringHandler.AppendFormatted(_200E_202C_202B_202A_202B_200B_202A_200D_200D_206F_200D_202D_206E_206F_202C_206E_202A_200E_202C_206B_200B_206B_200F_206A_200E_202C_206A_202B_206F_206E_200E_202E_206A_206A_200B_200C_202C_206E_202D_200D_202E((ElementId)questId)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(790425552)); + DrawErrorState(defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1239783135)); + return; + } + case 0: + { + reservedRightWidth += 12f; + UiThemeUtils.RowLabel(questInfo.Name, reservedRightWidth, UiThemeUtils.PrimaryTextColor); + _200E_202D_200B_206E_200E_200D_202D_202B_202D_206F_206B_206A_202A_202A_206F_206B_200D_200F_200E_202C_206C_200B_206C_200E_200E_202E_200C_206C_202D_202A_206E_206B_200C_202D_200F_202C_206C_202C_202E_200D_202E(); + ImU8String imU8String = new ImU8String(6, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1253477708)); + imU8String.AppendFormatted(_200E_202C_202B_202A_202B_200B_202A_200D_200D_206F_200D_202D_206E_206F_202C_206E_202A_200E_202C_206B_200B_206B_200F_206A_200E_202C_206A_202B_206F_206E_200E_202E_206A_206A_200B_200C_202C_206E_202D_200D_202E((ElementId)questId)); + imU8String.AppendLiteral(global::_003CModule_003E._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(444206578)); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref UiThemeUtils.DimTextColor, imU8String); + _200E_202D_200B_206E_200E_200D_202D_202B_202D_206F_206B_206A_202A_202A_206F_206B_200D_200F_200E_202C_206C_200B_206C_200E_200E_202E_200C_206C_202D_202A_206E_206B_200C_202D_200F_202C_206C_202C_202E_200D_202E(); + _202C_206D_200E_200B_200B_202D_206A_200F_200E_202B_206B_200D_200E_200F_206D_206B_206B_202B_202C_200E_206C_200C_206F_200E_202A_200B_206E_202B_202A_206F_206A_202D_206B_206B_202E_202C_206E_202D_200C_202C_202E(_206F_206D_206B_206B_202D_202A_202A_200F_200B_202E_206B_200B_206B_202A_202D_200E_200D_206F_206E_206D_206E_206E_206A_206E_200E_206C_200C_206C_200B_202B_206E_202D_200D_206E_202D_200D_206F_206D_206B_202B_202E() + 8f); + ImRaii.ColorDisposable colorDisposable = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.Button, new Vector4(0.18f, 0.16f, 0.22f, 0.8f), true); + try { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Copy)) + ImRaii.ColorDisposable colorDisposable2 = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.ButtonHovered, new Vector4(0.28f, 0.24f, 0.32f, 0.95f), true); + try { - ImGui.SetClipboardText(GetSequenceFilename(questId.Value, questInfo.Name)); + ImRaii.ColorDisposable colorDisposable3 = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.ButtonActive, new Vector4(0.35f, 0.3f, 0.45f, 1f), true); + try + { + num = ((!_202A_206F_200B_200B_206D_200E_206D_200D_206A_200D_202D_206D_200C_202C_206B_202A_206F_202B_206E_206A_200B_200E_206D_200D_200B_206F_202A_202B_200B_202A_200B_206E_206D_202C_202E_200B_202A_202B_206E_200E_202E(FontAwesomeIcon.Copy)) ? 1239132686 : 1239132680); + while (true) + { + int num7 = num; + num3 = 1239132682; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + _202A_202A_200D_206D_206F_202D_200B_206B_202A_200F_200C_200E_202B_206A_202B_202E_200F_202D_206A_206C_200E_202C_200C_202D_200D_206B_206C_202B_206D_206E_200D_202A_206C_200C_206F_200D_202D_206E_200F_202E((ImU8String)global::_003CModule_003E._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(-115218622)); + num = 1239132683; + break; + case 4: + num = ((!_200D_202E_200E_206F_202D_200F_202A_206F_206C_206C_202B_206E_202A_202B_202C_202E_202E_200D_202E_206E_200C_200E_200E_202D_202D_202D_206A_206D_206D_206B_202C_200C_200D_200D_200F_206E_202B_206A_206A_202C_202E()) ? 1239132683 : 1239132682); + break; + case 2: + _206E_206B_200E_206B_206C_202E_200E_200E_202A_200F_202C_202B_200E_200D_206E_202A_200C_206D_202D_206A_206D_200C_206A_202C_202A_206C_202D_206C_200D_202C_206D_206F_202D_200F_206A_202A_202E_206C_202B_206D_202E((ImU8String)GetSequenceFilename(_200E_202C_202B_202A_202B_200B_202A_200D_200D_206F_200D_202D_206E_206F_202C_206E_202A_200E_202C_206B_200B_206B_200F_206A_200E_202C_206A_202B_206F_206E_200E_202E_206A_206A_200B_200C_202C_206E_202D_200D_202E((ElementId)questId), questInfo.Name)); + num = 1239132686; + break; + case 3: + num = 1239132680; + break; + case 1: + goto end_IL_0418; + } + continue; + end_IL_0418: + break; + } + } + finally + { + num = ((colorDisposable3 == null) ? (-1429560443) : (-1429560442)); + while (true) + { + int num10 = num; + num3 = -1429560441; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + num = -1429560442; + break; + case 2: + goto end_IL_04e7; + case 1: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable3); + num = -1429560443; + break; + } + continue; + end_IL_04e7: + break; + } + } } - if (ImGui.IsItemHovered()) + finally { - ImGui.SetTooltip("Copies filename as QuestID_QuestNameWithSpaces.json"); + num = ((colorDisposable2 == null) ? 2111509098 : 2111509097); + while (true) + { + int num13 = num; + num3 = 2111509099; + num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_0554; + case 2: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable2); + num = 2111509098; + break; + case 0: + num = 2111509097; + break; + } + continue; + end_IL_0554: + break; + } + } + } + finally + { + num = ((colorDisposable == null) ? 901110537 : 901110538); + while (true) + { + int num14 = num; + num3 = 901110536; + num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) + { + case 1: + goto end_IL_05bf; + case 2: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable); + num = 901110537; + break; + case 0: + num = 901110538; + break; + } + continue; + end_IL_05bf: + break; + } + } + num = ((!currentSequence.HasValue) ? (-168796451) : (-168796452)); + while (true) + { + int num17 = num; + num3 = -168796451; + num4 = num17; + int num18 = num4 + num3; + int num19 = num4 & num3; + switch (num18 - (num19 + num19)) + { + case 2: + num = -168796452; + break; + case 1: + { + _200E_202D_200B_206E_200E_200D_202D_202B_202D_206F_206B_206A_202A_202A_206F_206B_200D_200F_200E_202C_206C_200B_206C_200E_200E_202E_200C_206C_202D_202A_206E_206B_200C_202D_200F_202C_206C_202C_202E_200D_202E(); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(-2079705286)); + _200E_202D_200B_206E_200E_200D_202D_202B_202D_206F_206B_206A_202A_202A_206F_206B_200D_200F_200E_202C_206C_200B_206C_200E_200E_202E_200C_206C_202D_202A_206E_206B_200C_202D_200F_202C_206C_202C_202E_200D_202E(); + float num34 = (float)_206B_200D_202A_202A_200D_206E_200F_202A_206D_206F_202B_200D_206F_206C_200F_202D_206D_200C_200C_206C_202C_202B_202D_202C_200F_200D_200F_200B_202B_206D_200C_200C_202C_202D_200B_200F_206C_202E_200E_202C_202E(); + float num35 = 0.85f + _206E_206E_206E_202C_200C_200E_200B_200F_202A_206D_200F_206F_200B_206D_206B_206E_202E_206F_206A_206D_202B_200D_200D_206D_202D_206B_200D_202A_200B_202B_206C_200F_200E_200B_200B_206D_200F_202D_206E_200C_202E(num34 * 3f) * 0.15f; + Vector4 accentColor = new Vector4(0.5f * num35, 1f * num35, 0.6f * num35, 1f); + ImU8String imU8String2 = new ImU8String(17, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1759720861)); + imU8String2.AppendFormatted(currentSequence.Value); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref accentColor, imU8String2); + num = -168796451; + break; + } + case 0: + _202C_206E_206D_200E_206E_200F_206D_206F_200B_202A_200B_202D_202C_206D_202B_202D_200D_200F_202B_200E_202A_200D_200B_206B_202C_202B_200D_202A_202D_202B_202B_206D_206D_206A_202A_202C_200B_206A_200C_206C_202E(vector.Y + num20 - _202D_202C_202D_200B_202E_200F_206E_206C_206C_200B_200E_202C_202A_200E_206D_200F_206D_206B_206B_202B_206B_206F_206C_202E_206B_202D_200F_200F_202D_202C_206F_206A_206D_206D_200C_200D_202D_200E_202E_206C_202E().Y + _206E_200C_200C_202E_206F_202E_200F_200E_200F_206F_206B_206B_206A_202B_202B_202D_202D_206F_206E_200B_206F_200F_200D_200D_206E_200E_206D_206E_206C_206D_206E_202B_200B_200D_206A_206D_206D_202C_202D_202E_202E()); + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + try + { + Lumina.Excel.Sheets.Quest? quest = _dataManager.GetExcelSheet()?.GetRowOrDefault((uint)(_200E_202C_202B_202A_202B_200B_202A_200D_200D_206F_200D_202D_206E_206F_202C_206E_202A_200E_202C_206B_200B_206B_200F_206A_200E_202C_206A_202B_206F_206E_200E_202E_206A_206A_200B_200C_202C_206E_202D_200D_202E((ElementId)questId) + 65536)); + num = (quest.HasValue ? 283833732 : 283833734); + while (true) + { + int num21 = num; + num3 = 283833729; + num4 = num21; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 6: + num = 283833734; + continue; + case 0: + if (quest2 != null) + { + num = 283833730; + continue; + } + break; + case 1: + { + num25 = _206A_206F_206C_200F_202A_202D_206E_202A_200B_202B_206F_202C_206F_200C_200F_202C_202A_206D_206D_200E_202B_202C_200B_202C_200E_202B_200C_206E_206C_202B_202E_206A_200B_200E_200F_202B_202B_202C_202B_200C_202E((IEnumerable)list); + int num26 = num25; + num3 = 1; + num4 = num26; + num27 = (num4 | num3) + (num4 & num3); + flag2 = _questRegistry.TryGetQuest(questElementId, out quest2); + hashSet = new HashSet(); + dictionary = new Dictionary(); + flag = false; + if (flag2) + { + num = 283833729; + continue; + } + break; + } + case 5: + list = (from result in quest.Value.TodoParams.Where(delegate(Lumina.Excel.Sheets.Quest.TodoParamsStruct todoParamsStruct) + { + int num40 = ((todoParamsStruct.ToDoCompleteSeq <= 0) ? (-1268370217) : (-1268370218)); + while (true) + { + int num41 = num40; + int num42 = -1268370217; + int num43 = num41; + switch ((num43 | num42) - (num43 & num42)) + { + case 2: + goto IL_0048; + case 0: + return false; + case 1: + return todoParamsStruct.ToDoCompleteSeq < byte.MaxValue; + } + continue; + IL_0048: + num40 = -1268370218; + } + }).Select((Func)((Lumina.Excel.Sheets.Quest.TodoParamsStruct todoParamsStruct) => todoParamsStruct.ToDoCompleteSeq)).Distinct() + orderby result + select result).ToList(); + num = ((list.Count != 0) ? 283833728 : 283833731); + continue; + case 2: + DrawErrorState(global::_003CModule_003E._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(687580919), global::_003CModule_003E._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(596369576)); + return; + case 3: + if (_200D_206E_200B_202D_206D_200C_206A_200F_200C_200B_206D_202C_202C_202A_206E_200E_202A_206C_202C_206B_200B_206F_206B_202C_206A_206B_206F_200F_200C_200C_202E_206F_200F_206E_206F_200E_202D_206F_206D_202E_202E(quest2.Root).Count > 0) + { + num = 283833733; + continue; + } + break; + case 7: + DrawErrorState(global::_003CModule_003E._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(930486847), global::_003CModule_003E._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(-1230133238)); + return; + case 4: + { + using (List.Enumerator enumerator = _200D_206E_200B_202D_206D_200C_206A_200F_200C_200B_206D_202C_202C_202A_206E_200E_202A_206C_202C_206B_200B_206F_206B_202C_206A_206B_206F_200F_200C_200C_202E_206F_200F_206E_206F_200E_202D_206F_206D_202E_202E(quest2.Root).GetEnumerator()) + { + num = 1839567022; + while (true) + { + int num22 = num; + num3 = 1839567018; + num4 = num22; + int num23 = num4 + num3; + int num24 = num4 & num3; + switch (num23 - (num24 + num24)) + { + case 3: + hashSet.Add(_206C_200B_200F_206C_200F_200F_200D_206E_200C_202B_202C_202B_202A_206B_200C_200B_202E_200D_206D_202B_202B_202E_206C_200D_206E_202B_200D_202C_200F_206E_200D_206D_202C_202A_206B_200D_206C_206E_206F_202D_202E(current)); + dictionary[_206C_200B_200F_206C_200F_200F_200D_206E_200C_202B_202C_202B_202A_206B_200C_200B_202E_200D_206D_202B_202B_202E_206C_200D_206E_202B_200D_202C_200F_206E_200D_206D_202C_202A_206B_200D_206C_206E_206F_202D_202E(current)] = (_206E_200B_206C_206E_202B_200F_202E_200C_206A_200D_202E_200F_206A_200E_206F_206A_206C_200F_206B_200C_202C_206E_202D_206C_206F_206C_206C_206B_200B_206D_202A_206C_202C_202E_206D_206B_200E_202B_206B_200D_202E(current).Count, _206A_202B_200B_206C_202D_200C_200F_200B_202B_200D_206D_202C_202B_200F_206F_206B_206E_202A_200D_206A_202E_202C_206E_202B_200F_202C_202A_202D_206B_206E_206F_200C_202E_206E_206F_206C_200B_206F_206F_202D_202E(current)); + num = 1839567022; + break; + case 5: + current = enumerator.Current; + num = ((_206C_200B_200F_206C_200F_200F_200D_206E_200C_202B_202C_202B_202A_206B_200C_200B_202E_200D_206D_202B_202B_202E_206C_200D_206E_202B_200D_202C_200F_206E_200D_206D_202C_202A_206B_200D_206C_206E_206F_202D_202E(current) != byte.MaxValue) ? 1839567017 : 1839567019); + break; + case 4: + num = (enumerator.MoveNext() ? 1839567023 : 1839567016); + break; + case 0: + num = 1839567022; + break; + case 1: + flag = true; + dictionary[255] = (_206E_200B_206C_206E_202B_200F_202E_200C_206A_200D_202E_200F_206A_200E_206F_206A_206C_200F_206B_200C_202C_206E_202D_206C_206F_206C_206C_206B_200B_206D_202A_206C_202C_202E_206D_206B_200E_202B_206B_200D_202E(current).Count, _206A_202B_200B_206C_202D_200C_200F_200B_202B_200D_206D_202C_202B_200F_206F_206B_206E_202A_200D_206A_202E_202C_206E_202B_200F_202C_202A_202D_206B_206E_206F_200C_202E_206E_206F_206C_200B_206F_206F_202D_202E(current)); + num = 1839567022; + break; + case 2: + goto end_IL_0999; + } + continue; + end_IL_0999: + break; + } + } + break; + } + } + break; + } + int num28 = hashSet.Count + (flag ? 1 : 0); + int num29 = num27; + num3 = 1; + num4 = num29; + int num30 = (num4 | num3) + (num4 & num3); + num = (flag2 ? 1937001988 : 1937001986); + Vector4 vector2; + while (true) + { + int num31 = num; + num3 = 1937001987; + num4 = num31; + float num33; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 7: + num33 = (float)num28 / (float)num30 * 100f; + goto IL_0b4f; + case 1: + num33 = 0f; + goto IL_0b4f; + case 8: + vector2 = new Vector4(1f, 0.5f, 0.5f, 1f); + break; + case 3: + num = ((num32 < 1f) ? 1937001989 : 1937001995); + continue; + case 6: + { + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.7f; + vector2 = accentColor; + break; + } + case 4: + vector2 = new Vector4(1f, 0.9f, 0.5f, 1f); + break; + case 2: + num = ((num32 >= 50f) ? 1937001991 : 1937001984); + continue; + case 0: + num = 1937001986; + continue; + case 5: + { + vector2 = new Vector4(0.5f, 1f, 0.6f, 1f); + break; + } + IL_0b4f: + num32 = num33; + num = ((num32 >= 100f) ? 1937001990 : 1937001985); + continue; + } + break; + } + Vector4 coverageColor = vector2; + DrawSummaryCards(num27, num25, flag2, num32, coverageColor, num28, num30); + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + DrawSequenceGrid(num25, currentSequence, hashSet, dictionary, flag); + return; + } + catch (Exception ex) + { + DrawErrorState(global::_003CModule_003E._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(1227313977), _206A_200D_200C_206B_206B_202C_206F_200B_202D_206C_202B_200B_206B_202E_206D_202A_206F_200E_200D_206F_200D_206D_206D_206A_200C_202A_200F_200B_202A_200D_202C_206F_206A_202D_200E_200F_206C_206D_202D_206D_202E(_206F_200F_202D_206D_202A_202D_202A_206B_200E_206D_206F_200D_202C_200B_202B_202A_206A_200F_200C_206B_202B_206C_206A_206C_200C_206F_202A_202B_206D_202A_206B_200E_206F_200E_206D_200F_202C_200D_202B_206F_202E(ex), global::_003CModule_003E._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(777682130))); + _200E_206A_202C_206C_202A_202C_206D_202E_200D_200D_206C_206D_206B_206E_202A_200E_202B_200F_200C_202E_200D_206E_200C_200C_200D_206D_202B_202B_200E_200C_200C_202B_202D_202A_202A_202E_200B_200D_206B_206B_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-1828017337), new object[1] { questId }); + return; + } } } } - } - if (currentSequence.HasValue) - { - ImGui.SameLine(); - ImGui.TextColored(new Vector4(0.5f, 0.5f, 0.6f, 1f), "—"); - 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); - } - ImGui.SetCursorPosY(cursorScreenPos.Y + num - ImGui.GetCursorScreenPos().Y + ImGui.GetCursorPosY()); - ImGui.Spacing(); - try - { - Lumina.Excel.Sheets.Quest? quest = _dataManager.GetExcelSheet()?.GetRowOrDefault((uint)(questId.Value + 65536)); - if (!quest.HasValue) - { - DrawErrorState("Quest Not Found in Game Data", "Unable to load quest information from Lumina."); - return; } - List list = (from result in quest.Value.TodoParams.Where((Lumina.Excel.Sheets.Quest.TodoParamsStruct todoParamsStruct) => todoParamsStruct.ToDoCompleteSeq > 0 && todoParamsStruct.ToDoCompleteSeq < byte.MaxValue).Select((Func)((Lumina.Excel.Sheets.Quest.TodoParamsStruct todoParamsStruct) => todoParamsStruct.ToDoCompleteSeq)).Distinct() - orderby result - select result).ToList(); - if (list.Count == 0) - { - DrawErrorState("No Sequence Data Available", "This quest may not have traditional sequences."); - return; - } - int num5 = list.Max(); - int num6 = num5 + 1; - Questionable.Model.Quest quest2; - bool flag = _questRegistry.TryGetQuest(questElementId, out quest2); - HashSet hashSet = new HashSet(); - Dictionary dictionary = new Dictionary(); - bool flag2 = false; - if (flag && quest2 != null && quest2.Root.QuestSequence.Count > 0) - { - foreach (QuestSequence item in quest2.Root.QuestSequence) - { - if (item.Sequence == byte.MaxValue) - { - flag2 = true; - dictionary[255] = (item.Steps.Count, item.Comment); - } - else - { - hashSet.Add(item.Sequence); - dictionary[item.Sequence] = (item.Steps.Count, item.Comment); - } - } - } - 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); - ImGui.Spacing(); - ImGui.Spacing(); - DrawSequenceGrid(num5, currentSequence, hashSet, dictionary, flag2); - } - catch (Exception ex) - { - DrawErrorState("Error Loading Quest Data", ex.Message + "\nCheck logs for details."); - _logger.LogWarning(ex, "Failed to read quest sequence data from Lumina for {QuestId}", questId); } } private static void DrawErrorState(string title, string message) { - float y = ImGui.GetContentRegionAvail().Y; - float x = ImGui.GetContentRegionAvail().X; - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + y * 0.25f); - float num = (float)ImGui.GetTime(); - float num2 = 0.7f + MathF.Sin(num * 2f) * 0.3f; - ImGui.PushFont(UiBuilder.IconFont); - string text = FontAwesomeIcon.ExclamationTriangle.ToIconString(); - Vector2 vector = ImGui.CalcTextSize(text); - ImGui.SetCursorPosX((x - (vector * 2f).X) * 0.5f); - ImGui.TextColored(new Vector4(1f * num2, 0.4f * num2, 0.4f * num2, 1f), text); - 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.Spacing(); - ImGui.SetCursorPosX((x - ImGui.CalcTextSize(message).X) * 0.5f); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), message); + float y = _200C_206F_200C_202D_206F_200C_202E_202A_200F_206A_200D_206B_206D_206C_202C_200C_202E_200C_200F_206C_200C_202D_206D_200D_206C_202B_202C_202B_202E_206C_202C_202C_202E_200D_206D_206A_202B_202A_202C_202A_202E().Y; + float x = _200C_206F_200C_202D_206F_200C_202E_202A_200F_206A_200D_206B_206D_206C_202C_200C_202E_200C_200F_206C_200C_202D_206D_200D_206C_202B_202C_202B_202E_206C_202C_202C_202E_200D_206D_206A_202B_202A_202C_202A_202E().X; + _202C_206E_206D_200E_206E_200F_206D_206F_200B_202A_200B_202D_202C_206D_202B_202D_200D_200F_202B_200E_202A_200D_200B_206B_202C_202B_200D_202A_202D_202B_202B_206D_206D_206A_202A_202C_200B_206A_200C_206C_202E(_206E_200C_200C_202E_206F_202E_200F_200E_200F_206F_206B_206B_206A_202B_202B_202D_202D_206F_206E_200B_206F_200F_200D_200D_206E_200E_206D_206E_206C_206D_206E_202B_200B_200D_206A_206D_206D_202C_202D_202E_202E() + y * 0.25f); + float num = (float)_206B_200D_202A_202A_200D_206E_200F_202A_206D_206F_202B_200D_206F_206C_200F_202D_206D_200C_200C_206C_202C_202B_202D_202C_200F_200D_200F_200B_202B_206D_200C_200C_202C_202D_200B_200F_206C_202E_200E_202C_202E(); + float num2 = 0.7f + _206E_206E_206E_202C_200C_200E_200B_200F_202A_206D_200F_206F_200B_206D_206B_206E_202E_206F_206A_206D_202B_200D_200D_206D_202D_206B_200D_202A_200B_202B_206C_200F_200E_200B_200B_206D_200F_202D_206E_200C_202E(num * 2f) * 0.3f; + _202E_202D_202E_206D_206B_206F_202E_202D_200F_206C_200F_202B_206B_202D_206B_200D_206B_206A_202E_200B_202B_202E_200F_202A_200C_200D_206B_202B_206B_206D_202A_206A_206D_202B_200B_206C_202A_206E_202A_206E_202E(_200D_206C_200F_202A_202E_206D_206E_202E_202A_206C_202C_202C_200C_202C_206D_202D_206F_200C_206F_200B_206A_200C_202A_200B_206E_202C_206D_202E_202A_200D_200F_200B_202B_202C_202C_206E_200F_200C_202A_202A_202E()); + string text = _200F_200C_206B_200B_206C_200E_206F_206C_206D_206A_200E_202B_206B_206E_202A_206C_202D_202E_200D_206E_202E_202A_206D_200B_206B_202C_202A_206A_206E_206D_202C_200F_206D_206E_202C_200E_202D_206F_200D_200C_202E(FontAwesomeIcon.ExclamationTriangle); + Vector2 vector = _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E((ImU8String)text, false, -1f); + _202C_206D_200E_200B_200B_202D_206A_200F_200E_202B_206B_200D_200E_200F_206D_206B_206B_202B_202C_200E_206C_200C_206F_200E_202A_200B_206E_202B_202A_206F_206A_202D_206B_206B_202E_202C_206E_202D_200C_202C_202E((x - (vector * 2f).X) * 0.5f); + Vector4 vector2 = new Vector4(1f * num2, 0.4f * num2, 0.4f * num2, 1f); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref vector2, (ImU8String)text); + _206A_202D_200F_202E_202E_200C_202C_206C_202A_200C_206F_206E_200B_206F_202B_202E_200E_202B_200F_206A_206E_202E_202E_202D_200E_202D_202C_202C_202D_206E_200E_200E_202B_206F_200C_200F_200F_206B_206E_202B_202E(); + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + _202C_206D_200E_200B_200B_202D_206A_200F_200E_202B_206B_200D_200E_200F_206D_206B_206B_202B_202C_200E_206C_200C_206F_200E_202A_200B_206E_202B_202A_206F_206A_202D_206B_206B_202E_202C_206E_202D_200C_202C_202E(_202A_200E_206E_202A_202C_200B_200F_200D_206A_200C_200F_206D_200E_202C_206B_206E_206D_200D_200C_206E_206D_206B_200F_206A_206A_200E_206E_202E_200F_200E_202B_200F_200D_206A_202E_202E_200C_202B_202D_200E_202E(0f, (x - _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E((ImU8String)title, false, -1f).X) * 0.5f)); + UiThemeUtils.WrappedTextColored(new Vector4(1f, 0.5f, 0.5f, 1f), title); + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + _202C_206D_200E_200B_200B_202D_206A_200F_200E_202B_206B_200D_200E_200F_206D_206B_206B_202B_202C_200E_206C_200C_206F_200E_202A_200B_206E_202B_202A_206F_206A_202D_206B_206B_202E_202C_206E_202D_200C_202C_202E(_202A_200E_206E_202A_202C_200B_200F_200D_206A_200C_200F_206D_200E_202C_206B_206E_206D_200D_200C_206E_206D_206B_200F_206A_206A_200E_206E_202E_200F_200E_202B_200F_200D_206A_202E_202E_200C_202B_202D_200E_202E(0f, (x - _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E((ImU8String)message, false, -1f).X) * 0.5f)); + UiThemeUtils.WrappedTextColored(UiThemeUtils.DimTextColor, message); } + [MethodImpl(MethodImplOptions.NoInlining)] 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); - if (!tableDisposable) + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(1895830930), 2); + int num = ((!(!tableDisposable)) ? 1451048125 : 1451048126); + while (true) { - return; - } - ImGui.TableSetupColumn("GameData", ImGuiTableColumnFlags.WidthStretch, 0.4f); - ImGui.TableSetupColumn("QuestPath", ImGuiTableColumnFlags.WidthStretch, 0.6f); - ImGui.TableNextRow(); - ImGui.TableNextColumn(); - DrawCard(80f, new Vector4(0.6f, 0.85f, 1f, 1f), FontAwesomeIcon.Gamepad, "Expected Sequences", delegate - { - 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.SameLine(); - 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.SameLine(); - col = new Vector4(0.7f, 0.9f, 1f, 1f); - ImU8String text4 = new ImU8String(9, 1); - text4.AppendLiteral("0 → "); - text4.AppendFormatted(maxSeq); - text4.AppendLiteral(", 255"); - ImGui.TextColored(in col, text4); - ImGui.Unindent(10f); - }); - ImGui.TableNextColumn(); - DrawCard(80f, new Vector4(0.5f, 1f, 0.6f, 1f), FontAwesomeIcon.Code, "Implementation Status", delegate - { - if (hasQuestPath) + int num2 = num; + int num3 = 1451048127; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - ImGui.Indent(10f); - ImGui.TextColored(new Vector4(0.9f, 0.9f, 0.98f, 1f), "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.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.SameLine(); - ref Vector4 col3 = ref coverageColor; - ImU8String text3 = new ImU8String(3, 1); - text3.AppendLiteral("("); - text3.AppendFormatted(coverage, "F0"); - text3.AppendLiteral("%)"); - ImGui.TextColored(in col3, text3); - ImGui.Spacing(); - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - float x = ImGui.GetContentRegionAvail().X - 10f; - using (ImRaii.PushColor(ImGuiCol.PlotHistogram, coverageColor)) + case 0: + goto IL_0097; + case 1: + return; + case 2: + _200D_206F_200C_200D_202E_206E_202D_206D_206C_206A_200F_200C_206C_202C_206D_200E_206B_206A_200C_206D_206C_200C_206A_202B_206D_200D_202A_200B_202B_200E_202D_200C_200E_202D_206D_206B_206A_200B_200B_202B_202E((ImU8String)global::_003CModule_003E._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(-672675930), ImGuiTableColumnFlags.WidthStretch, 0.4f, 0u); + _200D_206F_200C_200D_202E_206E_202D_206D_206C_206A_200F_200C_206C_202C_206D_200E_206B_206A_200C_206D_206C_200C_206A_202B_206D_200D_202A_200B_202B_200E_202D_200C_200E_202D_206D_206B_206A_200B_200B_202B_202E((ImU8String)global::_003CModule_003E._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(-1505026476), ImGuiTableColumnFlags.WidthStretch, 0.6f, 0u); + _200C_206C_200D_200B_200D_206E_206F_202A_200E_200D_202E_206A_200D_206B_206F_200C_202E_206F_206A_200B_202C_206B_200C_206C_202E_206E_206A_202A_200B_200C_200D_206D_200B_202C_206B_206A_200E_206E_206F_200E_202E(); + _206A_206F_206D_202C_200E_202D_200E_200B_200E_200D_202E_206F_206E_206D_206D_206B_202C_206D_200C_206B_202A_200C_202C_202D_202C_206F_202B_202C_206F_202C_206D_206A_206F_200C_202E_202E_200C_206E_206A_206C_202E(); + DrawCard(80f, new Vector4(0.6f, 0.85f, 1f, 1f), FontAwesomeIcon.Gamepad, global::_003CModule_003E._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(-539025899), [MethodImpl(MethodImplOptions.NoInlining)] () => { - using (ImRaii.PushColor(ImGuiCol.FrameBg, new Vector4(0.08f, 0.06f, 0.12f, 0.8f))) + _003C_003Ec__DisplayClass17_0._206A_202A_200E_200F_200D_202A_200D_202A_206F_206C_202B_200E_202C_206D_206B_206E_202D_206F_202E_206D_206F_206C_202A_202A_200E_206E_202A_200C_202D_202D_206A_202E_206A_206B_200E_202D_200C_200D_202E_200F_202E(); + _003C_003Ec__DisplayClass17_0._202C_202D_200B_206D_206E_202E_206A_202D_202B_200F_202A_202D_202C_200F_200E_202E_200D_202C_206B_202B_206E_202C_202C_202B_206B_200F_206D_202C_202B_206C_206E_206F_200B_206A_202D_200B_200C_202D_200F_206C_202E(10f); + ImU8String imU8String = new ImU8String(6, 0); + imU8String.AppendLiteral(global::_003CModule_003E._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(389160049)); + _003C_003Ec__DisplayClass17_0._202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref UiThemeUtils.PrimaryTextColor, imU8String); + _003C_003Ec__DisplayClass17_0._200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + Vector4 vector = new Vector4(0.7f, 0.9f, 1f, 1f); + ImU8String imU8String2 = new ImU8String(0, 1); + imU8String2.AppendFormatted(totalSequences); + _003C_003Ec__DisplayClass17_0._202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref vector, imU8String2); + _003C_003Ec__DisplayClass17_0._206A_202A_200E_200F_200D_202A_200D_202A_206F_206C_202B_200E_202C_206D_206B_206E_202D_206F_202E_206D_206F_206C_202A_202A_200E_206E_202A_200C_202D_202D_206A_202E_206A_206B_200E_202D_200C_200D_202E_200F_202E(); + ImU8String imU8String3 = new ImU8String(6, 0); + imU8String3.AppendLiteral(global::_003CModule_003E._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(1982759281)); + _003C_003Ec__DisplayClass17_0._202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref UiThemeUtils.PrimaryTextColor, imU8String3); + _003C_003Ec__DisplayClass17_0._200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + vector = new Vector4(0.7f, 0.9f, 1f, 1f); + ImU8String imU8String4 = new ImU8String(9, 1); + imU8String4.AppendLiteral(global::_003CModule_003E._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(-17191078)); + imU8String4.AppendFormatted(maxSeq); + imU8String4.AppendLiteral(global::_003CModule_003E._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(1638758109)); + _003C_003Ec__DisplayClass17_0._202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref vector, imU8String4); + _003C_003Ec__DisplayClass17_0._206A_200B_202B_206A_200E_206D_200F_202C_200C_206C_206A_206B_206F_206B_202C_206C_200F_202E_200C_202A_200D_206D_206F_202B_206D_200E_206F_202B_202B_200F_206C_206F_202D_202D_202A_202B_206B_202A_206F_206A_202E(10f); + }); + _206A_206F_206D_202C_200E_202D_200E_200B_200E_200D_202E_206F_206E_206D_206D_206B_202C_206D_200C_206B_202A_200C_202C_202D_202C_206F_202B_202C_206F_202C_206D_206A_206F_200C_202E_202E_200C_206E_206A_206C_202E(); + DrawCard(80f, new Vector4(0.5f, 1f, 0.6f, 1f), FontAwesomeIcon.Code, global::_003CModule_003E._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(-1382776642), [MethodImpl(MethodImplOptions.NoInlining)] () => + { + if (hasQuestPath) { - ImGui.ProgressBar(coverage / 100f, new Vector2(x, 16f), ""); + _003C_003Ec__DisplayClass17_0._202C_202D_200B_206D_206E_202E_206A_202D_202B_200F_202A_202D_202C_200F_200E_202E_200D_202C_206B_202B_206E_202C_202C_202B_206B_200F_206D_202C_202B_206C_206E_206F_200B_206A_202D_200B_200C_202D_200F_206C_202E(10f); + _003C_003Ec__DisplayClass17_0._202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref UiThemeUtils.PrimaryTextColor, (ImU8String)global::_003CModule_003E._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(-97617789)); + _003C_003Ec__DisplayClass17_0._200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + ref Vector4 reference = ref coverageColor; + ImU8String imU8String = new ImU8String(0, 1); + imU8String.AppendFormatted(implementedCount); + _003C_003Ec__DisplayClass17_0._202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref reference, imU8String); + _003C_003Ec__DisplayClass17_0._200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + _003C_003Ec__DisplayClass17_0._202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(-1392036559)); + _003C_003Ec__DisplayClass17_0._200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + ImU8String imU8String2 = new ImU8String(0, 1); + imU8String2.AppendFormatted(expectedCount); + _003C_003Ec__DisplayClass17_0._202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref UiThemeUtils.PrimaryTextColor, imU8String2); + _003C_003Ec__DisplayClass17_0._200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + ref Vector4 reference2 = ref coverageColor; + ImU8String imU8String3 = new ImU8String(3, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-1208656614)); + imU8String3.AppendFormatted(coverage, global::_003CModule_003E._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(1949766839)); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-1310244362)); + _003C_003Ec__DisplayClass17_0._202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref reference2, imU8String3); + _003C_003Ec__DisplayClass17_0._206A_202A_200E_200F_200D_202A_200D_202A_206F_206C_202B_200E_202C_206D_206B_206E_202D_206F_202E_206D_206F_206C_202A_202A_200E_206E_202A_200C_202D_202D_206A_202E_206A_206B_200E_202D_200C_200D_202E_200F_202E(); + Vector2 vector = _003C_003Ec__DisplayClass17_0._206D_202B_202C_206D_206B_200D_206C_206B_202A_200B_202B_202A_200B_200E_206A_200D_202A_202E_200B_200B_200B_206A_206A_202C_206D_200B_200E_200D_202A_202A_206B_202D_200B_202B_200F_202E_206B_202A_200F_202C_202E(); + float x = _003C_003Ec__DisplayClass17_0._200F_200F_206F_200D_206A_202C_206D_206F_206E_202E_200F_202A_206F_206A_206A_200B_202B_200D_200D_202C_206B_202D_200B_202C_206E_200C_206B_206C_202A_206C_200E_206D_202C_206E_200C_206F_206C_200C_206C_200C_202E().X - 10f; + ImRaii.ColorDisposable colorDisposable = _003C_003Ec__DisplayClass17_0._206E_202D_202E_206A_202B_200C_206B_206D_206A_206E_200E_206E_200E_206E_202D_206E_202A_200E_202D_206E_206B_200D_206B_202B_200E_206F_202B_200F_200B_200C_206D_202D_206E_202E_202C_202B_202C_206D_202B_200E_202E(ImGuiCol.PlotHistogram, coverageColor, true); + try + { + ImRaii.ColorDisposable colorDisposable2 = _003C_003Ec__DisplayClass17_0._206E_202D_202E_206A_202B_200C_206B_206D_206A_206E_200E_206E_200E_206E_202D_206E_202A_200E_202D_206E_206B_200D_206B_202B_200E_206F_202B_200F_200B_200C_206D_202D_206E_202E_202C_202B_202C_206D_202B_200E_202E(ImGuiCol.FrameBg, new Vector4(0.08f, 0.06f, 0.12f, 0.8f), true); + try + { + _003C_003Ec__DisplayClass17_0._202E_202D_202A_202B_202E_206C_206F_200D_200B_200C_206D_200E_200E_200C_206F_202A_202E_200B_202D_200F_206A_200E_200B_206A_200E_206C_206B_202C_206F_200F_200B_200D_206C_200C_206E_206B_200D_206D_206B_206D_202E(coverage / 100f, new Vector2(x, 16f), (ImU8String)global::_003CModule_003E._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(1200342830)); + } + finally + { + int num7 = ((colorDisposable2 == null) ? 1407322401 : 1407322400); + while (true) + { + int num8 = num7; + int num9 = 1407322401; + int num10 = num8; + int num11 = num10 + num9; + int num12 = num10 & num9; + switch (num11 - (num12 + num12)) + { + case 0: + goto end_IL_018b; + case 1: + _003C_003Ec__DisplayClass17_0._200D_206B_200E_202E_206F_202A_202A_200C_206A_206A_206C_206F_206D_200C_200B_202D_206E_200E_206D_200E_202D_206E_202A_206F_206E_202E_206F_206C_200F_202B_202C_200F_202C_206A_200E_206E_206B_206D_206D_206E_202E((IDisposable)colorDisposable2); + num7 = 1407322401; + break; + case 2: + num7 = 1407322400; + break; + } + continue; + end_IL_018b: + break; + } + } + } + finally + { + int num7 = ((colorDisposable == null) ? 807614204 : 807614205); + while (true) + { + int num13 = num7; + int num9 = 807614204; + int num10 = num13; + int num14 = num10 + num9; + int num15 = num10 & num9; + switch (num14 - (num15 + num15)) + { + case 2: + num7 = 807614205; + break; + case 0: + goto end_IL_01f8; + case 1: + _003C_003Ec__DisplayClass17_0._200D_206B_200E_202E_206F_202A_202A_200C_206A_206A_206C_206F_206D_200C_200B_202D_206E_200E_206D_200E_202D_206E_202A_206F_206E_202E_206F_206C_200F_202B_202C_200F_202C_206A_200E_206E_206B_206D_206D_206E_202E((IDisposable)colorDisposable); + num7 = 807614204; + break; + } + continue; + end_IL_01f8: + break; + } + } + ImDrawListPtr imDrawListPtr = _003C_003Ec__DisplayClass17_0._200F_206B_202A_206D_206C_206E_200F_206C_202A_200E_206A_200F_200E_206F_200B_200D_202C_206C_206D_200B_200F_200C_202D_206D_200F_206B_206E_200B_200B_202B_206C_200C_206F_206F_206E_200F_202A_206B_200F_200F_202E(); + Vector2 pMax = vector + new Vector2(x, 16f); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.3f; + imDrawListPtr.AddRect(vector, pMax, _003C_003Ec__DisplayClass17_0._206D_200E_206D_202B_200B_206C_206F_202C_202B_206A_202B_202E_200C_206D_206B_200C_206D_202D_206C_202C_202E_202A_200E_200B_202A_206C_202E_200F_206A_202C_206B_200E_206C_202C_200C_206A_202A_202D_206E_202E_202E(accentColor), 2f); + _003C_003Ec__DisplayClass17_0._206A_200B_202B_206A_200E_206D_200F_202C_200C_206C_206A_206B_206F_206B_202C_206C_200F_202E_200C_202A_200D_206D_206F_202B_206D_200E_206F_202B_202B_200F_206C_206F_202D_202D_202A_202B_206B_202A_206F_206A_202E(10f); } - } - ImGui.GetWindowDrawList().AddRect(cursorScreenPos, cursorScreenPos + new Vector2(x, 16f), ImGui.ColorConvertFloat4ToU32(new Vector4(0.6f, 0.5f, 0.8f, 0.3f)), 2f); - ImGui.Unindent(10f); + else + { + _003C_003Ec__DisplayClass17_0._206A_202A_200E_200F_200D_202A_200D_202A_206F_206C_202B_200E_202C_206D_206B_206E_202D_206F_202E_206D_206F_206C_202A_202A_200E_206E_202A_200C_202D_202D_206A_202E_206A_206B_200E_202D_200C_200D_202E_200F_202E(); + _003C_003Ec__DisplayClass17_0._202C_202D_200B_206D_206E_202E_206A_202D_202B_200F_202A_202D_202C_200F_200E_202E_200D_202C_206B_202B_206E_202C_202C_202B_206B_200F_206D_202C_202B_206C_206E_206F_200B_206A_202D_200B_200C_202D_200F_206C_202E(10f); + _003C_003Ec__DisplayClass17_0._200B_202D_200D_202B_200F_206F_206E_202D_202B_206F_206F_202C_206F_206A_202D_200F_206A_206F_206C_206D_206C_200C_200D_206C_202C_206E_200F_200F_206E_202B_206C_206E_200E_200C_202A_202C_206A_206B_200F_206C_202E(_003C_003Ec__DisplayClass17_0._206A_202D_202B_202B_206C_206E_206A_200D_206C_206C_200B_202E_206A_200D_200C_206C_200D_200F_200D_206F_206E_202A_202E_202E_202D_206F_202E_200D_202E_200C_206A_200C_202D_206D_206A_200B_206C_202E_206D_206A_202E()); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.8f; + _003C_003Ec__DisplayClass17_0._202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref accentColor, (ImU8String)_003C_003Ec__DisplayClass17_0._200C_206C_202A_200F_202B_202C_206D_200D_200F_200F_206C_206F_200D_202E_202A_200C_200B_206E_206B_202A_206B_202D_206F_202A_200C_206E_200E_200C_202E_202E_202A_206E_200D_200E_206F_202C_200E_206A_200D_206D_202E(FontAwesomeIcon.Ban)); + _003C_003Ec__DisplayClass17_0._206A_206B_200D_206E_202C_202E_202C_200E_200B_206A_200D_206D_206A_202C_202E_206E_206F_200B_206C_206F_202A_202D_200C_206C_200B_200B_206C_200C_206E_200B_202E_202D_206E_202E_206F_202D_200D_206F_206D_206E_202E(); + _003C_003Ec__DisplayClass17_0._200B_202E_206F_200C_206C_202C_200E_200F_206F_206F_200F_206A_200E_200E_200C_200B_202E_200B_206E_202B_200D_200C_206C_200F_200D_206E_206B_206A_206E_206E_200B_202E_206F_206F_200E_206F_206A_200D_200D_202E(); + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.8f; + _003C_003Ec__DisplayClass17_0._202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref accentColor, (ImU8String)global::_003CModule_003E._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(868008656)); + _003C_003Ec__DisplayClass17_0._206A_202A_200E_200F_200D_202A_200D_202A_206F_206C_202B_200E_202C_206D_206B_206E_202D_206F_202E_206D_206F_206C_202A_202A_200E_206E_202A_200C_202D_202D_206A_202E_206A_206B_200E_202D_200C_200D_202E_200F_202E(); + _003C_003Ec__DisplayClass17_0._202A_206B_206D_200E_202A_200F_200D_200F_200C_200B_202E_206A_206A_206E_206D_202A_200F_200D_202E_206C_200C_200C_206E_200D_206B_206A_202E_206A_206E_206C_206A_206F_206A_206B_200B_206C_202C_202D_200F_206C_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(384693137)); + _003C_003Ec__DisplayClass17_0._206A_200B_202B_206A_200E_206D_200F_202C_200C_206C_206A_206B_206F_206B_202C_206C_200F_202E_200C_202A_200D_206D_206F_202B_206D_200E_206F_202B_202B_200F_206C_206F_202D_202D_202A_202B_206B_202A_206F_206A_202E(10f); + } + }); + return; } - else - { - ImGui.Spacing(); - ImGui.Indent(10f); - ImGui.PushFont(UiBuilder.IconFont); - ImGui.TextColored(new Vector4(0.6f, 0.5f, 0.8f, 0.8f), FontAwesomeIcon.Ban.ToIconString()); - ImGui.PopFont(); - ImGui.SameLine(); - ImGui.TextColored(new Vector4(0.6f, 0.5f, 0.8f, 0.8f), "Not Implemented"); - ImGui.Spacing(); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), "No quest path data available"); - ImGui.Unindent(10f); - } - }); + continue; + IL_0097: + num = 1451048126; + } } private static void DrawCard(float height, Vector4 accentColor, FontAwesomeIcon icon, string title, System.Action content) { - 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.AddLine(cursorScreenPos, cursorScreenPos + new Vector2(x, 0f), ImGui.ColorConvertFloat4ToU32(accentColor), 3f); - float num = cursorScreenPos.Y + 10f; - ImGui.SetCursorScreenPos(new Vector2(cursorScreenPos.X + 10f, num)); - ImGui.PushFont(UiBuilder.IconFont); - ImGui.TextColored(in accentColor, icon.ToIconString()); - ImGui.PopFont(); - ImGui.SameLine(); - ImGui.TextColored(new Vector4(0.98f, 0.98f, 1f, 1f), title); - ImGui.SetCursorScreenPos(new Vector2(cursorScreenPos.X + 10f, num + 24f)); + Vector2 vector = _202D_202C_202D_200B_202E_200F_206E_206C_206C_200B_200E_202C_202A_200E_206D_200F_206D_206B_206B_202B_206B_206F_206C_202E_206B_202D_200F_200F_202D_202C_206F_206A_206D_206D_200C_200D_202D_200E_202E_206C_202E(); + float x = _200C_206F_200C_202D_206F_200C_202E_202A_200F_206A_200D_206B_206D_206C_202C_200C_202E_200C_200F_206C_200C_202D_206D_200D_206C_202B_202C_202B_202E_206C_202C_202C_202E_200D_206D_206A_202B_202A_202C_202A_202E().X; + ImDrawListPtr imDrawListPtr = _206E_200C_200E_206F_200D_200D_202A_206B_202D_202D_206F_202C_200D_200C_200D_200F_200B_202A_206C_206B_202C_200E_202E_206A_206A_202C_202B_200E_206B_200C_206F_200C_200B_200B_206B_200E_200F_206E_200D_206D_202E(); + imDrawListPtr.AddRectFilledMultiColor(vector, vector + new Vector2(x, height), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(UiThemeUtils.CardBackgroundColor), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(UiThemeUtils.CardBackgroundColor), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(UiThemeUtils.CardBackgroundColor), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(UiThemeUtils.CardBackgroundColor)); + Vector2 pMin = vector; + Vector2 pMax = vector + new Vector2(x, height); + Vector4 accentColor2 = UiThemeUtils.AccentColor; + accentColor2.W = 0.2f; + imDrawListPtr.AddRect(pMin, pMax, _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(accentColor2), 4f, ImDrawFlags.None, 1f); + imDrawListPtr.AddLine(vector, vector + new Vector2(x, 0f), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(accentColor), 3f); + float num = vector.Y + 10f; + _202B_206F_200B_206F_206E_206B_200B_200C_200C_200C_200D_206C_206D_202C_202B_200F_206A_202A_202D_200D_206B_206C_206A_200B_206B_206D_200B_206A_202E_206F_206D_200F_200B_206B_202D_206D_202B_200F_202D_206C_202E(new Vector2(vector.X + 10f, num)); + _202E_202D_202E_206D_206B_206F_202E_202D_200F_206C_200F_202B_206B_202D_206B_200D_206B_206A_202E_200B_202B_202E_200F_202A_200C_200D_206B_202B_206B_206D_202A_206A_206D_202B_200B_206C_202A_206E_202A_206E_202E(_200D_206C_200F_202A_202E_206D_206E_202E_202A_206C_202C_202C_200C_202C_206D_202D_206F_200C_206F_200B_206A_200C_202A_200B_206E_202C_206D_202E_202A_200D_200F_200B_202B_202C_202C_206E_200F_200C_202A_202A_202E()); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref accentColor, (ImU8String)_200F_200C_206B_200B_206C_200E_206F_206C_206D_206A_200E_202B_206B_206E_202A_206C_202D_202E_200D_206E_202E_202A_206D_200B_206B_202C_202A_206A_206E_206D_202C_200F_206D_206E_202C_200E_202D_206F_200D_200C_202E(icon)); + _206A_202D_200F_202E_202E_200C_202C_206C_202A_200C_206F_206E_200B_206F_202B_202E_200E_202B_200F_206A_206E_202E_202E_202D_200E_202D_202C_202C_202D_206E_200E_200E_202B_206F_200C_200F_200F_206B_206E_202B_202E(); + _200E_202D_200B_206E_200E_200D_202D_202B_202D_206F_206B_206A_202A_202A_206F_206B_200D_200F_200E_202C_206C_200B_206C_200E_200E_202E_200C_206C_202D_202A_206E_206B_200C_202D_200F_202C_206C_202C_202E_200D_202E(); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref UiThemeUtils.PrimaryTextColor, (ImU8String)title); + _202B_206F_200B_206F_206E_206B_200B_200C_200C_200C_200D_206C_206D_202C_202B_200F_206A_202A_202D_200D_206B_206C_206A_200B_206B_206D_200B_206A_202E_206F_206D_200F_200B_206B_202D_206D_202B_200F_202D_206C_202E(new Vector2(vector.X + 10f, num + 24f)); content(); - ImGui.SetCursorScreenPos(new Vector2(cursorScreenPos.X, cursorScreenPos.Y + height + 4f)); + _202B_206F_200B_206F_206E_206B_200B_200C_200C_200C_200D_206C_206D_202C_202B_200F_206A_202A_202D_200D_206B_206C_206A_200B_206B_206D_200B_206A_202E_206F_206D_200F_200B_206B_202D_206D_202B_200F_202D_206C_202E(new Vector2(vector.X, vector.Y + height + 4f)); } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawSequenceGrid(int maxSeq, byte? currentSequence, HashSet implementedSequences, Dictionary sequenceDetails, bool hasEndSequence) { - int val = maxSeq + 2; - float x = ImGui.GetContentRegionAvail().X; - int val2 = Math.Max(4, Math.Min(8, (int)(x / 100f))); - val2 = Math.Min(val2, val); - float y = ImGui.GetContentRegionAvail().Y; - using (ImRaii.PushColor(ImGuiCol.ChildBg, new Vector4(0.08f, 0.06f, 0.12f, 0.6f))) + int num = 2; + int num2 = maxSeq; + int num3 = (num2 | num) + (num2 & num); + float x = _200C_206F_200C_202D_206F_200C_202E_202A_200F_206A_200D_206B_206D_206C_202C_200C_202E_200C_200F_206C_200C_202D_206D_200D_206C_202B_202C_202B_202E_206C_202C_202C_202E_200D_206D_206A_202B_202A_202C_202A_202E().X; + int num4 = _206E_206A_202E_200D_202B_206D_200C_206B_202D_206C_206A_200F_200B_200F_206E_200F_206A_202A_200F_200C_202A_206B_200E_206E_206A_206C_200D_206C_200C_202C_206A_206A_202C_200D_200E_200D_200D_202B_200B_206E_202E(4, _202C_202B_200F_206E_202E_200D_202B_206C_206D_206D_202E_202C_206C_206A_202D_206A_200D_206F_200D_206C_202D_202C_206C_200B_206A_200D_200E_200F_202B_200D_200C_206C_206E_206A_200C_200C_202C_206A_202E_202E(8, (int)(x / 100f))); + num4 = _202C_202B_200F_206E_202E_200D_202B_206C_206D_206D_202E_202C_206C_206A_202D_206A_200D_206F_200D_206C_202D_202C_206C_200B_206A_200D_200E_200F_202B_200D_200C_206C_206E_206A_200C_200C_202C_206A_202E_202E(num4, num3); + float y = _200C_206F_200C_202D_206F_200C_202E_202A_200F_206A_200D_206B_206D_206C_202C_200C_202E_200C_200F_206C_200C_202D_206D_200D_206C_202B_202C_202B_202E_206C_202C_202C_202E_200D_206D_206A_202B_202A_202C_202A_202E().Y; + ImRaii.ColorDisposable colorDisposable = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.ChildBg, new Vector4(0.08f, 0.06f, 0.12f, 0.6f), true); + try { - using (ImRaii.PushColor(ImGuiCol.Border, new Vector4(0.6f, 0.5f, 0.8f, 0.2f))) + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.2f; + ImRaii.ColorDisposable colorDisposable2 = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.Border, accentColor, true); + try { - using ImRaii.ChildDisposable childDisposable = ImRaii.Child("SequenceGrid", new Vector2(-1f, y), border: true, ImGuiWindowFlags.None); + using ImRaii.ChildDisposable childDisposable = _202E_202B_206E_200B_200E_200E_206C_200F_200F_206D_202B_200E_202E_200B_202A_200B_202E_200D_200F_200B_206C_200F_200B_200F_206F_200B_202A_202E_202C_200F_206B_206C_200F_200C_200B_202B_200F_202E_202C_206D_202E((ImU8String)global::_003CModule_003E._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(-1262809086), new Vector2(-1f, y), 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; + ImRaii.ColorDisposable colorDisposable3 = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.TableBorderStrong, accentColor, true); + try { - using (ImRaii.PushColor(ImGuiCol.TableBorderLight, new Vector4(0.6f, 0.5f, 0.8f, 0.15f))) + accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.15f; + ImRaii.ColorDisposable colorDisposable4 = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.TableBorderLight, accentColor, true); + try { - using ImRaii.TableDisposable tableDisposable = ImRaii.Table("SequenceGridTable", val2, ImGuiTableFlags.Borders | ImGuiTableFlags.SizingStretchSame); - if (!(bool)tableDisposable) + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(1174986515), num4, ImGuiTableFlags.SizingStretchSame); + int num5 = ((!(bool)tableDisposable) ? 1380440181 : 1380440183); + int num10 = default(int); + int num13 = default(int); + while (true) { - return; - } - int num = 0; - for (int i = 0; i <= maxSeq; i++) - { - if (num % val2 == 0) + int num6 = num5; + num = 1380440179; + num2 = num6; + int num7 = num2 + num; + int num8 = num2 & num; + switch (num7 - (num8 + num8)) { - ImGui.TableNextRow(); + case 9: + num5 = ((num10 % num4 != 0) ? 1380440177 : 1380440180); + break; + case 0: + num5 = ((num10 % num4 != 0) ? 1380440178 : 1380440187); + break; + case 8: + _200C_206C_200D_200B_200D_206E_206F_202A_200E_200D_202E_206A_200D_206B_206F_200C_202E_206F_206A_200B_202C_206B_200C_206C_202E_206E_206A_202A_200B_200C_200D_206D_200B_202C_206B_206A_200E_206E_206F_200E_202E(); + num5 = 1380440178; + break; + case 11: + num5 = ((num10 % num4 != 0) ? 1380440176 : 1380440181); + break; + case 2: + { + _206A_206F_206D_202C_200E_202D_200E_200B_200E_200D_202E_206F_206E_206D_206D_206B_202C_206D_200C_206B_202A_200C_202C_202D_202C_206F_202B_202C_206F_202C_206D_206A_206F_200C_202E_202E_200C_206E_206A_206C_202E(); + DrawSequenceCell(255, currentSequence, implementedSequences, sequenceDetails, hasEndSequence); + int num18 = num10; + num = 1; + num2 = num18; + num10 = (num2 | num) + (num2 & num); + num5 = 1380440184; + break; + } + case 5: + num5 = ((num13 <= maxSeq) ? 1380440179 : 1380440186); + break; + case 10: + num5 = 1380440183; + break; + case 1: + { + _206A_206F_206D_202C_200E_202D_200E_200B_200E_200D_202E_206F_206E_206D_206D_206B_202C_206D_200C_206B_202A_200C_202C_202D_202C_206F_202B_202C_206F_202C_206D_206A_206F_200C_202E_202E_200C_206E_206A_206C_202E(); + DrawSequenceCell(num13, currentSequence, implementedSequences, sequenceDetails); + int num14 = num10; + num = 1; + num2 = num14; + int num15 = num2 ^ num; + int num16 = num2 & num; + num10 = num15 + (num16 + num16); + int num17 = num13; + num = 1; + num2 = num17; + num13 = (num2 | num) + (num2 & num); + num5 = 1380440182; + break; + } + case 4: + num10 = 0; + num13 = 0; + num5 = 1380440182; + break; + case 7: + _200C_206C_200D_200B_200D_206E_206F_202A_200E_200D_202E_206A_200D_206B_206F_200C_202E_206F_206A_200B_202C_206B_200C_206C_202E_206E_206A_202A_200B_200C_200D_206D_200B_202C_206B_206A_200E_206E_206F_200E_202E(); + num5 = 1380440177; + break; + case 3: + { + _206A_206F_206D_202C_200E_202D_200E_200B_200E_200D_202E_206F_206E_206D_206D_206B_202C_206D_200C_206B_202A_200C_202C_202D_202C_206F_202B_202C_206F_202C_206D_206A_206F_200C_202E_202E_200C_206E_206A_206C_202E(); + int num9 = num10; + num = 1; + num2 = num9; + int num11 = num2 ^ num; + int num12 = num2 & num; + num10 = num11 + (num12 + num12); + num5 = 1380440184; + break; + } + case 6: + return; } - ImGui.TableNextColumn(); - DrawSequenceCell(i, currentSequence, implementedSequences, sequenceDetails); - num++; } - if (num % val2 == 0) + } + finally + { + int num5 = ((colorDisposable4 == null) ? 640774462 : 640774461); + while (true) { - ImGui.TableNextRow(); - } - ImGui.TableNextColumn(); - DrawSequenceCell(255, currentSequence, implementedSequences, sequenceDetails, hasEndSequence); - for (num++; num % val2 != 0; num++) - { - ImGui.TableNextColumn(); + int num19 = num5; + num = 640774460; + num2 = num19; + int num20 = num2 + num; + int num21 = num2 & num; + switch (num20 - (num21 + num21)) + { + case 0: + num5 = 640774461; + break; + case 1: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable4); + num5 = 640774462; + break; + case 2: + goto end_IL_0324; + } + continue; + end_IL_0324: + break; } } } + finally + { + int num5 = ((colorDisposable3 == null) ? 1736006227 : 1736006226); + while (true) + { + int num22 = num5; + num = 1736006227; + num2 = num22; + switch ((num2 | num) - (num2 & num)) + { + case 0: + goto end_IL_0391; + case 1: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable3); + num5 = 1736006227; + break; + case 2: + num5 = 1736006226; + break; + } + continue; + end_IL_0391: + break; + } + } + } + finally + { + int num5 = ((colorDisposable2 == null) ? (-1229963098) : (-1229963099)); + while (true) + { + int num23 = num5; + num = -1229963097; + num2 = num23; + switch ((num2 | num) - (num2 & num)) + { + case 0: + num5 = -1229963099; + break; + case 1: + goto end_IL_0409; + case 2: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable2); + num5 = -1229963098; + break; + } + continue; + end_IL_0409: + break; + } + } + } + finally + { + int num5 = ((colorDisposable == null) ? 1587692652 : 1587692655); + while (true) + { + int num24 = num5; + num = 1587692654; + num2 = num24; + int num25 = num2 + num; + int num26 = num2 & num; + switch (num25 - (num26 + num26)) + { + case 0: + num5 = 1587692655; + break; + case 2: + goto end_IL_0474; + case 1: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable); + num5 = 1587692652; + break; + } + continue; + end_IL_0474: + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawSequenceCell(int sequenceId, byte? currentSequence, HashSet implementedSequences, Dictionary sequenceDetails, bool? forcedImplemented = null) { - bool flag = currentSequence.HasValue && sequenceId == currentSequence.Value; - bool flag2 = forcedImplemented ?? implementedSequences.Contains(sequenceId); - bool flag3 = _hoveredSequenceId == sequenceId; - string text = ((sequenceId == 255) ? "255" : $"{sequenceId}"); - Vector4 input; - Vector4 input2; - if (flag) + int num = ((!currentSequence.HasValue) ? (-1470141168) : (-1470141176)); + ImDrawListPtr imDrawListPtr = default(ImDrawListPtr); + Vector2 vector6 = default(Vector2); + Vector2 vector7 = default(Vector2); + Vector4 vector4 = default(Vector4); + bool flag = default(bool); + Vector4 vector3 = default(Vector4); + bool flag3 = default(bool); + float x = default(float); + Vector2 vector8 = default(Vector2); + string text = default(string); + bool flag2 = default(bool); + bool? flag4 = default(bool?); + (int, string) value = default((int, string)); + while (true) { - input = (flag3 ? new Vector4(0.18f, 0.55f, 0.25f, 0.8f) : new Vector4(0.15f, 0.48f, 0.22f, 0.7f)); - input2 = new Vector4(0.5f, 1f, 0.6f, flag3 ? 0.8f : 0.5f); - } - else if (flag2) - { - input = (flag3 ? new Vector4(0.14f, 0.38f, 0.18f, 0.6f) : new Vector4(0.12f, 0.34f, 0.16f, 0.5f)); - input2 = new Vector4(0.5f, 1f, 0.6f, flag3 ? 0.5f : 0.25f); - } - else - { - input = (flag3 ? new Vector4(0.5f, 0.18f, 0.18f, 0.6f) : new Vector4(0.45f, 0.15f, 0.15f, 0.5f)); - input2 = new Vector4(1f, 0.5f, 0.5f, flag3 ? 0.6f : 0.3f); - } - Vector2 cursorScreenPos = ImGui.GetCursorScreenPos(); - Vector2 vector = new Vector2(ImGui.GetContentRegionAvail().X, 75f); - ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList(); - windowDrawList.AddRectFilled(cursorScreenPos, cursorScreenPos + vector, ImGui.ColorConvertFloat4ToU32(input), 3f); - if (flag3) - { - windowDrawList.AddRect(cursorScreenPos - new Vector2(1f, 1f), cursorScreenPos + vector + new Vector2(1f, 1f), ImGui.ColorConvertFloat4ToU32(new Vector4(input2.X, input2.Y, input2.Z, input2.W * 0.3f)), 3f, ImDrawFlags.None, 3f); - } - windowDrawList.AddRect(cursorScreenPos, cursorScreenPos + vector, ImGui.ColorConvertFloat4ToU32(input2), 3f, ImDrawFlags.None, flag3 ? 2f : 1.5f); - float x = vector.X; - Vector2 vector2 = ImGui.CalcTextSize(text); - Vector4 input3 = (flag ? new Vector4(0.98f, 0.98f, 1f, 1f) : new Vector4(0.9f, 0.9f, 0.98f, 1f)); - float y = cursorScreenPos.Y + (vector.Y - vector2.Y) * 0.5f; - windowDrawList.AddText(new Vector2(cursorScreenPos.X + (x - vector2.X) * 0.5f, y), ImGui.ColorConvertFloat4ToU32(input3), text); - ImGui.SetCursorScreenPos(cursorScreenPos); - ImU8String strId = new ImU8String(5, 1); - strId.AppendLiteral("##Seq"); - strId.AppendFormatted(sequenceId); - ImGui.InvisibleButton(strId, vector); - if (ImGui.IsItemHovered()) - { - _hoveredSequenceId = sequenceId; - using (ImRaii.Tooltip()) + int num2 = num; + int num3 = -1470141179; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num13; + bool num14; + object obj; + Vector4 vector11; + Vector4 vector5; + Vector4 vector2; + Vector4 vector9; + Vector4 vector10; + float y; + ImU8String imU8String4; + switch (num5 - (num6 + num6)) { - using (ImRaii.PushColor(ImGuiCol.Text, new Vector4(0.98f, 0.98f, 1f, 1f))) + default: + continue; + case 22: + imDrawListPtr.AddRect(vector6 - new Vector2(1f, 1f), vector6 + vector7 + new Vector2(1f, 1f), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(new Vector4(vector4.X, vector4.Y, vector4.Z, vector4.W * 0.3f)), 3f, ImDrawFlags.None, 3f); + num = -1470141178; + continue; + case 13: + num13 = ((sequenceId == currentSequence.Value) ? 1 : 0); + goto IL_0431; + case 18: + num = -1470141176; + continue; + case 14: + num14 = implementedSequences.Contains(sequenceId); + goto IL_0540; + case 11: + num = ((!flag) ? (-1470141174) : (-1470141172)); + continue; + case 10: + obj = $"{sequenceId}"; + goto IL_051a; + case 12: + vector11 = new Vector4(0.98f, 0.98f, 1f, 1f); + goto IL_01be; + case 8: + vector5 = new Vector4(0.14f, 0.38f, 0.18f, 0.6f); + goto IL_0275; + case 20: + vector5 = new Vector4(0.12f, 0.34f, 0.16f, 0.5f); + goto IL_0275; + case 16: + vector2 = new Vector4(0.5f, 0.18f, 0.18f, 0.6f); + goto IL_02f1; + case 2: + vector11 = new Vector4(0.9f, 0.9f, 0.98f, 1f); + goto IL_01be; + case 6: + vector6 = _202D_202C_202D_200B_202E_200F_206E_206C_206C_200B_200E_202C_202A_200E_206D_200F_206D_206B_206B_202B_206B_206F_206C_202E_206B_202D_200F_200F_202D_202C_206F_206A_206D_206D_200C_200D_202D_200E_202E_206C_202E(); + vector7 = new Vector2(_200C_206F_200C_202D_206F_200C_202E_202A_200F_206A_200D_206B_206D_206C_202C_200C_202E_200C_200F_206C_200C_202D_206D_200D_206C_202B_202C_202B_202E_206C_202C_202C_202E_200D_206D_206A_202B_202A_202C_202A_202E().X, 75f); + imDrawListPtr = _206E_200C_200E_206F_200D_200D_202A_206B_202D_202D_206F_202C_200D_200C_200D_200F_200B_202A_206C_206B_202C_200E_202E_206A_206A_202C_202B_200E_206B_200C_206F_200C_200B_200B_206B_200E_200F_206E_200D_206D_202E(); + imDrawListPtr.AddRectFilled(vector6, vector6 + vector7, _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(vector3), 3f); + num = ((!flag3) ? (-1470141178) : (-1470141165)); + continue; + case 19: + vector2 = new Vector4(0.45f, 0.15f, 0.15f, 0.5f); + goto IL_02f1; + case 1: + vector9 = new Vector4(0.18f, 0.55f, 0.25f, 0.8f); + goto IL_03f7; + case 21: + num13 = 0; + goto IL_0431; + case 7: + vector9 = new Vector4(0.15f, 0.48f, 0.22f, 0.7f); + goto IL_03f7; + case 3: + imDrawListPtr.AddRect(vector6, vector6 + vector7, _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(vector4), 3f, ImDrawFlags.None, flag3 ? 2f : 1.5f); + x = vector7.X; + vector8 = _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E((ImU8String)text, false, -1f); + num = (flag2 ? (-1470141175) : (-1470141177)); + continue; + case 9: + num = (flag3 ? (-1470141171) : (-1470141167)); + continue; + case 0: + obj = global::_003CModule_003E._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(-439868132); + goto IL_051a; + case 17: + num14 = flag4 == true; + goto IL_0540; + case 15: + num = (flag3 ? (-1470141163) : (-1470141162)); + continue; + case 5: + num = (flag3 ? (-1470141180) : (-1470141182)); + continue; + case 4: { - ImU8String text2 = new ImU8String(9, 1); - text2.AppendLiteral("Sequence "); - text2.AppendFormatted(sequenceId); - ImGui.Text(text2); - } - ImGui.Separator(); - if (flag2 && sequenceDetails.TryGetValue(sequenceId, out (int, string) value)) - { - ImGui.PushFont(UiBuilder.IconFont); - ImGui.TextColored(new Vector4(0.5f, 1f, 0.6f, 1f), FontAwesomeIcon.CheckCircle.ToIconString()); - ImGui.PopFont(); - 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.SameLine(); - col = new Vector4(0.7f, 0.9f, 1f, 1f); - ImU8String text4 = new ImU8String(0, 1); - text4.AppendFormatted(value.Item1); - ImGui.TextColored(in col, text4); - if (!string.IsNullOrEmpty(value.Item2)) + _hoveredSequenceId = sequenceId; + using (_206F_206B_200C_202E_202C_200B_200E_206E_202E_206C_202A_206A_206F_200C_200E_200F_206A_200D_200E_200F_200F_202D_200C_206D_202A_206C_206B_206A_200B_202A_202D_202A_200E_202D_206B_200B_202B_202B_206C_202E_202E()) { - ImGui.Separator(); - ImGui.PushTextWrapPos(250f); - ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), value.Item2); - ImGui.PopTextWrapPos(); + ImRaii.ColorDisposable colorDisposable = _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol.Text, UiThemeUtils.PrimaryTextColor, true); + try + { + ImU8String imU8String = new ImU8String(9, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-998481792)); + imU8String.AppendFormatted(sequenceId); + _202B_202C_202C_202B_200E_202C_200E_200C_202D_206E_200E_206E_202A_202D_200E_202D_206A_200E_206D_200C_200E_200F_202B_206B_200C_202E_200F_202B_206C_202D_206A_202B_206A_206A_206B_202E_200E_206B_206A_202E_202E(imU8String); + } + finally + { + num = ((colorDisposable == null) ? (-774145483) : (-774145482)); + while (true) + { + int num7 = num; + num3 = -774145481; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + goto end_IL_0616; + case 1: + _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E((IDisposable)colorDisposable); + num = -774145483; + break; + case 0: + num = -774145482; + break; + } + continue; + end_IL_0616: + break; + } + } + _206D_206A_206C_202B_202D_206F_206A_206F_200E_202D_202B_200E_202E_202A_200E_202C_202E_202B_202C_200B_206D_202D_200C_206D_200D_202E_202D_202E_206A_202D_206E_200E_206C_206B_206E_200D_202B_202B_202C_200E_202E(); + num = ((!flag) ? (-1534095731) : (-1534095735)); + while (true) + { + int num10 = num; + num3 = -1534095732; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + num = -1534095735; + break; + case 6: + _206D_206A_206C_202B_202D_206F_206A_206F_200E_202D_202B_200E_202E_202A_200E_202C_202E_202B_202C_200B_206D_202D_200C_206D_200D_202E_202D_202E_206A_202D_206E_200E_206C_206B_206E_200D_202B_202B_202C_200E_202E(); + _200B_200C_200C_202A_206B_202E_200B_206E_200F_202C_202C_202C_206C_206E_202C_206F_200C_202C_202D_206B_206E_200E_200C_206A_200E_206B_206E_200F_202C_202A_206D_206B_200D_206F_206E_206E_206B_202E_206E_202D_202E(250f); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref UiThemeUtils.DimTextColor, (ImU8String)value.Item2); + _202C_206F_206A_202E_200C_200E_202B_206D_206C_206B_200B_202C_202A_202D_206D_202D_202B_206A_206F_200E_202C_206B_206D_200E_206D_206C_206F_200F_206A_206E_202C_200B_202C_206C_200E_206C_200F_200E_200C_202D_202E(); + num = -1534095730; + break; + case 1: + num = (flag ? (-1534095730) : (-1534095729)); + break; + case 5: + num = ((!sequenceDetails.TryGetValue(sequenceId, out value)) ? (-1534095731) : (-1534095736)); + break; + case 2: + num = ((!flag2) ? (-1534095733) : (-1534095740)); + break; + case 4: + { + _202E_202D_202E_206D_206B_206F_202E_202D_200F_206C_200F_202B_206B_202D_206B_200D_206B_206A_202E_200B_202B_202E_200F_202A_200C_200D_206B_202B_206B_206D_202A_206A_206D_202B_200B_206C_202A_206E_202A_206E_202E(_200D_206C_200F_202A_202E_206D_206E_202E_202A_206C_202C_202C_200C_202C_206D_202D_206F_200C_206F_200B_206A_200C_202A_200B_206E_202C_206D_202E_202A_200D_200F_200B_202B_202C_202C_206E_200F_200C_202A_202A_202E()); + Vector4 vector = new Vector4(0.5f, 1f, 0.6f, 1f); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref vector, (ImU8String)_200F_200C_206B_200B_206C_200E_206F_206C_206D_206A_200E_202B_206B_206E_202A_206C_202D_202E_200D_206E_202E_202A_206D_200B_206B_202C_202A_206A_206E_206D_202C_200F_206D_206E_202C_200E_202D_206F_200D_200C_202E(FontAwesomeIcon.CheckCircle)); + _206A_202D_200F_202E_202E_200C_202C_206C_202A_200C_206F_206E_200B_206F_202B_202E_200E_202B_200F_206A_206E_202E_202E_202D_200E_202D_202C_202C_202D_206E_200E_200E_202B_206F_200C_200F_200F_206B_206E_202B_202E(); + _200E_202D_200B_206E_200E_200D_202D_202B_202D_206F_206B_206A_202A_202A_206F_206B_200D_200F_200E_202C_206C_200B_206C_200E_200E_202E_200C_206C_202D_202A_206E_206B_200C_202D_200F_202C_206C_202C_202E_200D_202E(); + vector = new Vector4(0.5f, 1f, 0.6f, 1f); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref vector, (ImU8String)global::_003CModule_003E._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(1366731868)); + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + ImU8String imU8String2 = new ImU8String(6, 0); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1644871220)); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref UiThemeUtils.PrimaryTextColor, imU8String2); + _200E_202D_200B_206E_200E_200D_202D_202B_202D_206F_206B_206A_202A_202A_206F_206B_200D_200F_200E_202C_206C_200B_206C_200E_200E_202E_200C_206C_202D_202A_206E_206B_200C_202D_200F_202C_206C_202C_202E_200D_202E(); + vector = new Vector4(0.7f, 0.9f, 1f, 1f); + ImU8String imU8String3 = new ImU8String(0, 1); + imU8String3.AppendFormatted(value.Item1); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref vector, imU8String3); + num = (_200B_202E_200B_206B_206D_200F_202D_200F_202D_202A_202E_200B_202E_200B_206A_202A_200E_202B_200B_200F_202C_206E_206F_206C_200E_202D_202C_200B_202A_200B_200B_202B_200E_202A_200F_206F_206C_200F_200F_200C_202E(value.Item2) ? (-1534095730) : (-1534095734)); + break; + } + case 8: + { + _206D_206A_206C_202B_202D_206F_206A_206F_200E_202D_202B_200E_202E_202A_200E_202C_202E_202B_202C_200B_206D_202D_200C_206D_200D_202E_202D_202E_206A_202D_206E_200E_206C_206B_206E_200D_202B_202B_202C_200E_202E(); + Vector4 vector = new Vector4(1f, 0.85f, 0.5f, 1f); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref vector, (ImU8String)global::_003CModule_003E._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(2072567973)); + num = -1534095733; + break; + } + case 3: + { + _202E_202D_202E_206D_206B_206F_202E_202D_200F_206C_200F_202B_206B_202D_206B_200D_206B_206A_202E_200B_202B_202E_200F_202A_200C_200D_206B_202B_206B_206D_202A_206A_206D_202B_200B_206C_202A_206E_202A_206E_202E(_200D_206C_200F_202A_202E_206D_206E_202E_202A_206C_202C_202C_200C_202C_206D_202D_206F_200C_206F_200B_206A_200C_202A_200B_206E_202C_206D_202E_202A_200D_200F_200B_202B_202C_202C_206E_200F_200C_202A_202A_202E()); + Vector4 vector = new Vector4(1f, 0.5f, 0.5f, 1f); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref vector, (ImU8String)_200F_200C_206B_200B_206C_200E_206F_206C_206D_206A_200E_202B_206B_206E_202A_206C_202D_202E_200D_206E_202E_202A_206D_200B_206B_202C_202A_206A_206E_206D_202C_200F_206D_206E_202C_200E_202D_206F_200D_200C_202E(FontAwesomeIcon.TimesCircle)); + _206A_202D_200F_202E_202E_200C_202C_206C_202A_200C_206F_206E_200B_206F_202B_202E_200E_202B_200F_206A_206E_202E_202E_202D_200E_202D_202C_202C_202D_206E_200E_200E_202B_206F_200C_200F_200F_206B_206E_202B_202E(); + _200E_202D_200B_206E_200E_200D_202D_202B_202D_206F_206B_206A_202A_202A_206F_206B_200D_200F_200E_202C_206C_200B_206C_200E_200E_202E_200C_206C_202D_202A_206E_206B_200C_202D_200F_202C_206C_202C_202E_200D_202E(); + vector = new Vector4(1f, 0.5f, 0.5f, 1f); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref vector, (ImU8String)global::_003CModule_003E._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(137146653)); + _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E(); + _200B_200C_200C_202A_206B_202E_200B_206E_200F_202C_202C_202C_206C_206E_202C_206F_200C_202C_202D_206B_206E_200E_200C_206A_200E_206B_206E_200F_202C_202A_206D_206B_200D_206F_206E_206E_206B_202E_206E_202D_202E(250f); + _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(1810969366)); + _202C_206F_206A_202E_200C_200E_202B_206D_206C_206B_200B_202C_202A_202D_206D_202D_202B_206A_206F_200E_202C_206B_206D_200E_206D_206C_206F_200F_206A_206E_202C_200B_202C_206C_200E_206C_200F_200E_200C_202D_202E(); + num = -1534095730; + break; + } + case 7: + goto end_IL_0687; + } + continue; + end_IL_0687: + break; + } } + break; } - else if (!flag2) + IL_02f1: + vector3 = vector2; + vector4 = new Vector4(1f, 0.5f, 0.5f, flag3 ? 0.6f : 0.3f); + num = -1470141181; + continue; + IL_0540: + flag = num14; + flag3 = _hoveredSequenceId == sequenceId; + num = ((sequenceId == 255) ? (-1470141179) : (-1470141169)); + continue; + IL_0275: + vector3 = vector5; + vector4 = new Vector4(0.5f, 1f, 0.6f, flag3 ? 0.5f : 0.25f); + num = -1470141181; + continue; + IL_0431: + flag2 = (byte)num13 != 0; + flag4 = forcedImplemented; + num = (flag4.HasValue ? (-1470141164) : (-1470141173)); + continue; + IL_051a: + text = (string)obj; + num = ((!flag2) ? (-1470141170) : (-1470141184)); + continue; + IL_03f7: + vector3 = vector9; + vector4 = new Vector4(0.5f, 1f, 0.6f, flag3 ? 0.8f : 0.5f); + num = -1470141181; + continue; + IL_01be: + vector10 = vector11; + y = vector6.Y + (vector7.Y - vector8.Y) * 0.5f; + imDrawListPtr.AddText(new Vector2(vector6.X + (x - vector8.X) * 0.5f, y), _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(vector10), text); + _202B_206F_200B_206F_206E_206B_200B_200C_200C_200C_200D_206C_206D_202C_202B_200F_206A_202A_202D_200D_206B_206C_206A_200B_206B_206D_200B_206A_202E_206F_206D_200F_200B_206B_202D_206D_202B_200F_202D_206C_202E(vector6); + imU8String4 = new ImU8String(5, 1); + imU8String4.AppendLiteral(global::_003CModule_003E._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(-911821499)); + imU8String4.AppendFormatted(sequenceId); + _202A_206F_202B_206C_200C_200C_200D_200F_202A_202B_206A_206C_200E_206E_202E_202E_202B_202A_206F_200D_200D_200D_206F_206F_206D_200D_206F_206A_200C_202C_202B_206B_206D_206D_206D_200F_200E_202E_200F_206C_202E(imU8String4, vector7, ImGuiButtonFlags.None); + if (_200D_202E_200E_206F_202D_200F_202A_206F_206C_206C_202B_206E_202A_202B_202C_202E_202E_200D_202E_206E_200C_200E_200E_202D_202D_202D_206A_206D_206D_206B_202C_200C_200D_200D_200F_206E_202B_206A_206A_202C_202E()) { - ImGui.PushFont(UiBuilder.IconFont); - ImGui.TextColored(new Vector4(1f, 0.5f, 0.5f, 1f), FontAwesomeIcon.TimesCircle.ToIconString()); - ImGui.PopFont(); - ImGui.SameLine(); - 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.PopTextWrapPos(); + num = -1470141183; + continue; } - if (flag) + num = ((_hoveredSequenceId != sequenceId) ? (-580875190) : (-580875189)); + while (true) { - ImGui.Separator(); - ImGui.TextColored(new Vector4(1f, 0.85f, 0.5f, 1f), "► Currently Active"); + int num15 = num; + num3 = -580875190; + num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + default: + continue; + case 2: + num = -580875189; + continue; + case 1: + _hoveredSequenceId = -1; + num = -580875190; + continue; + case 0: + break; + } + break; } + break; } + break; } - else if (_hoveredSequenceId == sequenceId) - { - _hoveredSequenceId = -1; - } - ImGui.SetCursorScreenPos(cursorScreenPos + new Vector2(0f, vector.Y)); + _202B_206F_200B_206F_206E_206B_200B_200C_200C_200C_200D_206C_206D_202C_202B_200F_206A_202A_202D_200D_206B_206C_206A_200B_206B_206D_200B_206A_202E_206F_206D_200F_200B_206B_202D_206D_202B_200F_202D_206C_202E(vector6 + new Vector2(0f, vector7.Y)); } - private static string GetSequenceFilename(int questId, string questName) + [MethodImpl(MethodImplOptions.NoInlining)] + internal static string GetSequenceFilename(int questId, string questName) { - string value = (questName ?? string.Empty).Trim(); - return $"{questId}_{value}.json"; + string value = _200E_200D_200F_202C_206D_202C_202E_202B_206E_206A_206D_202D_206A_206A_206A_206F_206E_206D_200D_200D_200F_200B_200E_200C_200B_206A_206C_202A_206A_206F_200E_206F_202A_206C_200E_202C_202C_206E_206C_206E_202E(questName ?? string.Empty); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 2); + defaultInterpolatedStringHandler.AppendFormatted(questId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1981151499)); + defaultInterpolatedStringHandler.AppendFormatted(value); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-649244264)); + return defaultInterpolatedStringHandler.ToStringAndClear(); } public void SetLookedUpQuest(ElementId? id) { _lookedUpQuestId = id; } + + static Vector2 _202D_202C_202D_200B_202E_200F_206E_206C_206C_200B_200E_202C_202A_200E_206D_200F_206D_206B_206B_202B_206B_206F_206C_202E_206B_202D_200F_200F_202D_202C_206F_206A_206D_206D_200C_200D_202D_200E_202E_206C_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static Vector2 _200C_206F_200C_202D_206F_200C_202E_202A_200F_206A_200D_206B_206D_206C_202C_200C_202E_200C_200F_206C_200C_202D_206D_200D_206C_202B_202C_202B_202E_206C_202C_202C_202E_200D_206D_206A_202B_202A_202C_202A_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _200B_206E_202A_206F_206E_206B_206B_202E_202C_200C_200F_206D_200E_206F_200F_202D_206D_200D_206C_206C_206A_200D_200D_202E_206C_206C_206B_206D_200D_202E_202A_202B_202B_200C_202E_200D_206A_206B_202A_202D_202E() + { + return ImGui.GetFrameHeightWithSpacing(); + } + + static ImGuiStylePtr _200B_202B_202D_202E_206C_206A_200C_202C_206D_202A_206D_206B_202E_202E_206C_202C_200D_206B_206D_202E_206F_202A_200C_202A_206F_206F_206D_206A_202D_200E_202E_202B_206C_206B_206C_206A_202E_202B_200F_206F_202E() + { + return ImGui.GetStyle(); + } + + static ImDrawListPtr _206E_200C_200E_206F_200D_200D_202A_206B_202D_202D_206F_202C_200D_200C_200D_200F_200B_202A_206C_206B_202C_200E_202E_206A_206A_202C_202B_200E_206B_200C_206F_200C_200B_200B_206B_200E_200F_206E_200D_206D_202E() + { + return ImGui.GetWindowDrawList(); + } + + static uint _206E_202B_206F_202E_206E_200C_200E_200B_202A_200E_202E_200B_200C_206E_200C_200B_200D_202C_200E_200D_202B_202C_202C_202D_200B_200E_206E_200D_202B_202B_206E_202D_202C_202A_202B_200C_202E_200C_206B_200E_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static float _200F_202A_206E_200C_202C_202D_206C_206C_202B_206E_202B_202B_202C_206D_206C_200C_206B_206A_206D_206D_202E_200B_206A_206C_202E_200F_200D_206A_200B_202E_200D_202D_200E_206E_200B_202D_206B_206A_206E_206D_202E() + { + return ImGui.GetTextLineHeight(); + } + + static float _206E_200C_200C_202E_206F_202E_200F_200E_200F_206F_206B_206B_206A_202B_202B_202D_202D_206F_206E_200B_206F_200F_200D_200D_206E_200E_206D_206E_206C_206D_206E_202B_200B_200D_206A_206D_206D_202C_202D_202E_202E() + { + return ImGui.GetCursorPosY(); + } + + static void _202C_206E_206D_200E_206E_200F_206D_206F_200B_202A_200B_202D_202C_206D_202B_202D_200D_200F_202B_200E_202A_200D_200B_206B_202C_202B_200D_202A_202D_202B_202B_206D_206D_206A_202A_202C_200B_206A_200C_206C_202E(float P_0) + { + ImGui.SetCursorPosY(P_0); + } + + static float _206F_206D_206B_206B_202D_202A_202A_200F_200B_202E_206B_200B_206B_202A_202D_200E_200D_206F_206E_206D_206E_206E_206A_206E_200E_206C_200C_206C_200B_202B_206E_202D_200D_206E_202D_200D_206F_206D_206B_202B_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _202C_206D_200E_200B_200B_202D_206A_200F_200E_202B_206B_200D_200E_200F_206D_206B_206B_202B_202C_200E_206C_200C_206F_200E_202A_200B_206E_202B_202A_206F_206A_202D_206B_206B_202E_202C_206E_202D_200C_202C_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static void _206D_206B_206B_206B_206A_200D_202B_206C_200F_206B_202A_202E_200F_206F_206C_202B_200E_200B_200B_200F_202C_202D_206A_202E_202C_202A_206C_200F_202B_202C_206C_202E_200B_202A_200D_200D_202D_206F_200C_206B_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _206F_200D_202B_200C_202D_202A_200C_200F_206C_200C_202A_200E_206A_202C_202E_200E_206A_200F_206B_206D_206A_206F_202B_206B_206E_200E_202C_206A_200C_200F_202A_206A_202A_200E_206C_206D_206C_200E_202C_202C_202E(float P_0) + { + ImGui.SameLine(P_0); + } + + static ImRaii.ColorDisposable _202C_206F_200D_202A_202B_206A_200F_206E_206E_202A_200B_202B_200B_200B_206C_202D_206B_202B_202D_206E_206E_200E_206F_206A_206D_206F_206D_202E_202D_206A_200F_206E_206C_202E_202A_206C_202B_202A_202A_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static bool _202A_206F_200B_200B_206D_200E_206D_200D_206A_200D_202D_206D_200C_202C_206B_202A_206F_202B_206E_206A_200B_200E_206D_200D_200B_206F_202A_202B_200B_202A_200B_206E_206D_202C_202E_200B_202A_202B_206E_200E_202E(FontAwesomeIcon P_0) + { + return ImGuiComponents.IconButton(P_0); + } + + static void _200C_202E_206A_206C_206B_206B_200B_200D_206C_200E_206B_200C_206A_200C_200B_202A_200C_202C_200D_200E_206D_200B_200E_206F_200D_206F_206D_200C_202C_206B_200F_206A_200D_202D_206B_202D_200F_200C_202B_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static Vector2 _202E_206D_202A_202A_200F_202C_206B_200D_200B_206E_206C_200F_202E_206C_200D_200E_206E_206A_202B_202B_206E_202C_202B_202A_202C_200D_206F_206E_202A_202C_200E_206E_200C_206F_206C_206C_202D_206A_200B_202B_202E() + { + return ImGui.GetWindowPos(); + } + + static Vector2 _206F_206C_202A_206C_206B_200B_200D_202E_202E_202C_206C_206A_202D_200F_200C_200E_200D_200B_202D_206B_200D_200F_200D_202C_206A_206B_200D_206E_206F_206E_206B_200B_206C_202E_200C_206E_206F_206A_200B_202E_202E() + { + return ImGui.GetWindowSize(); + } + + static bool _202B_200B_206B_200C_200C_200B_202C_202D_200F_200C_200B_202E_202B_200B_206C_200E_200D_202E_202E_206C_202E_200B_206D_206F_202D_200D_200E_202C_200C_200F_200E_200E_202D_202D_202A_206B_202B_200D_202C_200C_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } + + static bool _200E_206C_206B_200D_206C_200B_206B_206D_202C_206C_206C_206A_206D_202A_200F_206E_200D_200E_200C_202E_202A_200B_206B_206F_202C_200F_200F_200B_206C_202C_206A_200D_200F_206D_206C_206C_206F_200B_200B_206E_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static void _206D_200C_200F_206A_206D_206E_202E_200F_206D_206B_202B_200C_200E_200D_206B_202D_202B_200D_202B_202D_202A_200C_202A_206A_200C_200B_200B_200C_202D_200E_202B_202B_202B_206D_206E_202E_206E_200D_200C_202D_202E() + { + ImGui.Spacing(); + } + + static bool _200D_202D_202A_206C_202D_200D_206A_202D_206B_206D_206C_206E_206E_200F_206E_206D_206C_202D_200E_206A_206C_200C_206F_202B_206F_206B_200E_200B_200C_202A_206A_206E_202E_206D_202B_200B_206A_202D_206F_200C_202E(ImU8String P_0, Vector2 P_1) + { + return ImGui.Button(P_0, P_1); + } + + static ushort _200E_202C_202B_202A_202B_200B_202A_200D_200D_206F_200D_202D_206E_206F_202C_206E_202A_200E_202C_206B_200B_206B_200F_206A_200E_202C_206A_202B_206F_206E_200E_202E_206A_206A_200B_200C_202C_206E_202D_200D_202E(ElementId P_0) + { + return P_0.Value; + } + + static void _206E_206B_200E_206B_206C_202E_200E_200E_202A_200F_202C_202B_200E_200D_206E_202A_200C_206D_202D_206A_206D_200C_206A_202C_202A_206C_202D_206C_200D_202C_206D_206F_202D_200F_206A_202A_202E_206C_202B_206D_202E(ImU8String P_0) + { + ImGui.SetClipboardText(P_0); + } + + static CultureInfo _206A_202E_200E_200F_200E_200E_200D_206B_202D_206E_200D_202A_206B_202C_206D_202B_202C_200C_202B_202B_206B_200F_206A_202E_206E_202B_200D_202B_202E_206E_202B_206A_202A_206C_202B_206A_202B_202E_206D_200F_202E() + { + return CultureInfo.InvariantCulture; + } + + static bool _200D_202E_200E_206F_202D_200F_202A_206F_206C_206C_202B_206E_202A_202B_202C_202E_202E_200D_202E_206E_200C_200E_200E_202D_202D_202D_206A_206D_206D_206B_202C_200C_200D_200D_200F_206E_202B_206A_206A_202C_202E() + { + return ImGui.IsItemHovered(); + } + + static void _202A_202A_200D_206D_206F_202D_200B_206B_202A_200F_200C_200E_202B_206A_202B_202E_200F_202D_206A_206C_200E_202C_200C_202D_200D_206B_206C_202B_206D_206E_200D_202A_206C_200C_206F_200D_202D_206E_200F_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static ImFontPtr _200D_206C_200F_202A_202E_206D_206E_202E_202A_206C_202C_202C_200C_202C_206D_202D_206F_200C_206F_200B_206A_200C_202A_200B_206E_202C_206D_202E_202A_200D_200F_200B_202B_202C_202C_206E_200F_200C_202A_202A_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _202E_206E_200F_200F_200F_206D_202D_202C_206A_206C_206B_206B_200F_202D_206C_200E_202D_206B_206D_200C_206F_200C_200C_206D_206A_202A_206A_202E_206D_200D_206C_206F_202D_200F_200E_202E_200F_200D_206F_202E_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _200F_200C_206B_200B_206C_200E_206F_206C_206D_206A_200E_202B_206B_206E_202A_206C_202D_202E_200D_206E_202E_202A_206D_200B_206B_202C_202A_206A_206E_206D_202C_200F_206D_206E_202C_200E_202D_206F_200D_200C_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static void _200E_202D_200B_206E_200E_200D_202D_202B_202D_206F_206B_206A_202A_202A_206F_206B_200D_200F_200E_202C_206C_200B_206C_200E_200E_202E_200C_206C_202D_202A_206E_206B_200C_202D_200F_202C_206C_202C_202E_200D_202E() + { + ImGui.SameLine(); + } + + static Vector2 _202B_206A_202C_206B_206F_206E_200F_206B_202B_206F_202D_206B_202E_206B_202A_202E_206F_202D_200F_202B_206B_200F_200D_200E_206C_200C_200C_200E_206C_200E_206E_206A_206D_200F_200F_202C_200C_206D_206F_200D_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static void _206D_202D_200D_206E_200D_206F_206D_200E_206F_202B_202C_200E_200D_202E_206B_206A_200F_206D_206C_200F_206B_202C_202B_200D_206C_202D_206B_202E_202B_206B_206C_206E_200E_202C_202E_206E_206F_206F_202D_202A_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static bool _200F_200B_206D_202E_206B_202E_202A_202B_206F_202D_206E_202D_200B_206C_200B_202C_200D_202A_206E_206A_200D_200C_200E_206C_206E_200E_206E_206F_206F_202A_206E_202C_200C_202B_206F_206F_200F_200D_200F_200D_202E(ImU8String P_0, ImU8String P_1, ref string P_2, int P_3, ImGuiInputTextFlags P_4, ImGui.ImGuiInputTextCallbackDelegate P_5) + { + return ImGui.InputTextWithHint(P_0, P_1, ref P_2, P_3, P_4, P_5); + } + + static bool _206F_200D_206B_200B_202B_206A_206C_206B_200B_206D_200F_200D_202E_206B_206F_200B_202A_206E_200B_206C_200C_200D_206D_200E_202D_206D_202D_202B_200C_200B_206C_202C_206F_202A_200E_200C_206B_206F_202D_200E_202E(FontAwesomeIcon P_0, string P_1, Vector4? P_2, Vector4? P_3, Vector4? P_4, Vector2? P_5) + { + return ImGuiComponents.IconButtonWithText(P_0, P_1, P_2, P_3, P_4, P_5); + } + + static QuestId _206F_202A_200B_206F_202C_202B_200E_202C_206C_200F_200E_206D_202E_206D_202B_202E_202C_202C_200B_202B_202B_206E_202A_200F_202C_202A_200B_200D_206D_202D_202A_206B_202C_206B_206D_200B_206C_200D_206C_200D_202E(ushort P_0) + { + return new QuestId(P_0); + } + + static void _202E_202D_202E_206D_206B_206F_202E_202D_200F_206C_200F_202B_206B_202D_206B_200D_206B_206A_202E_200B_202B_202E_200F_202A_200C_200D_206B_202B_206B_206D_202A_206A_206D_202B_200B_206C_202A_206E_202A_206E_202E(ImFontPtr P_0) + { + ImGui.PushFont(P_0); + } + + static void _202B_206F_200B_206F_206E_206B_200B_200C_200C_200C_200D_206C_206D_202C_202B_200F_206A_202A_202D_200D_206B_206C_206A_200B_206B_206D_200B_206A_202E_206F_206D_200F_200B_206B_202D_206D_202B_200F_202D_206C_202E(Vector2 P_0) + { + ImGui.SetCursorScreenPos(P_0); + } + + static void _206A_202D_200F_202E_202E_200C_202C_206C_202A_200C_206F_206E_200B_206F_202B_202E_200E_202B_200F_206A_206E_202E_202E_202D_200E_202D_202C_202C_202D_206E_200E_200E_202B_206F_200C_200F_200F_206B_206E_202B_202E() + { + ImGui.PopFont(); + } + + static float _202A_200E_206E_202A_202C_200B_200F_200D_206A_200C_200F_206D_200E_202C_206B_206E_206D_200D_200C_206E_206D_206B_200F_206A_206A_200E_206E_202E_200F_200E_202B_200F_200D_206A_202E_202E_200C_202B_202D_200E_202E(float P_0, float P_1) + { + return MathF.Max(P_0, P_1); + } + + static float _202E_206A_206A_206E_200D_202C_206B_200B_206B_206D_206C_202C_206D_206C_202B_202E_202D_206E_202C_206F_202A_202B_200B_202E_206A_206F_202C_206C_200B_202D_206A_202B_202C_206A_202B_200E_202B_202D_206C_206C_202E() + { + return ImGui.GetFrameHeight(); + } + + static double _206B_200D_202A_202A_200D_206E_200F_202A_206D_206F_202B_200D_206F_206C_200F_202D_206D_200C_200C_206C_202C_202B_202D_202C_200F_200D_200F_200B_202B_206D_200C_200C_202C_202D_200B_200F_206C_202E_200E_202C_202E() + { + return ImGui.GetTime(); + } + + static float _206E_206E_206E_202C_200C_200E_200B_200F_202A_206D_200F_206F_200B_206D_206B_206E_202E_206F_206A_206D_202B_200D_200D_206D_202D_206B_200D_202A_200B_202B_206C_200F_200E_200B_200B_206D_200F_202D_206E_200C_202E(float P_0) + { + return MathF.Sin(P_0); + } + + static int _206A_206F_206C_200F_202A_202D_206E_202A_200B_202B_206F_202C_206F_200C_200F_202C_202A_206D_206D_200E_202B_202C_200B_202C_200E_202B_200C_206E_206C_202B_202E_206A_200B_200E_200F_202B_202B_202C_202B_200C_202E(IEnumerable P_0) + { + return P_0.Max(); + } + + static List _200D_206E_200B_202D_206D_200C_206A_200F_200C_200B_206D_202C_202C_202A_206E_200E_202A_206C_202C_206B_200B_206F_206B_202C_206A_206B_206F_200F_200C_200C_202E_206F_200F_206E_206F_200E_202D_206F_206D_202E_202E(QuestRoot P_0) + { + return P_0.QuestSequence; + } + + static byte _206C_200B_200F_206C_200F_200F_200D_206E_200C_202B_202C_202B_202A_206B_200C_200B_202E_200D_206D_202B_202B_202E_206C_200D_206E_202B_200D_202C_200F_206E_200D_206D_202C_202A_206B_200D_206C_206E_206F_202D_202E(QuestSequence P_0) + { + return P_0.Sequence; + } + + static List _206E_200B_206C_206E_202B_200F_202E_200C_206A_200D_202E_200F_206A_200E_206F_206A_206C_200F_206B_200C_202C_206E_202D_206C_206F_206C_206C_206B_200B_206D_202A_206C_202C_202E_206D_206B_200E_202B_206B_200D_202E(QuestSequence P_0) + { + return P_0.Steps; + } + + static string _206A_202B_200B_206C_202D_200C_200F_200B_202B_200D_206D_202C_202B_200F_206F_206B_206E_202A_200D_206A_202E_202C_206E_202B_200F_202C_202A_202D_206B_206E_206F_200C_202E_206E_206F_206C_200B_206F_206F_202D_202E(QuestSequence P_0) + { + return P_0.Comment; + } + + static string _206F_200F_202D_206D_202A_202D_202A_206B_200E_206D_206F_200D_202C_200B_202B_202A_206A_200F_200C_206B_202B_206C_206A_206C_200C_206F_202A_202B_206D_202A_206B_200E_206F_200E_206D_200F_202C_200D_202B_206F_202E(Exception P_0) + { + return P_0.Message; + } + + static string _206A_200D_200C_206B_206B_202C_206F_200B_202D_206C_202B_200B_206B_202E_206D_202A_206F_200E_200D_206F_200D_206D_206D_206A_200C_202A_200F_200B_202A_200D_202C_206F_206A_202D_200E_200F_206C_206D_202D_206D_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _200E_206A_202C_206C_202A_202C_206D_202E_200D_200D_206C_206D_206B_206E_202A_200E_202B_200F_200C_202E_200D_206E_200C_200C_200D_206D_202B_202B_200E_200C_200C_202B_202D_202A_202A_202E_200B_200D_206B_206B_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static void _200D_206F_200C_200D_202E_206E_202D_206D_206C_206A_200F_200C_206C_202C_206D_200E_206B_206A_200C_206D_206C_200C_206A_202B_206D_200D_202A_200B_202B_200E_202D_200C_200E_202D_206D_206B_206A_200B_200B_202B_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static void _200C_206C_200D_200B_200D_206E_206F_202A_200E_200D_202E_206A_200D_206B_206F_200C_202E_206F_206A_200B_202C_206B_200C_206C_202E_206E_206A_202A_200B_200C_200D_206D_200B_202C_206B_206A_200E_206E_206F_200E_202E() + { + ImGui.TableNextRow(); + } + + static bool _206A_206F_206D_202C_200E_202D_200E_200B_200E_200D_202E_206F_206E_206D_206D_206B_202C_206D_200C_206B_202A_200C_202C_202D_202C_206F_202B_202C_206F_202C_206D_206A_206F_200C_202E_202E_200C_206E_206A_206C_202E() + { + return ImGui.TableNextColumn(); + } + + static int _202C_202B_200F_206E_202E_200D_202B_206C_206D_206D_202E_202C_206C_206A_202D_206A_200D_206F_200D_206C_202D_202C_206C_200B_206A_200D_200E_200F_202B_200D_200C_206C_206E_206A_200C_200C_202C_206A_202E_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static int _206E_206A_202E_200D_202B_206D_200C_206B_202D_206C_206A_200F_200B_200F_206E_200F_206A_202A_200F_200C_202A_206B_200E_206E_206A_206C_200D_206C_200C_202C_206A_206A_202C_200D_200E_200D_200D_202B_200B_206E_202E(int P_0, int P_1) + { + return Math.Max(P_0, P_1); + } + + static ImRaii.ChildDisposable _202E_202B_206E_200B_200E_200E_206C_200F_200F_206D_202B_200E_202E_200B_202A_200B_202E_200D_200F_200B_206C_200F_200B_200F_206F_200B_202A_202E_202C_200F_206B_206C_200F_200C_200B_202B_200F_202E_202C_206D_202E(ImU8String P_0, Vector2 P_1, bool P_2, ImGuiWindowFlags P_3) + { + return ImRaii.Child(P_0, P_1, P_2, P_3); + } + + static bool _202A_206F_202B_206C_200C_200C_200D_200F_202A_202B_206A_206C_200E_206E_202E_202E_202B_202A_206F_200D_200D_200D_206F_206F_206D_200D_206F_206A_200C_202C_202B_206B_206D_206D_206D_200F_200E_202E_200F_206C_202E(ImU8String P_0, Vector2 P_1, ImGuiButtonFlags P_2) + { + return ImGui.InvisibleButton(P_0, P_1, P_2); + } + + static ImRaii.TooltipDisposable _206F_206B_200C_202E_202C_200B_200E_206E_202E_206C_202A_206A_206F_200C_200E_200F_206A_200D_200E_200F_200F_202D_200C_206D_202A_206C_206B_206A_200B_202A_202D_202A_200E_202D_206B_200B_202B_202B_206C_202E_202E() + { + return ImRaii.Tooltip(); + } + + static void _202B_202C_202C_202B_200E_202C_200E_200C_202D_206E_200E_206E_202A_202D_200E_202D_206A_200E_206D_200C_200E_200F_202B_206B_200C_202E_200F_202B_206C_202D_206A_202B_206A_206A_206B_202E_200E_206B_206A_202E_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static void _206D_206A_206C_202B_202D_206F_206A_206F_200E_202D_202B_200E_202E_202A_200E_202C_202E_202B_202C_200B_206D_202D_200C_206D_200D_202E_202D_202E_206A_202D_206E_200E_206C_206B_206E_200D_202B_202B_202C_200E_202E() + { + ImGui.Separator(); + } + + static bool _200B_202E_200B_206B_206D_200F_202D_200F_202D_202A_202E_200B_202E_200B_206A_202A_200E_202B_200B_200F_202C_206E_206F_206C_200E_202D_202C_200B_202A_200B_200B_202B_200E_202A_200F_206F_206C_200F_200F_200C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static void _200B_200C_200C_202A_206B_202E_200B_206E_200F_202C_202C_202C_206C_206E_202C_206F_200C_202C_202D_206B_206E_200E_200C_206A_200E_206B_206E_200F_202C_202A_206D_206B_200D_206F_206E_206E_206B_202E_206E_202D_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static void _202C_206F_206A_202E_200C_200E_202B_206D_206C_206B_200B_202C_202A_202D_206D_202D_202B_206A_206F_200E_202C_206B_206D_200E_206D_206C_206F_200F_206A_206E_202C_200B_202C_206C_200E_206C_200F_200E_200C_202D_202E() + { + ImGui.PopTextWrapPos(); + } + + static string _200E_200D_200F_202C_206D_202C_202E_202B_206E_206A_206D_202D_206A_206A_206A_206F_206E_206D_200D_200D_200F_200B_200E_200C_200B_206A_206C_202A_206A_206F_200E_206F_202A_206C_200E_202C_202C_206E_206C_206E_202E(string P_0) + { + return P_0.Trim(); + } } diff --git a/Questionable/Questionable.Windows.QuestComponents/QuestTooltipComponent.cs b/Questionable/Questionable.Windows.QuestComponents/QuestTooltipComponent.cs index ac03f0c3..e7a3d653 100644 --- a/Questionable/Questionable.Windows.QuestComponents/QuestTooltipComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/QuestTooltipComponent.cs @@ -1,7 +1,12 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Numerics; +using System.Runtime.CompilerServices; 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; @@ -38,221 +43,749 @@ internal sealed class QuestTooltipComponent public void Draw(IQuestInfo questInfo) { - using ImRaii.TooltipDisposable tooltipDisposable = ImRaii.Tooltip(); - if (tooltipDisposable.Alive) + using ImRaii.TooltipDisposable tooltipDisposable = _200B_200F_200D_206F_206E_200C_200F_206E_206D_206C_200F_206E_206D_200C_200B_200F_202C_202C_200F_200F_202C_206A_206C_206C_206D_202C_206C_206F_200C_206D_206E_206A_202D_200C_206C_202B_200F_202A_206F_206C_202E(); + int num = ((!tooltipDisposable.Alive) ? 1737286895 : 1737286894); + while (true) { - DrawInner(questInfo, showItemRewards: true); + int num2 = num; + int num3 = 1737286895; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1737286894; + break; + case 1: + DrawInner(questInfo, showItemRewards: true); + num = 1737286895; + break; + case 0: + return; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] public void DrawInner(IQuestInfo questInfo, bool showItemRewards) { - ImU8String text = new ImU8String(0, 2); - text.AppendFormatted(SeIconChar.LevelEn.ToIconString()); - text.AppendFormatted(questInfo.Level); - ImGui.Text(text); - ImGui.SameLine(); - var (col, _, text2) = _uiUtils.GetQuestStyle(questInfo.QuestId); - ImGui.TextColored(in col, text2); - if (questInfo is QuestInfo { IsSeasonalEvent: not false }) + ImU8String imU8String = new ImU8String(0, 2); + imU8String.AppendFormatted(_200D_202A_206A_200F_206F_206F_206E_206A_206D_202B_206F_206D_206B_206B_200D_202E_206A_200F_206C_202D_202C_202B_200D_202B_202B_206E_200E_206B_202B_206D_206D_200B_202B_200E_200B_206B_206A_202A_206F_202C_202E(SeIconChar.LevelEn)); + imU8String.AppendFormatted(questInfo.Level); + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E(imU8String); + _206E_206D_206E_202D_206F_200B_200D_202D_202A_200C_202D_206C_200C_202E_206D_200C_202B_202B_202A_202E_200D_200D_206F_202E_200C_202C_206E_202E_206E_206E_200B_206E_206D_202D_202D_200B_206B_206C_202D_202E(); + var (vector, _, text) = _uiUtils.GetQuestStyle(questInfo.QuestId); + _200C_200F_206E_206F_206E_202E_200D_206D_202D_200E_202A_200B_202A_206A_206B_200B_206B_202E_200E_202A_202B_200C_206E_206D_202B_202A_206D_202B_206C_206D_202D_202E_200D_200F_202B_200C_202D_202C_202A_206A_202E(ref vector, (ImU8String)text); + QuestInfo questInfo2 = questInfo as QuestInfo; + int num = ((questInfo2 == null) ? 1474460582 : 1474460577); + Quest quest = default(Quest); + while (true) { - ImGui.SameLine(); - ImGui.TextUnformatted("Event"); - } - if (questInfo.IsRepeatable) - { - ImGui.SameLine(); - ImGui.TextUnformatted("Repeatable"); - } - if (questInfo is QuestInfo { CompletesInstantly: not false }) - { - ImGui.SameLine(); - ImGui.TextUnformatted("Instant"); - } - if (_questRegistry.TryGetQuest(questInfo.QuestId, out Quest quest)) - { - if (quest.Root.Disabled) + int num2 = num; + int num3 = 1474460586; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudRed, "Disabled"); + case 3: + _206E_206D_206E_202D_206F_200B_200D_202D_202A_200C_202D_206C_200C_202E_206D_200C_202B_202B_202A_202E_200D_200D_206F_202E_200C_202C_206E_202E_206E_206E_200B_206E_206D_202D_202D_200B_206B_206C_202D_202E(); + _200E_206A_206B_200E_206B_202C_200E_202B_202D_206F_206A_206D_200D_200E_200F_202C_206A_206C_202B_206C_206F_202A_202A_202E_200C_202A_200C_200E_202D_202E_202A_202C_202A_200C_200D_200D_202D_200E_200C_200F_202E((ImU8String)global::_003CModule_003E._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(820153161)); + num = 1474460582; + break; + case 1: + DrawQuestUnlocks(questInfo, 0, showItemRewards); + return; + case 10: + num = ((!_206F_206A_200F_206C_202A_200E_200C_200D_200E_206D_206D_202C_202D_202A_206E_200B_202D_206D_202C_202D_202A_200C_200E_202A_202C_202C_200C_202A_206C_206D_202C_206E_206C_202A_202A_202A_206E_206D_206D_202C_202E(quest.Root)) ? 1474460590 : 1474460578); + break; + case 8: + _206E_206D_206E_202D_206F_200B_200D_202D_202A_200C_202D_206C_200C_202E_206D_200C_202B_202B_202A_202E_200D_200D_206F_202E_200C_202C_206E_202E_206E_206E_200B_206E_206D_202D_202D_200B_206B_206C_202D_202E(); + _200C_200F_206E_206F_206E_202E_200D_206D_202D_200E_202A_200B_202A_206A_206B_200B_206B_202E_200E_202A_202B_200C_206E_206D_202B_202A_206D_202B_206C_206D_202D_202E_200D_200F_202B_200C_202D_202C_202A_206A_202E(ref UiThemeUtils.StatusLocked, (ImU8String)global::_003CModule_003E._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(2101114993)); + num = 1474460590; + break; + case 15: + { + ImU8String imU8String3 = new ImU8String(8, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-431398969)); + imU8String3.AppendFormatted(_200C_206D_202A_200B_200F_200B_206A_202D_206F_206E_206C_206F_206A_202A_200C_200B_200C_200E_200B_206B_202C_200B_202A_206F_200B_200F_200D_200D_200D_200F_200B_206F_202B_202A_200B_202D_206E_200C_202C_202E_202E(quest.Root)[0]); + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E(imU8String3); + num = 1474460587; + break; } - if (quest.Root.Author.Count == 1) + case 13: + num = 1474460577; + break; + case 6: + _206E_206D_206E_202D_206F_200B_200D_202D_202A_200C_202D_206C_200C_202E_206D_200C_202B_202B_202A_202E_200D_200D_206F_202E_200C_202C_206E_202E_206E_206E_200B_206E_206D_202D_202D_200B_206B_206C_202D_202E(); + _200E_206A_206B_200E_206B_202C_200E_202B_202D_206F_206A_206D_200D_200E_200F_202C_206A_206C_202B_206C_206F_202A_202A_202E_200C_202A_200C_200E_202D_202E_202A_202C_202A_200C_200D_200D_202D_200E_200C_200F_202E((ImU8String)global::_003CModule_003E._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(-754389830)); + num = 1474460579; + break; + case 0: + num = ((!questInfo2.CompletesInstantly) ? 1474460579 : 1474460588); + break; + case 11: + num = ((!questInfo2.IsSeasonalEvent) ? 1474460582 : 1474460585); + break; + case 14: + _206E_206D_206E_202D_206F_200B_200D_202D_202A_200C_202D_206C_200C_202E_206D_200C_202B_202B_202A_202E_200D_200D_206F_202E_200C_202C_206E_202E_206E_206E_200B_206E_206D_202D_202D_200B_206B_206C_202D_202E(); + _200C_200F_206E_206F_206E_202E_200D_206D_202D_200E_202A_200B_202A_206A_206B_200B_206B_202E_200E_202A_202B_200C_206E_206D_202B_202A_206D_202B_206C_206D_202D_202E_200D_200F_202B_200C_202D_202C_202A_206A_202E(ref UiThemeUtils.StatusLocked, (ImU8String)global::_003CModule_003E._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(-282985404)); + num = 1474460587; + break; + case 4: + num = ((_200C_206D_202A_200B_200F_200B_206A_202D_206F_206E_206C_206F_206A_202A_200C_200B_200C_200E_200B_206B_202C_200B_202A_206F_200B_200F_200D_200D_200D_200F_200B_206F_202B_202A_200B_202D_206E_200C_202C_202E_202E(quest.Root).Count != 1) ? 1474460589 : 1474460581); + break; + case 7: { - ImU8String text3 = new ImU8String(8, 1); - text3.AppendLiteral("Author: "); - text3.AppendFormatted(quest.Root.Author[0]); - ImGui.Text(text3); + ImU8String imU8String2 = new ImU8String(9, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1400371552)); + imU8String2.AppendFormatted(_200E_206A_206D_206D_202C_202E_206D_202C_202E_206C_202A_206C_202C_200B_202B_206C_202A_206A_200B_206E_202E_202A_202D_202B_206D_202C_202C_200E_200C_200C_206A_206A_206D_200F_206E_202C_206F_202C_206F_200E_202E(global::_003CModule_003E._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(1087086507), (IEnumerable)_200C_206D_202A_200B_200F_200B_206A_202D_206F_206E_206C_206F_206A_202A_200C_200B_200C_200E_200B_206B_202C_200B_202A_206F_200B_200F_200D_200D_200D_200F_200B_206F_202B_202A_200B_202D_206E_200C_202C_202E_202E(quest.Root))); + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E(imU8String2); + num = 1474460587; + break; } - else - { - ImU8String text4 = new ImU8String(9, 1); - text4.AppendLiteral("Authors: "); - text4.AppendFormatted(string.Join(", ", quest.Root.Author)); - ImGui.Text(text4); + case 5: + _206E_206D_206E_202D_206F_200B_200D_202D_202A_200C_202D_206C_200C_202E_206D_200C_202B_202B_202A_202E_200D_200D_206F_202E_200C_202C_206E_202E_206E_206E_200B_206E_206D_202D_202D_200B_206B_206C_202D_202E(); + _200E_206A_206B_200E_206B_202C_200E_202B_202D_206F_206A_206D_200D_200E_200F_202C_206A_206C_202B_206C_206F_202A_202A_202E_200C_202A_200C_200E_202D_202E_202A_202C_202A_200C_200D_200D_202D_200E_200C_200F_202E((ImU8String)global::_003CModule_003E._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(-1348044090)); + num = 1474460584; + break; + case 2: + questInfo2 = questInfo as QuestInfo; + num = ((questInfo2 == null) ? 1474460579 : 1474460586); + break; + case 12: + num = ((!questInfo.IsRepeatable) ? 1474460584 : 1474460591); + break; + case 9: + num = ((!_questRegistry.TryGetQuest(questInfo.QuestId, out quest)) ? 1474460580 : 1474460576); + break; } } - else - { - ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudRed, "NoQuestPath"); - } - DrawQuestUnlocks(questInfo, 0, showItemRewards); } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawQuestUnlocks(IQuestInfo questInfo, int counter, bool showItemRewards) { - if (counter >= 10 || (counter != 0 && questInfo.IsMainScenarioQuest)) + int num = ((counter < 10) ? (-1923998553) : (-1923998551)); + while (true) { - return; - } - if (counter > 0) - { - ImGui.Indent(); - } - if (questInfo.PreviousQuests.Count > 0) - { - if (counter == 0) + int num2 = num; + int num3 = -1923998548; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - ImGui.Separator(); - } - if (questInfo.PreviousQuests.Count > 1) - { - if (questInfo.PreviousQuestJoin == EQuestJoin.All) + default: + continue; + case 7: + num = -1923998551; + continue; + case 11: + num = ((counter == 0) ? (-1923998560) : (-1923998559)); + continue; + case 9: + return; + case 2: + _200D_202E_202E_206B_200C_206F_206F_200B_206B_206F_202D_206E_202D_206E_206A_206D_206F_200F_200C_206E_200B_206A_200D_200D_206E_200C_200D_206F_206D_202D_202A_202D_202B_200F_206D_200E_200F_206C_202C_202E(); + num = -1923998547; + continue; + case 13: + num = ((!questInfo.IsMainScenarioQuest) ? (-1923998560) : (-1923998555)); + continue; + case 12: + num = ((counter <= 0) ? (-1923998552) : (-1923998554)); + continue; + case 0: + num = ((counter != 0) ? (-1923998547) : (-1923998546)); + continue; + case 3: + num = ((questInfo.PreviousQuestJoin != EQuestJoin.All) ? (-1923998557) : (-1923998550)); + continue; + case 5: + return; + case 6: + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E((ImU8String)global::_003CModule_003E._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(1426364812)); + num = -1923998558; + continue; + case 15: + num = ((questInfo.PreviousQuestJoin != EQuestJoin.AtLeastOne) ? (-1923998558) : (-1923998556)); + continue; + case 1: + num = ((questInfo.PreviousQuests.Count <= 1) ? (-1923998558) : (-1923998545)); + continue; + case 4: + if (questInfo.PreviousQuests.Count > 0) { - ImGui.Text("Requires all:"); + num = -1923998548; + continue; } - else if (questInfo.PreviousQuestJoin == EQuestJoin.AtLeastOne) + break; + case 10: + _202D_206D_202A_200D_206C_202B_206F_200D_200B_200B_202A_206F_200D_200B_206B_206E_206A_200C_206D_202C_206E_206C_202D_206B_200B_200B_200D_200C_200B_202A_206A_202A_200B_200B_202C_202B_202E_206D_206F_202A_202E(); + num = -1923998552; + continue; + case 8: + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E((ImU8String)global::_003CModule_003E._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(-256821673)); + num = -1923998558; + continue; + case 14: + foreach (PreviousQuestInfo previousQuest in questInfo.PreviousQuests) { - ImGui.Text("Requires one:"); - } - } - foreach (PreviousQuestInfo previousQuest in questInfo.PreviousQuests) - { - if (_questData.TryGetQuestInfo(previousQuest.QuestId, out IQuestInfo questInfo2)) - { - var (color, fontAwesomeIcon, _) = _uiUtils.GetQuestStyle(previousQuest.QuestId); - if (!_questRegistry.IsKnownQuest(questInfo2.QuestId)) + if (_questData.TryGetQuestInfo(previousQuest.QuestId, out IQuestInfo questInfo2)) { - color = ImGuiColors.DalamudGrey; + var (color, fontAwesomeIcon, _) = _uiUtils.GetQuestStyle(previousQuest.QuestId); + if (!_questRegistry.IsKnownQuest(questInfo2.QuestId)) + { + 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)) + { + num3 = 1; + num4 = counter; + DrawQuestUnlocks(questInfo3, (num4 | num3) + (num4 & num3), showItemRewards: false); + } + continue; } - _uiUtils.ChecklistItem(FormatQuestUnlockName(questInfo2, (byte)((!_questFunctions.IsQuestComplete(previousQuest.QuestId)) ? previousQuest.Sequence : 0)), color, fontAwesomeIcon); - if (questInfo2 is QuestInfo questInfo3 && (counter <= 2 || fontAwesomeIcon != FontAwesomeIcon.Check)) + ImRaii.DisabledDisposable disabledDisposable = _200B_200D_200C_202E_206F_206A_206A_206C_202A_202E_200E_200F_206D_200B_200E_202C_202D_200E_200C_206F_206F_200F_200E_202E_206C_202B_206E_202D_202D_202A_200F_202A_206E_200F_206F_202D_206F_200F_206C_206A_202E(); + try { - DrawQuestUnlocks(questInfo3, counter + 1, showItemRewards: false); - } - } - else - { - using (ImRaii.Disabled()) - { - _uiUtils.ChecklistItem($"Unknown Quest ({previousQuest.QuestId})", ImGuiColors.DalamudGrey, FontAwesomeIcon.Question); + UiUtils uiUtils = _uiUtils; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(16, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2088564312)); + defaultInterpolatedStringHandler.AppendFormatted(previousQuest.QuestId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(444206578)); + uiUtils.ChecklistItem(defaultInterpolatedStringHandler.ToStringAndClear(), UiThemeUtils.StatusUnobtainable, FontAwesomeIcon.Question); + } + finally + { + num = ((disabledDisposable == null) ? (-1267677720) : (-1267677717)); + while (true) + { + int num7 = num; + num3 = -1267677718; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1267677717; + break; + case 2: + goto end_IL_0373; + case 1: + _200F_206E_202D_200E_206C_206F_200F_200C_200F_200F_200F_206F_200F_206D_200E_200D_206F_202D_206D_200B_206F_206F_202C_200C_202C_200F_200B_206E_206A_202D_206C_200E_202C_206D_200B_206B_206B_202A_206D_200D_202E((IDisposable)disabledDisposable); + num = -1267677720; + break; + } + continue; + end_IL_0373: + break; + } } } + break; } + break; } if (questInfo is QuestInfo questInfo4) { - if (questInfo4.MoogleDeliveryLevel > 0) + num = -1696487048; + Vector4 color2 = default(Vector4); + IQuestInfo questInfo5 = default(IQuestInfo); + FontAwesomeIcon item = default(FontAwesomeIcon); + while (true) { - ImU8String text = new ImU8String(23, 1); - text.AppendLiteral("Requires Carrier Level "); - text.AppendFormatted(questInfo4.MoogleDeliveryLevel); - ImGui.Text(text); + int num8 = num; + int num3 = -1696487041; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + default: + continue; + case 6: + _200D_202E_202E_206B_200C_206F_206F_200B_206B_206F_202D_206E_202D_206E_206A_206D_206F_200F_200C_206E_200B_206A_200D_200D_206E_200C_200D_206F_206D_202D_202A_202D_202B_200F_206D_200E_200F_206C_202C_202E(); + num = ((questInfo4.QuestLocks.Count <= 1) ? (-1696487051) : (-1696487044)); + continue; + case 7: + num = ((questInfo4.MoogleDeliveryLevel <= 0) ? (-1696487046) : (-1696487050)); + continue; + case 10: + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E((ImU8String)global::_003CModule_003E._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(-1391470785)); + num = -1696487043; + continue; + case 11: + if (questInfo4.QuestLocks.Count > 0) + { + num = -1696487047; + continue; + } + break; + case 1: + num = ((questInfo4.QuestLockJoin != EQuestJoin.AtLeastOne) ? (-1696487043) : (-1696487045)); + continue; + case 8: + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E((ImU8String)global::_003CModule_003E._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(1332408042)); + num = -1696487043; + continue; + case 9: + { + ImU8String imU8String = new ImU8String(23, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(835332808)); + imU8String.AppendFormatted(questInfo4.MoogleDeliveryLevel); + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E(imU8String); + num = -1696487046; + continue; + } + case 0: + num = -1696487048; + continue; + case 4: + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E((ImU8String)global::_003CModule_003E._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(48488600)); + num = -1696487043; + continue; + case 5: + if (counter == 0) + { + num = -1696487052; + continue; + } + break; + case 3: + num = ((questInfo4.QuestLockJoin != EQuestJoin.All) ? (-1696487042) : (-1696487049)); + continue; + case 2: + { + using (ImmutableList.Enumerator enumerator2 = questInfo4.QuestLocks.GetEnumerator()) + { + num = 679294645; + while (true) + { + int num11 = num; + num3 = 679294646; + num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = (enumerator2.MoveNext() ? 679294644 : 679294647); + break; + case 4: + color2 = UiThemeUtils.StatusUnobtainable; + num = 679294643; + break; + case 5: + _uiUtils.ChecklistItem(FormatQuestUnlockName(questInfo5, 0), color2, item); + num = 679294645; + break; + case 2: + { + QuestId current2 = enumerator2.Current; + questInfo5 = _questData.GetQuestInfo(current2); + (Vector4 Color, FontAwesomeIcon Icon, string Status) questStyle = _uiUtils.GetQuestStyle(current2); + color2 = questStyle.Color; + item = questStyle.Icon; + num = (_questRegistry.IsKnownQuest(questInfo5.QuestId) ? 679294643 : 679294642); + break; + } + case 0: + num = 679294645; + break; + case 1: + goto end_IL_05d2; + } + continue; + end_IL_05d2: + break; + } + } + break; + } + } + break; } - if (counter == 0 && questInfo4.QuestLocks.Count > 0) + if (counter == 0) { - ImGui.Separator(); - if (questInfo4.QuestLocks.Count > 1) + num = 1225831112; + while (true) { - if (questInfo4.QuestLockJoin == EQuestJoin.All) + int num12 = num; + int num3 = 1225831113; + int num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) { - ImGui.Text("Blocked by (if all completed):"); - } - else if (questInfo4.QuestLockJoin == EQuestJoin.AtLeastOne) + default: + continue; + case 8: + num = ((questInfo.PreviousQuestJoin != EQuestJoin.All) ? 1225831115 : 1225831113); + continue; + case 3: + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E((ImU8String)global::_003CModule_003E._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(-913613294)); + num = 1225831116; + continue; + case 7: + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E((ImU8String)global::_003CModule_003E._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(-745363741)); + num = 1225831116; + continue; + case 6: + _200D_202E_202E_206B_200C_206F_206F_200B_206B_206F_202D_206E_202D_206E_206A_206D_206F_200F_200C_206E_200B_206A_200D_200D_206E_200C_200D_206F_206D_202D_202A_202D_202B_200F_206D_200E_200F_206C_202C_202E(); + num = ((questInfo4.PreviousInstanceContent.Count <= 1) ? 1225831118 : 1225831105); + continue; + case 0: + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E((ImU8String)global::_003CModule_003E._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(1426364812)); + num = 1225831116; + continue; + case 4: + num = 1225831112; + continue; + case 1: + if (questInfo4.PreviousInstanceContent.Count > 0) + { + num = 1225831119; + continue; + } + break; + case 2: + num = ((questInfo.PreviousQuestJoin != EQuestJoin.AtLeastOne) ? 1225831116 : 1225831114); + continue; + case 5: { - ImGui.Text("Blocked by (if at least completed):"); + using (List.Enumerator enumerator3 = questInfo4.PreviousInstanceContent.GetEnumerator()) + { + num = 382193894; + while (true) + { + int num15 = num; + num3 = 382193895; + num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 382193894; + break; + case 2: + { + ushort current3 = enumerator3.Current; + string text = _territoryData.GetInstanceName(current3) ?? global::_003CModule_003E._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(656320081); + var (color3, icon) = UiUtils.GetInstanceStyle(current3); + _uiUtils.ChecklistItem(text, color3, icon); + num = 382193894; + break; + } + case 1: + num = (enumerator3.MoveNext() ? 382193893 : 382193892); + break; + case 3: + goto end_IL_085e; + } + continue; + end_IL_085e: + break; + } + } + break; } - } - else - { - ImGui.Text("Blocked by (if completed):"); - } - foreach (QuestId questLock in questInfo4.QuestLocks) - { - IQuestInfo questInfo5 = _questData.GetQuestInfo(questLock); - var (color2, icon, _) = _uiUtils.GetQuestStyle(questLock); - if (!_questRegistry.IsKnownQuest(questInfo5.QuestId)) - { - color2 = ImGuiColors.DalamudGrey; } - _uiUtils.ChecklistItem(FormatQuestUnlockName(questInfo5, 0), color2, icon); + break; } } - if (counter == 0 && questInfo4.PreviousInstanceContent.Count > 0) + num = ((counter != 0) ? 1402821429 : 1402821434); + string text2 = default(string); + while (true) { - ImGui.Separator(); - if (questInfo4.PreviousInstanceContent.Count > 1) + int num16 = num; + int num3 = 1402821438; + int num4 = num16; + int num17 = num4 + num3; + int num18 = num4 & num3; + switch (num17 - (num18 + num18)) { - if (questInfo.PreviousQuestJoin == EQuestJoin.All) + default: + continue; + case 6: + text2 = global::_003CModule_003E._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(-802431915); + num = 1402821430; + continue; + case 7: + _200D_202E_202E_206B_200C_206F_206F_200B_206B_206F_202D_206E_202D_206E_206A_206D_206F_200F_200C_206E_200B_206A_200D_200D_206E_200C_200D_206F_206D_202D_202A_202D_202B_200F_206D_200E_200F_206C_202C_202E(); + switch (questInfo4.GrandCompany) { - ImGui.Text("Requires all:"); + case GrandCompany.TwinAdder: + break; + default: + goto IL_09de; + case GrandCompany.ImmortalFlames: + goto IL_0a0d; + case GrandCompany.Maelstrom: + goto IL_0a25; } - else if (questInfo.PreviousQuestJoin == EQuestJoin.AtLeastOne) + goto case 6; + case 4: + num = ((questInfo4.GrandCompany == GrandCompany.None) ? 1402821429 : 1402821433); + continue; + case 2: + goto IL_0a0d; + case 1: + goto IL_0a25; + case 11: + if (showItemRewards) { - ImGui.Text("Requires one:"); + num = 1402821438; + continue; } - } - else + break; + case 10: + num = 1402821435; + continue; + case 8: { - ImGui.Text("Requires:"); + string text3 = text2; + GrandCompany grandCompany = QuestFunctions.GetGrandCompany(); + _uiUtils.ChecklistItem(_200C_202D_206D_202E_200E_202B_206F_206C_202D_202E_202A_202C_206D_206F_206D_206B_206B_202D_206E_206D_206E_200C_206B_200C_200C_200D_202D_200F_206A_200C_206C_200B_200D_202D_206E_202D_206A_202C_202A_200D_202E(global::_003CModule_003E._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(-1365181732), text3), questInfo4.GrandCompany == grandCompany); + num = 1402821429; + continue; } - foreach (ushort item in questInfo4.PreviousInstanceContent) - { - string text2 = _territoryData.GetInstanceName(item) ?? "?"; - var (color3, icon2) = UiUtils.GetInstanceStyle(item); - _uiUtils.ChecklistItem(text2, color3, icon2); - } - } - if (counter == 0 && questInfo4.GrandCompany != GrandCompany.None) - { - ImGui.Separator(); - string text3 = questInfo4.GrandCompany switch - { - GrandCompany.Maelstrom => "Maelstrom", - GrandCompany.TwinAdder => "Twin Adder", - GrandCompany.ImmortalFlames => "Immortal Flames", - _ => "None", - }; - GrandCompany grandCompany = _questFunctions.GetGrandCompany(); - _uiUtils.ChecklistItem("Grand Company: " + text3, questInfo4.GrandCompany == grandCompany); - } - if (showItemRewards && questInfo4.ItemRewards.Count > 0) - { - ImGui.Separator(); - ImGui.Text("Item Rewards:"); - foreach (ItemReward itemReward in questInfo4.ItemRewards) - { - ImGui.BulletText(itemReward.Name); + case 3: + num = 1402821434; + continue; + case 5: + text2 = global::_003CModule_003E._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(474422561); + num = 1402821430; + continue; + case 0: + if (questInfo4.ItemRewards.Count > 0) + { + num = 1402821431; + continue; + } + break; + case 9: + { + _200D_202E_202E_206B_200C_206F_206F_200B_206B_206F_202D_206E_202D_206E_206A_206D_206F_200F_200C_206E_200B_206A_200D_200D_206E_200C_200D_206F_206D_202D_202A_202D_202B_200F_206D_200E_200F_206C_202C_202E(); + _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E((ImU8String)global::_003CModule_003E._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(-1749268449)); + IEnumerator enumerator4 = questInfo4.ItemRewards.GetEnumerator(); + try + { + num = 1066742075; + while (true) + { + int num19 = num; + num3 = 1066742072; + num4 = num19; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1066742075; + break; + case 3: + num = (_206D_206B_206B_202C_202D_202C_206A_206F_202D_200D_200E_202C_202A_202A_200F_206D_206E_202C_200C_200B_200C_206E_202E_200B_206C_206A_200C_206F_200F_200B_206B_202B_206D_202C_206F_200B_202B_200B_206A_200E_202E((IEnumerator)enumerator4) ? 1066742074 : 1066742073); + break; + case 2: + _202C_200C_206C_200D_202B_200D_206B_202C_206A_202B_200E_200B_200E_206D_202A_202E_200B_202C_202A_202B_200D_200E_206D_200B_200B_206C_202E_200D_200F_200C_202A_202A_202B_206E_202C_202E_200E_202D_206B_202D_202E((ImU8String)enumerator4.Current.Name); + num = 1066742075; + break; + case 1: + goto end_IL_0b16; + } + continue; + end_IL_0b16: + break; + } + } + finally + { + num = ((enumerator4 == null) ? (-547261564) : (-547261561)); + while (true) + { + int num20 = num; + num3 = -547261562; + num4 = num20; + int num21 = num4 + num3; + int num22 = num4 & num3; + switch (num21 - (num22 + num22)) + { + case 0: + num = -547261561; + break; + case 1: + _200F_206E_202D_200E_206C_206F_200F_200C_200F_200F_200F_206F_200F_206D_200E_200D_206F_202D_206D_200B_206F_206F_202C_200C_202C_200F_200B_206E_206A_202D_206C_200E_202C_206D_200B_206B_206B_202A_206D_200D_202E((IDisposable)enumerator4); + num = -547261564; + break; + case 2: + goto end_IL_0bbc; + } + continue; + end_IL_0bbc: + break; + } + } + break; + } + IL_0a25: + text2 = global::_003CModule_003E._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(372022407); + num = 1402821430; + continue; + IL_0a0d: + text2 = global::_003CModule_003E._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(1041968074); + num = 1402821430; + continue; + IL_09de: + num = 1402821428; + continue; } + break; } } - if (counter > 0) + num = ((counter <= 0) ? (-459152396) : (-459152393)); + while (true) { - ImGui.Unindent(); + int num23 = num; + int num3 = -459152394; + int num4 = num23; + int num24 = num4 + num3; + int num25 = num4 & num3; + switch (num24 - (num25 + num25)) + { + case 2: + return; + case 1: + _202A_200D_206C_206D_206B_206C_200C_206D_200D_200E_206D_200D_206E_206A_202B_200B_200C_200B_202A_202C_200E_200C_206E_200F_202C_202D_202A_206B_200D_206B_200B_206A_206B_206A_202C_200D_202C_200C_200C_200F_202E(); + num = -459152396; + break; + case 0: + num = -459152393; + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private string FormatQuestUnlockName(IQuestInfo questInfo, byte sequence = 0) { string text = questInfo.Name; - if (_configuration.Advanced.AdditionalStatusInformation && sequence != 0) + int num = ((!questInfo.IsMainScenarioQuest) ? (-1213142629) : (-1213142632)); + while (true) { - text = text + " " + SeIconChar.ItemLevel.ToIconString(); + int num2 = num; + int num3 = -1213142631; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return text; + case 1: + { + string text3 = text; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(8, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-2002137365)); + defaultInterpolatedStringHandler2.AppendFormatted(questInfo.QuestId); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-741031348)); + text = _200C_202D_206D_202E_200E_202B_206F_206C_202D_202E_202A_202C_206D_206F_206D_206B_206B_202D_206E_206D_206E_200C_206B_200C_200C_200D_202D_200F_206A_200C_206C_200B_200D_202D_206E_202D_206A_202C_202A_200D_202E(text3, defaultInterpolatedStringHandler2.ToStringAndClear()); + num = -1213142630; + break; + } + case 2: + { + string text2 = text; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(588901087)); + defaultInterpolatedStringHandler.AppendFormatted(questInfo.QuestId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(424561659)); + text = _200C_202D_206D_202E_200E_202B_206F_206C_202D_202E_202A_202C_206D_206F_206D_206B_206B_202D_206E_206D_206E_200C_206B_200C_200C_200D_202D_200F_206A_200C_206C_200B_200D_202D_206E_202D_206A_202C_202A_200D_202E(text2, defaultInterpolatedStringHandler.ToStringAndClear()); + num = -1213142630; + break; + } + case 0: + num = -1213142632; + break; + } } - if (questInfo.IsMainScenarioQuest) - { - return text + $" ({questInfo.QuestId}, MSQ)"; - } - return text + $" ({questInfo.QuestId})"; + } + + static ImRaii.TooltipDisposable _200B_200F_200D_206F_206E_200C_200F_206E_206D_206C_200F_206E_206D_200C_200B_200F_202C_202C_200F_200F_202C_206A_206C_206C_206D_202C_206C_206F_200C_206D_206E_206A_202D_200C_206C_202B_200F_202A_206F_206C_202E() + { + return ImRaii.Tooltip(); + } + + static string _200D_202A_206A_200F_206F_206F_206E_206A_206D_202B_206F_206D_206B_206B_200D_202E_206A_200F_206C_202D_202C_202B_200D_202B_202B_206E_200E_206B_202B_206D_206D_200B_202B_200E_200B_206B_206A_202A_206F_202C_202E(SeIconChar P_0) + { + return P_0.ToIconString(); + } + + static void _200F_202E_200E_200B_202E_200E_202D_202A_206D_200C_200B_202D_206E_202C_200E_206E_200B_202D_200E_200F_200B_206B_200E_206E_200E_206F_206C_206C_206E_206C_206C_200F_200C_206D_202C_206E_206B_200E_206E_200C_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static void _206E_206D_206E_202D_206F_200B_200D_202D_202A_200C_202D_206C_200C_202E_206D_200C_202B_202B_202A_202E_200D_200D_206F_202E_200C_202C_206E_202E_206E_206E_200B_206E_206D_202D_202D_200B_206B_206C_202D_202E() + { + ImGui.SameLine(); + } + + static void _200C_200F_206E_206F_206E_202E_200D_206D_202D_200E_202A_200B_202A_206A_206B_200B_206B_202E_200E_202A_202B_200C_206E_206D_202B_202A_206D_202B_206C_206D_202D_202E_200D_200F_202B_200C_202D_202C_202A_206A_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _200E_206A_206B_200E_206B_202C_200E_202B_202D_206F_206A_206D_200D_200E_200F_202C_206A_206C_202B_206C_206F_202A_202A_202E_200C_202A_200C_200E_202D_202E_202A_202C_202A_200C_200D_200D_202D_200E_200C_200F_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static bool _206F_206A_200F_206C_202A_200E_200C_200D_200E_206D_206D_202C_202D_202A_206E_200B_202D_206D_202C_202D_202A_200C_200E_202A_202C_202C_200C_202A_206C_206D_202C_206E_206C_202A_202A_202A_206E_206D_206D_202C_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static List _200C_206D_202A_200B_200F_200B_206A_202D_206F_206E_206C_206F_206A_202A_200C_200B_200C_200E_200B_206B_202C_200B_202A_206F_200B_200F_200D_200D_200D_200F_200B_206F_202B_202A_200B_202D_206E_200C_202C_202E_202E(QuestRoot P_0) + { + return P_0.Author; + } + + static string _200E_206A_206D_206D_202C_202E_206D_202C_202E_206C_202A_206C_202C_200B_202B_206C_202A_206A_200B_206E_202E_202A_202D_202B_206D_202C_202C_200E_200C_200C_206A_206A_206D_200F_206E_202C_206F_202C_206F_200E_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static void _202D_206D_202A_200D_206C_202B_206F_200D_200B_200B_202A_206F_200D_200B_206B_206E_206A_200C_206D_202C_206E_206C_202D_206B_200B_200B_200D_200C_200B_202A_206A_202A_200B_200B_202C_202B_202E_206D_206F_202A_202E() + { + ImGui.Indent(); + } + + static void _200D_202E_202E_206B_200C_206F_206F_200B_206B_206F_202D_206E_202D_206E_206A_206D_206F_200F_200C_206E_200B_206A_200D_200D_206E_200C_200D_206F_206D_202D_202A_202D_202B_200F_206D_200E_200F_206C_202C_202E() + { + ImGui.Separator(); + } + + static ImRaii.DisabledDisposable _200B_200D_200C_202E_206F_206A_206A_206C_202A_202E_200E_200F_206D_200B_200E_202C_202D_200E_200C_206F_206F_200F_200E_202E_206C_202B_206E_202D_202D_202A_200F_202A_206E_200F_206F_202D_206F_200F_206C_206A_202E() + { + return ImRaii.Disabled(); + } + + static void _200F_206E_202D_200E_206C_206F_200F_200C_200F_200F_200F_206F_200F_206D_200E_200D_206F_202D_206D_200B_206F_206F_202C_200C_202C_200F_200B_206E_206A_202D_206C_200E_202C_206D_200B_206B_206B_202A_206D_200D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static string _200C_202D_206D_202E_200E_202B_206F_206C_202D_202E_202A_202C_206D_206F_206D_206B_206B_202D_206E_206D_206E_200C_206B_200C_200C_200D_202D_200F_206A_200C_206C_200B_200D_202D_206E_202D_206A_202C_202A_200D_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _202C_200C_206C_200D_202B_200D_206B_202C_206A_202B_200E_200B_200E_206D_202A_202E_200B_202C_202A_202B_200D_200E_206D_200B_200B_206C_202E_200D_200F_200C_202A_202A_202B_206E_202C_202E_200E_202D_206B_202D_202E(ImU8String P_0) + { + ImGui.BulletText(P_0); + } + + static bool _206D_206B_206B_202C_202D_202C_206A_206F_202D_200D_200E_202C_202A_202A_200F_206D_206E_202C_200C_200B_200C_206E_202E_200B_206C_206A_200C_206F_200F_200B_206B_202B_206D_202C_206F_200B_202B_200B_206A_200E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202A_200D_206C_206D_206B_206C_200C_206D_200D_200E_206D_200D_206E_206A_202B_200B_200C_200B_202A_202C_200E_200C_206E_200F_202C_202D_202A_206B_200D_206B_200B_206A_206B_206A_202C_200D_202C_200C_200C_200F_202E() + { + ImGui.Unindent(); } } diff --git a/Questionable/Questionable.Windows.QuestComponents/QuestValidationComponent.cs b/Questionable/Questionable.Windows.QuestComponents/QuestValidationComponent.cs index 1f74105e..b735aab2 100644 --- a/Questionable/Questionable.Windows.QuestComponents/QuestValidationComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/QuestValidationComponent.cs @@ -1,13 +1,15 @@ using System; using System.Collections.Generic; -using System.Globalization; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Interface; using Dalamud.Interface.Colors; +using Dalamud.Interface.ManagedFontAtlas; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Questionable.Data; +using Questionable.Model.Questing; using Questionable.Validation; namespace Questionable.Windows.QuestComponents; @@ -35,221 +37,836 @@ internal sealed class QuestValidationComponent public void Draw() { DrawSummaryHeader(); - ImGui.Separator(); + UiThemeUtils.SectionSpacing(); DrawValidationTable(); _detailsRenderer.DrawDetailWindows(); } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawSummaryHeader() { int issueCount = _questValidator.IssueCount; int errorCount = _questValidator.ErrorCount; - int num = issueCount - errorCount; - ImU8String text = new ImU8String(33, 1); - text.AppendLiteral("Validation Results: "); - text.AppendFormatted(issueCount); - text.AppendLiteral(" total issues"); - ImGui.Text(text); + int num = errorCount; + int num2 = issueCount; + int num3 = ~(~num2 + num); + ImU8String imU8String = new ImU8String(33, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1785884238)); + imU8String.AppendFormatted(issueCount); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1740500055)); + _206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E(imU8String); + int num4; if (errorCount > 0) { - ImGui.SameLine(); - ImGui.Text("("); - ImGui.SameLine(); - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) + _200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E(); + _206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E((ImU8String)global::_003CModule_003E._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(-1824588032)); + _200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E(); + ImRaii.ColorDisposable colorDisposable = _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol.Text, _200D_206D_200E_202A_202E_200E_200E_206E_202C_206B_200B_206A_206A_200C_200F_206B_206F_206D_200C_200C_200F_202A_200E_206F_200C_200C_202E_200F_206A_200E_200F_206B_206D_206B_206A_200F_206A_206D_202B_202E_202E(), true); + try { - ImU8String text2 = new ImU8String(7, 1); - text2.AppendFormatted(errorCount); - text2.AppendLiteral(" errors"); - ImGui.Text(text2); + ImU8String imU8String2 = new ImU8String(7, 1); + imU8String2.AppendFormatted(errorCount); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-2107933616)); + _206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E(imU8String2); } - } - if (num > 0) - { - if (errorCount > 0) + finally { - ImGui.SameLine(); - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange)) + num4 = ((colorDisposable == null) ? (-2130718725) : (-2130718728)); + while (true) { - ImU8String text3 = new ImU8String(12, 1); - text3.AppendLiteral(", "); - text3.AppendFormatted(num); - text3.AppendLiteral(" warnings)"); - ImGui.Text(text3); - return; + int num5 = num4; + num = -2130718726; + num2 = num5; + int num6 = num2 + num; + int num7 = num2 & num; + switch (num6 - (num7 + num7)) + { + case 1: + goto end_IL_00e0; + case 2: + _200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E((IDisposable)colorDisposable); + num4 = -2130718725; + break; + case 0: + num4 = -2130718728; + break; + } + continue; + end_IL_00e0: + break; } } - ImGui.SameLine(); - ImGui.Text("("); - ImGui.SameLine(); - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange)) + } + if (num3 > 0) + { + num4 = -873679878; + while (true) { - ImU8String text4 = new ImU8String(10, 1); - text4.AppendFormatted(num); - text4.AppendLiteral(" warnings)"); - ImGui.Text(text4); + int num8 = num4; + num = -873679877; + num2 = num8; + switch ((num2 | num) - (num2 & num)) + { + case 2: + num4 = -873679878; + break; + case 1: + { + if (errorCount > 0) + { + num4 = -873679877; + break; + } + _200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E(); + _206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E((ImU8String)global::_003CModule_003E._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(1721352497)); + _200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E(); + ImRaii.ColorDisposable colorDisposable3 = _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol.Text, _206F_200F_200F_206F_206E_206E_206D_206A_200C_206A_206B_206D_202D_200D_200B_200E_206F_200F_206A_206D_206F_206C_202C_206C_200F_202B_202A_206E_206B_206B_200B_206D_206F_206C_202C_200C_202C_202C_202A_206F_202E(), true); + try + { + ImU8String imU8String4 = new ImU8String(10, 1); + imU8String4.AppendFormatted(num3); + imU8String4.AppendLiteral(global::_003CModule_003E._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(-1325629129)); + _206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E(imU8String4); + return; + } + finally + { + num4 = ((colorDisposable3 == null) ? 1602354495 : 1602354492); + while (true) + { + int num12 = num4; + num = 1602354494; + num2 = num12; + switch ((num2 | num) - (num2 & num)) + { + case 0: + num4 = 1602354492; + break; + case 2: + _200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E((IDisposable)colorDisposable3); + num4 = 1602354495; + break; + case 1: + goto end_IL_02c6; + } + continue; + end_IL_02c6: + break; + } + } + } + case 0: + { + _200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E(); + ImRaii.ColorDisposable colorDisposable2 = _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol.Text, _206F_200F_200F_206F_206E_206E_206D_206A_200C_206A_206B_206D_202D_200D_200B_200E_206F_200F_206A_206D_206F_206C_202C_206C_200F_202B_202A_206E_206B_206B_200B_206D_206F_206C_202C_200C_202C_202C_202A_206F_202E(), true); + try + { + ImU8String imU8String3 = new ImU8String(12, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(1467939024)); + imU8String3.AppendFormatted(num3); + imU8String3.AppendLiteral(global::_003CModule_003E._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(-1407765195)); + _206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E(imU8String3); + return; + } + finally + { + num4 = ((colorDisposable2 == null) ? 1360165335 : 1360165332); + while (true) + { + int num9 = num4; + num = 1360165334; + num2 = num9; + int num10 = num2 + num; + int num11 = num2 & num; + switch (num10 - (num11 + num11)) + { + case 1: + goto end_IL_01fe; + case 2: + _200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E((IDisposable)colorDisposable2); + num4 = 1360165335; + break; + case 0: + num4 = 1360165332; + break; + } + continue; + end_IL_01fe: + break; + } + } + } + } + } + } + num4 = ((errorCount <= 0) ? (-1281785323) : (-1281785324)); + while (true) + { + int num13 = num4; + num = -1281785323; + num2 = num13; + int num14 = num2 + num; + int num15 = num2 & num; + switch (num14 - (num15 + num15)) + { + case 2: + num4 = -1281785324; + break; + case 1: + _200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E(); + _206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E((ImU8String)global::_003CModule_003E._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(1735737295)); + num4 = -1281785323; + break; + case 0: return; } } - if (errorCount > 0) - { - ImGui.SameLine(); - ImGui.Text(")"); - } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawValidationTable() { - using ImRaii.TableDisposable tableDisposable = ImRaii.Table("ValidationIssues", 6, ImGuiTableFlags.Borders | ImGuiTableFlags.Sortable | ImGuiTableFlags.RowBg | ImGuiTableFlags.ScrollY); - if (!(!tableDisposable)) + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(1097395556), 5, ImGuiTableFlags.ScrollX | ImGuiTableFlags.ScrollY); + int num = ((!(!tableDisposable)) ? 567364098 : 567364102); + int num7 = default(int); + IReadOnlyList issues = default(IReadOnlyList); + while (true) { - 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("Issue", ImGuiTableColumnFlags.WidthStretch); - ImGui.TableSetupColumn("Actions", ImGuiTableColumnFlags.WidthFixed, 60f); - ImGui.TableHeadersRow(); - IReadOnlyList issues = _questValidator.Issues; - for (int i = 0; i < issues.Count; i++) + int num2 = num; + int num3 = 567364103; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - DrawValidationRow(issues[i], i); + case 4: + num = 567364102; + break; + case 0: + num = ((num7 < issues.Count) ? 567364100 : 567364101); + break; + case 5: + _206B_202B_206B_206D_206F_206F_206A_200F_206F_206E_206C_206E_206A_200E_206A_200C_206B_206F_206D_200F_206A_206D_200D_202C_206C_202B_202E_202E_206B_200F_200F_200C_206A_202B_202C_206D_206A_200D_206C_202E_202E((ImU8String)global::_003CModule_003E._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(692740068), ImGuiTableColumnFlags.WidthFixed, 50f, 0u); + _206B_202B_206B_206D_206F_206F_206A_200F_206F_206E_206C_206E_206A_200E_206A_200C_206B_206F_206D_200F_206A_206D_200D_202C_206C_202B_202E_202E_206B_200F_200F_200C_206A_202B_202C_206D_206A_200D_206C_202E_202E((ImU8String)global::_003CModule_003E._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(-1492687959), ImGuiTableColumnFlags.WidthFixed, 60f, 0u); + _206B_202B_206B_206D_206F_206F_206A_200F_206F_206E_206C_206E_206A_200E_206A_200C_206B_206F_206D_200F_206A_206D_200D_202C_206C_202B_202E_202E_206B_200F_200F_200C_206A_202B_202C_206D_206A_200D_206C_202E_202E((ImU8String)global::_003CModule_003E._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(295817554), ImGuiTableColumnFlags.WidthFixed, 250f, 0u); + _206B_202B_206B_206D_206F_206F_206A_200F_206F_206E_206C_206E_206A_200E_206A_200C_206B_206F_206D_200F_206A_206D_200D_202C_206C_202B_202E_202E_206B_200F_200F_200C_206A_202B_202C_206D_206A_200D_206C_202E_202E((ImU8String)global::_003CModule_003E._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(-1394332433), ImGuiTableColumnFlags.WidthFixed, 100f, 0u); + _206B_202B_206B_206D_206F_206F_206A_200F_206F_206E_206C_206E_206A_200E_206A_200C_206B_206F_206D_200F_206A_206D_200D_202C_206C_202B_202E_202E_206B_200F_200F_200C_206A_202B_202C_206D_206A_200D_206C_202E_202E((ImU8String)global::_003CModule_003E._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(-124440889), ImGuiTableColumnFlags.WidthStretch, 0f, 0u); + _202D_206B_202E_202A_206F_202A_206E_200E_200C_200B_206B_206C_202C_202C_206F_206F_202D_206D_202A_202B_202A_202E_202A_206E_202A_206D_200F_206F_206D_206F_202A_200B_206A_206E_206A_200E_206B_200E_206F_202B_202E(); + issues = _questValidator.Issues; + num7 = 0; + num = 567364103; + break; + case 1: + return; + case 3: + { + DrawValidationRow(issues[num7], num7); + int num8 = num7; + num3 = 1; + num4 = num8; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num7 = num9 + (num10 + num10); + num = 567364103; + break; + } + case 2: + return; } } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawValidationRow(ValidationIssue issue, int index) { - ImGui.TableNextRow(); - if (ImGui.TableNextColumn()) + //Discarded unreachable code: IL_021d + _202E_200C_200C_206D_202E_200E_200B_200D_206C_202D_200C_200E_200D_206D_200B_206B_206C_200C_200C_202A_200B_200D_206D_206C_206E_200B_200C_202E_206A_202D_202D_206C_202B_206A_202D_206C_200E_200E_202B_206D_202E(); + int num = ((!_206F_200E_200B_200E_206F_206C_200D_202D_206C_202E_200D_202A_200C_202E_200B_206B_202B_202C_200B_206F_206B_200C_206F_202B_206D_200D_206A_200F_200C_206A_202B_206E_206B_200E_206A_202A_206D_206E_206A_202E_202E()) ? (-578343204) : (-578343209)); + string text = default(string); + ElementId elementId = default(ElementId); + string text2 = default(string); + while (true) { - ImGui.TextUnformatted(issue.ElementId?.ToString() ?? string.Empty); - } - if (ImGui.TableNextColumn()) - { - ImGui.TextUnformatted((issue.ElementId != null) ? _questData.GetQuestInfo(issue.ElementId).Name : issue.AlliedSociety.ToString()); - } - if (ImGui.TableNextColumn()) - { - if (issue.Sequence.HasValue) + int num2 = num; + int num3 = -578343207; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + ImRaii.ColorDisposable colorDisposable; + switch (num5 - (num6 + num6)) { - ImGui.TextUnformatted(issue.Sequence.Value.ToString(CultureInfo.InvariantCulture)); - } - else - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudGrey2)) + default: + continue; + case 11: + _200B_202C_200E_206A_206C_206A_206B_206B_200C_200C_202C_202C_200C_202C_200D_202C_206C_202E_202D_206F_206E_200E_200C_200F_206A_206B_202E_206D_200F_200C_200E_200C_206D_206E_200B_206B_200B_206F_200D_206B_202E((ImU8String)(issue.Id ?? string.Empty)); + num = -578343215; + continue; + case 1: + num = -578343201; + continue; + case 4: + text = global::_003CModule_003E._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(-649277638); + num = -578343206; + continue; + case 0: + num = -578343209; + continue; + case 13: + if (_202A_206C_206F_200C_200B_206A_206E_200D_200C_202C_202D_200D_200C_200D_200E_206E_206B_202C_206A_206B_202A_206C_202C_202D_202A_202D_206E_200E_206E_202B_200D_206F_206D_200D_202B_206C_206A_206E_202E(elementId, (ElementId)null)) { - ImGui.TextUnformatted("\ufffd"); + goto IL_00ed; } - } - } - if (ImGui.TableNextColumn()) - { - if (issue.Step.HasValue) - { - ImGui.TextUnformatted(issue.Step.Value.ToString(CultureInfo.InvariantCulture)); - } - else - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudGrey2)) + goto IL_0242; + case 12: + goto IL_00ed; + case 2: + if (issue.Id != null) { - ImGui.TextUnformatted("\ufffd"); + num = -578343213; + continue; } + goto IL_024e; + case 15: + goto IL_011b; + case 10: + if (_200E_200D_202C_202D_200B_200F_206F_202E_200F_202D_206C_206A_202B_206C_202D_202D_202B_200B_202B_200B_200D_202B_200D_206F_202B_206E_202B_200F_200B_202C_200E_202C_200D_202D_206D_200D_202B_206C_206B_202E(issue.Id, ref elementId)) + { + num = -578343212; + continue; + } + goto IL_0242; + case 6: + text = issue.PathType.ToString(); + num = -578343206; + continue; + case 3: + _200B_202C_200E_206A_206C_206A_206B_206B_200C_200C_202C_202C_200C_202C_200D_202C_206C_202E_202D_206F_206E_200E_200C_200F_206A_206B_202E_206D_200F_200C_200E_200C_206D_206E_200B_206B_200B_206F_200D_206B_202E((ImU8String)text); + num = -578343204; + continue; + case 5: + num = ((!_206F_200E_200B_200E_206F_206C_200D_202D_206C_202E_200D_202A_200C_202E_200B_206B_202B_202C_200B_206F_206B_200C_206F_202B_206D_200D_206A_200F_200C_206A_202B_206E_206B_200E_206A_202A_206D_206E_206A_202E_202E()) ? (-578343215) : (-578343214)); + continue; + case 9: + text2 = string.Empty; + if (issue.PathType == EPathType.Quest) + { + num = -578343205; + continue; + } + goto IL_024e; + case 8: + if (_206F_200E_200B_200E_206F_206C_200D_202D_206C_202E_200D_202A_200C_202E_200B_206B_202B_202C_200B_206F_206B_200C_206F_202B_206D_200D_206A_200F_200C_206A_202B_206E_206B_200E_206A_202A_206D_206E_206A_202E_202E()) + { + num = -578343216; + continue; + } + goto IL_02e1; + case 7: + goto IL_01dd; + case 14: + { + switch (issue.PathType) + { + case EPathType.Fate: + break; + case EPathType.SeasonalDuty: + goto IL_00ed; + case EPathType.Gathering: + goto IL_011b; + case EPathType.Quest: + goto IL_01dd; + default: + goto IL_0211; + } + goto case 4; + } + IL_0211: + num = -578343208; + continue; + IL_01dd: + text = global::_003CModule_003E._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(-410528250); + num = -578343206; + continue; + IL_026c: + while (true) + { + int num7 = num; + num3 = -830017682; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = -830017681; + break; + case 3: + goto IL_02ae; + case 1: + goto end_IL_026c; + case 4: + goto IL_02f7; + case 2: + goto IL_0318; + } + continue; + IL_02ae: + num = (_200E_202C_206A_206C_206F_202B_206A_200D_200F_206C_206A_200C_200D_202D_202D_206E_206A_206C_202C_206B_206E_206C_206E_200C_202E_200E_200C_200F_206E_206A_206A_202E_206B_202B_206C_206F_202C_200F_200F_200C_202E(issue.Location) ? (-830017684) : (-830017686)); + continue; + end_IL_026c: + break; + } + goto IL_02d6; + IL_0318: + colorDisposable = _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol.Text, _202D_206E_200B_200F_200B_200D_202D_206D_202E_206C_202B_206B_202D_202B_202B_202C_200C_206F_206E_202C_206D_200F_202E_206F_206D_206A_206B_200C_200F_206F_200E_206E_202E_202C_202B_206B_206F_200D_206D_200C_202E(), true); + try + { + _200B_202C_200E_206A_206C_206A_206B_206B_200C_200C_202C_202C_200C_202C_200D_202C_206C_202E_202D_206F_206E_200E_200C_200F_206A_206B_202E_206D_200F_200C_200E_200C_206D_206E_200B_206B_200B_206F_200D_206B_202E((ImU8String)global::_003CModule_003E._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(792471175)); + } + finally + { + num = ((colorDisposable == null) ? (-706347734) : (-706347735)); + while (true) + { + int num10 = num; + num3 = -706347736; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + num = -706347735; + break; + case 2: + goto end_IL_035e; + case 1: + _200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E((IDisposable)colorDisposable); + num = -706347734; + break; + } + continue; + end_IL_035e: + break; + } + } + break; + IL_02f7: + _200B_202C_200E_206A_206C_206A_206B_206B_200C_200C_202C_202C_200C_202C_200D_202C_206C_202E_202D_206F_206E_200E_200C_200F_206A_206B_202E_206D_200F_200C_200E_200C_206D_206E_200B_206B_200B_206F_200D_206B_202E((ImU8String)issue.Location); + break; + IL_011b: + text = global::_003CModule_003E._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(2056899084); + num = -578343206; + continue; + IL_024e: + if (issue.Id != null) + { + text2 = issue.Id; + num = -830017681; + goto IL_026c; + } + goto IL_02d6; + IL_00ed: + text = global::_003CModule_003E._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(-101385123); + num = -578343206; + continue; + IL_0242: + text2 = issue.Id; + goto IL_02d6; + IL_02d6: + UiThemeUtils.RowLabel(text2, 0f); + goto IL_02e1; + IL_02e1: + if (!_206F_200E_200B_200E_206F_206C_200D_202D_206C_202E_200D_202A_200C_202E_200B_206B_202B_202C_200B_206F_206B_200C_206F_202B_206D_200D_206A_200F_200C_206A_202B_206E_206B_200E_206A_202A_206D_206E_206A_202E_202E()) + { + break; + } + num = -830017683; + goto IL_026c; } + break; } - if (ImGui.TableNextColumn()) + num = ((!_206F_200E_200B_200E_206F_206C_200D_202D_206C_202E_200D_202A_200C_202E_200B_206B_202B_202C_200B_206F_206B_200C_206F_202B_206D_200D_206A_200F_200C_206A_202B_206E_206B_200E_206A_202A_206D_206E_206A_202E_202E()) ? (-931644371) : (-931644370)); + while (true) { - DrawIssueCell(issue, index); - } - if (ImGui.TableNextColumn()) - { - DrawActionsCell(issue, index); + int num13 = num; + int num3 = -931644369; + int num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 2: + return; + case 1: + DrawIssueCell(issue, index); + num = -931644371; + break; + case 0: + num = -931644370; + break; + } } } 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); - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + EIssueSeverity severity = issue.Severity; + int num = ((severity == EIssueSeverity.Warning) ? 617101105 : 617101108); + Vector4 vector = default(Vector4); + Vector4 vector2 = default(Vector4); + FontAwesomeIcon fontAwesomeIcon2 = default(FontAwesomeIcon); + while (true) { - using (ImRaii.PushColor(ImGuiCol.Text, color)) + int num2 = num; + int num3 = 617101105; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - ImGui.TextUnformatted(icon.ToIconString()); + case 1: + vector = vector2; + severity = issue.Severity; + num = ((severity == EIssueSeverity.Warning) ? 617101111 : 617101107); + break; + case 8: + vector2 = _200D_206D_200E_202A_202E_200E_200E_206E_202C_206B_200B_206A_206A_200C_200F_206B_206F_206D_200C_200C_200F_202A_200E_206F_200C_200C_202E_200F_206A_200E_200F_206B_206D_206B_206A_200F_206A_206D_202B_202E_202E(); + num = 617101104; + break; + case 5: + num = ((severity != EIssueSeverity.Error) ? 617101109 : 617101113); + break; + case 3: + fontAwesomeIcon2 = FontAwesomeIcon.InfoCircle; + num = 617101115; + break; + case 0: + vector2 = _202E_200D_200D_200E_202B_202D_200F_206D_206A_206E_202A_206F_202A_206C_200F_200E_200C_200F_200F_206C_202A_200F_206C_206D_200C_200C_202C_206E_200E_206B_200B_200D_206C_200E_206C_206F_206D_200D_206E_202C_202E(); + num = 617101104; + break; + case 4: + vector2 = _206F_200F_200F_206F_206E_206E_206D_206A_200C_206A_206B_206D_202D_200D_200B_200E_206F_200F_206A_206D_206F_206C_202C_206C_200F_202B_202A_206E_206B_206B_200B_206D_206F_206C_202C_200C_202C_202C_202A_206F_202E(); + num = 617101104; + break; + case 7: + fontAwesomeIcon2 = FontAwesomeIcon.ExclamationTriangle; + num = 617101115; + break; + case 6: + fontAwesomeIcon2 = FontAwesomeIcon.ExclamationCircle; + num = 617101115; + break; + case 2: + num = ((severity != EIssueSeverity.Error) ? 617101106 : 617101110); + break; + case 9: + num = 617101108; + break; + case 10: + { + FontAwesomeIcon fontAwesomeIcon = fontAwesomeIcon2; + IDisposable disposable = _206C_202D_206B_200F_202C_202C_200D_206E_202A_202E_202C_200C_202B_200C_202E_206C_200F_200D_206B_200B_206D_206E_200B_200C_206D_206A_202A_200D_200E_206F_206E_202B_206F_206C_206A_206A_202A_202D_202B_202E_202E(_200B_202E_206E_206B_200D_200B_200D_200F_206C_206B_202C_206A_202B_206F_206C_202D_206B_206A_200D_200E_200D_202B_200B_202A_200C_200D_200C_206C_200B_200B_200D_206D_200F_200D_206E_206F_202C_206E_206D_202D_202E(_200B_200E_206A_202C_200D_200F_202E_202D_202C_202D_200E_200B_200F_206F_206E_200F_202D_200C_202D_202A_206E_206C_206A_206A_206C_206B_206D_202C_202D_202A_202D_200B_202C_200D_206D_200C_206B_206E_202C_206C_202E(_pluginInterface))); + try + { + ImRaii.ColorDisposable colorDisposable = _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol.Text, vector, true); + try + { + _200B_202C_200E_206A_206C_206A_206B_206B_200C_200C_202C_202C_200C_202C_200D_202C_206C_202E_202D_206F_206E_200E_200C_200F_206A_206B_202E_206D_200F_200C_200E_200C_206D_206E_200B_206B_200B_206F_200D_206B_202E((ImU8String)_202C_202A_202A_206A_202B_206B_202E_206F_202C_202D_206A_200D_206E_206E_202B_202A_200B_206D_206A_206A_206B_202C_206F_206D_202A_206B_200E_206F_200F_206C_200B_200B_202D_200B_202A_202B_200C_202E_206B_202B_202E(fontAwesomeIcon)); + } + finally + { + num = ((colorDisposable == null) ? 1791003591 : 1791003588); + while (true) + { + int num7 = num; + num3 = 1791003590; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = 1791003588; + break; + case 1: + goto end_IL_01b3; + case 2: + _200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E((IDisposable)colorDisposable); + num = 1791003591; + break; + } + continue; + end_IL_01b3: + break; + } + } + } + finally + { + num = ((disposable == null) ? 109458007 : 109458006); + while (true) + { + int num10 = num; + num3 = 109458007; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 109458006; + break; + case 0: + goto end_IL_0220; + case 1: + _200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E(disposable); + num = 109458007; + break; + } + continue; + end_IL_0220: + break; + } + } + _200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E(); + string issueSummary = GetIssueSummary(issue); + ImRaii.ColorDisposable colorDisposable2 = _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol.Text, vector, true); + try + { + _206B_202B_200C_202A_206D_202C_202E_202D_206D_200C_206D_206B_202E_200D_200E_200B_202E_202C_200C_202B_202C_206A_206E_202C_200D_200E_200B_206F_200D_206A_200F_206C_206E_200F_206F_200E_206D_200D_200F_206C_202E((ImU8String)issueSummary); + return; + } + finally + { + num = ((colorDisposable2 == null) ? 1692882972 : 1692882975); + while (true) + { + int num11 = num; + num3 = 1692882973; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 0: + num = 1692882975; + break; + case 2: + _200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E((IDisposable)colorDisposable2); + num = 1692882972; + break; + case 1: + goto end_IL_02b1; + } + continue; + end_IL_02b1: + break; + } + } + } } } - ImGui.SameLine(); - string issueSummary = GetIssueSummary(issue); - using (ImRaii.PushColor(ImGuiCol.Text, color)) - { - ImGui.TextWrapped(issueSummary); - } - } - - private void DrawActionsCell(ValidationIssue issue, int index) - { - if (HasDetailedDescription(issue) && ImGui.SmallButton($"Details##{index}")) - { - _detailsRenderer.OpenDetails(issue, index); - } } + [MethodImpl(MethodImplOptions.NoInlining)] 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; + int num = ((issue.Type != EIssueType.QuestDisabled) ? (-1073159502) : (-1073159503)); + string[] array2 = default(string[]); + string[] array = default(string[]); + while (true) { - string[] array = text.Split(':', 2); - if (array.Length == 0) + int num2 = num; + int num3 = -1073159499; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { + case 3: + array2 = _206B_200D_200F_206D_202A_202A_202D_202C_202C_200E_206E_200E_202E_202B_206F_200C_200D_200F_202A_206C_202B_200F_202D_206E_200B_206C_206A_200D_206E_202B_206D_200C_206A_202B_202C_206B_202B_202A_206A_202E_202E(text, ':', 2, StringSplitOptions.None); + num = ((array2.Length != 0) ? (-1073159497) : (-1073159500)); + break; + case 0: + num = ((array.Length > 1) ? (-1073159504) : (-1073159491)); + break; + case 2: + return array2[0]; + case 8: + return array[0]; + case 1: + return text; + case 5: + return _202B_202B_200F_200B_206F_200B_200E_202D_202A_206A_202B_200B_202B_206B_206F_202C_200F_200D_206D_200D_200D_202E_200F_206C_202D_206F_200C_200C_200F_202A_200F_200F_202D_200E_206F_200E_206E_206D_200D_200D_202E(array[0], global::_003CModule_003E._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(799152405)); + case 7: + array = _206B_200D_200F_206D_202A_202A_202D_202C_202C_200E_206E_200E_202E_202B_206F_200C_200D_200F_202A_206C_202B_200F_202D_206E_200B_206C_206A_200D_206E_202B_206D_200C_206A_202B_202C_206B_202B_202A_206A_202E_202E(text, '\n', 2, StringSplitOptions.RemoveEmptyEntries); + num = ((array.Length != 0) ? (-1073159499) : (-1073159501)); + break; + case 4: + num = ((issue.Id != null) ? (-1073159502) : (-1073159498)); + break; + case 9: + num = -1073159503; + break; + case 6: return text; } - 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) - { - return text; - } - return array4[0] + ((array4.Length > 1) ? "..." : ""); } private static bool HasDetailedDescription(ValidationIssue issue) { - string text = issue.Description ?? string.Empty; - if (issue.Type == EIssueType.QuestDisabled && issue.ElementId == null) + int num = ((issue.Type != EIssueType.QuestDisabled) ? (-1196136618) : (-1196136624)); + string text = default(string); + while (true) { - return true; + int num2 = num; + int num3 = -1196136621; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return true; + case 4: + return _200D_206C_200C_206C_206A_206F_202C_206D_206F_206D_206D_200B_200D_202C_206B_206F_202B_206A_206E_206D_206F_206B_202A_202A_202B_200C_202E_202D_202C_206C_206E_206A_202E_206B_206C_200B_202A_206B_206D_206A_202E(text) > 100; + case 2: + return true; + case 0: + num = -1196136624; + break; + case 3: + num = ((issue.Id != null) ? (-1196136618) : (-1196136622)); + break; + case 5: + text = issue.Description ?? string.Empty; + num = (_202B_202E_202B_206D_202E_206F_206C_202E_202E_202E_202C_202E_200D_202B_206D_206E_202E_202E_200B_200C_200F_200E_202D_206E_206F_202D_200C_206F_200E_202D_202E_200E_200B_202C_202C_206F_202E_202A_202E(text, '\n', StringComparison.Ordinal) ? (-1196136623) : (-1196136617)); + break; + } } - if (issue.Type == EIssueType.InvalidJsonSchema) - { - return true; - } - if (issue.Type == EIssueType.InvalidJsonSyntax) - { - return true; - } - if (!text.Contains('\n', StringComparison.Ordinal)) - { - return text.Length > 100; - } - return true; + } + + static void _206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static void _200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E() + { + ImGui.SameLine(); + } + + static Vector4 _200D_206D_200E_202A_202E_200E_200E_206E_202C_206B_200B_206A_206A_200C_200F_206B_206F_206D_200C_200C_200F_202A_200E_206F_200C_200C_202E_200F_206A_200E_200F_206B_206D_206B_206A_200F_206A_206D_202B_202E_202E() + { + return ImGuiColors.DalamudRed; + } + + static ImRaii.ColorDisposable _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static void _200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static Vector4 _206F_200F_200F_206F_206E_206E_206D_206A_200C_206A_206B_206D_202D_200D_200B_200E_206F_200F_206A_206D_206F_206C_202C_206C_200F_202B_202A_206E_206B_206B_200B_206D_206F_206C_202C_200C_202C_202C_202A_206F_202E() + { + return ImGuiColors.DalamudOrange; + } + + static void _206B_202B_206B_206D_206F_206F_206A_200F_206F_206E_206C_206E_206A_200E_206A_200C_206B_206F_206D_200F_206A_206D_200D_202C_206C_202B_202E_202E_206B_200F_200F_200C_206A_202B_202C_206D_206A_200D_206C_202E_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static void _202D_206B_202E_202A_206F_202A_206E_200E_200C_200B_206B_206C_202C_202C_206F_206F_202D_206D_202A_202B_202A_202E_202A_206E_202A_206D_200F_206F_206D_206F_202A_200B_206A_206E_206A_200E_206B_200E_206F_202B_202E() + { + ImGui.TableHeadersRow(); + } + + static void _202E_200C_200C_206D_202E_200E_200B_200D_206C_202D_200C_200E_200D_206D_200B_206B_206C_200C_200C_202A_200B_200D_206D_206C_206E_200B_200C_202E_206A_202D_202D_206C_202B_206A_202D_206C_200E_200E_202B_206D_202E() + { + ImGui.TableNextRow(); + } + + static bool _206F_200E_200B_200E_206F_206C_200D_202D_206C_202E_200D_202A_200C_202E_200B_206B_202B_202C_200B_206F_206B_200C_206F_202B_206D_200D_206A_200F_200C_206A_202B_206E_206B_200E_206A_202A_206D_206E_206A_202E_202E() + { + return ImGui.TableNextColumn(); + } + + static void _200B_202C_200E_206A_206C_206A_206B_206B_200C_200C_202C_202C_200C_202C_200D_202C_206C_202E_202D_206F_206E_200E_200C_200F_206A_206B_202E_206D_200F_200C_200E_200C_206D_206E_200B_206B_200B_206F_200D_206B_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static bool _200E_200D_202C_202D_200B_200F_206F_202E_200F_202D_206C_206A_202B_206C_202D_202D_202B_200B_202B_200B_200D_202B_200D_206F_202B_206E_202B_200F_200B_202C_200E_202C_200D_202D_206D_200D_202B_206C_206B_202E(string P_0, ref ElementId P_1) + { + return ElementId.TryFromString(P_0, out P_1); + } + + static bool _202A_206C_206F_200C_200B_206A_206E_200D_200C_202C_202D_200D_200C_200D_200E_206E_206B_202C_206A_206B_202A_206C_202C_202D_202A_202D_206E_200E_206E_202B_200D_206F_206D_200D_202B_206C_206A_206E_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static bool _200E_202C_206A_206C_206F_202B_206A_200D_200F_206C_206A_200C_200D_202D_202D_206E_206A_206C_202C_206B_206E_206C_206E_200C_202E_200E_200C_200F_206E_206A_206A_202E_206B_202B_206C_206F_202C_200F_200F_200C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static Vector4 _202D_206E_200B_200F_200B_200D_202D_206D_202E_206C_202B_206B_202D_202B_202B_202C_200C_206F_206E_202C_206D_200F_202E_206F_206D_206A_206B_200C_200F_206F_200E_206E_202E_202C_202B_206B_206F_200D_206D_200C_202E() + { + return ImGuiColors.DalamudGrey2; + } + + static Vector4 _202E_200D_200D_200E_202B_202D_200F_206D_206A_206E_202A_206F_202A_206C_200F_200E_200C_200F_200F_206C_202A_200F_206C_206D_200C_200C_202C_206E_200E_206B_200B_200D_206C_200E_206C_206F_206D_200D_206E_202C_202E() + { + return ImGuiColors.DalamudYellow; + } + + static IUiBuilder _200B_200E_206A_202C_200D_200F_202E_202D_202C_202D_200E_200B_200F_206F_206E_200F_202D_200C_202D_202A_206E_206C_206A_206A_206C_206B_206D_202C_202D_202A_202D_200B_202C_200D_206D_200C_206B_206E_202C_206C_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _200B_202E_206E_206B_200D_200B_200D_200F_206C_206B_202C_206A_202B_206F_206C_202D_206B_206A_200D_200E_200D_202B_200B_202A_200C_200D_200C_206C_200B_200B_200D_206D_200F_200D_206E_206F_202C_206E_206D_202D_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _206C_202D_206B_200F_202C_202C_200D_206E_202A_202E_202C_200C_202B_200C_202E_206C_200F_200D_206B_200B_206D_206E_200B_200C_206D_206A_202A_200D_200E_206F_206E_202B_206F_206C_206A_206A_202A_202D_202B_202E_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static string _202C_202A_202A_206A_202B_206B_202E_206F_202C_202D_206A_200D_206E_206E_202B_202A_200B_206D_206A_206A_206B_202C_206F_206D_202A_206B_200E_206F_200F_206C_200B_200B_202D_200B_202A_202B_200C_202E_206B_202B_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static void _206B_202B_200C_202A_206D_202C_202E_202D_206D_200C_206D_206B_202E_200D_200E_200B_202E_202C_200C_202B_202C_206A_206E_202C_200D_200E_200B_206F_200D_206A_200F_206C_206E_200F_206F_200E_206D_200D_200F_206C_202E(ImU8String P_0) + { + ImGui.TextWrapped(P_0); + } + + static string[] _206B_200D_200F_206D_202A_202A_202D_202C_202C_200E_206E_200E_202E_202B_206F_200C_200D_200F_202A_206C_202B_200F_202D_206E_200B_206C_206A_200D_206E_202B_206D_200C_206A_202B_202C_206B_202B_202A_206A_202E_202E(string P_0, char P_1, int P_2, StringSplitOptions P_3) + { + return P_0.Split(P_1, P_2, P_3); + } + + static string _202B_202B_200F_200B_206F_200B_200E_202D_202A_206A_202B_200B_202B_206B_206F_202C_200F_200D_206D_200D_200D_202E_200F_206C_202D_206F_200C_200C_200F_202A_200F_200F_202D_200E_206F_200E_206E_206D_200D_200D_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _202B_202E_202B_206D_202E_206F_206C_202E_202E_202E_202C_202E_200D_202B_206D_206E_202E_202E_200B_200C_200F_200E_202D_206E_206F_202D_200C_206F_200E_202D_202E_200E_200B_202C_202C_206F_202E_202A_202E(string P_0, char P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static int _200D_206C_200C_206C_206A_206F_202C_206D_206F_206D_206D_200B_200D_202C_206B_206F_202B_206A_206E_206D_206F_206B_202A_202A_202B_200C_202E_202D_202C_206C_206E_206A_202E_206B_206C_200B_202A_206B_206D_206A_202E(string P_0) + { + return P_0.Length; } } diff --git a/Questionable/Questionable.Windows.QuestComponents/QuickAccessButtonsComponent.cs b/Questionable/Questionable.Windows.QuestComponents/QuickAccessButtonsComponent.cs index ab569142..58eab57f 100644 --- a/Questionable/Questionable.Windows.QuestComponents/QuickAccessButtonsComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/QuickAccessButtonsComponent.cs @@ -1,15 +1,22 @@ using System; +using System.Collections.ObjectModel; using System.Globalization; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Threading; using Dalamud.Bindings.ImGui; +using Dalamud.Game.Command; using Dalamud.Interface; using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; +using Dalamud.Interface.ManagedFontAtlas; using Dalamud.Interface.Utility; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Dalamud.Plugin.Services; +using LLib.ImGui; using Questionable.Controller; +using Questionable.External; +using Questionable.Validation; namespace Questionable.Windows.QuestComponents; @@ -17,158 +24,837 @@ 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; - public event EventHandler? Reload; + private readonly Configuration _configuration; - public QuickAccessButtonsComponent(QuestRegistry questRegistry, QuestValidationWindow questValidationWindow, JournalProgressWindow journalProgressWindow, PriorityWindow priorityWindow, ICommandManager commandManager, IDalamudPluginInterface pluginInterface) + private readonly WigglyNavAvailability _wigglyNavAvailability; + + private readonly NavmeshIpc _navmeshIpc; + + [CompilerGenerated] + private EventHandler? m_Reload; + + public bool IsReloading { get; set; } + + public event EventHandler? Reload + { + [CompilerGenerated] + add + { + EventHandler eventHandler = this.m_Reload; + int num = -179073596; + while (true) + { + int num2 = num; + int num3 = -179073595; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -179073596; + break; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_206D_206D_200F_200B_202C_202C_202C_206B_206E_202D_206A_202A_200E_206B_206B_206F_206A_206E_206E_206B_202D_206A_206D_206D_202C_202E_202C_200F_206A_206D_206D_206F_202B_200F_206B_202C_206C_202E_206C_200F_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_Reload, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? (-179073596) : (-179073593)); + break; + } + case 2: + return; + } + } + } + [CompilerGenerated] + remove + { + EventHandler eventHandler = this.m_Reload; + int num = 1171519483; + while (true) + { + int num2 = num; + int num3 = 1171519482; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1171519483; + break; + case 2: + return; + case 1: + { + EventHandler eventHandler2 = eventHandler; + EventHandler value2 = (EventHandler)_206E_206E_202E_206F_206F_202A_202D_206C_200B_202A_200F_200E_200F_206C_202A_202E_202C_200B_206A_202E_202A_206F_206D_200F_202B_206E_206C_206F_202E_206D_202E_200B_206F_202D_200F_202C_206D_206D_206B_206C_202E((Delegate)eventHandler2, (Delegate)value); + eventHandler = Interlocked.CompareExchange(ref this.m_Reload, value2, eventHandler2); + num = (((object)eventHandler != eventHandler2) ? 1171519483 : 1171519480); + break; + } + } + } + } + } + + 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; } + [MethodImpl(MethodImplOptions.NoInlining)] public void Draw() { - DrawQuestPriorityButton(); - ImGui.SameLine(); - DrawRebuildNavmeshButton(); - DrawReloadDataButton(); - ImGui.SameLine(); - DrawJournalProgressButton(); - if (_questRegistry.ValidationIssueCount > 0) + float x = _200B_202B_200C_200E_202D_202C_200E_200F_206D_206D_200F_202E_206C_200F_200B_200D_200F_200B_200B_200D_202A_206B_200D_202E_202A_202C_200E_206A_200F_200D_202B_206E_200E_206F_202C_206B_200C_202E_202E_206C_202E().X; + float x2 = _202B_200E_206D_202E_206D_206B_206E_202D_200D_200B_200E_200E_206E_200D_206C_202D_206E_200C_202D_202E_206E_206A_206C_200C_200C_200E_200C_202C_202B_202B_200E_206F_206C_200D_202D_200E_202E_200B_202E_202B_202E().ItemSpacing.X; + float width = (x - x2) / 2f; + ImRaii.DisabledDisposable disabledDisposable = _206E_200F_202B_206B_202C_206A_202C_206A_206E_200D_206B_202C_206F_202E_206A_206C_206D_200E_202D_200C_202A_206C_206C_206E_202E_202D_200C_202B_206B_200B_200B_202E_200F_200C_206F_206F_206C_206B_206C_202E(IsReloading); + int num; + try { - 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")) + num = (IsReloading ? 263407056 : 263407060); + while (true) { - _commandManager.ProcessCommand("/vnav rebuild"); + int num2 = num; + int num3 = 263407056; + int num4 = num2; + string text; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 2: + num = 263407060; + continue; + case 4: + text = global::_003CModule_003E._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(900520513); + break; + case 3: + { + EventHandler? eventHandler = this.Reload; + if (eventHandler == null) + { + goto end_IL_0057; + } + eventHandler(this, EventArgs.Empty); + num = 263407057; + continue; + } + case 0: + text = global::_003CModule_003E._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(1097231565); + break; + case 1: + goto end_IL_0057; + } + string text2 = text; + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.RedoAlt, text2, width)) ? 263407057 : 263407059); + continue; + end_IL_0057: + break; } } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + finally { - if (!flag) + num = ((disabledDisposable == null) ? 336483817 : 336483816); + while (true) { - ImGui.SetTooltip("vnavmesh is not available.\nPlease install it first."); + int num5 = num; + int num3 = 336483817; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + num = 336483816; + break; + case 0: + goto end_IL_0135; + case 1: + _206C_206F_206C_206E_202C_200E_202A_206B_206A_202E_206D_200E_200C_202A_200B_206B_200E_206A_206F_200E_202B_206E_200E_206A_206B_200B_206A_206D_202A_200F_206D_200F_206C_206D_206D_200E_206B_206F_200D_202A_202E((IDisposable)disabledDisposable); + num = 336483817; + break; + } + continue; + end_IL_0135: + break; } - else + } + _206F_200C_202C_200F_200E_202D_202C_206C_200E_206A_200C_202D_206A_206F_206E_206E_202B_200F_200C_200D_202C_206E_202B_202B_200C_202D_200F_202C_200C_202B_202C_202E_202B_206B_202B_206F_200F_206F_206A_202A_202E(); + Configuration.ENavigationProvider navigationProvider = _configuration.General.NavigationProvider; + num = ((navigationProvider != Configuration.ENavigationProvider.WigglyNav) ? 1435941283 : 1435941295); + bool flag = default(bool); + bool flag2 = default(bool); + int buildProgress = default(int); + string text3 = default(string); + int num9; + bool flag3 = default(bool); + bool flag4 = default(bool); + while (true) + { + int num8 = num; + int num3 = 1435941285; + int num4 = num8; + int num11; + int num10; + bool num12; + switch ((num4 | num3) - (num4 & num3)) { - ImGui.SetTooltip("Hold CTRL to enable this button.\nRebuilding the navmesh will take some time."); + default: + continue; + case 7: + num = 1435941295; + continue; + case 6: + num11 = 0; + goto IL_0219; + case 10: + num11 = (_wigglyNavAvailability.IsCompatible ? 1 : 0); + goto IL_0219; + case 8: + num = (_navmeshIpc.IsReady ? 1435941284 : 1435941280); + continue; + case 1: + num = ((!flag) ? 1435941285 : 1435941294); + continue; + case 4: + num10 = 1; + goto IL_02b6; + case 9: + num = (flag2 ? 1435941287 : 1435941289); + continue; + case 3: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-757541673)); + defaultInterpolatedStringHandler.AppendFormatted(buildProgress); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(767159727)); + text3 = defaultInterpolatedStringHandler.ToStringAndClear(); + num = 1435941284; + continue; + } + case 11: + num9 = ((!_206B_206A_202D_200F_200E_200C_200D_202E_202E_206A_206F_202D_206C_200D_206E_206F_206A_200B_200E_206B_202D_202C_202A_206E_200D_200D_206B_206D_202A_206C_206B_202C_202D_202A_200F_200D_202E_206C_200C_200F_202E(ImGuiKey.ModCtrl)) ? 1 : 0); + break; + case 12: + num10 = (_202A_200F_202C_206D_206F_206A_200C_200D_206B_206C_202E_206F_200D_200B_206B_200C_200C_200F_200B_206E_200D_202A_206E_200E_200E_202A_206B_206E_206B_206E_202C_200C_206C_202D_202C_206E_206E_202A_202E_202E_202E(_commandManager).ContainsKey(global::_003CModule_003E._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(507098409)) ? 1 : 0); + goto IL_02b6; + case 5: + buildProgress = _navmeshIpc.GetBuildProgress(); + num = ((buildProgress >= 100) ? 1435941284 : 1435941286); + continue; + case 2: + num10 = (_navmeshIpc.IsNavmeshAvailable ? 1 : 0); + goto IL_02b6; + case 0: + { + num9 = 1; + break; + } + IL_02b6: + flag = (byte)num10 != 0; + text3 = global::_003CModule_003E._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(-1492851950); + num = ((!flag) ? 1435941284 : 1435941293); + continue; + IL_0219: + flag3 = (byte)num11 != 0; + flag2 = navigationProvider == Configuration.ENavigationProvider.WigglyNavShim; + num12 = flag3; + num3 = (flag2 ? 1 : 0); + num4 = (num12 ? 1 : 0); + flag4 = (byte)(num4 + num3 - (num4 & num3)) != 0; + num = (flag3 ? 1435941281 : 1435941292); + continue; + } + break; + } + disabledDisposable = _206E_200F_202B_206B_202C_206A_202C_206A_206E_200D_206B_202C_206F_202E_206A_206C_206D_200E_202D_200C_202A_206C_206C_206E_202E_202D_200C_202B_206B_200B_200B_202E_200F_200C_206F_206F_206C_206B_206C_202E((byte)num9 != 0); + try + { + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Gem, text3, width)) ? 1684640401 : 1684640403); + while (true) + { + int num13 = num; + int num3 = 1684640402; + int num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1684640403; + break; + case 2: + _202E_202A_206A_206C_206B_206D_200F_206E_206F_200E_206E_206E_202A_202D_202A_200F_202E_206A_202C_202B_206C_206C_200B_200F_202B_206D_200D_200C_200B_206E_200B_206E_200D_200D_200E_206B_200E_206D_200C_202C_202E(_commandManager, global::_003CModule_003E._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(-759082513)); + num = 1684640401; + break; + case 1: + num = ((!flag4) ? 1684640400 : 1684640406); + break; + case 4: + _navmeshIpc.Rebuild(); + goto end_IL_0411; + case 3: + goto end_IL_0411; + } + continue; + end_IL_0411: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-78943588) : (-78943585)); + while (true) + { + int num14 = num; + int num3 = -78943586; + int num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -78943585; + break; + case 1: + _206C_206F_206C_206E_202C_200E_202A_206B_206A_202E_206D_200E_200C_202A_200B_206B_200E_206A_206F_200E_202B_206E_200E_206A_206B_200B_206A_206D_202A_200F_206D_200F_206C_206D_206D_200E_206B_206F_200D_202A_202E((IDisposable)disabledDisposable); + num = -78943588; + break; + case 2: + goto end_IL_04d2; + } + continue; + end_IL_04d2: + break; + } + } + num = ((!_202E_206E_200C_202C_206E_202D_200F_206D_206B_206A_202D_202B_202C_202D_206D_202A_200B_202B_206A_206C_206F_206D_200F_206D_206B_206E_200E_206B_206F_200E_206A_202C_202B_200C_202B_206E_206C_200D_200C_202B_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? 1890619570 : 1890619581); + while (true) + { + int num15 = num; + int num3 = 1890619582; + int num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 5: + DrawValidationIssuesButton(); + num = 1890619572; + break; + case 12: + num = ((_questValidator.IssueCount <= 0) ? 1890619572 : 1890619579); + break; + case 3: + num = (flag ? 1890619573 : 1890619583); + break; + case 13: + _200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_202E((ImU8String)global::_003CModule_003E._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(272437998)); + num = 1890619570; + break; + case 4: + _200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_202E((ImU8String)global::_003CModule_003E._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(-1054666576)); + num = 1890619570; + break; + case 0: + num = ((!flag3) ? 1890619571 : 1890619578); + break; + case 2: + _200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_202E((ImU8String)global::_003CModule_003E._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(-640328064)); + num = 1890619570; + break; + case 8: + _200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_202E((ImU8String)global::_003CModule_003E._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(-678584146)); + num = 1890619570; + break; + case 1: + num = ((!flag4) ? 1890619576 : 1890619568); + break; + case 7: + num = 1890619581; + break; + case 9: + _200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_202E((ImU8String)global::_003CModule_003E._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(-476456851)); + num = 1890619570; + break; + case 10: + return; + case 11: + num = ((!flag2) ? 1890619582 : 1890619580); + break; + case 14: + _200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_202E((ImU8String)global::_003CModule_003E._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(-1942219588)); + num = 1890619570; + break; + case 6: + num = ((navigationProvider != Configuration.ENavigationProvider.WigglyNav) ? 1890619574 : 1890619575); + break; } } } - private void DrawReloadDataButton() - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.RedoAlt, "Reload Data")) - { - this.Reload?.Invoke(this, EventArgs.Empty); - } - } - - private void DrawJournalProgressButton() - { - if (ImGuiComponents.IconButton(FontAwesomeIcon.BookBookmark)) - { - _journalProgressWindow.IsOpenAndUncollapsed = true; - } - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Journal Progress"); - } - } - + [MethodImpl(MethodImplOptions.NoInlining)] 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] { - return; - } - int num2 = ((validationErrorCount == 0 || num == 0) ? 1 : 2); - using (ImRaii.PushId("validationissues")) + (errorCount, _206E_206D_200F_200E_206D_206E_206A_206D_200B_202C_200B_206A_206E_202B_206A_200F_202D_200C_202A_206E_202E_206F_202D_202E_202D_202B_206D_202E_206B_200B_200F_206B_200F_206C_200F_206F_200F_206B_206F_206A_202E(), FontAwesomeIcon.ExclamationTriangle), + (warningCount, _200C_200B_206D_200C_202A_206A_200B_206D_206A_202A_206C_200F_202E_200B_200B_202B_206D_202C_206E_202C_200B_206A_206C_200E_202E_206A_206A_202C_202B_200F_202E_202D_200D_202A_206C_202C_206B_202D_206F_200C_202E(), FontAwesomeIcon.ExclamationCircle), + (item, _200D_200E_206B_200F_202E_202A_206B_202C_202C_200B_200C_206A_202A_206B_200F_206F_200E_200F_206A_206F_200B_202C_200C_200C_200B_202C_206E_200C_206E_202C_200D_200C_200B_200B_202D_200E_202E_200E_202E_202E(), FontAwesomeIcon.InfoCircle) + }; + int num = 0; + (int, Vector4, FontAwesomeIcon)[] array2 = array; + int num2 = 0; + int num3 = -1437565178; + float num20 = default(float); + int num27 = default(int); + while (true) { - FontAwesomeIcon icon = FontAwesomeIcon.ExclamationTriangle; - FontAwesomeIcon icon2 = FontAwesomeIcon.InfoCircle; - Vector2 vector; - Vector2 vector2; - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + int num4 = num3; + int num5 = -1437565181; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) { - vector = ((validationErrorCount > 0) ? ImGui.CalcTextSize(icon.ToIconString()) : Vector2.Zero); - vector2 = ((num > 0) ? ImGui.CalcTextSize(icon2.ToIconString()) : Vector2.Zero); + case 0: + return; + case 3: + { + int num33 = num; + num5 = 1; + num6 = num33; + int num34 = num6 ^ num5; + int num35 = num6 & num5; + num = num34 + (num35 + num35); + num3 = -1437565177; + break; } - 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; - float frameHeight = ImGui.GetFrameHeight(); - 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) + case 4: { - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + int num36 = num2; + num5 = 1; + num6 = num36; + num2 = (num6 | num5) + (num6 & num5); + num3 = -1437565178; + break; + } + case 2: + num3 = ((num != 0) ? (-1437565180) : (-1437565181)); + break; + case 5: + num3 = ((num2 < array2.Length) ? (-1437565182) : (-1437565183)); + break; + case 1: + num3 = ((array2[num2].Item1 <= 0) ? (-1437565177) : (-1437565184)); + break; + case 6: + num3 = -1437565178; + break; + case 7: + { + ImRaii.IdDisposable idDisposable = _200D_202E_202D_206A_206F_206F_206B_206D_206B_206E_200E_202A_200E_206A_206F_200F_202A_202D_200D_202E_200F_206B_200B_206E_206B_200C_202C_206A_200B_202D_202E_202E_200D_200F_200C_206A_200D_202E_206A_202C_202E((ImU8String)global::_003CModule_003E._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(-796253766), true); + try { - windowDrawList.AddText(vector5, ImGui.GetColorU32(ImGuiColors.DalamudRed), icon.ToIconString()); + float num9 = 3f * _202E_200E_206D_206C_206D_200F_206E_206F_202E_206D_206F_206F_200D_200E_200E_200D_202E_206A_206A_200B_206E_202E_206A_200E_202D_206D_202B_202A_206F_202D_202C_202D_200B_206F_200C_206B_200B_202D_200E_202D_202E(); + Vector2[] array3 = new Vector2[array.Length]; + IDisposable disposable = _200C_202C_200D_202D_200F_202A_206B_200C_202E_206E_202A_202D_200B_200F_206F_202A_206E_202E_200F_202A_200B_200C_202B_206C_202D_200B_200E_200C_206B_206F_200F_200C_202A_206C_200F_200E_206C_202D_202D_202B_202E(_206C_206B_202A_200F_206A_202C_200C_206F_206D_206C_200E_206A_206D_200E_206C_206B_202E_200D_200F_206E_206A_206A_206C_202A_200C_200E_206C_202E_202A_202C_200E_200D_200D_200D_202C_200E_206B_206A_202D_206C_202E(_202E_202C_202B_200F_202A_202B_206D_206A_206F_202B_206E_202C_202E_206A_200C_202E_202C_200F_200F_206C_200C_200B_206F_206D_200B_206B_200E_206A_206B_200D_202E_206D_202D_200E_200E_200E_206C_206C_200D_202A_202E(_pluginInterface))); + try + { + int num10 = 0; + num3 = -746592479; + while (true) + { + int num11 = num3; + num5 = -746592476; + num6 = num11; + int num12 = num6 + num5; + int num13 = num6 & num5; + switch (num12 - (num13 + num13)) + { + case 4: + num3 = -746592479; + break; + case 3: + num3 = ((array[num10].Item1 <= 0) ? (-746592475) : (-746592476)); + break; + case 0: + array3[num10] = _200C_200F_200F_202D_202A_200E_202C_206C_202A_200C_206D_200E_200D_206B_206B_202A_206E_202C_200C_202D_200C_202C_206E_206A_200C_200C_200E_202E_206E_200D_202C_206F_200B_206F_200F_202A_206D_206B_206F_202E_202E((ImU8String)_200F_206D_200E_206F_200F_200D_206E_200B_202C_206A_200D_202E_200D_206E_202E_200B_202D_206A_202C_202B_206A_206B_202E_202C_202B_202A_200F_206D_206F_206B_206A_202B_206D_200D_206F_200F_202D_202A_206C_200C_202E(array[num10].Item3), false, -1f); + num3 = -746592475; + break; + case 5: + num3 = ((num10 < array.Length) ? (-746592473) : (-746592474)); + break; + case 1: + { + int num14 = num10; + num5 = 1; + num6 = num14; + num10 = (num6 | num5) + (num6 & num5); + num3 = -746592479; + break; + } + case 2: + goto end_IL_01dc; + } + continue; + end_IL_01dc: + break; + } + } + finally + { + num3 = ((disposable == null) ? 334157648 : 334157649); + while (true) + { + int num15 = num3; + num5 = 334157648; + num6 = num15; + int num16 = num6 + num5; + int num17 = num6 & num5; + switch (num16 - (num17 + num17)) + { + case 2: + num3 = 334157649; + break; + case 0: + goto end_IL_02ea; + case 1: + _206C_206F_206C_206E_202C_200E_202A_206B_206A_202E_206D_200E_200C_202A_200B_206B_200E_206A_206F_200E_202B_206E_200E_206A_206B_200B_206A_206D_202A_200F_206D_200F_206C_206D_206D_200E_206B_206F_200D_202A_202E(disposable); + num3 = 334157648; + break; + } + continue; + end_IL_02ea: + break; + } + } + string[] array4 = new string[array.Length]; + Vector2[] array5 = new Vector2[array.Length]; + int num18 = 0; + num3 = -1717059511; + while (true) + { + int num19 = num3; + num5 = -1717059519; + num6 = num19; + switch ((num6 | num5) - (num6 & num5)) + { + case 5: + num3 = -1717059511; + break; + case 0: + { + num20 += array3[num27].X + array5[num27].X; + int num29 = num27; + num5 = 1; + num6 = num29; + num27 = (num6 | num5) + (num6 & num5); + num3 = -1717059517; + break; + } + case 7: + array4[num18] = array[num18].Item1.ToString(_200D_202B_202B_202B_206F_202C_206B_202A_206A_206F_202D_200D_206C_206F_206D_202A_202E_206B_206A_202D_206F_200E_202B_202A_206F_200F_206C_206B_206E_200C_200C_202D_200D_206B_200D_206B_202B_206D_206E_200E_202E()); + array5[num18] = _200C_200F_200F_202D_202A_200E_202C_206C_202A_200C_206D_200E_200D_206B_206B_202A_206E_202C_200C_202D_200C_202C_206E_206A_200C_200C_200E_202E_206E_200D_202C_206F_200B_206F_200F_202A_206D_206B_206F_202E_202E((ImU8String)array4[num18], false, -1f); + num3 = -1717059520; + break; + case 2: + num3 = ((num27 < array.Length) ? (-1717059519) : (-1717059513)); + break; + case 4: + num20 = 0f; + num27 = 0; + num3 = -1717059517; + break; + case 3: + num3 = ((array[num18].Item1 <= 0) ? (-1717059520) : (-1717059514)); + break; + case 8: + num3 = ((num18 < array.Length) ? (-1717059518) : (-1717059515)); + break; + case 1: + { + int num28 = num18; + num5 = 1; + num6 = num28; + num18 = (num6 | num5) + (num6 & num5); + num3 = -1717059511; + break; + } + case 6: + { + float x = num20 + _202B_200E_206D_202E_206D_206B_206E_202D_200D_200B_200E_200E_206E_200D_206C_202D_206E_200C_202D_202E_206E_206A_206C_200C_200C_200E_200C_202C_202B_202B_200E_206F_206C_200D_202D_200E_202E_200B_202E_202B_202E().FramePadding.X * 2f + num9 * 2f * (float)num; + float y = _202E_206D_200B_200D_202D_206D_202E_202B_202B_200F_206B_200C_202C_202E_202D_206C_206C_202C_202B_200C_202E_206E_202E_202E_206B_206C_206C_202D_206E_206E_206F_202E_200D_200E_206A_202C_206C_202B_206B_200F_202E(); + Vector2 vector = _206C_202B_202B_206A_200F_200C_206F_202E_200B_206B_202A_206A_206D_202E_206A_206D_206E_202A_200F_202E_202E_200C_206E_206D_202E_202C_202B_206E_206E_202B_206A_206D_202E_202A_202A_202A_202D_200E_206F_200C_202E(); + bool flag = _200C_206D_200C_206F_206E_202D_202C_200E_202B_206F_202C_206B_202E_206C_206A_200B_200E_200F_206E_202D_202E_206F_200B_206B_200C_200D_200C_206E_206C_206A_202D_200D_206C_202A_200E_206B_206E_206E_200F_206B_202E((ImU8String)string.Empty, new Vector2(x, y)); + ImDrawListPtr imDrawListPtr = _200D_206D_206E_202D_200D_200F_202A_202D_200D_206C_206E_206D_206F_200B_202A_202B_206B_202B_206E_202B_200F_200D_202A_206C_206D_202E_200F_202C_202A_206B_200F_200D_202E_206F_202A_200D_200B_200C_202C_206F_202E(); + Vector2 vector2 = new Vector2(vector.X + _202B_200E_206D_202E_206D_206B_206E_202D_200D_200B_200E_200E_206E_200D_206C_202D_206E_200C_202D_202E_206E_206A_206C_200C_200C_200E_200C_202C_202B_202B_200E_206F_206C_200D_202D_200E_202E_200B_202E_202B_202E().FramePadding.X, vector.Y + _202B_200E_206D_202E_206D_206B_206E_202D_200D_200B_200E_200E_206E_200D_206C_202D_206E_200C_202D_202E_206E_206A_206C_200C_200C_200E_200C_202C_202B_202B_200E_206F_206C_200D_202D_200E_202E_200B_202E_202B_202E().FramePadding.Y); + for (int num21 = 0; num21 < array.Length; num21 = (num6 | num5) + (num6 & num5)) + { + if (array[num21].Item1 != 0) + { + IDisposable disposable2 = _200C_202C_200D_202D_200F_202A_206B_200C_202E_206E_202A_202D_200B_200F_206F_202A_206E_202E_200F_202A_200B_200C_202B_206C_202D_200B_200E_200C_206B_206F_200F_200C_202A_206C_200F_200E_206C_202D_202D_202B_202E(_206C_206B_202A_200F_206A_202C_200C_206F_206D_206C_200E_206A_206D_200E_206C_206B_202E_200D_200F_206E_206A_206A_206C_202A_200C_200E_206C_202E_202A_202C_200E_200D_200D_200D_202C_200E_206B_206A_202D_206C_202E(_202E_202C_202B_200F_202A_202B_206D_206A_206F_202B_206E_202C_202E_206A_200C_202E_202C_200F_200F_206C_200C_200B_206F_206D_200B_206B_200E_206A_206B_200D_202E_206D_202D_200E_200E_200E_206C_206C_200D_202A_202E(_pluginInterface))); + try + { + imDrawListPtr.AddText(vector2, _206C_202C_202D_200D_200D_202E_200D_206D_202B_200E_200F_202E_202B_200E_200C_200B_202C_206A_202D_206F_200B_202B_206C_206D_202A_200D_202C_206B_206B_202B_202B_206A_206E_202A_200D_200E_200D_206B_206F_206F_202E(array[num21].Item2), _200F_206D_200E_206F_200F_200D_206E_200B_202C_206A_200D_202E_200D_206E_202E_200B_202D_206A_202C_202B_206A_206B_202E_202C_202B_202A_200F_206D_206F_206B_206A_202B_206D_200D_206F_200F_202D_202A_206C_200C_202E(array[num21].Item3)); + } + finally + { + num3 = ((disposable2 == null) ? (-226333035) : (-226333036)); + while (true) + { + int num22 = num3; + num5 = -226333035; + num6 = num22; + int num23 = num6 + num5; + int num24 = num6 & num5; + switch (num23 - (num24 + num24)) + { + case 2: + num3 = -226333036; + break; + case 1: + _206C_206F_206C_206E_202C_200E_202A_206B_206A_202E_206D_200E_200C_202A_200B_206B_200E_206A_206F_200E_202B_206E_200E_206A_206B_200B_206A_206D_202A_200F_206D_200F_206C_206D_206D_200E_206B_206F_200D_202A_202E(disposable2); + num3 = -226333035; + break; + case 0: + goto end_IL_05f6; + } + continue; + end_IL_05f6: + break; + } + } + Vector2 vector3 = vector2; + vector3.X = vector2.X + array3[num21].X + num9; + vector2 = vector3; + imDrawListPtr.AddText(vector2, _200C_202B_202A_206B_202E_202D_200F_206D_200E_200E_200D_206B_200C_202E_200C_206D_202D_206F_202A_202A_202B_206B_202A_206C_206D_206F_200D_202C_206F_202D_202E_200C_202B_206A_206F_206B_206A_200F_200F_200C_202E(ImGuiCol.Text), array4[num21]); + vector3 = vector2; + vector3.X = vector2.X + array5[num21].X + 2f * num9; + vector2 = vector3; + } + int num25 = num21; + num5 = 1; + num6 = num25; + } + num3 = 734288855; + while (true) + { + int num26 = num3; + num5 = 734288854; + num6 = num26; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num3 = 734288855; + break; + case 2: + _206C_206A_206F_206D_206E_206C_200C_200E_202D_200C_202A_202A_200F_206D_200C_200E_200E_200D_206E_206E_202C_206C_202D_200C_200B_200F_206A_206B_200B_206A_202B_202A_206B_200B_202A_206A_200D_200E_202D_200F_202E((LWindow)_questValidationWindow, true); + num3 = 734288853; + break; + case 1: + num3 = ((!flag) ? 734288853 : 734288852); + break; + case 3: + return; + } + } + } + } + } } - 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()) + finally { - windowDrawList.AddText(vector5, ImGui.GetColorU32(ImGuiColors.ParsedBlue), icon2.ToIconString()); + num3 = ((idDisposable == null) ? 902881747 : 902881746); + while (true) + { + int num30 = num3; + num5 = 902881747; + num6 = num30; + int num31 = num6 + num5; + int num32 = num6 & num5; + switch (num31 - (num32 + num32)) + { + case 2: + num3 = 902881746; + break; + case 0: + goto end_IL_0774; + case 1: + _206C_206F_206C_206E_202C_200E_202A_206B_206A_202E_206D_200E_200C_202A_200B_206B_200E_206A_206F_200E_202B_206E_200E_206A_206B_200B_206A_206D_202A_200F_206D_200F_206C_206D_206D_200E_206B_206F_200D_202A_202E((IDisposable)idDisposable); + num3 = 902881747; + break; + } + continue; + end_IL_0774: + break; + } } - Vector2 vector6 = vector5; - vector6.X = vector5.X + vector2.X + num3; - vector5 = vector6; - windowDrawList.AddText(vector5, ImGui.GetColorU32(ImGuiCol.Text), text2); } - if (flag) - { - _questValidationWindow.IsOpenAndUncollapsed = true; } } } + + static Delegate _206D_206D_200F_200B_202C_202C_202C_206B_206E_202D_206A_202A_200E_206B_206B_206F_206A_206E_206E_206B_202D_206A_206D_206D_202C_202E_202C_200F_206A_206D_206D_206F_202B_200F_206B_202C_206C_202E_206C_200F_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Combine(P_0, P_1); + } + + static Delegate _206E_206E_202E_206F_206F_202A_202D_206C_200B_202A_200F_200E_200F_206C_202A_202E_202C_200B_206A_202E_202A_206F_206D_200F_202B_206E_206C_206F_202E_206D_202E_200B_206F_202D_200F_202C_206D_206D_206B_206C_202E(Delegate P_0, Delegate P_1) + { + return Delegate.Remove(P_0, P_1); + } + + static Vector2 _200B_202B_200C_200E_202D_202C_200E_200F_206D_206D_200F_202E_206C_200F_200B_200D_200F_200B_200B_200D_202A_206B_200D_202E_202A_202C_200E_206A_200F_200D_202B_206E_200E_206F_202C_206B_200C_202E_202E_206C_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static ImGuiStylePtr _202B_200E_206D_202E_206D_206B_206E_202D_200D_200B_200E_200E_206E_200D_206C_202D_206E_200C_202D_202E_206E_206A_206C_200C_200C_200E_200C_202C_202B_202B_200E_206F_206C_200D_202D_200E_202E_200B_202E_202B_202E() + { + return ImGui.GetStyle(); + } + + static ImRaii.DisabledDisposable _206E_200F_202B_206B_202C_206A_202C_206A_206E_200D_206B_202C_206F_202E_206A_206C_206D_200E_202D_200C_202A_206C_206C_206E_202E_202D_200C_202B_206B_200B_200B_202E_200F_200C_206F_206F_206C_206B_206C_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static void _206C_206F_206C_206E_202C_200E_202A_206B_206A_202E_206D_200E_200C_202A_200B_206B_200E_206A_206F_200E_202B_206E_200E_206A_206B_200B_206A_206D_202A_200F_206D_200F_206C_206D_206D_200E_206B_206F_200D_202A_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _206F_200C_202C_200F_200E_202D_202C_206C_200E_206A_200C_202D_206A_206F_206E_206E_202B_200F_200C_200D_202C_206E_202B_202B_200C_202D_200F_202C_200C_202B_202C_202E_202B_206B_202B_206F_200F_206F_206A_202A_202E() + { + ImGui.SameLine(); + } + + static ReadOnlyDictionary _202A_200F_202C_206D_206F_206A_200C_200D_206B_206C_202E_206F_200D_200B_206B_200C_200C_200F_200B_206E_200D_202A_206E_200E_200E_202A_206B_206E_206B_206E_202C_200C_206C_202D_202C_206E_206E_202A_202E_202E_202E(ICommandManager P_0) + { + return P_0.Commands; + } + + static bool _206B_206A_202D_200F_200E_200C_200D_202E_202E_206A_206F_202D_206C_200D_206E_206F_206A_200B_200E_206B_202D_202C_202A_206E_200D_200D_206B_206D_202A_206C_206B_202C_202D_202A_200F_200D_202E_206C_200C_200F_202E(ImGuiKey P_0) + { + return ImGui.IsKeyDown(P_0); + } + + static bool _202E_202A_206A_206C_206B_206D_200F_206E_206F_200E_206E_206E_202A_202D_202A_200F_202E_206A_202C_202B_206C_206C_200B_200F_202B_206D_200D_200C_200B_206E_200B_206E_200D_200D_200E_206B_200E_206D_200C_202C_202E(ICommandManager P_0, string P_1) + { + return P_0.ProcessCommand(P_1); + } + + static bool _202E_206E_200C_202C_206E_202D_200F_206D_206B_206A_202D_202B_202C_202D_206D_202A_200B_202B_206A_206C_206F_206D_200F_206D_206B_206E_200E_206B_206F_200E_206A_202C_202B_200C_202B_206E_206C_200D_200C_202B_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static void _200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static Vector4 _206E_206D_200F_200E_206D_206E_206A_206D_200B_202C_200B_206A_206E_202B_206A_200F_202D_200C_202A_206E_202E_206F_202D_202E_202D_202B_206D_202E_206B_200B_200F_206B_200F_206C_200F_206F_200F_206B_206F_206A_202E() + { + return ImGuiColors.DalamudRed; + } + + static Vector4 _200C_200B_206D_200C_202A_206A_200B_206D_206A_202A_206C_200F_202E_200B_200B_202B_206D_202C_206E_202C_200B_206A_206C_200E_202E_206A_206A_202C_202B_200F_202E_202D_200D_202A_206C_202C_206B_202D_206F_200C_202E() + { + return ImGuiColors.DalamudYellow; + } + + static Vector4 _200D_200E_206B_200F_202E_202A_206B_202C_202C_200B_200C_206A_202A_206B_200F_206F_200E_200F_206A_206F_200B_202C_200C_200C_200B_202C_206E_200C_206E_202C_200D_200C_200B_200B_202D_200E_202E_200E_202E_202E() + { + return ImGuiColors.ParsedBlue; + } + + static ImRaii.IdDisposable _200D_202E_202D_206A_206F_206F_206B_206D_206B_206E_200E_202A_200E_206A_206F_200F_202A_202D_200D_202E_200F_206B_200B_206E_206B_200C_202C_206A_200B_202D_202E_202E_200D_200F_200C_206A_200D_202E_206A_202C_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static float _202E_200E_206D_206C_206D_200F_206E_206F_202E_206D_206F_206F_200D_200E_200E_200D_202E_206A_206A_200B_206E_202E_206A_200E_202D_206D_202B_202A_206F_202D_202C_202D_200B_206F_200C_206B_200B_202D_200E_202D_202E() + { + return ImGuiHelpers.GlobalScale; + } + + static IUiBuilder _202E_202C_202B_200F_202A_202B_206D_206A_206F_202B_206E_202C_202E_206A_200C_202E_202C_200F_200F_206C_200C_200B_206F_206D_200B_206B_200E_206A_206B_200D_202E_206D_202D_200E_200E_200E_206C_206C_200D_202A_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _206C_206B_202A_200F_206A_202C_200C_206F_206D_206C_200E_206A_206D_200E_206C_206B_202E_200D_200F_206E_206A_206A_206C_202A_200C_200E_206C_202E_202A_202C_200E_200D_200D_200D_202C_200E_206B_206A_202D_206C_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _200C_202C_200D_202D_200F_202A_206B_200C_202E_206E_202A_202D_200B_200F_206F_202A_206E_202E_200F_202A_200B_200C_202B_206C_202D_200B_200E_200C_206B_206F_200F_200C_202A_206C_200F_200E_206C_202D_202D_202B_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static string _200F_206D_200E_206F_200F_200D_206E_200B_202C_206A_200D_202E_200D_206E_202E_200B_202D_206A_202C_202B_206A_206B_202E_202C_202B_202A_200F_206D_206F_206B_206A_202B_206D_200D_206F_200F_202D_202A_206C_200C_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _200C_200F_200F_202D_202A_200E_202C_206C_202A_200C_206D_200E_200D_206B_206B_202A_206E_202C_200C_202D_200C_202C_206E_206A_200C_200C_200E_202E_206E_200D_202C_206F_200B_206F_200F_202A_206D_206B_206F_202E_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static CultureInfo _200D_202B_202B_202B_206F_202C_206B_202A_206A_206F_202D_200D_206C_206F_206D_202A_202E_206B_206A_202D_206F_200E_202B_202A_206F_200F_206C_206B_206E_200C_200C_202D_200D_206B_200D_206B_202B_206D_206E_200E_202E() + { + return CultureInfo.InvariantCulture; + } + + static float _202E_206D_200B_200D_202D_206D_202E_202B_202B_200F_206B_200C_202C_202E_202D_206C_206C_202C_202B_200C_202E_206E_202E_202E_206B_206C_206C_202D_206E_206E_206F_202E_200D_200E_206A_202C_206C_202B_206B_200F_202E() + { + return ImGui.GetFrameHeight(); + } + + static Vector2 _206C_202B_202B_206A_200F_200C_206F_202E_200B_206B_202A_206A_206D_202E_206A_206D_206E_202A_200F_202E_202E_200C_206E_206D_202E_202C_202B_206E_206E_202B_206A_206D_202E_202A_202A_202A_202D_200E_206F_200C_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static bool _200C_206D_200C_206F_206E_202D_202C_200E_202B_206F_202C_206B_202E_206C_206A_200B_200E_200F_206E_202D_202E_206F_200B_206B_200C_200D_200C_206E_206C_206A_202D_200D_206C_202A_200E_206B_206E_206E_200F_206B_202E(ImU8String P_0, Vector2 P_1) + { + return ImGui.Button(P_0, P_1); + } + + static ImDrawListPtr _200D_206D_206E_202D_200D_200F_202A_202D_200D_206C_206E_206D_206F_200B_202A_202B_206B_202B_206E_202B_200F_200D_202A_206C_206D_202E_200F_202C_202A_206B_200F_200D_202E_206F_202A_200D_200B_200C_202C_206F_202E() + { + return ImGui.GetWindowDrawList(); + } + + static uint _206C_202C_202D_200D_200D_202E_200D_206D_202B_200E_200F_202E_202B_200E_200C_200B_202C_206A_202D_206F_200B_202B_206C_206D_202A_200D_202C_206B_206B_202B_202B_206A_206E_202A_200D_200E_200D_206B_206F_206F_202E(Vector4 P_0) + { + return ImGui.GetColorU32(P_0); + } + + static uint _200C_202B_202A_206B_202E_202D_200F_206D_200E_200E_200D_206B_200C_202E_200C_206D_202D_206F_202A_202A_202B_206B_202A_206C_206D_206F_200D_202C_206F_202D_202E_200C_202B_206A_206F_206B_206A_200F_200F_200C_202E(ImGuiCol P_0) + { + return ImGui.GetColorU32(P_0); + } + + static void _206C_206A_206F_206D_206E_206C_200C_200E_202D_200C_202A_202A_200F_206D_200C_200E_200E_200D_206E_206E_202C_206C_202D_200C_200B_200F_206A_206B_200B_206A_202B_202A_206B_200B_202A_206A_200D_200E_202D_200F_202E(LWindow P_0, bool P_1) + { + P_0.IsOpenAndUncollapsed = P_1; + } } diff --git a/Questionable/Questionable.Windows.QuestComponents/RemainingTasksComponent.cs b/Questionable/Questionable.Windows.QuestComponents/RemainingTasksComponent.cs index f77829d0..7367e99b 100644 --- a/Questionable/Questionable.Windows.QuestComponents/RemainingTasksComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/RemainingTasksComponent.cs @@ -1,5 +1,10 @@ +using System; +using System.Collections; using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; +using Dalamud.Interface.Utility.Raii; using Questionable.Controller; namespace Questionable.Windows.QuestComponents; @@ -22,64 +27,296 @@ internal sealed class RemainingTasksComponent _seasonalDutyController = seasonalDutyController; } - public void Draw() + [MethodImpl(MethodImplOptions.NoInlining)] + public bool Draw() + { + (IList Tasks, string? Prefix) remainingTasks = GetRemainingTasks(); + IList item = remainingTasks.Tasks; + string item2 = remainingTasks.Prefix; + int num = ((item.Count != 0) ? 1019289488 : 1019289491); + string current = default(string); + while (true) + { + int num2 = num; + int num3 = 1019289490; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0062; + case 1: + return false; + case 2: + { + (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard(); + Vector2 item3 = tuple.ContentStartPos; + float item4 = tuple.AvailableWidth; + ImDrawListPtr item5 = tuple.DrawList; + float num5 = _200B_200F_200F_202E_200E_202C_202D_200E_206B_200B_200E_206C_200C_202E_200B_200B_206F_200D_200E_200E_200D_202C_202D_202B_202D_202D_206F_206D_200D_202C_200C_206F_202D_206D_200C_202C_200B_206D_200C_200D_202E(); + float num6 = _200F_200F_202E_206E_206F_202C_206E_206C_206C_200D_200E_200F_206E_202D_202C_206C_202C_200F_200B_202C_206E_202B_200E_206E_200B_200D_202B_202A_206E_202E_206C_202A_206A_202B_200F_200F_206D_200D_200F_206C_202E().X - 12f; + float num7 = num5 + num6; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler.AppendFormatted(item.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2018550958)); + defaultInterpolatedStringHandler.AppendFormatted((item.Count == 1) ? global::_003CModule_003E._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(1381530242) : global::_003CModule_003E._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(2113462673)); + string text = defaultInterpolatedStringHandler.ToStringAndClear(); + Vector2 vector = _202E_206C_206E_200D_200E_200D_200E_206E_202B_200C_202A_202B_202B_202B_206C_200E_206E_202B_200F_202C_206D_206D_206E_206A_200C_202E_200B_202D_202A_200C_206D_202E_200E_200D_206B_206D_206A_202B_200C_206A_202E((ImU8String)text, false, -1f); + _200E_200D_200C_206F_206C_206E_200D_206E_202C_206B_200D_200F_206D_202E_206C_200F_202A_200E_202C_206F_206F_200F_200B_206B_200D_202E_200F_202C_200F_206F_206F_206E_200F_206A_206C_202D_202E_200F_202C_206E_202E(false, ImGuiCond.Once); + bool flag = _200D_200D_200D_206C_202D_202A_200D_200D_206B_206C_200E_200C_202E_202B_200C_202E_206C_202A_200C_200E_202D_200C_206E_202C_202E_200D_200E_200E_206A_202E_202B_206A_200F_200C_200B_200F_206B_200D_206F_206B_202E((ImU8String)global::_003CModule_003E._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(1093870985), ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.SpanAvailWidth, default(ImU8String)); + _206D_202B_202E_202C_202A_200B_206C_202A_202A_202B_202A_206E_200E_202B_206F_206C_200B_200C_202C_206E_202E_206E_206D_202A_206B_206C_202C_202D_202B_206F_200D_202D_202A_206C_200E_200D_206E_202D_200D_202E_202E(); + _206A_202E_200B_206B_206E_202E_202A_206E_200C_200C_206C_200B_202E_200C_206C_206A_200F_206D_206E_206E_200F_206E_206D_206C_206C_206D_206B_206F_206F_200D_202A_206E_206B_202B_206C_202C_206A_202C_200B_200E_202E(num5 + num6 - vector.X); + ImRaii.ColorDisposable colorDisposable = _200F_206E_202C_202B_202A_202E_202E_206F_200E_200F_200C_206D_200F_200E_206A_200D_202D_206F_202B_206C_202D_202B_202B_200F_202D_200F_200D_202D_200F_206F_202D_200F_200F_206D_202D_206E_200E_200E_200C_206F_202E(ImGuiCol.Text, UiThemeUtils.DimTextColor, true); + try + { + _200B_206A_206C_202D_202D_200E_200F_200F_200D_206D_202B_206E_202C_200F_206E_200E_202D_206F_206C_200D_206F_200D_200C_206F_206B_200E_200B_206C_200E_200D_202A_206A_202A_200F_200E_202B_206B_200D_200E_206A_202E((ImU8String)text); + } + finally + { + num = ((colorDisposable == null) ? (-1125073780) : (-1125073777)); + while (true) + { + int num8 = num; + num3 = -1125073778; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num = -1125073777; + break; + case 2: + goto end_IL_0196; + case 1: + _200F_200E_206A_202E_202A_206D_206E_206A_202B_202E_206E_206D_206E_202C_202C_206B_202D_202A_202C_200B_202D_206D_200C_206D_206A_202B_206B_200E_206A_202C_202E_206D_200F_206A_200D_206E_206F_206A_200E_206C_202E((IDisposable)colorDisposable); + num = -1125073780; + break; + } + continue; + end_IL_0196: + break; + } + } + if (flag) + { + _206A_202E_202A_202C_206A_200D_202B_206D_202D_202E_206C_206A_206B_206E_200C_206E_200E_200F_200F_202E_202E_206A_202E_206F_200C_206F_200E_206F_200C_200D_202A_200F_200F_206C_206A_202A_200C_206F_206D_200D_202E(num7); + ImRaii.DisabledDisposable disabledDisposable = _206F_206F_202D_202C_200D_202E_202A_200B_202D_200B_206B_200D_206B_206F_202A_200C_200D_200E_206B_202D_200D_202A_206D_202E_206E_202B_206C_202B_206D_206A_200D_202D_200F_202B_200B_200B_206A_200D_202B_206C_202E(); + try + { + IEnumerator enumerator = item.GetEnumerator(); + try + { + num = -973261633; + while (true) + { + int num11 = num; + num3 = -973261637; + num4 = num11; + string text2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -973261633; + break; + case 2: + current = enumerator.Current; + num = ((item2 != null) ? (-973261634) : (-973261638)); + break; + case 5: + text2 = _206B_206E_202A_202A_200D_200C_202E_202E_206A_200F_202E_206C_206B_206C_200D_206E_206D_206D_206F_202B_206C_202C_202D_200E_206A_200E_202C_206E_200F_202D_200C_206E_206F_200C_206F_200E_200B_206D_206D_202C_202E(item2, current); + goto IL_0280; + case 4: + num = (_200D_202C_206B_200C_206A_200C_202B_206E_202D_202D_202B_200D_200D_202A_200C_206D_200E_202A_202D_206B_200B_200E_206D_202C_200F_202A_200E_200D_206C_206E_206C_202B_200C_200D_202A_200D_206C_200B_206A_202A_202E((IEnumerator)enumerator) ? (-973261639) : (-973261637)); + break; + case 1: + text2 = current; + goto IL_0280; + case 0: + goto end_IL_020d; + IL_0280: + _200B_206A_206C_202D_202D_200E_200F_200F_200D_206D_202B_206E_202C_200F_206E_200E_202D_206F_206C_200D_206F_200D_200C_206F_206B_200E_200B_206C_200E_200D_202A_206A_202A_200F_200E_202B_206B_200D_200E_206A_202E((ImU8String)text2); + num = -973261633; + break; + } + continue; + end_IL_020d: + break; + } + } + finally + { + num = ((enumerator == null) ? (-2099354394) : (-2099354395)); + while (true) + { + int num12 = num; + num3 = -2099354393; + num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -2099354395; + break; + case 1: + goto end_IL_02f1; + case 2: + _200F_200E_206A_202E_202A_206D_206E_206A_202B_202E_206E_206D_206E_202C_202C_206B_202D_202A_202C_200B_202D_206D_200C_206D_206A_202B_206B_200E_206A_202C_202E_206D_200F_206A_200D_206E_206F_206A_200E_206C_202E((IDisposable)enumerator); + num = -2099354394; + break; + } + continue; + end_IL_02f1: + break; + } + } + _202D_202A_202C_206D_206C_202D_202D_202C_202D_200D_206E_206D_206F_202B_200B_202B_202C_202D_202C_202B_202C_200E_202B_200D_206C_202D_206B_206D_206E_200B_202D_200B_206C_202C_206E_206B_206F_206F_202D_206C_202E(); + } + finally + { + num = ((disabledDisposable == null) ? 1458693981 : 1458693982); + while (true) + { + int num13 = num; + num3 = 1458693980; + num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 0: + num = 1458693982; + break; + case 2: + _200F_200E_206A_202E_202A_206D_206E_206A_202B_202E_206E_206D_206E_202C_202C_206B_202D_202A_202C_200B_202D_206D_200C_206D_206A_202B_206B_200E_206A_202C_202E_206D_200F_206A_200D_206E_206F_206A_200E_206C_202E((IDisposable)disabledDisposable); + num = 1458693981; + break; + case 1: + goto end_IL_0366; + } + continue; + end_IL_0366: + break; + } + } + } + UiThemeUtils.EndCard(item3, item4, item5); + return true; + } + } + continue; + IL_0062: + num = 1019289491; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private (IList Tasks, string? Prefix) GetRemainingTasks() { IList remainingTaskNames = _seasonalDutyController.GetRemainingTaskNames(); - if (remainingTaskNames.Count > 0) + int num = ((remainingTaskNames.Count <= 0) ? (-34894853) : (-34894852)); + IList remainingTaskNames3 = default(IList); + IList remainingTaskNames2 = default(IList); + while (true) { - ImGui.Separator(); - ImGui.BeginDisabled(); - foreach (string item in remainingTaskNames) + int num2 = num; + int num3 = -34894856; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - ImU8String text = new ImU8String(3, 1); - text.AppendLiteral("D: "); - text.AppendFormatted(item); - ImGui.TextUnformatted(text); + case 2: + return (Tasks: _questController.GetRemainingTaskNames(), Prefix: null); + case 4: + return (Tasks: remainingTaskNames, Prefix: global::_003CModule_003E._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(1720040569)); + case 3: + remainingTaskNames3 = _fateController.GetRemainingTaskNames(); + num = ((remainingTaskNames3.Count <= 0) ? (-34894855) : (-34894856)); + break; + case 5: + return (Tasks: remainingTaskNames2, Prefix: global::_003CModule_003E._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(-1120878014)); + case 6: + num = -34894852; + break; + case 0: + return (Tasks: remainingTaskNames3, Prefix: global::_003CModule_003E._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(-1289314876)); + case 1: + remainingTaskNames2 = _gatheringController.GetRemainingTaskNames(); + num = ((remainingTaskNames2.Count <= 0) ? (-34894854) : (-34894851)); + break; } - ImGui.EndDisabled(); - return; } - 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; - } - 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; - } - IList remainingTaskNames4 = _questController.GetRemainingTaskNames(); - if (remainingTaskNames4.Count <= 0) - { - return; - } - ImGui.Separator(); - ImGui.BeginDisabled(); - foreach (string item4 in remainingTaskNames4) - { - ImGui.TextUnformatted(item4); - } - ImGui.EndDisabled(); + } + + static float _200B_200F_200F_202E_200E_202C_202D_200E_206B_200B_200E_206C_200C_202E_200B_200B_206F_200D_200E_200E_200D_202C_202D_202B_202D_202D_206F_206D_200D_202C_200C_206F_202D_206D_200C_202C_200B_206D_200C_200D_202E() + { + return ImGui.GetCursorPosX(); + } + + static Vector2 _200F_200F_202E_206E_206F_202C_206E_206C_206C_200D_200E_200F_206E_202D_202C_206C_202C_200F_200B_202C_206E_202B_200E_206E_200B_200D_202B_202A_206E_202E_206C_202A_206A_202B_200F_200F_206D_200D_200F_206C_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static Vector2 _202E_206C_206E_200D_200E_200D_200E_206E_202B_200C_202A_202B_202B_202B_206C_200E_206E_202B_200F_202C_206D_206D_206E_206A_200C_202E_200B_202D_202A_200C_206D_202E_200E_200D_206B_206D_206A_202B_200C_206A_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static void _200E_200D_200C_206F_206C_206E_200D_206E_202C_206B_200D_200F_206D_202E_206C_200F_202A_200E_202C_206F_206F_200F_200B_206B_200D_202E_200F_202C_200F_206F_206F_206E_200F_206A_206C_202D_202E_200F_202C_206E_202E(bool P_0, ImGuiCond P_1) + { + ImGui.SetNextItemOpen(P_0, P_1); + } + + static bool _200D_200D_200D_206C_202D_202A_200D_200D_206B_206C_200E_200C_202E_202B_200C_202E_206C_202A_200C_200E_202D_200C_206E_202C_202E_200D_200E_200E_206A_202E_202B_206A_200F_200C_200B_200F_206B_200D_206F_206B_202E(ImU8String P_0, ImGuiTreeNodeFlags P_1, ImU8String P_2) + { + return ImGui.TreeNodeEx(P_0, P_1, P_2); + } + + static void _206D_202B_202E_202C_202A_200B_206C_202A_202A_202B_202A_206E_200E_202B_206F_206C_200B_200C_202C_206E_202E_206E_206D_202A_206B_206C_202C_202D_202B_206F_200D_202D_202A_206C_200E_200D_206E_202D_200D_202E_202E() + { + ImGui.SameLine(); + } + + static void _206A_202E_200B_206B_206E_202E_202A_206E_200C_200C_206C_200B_202E_200C_206C_206A_200F_206D_206E_206E_200F_206E_206D_206C_206C_206D_206B_206F_206F_200D_202A_206E_206B_202B_206C_202C_206A_202C_200B_200E_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static ImRaii.ColorDisposable _200F_206E_202C_202B_202A_202E_202E_206F_200E_200F_200C_206D_200F_200E_206A_200D_202D_206F_202B_206C_202D_202B_202B_200F_202D_200F_200D_202D_200F_206F_202D_200F_200F_206D_202D_206E_200E_200E_200C_206F_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static void _200B_206A_206C_202D_202D_200E_200F_200F_200D_206D_202B_206E_202C_200F_206E_200E_202D_206F_206C_200D_206F_200D_200C_206F_206B_200E_200B_206C_200E_200D_202A_206A_202A_200F_200E_202B_206B_200D_200E_206A_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _200F_200E_206A_202E_202A_206D_206E_206A_202B_202E_206E_206D_206E_202C_202C_206B_202D_202A_202C_200B_202D_206D_200C_206D_206A_202B_206B_200E_206A_202C_202E_206D_200F_206A_200D_206E_206F_206A_200E_206C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _206A_202E_202A_202C_206A_200D_202B_206D_202D_202E_206C_206A_206B_206E_200C_206E_200E_200F_200F_202E_202E_206A_202E_206F_200C_206F_200E_206F_200C_200D_202A_200F_200F_206C_206A_202A_200C_206F_206D_200D_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static ImRaii.DisabledDisposable _206F_206F_202D_202C_200D_202E_202A_200B_202D_200B_206B_200D_206B_206F_202A_200C_200D_200E_206B_202D_200D_202A_206D_202E_206E_202B_206C_202B_206D_206A_200D_202D_200F_202B_200B_200B_206A_200D_202B_206C_202E() + { + return ImRaii.Disabled(); + } + + static string _206B_206E_202A_202A_200D_200C_202E_202E_206A_200F_202E_206C_206B_206C_200D_206E_206D_206D_206F_202B_206C_202C_202D_200E_206A_200E_202C_206E_200F_202D_200C_206E_206F_200C_206F_200E_200B_206D_206D_202C_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static bool _200D_202C_206B_200C_206A_200C_202B_206E_202D_202D_202B_200D_200D_202A_200C_206D_200E_202A_202D_206B_200B_200E_206D_202C_200F_202A_200E_200D_206C_206E_206C_202B_200C_200D_202A_200D_206C_200B_206A_202A_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202D_202A_202C_206D_206C_202D_202D_202C_202D_200D_206E_206D_206F_202B_200B_202B_202C_202D_202C_202B_202C_200E_202B_200D_206C_202D_206B_206D_206E_200B_202D_200B_206C_202C_206E_206B_206F_206F_202D_206C_202E() + { + ImGui.PopTextWrapPos(); } } diff --git a/Questionable/Questionable.Windows.QuestComponents/SavedPresetsComponent.cs b/Questionable/Questionable.Windows.QuestComponents/SavedPresetsComponent.cs index 16828bb6..1b0d2264 100644 --- a/Questionable/Questionable.Windows.QuestComponents/SavedPresetsComponent.cs +++ b/Questionable/Questionable.Windows.QuestComponents/SavedPresetsComponent.cs @@ -1,12 +1,13 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using System.Text; using Dalamud.Bindings.ImGui; +using Dalamud.Configuration; 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 +18,7 @@ using Questionable.Data; using Questionable.Functions; using Questionable.Model; using Questionable.Model.Questing; +using Questionable.Windows.Utils; namespace Questionable.Windows.QuestComponents; @@ -31,6 +33,113 @@ internal sealed class SavedPresetsComponent public List QuestIds { get; set; } = new List(); } + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func, string> _003C_003E9__24_0; + + public static Func _003C_003E9__27_0; + + public static Func _003C_003E9__29_0; + + public static Func _003C_003E9__30_1; + + public static Func _003C_003E9__30_0; + + public static Func _003C_003E9__38_0; + + internal string _003CDrawSavedPresets_003Eb__24_0(KeyValuePair x) + { + return x.Value.Name; + } + + internal ElementId _003CSaveCurrentPreset_003Eb__27_0(Quest q) + { + return q.Id; + } + + internal string _003CExportPresetToClipboard_003Eb__29_0(ElementId x) + { + return _202A_202B_200D_200B_200E_200F_202C_206A_202D_202D_200B_206A_200C_200C_200B_202B_200C_200C_206C_200C_206B_206E_202D_200C_202E_206C_202D_200E_200C_202D_202A_202A_206C_206F_202B_206D_200F_206B_202D_202A_202E((object)x); + } + + internal PresetExportData _003CExportAllPresetsToClipboard_003Eb__30_0(Configuration.SavedQuestPreset preset) + { + return new PresetExportData + { + Name = preset.Name, + Description = preset.Description, + QuestIds = preset.QuestIds.Select((ElementId x) => _202A_202B_200D_200B_200E_200F_202C_206A_202D_202D_200B_206A_200C_200C_200B_202B_200C_200C_206C_200C_206B_206E_202D_200C_202E_206C_202D_200E_200C_202D_202A_202A_206C_206F_202B_206D_200F_206B_202D_202A_202E((object)x)).ToList() + }; + } + + internal string _003CExportAllPresetsToClipboard_003Eb__30_1(ElementId x) + { + return _202A_202B_200D_200B_200E_200F_202C_206A_202D_202D_200B_206A_200C_200C_200B_202B_200C_200C_206C_200C_206B_206E_202D_200C_202E_206C_202D_200E_200C_202D_202A_202A_206C_206F_202B_206D_200F_206B_202D_202A_202E((object)x); + } + + internal string _003CImportAllPresetsFromClipboard_003Eb__38_0(Configuration.SavedQuestPreset p) + { + return p.Name; + } + + static string _202A_202B_200D_200B_200E_200F_202C_206A_202D_202D_200B_206A_200C_200C_200B_202B_200C_200C_206C_200C_206B_206E_202D_200C_202E_206C_202D_200E_200C_202D_202A_202A_206C_206F_202B_206D_200F_206B_202D_202A_202E(object P_0) + { + return P_0.ToString(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass36_0 + { + public string name; + + internal bool _003CPresetNameExists_003Eb__0(Configuration.SavedQuestPreset p) + { + return _206B_206C_206C_200E_202A_206E_206F_200B_202B_206B_202A_206A_202C_200B_202C_206A_206D_202D_200D_206B_206B_200F_206B_200B_202A_206D_200D_206E_202A_202B_202C_202C_202A_206B_206C_200D_200E_206A_202C_200F_202E(p.Name, name, StringComparison.OrdinalIgnoreCase); + } + + static bool _206B_206C_206C_200E_202A_206E_206F_200B_202B_206B_202A_206A_202C_200B_202C_206A_206D_202D_200D_206B_206B_200F_206B_200B_202A_206D_200D_206E_202A_202B_202C_202C_202A_206B_206C_200D_200E_206A_202C_200F_202E(string P_0, string P_1, StringComparison P_2) + { + return string.Equals(P_0, P_1, P_2); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass41_0 + { + public ElementId questId; + + internal bool _003CGetAvailableQuests_003Eb__3(Quest q) + { + return _202E_202B_206D_202D_206C_202E_206F_200B_202B_202C_206A_200C_200D_200E_202C_200D_202C_200E_200F_200C_206C_206A_200C_206A_206D_206D_202A_202A_200D_200E_202B_200F_202C_202C_202E_200F_200E_206D_206A_200E_202E(q.Id, questId); + } + + static bool _202E_202B_206D_202D_206C_202E_206F_200B_202B_202C_206A_200C_200D_200E_202C_200D_202C_200E_200F_200C_206C_206A_200C_206A_206D_206D_202A_202A_200D_200E_202B_200F_202C_202C_202E_200F_200E_206D_206A_200E_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass42_0 + { + public ElementId questId; + + internal bool _003CGetAlreadyPriorityQuests_003Eb__2(Quest q) + { + return _206E_206A_206B_206F_202C_200F_206A_202B_202D_200C_200B_206E_202D_202D_206D_200D_200F_200C_206E_202D_206B_200B_206C_206F_200B_206F_202A_202E_202C_202B_202A_202C_206F_200F_202D_206E_202D_202C_202E_200C_202E(q.Id, questId); + } + + static bool _206E_206A_206B_206F_202C_200F_206A_202B_202D_200C_200B_206E_202D_202D_206D_200D_200F_200C_206E_202D_206B_200B_206C_206F_200B_206F_202A_202E_202C_202B_202A_202C_206F_200F_202D_206E_202D_202C_202E_200C_202E(ElementId P_0, ElementId P_1) + { + return P_0.Equals(P_1); + } + } + private readonly QuestController _questController; private readonly QuestFunctions _questFunctions; @@ -61,11 +170,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,591 +202,2008 @@ 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(); } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawSaveSection() { int count = _questController.ManualPriorityQuests.Count; + float x = _206D_206E_206E_202C_206F_200C_202C_202C_200B_200B_200B_200D_206B_206F_200C_202D_202D_200B_200C_202A_206B_206B_206A_200B_206E_206F_202E_206A_200C_202B_206E_206C_206A_200F_206F_202D_200B_202B_206F_202E().X; + float x2 = _200F_202E_202B_202C_206B_206C_200B_202E_202C_200C_206D_206C_206D_206B_200B_200C_206F_206B_200E_200B_202C_202C_200E_202B_206A_202E_200B_200E_202A_202C_206D_206D_202D_202D_202D_206E_200E_202C_206B_202D_202E().ItemSpacing.X; + float width = (x - x2) / 2f; + ImRaii.DisabledDisposable disabledDisposable; + int num; if (_showSaveDialog) { - ImGui.Text("Save Current Priority Queue as Preset:"); - ImGui.SetNextItemWidth(200f); - ImGui.InputTextWithHint("##PresetName", "Preset name...", ref _newPresetName, 64); - ImGui.SameLine(); - ImGui.SetNextItemWidth(250f); - ImGui.InputTextWithHint("##PresetDescription", "Description (optional)...", ref _newPresetDescription, 256); - ImGui.SameLine(); - using (ImRaii.Disabled(string.IsNullOrWhiteSpace(_newPresetName) || count == 0)) + num = -414909637; + int num5; + while (true) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Save, "Save")) + int num2 = num; + int num3 = -414909638; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - SaveCurrentPreset(); + default: + continue; + case 0: + num5 = ((count == 0) ? 1 : 0); + break; + case 1: + _206D_200E_200C_200D_200D_206D_206A_200F_206E_206A_206B_206B_200F_202A_200B_206D_202C_206C_202E_206F_206B_202B_200E_200B_200D_206E_200C_200F_206C_202B_206C_200C_202D_200C_200B_206E_202D_206A_206B_206B_202E(x); + _206A_202B_206E_200F_206F_206F_202E_202D_200F_200E_200C_202B_206A_206D_206A_206F_202B_206D_200E_206B_202E_202D_202B_200C_206D_202D_202E_200C_200C_202D_206E_202C_202D_202C_206B_206F_206D_206D_202D_200E_202E((ImU8String)global::_003CModule_003E._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(1836918597), (ImU8String)global::_003CModule_003E._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(1120034716), ref _newPresetName, 64, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null); + _206D_200E_200C_200D_200D_206D_206A_200F_206E_206A_206B_206B_200F_202A_200B_206D_202C_206C_202E_206F_206B_202B_200E_200B_200D_206E_200C_200F_206C_202B_206C_200C_202D_200C_200B_206E_202D_206A_206B_206B_202E(x); + _206A_202B_206E_200F_206F_206F_202E_202D_200F_200E_200C_202B_206A_206D_206A_206F_202B_206D_200E_206B_202E_202D_202B_200C_206D_202D_202E_200C_200C_202D_206E_202C_202D_202C_206B_206F_206D_206D_202D_200E_202E((ImU8String)global::_003CModule_003E._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(1932307685), (ImU8String)global::_003CModule_003E._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(-2085064665), ref _newPresetDescription, 256, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null); + num = (_206E_206E_200F_200F_200C_206C_200D_206B_200C_200D_200D_202A_206A_206A_206D_206B_200C_200E_206E_200C_200B_200B_206E_206B_206D_200E_200E_206B_200D_206F_200F_206E_200C_202B_206F_202D_200D_206C_206D_202A_202E(_newPresetName) ? (-414909640) : (-414909638)); + continue; + case 3: + num = -414909637; + continue; + case 2: + num5 = 1; + break; + } + break; + } + disabledDisposable = _202B_206D_202A_200D_206A_206D_202B_200C_206E_206B_206D_200D_202D_206B_200E_206C_206A_200C_200C_202B_206D_206C_202E_200C_200F_200D_200E_206D_200C_206B_202D_200E_200C_202E_200D_202B_206B_202B_202E_202B_202E((byte)num5 != 0); + try + { + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Save, global::_003CModule_003E._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(2146302512), width)) ? (-79341418) : (-79341419)); + while (true) + { + int num6 = num; + int num3 = -79341420; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -79341419; + break; + case 1: + SaveCurrentPreset(); + num = -79341418; + break; + case 2: + goto end_IL_016f; + } + continue; + end_IL_016f: + break; } } - ImGui.SameLine(); - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Times, "Cancel")) + finally + { + num = ((disabledDisposable == null) ? (-831511166) : (-831511167)); + while (true) + { + int num7 = num; + int num3 = -831511165; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -831511167; + break; + case 1: + goto end_IL_01dd; + case 2: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)disabledDisposable); + num = -831511166; + break; + } + continue; + end_IL_01dd: + break; + } + } + _206C_206E_206C_200F_202C_202E_200F_202A_200D_200B_202A_206E_200E_206D_202C_200E_202A_200F_200B_200E_202A_206D_200D_202E_206B_202C_206E_206E_202B_200E_206B_202B_202B_202D_200E_206B_202A_200B_200C_202E(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Times, global::_003CModule_003E._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(885670479), 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)) + disabledDisposable = _202B_206D_202A_200D_206A_206D_202B_200C_206E_206B_206D_200D_202D_206B_200E_206C_206A_200C_200C_202B_206D_206C_202E_200C_200F_200D_200E_206D_200C_206B_202D_200E_200C_202E_200D_202B_206B_202B_202E_202B_202E(count == 0); + try { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Plus, $"Save Current Queue ({count} quests)")) + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(28, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1460487769)); + defaultInterpolatedStringHandler.AppendFormatted(count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(213680711)); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, defaultInterpolatedStringHandler.ToStringAndClear(), x)) ? (-204394257) : (-204394260)); + while (true) { - _showSaveDialog = true; + int num8 = num; + int num3 = -204394258; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num = -204394260; + break; + case 2: + _showSaveDialog = true; + num = -204394257; + break; + case 1: + goto end_IL_02d4; + } + continue; + end_IL_02d4: + break; } } - if (count == 0 && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + finally { - ImGui.SetTooltip("Add quests to the priority queue first to save them as a preset."); + num = ((disabledDisposable == null) ? 1836547569 : 1836547570); + while (true) + { + int num11 = num; + int num3 = 1836547568; + int num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_0345; + case 2: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)disabledDisposable); + num = 1836547569; + break; + case 0: + num = 1836547570; + break; + } + continue; + end_IL_0345: + break; + } + } + num = ((count != 0) ? 429240439 : 429240438); + while (true) + { + int num12 = num; + int num3 = 429240436; + int num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 0: + num = 429240438; + break; + case 3: + return; + case 1: + _200E_206D_206C_200F_206B_200F_200F_202D_206F_202E_202D_206F_206A_206A_202A_200D_206F_202C_206F_206F_206A_202B_200C_202A_206C_200B_202B_200D_202D_202B_202A_202A_200C_206A_206F_206D_200C_202B_206E_202B_202E((ImU8String)global::_003CModule_003E._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(2047946986)); + num = 429240439; + break; + case 2: + num = ((!_200F_206B_200D_202D_206C_206B_200E_202B_206A_206D_200E_200E_206B_200B_200E_200F_206D_202D_206A_206E_200B_206A_206B_202A_200B_206D_206B_206D_200B_206B_200F_202E_202A_200C_206C_206E_200C_206C_202B_202A_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? 429240439 : 429240437); + break; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawSavedPresets() { Dictionary savedPresets = _configuration.General.SavedPresets; + int num2; 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; - } - foreach (var (key, preset) in savedPresets.OrderBy((KeyValuePair x) => x.Value.Name)) - { - DrawPresetEntry(key, preset); - } - if (_presetToDelete != null) - { - if (savedPresets.Remove(_presetToDelete)) + string[] array = new string[3] { - _pluginInterface.SavePluginConfig(_configuration); - _logger.LogInformation("Deleted saved preset '{PresetName}'", _presetToDelete); - } - _presetToDelete = null; - } - } - - private void DrawPresetEntry(string key, Configuration.SavedQuestPreset preset) - { - using (ImRaii.PushId(key)) - { - 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) + global::_003CModule_003E._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(-1427664245), + global::_003CModule_003E._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(1662633757), + global::_003CModule_003E._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(168340145) + }; + float x = _206D_206E_206E_202C_206F_200C_202C_202C_200B_200B_200B_200D_206B_206F_200C_202D_202D_200B_200C_202A_206B_206B_206A_200B_206E_206F_202E_206A_200C_202B_206E_206C_206A_200F_206F_202D_200B_202B_206F_202E().X; + ImRaii.ColorDisposable colorDisposable = _206D_202B_200B_200E_206C_200B_206C_202E_200E_200E_200F_206F_200B_200E_200C_200B_206E_206A_206D_200F_206F_200F_206E_200F_202E_202E_200B_200E_202C_206E_200C_206A_206B_206B_202A_206F_202E_200D_202C_206B_202E(ImGuiCol.Text, UiThemeUtils.MutedTextColor, true); + try { - 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) + ")"; - } - 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)) - { - _expandedPreset = key; - using (ImRaii.PushIndent()) + string[] array2 = array; + int num = 0; + num2 = 1648909738; + while (true) { - if (_renamingPresetKey == key) + int num3 = num2; + int num4 = 1648909739; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) { - 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))) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Check, "Save Changes")) - { - RenamePreset(key, _renamePresetName, _renamePresetDescription); - } - } - ImGui.SameLine(); - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Times, "Cancel")) - { - _renamingPresetKey = null; - _renamePresetName = string.Empty; - _renamePresetDescription = string.Empty; - } - } - else + case 0: + num2 = 1648909738; + break; + case 1: + num2 = ((num < array2.Length) ? 1648909737 : 1648909736); + break; + case 2: { - 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); + string obj = array2[num]; + float x2 = _206D_206F_206E_206F_202D_200B_206D_206D_202B_206E_202B_206A_200F_200F_202D_200D_200D_206D_200C_206E_202C_206C_206D_202D_202A_200C_206F_200B_200C_202E_206C_202D_206A_202E_206F_200E_206A_206E_202C_202E_202E((ImU8String)obj, false, -1f).X; + _202D_200B_206C_202C_202D_206D_202E_200E_200F_206B_202E_206B_202D_206D_206B_200C_200D_202C_200B_206D_206A_206B_202D_202C_202C_206D_200B_200E_202C_206B_200C_202C_202D_200E_206D_202C_206E_200F_200D_202A_202E(_202D_206E_200D_202B_206E_206F_202C_202B_200C_202E_200F_202C_206D_202E_206D_202D_206F_200B_206A_206B_202B_206E_200D_206C_200D_206C_200E_202A_200D_206B_206A_206C_202D_206F_206F_200E_206D_202D_202D_206A_202E() + (x - x2) / 2f); + _202A_200B_202B_200B_206D_206A_202A_206A_206F_200C_206E_200E_206A_200F_202B_206E_202B_202C_202A_202C_202B_202A_202C_200C_200F_206E_200F_202C_206F_206B_206F_202D_202E_206F_202B_200E_206A_206B_206A_202E_202E((ImU8String)obj); + int num6 = num; + num4 = 1; + num5 = num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = num7 + (num8 + num8); + num2 = 1648909738; + break; } - ImGui.Spacing(); - using (ImRaii.Disabled(availableQuests.Count == 0)) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Plus, $"Add Available ({availableQuests.Count})")) - { - AddPresetToPriority(availableQuests); - } + case 3: + return; } - 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")) - { - ExportPresetToClipboard(preset); - } - if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip("Export this preset to clipboard for sharing."); - } - ImGui.SameLine(); - using (ImRaii.Disabled(_renamingPresetKey != null)) - { - 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); - } - } - ImGui.SameLine(); - using (ImRaii.Disabled(!ImGui.IsKeyDown(ImGuiKey.ModCtrl))) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Trash, "Delete")) - { - _presetToDelete = key; - } - } - if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) - { - ImGui.SetTooltip("Hold CTRL to delete this preset."); - } - 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) + finally { - _expandedPreset = null; + num2 = ((colorDisposable == null) ? (-509673079) : (-509673080)); + while (true) + { + int num9 = num2; + int num4 = -509673079; + int num5 = num9; + int num10 = num5 + num4; + int num11 = num5 & num4; + switch (num10 - (num11 + num11)) + { + case 2: + num2 = -509673080; + break; + case 0: + goto end_IL_0156; + case 1: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)colorDisposable); + num2 = -509673079; + break; + } + continue; + end_IL_0156: + break; + } } - if (ImGui.IsItemHovered() && !string.IsNullOrEmpty(preset.Description)) + } + bool flag = true; + IEnumerator> enumerator = savedPresets.OrderBy((KeyValuePair keyValuePair) => keyValuePair.Value.Name).GetEnumerator(); + try + { + num2 = 718071834; + string key2 = default(string); + Configuration.SavedQuestPreset preset = default(Configuration.SavedQuestPreset); + while (true) { - ImGui.BeginTooltip(); - ImGui.TextUnformatted(preset.Description); - ImGui.EndTooltip(); + int num12 = num2; + int num4 = 718071839; + int num5 = num12; + int num13 = num5 + num4; + int num14 = num5 & num4; + switch (num13 - (num14 + num14)) + { + case 4: + flag = false; + DrawPresetEntry(key2, preset); + num2 = 718071834; + break; + case 1: + { + enumerator.Current.Deconstruct(out var key, out var value); + key2 = key; + preset = value; + num2 = (flag ? 718071835 : 718071839); + break; + } + case 0: + _202C_206A_202E_206B_206B_206C_202B_206A_200E_206B_202D_200E_200C_206B_206E_206F_200F_206F_202D_206C_206A_206A_206A_202E_200B_202B_202E_206E_202A_200F_202E_206D_202A_206D_200D_200F_206A_206A_202A_202E(); + num2 = 718071835; + break; + case 2: + num2 = 718071834; + break; + case 5: + num2 = (_206E_202E_202A_202A_200F_206D_202C_206D_206C_202C_200D_200C_200C_202E_200B_200C_206F_200F_206A_206F_200C_206E_200D_200C_202C_202A_202E_202B_200C_202C_200C_200F_206F_202B_200E_206C_206A_206C_206A_202C_202E((IEnumerator)enumerator) ? 718071838 : 718071836); + break; + case 3: + goto end_IL_01e1; + } + continue; + end_IL_01e1: + break; + } + } + finally + { + num2 = ((enumerator == null) ? 1411685488 : 1411685491); + while (true) + { + int num15 = num2; + int num4 = 1411685490; + int num5 = num15; + int num16 = num5 + num4; + int num17 = num5 & num4; + switch (num16 - (num17 + num17)) + { + case 2: + goto end_IL_02d2; + case 1: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)enumerator); + num2 = 1411685488; + break; + case 0: + num2 = 1411685491; + break; + } + continue; + end_IL_02d2: + break; + } + } + num2 = ((_presetToDelete == null) ? 160898063 : 160898058); + while (true) + { + int num18 = num2; + int num4 = 160898062; + int num5 = num18; + int num19 = num5 + num4; + int num20 = num5 & num4; + switch (num19 - (num20 + num20)) + { + case 0: + num2 = 160898058; + break; + case 1: + return; + case 3: + _200B_202C_202B_202C_202C_202E_206B_200D_202D_202A_200C_202D_206B_202B_206E_202E_206B_202E_200F_202C_206E_206D_202C_206F_206F_200E_206E_200D_200F_200C_202E_206C_206A_206E_202E_206F_202A_200F_202E_206E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + _200D_200E_206B_206D_206F_206C_206E_206D_200D_206F_206E_202D_200E_206F_200B_202D_202E_206A_202C_206C_206B_206D_200C_206F_202D_200E_202C_202E_202D_200C_206F_200B_202E_202A_202D_200D_202D_202D_202A_200E_202E((ILogger)_logger, global::_003CModule_003E._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(1687036739), new object[1] { _presetToDelete }); + num2 = 160898060; + break; + case 2: + _presetToDelete = null; + num2 = 160898063; + break; + case 4: + num2 = ((!savedPresets.Remove(_presetToDelete)) ? 160898060 : 160898061); + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawPresetEntry(string key, Configuration.SavedQuestPreset preset) + { + ImRaii.IdDisposable idDisposable = _202D_206A_200B_200F_206F_206B_206D_206F_202E_206C_206F_200B_206C_200C_202B_200C_202E_206D_202C_202C_202C_202D_206F_206C_206B_202B_206D_200C_200F_206A_206E_202E_206E_206F_206B_206D_206A_206D_202B_202A_202E((ImU8String)key, true); + try + { + (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); + int count = preset.QuestIds.Count; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler.AppendFormatted(count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2018550958)); + defaultInterpolatedStringHandler.AppendFormatted((count == 1) ? global::_003CModule_003E._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(-607980198) : global::_003CModule_003E._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(1391970161)); + string text = defaultInterpolatedStringHandler.ToStringAndClear(); + _202D_206E_200D_202B_206E_206F_202C_202B_200C_202E_200F_202C_206D_202E_206D_202D_206F_200B_206A_206B_202B_206E_200D_206C_200D_206C_200E_202A_200D_206B_206A_206C_202D_206F_206F_200E_206D_202D_202D_206A_202E(); + float num = _206D_206E_206E_202C_206F_200C_202C_202C_200B_200B_200B_200D_206B_206F_200C_202D_202D_200B_200C_202A_206B_206B_206A_200B_206E_206F_202E_206A_200C_202B_206E_206C_206A_200F_206F_202D_200B_202B_206F_202E().X - 12f; + bool flag = _202A_200B_206A_200E_200C_202A_202D_200D_206F_200F_206C_202B_200D_200F_200F_206C_206B_206B_200E_200F_202B_202D_200F_200C_206A_206A_206C_206C_206D_200F_206B_206A_206F_202E_202C_206A_202C_206C_202A_202D_202E(_expandedPreset, key); + float num2 = _206E_206C_206A_206B_200C_200B_202E_200C_206D_200E_202C_202C_200C_200F_206E_202A_200F_200B_202D_200E_200E_202C_206D_202E_200B_200E_202E_200E_206A_206A_200E_200B_206D_200D_202A_202C_200E_202E_202C_202E_202E(); + Vector2 vector = _206E_200F_206D_202E_202D_206F_206F_206B_202E_202E_206E_202B_206E_202B_206D_206F_206C_202B_202D_202C_200E_202B_200D_206B_202E_202B_202E_206F_200F_206E_202D_206B_202B_206C_206E_206F_200E_200C_206B_200C_202E(); + ImRaii.ColorDisposable colorDisposable = _206D_202B_200B_200E_206C_200B_206C_202E_200E_200E_200F_206F_200B_200E_200C_200B_206E_206A_206D_200F_206F_200F_206E_200F_202E_202E_200B_200E_202C_206E_200C_206A_206B_206B_202A_206F_202E_200D_202C_206B_202E(ImGuiCol.Button, Vector4.Zero, true); + int num3; + try + { + ImRaii.ColorDisposable colorDisposable2 = _206D_202B_200B_200E_206C_200B_206C_202E_200E_200E_200F_206F_200B_200E_200C_200B_206E_206A_206D_200F_206F_200F_206E_200F_202E_202E_200B_200E_202C_206E_200C_206A_206B_206B_202A_206F_202E_200D_202C_206B_202E(ImGuiCol.ButtonHovered, UiThemeUtils.SubtleHoverColor, true); + try + { + ImRaii.ColorDisposable colorDisposable3 = _206D_202B_200B_200E_206C_200B_206C_202E_200E_200E_200F_206F_200B_200E_200C_200B_206E_206A_206D_200F_206F_200F_206E_200F_202E_202E_200B_200E_202C_206E_200C_206A_206B_206B_202A_206F_202E_200D_202C_206B_202E(ImGuiCol.ButtonActive, UiThemeUtils.SubtlePressColor, true); + try + { + ImU8String imU8String = new ImU8String(2, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-374493523)); + imU8String.AppendFormatted(key); + num3 = ((!_202C_202A_202B_202A_206C_206C_200E_206B_206A_202C_200D_206F_202B_206D_206C_206D_200D_202A_200B_206F_200B_202A_202C_200C_202A_202D_202D_200B_206B_202C_206E_206B_206C_202C_202C_206C_200E_206C_200F_200C_202E(imU8String, new Vector2(num, num2))) ? (-1560963531) : (-1560963530)); + while (true) + { + int num4 = num3; + int num5 = -1560963532; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 0: + num3 = -1560963530; + break; + case 2: + _expandedPreset = (flag ? null : key); + flag = _202A_200B_206A_200E_200C_202A_202D_200D_206F_200F_206C_202B_200D_200F_200F_206C_206B_206B_200E_200F_202B_202D_200F_200C_206A_206A_206C_206C_206D_200F_206B_206A_206F_202E_202C_206A_202C_206C_202A_202D_202E(_expandedPreset, key); + num3 = -1560963531; + break; + case 1: + goto end_IL_0145; + } + continue; + end_IL_0145: + break; + } + } + finally + { + num3 = ((colorDisposable3 == null) ? 846948470 : 846948469); + while (true) + { + int num9 = num3; + int num5 = 846948468; + int num6 = num9; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num3 = 846948469; + break; + case 1: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)colorDisposable3); + num3 = 846948470; + break; + case 2: + goto end_IL_01d1; + } + continue; + end_IL_01d1: + break; + } + } + } + finally + { + num3 = ((colorDisposable2 == null) ? 2075211356 : 2075211359); + while (true) + { + int num10 = num3; + int num5 = 2075211357; + int num6 = num10; + int num11 = num6 + num5; + int num12 = num6 & num5; + switch (num11 - (num12 + num12)) + { + case 0: + num3 = 2075211359; + break; + case 2: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)colorDisposable2); + num3 = 2075211356; + break; + case 1: + goto end_IL_023c; + } + continue; + end_IL_023c: + break; + } + } + } + finally + { + num3 = ((colorDisposable == null) ? 1087445344 : 1087445347); + while (true) + { + int num13 = num3; + int num5 = 1087445345; + int num6 = num13; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num3 = 1087445347; + break; + case 2: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)colorDisposable); + num3 = 1087445344; + break; + case 1: + goto end_IL_02a9; + } + continue; + end_IL_02a9: + break; + } + } + ImDrawListPtr imDrawListPtr = _200D_206C_200D_206E_202B_200B_202E_200B_206F_200C_202E_202C_200B_206F_206F_202B_200B_202C_200C_206B_200F_200C_200C_200D_202C_200F_202E_202B_206D_206B_206C_206D_202A_200C_202C_206C_202D_202D_200B_206B_202E(); + num3 = (flag ? (-1065983010) : (-1065983011)); + int num15; + while (true) + { + int num14 = num3; + int num5 = -1065983012; + int num6 = num14; + switch ((num6 | num5) - (num6 & num5)) + { + default: + continue; + case 0: + goto IL_0347; + case 1: + num15 = 61658; + break; + case 2: + num15 = 61655; + break; + } + break; + IL_0347: + num3 = -1065983011; + } + string text2 = _206B_206B_206C_206F_200F_206B_200F_206A_206D_202B_206F_202C_202B_200F_206B_202B_206D_206F_206C_206D_206D_202C_206D_200F_206C_200E_206D_202C_202A_200E_202B_200D_206D_202A_206A_200E_202E_206F_202D_202E((FontAwesomeIcon)num15); + ImRaii.FontDisposable fontDisposable = _206D_206A_200B_202D_206A_202E_200C_206B_202C_206D_206B_206F_206A_206B_206B_206D_206D_200D_200D_206E_202A_206A_202C_200B_202D_206F_202C_200B_200E_202A_202D_200B_200D_202B_200F_206E_206A_202C_202B_202E_202E(_200C_200E_202D_202E_206D_202A_206B_200E_200C_206E_206F_202E_202B_202E_202A_202A_202A_202C_200E_206C_202C_200B_200B_202B_200C_202B_202C_200F_202D_206C_200C_206D_206A_200D_206D_206A_206F_200C_200C_206D_202E(), true); + Vector2 vector2; + try + { + vector2 = _206D_206F_206E_206F_202D_200B_206D_206D_202B_206E_202B_206A_200F_200F_202D_200D_200D_206D_200C_206E_202C_206C_206D_202D_202A_200C_206F_200B_200C_202E_206C_202D_206A_202E_206F_200E_206A_206E_202C_202E_202E((ImU8String)text2, false, -1f); + } + finally + { + num3 = ((fontDisposable == null) ? (-2014865213) : (-2014865214)); + while (true) + { + int num16 = num3; + int num5 = -2014865213; + int num6 = num16; + switch ((num6 | num5) - (num6 & num5)) + { + case 2: + num3 = -2014865214; + break; + case 1: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)fontDisposable); + num3 = -2014865213; + break; + case 0: + goto end_IL_03ba; + } + continue; + end_IL_03ba: + break; + } + } + float y = vector.Y + (num2 - _202B_202A_206C_202B_206A_200B_206C_206F_202B_202D_202D_202D_206E_206B_200B_200B_202A_202E_206D_202D_200D_200E_206E_202D_206C_206C_200F_200B_202B_200F_202E_202D_206B_202D_200D_202D_206D_206D_206A_200F_202E()) / 2f; + float y2 = vector.Y + (num2 - vector2.Y) / 2f; + uint col = _202D_200D_206D_202A_202B_206D_200B_202A_206A_200E_206F_206B_200D_202C_202C_200D_200D_200B_206E_206F_202A_206A_206B_200F_202C_206C_206D_200F_200F_206E_202C_202C_200C_202C_200B_202C_206D_206E_206D_202E_202E(ImGuiCol.Text); + Vector2 vector3 = _206D_206F_206E_206F_202D_200B_206D_206D_202B_206E_202B_206A_200F_200F_202D_200D_200D_206D_200C_206E_202C_206C_206D_202D_202A_200C_206F_200B_200C_202E_206C_202D_206A_202E_206F_200E_206A_206E_202C_202E_202E((ImU8String)text, false, -1f); + float x = _200F_202E_202B_202C_206B_206C_200B_202E_202C_200C_206D_206C_206D_206B_200B_200C_206F_206B_200E_200B_202C_202C_200E_202B_206A_202E_200B_200E_202A_202C_206D_206D_202D_202D_202D_206E_200E_202C_206B_202D_202E().FramePadding.X; + float num17 = vector.X + x + vector2.X + 6f; + float num18 = vector.X + num - vector3.X - x; + imDrawListPtr.AddText(_200C_200E_202D_202E_206D_202A_206B_200E_200C_206E_206F_202E_202B_202E_202A_202A_202A_202C_200E_206C_202C_200B_200B_202B_200C_202B_202C_200F_202D_206C_200C_206D_206A_200D_206D_206A_206F_200C_200C_206D_202E(), _206B_206E_200C_200E_206C_202E_200C_202B_202D_200B_202C_202E_200E_206A_202E_202E_202A_206F_206D_206F_206E_206A_200E_206C_200F_202D_200F_206D_206C_200C_206C_206D_206C_202B_200D_200B_200C_200D_206B_206F_202E(), new Vector2(vector.X + x, y2), col, text2); + imDrawListPtr.AddText(new Vector2(num17, y), col, UiThemeUtils.TruncateToWidth(preset.Name, num18 - num17 - _200F_202E_202B_202C_206B_206C_200B_202E_202C_200C_206D_206C_206D_206B_200B_200C_206F_206B_200E_200B_202C_202C_200E_202B_206A_202E_200B_200E_202A_202C_206D_206D_202D_202D_202D_206E_200E_202C_206B_202D_202E().ItemSpacing.X)); + imDrawListPtr.AddText(new Vector2(num18, y), _206E_206F_202C_206D_200E_202A_206B_202D_206C_200B_202E_206B_200D_200F_202A_200F_200C_206B_206C_200C_202D_206E_200E_202C_206C_200E_202D_206C_206D_202D_206E_202C_206E_206F_202D_202C_202D_202D_200D_206B_202E(UiThemeUtils.MutedTextColor), text); + if (flag) + { + num3 = 466054893; + IQuestInfo questInfo = default(IQuestInfo); + ElementId current = default(ElementId); + while (true) + { + int num19 = num3; + int num5 = 466054895; + int num6 = num19; + int num20 = num6 + num5; + int num21 = num6 & num5; + switch (num20 - (num21 + num21)) + { + default: + continue; + case 0: + num3 = 466054893; + continue; + case 2: + { + if (_202A_200B_206A_200E_200C_202A_202D_200D_206F_200F_206C_202B_200D_200F_200F_206C_206B_206B_200E_200F_202B_202D_200F_200C_206A_206A_206C_206C_206D_200F_206B_206A_206F_202E_202C_206A_202C_206C_202A_202D_202E(_editingPresetKey, key)) + { + num3 = 466054894; + continue; + } + colorDisposable = _206D_202B_200B_200E_206C_200B_206C_202E_200E_200E_200F_206F_200B_200E_200C_200B_206E_206A_206D_200F_206F_200F_206E_200F_202E_202E_200B_200E_202C_206E_200C_206A_206B_206B_202A_206F_202E_200D_202C_206B_202E(ImGuiCol.Text, UiThemeUtils.DimTextColor, true); + try + { + using List.Enumerator enumerator = preset.QuestIds.GetEnumerator(); + num3 = 1539209856; + while (true) + { + int num28 = num3; + num5 = 1539209857; + num6 = num28; + switch ((num6 | num5) - (num6 & num5)) + { + case 4: + UiThemeUtils.WrappedText(questInfo.Name); + num3 = ((!_206B_206A_206C_206A_206E_202A_202A_200C_200E_200C_202E_202C_202D_200E_206A_200F_206E_202D_206B_202B_206B_202D_206E_206C_206F_206F_206C_202B_200B_202B_206A_202D_206E_202B_202C_200C_206A_200E_200B_202D_202E()) ? 1539209856 : 1539209863); + break; + case 6: + _questTooltipComponent.Draw(questInfo); + num3 = 1539209856; + break; + case 1: + num3 = (enumerator.MoveNext() ? 1539209858 : 1539209860); + break; + case 3: + current = enumerator.Current; + num3 = ((!_questData.TryGetQuestInfo(current, out questInfo)) ? 1539209857 : 1539209861); + break; + case 2: + num3 = 1539209856; + break; + case 0: + UiThemeUtils.WrappedText(_202E_206C_200E_206D_206B_206E_206D_202C_206A_200F_200D_202C_202C_206B_202A_200F_202B_202D_200D_200C_202A_206F_202B_200E_206D_206D_202A_202C_206B_202C_202D_202E_202A_200E_206D_202D_200D_202E_202A_200F_202E((object)current)); + num3 = 1539209856; + break; + case 5: + goto end_IL_07ab; + } + continue; + end_IL_07ab: + break; + } + } + finally + { + num3 = ((colorDisposable == null) ? (-934951069) : (-934951072)); + while (true) + { + int num29 = num3; + num5 = -934951071; + num6 = num29; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num3 = -934951072; + break; + case 1: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)colorDisposable); + num3 = -934951069; + break; + case 2: + goto end_IL_08dd; + } + continue; + end_IL_08dd: + break; + } + } + _202C_206A_202E_206B_206B_206C_202B_206A_200E_206B_202D_200E_200C_206B_206E_206F_200F_206F_202D_206C_206A_206A_206A_202E_200B_202B_202E_206E_202A_200F_202E_206D_202A_206D_200D_200F_206A_206A_202A_202E(); + float width2 = (num - _200F_202E_202B_202C_206B_206C_200B_202E_202C_200C_206D_206C_206D_206B_200B_200C_206F_206B_200E_200B_202C_202C_200E_202B_206A_202E_200B_200E_202A_202C_206D_206D_202D_202D_202D_206E_200E_202C_206B_202D_202E().ItemSpacing.X * 3f) / 4f; + ImRaii.DisabledDisposable disabledDisposable = _202B_206D_202A_200D_206A_206D_202B_200C_206E_206B_206D_200D_202D_206B_200E_206C_206A_200C_200C_202B_206D_206C_202E_200C_200F_200D_200E_206D_200C_206B_202D_200E_200C_202E_200D_202B_206B_202B_202E_202B_202E(availableQuests.Count == 0); + try + { + num3 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Plus, global::_003CModule_003E._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(-285867094), width2)) ? (-2095296245) : (-2095296248)); + while (true) + { + int num30 = num3; + num5 = -2095296246; + num6 = num30; + int num31 = num6 + num5; + int num32 = num6 & num5; + switch (num31 - (num32 + num32)) + { + case 0: + num3 = -2095296248; + break; + case 2: + AddPresetToPriority(availableQuests); + num3 = -2095296245; + break; + case 1: + goto end_IL_0996; + } + continue; + end_IL_0996: + break; + } + } + finally + { + num3 = ((disabledDisposable == null) ? (-1850944279) : (-1850944278)); + while (true) + { + int num33 = num3; + num5 = -1850944277; + num6 = num33; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num3 = -1850944278; + break; + case 2: + goto end_IL_0a08; + case 1: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)disabledDisposable); + num3 = -1850944279; + break; + } + continue; + end_IL_0a08: + break; + } + } + _206C_206E_206C_200F_202C_202E_200F_202A_200D_200B_202A_206E_200E_206D_202C_200E_202A_200F_200B_200E_202A_206D_200D_202E_206B_202C_206E_206E_202B_200E_206B_202B_202B_202D_200E_206B_202A_200B_200C_202E(); + num3 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Upload, global::_003CModule_003E._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(605125953), width2)) ? 1011960010 : 1011960009); + while (true) + { + int num34 = num3; + num5 = 1011960011; + num6 = num34; + switch ((num6 | num5) - (num6 & num5)) + { + default: + continue; + case 0: + num3 = 1011960009; + continue; + case 1: + _206C_206E_206C_200F_202C_202E_200F_202A_200D_200B_202A_206E_200E_206D_202C_200E_202A_200F_200B_200E_202A_206D_200D_202E_206B_202C_206E_206E_202B_200E_206B_202B_202B_202D_200E_206B_202A_200B_200C_202E(); + num3 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Pen, global::_003CModule_003E._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(1401730482), width2)) ? 1011960015 : 1011960008); + continue; + case 3: + _editingPresetKey = key; + _editPresetName = preset.Name; + _editPresetDescription = preset.Description; + num3 = 1011960015; + continue; + case 2: + ExportPresetToClipboard(preset); + num3 = 1011960010; + continue; + case 4: + break; + } + break; + } + _206C_206E_206C_200F_202C_202E_200F_202A_200D_200B_202A_206E_200E_206D_202C_200E_202A_200F_200B_200E_202A_206D_200D_202E_206B_202C_206E_206E_202B_200E_206B_202B_202B_202D_200E_206B_202A_200B_200C_202E(); + disabledDisposable = _202B_206D_202A_200D_206A_206D_202B_200C_206E_206B_206D_200D_202D_206B_200E_206C_206A_200C_200C_202B_206D_206C_202E_200C_200F_200D_200E_206D_200C_206B_202D_200E_200C_202E_200D_202B_206B_202B_202E_202B_202E(!_206E_200D_200B_206C_202B_206D_206B_200D_206A_200C_200D_206C_206B_200B_206D_200E_202D_202C_202E_200B_200C_206D_200C_200B_202D_206C_200E_200B_200B_200F_202C_202A_206C_200F_206C_200F_202A_206D_206C_206E_202E(ImGuiKey.ModCtrl)); + try + { + num3 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Trash, global::_003CModule_003E._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(511154012), width2)) ? (-1269043811) : (-1269043810)); + while (true) + { + int num35 = num3; + num5 = -1269043809; + num6 = num35; + int num36 = num6 + num5; + int num37 = num6 & num5; + switch (num36 - (num37 + num37)) + { + case 0: + num3 = -1269043810; + break; + case 1: + _presetToDelete = key; + num3 = -1269043811; + break; + case 2: + goto end_IL_0b8e; + } + continue; + end_IL_0b8e: + break; + } + } + finally + { + num3 = ((disabledDisposable == null) ? (-839582138) : (-839582139)); + while (true) + { + int num38 = num3; + num5 = -839582140; + num6 = num38; + switch ((num6 | num5) - (num6 & num5)) + { + case 2: + goto end_IL_0bff; + case 1: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)disabledDisposable); + num3 = -839582138; + break; + case 0: + num3 = -839582139; + break; + } + continue; + end_IL_0bff: + break; + } + } + num3 = ((!_200F_206B_200D_202D_206C_206B_200E_202B_206A_206D_200E_200E_206B_200B_200E_200F_206D_202D_206A_206E_200B_206A_206B_202A_200B_206D_206B_206D_200B_206B_200F_202E_202A_200C_206C_206E_200C_206C_202B_202A_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-1903494325) : (-1903494328)); + while (true) + { + int num39 = num3; + num5 = -1903494326; + num6 = num39; + switch ((num6 | num5) - (num6 & num5)) + { + default: + continue; + case 0: + num3 = -1903494328; + continue; + case 2: + _200E_206D_206C_200F_206B_200F_200F_202D_206F_202E_202D_206F_206A_206A_202A_200D_206F_202C_206F_206F_206A_202B_200C_202A_206C_200B_202B_200D_202D_202B_202A_202A_200C_206A_206F_206D_200C_202B_206E_202B_202E((ImU8String)global::_003CModule_003E._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(637726200)); + num3 = -1903494325; + continue; + case 1: + break; + } + break; + } + break; + } + case 1: + { + float x2 = _206D_206E_206E_202C_206F_200C_202C_202C_200B_200B_200B_200D_206B_206F_200C_202D_202D_200B_200C_202A_206B_206B_206A_200B_206E_206F_202E_206A_200C_202B_206E_206C_206A_200F_206F_202D_200B_202B_206F_202E().X; + _206D_200E_200C_200D_200D_206D_206A_200F_206E_206A_206B_206B_200F_202A_200B_206D_202C_206C_202E_206F_206B_202B_200E_200B_200D_206E_200C_200F_206C_202B_206C_200C_202D_200C_200B_206E_202D_206A_206B_206B_202E(x2); + _206A_202B_206E_200F_206F_206F_202E_202D_200F_200E_200C_202B_206A_206D_206A_206F_202B_206D_200E_206B_202E_202D_202B_200C_206D_202D_202E_200C_200C_202D_206E_202C_202D_202C_206B_206F_206D_206D_202D_200E_202E((ImU8String)global::_003CModule_003E._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(-300464931), (ImU8String)global::_003CModule_003E._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(-1650294808), ref _editPresetName, 64, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null); + _206D_200E_200C_200D_200D_206D_206A_200F_206E_206A_206B_206B_200F_202A_200B_206D_202C_206C_202E_206F_206B_202B_200E_200B_200D_206E_200C_200F_206C_202B_206C_200C_202D_200C_200B_206E_202D_206A_206B_206B_202E(x2); + _206A_202B_206E_200F_206F_206F_202E_202D_200F_200E_200C_202B_206A_206D_206A_206F_202B_206D_200E_206B_202E_202D_202B_200C_206D_202D_202E_200C_200C_202D_206E_202C_202D_202C_206B_206F_206D_206D_202D_200E_202E((ImU8String)global::_003CModule_003E._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(55765657), (ImU8String)global::_003CModule_003E._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(-1755242680), ref _editPresetDescription, 256, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null); + float width = (x2 - _200F_202E_202B_202C_206B_206C_200B_202E_202C_200C_206D_206C_206D_206B_200B_200C_206F_206B_200E_200B_202C_202C_200E_202B_206A_202E_200B_200E_202A_202C_206D_206D_202D_202D_202D_206E_200E_202C_206B_202D_202E().ItemSpacing.X) / 2f; + ImRaii.DisabledDisposable disabledDisposable = _202B_206D_202A_200D_206A_206D_202B_200C_206E_206B_206D_200D_202D_206B_200E_206C_206A_200C_200C_202B_206D_206C_202E_200C_200F_200D_200E_206D_200C_206B_202D_200E_200C_202E_200D_202B_206B_202B_202E_202B_202E(_206E_206E_200F_200F_200C_206C_200D_206B_200C_200D_200D_202A_206A_206A_206D_206B_200C_200E_206E_200C_200B_200B_206E_206B_206D_200E_200E_206B_200D_206F_200F_206E_200C_202B_206F_202D_200D_206C_206D_202A_202E(_editPresetName)); + try + { + num3 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Save, global::_003CModule_003E._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(744716393), width)) ? 641351484 : 641351487); + while (true) + { + int num22 = num3; + num5 = 641351486; + num6 = num22; + int num23 = num6 + num5; + int num24 = num6 & num5; + switch (num23 - (num24 + num24)) + { + case 0: + num3 = 641351487; + break; + case 1: + preset.Name = _206D_200B_206C_200B_206C_206C_200C_200E_202C_206B_206C_200B_200D_200E_200F_202E_206B_202B_200F_202E_200C_206F_202C_206A_206D_200C_206E_202E_206F_206B_202D_202D_200F_202C_202A_206D_200C_206F_202B_202D_202E(_editPresetName); + preset.Description = _206D_200B_206C_200B_206C_206C_200C_200E_202C_206B_206C_200B_200D_200E_200F_202E_206B_202B_200F_202E_200C_206F_202C_206A_206D_200C_206E_202E_206F_206B_202D_202D_200F_202C_202A_206D_200C_206F_202B_202D_202E(_editPresetDescription); + _200B_202C_202B_202C_202C_202E_206B_200D_202D_202A_200C_202D_206B_202B_206E_202E_206B_202E_200F_202C_206E_206D_202C_206F_206F_200E_206E_200D_200F_200C_202E_206C_206A_206E_202E_206F_202A_200F_202E_206E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + _editingPresetKey = null; + num3 = 641351484; + break; + case 2: + goto end_IL_0666; + } + continue; + end_IL_0666: + break; + } + } + finally + { + num3 = ((disabledDisposable == null) ? (-830260871) : (-830260870)); + while (true) + { + int num25 = num3; + num5 = -830260869; + num6 = num25; + int num26 = num6 + num5; + int num27 = num6 & num5; + switch (num26 - (num27 + num27)) + { + case 2: + goto end_IL_070a; + case 1: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)disabledDisposable); + num3 = -830260871; + break; + case 0: + num3 = -830260870; + break; + } + continue; + end_IL_070a: + break; + } + } + _206C_206E_206C_200F_202C_202E_200F_202A_200D_200B_202A_206E_200E_206D_202C_200E_202A_200F_200B_200E_202A_206D_200D_202E_206B_202C_206E_206E_202B_200E_206B_202B_202B_202D_200E_206B_202A_200B_200C_202E(); + if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Times, global::_003CModule_003E._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(-1132284114), width)) + { + _editingPresetKey = null; + } + break; + } + } + break; + } + } + UiThemeUtils.EndCard(item, item2, item3); + } + finally + { + int num3 = ((idDisposable == null) ? (-1402829835) : (-1402829834)); + while (true) + { + int num40 = num3; + int num5 = -1402829833; + int num6 = num40; + switch ((num6 | num5) - (num6 & num5)) + { + case 2: + goto end_IL_0cf5; + case 1: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)idDisposable); + num3 = -1402829835; + break; + case 0: + num3 = -1402829834; + break; + } + continue; + end_IL_0cf5: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawBottomButtons() { PresetExportData presetExportData = ParseClipboardPreset(); List list = ParseClipboardAllPresets(); - using (ImRaii.Disabled(presetExportData == null)) + float x = _206D_206E_206E_202C_206F_200C_202C_202C_200B_200B_200B_200D_206B_206F_200C_202D_202D_200B_200C_202A_206B_206B_206A_200B_206E_206F_202E_206A_200C_202B_206E_206C_206A_200F_206F_202D_200B_202B_206F_202E().X; + float x2 = _200F_202E_202B_202C_206B_206C_200B_202E_202C_200C_206D_206C_206D_206B_200B_200C_206F_206B_200E_200B_202C_202C_200E_202B_206A_202E_200B_200E_202A_202C_206D_206D_202D_202D_202D_206E_200E_202C_206B_202D_202E().ItemSpacing.X; + float width = (x - x2) / 2f; + int num = ((presetExportData != null) ? (-1819939993) : (-1819939994)); + int num5; + while (true) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Download, "Import Preset") && presetExportData != null) + int num2 = num; + int num3 = -1819939993; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - ImportPresetFromClipboard(presetExportData); + default: + continue; + case 2: + goto IL_007f; + case 1: + num5 = ((list == null) ? 1 : 0); + break; + case 0: + num5 = 0; + break; + } + break; + IL_007f: + num = -1819939994; + } + ImRaii.DisabledDisposable disabledDisposable = _202B_206D_202A_200D_206A_206D_202B_200C_206E_206B_206D_200D_202D_206B_200E_206C_206A_200C_200C_202B_206D_206C_202E_200C_200F_200D_200E_206D_200C_206B_202D_200E_200C_202E_200D_202B_206B_202B_202E_202B_202E((byte)num5 != 0); + try + { + num = ((list != null) ? 1086552360 : 1086552365); + while (true) + { + int num6 = num; + int num3 = 1086552362; + int num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + string text; + string text2; + switch (num7 - (num8 + num8)) + { + case 0: + num = 1086552365; + break; + case 5: + ImportPresetFromClipboard(presetExportData); + num = 1086552364; + break; + case 1: + num = ((list == null) ? 1086552366 : 1086552361); + break; + case 7: + text = global::_003CModule_003E._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(452396725); + goto IL_01be; + case 4: + num = ((presetExportData == null) ? 1086552364 : 1086552367); + break; + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2014943156)); + defaultInterpolatedStringHandler.AppendFormatted(list.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + goto IL_01be; + } + case 3: + ImportAllPresetsFromClipboard(list); + goto end_IL_00c6; + case 6: + goto end_IL_00c6; + IL_01be: + text2 = text; + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Download, text2, width)) ? 1086552364 : 1086552363); + break; + } + continue; + end_IL_00c6: + break; } } - if (presetExportData == null && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + finally { - ImGui.SetTooltip("Copy a valid preset string to clipboard first."); - } - ImGui.SameLine(); - using (ImRaii.Disabled(list == null || list.Count == 0)) - { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.FileImport, "Import All" + ((list != null && list.Count > 0) ? $" ({list.Count})" : "")) && list != null) + num = ((disabledDisposable == null) ? 345926213 : 345926214); + while (true) { - ImportAllPresetsFromClipboard(list); + int num9 = num; + int num3 = 345926212; + int num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 1: + goto end_IL_0226; + case 2: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)disabledDisposable); + num = 345926213; + break; + case 0: + num = 345926214; + break; + } + continue; + end_IL_0226: + break; } } - if ((list == null || list.Count == 0) && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + num = ((presetExportData != null) ? (-2075685938) : (-2075685937)); + while (true) { - 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})")) + int num12 = num; + int num3 = -2075685940; + int num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) { - ExportAllPresetsToClipboard(); + case 4: + num = -2075685937; + break; + case 3: + num = ((list != null) ? (-2075685938) : (-2075685940)); + break; + case 0: + num = ((!_200F_206B_200D_202D_206C_206B_200E_202B_206A_206D_200E_200E_206B_200B_200E_200F_206D_202D_206A_206E_200B_206A_206B_202A_200B_206D_206B_206D_200B_206B_200F_202E_202A_200C_206C_206E_200C_206C_202B_202A_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-2075685938) : (-2075685939)); + break; + case 1: + _200E_206D_206C_200F_206B_200F_200F_202D_206F_202E_202D_206F_206A_206A_202A_200D_206F_202C_206F_206F_206A_202B_200C_202A_206C_200B_202B_200D_202D_202B_202A_202A_200C_206A_206F_206D_200C_202B_206E_202B_202E((ImU8String)global::_003CModule_003E._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(14992797)); + num = -2075685938; + break; + case 2: + { + _206C_206E_206C_200F_202C_202E_200F_202A_200D_200B_202A_206E_200E_206D_202C_200E_202A_200F_200B_200E_202A_206D_200D_202E_206B_202C_206E_206E_202B_200E_206B_202B_202B_202D_200E_206B_202A_200B_200C_202E(); + int count = _configuration.General.SavedPresets.Count; + disabledDisposable = _202B_206D_202A_200D_206A_206D_202B_200C_206E_206B_206D_200D_202D_206B_200E_206C_206A_200C_200C_202B_206D_206C_202E_200C_200F_200D_200E_206D_200C_206B_202D_200E_200C_202E_200D_202B_206B_202B_202E_202B_202E(count == 0); + try + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(9, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1228098948)); + defaultInterpolatedStringHandler2.AppendFormatted(count); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(424561659)); + num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Upload, defaultInterpolatedStringHandler2.ToStringAndClear(), width)) ? (-1471311443) : (-1471311442)); + while (true) + { + int num15 = num; + num3 = -1471311441; + num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 0: + num = -1471311442; + break; + case 1: + ExportAllPresetsToClipboard(); + num = -1471311443; + break; + case 2: + goto end_IL_03c5; + } + continue; + end_IL_03c5: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? 1517420440 : 1517420441); + while (true) + { + int num18 = num; + num3 = 1517420440; + num4 = num18; + int num19 = num4 + num3; + int num20 = num4 & num3; + switch (num19 - (num20 + num20)) + { + case 0: + goto end_IL_0435; + case 1: + _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E((IDisposable)disabledDisposable); + num = 1517420440; + break; + case 2: + num = 1517420441; + break; + } + continue; + end_IL_0435: + break; + } + } + num = ((count != 0) ? (-1527781092) : (-1527781090)); + while (true) + { + int num21 = num; + num3 = -1527781091; + num4 = num21; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1527781090; + break; + case 3: + num = ((!_200F_206B_200D_202D_206C_206B_200E_202B_206A_206D_200E_200E_206B_200B_200E_200F_206D_202D_206A_206E_200B_206A_206B_202A_200B_206D_206B_206D_200B_206B_200F_202E_202A_200C_206C_206E_200C_206C_202B_202A_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-1527781092) : (-1527781089)); + break; + case 1: + return; + case 2: + _200E_206D_206C_200F_206B_200F_200F_202D_206F_202E_202D_206F_206A_206A_202A_200D_206F_202C_206F_206F_206A_202B_200C_202A_206C_200B_202B_200D_202D_202B_202A_202A_200C_206A_206F_206D_200C_202B_206E_202B_202E((ImU8String)global::_003CModule_003E._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(-794410333)); + num = -1527781092; + break; + } + } } - } - if (_configuration.General.SavedPresets.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."); } } } + [MethodImpl(MethodImplOptions.NoInlining)] private void SaveCurrentPreset() { List list = _questController.ManualPriorityQuests.Select((Quest q) => q.Id).ToList(); string key = GeneratePresetKey(_newPresetName); Configuration.SavedQuestPreset savedQuestPreset = new Configuration.SavedQuestPreset { - Name = _newPresetName.Trim(), - Description = _newPresetDescription.Trim(), + Name = _206D_200B_206C_200B_206C_206C_200C_200E_202C_206B_206C_200B_200D_200E_200F_202E_206B_202B_200F_202E_200C_206F_202C_206A_206D_200C_206E_202E_206F_206B_202D_202D_200F_202C_202A_206D_200C_206F_202B_202D_202E(_newPresetName), + Description = _206D_200B_206C_200B_206C_206C_200C_200E_202C_206B_206C_200B_200D_200E_200F_202E_206B_202B_200F_202E_200C_206F_202C_206A_206D_200C_206E_202E_206F_206B_202D_202D_200F_202C_202A_206D_200C_206F_202B_202D_202E(_newPresetDescription), QuestIds = list, CreatedAt = DateTime.UtcNow }; _configuration.General.SavedPresets[key] = savedQuestPreset; - _pluginInterface.SavePluginConfig(_configuration); - _logger.LogInformation("Saved preset '{PresetName}' with {Count} quests", savedQuestPreset.Name, list.Count); - _chatGui.Print($"Saved preset '{savedQuestPreset.Name}' with {list.Count} quests.", "Questionable", 576); + _200B_202C_202B_202C_202C_202E_206B_200D_202D_202A_200C_202D_206B_202B_206E_202E_206B_202E_200F_202C_206E_206D_202C_206F_206F_200E_206E_200D_200F_200C_202E_206C_206A_206E_202E_206F_202A_200F_202E_206E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + _200D_200E_206B_206D_206F_206C_206E_206D_200D_206F_206E_202D_200E_206F_200B_202D_202E_206A_202C_206C_206B_206D_200C_206F_202D_200E_202C_202E_202D_200C_206F_200B_202E_202A_202D_200D_202D_202D_202A_200E_202E((ILogger)_logger, global::_003CModule_003E._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(-1165273515), new object[2] { savedQuestPreset.Name, list.Count }); + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(29, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(853920579)); + defaultInterpolatedStringHandler.AppendFormatted(savedQuestPreset.Name); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1877319077)); + defaultInterpolatedStringHandler.AppendFormatted(list.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(653722539)); + _206E_202B_206A_200C_206D_202B_206A_200F_206D_200D_202D_206B_202E_200B_202C_206B_206C_200F_200D_200E_206B_206A_202A_200D_200E_202B_202C_206C_206F_206C_206A_200C_200C_206F_202C_200E_202B_200C_202E_202D_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); _newPresetName = string.Empty; _newPresetDescription = string.Empty; _showSaveDialog = false; } + [MethodImpl(MethodImplOptions.NoInlining)] private string GeneratePresetKey(string name) { - string text = "user_" + name.Trim().ToUpperInvariant().Replace(' ', '_'); + string text = _202A_206F_202A_206B_202E_200E_200E_200B_202C_202B_206F_200F_206C_202E_206C_206C_202D_206B_206A_200B_206D_206F_206D_200B_206C_202C_206D_206A_206C_202C_202E_206A_206F_200D_206F_206F_200B_206B_206D_202E(global::_003CModule_003E._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(-566152102), _200B_206C_206C_202D_200E_200C_200D_202D_202D_206C_200B_200F_206D_202D_202C_202B_206D_202C_206D_200E_200F_200E_200E_202C_206B_206C_202E_200B_206C_200C_206F_202B_200D_200F_200C_206E_202A_200E_202D_202B_202E(_202A_200C_202E_206F_206E_202A_202B_202A_202A_206B_206C_206F_206D_202E_200E_206B_206E_206C_200B_206F_202A_206D_206C_206E_206A_206D_200C_202C_202D_202D_206E_206F_206F_200D_202C_206E_202E_206B_206D_206B_202E(_206D_200B_206C_200B_206C_206C_200C_200E_202C_206B_206C_200B_200D_200E_200F_202E_206B_202B_200F_202E_200C_206F_202C_206A_206D_200C_206E_202E_206F_206B_202D_202D_200F_202C_202A_206D_200C_206F_202B_202D_202E(name)), ' ', '_')); string text2 = text; int num = 1; - while (_configuration.General.SavedPresets.ContainsKey(text2)) + int num2 = 741222322; + while (true) { - text2 = $"{text}_{num}"; - num++; + int num3 = num2; + int num4 = 741222320; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + num2 = 741222322; + break; + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 2); + defaultInterpolatedStringHandler.AppendFormatted(text); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1981151499)); + defaultInterpolatedStringHandler.AppendFormatted(num); + text2 = defaultInterpolatedStringHandler.ToStringAndClear(); + int num8 = num; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + num = num9 + (num10 + num10); + num2 = 741222322; + break; + } + case 3: + return text2; + case 2: + num2 = (_configuration.General.SavedPresets.ContainsKey(text2) ? 741222321 : 741222323); + break; + } } - return text2; } + [MethodImpl(MethodImplOptions.NoInlining)] private void ExportPresetToClipboard(Configuration.SavedQuestPreset preset) { - string s = JsonConvert.SerializeObject(new PresetExportData + string text = _206D_206F_200E_202A_200F_200B_200B_202A_202E_206B_206B_206F_200E_202E_206C_206C_200B_202D_202D_206B_206E_206E_200E_200F_202D_206B_206B_206B_200F_206E_202E_200F_200C_206F_206E_206C_206E_200E_200D_200E_202E((object)new PresetExportData { Name = preset.Name, Description = preset.Description, - QuestIds = preset.QuestIds.Select((ElementId x) => x.ToString()).ToList() + QuestIds = preset.QuestIds.Select((ElementId x) => _003C_003Ec._202A_202B_200D_200B_200E_200F_202C_206A_202D_202D_200B_206A_200C_200C_200B_202B_200C_200C_206C_200C_206B_206E_202D_200C_202E_206C_202D_200E_200C_202D_202A_202A_206C_206F_202B_206D_200F_206B_202D_202A_202E((object)x)).ToList() }); - ImGui.SetClipboardText("qst:preset:" + Convert.ToBase64String(Encoding.UTF8.GetBytes(s))); - _chatGui.Print("Exported preset '" + preset.Name + "' to clipboard.", "Questionable", 576); + _200F_200B_200B_200B_206F_200B_202D_202B_200B_206F_202A_200C_206A_206D_206B_202D_202C_202C_206E_206E_200C_200D_206D_202D_202C_200C_200C_206A_202D_206C_200E_202B_200F_202E_202B_200B_200C_206E_206F_206E_202E((ImU8String)_202A_206F_202A_206B_202E_200E_200E_200B_202C_202B_206F_200F_206C_202E_206C_206C_202D_206B_206A_200B_206D_206F_206D_200B_206C_202C_206D_206A_206C_202C_202E_206A_206F_200D_206F_206F_200B_206B_206D_202E(global::_003CModule_003E._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(727121483), _206B_206C_206F_200E_206C_202C_206A_202A_206D_206B_200D_206A_206B_200D_200E_200B_200C_200F_206F_206A_200C_206E_202B_202D_206A_202A_206A_200B_200D_202B_202A_206C_202B_200D_206B_202D_200D_206E_200D_200F_202E(_206E_206F_202B_202B_202E_206D_202A_206B_206D_206A_206C_202C_206F_200C_202D_200E_206B_200F_202D_202E_200D_206E_200B_202D_202A_206A_200C_206D_200B_206E_200E_200D_202B_200B_200D_202A_200C_200B_200B_206C_202E(_206A_202D_200E_206F_206F_202A_200C_202D_202E_202D_200F_206D_206D_202E_206E_206E_202E_206B_206F_200C_206E_200C_206B_202D_200E_206E_206C_206A_202D_202B_206A_206B_202C_206F_202D_206B_206E_200B_200B_202A_202E(), text)))); + _206E_202B_206A_200C_206D_202B_206A_200F_206D_200D_202D_206B_202E_200B_202C_206B_206C_200F_200D_200E_206B_206A_202A_200D_200E_202B_202C_206C_206F_206C_206A_200C_200C_206F_202C_200E_202B_200C_202E_202D_202E(_chatGui, _200C_202D_206B_206A_206D_206E_202E_202C_206F_200D_202B_202A_200B_200B_206A_206F_200F_200B_200B_206A_206D_200B_202A_200B_200F_206C_202A_202D_206B_202E_200B_206F_202D_202B_200F_200B_202A_200F_200D_200D_202E(global::_003CModule_003E._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(-715452806), preset.Name, global::_003CModule_003E._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(-1427828236)), global::_003CModule_003E._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(467221712), (ushort?)(ushort)576); } + [MethodImpl(MethodImplOptions.NoInlining)] private void ExportAllPresetsToClipboard() { List list = _configuration.General.SavedPresets.Values.Select((Configuration.SavedQuestPreset preset) => new PresetExportData { Name = preset.Name, Description = preset.Description, - QuestIds = preset.QuestIds.Select((ElementId x) => x.ToString()).ToList() + QuestIds = preset.QuestIds.Select((ElementId x) => _003C_003Ec._202A_202B_200D_200B_200E_200F_202C_206A_202D_202D_200B_206A_200C_200C_200B_202B_200C_200C_206C_200C_206B_206E_202D_200C_202E_206C_202D_200E_200C_202D_202A_202A_206C_206F_202B_206D_200F_206B_202D_202A_202E((object)x)).ToList() }).ToList(); - string s = JsonConvert.SerializeObject(list); - ImGui.SetClipboardText("qst:presets:" + Convert.ToBase64String(Encoding.UTF8.GetBytes(s))); - _chatGui.Print($"Exported {list.Count} presets to clipboard.", "Questionable", 576); + string text = _206D_206F_200E_202A_200F_200B_200B_202A_202E_206B_206B_206F_200E_202E_206C_206C_200B_202D_202D_206B_206E_206E_200E_200F_202D_206B_206B_206B_200F_206E_202E_200F_200C_206F_206E_206C_206E_200E_200D_200E_202E((object)list); + _200F_200B_200B_200B_206F_200B_202D_202B_200B_206F_202A_200C_206A_206D_206B_202D_202C_202C_206E_206E_200C_200D_206D_202D_202C_200C_200C_206A_202D_206C_200E_202B_200F_202E_202B_200B_200C_206E_206F_206E_202E((ImU8String)_202A_206F_202A_206B_202E_200E_200E_200B_202C_202B_206F_200F_206C_202E_206C_206C_202D_206B_206A_200B_206D_206F_206D_200B_206C_202C_206D_206A_206C_202C_202E_206A_206F_200D_206F_206F_200B_206B_206D_202E(global::_003CModule_003E._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(983055741), _206B_206C_206F_200E_206C_202C_206A_202A_206D_206B_200D_206A_206B_200D_200E_200B_200C_200F_206F_206A_200C_206E_202B_202D_206A_202A_206A_200B_200D_202B_202A_206C_202B_200D_206B_202D_200D_206E_200D_200F_202E(_206E_206F_202B_202B_202E_206D_202A_206B_206D_206A_206C_202C_206F_200C_202D_200E_206B_200F_202D_202E_200D_206E_200B_202D_202A_206A_200C_206D_200B_206E_200E_200D_202B_200B_200D_202A_200C_200B_200B_206C_202E(_206A_202D_200E_206F_206F_202A_200C_202D_202E_202D_200F_206D_206D_202E_206E_206E_202E_206B_206F_200C_206E_200C_206B_202D_200E_206E_206C_206A_202D_202B_206A_206B_202C_206F_202D_206B_206E_200B_200B_202A_202E(), text)))); + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(31, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1339286329)); + defaultInterpolatedStringHandler.AppendFormatted(list.Count); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2092278984)); + _206E_202B_206A_200C_206D_202B_206A_200F_206D_200D_202D_206B_202E_200B_202C_206B_206C_200F_200D_200E_206B_206A_202A_200D_200E_202B_202C_206C_206F_206C_206A_200C_200C_206F_202C_200E_202B_200C_202E_202D_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); } - private static PresetExportData? ParseClipboardPreset() + [MethodImpl(MethodImplOptions.NoInlining)] + private void RefreshClipboardPresets() { - try + string text = ThrottledClipboard.GetText(); + int num = ((!_202A_200B_206A_200E_200C_202A_202D_200D_206F_200F_206C_202B_200D_200F_200F_206C_206B_206B_200E_200F_202B_202D_200F_200C_206A_206A_206C_206C_206D_200F_206B_206A_206F_202E_202C_206A_202C_206C_202A_202D_202E(text, _lastClipboardText)) ? (-668792437) : (-668792440)); + while (true) { - string text = ImGui.GetClipboardText().Trim(); - if (text.StartsWith("qst:preset:", StringComparison.InvariantCulture)) + int num2 = num; + int num3 = -668792439; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - string s = text.Substring("qst:preset:".Length); - return JsonConvert.DeserializeObject(Encoding.UTF8.GetString(Convert.FromBase64String(s))); + case 0: + goto IL_005d; + case 1: + return; + case 2: + _lastClipboardText = text; + _clipboardPreset = null; + _clipboardAllPresets = null; + try + { + num = ((!_202C_202C_206C_200F_200C_200B_206C_206A_200B_206A_202C_202E_206F_206B_206B_206B_202D_206D_200F_202D_202B_206F_206D_202A_200D_206C_206C_200C_200E_206D_200E_200D_200F_206B_200E_206D_206B_200C_202D_200D_202E(text, global::_003CModule_003E._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(727121483), StringComparison.InvariantCulture)) ? (-1023655681) : (-1023655683)); + while (true) + { + int num7 = num; + num3 = -1023655684; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + { + string text3 = _200C_200E_202E_206B_206F_202D_202A_200C_200D_202B_206B_202B_202A_202C_206A_200E_202D_206E_202E_202E_200D_200D_202E_202A_206A_206C_206F_200B_202C_206C_206E_206D_200F_202A_202D_202C_206A_200C_202D_200C_202E(text, _206B_200C_200E_202A_200B_206B_206C_200C_202C_202A_200B_206B_200C_202A_206F_202E_202E_202E_206D_202C_200D_206B_200B_200C_206E_206E_206C_202A_200E_206B_206E_200E_206B_206F_202C_206B_200C_206D_202E_206B_202E(global::_003CModule_003E._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(178700019))); + string value2 = _206F_206C_202A_202C_202B_206A_206D_206F_200D_200E_206E_200C_202D_206D_202D_200C_206B_202E_200F_200C_202B_206C_202C_206C_200C_202A_200F_202A_202E_200C_202B_206D_200C_200E_200E_200F_200E_206B_200D_206B_202E(_206A_202D_200E_206F_206F_202A_200C_202D_202E_202D_200F_206D_206D_202E_206E_206E_202E_206B_206F_200C_206E_200C_206B_202D_200E_206E_206C_206A_202D_202B_206A_206B_202C_206F_202D_206B_206E_200B_200B_202A_202E(), _200D_206F_202E_206C_200D_206E_202D_202E_206C_206F_200E_202C_206A_206E_200F_206C_206B_202B_206F_202D_202E_200F_200E_202D_206A_206D_206D_202C_206D_202E_206A_200F_200D_200F_200F_200B_206B_202A_202A_202B_202E(text3)); + _clipboardAllPresets = JsonConvert.DeserializeObject>(value2); + num = -1023655688; + break; + } + case 1: + { + string text2 = _200C_200E_202E_206B_206F_202D_202A_200C_200D_202B_206B_202B_202A_202C_206A_200E_202D_206E_202E_202E_200D_200D_202E_202A_206A_206C_206F_200B_202C_206C_206E_206D_200F_202A_202D_202C_206A_200C_202D_200C_202E(text, _206B_200C_200E_202A_200B_206B_206C_200C_202C_202A_200B_206B_200C_202A_206F_202E_202E_202E_206D_202C_200D_206B_200B_200C_206E_206E_206C_202A_200E_206B_206E_200E_206B_206F_202C_206B_200C_206D_202E_206B_202E(global::_003CModule_003E._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(134016319))); + string value = _206F_206C_202A_202C_202B_206A_206D_206F_200D_200E_206E_200C_202D_206D_202D_200C_206B_202E_200F_200C_202B_206C_202C_206C_200C_202A_200F_202A_202E_200C_202B_206D_200C_200E_200E_200F_200E_206B_200D_206B_202E(_206A_202D_200E_206F_206F_202A_200C_202D_202E_202D_200F_206D_206D_202E_206E_206E_202E_206B_206F_200C_206E_200C_206B_202D_200E_206E_206C_206A_202D_202B_206A_206B_202C_206F_202D_206B_206E_200B_200B_202A_202E(), _200D_206F_202E_206C_200D_206E_202D_202E_206C_206F_200E_202C_206A_206E_200F_206C_206B_202B_206F_202D_202E_200F_200E_202D_206A_206D_206D_202C_206D_202E_206A_200F_200D_200F_200F_200B_206B_202A_202A_202B_202E(text2)); + _clipboardPreset = JsonConvert.DeserializeObject(value); + num = -1023655688; + break; + } + case 3: + num = ((!_202C_202C_206C_200F_200C_200B_206C_206A_200B_206A_202C_202E_206F_206B_206B_206B_202D_206D_200F_202D_202B_206F_206D_202A_200D_206C_206C_200C_200E_206D_200E_200D_200F_206B_200E_206D_206B_200C_202D_200D_202E(text, global::_003CModule_003E._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(983055741), StringComparison.InvariantCulture)) ? (-1023655688) : (-1023655682)); + break; + case 0: + num = -1023655683; + break; + case 4: + return; + } + } + } + catch (Exception ex) + { + _202C_206D_206A_206B_202E_202D_200D_202A_200C_206A_206D_202E_206A_200F_206E_206D_206C_202E_206F_206D_202A_206C_206A_202B_206D_206C_206A_200E_200C_200B_202D_202A_206F_206D_202E_202B_200C_202D_206E_202E((ILogger)_logger, ex, global::_003CModule_003E._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(1318302015), Array.Empty()); + return; + } } + continue; + IL_005d: + num = -668792440; } - catch (Exception) - { - } - 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) => _003C_003Ec__DisplayClass36_0._206B_206C_206C_200E_202A_206E_206F_200B_202B_206B_202A_206A_202C_200B_202C_206A_206D_202D_200D_206B_206B_200F_206B_200B_202A_206D_200D_206E_202A_202B_202C_202C_202A_206B_206C_200D_200E_206A_202C_200F_202E(p.Name, name, StringComparison.OrdinalIgnoreCase)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] 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); + int num = ((!PresetNameExists(exportData.Name)) ? (-1023174906) : (-1023174912)); + string text = default(string); + int num7 = default(int); + List list = default(List); + while (true) + { + int num2 = num; + int num3 = -1023174907; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + { + string text2 = text; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(28, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1280529042)); + defaultInterpolatedStringHandler.AppendFormatted(num7); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(211837278)); + text = _202A_206F_202A_206B_202E_200E_200E_200B_202C_202B_206F_200F_206C_202E_206C_206C_202D_206B_206A_200B_206D_206F_206D_200B_206C_202C_206D_206A_206C_202C_202E_206A_206F_200D_206F_206F_200B_206B_206D_202E(text2, defaultInterpolatedStringHandler.ToStringAndClear()); + num = -1023174905; + break; + } + case 1: + _200F_206C_206F_202C_202B_206A_202A_202D_202D_202D_206F_206F_202C_206A_200F_202B_200D_202D_206B_202D_206E_202C_200E_206B_202D_202C_206F_206B_200C_206C_206E_200E_200B_200F_202C_206F_200F_200C_202E_200D_202E(_chatGui, _200C_202D_206B_206A_206D_206E_202E_202C_206F_200D_202B_202A_200B_200B_206A_206F_200F_200B_200B_206A_206D_200B_202A_200B_200F_206C_202A_202D_206B_202E_200B_206F_202D_202B_200F_200B_202A_200F_200D_200D_202E(global::_003CModule_003E._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(-2037075648), exportData.Name, global::_003CModule_003E._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(1952589738)), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + return; + case 6: + { + 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; + _200B_202C_202B_202C_202C_202E_206B_200D_202D_202A_200C_202D_206B_202B_206E_202E_206B_202E_200F_202C_206E_206D_202C_206F_206F_200E_206E_200D_200F_200C_202E_206C_206A_206E_202E_206F_202A_200F_202E_206E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + _200D_200E_206B_206D_206F_206C_206E_206D_200D_206F_206E_202D_200E_206F_200B_202D_202E_206A_202C_206C_206B_206D_200C_206F_202D_200E_202C_202E_202D_200C_206F_200B_202E_202A_202D_200D_202D_202D_202A_200E_202E((ILogger)_logger, global::_003CModule_003E._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(-996412733), new object[3] { savedQuestPreset.Name, list.Count, num7 }); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(32, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1859562005)); + defaultInterpolatedStringHandler2.AppendFormatted(savedQuestPreset.Name); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1654360891)); + defaultInterpolatedStringHandler2.AppendFormatted(list.Count); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(175123664)); + text = defaultInterpolatedStringHandler2.ToStringAndClear(); + num = ((num7 <= 0) ? (-1023174905) : (-1023174911)); + break; + } + case 5: + _206E_202B_206A_200C_206D_202B_206A_200F_206D_200D_202D_206B_202E_200B_202C_206B_206C_200F_200D_200E_206B_206A_202A_200D_200E_202B_202C_206C_206F_206C_206A_200C_200C_206F_202C_200E_202B_200C_202E_202D_202E(_chatGui, _200C_202D_206B_206A_206D_206E_202E_202C_206F_200D_202B_202A_200B_200B_206A_206F_200F_200B_200B_206A_206D_200B_202A_200B_200F_206C_202A_202D_206B_202E_200B_206F_202D_202B_200F_200B_202A_200F_200D_200D_202E(global::_003CModule_003E._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(-2037075648), exportData.Name, global::_003CModule_003E._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(1595896961)), global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + return; + case 3: + list = _202E_206D_202A_200D_200B_206F_206B_206B_200D_202C_200E_206C_206C_206A_206B_202A_206A_202C_206A_202A_202D_202E_206F_202A_200D_206A_202A_202D_206E_202A_200E_200F_202B_202A_200B_206F_200E_206C_206C_200C_202E((IEnumerable)exportData.QuestIds, ref num7); + num = ((list.Count != 0) ? (-1023174909) : (-1023174908)); + break; + case 0: + num = -1023174912; + break; + case 2: + _206E_202B_206A_200C_206D_202B_206A_200F_206D_200D_202D_206B_202E_200B_202C_206B_206C_200F_200D_200E_206B_206A_202A_200D_200E_202B_202C_206C_206F_206C_206A_200C_200C_206F_202C_200E_202B_200C_202E_202D_202E(_chatGui, text, global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + return; + } + } + } + catch (Exception ex) + { + _202B_200B_202A_200F_206C_200B_206F_206E_202E_202B_206D_202E_202A_200D_202A_200D_206C_206B_200F_200B_206D_200D_200E_202D_202B_206E_200C_202E_202D_206F_206F_202E_202E_202E_206E_202A_200B_206C_202A_206B_202E((ILogger)_logger, ex, global::_003CModule_003E._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(26305319), Array.Empty()); + _200F_206C_206F_202C_202B_206A_202A_202D_202D_202D_206F_206F_202C_206A_200F_202B_200D_202D_206B_202D_206E_202C_200E_206B_202D_202C_206F_206B_200C_206C_206E_200E_200B_200F_202C_206F_200F_200C_202E_200D_202E(_chatGui, _202A_206F_202A_206B_202E_200E_200E_200B_202C_202B_206F_200F_206C_202E_206C_206C_202D_206B_206A_200B_206D_206F_206D_200B_206C_202C_206D_206A_206C_202C_202E_206A_206F_200D_206F_206F_200B_206B_206D_202E(global::_003CModule_003E._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(-2044904257), _202C_200C_206E_202B_206E_200B_206E_200C_202A_206C_206C_202C_202A_206A_202C_206A_206E_200F_202A_200E_200C_200F_206F_206B_200F_200D_206F_206D_206F_206E_200B_202D_206E_206C_202B_206A_206E_200F_202D_206B_202E(ex)), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); + } } + [MethodImpl(MethodImplOptions.NoInlining)] 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(_202E_206C_202C_202C_206B_202E_200E_206C_202C_202A_200E_206C_200E_206C_206D_202A_200F_206F_202C_202A_200D_200E_206B_200F_200F_202A_202D_206A_200D_206D_206F_200E_200C_202A_206C_200E_200E_202C_200E_200E_202E()); + int num4; + using (List.Enumerator enumerator = allExportData.GetEnumerator()) { - Name = allExportDatum.Name, - Description = allExportDatum.Description, - QuestIds = questIds, - CreatedAt = DateTime.UtcNow - }; - _configuration.General.SavedPresets[key] = value; - num++; + num4 = -483703780; + PresetExportData current = default(PresetExportData); + List list = default(List); + int num14 = default(int); + while (true) + { + int num5 = num4; + int num6 = -483703777; + int num7 = num5; + switch ((num7 | num6) - (num7 & num6)) + { + case 2: + { + int num18 = num2; + num6 = 1; + num7 = num18; + int num19 = num7 ^ num6; + int num20 = num7 & num6; + num2 = num19 + (num20 + num20); + num4 = -483703780; + break; + } + case 6: + current = enumerator.Current; + num4 = ((!hashSet.Contains(current.Name)) ? (-483703784) : (-483703781)); + break; + case 0: + num4 = -483703780; + break; + case 3: + num4 = (enumerator.MoveNext() ? (-483703783) : (-483703782)); + break; + case 7: + { + list = _202E_206D_202A_200D_200B_206F_206B_206B_200D_202C_200E_206C_206C_206A_206B_202A_206A_202C_206A_202A_202D_202E_206F_202A_200D_206A_202A_202D_206E_202A_200E_200F_202B_202A_200B_206F_200E_206C_206C_200C_202E((IEnumerable)current.QuestIds, ref num14); + int num15 = num3; + num6 = num14; + num7 = num15; + int num16 = num7 ^ num6; + int num17 = num7 & num6; + num3 = num16 + (num17 + num17); + num4 = ((list.Count != 0) ? (-483703778) : (-483703779)); + break; + } + case 1: + { + string key = GeneratePresetKey(current.Name); + Configuration.SavedQuestPreset value = new Configuration.SavedQuestPreset + { + Name = current.Name, + Description = current.Description, + QuestIds = list, + CreatedAt = DateTime.UtcNow + }; + _configuration.General.SavedPresets[key] = value; + int num11 = num; + num6 = 1; + num7 = num11; + int num12 = num7 ^ num6; + int num13 = num7 & num6; + num = num12 + (num13 + num13); + num4 = -483703780; + break; + } + case 4: + { + int num8 = num2; + num6 = 1; + num7 = num8; + int num9 = num7 ^ num6; + int num10 = num7 & num6; + num2 = num9 + (num10 + num10); + num4 = -483703780; + break; + } + case 5: + goto end_IL_0061; + } + continue; + end_IL_0061: + break; + } + } + num4 = ((num <= 0) ? 17213942 : 17213937); + string text = default(string); + while (true) + { + int num21 = num4; + int num6 = 17213936; + int num7 = num21; + switch ((num7 | num6) - (num7 & num6)) + { + case 4: + { + string text3 = text; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(28, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(1996293041)); + defaultInterpolatedStringHandler3.AppendFormatted(num3); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-1558859610)); + text = _202A_206F_202A_206B_202E_200E_200E_200B_202C_202B_206F_200F_206C_202E_206C_206C_202D_206B_206A_200B_206D_206F_206D_200B_206C_202C_206D_206A_206C_202C_202E_206A_206F_200D_206F_206F_200B_206B_206D_202E(text3, defaultInterpolatedStringHandler3.ToStringAndClear()); + num4 = 17213938; + break; + } + case 1: + _200B_202C_202B_202C_202C_202E_206B_200D_202D_202A_200C_202D_206B_202B_206E_202E_206B_202E_200F_202C_206E_206D_202C_206F_206F_200E_206E_200D_200F_200C_202E_206C_206A_206E_202E_206F_202A_200F_202E_206E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num4 = 17213942; + break; + case 5: + num4 = 17213937; + break; + case 0: + { + string text2 = text; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(35, 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(894685187)); + defaultInterpolatedStringHandler2.AppendFormatted(num2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(706771647)); + text = _202A_206F_202A_206B_202E_200E_200E_200B_202C_202B_206F_200F_206C_202E_206C_206C_202D_206B_206A_200B_206D_206F_206D_200B_206C_202C_206D_206A_206C_202C_202E_206A_206F_200D_206F_206F_200B_206B_206D_202E(text2, defaultInterpolatedStringHandler2.ToStringAndClear()); + num4 = 17213939; + break; + } + case 3: + num4 = ((num3 <= 0) ? 17213938 : 17213940); + break; + case 6: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(33, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-629934414)); + defaultInterpolatedStringHandler.AppendFormatted(num); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-433566038)); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + num4 = ((num2 <= 0) ? 17213939 : 17213936); + break; + } + case 2: + _200D_200E_206B_206D_206F_206C_206E_206D_200D_206F_206E_202D_200E_206F_200B_202D_202E_206A_202C_206C_206B_206D_200C_206F_202D_200E_202C_202E_202D_200C_206F_200B_202E_202A_202D_200D_202D_202D_202A_200E_202E((ILogger)_logger, global::_003CModule_003E._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(473602606), new object[3] { num, num2, num3 }); + _206E_202B_206A_200C_206D_202B_206A_200F_206D_200D_202D_206B_202E_200B_202C_206B_206C_200F_200D_200E_206B_206A_202A_200D_200E_202B_202C_206C_206F_206C_206A_200C_200C_206F_202C_200E_202B_200C_202E_202D_202E(_chatGui, text, global::_003CModule_003E._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(85756196), (ushort?)(ushort)576); + return; + } + } + } + catch (Exception ex) + { + _202B_200B_202A_200F_206C_200B_206F_206E_202E_202B_206D_202E_202A_200D_202A_200D_206C_206B_200F_200B_206D_200D_200E_202D_202B_206E_200C_202E_202D_206F_206F_202E_202E_202E_206E_202A_200B_206C_202A_206B_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-608308180), Array.Empty()); + _200F_206C_206F_202C_202B_206A_202A_202D_202D_202D_206F_206F_202C_206A_200F_202B_200D_202D_206B_202D_206E_202C_200E_206B_202D_202C_206F_206B_200C_206C_206E_200E_200B_200F_202C_206F_200F_200C_202E_200D_202E(_chatGui, _202A_206F_202A_206B_202E_200E_200E_200B_202C_202B_206F_200F_206C_202E_206C_206C_202D_206B_206A_200B_206D_206F_206D_200B_206C_202C_206D_206A_206C_202C_202E_206A_206F_200D_206F_206F_200B_206B_206D_202E(global::_003CModule_003E._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(-1675603926), _202C_200C_206E_202B_206E_200B_206E_200C_202A_206C_206C_202C_202A_206A_202C_206A_206E_200F_202A_200E_200C_200F_206F_206B_200F_200D_206F_206D_206F_206E_200B_202D_206E_206C_202B_206A_206E_200F_202D_206B_202E(ex)), global::_003CModule_003E._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(1231541163), (ushort?)(ushort)576); } - _pluginInterface.SavePluginConfig(_configuration); - _logger.LogInformation("Imported {Count} presets from clipboard", num); - _chatGui.Print($"Imported {num} presets from clipboard.", "Questionable", 576); } + [MethodImpl(MethodImplOptions.NoInlining)] private void AddPresetToPriority(List questIds) { int num = 0; - foreach (ElementId questId in questIds) + int num2; + using (List.Enumerator enumerator = questIds.GetEnumerator()) { - if (_questController.AddQuestPriority(questId)) + num2 = 953789510; + while (true) { - num++; + int num3 = num2; + int num4 = 953789511; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 4: + num2 = 953789510; + break; + case 3: + { + ElementId current = enumerator.Current; + num2 = ((!_questController.AddQuestPriority(current)) ? 953789510 : 953789511); + break; + } + case 1: + num2 = (enumerator.MoveNext() ? 953789508 : 953789509); + break; + case 0: + { + int num8 = num; + num4 = 1; + num5 = num8; + int num9 = num5 ^ num4; + int num10 = num5 & num4; + num = num9 + (num10 + num10); + num2 = 953789510; + break; + } + case 2: + goto end_IL_0015; + } + continue; + end_IL_0015: + break; } } - if (num > 0) + num2 = ((num <= 0) ? 899476450 : 899476449); + while (true) { - _chatGui.Print($"Added {num} quests to priority queue.", "Questionable", 576); - } - _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) + int num11 = num2; + int num4 = 899476448; + int num5 = num11; + switch ((num5 | num4) - (num5 & num4)) { - _questController.ManualPriorityQuests.Remove(quest); - num++; + case 0: + num2 = 899476449; + break; + case 2: + _200D_200E_206B_206D_206F_206C_206E_206D_200D_206F_206E_202D_200E_206F_200B_202D_202E_206A_202C_206C_206B_206D_200C_206F_202D_200E_202C_202E_202D_200C_206F_200B_202E_202A_202D_200D_202D_202D_202A_200E_202E((ILogger)_logger, global::_003CModule_003E._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(-1367806069), new object[1] { num }); + return; + case 1: + { + IChatGui chatGui = _chatGui; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(32, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(901909596)); + defaultInterpolatedStringHandler.AppendFormatted(num); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1925546250)); + _206E_202B_206A_200C_206D_202B_206A_200F_206D_200D_202D_206B_202E_200B_202C_206B_206C_200F_200D_200E_206B_206A_202A_200D_200E_202B_202C_206C_206F_206C_206A_200C_200C_206F_202C_200E_202B_200C_202E_202D_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), global::_003CModule_003E._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(-1179749275), (ushort?)(ushort)576); + num2 = 899476450; + break; + } } } - 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 - where _questFunctions.IsReadyToAcceptQuest(questId) || _questFunctions.IsQuestAccepted(questId) - where !_questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(questId)) + return (from questId in questIds.Where(delegate(ElementId questId) + { + int num = (_questFunctions.IsReadyToAcceptQuest(questId) ? (-308827748) : (-308827745)); + while (true) + { + int num2 = num; + int num3 = -308827746; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return true; + case 1: + return _questFunctions.IsQuestAccepted(questId); + case 0: + goto IL_005c; + } + continue; + IL_005c: + num = -308827745; + } + }) + where !_questController.ManualPriorityQuests.Any((Quest q) => _003C_003Ec__DisplayClass41_0._202E_202B_206D_202D_206C_202E_206F_200B_202B_202C_206A_200C_200D_200E_202C_200D_202C_200E_200F_200C_206C_206A_200C_206A_206D_206D_202A_202A_200D_200E_202B_200F_202C_202C_202E_200F_200E_206D_206A_200E_202E(q.Id, questId)) where _questRegistry.IsKnownQuest(questId) 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 - where _questController.ManualPriorityQuests.Any((Quest q) => q.Id.Equals(questId)) + where _questController.ManualPriorityQuests.Any((Quest q) => _003C_003Ec__DisplayClass42_0._206E_206A_206B_206F_202C_200F_206A_202B_202D_200C_200B_206E_202D_202D_206D_200D_200F_200C_206E_202D_206B_200B_206C_206F_200B_206F_202A_202E_202C_202B_202A_202C_206F_200F_202D_206E_202D_202C_202E_200C_202E(q.Id, questId)) where !_questFunctions.IsQuestComplete(questId) select questId).ToList(); } - private List GetUnknownQuests(List questIds) + static Vector2 _206D_206E_206E_202C_206F_200C_202C_202C_200B_200B_200B_200D_206B_206F_200C_202D_202D_200B_200C_202A_206B_206B_206A_200B_206E_206F_202E_206A_200C_202B_206E_206C_206A_200F_206F_202D_200B_202B_206F_202E() { - IQuestInfo questInfo; - return questIds.Where((ElementId questId) => !_questData.TryGetQuestInfo(questId, out questInfo)).ToList(); + return ImGui.GetContentRegionAvail(); + } + + static ImGuiStylePtr _200F_202E_202B_202C_206B_206C_200B_202E_202C_200C_206D_206C_206D_206B_200B_200C_206F_206B_200E_200B_202C_202C_200E_202B_206A_202E_200B_200E_202A_202C_206D_206D_202D_202D_202D_206E_200E_202C_206B_202D_202E() + { + return ImGui.GetStyle(); + } + + static void _206D_200E_200C_200D_200D_206D_206A_200F_206E_206A_206B_206B_200F_202A_200B_206D_202C_206C_202E_206F_206B_202B_200E_200B_200D_206E_200C_200F_206C_202B_206C_200C_202D_200C_200B_206E_202D_206A_206B_206B_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static bool _206A_202B_206E_200F_206F_206F_202E_202D_200F_200E_200C_202B_206A_206D_206A_206F_202B_206D_200E_206B_202E_202D_202B_200C_206D_202D_202E_200C_200C_202D_206E_202C_202D_202C_206B_206F_206D_206D_202D_200E_202E(ImU8String P_0, ImU8String P_1, ref string P_2, int P_3, ImGuiInputTextFlags P_4, ImGui.ImGuiInputTextCallbackDelegate P_5) + { + return ImGui.InputTextWithHint(P_0, P_1, ref P_2, P_3, P_4, P_5); + } + + static bool _206E_206E_200F_200F_200C_206C_200D_206B_200C_200D_200D_202A_206A_206A_206D_206B_200C_200E_206E_200C_200B_200B_206E_206B_206D_200E_200E_206B_200D_206F_200F_206E_200C_202B_206F_202D_200D_206C_206D_202A_202E(string P_0) + { + return string.IsNullOrWhiteSpace(P_0); + } + + static ImRaii.DisabledDisposable _202B_206D_202A_200D_206A_206D_202B_200C_206E_206B_206D_200D_202D_206B_200E_206C_206A_200C_200C_202B_206D_206C_202E_200C_200F_200D_200E_206D_200C_206B_202D_200E_200C_202E_200D_202B_206B_202B_202E_202B_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static void _206A_200B_206A_206D_202E_206C_200D_206E_200D_202D_206A_200B_200C_206F_200C_202C_206E_206A_200B_200B_202E_200C_200E_202D_200E_202C_202E_202A_206E_206B_206C_200D_206C_206C_200E_200B_200B_202C_202C_200F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _206C_206E_206C_200F_202C_202E_200F_202A_200D_200B_202A_206E_200E_206D_202C_200E_202A_200F_200B_200E_202A_206D_200D_202E_206B_202C_206E_206E_202B_200E_206B_202B_202B_202D_200E_206B_202A_200B_200C_202E() + { + ImGui.SameLine(); + } + + static bool _200F_206B_200D_202D_206C_206B_200E_202B_206A_206D_200E_200E_206B_200B_200E_200F_206D_202D_206A_206E_200B_206A_206B_202A_200B_206D_206B_206D_200B_206B_200F_202E_202A_200C_206C_206E_200C_206C_202B_202A_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static void _200E_206D_206C_200F_206B_200F_200F_202D_206F_202E_202D_206F_206A_206A_202A_200D_206F_202C_206F_206F_206A_202B_200C_202A_206C_200B_202B_200D_202D_202B_202A_202A_200C_206A_206F_206D_200C_202B_206E_202B_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static ImRaii.ColorDisposable _206D_202B_200B_200E_206C_200B_206C_202E_200E_200E_200F_206F_200B_200E_200C_200B_206E_206A_206D_200F_206F_200F_206E_200F_202E_202E_200B_200E_202C_206E_200C_206A_206B_206B_202A_206F_202E_200D_202C_206B_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static Vector2 _206D_206F_206E_206F_202D_200B_206D_206D_202B_206E_202B_206A_200F_200F_202D_200D_200D_206D_200C_206E_202C_206C_206D_202D_202A_200C_206F_200B_200C_202E_206C_202D_206A_202E_206F_200E_206A_206E_202C_202E_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static float _202D_206E_200D_202B_206E_206F_202C_202B_200C_202E_200F_202C_206D_202E_206D_202D_206F_200B_206A_206B_202B_206E_200D_206C_200D_206C_200E_202A_200D_206B_206A_206C_202D_206F_206F_200E_206D_202D_202D_206A_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _202D_200B_206C_202C_202D_206D_202E_200E_200F_206B_202E_206B_202D_206D_206B_200C_200D_202C_200B_206D_206A_206B_202D_202C_202C_206D_200B_200E_202C_206B_200C_202C_202D_200E_206D_202C_206E_200F_200D_202A_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static void _202A_200B_202B_200B_206D_206A_202A_206A_206F_200C_206E_200E_206A_200F_202B_206E_202B_202C_202A_202C_202B_202A_202C_200C_200F_206E_200F_202C_206F_206B_206F_202D_202E_206F_202B_200E_206A_206B_206A_202E_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _202C_206A_202E_206B_206B_206C_202B_206A_200E_206B_202D_200E_200C_206B_206E_206F_200F_206F_202D_206C_206A_206A_206A_202E_200B_202B_202E_206E_202A_200F_202E_206D_202A_206D_200D_200F_206A_206A_202A_202E() + { + ImGui.Spacing(); + } + + static bool _206E_202E_202A_202A_200F_206D_202C_206D_206C_202C_200D_200C_200C_202E_200B_200C_206F_200F_206A_206F_200C_206E_200D_200C_202C_202A_202E_202B_200C_202C_200C_200F_206F_202B_200E_206C_206A_206C_206A_202C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200B_202C_202B_202C_202C_202E_206B_200D_202D_202A_200C_202D_206B_202B_206E_202E_206B_202E_200F_202C_206E_206D_202C_206F_206F_200E_206E_200D_200F_200C_202E_206C_206A_206E_202E_206F_202A_200F_202E_206E_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); + } + + static void _200D_200E_206B_206D_206F_206C_206E_206D_200D_206F_206E_202D_200E_206F_200B_202D_202E_206A_202C_206C_206B_206D_200C_206F_202D_200E_202C_202E_202D_200C_206F_200B_202E_202A_202D_200D_202D_202D_202A_200E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static ImRaii.IdDisposable _202D_206A_200B_200F_206F_206B_206D_206F_202E_206C_206F_200B_206C_200C_202B_200C_202E_206D_202C_202C_202C_202D_206F_206C_206B_202B_206D_200C_200F_206A_206E_202E_206E_206F_206B_206D_206A_206D_202B_202A_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static bool _202A_200B_206A_200E_200C_202A_202D_200D_206F_200F_206C_202B_200D_200F_200F_206C_206B_206B_200E_200F_202B_202D_200F_200C_206A_206A_206C_206C_206D_200F_206B_206A_206F_202E_202C_206A_202C_206C_202A_202D_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static float _206E_206C_206A_206B_200C_200B_202E_200C_206D_200E_202C_202C_200C_200F_206E_202A_200F_200B_202D_200E_200E_202C_206D_202E_200B_200E_202E_200E_206A_206A_200E_200B_206D_200D_202A_202C_200E_202E_202C_202E_202E() + { + return ImGui.GetFrameHeight(); + } + + static Vector2 _206E_200F_206D_202E_202D_206F_206F_206B_202E_202E_206E_202B_206E_202B_206D_206F_206C_202B_202D_202C_200E_202B_200D_206B_202E_202B_202E_206F_200F_206E_202D_206B_202B_206C_206E_206F_200E_200C_206B_200C_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static bool _202C_202A_202B_202A_206C_206C_200E_206B_206A_202C_200D_206F_202B_206D_206C_206D_200D_202A_200B_206F_200B_202A_202C_200C_202A_202D_202D_200B_206B_202C_206E_206B_206C_202C_202C_206C_200E_206C_200F_200C_202E(ImU8String P_0, Vector2 P_1) + { + return ImGui.Button(P_0, P_1); + } + + static ImDrawListPtr _200D_206C_200D_206E_202B_200B_202E_200B_206F_200C_202E_202C_200B_206F_206F_202B_200B_202C_200C_206B_200F_200C_200C_200D_202C_200F_202E_202B_206D_206B_206C_206D_202A_200C_202C_206C_202D_202D_200B_206B_202E() + { + return ImGui.GetWindowDrawList(); + } + + static string _206B_206B_206C_206F_200F_206B_200F_206A_206D_202B_206F_202C_202B_200F_206B_202B_206D_206F_206C_206D_206D_202C_206D_200F_206C_200E_206D_202C_202A_200E_202B_200D_206D_202A_206A_200E_202E_206F_202D_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static ImFontPtr _200C_200E_202D_202E_206D_202A_206B_200E_200C_206E_206F_202E_202B_202E_202A_202A_202A_202C_200E_206C_202C_200B_200B_202B_200C_202B_202C_200F_202D_206C_200C_206D_206A_200D_206D_206A_206F_200C_200C_206D_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _206D_206A_200B_202D_206A_202E_200C_206B_202C_206D_206B_206F_206A_206B_206B_206D_206D_200D_200D_206E_202A_206A_202C_200B_202D_206F_202C_200B_200E_202A_202D_200B_200D_202B_200F_206E_206A_202C_202B_202E_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static float _202B_202A_206C_202B_206A_200B_206C_206F_202B_202D_202D_202D_206E_206B_200B_200B_202A_202E_206D_202D_200D_200E_206E_202D_206C_206C_200F_200B_202B_200F_202E_202D_206B_202D_200D_202D_206D_206D_206A_200F_202E() + { + return ImGui.GetTextLineHeight(); + } + + static uint _202D_200D_206D_202A_202B_206D_200B_202A_206A_200E_206F_206B_200D_202C_202C_200D_200D_200B_206E_206F_202A_206A_206B_200F_202C_206C_206D_200F_200F_206E_202C_202C_200C_202C_200B_202C_206D_206E_206D_202E_202E(ImGuiCol P_0) + { + return ImGui.GetColorU32(P_0); + } + + static float _206B_206E_200C_200E_206C_202E_200C_202B_202D_200B_202C_202E_200E_206A_202E_202E_202A_206F_206D_206F_206E_206A_200E_206C_200F_202D_200F_206D_206C_200C_206C_206D_206C_202B_200D_200B_200C_200D_206B_206F_202E() + { + return ImGui.GetFontSize(); + } + + static uint _206E_206F_202C_206D_200E_202A_206B_202D_206C_200B_202E_206B_200D_200F_202A_200F_200C_206B_206C_200C_202D_206E_200E_202C_206C_200E_202D_206C_206D_202D_206E_202C_206E_206F_202D_202C_202D_202D_200D_206B_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static string _206D_200B_206C_200B_206C_206C_200C_200E_202C_206B_206C_200B_200D_200E_200F_202E_206B_202B_200F_202E_200C_206F_202C_206A_206D_200C_206E_202E_206F_206B_202D_202D_200F_202C_202A_206D_200C_206F_202B_202D_202E(string P_0) + { + return P_0.Trim(); + } + + static bool _206B_206A_206C_206A_206E_202A_202A_200C_200E_200C_202E_202C_202D_200E_206A_200F_206E_202D_206B_202B_206B_202D_206E_206C_206F_206F_206C_202B_200B_202B_206A_202D_206E_202B_202C_200C_206A_200E_200B_202D_202E() + { + return ImGui.IsItemHovered(); + } + + static string _202E_206C_200E_206D_206B_206E_206D_202C_206A_200F_200D_202C_202C_206B_202A_200F_202B_202D_200D_200C_202A_206F_202B_200E_206D_206D_202A_202C_206B_202C_202D_202E_202A_200E_206D_202D_200D_202E_202A_200F_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _206E_200D_200B_206C_202B_206D_206B_200D_206A_200C_200D_206C_206B_200B_206D_200E_202D_202C_202E_200B_200C_206D_200C_200B_202D_206C_200E_200B_200B_200F_202C_202A_206C_200F_206C_200F_202A_206D_206C_206E_202E(ImGuiKey P_0) + { + return ImGui.IsKeyDown(P_0); + } + + static void _206E_202B_206A_200C_206D_202B_206A_200F_206D_200D_202D_206B_202E_200B_202C_206B_206C_200F_200D_200E_206B_206A_202A_200D_200E_202B_202C_206C_206F_206C_206A_200C_200C_206F_202C_200E_202B_200C_202E_202D_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static string _202A_200C_202E_206F_206E_202A_202B_202A_202A_206B_206C_206F_206D_202E_200E_206B_206E_206C_200B_206F_202A_206D_206C_206E_206A_206D_200C_202C_202D_202D_206E_206F_206F_200D_202C_206E_202E_206B_206D_206B_202E(string P_0) + { + return P_0.ToUpperInvariant(); + } + + static string _200B_206C_206C_202D_200E_200C_200D_202D_202D_206C_200B_200F_206D_202D_202C_202B_206D_202C_206D_200E_200F_200E_200E_202C_206B_206C_202E_200B_206C_200C_206F_202B_200D_200F_200C_206E_202A_200E_202D_202B_202E(string P_0, char P_1, char P_2) + { + return P_0.Replace(P_1, P_2); + } + + static string _202A_206F_202A_206B_202E_200E_200E_200B_202C_202B_206F_200F_206C_202E_206C_206C_202D_206B_206A_200B_206D_206F_206D_200B_206C_202C_206D_206A_206C_202C_202E_206A_206F_200D_206F_206F_200B_206B_206D_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static string _206D_206F_200E_202A_200F_200B_200B_202A_202E_206B_206B_206F_200E_202E_206C_206C_200B_202D_202D_206B_206E_206E_200E_200F_202D_206B_206B_206B_200F_206E_202E_200F_200C_206F_206E_206C_206E_200E_200D_200E_202E(object P_0) + { + return JsonConvert.SerializeObject(P_0); + } + + static Encoding _206A_202D_200E_206F_206F_202A_200C_202D_202E_202D_200F_206D_206D_202E_206E_206E_202E_206B_206F_200C_206E_200C_206B_202D_200E_206E_206C_206A_202D_202B_206A_206B_202C_206F_202D_206B_206E_200B_200B_202A_202E() + { + return Encoding.UTF8; + } + + static byte[] _206E_206F_202B_202B_202E_206D_202A_206B_206D_206A_206C_202C_206F_200C_202D_200E_206B_200F_202D_202E_200D_206E_200B_202D_202A_206A_200C_206D_200B_206E_200E_200D_202B_200B_200D_202A_200C_200B_200B_206C_202E(Encoding P_0, string P_1) + { + return P_0.GetBytes(P_1); + } + + static string _206B_206C_206F_200E_206C_202C_206A_202A_206D_206B_200D_206A_206B_200D_200E_200B_200C_200F_206F_206A_200C_206E_202B_202D_206A_202A_206A_200B_200D_202B_202A_206C_202B_200D_206B_202D_200D_206E_200D_200F_202E(byte[] P_0) + { + return Convert.ToBase64String(P_0); + } + + static void _200F_200B_200B_200B_206F_200B_202D_202B_200B_206F_202A_200C_206A_206D_206B_202D_202C_202C_206E_206E_200C_200D_206D_202D_202C_200C_200C_206A_202D_206C_200E_202B_200F_202E_202B_200B_200C_206E_206F_206E_202E(ImU8String P_0) + { + ImGui.SetClipboardText(P_0); + } + + static string _200C_202D_206B_206A_206D_206E_202E_202C_206F_200D_202B_202A_200B_200B_206A_206F_200F_200B_200B_206A_206D_200B_202A_200B_200F_206C_202A_202D_206B_202E_200B_206F_202D_202B_200F_200B_202A_200F_200D_200D_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static bool _202C_202C_206C_200F_200C_200B_206C_206A_200B_206A_202C_202E_206F_206B_206B_206B_202D_206D_200F_202D_202B_206F_206D_202A_200D_206C_206C_200C_200E_206D_200E_200D_200F_206B_200E_206D_206B_200C_202D_200D_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.StartsWith(P_1, P_2); + } + + static int _206B_200C_200E_202A_200B_206B_206C_200C_202C_202A_200B_206B_200C_202A_206F_202E_202E_202E_206D_202C_200D_206B_200B_200C_206E_206E_206C_202A_200E_206B_206E_200E_206B_206F_202C_206B_200C_206D_202E_206B_202E(string P_0) + { + return P_0.Length; + } + + static string _200C_200E_202E_206B_206F_202D_202A_200C_200D_202B_206B_202B_202A_202C_206A_200E_202D_206E_202E_202E_200D_200D_202E_202A_206A_206C_206F_200B_202C_206C_206E_206D_200F_202A_202D_202C_206A_200C_202D_200C_202E(string P_0, int P_1) + { + return P_0.Substring(P_1); + } + + static byte[] _200D_206F_202E_206C_200D_206E_202D_202E_206C_206F_200E_202C_206A_206E_200F_206C_206B_202B_206F_202D_202E_200F_200E_202D_206A_206D_206D_202C_206D_202E_206A_200F_200D_200F_200F_200B_206B_202A_202A_202B_202E(string P_0) + { + return Convert.FromBase64String(P_0); + } + + static string _206F_206C_202A_202C_202B_206A_206D_206F_200D_200E_206E_200C_202D_206D_202D_200C_206B_202E_200F_200C_202B_206C_202C_206C_200C_202A_200F_202A_202E_200C_202B_206D_200C_200E_200E_200F_200E_206B_200D_206B_202E(Encoding P_0, byte[] P_1) + { + return P_0.GetString(P_1); + } + + static void _202C_206D_206A_206B_202E_202D_200D_202A_200C_206A_206D_202E_206A_200F_206E_206D_206C_202E_206F_206D_202A_206C_206A_202B_206D_206C_206A_200E_200C_200B_202D_202A_206F_206D_202E_202B_200C_202D_206E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogDebug(P_1, P_2, P_3); + } + + static List _202E_206D_202A_200D_200B_206F_206B_206B_200D_202C_200E_206C_206C_206A_206B_202A_206A_202C_206A_202A_202D_202E_206F_202A_200D_206A_202A_202D_206E_202A_200E_200F_202B_202A_200B_206F_200E_206C_206C_200C_202E(IEnumerable P_0, ref int P_1) + { + return ElementId.FromStrings(P_0, out P_1); + } + + static void _200F_206C_206F_202C_202B_206A_202A_202D_202D_202D_206F_206F_202C_206A_200F_202B_200D_202D_206B_202D_206E_202C_200E_206B_202D_202C_206F_206B_200C_206C_206E_200E_200B_200F_202C_206F_200F_200C_202E_200D_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + + static void _202B_200B_202A_200F_206C_200B_206F_206E_202E_202B_206D_202E_202A_200D_202A_200D_206C_206B_200F_200B_206D_200D_200E_202D_202B_206E_200C_202E_202D_206F_206F_202E_202E_202E_206E_202A_200B_206C_202A_206B_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static string _202C_200C_206E_202B_206E_200B_206E_200C_202A_206C_206C_202C_202A_206A_202C_206A_206E_200F_202A_200E_200C_200F_206F_206B_200F_200D_206F_206D_206F_206E_200B_202D_206E_206C_202B_206A_206E_200F_202D_206B_202E(Exception P_0) + { + return P_0.Message; + } + + static StringComparer _202E_206C_202C_202C_206B_202E_200E_206C_202C_202A_200E_206C_200E_206C_206D_202A_200F_206F_202C_202A_200D_200E_206B_200F_200F_202A_202D_206A_200D_206D_206F_200E_200C_202A_206C_200E_200E_202C_200E_200E_202E() + { + return StringComparer.OrdinalIgnoreCase; } } diff --git a/Questionable/Questionable.Windows.QuestComponents/ValidationDetailsRenderer.cs b/Questionable/Questionable.Windows.QuestComponents/ValidationDetailsRenderer.cs index d90dce0c..5d23ce28 100644 --- a/Questionable/Questionable.Windows.QuestComponents/ValidationDetailsRenderer.cs +++ b/Questionable/Questionable.Windows.QuestComponents/ValidationDetailsRenderer.cs @@ -3,10 +3,12 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using System.Text.RegularExpressions; using Dalamud.Bindings.ImGui; using Dalamud.Interface; using Dalamud.Interface.Colors; +using Dalamud.Interface.ManagedFontAtlas; using Dalamud.Interface.Utility.Raii; using Dalamud.Plugin; using Questionable.Data; @@ -18,11 +20,206 @@ namespace Questionable.Windows.QuestComponents; internal sealed class ValidationDetailsRenderer { - private sealed record JsonValidationError + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec { - public string Path { get; init; } = string.Empty; + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); - public List Messages { get; init; } = new List(); + public static MatchEvaluator _003C_003E9__8_0; + + public static MatchEvaluator _003C_003E9__8_1; + + public static Func _003C_003E9__13_0; + + public static Func _003C_003E9__13_1; + + internal string _003CCleanJsonText_003Eb__8_0(Match match) + { + int result; + int num = ((!int.TryParse(_202A_206E_206D_202C_200D_206D_200F_206D_206B_202C_200D_206C_202B_206D_200F_200E_202C_200D_202D_206F_206C_206B_200C_202D_206C_206D_202D_200F_202D_200B_202B_206F_200F_202D_202C_202C_200E_206C_200B_202E_202E((Capture)_200C_206D_206E_206D_206F_206A_202B_200C_206F_200F_200B_202A_200E_202E_202A_202A_202B_200F_200F_200F_206D_206D_202E_202E_206C_200D_202D_206F_200F_206D_202E_202B_206D_202D_200C_202C_202A_200B_202E_206F_202E(_202B_200B_200C_202D_200F_206C_202B_206C_206A_206B_202D_202D_206E_206F_200F_206A_206E_202B_206D_202C_206C_200D_200D_206C_206E_202D_202B_202C_206E_202C_206A_200D_200F_202E_202C_200E_202C_200C_206D_206F_202E(match), 1)), NumberStyles.HexNumber, _206E_202A_202B_206B_202C_202E_200E_200F_202E_206B_206B_202B_200B_202B_206E_200C_202E_202D_202A_202B_206F_200D_202C_200B_202A_200D_206F_206D_202D_200B_206F_200F_206A_202E_200E_206F_206A_206E_200C_202E(), out result)) ? (-78182920) : (-78182919)); + while (true) + { + int num2 = num; + int num3 = -78182920; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0065; + case 0: + return _202A_206E_206D_202C_200D_206D_200F_206D_206B_202C_200D_206C_202B_206D_200F_200E_202C_200D_202D_206F_206C_206B_200C_202D_206C_206D_202D_200F_202D_200B_202B_206F_200F_202D_202C_202C_200E_206C_200B_202E_202E((Capture)match); + case 1: + return ((char)result).ToString(); + } + continue; + IL_0065: + num = -78182919; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003CCleanJsonText_003Eb__8_1(Match match) + { + string text = _202A_206E_206D_202C_200D_206D_200F_206D_206B_202C_200D_206C_202B_206D_200F_200E_202C_200D_202D_206F_206C_206B_200C_202D_206C_206D_202D_200F_202D_200B_202B_206F_200F_202D_202C_202C_200E_206C_200B_202E_202E((Capture)_200C_206D_206E_206D_206F_206A_202B_200C_206F_200F_200B_202A_200E_202E_202A_202A_202B_200F_200F_200F_206D_206D_202E_202E_206C_200D_202D_206F_200F_206D_202E_202B_206D_202D_200C_202C_202A_200B_202E_206F_202E(_202B_200B_200C_202D_200F_206C_202B_206C_206A_206B_202D_202D_206E_206F_200F_206A_206E_202B_206D_202C_206C_200D_200D_206C_206E_202D_202B_202C_206E_202C_206A_200D_200F_202E_202C_200E_202C_200C_206D_206F_202E(match), 1)); + int num = ((text == null) ? 1436972652 : 1436972649); + string result = default(string); + char c = default(char); + while (true) + { + int num2 = num; + int num3 = 1436972646; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 12: + return result; + case 4: + num = 1436972652; + break; + case 7: + num = ((c == '\\') ? 1436972656 : 1436972660); + break; + case 9: + num = ((c == 't') ? 1436972658 : 1436972659); + break; + case 0: + num = 1436972652; + break; + case 25: + result = global::_003CModule_003E._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(450513600); + num = 1436972650; + break; + case 22: + result = global::_003CModule_003E._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(1093876266); + num = 1436972650; + break; + case 24: + c = _200E_202A_200C_202C_206B_202A_202B_206C_206D_200D_206E_200D_200D_200D_200B_202E_200C_202E_200E_200F_202E_202C_202C_202D_202A_200F_206F_202C_200E_200F_202C_200B_202D_206E_206C_200E_206F_200B_200C_206E_202E(text, 0); + num = (((uint)c > 98u) ? 1436972644 : 1436972662); + break; + case 1: + num = ((c == '"') ? 1436972653 : 1436972668); + break; + case 8: + result = global::_003CModule_003E._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(-976057447); + num = 1436972650; + break; + case 18: + num = ((c == 'b') ? 1436972671 : 1436972657); + break; + case 5: + num = ((c == 'f') ? 1436972648 : 1436972645); + break; + case 15: + { + int num7 = _206C_206A_206E_202A_200D_200E_206D_202A_206E_200F_200F_200B_202D_200B_206E_206B_206C_206E_206E_206E_200B_202C_206F_206A_200E_202B_206E_200F_206D_206B_206B_202A_200D_206B_200C_200F_200D_200F_202E_206E_202E(text); + num = ((num7 != 1) ? 1436972652 : 1436972670); + break; + } + case 3: + num = ((c == 'n') ? 1436972654 : 1436972642); + break; + case 23: + num = 1436972652; + break; + case 14: + result = global::_003CModule_003E._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(-1138276974); + num = 1436972650; + break; + case 19: + num = 1436972649; + break; + case 17: + result = global::_003CModule_003E._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(-1680133376); + num = 1436972650; + break; + case 21: + num = 1436972652; + break; + case 10: + result = _202A_206E_206D_202C_200D_206D_200F_206D_206B_202C_200D_206C_202B_206D_200F_200E_202C_200D_202D_206F_206C_206B_200C_202D_206C_206D_202D_200F_202D_200B_202B_206F_200F_202D_202C_202C_200E_206C_200B_202E_202E((Capture)match); + num = 1436972650; + break; + case 20: + result = global::_003CModule_003E._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(-1365294164); + num = 1436972650; + break; + case 26: + num = ((c == '/') ? 1436972663 : 1436972646); + break; + case 16: + num = (((uint)c > 47u) ? 1436972641 : 1436972647); + break; + case 2: + num = (((uint)c > 110u) ? 1436972640 : 1436972643); + break; + case 6: + num = ((c == 'r') ? 1436972651 : 1436972655); + break; + case 13: + result = global::_003CModule_003E._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(-1154172741); + num = 1436972650; + break; + case 11: + result = global::_003CModule_003E._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(948996293); + num = 1436972650; + break; + } + } + } + + internal string _003CDrawDisabledTribesDetails_003Eb__13_0(string x) + { + return _202B_200D_202D_202D_200F_206A_206F_206E_200E_206C_206B_200E_202B_200B_202D_206E_202A_206F_206B_200F_202B_200B_206B_206E_206F_202A_206C_200F_206E_202D_206D_206D_206E_200F_202C_200D_202B_200D_206B_202D_202E(x); + } + + internal bool _003CDrawDisabledTribesDetails_003Eb__13_1(string x) + { + return !_200C_200C_206E_206F_200D_206D_202C_206A_202B_206E_206C_202D_202E_202B_200C_200E_202A_202B_206B_200D_200D_200B_202E_202A_202A_200E_206B_200B_206B_202B_200E_200E_206A_200F_202D_206A_206F_202C_202E_202C_202E(x); + } + + static GroupCollection _202B_200B_200C_202D_200F_206C_202B_206C_206A_206B_202D_202D_206E_206F_200F_206A_206E_202B_206D_202C_206C_200D_200D_206C_206E_202D_202B_202C_206E_202C_206A_200D_200F_202E_202C_200E_202C_200C_206D_206F_202E(Match P_0) + { + return P_0.Groups; + } + + static Group _200C_206D_206E_206D_206F_206A_202B_200C_206F_200F_200B_202A_200E_202E_202A_202A_202B_200F_200F_200F_206D_206D_202E_202E_206C_200D_202D_206F_200F_206D_202E_202B_206D_202D_200C_202C_202A_200B_202E_206F_202E(GroupCollection P_0, int P_1) + { + return P_0[P_1]; + } + + static string _202A_206E_206D_202C_200D_206D_200F_206D_206B_202C_200D_206C_202B_206D_200F_200E_202C_200D_202D_206F_206C_206B_200C_202D_206C_206D_202D_200F_202D_200B_202B_206F_200F_202D_202C_202C_200E_206C_200B_202E_202E(Capture P_0) + { + return P_0.Value; + } + + static CultureInfo _206E_202A_202B_206B_202C_202E_200E_200F_202E_206B_206B_202B_200B_202B_206E_200C_202E_202D_202A_202B_206F_200D_202C_200B_202A_200D_206F_206D_202D_200B_206F_200F_206A_202E_200E_206F_206A_206E_200C_202E() + { + return CultureInfo.InvariantCulture; + } + + static int _206C_206A_206E_202A_200D_200E_206D_202A_206E_200F_200F_200B_202D_200B_206E_206B_206C_206E_206E_206E_200B_202C_206F_206A_200E_202B_206E_200F_206D_206B_206B_202A_200D_206B_200C_200F_200D_200F_202E_206E_202E(string P_0) + { + return P_0.Length; + } + + static char _200E_202A_200C_202C_206B_202A_202B_206C_206D_200D_206E_200D_200D_200D_200B_202E_200C_202E_200E_200F_202E_202C_202C_202D_202A_200F_206F_202C_200E_200F_202C_200B_202D_206E_206C_200E_206F_200B_200C_206E_202E(string P_0, int P_1) + { + return P_0[P_1]; + } + + static string _202B_200D_202D_202D_200F_206A_206F_206E_200E_206C_206B_200E_202B_200B_202D_206E_202A_206F_206B_200F_202B_200B_206B_206E_206F_202A_206C_200F_206E_202D_206D_206D_206E_200F_202C_200D_202B_200D_206B_202D_202E(string P_0) + { + return P_0.Trim(); + } + + static bool _200C_200C_206E_206F_200D_206D_202C_206A_202B_206E_206C_202D_202E_202B_200C_200E_202A_202B_206B_200D_200D_200B_202E_202A_202A_200E_206B_200B_206B_202B_200E_200E_206A_200F_202D_206A_206F_202C_202E_202C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } } private readonly QuestData _questData; @@ -33,13 +230,11 @@ internal sealed class ValidationDetailsRenderer private readonly Dictionary _openDetailWindows = new Dictionary(); - private static readonly Regex JsonPropertyPathRegex = new Regex("#/([^:]*)", RegexOptions.Compiled); + private static readonly Regex UnicodeEscapeRegex = _202B_202E_206B_206B_200D_202B_202C_202A_200E_206E_202B_200B_202B_206E_200B_200C_202E_200E_206B_206A_206F_202C_200B_206A_200D_206A_200F_206B_206C_206B_200F_200E_206E_206E_206C_202B_202A_206D_206B_202E(global::_003CModule_003E._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(-614545086), RegexOptions.Compiled); - private static readonly Regex UnicodeEscapeRegex = new Regex("\\\\u([0-9A-Fa-f]{4})", RegexOptions.Compiled); + private static readonly Regex JsonEscapeRegex = _202B_202E_206B_206B_200D_202B_202C_202A_200E_206E_202B_200B_202B_206E_200B_200C_202E_200E_206B_206A_206F_202C_200B_206A_200D_206A_200F_206B_206C_206B_200F_200E_206E_206E_206C_202B_202A_206D_206B_202E(global::_003CModule_003E._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(-619826859), RegexOptions.Compiled); - private static readonly Regex JsonEscapeRegex = new Regex("\\\\(.)", RegexOptions.Compiled); - - private static readonly Regex ConsecutiveQuotesRegex = new Regex("\"{2,}", RegexOptions.Compiled); + private static readonly Regex ConsecutiveQuotesRegex = _202B_202E_206B_206B_200D_202B_202C_202A_200E_206E_202B_200B_202B_206E_200B_200C_202E_200E_206B_206A_206F_202C_200B_206A_200D_206A_200F_206B_206C_206B_200F_200E_206E_206E_206C_202B_202A_206D_206B_202E(global::_003CModule_003E._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(-1286690539), RegexOptions.Compiled); public ValidationDetailsRenderer(QuestData questData, IDalamudPluginInterface pluginInterface) { @@ -47,31 +242,170 @@ internal sealed class ValidationDetailsRenderer _pluginInterface = pluginInterface; } + [MethodImpl(MethodImplOptions.NoInlining)] public static string CleanJsonText(string text) { - if (string.IsNullOrEmpty(text)) + int num = ((!_206F_202B_202A_200C_206B_206E_206D_202A_206C_202D_206E_200C_200D_200E_202E_206B_206F_202B_200B_200C_200B_206C_206D_200F_202E_202D_206F_206F_206C_200D_206E_200D_200E_206D_202E_200F_202D_206F_202A_206D_202E(text)) ? 1031753240 : 1031753244); + while (true) { - return text; + int num2 = num; + int num3 = 1031753240; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + text = _206B_202D_206D_202B_202C_202A_206D_200E_202A_202B_200B_206D_202D_202B_206D_200C_200D_206A_202D_206B_206F_206E_200E_202E_200C_200C_206A_202E_200C_206E_202E_202B_200C_202D_202E_206D_200C_202A_200F_206A_202E(UnicodeEscapeRegex, text, (MatchEvaluator)delegate(Match match) + { + int result; + int num7 = ((!int.TryParse(_003C_003Ec._202A_206E_206D_202C_200D_206D_200F_206D_206B_202C_200D_206C_202B_206D_200F_200E_202C_200D_202D_206F_206C_206B_200C_202D_206C_206D_202D_200F_202D_200B_202B_206F_200F_202D_202C_202C_200E_206C_200B_202E_202E((Capture)_003C_003Ec._200C_206D_206E_206D_206F_206A_202B_200C_206F_200F_200B_202A_200E_202E_202A_202A_202B_200F_200F_200F_206D_206D_202E_202E_206C_200D_202D_206F_200F_206D_202E_202B_206D_202D_200C_202C_202A_200B_202E_206F_202E(_003C_003Ec._202B_200B_200C_202D_200F_206C_202B_206C_206A_206B_202D_202D_206E_206F_200F_206A_206E_202B_206D_202C_206C_200D_200D_206C_206E_202D_202B_202C_206E_202C_206A_200D_200F_202E_202C_200E_202C_200C_206D_206F_202E(match), 1)), NumberStyles.HexNumber, _003C_003Ec._206E_202A_202B_206B_202C_202E_200E_200F_202E_206B_206B_202B_200B_202B_206E_200C_202E_202D_202A_202B_206F_200D_202C_200B_202A_200D_206F_206D_202D_200B_206F_200F_206A_202E_200E_206F_206A_206E_200C_202E(), out result)) ? (-78182920) : (-78182919)); + while (true) + { + int num8 = num7; + int num9 = -78182920; + int num10 = num8; + switch ((num10 | num9) - (num10 & num9)) + { + case 2: + goto IL_0065; + case 0: + return _003C_003Ec._202A_206E_206D_202C_200D_206D_200F_206D_206B_202C_200D_206C_202B_206D_200F_200E_202C_200D_202D_206F_206C_206B_200C_202D_206C_206D_202D_200F_202D_200B_202B_206F_200F_202D_202C_202C_200E_206C_200B_202E_202E((Capture)match); + case 1: + return ((char)result).ToString(); + } + continue; + IL_0065: + num7 = -78182919; + } + }); + text = _206B_202D_206D_202B_202C_202A_206D_200E_202A_202B_200B_206D_202D_202B_206D_200C_200D_206A_202D_206B_206F_206E_200E_202E_200C_200C_206A_202E_200C_206E_202E_202B_200C_202D_202E_206D_200C_202A_200F_206A_202E(JsonEscapeRegex, text, (MatchEvaluator)([MethodImpl(MethodImplOptions.NoInlining)] (Match match) => + { + string text2 = _003C_003Ec._202A_206E_206D_202C_200D_206D_200F_206D_206B_202C_200D_206C_202B_206D_200F_200E_202C_200D_202D_206F_206C_206B_200C_202D_206C_206D_202D_200F_202D_200B_202B_206F_200F_202D_202C_202C_200E_206C_200B_202E_202E((Capture)_003C_003Ec._200C_206D_206E_206D_206F_206A_202B_200C_206F_200F_200B_202A_200E_202E_202A_202A_202B_200F_200F_200F_206D_206D_202E_202E_206C_200D_202D_206F_200F_206D_202E_202B_206D_202D_200C_202C_202A_200B_202E_206F_202E(_003C_003Ec._202B_200B_200C_202D_200F_206C_202B_206C_206A_206B_202D_202D_206E_206F_200F_206A_206E_202B_206D_202C_206C_200D_200D_206C_206E_202D_202B_202C_206E_202C_206A_200D_200F_202E_202C_200E_202C_200C_206D_206F_202E(match), 1)); + int num7 = ((text2 == null) ? 1436972652 : 1436972649); + string result = default(string); + char c = default(char); + while (true) + { + int num8 = num7; + int num9 = 1436972646; + int num10 = num8; + int num11 = num10 + num9; + int num12 = num10 & num9; + switch (num11 - (num12 + num12)) + { + case 12: + return result; + case 4: + num7 = 1436972652; + break; + case 7: + num7 = ((c == '\\') ? 1436972656 : 1436972660); + break; + case 9: + num7 = ((c == 't') ? 1436972658 : 1436972659); + break; + case 0: + num7 = 1436972652; + break; + case 25: + result = global::_003CModule_003E._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(450513600); + num7 = 1436972650; + break; + case 22: + result = global::_003CModule_003E._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(1093876266); + num7 = 1436972650; + break; + case 24: + c = _003C_003Ec._200E_202A_200C_202C_206B_202A_202B_206C_206D_200D_206E_200D_200D_200D_200B_202E_200C_202E_200E_200F_202E_202C_202C_202D_202A_200F_206F_202C_200E_200F_202C_200B_202D_206E_206C_200E_206F_200B_200C_206E_202E(text2, 0); + num7 = (((uint)c > 98u) ? 1436972644 : 1436972662); + break; + case 1: + num7 = ((c == '"') ? 1436972653 : 1436972668); + break; + case 8: + result = global::_003CModule_003E._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(-976057447); + num7 = 1436972650; + break; + case 18: + num7 = ((c == 'b') ? 1436972671 : 1436972657); + break; + case 5: + num7 = ((c == 'f') ? 1436972648 : 1436972645); + break; + case 15: + { + int num13 = _003C_003Ec._206C_206A_206E_202A_200D_200E_206D_202A_206E_200F_200F_200B_202D_200B_206E_206B_206C_206E_206E_206E_200B_202C_206F_206A_200E_202B_206E_200F_206D_206B_206B_202A_200D_206B_200C_200F_200D_200F_202E_206E_202E(text2); + num7 = ((num13 != 1) ? 1436972652 : 1436972670); + break; + } + case 3: + num7 = ((c == 'n') ? 1436972654 : 1436972642); + break; + case 23: + num7 = 1436972652; + break; + case 14: + result = global::_003CModule_003E._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(-1138276974); + num7 = 1436972650; + break; + case 19: + num7 = 1436972649; + break; + case 17: + result = global::_003CModule_003E._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(-1680133376); + num7 = 1436972650; + break; + case 21: + num7 = 1436972652; + break; + case 10: + result = _003C_003Ec._202A_206E_206D_202C_200D_206D_200F_206D_206B_202C_200D_206C_202B_206D_200F_200E_202C_200D_202D_206F_206C_206B_200C_202D_206C_206D_202D_200F_202D_200B_202B_206F_200F_202D_202C_202C_200E_206C_200B_202E_202E((Capture)match); + num7 = 1436972650; + break; + case 20: + result = global::_003CModule_003E._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(-1365294164); + num7 = 1436972650; + break; + case 26: + num7 = ((c == '/') ? 1436972663 : 1436972646); + break; + case 16: + num7 = (((uint)c > 47u) ? 1436972641 : 1436972647); + break; + case 2: + num7 = (((uint)c > 110u) ? 1436972640 : 1436972643); + break; + case 6: + num7 = ((c == 'r') ? 1436972651 : 1436972655); + break; + case 13: + result = global::_003CModule_003E._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(-1154172741); + num7 = 1436972650; + break; + case 11: + result = global::_003CModule_003E._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(948996293); + num7 = 1436972650; + break; + } + } + })); + num = ((!_200D_206B_200F_200C_206D_200C_206B_206F_200B_202D_202D_202B_200C_200E_202B_200F_206C_202E_200B_200F_200B_202B_206F_202D_200D_202B_202E_200D_200D_202D_202D_200E_200D_206D_206E_202A_206E_206D_200C_206A_202E(text, global::_003CModule_003E._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(-184638744), StringComparison.Ordinal)) ? 1031753241 : 1031753242); + break; + case 2: + text = _200D_206B_202E_200E_200E_202E_202C_202C_202C_206F_206B_200B_200E_206E_202A_206C_202C_206C_202C_200B_200E_206A_202B_206C_202B_200D_206A_202A_206D_206D_200F_200F_206A_206B_200F_202B_200F_200D_200F_202B_202E(ConsecutiveQuotesRegex, text, global::_003CModule_003E._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(1792309681)); + text = _202A_206D_200B_206E_206B_206A_200C_206E_206F_206C_206A_202B_200E_206A_202B_206C_206E_200E_202B_206F_200C_200C_202D_200E_200D_200C_200B_206E_202A_202B_200B_202E_206A_206C_206F_202A_200D_202D_202E_202B_202E(text, global::_003CModule_003E._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(15484770), global::_003CModule_003E._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(15484770), StringComparison.Ordinal); + num = 1031753241; + break; + case 3: + num = 1031753244; + break; + case 4: + return text; + case 1: + return text; + } } - text = UnicodeEscapeRegex.Replace(text, (Match match) => int.TryParse(match.Groups[1].Value, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out var result) ? ((char)result).ToString() : match.Value); - text = JsonEscapeRegex.Replace(text, (Match match) => match.Groups[1].Value switch - { - "\"" => "\"", - "\\" => "\\", - "/" => "/", - "b" => "\b", - "f" => "\f", - "n" => "\n", - "r" => "\r", - "t" => "\t", - _ => match.Value, - }); - if (text.Contains("\"\"", StringComparison.Ordinal)) - { - text = ConsecutiveQuotesRegex.Replace(text, "\""); - text = text.Replace("Expected \"\"", "Expected \"\"", StringComparison.Ordinal); - } - return text; } public void OpenDetails(ValidationIssue issue, int index) @@ -80,488 +414,1039 @@ internal sealed class ValidationDetailsRenderer _openDetailWindows[index] = true; } + [MethodImpl(MethodImplOptions.NoInlining)] public void DrawDetailWindows() { List list = new List(); - foreach (KeyValuePair item in _openDetailWindows.ToList()) + using (List>.Enumerator enumerator = _openDetailWindows.ToList().GetEnumerator()) { - if (item.Value && _storedIssues.TryGetValue(item.Key, out ValidationIssue value)) + KeyValuePair current = default(KeyValuePair); + while (true) { - 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)) + IL_0221: + int num; + if (enumerator.MoveNext()) { - DrawIssueDetails(value); - ImGui.End(); + current = enumerator.Current; + if (!current.Value || !_storedIssues.TryGetValue(current.Key, out ValidationIssue value)) + { + continue; + } + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(20, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1298951719)); + defaultInterpolatedStringHandler.AppendFormatted(current.Key); + string text = defaultInterpolatedStringHandler.ToStringAndClear(); + bool flag = true; + _202C_202C_206B_202C_202B_202C_206A_202E_200E_200B_202C_200E_202E_206B_200C_206D_202C_206C_202A_206A_206A_206D_206E_206C_206F_202D_202C_202C_200B_202C_206F_202B_206B_200F_206A_206C_202D_200B_202E_202D_202E(new Vector2(800f, 600f), ImGuiCond.FirstUseEver); + _206F_202D_206A_202D_200D_202E_200D_200C_206C_200E_206C_206F_200C_206C_202C_200B_206E_206C_206C_200B_206A_206E_200C_200F_202A_202E_202A_200C_206A_202E_200D_206C_202E_206A_200C_200D_202E_206B_202E_200D_202E(new Vector2(500f, 300f), new Vector2(1200f, 800f)); + IDisposable disposable = ThemedWindow.PushTheme(); + try + { + num = ((!_202C_202D_206F_206F_206E_206D_202D_202C_202A_206F_200E_206C_206E_200F_206C_206B_200D_206C_202E_202A_200D_202D_200C_202B_206E_202C_206E_206E_202D_206B_200F_200C_206C_202E_200E_206B_206F_206F_202A_206E_202E((ImU8String)text, ref flag, ImGuiWindowFlags.None)) ? (-1150168852) : (-1150168851)); + while (true) + { + int num2 = num; + int num3 = -1150168852; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1150168851; + break; + case 1: + DrawIssueDetails(value); + num = -1150168852; + break; + case 0: + _206D_200E_206C_202B_206B_202D_202C_206F_206C_206B_206D_206F_206B_202B_202B_200D_206C_202C_202A_206B_206D_202D_206A_206A_206A_202A_206A_206A_202C_200C_202C_200D_200C_200C_200B_200B_206E_200B_202D_202E_202E(); + goto end_IL_00e9; + } + continue; + end_IL_00e9: + break; + } + } + finally + { + num = ((disposable == null) ? 17242960 : 17242961); + while (true) + { + int num5 = num; + int num3 = 17242960; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + goto end_IL_015d; + case 1: + _200B_200B_202C_206C_202B_200D_202E_206F_202B_200B_202E_200D_200F_202B_202A_202E_200B_206E_200F_206E_202E_202D_206B_202C_202A_200B_202E_200C_206B_200D_206F_202D_202E_206D_206D_206E_200B_200F_206D_202A_202E(disposable); + num = 17242960; + break; + case 2: + num = 17242961; + break; + } + continue; + end_IL_015d: + break; + } + } + num = (flag ? 913127023 : 913127021); } - if (!open) + else { - list.Add(item.Key); + num = 913127020; } + while (true) + { + int num8 = num; + int num3 = 913127022; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + default: + continue; + case 0: + num = 913127021; + continue; + case 3: + list.Add(current.Key); + num = 913127023; + continue; + case 1: + break; + case 2: + goto end_IL_01ca; + } + goto IL_0221; + continue; + end_IL_01ca: + break; + } + break; } } - foreach (int item2 in list) + using List.Enumerator enumerator2 = list.GetEnumerator(); + int num = 1159845367; + while (true) { - _openDetailWindows.Remove(item2); - _storedIssues.Remove(item2); + int num11 = num; + int num3 = 1159845366; + int num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 1: + num = (enumerator2.MoveNext() ? 1159845364 : 1159845365); + break; + case 2: + { + int current2 = enumerator2.Current; + _openDetailWindows.Remove(current2); + _storedIssues.Remove(current2); + num = 1159845367; + break; + } + case 0: + num = 1159845367; + break; + case 3: + return; + } } } + [MethodImpl(MethodImplOptions.NoInlining)] 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); - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + //Discarded unreachable code: IL_03f0 + EIssueSeverity severity = issue.Severity; + int num = ((severity == EIssueSeverity.Warning) ? (-1329717228) : (-1329717221)); + Vector4 vector = default(Vector4); + Vector4 vector2 = default(Vector4); + FontAwesomeIcon fontAwesomeIcon2 = default(FontAwesomeIcon); + ElementId elementId = default(ElementId); + string description = default(string); + while (true) { - using (ImRaii.PushColor(ImGuiCol.Text, color)) + int num2 = num; + int num3 = -1329717229; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - ImGui.TextUnformatted(icon.ToIconString()); + case 9: + vector = vector2; + severity = issue.Severity; + num = ((severity == EIssueSeverity.Warning) ? (-1329717230) : (-1329717229)); + break; + case 10: + fontAwesomeIcon2 = FontAwesomeIcon.ExclamationTriangle; + num = -1329717226; + break; + case 7: + vector2 = _206E_200F_202A_202C_206F_200C_200F_206A_202E_206B_200C_200F_206D_206A_206F_202B_202D_206C_202E_202D_200D_206B_206B_200B_202D_200C_202D_206F_202E_206C_202A_202B_206A_200E_200F_206C_202B_206C_206D_202D_202E(); + num = -1329717222; + break; + case 4: + vector2 = _206B_206F_200F_202A_206C_206C_206F_206C_202A_200E_202B_200E_202D_202E_202B_202B_206C_202C_202E_202A_206A_206E_200E_206A_206C_206F_200F_206C_200E_200B_202E_202D_206A_206F_200B_200E_206B_202A_200E_200E_202E(); + num = -1329717222; + break; + case 0: + num = ((severity != EIssueSeverity.Error) ? (-1329717227) : (-1329717223)); + break; + case 2: + num = -1329717221; + break; + case 1: + fontAwesomeIcon2 = FontAwesomeIcon.ExclamationCircle; + num = -1329717226; + break; + case 3: + vector2 = _200D_200C_206C_206F_206C_200F_206D_206A_202D_206B_200B_200E_202B_206C_206B_202A_206B_202C_206C_202B_202E_200D_200D_200D_200C_202A_206F_206B_202B_206A_206F_202B_202D_206F_206A_206A_200D_202E_200B_202C_202E(); + num = -1329717222; + break; + case 6: + fontAwesomeIcon2 = FontAwesomeIcon.InfoCircle; + num = -1329717226; + break; + case 8: + num = ((severity != EIssueSeverity.Error) ? (-1329717225) : (-1329717232)); + break; + case 5: + { + FontAwesomeIcon fontAwesomeIcon = fontAwesomeIcon2; + IDisposable disposable = _206B_202B_200F_206C_206E_206B_206E_206F_200C_206D_206A_206E_202A_202E_200F_206C_202B_206A_202E_206D_200C_200B_206A_202B_202C_206D_206B_200E_206B_206F_202C_206A_206E_200D_206B_206E_206C_202C_206F_200E_202E(_200B_202C_206C_206C_206D_202B_206C_206A_200C_206B_202E_206A_200C_202E_200B_206A_206A_206A_206E_200F_202B_206A_202E_206C_200C_202A_200C_202D_202E_206A_202B_206E_202D_200B_202E_200D_206D_206C_202B_202A_202E(_206F_200C_206B_206C_202C_200D_206A_202C_202E_202C_200E_206E_206E_200F_206F_202C_202C_206B_206B_206A_206B_202C_202A_206B_206A_202A_206C_206D_202D_206E_202C_206C_202C_200C_202E_200D_200E_206E_200F_206E_202E(_pluginInterface))); + try + { + ImRaii.ColorDisposable colorDisposable = _202C_200F_202C_200F_206C_206E_206B_200E_200B_200D_200B_200D_206A_200E_200B_206B_206F_200C_202E_206E_202E_200E_206A_206B_206F_200B_202E_202C_206E_202C_200E_202D_206A_202C_206D_202D_200E_202E_206F_206D_202E(ImGuiCol.Text, vector, true); + try + { + _200D_206E_206C_206D_206A_202B_206E_200B_200D_200D_200D_206F_206A_202A_202B_200C_202A_200F_200C_202B_202A_206A_200E_206C_202E_200C_202E_202A_206D_206A_202C_202D_200D_206B_206E_202E_200E_202C_206C_200C_202E((ImU8String)_200F_202A_200F_202B_200C_200E_206C_200C_206F_206B_200F_202D_200C_202A_206A_206D_200F_206E_206C_206F_206A_202D_202C_202A_206C_206C_206D_202C_206F_200E_206C_206B_200D_202E_200B_202C_200D_200D_200D_200C_202E(fontAwesomeIcon)); + } + finally + { + num = ((colorDisposable == null) ? 1646006232 : 1646006235); + while (true) + { + int num5 = num; + num3 = 1646006233; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = 1646006235; + break; + case 1: + goto end_IL_01b1; + case 2: + _200B_200B_202C_206C_202B_200D_202E_206F_202B_200B_202E_200D_200F_202B_202A_202E_200B_206E_200F_206E_202E_202D_206B_202C_202A_200B_202E_200C_206B_200D_206F_202D_202E_206D_206D_206E_200B_200F_206D_202A_202E((IDisposable)colorDisposable); + num = 1646006232; + break; + } + continue; + end_IL_01b1: + break; + } + } + } + finally + { + num = ((disposable == null) ? (-1517300554) : (-1517300555)); + while (true) + { + int num8 = num; + num3 = -1517300556; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + goto end_IL_021e; + case 1: + _200B_200B_202C_206C_202B_200D_202E_206F_202B_200B_202E_200D_200F_202B_202A_202E_200B_206E_200F_206E_202E_202D_206B_202C_202A_200B_202E_200C_206B_200D_206F_202D_202E_206D_206D_206E_200B_200F_206D_202A_202E(disposable); + num = -1517300554; + break; + case 0: + num = -1517300555; + break; + } + continue; + end_IL_021e: + break; + } + } + _206B_206A_202B_206E_200D_202D_206F_206A_206F_206D_200B_200F_200F_200D_202D_200D_206C_206F_202E_206D_206C_202A_206E_202E_206A_202D_202E_202A_200B_206C_200B_202E_200F_202B_206A_202C_200D_200D_200F_200E_202E(); + ImRaii.ColorDisposable colorDisposable2 = _202C_200F_202C_200F_206C_206E_206B_200E_200B_200D_200B_200D_206A_200E_200B_206B_206F_200C_202E_206E_202E_200E_206A_206B_206F_200B_202E_202C_206E_202C_200E_202D_206A_202C_206D_202D_200E_202E_206F_206D_202E(ImGuiCol.Text, vector, true); + try + { + ImU8String imU8String = new ImU8String(2, 2); + imU8String.AppendFormatted(issue.Severity); + imU8String.AppendLiteral(global::_003CModule_003E._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(2074665157)); + imU8String.AppendFormatted(issue.Type); + _200C_200F_200D_202C_202A_200C_200F_202C_206A_202A_202E_206A_200D_206C_206F_206F_200D_200F_202A_202C_202E_206E_202D_202E_202E_206E_206A_202B_206C_200B_200C_206D_202E_206A_206F_206F_200F_200F_202E_206E_202E(imU8String); + } + finally + { + num = ((colorDisposable2 == null) ? 49104475 : 49104474); + while (true) + { + int num11 = num; + num3 = 49104475; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 0: + goto end_IL_02da; + case 1: + _200B_200B_202C_206C_202B_200D_202E_206F_202B_200B_202E_200D_200F_202B_202A_202E_200B_206E_200F_206E_202E_202D_206B_202C_202A_200B_202E_200C_206B_200D_206F_202D_202E_206D_206D_206E_200B_200F_206D_202A_202E((IDisposable)colorDisposable2); + num = 49104475; + break; + case 2: + num = 49104474; + break; + } + continue; + end_IL_02da: + break; + } + } + _206D_202E_202D_206A_206E_206F_206A_206D_202C_202C_206D_200B_200B_202A_200C_200B_206B_202A_200D_206C_206D_200D_202E_200D_200F_206B_200F_202C_206D_202C_200E_200F_202A_202E_206D_202D_206B_206E_206D_200E_202E(); + ImU8String imU8String2 = new ImU8String(6, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1066426016)); + imU8String2.AppendFormatted(issue.PathType); + _200C_200F_200D_202C_202A_200C_200F_202C_206A_202A_202E_206A_200D_206C_206F_206F_200D_200F_202A_202C_202E_206E_202D_202E_202E_206E_206A_202B_206C_200B_200C_206D_202E_206A_206F_206F_200F_200F_202E_206E_202E(imU8String2); + if (issue.Id != null) + { + num = -553610014; + while (true) + { + int num14 = num; + num3 = -553610015; + num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 1: + if (!_202B_206E_200D_200E_200F_200C_202E_206F_200C_206F_206D_202A_206D_202E_200F_202D_202D_202D_206C_200B_202D_200C_200B_206D_202E_200E_206E_200D_202B_202C_206A_202D_200D_200C_206C_202C_206F_200C_206D_202B_202E(elementId, (ElementId)null)) + { + break; + } + goto case 3; + case 3: + if (issue.PathType == EPathType.Quest) + { + num = -553610013; + continue; + } + break; + case 0: + num = -553610014; + continue; + case 2: + if (_200E_200E_206C_206D_206C_202A_202C_206B_202E_200B_206D_202E_202B_202D_200D_206B_206E_206E_202D_200C_202B_200D_206D_206D_200F_200F_206E_200B_206E_206A_206D_200F_200C_200B_202C_206D_206F_200C_200B_200E_202E(issue.Id, ref elementId)) + { + num = -553610016; + continue; + } + break; + } + break; + } + ImU8String imU8String3 = new ImU8String(4, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(1908485519)); + imU8String3.AppendFormatted(issue.Id); + _200C_200F_200D_202C_202A_200C_200F_202C_206A_202A_202E_206A_200D_206C_206F_206F_200D_200F_202A_202C_202E_206E_202D_202E_202E_206E_206A_202B_206C_200B_200C_206D_202E_206A_206F_206F_200F_200F_202E_206E_202E(imU8String3); + } + num = ((issue.Location == null) ? 860006641 : 860006647); + while (true) + { + int num15 = num; + num3 = 860006641; + num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + DrawDisabledTribesDetails(description); + return; + case 0: + _206D_202E_202D_206A_206E_206F_206A_206D_202C_202C_206D_200B_200B_202A_200C_200B_206B_202A_200D_206C_206D_200D_202E_200D_200F_206B_200F_202C_206D_202C_200E_200F_202A_202E_206D_202D_206B_206E_206D_200E_202E(); + _200C_200F_200D_202C_202A_200C_200F_202C_206A_202A_202E_206A_200D_206C_206F_206F_200D_200F_202A_202C_202E_206E_202D_202E_202E_206E_206A_202B_206C_200B_200C_206D_202E_206A_206F_206F_200F_200F_202E_206E_202E((ImU8String)global::_003CModule_003E._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(-1571231397)); + description = CleanJsonText(issue.Description ?? global::_003CModule_003E._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(-1853270224)); + num = ((issue.Type != EIssueType.QuestDisabled) ? 860006642 : 860006645); + break; + case 6: + { + ImU8String imU8String4 = new ImU8String(10, 1); + imU8String4.AppendLiteral(global::_003CModule_003E._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(1204994949)); + imU8String4.AppendFormatted(issue.Location); + _200C_200F_200D_202C_202A_200C_200F_202C_206A_202A_202E_206A_200D_206C_206F_206F_200D_200F_202A_202C_202E_206E_202D_202E_202E_206E_206A_202B_206C_200B_200C_206D_202E_206A_206F_206F_200F_200F_202E_206E_202E(imU8String4); + num = 860006641; + break; + } + case 2: + DrawGenericDetails(description); + return; + case 3: + num = ((issue.Type != EIssueType.InvalidJsonSyntax) ? 860006643 : 860006640); + break; + case 4: + num = ((issue.Id != null) ? 860006642 : 860006644); + break; + case 7: + num = 860006647; + break; + case 1: + DrawJsonSyntaxErrorDetails(description); + return; + } + } + } } - } - ImGui.SameLine(); - using (ImRaii.PushColor(ImGuiCol.Text, color)) - { - ImU8String text = new ImU8String(2, 2); - text.AppendFormatted(issue.Severity); - text.AppendLiteral(": "); - text.AppendFormatted(issue.Type); - ImGui.Text(text); - } - ImGui.Separator(); - if (issue.ElementId != 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); - } - else if (issue.AlliedSociety != EAlliedSociety.None) - { - 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); - } - ImGui.Separator(); - ImGui.Text("Description:"); - string description = CleanJsonText(issue.Description ?? "(no description)"); - if (issue.Type == EIssueType.QuestDisabled && issue.ElementId == null) - { - DrawDisabledTribesDetails(description); - } - else if (issue.Type == EIssueType.InvalidJsonSchema) - { - DrawEnhancedJsonSchemaDetails(description); - } - else if (issue.Type == EIssueType.InvalidJsonSyntax) - { - DrawJsonSyntaxErrorDetails(description); - } - else - { - DrawGenericDetails(description); } } + [MethodImpl(MethodImplOptions.NoInlining)] private static void DrawJsonSyntaxErrorDetails(string description) { - string[] array = description.Split('\n'); - for (int i = 0; i < array.Length; i++) + string[] array = _200F_200B_206B_202E_200B_206F_202A_206C_200E_206B_206C_202C_206F_206C_206C_202E_202B_206D_206B_206C_202D_202C_200D_202C_200B_202D_202C_200E_202C_206B_202A_200C_206E_200B_206B_200C_202D_200C_206D_202E_202E(description, '\n', StringSplitOptions.None); + int num = 0; + while (num < array.Length) { - string text = array[i].Trim(); - if (string.IsNullOrEmpty(text)) + string text = _200E_202C_202A_200E_200E_206D_206D_206A_200E_202D_206E_206A_206D_206F_200D_206C_200F_206F_202B_206A_202B_200F_206F_206E_200B_202E_202E_202E_200B_202D_202D_202A_206E_200D_202A_202B_200F_200B_202B_206D_202E(array[num]); + int num4; + int num5; + if (_206F_202B_202A_200C_206B_206E_206D_202A_206C_202D_206E_200C_200D_200E_202E_206B_206F_202B_200B_200C_200B_206C_206D_200F_202E_202D_206F_206F_206C_200D_206E_200D_200E_206D_202E_200F_202D_206F_202A_206D_202E(text)) { - ImGui.Spacing(); + _200B_206B_206C_206E_202A_202B_202B_202D_202B_202D_202B_200E_206B_206A_206F_206E_206F_202C_202D_202D_202D_202C_206F_200B_202E_206B_200E_202D_202D_206D_206F_206B_202E_200C_202E_206D_202E_206F_202E_200D_202E(); } - else if (text.StartsWith("JSON parsing error", StringComparison.Ordinal)) + else if (_202C_200F_206B_202A_206D_200E_206F_206F_200B_206F_200C_206D_206C_206E_206D_200C_202D_200F_200D_200C_202E_206D_206D_202C_200E_200F_200E_202E_202A_202C_202A_206E_206E_202D_202D_202B_206B_206C_200F_206E_202E(text, global::_003CModule_003E._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(540102239), StringComparison.Ordinal)) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) + ImRaii.ColorDisposable colorDisposable = _202C_200F_202C_200F_206C_206E_206B_200E_200B_200D_200B_200D_206A_200E_200B_206B_206F_200C_202E_206E_202E_200E_206A_206B_206F_200B_202E_202C_206E_202C_200E_202D_206A_202C_206D_202D_200E_202E_206F_206D_202E(ImGuiCol.Text, _200D_200C_206C_206F_206C_200F_206D_206A_202D_206B_200B_200E_202B_206C_206B_202A_206B_202C_206C_202B_202E_200D_200D_200D_200C_202A_206F_206B_202B_206A_206F_202B_202D_206F_206A_206A_200D_202E_200B_202C_202E(), true); + try { - ImGui.TextWrapped(text); + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E((ImU8String)text); } - } - else if (text.StartsWith("This usually indicates", StringComparison.Ordinal) || text.StartsWith("Please check", StringComparison.Ordinal)) - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.HealerGreen)) + finally { - ImGui.TextWrapped(text); - } - } - else if (text.StartsWith("\ufffd ", StringComparison.Ordinal)) - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudYellow)) - { - ImGui.TextWrapped(text); + int num2 = ((colorDisposable == null) ? 706780076 : 706780079); + while (true) + { + int num3 = num2; + num4 = 706780077; + num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 1: + goto end_IL_0080; + case 2: + _200B_200B_202C_206C_202B_200D_202E_206F_202B_200B_202E_200D_200F_202B_202A_202E_200B_206E_200F_206E_202E_202D_206B_202C_202A_200B_202E_200C_206B_200D_206F_202D_202E_206D_206D_206E_200B_200F_206D_202A_202E((IDisposable)colorDisposable); + num2 = 706780076; + break; + case 0: + num2 = 706780079; + break; + } + continue; + end_IL_0080: + break; + } } } else { - ImGui.TextWrapped(text); + int num2 = (_202C_200F_206B_202A_206D_200E_206F_206F_200B_206F_200C_206D_206C_206E_206D_200C_202D_200F_200D_200C_202E_206D_206D_202C_200E_200F_200E_202E_202A_202C_202A_206E_206E_202D_202D_202B_206B_206C_200F_206E_202E(text, global::_003CModule_003E._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(410869758), StringComparison.Ordinal) ? (-1850996849) : (-1850996850)); + while (true) + { + int num8 = num2; + num4 = -1850996849; + num5 = num8; + int num9 = num5 + num4; + int num10 = num5 & num4; + switch (num9 - (num10 + num10)) + { + default: + continue; + case 2: + num2 = -1850996850; + continue; + case 1: + if (_202C_200F_206B_202A_206D_200E_206F_206F_200B_206F_200C_206D_206C_206E_206D_200C_202D_200F_200D_200C_202E_206D_206D_202C_200E_200F_200E_202E_202A_202C_202A_206E_206E_202D_202D_202B_206B_206C_200F_206E_202E(text, global::_003CModule_003E._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(705937726), StringComparison.Ordinal)) + { + num2 = -1850996849; + continue; + } + if (_202C_200F_206B_202A_206D_200E_206F_206F_200B_206F_200C_206D_206C_206E_206D_200C_202D_200F_200D_200C_202E_206D_206D_202C_200E_200F_200E_202E_202A_202C_202A_206E_206E_202D_202D_202B_206B_206C_200F_206E_202E(text, global::_003CModule_003E._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(1546498203), StringComparison.Ordinal)) + { + ImRaii.ColorDisposable colorDisposable3 = _202C_200F_202C_200F_206C_206E_206B_200E_200B_200D_200B_200D_206A_200E_200B_206B_206F_200C_202E_206E_202E_200E_206A_206B_206F_200B_202E_202C_206E_202C_200E_202D_206A_202C_206D_202D_200E_202E_206F_206D_202E(ImGuiCol.Text, _206E_200F_202A_202C_206F_200C_200F_206A_202E_206B_200C_200F_206D_206A_206F_202B_202D_206C_202E_202D_200D_206B_206B_200B_202D_200C_202D_206F_202E_206C_202A_202B_206A_200E_200F_206C_202B_206C_206D_202D_202E(), true); + try + { + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E((ImU8String)text); + } + finally + { + num2 = ((colorDisposable3 == null) ? (-663446381) : (-663446384)); + while (true) + { + int num12 = num2; + num4 = -663446382; + num5 = num12; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + goto end_IL_0233; + case 2: + _200B_200B_202C_206C_202B_200D_202E_206F_202B_200B_202E_200D_200F_202B_202A_202E_200B_206E_200F_206E_202E_202D_206B_202C_202A_200B_202E_200C_206B_200D_206F_202D_202E_206D_206D_206E_200B_200F_206D_202A_202E((IDisposable)colorDisposable3); + num2 = -663446381; + break; + case 0: + num2 = -663446384; + break; + } + continue; + end_IL_0233: + break; + } + } + } + else + { + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E((ImU8String)text); + } + break; + case 0: + { + ImRaii.ColorDisposable colorDisposable2 = _202C_200F_202C_200F_206C_206E_206B_200E_200B_200D_200B_200D_206A_200E_200B_206B_206F_200C_202E_206E_202E_200E_206A_206B_206F_200B_202E_202C_206E_202C_200E_202D_206A_202C_206D_202D_200E_202E_206F_206D_202E(ImGuiCol.Text, _206C_202D_200F_202C_202D_202B_200E_200C_200F_206D_202C_200C_202D_206C_200E_202A_202B_200E_206F_206F_202D_202C_206B_202D_202A_206C_202D_206F_206D_200C_202A_200F_206B_200E_200B_206D_202E_206A_200C_202A_202E(), true); + try + { + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E((ImU8String)text); + } + finally + { + num2 = ((colorDisposable2 == null) ? 582989586 : 582989587); + while (true) + { + int num11 = num2; + num4 = 582989586; + num5 = num11; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + goto end_IL_0194; + case 1: + _200B_200B_202C_206C_202B_200D_202E_206F_202B_200B_202E_200D_200F_202B_202A_202E_200B_206E_200F_206E_202E_202D_206B_202C_202A_200B_202E_200C_206B_200D_206F_202D_202E_206D_206D_206E_200B_200F_206D_202A_202E((IDisposable)colorDisposable2); + num2 = 582989586; + break; + case 2: + num2 = 582989587; + break; + } + continue; + end_IL_0194: + break; + } + } + break; + } + } + break; + } + } + int num13 = num; + num4 = 1; + num5 = num13; + num = (num5 | num4) + (num5 & num4); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawDisabledTribesDetails(string description) + { + string[] array = _202A_202B_202B_200B_206B_202A_206B_206F_206D_202E_202A_202C_202D_200E_206A_200D_206D_200D_206A_200C_202C_206B_206A_202C_206A_202B_202B_206E_202D_202C_202D_200F_200C_206B_206A_202C_200C_206D_200C_202E_202E(description, ':', 2, StringSplitOptions.None); + int num = ((array.Length >= 2) ? (-404849146) : (-404849145)); + List list = default(List); + ElementId elementId = default(ElementId); + while (true) + { + int num2 = num; + int num3 = -404849146; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E((ImU8String)array[0]); + _200B_206B_206C_206E_202A_202B_202B_202D_202B_202D_202B_200E_206B_206A_206F_206E_206F_202C_202D_202D_202D_202C_206F_200B_202E_206B_200E_202D_202D_206D_206F_206B_202E_200C_202E_206D_202E_206F_202E_200D_202E(); + list = (from x in _200F_200B_206B_202E_200B_206F_202A_206C_200E_206B_206C_202C_206F_206C_206C_202E_202B_206D_206B_206C_202D_202C_200D_202C_200B_202D_202C_200E_202C_206B_202A_200C_206E_200B_206B_200C_202D_200C_206D_202E_202E(array[1], ',', StringSplitOptions.RemoveEmptyEntries) + select _003C_003Ec._202B_200D_202D_202D_200F_206A_206F_206E_200E_206C_206B_200E_202B_200B_202D_206E_202A_206F_206B_200F_202B_200B_206B_206E_206F_202A_206C_200F_206E_202D_206D_206D_206E_200F_202C_200D_202B_200D_206B_202D_202E(x) into x + where !_003C_003Ec._200C_200C_206E_206F_200D_206D_202C_206A_202B_206E_206C_202D_202E_202B_200C_200E_202A_202B_206B_200D_200D_200B_202E_202A_202A_200E_206B_200B_206B_202B_200E_200E_206A_200F_202D_206A_206F_202C_202E_202C_202E(x) + select x).Distinct().ToList(); + num = ((list.Count != 0) ? (-404849147) : (-404849150)); + break; + case 4: + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E((ImU8String)global::_003CModule_003E._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(-1348132251)); + return; + case 2: + num = -404849145; + break; + case 1: + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E((ImU8String)description); + return; + case 3: + { + _200C_200F_200D_202C_202A_200C_200F_202C_206A_202A_202E_206A_200D_206C_206F_206F_200D_200F_202A_202C_202E_206E_202D_202E_202E_206E_206A_202B_206C_200B_200C_206D_202E_206A_206F_206F_200F_200F_202E_206E_202E((ImU8String)global::_003CModule_003E._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(-834424593)); + _202D_202D_206A_200B_206A_206D_200C_206C_206F_200D_206A_206A_206D_200C_206C_202A_206C_206C_200F_202B_206C_206C_206C_206A_200D_206D_202E_206B_202C_202A_206E_202B_206B_202E_200F_202A_200E_206F_200E_206E_202E(); + Vector4[] array2 = new Vector4[6] + { + _206E_200C_202C_206E_200B_200B_206D_202E_206F_206C_200C_200E_202D_202B_200B_206C_202E_206B_206D_200E_202B_202A_200F_200E_206F_206D_206E_206F_206B_200B_206E_200D_206C_200E_206B_202B_202C_200F_202C_206E_202E(), + _206C_202D_200F_202C_202D_202B_200E_200C_200F_206D_202C_200C_202D_206C_200E_202A_202B_200E_206F_206F_202D_202C_206B_202D_202A_206C_202D_206F_206D_200C_202A_200F_206B_200E_200B_206D_202E_206A_200C_202A_202E(), + _206A_206D_206F_206A_200E_200B_206D_202B_202A_206A_206A_206B_206F_202B_206E_206E_202A_202B_200B_202A_206D_206D_202B_206E_200E_202B_202C_200E_202E_206D_202D_206D_206A_202C_200C_206C_202A_200F_202C_200D_202E(), + _202D_202D_202B_202D_206D_200F_200B_200D_206E_206A_202A_202E_206E_202C_202E_206B_200D_202E_200D_200C_200F_202B_206E_200C_202D_206D_206F_200F_202B_202E_200C_202B_202D_200E_206C_202C_206F_202D_202D_206C_202E(), + _200E_202B_200D_206D_200C_200E_202B_206B_206B_200D_206A_202D_200B_202D_206B_200E_206D_202E_206A_206E_206A_202C_200E_206F_202D_202D_200B_206A_206A_206E_200B_206B_206D_206E_200D_206D_200C_200E_206E_200E_202E(), + _206E_200C_200E_206C_202D_202D_200B_202A_202C_200E_200B_206F_206E_206E_206A_200B_206A_200E_206A_200C_200D_200E_202C_202C_200D_200F_202A_200E_202B_200F_200B_202B_202C_206F_206B_206B_206E_200D_202A_200D_202E() + }; + int num5 = 0; + while (num5 < list.Count) + { + string text = list[num5]; + Vector4 vector = array2[num5 % array2.Length]; + ImRaii.ColorDisposable colorDisposable = _202C_200F_202C_200F_206C_206E_206B_200E_200B_200D_200B_200D_206A_200E_200B_206B_206F_200C_202E_206E_202E_200E_206A_206B_206F_200B_202E_202C_206E_202C_200E_202D_206A_202C_206D_202D_200E_202E_206F_206D_202E(ImGuiCol.Text, vector, true); + try + { + if (_200E_200E_206C_206D_206C_202A_202C_206B_202E_200B_206D_202E_202B_202D_200D_206B_206E_206E_202D_200C_202B_200D_206D_206D_200F_200F_206E_200B_206E_206A_206D_200F_200C_200B_202C_206D_206F_200C_200B_200E_202E(text, ref elementId) && _202B_206E_200D_200E_200F_200C_202E_206F_200C_206F_206D_202A_206D_202E_200F_202D_202D_202D_206C_200B_202D_200C_200B_206D_202E_200E_206E_200D_202B_202C_206A_202D_200D_200C_206C_202C_206F_200C_206D_202B_202E(elementId, (ElementId)null)) + { + try + { + IQuestInfo questInfo = _questData.GetQuestInfo(elementId); + ImU8String imU8String = new ImU8String(5, 2); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1048034183)); + imU8String.AppendFormatted(text); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1186344051)); + imU8String.AppendFormatted(questInfo.Name); + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E(imU8String); + } + catch + { + ImU8String imU8String2 = new ImU8String(18, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1062168314)); + imU8String2.AppendFormatted(text); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1917054340)); + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E(imU8String2); + } + } + else + { + ImU8String imU8String3 = new ImU8String(2, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(1949919442)); + imU8String3.AppendFormatted(text); + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E(imU8String3); + } + } + finally + { + num = ((colorDisposable == null) ? 1191446963 : 1191446960); + while (true) + { + int num6 = num; + num3 = 1191446961; + num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 0: + num = 1191446960; + break; + case 1: + _200B_200B_202C_206C_202B_200D_202E_206F_202B_200B_202E_200D_200F_202B_202A_202E_200B_206E_200F_206E_202E_202D_206B_202C_202A_200B_202E_200C_206B_200D_206F_202D_202E_206D_206D_206E_200B_200F_206D_202A_202E((IDisposable)colorDisposable); + num = 1191446963; + break; + case 2: + goto end_IL_02be; + } + continue; + end_IL_02be: + break; + } + } + int num9 = num5; + num3 = 1; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num5 = num10 + (num11 + num11); + } + _200C_202E_200E_200B_200F_206F_202E_202D_206B_200D_206C_200F_200B_206F_206A_206E_200F_202D_206F_202C_200D_202C_200E_206E_202E_200B_200D_202C_206F_206D_206A_206F_200F_206D_202C_200C_202C_200D_206C_200D_202E(); + return; + } } } } - private void DrawDisabledTribesDetails(string description) + [MethodImpl(MethodImplOptions.NoInlining)] + private static void DrawGenericDetails(string description) { - string[] array = description.Split(':', 2); - if (array.Length < 2) + string[] array = _200F_200B_206B_202E_200B_206F_202A_206C_200E_206B_206C_202C_206F_206C_206C_202E_202B_206D_206B_206C_202D_202C_200D_202C_200B_202D_202C_200E_202C_206B_202A_200C_206E_200B_206B_200C_202D_200C_206D_202E_202E(description, '\n', StringSplitOptions.None); + int num = 0; + while (true) { - ImGui.TextWrapped(description); - return; - } - ImGui.TextWrapped(array[0]); - ImGui.Spacing(); - List list = (from x in array[1].Split(',', StringSplitOptions.RemoveEmptyEntries) - select x.Trim() into x - where !string.IsNullOrEmpty(x) - select x).Distinct().ToList(); - if (list.Count == 0) - { - ImGui.TextWrapped("(no disabled quests listed)"); - return; - } - ImGui.Text("Disabled Quests:"); - ImGui.Indent(); - Vector4[] array2 = new Vector4[6] - { - ImGuiColors.TankBlue, - ImGuiColors.HealerGreen, - ImGuiColors.DPSRed, - ImGuiColors.ParsedGreen, - ImGuiColors.ParsedBlue, - ImGuiColors.DalamudViolet - }; - for (int num = 0; num < list.Count; num++) - { - string value = list[num]; - Vector4 color = array2[num % array2.Length]; - using (ImRaii.PushColor(ImGuiCol.Text, color)) + int num2; + int num4; + int num5; + if (num < array.Length) { - if (ElementId.TryFromString(value, out ElementId elementId) && elementId != null) + string text = _200E_202C_202A_200E_200E_206D_206D_206A_200E_202D_206E_206A_206D_206F_200D_206C_200F_206F_202B_206A_202B_200F_206F_206E_200B_202E_202E_202E_200B_202D_202D_202A_206E_200D_202A_202B_200F_200B_202B_206D_202E(array[num]); + if (_206F_202B_202A_200C_206B_206E_206D_202A_206C_202D_206E_200C_200D_200E_202E_206B_206F_202B_200B_200C_200B_206C_206D_200F_202E_202D_206F_206F_206C_200D_206E_200D_200E_206D_202E_200F_202D_206F_202A_206D_202E(text)) { + _200B_206B_206C_206E_202A_202B_202B_202D_202B_202D_202B_200E_206B_206A_206F_206E_206F_202C_202D_202D_202D_202C_206F_200B_202E_206B_200E_202D_202D_206D_206F_206B_202E_200C_202E_206D_202E_206F_202E_200D_202E(); + goto IL_022d; + } + if (_202C_200F_206B_202A_206D_200E_206F_206F_200B_206F_200C_206D_206C_206E_206D_200C_202D_200F_200D_200C_202E_206D_206D_202C_200E_200F_200E_202E_202A_202C_202A_206E_206E_202D_202D_202B_206B_206C_200F_206E_202E(text, global::_003CModule_003E._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(487664615), StringComparison.Ordinal) || _202C_200F_206B_202A_206D_200E_206F_206F_200B_206F_200C_206D_206C_206E_206D_200C_202D_200F_200D_200C_202E_206D_206D_202C_200E_200F_200E_202E_202A_202C_202A_206E_206E_202D_202D_202B_206B_206C_200F_206E_202E(text, global::_003CModule_003E._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(-1722402841), StringComparison.Ordinal) || _202C_200F_206B_202A_206D_200E_206F_206F_200B_206F_200C_206D_206C_206E_206D_200C_202D_200F_200D_200C_202E_206D_206D_202C_200E_200F_200E_202E_202A_202C_202A_206E_206E_202D_202D_202B_206B_206C_200F_206E_202E(text, global::_003CModule_003E._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(924453500), StringComparison.Ordinal)) + { + ImRaii.ColorDisposable colorDisposable = _202C_200F_202C_200F_206C_206E_206B_200E_200B_200D_200B_200D_206A_200E_200B_206B_206F_200C_202E_206E_202E_200E_206A_206B_206F_200B_202E_202C_206E_202C_200E_202D_206A_202C_206D_202D_200E_202E_206F_206D_202E(ImGuiCol.Text, _200D_200C_206C_206F_206C_200F_206D_206A_202D_206B_200B_200E_202B_206C_206B_202A_206B_202C_206C_202B_202E_200D_200D_200D_200C_202A_206F_206B_202B_206A_206F_202B_202D_206F_206A_206A_200D_202E_200B_202C_202E(), true); try { - IQuestInfo questInfo = _questData.GetQuestInfo(elementId); - ImU8String text = new ImU8String(5, 2); - text.AppendLiteral("\ufffd "); - text.AppendFormatted(value); - text.AppendLiteral(" - "); - text.AppendFormatted(questInfo.Name); - ImGui.TextWrapped(text); + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E((ImU8String)text); } - catch + finally { - ImU8String text2 = new ImU8String(18, 1); - text2.AppendLiteral("\ufffd "); - text2.AppendFormatted(value); - text2.AppendLiteral(" (unknown quest)"); - ImGui.TextWrapped(text2); + num2 = ((colorDisposable == null) ? 798721950 : 798721949); + while (true) + { + int num3 = num2; + num4 = 798721948; + num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + goto end_IL_00ac; + case 1: + _200B_200B_202C_206C_202B_200D_202E_206F_202B_200B_202E_200D_200F_202B_202A_202E_200B_206E_200F_206E_202E_202D_206B_202C_202A_200B_202E_200C_206B_200D_206F_202D_202E_206D_206D_206E_200B_200F_206D_202A_202E((IDisposable)colorDisposable); + num2 = 798721950; + break; + case 0: + num2 = 798721949; + break; + } + continue; + end_IL_00ac: + break; + } } + goto IL_022d; } - else + if (_206C_206F_202A_200E_206C_200D_200C_206B_200C_200D_206C_206C_202A_200D_200C_206C_202E_202E_206D_202D_200D_202C_202D_206C_206C_206E_202D_202E_200E_202D_202B_206C_200F_202A_200B_206A_202B_202D_200E_202D_202E(text, ':', StringComparison.Ordinal)) { - ImU8String text3 = new ImU8String(2, 1); - text3.AppendLiteral("\ufffd "); - text3.AppendFormatted(value); - ImGui.TextWrapped(text3); + int num6 = _202C_206D_202D_200E_200E_202E_200F_200C_206A_202A_206C_206F_200F_206D_206F_200D_206D_206D_200D_206E_206E_206D_202E_200B_206E_202B_206C_206E_202A_200C_200B_206D_202D_200E_200E_200C_206A_206E_202A_206A_202E(text, ':', StringComparison.Ordinal); + string text2 = _200F_206B_200E_202D_200E_206D_202B_206F_202B_200C_202A_206F_206F_202B_206E_206A_200C_200B_206D_206B_202A_206C_202E_200B_206A_200F_206B_202C_200D_200F_200F_202B_206E_202A_206B_202A_202B_206C_202B_206C_202E(text, 0, num6); + num4 = 1; + num5 = num6; + string text3 = _200B_206D_206F_202E_206F_202E_202D_206D_200B_202D_202A_200E_206B_200E_202C_200E_200D_206D_206A_200E_206D_200E_200B_202E_200C_206E_200F_202A_206C_206C_200F_200F_206C_200B_202B_202B_200C_200C_202E_202D_202E(_206B_206D_200E_206E_200D_206E_206F_202D_206F_200E_202D_206A_206D_200D_200B_206C_200B_206C_206D_206F_202C_206B_200B_200B_206C_206B_206A_200B_202C_200D_206E_202D_206D_200D_206C_206C_200E_206A_202A_202E(text, (num5 | num4) + (num5 & num4))); + ImRaii.ColorDisposable colorDisposable2 = _202C_200F_202C_200F_206C_206E_206B_200E_200B_200D_200B_200D_206A_200E_200B_206B_206F_200C_202E_206E_202E_200E_206A_206B_206F_200B_202E_202C_206E_202C_200E_202D_206A_202C_206D_202D_200E_202E_206F_206D_202E(ImGuiCol.Text, _200E_202B_200D_206D_200C_200E_202B_206B_206B_200D_206A_202D_200B_202D_206B_200E_206D_202E_206A_206E_206A_202C_200E_206F_202D_202D_200B_206A_206A_206E_200B_206B_206D_206E_200D_206D_200C_200E_206E_200E_202E(), true); + try + { + _200C_200F_200D_202C_202A_200C_200F_202C_206A_202A_202E_206A_200D_206C_206F_206F_200D_200F_202A_202C_202E_206E_202D_202E_202E_206E_206A_202B_206C_200B_200C_206D_202E_206A_206F_206F_200F_200F_202E_206E_202E((ImU8String)_202E_202A_202C_206E_200D_202C_202E_206C_202D_200E_206E_206B_206B_202A_206F_206B_202C_200D_206E_206D_200B_206E_202D_200C_200F_202A_200E_200B_206C_206E_202E_206B_202B_202B_200D_200B_202A_202B_206E_202E(text2, global::_003CModule_003E._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(-332393296))); + } + finally + { + num2 = ((colorDisposable2 == null) ? 290111286 : 290111287); + while (true) + { + int num7 = num2; + num4 = 290111286; + num5 = num7; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = 290111287; + break; + case 1: + _200B_200B_202C_206C_202B_200D_202E_206F_202B_200B_202E_200D_200F_202B_202A_202E_200B_206E_200F_206E_202E_202D_206B_202C_202A_200B_202E_200C_206B_200D_206F_202D_202E_206D_206D_206E_200B_200F_206D_202A_202E((IDisposable)colorDisposable2); + num2 = 290111286; + break; + case 0: + goto end_IL_0187; + } + continue; + end_IL_0187: + break; + } + } + _206B_206A_202B_206E_200D_202D_206F_206A_206F_206D_200B_200F_200F_200D_202D_200D_206C_206F_202E_206D_206C_202A_206E_202E_206A_202D_202E_202A_200B_206C_200B_202E_200F_202B_206A_202C_200D_200D_200F_200E_202E(); + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E((ImU8String)text3); + goto IL_022d; } + _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E((ImU8String)text); + num2 = 401389024; } + else + { + num2 = 401389027; + } + while (true) + { + int num8 = num2; + num4 = 401389025; + num5 = num8; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 2: + return; + case 1: + break; + case 0: + goto IL_0256; + } + break; + IL_0256: + num2 = 401389024; + } + goto IL_022d; + IL_022d: + int num9 = num; + num4 = 1; + num5 = num9; + int num10 = num5 ^ num4; + int num11 = num5 & num4; + num = num10 + (num11 + num11); } + } + + static bool _206F_202B_202A_200C_206B_206E_206D_202A_206C_202D_206E_200C_200D_200E_202E_206B_206F_202B_200B_200C_200B_206C_206D_200F_202E_202D_206F_206F_206C_200D_206E_200D_200E_206D_202E_200F_202D_206F_202A_206D_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static string _206B_202D_206D_202B_202C_202A_206D_200E_202A_202B_200B_206D_202D_202B_206D_200C_200D_206A_202D_206B_206F_206E_200E_202E_200C_200C_206A_202E_200C_206E_202E_202B_200C_202D_202E_206D_200C_202A_200F_206A_202E(Regex P_0, string P_1, MatchEvaluator P_2) + { + return P_0.Replace(P_1, P_2); + } + + static bool _200D_206B_200F_200C_206D_200C_206B_206F_200B_202D_202D_202B_200C_200E_202B_200F_206C_202E_200B_200F_200B_202B_206F_202D_200D_202B_202E_200D_200D_202D_202D_200E_200D_206D_206E_202A_206E_206D_200C_206A_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static string _200D_206B_202E_200E_200E_202E_202C_202C_202C_206F_206B_200B_200E_206E_202A_206C_202C_206C_202C_200B_200E_206A_202B_206C_202B_200D_206A_202A_206D_206D_200F_200F_206A_206B_200F_202B_200F_200D_200F_202B_202E(Regex P_0, string P_1, string P_2) + { + return P_0.Replace(P_1, P_2); + } + + static string _202A_206D_200B_206E_206B_206A_200C_206E_206F_206C_206A_202B_200E_206A_202B_206C_206E_200E_202B_206F_200C_200C_202D_200E_200D_200C_200B_206E_202A_202B_200B_202E_206A_206C_206F_202A_200D_202D_202E_202B_202E(string P_0, string P_1, string P_2, StringComparison P_3) + { + return P_0.Replace(P_1, P_2, P_3); + } + + static void _202C_202C_206B_202C_202B_202C_206A_202E_200E_200B_202C_200E_202E_206B_200C_206D_202C_206C_202A_206A_206A_206D_206E_206C_206F_202D_202C_202C_200B_202C_206F_202B_206B_200F_206A_206C_202D_200B_202E_202D_202E(Vector2 P_0, ImGuiCond P_1) + { + ImGui.SetNextWindowSize(P_0, P_1); + } + + static void _206F_202D_206A_202D_200D_202E_200D_200C_206C_200E_206C_206F_200C_206C_202C_200B_206E_206C_206C_200B_206A_206E_200C_200F_202A_202E_202A_200C_206A_202E_200D_206C_202E_206A_200C_200D_202E_206B_202E_200D_202E(Vector2 P_0, Vector2 P_1) + { + ImGui.SetNextWindowSizeConstraints(P_0, P_1); + } + + static bool _202C_202D_206F_206F_206E_206D_202D_202C_202A_206F_200E_206C_206E_200F_206C_206B_200D_206C_202E_202A_200D_202D_200C_202B_206E_202C_206E_206E_202D_206B_200F_200C_206C_202E_200E_206B_206F_206F_202A_206E_202E(ImU8String P_0, ref bool P_1, ImGuiWindowFlags P_2) + { + return ImGui.Begin(P_0, ref P_1, P_2); + } + + static void _206D_200E_206C_202B_206B_202D_202C_206F_206C_206B_206D_206F_206B_202B_202B_200D_206C_202C_202A_206B_206D_202D_206A_206A_206A_202A_206A_206A_202C_200C_202C_200D_200C_200C_200B_200B_206E_200B_202D_202E_202E() + { + ImGui.End(); + } + + static void _200B_200B_202C_206C_202B_200D_202E_206F_202B_200B_202E_200D_200F_202B_202A_202E_200B_206E_200F_206E_202E_202D_206B_202C_202A_200B_202E_200C_206B_200D_206F_202D_202E_206D_206D_206E_200B_200F_206D_202A_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static Vector4 _200D_200C_206C_206F_206C_200F_206D_206A_202D_206B_200B_200E_202B_206C_206B_202A_206B_202C_206C_202B_202E_200D_200D_200D_200C_202A_206F_206B_202B_206A_206F_202B_202D_206F_206A_206A_200D_202E_200B_202C_202E() + { + return ImGuiColors.DalamudRed; + } + + static Vector4 _206E_200F_202A_202C_206F_200C_200F_206A_202E_206B_200C_200F_206D_206A_206F_202B_202D_206C_202E_202D_200D_206B_206B_200B_202D_200C_202D_206F_202E_206C_202A_202B_206A_200E_200F_206C_202B_206C_206D_202D_202E() + { + return ImGuiColors.DalamudYellow; + } + + static Vector4 _206B_206F_200F_202A_206C_206C_206F_206C_202A_200E_202B_200E_202D_202E_202B_202B_206C_202C_202E_202A_206A_206E_200E_206A_206C_206F_200F_206C_200E_200B_202E_202D_206A_206F_200B_200E_206B_202A_200E_200E_202E() + { + return ImGuiColors.DalamudOrange; + } + + static IUiBuilder _206F_200C_206B_206C_202C_200D_206A_202C_202E_202C_200E_206E_206E_200F_206F_202C_202C_206B_206B_206A_206B_202C_202A_206B_206A_202A_206C_206D_202D_206E_202C_206C_202C_200C_202E_200D_200E_206E_200F_206E_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _200B_202C_206C_206C_206D_202B_206C_206A_200C_206B_202E_206A_200C_202E_200B_206A_206A_206A_206E_200F_202B_206A_202E_206C_200C_202A_200C_202D_202E_206A_202B_206E_202D_200B_202E_200D_206D_206C_202B_202A_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _206B_202B_200F_206C_206E_206B_206E_206F_200C_206D_206A_206E_202A_202E_200F_206C_202B_206A_202E_206D_200C_200B_206A_202B_202C_206D_206B_200E_206B_206F_202C_206A_206E_200D_206B_206E_206C_202C_206F_200E_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static ImRaii.ColorDisposable _202C_200F_202C_200F_206C_206E_206B_200E_200B_200D_200B_200D_206A_200E_200B_206B_206F_200C_202E_206E_202E_200E_206A_206B_206F_200B_202E_202C_206E_202C_200E_202D_206A_202C_206D_202D_200E_202E_206F_206D_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static string _200F_202A_200F_202B_200C_200E_206C_200C_206F_206B_200F_202D_200C_202A_206A_206D_200F_206E_206C_206F_206A_202D_202C_202A_206C_206C_206D_202C_206F_200E_206C_206B_200D_202E_200B_202C_200D_200D_200D_200C_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static void _200D_206E_206C_206D_206A_202B_206E_200B_200D_200D_200D_206F_206A_202A_202B_200C_202A_200F_200C_202B_202A_206A_200E_206C_202E_200C_202E_202A_206D_206A_202C_202D_200D_206B_206E_202E_200E_202C_206C_200C_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _206B_206A_202B_206E_200D_202D_206F_206A_206F_206D_200B_200F_200F_200D_202D_200D_206C_206F_202E_206D_206C_202A_206E_202E_206A_202D_202E_202A_200B_206C_200B_202E_200F_202B_206A_202C_200D_200D_200F_200E_202E() + { + ImGui.SameLine(); + } + + static void _200C_200F_200D_202C_202A_200C_200F_202C_206A_202A_202E_206A_200D_206C_206F_206F_200D_200F_202A_202C_202E_206E_202D_202E_202E_206E_206A_202B_206C_200B_200C_206D_202E_206A_206F_206F_200F_200F_202E_206E_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static void _206D_202E_202D_206A_206E_206F_206A_206D_202C_202C_206D_200B_200B_202A_200C_200B_206B_202A_200D_206C_206D_200D_202E_200D_200F_206B_200F_202C_206D_202C_200E_200F_202A_202E_206D_202D_206B_206E_206D_200E_202E() + { + ImGui.Separator(); + } + + static bool _200E_200E_206C_206D_206C_202A_202C_206B_202E_200B_206D_202E_202B_202D_200D_206B_206E_206E_202D_200C_202B_200D_206D_206D_200F_200F_206E_200B_206E_206A_206D_200F_200C_200B_202C_206D_206F_200C_200B_200E_202E(string P_0, ref ElementId P_1) + { + return ElementId.TryFromString(P_0, out P_1); + } + + static bool _202B_206E_200D_200E_200F_200C_202E_206F_200C_206F_206D_202A_206D_202E_200F_202D_202D_202D_206C_200B_202D_200C_200B_206D_202E_200E_206E_200D_202B_202C_206A_202D_200D_200C_206C_202C_206F_200C_206D_202B_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static string[] _200F_200B_206B_202E_200B_206F_202A_206C_200E_206B_206C_202C_206F_206C_206C_202E_202B_206D_206B_206C_202D_202C_200D_202C_200B_202D_202C_200E_202C_206B_202A_200C_206E_200B_206B_200C_202D_200C_206D_202E_202E(string P_0, char P_1, StringSplitOptions P_2) + { + return P_0.Split(P_1, P_2); + } + + static string _200E_202C_202A_200E_200E_206D_206D_206A_200E_202D_206E_206A_206D_206F_200D_206C_200F_206F_202B_206A_202B_200F_206F_206E_200B_202E_202E_202E_200B_202D_202D_202A_206E_200D_202A_202B_200F_200B_202B_206D_202E(string P_0) + { + return P_0.Trim(); + } + + static void _200B_206B_206C_206E_202A_202B_202B_202D_202B_202D_202B_200E_206B_206A_206F_206E_206F_202C_202D_202D_202D_202C_206F_200B_202E_206B_200E_202D_202D_206D_206F_206B_202E_200C_202E_206D_202E_206F_202E_200D_202E() + { + ImGui.Spacing(); + } + + static bool _202C_200F_206B_202A_206D_200E_206F_206F_200B_206F_200C_206D_206C_206E_206D_200C_202D_200F_200D_200C_202E_206D_206D_202C_200E_200F_200E_202E_202A_202C_202A_206E_206E_202D_202D_202B_206B_206C_200F_206E_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.StartsWith(P_1, P_2); + } + + static void _206B_206E_202A_206C_202A_202A_202A_200B_206B_206A_200B_206E_206E_202A_206B_202C_206F_202B_206B_202D_202A_200C_206C_206C_200B_200F_206C_200B_202D_202A_200C_206B_202C_206B_200E_202A_206C_200B_202E_200D_202E(ImU8String P_0) + { + ImGui.TextWrapped(P_0); + } + + static Vector4 _206C_202D_200F_202C_202D_202B_200E_200C_200F_206D_202C_200C_202D_206C_200E_202A_202B_200E_206F_206F_202D_202C_206B_202D_202A_206C_202D_206F_206D_200C_202A_200F_206B_200E_200B_206D_202E_206A_200C_202A_202E() + { + return ImGuiColors.HealerGreen; + } + + static string[] _202A_202B_202B_200B_206B_202A_206B_206F_206D_202E_202A_202C_202D_200E_206A_200D_206D_200D_206A_200C_202C_206B_206A_202C_206A_202B_202B_206E_202D_202C_202D_200F_200C_206B_206A_202C_200C_206D_200C_202E_202E(string P_0, char P_1, int P_2, StringSplitOptions P_3) + { + return P_0.Split(P_1, P_2, P_3); + } + + static void _202D_202D_206A_200B_206A_206D_200C_206C_206F_200D_206A_206A_206D_200C_206C_202A_206C_206C_200F_202B_206C_206C_206C_206A_200D_206D_202E_206B_202C_202A_206E_202B_206B_202E_200F_202A_200E_206F_200E_206E_202E() + { + ImGui.Indent(); + } + + static Vector4 _206E_200C_202C_206E_200B_200B_206D_202E_206F_206C_200C_200E_202D_202B_200B_206C_202E_206B_206D_200E_202B_202A_200F_200E_206F_206D_206E_206F_206B_200B_206E_200D_206C_200E_206B_202B_202C_200F_202C_206E_202E() + { + return ImGuiColors.TankBlue; + } + + static Vector4 _206A_206D_206F_206A_200E_200B_206D_202B_202A_206A_206A_206B_206F_202B_206E_206E_202A_202B_200B_202A_206D_206D_202B_206E_200E_202B_202C_200E_202E_206D_202D_206D_206A_202C_200C_206C_202A_200F_202C_200D_202E() + { + return ImGuiColors.DPSRed; + } + + static Vector4 _202D_202D_202B_202D_206D_200F_200B_200D_206E_206A_202A_202E_206E_202C_202E_206B_200D_202E_200D_200C_200F_202B_206E_200C_202D_206D_206F_200F_202B_202E_200C_202B_202D_200E_206C_202C_206F_202D_202D_206C_202E() + { + return ImGuiColors.ParsedGreen; + } + + static Vector4 _200E_202B_200D_206D_200C_200E_202B_206B_206B_200D_206A_202D_200B_202D_206B_200E_206D_202E_206A_206E_206A_202C_200E_206F_202D_202D_200B_206A_206A_206E_200B_206B_206D_206E_200D_206D_200C_200E_206E_200E_202E() + { + return ImGuiColors.ParsedBlue; + } + + static Vector4 _206E_200C_200E_206C_202D_202D_200B_202A_202C_200E_200B_206F_206E_206E_206A_200B_206A_200E_206A_200C_200D_200E_202C_202C_200D_200F_202A_200E_202B_200F_200B_202B_202C_206F_206B_206B_206E_200D_202A_200D_202E() + { + return ImGuiColors.DalamudViolet; + } + + static void _200C_202E_200E_200B_200F_206F_202E_202D_206B_200D_206C_200F_200B_206F_206A_206E_200F_202D_206F_202C_200D_202C_200E_206E_202E_200B_200D_202C_206F_206D_206A_206F_200F_206D_202C_200C_202C_200D_206C_200D_202E() + { ImGui.Unindent(); } - private void DrawEnhancedJsonSchemaDetails(string description) + static bool _206C_206F_202A_200E_206C_200D_200C_206B_200C_200D_206C_206C_202A_200D_200C_206C_202E_202E_206D_202D_200D_202C_202D_206C_206C_206E_202D_202E_200E_202D_202B_206C_200F_202A_200B_206A_202B_202D_200E_202D_202E(string P_0, char P_1, StringComparison P_2) { - 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); - } + return P_0.Contains(P_1, P_2); } - private void DrawJsonValidationError(JsonValidationError error, int index) + static int _202C_206D_202D_200E_200E_202E_200F_200C_206A_202A_206C_206F_200F_206D_206F_200D_206D_206D_200D_206E_206E_206D_202E_200B_206E_202B_206C_206E_202A_200C_200B_206D_202D_200E_200E_200C_206A_206E_202A_206A_202E(string P_0, char P_1, StringComparison P_2) { - 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); + return P_0.IndexOf(P_1, P_2); } - private static void DrawSimpleJsonSchemaDetails(string description) + static string _200F_206B_200E_202D_200E_206D_202B_206F_202B_200C_202A_206F_206F_202B_206E_206A_200C_200B_206D_206B_202A_206C_202E_200B_206A_200F_206B_202C_200D_200F_200F_202B_206E_202A_206B_202A_202B_206C_202B_206C_202E(string P_0, int P_1, int P_2) { - 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)); - } - } + return P_0.Substring(P_1, P_2); } - private static List ParseJsonValidationErrors(string description) + static string _206B_206D_200E_206E_200D_206E_206F_202D_206F_200E_202D_206A_206D_200D_200B_206C_200B_206C_206D_206F_202C_206B_200B_200B_206C_206B_206A_200B_202C_200D_206E_202D_206D_200D_206C_206C_200E_206A_202A_202E(string P_0, int P_1) { - 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; + return P_0.Substring(P_1); } - private static string FormatJsonPath(string path) + static string _200B_206D_206F_202E_206F_202E_202D_206D_200B_202D_202A_200E_206B_200E_202C_200E_200D_206D_206A_200E_206D_200E_200B_202E_200C_206E_200F_202A_206C_206C_200F_200F_206C_200B_202B_202B_200C_200C_202E_202D_202E(string P_0) { - 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 ""; + return P_0.TrimStart(); } - private static List GetValidationSuggestions(JsonValidationError error) + static string _202E_202A_202C_206E_200D_202C_202E_206C_202D_200E_206E_206B_206B_202A_206F_206B_202C_200D_206E_206D_200B_206E_202D_200C_200F_202A_200E_200B_206C_206E_202E_206B_202B_202B_200D_200B_202A_202B_206E_202E(string P_0, string P_1) { - 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(); + return P_0 + P_1; } - private static void DrawGenericDetails(string description) + static Regex _202B_202E_206B_206B_200D_202B_202C_202A_200E_206E_202B_200B_202B_206E_200B_200C_202E_200E_206B_206A_206F_202C_200B_206A_200D_206A_200F_206B_206C_206B_200F_200E_206E_206E_206C_202B_202A_206D_206B_202E(string P_0, RegexOptions P_1) { - string[] array = description.Split('\n'); - for (int i = 0; i < array.Length; i++) - { - string text = array[i].Trim(); - if (string.IsNullOrEmpty(text)) - { - ImGui.Spacing(); - } - else if (text.StartsWith("Error:", StringComparison.Ordinal) || text.StartsWith("Invalid", StringComparison.Ordinal) || text.StartsWith("Missing", StringComparison.Ordinal)) - { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) - { - ImGui.TextWrapped(text); - } - } - else if (text.Contains(':', StringComparison.Ordinal)) - { - int num = text.IndexOf(':', StringComparison.Ordinal); - string text2 = text.Substring(0, num); - string text3 = text.Substring(num + 1).TrimStart(); - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedBlue)) - { - ImGui.Text(text2 + ":"); - } - ImGui.SameLine(); - ImGui.TextWrapped(text3); - } - else - { - ImGui.TextWrapped(text); - } - } + return new Regex(P_0, P_1); } } diff --git a/Questionable/Questionable.Windows.Setup/EssentialSettingsStep.cs b/Questionable/Questionable.Windows.Setup/EssentialSettingsStep.cs new file mode 100644 index 00000000..4bd5deef --- /dev/null +++ b/Questionable/Questionable.Windows.Setup/EssentialSettingsStep.cs @@ -0,0 +1,231 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Bindings.ImGui; +using Dalamud.Plugin; +using LLib.GameData; +using Questionable.Windows.ConfigComponents; + +namespace Questionable.Windows.Setup; + +internal sealed class EssentialSettingsStep : ISetupStep +{ + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__12_0; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003CAutoDutyInstalled_003Eb__12_0(IExposedPlugin x) + { + int num = ((!_202C_206F_206D_200C_200E_202B_202A_206A_206A_206D_202C_202B_206E_200C_200D_202E_202C_200F_200F_200C_200D_200F_206F_202B_202D_202B_200D_206F_202A_200E_202D_202B_202A_200D_206B_200C_200C_200C_206F_206E_202E(_200F_206F_202C_202B_200D_202E_202D_202C_202A_200D_200F_202E_200C_202E_202C_202B_202D_206E_200E_206C_202D_200C_200E_200B_202A_202E_206B_202B_202C_200D_200C_202E_200C_200B_202E_200E_200D_202B_200C_200E_202E(x), global::_003CModule_003E._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(-1920887579))) ? 794105866 : 794105867); + while (true) + { + int num2 = num; + int num3 = 794105866; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0055; + case 0: + return false; + case 1: + return _202D_200C_200F_206F_200C_200C_202E_202B_202B_200B_202C_202A_206C_200D_202B_206F_200C_200F_200C_206F_202A_202B_202A_200D_202C_200D_202E_206E_202E_206B_206A_206B_202A_200B_206A_200E_206C_206A_200C_206B_202E(x); + } + continue; + IL_0055: + num = 794105867; + } + } + + static string _200F_206F_202C_202B_200D_202E_202D_202C_202A_200D_200F_202E_200C_202E_202C_202B_202D_206E_200E_206C_202D_200C_200E_200B_202A_202E_206B_202B_202C_200D_200C_202E_200C_200B_202E_200E_200D_202B_200C_200E_202E(IExposedPlugin P_0) + { + return P_0.InternalName; + } + + static bool _202C_206F_206D_200C_200E_202B_202A_206A_206A_206D_202C_202B_206E_200C_200D_202E_202C_200F_200F_200C_200D_200F_206F_202B_202D_202B_200D_206F_202A_200E_202D_202B_202A_200D_206B_200C_200C_200C_206F_206E_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static bool _202D_200C_200F_206F_200C_200C_202E_202B_202B_200B_202C_202A_206C_200D_202B_206F_200C_200F_200C_206F_202A_202B_202A_200D_202C_200D_202E_206E_202E_206B_206A_206B_202A_200B_206A_200E_206C_206A_200C_206B_202E(IExposedPlugin P_0) + { + return P_0.IsLoaded; + } + } + + private const float MaxComboWidth = 300f; + + private readonly GeneralConfigComponent _generalConfigComponent; + + private readonly DutyConfigComponent _dutyConfigComponent; + + private readonly IDalamudPluginInterface _pluginInterface; + + public string Title + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(1784162476); + } + } + + public bool CanAdvance => true; + + public EssentialSettingsStep(GeneralConfigComponent generalConfigComponent, DutyConfigComponent dutyConfigComponent, IDalamudPluginInterface pluginInterface) + { + _generalConfigComponent = generalConfigComponent; + _dutyConfigComponent = dutyConfigComponent; + _pluginInterface = pluginInterface; + } + + public bool ShouldShow() + { + int num = (GrandCompanyNotJoined() ? (-22021032) : (-22021031)); + while (true) + { + int num2 = num; + int num3 = -22021032; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0047; + case 1: + return AutoDutyInstalled(); + case 0: + return true; + } + continue; + IL_0047: + num = -22021031; + } + } + + bool ISetupStep.ShouldShow() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldShow + return this.ShouldShow(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Draw() + { + int num = ((!GrandCompanyNotJoined()) ? 607897982 : 607897977); + while (true) + { + int num2 = num; + int num3 = 607897978; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(1099527439)); + _206B_206A_202A_206B_200E_200C_206C_200F_206A_206C_202D_206B_206D_200F_200D_202A_206C_206E_202D_202C_206B_206A_200F_202B_206B_202E_206B_200F_206A_200D_202C_206E_200F_202A_202D_206C_202E_202D_200E_200E_202E(0f); + _202A_202E_200D_202A_202E_200D_206F_206D_202C_202A_200D_202E_202B_200F_206C_202D_206E_206E_200B_200D_206F_200F_206F_202E_200C_206A_200D_206E_206F_200C_206E_202A_206A_202E_200D_200D_200D_206C_202A_206F_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(1066832142)); + _202C_206D_200E_202D_200C_200B_202B_200D_200C_206B_206C_206F_202D_200B_206F_200B_200B_200B_200B_200B_200F_202A_206C_206A_206D_206D_202C_202E_202B_206F_202D_206C_202C_200C_202D_200B_206E_206E_202B_206B_202E(); + _dutyConfigComponent.DrawAutoDutySettings(); + num = 607897976; + break; + case 3: + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(819285658)); + _206B_206A_202A_206B_200E_200C_206C_200F_206A_206C_202D_206B_206D_200F_200D_202A_206C_206E_202D_202C_206B_206A_200F_202B_206B_202E_206B_200F_206A_200D_202C_206E_200F_202A_202D_206C_202E_202D_200E_200E_202E(0f); + _202A_202E_200D_202A_202E_200D_206F_206D_202C_202A_200D_202E_202B_200F_206C_202D_206E_206E_200B_200D_206F_200F_206F_202E_200C_206A_200D_206E_206F_200C_206E_202A_206A_202E_200D_200D_200D_206C_202A_206F_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(476554444)); + _202C_206D_200E_202D_200C_200B_202B_200D_200C_206B_206C_206F_202D_200B_206F_200B_200B_200B_200B_200B_200F_202A_206C_206A_206D_206D_202C_202E_202B_206F_202D_206C_202C_200C_202D_200B_206E_206E_202B_206B_202E(); + _generalConfigComponent.DrawGrandCompanySelector(_202B_202B_202C_206A_200E_206F_202E_206B_200E_200C_206D_202E_202A_202C_200F_206D_200C_206F_200F_200F_206C_206E_202E_202E_200F_202E_206C_206D_206F_200C_206E_200B_206F_206B_200F_202D_202A_206A_206A_206E_202E(_206D_202B_202A_200D_206A_206F_202E_200F_200F_206A_206A_202B_202B_200C_202A_206F_202B_200F_200E_202E_206C_206F_202D_206E_202E_206C_200E_202D_200C_202E_202E_200D_206F_206E_200E_202D_206B_206A_206A_200D_202E().X, 300f)); + UiThemeUtils.SectionSpacing(); + num = 607897982; + break; + case 2: + return; + case 4: + num = ((!AutoDutyInstalled()) ? 607897976 : 607897979); + break; + case 0: + num = 607897977; + break; + } + } + } + + void ISetupStep.Draw() + { + //ILSpy generated this explicit interface implementation from .override directive in Draw + this.Draw(); + } + + private static bool GrandCompanyNotJoined() + { + return _202B_200E_206A_206B_202C_206C_200D_200E_202E_206D_200F_202A_206F_206C_200E_202B_206C_202D_206E_202E_206F_202D_206C_200F_206F_200B_206D_202A_202A_200D_206E_202C_206A_206C_200C_206E_206E_200B_200B_200C_202E() == 0; + } + + private bool AutoDutyInstalled() + { + return _202B_202A_202C_206E_206D_206B_202B_200E_206B_202A_206D_202E_202E_202B_200E_200C_206F_202C_202E_202B_206A_206D_200B_206F_202D_200B_206A_202D_202D_206C_200B_206C_206A_200C_206C_200C_202A_206D_200C_206F_202E(_pluginInterface).Any([MethodImpl(MethodImplOptions.NoInlining)] (IExposedPlugin x) => + { + int num = ((!_003C_003Ec._202C_206F_206D_200C_200E_202B_202A_206A_206A_206D_202C_202B_206E_200C_200D_202E_202C_200F_200F_200C_200D_200F_206F_202B_202D_202B_200D_206F_202A_200E_202D_202B_202A_200D_206B_200C_200C_200C_206F_206E_202E(_003C_003Ec._200F_206F_202C_202B_200D_202E_202D_202C_202A_200D_200F_202E_200C_202E_202C_202B_202D_206E_200E_206C_202D_200C_200E_200B_202A_202E_206B_202B_202C_200D_200C_202E_200C_200B_202E_200E_200D_202B_200C_200E_202E(x), global::_003CModule_003E._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(-1920887579))) ? 794105866 : 794105867); + while (true) + { + int num2 = num; + int num3 = 794105866; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0055; + case 0: + return false; + case 1: + return _003C_003Ec._202D_200C_200F_206F_200C_200C_202E_202B_202B_200B_202C_202A_206C_200D_202B_206F_200C_200F_200C_206F_202A_202B_202A_200D_202C_200D_202E_206E_202E_206B_206A_206B_202A_200B_206A_200E_206C_206A_200C_206B_202E(x); + } + continue; + IL_0055: + num = 794105867; + } + }); + } + + static void _206B_206A_202A_206B_200E_200C_206C_200F_206A_206C_202D_206B_206D_200F_200D_202A_206C_206E_202D_202C_206B_206A_200F_202B_206B_202E_206B_200F_206A_200D_202C_206E_200F_202A_202D_206C_202E_202D_200E_200E_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static void _202A_202E_200D_202A_202E_200D_206F_206D_202C_202A_200D_202E_202B_200F_206C_202D_206E_206E_200B_200D_206F_200F_206F_202E_200C_206A_200D_206E_206F_200C_206E_202A_206A_202E_200D_200D_200D_206C_202A_206F_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _202C_206D_200E_202D_200C_200B_202B_200D_200C_206B_206C_206F_202D_200B_206F_200B_200B_200B_200B_200B_200F_202A_206C_206A_206D_206D_202C_202E_202B_206F_202D_206C_202C_200C_202D_200B_206E_206E_202B_206B_202E() + { + ImGui.PopTextWrapPos(); + } + + static Vector2 _206D_202B_202A_200D_206A_206F_202E_200F_200F_206A_206A_202B_202B_200C_202A_206F_202B_200F_200E_202E_206C_206F_202D_206E_202E_206C_200E_202D_200C_202E_202E_200D_206F_206E_200E_202D_206B_206A_206A_200D_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static float _202B_202B_202C_206A_200E_206F_202E_206B_200E_200C_206D_202E_202A_202C_200F_206D_200C_206F_200F_200F_206C_206E_202E_202E_200F_202E_206C_206D_206F_200C_206E_200B_206F_206B_200F_202D_202A_206A_206A_206E_202E(float P_0, float P_1) + { + return MathF.Min(P_0, P_1); + } + + static byte _202B_200E_206A_206B_202C_206C_200D_200E_202E_206D_200F_202A_206F_206C_200E_202B_206C_202D_206E_202E_206F_202D_206C_200F_206F_200B_206D_202A_202A_200D_206E_202C_206A_206C_200C_206E_206E_200B_200B_200C_202E() + { + return GrandCompanyHelper.GetGrandCompanyId(); + } + + static IEnumerable _202B_202A_202C_206E_206D_206B_202B_200E_206B_202A_206D_202E_202E_202B_200E_200C_206F_202C_202E_202B_206A_206D_200B_206F_202D_200B_206A_202D_202D_206C_200B_206C_206A_200C_206C_200C_202A_206D_200C_206F_202E(IDalamudPluginInterface P_0) + { + return P_0.InstalledPlugins; + } +} diff --git a/Questionable/Questionable.Windows.Setup/ISetupStep.cs b/Questionable/Questionable.Windows.Setup/ISetupStep.cs new file mode 100644 index 00000000..11967d50 --- /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 00000000..5a311742 --- /dev/null +++ b/Questionable/Questionable.Windows.Setup/PluginsStep.cs @@ -0,0 +1,49 @@ +using System.Runtime.CompilerServices; +using Questionable.Windows.ConfigComponents; + +namespace Questionable.Windows.Setup; + +internal sealed class PluginsStep : ISetupStep +{ + private readonly PluginConfigComponent _pluginConfigComponent; + + private bool _allRequiredInstalled; + + public string Title + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(-1242474630); + } + } + + public bool CanAdvance => _allRequiredInstalled; + + public PluginsStep(PluginConfigComponent pluginConfigComponent) + { + _pluginConfigComponent = pluginConfigComponent; + } + + public bool ShouldShow() + { + return true; + } + + bool ISetupStep.ShouldShow() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldShow + return this.ShouldShow(); + } + + public void Draw() + { + _pluginConfigComponent.Draw(out _allRequiredInstalled); + } + + void ISetupStep.Draw() + { + //ILSpy generated this explicit interface implementation from .override directive in Draw + this.Draw(); + } +} diff --git a/Questionable/Questionable.Windows.Setup/ReadyStep.cs b/Questionable/Questionable.Windows.Setup/ReadyStep.cs new file mode 100644 index 00000000..aaaa5049 --- /dev/null +++ b/Questionable/Questionable.Windows.Setup/ReadyStep.cs @@ -0,0 +1,81 @@ +using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Bindings.ImGui; + +namespace Questionable.Windows.Setup; + +internal sealed class ReadyStep : ISetupStep +{ + public string Title + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(-1485427555); + } + } + + public bool CanAdvance => true; + + public bool ShouldShow() + { + return true; + } + + bool ISetupStep.ShouldShow() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldShow + return this.ShouldShow(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Draw() + { + _206E_206F_206A_202E_202E_206C_206E_202B_200C_200B_206D_200D_202B_206F_200C_206A_200E_200B_202B_206D_200E_206A_202B_200E_206C_200B_206E_200B_200F_202E_206F_202A_206B_200C_206F_200D_200C_206C_206F_206C_202E(0f); + _200E_200F_206A_200B_202D_200C_200C_200C_200D_206F_200E_200B_206C_206A_202E_206E_200D_200D_206E_206E_200F_200B_206B_202B_202C_206F_200D_206F_206C_202D_202D_206F_206D_202D_206B_202E_206B_206C_200D_202E_202E((ImU8String)global::_003CModule_003E._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(337843363)); + _202C_200E_200B_200E_202B_206A_206A_206D_200E_206C_202E_202B_200D_206B_200F_202D_206A_202A_206F_202E_202E_200F_206A_202B_206B_200D_200C_200F_200C_200D_200D_206E_200D_200E_202D_202E_202C_206D_202D_202E(); + _200D_202E_202B_202D_202E_206C_202A_206E_200E_200F_200B_200C_202C_202C_206B_206C_206D_206F_200F_206A_206A_206A_202C_202C_202B_202A_200C_206A_202A_200C_206D_202B_206C_206B_202A_200E_200B_202E_202A_202D_202E(); + _206F_200E_202C_206D_206F_206F_200C_200F_200E_206C_206A_200B_202A_202C_206B_202A_200F_200F_200F_202C_206F_202E_202B_206A_206F_200F_206E_202E_200F_206F_200C_200C_200F_206A_200C_202C_202A_206A_200E_200D_202E((ImU8String)global::_003CModule_003E._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(-986146011)); + _206F_200E_202C_206D_206F_206F_200C_200F_200E_206C_206A_200B_202A_202C_206B_202A_200F_200F_200F_202C_206F_202E_202B_206A_206F_200F_206E_202E_200F_206F_200C_200C_200F_206A_200C_202C_202A_206A_200E_200D_202E((ImU8String)global::_003CModule_003E._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(599483750)); + _206F_200E_202C_206D_206F_206F_200C_200F_200E_206C_206A_200B_202A_202C_206B_202A_200F_200F_200F_202C_206F_202E_202B_206A_206F_200F_206E_202E_200F_206F_200C_200C_200F_206A_200C_202C_202A_206A_200E_200D_202E((ImU8String)global::_003CModule_003E._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(-112977426)); + _206F_200E_202C_206D_206F_206F_200C_200F_200E_206C_206A_200B_202A_202C_206B_202A_200F_200F_200F_202C_206F_202E_202B_206A_206F_200F_206E_202E_200F_206F_200C_200C_200F_206A_200C_202C_202A_206A_200E_200D_202E((ImU8String)global::_003CModule_003E._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(2083520083)); + _200D_202E_202B_202D_202E_206C_202A_206E_200E_200F_200B_200C_202C_202C_206B_206C_206D_206F_200F_206A_206A_206A_202C_202C_202B_202A_200C_206A_202A_200C_206D_202B_206C_206B_202A_200E_200B_202E_202A_202D_202E(); + _202B_200C_206B_202B_200B_200C_202A_200C_200B_200F_202B_202C_206B_200F_202A_202C_206F_200F_200E_206B_206D_206E_202B_200F_200D_206A_202C_202D_206F_202D_202B_200C_206C_206C_202E_206C_202D_206A_200D_200D_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(1984563182)); + } + + void ISetupStep.Draw() + { + //ILSpy generated this explicit interface implementation from .override directive in Draw + this.Draw(); + } + + static void _206E_206F_206A_202E_202E_206C_206E_202B_200C_200B_206D_200D_202B_206F_200C_206A_200E_200B_202B_206D_200E_206A_202B_200E_206C_200B_206E_200B_200F_202E_206F_202A_206B_200C_206F_200D_200C_206C_206F_206C_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static void _200E_200F_206A_200B_202D_200C_200C_200C_200D_206F_200E_200B_206C_206A_202E_206E_200D_200D_206E_206E_200F_200B_206B_202B_202C_206F_200D_206F_206C_202D_202D_206F_206D_202D_206B_202E_206B_206C_200D_202E_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _202C_200E_200B_200E_202B_206A_206A_206D_200E_206C_202E_202B_200D_206B_200F_202D_206A_202A_206F_202E_202E_200F_206A_202B_206B_200D_200C_200F_200C_200D_200D_206E_200D_200E_202D_202E_202C_206D_202D_202E() + { + ImGui.PopTextWrapPos(); + } + + static void _200D_202E_202B_202D_202E_206C_202A_206E_200E_200F_200B_200C_202C_202C_206B_206C_206D_206F_200F_206A_206A_206A_202C_202C_202B_202A_200C_206A_202A_200C_206D_202B_206C_206B_202A_200E_200B_202E_202A_202D_202E() + { + ImGui.Spacing(); + } + + static void _206F_200E_202C_206D_206F_206F_200C_200F_200E_206C_206A_200B_202A_202C_206B_202A_200F_200F_200F_202C_206F_202E_202B_206A_206F_200F_206E_202E_200F_206F_200C_200C_200F_206A_200C_202C_202A_206A_200E_200D_202E(ImU8String P_0) + { + ImGui.BulletText(P_0); + } + + static void _202B_200C_206B_202B_200B_200C_202A_200C_200B_200F_202B_202C_206B_200F_202A_202C_206F_200F_200E_206B_206D_206E_202B_200F_200D_206A_202C_202D_206F_202D_202B_200C_206C_206C_202E_206C_202D_206A_200D_200D_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } +} diff --git a/Questionable/Questionable.Windows.Setup/WelcomeStep.cs b/Questionable/Questionable.Windows.Setup/WelcomeStep.cs new file mode 100644 index 00000000..3c43ed84 --- /dev/null +++ b/Questionable/Questionable.Windows.Setup/WelcomeStep.cs @@ -0,0 +1,71 @@ +using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Bindings.ImGui; + +namespace Questionable.Windows.Setup; + +internal sealed class WelcomeStep : ISetupStep +{ + public string Title + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return global::_003CModule_003E._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(-460917793); + } + } + + public bool CanAdvance => true; + + public bool ShouldShow() + { + return true; + } + + bool ISetupStep.ShouldShow() + { + //ILSpy generated this explicit interface implementation from .override directive in ShouldShow + return this.ShouldShow(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public void Draw() + { + _206F_202B_202B_206B_206C_206D_200B_200D_202B_206E_206E_206F_202E_200F_202C_202E_206A_202D_200E_202E_200C_206D_206F_200E_200F_200B_206A_202C_202B_202B_206E_206E_202E_202B_206F_202A_200F_206D_202D_206E_202E(0f); + _202E_202C_200C_202E_200B_200C_200B_206D_202E_200D_202B_202A_200F_200E_200E_202C_206E_206D_200B_200E_206C_202E_206C_206C_202D_202C_200C_202B_200E_200B_200F_206B_202D_206F_206D_206C_206D_206F_200F_200F_202E((ImU8String)global::_003CModule_003E._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(1095272585)); + _206B_206E_200F_206B_200C_200F_200D_202B_206F_206A_200F_202A_200E_200E_200D_202A_206D_200D_200C_206B_202B_206D_206B_200D_206A_200C_206F_206C_202C_202B_206A_206B_206F_206B_200D_200F_206B_202D_206A_202D_202E(); + _200B_202E_200B_202E_206D_202A_202A_202A_206F_202C_202A_200D_202B_202E_206E_202C_200D_202D_200F_202C_206F_206C_200E_202E_200D_202C_202C_206D_206B_202D_206F_200E_202A_200B_206A_202B_200C_206A_200D_206B_202E(ref UiThemeUtils.DimTextColor, (ImU8String)global::_003CModule_003E._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(2065925173)); + _202B_200B_206B_206B_206B_202E_206E_200D_206F_202D_200F_200E_202D_202E_206A_200E_202D_200F_206B_206B_200D_206B_200C_206D_206E_202B_202A_206A_200C_206A_200B_202B_206D_206B_202B_206F_200D_202E_206F_206E_202E(); + } + + void ISetupStep.Draw() + { + //ILSpy generated this explicit interface implementation from .override directive in Draw + this.Draw(); + } + + static void _206F_202B_202B_206B_206C_206D_200B_200D_202B_206E_206E_206F_202E_200F_202C_202E_206A_202D_200E_202E_200C_206D_206F_200E_200F_200B_206A_202C_202B_202B_206E_206E_202E_202B_206F_202A_200F_206D_202D_206E_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static void _202E_202C_200C_202E_200B_200C_200B_206D_202E_200D_202B_202A_200F_200E_200E_202C_206E_206D_200B_200E_206C_202E_206C_206C_202D_202C_200C_202B_200E_200B_200F_206B_202D_206F_206D_206C_206D_206F_200F_200F_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _206B_206E_200F_206B_200C_200F_200D_202B_206F_206A_200F_202A_200E_200E_200D_202A_206D_200D_200C_206B_202B_206D_206B_200D_206A_200C_206F_206C_202C_202B_206A_206B_206F_206B_200D_200F_206B_202D_206A_202D_202E() + { + ImGui.Spacing(); + } + + static void _200B_202E_200B_202E_206D_202A_202A_202A_206F_202C_202A_200D_202B_202E_206E_202C_200D_202D_200F_202C_206F_206C_200E_202E_200D_202C_202C_206D_206B_202D_206F_200E_202A_200B_206A_202B_200C_206A_200D_206B_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _202B_200B_206B_206B_206B_202E_206E_200D_206F_202D_200F_200E_202D_202E_206A_200E_202D_200F_206B_206B_200D_206B_200C_206D_206E_202B_202A_206A_200C_206A_200B_202B_206D_206B_202B_206F_200D_202E_206F_206E_202E() + { + ImGui.PopTextWrapPos(); + } +} diff --git a/Questionable/Questionable.Windows.SmartNavComponents/DataProbesPanel.cs b/Questionable/Questionable.Windows.SmartNavComponents/DataProbesPanel.cs new file mode 100644 index 00000000..ebb4be88 --- /dev/null +++ b/Questionable/Questionable.Windows.SmartNavComponents/DataProbesPanel.cs @@ -0,0 +1,2654 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +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; +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 +{ + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__19_0; + + public static Func, uint> _003C_003E9__19_1; + + public static Func, int> _003C_003E9__19_2; + + public static Func _003C_003E9__19_3; + + public static Func, WarpDataService.WarpInfo> _003C_003E9__19_4; + + public static Func _003C_003E9__21_0; + + public static Func _003C_003E9__21_1; + + public static Func _003C_003E9__21_2; + + public static Func, WarpDataService.WarpInfo> _003C_003E9__21_3; + + public static Func<(uint RowId, float Delta), float> _003C_003E9__21_4; + + public static Func<(uint RowId, float Delta), bool> _003C_003E9__21_5; + + public static Func<(uint RowId, float Delta), string> _003C_003E9__21_6; + + public static Func _003C_003E9__24_0; + + public static Func _003C_003E9__24_1; + + public static Func _003C_003E9__24_2; + + public static Func _003C_003E9__26_1; + + public static Func, bool> _003C_003E9__26_2; + + public static Func, IEnumerable> _003C_003E9__26_3; + + internal uint _003CBuildMultiQuestReport_003Eb__19_0(NavNode.WarpNode n) + { + return _200F_200E_202A_206E_200C_200C_206A_200D_206E_200E_200F_206F_202E_206E_202E_206D_200C_202D_200F_202B_202C_206A_206F_202A_206C_206D_206E_202C_200C_206A_202E_200F_202A_206B_202A_202A_206A_202D_200F_206C_202E(n); + } + + internal uint _003CBuildMultiQuestReport_003Eb__19_1(IGrouping g) + { + return g.Key; + } + + internal int _003CBuildMultiQuestReport_003Eb__19_2(IGrouping g) + { + return g.Count(); + } + + internal uint _003CBuildMultiQuestReport_003Eb__19_3(WarpDataService.WarpInfo w) + { + return _202A_202D_200F_202D_206C_206E_202B_206A_202C_200B_200D_200B_200F_206F_202C_206F_202E_206C_202A_200B_202D_200C_206C_202A_206E_206E_200E_206E_206C_206E_202E_200E_206E_202B_206C_206B_206E_200D_202B_206F_202E(w); + } + + internal WarpDataService.WarpInfo _003CBuildMultiQuestReport_003Eb__19_4(IGrouping g) + { + return g.First(); + } + + internal string _003CBuildPopRangeReport_003Eb__21_0(string f) + { + return f; + } + + internal int _003CBuildPopRangeReport_003Eb__21_1(string _) + { + return 0; + } + + internal uint _003CBuildPopRangeReport_003Eb__21_2(WarpDataService.WarpInfo w) + { + return _202A_202D_200F_202D_206C_206E_202B_206A_202C_200B_200D_200B_200F_206F_202C_206F_202E_206C_202A_200B_202D_200C_206C_202A_206E_206E_200E_206E_206C_206E_202E_200E_206E_202B_206C_206B_206E_200D_202B_206F_202E(w); + } + + internal WarpDataService.WarpInfo _003CBuildPopRangeReport_003Eb__21_3(IGrouping g) + { + return g.First(); + } + + internal float _003CBuildPopRangeReport_003Eb__21_4((uint RowId, float Delta) d) + { + return d.Delta; + } + + internal bool _003CBuildPopRangeReport_003Eb__21_5((uint RowId, float Delta) d) + { + return d.Delta > 20f; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003CBuildPopRangeReport_003Eb__21_6((uint RowId, float Delta) d) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(4, 2); + defaultInterpolatedStringHandler.AppendFormatted(d.RowId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1473546846)); + defaultInterpolatedStringHandler.AppendFormatted(d.Delta.ToString(global::_003CModule_003E._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(-1819906059), _206E_200E_200C_200D_206F_200C_200E_206B_200E_202B_202C_200F_200C_200D_206B_206D_200D_206F_200F_202B_202B_206E_202E_202C_206F_200F_200D_202D_206F_200E_206E_200B_206F_200C_202C_200C_200D_200F_206B_202B_202E())); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-572338381)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + + internal string _003CBuildDerivedArrivalExport_003Eb__24_0(string f) + { + return f; + } + + internal int _003CBuildDerivedArrivalExport_003Eb__24_1(string _) + { + return 0; + } + + internal bool _003CBuildDerivedArrivalExport_003Eb__24_2(Warp x) + { + return x.RowId != 0; + } + + internal uint _003CBuildLayerSetReport_003Eb__26_1(TerritoryType t) + { + return t.RowId; + } + + internal bool _003CBuildLayerSetReport_003Eb__26_2(List refs) + { + return refs.Count > 0; + } + + internal IEnumerable _003CBuildLayerSetReport_003Eb__26_3(List refs) + { + return refs; + } + + static uint _200F_200E_202A_206E_200C_200C_206A_200D_206E_200E_200F_206F_202E_206E_202E_206D_200C_202D_200F_202B_202C_206A_206F_202A_206C_206D_206E_202C_200C_206A_202E_200F_202A_206B_202A_202A_206A_202D_200F_206C_202E(NavNode.WarpNode P_0) + { + return P_0.WarpRowId; + } + + static uint _202A_202D_200F_202D_206C_206E_202B_206A_202C_200B_200D_200B_200F_206F_202C_206F_202E_206C_202A_200B_202D_200C_206C_202A_206E_206E_200E_206E_206C_206E_202E_200E_206E_202B_206C_206B_206E_200D_202B_206F_202E(WarpDataService.WarpInfo P_0) + { + return P_0.RowId; + } + + static CultureInfo _206E_200E_200C_200D_206F_200C_200E_206B_200E_202B_202C_200F_200C_200D_206B_206D_200D_206F_200F_202B_202B_206E_202E_202C_206F_200F_200D_202D_206F_200E_206E_200B_206F_200C_202C_200C_200D_200F_206B_202B_202E() + { + return CultureInfo.InvariantCulture; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass26_0 + { + public string bg; + + public Dictionary> owners; + + public Func _003C_003E9__4; + + internal bool _003CBuildLayerSetReport_003Eb__0(TerritoryType t) + { + int num = ((t.RowId == 0) ? (-1476010825) : (-1476010828)); + while (true) + { + int num2 = num; + int num3 = -1476010826; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0049; + case 2: + return _206E_200D_206F_202A_206D_200B_206A_206B_206C_202B_202E_202E_202E_206C_202E_200B_202A_206C_200B_202D_200D_206B_200F_206E_206A_202C_206F_206F_200C_206A_202E_200F_202C_200D_206E_200E_206F_200B_206F_200D_202E(t.Bg.ExtractText(), bg); + case 1: + return false; + } + continue; + IL_0049: + num = -1476010828; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal string _003CBuildLayerSetReport_003Eb__4(uint setId) + { + List value; + int num = (owners.TryGetValue(setId, out value) ? (-1977504847) : (-1977504846)); + while (true) + { + int num2 = num; + int num3 = -1977504845; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return string.Join(global::_003CModule_003E._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(-1680133376), value); + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(12, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-884751217)); + defaultInterpolatedStringHandler.AppendFormatted(setId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1951044220)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + case 0: + goto IL_00a0; + } + continue; + IL_00a0: + num = -1977504846; + } + } + + static bool _206E_200D_206F_202A_206D_200B_206A_206B_206C_202B_202E_202E_202E_206C_202E_200B_202A_206C_200B_202D_200D_206B_200F_206E_206A_202C_206F_206F_200C_206A_202E_200F_202C_200D_206E_200E_206F_200B_206F_200D_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + } + + private static readonly string[] PlanFiles = new string[4] + { + global::_003CModule_003E._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(206471200), + global::_003CModule_003E._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(1323857348), + global::_003CModule_003E._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(-2108959274), + global::_003CModule_003E._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(-1776312573) + }; + + private static readonly JsonSerializerOptions IndentedJson; + + 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(); + _206E_202C_206B_202A_202A_206A_200E_206C_202C_202B_200F_206D_200E_206E_206F_202B_202A_206A_206B_202B_200C_202E_202E_206F_206C_202D_206F_202D_206A_200E_202D_206E_206B_200F_206A_206E_206E_206C_202E_202E_202E(); + DrawPopRangeProbe(); + _206E_202C_206B_202A_202A_206A_200E_206C_202C_202B_200F_206D_200E_206E_206F_202B_202A_206A_206B_202B_200C_202E_202E_206F_206C_202D_206F_202D_206A_200E_202D_206E_206B_200F_206A_206E_206E_206C_202E_202E_202E(); + DrawDerivedArrivalExport(); + _206E_202C_206B_202A_202A_206A_200E_206C_202C_202B_200F_206D_200E_206E_206F_202B_202A_206A_206B_202B_200C_202E_202E_206F_206C_202D_206F_202D_206A_200E_202D_206E_206B_200F_206A_206E_206E_206C_202E_202E_202E(); + DrawLayerSetProbe(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static void DrawReport(string id, ref string? report) + { + int num = ((report != null) ? (-753612430) : (-753612431)); + while (true) + { + int num2 = num; + int num3 = -753612432; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = -753612431; + break; + case 5: + { + _206E_200E_200E_206D_206A_206E_206B_206E_202C_202B_202A_206C_200F_206E_202E_202E_202C_206B_202E_206B_206C_206F_200D_202B_200B_202C_200E_206D_200B_202B_202A_200B_202B_202A_206D_200B_206E_200D_200E_202A_202E(); + ImU8String imU8String3 = new ImU8String(7, 1); + imU8String3.AppendLiteral(global::_003CModule_003E._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(870892128)); + imU8String3.AppendFormatted(id); + num = ((!_202E_206D_202D_202A_206D_206A_200E_200B_202E_202B_202B_206C_200B_202C_206B_206A_206D_202E_202B_202A_202B_202B_200E_206F_206E_200D_202E_206B_202A_202C_206D_200C_200D_200B_206D_200B_202A_202B_202A_200F_202E(imU8String3, default(Vector2))) ? (-753612426) : (-753612432)); + break; + } + case 2: + { + _206E_200E_200E_206D_206A_206E_206B_206E_202C_202B_202A_206C_200F_206E_202E_202E_202C_206B_202E_206B_206C_206F_200D_202B_200B_202C_200E_206D_200B_202B_202A_200B_202B_202A_206D_200B_206E_200D_200E_202A_202E(); + ImU8String imU8String2 = new ImU8String(6, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1091508196)); + imU8String2.AppendFormatted(id); + num = ((!_202E_206D_202D_202A_206D_206A_200E_200B_202E_202B_202B_206C_200B_202C_206B_206A_206D_202E_202B_202A_202B_202B_200E_206F_206E_200D_202E_206B_202A_202C_206D_200C_200D_200B_206D_200B_202A_202B_202A_200F_202E(imU8String2, default(Vector2))) ? (-753612427) : (-753612429)); + break; + } + case 1: + return; + case 0: + report = null; + return; + case 3: + _206F_200F_200D_206E_206B_200F_202A_200D_200F_202B_206C_202D_206F_200E_200B_206F_202B_206B_202E_206A_206E_200D_206A_200E_202C_206F_200C_200F_200E_206D_202D_202A_200E_206D_200B_202C_200C_202A_202A_206C_202E((ImU8String)report); + num = -753612427; + break; + case 6: + { + ImU8String imU8String = new ImU8String(7, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1426082020)); + imU8String.AppendFormatted(id); + imU8String.AppendLiteral(global::_003CModule_003E._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(687358983)); + using ImRaii.ChildDisposable childDisposable = _206C_202C_200C_200F_206B_202D_202E_206C_202E_206F_202E_206B_206D_206F_206C_206D_206C_202A_202D_200C_202D_202D_202C_202B_202D_206C_202C_200B_202E_206B_200D_206F_202C_200E_206F_202C_202C_200E_206B_206E_202E(imU8String, new Vector2(-1f, 300f), true); + num = ((!(bool)childDisposable) ? (-374858060) : (-374858057)); + while (true) + { + int num7 = num; + num3 = -374858059; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -374858057; + break; + case 2: + _206A_202A_200D_206D_206F_206E_206A_200D_200D_202C_206F_206D_202C_206C_206C_206B_206C_206B_202A_200E_206D_206A_200E_200D_206E_200D_206F_206F_202A_200D_200B_202C_200D_206B_206A_200F_202D_200B_200C_206B_202E((ImU8String)report); + num = -374858060; + break; + case 1: + return; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawMultiQuestWarpAudit() + { + int num = (_200D_202B_200B_206D_200C_202D_206C_206B_202A_206E_202B_200D_200E_200B_206F_206C_206A_202D_206E_206D_206C_200F_206F_206C_202A_206B_200B_206D_206B_200C_200E_202B_206C_206C_200C_202D_202D_200B_202D_206D_202E((ImU8String)global::_003CModule_003E._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(-488829420), ImGuiTreeNodeFlags.DefaultOpen) ? 1612118690 : 1612118689); + while (true) + { + int num2 = num; + int num3 = 1612118691; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + DrawReport(global::_003CModule_003E._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(270971945), ref _multiQuestReport); + return; + case 2: + return; + case 3: + num = 1612118689; + break; + case 1: + _202C_200D_202E_206B_206F_200D_202B_200E_206C_202C_200F_200F_200D_200D_200F_206C_200B_206B_200E_206C_200F_202B_202C_206E_202D_200B_200D_200E_202E_200B_200F_206D_202D_200C_206E_202E_206E_200F_202A_206E_202E((ImU8String)global::_003CModule_003E._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(-901431591)); + num = ((!_202E_206D_202D_202A_206D_206A_200E_200B_202E_202B_202B_206C_200B_202C_206B_206A_206D_202E_202B_202A_202B_202B_200E_206F_206E_200D_202E_206B_202A_202C_206D_200C_200D_200B_206D_200B_202A_202B_202A_200F_202E((ImU8String)global::_003CModule_003E._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(-1620439513), default(Vector2))) ? 1612118691 : 1612118695); + break; + case 4: + _multiQuestReport = RunGuarded(BuildMultiQuestReport); + num = 1612118691; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private string BuildMultiQuestReport() + { + StringBuilder stringBuilder = _200C_200B_206F_206E_206D_206D_202E_206B_202B_202A_200E_200F_202B_206F_200D_200E_202A_206A_200C_200B_206C_206C_202A_206D_206C_202A_202C_202E_206C_206E_206C_206B_206B_206C_200C_202B_202B_200F_200B_202E_202E(); + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + ExcelSheet excelSheet2 = _dataManager.GetExcelSheet(); + Dictionary dictionary = (from n in _202D_200E_206A_200F_206E_206F_200C_200E_206B_206B_206E_202B_202E_206F_200C_206C_206A_202B_200E_202C_200F_206B_200D_202C_206E_202B_200E_200C_202E_206F_200E_200B_202A_206B_202D_202B_200C_200E_202A_206E_202E(_206F_202D_206E_206E_202C_206F_206B_206B_206E_200F_200E_200C_206F_206A_202E_206C_202E_200E_202C_202A_206F_200F_206A_206C_202B_202B_202C_206D_206C_200F_202E_200C_202C_200C_202A_200D_202E_202A_200D_206D_202E(_navRouter)).Values.OfType() + group n by _003C_003Ec._200F_200E_202A_206E_200C_200C_206A_200D_206E_200E_200F_206F_202E_206E_202E_206D_200C_202D_200F_202B_202C_206A_206F_202A_206C_206D_206E_202C_200C_206A_202E_200F_202A_206B_202A_202A_206A_202D_200F_206C_202E(n)).ToDictionary((IGrouping g) => g.Key, (IGrouping g) => g.Count()); + int num = 0; + IEnumerator enumerator = (from w in _200F_206D_206B_206C_202B_206B_206E_200F_202C_202C_202C_206F_202C_200D_202D_200B_200B_206D_206F_202E_200D_206C_202A_206D_202D_202A_200F_206D_202A_206C_202E_202A_206A_202B_200C_206E_202C_200B_202C_202E_202E(_warpDataService) + group w by _003C_003Ec._202A_202D_200F_202D_206C_206E_202B_206A_202C_200B_200D_200B_200F_206F_202C_206F_202E_206C_202A_200B_202D_200C_206C_202A_206E_206E_200E_206E_206C_206E_202E_200E_206E_202B_206C_206B_206E_200D_202B_206F_202E(w) into g + select g.First()).GetEnumerator(); + StringBuilder stringBuilder2; + IFormatProvider formatProvider; + StringBuilder.AppendInterpolatedStringHandler appendInterpolatedStringHandler; + try + { + int num2 = -632491453; + uint num13 = default(uint); + uint[] array = default(uint[]); + int num12 = default(int); + bool flag = default(bool); + WarpDataService.WarpInfo current = default(WarpDataService.WarpInfo); + Warp? rowOrDefault = default(Warp?); + int num10 = default(int); + uint value = default(uint); + while (true) + { + int num3 = num2; + int num4 = -632491452; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + byte? obj; + int num8; + bool num11; + bool flag2; + bool flag3; + StringBuilder stringBuilder3; + IFormatProvider formatProvider2; + byte? b; + StringBuilder stringBuilder4; + IFormatProvider formatProvider3; + StringBuilder stringBuilder5; + IFormatProvider formatProvider4; + StringBuilder stringBuilder6; + IFormatProvider formatProvider5; + StringBuilder stringBuilder7; + IFormatProvider formatProvider6; + switch (num6 - (num7 + num7)) + { + case 4: + { + num13 = array[num12]; + uint num14 = num13; + num4 = 65535; + num5 = (int)num14; + flag = QuestManager.IsQuestComplete((ushort)(num5 + num4 - (num5 | num4))); + num2 = ((!flag) ? (-632491447) : (-632491449)); + break; + } + case 6: + num2 = (_206A_206D_200E_200B_202B_202D_200E_206A_200B_200B_202E_202E_202A_200B_206B_200E_202C_206F_200F_202D_206D_202A_206C_202A_206C_200D_200C_200E_200F_206B_206C_206F_206B_206F_202D_206C_206A_202A_206A_206C_202E(current) ? (-632491443) : (-632491448)); + break; + case 5: + { + int num15 = num; + num4 = 1; + num5 = num15; + int num16 = num5 ^ num4; + int num17 = num5 & num4; + num = num16 + (num17 + num17); + rowOrDefault = excelSheet.GetRowOrDefault(_206A_200E_200D_202B_206D_202B_206F_202D_202C_200F_206C_202C_206F_202E_200B_202C_200D_206B_202A_206A_200B_202B_200C_202D_206F_202C_206D_200E_202E_200C_200E_206E_200D_202D_200D_200E_202E_200B_206C_200E_202E(current)); + num2 = (rowOrDefault.HasValue ? (-632491451) : (-632491441)); + break; + } + case 7: + num2 = (_206A_200F_206D_206E_200B_206D_206D_200C_202A_202A_200D_206A_206F_202C_202A_200D_200F_200B_206E_200B_206E_202B_206D_200B_202C_202E_200B_206A_202D_206F_200F_206F_206D_206C_206F_206D_206D_202B_206D_202E_202E((IEnumerator)enumerator) ? (-632491444) : (-632491445)); + break; + case 2: + obj = rowOrDefault.GetValueOrDefault().WarpCondition.ValueNullable?.CompleteParam; + goto IL_02b0; + case 0: + num2 = ((num12 < array.Length) ? (-632491456) : (-632491454)); + break; + case 13: + { + string value2 = excelSheet2.GetRowOrDefault(num13)?.Name.ExtractText() ?? global::_003CModule_003E._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(2023081068); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder8 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider7 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(13, 3, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2110536125)); + appendInterpolatedStringHandler.AppendFormatted(num13); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(971140366)); + appendInterpolatedStringHandler.AppendFormatted(value2); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1924112)); + appendInterpolatedStringHandler.AppendFormatted(flag ? global::_003CModule_003E._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(-473328538) : global::_003CModule_003E._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(1919722774)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder8, formatProvider7, ref appendInterpolatedStringHandler); + int num18 = num12; + num4 = 1; + num5 = num18; + int num19 = num5 ^ num4; + int num20 = num5 & num4; + num12 = num19 + (num20 + num20); + num2 = -632491452; + break; + } + case 10: + num2 = -632491453; + break; + case 1: + num8 = (int)rowOrDefault.GetValueOrDefault().WarpCondition.RowId; + goto IL_06bd; + case 9: + num11 = num10 == _206E_206E_206C_202C_202E_200B_206A_206E_206A_206B_200F_200C_206E_206D_206E_206D_206B_202A_206A_206B_200D_200C_206C_206F_200E_206E_202C_206D_200D_206C_202D_200C_200C_206A_200E_206E_206D_206F_200C_200C_202E(current).Length; + goto IL_06f0; + case 8: + current = enumerator.Current; + num2 = ((_206E_206E_206C_202C_202E_200B_206A_206E_206A_206B_200F_200C_206E_206D_206E_206D_206B_202A_206A_206B_200D_200C_206C_206F_200E_206E_202C_206D_200D_206C_202D_200C_200C_206A_200E_206E_206D_206F_200C_200C_202E(current).Length < 2) ? (-632491453) : (-632491455)); + break; + case 12: + num11 = num10 > 0; + goto IL_06f0; + case 3: + { + int num9 = num10; + num4 = 1; + num5 = num9; + num10 = (num5 | num4) + (num5 & num4); + num2 = -632491447; + break; + } + case 14: + obj = null; + goto IL_02b0; + case 11: + num8 = 0; + goto IL_06bd; + case 15: + goto end_IL_012e; + IL_06f0: + flag2 = num11; + flag3 = num10 == _206E_206E_206C_202C_202E_200B_206A_206E_206A_206B_200F_200C_206E_206D_206E_206D_206B_202A_206A_206B_200D_200C_206C_206F_200E_206E_202C_206D_200D_206C_202D_200C_200C_206A_200E_206E_206D_206F_200C_200C_202E(current).Length; + stringBuilder2 = stringBuilder; + stringBuilder3 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + formatProvider2 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(34, 3, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(690137559)); + appendInterpolatedStringHandler.AppendFormatted(flag2); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(160720765)); + appendInterpolatedStringHandler.AppendFormatted(flag3); + appendInterpolatedStringHandler.AppendFormatted((flag2 != flag3) ? global::_003CModule_003E._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(-804156053) : global::_003CModule_003E._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(1200342830)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder3, formatProvider2, ref appendInterpolatedStringHandler); + num2 = -632491453; + break; + IL_06bd: + value = (uint)num8; + num2 = (rowOrDefault.HasValue ? (-632491450) : (-632491446)); + break; + IL_02b0: + b = obj; + stringBuilder2 = stringBuilder; + stringBuilder4 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + formatProvider3 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(12, 3, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1758336508)); + appendInterpolatedStringHandler.AppendFormatted(_206A_200E_200D_202B_206D_202B_206F_202D_202C_200F_206C_202C_206F_202E_200B_202C_200D_206B_202A_206A_200B_202B_200C_202D_206F_202C_206D_200E_202E_200C_200E_206E_200D_202D_200D_200E_202E_200B_206C_200E_202E(current)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1021698688)); + appendInterpolatedStringHandler.AppendFormatted(_200E_206B_206D_202D_206E_206F_200D_206C_202D_206A_200C_202C_200C_200D_202B_202B_206F_200D_200E_206E_206B_206C_200E_202D_206B_206C_200E_200E_206A_202E_202D_202B_200E_206A_200C_200C_202D_200C_200C_200F_202E(current) ?? _206F_200E_206B_202D_202B_202E_206F_200D_206B_202B_206C_206F_202B_202B_200F_206A_202A_206E_206A_202D_202B_200C_202C_202D_200F_206F_202D_202D_200D_206D_200C_206C_202B_206E_206A_206C_206C_206E_206E_202A_202E(current) ?? global::_003CModule_003E._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(-98105394)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(478204787)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-412371683)); + appendInterpolatedStringHandler.AppendFormatted(_territoryData.GetNameAndId(_206C_206A_202A_206A_202E_200F_206F_202D_200C_200D_202C_200C_200C_206B_200C_206B_206F_202E_206E_200C_206A_200C_200D_202E_200C_202D_200B_206C_200C_202D_206F_206B_202B_202E_200D_202C_202D_202D_206D_202E(current))); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder4, formatProvider3, ref appendInterpolatedStringHandler); + stringBuilder2 = stringBuilder; + stringBuilder5 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + formatProvider4 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(47, 3, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1377099346)); + appendInterpolatedStringHandler.AppendFormatted(value); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-234256389)); + appendInterpolatedStringHandler.AppendFormatted(b?.ToString(_202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E()) ?? global::_003CModule_003E._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(-1923490088)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1467939024)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1752738461)); + appendInterpolatedStringHandler.AppendFormatted(_206A_206D_200E_200B_202B_202D_200E_206A_200B_200B_202E_202E_202A_200B_206B_200E_202C_206F_200F_202D_206D_202A_206C_202A_206C_200D_200C_200E_200F_206B_206C_206F_206B_206F_202D_206C_206A_202A_206A_206C_202E(current)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder5, formatProvider4, ref appendInterpolatedStringHandler); + stringBuilder2 = stringBuilder; + stringBuilder6 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + formatProvider5 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(37, 4, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(755477848)); + appendInterpolatedStringHandler.AppendFormatted(_206C_200F_206C_206D_202A_206A_206B_202A_202D_200E_206B_202E_202C_200C_206C_206F_202D_206D_202E_200E_206C_200C_200B_202C_206B_202B_206F_200C_202E_200D_202D_200D_206D_200C_206B_200E_206B_206C_206C_200F_202E(current)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-324914973)); + appendInterpolatedStringHandler.AppendFormatted(_202E_200F_206B_206C_206E_202E_200C_206B_206A_200E_200C_200F_200B_206C_206F_200F_206A_200C_202E_202A_200C_200D_200C_200E_200E_200E_200E_200D_202D_200C_206F_206F_202B_202A_206C_200C_202D_206C_206F_206D_202E(current)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1087086507)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(348634305)); + appendInterpolatedStringHandler.AppendFormatted(_200C_206D_206F_200C_200D_200B_206A_200D_202C_200E_202C_202B_202A_200D_202B_206F_206B_206B_206F_206C_202A_200E_202C_200D_202D_206C_202B_206D_206E_206B_202A_206C_202D_200F_202D_202B_202E_206B_200B_206A_202E(current)?.ToString(_202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E()) ?? global::_003CModule_003E._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(-2079705286)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1526773328)); + appendInterpolatedStringHandler.AppendFormatted(_206E_200C_206A_206A_200C_200E_206C_202B_206D_206E_206D_202E_202C_200B_206C_206D_200D_202D_202B_202B_200C_200D_200B_206A_200C_206D_202C_202E_202B_206F_206A_206B_206D_200C_206B_202E_206A_200E_206C_200E_202E(current)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder6, formatProvider5, ref appendInterpolatedStringHandler); + stringBuilder2 = stringBuilder; + stringBuilder7 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + formatProvider6 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(35, 1, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(784094329)); + appendInterpolatedStringHandler.AppendFormatted(dictionary.GetValueOrDefault(_206A_200E_200D_202B_206D_202B_206F_202D_202C_200F_206C_202C_206F_202E_200B_202C_200D_206B_202A_206A_200B_202B_200C_202D_206F_202C_206D_200E_202E_200C_200E_206E_200D_202D_200D_200E_202E_200B_206C_200E_202E(current))); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder7, formatProvider6, ref appendInterpolatedStringHandler); + num10 = 0; + array = _206E_206E_206C_202C_202E_200B_206A_206E_206A_206B_200F_200C_206E_206D_206E_206D_206B_202A_206A_206B_200D_200C_206C_206F_200E_206E_202C_206D_200D_206C_202D_200C_200C_206A_200E_206E_206D_206F_200C_200C_202E(current); + num12 = 0; + num2 = -632491452; + break; + } + continue; + end_IL_012e: + break; + } + } + finally + { + int num2 = ((enumerator == null) ? (-2074056579) : (-2074056580)); + while (true) + { + int num21 = num2; + int num4 = -2074056579; + int num5 = num21; + int num22 = num5 + num4; + int num23 = num5 & num4; + switch (num22 - (num23 + num23)) + { + case 2: + num2 = -2074056580; + break; + case 0: + goto end_IL_0845; + case 1: + _202A_202C_202E_206A_200C_206D_206F_202C_202B_206D_206C_200D_202B_206B_200B_202D_200B_202B_200C_206D_202B_200E_202E_200D_206C_202A_200E_200C_206C_202B_206C_202C_202C_200E_202A_206D_202B_206E_206D_200D_202E((IDisposable)enumerator); + num2 = -2074056579; + break; + } + continue; + end_IL_0845: + break; + } + } + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder9 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider8 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(26, 1, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendFormatted(num); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1953035271)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder9, formatProvider8, ref appendInterpolatedStringHandler); + return _200F_200E_202E_206F_200B_202E_206C_206B_202C_200E_200F_206F_206E_202A_202A_200C_200F_200C_200B_202B_200B_206D_206D_206E_202B_200D_206B_202A_200B_206E_200E_200C_202A_200F_200B_200B_200F_202D_206B_206C_202E((object)stringBuilder); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawPopRangeProbe() + { + int num = (_200D_202B_200B_206D_200C_202D_206C_206B_202A_206E_202B_200D_200E_200B_206F_206C_206A_202D_206E_206D_206C_200F_206F_206C_202A_206B_200B_206D_206B_200C_200E_202B_206C_206C_200C_202D_202D_200B_202D_206D_202E((ImU8String)global::_003CModule_003E._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(-1280712506), ImGuiTreeNodeFlags.DefaultOpen) ? 279269062 : 279269063); + while (true) + { + int num2 = num; + int num3 = 279269062; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + _popRangeReport = RunGuarded(BuildPopRangeReport); + num = 279269061; + break; + case 1: + return; + case 2: + num = 279269063; + break; + case 3: + DrawReport(global::_003CModule_003E._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(-78184768), ref _popRangeReport); + return; + case 0: + _202C_200D_202E_206B_206F_200D_202B_200E_206C_202C_200F_200F_200D_200D_200F_206C_200B_206B_200E_206C_200F_202B_202C_206E_202D_200B_200D_200E_202E_200B_200F_206D_202D_200C_206E_202E_206E_200F_202A_206E_202E((ImU8String)global::_003CModule_003E._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(-1522247978)); + _206A_206F_206B_200F_206F_200F_200F_202E_206F_206C_206C_202E_206F_202C_200F_202B_206D_202C_206A_202A_206C_200D_200D_206C_206E_202C_206C_202C_200F_206E_200C_206C_200E_206C_206C_206B_200B_200B_200C_202D_202E((ImU8String)global::_003CModule_003E._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(-414215116), ref _popRangeOnlyDestinationless); + num = ((!_202E_206D_202D_202A_206D_206A_200E_200B_202E_202B_202B_206C_200B_202C_206B_206A_206D_202E_202B_202A_202B_202B_200E_206F_206E_200D_202E_206B_202A_202C_206D_200C_200D_200B_206D_200B_202A_202B_202A_200F_202E((ImU8String)global::_003CModule_003E._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(186029883), default(Vector2))) ? 279269061 : 279269058); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private string BuildPopRangeReport() + { + StringBuilder stringBuilder = _200C_200B_206F_206E_206D_206D_202E_206B_202B_202A_200E_200F_202B_206F_200D_200E_202A_206A_200C_200B_206C_206C_202A_206D_206C_202A_202C_202E_206C_206E_206C_206B_206B_206C_200C_202B_202B_200F_200B_202E_202E(); + 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; + IEnumerator enumerator = (from w in _200F_206D_206B_206C_202B_206B_206E_200F_202C_202C_202C_206F_202C_200D_202D_200B_200B_206D_206F_202E_200D_206C_202A_206D_202D_202A_200F_206D_202A_206C_202E_202A_206A_202B_200C_206E_202C_200B_202C_202E_202E(_warpDataService) + group w by _003C_003Ec._202A_202D_200F_202D_206C_206E_202B_206A_202C_200B_200D_200B_200F_206F_202C_206F_202E_206C_202A_200B_202D_200C_206C_202A_206E_206E_200E_206E_206C_206E_202E_200E_206E_202B_206C_206B_206E_200D_202B_206F_202E(w) into g + select g.First()).GetEnumerator(); + int num12; + int num10; + StringBuilder stringBuilder2; + IFormatProvider formatProvider; + StringBuilder.AppendInterpolatedStringHandler appendInterpolatedStringHandler; + try + { + WarpDataService.WarpInfo current = default(WarpDataService.WarpInfo); + Vector3? vector = default(Vector3?); + uint rowId = default(uint); + uint rowId2 = default(uint); + bool flag = default(bool); + List list2 = default(List); + Vector3? vector2 = default(Vector3?); + Vector3 value2 = default(Vector3); + string text = default(string); + string value4 = default(string); + while (true) + { + IL_057c: + if (_206A_200F_206D_206E_200B_206D_206D_200C_202A_202A_200D_206A_206F_202C_202A_200D_200F_200B_206E_200B_206E_202B_206D_200B_202C_202E_200B_206A_202D_206F_200F_206F_206D_206C_206F_206D_206D_202B_206D_202E_202E((IEnumerator)enumerator)) + { + current = enumerator.Current; + if (_popRangeOnlyDestinationless) + { + vector = _200D_206E_202D_206B_206B_206E_206E_200C_202B_206F_206C_200E_200B_202D_202D_202D_206E_202A_200B_202C_202D_206D_206C_206B_200F_202E_202E_206A_206C_206F_206A_206A_206C_202D_200C_206B_206C_206F_206E_206C_202E(current); + if (vector.HasValue) + { + continue; + } + } + Warp? rowOrDefault = excelSheet.GetRowOrDefault(_206A_200E_200D_202B_206D_202B_206F_202D_202C_200F_206C_202C_206F_202E_200B_202C_200D_206B_202A_206A_200B_202B_200C_202D_206F_202C_206D_200E_202E_200C_200E_206E_200D_202D_200D_200E_202E_200B_206C_200E_202E(current)); + if (!rowOrDefault.HasValue) + { + continue; + } + int num4 = num; + int num5 = 1; + int num6 = num4; + int num7 = num6 ^ num5; + int num8 = num6 & num5; + num = num7 + (num8 + num8); + rowId = rowOrDefault.Value.PopRange.RowId; + rowId2 = rowOrDefault.Value.TerritoryType.RowId; + flag = rowId != 0 && excelSheet2.HasRow(rowId); + if (flag) + { + int num9 = num3; + num5 = 1; + num6 = num9; + num3 = (num6 | num5) + (num6 & num5); + } + list2 = new List(); + vector2 = null; + using (Dictionary>.Enumerator enumerator2 = ScanPopRanges(cache, rowId2).GetEnumerator()) + { + num10 = -1179116054; + while (true) + { + int num11 = num10; + num5 = -1179116053; + num6 = num11; + string key; + switch ((num6 | num5) - (num6 & num5)) + { + case 3: + { + Vector3 valueOrDefault = value2; + vector2 = valueOrDefault; + num10 = -1179116054; + break; + } + case 2: + { + enumerator2.Current.Deconstruct(out key, out var value); + text = key; + num10 = ((!value.TryGetValue(rowId, out value2)) ? (-1179116054) : (-1179116049)); + break; + } + case 1: + num10 = (enumerator2.MoveNext() ? (-1179116055) : (-1179116053)); + break; + case 5: + num10 = -1179116054; + break; + case 4: + { + list2.Add(text); + key = text; + num12 = dictionary[key]; + string key2 = key; + int num13 = num12; + num5 = 1; + num6 = num13; + dictionary[key2] = (num6 | num5) + (num6 & num5); + Vector3 valueOrDefault = vector2.GetValueOrDefault(); + num10 = (vector2.HasValue ? (-1179116054) : (-1179116056)); + break; + } + case 0: + goto end_IL_01ec; + } + continue; + end_IL_01ec: + break; + } + } + num10 = ((list2.Count != 0) ? 2075588319 : 2075588315); + } + else + { + num10 = 2075588318; + } + while (true) + { + int num14 = num10; + int num5 = 2075588317; + int num6 = num14; + int num15 = num6 + num5; + int num16 = num6 & num5; + switch (num15 - (num16 + num16)) + { + default: + continue; + case 8: + num10 = (_206D_202B_200C_206B_200D_206F_206F_200F_200B_202B_206B_200C_202E_206C_202D_200E_202A_200D_206A_202B_200E_206C_200C_200C_202A_206C_202D_202A_206C_200F_206D_206E_202A_206E_200C_200D_206F_200E_200E_206A_202E(current) ? 2075588316 : 2075588313); + continue; + case 2: + value4 = global::_003CModule_003E._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(-1720149641); + num10 = ((!vector2.HasValue) ? 2075588316 : 2075588309); + continue; + case 0: + { + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder3 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider2 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(39, 8, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1658781691)); + appendInterpolatedStringHandler.AppendFormatted(_206A_200E_200D_202B_206D_202B_206F_202D_202C_200F_206C_202C_206F_202E_200B_202C_200D_206B_202A_206A_200B_202B_200C_202D_206F_202C_206D_200E_202E_200C_200E_206E_200D_202D_200D_200E_202E_200B_206C_200E_202E(current)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(121974199)); + appendInterpolatedStringHandler.AppendFormatted(_200E_206B_206D_202D_206E_206F_200D_206C_202D_206A_200C_202C_200C_200D_202B_202B_206F_200D_200E_206E_206B_206C_200E_202D_206B_206C_200E_200E_206A_202E_202D_202B_200E_206A_200C_200C_202D_200C_200C_200F_202E(current) ?? _206F_200E_206B_202D_202B_202E_206F_200D_206B_202B_206C_206F_202B_202B_200F_206A_202A_206E_206A_202D_202B_200C_202C_202D_200F_206F_202D_202D_200D_206D_200C_206C_202B_206E_206A_206C_206C_206E_206E_202A_202E(current) ?? global::_003CModule_003E._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(1887683575)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1389973659)); + appendInterpolatedStringHandler.AppendFormatted(rowId); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-324914973)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1558307452)); + appendInterpolatedStringHandler.AppendFormatted(_territoryData.GetNameAndId(rowId2)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2035955381)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1784638708)); + appendInterpolatedStringHandler.AppendFormatted(flag); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1132877285)); + appendInterpolatedStringHandler.AppendFormatted((list2.Count > 0) ? _200D_200B_202E_200D_202A_202B_206F_200F_202B_200D_200B_202C_200E_206F_202C_206D_206A_202A_206A_206D_206D_200E_206F_206C_206F_202C_202C_202B_200F_202D_200B_200D_206D_200B_202B_206C_206D_200F_206F_206E_202E(global::_003CModule_003E._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(1754250772), (IEnumerable)list2) : global::_003CModule_003E._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(1971210874)); + string value3; + if (!vector2.HasValue) + { + value3 = global::_003CModule_003E._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(-87324410); + } + else + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-695175043)); + defaultInterpolatedStringHandler.AppendFormatted(vector2.Value); + value3 = defaultInterpolatedStringHandler.ToStringAndClear(); + } + appendInterpolatedStringHandler.AppendFormatted(value3); + appendInterpolatedStringHandler.AppendFormatted(value4); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder3, formatProvider2, ref appendInterpolatedStringHandler); + break; + } + case 1: + num10 = ((!_206D_202B_200C_206B_200D_206F_206F_200F_200B_202B_206B_200C_202E_206C_202D_200E_202A_200D_206A_202B_200E_206C_200C_200C_202A_206C_202D_202A_206C_200F_206D_206E_202A_206E_200C_200D_206F_200E_200E_206A_202E(current)) ? 2075588317 : 2075588314); + continue; + case 6: + { + int num17 = num2; + num5 = 1; + num6 = num17; + int num18 = num6 ^ num5; + int num19 = num6 & num5; + num2 = num18 + (num19 + num19); + num10 = 2075588319; + continue; + } + case 7: + value4 = global::_003CModule_003E._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(1056949931); + num10 = 2075588317; + continue; + case 9: + { + Vector3 valueOrDefault2 = vector.GetValueOrDefault(); + float item = Vector3.Distance(vector2.Value, valueOrDefault2); + list.Add((_206A_200E_200D_202B_206D_202B_206F_202D_202C_200F_206C_202C_206F_202E_200B_202C_200D_206B_202A_206A_200B_202B_200C_202D_206F_202C_206D_200E_202E_200C_200E_206E_200D_202D_200D_200E_202E_200B_206C_200E_202E(current), item)); + value4 = _202B_200B_202E_200C_202A_202C_206A_200D_206D_200E_206E_202C_202E_202E_200C_202A_206E_200C_206D_202E_206D_200D_202E_206F_206C_200B_200E_206F_202E_200E_206B_200C_206E_206B_202D_206F_200E_202A_206D_200F_202E(global::_003CModule_003E._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(1690644541), item.ToString(global::_003CModule_003E._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(-1324991826), _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E()), global::_003CModule_003E._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(-997794500)); + num10 = 2075588317; + continue; + } + case 5: + num10 = 2075588315; + continue; + case 4: + vector = _200D_206E_202D_206B_206B_206E_206E_200C_202B_206F_206C_200E_200B_202D_202D_202D_206E_202A_200B_202C_202D_206D_206C_206B_200F_202E_202E_206A_206C_206F_206A_206A_206C_202D_200C_206B_206C_206F_206E_206C_202E(current); + num10 = ((!vector.HasValue) ? 2075588316 : 2075588308); + continue; + case 3: + goto end_IL_0343; + } + goto IL_057c; + continue; + end_IL_0343: + break; + } + break; + } + } + finally + { + num10 = ((enumerator == null) ? (-1684518491) : (-1684518490)); + while (true) + { + int num20 = num10; + int num5 = -1684518492; + int num6 = num20; + int num21 = num6 + num5; + int num22 = num6 & num5; + switch (num21 - (num22 + num22)) + { + case 1: + goto end_IL_06ba; + case 2: + _202A_202C_202E_206A_200C_206D_206F_202C_202B_206D_206C_200D_202B_206B_200B_202D_200B_202B_200C_206D_202B_200E_202E_200D_206C_202A_200E_200C_206C_202B_206C_202C_202C_200E_202A_206D_202B_206E_206D_200D_202E((IDisposable)enumerator); + num10 = -1684518491; + break; + case 0: + num10 = -1684518490; + break; + } + continue; + end_IL_06ba: + break; + } + } + _206D_200E_202C_206F_206D_202E_202C_206A_200B_200D_202B_202A_202E_202A_202D_202D_200D_206C_202A_202A_206F_202D_206D_202C_202C_206E_206C_202E_200D_202D_206C_206F_206D_206C_206E_200E_200E_200D_200B_202B_202E(stringBuilder); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder4 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider3 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(65, 3, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendFormatted(num); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1428089820)); + appendInterpolatedStringHandler.AppendFormatted(num3); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1817321270)); + appendInterpolatedStringHandler.AppendFormatted(num2); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2120097395)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder4, formatProvider3, ref appendInterpolatedStringHandler); + string[] planFiles = PlanFiles; + num12 = 0; + num10 = -1896058095; + List<(uint, float)> list3 = default(List<(uint, float)>); + while (true) + { + int num23 = num10; + int num5 = -1896058093; + int num6 = num23; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num10 = -1896058095; + break; + case 3: + num10 = ((list.Count <= 0) ? (-1896058089) : (-1896058094)); + break; + case 1: + { + List<(uint, float)> list4 = list.OrderBy<(uint, float), float>(((uint RowId, float Delta) d) => d.Delta).ToList(); + float item2 = list4[list4.Count / 2].Item2; + float item3 = list4[_200C_206B_200D_202A_202B_202A_206A_200C_206A_202B_202E_200C_206B_202D_200C_206D_206B_200D_206D_202B_202E_200B_206B_200E_202D_206C_202A_202B_200D_206A_206B_202B_206A_202C_206D_202B_200E_200C_202C_206E_202E(list4.Count - 1, (int)((double)list4.Count * 0.9))].Item2; + list3 = list4.Where<(uint, float)>(((uint RowId, float Delta) d) => d.Delta > 20f).ToList(); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder6 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider5 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(112, 5, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-984789891)); + appendInterpolatedStringHandler.AppendFormatted(list4.Count); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1492652165)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-115147857)); + appendInterpolatedStringHandler.AppendFormatted(item2, global::_003CModule_003E._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(2084434619)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1433275032)); + appendInterpolatedStringHandler.AppendFormatted(item3, global::_003CModule_003E._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(-1324991826)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1205335904)); + appendInterpolatedStringHandler.AppendFormatted(list4[list4.Count - 1].Item2, global::_003CModule_003E._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(-1324991826)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-939132204)); + appendInterpolatedStringHandler.AppendFormatted(list3.Count); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-15538910)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder6, formatProvider5, ref appendInterpolatedStringHandler); + num10 = ((list3.Count <= 0) ? (-1896058089) : (-1896058090)); + break; + } + case 2: + num10 = ((num12 < planFiles.Length) ? (-1896058091) : (-1896058096)); + break; + case 6: + { + string text2 = planFiles[num12]; + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder7 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider6 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(17, 2, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2047193429)); + appendInterpolatedStringHandler.AppendFormatted(text2); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2074665157)); + appendInterpolatedStringHandler.AppendFormatted(dictionary[text2]); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1948837903)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder7, formatProvider6, ref appendInterpolatedStringHandler); + int num24 = num12; + num5 = 1; + num6 = num24; + int num25 = num6 ^ num5; + int num26 = num6 & num5; + num12 = num25 + (num26 + num26); + num10 = -1896058095; + break; + } + case 4: + return _200F_200E_202E_206F_200B_202E_206C_206B_202C_200E_200F_206F_206E_202A_202A_200C_200F_200C_200B_202B_200B_206D_206D_206E_202B_200D_206B_202A_200B_206E_200E_200C_202A_200F_200B_200B_200F_202D_206B_206C_202E((object)stringBuilder); + case 5: + { + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder5 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider4 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(17, 1, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(492341808)); + appendInterpolatedStringHandler.AppendFormatted(_200D_200B_202E_200D_202A_202B_206F_200F_202B_200D_200B_202C_200E_206F_202C_206D_206A_202A_206A_206D_206D_200E_206F_206C_206F_202C_202C_202B_200F_202D_200B_200D_206D_200B_202B_206C_206D_200F_206F_206E_202E(global::_003CModule_003E._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(1467939024), list3.Select<(uint, float), string>([MethodImpl(MethodImplOptions.NoInlining)] ((uint RowId, float Delta) d) => + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(4, 2); + defaultInterpolatedStringHandler2.AppendFormatted(d.RowId); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1473546846)); + defaultInterpolatedStringHandler2.AppendFormatted(d.Delta.ToString(global::_003CModule_003E._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(-1819906059), _003C_003Ec._206E_200E_200C_200D_206F_200C_200E_206B_200E_202B_202C_200F_200C_200D_206B_206D_200D_206F_200F_202B_202B_206E_202E_202C_206F_200F_200D_202D_206F_200E_206E_200B_206F_200C_202C_200C_200D_200F_206B_202B_202E())); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-572338381)); + return defaultInterpolatedStringHandler2.ToStringAndClear(); + }))); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder5, formatProvider4, ref appendInterpolatedStringHandler); + num10 = -1896058089; + break; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private Dictionary> ScanPopRanges(Dictionary>> cache, uint territoryId) + { + int num = ((!cache.TryGetValue(territoryId, out Dictionary> value)) ? 1621022502 : 1621022497); + Dictionary> dictionary2 = default(Dictionary>); + string text4 = default(string); + int num7 = default(int); + LayerCommon.InstanceObject instanceObject = default(LayerCommon.InstanceObject); + LayerCommon.InstanceObject[] instanceObjects = default(LayerCommon.InstanceObject[]); + int num12 = default(int); + int num13 = default(int); + LayerCommon.Layer[] array = default(LayerCommon.Layer[]); + while (true) + { + int num2 = num; + int num3 = 1621022501; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return dictionary2; + case 3: + dictionary2 = (cache[territoryId] = new Dictionary>()); + text4 = _dataManager.GetExcelSheet().GetRowOrDefault(territoryId)?.Bg.ExtractText(); + num = ((!_202B_200C_202C_206D_200B_200F_206E_206C_202A_200B_206B_200E_202A_202D_206A_206C_202C_206A_202A_200D_202B_202E_206C_200B_202C_206A_206D_202A_206F_200B_202E_206B_200D_200D_206D_200C_206B_202C_200B_200C_202E(text4)) ? 1621022499 : 1621022501); + break; + case 4: + return value; + case 2: + return dictionary2; + case 6: + num7 = _206B_202C_200D_202B_200B_202A_206F_200B_200C_200B_200C_200C_200B_200D_200B_206A_200C_200B_202B_200E_206C_206A_200B_206F_206B_202B_206E_206A_200F_202D_202A_200F_202B_206D_202E_200F_206F_200D_202E_200F_202E(text4, global::_003CModule_003E._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(1447478986), StringComparison.Ordinal); + num = ((num7 >= 0) ? 1621022500 : 1621022503); + break; + case 5: + num = 1621022497; + break; + case 1: + { + string[] planFiles = PlanFiles; + int num5 = 0; + while (num5 < planFiles.Length) + { + string text = planFiles[num5]; + Dictionary dictionary = (dictionary2[text] = new Dictionary()); + string text2 = global::_003CModule_003E._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(227633411); + string text3 = text4; + int num6 = num7; + num3 = 1; + num4 = num6; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + string text5 = _200F_206C_206B_202E_206B_206A_206C_202D_206F_202A_202E_206F_206F_206A_200E_200F_206E_206C_206D_202B_202C_202B_206C_206F_200D_206D_206E_200F_206F_202D_202E_200F_206B_200F_206F_202C_200E_200B_200D_206E_202E(text2, _202C_202E_206A_206F_206A_206D_200C_202B_206B_200C_206F_206B_202A_206D_202C_200C_200F_200F_202A_200D_206D_206E_202A_206F_206F_206B_200F_200C_206E_200C_202E_200F_200F_206E_206E_202A_206E_202E_206B_202D_202E(text3, 0, num8 + (num9 + num9)), global::_003CModule_003E._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(-1288278212), text); + try + { + LgbFile file = _dataManager.GetFile(text5); + num = ((file != null) ? (-1691110925) : (-1691110917)); + while (true) + { + int num10 = num; + num3 = -1691110925; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + dictionary[instanceObject.InstanceId] = new Vector3(instanceObject.Transform.Translation.X, instanceObject.Transform.Translation.Y, instanceObject.Transform.Translation.Z); + num = -1691110923; + break; + case 8: + goto end_IL_01ac; + case 2: + num = -1691110917; + break; + case 4: + instanceObject = instanceObjects[num12]; + num = ((instanceObject.AssetType != LayerEntryType.PopRange) ? (-1691110923) : (-1691110926)); + break; + case 9: + num = ((num13 < array.Length) ? (-1691110919) : (-1691110922)); + break; + case 3: + { + int num14 = num13; + num3 = 1; + num4 = num14; + int num15 = num4 ^ num3; + int num16 = num4 & num3; + num13 = num15 + (num16 + num16); + num = -1691110918; + break; + } + case 7: + num = ((num12 < instanceObjects.Length) ? (-1691110921) : (-1691110928)); + break; + case 0: + array = _200F_202B_206B_202A_200F_200E_202B_206C_206A_206A_202D_200B_206B_206E_206F_200C_200E_202C_200C_200D_200B_200C_206A_206B_206E_202C_200C_202D_206B_200E_206A_206C_206F_206F_202D_206F_202C_200D_202D_206E_202E(file); + num13 = 0; + num = -1691110918; + break; + case 10: + instanceObjects = array[num13].InstanceObjects; + num12 = 0; + num = -1691110924; + break; + case 6: + { + int num11 = num12; + num3 = 1; + num4 = num11; + num12 = (num4 | num3) + (num4 & num3); + num = -1691110924; + break; + } + case 5: + goto end_IL_01ac; + } + continue; + end_IL_01ac: + break; + } + } + catch (Exception ex) + { + _202E_202D_202B_202C_200B_202A_206E_200C_200B_202A_206B_200D_206C_200C_206A_200E_202E_206E_202A_206F_206F_202E_206A_202B_202A_206C_200B_206C_202D_200D_206E_206A_202B_206B_202A_202A_206C_200E_202E_206C_202E((ILogger)_logger, ex, global::_003CModule_003E._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(592032495), new object[1] { text5 }); + } + int num17 = num5; + num3 = 1; + num4 = num17; + int num18 = num4 ^ num3; + int num19 = num4 & num3; + num5 = num18 + (num19 + num19); + } + return dictionary2; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawDerivedArrivalExport() + { + int num = (_200D_202B_200B_206D_200C_202D_206C_206B_202A_206E_202B_200D_200E_200B_206F_206C_206A_202D_206E_206D_206C_200F_206F_206C_202A_206B_200B_206D_206B_200C_200E_202B_206C_206C_200C_202D_202D_200B_202D_206D_202E((ImU8String)global::_003CModule_003E._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(1297058446), ImGuiTreeNodeFlags.None) ? (-332975332) : (-332975335)); + while (true) + { + int num2 = num; + int num3 = -332975331; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -332975335; + break; + case 1: + _202C_200D_202E_206B_206F_200D_202B_200E_206C_202C_200F_200F_200D_200D_200F_206C_200B_206B_200E_206C_200F_202B_202C_206E_202D_200B_200D_200E_202E_200B_200F_206D_202D_200C_206E_202E_206E_200F_202A_206E_202E((ImU8String)global::_003CModule_003E._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(1892719681)); + num = ((_202B_200F_206C_202E_202B_200C_200B_206B_200D_202A_200C_200B_202C_200B_202C_202B_200C_200F_202D_206E_206D_200F_202A_206B_200E_206D_202A_202C_206B_200D_206C_202C_206B_200D_200D_202E_202A_206D_202B_206A_202E(_dataOptions) != null) ? (-332975333) : (-332975336)); + break; + case 5: + _202D_206C_202B_206F_200E_206C_206A_200F_200C_202E_200B_202B_202B_200B_202E_200D_200C_202D_202E_202D_200D_206F_200B_206E_206E_200C_206A_206E_200E_206F_206F_206D_202E_202A_202E_206B_200E_206A_200B_200F_202E((ImU8String)global::_003CModule_003E._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(-1901581621)); + return; + case 4: + return; + case 2: + _arrivalExportReport = RunGuarded(BuildDerivedArrivalExport); + num = -332975330; + break; + case 6: + num = ((!_202E_206D_202D_202A_206D_206A_200E_200B_202E_202B_202B_206C_200B_202C_206B_206A_206D_202E_202B_202A_202B_202B_200E_206F_206E_200D_202E_206B_202A_202C_206D_200C_200D_200B_206D_200B_202A_202B_202A_200F_202E((ImU8String)global::_003CModule_003E._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(-436258789), default(Vector2))) ? (-332975330) : (-332975329)); + break; + case 3: + DrawReport(global::_003CModule_003E._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(197244860), ref _arrivalExportReport); + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private string BuildDerivedArrivalExport() + { + StringBuilder stringBuilder = _200C_200B_206F_206E_206D_206D_202E_206B_202B_202A_200E_200F_202B_206F_200D_200E_202A_206A_200C_200B_206C_206C_202A_206D_206C_202A_202C_202E_206C_206E_206C_206B_206B_206C_200C_202B_202B_200F_200B_202E_202E(); + 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; + IEnumerator enumerator = excelSheet.Where((Warp x) => x.RowId != 0).GetEnumerator(); + int num8; + int num6; + try + { + Warp current = default(Warp); + uint rowId = default(uint); + ushort num2 = default(ushort); + Vector3? vector = default(Vector3?); + Vector3 value2 = default(Vector3); + string text = default(string); + string text2 = default(string); + while (true) + { + IL_034d: + if (_206A_200F_206D_206E_200B_206D_206D_200C_202A_202A_200D_206A_206F_202C_202A_200D_200F_200B_206E_200B_206E_202B_206D_200B_202C_202E_200B_206A_202D_206F_200F_206F_206D_206C_206F_206D_206D_202B_206D_202E_202E((IEnumerator)enumerator)) + { + current = enumerator.Current; + rowId = current.PopRange.RowId; + num2 = (ushort)current.TerritoryType.RowId; + if (rowId == 0 || num2 == 0) + { + continue; + } + int num3 = num; + int num4 = 1; + int num5 = num3; + num = (num5 | num4) + (num5 & num4); + vector = null; + using (Dictionary>.Enumerator enumerator2 = ScanPopRanges(cache, num2).GetEnumerator()) + { + num6 = -2076757862; + while (true) + { + int num7 = num6; + num4 = -2076757857; + num5 = num7; + string key; + switch ((num5 | num4) - (num5 & num4)) + { + case 3: + { + Vector3 value3 = value2; + vector = value3; + num6 = -2076757862; + break; + } + case 4: + { + enumerator2.Current.Deconstruct(out key, out var value); + text = key; + num6 = ((!value.TryGetValue(rowId, out value2)) ? (-2076757862) : (-2076757857)); + break; + } + case 0: + { + key = text; + num8 = dictionary[key]; + string key2 = key; + int num9 = num8; + num4 = 1; + num5 = num9; + int num10 = num5 ^ num4; + int num11 = num5 & num4; + dictionary[key2] = num10 + (num11 + num11); + Vector3 value3 = vector.GetValueOrDefault(); + num6 = (vector.HasValue ? (-2076757862) : (-2076757860)); + break; + } + case 5: + num6 = (enumerator2.MoveNext() ? (-2076757861) : (-2076757858)); + break; + case 2: + num6 = -2076757862; + break; + case 1: + goto end_IL_0128; + } + continue; + end_IL_0128: + break; + } + } + num6 = ((!vector.HasValue) ? (-1603430500) : (-1603430501)); + } + else + { + num6 = -1603430502; + } + while (true) + { + int num12 = num6; + int num4 = -1603430503; + int num5 = num12; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 5: + text2 = current.Name.ExtractText(); + num6 = ((!_202B_200C_202C_206D_200B_200F_206E_206C_202A_200B_206B_200E_202A_202D_206A_206C_202C_206A_202A_200D_202B_202E_206C_200B_202C_206A_206D_202A_206F_200B_202E_206B_200D_200D_206D_200C_206B_202C_200B_200C_202E(text2)) ? (-1603430504) : (-1603430503)); + continue; + case 2: + { + uint rowId2 = current.RowId; + DerivedArrivalEntry derivedArrivalEntry = _202A_206F_206E_202E_200C_202B_202C_206B_202D_200E_202A_202A_200F_206F_206B_202E_206B_200D_202B_206B_202A_206F_200C_206B_202E_206E_206E_202B_200F_206E_202E_206A_200F_206D_202E_200B_202B_202D_202E_202D_202E(); + _206D_206B_202B_200F_202E_206D_202A_206C_202B_206B_202D_200B_206A_206B_202E_202C_202E_202A_200C_206F_200E_200D_202B_202E_200F_202B_200E_206F_206C_206A_202B_200B_200E_202C_202C_200D_206D_206D_206B_202E_202E(derivedArrivalEntry, rowId); + _206F_202E_206A_202C_202D_206B_202D_206D_206A_206F_206F_202C_200F_202B_206F_206F_200E_206C_206E_206C_200B_206C_200C_202C_206A_202A_206F_206D_202E_202E_206E_202B_202B_202D_202A_200C_206F_202E_202C_200D_202E(derivedArrivalEntry, num2); + _200D_200F_206A_200D_202A_202A_202B_200C_202B_202B_206F_202C_202A_206E_202A_206F_202C_200D_206C_200F_202A_200E_202A_206A_200B_206D_206B_200D_206E_206E_206F_206E_200C_200B_206B_202A_206C_200C_202E_200C_202E(derivedArrivalEntry, vector.Value.X); + _200D_202A_202B_206A_200E_200C_202B_200B_202E_200E_206F_206A_206E_200E_206C_200B_206A_206A_200D_200D_200F_206A_206A_200F_200C_200D_206A_206C_206D_206C_202A_200B_206E_202D_202A_206F_202C_202E_206E_202E(derivedArrivalEntry, vector.Value.Y); + _206F_202B_200E_200D_202E_200D_206D_206F_202C_206C_206F_200F_206F_206B_206E_200B_202A_206A_200E_200C_200B_206E_206D_206B_206A_200C_202C_200E_200F_200D_206A_200E_200C_202C_200B_200F_200C_206F_200C_200F_202E(derivedArrivalEntry, vector.Value.Z); + dictionary2[rowId2] = derivedArrivalEntry; + num6 = -1603430499; + continue; + } + case 4: + break; + case 0: + text2 = current.Question.ExtractText(); + num6 = -1603430504; + continue; + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(18, 4); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1084120440)); + defaultInterpolatedStringHandler.AppendFormatted(current.RowId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1789328049)); + defaultInterpolatedStringHandler.AppendFormatted(text2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(527533137)); + defaultInterpolatedStringHandler.AppendFormatted(rowId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-259312352)); + defaultInterpolatedStringHandler.AppendFormatted(_territoryData.GetNameAndId(num2)); + list.Add(defaultInterpolatedStringHandler.ToStringAndClear()); + num6 = -1603430499; + continue; + } + case 6: + num6 = -1603430501; + continue; + case 3: + goto end_IL_0277; + } + goto IL_034d; + continue; + end_IL_0277: + break; + } + break; + } + } + finally + { + num6 = ((enumerator == null) ? (-1874454493) : (-1874454496)); + while (true) + { + int num13 = num6; + int num4 = -1874454495; + int num5 = num13; + int num14 = num5 + num4; + int num15 = num5 & num4; + switch (num14 - (num15 + num15)) + { + case 2: + goto end_IL_044f; + case 1: + _202A_202C_202E_206A_200C_206D_206F_202C_202B_206D_206C_200D_202B_206B_200B_202D_200B_202B_200C_206D_202B_200E_202E_200D_206C_202A_200E_200C_206C_202B_206C_202C_202C_200E_202A_206D_202B_206E_206D_200D_202E((IDisposable)enumerator); + num6 = -1874454493; + break; + case 0: + num6 = -1874454496; + break; + } + continue; + end_IL_044f: + break; + } + } + DerivedArrivalFile derivedArrivalFile = _206F_202E_200F_206F_200C_206D_206B_206B_200C_200C_202B_200B_206A_206C_206A_206B_206A_202A_206E_202A_206B_202C_202D_206C_202C_200B_206B_200F_206C_202C_206F_202C_200C_200F_202C_202B_206E_206F_200C_200D_202E(); + _200F_206F_206E_206E_202B_206A_206E_206B_202B_206F_206A_200F_206D_200D_202B_206C_202B_200E_202C_206E_200E_206B_206C_200F_200C_206D_206D_206C_202E_200E_202A_206C_202B_202C_206C_200F_206E_200B_202A_202B_202E(derivedArrivalFile, _206D_202D_202E_200E_206B_202D_206F_202C_200E_202E_200B_206C_200F_202D_200F_200F_202E_206C_202D_200D_206A_206C_202D_200D_200C_202D_200F_206F_200F_202C_202A_200F_202D_200F_206B_200B_202C_202A_200F_202B_202E(_dataOptions)); + _200F_200B_202E_206F_206A_206E_202D_200B_206F_200F_206C_202B_206F_206E_202C_200E_200E_206E_200C_202A_202C_200F_206E_202D_200C_202C_202C_202B_200C_202D_206D_200F_202A_202A_200F_200C_206F_206B_200B_206E_202E(derivedArrivalFile, dictionary2); + DerivedArrivalFile derivedArrivalFile2 = derivedArrivalFile; + string text3 = _206C_200E_202C_206E_202A_202A_206D_206E_202B_200F_202A_202E_200F_200E_206B_206D_206F_202A_202C_206B_200C_202C_206C_200F_206D_200C_206F_202C_202A_206E_202E_202A_202A_202C_206E_206D_202E_200F_200E_202E_202E(_200E_206F_200E_202B_206E_202B_200F_206C_200C_206E_206C_206B_200F_202B_200F_206A_200F_206C_206C_206B_202D_202D_202E_202C_200E_200C_202D_200E_202A_200B_200D_202E_206A_206A_200E_206A_200D_202D_206F_202D_202E((FileSystemInfo)_202B_200F_206C_202E_202B_200C_200B_206B_200D_202A_200C_200B_202C_200B_202C_202B_200C_200F_202D_206E_206D_200F_202A_206B_200E_206D_202A_202C_206B_200D_206C_202C_206B_200D_200D_202E_202A_206D_202B_206A_202E(_dataOptions)), global::_003CModule_003E._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(-632129369)); + _206B_206C_200C_202B_200D_202C_200B_202E_200F_206C_200F_202B_206D_206E_202A_206C_206D_202E_206E_200B_206F_202E_202C_202C_206E_202D_200D_202B_200D_206B_202A_206D_206B_206A_206B_202C_202E_202D_200F_202B_202E(text3, JsonSerializer.Serialize(derivedArrivalFile2, IndentedJson)); + StringBuilder stringBuilder2 = stringBuilder; + StringBuilder stringBuilder3 = stringBuilder2; + IFormatProvider formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider2 = formatProvider; + StringBuilder.AppendInterpolatedStringHandler appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(57, 2, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendFormatted(num); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1141024490)); + appendInterpolatedStringHandler.AppendFormatted(dictionary2.Count); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2018314361)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder3, formatProvider2, ref appendInterpolatedStringHandler); + string[] planFiles = PlanFiles; + num8 = 0; + num6 = 1870756699; + while (true) + { + int num16 = num6; + int num4 = 1870756696; + int num5 = num16; + int num17 = num5 + num4; + int num18 = num5 & num4; + switch (num17 - (num18 + num18)) + { + case 2: + num6 = 1870756699; + break; + case 3: + num6 = ((num8 < planFiles.Length) ? 1870756697 : 1870756696); + break; + case 1: + { + string text4 = planFiles[num8]; + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder6 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider5 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(9, 2, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2047193429)); + appendInterpolatedStringHandler.AppendFormatted(text4); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1545053118)); + appendInterpolatedStringHandler.AppendFormatted(dictionary[text4]); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2018222976)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder6, formatProvider5, ref appendInterpolatedStringHandler); + int num22 = num8; + num4 = 1; + num5 = num22; + num8 = (num5 | num4) + (num5 & num4); + num6 = 1870756699; + break; + } + case 0: + { + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder4 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider3 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(98, 1, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendFormatted(list.Count); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(632432975)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder4, formatProvider3, ref appendInterpolatedStringHandler); + using (List.Enumerator enumerator3 = list.GetEnumerator()) + { + num6 = -1351429223; + while (true) + { + int num19 = num6; + num4 = -1351429223; + num5 = num19; + int num20 = num5 + num4; + int num21 = num5 & num4; + switch (num20 - (num21 + num21)) + { + case 2: + num6 = -1351429223; + break; + case 3: + { + string current2 = enumerator3.Current; + _206E_202B_206C_200C_202E_202C_200B_206D_206C_200B_206A_202D_206C_206C_200F_202B_206E_206B_206C_200C_206A_200D_206C_202D_202C_200D_200E_202C_206F_202C_206E_206A_206E_202A_200E_202C_206E_206D_202B_200C_202E(stringBuilder, current2); + num6 = -1351429223; + break; + } + case 0: + num6 = (enumerator3.MoveNext() ? (-1351429222) : (-1351429224)); + break; + case 1: + goto end_IL_06b1; + } + continue; + end_IL_06b1: + break; + } + } + _206D_200E_202C_206F_206D_202E_202C_206A_200B_200D_202B_202A_202E_202A_202D_202D_200D_206C_202A_202A_206F_202D_206D_202C_202C_206E_206C_202E_200D_202D_206C_206F_206D_206C_206E_200E_200E_200D_200B_202B_202E(stringBuilder); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder5 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider4 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(25, 2, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1359032729)); + appendInterpolatedStringHandler.AppendFormatted(text3); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(93850674)); + appendInterpolatedStringHandler.AppendFormatted(_202D_206B_202B_206F_202B_202B_200F_202E_206F_202A_206A_206E_206B_206B_206C_206A_200D_202C_202C_202E_206E_202D_200E_206E_206C_206C_200D_200D_200B_200E_200B_202E_206C_202B_206C_200E_200F_206F_200E_200D_202E(derivedArrivalFile2) ?? global::_003CModule_003E._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(1887683575)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1735737295)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder5, formatProvider4, ref appendInterpolatedStringHandler); + _206E_202B_206C_200C_202E_202C_200B_206D_206C_200B_206A_202D_206C_206C_200F_202B_206E_206B_206C_200C_206A_200D_206C_202D_202C_200D_200E_202C_206F_202C_206E_206A_206E_202A_200E_202C_206E_206D_202B_200C_202E(stringBuilder, global::_003CModule_003E._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(1824898501)); + return _200F_200E_202E_206F_200B_202E_206C_206B_202C_200E_200F_206F_206E_202A_202A_200C_200F_200C_200B_202B_200B_206D_206D_206E_202B_200D_206B_202A_200B_206E_200E_200C_202A_200F_200B_200B_200F_202D_206B_206C_202E((object)stringBuilder); + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawLayerSetProbe() + { + int num = (_200D_202B_200B_206D_200C_202D_206C_206B_202A_206E_202B_200D_200E_200B_206F_206C_206A_202D_206E_206D_206C_200F_206F_206C_202A_206B_200B_206D_206B_200C_200E_202B_206C_206C_200C_202D_202D_200B_202D_206D_202E((ImU8String)global::_003CModule_003E._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(-875146848), ImGuiTreeNodeFlags.DefaultOpen) ? 1301006986 : 1301006985); + uint territoryId; + while (true) + { + int num2 = num; + int num3 = 1301006986; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _202C_200D_202E_206B_206F_200D_202B_200E_206C_202C_200F_200F_200D_200D_200F_206C_200B_206B_200E_206C_200F_202B_202C_206E_202D_200B_200D_200E_202E_200B_200F_206D_202D_200C_206E_202E_206E_200F_202A_206E_202E((ImU8String)global::_003CModule_003E._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(1690152568)); + _202A_206B_202E_206C_202B_200B_200D_202B_206B_200F_206E_200F_200B_206D_206E_206B_202D_200F_206E_200B_202D_200F_200D_200B_202B_200E_206B_200D_200C_202E_206D_200C_202B_206D_200E_206A_206D_206E_202D_202E(120f); + _200C_202C_200C_206F_202A_202D_200F_206D_206D_200E_202B_200E_200B_206B_206E_206C_206A_200C_206F_200C_202E_200E_206C_206B_206B_202B_206D_206F_202B_206F_206E_206B_206E_202D_206C_202B_202C_202A_206A_202A_202E((ImU8String)global::_003CModule_003E._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(1460437686), ref _lvbTerritoryId, 0, 0, default(ImU8String), ImGuiInputTextFlags.None); + num = ((!_202E_206D_202D_202A_206D_206A_200E_200B_202E_202B_202B_206C_200B_202C_206B_206A_206D_202E_202B_202A_202B_202B_200E_206F_206E_200D_202E_206B_202A_202C_206D_200C_200D_200B_206D_200B_202A_202B_202A_200F_202E((ImU8String)global::_003CModule_003E._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(-1188775364), default(Vector2))) ? 1301006990 : 1301006987); + break; + case 3: + return; + case 2: + num = 1301006985; + break; + case 1: + territoryId = ((_lvbTerritoryId > 0) ? ((uint)_lvbTerritoryId) : _200B_206F_206B_206D_206C_202D_206E_200D_206C_202C_206F_202D_202E_206F_206B_200B_200E_206F_200F_200D_200D_202D_202B_200D_202B_206D_206F_206E_206A_206B_202E_202E_206A_202C_206E_202C_202E_206D_200B_202C_202E(_clientState)); + _lvbReport = RunGuarded(() => BuildLayerSetReport(territoryId)); + num = 1301006990; + break; + case 4: + DrawReport(global::_003CModule_003E._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(-755775763), ref _lvbReport); + return; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private string BuildLayerSetReport(uint territoryId) + { + StringBuilder stringBuilder = _200C_200B_206F_206E_206D_206D_202E_206B_202B_202A_200E_200F_202B_206F_200D_200E_202A_206A_200C_200B_206C_206C_202A_206D_206C_202A_202C_202E_206C_206E_206C_206B_206B_206C_200C_202B_202B_200F_200B_202E_202E(); + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + string bg = excelSheet.GetRowOrDefault(territoryId)?.Bg.ExtractText(); + int num = ((!_202B_200C_202C_206D_200B_200F_206E_206C_202A_200B_206B_200E_202A_202D_206A_206C_202C_206A_202A_200D_202B_202E_206C_200B_202C_206A_206D_202A_206F_200B_202E_206B_200D_200D_206D_200C_206B_202C_200B_200C_202E(bg)) ? 1217962322 : 1217962323); + int num6 = default(int); + Dictionary> owners; + uint item = default(uint); + List value = default(List); + uint item2 = default(uint); + string text5 = default(string); + List> list4 = default(List>); + while (true) + { + int num2 = num; + int num3 = 1217962322; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(39, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-933891057)); + defaultInterpolatedStringHandler2.AppendFormatted(territoryId); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-280187168)); + defaultInterpolatedStringHandler2.AppendFormatted(bg); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1650634486)); + return defaultInterpolatedStringHandler2.ToStringAndClear(); + } + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(25, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-156340874)); + defaultInterpolatedStringHandler.AppendFormatted(territoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2086094510)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + case 0: + num6 = _206B_202C_200D_202B_200B_202A_206F_200B_200C_200B_200C_200C_200B_200D_200B_206A_200C_200B_202B_200E_206C_206A_200B_206F_206B_202B_206E_206A_200F_202D_202A_200F_202B_206D_202E_200F_206F_200D_202E_200F_202E(bg, global::_003CModule_003E._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(1447478986), StringComparison.Ordinal); + num = ((num6 >= 0) ? 1217962321 : 1217962326); + break; + case 2: + num = 1217962323; + break; + case 3: + { + string text = global::_003CModule_003E._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(-397701742); + string text2 = bg; + int num5 = num6; + num3 = 1; + num4 = num5; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + string text3 = _202B_200B_202E_200C_202A_202C_206A_200D_206D_200E_206E_202C_202E_202E_200C_202A_206E_200C_206D_202E_206D_200D_202E_206F_206C_200B_200E_206F_202E_200E_206B_200C_206E_206B_202D_206F_200E_202A_206D_200F_202E(text, _202C_202E_206A_206F_206A_206D_200C_202B_206B_200C_206F_206B_202A_206D_202C_200C_200F_200F_202A_200D_206D_206E_202A_206F_206F_206B_200F_200C_206E_200C_202E_200F_200F_206E_206E_202A_206E_202E_206B_202D_202E(text2, 0, num7 + (num8 + num8)), global::_003CModule_003E._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(-1288278212)); + string text4 = _206A_206B_200D_200F_200E_206F_200E_202E_200D_206E_202C_202E_202A_206A_200C_202A_200D_206D_200C_202D_200C_206E_200D_202E_202E_202D_200D_202D_202C_206B_206D_200C_202E_202C_202B_200F_200C_206D_202A_200F_202E(bg, _200E_200B_206C_206A_202B_206B_202D_202D_206A_200C_200F_200F_200C_202E_200B_206C_202C_206E_202A_206A_202D_206D_200D_206D_202E_202A_200F_200C_206B_200D_202D_202E_206B_202C_206A_200B_202B_202A_200C_206A_202E(bg, '/') + 1); + StringBuilder stringBuilder2 = stringBuilder; + StringBuilder stringBuilder3 = stringBuilder2; + IFormatProvider formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider2 = formatProvider; + StringBuilder.AppendInterpolatedStringHandler appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(17, 2, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-933891057)); + appendInterpolatedStringHandler.AppendFormatted(_territoryData.GetNameAndId(territoryId)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2035498113)); + appendInterpolatedStringHandler.AppendFormatted(bg); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1639651192)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder3, formatProvider2, ref appendInterpolatedStringHandler); + List list = (from t in excelSheet.Where(delegate(TerritoryType t) + { + int num19 = ((t.RowId == 0) ? (-1476010825) : (-1476010828)); + while (true) + { + int num20 = num19; + int num21 = -1476010826; + int num22 = num20; + int num23 = num22 + num21; + int num24 = num22 & num21; + switch (num23 - (num24 + num24)) + { + case 0: + goto IL_0049; + case 2: + return _003C_003Ec__DisplayClass26_0._206E_200D_206F_202A_206D_200B_206A_206B_206C_202B_202E_202E_202E_206C_202E_200B_202A_206C_200B_202D_200D_206B_200F_206E_206A_202C_206F_206F_200C_206A_202E_200F_202C_200D_206E_200E_206F_200B_206F_200D_202E(t.Bg.ExtractText(), bg); + case 1: + return false; + } + continue; + IL_0049: + num19 = -1476010828; + } + }) + select t.RowId).ToList(); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder4 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider3 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(29, 1, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(50860618)); + appendInterpolatedStringHandler.AppendFormatted(string.Join(global::_003CModule_003E._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(1087086507), list)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder4, formatProvider3, ref appendInterpolatedStringHandler); + List<(uint SetId, uint TerritoryId)> list2 = ParseLvbLayerSets(ReadFileBytes(_202B_200B_202E_200C_202A_202C_206A_200D_206D_200E_206E_202C_202E_202E_200C_202A_206E_200C_206D_202E_206D_200D_202E_206F_206C_200B_200E_206F_202E_200E_206B_200C_206E_206B_202D_206F_200E_202A_206D_200F_202E(text3, text4, global::_003CModule_003E._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(1877396600))), stringBuilder); + owners = new Dictionary>(); + using (List<(uint, uint)>.Enumerator enumerator = list2.GetEnumerator()) + { + num = 569756345; + while (true) + { + int num9 = num; + num3 = 569756347; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 3: + num = (owners.TryGetValue(item, out value) ? 569756347 : 569756351); + break; + case 4: + value = (owners[item] = new List()); + num = 569756347; + break; + case 0: + value.Add(item2); + num = 569756345; + break; + case 2: + num = (enumerator.MoveNext() ? 569756346 : 569756350); + break; + case 6: + num = 569756345; + break; + case 1: + { + (uint, uint) current = enumerator.Current; + item = current.Item1; + item2 = current.Item2; + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder5 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider4 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(26, 3, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1045936999)); + appendInterpolatedStringHandler.AppendFormatted(item); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1691935347)); + appendInterpolatedStringHandler.AppendFormatted(item2); + appendInterpolatedStringHandler.AppendFormatted(list.Contains(item2) ? global::_003CModule_003E._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(-1694032531) : global::_003CModule_003E._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(91205610)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder5, formatProvider4, ref appendInterpolatedStringHandler); + num = ((item2 == 0) ? 569756345 : 569756344); + break; + } + case 5: + goto end_IL_0328; + } + continue; + end_IL_0328: + break; + } + } + string[] planFiles = PlanFiles; + int num12 = 0; + num = -687162178; + while (true) + { + int num13 = num; + num3 = -687162179; + num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 2: + return _200F_200E_202E_206F_200B_202E_206C_206B_202C_200E_200F_206F_206E_202A_202A_200C_200F_200C_200B_202B_200B_206D_206D_206E_202B_200D_206B_202A_200B_206E_200E_200C_202A_200F_200B_200B_200F_202D_206B_206C_202E((object)stringBuilder); + case 4: + { + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder7 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider6 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(18, 1, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendFormatted(text5); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(116300161)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder7, formatProvider6, ref appendInterpolatedStringHandler); + num = -687162180; + break; + } + case 3: + num = ((num12 < planFiles.Length) ? (-687162184) : (-687162177)); + break; + case 1: + { + int num16 = num12; + num3 = 1; + num4 = num16; + int num17 = num4 ^ num3; + int num18 = num4 & num3; + num12 = num17 + (num18 + num18); + num = -687162178; + break; + } + case 5: + text5 = planFiles[num12]; + list4 = ParseLgbLayerSetReferences(ReadFileBytes(_200C_200F_202E_206E_202C_206B_206C_202E_200B_206E_200C_206E_206B_200C_200D_206B_202C_200F_202E_202E_200C_206D_206C_206D_206E_202A_206E_202A_200C_206C_202B_206F_206A_206D_200C_200E_200B_200D_206C_206E_202E(text3, text5))); + num = ((list4.Count != 0) ? (-687162181) : (-687162183)); + break; + case 6: + { + int value2 = list4.Count((List refs) => refs.Count > 0); + List list5 = list4.SelectMany((List refs) => refs).Distinct().Select([MethodImpl(MethodImplOptions.NoInlining)] (uint setId) => + { + List value3; + int num19 = (owners.TryGetValue(setId, out value3) ? (-1977504847) : (-1977504846)); + while (true) + { + int num20 = num19; + int num21 = -1977504845; + int num22 = num20; + int num23 = num22 + num21; + int num24 = num22 & num21; + switch (num23 - (num24 + num24)) + { + case 2: + return string.Join(global::_003CModule_003E._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(-1680133376), value3); + case 1: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(12, 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-884751217)); + defaultInterpolatedStringHandler3.AppendFormatted(setId); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-1951044220)); + return defaultInterpolatedStringHandler3.ToStringAndClear(); + } + case 0: + goto IL_00a0; + } + continue; + IL_00a0: + num19 = -1977504846; + } + }) + .Distinct() + .ToList(); + stringBuilder2 = stringBuilder; + StringBuilder stringBuilder6 = stringBuilder2; + formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider5 = formatProvider; + appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(48, 4, stringBuilder2, formatProvider); + appendInterpolatedStringHandler.AppendFormatted(text5); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2035955381)); + appendInterpolatedStringHandler.AppendFormatted(list4.Count); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-944275696)); + appendInterpolatedStringHandler.AppendFormatted(value2); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(173110452)); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-832423755)); + appendInterpolatedStringHandler.AppendFormatted((list5.Count > 0) ? _200D_200B_202E_200D_202A_202B_206F_200F_202B_200D_200B_202C_200E_206F_202C_206D_206A_202A_206A_206D_206D_200E_206F_206C_206F_202C_202C_202B_200F_202D_200B_200D_206D_200B_202B_206C_206D_200F_206F_206E_202E(global::_003CModule_003E._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(1577352017), (IEnumerable)list5) : global::_003CModule_003E._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(792471175)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder6, formatProvider5, ref appendInterpolatedStringHandler); + num = -687162180; + break; + } + case 0: + num = -687162178; + break; + } + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private byte[]? ReadFileBytes(string path) + { + try + { + FileResource fileResource = _206D_200B_202C_206C_200C_200C_206C_206B_206C_206D_202A_206E_200F_202C_202A_200C_206F_200D_202A_206B_200C_200E_202B_206A_206E_200B_202D_200E_206E_202A_202A_200F_200B_206A_206A_202D_206F_200D_200D_202E_202E(_dataManager, path); + return (fileResource != null) ? _202A_200B_200C_206C_202E_202B_202D_200B_206E_200F_206C_206C_202D_206E_200E_202A_202D_206F_200E_206C_202D_206A_206A_206F_202E_202D_200B_202D_206F_206D_202C_202B_206E_200F_202A_206E_200E_202D_206C_206E_202E(fileResource) : null; + } + catch (Exception ex) + { + _202E_202D_202B_202C_200B_202A_206E_200C_200B_202A_206B_200D_206C_200C_206A_200E_202E_206E_202A_206F_206F_202E_206A_202B_202A_206C_200B_206C_202D_200D_206E_206A_202B_206B_202A_202A_206C_200E_202E_206C_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-2050201987), new object[1] { path }); + return null; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static List<(uint SetId, uint TerritoryId)> ParseLvbLayerSets(byte[]? data, StringBuilder sb) + { + List<(uint, uint)> list = new List<(uint, uint)>(); + int num = ((data == null) ? (-1069099753) : (-1069099746)); + int num17 = default(int); + bool flag = default(bool); + int num9 = default(int); + int num7 = default(int); + int num10 = default(int); + while (true) + { + int num2 = num; + int num3 = -1069099753; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 10: + { + int num23 = num17; + num3 = 12; + num4 = num23; + int num24 = num4 ^ num3; + int num25 = num4 & num3; + num = ((num24 + (num25 + num25) <= data.Length) ? (-1069099769) : (-1069099749)); + break; + } + case 13: + flag = true; + num = -1069099757; + break; + case 12: + _206E_202B_206C_200C_202E_202C_200B_206D_206C_200B_206A_202D_206C_206C_200F_202B_206E_206B_206C_200C_206A_200D_206C_202D_202C_200D_200E_202C_206F_202C_206E_206A_206E_202A_200E_202C_206E_206D_202B_200C_202E(sb, global::_003CModule_003E._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(-2098223468)); + return list; + case 9: + num = ((data.Length < 36) ? (-1069099753) : (-1069099758)); + break; + case 14: + { + int num11 = num9; + num3 = num7 * 28; + num4 = num11; + int num12 = num4 ^ num3; + int num13 = num4 & num3; + int num14 = num12 + (num13 + num13); + uint item = _202E_200F_202A_206A_206E_202C_206F_206F_200E_206C_200F_206E_202A_200F_202C_206F_200F_202A_206C_206B_202B_200D_206B_200B_200B_206B_206A_202D_200F_200B_202D_202D_202D_206D_206D_206F_202D_202D_200C_202A_202E(data, num14); + num3 = 12; + num4 = num14; + list.Add((item, _202E_200F_202A_206A_206E_202C_206F_206F_200E_206C_200F_206E_202A_200F_202C_206F_200F_202A_206C_206B_202B_200D_206B_200B_200B_206B_206A_202D_200F_200B_202D_202D_202D_206D_206D_206F_202D_202D_200C_202A_202E(data, (num4 | num3) + (num4 & num3)))); + int num15 = num7; + num3 = 1; + num4 = num15; + num7 = (num4 | num3) + (num4 & num3); + num = -1069099759; + break; + } + case 15: + num = ((num10 <= 4096) ? (-1069099754) : (-1069099750)); + break; + case 3: + num17 = 20 + _206B_202A_206F_206A_206A_206C_206C_206E_202A_200E_202E_206B_200F_200D_200F_206D_200F_200F_206E_206A_202A_202B_202E_202D_206D_200E_200F_206B_200F_206F_200F_202D_206A_202E_206E_202A_202A_202A_206F_200D_202E(data, 32); + num = ((num17 < 0) ? (-1069099749) : (-1069099747)); + break; + case 1: + flag = false; + num = -1069099757; + break; + case 4: + num = (flag ? (-1069099745) : (-1069099748)); + break; + case 17: + num7 = 0; + num = -1069099759; + break; + case 0: + _206E_202B_206C_200C_202E_202C_200B_206D_206C_200B_206A_202D_206C_206C_200F_202B_206E_206B_206C_200C_206A_200D_206C_202D_202C_200D_200E_202C_206F_202C_206E_206A_206E_202A_200E_202C_206E_206D_202B_200C_202E(sb, global::_003CModule_003E._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(-1929902287)); + return list; + case 7: + { + StringBuilder stringBuilder = sb; + StringBuilder stringBuilder3 = stringBuilder; + IFormatProvider formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider3 = formatProvider; + StringBuilder.AppendInterpolatedStringHandler appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(17, 1, stringBuilder, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(76646206)); + appendInterpolatedStringHandler.AppendFormatted(num10); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1699175671)); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder3, formatProvider3, ref appendInterpolatedStringHandler); + return list; + } + case 5: + num = ((!HasMagic(data, 0, global::_003CModule_003E._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(247167544))) ? (-1069099753) : (-1069099755)); + break; + case 6: + num = ((num7 < num10) ? (-1069099751) : (-1069099760)); + break; + case 16: + { + int num16 = num17; + num3 = 4; + num4 = num16; + int num18 = num4 ^ num3; + int num19 = num4 & num3; + num10 = _206B_202A_206F_206A_206A_206C_206C_206E_202A_200E_202E_206B_200F_200D_200F_206D_200F_200F_206E_206A_202A_202B_202E_202D_206D_200E_200F_206B_200F_206F_200F_202D_206A_202E_206E_202A_202A_202A_206F_200D_202E(data, num18 + (num19 + num19)); + int num20 = num17; + num3 = 12; + num4 = num20; + int num21 = num4 ^ num3; + int num22 = num4 & num3; + num9 = num21 + (num22 + num22); + num = ((num10 < 0) ? (-1069099750) : (-1069099752)); + break; + } + case 18: + num = -1069099746; + break; + case 8: + { + StringBuilder stringBuilder = sb; + StringBuilder stringBuilder2 = stringBuilder; + IFormatProvider formatProvider = _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E(); + IFormatProvider formatProvider2 = formatProvider; + StringBuilder.AppendInterpolatedStringHandler appendInterpolatedStringHandler = new StringBuilder.AppendInterpolatedStringHandler(34, 1, stringBuilder, formatProvider); + appendInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-310739774)); + appendInterpolatedStringHandler.AppendFormatted(num10); + _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(stringBuilder2, formatProvider2, ref appendInterpolatedStringHandler); + return list; + } + case 11: + { + int num8 = num9; + num3 = num10 * 28; + num4 = num8; + num = (((num4 | num3) + (num4 & num3) <= data.Length) ? (-1069099770) : (-1069099745)); + break; + } + case 2: + num = (HasMagic(data, 12, global::_003CModule_003E._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(964728167)) ? (-1069099756) : (-1069099753)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static List> ParseLgbLayerSetReferences(byte[]? data) + { + List> list = new List>(); + int num = ((data == null) ? 539289198 : 539289203); + int num23 = default(int); + int num28 = default(int); + int num19 = default(int); + int num5 = default(int); + int num24 = default(int); + bool flag = default(bool); + List list3 = default(List); + int num8 = default(int); + int num11 = default(int); + int num7 = default(int); + while (true) + { + int num2 = num; + int num3 = 539289210; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 23: + num = ((num23 < 0) ? 539289213 : 539289186); + break; + case 19: + { + int num27 = num28; + int num29 = num28; + num3 = 20; + num4 = num29; + int num30 = num4 ^ num3; + int num31 = num4 & num3; + num19 = num27 + _206B_202A_206F_206A_206A_206C_206C_206E_202A_200E_202E_206B_200F_200D_200F_206D_200F_200F_206E_206A_202A_202B_202E_202D_206D_200E_200F_206B_200F_206F_200F_202D_206A_202E_206E_202A_202A_202A_206F_200D_202E(data, num30 + (num31 + num31)); + num = ((num19 <= num28) ? 539289214 : 539289202); + break; + } + case 4: + { + int num34 = num5; + num3 = 1; + num4 = num34; + int num35 = num4 ^ num3; + int num36 = num4 & num3; + num5 = num35 + (num36 + num36); + num = 539289209; + break; + } + case 9: + num = ((data.Length < 36) ? 539289198 : 539289211); + break; + case 25: + num = ((num24 <= 100000) ? 539289194 : 539289185); + break; + case 3: + num = ((num5 < num24) ? 539289206 : 539289201); + break; + case 15: + num = (flag ? 539289214 : 539289208); + break; + case 24: + { + int num22 = num23; + num3 = num24 * 4; + num4 = num22; + int num25 = num4 ^ num3; + int num26 = num4 & num3; + num = ((num25 + (num26 + num26) <= data.Length) ? 539289200 : 539289213); + break; + } + case 12: + { + list3 = new List(); + list.Add(list3); + int num37 = num23; + int num38 = num23; + num3 = num5 * 4; + num4 = num38; + num28 = num37 + _206B_202A_206F_206A_206A_206C_206C_206E_202A_200E_202E_206B_200F_200D_200F_206D_200F_200F_206E_206A_202A_202B_202E_202D_206D_200E_200F_206B_200F_206F_200F_202D_206A_202E_206E_202A_202A_202A_206F_200D_202E(data, (num4 | num3) + (num4 & num3)); + num = ((num28 < 0) ? 539289214 : 539289192); + break; + } + case 17: + num = ((num8 <= 4096) ? 539289191 : 539289199); + break; + case 18: + { + int num32 = num28; + num3 = 36; + num4 = num32; + num = (((num4 | num3) + (num4 & num3) > data.Length) ? 539289214 : 539289193); + break; + } + case 1: + num = ((!HasMagic(data, 0, global::_003CModule_003E._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(-1621587450))) ? 539289198 : 539289210); + break; + case 29: + flag = false; + num = 539289205; + break; + case 14: + num11 = 0; + num = 539289212; + break; + case 21: + flag = true; + num = 539289205; + break; + case 22: + num = 539289203; + break; + case 0: + num = (HasMagic(data, 12, global::_003CModule_003E._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(1053193949)) ? 539289188 : 539289198); + break; + case 8: + { + int num33 = num19; + num3 = 12; + num4 = num33; + num = (((num4 | num3) + (num4 & num3) > data.Length) ? 539289214 : 539289190); + break; + } + case 2: + num = ((num7 < 0) ? 539289214 : 539289215); + break; + case 6: + num = ((num11 < num8) ? 539289184 : 539289214); + break; + case 30: + num23 = 20 + _206B_202A_206F_206A_206A_206C_206C_206E_202A_200E_202E_206B_200F_200D_200F_206D_200F_200F_206E_206A_202A_202B_202E_202D_206D_200E_200F_206B_200F_206F_200F_202D_206A_202E_206E_202A_202A_202A_206F_200D_202E(data, 28); + num24 = _206B_202A_206F_206A_206A_206C_206C_206E_202A_200E_202E_206B_200F_200D_200F_206D_200F_200F_206E_206A_202A_202B_202E_202D_206D_200E_200F_206B_200F_206F_200F_202D_206A_202E_206E_202A_202A_202A_206F_200D_202E(data, 32); + num = ((num24 < 0) ? 539289185 : 539289187); + break; + case 7: + return list; + case 28: + { + int num18 = num19; + int num20 = num19; + num3 = 4; + num4 = num20; + num7 = num18 + _206B_202A_206F_206A_206A_206C_206C_206E_202A_200E_202E_206B_200F_200D_200F_206D_200F_200F_206E_206A_202A_202B_202E_202D_206D_200E_200F_206B_200F_206F_200F_202D_206A_202E_206E_202A_202A_202A_206F_200D_202E(data, (num4 | num3) + (num4 & num3)); + int num21 = num19; + num3 = 8; + num4 = num21; + num8 = _206B_202A_206F_206A_206A_206C_206C_206E_202A_200E_202E_206B_200F_200D_200F_206D_200F_200F_206E_206A_202A_202B_202E_202D_206D_200E_200F_206B_200F_206F_200F_202D_206A_202E_206E_202A_202A_202A_206F_200D_202E(data, (num4 | num3) + (num4 & num3)); + num = ((num8 < 1) ? 539289199 : 539289195); + break; + } + case 26: + { + List list2 = list3; + int num12 = num7; + num3 = num11 * 4; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + list2.Add(_202E_200F_202A_206A_206E_202C_206F_206F_200E_206C_200F_206E_202A_200F_202C_206F_200F_202A_206C_206B_202B_200D_206B_200B_200B_206B_206A_202D_200F_200B_202D_202D_202D_206D_206D_206F_202D_202D_200C_202A_202E(data, num13 + (num14 + num14))); + int num15 = num11; + num3 = 1; + num4 = num15; + int num16 = num4 ^ num3; + int num17 = num4 & num3; + num11 = num16 + (num17 + num17); + num = 539289212; + break; + } + case 27: + flag = true; + num = 539289207; + break; + case 11: + return list; + case 16: + flag = false; + num = 539289207; + break; + case 20: + return list; + case 5: + { + int num6 = num7; + num3 = num8 * 4; + num4 = num6; + int num9 = num4 ^ num3; + int num10 = num4 & num3; + num = ((num9 + (num10 + num10) > data.Length) ? 539289214 : 539289204); + break; + } + case 13: + num = (flag ? 539289213 : 539289197); + break; + case 10: + num5 = 0; + num = 539289209; + break; + } + } + } + + private static bool HasMagic(byte[] data, int at, string magic) + { + int num = 0; + int num2 = -985267863; + while (true) + { + int num3 = num2; + int num4 = -985267860; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 5: + num2 = ((num < _202A_202A_200E_202C_202A_202B_200D_202B_206F_200D_206C_206A_206B_200D_202C_200F_200D_200D_200B_206B_206A_200F_206E_200E_202A_206D_200E_202B_206D_202B_202C_200D_202C_202B_202D_202C_202A_200F_202C_200E_202E(magic)) ? (-985267859) : (-985267864)); + break; + case 1: + num4 = num; + num5 = at; + num2 = ((data[(num5 | num4) + (num5 & num4)] == (byte)_206E_206A_202A_202A_206A_206C_200E_200C_200C_200D_206A_202A_206E_200E_206D_202E_202D_200C_200F_202A_202C_200B_200C_202D_206B_202D_206B_202B_206D_206C_206C_200F_202C_202C_200E_206A_206F_202A_200E_200D_202E(magic, num)) ? (-985267860) : (-985267858)); + break; + case 2: + return false; + case 4: + return true; + case 3: + num2 = -985267863; + break; + case 0: + { + int num6 = num; + num4 = 1; + num5 = num6; + int num7 = num5 ^ num4; + int num8 = num5 & num4; + num = num7 + (num8 + num8); + num2 = -985267863; + break; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private string RunGuarded(Func probe) + { + try + { + return probe(); + } + catch (Exception ex) + { + _200D_200E_206B_206A_200C_200E_200E_202B_202A_202A_206B_200B_200C_206E_202E_206F_202E_206B_202D_206E_200B_202B_200C_200D_200D_200C_202D_200F_202A_200B_202E_200E_206D_202B_202C_202D_202A_206B_206E_206F_202E((ILogger)_logger, ex, global::_003CModule_003E._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(-1424876398), Array.Empty()); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(14, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-149691040)); + defaultInterpolatedStringHandler.AppendFormatted(ex); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + static DataProbesPanel() + { + JsonSerializerOptions jsonSerializerOptions = _200C_202E_202B_206C_202A_200C_206A_202A_206A_206F_200B_200D_200E_206E_202B_206F_200B_200B_206B_206C_202A_206D_206F_206D_206B_206A_200B_206B_206B_206B_206F_200D_202A_202D_202C_206B_200E_200E_206A_206F_202E(); + _206D_206C_206E_200B_202A_206E_206D_202B_206B_200B_206C_200F_200F_200E_200E_206A_202D_200E_202A_206A_200F_202B_202B_206B_206C_200F_206D_200E_202C_200D_202C_202E_206C_200D_200E_202B_200E_200E_202C_202E(jsonSerializerOptions, true); + IndentedJson = jsonSerializerOptions; + } + + static void _206E_202C_206B_202A_202A_206A_200E_206C_202C_202B_200F_206D_200E_206E_206F_202B_202A_206A_206B_202B_200C_202E_202E_206F_206C_202D_206F_202D_206A_200E_202D_206E_206B_200F_206A_206E_206E_206C_202E_202E_202E() + { + ImGui.Separator(); + } + + static void _206E_200E_200E_206D_206A_206E_206B_206E_202C_202B_202A_206C_200F_206E_202E_202E_202C_206B_202E_206B_206C_206F_200D_202B_200B_202C_200E_206D_200B_202B_202A_200B_202B_202A_206D_200B_206E_200D_200E_202A_202E() + { + ImGui.SameLine(); + } + + static bool _202E_206D_202D_202A_206D_206A_200E_200B_202E_202B_202B_206C_200B_202C_206B_206A_206D_202E_202B_202A_202B_202B_200E_206F_206E_200D_202E_206B_202A_202C_206D_200C_200D_200B_206D_200B_202A_202B_202A_200F_202E(ImU8String P_0, Vector2 P_1) + { + return ImGui.Button(P_0, P_1); + } + + static void _206F_200F_200D_206E_206B_200F_202A_200D_200F_202B_206C_202D_206F_200E_200B_206F_202B_206B_202E_206A_206E_200D_206A_200E_202C_206F_200C_200F_200E_206D_202D_202A_200E_206D_200B_202C_200C_202A_202A_206C_202E(ImU8String P_0) + { + ImGui.SetClipboardText(P_0); + } + + static ImRaii.ChildDisposable _206C_202C_200C_200F_206B_202D_202E_206C_202E_206F_202E_206B_206D_206F_206C_206D_206C_202A_202D_200C_202D_202D_202C_202B_202D_206C_202C_200B_202E_206B_200D_206F_202C_200E_206F_202C_202C_200E_206B_206E_202E(ImU8String P_0, Vector2 P_1, bool P_2) + { + return ImRaii.Child(P_0, P_1, P_2); + } + + static void _206A_202A_200D_206D_206F_206E_206A_200D_200D_202C_206F_206D_202C_206C_206C_206B_206C_206B_202A_200E_206D_206A_200E_200D_206E_200D_206F_206F_202A_200D_200B_202C_200D_206B_206A_200F_202D_200B_200C_206B_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static bool _200D_202B_200B_206D_200C_202D_206C_206B_202A_206E_202B_200D_200E_200B_206F_206C_206A_202D_206E_206D_206C_200F_206F_206C_202A_206B_200B_206D_206B_200C_200E_202B_206C_206C_200C_202D_202D_200B_202D_206D_202E(ImU8String P_0, ImGuiTreeNodeFlags P_1) + { + return ImGui.CollapsingHeader(P_0, P_1); + } + + static void _202C_200D_202E_206B_206F_200D_202B_200E_206C_202C_200F_200F_200D_200D_200F_206C_200B_206B_200E_206C_200F_202B_202C_206E_202D_200B_200D_200E_202E_200B_200F_206D_202D_200C_206E_202E_206E_200F_202A_206E_202E(ImU8String P_0) + { + ImGui.TextWrapped(P_0); + } + + static StringBuilder _200C_200B_206F_206E_206D_206D_202E_206B_202B_202A_200E_200F_202B_206F_200D_200E_202A_206A_200C_200B_206C_206C_202A_206D_206C_202A_202C_202E_206C_206E_206C_206B_206B_206C_200C_202B_202B_200F_200B_202E_202E() + { + return new StringBuilder(); + } + + static NavGraph _206F_202D_206E_206E_202C_206F_206B_206B_206E_200F_200E_200C_206F_206A_202E_206C_202E_200E_202C_202A_206F_200F_206A_206C_202B_202B_202C_206D_206C_200F_202E_200C_202C_200C_202A_200D_202E_202A_200D_206D_202E(NavRouter P_0) + { + return P_0.StaticGraph; + } + + static IReadOnlyDictionary _202D_200E_206A_200F_206E_206F_200C_200E_206B_206B_206E_202B_202E_206F_200C_206C_206A_202B_200E_202C_200F_206B_200D_202C_206E_202B_200E_200C_202E_206F_200E_200B_202A_206B_202D_202B_200C_200E_202A_206E_202E(NavGraph P_0) + { + return P_0.Nodes; + } + + static IReadOnlyList _200F_206D_206B_206C_202B_206B_206E_200F_202C_202C_202C_206F_202C_200D_202D_200B_200B_206D_206F_202E_200D_206C_202A_206D_202D_202A_200F_206D_202A_206C_202E_202A_206A_202B_200C_206E_202C_200B_202C_202E_202E(WarpDataService P_0) + { + return P_0.Warps; + } + + static uint[] _206E_206E_206C_202C_202E_200B_206A_206E_206A_206B_200F_200C_206E_206D_206E_206D_206B_202A_206A_206B_200D_200C_206C_206F_200E_206E_202C_206D_200D_206C_202D_200C_200C_206A_200E_206E_206D_206F_200C_200C_202E(WarpDataService.WarpInfo P_0) + { + return P_0.RequiredQuestIds; + } + + static uint _206A_200E_200D_202B_206D_202B_206F_202D_202C_200F_206C_202C_206F_202E_200B_202C_200D_206B_202A_206A_200B_202B_200C_202D_206F_202C_206D_200E_202E_200C_200E_206E_200D_202D_200D_200E_202E_200B_206C_200E_202E(WarpDataService.WarpInfo P_0) + { + return P_0.RowId; + } + + static CultureInfo _202E_206C_202E_206C_200E_200E_206A_206B_202A_206E_200E_202A_206A_200F_206C_206A_202D_206F_202B_200B_202C_202B_202D_206D_200F_200B_202B_200D_200D_200C_200E_202A_200B_202B_202A_206C_206E_200E_200D_202E_202E() + { + return CultureInfo.InvariantCulture; + } + + static string _200E_206B_206D_202D_206E_206F_200D_206C_202D_206A_200C_202C_200C_200D_202B_202B_206F_200D_200E_206E_206B_206C_200E_202D_206B_206C_200E_200E_206A_202E_202D_202B_200E_206A_200C_200C_202D_200C_200C_200F_202E(WarpDataService.WarpInfo P_0) + { + return P_0.Name; + } + + static string _206F_200E_206B_202D_202B_202E_206F_200D_206B_202B_206C_206F_202B_202B_200F_206A_202A_206E_206A_202D_202B_200C_202C_202D_200F_206F_202D_202D_200D_206D_200C_206C_202B_206E_206A_206C_206C_206E_206E_202A_202E(WarpDataService.WarpInfo P_0) + { + return P_0.Question; + } + + static ushort _206C_206A_202A_206A_202E_200F_206F_202D_200C_200D_202C_200C_200C_206B_200C_206B_206F_202E_206E_200C_206A_200C_200D_202E_200C_202D_200B_206C_200C_202D_206F_206B_202B_202E_200D_202C_202D_202D_206D_202E(WarpDataService.WarpInfo P_0) + { + return P_0.DestTerritoryId; + } + + static StringBuilder _200B_200B_202E_202C_200D_202E_200C_206A_206B_206B_206A_202B_206B_206D_206C_202C_202B_200D_206A_200E_202A_206C_206D_202E_202D_206A_200F_200F_202A_202D_206A_206F_206A_200F_206A_202B_200E_202B_202D_202E_202E(StringBuilder P_0, IFormatProvider P_1, ref StringBuilder.AppendInterpolatedStringHandler P_2) + { + return P_0.AppendLine(P_1, ref P_2); + } + + static bool _206A_206D_200E_200B_202B_202D_200E_206A_200B_200B_202E_202E_202A_200B_206B_200E_202C_206F_200F_202D_206D_202A_206C_202A_206C_200D_200C_200E_200F_206B_206C_206F_206B_206F_202D_206C_206A_202A_206A_206C_202E(WarpDataService.WarpInfo P_0) + { + return P_0.RequireAllQuests; + } + + static ushort _206C_200F_206C_206D_202A_206A_206B_202A_202D_200E_206B_202E_202C_200C_206C_206F_202D_206D_202E_200E_206C_200C_200B_202C_206B_202B_206F_200C_202E_200D_202D_200D_206D_200C_206B_200E_206B_206C_206C_200F_202E(WarpDataService.WarpInfo P_0) + { + return P_0.SourceTerritoryId; + } + + static Vector3 _202E_200F_206B_206C_206E_202E_200C_206B_206A_200E_200C_200F_200B_206C_206F_200F_206A_200C_202E_202A_200C_200D_200C_200E_200E_200E_200E_200D_202D_200C_206F_206F_202B_202A_206C_200C_202D_206C_206F_206D_202E(WarpDataService.WarpInfo P_0) + { + return P_0.SourcePosition; + } + + static uint? _200C_206D_206F_200C_200D_200B_206A_200D_202C_200E_202C_202B_202A_200D_202B_206F_206B_206B_206F_206C_202A_200E_202C_200D_202D_206C_202B_206D_206E_206B_202A_206C_202D_200F_202D_202B_202E_206B_200B_206A_202E(WarpDataService.WarpInfo P_0) + { + return P_0.NpcDataId; + } + + static bool _206E_200C_206A_206A_200C_200E_206C_202B_206D_206E_206D_202E_202C_200B_206C_206D_200D_202D_202B_202B_200C_200D_200B_206A_200C_206D_202C_202E_202B_206F_206A_206B_206D_200C_206B_202E_206A_200E_206C_200E_202E(WarpDataService.WarpInfo P_0) + { + return P_0.DerivedSource; + } + + static bool _206A_200F_206D_206E_200B_206D_206D_200C_202A_202A_200D_206A_206F_202C_202A_200D_200F_200B_206E_200B_206E_202B_206D_200B_202C_202E_200B_206A_202D_206F_200F_206F_206D_206C_206F_206D_206D_202B_206D_202E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202A_202C_202E_206A_200C_206D_206F_202C_202B_206D_206C_200D_202B_206B_200B_202D_200B_202B_200C_206D_202B_200E_202E_200D_206C_202A_200E_200C_206C_202B_206C_202C_202C_200E_202A_206D_202B_206E_206D_200D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static string _200F_200E_202E_206F_200B_202E_206C_206B_202C_200E_200F_206F_206E_202A_202A_200C_200F_200C_200B_202B_200B_206D_206D_206E_202B_200D_206B_202A_200B_206E_200E_200C_202A_200F_200B_200B_200F_202D_206B_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _206A_206F_206B_200F_206F_200F_200F_202E_206F_206C_206C_202E_206F_202C_200F_202B_206D_202C_206A_202A_206C_200D_200D_206C_206E_202C_206C_202C_200F_206E_200C_206C_200E_206C_206C_206B_200B_200B_200C_202D_202E(ImU8String P_0, ref bool P_1) + { + return ImGui.Checkbox(P_0, ref P_1); + } + + static Vector3? _200D_206E_202D_206B_206B_206E_206E_200C_202B_206F_206C_200E_200B_202D_202D_202D_206E_202A_200B_202C_202D_206D_206C_206B_200F_202E_202E_206A_206C_206F_206A_206A_206C_202D_200C_206B_206C_206F_206E_206C_202E(WarpDataService.WarpInfo P_0) + { + return P_0.DestPosition; + } + + static bool _206D_202B_200C_206B_200D_206F_206F_200F_200B_202B_206B_200C_202E_206C_202D_200E_202A_200D_206A_202B_200E_206C_200C_200C_202A_206C_202D_202A_206C_200F_206D_206E_202A_206E_200C_200D_206F_200E_200E_206A_202E(WarpDataService.WarpInfo P_0) + { + return P_0.DerivedArrival; + } + + static string _202B_200B_202E_200C_202A_202C_206A_200D_206D_200E_206E_202C_202E_202E_200C_202A_206E_200C_206D_202E_206D_200D_202E_206F_206C_200B_200E_206F_202E_200E_206B_200C_206E_206B_202D_206F_200E_202A_206D_200F_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static string _200D_200B_202E_200D_202A_202B_206F_200F_202B_200D_200B_202C_200E_206F_202C_206D_206A_202A_206A_206D_206D_200E_206F_206C_206F_202C_202C_202B_200F_202D_200B_200D_206D_200B_202B_206C_206D_200F_206F_206E_202E(string P_0, IEnumerable P_1) + { + return string.Join(P_0, P_1); + } + + static StringBuilder _206D_200E_202C_206F_206D_202E_202C_206A_200B_200D_202B_202A_202E_202A_202D_202D_200D_206C_202A_202A_206F_202D_206D_202C_202C_206E_206C_202E_200D_202D_206C_206F_206D_206C_206E_200E_200E_200D_200B_202B_202E(StringBuilder P_0) + { + return P_0.AppendLine(); + } + + static int _200C_206B_200D_202A_202B_202A_206A_200C_206A_202B_202E_200C_206B_202D_200C_206D_206B_200D_206D_202B_202E_200B_206B_200E_202D_206C_202A_202B_200D_206A_206B_202B_206A_202C_206D_202B_200E_200C_202C_206E_202E(int P_0, int P_1) + { + return Math.Min(P_0, P_1); + } + + static bool _202B_200C_202C_206D_200B_200F_206E_206C_202A_200B_206B_200E_202A_202D_206A_206C_202C_206A_202A_200D_202B_202E_206C_200B_202C_206A_206D_202A_206F_200B_202E_206B_200D_200D_206D_200C_206B_202C_200B_200C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static int _206B_202C_200D_202B_200B_202A_206F_200B_200C_200B_200C_200C_200B_200D_200B_206A_200C_200B_202B_200E_206C_206A_200B_206F_206B_202B_206E_206A_200F_202D_202A_200F_202B_206D_202E_200F_206F_200D_202E_200F_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.IndexOf(P_1, P_2); + } + + static string _202C_202E_206A_206F_206A_206D_200C_202B_206B_200C_206F_206B_202A_206D_202C_200C_200F_200F_202A_200D_206D_206E_202A_206F_206F_206B_200F_200C_206E_200C_202E_200F_200F_206E_206E_202A_206E_202E_206B_202D_202E(string P_0, int P_1, int P_2) + { + return P_0.Substring(P_1, P_2); + } + + static string _200F_206C_206B_202E_206B_206A_206C_202D_206F_202A_202E_206F_206F_206A_200E_200F_206E_206C_206D_202B_202C_202B_206C_206F_200D_206D_206E_200F_206F_202D_202E_200F_206B_200F_206F_202C_200E_200B_200D_206E_202E(string P_0, string P_1, string P_2, string P_3) + { + return P_0 + P_1 + P_2 + P_3; + } + + static LayerCommon.Layer[] _200F_202B_206B_202A_200F_200E_202B_206C_206A_206A_202D_200B_206B_206E_206F_200C_200E_202C_200C_200D_200B_200C_206A_206B_206E_202C_200C_202D_206B_200E_206A_206C_206F_206F_202D_206F_202C_200D_202D_206E_202E(LgbFile P_0) + { + return P_0.Layers; + } + + static void _202E_202D_202B_202C_200B_202A_206E_200C_200B_202A_206B_200D_206C_200C_206A_200E_202E_206E_202A_206F_206F_202E_206A_202B_202A_206C_200B_206C_202D_200D_206E_206A_202B_206B_202A_202A_206C_200E_202E_206C_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogTrace(P_1, P_2, P_3); + } + + static DirectoryInfo _202B_200F_206C_202E_202B_200C_200B_206B_200D_202A_200C_200B_202C_200B_202C_202B_200C_200F_202D_206E_206D_200F_202A_206B_200E_206D_202A_202C_206B_200D_206C_202C_206B_200D_200D_202E_202A_206D_202B_206A_202E(SmartNavDataOptions P_0) + { + return P_0.DevSourceDirectory; + } + + static void _202D_206C_202B_206F_200E_206C_206A_200F_200C_202E_200B_202B_202B_200B_202E_200D_200C_202D_202E_202D_200D_206F_200B_206E_206E_200C_206A_206E_200E_206F_206F_206D_202E_202A_202E_206B_200E_206A_200B_200F_202E(ImU8String P_0) + { + ImGui.TextDisabled(P_0); + } + + static DerivedArrivalEntry _202A_206F_206E_202E_200C_202B_202C_206B_202D_200E_202A_202A_200F_206F_206B_202E_206B_200D_202B_206B_202A_206F_200C_206B_202E_206E_206E_202B_200F_206E_202E_206A_200F_206D_202E_200B_202B_202D_202E_202D_202E() + { + return new DerivedArrivalEntry(); + } + + static void _206D_206B_202B_200F_202E_206D_202A_206C_202B_206B_202D_200B_206A_206B_202E_202C_202E_202A_200C_206F_200E_200D_202B_202E_200F_202B_200E_206F_206C_206A_202B_200B_200E_202C_202C_200D_206D_206D_206B_202E_202E(DerivedArrivalEntry P_0, uint P_1) + { + P_0.PopRangeId = P_1; + } + + static void _206F_202E_206A_202C_202D_206B_202D_206D_206A_206F_206F_202C_200F_202B_206F_206F_200E_206C_206E_206C_200B_206C_200C_202C_206A_202A_206F_206D_202E_202E_206E_202B_202B_202D_202A_200C_206F_202E_202C_200D_202E(DerivedArrivalEntry P_0, ushort P_1) + { + P_0.TerritoryId = P_1; + } + + static void _200D_200F_206A_200D_202A_202A_202B_200C_202B_202B_206F_202C_202A_206E_202A_206F_202C_200D_206C_200F_202A_200E_202A_206A_200B_206D_206B_200D_206E_206E_206F_206E_200C_200B_206B_202A_206C_200C_202E_200C_202E(DerivedArrivalEntry P_0, float P_1) + { + P_0.X = P_1; + } + + static void _200D_202A_202B_206A_200E_200C_202B_200B_202E_200E_206F_206A_206E_200E_206C_200B_206A_206A_200D_200D_200F_206A_206A_200F_200C_200D_206A_206C_206D_206C_202A_200B_206E_202D_202A_206F_202C_202E_206E_202E(DerivedArrivalEntry P_0, float P_1) + { + P_0.Y = P_1; + } + + static void _206F_202B_200E_200D_202E_200D_206D_206F_202C_206C_206F_200F_206F_206B_206E_200B_202A_206A_200E_200C_200B_206E_206D_206B_206A_200C_202C_200E_200F_200D_206A_200E_200C_202C_200B_200F_200C_206F_200C_200F_202E(DerivedArrivalEntry P_0, float P_1) + { + P_0.Z = P_1; + } + + static DerivedArrivalFile _206F_202E_200F_206F_200C_206D_206B_206B_200C_200C_202B_200B_206A_206C_206A_206B_206A_202A_206E_202A_206B_202C_202D_206C_202C_200B_206B_200F_206C_202C_206F_202C_200C_200F_202C_202B_206E_206F_200C_200D_202E() + { + return new DerivedArrivalFile(); + } + + static string _206D_202D_202E_200E_206B_202D_206F_202C_200E_202E_200B_206C_200F_202D_200F_200F_202E_206C_202D_200D_206A_206C_202D_200D_200C_202D_200F_206F_200F_202C_202A_200F_202D_200F_206B_200B_202C_202A_200F_202B_202E(SmartNavDataOptions P_0) + { + return P_0.GameVersion; + } + + static void _200F_206F_206E_206E_202B_206A_206E_206B_202B_206F_206A_200F_206D_200D_202B_206C_202B_200E_202C_206E_200E_206B_206C_200F_200C_206D_206D_206C_202E_200E_202A_206C_202B_202C_206C_200F_206E_200B_202A_202B_202E(DerivedArrivalFile P_0, string P_1) + { + P_0.GameVersion = P_1; + } + + static void _200F_200B_202E_206F_206A_206E_202D_200B_206F_200F_206C_202B_206F_206E_202C_200E_200E_206E_200C_202A_202C_200F_206E_202D_200C_202C_202C_202B_200C_202D_206D_200F_202A_202A_200F_200C_206F_206B_200B_206E_202E(DerivedArrivalFile P_0, Dictionary P_1) + { + P_0.Arrivals = P_1; + } + + static string _200E_206F_200E_202B_206E_202B_200F_206C_200C_206E_206C_206B_200F_202B_200F_206A_200F_206C_206C_206B_202D_202D_202E_202C_200E_200C_202D_200E_202A_200B_200D_202E_206A_206A_200E_206A_200D_202D_206F_202D_202E(FileSystemInfo P_0) + { + return P_0.FullName; + } + + static string _206C_200E_202C_206E_202A_202A_206D_206E_202B_200F_202A_202E_200F_200E_206B_206D_206F_202A_202C_206B_200C_202C_206C_200F_206D_200C_206F_202C_202A_206E_202E_202A_202A_202C_206E_206D_202E_200F_200E_202E_202E(string P_0, string P_1) + { + return Path.Combine(P_0, P_1); + } + + static void _206B_206C_200C_202B_200D_202C_200B_202E_200F_206C_200F_202B_206D_206E_202A_206C_206D_202E_206E_200B_206F_202E_202C_202C_206E_202D_200D_202B_200D_206B_202A_206D_206B_206A_206B_202C_202E_202D_200F_202B_202E(string P_0, string P_1) + { + File.WriteAllText(P_0, P_1); + } + + static StringBuilder _206E_202B_206C_200C_202E_202C_200B_206D_206C_200B_206A_202D_206C_206C_200F_202B_206E_206B_206C_200C_206A_200D_206C_202D_202C_200D_200E_202C_206F_202C_206E_206A_206E_202A_200E_202C_206E_206D_202B_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.AppendLine(P_1); + } + + static string _202D_206B_202B_206F_202B_202B_200F_202E_206F_202A_206A_206E_206B_206B_206C_206A_200D_202C_202C_202E_206E_202D_200E_206E_206C_206C_200D_200D_200B_200E_200B_202E_206C_202B_206C_200E_200F_206F_200E_200D_202E(DerivedArrivalFile P_0) + { + return P_0.GameVersion; + } + + static void _202A_206B_202E_206C_202B_200B_200D_202B_206B_200F_206E_200F_200B_206D_206E_206B_202D_200F_206E_200B_202D_200F_200D_200B_202B_200E_206B_200D_200C_202E_206D_200C_202B_206D_200E_206A_206D_206E_202D_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static bool _200C_202C_200C_206F_202A_202D_200F_206D_206D_200E_202B_200E_200B_206B_206E_206C_206A_200C_206F_200C_202E_200E_206C_206B_206B_202B_206D_206F_202B_206F_206E_206B_206E_202D_206C_202B_202C_202A_206A_202A_202E(ImU8String P_0, ref int P_1, int P_2, int P_3, ImU8String P_4, ImGuiInputTextFlags P_5) + { + return ImGui.InputInt(P_0, ref P_1, P_2, P_3, P_4, P_5); + } + + static uint _200B_206F_206B_206D_206C_202D_206E_200D_206C_202C_206F_202D_202E_206F_206B_200B_200E_206F_200F_200D_200D_202D_202B_200D_202B_206D_206F_206E_206A_206B_202E_202E_206A_202C_206E_202C_202E_206D_200B_202C_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static int _200E_200B_206C_206A_202B_206B_202D_202D_206A_200C_200F_200F_200C_202E_200B_206C_202C_206E_202A_206A_202D_206D_200D_206D_202E_202A_200F_200C_206B_200D_202D_202E_206B_202C_206A_200B_202B_202A_200C_206A_202E(string P_0, char P_1) + { + return P_0.LastIndexOf(P_1); + } + + static string _206A_206B_200D_200F_200E_206F_200E_202E_200D_206E_202C_202E_202A_206A_200C_202A_200D_206D_200C_202D_200C_206E_200D_202E_202E_202D_200D_202D_202C_206B_206D_200C_202E_202C_202B_200F_200C_206D_202A_200F_202E(string P_0, int P_1) + { + return P_0.Substring(P_1); + } + + static string _200C_200F_202E_206E_202C_206B_206C_202E_200B_206E_200C_206E_206B_200C_200D_206B_202C_200F_202E_202E_200C_206D_206C_206D_206E_202A_206E_202A_200C_206C_202B_206F_206A_206D_200C_200E_200B_200D_206C_206E_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static FileResource _206D_200B_202C_206C_200C_200C_206C_206B_206C_206D_202A_206E_200F_202C_202A_200C_206F_200D_202A_206B_200C_200E_202B_206A_206E_200B_202D_200E_206E_202A_202A_200F_200B_206A_206A_202D_206F_200D_200D_202E_202E(IDataManager P_0, string P_1) + { + return P_0.GetFile(P_1); + } + + static byte[] _202A_200B_200C_206C_202E_202B_202D_200B_206E_200F_206C_206C_202D_206E_200E_202A_202D_206F_200E_206C_202D_206A_206A_206F_202E_202D_200B_202D_206F_206D_202C_202B_206E_200F_202A_206E_200E_202D_206C_206E_202E(FileResource P_0) + { + return P_0.Data; + } + + static int _206B_202A_206F_206A_206A_206C_206C_206E_202A_200E_202E_206B_200F_200D_200F_206D_200F_200F_206E_206A_202A_202B_202E_202D_206D_200E_200F_206B_200F_206F_200F_202D_206A_202E_206E_202A_202A_202A_206F_200D_202E(byte[] P_0, int P_1) + { + return BitConverter.ToInt32(P_0, P_1); + } + + static uint _202E_200F_202A_206A_206E_202C_206F_206F_200E_206C_200F_206E_202A_200F_202C_206F_200F_202A_206C_206B_202B_200D_206B_200B_200B_206B_206A_202D_200F_200B_202D_202D_202D_206D_206D_206F_202D_202D_200C_202A_202E(byte[] P_0, int P_1) + { + return BitConverter.ToUInt32(P_0, P_1); + } + + static char _206E_206A_202A_202A_206A_206C_200E_200C_200C_200D_206A_202A_206E_200E_206D_202E_202D_200C_200F_202A_202C_200B_200C_202D_206B_202D_206B_202B_206D_206C_206C_200F_202C_202C_200E_206A_206F_202A_200E_200D_202E(string P_0, int P_1) + { + return P_0[P_1]; + } + + static int _202A_202A_200E_202C_202A_202B_200D_202B_206F_200D_206C_206A_206B_200D_202C_200F_200D_200D_200B_206B_206A_200F_206E_200E_202A_206D_200E_202B_206D_202B_202C_200D_202C_202B_202D_202C_202A_200F_202C_200E_202E(string P_0) + { + return P_0.Length; + } + + static void _200D_200E_206B_206A_200C_200E_200E_202B_202A_202A_206B_200B_200C_206E_202E_206F_202E_206B_202D_206E_200B_202B_200C_200D_200D_200C_202D_200F_202A_200B_202E_200E_206D_202B_202C_202D_202A_206B_206E_206F_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static JsonSerializerOptions _200C_202E_202B_206C_202A_200C_206A_202A_206A_206F_200B_200D_200E_206E_202B_206F_200B_200B_206B_206C_202A_206D_206F_206D_206B_206A_200B_206B_206B_206B_206F_200D_202A_202D_202C_206B_200E_200E_206A_206F_202E() + { + return new JsonSerializerOptions(); + } + + static void _206D_206C_206E_200B_202A_206E_206D_202B_206B_200B_206C_200F_200F_200E_200E_206A_202D_200E_202A_206A_200F_202B_202B_206B_206C_200F_206D_200E_202C_200D_202C_202E_206C_200D_200E_202B_200E_200E_202C_202E(JsonSerializerOptions P_0, bool P_1) + { + P_0.WriteIndented = P_1; + } +} diff --git a/Questionable/Questionable.Windows.SmartNavComponents/SubRegionMapPanel.cs b/Questionable/Questionable.Windows.SmartNavComponents/SubRegionMapPanel.cs new file mode 100644 index 00000000..80ddc15d --- /dev/null +++ b/Questionable/Questionable.Windows.SmartNavComponents/SubRegionMapPanel.cs @@ -0,0 +1,819 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text.Json; +using Dalamud.Bindings.ImGui; +using Dalamud.Game.ClientState.Objects.SubKinds; +using Dalamud.Game.ClientState.Objects.Types; +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; + + 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 _206D_202A_202C_200B_206B_200E_202E_202B_206A_206D_206A_206B_200E_206E_200E_202B_206D_202E_206B_206F_206D_202C_206C_206D_200C_206F_206A_200D_202C_202D_202A_202B_202A_200B_206F_206A_200C_206E_206B_200F_202E(_editor); + } + set + { + _206C_206E_202D_206A_206C_202D_200D_200E_202E_202C_200C_202A_206E_206E_202B_206B_206B_200B_206D_206D_202B_206F_206D_206D_202B_202C_206E_206B_200F_202B_202B_202A_206B_200E_206D_206F_206A_200F_200D_200C_202E(_editor, value); + } + } + + public bool IsDrawing => _200D_200C_206E_200F_206C_206F_200F_206F_206F_200E_200D_206C_202D_202A_200F_206A_200C_206D_206E_202B_200D_202A_200F_206C_202A_206A_202C_202A_202E_200E_206F_200C_202D_202D_206F_200F_202D_202A_200F_206D_202E(_editor); + + public IReadOnlyList SubRegions => _subRegions; + + int IEditablePolygonSet.PolygonCount => _subRegions.Count; + + public SubRegionMapPanel(ITextureProvider textureProvider, IDataManager dataManager, ZoneSubRegionService zoneSubRegionService, IClientState clientState, IObjectTable objectTable, ILoggerFactory loggerFactory) + { + _mapService = _200F_200B_200C_200B_202E_202E_200E_206D_206A_206F_202E_200E_206E_200D_202A_206E_206D_206A_202C_206E_202E_206E_202A_202A_202A_202E_200C_206F_200B_200C_200C_202C_206C_202A_202E_200C_202C_200C_200C_206D_202E(textureProvider, dataManager, loggerFactory.CreateLogger()); + _editor = _206A_200C_202C_206D_202B_202E_206D_206E_202C_200E_202E_206A_206E_206E_202C_206F_200C_206D_206E_202E_206B_202A_206A_206B_202A_202E_202B_202D_200E_206D_200D_200D_202B_206C_206F_200D_200D_206D_202A_202E_202E(_mapService); + _zoneSubRegionService = zoneSubRegionService; + _clientState = clientState; + _objectTable = objectTable; + } + + public void Draw(JsonSerializerOptions jsonOptions) + { + uint num = _200F_200F_206E_206A_202A_206E_202D_206A_202E_200F_200E_202A_200E_206B_202A_202E_202A_200B_206E_202E_202E_206D_200D_202A_206D_206A_200C_200C_202D_206E_206F_202C_200E_202C_206C_200B_206D_206A_206D_200E_202E(_clientState); + EnsureLoaded(num); + _202A_200C_200B_206A_206C_200E_202E_200D_206D_202E_200C_206C_202D_200D_206A_206F_206B_200B_202D_202B_202C_206E_206F_206B_206D_202B_206F_206D_200D_206D_202A_206D_200D_202A_206C_202B_200B_200F_200B_202D_202E(_mapService, num); + DrawToolbar(jsonOptions); + IPlayerCharacter playerCharacter = _206D_202D_206A_200E_200E_200C_206C_202D_202D_202B_200C_206C_206D_202B_202B_206F_200D_202E_206D_202C_202E_206D_200F_200E_202B_206E_202E_202C_202E_206C_200C_200D_206C_202B_202B_200F_200B_202D_200F_202E_202E(_objectTable); + Vector3? vector = ((playerCharacter != null) ? new Vector3?(_202B_202C_202B_206A_202A_206D_206E_200B_200C_206A_200C_202C_206E_200C_200D_202C_206F_202D_206A_202C_202A_206C_202E_206E_200B_200D_200B_200E_200E_200B_206F_206A_202C_202D_200F_206A_202D_206E_206B_206A_202E((IGameObject)playerCharacter)) : ((Vector3?)null)); + Vector2 vector2 = _202D_206F_202C_202A_200E_202C_200E_206B_200F_200F_206D_202C_200E_200B_206A_202C_200B_200D_200F_202A_200F_206C_206F_202B_200B_202A_200D_206E_206F_206E_200E_202A_206B_200B_202A_206F_200D_202D_206A_202E_202E(); + _202E_202C_206E_206E_202D_200F_206B_202B_200F_200F_200C_200D_200D_206B_202E_200B_202C_200E_200C_200E_202A_200F_206E_206B_202C_206E_200C_206F_200E_200D_200E_200D_200B_206D_202D_202B_202A_200C_200B_200C_202E(_editor, (IEditablePolygonSet)this, vector, (Vector2?)new Vector2(vector2.X, 500f)); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawToolbar(JsonSerializerOptions jsonOptions) + { + int num = ((!_200D_200C_206E_200F_206C_206F_200F_206F_206F_200E_200D_206C_202D_202A_200F_206A_200C_206D_206E_202B_200D_202A_200F_206C_202A_206A_202C_202A_202E_200E_206F_200C_202D_202D_206F_200F_202D_202A_200F_206D_202E(_editor)) ? 1130482468 : 1130482477); + while (true) + { + int num2 = num; + int num3 = 1130482472; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 9: + num = ((_206D_202A_202C_200B_206B_200E_202E_202B_206A_206D_206A_206B_200E_206E_200E_202B_206D_202E_206B_206F_206D_202C_206C_206D_200C_206F_206A_200D_202C_202D_202A_202B_202A_200B_206F_206A_200C_206E_206B_200F_202E(_editor) >= _subRegions.Count) ? 1130482472 : 1130482474); + break; + case 3: + if (_206D_202A_202C_200B_206B_200E_202E_202B_206A_206D_206A_206B_200E_206E_200E_202B_206D_202E_206B_206F_206D_202C_206C_206D_200C_206F_206A_200D_202C_202D_202A_202B_202A_200B_206F_206A_200C_206E_206B_200F_202E(_editor) >= 0) + { + num = 1130482479; + break; + } + return; + case 0: + _202B_202E_206B_206A_206A_202B_206C_206B_200E_202D_202D_202A_206F_200F_200C_206D_200B_200B_202C_200B_206F_200D_200E_200E_200F_206F_202E_206A_200F_206F_206F_202A_200F_200D_200F_202C_206C_202C_206E_200C_202E(); + num = ((!_206E_202B_202B_200E_202C_200D_200B_200F_202B_200C_200D_202A_202C_206B_206B_206C_206A_202B_200F_206A_206F_206D_206F_206B_206B_206F_206C_200B_206D_206B_202A_206C_206B_202B_202D_202D_200B_206B_206D_206E_202E((ImU8String)global::_003CModule_003E._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(-1359524702), default(Vector2))) ? 1130482475 : 1130482467); + break; + case 2: + _202B_202E_206B_206A_206A_202B_206C_206B_200E_202D_202D_202A_206F_200F_200C_206D_200B_200B_202C_200B_206F_200D_200E_200E_200F_206F_202E_206A_200F_206F_206F_202A_200F_200D_200F_202C_206C_202C_206E_200C_202E(); + num = ((!_206E_202B_202B_200E_202C_200D_200B_200F_202B_200C_200D_202A_202C_206B_206B_206C_206A_202B_200F_206A_206F_206D_206F_206B_206B_206F_206C_200B_206D_206B_202A_206C_206B_202B_202D_202D_200B_206B_206D_206E_202E((ImU8String)global::_003CModule_003E._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(-1993568544), default(Vector2))) ? 1130482472 : 1130482478); + break; + case 4: + _202B_206D_206F_206D_200F_202B_202D_200B_206E_200D_206D_202A_202A_202A_202D_202A_206A_202C_200F_202E_206B_202D_200F_202A_202D_200B_200B_200C_206B_206B_206B_200D_206F_206C_202B_200D_200B_200E_202C_206F_202E(_editor); + num = 1130482466; + break; + case 14: + _200F_206E_202C_206B_206D_202D_200B_200C_200D_200F_200D_200B_200B_202E_206B_206A_206E_200B_200C_200F_206B_202B_202C_200F_202C_202E_202C_206C_206F_202C_206C_206D_200E_206F_206E_200D_202D_206C_200E_206E_202E(_editor); + num = 1130482473; + break; + case 8: + num = 1130482477; + break; + case 10: + num = ((_206D_202A_202C_200B_206B_200E_202E_202B_206A_206D_206A_206B_200E_206E_200E_202B_206D_202E_206B_206F_206D_202C_206C_206D_200C_206F_206A_200D_202C_202D_202A_202B_202A_200B_206F_206A_200C_206E_206B_200F_202E(_editor) < 0) ? 1130482472 : 1130482465); + break; + case 12: + num = ((!_206E_202B_202B_200E_202C_200D_200B_200F_202B_200C_200D_202A_202C_206B_206B_206C_206A_202B_200F_206A_206F_206D_206F_206B_206B_206F_206C_200B_206D_206B_202A_206C_206B_202B_202D_202D_200B_206B_206D_206E_202E((ImU8String)global::_003CModule_003E._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(180464762), default(Vector2))) ? 1130482473 : 1130482470); + break; + case 5: + { + Vector4 vector = new Vector4(0.2f, 1f, 0.2f, 1f); + _206B_202A_202A_202A_200F_206D_200C_202C_202A_206F_202B_202E_202B_202D_200B_202A_206B_202B_206F_202E_202E_200B_202C_206C_206A_202D_200D_200F_206E_200E_200D_202D_200E_202B_200B_200E_206F_206E_206E_202B_202E(ref vector, (ImU8String)global::_003CModule_003E._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(-1293681033)); + num = 1130482475; + break; + } + case 7: + if (_206D_202A_202C_200B_206B_200E_202E_202B_206A_206D_206A_206B_200E_206E_200E_202B_206D_202E_206B_206F_206D_202C_206C_206D_200C_206F_206A_200D_202C_202D_202A_202B_202A_200B_206F_206A_200C_206E_206B_200F_202E(_editor) < _subRegions.Count) + { + num = 1130482469; + break; + } + return; + case 6: + _subRegions.RemoveAt(_206D_202A_202C_200B_206B_200E_202E_202B_206A_206D_206A_206B_200E_206E_200E_202B_206D_202E_206B_206F_206D_202C_206C_206D_200C_206F_206A_200D_202C_202D_202A_202B_202A_200B_206F_206A_200C_206E_206B_200F_202E(_editor)); + _206C_206E_202D_206A_206C_202D_200D_200E_202E_202C_200C_202A_206E_206E_202B_206B_206B_200B_206D_206D_202B_206F_206D_206D_202B_202C_206E_206B_200F_202B_202B_202A_206B_200E_206D_206F_206A_200F_200D_200C_202E(_editor, -1); + num = 1130482472; + break; + case 1: + _202B_202E_206B_206A_206A_202B_206C_206B_200E_202D_202D_202A_206F_200F_200C_206D_200B_200B_202C_200B_206F_200D_200E_200E_200F_206F_202E_206A_200F_206F_206F_202A_200F_200D_200F_202C_206C_202C_206E_200C_202E(); + num = ((!_206E_202B_202B_200E_202C_200D_200B_200F_202B_200C_200D_202A_202C_206B_206B_206C_206A_202B_200F_206A_206F_206D_206F_206B_206B_206F_206C_200B_206D_206B_202A_206C_206B_202B_202D_202D_200B_206B_206D_206E_202E((ImU8String)global::_003CModule_003E._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(504012849), default(Vector2))) ? 1130482466 : 1130482476); + break; + case 11: + { + TerritorySubRegions value = BuildTerritorySubRegions(); + _206A_200C_206E_200C_206E_206D_200B_200F_200E_202D_206F_200D_206A_202A_206C_206F_200C_206E_206E_200F_202E_200B_200F_200B_202A_200C_202A_206C_206F_206F_202B_202A_202C_206C_200C_206F_202A_202D_206B_200D_202E((ImU8String)JsonSerializer.Serialize(new Dictionary { [_200F_200F_206E_206A_202A_206E_202D_206A_202E_200F_200E_202A_200E_206B_202A_202E_202A_200B_206E_202E_202E_206D_200D_202A_206D_206A_200C_200C_202D_206E_206F_202C_200E_202C_206C_200B_206D_206A_206D_200E_202E(_clientState).ToString(_206B_206A_202D_206B_206C_206D_200D_206A_200F_206F_200E_206D_200F_202B_202B_202B_202B_200F_200B_206F_200E_202A_206E_200E_206D_202E_200F_206C_200B_206A_206F_206F_202C_202A_200B_206F_200C_200B_202E_206D_202E())] = value }, jsonOptions)); + num = 1130482475; + break; + } + case 13: + { + EditableSubRegion editableSubRegion = _subRegions[_206D_202A_202C_200B_206B_200E_202E_202B_206A_206D_206A_206B_200E_206E_200E_202B_206D_202E_206B_206F_206D_202C_206C_206D_200C_206F_206A_200D_202C_202D_202A_202B_202A_200B_206F_206A_200C_206E_206B_200F_202E(_editor)]; + _202C_200D_202D_202D_202B_206D_206D_202A_206D_200D_202E_202A_206A_200D_206C_206F_200B_206B_200B_202C_202E_200D_206F_200D_206A_202A_206F_200E_202B_206C_206B_202D_206E_202C_202D_202A_200E_206E_202B_202A_202E(120f); + _206F_202E_202E_206D_202D_202D_200C_206D_200E_200D_206E_206F_206E_200C_202A_202D_206D_202A_202B_200F_200D_206A_206F_200F_206A_206C_200B_200D_206A_206F_206A_202D_206F_206C_202C_206C_206C_200E_202C_206E_202E((ImU8String)global::_003CModule_003E._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(903860016), ref editableSubRegion.Id, 64, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null); + _202B_202E_206B_206A_206A_202B_206C_206B_200E_202D_202D_202A_206F_200F_200C_206D_200B_200B_202C_200B_206F_200D_200E_200E_200F_206F_202E_206A_200F_206F_206F_202A_200F_200D_200F_202C_206C_202C_206E_200C_202E(); + _202C_200D_202D_202D_202B_206D_206D_202A_206D_200D_202E_202A_206A_200D_206C_206F_200B_206B_200B_202C_202E_200D_206F_200D_206A_202A_206F_200E_202B_206C_206B_202D_206E_202C_202D_202A_200E_206E_202B_202A_202E(200f); + _206F_202E_202E_206D_202D_202D_200C_206D_200E_200D_206E_206F_206E_200C_202A_202D_206D_202A_202B_200F_200D_206A_206F_200F_206A_206C_200B_200D_206A_206F_206A_202D_206F_206C_202C_206C_206C_200E_202C_206E_202E((ImU8String)global::_003CModule_003E._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(443714605), ref editableSubRegion.Comment, 128, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null); + _202C_206C_200C_206D_202E_206E_206C_200E_200E_200F_206F_200F_200E_200B_206A_200B_206E_206B_206D_202A_202D_202D_202C_200E_200E_206E_200F_202C_202D_206A_202A_206E_206E_206A_200C_206A_200C_202A_200F_202D_202E((ImU8String)global::_003CModule_003E._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(603170616), ref editableSubRegion.HasMinY); + _202B_202E_206B_206A_206A_202B_206C_206B_200E_202D_202D_202A_206F_200F_200C_206D_200B_200B_202C_200B_206F_200D_200E_200E_200F_206F_202E_206A_200F_206F_206F_202A_200F_200D_200F_202C_206C_202C_206E_200C_202E(); + ImRaii.DisabledDisposable disabledDisposable = _202E_202B_206C_206A_200B_202A_200E_202A_202C_202D_206B_202B_206B_200F_202A_206F_200C_206A_206C_200B_200E_202D_206F_206F_206B_206A_206A_200D_206F_206D_200E_206C_202A_206B_200C_206B_206A_206E_206B_200F_202E(!editableSubRegion.HasMinY); + try + { + _202C_200D_202D_202D_202B_206D_206D_202A_206D_200D_202E_202A_206A_200D_206C_206F_200B_206B_200B_202C_202E_200D_206F_200D_206A_202A_206F_200E_202B_206C_206B_202D_206E_202C_202D_202A_200E_206E_202B_202A_202E(80f); + _200C_206B_202B_202E_202E_206E_206A_206F_200F_206A_200F_202D_202C_206E_200C_206B_206D_202B_206D_206F_206A_200F_200D_200E_202E_202D_206E_200B_206F_202D_206F_206C_202C_202E_206B_206D_206B_206B_206D_202E_202E((ImU8String)global::_003CModule_003E._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(-638196181), ref editableSubRegion.MinYEdit, 0f, 0f, (ImU8String)global::_003CModule_003E._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(1656820756), ImGuiInputTextFlags.None); + } + finally + { + num = ((disabledDisposable == null) ? (-1556122522) : (-1556122523)); + while (true) + { + int num7 = num; + num3 = -1556122521; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_0415; + case 2: + _200F_202B_202C_206E_200E_200C_202C_202B_200E_202C_202B_202A_202E_206F_206B_202D_202B_206E_200B_202A_202B_200F_206E_202E_206D_202C_200E_202B_202E_202B_206F_200F_202C_202D_202D_200C_200B_202C_206A_206A_202E((IDisposable)disabledDisposable); + num = -1556122522; + break; + case 0: + num = -1556122523; + break; + } + continue; + end_IL_0415: + break; + } + } + _202B_202E_206B_206A_206A_202B_206C_206B_200E_202D_202D_202A_206F_200F_200C_206D_200B_200B_202C_200B_206F_200D_200E_200E_200F_206F_202E_206A_200F_206F_206F_202A_200F_200D_200F_202C_206C_202C_206E_200C_202E(); + _202C_206C_200C_206D_202E_206E_206C_200E_200E_200F_206F_200F_200E_200B_206A_200B_206E_206B_206D_202A_202D_202D_202C_200E_200E_206E_200F_202C_202D_206A_202A_206E_206E_206A_200C_206A_200C_202A_200F_202D_202E((ImU8String)global::_003CModule_003E._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(1443053569), ref editableSubRegion.HasMaxY); + _202B_202E_206B_206A_206A_202B_206C_206B_200E_202D_202D_202A_206F_200F_200C_206D_200B_200B_202C_200B_206F_200D_200E_200E_200F_206F_202E_206A_200F_206F_206F_202A_200F_200D_200F_202C_206C_202C_206E_200C_202E(); + disabledDisposable = _202E_202B_206C_206A_200B_202A_200E_202A_202C_202D_206B_202B_206B_200F_202A_206F_200C_206A_206C_200B_200E_202D_206F_206F_206B_206A_206A_200D_206F_206D_200E_206C_202A_206B_200C_206B_206A_206E_206B_200F_202E(!editableSubRegion.HasMaxY); + try + { + _202C_200D_202D_202D_202B_206D_206D_202A_206D_200D_202E_202A_206A_200D_206C_206F_200B_206B_200B_202C_202E_200D_206F_200D_206A_202A_206F_200E_202B_206C_206B_202D_206E_202C_202D_202A_200E_206E_202B_202A_202E(80f); + _200C_206B_202B_202E_202E_206E_206A_206F_200F_206A_200F_202D_202C_206E_200C_206B_206D_202B_206D_206F_206A_200F_200D_200E_202E_202D_206E_200B_206F_202D_206F_206C_202C_202E_206B_206D_206B_206B_206D_202E_202E((ImU8String)global::_003CModule_003E._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(1904850216), ref editableSubRegion.MaxYEdit, 0f, 0f, (ImU8String)global::_003CModule_003E._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(215040021), ImGuiInputTextFlags.None); + return; + } + finally + { + num = ((disabledDisposable == null) ? 142964769 : 142964770); + while (true) + { + int num8 = num; + num3 = 142964771; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num = 142964770; + break; + case 1: + _200F_202B_202C_206E_200E_200C_202C_202B_200E_202C_202B_202A_202E_206F_206B_202D_202B_206E_200B_202A_202B_200F_206E_202E_206D_202C_200E_202B_202E_202B_206F_200F_202C_202D_202D_200C_200B_202C_206A_206A_202E((IDisposable)disabledDisposable); + num = 142964769; + break; + case 2: + goto end_IL_04fc; + } + continue; + end_IL_04fc: + break; + } + } + } + } + } + } + + private void EnsureLoaded(uint territory) + { + int num = ((territory != _loadedTerritory) ? 602582905 : 602582908); + IReadOnlyList readOnlyList = default(IReadOnlyList); + while (true) + { + int num2 = num; + int num3 = 602582909; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + _loadedTerritory = territory; + _subRegions.Clear(); + _206C_206E_202D_206A_206C_202D_200D_200E_202E_202C_200C_202A_206E_206E_202B_206B_206B_200B_206D_206D_202B_206F_206D_206D_202B_202C_206E_206B_200F_202B_202B_202A_206B_200E_206D_206F_206A_200F_200D_200C_202E(_editor, -1); + num = (_200C_200F_206E_200E_202E_202D_202C_206E_200B_206F_200B_202A_200F_206F_202B_202B_200C_206E_200C_206C_202A_206A_206D_206C_200D_206B_206A_206A_202B_200E_202E_202A_206C_206F_200E_202E_206F_206B_206E_200C_202E(_zoneSubRegionService, territory) ? 602582911 : 602582907); + break; + case 5: + return; + case 2: + readOnlyList = _202D_202D_206B_200C_200E_206A_206F_206F_202E_200E_200E_206E_206B_200E_202A_200C_202D_206F_200F_202D_202C_202B_202E_206B_206D_202C_200F_206A_200E_202B_200E_206E_202D_206E_202B_206D_206B_202D_206A_206B_202E(_zoneSubRegionService, territory); + num = ((readOnlyList != null) ? 602582910 : 602582904); + break; + case 1: + return; + case 0: + num = 602582908; + break; + case 6: + return; + case 3: + { + IEnumerator enumerator = readOnlyList.GetEnumerator(); + try + { + while (_202E_200F_206B_206F_200B_200D_206F_206F_206B_200E_200E_206F_202A_200C_202B_206E_206D_200E_200D_200F_206E_200B_206F_206F_200E_202A_200D_206A_206B_200D_200C_202E_202C_200C_202D_200E_202A_206E_200E_206C_202E((IEnumerator)enumerator)) + { + SubRegionDefinition current = enumerator.Current; + List list = new List(_206F_206F_200E_202A_202C_200F_202C_202D_200E_202C_206C_202D_206A_200D_202B_206A_202C_202C_200E_200E_200F_200E_200B_206B_202A_202E_206E_202C_202A_206D_206B_206B_200C_202D_206E_206E_206C_200C_200E_206A_202E(current).Count); + using (List.Enumerator enumerator2 = _206F_206F_200E_202A_202C_200F_202C_202D_200E_202C_206C_202D_206A_200D_202B_206A_202C_202C_200E_200E_200F_200E_200B_206B_202A_202E_206E_202C_202A_206D_206B_206B_200C_202D_206E_206E_206C_200C_200E_206A_202E(current).GetEnumerator()) + { + num = -1601570559; + while (true) + { + int num7 = num; + num3 = -1601570560; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = (enumerator2.MoveNext() ? (-1601570557) : (-1601570558)); + break; + case 3: + { + SubRegionVertex current2 = enumerator2.Current; + list.Add(new Vector2(_206B_206C_206D_200F_206C_206E_206B_206B_202B_206E_206B_206F_200E_202D_206F_206D_202D_206C_200B_200D_202A_202D_206D_200C_202C_200D_206D_200F_200D_202A_206E_206E_206C_206F_206C_202A_200B_206B_200E_206A_202E(current2), _200B_206B_206B_206D_202C_200C_200F_200D_202B_200F_200B_206D_206B_202C_200F_200C_202D_202E_200D_200D_202C_202A_206F_202D_206A_202D_200D_202E_200B_206B_206C_200B_200C_206A_202A_202C_206D_202B_206F_202E_202E(current2))); + num = -1601570559; + break; + } + case 0: + num = -1601570559; + break; + case 2: + goto end_IL_0120; + } + continue; + end_IL_0120: + break; + } + } + _subRegions.Add(new EditableSubRegion + { + Id = _200B_200E_200C_206D_200D_202D_202B_202D_200D_202D_200D_200C_206F_206E_206C_200E_202D_200F_202A_206C_202E_206F_200D_206F_200B_200F_206C_200E_206F_200C_206D_200E_202C_206E_202D_200C_202D_206D_206E_206F_202E(current), + Comment = (_206A_200C_200F_202B_206A_202E_200F_202B_200E_202A_202E_202C_200B_202B_202D_206B_206B_206F_202A_200C_202D_200D_200E_202A_206E_200E_206D_202E_206F_202C_202E_206D_202A_202A_202E_202A_206D_206C_200E_202E(current) ?? string.Empty), + MinYEdit = _206A_200E_200C_202E_200F_206F_206A_202D_202A_206A_206E_200E_202A_200D_206B_206A_200D_200D_200F_200E_200E_200F_200F_200F_202B_200C_202E_206D_200D_202A_206A_206E_202D_202C_202E_200F_200C_206B_206A_200F_202E(current).GetValueOrDefault(), + MaxYEdit = _206E_200D_200B_206E_206B_200E_202E_206B_202C_206B_200B_200C_206A_206D_200F_202A_206C_200E_206B_206A_200B_206C_206A_206C_206D_206E_200D_206E_206B_206A_200D_200D_200C_200E_206E_206D_202A_206F_202B_206B_202E(current).GetValueOrDefault(), + HasMinY = _206A_200E_200C_202E_200F_206F_206A_202D_202A_206A_206E_200E_202A_200D_206B_206A_200D_200D_200F_200E_200E_200F_200F_200F_202B_200C_202E_206D_200D_202A_206A_206E_202D_202C_202E_200F_200C_206B_206A_200F_202E(current).HasValue, + HasMaxY = _206E_200D_200B_206E_206B_200E_202E_206B_202C_206B_200B_200C_206A_206D_200F_202A_206C_200E_206B_206A_200B_206C_206A_206C_206D_206E_200D_206E_206B_206A_200D_200D_200C_200E_206E_206D_202A_206F_202B_206B_202E(current).HasValue, + Vertices = list + }); + } + return; + } + finally + { + num = ((enumerator == null) ? 1148789803 : 1148789800); + while (true) + { + int num8 = num; + num3 = 1148789802; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_027e; + case 2: + _200F_202B_202C_206E_200E_200C_202C_202B_200E_202C_202B_202A_202E_206F_206B_202D_202B_206E_200B_202A_202B_200F_206E_202E_206D_202C_200E_202B_202E_202B_206F_200F_202C_202D_202D_200C_200B_202C_206A_206A_202E((IDisposable)enumerator); + num = 1148789803; + break; + case 0: + num = 1148789800; + break; + } + continue; + end_IL_027e: + break; + } + } + } + } + } + } + + public TerritorySubRegions BuildTerritorySubRegions() + { + TerritorySubRegions territorySubRegions = _202E_206E_206B_206F_206E_206F_202E_200B_206D_206C_200B_200F_206B_206C_206E_206D_206C_206B_200E_202B_206E_206A_200D_202C_206D_200F_206B_200E_202D_206D_202D_206F_206A_206E_200D_200D_200C_200D_200B_202A_202E(); + foreach (EditableSubRegion subRegion in _subRegions) + { + SubRegionDefinition subRegionDefinition = _200D_206B_202E_206A_200C_206D_206C_206E_206D_206D_202B_206A_206D_200C_200F_206D_202E_206B_200E_202D_202E_206E_200E_200F_200B_202D_200C_202C_200D_206E_202B_200C_200F_200E_206A_202E_200D_200E_206F_200D_202E(); + _200B_202E_202A_202E_202A_202C_200C_206D_200E_206E_206B_206C_200D_202C_206A_202B_202E_206E_202B_206C_202D_202E_200C_200B_202E_200E_202B_200E_200E_202B_206C_202D_202B_200B_202C_202D_202E_202A_202E_206C_202E(subRegionDefinition, subRegion.Id); + _206B_202B_200E_200B_200C_200E_206B_202C_206A_202E_206A_200C_206D_202D_206A_202E_206F_200E_200F_206E_206F_202E_200F_206F_202C_200F_200C_206F_200C_206C_200F_200D_200B_200C_206B_206A_206E_206A_200C_206D_202E(subRegionDefinition, _206B_202A_202A_206B_206A_206A_200F_206E_206C_206B_202A_200B_202C_200C_202D_202D_202D_206C_206C_202A_206E_200B_206B_202D_200C_202A_200D_206A_202E_206D_200E_200F_202D_206E_206F_200D_202D_202E_200B_202D_202E(subRegion.Comment) ? null : subRegion.Comment); + _206E_202D_206C_200E_200C_206A_206D_206F_202A_206A_202D_202D_202C_202B_206E_206D_206D_206F_206C_206C_200F_202B_206F_206D_206A_206F_200E_200D_206F_200D_206C_202B_202A_206F_200F_200F_202C_206C_200E_206D_202E(subRegionDefinition, subRegion.HasMinY ? new float?(subRegion.MinYEdit) : ((float?)null)); + _202A_206E_200D_200C_200F_202D_202B_202E_206D_202C_202B_202E_206B_206B_206F_200C_202A_206F_202D_206A_200E_200D_206F_206E_202E_200B_200D_206C_206B_206C_206A_200F_202A_200E_206E_202C_200B_200C_206C_202E_202E(subRegionDefinition, subRegion.HasMaxY ? new float?(subRegion.MaxYEdit) : ((float?)null)); + SubRegionDefinition subRegionDefinition2 = subRegionDefinition; + using (List.Enumerator enumerator2 = subRegion.Vertices.GetEnumerator()) + { + int num = 1937551110; + while (true) + { + int num2 = num; + int num3 = 1937551108; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1937551110; + break; + case 1: + { + Vector2 current2 = enumerator2.Current; + List list = _206F_206F_200E_202A_202C_200F_202C_202D_200E_202C_206C_202D_206A_200D_202B_206A_202C_202C_200E_200E_200F_200E_200B_206B_202A_202E_206E_202C_202A_206D_206B_206B_200C_202D_206E_206E_206C_200C_200E_206A_202E(subRegionDefinition2); + SubRegionVertex subRegionVertex = _202C_202E_206C_206D_200D_200F_206D_206D_206B_200D_200E_206E_206B_206F_202A_200F_206A_200D_202A_206C_200E_206C_200E_200E_206A_206D_206C_200F_206F_206F_202D_200F_202E_200D_200D_200D_202C_206A_206D_202D_202E(); + _206E_200B_202B_200E_206E_200C_206E_206E_200C_206B_202D_206E_206C_202C_202C_200C_200E_202D_206E_200D_206C_200D_202A_200F_202B_200D_202D_200B_200F_202C_200E_200F_206F_202E_206F_206D_206A_206D_206A_202C_202E(subRegionVertex, _202A_206B_206D_202B_202C_200C_202C_202C_200E_206C_206F_206F_200C_202E_202A_202C_200D_206F_200E_202D_200B_202E_202B_206E_202C_206E_200C_206B_200F_200C_206A_202D_202C_200C_202A_206B_206D_200B_206D_202C_202E(current2.X, 1)); + _200F_202C_202C_200C_202A_200B_206F_206E_202B_200D_206D_200B_200C_202D_206B_206B_202E_202C_206B_200C_202E_202C_202D_202D_206C_206E_200B_206A_202C_206C_206F_202A_206E_200F_202D_202B_202B_206E_200D_206A_202E(subRegionVertex, _202A_206B_206D_202B_202C_200C_202C_202C_200E_206C_206F_206F_200C_202E_202A_202C_200D_206F_200E_202D_200B_202E_202B_206E_202C_206E_200C_206B_200F_200C_206A_202D_202C_200C_202A_206B_206D_200B_206D_202C_202E(current2.Y, 1)); + list.Add(subRegionVertex); + num = 1937551110; + break; + } + case 2: + num = (enumerator2.MoveNext() ? 1937551109 : 1937551111); + break; + case 3: + goto end_IL_00c2; + } + continue; + end_IL_00c2: + break; + } + } + _200D_200F_202C_206F_200D_200E_206B_206D_206F_206D_202A_200B_200B_200C_200B_202E_202D_206E_206F_206E_200F_206A_200E_200C_200B_202A_202D_206E_202E_202E_202B_202B_200C_200B_202A_206C_202D_202A_200B_200F_202E(territorySubRegions).Add(subRegionDefinition2); + } + return territorySubRegions; + } + + public void ImportVertices(IReadOnlyList vertices, string id, string comment) + { + List list = new List(vertices.Count); + IEnumerator enumerator = vertices.GetEnumerator(); + try + { + int num = 69252025; + while (true) + { + int num2 = num; + int num3 = 69252027; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 69252025; + break; + case 2: + num = (_202E_200F_206B_206F_200B_200D_206F_206F_206B_200E_200E_206F_202A_200C_202B_206E_206D_200E_200D_200F_206E_200B_206F_206F_200E_202A_200D_206A_206B_200D_200C_202E_202C_200C_202D_200E_202A_206E_200E_206C_202E((IEnumerator)enumerator) ? 69252026 : 69252024); + break; + case 1: + { + SubRegionVertex current = enumerator.Current; + list.Add(new Vector2(_206B_206C_206D_200F_206C_206E_206B_206B_202B_206E_206B_206F_200E_202D_206F_206D_202D_206C_200B_200D_202A_202D_206D_200C_202C_200D_206D_200F_200D_202A_206E_206E_206C_206F_206C_202A_200B_206B_200E_206A_202E(current), _200B_206B_206B_206D_202C_200C_200F_200D_202B_200F_200B_206D_206B_202C_200F_200C_202D_202E_200D_200D_202C_202A_206F_202D_206A_202D_200D_202E_200B_206B_206C_200B_200C_206A_202A_202C_206D_202B_206F_202E_202E(current))); + num = 69252025; + break; + } + case 3: + goto end_IL_001e; + } + continue; + end_IL_001e: + break; + } + } + finally + { + int num = ((enumerator == null) ? (-1889023952) : (-1889023949)); + while (true) + { + int num7 = num; + int num3 = -1889023950; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_00c5; + case 1: + _200F_202B_202C_206E_200E_200C_202C_202B_200E_202C_202B_202A_202E_206F_206B_202D_202B_206E_200B_202A_202B_200F_206E_202E_206D_202C_200E_202B_202E_202B_206F_200F_202C_202D_202D_200C_200B_202C_206A_206A_202E((IDisposable)enumerator); + num = -1889023952; + break; + case 0: + num = -1889023949; + break; + } + continue; + end_IL_00c5: + break; + } + } + _subRegions.Add(new EditableSubRegion + { + Id = id, + Comment = comment, + Vertices = list + }); + _206C_206E_202D_206A_206C_202D_200D_200E_202E_202C_200C_202A_206E_206E_202B_206B_206B_200B_206D_206D_202B_206F_206D_206D_202B_202C_206E_206B_200F_202B_202B_202A_206B_200E_206D_206F_206A_200F_200D_200C_202E(_editor, _subRegions.Count - 1); + } + + public List ExportSelectedVertices() + { + int num = ((_206D_202A_202C_200B_206B_200E_202E_202B_206A_206D_206A_206B_200E_206E_200E_202B_206D_202E_206B_206F_206D_202C_206C_206D_200C_206F_206A_200D_202C_202D_202A_202B_202A_200B_206F_206A_200C_206E_206B_200F_202E(_editor) < 0) ? (-1813143708) : (-1813143705)); + while (true) + { + int num2 = num; + int num3 = -1813143707; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -1813143705; + break; + case 1: + return new List(); + case 2: + num = ((_206D_202A_202C_200B_206B_200E_202E_202B_206A_206D_206A_206B_200E_206E_200E_202B_206D_202E_206B_206F_206D_202C_206C_206D_200C_206F_206A_200D_202C_202D_202A_202B_202A_200B_206F_206A_200C_206E_206B_200F_202E(_editor) < _subRegions.Count) ? (-1813143707) : (-1813143708)); + break; + case 0: + { + EditableSubRegion editableSubRegion = _subRegions[_206D_202A_202C_200B_206B_200E_202E_202B_206A_206D_206A_206B_200E_206E_200E_202B_206D_202E_206B_206F_206D_202C_206C_206D_200C_206F_206A_200D_202C_202D_202A_202B_202A_200B_206F_206A_200C_206E_206B_200F_202E(_editor)]; + List list = new List(editableSubRegion.Vertices.Count); + using List.Enumerator enumerator = editableSubRegion.Vertices.GetEnumerator(); + num = -1223739112; + while (true) + { + int num5 = num; + num3 = -1223739111; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = (enumerator.MoveNext() ? (-1223739109) : (-1223739111)); + break; + case 2: + { + Vector2 current = enumerator.Current; + SubRegionVertex subRegionVertex = _202C_202E_206C_206D_200D_200F_206D_206D_206B_200D_200E_206E_206B_206F_202A_200F_206A_200D_202A_206C_200E_206C_200E_200E_206A_206D_206C_200F_206F_206F_202D_200F_202E_200D_200D_200D_202C_206A_206D_202D_202E(); + _206E_200B_202B_200E_206E_200C_206E_206E_200C_206B_202D_206E_206C_202C_202C_200C_200E_202D_206E_200D_206C_200D_202A_200F_202B_200D_202D_200B_200F_202C_200E_200F_206F_202E_206F_206D_206A_206D_206A_202C_202E(subRegionVertex, _202A_206B_206D_202B_202C_200C_202C_202C_200E_206C_206F_206F_200C_202E_202A_202C_200D_206F_200E_202D_200B_202E_202B_206E_202C_206E_200C_206B_200F_200C_206A_202D_202C_200C_202A_206B_206D_200B_206D_202C_202E(current.X, 1)); + _200F_202C_202C_200C_202A_200B_206F_206E_202B_200D_206D_200B_200C_202D_206B_206B_202E_202C_206B_200C_202E_202C_202D_202D_206C_206E_200B_206A_202C_206C_206F_202A_206E_200F_202D_202B_202B_206E_200D_206A_202E(subRegionVertex, _202A_206B_206D_202B_202C_200C_202C_202C_200E_206C_206F_206F_200C_202E_202A_202C_200D_206F_200E_202D_200B_202E_202B_206E_202C_206E_200C_206B_200F_200C_206A_202D_202C_200C_202A_206B_206D_200B_206D_202C_202E(current.Y, 1)); + list.Add(subRegionVertex); + num = -1223739112; + break; + } + case 3: + num = -1223739112; + break; + case 0: + 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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + void IEditablePolygonSet.AddPolygon(IList vertices) + { + List subRegions = _subRegions; + EditableSubRegion editableSubRegion = new EditableSubRegion(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(7, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1281219605)); + defaultInterpolatedStringHandler.AppendFormatted(_subRegions.Count + 1); + editableSubRegion.Id = defaultInterpolatedStringHandler.ToStringAndClear(); + editableSubRegion.Vertices = new List(vertices); + subRegions.Add(editableSubRegion); + } + + static SubRegionMapPanel() + { + uint[] array = new uint[8]; + _206B_206B_206F_206E_206E_206C_200F_202B_206F_200F_202E_206B_200F_200C_206F_202A_202A_202A_202C_206E_202B_200D_202D_200E_202C_206E_200D_206E_206E_206F_200C_200F_206C_200B_200F_206A_200C_200E_206B_206C_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + SubRegionColors = array; + } + + static MapTextureService _200F_200B_200C_200B_202E_202E_200E_206D_206A_206F_202E_200E_206E_200D_202A_206E_206D_206A_202C_206E_202E_206E_202A_202A_202A_202E_200C_206F_200B_200C_200C_202C_206C_202A_202E_200C_202C_200C_200C_206D_202E(ITextureProvider P_0, IDataManager P_1, ILogger P_2) + { + return new MapTextureService(P_0, P_1, P_2); + } + + static MapPolygonEditor _206A_200C_202C_206D_202B_202E_206D_206E_202C_200E_202E_206A_206E_206E_202C_206F_200C_206D_206E_202E_206B_202A_206A_206B_202A_202E_202B_202D_200E_206D_200D_200D_202B_206C_206F_200D_200D_206D_202A_202E_202E(MapTextureService P_0) + { + return new MapPolygonEditor(P_0); + } + + static int _206D_202A_202C_200B_206B_200E_202E_202B_206A_206D_206A_206B_200E_206E_200E_202B_206D_202E_206B_206F_206D_202C_206C_206D_200C_206F_206A_200D_202C_202D_202A_202B_202A_200B_206F_206A_200C_206E_206B_200F_202E(MapPolygonEditor P_0) + { + return P_0.SelectedIndex; + } + + static void _206C_206E_202D_206A_206C_202D_200D_200E_202E_202C_200C_202A_206E_206E_202B_206B_206B_200B_206D_206D_202B_206F_206D_206D_202B_202C_206E_206B_200F_202B_202B_202A_206B_200E_206D_206F_206A_200F_200D_200C_202E(MapPolygonEditor P_0, int P_1) + { + P_0.SelectedIndex = P_1; + } + + static bool _200D_200C_206E_200F_206C_206F_200F_206F_206F_200E_200D_206C_202D_202A_200F_206A_200C_206D_206E_202B_200D_202A_200F_206C_202A_206A_202C_202A_202E_200E_206F_200C_202D_202D_206F_200F_202D_202A_200F_206D_202E(MapPolygonEditor P_0) + { + return P_0.IsDrawing; + } + + static uint _200F_200F_206E_206A_202A_206E_202D_206A_202E_200F_200E_202A_200E_206B_202A_202E_202A_200B_206E_202E_202E_206D_200D_202A_206D_206A_200C_200C_202D_206E_206F_202C_200E_202C_206C_200B_206D_206A_206D_200E_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static bool _202A_200C_200B_206A_206C_200E_202E_200D_206D_202E_200C_206C_202D_200D_206A_206F_206B_200B_202D_202B_202C_206E_206F_206B_206D_202B_206F_206D_200D_206D_202A_206D_200D_202A_206C_202B_200B_200F_200B_202D_202E(MapTextureService P_0, uint P_1) + { + return P_0.LoadForTerritory(P_1); + } + + static IPlayerCharacter _206D_202D_206A_200E_200E_200C_206C_202D_202D_202B_200C_206C_206D_202B_202B_206F_200D_202E_206D_202C_202E_206D_200F_200E_202B_206E_202E_202C_202E_206C_200C_200D_206C_202B_202B_200F_200B_202D_200F_202E_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static Vector3 _202B_202C_202B_206A_202A_206D_206E_200B_200C_206A_200C_202C_206E_200C_200D_202C_206F_202D_206A_202C_202A_206C_202E_206E_200B_200D_200B_200E_200E_200B_206F_206A_202C_202D_200F_206A_202D_206E_206B_206A_202E(IGameObject P_0) + { + return P_0.Position; + } + + static Vector2 _202D_206F_202C_202A_200E_202C_200E_206B_200F_200F_206D_202C_200E_200B_206A_202C_200B_200D_200F_202A_200F_206C_206F_202B_200B_202A_200D_206E_206F_206E_200E_202A_206B_200B_202A_206F_200D_202D_206A_202E_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static void _202E_202C_206E_206E_202D_200F_206B_202B_200F_200F_200C_200D_200D_206B_202E_200B_202C_200E_200C_200E_202A_200F_206E_206B_202C_206E_200C_206F_200E_200D_200E_200D_200B_206D_202D_202B_202A_200C_200B_200C_202E(MapPolygonEditor P_0, IEditablePolygonSet P_1, Vector3? P_2, Vector2? P_3) + { + P_0.Draw(P_1, P_2, P_3); + } + + static void _206B_202A_202A_202A_200F_206D_200C_202C_202A_206F_202B_202E_202B_202D_200B_202A_206B_202B_206F_202E_202E_200B_202C_206C_206A_202D_200D_200F_206E_200E_200D_202D_200E_202B_200B_200E_206F_206E_206E_202B_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static bool _206E_202B_202B_200E_202C_200D_200B_200F_202B_200C_200D_202A_202C_206B_206B_206C_206A_202B_200F_206A_206F_206D_206F_206B_206B_206F_206C_200B_206D_206B_202A_206C_206B_202B_202D_202D_200B_206B_206D_206E_202E(ImU8String P_0, Vector2 P_1) + { + return ImGui.Button(P_0, P_1); + } + + static void _200F_206E_202C_206B_206D_202D_200B_200C_200D_200F_200D_200B_200B_202E_206B_206A_206E_200B_200C_200F_206B_202B_202C_200F_202C_202E_202C_206C_206F_202C_206C_206D_200E_206F_206E_200D_202D_206C_200E_206E_202E(MapPolygonEditor P_0) + { + P_0.StartDrawing(); + } + + static void _202B_202E_206B_206A_206A_202B_206C_206B_200E_202D_202D_202A_206F_200F_200C_206D_200B_200B_202C_200B_206F_200D_200E_200E_200F_206F_202E_206A_200F_206F_206F_202A_200F_200D_200F_202C_206C_202C_206E_200C_202E() + { + ImGui.SameLine(); + } + + static void _202B_206D_206F_206D_200F_202B_202D_200B_206E_200D_206D_202A_202A_202A_202D_202A_206A_202C_200F_202E_206B_202D_200F_202A_202D_200B_200B_200C_206B_206B_206B_200D_206F_206C_202B_200D_200B_200E_202C_206F_202E(MapPolygonEditor P_0) + { + P_0.ResetView(); + } + + static CultureInfo _206B_206A_202D_206B_206C_206D_200D_206A_200F_206F_200E_206D_200F_202B_202B_202B_202B_200F_200B_206F_200E_202A_206E_200E_206D_202E_200F_206C_200B_206A_206F_206F_202C_202A_200B_206F_200C_200B_202E_206D_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _206A_200C_206E_200C_206E_206D_200B_200F_200E_202D_206F_200D_206A_202A_206C_206F_200C_206E_206E_200F_202E_200B_200F_200B_202A_200C_202A_206C_206F_206F_202B_202A_202C_206C_200C_206F_202A_202D_206B_200D_202E(ImU8String P_0) + { + ImGui.SetClipboardText(P_0); + } + + static void _202C_200D_202D_202D_202B_206D_206D_202A_206D_200D_202E_202A_206A_200D_206C_206F_200B_206B_200B_202C_202E_200D_206F_200D_206A_202A_206F_200E_202B_206C_206B_202D_206E_202C_202D_202A_200E_206E_202B_202A_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static bool _206F_202E_202E_206D_202D_202D_200C_206D_200E_200D_206E_206F_206E_200C_202A_202D_206D_202A_202B_200F_200D_206A_206F_200F_206A_206C_200B_200D_206A_206F_206A_202D_206F_206C_202C_206C_206C_200E_202C_206E_202E(ImU8String P_0, ref string P_1, int P_2, ImGuiInputTextFlags P_3, ImGui.ImGuiInputTextCallbackDelegate P_4) + { + return ImGui.InputText(P_0, ref P_1, P_2, P_3, P_4); + } + + static bool _202C_206C_200C_206D_202E_206E_206C_200E_200E_200F_206F_200F_200E_200B_206A_200B_206E_206B_206D_202A_202D_202D_202C_200E_200E_206E_200F_202C_202D_206A_202A_206E_206E_206A_200C_206A_200C_202A_200F_202D_202E(ImU8String P_0, ref bool P_1) + { + return ImGui.Checkbox(P_0, ref P_1); + } + + static ImRaii.DisabledDisposable _202E_202B_206C_206A_200B_202A_200E_202A_202C_202D_206B_202B_206B_200F_202A_206F_200C_206A_206C_200B_200E_202D_206F_206F_206B_206A_206A_200D_206F_206D_200E_206C_202A_206B_200C_206B_206A_206E_206B_200F_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static bool _200C_206B_202B_202E_202E_206E_206A_206F_200F_206A_200F_202D_202C_206E_200C_206B_206D_202B_206D_206F_206A_200F_200D_200E_202E_202D_206E_200B_206F_202D_206F_206C_202C_202E_206B_206D_206B_206B_206D_202E_202E(ImU8String P_0, ref float P_1, float P_2, float P_3, ImU8String P_4, ImGuiInputTextFlags P_5) + { + return ImGui.InputFloat(P_0, ref P_1, P_2, P_3, P_4, P_5); + } + + static void _200F_202B_202C_206E_200E_200C_202C_202B_200E_202C_202B_202A_202E_206F_206B_202D_202B_206E_200B_202A_202B_200F_206E_202E_206D_202C_200E_202B_202E_202B_206F_200F_202C_202D_202D_200C_200B_202C_206A_206A_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _200C_200F_206E_200E_202E_202D_202C_206E_200B_206F_200B_202A_200F_206F_202B_202B_200C_206E_200C_206C_202A_206A_206D_206C_200D_206B_206A_206A_202B_200E_202E_202A_206C_206F_200E_202E_206F_206B_206E_200C_202E(ZoneSubRegionService P_0, uint P_1) + { + return P_0.HasSubRegions(P_1); + } + + static IReadOnlyList _202D_202D_206B_200C_200E_206A_206F_206F_202E_200E_200E_206E_206B_200E_202A_200C_202D_206F_200F_202D_202C_202B_202E_206B_206D_202C_200F_206A_200E_202B_200E_206E_202D_206E_202B_206D_206B_202D_206A_206B_202E(ZoneSubRegionService P_0, uint P_1) + { + return P_0.GetSubRegions(P_1); + } + + static List _206F_206F_200E_202A_202C_200F_202C_202D_200E_202C_206C_202D_206A_200D_202B_206A_202C_202C_200E_200E_200F_200E_200B_206B_202A_202E_206E_202C_202A_206D_206B_206B_200C_202D_206E_206E_206C_200C_200E_206A_202E(SubRegionDefinition P_0) + { + return P_0.Vertices; + } + + static float _206B_206C_206D_200F_206C_206E_206B_206B_202B_206E_206B_206F_200E_202D_206F_206D_202D_206C_200B_200D_202A_202D_206D_200C_202C_200D_206D_200F_200D_202A_206E_206E_206C_206F_206C_202A_200B_206B_200E_206A_202E(SubRegionVertex P_0) + { + return P_0.X; + } + + static float _200B_206B_206B_206D_202C_200C_200F_200D_202B_200F_200B_206D_206B_202C_200F_200C_202D_202E_200D_200D_202C_202A_206F_202D_206A_202D_200D_202E_200B_206B_206C_200B_200C_206A_202A_202C_206D_202B_206F_202E_202E(SubRegionVertex P_0) + { + return P_0.Z; + } + + static string _200B_200E_200C_206D_200D_202D_202B_202D_200D_202D_200D_200C_206F_206E_206C_200E_202D_200F_202A_206C_202E_206F_200D_206F_200B_200F_206C_200E_206F_200C_206D_200E_202C_206E_202D_200C_202D_206D_206E_206F_202E(SubRegionDefinition P_0) + { + return P_0.Id; + } + + static string _206A_200C_200F_202B_206A_202E_200F_202B_200E_202A_202E_202C_200B_202B_202D_206B_206B_206F_202A_200C_202D_200D_200E_202A_206E_200E_206D_202E_206F_202C_202E_206D_202A_202A_202E_202A_206D_206C_200E_202E(SubRegionDefinition P_0) + { + return P_0.Comment; + } + + static float? _206A_200E_200C_202E_200F_206F_206A_202D_202A_206A_206E_200E_202A_200D_206B_206A_200D_200D_200F_200E_200E_200F_200F_200F_202B_200C_202E_206D_200D_202A_206A_206E_202D_202C_202E_200F_200C_206B_206A_200F_202E(SubRegionDefinition P_0) + { + return P_0.MinY; + } + + static float? _206E_200D_200B_206E_206B_200E_202E_206B_202C_206B_200B_200C_206A_206D_200F_202A_206C_200E_206B_206A_200B_206C_206A_206C_206D_206E_200D_206E_206B_206A_200D_200D_200C_200E_206E_206D_202A_206F_202B_206B_202E(SubRegionDefinition P_0) + { + return P_0.MaxY; + } + + static bool _202E_200F_206B_206F_200B_200D_206F_206F_206B_200E_200E_206F_202A_200C_202B_206E_206D_200E_200D_200F_206E_200B_206F_206F_200E_202A_200D_206A_206B_200D_200C_202E_202C_200C_202D_200E_202A_206E_200E_206C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static TerritorySubRegions _202E_206E_206B_206F_206E_206F_202E_200B_206D_206C_200B_200F_206B_206C_206E_206D_206C_206B_200E_202B_206E_206A_200D_202C_206D_200F_206B_200E_202D_206D_202D_206F_206A_206E_200D_200D_200C_200D_200B_202A_202E() + { + return new TerritorySubRegions(); + } + + static SubRegionDefinition _200D_206B_202E_206A_200C_206D_206C_206E_206D_206D_202B_206A_206D_200C_200F_206D_202E_206B_200E_202D_202E_206E_200E_200F_200B_202D_200C_202C_200D_206E_202B_200C_200F_200E_206A_202E_200D_200E_206F_200D_202E() + { + return new SubRegionDefinition(); + } + + static void _200B_202E_202A_202E_202A_202C_200C_206D_200E_206E_206B_206C_200D_202C_206A_202B_202E_206E_202B_206C_202D_202E_200C_200B_202E_200E_202B_200E_200E_202B_206C_202D_202B_200B_202C_202D_202E_202A_202E_206C_202E(SubRegionDefinition P_0, string P_1) + { + P_0.Id = P_1; + } + + static bool _206B_202A_202A_206B_206A_206A_200F_206E_206C_206B_202A_200B_202C_200C_202D_202D_202D_206C_206C_202A_206E_200B_206B_202D_200C_202A_200D_206A_202E_206D_200E_200F_202D_206E_206F_200D_202D_202E_200B_202D_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static void _206B_202B_200E_200B_200C_200E_206B_202C_206A_202E_206A_200C_206D_202D_206A_202E_206F_200E_200F_206E_206F_202E_200F_206F_202C_200F_200C_206F_200C_206C_200F_200D_200B_200C_206B_206A_206E_206A_200C_206D_202E(SubRegionDefinition P_0, string P_1) + { + P_0.Comment = P_1; + } + + static void _206E_202D_206C_200E_200C_206A_206D_206F_202A_206A_202D_202D_202C_202B_206E_206D_206D_206F_206C_206C_200F_202B_206F_206D_206A_206F_200E_200D_206F_200D_206C_202B_202A_206F_200F_200F_202C_206C_200E_206D_202E(SubRegionDefinition P_0, float? P_1) + { + P_0.MinY = P_1; + } + + static void _202A_206E_200D_200C_200F_202D_202B_202E_206D_202C_202B_202E_206B_206B_206F_200C_202A_206F_202D_206A_200E_200D_206F_206E_202E_200B_200D_206C_206B_206C_206A_200F_202A_200E_206E_202C_200B_200C_206C_202E_202E(SubRegionDefinition P_0, float? P_1) + { + P_0.MaxY = P_1; + } + + static SubRegionVertex _202C_202E_206C_206D_200D_200F_206D_206D_206B_200D_200E_206E_206B_206F_202A_200F_206A_200D_202A_206C_200E_206C_200E_200E_206A_206D_206C_200F_206F_206F_202D_200F_202E_200D_200D_200D_202C_206A_206D_202D_202E() + { + return new SubRegionVertex(); + } + + static float _202A_206B_206D_202B_202C_200C_202C_202C_200E_206C_206F_206F_200C_202E_202A_202C_200D_206F_200E_202D_200B_202E_202B_206E_202C_206E_200C_206B_200F_200C_206A_202D_202C_200C_202A_206B_206D_200B_206D_202C_202E(float P_0, int P_1) + { + return MathF.Round(P_0, P_1); + } + + static void _206E_200B_202B_200E_206E_200C_206E_206E_200C_206B_202D_206E_206C_202C_202C_200C_200E_202D_206E_200D_206C_200D_202A_200F_202B_200D_202D_200B_200F_202C_200E_200F_206F_202E_206F_206D_206A_206D_206A_202C_202E(SubRegionVertex P_0, float P_1) + { + P_0.X = P_1; + } + + static void _200F_202C_202C_200C_202A_200B_206F_206E_202B_200D_206D_200B_200C_202D_206B_206B_202E_202C_206B_200C_202E_202C_202D_202D_206C_206E_200B_206A_202C_206C_206F_202A_206E_200F_202D_202B_202B_206E_200D_206A_202E(SubRegionVertex P_0, float P_1) + { + P_0.Z = P_1; + } + + static List _200D_200F_202C_206F_200D_200E_206B_206D_206F_206D_202A_200B_200B_200C_200B_202E_202D_206E_206F_206E_200F_206A_200E_200C_200B_202A_202D_206E_202E_202E_202B_202B_200C_200B_202A_206C_202D_202A_200B_200F_202E(TerritorySubRegions P_0) + { + return P_0.SubRegions; + } + + static void _206B_206B_206F_206E_206E_206C_200F_202B_206F_200F_202E_206B_200F_200C_206F_202A_202A_202A_202C_206E_202B_200D_202D_200E_202C_206E_200D_206E_206E_206F_200C_200F_206C_200B_200F_206A_200C_200E_206B_206C_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } +} diff --git a/Questionable/Questionable.Windows.Utils/CycleSelectionUi.cs b/Questionable/Questionable.Windows.Utils/CycleSelectionUi.cs new file mode 100644 index 00000000..33a7a819 --- /dev/null +++ b/Questionable/Questionable.Windows.Utils/CycleSelectionUi.cs @@ -0,0 +1,177 @@ +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 imDrawListPtr = _200C_200B_206E_206C_206D_200C_202C_202A_206C_200D_202A_200D_206D_206B_200E_206C_202C_206F_206B_202E_200E_202D_206A_206B_202C_200C_202D_202E_202C_206A_200F_202E_206D_206C_200D_200B_206A_206E_200B_202B_202E(); + Vector2 vector = _202B_200B_206D_200E_200F_202D_200D_206C_202B_202D_206F_206D_206C_206F_202E_202E_200B_200C_206E_200D_200E_200E_206D_200C_200C_200C_202D_206B_200F_202C_206C_206F_206D_206E_206E_202A_202A_202E_200D_206C_202E(); + float fontSize = _200E_206B_206F_200D_200B_200D_206D_206F_206E_206E_206B_200B_202B_206B_200C_206E_202E_206B_200B_200F_206E_206F_200F_206C_202C_206C_202E_202C_206B_206D_206C_202E_202E_206A_206A_200D_200C_200F_206C_202A_202E(); + string text2 = _202E_200F_202A_206C_202A_206F_202C_200B_200B_206E_202E_200F_200B_206E_202B_202E_206E_202A_200B_200F_200F_206E_206F_202E_200B_206D_202E_206E_200E_206C_202B_206F_206D_206C_202C_206F_206C_206B_200B_202C_202E(icon); + float x = _200D_202B_206E_206E_206F_202A_202A_206E_206E_202D_200F_206F_202A_200C_200F_202D_202C_202D_202A_200D_200F_202B_202C_202B_202B_200C_200C_206E_200C_200D_200E_202C_206E_202A_200C_206D_200D_202D_202A_200F_202E().X; + ImRaii.FontDisposable fontDisposable = _206A_202C_202A_200D_200D_200F_200E_206D_202D_200C_202C_200E_206E_206A_206A_202D_202C_206F_206E_202A_202A_206C_202C_206A_206C_202E_206A_206E_206B_206E_200D_206E_202A_200E_206E_206C_206C_200D_206C_202D_202E(_202D_206E_206E_200D_206E_206B_206A_206B_200B_206A_200D_200C_200F_206E_200C_200F_206B_200D_202D_206F_200C_200C_202A_202C_206C_200F_200B_206E_206D_202C_200D_206F_200F_200F_202A_202A_200C_206E_202E_200D_202E(), true); + Vector2 vector2; + try + { + vector2 = _206E_202A_200D_200D_206C_200B_200B_202D_200F_200B_200B_200F_200C_206B_200B_202E_206B_200C_200C_206F_202C_206E_202D_202B_202D_206D_202D_202C_200D_206C_202B_202E_206F_200D_200E_206D_200B_202B_206E_206E_202E((ImU8String)text2, false, -1f); + } + finally + { + int num = ((fontDisposable == null) ? 830623910 : 830623909); + while (true) + { + int num2 = num; + int num3 = 830623908; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 830623909; + break; + case 1: + _206F_206E_202A_206B_200B_202B_202B_202E_200F_206E_200B_206A_206B_206D_206A_206C_202E_202D_206A_202D_202C_206F_206C_202C_206F_206D_206A_206D_206A_202D_202D_202A_200F_206B_206D_202A_206F_202E_200D_202E_202E((IDisposable)fontDisposable); + num = 830623910; + break; + case 2: + goto end_IL_0069; + } + continue; + end_IL_0069: + break; + } + } + float num5 = _206A_202A_206E_202A_200B_200F_206E_206E_200D_202D_202D_200D_202D_200E_206E_206B_202A_206C_202D_200B_202B_200C_200C_202B_206E_200C_206D_200D_202A_200D_202A_200C_206C_202A_202B_206E_200C_200B_200E_206A_202E(); + float num6 = _200B_200F_200E_200F_202B_200D_202E_200D_200E_200B_202E_202D_200F_206A_206B_206A_206B_202C_202C_206C_206B_202E_200B_200E_202A_200D_206D_200C_206B_202A_202B_202D_206D_202D_206F_206D_206E_206A_206C_206C_202E(_200B_200F_200E_200F_202B_200D_202E_200D_200E_200B_202E_202D_200F_206A_206B_206A_206B_202C_202C_206C_206B_202E_200B_200E_202A_200D_206D_200C_206B_202A_202B_202D_206D_202D_206F_206D_206E_206A_206C_206C_202E(vector2.Y, _202C_200B_206A_200E_206E_202A_206C_200D_206A_202E_202C_202D_202B_206B_200C_206F_206E_200D_200D_206A_202C_202A_206A_202B_202A_206E_202D_200D_206B_200E_200F_202C_206C_200B_200D_206E_200F_206F_202C_206C_202E()), num5); + float num7 = 12f + num6 + 12f; + Vector2 pMin = vector; + Vector2 pMax = vector + new Vector2(x, num7); + float w = 0.08f + 0.04f * (0.5f + 0.5f * _200C_206C_202D_202B_206A_202C_202E_206F_202A_202D_206B_206D_202C_206D_206D_206F_206D_202D_202E_200D_200F_202E_200C_202C_200E_202B_200D_206E_202D_200C_200B_202E_206C_206F_200B_202A_200B_202D_206E_206F_202E((float)_206E_206C_200F_200C_206F_206B_200D_206F_202E_206D_206A_206B_206D_200E_200C_202E_202B_200D_202A_206E_202E_200D_202E_202E_202D_206D_206B_202A_200F_202A_202D_206A_206B_202D_206F_200F_202D_206F_200D_202C_202E() * 2f)); + Vector4 vector3 = color; + vector3.W = w; + Vector4 vector4 = vector3; + vector3 = color; + vector3.W = 0.25f; + Vector4 vector5 = vector3; + imDrawListPtr.AddRectFilled(pMin, pMax, _202C_206F_206E_206F_200D_206D_200F_202D_206A_202D_202B_206A_206C_206F_200C_200F_200C_202E_200D_206A_202C_206E_200C_200D_206E_206B_200F_202E_206F_206F_206A_202B_200E_206D_202A_206F_202A_200E_200B_206D_202E(vector4), 6f); + imDrawListPtr.AddRect(pMin, pMax, _202C_206F_206E_206F_200D_206D_200F_202D_206A_202D_202B_206A_206C_206F_200C_200F_200C_202E_200D_206A_202C_206E_200C_200D_206E_206B_200F_202E_206F_206F_206A_202B_200E_206D_202A_206F_202A_200E_200B_206D_202E(vector5), 6f, ImDrawFlags.None, 1f); + imDrawListPtr.AddText(pos: new Vector2(pMin.X + 12f, pMin.Y + 12f + (num6 - vector2.Y) / 2f), font: _202D_206E_206E_200D_206E_206B_206A_206B_200B_206A_200D_200C_200F_206E_200C_200F_206B_200D_202D_206F_200C_200C_202A_202C_206C_200F_200B_206E_206D_202C_200D_206F_200F_200F_202A_202A_200C_206E_202E_200D_202E(), fontSize: fontSize, col: _202C_206F_206E_206F_200D_206D_200F_202D_206A_202D_202B_206A_206C_206F_200C_200F_200C_202E_200D_206A_202C_206E_200C_200D_206E_206B_200F_202E_206F_206F_206A_202B_200E_206D_202A_206F_202A_200E_200B_206D_202E(color), text: text2); + float num8 = pMin.X + 12f + vector2.X + 6f; + float num9 = pMax.X - 12f - num5; + Vector2 pos = new Vector2(num8, pMin.Y + 12f + (num6 - _202C_200B_206A_200E_206E_202A_206C_200D_206A_202E_202C_202D_202B_206B_200C_206F_206E_200D_200D_206A_202C_202A_206A_202B_202A_206E_202D_200D_206B_200E_200F_202C_206C_200B_200D_206E_200F_206F_202C_206C_202E()) / 2f); + imDrawListPtr.AddText(pos, _202C_206F_206E_206F_200D_206D_200F_202D_206A_202D_202B_206A_206C_206F_200C_200F_200C_202E_200D_206A_202C_206E_200C_200D_206E_206B_200F_202E_206F_206F_206A_202B_200E_206D_202A_206F_202A_200E_200B_206D_202E(color), UiThemeUtils.TruncateToWidth(text, num9 - _200B_202C_206B_200C_202C_206D_200B_200F_200D_200E_200C_206D_202D_202C_206B_200F_206F_206E_206F_202B_206F_200F_206C_206C_206C_206C_206D_206B_200B_206C_206A_202E_202B_202E_200C_206E_202C_200B_206C_200C_202E().ItemSpacing.X - num8)); + _202A_200F_202D_202A_200F_202B_200D_206E_200D_202B_200C_202B_200C_200D_200F_200D_202A_200C_202A_206C_202A_200B_202A_200E_206D_200B_202D_202D_206B_202D_206C_200B_206E_202D_200F_202C_202B_202D_202D_200E_202E(new Vector2(x, num7)); + Vector2 vector6 = _202D_202B_206C_202D_202D_206A_206D_206D_200D_202B_202A_202B_200F_206B_206F_200C_202D_206B_202C_206D_206A_202C_202D_206A_206B_202B_202B_206E_200D_200F_202A_202E_200E_206C_200C_200B_202B_206D_202E_206F_202E(); + _206E_206D_206D_202C_200E_202A_200D_202E_206B_206E_206D_202A_200E_200F_200D_200E_200F_202C_206E_206C_202A_200C_200F_200E_206D_206C_200F_200F_200C_202C_200F_200B_202B_206A_200D_206F_202D_200E_206B_206C_202E(new Vector2(num9, pMin.Y + (num7 - num5) / 2f)); + bool result = UiThemeUtils.IconButton(FontAwesomeIcon.Stop, num5); + _202B_202E_200C_206F_206F_200D_200E_206B_200C_200D_206F_202D_200C_206E_202B_200F_202E_200D_206D_200C_206C_200E_202B_202C_200B_206E_206F_206F_202C_202E_206C_200D_200E_206D_200F_200D_206B_200E_200E_202D_202E(vector6); + return result; + } + + static ImDrawListPtr _200C_200B_206E_206C_206D_200C_202C_202A_206C_200D_202A_200D_206D_206B_200E_206C_202C_206F_206B_202E_200E_202D_206A_206B_202C_200C_202D_202E_202C_206A_200F_202E_206D_206C_200D_200B_206A_206E_200B_202B_202E() + { + return ImGui.GetWindowDrawList(); + } + + static Vector2 _202B_200B_206D_200E_200F_202D_200D_206C_202B_202D_206F_206D_206C_206F_202E_202E_200B_200C_206E_200D_200E_200E_206D_200C_200C_200C_202D_206B_200F_202C_206C_206F_206D_206E_206E_202A_202A_202E_200D_206C_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static float _200E_206B_206F_200D_200B_200D_206D_206F_206E_206E_206B_200B_202B_206B_200C_206E_202E_206B_200B_200F_206E_206F_200F_206C_202C_206C_202E_202C_206B_206D_206C_202E_202E_206A_206A_200D_200C_200F_206C_202A_202E() + { + return ImGui.GetFontSize(); + } + + static string _202E_200F_202A_206C_202A_206F_202C_200B_200B_206E_202E_200F_200B_206E_202B_202E_206E_202A_200B_200F_200F_206E_206F_202E_200B_206D_202E_206E_200E_206C_202B_206F_206D_206C_202C_206F_206C_206B_200B_202C_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _200D_202B_206E_206E_206F_202A_202A_206E_206E_202D_200F_206F_202A_200C_200F_202D_202C_202D_202A_200D_200F_202B_202C_202B_202B_200C_200C_206E_200C_200D_200E_202C_206E_202A_200C_206D_200D_202D_202A_200F_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static ImFontPtr _202D_206E_206E_200D_206E_206B_206A_206B_200B_206A_200D_200C_200F_206E_200C_200F_206B_200D_202D_206F_200C_200C_202A_202C_206C_200F_200B_206E_206D_202C_200D_206F_200F_200F_202A_202A_200C_206E_202E_200D_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _206A_202C_202A_200D_200D_200F_200E_206D_202D_200C_202C_200E_206E_206A_206A_202D_202C_206F_206E_202A_202A_206C_202C_206A_206C_202E_206A_206E_206B_206E_200D_206E_202A_200E_206E_206C_206C_200D_206C_202D_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static Vector2 _206E_202A_200D_200D_206C_200B_200B_202D_200F_200B_200B_200F_200C_206B_200B_202E_206B_200C_200C_206F_202C_206E_202D_202B_202D_206D_202D_202C_200D_206C_202B_202E_206F_200D_200E_206D_200B_202B_206E_206E_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static void _206F_206E_202A_206B_200B_202B_202B_202E_200F_206E_200B_206A_206B_206D_206A_206C_202E_202D_206A_202D_202C_206F_206C_202C_206F_206D_206A_206D_206A_202D_202D_202A_200F_206B_206D_202A_206F_202E_200D_202E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static float _206A_202A_206E_202A_200B_200F_206E_206E_200D_202D_202D_200D_202D_200E_206E_206B_202A_206C_202D_200B_202B_200C_200C_202B_206E_200C_206D_200D_202A_200D_202A_200C_206C_202A_202B_206E_200C_200B_200E_206A_202E() + { + return ImGui.GetFrameHeight(); + } + + static float _202C_200B_206A_200E_206E_202A_206C_200D_206A_202E_202C_202D_202B_206B_200C_206F_206E_200D_200D_206A_202C_202A_206A_202B_202A_206E_202D_200D_206B_200E_200F_202C_206C_200B_200D_206E_200F_206F_202C_206C_202E() + { + return ImGui.GetTextLineHeight(); + } + + static float _200B_200F_200E_200F_202B_200D_202E_200D_200E_200B_202E_202D_200F_206A_206B_206A_206B_202C_202C_206C_206B_202E_200B_200E_202A_200D_206D_200C_206B_202A_202B_202D_206D_202D_206F_206D_206E_206A_206C_206C_202E(float P_0, float P_1) + { + return MathF.Max(P_0, P_1); + } + + static double _206E_206C_200F_200C_206F_206B_200D_206F_202E_206D_206A_206B_206D_200E_200C_202E_202B_200D_202A_206E_202E_200D_202E_202E_202D_206D_206B_202A_200F_202A_202D_206A_206B_202D_206F_200F_202D_206F_200D_202C_202E() + { + return ImGui.GetTime(); + } + + static float _200C_206C_202D_202B_206A_202C_202E_206F_202A_202D_206B_206D_202C_206D_206D_206F_206D_202D_202E_200D_200F_202E_200C_202C_200E_202B_200D_206E_202D_200C_200B_202E_206C_206F_200B_202A_200B_202D_206E_206F_202E(float P_0) + { + return MathF.Sin(P_0); + } + + static uint _202C_206F_206E_206F_200D_206D_200F_202D_206A_202D_202B_206A_206C_206F_200C_200F_200C_202E_200D_206A_202C_206E_200C_200D_206E_206B_200F_202E_206F_206F_206A_202B_200E_206D_202A_206F_202A_200E_200B_206D_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static ImGuiStylePtr _200B_202C_206B_200C_202C_206D_200B_200F_200D_200E_200C_206D_202D_202C_206B_200F_206F_206E_206F_202B_206F_200F_206C_206C_206C_206C_206D_206B_200B_206C_206A_202E_202B_202E_200C_206E_202C_200B_206C_200C_202E() + { + return ImGui.GetStyle(); + } + + static void _202A_200F_202D_202A_200F_202B_200D_206E_200D_202B_200C_202B_200C_200D_200F_200D_202A_200C_202A_206C_202A_200B_202A_200E_206D_200B_202D_202D_206B_202D_206C_200B_206E_202D_200F_202C_202B_202D_202D_200E_202E(Vector2 P_0) + { + ImGui.Dummy(P_0); + } + + static Vector2 _202D_202B_206C_202D_202D_206A_206D_206D_200D_202B_202A_202B_200F_206B_206F_200C_202D_206B_202C_206D_206A_202C_202D_206A_206B_202B_202B_206E_200D_200F_202A_202E_200E_206C_200C_200B_202B_206D_202E_206F_202E() + { + return ImGui.GetCursorPos(); + } + + static void _206E_206D_206D_202C_200E_202A_200D_202E_206B_206E_206D_202A_200E_200F_200D_200E_200F_202C_206E_206C_202A_200C_200F_200E_206D_206C_200F_200F_200C_202C_200F_200B_202B_206A_200D_206F_202D_200E_206B_206C_202E(Vector2 P_0) + { + ImGui.SetCursorScreenPos(P_0); + } + + static void _202B_202E_200C_206F_206F_200D_200E_206B_200C_200D_206F_202D_200C_206E_202B_200F_202E_200D_206D_200C_206C_200E_202B_202C_200B_206E_206F_206F_202C_202E_206C_200D_200E_206D_200F_200D_206B_200E_200E_202D_202E(Vector2 P_0) + { + ImGui.SetCursorPos(P_0); + } +} diff --git a/Questionable/Questionable.Windows.Utils/QuestSelector.cs b/Questionable/Questionable.Windows.Utils/QuestSelector.cs index 7ee6763d..088d39f2 100644 --- a/Questionable/Questionable.Windows.Utils/QuestSelector.cs +++ b/Questionable/Questionable.Windows.Utils/QuestSelector.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Interface.Utility.Raii; using Questionable.Controller; @@ -12,6 +13,44 @@ namespace Questionable.Windows.Utils; internal sealed class QuestSelector(QuestRegistry questRegistry) { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass16_0 + { + public ElementId elementId; + + public QuestSelector _003C_003E4__this; + + internal bool _003CDrawSelection_003Eb__2(Quest x) + { + int num = (_003C_003E4__this._003CDrawSelection_003Eg__SearchPredicate_007C16_1(x) ? 2013871135 : 2013871134); + while (true) + { + int num2 = num; + int num3 = 2013871135; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_004e; + case 0: + return true; + case 1: + return _202C_206E_200C_200E_200E_206B_206E_206E_202D_206D_206C_200C_206C_200B_206D_202A_206E_202B_202B_206D_200B_200F_200B_202B_200E_202C_206B_200B_200E_202D_200B_206B_202A_206C_206A_202B_202E_202C_206A_206D_202E(x.Id, elementId); + } + continue; + IL_004e: + num = 2013871134; + } + } + + static bool _202C_206E_200C_200E_200E_206B_206E_206E_202D_206D_206C_200C_206C_200B_206D_202A_206E_202B_202B_206D_200B_200F_200B_202B_200E_202C_206B_200B_200E_202D_200B_206B_202A_206C_206A_202B_202E_202C_206A_206D_202E(ElementId P_0, ElementId P_1) + { + return P_0 == P_1; + } + } + private string _searchString = string.Empty; private bool _comboJustOpened; @@ -22,65 +61,211 @@ internal sealed class QuestSelector(QuestRegistry questRegistry) public Action? QuestSelected { private get; set; } - public void DrawSelection() + [MethodImpl(MethodImplOptions.NoInlining)] + public void DrawSelection(float width = -1f) { - if (QuestSelected == null) + int num = ((QuestSelected != null) ? 1874284633 : 1874284628); + _003C_003Ec__DisplayClass16_0 _003C_003Ec__DisplayClass16_ = default(_003C_003Ec__DisplayClass16_0); + bool flag = default(bool); + Func predicate = default(Func); + IEnumerable source = default(IEnumerable); + Quest current = default(Quest); + while (true) { - throw new InvalidOperationException("QuestSelected action must be set before drawing the quest selector."); - } - ImGui.SetNextItemWidth(ImGui.GetContentRegionAvail().X); - if (ImGui.BeginCombo("##QuestSelection", "Add Quest...", ImGuiComboFlags.HeightLarge)) - { - if (!_comboJustOpened) + int num2 = num; + int num3 = 1874284639; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - ImGui.SetKeyboardFocusHere(); + default: + continue; + case 0: + num = 1874284628; + continue; + case 11: + throw _206F_200F_202B_200B_206C_206A_202A_202C_200C_206B_206C_200E_206A_202C_200C_200B_200B_200B_202A_206B_202A_206E_202A_206B_202C_206A_206D_200D_200E_200B_206B_202A_206B_206F_206B_200B_202E_202E_206D_202B_202E(global::_003CModule_003E._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(-2013697626)); + case 8: + _003C_003Ec__DisplayClass16_ = new _003C_003Ec__DisplayClass16_0(); + _003C_003Ec__DisplayClass16_._003C_003E4__this = this; + num = ((!_202A_200E_200F_202C_206A_206A_202B_206C_202A_206C_206B_206F_202C_206D_206E_206B_202B_202C_202B_206B_206A_200F_206B_206B_202E_202B_200F_206C_202D_200E_202E_202C_200D_202A_200B_206B_200C_206E_202D_206E_202E(_searchString, ref _003C_003Ec__DisplayClass16_.elementId)) ? 1874284634 : 1874284630); + continue; + case 6: + _202D_206C_200B_206D_206C_200C_202E_202E_202A_202B_200D_200B_206B_206E_202A_200E_202A_200F_206D_206A_200F_202B_202E_202A_200D_202B_206F_206B_200E_202C_206C_200D_206A_200F_200D_206F_206F_202B_200E_200C_202E(width); + if (_206D_206D_200D_200F_200F_202A_200F_200D_206B_206A_202A_200B_200C_206B_202A_200D_202A_200F_206D_202D_202D_200F_200B_206E_200C_202B_202C_206F_206A_202D_202A_200D_202A_202B_206B_206D_200B_200C_206C_206F_202E((ImU8String)global::_003CModule_003E._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(195485891), (ImU8String)global::_003CModule_003E._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(-316346152), ImGuiComboFlags.HeightLarge)) + { + num = 1874284637; + continue; + } + _comboJustOpened = false; + break; + case 7: + _202D_206C_200B_206D_206C_200C_202E_202E_202A_202B_200D_200B_206B_206E_202A_200E_202A_200F_206D_206A_200F_202B_202E_202A_200D_202B_206F_206B_200E_202C_206C_200D_206A_200F_200D_206F_206F_202B_200E_200C_202E(-1f); + flag = _200B_206D_202C_206B_200F_206D_200E_206D_206E_200C_200E_202A_202E_202D_200E_200F_200D_200C_200D_202D_206B_202E_200B_202C_206B_202A_206F_202B_202E_200C_206D_200C_202E_202D_206F_202B_202C_206F_202A_200D_202E((ImU8String)global::_003CModule_003E._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(-898947001), (ImU8String)global::_003CModule_003E._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(952243447), ref _searchString, 256, ImGuiInputTextFlags.AutoSelectAll | ImGuiInputTextFlags.EnterReturnsTrue, (ImGui.ImGuiInputTextCallbackDelegate)null); + _202B_200E_206D_202B_200B_200D_206B_200E_206D_206C_200C_206C_206B_206D_206B_206A_202C_200C_200D_202C_200D_200E_200D_202C_202A_200F_202C_206A_200F_206A_202B_206A_200D_206B_206F_202E_200C_206E_200E_200E_202E(); + num = (_206C_200D_202B_200C_206E_200C_202E_200B_206F_206A_202E_200C_202E_202E_202B_200E_202C_202D_202A_202E_200D_206C_206E_200E_202B_200E_206B_202B_200E_202A_206E_202D_200C_202B_202C_206D_206F_206E_200B_200E_202E(_searchString) ? 1874284636 : 1874284631); + continue; + case 9: + predicate = _003C_003Ec__DisplayClass16_._003CDrawSelection_003Eb__2; + num = 1874284629; + continue; + case 5: + predicate = SearchPredicate; + num = 1874284629; + continue; + case 10: + source = questRegistry.AllQuests.Where((Quest x) => !(x.Id is SatisfactionSupplyNpcId)).Where(predicate); + num = 1874284635; + continue; + case 1: + _202A_206B_206F_206D_206F_206E_206B_206F_206A_206C_202B_200D_202D_206B_200F_200B_206C_202B_200B_206F_206C_202B_200B_202A_200B_202B_202C_200D_202E_206E_206A_202C_202E_200E_200E_202E_206C_200F_206E_202D_202E(); _comboJustOpened = true; - } - ImGui.SetNextItemWidth(-1f); - bool flag = ImGui.InputTextWithHint("##QuestSearch", "Search quests...", ref _searchString, 256, ImGuiInputTextFlags.AutoSelectAll | ImGuiInputTextFlags.EnterReturnsTrue); - ImGui.Separator(); - IEnumerable enumerable; - if (!string.IsNullOrEmpty(_searchString)) + num = 1874284632; + continue; + case 2: + num = (_comboJustOpened ? 1874284632 : 1874284638); + continue; + case 3: + source = questRegistry.AllQuests.Where((Quest x) => DefaultPredicate?.Invoke(x) ?? true); + num = 1874284635; + continue; + case 4: { - 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) + using (ImRaii.ChildDisposable childDisposable = _206F_206D_202A_200C_200C_202B_206F_206F_202C_200B_200C_206B_206D_200E_202E_202C_206F_206D_202E_200D_200C_202D_206B_206D_200B_202A_200D_202B_206C_206A_206C_206E_202A_206F_200B_206D_200B_206F_202D_202C_202E((ImU8String)global::_003CModule_003E._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(-1128503483), new Vector2(0f, 300f), false)) { - ElementId id = x.Id; - return !(id is SatisfactionSupplyNpcId) && !(id is AlliedSocietyDailyId); - })); - } - else - { - enumerable = 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) + if ((bool)childDisposable) { - if ((SuggestionPredicate == null || SuggestionPredicate(item)) && (ImGui.Selectable(item.Info.Name) || flag)) + using List.Enumerator enumerator = source.ToList().GetEnumerator(); + num = 1014199270; + while (true) { - QuestSelected(item); - _searchString = string.Empty; - if (flag) + int num5 = num; + num3 = 1014199264; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) { - ImGui.CloseCurrentPopup(); + case 4: + QuestSelected(current); + _searchString = string.Empty; + num = ((!flag) ? 1014199270 : 1014199265); + break; + case 6: + num = (enumerator.MoveNext() ? 1014199267 : 1014199269); + break; + case 7: + num = ((!(_200E_202C_200D_200B_206E_200C_202A_202C_202A_206F_206E_200B_200F_206D_200B_200C_202D_202B_200C_202D_206E_202A_202A_202E_200D_200C_206C_206D_206A_200D_206C_200B_200F_202C_206B_206B_202A_202C_206D_202E((ImU8String)current.Info.Name, false, ImGuiSelectableFlags.None, default(Vector2)) || flag)) ? 1014199270 : 1014199268); + break; + case 1: + _206B_206F_206D_202B_206C_202D_206E_202C_200E_200D_206D_200E_206C_206D_206C_200E_202B_206D_206E_200C_200C_202D_200C_202C_200E_202A_202D_202A_206C_202B_206D_200F_200C_206B_200E_206B_202C_202A_200D_206F_202E(); flag = false; + num = 1014199270; + break; + case 0: + num = ((!SuggestionPredicate(current)) ? 1014199270 : 1014199271); + break; + case 2: + num = 1014199270; + break; + case 3: + current = enumerator.Current; + num = ((SuggestionPredicate == null) ? 1014199271 : 1014199264); + break; + case 5: + goto end_IL_0294; } + continue; + end_IL_0294: + break; } } } + _206D_202D_202E_206B_200C_202C_200C_206A_200C_200C_206D_202D_202D_206C_206A_200B_206E_206D_206A_206B_202E_202C_206F_206F_206D_200F_200E_206C_200B_202E_200E_206B_202A_202E_202C_200D_206E_200D_200E_200D_202E(); + break; } - ImGui.EndCombo(); + } + break; } - else - { - _comboJustOpened = false; - } - ImGui.Spacing(); + _202B_200E_200C_202C_206C_200B_202B_200B_200D_206A_200E_206C_206F_200E_202C_206D_200B_200E_200C_200B_206F_200D_202A_200E_200D_206E_202E_206B_202D_206B_206C_200E_206E_206B_200D_206C_206A_200D_200F_202B_202E(); bool SearchPredicate(Quest x) { - return x.Info.Name.Contains(_searchString, StringComparison.CurrentCultureIgnoreCase); + return _200F_200E_206A_206B_200D_206A_202A_206C_200B_206E_202A_200D_200B_200B_206C_202A_200B_202A_202B_206C_206B_200C_202B_200D_200C_200D_200E_200D_202C_200D_202E_202C_200B_200E_200F_200C_200B_200D_200C_200D_202E(x.Info.Name, _searchString, StringComparison.CurrentCultureIgnoreCase); } } + + [CompilerGenerated] + private bool _003CDrawSelection_003Eg__SearchPredicate_007C16_1(Quest x) + { + return _200F_200E_206A_206B_200D_206A_202A_206C_200B_206E_202A_200D_200B_200B_206C_202A_200B_202A_202B_206C_206B_200C_202B_200D_200C_200D_200E_200D_202C_200D_202E_202C_200B_200E_200F_200C_200B_200D_200C_200D_202E(x.Info.Name, _searchString, StringComparison.CurrentCultureIgnoreCase); + } + + static InvalidOperationException _206F_200F_202B_200B_206C_206A_202A_202C_200C_206B_206C_200E_206A_202C_200C_200B_200B_200B_202A_206B_202A_206E_202A_206B_202C_206A_206D_200D_200E_200B_206B_202A_206B_206F_206B_200B_202E_202E_206D_202B_202E(string P_0) + { + return new InvalidOperationException(P_0); + } + + static void _202D_206C_200B_206D_206C_200C_202E_202E_202A_202B_200D_200B_206B_206E_202A_200E_202A_200F_206D_206A_200F_202B_202E_202A_200D_202B_206F_206B_200E_202C_206C_200D_206A_200F_200D_206F_206F_202B_200E_200C_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static bool _206D_206D_200D_200F_200F_202A_200F_200D_206B_206A_202A_200B_200C_206B_202A_200D_202A_200F_206D_202D_202D_200F_200B_206E_200C_202B_202C_206F_206A_202D_202A_200D_202A_202B_206B_206D_200B_200C_206C_206F_202E(ImU8String P_0, ImU8String P_1, ImGuiComboFlags P_2) + { + return ImGui.BeginCombo(P_0, P_1, P_2); + } + + static void _202A_206B_206F_206D_206F_206E_206B_206F_206A_206C_202B_200D_202D_206B_200F_200B_206C_202B_200B_206F_206C_202B_200B_202A_200B_202B_202C_200D_202E_206E_206A_202C_202E_200E_200E_202E_206C_200F_206E_202D_202E() + { + ImGui.SetKeyboardFocusHere(); + } + + static bool _200B_206D_202C_206B_200F_206D_200E_206D_206E_200C_200E_202A_202E_202D_200E_200F_200D_200C_200D_202D_206B_202E_200B_202C_206B_202A_206F_202B_202E_200C_206D_200C_202E_202D_206F_202B_202C_206F_202A_200D_202E(ImU8String P_0, ImU8String P_1, ref string P_2, int P_3, ImGuiInputTextFlags P_4, ImGui.ImGuiInputTextCallbackDelegate P_5) + { + return ImGui.InputTextWithHint(P_0, P_1, ref P_2, P_3, P_4, P_5); + } + + static void _202B_200E_206D_202B_200B_200D_206B_200E_206D_206C_200C_206C_206B_206D_206B_206A_202C_200C_200D_202C_200D_200E_200D_202C_202A_200F_202C_206A_200F_206A_202B_206A_200D_206B_206F_202E_200C_206E_200E_200E_202E() + { + ImGui.Separator(); + } + + static bool _206C_200D_202B_200C_206E_200C_202E_200B_206F_206A_202E_200C_202E_202E_202B_200E_202C_202D_202A_202E_200D_206C_206E_200E_202B_200E_206B_202B_200E_202A_206E_202D_200C_202B_202C_206D_206F_206E_200B_200E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static bool _202A_200E_200F_202C_206A_206A_202B_206C_202A_206C_206B_206F_202C_206D_206E_206B_202B_202C_202B_206B_206A_200F_206B_206B_202E_202B_200F_206C_202D_200E_202E_202C_200D_202A_200B_206B_200C_206E_202D_206E_202E(string P_0, ref ElementId P_1) + { + return ElementId.TryFromString(P_0, out P_1); + } + + static ImRaii.ChildDisposable _206F_206D_202A_200C_200C_202B_206F_206F_202C_200B_200C_206B_206D_200E_202E_202C_206F_206D_202E_200D_200C_202D_206B_206D_200B_202A_200D_202B_206C_206A_206C_206E_202A_206F_200B_206D_200B_206F_202D_202C_202E(ImU8String P_0, Vector2 P_1, bool P_2) + { + return ImRaii.Child(P_0, P_1, P_2); + } + + static bool _200E_202C_200D_200B_206E_200C_202A_202C_202A_206F_206E_200B_200F_206D_200B_200C_202D_202B_200C_202D_206E_202A_202A_202E_200D_200C_206C_206D_206A_200D_206C_200B_200F_202C_206B_206B_202A_202C_206D_202E(ImU8String P_0, bool P_1, ImGuiSelectableFlags P_2, Vector2 P_3) + { + return ImGui.Selectable(P_0, P_1, P_2, P_3); + } + + static void _206B_206F_206D_202B_206C_202D_206E_202C_200E_200D_206D_200E_206C_206D_206C_200E_202B_206D_206E_200C_200C_202D_200C_202C_200E_202A_202D_202A_206C_202B_206D_200F_200C_206B_200E_206B_202C_202A_200D_206F_202E() + { + ImGui.CloseCurrentPopup(); + } + + static void _206D_202D_202E_206B_200C_202C_200C_206A_200C_200C_206D_202D_202D_206C_206A_200B_206E_206D_206A_206B_202E_202C_206F_206F_206D_200F_200E_206C_200B_202E_200E_206B_202A_202E_202C_200D_206E_200D_200E_200D_202E() + { + ImGui.EndCombo(); + } + + static void _202B_200E_200C_202C_206C_200B_202B_200B_200D_206A_200E_206C_206F_200E_202C_206D_200B_200E_200C_200B_206F_200D_202A_200E_200D_206E_202E_206B_202D_206B_206C_200E_206E_206B_200D_206C_206A_200D_200F_202B_202E() + { + ImGui.Spacing(); + } + + static bool _200F_200E_206A_206B_200D_206A_202A_206C_200B_206E_202A_200D_200B_200B_206C_202A_200B_202A_202B_206C_206B_200C_202B_200D_200C_200D_200E_200D_202C_200D_202E_202C_200B_200E_200F_200C_200B_200D_200C_200D_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } } diff --git a/Questionable/Questionable.Windows.Utils/ThrottledClipboard.cs b/Questionable/Questionable.Windows.Utils/ThrottledClipboard.cs new file mode 100644 index 00000000..914f15ac --- /dev/null +++ b/Questionable/Questionable.Windows.Utils/ThrottledClipboard.cs @@ -0,0 +1,51 @@ +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 num = _202B_202B_206C_206D_202C_202A_200E_202E_202A_202A_202C_206F_200C_200E_206F_202C_202E_206E_206C_206F_206A_202C_202A_202E_206C_206C_206D_202D_200B_202D_206A_202C_206E_206E_200B_206E_200E_200C_202E_200C_202E(); + if (num >= _nextReadAtMs) + { + long num2 = 500L; + long num3 = num; + long num4 = num3 ^ num2; + long num5 = num3 & num2; + _nextReadAtMs = num4 + (num5 + num5); + try + { + string text = _206C_206F_200D_202C_206F_206F_200C_202D_202D_206C_206B_200D_206D_206A_202C_202A_200B_206F_200F_202B_202A_202B_202A_206F_206F_200E_206C_202A_202B_206E_202A_200E_202C_206C_206C_206D_206D_200F_200D_200D_202E(); + _cachedText = ((text != null) ? _206D_206F_202D_206D_202D_202A_200F_202D_202D_202A_200E_200C_206B_202A_206C_202E_206C_206B_206F_202D_200F_200B_202B_202A_206D_200E_206C_200E_202D_206F_200B_200B_206D_202D_206B_200B_202B_206C_202E_202C_202E(text) : null) ?? string.Empty; + } + catch (Exception) + { + _cachedText = string.Empty; + } + } + return _cachedText; + } + + static long _202B_202B_206C_206D_202C_202A_200E_202E_202A_202A_202C_206F_200C_200E_206F_202C_202E_206E_206C_206F_206A_202C_202A_202E_206C_206C_206D_202D_200B_202D_206A_202C_206E_206E_200B_206E_200E_200C_202E_200C_202E() + { + return Environment.TickCount64; + } + + static string _206C_206F_200D_202C_206F_206F_200C_202D_202D_206C_206B_200D_206D_206A_202C_202A_200B_206F_200F_202B_202A_202B_202A_206F_206F_200E_206C_202A_202B_206E_202A_200E_202C_206C_206C_206D_206D_200F_200D_200D_202E() + { + return ImGui.GetClipboardText(); + } + + static string _206D_206F_202D_206D_202D_202A_200F_202D_202D_202A_200E_200C_206B_202A_206C_202E_206C_206B_206F_202D_200F_200B_202B_202A_206D_200E_206C_200E_202D_206F_200B_200B_206D_202D_206B_200B_202B_206C_202E_202C_202E(string P_0) + { + return P_0.Trim(); + } +} diff --git a/Questionable/Questionable.Windows/ChangelogWindow.cs b/Questionable/Questionable.Windows/ChangelogWindow.cs index 7653583c..7bc699b1 100644 --- a/Questionable/Questionable.Windows/ChangelogWindow.cs +++ b/Questionable/Questionable.Windows/ChangelogWindow.cs @@ -1,18 +1,20 @@ using System.Collections.Generic; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; +using Dalamud.Configuration; +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,55 +30,69 @@ internal sealed class ChangelogWindow : LWindow private float _headerAnimationTime; - private bool _closeRequested; - + [MethodImpl(MethodImplOptions.NoInlining)] public ChangelogWindow(Configuration configuration, IDalamudPluginInterface pluginInterface) - : base("Questionable Changelog###QuestionableChangelog", ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoScrollWithMouse) + : base(global::_003CModule_003E._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(1311522858), ImGuiWindowFlags.NoTitleBar) { _configuration = configuration; _pluginInterface = pluginInterface; _headerComponent = new ChangelogHeaderComponent(); _footerComponent = new ChangelogFooterComponent(); - base.Size = new Vector2(900f, 650f); - base.SizeCondition = ImGuiCond.FirstUseEver; - base.SizeConstraints = new WindowSizeConstraints + _206C_200E_202B_202B_206A_206B_200F_206C_200E_206B_200B_206E_200D_200B_206C_200E_206E_202C_200F_200E_202E_206D_202B_202E_206C_200C_206F_202A_206A_200D_200C_202E_202B_202D_202B_202C_202C_200F_202A_202C_202E((Vector2?)new Vector2(900f, 650f)); + _206C_202E_200B_200E_200E_200B_206A_200D_206B_200E_200B_202B_202D_202A_200F_206D_202C_200C_200D_206C_202E_200E_202B_202C_206D_202C_202A_202E_200E_206C_202B_200D_200B_200F_200E_200D_202D_206D_202A_202B_202E(ImGuiCond.FirstUseEver); + _206C_206A_206C_202C_206F_200C_200F_202A_202A_200E_206B_200B_202E_202B_202C_202D_202D_200C_202D_202D_200F_206E_206E_200E_200C_202A_206A_206E_200E_202B_202E_202E_200E_202B_206A_202C_200F_206D_202B_206A_202E((WindowSizeConstraints?)new WindowSizeConstraints { MinimumSize = new Vector2(700f, 500f), MaximumSize = new Vector2(float.MaxValue, float.MaxValue) - }; - } - - 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; + int num = (isOpen ? (-1673190192) : (-1673190191)); + while (true) + { + int num2 = num; + int num3 = -1673190192; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1673190191; + break; + case 0: + return; + case 1: + RequestClose(); + num = -1673190192; + break; + } + } }); DrawChangelogEntries(); - ChangelogFooterComponent.Draw(delegate - { - _closeRequested = true; - }); - 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); + ChangelogFooterComponent.Draw(base.RequestClose); + ImDrawListPtr imDrawListPtr = _206D_200E_206F_202B_202E_200F_200D_200D_206A_200D_202D_202A_200B_206A_200B_200E_206B_206B_200B_202C_202E_206C_200C_206C_206A_206A_202D_200D_206B_206E_202A_200E_202B_200F_206F_206E_206E_202E_202B_202C_202E(); + Vector2 vector = _202B_200C_206F_200D_200D_206D_200C_202D_206B_202B_206B_206C_200C_200D_200F_200F_200D_202C_200C_206F_206B_202D_202B_202C_206C_200E_202E_206C_200F_206E_206E_206D_206B_206B_202B_200F_200C_206A_202D_200C_202E(); + Vector2 vector2 = _206A_202C_202A_200D_206B_202E_206C_206C_206B_200B_206A_206C_206A_200C_206B_206A_206E_206B_200E_206A_202C_202B_202A_202C_206A_200E_202B_200C_202E_202C_206E_206C_200E_206D_206B_200D_206E_206A_202E_202A_202E(); + Vector2 pMax = vector + vector2; + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.3f; + imDrawListPtr.AddRect(vector, pMax, _200E_202D_206A_206A_206A_202D_202A_200C_202E_202E_202C_202C_206D_202C_206E_206C_202C_206D_206D_206E_202D_202D_206D_202A_202D_200D_200F_202E_200C_200F_202B_200D_202C_202D_206A_202B_202E_202A_202D_200D_202E(accentColor), 0f, ImDrawFlags.None, 2f); } public override void OnOpen() { - base.OnOpen(); - _windowOpenCount++; + _202E_202E_200F_206C_200E_206F_200B_206C_200C_202C_202B_206B_202D_202D_206E_206D_202B_206A_202B_206D_202A_200D_200D_206B_200F_200F_202B_202C_206E_200D_200F_206F_206E_206A_202D_200E_202D_202E_200D_200E_202E(); + int windowOpenCount = _windowOpenCount; + int num = 1; + int num2 = windowOpenCount; + int num3 = num2 ^ num; + int num4 = num2 & num; + _windowOpenCount = num3 + (num4 + num4); _hasSetInitialState = false; _headerAnimationTime = 0f; _headerComponent.Reset(); @@ -84,66 +100,233 @@ internal sealed class ChangelogWindow : LWindow public override void OnClose() { - base.OnClose(); + _206A_202A_200F_206C_206F_206C_206B_202E_200B_206D_206D_206D_202D_200E_206D_200F_200C_202E_206F_206F_200E_202A_202E_200F_200D_202A_202D_200B_200C_206E_202C_202A_206F_206E_202D_200C_200E_206A_200B_200F_202E(); MarkAllAsRead(); } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawChangelogEntries() { - _headerAnimationTime += ImGui.GetIO().DeltaTime; - using (ImRaii.PushColor(ImGuiCol.ScrollbarBg, new Vector4(0.1f, 0.08f, 0.14f, 0.6f))) + _headerAnimationTime += _202C_202E_202B_200D_202B_206C_200D_202C_200C_206A_202C_200E_202E_202D_200F_206F_200C_202D_206F_206D_200D_202C_206F_206B_206F_206A_206B_202C_202B_200F_206C_200C_206B_202A_206F_202C_200D_206E_200B_200C_202E().DeltaTime; + float num = _202A_206F_206A_202D_206E_200C_202C_202B_202E_206A_206E_206E_206C_202E_200D_200C_202B_200C_200D_200F_202E_206A_206E_202B_200D_206F_202B_202B_202C_202B_206B_200F_200B_202D_206F_200E_202E_202A_206B_206F_202E() + _202D_202C_202D_200E_202D_202E_202E_200F_202E_206C_202E_200E_200D_200C_206F_200C_202C_200B_202E_206B_200D_206E_202B_200C_200B_206B_202B_206C_206C_200C_206B_206E_202D_200E_200D_206B_202A_202D_202E_202E().ItemSpacing.Y * 2f; + using ImRaii.ChildDisposable childDisposable = _206E_206E_200F_200D_206D_206A_206C_202C_202B_200E_200E_206E_206C_206B_206C_202E_206A_206E_202B_200B_202B_200D_206A_206A_206B_206F_202C_206B_200B_206E_200F_202D_206F_206D_200E_200E_202E_206F_206E_206D_202E((ImU8String)global::_003CModule_003E._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(642885522), new Vector2(0f, 0f - num), false, ImGuiWindowFlags.NoScrollbar); + int num2 = ((!(!childDisposable)) ? 409981810 : 409981809); + List changelogs = default(List); + ChangelogEntry changelogEntry = default(ChangelogEntry); + while (true) { - using (ImRaii.PushColor(ImGuiCol.ScrollbarGrab, new Vector4(0.55f, 0.45f, 0.75f, 0.4f))) + int num3 = num2; + int num4 = 409981808; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) { - using (ImRaii.PushColor(ImGuiCol.ScrollbarGrabHovered, new Vector4(0.65f, 0.55f, 0.85f, 0.6f))) + case 0: + goto IL_00ae; + case 1: + return; + case 2: + { + using ImRaii.ChildDisposable childDisposable2 = _206E_200B_200C_200E_200D_206B_202D_206D_200E_202C_206A_200C_206C_206A_206F_206A_202A_206C_200F_206B_206F_202D_206D_202E_200D_206A_200B_206C_206C_200D_200C_200F_202C_202B_202A_200F_202E_206C_206C_202D_202E((ImU8String)global::_003CModule_003E._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(404777559), Vector2.Zero, false); + num2 = ((!(!childDisposable2)) ? 888384850 : 888384849); + while (true) { - using (ImRaii.PushColor(ImGuiCol.ScrollbarGrabActive, new Vector4(0.75f, 0.55f, 0.95f, 0.8f))) + int num6 = num2; + num4 = 888384848; + num5 = num6; + int num7 = num5 + num4; + int num8 = num5 & num4; + switch (num7 - (num8 + num8)) + { + case 2: + changelogs = ChangelogData.Changelogs; + changelogEntry = changelogs.FirstOrDefault(); + num2 = ((changelogs.Count != 0) ? 888384848 : 888384852); + break; + case 4: + _200B_202A_206E_206E_206E_202D_200F_206A_206F_206E_206F_206B_200F_206A_206F_206A_200C_200D_202D_206E_200D_200B_200F_206C_200C_200B_206C_202E_206D_200C_206F_202A_206F_206E_206E_206A_206C_200D_202A_206B_202E(_206E_206B_206A_200F_206E_200F_206E_206E_206D_202E_206E_202A_206B_200D_202B_206D_202B_202C_200E_202D_200E_206E_206D_200C_206A_200F_200D_206F_200C_200B_202D_206C_202A_206C_206B_206D_202D_206A_200B_206A_202E() + 40f); + UiThemeUtils.EmptyState(FontAwesomeIcon.FileAlt, global::_003CModule_003E._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(-823052972)); + return; + case 3: + num2 = 888384849; + break; + case 1: + return; + case 0: { - 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) + using (List.Enumerator enumerator = changelogs.GetEnumerator()) { - 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); + num2 = -839072908; + while (true) + { + int num9 = num2; + num4 = -839072905; + num5 = num9; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = -839072908; + break; + case 1: + { + ChangelogEntry current = enumerator.Current; + changelogEntryComponent.Draw(current, current == changelogEntry, _hasSetInitialState); + Vector2 vector = _206C_200B_200C_200E_200E_200F_202B_202B_200D_206D_206B_200C_200F_202B_202C_206C_206A_202D_200E_206E_202D_200B_202E_206F_202C_206D_206A_200F_200E_206D_206E_206D_202B_200E_206D_206E_200C_202D_206D_202C_202E(); + float num10 = _200E_200D_202D_206F_202B_202B_202C_202B_202B_202C_200D_200E_200D_200C_206B_202C_202C_206D_200B_206D_200B_200C_202A_202A_200F_200D_206D_202B_202C_206A_202A_206C_202A_200B_202C_206C_200C_202A_202D_206C_202E().X * 0.5f; + float num11 = (_200E_200D_202D_206F_202B_202B_202C_202B_202B_202C_200D_200E_200D_200C_206B_202C_202C_206D_200B_206D_200B_200C_202A_202A_200F_200D_206D_202B_202C_206A_202A_206C_202A_200B_202C_206C_200C_202A_202D_206C_202E().X - num10) * 0.5f; + ImDrawListPtr imDrawListPtr = _206D_200E_206F_202B_202E_200F_200D_200D_206A_200D_202D_202A_200B_206A_200B_200E_206B_206B_200B_202C_202E_206C_200C_206C_206A_206A_202D_200D_206B_206E_202A_200E_202B_200F_206F_206E_206E_202E_202B_202C_202E(); + Vector2 p = vector + new Vector2(num11, 0f); + Vector2 p2 = vector + new Vector2(num11 + num10, 0f); + Vector4 accentColor = UiThemeUtils.AccentColor; + accentColor.W = 0.1f; + imDrawListPtr.AddLine(p, p2, _200E_202D_206A_206A_206A_202D_202A_200C_202E_202E_202C_202C_206D_202C_206E_206C_202C_206D_206D_206E_202D_202D_206D_202A_202D_200D_200F_202E_200C_200F_202B_200D_202C_202D_206A_202B_202E_202A_202D_200D_202E(accentColor), 1f); + _200B_202A_206E_206E_206E_202D_200F_206A_206F_206E_206F_206B_200F_206A_206F_206A_200C_200D_202D_206E_200D_200B_200F_206C_200C_200B_206C_202E_206D_200C_206F_202A_206F_206E_206E_206A_206C_200D_202A_206B_202E(_206E_206B_206A_200F_206E_200F_206E_206E_206D_202E_206E_202A_206B_200D_202B_206D_202B_202C_200E_202D_200E_206E_206D_200C_206A_200F_200D_206F_200C_200B_202D_206C_202A_206C_206B_206D_202D_206A_200B_206A_202E() + 4f); + num2 = -839072908; + break; + } + case 3: + num2 = (enumerator.MoveNext() ? (-839072906) : (-839072905)); + break; + case 0: + goto end_IL_01f0; + } + continue; + end_IL_01f0: + break; + } } _hasSetInitialState = true; + return; + } } } } + } + continue; + IL_00ae: + num2 = 409981809; } } private void MarkAllAsRead() { string text = ChangelogData.Changelogs.FirstOrDefault()?.Version; - if (text != null) + int num = ((text == null) ? 746834927 : 746834924); + while (true) { - _configuration.LastViewedChangelogVersion = text; - _pluginInterface.SavePluginConfig(_configuration); + int num2 = num; + int num3 = 746834926; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return; + case 2: + _configuration.LastViewedChangelogVersion = text; + _202E_202B_200E_202C_200E_202B_200E_202A_206A_202B_206E_206E_200F_206A_202B_200B_202B_206A_206A_202C_202D_202E_200D_202C_202C_200D_202E_206A_206B_202A_202C_206C_206B_200B_206F_206F_202B_200F_202B_206E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + num = 746834927; + break; + case 0: + num = 746834924; + break; + } } } + + void _206C_200E_202B_202B_206A_206B_200F_206C_200E_206B_200B_206E_200D_200B_206C_200E_206E_202C_200F_200E_202E_206D_202B_202E_206C_200C_206F_202A_206A_200D_200C_202E_202B_202D_202B_202C_202C_200F_202A_202C_202E(Vector2? P_0) + { + base.Size = P_0; + } + + void _206C_202E_200B_200E_200E_200B_206A_200D_206B_200E_200B_202B_202D_202A_200F_206D_202C_200C_200D_206C_202E_200E_202B_202C_206D_202C_202A_202E_200E_206C_202B_200D_200B_200F_200E_200D_202D_206D_202A_202B_202E(ImGuiCond P_0) + { + base.SizeCondition = P_0; + } + + void _206C_206A_206C_202C_206F_200C_200F_202A_202A_200E_206B_200B_202E_202B_202C_202D_202D_200C_202D_202D_200F_206E_206E_200E_200C_202A_206A_206E_200E_202B_202E_202E_200E_202B_206A_202C_200F_206D_202B_206A_202E(WindowSizeConstraints? P_0) + { + base.SizeConstraints = P_0; + } + + static ImDrawListPtr _206D_200E_206F_202B_202E_200F_200D_200D_206A_200D_202D_202A_200B_206A_200B_200E_206B_206B_200B_202C_202E_206C_200C_206C_206A_206A_202D_200D_206B_206E_202A_200E_202B_200F_206F_206E_206E_202E_202B_202C_202E() + { + return ImGui.GetWindowDrawList(); + } + + static Vector2 _202B_200C_206F_200D_200D_206D_200C_202D_206B_202B_206B_206C_200C_200D_200F_200F_200D_202C_200C_206F_206B_202D_202B_202C_206C_200E_202E_206C_200F_206E_206E_206D_206B_206B_202B_200F_200C_206A_202D_200C_202E() + { + return ImGui.GetWindowPos(); + } + + static Vector2 _206A_202C_202A_200D_206B_202E_206C_206C_206B_200B_206A_206C_206A_200C_206B_206A_206E_206B_200E_206A_202C_202B_202A_202C_206A_200E_202B_200C_202E_202C_206E_206C_200E_206D_206B_200D_206E_206A_202E_202A_202E() + { + return ImGui.GetWindowSize(); + } + + static uint _200E_202D_206A_206A_206A_202D_202A_200C_202E_202E_202C_202C_206D_202C_206E_206C_202C_206D_206D_206E_202D_202D_206D_202A_202D_200D_200F_202E_200C_200F_202B_200D_202C_202D_206A_202B_202E_202A_202D_200D_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + void _202E_202E_200F_206C_200E_206F_200B_206C_200C_202C_202B_206B_202D_202D_206E_206D_202B_206A_202B_206D_202A_200D_200D_206B_200F_200F_202B_202C_206E_200D_200F_206F_206E_206A_202D_200E_202D_202E_200D_200E_202E() + { + base.OnOpen(); + } + + void _206A_202A_200F_206C_206F_206C_206B_202E_200B_206D_206D_206D_202D_200E_206D_200F_200C_202E_206F_206F_200E_202A_202E_200F_200D_202A_202D_200B_200C_206E_202C_202A_206F_206E_202D_200C_200E_206A_200B_200F_202E() + { + base.OnClose(); + } + + static ImGuiIOPtr _202C_202E_202B_200D_202B_206C_200D_202C_200C_206A_202C_200E_202E_202D_200F_206F_200C_202D_206F_206D_200D_202C_206F_206B_206F_206A_206B_202C_202B_200F_206C_200C_206B_202A_206F_202C_200D_206E_200B_200C_202E() + { + return ImGui.GetIO(); + } + + static float _202A_206F_206A_202D_206E_200C_202C_202B_202E_206A_206E_206E_206C_202E_200D_200C_202B_200C_200D_200F_202E_206A_206E_202B_200D_206F_202B_202B_202C_202B_206B_200F_200B_202D_206F_200E_202E_202A_206B_206F_202E() + { + return ImGui.GetFrameHeightWithSpacing(); + } + + static ImGuiStylePtr _202D_202C_202D_200E_202D_202E_202E_200F_202E_206C_202E_200E_200D_200C_206F_200C_202C_200B_202E_206B_200D_206E_202B_200C_200B_206B_202B_206C_206C_200C_206B_206E_202D_200E_200D_206B_202A_202D_202E_202E() + { + return ImGui.GetStyle(); + } + + static ImRaii.ChildDisposable _206E_206E_200F_200D_206D_206A_206C_202C_202B_200E_200E_206E_206C_206B_206C_202E_206A_206E_202B_200B_202B_200D_206A_206A_206B_206F_202C_206B_200B_206E_200F_202D_206F_206D_200E_200E_202E_206F_206E_206D_202E(ImU8String P_0, Vector2 P_1, bool P_2, ImGuiWindowFlags P_3) + { + return ImRaii.Child(P_0, P_1, P_2, P_3); + } + + static ImRaii.ChildDisposable _206E_200B_200C_200E_200D_206B_202D_206D_200E_202C_206A_200C_206C_206A_206F_206A_202A_206C_200F_206B_206F_202D_206D_202E_200D_206A_200B_206C_206C_200D_200C_200F_202C_202B_202A_200F_202E_206C_206C_202D_202E(ImU8String P_0, Vector2 P_1, bool P_2) + { + return ImRaii.Child(P_0, P_1, P_2); + } + + static float _206E_206B_206A_200F_206E_200F_206E_206E_206D_202E_206E_202A_206B_200D_202B_206D_202B_202C_200E_202D_200E_206E_206D_200C_206A_200F_200D_206F_200C_200B_202D_206C_202A_206C_206B_206D_202D_206A_200B_206A_202E() + { + return ImGui.GetCursorPosY(); + } + + static void _200B_202A_206E_206E_206E_202D_200F_206A_206F_206E_206F_206B_200F_206A_206F_206A_200C_200D_202D_206E_200D_200B_200F_206C_200C_200B_206C_202E_206D_200C_206F_202A_206F_206E_206E_206A_206C_200D_202A_206B_202E(float P_0) + { + ImGui.SetCursorPosY(P_0); + } + + static Vector2 _206C_200B_200C_200E_200E_200F_202B_202B_200D_206D_206B_200C_200F_202B_202C_206C_206A_202D_200E_206E_202D_200B_202E_206F_202C_206D_206A_200F_200E_206D_206E_206D_202B_200E_206D_206E_200C_202D_206D_202C_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static Vector2 _200E_200D_202D_206F_202B_202B_202C_202B_202B_202C_200D_200E_200D_200C_206B_202C_202C_206D_200B_206D_200B_200C_202A_202A_200F_200D_206D_202B_202C_206A_202A_206C_202A_200B_202C_206C_200C_202A_202D_206C_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static void _202E_202B_200E_202C_200E_202B_200E_202A_206A_202B_206E_206E_200F_206A_202B_200B_202B_206A_206A_202C_202D_202E_200D_202C_202C_200D_202E_206A_206B_202A_202C_206C_206B_200B_206F_206F_202B_200F_202B_206E_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); + } } diff --git a/Questionable/Questionable.Windows/ConfigWindow.cs b/Questionable/Questionable.Windows/ConfigWindow.cs index 1e094c19..4232ae56 100644 --- a/Questionable/Questionable.Windows/ConfigWindow.cs +++ b/Questionable/Questionable.Windows/ConfigWindow.cs @@ -1,6 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; +using Dalamud.Configuration; using Dalamud.Interface; +using Dalamud.Interface.Utility; using Dalamud.Interface.Utility.Raii; using Dalamud.Interface.Windowing; using Dalamud.Plugin; @@ -9,78 +15,177 @@ using Questionable.Windows.ConfigComponents; namespace Questionable.Windows; -internal sealed class ConfigWindow : LWindow, IPersistableWindowConfig +internal sealed class ConfigWindow : ThemedWindow, IPersistableWindowConfig { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + internal IEnumerable _003C_002Ecctor_003Eb__11_0(SidebarNav.Group g) + { + return g.Items; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal bool _003C_002Ecctor_003Eb__11_1(SidebarNav.Item i) + { + return _200C_206E_202B_206D_200C_202E_206F_206D_206A_202D_206A_206E_200E_206F_202A_200E_202A_206D_200B_206C_202C_206A_202A_202D_200D_206F_202C_200C_202D_200E_202C_206F_200C_206A_202A_202A_202C_202B_206B_202E_202E(i.Label, global::_003CModule_003E._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(-1362895392)); + } + + static bool _200C_206E_202B_206D_200C_202E_206F_206D_206A_202D_206A_206E_200E_206F_202A_200E_202A_206D_200B_206C_202C_206A_202A_202D_200D_206F_202C_200C_202D_200E_202C_206F_200C_206A_202A_202A_202C_202B_206B_202E_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + } + + private static readonly SidebarNav.Group[] NavGroups = new SidebarNav.Group[4] + { + new SidebarNav.Group(global::_003CModule_003E._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(-1422580524), new SidebarNav.Item[3] + { + new SidebarNav.Item(FontAwesomeIcon.Cog, global::_003CModule_003E._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(-481549718)), + new SidebarNav.Item(FontAwesomeIcon.BookOpen, global::_003CModule_003E._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(-1895196101)), + new SidebarNav.Item(FontAwesomeIcon.Route, global::_003CModule_003E._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(-1010966512)) + }), + new SidebarNav.Group(global::_003CModule_003E._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(2007815205), new SidebarNav.Item[2] + { + new SidebarNav.Item(FontAwesomeIcon.Users, global::_003CModule_003E._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(2085542564)), + new SidebarNav.Item(FontAwesomeIcon.FistRaised, global::_003CModule_003E._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(-131828231)) + }), + new SidebarNav.Group(global::_003CModule_003E._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(1779953204), new SidebarNav.Item[2] + { + new SidebarNav.Item(FontAwesomeIcon.StopCircle, global::_003CModule_003E._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(560121957)), + new SidebarNav.Item(FontAwesomeIcon.Ban, global::_003CModule_003E._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(1236596742)) + }), + new SidebarNav.Group(global::_003CModule_003E._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(1592827330), new SidebarNav.Item[3] + { + new SidebarNav.Item(FontAwesomeIcon.Plug, global::_003CModule_003E._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(-1534290435)), + new SidebarNav.Item(FontAwesomeIcon.Bell, global::_003CModule_003E._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(-245509244)), + new SidebarNav.Item(FontAwesomeIcon.Flask, global::_003CModule_003E._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(118104062)) + }) + }; + + private static readonly int DependenciesPageIndex = NavGroups.SelectMany((SidebarNav.Group g) => g.Items).ToList().FindIndex([MethodImpl(MethodImplOptions.NoInlining)] (SidebarNav.Item i) => _003C_003Ec._200C_206E_202B_206D_200C_202E_206F_206D_206A_202D_206A_206E_200E_206F_202A_200E_202A_206D_200B_206C_202C_206A_202A_202D_200D_206F_202C_200C_202D_200E_202C_206F_200C_206A_202A_202A_202C_202B_206B_202E_202E(i.Label, global::_003CModule_003E._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(-1362895392))); + 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) + [MethodImpl(MethodImplOptions.NoInlining)] + 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(global::_003CModule_003E._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(-1087761369)) { - _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 + _202B_206C_206E_202A_200F_206B_206A_200D_206B_202E_202B_202B_200C_200F_200B_202C_202B_206B_202C_202A_202A_202B_200B_200D_206C_202E_206D_206A_200F_202D_202C_200D_200B_202C_200C_206E_206A_202B_202E_202D_202E((Vector2?)new Vector2(760f, 620f)); + _202B_202E_206A_200B_200D_206E_206F_200E_206C_202A_202C_206F_202E_206F_202D_202B_206F_206C_200D_206D_202C_206E_206E_202A_200B_202E_202B_206F_200C_206C_202C_206B_206A_206F_206E_200F_202B_206A_202A_202E(ImGuiCond.FirstUseEver); + _200C_206E_200C_200D_200C_200E_202E_202D_200F_206B_200B_202A_200E_206E_206E_202A_200F_202D_200B_202E_206C_202A_200F_206B_206D_202A_200F_200B_202B_202C_200E_200C_202D_202C_200F_202E_202B_206E_202A_200E_202E((WindowSizeConstraints?)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; + }; } + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawContent() { - using ImRaii.TabBarDisposable tabBarDisposable = ImRaii.TabBar("QuestionableConfigTabs"); - if (!(!tabBarDisposable)) + _selectedTab = SidebarNav.Draw(NavGroups, _selectedTab); + using ImRaii.ChildDisposable childDisposable = _200B_202B_200C_200D_202D_200C_202D_200E_200F_200C_202B_202E_202A_200E_206A_200D_200F_202B_206B_206D_206C_202D_206B_206A_202A_200B_200B_206C_206B_200F_202D_200E_202D_200F_200F_202A_206A_202C_202A_202B_202E((ImU8String)global::_003CModule_003E._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(-930802894), Vector2.Zero); + if (!(bool)childDisposable) { - _generalConfigComponent.DrawTab(); - _pluginConfigComponent.DrawTab(); - _dutyConfigComponent.DrawTab(); - _singlePlayerDutyConfigComponent.DrawTab(); - _stopConditionComponent.DrawTab(); - _blacklistConfigComponent.DrawTab(); - _notificationConfigComponent.DrawTab(); - _debugConfigComponent.DrawTab(); + return; + } + ImRaii.IndentDisposable indentDisposable = _206B_202A_200C_200D_206B_200F_206E_200B_202D_202E_202B_206F_200E_202E_202E_206B_200F_200C_200E_202C_202D_206E_200B_200B_206F_206A_206B_200D_206F_200F_206C_200B_200B_202E_206C_200F_202E_200D_206A_206A_202E(8f * _206D_206A_202B_206C_206E_206D_200B_206A_206A_206F_206D_200E_200F_206E_202B_202A_200D_202C_206A_206F_202D_206C_200B_202C_202A_200D_206D_202B_202D_202A_202D_200D_200C_206E_202C_200E_200C_202D_206B_206B_202E(), true, true); + try + { + _pages[_selectedTab].DrawTab(); + } + finally + { + int num = ((indentDisposable == null) ? 1030093323 : 1030093320); + while (true) + { + int num2 = num; + int num3 = 1030093321; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1030093320; + break; + case 2: + goto end_IL_0086; + case 1: + _202C_200E_200E_202C_202B_202D_206A_200E_202B_202E_202C_202B_202E_202C_202E_206B_206E_206B_206A_202D_206B_206D_202A_206D_200C_202C_206E_202D_202D_206A_206A_206B_202C_202A_202A_206A_206D_202D_206C_202D_202E((IDisposable)indentDisposable); + num = 1030093323; + break; + } + continue; + end_IL_0086: + break; + } } } public void SaveWindowConfig() { - _pluginInterface.SavePluginConfig(_configuration); + _206A_202C_202E_206B_202B_200D_202C_200F_206C_200D_206C_206E_206D_206B_202C_200D_200D_202B_202E_200C_200D_202C_202B_206D_200F_200D_206D_200B_200B_202A_206A_202B_202A_202D_206A_202D_200F_206F_206F_202A_202E(_pluginInterface, (IPluginConfiguration)_configuration); + } + + void IPersistableWindowConfig.SaveWindowConfig() + { + //ILSpy generated this explicit interface implementation from .override directive in SaveWindowConfig + this.SaveWindowConfig(); + } + + void _202B_206C_206E_202A_200F_206B_206A_200D_206B_202E_202B_202B_200C_200F_200B_202C_202B_206B_202C_202A_202A_202B_200B_200D_206C_202E_206D_206A_200F_202D_202C_200D_200B_202C_200C_206E_206A_202B_202E_202D_202E(Vector2? P_0) + { + base.Size = P_0; + } + + void _202B_202E_206A_200B_200D_206E_206F_200E_206C_202A_202C_206F_202E_206F_202D_202B_206F_206C_200D_206D_202C_206E_206E_202A_200B_202E_202B_206F_200C_206C_202C_206B_206A_206F_206E_200F_202B_206A_202A_202E(ImGuiCond P_0) + { + base.SizeCondition = P_0; + } + + void _200C_206E_200C_200D_200C_200E_202E_202D_200F_206B_200B_202A_200E_206E_206E_202A_200F_202D_200B_202E_206C_202A_200F_206B_206D_202A_200F_200B_202B_202C_200E_200C_202D_202C_200F_202E_202B_206E_202A_200E_202E(WindowSizeConstraints? P_0) + { + base.SizeConstraints = P_0; + } + + static ImRaii.ChildDisposable _200B_202B_200C_200D_202D_200C_202D_200E_200F_200C_202B_202E_202A_200E_206A_200D_200F_202B_206B_206D_206C_202D_206B_206A_202A_200B_200B_206C_206B_200F_202D_200E_202D_200F_200F_202A_206A_202C_202A_202B_202E(ImU8String P_0, Vector2 P_1) + { + return ImRaii.Child(P_0, P_1); + } + + static float _206D_206A_202B_206C_206E_206D_200B_206A_206A_206F_206D_200E_200F_206E_202B_202A_200D_202C_206A_206F_202D_206C_200B_202C_202A_200D_206D_202B_202D_202A_202D_200D_200C_206E_202C_200E_200C_202D_206B_206B_202E() + { + return ImGuiHelpers.GlobalScale; + } + + static ImRaii.IndentDisposable _206B_202A_200C_200D_206B_200F_206E_200B_202D_202E_202B_206F_200E_202E_202E_206B_200F_200C_200E_202C_202D_206E_200B_200B_206F_206A_206B_200D_206F_200F_206C_200B_200B_202E_206C_200F_202E_200D_206A_206A_202E(float P_0, bool P_1, bool P_2) + { + return ImRaii.PushIndent(P_0, P_1, P_2); + } + + static void _202C_200E_200E_202C_202B_202D_206A_200E_202B_202E_202C_202B_202E_202C_202E_206B_206E_206B_206A_202D_206B_206D_202A_206D_200C_202C_206E_202D_202D_206A_206A_206B_202C_202A_202A_206A_206D_202D_206C_202D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _206A_202C_202E_206B_202B_200D_202C_200F_206C_200D_206C_206E_206D_206B_202C_200D_200D_202B_202E_200C_200D_202C_202B_206D_200F_200D_206D_200B_200B_202A_206A_202B_202A_202D_206A_202D_200F_206F_206F_202A_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); } } diff --git a/Questionable/Questionable.Windows/FateSelectionWindow.cs b/Questionable/Questionable.Windows/FateSelectionWindow.cs index f8ea0c5d..60062dc8 100644 --- a/Questionable/Questionable.Windows/FateSelectionWindow.cs +++ b/Questionable/Questionable.Windows/FateSelectionWindow.cs @@ -6,28 +6,118 @@ 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 { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__16_1; + + public static Func _003C_003E9__16_2; + + public static Func _003C_003E9__16_3; + + internal int _003CDrawFateTable_003Eb__16_1(FateDefinition f) + { + DateTime? dateTime = _206C_200C_206E_206A_200E_206B_200B_206B_202B_202C_206F_206D_200D_200B_200F_202B_202B_202D_202A_202D_206A_202D_202A_200D_206F_202B_200D_200F_206B_200C_206A_206F_206C_202D_206D_200D_200E_206C_206D_200F_202E(f); + int num = ((!dateTime.HasValue) ? 932406398 : 932406397); + while (true) + { + int num2 = num; + int num3 = 932406396; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return 0; + case 1: + { + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + num = ((!(EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow > TimeSpan.Zero)) ? 932406398 : 932406399); + break; + } + case 0: + num = 932406397; + break; + case 2: + return 1; + } + } + } + + internal double _003CDrawFateTable_003Eb__16_2(FateDefinition f) + { + DateTime? dateTime = _206C_200C_206E_206A_200E_206B_200B_206B_202B_202C_206F_206D_200D_200B_200F_202B_202B_202D_202A_202D_206A_202D_202A_200D_206F_202B_200D_200F_206B_200C_206A_206F_206C_202D_206D_200D_200E_206C_206D_200F_202E(f); + int num = ((!dateTime.HasValue) ? 100735117 : 100735116); + TimeSpan timeSpan = default(TimeSpan); + while (true) + { + int num2 = num; + int num3 = 100735117; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return double.MaxValue; + case 1: + { + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; + num = ((!(timeSpan > TimeSpan.Zero)) ? 100735117 : 100735119); + break; + } + case 3: + num = 100735116; + break; + case 2: + return timeSpan.TotalSeconds; + } + } + } + + internal string _003CDrawFateTable_003Eb__16_3(FateDefinition f) + { + return _202A_200E_206A_200F_200C_206C_202E_202D_202A_202D_200E_206F_202D_200F_206C_206B_206C_202E_200D_202D_202B_200D_202D_206C_200E_200D_202B_202B_202D_202E_200F_206A_202E_206C_206A_206A_202C_206F_202A_206F_202E(f); + } + + static DateTime? _206C_200C_206E_206A_200E_206B_200B_206B_202B_202C_206F_206D_200D_200B_200F_202B_202B_202D_202A_202D_206A_202D_202A_200D_206F_202B_200D_200F_206B_200C_206A_206F_206C_202D_206D_200D_200E_206C_206D_200F_202E(FateDefinition P_0) + { + return P_0.EventExpiry; + } + + static string _202A_200E_206A_200F_200C_206C_202E_202D_202A_202D_200E_206F_202D_200F_206C_206B_206C_202E_200D_202D_202B_200D_202D_206C_200E_200D_202B_202B_202D_202E_200F_206A_202E_206C_206A_206A_202C_206F_202A_206F_202E(FateDefinition P_0) + { + return P_0.Name; + } + } + private readonly FateController _fateController; private readonly FateDefinitionRegistry _fateDefinitionRegistry; 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,406 +128,1289 @@ internal sealed class FateSelectionWindow : LWindow private int _cycleLimit; - public FateSelectionWindow(FateController fateController, FateDefinitionRegistry fateDefinitionRegistry, QuestController questController, MovementController movementController, QuestFunctions questFunctions, QuestData questData, TerritoryData territoryData) - : base("FATE Farming###QuestionableFateFarming") + private string _searchText = string.Empty; + + [MethodImpl(MethodImplOptions.NoInlining)] + public FateSelectionWindow(FateController fateController, FateDefinitionRegistry fateDefinitionRegistry, QuestController questController, SeasonalDutyController seasonalDutyController, CustomDeliveryController customDeliveryController, AttunementController attunementController, MovementController movementController, QuestFunctions questFunctions, QuestData questData, TerritoryData territoryData) + : base(global::_003CModule_003E._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(-2131126948)) { _fateController = fateController; _fateDefinitionRegistry = fateDefinitionRegistry; _questController = questController; + _seasonalDutyController = seasonalDutyController; + _customDeliveryController = customDeliveryController; + _attunementController = attunementController; _movementController = movementController; _questFunctions = questFunctions; _questData = questData; _territoryData = territoryData; - base.Size = new Vector2(600f, 400f); - base.SizeCondition = ImGuiCond.FirstUseEver; - base.SizeConstraints = new WindowSizeConstraints + _206E_200E_206E_206F_202B_200D_200C_202A_200B_200E_202C_206A_200C_202B_202E_200C_200D_206D_200C_200C_206E_206E_202C_206B_200C_206E_206E_206E_202D_200E_206A_206B_200B_206A_200D_200F_202A_206D_206D_202D_202E((Vector2?)new Vector2(600f, 400f)); + _200B_200B_202A_206E_206D_206C_206B_206A_206D_200E_206A_206A_206E_200D_200F_206E_206F_202C_206B_202A_200D_206B_200E_202C_206D_206C_206A_202E_206F_202B_206C_206E_200F_202D_202B_202D_200D_206E_206F_202E_202E(ImGuiCond.FirstUseEver); + _206B_200C_202A_206F_200B_202B_206C_202A_200B_200F_200D_202B_200D_206A_206A_200F_206E_202D_206D_206B_202C_200E_206C_206C_202A_206D_206F_200C_202A_202D_206C_206E_206D_206D_206D_206A_206C_202D_206D_202D_202E((WindowSizeConstraints?)new WindowSizeConstraints { MinimumSize = new Vector2(500f, 300f), MaximumSize = new Vector2(900f, 700f) - }; + }); } + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawContent() { - if (_fateController.IsRunning) + int num = ((!_fateController.IsRunning) ? (-133961469) : (-133961471)); + while (true) { - DrawRunningHeader(); - } - else - { - DrawControlsStrip(); - } - if (_fateDefinitionRegistry.Definitions.Count == 0) - { - DrawEmptyState(); - } - else - { - DrawFateTable(); + int num2 = num; + int num3 = -133961470; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + UiThemeUtils.SectionSpacing(); + var (contentStartPos2, availableWidth2, drawList2) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(68747211)); + UiThemeUtils.SearchInput(global::_003CModule_003E._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(-45767151), ref _searchText, -13f, global::_003CModule_003E._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(-297836706)); + _206A_200F_202D_200E_206F_206B_206A_206C_206D_206B_206B_202D_206C_206B_202A_206C_202A_200F_206A_202E_200D_206E_202E_202C_206F_202C_200B_202D_206F_206A_206F_202A_202D_200B_206B_206C_200F_202E_202E_206F_202E(); + DrawFateTable(); + UiThemeUtils.EndCard(contentStartPos2, availableWidth2, drawList2); + return; + case 0: + num = ((_fateDefinitionRegistry.Definitions.Count != 0) ? (-133961466) : (-133961468)); + break; + case 5: + num = -133961471; + break; + case 2: + _fateController.Stop(global::_003CModule_003E._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(94338279)); + _movementController.Stop(); + num = -133961470; + break; + case 3: + num = ((!CycleSelectionUi.DrawRunningBanner(BuildRunningStatusText(), UiThemeUtils.StatusActive, FontAwesomeIcon.Play)) ? (-133961470) : (-133961472)); + break; + case 1: + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(1849900151)); + DrawControlsStrip(); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + num = -133961470; + break; + case 6: + UiThemeUtils.EmptyState(FontAwesomeIcon.Star, global::_003CModule_003E._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(1036143635), global::_003CModule_003E._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(1493669563)); + return; + } } } - private void DrawRunningHeader() + [MethodImpl(MethodImplOptions.NoInlining)] + 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)) + int num = (_fateController.CycleLimit.HasValue ? (-1679037885) : (-1679037886)); + string value = default(string); + string value2 = default(string); + string value3 = default(string); + string text3 = default(string); + IList remainingTaskNames = default(IList); + while (true) { - 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))) + int num2 = num; + int num3 = -1679037887; + int num4 = num2; + string text; + string text2; + switch ((num4 | num3) - (num4 & num3)) { - using (ImRaii.PushColor(ImGuiCol.ButtonActive, new Vector4(0.9f, 0.2f, 0.2f, 0.6f))) + default: + continue; + case 6: + text = global::_003CModule_003E._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(1281927779); + break; + case 0: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(10, 3); + defaultInterpolatedStringHandler4.AppendFormatted(value); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(-930966885)); + defaultInterpolatedStringHandler4.AppendFormatted(value2); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(-2010167156)); + defaultInterpolatedStringHandler4.AppendFormatted(value3); + return defaultInterpolatedStringHandler4.ToStringAndClear(); + } + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(9, 2); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(1757472156)); + defaultInterpolatedStringHandler3.AppendFormatted(_fateController.CompletedCycles + 1); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(1534070043)); + defaultInterpolatedStringHandler3.AppendFormatted(_fateController.CycleLimit); + text2 = defaultInterpolatedStringHandler3.ToStringAndClear(); + goto IL_012e; + } + case 4: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(15, 4); + defaultInterpolatedStringHandler2.AppendFormatted(value); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(643493573)); + defaultInterpolatedStringHandler2.AppendFormatted(value2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1090853622)); + defaultInterpolatedStringHandler2.AppendFormatted(value3); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-2010167156)); + defaultInterpolatedStringHandler2.AppendFormatted(text3); + return defaultInterpolatedStringHandler2.ToStringAndClear(); + } + case 5: + num = -1679037886; + continue; + case 3: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1745458759)); + defaultInterpolatedStringHandler.AppendFormatted(_fateController.CompletedCycles + 1); + text2 = defaultInterpolatedStringHandler.ToStringAndClear(); + goto IL_012e; + } + case 1: { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Stop)) + text = remainingTaskNames[0]; + break; + } + IL_012e: + value2 = text2; + value3 = FormatElapsed(_fateController.ElapsedTime); + remainingTaskNames = _fateController.GetRemainingTaskNames(); + num = ((remainingTaskNames.Count > 0) ? (-1679037888) : (-1679037881)); + continue; + } + text3 = text; + value = _202D_206E_200E_206A_200E_200E_200F_202E_206F_206F_206E_202B_200C_202E_200B_200C_200F_200B_202B_200C_206E_202B_206C_202A_206C_200C_200B_200D_202D_202D_202A_200E_206C_206A_206C_200F_206E_202A_206F_200D_202E(_fateController.CurrentFate); + num = ((_206F_206F_202C_202A_202B_206B_202E_202B_206B_200D_202E_202A_206E_206B_200F_200B_206F_206A_206B_206A_202B_206F_206E_206F_206F_200D_202A_200B_202D_200D_200D_200C_202A_206B_202B_200C_202D_200D_200F_202E_202E(text3) > 0) ? (-1679037883) : (-1679037887)); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawControlsStrip() + { + ImRaii.DisabledDisposable disabledDisposable = _206A_202E_202E_206F_206F_202D_206A_206A_206E_202D_200E_200B_206D_200D_200E_200C_202B_202A_202D_200F_206E_202E_202A_202C_200E_206D_200D_206F_202E_202E_202D_206B_206E_202A_200E_200B_206F_202A_200F_206E_202E(_fateController.IsRunning); + try + { + _206A_202A_206A_200E_206A_206A_202E_206D_200F_202A_202A_200D_206A_206C_202C_202D_202A_202E_202E_206A_200E_202A_200D_202C_200D_206F_200C_206D_206B_200F_202A_202B_206D_202E_202E_202E_206F_202D_200E_202A_202E(); + _200E_206B_206C_200E_202C_200B_206E_206A_202D_206B_206C_202B_202E_206B_202A_206F_200B_202E_206D_202D_206B_206C_202C_202A_202D_206D_206A_206F_200C_200B_206B_206D_200D_206E_206A_200E_202B_202C_200C_200F_202E((ImU8String)global::_003CModule_003E._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(-1752848309)); + _200C_200C_202C_206C_200E_202E_202D_200F_206E_200D_200C_200C_200B_206F_206C_202E_200E_202D_200F_202C_202D_202A_202D_206F_200D_200E_202B_206C_206D_200D_202E_200D_200D_206B_202A_206D_200C_206F_200B_206D_202E(); + _206B_200B_202C_202D_202A_206C_200E_202D_200E_200F_202C_202C_202B_206D_202E_200F_202C_206B_202C_200B_202D_202D_206E_206C_200C_206E_200E_202B_200C_200E_206B_202A_200C_200F_202A_200F_206F_200F_200D_206F_202E(100f * _202E_202E_206A_202D_202D_200B_200E_202A_206D_200C_206F_200F_200B_206A_202A_200D_206F_206E_206C_202D_200E_206B_202A_200F_206A_206E_200E_202B_200E_206F_206A_200E_200B_206D_206B_206E_206E_202E_202D_202D_202E().FontGlobalScale); + _206B_200C_206B_200C_200D_200F_200F_202C_200C_200B_206A_206C_200C_202A_200E_202E_200F_202B_202C_200C_202E_200C_200B_200F_206B_206D_202A_206F_200D_200D_200B_200D_202B_202A_202E_200B_202C_200B_200F_202B_202E((ImU8String)global::_003CModule_003E._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(2080322340), ref _cycleLimit, 1, 5, default(ImU8String), ImGuiInputTextFlags.None); + int num = ((_cycleLimit >= 0) ? (-1704422761) : (-1704422764)); + while (true) + { + int num2 = num; + int num3 = -1704422762; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1704422764; + break; + case 2: + _cycleLimit = 0; + num = -1704422761; + break; + case 1: + _200C_200C_202C_206C_200E_202E_202D_200F_206E_200D_200C_200C_200B_206F_206C_202E_200E_202D_200F_202C_202D_202A_202D_206F_200D_200E_202B_206C_206D_200D_202E_200D_200D_206B_202A_206D_200C_206F_200B_206D_202E(); + _202B_206D_206C_202E_202A_200C_206D_206B_202C_202D_206C_200D_206C_202E_202E_206C_200B_202C_202D_200B_200E_200E_200F_206D_202E_200B_206C_206A_206A_202B_200B_206F_206D_200C_202A_202D_206E_202A_202E_206B_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)((_cycleLimit == 0) ? global::_003CModule_003E._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(-247082897) : global::_003CModule_003E._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(-1694032531))); + goto end_IL_0091; + } + continue; + end_IL_0091: + break; + } + } + finally + { + int num = ((disabledDisposable == null) ? (-1621741864) : (-1621741863)); + while (true) + { + int num5 = num; + int num3 = -1621741864; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_0132; + case 1: + _202A_206A_202E_206E_200E_202D_202E_200B_202E_200F_206C_206C_200F_206F_200C_206C_206F_202A_200B_206F_200C_200E_200F_200D_206D_202B_206B_206E_206F_206F_200E_200E_200D_202E_202C_200C_206A_206F_206D_206F_202E((IDisposable)disabledDisposable); + num = -1621741864; + break; + case 2: + num = -1621741863; + break; + } + continue; + end_IL_0132: + break; + } + } + _206A_200F_202D_200E_206F_206B_206A_206C_206D_206B_206B_202D_206C_206B_202A_206C_202A_200F_206A_202E_200D_206E_202E_202C_206F_202C_200B_202D_206F_206A_206F_202A_202D_200B_206B_206C_200F_202E_202E_206F_202E(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawFateTable() + { + IEnumerable source = _fateDefinitionRegistry.Definitions.Values; + int num = (_200D_206A_206E_206F_206C_200B_200B_200E_202E_200E_206E_200D_206B_206E_206A_202C_200E_200E_200E_202A_206A_202D_202B_206E_202C_200B_200E_202C_202C_206A_206C_200D_202C_202B_202B_206B_206F_206C_202B_206A_202E(_searchText) ? (-1655385262) : (-1655385263)); + List list = default(List); + FateDefinition current = default(FateDefinition); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = -1655385264; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -1655385263; + break; + case 2: + list = source.OrderBy(delegate(FateDefinition f) + { + DateTime? dateTime = _003C_003Ec._206C_200C_206E_206A_200E_206B_200B_206B_202B_202C_206F_206D_200D_200B_200F_202B_202B_202D_202A_202D_206A_202D_202A_200D_206F_202B_200D_200F_206B_200C_206A_206F_206C_202D_206D_200D_200E_206C_206D_200F_202E(f); + int num13 = ((!dateTime.HasValue) ? 932406398 : 932406397); + while (true) { - _fateController.Stop("UI stop"); - _movementController.Stop(); + int num14 = num13; + int num15 = 932406396; + int num16 = num14; + switch ((num16 | num15) - (num16 & num15)) + { + case 3: + return 0; + case 1: + { + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + num13 = ((!(EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow > TimeSpan.Zero)) ? 932406398 : 932406399); + break; + } + case 0: + num13 = 932406397; + break; + case 2: + return 1; + } + } + }).ThenBy(delegate(FateDefinition f) + { + DateTime? dateTime = _003C_003Ec._206C_200C_206E_206A_200E_206B_200B_206B_202B_202C_206F_206D_200D_200B_200F_202B_202B_202D_202A_202D_206A_202D_202A_200D_206F_202B_200D_200F_206B_200C_206A_206F_206C_202D_206D_200D_200E_206C_206D_200F_202E(f); + int num13 = ((!dateTime.HasValue) ? 100735117 : 100735116); + TimeSpan timeSpan = default(TimeSpan); + while (true) + { + int num14 = num13; + int num15 = 100735117; + int num16 = num14; + switch ((num16 | num15) - (num16 & num15)) + { + case 0: + return double.MaxValue; + case 1: + { + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; + num13 = ((!(timeSpan > TimeSpan.Zero)) ? 100735117 : 100735119); + break; + } + case 3: + num13 = 100735116; + break; + case 2: + return timeSpan.TotalSeconds; + } + } + }).ThenBy((FateDefinition f) => _003C_003Ec._202A_200E_206A_200F_200C_206C_202E_202D_202A_202D_200E_206F_202D_200F_206C_206B_206C_202E_200D_202D_202B_200D_202D_206C_200E_200D_202B_202B_202D_202E_200F_206A_202E_206C_206A_206A_202C_206F_202A_206F_202E(f), _206C_206E_200F_200B_200D_200D_202B_200C_202A_200D_200B_206F_202A_202C_206D_206B_200D_200C_202D_206C_200D_200E_202E_200F_202D_200F_202D_200B_202D_200C_202D_206E_206F_200B_206E_200F_202B_206A_202E_200C_202E()) + .ToList(); + num = ((list.Count != 0) ? (-1655385264) : (-1655385260)); + break; + case 1: + source = source.Where(delegate(FateDefinition f) + { + int num13 = (_202B_206D_206F_202B_200E_206D_202B_200E_202D_202E_206A_202B_206E_200F_202C_206A_202E_202C_206E_200D_206D_202E_200E_202E_206B_202E_206C_200C_206E_202E_200F_206A_202C_202D_200E_202D_202E_200B_200C_202C_202E(_202D_206E_200E_206A_200E_200E_200F_202E_206F_206F_206E_202B_200C_202E_200B_200C_200F_200B_202B_200C_206E_202B_206C_202A_206C_200C_200B_200D_202D_202D_202A_200E_206C_206A_206C_200F_206E_202A_206F_200D_202E(f), _searchText, StringComparison.OrdinalIgnoreCase) ? (-321936680) : (-321936677)); + while (true) + { + int num14 = num13; + int num15 = -321936679; + int num16 = num14; + int num17 = num16 + num15; + int num18 = num16 & num15; + switch (num17 - (num18 + num18)) + { + case 1: + return true; + case 2: + return _202B_206D_206F_202B_200E_206D_202B_200E_202D_202E_206A_202B_206E_200F_202C_206A_202E_202C_206E_200D_206D_202E_200E_202E_206B_202E_206C_200C_206E_202E_200F_206A_202C_202D_200E_202D_202E_200B_200C_202C_202E(_territoryData.GetName(_202D_200E_206C_206C_202D_200E_202D_206A_202D_202A_200B_206C_202E_206A_202D_202C_202E_200E_206D_200F_202D_202A_202C_202D_202A_202C_206D_206F_202C_200F_200B_206B_206A_200E_202B_206C_206D_202A_200E_200D_202E(f)) ?? _200D_206D_202B_206A_200B_202C_202E_206A_200D_202A_200C_206C_202B_200C_206C_200C_200F_206F_202A_206B_202B_200B_202D_200B_202E_202D_200D_200D_202E_202B_206D_200D_202A_202E_202E_202D_206C_202B_206A_202B_202E(f), _searchText, StringComparison.OrdinalIgnoreCase); + case 0: + goto IL_0081; + } + continue; + IL_0081: + num13 = -321936677; + } + }); + num = -1655385262; + break; + case 4: + UiThemeUtils.EmptyState(FontAwesomeIcon.Search, global::_003CModule_003E._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(1755383346)); + return; + case 0: + { + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(-1422744515), 4, ImGuiTableFlags.SizingStretchProp | ImGuiTableFlags.ScrollY); + num = ((!(!tableDisposable)) ? (-2021256277) : (-2021256280)); + while (true) + { + int num5 = num; + num3 = -2021256278; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + goto IL_01b9; + case 2: + return; + case 1: + { + _200C_206D_202C_206E_206E_202D_206D_200C_206A_200D_200C_202E_202D_202B_206C_202C_200C_202C_206D_202E_206C_206D_206B_200E_206E_200F_206E_200C_202B_200F_200F_200E_206F_206D_202D_202D_206B_202B_206E_206F_202E((ImU8String)global::_003CModule_003E._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(261089734), ImGuiTableColumnFlags.None, 3f, 0u); + _200C_206D_202C_206E_206E_202D_206D_200C_206A_200D_200C_202E_202D_202B_206C_202C_200C_202C_206D_202E_206C_206D_206B_200E_206E_200F_206E_200C_202B_200F_200F_200E_206F_206D_202D_202D_206B_202B_206E_206F_202E((ImU8String)global::_003CModule_003E._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(-1292973020), ImGuiTableColumnFlags.None, 2f, 0u); + _200C_206D_202C_206E_206E_202D_206D_200C_206A_200D_200C_202E_202D_202B_206C_202C_200C_202C_206D_202E_206C_206D_206B_200E_206E_200F_206E_200C_202B_200F_200F_200E_206F_206D_202D_202D_206B_202B_206E_206F_202E((ImU8String)global::_003CModule_003E._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(1413203702), ImGuiTableColumnFlags.WidthFixed, 80f, 0u); + _200C_206D_202C_206E_206E_202D_206D_200C_206A_200D_200C_202E_202D_202B_206C_202C_200C_202C_206D_202E_206C_206D_206B_200E_206E_200F_206E_200C_202B_200F_200F_200E_206F_206D_202D_202D_206B_202B_206E_206F_202E((ImU8String)global::_003CModule_003E._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(1256796982), ImGuiTableColumnFlags.WidthFixed, 30f, 0u); + _200C_200D_200F_200C_202C_200C_202C_206B_206B_202C_200E_200F_202B_202D_202D_202D_200F_200D_206B_202A_206B_206F_202D_200D_202A_202A_202D_202B_206D_206B_206F_206A_200F_200D_200B_206C_206F_202B_206D_202E(); + using List.Enumerator enumerator = list.GetEnumerator(); + num = 1558461600; + while (true) + { + int num8 = num; + num3 = 1558461612; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + int num11; + int num12; + bool disabled; + switch (num9 - (num10 + num10)) + { + case 6: + _202B_206E_202C_202C_206F_200F_200B_206A_206F_200F_200B_206B_206E_200D_206B_200D_202E_200B_206F_200D_200C_200C_206F_202B_200E_200B_206F_206B_202B_202E_206E_202D_206F_202D_202D_206A_202E_202C_206F_202B_202E(ImGuiTableBgTarget.RowBg0, _200B_202D_206E_200E_206C_202B_202C_206E_206A_200B_200F_206E_200D_206D_206C_206B_206F_202C_202E_200F_202B_206C_206C_206B_206C_200F_206C_206F_202B_206E_200C_206E_202D_202D_200C_206E_206D_206E_200C_200F_202E(UiThemeUtils.AccentDimColor)); + num = 1558461614; + break; + case 5: + num11 = ((_fateController.CurrentFate == current) ? 1 : 0); + goto IL_045a; + case 8: + current = enumerator.Current; + _206A_200F_206F_206D_202A_202D_202D_200E_202D_200D_206A_206E_206B_206C_202D_200F_202C_202D_206E_200D_202B_206C_206D_200C_206B_200E_206A_206F_206F_206E_202D_200D_202A_200C_206A_200C_202A_206B_206D_202C_202E(); + num = ((!_fateController.IsRunning) ? 1558461606 : 1558461609); + break; + case 11: + num12 = 1; + goto IL_0323; + case 9: + num12 = ((_questController.AutomationType != QuestController.EAutomationType.Manual) ? 1 : 0); + goto IL_0323; + case 4: + num = (_attunementController.IsRunning ? 1558461607 : 1558461605); + break; + case 2: + _202D_202B_202D_200D_206A_206F_206E_202C_206F_200D_200B_202C_200E_200E_200B_200C_206F_200D_200B_200D_202C_202A_202B_202B_202D_202E_202B_206C_206E_202A_200D_206C_202C_202A_200E_206D_206C_200B_206E_202A_202E(); + DrawFateRowName(current, flag); + _202D_202B_202D_200D_206A_206F_206E_202C_206F_200D_200B_202C_200E_200E_200B_200C_206F_200D_200B_200D_202C_202A_202B_202B_202D_202E_202B_206C_206E_202A_200D_206C_202C_202A_200E_206D_206C_200B_206E_202A_202E(); + _200E_206B_206C_200E_202C_200B_206E_206A_202D_206B_206C_202B_202E_206B_202A_206F_200B_202E_206D_202D_206B_206C_202C_202A_202D_206D_206A_206F_200C_200B_206B_206D_200D_206E_206A_200E_202B_202C_200C_200F_202E((ImU8String)(_territoryData.GetName(_202D_200E_206C_206C_202D_200E_202D_206A_202D_202A_200B_206C_202E_206A_202D_202C_202E_200E_206D_200F_202D_202A_202C_202D_202A_202C_206D_206F_202C_200F_200B_206B_206A_200E_202B_206C_206D_202A_200E_200D_202E(current)) ?? _200D_206D_202B_206A_200B_202C_202E_206A_200D_202A_200C_206C_202B_200C_206C_200C_200F_206F_202A_206B_202B_200B_202D_200B_202E_202D_200D_200D_202E_202B_206D_200D_202A_202E_202E_202D_206C_202B_206A_202B_202E(current))); + _202D_202B_202D_200D_206A_206F_206E_202C_206F_200D_200B_202C_200E_200E_200B_200C_206F_200D_200B_200D_202C_202A_202B_202B_202D_202E_202B_206C_206E_202A_200D_206C_202C_202A_200E_206D_206C_200B_206E_202A_202E(); + DrawFateRowExpiry(current); + _202D_202B_202D_200D_206A_206F_206E_202C_206F_200D_200B_202C_200E_200E_200B_200C_206F_200D_200B_200D_202C_202A_202B_202B_202D_202E_202B_206C_206E_202A_200D_206C_202C_202A_200E_206D_206C_200B_206E_202A_202E(); + num = (_fateController.IsRunning ? 1558461607 : 1558461613); + break; + case 1: + num = (_seasonalDutyController.IsRunning ? 1558461607 : 1558461612); + break; + case 0: + num = (_customDeliveryController.IsRunning ? 1558461607 : 1558461608); + break; + case 7: + num = 1558461600; + break; + case 10: + num11 = 0; + goto IL_045a; + case 12: + num = (enumerator.MoveNext() ? 1558461604 : 1558461615); + break; + case 3: + return; + IL_045a: + flag = (byte)num11 != 0; + num = ((!flag) ? 1558461614 : 1558461610); + break; + IL_0323: + disabled = (byte)num12 != 0; + DrawFateRowActions(current, disabled); + num = 1558461600; + break; + } + } + } + } + continue; + IL_01b9: + num = -2021256280; + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawFateRowName(FateDefinition fate, bool isActive) + { + int num = ((!isActive) ? 1248065180 : 1248065183); + DateTime? dateTime = default(DateTime?); + TimeSpan timeSpan = default(TimeSpan); + while (true) + { + int num2 = num; + int num3 = 1248065180; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 1248065183; + break; + case 1: + if (_200F_206A_202A_206A_206F_200B_202E_200F_206C_202E_202B_202B_202C_200B_206F_202B_200D_200C_202E_206C_206B_200B_200C_200E_206E_202B_206C_200C_200C_200B_206E_202B_202C_200D_206A_202E_206D_200E_202A_206E_202E()) + { + num = 1248065182; + break; + } + return; + case 3: + _202B_206D_206C_202E_202A_200C_206D_206B_202C_202D_206C_200D_206C_202E_202E_206C_200B_202C_202D_200B_200E_200E_200F_206D_202E_200B_206C_206A_206A_202B_200B_206F_206D_200C_202A_202D_206E_202A_202E_206B_202E(ref UiThemeUtils.AccentColor, (ImU8String)_202D_206E_200E_206A_200E_200E_200F_202E_206F_206F_206E_202B_200C_202E_200B_200C_200F_200B_202B_200C_206E_202B_206C_202A_206C_200C_200B_200D_202D_202D_202A_200E_206C_206A_206C_200F_206E_202A_206F_200D_202E(fate)); + num = 1248065181; + break; + case 0: + _200E_206B_206C_200E_202C_200B_206E_206A_202D_206B_206C_202B_202E_206B_202A_206F_200B_202E_206D_202D_206B_206C_202C_202A_202D_206D_206A_206F_200C_200B_206B_206D_200D_206E_206A_200E_202B_202C_200C_200F_202E((ImU8String)_202D_206E_200E_206A_200E_200E_200F_202E_206F_206F_206E_202B_200C_202E_200B_200C_200F_200B_202B_200C_206E_202B_206C_202A_206C_200C_200B_200D_202D_202D_202A_200E_206C_206A_206C_200F_206E_202A_206F_200D_202E(fate)); + num = 1248065181; + break; + case 2: + using (_202A_206F_202C_202A_202E_206B_206B_202B_202C_202E_206D_206E_200E_206C_202A_200B_206B_200F_200E_200B_200F_200B_200F_202A_206A_202A_202C_206C_206B_206D_206A_200F_200C_206D_206F_200C_202E_206F_206B_202D_202E()) + { + _202B_206D_206C_202E_202A_200C_206D_206B_202C_202D_206C_200D_206C_202E_202E_206C_200B_202C_202D_200B_200E_200E_200F_206D_202E_200B_206C_206A_206A_202B_200B_206F_206D_200C_202A_202D_206E_202A_202E_206B_202E(ref UiThemeUtils.PrimaryTextColor, (ImU8String)_202D_206E_200E_206A_200E_200E_200F_202E_206F_206F_206E_202B_200C_202E_200B_200C_200F_200B_202B_200C_206E_202B_206C_202A_206C_200C_200B_200D_202D_202D_202A_200E_206C_206A_206C_200F_206E_202A_206F_200D_202E(fate)); + _206F_200D_202E_202C_206D_206C_202A_206C_206F_206B_202B_200F_202B_200E_202A_202A_200E_200C_200B_202C_202E_202A_206A_206D_206B_206C_202E_206A_202A_206A_200E_206E_202C_206B_206F_200B_202D_206E_206B_206F_202E(); + _206C_206E_200B_202C_202A_206C_200D_206D_200D_202A_206B_200D_202D_200B_200F_200C_202B_206F_200D_200C_200F_206B_200D_206D_206D_200E_206F_202B_200C_200F_200E_206D_206C_202C_206B_200D_202E_202D_202B_202E(300f); + _200E_206B_206C_200E_202C_200B_206E_206A_202D_206B_206C_202B_202E_206B_202A_206F_200B_202E_206D_202D_206B_206C_202C_202A_202D_206D_206A_206F_200C_200B_206B_206D_200D_206E_206A_200E_202B_202C_200C_200F_202E((ImU8String)_200D_206D_202B_206A_200B_202C_202E_206A_200D_202A_200C_206C_202B_200C_206C_200C_200F_206F_202A_206B_202B_200B_202D_200B_202E_202D_200D_200D_202E_202B_206D_200D_202A_202E_202E_202D_206C_202B_206A_202B_202E(fate)); + _206C_206B_206E_202A_202D_206B_202D_206E_206A_206A_202A_206F_206B_206D_202D_206C_202B_206C_202B_200D_206D_200E_200F_206D_200C_200E_202A_202D_200F_206D_206F_202C_206B_200D_206B_202D_202C_200E_206B_202E(); + _206A_200F_202D_200E_206F_206B_206A_206C_206D_206B_206B_202D_206C_206B_202A_206C_202A_200F_206A_202E_200D_206E_202E_202C_206F_202C_200B_202D_206F_206A_206F_202A_202D_200B_206B_206C_200F_202E_202E_206F_202E(); + string nameAndId = _territoryData.GetNameAndId(_202D_200E_206C_206C_202D_200E_202D_206A_202D_202A_200B_206C_202E_206A_202D_202C_202E_200E_206D_200F_202D_202A_202C_202D_202A_202C_206D_206F_202C_200F_200B_206B_206A_200E_202B_206C_206D_202A_200E_200D_202E(fate)); + ImU8String imU8String = new ImU8String(6, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1613027570)); + imU8String.AppendFormatted(nameAndId); + _202B_206D_206C_202E_202A_200C_206D_206B_202C_202D_206C_200D_206C_202E_202E_206C_200B_202C_202D_200B_200E_200E_200F_206D_202E_200B_206C_206A_206A_202B_200B_206F_206D_200C_202A_202D_206E_202A_202E_206B_202E(ref UiThemeUtils.DimTextColor, imU8String); + ImU8String imU8String2 = new ImU8String(9, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(1396889891)); + imU8String2.AppendFormatted(_206E_202A_206C_202E_206E_202C_202E_206B_202D_206E_202C_206F_206D_200F_200F_202B_206A_202C_200C_202A_202B_206B_206B_200D_206E_206E_200E_200D_206E_202B_200F_200F_200F_200B_206F_206F_206D_202C_202C_202E_202E(fate).Count); + _202B_206D_206C_202E_202A_200C_206D_206B_202C_202D_206C_200D_206C_202E_202E_206C_200B_202C_202D_200B_200E_200E_200F_206D_202E_200B_206C_206A_206A_202B_200B_206F_206D_200C_202A_202D_206E_202A_202E_206B_202E(ref UiThemeUtils.DimTextColor, imU8String2); + num = ((!_200E_200C_206F_200C_200C_206E_200B_202D_202E_206A_206D_206B_206E_202C_202D_206F_202B_200E_206F_206B_206D_202B_202C_206A_200C_206D_200D_202C_202A_202A_206B_206D_202A_202D_206C_206C_202B_200F_206A_200C_202E(fate).HasValue) ? 470694466 : 470694471); + while (true) + { + int num5 = num; + num3 = 470694470; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + { + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; + num = ((!(timeSpan > TimeSpan.Zero)) ? 470694470 : 470694468); + break; + } + case 2: + { + string text = EventInfoComponent.FormatRemainingFull(timeSpan); + _202B_206D_206C_202E_202A_200C_206D_206B_202C_202D_206C_200D_206C_202E_202E_206C_200B_202C_202D_200B_200E_200E_200F_206D_202E_200B_206C_206A_206A_202B_200B_206F_206D_200C_202A_202D_206E_202A_202E_206B_202E(ref UiThemeUtils.StatusActive, (ImU8String)text); + num = 470694470; + break; + } + case 3: + num = 470694471; + break; + case 4: + dateTime = _206C_202E_200E_202A_202E_206E_206B_206F_200C_202B_200B_200B_200F_200B_206E_200C_206B_200C_200F_202E_202C_206E_202A_206E_206F_202D_206B_202B_206C_206F_202D_206B_206D_200B_200D_202D_200C_206E_206E_206A_202E(fate); + num = ((!dateTime.HasValue) ? 470694470 : 470694467); + break; + case 1: + _202B_206D_206C_202E_202A_200C_206D_206B_202C_202D_206C_200D_206C_202E_202E_206C_200B_202C_202D_200B_200E_200E_200F_206D_202E_200B_206C_206A_206A_202B_200B_206F_206D_200C_202A_202D_206E_202A_202E_206B_202E(ref UiThemeUtils.StatusActive, (ImU8String)global::_003CModule_003E._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(-1118395724)); + num = 470694466; + break; + case 0: + return; + } } } } } - 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() : ""); - 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); - } - 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(); - } - - private void DrawControlsStrip() - { - using (ImRaii.Disabled(_fateController.IsRunning)) - { - ImGui.AlignTextToFramePadding(); - ImGui.TextUnformatted("Cycles:"); - ImGui.SameLine(); - ImGui.SetNextItemWidth(100f); - ImGui.InputInt("##CycleLimit", ref _cycleLimit, 1, 5); - if (_cycleLimit < 0) - { - _cycleLimit = 0; - } - ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudGrey, (_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) - { - DateTime? eventExpiry = f.EventExpiry; - if (eventExpiry.HasValue) - { - DateTime valueOrDefault = eventExpiry.GetValueOrDefault(); - if (EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow > TimeSpan.Zero) - { - return 0; - } - } - return 1; - }).ThenBy(delegate(FateDefinition f) - { - DateTime? eventExpiry = f.EventExpiry; - if (eventExpiry.HasValue) - { - DateTime valueOrDefault = eventExpiry.GetValueOrDefault(); - TimeSpan timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; - if (timeSpan > TimeSpan.Zero) - { - return timeSpan.TotalSeconds; - } - } - 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 (!tableDisposable) - { - return; - } - ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.None, 3f); - ImGui.TableSetupColumn("Zone", ImGuiTableColumnFlags.None, 2f); - ImGui.TableSetupColumn("Expiry", ImGuiTableColumnFlags.WidthFixed, 80f); - ImGui.TableSetupColumn("##Actions", ImGuiTableColumnFlags.WidthFixed, 30f); - ImGui.TableHeadersRow(); - foreach (FateDefinition item in list) - { - ImGui.TableNextRow(); - 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.TableNextColumn(); - DrawFateRowName(item, flag); - ImGui.TableNextColumn(); - ImGui.TextUnformatted(_territoryData.GetName(item.TerritoryId) ?? item.Description); - ImGui.TableNextColumn(); - DrawFateRowExpiry(item); - ImGui.TableNextColumn(); - bool disabled = _fateController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual; - DrawFateRowActions(item, disabled); - } - } - - private void DrawFateRowName(FateDefinition fate, bool isActive) - { - 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); - } - else - { - ImGui.TextUnformatted(fate.Name); - } - if (!ImGui.IsItemHovered()) - { - return; - } - using (ImRaii.Tooltip()) - { - ImGui.TextColored(ImGuiColors.DalamudWhite, 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; - ImU8String text2 = new ImU8String(9, 1); - text2.AppendLiteral("Targets: "); - text2.AppendFormatted(fate.Targets.Count); - ImGui.TextColored(in col, text2); - if (fate.RequiredStatusId.HasValue) - { - ImGui.TextColored(ImGuiColors.DalamudYellow, "Requires transformation"); - } - DateTime? eventExpiry = fate.EventExpiry; - if (eventExpiry.HasValue) - { - DateTime valueOrDefault = eventExpiry.GetValueOrDefault(); - TimeSpan timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; - if (timeSpan > TimeSpan.Zero) - { - string text3 = EventInfoComponent.FormatRemainingFull(timeSpan); - ImGui.TextColored(ImGuiColors.DalamudOrange, text3); - } - } - } } + [MethodImpl(MethodImplOptions.NoInlining)] private static void DrawFateRowExpiry(FateDefinition fate) { - DateTime? eventExpiry = fate.EventExpiry; - if (eventExpiry.HasValue) + DateTime? dateTime = _206C_202E_200E_202A_202E_206E_206B_206F_200C_202B_200B_200B_200F_200B_206E_200C_206B_200C_200F_202E_202C_206E_202A_206E_206F_202D_206B_202B_206C_206F_202D_206B_206D_200B_200D_202D_200C_206E_206E_206A_202E(fate); + int num = ((!dateTime.HasValue) ? 57266910 : 57266911); + string text = default(string); + TimeSpan timeSpan = default(TimeSpan); + while (true) { - DateTime valueOrDefault = eventExpiry.GetValueOrDefault(); - TimeSpan timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; - if (timeSpan > TimeSpan.Zero) + int num2 = num; + int num3 = 57266909; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + Vector4 vector; + Vector4 vector2; + switch (num5 - (num6 + num6)) { - string text = EventInfoComponent.FormatRemainingDays(timeSpan); - ImGui.TextColored((timeSpan.TotalDays < 3.0) ? ImGuiColors.DalamudOrange : ImGuiColors.DalamudGrey, text); - } - else + case 6: + vector = UiThemeUtils.StatusActive; + goto IL_006e; + case 5: + text = EventInfoComponent.FormatRemainingDays(timeSpan); + num = ((timeSpan.TotalDays < 3.0) ? 57266907 : 57266905); + break; + case 4: + vector = UiThemeUtils.DimTextColor; + goto IL_006e; + case 2: { - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Expired"); + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; + num = ((!(timeSpan > TimeSpan.Zero)) ? 57266908 : 57266904); + break; + } + case 0: + num = 57266911; + break; + case 1: + _202B_206D_206C_202E_202A_200C_206D_206B_202C_202D_206C_200D_206C_202E_202E_206C_200B_202C_202D_200B_200E_200E_200F_206D_202E_200B_206C_206A_206A_202B_200B_206F_206D_200C_202A_202D_206E_202A_202E_206B_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(-892568127)); + return; + case 3: + { + _202B_206D_206C_202E_202A_200C_206D_206B_202C_202D_206C_200D_206C_202E_202E_206C_200B_202C_202D_200B_200E_200E_200F_206D_202E_200B_206C_206A_206A_202B_200B_206F_206D_200C_202A_202D_206E_202A_202E_206B_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(1737353930)); + return; + } + IL_006e: + vector2 = vector; + _202B_206D_206C_202E_202A_200C_206D_206B_202C_202D_206C_200D_206C_202E_202E_206C_200B_202C_202D_200B_200E_200E_200F_206D_202E_200B_206C_206A_206A_202B_200B_206F_206D_200C_202A_202D_206E_202A_202E_206B_202E(ref vector2, (ImU8String)text); + return; } - } - else - { - ImGui.TextColored(ImGuiColors.DalamudGrey3, "--"); } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawFateRowActions(FateDefinition fate, bool disabled) { - uint? num = fate.RequiredQuestId; - object obj; - if (num.HasValue) + ushort? num = _206F_202C_202D_202C_200E_206E_202A_200B_200E_202A_206C_200B_200E_206D_200B_206A_206B_206B_200E_206D_200B_200B_206C_200F_202A_202C_202E_200F_206C_206E_206D_200D_200F_206E_206D_200B_200F_202E_200D_206F_202E(fate); + int num2 = (num.HasValue ? (-70740329) : (-70740334)); + uint valueOrDefault = default(uint); + uint? num7 = default(uint?); + int num6; + QuestId questId = default(QuestId); + while (true) { - uint valueOrDefault = num.GetValueOrDefault(); - if (valueOrDefault <= 65535) + int num3 = num2; + int num4 = -70740329; + int num5 = num3; + object obj2; + uint? obj; + switch ((num5 | num4) - (num5 & num4)) { - obj = new QuestId((ushort)valueOrDefault); - goto IL_004d; + default: + continue; + case 7: + num2 = -70740334; + continue; + case 4: + obj2 = null; + goto IL_0091; + case 3: + obj2 = _206E_202E_206D_202B_200D_200D_202B_206D_202A_202A_200D_206C_206A_202D_200C_200D_200B_206C_202B_206B_206F_206A_202A_200B_200B_206C_206B_200D_206C_202C_202D_202B_206B_202C_206A_202E_206A_202D_200C_202E_202E((ushort)valueOrDefault); + goto IL_0091; + case 1: + valueOrDefault = num7.GetValueOrDefault(); + num2 = ((valueOrDefault <= 65535) ? (-70740332) : (-70740333)); + continue; + case 0: + obj = num.GetValueOrDefault(); + goto IL_00ed; + case 6: + num6 = ((!_questFunctions.IsQuestComplete(questId)) ? 1 : 0); + break; + case 5: + obj = null; + goto IL_00ed; + case 2: + { + num6 = 0; + break; + } + IL_00ed: + num7 = obj; + num2 = ((!num7.HasValue) ? (-70740333) : (-70740330)); + continue; + IL_0091: + questId = (QuestId)obj2; + num2 = ((!_202E_206F_202C_200C_202D_206C_206A_202B_202B_200F_206D_200C_206A_202D_202A_206C_206D_200F_206B_200D_206A_202E_206F_206B_202C_202B_202A_200B_200D_200E_200B_202E_200B_200E_200C_200F_202C_202C_206C_202C_202E((ElementId)questId, (ElementId)null)) ? (-70740331) : (-70740335)); + continue; } + break; } - 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); - using (ImRaii.PushId(id)) + bool flag = (byte)num6 != 0; + ImU8String imU8String = new ImU8String(5, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(314651123)); + imU8String.AppendFormatted(_202D_206E_200E_206A_200E_200E_200F_202E_206F_206F_206E_202B_200C_202E_200B_200C_200F_200B_202B_200C_206E_202B_206C_202A_206C_200C_200B_200D_202D_202D_202A_200E_206C_206A_206C_200F_206E_202A_206F_200D_202E(fate)); + ImRaii.IdDisposable idDisposable = _206C_202B_206D_202A_202C_206D_202A_206A_202C_206D_200B_206F_206F_200D_206E_200D_206B_206A_200B_206A_202D_202C_206A_200B_202A_206A_206B_202D_200E_206D_206A_200C_200F_200F_200D_200F_206C_200B_202A_206F_202E(imU8String, true); + try { if (flag) { - using (ImRaii.PushFont(UiBuilder.IconFont)) + ImRaii.FontDisposable fontDisposable = _206C_202D_202A_206B_200B_202B_206A_202D_200B_200E_206A_200D_200F_206C_200B_200B_206C_202C_202D_202E_206A_202A_206F_200C_202D_200B_202C_202B_202B_200C_206C_202E_202D_202B_206D_200F_202E_200C_202A_206D_202E(_200D_200F_206F_200C_200D_206D_206A_202E_200C_200D_200B_202E_206C_200C_206E_200C_200C_206E_206E_206F_206F_206A_200C_200C_200F_202A_206D_200D_200F_202D_200E_202B_202B_202E_206C_202C_202D_200F_202E_206F_202E(), true); + try { - ImGui.TextColored(ImGuiColors.DalamudRed, FontAwesomeIcon.Times.ToIconString()); + _202B_206D_206C_202E_202A_200C_206D_206B_202C_202D_206C_200D_206C_202E_202E_206C_200B_202C_202D_200B_200E_200E_200F_206D_202E_200B_206C_206A_206A_202B_200B_206F_206D_200C_202A_202D_206E_202A_202E_206B_202E(ref UiThemeUtils.StatusLocked, (ImU8String)_202D_200D_200C_200B_206D_206F_206A_206B_202B_202C_206E_206A_200F_206F_206B_200D_206B_200E_202A_200B_200F_200E_202A_200E_206F_206D_206B_200F_206E_206F_200F_202C_202A_202C_206A_202B_202D_200D_200E_202C_202E(FontAwesomeIcon.Times)); } - if (ImGui.IsItemHovered()) + finally { - IQuestInfo questInfo; - string value = (_questData.TryGetQuestInfo(questId, out questInfo) ? questInfo.Name : (num?.ToString(CultureInfo.InvariantCulture) ?? "Unknown")); - ImU8String tooltip = new ImU8String(33, 1); - tooltip.AppendLiteral("Requires \""); - tooltip.AppendFormatted(value); - tooltip.AppendLiteral("\" to be completed first"); - ImGui.SetTooltip(tooltip); + num2 = ((fontDisposable == null) ? 633269880 : 633269883); + while (true) + { + int num8 = num2; + int num4 = 633269881; + int num5 = num8; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + goto end_IL_01d0; + case 2: + _202A_206A_202E_206E_200E_202D_202E_200B_202E_200F_206C_206C_200F_206F_200C_206C_206F_202A_200B_206F_200C_200E_200F_200D_206D_202B_206B_206E_206F_206F_200E_200E_200D_202E_202C_200C_206A_206F_206D_206F_202E((IDisposable)fontDisposable); + num2 = 633269880; + break; + case 0: + num2 = 633269883; + break; + } + continue; + end_IL_01d0: + break; + } } + if (!_200F_206A_202A_206A_206F_200B_202E_200F_206C_202E_202B_202B_202C_200B_206F_202B_200D_200C_202E_206C_206B_200B_200C_200E_206E_202B_206C_200C_200C_200B_206E_202B_202C_200D_206A_202E_206D_200E_202A_206E_202E()) + { + return; + } + num2 = 46972295; + object obj3; + IQuestInfo questInfo = default(IQuestInfo); + while (true) + { + int num9 = num2; + int num4 = 46972290; + int num5 = num9; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 0: + num2 = 46972295; + continue; + case 2: + obj3 = null; + goto IL_029d; + case 4: + obj3 = num7.GetValueOrDefault().ToString(_202A_202E_206B_200E_206A_206B_202B_200B_202B_206F_206B_206C_202E_206A_202C_206D_202C_206C_202B_200E_206C_206F_202D_200C_206F_200F_206F_206A_206C_206F_200E_200E_200D_200E_200D_202B_202A_206B_206E_206E_202E()); + goto IL_029d; + case 3: + num2 = (num7.HasValue ? 46972294 : 46972288); + continue; + case 5: + num2 = (_questData.TryGetQuestInfo(_206E_202E_206D_202B_200D_200D_202B_206D_202A_202A_200D_206C_206A_202D_200C_200D_200B_206C_202B_206B_206F_206A_202A_200B_200B_206C_206B_200D_206C_202C_202D_202B_206B_202C_206A_202E_206A_202D_200C_202E_202E(_206F_202C_202D_202C_200E_206E_202A_200B_200E_202A_206C_200B_200E_206D_200B_206A_206B_206B_200E_206D_200B_200B_206C_200F_202A_202C_202E_200F_206C_206E_206D_200D_200F_206E_206D_200B_200F_202E_200D_206F_202E(fate).Value), out questInfo) ? 46972291 : 46972289); + continue; + case 1: + { + obj3 = questInfo.Name; + break; + } + IL_029d: + if (obj3 == null) + { + obj3 = global::_003CModule_003E._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(896879528); + } + break; + } + break; + } + string value = (string)obj3; + ImU8String imU8String2 = new ImU8String(33, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1729187626)); + imU8String2.AppendFormatted(value); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-437224182)); + _202B_206C_206E_202A_206A_200D_202D_202C_206A_206B_206F_206D_202D_200C_200B_200E_202D_202E_200F_200B_200F_202B_202E_206E_206B_202D_200F_202B_202B_200B_206C_200C_202C_200C_202E_202E_206A_202D_202A_202B_202E(imU8String2); return; } - using (ImRaii.Disabled(disabled)) + ImRaii.DisabledDisposable disabledDisposable = _206A_202E_202E_206F_206F_202D_206A_206A_206E_202D_200E_200B_206D_200D_200E_200C_202B_202A_202D_200F_206E_202E_202A_202C_200E_206D_200D_206F_202E_202E_202D_206B_206E_202A_200E_200B_206F_202A_200F_206E_202E(disabled); + try { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Play)) + ImRaii.ColorDisposable colorDisposable = _206D_202C_202E_206E_200E_200B_202E_202C_206D_200C_202D_202C_200E_202A_206C_202C_202E_206E_200F_202B_202A_202E_202D_202D_200C_206B_206D_206D_200C_206C_202B_200B_206E_202D_206E_206E_202E_206A_202E_200C_202E(ImGuiCol.Button, UiThemeUtils.PlayButtonColor, true); + try { - _questController.Stop("FATE farming start"); - _movementController.Stop(); - int? cycleLimit = ((_cycleLimit > 0) ? new int?(_cycleLimit) : ((int?)null)); - _fateController.Start(fate, cycleLimit); + ImRaii.ColorDisposable colorDisposable2 = _206D_202C_202E_206E_200E_200B_202E_202C_206D_200C_202D_202C_200E_202A_206C_202C_202E_206E_200F_202B_202A_202E_202D_202D_200C_206B_206D_206D_200C_206C_202B_200B_206E_202D_206E_206E_202E_206A_202E_200C_202E(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover, true); + try + { + ImRaii.ColorDisposable colorDisposable3 = _206D_202C_202E_206E_200E_200B_202E_202C_206D_200C_202D_202C_200E_202A_206C_202C_202E_206E_200F_202B_202A_202E_202D_202D_200C_206B_206D_206D_200C_206C_202B_200B_206E_202D_206E_206E_202E_206A_202E_200C_202E(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive, true); + try + { + ImRaii.ColorDisposable colorDisposable4 = _206D_202C_202E_206E_200E_200B_202E_202C_206D_200C_202D_202C_200E_202A_206C_202C_202E_206E_200F_202B_202A_202E_202D_202D_200C_206B_206D_206D_200C_206C_202B_200B_206E_202D_206E_206E_202E_206A_202E_200C_202E(ImGuiCol.Text, UiThemeUtils.PlayButtonText, true); + try + { + num2 = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Play, _206B_200D_200E_200D_206B_206F_202C_206B_206F_200C_200F_200C_206A_206D_200C_202D_206F_202E_200E_200C_206E_202C_202D_202A_202D_200D_202C_200E_206F_206B_202C_202E_202E_200E_206E_206A_206D_206A_206B_206C_202E())) ? 1255836714 : 1255836713); + while (true) + { + int num10 = num2; + int num4 = 1255836714; + int num5 = num10; + int? obj4; + int? cycleLimit; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + obj4 = _cycleLimit; + goto IL_0419; + case 4: + obj4 = null; + goto IL_0419; + case 3: + _movementController.Stop(); + _questController.Stop(global::_003CModule_003E._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(-1062388706)); + _seasonalDutyController.Stop(global::_003CModule_003E._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(-986524897)); + _customDeliveryController.Stop(global::_003CModule_003E._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(-1062388706)); + _attunementController.Stop(global::_003CModule_003E._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(-1062388706)); + num2 = ((_cycleLimit > 0) ? 1255836715 : 1255836718); + break; + case 2: + num2 = 1255836713; + break; + case 0: + goto end_IL_03da; + IL_0419: + cycleLimit = obj4; + _fateController.Start(fate, cycleLimit); + num2 = 1255836714; + break; + } + continue; + end_IL_03da: + break; + } + } + finally + { + num2 = ((colorDisposable4 == null) ? (-1883816165) : (-1883816166)); + while (true) + { + int num11 = num2; + int num4 = -1883816165; + int num5 = num11; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = -1883816166; + break; + case 0: + goto end_IL_0503; + case 1: + _202A_206A_202E_206E_200E_202D_202E_200B_202E_200F_206C_206C_200F_206F_200C_206C_206F_202A_200B_206F_200C_200E_200F_200D_206D_202B_206B_206E_206F_206F_200E_200E_200D_202E_202C_200C_206A_206F_206D_206F_202E((IDisposable)colorDisposable4); + num2 = -1883816165; + break; + } + continue; + end_IL_0503: + break; + } + } + } + finally + { + num2 = ((colorDisposable3 == null) ? 1592901423 : 1592901420); + while (true) + { + int num12 = num2; + int num4 = 1592901422; + int num5 = num12; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + goto end_IL_056e; + case 2: + _202A_206A_202E_206E_200E_202D_202E_200B_202E_200F_206C_206C_200F_206F_200C_206C_206F_202A_200B_206F_200C_200E_200F_200D_206D_202B_206B_206E_206F_206F_200E_200E_200D_202E_202C_200C_206A_206F_206D_206F_202E((IDisposable)colorDisposable3); + num2 = 1592901423; + break; + case 0: + num2 = 1592901420; + break; + } + continue; + end_IL_056e: + break; + } + } + } + finally + { + num2 = ((colorDisposable2 == null) ? (-1797212280) : (-1797212277)); + while (true) + { + int num13 = num2; + int num4 = -1797212279; + int num5 = num13; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + goto end_IL_05d9; + case 2: + _202A_206A_202E_206E_200E_202D_202E_200B_202E_200F_206C_206C_200F_206F_200C_206C_206F_202A_200B_206F_200C_200E_200F_200D_206D_202B_206B_206E_206F_206F_200E_200E_200D_202E_202C_200C_206A_206F_206D_206F_202E((IDisposable)colorDisposable2); + num2 = -1797212280; + break; + case 0: + num2 = -1797212277; + break; + } + continue; + end_IL_05d9: + break; + } + } + } + finally + { + num2 = ((colorDisposable == null) ? (-126209958) : (-126209959)); + while (true) + { + int num14 = num2; + int num4 = -126209957; + int num5 = num14; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -126209959; + break; + case 2: + _202A_206A_202E_206E_200E_202D_202E_200B_202E_200F_206C_206C_200F_206F_200C_206C_206F_202A_200B_206F_200C_200E_200F_200D_206D_202B_206B_206E_206F_206F_200E_200E_200D_202E_202C_200C_206A_206F_206D_206F_202E((IDisposable)colorDisposable); + num2 = -126209958; + break; + case 1: + goto end_IL_0644; + } + continue; + end_IL_0644: + break; + } } } - if (disabled && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + finally { - if (_fateController.IsRunning) + num2 = ((disabledDisposable == null) ? (-2019608515) : (-2019608516)); + while (true) { - ImGui.SetTooltip("Already farming a FATE"); + int num15 = num2; + int num4 = -2019608515; + int num5 = num15; + int num16 = num5 + num4; + int num17 = num5 & num4; + switch (num16 - (num17 + num17)) + { + case 2: + num2 = -2019608516; + break; + case 1: + _202A_206A_202E_206E_200E_202D_202E_200B_202E_200F_206C_206C_200F_206F_200C_206C_206F_202A_200B_206F_200C_200E_200F_200D_206D_202B_206B_206E_206F_206F_200E_200E_200D_202E_202C_200C_206A_206F_206D_206F_202E((IDisposable)disabledDisposable); + num2 = -2019608515; + break; + case 0: + goto end_IL_06af; + } + continue; + end_IL_06af: + break; } - else + } + num2 = ((!disabled) ? (-905480179) : (-905480177)); + while (true) + { + int num18 = num2; + int num4 = -905480178; + int num5 = num18; + int num19 = num5 + num4; + int num20 = num5 & num4; + switch (num19 - (num20 + num20)) { - ImGui.SetTooltip("Stop quest automation first"); + case 8: + num2 = ((!_attunementController.IsRunning) ? (-905480184) : (-905480185)); + break; + case 0: + _202B_206C_206E_202A_206A_200D_202D_202C_206A_206B_206F_206D_202D_200C_200B_200E_202D_202E_200F_200B_200F_202B_202E_206E_206B_202D_200F_202B_202B_200B_206C_200C_202C_200C_202E_202E_206A_202D_202A_202B_202E((ImU8String)global::_003CModule_003E._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(-570548611)); + return; + case 6: + _202B_206C_206E_202A_206A_200D_202D_202C_206A_206B_206F_206D_202D_200C_200B_200E_202D_202E_200F_200B_200F_202B_202E_206E_206B_202D_200F_202B_202B_200B_206C_200C_202C_200C_202E_202E_206A_202D_202A_202B_202E((ImU8String)global::_003CModule_003E._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(2098903468)); + num2 = -905480179; + break; + case 4: + num2 = -905480177; + break; + case 1: + num2 = ((!_206D_202A_202D_206A_206B_202D_200E_206F_200E_200C_202E_200D_200F_206C_206F_200B_206C_200F_206C_206E_202C_202E_200F_206E_206E_202C_206B_200E_206E_200B_206D_206F_206B_200D_202C_206A_202B_206B_202E_206B_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-905480179) : (-905480188)); + break; + case 5: + _202B_206C_206E_202A_206A_200D_202D_202C_206A_206B_206F_206D_202D_200C_200B_200E_202D_202E_200F_200B_200F_202B_202E_206E_206B_202D_200F_202B_202B_200B_206C_200C_202C_200C_202E_202E_206A_202D_202A_202B_202E((ImU8String)global::_003CModule_003E._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(-645021643)); + return; + case 11: + num2 = ((!_seasonalDutyController.IsRunning) ? (-905480183) : (-905480178)); + break; + case 7: + num2 = ((!_customDeliveryController.IsRunning) ? (-905480186) : (-905480181)); + break; + case 2: + _202B_206C_206E_202A_206A_200D_202D_202C_206A_206B_206F_206D_202D_200C_200B_200E_202D_202E_200F_200B_200F_202B_202E_206E_206B_202D_200F_202B_202B_200B_206C_200C_202C_200C_202E_202E_206A_202D_202A_202B_202E((ImU8String)global::_003CModule_003E._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(-166560783)); + return; + case 9: + _202B_206C_206E_202A_206A_200D_202D_202C_206A_206B_206F_206D_202D_200C_200B_200E_202D_202E_200F_200B_200F_202B_202E_206E_206B_202D_200F_202B_202B_200B_206C_200C_202C_200C_202E_202E_206A_202D_202A_202B_202E((ImU8String)global::_003CModule_003E._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(52424384)); + return; + case 10: + num2 = ((!_fateController.IsRunning) ? (-905480187) : (-905480180)); + break; + case 3: + return; } } } + finally + { + num2 = ((idDisposable == null) ? (-223217283) : (-223217284)); + while (true) + { + int num21 = num2; + int num4 = -223217283; + int num5 = num21; + int num22 = num5 + num4; + int num23 = num5 & num4; + switch (num22 - (num23 + num23)) + { + case 0: + goto end_IL_0918; + case 1: + _202A_206A_202E_206E_200E_202D_202E_200B_202E_200F_206C_206C_200F_206F_200C_206C_206F_202A_200B_206F_200C_200E_200F_200D_206D_202B_206B_206E_206F_206F_200E_200E_200D_202E_202C_200C_206A_206F_206D_206F_202E((IDisposable)idDisposable); + num2 = -223217283; + break; + case 2: + num2 = -223217284; + break; + } + continue; + end_IL_0918: + break; + } + } } + [MethodImpl(MethodImplOptions.NoInlining)] private static string FormatElapsed(TimeSpan elapsed) { - IFormatProvider invariantCulture; - if (elapsed.TotalHours >= 1.0) + int num = ((!(elapsed.TotalHours >= 1.0)) ? (-1217920897) : (-1217920898)); + while (true) { - invariantCulture = CultureInfo.InvariantCulture; - IFormatProvider provider = invariantCulture; - DefaultInterpolatedStringHandler handler = new DefaultInterpolatedStringHandler(5, 3, invariantCulture); - handler.AppendFormatted((int)elapsed.TotalHours); - handler.AppendLiteral("h "); - handler.AppendFormatted(elapsed.Minutes, "D2"); - handler.AppendLiteral("m "); - handler.AppendFormatted(elapsed.Seconds, "D2"); - handler.AppendLiteral("s"); - return string.Create(provider, ref handler); + int num2 = num; + int num3 = -1217920899; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = ((!(elapsed.TotalMinutes >= 1.0)) ? (-1217920899) : (-1217920900)); + break; + case 1: + { + IFormatProvider formatProvider = _202A_202E_206B_200E_206A_206B_202B_200B_202B_206F_206B_206C_202E_206A_202C_206D_202C_206C_202B_200E_206C_206F_202D_200C_206F_200F_206F_206A_206C_206F_200E_200E_200D_200E_200D_202B_202A_206B_206E_206E_202E(); + IFormatProvider formatProvider4 = formatProvider; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(3, 2, formatProvider); + defaultInterpolatedStringHandler3.AppendFormatted((int)elapsed.TotalMinutes); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(1016237535)); + defaultInterpolatedStringHandler3.AppendFormatted(elapsed.Seconds, global::_003CModule_003E._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(-1956092384)); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(396650032)); + return _202B_206C_206A_202B_202B_202E_206C_202E_200C_202E_206E_200F_200B_206F_206A_202B_200F_200F_200E_206B_202D_206B_202A_206A_200D_200C_200F_200F_202C_206D_206D_200E_202E_202E_202D_202A_200D_200E_200F_200F_202E(formatProvider4, ref defaultInterpolatedStringHandler3); + } + case 0: + { + IFormatProvider formatProvider = _202A_202E_206B_200E_206A_206B_202B_200B_202B_206F_206B_206C_202E_206A_202C_206D_202C_206C_202B_200E_206C_206F_202D_200C_206F_200F_206F_206A_206C_206F_200E_200E_200D_200E_200D_202B_202A_206B_206E_206E_202E(); + IFormatProvider formatProvider3 = formatProvider; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(1, 1, formatProvider); + defaultInterpolatedStringHandler2.AppendFormatted(elapsed.Seconds); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1658952639)); + return _202B_206C_206A_202B_202B_202E_206C_202E_200C_202E_206E_200F_200B_206F_206A_202B_200F_200F_200E_206B_202D_206B_202A_206A_200D_200C_200F_200F_202C_206D_206D_200E_202E_202E_202D_202A_200D_200E_200F_200F_202E(formatProvider3, ref defaultInterpolatedStringHandler2); + } + case 3: + { + IFormatProvider formatProvider = _202A_202E_206B_200E_206A_206B_202B_200B_202B_206F_206B_206C_202E_206A_202C_206D_202C_206C_202B_200E_206C_206F_202D_200C_206F_200F_206F_206A_206C_206F_200E_200E_200D_200E_200D_202B_202A_206B_206E_206E_202E(); + IFormatProvider formatProvider2 = formatProvider; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 3, formatProvider); + defaultInterpolatedStringHandler.AppendFormatted((int)elapsed.TotalHours); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-794677548)); + defaultInterpolatedStringHandler.AppendFormatted(elapsed.Minutes, global::_003CModule_003E._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(-1968563628)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(750084338)); + defaultInterpolatedStringHandler.AppendFormatted(elapsed.Seconds, global::_003CModule_003E._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(128915746)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1658952639)); + return _202B_206C_206A_202B_202B_202E_206C_202E_200C_202E_206E_200F_200B_206F_206A_202B_200F_200F_200E_206B_202D_206B_202A_206A_200D_200C_200F_200F_202C_206D_206D_200E_202E_202E_202D_202A_200D_200E_200F_200F_202E(formatProvider2, ref defaultInterpolatedStringHandler); + } + case 4: + num = -1217920898; + break; + } } - if (elapsed.TotalMinutes >= 1.0) - { - invariantCulture = CultureInfo.InvariantCulture; - IFormatProvider provider2 = invariantCulture; - DefaultInterpolatedStringHandler handler2 = new DefaultInterpolatedStringHandler(3, 2, invariantCulture); - handler2.AppendFormatted((int)elapsed.TotalMinutes); - handler2.AppendLiteral("m "); - handler2.AppendFormatted(elapsed.Seconds, "D2"); - handler2.AppendLiteral("s"); - return string.Create(provider2, ref handler2); - } - invariantCulture = CultureInfo.InvariantCulture; - IFormatProvider provider3 = invariantCulture; - DefaultInterpolatedStringHandler handler3 = new DefaultInterpolatedStringHandler(1, 1, invariantCulture); - handler3.AppendFormatted(elapsed.Seconds); - handler3.AppendLiteral("s"); - return string.Create(provider3, ref handler3); + } + + void _206E_200E_206E_206F_202B_200D_200C_202A_200B_200E_202C_206A_200C_202B_202E_200C_200D_206D_200C_200C_206E_206E_202C_206B_200C_206E_206E_206E_202D_200E_206A_206B_200B_206A_200D_200F_202A_206D_206D_202D_202E(Vector2? P_0) + { + base.Size = P_0; + } + + void _200B_200B_202A_206E_206D_206C_206B_206A_206D_200E_206A_206A_206E_200D_200F_206E_206F_202C_206B_202A_200D_206B_200E_202C_206D_206C_206A_202E_206F_202B_206C_206E_200F_202D_202B_202D_200D_206E_206F_202E_202E(ImGuiCond P_0) + { + base.SizeCondition = P_0; + } + + void _206B_200C_202A_206F_200B_202B_206C_202A_200B_200F_200D_202B_200D_206A_206A_200F_206E_202D_206D_206B_202C_200E_206C_206C_202A_206D_206F_200C_202A_202D_206C_206E_206D_206D_206D_206A_206C_202D_206D_202D_202E(WindowSizeConstraints? P_0) + { + base.SizeConstraints = P_0; + } + + static void _206A_200F_202D_200E_206F_206B_206A_206C_206D_206B_206B_202D_206C_206B_202A_206C_202A_200F_206A_202E_200D_206E_202E_202C_206F_202C_200B_202D_206F_206A_206F_202A_202D_200B_206B_206C_200F_202E_202E_206F_202E() + { + ImGui.Spacing(); + } + + static string _202D_206E_200E_206A_200E_200E_200F_202E_206F_206F_206E_202B_200C_202E_200B_200C_200F_200B_202B_200C_206E_202B_206C_202A_206C_200C_200B_200D_202D_202D_202A_200E_206C_206A_206C_200F_206E_202A_206F_200D_202E(FateDefinition P_0) + { + return P_0.Name; + } + + static int _206F_206F_202C_202A_202B_206B_202E_202B_206B_200D_202E_202A_206E_206B_200F_200B_206F_206A_206B_206A_202B_206F_206E_206F_206F_200D_202A_200B_202D_200D_200D_200C_202A_206B_202B_200C_202D_200D_200F_202E_202E(string P_0) + { + return P_0.Length; + } + + static ImRaii.DisabledDisposable _206A_202E_202E_206F_206F_202D_206A_206A_206E_202D_200E_200B_206D_200D_200E_200C_202B_202A_202D_200F_206E_202E_202A_202C_200E_206D_200D_206F_202E_202E_202D_206B_206E_202A_200E_200B_206F_202A_200F_206E_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static void _206A_202A_206A_200E_206A_206A_202E_206D_200F_202A_202A_200D_206A_206C_202C_202D_202A_202E_202E_206A_200E_202A_200D_202C_200D_206F_200C_206D_206B_200F_202A_202B_206D_202E_202E_202E_206F_202D_200E_202A_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static void _200E_206B_206C_200E_202C_200B_206E_206A_202D_206B_206C_202B_202E_206B_202A_206F_200B_202E_206D_202D_206B_206C_202C_202A_202D_206D_206A_206F_200C_200B_206B_206D_200D_206E_206A_200E_202B_202C_200C_200F_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _200C_200C_202C_206C_200E_202E_202D_200F_206E_200D_200C_200C_200B_206F_206C_202E_200E_202D_200F_202C_202D_202A_202D_206F_200D_200E_202B_206C_206D_200D_202E_200D_200D_206B_202A_206D_200C_206F_200B_206D_202E() + { + ImGui.SameLine(); + } + + static ImGuiIOPtr _202E_202E_206A_202D_202D_200B_200E_202A_206D_200C_206F_200F_200B_206A_202A_200D_206F_206E_206C_202D_200E_206B_202A_200F_206A_206E_200E_202B_200E_206F_206A_200E_200B_206D_206B_206E_206E_202E_202D_202D_202E() + { + return ImGui.GetIO(); + } + + static void _206B_200B_202C_202D_202A_206C_200E_202D_200E_200F_202C_202C_202B_206D_202E_200F_202C_206B_202C_200B_202D_202D_206E_206C_200C_206E_200E_202B_200C_200E_206B_202A_200C_200F_202A_200F_206F_200F_200D_206F_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static bool _206B_200C_206B_200C_200D_200F_200F_202C_200C_200B_206A_206C_200C_202A_200E_202E_200F_202B_202C_200C_202E_200C_200B_200F_206B_206D_202A_206F_200D_200D_200B_200D_202B_202A_202E_200B_202C_200B_200F_202B_202E(ImU8String P_0, ref int P_1, int P_2, int P_3, ImU8String P_4, ImGuiInputTextFlags P_5) + { + return ImGui.InputInt(P_0, ref P_1, P_2, P_3, P_4, P_5); + } + + static void _202B_206D_206C_202E_202A_200C_206D_206B_202C_202D_206C_200D_206C_202E_202E_206C_200B_202C_202D_200B_200E_200E_200F_206D_202E_200B_206C_206A_206A_202B_200B_206F_206D_200C_202A_202D_206E_202A_202E_206B_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _202A_206A_202E_206E_200E_202D_202E_200B_202E_200F_206C_206C_200F_206F_200C_206C_206F_202A_200B_206F_200C_200E_200F_200D_206D_202B_206B_206E_206F_206F_200E_200E_200D_202E_202C_200C_206A_206F_206D_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _200D_206A_206E_206F_206C_200B_200B_200E_202E_200E_206E_200D_206B_206E_206A_202C_200E_200E_200E_202A_206A_202D_202B_206E_202C_200B_200E_202C_202C_206A_206C_200D_202C_202B_202B_206B_206F_206C_202B_206A_202E(string P_0) + { + return string.IsNullOrWhiteSpace(P_0); + } + + static StringComparer _206C_206E_200F_200B_200D_200D_202B_200C_202A_200D_200B_206F_202A_202C_206D_206B_200D_200C_202D_206C_200D_200E_202E_200F_202D_200F_202D_200B_202D_200C_202D_206E_206F_200B_206E_200F_202B_206A_202E_200C_202E() + { + return StringComparer.OrdinalIgnoreCase; + } + + static void _200C_206D_202C_206E_206E_202D_206D_200C_206A_200D_200C_202E_202D_202B_206C_202C_200C_202C_206D_202E_206C_206D_206B_200E_206E_200F_206E_200C_202B_200F_200F_200E_206F_206D_202D_202D_206B_202B_206E_206F_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static void _200C_200D_200F_200C_202C_200C_202C_206B_206B_202C_200E_200F_202B_202D_202D_202D_200F_200D_206B_202A_206B_206F_202D_200D_202A_202A_202D_202B_206D_206B_206F_206A_200F_200D_200B_206C_206F_202B_206D_202E() + { + ImGui.TableHeadersRow(); + } + + static void _206A_200F_206F_206D_202A_202D_202D_200E_202D_200D_206A_206E_206B_206C_202D_200F_202C_202D_206E_200D_202B_206C_206D_200C_206B_200E_206A_206F_206F_206E_202D_200D_202A_200C_206A_200C_202A_206B_206D_202C_202E() + { + ImGui.TableNextRow(); + } + + static uint _200B_202D_206E_200E_206C_202B_202C_206E_206A_200B_200F_206E_200D_206D_206C_206B_206F_202C_202E_200F_202B_206C_206C_206B_206C_200F_206C_206F_202B_206E_200C_206E_202D_202D_200C_206E_206D_206E_200C_200F_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static void _202B_206E_202C_202C_206F_200F_200B_206A_206F_200F_200B_206B_206E_200D_206B_200D_202E_200B_206F_200D_200C_200C_206F_202B_200E_200B_206F_206B_202B_202E_206E_202D_206F_202D_202D_206A_202E_202C_206F_202B_202E(ImGuiTableBgTarget P_0, uint P_1) + { + ImGui.TableSetBgColor(P_0, P_1); + } + + static bool _202D_202B_202D_200D_206A_206F_206E_202C_206F_200D_200B_202C_200E_200E_200B_200C_206F_200D_200B_200D_202C_202A_202B_202B_202D_202E_202B_206C_206E_202A_200D_206C_202C_202A_200E_206D_206C_200B_206E_202A_202E() + { + return ImGui.TableNextColumn(); + } + + static ushort _202D_200E_206C_206C_202D_200E_202D_206A_202D_202A_200B_206C_202E_206A_202D_202C_202E_200E_206D_200F_202D_202A_202C_202D_202A_202C_206D_206F_202C_200F_200B_206B_206A_200E_202B_206C_206D_202A_200E_200D_202E(FateDefinition P_0) + { + return P_0.TerritoryId; + } + + static string _200D_206D_202B_206A_200B_202C_202E_206A_200D_202A_200C_206C_202B_200C_206C_200C_200F_206F_202A_206B_202B_200B_202D_200B_202E_202D_200D_200D_202E_202B_206D_200D_202A_202E_202E_202D_206C_202B_206A_202B_202E(FateDefinition P_0) + { + return P_0.Description; + } + + static bool _200F_206A_202A_206A_206F_200B_202E_200F_206C_202E_202B_202B_202C_200B_206F_202B_200D_200C_202E_206C_206B_200B_200C_200E_206E_202B_206C_200C_200C_200B_206E_202B_202C_200D_206A_202E_206D_200E_202A_206E_202E() + { + return ImGui.IsItemHovered(); + } + + static ImRaii.TooltipDisposable _202A_206F_202C_202A_202E_206B_206B_202B_202C_202E_206D_206E_200E_206C_202A_200B_206B_200F_200E_200B_200F_200B_200F_202A_206A_202A_202C_206C_206B_206D_206A_200F_200C_206D_206F_200C_202E_206F_206B_202D_202E() + { + return ImRaii.Tooltip(); + } + + static void _206F_200D_202E_202C_206D_206C_202A_206C_206F_206B_202B_200F_202B_200E_202A_202A_200E_200C_200B_202C_202E_202A_206A_206D_206B_206C_202E_206A_202A_206A_200E_206E_202C_206B_206F_200B_202D_206E_206B_206F_202E() + { + ImGui.Separator(); + } + + static void _206C_206E_200B_202C_202A_206C_200D_206D_200D_202A_206B_200D_202D_200B_200F_200C_202B_206F_200D_200C_200F_206B_200D_206D_206D_200E_206F_202B_200C_200F_200E_206D_206C_202C_206B_200D_202E_202D_202B_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static void _206C_206B_206E_202A_202D_206B_202D_206E_206A_206A_202A_206F_206B_206D_202D_206C_202B_206C_202B_200D_206D_200E_200F_206D_200C_200E_202A_202D_200F_206D_206F_202C_206B_200D_206B_202D_202C_200E_206B_202E() + { + ImGui.PopTextWrapPos(); + } + + static List _206E_202A_206C_202E_206E_202C_202E_206B_202D_206E_202C_206F_206D_200F_200F_202B_206A_202C_200C_202A_202B_206B_206B_200D_206E_206E_200E_200D_206E_202B_200F_200F_200F_200B_206F_206F_206D_202C_202C_202E_202E(FateDefinition P_0) + { + return P_0.Targets; + } + + static EStatus? _200E_200C_206F_200C_200C_206E_200B_202D_202E_206A_206D_206B_206E_202C_202D_206F_202B_200E_206F_206B_206D_202B_202C_206A_200C_206D_200D_202C_202A_202A_206B_206D_202A_202D_206C_206C_202B_200F_206A_200C_202E(FateDefinition P_0) + { + return P_0.RequiredStatusId; + } + + static DateTime? _206C_202E_200E_202A_202E_206E_206B_206F_200C_202B_200B_200B_200F_200B_206E_200C_206B_200C_200F_202E_202C_206E_202A_206E_206F_202D_206B_202B_206C_206F_202D_206B_206D_200B_200D_202D_200C_206E_206E_206A_202E(FateDefinition P_0) + { + return P_0.EventExpiry; + } + + static ushort? _206F_202C_202D_202C_200E_206E_202A_200B_200E_202A_206C_200B_200E_206D_200B_206A_206B_206B_200E_206D_200B_200B_206C_200F_202A_202C_202E_200F_206C_206E_206D_200D_200F_206E_206D_200B_200F_202E_200D_206F_202E(FateDefinition P_0) + { + return P_0.RequiredQuestId; + } + + static QuestId _206E_202E_206D_202B_200D_200D_202B_206D_202A_202A_200D_206C_206A_202D_200C_200D_200B_206C_202B_206B_206F_206A_202A_200B_200B_206C_206B_200D_206C_202C_202D_202B_206B_202C_206A_202E_206A_202D_200C_202E_202E(ushort P_0) + { + return new QuestId(P_0); + } + + static bool _202E_206F_202C_200C_202D_206C_206A_202B_202B_200F_206D_200C_206A_202D_202A_206C_206D_200F_206B_200D_206A_202E_206F_206B_202C_202B_202A_200B_200D_200E_200B_202E_200B_200E_200C_200F_202C_202C_206C_202C_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + + static ImRaii.IdDisposable _206C_202B_206D_202A_202C_206D_202A_206A_202C_206D_200B_206F_206F_200D_206E_200D_206B_206A_200B_206A_202D_202C_206A_200B_202A_206A_206B_202D_200E_206D_206A_200C_200F_200F_200D_200F_206C_200B_202A_206F_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static ImFontPtr _200D_200F_206F_200C_200D_206D_206A_202E_200C_200D_200B_202E_206C_200C_206E_200C_200C_206E_206E_206F_206F_206A_200C_200C_200F_202A_206D_200D_200F_202D_200E_202B_202B_202E_206C_202C_202D_200F_202E_206F_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _206C_202D_202A_206B_200B_202B_206A_202D_200B_200E_206A_200D_200F_206C_200B_200B_206C_202C_202D_202E_206A_202A_206F_200C_202D_200B_202C_202B_202B_200C_206C_202E_202D_202B_206D_200F_202E_200C_202A_206D_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _202D_200D_200C_200B_206D_206F_206A_206B_202B_202C_206E_206A_200F_206F_206B_200D_206B_200E_202A_200B_200F_200E_202A_200E_206F_206D_206B_200F_206E_206F_200F_202C_202A_202C_206A_202B_202D_200D_200E_202C_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static CultureInfo _202A_202E_206B_200E_206A_206B_202B_200B_202B_206F_206B_206C_202E_206A_202C_206D_202C_206C_202B_200E_206C_206F_202D_200C_206F_200F_206F_206A_206C_206F_200E_200E_200D_200E_200D_202B_202A_206B_206E_206E_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _202B_206C_206E_202A_206A_200D_202D_202C_206A_206B_206F_206D_202D_200C_200B_200E_202D_202E_200F_200B_200F_202B_202E_206E_206B_202D_200F_202B_202B_200B_206C_200C_202C_200C_202E_202E_206A_202D_202A_202B_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static ImRaii.ColorDisposable _206D_202C_202E_206E_200E_200B_202E_202C_206D_200C_202D_202C_200E_202A_206C_202C_202E_206E_200F_202B_202A_202E_202D_202D_200C_206B_206D_206D_200C_206C_202B_200B_206E_202D_206E_206E_202E_206A_202E_200C_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static float _206B_200D_200E_200D_206B_206F_202C_206B_206F_200C_200F_200C_206A_206D_200C_202D_206F_202E_200E_200C_206E_202C_202D_202A_202D_200D_202C_200E_206F_206B_202C_202E_202E_200E_206E_206A_206D_206A_206B_206C_202E() + { + return ImGui.GetFrameHeight(); + } + + static bool _206D_202A_202D_206A_206B_202D_200E_206F_200E_200C_202E_200D_200F_206C_206F_200B_206C_200F_206C_206E_202C_202E_200F_206E_206E_202C_206B_200E_206E_200B_206D_206F_206B_200D_202C_206A_202B_206B_202E_206B_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static string _202B_206C_206A_202B_202B_202E_206C_202E_200C_202E_206E_200F_200B_206F_206A_202B_200F_200F_200E_206B_202D_206B_202A_206A_200D_200C_200F_200F_202C_206D_206D_200E_202E_202E_202D_202A_200D_200E_200F_200F_202E(IFormatProvider P_0, ref DefaultInterpolatedStringHandler P_1) + { + return string.Create(P_0, ref P_1); + } + + static bool _202B_206D_206F_202B_200E_206D_202B_200E_202D_202E_206A_202B_206E_200F_202C_206A_202E_202C_206E_200D_206D_202E_200E_202E_206B_202E_206C_200C_206E_202E_200F_206A_202C_202D_200E_202D_202E_200B_200C_202C_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); } } diff --git a/Questionable/Questionable.Windows/JournalProgressWindow.cs b/Questionable/Questionable.Windows/JournalProgressWindow.cs index 88ddd062..82e818b3 100644 --- a/Questionable/Questionable.Windows/JournalProgressWindow.cs +++ b/Questionable/Questionable.Windows/JournalProgressWindow.cs @@ -1,91 +1,354 @@ using System; +using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; +using System.Threading.Tasks; +using Dalamud.Bindings.ImGui; +using Dalamud.Configuration; +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(global::_003CModule_003E._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(-1816330610), new SidebarNav.Item[5] + { + new SidebarNav.Item(FontAwesomeIcon.Book, global::_003CModule_003E._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(-1914358154)), + new SidebarNav.Item(FontAwesomeIcon.Dungeon, global::_003CModule_003E._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(2007815205)), + new SidebarNav.Item(FontAwesomeIcon.Wifi, global::_003CModule_003E._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(1703030104)), + new SidebarNav.Item(FontAwesomeIcon.Leaf, global::_003CModule_003E._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(-226723532)), + new SidebarNav.Item(FontAwesomeIcon.Gift, global::_003CModule_003E._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(-2013041662)) + }), + new SidebarNav.Group(global::_003CModule_003E._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(-491431929), new SidebarNav.Item[2] + { + new SidebarNav.Item(FontAwesomeIcon.Map, global::_003CModule_003E._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(-1518072802)), + new SidebarNav.Item(FontAwesomeIcon.ProjectDiagram, global::_003CModule_003E._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(-1675692115)) + }), + new SidebarNav.Group(global::_003CModule_003E._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(-1013283532), new SidebarNav.Item[2] + { + new SidebarNav.Item(FontAwesomeIcon.Handshake, global::_003CModule_003E._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(-1587107701)), + new SidebarNav.Item(FontAwesomeIcon.BoxOpen, global::_003CModule_003E._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(-1550265517)) + }) + }; + + 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) - : base("Journal Progress###QuestionableJournalProgress") + private readonly IFramework _framework; + + private readonly IDalamudPluginInterface _pluginInterface; + + private readonly Configuration _configuration; + + private readonly Action[] _pages; + + private int _selectedTab; + + private int _selectTabNextFrame = -1; + + [MethodImpl(MethodImplOptions.NoInlining)] + 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(global::_003CModule_003E._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(-994875588)) { _questJournalComponent = questJournalComponent; _alliedSocietyJournalComponent = alliedSocietyJournalComponent; + _customDeliveryJournalComponent = customDeliveryJournalComponent; _questRewardComponent = questRewardComponent; _gatheringJournalComponent = gatheringJournalComponent; _dutyJournalComponent = dutyJournalComponent; + _questMapComponent = questMapComponent; + _questChainComponent = questChainComponent; + _attunementJournalComponent = attunementJournalComponent; _questRegistry = questRegistry; _clientState = clientState; - _clientState.Login += _questJournalComponent.RefreshCounts; - _clientState.Logout += _dutyJournalComponent.ClearCounts; - _clientState.Login += _gatheringJournalComponent.RefreshCounts; - _clientState.Login += _dutyJournalComponent.RefreshCounts; - _clientState.Logout += _questJournalComponent.ClearCounts; - _clientState.Logout += _gatheringJournalComponent.ClearCounts; + _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; + _200D_200E_200C_206D_202C_206B_200C_200D_206E_202C_200B_202B_200D_206F_206C_202B_206A_206E_202D_200F_206D_206B_206C_206E_200F_200F_202D_202D_200E_200F_206A_206B_200D_206D_202D_202C_200B_206C_206E_206F_202E(_clientState, (Action)_questJournalComponent.RefreshCounts); + _200E_206E_202B_202C_206C_202B_206E_200F_206C_202B_200E_202D_202A_202E_206B_202B_206D_200F_200B_202D_202A_200F_200D_206B_200D_202E_202A_200F_200E_202D_206D_206B_200D_206A_202B_200B_206C_206A_202A_202E(_clientState, (IClientState.LogoutDelegate)_dutyJournalComponent.ClearCounts); + _200D_200E_200C_206D_202C_206B_200C_200D_206E_202C_200B_202B_200D_206F_206C_202B_206A_206E_202D_200F_206D_206B_206C_206E_200F_200F_202D_202D_200E_200F_206A_206B_200D_206D_202D_202C_200B_206C_206E_206F_202E(_clientState, (Action)_gatheringJournalComponent.RefreshCounts); + _200D_200E_200C_206D_202C_206B_200C_200D_206E_202C_200B_202B_200D_206F_206C_202B_206A_206E_202D_200F_206D_206B_206C_206E_200F_200F_202D_202D_200E_200F_206A_206B_200D_206D_202D_202C_200B_206C_206E_206F_202E(_clientState, (Action)_dutyJournalComponent.RefreshCounts); + _200E_206E_202B_202C_206C_202B_206E_200F_206C_202B_200E_202D_202A_202E_206B_202B_206D_200F_200B_202D_202A_200F_200D_206B_200D_202E_202A_200F_200E_202D_206D_206B_200D_206A_202B_200B_206C_206A_202A_202E(_clientState, (IClientState.LogoutDelegate)_questJournalComponent.ClearCounts); + _200E_206E_202B_202C_206C_202B_206E_200F_206C_202B_200E_202D_202A_202E_206B_202B_206D_200F_200B_202D_202A_200F_200D_206B_200D_202E_202A_200F_200E_202D_206D_206B_200D_206A_202B_200B_206C_206A_202A_202E(_clientState, (IClientState.LogoutDelegate)_gatheringJournalComponent.ClearCounts); + _200D_200E_200C_206D_202C_206B_200C_200D_206E_202C_200B_202B_200D_206F_206C_202B_206A_206E_202D_200F_206D_206B_206C_206E_200F_200F_202D_202D_200E_200F_206A_206B_200D_206D_202D_202C_200B_206C_206E_206F_202E(_clientState, (Action)_attunementJournalComponent.RefreshCounts); + _200E_206E_202B_202C_206C_202B_206E_200F_206C_202B_200E_202D_202A_202E_206B_202B_206D_200F_200B_202D_202A_200F_200D_206B_200D_202E_202A_200F_200E_202D_206D_206B_200D_206A_202B_200B_206C_206A_202A_202E(_clientState, (IClientState.LogoutDelegate)_attunementJournalComponent.ClearCounts); _questRegistry.Reloaded += OnQuestsReloaded; - base.SizeConstraints = new WindowSizeConstraints + _202D_206F_206D_200C_202E_206C_206E_206D_206D_206A_200F_202E_202C_200E_200B_206E_200E_202A_200B_200E_206D_200E_206A_200F_206D_202A_202B_206A_202C_206F_202D_200B_206B_206B_206C_206B_206B_200E_200D_202E((WindowSizeConstraints?)new WindowSizeConstraints { MinimumSize = new Vector2(700f, 500f) - }; + }); + } + + public void SelectTab(string tabName) + { + int num = Array.IndexOf(FlatLabels, tabName); + int num2 = ((num < 0) ? (-48410120) : (-48410119)); + while (true) + { + int num3 = num2; + int num4 = -48410120; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 0: + return; + case 1: + _selectTabNextFrame = num; + num2 = -48410120; + break; + case 2: + num2 = -48410119; + break; + } + } } private void OnQuestsReloaded(object? sender, EventArgs e) { - _questJournalComponent.RefreshCounts(); - _dutyJournalComponent.RefreshCounts(); - _gatheringJournalComponent.RefreshCounts(); + _206B_206A_206E_206D_202B_202B_200B_206A_206E_206B_200C_200F_200D_202E_200E_200B_200C_206F_200E_202E_206B_200D_206C_206A_200B_206C_206B_206E_206A_200E_206E_202D_206E_202A_200E_206C_200C_202E_200D_202E_202E(_framework, (Action)delegate + { + _questJournalComponent.RefreshCounts(); + _dutyJournalComponent.RefreshCounts(); + _gatheringJournalComponent.RefreshCounts(); + _attunementJournalComponent.RefreshCounts(); + _questChainComponent.MarkDirty(); + _questMapComponent.MarkDirty(); + }); } public override void OnOpen() { - _questJournalComponent.UpdateFilter(); - _questJournalComponent.RefreshCounts(); - _dutyJournalComponent.UpdateFilter(); - _dutyJournalComponent.RefreshCounts(); - _gatheringJournalComponent.UpdateFilter(); - _gatheringJournalComponent.RefreshCounts(); + int num = Array.IndexOf(FlatLabels, _configuration.JournalLastPage); + int num2 = ((num < 0) ? (-747516313) : (-747516316)); + while (true) + { + int num3 = num2; + int num4 = -747516314; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -747516316; + break; + case 2: + _selectedTab = num; + num2 = -747516313; + break; + case 1: + _questJournalComponent.UpdateFilter(); + _dutyJournalComponent.UpdateFilter(); + _gatheringJournalComponent.UpdateFilter(); + _attunementJournalComponent.UpdateFilter(); + _questMapComponent.MarkDirty(); + _questChainComponent.MarkDirty(); + return; + } + } } + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawContent() { - using ImRaii.TabBarDisposable tabBarDisposable = ImRaii.TabBar("Journal"); - if (!(!tabBarDisposable)) + int num = ((_selectTabNextFrame < 0) ? 376912243 : 376912240); + while (true) { - _questJournalComponent.DrawQuests(); - _dutyJournalComponent.DrawDuties(); - _alliedSocietyJournalComponent.DrawAlliedSocietyQuests(); - _questRewardComponent.DrawItemRewards(); - _gatheringJournalComponent.DrawGatheringItems(); + int num2 = num; + int num3 = 376912242; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 376912240; + break; + case 2: + SetSelectedTab(_selectTabNextFrame); + _selectTabNextFrame = -1; + num = 376912243; + break; + case 1: + { + SetSelectedTab(SidebarNav.Draw(NavGroups, _selectedTab)); + using ImRaii.ChildDisposable childDisposable = _206E_202E_206A_206C_202E_202D_200E_202E_206D_206D_200C_202A_200F_206E_202C_202E_206D_200B_206B_206C_200F_200E_200C_206B_200B_200E_206D_200F_202E_202E_200B_200D_200B_200C_202B_206E_206B_202E_206C_200E_202E((ImU8String)global::_003CModule_003E._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(-1458524227), Vector2.Zero); + if (!(bool)childDisposable) + { + return; + } + ImRaii.IndentDisposable indentDisposable = _202D_206F_206A_206E_206D_202C_202B_206B_200D_206F_206E_200D_206E_200C_206B_206E_202A_206B_200E_202E_202C_202D_206F_202E_206E_206A_202C_206C_202B_202C_202A_200F_202B_206E_202C_202E_202B_202A_200B_202A_202E(8f * _206F_200D_200C_206B_202A_206E_200E_206E_206C_202B_206F_206F_202C_202E_206D_206C_202C_200C_202C_202D_202D_206F_206A_206D_202A_206A_202D_206E_206D_206B_206E_206C_206C_206B_202B_206C_206B_202E_200D_202C_202E(), true, true); + try + { + _pages[_selectedTab](); + return; + } + finally + { + num = ((indentDisposable == null) ? 1782540339 : 1782540336); + while (true) + { + int num7 = num; + num3 = 1782540338; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1782540336; + break; + case 2: + _202D_200F_202D_200F_206A_206A_206F_202E_206B_200C_202A_206C_206C_206C_202D_206A_206B_202B_200B_206E_206E_200E_206B_202B_202A_206B_202B_202E_200F_202C_202A_202A_202C_206B_206A_200E_200C_200F_206E_206F_202E((IDisposable)indentDisposable); + num = 1782540339; + break; + case 1: + goto end_IL_00fb; + } + continue; + end_IL_00fb: + break; + } + } + } + } + } + } + + private void SetSelectedTab(int index) + { + int num = ((index != _selectedTab) ? 1049819639 : 1049819636); + while (true) + { + int num2 = num; + int num3 = 1049819637; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0047; + case 1: + return; + case 2: + _selectedTab = index; + _configuration.JournalLastPage = FlatLabels[index]; + _200D_206A_206B_200C_202B_200D_202B_200D_200F_206A_206F_202C_206F_200C_200B_206E_202C_206F_200D_206F_200E_206E_202A_200D_206D_206B_200C_202B_202B_206C_206C_202E_202C_206E_206D_206A_200B_202C_206F_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration); + return; + } + continue; + IL_0047: + num = 1049819636; } } public void Dispose() { _questRegistry.Reloaded -= OnQuestsReloaded; - _clientState.Logout -= _gatheringJournalComponent.ClearCounts; - _clientState.Logout -= _questJournalComponent.ClearCounts; - _clientState.Login -= _dutyJournalComponent.RefreshCounts; - _clientState.Login -= _gatheringJournalComponent.RefreshCounts; - _clientState.Logout -= _dutyJournalComponent.ClearCounts; - _clientState.Login -= _questJournalComponent.RefreshCounts; + _200E_206E_206F_206F_200B_202A_206A_202C_200D_200B_202A_206D_206A_202E_200F_202A_206D_200E_206B_206D_202E_202A_206B_206D_206D_200F_202B_206D_202B_200B_206B_206B_202B_200D_206E_206E_200E_200C_206E_206E_202E(_clientState, (IClientState.LogoutDelegate)_attunementJournalComponent.ClearCounts); + _202E_206A_206D_206E_202E_206E_202B_202B_202C_202A_202E_200C_202C_206C_202C_206D_200E_200F_202A_202E_200B_202C_206F_200F_206B_202C_206E_200D_206E_206A_202E_206D_200C_206E_202B_202D_202C_202B_200B_206A_202E(_clientState, (Action)_attunementJournalComponent.RefreshCounts); + _200E_206E_206F_206F_200B_202A_206A_202C_200D_200B_202A_206D_206A_202E_200F_202A_206D_200E_206B_206D_202E_202A_206B_206D_206D_200F_202B_206D_202B_200B_206B_206B_202B_200D_206E_206E_200E_200C_206E_206E_202E(_clientState, (IClientState.LogoutDelegate)_gatheringJournalComponent.ClearCounts); + _200E_206E_206F_206F_200B_202A_206A_202C_200D_200B_202A_206D_206A_202E_200F_202A_206D_200E_206B_206D_202E_202A_206B_206D_206D_200F_202B_206D_202B_200B_206B_206B_202B_200D_206E_206E_200E_200C_206E_206E_202E(_clientState, (IClientState.LogoutDelegate)_questJournalComponent.ClearCounts); + _202E_206A_206D_206E_202E_206E_202B_202B_202C_202A_202E_200C_202C_206C_202C_206D_200E_200F_202A_202E_200B_202C_206F_200F_206B_202C_206E_200D_206E_206A_202E_206D_200C_206E_202B_202D_202C_202B_200B_206A_202E(_clientState, (Action)_dutyJournalComponent.RefreshCounts); + _202E_206A_206D_206E_202E_206E_202B_202B_202C_202A_202E_200C_202C_206C_202C_206D_200E_200F_202A_202E_200B_202C_206F_200F_206B_202C_206E_200D_206E_206A_202E_206D_200C_206E_202B_202D_202C_202B_200B_206A_202E(_clientState, (Action)_gatheringJournalComponent.RefreshCounts); + _200E_206E_206F_206F_200B_202A_206A_202C_200D_200B_202A_206D_206A_202E_200F_202A_206D_200E_206B_206D_202E_202A_206B_206D_206D_200F_202B_206D_202B_200B_206B_206B_202B_200D_206E_206E_200E_200C_206E_206E_202E(_clientState, (IClientState.LogoutDelegate)_dutyJournalComponent.ClearCounts); + _202E_206A_206D_206E_202E_206E_202B_202B_202C_202A_202E_200C_202C_206C_202C_206D_200E_200F_202A_202E_200B_202C_206F_200F_206B_202C_206E_200D_206E_206A_202E_206D_200C_206E_202B_202D_202C_202B_200B_206A_202E(_clientState, (Action)_questJournalComponent.RefreshCounts); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _200D_200E_200C_206D_202C_206B_200C_200D_206E_202C_200B_202B_200D_206F_206C_202B_206A_206E_202D_200F_206D_206B_206C_206E_200F_200F_202D_202D_200E_200F_206A_206B_200D_206D_202D_202C_200B_206C_206E_206F_202E(IClientState P_0, Action P_1) + { + P_0.Login += P_1; + } + + static void _200E_206E_202B_202C_206C_202B_206E_200F_206C_202B_200E_202D_202A_202E_206B_202B_206D_200F_200B_202D_202A_200F_200D_206B_200D_202E_202A_200F_200E_202D_206D_206B_200D_206A_202B_200B_206C_206A_202A_202E(IClientState P_0, IClientState.LogoutDelegate P_1) + { + P_0.Logout += P_1; + } + + void _202D_206F_206D_200C_202E_206C_206E_206D_206D_206A_200F_202E_202C_200E_200B_206E_200E_202A_200B_200E_206D_200E_206A_200F_206D_202A_202B_206A_202C_206F_202D_200B_206B_206B_206C_206B_206B_200E_200D_202E(WindowSizeConstraints? P_0) + { + base.SizeConstraints = P_0; + } + + static Task _206B_206A_206E_206D_202B_202B_200B_206A_206E_206B_200C_200F_200D_202E_200E_200B_200C_206F_200E_202E_206B_200D_206C_206A_200B_206C_206B_206E_206A_200E_206E_202D_206E_202A_200E_206C_200C_202E_200D_202E_202E(IFramework P_0, Action P_1) + { + return P_0.RunOnFrameworkThread(P_1); + } + + static ImRaii.ChildDisposable _206E_202E_206A_206C_202E_202D_200E_202E_206D_206D_200C_202A_200F_206E_202C_202E_206D_200B_206B_206C_200F_200E_200C_206B_200B_200E_206D_200F_202E_202E_200B_200D_200B_200C_202B_206E_206B_202E_206C_200E_202E(ImU8String P_0, Vector2 P_1) + { + return ImRaii.Child(P_0, P_1); + } + + static float _206F_200D_200C_206B_202A_206E_200E_206E_206C_202B_206F_206F_202C_202E_206D_206C_202C_200C_202C_202D_202D_206F_206A_206D_202A_206A_202D_206E_206D_206B_206E_206C_206C_206B_202B_206C_206B_202E_200D_202C_202E() + { + return ImGuiHelpers.GlobalScale; + } + + static ImRaii.IndentDisposable _202D_206F_206A_206E_206D_202C_202B_206B_200D_206F_206E_200D_206E_200C_206B_206E_202A_206B_200E_202E_202C_202D_206F_202E_206E_206A_202C_206C_202B_202C_202A_200F_202B_206E_202C_202E_202B_202A_200B_202A_202E(float P_0, bool P_1, bool P_2) + { + return ImRaii.PushIndent(P_0, P_1, P_2); + } + + static void _202D_200F_202D_200F_206A_206A_206F_202E_206B_200C_202A_206C_206C_206C_202D_206A_206B_202B_200B_206E_206E_200E_206B_202B_202A_206B_202B_202E_200F_202C_202A_202A_202C_206B_206A_200E_200C_200F_206E_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _200D_206A_206B_200C_202B_200D_202B_200D_200F_206A_206F_202C_206F_200C_200B_206E_202C_206F_200D_206F_200E_206E_202A_200D_206D_206B_200C_202B_202B_206C_206C_202E_202C_206E_206D_206A_200B_202C_206F_206C_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); + } + + static void _200E_206E_206F_206F_200B_202A_206A_202C_200D_200B_202A_206D_206A_202E_200F_202A_206D_200E_206B_206D_202E_202A_206B_206D_206D_200F_202B_206D_202B_200B_206B_206B_202B_200D_206E_206E_200E_200C_206E_206E_202E(IClientState P_0, IClientState.LogoutDelegate P_1) + { + P_0.Logout -= P_1; + } + + static void _202E_206A_206D_206E_202E_206E_202B_202B_202C_202A_202E_200C_202C_206C_202C_206D_200E_200F_202A_202E_200B_202C_206F_200F_206B_202C_206E_200D_206E_206A_202E_206D_200C_206E_202B_202D_202C_202B_200B_206A_202E(IClientState P_0, Action P_1) + { + P_0.Login -= P_1; } } diff --git a/Questionable/Questionable.Windows/OneTimeSetupWindow.cs b/Questionable/Questionable.Windows/OneTimeSetupWindow.cs index c9115eca..27984380 100644 --- a/Questionable/Questionable.Windows/OneTimeSetupWindow.cs +++ b/Questionable/Questionable.Windows/OneTimeSetupWindow.cs @@ -1,18 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; +using Dalamud.Configuration; 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,55 +24,664 @@ internal sealed class OneTimeSetupWindow : LWindow private readonly ILogger _logger; - public OneTimeSetupWindow(PluginConfigComponent pluginConfigComponent, Configuration configuration, IDalamudPluginInterface pluginInterface, ILogger logger) - : base("Questionable Setup###QuestionableOneTimeSetup", ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.AlwaysAutoResize | ImGuiWindowFlags.NoSavedSettings, forceMainWindow: true) + private int _currentIndex; + + [MethodImpl(MethodImplOptions.NoInlining)] + public OneTimeSetupWindow(WelcomeStep welcomeStep, PluginsStep pluginsStep, EssentialSettingsStep essentialSettingsStep, ReadyStep readyStep, Configuration configuration, IDalamudPluginInterface pluginInterface, ILogger logger) + : base(global::_003CModule_003E._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(461826029), 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; - base.RespectCloseHotkey = false; - base.ShowCloseButton = false; - base.AllowPinning = false; - base.AllowClickthrough = false; - base.IsOpen = !_configuration.IsPluginSetupComplete(); - _logger.LogInformation("One-time setup needed: {IsOpen}", base.IsOpen); + _206B_206F_202D_200B_200C_202D_206D_206B_206F_200C_202D_206D_200F_200B_202A_206A_202B_202D_206B_206E_200F_200B_200F_202E_202A_200D_206D_206A_200F_200C_202D_206B_202C_206A_202C_206B_206C_206B_200B_202B_202E(false); + _200C_206B_202B_206A_202C_202E_200C_206D_206B_206C_206B_200F_202B_206D_202C_202C_200D_200D_202C_200C_206D_202E_206F_202A_206C_206D_202A_200F_202E_200B_200B_200F_202C_202B_206A_206D_206A_200C_206B_202D_202E(false); + _200B_200C_206E_200C_202E_200F_202E_206E_200F_206F_200B_202B_200D_206B_206C_200B_200F_202B_200B_200F_202E_200C_206A_206F_200B_202E_206B_200D_202C_202E_200E_200F_206F_206B_206F_200D_206E_206B_206D_200D_202E(false); + _200F_200F_202E_200B_206F_202C_206A_202E_206E_206D_206F_206F_200E_200F_200B_202C_202C_202C_206F_206A_202B_202C_206E_202D_206B_200D_200F_202D_206B_202E_206E_202B_200D_206C_202A_202C_200C_202D_200E_202D_202E(false); + _206C_200D_206D_202B_206B_202E_206D_200F_202B_206B_206D_202E_200E_202A_200F_200F_200B_206B_206F_206F_206E_202E_202E_200E_206A_202B_200E_200E_202A_200B_206E_202D_206C_206C_200F_200F_200F_206E_206D_206B_202E(!_configuration.IsPluginSetupComplete()); + _202E_200F_202A_200C_206A_202E_200B_206F_206D_200F_206A_206F_202C_200E_200C_202C_206C_206B_202E_206E_200F_206F_202C_202E_206B_200C_200F_202C_206F_200F_206B_200D_202E_200C_200E_200C_202A_202A_200F_206A_202E((ILogger)_logger, global::_003CModule_003E._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(-1635291635), new object[1] { _206D_202B_202D_206C_206B_202D_206F_206A_206F_200C_206A_206C_206A_202B_206C_200E_200C_202A_202A_206D_200D_200E_206E_206B_200D_202D_200B_200C_200C_202D_202D_200F_206E_200F_200E_200C_200F_206C_206D_202E_202E() }); } + public override void OnOpen() + { + _currentIndex = 0; + } + + [MethodImpl(MethodImplOptions.NoInlining)] 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(); + int num = ((list.Count != 0) ? (-981161661) : (-981161664)); + while (true) { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen)) + int num2 = num; + int num3 = -981161662; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Check, "Finish Setup")) + case 1: + { + _currentIndex = _206A_200B_200B_206A_206B_206E_206D_206C_202B_200E_202B_200F_202D_206D_206B_202D_206B_200D_206E_202E_206F_202E_202D_202E_202C_206A_206B_206F_202E_206D_202D_206D_200E_206E_200E_206C_206A_202B_206F_200C_202E(_currentIndex, 0, list.Count - 1); + ISetupStep setupStep = list[_currentIndex]; + ImU8String imU8String = new ImU8String(9, 2); + imU8String.AppendLiteral(global::_003CModule_003E._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(2121328215)); + int currentIndex = _currentIndex; + num3 = 1; + num4 = currentIndex; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + imU8String.AppendFormatted(num7 + (num8 + num8)); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1153128276)); + imU8String.AppendFormatted(list.Count); + _202D_200E_202B_206C_202C_200E_206A_202E_200C_202C_202C_206D_206F_200B_200C_206A_202D_202A_200E_200B_206D_206C_200D_200D_206B_206C_202B_202A_202D_200D_206D_200E_206D_200C_200E_202B_202B_202A_206E_202B_202E(ref UiThemeUtils.DimTextColor, imU8String); + _206D_200B_202E_200F_206D_202B_206E_206C_200F_206C_200D_200D_206B_202C_200C_206C_206E_200D_206F_202D_200D_206D_206D_206E_206F_202E_202A_202A_202B_202A_206C_206F_200B_200F_202C_200B_200E_206B_200F_200E_202E(); + 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); + return; + } + case 2: + return; + case 0: + goto IL_0168; + } + continue; + IL_0168: + num = -981161664; + } + } + + private void DrawStepDots(int visibleCount) + { + float num = 3f * _202C_202C_206B_202E_206A_202D_202D_200E_206D_200D_202C_200D_206A_200D_206A_206C_206D_202D_206E_202D_200D_206A_202E_206B_200B_206C_200B_206B_206F_202A_200F_206C_200F_202C_202C_206E_200E_206C_202B_200F_202E(); + float num2 = 12f * _202C_202C_206B_202E_206A_202D_202D_200E_206D_200D_202C_200D_206A_200D_206A_206C_206D_202D_206E_202D_200D_206A_202E_206B_200B_206C_200B_206B_206F_202A_200F_206C_200F_202C_202C_206E_200E_206C_202B_200F_202E(); + float num3 = _206B_206B_202B_200C_202B_206C_202A_206D_206B_202E_202A_206F_202E_200B_206F_206F_200E_200C_202C_206B_206D_206A_206E_206F_202C_202B_200C_206F_206F_200D_206E_200E_206C_200E_206F_200C_202E_206D_200B_202C_202E(); + ImDrawListPtr imDrawListPtr = _202E_206B_202D_202E_206C_206F_206B_202A_206B_202C_206B_206E_202B_206F_200B_202B_200C_200F_200C_202B_202A_200F_200B_202D_202B_206D_202E_202E_202B_202A_200D_206E_202D_206B_202D_202C_200E_200F_206B_206C_202E(); + Vector2 vector = _202E_202D_202A_202A_200D_202D_200D_202C_200C_206F_200B_206C_206B_206E_200D_200B_206C_200B_202D_202B_206A_202D_200F_202C_202A_200D_200D_200D_202E_206C_200F_202D_200D_202D_200D_202B_200F_202E_202E_206A_202E(); + float y = vector.Y + num3 / 2f; + uint col = _206D_206D_206E_202B_206A_200E_200F_206D_202B_206B_200E_200E_206C_200B_206D_200E_200D_206F_206E_202A_202D_202A_206C_200D_202E_206A_206E_202C_206B_206A_206C_202A_200E_200E_206C_206F_206C_206B_200E_200E_202E(UiThemeUtils.AccentColor); + uint col2 = _206D_206D_206E_202B_206A_200E_200F_206D_202B_206B_200E_200E_206C_200B_206D_200E_200D_206F_206E_202A_202D_202A_206C_200D_202E_206A_206E_202C_206B_206A_206C_202A_200E_200E_206C_206F_206C_206B_200E_200E_202E(UiThemeUtils.MutedTextColor); + int num4 = 0; + int num5 = 1526689575; + Vector2 center = default(Vector2); + while (true) + { + int num6 = num5; + int num7 = 1526689569; + int num8 = num6; + int num9 = num8 + num7; + int num10 = num8 & num7; + switch (num9 - (num10 + num10)) + { + case 0: + imDrawListPtr.AddCircleFilled(center, num, col); + num5 = 1526689568; + break; + case 5: + center = new Vector2(vector.X + num + (float)num4 * num2, y); + num5 = ((num4 != _currentIndex) ? 1526689573 : 1526689569); + break; + case 4: + imDrawListPtr.AddCircle(center, num, col2, 0, 1f); + num5 = 1526689568; + break; + case 6: + num5 = ((num4 < visibleCount) ? 1526689572 : 1526689570); + break; + case 3: + { + float num12 = num * 2f; + num7 = 1; + num8 = visibleCount; + _202B_200E_206C_200E_206E_202B_200D_200D_206E_200D_206E_206F_206B_206D_202D_202C_206D_206A_206B_206A_206E_202B_202B_206F_200C_206E_206C_200C_206D_202C_206C_200E_206B_202A_200E_200D_200C_206F_206C_206D_202E(new Vector2(num12 + (float)(~(~num8 + num7)) * num2, num3)); + return; + } + case 2: + num5 = 1526689575; + break; + case 1: + { + int num11 = num4; + num7 = 1; + num8 = num11; + num4 = (num8 | num7) + (num8 & num7); + num5 = 1526689575; + break; + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawFooter(int visibleCount, ISetupStep current) + { + bool num = _currentIndex == 0; + int currentIndex = _currentIndex; + int num2 = 1; + int num3 = visibleCount; + bool flag = currentIndex == ~(~num3 + num2); + ImRaii.DisabledDisposable disabledDisposable = _200C_206D_206E_202D_206D_200D_200D_206A_200D_206D_202D_206D_200F_206B_202C_202A_202C_200B_200B_206E_200C_206D_202C_200B_206D_206A_202D_200B_200E_200D_200F_200E_202E_202B_200C_206E_206A_202C_206F_200D_202E(num); + int num4; + try + { + num4 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.ArrowLeft, global::_003CModule_003E._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(1553048446), ButtonWidth(FontAwesomeIcon.ArrowLeft, global::_003CModule_003E._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(-764915405)))) ? 808183570 : 808183569); + while (true) + { + int num5 = num4; + num2 = 808183571; + num3 = num5; + int num6 = num3 + num2; + int num7 = num3 & num2; + switch (num6 - (num7 + num7)) { - _logger.LogInformation("Marking setup as complete"); - _configuration.MarkPluginSetupComplete(); - _pluginInterface.SavePluginConfig(_configuration); - base.IsOpen = false; + case 0: + num4 = 808183569; + break; + case 2: + { + int currentIndex2 = _currentIndex; + num2 = 1; + num3 = currentIndex2; + _currentIndex = ~(~num3 + num2); + num4 = 808183570; + break; + } + case 1: + goto end_IL_006a; + } + continue; + end_IL_006a: + break; + } + } + finally + { + num4 = ((disabledDisposable == null) ? (-1101408097) : (-1101408100)); + while (true) + { + int num8 = num4; + num2 = -1101408099; + num3 = num8; + int num9 = num3 + num2; + int num10 = num3 & num2; + switch (num9 - (num10 + num10)) + { + case 0: + num4 = -1101408100; + break; + case 1: + _200F_202A_202A_200D_206A_200B_200E_206F_200F_202B_206D_200D_202B_202E_206C_206C_200C_200E_200B_206B_200C_206B_202C_200C_202B_202E_202D_206D_202E_200E_202A_200B_200C_200E_206F_200C_202B_206E_206E_202B_202E((IDisposable)disabledDisposable); + num4 = -1101408097; + break; + case 2: + goto end_IL_00eb; + } + continue; + end_IL_00eb: + break; + } + } + _206D_200B_202E_200F_206D_202B_206E_206C_200F_206C_200D_200D_206B_202C_200C_206C_206E_200D_206F_202D_200D_206D_206D_206E_206F_202E_202A_202A_202B_202A_206C_206F_200B_200F_202C_200B_200E_206B_200F_200E_202E(); + if (flag) + { + disabledDisposable = _200C_206D_206E_202D_206D_200D_200D_206A_200D_206D_202D_206D_200F_206B_202C_202A_202C_200B_200B_206E_200C_206D_202C_200B_206D_206A_202D_200B_200E_200D_200F_200E_202E_202B_200C_206E_206A_202C_206F_200D_202E(!current.CanAdvance); + try + { + ImRaii.ColorDisposable colorDisposable = _200B_202E_202C_206B_202C_200C_200E_202A_202B_206F_200E_206D_202D_200F_200F_206F_200E_202E_202A_200C_206E_206C_202A_202D_202A_202E_202E_200F_200D_202E_200D_206B_200C_202E_202B_202C_206C_202E_206D_206C_202E(ImGuiCol.Button, UiThemeUtils.PlayButtonColor, true); + try + { + ImRaii.ColorDisposable colorDisposable2 = _200B_202E_202C_206B_202C_200C_200E_202A_202B_206F_200E_206D_202D_200F_200F_206F_200E_202E_202A_200C_206E_206C_202A_202D_202A_202E_202E_200F_200D_202E_200D_206B_200C_202E_202B_202C_206C_202E_206D_206C_202E(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover, true); + try + { + ImRaii.ColorDisposable colorDisposable3 = _200B_202E_202C_206B_202C_200C_200E_202A_202B_206F_200E_206D_202D_200F_200F_206F_200E_202E_202A_200C_206E_206C_202A_202D_202A_202E_202E_200F_200D_202E_200D_206B_200C_202E_202B_202C_206C_202E_206D_206C_202E(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive, true); + try + { + ImRaii.ColorDisposable colorDisposable4 = _200B_202E_202C_206B_202C_200C_200E_202A_202B_206F_200E_206D_202D_200F_200F_206F_200E_202E_202A_200C_206E_206C_202A_202D_202A_202E_202E_200F_200D_202E_200D_206B_200C_202E_202B_202C_206C_202E_206D_206C_202E(ImGuiCol.Text, UiThemeUtils.PlayButtonText, true); + try + { + num4 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Check, global::_003CModule_003E._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(740749075), ButtonWidth(FontAwesomeIcon.Check, global::_003CModule_003E._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(-210319424)))) ? 2081076203 : 2081076200); + while (true) + { + int num11 = num4; + num2 = 2081076202; + num3 = num11; + switch ((num3 | num2) - (num3 & num2)) + { + case 0: + num4 = 2081076200; + break; + case 2: + _202E_200F_202A_200C_206A_202E_200B_206F_206D_200F_206A_206F_202C_200E_200C_202C_206C_206B_202E_206E_200F_206F_202C_202E_206B_200C_200F_202C_206F_200F_206B_200D_202E_200C_200E_200C_202A_202A_200F_206A_202E((ILogger)_logger, global::_003CModule_003E._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(907066724), Array.Empty()); + _configuration.MarkPluginSetupComplete(); + _202C_200C_202B_202A_202E_202D_206F_202D_206A_202C_206E_206C_206D_200B_206A_206C_200C_206F_200C_200C_202C_206E_206E_206B_200C_202A_206C_200B_202C_200C_206E_206B_202D_200B_202B_202C_206F_202B_200C_200D_202E(_pluginInterface, (IPluginConfiguration)_configuration); + RequestClose(); + num4 = 2081076203; + break; + case 1: + goto end_IL_01d1; + } + continue; + end_IL_01d1: + break; + } + } + finally + { + num4 = ((colorDisposable4 == null) ? 1525210494 : 1525210495); + while (true) + { + int num12 = num4; + num2 = 1525210494; + num3 = num12; + int num13 = num3 + num2; + int num14 = num3 & num2; + switch (num13 - (num14 + num14)) + { + case 2: + num4 = 1525210495; + break; + case 0: + goto end_IL_0275; + case 1: + _200F_202A_202A_200D_206A_200B_200E_206F_200F_202B_206D_200D_202B_202E_206C_206C_200C_200E_200B_206B_200C_206B_202C_200C_202B_202E_202D_206D_202E_200E_202A_200B_200C_200E_206F_200C_202B_206E_206E_202B_202E((IDisposable)colorDisposable4); + num4 = 1525210494; + break; + } + continue; + end_IL_0275: + break; + } + } + } + finally + { + num4 = ((colorDisposable3 == null) ? (-1706055726) : (-1706055725)); + while (true) + { + int num15 = num4; + num2 = -1706055726; + num3 = num15; + int num16 = num3 + num2; + int num17 = num3 & num2; + switch (num16 - (num17 + num17)) + { + case 2: + num4 = -1706055725; + break; + case 1: + _200F_202A_202A_200D_206A_200B_200E_206F_200F_202B_206D_200D_202B_202E_206C_206C_200C_200E_200B_206B_200C_206B_202C_200C_202B_202E_202D_206D_202E_200E_202A_200B_200C_200E_206F_200C_202B_206E_206E_202B_202E((IDisposable)colorDisposable3); + num4 = -1706055726; + break; + case 0: + goto end_IL_02e2; + } + continue; + end_IL_02e2: + break; + } + } + } + finally + { + num4 = ((colorDisposable2 == null) ? 709373826 : 709373825); + while (true) + { + int num18 = num4; + num2 = 709373824; + num3 = num18; + int num19 = num3 + num2; + int num20 = num3 & num2; + switch (num19 - (num20 + num20)) + { + case 2: + goto end_IL_034f; + case 1: + _200F_202A_202A_200D_206A_200B_200E_206F_200F_202B_206D_200D_202B_202E_206C_206C_200C_200E_200B_206B_200C_206B_202C_200C_202B_202E_202D_206D_202E_200E_202A_200B_200C_200E_206F_200C_202B_206E_206E_202B_202E((IDisposable)colorDisposable2); + num4 = 709373826; + break; + case 0: + num4 = 709373825; + break; + } + continue; + end_IL_034f: + break; + } + } + } + finally + { + num4 = ((colorDisposable == null) ? 2130178104 : 2130178107); + while (true) + { + int num21 = num4; + num2 = 2130178105; + num3 = num21; + int num22 = num3 + num2; + int num23 = num3 & num2; + switch (num22 - (num23 + num23)) + { + case 1: + goto end_IL_03bb; + case 2: + _200F_202A_202A_200D_206A_200B_200E_206F_200F_202B_206D_200D_202B_202E_206C_206C_200C_200E_200B_206B_200C_206B_202C_200C_202B_202E_202D_206D_202E_200E_202A_200B_200C_200E_206F_200C_202B_206E_206E_202B_202E((IDisposable)colorDisposable); + num4 = 2130178104; + break; + case 0: + num4 = 2130178107; + break; + } + continue; + end_IL_03bb: + break; + } + } + } + finally + { + num4 = ((disabledDisposable == null) ? (-1250205725) : (-1250205728)); + while (true) + { + int num24 = num4; + num2 = -1250205726; + num3 = num24; + switch ((num3 | num2) - (num3 & num2)) + { + case 1: + goto end_IL_0426; + case 2: + _200F_202A_202A_200D_206A_200B_200E_206F_200F_202B_206D_200D_202B_202E_206C_206C_200C_200E_200B_206B_200C_206B_202C_200C_202B_202E_202D_206D_202E_200E_202A_200B_200C_200E_206F_200C_202B_206E_206E_202B_202E((IDisposable)disabledDisposable); + num4 = -1250205725; + break; + case 0: + num4 = -1250205728; + break; + } + continue; + end_IL_0426: + break; } } } else { - using (ImRaii.Disabled()) + disabledDisposable = _200C_206D_206E_202D_206D_200D_200D_206A_200D_206D_202D_206D_200F_206B_202C_202A_202C_200B_200B_206E_200C_206D_202C_200B_206D_206A_202D_200B_200E_200D_200F_200E_202E_202B_200C_206E_206A_202C_206F_200D_202E(!current.CanAdvance); + try { - using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) + num4 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.ArrowRight, global::_003CModule_003E._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(-2011722463), ButtonWidth(FontAwesomeIcon.ArrowRight, global::_003CModule_003E._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(-2011722463)))) ? 1847990145 : 1847990146); + while (true) { - ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Check, "Missing required plugins"); + int num25 = num4; + num2 = 1847990147; + num3 = num25; + int num26 = num3 + num2; + int num27 = num3 & num2; + switch (num26 - (num27 + num27)) + { + case 0: + num4 = 1847990146; + break; + case 1: + { + int currentIndex3 = _currentIndex; + num2 = 1; + num3 = currentIndex3; + int num28 = num3 ^ num2; + int num29 = num3 & num2; + _currentIndex = num28 + (num29 + num29); + num4 = 1847990145; + break; + } + case 2: + goto end_IL_04c5; + } + continue; + end_IL_04c5: + break; + } + } + finally + { + num4 = ((disabledDisposable == null) ? (-1209649959) : (-1209649958)); + while (true) + { + int num30 = num4; + num2 = -1209649957; + num3 = num30; + int num31 = num3 + num2; + int num32 = num3 & num2; + switch (num31 - (num32 + num32)) + { + case 0: + num4 = -1209649958; + break; + case 1: + _200F_202A_202A_200D_206A_200B_200E_206F_200F_202B_206D_200D_202B_202E_206C_206C_200C_200E_200B_206B_200C_206B_202C_200C_202B_202E_202D_206D_202E_200E_202A_200B_200C_200E_206F_200C_202B_206E_206E_202B_202E((IDisposable)disabledDisposable); + num4 = -1209649959; + break; + case 2: + goto end_IL_054c; + } + continue; + end_IL_054c: + break; } } } - ImGui.SameLine(); - if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Times, "Close window & don't enable Questionable")) + _206D_200B_202E_200F_206D_202B_206E_206C_200F_206C_200D_200D_206B_202C_200C_206C_206E_200D_206F_202D_200D_206D_206D_206E_206F_202E_202A_202A_202B_202A_206C_206F_200B_200F_202C_200B_200E_206B_200F_200E_202E(); + num4 = (_configuration.IsPluginSetupComplete() ? (-1034666289) : (-1034666290)); + while (true) { - _logger.LogWarning("Closing window without all required plugins installed"); - base.IsOpen = false; + int num33 = num4; + num2 = -1034666294; + num3 = num33; + string text; + string text2; + switch ((num3 | num2) - (num3 & num2)) + { + case 5: + text = global::_003CModule_003E._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(-431798985); + goto IL_060c; + case 1: + _206F_202B_202D_202B_202C_200F_206E_206A_206E_206C_202B_202E_206B_200D_200B_206F_202B_206D_206D_206B_206A_202D_206E_206D_206C_200C_200E_200C_202C_200D_200E_206F_200F_200F_202D_200D_200B_206A_200B_200F_202E((ILogger)_logger, global::_003CModule_003E._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(-1502282868), Array.Empty()); + num4 = -1034666292; + break; + case 2: + num4 = -1034666290; + break; + case 4: + text = global::_003CModule_003E._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(-1567427430); + goto IL_060c; + case 0: + num4 = (_configuration.IsPluginSetupComplete() ? (-1034666292) : (-1034666293)); + break; + case 3: + return; + case 6: + { + RequestClose(); + num4 = -1034666295; + break; + } + IL_060c: + text2 = text; + num4 = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Times, text2, ButtonWidth(FontAwesomeIcon.Times, text2))) ? (-1034666295) : (-1034666294)); + break; + } + } + static float ButtonWidth(FontAwesomeIcon icon, string text3) + { + ImRaii.FontDisposable fontDisposable = _202C_202E_200B_206A_200B_202D_200D_202D_202B_200B_206B_202B_202B_200B_206A_206D_200E_200C_206F_200B_202D_202A_202A_200F_200E_202E_202D_206C_206F_206B_202D_206F_202C_206A_202A_202A_202D_202A_202C_200E_202E(_206D_206C_202D_202B_200E_206F_200E_200F_200C_206D_202B_200C_206D_200B_206E_206F_200F_202A_206C_202C_206D_206C_200D_206A_200E_202A_202E_200E_200F_200B_206F_200C_200D_206F_200B_202C_206A_206D_202C_200C_202E(), true); + float x; + try + { + x = _200D_200B_206A_206F_202A_206F_206F_206F_202A_200B_200B_202A_200F_206F_206E_206A_200D_200D_202A_206C_200B_202E_206E_202E_202B_200F_206D_202D_200D_202E_200E_200F_206B_200E_200F_206C_200B_202B_200C_202E_202E((ImU8String)_206E_200C_200F_206A_206D_206C_206C_202B_200C_206C_206B_206B_202C_206F_200F_202D_206E_206D_206A_200D_206E_206D_202E_206B_206C_206E_202A_206A_206E_200C_202B_206C_202C_202B_200E_206D_200B_206A_206D_200E_202E(icon), false, -1f).X; + } + finally + { + int num34 = ((fontDisposable == null) ? 501543268 : 501543269); + while (true) + { + int num35 = num34; + int num36 = 501543268; + int num37 = num35; + int num38 = num37 + num36; + int num39 = num37 & num36; + switch (num38 - (num39 + num39)) + { + case 2: + num34 = 501543269; + break; + case 1: + _200F_202A_202A_200D_206A_200B_200E_206F_200F_202B_206D_200D_202B_202E_206C_206C_200C_200E_200B_206B_200C_206B_202C_200C_202B_202E_202D_206D_202E_200E_202A_200B_200C_200E_206F_200C_202B_206E_206E_202B_202E((IDisposable)fontDisposable); + num34 = 501543268; + break; + case 0: + goto end_IL_004b; + } + continue; + end_IL_004b: + break; + } + } + float x2 = _200D_200B_206A_206F_202A_206F_206F_206F_202A_200B_200B_202A_200F_206F_206E_206A_200D_200D_202A_206C_200B_202E_206E_202E_202B_200F_206D_202D_200D_202E_200E_200F_206B_200E_200F_206C_200B_202B_200C_202E_202E((ImU8String)text3, false, -1f).X; + return x + 6f + x2 + _206C_206A_202C_202B_206C_206D_202E_206D_200D_202D_206B_206C_202D_206D_202C_206C_202B_206B_202B_200F_206D_206B_206A_206E_202D_206A_206F_200F_206D_202E_206F_200B_200D_206F_200C_200F_206A_200C_206E_206A_202E().FramePadding.X * 2f; } } + + void _206B_206F_202D_200B_200C_202D_206D_206B_206F_200C_202D_206D_200F_200B_202A_206A_202B_202D_206B_206E_200F_200B_200F_202E_202A_200D_206D_206A_200F_200C_202D_206B_202C_206A_202C_206B_206C_206B_200B_202B_202E(bool P_0) + { + base.RespectCloseHotkey = P_0; + } + + void _200C_206B_202B_206A_202C_202E_200C_206D_206B_206C_206B_200F_202B_206D_202C_202C_200D_200D_202C_200C_206D_202E_206F_202A_206C_206D_202A_200F_202E_200B_200B_200F_202C_202B_206A_206D_206A_200C_206B_202D_202E(bool P_0) + { + base.ShowCloseButton = P_0; + } + + void _200B_200C_206E_200C_202E_200F_202E_206E_200F_206F_200B_202B_200D_206B_206C_200B_200F_202B_200B_200F_202E_200C_206A_206F_200B_202E_206B_200D_202C_202E_200E_200F_206F_206B_206F_200D_206E_206B_206D_200D_202E(bool P_0) + { + base.AllowPinning = P_0; + } + + void _200F_200F_202E_200B_206F_202C_206A_202E_206E_206D_206F_206F_200E_200F_200B_202C_202C_202C_206F_206A_202B_202C_206E_202D_206B_200D_200F_202D_206B_202E_206E_202B_200D_206C_202A_202C_200C_202D_200E_202D_202E(bool P_0) + { + base.AllowClickthrough = P_0; + } + + void _206C_200D_206D_202B_206B_202E_206D_200F_202B_206B_206D_202E_200E_202A_200F_200F_200B_206B_206F_206F_206E_202E_202E_200E_206A_202B_200E_200E_202A_200B_206E_202D_206C_206C_200F_200F_200F_206E_206D_206B_202E(bool P_0) + { + base.IsOpen = P_0; + } + + bool _206D_202B_202D_206C_206B_202D_206F_206A_206F_200C_206A_206C_206A_202B_206C_200E_200C_202A_202A_206D_200D_200E_206E_206B_200D_202D_200B_200C_200C_202D_202D_200F_206E_200F_200E_200C_200F_206C_206D_202E_202E() + { + return base.IsOpen; + } + + static void _202E_200F_202A_200C_206A_202E_200B_206F_206D_200F_206A_206F_202C_200E_200C_202C_206C_206B_202E_206E_200F_206F_202C_202E_206B_200C_200F_202C_206F_200F_206B_200D_202E_200C_200E_200C_202A_202A_200F_206A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static int _206A_200B_200B_206A_206B_206E_206D_206C_202B_200E_202B_200F_202D_206D_206B_202D_206B_200D_206E_202E_206F_202E_202D_202E_202C_206A_206B_206F_202E_206D_202D_206D_200E_206E_200E_206C_206A_202B_206F_200C_202E(int P_0, int P_1, int P_2) + { + return Math.Clamp(P_0, P_1, P_2); + } + + static void _202D_200E_202B_206C_202C_200E_206A_202E_200C_202C_202C_206D_206F_200B_200C_206A_202D_202A_200E_200B_206D_206C_200D_200D_206B_206C_202B_202A_202D_200D_206D_200E_206D_200C_200E_202B_202B_202A_206E_202B_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _206D_200B_202E_200F_206D_202B_206E_206C_200F_206C_200D_200D_206B_202C_200C_206C_206E_200D_206F_202D_200D_206D_206D_206E_206F_202E_202A_202A_202B_202A_206C_206F_200B_200F_202C_200B_200E_206B_200F_200E_202E() + { + ImGui.SameLine(); + } + + static float _202C_202C_206B_202E_206A_202D_202D_200E_206D_200D_202C_200D_206A_200D_206A_206C_206D_202D_206E_202D_200D_206A_202E_206B_200B_206C_200B_206B_206F_202A_200F_206C_200F_202C_202C_206E_200E_206C_202B_200F_202E() + { + return ImGuiHelpers.GlobalScale; + } + + static float _206B_206B_202B_200C_202B_206C_202A_206D_206B_202E_202A_206F_202E_200B_206F_206F_200E_200C_202C_206B_206D_206A_206E_206F_202C_202B_200C_206F_206F_200D_206E_200E_206C_200E_206F_200C_202E_206D_200B_202C_202E() + { + return ImGui.GetTextLineHeight(); + } + + static ImDrawListPtr _202E_206B_202D_202E_206C_206F_206B_202A_206B_202C_206B_206E_202B_206F_200B_202B_200C_200F_200C_202B_202A_200F_200B_202D_202B_206D_202E_202E_202B_202A_200D_206E_202D_206B_202D_202C_200E_200F_206B_206C_202E() + { + return ImGui.GetWindowDrawList(); + } + + static Vector2 _202E_202D_202A_202A_200D_202D_200D_202C_200C_206F_200B_206C_206B_206E_200D_200B_206C_200B_202D_202B_206A_202D_200F_202C_202A_200D_200D_200D_202E_206C_200F_202D_200D_202D_200D_202B_200F_202E_202E_206A_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static uint _206D_206D_206E_202B_206A_200E_200F_206D_202B_206B_200E_200E_206C_200B_206D_200E_200D_206F_206E_202A_202D_202A_206C_200D_202E_206A_206E_202C_206B_206A_206C_202A_200E_200E_206C_206F_206C_206B_200E_200E_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static void _202B_200E_206C_200E_206E_202B_200D_200D_206E_200D_206E_206F_206B_206D_202D_202C_206D_206A_206B_206A_206E_202B_202B_206F_200C_206E_206C_200C_206D_202C_206C_200E_206B_202A_200E_200D_200C_206F_206C_206D_202E(Vector2 P_0) + { + ImGui.Dummy(P_0); + } + + static ImRaii.DisabledDisposable _200C_206D_206E_202D_206D_200D_200D_206A_200D_206D_202D_206D_200F_206B_202C_202A_202C_200B_200B_206E_200C_206D_202C_200B_206D_206A_202D_200B_200E_200D_200F_200E_202E_202B_200C_206E_206A_202C_206F_200D_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static void _200F_202A_202A_200D_206A_200B_200E_206F_200F_202B_206D_200D_202B_202E_206C_206C_200C_200E_200B_206B_200C_206B_202C_200C_202B_202E_202D_206D_202E_200E_202A_200B_200C_200E_206F_200C_202B_206E_206E_202B_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ImRaii.ColorDisposable _200B_202E_202C_206B_202C_200C_200E_202A_202B_206F_200E_206D_202D_200F_200F_206F_200E_202E_202A_200C_206E_206C_202A_202D_202A_202E_202E_200F_200D_202E_200D_206B_200C_202E_202B_202C_206C_202E_206D_206C_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static void _202C_200C_202B_202A_202E_202D_206F_202D_206A_202C_206E_206C_206D_200B_206A_206C_200C_206F_200C_200C_202C_206E_206E_206B_200C_202A_206C_200B_202C_200C_206E_206B_202D_200B_202B_202C_206F_202B_200C_200D_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); + } + + static void _206F_202B_202D_202B_202C_200F_206E_206A_206E_206C_202B_202E_206B_200D_200B_206F_202B_206D_206D_206B_206A_202D_206E_206D_206C_200C_200E_200C_202C_200D_200E_206F_200F_200F_202D_200D_200B_206A_200B_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static ImFontPtr _206D_206C_202D_202B_200E_206F_200E_200F_200C_206D_202B_200C_206D_200B_206E_206F_200F_202A_206C_202C_206D_206C_200D_206A_200E_202A_202E_200E_200F_200B_206F_200C_200D_206F_200B_202C_206A_206D_202C_200C_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _202C_202E_200B_206A_200B_202D_200D_202D_202B_200B_206B_202B_202B_200B_206A_206D_200E_200C_206F_200B_202D_202A_202A_200F_200E_202E_202D_206C_206F_206B_202D_206F_202C_206A_202A_202A_202D_202A_202C_200E_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _206E_200C_200F_206A_206D_206C_206C_202B_200C_206C_206B_206B_202C_206F_200F_202D_206E_206D_206A_200D_206E_206D_202E_206B_206C_206E_202A_206A_206E_200C_202B_206C_202C_202B_200E_206D_200B_206A_206D_200E_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _200D_200B_206A_206F_202A_206F_206F_206F_202A_200B_200B_202A_200F_206F_206E_206A_200D_200D_202A_206C_200B_202E_206E_202E_202B_200F_206D_202D_200D_202E_200E_200F_206B_200E_200F_206C_200B_202B_200C_202E_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static ImGuiStylePtr _206C_206A_202C_202B_206C_206D_202E_206D_200D_202D_206B_206C_202D_206D_202C_206C_202B_206B_202B_200F_206D_206B_206A_206E_202D_206A_206F_200F_206D_202E_206F_200B_200D_206F_200C_200F_206A_200C_206E_206A_202E() + { + return ImGui.GetStyle(); + } } diff --git a/Questionable/Questionable.Windows/QuestSelectionWindow.cs b/Questionable/Questionable.Windows/QuestSelectionWindow.cs index e093d3f0..cc68de2c 100644 --- a/Questionable/Questionable.Windows/QuestSelectionWindow.cs +++ b/Questionable/Questionable.Windows/QuestSelectionWindow.cs @@ -1,17 +1,21 @@ +using System; +using System.Collections; using System.Collections.Generic; using System.Linq; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Game.ClientState.Objects.Types; +using Dalamud.Game.Text.SeStringHandling; using Dalamud.Interface; -using Dalamud.Interface.Colors; -using Dalamud.Interface.Components; +using Dalamud.Interface.ManagedFontAtlas; using Dalamud.Interface.Utility.Raii; using Dalamud.Interface.Windowing; using Dalamud.Plugin; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game.UI; using FFXIVClientStructs.FFXIV.Client.UI; +using FFXIVClientStructs.STD.ContainerInterface; using LLib.GameUI; using LLib.ImGui; using Questionable.Controller; @@ -24,8 +28,90 @@ using Questionable.Windows.QuestComponents; namespace Questionable.Windows; -internal sealed class QuestSelectionWindow : LWindow +internal sealed class QuestSelectionWindow : ThemedWindow { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass22_0 + { + public uint territoryId; + + public QuestSelectionWindow _003C_003E4__this; + + internal bool _003COpenForCurrentZone_003Eb__0(Quest x) + { + QuestSequence? questSequence = x.FindSequence(0); + ushort? obj; + if (questSequence == null) + { + obj = null; + } + else + { + QuestStep questStep = _202C_202A_206C_202E_202A_206B_206D_206F_206C_206E_200C_206F_206D_202B_202C_202C_206C_200F_202C_200C_202B_202D_206A_200B_202D_206F_202D_200D_206F_200B_202D_200D_200B_206E_202B_200E_202E_206C_206A_206F_202E(questSequence, 0); + obj = ((questStep != null) ? new ushort?(_200B_200D_206A_202C_202E_206E_206C_200E_200D_202A_200E_206C_206B_202B_202E_206E_202E_200F_202E_200E_200F_202B_200C_206B_202C_206F_200B_206A_202E_206F_202C_206F_200D_202E_200D_206B_206D_200E_200D_206D_202E(questStep)) : ((ushort?)null)); + } + ushort? num = obj; + int num2 = (num.HasValue ? 1950860831 : 1950860828); + uint? obj2; + while (true) + { + int num3 = num2; + int num4 = 1950860829; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 2: + obj2 = num.GetValueOrDefault(); + break; + case 1: + obj2 = null; + break; + case 0: + goto IL_00d6; + } + break; + IL_00d6: + num2 = 1950860828; + } + return obj2 == territoryId; + } + + internal IQuestInfo _003COpenForCurrentZone_003Eb__1(Quest x) + { + return _003C_003E4__this._questData.GetQuestInfo(x.Id); + } + + static QuestStep _202C_202A_206C_202E_202A_206B_206D_206F_206C_206E_200C_206F_206D_202B_202C_202C_206C_200F_202C_200C_202B_202D_206A_200B_202D_206F_202D_200D_206F_200B_202D_200D_200B_206E_202B_200E_202E_206C_206A_206F_202E(QuestSequence P_0, int P_1) + { + return P_0.FindStep(P_1); + } + + static ushort _200B_200D_206A_202C_202E_206E_206C_200E_200D_202A_200E_206C_206B_202B_202E_206E_202E_200F_202E_200E_200F_202B_200C_206B_202C_206F_200B_206A_202E_206F_202C_206F_200D_202E_200D_206B_206D_200E_200D_206D_202E(QuestStep P_0) + { + return P_0.TerritoryId; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass22_1 + { + public QuestId questId; + + internal bool _003COpenForCurrentZone_003Eb__2(IQuestInfo q) + { + return _206C_202C_206D_206F_200C_200C_202B_206B_200F_200C_200E_202D_206E_200B_202B_206B_206D_200C_202D_206C_206F_206E_206B_202B_202D_200C_206C_200D_206F_206D_206C_200C_200C_202D_200D_200B_202D_202E_200B_206D_202E(q.QuestId, (ElementId)questId); + } + + static bool _206C_202C_206D_206F_200C_200C_202B_206B_200F_200C_200E_202D_206E_200B_202B_206B_206D_200C_202D_206C_206F_206E_206B_202B_202D_200C_206C_200D_206F_206D_206C_200C_200C_202D_200D_200B_202D_202E_200B_206D_202E(ElementId P_0, ElementId P_1) + { + return P_0 != P_1; + } + } + private const string WindowId = "###QuestionableQuestSelection"; private readonly QuestData _questData; @@ -38,6 +124,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,73 +150,177 @@ 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) - : base("Quest Selection###QuestionableQuestSelection") + private string _searchText = string.Empty; + + [MethodImpl(MethodImplOptions.NoInlining)] + 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(global::_003CModule_003E._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(-525755755)) { _questData = questData; _gameGui = gameGui; _chatGui = chatGui; _questFunctions = questFunctions; _questController = questController; + _fateController = fateController; + _seasonalDutyController = seasonalDutyController; + _customDeliveryController = customDeliveryController; + _attunementController = attunementController; _questRegistry = questRegistry; _pluginInterface = pluginInterface; _territoryData = territoryData; _clientState = clientState; _uiUtils = uiUtils; _questTooltipComponent = questTooltipComponent; - base.Size = new Vector2(500f, 200f); - base.SizeCondition = ImGuiCond.Once; - base.SizeConstraints = new WindowSizeConstraints + _206F_202B_202C_206B_202E_202E_206B_206C_200E_202A_200E_202B_200E_200E_202E_200C_206E_202A_206D_206B_200E_200F_206E_200E_206A_206A_200D_200D_200D_206A_206E_202A_202E_202B_202D_206D_200E_206E_206F_202B_202E((Vector2?)new Vector2(500f, 200f)); + _202E_200D_206C_202A_200B_206E_206F_206B_202E_206A_206A_202C_200D_200B_206D_200C_202B_202E_206D_202C_202D_202E_206C_200E_200C_202A_206C_202E_200D_202D_202B_206C_200D_200F_202E_206F_202E_206F_206A_206D_202E(ImGuiCond.Once); + _200E_202A_202E_202B_202C_200E_206C_202D_206A_206B_202C_202A_200C_200E_206E_202D_202E_206D_202B_206D_202A_200C_206C_200E_202D_200B_206A_202E_202B_206E_202E_200D_202D_202B_202E_202A_200B_200E_200B_200C_202E((WindowSizeConstraints?)new WindowSizeConstraints { MinimumSize = new Vector2(500f, 200f) - }; + }); } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void OpenForTarget(IGameObject? gameObject) { - if (gameObject != null) + int num = ((gameObject == null) ? 544754768 : 544754772); + AddonSelectIconString* addonPtr = default(AddonSelectIconString*); + while (true) { - uint baseId = gameObject.BaseId; - string value = gameObject.Name.ToString(); - base.WindowName = $"Quests starting with {value} [{baseId}]{"###QuestionableQuestSelection"}"; - _quests = _questData.GetAllByIssuerDataId(baseId); - if (_gameGui.TryGetAddonByName("SelectIconString", out var addonPtr)) + int num2 = num; + int num3 = 544754769; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _quests = new List(); + _offeredQuests = new List(); + num = 544754770; + break; + case 3: + _200C_200C_206A_206A_202C_206B_202D_200D_206B_206C_206F_200B_206C_206E_202C_200D_202A_202B_202E_202A_206B_206B_200F_202C_200D_200F_200B_200E_206F_206B_206B_200C_202C_200E_202C_206A_202A_202E_206B_200E_202E((LWindow)this, _quests.Count > 0); + return; + case 5: + { + uint num5 = _200B_206A_206D_206B_206E_206D_206A_202B_202C_202C_206B_202B_202B_202D_206D_206F_200D_202E_202B_202C_206C_206D_202C_200B_200C_200C_200F_200E_200F_206F_200B_202E_206F_202D_202A_206B_206F_206E_206D_206E_202E(gameObject); + string value = _206E_200D_202C_206A_200C_206A_202C_206C_202A_200E_202C_202D_206B_206A_206B_206C_200E_200E_206A_202B_202E_206D_206D_202A_206E_202C_202D_202D_206C_200D_202E_200E_200B_200F_202A_202D_206E_206E_202E_200F_202E((object)_202C_206E_202A_206C_202E_206C_202E_200D_206D_206E_206C_202A_206F_202C_206D_206D_200D_206E_206C_202B_202B_200D_202A_202B_202A_202D_206A_206B_202A_202C_206D_200F_200D_206F_206E_202B_206B_200B_202E_202B_202E(gameObject)); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(24, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-447241864)); + defaultInterpolatedStringHandler.AppendFormatted(value); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1769099191)); + defaultInterpolatedStringHandler.AppendFormatted(num5); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1851437460)); + defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._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(2125329779)); + _200D_200E_200F_200C_206F_200E_202D_206D_206D_202A_200E_206B_202E_202B_200F_200D_202E_206F_202C_206C_202D_206F_202C_200E_200F_206A_200F_206A_200B_202E_206B_206D_202C_206F_206C_206F_200D_206F_200F_202E(defaultInterpolatedStringHandler.ToStringAndClear()); + _quests = _questData.GetAllByIssuerDataId(num5); + num = ((!_gameGui.TryGetAddonByName(global::_003CModule_003E._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(1216084341), out addonPtr)) ? 544754773 : 544754769); + break; + } + case 4: + _offeredQuests = new List(); + num = 544754770; + break; + case 2: + num = 544754772; + break; + case 0: { List answers = InteractionUiController.GetChoices(addonPtr); _offeredQuests = _quests.Where((IQuestInfo x) => answers.Any((string y) => GameFunctions.GameStringEquals(x.Name, y))).ToList(); + num = 544754770; + break; } - else - { - _offeredQuests = new List(); } } - else - { - _quests = new List(); - _offeredQuests = new List(); - } - base.IsOpenAndUncollapsed = _quests.Count > 0; } + [MethodImpl(MethodImplOptions.NoInlining)] public unsafe void OpenForCurrentZone() { - uint territoryId = _clientState.TerritoryType; + uint territoryId = _200C_202C_206B_200E_206E_206C_202A_206A_200D_202A_202E_202B_200D_202A_202E_206C_202D_200D_200F_206A_206C_200D_206B_202C_202B_200E_200F_206E_200E_200B_202D_202A_206E_200B_202E_202B_200E_206A_206E_206A_202E(_clientState); string nameAndId = _territoryData.GetNameAndId(territoryId); - base.WindowName = "Quests starting in " + nameAndId + "###QuestionableQuestSelection"; - _quests = (from x in _questRegistry.AllQuests - where x.FindSequence(0)?.FindStep(0)?.TerritoryId == territoryId - select _questData.GetQuestInfo(x.Id)).ToList(); - foreach (ref MarkerInfo unacceptedQuestMarker in Map.Instance()->UnacceptedQuestMarkers) - { - MarkerInfo current = unacceptedQuestMarker; - QuestId questId = QuestId.FromRowId(current.ObjectiveId); - if (_quests.All((IQuestInfo q) => q.QuestId != questId)) + _200D_200E_200F_200C_206F_200E_202D_206D_206D_202A_200E_206B_202E_202B_200F_200D_202E_206F_202C_206C_202D_206F_202C_200E_200F_206A_200F_206A_200B_202E_206B_206D_202C_206F_206C_206F_200D_206F_200F_202E(_202E_200F_200F_200C_202B_202A_200D_200B_206B_200E_202B_200B_200E_206F_206F_206A_202B_200D_206F_202B_200D_206B_200B_206E_206D_206C_206E_206D_200F_206E_200B_206B_202A_200B_200E_206E_202E_206F_206B_206A_202E(global::_003CModule_003E._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(-1676860164), nameAndId, global::_003CModule_003E._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(-1718139075))); + _quests = (from x in _questRegistry.AllQuests.Where(delegate(Quest x) { - _quests.Add(_questData.GetQuestInfo(questId)); + QuestSequence? questSequence = x.FindSequence(0); + ushort? obj; + if (questSequence == null) + { + obj = null; + } + else + { + QuestStep questStep = _003C_003Ec__DisplayClass22_0._202C_202A_206C_202E_202A_206B_206D_206F_206C_206E_200C_206F_206D_202B_202C_202C_206C_200F_202C_200C_202B_202D_206A_200B_202D_206F_202D_200D_206F_200B_202D_200D_200B_206E_202B_200E_202E_206C_206A_206F_202E(questSequence, 0); + obj = ((questStep != null) ? new ushort?(_003C_003Ec__DisplayClass22_0._200B_200D_206A_202C_202E_206E_206C_200E_200D_202A_200E_206C_206B_202B_202E_206E_202E_200F_202E_200E_200F_202B_200C_206B_202C_206F_200B_206A_202E_206F_202C_206F_200D_202E_200D_206B_206D_200E_200D_206D_202E(questStep)) : ((ushort?)null)); + } + ushort? num5 = obj; + int num6 = (num5.HasValue ? 1950860831 : 1950860828); + uint? obj2; + while (true) + { + int num7 = num6; + int num8 = 1950860829; + int num9 = num7; + int num10 = num9 + num8; + int num11 = num9 & num8; + switch (num10 - (num11 + num11)) + { + default: + continue; + case 2: + obj2 = num5.GetValueOrDefault(); + break; + case 1: + obj2 = null; + break; + case 0: + goto IL_00d6; + } + break; + IL_00d6: + num6 = 1950860828; + } + return obj2 == territoryId; + }) + select _questData.GetQuestInfo(x.Id)).ToList(); + using (IStdList.Enumerator enumerator = Map.Instance()->UnacceptedQuestMarkers.GetEnumerator()) + { + int num = -680894682; + _003C_003Ec__DisplayClass22_1 _003C_003Ec__DisplayClass22_ = default(_003C_003Ec__DisplayClass22_1); + while (true) + { + int num2 = num; + int num3 = -680894683; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + _quests.Add(_questData.GetQuestInfo(_003C_003Ec__DisplayClass22_.questId)); + num = -680894682; + break; + case 1: + { + MarkerInfo current = enumerator.Current; + _003C_003Ec__DisplayClass22_ = new _003C_003Ec__DisplayClass22_1(); + _003C_003Ec__DisplayClass22_.questId = _206A_202C_200C_206B_200E_206C_200E_206E_202A_202D_206E_200D_202C_200B_202B_200D_200F_202A_206C_206B_202D_200B_206A_200F_202E_206F_200F_206A_200B_200F_202C_202B_206A_202B_200E_202C_200B_202D_206A_202D_202E(current.ObjectiveId); + num = ((!_quests.All(_003C_003Ec__DisplayClass22_._003COpenForCurrentZone_003Eb__2)) ? (-680894682) : (-680894687)); + break; + } + case 3: + num = (enumerator.MoveNext() ? (-680894684) : (-680894683)); + break; + case 2: + num = -680894682; + break; + case 0: + goto end_IL_00a4; + } + continue; + end_IL_00a4: + break; } } _offeredQuests = new List(); - base.IsOpenAndUncollapsed = true; + _200C_200C_206A_206A_202C_206B_202D_200D_206B_206C_206F_200B_206C_206E_202C_200D_202A_202B_202E_202A_206B_206B_200F_202C_200D_200F_200B_200E_206F_206B_206B_200C_202C_200E_202C_206A_202A_202E_206B_200E_202E((LWindow)this, true); } public override void OnClose() @@ -131,138 +329,900 @@ internal sealed class QuestSelectionWindow : LWindow _offeredQuests = new List(); } + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawContent() { - if (_offeredQuests.Count != 0) + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SearchInput(global::_003CModule_003E._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(1199850857), ref _searchText, -13f, global::_003CModule_003E._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(-1896051322)); + int num = ((_offeredQuests.Count == 0) ? 1546937917 : 1546937916); + IEnumerable enumerable = default(IEnumerable); + EInteractionType? eInteractionType = default(EInteractionType?); + while (true) { - ImGui.Checkbox("Only show quests currently offered", ref _onlyAvailableQuests); - } - using ImRaii.TableDisposable tableDisposable = ImRaii.Table("QuestSelection", 4, ImGuiTableFlags.Borders | ImGuiTableFlags.ScrollY); - if (!tableDisposable) - { - 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()) + int num2 = num; + int num3 = 1546937917; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - ImGui.AlignTextToFramePadding(); - ImGui.TextUnformatted(text); - } - if (ImGui.TableNextColumn()) + case 2: + num = 1546937916; + break; + case 1: + UiThemeUtils.WrappedCheckbox(global::_003CModule_003E._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(687535050), ref _onlyAvailableQuests); + num = 1546937917; + break; + case 0: { - ImGui.AlignTextToFramePadding(); - var (col, icon, _) = _uiUtils.GetQuestStyle(item.QuestId); - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) + using (ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(438503370), 4, ImGuiTableFlags.ScrollY)) { - if (flag) + if ((bool)tableDisposable) { - ImGui.TextColored(in col, icon.ToIconString()); - } - else - { - ImGui.TextColored(ImGuiColors.DalamudGrey, icon.ToIconString()); + IDisposable disposable = _202B_200F_200D_206D_202E_206D_200D_206B_206F_200D_200C_200F_206C_206B_200C_206B_200D_206B_200E_206E_206E_200F_200F_206E_206A_202C_200D_206B_206C_202A_200B_200C_200E_202B_206D_202B_202C_202C_206B_200E_202E(_200B_206C_206D_206B_200C_206C_200B_202C_202D_206B_202E_200C_200B_200E_202D_200D_202A_200B_202D_206B_202D_206B_200F_202E_202D_202D_202A_206F_206B_206D_200E_206D_206C_206C_200E_200E_206B_206C_206B_200D_202E(_202D_200F_206A_200D_206C_206F_206D_206B_206F_206F_206B_202B_206A_200F_200B_202C_200C_200E_202D_206D_206A_206F_206C_202D_206A_202C_206D_200D_206D_206E_206C_200F_206D_200E_206D_202C_200D_206E_200B_200F_202E(_pluginInterface))); + float x; + try + { + x = _200B_202B_200F_206C_200F_206F_200F_202C_206B_202A_206C_200B_202E_200F_206B_200B_206D_206C_202A_202B_200E_206E_202C_202A_202D_206C_200F_202D_206A_206B_200D_206F_200F_206B_200F_200D_206B_200C_206B_206F_202E((ImU8String)_200D_202A_202B_200C_200F_200B_202D_200B_202E_206B_202D_200F_206A_200D_202C_200B_200B_200D_200C_206C_202B_200B_206B_202E_206B_202D_206D_200C_200C_202C_206B_206C_200E_200C_206A_206A_200D_202D_202C_206B_202E(FontAwesomeIcon.Copy), false, -1f).X; + } + finally + { + num = ((disposable == null) ? (-8163862) : (-8163861)); + while (true) + { + int num5 = num; + num3 = -8163862; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + goto end_IL_013e; + case 1: + _202D_202A_206F_206D_206C_202B_202D_202B_206D_206F_202E_200B_200B_200F_202B_206B_206B_206A_200C_206A_206A_206E_206D_206F_202C_200E_206B_206E_200B_200C_206A_206F_200E_202D_206A_206C_202B_200D_200C_206D_202E(disposable); + num = -8163862; + break; + case 2: + num = -8163861; + break; + } + continue; + end_IL_013e: + break; + } + } + float num8 = 3f * _202E_202A_200B_200B_206E_202A_202B_202A_202C_202B_206D_200F_206F_202D_206F_206B_200B_206C_202C_202C_202D_200D_200F_202E_202B_202C_200F_200B_206B_202C_200E_202A_200E_206C_206B_200C_206B_200C_206D_206E_202E() + 2f * _202D_200E_202A_200B_200F_202B_202E_200D_202D_206D_206F_202B_202B_200C_202D_202B_200E_202D_200F_200D_200D_202C_206E_206B_202C_202E_202D_206D_206E_206C_202B_202B_202D_202E_202C_200E_200F_206A_202E_202C_202E().ItemSpacing.X; + _200C_202E_202C_206A_202B_202B_206D_206E_206A_200D_200D_200D_202D_202B_202B_202D_202A_200C_202C_206E_202E_206E_206C_206C_206B_206A_206F_200F_200B_206E_206B_200C_200D_202A_200F_206F_200E_202A_206B_206E_202E((ImU8String)global::_003CModule_003E._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(900300017), ImGuiTableColumnFlags.WidthFixed, 50f * _202D_202B_200C_200F_202A_200B_200D_206C_206D_200B_200C_206A_200C_206A_202A_200F_206B_200B_206C_206A_206E_200D_206B_206E_200D_202B_206B_206B_206B_202B_202C_202D_200F_202C_200E_206B_200C_206C_202A_202D_202E().FontGlobalScale, 0u); + _200C_202E_202C_206A_202B_202B_206D_206E_206A_200D_200D_200D_202D_202B_202B_202D_202A_200C_202C_206E_202E_206E_206C_206C_206B_206A_206F_200F_200B_206E_206B_200C_200D_202A_200F_206F_200E_202A_206B_206E_202E((ImU8String)global::_003CModule_003E._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(-87324410), ImGuiTableColumnFlags.WidthFixed, x, 0u); + _200C_202E_202C_206A_202B_202B_206D_206E_206A_200D_200D_200D_202D_202B_202B_202D_202A_200C_202C_206E_202E_206E_206C_206C_206B_206A_206F_200F_200B_206E_206B_200C_200D_202A_200F_206F_200E_202A_206B_206E_202E((ImU8String)global::_003CModule_003E._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(1033927912), ImGuiTableColumnFlags.None, 200f, 0u); + _200C_202E_202C_206A_202B_202B_206D_206E_206A_200D_200D_200D_202D_202B_202B_202D_202A_200C_202C_206E_202E_206E_206C_206C_206B_206A_206F_200F_200B_206E_206B_200C_200D_202A_200F_206F_200E_202A_206B_206E_202E((ImU8String)global::_003CModule_003E._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(1823893311), ImGuiTableColumnFlags.WidthFixed, num8, 0u); + _200E_202D_200B_200B_206C_206A_200C_200B_206A_202A_200D_206F_202A_202D_200F_206A_206E_202C_202E_200B_202E_200C_206F_200D_206F_200B_200B_206E_200D_202A_206B_206A_200D_202A_200D_206E_206D_206F_202D_202D_202E(); + num = ((_offeredQuests.Count == 0) ? 1384381590 : 1384381588); + while (true) + { + int num9 = num; + num3 = 1384381591; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + List list; + switch (num10 - (num11 + num11)) + { + case 1: + list = _quests; + goto IL_02fd; + case 3: + num = (_onlyAvailableQuests ? 1384381586 : 1384381590); + break; + case 4: + enumerable = enumerable.Where(delegate(IQuestInfo q) + { + int num34 = (_202D_206F_202D_206D_206D_202B_200C_206C_202A_206D_202C_200F_206B_206B_200E_206F_206B_202A_206A_202C_200D_200E_202E_200D_200D_206F_206F_202E_206C_200F_206B_202E_200F_200C_200C_206E_200E_202D_200E_200D_202E(q.Name, _searchText, StringComparison.OrdinalIgnoreCase) ? (-825866346) : (-825866345)); + while (true) + { + int num35 = num34; + int num36 = -825866346; + int num37 = num35; + switch ((num37 | num36) - (num37 & num36)) + { + case 2: + goto IL_0052; + case 0: + return true; + case 1: + return _202D_206F_202D_206D_206D_202B_200C_206C_202A_206D_202C_200F_206B_206B_200E_206F_206B_202A_206A_202C_200D_200E_202E_200D_200D_206F_206F_202E_206C_200F_206B_202E_200F_200C_200C_206E_200E_202D_200E_200D_202E(_206E_200D_202C_206A_200C_206A_202C_206C_202A_200E_202C_202D_206B_206A_206B_206C_200E_200E_206A_202B_202E_206D_206D_202A_206E_202C_202D_202D_206C_200D_202E_200E_200B_200F_202A_202D_206E_206E_202E_200F_202E((object)q.QuestId), _searchText, StringComparison.OrdinalIgnoreCase); + } + continue; + IL_0052: + num34 = -825866345; + } + }); + num = 1384381589; + break; + case 0: + num = 1384381588; + break; + case 5: + list = _offeredQuests; + goto IL_02fd; + case 2: + { + IEnumerator enumerator = enumerable.GetEnumerator(); + try + { + while (_202E_206C_206A_206A_200F_200F_206F_206A_206C_202D_206C_206A_200C_206A_206D_202B_202D_206E_206A_206B_202B_202B_200B_202D_206F_202A_200D_206D_206E_200F_202A_202B_202A_206A_200B_200F_206C_200E_206D_206F_202E((IEnumerator)enumerator)) + { + IQuestInfo current = enumerator.Current; + _202E_206A_206A_202E_202A_202A_200D_200F_206C_206E_206E_200D_206B_206F_206C_202E_200E_200C_202A_200B_206F_206F_206F_206A_200E_202D_202B_206B_200C_206B_202E_206C_200C_206C_202C_200E_202C_200E_200B_202D_202E(); + string text = _206E_200D_202C_206A_200C_206A_202C_206C_202A_200E_202C_202D_206B_206A_206B_206C_200E_200E_206A_202B_202E_206D_206D_202A_206E_202C_202D_202D_206C_200D_202E_200E_200B_200F_202A_202D_206E_206E_202E_200F_202E((object)current.QuestId); + Quest quest; + bool flag = _questRegistry.TryGetQuest(current.QuestId, out quest); + if (_206A_202A_206E_202B_206F_206D_206A_202E_206A_202E_202B_206F_206A_202A_206F_200E_202B_200B_202C_200E_200D_202C_202C_206B_206C_200D_200D_206F_202C_206D_206F_202B_200C_206F_206E_202A_206A_200D_202B_200E_202E()) + { + _200B_206F_206D_206F_200F_202C_206D_200D_206C_202B_200F_206F_206B_206C_200B_206E_206F_206A_202D_200E_202A_206A_206E_200F_202C_202B_202A_202E_200E_200F_206F_202B_202C_206F_200D_206A_202A_202C_202B_200F_202E(); + _200F_206D_200F_206B_206C_200C_206B_202D_202A_206A_206F_202C_206B_202B_200E_206D_202E_202D_206C_202B_200D_202C_206F_202D_200D_206C_206F_202E_206B_202E_206B_206C_200B_200C_202C_202E_200F_202C_202C_200C_202E((ImU8String)text); + } + if (_206A_202A_206E_202B_206F_206D_206A_202E_206A_202E_202B_206F_206A_202A_206F_200E_202B_200B_202C_200E_200D_202C_202C_206B_206C_200D_200D_206F_202C_206D_206F_202B_200C_206F_206E_202A_206A_200D_202B_200E_202E()) + { + _200B_206F_206D_206F_200F_202C_206D_200D_206C_202B_200F_206F_206B_206C_200B_206E_206F_206A_202D_200E_202A_206A_206E_200F_202C_202B_202A_202E_200E_200F_206F_202B_202C_206F_200D_206A_202A_202C_202B_200F_202E(); + (Vector4 Color, FontAwesomeIcon Icon, string Status) questStyle = _uiUtils.GetQuestStyle(current.QuestId); + Vector4 item = questStyle.Color; + FontAwesomeIcon item2 = questStyle.Icon; + IDisposable disposable2 = _202B_200F_200D_206D_202E_206D_200D_206B_206F_200D_200C_200F_206C_206B_200C_206B_200D_206B_200E_206E_206E_200F_200F_206E_206A_202C_200D_206B_206C_202A_200B_200C_200E_202B_206D_202B_202C_202C_206B_200E_202E(_200B_206C_206D_206B_200C_206C_200B_202C_202D_206B_202E_200C_200B_200E_202D_200D_202A_200B_202D_206B_202D_206B_200F_202E_202D_202D_202A_206F_206B_206D_200E_206D_206C_206C_200E_200E_206B_206C_206B_200D_202E(_202D_200F_206A_200D_206C_206F_206D_206B_206F_206F_206B_202B_206A_200F_200B_202C_200C_200E_202D_206D_206A_206F_206C_202D_206A_202C_206D_200D_206D_206E_206C_200F_206D_200E_206D_202C_200D_206E_200B_200F_202E(_pluginInterface))); + try + { + num = ((!flag) ? (-1840773926) : (-1840773927)); + while (true) + { + int num12 = num; + num3 = -1840773925; + num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0414; + case 2: + _200F_206F_206C_200D_206A_200F_200C_200C_206C_206C_206D_200F_206C_202D_206D_206E_206D_200E_200F_200B_206A_202D_206B_202A_202A_202D_206D_202E_202C_200D_202C_206B_200C_206F_200B_202E_202E_200B_200E_206C_202E(ref item, (ImU8String)_200D_202A_202B_200C_200F_200B_202D_200B_202E_206B_202D_200F_206A_200D_202C_200B_200B_200D_200C_206C_202B_200B_206B_202E_206B_202D_206D_200C_200C_202C_206B_206C_200E_200C_206A_206A_200D_202D_202C_206B_202E(item2)); + goto end_IL_03e8; + case 1: + _200F_206F_206C_200D_206A_200F_200C_200C_206C_206C_206D_200F_206C_202D_206D_206E_206D_200E_200F_200B_206A_202D_206B_202A_202A_202D_206D_202E_202C_200D_202C_206B_200C_206F_200B_202E_202E_200B_200E_206C_202E(ref UiThemeUtils.StatusUnobtainable, (ImU8String)_200D_202A_202B_200C_200F_200B_202D_200B_202E_206B_202D_200F_206A_200D_202C_200B_200B_200D_200C_206C_202B_200B_206B_202E_206B_202D_206D_200C_200C_202C_206B_206C_200E_200C_206A_206A_200D_202D_202C_206B_202E(item2)); + goto end_IL_03e8; + } + continue; + IL_0414: + num = -1840773927; + continue; + end_IL_03e8: + break; + } + } + finally + { + num = ((disposable2 == null) ? 522186771 : 522186768); + while (true) + { + int num13 = num; + num3 = 522186769; + num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_047e; + case 1: + _202D_202A_206F_206D_206C_202B_202D_202B_206D_206F_202E_200B_200B_200F_202B_206B_206B_206A_200C_206A_206A_206E_206D_206F_202C_200E_206B_206E_200B_200C_206A_206F_200E_202D_206A_206C_202B_200D_200C_206D_202E(disposable2); + num = 522186771; + break; + case 0: + num = 522186768; + break; + } + continue; + end_IL_047e: + break; + } + } + num = ((!_202A_206F_202C_206F_202E_206A_206C_206E_202E_200E_200D_200E_206A_200B_206D_206E_206A_200F_206F_200B_202E_200B_206B_202E_202A_206B_206E_206B_206D_206E_200F_200C_202B_206A_200C_206A_206E_202C_200F_202E_202E()) ? 954775956 : 954775955); + goto IL_04ec; + } + goto IL_057e; + IL_04ec: + while (true) + { + int num14 = num; + num3 = 954775953; + num4 = num14; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 954775955; + break; + case 4: + goto IL_0530; + case 2: + _questTooltipComponent.Draw(current); + num = 954775956; + break; + case 1: + goto IL_0566; + case 5: + goto end_IL_04ec; + case 3: + goto IL_0594; + } + continue; + IL_0594: + IDisposable disposable3 = _202B_200F_200D_206D_202E_206D_200D_206B_206F_200D_200C_200F_206C_206B_200C_206B_200D_206B_200E_206E_206E_200F_200F_206E_206A_202C_200D_206B_206C_202A_200B_200C_200E_202B_206D_202B_202C_202C_206B_200E_202E(_200B_206C_206D_206B_200C_206C_200B_202C_202D_206B_202E_200C_200B_200E_202D_200D_202A_200B_202D_206B_202D_206B_200F_202E_202D_202D_202A_206F_206B_206D_200E_206D_206C_206C_200E_200E_206B_206C_206B_200D_202E(_202D_200F_206A_200D_206C_206F_206D_206B_206F_206F_206B_202B_206A_200F_200B_202C_200C_200E_202D_206D_206A_206F_206C_202D_206A_202C_206D_200D_206D_206E_206C_200F_206D_200E_206D_202C_200D_206E_200B_200F_202E(_pluginInterface))); + try + { + _200F_206F_206C_200D_206A_200F_200C_200C_206C_206C_206D_200F_206C_202D_206D_206E_206D_200E_200F_200B_206A_202D_206B_202A_202A_202D_206D_202E_202C_200D_202C_206B_200C_206F_200B_202E_202E_200B_200E_206C_202E(ref UiThemeUtils.StatusActive, (ImU8String)_200D_202A_202B_200C_200F_200B_202D_200B_202E_206B_202D_200F_206A_200D_202C_200B_200B_200D_200C_206C_202B_200B_206B_202E_206B_202D_206D_200C_200C_202C_206B_206C_200E_200C_206A_206A_200D_202D_202C_206B_202E(FontAwesomeIcon.Ban)); + _206F_202E_200F_202D_200E_200B_202B_206E_206B_206A_202C_200E_202E_206C_206F_202B_206A_202C_200D_202E_206B_202D_202E_200C_202B_206C_200B_200D_202A_202A_202A_200B_202C_202E_200E_206E_202B_202B_202A_200D_202E(); + } + finally + { + num = ((disposable3 == null) ? 2106221697 : 2106221698); + while (true) + { + int num15 = num; + num3 = 2106221696; + num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 0: + num = 2106221698; + break; + case 2: + _202D_202A_206F_206D_206C_202B_202D_202B_206D_206F_202E_200B_200B_200F_202B_206B_206B_206A_200C_206A_206A_206E_206D_206F_202C_200E_206B_206E_200B_200C_206A_206F_200E_202D_206A_206C_202B_200D_200C_206D_202E(disposable3); + num = 2106221697; + break; + case 1: + goto end_IL_05ed; + } + continue; + end_IL_05ed: + break; + } + } + goto IL_063b; + IL_0566: + _200B_206F_206D_206F_200F_202C_206D_200D_206C_202B_200F_206F_206B_206C_200B_206E_206F_206A_202D_200E_202A_206A_206E_200F_202C_202B_202A_202E_200E_200F_206F_202B_202C_206F_200D_206A_202A_202C_202B_200F_202E(); + if (quest != null) + { + num = 954775957; + continue; + } + goto IL_063b; + IL_063b: + UiThemeUtils.RowLabel(current.Name, 0f); + goto IL_064c; + IL_0530: + if (_206B_200D_206E_200D_202C_206E_200D_206C_206F_202E_202C_200E_200E_202A_206E_206A_200C_202D_202D_206F_206B_200E_206E_202B_202C_202E_206F_200B_206F_206E_206E_202C_202E_206C_206F_200F_200E_202E_202B_202E_202E(quest.Root)) + { + num = 954775954; + continue; + } + goto IL_063b; + continue; + end_IL_04ec: + break; + } + goto IL_057e; + IL_064c: + if (!_206A_202A_206E_202B_206F_206D_206A_202E_206A_202E_202B_206F_206A_202A_206F_200E_202B_200B_202C_200E_200D_202C_202C_206B_206C_200D_200D_206F_202C_206D_206F_202B_200C_206F_206E_202A_206A_200D_202B_200E_202E()) + { + continue; + } + ImRaii.IdDisposable idDisposable = _206F_202A_202E_202B_206C_206D_202A_206E_202A_202E_202D_206C_202A_202E_200C_206A_202E_202D_206B_202C_206B_200C_206D_200D_200E_202C_202E_202B_200C_200D_206E_200F_200C_200D_202E_202D_200B_200C_200B_200C_202E((ImU8String)text, true); + try + { + bool num18 = UiThemeUtils.IconButton(FontAwesomeIcon.Copy, _202E_202A_200B_200B_206E_202A_202B_202A_202C_202B_206D_200F_206F_202D_206F_206B_200B_206C_202C_202C_202D_200D_200F_202E_202B_202C_200F_200B_206B_202C_200E_202A_200E_206C_206B_200C_206B_200C_206D_206E_202E()); + if (_202A_206F_202C_206F_202E_206A_206C_206E_202E_200E_200D_200E_206A_200B_206D_206E_206A_200F_206F_200B_202E_200B_206B_202E_202A_206B_206E_206B_206D_206E_200F_200C_202B_206A_200C_206A_206E_202C_200F_202E_202E()) + { + _202C_206C_206C_202D_202C_200F_206A_202B_206D_206E_200B_200D_202B_200D_206A_206D_206A_200C_206D_206C_200B_206E_200F_200F_200E_202D_206A_206F_202E_206F_202C_202A_200D_202B_200D_206F_202C_206C_206C_206B_202E((ImU8String)global::_003CModule_003E._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(-1170265918)); + } + num = ((!num18) ? 159854132 : 159854129); + while (true) + { + int num19 = num; + num3 = 159854141; + num4 = num19; + int num20 = num4 + num3; + int num21 = num4 & num3; + int num22; + switch (num20 - (num21 + num21)) + { + default: + continue; + case 6: + num = 159854129; + continue; + case 14: + num22 = (_attunementController.IsRunning ? 1 : 0); + break; + case 12: + CopyToClipboard(current, suffix: true); + num = 159854143; + continue; + case 4: + num = (_fateController.IsRunning ? 159854141 : 159854140); + continue; + case 1: + num = (_seasonalDutyController.IsRunning ? 159854141 : 159854142); + continue; + case 8: + if (eInteractionType == EInteractionType.AcceptQuest) + { + num = 159854135; + continue; + } + goto end_IL_06af; + case 13: + num = ((_questController.SimulatedQuest != null) ? 159854141 : 159854137); + continue; + case 5: + CopyToClipboard(current, suffix: false); + num = 159854143; + continue; + case 9: + num = ((!_202D_202E_206F_206C_202E_202B_206B_200C_200F_206B_202C_206A_200F_206B_206A_202D_200F_206F_206E_200E_200F_202E_200C_202A_206A_200E_206D_202B_202D_206A_200B_206A_200E_200D_202A_202E_206F_206E_206B_206E_202E(ImGuiMouseButton.Right)) ? 159854143 : 159854136); + continue; + case 7: + num = ((_questController.NextQuest != null) ? 159854141 : 159854128); + continue; + case 11: + { + QuestSequence? questSequence = quest.FindSequence(0); + EInteractionType? obj; + if (questSequence == null) + { + obj = null; + } + else + { + QuestStep questStep = _200B_200D_206D_206A_200C_200C_206A_202E_200F_202E_206A_202D_200C_200F_200C_206A_206B_200E_202A_200D_206F_200B_206F_202D_200B_202C_206C_202C_202B_202C_200F_202E_202A_202B_206E_206D_202E_206D_200E_202E_202E(questSequence); + obj = ((questStep != null) ? new EInteractionType?(_202D_202D_200D_206E_202A_202E_202B_200C_202A_202A_206E_202A_202D_200F_200F_202C_206A_200C_202C_200F_200E_200D_202D_202B_206C_206B_206B_200B_206C_200F_206B_200E_206F_200C_200C_206D_202B_206D_200B_200F_202E(questStep)) : ((EInteractionType?)null)); + } + eInteractionType = obj; + if (eInteractionType.HasValue) + { + num = 159854133; + continue; + } + goto end_IL_06af; + } + case 3: + num = (_customDeliveryController.IsRunning ? 159854141 : 159854131); + continue; + case 2: + _206F_202E_200F_202D_200E_200B_202B_206E_206B_206A_202C_200E_202E_206C_206F_202B_206A_202C_200D_202E_206B_202D_202E_200C_202B_206C_200B_200D_202A_202A_202A_200B_202C_202E_200E_206E_202B_202B_202A_200D_202E(); + if (quest != null) + { + num = 159854134; + continue; + } + goto end_IL_06af; + case 10: + if (_questFunctions.IsReadyToAcceptQuest(current.QuestId)) + { + num = 159854138; + continue; + } + goto end_IL_06af; + case 0: + num22 = 1; + break; + } + ImRaii.DisabledDisposable disabledDisposable = _200B_202E_200E_206E_202C_200B_206F_206D_206A_206C_206B_206B_202D_206B_206C_202D_202C_202B_206E_206A_206F_202A_200D_206D_200F_206D_206F_200F_202C_202A_206A_200F_206B_202C_200E_200B_202E_200C_206C_206A_202E((byte)num22 != 0); + try + { + ImRaii.ColorDisposable colorDisposable = _202B_206C_206C_206F_202E_202B_200F_202A_200E_200F_206A_200B_202E_206C_206A_200E_206A_206A_202A_202E_202D_202D_202C_200E_200D_200E_202E_202C_200D_202A_200D_202A_206D_202D_200C_202D_200C_206E_206A_200E_202E(ImGuiCol.Button, UiThemeUtils.PlayButtonColor, true); + bool flag2; + try + { + ImRaii.ColorDisposable colorDisposable2 = _202B_206C_206C_206F_202E_202B_200F_202A_200E_200F_206A_200B_202E_206C_206A_200E_206A_206A_202A_202E_202D_202D_202C_200E_200D_200E_202E_202C_200D_202A_200D_202A_206D_202D_200C_202D_200C_206E_206A_200E_202E(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover, true); + try + { + ImRaii.ColorDisposable colorDisposable3 = _202B_206C_206C_206F_202E_202B_200F_202A_200E_200F_206A_200B_202E_206C_206A_200E_206A_206A_202A_202E_202D_202D_202C_200E_200D_200E_202E_202C_200D_202A_200D_202A_206D_202D_200C_202D_200C_206E_206A_200E_202E(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive, true); + try + { + ImRaii.ColorDisposable colorDisposable4 = _202B_206C_206C_206F_202E_202B_200F_202A_200E_200F_206A_200B_202E_206C_206A_200E_206A_206A_202A_202E_202D_202D_202C_200E_200D_200E_202E_202C_200D_202A_200D_202A_206D_202D_200C_202D_200C_206E_206A_200E_202E(ImGuiCol.Text, UiThemeUtils.PlayButtonText, true); + try + { + flag2 = UiThemeUtils.IconButton(FontAwesomeIcon.Play, _202E_202A_200B_200B_206E_202A_202B_202A_202C_202B_206D_200F_206F_202D_206F_206B_200B_206C_202C_202C_202D_200D_200F_202E_202B_202C_200F_200B_206B_202C_200E_202A_200E_206C_206B_200C_206B_200C_206D_206E_202E()); + } + finally + { + num = ((colorDisposable4 == null) ? (-1140323059) : (-1140323058)); + while (true) + { + int num23 = num; + num3 = -1140323057; + num4 = num23; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1140323058; + break; + case 1: + _202D_202A_206F_206D_206C_202B_202D_202B_206D_206F_202E_200B_200B_200F_202B_206B_206B_206A_200C_206A_206A_206E_206D_206F_202C_200E_206B_206E_200B_200C_206A_206F_200E_202D_206A_206C_202B_200D_200C_206D_202E((IDisposable)colorDisposable4); + num = -1140323059; + break; + case 2: + goto end_IL_0975; + } + continue; + end_IL_0975: + break; + } + } + } + finally + { + num = ((colorDisposable3 == null) ? 1182290458 : 1182290457); + while (true) + { + int num24 = num; + num3 = 1182290459; + num4 = num24; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1182290457; + break; + case 1: + goto end_IL_09e0; + case 2: + _202D_202A_206F_206D_206C_202B_202D_202B_206D_206F_202E_200B_200B_200F_202B_206B_206B_206A_200C_206A_206A_206E_206D_206F_202C_200E_206B_206E_200B_200C_206A_206F_200E_202D_206A_206C_202B_200D_200C_206D_202E((IDisposable)colorDisposable3); + num = 1182290458; + break; + } + continue; + end_IL_09e0: + break; + } + } + } + finally + { + num = ((colorDisposable2 == null) ? (-1921244302) : (-1921244303)); + while (true) + { + int num25 = num; + num3 = -1921244301; + num4 = num25; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1921244303; + break; + case 2: + _202D_202A_206F_206D_206C_202B_202D_202B_206D_206F_202E_200B_200B_200F_202B_206B_206B_206A_200C_206A_206A_206E_206D_206F_202C_200E_206B_206E_200B_200C_206A_206F_200E_202D_206A_206C_202B_200D_200C_206D_202E((IDisposable)colorDisposable2); + num = -1921244302; + break; + case 1: + goto end_IL_0a4b; + } + continue; + end_IL_0a4b: + break; + } + } + } + finally + { + num = ((colorDisposable == null) ? 2096255815 : 2096255814); + while (true) + { + int num26 = num; + num3 = 2096255815; + num4 = num26; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 2096255814; + break; + case 0: + goto end_IL_0ab6; + case 1: + _202D_202A_206F_206D_206C_202B_202D_202B_206D_206F_202E_200B_200B_200F_202B_206B_206B_206A_200C_206A_206A_206E_206D_206F_202C_200E_206B_206E_200B_200C_206A_206F_200E_202D_206A_206C_202B_200D_200C_206D_202E((IDisposable)colorDisposable); + num = 2096255815; + break; + } + continue; + end_IL_0ab6: + break; + } + } + num = ((!_202A_206F_202C_206F_202E_206A_206C_206E_202E_200E_200D_200E_206A_200B_206D_206E_206A_200F_206F_200B_202E_200B_206B_202E_202A_206B_206E_206B_206D_206E_200F_200C_202B_206A_200C_206A_206E_202C_200F_202E_202E()) ? 189281553 : 189281557); + while (true) + { + int num27 = num; + num3 = 189281554; + num4 = num27; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 189281557; + break; + case 7: + _202C_206C_206C_202D_202C_200F_206A_202B_206D_206E_200B_200D_202B_200D_206A_206D_206A_200C_206D_206C_200B_206E_200F_200F_200E_202D_206A_206F_202E_206F_202C_202A_200D_202B_200D_206F_202C_206C_206C_206B_202E((ImU8String)global::_003CModule_003E._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(1639691610)); + num = 189281553; + break; + case 4: + _fateController.Stop(global::_003CModule_003E._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(1658160638)); + _seasonalDutyController.Stop(global::_003CModule_003E._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(1658160638)); + _customDeliveryController.Stop(global::_003CModule_003E._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(-926517325)); + _attunementController.Stop(global::_003CModule_003E._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(-865943171)); + _questController.SetNextQuest(quest); + num = (_questController.ManualPriorityQuests.Contains(quest) ? 189281556 : 189281554); + break; + case 8: + _questController.SetNextQuest(quest); + num = 189281555; + break; + case 5: + { + _206F_202E_200F_202D_200E_200B_202B_206E_206B_206A_202C_200E_202E_206C_206F_202B_206A_202C_200D_202E_206B_202D_202E_200C_202B_206C_200B_200D_202A_202A_202A_200B_202C_202E_200E_206E_202B_202B_202A_200D_202E(); + bool num28 = UiThemeUtils.IconButton(FontAwesomeIcon.AngleDoubleRight, _202E_202A_200B_200B_206E_202A_202B_202A_202C_202B_206D_200F_206F_202D_206F_206B_200B_206C_202C_202C_202D_200D_200F_202E_202B_202C_200F_200B_206B_202C_200E_202A_200E_206C_206B_200C_206B_200C_206D_206E_202E()); + if (_202A_206F_202C_206F_202E_206A_206C_206E_202E_200E_200D_200E_206A_200B_206D_206E_206A_200F_206F_200B_202E_200B_206B_202E_202A_206B_206E_206B_206D_206E_200F_200C_202B_206A_200C_206A_206E_202C_200F_202E_202E()) + { + _202C_206C_206C_202D_202C_200F_206A_202B_206D_206E_200B_200D_202B_200D_206A_206D_206A_200C_206D_206C_200B_206E_200F_200F_200E_202D_206A_206F_202E_206F_202C_202A_200D_202B_200D_206F_202C_206C_206C_206B_202E((ImU8String)global::_003CModule_003E._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(347162980)); + } + num = ((!num28) ? 189281555 : 189281562); + break; + } + case 0: + _questController.ManualPriorityQuests.Insert(0, quest); + num = 189281556; + break; + case 3: + num = ((!flag2) ? 189281559 : 189281558); + break; + case 6: + _questController.Start(global::_003CModule_003E._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(1901290217)); + num = 189281559; + break; + case 1: + goto end_IL_0b24; + } + continue; + end_IL_0b24: + break; + } + } + finally + { + num = ((disabledDisposable == null) ? (-671465118) : (-671465119)); + while (true) + { + int num29 = num; + num3 = -671465117; + num4 = num29; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -671465119; + break; + case 1: + goto end_IL_0d0f; + case 2: + _202D_202A_206F_206D_206C_202B_202D_202B_206D_206F_202E_200B_200B_200F_202B_206B_206B_206A_200C_206A_206A_206E_206D_206F_202C_200E_206B_206E_200B_200C_206A_206F_200E_202D_206A_206C_202B_200D_200C_206D_202E((IDisposable)disabledDisposable); + num = -671465118; + break; + } + continue; + end_IL_0d0f: + break; + } + } + break; + continue; + end_IL_06af: + break; + } + } + finally + { + num = ((idDisposable == null) ? (-1330380066) : (-1330380067)); + while (true) + { + int num30 = num; + num3 = -1330380068; + num4 = num30; + int num31 = num4 + num3; + int num32 = num4 & num3; + switch (num31 - (num32 + num32)) + { + case 2: + goto end_IL_0d7f; + case 1: + _202D_202A_206F_206D_206C_202B_202D_202B_206D_206F_202E_200B_200B_200F_202B_206B_206B_206A_200C_206A_206A_206E_206D_206F_202C_200E_206B_206E_200B_200C_206A_206F_200E_202D_206A_206C_202B_200D_200C_206D_202E((IDisposable)idDisposable); + num = -1330380066; + break; + case 0: + num = -1330380067; + break; + } + continue; + end_IL_0d7f: + break; + } + } + continue; + IL_057e: + if (_206A_202A_206E_202B_206F_206D_206A_202E_206A_202E_202B_206F_206A_202A_206F_200E_202B_200B_202C_200E_200D_202C_202C_206B_206C_200D_200D_206F_202C_206D_206F_202B_200C_206F_206E_202A_206A_200D_202B_200E_202E()) + { + num = 954775952; + goto IL_04ec; + } + goto IL_064c; + } + } + finally + { + num = ((enumerator == null) ? 306291451 : 306291448); + while (true) + { + int num33 = num; + num3 = 306291449; + num4 = num33; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 306291448; + break; + case 1: + _202D_202A_206F_206D_206C_202B_202D_202B_206D_206F_202E_200B_200B_200F_202B_206B_206B_206A_200C_206A_206A_206E_206D_206F_202C_200E_206B_206E_200B_200C_206A_206F_200E_202D_206A_206C_202B_200D_200C_206D_202E((IDisposable)enumerator); + num = 306291451; + break; + case 2: + goto end_IL_0dfd; + } + continue; + end_IL_0dfd: + break; + } + } + goto end_IL_0256; + } + IL_02fd: + enumerable = list; + num = (_200E_200D_200C_206A_202C_206A_200D_200D_202A_206A_206B_202C_200E_200E_202B_202A_200D_202E_206F_206F_206B_202C_202E_206B_200E_200C_202D_200D_202E_202A_200B_206F_202B_206E_200D_202D_200D_202D_200E_206A_202E(_searchText) ? 1384381589 : 1384381587); + break; + } + continue; + end_IL_0256: + break; + } } } - if (ImGui.IsItemHovered()) - { - _questTooltipComponent.Draw(item); - } + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + return; } - if (ImGui.TableNextColumn()) - { - ImGui.AlignTextToFramePadding(); - if (quest != null && quest.Root.Disabled) - { - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - ImGui.TextColored(ImGuiColors.DalamudOrange, FontAwesomeIcon.Ban.ToIconString()); - ImGui.SameLine(); - } - } - 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(); } } } + [MethodImpl(MethodImplOptions.NoInlining)] private void CopyToClipboard(IQuestInfo quest, bool suffix) { - string text = $"{quest.QuestId}_{quest.SimplifiedName}{(suffix ? ".json" : "")}"; - ImGui.SetClipboardText(text); - _chatGui.Print("Copied '" + text + "' to clipboard"); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 3); + defaultInterpolatedStringHandler.AppendFormatted(quest.QuestId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-294503681)); + defaultInterpolatedStringHandler.AppendFormatted(quest.SimplifiedName); + defaultInterpolatedStringHandler.AppendFormatted(suffix ? global::_003CModule_003E._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(377102803) : global::_003CModule_003E._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(1281927779)); + string text = defaultInterpolatedStringHandler.ToStringAndClear(); + _202B_200C_206B_202E_206D_206D_202E_206B_206D_206A_202B_200E_206C_200D_200B_200F_206F_202B_206A_202A_200D_206E_206E_202C_200B_200F_206B_200E_200F_202D_200B_200E_202E_200C_202B_206F_200C_202E_206D_206C_202E((ImU8String)text); + _200B_200D_202A_202B_206C_202C_206B_202C_206D_206A_200B_202C_206E_200F_200E_206E_200B_206F_206D_202B_202D_200C_202E_206B_200B_200F_206D_200B_202B_202C_202D_202D_206A_200F_206C_206B_200D_206E_202A_206D_202E(_chatGui, _202E_200F_200F_200C_202B_202A_200D_200B_206B_200E_202B_200B_200E_206F_206F_206A_202B_200D_206F_202B_200D_206B_200B_206E_206D_206C_206E_206D_200F_206E_200B_206B_202A_200B_200E_206E_202E_206F_206B_206A_202E(global::_003CModule_003E._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(-84693844), text, global::_003CModule_003E._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(140956343)), (string)null, (ushort?)null); + } + + void _206F_202B_202C_206B_202E_202E_206B_206C_200E_202A_200E_202B_200E_200E_202E_200C_206E_202A_206D_206B_200E_200F_206E_200E_206A_206A_200D_200D_200D_206A_206E_202A_202E_202B_202D_206D_200E_206E_206F_202B_202E(Vector2? P_0) + { + base.Size = P_0; + } + + void _202E_200D_206C_202A_200B_206E_206F_206B_202E_206A_206A_202C_200D_200B_206D_200C_202B_202E_206D_202C_202D_202E_206C_200E_200C_202A_206C_202E_200D_202D_202B_206C_200D_200F_202E_206F_202E_206F_206A_206D_202E(ImGuiCond P_0) + { + base.SizeCondition = P_0; + } + + void _200E_202A_202E_202B_202C_200E_206C_202D_206A_206B_202C_202A_200C_200E_206E_202D_202E_206D_202B_206D_202A_200C_206C_200E_202D_200B_206A_202E_202B_206E_202E_200D_202D_202B_202E_202A_200B_200E_200B_200C_202E(WindowSizeConstraints? P_0) + { + base.SizeConstraints = P_0; + } + + static uint _200B_206A_206D_206B_206E_206D_206A_202B_202C_202C_206B_202B_202B_202D_206D_206F_200D_202E_202B_202C_206C_206D_202C_200B_200C_200C_200F_200E_200F_206F_200B_202E_206F_202D_202A_206B_206F_206E_206D_206E_202E(IGameObject P_0) + { + return P_0.BaseId; + } + + static SeString _202C_206E_202A_206C_202E_206C_202E_200D_206D_206E_206C_202A_206F_202C_206D_206D_200D_206E_206C_202B_202B_200D_202A_202B_202A_202D_206A_206B_202A_202C_206D_200F_200D_206F_206E_202B_206B_200B_202E_202B_202E(IGameObject P_0) + { + return P_0.Name; + } + + static string _206E_200D_202C_206A_200C_206A_202C_206C_202A_200E_202C_202D_206B_206A_206B_206C_200E_200E_206A_202B_202E_206D_206D_202A_206E_202C_202D_202D_206C_200D_202E_200E_200B_200F_202A_202D_206E_206E_202E_200F_202E(object P_0) + { + return P_0.ToString(); + } + + void _200D_200E_200F_200C_206F_200E_202D_206D_206D_202A_200E_206B_202E_202B_200F_200D_202E_206F_202C_206C_202D_206F_202C_200E_200F_206A_200F_206A_200B_202E_206B_206D_202C_206F_206C_206F_200D_206F_200F_202E(string P_0) + { + base.WindowName = P_0; + } + + static void _200C_200C_206A_206A_202C_206B_202D_200D_206B_206C_206F_200B_206C_206E_202C_200D_202A_202B_202E_202A_206B_206B_200F_202C_200D_200F_200B_200E_206F_206B_206B_200C_202C_200E_202C_206A_202A_202E_206B_200E_202E(LWindow P_0, bool P_1) + { + P_0.IsOpenAndUncollapsed = P_1; + } + + static uint _200C_202C_206B_200E_206E_206C_202A_206A_200D_202A_202E_202B_200D_202A_202E_206C_202D_200D_200F_206A_206C_200D_206B_202C_202B_200E_200F_206E_200E_200B_202D_202A_206E_200B_202E_202B_200E_206A_206E_206A_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static string _202E_200F_200F_200C_202B_202A_200D_200B_206B_200E_202B_200B_200E_206F_206F_206A_202B_200D_206F_202B_200D_206B_200B_206E_206D_206C_206E_206D_200F_206E_200B_206B_202A_200B_200E_206E_202E_206F_206B_206A_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static QuestId _206A_202C_200C_206B_200E_206C_200E_206E_202A_202D_206E_200D_202C_200B_202B_200D_200F_202A_206C_206B_202D_200B_206A_200F_202E_206F_200F_206A_200B_200F_202C_202B_206A_202B_200E_202C_200B_202D_206A_202D_202E(uint P_0) + { + return QuestId.FromRowId(P_0); + } + + static IUiBuilder _202D_200F_206A_200D_206C_206F_206D_206B_206F_206F_206B_202B_206A_200F_200B_202C_200C_200E_202D_206D_206A_206F_206C_202D_206A_202C_206D_200D_206D_206E_206C_200F_206D_200E_206D_202C_200D_206E_200B_200F_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _200B_206C_206D_206B_200C_206C_200B_202C_202D_206B_202E_200C_200B_200E_202D_200D_202A_200B_202D_206B_202D_206B_200F_202E_202D_202D_202A_206F_206B_206D_200E_206D_206C_206C_200E_200E_206B_206C_206B_200D_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _202B_200F_200D_206D_202E_206D_200D_206B_206F_200D_200C_200F_206C_206B_200C_206B_200D_206B_200E_206E_206E_200F_200F_206E_206A_202C_200D_206B_206C_202A_200B_200C_200E_202B_206D_202B_202C_202C_206B_200E_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static string _200D_202A_202B_200C_200F_200B_202D_200B_202E_206B_202D_200F_206A_200D_202C_200B_200B_200D_200C_206C_202B_200B_206B_202E_206B_202D_206D_200C_200C_202C_206B_206C_200E_200C_206A_206A_200D_202D_202C_206B_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static Vector2 _200B_202B_200F_206C_200F_206F_200F_202C_206B_202A_206C_200B_202E_200F_206B_200B_206D_206C_202A_202B_200E_206E_202C_202A_202D_206C_200F_202D_206A_206B_200D_206F_200F_206B_200F_200D_206B_200C_206B_206F_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static void _202D_202A_206F_206D_206C_202B_202D_202B_206D_206F_202E_200B_200B_200F_202B_206B_206B_206A_200C_206A_206A_206E_206D_206F_202C_200E_206B_206E_200B_200C_206A_206F_200E_202D_206A_206C_202B_200D_200C_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static float _202E_202A_200B_200B_206E_202A_202B_202A_202C_202B_206D_200F_206F_202D_206F_206B_200B_206C_202C_202C_202D_200D_200F_202E_202B_202C_200F_200B_206B_202C_200E_202A_200E_206C_206B_200C_206B_200C_206D_206E_202E() + { + return ImGui.GetFrameHeight(); + } + + static ImGuiStylePtr _202D_200E_202A_200B_200F_202B_202E_200D_202D_206D_206F_202B_202B_200C_202D_202B_200E_202D_200F_200D_200D_202C_206E_206B_202C_202E_202D_206D_206E_206C_202B_202B_202D_202E_202C_200E_200F_206A_202E_202C_202E() + { + return ImGui.GetStyle(); + } + + static ImGuiIOPtr _202D_202B_200C_200F_202A_200B_200D_206C_206D_200B_200C_206A_200C_206A_202A_200F_206B_200B_206C_206A_206E_200D_206B_206E_200D_202B_206B_206B_206B_202B_202C_202D_200F_202C_200E_206B_200C_206C_202A_202D_202E() + { + return ImGui.GetIO(); + } + + static void _200C_202E_202C_206A_202B_202B_206D_206E_206A_200D_200D_200D_202D_202B_202B_202D_202A_200C_202C_206E_202E_206E_206C_206C_206B_206A_206F_200F_200B_206E_206B_200C_200D_202A_200F_206F_200E_202A_206B_206E_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static void _200E_202D_200B_200B_206C_206A_200C_200B_206A_202A_200D_206F_202A_202D_200F_206A_206E_202C_202E_200B_202E_200C_206F_200D_206F_200B_200B_206E_200D_202A_206B_206A_200D_202A_200D_206E_206D_206F_202D_202D_202E() + { + ImGui.TableHeadersRow(); + } + + static bool _200E_200D_200C_206A_202C_206A_200D_200D_202A_206A_206B_202C_200E_200E_202B_202A_200D_202E_206F_206F_206B_202C_202E_206B_200E_200C_202D_200D_202E_202A_200B_206F_202B_206E_200D_202D_200D_202D_200E_206A_202E(string P_0) + { + return string.IsNullOrWhiteSpace(P_0); + } + + static void _202E_206A_206A_202E_202A_202A_200D_200F_206C_206E_206E_200D_206B_206F_206C_202E_200E_200C_202A_200B_206F_206F_206F_206A_200E_202D_202B_206B_200C_206B_202E_206C_200C_206C_202C_200E_202C_200E_200B_202D_202E() + { + ImGui.TableNextRow(); + } + + static bool _206A_202A_206E_202B_206F_206D_206A_202E_206A_202E_202B_206F_206A_202A_206F_200E_202B_200B_202C_200E_200D_202C_202C_206B_206C_200D_200D_206F_202C_206D_206F_202B_200C_206F_206E_202A_206A_200D_202B_200E_202E() + { + return ImGui.TableNextColumn(); + } + + static void _200B_206F_206D_206F_200F_202C_206D_200D_206C_202B_200F_206F_206B_206C_200B_206E_206F_206A_202D_200E_202A_206A_206E_200F_202C_202B_202A_202E_200E_200F_206F_202B_202C_206F_200D_206A_202A_202C_202B_200F_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static void _200F_206D_200F_206B_206C_200C_206B_202D_202A_206A_206F_202C_206B_202B_200E_206D_202E_202D_206C_202B_200D_202C_206F_202D_200D_206C_206F_202E_206B_202E_206B_206C_200B_200C_202C_202E_200F_202C_202C_200C_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _200F_206F_206C_200D_206A_200F_200C_200C_206C_206C_206D_200F_206C_202D_206D_206E_206D_200E_200F_200B_206A_202D_206B_202A_202A_202D_206D_202E_202C_200D_202C_206B_200C_206F_200B_202E_202E_200B_200E_206C_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static bool _202A_206F_202C_206F_202E_206A_206C_206E_202E_200E_200D_200E_206A_200B_206D_206E_206A_200F_206F_200B_202E_200B_206B_202E_202A_206B_206E_206B_206D_206E_200F_200C_202B_206A_200C_206A_206E_202C_200F_202E_202E() + { + return ImGui.IsItemHovered(); + } + + static bool _206B_200D_206E_200D_202C_206E_200D_206C_206F_202E_202C_200E_200E_202A_206E_206A_200C_202D_202D_206F_206B_200E_206E_202B_202C_202E_206F_200B_206F_206E_206E_202C_202E_206C_206F_200F_200E_202E_202B_202E_202E(QuestRoot P_0) + { + return P_0.Disabled; + } + + static void _206F_202E_200F_202D_200E_200B_202B_206E_206B_206A_202C_200E_202E_206C_206F_202B_206A_202C_200D_202E_206B_202D_202E_200C_202B_206C_200B_200D_202A_202A_202A_200B_202C_202E_200E_206E_202B_202B_202A_200D_202E() + { + ImGui.SameLine(); + } + + static ImRaii.IdDisposable _206F_202A_202E_202B_206C_206D_202A_206E_202A_202E_202D_206C_202A_202E_200C_206A_202E_202D_206B_202C_206B_200C_206D_200D_200E_202C_202E_202B_200C_200D_206E_200F_200C_200D_202E_202D_200B_200C_200B_200C_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static void _202C_206C_206C_202D_202C_200F_206A_202B_206D_206E_200B_200D_202B_200D_206A_206D_206A_200C_206D_206C_200B_206E_200F_200F_200E_202D_206A_206F_202E_206F_202C_202A_200D_202B_200D_206F_202C_206C_206C_206B_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static bool _202D_202E_206F_206C_202E_202B_206B_200C_200F_206B_202C_206A_200F_206B_206A_202D_200F_206F_206E_200E_200F_202E_200C_202A_206A_200E_206D_202B_202D_206A_200B_206A_200E_200D_202A_202E_206F_206E_206B_206E_202E(ImGuiMouseButton P_0) + { + return ImGui.IsItemClicked(P_0); + } + + static QuestStep _200B_200D_206D_206A_200C_200C_206A_202E_200F_202E_206A_202D_200C_200F_200C_206A_206B_200E_202A_200D_206F_200B_206F_202D_200B_202C_206C_202C_202B_202C_200F_202E_202A_202B_206E_206D_202E_206D_200E_202E_202E(QuestSequence P_0) + { + return P_0.LastStep(); + } + + static EInteractionType _202D_202D_200D_206E_202A_202E_202B_200C_202A_202A_206E_202A_202D_200F_200F_202C_206A_200C_202C_200F_200E_200D_202D_202B_206C_206B_206B_200B_206C_200F_206B_200E_206F_200C_200C_206D_202B_206D_200B_200F_202E(QuestStep P_0) + { + return P_0.InteractionType; + } + + static ImRaii.DisabledDisposable _200B_202E_200E_206E_202C_200B_206F_206D_206A_206C_206B_206B_202D_206B_206C_202D_202C_202B_206E_206A_206F_202A_200D_206D_200F_206D_206F_200F_202C_202A_206A_200F_206B_202C_200E_200B_202E_200C_206C_206A_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static ImRaii.ColorDisposable _202B_206C_206C_206F_202E_202B_200F_202A_200E_200F_206A_200B_202E_206C_206A_200E_206A_206A_202A_202E_202D_202D_202C_200E_200D_200E_202E_202C_200D_202A_200D_202A_206D_202D_200C_202D_200C_206E_206A_200E_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static bool _202E_206C_206A_206A_200F_200F_206F_206A_206C_202D_206C_206A_200C_206A_206D_202B_202D_206E_206A_206B_202B_202B_200B_202D_206F_202A_200D_206D_206E_200F_202A_202B_202A_206A_200B_200F_206C_200E_206D_206F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202B_200C_206B_202E_206D_206D_202E_206B_206D_206A_202B_200E_206C_200D_200B_200F_206F_202B_206A_202A_200D_206E_206E_202C_200B_200F_206B_200E_200F_202D_200B_200E_202E_200C_202B_206F_200C_202E_206D_206C_202E(ImU8String P_0) + { + ImGui.SetClipboardText(P_0); + } + + static void _200B_200D_202A_202B_206C_202C_206B_202C_206D_206A_200B_202C_206E_200F_200E_206E_200B_206F_206D_202B_202D_200C_202E_206B_200B_200F_206D_200B_202B_202C_202D_202D_206A_200F_206C_206B_200D_206E_202A_206D_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.Print(P_1, P_2, P_3); + } + + static bool _202D_206F_202D_206D_206D_202B_200C_206C_202A_206D_202C_200F_206B_206B_200E_206F_206B_202A_206A_202C_200D_200E_202E_200D_200D_206F_206F_202E_206C_200F_206B_202E_200F_200C_200C_206E_200E_202D_200E_200D_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); } } diff --git a/Questionable/Questionable.Windows/QuestSequenceWindow.cs b/Questionable/Questionable.Windows/QuestSequenceWindow.cs index 4e206231..c801938d 100644 --- a/Questionable/Questionable.Windows/QuestSequenceWindow.cs +++ b/Questionable/Questionable.Windows/QuestSequenceWindow.cs @@ -1,6 +1,7 @@ using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; -using Dalamud.Interface.Utility.Raii; +using Dalamud.Configuration; using Dalamud.Interface.Windowing; using Dalamud.Plugin; using LLib.ImGui; @@ -9,7 +10,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,74 +20,135 @@ internal sealed class QuestSequenceWindow : LWindow, IPersistableWindowConfig private bool _selectLookupTabNextFrame; + private int _selectedTab; + public WindowConfig WindowConfig => _configuration.QuestSequenceWindowConfig; + [MethodImpl(MethodImplOptions.NoInlining)] public QuestSequenceWindow(IDalamudPluginInterface pluginInterface, Configuration configuration, QuestSequenceComponent questSequenceComponent) - : base("Quest Sequence Viewer###QuestionableQuestSequenceViewer", ImGuiWindowFlags.NoTitleBar) + : base(global::_003CModule_003E._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(1855335709), ImGuiWindowFlags.NoTitleBar) { _pluginInterface = pluginInterface; _configuration = configuration; _questSequenceComponent = questSequenceComponent; - base.Size = new Vector2(950f, 700f); - base.SizeCondition = ImGuiCond.FirstUseEver; - base.SizeConstraints = new WindowSizeConstraints + _200F_202E_206B_202A_206E_206E_206C_206D_206F_206F_206E_202A_202D_200C_202C_200B_202E_206D_206F_206E_202D_206A_200C_202A_200E_202C_206A_206F_206C_200E_200C_206E_202D_202C_206B_206E_206D_200D_202B_202C_202E((Vector2?)new Vector2(950f, 700f)); + _200E_206D_200B_200F_206D_202B_202A_202C_202B_202D_202A_202A_200F_200E_200D_200E_202B_200C_206B_206F_206E_200E_200E_202A_200B_200E_200E_202A_200C_202A_202A_206A_202C_206F_202D_206A_202A_206E_200D_206A_202E(ImGuiCond.FirstUseEver); + _202B_206E_200E_206B_200D_206D_202A_202E_206F_202C_206B_200F_206A_206E_206C_202D_200E_202D_202E_206A_206E_202D_202C_200E_200E_206C_206E_206E_202D_202E_200D_200B_206C_202A_202B_200D_202A_200F_200F_200E_202E((WindowSizeConstraints?)new WindowSizeConstraints { MinimumSize = new Vector2(750f, 550f), MaximumSize = new Vector2(float.MaxValue, float.MaxValue) - }; + }); } public void SaveWindowConfig() { - _pluginInterface.SavePluginConfig(_configuration); + _206F_202A_206B_206F_202E_202C_200C_200F_202D_206C_202E_206B_200F_202D_202A_206A_200F_206F_206C_200C_206C_200F_206D_202B_200C_206A_206B_206F_202A_206E_206C_202E_200D_206C_206A_202D_200E_202C_206F_206A_202E(_pluginInterface, (IPluginConfiguration)_configuration); + } + + void IPersistableWindowConfig.SaveWindowConfig() + { + //ILSpy generated this explicit interface implementation from .override directive in SaveWindowConfig + this.SaveWindowConfig(); } public void OpenForQuest(ElementId questId) { _questSequenceComponent.SetLookedUpQuest(questId); _selectLookupTabNextFrame = true; - base.IsOpenAndUncollapsed = true; + _200B_206E_200C_200D_200F_206A_206C_206E_202B_206C_202E_200B_200B_206B_202A_202A_202B_202A_200C_200E_200B_200E_202D_202B_202A_200F_206A_206C_200C_202C_206C_202C_200B_206D_202E_206D_206E_202D_202B_206F_202E((LWindow)this, true); } + [MethodImpl(MethodImplOptions.NoInlining)] 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))) + int num = (isOpen ? 614806055 : 614806050); + int selectedTab = default(int); + while (true) { - using (ImRaii.PushColor(ImGuiCol.TabHovered, new Vector4(0.35f, 0.3f, 0.45f, 0.9f))) + int num2 = num; + int num3 = 614806053; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) { - 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; - } + case 5: + QuestSequenceComponent.DrawWindowBorder(); + return; + case 6: + _206D_202B_200B_206D_202E_206E_200F_200C_206D_206E_206D_202D_200F_206D_202E_200E_206C_202D_202B_202E_206D_206B_200C_200B_202A_206A_206E_202E_206F_202D_200C_200B_206D_202B_202E_200F_202C_202A_200C_206D_202E(); + _questSequenceComponent.DrawCurrentQuestTab(); + num = 614806048; + break; + case 8: + { + InlineArray2 buffer = default(InlineArray2); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 0) = global::_003CModule_003E._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(-917877245); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, string>(ref buffer, 1) = global::_003CModule_003E._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(478358345); + _selectedTab = UiThemeUtils.DrawTabBar(global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, string>(in buffer, 2), _selectedTab); + selectedTab = _selectedTab; + num = ((selectedTab == 0) ? 614806051 : 614806060); + break; + } + case 3: + _206D_202B_200B_206D_202E_206E_200F_200C_206D_206E_206D_202D_200F_206D_202E_200E_206C_202D_202B_202E_206D_206B_200C_200B_202A_206A_206E_202E_206F_202D_200C_200B_206D_202B_202E_200F_202C_202A_200C_206D_202E(); + _questSequenceComponent.DrawQuestLookupTab(); + num = 614806048; + break; + case 7: + RequestClose(); + num = 614806055; + break; + case 0: + num = 614806050; + break; + case 2: + _206D_202B_200B_206D_202E_206E_200F_200C_206D_206E_206D_202D_200F_206D_202E_200E_206C_202D_202B_202E_206D_206B_200C_200B_202A_206A_206E_202E_206F_202D_200C_200B_206D_202B_202E_200F_202C_202A_200C_206D_202E(); + _206D_202B_200B_206D_202E_206E_200F_200C_206D_206E_206D_202D_200F_206D_202E_200E_206C_202D_202B_202E_206D_206B_200C_200B_202A_206A_206E_202E_206F_202D_200C_200B_206D_202B_202E_200F_202C_202A_200C_206D_202E(); + num = ((!_selectLookupTabNextFrame) ? 614806061 : 614806049); + break; + case 1: + num = 614806048; + break; + case 4: + _selectedTab = 1; + _selectLookupTabNextFrame = false; + num = 614806061; + break; + case 9: + num = ((selectedTab == 1) ? 614806054 : 614806052); + break; } } - QuestSequenceComponent.DrawWindowBorder(); + } + + void _200F_202E_206B_202A_206E_206E_206C_206D_206F_206F_206E_202A_202D_200C_202C_200B_202E_206D_206F_206E_202D_206A_200C_202A_200E_202C_206A_206F_206C_200E_200C_206E_202D_202C_206B_206E_206D_200D_202B_202C_202E(Vector2? P_0) + { + base.Size = P_0; + } + + void _200E_206D_200B_200F_206D_202B_202A_202C_202B_202D_202A_202A_200F_200E_200D_200E_202B_200C_206B_206F_206E_200E_200E_202A_200B_200E_200E_202A_200C_202A_202A_206A_202C_206F_202D_206A_202A_206E_200D_206A_202E(ImGuiCond P_0) + { + base.SizeCondition = P_0; + } + + void _202B_206E_200E_206B_200D_206D_202A_202E_206F_202C_206B_200F_206A_206E_206C_202D_200E_202D_202E_206A_206E_202D_202C_200E_200E_206C_206E_206E_202D_202E_200D_200B_206C_202A_202B_200D_202A_200F_200F_200E_202E(WindowSizeConstraints? P_0) + { + base.SizeConstraints = P_0; + } + + static void _206F_202A_206B_206F_202E_202C_200C_200F_202D_206C_202E_206B_200F_202D_202A_206A_200F_206F_206C_200C_206C_200F_206D_202B_200C_206A_206B_206F_202A_206E_206C_202E_200D_206C_206A_202D_200E_202C_206F_206A_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); + } + + static void _200B_206E_200C_200D_200F_206A_206C_206E_202B_206C_202E_200B_200B_206B_202A_202A_202B_202A_200C_200E_200B_200E_202D_202B_202A_200F_206A_206C_200C_202C_206C_202C_200B_206D_202E_206D_206E_202D_202B_206F_202E(LWindow P_0, bool P_1) + { + P_0.IsOpenAndUncollapsed = P_1; + } + + static void _206D_202B_200B_206D_202E_206E_200F_200C_206D_206E_206D_202D_200F_206D_202E_200E_206C_202D_202B_202E_206D_206B_200C_200B_202A_206A_206E_202E_206F_202D_200C_200B_206D_202B_202E_200F_202C_202A_200C_206D_202E() + { + ImGui.Spacing(); } } diff --git a/Questionable/Questionable.Windows/QuestValidationWindow.cs b/Questionable/Questionable.Windows/QuestValidationWindow.cs index 0b750787..05aba02c 100644 --- a/Questionable/Questionable.Windows/QuestValidationWindow.cs +++ b/Questionable/Questionable.Windows/QuestValidationWindow.cs @@ -1,5 +1,7 @@ using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; +using Dalamud.Configuration; using Dalamud.Interface.Windowing; using Dalamud.Plugin; using LLib.ImGui; @@ -7,7 +9,7 @@ using Questionable.Windows.QuestComponents; namespace Questionable.Windows; -internal sealed class QuestValidationWindow : LWindow, IPersistableWindowConfig +internal sealed class QuestValidationWindow : ThemedWindow, IPersistableWindowConfig { private readonly IDalamudPluginInterface _pluginInterface; @@ -17,23 +19,30 @@ internal sealed class QuestValidationWindow : LWindow, IPersistableWindowConfig public WindowConfig WindowConfig => _configuration.QuestValidationWindowConfig; + [MethodImpl(MethodImplOptions.NoInlining)] public QuestValidationWindow(QuestValidationComponent questValidationComponent, IDalamudPluginInterface pluginInterface, Configuration configuration) - : base("Quest Validation###QuestionableValidator") + : base(global::_003CModule_003E._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(675069397)) { _questValidationComponent = questValidationComponent; _pluginInterface = pluginInterface; _configuration = configuration; - base.Size = new Vector2(800f, 400f); - base.SizeCondition = ImGuiCond.FirstUseEver; - base.SizeConstraints = new WindowSizeConstraints + _206B_202A_202D_206A_206D_202A_206F_202E_206A_200C_206E_200F_202C_200C_202D_202E_202C_202D_200C_202E_200C_202D_202B_202E_206C_202D_206E_202A_206F_202C_202B_206F_206D_202D_202B_206A_202E_202C_200E_206E_202E((Vector2?)new Vector2(800f, 400f)); + _206C_200D_206B_202A_202B_200B_200D_206E_200C_200C_202D_206E_200D_200C_202C_206A_200D_200C_206A_206B_206C_206C_206A_200F_202A_206D_200E_200F_206B_202E_202E_206A_202E_202B_200F_200F_206D_202E_200C_200E_202E(ImGuiCond.FirstUseEver); + _202A_202C_200B_200F_200B_206D_206A_202B_200D_202E_202D_200B_202B_202E_200B_200C_200B_202B_206F_200D_202E_206C_202C_200C_200E_206B_206D_206B_200B_200C_202B_206D_202B_200B_200C_200E_200F_200F_206B_206F_202E((WindowSizeConstraints?)new WindowSizeConstraints { MinimumSize = new Vector2(600f, 300f) - }; + }); } public void SaveWindowConfig() { - _pluginInterface.SavePluginConfig(_configuration); + _200C_200F_206E_206C_202C_202E_206C_202B_200B_200F_202E_200E_200E_206B_206C_206F_206F_200D_202A_206C_206C_200C_206F_202B_202E_202D_202A_206F_202B_202D_202E_206F_206A_206A_206A_206A_200B_202C_202E_202E(_pluginInterface, (IPluginConfiguration)_configuration); + } + + void IPersistableWindowConfig.SaveWindowConfig() + { + //ILSpy generated this explicit interface implementation from .override directive in SaveWindowConfig + this.SaveWindowConfig(); } public override bool DrawConditions() @@ -43,6 +52,28 @@ internal sealed class QuestValidationWindow : LWindow, IPersistableWindowConfig public override void DrawContent() { + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); _questValidationComponent.Draw(); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + } + + void _206B_202A_202D_206A_206D_202A_206F_202E_206A_200C_206E_200F_202C_200C_202D_202E_202C_202D_200C_202E_200C_202D_202B_202E_206C_202D_206E_202A_206F_202C_202B_206F_206D_202D_202B_206A_202E_202C_200E_206E_202E(Vector2? P_0) + { + base.Size = P_0; + } + + void _206C_200D_206B_202A_202B_200B_200D_206E_200C_200C_202D_206E_200D_200C_202C_206A_200D_200C_206A_206B_206C_206C_206A_200F_202A_206D_200E_200F_206B_202E_202E_206A_202E_202B_200F_200F_206D_202E_200C_200E_202E(ImGuiCond P_0) + { + base.SizeCondition = P_0; + } + + void _202A_202C_200B_200F_200B_206D_206A_202B_200D_202E_202D_200B_202B_202E_200B_200C_200B_202B_206F_200D_202E_206C_202C_200C_200E_206B_206D_206B_200B_200C_202B_206D_202B_200B_200C_200E_200F_200F_206B_206F_202E(WindowSizeConstraints? P_0) + { + base.SizeConstraints = P_0; + } + + static void _200C_200F_206E_206C_202C_202E_206C_202B_200B_200F_202E_200E_200E_206B_206C_206F_206F_200D_202A_206C_206C_200C_206F_202B_202E_202D_202A_206F_202B_202D_202E_206F_206A_206A_206A_206A_200B_202C_202E_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); } } diff --git a/Questionable/Questionable.Windows/QuestWindow.cs b/Questionable/Questionable.Windows/QuestWindow.cs index 72cfcbbc..e747620b 100644 --- a/Questionable/Questionable.Windows/QuestWindow.cs +++ b/Questionable/Questionable.Windows/QuestWindow.cs @@ -1,12 +1,23 @@ using System; +using System.Collections.Generic; using System.Numerics; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; using Dalamud.Bindings.ImGui; +using Dalamud.Configuration; +using Dalamud.Game.ClientState.Objects.SubKinds; +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 Lumina.Excel; +using Lumina.Excel.Sheets; using Questionable.Controller; using Questionable.Controller.GameUi; using Questionable.Data; @@ -14,9 +25,80 @@ 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; + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static System.Action _003C_003E9__22_3; + + [MethodImpl(MethodImplOptions.NoInlining)] + internal void _003C_002Ector_003Eb__22_3() + { + _202B_200E_206E_206E_200D_200E_200E_200F_200E_202A_202D_200F_206D_202C_206D_200F_200E_200E_200E_206F_206F_202E_202E_202D_200C_206A_200E_200B_206C_200D_206C_202D_202A_200C_202D_206C_202B_202E_202B_202B_202E(); + _206F_200B_206A_206D_206F_200F_206A_200B_200E_202D_202C_202A_206E_200B_206A_202C_206B_206E_206D_200D_200B_206A_206B_200B_200E_206A_200B_206E_200F_206B_200C_200F_200F_206C_206B_206E_202C_206A_206E_200D_202E((ImU8String)global::_003CModule_003E._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(-2102670583)); + _200E_202E_206F_200B_206B_200C_206E_200D_206B_200C_200D_200D_200F_202A_202B_202B_206C_206B_206C_206E_200C_200B_206D_206F_206B_200E_202D_200E_206C_206D_202B_200B_200C_206A_206E_206D_202C_200D_206C_206B_202E(); + } + + static void _202B_200E_206E_206E_200D_200E_200E_200F_200E_202A_202D_200F_206D_202C_206D_200F_200E_200E_200E_206F_206F_202E_202E_202D_200C_206A_200E_200B_206C_200D_206C_202D_202A_200C_202D_206C_202B_202E_202B_202B_202E() + { + ImGui.BeginTooltip(); + } + + static void _206F_200B_206A_206D_206F_200F_206A_200B_200E_202D_202C_202A_206E_200B_206A_202C_206B_206E_206D_200D_200B_206A_206B_200B_200E_206A_200B_206E_200F_206B_200C_200F_200F_206C_206B_206E_202C_206A_206E_200D_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static void _200E_202E_206F_200B_206B_200C_206E_200D_206B_200C_200D_200D_200F_202A_202B_202B_206C_206B_206C_206E_200C_200B_206D_206F_206B_200E_202D_200E_206C_206D_202B_200B_200C_206A_206E_206D_202C_200D_206C_206B_202E() + { + ImGui.EndTooltip(); + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass22_0 + { + public QuestWindow _003C_003E4__this; + + public ConfigWindow configWindow; + + internal void _003C_002Ector_003Eb__1(ImGuiMouseButton _) + { + _003C_003E4__this.IsMinimized = !_003C_003E4__this.IsMinimized; + _206B_202D_206B_200F_206D_206D_206C_202B_202B_206E_202B_206F_200D_200D_206F_206E_202C_206B_200F_200F_202A_202E_202A_206B_200D_202D_200F_202C_206C_206A_206E_200E_202E_200B_202C_206E_206E_206B_206F_202C_202E(_003C_003E4__this._minimizeButton, _003C_003E4__this.IsMinimized ? FontAwesomeIcon.WindowMaximize : FontAwesomeIcon.Minus); + } + + internal void _003C_002Ector_003Eb__2(ImGuiMouseButton _) + { + _200D_202A_202E_200D_200D_206E_202C_206C_200F_202E_206A_200B_200B_200C_202A_206F_200B_206A_206E_206C_200F_200D_202C_200C_202E_206C_206E_206A_206A_202A_206F_206C_206C_202E_206B_202E_202B_200C_202D_200E_202E((LWindow)configWindow, true); + } + + internal bool _003C_002Ector_003Eb__0() + { + return _003C_003E4__this.IsOpen; + } + + static void _206B_202D_206B_200F_206D_206D_206C_202B_202B_206E_202B_206F_200D_200D_206F_206E_202C_206B_200F_200F_202A_202E_202A_206B_200D_202D_200F_202C_206C_206A_206E_200E_202E_200B_202C_206E_206E_206B_206F_202C_202E(TitleBarButton P_0, FontAwesomeIcon P_1) + { + P_0.Icon = P_1; + } + + static void _200D_202A_202E_200D_200D_206E_202C_206C_200F_202E_206A_200B_200B_200C_202A_206F_200B_206A_206E_206C_200F_200D_202C_200C_202E_206C_206E_206A_206A_202A_206F_206C_206C_202E_206B_202E_202B_200C_202D_200E_202E(LWindow P_0, bool P_1) + { + P_0.IsOpenAndUncollapsed = P_1; + } + + bool _206A_206C_200B_206A_206E_206E_200B_202E_202E_202B_206F_200B_202D_202B_202E_200D_206C_200B_202B_202D_200B_206B_200B_206B_200B_202E_206C_200B_202C_200B_202C_206A_200B_200F_202B_206F_202A_206A_200B_200F_202E() + { + return ((Window)this).IsOpen; + } + } + + private static readonly Version PluginVersion = _200C_200D_202D_206E_202B_206D_202C_202C_206C_200C_202A_206B_200B_200B_200D_202A_206C_206B_206B_202A_206E_206E_206A_200F_200B_200C_202D_206A_200D_202C_200E_200F_206D_206A_200C_202E_200F_200E_200F_202A_202E(_200D_206D_200B_200B_202A_206C_200C_206C_202C_200F_206B_202D_202B_200F_206B_202D_206C_202A_202D_206F_200E_202A_202D_202C_202A_202B_200E_206B_202B_206D_200B_206B_206A_202A_202E_202B_200D_206B_200F_200D_202E(_200F_200C_206F_200E_202A_200C_202C_202A_206B_202A_202B_202E_206B_200B_206B_206B_206B_200F_202A_200F_202C_202A_206D_202B_206F_202B_200E_206E_200E_206F_206A_202C_200D_202A_202E_200B_200B_200C_206A_202D_202E(_200E_202C_202E_206A_200E_200E_202C_206C_206D_206F_202A_202E_202B_200F_202E_200E_202D_206E_202B_202A_202D_202A_202A_206A_202D_200E_202E_206F_200F_200D_202E_200E_202E_206A_200F_202C_200C_202B_200F_202A_202E(typeof(QuestionablePlugin).TypeHandle)))); private const string TestingSuffix = ""; @@ -40,22 +122,35 @@ 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) - : base("Questionable v" + PluginVersion.ToString(3) + "###Questionable", ImGuiWindowFlags.AlwaysAutoResize) + public bool IsReloading { get; private set; } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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(_200B_202A_202E_200E_202B_202A_202D_200D_200D_202B_202D_206D_200F_202C_200E_206B_202B_200E_206E_202A_206D_202C_206E_200E_206F_202E_200B_202D_206A_200F_202E_200D_202C_202C_206F_202E_202C_202C_202E_206B_202E(global::_003CModule_003E._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(1455489909), _206D_206D_202D_200B_202C_206D_200F_200E_200D_206C_206B_206E_202A_202D_200E_202D_206E_202C_202D_206B_200F_206D_200C_206C_202D_200C_202C_200C_202A_202B_202E_200C_202A_206A_206F_202D_200F_200B_206D_202A_202E(PluginVersion, 3), global::_003CModule_003E._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(1917286556)), ImGuiWindowFlags.AlwaysAutoResize) { QuestWindow questWindow = this; _pluginInterface = pluginInterface; @@ -68,118 +163,311 @@ 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 + _200F_206E_202D_206A_200F_202C_206C_200D_202E_202A_206E_200E_206E_202C_202B_202C_202E_200F_202B_200C_202D_206B_202B_202B_200B_200E_200C_200C_206E_202A_206A_200D_200D_206F_206C_200B_202C_202A_206F_206C_202E((WindowSizeConstraints?)new WindowSizeConstraints { - MinimumSize = new Vector2(240f, 30f), - MaximumSize = default(Vector2) - }; - base.RespectCloseHotkey = false; - base.AllowClickthrough = false; - _minimizeButton = new TitleBarButton - { - Icon = FontAwesomeIcon.Minus, - Priority = int.MinValue, - IconOffset = new Vector2(1.5f, 1f), - Click = delegate - { - questWindow.IsMinimized = !questWindow.IsMinimized; - questWindow._minimizeButton.Icon = (questWindow.IsMinimized ? FontAwesomeIcon.WindowMaximize : FontAwesomeIcon.Minus); - }, - AvailableClickthrough = true - }; - base.TitleBarButtons.Insert(0, _minimizeButton); - base.TitleBarButtons.Add(new TitleBarButton - { - Icon = FontAwesomeIcon.Cog, - IconOffset = new Vector2(1.5f, 1f), - Click = delegate - { - configWindow.IsOpenAndUncollapsed = true; - }, - Priority = int.MinValue, - ShowTooltip = delegate - { - ImGui.BeginTooltip(); - ImGui.Text("Open Configuration"); - ImGui.EndTooltip(); - } + MinimumSize = new Vector2(350f, 30f), + MaximumSize = new Vector2(350f, 4000f) }); - _activeQuestComponent.Reload += OnReload; + _206B_202D_206F_206A_206A_206F_200E_206C_200E_206D_202E_200E_202C_206D_200E_202E_206D_202A_202B_202E_200C_202D_202A_202E_202A_200F_206A_200B_200D_206B_202E_200F_206B_202A_202E_200C_202C_200E_202B_202C_202E(false); + _202B_202B_200E_202A_202B_200B_206B_202A_206E_206C_202D_200B_206B_200E_206D_206F_206F_200E_200D_200B_206A_206F_206D_206D_202D_206E_202C_206E_206B_202C_202D_200D_206B_200F_202C_200C_202B_202A_206F_200F_202E(false); + TitleBarButton titleBarButton = _202E_202A_202A_206F_206B_200E_200D_206B_200F_206B_202A_202A_202B_206C_206C_206A_200B_200C_206E_206A_200C_206A_206C_202D_202E_206B_206C_206B_200C_206E_202C_202D_206C_202E_206F_202D_200F_206F_206E_202E(); + _202A_206D_206C_206A_202B_206B_206C_200E_200F_202D_200D_202A_206B_202A_202C_202B_206A_206E_206F_206D_200F_206F_202A_200F_206F_202B_200F_206A_200F_206B_200C_206C_202A_202A_206D_206A_202D_200B_206B_202D_202E(titleBarButton, FontAwesomeIcon.Minus); + _200C_206F_200D_200F_200E_200F_202E_200D_200C_200D_200B_202C_200D_202C_206F_206A_206E_200B_202D_200F_202A_202E_200C_200E_206D_200D_202D_206F_206F_206F_202E_206E_202A_200C_200C_206E_206E_200B_202D_206A_202E(titleBarButton, int.MinValue); + _206B_200F_202D_206E_202E_200B_202C_202C_202A_206E_202C_206E_202A_202E_200E_202E_206D_206C_206C_200B_206F_202A_206D_202B_200F_200E_202D_202D_202B_202B_206A_202B_202E_206B_206B_206B_202E_202D_200C_202C_202E(titleBarButton, new Vector2(1.5f, 1f)); + _200F_200E_206D_206D_200F_202B_202A_202B_206B_206A_206A_200E_202C_200F_202A_206B_206B_202B_202E_202B_206C_202A_206D_202D_200D_206F_206F_202E_206A_206E_202E_200C_200B_202E_202C_206C_200D_206E_202B_200F_202E(titleBarButton, (Action)delegate + { + questWindow.IsMinimized = !questWindow.IsMinimized; + _003C_003Ec__DisplayClass22_0._206B_202D_206B_200F_206D_206D_206C_202B_202B_206E_202B_206F_200D_200D_206F_206E_202C_206B_200F_200F_202A_202E_202A_206B_200D_202D_200F_202C_206C_206A_206E_200E_202E_200B_202C_206E_206E_206B_206F_202C_202E(questWindow._minimizeButton, questWindow.IsMinimized ? FontAwesomeIcon.WindowMaximize : FontAwesomeIcon.Minus); + }); + _202B_200D_206B_200B_202B_202C_200B_206E_206A_200F_200D_202D_206E_206B_200B_202B_202B_200F_206B_202C_200B_206B_200E_206F_202C_200C_202B_200D_202D_200E_206A_206C_206E_202D_200F_206E_206D_202B_200D_206B_202E(titleBarButton, true); + _minimizeButton = titleBarButton; + _200C_202B_206F_202B_206F_202B_206D_206D_200D_200D_202C_206A_206B_200E_200C_202C_202C_206A_206F_206D_206B_202A_200E_206E_206D_206A_200F_202E_206A_200C_202E_202C_202D_200F_200E_202E_202D_200C_200B_202B_202E().Insert(0, _minimizeButton); + List list = _200C_202B_206F_202B_206F_202B_206D_206D_200D_200D_202C_206A_206B_200E_200C_202C_202C_206A_206F_206D_206B_202A_200E_206E_206D_206A_200F_202E_206A_200C_202E_202C_202D_200F_200E_202E_202D_200C_200B_202B_202E(); + TitleBarButton titleBarButton2 = _202E_202A_202A_206F_206B_200E_200D_206B_200F_206B_202A_202A_202B_206C_206C_206A_200B_200C_206E_206A_200C_206A_206C_202D_202E_206B_206C_206B_200C_206E_202C_202D_206C_202E_206F_202D_200F_206F_206E_202E(); + _202A_206D_206C_206A_202B_206B_206C_200E_200F_202D_200D_202A_206B_202A_202C_202B_206A_206E_206F_206D_200F_206F_202A_200F_206F_202B_200F_206A_200F_206B_200C_206C_202A_202A_206D_206A_202D_200B_206B_202D_202E(titleBarButton2, FontAwesomeIcon.Sun); + _206B_200F_202D_206E_202E_200B_202C_202C_202A_206E_202C_206E_202A_202E_200E_202E_206D_206C_206C_200B_206F_202A_206D_202B_200F_200E_202D_202D_202B_202B_206A_202B_202E_206B_206B_206B_202E_202D_200C_202C_202E(titleBarButton2, new Vector2(1.5f, 1f)); + _200F_200E_206D_206D_200F_202B_202A_202B_206B_206A_206A_200E_202C_200F_202A_206B_206B_202B_202E_202B_206C_202A_206D_202D_200D_206F_206F_202E_206A_206E_202E_200C_200B_202E_202C_206C_200D_206E_202B_200F_202E(titleBarButton2, (Action)delegate + { + _003C_003Ec__DisplayClass22_0._200D_202A_202E_200D_200D_206E_202C_206C_200F_202E_206A_200B_200B_200C_202A_206F_200B_206A_206E_206C_200F_200D_202C_200C_202E_206C_206E_206A_206A_202A_206F_206C_206C_202E_206B_202E_202B_200C_202D_200E_202E((LWindow)configWindow, true); + }); + _200C_206F_200D_200F_200E_200F_202E_200D_200C_200D_200B_202C_200D_202C_206F_206A_206E_200B_202D_200F_202A_202E_200C_200E_206D_200D_202D_206F_206F_206F_202E_206E_202A_200C_200C_206E_206E_200B_202D_206A_202E(titleBarButton2, int.MinValue); + _200D_206E_202A_200E_202E_202E_202A_206A_206C_202C_200F_206D_202B_206F_200B_202D_200E_200E_200B_206F_202A_206A_202D_200E_206E_200D_200F_206F_206A_202B_200F_202C_200E_202D_206D_202A_200B_200C_202D_202D_202E(titleBarButton2, (System.Action)([MethodImpl(MethodImplOptions.NoInlining)] () => + { + _003C_003Ec._202B_200E_206E_206E_200D_200E_200E_200F_200E_202A_202D_200F_206D_202C_206D_200F_200E_200E_200E_206F_206F_202E_202E_202D_200C_206A_200E_200B_206C_200D_206C_202D_202A_200C_202D_206C_202B_202E_202B_202B_202E(); + _003C_003Ec._206F_200B_206A_206D_206F_200F_206A_200B_200E_202D_202C_202A_206E_200B_206A_202C_206B_206E_206D_200D_200B_206A_206B_200B_200E_206A_200B_206E_200F_206B_200C_200F_200F_206C_206B_206E_202C_206A_206E_200D_202E((ImU8String)global::_003CModule_003E._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(-2102670583)); + _003C_003Ec._200E_202E_206F_200B_206B_200C_206E_200D_206B_200C_200D_200D_200F_202A_202B_202B_206C_206B_206C_206E_200C_200B_206D_206F_206B_200E_202D_200E_206C_206D_202B_200B_200C_206A_206E_206D_202C_200D_206C_206B_202E(); + })); + list.Add(titleBarButton2); + _activeQuestComponent.OpenQueueTab += SwitchToQueueTab; _quickAccessButtonsComponent.Reload += OnReload; _questController.IsQuestWindowOpenFunction = () => questWindow.IsOpen; } public void SaveWindowConfig() { - _pluginInterface.SavePluginConfig(_configuration); + _200E_200B_202D_200D_202D_206A_202A_206B_200F_202D_200E_202A_206D_202E_202E_200E_206D_206E_202A_206D_200E_206D_206F_206B_206F_202B_206E_200D_206A_206D_200C_206B_202A_200D_200E_206E_200C_206C_206F_206A_202E(_pluginInterface, (IPluginConfiguration)_configuration); + } + + void IPersistableWindowConfig.SaveWindowConfig() + { + //ILSpy generated this explicit interface implementation from .override directive in SaveWindowConfig + this.SaveWindowConfig(); } public override void PreOpenCheck() { - if (_questController.IsRunning) + int num = ((!_questController.IsRunning) ? (-1198516443) : (-1198516442)); + while (true) { - base.IsOpen = true; - base.Flags |= ImGuiWindowFlags.NoCollapse; - base.ShowCloseButton = false; - } - else - { - base.Flags &= ~ImGuiWindowFlags.NoCollapse; - base.ShowCloseButton = true; + int num2 = num; + int num3 = -1198516441; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004b; + case 1: + _200B_206B_202E_206B_202A_200F_200F_202B_200C_202D_202A_206B_202C_202A_206C_202B_206F_202E_206B_200E_206F_200E_206C_206E_200B_200F_206D_200B_206A_200D_200E_200B_200C_202D_202C_200D_202A_202E_202B_202B_202E(true); + _202D_202E_206F_202A_202E_206B_206B_200E_202C_206C_206B_202E_206D_202A_200D_202D_206F_202A_200E_206A_202A_206B_202B_200D_200B_206E_206D_202E_202E_206F_202E_202D_200F_202D_206A_202A_206E_206E_206E_200D_202E(_202A_200E_206C_202C_200B_200E_202C_200F_202A_206D_202B_202D_202A_206C_206A_200F_202C_206E_202D_206B_206E_202E_206F_206E_206C_206E_200C_202D_206B_206A_200E_206A_202E_200F_206C_200E_200D_206C_200C_202E() | ImGuiWindowFlags.NoCollapse); + _200D_200E_206F_200E_202D_206A_206E_202C_206F_206F_202C_200F_200E_206A_206D_206E_202B_200F_200E_206A_202E_202A_200B_200E_200C_202A_206C_206D_206F_202A_202D_206F_200B_206A_206A_202A_202E_200E_206E_206E_202E(false); + return; + case 2: + _202D_202E_206F_202A_202E_206B_206B_200E_202C_206C_206B_202E_206D_202A_200D_202D_206F_202A_200E_206A_202A_206B_202B_200D_200B_206E_206D_202E_202E_206F_202E_202D_200F_202D_206A_202A_206E_206E_206E_200D_202E(_202A_200E_206C_202C_200B_200E_202C_200F_202A_206D_202B_202D_202A_206C_206A_200F_202C_206E_202D_206B_206E_202E_206F_206E_206C_206E_200C_202D_206B_206A_200E_206A_202E_200F_206C_200E_200D_206C_200C_202E() & ~ImGuiWindowFlags.NoCollapse); + _200D_200E_206F_200E_202D_206A_206E_202C_206F_206F_202C_200F_200E_206A_206D_206E_202B_200F_200E_206A_202E_202A_200B_200E_200C_202A_206C_206D_206F_202A_202D_206F_200B_206A_206A_202A_202E_200E_206E_206E_202E(true); + return; + } + continue; + IL_004b: + num = -1198516442; } } public override bool DrawConditions() { - if (!_configuration.IsPluginSetupComplete()) + int num = (_configuration.IsPluginSetupComplete() ? 991073778 : 991073790); + while (true) { - return false; + int num2 = num; + int num3 = 991073787; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = ((_200C_200B_206F_206C_202A_202A_202D_200E_202D_206B_200C_202B_200C_206D_200E_202D_202C_200E_200E_200D_202B_200F_202A_206F_206A_202E_206C_200F_202A_206D_206C_206C_206C_202C_202D_202C_200F_202B_202A_200E_202E(_objectTable) == null) ? 991073786 : 991073789); + break; + case 8: + return false; + case 1: + return false; + case 10: + num = 991073790; + break; + case 9: + num = ((!_206C_202D_202E_200E_202A_206B_202B_200E_202D_200D_200F_200D_200E_200F_202E_202E_206C_202D_202B_200D_200D_202B_202A_200D_200B_206F_202D_206C_206E_202C_206C_206E_202C_206D_202E_206B_200E_206A_202B_200F_202E(_clientState)) ? 991073786 : 991073791); + break; + case 0: + num = ((!_configuration.General.HideInAllInstances) ? 991073788 : 991073784); + break; + case 3: + num = (_configuration.Advanced.ShowWindowInInstances ? 991073788 : 991073785); + break; + case 2: + num = ((!_territoryData.IsDutyInstance(_202C_200D_206A_200B_206F_200B_206F_206A_202B_206C_200B_200D_200F_202B_202E_202B_206C_206B_206C_202D_200D_200B_200E_200E_202D_206B_200E_200F_206D_206E_206A_202D_202C_206B_206D_202B_206C_206B_202D_206A_202E(_clientState))) ? 991073788 : 991073779); + break; + case 5: + return false; + case 7: + return true; + case 6: + num = ((!_202A_200C_206E_206C_206A_200D_206E_200C_206E_200E_202C_200E_200B_202A_202B_202C_202C_202E_206E_206F_200E_206D_202D_206C_200F_200F_206B_206D_206E_200C_200F_206C_202B_202D_206C_206F_200E_206D_206A_200C_202E(_clientState)) ? 991073787 : 991073786); + break; + } } - if (!_clientState.IsLoggedIn || _objectTable.LocalPlayer == null || _clientState.IsPvPExcludingDen) - { - return false; - } - if (_configuration.General.HideInAllInstances && !_configuration.Advanced.ShowWindowInInstances && _territoryData.IsDutyInstance(_clientState.TerritoryType)) - { - return false; - } - return true; } + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawContent() { try { - _activeQuestComponent.Draw(IsMinimized); - if (!IsMinimized) + ICharacter obj = _200F_202C_206E_206F_200D_202A_206D_206C_200D_206D_200B_200D_202A_206C_200C_200D_200C_206B_206E_202B_206E_202A_206C_202C_206A_206B_200B_200F_206A_200E_202D_200E_200F_206E_202B_202C_206D_202E_200F_206D_202E(_objectTable, 0) as ICharacter; + uint? num = ((obj != null) ? new uint?(_206E_206F_206F_202C_202A_202C_206A_200E_200C_206A_206A_206A_200C_206D_202B_202C_206E_200C_202A_202C_202E_200C_200E_200D_202E_200C_200D_202D_202C_202A_200C_200B_206A_206C_200F_200F_202D_202A_200C_202D_202E(obj).RowId) : ((uint?)null)); + int num2 = (num.HasValue ? 388553375 : 388553371); + EClassJob valueOrDefault = default(EClassJob); + while (true) { - ImGui.Separator(); - if (_aRealmRebornComponent.ShouldDraw) + int num3 = num2; + int num4 = 388553374; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + EClassJob? obj2; + EClassJob? eClassJob; + switch (num6 - (num7 + num7)) { - _aRealmRebornComponent.Draw(); - ImGui.Separator(); + case 4: + _selectedTab = UiThemeUtils.DrawTabBar(global::_003CModule_003E._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(345110125), global::_003CModule_003E._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(-1899915976), _selectedTab); + num2 = ((_selectedTab != 0) ? 388553373 : 388553372); + break; + case 5: + obj2 = null; + goto IL_0116; + case 1: + obj2 = (EClassJob)num.GetValueOrDefault(); + goto IL_0116; + case 6: + _activeQuestComponent.Draw(isMinimized: true); + return; + case 7: + num2 = ((!IsMinimized) ? 388553370 : 388553368); + break; + case 0: + num2 = 388553371; + break; + case 3: + DrawQueueTab(); + num2 = 388553366; + break; + case 2: + DrawQuestTab(); + num2 = 388553366; + break; + case 9: + UiThemeUtils.WrappedTextColored(_206C_202B_202D_206D_200B_206E_202B_202E_200C_202A_202A_202C_206E_200B_200E_206D_202C_202C_202E_202D_206D_202B_206F_206C_200E_202C_206B_200C_206D_200D_206B_206B_200F_200D_200C_202D_200C_206E_206A_206D_202E(), _206F_200B_200F_200D_202A_200F_200F_200D_202D_200C_202C_200F_200C_206E_200D_206F_202C_200D_202A_200B_200F_206C_202D_200E_206A_206D_202E_200B_206A_206F_206B_206A_200E_200B_206E_202C_202B_206E_200E_206E_202E(_200F_202E_206F_200B_206E_200B_202A_200F_206F_206C_200B_202E_202E_206B_200D_202A_200B_202C_206E_200F_200F_200D_206D_206C_200E_200C_202E_200D_202D_200D_200D_202E_206A_206A_206F_206B_202B_206B_206D_202E(valueOrDefault), global::_003CModule_003E._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(-1341505200))); + _200D_202E_202C_200D_200F_202D_202A_200F_200E_200F_200E_200D_202A_206C_202E_206F_206B_202C_202E_206B_200B_206D_202B_206D_206F_202B_202D_202A_206B_202E_206B_200B_202A_206F_202B_206C_206D_200D_206C_206F_202E(); + num2 = 388553369; + break; + case 8: + return; + IL_0116: + eClassJob = obj2; + valueOrDefault = eClassJob.GetValueOrDefault(); + num2 = ((!_200E_206C_202A_206D_202A_200F_202E_202E_206B_200E_200C_206E_206A_206D_202B_206D_206E_206B_200B_202E_202D_202E_202D_200D_200D_206F_202A_206B_206D_206F_206D_206B_202D_202C_200F_206D_202D_206A_206E_200E_202E(valueOrDefault)) ? 388553369 : 388553367); + break; } - if (_eventInfoComponent.ShouldDraw) - { - _eventInfoComponent.Draw(); - ImGui.Separator(); - } - _creationUtilsComponent.Draw(); - ImGui.Separator(); - _quickAccessButtonsComponent.Draw(); - _remainingTasksComponent.Draw(); } } catch (Exception ex) { - ImGui.TextColored(ImGuiColors.DalamudRed, ex.ToString()); + UiThemeUtils.WrappedTextColored(_202E_202E_200E_206D_200E_200E_206D_200C_202B_206F_206B_200E_200C_202C_202B_200D_202E_200E_200E_206C_206E_202B_200D_200C_200F_200B_200D_200B_200B_206B_202C_206D_200B_206D_200F_200B_206F_206C_200C_206C_202E(), _202B_202C_206F_202A_206E_200E_200B_206C_206E_206D_200F_206A_202B_206B_202D_200E_200E_202B_206F_202D_202D_200B_200B_206F_200F_202B_206E_202C_206A_202B_200B_202B_202E_202D_206D_202C_200C_206D_206E_206A_202E((object)ex)); } } + private void DrawQuestTab() + { + _activeQuestComponent.Draw(isMinimized: false); + UiThemeUtils.SectionSpacing(); + int num = ((!_aRealmRebornComponent.ShouldDraw) ? (-1400072474) : (-1400072477)); + while (true) + { + int num2 = num; + int num3 = -1400072480; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _quickAccessButtonsComponent.IsReloading = IsReloading; + _quickAccessButtonsComponent.Draw(); + UiThemeUtils.SectionSpacing(); + _navigationBarComponent.Draw(); + return; + case 3: + _aRealmRebornComponent.Draw(); + UiThemeUtils.SectionSpacing(); + num = -1400072474; + break; + case 4: + num = -1400072477; + break; + case 5: + UiThemeUtils.SectionSpacing(); + num = -1400072478; + break; + case 1: + _eventInfoComponent.Draw(); + UiThemeUtils.SectionSpacing(); + num = -1400072480; + break; + case 6: + num = ((!_eventInfoComponent.ShouldDraw) ? (-1400072480) : (-1400072479)); + break; + case 0: + num = ((!_remainingTasksComponent.Draw()) ? (-1400072478) : (-1400072475)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawQueueTab() + { + Vector2 vector = _200E_202A_200F_206B_200D_202C_202D_202A_202D_206C_206C_206D_206D_202B_200E_200C_202E_206F_206E_200F_200B_206C_200E_202A_200E_206B_206D_200B_200F_206F_202C_206B_206D_202B_202E_206A_202C_206A_200F_206C_202E(); + float x = _200F_202D_206F_202B_200C_202A_202D_200F_200C_200E_206B_202B_206F_202B_200C_206C_206D_202B_202E_206D_206C_202A_206D_206C_206B_206E_202B_202A_206B_200B_202C_200C_200D_206C_202C_202D_200D_202C_206E_202D_202E().X; + ImDrawListPtr imDrawListPtr = _202C_206F_200D_206A_200F_200B_200D_200B_200C_202C_202D_200F_206C_200D_206D_202E_206E_200D_202E_206C_206E_202D_206F_200E_200C_202E_200F_206E_206C_200E_202D_202D_202D_206C_202D_206C_206F_202C_206C_202D_202E(); + imDrawListPtr.ChannelsSplit(2); + imDrawListPtr.ChannelsSetCurrent(1); + _200B_202B_200B_200C_202A_200E_206D_200F_206C_206A_206B_200B_200F_202E_200F_200F_200E_206F_206B_206D_200B_206F_200D_200F_206A_206C_200C_206F_206B_206F_202A_202D_202B_206E_202C_200F_206F_200F_200B_206A_202E(vector + new Vector2(6f, 6f)); + if (UiThemeUtils.PillButton(global::_003CModule_003E._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(-978879249), _queueSubTab == 0)) + { + _queueSubTab = 0; + } + _202A_206B_202D_206C_206A_200E_202E_202D_206F_200C_206C_206C_206B_206B_202E_202B_202E_206A_206A_200C_202B_200F_200D_202C_202A_206C_202A_206F_206E_206F_200C_200E_200C_200D_206A_202B_206C_200D_200B_202C_202E(); + if (UiThemeUtils.PillButton(global::_003CModule_003E._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(51775154), _queueSubTab == 1)) + { + _queueSubTab = 1; + } + Vector2 vector2 = _200E_202A_200F_206B_200D_202C_202D_202A_202D_206C_206C_206D_206D_202B_200E_200C_202E_206F_206E_200F_200B_206C_200E_202A_200E_206B_206D_200B_200F_206F_202C_206B_206D_202B_202E_206A_202C_206A_200F_206C_202E(); + imDrawListPtr.ChannelsSetCurrent(0); + _200B_202B_200B_200C_202A_200E_206D_200F_206C_206A_206B_200B_200F_202E_200F_200F_200E_206F_206B_206D_200B_206F_200D_200F_206A_206C_200C_206F_206B_206F_202A_202D_202B_206E_202C_200F_206F_200F_200B_206A_202E(vector); + Vector2 pMin = _200F_202A_200B_202A_206A_200E_206F_202E_200F_200F_206B_206A_206E_206C_200D_200B_202D_206A_202C_206C_206C_200B_200E_200C_206A_206C_200F_206A_206D_206E_206C_200C_200C_206A_202D_200E_200C_206E_200C_202B_202E(); + _200B_202B_200B_200C_202A_200E_206D_200F_206C_206A_206B_200B_200F_202E_200F_200F_200E_206F_206B_206D_200B_206F_200D_200F_206A_206C_200C_206F_206B_206F_202A_202D_202B_206E_202C_200F_206F_200F_200B_206A_202E(new Vector2(vector.X, vector2.Y + 6f - _206F_202E_200D_200F_206C_206D_200D_206C_206B_202D_202B_200F_206C_206A_202C_206F_206D_206D_202A_202D_202A_202E_206F_200B_200B_200D_202E_200D_206C_206C_206B_202B_200C_200D_200D_200B_200D_202C_206D_200F_202E().ItemSpacing.Y)); + Vector2 vector3 = _200F_202A_200B_202A_206A_200E_206F_202E_200F_200F_206B_206A_206E_206C_200D_200B_202D_206A_202C_206C_206C_200B_200E_200C_206A_206C_200F_206A_206D_206E_206C_200C_200C_206A_202D_200E_200C_206E_200C_202B_202E(); + imDrawListPtr.AddRectFilled(pMin, new Vector2(pMin.X + x, vector3.Y), _202C_206E_200D_202D_200E_200D_206B_206F_200F_202B_200B_202A_206F_202E_206E_206D_200C_202C_200C_206C_206D_202D_202D_206F_202A_206D_206B_202A_200C_200B_202D_206A_206D_202C_202D_200E_200F_200B_206A_202A_202E(UiThemeUtils.CardBackgroundColor), 6f); + imDrawListPtr.AddRect(pMin, new Vector2(pMin.X + x, vector3.Y), _202C_206E_200D_202D_200E_200D_206B_206F_200F_202B_200B_202A_206F_202E_206E_206D_200C_202C_200C_206C_206D_202D_202D_206F_202A_206D_206B_202A_200C_200B_202D_206A_206D_202C_202D_200E_200F_200B_206A_202A_202E(UiThemeUtils.CardBorderColor), 6f, ImDrawFlags.None, 1f); + imDrawListPtr.ChannelsMerge(); + _200B_202B_200B_200C_202A_200E_206D_200F_206C_206A_206B_200B_200F_202E_200F_200F_200E_206F_206B_206D_200B_206F_200D_200F_206A_206C_200C_206F_206B_206F_202A_202D_202B_206E_202C_200F_206F_200F_200B_206A_202E(new Vector2(vector.X, vector2.Y + 6f)); + UiThemeUtils.SectionSpacing(); + int queueSubTab = _queueSubTab; + int num = ((queueSubTab == 0) ? (-238709594) : (-238709593)); + while (true) + { + int num2 = num; + int num3 = -238709594; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return; + case 0: + _manualPriorityComponent.DrawCompact(); + return; + case 3: + _savedPresetsComponent.Draw(); + return; + case 1: + num = ((queueSubTab == 1) ? (-238709595) : (-238709596)); + break; + case 4: + num = -238709593; + break; + } + } + } + + public void SwitchToQueueTab() + { + _selectedTab = 1; + } + private void OnReload(object? sender, EventArgs e) { Reload(); @@ -187,10 +475,265 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig internal void Reload() { - _questController.Reload(); - _framework.RunOnTick(delegate + int num = ((!IsReloading) ? 162401871 : 162401868); + while (true) { - _interactionUiController.HandleCurrentDialogueChoices(); - }, TimeSpan.FromMilliseconds(200L)); + int num2 = num; + int num3 = 162401869; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0046; + case 2: + IsReloading = true; + _206F_200F_202C_206E_202A_200F_206D_202D_200D_202B_202D_202E_200C_206B_202A_206C_202C_202E_206C_200B_200D_200F_202B_206C_206F_206E_200B_202E_200E_200B_202D_200D_206E_202A_200F_206E_200E_200B_202E_200D_202E((System.Action)delegate + { + try + { + _questController.Reload(); + } + finally + { + IsReloading = false; + } + _202C_202C_200F_202B_200C_206E_206A_206C_202D_200C_206D_202E_206B_200C_206D_200B_206F_206E_202A_200F_202D_206C_206E_200C_202C_202C_200F_206A_200B_200F_202C_202A_206F_202C_200C_206E_200D_202C_206C_206B_202E(_framework, (System.Action)delegate + { + _interactionUiController.HandleCurrentDialogueChoices(); + }, TimeSpan.FromMilliseconds(200L), 0, default(CancellationToken)); + }); + return; + case 1: + return; + } + continue; + IL_0046: + num = 162401868; + } + } + + static string _206D_206D_202D_200B_202C_206D_200F_200E_200D_206C_206B_206E_202A_202D_200E_202D_206E_202C_202D_206B_200F_206D_200C_206C_202D_200C_202C_200C_202A_202B_202E_200C_202A_206A_206F_202D_200F_200B_206D_202A_202E(Version P_0, int P_1) + { + return P_0.ToString(P_1); + } + + static string _200B_202A_202E_200E_202B_202A_202D_200D_200D_202B_202D_206D_200F_202C_200E_206B_202B_200E_206E_202A_206D_202C_206E_200E_206F_202E_200B_202D_206A_200F_202E_200D_202C_202C_206F_202E_202C_202C_202E_206B_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + void _200F_206E_202D_206A_200F_202C_206C_200D_202E_202A_206E_200E_206E_202C_202B_202C_202E_200F_202B_200C_202D_206B_202B_202B_200B_200E_200C_200C_206E_202A_206A_200D_200D_206F_206C_200B_202C_202A_206F_206C_202E(WindowSizeConstraints? P_0) + { + base.SizeConstraints = P_0; + } + + void _206B_202D_206F_206A_206A_206F_200E_206C_200E_206D_202E_200E_202C_206D_200E_202E_206D_202A_202B_202E_200C_202D_202A_202E_202A_200F_206A_200B_200D_206B_202E_200F_206B_202A_202E_200C_202C_200E_202B_202C_202E(bool P_0) + { + base.RespectCloseHotkey = P_0; + } + + void _202B_202B_200E_202A_202B_200B_206B_202A_206E_206C_202D_200B_206B_200E_206D_206F_206F_200E_200D_200B_206A_206F_206D_206D_202D_206E_202C_206E_206B_202C_202D_200D_206B_200F_202C_200C_202B_202A_206F_200F_202E(bool P_0) + { + base.AllowClickthrough = P_0; + } + + static TitleBarButton _202E_202A_202A_206F_206B_200E_200D_206B_200F_206B_202A_202A_202B_206C_206C_206A_200B_200C_206E_206A_200C_206A_206C_202D_202E_206B_206C_206B_200C_206E_202C_202D_206C_202E_206F_202D_200F_206F_206E_202E() + { + return new TitleBarButton(); + } + + static void _202A_206D_206C_206A_202B_206B_206C_200E_200F_202D_200D_202A_206B_202A_202C_202B_206A_206E_206F_206D_200F_206F_202A_200F_206F_202B_200F_206A_200F_206B_200C_206C_202A_202A_206D_206A_202D_200B_206B_202D_202E(TitleBarButton P_0, FontAwesomeIcon P_1) + { + P_0.Icon = P_1; + } + + static void _200C_206F_200D_200F_200E_200F_202E_200D_200C_200D_200B_202C_200D_202C_206F_206A_206E_200B_202D_200F_202A_202E_200C_200E_206D_200D_202D_206F_206F_206F_202E_206E_202A_200C_200C_206E_206E_200B_202D_206A_202E(TitleBarButton P_0, int P_1) + { + P_0.Priority = P_1; + } + + static void _206B_200F_202D_206E_202E_200B_202C_202C_202A_206E_202C_206E_202A_202E_200E_202E_206D_206C_206C_200B_206F_202A_206D_202B_200F_200E_202D_202D_202B_202B_206A_202B_202E_206B_206B_206B_202E_202D_200C_202C_202E(TitleBarButton P_0, Vector2 P_1) + { + P_0.IconOffset = P_1; + } + + static void _200F_200E_206D_206D_200F_202B_202A_202B_206B_206A_206A_200E_202C_200F_202A_206B_206B_202B_202E_202B_206C_202A_206D_202D_200D_206F_206F_202E_206A_206E_202E_200C_200B_202E_202C_206C_200D_206E_202B_200F_202E(TitleBarButton P_0, Action P_1) + { + P_0.Click = P_1; + } + + static void _202B_200D_206B_200B_202B_202C_200B_206E_206A_200F_200D_202D_206E_206B_200B_202B_202B_200F_206B_202C_200B_206B_200E_206F_202C_200C_202B_200D_202D_200E_206A_206C_206E_202D_200F_206E_206D_202B_200D_206B_202E(TitleBarButton P_0, bool P_1) + { + P_0.AvailableClickthrough = P_1; + } + + List _200C_202B_206F_202B_206F_202B_206D_206D_200D_200D_202C_206A_206B_200E_200C_202C_202C_206A_206F_206D_206B_202A_200E_206E_206D_206A_200F_202E_206A_200C_202E_202C_202D_200F_200E_202E_202D_200C_200B_202B_202E() + { + return base.TitleBarButtons; + } + + static void _200D_206E_202A_200E_202E_202E_202A_206A_206C_202C_200F_206D_202B_206F_200B_202D_200E_200E_200B_206F_202A_206A_202D_200E_206E_200D_200F_206F_206A_202B_200F_202C_200E_202D_206D_202A_200B_200C_202D_202D_202E(TitleBarButton P_0, System.Action P_1) + { + P_0.ShowTooltip = P_1; + } + + static void _200E_200B_202D_200D_202D_206A_202A_206B_200F_202D_200E_202A_206D_202E_202E_200E_206D_206E_202A_206D_200E_206D_206F_206B_206F_202B_206E_200D_206A_206D_200C_206B_202A_200D_200E_206E_200C_206C_206F_206A_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); + } + + void _200B_206B_202E_206B_202A_200F_200F_202B_200C_202D_202A_206B_202C_202A_206C_202B_206F_202E_206B_200E_206F_200E_206C_206E_200B_200F_206D_200B_206A_200D_200E_200B_200C_202D_202C_200D_202A_202E_202B_202B_202E(bool P_0) + { + base.IsOpen = P_0; + } + + ImGuiWindowFlags _202A_200E_206C_202C_200B_200E_202C_200F_202A_206D_202B_202D_202A_206C_206A_200F_202C_206E_202D_206B_206E_202E_206F_206E_206C_206E_200C_202D_206B_206A_200E_206A_202E_200F_206C_200E_200D_206C_200C_202E() + { + return base.Flags; + } + + void _202D_202E_206F_202A_202E_206B_206B_200E_202C_206C_206B_202E_206D_202A_200D_202D_206F_202A_200E_206A_202A_206B_202B_200D_200B_206E_206D_202E_202E_206F_202E_202D_200F_202D_206A_202A_206E_206E_206E_200D_202E(ImGuiWindowFlags P_0) + { + base.Flags = P_0; + } + + void _200D_200E_206F_200E_202D_206A_206E_202C_206F_206F_202C_200F_200E_206A_206D_206E_202B_200F_200E_206A_202E_202A_200B_200E_200C_202A_206C_206D_206F_202A_202D_206F_200B_206A_206A_202A_202E_200E_206E_206E_202E(bool P_0) + { + base.ShowCloseButton = P_0; + } + + static bool _206C_202D_202E_200E_202A_206B_202B_200E_202D_200D_200F_200D_200E_200F_202E_202E_206C_202D_202B_200D_200D_202B_202A_200D_200B_206F_202D_206C_206E_202C_206C_206E_202C_206D_202E_206B_200E_206A_202B_200F_202E(IClientState P_0) + { + return P_0.IsLoggedIn; + } + + static IPlayerCharacter _200C_200B_206F_206C_202A_202A_202D_200E_202D_206B_200C_202B_200C_206D_200E_202D_202C_200E_200E_200D_202B_200F_202A_206F_206A_202E_206C_200F_202A_206D_206C_206C_206C_202C_202D_202C_200F_202B_202A_200E_202E(IObjectTable P_0) + { + return P_0.LocalPlayer; + } + + static bool _202A_200C_206E_206C_206A_200D_206E_200C_206E_200E_202C_200E_200B_202A_202B_202C_202C_202E_206E_206F_200E_206D_202D_206C_200F_200F_206B_206D_206E_200C_200F_206C_202B_202D_206C_206F_200E_206D_206A_200C_202E(IClientState P_0) + { + return P_0.IsPvPExcludingDen; + } + + static uint _202C_200D_206A_200B_206F_200B_206F_206A_202B_206C_200B_200D_200F_202B_202E_202B_206C_206B_206C_202D_200D_200B_200E_200E_202D_206B_200E_200F_206D_206E_206A_202D_202C_206B_206D_202B_206C_206B_202D_206A_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static IGameObject _200F_202C_206E_206F_200D_202A_206D_206C_200D_206D_200B_200D_202A_206C_200C_200D_200C_206B_206E_202B_206E_202A_206C_202C_206A_206B_200B_200F_206A_200E_202D_200E_200F_206E_202B_202C_206D_202E_200F_206D_202E(IObjectTable P_0, int P_1) + { + return P_0[P_1]; + } + + static RowRef _206E_206F_206F_202C_202A_202C_206A_200E_200C_206A_206A_206A_200C_206D_202B_202C_206E_200C_202A_202C_202E_200C_200E_200D_202E_200C_200D_202D_202C_202A_200C_200B_206A_206C_200F_200F_202D_202A_200C_202D_202E(ICharacter P_0) + { + return P_0.ClassJob; + } + + static bool _200E_206C_202A_206D_202A_200F_202E_202E_206B_200E_200C_206E_206A_206D_202B_206D_206E_206B_200B_202E_202D_202E_202D_200D_200D_206F_202A_206B_206D_206F_206D_206B_202D_202C_200F_206D_202D_206A_206E_200E_202E(EClassJob P_0) + { + return P_0.IsLimitedJob(); + } + + static Vector4 _206C_202B_202D_206D_200B_206E_202B_202E_200C_202A_202A_202C_206E_200B_200E_206D_202C_202C_202E_202D_206D_202B_206F_206C_200E_202C_206B_200C_206D_200D_206B_206B_200F_200D_200C_202D_200C_206E_206A_206D_202E() + { + return ImGuiColors.DalamudYellow; + } + + static string _200F_202E_206F_200B_206E_200B_202A_200F_206F_206C_200B_202E_202E_206B_200D_202A_200B_202C_206E_200F_200F_200D_206D_206C_200E_200C_202E_200D_202D_200D_200D_202E_206A_206A_206F_206B_202B_206B_206D_202E(EClassJob P_0) + { + return P_0.ToFriendlyString(); + } + + static string _206F_200B_200F_200D_202A_200F_200F_200D_202D_200C_202C_200F_200C_206E_200D_206F_202C_200D_202A_200B_200F_206C_202D_200E_206A_206D_202E_200B_206A_206F_206B_206A_200E_200B_206E_202C_202B_206E_200E_206E_202E(string P_0, string P_1) + { + return P_0 + P_1; + } + + static void _200D_202E_202C_200D_200F_202D_202A_200F_200E_200F_200E_200D_202A_206C_202E_206F_206B_202C_202E_206B_200B_206D_202B_206D_206F_202B_202D_202A_206B_202E_206B_200B_202A_206F_202B_206C_206D_200D_206C_206F_202E() + { + ImGui.Separator(); + } + + static Vector4 _202E_202E_200E_206D_200E_200E_206D_200C_202B_206F_206B_200E_200C_202C_202B_200D_202E_200E_200E_206C_206E_202B_200D_200C_200F_200B_200D_200B_200B_206B_202C_206D_200B_206D_200F_200B_206F_206C_200C_206C_202E() + { + return ImGuiColors.DalamudRed; + } + + static string _202B_202C_206F_202A_206E_200E_200B_206C_206E_206D_200F_206A_202B_206B_202D_200E_200E_202B_206F_202D_202D_200B_200B_206F_200F_202B_206E_202C_206A_202B_200B_202B_202E_202D_206D_202C_200C_206D_206E_206A_202E(object P_0) + { + return P_0.ToString(); + } + + static Vector2 _200E_202A_200F_206B_200D_202C_202D_202A_202D_206C_206C_206D_206D_202B_200E_200C_202E_206F_206E_200F_200B_206C_200E_202A_200E_206B_206D_200B_200F_206F_202C_206B_206D_202B_202E_206A_202C_206A_200F_206C_202E() + { + return ImGui.GetCursorPos(); + } + + static Vector2 _200F_202D_206F_202B_200C_202A_202D_200F_200C_200E_206B_202B_206F_202B_200C_206C_206D_202B_202E_206D_206C_202A_206D_206C_206B_206E_202B_202A_206B_200B_202C_200C_200D_206C_202C_202D_200D_202C_206E_202D_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static ImDrawListPtr _202C_206F_200D_206A_200F_200B_200D_200B_200C_202C_202D_200F_206C_200D_206D_202E_206E_200D_202E_206C_206E_202D_206F_200E_200C_202E_200F_206E_206C_200E_202D_202D_202D_206C_202D_206C_206F_202C_206C_202D_202E() + { + return ImGui.GetWindowDrawList(); + } + + static void _200B_202B_200B_200C_202A_200E_206D_200F_206C_206A_206B_200B_200F_202E_200F_200F_200E_206F_206B_206D_200B_206F_200D_200F_206A_206C_200C_206F_206B_206F_202A_202D_202B_206E_202C_200F_206F_200F_200B_206A_202E(Vector2 P_0) + { + ImGui.SetCursorPos(P_0); + } + + static void _202A_206B_202D_206C_206A_200E_202E_202D_206F_200C_206C_206C_206B_206B_202E_202B_202E_206A_206A_200C_202B_200F_200D_202C_202A_206C_202A_206F_206E_206F_200C_200E_200C_200D_206A_202B_206C_200D_200B_202C_202E() + { + ImGui.SameLine(); + } + + static Vector2 _200F_202A_200B_202A_206A_200E_206F_202E_200F_200F_206B_206A_206E_206C_200D_200B_202D_206A_202C_206C_206C_200B_200E_200C_206A_206C_200F_206A_206D_206E_206C_200C_200C_206A_202D_200E_200C_206E_200C_202B_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static ImGuiStylePtr _206F_202E_200D_200F_206C_206D_200D_206C_206B_202D_202B_200F_206C_206A_202C_206F_206D_206D_202A_202D_202A_202E_206F_200B_200B_200D_202E_200D_206C_206C_206B_202B_200C_200D_200D_200B_200D_202C_206D_200F_202E() + { + return ImGui.GetStyle(); + } + + static uint _202C_206E_200D_202D_200E_200D_206B_206F_200F_202B_200B_202A_206F_202E_206E_206D_200C_202C_200C_206C_206D_202D_202D_206F_202A_206D_206B_202A_200C_200B_202D_206A_206D_202C_202D_200E_200F_200B_206A_202A_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static Task _206F_200F_202C_206E_202A_200F_206D_202D_200D_202B_202D_202E_200C_206B_202A_206C_202C_202E_206C_200B_200D_200F_202B_206C_206F_206E_200B_202E_200E_200B_202D_200D_206E_202A_200F_206E_200E_200B_202E_200D_202E(System.Action P_0) + { + return Task.Run(P_0); + } + + static Type _200E_202C_202E_206A_200E_200E_202C_206C_206D_206F_202A_202E_202B_200F_202E_200E_202D_206E_202B_202A_202D_202A_202A_206A_202D_200E_202E_206F_200F_200D_202E_200E_202E_206A_200F_202C_200C_202B_200F_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static Assembly _200F_200C_206F_200E_202A_200C_202C_202A_206B_202A_202B_202E_206B_200B_206B_206B_206B_200F_202A_200F_202C_202A_206D_202B_206F_202B_200E_206E_200E_206F_206A_202C_200D_202A_202E_200B_200B_200C_206A_202D_202E(Type P_0) + { + return P_0.Assembly; + } + + static AssemblyName _200D_206D_200B_200B_202A_206C_200C_206C_202C_200F_206B_202D_202B_200F_206B_202D_206C_202A_202D_206F_200E_202A_202D_202C_202A_202B_200E_206B_202B_206D_200B_206B_206A_202A_202E_202B_200D_206B_200F_200D_202E(Assembly P_0) + { + return P_0.GetName(); + } + + static Version _200C_200D_202D_206E_202B_206D_202C_202C_206C_200C_202A_206B_200B_200B_200D_202A_206C_206B_206B_202A_206E_206E_206A_200F_200B_200C_202D_206A_200D_202C_200E_200F_206D_206A_200C_202E_200F_200E_200F_202A_202E(AssemblyName P_0) + { + return P_0.Version; + } + + static Task _202C_202C_200F_202B_200C_206E_206A_206C_202D_200C_206D_202E_206B_200C_206D_200B_206F_206E_202A_200F_202D_206C_206E_200C_202C_202C_200F_206A_200B_200F_202C_202A_206F_202C_200C_206E_200D_202C_206C_206B_202E(IFramework P_0, System.Action P_1, TimeSpan P_2, int P_3, CancellationToken P_4) + { + return P_0.RunOnTick(P_1, P_2, P_3, P_4); } } diff --git a/Questionable/Questionable.Windows/SeasonalDutySelectionWindow.cs b/Questionable/Questionable.Windows/SeasonalDutySelectionWindow.cs index 2932d0ee..2d0ddb44 100644 --- a/Questionable/Questionable.Windows/SeasonalDutySelectionWindow.cs +++ b/Questionable/Questionable.Windows/SeasonalDutySelectionWindow.cs @@ -6,22 +6,108 @@ 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 { + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__16_1; + + public static Func _003C_003E9__16_2; + + public static Func _003C_003E9__16_3; + + internal int _003CDrawDutyTable_003Eb__16_1(SeasonalDutyDefinition d) + { + DateTime? dateTime = _200B_206E_202E_206D_206E_200C_200C_200B_206D_200B_202D_206A_200D_200B_202C_202E_202D_206C_200E_200C_200D_206A_200D_200E_200C_206A_200E_206E_200E_200B_202E_202A_202B_200D_206D_206F_200F_202A_206D_202D_202E(d); + int num = ((!dateTime.HasValue) ? (-962975575) : (-962975576)); + while (true) + { + int num2 = num; + int num3 = -962975574; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return 1; + case 2: + { + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + num = ((!(EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow > TimeSpan.Zero)) ? (-962975575) : (-962975573)); + break; + } + case 1: + return 0; + case 0: + num = -962975576; + break; + } + } + } + + internal double _003CDrawDutyTable_003Eb__16_2(SeasonalDutyDefinition d) + { + DateTime? dateTime = _200B_206E_202E_206D_206E_200C_200C_200B_206D_200B_202D_206A_200D_200B_202C_202E_202D_206C_200E_200C_200D_206A_200D_200E_200C_206A_200E_206E_200E_200B_202E_202A_202B_200D_206D_206F_200F_202A_206D_202D_202E(d); + int num = ((!dateTime.HasValue) ? (-1416150355) : (-1416150356)); + TimeSpan timeSpan = default(TimeSpan); + while (true) + { + int num2 = num; + int num3 = -1416150354; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return double.MaxValue; + case 1: + return timeSpan.TotalSeconds; + case 2: + { + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; + num = ((!(timeSpan > TimeSpan.Zero)) ? (-1416150355) : (-1416150353)); + break; + } + case 0: + num = -1416150356; + break; + } + } + } + + internal string _003CDrawDutyTable_003Eb__16_3(SeasonalDutyDefinition d) + { + return _200F_202B_200D_202C_200E_202C_200C_200D_206E_206E_202C_206F_206D_202E_206F_202D_206C_200C_200E_206E_206B_202E_202A_202D_206B_206B_202D_206F_206F_206C_202C_200D_200B_202B_200D_200D_202A_200E_200D_200E_202E(d); + } + + static DateTime? _200B_206E_202E_206D_206E_200C_200C_200B_206D_200B_202D_206A_200D_200B_202C_202E_202D_206C_200E_200C_200D_206A_200D_200E_200C_206A_200E_206E_200E_200B_202E_202A_202B_200D_206D_206F_200F_202A_206D_202D_202E(SeasonalDutyDefinition P_0) + { + return P_0.EventExpiry; + } + + static string _200F_202B_200D_202C_200E_202C_200C_200D_206E_206E_202C_206F_206D_202E_206F_202D_206C_200C_200E_206E_206B_202E_202A_202D_206B_206B_202D_206F_206F_206C_202C_200D_200B_202B_200D_200D_202A_200E_200D_200E_202E(SeasonalDutyDefinition P_0) + { + return P_0.Name; + } + } + private readonly SeasonalDutyController _seasonalDutyController; private readonly SeasonalDutyDefinitionRegistry _seasonalDutyDefinitionRegistry; @@ -30,6 +116,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,385 +130,1195 @@ 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) - : base("Seasonal Duty Farming###QuestionableSeasonalDutyFarming") + private string _searchText = string.Empty; + + [MethodImpl(MethodImplOptions.NoInlining)] + public SeasonalDutySelectionWindow(SeasonalDutyController seasonalDutyController, SeasonalDutyDefinitionRegistry seasonalDutyDefinitionRegistry, QuestController questController, FateController fateController, CustomDeliveryController customDeliveryController, AttunementController attunementController, MovementController movementController, QuestFunctions questFunctions, QuestData questData, TerritoryData territoryData) + : base(global::_003CModule_003E._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(-1301104720)) { _seasonalDutyController = seasonalDutyController; _seasonalDutyDefinitionRegistry = seasonalDutyDefinitionRegistry; _questController = questController; _fateController = fateController; + _customDeliveryController = customDeliveryController; + _attunementController = attunementController; _movementController = movementController; _questFunctions = questFunctions; _questData = questData; _territoryData = territoryData; - base.Size = new Vector2(600f, 400f); - base.SizeCondition = ImGuiCond.FirstUseEver; - base.SizeConstraints = new WindowSizeConstraints + _206A_202B_200C_202B_206D_200C_200E_202B_206F_200D_206E_200D_202A_200E_202E_202C_206D_206A_206E_202A_202B_202B_206C_202A_202D_206C_202E_202E_202E_202A_202E_206C_200E_202C_200D_200B_200C_206E_202C_202E_202E((Vector2?)new Vector2(600f, 400f)); + _206D_200E_200D_200C_206B_202E_206B_200B_206E_200B_200B_206B_200D_200B_202D_200B_202D_202C_200C_200E_200D_202A_200F_200F_206F_202C_202C_200F_206B_206E_202B_200B_200B_206F_202A_202D_202D_200B_200D_202A_202E(ImGuiCond.FirstUseEver); + _200D_200F_206D_206D_200D_206B_206E_202A_206B_206A_202B_206D_206C_202A_206A_206F_200C_202B_206F_202B_202A_202B_206F_202B_206A_202D_200F_206E_202B_202B_200F_200F_206C_206A_200E_206B_200F_202B_206A_200F_202E((WindowSizeConstraints?)new WindowSizeConstraints { MinimumSize = new Vector2(500f, 300f), MaximumSize = new Vector2(900f, 700f) - }; + }); } + [MethodImpl(MethodImplOptions.NoInlining)] public override void DrawContent() { - if (_seasonalDutyController.IsRunning) + int num = ((!_seasonalDutyController.IsRunning) ? 1348613692 : 1348613689); + while (true) { - DrawRunningHeader(); - } - else - { - DrawControlsStrip(); - } - if (_seasonalDutyDefinitionRegistry.Definitions.Count == 0) - { - DrawEmptyState(); - } - else - { - DrawDutyTable(); + int num2 = num; + int num3 = 1348613692; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + UiThemeUtils.SectionSpacing(); + var (contentStartPos2, availableWidth2, drawList2) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(1468901459)); + UiThemeUtils.SearchInput(global::_003CModule_003E._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(1363394088), ref _searchText, -13f, global::_003CModule_003E._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(1658460666)); + _200D_206C_200D_206A_200D_202D_202E_202B_206F_202D_200F_200C_200E_202B_202D_200E_202E_206B_202E_206D_202E_206A_200E_200B_206B_202D_200B_202D_206C_202C_200E_206E_206F_206E_206D_206B_206C_200D_206A_200D_202E(); + DrawDutyTable(); + UiThemeUtils.EndCard(contentStartPos2, availableWidth2, drawList2); + return; + case 1: + UiThemeUtils.EmptyState(FontAwesomeIcon.Leaf, global::_003CModule_003E._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(937132145), global::_003CModule_003E._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(-1122952698)); + return; + case 2: + _seasonalDutyController.Stop(global::_003CModule_003E._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(-271672975)); + _movementController.Stop(); + num = 1348613688; + break; + case 5: + num = ((!CycleSelectionUi.DrawRunningBanner(BuildRunningStatusText(), UiThemeUtils.StatusComplete, FontAwesomeIcon.Play)) ? 1348613688 : 1348613694); + break; + case 4: + num = ((_seasonalDutyDefinitionRegistry.Definitions.Count != 0) ? 1348613690 : 1348613693); + break; + case 0: + var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard(); + UiThemeUtils.SectionHeader(global::_003CModule_003E._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(-1066068262)); + DrawControlsStrip(); + UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList); + num = 1348613688; + break; + case 3: + num = 1348613689; + break; + } } } - private void DrawRunningHeader() + [MethodImpl(MethodImplOptions.NoInlining)] + 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)) + int num = (_seasonalDutyController.CycleLimit.HasValue ? 1202243472 : 1202243479); + IList remainingTaskNames = default(IList); + string value = default(string); + string value2 = default(string); + string value3 = default(string); + string text = default(string); + while (true) { - 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))) + int num2 = num; + int num3 = 1202243477; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + string text3; + string text2; + switch (num5 - (num6 + num6)) { - using (ImRaii.PushColor(ImGuiCol.ButtonActive, new Vector4(0.9f, 0.2f, 0.2f, 0.6f))) + case 4: + text3 = remainingTaskNames[0]; + goto IL_0076; + case 2: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(6, 1); + defaultInterpolatedStringHandler4.AppendLiteral(global::_003CModule_003E._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(-1745458759)); + defaultInterpolatedStringHandler4.AppendFormatted(_seasonalDutyController.CompletedCycles + 1); + text2 = defaultInterpolatedStringHandler4.ToStringAndClear(); + goto IL_01c0; + } + case 3: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(10, 3); + defaultInterpolatedStringHandler3.AppendFormatted(value); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-2010167156)); + defaultInterpolatedStringHandler3.AppendFormatted(value2); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-2010167156)); + defaultInterpolatedStringHandler3.AppendFormatted(value3); + return defaultInterpolatedStringHandler3.ToStringAndClear(); + } + case 1: + text3 = global::_003CModule_003E._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(1281927779); + goto IL_0076; + case 6: + num = 1202243479; + break; + case 5: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(9, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1757472156)); + defaultInterpolatedStringHandler2.AppendFormatted(_seasonalDutyController.CompletedCycles + 1); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1534070043)); + defaultInterpolatedStringHandler2.AppendFormatted(_seasonalDutyController.CycleLimit); + text2 = defaultInterpolatedStringHandler2.ToStringAndClear(); + goto IL_01c0; + } + case 0: { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Stop)) + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 4); + defaultInterpolatedStringHandler.AppendFormatted(value); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-930966885)); + defaultInterpolatedStringHandler.AppendFormatted(value2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2010167156)); + defaultInterpolatedStringHandler.AppendFormatted(value3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1090853622)); + defaultInterpolatedStringHandler.AppendFormatted(text); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + IL_01c0: + value2 = text2; + value3 = FormatElapsed(_seasonalDutyController.ElapsedTime); + remainingTaskNames = _seasonalDutyController.GetRemainingTaskNames(); + num = ((remainingTaskNames.Count > 0) ? 1202243473 : 1202243476); + break; + IL_0076: + text = text3; + value = _200F_200B_200F_200D_202A_202A_206C_202C_202A_202D_200D_200E_202D_200D_200F_202D_200B_200D_202B_202A_200F_206A_200F_206E_206E_202E_200E_202E_206E_202C_202E_206C_202E_206A_202E_206A_202A_202E_200D_200D_202E(_seasonalDutyController.CurrentDuty); + num = ((_200F_206A_206C_200D_200C_206A_200F_202E_202E_206B_200F_202A_206B_202A_200F_202D_202B_206B_202C_200D_200E_202E_206A_202E_200C_206D_200C_202B_200E_200F_202A_206F_202E_202A_200D_206A_206C_206A_206B_202B_202E(text) > 0) ? 1202243477 : 1202243478); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawControlsStrip() + { + ImRaii.DisabledDisposable disabledDisposable = _206E_202C_200C_200C_202C_206D_206E_202E_206E_200D_202A_200E_200C_206C_202E_202B_202D_206D_200F_202C_200C_200C_206B_200F_206E_202A_206B_200D_202E_206B_200E_202B_202E_200D_206A_200F_206E_200D_200E_206F_202E(_seasonalDutyController.IsRunning); + try + { + _206A_200F_206F_206D_206C_200C_206F_202E_206C_206E_202A_200E_200F_206F_202B_206E_202A_206F_200F_206F_202A_200E_202A_206B_202E_206E_202B_206C_200B_202B_202E_206C_200C_206B_206E_200E_200B_206B_202C_206C_202E(); + _200B_202C_206B_202C_202B_206B_200B_202B_206D_200E_202A_202D_202C_206A_206C_206E_200F_200C_200F_202C_206D_206D_202D_206E_206E_202B_206C_206B_202B_200C_202A_206C_202E_202C_202C_200C_206B_202E_206E_202E((ImU8String)global::_003CModule_003E._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(671135877)); + _202C_206F_206D_206A_202E_206D_202C_202B_206A_200D_206F_202C_206F_202C_206F_206F_206F_200E_202E_206F_200B_200F_206A_206A_200E_200C_200C_200F_206F_202B_206B_200B_202A_200C_206D_200D_200B_202D_206B_206A_202E(); + _202B_200F_206F_202D_206C_200B_202E_202D_200E_200D_200C_200F_202B_206F_200F_200B_200D_200C_200C_202E_206B_206A_202C_200B_200D_206D_200C_202A_202C_202D_200D_202B_202E_206D_206F_206B_206C_202C_202C_202C_202E(100f * _206D_200C_200B_202B_206F_206B_206D_202C_200E_200C_202A_206D_202A_202E_202D_200B_200D_202A_200C_206E_206A_202E_206E_200E_206D_206C_206B_200D_202B_206D_202E_206A_200B_206A_200C_200F_202E_206E_200D_200E_202E().FontGlobalScale); + _206A_200D_202B_200C_206B_200E_200C_206F_206F_202B_206A_200D_200F_200B_206C_200C_200D_206D_202A_202E_200E_200D_206C_206F_206B_206E_202D_206E_206F_206A_200E_200C_206D_206B_200F_202E_206B_202D_200C_206B_202E((ImU8String)global::_003CModule_003E._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(-635900307), ref _cycleLimit, 1, 5, default(ImU8String), ImGuiInputTextFlags.None); + int num = ((_cycleLimit >= 0) ? 518935080 : 518935081); + while (true) + { + int num2 = num; + int num3 = 518935080; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 518935081; + break; + case 1: + _cycleLimit = 0; + num = 518935080; + break; + case 0: + _202C_206F_206D_206A_202E_206D_202C_202B_206A_200D_206F_202C_206F_202C_206F_206F_206F_200E_202E_206F_200B_200F_206A_206A_200E_200C_200C_200F_206F_202B_206B_200B_202A_200C_206D_200D_200B_202D_206B_206A_202E(); + _206A_202A_206E_206E_202E_206C_202B_200B_202A_202D_200E_200D_206A_200C_206C_200E_200F_200C_206A_202A_200D_202B_202D_206A_200E_202E_202D_206A_202B_206A_200D_200C_202D_206D_206B_206D_206E_200E_200B_202C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)((_cycleLimit == 0) ? global::_003CModule_003E._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(819549442) : global::_003CModule_003E._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(-1694032531))); + goto end_IL_0091; + } + continue; + end_IL_0091: + break; + } + } + finally + { + int num = ((disabledDisposable == null) ? (-2128582760) : (-2128582757)); + while (true) + { + int num7 = num; + int num3 = -2128582758; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + goto end_IL_0134; + case 1: + _202E_200C_202A_200E_206B_200C_202A_206B_206C_202C_200E_202A_206D_200C_202B_206E_206A_206A_200E_206A_200E_200D_206D_202E_206F_200F_206D_206E_200B_206C_206B_200B_202D_206E_200C_200B_200F_202C_200E_202B_202E((IDisposable)disabledDisposable); + num = -2128582760; + break; + case 0: + num = -2128582757; + break; + } + continue; + end_IL_0134: + break; + } + } + _200D_206C_200D_206A_200D_202D_202E_202B_206F_202D_200F_200C_200E_202B_202D_200E_202E_206B_202E_206D_202E_206A_200E_200B_206B_202D_200B_202D_206C_202C_200E_206E_206F_206E_206D_206B_206C_200D_206A_200D_202E(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawDutyTable() + { + IEnumerable source = _seasonalDutyDefinitionRegistry.Definitions.Values; + int num = (_200D_202E_202B_206C_200F_202D_202A_200F_206B_200E_202A_206A_200B_202B_200E_202B_200B_206C_200B_206A_206E_200F_206A_200B_206C_200C_206A_202C_200F_200F_202C_200D_202A_200B_200E_202D_200D_200C_202A_206A_202E(_searchText) ? 753052023 : 753052018); + List list = default(List); + SeasonalDutyDefinition current = default(SeasonalDutyDefinition); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = 753052019; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + list = source.OrderBy(delegate(SeasonalDutyDefinition d) + { + DateTime? dateTime = _003C_003Ec._200B_206E_202E_206D_206E_200C_200C_200B_206D_200B_202D_206A_200D_200B_202C_202E_202D_206C_200E_200C_200D_206A_200D_200E_200C_206A_200E_206E_200E_200B_202E_202A_202B_200D_206D_206F_200F_202A_206D_202D_202E(d); + int num11 = ((!dateTime.HasValue) ? (-962975575) : (-962975576)); + while (true) { - _seasonalDutyController.Stop("UI stop"); - _movementController.Stop(); + int num12 = num11; + int num13 = -962975574; + int num14 = num12; + switch ((num14 | num13) - (num14 & num13)) + { + case 3: + return 1; + case 2: + { + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + num11 = ((!(EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow > TimeSpan.Zero)) ? (-962975575) : (-962975573)); + break; + } + case 1: + return 0; + case 0: + num11 = -962975576; + break; + } + } + }).ThenBy(delegate(SeasonalDutyDefinition d) + { + DateTime? dateTime = _003C_003Ec._200B_206E_202E_206D_206E_200C_200C_200B_206D_200B_202D_206A_200D_200B_202C_202E_202D_206C_200E_200C_200D_206A_200D_200E_200C_206A_200E_206E_200E_200B_202E_202A_202B_200D_206D_206F_200F_202A_206D_202D_202E(d); + int num11 = ((!dateTime.HasValue) ? (-1416150355) : (-1416150356)); + TimeSpan timeSpan = default(TimeSpan); + while (true) + { + int num12 = num11; + int num13 = -1416150354; + int num14 = num12; + int num15 = num14 + num13; + int num16 = num14 & num13; + switch (num15 - (num16 + num16)) + { + case 3: + return double.MaxValue; + case 1: + return timeSpan.TotalSeconds; + case 2: + { + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; + num11 = ((!(timeSpan > TimeSpan.Zero)) ? (-1416150355) : (-1416150353)); + break; + } + case 0: + num11 = -1416150356; + break; + } + } + }).ThenBy((SeasonalDutyDefinition d) => _003C_003Ec._200F_202B_200D_202C_200E_202C_200C_200D_206E_206E_202C_206F_206D_202E_206F_202D_206C_200C_200E_206E_206B_202E_202A_202D_206B_206B_202D_206F_206F_206C_202C_200D_200B_202B_200D_200D_202A_200E_200D_200E_202E(d), _200F_202E_202D_206F_206E_202B_206E_206E_206F_200D_202D_206E_202D_202D_202D_206B_202C_202B_206C_202A_202C_202C_202D_202D_206E_200C_206D_200E_202E_200E_206A_206B_206C_200C_206C_200C_200F_206F_202A_202B_202E()) + .ToList(); + num = ((list.Count != 0) ? 753052017 : 753052019); + break; + case 0: + UiThemeUtils.EmptyState(FontAwesomeIcon.Search, global::_003CModule_003E._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(-469285537)); + return; + case 3: + num = 753052018; + break; + case 1: + source = source.Where(delegate(SeasonalDutyDefinition d) + { + int num11 = (_202B_202C_202B_202A_206B_206A_202C_206D_200E_206D_206C_202C_202D_202C_206A_206C_202C_206F_200C_206F_206F_206A_200B_200D_206A_206B_206D_200E_202E_202C_202C_202B_206F_206B_200B_200E_206A_200E_206D_200E_202E(_200F_200B_200F_200D_202A_202A_206C_202C_202A_202D_200D_200E_202D_200D_200F_202D_200B_200D_202B_202A_200F_206A_200F_206E_206E_202E_200E_202E_206E_202C_202E_206C_202E_206A_202E_206A_202A_202E_200D_200D_202E(d), _searchText, StringComparison.OrdinalIgnoreCase) ? (-1276863877) : (-1276863880)); + while (true) + { + int num12 = num11; + int num13 = -1276863879; + int num14 = num12; + switch ((num14 | num13) - (num14 & num13)) + { + case 0: + goto IL_0052; + case 2: + return true; + case 1: + return _202B_202C_202B_202A_206B_206A_202C_206D_200E_206D_206C_202C_202D_202C_206A_206C_202C_206F_200C_206F_206F_206A_200B_200D_206A_206B_206D_200E_202E_202C_202C_202B_206F_206B_200B_200E_206A_200E_206D_200E_202E(_territoryData.GetName(_200B_202C_206D_200F_200F_200C_206C_200E_200C_206A_200F_206C_200D_200F_206E_200D_206C_202E_200E_202B_200B_206F_206F_206A_206A_200F_206F_200B_206D_200E_200E_200F_202B_200C_200B_206B_206A_200D_200E_202B_202E(d)) ?? _200F_200B_200F_200D_202A_202A_206C_202C_202A_202D_200D_200E_202D_200D_200F_202D_200B_200D_202B_202A_200F_206A_200F_206E_206E_202E_200E_202E_206E_202C_202E_206C_202E_206A_202E_206A_202A_202E_200D_200D_202E(d), _searchText, StringComparison.OrdinalIgnoreCase); + } + continue; + IL_0052: + num11 = -1276863880; + } + }); + num = 753052023; + break; + case 2: + { + using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._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(1054347422), 4, ImGuiTableFlags.SizingStretchProp | ImGuiTableFlags.ScrollY); + num = ((!(!tableDisposable)) ? 537187736 : 537187737); + while (true) + { + int num7 = num; + num3 = 537187736; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_01b9; + case 1: + return; + case 0: + { + _202A_206D_206D_202D_202B_206E_206D_206A_206F_200E_200B_200E_206B_206E_206E_202A_202B_202C_206D_202A_200B_202E_206C_200D_200B_206A_206A_202A_200C_206B_200E_206A_202C_200D_200F_200E_206E_206A_206B_200C_202E((ImU8String)global::_003CModule_003E._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(1033927912), ImGuiTableColumnFlags.None, 3f, 0u); + _202A_206D_206D_202D_202B_206E_206D_206A_206F_200E_200B_200E_206B_206E_206E_202A_202B_202C_206D_202A_200B_202E_206C_200D_200B_206A_206A_202A_200C_206B_200E_206A_202C_200D_200F_200E_206E_206A_206B_200C_202E((ImU8String)global::_003CModule_003E._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(-1292973020), ImGuiTableColumnFlags.None, 2f, 0u); + _202A_206D_206D_202D_202B_206E_206D_206A_206F_200E_200B_200E_206B_206E_206E_202A_202B_202C_206D_202A_200B_202E_206C_200D_200B_206A_206A_202A_200C_206B_200E_206A_202C_200D_200F_200E_206E_206A_206B_200C_202E((ImU8String)global::_003CModule_003E._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(1413203702), ImGuiTableColumnFlags.WidthFixed, 80f, 0u); + _202A_206D_206D_202D_202B_206E_206D_206A_206F_200E_200B_200E_206B_206E_206E_202A_202B_202C_206D_202A_200B_202E_206C_200D_200B_206A_206A_202A_200C_206B_200E_206A_202C_200D_200F_200E_206E_206A_206B_200C_202E((ImU8String)global::_003CModule_003E._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(-968495481), ImGuiTableColumnFlags.WidthFixed, 30f, 0u); + _202D_200D_206D_202D_202A_200E_202E_206B_206F_206F_202E_202D_206F_202D_200E_200B_202C_206A_200B_200F_206C_200D_202A_200E_206C_202A_200D_200F_202A_206D_202B_202E_202D_206E_200E_200F_202A_206B_206C_206A_202E(); + using List.Enumerator enumerator = list.GetEnumerator(); + num = 647459540; + while (true) + { + int num8 = num; + num3 = 647459542; + num4 = num8; + int num9; + int num10; + bool disabled; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + num9 = 1; + goto IL_02af; + case 1: + _202E_200B_206A_206E_206C_202C_206C_206B_202A_206C_200E_202E_202B_200C_202D_202C_202D_200F_202D_200D_206A_200F_202E_206A_200B_206D_202E_200C_206E_202B_206D_202D_206D_200D_206C_200D_202E_202A_202E_200F_202E(); + DrawDutyRowName(current, flag); + _202E_200B_206A_206E_206C_202C_206C_206B_202A_206C_200E_202E_202B_200C_202D_202C_202D_200F_202D_200D_206A_200F_202E_206A_200B_206D_202E_200C_206E_202B_206D_202D_206D_200D_206C_200D_202E_202A_202E_200F_202E(); + _200B_202C_206B_202C_202B_206B_200B_202B_206D_200E_202A_202D_202C_206A_206C_206E_200F_200C_200F_202C_206D_206D_202D_206E_206E_202B_206C_206B_202B_200C_202A_206C_202E_202C_202C_200C_206B_202E_206E_202E((ImU8String)(_territoryData.GetName(_200B_202C_206D_200F_200F_200C_206C_200E_200C_206A_200F_206C_200D_200F_206E_200D_206C_202E_200E_202B_200B_206F_206F_206A_206A_200F_206F_200B_206D_200E_200E_200F_202B_200C_200B_206B_206A_200D_200E_202B_202E(current)) ?? _200F_200B_200F_200D_202A_202A_206C_202C_202A_202D_200D_200E_202D_200D_200F_202D_200B_200D_202B_202A_200F_206A_200F_206E_206E_202E_200E_202E_206E_202C_202E_206C_202E_206A_202E_206A_202A_202E_200D_200D_202E(current))); + _202E_200B_206A_206E_206C_202C_206C_206B_202A_206C_200E_202E_202B_200C_202D_202C_202D_200F_202D_200D_206A_200F_202E_206A_200B_206D_202E_200C_206E_202B_206D_202D_206D_200D_206C_200D_202E_202A_202E_200F_202E(); + DrawDutyRowExpiry(current); + _202E_200B_206A_206E_206C_202C_206C_206B_202A_206C_200E_202E_202B_200C_202D_202C_202D_200F_202D_200D_206A_200F_202E_206A_200B_206D_202E_200C_206E_202B_206D_202D_206D_200D_206C_200D_202E_202A_202E_200F_202E(); + num = (_seasonalDutyController.IsRunning ? 647459550 : 647459542); + break; + case 12: + num9 = ((_questController.AutomationType != QuestController.EAutomationType.Manual) ? 1 : 0); + goto IL_02af; + case 9: + num = (_customDeliveryController.IsRunning ? 647459550 : 647459539); + break; + case 2: + num = (enumerator.MoveNext() ? 647459541 : 647459536); + break; + case 10: + num10 = 0; + goto IL_03ae; + case 11: + num10 = ((_seasonalDutyController.CurrentDuty == current) ? 1 : 0); + goto IL_03ae; + case 5: + num = (_attunementController.IsRunning ? 647459550 : 647459546); + break; + case 3: + current = enumerator.Current; + _206E_206E_202E_202B_200F_202E_206A_200D_202A_202E_202A_206F_202D_200E_202A_202A_200C_202C_206A_206A_206F_200F_200F_206A_206D_202C_206B_202B_206F_202B_202C_202B_206E_202E_200B_206E_202D_200C_206C_206D_202E(); + num = ((!_seasonalDutyController.IsRunning) ? 647459548 : 647459549); + break; + case 7: + num = 647459540; + break; + case 4: + _202A_206D_200F_200E_202B_200B_200B_202E_200F_200D_206F_200F_206A_206A_206F_206C_206A_200C_206E_206C_206C_202E_200C_200C_206D_200C_206F_202A_202A_202D_206A_206C_206D_202A_202A_202C_200D_206F_200F_202E(ImGuiTableBgTarget.RowBg0, _200D_202A_200D_200C_202D_200F_206A_206F_206D_200C_202A_206C_200C_200D_202D_202B_202B_206F_206D_202B_206E_202E_200C_200F_200D_200E_202E_206F_206B_202D_206A_206D_206E_200D_202C_206D_200D_202E_202A_200F_202E(UiThemeUtils.AccentDimColor)); + num = 647459543; + break; + case 0: + num = (_fateController.IsRunning ? 647459550 : 647459551); + break; + case 6: + return; + IL_02af: + disabled = (byte)num9 != 0; + DrawDutyRowActions(current, disabled); + num = 647459540; + break; + IL_03ae: + flag = (byte)num10 != 0; + num = ((!flag) ? 647459543 : 647459538); + break; + } + } + } + } + continue; + IL_01b9: + num = 537187737; + } + } + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void DrawDutyRowName(SeasonalDutyDefinition duty, bool isActive) + { + int num = ((!isActive) ? 42379112 : 42379118); + TimeSpan timeSpan = default(TimeSpan); + while (true) + { + int num2 = num; + int num3 = 42379114; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 42379118; + break; + case 2: + _200B_202C_206B_202C_202B_206B_200B_202B_206D_200E_202A_202D_202C_206A_206C_206E_200F_200C_200F_202C_206D_206D_202D_206E_206E_202B_206C_206B_202B_200C_202A_206C_202E_202C_202C_200C_206B_202E_206E_202E((ImU8String)_200F_200B_200F_200D_202A_202A_206C_202C_202A_202D_200D_200E_202D_200D_200F_202D_200B_200D_202B_202A_200F_206A_200F_206E_206E_202E_200E_202E_206E_202C_202E_206C_202E_206A_202E_206A_202A_202E_200D_200D_202E(duty)); + num = 42379114; + break; + case 0: + if (_200E_206A_206D_200E_206A_202B_202A_202D_202A_202B_202D_200F_200B_200D_200C_206E_206D_200D_206F_200D_206F_206A_206E_200F_206A_202E_202C_200B_206A_200F_200F_202E_202C_200E_202B_200D_206F_200E_200F_200E_202E()) + { + num = 42379115; + break; + } + return; + case 4: + _206A_202A_206E_206E_202E_206C_202B_200B_202A_202D_200E_200D_206A_200C_206C_200E_200F_200C_206A_202A_200D_202B_202D_206A_200E_202E_202D_206A_202B_206A_200D_200C_202D_206D_206B_206D_206E_200E_200B_202C_202E(ref UiThemeUtils.AccentColor, (ImU8String)_200F_200B_200F_200D_202A_202A_206C_202C_202A_202D_200D_200E_202D_200D_200F_202D_200B_200D_202B_202A_200F_206A_200F_206E_206E_202E_200E_202E_206E_202C_202E_206C_202E_206A_202E_206A_202A_202E_200D_200D_202E(duty)); + num = 42379114; + break; + case 1: + using (_200D_202B_202C_200D_206D_206F_206F_202A_200F_206B_202D_206C_206E_202B_200D_200B_206F_202A_206F_200C_206C_206C_200C_202B_202E_202D_202E_206D_202E_206C_200F_202D_200F_202D_206F_200C_206C_200C_206C_206F_202E()) + { + _206A_202A_206E_206E_202E_206C_202B_200B_202A_202D_200E_200D_206A_200C_206C_200E_200F_200C_206A_202A_200D_202B_202D_206A_200E_202E_202D_206A_202B_206A_200D_200C_202D_206D_206B_206D_206E_200E_200B_202C_202E(ref UiThemeUtils.PrimaryTextColor, (ImU8String)_200F_200B_200F_200D_202A_202A_206C_202C_202A_202D_200D_200E_202D_200D_200F_202D_200B_200D_202B_202A_200F_206A_200F_206E_206E_202E_200E_202E_206E_202C_202E_206C_202E_206A_202E_206A_202A_202E_200D_200D_202E(duty)); + _206E_200C_200D_200F_200C_200F_200C_202B_200B_206A_206B_200B_200F_200E_206B_202C_200B_206D_206C_202A_200C_202A_206B_200C_206C_202D_200C_200E_202D_202C_202C_200C_202C_206A_200C_202B_206A_200E_206F_200F_202E(); + _200D_206C_200D_206A_200D_202D_202E_202B_206F_202D_200F_200C_200E_202B_202D_200E_202E_206B_202E_206D_202E_206A_200E_200B_206B_202D_200B_202D_206C_202C_200E_206E_206F_206E_206D_206B_206C_200D_206A_200D_202E(); + string nameAndId = _territoryData.GetNameAndId(_200B_202C_206D_200F_200F_200C_206C_200E_200C_206A_200F_206C_200D_200F_206E_200D_206C_202E_200E_202B_200B_206F_206F_206A_206A_200F_206F_200B_206D_200E_200E_200F_202B_200C_200B_206B_206A_200D_200E_202B_202E(duty)); + ImU8String imU8String = new ImU8String(6, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(171735185)); + imU8String.AppendFormatted(nameAndId); + _206A_202A_206E_206E_202E_206C_202B_200B_202A_202D_200E_200D_206A_200C_206C_200E_200F_200C_206A_202A_200D_202B_202D_206A_200E_202E_202D_206A_202B_206A_200D_200C_202D_206D_206B_206D_206E_200E_200B_202C_202E(ref UiThemeUtils.DimTextColor, imU8String); + DateTime? dateTime = _200E_202B_206C_202C_206F_202B_206C_202C_206A_200C_206F_202D_200B_200D_202D_202E_206D_206D_200E_206F_200D_202B_200B_206B_206B_206C_206B_206A_206F_202E_206A_206A_206F_202E_202C_202B_200D_200D_202E_202B_202E(duty); + num = ((!dateTime.HasValue) ? 496107524 : 496107525); + while (true) + { + int num5 = num; + num3 = 496107524; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + num = 496107525; + break; + case 3: + { + string text = EventInfoComponent.FormatRemainingFull(timeSpan); + _206A_202A_206E_206E_202E_206C_202B_200B_202A_202D_200E_200D_206A_200C_206C_200E_200F_200C_206A_202A_200D_202B_202D_206A_200E_202E_202D_206A_202B_206A_200D_200C_202D_206D_206B_206D_206E_200E_200B_202C_202E(ref UiThemeUtils.StatusActive, (ImU8String)text); + num = 496107524; + break; + } + case 1: + { + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; + num = ((!(timeSpan > TimeSpan.Zero)) ? 496107524 : 496107527); + break; + } + case 0: + return; + } } } } } - 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() : ""); - 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); - } - 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(); - } - - private void DrawControlsStrip() - { - using (ImRaii.Disabled(_seasonalDutyController.IsRunning)) - { - ImGui.AlignTextToFramePadding(); - ImGui.TextUnformatted("Cycles:"); - ImGui.SameLine(); - ImGui.SetNextItemWidth(100f); - ImGui.InputInt("##CycleLimit", ref _cycleLimit, 1, 5); - if (_cycleLimit < 0) - { - _cycleLimit = 0; - } - ImGui.SameLine(); - ImGui.TextColored(ImGuiColors.DalamudGrey, (_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) - { - DateTime? eventExpiry = d.EventExpiry; - if (eventExpiry.HasValue) - { - DateTime valueOrDefault = eventExpiry.GetValueOrDefault(); - if (EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow > TimeSpan.Zero) - { - return 0; - } - } - return 1; - }).ThenBy(delegate(SeasonalDutyDefinition d) - { - DateTime? eventExpiry = d.EventExpiry; - if (eventExpiry.HasValue) - { - DateTime valueOrDefault = eventExpiry.GetValueOrDefault(); - TimeSpan timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; - if (timeSpan > TimeSpan.Zero) - { - return timeSpan.TotalSeconds; - } - } - 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 (!tableDisposable) - { - return; - } - ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.None, 3f); - ImGui.TableSetupColumn("Zone", ImGuiTableColumnFlags.None, 2f); - ImGui.TableSetupColumn("Expiry", ImGuiTableColumnFlags.WidthFixed, 80f); - ImGui.TableSetupColumn("##Actions", ImGuiTableColumnFlags.WidthFixed, 30f); - ImGui.TableHeadersRow(); - foreach (SeasonalDutyDefinition item in list) - { - ImGui.TableNextRow(); - 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.TableNextColumn(); - DrawDutyRowName(item, flag); - ImGui.TableNextColumn(); - ImGui.TextUnformatted(_territoryData.GetName(item.TerritoryId) ?? item.Name); - ImGui.TableNextColumn(); - DrawDutyRowExpiry(item); - ImGui.TableNextColumn(); - bool disabled = _seasonalDutyController.IsRunning || _fateController.IsRunning || _questController.AutomationType != QuestController.EAutomationType.Manual; - DrawDutyRowActions(item, disabled); - } - } - - private void DrawDutyRowName(SeasonalDutyDefinition duty, bool isActive) - { - 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); - } - else - { - ImGui.TextUnformatted(duty.Name); - } - if (!ImGui.IsItemHovered()) - { - return; - } - using (ImRaii.Tooltip()) - { - ImGui.TextColored(ImGuiColors.DalamudWhite, 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); - DateTime? eventExpiry = duty.EventExpiry; - if (eventExpiry.HasValue) - { - DateTime valueOrDefault = eventExpiry.GetValueOrDefault(); - TimeSpan timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; - if (timeSpan > TimeSpan.Zero) - { - string text2 = EventInfoComponent.FormatRemainingFull(timeSpan); - ImGui.TextColored(ImGuiColors.DalamudOrange, text2); - } - } - } } + [MethodImpl(MethodImplOptions.NoInlining)] private static void DrawDutyRowExpiry(SeasonalDutyDefinition duty) { - DateTime? eventExpiry = duty.EventExpiry; - if (eventExpiry.HasValue) + DateTime? dateTime = _200E_202B_206C_202C_206F_202B_206C_202C_206A_200C_206F_202D_200B_200D_202D_202E_206D_206D_200E_206F_200D_202B_200B_206B_206B_206C_206B_206A_206F_202E_206A_206A_206F_202E_202C_202B_200D_200D_202E_202B_202E(duty); + int num = ((!dateTime.HasValue) ? 276378103 : 276378100); + TimeSpan timeSpan = default(TimeSpan); + string text = default(string); + while (true) { - DateTime valueOrDefault = eventExpiry.GetValueOrDefault(); - TimeSpan timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; - if (timeSpan > TimeSpan.Zero) + int num2 = num; + int num3 = 276378101; + int num4 = num2; + Vector4 vector; + Vector4 vector2; + switch ((num4 | num3) - (num4 & num3)) { - string text = EventInfoComponent.FormatRemainingDays(timeSpan); - ImGui.TextColored((timeSpan.TotalDays < 3.0) ? ImGuiColors.DalamudOrange : ImGuiColors.DalamudGrey, text); - } - else + case 5: + _206A_202A_206E_206E_202E_206C_202B_200B_202A_202D_200E_200D_206A_200C_206C_200E_200F_200C_206A_202A_200D_202B_202D_206A_200E_202E_202D_206A_202B_206A_200D_200C_202D_206D_206B_206D_206E_200E_200B_202C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(-1934465221)); + return; + case 6: + vector = UiThemeUtils.DimTextColor; + goto IL_00dd; + case 1: { - ImGui.TextColored(ImGuiColors.DalamudGrey3, "Expired"); + DateTime valueOrDefault = dateTime.GetValueOrDefault(); + timeSpan = EventInfoComponent.NormalizeExpiry(valueOrDefault) - DateTime.UtcNow; + num = ((!(timeSpan > TimeSpan.Zero)) ? 276378096 : 276378102); + break; + } + case 4: + vector = UiThemeUtils.StatusActive; + goto IL_00dd; + case 3: + text = EventInfoComponent.FormatRemainingDays(timeSpan); + num = ((timeSpan.TotalDays < 3.0) ? 276378097 : 276378099); + break; + case 2: + _206A_202A_206E_206E_202E_206C_202B_200B_202A_202D_200E_200D_206A_200C_206C_200E_200F_200C_206A_202A_200D_202B_202D_206A_200E_202E_202D_206A_202B_206A_200D_200C_202D_206D_206B_206D_206E_200E_200B_202C_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)global::_003CModule_003E._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(1003139805)); + return; + case 0: + { + num = 276378100; + break; + } + IL_00dd: + vector2 = vector; + _206A_202A_206E_206E_202E_206C_202B_200B_202A_202D_200E_200D_206A_200C_206C_200E_200F_200C_206A_202A_200D_202B_202D_206A_200E_202E_202D_206A_202B_206A_200D_200C_202D_206D_206B_206D_206E_200E_200B_202C_202E(ref vector2, (ImU8String)text); + return; } - } - else - { - ImGui.TextColored(ImGuiColors.DalamudGrey3, "--"); } } + [MethodImpl(MethodImplOptions.NoInlining)] private void DrawDutyRowActions(SeasonalDutyDefinition duty, bool disabled) { - bool flag = duty.RequiredQuestId.HasValue && !_questFunctions.IsQuestComplete(new QuestId(duty.RequiredQuestId.Value)); - ImU8String id = new ImU8String(5, 1); - id.AppendLiteral("duty_"); - id.AppendFormatted(duty.Name); - using (ImRaii.PushId(id)) + int num = ((!_206B_206E_206E_202A_200B_206B_206B_202D_206B_206D_206C_206F_202D_200D_202D_202D_202E_200F_200C_206E_206B_202A_206D_206D_200B_200E_200F_206B_200C_202D_206B_200E_202A_206E_200C_206C_200E_202D_200B_202A_202E(duty).HasValue) ? 1123314337 : 1123314338); + int num5; + while (true) + { + int num2 = num; + int num3 = 1123314339; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + goto IL_0057; + case 1: + num5 = ((!_questFunctions.IsQuestComplete(_202C_202D_206F_206B_200E_202E_200E_206E_200C_206D_200F_200C_200F_202A_200D_206F_202B_206F_206F_200E_200E_200F_206C_206F_206D_206B_202B_206B_202D_206B_206B_206E_200D_206C_202B_206F_200C_206C_200F_206D_202E(_206B_206E_206E_202A_200B_206B_206B_202D_206B_206D_206C_206F_202D_200D_202D_202D_202E_200F_200C_206E_206B_202A_206D_206D_200B_200E_200F_206B_200C_202D_206B_200E_202A_206E_200C_206C_200E_202D_200B_202A_202E(duty).Value))) ? 1 : 0); + break; + case 2: + num5 = 0; + break; + } + break; + IL_0057: + num = 1123314338; + } + bool flag = (byte)num5 != 0; + ImU8String imU8String = new ImU8String(5, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1915178109)); + imU8String.AppendFormatted(_200F_200B_200F_200D_202A_202A_206C_202C_202A_202D_200D_200E_202D_200D_200F_202D_200B_200D_202B_202A_200F_206A_200F_206E_206E_202E_200E_202E_206E_202C_202E_206C_202E_206A_202E_206A_202A_202E_200D_200D_202E(duty)); + ImRaii.IdDisposable idDisposable = _206A_206B_200E_206B_206E_200F_206E_206C_206C_200C_206E_200D_202A_206A_200E_206C_200C_206D_200E_200E_202C_206F_200D_206D_206B_200D_202D_206E_206A_202B_200E_202D_202E_206D_202E_202B_206F_206E_202E_200E_202E(imU8String, true); + try { if (flag) { - using (ImRaii.PushFont(UiBuilder.IconFont)) + ImRaii.FontDisposable fontDisposable = _202A_206C_200E_206D_202E_202E_202A_200E_202A_206D_200E_202B_202A_200E_202C_200F_202A_206D_206C_200C_200F_200B_200F_200D_200F_200C_206F_206F_206D_200C_206E_206E_202A_206A_200C_206D_202B_206B_202B_206A_202E(_200B_202C_200C_200F_206F_200B_206C_202E_200D_200D_202A_206A_202D_200D_206E_206B_202B_206A_206E_206E_206D_200B_200E_202C_206C_206B_200B_202A_202E_202A_200D_206E_200B_200E_206A_206B_206D_202B_200C_206D_202E(), true); + try { - ImGui.TextColored(ImGuiColors.DalamudRed, FontAwesomeIcon.Times.ToIconString()); + _206A_202A_206E_206E_202E_206C_202B_200B_202A_202D_200E_200D_206A_200C_206C_200E_200F_200C_206A_202A_200D_202B_202D_206A_200E_202E_202D_206A_202B_206A_200D_200C_202D_206D_206B_206D_206E_200E_200B_202C_202E(ref UiThemeUtils.StatusLocked, (ImU8String)_206C_200E_202C_202B_206D_200D_202A_200D_202D_202A_202D_202D_202C_202C_202A_202D_206A_200C_206C_200F_202B_202E_200C_206B_202E_200B_202C_202B_206B_200D_202C_200B_206C_202B_202B_202C_202D_200D_200E_206D_202E(FontAwesomeIcon.Times)); } - if (ImGui.IsItemHovered()) + finally { - IQuestInfo questInfo; - string value = (_questData.TryGetQuestInfo(new QuestId(duty.RequiredQuestId.Value), out questInfo) ? questInfo.Name : duty.RequiredQuestId.Value.ToString(CultureInfo.InvariantCulture)); - ImU8String tooltip = new ImU8String(33, 1); - tooltip.AppendLiteral("Requires \""); - tooltip.AppendFormatted(value); - tooltip.AppendLiteral("\" to be completed first"); - ImGui.SetTooltip(tooltip); + num = ((fontDisposable == null) ? (-1842369958) : (-1842369959)); + while (true) + { + int num6 = num; + int num3 = -1842369957; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1842369959; + break; + case 2: + _202E_200C_202A_200E_206B_200C_202A_206B_206C_202C_200E_202A_206D_200C_202B_206E_206A_206A_200E_206A_200E_200D_206D_202E_206F_200F_206D_206E_200B_206C_206B_200B_202D_206E_200C_200B_200F_202C_200E_202B_202E((IDisposable)fontDisposable); + num = -1842369958; + break; + case 1: + goto end_IL_0116; + } + continue; + end_IL_0116: + break; + } } + if (!_200E_206A_206D_200E_206A_202B_202A_202D_202A_202B_202D_200F_200B_200D_200C_206E_206D_200D_206F_200D_206F_206A_206E_200F_206A_202E_202C_200B_206A_200F_200F_202E_202C_200E_202B_200D_206F_200E_200F_200E_202E()) + { + return; + } + num = 1440609874; + string text; + IQuestInfo questInfo = default(IQuestInfo); + while (true) + { + int num7 = num; + int num3 = 1440609872; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + num = 1440609874; + continue; + case 3: + text = _206B_206E_206E_202A_200B_206B_206B_202D_206B_206D_206C_206F_202D_200D_202D_202D_202E_200F_200C_206E_206B_202A_206D_206D_200B_200E_200F_206B_200C_202D_206B_200E_202A_206E_200C_206C_200E_202D_200B_202A_202E(duty).Value.ToString(_206D_206B_206E_200D_206D_200F_206D_206A_206E_206B_206B_200C_200E_202B_200E_200F_200D_206B_202B_202C_200D_206F_202D_202E_206F_202B_202A_200F_206E_202D_206C_206F_206E_200D_206F_200B_202D_206C_206E_206B_202E()); + break; + case 2: + num = (_questData.TryGetQuestInfo(_202C_202D_206F_206B_200E_202E_200E_206E_200C_206D_200F_200C_200F_202A_200D_206F_202B_206F_206F_200E_200E_200F_206C_206F_206D_206B_202B_206B_202D_206B_206B_206E_200D_206C_202B_206F_200C_206C_200F_206D_202E(_206B_206E_206E_202A_200B_206B_206B_202D_206B_206D_206C_206F_202D_200D_202D_202D_202E_200F_200C_206E_206B_202A_206D_206D_200B_200E_200F_206B_200C_202D_206B_200E_202A_206E_200C_206C_200E_202D_200B_202A_202E(duty).Value), out questInfo) ? 1440609873 : 1440609875); + continue; + case 1: + text = questInfo.Name; + break; + } + break; + } + string value = text; + ImU8String imU8String2 = new ImU8String(33, 1); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-1729187626)); + imU8String2.AppendFormatted(value); + imU8String2.AppendLiteral(global::_003CModule_003E._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(-437224182)); + _206E_200F_202B_200C_206D_206C_202C_206D_202C_202D_206F_200D_206B_206C_206A_202A_206A_206C_200C_206B_206D_200C_200E_206A_200F_200E_206A_202D_206D_200D_200B_206B_206A_200C_200D_200D_200E_200C_206F_202E_202E(imU8String2); return; } - using (ImRaii.Disabled(disabled)) + ImRaii.DisabledDisposable disabledDisposable = _206E_202C_200C_200C_202C_206D_206E_202E_206E_200D_202A_200E_200C_206C_202E_202B_202D_206D_200F_202C_200C_200C_206B_200F_206E_202A_206B_200D_202E_206B_200E_202B_202E_200D_206A_200F_206E_200D_200E_206F_202E(disabled); + try { - if (ImGuiComponents.IconButton(FontAwesomeIcon.Play)) + ImRaii.ColorDisposable colorDisposable = _200D_200E_206F_202A_206A_202C_202D_206A_200E_200B_202A_206C_200F_206B_200E_206E_206F_202A_206F_200F_202A_202B_200C_202E_206F_202D_202A_202E_206D_206C_200D_202C_206C_206E_206F_200F_200E_200B_202E_202C_202E(ImGuiCol.Button, UiThemeUtils.PlayButtonColor, true); + try { - _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); + ImRaii.ColorDisposable colorDisposable2 = _200D_200E_206F_202A_206A_202C_202D_206A_200E_200B_202A_206C_200F_206B_200E_206E_206F_202A_206F_200F_202A_202B_200C_202E_206F_202D_202A_202E_206D_206C_200D_202C_206C_206E_206F_200F_200E_200B_202E_202C_202E(ImGuiCol.ButtonHovered, UiThemeUtils.PlayButtonHover, true); + try + { + ImRaii.ColorDisposable colorDisposable3 = _200D_200E_206F_202A_206A_202C_202D_206A_200E_200B_202A_206C_200F_206B_200E_206E_206F_202A_206F_200F_202A_202B_200C_202E_206F_202D_202A_202E_206D_206C_200D_202C_206C_206E_206F_200F_200E_200B_202E_202C_202E(ImGuiCol.ButtonActive, UiThemeUtils.PlayButtonActive, true); + try + { + ImRaii.ColorDisposable colorDisposable4 = _200D_200E_206F_202A_206A_202C_202D_206A_200E_200B_202A_206C_200F_206B_200E_206E_206F_202A_206F_200F_202A_202B_200C_202E_206F_202D_202A_202E_206D_206C_200D_202C_206C_206E_206F_200F_200E_200B_202E_202C_202E(ImGuiCol.Text, UiThemeUtils.PlayButtonText, true); + try + { + num = ((!UiThemeUtils.IconButton(FontAwesomeIcon.Play, _206B_202A_206B_206D_202B_206C_200C_206D_206F_206A_206D_200B_206B_200F_202D_202C_202C_206A_200B_206F_200E_206A_200D_202B_202D_206A_200C_206F_200D_202A_202B_206C_206C_202C_200B_206D_206A_206C_200B_206D_202E())) ? 1149444299 : 1149444296); + while (true) + { + int num8 = num; + int num3 = 1149444297; + int num4 = num8; + int? obj; + int? cycleLimit; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + obj = _cycleLimit; + goto IL_0316; + case 1: + _movementController.Stop(); + _questController.Stop(global::_003CModule_003E._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(1439824701)); + _fateController.Stop(global::_003CModule_003E._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(876679288)); + _customDeliveryController.Stop(global::_003CModule_003E._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(876679288)); + _attunementController.Stop(global::_003CModule_003E._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(379838828)); + num = ((_cycleLimit > 0) ? 1149444297 : 1149444298); + break; + case 4: + num = 1149444296; + break; + case 3: + obj = null; + goto IL_0316; + case 2: + goto end_IL_02d7; + IL_0316: + cycleLimit = obj; + _seasonalDutyController.Start(duty, cycleLimit); + num = 1149444299; + break; + } + continue; + end_IL_02d7: + break; + } + } + finally + { + num = ((colorDisposable4 == null) ? (-4307083) : (-4307084)); + while (true) + { + int num9 = num; + int num3 = -4307083; + int num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -4307084; + break; + case 0: + goto end_IL_0400; + case 1: + _202E_200C_202A_200E_206B_200C_202A_206B_206C_202C_200E_202A_206D_200C_202B_206E_206A_206A_200E_206A_200E_200D_206D_202E_206F_200F_206D_206E_200B_206C_206B_200B_202D_206E_200C_200B_200F_202C_200E_202B_202E((IDisposable)colorDisposable4); + num = -4307083; + break; + } + continue; + end_IL_0400: + break; + } + } + } + finally + { + num = ((colorDisposable3 == null) ? (-1530773788) : (-1530773787)); + while (true) + { + int num10 = num; + int num3 = -1530773788; + int num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1530773787; + break; + case 1: + _202E_200C_202A_200E_206B_200C_202A_206B_206C_202C_200E_202A_206D_200C_202B_206E_206A_206A_200E_206A_200E_200D_206D_202E_206F_200F_206D_206E_200B_206C_206B_200B_202D_206E_200C_200B_200F_202C_200E_202B_202E((IDisposable)colorDisposable3); + num = -1530773788; + break; + case 0: + goto end_IL_046b; + } + continue; + end_IL_046b: + break; + } + } + } + finally + { + num = ((colorDisposable2 == null) ? 1772701694 : 1772701693); + while (true) + { + int num11 = num; + int num3 = 1772701695; + int num4 = num11; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_04d6; + case 2: + _202E_200C_202A_200E_206B_200C_202A_206B_206C_202C_200E_202A_206D_200C_202B_206E_206A_206A_200E_206A_200E_200D_206D_202E_206F_200F_206D_206E_200B_206C_206B_200B_202D_206E_200C_200B_200F_202C_200E_202B_202E((IDisposable)colorDisposable2); + num = 1772701694; + break; + case 0: + num = 1772701693; + break; + } + continue; + end_IL_04d6: + break; + } + } + } + finally + { + num = ((colorDisposable == null) ? (-1789084300) : (-1789084299)); + while (true) + { + int num12 = num; + int num3 = -1789084300; + int num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_0541; + case 1: + _202E_200C_202A_200E_206B_200C_202A_206B_206C_202C_200E_202A_206D_200C_202B_206E_206A_206A_200E_206A_200E_200D_206D_202E_206F_200F_206D_206E_200B_206C_206B_200B_202D_206E_200C_200B_200F_202C_200E_202B_202E((IDisposable)colorDisposable); + num = -1789084300; + break; + case 2: + num = -1789084299; + break; + } + continue; + end_IL_0541: + break; + } } } - if (disabled && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled)) + finally { - if (_seasonalDutyController.IsRunning) + num = ((disabledDisposable == null) ? 1694425464 : 1694425465); + while (true) { - ImGui.SetTooltip("Already farming a seasonal duty"); + int num13 = num; + int num3 = 1694425464; + int num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_05ac; + case 1: + _202E_200C_202A_200E_206B_200C_202A_206B_206C_202C_200E_202A_206D_200C_202B_206E_206A_206A_200E_206A_200E_200D_206D_202E_206F_200F_206D_206E_200B_206C_206B_200B_202D_206E_200C_200B_200F_202C_200E_202B_202E((IDisposable)disabledDisposable); + num = 1694425464; + break; + case 2: + num = 1694425465; + break; + } + continue; + end_IL_05ac: + break; } - else if (_fateController.IsRunning) + } + num = ((!disabled) ? (-1979708782) : (-1979708771)); + while (true) + { + int num14 = num; + int num3 = -1979708775; + int num4 = num14; + switch ((num4 | num3) - (num4 & num3)) { - ImGui.SetTooltip("Stop FATE farming first"); + case 6: + num = -1979708771; + break; + case 8: + _206E_200F_202B_200C_206D_206C_202C_206D_202C_202D_206F_200D_206B_206C_206A_202A_206A_206C_200C_206B_206D_200C_200E_206A_200F_200E_206A_202D_206D_200D_200B_206B_206A_200C_200D_200D_200E_200C_206F_202E_202E((ImU8String)global::_003CModule_003E._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(-623887397)); + return; + case 3: + _206E_200F_202B_200C_206D_206C_202C_206D_202C_202D_206F_200D_206B_206C_206A_202A_206A_206C_200C_206B_206D_200C_200E_206A_200F_200E_206A_202D_206D_200D_200B_206B_206A_200C_200D_200D_200E_200C_206F_202E_202E((ImU8String)global::_003CModule_003E._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(2098903468)); + num = -1979708782; + break; + case 4: + num = ((!_202A_206D_206B_200B_200B_202C_200C_206A_200F_200B_200F_202B_206F_202E_200C_202E_206A_206A_202A_200C_202E_200C_206C_202B_200B_206E_200B_202C_200B_200D_206F_200B_202C_206A_202A_200F_202A_202B_202E_202D_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? (-1979708782) : (-1979708772)); + break; + case 0: + num = ((!_customDeliveryController.IsRunning) ? (-1979708770) : (-1979708784)); + break; + case 5: + num = ((!_seasonalDutyController.IsRunning) ? (-1979708781) : (-1979708783)); + break; + case 10: + num = ((!_fateController.IsRunning) ? (-1979708775) : (-1979708773)); + break; + case 2: + _206E_200F_202B_200C_206D_206C_202C_206D_202C_202D_206F_200D_206B_206C_206A_202A_206A_206C_200C_206B_206D_200C_200E_206A_200F_200E_206A_202D_206D_200D_200B_206B_206A_200C_200D_200D_200E_200C_206F_202E_202E((ImU8String)global::_003CModule_003E._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(-1380062247)); + return; + case 9: + _206E_200F_202B_200C_206D_206C_202C_206D_202C_202D_206F_200D_206B_206C_206A_202A_206A_206C_200C_206B_206D_200C_200E_206A_200F_200E_206A_202D_206D_200D_200B_206B_206A_200C_200D_200D_200E_200C_206F_202E_202E((ImU8String)global::_003CModule_003E._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(445846488)); + return; + case 1: + _206E_200F_202B_200C_206D_206C_202C_206D_202C_202D_206F_200D_206B_206C_206A_202A_206A_206C_200C_206B_206D_200C_200E_206A_200F_200E_206A_202D_206D_200D_200B_206B_206A_200C_200D_200D_200E_200C_206F_202E_202E((ImU8String)global::_003CModule_003E._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(513315487)); + return; + case 7: + num = ((!_attunementController.IsRunning) ? (-1979708774) : (-1979708776)); + break; + case 11: + return; } - else + } + } + finally + { + num = ((idDisposable == null) ? (-1463456728) : (-1463456727)); + while (true) + { + int num15 = num; + int num3 = -1463456728; + int num4 = num15; + switch ((num4 | num3) - (num4 & num3)) { - ImGui.SetTooltip("Stop quest automation first"); + case 2: + num = -1463456727; + break; + case 1: + _202E_200C_202A_200E_206B_200C_202A_206B_206C_202C_200E_202A_206D_200C_202B_206E_206A_206A_200E_206A_200E_200D_206D_202E_206F_200F_206D_206E_200B_206C_206B_200B_202D_206E_200C_200B_200F_202C_200E_202B_202E((IDisposable)idDisposable); + num = -1463456728; + break; + case 0: + goto end_IL_0810; } + continue; + end_IL_0810: + break; } } } + [MethodImpl(MethodImplOptions.NoInlining)] private static string FormatElapsed(TimeSpan elapsed) { - IFormatProvider invariantCulture; - if (elapsed.TotalHours >= 1.0) + int num = ((!(elapsed.TotalHours >= 1.0)) ? (-1232601948) : (-1232601945)); + while (true) { - invariantCulture = CultureInfo.InvariantCulture; - IFormatProvider provider = invariantCulture; - DefaultInterpolatedStringHandler handler = new DefaultInterpolatedStringHandler(5, 3, invariantCulture); - handler.AppendFormatted((int)elapsed.TotalHours); - handler.AppendLiteral("h "); - handler.AppendFormatted(elapsed.Minutes, "D2"); - handler.AppendLiteral("m "); - handler.AppendFormatted(elapsed.Seconds, "D2"); - handler.AppendLiteral("s"); - return string.Create(provider, ref handler); + int num2 = num; + int num3 = -1232601947; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + num = ((!(elapsed.TotalMinutes >= 1.0)) ? (-1232601947) : (-1232601946)); + break; + case 2: + { + IFormatProvider formatProvider = _206D_206B_206E_200D_206D_200F_206D_206A_206E_206B_206B_200C_200E_202B_200E_200F_200D_206B_202B_202C_200D_206F_202D_202E_206F_202B_202A_200F_206E_202D_206C_206F_206E_200D_206F_200B_202D_206C_206E_206B_202E(); + IFormatProvider formatProvider4 = formatProvider; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(5, 3, formatProvider); + defaultInterpolatedStringHandler3.AppendFormatted((int)elapsed.TotalHours); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-794677548)); + defaultInterpolatedStringHandler3.AppendFormatted(elapsed.Minutes, global::_003CModule_003E._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(1194352829)); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(1016237535)); + defaultInterpolatedStringHandler3.AppendFormatted(elapsed.Seconds, global::_003CModule_003E._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(1462241587)); + defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._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(-838706236)); + return _202A_200C_206A_206D_206F_200B_200B_202E_202C_202B_200B_206F_206F_202B_202D_206F_202B_206D_200B_206A_200C_200C_206C_206E_206E_202B_206B_202D_206A_206B_202C_200D_206A_200D_206B_200E_202D_202B_206A_206D_202E(formatProvider4, ref defaultInterpolatedStringHandler3); + } + case 4: + num = -1232601945; + break; + case 3: + { + IFormatProvider formatProvider = _206D_206B_206E_200D_206D_200F_206D_206A_206E_206B_206B_200C_200E_202B_200E_200F_200D_206B_202B_202C_200D_206F_202D_202E_206F_202B_202A_200F_206E_202D_206C_206F_206E_200D_206F_200B_202D_206C_206E_206B_202E(); + IFormatProvider formatProvider3 = formatProvider; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(3, 2, formatProvider); + defaultInterpolatedStringHandler2.AppendFormatted((int)elapsed.TotalMinutes); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-1003686810)); + defaultInterpolatedStringHandler2.AppendFormatted(elapsed.Seconds, global::_003CModule_003E._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(-1956092384)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(1658952639)); + return _202A_200C_206A_206D_206F_200B_200B_202E_202C_202B_200B_206F_206F_202B_202D_206F_202B_206D_200B_206A_200C_200C_206C_206E_206E_202B_206B_202D_206A_206B_202C_200D_206A_200D_206B_200E_202D_202B_206A_206D_202E(formatProvider3, ref defaultInterpolatedStringHandler2); + } + case 0: + { + IFormatProvider formatProvider = _206D_206B_206E_200D_206D_200F_206D_206A_206E_206B_206B_200C_200E_202B_200E_200F_200D_206B_202B_202C_200D_206F_202D_202E_206F_202B_202A_200F_206E_202D_206C_206F_206E_200D_206F_200B_202D_206C_206E_206B_202E(); + IFormatProvider formatProvider2 = formatProvider; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 1, formatProvider); + defaultInterpolatedStringHandler.AppendFormatted(elapsed.Seconds); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-838706236)); + return _202A_200C_206A_206D_206F_200B_200B_202E_202C_202B_200B_206F_206F_202B_202D_206F_202B_206D_200B_206A_200C_200C_206C_206E_206E_202B_206B_202D_206A_206B_202C_200D_206A_200D_206B_200E_202D_202B_206A_206D_202E(formatProvider2, ref defaultInterpolatedStringHandler); + } + } } - if (elapsed.TotalMinutes >= 1.0) - { - invariantCulture = CultureInfo.InvariantCulture; - IFormatProvider provider2 = invariantCulture; - DefaultInterpolatedStringHandler handler2 = new DefaultInterpolatedStringHandler(3, 2, invariantCulture); - handler2.AppendFormatted((int)elapsed.TotalMinutes); - handler2.AppendLiteral("m "); - handler2.AppendFormatted(elapsed.Seconds, "D2"); - handler2.AppendLiteral("s"); - return string.Create(provider2, ref handler2); - } - invariantCulture = CultureInfo.InvariantCulture; - IFormatProvider provider3 = invariantCulture; - DefaultInterpolatedStringHandler handler3 = new DefaultInterpolatedStringHandler(1, 1, invariantCulture); - handler3.AppendFormatted(elapsed.Seconds); - handler3.AppendLiteral("s"); - return string.Create(provider3, ref handler3); + } + + void _206A_202B_200C_202B_206D_200C_200E_202B_206F_200D_206E_200D_202A_200E_202E_202C_206D_206A_206E_202A_202B_202B_206C_202A_202D_206C_202E_202E_202E_202A_202E_206C_200E_202C_200D_200B_200C_206E_202C_202E_202E(Vector2? P_0) + { + base.Size = P_0; + } + + void _206D_200E_200D_200C_206B_202E_206B_200B_206E_200B_200B_206B_200D_200B_202D_200B_202D_202C_200C_200E_200D_202A_200F_200F_206F_202C_202C_200F_206B_206E_202B_200B_200B_206F_202A_202D_202D_200B_200D_202A_202E(ImGuiCond P_0) + { + base.SizeCondition = P_0; + } + + void _200D_200F_206D_206D_200D_206B_206E_202A_206B_206A_202B_206D_206C_202A_206A_206F_200C_202B_206F_202B_202A_202B_206F_202B_206A_202D_200F_206E_202B_202B_200F_200F_206C_206A_200E_206B_200F_202B_206A_200F_202E(WindowSizeConstraints? P_0) + { + base.SizeConstraints = P_0; + } + + static void _200D_206C_200D_206A_200D_202D_202E_202B_206F_202D_200F_200C_200E_202B_202D_200E_202E_206B_202E_206D_202E_206A_200E_200B_206B_202D_200B_202D_206C_202C_200E_206E_206F_206E_206D_206B_206C_200D_206A_200D_202E() + { + ImGui.Spacing(); + } + + static string _200F_200B_200F_200D_202A_202A_206C_202C_202A_202D_200D_200E_202D_200D_200F_202D_200B_200D_202B_202A_200F_206A_200F_206E_206E_202E_200E_202E_206E_202C_202E_206C_202E_206A_202E_206A_202A_202E_200D_200D_202E(SeasonalDutyDefinition P_0) + { + return P_0.Name; + } + + static int _200F_206A_206C_200D_200C_206A_200F_202E_202E_206B_200F_202A_206B_202A_200F_202D_202B_206B_202C_200D_200E_202E_206A_202E_200C_206D_200C_202B_200E_200F_202A_206F_202E_202A_200D_206A_206C_206A_206B_202B_202E(string P_0) + { + return P_0.Length; + } + + static ImRaii.DisabledDisposable _206E_202C_200C_200C_202C_206D_206E_202E_206E_200D_202A_200E_200C_206C_202E_202B_202D_206D_200F_202C_200C_200C_206B_200F_206E_202A_206B_200D_202E_206B_200E_202B_202E_200D_206A_200F_206E_200D_200E_206F_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static void _206A_200F_206F_206D_206C_200C_206F_202E_206C_206E_202A_200E_200F_206F_202B_206E_202A_206F_200F_206F_202A_200E_202A_206B_202E_206E_202B_206C_200B_202B_202E_206C_200C_206B_206E_200E_200B_206B_202C_206C_202E() + { + ImGui.AlignTextToFramePadding(); + } + + static void _200B_202C_206B_202C_202B_206B_200B_202B_206D_200E_202A_202D_202C_206A_206C_206E_200F_200C_200F_202C_206D_206D_202D_206E_206E_202B_206C_206B_202B_200C_202A_206C_202E_202C_202C_200C_206B_202E_206E_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _202C_206F_206D_206A_202E_206D_202C_202B_206A_200D_206F_202C_206F_202C_206F_206F_206F_200E_202E_206F_200B_200F_206A_206A_200E_200C_200C_200F_206F_202B_206B_200B_202A_200C_206D_200D_200B_202D_206B_206A_202E() + { + ImGui.SameLine(); + } + + static ImGuiIOPtr _206D_200C_200B_202B_206F_206B_206D_202C_200E_200C_202A_206D_202A_202E_202D_200B_200D_202A_200C_206E_206A_202E_206E_200E_206D_206C_206B_200D_202B_206D_202E_206A_200B_206A_200C_200F_202E_206E_200D_200E_202E() + { + return ImGui.GetIO(); + } + + static void _202B_200F_206F_202D_206C_200B_202E_202D_200E_200D_200C_200F_202B_206F_200F_200B_200D_200C_200C_202E_206B_206A_202C_200B_200D_206D_200C_202A_202C_202D_200D_202B_202E_206D_206F_206B_206C_202C_202C_202C_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static bool _206A_200D_202B_200C_206B_200E_200C_206F_206F_202B_206A_200D_200F_200B_206C_200C_200D_206D_202A_202E_200E_200D_206C_206F_206B_206E_202D_206E_206F_206A_200E_200C_206D_206B_200F_202E_206B_202D_200C_206B_202E(ImU8String P_0, ref int P_1, int P_2, int P_3, ImU8String P_4, ImGuiInputTextFlags P_5) + { + return ImGui.InputInt(P_0, ref P_1, P_2, P_3, P_4, P_5); + } + + static void _206A_202A_206E_206E_202E_206C_202B_200B_202A_202D_200E_200D_206A_200C_206C_200E_200F_200C_206A_202A_200D_202B_202D_206A_200E_202E_202D_206A_202B_206A_200D_200C_202D_206D_206B_206D_206E_200E_200B_202C_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _202E_200C_202A_200E_206B_200C_202A_206B_206C_202C_200E_202A_206D_200C_202B_206E_206A_206A_200E_206A_200E_200D_206D_202E_206F_200F_206D_206E_200B_206C_206B_200B_202D_206E_200C_200B_200F_202C_200E_202B_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _200D_202E_202B_206C_200F_202D_202A_200F_206B_200E_202A_206A_200B_202B_200E_202B_200B_206C_200B_206A_206E_200F_206A_200B_206C_200C_206A_202C_200F_200F_202C_200D_202A_200B_200E_202D_200D_200C_202A_206A_202E(string P_0) + { + return string.IsNullOrWhiteSpace(P_0); + } + + static StringComparer _200F_202E_202D_206F_206E_202B_206E_206E_206F_200D_202D_206E_202D_202D_202D_206B_202C_202B_206C_202A_202C_202C_202D_202D_206E_200C_206D_200E_202E_200E_206A_206B_206C_200C_206C_200C_200F_206F_202A_202B_202E() + { + return StringComparer.OrdinalIgnoreCase; + } + + static void _202A_206D_206D_202D_202B_206E_206D_206A_206F_200E_200B_200E_206B_206E_206E_202A_202B_202C_206D_202A_200B_202E_206C_200D_200B_206A_206A_202A_200C_206B_200E_206A_202C_200D_200F_200E_206E_206A_206B_200C_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3) + { + ImGui.TableSetupColumn(P_0, P_1, P_2, P_3); + } + + static void _202D_200D_206D_202D_202A_200E_202E_206B_206F_206F_202E_202D_206F_202D_200E_200B_202C_206A_200B_200F_206C_200D_202A_200E_206C_202A_200D_200F_202A_206D_202B_202E_202D_206E_200E_200F_202A_206B_206C_206A_202E() + { + ImGui.TableHeadersRow(); + } + + static void _206E_206E_202E_202B_200F_202E_206A_200D_202A_202E_202A_206F_202D_200E_202A_202A_200C_202C_206A_206A_206F_200F_200F_206A_206D_202C_206B_202B_206F_202B_202C_202B_206E_202E_200B_206E_202D_200C_206C_206D_202E() + { + ImGui.TableNextRow(); + } + + static uint _200D_202A_200D_200C_202D_200F_206A_206F_206D_200C_202A_206C_200C_200D_202D_202B_202B_206F_206D_202B_206E_202E_200C_200F_200D_200E_202E_206F_206B_202D_206A_206D_206E_200D_202C_206D_200D_202E_202A_200F_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static void _202A_206D_200F_200E_202B_200B_200B_202E_200F_200D_206F_200F_206A_206A_206F_206C_206A_200C_206E_206C_206C_202E_200C_200C_206D_200C_206F_202A_202A_202D_206A_206C_206D_202A_202A_202C_200D_206F_200F_202E(ImGuiTableBgTarget P_0, uint P_1) + { + ImGui.TableSetBgColor(P_0, P_1); + } + + static bool _202E_200B_206A_206E_206C_202C_206C_206B_202A_206C_200E_202E_202B_200C_202D_202C_202D_200F_202D_200D_206A_200F_202E_206A_200B_206D_202E_200C_206E_202B_206D_202D_206D_200D_206C_200D_202E_202A_202E_200F_202E() + { + return ImGui.TableNextColumn(); + } + + static ushort _200B_202C_206D_200F_200F_200C_206C_200E_200C_206A_200F_206C_200D_200F_206E_200D_206C_202E_200E_202B_200B_206F_206F_206A_206A_200F_206F_200B_206D_200E_200E_200F_202B_200C_200B_206B_206A_200D_200E_202B_202E(SeasonalDutyDefinition P_0) + { + return P_0.TerritoryId; + } + + static bool _200E_206A_206D_200E_206A_202B_202A_202D_202A_202B_202D_200F_200B_200D_200C_206E_206D_200D_206F_200D_206F_206A_206E_200F_206A_202E_202C_200B_206A_200F_200F_202E_202C_200E_202B_200D_206F_200E_200F_200E_202E() + { + return ImGui.IsItemHovered(); + } + + static ImRaii.TooltipDisposable _200D_202B_202C_200D_206D_206F_206F_202A_200F_206B_202D_206C_206E_202B_200D_200B_206F_202A_206F_200C_206C_206C_200C_202B_202E_202D_202E_206D_202E_206C_200F_202D_200F_202D_206F_200C_206C_200C_206C_206F_202E() + { + return ImRaii.Tooltip(); + } + + static void _206E_200C_200D_200F_200C_200F_200C_202B_200B_206A_206B_200B_200F_200E_206B_202C_200B_206D_206C_202A_200C_202A_206B_200C_206C_202D_200C_200E_202D_202C_202C_200C_202C_206A_200C_202B_206A_200E_206F_200F_202E() + { + ImGui.Separator(); + } + + static DateTime? _200E_202B_206C_202C_206F_202B_206C_202C_206A_200C_206F_202D_200B_200D_202D_202E_206D_206D_200E_206F_200D_202B_200B_206B_206B_206C_206B_206A_206F_202E_206A_206A_206F_202E_202C_202B_200D_200D_202E_202B_202E(SeasonalDutyDefinition P_0) + { + return P_0.EventExpiry; + } + + static ushort? _206B_206E_206E_202A_200B_206B_206B_202D_206B_206D_206C_206F_202D_200D_202D_202D_202E_200F_200C_206E_206B_202A_206D_206D_200B_200E_200F_206B_200C_202D_206B_200E_202A_206E_200C_206C_200E_202D_200B_202A_202E(SeasonalDutyDefinition P_0) + { + return P_0.RequiredQuestId; + } + + static QuestId _202C_202D_206F_206B_200E_202E_200E_206E_200C_206D_200F_200C_200F_202A_200D_206F_202B_206F_206F_200E_200E_200F_206C_206F_206D_206B_202B_206B_202D_206B_206B_206E_200D_206C_202B_206F_200C_206C_200F_206D_202E(ushort P_0) + { + return new QuestId(P_0); + } + + static ImRaii.IdDisposable _206A_206B_200E_206B_206E_200F_206E_206C_206C_200C_206E_200D_202A_206A_200E_206C_200C_206D_200E_200E_202C_206F_200D_206D_206B_200D_202D_206E_206A_202B_200E_202D_202E_206D_202E_202B_206F_206E_202E_200E_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static ImFontPtr _200B_202C_200C_200F_206F_200B_206C_202E_200D_200D_202A_206A_202D_200D_206E_206B_202B_206A_206E_206E_206D_200B_200E_202C_206C_206B_200B_202A_202E_202A_200D_206E_200B_200E_206A_206B_206D_202B_200C_206D_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _202A_206C_200E_206D_202E_202E_202A_200E_202A_206D_200E_202B_202A_200E_202C_200F_202A_206D_206C_200C_200F_200B_200F_200D_200F_200C_206F_206F_206D_200C_206E_206E_202A_206A_200C_206D_202B_206B_202B_206A_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static string _206C_200E_202C_202B_206D_200D_202A_200D_202D_202A_202D_202D_202C_202C_202A_202D_206A_200C_206C_200F_202B_202E_200C_206B_202E_200B_202C_202B_206B_200D_202C_200B_206C_202B_202B_202C_202D_200D_200E_206D_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static CultureInfo _206D_206B_206E_200D_206D_200F_206D_206A_206E_206B_206B_200C_200E_202B_200E_200F_200D_206B_202B_202C_200D_206F_202D_202E_206F_202B_202A_200F_206E_202D_206C_206F_206E_200D_206F_200B_202D_206C_206E_206B_202E() + { + return CultureInfo.InvariantCulture; + } + + static void _206E_200F_202B_200C_206D_206C_202C_206D_202C_202D_206F_200D_206B_206C_206A_202A_206A_206C_200C_206B_206D_200C_200E_206A_200F_200E_206A_202D_206D_200D_200B_206B_206A_200C_200D_200D_200E_200C_206F_202E_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static ImRaii.ColorDisposable _200D_200E_206F_202A_206A_202C_202D_206A_200E_200B_202A_206C_200F_206B_200E_206E_206F_202A_206F_200F_202A_202B_200C_202E_206F_202D_202A_202E_206D_206C_200D_202C_206C_206E_206F_200F_200E_200B_202E_202C_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static float _206B_202A_206B_206D_202B_206C_200C_206D_206F_206A_206D_200B_206B_200F_202D_202C_202C_206A_200B_206F_200E_206A_200D_202B_202D_206A_200C_206F_200D_202A_202B_206C_206C_202C_200B_206D_206A_206C_200B_206D_202E() + { + return ImGui.GetFrameHeight(); + } + + static bool _202A_206D_206B_200B_200B_202C_200C_206A_200F_200B_200F_202B_206F_202E_200C_202E_206A_206A_202A_200C_202E_200C_206C_202B_200B_206E_200B_202C_200B_200D_206F_200B_202C_206A_202A_200F_202A_202B_202E_202D_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static string _202A_200C_206A_206D_206F_200B_200B_202E_202C_202B_200B_206F_206F_202B_202D_206F_202B_206D_200B_206A_200C_200C_206C_206E_206E_202B_206B_202D_206A_206B_202C_200D_206A_200D_206B_200E_202D_202B_206A_206D_202E(IFormatProvider P_0, ref DefaultInterpolatedStringHandler P_1) + { + return string.Create(P_0, ref P_1); + } + + static bool _202B_202C_202B_202A_206B_206A_202C_206D_200E_206D_206C_202C_202D_202C_206A_206C_202C_206F_200C_206F_206F_206A_200B_200D_206A_206B_206D_200E_202E_202C_202C_202B_206F_206B_200B_200E_206A_200E_206D_200E_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); } } diff --git a/Questionable/Questionable.Windows/SidebarNav.cs b/Questionable/Questionable.Windows/SidebarNav.cs new file mode 100644 index 00000000..b51601b6 --- /dev/null +++ b/Questionable/Questionable.Windows/SidebarNav.cs @@ -0,0 +1,605 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +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) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202E_206B_206D_202E_200D_206D_206C_200E_206C_202E_206B_202D_202B_202C_206A_200B_206B_202B_202B_206D_200C_202A_202A_200F_206E_206E_206C_206E_202C_202C_202E_206F_206D_206D_202B_200D_200D_206B_206A_206F_202E(); + _206C_200B_202A_202C_202C_202E_206A_200B_200F_206F_206B_206E_200B_206C_206C_200D_202E_206A_206D_202D_206F_200C_200E_206F_202B_206C_206E_200D_206F_200F_200C_202B_206D_200F_202B_206B_202E_206C_202A_200F_202E(stringBuilder, global::_003CModule_003E._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(1311867403)); + _206C_200B_202A_202C_202C_202E_206A_200B_200F_206F_206B_206E_200B_206C_206C_200D_202E_206A_206D_202D_206F_200C_200E_206F_202B_206C_206E_200D_206F_200F_200C_202B_206D_200F_202B_206B_202E_206C_202A_200F_202E(stringBuilder, global::_003CModule_003E._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(1664411125)); + int num = ((!PrintMembers(stringBuilder)) ? (-982248515) : (-982248514)); + while (true) + { + int num2 = num; + int num3 = -982248513; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -982248514; + break; + case 1: + _200D_206B_202D_200E_200E_206D_206E_206D_206F_206C_202C_200D_200F_200C_202B_200B_206E_202B_202D_200D_202E_206C_202C_200E_200C_206C_206A_202C_200C_200F_206C_202D_200C_202C_200E_206C_206D_202B_202D_206F_202E(stringBuilder, ' '); + num = -982248515; + break; + case 2: + _200D_206B_202D_200E_200E_206D_206E_206D_206F_206C_202C_200D_200F_200C_202B_200B_206E_202B_202D_200D_202E_206C_202C_200E_200C_206C_206A_202C_200C_200F_206C_202D_200C_202C_200E_206C_206D_202B_202D_206F_202E(stringBuilder, '}'); + return _200D_206B_206D_206C_200D_200B_200C_202B_202C_200C_202E_202A_206B_200C_200E_202E_202A_200B_206B_200E_206B_206D_202B_206D_206D_206A_200B_206E_202E_200F_202C_200B_202B_206F_200F_202A_206A_202B_202E_202E_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206C_200B_202A_202C_202C_202E_206A_200B_200F_206F_206B_206E_200B_206C_206C_200D_202E_206A_206D_202D_206F_200C_200E_206F_202B_206C_206E_200D_206F_200F_200C_202B_206D_200F_202B_206B_202E_206C_202A_200F_202E(builder, global::_003CModule_003E._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(215639633)); + _206C_200B_202A_202C_202C_202E_206A_200B_200F_206F_206B_206E_200B_206C_206C_200D_202E_206A_206D_202D_206F_200C_200E_206F_202B_206C_206E_200D_206F_200F_200C_202B_206D_200F_202B_206B_202E_206C_202A_200F_202E(builder, Icon.ToString()); + _206C_200B_202A_202C_202C_202E_206A_200B_200F_206F_206B_206E_200B_206C_206C_200D_202E_206A_206D_202D_206F_200C_200E_206F_202B_206C_206E_200D_206F_200F_200C_202B_206D_200F_202B_206B_202E_206C_202A_200F_202E(builder, global::_003CModule_003E._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(-215899582)); + _202D_202C_206C_206D_200E_200C_202B_200D_202D_206A_200E_202D_202E_200D_202D_202E_202B_206D_200D_200B_200B_202D_200C_206D_202D_202E_200C_202A_202A_206B_200E_202C_206C_202C_206B_202D_206F_200E_202B_200F_202E(builder, (object)Label); + return true; + } + + [CompilerGenerated] + public bool Equals(Item other) + { + int num = ((!EqualityComparer.Default.Equals(Icon, other.Icon)) ? 1781939279 : 1781939276); + while (true) + { + int num2 = num; + int num3 = 1781939278; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0058; + case 1: + return false; + case 2: + return EqualityComparer.Default.Equals(Label, other.Label); + } + continue; + IL_0058: + num = 1781939276; + } + } + + bool IEquatable.Equals(Item other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _202E_206B_206D_202E_200D_206D_206C_200E_206C_202E_206B_202D_202B_202C_206A_200B_206B_202B_202B_206D_200C_202A_202A_200F_206E_206E_206C_206E_202C_202C_202E_206F_206D_206D_202B_200D_200D_206B_206A_206F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206C_200B_202A_202C_202C_202E_206A_200B_200F_206F_206B_206E_200B_206C_206C_200D_202E_206A_206D_202D_206F_200C_200E_206F_202B_206C_206E_200D_206F_200F_200C_202B_206D_200F_202B_206B_202E_206C_202A_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_206B_202D_200E_200E_206D_206E_206D_206F_206C_202C_200D_200F_200C_202B_200B_206E_202B_202D_200D_202E_206C_202C_200E_200C_206C_206A_202C_200C_200F_206C_202D_200C_202C_200E_206C_206D_202B_202D_206F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200D_206B_206D_206C_200D_200B_200C_202B_202C_200C_202E_202A_206B_200C_200E_202E_202A_200B_206B_200E_206B_206D_202B_206D_206D_206A_200B_206E_202E_200F_202C_200B_202B_206F_200F_202A_206A_202B_202E_202E_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _202D_202C_206C_206D_200E_200C_202B_200D_202D_206A_200E_202D_202E_200D_202D_202E_202B_206D_200D_200B_200B_202D_200C_206D_202D_202E_200C_202A_202A_206B_200E_202C_206C_202C_206B_202D_206F_200E_202B_200F_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + } + + public readonly record struct Group(string Label, Item[] Items) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200F_206C_206E_202D_200E_200C_206E_202C_200D_202D_202D_202D_200F_206B_200F_200F_200D_206E_202A_206C_200B_206E_200B_202D_206D_206F_202A_206F_206B_202D_200B_206A_200C_202B_206F_206C_206A_202C_200C_202A_202E(); + _206D_200E_202C_200D_200D_202D_200B_206C_200E_202B_202B_200C_202A_202E_202B_206B_206F_200D_206F_206D_200F_202B_206F_202E_200F_206E_202A_202D_202E_206D_206E_200B_206E_200F_200E_200C_206A_202C_202D_202A_202E(stringBuilder, global::_003CModule_003E._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(433576367)); + _206D_200E_202C_200D_200D_202D_200B_206C_200E_202B_202B_200C_202A_202E_202B_206B_206F_200D_206F_206D_200F_202B_206F_202E_200F_206E_202A_202D_202E_206D_206E_200B_206E_200F_200E_200C_206A_202C_202D_202A_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-1191425301) : (-1191425304)); + while (true) + { + int num2 = num; + int num3 = -1191425303; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1191425304; + break; + case 2: + _206F_200C_202D_200F_200C_202A_206F_200C_202E_200B_200E_202A_200D_200B_206F_200E_200D_206C_200E_206A_202C_202C_202D_202A_206C_202B_202A_202B_202C_206D_202D_206B_206C_200D_200F_206A_202D_206A_200E_202B_202E(stringBuilder, '}'); + return _200F_202C_200E_200E_202D_206B_202A_200E_206B_202E_206B_202E_202E_200D_206C_202A_200D_206B_206B_202E_202E_206C_202D_200D_206B_200D_206C_206F_202E_200B_200C_206C_202D_200C_200F_206D_206F_202D_202C_202D_202E((object)stringBuilder); + case 1: + _206F_200C_202D_200F_200C_202A_206F_200C_202E_200B_200E_202A_200D_200B_206F_200E_200D_206C_200E_206A_202C_202C_202D_202A_206C_202B_202A_202B_202C_206D_202D_206B_206C_200D_200F_206A_202D_206A_200E_202B_202E(stringBuilder, ' '); + num = -1191425301; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_200E_202C_200D_200D_202D_200B_206C_200E_202B_202B_200C_202A_202E_202B_206B_206F_200D_206F_206D_200F_202B_206F_202E_200F_206E_202A_202D_202E_206D_206E_200B_206E_200F_200E_200C_206A_202C_202D_202A_202E(builder, global::_003CModule_003E._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(502488726)); + _202D_206C_206A_206D_202D_206C_202B_202C_202A_206E_206E_202E_200B_206C_200D_200C_202D_206E_202D_202D_200E_200D_200C_202A_200B_202B_206D_200E_200F_206E_200D_200B_202E_202C_202B_200E_206B_206B_200F_206F_202E(builder, (object)Label); + _206D_200E_202C_200D_200D_202D_200B_206C_200E_202B_202B_200C_202A_202E_202B_206B_206F_200D_206F_206D_200F_202B_206F_202E_200F_206E_202A_202D_202E_206D_206E_200B_206E_200F_200E_200C_206A_202C_202D_202A_202E(builder, global::_003CModule_003E._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(-95840427)); + _202D_206C_206A_206D_202D_206C_202B_202C_202A_206E_206E_202E_200B_206C_200D_200C_202D_206E_202D_202D_200E_200D_200C_202A_200B_202B_206D_200E_200F_206E_200D_200B_202E_202C_202B_200E_206B_206B_200F_206F_202E(builder, (object)Items); + return true; + } + + [CompilerGenerated] + public bool Equals(Group other) + { + int num = ((!EqualityComparer.Default.Equals(Label, other.Label)) ? (-61920254) : (-61920255)); + while (true) + { + int num2 = num; + int num3 = -61920253; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 2: + return EqualityComparer.Default.Equals(Items, other.Items); + case 0: + goto IL_006f; + } + continue; + IL_006f: + num = -61920255; + } + } + + bool IEquatable.Equals(Group other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _200F_206C_206E_202D_200E_200C_206E_202C_200D_202D_202D_202D_200F_206B_200F_200F_200D_206E_202A_206C_200B_206E_200B_202D_206D_206F_202A_206F_206B_202D_200B_206A_200C_202B_206F_206C_206A_202C_200C_202A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206D_200E_202C_200D_200D_202D_200B_206C_200E_202B_202B_200C_202A_202E_202B_206B_206F_200D_206F_206D_200F_202B_206F_202E_200F_206E_202A_202D_202E_206D_206E_200B_206E_200F_200E_200C_206A_202C_202D_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206F_200C_202D_200F_200C_202A_206F_200C_202E_200B_200E_202A_200D_200B_206F_200E_200D_206C_200E_206A_202C_202C_202D_202A_206C_202B_202A_202B_202C_206D_202D_206B_206C_200D_200F_206A_202D_206A_200E_202B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_202C_200E_200E_202D_206B_202A_200E_206B_202E_206B_202E_202E_200D_206C_202A_200D_206B_206B_202E_202E_206C_202D_200D_206B_200D_206C_206F_202E_200B_200C_206C_202D_200C_200F_206D_206F_202D_202C_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _202D_206C_206A_206D_202D_206C_202B_202C_202A_206E_206E_202E_200B_206C_200D_200C_202D_206E_202D_202D_200E_200D_200C_202A_200B_202B_206D_200E_200F_206E_200D_200B_202E_202C_202B_200E_206B_206B_200F_206F_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + } + + private const float RowMargin = 4f; + + private const float IconInset = 6f; + + private const float IconLabelGap = 22f; + + private const float RowRounding = 4f; + + [MethodImpl(MethodImplOptions.NoInlining)] + public static int Draw(Group[] groups, int selected, float width = 168f) + { + int result = selected; + using (_200D_206A_202E_200C_200B_200B_200D_200F_200F_206B_206C_206C_206F_206E_202B_200E_202A_206B_200F_202A_206B_206A_206E_202E_206A_202B_206F_206D_200B_200C_206E_206B_200F_206F_200B_200D_202A_202E_206C_206C_202E((ImU8String)global::_003CModule_003E._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(-969524891), new Vector2(width * _206E_206E_206D_202E_200D_200F_202B_200B_202E_206B_206D_202B_202D_206E_200F_202C_206D_202D_206C_202B_202E_202E_202B_200E_200D_206F_200D_200D_200E_202E_206F_202E_206F_200E_206E_202B_206E_200F_200F_200F_202E(), 0f), false)) + { + ImRaii.IdDisposable idDisposable = _206E_206E_202D_202A_202C_200B_200F_200F_206F_200C_200E_200C_206B_202D_202B_206D_206C_202C_206D_206C_200B_202E_202A_206E_200E_202C_200B_202A_202C_202D_200B_206A_200C_200E_202A_200F_206D_206D_206A_206A_202E((ImU8String)global::_003CModule_003E._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(-26716039), true); + try + { + ImDrawListPtr imDrawListPtr = _206D_202C_202A_206E_202C_206F_206A_200E_200C_202B_200D_206F_202D_200B_200D_206E_206D_202A_202C_206F_206F_200F_206A_200B_200C_206C_200D_206F_200F_202A_206A_206D_206E_200E_206D_202B_206C_202D_200B_202B_202E(); + float num = _200E_202A_206C_202D_200C_200F_202D_200F_202C_200F_202B_206E_200F_206F_202D_202B_202A_206B_202B_200C_202A_202C_202B_200E_206A_200C_206F_206F_206B_206A_206D_206E_206E_202A_202C_202D_206D_202D_206B_202D_202E(); + float num2 = _202C_206B_200E_206D_206F_206C_202D_206E_200C_206C_200B_206C_202C_206B_200E_202E_206B_200B_202B_206A_200E_206F_206C_202C_200E_206A_206A_200B_206A_206C_202A_202B_202C_200E_202B_206E_206E_200E_200B_206B_202E(); + float num3 = _206E_206E_206D_202E_200D_200F_202B_200B_202E_206B_206D_202B_202D_206E_200F_202C_206D_202D_206C_202B_202E_202E_202B_200E_200D_206F_200D_200D_200E_202E_206F_202E_206F_200E_206E_202B_206E_200F_200F_200F_202E(); + float num4 = 4f * num3; + int num5 = 0; + bool flag = true; + int num6 = 0; + Item[] items = default(Item[]); + int num7 = default(int); + Item item = default(Item); + bool flag2 = default(bool); + bool flag3 = default(bool); + Vector2 pMin = default(Vector2); + Vector2 pMax = default(Vector2); + while (true) + { + if (num6 < groups.Length) + { + Group obj = groups[num6]; + _200F_202D_206B_206C_206A_202E_200B_202E_206F_202E_202B_206C_206A_202C_206D_200B_202D_206D_206F_206A_206C_202C_202D_202C_202A_200D_200F_206D_206C_200E_206A_200F_200D_202C_202B_200D_202D_206D_206C_202A_202E(_206E_206A_202D_200F_206A_202C_206E_206B_206E_206B_200D_202E_202C_206B_202E_206A_200F_206E_206B_200F_206F_202C_202E_200E_202C_206A_206B_206A_206F_202D_206C_200D_200C_206C_206B_202E_202C_200B_206B_206E_202E() + (flag ? 2f : 10f)); + flag = false; + _202B_200D_206D_200E_202C_200B_200E_200C_202B_200C_200B_206A_200C_202E_202C_200D_202E_202E_206F_202A_200B_200E_206C_200F_202C_200B_200F_200E_202B_202A_206A_206F_206D_202B_202B_202E_202A_200E_202A_200D_202E(_206C_206F_202E_206D_206C_206C_200F_206C_200B_200F_206C_200C_202B_202E_200E_200D_202D_202A_206A_202E_206C_202A_200D_202C_202D_202E_200E_206B_200F_200F_206A_200E_206B_202D_206E_202A_202C_206A_206D_202E() + num4); + _202E_202A_200D_200F_200C_200F_200B_206B_202A_206A_206E_200D_206D_202D_200F_206A_206C_200E_200F_200F_206D_206E_206B_206A_202E_200C_202C_200F_206E_202D_202A_200D_206D_202A_200E_206A_206E_206A_202E_202B_202E(ref UiThemeUtils.MutedTextColor, (ImU8String)_200E_202B_200E_202E_200F_202A_206B_200C_200D_206F_202B_200F_206A_202A_200B_206F_202D_202C_206C_200B_202E_200D_202C_206D_200E_206F_200C_202A_202E_200C_200E_200D_200D_200F_206A_202A_200E_202E_202D_206D_202E(obj.Label)); + items = obj.Items; + num7 = 0; + goto IL_04de; + } + int num8 = 781826990; + goto IL_02b7; + IL_04de: + int num10; + int num11; + if (num7 < items.Length) + { + item = items[num7]; + flag2 = num5 == selected; + _202B_200D_206D_200E_202C_200B_200E_200C_202B_200C_200B_206A_200C_202E_202C_200D_202E_202E_206F_202A_200B_200E_206C_200F_202C_200B_200F_200E_202B_202A_206A_206F_206D_202B_202B_202E_202A_200E_202A_200D_202E(_206C_206F_202E_206D_206C_206C_200F_206C_200B_200F_206C_200C_202B_202E_200E_200D_202D_202A_206A_202E_206C_202A_200D_202C_202D_202E_200E_206B_200F_200F_206A_200E_206B_202D_206E_202A_202C_206A_206D_202E() + num4); + ImRaii.ColorDisposable colorDisposable = _206C_206B_202D_202D_202A_206D_202D_206B_206A_200F_206D_206D_202A_206E_202C_202C_200F_202C_206B_206E_200D_202E_206D_206B_206D_202A_202D_202B_200C_200E_200D_202C_206C_206E_202C_206B_202C_200C_206D_206C_202E(ImGuiCol.Header, Vector4.Zero, true); + try + { + _202D_200F_202D_206A_200D_202A_200B_202A_202E_202B_200C_200C_206B_206D_200E_206A_206A_200C_200E_200E_200F_206D_202E_200E_206C_206B_206C_200D_202C_200F_206F_206C_202C_206C_200C_202D_200B_206D_206E_200D_202E(colorDisposable, ImGuiCol.HeaderHovered, Vector4.Zero, true); + _202D_200F_202D_206A_200D_202A_200B_202A_202E_202B_200C_200C_206B_206D_200E_206A_206A_200C_200E_200E_200F_206D_202E_200E_206C_206B_206C_200D_202C_200F_206F_206C_202C_206C_200C_202D_200B_206D_206E_200D_202E(colorDisposable, ImGuiCol.HeaderActive, Vector4.Zero, true); + ImU8String imU8String = new ImU8String(6, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1193849588)); + imU8String.AppendFormatted(num5); + num8 = ((!_202B_206D_206E_206C_200D_202E_200B_200F_206F_206F_206E_202D_200D_202B_206B_206A_200B_206A_200D_200C_202A_200E_202B_202A_206B_206F_206B_202B_202E_200F_206F_200D_202C_206B_206D_206D_206C_206B_200D_206E_202E(imU8String, flag2, ImGuiSelectableFlags.None, new Vector2(_202D_200D_202C_202C_206F_200E_202D_202C_206A_200D_202C_206E_200F_202B_206E_202D_202C_200C_202D_202A_200F_202D_200F_206C_200B_202D_206F_202E_206C_202B_202A_202A_206F_200D_200B_206C_202A_206B_202E_206D_202E().X - num4, num))) ? (-1361755139) : (-1361755138)); + while (true) + { + int num9 = num8; + num10 = -1361755137; + num11 = num9; + switch ((num11 | num10) - (num11 & num10)) + { + case 0: + num8 = -1361755138; + break; + case 1: + result = num5; + num8 = -1361755139; + break; + case 2: + goto end_IL_0189; + } + continue; + end_IL_0189: + break; + } + } + finally + { + num8 = ((colorDisposable == null) ? 1309247283 : 1309247280); + while (true) + { + int num12 = num8; + num10 = 1309247282; + num11 = num12; + int num13 = num11 + num10; + int num14 = num11 & num10; + switch (num13 - (num14 + num14)) + { + case 0: + num8 = 1309247280; + break; + case 2: + _206A_200E_206E_200E_200D_206E_206F_200E_200B_200C_206C_206A_206B_200F_206C_206A_206F_206B_206C_200E_206E_202D_206E_202B_202D_206E_206B_206D_206B_206D_200E_206D_202D_206E_202A_200F_202B_200E_200B_200F_202E((IDisposable)colorDisposable); + num8 = 1309247283; + break; + case 1: + goto end_IL_01f4; + } + continue; + end_IL_01f4: + break; + } + } + flag3 = _202D_206E_200B_206E_206E_206B_206A_202B_206B_206F_200D_200B_202A_202B_202C_200B_202E_206E_200D_202A_200D_206D_206F_200D_206F_206C_200F_206C_200B_206F_202B_202B_206E_202C_200F_200D_202C_206F_206D_200F_202E(); + pMin = _206B_202E_200F_206E_206C_202D_206F_200D_206D_202D_200E_206A_206D_200E_202C_206A_200C_200C_202B_202D_200C_202D_206C_206B_206A_202C_206F_206C_200C_202A_202D_200F_200C_202E_206E_200F_202D_202C_200F_200D_202E(); + pMax = _206E_202B_206E_206F_206F_200D_202D_202B_202E_206E_206E_202E_206C_206D_206A_200E_206D_206C_200C_202A_200E_206C_200F_206E_202A_200E_202A_202B_200C_206A_202C_200E_202C_202D_206D_206D_206E_206B_206A_206F_202E(); + float x = _202B_202A_202D_202D_206B_206C_200C_202A_206E_202E_206A_206C_200D_202E_202C_202A_206E_206C_200B_200C_206B_200D_200D_206C_202B_206D_200D_200E_202B_206B_206B_200C_206A_200F_206A_200D_206B_206F_206E_206B_202E().ItemSpacing.X; + float num15 = _200C_206E_206E_200D_200D_200B_206A_202D_202A_200F_200B_206D_206B_206B_202A_202B_200E_202D_202C_200B_200C_206F_200F_200B_202B_202D_202B_206B_206A_206E_206B_202B_202D_200B_206F_206B_200F_206C_202C_206A_202E(x * 0.5f); + pMin.X += num15; + pMax.X -= x - num15; + num8 = ((!flag2) ? 781826988 : 781826983); + } + else + { + num8 = 781826991; + } + goto IL_02b7; + IL_02b7: + while (true) + { + int num16 = num8; + num10 = 781826990; + num11 = num16; + int num17 = num11 + num10; + int num18 = num11 & num10; + Vector4 vector3; + uint col; + string text; + Vector2 vector4; + switch (num17 - (num18 + num18)) + { + default: + continue; + case 3: + imDrawListPtr.AddRectFilled(pMin, pMax, _202E_202C_206C_200E_200B_202E_206A_202A_202C_202E_206A_200F_206B_206F_206B_200E_206F_206B_200B_206D_200E_202E_206A_202B_206C_200C_202B_202E_202E_206B_200F_202D_200B_202A_206E_206F_200F_206C_206D_202B_202E(UiThemeUtils.SubtleHoverColor), 4f); + num8 = 781826982; + continue; + case 9: + imDrawListPtr.AddRectFilled(pMin, pMax, _202E_202C_206C_200E_200B_202E_206A_202A_202C_202E_206A_200F_206B_206F_206B_200E_206F_206B_200B_206D_200E_202E_206A_202B_206C_200C_202B_202E_202E_206B_200F_202D_200B_202A_206E_206F_200F_206C_206D_202B_202E(UiThemeUtils.AccentDimColor), 4f); + num8 = 781826982; + continue; + case 2: + num8 = ((!flag3) ? 781826982 : 781826989); + continue; + case 8: + num8 = (flag2 ? 781826985 : 781826984); + continue; + case 4: + num8 = 781826983; + continue; + case 6: + vector3 = UiThemeUtils.DimTextColor; + goto IL_03e1; + case 1: + goto end_IL_02b7; + case 7: + vector3 = UiThemeUtils.AccentColor; + goto IL_03e1; + case 10: + { + int num19 = num5; + num10 = 1; + num11 = num19; + int num20 = num11 ^ num10; + int num21 = num11 & num10; + num5 = num20 + (num21 + num21); + int num22 = num7; + num10 = 1; + num11 = num22; + num7 = (num11 | num10) + (num11 & num10); + break; + } + case 5: + imDrawListPtr.AddRect(pMin, pMax, _202E_202C_206C_200E_200B_202E_206A_202A_202C_202E_206A_200F_206B_206F_206B_200E_206F_206B_200B_206D_200E_202E_206A_202B_206C_200C_202B_202E_202E_206B_200F_202D_200B_202A_206E_206F_200F_206C_206D_202B_202E(UiThemeUtils.CardBorderColor), 4f, ImDrawFlags.None, 1f); + num8 = 781826980; + continue; + case 0: + { + Vector2 vector = _206B_202D_206A_206F_206E_206B_206D_206B_202B_202D_206F_206B_200B_200D_202D_202E_200E_202B_200C_200D_206E_200E_200D_200C_202D_202D_202B_206C_202B_206B_200E_200C_202A_206F_206D_200D_202B_202B_202B_200F_202E(); + Vector2 vector2 = _202A_202C_206B_206A_206D_206B_202E_206A_200D_200D_200C_200D_206B_206E_200E_200D_206B_200B_200E_206F_202B_206E_202A_202E_202C_202B_200B_202A_202A_200F_206F_202B_206F_200F_200B_200C_202A_206D_202E_206E_202E(); + imDrawListPtr.AddLine(new Vector2(vector.X + vector2.X, vector.Y), new Vector2(vector.X + vector2.X, vector.Y + vector2.Y), _202E_202C_206C_200E_200B_202E_206A_202A_202C_202E_206A_200F_206B_206F_206B_200E_206F_206B_200B_206D_200E_202E_206A_202B_206C_200C_202B_202E_202E_206B_200F_202D_200B_202A_206E_206F_200F_206C_206D_202B_202E(UiThemeUtils.CardBorderColor), 1f); + goto end_IL_03c5; + } + IL_03e1: + col = _202E_202C_206C_200E_200B_202E_206A_202A_202C_202E_206A_200F_206B_206F_206B_200E_206F_206B_200B_206D_200E_202E_206A_202B_206C_200C_202B_202E_202E_206B_200F_202D_200B_202A_206E_206F_200F_206C_206D_202B_202E(vector3); + text = _202B_200F_206D_206D_202B_206D_206F_202B_206F_206D_206B_206E_206C_200E_200D_200E_206A_200B_202E_202C_200D_202C_202B_202D_200E_206E_202C_202A_202B_206A_200B_200E_202D_206C_200E_202D_202C_206A_206A_206F_202E(item.Icon); + imDrawListPtr.AddText(_202E_200C_202D_206C_202E_206F_202C_200B_200B_200C_200F_200C_200C_206B_200F_202B_202A_200D_200D_200D_202B_200C_200C_202B_202E_200E_200C_206E_206E_206C_202E_200D_206B_206D_206E_202E_200F_202B_200F_202E(), num2, new Vector2(pMin.X + 6f * num3, pMin.Y + (num - num2) / 2f), col, text); + vector4 = _206B_200F_202B_206E_202A_200B_200D_200D_206A_202B_202E_202E_206B_200F_206A_206D_206A_206E_200C_206D_202B_206A_206C_200F_206F_202C_202C_200D_200C_206A_206A_200B_200B_200C_206C_206C_200C_206F_202D_206C_202E((ImU8String)item.Label, false, -1f); + imDrawListPtr.AddText(new Vector2(pMin.X + 28f * num3, pMin.Y + (num - vector4.Y) / 2f), col, item.Label); + num8 = ((!flag2) ? 781826980 : 781826987); + continue; + } + goto IL_04de; + continue; + end_IL_02b7: + break; + } + int num23 = num6; + num10 = 1; + num11 = num23; + num6 = (num11 | num10) + (num11 & num10); + continue; + end_IL_03c5: + break; + } + } + finally + { + int num8 = ((idDisposable == null) ? (-1189285151) : (-1189285152)); + while (true) + { + int num24 = num8; + int num10 = -1189285151; + int num11 = num24; + switch ((num11 | num10) - (num11 & num10)) + { + case 2: + num8 = -1189285152; + break; + case 1: + _206A_200E_206E_200E_200D_206E_206F_200E_200B_200C_206C_206A_206B_200F_206C_206A_206F_206B_206C_200E_206E_202D_206E_202B_202D_206E_206B_206D_206B_206D_200E_206D_202D_206E_202A_200F_202B_200E_200B_200F_202E((IDisposable)idDisposable); + num8 = -1189285151; + break; + case 0: + goto end_IL_05a6; + } + continue; + end_IL_05a6: + break; + } + } + } + _200E_206B_200B_206E_202E_202B_202E_206A_200C_206A_200D_202C_206B_206E_206D_200C_202D_200E_206D_206B_206C_200F_202B_202C_202D_206C_202B_206E_202C_206B_206F_200D_206B_206B_202A_202D_202B_200B_202D_202A_202E(); + return result; + } + + static float _206E_206E_206D_202E_200D_200F_202B_200B_202E_206B_206D_202B_202D_206E_200F_202C_206D_202D_206C_202B_202E_202E_202B_200E_200D_206F_200D_200D_200E_202E_206F_202E_206F_200E_206E_202B_206E_200F_200F_200F_202E() + { + return ImGuiHelpers.GlobalScale; + } + + static ImRaii.ChildDisposable _200D_206A_202E_200C_200B_200B_200D_200F_200F_206B_206C_206C_206F_206E_202B_200E_202A_206B_200F_202A_206B_206A_206E_202E_206A_202B_206F_206D_200B_200C_206E_206B_200F_206F_200B_200D_202A_202E_206C_206C_202E(ImU8String P_0, Vector2 P_1, bool P_2) + { + return ImRaii.Child(P_0, P_1, P_2); + } + + static ImRaii.IdDisposable _206E_206E_202D_202A_202C_200B_200F_200F_206F_200C_200E_200C_206B_202D_202B_206D_206C_202C_206D_206C_200B_202E_202A_206E_200E_202C_200B_202A_202C_202D_200B_206A_200C_200E_202A_200F_206D_206D_206A_206A_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static ImDrawListPtr _206D_202C_202A_206E_202C_206F_206A_200E_200C_202B_200D_206F_202D_200B_200D_206E_206D_202A_202C_206F_206F_200F_206A_200B_200C_206C_200D_206F_200F_202A_206A_206D_206E_200E_206D_202B_206C_202D_200B_202B_202E() + { + return ImGui.GetWindowDrawList(); + } + + static float _200E_202A_206C_202D_200C_200F_202D_200F_202C_200F_202B_206E_200F_206F_202D_202B_202A_206B_202B_200C_202A_202C_202B_200E_206A_200C_206F_206F_206B_206A_206D_206E_206E_202A_202C_202D_206D_202D_206B_202D_202E() + { + return ImGui.GetFrameHeight(); + } + + static float _202C_206B_200E_206D_206F_206C_202D_206E_200C_206C_200B_206C_202C_206B_200E_202E_206B_200B_202B_206A_200E_206F_206C_202C_200E_206A_206A_200B_206A_206C_202A_202B_202C_200E_202B_206E_206E_200E_200B_206B_202E() + { + return ImGui.GetFontSize(); + } + + static float _206E_206A_202D_200F_206A_202C_206E_206B_206E_206B_200D_202E_202C_206B_202E_206A_200F_206E_206B_200F_206F_202C_202E_200E_202C_206A_206B_206A_206F_202D_206C_200D_200C_206C_206B_202E_202C_200B_206B_206E_202E() + { + return ImGui.GetCursorPosY(); + } + + static void _200F_202D_206B_206C_206A_202E_200B_202E_206F_202E_202B_206C_206A_202C_206D_200B_202D_206D_206F_206A_206C_202C_202D_202C_202A_200D_200F_206D_206C_200E_206A_200F_200D_202C_202B_200D_202D_206D_206C_202A_202E(float P_0) + { + ImGui.SetCursorPosY(P_0); + } + + static float _206C_206F_202E_206D_206C_206C_200F_206C_200B_200F_206C_200C_202B_202E_200E_200D_202D_202A_206A_202E_206C_202A_200D_202C_202D_202E_200E_206B_200F_200F_206A_200E_206B_202D_206E_202A_202C_206A_206D_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _202B_200D_206D_200E_202C_200B_200E_200C_202B_200C_200B_206A_200C_202E_202C_200D_202E_202E_206F_202A_200B_200E_206C_200F_202C_200B_200F_200E_202B_202A_206A_206F_206D_202B_202B_202E_202A_200E_202A_200D_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static string _200E_202B_200E_202E_200F_202A_206B_200C_200D_206F_202B_200F_206A_202A_200B_206F_202D_202C_206C_200B_202E_200D_202C_206D_200E_206F_200C_202A_202E_200C_200E_200D_200D_200F_206A_202A_200E_202E_202D_206D_202E(string P_0) + { + return P_0.ToUpperInvariant(); + } + + static void _202E_202A_200D_200F_200C_200F_200B_206B_202A_206A_206E_200D_206D_202D_200F_206A_206C_200E_200F_200F_206D_206E_206B_206A_202E_200C_202C_200F_206E_202D_202A_200D_206D_202A_200E_206A_206E_206A_202E_202B_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static ImRaii.ColorDisposable _206C_206B_202D_202D_202A_206D_202D_206B_206A_200F_206D_206D_202A_206E_202C_202C_200F_202C_206B_206E_200D_202E_206D_206B_206D_202A_202D_202B_200C_200E_200D_202C_206C_206E_202C_206B_202C_200C_206D_206C_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static ImRaii.ColorDisposable _202D_200F_202D_206A_200D_202A_200B_202A_202E_202B_200C_200C_206B_206D_200E_206A_206A_200C_200E_200E_200F_206D_202E_200E_206C_206B_206C_200D_202C_200F_206F_206C_202C_206C_200C_202D_200B_206D_206E_200D_202E(ImRaii.ColorDisposable P_0, ImGuiCol P_1, Vector4 P_2, bool P_3) + { + return P_0.Push(P_1, P_2, P_3); + } + + static Vector2 _202D_200D_202C_202C_206F_200E_202D_202C_206A_200D_202C_206E_200F_202B_206E_202D_202C_200C_202D_202A_200F_202D_200F_206C_200B_202D_206F_202E_206C_202B_202A_202A_206F_200D_200B_206C_202A_206B_202E_206D_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static bool _202B_206D_206E_206C_200D_202E_200B_200F_206F_206F_206E_202D_200D_202B_206B_206A_200B_206A_200D_200C_202A_200E_202B_202A_206B_206F_206B_202B_202E_200F_206F_200D_202C_206B_206D_206D_206C_206B_200D_206E_202E(ImU8String P_0, bool P_1, ImGuiSelectableFlags P_2, Vector2 P_3) + { + return ImGui.Selectable(P_0, P_1, P_2, P_3); + } + + static void _206A_200E_206E_200E_200D_206E_206F_200E_200B_200C_206C_206A_206B_200F_206C_206A_206F_206B_206C_200E_206E_202D_206E_202B_202D_206E_206B_206D_206B_206D_200E_206D_202D_206E_202A_200F_202B_200E_200B_200F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _202D_206E_200B_206E_206E_206B_206A_202B_206B_206F_200D_200B_202A_202B_202C_200B_202E_206E_200D_202A_200D_206D_206F_200D_206F_206C_200F_206C_200B_206F_202B_202B_206E_202C_200F_200D_202C_206F_206D_200F_202E() + { + return ImGui.IsItemHovered(); + } + + static Vector2 _206B_202E_200F_206E_206C_202D_206F_200D_206D_202D_200E_206A_206D_200E_202C_206A_200C_200C_202B_202D_200C_202D_206C_206B_206A_202C_206F_206C_200C_202A_202D_200F_200C_202E_206E_200F_202D_202C_200F_200D_202E() + { + return ImGui.GetItemRectMin(); + } + + static Vector2 _206E_202B_206E_206F_206F_200D_202D_202B_202E_206E_206E_202E_206C_206D_206A_200E_206D_206C_200C_202A_200E_206C_200F_206E_202A_200E_202A_202B_200C_206A_202C_200E_202C_202D_206D_206D_206E_206B_206A_206F_202E() + { + return ImGui.GetItemRectMax(); + } + + static ImGuiStylePtr _202B_202A_202D_202D_206B_206C_200C_202A_206E_202E_206A_206C_200D_202E_202C_202A_206E_206C_200B_200C_206B_200D_200D_206C_202B_206D_200D_200E_202B_206B_206B_200C_206A_200F_206A_200D_206B_206F_206E_206B_202E() + { + return ImGui.GetStyle(); + } + + static float _200C_206E_206E_200D_200D_200B_206A_202D_202A_200F_200B_206D_206B_206B_202A_202B_200E_202D_202C_200B_200C_206F_200F_200B_202B_202D_202B_206B_206A_206E_206B_202B_202D_200B_206F_206B_200F_206C_202C_206A_202E(float P_0) + { + return MathF.Truncate(P_0); + } + + static uint _202E_202C_206C_200E_200B_202E_206A_202A_202C_202E_206A_200F_206B_206F_206B_200E_206F_206B_200B_206D_200E_202E_206A_202B_206C_200C_202B_202E_202E_206B_200F_202D_200B_202A_206E_206F_200F_206C_206D_202B_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static string _202B_200F_206D_206D_202B_206D_206F_202B_206F_206D_206B_206E_206C_200E_200D_200E_206A_200B_202E_202C_200D_202C_202B_202D_200E_206E_202C_202A_202B_206A_200B_200E_202D_206C_200E_202D_202C_206A_206A_206F_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static ImFontPtr _202E_200C_202D_206C_202E_206F_202C_200B_200B_200C_200F_200C_200C_206B_200F_202B_202A_200D_200D_200D_202B_200C_200C_202B_202E_200E_200C_206E_206E_206C_202E_200D_206B_206D_206E_202E_200F_202B_200F_202E() + { + return UiBuilder.IconFont; + } + + static Vector2 _206B_200F_202B_206E_202A_200B_200D_200D_206A_202B_202E_202E_206B_200F_206A_206D_206A_206E_200C_206D_202B_206A_206C_200F_206F_202C_202C_200D_200C_206A_206A_200B_200B_200C_206C_206C_200C_206F_202D_206C_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static Vector2 _206B_202D_206A_206F_206E_206B_206D_206B_202B_202D_206F_206B_200B_200D_202D_202E_200E_202B_200C_200D_206E_200E_200D_200C_202D_202D_202B_206C_202B_206B_200E_200C_202A_206F_206D_200D_202B_202B_202B_200F_202E() + { + return ImGui.GetWindowPos(); + } + + static Vector2 _202A_202C_206B_206A_206D_206B_202E_206A_200D_200D_200C_200D_206B_206E_200E_200D_206B_200B_200E_206F_202B_206E_202A_202E_202C_202B_200B_202A_202A_200F_206F_202B_206F_200F_200B_200C_202A_206D_202E_206E_202E() + { + return ImGui.GetWindowSize(); + } + + static void _200E_206B_200B_206E_202E_202B_202E_206A_200C_206A_200D_202C_206B_206E_206D_200C_202D_200E_206D_206B_206C_200F_202B_202C_202D_206C_202B_206E_202C_206B_206F_200D_206B_206B_202A_202D_202B_200B_202D_202A_202E() + { + ImGui.SameLine(); + } +} diff --git a/Questionable/Questionable.Windows/ThemedWindow.cs b/Questionable/Questionable.Windows/ThemedWindow.cs new file mode 100644 index 00000000..0ff89522 --- /dev/null +++ b/Questionable/Questionable.Windows/ThemedWindow.cs @@ -0,0 +1,191 @@ +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() + { + int num = ((!_disposed) ? (-1959803182) : (-1959803178)); + while (true) + { + int num2 = num; + int num3 = -1959803180; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = -1959803178; + break; + case 2: + return; + case 1: + _206A_206C_202B_200C_206C_200C_202B_200F_202D_200E_202C_200B_206C_202D_200D_202D_202C_202E_202E_206E_202D_206C_200F_202E_206D_202D_206B_200C_202B_200D_206E_200E_202E_202D_200E_202E_200F_202A_202D_202B_202E(styles); + num = -1959803180; + break; + case 5: + _202C_202E_206B_206D_202A_202C_200F_206E_206C_206A_202E_202E_202A_206B_202D_202E_200D_202C_206C_200D_206D_202A_200B_200D_202D_206E_202B_200B_206E_202B_202E_206B_206F_202D_202D_202B_206B_202E_200C_206A_202E(colors); + num = -1959803177; + break; + case 0: + num = ((colors <= 0) ? (-1959803177) : (-1959803183)); + break; + case 3: + return; + case 6: + _disposed = true; + num = ((styles <= 0) ? (-1959803180) : (-1959803179)); + break; + } + } + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _206A_206C_202B_200C_206C_200C_202B_200F_202D_200E_202C_200B_206C_202D_200D_202D_202C_202E_202E_206E_202D_206C_200F_202E_206D_202D_206B_200C_202B_200D_206E_200E_202E_202D_200E_202E_200F_202A_202D_202B_202E(int P_0) + { + ImGui.PopStyleVar(P_0); + } + + static void _202C_202E_206B_206D_202A_202C_200F_206E_206C_206A_202E_202E_202A_206B_202D_202E_200D_202C_206C_200D_206D_202A_200B_200D_202D_206E_202B_200B_206E_202B_202E_206B_206F_202D_202D_202B_206B_202E_200C_206A_202E(int P_0) + { + ImGui.PopStyleColor(P_0); + } + } + + private IDisposable? _theme; + + protected ThemedWindow(string windowName, ImGuiWindowFlags flags = ImGuiWindowFlags.None, bool forceMainWindow = false) + : base(windowName, flags, forceMainWindow) + { + } + + public override void PreDraw() + { + _206D_200B_206C_206B_200B_206B_206B_202E_200B_206B_202C_202D_206D_202D_206C_206F_206F_206D_200E_206E_200E_200C_202A_202B_206F_206B_200F_202B_206E_200E_206C_206D_200F_206D_202A_206C_206A_200D_200F_200C_202E(); + _theme = PushTheme(); + } + + public override void PostDraw() + { + IDisposable? theme = _theme; + if (theme != null) + { + _200F_206E_206B_206C_206C_206D_206A_200D_206D_200C_206A_206A_200C_202E_202D_202C_200B_202D_200B_206D_200D_206E_206E_206C_202D_202B_206C_200F_206C_200B_206D_202B_206B_200C_206B_202E_202D_206C_206D_206B_202E(theme); + } + _theme = null; + _206D_202B_202D_202E_206A_206F_200B_206F_206B_200C_206A_206A_200F_200B_202D_200E_202C_200F_200E_200C_202B_200E_202D_206C_206C_206D_206E_200F_206A_202E_206E_206C_200E_200F_206E_200C_206F_206D_206D_200E_202E(); + } + + 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) + { + _202E_200D_200C_200E_202B_206C_206C_206A_206A_206D_200C_206B_200C_206B_200D_206B_200B_202B_206B_200D_206D_202B_206D_206C_200C_202E_202B_206F_200D_206F_202A_200C_206F_206B_206C_202B_202E_200F_206E_206E_202E(col, color); + int num = colors; + int num2 = 1; + int num3 = num; + colors = (num3 | num2) + (num3 & num2); + } + void S(ImGuiStyleVar var, float val) + { + _206B_206A_202D_206B_206E_206B_200C_200C_202E_200D_202A_206C_200B_202B_206D_206C_206F_200B_206A_202B_206C_206B_202A_200F_200D_202B_200C_206E_200D_200F_206D_202D_202E_200B_200D_206B_202B_206A_206E_206A_202E(var, val); + int num = styles; + int num2 = 1; + int num3 = num; + int num4 = num3 ^ num2; + int num5 = num3 & num2; + styles = num4 + (num5 + num5); + } + } + + void _206D_200B_206C_206B_200B_206B_206B_202E_200B_206B_202C_202D_206D_202D_206C_206F_206F_206D_200E_206E_200E_200C_202A_202B_206F_206B_200F_202B_206E_200E_206C_206D_200F_206D_202A_206C_206A_200D_200F_200C_202E() + { + base.PreDraw(); + } + + static void _200F_206E_206B_206C_206C_206D_206A_200D_206D_200C_206A_206A_200C_202E_202D_202C_200B_202D_200B_206D_200D_206E_206E_206C_202D_202B_206C_200F_206C_200B_206D_202B_206B_200C_206B_202E_202D_206C_206D_206B_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + void _206D_202B_202D_202E_206A_206F_200B_206F_206B_200C_206A_206A_200F_200B_202D_200E_202C_200F_200E_200C_202B_200E_202D_206C_206C_206D_206E_200F_206A_202E_206E_206C_200E_200F_206E_200C_206F_206D_206D_200E_202E() + { + base.PostDraw(); + } + + static void _202E_200D_200C_200E_202B_206C_206C_206A_206A_206D_200C_206B_200C_206B_200D_206B_200B_202B_206B_200D_206D_202B_206D_206C_200C_202E_202B_206F_200D_206F_202A_200C_206F_206B_206C_202B_202E_200F_206E_206E_202E(ImGuiCol P_0, Vector4 P_1) + { + ImGui.PushStyleColor(P_0, P_1); + } + + static void _206B_206A_202D_206B_206E_206B_200C_200C_202E_200D_202A_206C_200B_202B_206D_206C_206F_200B_206A_202B_206C_206B_202A_200F_200D_202B_200C_206E_200D_200F_206D_202D_202E_200B_200D_206B_202B_206A_206E_206A_202E(ImGuiStyleVar P_0, float P_1) + { + ImGui.PushStyleVar(P_0, P_1); + } +} diff --git a/Questionable/Questionable.Windows/UiThemeUtils.cs b/Questionable/Questionable.Windows/UiThemeUtils.cs new file mode 100644 index 00000000..c3c6797c --- /dev/null +++ b/Questionable/Questionable.Windows/UiThemeUtils.cs @@ -0,0 +1,3122 @@ +using System; +using System.Collections.Generic; +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) + { + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_202E_206F_206C_202A_202A_200E_202C_206A_206D_200B_200D_202A_202B_206B_202B_202A_200F_206F_202C_200F_206F_202D_206F_206C_206D_206D_200F_200C_200F_200F_202C_206A_206C_206E_206F_200F_206E_202A_200F_202E(); + _206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(stringBuilder, global::_003CModule_003E._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(179489552)); + _206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(stringBuilder, global::_003CModule_003E._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(698284764)); + int num = ((!PrintMembers(stringBuilder)) ? (-1155276585) : (-1155276586)); + while (true) + { + int num2 = num; + int num3 = -1155276585; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _200B_206C_206C_200E_206C_202B_202E_202B_202B_206E_202E_200D_206A_202E_202B_206A_206A_202A_202A_202B_200F_206C_206A_202A_202B_202E_202D_200C_202C_206C_206E_200B_202B_202E_206D_202E_200D_206E_206D_200E_202E(stringBuilder, '}'); + return _200D_202D_206E_206F_202A_202B_206C_200B_202E_202C_206F_206B_202C_202B_202D_206C_202D_200E_202B_200E_200E_200D_206A_202E_202E_200C_206F_202A_202A_200E_202B_206B_200D_202D_200F_202D_206A_202B_206A_202E_202E((object)stringBuilder); + case 1: + _200B_206C_206C_200E_206C_202B_202E_202B_202B_206E_202E_200D_206A_202E_202B_206A_206A_202A_202A_202B_200F_206C_206A_202A_202B_202E_202D_200C_202C_206C_206E_200B_202B_202E_206D_202E_200D_206E_206D_200E_202E(stringBuilder, ' '); + num = -1155276585; + break; + case 2: + num = -1155276586; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(builder, global::_003CModule_003E._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(-79426945)); + _200D_206A_200D_206F_202B_206B_206D_206D_200D_202A_202C_202B_206A_202A_200F_206E_206F_206D_202C_206C_202A_206D_200B_202A_206E_202C_202C_200D_206D_206C_202B_202B_202D_200F_206E_206A_200C_202C_206C_200D_202E(builder, (object)Label); + _206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(builder, global::_003CModule_003E._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(-89441394)); + _206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(builder, Value.ToString()); + _206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(builder, global::_003CModule_003E._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(-2096210289)); + _200D_206A_200D_206F_202B_206B_206D_206D_200D_202A_202C_202B_206A_202A_200F_206E_206F_206D_202C_206C_202A_206D_200B_202A_206E_202C_202C_200D_206D_206C_202B_202B_202D_200F_206E_206A_200C_202C_206C_200D_202E(builder, (object)Tooltip); + return true; + } + + [CompilerGenerated] + public bool Equals(GridCheckbox other) + { + int num = ((!EqualityComparer.Default.Equals(Label, other.Label)) ? (-375874886) : (-375874887)); + while (true) + { + int num2 = num; + int num3 = -375874888; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -375874887; + break; + case 0: + return EqualityComparer.Default.Equals(Tooltip, other.Tooltip); + case 1: + num = ((!EqualityComparer.Default.Equals(Value, other.Value)) ? (-375874886) : (-375874888)); + break; + case 2: + return false; + } + } + } + + bool IEquatable.Equals(GridCheckbox other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _202A_202E_206F_206C_202A_202A_200E_202C_206A_206D_200B_200D_202A_202B_206B_202B_202A_200F_206F_202C_200F_206F_202D_206F_206C_206D_206D_200F_200C_200F_200F_202C_206A_206C_206E_206F_200F_206E_202A_200F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200B_206C_206C_200E_206C_202B_202E_202B_202B_206E_202E_200D_206A_202E_202B_206A_206A_202A_202A_202B_200F_206C_206A_202A_202B_202E_202D_200C_202C_206C_206E_200B_202B_202E_206D_202E_200D_206E_206D_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200D_202D_206E_206F_202A_202B_206C_200B_202E_202C_206F_206B_202C_202B_202D_206C_202D_200E_202B_200E_200E_200D_206A_202E_202E_200C_206F_202A_202A_200E_202B_206B_200D_202D_200F_202D_206A_202B_206A_202E_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _200D_206A_200D_206F_202B_206B_206D_206D_200D_202A_202C_202B_206A_202A_200F_206E_206F_206D_202C_206C_202A_206D_200B_202A_206E_202C_202C_200D_206D_206C_202B_202B_202D_200F_206E_206A_200C_202C_206C_200D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + } + + 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 = _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(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) + { + _202C_200D_202A_206C_200E_202C_200B_200B_202A_206B_202E_202C_202C_200D_206B_202D_200D_206B_202B_206E_206D_202C_200E_202A_202D_206A_206C_202C_202A_200D_202A_200B_200E_206B_202B_200F_202E_202B_200C_200F_202E(_202D_200B_200D_202B_202D_206D_200D_206C_206B_200D_200B_206C_206D_200C_202E_206D_206C_200B_202B_202D_200D_200F_200C_202E_200E_202A_206C_206A_206D_202D_200C_202E_206F_206C_206E_202C_200D_206B_206B_200C_202E() + _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X); + _200E_202A_206A_200E_206E_206E_206B_206B_206B_206C_206F_202A_200E_206A_200C_200E_202E_202C_206C_200E_206D_202C_200F_200C_206E_200D_200E_202D_206D_206A_200E_200B_202B_206E_206E_206B_200C_202A_206B_200C_202E((ImU8String)text); + _200C_200C_206E_200B_200E_202C_200E_206D_206C_202C_200D_202C_200D_206B_202C_206D_202D_206C_200E_202D_206A_206B_206D_202C_200C_206A_202D_200E_200E_200B_206C_202B_200D_200F_206D_202A_202C_200B_202E_202A_202E(); + } + + public static void WrappedTextColored(Vector4 color, string text) + { + ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Text, color, true); + try + { + WrappedText(text); + } + finally + { + int num = ((colorDisposable == null) ? (-1025421329) : (-1025421332)); + while (true) + { + int num2 = num; + int num3 = -1025421331; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto end_IL_0030; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable); + num = -1025421329; + break; + case 0: + num = -1025421332; + break; + } + continue; + end_IL_0030: + break; + } + } + } + + public static string TruncateToWidth(string text, float maxWidth) + { + int num = (_202B_200F_206E_202D_200E_202B_202B_206C_206E_202B_200C_206B_202C_206A_200E_200F_202D_202C_206C_202B_202B_202E_200B_202D_202C_206A_206E_206A_202B_206D_206B_202A_200E_206A_206B_206E_200D_200E_202D_200E_202E(text) ? (-1626955586) : (-1626955587)); + int num10 = default(int); + int num8 = default(int); + int num7 = default(int); + while (true) + { + int num2 = num; + int num3 = -1626955588; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1626955587; + break; + case 3: + { + int num9 = num10; + num3 = 1; + num4 = num9; + num8 = ~(~num4 + num3); + num = -1626955591; + break; + } + case 13: + num7 = num10; + num = -1626955591; + break; + case 7: + num = ((num7 <= 0) ? (-1626955593) : (-1626955590)); + break; + case 6: + return _206E_200E_206F_206F_202C_202E_200E_200B_202E_200F_202E_202C_206E_206D_206E_200C_206D_206D_206C_200F_206C_202A_202B_200D_200B_202A_202D_202E_206B_200B_200F_200C_206E_202D_202C_200F_200B_202B_206C_202D_202E(_200D_202A_202C_200D_202E_202D_200E_200D_200C_202A_202A_202C_202E_202D_202A_206E_206F_200E_206C_206D_202A_206D_200F_202E_206E_200D_206A_202B_200D_206D_200F_200E_200F_202C_200E_206C_202A_206D_200F_200D_202E(text, 0, num7), _202B_206B_206C_206C_206F_206A_206D_200F_206C_202D_206A_206C_206A_206C_202C_202D_200F_206F_200B_200C_202C_200B_202D_202B_200E_202A_200D_200B_206C_202E_206F_202E_200D_200E_206E_202C_202A_200F_200B_202C_202E(Ellipsis)); + case 8: + num = ((!(_200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)Ellipsis, false, -1f).X > maxWidth)) ? (-1626955594) : (-1626955592)); + break; + case 9: + num = ((!(_200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f).X <= maxWidth)) ? (-1626955596) : (-1626955586)); + break; + case 2: + return text; + case 5: + num = ((num7 < num8) ? (-1626955600) : (-1626955589)); + break; + case 12: + { + int num11 = num7; + num3 = num8; + num4 = num11; + int num12 = (num4 | num3) + (num4 & num3); + num3 = 1; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + num10 = (num13 + (num14 + num14)) / 2; + num = ((!(_200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)_206E_200E_206F_206F_202C_202E_200E_200B_202E_200F_202E_202C_206E_206D_206E_200C_206D_206D_206C_200F_206C_202A_202B_200D_200B_202A_202D_202E_206B_200B_200F_200C_206E_202D_202C_200F_200B_202B_206C_202D_202E(_200D_202A_202C_200D_202E_202D_200E_200D_200C_202A_202A_202C_202E_202D_202A_206E_206F_200E_206C_206D_202A_206D_200F_202E_206E_200D_206A_202B_200D_206D_200F_200E_200F_202C_200E_206C_202A_206D_200F_200D_202E(text, 0, num10), _202B_206B_206C_206C_206F_206A_206D_200F_206C_202D_206A_206C_206A_206C_202C_202D_200F_206F_200B_200C_202C_200B_202D_202B_200E_202A_200D_200B_206C_202E_206F_202E_200D_200E_206E_202C_202A_200F_200B_202C_202E(Ellipsis)), false, -1f).X <= maxWidth)) ? (-1626955585) : (-1626955599)); + break; + } + case 1: + num = ((maxWidth <= 0f) ? (-1626955586) : (-1626955595)); + break; + case 4: + return Ellipsis; + case 10: + num7 = 0; + num8 = _206C_202D_206C_200C_202E_206B_206B_202A_206C_206A_200F_206D_202D_202A_202C_200F_202E_202B_206B_202E_206D_206C_206E_206F_206D_202A_206C_200B_202A_200F_206A_200E_202C_200E_206D_202D_206F_200F_206F_206A_202E(text); + num = -1626955591; + break; + case 11: + return Ellipsis; + } + } + } + + public static void RowLabel(string text, float reservedRightWidth) + { + float maxWidth = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X - reservedRightWidth; + _200E_202A_206A_200E_206E_206E_206B_206B_206B_206C_206F_202A_200E_206A_200C_200E_202E_202C_206C_200E_206D_202C_200F_200C_206E_200D_200E_202D_206D_206A_200E_200B_202B_206E_206E_206B_200C_202A_206B_200C_202E((ImU8String)TruncateToWidth(text, maxWidth)); + } + + public static void RowLabel(string text, float reservedRightWidth, Vector4 color) + { + ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Text, color, true); + try + { + RowLabel(text, reservedRightWidth); + } + finally + { + int num = ((colorDisposable == null) ? (-1942778121) : (-1942778124)); + while (true) + { + int num2 = num; + int num3 = -1942778122; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1942778124; + break; + case 1: + goto end_IL_0031; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable); + num = -1942778121; + break; + } + continue; + end_IL_0031: + break; + } + } + } + + public static (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) BeginCard() + { + Vector2 item = _202E_200D_200E_206B_206E_206C_200D_200B_200B_206A_206B_200E_202B_206C_206B_200B_206F_206B_202B_206A_206E_206D_200C_200E_200D_200C_202E_206C_202E_206B_200B_200C_200E_200B_206C_200B_206D_200B_202E_200C_202E(); + float x = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X; + ImDrawListPtr item2 = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + item2.ChannelsSplit(2); + item2.ChannelsSetCurrent(1); + _202C_206B_206B_206D_202D_200B_202A_206E_206D_206A_206C_206E_202C_202A_206C_206B_200F_200B_206E_200F_206E_206D_206A_206E_202A_206D_202D_202B_200F_200B_206A_200B_200E_206A_202B_200C_206A_206B_202D_206E_202E(12f); + _200C_202C_206A_206D_202C_202C_200F_202A_206F_202A_200B_202D_200C_200B_206F_200F_206E_206E_200B_202D_200D_202A_206F_202B_206E_202A_200C_206A_206E_200E_202E_200B_206E_202A_202E_200D_202C_206F_206F_202D_202E(item.Y + 12f); + _206F_206F_200B_200D_202B_200D_206D_202C_200E_202E_200F_202E_200E_200E_202B_206A_200C_206B_206A_200E_202B_202B_202E_202E_206A_202B_202E_200B_206F_206C_202D_206A_200C_200E_202D_206D_200C_202D_202C_202A_202E(-13f); + _cardContentRightInset = 12f; + return (ContentStartPos: item, AvailableWidth: x, DrawList: item2); + } + + public static void EndCard(Vector2 contentStartPos, float availableWidth, ImDrawListPtr drawList) + { + _206F_206E_202B_206D_202E_200D_200E_206A_202D_202C_202E_206A_200C_202C_206E_200C_202C_200F_206F_206A_200F_200F_202E_202A_202D_200E_202C_206A_202E_206B_202E_200E_206B_206C_202E_206D_206B_206A_200B_206B_202E(); + _206B_206A_206E_202D_206A_202C_206C_206B_206D_206C_206B_202A_206A_206A_202C_206B_202E_202B_206B_202B_200C_206D_202E_202C_206D_202D_206C_200B_200B_200D_200D_202E_200C_202A_206B_200B_200B_202D_200F_202A_202E(12f); + _cardContentRightInset = 0f; + Vector2 vector = _202E_200D_200E_206B_206E_206C_200D_200B_200B_206A_206B_200E_202B_206C_206B_200B_206F_206B_202B_206A_206E_206D_200C_200E_200D_200C_202E_206C_202E_206B_200B_200C_200E_200B_206C_200B_206D_200B_202E_200C_202E(); + drawList.ChannelsSetCurrent(0); + _202C_206B_206D_206E_200D_206D_202C_206A_206A_206D_206C_202A_200E_206E_206B_202D_206C_200E_200C_202E_200C_200B_206B_200E_206E_200B_206B_202E_202B_200E_200B_206F_206D_206F_202C_200D_200D_200B_206E_200E_202E(contentStartPos); + Vector2 pMin = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E(); + _202C_206B_206D_206E_200D_206D_202C_206A_206A_206D_206C_202A_200E_206E_206B_202D_206C_200E_200C_202E_200C_200B_206B_200E_206E_200B_206B_202E_202B_200E_200B_206F_206D_206F_202C_200D_200D_200B_206E_200E_202E(vector + new Vector2(0f, 12f)); + Vector2 vector2 = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E(); + drawList.AddRectFilled(pMin, new Vector2(pMin.X + availableWidth, vector2.Y), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(CardBackgroundColor), 6f); + drawList.AddRect(pMin, new Vector2(pMin.X + availableWidth, vector2.Y), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(CardBorderColor), 6f, ImDrawFlags.None, 1f); + drawList.ChannelsMerge(); + _202C_206B_206D_206E_200D_206D_202C_206A_206A_206D_206C_202A_200E_206E_206B_202D_206C_200E_200C_202E_200C_200B_206B_200E_206E_200B_206B_202E_202B_200E_200B_206F_206D_206F_202C_200D_200D_200B_206E_200E_202E(new Vector2(contentStartPos.X, vector.Y + 12f)); + } + + public static ImRaii.TableDisposable BeginThemedTable(string id, int columns, ImGuiTableFlags extra = ImGuiTableFlags.None) + { + return _200B_200D_202A_206F_200D_206B_202A_202D_200E_202C_206C_206E_202B_202D_200C_200E_202D_206B_206E_200E_200C_202C_206E_202D_202E_206E_200B_202D_200E_200D_206B_200C_200C_206C_202B_206D_202E_206A_206D_202B_202E((ImU8String)id, columns, ImGuiTableFlags.RowBg | ImGuiTableFlags.BordersInnerH | extra); + } + + public static void SectionHeader(string title) + { + ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + Vector2 pMin = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E(); + float num = _200D_202A_202B_200C_206C_206C_200C_200D_206A_206C_202E_206C_202B_206C_200D_206A_200B_200E_202D_206A_200B_206D_206D_206D_202D_200D_202C_202E_206D_206B_200C_206F_206C_200B_202A_206F_206C_200B_200C_202E(); + imDrawListPtr.AddRectFilled(pMin, new Vector2(pMin.X + 3f, pMin.Y + num), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentColor)); + _202D_200B_200D_206E_206D_200B_202A_206E_206A_200E_202C_206A_202D_202A_200C_206C_206E_206E_202A_206A_202A_202D_202C_206A_206F_200F_206D_202A_202B_200F_200E_200D_200D_206D_206F_202E_206A_202A_202D_202B_202E(_202D_200B_200D_202B_202D_206D_200D_206C_206B_200D_200B_206C_206D_200C_202E_206D_206C_200B_202B_202D_200D_200F_200C_202E_200E_202A_206C_206A_206D_202D_200C_202E_206F_206C_206E_202C_200D_206B_206B_200C_202E() + 3f + 6f); + _206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref PrimaryTextColor, (ImU8String)title); + } + + public static void SectionSpacing() + { + _200C_202C_206A_206D_202C_202C_200F_202A_206F_202A_200B_202D_200C_200B_206F_200F_206E_206E_200B_202D_200D_202A_206F_202B_206E_202A_200C_206A_206E_200E_202E_200B_206E_202A_202E_200D_202C_206F_206F_202D_202E(_202C_200C_200C_200C_206E_202E_202E_202E_200E_206C_206B_206E_200F_200E_202D_202D_202A_200C_206A_202C_206A_206B_200D_200E_206E_200F_200F_206F_200B_206C_202B_200B_206A_202A_206F_202D_206B_200C_202C_206B_202E() + 16f); + } + + public static void SubSectionHeader(string label) + { + _200E_202D_200C_206E_200B_206A_200E_206F_200F_200C_200D_202D_200D_200E_200B_206E_206C_206F_202D_202C_206E_200D_206B_206B_206C_206B_202D_202E_206D_202B_202D_202C_206E_206E_200C_200F_206F_206C_202C_206A_202E(); + _206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref DimTextColor, (ImU8String)label); + } + + public static void StatusBadge(string text, Vector4 color, FontAwesomeIcon icon) + { + ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + Vector2 vector = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E(); + float fontSize = _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E(); + string text2 = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(icon); + ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true); + Vector2 vector2; + try + { + vector2 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text2, false, -1f); + } + finally + { + int num = ((fontDisposable == null) ? 481738281 : 481738280); + while (true) + { + int num2 = num; + int num3 = 481738281; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto end_IL_005d; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable); + num = 481738281; + break; + case 2: + num = 481738280; + break; + } + continue; + end_IL_005d: + break; + } + } + Vector2 vector3 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f); + float num7 = 6f; + float num8 = 2f; + float num9 = 4f; + float x = num7 + vector2.X + num9 + vector3.X + num7; + float num10 = num8 + _206D_202B_202D_200F_206A_200D_206E_206C_202C_206B_200E_206B_206B_206C_206B_200E_202C_206C_202A_206F_206E_200E_202A_202A_200B_206F_202C_200C_206E_206D_206F_202E_200F_206B_206D_202E_206E_200C_200C_202C_202E(vector2.Y, vector3.Y) + num8; + Vector2 pMin = vector; + Vector2 pMax = vector + new Vector2(x, num10); + Vector4 vector4 = new Vector4(color.X, color.Y, color.Z, 0.15f); + float rounding = num10 * 0.5f; + imDrawListPtr.AddRectFilled(pMin, pMax, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(vector4), rounding); + Vector2 pos = vector + new Vector2(num7, num8); + imDrawListPtr.AddText(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), fontSize, pos, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(color), text2); + Vector2 pos2 = vector + new Vector2(num7 + vector2.X + num9, num8); + imDrawListPtr.AddText(pos2, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(color), text); + _206E_202D_200E_206B_202E_202E_206A_206E_200B_202A_202D_206E_202B_206F_202A_202C_202C_206E_200C_200C_202D_200E_202A_200C_200B_202E_200D_206B_206F_200C_206A_200C_206A_206A_200D_200D_202E_202C_200C_206E_202E(new Vector2(x, num10)); + } + + public static void StatusBanner(string text, Vector4 color, FontAwesomeIcon icon) + { + ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + Vector2 vector = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E(); + float fontSize = _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E(); + string text2 = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(icon); + float x = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X; + ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true); + Vector2 vector2; + try + { + vector2 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text2, false, -1f); + } + finally + { + int num = ((fontDisposable == null) ? (-1080792538) : (-1080792537)); + while (true) + { + int num2 = num; + int num3 = -1080792538; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1080792537; + break; + case 0: + goto end_IL_0069; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable); + num = -1080792538; + break; + } + continue; + end_IL_0069: + break; + } + } + Vector2 vector3 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f); + float y = 12f + _206D_202B_202D_200F_206A_200D_206E_206C_202C_206B_200E_206B_206B_206C_206B_200E_202C_206C_202A_206F_206E_200E_202A_202A_200B_206F_202C_200C_206E_206D_206F_202E_200F_206B_206D_202E_206E_200C_200C_202C_202E(vector2.Y, vector3.Y) + 12f; + float num7 = 6f; + Vector2 pMin = vector; + Vector2 pMax = vector + new Vector2(x, y); + Vector4 vector4 = new Vector4(color.X, color.Y, color.Z, 0.1f); + Vector4 vector5 = new Vector4(color.X, color.Y, color.Z, 0.25f); + imDrawListPtr.AddRectFilled(pMin, pMax, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(vector4), 6f); + imDrawListPtr.AddRect(pMin, pMax, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(vector5), 6f, ImDrawFlags.None, 1f); + Vector2 pos = vector + new Vector2(12f, 12f); + imDrawListPtr.AddText(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), fontSize, pos, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(color), text2); + Vector2 pos2 = vector + new Vector2(12f + vector2.X + num7, 12f); + imDrawListPtr.AddText(pos2, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(color), text); + _206E_202D_200E_206B_202E_202E_206A_206E_200B_202A_202D_206E_202B_206F_202A_202C_202C_206E_200C_200C_202D_200E_202A_200C_200B_202E_200D_206B_206F_200C_206A_200C_206A_206A_200D_200D_202E_202C_200C_206E_202E(new Vector2(x, y)); + } + + public static void EmptyState(FontAwesomeIcon icon, string title, string? hint = null) + { + float x = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X; + _206E_202D_200E_206B_202E_202E_206A_206E_200B_202A_202D_206E_202B_206F_202A_202C_202C_206E_200C_200C_202D_200E_202A_200C_200B_202E_200D_206B_206F_200C_206A_200C_206A_206A_200D_200D_202E_202C_200C_206E_202E(new Vector2(0f, 12f)); + ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + string text = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(icon); + float fontSize = _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E() * 1.4f; + ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true); + Vector2 vector; + int num; + try + { + vector = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f) * 1.4f; + } + finally + { + num = ((fontDisposable == null) ? 145311786 : 145311785); + while (true) + { + int num2 = num; + int num3 = 145311787; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_0086; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable); + num = 145311786; + break; + case 0: + num = 145311785; + break; + } + continue; + end_IL_0086: + break; + } + } + Vector2 pos = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E() + new Vector2((x - vector.X) / 2f, 0f); + imDrawListPtr.AddText(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), fontSize, pos, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(MutedTextColor), text); + _206E_202D_200E_206B_202E_202E_206A_206E_200B_202A_202D_206E_202B_206F_202A_202C_202C_206E_200C_200C_202D_200E_202A_200C_200B_202E_200D_206B_206F_200C_206A_200C_206A_206A_200D_200D_202E_202C_200C_206E_202E(vector); + _200E_202D_200C_206E_200B_206A_200E_206F_200F_200C_200D_202D_200D_200E_200B_206E_206C_206F_202D_202C_206E_200D_206B_206B_206C_206B_202D_202E_206D_202B_202D_202C_206E_206E_200C_200F_206F_206C_202C_206A_202E(); + _202D_200B_200D_206E_206D_200B_202A_206E_206A_200E_202C_206A_202D_202A_200C_206C_206E_206E_202A_206A_202A_202D_202C_206A_206F_200F_206D_202A_202B_200F_200E_200D_200D_206D_206F_202E_206A_202A_202D_202B_202E((x - _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)title, false, -1f).X) / 2f); + _206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref DimTextColor, (ImU8String)title); + num = ((hint == null) ? 533396990 : 533396989); + while (true) + { + int num5 = num; + int num3 = 533396991; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = 533396989; + break; + case 1: + _206E_202D_200E_206B_202E_202E_206A_206E_200B_202A_202D_206E_202B_206F_202A_202C_202C_206E_200C_200C_202D_200E_202A_200C_200B_202E_200D_206B_206F_200C_206A_200C_206A_206A_200D_200D_202E_202C_200C_206E_202E(new Vector2(0f, 12f)); + return; + case 2: + _200E_202D_200C_206E_200B_206A_200E_206F_200F_200C_200D_202D_200D_200E_200B_206E_206C_206F_202D_202C_206E_200D_206B_206B_206C_206B_202D_202E_206D_202B_202D_202C_206E_206E_200C_200F_206F_206C_202C_206A_202E(); + _202D_200B_200D_206E_206D_200B_202A_206E_206A_200E_202C_206A_202D_202A_200C_206C_206E_206E_202A_206A_202A_202D_202C_206A_206F_200F_206D_202A_202B_200F_200E_200D_200D_206D_206F_202E_206A_202A_202D_202B_202E((x - _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)hint, false, -1f).X) / 2f); + _206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref MutedTextColor, (ImU8String)hint); + num = 533396990; + break; + } + } + } + + public static void DrawTrackerCount(string formattedText, bool isComplete, bool isEmpty) + { + _206D_202E_202C_206C_206B_200C_200D_206C_206E_200C_202E_202E_206D_200C_200F_202C_202B_200E_200C_206A_206E_202D_206F_200B_200E_200D_200E_202B_206F_202D_202B_206D_206B_200C_200E_206A_206F_200D_206F_200F_202E(_200B_200B_206B_206E_202A_202A_206C_206C_200D_206A_206F_206C_200C_206A_206E_206B_206A_206E_202B_200B_206D_200E_206C_200F_206E_200B_202B_202C_202C_200D_200E_202D_200F_206F_206E_206A_202C_202E_202E_206B_202E()); + int num = ((!isEmpty) ? (-1597827944) : (-1597827942)); + while (true) + { + int num2 = num; + int num3 = -1597827941; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = -1597827942; + break; + case 0: + _200E_200D_200C_200E_200D_202E_206B_206A_200F_202E_200F_206D_200E_200B_200B_206E_200E_206A_202C_200B_202B_202B_206A_202B_200D_200D_200D_202C_206C_202E_206B_202B_206D_206A_206F_200B_202D_202B_200F_206F_202E(); + return; + case 3: + num = ((!isComplete) ? (-1597827943) : (-1597827937)); + break; + case 1: + _206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref StatusUnobtainable, (ImU8String)formattedText); + num = -1597827941; + break; + case 4: + _206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref StatusComplete, (ImU8String)formattedText); + num = -1597827941; + break; + case 2: + _200E_202A_206A_200E_206E_206E_206B_206B_206B_206C_206F_202A_200E_206A_200C_200E_202E_202C_206C_200E_206D_202C_200F_200C_206E_200D_200E_202D_206D_206A_200E_200B_202B_206E_206E_206B_200C_202A_206B_200C_202E((ImU8String)formattedText); + num = -1597827941; + break; + } + } + } + + public static void DrawTrackerGroupCaret(IFontHandle iconFontFixedWidth, bool expanded) + { + _206F_202A_202E_202B_200E_202E_206A_200C_202C_200D_202A_200B_206F_202A_206F_200B_202D_200C_206C_200C_202E_200E_202E_206C_202B_200D_202C_202D_200D_206A_202A_200E_202B_206D_200F_206E_206E_206A_206F_200E_202E(ImGuiTableBgTarget.RowBg0, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(CardBackgroundColor)); + IDisposable disposable = _206B_206B_206D_206A_200E_202C_206C_206F_206E_200B_206F_200E_200D_200C_206B_206C_202C_202A_200D_206E_206F_206F_202B_206C_202E_206B_206A_200D_206B_200B_200C_202A_202A_206F_200E_206F_200B_206D_206B_202E_202E(iconFontFixedWidth); + try + { + _206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref AccentColor, (ImU8String)_200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(expanded ? FontAwesomeIcon.CaretDown : FontAwesomeIcon.CaretRight)); + } + finally + { + int num = ((disposable == null) ? 261348162 : 261348161); + while (true) + { + int num2 = num; + int num3 = 261348160; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 261348161; + break; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E(disposable); + num = 261348162; + break; + case 2: + goto end_IL_0061; + } + continue; + end_IL_0061: + break; + } + } + } + + public static void DrawAltRowBackground(int rowIndex) + { + int num = ((rowIndex % 2 != 0) ? 1971807013 : 1971807012); + while (true) + { + int num2 = num; + int num3 = 1971807013; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1971807012; + break; + case 1: + { + ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + Vector2 pMin = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E(); + imDrawListPtr.AddRectFilled(pMax: new Vector2(pMin.X + _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X, pMin.Y + _200E_202A_206E_200F_202C_200C_200B_200F_206F_206F_206E_202E_200D_200D_202C_200E_200B_206D_206A_200E_200F_202C_206A_202C_200D_206A_202B_200E_206A_202C_206F_200B_202E_206E_202A_206D_202E_206C_206D_206E_202E()), pMin: pMin, col: AltRowColor); + num = 1971807013; + break; + } + case 0: + return; + } + } + } + + public static void DrawRowBackground(Vector2 topLeft, Vector2 bottomRight) + { + _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E().AddRectFilled(topLeft, bottomRight, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(CardBackgroundColor), 3f); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static bool ThemedAccordion(string id, string label, string? rightText, ref bool open, bool enabled = true) + { + ImRaii.IdDisposable idDisposable = _200D_200F_206C_202D_206B_206F_206E_206E_202D_202C_202E_202B_202D_206E_202B_200E_206C_202B_202D_200E_200B_206F_202B_200E_200B_200C_202A_202A_202C_200C_206A_206F_200E_202C_200F_206F_200D_206E_200C_202D_202E((ImU8String)id, true); + try + { + float x = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X - _cardContentRightInset; + float num = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E(); + ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Header, Vector4.Zero, true); + int num2; + try + { + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.HeaderHovered, Vector4.Zero, true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.HeaderActive, Vector4.Zero, true); + num2 = ((!(_200C_206D_206C_202B_206F_202B_206B_200F_200F_202B_200D_206C_206D_202A_200F_200E_202A_206C_202A_200F_200B_200E_206B_206A_202B_200B_206C_200D_206C_200E_206A_202D_200F_206C_206A_200F_206E_200C_200E_200D_202E((ImU8String)global::_003CModule_003E._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(1054108485), false, ImGuiSelectableFlags.None, new Vector2(x, num)) && enabled)) ? (-581565881) : (-581565884)); + while (true) + { + int num3 = num2; + int num4 = -581565883; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -581565884; + break; + case 1: + open = !open; + num2 = -581565881; + break; + case 2: + goto end_IL_0090; + } + continue; + end_IL_0090: + break; + } + } + finally + { + num2 = ((colorDisposable == null) ? (-1710279402) : (-1710279403)); + while (true) + { + int num6 = num2; + int num4 = -1710279401; + int num5 = num6; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + goto end_IL_00ff; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable); + num2 = -1710279402; + break; + case 0: + num2 = -1710279403; + break; + } + continue; + end_IL_00ff: + break; + } + } + num2 = ((!enabled) ? (-1780703774) : (-1780703775)); + ImDrawListPtr imDrawListPtr = default(ImDrawListPtr); + Vector2 pMin = default(Vector2); + Vector2 pMax = default(Vector2); + float fontSize = default(float); + float num9 = default(float); + while (true) + { + int num7 = num2; + int num4 = -1780703772; + int num5 = num7; + int num11; + int num8; + float x2; + float num10; + string text; + ImRaii.FontDisposable fontDisposable; + Vector2 vector; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 2: + num2 = (open ? (-1780703769) : (-1780703771)); + continue; + case 5: + num11 = (_200B_202A_202D_206F_206A_200F_206A_206C_200F_202A_202B_202D_200D_200E_202A_206A_206D_206E_202A_206C_200E_206D_202A_206E_202B_200E_202A_206F_206B_202C_206D_200F_206F_206A_200C_200E_202A_206A_206C_202E_202E() ? 1 : 0); + goto IL_01e0; + case 6: + num11 = 0; + goto IL_01e0; + case 0: + num2 = -1780703775; + continue; + case 7: + imDrawListPtr.AddRectFilled(pMin, pMax, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(SubtleHoverColor), 4f); + num2 = -1780703776; + continue; + case 1: + num8 = 61658; + goto IL_02fe; + case 4: + fontSize = _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E(); + num9 = pMin.X + 12f; + if (enabled) + { + num2 = -1780703770; + continue; + } + break; + case 3: + { + num8 = 61655; + goto IL_02fe; + } + IL_01e0: + pMin = _202B_200E_200C_206B_206B_206C_206E_206E_200D_206A_200E_206C_206C_200D_206B_206D_200D_206F_200E_206D_206D_202A_206A_200E_200B_200F_200C_206B_206C_202B_200D_206B_202D_206F_202E_206C_206D_202D_200F_202C_202E(); + pMax = _200E_202B_202A_206C_206A_206E_206B_206C_200F_200B_206F_200D_200C_206B_202D_200D_200E_202B_206D_200E_202D_202E_200D_202D_200B_206B_200E_202E_200D_206D_200C_206F_200C_202E_206A_206D_206F_200F_206B_206E_202E(); + x2 = _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().ItemSpacing.X; + num10 = _206F_200C_206A_202A_202B_206C_200C_200E_202A_200F_202C_200C_206D_202C_206D_202A_200D_206A_206F_206A_200B_202B_200C_200E_206B_206F_200B_202A_200E_206B_202E_206B_206F_200E_202B_200B_200C_202E_206F_200C_202E(x2 * 0.5f); + pMin.X += num10; + pMax.X -= x2 - num10; + imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + imDrawListPtr.AddRectFilled(pMin, pMax, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(CardBackgroundColor), 4f); + imDrawListPtr.AddRect(pMin, pMax, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(CardBorderColor), 4f, ImDrawFlags.None, 1f); + num2 = ((num11 == 0) ? (-1780703776) : (-1780703773)); + continue; + IL_02fe: + text = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E((FontAwesomeIcon)num8); + fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true); + try + { + vector = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f); + } + finally + { + num2 = ((fontDisposable == null) ? (-309485944) : (-309485943)); + while (true) + { + int num12 = num2; + num4 = -309485944; + num5 = num12; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = -309485943; + break; + case 0: + goto end_IL_034a; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable); + num2 = -309485944; + break; + } + continue; + end_IL_034a: + break; + } + } + imDrawListPtr.AddText(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), fontSize, new Vector2(num9, pMin.Y + (num - vector.Y) / 2f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentColor), text); + break; + } + break; + } + Vector2 vector2 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)label, false, -1f); + imDrawListPtr.AddText(new Vector2(num9 + 18f, pMin.Y + (num - vector2.Y) / 2f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(enabled ? PrimaryTextColor : DimTextColor), label); + if (!_202B_200F_206E_202D_200E_202B_202B_206C_206E_202B_200C_206B_202C_206A_200E_200F_202D_202C_206C_202B_202B_202E_200B_202D_202C_206A_206E_206A_202B_206D_206B_202A_200E_206A_206B_206E_200D_200E_202D_200E_202E(rightText)) + { + ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_200B_200B_206B_206E_202A_202A_206C_206C_200D_206A_206F_206C_200C_206A_206E_206B_206A_206E_202B_200B_206D_200E_206C_200F_206E_200B_202B_202C_202C_200D_200E_202D_200F_206F_206E_206A_202C_202E_202E_206B_202E(), true); + Vector2 vector3; + try + { + vector3 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)rightText, false, -1f); + } + finally + { + num2 = ((fontDisposable == null) ? (-700255459) : (-700255460)); + while (true) + { + int num13 = num2; + int num4 = -700255459; + int num5 = num13; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = -700255460; + break; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable); + num2 = -700255459; + break; + case 0: + goto end_IL_0484; + } + continue; + end_IL_0484: + break; + } + } + float x3 = pMax.X - 12f - vector3.X; + imDrawListPtr.AddText(_200B_200B_206B_206E_202A_202A_206C_206C_200D_206A_206F_206C_200C_206A_206E_206B_206A_206E_202B_200B_206D_200E_206C_200F_206E_200B_202B_202C_202C_200D_200E_202D_200F_206F_206E_206A_202C_202E_202E_206B_202E(), fontSize, new Vector2(x3, pMin.Y + (num - vector3.Y) / 2f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(DimTextColor), rightText); + } + return open; + } + finally + { + int num2 = ((idDisposable == null) ? (-2111830654) : (-2111830655)); + while (true) + { + int num14 = num2; + int num4 = -2111830656; + int num5 = num14; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -2111830655; + break; + case 2: + goto end_IL_054e; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)idDisposable); + num2 = -2111830654; + break; + } + continue; + end_IL_054e: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static bool WrappedCheckbox(string label, ref bool value, string? infoTooltip = null) + { + ImU8String imU8String = new ImU8String(2, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(417604067)); + imU8String.AppendFormatted(label); + bool result = _206F_202C_206C_200E_206C_206C_206B_200F_206C_200E_206A_206E_200E_202E_206B_206A_206C_202B_206C_202C_200C_202C_206B_200D_200C_206A_206E_200E_206D_206D_200D_202A_206F_206C_200F_206B_206F_200F_200C_206F_202E(imU8String, ref value); + _206D_206A_206D_202E_206E_206F_206F_206B_200F_200F_202A_206E_206C_200F_200D_200B_206D_206F_206E_206A_202C_200F_206A_200D_200C_206D_206A_206C_206A_206A_206C_206D_202E_202B_206F_200F_200D_200E_206E_202A_202E(); + if (infoTooltip != null) + { + ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true); + float x; + try + { + x = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)_200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(FontAwesomeIcon.InfoCircle), false, -1f).X; + } + finally + { + int num = ((fontDisposable == null) ? (-1353435682) : (-1353435683)); + while (true) + { + int num2 = num; + int num3 = -1353435681; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1353435683; + break; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable); + num = -1353435682; + break; + case 1: + goto end_IL_0084; + } + continue; + end_IL_0084: + break; + } + } + _202C_200D_202A_206C_200E_202C_200B_200B_202A_206B_202E_202C_202C_200D_206B_202D_200D_206B_202B_206E_206D_202C_200E_202A_202D_206A_206C_202C_202A_200D_202A_200B_200E_206B_202B_200F_202E_202B_200C_200F_202E(_202D_200B_200D_202B_202D_206D_200D_206C_206B_200D_200B_206C_206D_200C_202E_206D_206C_200B_202B_202D_200D_200F_200C_202E_200E_202A_206C_206A_206D_202D_200C_202E_206F_206C_206E_202C_200D_206B_206B_200C_202E() + _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X - x - _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().ItemSpacing.X); + _202E_202B_206B_202E_206E_206A_202E_202A_202B_206C_206E_206D_200C_202A_206D_200C_206A_202E_200D_202C_200F_206B_206C_202E_202A_206F_200E_200B_200C_206C_202C_202E_206A_200C_206E_200D_202E_202A_200F_202C_202E((ImU8String)label); + _200C_200C_206E_200B_200E_202C_200E_206D_206C_202C_200D_202C_200D_206B_202C_206D_202D_206C_200E_202D_206A_206B_206D_202C_200C_206A_202D_200E_200E_200B_206C_202B_200D_200F_206D_202A_202C_200B_202E_202A_202E(); + _206D_206A_206D_202E_206E_206F_206F_206B_200F_200F_202A_206E_206C_200F_200D_200B_206D_206F_206E_206A_202C_200F_206A_200D_200C_206D_206A_206C_206A_206A_206C_206D_202E_202B_206F_200F_200D_200E_206E_202A_202E(); + fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true); + try + { + _206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref DimTextColor, (ImU8String)_200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(FontAwesomeIcon.InfoCircle)); + } + finally + { + int num = ((fontDisposable == null) ? 177849368 : 177849371); + while (true) + { + int num5 = num; + int num3 = 177849369; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 1: + goto end_IL_0157; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable); + num = 177849368; + break; + case 0: + num = 177849371; + break; + } + continue; + end_IL_0157: + break; + } + } + if (_200B_202A_202D_206F_206A_200F_206A_206C_200F_202A_202B_202D_200D_200E_202A_206A_206D_206E_202A_206C_200E_206D_202A_206E_202B_200E_202A_206F_206B_202C_206D_200F_206F_206A_200C_200E_202A_206A_206C_202E_202E()) + { + using (_200D_202A_206C_206B_206E_202D_202E_200D_202A_200C_206F_206B_206D_200B_202D_200F_200D_206D_202A_206A_200D_206A_200D_200B_202C_206F_200C_200C_206C_200C_206A_200C_206E_202C_206D_202B_206E_202B_206C_200F_202E()) + { + _202C_200D_202A_206C_200E_202C_200B_200B_202A_206B_202E_202C_202C_200D_206B_202D_200D_206B_202B_206E_206D_202C_200E_202A_202D_206A_206C_202C_202A_200D_202A_200B_200E_206B_202B_200F_202E_202B_200C_200F_202E(400f); + _202E_202B_206B_202E_206E_206A_202E_202A_202B_206C_206E_206D_200C_202A_206D_200C_206A_202E_200D_202C_200F_206B_206C_202E_202A_206F_200E_200B_200C_206C_202C_202E_206A_200C_206E_200D_202E_202A_200F_202C_202E((ImU8String)infoTooltip); + _200C_200C_206E_200B_200E_202C_200E_206D_206C_202C_200D_202C_200D_206B_202C_206D_202D_206C_200E_202D_206A_206B_206D_202C_200C_206A_202D_200E_200E_200B_206C_202B_200D_200F_206D_202A_202C_200B_202E_202A_202E(); + } + } + } + else + { + _202C_200D_202A_206C_200E_202C_200B_200B_202A_206B_202E_202C_202C_200D_206B_202D_200D_206B_202B_206E_206D_202C_200E_202A_202D_206A_206C_202C_202A_200D_202A_200B_200E_206B_202B_200F_202E_202B_200C_200F_202E(0f); + _202E_202B_206B_202E_206E_206A_202E_202A_202B_206C_206E_206D_200C_202A_206D_200C_206A_202E_200D_202C_200F_206B_206C_202E_202A_206F_200E_200B_200C_206C_202C_202E_206A_200C_206E_200D_202E_202A_200F_202C_202E((ImU8String)label); + _200C_200C_206E_200B_200E_202C_200E_206D_206C_202C_200D_202C_200D_206B_202C_206D_202D_206C_200E_202D_206A_206B_206D_202C_200C_206A_202D_200E_200E_200B_206C_202B_200D_200F_206D_202A_202C_200B_202E_202A_202E(); + } + return result; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static int CheckboxGrid(string id, ReadOnlySpan items, int columns = 2) + { + ImRaii.IdDisposable idDisposable = _200D_200F_206C_202D_206B_206F_206E_206E_202D_202C_202E_202B_202D_206E_202B_200E_206C_202B_202D_200E_200B_206F_202B_200E_200B_200C_202A_202A_202C_200C_206A_206F_200E_202C_200F_206F_200D_206E_200C_202D_202E((ImU8String)id, true); + try + { + float x = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X; + float x2 = _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().ItemSpacing.X; + float num = 0f; + ReadOnlySpan readOnlySpan = items; + int num2 = 0; + int num3 = -1026376026; + int num8 = default(int); + float num11 = default(float); + float num7 = default(float); + int result = default(int); + while (true) + { + int num4 = num3; + int num5 = -1026376019; + int num6 = num4; + switch ((num6 | num5) - (num6 & num5)) + { + case 1: + _206D_206A_206D_202E_206E_206F_206F_206B_200F_200F_202A_206E_206C_200F_200D_200B_206D_206F_206E_206A_202C_200F_206A_200D_200C_206D_206A_206C_206A_206A_206C_206D_202E_202B_206F_200F_200D_200E_206E_202A_202E(); + _200E_202A_206A_200E_206E_206E_206B_206B_206B_206C_206F_202A_200E_206A_200C_200E_202E_202C_206C_200E_206D_202C_200F_200C_206E_200D_200E_202D_206D_206A_200E_200B_202B_206E_206E_206B_200C_202A_206B_200C_202E((ImU8String)items[num8].Label); + num3 = ((items[num8].Tooltip == null) ? (-1026376004) : (-1026376018)); + break; + case 3: + _206D_206A_206D_202E_206E_206F_206F_206B_200F_200F_202A_206E_206C_200F_200D_200B_206D_206F_206E_206A_202C_200F_206A_200D_200C_206D_206A_206C_206A_206A_206C_206D_202E_202B_206F_200F_200D_200E_206E_202A_202E(); + InfoIcon(items[num8].Tooltip); + num3 = -1026376004; + break; + case 7: + num11 += x2 + _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E(); + num3 = -1026376017; + break; + case 6: + num3 = ((num > x / (float)columns) ? (-1026376029) : (-1026376032)); + break; + case 13: + num7 = x / (float)columns; + result = -1; + num8 = 0; + num3 = -1026376031; + break; + case 2: + { + num = _206D_202B_202D_200F_206A_200D_206E_206C_202C_206B_200E_206B_206B_206C_206B_200E_202C_206C_202A_206F_206E_200E_202A_202A_200B_206F_202C_200C_206E_206D_206F_202E_200F_206B_206D_202E_206E_200C_200C_202C_202E(num, num11); + int num12 = num2; + num5 = 1; + num6 = num12; + int num13 = num6 ^ num5; + int num14 = num6 & num5; + num2 = num13 + (num14 + num14); + num3 = -1026376026; + break; + } + case 0: + { + bool value = items[num8].Value; + ImU8String imU8String = new ImU8String(4, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(-1503654672)); + imU8String.AppendFormatted(num8); + num3 = ((!_206F_202C_206C_200E_206C_206C_206B_200F_206C_200E_206A_206E_200E_202E_206B_206A_206C_202B_206C_202C_200C_202C_206B_200D_200C_206A_206E_200E_206D_206D_200D_202A_206F_206C_200F_206B_206F_200F_200C_206F_202E(imU8String, ref value)) ? (-1026376020) : (-1026376001)); + break; + } + case 4: + num3 = ((columns <= 1) ? (-1026376032) : (-1026376021)); + break; + case 18: + result = num8; + num3 = -1026376020; + break; + case 9: + num3 = -1026376023; + break; + case 15: + { + GridCheckbox gridCheckbox = readOnlySpan[num2]; + num11 = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E() + x2 + _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)gridCheckbox.Label, false, -1f).X; + num3 = ((gridCheckbox.Tooltip == null) ? (-1026376017) : (-1026376022)); + break; + } + case 8: + num3 = ((num8 % columns == 0) ? (-1026376019) : (-1026376025)); + break; + case 12: + num3 = ((num8 < items.Length) ? (-1026376027) : (-1026376003)); + break; + case 5: + num3 = -1026376026; + break; + case 11: + num3 = ((num2 < readOnlySpan.Length) ? (-1026376030) : (-1026376028)); + break; + case 14: + { + int num10 = columns; + num5 = 1; + num6 = num10; + columns = ~(~num6 + num5); + num3 = -1026376023; + break; + } + case 17: + { + int num9 = num8; + num5 = 1; + num6 = num9; + num8 = (num6 | num5) + (num6 & num5); + num3 = -1026376031; + break; + } + case 10: + _202A_200B_206D_202A_206E_206E_206A_202E_206E_206A_202B_200E_206E_200E_202D_206B_206B_206B_200B_206E_200D_202E_206D_200D_206E_206F_202C_206B_200F_206E_200C_200F_202D_200C_200B_202E_202C_202B_200D_206B_202E(num7 * (float)(num8 % columns)); + num3 = -1026376019; + break; + case 16: + return result; + } + } + } + finally + { + int num3 = ((idDisposable == null) ? 242126912 : 242126915); + while (true) + { + int num15 = num3; + int num5 = 242126913; + int num6 = num15; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num3 = 242126915; + break; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)idDisposable); + num3 = 242126912; + break; + case 1: + goto end_IL_037b; + } + continue; + end_IL_037b: + break; + } + } + } + + public static bool SearchInput(string id, ref string text, float width = -1E-45f, string hint = "Search...") + { + _202E_202A_202C_206B_200E_200F_200E_206F_206C_202C_202A_202C_206D_202C_200B_202E_200E_202A_202D_200C_206B_200C_200B_206B_206E_200F_202E_206A_202C_206E_206C_202C_200B_200E_206F_206A_202C_202C_206C_206E_202E(width); + return _200D_206B_202B_200D_206F_206E_200B_202B_200F_206E_202D_206A_206D_206F_200F_206F_200C_206A_202E_206E_206E_200F_202C_206A_202A_202B_206A_202D_206C_200F_200C_206D_200F_206E_200C_200B_202A_206F_200F_206A_202E((ImU8String)id, (ImU8String)hint, ref text, 256, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null); + } + + public static void InfoIcon(string tooltip) + { + ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true); + try + { + _206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref DimTextColor, (ImU8String)_200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(FontAwesomeIcon.InfoCircle)); + } + finally + { + int num = ((fontDisposable == null) ? 1404360823 : 1404360820); + while (true) + { + int num2 = num; + int num3 = 1404360821; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0046; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable); + num = 1404360823; + break; + case 0: + num = 1404360820; + break; + } + continue; + end_IL_0046: + break; + } + } + if (_200B_202A_202D_206F_206A_200F_206A_206C_200F_202A_202B_202D_200D_200E_202A_206A_206D_206E_202A_206C_200E_206D_202A_206E_202B_200E_202A_206F_206B_202C_206D_200F_206F_206A_200C_200E_202A_206A_206C_202E_202E()) + { + using (_200D_202A_206C_206B_206E_202D_202E_200D_202A_200C_206F_206B_206D_200B_202D_200F_200D_206D_202A_206A_200D_206A_200D_200B_202C_206F_200C_200C_206C_200C_206A_200C_206E_202C_206D_202B_206E_202B_206C_200F_202E()) + { + _202C_200D_202A_206C_200E_202C_200B_200B_202A_206B_202E_202C_202C_200D_206B_202D_200D_206B_202B_206E_206D_202C_200E_202A_202D_206A_206C_202C_202A_200D_202A_200B_200E_206B_202B_200F_202E_202B_200C_200F_202E(400f); + _202E_202B_206B_202E_206E_206A_202E_202A_202B_206C_206E_206D_200C_202A_206D_200C_206A_202E_200D_202C_200F_206B_206C_202E_202A_206F_200E_200B_200C_206C_202C_202E_206A_200C_206E_200D_202E_202A_200F_202C_202E((ImU8String)tooltip); + _200C_200C_206E_200B_200E_202C_200E_206D_206C_202C_200D_202C_200D_206B_202C_206D_202D_206C_200E_202D_206A_206B_206D_202C_200C_206A_202D_200E_200E_200B_206C_202B_200D_200F_206D_202A_202C_200B_202E_202A_202E(); + } + } + } + + public static bool AccentSliderInt(string label, ref int value, int min, int max, float width = 250f) + { + ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + Vector2 pMin = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E(); + float num = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E(); + int num2 = ((max > min) ? (-664033253) : (-664033256)); + float num7; + while (true) + { + int num3 = num2; + int num4 = -664033254; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + default: + continue; + case 0: + goto IL_005d; + case 2: + num7 = 0f; + break; + case 1: + { + float num6 = value - min; + num4 = min; + num5 = max; + num7 = num6 / (float)(~(~num5 + num4)); + break; + } + } + break; + IL_005d: + num2 = -664033256; + } + float num8 = num7; + imDrawListPtr.AddRectFilled(pMin, new Vector2(pMin.X + width * num8, pMin.Y + num), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentDimColor), 4f); + ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.FrameBg, new Vector4(0.15f, 0.12f, 0.2f, 0.5f), true); + try + { + _202E_202A_202C_206B_200E_200F_200E_206F_206C_202C_202A_202C_206D_202C_200B_202E_200E_202A_202D_200C_206B_200C_200B_206B_206E_200F_202E_206A_202C_206E_206C_202C_200B_200E_206F_206A_202C_202C_206C_206E_202E(width); + return _202C_206B_206D_206D_202D_202A_202D_202D_202D_202E_202C_200C_200E_200C_202C_200D_206D_200C_200E_206A_202B_202C_200D_206B_200F_202D_200C_202E_202B_206C_200B_206D_200C_206A_200D_200C_200C_200F_202A_200D_202E((ImU8String)label, ref value, min, max, default(ImU8String), ImGuiSliderFlags.None); + } + finally + { + num2 = ((colorDisposable == null) ? 577315354 : 577315353); + while (true) + { + int num9 = num2; + int num4 = 577315352; + int num5 = num9; + int num10 = num5 + num4; + int num11 = num5 & num4; + switch (num10 - (num11 + num11)) + { + case 2: + goto end_IL_012b; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable); + num2 = 577315354; + break; + case 0: + num2 = 577315353; + break; + } + continue; + end_IL_012b: + break; + } + } + } + + public static bool AccentSliderFloat(string label, ref float value, float min, float max, string format = "%.1f", float width = 250f) + { + ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + Vector2 pMin = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E(); + float num = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E(); + int num2 = ((max > min) ? 1057697420 : 1057697423); + float num8; + while (true) + { + int num3 = num2; + int num4 = 1057697422; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 0: + goto IL_005f; + case 1: + num8 = 0f; + break; + case 2: + num8 = (value - min) / (max - min); + break; + } + break; + IL_005f: + num2 = 1057697423; + } + float num9 = num8; + imDrawListPtr.AddRectFilled(pMin, new Vector2(pMin.X + width * num9, pMin.Y + num), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentDimColor), 4f); + ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.FrameBg, new Vector4(0.15f, 0.12f, 0.2f, 0.5f), true); + try + { + _202E_202A_202C_206B_200E_200F_200E_206F_206C_202C_202A_202C_206D_202C_200B_202E_200E_202A_202D_200C_206B_200C_200B_206B_206E_200F_202E_206A_202C_206E_206C_202C_200B_200E_206F_206A_202C_202C_206C_206E_202E(width); + return _200D_202C_206A_200D_200C_200E_200D_202A_202E_202E_200C_206D_206E_202A_200C_200F_200E_200C_202C_202B_202D_206C_202E_202B_206B_200B_202E_202E_202D_206A_206A_202B_206F_206E_206B_206E_202D_202E_202A_206E_202E((ImU8String)label, ref value, min, max, (ImU8String)format, ImGuiSliderFlags.None); + } + finally + { + num2 = ((colorDisposable == null) ? (-509645182) : (-509645183)); + while (true) + { + int num10 = num2; + int num4 = -509645181; + int num5 = num10; + int num11 = num5 + num4; + int num12 = num5 & num4; + switch (num11 - (num12 + num12)) + { + case 0: + num2 = -509645183; + break; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable); + num2 = -509645182; + break; + case 1: + goto end_IL_011e; + } + continue; + end_IL_011e: + break; + } + } + } + + public static bool ThemedCombo(string label, ref int currentItem, string[] items, int itemCount) + { + ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.FrameBg, new Vector4(0.15f, 0.12f, 0.2f, 0.65f), true); + try + { + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.FrameBgHovered, new Vector4(0.2f, 0.16f, 0.28f, 0.75f), true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.FrameBgActive, new Vector4(0.22f, 0.18f, 0.3f, 0.85f), true); + int num = ((currentItem < 0) ? (-660884539) : (-660884541)); + bool flag = default(bool); + bool result = default(bool); + ImDrawListPtr imDrawListPtr = default(ImDrawListPtr); + Vector2 vector = default(Vector2); + float num17 = default(float); + float num18 = default(float); + while (true) + { + int num2 = num; + int num3 = -660884543; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + object obj; + string text; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 0: + obj = items[currentItem]; + goto IL_00c0; + case 4: + obj = string.Empty; + goto IL_00c0; + case 2: + num = ((currentItem < itemCount) ? (-660884543) : (-660884539)); + continue; + case 3: + num = -660884541; + continue; + case 1: + { + Vector4 accentColor = AccentColor; + accentColor.W = 0.35f; + ImRaii.ColorDisposable colorDisposable2 = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Header, accentColor, true); + try + { + accentColor = AccentColor; + accentColor.W = 0.45f; + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable2, ImGuiCol.HeaderHovered, accentColor, true); + accentColor = AccentColor; + accentColor.W = 0.6f; + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable2, ImGuiCol.HeaderActive, accentColor, true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable2, ImGuiCol.Text, new Vector4(0.95f, 0.95f, 1f, 1f), true); + int num7 = 0; + num = -1523793301; + while (true) + { + int num8 = num; + num3 = -1523793297; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 7: + num = -1523793301; + break; + case 4: + num = ((num7 < itemCount) ? (-1523793298) : (-1523793303)); + break; + case 3: + { + int num11 = num7; + num3 = 1; + num4 = num11; + int num12 = num4 ^ num3; + int num13 = num4 & num3; + num7 = num12 + (num13 + num13); + num = -1523793301; + break; + } + case 1: + flag = num7 == currentItem; + num = ((!_200C_206D_206C_202B_206F_202B_206B_200F_200F_202B_200D_206C_206D_202A_200F_200E_202A_206C_202A_200F_200B_200E_206B_206A_202B_200B_206C_200D_206C_200E_206A_202D_200F_206C_206A_200F_206E_200C_200E_200D_202E((ImU8String)items[num7], flag, ImGuiSelectableFlags.None, default(Vector2))) ? (-1523793299) : (-1523793302)); + break; + case 2: + num = ((!flag) ? (-1523793300) : (-1523793297)); + break; + case 5: + currentItem = num7; + result = true; + num = -1523793299; + break; + case 0: + _200E_202D_202E_200E_202E_202A_206F_202A_206E_202D_202A_206A_206A_206F_206D_200C_202B_200F_200C_206E_206F_202A_206B_200B_200C_206A_202E_202E_202B_202C_206B_202C_202C_202B_202C_202C_206A_206D_200F_200F_202E(); + num = -1523793300; + break; + case 6: + _202C_206B_202D_206E_202D_206D_206B_200D_200E_206D_200F_200C_202C_200B_200F_202E_206E_206F_202D_206A_202A_202D_200E_200D_206C_202E_202B_202A_206D_200E_202B_200C_200C_200D_206B_202B_202D_202B_206E_206E_202E(); + goto end_IL_01d5; + } + continue; + end_IL_01d5: + break; + } + } + finally + { + num = ((colorDisposable2 == null) ? (-1128559037) : (-1128559040)); + while (true) + { + int num14 = num; + num3 = -1128559038; + num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) + { + case 0: + num = -1128559040; + break; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable2); + num = -1128559037; + break; + case 1: + goto end_IL_0311; + } + continue; + end_IL_0311: + break; + } + } + break; + } + IL_00c0: + text = (string)obj; + imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + vector = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E(); + num17 = _202B_202A_202C_200B_200F_206C_206C_206C_202C_206A_200F_206F_206A_200B_206F_200B_202E_206A_200D_200F_202D_202C_200D_206F_206A_206C_202E_200C_206A_206A_202C_202E_206C_202B_206A_206D_202A_202B_206D_200D_202E(); + num18 = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E(); + result = false; + if (_206C_206C_200D_202E_200C_206E_200E_206B_206C_200E_200B_200B_206A_202E_206E_202E_206C_206D_200D_202D_200C_206A_202E_206D_206B_206E_200B_202B_200D_202E_202A_206D_206C_200F_200B_200C_200B_202D_206D_202D_202E((ImU8String)label, (ImU8String)text, ImGuiComboFlags.NoArrowButton)) + { + num = -660884544; + continue; + } + break; + } + break; + } + float x = _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().FramePadding.X; + float num19 = 5f; + float num20 = vector.X + num17 - x - num19; + float num21 = vector.Y + num18 * 0.5f; + imDrawListPtr.AddTriangleFilled(new Vector2(num20 - num19 * 0.5f, num21 - num19 * 0.4f), new Vector2(num20 + num19 * 0.5f, num21 - num19 * 0.4f), new Vector2(num20, num21 + num19 * 0.5f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(DimTextColor)); + return result; + } + finally + { + int num = ((colorDisposable == null) ? (-497719698) : (-497719697)); + while (true) + { + int num22 = num; + int num3 = -497719698; + int num4 = num22; + int num23 = num4 + num3; + int num24 = num4 & num3; + switch (num23 - (num24 + num24)) + { + case 0: + goto end_IL_041d; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable); + num = -497719698; + break; + case 2: + num = -497719697; + break; + } + continue; + end_IL_041d: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static bool SearchableCombo(string label, ref int currentItem, string[] items, ref string searchText, float width = 250f, string? previewOverride = null) + { + ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.FrameBg, new Vector4(0.15f, 0.12f, 0.2f, 0.65f), true); + try + { + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.FrameBgHovered, new Vector4(0.2f, 0.16f, 0.28f, 0.75f), true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.FrameBgActive, new Vector4(0.22f, 0.18f, 0.3f, 0.85f), true); + object obj = previewOverride; + int num; + if (obj == null) + { + num = ((currentItem < 0) ? (-1685579580) : (-1685579579)); + goto IL_008f; + } + goto IL_00d5; + IL_0613: + float x = _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().FramePadding.X; + float num2 = 5f; + Vector2 vector = default(Vector2); + float num4 = default(float); + float num3 = vector.X + num4 - x - num2; + float num6 = default(float); + float num5 = vector.Y + num6 * 0.5f; + ImDrawListPtr imDrawListPtr = default(ImDrawListPtr); + imDrawListPtr.AddTriangleFilled(new Vector2(num3 - num2 * 0.5f, num5 - num2 * 0.4f), new Vector2(num3 + num2 * 0.5f, num5 - num2 * 0.4f), new Vector2(num3, num5 + num2 * 0.5f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(DimTextColor)); + bool result = default(bool); + return result; + IL_00d5: + string text = (string)obj; + _202E_202A_202C_206B_200E_200F_200E_206F_206C_202C_202A_202C_206D_202C_200B_202E_200E_202A_202D_200C_206B_200C_200B_206B_206E_200F_202E_206A_202C_206E_206C_202C_200B_200E_206F_206A_202C_202C_206C_206E_202E(width); + imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + vector = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E(); + num4 = _202B_202A_202C_200B_200F_206C_206C_206C_202C_206A_200F_206F_206A_200B_206F_200B_202E_206A_200D_200F_202D_202C_200D_206F_206A_206C_202E_200C_206A_206A_202C_202E_206C_202B_206A_206D_202A_202B_206D_200D_202E(); + num6 = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E(); + result = false; + if (_206C_206C_200D_202E_200C_206E_200E_206B_206C_200E_200B_200B_206A_202E_206E_202E_206C_206D_200D_202D_200C_206A_202E_206D_206B_206E_200B_202B_200D_202E_202A_206D_206C_200F_200B_200C_200B_202D_206D_202D_202E((ImU8String)label, (ImU8String)text, ImGuiComboFlags.NoArrowButton)) + { + num = -1685579578; + goto IL_008f; + } + goto IL_0613; + IL_0140: + obj = string.Empty; + goto IL_00d5; + IL_008f: + while (true) + { + int num7 = num; + int num8 = -1685579578; + int num9 = num7; + int num10 = num9 + num8; + int num11 = num9 & num8; + switch (num10 - (num11 + num11)) + { + case 4: + num = -1685579579; + break; + case 1: + goto end_IL_008f; + case 3: + goto IL_011e; + case 2: + goto IL_0140; + case 0: + goto IL_0156; + } + continue; + IL_011e: + num = ((currentItem < items.Length) ? (-1685579577) : (-1685579580)); + continue; + end_IL_008f: + break; + } + obj = items[currentItem]; + goto IL_00d5; + IL_0156: + Vector4 accentColor = AccentColor; + accentColor.W = 0.35f; + ImRaii.ColorDisposable colorDisposable2 = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Header, accentColor, true); + try + { + accentColor = AccentColor; + accentColor.W = 0.45f; + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable2, ImGuiCol.HeaderHovered, accentColor, true); + accentColor = AccentColor; + accentColor.W = 0.6f; + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable2, ImGuiCol.HeaderActive, accentColor, true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable2, ImGuiCol.Text, new Vector4(0.95f, 0.95f, 1f, 1f), true); + num = ((!_206E_202B_202D_206F_200C_206D_206D_206C_206F_200F_202A_202C_206B_202B_200C_202C_206D_200B_206F_202E_202B_206E_206E_202B_200D_206F_202C_200C_206D_200E_206B_200F_206E_202E_206E_206F_206E_200E_200F_206F_202E()) ? 569075453 : 569075443); + int num15 = default(int); + int num21 = default(int); + string[] array = default(string[]); + int num17 = default(int); + bool flag = default(bool); + while (true) + { + int num12 = num; + int num8 = 569075451; + int num9 = num12; + switch ((num9 | num8) - (num9 & num8)) + { + case 6: + _202E_202A_202C_206B_200E_200F_200E_206F_206C_202C_202A_202C_206D_202C_200B_202E_200E_202A_202D_200C_206B_200C_200B_206B_206E_200F_202E_206A_202C_206E_206C_202C_200B_200E_206F_206A_202C_202C_206C_206E_202E(-1E-45f); + _200D_206B_202B_200D_206F_206E_200B_202B_200F_206E_202D_206A_206D_206F_200F_206F_200C_206A_202E_206E_206E_200F_202C_206A_202A_202B_206A_202D_206C_200F_200C_206D_200F_206E_200C_200B_202A_206F_200F_206A_202E((ImU8String)global::_003CModule_003E._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(-964626679), (ImU8String)global::_003CModule_003E._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(1330390258), ref searchText, 256, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null); + _202B_202A_202E_206D_200C_206C_200B_206B_202C_200F_200C_200F_202D_200C_202C_200F_206C_202E_206D_202E_202E_202E_202A_200B_202C_206F_202A_206D_202B_202B_206A_202E_200B_200E_202E_200D_202B_200F_200C_202E(); + num15 = items.Length; + num = (_202B_200F_206E_202D_200E_202B_202B_206C_206E_202B_200C_206B_202C_206A_200E_200F_202D_202C_206C_202B_202B_202E_200B_202D_202C_206A_206E_206A_202B_206D_206B_202A_200E_206A_206B_206E_200D_200E_202D_200E_202E(searchText) ? 569075448 : 569075455); + break; + case 7: + { + int num23 = num21; + num8 = 1; + num9 = num23; + num21 = (num9 | num8) + (num9 & num8); + num = 569075449; + break; + } + case 5: + { + int num22 = num15; + num8 = 1; + num9 = num22; + num15 = (num9 | num8) + (num9 & num8); + num = 569075452; + break; + } + case 0: + num = 569075443; + break; + case 8: + searchText = string.Empty; + _202D_202A_206E_206F_202D_202A_206C_200C_202E_202C_206C_202E_200F_202B_200C_202A_200D_202D_202D_206A_202E_200C_202C_200E_206A_206E_200B_202E_206E_206C_200C_202D_202C_206F_206E_202B_200E_202B_200D_202D_202E(); + num = 569075453; + break; + case 4: + num15 = 0; + array = items; + num21 = 0; + num = 569075449; + break; + case 2: + num = ((num21 < array.Length) ? 569075450 : 569075448); + break; + case 1: + num = ((!_206A_206C_202B_206B_202B_206F_202E_206F_200F_202B_202D_202D_206D_202C_200B_200F_202C_202E_206C_202E_206A_200B_202B_202A_206E_200E_202E_206E_202B_206B_206A_200E_202C_202A_202B_202A_206E_202C_200E_206E_202E(array[num21], searchText, StringComparison.OrdinalIgnoreCase)) ? 569075452 : 569075454); + break; + case 3: + { + float num13 = _200E_202A_206E_200F_202C_200C_200B_200F_206F_206F_206E_202E_200D_200D_202C_200E_200B_206D_206A_200E_200F_202C_206A_202C_200D_206A_202B_200E_206A_202C_206F_200B_202E_206E_202A_206D_202E_206C_206D_206E_202E(); + int num14 = _202C_202E_200B_200E_200D_206F_202D_200C_206B_202E_200C_202E_202D_202A_206C_202A_206C_202A_202A_202B_206F_200B_206F_200F_200B_200C_206D_200C_200D_206C_206C_206C_202E_202B_206B_206D_206C_206D_200F_202D_202E(1, (int)(250f * _206E_200F_200F_200F_200D_200B_202C_200E_202D_202A_200C_202B_202A_206B_200F_206F_202B_206C_200D_200F_202C_200B_202B_200F_200E_206E_206A_202B_200B_200F_206A_202C_206D_206E_202C_206E_206B_202B_206C_202B_202E() / num13)); + float y = (float)_200F_200C_206F_202A_202B_206C_206C_206D_202D_206B_206C_200B_206B_200C_202E_206F_206F_206F_206E_206C_206E_206B_202E_202B_202B_206C_206C_202A_202A_200F_206A_206E_202B_202E_202E_202A_200F_206E_206B_202E_202E(_202C_202E_200B_200E_200D_206F_202D_200C_206B_202E_200C_202E_202D_202A_206C_202A_206C_202A_202A_202B_206F_200B_206F_200F_200B_200C_206D_200C_200D_206C_206C_206C_202E_202B_206B_206D_206C_206D_200F_202D_202E(num15, 1), 1, num14) * num13 + 4f; + using (_206D_206C_206D_202A_206C_200F_200D_206B_200F_206E_200C_206D_206C_202C_200B_202D_200B_206C_200E_202C_206A_206B_206A_200B_206A_206D_202D_200D_200D_202B_200E_206C_206A_202D_202D_206F_206C_206B_206B_206E_202E((ImU8String)global::_003CModule_003E._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(740257102), new Vector2(0f, y))) + { + num = ((num15 != 0) ? 598657922 : 598657935); + while (true) + { + int num16 = num; + num8 = 598657925; + num9 = num16; + switch ((num9 | num8) - (num9 & num8)) + { + case 7: + num17 = 0; + num = 598657927; + break; + case 3: + { + int num18 = num17; + num8 = 1; + num9 = num18; + int num19 = num9 ^ num8; + int num20 = num9 & num8; + num17 = num19 + (num20 + num20); + num = 598657927; + break; + } + case 2: + num = ((num17 < items.Length) ? 598657921 : 598657925); + break; + case 10: + _206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref MutedTextColor, (ImU8String)global::_003CModule_003E._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(1503478926)); + goto end_IL_03e3; + case 9: + num = ((!flag) ? 598657926 : 598657924); + break; + case 11: + flag = num17 == currentItem; + num = ((!_200C_206D_206C_202B_206F_202B_206B_200F_200F_202B_200D_206C_206D_202A_200F_200E_202A_206C_202A_200F_200B_200E_206B_206A_202B_200B_206C_200D_206C_200E_206A_202D_200F_206C_206A_200F_206E_200C_200E_200D_202E((ImU8String)items[num17], flag, ImGuiSelectableFlags.None, default(Vector2))) ? 598657932 : 598657923); + break; + case 5: + num = 598657935; + break; + case 4: + num = (_202B_200F_206E_202D_200E_202B_202B_206C_206E_202B_200C_206B_202C_206A_200E_200F_202D_202C_206C_202B_202B_202E_200B_202D_202C_206A_206E_206A_202B_206D_206B_202A_200E_206A_206B_206E_200D_200E_202D_200E_202E(searchText) ? 598657934 : 598657933); + break; + case 1: + _200E_202D_202E_200E_202E_202A_206F_202A_206E_202D_202A_206A_206A_206F_206D_200C_202B_200F_200C_206E_206F_202A_206B_200B_200C_206A_202E_202E_202B_202C_206B_202C_202C_202B_202C_202C_206A_206D_200F_200F_202E(); + num = 598657926; + break; + case 8: + num = ((!_206A_206C_202B_206B_202B_206F_202E_206F_200F_202B_202D_202D_206D_202C_200B_200F_202C_202E_206C_202E_206A_200B_202B_202A_206E_200E_202E_206E_202B_206B_206A_200E_202C_202A_202B_202A_206E_202C_200E_206E_202E(items[num17], searchText, StringComparison.OrdinalIgnoreCase)) ? 598657926 : 598657934); + break; + case 6: + currentItem = num17; + result = true; + _206B_206C_200E_202E_202B_206A_206B_200D_202E_206F_206F_202A_206F_206C_202A_202E_202C_202D_206A_202A_202C_202D_202E_206D_206F_202E_200F_206D_202D_202B_206D_202A_206B_202E_200C_200E_202C_200F_206B_200C_202E(); + num = 598657932; + break; + case 0: + goto end_IL_03e3; + } + continue; + end_IL_03e3: + break; + } + } + _202C_206B_202D_206E_202D_206D_206B_200D_200E_206D_200F_200C_202C_200B_200F_202E_206E_206F_202D_206A_202A_202D_200E_200D_206C_202E_202B_202A_206D_200E_202B_200C_200C_200D_206B_202B_202D_202B_206E_206E_202E(); + goto end_IL_01fa; + } + } + continue; + end_IL_01fa: + break; + } + } + finally + { + num = ((colorDisposable2 == null) ? (-531834282) : (-531834283)); + while (true) + { + int num24 = num; + int num8 = -531834284; + int num9 = num24; + switch ((num9 | num8) - (num9 & num8)) + { + case 2: + goto end_IL_05c7; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable2); + num = -531834282; + break; + case 0: + num = -531834283; + break; + } + continue; + end_IL_05c7: + break; + } + } + goto IL_0613; + } + finally + { + int num = ((colorDisposable == null) ? (-1283184272) : (-1283184271)); + while (true) + { + int num25 = num; + int num8 = -1283184272; + int num9 = num25; + switch ((num9 | num8) - (num9 & num8)) + { + case 2: + num = -1283184271; + break; + case 0: + goto end_IL_06d1; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable); + num = -1283184272; + break; + } + continue; + end_IL_06d1: + break; + } + } + } + + public static ImRaii.ColorDisposable PushProgressBarColors() + { + ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.PlotHistogram, AccentColor, true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.FrameBg, new Vector4(1f, 1f, 1f, 0.12f), true); + return colorDisposable; + } + + public static void DrawTabUnderline() + { + ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + Vector2 vector = _202B_200E_200C_206B_206B_206C_206E_206E_200D_206A_200E_206C_206C_200D_206B_206D_200D_206F_200E_206D_206D_202A_206A_200E_200B_200F_200C_206B_206C_202B_200D_206B_202D_206F_202E_206C_206D_202D_200F_202C_202E(); + Vector2 vector2 = _200E_202B_202A_206C_206A_206E_206B_206C_200F_200B_206F_200D_200C_206B_202D_200D_200E_202B_206D_200E_202D_202E_200D_202D_200B_206B_200E_202E_200D_206D_200C_206F_200C_202E_206A_206D_206F_200F_206B_206E_202E(); + imDrawListPtr.AddRectFilled(new Vector2(vector.X, vector2.Y - 3f), new Vector2(vector2.X, vector2.Y), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(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); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static int DrawTabBar(ReadOnlySpan labels, int selected, bool equalWidth = false) + { + ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + float x = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X; + float x2 = _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().ItemSpacing.X; + float x3 = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E().X; + int result = selected; + float x4 = 0f; + float x5 = 0f; + float num = 0f; + float num2 = 0f; + int num3 = (equalWidth ? 2129292598 : 2129292599); + float num7; + int num5; + int num6; + while (true) + { + int num4 = num3; + num5 = 2129292598; + num6 = num4; + switch ((num6 | num5) - (num6 & num5)) + { + default: + continue; + case 2: + goto IL_0099; + case 1: + num7 = 0f; + break; + case 0: + num7 = (x - x2 * (float)(labels.Length - 1)) / (float)labels.Length; + break; + } + break; + IL_0099: + num3 = 2129292599; + } + float num8 = num7; + Span span = stackalloc float[labels.Length]; + int num9 = 0; + ImRaii.IdDisposable idDisposable = _200D_200F_206C_202D_206B_206F_206E_206E_202D_202C_202E_202B_202D_206E_202B_200E_206C_202B_202D_200E_200B_206F_202B_200E_200B_200C_202A_202A_202C_200C_206A_206F_200E_202C_200F_206F_200D_206E_200C_202D_202E((ImU8String)global::_003CModule_003E._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(-1419382412), true); + try + { + ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Button, Vector4.Zero, true); + try + { + ImRaii.ColorDisposable colorDisposable2 = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.ButtonHovered, SubtleHoverColor, true); + try + { + ImRaii.ColorDisposable colorDisposable3 = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.ButtonActive, SubtleActiveColor, true); + try + { + float num10 = 0f; + int num11 = 0; + float num12 = default(float); + while (true) + { + IL_0376: + if (num11 < labels.Length) + { + num12 = (equalWidth ? num8 : (_200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)labels[num11], false, -1f).X + _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().FramePadding.X * 2f)); + if (num11 > 0) + { + if (num10 + x2 + num12 <= x) + { + _206D_206A_206D_202E_206E_206F_206F_206B_200F_200F_202A_206E_206C_200F_200D_200B_206D_206F_206E_206A_202C_200F_206A_200D_200C_206D_206A_206C_206A_206A_206C_206D_202E_202B_206F_200F_200D_200E_206E_202A_202E(); + num10 += x2; + } + else + { + int num13 = num9; + num5 = 1; + num6 = num13; + int num14 = num6 ^ num5; + int num15 = num6 & num5; + num9 = num14 + (num15 + num15); + span[num13] = num2; + num10 = 0f; + } + } + ImRaii.ColorDisposable colorDisposable4 = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Text, (num11 == selected) ? AccentColor : DimTextColor, true); + try + { + num3 = ((!_206C_200D_206F_206B_202E_202C_200E_202B_202A_206B_200F_200D_206E_202A_206F_202C_202E_206D_200E_202C_200F_200C_206B_206A_206E_206D_206A_200E_200D_206C_202C_202C_202C_206F_202E_206E_202E_202A_206E_206B_202E((ImU8String)labels[num11], new Vector2(num12, 0f))) ? 948298611 : 948298608); + while (true) + { + int num16 = num3; + num5 = 948298609; + num6 = num16; + int num17 = num6 + num5; + int num18 = num6 & num5; + switch (num17 - (num18 + num18)) + { + case 0: + num3 = 948298608; + break; + case 1: + result = num11; + num3 = 948298611; + break; + case 2: + goto end_IL_0235; + } + continue; + end_IL_0235: + break; + } + } + finally + { + num3 = ((colorDisposable4 == null) ? 1966743355 : 1966743352); + while (true) + { + int num19 = num3; + num5 = 1966743353; + num6 = num19; + int num20 = num6 + num5; + int num21 = num6 & num5; + switch (num20 - (num21 + num21)) + { + case 0: + num3 = 1966743352; + break; + case 2: + goto end_IL_02a3; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable4); + num3 = 1966743355; + break; + } + continue; + end_IL_02a3: + break; + } + } + num3 = ((num11 != selected) ? (-1680989916) : (-1680989914)); + } + else + { + num3 = -1680989913; + } + while (true) + { + int num22 = num3; + num5 = -1680989913; + num6 = num22; + switch ((num6 | num5) - (num6 & num5)) + { + case 2: + num3 = -1680989914; + break; + case 3: + goto IL_034d; + case 1: + x4 = _202B_200E_200C_206B_206B_206C_206E_206E_200D_206A_200E_206C_206C_200D_206B_206D_200D_206F_200E_206D_206D_202A_206A_200E_200B_200F_200C_206B_206C_202B_200D_206B_202D_206F_202E_206C_206D_202D_200F_202C_202E().X; + x5 = _200E_202B_202A_206C_206A_206E_206B_206C_200F_200B_206F_200D_200C_206B_202D_200D_200E_202B_206D_200E_202D_202E_200D_202D_200B_206B_200E_202E_200D_206D_200C_206F_200C_202E_206A_206D_206F_200F_206B_206E_202E().X; + num = _200E_202B_202A_206C_206A_206E_206B_206C_200F_200B_206F_200D_200C_206B_202D_200D_200E_202B_206D_200E_202D_202E_200D_202D_200B_206B_200E_202E_200D_206D_200C_206F_200C_202E_206A_206D_206F_200F_206B_206E_202E().Y; + num3 = -1680989916; + break; + case 0: + goto end_IL_0311; + } + continue; + IL_034d: + num2 = _200E_202B_202A_206C_206A_206E_206B_206C_200F_200B_206F_200D_200C_206B_202D_200D_200E_202B_206D_200E_202D_202E_200D_202D_200B_206B_200E_202E_200D_206D_200C_206F_200C_202E_206A_206D_206F_200F_206B_206E_202E().Y; + num10 += num12; + int num23 = num11; + num5 = 1; + num6 = num23; + int num24 = num6 ^ num5; + int num25 = num6 & num5; + num11 = num24 + (num25 + num25); + goto IL_0376; + continue; + end_IL_0311: + break; + } + break; + } + } + finally + { + num3 = ((colorDisposable3 == null) ? (-133177192) : (-133177189)); + while (true) + { + int num26 = num3; + num5 = -133177190; + num6 = num26; + int num27 = num6 + num5; + int num28 = num6 & num5; + switch (num27 - (num28 + num28)) + { + case 2: + goto end_IL_03e4; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable3); + num3 = -133177192; + break; + case 0: + num3 = -133177189; + break; + } + continue; + end_IL_03e4: + break; + } + } + } + finally + { + num3 = ((colorDisposable2 == null) ? 2058513122 : 2058513121); + while (true) + { + int num29 = num3; + num5 = 2058513120; + num6 = num29; + int num30 = num6 + num5; + int num31 = num6 & num5; + switch (num30 - (num31 + num31)) + { + case 2: + goto end_IL_0451; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable2); + num3 = 2058513122; + break; + case 0: + num3 = 2058513121; + break; + } + continue; + end_IL_0451: + break; + } + } + } + finally + { + num3 = ((colorDisposable == null) ? (-222793051) : (-222793050)); + while (true) + { + int num32 = num3; + num5 = -222793049; + num6 = num32; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num3 = -222793050; + break; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable); + num3 = -222793051; + break; + case 2: + goto end_IL_04be; + } + continue; + end_IL_04be: + break; + } + } + } + finally + { + num3 = ((idDisposable == null) ? 1606233094 : 1606233093); + while (true) + { + int num33 = num3; + num5 = 1606233095; + num6 = num33; + int num34 = num6 + num5; + int num35 = num6 & num5; + switch (num34 - (num35 + num35)) + { + case 1: + goto end_IL_0529; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)idDisposable); + num3 = 1606233094; + break; + case 0: + num3 = 1606233093; + break; + } + continue; + end_IL_0529: + break; + } + } + int num36 = num9; + num5 = 1; + num6 = num36; + num9 = (num6 | num5) + (num6 & num5); + span[num36] = num2; + int num37 = 0; + num3 = 958295142; + while (true) + { + int num38 = num3; + num5 = 958295141; + num6 = num38; + switch ((num6 | num5) - (num6 & num5)) + { + case 0: + num3 = 958295142; + break; + case 1: + { + imDrawListPtr.AddRectFilled(new Vector2(x3, span[num37]), new Vector2(x3 + x, span[num37] + 2f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentDimColor)); + int num39 = num37; + num5 = 1; + num6 = num39; + num37 = (num6 | num5) + (num6 & num5); + num3 = 958295142; + break; + } + case 3: + num3 = ((num37 < num9) ? 958295140 : 958295143); + break; + case 2: + imDrawListPtr.AddRectFilled(new Vector2(x4, num), new Vector2(x5, num + 2f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentColor)); + _200E_202D_200C_206E_200B_206A_200E_206F_200F_200C_200D_202D_200D_200E_200B_206E_206C_206F_202D_202C_206E_200D_206B_206B_206C_206B_202D_202E_206D_202B_202D_202C_206E_206E_200C_200F_206F_206C_202C_206A_202E(); + return result; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static bool IconButton(FontAwesomeIcon icon, float size) + { + ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + Vector2 vector = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E(); + ImU8String imU8String = new ImU8String(2, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(604327994)); + imU8String.AppendFormatted(icon); + bool result = _206C_200D_206F_206B_202E_202C_200E_202B_202A_206B_200F_200D_206E_202A_206F_202C_202E_206D_200E_202C_200F_200C_206B_206A_206E_206D_206A_200E_200D_206C_202C_202C_202C_206F_202E_206E_202E_202A_206E_206B_202E(imU8String, new Vector2(size, size)); + string text = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(icon); + ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true); + Vector2 vector2; + try + { + vector2 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f); + } + finally + { + int num = ((fontDisposable == null) ? 1966347384 : 1966347387); + while (true) + { + int num2 = num; + int num3 = 1966347385; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1966347387; + break; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable); + num = 1966347384; + break; + case 1: + goto end_IL_0088; + } + continue; + end_IL_0088: + break; + } + } + uint col = _202B_206B_202C_206F_200F_202C_200C_200E_202B_200E_200D_206F_200C_200B_206E_206C_200D_206B_202E_206E_200F_200C_200D_206F_200D_200F_206D_200C_206E_202C_200E_200F_200C_200D_206D_202C_202A_200C_200D_202B_202E(ImGuiCol.Text); + float x = vector.X + (size - vector2.X) / 2f; + float y = vector.Y + (size - vector2.Y) / 2f; + imDrawListPtr.AddText(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E(), new Vector2(x, y), col, text); + return result; + } + + public static bool IconTextButton(FontAwesomeIcon icon, string text) + { + string text2 = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(icon); + ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true); + Vector2 vector; + try + { + vector = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text2, false, -1f); + } + finally + { + int num = ((fontDisposable == null) ? (-1536648818) : (-1536648819)); + while (true) + { + int num2 = num; + int num3 = -1536648817; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1536648819; + break; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable); + num = -1536648818; + break; + case 1: + goto end_IL_004a; + } + continue; + end_IL_004a: + break; + } + } + Vector2 vector2 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f); + float num5 = 6f; + float width = vector.X + num5 + vector2.X + 2f * _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().FramePadding.X; + return IconTextButton(icon, text, width); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static bool IconTextButton(FontAwesomeIcon icon, string text, float width) + { + ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E(); + Vector2 vector = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E(); + float y = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E(); + ImU8String imU8String = new ImU8String(2, 1); + imU8String.AppendLiteral(global::_003CModule_003E._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(1426082020)); + imU8String.AppendFormatted(text); + bool result = _206C_200D_206F_206B_202E_202C_200E_202B_202A_206B_200F_200D_206E_202A_206F_202C_202E_206D_200E_202C_200F_200C_206B_206A_206E_206D_206A_200E_200D_206C_202C_202C_202C_206F_202E_206E_202E_202A_206E_206B_202E(imU8String, new Vector2(width, y)); + string text2 = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(icon); + ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true); + Vector2 vector2; + try + { + vector2 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text2, false, -1f); + } + finally + { + int num = ((fontDisposable == null) ? 436293026 : 436293025); + while (true) + { + int num2 = num; + int num3 = 436293027; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 436293025; + break; + case 1: + goto end_IL_0090; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable); + num = 436293026; + break; + } + continue; + end_IL_0090: + break; + } + } + Vector2 vector3 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f); + float num5 = 6f; + float num6 = vector2.X + num5 + vector3.X; + float num7 = vector.X + (width - num6) / 2f; + float y2 = vector.Y + _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().FramePadding.Y; + uint col = _202B_206B_202C_206F_200F_202C_200C_200E_202B_200E_200D_206F_200C_200B_206E_206C_200D_206B_202E_206E_200F_200C_200D_206F_200D_200F_206D_200C_206E_202C_200E_200F_200C_200D_206D_202C_202A_200C_200D_202B_202E(ImGuiCol.Text); + imDrawListPtr.AddText(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E(), new Vector2(num7, y2), col, text2); + imDrawListPtr.AddText(new Vector2(num7 + vector2.X + num5, y2), col, text); + return result; + } + + public static bool PillButton(string label, bool selected) + { + float num = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E() * 0.5f; + Vector2 framePadding = _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().FramePadding; + ImRaii.StyleDisposable styleDisposable = _206D_202C_202C_206B_202A_202A_200C_200E_200E_206F_206B_206C_200B_206B_206D_202D_200C_200D_200C_206F_202C_202B_206A_202C_200E_206D_200B_206E_202E_206B_206F_206C_200C_200C_206C_200D_202A_202B_200B_200E_202E(ImGuiStyleVar.FrameRounding, num, true); + try + { + ImRaii.StyleDisposable styleDisposable2 = _206C_200B_200D_200C_206E_202D_206B_202C_206D_200C_206A_200B_206E_206B_200B_206B_206D_206C_206C_206B_206D_202E_202B_206F_202B_206D_206E_202A_200D_206D_206D_200D_202B_202A_206A_206D_206E_202A_202A_202E(ImGuiStyleVar.FramePadding, new Vector2(framePadding.X * 2f, framePadding.Y), true); + try + { + ImRaii.StyleDisposable styleDisposable3 = _206D_202C_202C_206B_202A_202A_200C_200E_200E_206F_206B_206C_200B_206B_206D_202D_200C_200D_200C_206F_202C_202B_206A_202C_200E_206D_200B_206E_202E_206B_206F_206C_200C_200C_206C_200D_202A_202B_200B_200E_202E(ImGuiStyleVar.FrameBorderSize, selected ? 1f : 0f, true); + try + { + ImRaii.ColorDisposable colorDisposable = _202A_200D_206C_206A_206B_202B_202A_202B_206F_206D_206A_206F_206E_200C_202D_206E_202C_202D_206D_200C_202B_200F_202B_206B_206D_206C_206D_200D_200C_206D_202E_200F_206B_200D_202B_200C_206F_202C_202E_200F_202E(); + try + { + int num2 = ((!selected) ? 289400424 : 289400427); + while (true) + { + int num3 = num2; + int num4 = 289400425; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 1: + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.Button, Vector4.Zero, true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.ButtonHovered, SubtleHoverColor, true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.ButtonActive, SubtlePressColor, true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.Text, MutedTextColor, true); + num2 = 289400426; + break; + case 2: + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.Button, new Vector4(0.55f, 0.35f, 0.8f, 0.3f), true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.ButtonHovered, new Vector4(0.55f, 0.35f, 0.8f, 0.4f), true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.ButtonActive, new Vector4(0.55f, 0.35f, 0.8f, 0.5f), true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.Border, CardBorderColor, true); + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.Text, AccentColor, true); + num2 = 289400426; + break; + case 0: + num2 = 289400427; + break; + case 3: + return _206C_200D_206F_206B_202E_202C_200E_202B_202A_206B_200F_200D_206E_202A_206F_202C_202E_206D_200E_202C_200F_200C_206B_206A_206E_206D_206A_200E_200D_206C_202C_202C_202C_206F_202E_206E_202E_202A_206E_206B_202E((ImU8String)label, default(Vector2)); + } + } + } + finally + { + int num2 = ((colorDisposable == null) ? (-1700815628) : (-1700815627)); + while (true) + { + int num8 = num2; + int num4 = -1700815628; + int num5 = num8; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = -1700815627; + break; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable); + num2 = -1700815628; + break; + case 0: + goto end_IL_01e8; + } + continue; + end_IL_01e8: + break; + } + } + } + finally + { + int num2 = ((styleDisposable3 == null) ? 104724671 : 104724668); + while (true) + { + int num9 = num2; + int num4 = 104724670; + int num5 = num9; + int num10 = num5 + num4; + int num11 = num5 & num4; + switch (num10 - (num11 + num11)) + { + case 0: + num2 = 104724668; + break; + case 1: + goto end_IL_0253; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)styleDisposable3); + num2 = 104724671; + break; + } + continue; + end_IL_0253: + break; + } + } + } + finally + { + int num2 = ((styleDisposable2 == null) ? (-1830419469) : (-1830419470)); + while (true) + { + int num12 = num2; + int num4 = -1830419469; + int num5 = num12; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = -1830419470; + break; + case 0: + goto end_IL_02bf; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)styleDisposable2); + num2 = -1830419469; + break; + } + continue; + end_IL_02bf: + break; + } + } + } + finally + { + int num2 = ((styleDisposable == null) ? 1138450126 : 1138450127); + while (true) + { + int num13 = num2; + int num4 = 1138450126; + int num5 = num13; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num2 = 1138450127; + break; + case 0: + goto end_IL_0328; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)styleDisposable); + num2 = 1138450126; + break; + } + continue; + end_IL_0328: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static bool DestructiveButton(FontAwesomeIcon icon, string label) + { + ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Button, new Vector4(0.55f, 0.2f, 0.2f, 0.45f), true); + bool result; + int num; + try + { + _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.ButtonHovered, new Vector4(0.7f, 0.25f, 0.25f, 0.65f), true); + ImRaii.DisabledDisposable disabledDisposable = _202E_206C_206B_206A_202A_206B_202D_202A_200F_206D_206B_200D_200D_206E_202C_200D_200F_206B_202C_202C_206C_200C_206B_200C_206F_206D_206A_200E_200D_202A_206C_206D_202D_200C_202A_206C_200B_206D_200E_202E_202E(!_200B_200B_200D_200F_200D_200B_200D_202E_202C_200E_200C_200B_200F_200D_206F_200F_206D_206A_200F_200F_200D_206C_200E_206B_206D_202E_202E_202D_200E_206C_202C_206F_202E_206D_206D_200F_206E_202C_206F_200D_202E(ImGuiKey.ModCtrl)); + try + { + result = IconTextButton(icon, label); + } + finally + { + num = ((disabledDisposable == null) ? 217085840 : 217085843); + while (true) + { + int num2 = num; + int num3 = 217085841; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + goto end_IL_0081; + case 2: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)disabledDisposable); + num = 217085840; + break; + case 0: + num = 217085843; + break; + } + continue; + end_IL_0081: + break; + } + } + } + finally + { + num = ((colorDisposable == null) ? 269409889 : 269409890); + while (true) + { + int num5 = num; + int num3 = 269409891; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_00e5; + case 1: + _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable); + num = 269409889; + break; + case 0: + num = 269409890; + break; + } + continue; + end_IL_00e5: + break; + } + } + num = ((!_202E_200E_200C_200D_202A_202B_202E_206A_206C_202E_200B_206F_200D_206E_202E_200E_200C_206C_206E_200F_206B_200D_200D_200C_202D_202D_206B_200C_206A_202A_200E_200F_200D_202E_206F_200D_206F_202D_202E_206F_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? 172403267 : 172403266); + while (true) + { + int num6 = num; + int num3 = 172403267; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 172403266; + break; + case 1: + _206B_202D_206E_202E_200D_206D_202E_206E_206F_200E_202B_206B_202E_206E_202D_200E_200C_206E_202A_202E_202D_200F_202A_200D_202D_206A_200E_202C_206E_202B_206E_200E_206C_206E_206C_206C_202B_206A_206F_200E_202E((ImU8String)global::_003CModule_003E._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(-136942055)); + num = 172403267; + break; + case 0: + return result; + } + } + } + + public static string CleanSeString(string text) + { + int num = ((!_202B_200F_206E_202D_200E_202B_202B_206C_206E_202B_200C_206B_202C_206A_200E_200F_202D_202C_206C_202B_202B_202E_200B_202D_202C_206A_206E_206A_202B_206D_206B_202A_200E_206A_206B_206E_200D_200E_202D_200E_202E(text)) ? 1734351049 : 1734351052); + char c = default(char); + StringBuilder stringBuilder = default(StringBuilder); + string text2 = default(string); + int num5 = default(int); + while (true) + { + int num2 = num; + int num3 = 1734351055; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 11: + num = ((c == '\n') ? 1734351045 : 1734351053); + break; + case 6: + stringBuilder = _202E_206A_206F_206B_200D_206B_200E_202B_200D_200E_206C_200B_206A_200D_206F_202A_200E_200B_202A_202A_202E_206A_202B_206B_206A_202C_200E_206F_206F_202A_206C_206C_202A_206D_202C_202A_200E_200D_200B_202B_202E(_206C_202D_206C_200C_202E_206B_206B_202A_206C_206A_200F_206D_202D_202A_202C_200F_202E_202B_206B_202E_206D_206C_206E_206F_206D_202A_206C_200B_202A_200F_206A_200E_202C_200E_206D_202D_206F_200F_206F_206A_202E(text)); + text2 = text; + num5 = 0; + num = 1734351051; + break; + case 3: + return text; + case 1: + c = _206C_206C_200C_200F_202D_202E_206A_206A_206D_206B_202C_202A_206E_206C_200F_202D_202C_202D_206D_200B_206B_206E_202D_206A_202C_200D_206C_200B_206C_202C_206F_206E_202B_206B_200C_200E_200B_200D_200E_206A_202E(text2, num5); + num = ((c < '\ue000') ? 1734351048 : 1734351047); + break; + case 10: + _200F_202D_206D_206A_200F_206D_206F_202C_202A_206A_202C_206B_206D_200C_206A_206C_206F_202A_200F_206F_206E_206F_206B_202A_200C_200F_206A_200C_202A_206E_202A_206E_200B_200D_206F_202B_202C_206E_202C_200C_202E(stringBuilder, c); + num = 1734351046; + break; + case 7: + num = ((c >= ' ') ? 1734351045 : 1734351044); + break; + case 8: + num = ((c <= '\uf8ff') ? 1734351046 : 1734351048); + break; + case 4: + num = ((num5 < _206C_202D_206C_200C_202E_206B_206B_202A_206C_206A_200F_206D_202D_202A_202C_200F_202E_202B_206B_202E_206D_206C_206E_206F_206D_202A_206C_200B_202A_200F_206A_200E_202C_200E_206D_202D_206F_200F_206F_206A_202E(text2)) ? 1734351054 : 1734351050); + break; + case 12: + num = 1734351052; + break; + case 5: + return _206D_200D_202E_200E_202D_202B_206E_200D_200B_202C_202C_206A_202C_200B_200D_202E_206A_202B_202E_206E_200C_202C_200C_202E_202C_202A_206B_202B_202A_202A_206C_206D_202E_200D_200C_200B_200E_200F_200C_202A_202E(_206D_200F_206A_206B_200E_206E_200F_202E_200E_200D_206A_200C_200E_206D_200F_200C_206F_202A_200F_206F_200D_206A_206C_206B_206E_202D_206F_206A_200E_206E_206A_200C_202E_206F_206D_206B_206B_206A_200B_206E_202E((object)stringBuilder)); + case 0: + num = ((c != '\t') ? 1734351046 : 1734351045); + break; + case 9: + { + int num6 = num5; + num3 = 1; + num4 = num6; + int num7 = num4 ^ num3; + int num8 = num4 & num3; + num5 = num7 + (num8 + num8); + num = 1734351051; + break; + } + case 2: + num = ((c == '\r') ? 1734351045 : 1734351055); + break; + } + } + } + + 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 = _202E_206B_202E_200F_206D_206A_202D_206E_200F_200F_200C_206E_200B_200E_200F_206C_200E_200C_206D_206D_200C_200C_206E_200E_202A_206C_206F_200D_200D_206E_206D_202C_202B_206C_206E_206D_206E_202C_200D_200E_202E(); + StatusActive = _200C_206F_200B_200F_206A_206C_202C_200E_206F_200C_200B_200C_206E_200D_202A_200C_206B_206B_206C_206B_206F_206F_202D_200C_202E_202D_200E_200F_200C_206E_202A_202E_202D_202E_200E_202C_200B_200E_202D_206A_202E(); + StatusAvailable = _200C_206F_200B_200F_206A_206C_202C_200E_206F_200C_200B_200C_206E_200D_202A_200C_206B_206B_206C_206B_206F_206F_202D_200C_202E_202D_200E_200F_200C_206E_202A_202E_202D_202E_200E_202C_200B_200E_202D_206A_202E(); + StatusAvailableComplete = _202E_200E_200C_206D_202E_206E_202C_206B_202A_200D_202B_206F_202A_202A_202E_206A_202A_202C_206E_202E_206C_206E_206E_206B_206B_202C_200E_200D_206B_200F_206C_200F_206D_206A_200E_202D_206A_200C_200C_206C_202E(); + StatusLocked = _202C_206D_206B_202B_202C_206E_200D_206D_206E_202D_206E_202D_200F_206C_200E_200B_200C_202B_206E_206C_202A_202E_200F_202A_206C_200C_206E_202A_202B_206A_200B_202B_202D_202E_202E_202C_202B_202C_206B_206D_202E(); + StatusUnobtainable = _200D_206A_200D_206C_206E_200E_206E_202D_206B_206B_206A_200F_206A_200F_206F_206C_202E_200D_206A_206B_202A_200F_206E_206F_202E_200B_200E_206D_206C_202D_206A_200E_202B_206B_206A_200E_206A_206E_202C_202A_202E(); + StatusBlacklisted = _200F_200C_206D_206B_200F_202C_206F_206D_206F_202D_206F_200D_202E_206D_202E_200D_200E_202A_206C_202B_200C_202E_202B_206B_202D_200D_202A_206D_200E_206B_206F_206E_202D_200B_202A_206C_202A_202E_202A_200E_202E(); + Ellipsis = _206F_202C_200E_202E_206A_206F_206A_200E_202A_202E_200C_206A_206E_206B_200F_202B_206C_202E_200B_202E_200F_202B_202B_200D_206B_206E_202E_200E_202A_202B_200D_206C_206C_206D_200F_200D_200F_202A_202D_200D_202E((SeIconChar)57434); + } + + static float _202D_200B_200D_202B_202D_206D_200D_206C_206B_200D_200B_206C_206D_200C_202E_206D_206C_200B_202B_202D_200D_200F_200C_202E_200E_202A_206C_206A_206D_202D_200C_202E_206F_206C_206E_202C_200D_206B_206B_200C_202E() + { + return ImGui.GetCursorPosX(); + } + + static Vector2 _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E() + { + return ImGui.GetContentRegionAvail(); + } + + static void _202C_200D_202A_206C_200E_202C_200B_200B_202A_206B_202E_202C_202C_200D_206B_202D_200D_206B_202B_206E_206D_202C_200E_202A_202D_206A_206C_202C_202A_200D_202A_200B_200E_206B_202B_200F_202E_202B_200C_200F_202E(float P_0) + { + ImGui.PushTextWrapPos(P_0); + } + + static void _200E_202A_206A_200E_206E_206E_206B_206B_206B_206C_206F_202A_200E_206A_200C_200E_202E_202C_206C_200E_206D_202C_200F_200C_206E_200D_200E_202D_206D_206A_200E_200B_202B_206E_206E_206B_200C_202A_206B_200C_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static void _200C_200C_206E_200B_200E_202C_200E_206D_206C_202C_200D_202C_200D_206B_202C_206D_202D_206C_200E_202D_206A_206B_206D_202C_200C_206A_202D_200E_200E_200B_206C_202B_200D_200F_206D_202A_202C_200B_202E_202A_202E() + { + ImGui.PopTextWrapPos(); + } + + static ImRaii.ColorDisposable _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol P_0, Vector4 P_1, bool P_2) + { + return ImRaii.PushColor(P_0, P_1, P_2); + } + + static void _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _202B_200F_206E_202D_200E_202B_202B_206C_206E_202B_200C_206B_202C_206A_200E_200F_202D_202C_206C_202B_202B_202E_200B_202D_202C_206A_206E_206A_202B_206D_206B_202A_200E_206A_206B_206E_200D_200E_202D_200E_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static Vector2 _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E(ImU8String P_0, bool P_1, float P_2) + { + return ImGui.CalcTextSize(P_0, P_1, P_2); + } + + static int _206C_202D_206C_200C_202E_206B_206B_202A_206C_206A_200F_206D_202D_202A_202C_200F_202E_202B_206B_202E_206D_206C_206E_206F_206D_202A_206C_200B_202A_200F_206A_200E_202C_200E_206D_202D_206F_200F_206F_206A_202E(string P_0) + { + return P_0.Length; + } + + static ReadOnlySpan _200D_202A_202C_200D_202E_202D_200E_200D_200C_202A_202A_202C_202E_202D_202A_206E_206F_200E_206C_206D_202A_206D_200F_202E_206E_200D_206A_202B_200D_206D_200F_200E_200F_202C_200E_206C_202A_206D_200F_200D_202E(string P_0, int P_1, int P_2) + { + return P_0.AsSpan(P_1, P_2); + } + + static ReadOnlySpan _202B_206B_206C_206C_206F_206A_206D_200F_206C_202D_206A_206C_206A_206C_202C_202D_200F_206F_200B_200C_202C_200B_202D_202B_200E_202A_200D_200B_206C_202E_206F_202E_200D_200E_206E_202C_202A_200F_200B_202C_202E(string P_0) + { + return P_0.AsSpan(); + } + + static string _206E_200E_206F_206F_202C_202E_200E_200B_202E_200F_202E_202C_206E_206D_206E_200C_206D_206D_206C_200F_206C_202A_202B_200D_200B_202A_202D_202E_206B_200B_200F_200C_206E_202D_202C_200F_200B_202B_206C_202D_202E(ReadOnlySpan P_0, ReadOnlySpan P_1) + { + return string.Concat(P_0, P_1); + } + + static Vector2 _202E_200D_200E_206B_206E_206C_200D_200B_200B_206A_206B_200E_202B_206C_206B_200B_206F_206B_202B_206A_206E_206D_200C_200E_200D_200C_202E_206C_202E_206B_200B_200C_200E_200B_206C_200B_206D_200B_202E_200C_202E() + { + return ImGui.GetCursorPos(); + } + + static ImDrawListPtr _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E() + { + return ImGui.GetWindowDrawList(); + } + + static void _202C_206B_206B_206D_202D_200B_202A_206E_206D_206A_206C_206E_202C_202A_206C_206B_200F_200B_206E_200F_206E_206D_206A_206E_202A_206D_202D_202B_200F_200B_206A_200B_200E_206A_202B_200C_206A_206B_202D_206E_202E(float P_0) + { + ImGui.Indent(P_0); + } + + static void _200C_202C_206A_206D_202C_202C_200F_202A_206F_202A_200B_202D_200C_200B_206F_200F_206E_206E_200B_202D_200D_202A_206F_202B_206E_202A_200C_206A_206E_200E_202E_200B_206E_202A_202E_200D_202C_206F_206F_202D_202E(float P_0) + { + ImGui.SetCursorPosY(P_0); + } + + static void _206F_206F_200B_200D_202B_200D_206D_202C_200E_202E_200F_202E_200E_200E_202B_206A_200C_206B_206A_200E_202B_202B_202E_202E_206A_202B_202E_200B_206F_206C_202D_206A_200C_200E_202D_206D_200C_202D_202C_202A_202E(float P_0) + { + ImGui.PushItemWidth(P_0); + } + + static void _206F_206E_202B_206D_202E_200D_200E_206A_202D_202C_202E_206A_200C_202C_206E_200C_202C_200F_206F_206A_200F_200F_202E_202A_202D_200E_202C_206A_202E_206B_202E_200E_206B_206C_202E_206D_206B_206A_200B_206B_202E() + { + ImGui.PopItemWidth(); + } + + static void _206B_206A_206E_202D_206A_202C_206C_206B_206D_206C_206B_202A_206A_206A_202C_206B_202E_202B_206B_202B_200C_206D_202E_202C_206D_202D_206C_200B_200B_200D_200D_202E_200C_202A_206B_200B_200B_202D_200F_202A_202E(float P_0) + { + ImGui.Unindent(P_0); + } + + static void _202C_206B_206D_206E_200D_206D_202C_206A_206A_206D_206C_202A_200E_206E_206B_202D_206C_200E_200C_202E_200C_200B_206B_200E_206E_200B_206B_202E_202B_200E_200B_206F_206D_206F_202C_200D_200D_200B_206E_200E_202E(Vector2 P_0) + { + ImGui.SetCursorPos(P_0); + } + + static Vector2 _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E() + { + return ImGui.GetCursorScreenPos(); + } + + static uint _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(Vector4 P_0) + { + return ImGui.ColorConvertFloat4ToU32(P_0); + } + + static ImRaii.TableDisposable _200B_200D_202A_206F_200D_206B_202A_202D_200E_202C_206C_206E_202B_202D_200C_200E_202D_206B_206E_200E_200C_202C_206E_202D_202E_206E_200B_202D_200E_200D_206B_200C_200C_206C_202B_206D_202E_206A_206D_202B_202E(ImU8String P_0, int P_1, ImGuiTableFlags P_2) + { + return ImRaii.Table(P_0, P_1, P_2); + } + + static float _200D_202A_202B_200C_206C_206C_200C_200D_206A_206C_202E_206C_202B_206C_200D_206A_200B_200E_202D_206A_200B_206D_206D_206D_202D_200D_202C_202E_206D_206B_200C_206F_206C_200B_202A_206F_206C_200B_200C_202E() + { + return ImGui.GetTextLineHeight(); + } + + static void _202D_200B_200D_206E_206D_200B_202A_206E_206A_200E_202C_206A_202D_202A_200C_206C_206E_206E_202A_206A_202A_202D_202C_206A_206F_200F_206D_202A_202B_200F_200E_200D_200D_206D_206F_202E_206A_202A_202D_202B_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static void _206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static float _202C_200C_200C_200C_206E_202E_202E_202E_200E_206C_206B_206E_200F_200E_202D_202D_202A_200C_206A_202C_206A_206B_200D_200E_206E_200F_200F_206F_200B_206C_202B_200B_206A_202A_206F_202D_206B_200C_202C_206B_202E() + { + return ImGui.GetCursorPosY(); + } + + static void _200E_202D_200C_206E_200B_206A_200E_206F_200F_200C_200D_202D_200D_200E_200B_206E_206C_206F_202D_202C_206E_200D_206B_206B_206C_206B_202D_202E_206D_202B_202D_202C_206E_206E_200C_200F_206F_206C_202C_206A_202E() + { + ImGui.Spacing(); + } + + static float _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E() + { + return ImGui.GetFontSize(); + } + + static string _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static ImFontPtr _206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E() + { + return UiBuilder.IconFont; + } + + static ImRaii.FontDisposable _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(ImFontPtr P_0, bool P_1) + { + return ImRaii.PushFont(P_0, P_1); + } + + static float _206D_202B_202D_200F_206A_200D_206E_206C_202C_206B_200E_206B_206B_206C_206B_200E_202C_206C_202A_206F_206E_200E_202A_202A_200B_206F_202C_200C_206E_206D_206F_202E_200F_206B_206D_202E_206E_200C_200C_202C_202E(float P_0, float P_1) + { + return MathF.Max(P_0, P_1); + } + + static void _206E_202D_200E_206B_202E_202E_206A_206E_200B_202A_202D_206E_202B_206F_202A_202C_202C_206E_200C_200C_202D_200E_202A_200C_200B_202E_200D_206B_206F_200C_206A_200C_206A_206A_200D_200D_202E_202C_200C_206E_202E(Vector2 P_0) + { + ImGui.Dummy(P_0); + } + + static ImFontPtr _200B_200B_206B_206E_202A_202A_206C_206C_200D_206A_206F_206C_200C_206A_206E_206B_206A_206E_202B_200B_206D_200E_206C_200F_206E_200B_202B_202C_202C_200D_200E_202D_200F_206F_206E_206A_202C_202E_202E_206B_202E() + { + return UiBuilder.MonoFont; + } + + static void _206D_202E_202C_206C_206B_200C_200D_206C_206E_200C_202E_202E_206D_200C_200F_202C_202B_200E_200C_206A_206E_202D_206F_200B_200E_200D_200E_202B_206F_202D_202B_206D_206B_200C_200E_206A_206F_200D_206F_200F_202E(ImFontPtr P_0) + { + ImGui.PushFont(P_0); + } + + static void _200E_200D_200C_200E_200D_202E_206B_206A_200F_202E_200F_206D_200E_200B_200B_206E_200E_206A_202C_200B_202B_202B_206A_202B_200D_200D_200D_202C_206C_202E_206B_202B_206D_206A_206F_200B_202D_202B_200F_206F_202E() + { + ImGui.PopFont(); + } + + static void _206F_202A_202E_202B_200E_202E_206A_200C_202C_200D_202A_200B_206F_202A_206F_200B_202D_200C_206C_200C_202E_200E_202E_206C_202B_200D_202C_202D_200D_206A_202A_200E_202B_206D_200F_206E_206E_206A_206F_200E_202E(ImGuiTableBgTarget P_0, uint P_1) + { + ImGui.TableSetBgColor(P_0, P_1); + } + + static IDisposable _206B_206B_206D_206A_200E_202C_206C_206F_206E_200B_206F_200E_200D_200C_206B_206C_202C_202A_200D_206E_206F_206F_202B_206C_202E_206B_206A_200D_206B_200B_200C_202A_202A_206F_200E_206F_200B_206D_206B_202E_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static float _200E_202A_206E_200F_202C_200C_200B_200F_206F_206F_206E_202E_200D_200D_202C_200E_200B_206D_206A_200E_200F_202C_206A_202C_200D_206A_202B_200E_206A_202C_206F_200B_202E_206E_202A_206D_202E_206C_206D_206E_202E() + { + return ImGui.GetTextLineHeightWithSpacing(); + } + + static ImRaii.IdDisposable _200D_200F_206C_202D_206B_206F_206E_206E_202D_202C_202E_202B_202D_206E_202B_200E_206C_202B_202D_200E_200B_206F_202B_200E_200B_200C_202A_202A_202C_200C_206A_206F_200E_202C_200F_206F_200D_206E_200C_202D_202E(ImU8String P_0, bool P_1) + { + return ImRaii.PushId(P_0, P_1); + } + + static float _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E() + { + return ImGui.GetFrameHeight(); + } + + static ImRaii.ColorDisposable _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(ImRaii.ColorDisposable P_0, ImGuiCol P_1, Vector4 P_2, bool P_3) + { + return P_0.Push(P_1, P_2, P_3); + } + + static bool _200C_206D_206C_202B_206F_202B_206B_200F_200F_202B_200D_206C_206D_202A_200F_200E_202A_206C_202A_200F_200B_200E_206B_206A_202B_200B_206C_200D_206C_200E_206A_202D_200F_206C_206A_200F_206E_200C_200E_200D_202E(ImU8String P_0, bool P_1, ImGuiSelectableFlags P_2, Vector2 P_3) + { + return ImGui.Selectable(P_0, P_1, P_2, P_3); + } + + static bool _200B_202A_202D_206F_206A_200F_206A_206C_200F_202A_202B_202D_200D_200E_202A_206A_206D_206E_202A_206C_200E_206D_202A_206E_202B_200E_202A_206F_206B_202C_206D_200F_206F_206A_200C_200E_202A_206A_206C_202E_202E() + { + return ImGui.IsItemHovered(); + } + + static Vector2 _202B_200E_200C_206B_206B_206C_206E_206E_200D_206A_200E_206C_206C_200D_206B_206D_200D_206F_200E_206D_206D_202A_206A_200E_200B_200F_200C_206B_206C_202B_200D_206B_202D_206F_202E_206C_206D_202D_200F_202C_202E() + { + return ImGui.GetItemRectMin(); + } + + static Vector2 _200E_202B_202A_206C_206A_206E_206B_206C_200F_200B_206F_200D_200C_206B_202D_200D_200E_202B_206D_200E_202D_202E_200D_202D_200B_206B_200E_202E_200D_206D_200C_206F_200C_202E_206A_206D_206F_200F_206B_206E_202E() + { + return ImGui.GetItemRectMax(); + } + + static ImGuiStylePtr _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E() + { + return ImGui.GetStyle(); + } + + static float _206F_200C_206A_202A_202B_206C_200C_200E_202A_200F_202C_200C_206D_202C_206D_202A_200D_206A_206F_206A_200B_202B_200C_200E_206B_206F_200B_202A_200E_206B_202E_206B_206F_200E_202B_200B_200C_202E_206F_200C_202E(float P_0) + { + return MathF.Truncate(P_0); + } + + static bool _206F_202C_206C_200E_206C_206C_206B_200F_206C_200E_206A_206E_200E_202E_206B_206A_206C_202B_206C_202C_200C_202C_206B_200D_200C_206A_206E_200E_206D_206D_200D_202A_206F_206C_200F_206B_206F_200F_200C_206F_202E(ImU8String P_0, ref bool P_1) + { + return ImGui.Checkbox(P_0, ref P_1); + } + + static void _206D_206A_206D_202E_206E_206F_206F_206B_200F_200F_202A_206E_206C_200F_200D_200B_206D_206F_206E_206A_202C_200F_206A_200D_200C_206D_206A_206C_206A_206A_206C_206D_202E_202B_206F_200F_200D_200E_206E_202A_202E() + { + ImGui.SameLine(); + } + + static void _202E_202B_206B_202E_206E_206A_202E_202A_202B_206C_206E_206D_200C_202A_206D_200C_206A_202E_200D_202C_200F_206B_206C_202E_202A_206F_200E_200B_200C_206C_202C_202E_206A_200C_206E_200D_202E_202A_200F_202C_202E(ImU8String P_0) + { + ImGui.Text(P_0); + } + + static ImRaii.TooltipDisposable _200D_202A_206C_206B_206E_202D_202E_200D_202A_200C_206F_206B_206D_200B_202D_200F_200D_206D_202A_206A_200D_206A_200D_200B_202C_206F_200C_200C_206C_200C_206A_200C_206E_202C_206D_202B_206E_202B_206C_200F_202E() + { + return ImRaii.Tooltip(); + } + + static void _202A_200B_206D_202A_206E_206E_206A_202E_206E_206A_202B_200E_206E_200E_202D_206B_206B_206B_200B_206E_200D_202E_206D_200D_206E_206F_202C_206B_200F_206E_200C_200F_202D_200C_200B_202E_202C_202B_200D_206B_202E(float P_0) + { + ImGui.SameLine(P_0); + } + + static void _202E_202A_202C_206B_200E_200F_200E_206F_206C_202C_202A_202C_206D_202C_200B_202E_200E_202A_202D_200C_206B_200C_200B_206B_206E_200F_202E_206A_202C_206E_206C_202C_200B_200E_206F_206A_202C_202C_206C_206E_202E(float P_0) + { + ImGui.SetNextItemWidth(P_0); + } + + static bool _200D_206B_202B_200D_206F_206E_200B_202B_200F_206E_202D_206A_206D_206F_200F_206F_200C_206A_202E_206E_206E_200F_202C_206A_202A_202B_206A_202D_206C_200F_200C_206D_200F_206E_200C_200B_202A_206F_200F_206A_202E(ImU8String P_0, ImU8String P_1, ref string P_2, int P_3, ImGuiInputTextFlags P_4, ImGui.ImGuiInputTextCallbackDelegate P_5) + { + return ImGui.InputTextWithHint(P_0, P_1, ref P_2, P_3, P_4, P_5); + } + + static bool _202C_206B_206D_206D_202D_202A_202D_202D_202D_202E_202C_200C_200E_200C_202C_200D_206D_200C_200E_206A_202B_202C_200D_206B_200F_202D_200C_202E_202B_206C_200B_206D_200C_206A_200D_200C_200C_200F_202A_200D_202E(ImU8String P_0, ref int P_1, int P_2, int P_3, ImU8String P_4, ImGuiSliderFlags P_5) + { + return ImGui.SliderInt(P_0, ref P_1, P_2, P_3, P_4, P_5); + } + + static bool _200D_202C_206A_200D_200C_200E_200D_202A_202E_202E_200C_206D_206E_202A_200C_200F_200E_200C_202C_202B_202D_206C_202E_202B_206B_200B_202E_202E_202D_206A_206A_202B_206F_206E_206B_206E_202D_202E_202A_206E_202E(ImU8String P_0, ref float P_1, float P_2, float P_3, ImU8String P_4, ImGuiSliderFlags P_5) + { + return ImGui.SliderFloat(P_0, ref P_1, P_2, P_3, P_4, P_5); + } + + static float _202B_202A_202C_200B_200F_206C_206C_206C_202C_206A_200F_206F_206A_200B_206F_200B_202E_206A_200D_200F_202D_202C_200D_206F_206A_206C_202E_200C_206A_206A_202C_202E_206C_202B_206A_206D_202A_202B_206D_200D_202E() + { + return ImGui.CalcItemWidth(); + } + + static bool _206C_206C_200D_202E_200C_206E_200E_206B_206C_200E_200B_200B_206A_202E_206E_202E_206C_206D_200D_202D_200C_206A_202E_206D_206B_206E_200B_202B_200D_202E_202A_206D_206C_200F_200B_200C_200B_202D_206D_202D_202E(ImU8String P_0, ImU8String P_1, ImGuiComboFlags P_2) + { + return ImGui.BeginCombo(P_0, P_1, P_2); + } + + static void _200E_202D_202E_200E_202E_202A_206F_202A_206E_202D_202A_206A_206A_206F_206D_200C_202B_200F_200C_206E_206F_202A_206B_200B_200C_206A_202E_202E_202B_202C_206B_202C_202C_202B_202C_202C_206A_206D_200F_200F_202E() + { + ImGui.SetItemDefaultFocus(); + } + + static void _202C_206B_202D_206E_202D_206D_206B_200D_200E_206D_200F_200C_202C_200B_200F_202E_206E_206F_202D_206A_202A_202D_200E_200D_206C_202E_202B_202A_206D_200E_202B_200C_200C_200D_206B_202B_202D_202B_206E_206E_202E() + { + ImGui.EndCombo(); + } + + static bool _206E_202B_202D_206F_200C_206D_206D_206C_206F_200F_202A_202C_206B_202B_200C_202C_206D_200B_206F_202E_202B_206E_206E_202B_200D_206F_202C_200C_206D_200E_206B_200F_206E_202E_206E_206F_206E_200E_200F_206F_202E() + { + return ImGui.IsWindowAppearing(); + } + + static void _202D_202A_206E_206F_202D_202A_206C_200C_202E_202C_206C_202E_200F_202B_200C_202A_200D_202D_202D_206A_202E_200C_202C_200E_206A_206E_200B_202E_206E_206C_200C_202D_202C_206F_206E_202B_200E_202B_200D_202D_202E() + { + ImGui.SetKeyboardFocusHere(); + } + + static void _202B_202A_202E_206D_200C_206C_200B_206B_202C_200F_200C_200F_202D_200C_202C_200F_206C_202E_206D_202E_202E_202E_202A_200B_202C_206F_202A_206D_202B_202B_206A_202E_200B_200E_202E_200D_202B_200F_200C_202E() + { + ImGui.Separator(); + } + + static bool _206A_206C_202B_206B_202B_206F_202E_206F_200F_202B_202D_202D_206D_202C_200B_200F_202C_202E_206C_202E_206A_200B_202B_202A_206E_200E_202E_206E_202B_206B_206A_200E_202C_202A_202B_202A_206E_202C_200E_206E_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.Contains(P_1, P_2); + } + + static float _206E_200F_200F_200F_200D_200B_202C_200E_202D_202A_200C_202B_202A_206B_200F_206F_202B_206C_200D_200F_202C_200B_202B_200F_200E_206E_206A_202B_200B_200F_206A_202C_206D_206E_202C_206E_206B_202B_206C_202B_202E() + { + return ImGuiHelpers.GlobalScale; + } + + static int _202C_202E_200B_200E_200D_206F_202D_200C_206B_202E_200C_202E_202D_202A_206C_202A_206C_202A_202A_202B_206F_200B_206F_200F_200B_200C_206D_200C_200D_206C_206C_206C_202E_202B_206B_206D_206C_206D_200F_202D_202E(int P_0, int P_1) + { + return Math.Max(P_0, P_1); + } + + static int _200F_200C_206F_202A_202B_206C_206C_206D_202D_206B_206C_200B_206B_200C_202E_206F_206F_206F_206E_206C_206E_206B_202E_202B_202B_206C_206C_202A_202A_200F_206A_206E_202B_202E_202E_202A_200F_206E_206B_202E_202E(int P_0, int P_1, int P_2) + { + return Math.Clamp(P_0, P_1, P_2); + } + + static ImRaii.ChildDisposable _206D_206C_206D_202A_206C_200F_200D_206B_200F_206E_200C_206D_206C_202C_200B_202D_200B_206C_200E_202C_206A_206B_206A_200B_206A_206D_202D_200D_200D_202B_200E_206C_206A_202D_202D_206F_206C_206B_206B_206E_202E(ImU8String P_0, Vector2 P_1) + { + return ImRaii.Child(P_0, P_1); + } + + static void _206B_206C_200E_202E_202B_206A_206B_200D_202E_206F_206F_202A_206F_206C_202A_202E_202C_202D_206A_202A_202C_202D_202E_206D_206F_202E_200F_206D_202D_202B_206D_202A_206B_202E_200C_200E_202C_200F_206B_200C_202E() + { + ImGui.CloseCurrentPopup(); + } + + static bool _206C_200D_206F_206B_202E_202C_200E_202B_202A_206B_200F_200D_206E_202A_206F_202C_202E_206D_200E_202C_200F_200C_206B_206A_206E_206D_206A_200E_200D_206C_202C_202C_202C_206F_202E_206E_202E_202A_206E_206B_202E(ImU8String P_0, Vector2 P_1) + { + return ImGui.Button(P_0, P_1); + } + + static uint _202B_206B_202C_206F_200F_202C_200C_200E_202B_200E_200D_206F_200C_200B_206E_206C_200D_206B_202E_206E_200F_200C_200D_206F_200D_200F_206D_200C_206E_202C_200E_200F_200C_200D_206D_202C_202A_200C_200D_202B_202E(ImGuiCol P_0) + { + return ImGui.GetColorU32(P_0); + } + + static ImRaii.StyleDisposable _206D_202C_202C_206B_202A_202A_200C_200E_200E_206F_206B_206C_200B_206B_206D_202D_200C_200D_200C_206F_202C_202B_206A_202C_200E_206D_200B_206E_202E_206B_206F_206C_200C_200C_206C_200D_202A_202B_200B_200E_202E(ImGuiStyleVar P_0, float P_1, bool P_2) + { + return ImRaii.PushStyle(P_0, P_1, P_2); + } + + static ImRaii.StyleDisposable _206C_200B_200D_200C_206E_202D_206B_202C_206D_200C_206A_200B_206E_206B_200B_206B_206D_206C_206C_206B_206D_202E_202B_206F_202B_206D_206E_202A_200D_206D_206D_200D_202B_202A_206A_206D_206E_202A_202A_202E(ImGuiStyleVar P_0, Vector2 P_1, bool P_2) + { + return ImRaii.PushStyle(P_0, P_1, P_2); + } + + static ImRaii.ColorDisposable _202A_200D_206C_206A_206B_202B_202A_202B_206F_206D_206A_206F_206E_200C_202D_206E_202C_202D_206D_200C_202B_200F_202B_206B_206D_206C_206D_200D_200C_206D_202E_200F_206B_200D_202B_200C_206F_202C_202E_200F_202E() + { + return new ImRaii.ColorDisposable(); + } + + static bool _200B_200B_200D_200F_200D_200B_200D_202E_202C_200E_200C_200B_200F_200D_206F_200F_206D_206A_200F_200F_200D_206C_200E_206B_206D_202E_202E_202D_200E_206C_202C_206F_202E_206D_206D_200F_206E_202C_206F_200D_202E(ImGuiKey P_0) + { + return ImGui.IsKeyDown(P_0); + } + + static ImRaii.DisabledDisposable _202E_206C_206B_206A_202A_206B_202D_202A_200F_206D_206B_200D_200D_206E_202C_200D_200F_206B_202C_202C_206C_200C_206B_200C_206F_206D_206A_200E_200D_202A_206C_206D_202D_200C_202A_206C_200B_206D_200E_202E_202E(bool P_0) + { + return ImRaii.Disabled(P_0); + } + + static bool _202E_200E_200C_200D_202A_202B_202E_206A_206C_202E_200B_206F_200D_206E_202E_200E_200C_206C_206E_200F_206B_200D_200D_200C_202D_202D_206B_200C_206A_202A_200E_200F_200D_202E_206F_200D_206F_202D_202E_206F_202E(ImGuiHoveredFlags P_0) + { + return ImGui.IsItemHovered(P_0); + } + + static void _206B_202D_206E_202E_200D_206D_202E_206E_206F_200E_202B_206B_202E_206E_202D_200E_200C_206E_202A_202E_202D_200F_202A_200D_202D_206A_200E_202C_206E_202B_206E_200E_206C_206E_206C_206C_202B_206A_206F_200E_202E(ImU8String P_0) + { + ImGui.SetTooltip(P_0); + } + + static StringBuilder _202E_206A_206F_206B_200D_206B_200E_202B_200D_200E_206C_200B_206A_200D_206F_202A_200E_200B_202A_202A_202E_206A_202B_206B_206A_202C_200E_206F_206F_202A_206C_206C_202A_206D_202C_202A_200E_200D_200B_202B_202E(int P_0) + { + return new StringBuilder(P_0); + } + + static char _206C_206C_200C_200F_202D_202E_206A_206A_206D_206B_202C_202A_206E_206C_200F_202D_202C_202D_206D_200B_206B_206E_202D_206A_202C_200D_206C_200B_206C_202C_206F_206E_202B_206B_200C_200E_200B_200D_200E_206A_202E(string P_0, int P_1) + { + return P_0[P_1]; + } + + static StringBuilder _200F_202D_206D_206A_200F_206D_206F_202C_202A_206A_202C_206B_206D_200C_206A_206C_206F_202A_200F_206F_206E_206F_206B_202A_200C_200F_206A_200C_202A_206E_202A_206E_200B_200D_206F_202B_202C_206E_202C_200C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206D_200F_206A_206B_200E_206E_200F_202E_200E_200D_206A_200C_200E_206D_200F_200C_206F_202A_200F_206F_200D_206A_206C_206B_206E_202D_206F_206A_200E_206E_206A_200C_202E_206F_206D_206B_206B_206A_200B_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static string _206D_200D_202E_200E_202D_202B_206E_200D_200B_202C_202C_206A_202C_200B_200D_202E_206A_202B_202E_206E_200C_202C_200C_202E_202C_202A_206B_202B_202A_202A_206C_206D_202E_200D_200C_200B_200E_200F_200C_202A_202E(string P_0) + { + return P_0.Trim(); + } + + static Vector4 _202E_206B_202E_200F_206D_206A_202D_206E_200F_200F_200C_206E_200B_200E_200F_206C_200E_200C_206D_206D_200C_200C_206E_200E_202A_206C_206F_200D_200D_206E_206D_202C_202B_206C_206E_206D_206E_202C_200D_200E_202E() + { + return ImGuiColors.ParsedGreen; + } + + static Vector4 _200C_206F_200B_200F_206A_206C_202C_200E_206F_200C_200B_200C_206E_200D_202A_200C_206B_206B_206C_206B_206F_206F_202D_200C_202E_202D_200E_200F_200C_206E_202A_202E_202D_202E_200E_202C_200B_200E_202D_206A_202E() + { + return ImGuiColors.DalamudYellow; + } + + static Vector4 _202E_200E_200C_206D_202E_206E_202C_206B_202A_200D_202B_206F_202A_202A_202E_206A_202A_202C_206E_202E_206C_206E_206E_206B_206B_202C_200E_200D_206B_200F_206C_200F_206D_206A_200E_202D_206A_200C_200C_206C_202E() + { + return ImGuiColors.ParsedBlue; + } + + static Vector4 _202C_206D_206B_202B_202C_206E_200D_206D_206E_202D_206E_202D_200F_206C_200E_200B_200C_202B_206E_206C_202A_202E_200F_202A_206C_200C_206E_202A_202B_206A_200B_202B_202D_202E_202E_202C_202B_202C_206B_206D_202E() + { + return ImGuiColors.DalamudRed; + } + + static Vector4 _200D_206A_200D_206C_206E_200E_206E_202D_206B_206B_206A_200F_206A_200F_206F_206C_202E_200D_206A_206B_202A_200F_206E_206F_202E_200B_200E_206D_206C_202D_206A_200E_202B_206B_206A_200E_206A_206E_202C_202A_202E() + { + return ImGuiColors.DalamudGrey; + } + + static Vector4 _200F_200C_206D_206B_200F_202C_206F_206D_206F_202D_206F_200D_202E_206D_202E_200D_200E_202A_206C_202B_200C_202E_202B_206B_202D_200D_202A_206D_200E_206B_206F_206E_202D_200B_202A_206C_202A_202E_202A_200E_202E() + { + return ImGuiColors.DalamudGrey3; + } + + static string _206F_202C_200E_202E_206A_206F_206A_200E_202A_202E_200C_206A_206E_206B_200F_202B_206C_202E_200B_202E_200F_202B_202B_200D_206B_206E_202E_200E_202A_202B_200D_206C_206C_206D_200F_200D_200F_202A_202D_200D_202E(SeIconChar P_0) + { + return P_0.ToIconString(); + } +} diff --git a/Questionable/Questionable.Windows/UiUtils.cs b/Questionable/Questionable.Windows/UiUtils.cs index 10061acc..567fb29b 100644 --- a/Questionable/Questionable.Windows/UiUtils.cs +++ b/Questionable/Questionable.Windows/UiUtils.cs @@ -1,7 +1,10 @@ +using System; using System.Numerics; +using System.Runtime.CompilerServices; using Dalamud.Bindings.ImGui; using Dalamud.Interface; using Dalamud.Interface.Colors; +using Dalamud.Interface.ManagedFontAtlas; using Dalamud.Plugin; using FFXIVClientStructs.FFXIV.Client.Game.UI; using Questionable.Controller; @@ -25,82 +28,244 @@ internal sealed class UiUtils _pluginInterface = pluginInterface; } + [MethodImpl(MethodImplOptions.NoInlining)] public (Vector4 Color, FontAwesomeIcon Icon, string Status) GetQuestStyle(ElementId elementId) { - if (_questFunctions.IsQuestAccepted(elementId)) + int num = ((!_questFunctions.IsQuestAccepted(elementId)) ? (-1441801408) : (-1441801406)); + QuestId questId = default(QuestId); + while (true) { - return (Color: ImGuiColors.DalamudYellow, Icon: FontAwesomeIcon.PersonWalkingArrowRight, Status: "Active"); - } - if (elementId is QuestId questId && _questFunctions.IsDailyAlliedSocietyQuestAndAvailableToday(questId)) - { - if (_questFunctions.IsQuestBlacklisted(questId)) + int num2 = num; + int num3 = -1441801390; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { - return (Color: ImGuiColors.DalamudGrey3, Icon: FontAwesomeIcon.Ban, Status: "Blacklisted"); + case 8: + num = ((!_questFunctions.IsQuestComplete(questId)) ? (-1441801384) : (-1441801407)); + break; + case 19: + return (Color: UiThemeUtils.StatusAvailableComplete, Icon: FontAwesomeIcon.Running, Status: global::_003CModule_003E._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(871452467)); + case 18: + questId = elementId as QuestId; + num = (((object)questId == null) ? (-1441801402) : (-1441801380)); + break; + case 21: + num = (_questRegistry.IsKnownQuest(elementId) ? (-1441801386) : (-1441801385)); + break; + case 3: + num = (_questFunctions.IsReadyToAcceptQuest(questId) ? (-1441801382) : (-1441801379)); + break; + case 5: + return (Color: UiThemeUtils.StatusLocked, Icon: FontAwesomeIcon.Times, Status: global::_003CModule_003E._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(-1267300956)); + case 1: + return (Color: UiThemeUtils.StatusBlacklisted, Icon: FontAwesomeIcon.Ban, Status: global::_003CModule_003E._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(-833431314)); + case 13: + num = ((!_questFunctions.IsReadyToAcceptQuest(elementId)) ? (-1441801385) : (-1441801401)); + break; + case 10: + return (Color: UiThemeUtils.StatusAvailable, Icon: FontAwesomeIcon.Running, Status: global::_003CModule_003E._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(-1067102916)); + case 14: + num = ((!_questFunctions.IsDailyAlliedSocietyQuestAndAvailableToday(questId)) ? (-1441801402) : (-1441801390)); + break; + case 20: + num = ((!_questFunctions.IsQuestAcceptedOrComplete(elementId)) ? (-1441801388) : (-1441801378)); + break; + case 7: + return (Color: UiThemeUtils.StatusUnobtainable, Icon: FontAwesomeIcon.Minus, Status: global::_003CModule_003E._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(576385889)); + case 16: + return (Color: UiThemeUtils.StatusActive, Icon: FontAwesomeIcon.PersonWalkingArrowRight, Status: global::_003CModule_003E._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(1970753606)); + case 6: + num = ((!_questFunctions.IsQuestUnobtainable(elementId)) ? (-1441801392) : (-1441801387)); + break; + case 15: + return (Color: UiThemeUtils.StatusComplete, Icon: FontAwesomeIcon.Check, Status: global::_003CModule_003E._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(1552042899)); + case 0: + num = ((!_questFunctions.IsQuestBlacklisted(questId)) ? (-1441801391) : (-1441801381)); + break; + case 9: + return (Color: UiThemeUtils.StatusBlacklisted, Icon: FontAwesomeIcon.Ban, Status: global::_003CModule_003E._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(-1976852282)); + case 11: + num = -1441801406; + break; + case 17: + num = (_questFunctions.IsQuestLocked(elementId) ? (-1441801385) : (-1441801377)); + break; + case 2: + num = ((!_questFunctions.IsQuestBlacklisted(elementId)) ? (-1441801405) : (-1441801389)); + break; + case 4: + return (Color: UiThemeUtils.StatusAvailable, Icon: FontAwesomeIcon.Running, Status: global::_003CModule_003E._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(1166519045)); + case 12: + return (Color: UiThemeUtils.StatusComplete, Icon: FontAwesomeIcon.Check, Status: global::_003CModule_003E._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(1552042899)); } - if (!_questFunctions.IsReadyToAcceptQuest(questId)) - { - return (Color: ImGuiColors.ParsedGreen, Icon: FontAwesomeIcon.Check, Status: "Complete"); - } - if (_questFunctions.IsQuestComplete(questId)) - { - return (Color: ImGuiColors.ParsedBlue, Icon: FontAwesomeIcon.Running, Status: "Available (Complete)"); - } - return (Color: ImGuiColors.DalamudYellow, Icon: FontAwesomeIcon.Running, Status: "Available"); } - if (_questFunctions.IsQuestAcceptedOrComplete(elementId)) - { - return (Color: ImGuiColors.ParsedGreen, Icon: FontAwesomeIcon.Check, Status: "Complete"); - } - if (_questFunctions.IsQuestUnobtainable(elementId)) - { - return (Color: ImGuiColors.DalamudGrey, Icon: FontAwesomeIcon.Minus, Status: "Unobtainable"); - } - if (_questFunctions.IsQuestBlacklisted(elementId)) - { - return (Color: ImGuiColors.DalamudGrey3, 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: ImGuiColors.DalamudYellow, Icon: FontAwesomeIcon.Running, Status: "Available"); } public static (Vector4 color, FontAwesomeIcon icon) GetInstanceStyle(ushort instanceId) { - if (UIState.IsInstanceContentCompleted(instanceId)) + int num = ((!UIState.IsInstanceContentCompleted(instanceId)) ? (-627417922) : (-627417921)); + while (true) { - return (color: ImGuiColors.ParsedGreen, icon: FontAwesomeIcon.Check); + int num2 = num; + int num3 = -627417923; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = ((!UIState.IsInstanceContentUnlocked(instanceId)) ? (-627417924) : (-627417927)); + break; + case 2: + return (color: UiThemeUtils.StatusComplete, icon: FontAwesomeIcon.Check); + case 0: + num = -627417921; + break; + case 1: + return (color: UiThemeUtils.StatusLocked, icon: FontAwesomeIcon.Times); + case 4: + return (color: UiThemeUtils.StatusActive, icon: FontAwesomeIcon.Running); + } } - if (UIState.IsInstanceContentUnlocked(instanceId)) - { - return (color: ImGuiColors.DalamudYellow, icon: FontAwesomeIcon.Running); - } - return (color: ImGuiColors.DalamudRed, 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 (extraPadding > 0f) + int num = ((!asBadge) ? (-1166254314) : (-1166254313)); + while (true) { - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + extraPadding); + int num2 = num; + int num3 = -1166254314; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -1166254313; + break; + case 2: + _206F_200D_200F_200B_200F_200C_206C_206A_202E_206F_206D_200E_202B_202B_202B_200C_206A_206A_200C_200C_200C_200D_202D_200B_206F_202E_206F_202D_206F_200C_206A_202A_202D_200B_202D_202E_206C_202D_206C_200D_202E(_202B_200B_202E_206C_200E_202B_202C_200E_200E_202E_200D_202C_206D_200B_206C_202D_200C_206C_206A_206D_200C_202B_206F_206F_202D_200C_206D_206E_202B_200F_200C_206E_202C_202D_200D_206E_200C_206D_206A_200E_202E() + extraPadding); + num = -1166254318; + break; + case 1: + UiThemeUtils.StatusBadge(text, color, icon); + return _202B_200D_206D_202D_202E_206F_200C_202D_206E_206A_202A_200B_202A_202E_206C_200F_206B_202D_202A_206D_206D_206C_200E_206D_202A_200C_202B_200D_202C_206A_200E_202D_202D_202A_202C_206A_202B_206C_202D_200F_202E(); + case 0: + num = ((!(extraPadding > 0f)) ? (-1166254318) : (-1166254316)); + break; + case 4: + { + IDisposable disposable = _200C_206E_202B_202B_200B_206D_200B_200F_200C_200B_206D_206D_202C_206E_202C_200C_206C_200E_200E_202A_206A_206D_206A_206B_202C_202A_200E_206B_202E_202E_200F_200F_200F_202A_206D_206B_202D_202E_206E_200C_202E(_206B_202B_206A_200F_202B_200F_200C_200B_206A_202B_200B_206F_200C_200F_202C_206E_200C_206F_202C_200D_202D_206A_200D_202D_200E_202D_206F_202B_200F_200F_202E_200C_200B_206A_206A_200E_206C_200E_206D_206F_202E(_202A_206C_206E_202C_206F_206F_206D_206A_206B_200F_206D_206A_206B_200C_202A_206A_200E_206F_200D_206B_206E_200B_206F_206F_200C_202A_206E_202C_200E_206A_206D_206E_206D_202B_202C_206C_202C_202C_206C_206B_202E(_pluginInterface))); + try + { + _206B_206A_206D_200F_202C_202C_200D_206B_206E_202B_202B_206B_200B_206C_202B_202A_200D_206B_206C_202B_206C_200B_200B_202D_206F_200E_206D_202D_206B_202B_202D_202B_202E_202E_206D_206D_206E_206C_206C_202E(ref color, (ImU8String)_200F_200E_202A_206B_206A_206B_200B_200F_206B_206E_200B_206A_206D_206B_202B_206A_206B_206B_206F_206A_202C_202B_200C_206A_200F_206C_206B_202C_202A_202A_202B_206F_200F_202D_200F_200E_206C_206E_202A_200D_202E(icon)); + } + finally + { + num = ((disposable == null) ? 669978987 : 669978984); + while (true) + { + int num5 = num; + num3 = 669978985; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 669978984; + break; + case 1: + _206F_200C_200B_202D_202B_200D_200C_206A_202C_200B_202C_206C_202A_200F_200E_206D_206D_206D_202E_200F_202C_206A_206B_202E_202D_206C_202C_206C_202D_200C_202E_200E_202D_206C_206B_202C_206E_206C_206D_206D_202E(disposable); + num = 669978987; + break; + case 2: + goto end_IL_00e6; + } + continue; + end_IL_00e6: + break; + } + } + bool num6 = _202B_200D_206D_202D_202E_206F_200C_202D_206E_206A_202A_200B_202A_202E_206C_200F_206B_202D_202A_206D_206D_206C_200E_206D_202A_200C_202B_200D_202C_206A_200E_202D_202D_202A_202C_206A_202B_206C_202D_200F_202E(); + _202E_200E_206F_200C_206F_200B_206C_200F_206F_206C_206C_200F_206B_200C_200C_206B_206B_206E_206E_206F_200E_206C_200C_206A_206E_206B_202E_202B_206F_200F_200F_200C_202D_206E_206F_200B_200D_206F_200C_202E_202E(); + if (extraPadding > 0f) + { + _206F_200D_200F_200B_200F_200C_206C_206A_202E_206F_206D_200E_202B_202B_202B_200C_206A_206A_200C_200C_200C_200D_202D_200B_206F_202E_206F_202D_206F_200C_206A_202A_202D_200B_202D_202E_206C_202D_206C_200D_202E(_202B_200B_202E_206C_200E_202B_202C_200E_200E_202E_200D_202C_206D_200B_206C_202D_200C_206C_206A_206D_200C_202B_206F_206F_202D_200C_206D_206E_202B_200F_200C_206E_202C_202D_200D_206E_200C_206D_206A_200E_202E() + extraPadding); + } + _206A_200F_206F_202B_202A_206E_200D_202E_202B_200E_200B_206F_206C_200D_206E_206F_200C_206F_200B_202E_206F_202E_206A_206C_200E_200D_202D_200E_202A_206A_200C_202D_200E_202C_206B_200E_206A_206D_200D_200E_202E((ImU8String)text); + return num6 | _202B_200D_206D_202D_202E_206F_200C_202D_206E_206A_202A_200B_202A_202E_206C_200F_206B_202D_202A_206D_206D_206C_200E_206D_202A_200C_202B_200D_202C_206A_200E_202D_202D_202A_202C_206A_202B_206C_202D_200F_202E(); + } + } } - using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push()) - { - ImGui.TextColored(in color, icon.ToIconString()); - } - bool num = ImGui.IsItemHovered(); - ImGui.SameLine(); - if (extraPadding > 0f) - { - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + extraPadding); - } - ImGui.TextUnformatted(text); - return num | ImGui.IsItemHovered(); } public bool ChecklistItem(string text, bool complete, Vector4? colorOverride = null) { - return ChecklistItem(text, colorOverride ?? (complete ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed), complete ? FontAwesomeIcon.Check : FontAwesomeIcon.Times); + return ChecklistItem(text, colorOverride ?? (complete ? _200C_206E_202D_202E_200B_202D_200F_206B_206C_202A_200F_202A_202E_206B_206E_200D_200F_202B_202B_202A_206F_200C_206D_202E_200E_202C_206D_206F_202B_200C_202B_206D_200C_200D_202C_200E_206E_200B_206D_206A_202E() : _202A_200B_200B_202A_206A_206F_200D_200E_202D_202E_206A_200F_200E_206E_202B_206D_202C_206B_206F_200E_206D_206F_202A_202C_206D_206F_206E_200F_200E_206F_200C_202C_206B_202D_206E_202E_202E_202D_202B_202E_202E()), complete ? FontAwesomeIcon.Check : FontAwesomeIcon.Times); + } + + static bool _202B_200D_206D_202D_202E_206F_200C_202D_206E_206A_202A_200B_202A_202E_206C_200F_206B_202D_202A_206D_206D_206C_200E_206D_202A_200C_202B_200D_202C_206A_200E_202D_202D_202A_202C_206A_202B_206C_202D_200F_202E() + { + return ImGui.IsItemHovered(); + } + + static float _202B_200B_202E_206C_200E_202B_202C_200E_200E_202E_200D_202C_206D_200B_206C_202D_200C_206C_206A_206D_200C_202B_206F_206F_202D_200C_206D_206E_202B_200F_200C_206E_202C_202D_200D_206E_200C_206D_206A_200E_202E() + { + return ImGui.GetCursorPosX(); + } + + static void _206F_200D_200F_200B_200F_200C_206C_206A_202E_206F_206D_200E_202B_202B_202B_200C_206A_206A_200C_200C_200C_200D_202D_200B_206F_202E_206F_202D_206F_200C_206A_202A_202D_200B_202D_202E_206C_202D_206C_200D_202E(float P_0) + { + ImGui.SetCursorPosX(P_0); + } + + static IUiBuilder _202A_206C_206E_202C_206F_206F_206D_206A_206B_200F_206D_206A_206B_200C_202A_206A_200E_206F_200D_206B_206E_200B_206F_206F_200C_202A_206E_202C_200E_206A_206D_206E_206D_202B_202C_206C_202C_202C_206C_206B_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static IFontHandle _206B_202B_206A_200F_202B_200F_200C_200B_206A_202B_200B_206F_200C_200F_202C_206E_200C_206F_202C_200D_202D_206A_200D_202D_200E_202D_206F_202B_200F_200F_202E_200C_200B_206A_206A_200E_206C_200E_206D_206F_202E(IUiBuilder P_0) + { + return P_0.IconFontFixedWidthHandle; + } + + static IDisposable _200C_206E_202B_202B_200B_206D_200B_200F_200C_200B_206D_206D_202C_206E_202C_200C_206C_200E_200E_202A_206A_206D_206A_206B_202C_202A_200E_206B_202E_202E_200F_200F_200F_202A_206D_206B_202D_202E_206E_200C_202E(IFontHandle P_0) + { + return P_0.Push(); + } + + static string _200F_200E_202A_206B_206A_206B_200B_200F_206B_206E_200B_206A_206D_206B_202B_206A_206B_206B_206F_206A_202C_202B_200C_206A_200F_206C_206B_202C_202A_202A_202B_206F_200F_202D_200F_200E_206C_206E_202A_200D_202E(FontAwesomeIcon P_0) + { + return P_0.ToIconString(); + } + + static void _206B_206A_206D_200F_202C_202C_200D_206B_206E_202B_202B_206B_200B_206C_202B_202A_200D_206B_206C_202B_206C_200B_200B_202D_206F_200E_206D_202D_206B_202B_202D_202B_202E_202E_206D_206D_206E_206C_206C_202E(ref Vector4 P_0, ImU8String P_1) + { + ImGui.TextColored(in P_0, P_1); + } + + static void _206F_200C_200B_202D_202B_200D_200C_206A_202C_200B_202C_206C_202A_200F_200E_206D_206D_206D_202E_200F_202C_206A_206B_202E_202D_206C_202C_206C_202D_200C_202E_200E_202D_206C_206B_202C_206E_206C_206D_206D_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _202E_200E_206F_200C_206F_200B_206C_200F_206F_206C_206C_200F_206B_200C_200C_206B_206B_206E_206E_206F_200E_206C_200C_206A_206E_206B_202E_202B_206F_200F_200F_200C_202D_206E_206F_200B_200D_206F_200C_202E_202E() + { + ImGui.SameLine(); + } + + static void _206A_200F_206F_202B_202A_206E_200D_202E_202B_200E_200B_206F_206C_200D_206E_206F_200C_206F_200B_202E_206F_202E_206A_206C_200E_200D_202D_200E_202A_206A_200C_202D_200E_202C_206B_200E_206A_206D_200D_200E_202E(ImU8String P_0) + { + ImGui.TextUnformatted(P_0); + } + + static Vector4 _202A_200B_200B_202A_206A_206F_200D_200E_202D_202E_206A_200F_200E_206E_202B_206D_202C_206B_206F_200E_206D_206F_202A_202C_206D_206F_206E_200F_200E_206F_200C_202C_206B_202D_206E_202E_202E_202D_202B_202E_202E() + { + return ImGuiColors.DalamudRed; + } + + static Vector4 _200C_206E_202D_202E_200B_202D_200F_206B_206C_202A_200F_202A_202E_206B_206E_200D_200F_202B_202B_202A_206F_200C_206D_202E_200E_202C_206D_206F_202B_200C_202B_206D_200C_200D_202C_200E_206E_200B_206D_206A_202E() + { + return ImGuiColors.ParsedGreen; } } diff --git a/Questionable/Questionable.csproj b/Questionable/Questionable.csproj index c39d24ae..f1ab5612 100644 --- a/Questionable/Questionable.csproj +++ b/Questionable/Questionable.csproj @@ -10,16 +10,12 @@ 12.0 True - - - - - - - - - + + + + ..\..\Questionable.Model.dll + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Dalamud.dll @@ -29,38 +25,38 @@ C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\FFXIVClientStructs.dll - - ..\..\Questionable.Model.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\15.0.3.2\Serilog.dll - ..\..\Microsoft.Extensions.DependencyInjection.dll ..\..\Microsoft.Extensions.DependencyInjection.Abstractions.dll + + ..\..\SmartNav.dll + + + C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Lumina.dll + + + ..\..\SmartNav.Model.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 - - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\Lumina.dll - ..\..\JsonSchema.Net.dll - - C:\Users\Aly\AppData\Roaming\XIVLauncher\addon\Hooks\15.0.3.2\InteropGenerator.Runtime.dll + + ..\..\JsonPointer.Net.dll ..\..\Microsoft.Extensions.Logging.dll @@ -68,17 +64,17 @@ ..\..\QuestPaths.dll - - ..\..\FatePaths.dll - ..\..\GatheringPaths.dll + + ..\..\FatePaths.dll + ..\..\SeasonalDutyPaths.dll - - ..\..\JsonPointer.Net.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/Questionable/Questionable/ConfigMigration.cs b/Questionable/Questionable/ConfigMigration.cs new file mode 100644 index 00000000..39de96c0 --- /dev/null +++ b/Questionable/Questionable/ConfigMigration.cs @@ -0,0 +1,271 @@ +using System.Collections.Generic; +using Questionable.Controller.Conditions; +using Questionable.Model.Questing; + +namespace Questionable; + +internal static class ConfigMigration +{ + public static bool Run(Configuration config) + { + bool result = false; + int num = ((!RemoveStaleElementIds(config)) ? 64859374 : 64859372); + while (true) + { + int num2 = num; + int num3 = 64859370; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = ((config.Stop.Conditions.RemoveAll((StopCondition c) => c == null) <= 0) ? 64859375 : 64859371); + break; + case 1: + result = true; + num = 64859375; + break; + case 5: + num = ((!MigrateStopConditions(config.Stop)) ? 64859373 : 64859369); + break; + case 3: + result = true; + num = 64859373; + break; + case 7: + num = ((!MigrateEquipMode(config.General)) ? 64859362 : 64859368); + break; + case 8: + return result; + case 2: + result = true; + num = 64859362; + break; + case 0: + num = 64859372; + break; + case 6: + result = true; + num = 64859374; + break; + } + } + } + + private static bool MigrateEquipMode(Configuration.GeneralConfiguration general) + { + bool? useSmartEquipRecommended = general.UseSmartEquipRecommended; + int num = ((!useSmartEquipRecommended.HasValue) ? 470555278 : 470555279); + bool valueOrDefault = default(bool); + while (true) + { + int num2 = num; + int num3 = 470555277; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return false; + case 2: + valueOrDefault = useSmartEquipRecommended == true; + num = 470555276; + break; + case 0: + num = 470555279; + break; + case 1: + general.EquipMode = ((!valueOrDefault) ? Configuration.EEquipMode.GameRecommended : Configuration.EEquipMode.Smart); + general.UseSmartEquipRecommended = null; + return true; + } + } + } + + 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); + using (Dictionary.ValueCollection.Enumerator enumerator = config.General.SavedPresets.Values.GetEnumerator()) + { + int num2 = 230107548; + while (true) + { + int num3 = num2; + int num4 = 230107549; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 1: + num2 = (enumerator.MoveNext() ? 230107550 : 230107551); + break; + case 3: + { + Configuration.SavedQuestPreset current = enumerator.Current; + num += current.QuestIds.RemoveAll((ElementId x) => (object)x == null); + num2 = 230107548; + break; + } + case 0: + num2 = 230107548; + break; + case 2: + goto end_IL_00be; + } + continue; + end_IL_00be: + break; + } + } + return num > 0; + } + + private static bool MigrateStopConditions(Configuration.StopConfiguration stop) + { + int num = ((stop.QuestsToStopAfter.Count > 0) ? 1734695112 : 1734695116); + ElementId current = default(ElementId); + EStopConditionMode value2 = default(EStopConditionMode); + int? value = default(int?); + EStopConditionMode mode = default(EStopConditionMode); + while (true) + { + int num2 = num; + int num3 = 1734695118; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 6: + num = 1734695118; + continue; + case 0: + if (stop.Conditions.Count == 0) + { + num = 1734695111; + continue; + } + break; + case 3: + num = ((stop.SequenceStopMode == EStopConditionMode.Off) ? 1734695115 : 1734695110); + continue; + case 7: + num = 1734695116; + continue; + case 10: + num = ((stop.QuestSequences.Count > 0) ? 1734695112 : 1734695114); + continue; + case 9: + num = ((stop.LevelStopMode == EStopConditionMode.Off) ? 1734695117 : 1734695106); + continue; + case 2: + num = ((stop.QuestStopModes.Count > 0) ? 1734695112 : 1734695108); + continue; + case 11: + return false; + case 8: + stop.Conditions.Add(new GlobalSequenceCondition + { + TargetSequence = stop.TargetSequence, + Mode = stop.SequenceStopMode + }); + num = 1734695115; + continue; + case 1: + if (stop.SequenceStopMode == EStopConditionMode.Off) + { + num = 1734695109; + continue; + } + goto case 6; + case 4: + num = ((stop.LevelStopMode != EStopConditionMode.Off) ? 1734695112 : 1734695119); + continue; + case 12: + stop.Conditions.Add(new LevelCondition + { + TargetLevel = stop.TargetLevel, + Mode = stop.LevelStopMode + }); + num = 1734695117; + continue; + case 5: + { + using (List.Enumerator enumerator = stop.QuestsToStopAfter.GetEnumerator()) + { + num = 222119304; + while (true) + { + int num7 = num; + num3 = 222119307; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + int num10; + int? obj; + int? sequence; + switch (num8 - (num9 + num9)) + { + case 0: + num10 = 2; + goto IL_02b5; + case 7: + current = enumerator.Current; + num = (stop.QuestStopModes.TryGetValue(_206B_200E_206E_206F_200F_202D_202A_200D_206E_206C_206E_206A_202A_200E_200D_200C_206F_206E_200E_200E_202E_202D_202B_202A_206E_202E_200E_200C_206F_206F_202D_206E_206F_200E_200D_206F_200E_206F_200B_206B_202E((object)current), out value2) ? 222119310 : 222119307); + break; + case 2: + num = 222119304; + break; + case 5: + num10 = (int)value2; + goto IL_02b5; + case 1: + obj = value; + goto IL_02e8; + case 3: + num = (enumerator.MoveNext() ? 222119308 : 222119309); + break; + case 4: + obj = null; + goto IL_02e8; + case 6: + goto end_IL_021c; + IL_02b5: + mode = (EStopConditionMode)num10; + num = (stop.QuestSequences.TryGetValue(_206B_200E_206E_206F_200F_202D_202A_200D_206E_206C_206E_206A_202A_200E_200D_200C_206F_206E_200E_200E_202E_202D_202B_202A_206E_202E_200E_200C_206F_206F_202D_206E_206F_200E_200D_206F_200E_206F_200B_206B_202E((object)current), out value) ? 222119306 : 222119311); + break; + IL_02e8: + sequence = obj; + stop.Conditions.Add(new QuestCompleteCondition + { + QuestId = current, + Sequence = sequence, + Mode = mode + }); + num = 222119304; + break; + } + continue; + end_IL_021c: + break; + } + } + break; + } + } + break; + } + stop.QuestsToStopAfter.Clear(); + stop.QuestStopModes.Clear(); + stop.QuestSequences.Clear(); + stop.LevelStopMode = EStopConditionMode.Off; + stop.SequenceStopMode = EStopConditionMode.Off; + return true; + } + + static string _206B_200E_206E_206F_200F_202D_202A_200D_206E_206C_206E_206A_202A_200E_200D_200C_206F_206E_200E_200E_202E_202D_202B_202A_206E_202E_200E_200C_206F_206F_202D_206E_206F_200E_200D_206F_200E_206F_200B_206B_202E(object P_0) + { + return P_0.ToString(); + } +} diff --git a/Questionable/Questionable/Configuration.cs b/Questionable/Questionable/Configuration.cs index b2b7c135..f47c91b1 100644 --- a/Questionable/Questionable/Configuration.cs +++ b/Questionable/Questionable/Configuration.cs @@ -1,11 +1,15 @@ using System; using System.Collections.Generic; +using System.Runtime.CompilerServices; 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; @@ -16,7 +20,7 @@ internal sealed class Configuration : IPluginConfiguration { public ECombatModule CombatModule { get; set; } - public uint MountId { get; set; } = 71u; + public ENavigationProvider NavigationProvider { get; set; } public GrandCompany GrandCompany { get; set; } @@ -36,10 +40,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 +56,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,20 +102,36 @@ internal sealed class Configuration : IPluginConfiguration { public bool Enabled { get; set; } + public List Conditions { get; set; } = new List(); + + public string CommandAfterStop { get; set; } = global::_003CModule_003E._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(-1720149641); + + [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(); - public int TargetLevel { get; set; } = 50; - - public EStopConditionMode LevelStopMode { get; set; } - - public EStopConditionMode SequenceStopMode { get; set; } - - public int TargetSequence { get; set; } = 1; - + [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; + + [MethodImpl(MethodImplOptions.NoInlining)] + public StopConfiguration() + { + } } internal sealed class DutyConfiguration @@ -109,16 +146,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,24 +175,66 @@ 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; } = global::_003CModule_003E._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(2076323066); + + 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; + + [MethodImpl(MethodImplOptions.NoInlining)] + public NotificationConfiguration() + { + } } internal sealed class AdvancedConfiguration { - public bool DebugOverlay { get; set; } - - public bool CombatDataOverlay { get; set; } - - public bool NeverFly { get; set; } - public bool ShowWindowInInstances { get; set; } - public bool AdditionalStatusInformation { get; set; } + public bool EnableNavDataCapture { get; set; } public bool DisablePartyWatchdog { get; set; } @@ -154,13 +244,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 @@ -171,6 +327,20 @@ internal sealed class Configuration : IPluginConfiguration RotationSolverReborn } + internal enum ENavigationProvider + { + Vnavmesh, + WigglyNav, + WigglyNavShim + } + + internal enum EEquipMode + { + Smart, + GameRecommended, + Disabled + } + internal enum EMsqPriorityMode { Always, @@ -178,48 +348,84 @@ internal sealed class Configuration : IPluginConfiguration Manual } - internal enum EStopConditionMode - { - Off, - Pause, - Stop - } - - internal enum EJsonColorTheme - { - VsCodeDark, - Dracula, - CatppuccinMocha - } - - internal enum EDutyMode - { - Support, - UnsyncSolo, - UnsyncParty - } - public sealed class ElementIdNConverter : JsonConverter { public override void WriteJson(JsonWriter writer, ElementId? value, JsonSerializer serializer) { - writer.WriteValue(value?.ToString()); + _202C_200C_202E_200D_200B_202C_206A_200D_206F_200D_206B_206C_206B_200C_206C_200E_202E_200F_200E_200D_202E_206A_202E_200C_200D_200D_202C_202E_202D_200D_202D_206B_200C_206B_202C_200F_206D_202C_200F_202B_202E(writer, ((object)value != null) ? _200C_206A_200C_206C_202C_206B_206D_206F_206F_200E_202D_200E_202C_200C_200D_206F_200C_202A_200F_206D_206D_200C_206B_206F_202A_200E_202D_202A_200D_200F_200F_202A_202C_200B_200B_206E_202A_200B_206E_206E_202E((object)value) : null); } public override ElementId? ReadJson(JsonReader reader, Type objectType, ElementId? existingValue, bool hasExistingValue, JsonSerializer serializer) { - string text = reader.Value?.ToString(); - if (text == null) + try + { + object obj = _200F_200C_202D_206A_206A_206A_200F_200D_206D_200D_200D_202D_202E_206A_200D_206F_200E_200B_202C_206C_200C_206B_202B_202B_200C_200C_206F_200F_200B_206E_200B_200C_200C_202C_200D_206B_206E_200E_202B_206C_202E(reader); + string text = ((obj != null) ? _200C_206A_200C_206C_202C_206B_206D_206F_206F_200E_202D_200E_202C_200C_200D_206F_200C_202A_200F_206D_206D_200C_206B_206F_202A_200E_202D_202A_200D_200F_200F_202A_202C_200B_200B_206E_202A_200B_206E_206E_202E(obj) : null); + int num = ((text != null) ? 919867290 : 919867288); + object result; + ElementId elementId = default(ElementId); + while (true) + { + int num2 = num; + int num3 = 919867289; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + default: + continue; + case 4: + num = 919867288; + continue; + case 1: + return null; + case 2: + result = null; + break; + case 3: + num = (_202E_202E_200F_206F_202E_200C_200E_206D_206C_206E_200B_202C_200E_202E_206D_202C_200F_200E_206F_200E_200C_206B_202A_206B_206C_202E_206B_200C_200B_206F_206F_206A_206D_200F_200B_206F_200F_206E_206E_202D_202E(text, ref elementId) ? 919867289 : 919867291); + continue; + case 0: + result = elementId; + break; + } + break; + } + return (ElementId?)result; + } + catch (Exception) { return null; } - return ElementId.FromString(text); + } + + static string _200C_206A_200C_206C_202C_206B_206D_206F_206F_200E_202D_200E_202C_200C_200D_206F_200C_202A_200F_206D_206D_200C_206B_206F_202A_200E_202D_202A_200D_200F_200F_202A_202C_200B_200B_206E_202A_200B_206E_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202C_200C_202E_200D_200B_202C_206A_200D_206F_200D_206B_206C_206B_200C_206C_200E_202E_200F_200E_200D_202E_206A_202E_200C_200D_200D_202C_202E_202D_200D_202D_206B_200C_206B_202C_200F_206D_202C_200F_202B_202E(JsonWriter P_0, string P_1) + { + P_0.WriteValue(P_1); + } + + static object _200F_200C_202D_206A_206A_206A_200F_200D_206D_200D_200D_202D_202E_206A_200D_206F_200E_200B_202C_206C_200C_206B_202B_202B_200C_200C_206F_200F_200B_206E_200B_200C_200C_202C_200D_206B_206E_200E_202B_206C_202E(JsonReader P_0) + { + return P_0.Value; + } + + static bool _202E_202E_200F_206F_202E_200C_200E_206D_206C_206E_200B_202C_200E_202E_206D_202C_200F_200E_206F_200E_200C_206B_202A_206B_206C_202E_206B_200C_200B_206F_206F_206A_206D_200F_200B_206F_200F_206E_206E_202D_202E(string P_0, ref ElementId P_1) + { + return ElementId.TryFromString(P_0, out P_1); } } - 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; } @@ -233,25 +439,36 @@ 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 WindowConfig DebugWindowConfig { get; } = new WindowConfig(); + public CustomDeliveryConfiguration CustomDeliveries { get; } = new CustomDeliveryConfiguration(); - public WindowConfig ConfigWindowConfig { get; } = new WindowConfig(); + public WindowConfig DebugWindowConfig { get; } = _206C_206E_202B_206F_202E_206D_200F_200F_206C_200D_200C_202D_202A_206D_200E_202D_202A_206A_202C_206E_200E_202B_202D_202A_202B_206B_206B_206D_202B_202E_206D_202E_200B_206A_202C_206B_200B_206A_202A_206D_202E(); - public WindowConfig QuestValidationWindowConfig { get; set; } = new WindowConfig(); + public WindowConfig ConfigWindowConfig { get; } = _206C_206E_202B_206F_202E_206D_200F_200F_206C_200D_200C_202D_202A_206D_200E_202D_202A_206A_202C_206E_200E_202B_202D_202A_202B_206B_206B_206D_202B_202E_206D_202E_200B_206A_202C_206B_200B_206A_202A_206D_202E(); - public WindowConfig QuestSequenceWindowConfig { get; set; } = new WindowConfig(); + public WindowConfig QuestValidationWindowConfig { get; set; } = _206C_206E_202B_206F_202E_206D_200F_200F_206C_200D_200C_202D_202A_206D_200E_202D_202A_206A_202C_206E_200E_202B_202D_202A_202B_206B_206B_206D_202B_202E_206D_202E_200B_206A_202C_206B_200B_206A_202A_206D_202E(); + + public WindowConfig QuestSequenceWindowConfig { get; set; } = _206C_206E_202B_206F_202E_206D_200F_200F_206C_200D_200C_202D_202A_206D_200E_202D_202A_206A_202C_206E_200E_202B_202D_202A_202B_206B_206B_206D_202B_202E_206D_202E_200B_206A_202C_206B_200B_206A_202A_206D_202E(); + + public string? JournalLastPage { get; set; } internal bool IsPluginSetupComplete() { - return PluginSetupCompleteVersion == 5; + return PluginSetupCompleteVersion == 6; } internal void MarkPluginSetupComplete() { - PluginSetupCompleteVersion = 5; + PluginSetupCompleteVersion = 6; + } + + static WindowConfig _206C_206E_202B_206F_202E_206D_200F_200F_206C_200D_200C_202D_202A_206D_200E_202D_202A_206A_202C_206E_200E_202B_202D_202A_202B_206B_206B_206D_202B_202E_206D_202E_200B_206A_202C_206B_200B_206A_202A_206D_202E() + { + return new WindowConfig(); } } diff --git a/Questionable/Questionable/DalamudInitializer.cs b/Questionable/Questionable/DalamudInitializer.cs index 154f2a9d..a087068b 100644 --- a/Questionable/Questionable/DalamudInitializer.cs +++ b/Questionable/Questionable/DalamudInitializer.cs @@ -1,12 +1,17 @@ using System; +using System.Runtime.CompilerServices; using Dalamud.Game.Gui.Toast; using Dalamud.Game.Text.SeStringHandling; +using Dalamud.Interface; using Dalamud.Interface.Windowing; using Dalamud.Plugin; using Dalamud.Plugin.Services; +using LLib.ImGui; 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 +42,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 +64,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,84 +75,310 @@ 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); - _pluginInterface.UiBuilder.Draw += _windowSystem.Draw; - _pluginInterface.UiBuilder.OpenMainUi += ToggleQuestWindow; - _pluginInterface.UiBuilder.OpenConfigUi += _configWindow.Toggle; - _framework.Update += FrameworkUpdate; - _toastGui.Toast += OnToast; - _toastGui.ErrorToast += OnErrorToast; - _toastGui.QuestToast += OnQuestToast; + _206F_206D_200B_206C_200C_202A_206F_206D_206F_206F_206F_206A_202B_200B_200F_200D_206F_202A_202A_200F_206C_202D_200F_206B_206D_202C_206C_202B_202D_206C_200B_202D_202A_202B_200F_206B_202A_202A_206D_202B_202E(_windowSystem, (IWindow)oneTimeSetupWindow); + _206F_206D_200B_206C_200C_202A_206F_206D_206F_206F_206F_206A_202B_200B_200F_200D_206F_202A_202A_200F_206C_202D_200F_206B_206D_202C_206C_202B_202D_206C_200B_202D_202A_202B_200F_206B_202A_202A_206D_202B_202E(_windowSystem, (IWindow)questWindow); + _206F_206D_200B_206C_200C_202A_206F_206D_206F_206F_206F_206A_202B_200B_200F_200D_206F_202A_202A_200F_206C_202D_200F_206B_206D_202C_206C_202B_202D_206C_200B_202D_202A_202B_200F_206B_202A_202A_206D_202B_202E(_windowSystem, (IWindow)configWindow); + _206F_206D_200B_206C_200C_202A_206F_206D_206F_206F_206F_206A_202B_200B_200F_200D_206F_202A_202A_200F_206C_202D_200F_206B_206D_202C_206C_202B_202D_206C_200B_202D_202A_202B_200F_206B_202A_202A_206D_202B_202E(_windowSystem, (IWindow)questSelectionWindow); + _206F_206D_200B_206C_200C_202A_206F_206D_206F_206F_206F_206A_202B_200B_200F_200D_206F_202A_202A_200F_206C_202D_200F_206B_206D_202C_206C_202B_202D_206C_200B_202D_202A_202B_200F_206B_202A_202A_206D_202B_202E(_windowSystem, (IWindow)questSequenceWindow); + _206F_206D_200B_206C_200C_202A_206F_206D_206F_206F_206F_206A_202B_200B_200F_200D_206F_202A_202A_200F_206C_202D_200F_206B_206D_202C_206C_202B_202D_206C_200B_202D_202A_202B_200F_206B_202A_202A_206D_202B_202E(_windowSystem, (IWindow)questValidationWindow); + _206F_206D_200B_206C_200C_202A_206F_206D_206F_206F_206F_206A_202B_200B_200F_200D_206F_202A_202A_200F_206C_202D_200F_206B_206D_202C_206C_202B_202D_206C_200B_202D_202A_202B_200F_206B_202A_202A_206D_202B_202E(_windowSystem, (IWindow)journalProgressWindow); + _206F_206D_200B_206C_200C_202A_206F_206D_206F_206F_206F_206A_202B_200B_200F_200D_206F_202A_202A_200F_206C_202D_200F_206B_206D_202C_206C_202B_202D_206C_200B_202D_202A_202B_200F_206B_202A_202A_206D_202B_202E(_windowSystem, (IWindow)fateSelectionWindow); + _206F_206D_200B_206C_200C_202A_206F_206D_206F_206F_206F_206A_202B_200B_200F_200D_206F_202A_202A_200F_206C_202D_200F_206B_206D_202C_206C_202B_202D_206C_200B_202D_202A_202B_200F_206B_202A_202A_206D_202B_202E(_windowSystem, (IWindow)seasonalDutySelectionWindow); + _206F_206D_200B_206C_200C_202A_206F_206D_206F_206F_206F_206A_202B_200B_200F_200D_206F_202A_202A_200F_206C_202D_200F_206B_206D_202C_206C_202B_202D_206C_200B_202D_202A_202B_200F_206B_202A_202A_206D_202B_202E(_windowSystem, (IWindow)changelogWindow); + _206E_200C_202B_202D_206A_206F_202C_200C_206D_200E_202A_202B_202E_206D_200E_206A_202D_202B_202B_206D_202B_206D_200B_202C_200F_200F_202A_206F_206E_202D_202A_202D_202B_200F_200F_206E_202A_200C_206C_206C_202E(_200E_202E_200B_200D_202C_200E_202E_202A_202B_200C_206A_202C_206C_206C_206A_202A_202E_206D_200D_200F_206F_206A_202C_202D_200E_200D_202E_200C_200D_206F_202E_200C_206D_200D_206A_206C_202E_202C_200C_202E(_pluginInterface), (Action)_windowSystem.Draw); + _202A_202D_202D_202A_206D_206E_200C_202D_206F_200B_202C_202E_202A_200B_202B_206E_200C_202D_200F_200E_202A_202C_202E_202B_206E_206D_206A_206C_206A_206F_200D_206C_206A_206F_206A_200F_200E_206F_202D_206B_202E(_200E_202E_200B_200D_202C_200E_202E_202A_202B_200C_206A_202C_206C_206C_206A_202A_202E_206D_200D_200F_206F_206A_202C_202D_200E_200D_202E_200C_200D_206F_202E_200C_206D_200D_206A_206C_202E_202C_200C_202E(_pluginInterface), (Action)ToggleQuestWindow); + _206B_200F_200D_202B_206D_200D_202C_200F_202B_206C_206E_202C_206A_206A_200D_206F_200E_206D_206C_202A_200E_206A_202D_200E_200E_202D_200E_206D_202C_202A_206E_206C_206B_206E_200C_206E_202B_206A_202D_202E_202E(_200E_202E_200B_200D_202C_200E_202E_202A_202B_200C_206A_202C_206C_206C_206A_202A_202E_206D_200D_200F_206F_206A_202C_202D_200E_200D_202E_200C_200D_206F_202E_200C_206D_200D_206A_206C_202E_202C_200C_202E(_pluginInterface), (Action)_configWindow.Toggle); + _206C_202E_202B_200F_202E_202A_206D_206E_206F_202A_206A_202C_202D_200D_202A_206C_202D_202A_200D_200E_206E_206D_202A_200C_206A_206A_202B_202B_202C_206B_206A_202A_206A_200B_202C_200C_202D_206A_206E_200F_202E(_framework, (IFramework.OnUpdateDelegate)FrameworkUpdate); + _206A_202B_206D_202E_206C_206B_202C_200F_206B_206B_206B_200B_202B_200C_200E_200C_200E_200D_206E_200F_206E_202A_202C_202A_206F_202D_200B_200D_206A_206D_206B_206F_206C_200E_200C_202C_200E_202E_200C_206C_202E(_toastGui, (IToastGui.OnNormalToastDelegate)OnToast); + _202E_202E_200C_206A_202E_206C_200B_206B_206B_202E_200E_202C_202A_200B_200E_206F_202A_206E_202C_200E_206D_206E_206A_206B_206D_200E_202C_202E_200E_202B_200F_200E_200E_206C_202E_206F_200B_202B_202D_202E_202E(_toastGui, (IToastGui.OnErrorToastDelegate)OnErrorToast); + _200D_206D_206E_206A_202B_202B_202A_206A_206C_206C_206D_206E_202A_202E_206B_200C_206F_200C_200B_200E_206A_202C_200B_200D_200F_206C_200F_200E_200E_202B_206A_202D_206B_206D_202C_206E_202E_206E_202C_202E_202E(_toastGui, (IToastGui.OnQuestToastDelegate)OnQuestToast); } + [MethodImpl(MethodImplOptions.NoInlining)] 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) + { + _206F_206A_200E_206D_200F_202A_200D_200F_200E_202C_206A_206B_202D_202E_200D_202D_202A_200B_206F_202E_200F_202B_206A_202A_200B_200E_206E_200C_200D_202B_206E_202D_206F_206A_202B_202C_200C_206D_200B_200C_202E((ILogger)_logger, global::_003CModule_003E._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(-1232235884), new object[1] { _206F_200B_206C_202C_206D_202B_206F_202A_202E_202B_200E_202B_200E_206D_202D_206B_202B_200C_202A_206A_200F_206C_206C_202D_202B_200C_200E_200F_206F_202E_202C_202E_200F_206F_206C_202C_206C_202B_202D_202D_202E((Exception)ex) }); + AttemptReRoute(); + } try { _movementController.Update(); } - catch (MovementController.PathfindingFailedException) + catch (MovementController.PathfindingFailedException ex2) { - _questController.Stop("Pathfinding failed"); - _fateController.Stop("Pathfinding failed"); - _seasonalDutyController.Stop("Pathfinding failed"); + _206B_200B_202E_200F_206F_200D_200D_202B_202E_200F_202A_200E_202C_202D_202D_200B_206C_202E_206B_200F_202E_200C_202B_200B_200B_206B_206E_206D_206A_206B_206D_200F_206D_202C_206F_206A_202D_206F_202A_202E_202E((ILogger)_logger, (Exception)ex2, global::_003CModule_003E._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(610209674), Array.Empty()); + AttemptReRoute(); } } + [MethodImpl(MethodImplOptions.NoInlining)] + private void AttemptReRoute() + { + int num = ((!_gatheringController.IsRunning) ? (-136136920) : (-136136927)); + TaskQueue taskQueue = default(TaskQueue); + while (true) + { + int num2 = num; + int num3 = -136136924; + int num4 = num2; + object obj; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + _questController.Stop(global::_003CModule_003E._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(721858876)); + _fateController.Stop(global::_003CModule_003E._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(1724960299)); + _seasonalDutyController.Stop(global::_003CModule_003E._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(1724960299)); + _attunementController.Stop(global::_003CModule_003E._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(692347610)); + _customDeliveryController.Stop(global::_003CModule_003E._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(721858876)); + _fishingController.Stop(global::_003CModule_003E._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(704094293)); + num = -136136928; + continue; + case 2: + return; + case 3: + num = (_seasonalDutyController.IsRunning ? (-136136916) : (-136136914)); + continue; + case 5: + num = ((!_gatheringController.TryReplanAfterMovementFailure()) ? (-136136920) : (-136136922)); + continue; + case 7: + num = (_reRouteService.HandleMovementFailure(taskQueue) ? (-136136928) : (-136136924)); + continue; + case 12: + num = (_questController.IsRunning ? (-136136917) : (-136136923)); + continue; + case 1: + num = (_fateController.IsRunning ? (-136136926) : (-136136921)); + continue; + case 4: + return; + case 8: + obj = _seasonalDutyController.TaskQueue; + break; + case 14: + obj = _customDeliveryController.TaskQueue; + break; + case 13: + num = -136136927; + continue; + case 6: + obj = _fateController.TaskQueue; + break; + case 10: + num = (_fishingController.IsRunning ? (-136136908) : (-136136913)); + continue; + case 11: + num = (_customDeliveryController.IsRunning ? (-136136918) : (-136136915)); + continue; + case 16: + obj = _fishingController.TaskQueue; + break; + case 9: + obj = null; + break; + case 15: + obj = _questController.TaskQueue; + break; + } + taskQueue = (TaskQueue)obj; + num = ((taskQueue == null) ? (-136136924) : (-136136925)); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] private void OnToast(ref SeString message, ref ToastOptions options, ref bool isHandled) { - _logger.LogTrace("Normal Toast: {Message}", message); + _200C_206F_202A_200E_202E_200F_200F_200B_206D_200B_202E_206E_200C_206D_206F_202E_206C_206B_206B_202C_202A_200B_200B_200C_206B_200F_200F_206F_202A_202B_200D_202E_200D_206B_200E_202E_200D_202C_200C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-431443724), new object[1] { message }); } + [MethodImpl(MethodImplOptions.NoInlining)] private void OnErrorToast(ref SeString message, ref bool isHandled) { - _logger.LogTrace("Error Toast: {Message}", message); + _200C_206F_202A_200E_202E_200F_200F_200B_206D_200B_202E_206E_200C_206D_206F_202E_206C_206B_206B_202C_202A_200B_200B_200C_206B_200F_200F_206F_202A_202B_200D_202E_200D_206B_200E_202E_200D_202C_200C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(953946217), new object[1] { 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); } + [MethodImpl(MethodImplOptions.NoInlining)] private void OnQuestToast(ref SeString message, ref QuestToastOptions options, ref bool isHandled) { - _logger.LogTrace("Quest Toast: {Message}", message); + _200C_206F_202A_200E_202E_200F_200F_200B_206D_200B_202E_206E_200C_206D_206F_202E_206C_206B_206B_202C_202A_200B_200B_200C_206B_200F_200F_206F_202A_202B_200D_202E_200D_206B_200E_202E_200D_202C_200C_200D_202E((ILogger)_logger, global::_003CModule_003E._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(-364597471), new object[1] { message }); } private void ToggleQuestWindow() { - if (_configuration.IsPluginSetupComplete()) + int num = ((!_configuration.IsPluginSetupComplete()) ? (-710409484) : (-710409483)); + while (true) { - _questWindow.ToggleOrUncollapse(); - } - else - { - _oneTimeSetupWindow.IsOpenAndUncollapsed = true; + int num2 = num; + int num3 = -710409484; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004b; + case 0: + _202B_200C_200D_200B_202D_202C_200B_202A_206C_206A_200E_202B_202E_202D_206C_206E_202B_200E_200D_206E_200E_206D_200F_206D_200E_206D_202B_206F_206C_206A_200B_206F_200B_206F_202A_206B_206C_200F_206E_202A_202E((LWindow)_oneTimeSetupWindow, true); + return; + case 1: + _206E_206C_200F_206B_206E_200C_202A_206C_200F_200C_206F_206B_200C_206D_206C_200D_202A_206E_202D_206B_200C_202B_206B_200F_206E_206C_202B_206C_202D_202E_206E_206C_206F_206E_206F_206D_202D_202E_202C_202D_202E((LWindow)_questWindow); + return; + } + continue; + IL_004b: + num = -710409483; } } public void Dispose() { - _toastGui.QuestToast -= OnQuestToast; - _toastGui.ErrorToast -= OnErrorToast; - _toastGui.Toast -= OnToast; - _framework.Update -= FrameworkUpdate; - _pluginInterface.UiBuilder.OpenConfigUi -= _configWindow.Toggle; - _pluginInterface.UiBuilder.OpenMainUi -= ToggleQuestWindow; - _pluginInterface.UiBuilder.Draw -= _windowSystem.Draw; - _windowSystem.RemoveAllWindows(); + _202E_206E_200E_202C_206B_206D_202C_202A_202B_202C_202B_202A_202A_202B_200D_202E_200C_202E_202D_202B_202A_202E_206E_206E_200F_206E_206F_206A_202C_206D_206A_200F_206D_206F_206D_206D_206C_200D_200C_202C_202E(_toastGui, (IToastGui.OnQuestToastDelegate)OnQuestToast); + _206D_200F_206C_202E_206A_202A_200D_202C_206D_202E_200C_200D_206A_206E_206E_202A_206B_200D_200D_200E_206D_206F_202C_202B_206E_202D_206D_200B_200C_200E_206F_200E_202E_202E_202A_200D_202E_202A_206D_202E(_toastGui, (IToastGui.OnErrorToastDelegate)OnErrorToast); + _202D_200C_200C_202D_200F_202D_202A_200B_200E_200C_202D_202C_200C_202D_206D_200B_202D_206A_206B_200D_202E_206F_206F_206E_200D_200F_200F_206B_200D_206F_200C_206C_200C_202A_206A_202C_200C_200E_206E_206C_202E(_toastGui, (IToastGui.OnNormalToastDelegate)OnToast); + _206E_202C_202C_206C_202B_200E_202A_202A_200D_206E_206C_202D_202E_200F_206E_206E_200B_202C_202B_202A_202E_206F_200D_202D_202D_202D_206C_202D_202E_206B_200D_200C_202D_202C_202A_206A_206A_206F_206A_200C_202E(_framework, (IFramework.OnUpdateDelegate)FrameworkUpdate); + _200C_202A_200D_200E_200C_200C_206D_206F_200F_206B_200D_206A_206B_206F_206C_202E_200D_202B_200F_206E_206F_206F_200C_200B_200E_206D_202D_202D_202C_202B_206B_206C_202E_200D_206F_206E_200E_202E_206A_206C_202E(_200E_202E_200B_200D_202C_200E_202E_202A_202B_200C_206A_202C_206C_206C_206A_202A_202E_206D_200D_200F_206F_206A_202C_202D_200E_200D_202E_200C_200D_206F_202E_200C_206D_200D_206A_206C_202E_202C_200C_202E(_pluginInterface), (Action)_configWindow.Toggle); + _200C_202A_206E_200B_202B_200B_202B_202C_200B_206D_206E_202B_202D_206D_200E_200E_202A_202A_200D_206F_202E_202D_200C_206F_202B_206E_200B_206E_206C_202B_200E_206C_200B_200C_202D_202A_200C_202A_202E_202D_202E(_200E_202E_200B_200D_202C_200E_202E_202A_202B_200C_206A_202C_206C_206C_206A_202A_202E_206D_200D_200F_206F_206A_202C_202D_200E_200D_202E_200C_200D_206F_202E_200C_206D_200D_206A_206C_202E_202C_200C_202E(_pluginInterface), (Action)ToggleQuestWindow); + _206D_206B_206F_200C_206F_206A_206B_200B_202E_202D_202A_206C_206D_206B_200C_200C_202A_206D_202A_206A_206E_202B_200F_206A_202C_206B_200C_200C_200F_200E_206F_202A_206D_202D_202D_206E_206A_202D_202B_206A_202E(_200E_202E_200B_200D_202C_200E_202E_202A_202B_200C_206A_202C_206C_206C_206A_202A_202E_206D_200D_200F_206F_206A_202C_202D_200E_200D_202E_200C_200D_206F_202E_200C_206D_200D_206A_206C_202E_202C_200C_202E(_pluginInterface), (Action)_windowSystem.Draw); + _200D_200C_206E_200C_202C_200F_200F_202A_206B_202E_206B_206F_200D_200F_202C_200C_202C_202E_206B_202E_206E_202B_202A_206A_202E_202E_202E_206E_200E_206B_206C_202E_202E_200D_202D_200D_200E_200D_202D_206D_202E(_windowSystem); + } + + void IDisposable.Dispose() + { + //ILSpy generated this explicit interface implementation from .override directive in Dispose + this.Dispose(); + } + + static void _206F_206D_200B_206C_200C_202A_206F_206D_206F_206F_206F_206A_202B_200B_200F_200D_206F_202A_202A_200F_206C_202D_200F_206B_206D_202C_206C_202B_202D_206C_200B_202D_202A_202B_200F_206B_202A_202A_206D_202B_202E(WindowSystem P_0, IWindow P_1) + { + P_0.AddWindow(P_1); + } + + static IUiBuilder _200E_202E_200B_200D_202C_200E_202E_202A_202B_200C_206A_202C_206C_206C_206A_202A_202E_206D_200D_200F_206F_206A_202C_202D_200E_200D_202E_200C_200D_206F_202E_200C_206D_200D_206A_206C_202E_202C_200C_202E(IDalamudPluginInterface P_0) + { + return P_0.UiBuilder; + } + + static void _206E_200C_202B_202D_206A_206F_202C_200C_206D_200E_202A_202B_202E_206D_200E_206A_202D_202B_202B_206D_202B_206D_200B_202C_200F_200F_202A_206F_206E_202D_202A_202D_202B_200F_200F_206E_202A_200C_206C_206C_202E(IUiBuilder P_0, Action P_1) + { + P_0.Draw += P_1; + } + + static void _202A_202D_202D_202A_206D_206E_200C_202D_206F_200B_202C_202E_202A_200B_202B_206E_200C_202D_200F_200E_202A_202C_202E_202B_206E_206D_206A_206C_206A_206F_200D_206C_206A_206F_206A_200F_200E_206F_202D_206B_202E(IUiBuilder P_0, Action P_1) + { + P_0.OpenMainUi += P_1; + } + + static void _206B_200F_200D_202B_206D_200D_202C_200F_202B_206C_206E_202C_206A_206A_200D_206F_200E_206D_206C_202A_200E_206A_202D_200E_200E_202D_200E_206D_202C_202A_206E_206C_206B_206E_200C_206E_202B_206A_202D_202E_202E(IUiBuilder P_0, Action P_1) + { + P_0.OpenConfigUi += P_1; + } + + static void _206C_202E_202B_200F_202E_202A_206D_206E_206F_202A_206A_202C_202D_200D_202A_206C_202D_202A_200D_200E_206E_206D_202A_200C_206A_206A_202B_202B_202C_206B_206A_202A_206A_200B_202C_200C_202D_206A_206E_200F_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update += P_1; + } + + static void _206A_202B_206D_202E_206C_206B_202C_200F_206B_206B_206B_200B_202B_200C_200E_200C_200E_200D_206E_200F_206E_202A_202C_202A_206F_202D_200B_200D_206A_206D_206B_206F_206C_200E_200C_202C_200E_202E_200C_206C_202E(IToastGui P_0, IToastGui.OnNormalToastDelegate P_1) + { + P_0.Toast += P_1; + } + + static void _202E_202E_200C_206A_202E_206C_200B_206B_206B_202E_200E_202C_202A_200B_200E_206F_202A_206E_202C_200E_206D_206E_206A_206B_206D_200E_202C_202E_200E_202B_200F_200E_200E_206C_202E_206F_200B_202B_202D_202E_202E(IToastGui P_0, IToastGui.OnErrorToastDelegate P_1) + { + P_0.ErrorToast += P_1; + } + + static void _200D_206D_206E_206A_202B_202B_202A_206A_206C_206C_206D_206E_202A_202E_206B_200C_206F_200C_200B_200E_206A_202C_200B_200D_200F_206C_200F_200E_200E_202B_206A_202D_206B_206D_202C_206E_202E_206E_202C_202E_202E(IToastGui P_0, IToastGui.OnQuestToastDelegate P_1) + { + P_0.QuestToast += P_1; + } + + static string _206F_200B_206C_202C_206D_202B_206F_202A_202E_202B_200E_202B_200E_206D_202D_206B_202B_200C_202A_206A_200F_206C_206C_202D_202B_200C_200E_200F_206F_202E_202C_202E_200F_206F_206C_202C_206C_202B_202D_202D_202E(Exception P_0) + { + return P_0.Message; + } + + static void _206F_206A_200E_206D_200F_202A_200D_200F_200E_202C_206A_206B_202D_202E_200D_202D_202A_200B_206F_202E_200F_202B_206A_202A_200B_200E_206E_200C_200D_202B_206E_202D_206F_206A_202B_202C_200C_206D_200B_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _206B_200B_202E_200F_206F_200D_200D_202B_202E_200F_202A_200E_202C_202D_202D_200B_206C_202E_206B_200F_202E_200C_202B_200B_200B_206B_206E_206D_206A_206B_206D_200F_206D_202C_206F_206A_202D_206F_202A_202E_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogWarning(P_1, P_2, P_3); + } + + static void _200C_206F_202A_200E_202E_200F_200F_200B_206D_200B_202E_206E_200C_206D_206F_202E_206C_206B_206B_202C_202A_200B_200B_200C_206B_200F_200F_206F_202A_202B_200D_202E_200D_206B_200E_202E_200D_202C_200C_200D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static void _206E_206C_200F_206B_206E_200C_202A_206C_200F_200C_206F_206B_200C_206D_206C_200D_202A_206E_202D_206B_200C_202B_206B_200F_206E_206C_202B_206C_202D_202E_206E_206C_206F_206E_206F_206D_202D_202E_202C_202D_202E(LWindow P_0) + { + P_0.ToggleOrUncollapse(); + } + + static void _202B_200C_200D_200B_202D_202C_200B_202A_206C_206A_200E_202B_202E_202D_206C_206E_202B_200E_200D_206E_200E_206D_200F_206D_200E_206D_202B_206F_206C_206A_200B_206F_200B_206F_202A_206B_206C_200F_206E_202A_202E(LWindow P_0, bool P_1) + { + P_0.IsOpenAndUncollapsed = P_1; + } + + static void _202E_206E_200E_202C_206B_206D_202C_202A_202B_202C_202B_202A_202A_202B_200D_202E_200C_202E_202D_202B_202A_202E_206E_206E_200F_206E_206F_206A_202C_206D_206A_200F_206D_206F_206D_206D_206C_200D_200C_202C_202E(IToastGui P_0, IToastGui.OnQuestToastDelegate P_1) + { + P_0.QuestToast -= P_1; + } + + static void _206D_200F_206C_202E_206A_202A_200D_202C_206D_202E_200C_200D_206A_206E_206E_202A_206B_200D_200D_200E_206D_206F_202C_202B_206E_202D_206D_200B_200C_200E_206F_200E_202E_202E_202A_200D_202E_202A_206D_202E(IToastGui P_0, IToastGui.OnErrorToastDelegate P_1) + { + P_0.ErrorToast -= P_1; + } + + static void _202D_200C_200C_202D_200F_202D_202A_200B_200E_200C_202D_202C_200C_202D_206D_200B_202D_206A_206B_200D_202E_206F_206F_206E_200D_200F_200F_206B_200D_206F_200C_206C_200C_202A_206A_202C_200C_200E_206E_206C_202E(IToastGui P_0, IToastGui.OnNormalToastDelegate P_1) + { + P_0.Toast -= P_1; + } + + static void _206E_202C_202C_206C_202B_200E_202A_202A_200D_206E_206C_202D_202E_200F_206E_206E_200B_202C_202B_202A_202E_206F_200D_202D_202D_202D_206C_202D_202E_206B_200D_200C_202D_202C_202A_206A_206A_206F_206A_200C_202E(IFramework P_0, IFramework.OnUpdateDelegate P_1) + { + P_0.Update -= P_1; + } + + static void _200C_202A_200D_200E_200C_200C_206D_206F_200F_206B_200D_206A_206B_206F_206C_202E_200D_202B_200F_206E_206F_206F_200C_200B_200E_206D_202D_202D_202C_202B_206B_206C_202E_200D_206F_206E_200E_202E_206A_206C_202E(IUiBuilder P_0, Action P_1) + { + P_0.OpenConfigUi -= P_1; + } + + static void _200C_202A_206E_200B_202B_200B_202B_202C_200B_206D_206E_202B_202D_206D_200E_200E_202A_202A_200D_206F_202E_202D_200C_206F_202B_206E_200B_206E_206C_202B_200E_206C_200B_200C_202D_202A_200C_202A_202E_202D_202E(IUiBuilder P_0, Action P_1) + { + P_0.OpenMainUi -= P_1; + } + + static void _206D_206B_206F_200C_206F_206A_206B_200B_202E_202D_202A_206C_206D_206B_200C_200C_202A_206D_202A_206A_206E_202B_200F_206A_202C_206B_200C_200C_200F_200E_206F_202A_206D_202D_202D_206E_206A_202D_202B_206A_202E(IUiBuilder P_0, Action P_1) + { + P_0.Draw -= P_1; + } + + static void _200D_200C_206E_200C_202C_200F_200F_202A_206B_202E_206B_206F_200D_200F_202C_200C_202C_202E_206B_202E_206E_202B_202A_206A_202E_202E_202E_206E_200E_206B_206C_202E_202E_200D_202D_200D_200E_200D_202D_206D_202E(WindowSystem P_0) + { + P_0.RemoveAllWindows(); } } diff --git a/Questionable/Questionable/QuestionablePlugin.cs b/Questionable/Questionable/QuestionablePlugin.cs index 2f43604a..2576b00a 100644 --- a/Questionable/Questionable/QuestionablePlugin.cs +++ b/Questionable/Questionable/QuestionablePlugin.cs @@ -1,15 +1,30 @@ using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; using System.Linq; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Threading; +using System.Threading.Tasks; +using Dalamud.Configuration; using Dalamud.Interface.Windowing; using Dalamud.Plugin; using Dalamud.Plugin.Services; using LLib; +using LLib.GameData; using LLib.Gear; +using LLib.ImGui; +using LLib.Logging; +using LLib.Notifications; using LLib.Shop; +using Lumina; +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,56 +36,747 @@ 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.Model.Gathering; +using Questionable.Model.Questing; +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; +using SmartNav.Model.Navigation; namespace Questionable; -public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable +public sealed class QuestionablePlugin : IAsyncDalamudPlugin, IAsyncDisposable { - private readonly ServiceProvider? _serviceProvider; + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + public static System.Action _003C_003E9__22_0; + + public static Func _003C_003E9__22_7; + + public static Func _003C_003E9__22_3; + + public static Func _003C_003E9__22_4; + + public static Func _003C_003E9__22_5; + + public static Func _003C_003E9__22_6; + + public static Func _003C_003E9__24_0; + + public static Func _003C_003E9__24_1; + + public static Func _003C_003E9__26_0; + + public static Func _003C_003E9__26_1; + + public static Func _003C_003E9__26_2; + + public static Func _003C_003E9__28_0; + + internal void _003CLoadAsync_003Eb__22_0() + { + try + { + _206D_200F_206A_206E_202A_206D_202E_206A_202E_206F_202D_200E_202B_206B_202A_202B_200F_200C_202D_206A_206D_206C_200C_200B_200E_200B_206E_200D_202D_200C_200C_200E_200C_206C_206C_206B_206A_200D_202E_202C_202E(); + _200F_202D_200F_206B_206C_202C_206D_200C_206F_200E_202D_202C_202D_202E_202D_206B_200C_206B_206D_206E_206E_200D_206C_200F_206F_206D_206B_200D_202A_202B_202D_202D_202E_200F_200C_206B_206A_206E_202A_206D_202E(); + _202B_206B_206C_202D_200C_206C_200D_200E_206C_202D_202D_206D_202B_200E_200E_206F_200D_200B_206F_206D_202A_200D_202E_200E_206F_206E_202C_200F_200D_202B_202C_202C_200D_200C_200E_206A_202A_200B_200D_202E(); + _200F_200B_200C_206E_200B_206A_200B_202E_200D_200E_202D_200C_200D_202D_206F_206D_200E_206B_200E_206E_200E_200F_206F_206F_206D_200F_206A_206E_202D_202E_200E_206F_206A_200C_202C_206D_200E_202C_206E_200F_202E(); + } + catch (Exception) + { + } + } + + internal string? _003CLoadAsync_003Eb__22_7(string t) + { + if (t == null) + { + return null; + } + return _202E_206B_202D_206A_206B_206D_200C_202B_200D_206A_202C_206D_202A_200B_202B_206A_206A_202C_202D_202C_206D_202B_202D_206B_206E_200F_206D_206A_200B_200C_206C_200F_206D_202E_206E_200C_202D_200D_206A_202A_202E(t, _200C_200D_202A_202A_202D_206C_202D_200D_202A_200E_206E_206F_206A_202A_206A_200D_206E_206E_202A_200B_202A_206D_200F_200C_202E_202E_206E_206D_200B_202B_202E_200D_206D_206E_206A_202C_206F_202B_206A_200D_202E(t, '.') + 1); + } + + internal TimeSpan? _003CLoadAsync_003Eb__22_3() + { + return _200B_206D_202E_206A_206F_206A_202D_202C_202C_206E_202E_206A_206D_200B_206A_206C_200E_206F_202C_200E_206F_202B_202C_202E_206A_206F_206D_200B_202E_206A_206A_202A_200E_202C_202C_200D_200F_200D_206D_200D_202E(); + } + + internal TimeSpan? _003CLoadAsync_003Eb__22_4() + { + return _202D_200D_206F_202A_202D_200E_206D_202A_202C_206F_206E_200D_200B_206E_206A_202D_206A_200D_202E_202E_200D_200C_200C_202E_202E_202C_200F_202E_206C_202C_206A_202E_202B_200F_206B_206A_200C_206A_206A_200D_202E(); + } + + internal TimeSpan? _003CLoadAsync_003Eb__22_5() + { + return _202B_200F_202E_202E_202B_206C_202D_206E_206F_200D_206B_200D_200E_206F_206D_200F_206C_200C_200D_202C_206E_202E_206D_202E_206C_206C_206F_206C_206E_202C_200C_206A_206B_200E_200B_200C_202E_202A_202B_200C_202E(); + } + + internal TimeSpan? _003CLoadAsync_003Eb__22_6() + { + return _206F_200D_202B_202A_206C_206D_200C_200C_202E_202D_206A_202C_200F_206B_200D_206B_202E_202E_202B_202E_206B_202B_200B_202D_202E_202B_200C_202A_206C_200C_206A_202B_206D_202B_206E_202E_202A_202B_202D_206B_202E(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal SmartNavDataOptions _003CAddBasicFunctionsAndData_003Eb__24_0(IServiceProvider sp) + { + IDalamudPluginInterface requiredService = sp.GetRequiredService(); + DirectoryInfo directoryInfo = null; + _202D_200E_202B_202B_206C_202D_200B_206F_206E_202D_206B_202C_202B_206B_206A_200D_202C_202C_200D_200D_200D_202A_206B_200C_200E_206B_200D_206B_206C_202D_206E_200D_202D_206C_200C_206D_200C_206C_206D_200D_202E(_200D_202E_202D_202A_206F_206D_206F_206E_200F_200D_200B_202C_200B_206B_206E_200F_200C_200C_200D_200F_206A_200B_202D_206C_206B_206D_202C_206A_200D_202C_202A_202E_206D_206B_202E_200F_206F_202B_200B_206F_202E(sp.GetRequiredService())).TryGetValue(global::_003CModule_003E._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(1893535850), out Repository value); + return _200C_206E_206F_200F_202E_202A_200C_200F_202D_202A_202A_206A_202D_206D_202D_206C_206F_202C_200E_202A_200F_202E_200C_200D_206E_200E_200E_200F_200F_206D_200F_202B_206B_206D_200B_202A_202C_200C_206B_206E_202E(_200C_206D_206F_202A_200F_206A_202E_202C_206C_206F_200D_206A_202D_200B_200D_206A_200D_206F_206C_206D_202B_202E_200B_200C_206B_202C_200C_206A_202D_206B_206E_206C_206F_200F_200E_206C_202C_206A_202B_200D_202E(requiredService), directoryInfo, (value != null) ? _206E_206D_206D_202A_200C_202C_200B_202A_200B_202D_200C_200F_202C_206D_202D_206F_200D_200B_200B_202A_206F_202D_202C_206B_202C_206B_202C_202A_202E_200B_206C_206F_202E_202C_202E_200B_206E_202D_206F_202A_202E(value) : null); + } + + internal ITerritoryInfo _003CAddBasicFunctionsAndData_003Eb__24_1(IServiceProvider sp) + { + return sp.GetRequiredService(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + internal NpcPositionCacheOptions _003CAddControllers_003Eb__26_0(IServiceProvider sp) + { + _202D_200E_202B_202B_206C_202D_200B_206F_206E_202D_206B_202C_202B_206B_206A_200D_202C_202C_200D_200D_200D_202A_206B_200C_200E_206B_200D_206B_206C_202D_206E_200D_202D_206C_200C_206D_200C_206C_206D_200D_202E(_200D_202E_202D_202A_206F_206D_206F_206E_200F_200D_200B_202C_200B_206B_206E_200F_200C_200C_200D_200F_206A_200B_202D_206C_206B_206D_202C_206A_200D_202C_202A_202E_206D_206B_202E_200F_206F_202B_200B_206F_202E(sp.GetRequiredService())).TryGetValue(global::_003CModule_003E._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(-1502740136), out Repository value); + NpcPositionCacheOptions npcPositionCacheOptions = _206F_206C_206C_206F_206B_202D_202E_206C_206B_202A_202C_200F_206D_206D_202D_202E_200D_200C_202C_202D_202C_200B_202B_206A_202E_202B_206E_206A_206E_200D_200E_202B_200C_206B_206B_202D_200D_206A_200F_200D_202E(); + _206C_206F_200B_206D_206E_206A_202B_200B_206C_206F_206F_202D_206C_202B_202A_206D_200B_200D_200F_202B_202C_200D_202E_200E_206A_200D_206E_200D_200D_206F_200E_202E_206B_200B_200E_206F_200C_202D_200B_202D_202E(npcPositionCacheOptions, _206A_200D_206D_200D_206F_202B_202D_202E_200D_202A_200D_200B_202A_200F_200E_200B_202E_200C_206A_206C_200B_202D_206D_200F_200D_202A_202E_206D_206E_206D_200C_206E_206B_206C_202C_202D_206D_202A_202B_200D_202E((FileSystemInfo)_200C_206D_206F_202A_200F_206A_202E_202C_206C_206F_200D_206A_202D_200B_200D_206A_200D_206F_206C_206D_202B_202E_200B_200C_206B_202C_200C_206A_202D_206B_206E_206C_206F_200F_200E_206C_202C_206A_202B_200D_202E(sp.GetRequiredService()))); + _200E_206E_202B_202B_200C_200B_206D_202D_200E_206F_200F_202D_202D_202E_206F_206E_200F_206B_206E_200F_202A_206A_206E_200D_206F_206B_202B_206B_200F_206F_202D_202A_206A_202A_202C_206C_206E_206B_206C_202C_202E(npcPositionCacheOptions, (value != null) ? _206E_206D_206D_202A_200C_202C_200B_202A_200B_202D_200C_200F_202C_206D_202D_206F_200D_200B_200B_202A_206F_202D_202C_206B_202C_206B_202C_202A_202E_200B_206C_206F_202E_202C_202E_200B_206E_202D_206F_202A_202E(value) : null); + _200C_200E_200E_200F_200B_200E_202D_206D_206E_206E_206E_202D_206F_200C_206C_202C_200E_206A_206F_200B_200D_206F_202A_206A_206A_200D_206D_206B_200B_206F_202D_206C_202E_206F_200D_206D_206B_202E_202B_206B_202E(npcPositionCacheOptions, TimeSpan.FromMilliseconds(10L)); + return npcPositionCacheOptions; + } + + internal ICombatModule _003CAddControllers_003Eb__26_1(IServiceProvider sp) + { + return sp.GetRequiredService(); + } + + internal ICombatModule _003CAddControllers_003Eb__26_2(IServiceProvider sp) + { + return sp.GetRequiredService(); + } + + internal IQuestValidator _003CAddQuestValidators_003Eb__28_0(IServiceProvider sp) + { + return sp.GetRequiredService(); + } + + static IReadOnlyDictionary _206D_200F_206A_206E_202A_206D_202E_206A_202E_206F_202D_200E_202B_206B_202A_202B_200F_200C_202D_206A_206D_206C_200C_200B_200E_200B_206E_200D_202D_200C_200C_200E_200C_206C_206C_206B_206A_200D_202E_202C_202E() + { + return AssemblyQuestLoader.GetQuests(); + } + + static IReadOnlyDictionary _200F_202D_200F_206B_206C_202C_206D_200C_206F_200E_202D_202C_202D_202E_202D_206B_200C_206B_206D_206E_206E_200D_206C_200F_206F_206D_206B_200D_202A_202B_202D_202D_202E_200F_200C_206B_206A_206E_202A_206D_202E() + { + return AssemblyGatheringLocationLoader.GetLocations(); + } + + static IReadOnlyDictionary _202B_206B_206C_202D_200C_206C_200D_200E_206C_202D_202D_206D_202B_200E_200E_206F_200D_200B_206F_206D_202A_200D_202E_200E_206F_206E_202C_200F_200D_202B_202C_202C_200D_200C_200E_206A_202A_200B_200D_202E() + { + return AssemblyFateDefinitionLoader.GetDefinitions(); + } + + static IReadOnlyDictionary _200F_200B_200C_206E_200B_206A_200B_202E_200D_200E_202D_200C_200D_202D_206F_206D_200E_206B_200E_206E_200E_200F_206F_206F_206D_200F_206A_206E_202D_202E_200E_206F_206A_200C_202C_206D_200E_202C_206E_200F_202E() + { + return AssemblySeasonalDutyDefinitionLoader.GetDefinitions(); + } + + static int _200C_200D_202A_202A_202D_206C_202D_200D_202A_200E_206E_206F_206A_202A_206A_200D_206E_206E_202A_200B_202A_206D_200F_200C_202E_202E_206E_206D_200B_202B_202E_200D_206D_206E_206A_202C_206F_202B_206A_200D_202E(string P_0, char P_1) + { + return P_0.LastIndexOf(P_1); + } + + static string _202E_206B_202D_206A_206B_206D_200C_202B_200D_206A_202C_206D_202A_200B_202B_206A_206A_202C_202D_202C_206D_202B_202D_206B_206E_200F_206D_206A_200B_200C_206C_200F_206D_202E_206E_200C_202D_200D_206A_202A_202E(string P_0, int P_1) + { + return P_0.Substring(P_1); + } + + static TimeSpan? _200B_206D_202E_206A_206F_206A_202D_202C_202C_206E_202E_206A_206D_200B_206A_206C_200E_206F_202C_200E_206F_202B_202C_202E_206A_206F_206D_200B_202E_206A_206A_202A_200E_202C_202C_200D_200F_200D_206D_200D_202E() + { + return AssemblyQuestLoader.DecodeDuration; + } + + static TimeSpan? _202D_200D_206F_202A_202D_200E_206D_202A_202C_206F_206E_200D_200B_206E_206A_202D_206A_200D_202E_202E_200D_200C_200C_202E_202E_202C_200F_202E_206C_202C_206A_202E_202B_200F_206B_206A_200C_206A_206A_200D_202E() + { + return AssemblyGatheringLocationLoader.DecodeDuration; + } + + static TimeSpan? _202B_200F_202E_202E_202B_206C_202D_206E_206F_200D_206B_200D_200E_206F_206D_200F_206C_200C_200D_202C_206E_202E_206D_202E_206C_206C_206F_206C_206E_202C_200C_206A_206B_200E_200B_200C_202E_202A_202B_200C_202E() + { + return AssemblyFateDefinitionLoader.DecodeDuration; + } + + static TimeSpan? _206F_200D_202B_202A_206C_206D_200C_200C_202E_202D_206A_202C_200F_206B_200D_206B_202E_202E_202B_202E_206B_202B_200B_202D_202E_202B_200C_202A_206C_200C_206A_202B_206D_202B_206E_202E_202A_202B_202D_206B_202E() + { + return AssemblySeasonalDutyDefinitionLoader.DecodeDuration; + } + + static GameData _200D_202E_202D_202A_206F_206D_206F_206E_200F_200D_200B_202C_200B_206B_206E_200F_200C_200C_200D_200F_206A_200B_202D_206C_206B_206D_202C_206A_200D_202C_202A_202E_206D_206B_202E_200F_206F_202B_200B_206F_202E(IDataManager P_0) + { + return P_0.GameData; + } + + static Dictionary _202D_200E_202B_202B_206C_202D_200B_206F_206E_202D_206B_202C_202B_206B_206A_200D_202C_202C_200D_200D_200D_202A_206B_200C_200E_206B_200D_206B_206C_202D_206E_200D_202D_206C_200C_206D_200C_206C_206D_200D_202E(GameData P_0) + { + return P_0.Repositories; + } + + static DirectoryInfo _200C_206D_206F_202A_200F_206A_202E_202C_206C_206F_200D_206A_202D_200B_200D_206A_200D_206F_206C_206D_202B_202E_200B_200C_206B_202C_200C_206A_202D_206B_206E_206C_206F_200F_200E_206C_202C_206A_202B_200D_202E(IDalamudPluginInterface P_0) + { + return P_0.ConfigDirectory; + } + + static string _206E_206D_206D_202A_200C_202C_200B_202A_200B_202D_200C_200F_202C_206D_202D_206F_200D_200B_200B_202A_206F_202D_202C_206B_202C_206B_202C_202A_202E_200B_206C_206F_202E_202C_202E_200B_206E_202D_206F_202A_202E(Repository P_0) + { + return P_0.Version; + } + + static SmartNavDataOptions _200C_206E_206F_200F_202E_202A_200C_200F_202D_202A_202A_206A_202D_206D_202D_206C_206F_202C_200E_202A_200F_202E_200C_200D_206E_200E_200E_200F_200F_206D_200F_202B_206B_206D_200B_202A_202C_200C_206B_206E_202E(DirectoryInfo P_0, DirectoryInfo P_1, string P_2) + { + return new SmartNavDataOptions(P_0, P_1, P_2); + } + + static NpcPositionCacheOptions _206F_206C_206C_206F_206B_202D_202E_206C_206B_202A_202C_200F_206D_206D_202D_202E_200D_200C_202C_202D_202C_200B_202B_206A_202E_202B_206E_206A_206E_200D_200E_202B_200C_206B_206B_202D_200D_206A_200F_200D_202E() + { + return new NpcPositionCacheOptions(); + } + + static string _206A_200D_206D_200D_206F_202B_202D_202E_200D_202A_200D_200B_202A_200F_200E_200B_202E_200C_206A_206C_200B_202D_206D_200F_200D_202A_202E_206D_206E_206D_200C_206E_206B_206C_202C_202D_206D_202A_202B_200D_202E(FileSystemInfo P_0) + { + return P_0.FullName; + } + + static void _206C_206F_200B_206D_206E_206A_202B_200B_206C_206F_206F_202D_206C_202B_202A_206D_200B_200D_200F_202B_202C_200D_202E_200E_206A_200D_206E_200D_200D_206F_200E_202E_206B_200B_200E_206F_200C_202D_200B_202D_202E(NpcPositionCacheOptions P_0, string P_1) + { + P_0.CacheDirectory = P_1; + } + + static void _200E_206E_202B_202B_200C_200B_206D_202D_200E_206F_200F_202D_202D_202E_206F_206E_200F_206B_206E_200F_202A_206A_206E_200D_206F_206B_202B_206B_200F_206F_202D_202A_206A_202A_202C_206C_206E_206B_206C_202C_202E(NpcPositionCacheOptions P_0, string P_1) + { + P_0.GameVersion = P_1; + } + + static void _200C_200E_200E_200F_200B_200E_202D_206D_206E_206E_206E_202D_206F_200C_206C_202C_200E_206A_206F_200B_200D_206F_202A_206A_206A_200D_206D_206B_200B_206F_202D_206C_202E_206F_200D_206D_206B_202E_202B_206B_202E(NpcPositionCacheOptions P_0, TimeSpan P_1) + { + P_0.ScanThrottle = P_1; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass30_0 + { + public IServiceProvider serviceProvider; + + internal QuestData _003CInitialize_003Eb__0() + { + return serviceProvider.GetRequiredService(); + } + + internal TerritoryData _003CInitialize_003Eb__1() + { + return serviceProvider.GetRequiredService(); + } + + internal GatheringData _003CInitialize_003Eb__2() + { + return serviceProvider.GetRequiredService(); + } + + internal AetheryteData _003CInitialize_003Eb__3() + { + return serviceProvider.GetRequiredService(); + } + + internal AetherCurrentData _003CInitialize_003Eb__4() + { + return serviceProvider.GetRequiredService(); + } + + internal DutyUnlockData _003CInitialize_003Eb__5() + { + return serviceProvider.GetRequiredService(); + } + + internal FishingData _003CInitialize_003Eb__6() + { + return serviceProvider.GetRequiredService(); + } + + internal AlliedSocietyData _003CInitialize_003Eb__7() + { + return serviceProvider.GetRequiredService(); + } + + internal WarpDataService _003CInitialize_003Eb__8() + { + return serviceProvider.GetRequiredService(); + } + + internal TaxiStandDataService _003CInitialize_003Eb__9() + { + return serviceProvider.GetRequiredService(); + } + + internal ZoneSubRegionService _003CInitialize_003Eb__10() + { + return serviceProvider.GetRequiredService(); + } + + internal IReadOnlyList _003CInitialize_003Eb__11() + { + return _200F_202C_202D_202D_202B_200E_206B_202C_202B_202A_202B_202A_200F_200B_200E_200E_206D_200E_200B_200B_202E_200F_200B_200D_206E_200D_200F_202C_200E_200E_200B_202A_206D_200D_200F_202B_202D_206E_200F_206F_202E(serviceProvider.GetRequiredService()); + } + + internal GameStateHelper _003CInitialize_003Eb__12() + { + return serviceProvider.GetRequiredService(); + } + + static IReadOnlyList _200F_202C_202D_202D_202B_200E_206B_202C_202B_202A_202B_202A_200F_200B_200E_200E_206D_200E_200B_200B_202E_200F_200B_200D_206E_200D_200F_202C_200E_200E_200B_202A_206D_200D_200F_202B_202D_206E_200F_206F_202E(IZoneBoundarySource P_0) + { + return P_0.GetBoundaries(); + } + } + + [StructLayout(LayoutKind.Auto)] + [CompilerGenerated] + private struct _003CDisposeAsync_003Ed__31 : IAsyncStateMachine + { + public int _003C_003E1__state; + + public AsyncValueTaskMethodBuilder _003C_003Et__builder; + + public QuestionablePlugin _003C_003E4__this; + + private ValueTaskAwaiter _003C_003Eu__1; + + private void MoveNext() + { + int num = _003C_003E1__state; + QuestionablePlugin questionablePlugin = _003C_003E4__this; + try + { + ValueTaskAwaiter awaiter; + if (num == 0) + { + awaiter = _003C_003Eu__1; + _003C_003Eu__1 = default(ValueTaskAwaiter); + num = (_003C_003E1__state = -1); + goto IL_007e; + } + if (questionablePlugin._serviceProvider != null) + { + awaiter = _206D_200F_206B_200F_200D_200F_206E_202C_202D_200F_206C_206C_200D_206E_206A_200D_200F_206F_206C_202A_202D_200F_202C_202E_202E_200B_202E_200C_202D_202B_202E_206C_202B_200E_206F_202E_202A_202A_202D_206C_202E(questionablePlugin._serviceProvider).GetAwaiter(); + if (!awaiter.IsCompleted) + { + num = (_003C_003E1__state = 0); + _003C_003Eu__1 = awaiter; + _003C_003Et__builder.AwaitUnsafeOnCompleted(ref awaiter, ref this); + return; + } + goto IL_007e; + } + goto end_IL_000e; + IL_007e: + awaiter.GetResult(); + end_IL_000e:; + } + catch (Exception exception) + { + _003C_003E1__state = -2; + _003C_003Et__builder.SetException(exception); + return; + } + _003C_003E1__state = -2; + _003C_003Et__builder.SetResult(); + } + + void IAsyncStateMachine.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + this.MoveNext(); + } + + [DebuggerHidden] + private void SetStateMachine(IAsyncStateMachine stateMachine) + { + _003C_003Et__builder.SetStateMachine(stateMachine); + } + + void IAsyncStateMachine.SetStateMachine(IAsyncStateMachine stateMachine) + { + //ILSpy generated this explicit interface implementation from .override directive in SetStateMachine + this.SetStateMachine(stateMachine); + } + + static ValueTask _206D_200F_206B_200F_200D_200F_206E_202C_202D_200F_206C_206C_200D_206E_206A_200D_200F_206F_206C_202A_202D_200F_202C_202E_202E_200B_202E_200C_202D_202B_202E_206C_202B_200E_206F_202E_202A_202A_202D_206C_202E(ServiceProvider P_0) + { + return P_0.DisposeAsync(); + } + } + + [StructLayout(LayoutKind.Auto)] + [CompilerGenerated] + private struct _003CLoadAsync_003Ed__22 : IAsyncStateMachine + { + public int _003C_003E1__state; + + public AsyncTaskMethodBuilder _003C_003Et__builder; + + public CancellationToken cancellationToken; + + public QuestionablePlugin _003C_003E4__this; + + private Stopwatch _003CtotalStopwatch_003E5__2; + + private Stopwatch _003CproviderStopwatch_003E5__3; + + private TaskAwaiter _003C_003Eu__1; + + [MethodImpl(MethodImplOptions.NoInlining)] + private void MoveNext() + { + int num = _003C_003E1__state; + QuestionablePlugin CS_0024_003C_003E8__locals28 = _003C_003E4__this; + try + { + try + { + TaskAwaiter awaiter; + if (num != 0) + { + _003CtotalStopwatch_003E5__2 = _206D_200F_200F_202E_206D_202C_206F_206B_202B_202D_200F_200E_202B_200F_202D_200B_206C_202B_206B_200D_206C_202E_200F_200D_202E_202C_200F_206D_200C_202E_200B_200D_202E_206C_202B_206B_206B_202E_202A_206C_202E(); + _200D_202D_206A_200B_206B_200E_200C_200C_206F_206F_202B_206B_202A_202D_202B_206A_206A_202C_206A_206E_200C_200F_202B_206C_202E_202B_202E_206F_206C_202A_206C_206E_200C_200D_200F_200B_200B_206B_206C_200E_202E((System.Action)delegate + { + try + { + _003C_003Ec._206D_200F_206A_206E_202A_206D_202E_206A_202E_206F_202D_200E_202B_206B_202A_202B_200F_200C_202D_206A_206D_206C_200C_200B_200E_200B_206E_200D_202D_200C_200C_200E_200C_206C_206C_206B_206A_200D_202E_202C_202E(); + _003C_003Ec._200F_202D_200F_206B_206C_202C_206D_200C_206F_200E_202D_202C_202D_202E_202D_206B_200C_206B_206D_206E_206E_200D_206C_200F_206F_206D_206B_200D_202A_202B_202D_202D_202E_200F_200C_206B_206A_206E_202A_206D_202E(); + _003C_003Ec._202B_206B_206C_202D_200C_206C_200D_200E_206C_202D_202D_206D_202B_200E_200E_206F_200D_200B_206F_206D_202A_200D_202E_200E_206F_206E_202C_200F_200D_202B_202C_202C_200D_200C_200E_206A_202A_200B_200D_202E(); + _003C_003Ec._200F_200B_200C_206E_200B_206A_200B_202E_200D_200E_202D_200C_200D_202D_206F_206D_200E_206B_200E_206E_200E_200F_206F_206F_206D_200F_206A_206E_202D_202E_200E_206F_206A_200C_202C_206D_200E_202C_206E_200F_202E(); + } + catch (Exception) + { + } + }, cancellationToken); + ServiceCollection serviceCollection = _202B_206D_202B_202D_206D_200B_200F_206B_206E_200B_200C_206C_202C_202B_202E_200C_206A_202C_206A_206E_200B_202A_202D_200F_206E_206F_202B_206B_206E_202C_202D_202D_202B_202E_206E_202D_200D_200E_200E_202C_202E(); + _200C_206D_200D_202E_200C_202A_200E_206C_200B_200C_206F_202C_202C_206A_200E_202E_202B_200D_202C_200B_206B_200E_202E_200C_200F_202C_202A_200D_202D_202D_200B_206B_206D_206E_202D_202E_200C_200E_200D_206E_202E((IServiceCollection)serviceCollection, (Action)delegate(ILoggingBuilder builder) + { + QuestionablePlugin._200E_206D_206C_202E_206B_200D_206E_200E_206B_206E_206D_202D_200B_200D_206F_200F_200E_206E_202E_206F_202D_200F_206C_200E_200E_206B_202B_206F_206D_206E_200E_206B_202A_200D_200D_202D_202D_202D_200E_200D_202E(QuestionablePlugin._206B_202C_206A_206D_200B_200B_202D_200D_206F_202C_202C_200F_206B_202A_202B_206E_202D_206C_206D_202E_200E_202A_202E_200E_202C_202B_206E_202E_202A_200E_202B_200F_206C_202D_202E_200E_206D_202C_200F_202E(QuestionablePlugin._202C_202C_206F_206A_202E_200C_206C_200E_202D_200C_200E_200F_206E_200D_206B_200E_206A_202C_200F_200E_200D_206C_200C_202C_202A_206F_200E_206E_206C_206C_206D_202A_200D_202C_202C_200E_206D_200F_206E_206D_202E(builder, LogLevel.Trace)), (ILoggerProvider)QuestionablePlugin._206C_200C_202E_202B_200B_206E_202E_202A_202A_206F_206B_200C_206E_206A_200E_202B_206F_206B_200F_206C_200C_206D_200B_206D_206E_202A_200D_200E_202D_206D_206E_202D_200E_206C_202E_206E_206E_206F_206E_202E(CS_0024_003C_003E8__locals28._pluginLog, (Func)((string t) => (t == null) ? null : _003C_003Ec._202E_206B_202D_206A_206B_206D_200C_202B_200D_206A_202C_206D_202A_200B_202B_206A_206A_202C_202D_202C_206D_202B_202D_206B_206E_200F_206D_206A_200B_200C_206C_200F_206D_202E_206E_200C_202D_200D_206A_202A_202E(t, _003C_003Ec._200C_200D_202A_202A_202D_206C_202D_200D_202A_200E_206E_206F_206A_202A_206A_200D_206E_206E_202A_200B_202A_206D_200F_200C_202E_202E_206E_206D_200B_202B_202E_200D_206D_206E_206A_202C_206F_202B_206A_200D_202E(t, '.') + 1)))); + }); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._pluginInterface); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._clientState); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._targetManager); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._framework); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._gameGui); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._dataManager); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._sigScanner); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._objectTable); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._pluginLog); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._condition); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._chatGui); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._commandManager); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._addonLifecycle); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._keyState); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._contextMenu); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._toastGui); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._gameInteropProvider); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._aetheryteList); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._gameConfig); + serviceCollection.AddSingleton(CS_0024_003C_003E8__locals28._textureProvider); + serviceCollection.AddSingleton(_200B_206C_206E_200E_202B_202D_200D_202A_202C_202C_202B_202D_202E_202D_200C_202D_206D_206D_200B_202C_206E_206A_206D_206A_200C_200D_200E_200B_206A_200D_206A_202D_202E_202C_206F_200C_206D_206F_200C_202E(global::_003CModule_003E._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(85756196))); + Configuration configuration = ((Configuration)_202B_202C_202C_200B_200F_202A_200D_200E_206D_202A_202E_206E_200B_202E_202A_200C_202D_202B_202E_206D_206A_200B_202B_206C_206D_200D_206A_206C_200B_206C_200B_200E_206B_200E_206C_202B_200D_206E_200F_206F_202E(CS_0024_003C_003E8__locals28._pluginInterface)) ?? new Configuration(); + bool flag = configuration.Version != 3; + if (flag) + { + CS_0024_003C_003E8__locals28.BackupConfig(configuration.Version); + configuration.Version = 3; + } + if (ConfigMigration.Run(configuration) || flag) + { + _200C_202E_202B_206F_202D_200F_206C_206E_200C_206A_202C_206F_200C_202B_200E_200F_200D_206F_206D_200B_206A_200D_200F_202B_206C_202D_202A_206C_206C_206E_206C_202D_206E_202A_202B_202B_206E_202C_202E_200D_202E(CS_0024_003C_003E8__locals28._pluginInterface, (IPluginConfiguration)configuration); + } + serviceCollection.AddSingleton(configuration); + AddBasicFunctionsAndData(serviceCollection); + AddTaskFactories(serviceCollection); + AddControllers(serviceCollection); + AddWindows(serviceCollection); + AddQuestValidators(serviceCollection); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + _003CproviderStopwatch_003E5__3 = _206D_200F_200F_202E_206D_202C_206F_206B_202B_202D_200F_200E_202B_200F_202D_200B_206C_202B_206B_200D_206C_202E_200F_200D_202E_202C_200F_206D_200C_202E_200B_200D_202E_206C_202B_206B_206B_202E_202A_206C_202E(); + CS_0024_003C_003E8__locals28._serviceProvider = _206A_206D_202A_202A_200F_206B_206A_200C_202D_200E_206F_202A_200F_202B_202C_202E_200B_202D_202C_206F_202B_202A_202A_200F_202D_200B_206F_200D_200B_206F_202E_200E_202A_200B_206D_200F_206E_206F_200F_206E_202E((IServiceCollection)serviceCollection); + _202B_206D_200E_202A_202D_206C_202A_200C_202E_206F_202A_200E_206D_206F_200D_206D_200D_200C_200F_206E_202B_200E_202A_202C_202C_206A_200D_206C_206C_202C_206E_200C_202B_206E_202B_206C_202E_200F_202E_200C_202E(_003CproviderStopwatch_003E5__3); + awaiter = _200E_206D_206B_206E_206A_202C_202A_206B_202A_206A_202E_206D_206A_200E_202E_202D_206F_200E_202E_206A_202A_200C_200C_202A_202E_206B_206D_206E_200C_202C_200E_206A_202B_200B_200B_206A_200C_206C_206F_206C_202E(_200D_202D_206A_200B_206B_200E_200C_200C_206F_206F_202B_206B_202A_202D_202B_206A_206A_202C_206A_206E_200C_200F_202B_206C_202E_202B_202E_206F_206C_202A_206C_206E_200C_200D_200F_200B_200B_206B_206C_200E_202E((System.Action)delegate + { + Initialize(CS_0024_003C_003E8__locals28._serviceProvider); + }, cancellationToken)); + if (!awaiter.IsCompleted) + { + num = (_003C_003E1__state = 0); + _003C_003Eu__1 = awaiter; + _003C_003Et__builder.AwaitUnsafeOnCompleted(ref awaiter, ref this); + return; + } + } + else + { + awaiter = _003C_003Eu__1; + _003C_003Eu__1 = default(TaskAwaiter); + num = (_003C_003E1__state = -1); + } + awaiter.GetResult(); + _206E_206B_200E_202E_200B_202A_200E_200F_200F_202A_200D_202B_202B_202B_202E_206E_206B_202D_206D_200C_202C_200D_206F_206D_206B_200B_206F_200E_206F_206D_202D_206A_206B_206E_202C_206C_202A_202C_202A_202A_202E((Microsoft.Extensions.Logging.ILogger)CS_0024_003C_003E8__locals28._serviceProvider.GetRequiredService>(), global::_003CModule_003E._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(-448093395), new object[6] + { + _202E_206B_202C_200D_200B_202D_206B_202D_206D_206B_202A_206C_200D_202A_202A_206D_200F_200C_206A_200E_202D_200B_200C_200C_200D_206B_202D_206F_202C_200F_206A_202C_202C_202B_206A_206D_206F_206B_202D_206F_202E(_003CtotalStopwatch_003E5__2), + _202E_206B_202C_200D_200B_202D_206B_202D_206D_206B_202A_206C_200D_202A_202A_206D_200F_200C_206A_200E_202D_200B_200C_200C_200D_206B_202D_206F_202C_200F_206A_202C_202C_202B_206A_206D_206F_206B_202D_206F_202E(_003CproviderStopwatch_003E5__3), + DecodeMs(() => _003C_003Ec._200B_206D_202E_206A_206F_206A_202D_202C_202C_206E_202E_206A_206D_200B_206A_206C_200E_206F_202C_200E_206F_202B_202C_202E_206A_206F_206D_200B_202E_206A_206A_202A_200E_202C_202C_200D_200F_200D_206D_200D_202E()), + DecodeMs(() => _003C_003Ec._202D_200D_206F_202A_202D_200E_206D_202A_202C_206F_206E_200D_200B_206E_206A_202D_206A_200D_202E_202E_200D_200C_200C_202E_202E_202C_200F_202E_206C_202C_206A_202E_202B_200F_206B_206A_200C_206A_206A_200D_202E()), + DecodeMs(() => _003C_003Ec._202B_200F_202E_202E_202B_206C_202D_206E_206F_200D_206B_200D_200E_206F_206D_200F_206C_200C_200D_202C_206E_202E_206D_202E_206C_206C_206F_206C_206E_202C_200C_206A_206B_200E_200B_200C_202E_202A_202B_200C_202E()), + DecodeMs(() => _003C_003Ec._206F_200D_202B_202A_206C_206D_200C_200C_202E_202D_206A_202C_200F_206B_200D_206B_202E_202E_202B_202E_206B_202B_200B_202D_202E_202B_200C_202A_206C_200C_206A_202B_206D_202B_206E_202E_202A_202B_202D_206B_202E()) + }); + _003CtotalStopwatch_003E5__2 = null; + _003CproviderStopwatch_003E5__3 = null; + } + catch (Exception) + { + _200D_200D_200D_202B_202D_206A_200F_200B_200E_202D_202C_206A_202B_202B_206E_206C_202E_206E_200C_200B_200B_206B_202C_206F_206B_200D_206D_202B_200F_200C_206C_200C_202E_202A_200E_202B_206E_206E_200C_206A_202E(CS_0024_003C_003E8__locals28._chatGui, global::_003CModule_003E._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(-1159703040), global::_003CModule_003E._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(85756196), (ushort?)null); + throw; + } + } + catch (Exception exception) + { + _003C_003E1__state = -2; + _003C_003Et__builder.SetException(exception); + return; + } + _003C_003E1__state = -2; + _003C_003Et__builder.SetResult(); + } + + void IAsyncStateMachine.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + this.MoveNext(); + } + + [DebuggerHidden] + private void SetStateMachine(IAsyncStateMachine stateMachine) + { + _003C_003Et__builder.SetStateMachine(stateMachine); + } + + void IAsyncStateMachine.SetStateMachine(IAsyncStateMachine stateMachine) + { + //ILSpy generated this explicit interface implementation from .override directive in SetStateMachine + this.SetStateMachine(stateMachine); + } + + static Stopwatch _206D_200F_200F_202E_206D_202C_206F_206B_202B_202D_200F_200E_202B_200F_202D_200B_206C_202B_206B_200D_206C_202E_200F_200D_202E_202C_200F_206D_200C_202E_200B_200D_202E_206C_202B_206B_206B_202E_202A_206C_202E() + { + return Stopwatch.StartNew(); + } + + static Task _200D_202D_206A_200B_206B_200E_200C_200C_206F_206F_202B_206B_202A_202D_202B_206A_206A_202C_206A_206E_200C_200F_202B_206C_202E_202B_202E_206F_206C_202A_206C_206E_200C_200D_200F_200B_200B_206B_206C_200E_202E(System.Action P_0, CancellationToken P_1) + { + return Task.Run(P_0, P_1); + } + + static ServiceCollection _202B_206D_202B_202D_206D_200B_200F_206B_206E_200B_200C_206C_202C_202B_202E_200C_206A_202C_206A_206E_200B_202A_202D_200F_206E_206F_202B_206B_206E_202C_202D_202D_202B_202E_206E_202D_200D_200E_200E_202C_202E() + { + return new ServiceCollection(); + } + + static IServiceCollection _200C_206D_200D_202E_200C_202A_200E_206C_200B_200C_206F_202C_202C_206A_200E_202E_202B_200D_202C_200B_206B_200E_202E_200C_200F_202C_202A_200D_202D_202D_200B_206B_206D_206E_202D_202E_200C_200E_200D_206E_202E(IServiceCollection P_0, Action P_1) + { + return P_0.AddLogging(P_1); + } + + static WindowSystem _200B_206C_206E_200E_202B_202D_200D_202A_202C_202C_202B_202D_202E_202D_200C_202D_206D_206D_200B_202C_206E_206A_206D_206A_200C_200D_200E_200B_206A_200D_206A_202D_202E_202C_206F_200C_206D_206F_200C_202E(string P_0) + { + return new WindowSystem(P_0); + } + + static IPluginConfiguration _202B_202C_202C_200B_200F_202A_200D_200E_206D_202A_202E_206E_200B_202E_202A_200C_202D_202B_202E_206D_206A_200B_202B_206C_206D_200D_206A_206C_200B_206C_200B_200E_206B_200E_206C_202B_200D_206E_200F_206F_202E(IDalamudPluginInterface P_0) + { + return P_0.GetPluginConfig(); + } + + static void _200C_202E_202B_206F_202D_200F_206C_206E_200C_206A_202C_206F_200C_202B_200E_200F_200D_206F_206D_200B_206A_200D_200F_202B_206C_202D_202A_206C_206C_206E_206C_202D_206E_202A_202B_202B_206E_202C_202E_200D_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1) + { + P_0.SavePluginConfig(P_1); + } + + static ServiceProvider _206A_206D_202A_202A_200F_206B_206A_200C_202D_200E_206F_202A_200F_202B_202C_202E_200B_202D_202C_206F_202B_202A_202A_200F_202D_200B_206F_200D_200B_206F_202E_200E_202A_200B_206D_200F_206E_206F_200F_206E_202E(IServiceCollection P_0) + { + return P_0.BuildServiceProvider(); + } + + static void _202B_206D_200E_202A_202D_206C_202A_200C_202E_206F_202A_200E_206D_206F_200D_206D_200D_200C_200F_206E_202B_200E_202A_202C_202C_206A_200D_206C_206C_202C_206E_200C_202B_206E_202B_206C_202E_200F_202E_200C_202E(Stopwatch P_0) + { + P_0.Stop(); + } + + static TaskAwaiter _200E_206D_206B_206E_206A_202C_202A_206B_202A_206A_202E_206D_206A_200E_202E_202D_206F_200E_202E_206A_202A_200C_200C_202A_202E_206B_206D_206E_200C_202C_200E_206A_202B_200B_200B_206A_200C_206C_206F_206C_202E(Task P_0) + { + return P_0.GetAwaiter(); + } + + static long _202E_206B_202C_200D_200B_202D_206B_202D_206D_206B_202A_206C_200D_202A_202A_206D_200F_200C_206A_200E_202D_200B_200C_200C_200D_206B_202D_206F_202C_200F_206A_202C_202C_202B_206A_206D_206F_206B_202D_206F_202E(Stopwatch P_0) + { + return P_0.ElapsedMilliseconds; + } + + static void _206E_206B_200E_202E_200B_202A_200E_200F_200F_202A_200D_202B_202B_202B_202E_206E_206B_202D_206D_200C_202C_200D_206F_206D_206B_200B_206F_200E_206F_206D_202D_206A_206B_206E_202C_206C_202A_202C_202A_202A_202E(Microsoft.Extensions.Logging.ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _200D_200D_200D_202B_202D_206A_200F_200B_200E_202D_202C_206A_202B_202B_206E_206C_202E_206E_200C_200B_200B_206B_202C_206F_206B_200D_206D_202B_200F_200C_206C_200C_202E_202A_200E_202B_206E_206E_200C_206A_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3) + { + P_0.PrintError(P_1, P_2, P_3); + } + } + + private ServiceProvider? _serviceProvider; + + 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; + + [MethodImpl(MethodImplOptions.NoInlining)] 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"); + _206C_200F_206E_200B_200C_200B_206E_200C_206D_202E_200C_200E_200B_202C_202C_206C_206B_202B_206E_206A_206F_200C_206B_206B_202D_202B_200B_200C_202C_200B_206C_206F_202A_206B_206B_200D_202D_206E_206E_200F_202E((object)pluginInterface, global::_003CModule_003E._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(-1455256372)); + _206C_200F_206E_200B_200C_200B_206E_200C_206D_202E_200C_200E_200B_202C_202C_206C_206B_202B_206E_206A_206F_200C_206B_206B_202D_202B_200B_200C_202C_200B_206C_206F_202A_206B_206B_200D_202D_206E_206E_200F_202E((object)chatGui, global::_003CModule_003E._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(-1831268324)); + _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 { - ServiceCollection serviceCollection = new ServiceCollection(); - serviceCollection.AddLogging(delegate(ILoggingBuilder builder) + Stopwatch totalStopwatch = _003CLoadAsync_003Ed__22._206D_200F_200F_202E_206D_202C_206F_206B_202B_202D_200F_200E_202B_200F_202D_200B_206C_202B_206B_200D_206C_202E_200F_200D_202E_202C_200F_206D_200C_202E_200B_200D_202E_206C_202B_206B_206B_202E_202A_206C_202E(); + _003CLoadAsync_003Ed__22._200D_202D_206A_200B_206B_200E_200C_200C_206F_206F_202B_206B_202A_202D_202B_206A_206A_202C_206A_206E_200C_200F_202B_206C_202E_202B_202E_206F_206C_202A_206C_206E_200C_200D_200F_200B_200B_206B_206C_200E_202E((System.Action)delegate { - builder.SetMinimumLevel(LogLevel.Trace).ClearProviders().AddProvider(new DalamudLoggerProvider(pluginLog, (string t) => t?.Substring(t.LastIndexOf('.') + 1))); + try + { + _003C_003Ec._206D_200F_206A_206E_202A_206D_202E_206A_202E_206F_202D_200E_202B_206B_202A_202B_200F_200C_202D_206A_206D_206C_200C_200B_200E_200B_206E_200D_202D_200C_200C_200E_200C_206C_206C_206B_206A_200D_202E_202C_202E(); + _003C_003Ec._200F_202D_200F_206B_206C_202C_206D_200C_206F_200E_202D_202C_202D_202E_202D_206B_200C_206B_206D_206E_206E_200D_206C_200F_206F_206D_206B_200D_202A_202B_202D_202D_202E_200F_200C_206B_206A_206E_202A_206D_202E(); + _003C_003Ec._202B_206B_206C_202D_200C_206C_200D_200E_206C_202D_202D_206D_202B_200E_200E_206F_200D_200B_206F_206D_202A_200D_202E_200E_206F_206E_202C_200F_200D_202B_202C_202C_200D_200C_200E_206A_202A_200B_200D_202E(); + _003C_003Ec._200F_200B_200C_206E_200B_206A_200B_202E_200D_200E_202D_200C_200D_202D_206F_206D_200E_206B_200E_206E_200E_200F_206F_206F_206D_200F_206A_206E_202D_202E_200E_206F_206A_200C_202C_206D_200E_202C_206E_200F_202E(); + } + catch (Exception) + { + } + }, cancellationToken); + ServiceCollection serviceCollection = _003CLoadAsync_003Ed__22._202B_206D_202B_202D_206D_200B_200F_206B_206E_200B_200C_206C_202C_202B_202E_200C_206A_202C_206A_206E_200B_202A_202D_200F_206E_206F_202B_206B_206E_202C_202D_202D_202B_202E_206E_202D_200D_200E_200E_202C_202E(); + _003CLoadAsync_003Ed__22._200C_206D_200D_202E_200C_202A_200E_206C_200B_200C_206F_202C_202C_206A_200E_202E_202B_200D_202C_200B_206B_200E_202E_200C_200F_202C_202A_200D_202D_202D_200B_206B_206D_206E_202D_202E_200C_200E_200D_206E_202E((IServiceCollection)serviceCollection, (Action)delegate(ILoggingBuilder builder) + { + _200E_206D_206C_202E_206B_200D_206E_200E_206B_206E_206D_202D_200B_200D_206F_200F_200E_206E_202E_206F_202D_200F_206C_200E_200E_206B_202B_206F_206D_206E_200E_206B_202A_200D_200D_202D_202D_202D_200E_200D_202E(_206B_202C_206A_206D_200B_200B_202D_200D_206F_202C_202C_200F_206B_202A_202B_206E_202D_206C_206D_202E_200E_202A_202E_200E_202C_202B_206E_202E_202A_200E_202B_200F_206C_202D_202E_200E_206D_202C_200F_202E(_202C_202C_206F_206A_202E_200C_206C_200E_202D_200C_200E_200F_206E_200D_206B_200E_206A_202C_200F_200E_200D_206C_200C_202C_202A_206F_200E_206E_206C_206C_206D_202A_200D_202C_202C_200E_206D_200F_206E_206D_202E(builder, LogLevel.Trace)), (ILoggerProvider)_206C_200C_202E_202B_200B_206E_202E_202A_202A_206F_206B_200C_206E_206A_200E_202B_206F_206B_200F_206C_200C_206D_200B_206D_206E_202A_200D_200E_202D_206D_206E_202D_200E_206C_202E_206E_206E_206F_206E_202E(_pluginLog, (Func)((string t) => (t == null) ? null : _003C_003Ec._202E_206B_202D_206A_206B_206D_200C_202B_200D_206A_202C_206D_202A_200B_202B_206A_206A_202C_202D_202C_206D_202B_202D_206B_206E_200F_206D_206A_200B_200C_206C_200F_206D_202E_206E_200C_202D_200D_206A_202A_202E(t, _003C_003Ec._200C_200D_202A_202A_202D_206C_202D_200D_202A_200E_206E_206F_206A_202A_206A_200D_206E_206E_202A_200B_202A_206D_200F_200C_202E_202E_206E_206D_200B_202B_202E_200D_206D_206E_206A_202C_206F_202B_206A_200D_202E(t, '.') + 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(textureProvider); - serviceCollection.AddSingleton(new WindowSystem("Questionable")); - serviceCollection.AddSingleton(((Configuration)pluginInterface.GetPluginConfig()) ?? new Configuration()); + 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(_003CLoadAsync_003Ed__22._200B_206C_206E_200E_202B_202D_200D_202A_202C_202C_202B_202D_202E_202D_200C_202D_206D_206D_200B_202C_206E_206A_206D_206A_200C_200D_200E_200B_206A_200D_206A_202D_202E_202C_206F_200C_206D_206F_200C_202E(global::_003CModule_003E._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(85756196))); + Configuration configuration = ((Configuration)_003CLoadAsync_003Ed__22._202B_202C_202C_200B_200F_202A_200D_200E_206D_202A_202E_206E_200B_202E_202A_200C_202D_202B_202E_206D_206A_200B_202B_206C_206D_200D_206A_206C_200B_206C_200B_200E_206B_200E_206C_202B_200D_206E_200F_206F_202E(_pluginInterface)) ?? new Configuration(); + bool flag = configuration.Version != 3; + if (flag) + { + BackupConfig(configuration.Version); + configuration.Version = 3; + } + if (ConfigMigration.Run(configuration) || flag) + { + _003CLoadAsync_003Ed__22._200C_202E_202B_206F_202D_200F_206C_206E_200C_206A_202C_206F_200C_202B_200E_200F_200D_206F_206D_200B_206A_200D_200F_202B_206C_202D_202A_206C_206C_206E_206C_202D_206E_202A_202B_202B_206E_202C_202E_200D_202E(_pluginInterface, (IPluginConfiguration)configuration); + } + serviceCollection.AddSingleton(configuration); AddBasicFunctionsAndData(serviceCollection); AddTaskFactories(serviceCollection); AddControllers(serviceCollection); @@ -78,44 +784,132 @@ public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable AddQuestValidators(serviceCollection); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); - _serviceProvider = serviceCollection.BuildServiceProvider(); - Initialize(_serviceProvider); + Stopwatch providerStopwatch = _003CLoadAsync_003Ed__22._206D_200F_200F_202E_206D_202C_206F_206B_202B_202D_200F_200E_202B_200F_202D_200B_206C_202B_206B_200D_206C_202E_200F_200D_202E_202C_200F_206D_200C_202E_200B_200D_202E_206C_202B_206B_206B_202E_202A_206C_202E(); + _serviceProvider = _003CLoadAsync_003Ed__22._206A_206D_202A_202A_200F_206B_206A_200C_202D_200E_206F_202A_200F_202B_202C_202E_200B_202D_202C_206F_202B_202A_202A_200F_202D_200B_206F_200D_200B_206F_202E_200E_202A_200B_206D_200F_206E_206F_200F_206E_202E((IServiceCollection)serviceCollection); + _003CLoadAsync_003Ed__22._202B_206D_200E_202A_202D_206C_202A_200C_202E_206F_202A_200E_206D_206F_200D_206D_200D_200C_200F_206E_202B_200E_202A_202C_202C_206A_200D_206C_206C_202C_206E_200C_202B_206E_202B_206C_202E_200F_202E_200C_202E(providerStopwatch); + TaskAwaiter taskAwaiter = _003CLoadAsync_003Ed__22._200E_206D_206B_206E_206A_202C_202A_206B_202A_206A_202E_206D_206A_200E_202E_202D_206F_200E_202E_206A_202A_200C_200C_202A_202E_206B_206D_206E_200C_202C_200E_206A_202B_200B_200B_206A_200C_206C_206F_206C_202E(_003CLoadAsync_003Ed__22._200D_202D_206A_200B_206B_200E_200C_200C_206F_206F_202B_206B_202A_202D_202B_206A_206A_202C_206A_206E_200C_200F_202B_206C_202E_202B_202E_206F_206C_202A_206C_206E_200C_200D_200F_200B_200B_206B_206C_200E_202E((System.Action)delegate + { + Initialize(_serviceProvider); + }, cancellationToken)); + if (!taskAwaiter.IsCompleted) + { + await taskAwaiter; + TaskAwaiter taskAwaiter2 = default(TaskAwaiter); + taskAwaiter = taskAwaiter2; + } + taskAwaiter.GetResult(); + _003CLoadAsync_003Ed__22._206E_206B_200E_202E_200B_202A_200E_200F_200F_202A_200D_202B_202B_202B_202E_206E_206B_202D_206D_200C_202C_200D_206F_206D_206B_200B_206F_200E_206F_206D_202D_206A_206B_206E_202C_206C_202A_202C_202A_202A_202E((Microsoft.Extensions.Logging.ILogger)_serviceProvider.GetRequiredService>(), global::_003CModule_003E._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(-448093395), new object[6] + { + _003CLoadAsync_003Ed__22._202E_206B_202C_200D_200B_202D_206B_202D_206D_206B_202A_206C_200D_202A_202A_206D_200F_200C_206A_200E_202D_200B_200C_200C_200D_206B_202D_206F_202C_200F_206A_202C_202C_202B_206A_206D_206F_206B_202D_206F_202E(totalStopwatch), + _003CLoadAsync_003Ed__22._202E_206B_202C_200D_200B_202D_206B_202D_206D_206B_202A_206C_200D_202A_202A_206D_200F_200C_206A_200E_202D_200B_200C_200C_200D_206B_202D_206F_202C_200F_206A_202C_202C_202B_206A_206D_206F_206B_202D_206F_202E(providerStopwatch), + DecodeMs(() => _003C_003Ec._200B_206D_202E_206A_206F_206A_202D_202C_202C_206E_202E_206A_206D_200B_206A_206C_200E_206F_202C_200E_206F_202B_202C_202E_206A_206F_206D_200B_202E_206A_206A_202A_200E_202C_202C_200D_200F_200D_206D_200D_202E()), + DecodeMs(() => _003C_003Ec._202D_200D_206F_202A_202D_200E_206D_202A_202C_206F_206E_200D_200B_206E_206A_202D_206A_200D_202E_202E_200D_200C_200C_202E_202E_202C_200F_202E_206C_202C_206A_202E_202B_200F_206B_206A_200C_206A_206A_200D_202E()), + DecodeMs(() => _003C_003Ec._202B_200F_202E_202E_202B_206C_202D_206E_206F_200D_206B_200D_200E_206F_206D_200F_206C_200C_200D_202C_206E_202E_206D_202E_206C_206C_206F_206C_206E_202C_200C_206A_206B_200E_200B_200C_202E_202A_202B_200C_202E()), + DecodeMs(() => _003C_003Ec._206F_200D_202B_202A_206C_206D_200C_200C_202E_202D_206A_202C_200F_206B_200D_206B_202E_202E_202B_202E_206B_202B_200B_202D_202E_202B_200C_202A_206C_200C_206A_202B_206D_202B_206E_202E_202A_202B_202D_206B_202E()) + }); } catch (Exception) { - chatGui.PrintError("Unable to load plugin, check /xllog for details", "Questionable"); + _003CLoadAsync_003Ed__22._200D_200D_200D_202B_202D_206A_200F_200B_200E_202D_202C_206A_202B_202B_206E_206C_202E_206E_200C_200B_200B_206B_202C_206F_206B_200D_206D_202B_200F_200C_206C_200C_202E_202A_200E_202B_206E_206E_200C_206A_202E(_chatGui, global::_003CModule_003E._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(-1159703040), global::_003CModule_003E._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(85756196), (ushort?)null); throw; } } + Task IAsyncDalamudPlugin.LoadAsync(CancellationToken cancellationToken) + { + //ILSpy generated this explicit interface implementation from .override directive in LoadAsync + return this.LoadAsync(cancellationToken); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void BackupConfig(int oldVersion) + { + try + { + if (_202B_200B_202C_202D_206F_202A_202B_200E_200D_202B_202E_206C_206D_202A_200E_206D_206F_206E_202E_206A_206F_206B_206F_200D_202E_206A_200C_206F_202C_200C_206D_202C_206C_206B_206F_206A_206B_202C_202C_200F_202E((FileSystemInfo)_202B_200E_200B_206E_200F_200E_200E_206E_206D_206B_200C_206F_202B_202E_202E_200F_200B_206A_202C_206F_200D_206A_202B_206E_202C_206F_206D_206B_202E_200C_202D_200B_202E_200C_202C_200C_202B_206F_200B_206B_202E(_pluginInterface))) + { + FileInfo fileInfo = _202B_200E_200B_206E_200F_200E_200E_206E_206D_206B_200C_206F_202B_202E_202E_200F_200B_206A_202C_206F_200D_206A_202B_206E_202C_206F_206D_206B_202E_200C_202D_200B_202E_200C_202C_200C_202B_206F_200B_206B_202E(_pluginInterface); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 2); + defaultInterpolatedStringHandler.AppendFormatted(_206D_206B_206E_200D_200E_206A_206C_202D_202B_202E_206F_200E_202E_200C_202C_206D_206B_202C_206D_206A_202B_206B_200F_206C_206C_200F_200C_206A_206B_206B_202C_200D_206F_200E_200B_200B_200E_200D_206D_202C_202E((FileSystemInfo)_202B_200E_200B_206E_200F_200E_200E_206E_206D_206B_200C_206F_202B_202E_202E_200F_200B_206A_202C_206F_200D_206A_202B_206E_202C_206F_206D_206B_202E_200C_202D_200B_202E_200C_202C_200C_202B_206F_200B_206B_202E(_pluginInterface))); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-957700640)); + defaultInterpolatedStringHandler.AppendFormatted(oldVersion); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1701004743)); + _202E_202E_200F_200B_200F_200E_200D_206C_200C_200E_200F_200D_200F_206A_200B_206E_202C_206C_202C_200E_200E_202B_206D_202A_200F_206C_206F_206B_202B_202B_200F_206E_200F_200C_202A_206E_202B_206D_206C_206D_202E(fileInfo, defaultInterpolatedStringHandler.ToStringAndClear(), true); + } + } + catch (Exception ex) + { + _202D_200C_202B_200D_202C_206E_202E_206E_206B_206D_202B_202A_206E_200E_206A_200E_202E_202D_200D_202D_202C_202A_200C_200D_202C_206A_206A_202C_206E_200F_202B_200E_206D_206C_206B_206A_206C_202E_202E_206B_202E(_pluginLog, ex, global::_003CModule_003E._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(1234113757), Array.Empty()); + } + } + 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([MethodImpl(MethodImplOptions.NoInlining)] (IServiceProvider sp) => + { + IDalamudPluginInterface requiredService = sp.GetRequiredService(); + DirectoryInfo directoryInfo = null; + _003C_003Ec._202D_200E_202B_202B_206C_202D_200B_206F_206E_202D_206B_202C_202B_206B_206A_200D_202C_202C_200D_200D_200D_202A_206B_200C_200E_206B_200D_206B_206C_202D_206E_200D_202D_206C_200C_206D_200C_206C_206D_200D_202E(_003C_003Ec._200D_202E_202D_202A_206F_206D_206F_206E_200F_200D_200B_202C_200B_206B_206E_200F_200C_200C_200D_200F_206A_200B_202D_206C_206B_206D_202C_206A_200D_202C_202A_202E_206D_206B_202E_200F_206F_202B_200B_206F_202E(sp.GetRequiredService())).TryGetValue(global::_003CModule_003E._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(1893535850), out Repository value); + return _003C_003Ec._200C_206E_206F_200F_202E_202A_200C_200F_202D_202A_202A_206A_202D_206D_202D_206C_206F_202C_200E_202A_200F_202E_200C_200D_206E_200E_200E_200F_200F_206D_200F_202B_206B_206D_200B_202A_202C_200C_206B_206E_202E(_003C_003Ec._200C_206D_206F_202A_200F_206A_202E_202C_206C_206F_200D_206A_202D_200B_200D_206A_200D_206F_206C_206D_202B_202E_200B_200C_206B_202C_200C_206A_202D_206B_206E_206C_206F_200F_200E_206C_202C_206A_202B_200D_202E(requiredService), directoryInfo, (value != null) ? _003C_003Ec._206E_206D_206D_202A_200C_202C_200B_202A_200B_202D_200C_200F_202C_206D_202D_206F_200D_200B_200B_202A_206F_202D_202C_206B_202C_206B_202C_202A_202E_200B_206C_206F_202E_202C_202E_200B_206E_202D_206F_202A_202E(value) : null); + }); + 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(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); } private static void AddTaskFactories(ServiceCollection serviceCollection) @@ -129,15 +923,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(); @@ -152,8 +957,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(); @@ -167,8 +977,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(); @@ -180,15 +992,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(); @@ -212,12 +1028,32 @@ public sealed class QuestionablePlugin : IDalamudPlugin, IDisposable serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); + serviceCollection.AddSingleton(); + serviceCollection.AddSingleton([MethodImpl(MethodImplOptions.NoInlining)] (IServiceProvider sp) => + { + _003C_003Ec._202D_200E_202B_202B_206C_202D_200B_206F_206E_202D_206B_202C_202B_206B_206A_200D_202C_202C_200D_200D_200D_202A_206B_200C_200E_206B_200D_206B_206C_202D_206E_200D_202D_206C_200C_206D_200C_206C_206D_200D_202E(_003C_003Ec._200D_202E_202D_202A_206F_206D_206F_206E_200F_200D_200B_202C_200B_206B_206E_200F_200C_200C_200D_200F_206A_200B_202D_206C_206B_206D_202C_206A_200D_202C_202A_202E_206D_206B_202E_200F_206F_202B_200B_206F_202E(sp.GetRequiredService())).TryGetValue(global::_003CModule_003E._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(-1502740136), out Repository value); + NpcPositionCacheOptions npcPositionCacheOptions = _003C_003Ec._206F_206C_206C_206F_206B_202D_202E_206C_206B_202A_202C_200F_206D_206D_202D_202E_200D_200C_202C_202D_202C_200B_202B_206A_202E_202B_206E_206A_206E_200D_200E_202B_200C_206B_206B_202D_200D_206A_200F_200D_202E(); + _003C_003Ec._206C_206F_200B_206D_206E_206A_202B_200B_206C_206F_206F_202D_206C_202B_202A_206D_200B_200D_200F_202B_202C_200D_202E_200E_206A_200D_206E_200D_200D_206F_200E_202E_206B_200B_200E_206F_200C_202D_200B_202D_202E(npcPositionCacheOptions, _003C_003Ec._206A_200D_206D_200D_206F_202B_202D_202E_200D_202A_200D_200B_202A_200F_200E_200B_202E_200C_206A_206C_200B_202D_206D_200F_200D_202A_202E_206D_206E_206D_200C_206E_206B_206C_202C_202D_206D_202A_202B_200D_202E((FileSystemInfo)_003C_003Ec._200C_206D_206F_202A_200F_206A_202E_202C_206C_206F_200D_206A_202D_200B_200D_206A_200D_206F_206C_206D_202B_202E_200B_200C_206B_202C_200C_206A_202D_206B_206E_206C_206F_200F_200E_206C_202C_206A_202B_200D_202E(sp.GetRequiredService()))); + _003C_003Ec._200E_206E_202B_202B_200C_200B_206D_202D_200E_206F_200F_202D_202D_202E_206F_206E_200F_206B_206E_200F_202A_206A_206E_200D_206F_206B_202B_206B_200F_206F_202D_202A_206A_202A_202C_206C_206E_206B_206C_202C_202E(npcPositionCacheOptions, (value != null) ? _003C_003Ec._206E_206D_206D_202A_200C_202C_200B_202A_200B_202D_200C_200F_202C_206D_202D_206F_200D_200B_200B_202A_206F_202D_202C_206B_202C_206B_202C_202A_202E_200B_206C_206F_202E_202C_202E_200B_206E_202D_206F_202A_202E(value) : null); + _003C_003Ec._200C_200E_200E_200F_200B_200E_202D_206D_206E_206E_206E_202D_206F_200C_206C_202C_200E_206A_206F_200B_200D_206F_202A_206A_206A_200D_206D_206B_200B_206F_202D_206C_202E_206F_200D_206D_206B_202E_202B_206B_202E(npcPositionCacheOptions, TimeSpan.FromMilliseconds(10L)); + return npcPositionCacheOptions; + }); + 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(); @@ -231,12 +1067,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) @@ -248,9 +1086,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(); @@ -259,54 +1097,95 @@ 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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] private static void Initialize(IServiceProvider serviceProvider) { + ILogger requiredService = serviceProvider.GetRequiredService>(); + Stopwatch stopwatch = _202A_202C_206F_200E_202A_202D_200C_202B_206C_206A_202E_200D_202C_202A_200C_206B_202C_206B_202C_206A_200D_206E_202C_202A_200D_206E_206E_200C_206E_200C_206C_200E_202D_206B_206E_202C_202A_206C_206F_206A_202E(); + _202C_202E_202E_200D_202B_206D_200F_200C_202C_200E_206B_206C_206B_206E_206E_202B_200C_200B_206F_206D_200C_200E_202B_206F_200E_202E_206E_206D_202A_200B_202D_200E_200B_206E_206E_206B_206D_200C_202B_206E_202E(serviceProvider.GetRequiredService()); + InlineArray13 buffer = default(InlineArray13); + 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(() => _003C_003Ec__DisplayClass30_0._200F_202C_202D_202D_202B_200E_206B_202C_202B_202A_202B_202A_200F_200B_200E_200E_206D_200E_200B_200B_202E_200F_200B_200D_206E_200D_200F_202C_200E_200E_200B_202A_206D_200D_200F_202B_202D_206E_200F_206F_202E(serviceProvider.GetRequiredService())); + global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef, Task>(ref buffer, 12) = Task.Run(() => serviceProvider.GetRequiredService()); + _200E_202B_200F_202B_200F_206A_200C_200F_200F_206C_206A_202A_206E_206E_202B_206D_202C_206C_202A_206E_200E_202D_200E_202A_202C_202E_206A_206A_206E_200D_206C_206B_202E_206A_200C_202A_206E_202C_206C_206C_202E(global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan, Task>(in buffer, 13)); + TimeSpan timeSpan = _200B_206D_206E_206E_202A_202E_202C_206D_202E_206C_206C_206F_206E_206F_206C_200F_200E_206E_200E_200B_200B_200E_202A_200C_206C_200E_200D_206D_206C_200B_206C_200E_206F_206C_200E_200B_200B_200C_202A_200D_202E(stopwatch); + _202B_200C_206A_206E_202D_206A_200E_206F_202D_200F_206E_200C_202B_202E_202E_202C_206B_202D_202C_206F_206E_200C_200D_200E_202E_200F_200D_206E_206D_200D_202D_202E_200B_206E_202E_206E_200B_200E_202C_200C_202E(stopwatch); serviceProvider.GetRequiredService().Reload(); + TimeSpan timeSpan2 = _200B_206D_206E_206E_202A_202E_202C_206D_202E_206C_206C_206F_206E_206F_206C_200F_200E_206E_200E_200B_200B_200E_202A_200C_206C_200E_200D_206D_206C_200B_206C_200E_206F_206C_200E_200B_200B_200C_202A_200D_202E(stopwatch); + _202B_200C_206A_206E_202D_206A_200E_206F_202D_200F_206E_200C_202B_202E_202E_202C_206B_202D_202C_206F_206E_200C_200D_200E_202E_200F_200D_206E_206D_200D_202D_202E_200B_206E_202E_206E_200B_200E_202C_200C_202E(stopwatch); serviceProvider.GetRequiredService().Reload(); - serviceProvider.GetRequiredService().Reload(); + TimeSpan timeSpan3 = _200B_206D_206E_206E_202A_202E_202C_206D_202E_206C_206C_206F_206E_206F_206C_200F_200E_206E_200E_200B_200B_200E_202A_200C_206C_200E_200D_206D_206C_200B_206C_200E_206F_206C_200E_200B_200B_200C_202A_200D_202E(stopwatch); + _202B_200C_206A_206E_202D_206A_200E_206F_202D_200F_206E_200C_202B_202E_202E_202C_206B_202D_202C_206F_206E_200C_200D_200E_202E_200F_200D_206E_206D_200D_202D_202E_200B_206E_202E_206E_200B_200E_202C_200C_202E(stopwatch); serviceProvider.GetRequiredService().LoadPriorityQuests(); serviceProvider.GetRequiredService(); serviceProvider.GetRequiredService(); @@ -323,20 +1202,122 @@ 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; + _206A_206C_200E_206E_202A_202B_202C_200C_202D_206A_206A_200E_206B_202E_200F_206C_200D_202D_202B_200C_200C_206F_202B_202A_202C_200B_200D_200F_200C_200F_200B_206C_206B_202A_202C_200E_206D_206E_200E_206E_202E((LWindow)requiredService2, true); } } + _200B_202A_206D_202C_206C_206A_200E_202C_200D_202D_206B_206B_200F_202B_202E_206B_206E_200F_206F_200B_200D_202A_200B_200F_200C_206F_200F_200F_200F_202E_200F_206B_200B_200D_206D_206A_200D_200B_206F_206C_202E((Microsoft.Extensions.Logging.ILogger)requiredService, global::_003CModule_003E._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(1377998422), new object[4] + { + (long)timeSpan.TotalMilliseconds, + (long)timeSpan2.TotalMilliseconds, + (long)timeSpan3.TotalMilliseconds, + (long)_200B_206D_206E_206E_202A_202E_202C_206D_202E_206C_206C_206F_206E_206F_206C_200F_200E_206E_200E_200B_200B_200E_202A_200C_206C_200E_200D_206D_206C_200B_206C_200E_206F_206C_200E_200B_200B_200C_202A_200D_202E(stopwatch).TotalMilliseconds + }); + } + + public async ValueTask DisposeAsync() + { + if (_serviceProvider != null) + { + await _003CDisposeAsync_003Ed__31._206D_200F_206B_200F_200D_200F_206E_202C_202D_200F_206C_206C_200D_206E_206A_200D_200F_206F_206C_202A_202D_200F_202C_202E_202E_200B_202E_200C_202D_202B_202E_206C_202B_200E_206F_202E_202A_202A_202D_206C_202E(_serviceProvider); + } } - public void Dispose() + ValueTask IAsyncDisposable.DisposeAsync() { - _serviceProvider?.Dispose(); + //ILSpy generated this explicit interface implementation from .override directive in DisposeAsync + return this.DisposeAsync(); + } + + static void _206C_200F_206E_200B_200C_200B_206E_200C_206D_202E_200C_200E_200B_202C_202C_206C_206B_202B_206E_206A_206F_200C_206B_206B_202D_202B_200B_200C_202C_200B_206C_206F_202A_206B_206B_200D_202D_206E_206E_200F_202E(object P_0, string P_1) + { + ArgumentNullException.ThrowIfNull(P_0, P_1); + } + + static FileInfo _202B_200E_200B_206E_200F_200E_200E_206E_206D_206B_200C_206F_202B_202E_202E_200F_200B_206A_202C_206F_200D_206A_202B_206E_202C_206F_206D_206B_202E_200C_202D_200B_202E_200C_202C_200C_202B_206F_200B_206B_202E(IDalamudPluginInterface P_0) + { + return P_0.ConfigFile; + } + + static bool _202B_200B_202C_202D_206F_202A_202B_200E_200D_202B_202E_206C_206D_202A_200E_206D_206F_206E_202E_206A_206F_206B_206F_200D_202E_206A_200C_206F_202C_200C_206D_202C_206C_206B_206F_206A_206B_202C_202C_200F_202E(FileSystemInfo P_0) + { + return P_0.Exists; + } + + static string _206D_206B_206E_200D_200E_206A_206C_202D_202B_202E_206F_200E_202E_200C_202C_206D_206B_202C_206D_206A_202B_206B_200F_206C_206C_200F_200C_206A_206B_206B_202C_200D_206F_200E_200B_200B_200E_200D_206D_202C_202E(FileSystemInfo P_0) + { + return P_0.FullName; + } + + static FileInfo _202E_202E_200F_200B_200F_200E_200D_206C_200C_200E_200F_200D_200F_206A_200B_206E_202C_206C_202C_200E_200E_202B_206D_202A_200F_206C_206F_206B_202B_202B_200F_206E_200F_200C_202A_206E_202B_206D_206C_206D_202E(FileInfo P_0, string P_1, bool P_2) + { + return P_0.CopyTo(P_1, P_2); + } + + static void _202D_200C_202B_200D_202C_206E_202E_206E_206B_206D_202B_202A_206E_200E_206A_200E_202E_202D_200D_202D_202C_202A_200C_200D_202C_206A_206A_202C_206E_200F_202B_200E_206D_206C_206B_206A_206C_202E_202E_206B_202E(IPluginLog P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.Warning(P_1, P_2, P_3); + } + + static Stopwatch _202A_202C_206F_200E_202A_202D_200C_202B_206C_206A_202E_200D_202C_202A_200C_206B_202C_206B_202C_206A_200D_206E_202C_202A_200D_206E_206E_200C_206E_200C_206C_200E_202D_206B_206E_202C_202A_206C_206F_206A_202E() + { + return Stopwatch.StartNew(); + } + + static bool _202C_202E_202E_200D_202B_206D_200F_200C_202C_200E_206B_206C_206B_206E_206E_202B_200C_200B_206F_206D_200C_200E_202B_206F_200E_202E_206E_206D_202A_200B_202D_200E_200B_206E_206E_206B_206D_200C_202B_206E_202E(NpcPositionCache P_0) + { + return P_0.TryLoadFromDisk(); + } + + static void _200E_202B_200F_202B_200F_206A_200C_200F_200F_206C_206A_202A_206E_206E_202B_206D_202C_206C_202A_206E_200E_202D_200E_202A_202C_202E_206A_206A_206E_200D_206C_206B_202E_206A_200C_202A_206E_202C_206C_206C_202E(ReadOnlySpan P_0) + { + Task.WaitAll(P_0); + } + + static TimeSpan _200B_206D_206E_206E_202A_202E_202C_206D_202E_206C_206C_206F_206E_206F_206C_200F_200E_206E_200E_200B_200B_200E_202A_200C_206C_200E_200D_206D_206C_200B_206C_200E_206F_206C_200E_200B_200B_200C_202A_200D_202E(Stopwatch P_0) + { + return P_0.Elapsed; + } + + static void _202B_200C_206A_206E_202D_206A_200E_206F_202D_200F_206E_200C_202B_202E_202E_202C_206B_202D_202C_206F_206E_200C_200D_200E_202E_200F_200D_206E_206D_200D_202D_202E_200B_206E_202E_206E_200B_200E_202C_200C_202E(Stopwatch P_0) + { + P_0.Restart(); + } + + static void _206A_206C_200E_206E_202A_202B_202C_200C_202D_206A_206A_200E_206B_202E_200F_206C_200D_202D_202B_200C_200C_206F_202B_202A_202C_200B_200D_200F_200C_200F_200B_206C_206B_202A_202C_200E_206D_206E_200E_206E_202E(LWindow P_0, bool P_1) + { + P_0.IsOpenAndUncollapsed = P_1; + } + + static void _200B_202A_206D_202C_206C_206A_200E_202C_200D_202D_206B_206B_200F_202B_202E_206B_206E_200F_206F_200B_200D_202A_200B_200F_200C_206F_200F_200F_200F_202E_200F_206B_200B_200D_206D_206A_200D_200B_206F_206C_202E(Microsoft.Extensions.Logging.ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static ILoggingBuilder _202C_202C_206F_206A_202E_200C_206C_200E_202D_200C_200E_200F_206E_200D_206B_200E_206A_202C_200F_200E_200D_206C_200C_202C_202A_206F_200E_206E_206C_206C_206D_202A_200D_202C_202C_200E_206D_200F_206E_206D_202E(ILoggingBuilder P_0, LogLevel P_1) + { + return P_0.SetMinimumLevel(P_1); + } + + static ILoggingBuilder _206B_202C_206A_206D_200B_200B_202D_200D_206F_202C_202C_200F_206B_202A_202B_206E_202D_206C_206D_202E_200E_202A_202E_200E_202C_202B_206E_202E_202A_200E_202B_200F_206C_202D_202E_200E_206D_202C_200F_202E(ILoggingBuilder P_0) + { + return P_0.ClearProviders(); + } + + static DalamudLoggerProvider _206C_200C_202E_202B_200B_206E_202E_202A_202A_206F_206B_200C_206E_206A_200E_202B_206F_206B_200F_206C_200C_206D_200B_206D_206E_202A_200D_200E_202D_206D_206E_202D_200E_206C_202E_206E_206E_206F_206E_202E(IPluginLog P_0, Func P_1) + { + return new DalamudLoggerProvider(P_0, P_1); + } + + static ILoggingBuilder _200E_206D_206C_202E_206B_200D_206E_200E_206B_206E_206D_202D_200B_200D_206F_200F_200E_206E_202E_206F_202D_200F_206C_200E_200E_206B_202B_206F_206D_206E_200E_206B_202A_200D_200D_202D_202D_202D_200E_200D_202E(ILoggingBuilder P_0, ILoggerProvider P_1) + { + return P_0.AddProvider(P_1); } } diff --git a/Questionable/Questionable/ServiceCollectionExtensions.cs b/Questionable/Questionable/ServiceCollectionExtensions.cs index 0f8d3e7c..9bf737cd 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,13 +8,13 @@ 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 { - serviceCollection.AddKeyedTransient(typeof(T)); + serviceCollection.AddKeyedTransient(_202D_202C_200F_200B_206C_206C_200D_206B_200E_206F_206B_202E_206E_206F_200D_200E_206A_200B_202D_200D_206C_202A_202A_202B_200C_202A_206C_206D_202A_202A_206B_206E_200C_202C_202E_200B_206C_200E_202A_202D_202E(typeof(T).TypeHandle)); serviceCollection.AddTransient(); } @@ -22,4 +23,9 @@ internal static class ServiceCollectionExtensions serviceCollection.AddTaskFactory(); serviceCollection.AddTaskExecutor(); } + + static Type _202D_202C_200F_200B_206C_206C_200D_206B_200E_206F_206B_202E_206E_206F_200D_200E_206A_200B_202D_200D_206C_202A_202A_202B_200C_202A_206C_206D_202A_202A_206B_206E_200C_202C_202E_200B_206C_200E_202A_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } } 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 ef2ed596..c9031aa9 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 { @@ -13,12 +13,43 @@ internal sealed class _003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E4 { protected override void Scan(ReadOnlySpan inputSpan) { - while (TryFindNextPossibleStartingPosition(inputSpan) && !TryMatchAtCurrentPosition(inputSpan) && runtextpos != inputSpan.Length) + int num = 154878099; + while (true) { - runtextpos++; - if (_003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__Utilities.s_hasTimeout) + int num2 = num; + int num3 = 154878099; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) { + case 2: CheckTimeout(); + num = 154878099; + break; + case 6: + num = ((runtextpos != inputSpan.Length) ? 154878098 : 154878103); + break; + case 4: + return; + case 0: + num = ((!TryFindNextPossibleStartingPosition(inputSpan)) ? 154878103 : 154878096); + break; + case 3: + num = (TryMatchAtCurrentPosition(inputSpan) ? 154878103 : 154878101); + break; + case 1: + { + int num7 = runtextpos; + num3 = 1; + num4 = num7; + runtextpos = (num4 | num3) + (num4 & num3); + num = ((!_003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__Utilities.s_hasTimeout) ? 154878099 : 154878097); + break; + } + case 5: + num = 154878099; + break; } } } @@ -26,31 +57,79 @@ internal sealed class _003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E4 private bool TryFindNextPossibleStartingPosition(ReadOnlySpan inputSpan) { int num = runtextpos; - if (num <= inputSpan.Length - 2) + int num2 = ((num > inputSpan.Length - 2) ? (-448342944) : (-448342943)); + int num9 = default(int); + ReadOnlySpan readOnlySpan = default(ReadOnlySpan); + int num10 = default(int); + while (true) { - ReadOnlySpan readOnlySpan = inputSpan.Slice(num); - int num2; - for (num2 = 0; num2 < readOnlySpan.Length - 1; num2++) + int num3 = num2; + int num4 = -448342941; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) { - int num3 = readOnlySpan.Slice(num2).IndexOfAny(_003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__Utilities.s_whitespace); - if (num3 < 0) - { - break; - } - num2 += num3; - if ((uint)(num2 + 1) >= (uint)readOnlySpan.Length) - { - break; - } - if (char.IsWhiteSpace(readOnlySpan[num2 + 1])) - { - runtextpos = num + num2; - return true; - } + case 4: + num2 = ((num9 < readOnlySpan.Length - 1) ? (-448342942) : (-448342944)); + break; + case 0: + { + int num14 = num9; + num4 = 1; + num5 = num14; + int num15 = num5 ^ num4; + int num16 = num5 & num4; + num9 = num15 + (num16 + num16); + num2 = -448342937; + break; + } + case 3: + runtextpos = inputSpan.Length; + return false; + case 2: + readOnlySpan = inputSpan.Slice(num); + num9 = 0; + num2 = -448342937; + break; + case 1: + num10 = readOnlySpan.Slice(num9).IndexOfAny(_003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__Utilities.s_whitespace); + num2 = ((num10 < 0) ? (-448342944) : (-448342939)); + break; + case 7: + { + int num17 = num9; + num4 = 1; + num5 = num17; + int num18 = num5 ^ num4; + int num19 = num5 & num4; + num2 = ((!char.IsWhiteSpace(readOnlySpan[num18 + (num19 + num19)])) ? (-448342941) : (-448342938)); + break; + } + case 5: + num4 = num9; + num5 = num; + runtextpos = (num5 | num4) + (num5 & num4); + return true; + case 8: + num2 = -448342943; + break; + case 6: + { + int num8 = num9; + num4 = num10; + num5 = num8; + int num11 = num5 ^ num4; + int num12 = num5 & num4; + num9 = num11 + (num12 + num12); + int num13 = num9; + num4 = 1; + num5 = num13; + num2 = (((uint)((num5 | num4) + (num5 & num4)) >= (uint)readOnlySpan.Length) ? (-448342944) : (-448342940)); + break; + } } } - runtextpos = inputSpan.Length; - return false; } private bool TryMatchAtCurrentPosition(ReadOnlySpan inputSpan) @@ -58,17 +137,49 @@ internal sealed class _003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E4 int num = runtextpos; int start = num; ReadOnlySpan readOnlySpan = inputSpan.Slice(num); - int i; - for (i = 0; (uint)i < (uint)readOnlySpan.Length && char.IsWhiteSpace(readOnlySpan[i]); i++) + int num2 = 0; + int num3 = -1031837865; + while (true) { + int num4 = num3; + int num5 = -1031837867; + int num6 = num4; + switch ((num6 | num5) - (num6 & num5)) + { + case 6: + num3 = -1031837865; + break; + case 1: + return false; + case 4: + { + readOnlySpan = readOnlySpan.Slice(num2); + int num7 = num; + num5 = num2; + num6 = num7; + Capture(0, start, runtextpos = (num6 | num5) + (num6 & num5)); + return true; + } + case 5: + num3 = (char.IsWhiteSpace(readOnlySpan[num2]) ? (-1031837866) : (-1031837867)); + break; + case 3: + { + int num8 = num2; + num5 = 1; + num6 = num8; + num2 = (num6 | num5) + (num6 & num5); + num3 = -1031837865; + break; + } + case 2: + num3 = (((uint)num2 >= (uint)readOnlySpan.Length) ? (-1031837867) : (-1031837872)); + break; + case 0: + num3 = ((num2 >= 2) ? (-1031837871) : (-1031837868)); + break; + } } - if (i < 2) - { - return false; - } - readOnlySpan = readOnlySpan.Slice(i); - Capture(0, start, runtextpos = num + i); - return true; } } @@ -80,9 +191,10 @@ internal sealed class _003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E4 internal static readonly _003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__MultipleWhitespaceRegex_0 Instance = new _003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__MultipleWhitespaceRegex_0(); + [MethodImpl(MethodImplOptions.NoInlining)] private _003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__MultipleWhitespaceRegex_0() { - pattern = "\\s\\s+"; + pattern = global::_003CModule_003E._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(-1028830438); roptions = RegexOptions.IgnoreCase; Regex.ValidateMatchTimeout(_003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__Utilities.s_defaultTimeout); internalMatchTimeout = _003CRegexGenerator_g_003EFF909AF37F4C319C8940E7DA0E71D9E470824ECE485FE299B23B08984F5D534F6__Utilities.s_defaultTimeout; 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 5d515c1f..f5916fdd 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,27 @@ 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 TimeSpan s_defaultTimeout = ((_206B_202A_206B_202C_200B_206A_202E_202C_200D_206E_200D_202E_200E_200B_206F_200C_202B_202A_202A_206B_202C_202A_200E_200D_202E_202E_200D_200E_202E_206E_206D_202E_202B_200F_206A_200E_202E_200E_200F_206B_202E(global::_003CModule_003E._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(1968606004)) 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 = _200B_202D_202C_202E_206B_200C_200F_200D_200E_206C_202B_202C_200F_206B_206A_206A_200E_202D_206A_206F_206E_206C_200D_206E_202A_206A_200B_200C_206D_206F_200B_206A_202B_206C_206B_206F_200D_206F_206A_200F_202E(_200E_200C_200B_202E_202E_200E_206B_202C_206A_206D_206A_200B_202B_202A_206B_202D_202A_206D_202D_206C_200F_202D_200C_206F_206A_202E_200E_202C_202B_200D_206D_200E_202A_206E_200D_202B_202E_206C_206E_206A_202E(global::_003CModule_003E._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(-1890901268))); + + static object _206B_202A_206B_202C_200B_206A_202E_202C_200D_206E_200D_202E_200E_200B_206F_200C_202B_202A_202A_206B_202C_202A_200E_200D_202E_202E_200D_200E_202E_206E_206D_202E_202B_200F_206A_200E_202E_200E_200F_206B_202E(string P_0) + { + return AppContext.GetData(P_0); + } + + static ReadOnlySpan _200E_200C_200B_202E_202E_200E_206B_202C_206A_206D_206A_200B_202B_202A_206B_202D_202A_206D_202D_206C_200F_202D_200C_206F_206A_202E_200E_202C_202B_200D_206D_200E_202A_206E_200D_202B_202E_206C_206E_206A_202E(string P_0) + { + return P_0.AsSpan(); + } + + static SearchValues _200B_202D_202C_202E_206B_200C_200F_200D_200E_206C_202B_202C_200F_206B_206A_206A_200E_202D_206A_206F_206E_206C_200D_206E_202A_206A_200B_200C_206D_206F_200B_206A_202B_206C_206B_206F_200D_206F_206A_200F_202E(ReadOnlySpan P_0) + { + return SearchValues.Create(P_0); + } } diff --git a/SeasonalDutyPaths/-----------------------------------------.cs b/SeasonalDutyPaths/-----------------------------------------.cs new file mode 100644 index 00000000..260edb66 --- /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 00000000..93ec8128 --- /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 00000000..3ff64674 Binary files /dev/null and b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths.SeasonalDutyBundle differ diff --git a/SeasonalDutyPaths/Questionable.SeasonalDutyPaths.SeasonalDutyDefinitionSchema b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths.SeasonalDutyDefinitionSchema index ae5deeb0..7f632103 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 8b4fd19f..ea0199f4 100644 --- a/SeasonalDutyPaths/Questionable.SeasonalDutyPaths/AssemblySeasonalDutyDefinitionLoader.cs +++ b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths/AssemblySeasonalDutyDefinitionLoader.cs @@ -1,97 +1,144 @@ 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.Reflection; +using System.Runtime.CompilerServices; +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 { - if (_definitions == null) + [MethodImpl(MethodImplOptions.NoInlining)] + get { - _definitions = new Dictionary(); - LoadDefinitions(); + return _206C_206D_202B_206E_202D_202D_200E_206D_206A_202D_206C_206C_206B_200F_202A_200D_206A_206B_206C_200D_202C_206C_200D_206F_206F_202B_202D_200C_206F_200D_200F_200F_206B_200D_206B_202E_206B_206E_202E_206F_202E(_200C_206C_200D_202D_202B_206D_206C_202C_202B_200F_206E_206E_202C_200F_200D_200D_206C_200C_206A_202A_206B_202A_200E_206A_200B_200C_202D_200C_200E_200C_202A_200F_202D_202C_200B_202C_206E_202C_206E_202A_202E(_206F_200B_200D_206F_200D_200C_202C_206F_200F_202A_206E_206F_202A_202A_206A_202C_202D_200F_202C_206B_202B_200E_206F_206B_202C_200E_202C_206C_202D_206C_206D_202D_202C_202C_200B_202B_206D_206E_200D_206F_202E(typeof(AssemblySeasonalDutyDefinitionLoader).TypeHandle)), global::_003CModule_003E._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(-1394732188)); } - return _definitions ?? throw new InvalidOperationException("seasonal duty definition data is not initialized"); } - private static void AddDefinition(ushort id, SeasonalDutyDefinition definition) + internal static IReadOnlyDictionary GetDefinitions() { - _definitions[id] = definition; + return Definitions.Value; } - private static void LoadDefinitions() + [MethodImpl(MethodImplOptions.NoInlining)] + private static IReadOnlyDictionary LoadDefinitions() { - LoadDefinition0(); - } - - private static void LoadDefinition0() - { - SeasonalDutyDefinition obj = new SeasonalDutyDefinition + Stopwatch stopwatch = _206F_206A_206B_206D_206C_206B_202A_200E_206F_206E_200B_202C_200D_200D_202C_206B_202C_200B_202E_200B_200C_202E_202C_202B_200C_200C_200F_206D_206A_200E_206E_206D_206F_202C_200C_200B_206E_202B_206D_206A_202E(); + Stream stream = _206C_206D_202B_206E_202D_202D_200E_206D_206A_202D_206C_206C_206B_200F_202A_200D_206A_206B_206C_200D_202C_206C_200D_206F_206F_202B_202D_200C_206F_200D_200F_200F_206B_200D_206B_202E_206B_206E_202E_206F_202E(_200C_206C_200D_202D_202B_206D_206C_202C_202B_200F_206E_206E_202C_200F_200D_200D_206C_200C_206A_202A_206B_202A_200E_206A_200B_200C_202D_200C_200E_200C_202A_200F_202D_202C_200B_202C_206E_202C_206E_202A_202E(_206F_200B_200D_206F_200D_200C_202C_206F_200F_202A_206E_206F_202A_202A_206A_202C_202D_200F_202C_206B_202B_200E_206F_206B_202C_200E_202C_206C_202D_206C_206D_202D_202C_202C_200B_202B_206D_206E_200D_206F_202E(typeof(AssemblySeasonalDutyDefinitionLoader).TypeHandle)), global::_003CModule_003E._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(-1684643272)); + try { - Name = "Hatching-tide (2026)", - TerritoryId = 133, - Aetheryte = EAetheryteLocation.Gridania, - AethernetShortcut = new AethernetShortcut + byte[] array = PathBundleSecret.Key(); + List> list = PathBundle.Deserialize(stream, array); + _202D_200C_200B_202E_206E_206C_206E_200D_200D_200D_202B_200D_206E_200B_206D_206C_200C_206C_202B_200B_206A_206F_206E_206E_202E_202D_206D_200C_200F_202A_206B_206F_206F_202E_200E_202B_200B_206A_206E_200E_202E((Span)array); + Dictionary dictionary = new Dictionary(list.Count); + using (List>.Enumerator enumerator = list.GetEnumerator()) { - 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 + int num = -221038175; + while (true) + { + int num2 = num; + int num3 = -221038175; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = (enumerator.MoveNext() ? (-221038176) : (-221038174)); + break; + case 1: + var (s, value) = (KeyValuePair)(ref enumerator.Current); + dictionary[ushort.Parse(s, _206E_202B_200F_206F_206E_206F_206F_200C_202A_206B_206D_200B_206C_200C_202A_200E_200C_202B_200E_200F_202E_200E_202B_200C_206A_200F_202D_206D_202D_202E_200C_202E_206F_206A_202D_202D_200F_202A_206D_200F_202E())] = value; + num = -221038175; + break; + case 2: + num = -221038175; + break; + case 3: + goto end_IL_005c; + } + continue; + end_IL_005c: + break; + } + } + DecodeDuration = _206B_206F_206A_206A_206E_202E_206D_206B_202C_206C_202A_202D_200D_202A_206F_202E_202D_206B_202B_206F_202A_206D_202A_202A_206C_200B_202B_200C_206B_200F_202D_206D_206F_206A_206C_206B_202D_206C_206B_206A_202E(stopwatch); + return dictionary; + } + finally { - 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); + int num = ((stream == null) ? (-142648274) : (-142648275)); + while (true) + { + int num5 = num; + int num3 = -142648273; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -142648275; + break; + case 2: + _200C_202D_202D_206C_200C_206D_206A_206E_200F_206B_202C_206D_206F_202C_202A_206E_206C_200B_202A_200E_202A_202A_200C_202B_202C_206B_202E_202A_206C_202E_202A_206E_200C_202C_202C_206E_202C_206A_200D_202A_202E((IDisposable)stream); + num = -142648274; + break; + case 1: + goto end_IL_0141; + } + continue; + end_IL_0141: + break; + } + } + } + + static Type _206F_200B_200D_206F_200D_200C_202C_206F_200F_202A_206E_206F_202A_202A_206A_202C_202D_200F_202C_206B_202B_200E_206F_206B_202C_200E_202C_206C_202D_206C_206D_202D_202C_202C_200B_202B_206D_206E_200D_206F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static Assembly _200C_206C_200D_202D_202B_206D_206C_202C_202B_200F_206E_206E_202C_200F_200D_200D_206C_200C_206A_202A_206B_202A_200E_206A_200B_200C_202D_200C_200E_200C_202A_200F_202D_202C_200B_202C_206E_202C_206E_202A_202E(Type P_0) + { + return P_0.Assembly; + } + + static Stream _206C_206D_202B_206E_202D_202D_200E_206D_206A_202D_206C_206C_206B_200F_202A_200D_206A_206B_206C_200D_202C_206C_200D_206F_206F_202B_202D_200C_206F_200D_200F_200F_206B_200D_206B_202E_206B_206E_202E_206F_202E(Assembly P_0, string P_1) + { + return P_0.GetManifestResourceStream(P_1); + } + + static Stopwatch _206F_206A_206B_206D_206C_206B_202A_200E_206F_206E_200B_202C_200D_200D_202C_206B_202C_200B_202E_200B_200C_202E_202C_202B_200C_200C_200F_206D_206A_200E_206E_206D_206F_202C_200C_200B_206E_202B_206D_206A_202E() + { + return Stopwatch.StartNew(); + } + + static void _202D_200C_200B_202E_206E_206C_206E_200D_200D_200D_202B_200D_206E_200B_206D_206C_200C_206C_202B_200B_206A_206F_206E_206E_202E_202D_206D_200C_200F_202A_206B_206F_206F_202E_200E_202B_200B_206A_206E_200E_202E(Span P_0) + { + CryptographicOperations.ZeroMemory(P_0); + } + + static CultureInfo _206E_202B_200F_206F_206E_206F_206F_200C_202A_206B_206D_200B_206C_200C_202A_200E_200C_202B_200E_200F_202E_200E_202B_200C_206A_200F_202D_206D_202D_202E_200C_202E_206F_206A_202D_202D_200F_202A_206D_200F_202E() + { + return CultureInfo.InvariantCulture; + } + + static TimeSpan _206B_206F_206A_206A_206E_202E_206D_206B_202C_206C_202A_202D_200D_202A_206F_202E_202D_206B_202B_206F_202A_206D_202A_202A_206C_200B_202B_200C_206B_200F_202D_206D_206F_206A_206C_206B_202D_206C_206B_206A_202E(Stopwatch P_0) + { + return P_0.Elapsed; + } + + static void _200C_202D_202D_206C_200C_206D_206A_206E_200F_206B_202C_206D_206F_202C_202A_206E_206C_200B_202A_200E_202A_202A_200C_202B_202C_206B_202E_202A_206C_202E_202A_206E_200C_202C_202C_206E_202C_206A_200D_202A_202E(IDisposable P_0) + { + P_0.Dispose(); } } diff --git a/SeasonalDutyPaths/Questionable.SeasonalDutyPaths/PathBundleSecret.cs b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths/PathBundleSecret.cs new file mode 100644 index 00000000..49edc230 --- /dev/null +++ b/SeasonalDutyPaths/Questionable.SeasonalDutyPaths/PathBundleSecret.cs @@ -0,0 +1,66 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Questionable.SeasonalDutyPaths; + +internal static class PathBundleSecret +{ + private static readonly byte[] A; + + private static readonly byte[] B; + + internal static byte[] Key() + { + byte[] array = new byte[A.Length]; + int num = 0; + int num2 = 320407520; + while (true) + { + int num3 = num2; + int num4 = 320407521; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 3: + num2 = 320407520; + break; + case 0: + return array; + case 2: + { + int num6 = num; + byte num7 = A[num]; + num4 = B[num]; + num5 = num7; + int num8 = num5 + num4; + int num9 = num5 & num4; + array[num6] = (byte)(num8 - (num9 + num9)); + int num10 = num; + num4 = 1; + num5 = num10; + num = (num5 | num4) + (num5 & num4); + num2 = 320407520; + break; + } + case 1: + num2 = ((num < array.Length) ? 320407523 : 320407521); + break; + } + } + } + + static PathBundleSecret() + { + byte[] array = new byte[32]; + _206E_200C_200D_200F_202A_200D_206C_202E_200E_202C_202E_200D_202D_202C_200D_206D_202B_206A_206C_206F_200D_206C_202B_206B_200F_206B_200F_206D_206F_206B_200D_200E_200B_206E_202E_200B_200B_200C_202E_202A_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + A = array; + byte[] array2 = new byte[32]; + _206E_200C_200D_200F_202A_200D_206C_202E_200E_202C_202E_200D_202D_202C_200D_206D_202B_206A_206C_206F_200D_206C_202B_206B_200F_206B_200F_206D_206F_206B_200D_200E_200B_206E_202E_200B_200B_200C_202E_202A_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + B = array2; + } + + static void _206E_200C_200D_200F_202A_200D_206C_202E_200E_202C_202E_200D_202D_202C_200D_206D_202B_206A_206C_206F_200D_206C_202B_206B_200F_206B_200F_206D_206F_206B_200D_200E_200B_206E_202E_200B_200B_200C_202E_202A_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } +} diff --git a/SeasonalDutyPaths/SeasonalDutyPaths.csproj b/SeasonalDutyPaths/SeasonalDutyPaths.csproj index b873ef95..abc735dc 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 00000000..483bc7d5 --- /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 00000000..c928a624 --- /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 00000000..7971d3a4 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 00000000..33a608b9 --- /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 00000000..d42df9f3 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 00000000..ab583122 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 00000000..f8df165b 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 00000000..6bf25afe 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 00000000..47a50ab9 --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/AssemblyDerivedArrivalLoader.cs @@ -0,0 +1,18 @@ +using System.Runtime.CompilerServices; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public static class AssemblyDerivedArrivalLoader +{ + [MethodImpl(MethodImplOptions.NoInlining)] + public static DerivedArrivalFile GetArrivals(string? overrideDirectory = null) + { + return SmartNavResources.Load(global::_003CModule_003E._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(-1394732188), overrideDirectory) ?? _200B_202A_202E_206E_200C_202C_200F_202C_202D_206A_206F_202A_202C_206E_202A_202E_202D_200B_206D_200C_202C_206B_202B_206C_206D_200D_206D_202C_206C_206B_202E_206D_200F_202D_200D_206D_200C_200C_200B_202D_202E(); + } + + static DerivedArrivalFile _200B_202A_202E_206E_200C_202C_200F_202C_202D_206A_206F_202A_202C_206E_202A_202E_202D_200B_206D_200C_202C_206B_202B_206C_206D_200D_206D_202C_206C_206B_202E_206D_200F_202D_200D_206D_200C_200C_200B_202D_202E() + { + return new DerivedArrivalFile(); + } +} diff --git a/SmartNav.Data/SmartNav.Data/AssemblyTaxiStandLoader.cs b/SmartNav.Data/SmartNav.Data/AssemblyTaxiStandLoader.cs new file mode 100644 index 00000000..3d352a69 --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/AssemblyTaxiStandLoader.cs @@ -0,0 +1,14 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public static class AssemblyTaxiStandLoader +{ + [MethodImpl(MethodImplOptions.NoInlining)] + public static IReadOnlyList GetStands(string? overrideDirectory = null) + { + return SmartNavResources.Load>(global::_003CModule_003E._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(1832135283), overrideDirectory) ?? new List(); + } +} diff --git a/SmartNav.Data/SmartNav.Data/AssemblyTeleportTicketLoader.cs b/SmartNav.Data/SmartNav.Data/AssemblyTeleportTicketLoader.cs new file mode 100644 index 00000000..6aa6ad05 --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/AssemblyTeleportTicketLoader.cs @@ -0,0 +1,24 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public static class AssemblyTeleportTicketLoader +{ + [MethodImpl(MethodImplOptions.NoInlining)] + public static IReadOnlyDictionary GetTickets(string? overrideDirectory = null) + { + return _206A_200D_200C_200B_200B_200E_200E_200E_202C_200C_206C_200F_200D_206D_202A_200B_200D_200D_202D_202D_206D_200F_202C_200F_206C_202C_202D_202B_202A_202B_206C_206E_200E_200F_202C_202E_200E_206B_206C_200D_202E(SmartNavResources.Load(global::_003CModule_003E._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(-734508580), overrideDirectory) ?? _206B_206B_200F_206A_206F_202D_202E_202D_206D_200C_200B_206A_200B_202B_200E_206A_200B_206E_206C_200B_202D_202C_200C_206A_200B_200F_200D_200D_206B_200D_206E_202B_202D_200C_206A_206E_202B_202A_206F_202E_202E()); + } + + static TeleportTicketFile _206B_206B_200F_206A_206F_202D_202E_202D_206D_200C_200B_206A_200B_202B_200E_206A_200B_206E_206C_200B_202D_202C_200C_206A_200B_200F_200D_200D_206B_200D_206E_202B_202D_200C_206A_206E_202B_202A_206F_202E_202E() + { + return new TeleportTicketFile(); + } + + static Dictionary _206A_200D_200C_200B_200B_200E_200E_200E_202C_200C_206C_200F_200D_206D_202A_200B_200D_200D_202D_202D_206D_200F_202C_200F_206C_202C_202D_202B_202A_202B_206C_206E_200E_200F_202C_202E_200E_206B_206C_200D_202E(TeleportTicketFile P_0) + { + return P_0.Tickets; + } +} diff --git a/SmartNav.Data/SmartNav.Data/AssemblyWarpDestinationLoader.cs b/SmartNav.Data/SmartNav.Data/AssemblyWarpDestinationLoader.cs new file mode 100644 index 00000000..ed01603e --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/AssemblyWarpDestinationLoader.cs @@ -0,0 +1,30 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public static class AssemblyWarpDestinationLoader +{ + [MethodImpl(MethodImplOptions.NoInlining)] + public static (IReadOnlyList SkippedWarpIds, IReadOnlyDictionary Destinations) GetOverrides(string? overrideDirectory = null) + { + WarpDestinationOverrides warpDestinationOverrides = SmartNavResources.Load(global::_003CModule_003E._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(1593928925), overrideDirectory) ?? _202D_200E_206B_206E_206E_200C_206F_200F_206D_200E_206A_200B_200C_200D_200D_200D_202A_206C_206D_202E_202D_200B_206C_206F_200C_206A_202B_202E_202E_200E_202A_206C_202C_206B_206B_206C_206F_206C_202B_206F_202E(); + return (SkippedWarpIds: _206D_202E_200D_206D_202E_206A_200F_200E_202C_200E_200F_200D_200E_206B_202C_202E_200F_202C_202E_200B_200C_200F_206A_206A_202E_206E_202E_202B_206C_200C_202B_206B_206E_200C_200D_202E_200E_206A_206F_202E_202E(warpDestinationOverrides), Destinations: _202B_206F_206A_200D_200C_202A_200B_206C_202D_202C_202A_200D_206D_200B_206B_202A_206D_202D_202C_206E_200F_200C_206A_202A_200F_200F_200F_200D_200B_202D_206A_202D_202A_200C_206B_206F_200D_200C_202B_200F_202E(warpDestinationOverrides)); + } + + static WarpDestinationOverrides _202D_200E_206B_206E_206E_200C_206F_200F_206D_200E_206A_200B_200C_200D_200D_200D_202A_206C_206D_202E_202D_200B_206C_206F_200C_206A_202B_202E_202E_200E_202A_206C_202C_206B_206B_206C_206F_206C_202B_206F_202E() + { + return new WarpDestinationOverrides(); + } + + static List _206D_202E_200D_206D_202E_206A_200F_200E_202C_200E_200F_200D_200E_206B_202C_202E_200F_202C_202E_200B_200C_200F_206A_206A_202E_206E_202E_202B_206C_200C_202B_206B_206E_200C_200D_202E_200E_206A_206F_202E_202E(WarpDestinationOverrides P_0) + { + return P_0.SkippedWarpIds; + } + + static Dictionary _202B_206F_206A_200D_200C_202A_200B_206C_202D_202C_202A_200D_206D_200B_206B_202A_206D_202D_202C_206E_200F_200C_206A_202A_200F_200F_200F_200D_200B_202D_206A_202D_202A_200C_206B_206F_200D_200C_202B_200F_202E(WarpDestinationOverrides P_0) + { + return P_0.Destinations; + } +} diff --git a/SmartNav.Data/SmartNav.Data/AssemblyZoneSubRegionLoader.cs b/SmartNav.Data/SmartNav.Data/AssemblyZoneSubRegionLoader.cs new file mode 100644 index 00000000..43d3dca2 --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/AssemblyZoneSubRegionLoader.cs @@ -0,0 +1,24 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +public static class AssemblyZoneSubRegionLoader +{ + [MethodImpl(MethodImplOptions.NoInlining)] + public static IReadOnlyDictionary GetRegions(string? overrideDirectory = null) + { + return _200F_200B_206A_206E_202E_206E_206C_206A_206B_206B_206D_206E_200E_206C_200E_202E_202E_206F_206A_206D_202D_206E_200E_202C_202A_200C_206D_206F_206A_206D_200D_206E_206B_206C_202D_200E_202C_202E_206D_202D_202E(SmartNavResources.Load(global::_003CModule_003E._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(-1591869045), overrideDirectory) ?? _200B_200F_200C_206B_202D_200C_202D_206F_206D_206A_206F_200E_206B_200C_206A_206A_202B_206F_202A_202C_202D_206F_206A_202C_206B_200E_200B_200D_206D_206A_200F_200B_200F_202C_200F_200D_202B_206F_202A_206D_202E()); + } + + static ZoneSubRegionFile _200B_200F_200C_206B_202D_200C_202D_206F_206D_206A_206F_200E_206B_200C_206A_206A_202B_206F_202A_202C_202D_206F_206A_202C_206B_200E_200B_200D_206D_206A_200F_200B_200F_202C_200F_200D_202B_206F_202A_206D_202E() + { + return new ZoneSubRegionFile(); + } + + static Dictionary _200F_200B_206A_206E_202E_206E_206C_206A_206B_206B_206D_206E_200E_206C_200E_202E_202E_206F_206A_206D_202D_206E_200E_202C_202A_200C_206D_206F_206A_206D_200D_206E_206B_206C_202D_200E_202C_202E_206D_202D_202E(ZoneSubRegionFile P_0) + { + return P_0.Regions; + } +} diff --git a/SmartNav.Data/SmartNav.Data/DataBundleSecret.cs b/SmartNav.Data/SmartNav.Data/DataBundleSecret.cs new file mode 100644 index 00000000..9d3779f0 --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/DataBundleSecret.cs @@ -0,0 +1,68 @@ +using System; +using System.Runtime.CompilerServices; + +namespace SmartNav.Data; + +internal static class DataBundleSecret +{ + private static readonly byte[] A; + + private static readonly byte[] B; + + internal static byte[] Key() + { + byte[] array = new byte[A.Length]; + int num = 0; + int num2 = 1494450304; + while (true) + { + int num3 = num2; + int num4 = 1494450304; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = ((num < array.Length) ? 1494450305 : 1494450307); + break; + case 1: + { + int num6 = num; + byte num7 = A[num]; + num4 = B[num]; + num5 = num7; + int num8 = num5 + num4; + int num9 = num5 & num4; + array[num6] = (byte)(num8 - (num9 + num9)); + int num10 = num; + num4 = 1; + num5 = num10; + int num11 = num5 ^ num4; + int num12 = num5 & num4; + num = num11 + (num12 + num12); + num2 = 1494450304; + break; + } + case 3: + return array; + case 2: + num2 = 1494450304; + break; + } + } + } + + static DataBundleSecret() + { + byte[] array = new byte[32]; + _200B_206B_200C_206B_202A_202D_206F_200F_202B_206B_200F_202A_202A_206F_202E_200B_200C_202D_200E_200F_200B_206D_206C_206E_202C_200D_206D_202D_200F_202C_206E_206C_202B_200D_200F_202C_202A_206F_200D_206D_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + A = array; + byte[] array2 = new byte[32]; + _200B_206B_200C_206B_202A_202D_206F_200F_202B_206B_200F_202A_202A_206F_202E_200B_200C_202D_200E_200F_200B_206D_206C_206E_202C_200D_206D_202D_200F_202C_206E_206C_202B_200D_200F_202C_202A_206F_200D_206D_202E((Array)array2, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + B = array2; + } + + static void _200B_206B_200C_206B_202A_202D_206F_200F_202B_206B_200F_202A_202A_206F_202E_200B_200C_202D_200E_200F_200B_206D_206C_206E_202C_200D_206D_202D_200F_202C_206E_206C_202B_200D_200F_202C_202A_206F_200D_206D_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } +} diff --git a/SmartNav.Data/SmartNav.Data/SmartNavResources.cs b/SmartNav.Data/SmartNav.Data/SmartNavResources.cs new file mode 100644 index 00000000..a8639f05 --- /dev/null +++ b/SmartNav.Data/SmartNav.Data/SmartNavResources.cs @@ -0,0 +1,324 @@ +using System; +using System.IO; +using System.IO.Compression; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Security.Cryptography; +using System.Text.Json; + +namespace SmartNav.Data; + +internal static class SmartNavResources +{ + private static readonly Assembly Assembly = _206F_202B_202E_202D_200E_200B_200C_200D_206D_200B_200C_202C_206E_202D_206F_206E_202A_202E_206D_202A_202E_200B_202A_200F_200B_200C_200C_206E_202B_200C_206F_200B_200C_206A_200F_200E_200B_202A_206B_200E_202E(_202C_206B_202C_202D_200D_206B_200F_206C_202D_202B_206F_202B_202B_200E_202B_206F_202D_200C_202A_200D_200B_206E_202E_202E_206F_200F_206A_206A_200D_200E_206E_202A_206C_202D_200C_200C_200D_206A_200D_206E_202E(typeof(SmartNavResources).TypeHandle)); + + [MethodImpl(MethodImplOptions.NoInlining)] + public static T? Load(string fileName, string? overrideDirectory) + { + int num = ((overrideDirectory == null) ? (-221038174) : (-221038176)); + string text = default(string); + while (true) + { + int num2 = num; + int num3 = -221038175; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return DeserializeFile(text); + case 3: + return DeserializeResource(_202B_200C_200D_200C_202A_206F_202A_206B_200B_206E_206A_200D_206E_202C_206C_200C_200B_200F_200E_200F_200E_206D_200F_202A_206F_200C_206A_200C_206B_202A_200C_206B_202D_202C_200D_200D_206A_200C_200C_206A_202E(global::_003CModule_003E._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(-176470543), fileName)); + case 2: + num = -221038176; + break; + case 1: + text = _200E_206E_202D_200F_200F_200D_202D_206B_200F_206B_200B_200D_202C_206B_200C_206A_202C_200E_206B_206A_202D_200E_206F_206C_200D_206A_202D_202C_206E_206A_202A_200F_206B_206D_202A_202A_202E_206B_202A_202E_202E(overrideDirectory, fileName); + num = ((!_206C_206E_200F_206A_200C_202E_206D_206C_200F_202A_200B_202D_202D_202E_206E_200F_206C_202B_206E_202D_202A_200F_206C_202C_202B_206B_200F_202A_200D_202A_206D_206E_200B_202A_202E_200B_200B_200F_206F_200D_202E(text)) ? (-221038174) : (-221038175)); + break; + } + } + } + + public static T? DeserializeFile(string path) + { + Stream stream = _200E_202B_206F_200B_206A_202C_202A_200E_200C_206D_206B_200D_206B_200D_202D_206F_202D_200F_200D_200F_202D_206E_202E_200B_200D_202E_202C_202E_206D_202A_202D_200E_206C_202A_206F_200D_200E_206D_202D_202B_202E(path); + try + { + return JsonSerializer.Deserialize(stream); + } + finally + { + int num = ((stream == null) ? 1932184292 : 1932184295); + while (true) + { + int num2 = num; + int num3 = 1932184294; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0030; + case 1: + _206D_202E_202D_202E_206B_206C_202C_206C_202C_206A_206F_200F_200F_202C_202B_202B_206F_202A_200B_200D_202C_200C_202B_202E_206D_200D_206A_202C_202B_202E_206E_206F_206B_200B_206B_206F_202B_206C_202D_206C_202E((IDisposable?)stream); + num = 1932184292; + break; + case 0: + num = 1932184295; + break; + } + continue; + end_IL_0030: + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static T? DeserializeResource(string resourceName) + { + string text = _202C_206E_202E_206A_206E_202B_200B_202E_200E_206D_200E_206A_200C_206B_206E_200C_202D_200D_202E_206B_200B_202C_202B_206D_206C_200C_200F_200C_202E_202C_200F_206A_206C_200E_200C_202D_206F_200C_202D_206E_202E(resourceName, global::_003CModule_003E._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(985938895)); + Stream stream = _200E_206C_200B_202A_202D_206B_206A_206A_206B_202B_202B_206C_206F_206D_200D_200D_202E_206C_200C_200C_206D_202D_202A_206A_200B_200E_206B_202D_206A_202B_200F_200B_206A_206B_202B_200D_202D_200E_206A_206D_202E(Assembly, text); + try + { + int num = ((stream != null) ? (-1225651699) : (-1225651698)); + while (true) + { + int num2 = num; + int num3 = -1225651700; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0067; + case 2: + return default(T); + case 1: + { + MemoryStream memoryStream = _206F_206C_206E_206D_206F_202E_200C_200E_202A_206A_202A_206E_206A_200B_206E_206C_206F_206E_200D_202C_200B_202E_200F_200C_206A_206E_200B_206B_206A_206D_200C_202E_202E_202E_200D_206D_202C_206A_206E_206E_202E(); + try + { + _202D_200F_202B_200D_200F_202C_200D_200F_200D_200B_206E_202C_206E_200E_206C_206D_200C_202E_206C_200D_202C_200F_202E_206C_202D_206D_200D_200E_200C_206B_202A_202E_202B_206A_200C_202D_200F_200E_202B_206E_202E(stream, (Stream?)memoryStream); + byte[] array = _202E_200E_202B_202E_206A_206A_206C_200E_206C_200F_202D_202B_202A_200F_200F_206B_206E_202A_200E_206B_206A_202D_206A_206F_206B_200C_206F_202D_202B_206D_200C_200B_200B_200B_200B_206C_206B_206A_202D_202C_202E(memoryStream); + int num5 = array.Length; + num3 = 28; + num4 = num5; + byte[] array2 = new byte[~(~num4 + num3)]; + byte[] array3 = DataBundleSecret.Key(); + try + { + AesGcm aesGcm = _202A_206C_200F_206D_200D_200F_206C_202D_200F_202A_206D_200D_200F_202D_206F_202A_202D_200B_202C_202C_206E_202D_206B_206B_200D_202D_200B_200D_202E_206E_200F_206D_206E_200B_206B_206C_206E_200E_200F_202E(array3, 16); + try + { + _200E_200C_200C_206A_206D_202A_200F_206C_200F_206C_206E_202A_206E_202C_206C_206D_202D_202A_200D_200E_206D_200F_206F_202B_206F_206A_206E_202B_202A_200C_202E_200E_200F_200C_206F_200E_200C_206C_202D_202D_202E(aesGcm, (ReadOnlySpan)array.AsSpan(0, 12), (ReadOnlySpan)array.AsSpan(28), (ReadOnlySpan)array.AsSpan(12, 16), (Span)array2, default(ReadOnlySpan)); + } + finally + { + num = ((aesGcm == null) ? (-507593817) : (-507593820)); + while (true) + { + int num6 = num; + num3 = -507593818; + num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 1: + goto end_IL_0133; + case 2: + _206D_202E_202D_202E_206B_206C_202C_206C_202C_206A_206F_200F_200F_202C_202B_202B_206F_202A_200B_200D_202C_200C_202B_202E_206D_200D_206A_202C_202B_202E_206E_206F_206B_200B_206B_206F_202B_206C_202D_206C_202E((IDisposable?)aesGcm); + num = -507593817; + break; + case 0: + num = -507593820; + break; + } + continue; + end_IL_0133: + break; + } + } + } + finally + { + _200C_202C_202C_202E_200C_206F_200C_200C_206F_200B_202D_206D_202B_206C_200B_206B_206B_200D_200F_206F_202B_202A_202A_206F_206E_202B_200F_200E_206D_202D_206D_200D_206C_200C_206B_200B_200F_200D_206D_206C_202E((Span)array3); + } + DeflateStream deflateStream = _206A_202E_206B_206A_200B_202E_202B_200F_200D_200E_206F_206F_200F_202B_200E_200E_200B_200D_206B_206B_202E_200C_206F_200D_206D_206D_206B_206E_202C_200D_202E_206F_206E_202B_206F_206A_206A_200B_200E_200E_202E((Stream?)_206B_206A_200B_202D_206E_200E_202A_206C_206E_206A_200D_206E_200B_200E_200F_200B_202A_202D_200E_200B_202E_206C_200F_200E_206A_206C_202E_200F_206A_206E_206D_202C_202C_200E_200D_200E_200F_206F_206F_202A_202E(array2), CompressionMode.Decompress); + try + { + return JsonSerializer.Deserialize(deflateStream); + } + finally + { + num = ((deflateStream == null) ? (-2110403470) : (-2110403471)); + while (true) + { + int num9 = num; + num3 = -2110403472; + num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 2: + goto end_IL_01cb; + case 1: + _206D_202E_202D_202E_206B_206C_202C_206C_202C_206A_206F_200F_200F_202C_202B_202B_206F_202A_200B_200D_202C_200C_202B_202E_206D_200D_206A_202C_202B_202E_206E_206F_206B_200B_206B_206F_202B_206C_202D_206C_202E((IDisposable?)deflateStream); + num = -2110403470; + break; + case 0: + num = -2110403471; + break; + } + continue; + end_IL_01cb: + break; + } + } + } + finally + { + num = ((memoryStream == null) ? (-1202265415) : (-1202265416)); + while (true) + { + int num12 = num; + num3 = -1202265415; + num4 = num12; + int num13 = num4 + num3; + int num14 = num4 & num3; + switch (num13 - (num14 + num14)) + { + case 0: + goto end_IL_0237; + case 1: + _206D_202E_202D_202E_206B_206C_202C_206C_202C_206A_206F_200F_200F_202C_202B_202B_206F_202A_200B_200D_202C_200C_202B_202E_206D_200D_206A_202C_202B_202E_206E_206F_206B_200B_206B_206F_202B_206C_202D_206C_202E((IDisposable?)memoryStream); + num = -1202265415; + break; + case 2: + num = -1202265416; + break; + } + continue; + end_IL_0237: + break; + } + } + } + } + continue; + IL_0067: + num = -1225651698; + } + } + finally + { + int num = ((stream == null) ? (-1412160920) : (-1412160919)); + while (true) + { + int num15 = num; + int num3 = -1412160920; + int num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_02a2; + case 1: + _206D_202E_202D_202E_206B_206C_202C_206C_202C_206A_206F_200F_200F_202C_202B_202B_206F_202A_200B_200D_202C_200C_202B_202E_206D_200D_206A_202C_202B_202E_206E_206F_206B_200B_206B_206F_202B_206C_202D_206C_202E((IDisposable?)stream); + num = -1412160920; + break; + case 2: + num = -1412160919; + break; + } + continue; + end_IL_02a2: + break; + } + } + } + + static string? _200E_206E_202D_200F_200F_200D_202D_206B_200F_206B_200B_200D_202C_206B_200C_206A_202C_200E_206B_206A_202D_200E_206F_206C_200D_206A_202D_202C_206E_206A_202A_200F_206B_206D_202A_202A_202E_206B_202A_202E_202E(string? P_0, string? P_1) + { + return Path.Combine(P_0, P_1); + } + + static bool _206C_206E_200F_206A_200C_202E_206D_206C_200F_202A_200B_202D_202D_202E_206E_200F_206C_202B_206E_202D_202A_200F_206C_202C_202B_206B_200F_202A_200D_202A_206D_206E_200B_202A_202E_200B_200B_200F_206F_200D_202E(string? P_0) + { + return File.Exists(P_0); + } + + static string? _202B_200C_200D_200C_202A_206F_202A_206B_200B_206E_206A_200D_206E_202C_206C_200C_200B_200F_200E_200F_200E_206D_200F_202A_206F_200C_206A_200C_206B_202A_200C_206B_202D_202C_200D_200D_206A_200C_200C_206A_202E(string? P_0, string? P_1) + { + return P_0 + P_1; + } + + static FileStream? _200E_202B_206F_200B_206A_202C_202A_200E_200C_206D_206B_200D_206B_200D_202D_206F_202D_200F_200D_200F_202D_206E_202E_200B_200D_202E_202C_202E_206D_202A_202D_200E_206C_202A_206F_200D_200E_206D_202D_202B_202E(string? P_0) + { + return File.OpenRead(P_0); + } + + static void _206D_202E_202D_202E_206B_206C_202C_206C_202C_206A_206F_200F_200F_202C_202B_202B_206F_202A_200B_200D_202C_200C_202B_202E_206D_200D_206A_202C_202B_202E_206E_206F_206B_200B_206B_206F_202B_206C_202D_206C_202E(IDisposable? P_0) + { + P_0.Dispose(); + } + + static string? _202C_206E_202E_206A_206E_202B_200B_202E_200E_206D_200E_206A_200C_206B_206E_200C_202D_200D_202E_206B_200B_202C_202B_206D_206C_200C_200F_200C_202E_202C_200F_206A_206C_200E_200C_202D_206F_200C_202D_206E_202E(string? P_0, string? P_1) + { + return Path.ChangeExtension(P_0, P_1); + } + + static Stream? _200E_206C_200B_202A_202D_206B_206A_206A_206B_202B_202B_206C_206F_206D_200D_200D_202E_206C_200C_200C_206D_202D_202A_206A_200B_200E_206B_202D_206A_202B_200F_200B_206A_206B_202B_200D_202D_200E_206A_206D_202E(Assembly? P_0, string? P_1) + { + return P_0.GetManifestResourceStream(P_1); + } + + static MemoryStream? _206F_206C_206E_206D_206F_202E_200C_200E_202A_206A_202A_206E_206A_200B_206E_206C_206F_206E_200D_202C_200B_202E_200F_200C_206A_206E_200B_206B_206A_206D_200C_202E_202E_202E_200D_206D_202C_206A_206E_206E_202E() + { + return new MemoryStream(); + } + + static void _202D_200F_202B_200D_200F_202C_200D_200F_200D_200B_206E_202C_206E_200E_206C_206D_200C_202E_206C_200D_202C_200F_202E_206C_202D_206D_200D_200E_200C_206B_202A_202E_202B_206A_200C_202D_200F_200E_202B_206E_202E(Stream? P_0, Stream? P_1) + { + P_0.CopyTo(P_1); + } + + static byte[]? _202E_200E_202B_202E_206A_206A_206C_200E_206C_200F_202D_202B_202A_200F_200F_206B_206E_202A_200E_206B_206A_202D_206A_206F_206B_200C_206F_202D_202B_206D_200C_200B_200B_200B_200B_206C_206B_206A_202D_202C_202E(MemoryStream? P_0) + { + return P_0.ToArray(); + } + + static AesGcm? _202A_206C_200F_206D_200D_200F_206C_202D_200F_202A_206D_200D_200F_202D_206F_202A_202D_200B_202C_202C_206E_202D_206B_206B_200D_202D_200B_200D_202E_206E_200F_206D_206E_200B_206B_206C_206E_200E_200F_202E(byte[]? P_0, int P_1) + { + return new AesGcm(P_0, P_1); + } + + static void _200E_200C_200C_206A_206D_202A_200F_206C_200F_206C_206E_202A_206E_202C_206C_206D_202D_202A_200D_200E_206D_200F_206F_202B_206F_206A_206E_202B_202A_200C_202E_200E_200F_200C_206F_200E_200C_206C_202D_202D_202E(AesGcm? P_0, ReadOnlySpan P_1, ReadOnlySpan P_2, ReadOnlySpan P_3, Span P_4, ReadOnlySpan P_5) + { + P_0.Decrypt(P_1, P_2, P_3, P_4, P_5); + } + + static void _200C_202C_202C_202E_200C_206F_200C_200C_206F_200B_202D_206D_202B_206C_200B_206B_206B_200D_200F_206F_202B_202A_202A_206F_206E_202B_200F_200E_206D_202D_206D_200D_206C_200C_206B_200B_200F_200D_206D_206C_202E(Span P_0) + { + CryptographicOperations.ZeroMemory(P_0); + } + + static MemoryStream? _206B_206A_200B_202D_206E_200E_202A_206C_206E_206A_200D_206E_200B_200E_200F_200B_202A_202D_200E_200B_202E_206C_200F_200E_206A_206C_202E_200F_206A_206E_206D_202C_202C_200E_200D_200E_200F_206F_206F_202A_202E(byte[]? P_0) + { + return new MemoryStream(P_0); + } + + static DeflateStream? _206A_202E_206B_206A_200B_202E_202B_200F_200D_200E_206F_206F_200F_202B_200E_200E_200B_200D_206B_206B_202E_200C_206F_200D_206D_206D_206B_206E_202C_200D_202E_206F_206E_202B_206F_206A_206A_200B_200E_200E_202E(Stream? P_0, CompressionMode P_1) + { + return new DeflateStream(P_0, P_1); + } + + static Type? _202C_206B_202C_202D_200D_206B_200F_206C_202D_202B_206F_202B_202B_200E_202B_206F_202D_200C_202A_200D_200B_206E_202E_202E_206F_200F_206A_206A_200D_200E_206E_202A_206C_202D_200C_200C_200D_206A_200D_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static Assembly? _206F_202B_202E_202D_200E_200B_200C_200D_206D_200B_200C_202C_206E_202D_206F_206E_202A_202E_206D_202A_202E_200B_202A_200F_200B_200C_200C_206E_202B_200C_206F_200B_200C_206A_200F_200E_200B_202A_206B_200E_202E(Type? P_0) + { + return P_0.Assembly; + } +} diff --git a/SmartNav.Model/-----------------------------------------.cs b/SmartNav.Model/-----------------------------------------.cs new file mode 100644 index 00000000..0692cf19 --- /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 00000000..0cad21f2 --- /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 00000000..84befd5c --- /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 00000000..08b313a5 --- /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 00000000..8dc51f21 --- /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, + global::_003CModule_003E._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(-599649086) + }, + { + EAetheryteLocation.CentralShroudBentbranchMeadows, + global::_003CModule_003E._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(1626768764) + }, + { + EAetheryteLocation.EastShroudHawthorneHut, + global::_003CModule_003E._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(585431075) + }, + { + EAetheryteLocation.SouthShroudQuarrymill, + global::_003CModule_003E._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(1020891099) + }, + { + EAetheryteLocation.SouthShroudCampTranquil, + global::_003CModule_003E._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(1456351123) + }, + { + EAetheryteLocation.NorthShroudFallgourdFloat, + global::_003CModule_003E._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(-1930385921) + }, + { + EAetheryteLocation.Uldah, + global::_003CModule_003E._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(-1122846300) + }, + { + EAetheryteLocation.WesternThanalanHorizon, + global::_003CModule_003E._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(-819985826) + }, + { + EAetheryteLocation.CentralThanalanBlackBrushStation, + global::_003CModule_003E._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(-1162154365) + }, + { + EAetheryteLocation.EasternThanalanCampDrybone, + global::_003CModule_003E._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(103645348) + }, + { + EAetheryteLocation.SouthernThanalanLittleAlaMhigo, + global::_003CModule_003E._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(1263533841) + }, + { + EAetheryteLocation.SouthernThanalanForgottenSprings, + global::_003CModule_003E._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(1101987304) + }, + { + EAetheryteLocation.NorthernThanalanCampBluefog, + global::_003CModule_003E._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(380355622) + }, + { + EAetheryteLocation.NorthernThanalanCeruleumProcessingPlant, + global::_003CModule_003E._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(-977900880) + }, + { + EAetheryteLocation.Limsa, + global::_003CModule_003E._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(692347610) + }, + { + EAetheryteLocation.MiddleLaNosceaSummerfordFarms, + global::_003CModule_003E._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(-176634534) + }, + { + EAetheryteLocation.LowerLaNosceaMorabyDrydocks, + global::_003CModule_003E._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(-1598826239) + }, + { + EAetheryteLocation.EasternLaNosceaCostaDelSol, + global::_003CModule_003E._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(625136766) + }, + { + EAetheryteLocation.EasternLaNosceaWineport, + global::_003CModule_003E._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(-1848678476) + }, + { + EAetheryteLocation.WesternLaNosceaSwiftperch, + global::_003CModule_003E._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(630947043) + }, + { + EAetheryteLocation.WesternLaNosceaAleport, + global::_003CModule_003E._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(-1154838978) + }, + { + EAetheryteLocation.UpperLaNosceaCampBronzeLake, + global::_003CModule_003E._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(-1036658167) + }, + { + EAetheryteLocation.OuterLaNosceaCampOverlook, + global::_003CModule_003E._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(1170140596) + }, + { + EAetheryteLocation.CoerthasCentralHighlandsCampDragonhead, + global::_003CModule_003E._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(-815843465) + }, + { + EAetheryteLocation.MorDhona, + global::_003CModule_003E._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(1917120265) + }, + { + EAetheryteLocation.WolvesDenPier, + global::_003CModule_003E._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(-70811036) + }, + { + EAetheryteLocation.GoldSaucer, + global::_003CModule_003E._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(-1951121743) + }, + { + EAetheryteLocation.Ishgard, + global::_003CModule_003E._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(610045683) + }, + { + EAetheryteLocation.Idyllshire, + global::_003CModule_003E._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(-427041624) + }, + { + EAetheryteLocation.CoerthasWesternHighlandsFalconsNest, + global::_003CModule_003E._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(-1495733388) + }, + { + EAetheryteLocation.SeaOfCloudsCampCloudtop, + global::_003CModule_003E._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(2033021693) + }, + { + EAetheryteLocation.SeaOfCloudsOkZundu, + global::_003CModule_003E._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(-1335307853) + }, + { + EAetheryteLocation.AzysLlaHelix, + global::_003CModule_003E._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(387929564) + }, + { + EAetheryteLocation.DravanianForelandsTailfeather, + global::_003CModule_003E._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(1710341904) + }, + { + EAetheryteLocation.DravanianForelandsAnyxTrine, + global::_003CModule_003E._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(1636117458) + }, + { + EAetheryteLocation.ChurningMistsMoghome, + global::_003CModule_003E._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(-1982454238) + }, + { + EAetheryteLocation.ChurningMistsZenith, + global::_003CModule_003E._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(1364214043) + }, + { + EAetheryteLocation.RhalgrsReach, + global::_003CModule_003E._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(-1554490675) + }, + { + EAetheryteLocation.FringesCastrumOriens, + global::_003CModule_003E._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(-930802894) + }, + { + EAetheryteLocation.FringesPeeringStones, + global::_003CModule_003E._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(774080887) + }, + { + EAetheryteLocation.PeaksAlaGannha, + global::_003CModule_003E._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(-1816002628) + }, + { + EAetheryteLocation.PeaksAlaGhiri, + global::_003CModule_003E._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(654078727) + }, + { + EAetheryteLocation.LochsPortaPraetoria, + global::_003CModule_003E._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(3529823) + }, + { + EAetheryteLocation.LochsAlaMhiganQuarter, + global::_003CModule_003E._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(1589117804) + }, + { + EAetheryteLocation.Kugane, + global::_003CModule_003E._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(-643713965) + }, + { + EAetheryteLocation.RubySeaTamamizu, + global::_003CModule_003E._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(1960458799) + }, + { + EAetheryteLocation.RubySeaOnokoro, + global::_003CModule_003E._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(-10210316) + }, + { + EAetheryteLocation.YanxiaNamai, + global::_003CModule_003E._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(-219345513) + }, + { + EAetheryteLocation.YanxiaHouseOfTheFierce, + global::_003CModule_003E._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(201456790) + }, + { + EAetheryteLocation.AzimSteppeReunion, + global::_003CModule_003E._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(636916814) + }, + { + EAetheryteLocation.AzimSteppeDawnThrone, + global::_003CModule_003E._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(199731451) + }, + { + EAetheryteLocation.AzimSteppeDhoroIloh, + global::_003CModule_003E._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(817733533) + }, + { + EAetheryteLocation.DomanEnclave, + global::_003CModule_003E._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(249299427) + }, + { + EAetheryteLocation.Crystarium, + global::_003CModule_003E._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(-1651501989) + }, + { + EAetheryteLocation.Eulmore, + global::_003CModule_003E._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(2052538734) + }, + { + EAetheryteLocation.LakelandFortJobb, + global::_003CModule_003E._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(52588375) + }, + { + EAetheryteLocation.LakelandOstallImperative, + global::_003CModule_003E._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(233135752) + }, + { + EAetheryteLocation.KholusiaStilltide, + global::_003CModule_003E._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(-1045290338) + }, + { + EAetheryteLocation.KholusiaWright, + global::_003CModule_003E._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(-68967603) + }, + { + EAetheryteLocation.KholusiaTomra, + global::_003CModule_003E._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(1880124300) + }, + { + EAetheryteLocation.AmhAraengMordSouq, + global::_003CModule_003E._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(-551660069) + }, + { + EAetheryteLocation.AmhAraengInnAtJourneysHead, + global::_003CModule_003E._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(-267283137) + }, + { + EAetheryteLocation.AmhAraengTwine, + global::_003CModule_003E._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(1987023047) + }, + { + EAetheryteLocation.RaktikaSlitherbough, + global::_003CModule_003E._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(1132009782) + }, + { + EAetheryteLocation.RaktikaFanow, + global::_003CModule_003E._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(1074994822) + }, + { + EAetheryteLocation.IlMhegLydhaLran, + global::_003CModule_003E._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(505584670) + }, + { + EAetheryteLocation.IlMhegPlaEnni, + global::_003CModule_003E._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(1207937136) + }, + { + EAetheryteLocation.IlMhegWolekdorf, + global::_003CModule_003E._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(1708498471) + }, + { + EAetheryteLocation.TempestOndoCups, + global::_003CModule_003E._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(-1873064654) + }, + { + EAetheryteLocation.TempestMacarensesAngle, + global::_003CModule_003E._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(-1554610330) + }, + { + EAetheryteLocation.OldSharlayan, + global::_003CModule_003E._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(-570548611) + }, + { + EAetheryteLocation.RadzAtHan, + global::_003CModule_003E._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(1035979644) + }, + { + EAetheryteLocation.LabyrinthosArcheion, + global::_003CModule_003E._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(-645021643) + }, + { + EAetheryteLocation.LabyrinthosSharlayanHamlet, + global::_003CModule_003E._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(55146778) + }, + { + EAetheryteLocation.LabyrinthosAporia, + global::_003CModule_003E._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(225898405) + }, + { + EAetheryteLocation.ThavnairYedlihmad, + global::_003CModule_003E._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(-738978413) + }, + { + EAetheryteLocation.ThavnairGreatWork, + global::_003CModule_003E._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(-537708772) + }, + { + EAetheryteLocation.ThavnairPalakasStand, + global::_003CModule_003E._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(1052509040) + }, + { + EAetheryteLocation.GarlemaldCampBrokenGlass, + global::_003CModule_003E._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(-408684817) + }, + { + EAetheryteLocation.GarlemaldTertium, + global::_003CModule_003E._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(-1717975084) + }, + { + EAetheryteLocation.MareLamentorumSinusLacrimarum, + global::_003CModule_003E._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(2085214582) + }, + { + EAetheryteLocation.MareLamentorumBestwaysBurrow, + global::_003CModule_003E._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(1790148004) + }, + { + EAetheryteLocation.ElpisAnagnorisis, + global::_003CModule_003E._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(1495081426) + }, + { + EAetheryteLocation.ElpisTwelveWonders, + global::_003CModule_003E._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(-842666565) + }, + { + EAetheryteLocation.ElpisPoietenOikos, + global::_003CModule_003E._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(-1882174279) + }, + { + EAetheryteLocation.UltimaThuleReahTahra, + global::_003CModule_003E._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(2128311357) + }, + { + EAetheryteLocation.UltimaThuleAbodeOfTheEa, + global::_003CModule_003E._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(-2069773397) + }, + { + EAetheryteLocation.UltimaThuleBaseOmicron, + global::_003CModule_003E._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(1232526705) + }, + { + EAetheryteLocation.Tuliyollal, + global::_003CModule_003E._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(-73133818) + }, + { + EAetheryteLocation.SolutionNine, + global::_003CModule_003E._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(-2002887454) + }, + { + EAetheryteLocation.UrqopachaWachunpelo, + global::_003CModule_003E._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(97617809) + }, + { + EAetheryteLocation.UrqopachaWorlarsEcho, + global::_003CModule_003E._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(-1624532702) + }, + { + EAetheryteLocation.KozamaukaOkHanu, + global::_003CModule_003E._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(86507706) + }, + { + EAetheryteLocation.KozamaukaManyFires, + global::_003CModule_003E._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(-1615091395) + }, + { + EAetheryteLocation.KozamaukaEarthenshire, + global::_003CModule_003E._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(-1688862953) + }, + { + EAetheryteLocation.KozamaukaDockPoga, + global::_003CModule_003E._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(-803472452) + }, + { + EAetheryteLocation.YakTelIqBraax, + global::_003CModule_003E._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(1433068843) + }, + { + EAetheryteLocation.YakTelMamook, + global::_003CModule_003E._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(-1816494601) + }, + { + EAetheryteLocation.ShaaloaniHhusatahwi, + global::_003CModule_003E._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(1986695065) + }, + { + EAetheryteLocation.ShaaloaniShesheneweziSprings, + global::_003CModule_003E._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(-603388450) + }, + { + EAetheryteLocation.ShaaloaniMehwahhetsoan, + global::_003CModule_003E._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(-1550065480) + }, + { + EAetheryteLocation.HeritageFoundYyasulaniStation, + global::_003CModule_003E._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(1962690784) + }, + { + EAetheryteLocation.HeritageFoundTheOutskirts, + global::_003CModule_003E._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(158118256) + }, + { + EAetheryteLocation.HeritageFoundElectropeStrike, + global::_003CModule_003E._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(-106590141) + }, + { + EAetheryteLocation.LivingMemoryLeynodeMnemo, + global::_003CModule_003E._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(937296136) + }, + { + EAetheryteLocation.LivingMemoryLeynodePyro, + global::_003CModule_003E._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(-1817093795) + }, + { + EAetheryteLocation.LivingMemoryLeynodeAero, + global::_003CModule_003E._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(-1947853957) + } + }; + + 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 00000000..964cb8fc --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Converter/EnumConverter.cs @@ -0,0 +1,70 @@ +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) + { + int num = ((reader.TokenType == JsonTokenType.String) ? 1875836266 : 1875836268); + string text = default(string); + T value = default(T); + while (true) + { + int num2 = num; + int num3 = 1875836271; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = (_stringToEnum.TryGetValue(text, out value) ? 1875836270 : 1875836265); + break; + case 6: + throw _200F_200D_200D_200B_206E_202D_206A_200E_202A_202D_206B_206A_200C_202C_200C_200F_200E_202B_200B_202D_202C_202A_200C_200C_200E_200C_202C_202E_200F_202D_200E_206C_202C_206F_202E_202E_206B_206A_202A_202A_202E(); + case 0: + num = 1875836268; + break; + case 2: + throw _200F_200D_200D_200B_206E_202D_206A_200E_202A_202D_206B_206A_200C_202C_200C_200F_200E_202B_200B_202D_202C_202A_200C_200C_200E_200C_202C_202E_200F_202D_200E_206C_202C_206F_202E_202E_206B_206A_202A_202A_202E(); + case 1: + return value; + case 3: + throw _200F_200D_200D_200B_206E_202D_206A_200E_202A_202D_206B_206A_200C_202C_200C_200F_200E_202B_200B_202D_202C_202A_200C_200C_200E_200C_202C_202E_200F_202D_200E_206C_202C_206F_202E_202E_206B_206A_202A_202A_202E(); + case 5: + text = reader.GetString(); + num = ((text != null) ? 1875836267 : 1875836269); + break; + } + } + } + + public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options) + { + _202B_206D_206A_202B_200B_200C_202C_206A_206C_200D_200C_206C_202B_206A_200C_200E_206F_200D_202B_202A_206E_200F_206F_200B_202B_206D_200E_206A_200E_202E_202D_202C_200E_202A_200E_202D_200D_202A_206C_202A_202E(writer, _enumToString[value]); + } + + static JsonException _200F_200D_200D_200B_206E_202D_206A_200E_202A_202D_206B_206A_200C_202C_200C_200F_200E_202B_200B_202D_202C_202A_200C_200C_200E_200C_202C_202E_200F_202D_200E_206C_202C_206F_202E_202E_206B_206A_202A_202A_202E() + { + return new JsonException(); + } + + static void _202B_206D_206A_202B_200B_200C_202C_206A_206C_200D_200C_206C_202B_206A_200C_200E_206F_200D_202B_202A_206E_200F_206F_200B_202B_206D_200E_206A_200E_202E_202D_202C_200E_202A_200E_202D_200D_202A_206C_202A_202E(Utf8JsonWriter P_0, string P_1) + { + P_0.WriteStringValue(P_1); + } +} diff --git a/SmartNav.Model/SmartNav.Model.Converter/VectorConverter.cs b/SmartNav.Model/SmartNav.Model.Converter/VectorConverter.cs new file mode 100644 index 00000000..d51dddd5 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Converter/VectorConverter.cs @@ -0,0 +1,159 @@ +using System; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace SmartNav.Model.Converter; + +public sealed class VectorConverter : JsonConverter +{ + [MethodImpl(MethodImplOptions.NoInlining)] + public override Vector3 Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + int num = ((reader.TokenType == JsonTokenType.StartObject) ? (-1454783213) : (-1454783204)); + string text = default(string); + Vector3 result = default(Vector3); + JsonTokenType tokenType = default(JsonTokenType); + while (true) + { + int num2 = num; + int num3 = -1454783203; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 15: + num = (reader.Read() ? (-1454783209) : (-1454783205)); + break; + case 16: + num = (reader.Read() ? (-1454783210) : (-1454783218)); + break; + case 12: + num = -1454783220; + break; + case 6: + throw _202D_206A_206B_202B_206C_206D_200C_200E_200D_202D_200D_200F_200D_206A_206D_206C_202D_202A_202A_206C_202A_206B_202B_206F_200B_202D_202A_206B_200D_200F_202E_206A_206B_206C_202E_206D_200D_200E_206E_206F_202E(); + case 8: + num = (_200F_200C_202B_206E_206A_206D_200F_202D_206F_202E_202D_206E_200B_206C_206F_200E_202C_206D_200B_206A_202B_200D_200D_206C_200E_202E_202B_200F_200D_200E_206B_200F_206D_206D_202D_206A_200C_200E_206F_206D_202E(text, global::_003CModule_003E._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(874835855)) ? (-1454783206) : (-1454783201)); + break; + case 1: + throw _202D_206A_206B_202B_206C_206D_200C_200E_200D_202D_200D_200F_200D_206A_206D_206C_202D_202A_202A_206C_202A_206B_202B_206F_200B_202D_202A_206B_200D_200F_202E_206A_206B_206C_202E_206D_200D_200E_206E_206F_202E(); + case 0: + throw _202D_206A_206B_202B_206C_206D_200C_200E_200D_202D_200D_200F_200D_206A_206D_206C_202D_202A_202A_206C_202A_206B_202B_206F_200B_202D_202A_206B_200D_200F_202E_206A_206B_206C_202E_206D_200D_200E_206E_206F_202E(); + case 10: + num = (_200F_200C_202B_206E_206A_206D_200F_202D_206F_202E_202D_206E_200B_206C_206F_200E_202C_206D_200B_206A_202B_200D_200D_206C_200E_202E_202B_200F_200D_200E_206B_200F_206D_206D_202D_206A_200C_200E_206F_206D_202E(text, global::_003CModule_003E._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(1039097490)) ? (-1454783202) : (-1454783211)); + break; + case 9: + return result; + case 11: + tokenType = reader.TokenType; + num = ((tokenType == JsonTokenType.EndObject) ? (-1454783212) : (-1454783216)); + break; + case 14: + result = default(Vector3); + num = -1454783219; + break; + case 17: + throw _202D_206A_206B_202B_206C_206D_200C_200E_200D_202D_200D_200F_200D_206A_206D_206C_202D_202A_202A_206C_202A_206B_202B_206F_200B_202D_202A_206B_200D_200F_202E_206A_206B_206C_202E_206D_200D_200E_206E_206F_202E(); + case 4: + result.Z = reader.GetSingle(); + num = -1454783219; + break; + case 13: + num = ((tokenType != JsonTokenType.PropertyName) ? (-1454783203) : (-1454783217)); + break; + case 2: + num = (_200F_200C_202B_206E_206A_206D_200F_202D_206F_202E_202D_206E_200B_206C_206F_200E_202C_206D_200B_206A_202B_200D_200D_206C_200E_202E_202B_200F_200D_200E_206B_200F_206D_206D_202D_206A_200C_200E_206F_206D_202E(text, global::_003CModule_003E._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(-1524088896)) ? (-1454783207) : (-1454783215)); + break; + case 19: + throw _202D_206A_206B_202B_206C_206D_200C_200E_200D_202D_200D_200F_200D_206A_206D_206C_202D_202A_202A_206C_202A_206B_202B_206F_200B_202D_202A_206B_200D_200F_202E_206A_206B_206C_202E_206D_200D_200E_206E_206F_202E(); + case 18: + text = reader.GetString(); + num = ((text == null) ? (-1454783205) : (-1454783214)); + break; + case 3: + result.X = reader.GetSingle(); + num = -1454783219; + break; + case 7: + result.Y = reader.GetSingle(); + num = -1454783219; + break; + case 5: + num = -1454783204; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public override void Write(Utf8JsonWriter writer, Vector3 value, JsonSerializerOptions options) + { + _206F_200E_206F_206E_200E_202D_206D_206F_202C_200D_202D_202D_200C_202C_200E_206B_206B_200F_202C_206A_200B_206C_206C_202D_202C_200F_202B_206C_202A_206E_200E_206E_202B_200D_206F_200B_202A_206A_200F_206D_202E(writer); + _206D_200D_206B_206E_206A_206B_200E_206A_206E_202C_202A_200C_202D_206B_202B_200C_202A_206E_200C_200B_206A_200B_206B_200E_202D_202C_206C_206D_206D_206B_206A_200B_202C_200F_202D_206E_202A_200D_206D_206F_202E(writer, global::_003CModule_003E._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(1052951149), RoundValue(value.X)); + _206D_200D_206B_206E_206A_206B_200E_206A_206E_202C_202A_200C_202D_206B_202B_200C_202A_206E_200C_200B_206A_200B_206B_200E_202D_202C_206C_206D_206D_206B_206A_200B_202C_200F_202D_206E_202A_200D_206D_206F_202E(writer, global::_003CModule_003E._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(874835855), RoundValue(value.Y)); + _206D_200D_206B_206E_206A_206B_200E_206A_206E_202C_202A_200C_202D_206B_202B_200C_202A_206E_200C_200B_206A_200B_206B_200E_202D_202C_206C_206D_206D_206B_206A_200B_202C_200F_202D_206E_202A_200D_206D_206F_202E(writer, global::_003CModule_003E._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(-2144565009), RoundValue(value.Z)); + _200D_200C_200B_202A_200E_206B_202C_206B_206E_206B_202D_202C_206B_206C_206A_200E_206E_200C_200B_200D_206B_202D_206C_202A_206F_206B_202B_206F_206E_202A_200C_200D_200F_200D_206F_200F_206E_200D_206C_206F_202E(writer); + } + + private static float RoundValue(float value) + { + float num = _200B_200B_206D_200E_202B_202B_200E_202A_200E_206D_206F_202E_206A_200D_200D_206A_206D_206A_202B_206C_202E_202C_206F_202D_206C_206F_206B_200E_206D_200E_206D_200B_200E_202E_200B_202E_200C_202D_206C_206D_202E(value, 6); + int num2 = ((_202E_206B_202C_202C_206F_206F_202A_200B_206B_206F_200E_202B_206B_206B_202B_202A_200D_200B_200E_206F_206B_206F_202A_200F_202D_200D_206C_206D_202A_206A_202C_206E_200F_200F_206D_202E_200E_202E_206A_206C_202E(num) < 1E-06f) ? (-2086282528) : (-2086282527)); + while (true) + { + int num3 = num2; + int num4 = -2086282528; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + goto IL_0053; + case 0: + return 0f; + case 1: + return num; + } + continue; + IL_0053: + num2 = -2086282527; + } + } + + static JsonException _202D_206A_206B_202B_206C_206D_200C_200E_200D_202D_200D_200F_200D_206A_206D_206C_202D_202A_202A_206C_202A_206B_202B_206F_200B_202D_202A_206B_200D_200F_202E_206A_206B_206C_202E_206D_200D_200E_206E_206F_202E() + { + return new JsonException(); + } + + static bool _200F_200C_202B_206E_206A_206D_200F_202D_206F_202E_202D_206E_200B_206C_206F_200E_202C_206D_200B_206A_202B_200D_200D_206C_200E_202E_202B_200F_200D_200E_206B_200F_206D_206D_202D_206A_200C_200E_206F_206D_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static void _206F_200E_206F_206E_200E_202D_206D_206F_202C_200D_202D_202D_200C_202C_200E_206B_206B_200F_202C_206A_200B_206C_206C_202D_202C_200F_202B_206C_202A_206E_200E_206E_202B_200D_206F_200B_202A_206A_200F_206D_202E(Utf8JsonWriter P_0) + { + P_0.WriteStartObject(); + } + + static void _206D_200D_206B_206E_206A_206B_200E_206A_206E_202C_202A_200C_202D_206B_202B_200C_202A_206E_200C_200B_206A_200B_206B_200E_202D_202C_206C_206D_206D_206B_206A_200B_202C_200F_202D_206E_202A_200D_206D_206F_202E(Utf8JsonWriter P_0, string P_1, float P_2) + { + P_0.WriteNumber(P_1, P_2); + } + + static void _200D_200C_200B_202A_200E_206B_202C_206B_206E_206B_202D_202C_206B_206C_206A_200E_206E_200C_200B_200D_206B_202D_206C_202A_206F_206B_202B_206F_206E_202A_200C_200D_200F_200D_206F_200F_206E_200D_206C_206F_202E(Utf8JsonWriter P_0) + { + P_0.WriteEndObject(); + } + + static float _200B_200B_206D_200E_202B_202B_200E_202A_200E_206D_206F_202E_206A_200D_200D_206A_206D_206A_202B_206C_202E_202C_206F_202D_206C_206F_206B_200E_206D_200E_206D_200B_200E_202E_200B_202E_200C_202D_206C_206D_202E(float P_0, int P_1) + { + return MathF.Round(P_0, P_1); + } + + static float _202E_206B_202C_202C_206F_206F_202A_200B_206B_206F_200E_202B_206B_206B_202B_202A_200D_200B_200E_206F_206B_206F_202A_200F_202D_200D_206C_206D_202A_206A_202C_206E_200F_200F_206D_202E_200E_202E_206A_206C_202E(float P_0) + { + return MathF.Abs(P_0); + } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/BoundarySide.cs b/SmartNav.Model/SmartNav.Model.Navigation/BoundarySide.cs new file mode 100644 index 00000000..43bf5eb7 --- /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 00000000..69081b4e --- /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 00000000..6b188a42 --- /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 00000000..c9a3169e --- /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 00000000..21724309 --- /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 00000000..9965a870 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/SubRegionDefinition.cs @@ -0,0 +1,102 @@ +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) + { + int num = ((!MinY.HasValue) ? 292211161 : 292211158); + float x2 = default(float); + float x3 = default(float); + float z2 = default(float); + float z3 = default(float); + int count = default(int); + int num7 = default(int); + int index = default(int); + bool flag = default(bool); + while (true) + { + int num2 = num; + int num3 = 292211164; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 9: + num = ((!(x < (x2 - x3) * (z - z2) / (z3 - z2) + x3)) ? 292211166 : 292211160); + break; + case 10: + num = ((!(y < MinY.Value)) ? 292211161 : 292211153); + break; + case 13: + return false; + case 8: + count = Vertices.Count; + num = ((count >= 3) ? 292211165 : 292211159); + break; + case 2: + { + int num9 = num7; + num3 = 1; + num4 = num9; + num7 = (num4 | num3) + (num4 & num3); + index = num9; + num = 292211162; + break; + } + case 11: + return false; + case 5: + num = ((!MaxY.HasValue) ? 292211156 : 292211154); + break; + case 14: + num = ((!(y > MaxY.Value)) ? 292211156 : 292211163); + break; + case 12: + x3 = Vertices[num7].X; + z2 = Vertices[num7].Z; + x2 = Vertices[index].X; + z3 = Vertices[index].Z; + num = ((z2 > z == z3 > z) ? 292211166 : 292211157); + break; + case 3: + return flag; + case 1: + { + flag = false; + num7 = 0; + int num8 = count; + num3 = 1; + num4 = num8; + index = ~(~num4 + num3); + num = 292211162; + break; + } + case 7: + return false; + case 0: + num = 292211158; + break; + case 4: + flag = !flag; + num = 292211166; + break; + case 6: + num = ((num7 < count) ? 292211152 : 292211167); + break; + } + } + } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/SubRegionVertex.cs b/SmartNav.Model/SmartNav.Model.Navigation/SubRegionVertex.cs new file mode 100644 index 00000000..24b85d53 --- /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 00000000..e459695c --- /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 00000000..475d9ec7 --- /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 00000000..d2af3f16 --- /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 00000000..8e9c4bb4 --- /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 00000000..2fe9027c --- /dev/null +++ b/SmartNav.Model/SmartNav.Model.Navigation/TriggerBox.cs @@ -0,0 +1,144 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +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) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_200C_206F_200E_206A_202B_202C_202D_206D_202E_200D_206F_202C_206E_202C_200F_202A_202A_206B_206F_202E_200C_200D_202E_206C_202E_202D_206B_200C_206E_200D_206B_200C_200B_206E_202E_200F_202B_206B_206A_202E(typeof(TriggerBox).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200E_202D_206D_206F_206E_202D_202C_202E_206F_200C_206D_200C_200E_200F_200D_200B_202A_206A_206B_202B_206E_200E_206C_206C_202C_206E_206E_206C_200D_202D_206A_206F_200E_206A_206D_200B_206F_202B_200D_200E_202E(); + _200C_206B_206B_202E_206C_206C_206D_202E_206A_200B_202C_200F_202C_200E_200E_206F_206C_206B_202C_202A_200F_206C_206D_206B_202B_206F_202C_202D_206E_200F_206A_202A_200F_200B_200C_200C_202B_202C_206F_200C_202E(stringBuilder, global::_003CModule_003E._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(-1856577442)); + _200C_206B_206B_202E_206C_206C_206D_202E_206A_200B_202C_200F_202C_200E_200E_206F_206C_206B_202C_202A_200F_206C_206D_206B_202B_206F_202C_202D_206E_200F_206A_202A_200F_200B_200C_200C_202B_202C_206F_200C_202E(stringBuilder, global::_003CModule_003E._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(1971668142)); + int num = ((!PrintMembers(stringBuilder)) ? (-1107916789) : (-1107916790)); + while (true) + { + int num2 = num; + int num3 = -1107916789; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1107916790; + break; + case 0: + _206A_200F_200C_200E_202E_206E_206C_206B_206A_206A_202A_202A_200E_206A_206E_200C_200F_202E_202D_202E_202E_202C_202D_200F_206B_206A_202A_202C_202C_206D_202E_200F_200F_206D_200F_206A_202E_206E_206A_206A_202E(stringBuilder, '}'); + return _202E_202D_202A_200F_202D_200E_202B_206B_200C_202D_202D_200B_200C_202D_206B_200B_200D_202E_202C_206C_206D_200E_206F_202B_200C_202C_200D_200B_200B_206A_206C_202E_202A_202B_200E_200E_200C_202B_206F_200E_202E((object)stringBuilder); + case 1: + _206A_200F_200C_200E_202E_206E_206C_206B_206A_206A_202A_202A_200E_206A_206E_200C_200F_202E_202D_202E_202E_202C_202D_200F_206B_206A_202A_202C_202C_206D_202E_200F_200F_206D_200F_206A_202E_206E_206A_206A_202E(stringBuilder, ' '); + num = -1107916789; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206D_202A_206A_200E_206E_200F_206E_200B_206E_206C_202D_206A_200B_200C_206E_202A_206E_202D_200B_202B_202D_200F_206C_202B_202A_206B_202C_202A_206A_200E_202D_206A_202B_202C_202E_202E_206E_206A_200F_200D_202E(); + _200C_206B_206B_202E_206C_206C_206D_202E_206A_200B_202C_200F_202C_200E_200E_206F_206C_206B_202C_202A_200F_206C_206D_206B_202B_206F_202C_202D_206E_200F_206A_202A_200F_200B_200C_200C_202B_202C_206F_200C_202E(builder, global::_003CModule_003E._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(-1800837326)); + _200C_206B_206B_202E_206C_206C_206D_202E_206A_200B_202C_200F_202C_200E_200E_206F_206C_206B_202C_202A_200F_206C_206D_206B_202B_206F_202C_202D_206E_200F_206A_202A_200F_200B_200C_200C_202B_202C_206F_200C_202E(builder, Translation.ToString()); + _200C_206B_206B_202E_206C_206C_206D_202E_206A_200B_202C_200F_202C_200E_200E_206F_206C_206B_202C_202A_200F_206C_206D_206B_202B_206F_202C_202D_206E_200F_206A_202A_200F_200B_200C_200C_202B_202C_206F_200C_202E(builder, global::_003CModule_003E._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(-1782998798)); + _200C_206B_206B_202E_206C_206C_206D_202E_206A_200B_202C_200F_202C_200E_200E_206F_206C_206B_202C_202A_200F_206C_206D_206B_202B_206F_202C_202D_206E_200F_206A_202A_200F_200B_200C_200C_202B_202C_206F_200C_202E(builder, RotationRadians.ToString()); + _200C_206B_206B_202E_206C_206C_206D_202E_206A_200B_202C_200F_202C_200E_200E_206F_206C_206B_202C_202A_200F_206C_206D_206B_202B_206F_202C_202D_206E_200F_206A_202A_200F_200B_200C_200C_202B_202C_206F_200C_202E(builder, global::_003CModule_003E._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(-1061445733)); + _200C_206B_206B_202E_206C_206C_206D_202E_206A_200B_202C_200F_202C_200E_200E_206F_206C_206B_202C_202A_200F_206C_206D_206B_202B_206F_202C_202D_206E_200F_206A_202A_200F_200B_200C_200C_202B_202C_206F_200C_202E(builder, HalfExtents.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(TriggerBox? other) + { + int num = (((object)this == other) ? (-1981901632) : (-1981901629)); + while (true) + { + int num2 = num; + int num3 = -1981901626; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + num = -1981901629; + break; + case 0: + num = ((!_206C_206A_206D_202E_202C_202A_206C_206C_202E_200D_200D_206A_206E_202C_200D_202B_206F_206B_206E_200E_202E_200F_202E_206D_202D_206D_206F_202B_206F_206B_206B_206A_202E_200E_200D_202E_202A_206C_202B_202B_202E(EqualityContract, other.EqualityContract)) ? (-1981901630) : (-1981901627)); + break; + case 5: + num = (((object)other == null) ? (-1981901630) : (-1981901626)); + break; + case 6: + return true; + case 3: + num = ((!EqualityComparer.Default.Equals(Translation, other.Translation)) ? (-1981901630) : (-1981901628)); + break; + case 4: + return false; + case 1: + return EqualityComparer.Default.Equals(HalfExtents, other.HalfExtents); + case 2: + num = ((!EqualityComparer.Default.Equals(RotationRadians, other.RotationRadians)) ? (-1981901630) : (-1981901625)); + break; + } + } + } + + bool IEquatable.Equals(TriggerBox? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_200C_206F_200E_206A_202B_202C_202D_206D_202E_200D_206F_202C_206E_202C_200F_202A_202A_206B_206F_202E_200C_200D_202E_206C_202E_202D_206B_200C_206E_200D_206B_200C_200B_206E_202E_200F_202B_206B_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200E_202D_206D_206F_206E_202D_202C_202E_206F_200C_206D_200C_200E_200F_200D_200B_202A_206A_206B_202B_206E_200E_206C_206C_202C_206E_206E_206C_200D_202D_206A_206F_200E_206A_206D_200B_206F_202B_200D_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200C_206B_206B_202E_206C_206C_206D_202E_206A_200B_202C_200F_202C_200E_200E_206F_206C_206B_202C_202A_200F_206C_206D_206B_202B_206F_202C_202D_206E_200F_206A_202A_200F_200B_200C_200C_202B_202C_206F_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_200F_200C_200E_202E_206E_206C_206B_206A_206A_202A_202A_200E_206A_206E_200C_200F_202E_202D_202E_202E_202C_202D_200F_206B_206A_202A_202C_202C_206D_202E_200F_200F_206D_200F_206A_202E_206E_206A_206A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202E_202D_202A_200F_202D_200E_202B_206B_200C_202D_202D_200B_200C_202D_206B_200B_200D_202E_202C_206C_206D_200E_206F_202B_200C_202C_200D_200B_200B_206A_206C_202E_202A_202B_200E_200E_200C_202B_206F_200E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206D_202A_206A_200E_206E_200F_206E_200B_206E_206C_202D_206A_200B_200C_206E_202A_206E_202D_200B_202B_202D_200F_206C_202B_202A_206B_202C_202A_206A_200E_202D_206A_202B_202C_202E_202E_206E_206A_200F_200D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _206C_206A_206D_202E_202C_202A_206C_206C_202E_200D_200D_206A_206E_202C_200D_202B_206F_206B_206E_200E_202E_200F_202E_206D_202D_206D_206F_202B_206F_206B_206B_206A_202E_200E_200D_202E_202A_206C_202B_202B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/SmartNav.Model/SmartNav.Model.Navigation/WarpDestinationEntry.cs b/SmartNav.Model/SmartNav.Model.Navigation/WarpDestinationEntry.cs new file mode 100644 index 00000000..d45248b5 --- /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 00000000..35a81eb4 --- /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 00000000..29d705c1 --- /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 00000000..97a331e1 --- /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 00000000..e14436f5 --- /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 00000000..b0b9b263 --- /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 00000000..e86cfff3 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model/EAetheryteLocationExtensions.cs @@ -0,0 +1,38 @@ +namespace SmartNav.Model; + +public static class EAetheryteLocationExtensions +{ + public static bool IsFirmamentAetheryte(this EAetheryteLocation aetheryteLocation) + { + int num = ((aetheryteLocation == EAetheryteLocation.IshgardFirmament) ? (-221038172) : (-221038174)); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = -221038175; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -221038174; + break; + case 1: + return result; + case 0: + num = (((uint)(aetheryteLocation - 2011384) > 5u) ? (-221038171) : (-221038172)); + break; + case 3: + num = (((uint)(aetheryteLocation - 2011373) <= 1u) ? (-221038172) : (-221038175)); + break; + case 5: + result = true; + num = -221038176; + break; + case 4: + result = false; + num = -221038176; + break; + } + } + } +} diff --git a/SmartNav.Model/SmartNav.Model/ModelResources.cs b/SmartNav.Model/SmartNav.Model/ModelResources.cs new file mode 100644 index 00000000..ff664731 --- /dev/null +++ b/SmartNav.Model/SmartNav.Model/ModelResources.cs @@ -0,0 +1,42 @@ +using System; +using System.IO; +using System.Reflection; +using System.Runtime.CompilerServices; + +namespace SmartNav.Model; + +public static class ModelResources +{ + public static Stream CommonAetheryte + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return _206D_202C_200D_206E_200F_200C_200C_206C_202B_202E_206C_202E_202A_202A_200B_202D_202D_206F_206D_200C_200C_200E_202A_206F_206D_206A_200F_206C_200B_202B_202C_202A_202E_200E_206C_200B_206E_206F_202B_202E(_202E_202B_200E_200E_206C_206D_200B_200D_200C_202A_200C_202E_206C_206E_202E_206C_206F_202D_200C_202D_202C_206C_202E_200B_202A_202D_200C_202C_202E_202E_206D_206E_200E_206B_206C_202C_206C_200E_202C_200D_202E(_206E_202E_202A_202D_206D_202D_206F_200C_206E_202A_206B_206F_206B_200B_202C_206A_202D_206E_200D_202A_200C_200B_206C_202A_202B_202D_202E_200B_206F_200F_206D_206E_202A_206D_206D_206E_202E_206B_206B_206B_202E(typeof(ModelResources).TypeHandle)), global::_003CModule_003E._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(-1394732188)); + } + } + + public static Stream CommonAethernetShard + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return _206D_202C_200D_206E_200F_200C_200C_206C_202B_202E_206C_202E_202A_202A_200B_202D_202D_206F_206D_200C_200C_200E_202A_206F_206D_206A_200F_206C_200B_202B_202C_202A_202E_200E_206C_200B_206E_206F_202B_202E(_202E_202B_200E_200E_206C_206D_200B_200D_200C_202A_200C_202E_206C_206E_202E_206C_206F_202D_200C_202D_202C_206C_202E_200B_202A_202D_200C_202C_202E_202E_206D_206E_200E_206B_206C_202C_206C_200E_202C_200D_202E(_206E_202E_202A_202D_206D_202D_206F_200C_206E_202A_206B_206F_206B_200B_202C_206A_202D_206E_200D_202A_200C_200B_206C_202A_202B_202D_202E_200B_206F_200F_206D_206E_202A_206D_206D_206E_202E_206B_206B_206B_202E(typeof(ModelResources).TypeHandle)), global::_003CModule_003E._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(905440243)); + } + } + + static Type _206E_202E_202A_202D_206D_202D_206F_200C_206E_202A_206B_206F_206B_200B_202C_206A_202D_206E_200D_202A_200C_200B_206C_202A_202B_202D_202E_200B_206F_200F_206D_206E_202A_206D_206D_206E_202E_206B_206B_206B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static Assembly _202E_202B_200E_200E_206C_206D_200B_200D_200C_202A_200C_202E_206C_206E_202E_206C_206F_202D_200C_202D_202C_206C_202E_200B_202A_202D_200C_202C_202E_202E_206D_206E_200E_206B_206C_202C_206C_200E_202C_200D_202E(Type P_0) + { + return P_0.Assembly; + } + + static Stream _206D_202C_200D_206E_200F_200C_200C_206C_202B_202E_206C_202E_202A_202A_200B_202D_202D_206F_206D_200C_200C_200E_202A_206F_206D_206A_200F_206C_200B_202B_202C_202A_202E_200E_206C_200B_206E_206F_202B_202E(Assembly P_0, string P_1) + { + return P_0.GetManifestResourceStream(P_1); + } +} diff --git a/SmartNav.Model/SmartNav.Model/MovementData.cs b/SmartNav.Model/SmartNav.Model/MovementData.cs new file mode 100644 index 00000000..ab7c34fa --- /dev/null +++ b/SmartNav.Model/SmartNav.Model/MovementData.cs @@ -0,0 +1,127 @@ +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) + { + int num; + float result = default(float); + switch (mountSpeedLevel) + { + default: + num = 1141934779; + goto IL_001d; + case 2: + result = 15f; + num = 1141934782; + goto IL_001d; + case 0: + goto IL_0081; + case 1: + goto IL_0092; + IL_001d: + while (true) + { + int num2 = num; + int num3 = 1141934782; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return result; + case 5: + num = 1141934783; + break; + case 1: + result = 9f; + num = 1141934782; + break; + case 6: + goto end_IL_001d; + case 2: + goto IL_0081; + case 4: + goto IL_0092; + case 3: + num = 1141934779; + break; + } + continue; + end_IL_001d: + break; + } + goto case 2; + IL_0092: + result = 12f; + num = 1141934782; + goto IL_001d; + IL_0081: + result = 9f; + num = 1141934782; + goto IL_001d; + } + } + } + + 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 00000000..fabf0885 --- /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 00000000..e4d45420 --- /dev/null +++ b/SmartNav/--z__ReadOnlyArray.cs @@ -0,0 +1,170 @@ +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 _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E(); + } + } + + 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 _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E(); + } + } + + public _003C_003Ez__ReadOnlyArray(T[] items) + { + _items = items; + } + + IEnumerator IEnumerable.GetEnumerator() + { + return _206A_202A_200B_206E_202C_206C_200E_206D_200C_200C_202D_202D_202A_200F_202C_200D_200C_206D_202C_200F_206F_202D_206A_200B_206F_202E_206A_200F_200C_200C_206A_206A_206B_202C_200E_202A_200D_202E_202B_206E_202E((IEnumerable)_items); + } + + void ICollection.CopyTo(Array array, int index) + { + _200E_200F_206D_200E_202A_200D_202C_206C_200C_202C_202E_200C_206A_206E_206E_206A_206D_202D_206C_200B_200E_202B_200D_206B_200F_202A_202C_206B_200D_206F_200E_200B_200D_206D_202C_202C_200B_206B_200C_202B_202E((ICollection)_items, array, index); + } + + int IList.Add(object? value) + { + throw _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E(); + } + + void IList.Clear() + { + throw _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E(); + } + + bool IList.Contains(object? value) + { + return _200F_206F_202C_206A_206E_206E_200B_206A_202E_202A_200C_202C_206E_206C_202C_202E_206B_206B_202C_200E_200C_202E_200E_202D_200B_202A_206A_200E_202E_202B_206B_200E_202C_200B_200C_200E_200F_202D_206F_200C_202E((IList)_items, value); + } + + int IList.IndexOf(object? value) + { + return _202B_200F_202D_200D_200D_206C_202A_200F_200F_202B_200C_200D_200F_202D_206B_202E_202B_206A_206B_200D_202C_200E_206D_206C_200F_206F_206D_200F_202D_206F_200B_206B_206A_200F_200E_200B_206F_202D_200F_202E_202E((IList)_items, value); + } + + void IList.Insert(int index, object? value) + { + throw _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E(); + } + + void IList.Remove(object? value) + { + throw _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E(); + } + + void IList.RemoveAt(int index) + { + throw _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)_items).GetEnumerator(); + } + + void ICollection.Add(T item) + { + throw _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E(); + } + + void ICollection.Clear() + { + throw _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E(); + } + + 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 _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E(); + } + + int IList.IndexOf(T item) + { + return ((IList)_items).IndexOf(item); + } + + void IList.Insert(int index, T item) + { + throw _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E(); + } + + void IList.RemoveAt(int index) + { + throw _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E(); + } + + static IEnumerator _206A_202A_200B_206E_202C_206C_200E_206D_200C_200C_202D_202D_202A_200F_202C_200D_200C_206D_202C_200F_206F_202D_206A_200B_206F_202E_206A_200F_200C_200C_206A_206A_206B_202C_200E_202A_200D_202E_202B_206E_202E(IEnumerable P_0) + { + return P_0.GetEnumerator(); + } + + static void _200E_200F_206D_200E_202A_200D_202C_206C_200C_202C_202E_200C_206A_206E_206E_206A_206D_202D_206C_200B_200E_202B_200D_206B_200F_202A_202C_206B_200D_206F_200E_200B_200D_206D_202C_202C_200B_206B_200C_202B_202E(ICollection P_0, Array P_1, int P_2) + { + P_0.CopyTo(P_1, P_2); + } + + static NotSupportedException _206E_200B_206D_206D_200B_202B_200D_206C_200E_200B_206B_202A_206D_202D_202D_206A_206C_206B_200B_202C_206A_202E_200B_200E_200E_202A_200C_200C_200D_206D_202E_200F_206A_200B_206E_200F_206B_202A_202D_200F_202E() + { + return new NotSupportedException(); + } + + static bool _200F_206F_202C_206A_206E_206E_200B_206A_202E_202A_200C_202C_206E_206C_202C_202E_206B_206B_202C_200E_200C_202E_200E_202D_200B_202A_206A_200E_202E_202B_206B_200E_202C_200B_200C_200E_200F_202D_206F_200C_202E(IList P_0, object P_1) + { + return P_0.Contains(P_1); + } + + static int _202B_200F_202D_200D_200D_206C_202A_200F_200F_202B_200C_200D_200F_202D_206B_202E_202B_206A_206B_200D_202C_200E_206D_206C_200F_206F_206D_200F_202D_206F_200B_206B_206A_200F_200E_200B_206F_202D_200F_202E_202E(IList P_0, object P_1) + { + return P_0.IndexOf(P_1); + } +} diff --git a/SmartNav/--z__ReadOnlySingleElementList.cs b/SmartNav/--z__ReadOnlySingleElementList.cs new file mode 100644 index 00000000..b20dd67f --- /dev/null +++ b/SmartNav/--z__ReadOnlySingleElementList.cs @@ -0,0 +1,306 @@ +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() + { + int num = (_moveNextCalled ? 247413323 : 247413320); + while (true) + { + int num2 = num; + int num3 = 247413322; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return false; + case 2: + return _moveNextCalled = true; + case 0: + goto IL_0055; + } + continue; + IL_0055: + num = 247413320; + } + } + + 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 + { + int num = ((index == 0) ? 2495584 : 2495587); + while (true) + { + int num2 = num; + int num3 = 2495585; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return _item; + case 2: + throw _202D_202E_202A_206A_206C_200F_202B_200F_202A_206B_200B_202A_202C_202A_206A_206C_202B_200F_202A_206B_202C_202D_200F_200E_202C_206D_206C_206C_202E_200B_200E_200F_200F_200C_206C_202C_206F_206E_200B_202E_202E(); + case 0: + goto IL_0055; + } + continue; + IL_0055: + num = 2495587; + } + } + set + { + throw _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E(); + } + } + + bool IList.IsFixedSize => true; + + bool IList.IsReadOnly => true; + + int IReadOnlyCollection.Count => 1; + + T IReadOnlyList.this[int index] + { + get + { + int num = ((index == 0) ? (-1500986328) : (-1500986325)); + while (true) + { + int num2 = num; + int num3 = -1500986327; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return _item; + case 2: + throw _202D_202E_202A_206A_206C_200F_202B_200F_202A_206B_200B_202A_202C_202A_206A_206C_202B_200F_202A_206B_202C_202D_200F_200E_202C_206D_206C_206C_202E_200B_200E_200F_200F_200C_206C_202C_206F_206E_200B_202E_202E(); + case 0: + goto IL_004e; + } + continue; + IL_004e: + num = -1500986325; + } + } + } + + int ICollection.Count => 1; + + bool ICollection.IsReadOnly => true; + + T IList.this[int index] + { + get + { + int num = ((index == 0) ? 246612200 : 246612201); + while (true) + { + int num2 = num; + int num3 = 246612200; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0041; + case 0: + return _item; + case 1: + throw _202D_202E_202A_206A_206C_200F_202B_200F_202A_206B_200B_202A_202C_202A_206A_206C_202B_200F_202A_206B_202C_202D_200F_200E_202C_206D_206C_206C_202E_200B_200E_200F_200F_200C_206C_202C_206F_206E_200B_202E_202E(); + } + continue; + IL_0041: + num = 246612201; + } + } + set + { + throw _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E(); + } + } + + public _003C_003Ez__ReadOnlySingleElementList(T item) + { + _item = item; + } + + IEnumerator IEnumerable.GetEnumerator() + { + return new Enumerator(_item); + } + + void ICollection.CopyTo(Array array, int index) + { + _206C_200B_202C_206B_206C_200D_202D_202E_206B_206A_206D_200B_206D_200B_206E_200D_206F_206F_206E_206B_202E_200E_206E_200C_202D_202A_206E_206B_200B_202D_202E_202E_206D_202D_202B_200E_206A_202D_202E_206C_202E(array, (object)_item, index); + } + + int IList.Add(object? value) + { + throw _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E(); + } + + void IList.Clear() + { + throw _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E(); + } + + bool IList.Contains(object? value) + { + return EqualityComparer.Default.Equals(_item, (T)value); + } + + int IList.IndexOf(object? value) + { + int num = (EqualityComparer.Default.Equals(_item, (T)value) ? 135208521 : 135208522); + while (true) + { + int num2 = num; + int num3 = 135208520; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0056; + case 2: + return -1; + case 1: + return 0; + } + continue; + IL_0056: + num = 135208522; + } + } + + void IList.Insert(int index, object? value) + { + throw _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E(); + } + + void IList.Remove(object? value) + { + throw _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E(); + } + + void IList.RemoveAt(int index) + { + throw _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return new Enumerator(_item); + } + + void ICollection.Add(T item) + { + throw _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E(); + } + + void ICollection.Clear() + { + throw _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E(); + } + + 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 _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E(); + } + + int IList.IndexOf(T item) + { + int num = (EqualityComparer.Default.Equals(_item, item) ? (-2052686167) : (-2052686166)); + while (true) + { + int num2 = num; + int num3 = -2052686165; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0053; + case 1: + return -1; + case 2: + return 0; + } + continue; + IL_0053: + num = -2052686166; + } + } + + void IList.Insert(int index, T item) + { + throw _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E(); + } + + void IList.RemoveAt(int index) + { + throw _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E(); + } + + static void _206C_200B_202C_206B_206C_200D_202D_202E_206B_206A_206D_200B_206D_200B_206E_200D_206F_206F_206E_206B_202E_200E_206E_200C_202D_202A_206E_206B_200B_202D_202E_202E_206D_202D_202B_200E_206A_202D_202E_206C_202E(Array P_0, object P_1, int P_2) + { + P_0.SetValue(P_1, P_2); + } + + static IndexOutOfRangeException _202D_202E_202A_206A_206C_200F_202B_200F_202A_206B_200B_202A_202C_202A_206A_206C_202B_200F_202A_206B_202C_202D_200F_200E_202C_206D_206C_206C_202E_200B_200E_200F_200F_200C_206C_202C_206F_206E_200B_202E_202E() + { + return new IndexOutOfRangeException(); + } + + static NotSupportedException _200D_206D_202D_202C_206E_206F_202C_202A_200C_206F_206A_202D_200C_206F_200D_200E_202A_206A_202D_202D_206F_202B_202B_206D_202C_200C_206A_202C_200D_202A_202D_200F_206D_200B_202E_206B_200E_200D_206B_206D_202E() + { + return new NotSupportedException(); + } +} diff --git a/SmartNav/-Module-.cs b/SmartNav/-Module-.cs new file mode 100644 index 00000000..06c136cc --- /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 00000000..9cc431ca --- /dev/null +++ b/SmartNav/SmartNav.Data/AetheryteData.cs @@ -0,0 +1,1247 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using Dalamud.Plugin.Services; +using Lumina.Excel.Sheets; +using SmartNav.Model; + +namespace SmartNav.Data; + +public sealed class AetheryteData +{ + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__1_4; + + public static Func _003C_003E9__1_2; + + public static Func _003C_003E9__1_3; + + internal bool _003C_002Ector_003Eb__1_4(Aetheryte x) + { + return x.RowId != 0; + } + + internal bool _003C_002Ector_003Eb__1_2(TerritoryType x) + { + int num = ((x.RowId == 0) ? 1435581385 : 1435581386); + while (true) + { + int num2 = num; + int num3 = 1435581387; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return x.TerritoryIntendedUse.RowId == 0; + case 1: + num = (_202E_200B_202A_200C_200D_202B_206E_206A_200C_206B_200D_200D_206F_206B_202A_202A_206B_202A_200D_206C_206E_206F_202C_200F_202C_206A_206B_206F_202E_202B_202A_202E_206C_202C_206E_202B_200E_200D_202A_202C_202E(x.Name.ToString()) ? 1435581385 : 1435581384); + break; + case 2: + return false; + case 0: + num = 1435581386; + break; + } + } + } + + internal ushort _003C_002Ector_003Eb__1_3(TerritoryType x) + { + return (ushort)x.RowId; + } + + static bool _202E_200B_202A_200C_200D_202B_206E_206A_200C_206B_200D_200D_206F_206B_202A_202A_206B_202A_200D_206C_206E_206F_202C_200F_202C_206A_206B_206F_202E_202B_202A_202E_206C_202C_206E_202B_200E_200D_202A_202C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + } + + 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(); + IEnumerator enumerator = (from x in dataManager.GetExcelSheet() + where x.RowId != 0 + select x).GetEnumerator(); + try + { + while (_206F_200C_200E_200C_200E_200B_206B_200C_200F_200E_206C_200F_202A_202D_206E_200B_202A_202B_206E_206F_200F_202B_206D_202A_200C_202C_206B_206A_206B_200F_200F_200D_200C_206E_202D_206D_206F_200E_202B_200E_202E((IEnumerator)enumerator)) + { + Aetheryte current = enumerator.Current; + if (current.Territory.RowId != 0) + { + territoryIds[(EAetheryteLocation)current.RowId] = (ushort)current.Territory.RowId; + } + if (current.AethernetGroup > 0) + { + aethernetGroups[(EAetheryteLocation)current.RowId] = current.AethernetGroup; + } + } + } + finally + { + if (enumerator != null) + { + _202A_200D_206E_202B_206E_202C_200F_202D_200D_206B_206E_206E_206C_200E_202C_200D_202D_206B_206C_202C_202B_206A_202B_206C_206D_202A_202B_200D_202E_206C_206A_206D_202A_206F_206E_206E_200C_202D_206C_206C_202E((IDisposable)enumerator); + } + } + 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(delegate(TerritoryType x) + { + int num = ((x.RowId == 0) ? 1435581385 : 1435581386); + while (true) + { + int num2 = num; + int num3 = 1435581387; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + return x.TerritoryIntendedUse.RowId == 0; + case 1: + num = (_003C_003Ec._202E_200B_202A_200C_200D_202B_206E_206A_200C_206B_200D_200D_206F_206B_202A_202A_206B_202A_200D_206C_206E_206F_202C_200F_202C_206A_206B_206F_202E_202B_202A_202E_206C_202C_206E_202B_200E_200D_202A_202C_202E(x.Name.ToString()) ? 1435581385 : 1435581384); + break; + case 2: + return false; + case 0: + num = 1435581386; + break; + } + } + }) + 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) + { + ushort value; + int num = ((!TerritoryIds.TryGetValue(to, out value)) ? (-1407509287) : (-1407509284)); + Vector3 value2 = default(Vector3); + while (true) + { + int num2 = num; + int num3 = -1407509283; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = -1407509284; + break; + case 0: + return float.MaxValue; + case 2: + num = (Locations.TryGetValue(to, out value2) ? (-1407509282) : (-1407509283)); + break; + case 1: + num = ((fromTerritoryType == value) ? (-1407509281) : (-1407509287)); + break; + case 4: + return float.MaxValue; + case 3: + return (fromPosition - value2).Length(); + } + } + } + + public float CalculateAirshipLandingDistance(Vector3 fromPosition, uint fromTerritoryType, EAetheryteLocation to) + { + ushort value; + int num = ((!TerritoryIds.TryGetValue(to, out value)) ? 1034304709 : 1034304710); + Vector3 value2 = default(Vector3); + while (true) + { + int num2 = num; + int num3 = 1034304708; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return float.MaxValue; + case 5: + return float.MaxValue; + case 3: + num = 1034304710; + break; + case 2: + num = ((fromTerritoryType == value) ? 1034304708 : 1034304709); + break; + case 0: + num = (AirshipLandingLocations.TryGetValue(to, out value2) ? 1034304704 : 1034304705); + break; + case 4: + return (fromPosition - value2).Length(); + } + } + } + + public bool IsCityAetheryte(EAetheryteLocation aetheryte) + { + int num = ((aetheryte != EAetheryteLocation.IshgardFirmament) ? 819559610 : 819559608); + ushort value = default(ushort); + while (true) + { + int num2 = num; + int num3 = 819559609; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 819559608; + break; + case 1: + return true; + case 2: + return TownTerritoryIds.Contains(value); + case 0: + return false; + case 3: + num = ((!TerritoryIds.TryGetValue(aetheryte, out value)) ? 819559609 : 819559611); + break; + } + } + } + + public bool IsAirshipLanding(EAetheryteLocation aetheryte) + { + return AirshipLandingLocations.ContainsKey(aetheryte); + } + + public bool IsGoldSaucerAetheryte(EAetheryteLocation aetheryte) + { + ushort value; + bool flag = TerritoryIds.TryGetValue(aetheryte, out value); + int num = ((!flag) ? 1444610048 : 1444610051); + bool flag2 = default(bool); + while (true) + { + int num2 = num; + int num3 = 1444610054; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((value != 388) ? 1444610050 : 1444610055); + break; + case 4: + flag2 = false; + num = 1444610053; + break; + case 3: + flag = flag2; + num = 1444610048; + break; + case 6: + return flag; + case 5: + num = ((value == 144) ? 1444610055 : 1444610054); + break; + case 2: + num = 1444610051; + break; + case 1: + flag2 = true; + num = 1444610053; + break; + } + } + } + + static bool _206F_200C_200E_200C_200E_200B_206B_200C_200F_200E_206C_200F_202A_202D_206E_200B_202A_202B_206E_206F_200F_202B_206D_202A_200C_202C_206B_206A_206B_200F_200F_200D_200C_206E_202D_206D_206F_200E_202B_200E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202A_200D_206E_202B_206E_202C_200F_202D_200D_206B_206E_206E_206C_200E_202C_200D_202D_206B_206C_202C_202B_206A_202B_206C_206D_202A_202B_200D_202E_206C_206A_206D_202A_206F_206E_206E_200C_202D_206C_206C_202E(IDisposable P_0) + { + P_0.Dispose(); + } +} diff --git a/SmartNav/SmartNav.Data/ExitRangeEntry.cs b/SmartNav/SmartNav.Data/ExitRangeEntry.cs new file mode 100644 index 00000000..d7f0b3f7 --- /dev/null +++ b/SmartNav/SmartNav.Data/ExitRangeEntry.cs @@ -0,0 +1,169 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +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)) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_202B_200D_200E_200B_200B_202A_202A_200E_200B_200B_206D_202B_206B_202D_206D_200B_206D_206F_202C_206A_200D_206D_206D_206E_200E_200B_206A_202E_206C_206C_206C_206A_206D_206C_206B_202D_200E_206A_202C_202E(typeof(ExitRangeEntry).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200E_206B_200D_206D_206D_200E_200B_206C_200D_202E_202A_202D_202C_202E_206A_206F_200C_202A_202A_200F_200C_200E_202C_206D_202D_206A_206E_206B_200D_200C_202C_206E_206B_206F_202E_200F_202B_200F_206E_202A_202E(); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(stringBuilder, global::_003CModule_003E._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(347281461)); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(stringBuilder, global::_003CModule_003E._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(-979564187)); + int num = ((!PrintMembers(stringBuilder)) ? (-1576777821) : (-1576777824)); + while (true) + { + int num2 = num; + int num3 = -1576777823; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1576777824; + break; + case 1: + _202C_202B_206D_202E_202C_206C_206D_206B_202D_202B_200F_202B_200B_206A_206B_200F_206C_206D_202B_200D_202C_202A_200B_206B_202B_202D_206E_206E_200C_202B_202B_200E_202C_200B_200D_202A_206E_206E_206E_200E_202E(stringBuilder, ' '); + num = -1576777821; + break; + case 2: + _202C_202B_206D_202E_202C_206C_206D_206B_202D_202B_200F_202B_200B_206A_206B_200F_206C_206D_202B_200D_202C_202A_200B_206B_202B_202D_206E_206E_200C_202B_202B_200E_202C_200B_200D_202A_206E_206E_206E_200E_202E(stringBuilder, '}'); + return _202D_206B_206C_200B_202C_206B_200B_200F_200E_206D_200D_202E_202C_200E_202C_206D_200C_206B_206A_206B_202A_202C_206D_202D_206D_206B_202B_200E_200E_206F_200E_206C_206E_206F_206E_202B_206F_200E_206D_202B_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202C_200C_202A_202D_206B_202B_202D_206D_200D_200C_200C_206A_202B_200C_206A_206E_202B_206D_200E_202A_202D_200F_200B_206F_200B_200F_206E_206E_202B_202D_206C_200E_202A_200C_202E_202D_206B_202A_206A_200E_202E(); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, global::_003CModule_003E._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(2044495272)); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, SourceTerritoryId.ToString()); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, global::_003CModule_003E._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(-1866378227)); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, InstanceId.ToString()); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, global::_003CModule_003E._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(-135037385)); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, SourcePosition.ToString()); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, global::_003CModule_003E._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(1613414786)); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, DestTerritoryId.ToString()); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, global::_003CModule_003E._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(1889617405)); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, DestInstanceId.ToString()); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, global::_003CModule_003E._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(1625716735)); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, ReturnInstanceId.ToString()); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, global::_003CModule_003E._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(-2061524224)); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, Rotation.ToString()); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, global::_003CModule_003E._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(-1794994947)); + _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(builder, HalfExtents.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(ExitRangeEntry? other) + { + int num = (((object)this == other) ? 193782023 : 193782031); + while (true) + { + int num2 = num; + int num3 = 193782030; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + return false; + case 10: + num = ((!EqualityComparer.Default.Equals(SourcePosition, other.SourcePosition)) ? 193782025 : 193782030); + break; + case 2: + num = ((!_202E_202C_206D_206E_202B_202B_202E_202A_200D_200F_206C_206D_200F_200B_200B_206B_200C_200E_202B_206D_202C_200B_202B_206A_206D_200C_202D_202A_202E_206F_202A_200E_206A_206C_200D_202D_202B_202D_200B_202B_202E(EqualityContract, other.EqualityContract)) ? 193782025 : 193782022); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(ReturnInstanceId, other.ReturnInstanceId)) ? 193782025 : 193782024); + break; + case 1: + num = (((object)other == null) ? 193782025 : 193782028); + break; + case 11: + num = ((!EqualityComparer.Default.Equals(DestInstanceId, other.DestInstanceId)) ? 193782025 : 193782027); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(DestTerritoryId, other.DestTerritoryId)) ? 193782025 : 193782021); + break; + case 12: + return EqualityComparer.Default.Equals(HalfExtents, other.HalfExtents); + case 3: + num = 193782031; + break; + case 8: + num = ((!EqualityComparer.Default.Equals(SourceTerritoryId, other.SourceTerritoryId)) ? 193782025 : 193782026); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(InstanceId, other.InstanceId)) ? 193782025 : 193782020); + break; + case 9: + return true; + case 6: + num = ((!EqualityComparer.Default.Equals(Rotation, other.Rotation)) ? 193782025 : 193782018); + break; + } + } + } + + bool IEquatable.Equals(ExitRangeEntry? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_202B_200D_200E_200B_200B_202A_202A_200E_200B_200B_206D_202B_206B_202D_206D_200B_206D_206F_202C_206A_200D_206D_206D_206E_200E_200B_206A_202E_206C_206C_206C_206A_206D_206C_206B_202D_200E_206A_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200E_206B_200D_206D_206D_200E_200B_206C_200D_202E_202A_202D_202C_202E_206A_206F_200C_202A_202A_200F_200C_200E_202C_206D_202D_206A_206E_206B_200D_200C_202C_206E_206B_206F_202E_200F_202B_200F_206E_202A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_206A_200F_206B_200C_202E_206C_206E_200F_206A_206B_206B_200B_200F_206F_202E_206F_206F_200D_200C_200F_202A_202C_200E_202E_200E_200B_206D_200E_206F_202A_202A_206A_206E_202D_202B_200C_200B_202A_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_202B_206D_202E_202C_206C_206D_206B_202D_202B_200F_202B_200B_206A_206B_200F_206C_206D_202B_200D_202C_202A_200B_206B_202B_202D_206E_206E_200C_202B_202B_200E_202C_200B_200D_202A_206E_206E_206E_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202D_206B_206C_200B_202C_206B_200B_200F_200E_206D_200D_202E_202C_200E_202C_206D_200C_206B_206A_206B_202A_202C_206D_202D_206D_206B_202B_200E_200E_206F_200E_206C_206E_206F_206E_202B_206F_200E_206D_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202C_200C_202A_202D_206B_202B_202D_206D_200D_200C_200C_206A_202B_200C_206A_206E_202B_206D_200E_202A_202D_200F_200B_206F_200B_200F_206E_206E_202B_202D_206C_200E_202A_200C_202E_202D_206B_202A_206A_200E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _202E_202C_206D_206E_202B_202B_202E_202A_200D_200F_206C_206D_200F_200B_200B_206B_200C_200E_202B_206D_202C_200B_202B_206A_206D_200C_202D_202A_202E_206F_202A_200E_206A_206C_200D_202D_202B_202D_200B_202B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/SmartNav/SmartNav.Data/IZoneBoundarySource.cs b/SmartNav/SmartNav.Data/IZoneBoundarySource.cs new file mode 100644 index 00000000..e9e1b4af --- /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 00000000..d39631d3 --- /dev/null +++ b/SmartNav/SmartNav.Data/LgbZoneBoundarySource.cs @@ -0,0 +1,411 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +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 readonly IDataManager _dataManager; + + private readonly ILogger _logger; + + private readonly Lazy> _boundaries; + + public LgbZoneBoundarySource(IDataManager dataManager, ILogger logger) + { + _dataManager = dataManager; + _logger = logger; + _boundaries = new Lazy>(Build, LazyThreadSafetyMode.ExecutionAndPublication); + } + + public IReadOnlyList GetBoundaries() + { + return _boundaries.Value; + } + + IReadOnlyList IZoneBoundarySource.GetBoundaries() + { + //ILSpy generated this explicit interface implementation from .override directive in GetBoundaries + return this.GetBoundaries(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private IReadOnlyList Build() + { + try + { + (List ExitRanges, Dictionary<(ushort TerritoryId, uint InstanceId), PopRangeEntry> PopRangeIndex) tuple = CollectLgbData(); + List item = tuple.ExitRanges; + Dictionary<(ushort, uint), PopRangeEntry> item2 = tuple.PopRangeIndex; + List list = ZoneBoundaryDerivation.Derive(item, item2, _logger); + ZoneBoundaryDerivation.ApplyOverrides(list, ZoneBoundaryOverrides.FlyingPairs, ZoneBoundaryOverrides.PositionOverrides, _logger); + _206C_200B_206A_202D_206B_206B_206B_202B_202C_202E_202D_206B_206B_202C_200E_202E_206A_202E_200D_206E_206E_206D_206A_206C_206A_202E_206B_202E_202B_206E_202C_200C_206B_202B_206F_206C_206C_202E_202C_206D_202E((ILogger)_logger, global::_003CModule_003E._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(-981985917), new object[2] { list.Count, item.Count }); + return list; + } + catch (Exception ex) + { + _202A_200E_202B_202E_200D_200F_200E_206F_206A_206C_202C_202B_200B_200C_200E_206A_206A_200E_202C_206F_202D_200B_202D_206A_200C_206D_200B_206D_206D_202B_206E_206B_206F_200E_202B_202D_200E_206C_202C_202D_202E((ILogger)_logger, ex, global::_003CModule_003E._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(927516533), Array.Empty()); + return Array.Empty(); + } + } + + 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(); + using (ExcelSheet.Enumerator enumerator = _dataManager.GetExcelSheet().GetEnumerator()) + { + int num = 1763362761; + while (true) + { + int num2 = num; + int num3 = 1763362761; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1763362761; + break; + case 0: + num = (enumerator.MoveNext() ? 1763362760 : 1763362763); + break; + case 1: + hashSet.Add(enumerator.Current.Territory.RowId); + num = 1763362761; + break; + case 2: + goto end_IL_003b; + } + continue; + end_IL_003b: + break; + } + } + ExcelSheet excelSheet = _dataManager.GetExcelSheet(); + HashSet visitedLgbPaths = new HashSet(); + using (ExcelSheet.Enumerator enumerator2 = excelSheet.GetEnumerator()) + { + int num = -1445218693; + TerritoryType current = default(TerritoryType); + while (true) + { + int num5 = num; + int num3 = -1445218689; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 3: + num = -1445218693; + break; + case 1: + current = enumerator2.Current; + num = ((!hashSet.Contains(current.RowId)) ? (-1445218693) : (-1445218691)); + break; + case 2: + ScanTerritory(list, dictionary, visitedLgbPaths, current); + num = -1445218693; + break; + case 4: + num = (enumerator2.MoveNext() ? (-1445218690) : (-1445218689)); + break; + case 0: + goto end_IL_010c; + } + continue; + end_IL_010c: + break; + } + } + using (ExcelSheet.Enumerator enumerator2 = excelSheet.GetEnumerator()) + { + int num = -1007277372; + while (true) + { + int num8 = num; + int num3 = -1007277372; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = -1007277372; + break; + case 1: + { + TerritoryType current2 = enumerator2.Current; + ScanTerritory(list, dictionary, visitedLgbPaths, current2); + num = -1007277372; + break; + } + case 0: + num = (enumerator2.MoveNext() ? (-1007277371) : (-1007277369)); + break; + case 3: + goto end_IL_01e4; + } + continue; + end_IL_01e4: + break; + } + } + return (ExitRanges: list, PopRangeIndex: dictionary); + } + + private static bool IsNavigableOverworld(ETerritoryIntendedUse use) + { + int num = ((use > ETerritoryIntendedUse.HousingOutdoor) ? (-754120289) : (-754120291)); + bool result = default(bool); + while (true) + { + int num2 = num; + int num3 = -754120292; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = ((use == ETerritoryIntendedUse.Eureka) ? (-754120298) : (-754120294)); + break; + case 12: + num = ((use - 21 <= ETerritoryIntendedUse.Inn) ? (-754120298) : (-754120295)); + break; + case 11: + num = ((use - 60 > ETerritoryIntendedUse.Overworld) ? (-754120300) : (-754120298)); + break; + case 0: + num = -754120291; + break; + case 6: + num = -754120300; + break; + case 3: + num = ((use > ETerritoryIntendedUse.Eureka) ? (-754120290) : (-754120304)); + break; + case 1: + num = ((use <= ETerritoryIntendedUse.Overworld) ? (-754120298) : (-754120303)); + break; + case 8: + result = false; + num = -754120296; + break; + case 10: + result = true; + num = -754120296; + break; + case 9: + num = ((use == ETerritoryIntendedUse.HousingOutdoor) ? (-754120298) : (-754120293)); + break; + case 13: + num = ((use == ETerritoryIntendedUse.OpeningArea) ? (-754120298) : (-754120299)); + break; + case 4: + return result; + case 2: + num = ((use - 48 <= ETerritoryIntendedUse.Overworld) ? (-754120298) : (-754120297)); + break; + case 7: + num = -754120300; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void ScanTerritory(List exitRanges, Dictionary<(ushort TerritoryId, uint InstanceId), PopRangeEntry> popRangeIndex, HashSet visitedLgbPaths, TerritoryType territory) + { + int num = ((territory.RowId != 0) ? 954333098 : 954333094); + string text4 = default(string); + int num16 = default(int); + string text = default(string); + int num9 = default(int); + LayerCommon.InstanceObject instanceObject = default(LayerCommon.InstanceObject); + int num11 = default(int); + LayerCommon.Layer[] array = default(LayerCommon.Layer[]); + LayerCommon.InstanceObject[] instanceObjects = default(LayerCommon.InstanceObject[]); + while (true) + { + int num2 = num; + int num3 = 954333091; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 954333094; + break; + case 5: + return; + case 4: + { + string text2 = global::_003CModule_003E._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(-747831667); + string text3 = text4; + int num15 = num16; + num3 = 1; + num4 = num15; + text = _206A_206C_202B_202E_200D_200B_206E_206D_206D_206E_200B_202A_200F_202C_202B_200F_202D_200F_200D_202A_206E_200B_200E_202A_202E_206C_206E_202C_200D_200F_200E_206F_200E_202A_206E_206B_206F_200B_200C_206D_202E(text2, _200F_200B_206F_202B_202D_206F_200D_202C_206F_206C_206E_202E_202D_206E_206B_206C_202E_202D_206E_202E_206D_200B_202D_200D_202A_202D_206C_200C_206B_206B_200C_200B_200F_200D_200C_206B_206B_206A_206B_200C_202E(text3, 0, (num4 | num3) + (num4 & num3)), global::_003CModule_003E._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(-1939239349)); + num = (visitedLgbPaths.Add(text) ? 954333092 : 954333089); + break; + } + case 1: + num16 = _202A_206F_200D_202A_202C_206A_200C_202A_206C_206A_206F_200E_206D_206F_206C_200D_200B_202E_206F_202E_200E_206B_200C_206D_202A_202E_206E_200C_206E_206A_202B_206F_200F_206C_206A_200B_206B_202B_202E_200D_202E(text4, global::_003CModule_003E._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(16137996), StringComparison.Ordinal); + num = ((num16 >= 0) ? 954333095 : 954333099); + break; + case 9: + num = (IsNavigableOverworld((ETerritoryIntendedUse)territory.TerritoryIntendedUse.RowId) ? 954333093 : 954333088); + break; + case 8: + return; + case 10: + return; + case 3: + return; + case 2: + return; + case 6: + text4 = territory.Bg.ExtractText(); + num = ((!_206E_206A_200C_200E_202E_202D_202C_200B_206E_206A_200F_206E_202C_206F_200D_200C_200D_200D_202E_206C_206D_202E_206F_206E_200D_202E_206A_206A_200E_206B_200C_202C_202B_200F_206D_200C_202E_206F_202A_206C_202E(text4)) ? 954333090 : 954333097); + break; + case 7: + { + ushort num7 = (ushort)territory.RowId; + LgbFile file; + try + { + file = _dataManager.GetFile(text); + } + catch (Exception ex) + { + _206D_206B_200C_200C_200E_200F_202D_206E_200E_206C_206A_200C_200E_202E_202A_200B_206C_206B_206F_200D_202A_202B_206A_200C_202C_202D_200B_202A_202E_206F_206D_202A_206C_200D_200F_200B_200E_206F_206E_206B_202E((ILogger)_logger, ex, global::_003CModule_003E._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(422414557), new object[1] { text }); + return; + } + num = ((file != null) ? (-1034574211) : (-1034574214)); + while (true) + { + int num8 = num; + num3 = -1034574218; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 6: + { + int num12 = num9; + num3 = 1; + num4 = num12; + int num13 = num4 ^ num3; + int num14 = num4 & num3; + num9 = num13 + (num14 + num14); + num = -1034574220; + break; + } + case 0: + popRangeIndex[(num7, instanceObject.InstanceId)] = new PopRangeEntry(num7, instanceObject.InstanceId, new Vector3(instanceObject.Transform.Translation.X, instanceObject.Transform.Translation.Y, instanceObject.Transform.Translation.Z)); + num = -1034574224; + break; + case 9: + num = ((num11 < array.Length) ? (-1034574210) : (-1034574219)); + break; + case 11: + array = _206B_202A_206C_200B_200F_202D_200C_202D_206C_206E_206C_206E_202E_200B_202D_202C_206F_206F_202B_200E_202A_200C_202E_206E_206D_206E_202B_206E_200F_206F_200F_200E_206F_202D_202C_206E_200D_200F_202A_200E_202E(file); + num11 = 0; + num = -1034574209; + break; + case 12: + return; + case 8: + instanceObjects = array[num11].InstanceObjects; + num9 = 0; + num = -1034574220; + break; + case 7: + { + int num10 = num11; + num3 = 1; + num4 = num10; + num11 = (num4 | num3) + (num4 & num3); + num = -1034574209; + break; + } + case 3: + return; + case 10: + num = -1034574214; + break; + case 2: + num = ((num9 < instanceObjects.Length) ? (-1034574222) : (-1034574223)); + break; + case 1: + { + LayerCommon.ExitRangeInstanceObject exitRangeInstanceObject = (LayerCommon.ExitRangeInstanceObject)(object)instanceObject.Object; + exitRanges.Add(new ExitRangeEntry(num7, 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))); + num = -1034574224; + break; + } + case 5: + num = ((instanceObject.AssetType != LayerEntryType.PopRange) ? (-1034574224) : (-1034574218)); + break; + case 4: + instanceObject = instanceObjects[num9]; + num = ((instanceObject.AssetType != LayerEntryType.ExitRange) ? (-1034574221) : (-1034574217)); + break; + } + } + } + } + } + } + + static void _206C_200B_206A_202D_206B_206B_206B_202B_202C_202E_202D_206B_206B_202C_200E_202E_206A_202E_200D_206E_206E_206D_206A_206C_206A_202E_206B_202E_202B_206E_202C_200C_206B_202B_206F_206C_206C_202E_202C_206D_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _202A_200E_202B_202E_200D_200F_200E_206F_206A_206C_202C_202B_200B_200C_200E_206A_206A_200E_202C_206F_202D_200B_202D_206A_200C_206D_200B_206D_206D_202B_206E_206B_206F_200E_202B_202D_200E_206C_202C_202D_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogError(P_1, P_2, P_3); + } + + static bool _206E_206A_200C_200E_202E_202D_202C_200B_206E_206A_200F_206E_202C_206F_200D_200C_200D_200D_202E_206C_206D_202E_206F_206E_200D_202E_206A_206A_200E_206B_200C_202C_202B_200F_206D_200C_202E_206F_202A_206C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static int _202A_206F_200D_202A_202C_206A_200C_202A_206C_206A_206F_200E_206D_206F_206C_200D_200B_202E_206F_202E_200E_206B_200C_206D_202A_202E_206E_200C_206E_206A_202B_206F_200F_206C_206A_200B_206B_202B_202E_200D_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.IndexOf(P_1, P_2); + } + + static string _200F_200B_206F_202B_202D_206F_200D_202C_206F_206C_206E_202E_202D_206E_206B_206C_202E_202D_206E_202E_206D_200B_202D_200D_202A_202D_206C_200C_206B_206B_200C_200B_200F_200D_200C_206B_206B_206A_206B_200C_202E(string P_0, int P_1, int P_2) + { + return P_0.Substring(P_1, P_2); + } + + static string _206A_206C_202B_202E_200D_200B_206E_206D_206D_206E_200B_202A_200F_202C_202B_200F_202D_200F_200D_202A_206E_200B_200E_202A_202E_206C_206E_202C_200D_200F_200E_206F_200E_202A_206E_206B_206F_200B_200C_206D_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _206D_206B_200C_200C_200E_200F_202D_206E_200E_206C_206A_200C_200E_202E_202A_200B_206C_206B_206F_200D_202A_202B_206A_200C_202C_202D_200B_202A_202E_206F_206D_202A_206C_200D_200F_200B_200E_206F_206E_206B_202E(ILogger P_0, Exception P_1, string P_2, object[] P_3) + { + P_0.LogTrace(P_1, P_2, P_3); + } + + static LayerCommon.Layer[] _206B_202A_206C_200B_200F_202D_200C_202D_206C_206E_206C_206E_202E_200B_202D_202C_206F_206F_202B_200E_202A_200C_202E_206E_206D_206E_202B_206E_200F_206F_200F_200E_206F_202D_202C_206E_200D_200F_202A_200E_202E(LgbFile P_0) + { + return P_0.Layers; + } +} diff --git a/SmartNav/SmartNav.Data/PopRangeEntry.cs b/SmartNav/SmartNav.Data/PopRangeEntry.cs new file mode 100644 index 00000000..7dd42579 --- /dev/null +++ b/SmartNav/SmartNav.Data/PopRangeEntry.cs @@ -0,0 +1,142 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace SmartNav.Data; + +internal sealed record PopRangeEntry(ushort TerritoryId, uint InstanceId, Vector3 Position) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_202C_200D_206B_206B_200C_202A_202A_200D_206C_200B_206D_200C_202E_200D_200E_202C_206D_200D_202E_200B_202D_202E_202B_202E_200D_200F_206D_202E_202C_202C_202E_206A_200F_202E_206E_206D_202A_200E_202E_202E(typeof(PopRangeEntry).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202B_200C_206E_200B_206F_200E_206F_206B_202C_202E_206E_206E_202C_200C_202B_206D_206A_206C_206B_202B_206B_200F_202A_206F_206A_202B_202B_200F_200B_206B_202D_206F_206D_206B_200B_202B_200D_200C_200B_200E_202E(); + _202A_202D_202E_206E_206C_200C_206B_200F_206B_200D_202D_206A_202C_200E_202B_200D_200E_202E_200E_200C_206C_206B_200C_206A_200D_202B_206D_206C_206D_200F_200F_200D_202B_202B_206A_200F_200F_206D_206D_202E(stringBuilder, global::_003CModule_003E._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(-808505002)); + _202A_202D_202E_206E_206C_200C_206B_200F_206B_200D_202D_206A_202C_200E_202B_200D_200E_202E_200E_200C_206C_206B_200C_206A_200D_202B_206D_206C_206D_200F_200F_200D_202B_202B_206A_200F_200F_206D_206D_202E(stringBuilder, global::_003CModule_003E._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(1886515922)); + int num = ((!PrintMembers(stringBuilder)) ? 514533744 : 514533747); + while (true) + { + int num2 = num; + int num3 = 514533746; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _200E_200E_206E_206B_206B_200C_206C_206D_206A_206B_206D_200C_206A_202E_206A_202D_200C_200B_202C_206A_202B_202E_206E_206A_202B_202C_200E_200E_206B_206B_200F_206C_200E_202E_206B_206D_200C_206A_202D_206E_202E(stringBuilder, '}'); + return _202A_202C_200F_206D_206E_202C_206A_206F_206A_206D_206C_206C_200E_206E_200B_202D_202E_202D_206E_206C_206C_202C_200C_200D_206F_206E_206C_202A_200B_206B_206C_206E_202B_206C_200E_206E_206D_202D_200B_206E_202E((object)stringBuilder); + case 1: + _200E_200E_206E_206B_206B_200C_206C_206D_206A_206B_206D_200C_206A_202E_206A_202D_200C_200B_202C_206A_202B_202E_206E_206A_202B_202C_200E_200E_206B_206B_200F_206C_200E_202E_206B_206D_200C_206A_202D_206E_202E(stringBuilder, ' '); + num = 514533744; + break; + case 0: + num = 514533747; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200E_206A_202C_200C_200E_202A_206E_206B_200B_206E_202C_200F_202B_200F_202D_206E_206B_200D_202D_200F_202B_206F_202A_202B_206E_202C_202C_200C_200E_200B_206D_200F_200C_200D_202B_200E_202E_202B_206E_206F_202E(); + _202A_202D_202E_206E_206C_200C_206B_200F_206B_200D_202D_206A_202C_200E_202B_200D_200E_202E_200E_200C_206C_206B_200C_206A_200D_202B_206D_206C_206D_200F_200F_200D_202B_202B_206A_200F_200F_206D_206D_202E(builder, global::_003CModule_003E._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(167583641)); + _202A_202D_202E_206E_206C_200C_206B_200F_206B_200D_202D_206A_202C_200E_202B_200D_200E_202E_200E_200C_206C_206B_200C_206A_200D_202B_206D_206C_206D_200F_200F_200D_202B_202B_206A_200F_200F_206D_206D_202E(builder, TerritoryId.ToString()); + _202A_202D_202E_206E_206C_200C_206B_200F_206B_200D_202D_206A_202C_200E_202B_200D_200E_202E_200E_200C_206C_206B_200C_206A_200D_202B_206D_206C_206D_200F_200F_200D_202B_202B_206A_200F_200F_206D_206D_202E(builder, global::_003CModule_003E._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(299588646)); + _202A_202D_202E_206E_206C_200C_206B_200F_206B_200D_202D_206A_202C_200E_202B_200D_200E_202E_200E_200C_206C_206B_200C_206A_200D_202B_206D_206C_206D_200F_200F_200D_202B_202B_206A_200F_200F_206D_206D_202E(builder, InstanceId.ToString()); + _202A_202D_202E_206E_206C_200C_206B_200F_206B_200D_202D_206A_202C_200E_202B_200D_200E_202E_200E_200C_206C_206B_200C_206A_200D_202B_206D_206C_206D_200F_200F_200D_202B_202B_206A_200F_200F_206D_206D_202E(builder, global::_003CModule_003E._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(-14976604)); + _202A_202D_202E_206E_206C_200C_206B_200F_206B_200D_202D_206A_202C_200E_202B_200D_200E_202E_200E_200C_206C_206B_200C_206A_200D_202B_206D_206C_206D_200F_200F_200D_202B_202B_206A_200F_200F_206D_206D_202E(builder, Position.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(PopRangeEntry? other) + { + int num = (((object)this == other) ? (-1947000687) : (-1947000681)); + while (true) + { + int num2 = num; + int num3 = -1947000682; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1947000681; + break; + case 5: + return EqualityComparer.Default.Equals(Position, other.Position); + case 1: + num = (((object)other == null) ? (-1947000686) : (-1947000688)); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? (-1947000686) : (-1947000682)); + break; + case 7: + return true; + case 4: + return false; + case 6: + num = ((!_200E_206D_206F_200E_206B_206B_206B_206B_206E_202B_200F_206F_206F_206E_202A_200C_202C_206F_200D_206F_202E_206D_206F_206E_200E_202A_200F_202D_202D_200B_206F_202D_202D_206E_200E_200E_206C_206A_202C_202E(EqualityContract, other.EqualityContract)) ? (-1947000686) : (-1947000683)); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(InstanceId, other.InstanceId)) ? (-1947000686) : (-1947000685)); + break; + } + } + } + + bool IEquatable.Equals(PopRangeEntry? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200C_202C_200D_206B_206B_200C_202A_202A_200D_206C_200B_206D_200C_202E_200D_200E_202C_206D_200D_202E_200B_202D_202E_202B_202E_200D_200F_206D_202E_202C_202C_202E_206A_200F_202E_206E_206D_202A_200E_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202B_200C_206E_200B_206F_200E_206F_206B_202C_202E_206E_206E_202C_200C_202B_206D_206A_206C_206B_202B_206B_200F_202A_206F_206A_202B_202B_200F_200B_206B_202D_206F_206D_206B_200B_202B_200D_200C_200B_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202A_202D_202E_206E_206C_200C_206B_200F_206B_200D_202D_206A_202C_200E_202B_200D_200E_202E_200E_200C_206C_206B_200C_206A_200D_202B_206D_206C_206D_200F_200F_200D_202B_202B_206A_200F_200F_206D_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200E_200E_206E_206B_206B_200C_206C_206D_206A_206B_206D_200C_206A_202E_206A_202D_200C_200B_202C_206A_202B_202E_206E_206A_202B_202C_200E_200E_206B_206B_200F_206C_200E_202E_206B_206D_200C_206A_202D_206E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202A_202C_200F_206D_206E_202C_206A_206F_206A_206D_206C_206C_200E_206E_200B_202D_202E_202D_206E_206C_206C_202C_200C_200D_206F_206E_206C_202A_200B_206B_206C_206E_202B_206C_200E_206E_206D_202D_200B_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200E_206A_202C_200C_200E_202A_206E_206B_200B_206E_202C_200F_202B_200F_202D_206E_206B_200D_202D_200F_202B_206F_202A_202B_206E_202C_202C_200C_200E_200B_206D_200F_200C_200D_202B_200E_202E_202B_206E_206F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _200E_206D_206F_200E_206B_206B_206B_206B_206E_202B_200F_206F_206F_206E_202A_200C_202C_206F_200D_206F_202E_206D_206F_206E_200E_202A_200F_202D_202D_200B_206F_202D_202D_206E_200E_200E_206C_206A_202C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/SmartNav/SmartNav.Data/SmartNavDataOptions.cs b/SmartNav/SmartNav.Data/SmartNavDataOptions.cs new file mode 100644 index 00000000..f578512c --- /dev/null +++ b/SmartNav/SmartNav.Data/SmartNavDataOptions.cs @@ -0,0 +1,149 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Runtime.CompilerServices; +using System.Text; + +namespace SmartNav.Data; + +public sealed record SmartNavDataOptions(DirectoryInfo? UserOverrideDirectory = null, DirectoryInfo? DevSourceDirectory = null, string? GameVersion = null) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206B_202A_200C_202A_200E_200C_206E_200E_200F_206D_206A_206B_202C_202B_202C_200E_200B_206B_206C_202D_206A_206D_202C_200B_200C_202B_206A_202E_206E_206F_202C_200E_206E_206F_206F_200C_200E_206F_202A_202A_202E(typeof(SmartNavDataOptions).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200E_206C_200D_200F_206B_202A_200C_206C_202E_202A_206A_200E_200C_206D_202B_200B_206C_202A_202E_206F_200F_206F_202E_202E_206A_202E_202E_202A_206F_202B_202A_200F_200C_206D_200D_200D_206F_202D_202D_202B_202E(); + _206A_202A_200F_206B_206A_200B_202C_206F_200C_200D_206E_200B_202C_200D_206D_202B_200F_200D_206D_200C_206D_200B_202E_206E_206E_206E_200F_206B_200B_206F_206A_200E_206D_206B_206C_200B_206B_206F_200D_202D_202E(stringBuilder, global::_003CModule_003E._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(-1494308078)); + _206A_202A_200F_206B_206A_200B_202C_206F_200C_200D_206E_200B_202C_200D_206D_202B_200F_200D_206D_200C_206D_200B_202E_206E_206E_206E_200F_206B_200B_206F_206A_200E_206D_206B_206C_200B_206B_206F_200D_202D_202E(stringBuilder, global::_003CModule_003E._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(1120247710)); + int num = ((!PrintMembers(stringBuilder)) ? (-1057108320) : (-1057108319)); + while (true) + { + int num2 = num; + int num3 = -1057108320; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1057108319; + break; + case 0: + _202A_200C_200D_206D_202A_200F_200F_200D_200D_206D_206A_202D_200B_200C_200D_206C_202E_200F_200F_202C_200F_206A_206D_200F_202E_206B_202B_200E_206E_202A_202C_206E_202B_200B_206F_202E_206A_200E_206B_202A_202E(stringBuilder, '}'); + return _200C_206C_206C_202E_200D_206B_202B_202B_202B_200B_202C_200D_202A_202A_200F_206E_206E_200F_202E_202C_202D_202C_202E_206B_202E_202C_200C_200E_200E_206F_200C_206D_206F_202E_200F_202C_206E_206E_200C_200F_202E((object?)stringBuilder); + case 1: + _202A_200C_200D_206D_202A_200F_200F_200D_200D_206D_206A_202D_200B_200C_200D_206C_202E_200F_200F_202C_200F_206A_206D_200F_202E_206B_202B_200E_206E_202A_202C_206E_202B_200B_206F_202E_206A_200E_206B_202A_202E(stringBuilder, ' '); + num = -1057108320; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _206F_200F_206D_206B_200B_200F_206A_202D_202E_200C_206A_202C_202A_200E_200B_202B_200C_202B_206E_206F_202E_206F_206F_202A_206B_206A_206A_206B_200C_206E_206C_200C_202D_200C_202C_206F_200C_202A_206F_200C_202E(); + _206A_202A_200F_206B_206A_200B_202C_206F_200C_200D_206E_200B_202C_200D_206D_202B_200F_200D_206D_200C_206D_200B_202E_206E_206E_206E_200F_206B_200B_206F_206A_200E_206D_206B_206C_200B_206B_206F_200D_202D_202E(builder, global::_003CModule_003E._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(-148533820)); + _206E_206F_206E_202A_202E_202A_200F_206D_206C_206B_206F_206F_206A_200B_206B_202B_200D_206B_202E_206A_200F_200F_202C_202C_206C_200E_206A_200B_202C_202A_200E_206B_202A_206D_200C_206E_200C_206E_202B_202D_202E(builder, (object?)UserOverrideDirectory); + _206A_202A_200F_206B_206A_200B_202C_206F_200C_200D_206E_200B_202C_200D_206D_202B_200F_200D_206D_200C_206D_200B_202E_206E_206E_206E_200F_206B_200B_206F_206A_200E_206D_206B_206C_200B_206B_206F_200D_202D_202E(builder, global::_003CModule_003E._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(-1567612591)); + _206E_206F_206E_202A_202E_202A_200F_206D_206C_206B_206F_206F_206A_200B_206B_202B_200D_206B_202E_206A_200F_200F_202C_202C_206C_200E_206A_200B_202C_202A_200E_206B_202A_206D_200C_206E_200C_206E_202B_202D_202E(builder, (object?)DevSourceDirectory); + _206A_202A_200F_206B_206A_200B_202C_206F_200C_200D_206E_200B_202C_200D_206D_202B_200F_200D_206D_200C_206D_200B_202E_206E_206E_206E_200F_206B_200B_206F_206A_200E_206D_206B_206C_200B_206B_206F_200D_202D_202E(builder, global::_003CModule_003E._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(-204927746)); + _206E_206F_206E_202A_202E_202A_200F_206D_206C_206B_206F_206F_206A_200B_206B_202B_200D_206B_202E_206A_200F_200F_202C_202C_206C_200E_206A_200B_202C_202A_200E_206B_202A_206D_200C_206E_200C_206E_202B_202D_202E(builder, (object?)GameVersion); + return true; + } + + [CompilerGenerated] + public bool Equals(SmartNavDataOptions? other) + { + int num = (((object)this == other) ? (-1367918412) : (-1367918411)); + while (true) + { + int num2 = num; + int num3 = -1367918409; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1367918411; + break; + case 6: + return false; + case 3: + return true; + case 4: + num = ((!_202B_200E_200F_206E_200B_206D_200D_206C_202B_206B_202D_200F_200C_206F_200F_200C_202D_206B_202D_200B_202D_206F_200D_202B_206C_202E_200B_202A_206A_206D_202D_206B_206E_202D_206E_206B_206A_202C_200C_202A_202E(EqualityContract, other.EqualityContract)) ? (-1367918415) : (-1367918410)); + break; + case 2: + num = (((object)other == null) ? (-1367918415) : (-1367918413)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(UserOverrideDirectory, other.UserOverrideDirectory)) ? (-1367918415) : (-1367918414)); + break; + case 7: + return EqualityComparer.Default.Equals(GameVersion, other.GameVersion); + case 5: + num = ((!EqualityComparer.Default.Equals(DevSourceDirectory, other.DevSourceDirectory)) ? (-1367918415) : (-1367918416)); + break; + } + } + } + + bool IEquatable.Equals(SmartNavDataOptions? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _206B_202A_200C_202A_200E_200C_206E_200E_200F_206D_206A_206B_202C_202B_202C_200E_200B_206B_206C_202D_206A_206D_202C_200B_200C_202B_206A_202E_206E_206F_202C_200E_206E_206F_206F_200C_200E_206F_202A_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder? _200E_206C_200D_200F_206B_202A_200C_206C_202E_202A_206A_200E_200C_206D_202B_200B_206C_202A_202E_206F_200F_206F_202E_202E_206A_202E_202E_202A_206F_202B_202A_200F_200C_206D_200D_200D_206F_202D_202D_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder? _206A_202A_200F_206B_206A_200B_202C_206F_200C_200D_206E_200B_202C_200D_206D_202B_200F_200D_206D_200C_206D_200B_202E_206E_206E_206E_200F_206B_200B_206F_206A_200E_206D_206B_206C_200B_206B_206F_200D_202D_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _202A_200C_200D_206D_202A_200F_200F_200D_200D_206D_206A_202D_200B_200C_200D_206C_202E_200F_200F_202C_200F_206A_206D_200F_202E_206B_202B_200E_206E_202A_202C_206E_202B_200B_206F_202E_206A_200E_206B_202A_202E(StringBuilder? P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string? _200C_206C_206C_202E_200D_206B_202B_202B_202B_200B_202C_200D_202A_202A_200F_206E_206E_200F_202E_202C_202D_202C_202E_206B_202E_202C_200C_200E_200E_206F_200C_206D_206F_202E_200F_202C_206E_206E_200C_200F_202E(object? P_0) + { + return P_0.ToString(); + } + + static void _206F_200F_206D_206B_200B_200F_206A_202D_202E_200C_206A_202C_202A_200E_200B_202B_200C_202B_206E_206F_202E_206F_206F_202A_206B_206A_206A_206B_200C_206E_206C_200C_202D_200C_202C_206F_200C_202A_206F_200C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _206E_206F_206E_202A_202E_202A_200F_206D_206C_206B_206F_206F_206A_200B_206B_202B_200D_206B_202E_206A_200F_200F_202C_202C_206C_200E_206A_200B_202C_202A_200E_206B_202A_206D_200C_206E_200C_206E_202B_202D_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _202B_200E_200F_206E_200B_206D_200D_206C_202B_206B_202D_200F_200C_206F_200F_200C_202D_206B_202D_200B_202D_206F_200D_202B_206C_202E_200B_202A_206A_206D_202D_206B_206E_202D_206E_206B_206A_202C_200C_202A_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; + } +} diff --git a/SmartNav/SmartNav.Data/TaxiStandDataService.cs b/SmartNav/SmartNav.Data/TaxiStandDataService.cs new file mode 100644 index 00000000..12438ec5 --- /dev/null +++ b/SmartNav/SmartNav.Data/TaxiStandDataService.cs @@ -0,0 +1,434 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +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) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206B_202A_202D_206F_202E_206A_206E_200E_200C_200D_200D_200E_206F_202B_202C_202C_206B_202C_206F_200D_202E_200D_206E_206E_200B_202B_206B_206F_200D_206E_200E_200B_200B_202D_200F_206F_206D_202A_200C_200D_202E(typeof(TaxiStandInfo).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_202D_206A_206E_200B_202B_200E_202A_206A_202B_202C_206A_202C_206F_202A_206E_206B_200D_200D_202B_202B_206A_202D_202B_206E_206E_202E_202C_202D_206E_202B_206E_202B_200E_200B_202A_200C_206C_206E_200F_202E(); + _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(stringBuilder, global::_003CModule_003E._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(-457906279)); + _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(stringBuilder, global::_003CModule_003E._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(-169322018)); + int num = ((!PrintMembers(stringBuilder)) ? (-7237964) : (-7237961)); + while (true) + { + int num2 = num; + int num3 = -7237962; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -7237961; + break; + case 1: + _200F_206A_206F_200E_206F_200B_200E_202B_202B_200E_206D_200D_206F_200B_200D_206B_202C_206C_200F_206D_200D_206A_200B_202A_200D_202C_200D_200F_200F_202C_202A_202B_206B_202D_200B_206B_202C_200B_206A_206F_202E(stringBuilder, ' '); + num = -7237964; + break; + case 2: + _200F_206A_206F_200E_206F_200B_200E_202B_202B_200E_206D_200D_206F_200B_200D_206B_202C_206C_200F_206D_200D_206A_200B_202A_200D_202C_200D_200F_200F_202C_202A_202B_206B_202D_200B_206B_202C_200B_206A_206F_202E(stringBuilder, '}'); + return _206D_200D_202A_206A_202A_206D_200E_206C_206A_202E_206C_202C_202E_202E_206B_202A_200B_206E_206A_202D_200D_206B_206F_206E_200E_202A_202B_206D_202C_200D_200B_206A_206F_206E_200F_202C_202C_202C_206F_202D_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_200F_206C_206F_202B_202D_206C_200C_202D_202D_202D_206C_206D_206A_206A_206C_200B_206D_206F_200D_202E_202D_206B_202A_206F_206F_200C_202E_206B_200B_200E_206F_206C_206A_200B_206E_200C_206C_202B_200F_202E(); + _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(builder, global::_003CModule_003E._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(-1862745090)); + _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(builder, StandRowId.ToString()); + _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(builder, global::_003CModule_003E._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(1386669126)); + _206C_202D_206E_200B_200D_200C_200E_200D_202C_200D_200E_206E_202A_206A_206B_200C_206B_200F_200E_200F_206F_202C_200C_206F_206A_200C_202A_202A_202A_202C_206B_200C_202D_200D_200E_200E_202D_206C_206A_206F_202E(builder, (object)PlaceName); + _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(builder, global::_003CModule_003E._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(1283726812)); + _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(builder, TerritoryId.ToString()); + _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(builder, global::_003CModule_003E._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(772692776)); + _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(builder, Position.ToString()); + _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(builder, global::_003CModule_003E._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(-1004265433)); + _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(builder, NpcDataId.ToString()); + _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(builder, global::_003CModule_003E._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(-1716966096)); + _206C_202D_206E_200B_200D_200C_200E_200D_202C_200D_200E_206E_202A_206A_206B_200C_206B_200F_200E_200F_206F_202C_200C_206F_206A_200C_202A_202A_202A_202C_206B_200C_202D_200D_200E_200E_202D_206C_206A_206F_202E(builder, (object)Routes); + return true; + } + + [CompilerGenerated] + public bool Equals(TaxiStandInfo? other) + { + int num = (((object)this == other) ? 1006480636 : 1006480639); + while (true) + { + int num2 = num; + int num3 = 1006480638; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 7: + num = 1006480639; + break; + case 10: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? 1006480634 : 1006480637); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(NpcDataId, other.NpcDataId)) ? 1006480634 : 1006480631); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(Position, other.Position)) ? 1006480634 : 1006480638); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(PlaceName, other.PlaceName)) ? 1006480634 : 1006480628); + break; + case 8: + num = ((!_202A_200F_206B_200D_206F_202D_206D_202A_206D_200E_202C_206A_206D_200B_202C_206E_206E_202C_200F_206D_206C_206F_200F_200B_202D_202E_202D_206F_202B_200F_200E_200C_202D_206E_200B_206F_206F_202E_202B_202B_202E(EqualityContract, other.EqualityContract)) ? 1006480634 : 1006480632); + break; + case 9: + return EqualityComparer.Default.Equals(Routes, other.Routes); + case 4: + return false; + case 2: + return true; + case 6: + num = ((!EqualityComparer.Default.Equals(StandRowId, other.StandRowId)) ? 1006480634 : 1006480635); + break; + case 1: + num = (((object)other == null) ? 1006480634 : 1006480630); + break; + } + } + } + + bool IEquatable.Equals(TaxiStandInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206B_202A_202D_206F_202E_206A_206E_200E_200C_200D_200D_200E_206F_202B_202C_202C_206B_202C_206F_200D_202E_200D_206E_206E_200B_202B_206B_206F_200D_206E_200E_200B_200B_202D_200F_206F_206D_202A_200C_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206F_202D_206A_206E_200B_202B_200E_202A_206A_202B_202C_206A_202C_206F_202A_206E_206B_200D_200D_202B_202B_206A_202D_202B_206E_206E_202E_202C_202D_206E_202B_206E_202B_200E_200B_202A_200C_206C_206E_200F_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200F_200F_202E_206B_200E_200C_202C_200B_202B_202B_202B_202E_206F_200C_202D_200E_200D_202A_200C_206F_206D_202E_202E_206C_206D_200B_200C_206C_200B_200B_206F_206F_206B_202A_206D_200C_200F_206E_202B_202C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200F_206A_206F_200E_206F_200B_200E_202B_202B_200E_206D_200D_206F_200B_200D_206B_202C_206C_200F_206D_200D_206A_200B_202A_200D_202C_200D_200F_200F_202C_202A_202B_206B_202D_200B_206B_202C_200B_206A_206F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206D_200D_202A_206A_202A_206D_200E_206C_206A_202E_206C_202C_202E_202E_206B_202A_200B_206E_206A_202D_200D_206B_206F_206E_200E_202A_202B_206D_202C_200D_200B_206A_206F_206E_200F_202C_202C_202C_206F_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200C_200F_206C_206F_202B_202D_206C_200C_202D_202D_202D_206C_206D_206A_206A_206C_200B_206D_206F_200D_202E_202D_206B_202A_206F_206F_200C_202E_206B_200B_200E_206F_206C_206A_200B_206E_200C_206C_202B_200F_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206C_202D_206E_200B_200D_200C_200E_200D_202C_200D_200E_206E_202A_206A_206B_200C_206B_200F_200E_200F_206F_202C_200C_206F_206A_200C_202A_202A_202A_202C_206B_200C_202D_200D_200E_200E_202D_206C_206A_206F_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202A_200F_206B_200D_206F_202D_206D_202A_206D_200E_202C_206A_206D_200B_202C_206E_206E_202C_200F_206D_206C_206F_200F_200B_202D_202E_202D_206F_202B_200F_200E_200C_202D_206E_200B_206F_206F_202E_202B_202B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + public sealed record TaxiRoute(uint DestStandRowId, int Fare, int TimeRequiredSeconds) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_206D_200F_202E_206E_200B_202C_200C_202C_200F_200C_206C_206A_206C_202E_200C_200B_206E_206B_200B_202A_206B_200C_206A_200E_202D_200F_200F_202B_206F_206A_206B_206B_202A_206E_206A_206D_200B_200C_202D_202E(typeof(TaxiRoute).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206D_206A_206B_202D_200E_206E_200E_200B_200E_206C_206B_200B_206E_202B_200D_206E_206A_206F_202E_206B_206E_202B_206B_206A_206F_200B_200B_202B_206E_206C_200E_202C_200B_206F_206D_200B_206C_202E_202C_202A_202E(); + _200B_206E_206B_202C_202B_202B_200E_202C_202B_206E_202A_200B_206A_202B_202D_206C_202B_202E_206E_200D_206B_206A_206C_200C_202B_202E_200B_200F_202C_200F_200F_200F_206F_206D_206F_206B_206E_202E_200C_206C_202E(stringBuilder, global::_003CModule_003E._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(76454572)); + _200B_206E_206B_202C_202B_202B_200E_202C_202B_206E_202A_200B_206A_202B_202D_206C_202B_202E_206E_200D_206B_206A_206C_200C_202B_202E_200B_200F_202C_200F_200F_200F_206F_206D_206F_206B_206E_202E_200C_206C_202E(stringBuilder, global::_003CModule_003E._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(-979564187)); + int num = ((!PrintMembers(stringBuilder)) ? 956238306 : 956238307); + while (true) + { + int num2 = num; + int num3 = 956238306; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _200D_206E_202C_200F_200C_200E_202A_202E_202A_206C_206E_202E_206B_200B_206A_200B_206F_206E_202C_206C_200E_206E_206A_206B_202B_206A_206A_206B_206D_202C_206F_202A_202A_202B_200D_206A_206C_206F_202D_206D_202E(stringBuilder, '}'); + return _200F_200F_202E_202B_202A_206A_206D_200E_202B_206C_200E_206C_202D_200C_202B_202D_202E_206C_206A_200F_200B_206C_206B_206F_202D_206E_206F_202D_202B_202E_200B_200C_206E_200E_202B_206C_200B_200C_202A_206D_202E((object)stringBuilder); + case 1: + _200D_206E_202C_200F_200C_200E_202A_202E_202A_206C_206E_202E_206B_200B_206A_200B_206F_206E_202C_206C_200E_206E_206A_206B_202B_206A_206A_206B_206D_202C_206F_202A_202A_202B_200D_206A_206C_206F_202D_206D_202E(stringBuilder, ' '); + num = 956238306; + break; + case 2: + num = 956238307; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_200F_206C_200C_206F_206B_206A_206B_200E_206E_206A_202B_206D_200E_202A_206E_202C_202D_200B_200F_200B_202E_202D_206A_206F_200F_202E_202E_202E_200E_200C_206D_202E_206E_200E_206E_206E_202E_202A_206B_202E(); + _200B_206E_206B_202C_202B_202B_200E_202C_202B_206E_202A_200B_206A_202B_202D_206C_202B_202E_206E_200D_206B_206A_206C_200C_202B_202E_200B_200F_202C_200F_200F_200F_206F_206D_206F_206B_206E_202E_200C_206C_202E(builder, global::_003CModule_003E._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(-1487307401)); + _200B_206E_206B_202C_202B_202B_200E_202C_202B_206E_202A_200B_206A_202B_202D_206C_202B_202E_206E_200D_206B_206A_206C_200C_202B_202E_200B_200F_202C_200F_200F_200F_206F_206D_206F_206B_206E_202E_200C_206C_202E(builder, DestStandRowId.ToString()); + _200B_206E_206B_202C_202B_202B_200E_202C_202B_206E_202A_200B_206A_202B_202D_206C_202B_202E_206E_200D_206B_206A_206C_200C_202B_202E_200B_200F_202C_200F_200F_200F_206F_206D_206F_206B_206E_202E_200C_206C_202E(builder, global::_003CModule_003E._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(-418458906)); + _200B_206E_206B_202C_202B_202B_200E_202C_202B_206E_202A_200B_206A_202B_202D_206C_202B_202E_206E_200D_206B_206A_206C_200C_202B_202E_200B_200F_202C_200F_200F_200F_206F_206D_206F_206B_206E_202E_200C_206C_202E(builder, Fare.ToString()); + _200B_206E_206B_202C_202B_202B_200E_202C_202B_206E_202A_200B_206A_202B_202D_206C_202B_202E_206E_200D_206B_206A_206C_200C_202B_202E_200B_200F_202C_200F_200F_200F_206F_206D_206F_206B_206E_202E_200C_206C_202E(builder, global::_003CModule_003E._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(-568235594)); + _200B_206E_206B_202C_202B_202B_200E_202C_202B_206E_202A_200B_206A_202B_202D_206C_202B_202E_206E_200D_206B_206A_206C_200C_202B_202E_200B_200F_202C_200F_200F_200F_206F_206D_206F_206B_206E_202E_200C_206C_202E(builder, TimeRequiredSeconds.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(TaxiRoute? other) + { + int num = (((object)this == other) ? 1209102583 : 1209102576); + while (true) + { + int num2 = num; + int num3 = 1209102581; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return false; + case 5: + num = (((object)other == null) ? 1209102580 : 1209102582); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(Fare, other.Fare)) ? 1209102580 : 1209102578); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(DestStandRowId, other.DestStandRowId)) ? 1209102580 : 1209102581); + break; + case 4: + num = 1209102576; + break; + case 7: + return EqualityComparer.Default.Equals(TimeRequiredSeconds, other.TimeRequiredSeconds); + case 2: + return true; + case 3: + num = ((!_200D_202A_200B_206A_200B_200B_206F_206C_206B_206C_200F_200F_202D_206C_202A_206D_200D_200F_200E_200D_200C_206C_206A_200F_202D_206B_202D_200F_206B_206F_200C_202A_206C_202B_206A_202E_206C_206F_200E_202D_202E(EqualityContract, other.EqualityContract)) ? 1209102580 : 1209102579); + break; + } + } + } + + bool IEquatable.Equals(TaxiRoute? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202E_206D_200F_202E_206E_200B_202C_200C_202C_200F_200C_206C_206A_206C_202E_200C_200B_206E_206B_200B_202A_206B_200C_206A_200E_202D_200F_200F_202B_206F_206A_206B_206B_202A_206E_206A_206D_200B_200C_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206D_206A_206B_202D_200E_206E_200E_200B_200E_206C_206B_200B_206E_202B_200D_206E_206A_206F_202E_206B_206E_202B_206B_206A_206F_200B_200B_202B_206E_206C_200E_202C_200B_206F_206D_200B_206C_202E_202C_202A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200B_206E_206B_202C_202B_202B_200E_202C_202B_206E_202A_200B_206A_202B_202D_206C_202B_202E_206E_200D_206B_206A_206C_200C_202B_202E_200B_200F_202C_200F_200F_200F_206F_206D_206F_206B_206E_202E_200C_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_206E_202C_200F_200C_200E_202A_202E_202A_206C_206E_202E_206B_200B_206A_200B_206F_206E_202C_206C_200E_206E_206A_206B_202B_206A_206A_206B_206D_202C_206F_202A_202A_202B_200D_206A_206C_206F_202D_206D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_200F_202E_202B_202A_206A_206D_200E_202B_206C_200E_206C_202D_200C_202B_202D_202E_206C_206A_200F_200B_206C_206B_206F_202D_206E_206F_202D_202B_202E_200B_200C_206E_200E_202B_206C_200B_200C_202A_206D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200B_200F_206C_200C_206F_206B_206A_206B_200E_206E_206A_202B_206D_200E_202A_206E_202C_202D_200B_200F_200B_202E_202D_206A_206F_200F_202E_202E_202E_200E_200C_206D_202E_206E_200E_206E_206E_202E_202A_206B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _200D_202A_200B_206A_200B_200B_206F_206C_206B_206C_200F_200F_202D_206C_202A_206D_200D_200F_200E_200D_200C_206C_206A_200F_202D_206B_202D_200F_206B_206F_200C_202A_206C_202B_206A_202E_206C_206F_200E_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + public IReadOnlyDictionary Stands { get; } + + public IReadOnlyDictionary StandsByNpcDataId { get; } + + public int TotalStands { get; } + + public int TotalRoutes { get; } + + [MethodImpl(MethodImplOptions.NoInlining)] + public TaxiStandDataService(IDataManager dataManager, SmartNavDataOptions dataOptions, ILogger logger) + { + DirectoryInfo? devSourceDirectory = dataOptions.DevSourceDirectory; + IReadOnlyList readOnlyList = _200B_202B_202B_206B_202E_202D_206E_202D_200F_206F_200C_206D_202E_200B_202A_200F_200B_206F_200D_200C_200D_206B_202E_206D_206B_202A_206E_202D_200C_206C_202A_202A_202A_206B_200C_200E_202E_200D_202C_202E_202E((devSourceDirectory != null) ? _200D_202C_206E_202D_202C_206B_206C_200E_200D_200C_200F_200B_206B_202C_202C_200F_200E_206D_200E_200D_206D_200D_200D_200B_206D_202A_202E_206D_200B_200B_200B_202A_206B_206D_206D_200F_200E_206B_200E_206C_202E((FileSystemInfo)devSourceDirectory) : null); + Dictionary dictionary = new Dictionary(); + IEnumerator enumerator = readOnlyList.GetEnumerator(); + try + { + while (_202A_200C_206F_200D_206A_202A_206F_206B_200D_202E_202C_200F_206B_206C_200D_206F_202D_206D_206F_206A_202B_200C_202E_206B_200C_202D_200B_202C_200F_200D_200E_206F_200B_206C_206A_202D_206F_200E_200C_202C_202E((IEnumerator)enumerator)) + { + TaxiStandEntry current = enumerator.Current; + dictionary[_206F_202E_200E_200E_206A_206C_202E_202A_206B_202D_206A_200F_206D_206C_206B_200B_206D_202A_200B_200D_206B_206A_206B_202B_200F_202C_200D_206D_202C_200C_206B_202C_206D_202E_206C_206F_206E_206B_200B_206B_202E(current)] = current; + } + } + finally + { + if (enumerator != null) + { + _202A_202D_206F_206B_206A_206E_202D_202A_206E_206C_200B_200E_200E_206A_202D_202E_206C_202A_206D_200F_200E_202A_200C_202D_202B_206E_206D_206C_200B_200D_206D_200F_200D_200C_200E_200B_200F_200B_206D_202B_202E((IDisposable)enumerator); + } + } + 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 (_206C_200B_202E_206C_206D_206C_200C_206C_200D_206F_202E_202A_206F_202C_202B_202B_202A_200C_200B_202B_200F_200C_202B_202C_202D_206E_200B_206B_200C_206A_202C_206D_200E_206D_200C_206A_206D_206E_202C_202E(text)) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(12, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1902166363)); + defaultInterpolatedStringHandler.AppendFormatted(num3, global::_003CModule_003E._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(-2030066311)); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + } + List list = new List(); + int num4 = 0; + while (num4 < 8) + { + ChocoboTaxi? valueNullable = row.TargetLocations[num4].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)); + } + } + int num5 = num4; + int num6 = 1; + int num7 = num5; + num4 = (num7 | num6) + (num7 & num6); + } + num += list.Count; + dictionary2[num3] = new TaxiStandInfo(num3, text, _202B_206C_202A_206A_206B_206E_206E_200B_206A_200C_200D_202A_206B_206E_202C_202C_202C_206A_200E_202D_206F_206A_206F_202E_206E_200F_202B_200E_200F_200E_200D_202E_202A_200E_200E_206E_206D_206E_200D_202C_202E(taxiStandEntry2), _206E_206F_200F_206B_202E_202B_202D_206A_202C_200E_206B_200D_200F_200C_202D_200D_202A_202C_200E_200E_206F_200F_200B_200B_206E_206D_206F_202B_206C_200E_206A_202B_206C_200B_202A_200E_202B_202B_202E_202A_202E(taxiStandEntry2), _202A_206A_200F_206B_206A_202E_206B_202D_200E_200C_202A_200E_202E_200D_202E_200B_206B_206F_206A_202E_202B_202E_206E_202E_202A_200F_202C_200B_202D_206A_202E_202E_200F_202A_206C_200F_200E_206F_202C_202E(taxiStandEntry2), list.ToArray()); + } + Stands = dictionary2; + StandsByNpcDataId = dictionary2.Values.ToDictionary((TaxiStandInfo s) => s.NpcDataId, (TaxiStandInfo s) => s); + TotalStands = dictionary2.Count; + TotalRoutes = num; + _206C_200C_202E_200C_200F_206B_200B_206C_200E_202D_200F_200E_206B_202D_202B_200F_200C_206B_202C_200B_206D_200B_202A_206D_202E_206A_206F_206F_200F_202C_200F_202D_202B_206A_200E_206E_200E_206A_202E_200C_202E((ILogger)logger, global::_003CModule_003E._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(863793575), new object[2] { TotalStands, TotalRoutes }); + } + + static string _200D_202C_206E_202D_202C_206B_206C_200E_200D_200C_200F_200B_206B_202C_202C_200F_200E_206D_200E_200D_206D_200D_200D_200B_206D_202A_202E_206D_200B_200B_200B_202A_206B_206D_206D_200F_200E_206B_200E_206C_202E(FileSystemInfo P_0) + { + return P_0.FullName; + } + + static IReadOnlyList _200B_202B_202B_206B_202E_202D_206E_202D_200F_206F_200C_206D_202E_200B_202A_200F_200B_206F_200D_200C_200D_206B_202E_206D_206B_202A_206E_202D_200C_206C_202A_202A_202A_206B_200C_200E_202E_200D_202C_202E_202E(string P_0) + { + return AssemblyTaxiStandLoader.GetStands(P_0); + } + + static uint _206F_202E_200E_200E_206A_206C_202E_202A_206B_202D_206A_200F_206D_206C_206B_200B_206D_202A_200B_200D_206B_206A_206B_202B_200F_202C_200D_206D_202C_200C_206B_202C_206D_202E_206C_206F_206E_206B_200B_206B_202E(TaxiStandEntry P_0) + { + return P_0.ChocoboTaxiStandId; + } + + static bool _202A_200C_206F_200D_206A_202A_206F_206B_200D_202E_202C_200F_206B_206C_200D_206F_202D_206D_206F_206A_202B_200C_202E_206B_200C_202D_200B_202C_200F_200D_200E_206F_200B_206C_206A_202D_206F_200E_200C_202C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202A_202D_206F_206B_206A_206E_202D_202A_206E_206C_200B_200E_200E_206A_202D_202E_206C_202A_206D_200F_200E_202A_200C_202D_202B_206E_206D_206C_200B_200D_206D_200F_200D_200C_200E_200B_200F_200B_206D_202B_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _206C_200B_202E_206C_206D_206C_200C_206C_200D_206F_202E_202A_206F_202C_202B_202B_202A_200C_200B_202B_200F_200C_202B_202C_202D_206E_200B_206B_200C_206A_202C_206D_200E_206D_200C_206A_206D_206E_202C_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static ushort _202B_206C_202A_206A_206B_206E_206E_200B_206A_200C_200D_202A_206B_206E_202C_202C_202C_206A_200E_202D_206F_206A_206F_202E_206E_200F_202B_200E_200F_200E_200D_202E_202A_200E_200E_206E_206D_206E_200D_202C_202E(TaxiStandEntry P_0) + { + return P_0.TerritoryId; + } + + static Vector3 _206E_206F_200F_206B_202E_202B_202D_206A_202C_200E_206B_200D_200F_200C_202D_200D_202A_202C_200E_200E_206F_200F_200B_200B_206E_206D_206F_202B_206C_200E_206A_202B_206C_200B_202A_200E_202B_202B_202E_202A_202E(TaxiStandEntry P_0) + { + return P_0.Location; + } + + static uint _202A_206A_200F_206B_206A_202E_206B_202D_200E_200C_202A_200E_202E_200D_202E_200B_206B_206F_206A_202E_202B_202E_206E_202E_202A_200F_202C_200B_202D_206A_202E_202E_200F_202A_206C_200F_200E_206F_202C_202E(TaxiStandEntry P_0) + { + return P_0.Id; + } + + static void _206C_200C_202E_200C_200F_206B_200B_206C_200E_202D_200F_200E_206B_202D_202B_200F_200C_206B_202C_200B_206D_200B_202A_206D_202E_206A_206F_206F_200F_202C_200F_202D_202B_206A_200E_206E_200E_206A_202E_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } +} diff --git a/SmartNav/SmartNav.Data/TeleportTicketService.cs b/SmartNav/SmartNav.Data/TeleportTicketService.cs new file mode 100644 index 00000000..a94df0ce --- /dev/null +++ b/SmartNav/SmartNav.Data/TeleportTicketService.cs @@ -0,0 +1,686 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +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) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202C_200D_200C_206E_200F_200E_206D_206F_202D_200D_202C_202A_206A_206F_200D_202E_200C_202A_202B_200E_206E_206F_202A_202E_202A_202C_202C_206E_206D_206D_200F_200D_202B_206C_202A_206D_202A_202C_206F_202C_202E(typeof(ScannedTicket).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_200D_202D_202D_200D_202C_206B_202E_200B_202B_206F_206D_200F_206F_200D_202C_206B_206E_206A_202A_206F_202B_206C_202B_206C_206D_202C_206A_200B_202C_202C_202A_206F_206B_202C_206A_202B_206E_206D_206E_202E(); + _200D_206B_200F_206E_206E_202A_202E_206E_206E_206A_200E_202D_200B_200C_202A_206C_202D_206D_202C_200C_206D_202B_206B_200D_200E_200C_202A_206C_202C_200D_202A_202C_200D_202E_206A_206B_202E_206B_200C_206C_202E(stringBuilder, global::_003CModule_003E._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(1489802368)); + _200D_206B_200F_206E_206E_202A_202E_206E_206E_206A_200E_202D_200B_200C_202A_206C_202D_206D_202C_200C_206D_202B_206B_200D_200E_200C_202A_206C_202C_200D_202A_202C_200D_202E_206A_206B_202E_206B_200C_206C_202E(stringBuilder, global::_003CModule_003E._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(-169322018)); + int num = ((!PrintMembers(stringBuilder)) ? (-550622530) : (-550622529)); + while (true) + { + int num2 = num; + int num3 = -550622530; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -550622529; + break; + case 0: + _200C_200F_200F_200C_206D_200C_200B_200D_206C_200D_200D_202D_202D_206C_200D_202B_202B_200B_202C_200E_202D_202A_202B_202D_206E_200C_200E_202E_206A_200D_200E_206C_206F_206D_206E_202E_200F_200B_206C_206C_202E(stringBuilder, '}'); + return _202B_202E_202A_202B_200F_200F_200C_202B_202C_202B_202A_200C_206B_200C_202C_206E_206A_200B_206D_206D_206E_206D_200F_200F_200E_202C_206A_200D_200E_202A_202B_206A_202B_206A_200D_206F_206C_206B_206E_206D_202E((object)stringBuilder); + case 1: + _200C_200F_200F_200C_206D_200C_200B_200D_206C_200D_200D_202D_202D_206C_200D_202B_202B_200B_202C_200E_202D_202A_202B_202D_206E_200C_200E_202E_206A_200D_200E_206C_206F_206D_206E_202E_200F_200B_206C_206C_202E(stringBuilder, ' '); + num = -550622530; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200E_202B_206A_206B_202E_200D_206D_206A_202C_200E_206F_202C_206D_202E_206F_202C_206D_202E_206E_206F_202A_206D_206A_206C_202D_202E_200D_206D_202B_202C_202E_206D_200B_206E_200C_206C_202E_200C_202D_200D_202E(); + _200D_206B_200F_206E_206E_202A_202E_206E_206E_206A_200E_202D_200B_200C_202A_206C_202D_206D_202C_200C_206D_202B_206B_200D_200E_200C_202A_206C_202C_200D_202A_202C_200D_202E_206A_206B_202E_206B_200C_206C_202E(builder, global::_003CModule_003E._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(825996996)); + _200D_206B_200F_206E_206E_202A_202E_206E_206E_206A_200E_202D_200B_200C_202A_206C_202D_206D_202C_200C_206D_202B_206B_200D_200E_200C_202A_206C_202C_200D_202A_202C_200D_202E_206A_206B_202E_206B_200C_206C_202E(builder, ItemId.ToString()); + _200D_206B_200F_206E_206E_202A_202E_206E_206E_206A_200E_202D_200B_200C_202A_206C_202D_206D_202C_200C_206D_202B_206B_200D_200E_200C_202A_206C_202C_200D_202A_202C_200D_202E_206A_206B_202E_206B_200C_206C_202E(builder, global::_003CModule_003E._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(-710038733)); + _206E_202A_202C_206A_202E_202A_206C_200E_202E_200F_202D_206E_200F_200B_206B_206A_200D_200B_200B_200E_206C_202A_206F_206E_206F_206C_202E_202E_202A_200D_206F_206C_200C_202B_202E_200E_202E_202E_206D_206B_202E(builder, (object)Name); + _200D_206B_200F_206E_206E_202A_202E_206E_206E_206A_200E_202D_200B_200C_202A_206C_202D_206D_202C_200C_206D_202B_206B_200D_200E_200C_202A_206C_202C_200D_202A_202C_200D_202E_206A_206B_202E_206B_200C_206C_202E(builder, global::_003CModule_003E._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(-297009185)); + _200D_206B_200F_206E_206E_202A_202E_206E_206E_206A_200E_202D_200B_200C_202A_206C_202D_206D_202C_200C_206D_202B_206B_200D_200E_200C_202A_206C_202C_200D_202A_202C_200D_202E_206A_206B_202E_206B_200C_206C_202E(builder, ItemActionRowId.ToString()); + _200D_206B_200F_206E_206E_202A_202E_206E_206E_206A_200E_202D_200B_200C_202A_206C_202D_206D_202C_200C_206D_202B_206B_200D_200E_200C_202A_206C_202C_200D_202A_202C_200D_202E_206A_206B_202E_206B_200C_206C_202E(builder, global::_003CModule_003E._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(539792921)); + _206E_202A_202C_206A_202E_202A_206C_200E_202E_200F_202D_206E_200F_200B_206B_206A_200D_200B_200B_200E_206C_202A_206F_206E_206F_206C_202E_202E_202A_200D_206F_206C_200C_202B_202E_200E_202E_202E_206D_206B_202E(builder, (object)ItemActionData); + return true; + } + + [CompilerGenerated] + public bool Equals(ScannedTicket? other) + { + int num = (((object)this == other) ? 1004047218 : 1004047227); + while (true) + { + int num2 = num; + int num3 = 1004047226; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = ((!EqualityComparer.Default.Equals(ItemActionRowId, other.ItemActionRowId)) ? 1004047225 : 1004047230); + break; + case 3: + return false; + case 7: + num = 1004047227; + break; + case 8: + return true; + case 0: + num = ((!_202D_200D_202B_206C_202D_206C_206D_202B_202C_206B_206C_202E_206B_200E_206C_202C_202D_202B_206D_202A_200D_200B_202C_200D_200B_200D_206A_206A_202C_206E_202C_200E_206A_206B_200D_202B_206F_202A_200C_206F_202E(EqualityContract, other.EqualityContract)) ? 1004047225 : 1004047228); + break; + case 4: + return EqualityComparer.Default.Equals(ItemActionData, other.ItemActionData); + case 2: + num = ((!EqualityComparer.Default.Equals(Name, other.Name)) ? 1004047225 : 1004047231); + break; + case 1: + num = (((object)other == null) ? 1004047225 : 1004047226); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? 1004047225 : 1004047224); + break; + } + } + } + + bool IEquatable.Equals(ScannedTicket? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202C_200D_200C_206E_200F_200E_206D_206F_202D_200D_202C_202A_206A_206F_200D_202E_200C_202A_202B_200E_206E_206F_202A_202E_202A_202C_202C_206E_206D_206D_200F_200D_202B_206C_202A_206D_202A_202C_206F_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206F_200D_202D_202D_200D_202C_206B_202E_200B_202B_206F_206D_200F_206F_200D_202C_206B_206E_206A_202A_206F_202B_206C_202B_206C_206D_202C_206A_200B_202C_202C_202A_206F_206B_202C_206A_202B_206E_206D_206E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200D_206B_200F_206E_206E_202A_202E_206E_206E_206A_200E_202D_200B_200C_202A_206C_202D_206D_202C_200C_206D_202B_206B_200D_200E_200C_202A_206C_202C_200D_202A_202C_200D_202E_206A_206B_202E_206B_200C_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200C_200F_200F_200C_206D_200C_200B_200D_206C_200D_200D_202D_202D_206C_200D_202B_202B_200B_202C_200E_202D_202A_202B_202D_206E_200C_200E_202E_206A_200D_200E_206C_206F_206D_206E_202E_200F_200B_206C_206C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202B_202E_202A_202B_200F_200F_200C_202B_202C_202B_202A_200C_206B_200C_202C_206E_206A_200B_206D_206D_206E_206D_200F_200F_200E_202C_206A_200D_200E_202A_202B_206A_202B_206A_200D_206F_206C_206B_206E_206D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200E_202B_206A_206B_202E_200D_206D_206A_202C_200E_206F_202C_206D_202E_206F_202C_206D_202E_206E_206F_202A_206D_206A_206C_202D_202E_200D_206D_202B_202C_202E_206D_200B_206E_200C_206C_202E_200C_202D_200D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206E_202A_202C_206A_202E_202A_206C_200E_202E_200F_202D_206E_200F_200B_206B_206A_200D_200B_200B_200E_206C_202A_206F_206E_206F_206C_202E_202E_202A_200D_206F_206C_200C_202B_202E_200E_202E_202E_206D_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202D_200D_202B_206C_202D_206C_206D_202B_202C_206B_206C_202E_206B_200E_206C_202C_202D_202B_206D_202A_200D_200B_202C_200D_200B_200D_206A_206A_202C_206E_202C_200E_206A_206B_200D_202B_206F_202A_200C_206F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + public sealed record TeleportTicket(uint ItemId, string Name, ushort TerritoryId, Vector3 Position, byte RequiredGrandCompany = 0, uint RequiredQuestId = 0u) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206D_206F_206B_200F_206E_200E_206D_200D_202D_202C_200C_202A_202E_206D_200C_206B_206C_202B_202D_200D_200F_200C_202A_202A_200C_200C_200D_200C_202C_202C_202C_202A_206C_206D_200D_202D_200B_202D_202A_202E(typeof(TeleportTicket).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_202E_206D_206B_202C_200E_202D_202D_206D_202B_206B_206D_202B_206E_200F_202B_206E_206B_206F_206C_200C_200F_202B_206F_200D_206E_206A_202A_200C_202A_206E_206F_202E_200C_206B_200C_202D_202A_202E_202C_202E(); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(stringBuilder, global::_003CModule_003E._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(-657525992)); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(stringBuilder, global::_003CModule_003E._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(1120247710)); + int num = ((!PrintMembers(stringBuilder)) ? 1884459870 : 1884459871); + while (true) + { + int num2 = num; + int num3 = 1884459870; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1884459871; + break; + case 1: + _202B_206C_206B_202D_206E_200C_206E_200C_200C_200E_202A_206C_206E_200C_202D_206D_206B_206A_202E_202C_202E_202D_200E_206C_200F_202D_202B_206E_206B_206E_200F_200B_206C_202D_200E_206B_206A_202A_206F_200D_202E(stringBuilder, ' '); + num = 1884459870; + break; + case 0: + _202B_206C_206B_202D_206E_200C_206E_200C_200C_200E_202A_206C_206E_200C_202D_206D_206B_206A_202E_202C_202E_202D_200E_206C_200F_202D_202B_206E_206B_206E_200F_200B_206C_202D_200E_206B_206A_202A_206F_200D_202E(stringBuilder, '}'); + return _202C_200F_206F_200B_206D_202D_202E_200B_202D_202C_200B_202A_206A_206A_202C_200D_206A_206E_206A_202D_202E_206E_206E_200C_200B_200B_202B_206A_206C_202B_200F_206F_200F_206F_202E_206B_200C_206F_200F_206B_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200B_202C_202C_200C_200C_206E_202E_202C_202E_206B_200B_200D_202E_206C_202E_200B_200E_202C_206A_200E_206E_206A_206D_200B_202C_200C_206C_206D_206A_202B_202B_200B_200C_200D_202A_206E_200D_202B_206C_200C_202E(); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(builder, global::_003CModule_003E._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(-625074920)); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(builder, ItemId.ToString()); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(builder, global::_003CModule_003E._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(844509483)); + _200E_206A_202E_200F_202C_200D_202A_202D_206D_206C_202E_200B_200E_200E_206C_202D_202B_206B_206E_202A_202A_202D_200D_202C_200B_206D_202B_206F_206C_200B_200E_206C_206A_206F_202E_202A_206F_202D_200E_206C_202E(builder, (object)Name); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(builder, global::_003CModule_003E._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(-1370916953)); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(builder, TerritoryId.ToString()); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(builder, global::_003CModule_003E._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(-1811452076)); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(builder, Position.ToString()); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(builder, global::_003CModule_003E._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(-772128166)); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(builder, RequiredGrandCompany.ToString()); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(builder, global::_003CModule_003E._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(1957211680)); + _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(builder, RequiredQuestId.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(TeleportTicket? other) + { + int num = (((object)this == other) ? 1321105694 : 1321105681); + while (true) + { + int num2 = num; + int num3 = 1321105684; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = ((!EqualityComparer.Default.Equals(RequiredGrandCompany, other.RequiredGrandCompany)) ? 1321105686 : 1321105685); + break; + case 5: + num = (((object)other == null) ? 1321105686 : 1321105693); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(Position, other.Position)) ? 1321105686 : 1321105687); + break; + case 9: + num = ((!_200E_202B_200F_206F_200C_200D_200E_200F_206A_200D_202D_206A_206A_202E_202E_202D_206A_202A_200B_200F_200F_202A_200B_206A_206F_206C_200F_200C_206A_206B_202D_200F_200C_200C_206F_200B_206B_202D_202B_206C_202E(EqualityContract, other.EqualityContract)) ? 1321105686 : 1321105680); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? 1321105686 : 1321105692); + break; + case 1: + return EqualityComparer.Default.Equals(RequiredQuestId, other.RequiredQuestId); + case 6: + num = ((!EqualityComparer.Default.Equals(Name, other.Name)) ? 1321105686 : 1321105683); + break; + case 0: + num = 1321105681; + break; + case 10: + return true; + case 2: + return false; + case 4: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? 1321105686 : 1321105682); + break; + } + } + } + + bool IEquatable.Equals(TeleportTicket? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206D_206F_206B_200F_206E_200E_206D_200D_202D_202C_200C_202A_202E_206D_200C_206B_206C_202B_202D_200D_200F_200C_202A_202A_200C_200C_200D_200C_202C_202C_202C_202A_206C_206D_200D_202D_200B_202D_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202A_202E_206D_206B_202C_200E_202D_202D_206D_202B_206B_206D_202B_206E_200F_202B_206E_206B_206F_206C_200C_200F_202B_206F_200D_206E_206A_202A_200C_202A_206E_206F_202E_200C_206B_200C_202D_202A_202E_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202A_200B_200F_206C_206C_200D_206B_200E_206C_206F_202B_200F_206B_206F_202C_202B_202E_206D_202B_206C_202A_206E_200C_202D_202C_202C_200C_200B_206F_206B_206D_200B_200F_206E_200F_206A_202E_206E_206A_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202B_206C_206B_202D_206E_200C_206E_200C_200C_200E_202A_206C_206E_200C_202D_206D_206B_206A_202E_202C_202E_202D_200E_206C_200F_202D_202B_206E_206B_206E_200F_200B_206C_202D_200E_206B_206A_202A_206F_200D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202C_200F_206F_200B_206D_202D_202E_200B_202D_202C_200B_202A_206A_206A_202C_200D_206A_206E_206A_202D_202E_206E_206E_200C_200B_200B_202B_206A_206C_202B_200F_206F_200F_206F_202E_206B_200C_206F_200F_206B_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200B_202C_202C_200C_200C_206E_202E_202C_202E_206B_200B_200D_202E_206C_202E_200B_200E_202C_206A_200E_206E_206A_206D_200B_202C_200C_206C_206D_206A_202B_202B_200B_200C_200D_202A_206E_200D_202B_206C_200C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200E_206A_202E_200F_202C_200D_202A_202D_206D_206C_202E_200B_200E_200E_206C_202D_202B_206B_206E_202A_202A_202D_200D_202C_200B_206D_202B_206F_206C_200B_200E_206C_206A_206F_202E_202A_206F_202D_200E_206C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200E_202B_200F_206F_200C_200D_200E_200F_206A_200D_202D_206A_206A_202E_202E_202D_206A_202A_200B_200F_200F_202A_200B_206A_206F_206C_200F_200C_206A_206B_202D_200F_200C_200C_206F_200B_206B_202D_202B_206C_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + private static readonly uint[] KnownTicketItemIds; + + public IReadOnlyList ScannedTickets { get; } + + public IReadOnlyList Tickets { get; } + + internal TeleportTicketService(List tickets) + { + ScannedTickets = Array.Empty(); + Tickets = tickets; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public TeleportTicketService(IDataManager dataManager, SmartNavDataOptions dataOptions, ILogger logger) + { + ScannedTickets = ScanTicketItems(dataManager, logger); + Dictionary dictionary = new Dictionary(); + DirectoryInfo? devSourceDirectory = dataOptions.DevSourceDirectory; + IEnumerator enumerator = _206D_206F_206E_206F_200C_200B_202C_200C_200C_206D_200F_206B_202D_202C_206F_200C_202B_206C_202A_202A_206E_200C_202C_200E_202C_206A_206E_202C_200C_200E_200F_206D_200C_202B_206F_206D_200E_202D_200F_202A_202E((devSourceDirectory != null) ? _206C_206F_200C_202C_206B_202A_200B_202A_206F_206F_200D_206D_206F_202C_200F_200C_200B_206A_206D_206E_202D_200E_206C_200C_200E_200B_202E_206D_200D_202E_206D_206F_200E_200D_206B_206E_206A_200B_202E_206C_202E((FileSystemInfo)devSourceDirectory) : null).Values.GetEnumerator(); + try + { + while (_206D_206B_206F_206A_206A_200B_202C_202E_206E_202C_200B_200E_202D_206C_200B_200C_202D_206D_206A_200E_202C_206D_206D_206F_206C_200F_206D_200E_206F_206B_206E_202E_206F_206A_202A_200F_200D_202D_202D_200E_202E((IEnumerator)enumerator)) + { + TeleportTicketEntry current = enumerator.Current; + ApplyEntry(dictionary, current); + } + } + finally + { + if (enumerator != null) + { + _200B_200C_200D_202C_200C_202A_202A_200F_200F_202A_200D_200C_202E_200D_202E_200B_206A_202E_200C_200D_202C_206C_202B_200C_200D_202C_206E_202C_202E_206B_200F_206C_202A_202D_202B_202C_202C_206D_202D_206C_202E((IDisposable)enumerator); + } + } + if (dataOptions.UserOverrideDirectory != null) + { + LoadDestinationsFrom(_200D_206A_206D_206A_206C_202C_200E_206D_206C_206F_200C_200D_206A_202B_202C_200C_202A_200B_202B_200E_206F_206A_206B_200B_202E_200E_200C_200D_200C_202D_202C_202C_202A_200E_202E_200E_200D_206A_202B_200C_202E(_206C_206F_200C_202C_206B_202A_200B_202A_206F_206F_200D_206D_206F_202C_200F_200C_200B_206A_206D_206E_202D_200E_206C_200C_200E_200B_202E_206D_200D_202E_206D_206F_200E_200D_206B_206E_206A_200B_202E_206C_202E((FileSystemInfo)dataOptions.UserOverrideDirectory), global::_003CModule_003E._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(-214131285)), dictionary, logger); + } + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + List list = new List(); + IEnumerator enumerator2 = ScannedTickets.GetEnumerator(); + try + { + while (_206D_206B_206F_206A_206A_200B_202C_202E_206E_202C_200B_200E_202D_206C_200B_200C_202D_206D_206A_200E_202C_206D_206D_206F_206C_200F_206D_200E_206F_206B_206E_202E_206F_206A_202A_200F_200D_202D_202D_200E_202E((IEnumerator)enumerator2)) + { + ScannedTicket current2 = enumerator2.Current; + if (!dictionary.TryGetValue(current2.ItemId, out var value)) + { + _206B_206F_200D_206E_202B_202E_206A_200F_202A_206C_206F_202A_200F_206D_206A_202D_206C_202C_202E_206B_206F_202E_206F_206D_202A_200F_200F_200E_206D_206A_202E_206C_206D_202C_200F_200F_206F_206D_200F_202C_202E((ILogger)logger, global::_003CModule_003E._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(-1318998580), new object[2] { current2.ItemId, current2.Name }); + } + else + { + uint num = excelSheet.GetRowOrDefault(current2.ItemActionData[0])?.Requirement.RowId ?? 0; + list.Add(new TeleportTicket(current2.ItemId, current2.Name, value.Item1, value.Item2, (byte)((num >= 1 && num <= 3) ? ((byte)num) : 0), (num >= 65536) ? num : 0u)); + } + } + } + finally + { + if (enumerator2 != null) + { + _200B_200C_200D_202C_200C_202A_202A_200F_200F_202A_200D_200C_202E_200D_202E_200B_206A_202E_200C_200D_202C_206C_202B_200C_200D_202C_206E_202C_202E_206B_200F_206C_202A_202D_202B_202C_202C_206D_202D_206C_202E((IDisposable)enumerator2); + } + } + Tickets = list; + _206A_206C_206C_202C_202C_206E_202C_206F_202C_200F_200F_206F_206B_206F_200E_202C_200D_200E_206A_206E_200B_200D_206B_206D_200D_202C_206A_202C_200B_206E_200D_202B_202E_206C_206A_200F_202C_202E_206C_206E_202E((ILogger)logger, global::_003CModule_003E._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(-1282340065), new object[2] { ScannedTickets.Count, list.Count }); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static List ScanTicketItems(IDataManager dataManager, ILogger logger) + { + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + uint? num = null; + uint[] knownTicketItemIds = KnownTicketItemIds; + int num2 = 0; + int num3 = -2085150822; + List list = default(List); + ItemAction? itemAction = default(ItemAction?); + Item current = default(Item); + string text = default(string); + ItemAction? valueNullable = default(ItemAction?); + while (true) + { + int num4 = num3; + int num5 = -2085150820; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 5: + _206B_202B_206F_200B_206A_200D_206D_200D_206E_202A_206A_202B_202E_202D_200C_206F_200C_200D_202A_202B_200B_206F_200D_206C_206B_206B_202B_202D_206F_202A_202A_200C_200C_206F_206B_206F_202A_206E_200B_200F_202E(logger, global::_003CModule_003E._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(258108496), Array.Empty()); + return list; + case 1: + { + int num12 = num2; + num5 = 1; + num6 = num12; + int num13 = num6 ^ num5; + int num14 = num6 & num5; + num2 = num13 + (num14 + num14); + num3 = -2085150822; + break; + } + case 6: + num3 = ((num2 < knownTicketItemIds.Length) ? (-2085150821) : (-2085150824)); + break; + case 7: + { + uint rowId = knownTicketItemIds[num2]; + itemAction = excelSheet.GetRowOrDefault(rowId)?.ItemAction.ValueNullable; + num3 = ((!itemAction.HasValue) ? (-2085150819) : (-2085150820)); + break; + } + case 2: + num3 = -2085150822; + break; + case 4: + list = new List(); + num3 = (num.HasValue ? (-2085150817) : (-2085150823)); + break; + case 0: + num = itemAction.Value.Action.RowId; + num3 = -2085150824; + break; + case 3: + { + using (ExcelSheet.Enumerator enumerator = excelSheet.GetEnumerator()) + { + num3 = -1333025980; + while (true) + { + int num9 = num3; + num5 = -1333025980; + num6 = num9; + int num10 = num6 + num5; + int num11 = num6 & num5; + switch (num10 - (num11 + num11)) + { + case 6: + list.Add(new ScannedTicket(current.RowId, text, valueNullable.Value.RowId, new ushort[3] + { + valueNullable.Value.Data[0], + valueNullable.Value.Data[1], + valueNullable.Value.Data[2] + })); + num3 = -1333025980; + break; + case 4: + text = current.Name.ExtractText(); + num3 = (_206A_200B_200F_202E_202C_202B_206A_202B_206F_206D_206A_202E_206E_200F_200E_206F_206E_206E_206C_206E_202B_206E_206C_202B_202A_206D_200E_200F_200B_200F_200C_200B_206C_200C_206A_200D_206D_206D_202E_206D_202E(text) ? (-1333025980) : (-1333025982)); + break; + case 2: + num3 = ((valueNullable.Value.Action.RowId != num) ? (-1333025980) : (-1333025984)); + break; + case 3: + current = enumerator.Current; + num3 = ((current.RowId == 0) ? (-1333025980) : (-1333025979)); + break; + case 0: + num3 = (enumerator.MoveNext() ? (-1333025977) : (-1333025981)); + break; + case 5: + num3 = -1333025980; + break; + case 1: + valueNullable = current.ItemAction.ValueNullable; + num3 = ((!valueNullable.HasValue) ? (-1333025980) : (-1333025978)); + break; + case 7: + goto end_IL_01ae; + } + continue; + end_IL_01ae: + break; + } + } + list.Sort((ScannedTicket a, ScannedTicket b) => a.ItemId.CompareTo(b.ItemId)); + return list; + } + } + } + } + + private static void ApplyEntry(Dictionary destinations, TeleportTicketEntry entry) + { + int num = ((_206A_202A_206E_200E_206B_200E_200D_202C_202D_202A_206D_206B_206A_202C_200C_202E_206A_206D_202B_202A_202A_200E_200E_206A_202D_206A_206D_206A_202B_200C_200D_206C_206D_200C_202D_202A_202A_200E_206B_200E_202E(entry) == 0) ? 1762997114 : 1762997112); + while (true) + { + int num2 = num; + int num3 = 1762997113; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + return; + case 0: + destinations[_206A_202A_206E_200E_206B_200E_200D_202C_202D_202A_206D_206B_206A_202C_200C_202E_206A_206D_202B_202A_202A_200E_200E_206A_202D_206A_206D_206A_202B_200C_200D_206C_206D_200C_202D_202A_202A_200E_206B_200E_202E(entry)] = (_200D_206A_202E_206E_200B_206D_206D_202E_200C_206E_202E_202B_200F_206D_202A_206D_202D_202A_200D_200F_206B_202E_200C_206B_202B_202A_202D_206D_206B_202C_200C_202C_202A_200F_206A_200B_202A_202A_200C_206E_202E(entry), _206C_200B_200F_202B_202A_206E_206C_202C_206A_202E_200C_202D_202A_206E_202C_200F_206A_202E_202A_206F_202D_200B_200E_200B_200C_206D_206A_206C_202A_202A_200E_200D_206C_200E_202A_202A_206B_206A_202A_206D_202E(entry)); + num = 1762997114; + break; + case 1: + num = ((_200D_206A_202E_206E_200B_206D_206D_202E_200C_206E_202E_202B_200F_206D_202A_206D_202D_202A_200D_200F_206B_202E_200C_206B_202B_202A_202D_206D_206B_202C_200C_202C_202A_200F_206A_200B_202A_202A_200C_206E_202E(entry) <= 0) ? 1762997114 : 1762997113); + break; + case 2: + num = 1762997112; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static void LoadDestinationsFrom(string path, Dictionary destinations, ILogger logger) + { + int num = (_200C_200F_206E_202A_206A_202B_200E_202B_202A_202B_202C_202A_200F_206D_202A_200B_200C_200D_200C_202A_206D_206D_200B_206B_200E_200C_202D_200B_200C_202C_202E_206E_200B_200B_202E_206D_206F_206F_200F_202C_202E(path) ? (-1900473582) : (-1900473579)); + TeleportTicketFile teleportTicketFile = default(TeleportTicketFile); + while (true) + { + int num2 = num; + int num3 = -1900473583; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = -1900473579; + break; + case 0: + return; + case 3: + teleportTicketFile = JsonSerializer.Deserialize(_206D_200F_206B_206E_206B_202B_200B_206F_200E_206C_206D_200C_206A_202B_200B_202E_200C_202A_206D_206E_202C_206F_202A_200F_200E_202E_206B_200E_200E_202A_206A_200F_202B_200B_206C_200F_206A_202A_202B_202B_202E(path)); + num = ((teleportTicketFile != null) ? (-1900473584) : (-1900473583)); + break; + case 4: + return; + case 1: + { + using (Dictionary.ValueCollection.Enumerator enumerator = _206D_200B_206D_206E_200B_200D_202B_200D_200E_202A_206B_206F_200F_200F_202A_206E_200C_200B_200E_200C_202A_200F_202B_202D_206A_202B_202D_206A_202A_200C_206C_206A_200B_206E_202C_202A_202E_206B_206E_202C_202E(teleportTicketFile).Values.GetEnumerator()) + { + num = -1775010946; + while (true) + { + int num7 = num; + num3 = -1775010946; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1775010946; + break; + case 0: + num = (enumerator.MoveNext() ? (-1775010945) : (-1775010947)); + break; + case 1: + { + TeleportTicketEntry current = enumerator.Current; + ApplyEntry(destinations, current); + num = -1775010946; + break; + } + case 3: + goto end_IL_00a8; + } + continue; + end_IL_00a8: + break; + } + } + _206B_206F_200D_206E_202B_202E_206A_200F_202A_206C_206F_202A_200F_206D_206A_202D_206C_202C_202E_206B_206F_202E_206F_206D_202A_200F_200F_200E_206D_206A_202E_206C_206D_202C_200F_200F_206F_206D_200F_202C_202E(logger, global::_003CModule_003E._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(1363837168), new object[2] + { + _206D_200B_206D_206E_200B_200D_202B_200D_200E_202A_206B_206F_200F_200F_202A_206E_200C_200B_200E_200C_202A_200F_202B_202D_206A_202B_202D_206A_202A_200C_206C_206A_200B_206E_202C_202A_202E_206B_206E_202C_202E(teleportTicketFile).Count, + path + }); + return; + } + } + } + } + + static TeleportTicketService() + { + uint[] array = new uint[5]; + _200C_202E_200C_202A_202E_202D_202A_200F_206E_202A_206A_200B_206F_200F_202C_202B_206A_202B_200C_200C_200B_206E_202B_202A_206C_206E_206D_202E_200D_202D_200F_206A_206C_200D_202C_206E_200F_206F_206F_202B_202E((Array)array, (RuntimeFieldHandle)/*OpCode not supported: LdMemberToken*/); + KnownTicketItemIds = array; + } + + static string _206C_206F_200C_202C_206B_202A_200B_202A_206F_206F_200D_206D_206F_202C_200F_200C_200B_206A_206D_206E_202D_200E_206C_200C_200E_200B_202E_206D_200D_202E_206D_206F_200E_200D_206B_206E_206A_200B_202E_206C_202E(FileSystemInfo P_0) + { + return P_0.FullName; + } + + static IReadOnlyDictionary _206D_206F_206E_206F_200C_200B_202C_200C_200C_206D_200F_206B_202D_202C_206F_200C_202B_206C_202A_202A_206E_200C_202C_200E_202C_206A_206E_202C_200C_200E_200F_206D_200C_202B_206F_206D_200E_202D_200F_202A_202E(string P_0) + { + return AssemblyTeleportTicketLoader.GetTickets(P_0); + } + + static bool _206D_206B_206F_206A_206A_200B_202C_202E_206E_202C_200B_200E_202D_206C_200B_200C_202D_206D_206A_200E_202C_206D_206D_206F_206C_200F_206D_200E_206F_206B_206E_202E_206F_206A_202A_200F_200D_202D_202D_200E_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200B_200C_200D_202C_200C_202A_202A_200F_200F_202A_200D_200C_202E_200D_202E_200B_206A_202E_200C_200D_202C_206C_202B_200C_200D_202C_206E_202C_202E_206B_200F_206C_202A_202D_202B_202C_202C_206D_202D_206C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static string _200D_206A_206D_206A_206C_202C_200E_206D_206C_206F_200C_200D_206A_202B_202C_200C_202A_200B_202B_200E_206F_206A_206B_200B_202E_200E_200C_200D_200C_202D_202C_202C_202A_200E_202E_200E_200D_206A_202B_200C_202E(string P_0, string P_1) + { + return Path.Combine(P_0, P_1); + } + + static void _206B_206F_200D_206E_202B_202E_206A_200F_202A_206C_206F_202A_200F_206D_206A_202D_206C_202C_202E_206B_206F_202E_206F_206D_202A_200F_200F_200E_206D_206A_202E_206C_206D_202C_200F_200F_206F_206D_200F_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _206A_206C_206C_202C_202C_206E_202C_206F_202C_200F_200F_206F_206B_206F_200E_202C_200D_200E_206A_206E_200B_200D_206B_206D_200D_202C_206A_202C_200B_206E_200D_202B_202E_206C_206A_200F_202C_202E_206C_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } + + static void _206B_202B_206F_200B_206A_200D_206D_200D_206E_202A_206A_202B_202E_202D_200C_206F_200C_200D_202A_202B_200B_206F_200D_206C_206B_206B_202B_202D_206F_202A_202A_200C_200C_206F_206B_206F_202A_206E_200B_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static bool _206A_200B_200F_202E_202C_202B_206A_202B_206F_206D_206A_202E_206E_200F_200E_206F_206E_206E_206C_206E_202B_206E_206C_202B_202A_206D_200E_200F_200B_200F_200C_200B_206C_200C_206A_200D_206D_206D_202E_206D_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static uint _206A_202A_206E_200E_206B_200E_200D_202C_202D_202A_206D_206B_206A_202C_200C_202E_206A_206D_202B_202A_202A_200E_200E_206A_202D_206A_206D_206A_202B_200C_200D_206C_206D_200C_202D_202A_202A_200E_206B_200E_202E(TeleportTicketEntry P_0) + { + return P_0.ItemId; + } + + static ushort _200D_206A_202E_206E_200B_206D_206D_202E_200C_206E_202E_202B_200F_206D_202A_206D_202D_202A_200D_200F_206B_202E_200C_206B_202B_202A_202D_206D_206B_202C_200C_202C_202A_200F_206A_200B_202A_202A_200C_206E_202E(TeleportTicketEntry P_0) + { + return P_0.DestTerritoryId; + } + + static Vector3 _206C_200B_200F_202B_202A_206E_206C_202C_206A_202E_200C_202D_202A_206E_202C_200F_206A_202E_202A_206F_202D_200B_200E_200B_200C_206D_206A_206C_202A_202A_200E_200D_206C_200E_202A_202A_206B_206A_202A_206D_202E(TeleportTicketEntry P_0) + { + return P_0.DestPosition; + } + + static bool _200C_200F_206E_202A_206A_202B_200E_202B_202A_202B_202C_202A_200F_206D_202A_200B_200C_200D_200C_202A_206D_206D_200B_206B_200E_200C_202D_200B_200C_202C_202E_206E_200B_200B_202E_206D_206F_206F_200F_202C_202E(string P_0) + { + return File.Exists(P_0); + } + + static string _206D_200F_206B_206E_206B_202B_200B_206F_200E_206C_206D_200C_206A_202B_200B_202E_200C_202A_206D_206E_202C_206F_202A_200F_200E_202E_206B_200E_200E_202A_206A_200F_202B_200B_206C_200F_206A_202A_202B_202B_202E(string P_0) + { + return File.ReadAllText(P_0); + } + + static Dictionary _206D_200B_206D_206E_200B_200D_202B_200D_200E_202A_206B_206F_200F_200F_202A_206E_200C_200B_200E_200C_202A_200F_202B_202D_206A_202B_202D_206A_202A_200C_206C_206A_200B_206E_202C_202A_202E_206B_206E_202C_202E(TeleportTicketFile P_0) + { + return P_0.Tickets; + } + + static void _200C_202E_200C_202A_202E_202D_202A_200F_206E_202A_206A_200B_206F_200F_202C_202B_206A_202B_200C_200C_200B_206E_202B_202A_206C_206E_206D_202E_200D_202D_200F_206A_206C_200D_202C_206E_200F_206F_206F_202B_202E(Array P_0, RuntimeFieldHandle P_1) + { + RuntimeHelpers.InitializeArray(P_0, P_1); + } +} diff --git a/SmartNav/SmartNav.Data/WarpDataService.cs b/SmartNav/SmartNav.Data/WarpDataService.cs new file mode 100644 index 00000000..ee6c3a0b --- /dev/null +++ b/SmartNav/SmartNav.Data/WarpDataService.cs @@ -0,0 +1,2281 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +using System.Text.Json; +using System.Threading; +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) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206C_200E_202B_200D_206C_202B_200C_206F_200D_200F_200B_202A_206C_206F_202C_206E_202D_202E_202A_206A_202B_200B_202D_202E_200F_206F_200C_200C_206F_200D_202B_200F_206A_202D_200C_200D_206F_206D_202B_206E_202E(typeof(Snapshot).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202E_202D_206E_202E_206A_200F_202A_202A_202B_200D_206F_200D_206A_202C_202D_200D_200C_202E_202C_202A_200B_200F_206A_200E_202B_206F_206E_202A_206D_200E_206F_202E_202A_200C_206F_200C_206C_200E_200D_202C_202E(); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(stringBuilder, global::_003CModule_003E._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(1756001868)); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(stringBuilder, global::_003CModule_003E._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(-169322018)); + int num = ((!PrintMembers(stringBuilder)) ? (-373285292) : (-373285289)); + while (true) + { + int num2 = num; + int num3 = -373285290; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -373285289; + break; + case 1: + _202E_200D_202E_200D_202C_202D_206D_202A_200E_202A_206D_206D_200D_200F_206F_206E_206F_202C_202A_202E_202A_202A_202D_200B_200F_200B_202E_206F_206F_202C_206B_202C_202B_202A_206B_202E_202B_206D_206D_202C_202E(stringBuilder, ' '); + num = -373285292; + break; + case 2: + _202E_200D_202E_200D_202C_202D_206D_202A_200E_202A_206D_206D_200D_200F_206F_206E_206F_202C_202A_202E_202A_202A_202D_200B_200F_200B_202E_206F_206F_202C_206B_202C_202B_202A_206B_202E_202B_206D_206D_202C_202E(stringBuilder, '}'); + return _202D_206D_202D_206A_200D_202E_202E_200E_202B_206E_200E_206A_206E_206C_202A_200E_202A_202B_202C_200D_200D_200D_206F_200F_206E_200C_206B_200D_206F_202B_200E_200D_200B_202C_200D_202D_202C_200D_200C_206C_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200E_200F_200E_200E_202D_202A_206D_206F_206B_200E_200D_206B_202D_200C_202B_202E_202C_200F_200E_202B_202E_206D_206E_200E_202D_206B_200B_206F_200E_206F_202A_200D_206B_202B_200B_202D_200C_206C_206B_202B_202E(); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(-144598280)); + _200B_202B_206B_200D_202C_200F_206D_202E_200B_202E_202A_206C_200B_202C_206F_202B_202B_202B_202C_206E_200D_202D_200D_206B_206E_202B_200C_202E_206F_200F_200F_200F_202A_206F_206A_202E_206E_206B_206F_202B_202E(builder, (object)Warps); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(-686068959)); + _200B_202B_206B_200D_202C_200F_206D_202E_200B_202E_202A_206C_200B_202C_206F_202B_202B_202B_202C_206E_200D_202D_200D_206B_206E_202B_200C_202E_206F_200F_200F_200F_202A_206F_206A_202E_206E_206B_206F_202B_202E(builder, (object)WarpsByRowId); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(-867140763)); + _200B_202B_206B_200D_202C_200F_206D_202E_200B_202E_202A_206C_200B_202C_206F_202B_202B_202B_202C_206E_200D_202D_200D_206B_206E_202B_200C_202E_206F_200F_200F_200F_202A_206F_206A_202E_206E_206B_206F_202B_202E(builder, (object)SkippedWarpIds); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(-1874028006)); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, TotalLuminaWarps.ToString()); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(285549254)); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, NavigationRelevantWarps.ToString()); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(-2005174402)); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, WarpsWithDestination.ToString()); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(882690042)); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, WarpsWithUnknownSource.ToString()); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(-729388178)); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, WarpsWithDerivedSource.ToString()); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(-404384534)); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, WarpsWithDerivedArrival.ToString()); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(133303081)); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, SkippedNoDest.ToString()); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(504753412)); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, SkippedSourceBlocked.ToString()); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(-321305684)); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, SkippedDestBlocked.ToString()); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._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(201100359)); + _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, DerivedSourcesPending.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(Snapshot? other) + { + int num = (((object)this == other) ? 730754972 : 730754966); + while (true) + { + int num2 = num; + int num3 = 730754975; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 730754966; + break; + case 14: + num = ((!EqualityComparer>.Default.Equals(WarpsByRowId, other.WarpsByRowId)) ? 730754963 : 730754971); + break; + case 13: + num = ((!EqualityComparer.Default.Equals(SkippedDestBlocked, other.SkippedDestBlocked)) ? 730754963 : 730754964); + break; + case 12: + return false; + case 9: + num = (((object)other == null) ? 730754963 : 730754959); + break; + case 15: + num = ((!EqualityComparer.Default.Equals(TotalLuminaWarps, other.TotalLuminaWarps)) ? 730754963 : 730754975); + break; + case 3: + return true; + case 4: + num = ((!EqualityComparer>.Default.Equals(SkippedWarpIds, other.SkippedWarpIds)) ? 730754963 : 730754960); + break; + case 10: + num = ((!EqualityComparer.Default.Equals(WarpsWithDerivedSource, other.WarpsWithDerivedSource)) ? 730754963 : 730754974); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(SkippedNoDest, other.SkippedNoDest)) ? 730754963 : 730754970); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(NavigationRelevantWarps, other.NavigationRelevantWarps)) ? 730754963 : 730754969); + break; + case 16: + num = ((!_202A_206D_202B_206C_200B_202E_206F_200B_206C_206A_202B_206F_202A_202D_200D_202D_200D_200E_200F_206E_206E_202A_202A_206C_202A_206B_206D_200B_200C_206C_206A_206E_200E_206D_206B_200D_206E_202A_206D_200F_202E(EqualityContract, other.EqualityContract)) ? 730754963 : 730754967); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(WarpsWithDestination, other.WarpsWithDestination)) ? 730754963 : 730754958); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(WarpsWithDerivedArrival, other.WarpsWithDerivedArrival)) ? 730754963 : 730754968); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(SkippedSourceBlocked, other.SkippedSourceBlocked)) ? 730754963 : 730754962); + break; + case 11: + return EqualityComparer.Default.Equals(DerivedSourcesPending, other.DerivedSourcesPending); + case 17: + num = ((!EqualityComparer.Default.Equals(WarpsWithUnknownSource, other.WarpsWithUnknownSource)) ? 730754963 : 730754965); + break; + case 8: + num = ((!EqualityComparer>.Default.Equals(Warps, other.Warps)) ? 730754963 : 730754961); + break; + } + } + } + + bool IEquatable.Equals(Snapshot? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206C_200E_202B_200D_206C_202B_200C_206F_200D_200F_200B_202A_206C_206F_202C_206E_202D_202E_202A_206A_202B_200B_202D_202E_200F_206F_200C_200C_206F_200D_202B_200F_206A_202D_200C_200D_206F_206D_202B_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202E_202D_206E_202E_206A_200F_202A_202A_202B_200D_206F_200D_206A_202C_202D_200D_200C_202E_202C_202A_200B_200F_206A_200E_202B_206F_206E_202A_206D_200E_206F_202E_202A_200C_206F_200C_206C_200E_200D_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202E_200D_202E_200D_202C_202D_206D_202A_200E_202A_206D_206D_200D_200F_206F_206E_206F_202C_202A_202E_202A_202A_202D_200B_200F_200B_202E_206F_206F_202C_206B_202C_202B_202A_206B_202E_202B_206D_206D_202C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202D_206D_202D_206A_200D_202E_202E_200E_202B_206E_200E_206A_206E_206C_202A_200E_202A_202B_202C_200D_200D_200D_206F_200F_206E_200C_206B_200D_206F_202B_200E_200D_200B_202C_200D_202D_202C_200D_200C_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200E_200F_200E_200E_202D_202A_206D_206F_206B_200E_200D_206B_202D_200C_202B_202E_202C_200F_200E_202B_202E_206D_206E_200E_202D_206B_200B_206F_200E_206F_202A_200D_206B_202B_200B_202D_200C_206C_206B_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200B_202B_206B_200D_202C_200F_206D_202E_200B_202E_202A_206C_200B_202C_206F_202B_202B_202B_202C_206E_200D_202D_200D_206B_206E_202B_200C_202E_206F_200F_200F_200F_202A_206F_206A_202E_206E_206B_206F_202B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202A_206D_202B_206C_200B_202E_206F_200B_206C_206A_202B_206F_202A_202D_200D_202D_200D_200E_200F_206E_206E_202A_202A_206C_202A_206B_206D_200B_200C_206C_206A_206E_200E_206D_206B_200D_206E_202A_206D_200F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } + } + + 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) + { + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_202D_202D_202E_202C_206A_206C_206C_202D_200E_206F_202A_206B_206C_206F_202A_202E_200D_202D_200E_202B_200F_200C_206A_200E_200F_202D_206F_206A_206C_206F_206E_202E_200E_202A_202C_202C_202C_202C_202E(typeof(WarpInfo).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206C_200F_200E_202B_202B_206C_206F_206D_200D_206F_206F_202B_202B_202D_202E_202C_202D_202A_206F_200C_202D_206B_202A_200F_206C_206E_200B_202B_200B_202C_202E_200C_206C_200E_200B_202D_200D_202C_206D_206F_202E(); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(stringBuilder, global::_003CModule_003E._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(-1185315143)); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(stringBuilder, global::_003CModule_003E._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(-169322018)); + int num = ((!PrintMembers(stringBuilder)) ? 2109038316 : 2109038319); + while (true) + { + int num2 = num; + int num3 = 2109038317; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 2109038319; + break; + case 2: + _202B_206B_202B_206F_202A_202A_202B_202E_206C_202C_206E_202D_202D_200D_200C_200D_202B_202B_202E_202A_206A_202A_206B_206C_202B_202E_200F_202C_206F_206C_206A_200F_200F_206D_200E_206C_202C_206A_206F_200C_202E(stringBuilder, ' '); + num = 2109038316; + break; + case 1: + _202B_206B_202B_206F_202A_202A_202B_202E_206C_202C_206E_202D_202D_200D_200C_200D_202B_202B_202E_202A_206A_202A_206B_206C_202B_202E_200F_202C_206F_206C_206A_200F_200F_206D_200E_206C_202C_206A_206F_200C_202E(stringBuilder, '}'); + return _200C_206F_202B_206F_206D_202B_202B_202A_202C_206F_200B_202D_206E_200C_206A_206A_202D_200D_202E_206F_206F_202E_202A_202A_206F_206B_206C_200D_206E_200C_202D_202E_202B_206B_200F_202C_206F_202B_202E_206E_202E((object?)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_206E_202D_202B_200D_206D_202B_206D_200E_206D_206C_202E_200E_206D_200C_200E_206D_202E_206E_200E_202E_200B_200F_206A_202E_206F_202A_202C_200F_206A_206A_202B_206F_202D_202A_202D_200F_202A_206A_206D_202E(); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(514129598)); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, RowId.ToString()); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(-350069621)); + _202B_206E_202A_206C_206E_202D_206E_200C_206F_200C_206F_206E_206D_202D_206D_202D_202E_202E_202A_206A_206F_206B_202A_206A_200E_200E_206B_206D_200E_202E_206E_200D_202D_206F_206F_200D_202E_206D_202C_206D_202E(builder, (object?)Name); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(-1584832933)); + _202B_206E_202A_206C_206E_202D_206E_200C_206F_200C_206F_206E_206D_202D_206D_202D_202E_202E_202A_206A_206F_206B_202A_206A_200E_200E_206B_206D_200E_202E_206E_200D_202D_206F_206F_200D_202E_206D_202C_206D_202E(builder, (object?)Question); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(-894729286)); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, SourceTerritoryId.ToString()); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(6170393)); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, SourcePosition.ToString()); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(995075649)); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, NpcDataId.ToString()); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(1189830150)); + _202B_206E_202A_206C_206E_202D_206E_200C_206F_200C_206F_206E_206D_202D_206D_202D_202E_202E_202A_206A_206F_206B_202A_206A_200E_200E_206B_206D_200E_202E_206E_200D_202D_206F_206F_200D_202E_206D_202C_206D_202E(builder, (object?)NpcName); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(1613414786)); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, DestTerritoryId.ToString()); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(526349895)); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, DestPosition.ToString()); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(353108370)); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, GilCost.ToString()); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(1935506742)); + _202B_206E_202A_206C_206E_202D_206E_200C_206F_200C_206F_206E_206D_202D_206D_202D_202E_202E_202A_206A_206F_206B_202A_206A_200E_200E_206B_206D_200E_202E_206E_200D_202D_206F_206F_200D_202E_206D_202C_206D_202E(builder, (object?)RequiredQuestIds); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(-1563123768)); + _202B_206E_202A_206C_206E_202D_206E_200C_206F_200C_206F_206E_206D_202D_206D_202D_202E_202E_202A_206A_206F_206B_202A_206A_200E_200E_206B_206D_200E_202E_206E_200D_202D_206F_206F_200D_202E_206D_202C_206D_202E(builder, (object?)AvailableDuringMsqIds); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(1694220309)); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, RequiredClassLevel.ToString()); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(1760540087)); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, DerivedSource.ToString()); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(219114932)); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, RequireAllQuests.ToString()); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._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(1955470053)); + _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, DerivedArrival.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(WarpInfo? other) + { + int num = (((object)this == other) ? (-469766671) : (-469766678)); + while (true) + { + int num2 = num; + int num3 = -469766688; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = ((!EqualityComparer.Default.Equals(RequiredQuestIds, other.RequiredQuestIds)) ? (-469766669) : (-469766672)); + break; + case 12: + num = ((!EqualityComparer.Default.Equals(Name, other.Name)) ? (-469766669) : (-469766679)); + break; + case 9: + num = ((!EqualityComparer.Default.Equals(Question, other.Question)) ? (-469766669) : (-469766674)); + break; + case 6: + return EqualityComparer.Default.Equals(DerivedArrival, other.DerivedArrival); + case 17: + return true; + case 0: + num = ((!EqualityComparer.Default.Equals(SourcePosition, other.SourcePosition)) ? (-469766669) : (-469766673)); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(DestTerritoryId, other.DestTerritoryId)) ? (-469766669) : (-469766685)); + break; + case 18: + num = ((!EqualityComparer.Default.Equals(RowId, other.RowId)) ? (-469766669) : (-469766676)); + break; + case 16: + num = ((!EqualityComparer.Default.Equals(AvailableDuringMsqIds, other.AvailableDuringMsqIds)) ? (-469766669) : (-469766687)); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(RequireAllQuests, other.RequireAllQuests)) ? (-469766669) : (-469766682)); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(DestPosition, other.DestPosition)) ? (-469766669) : (-469766681)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(RequiredClassLevel, other.RequiredClassLevel)) ? (-469766669) : (-469766668)); + break; + case 19: + return false; + case 13: + num = -469766678; + break; + case 7: + num = ((!EqualityComparer.Default.Equals(GilCost, other.GilCost)) ? (-469766669) : (-469766684)); + break; + case 11: + num = ((!_206A_200D_202A_200D_206F_206F_202B_206D_200E_202E_206D_206C_200D_202C_202A_200C_200D_202B_206A_200F_206C_206E_202E_206D_202B_206C_200F_200F_202E_202B_200D_202E_206B_206A_206A_200B_202C_200C_202D_206F_202E(EqualityContract, other.EqualityContract)) ? (-469766669) : (-469766670)); + break; + case 14: + num = ((!EqualityComparer.Default.Equals(SourceTerritoryId, other.SourceTerritoryId)) ? (-469766669) : (-469766688)); + break; + case 20: + num = ((!EqualityComparer.Default.Equals(DerivedSource, other.DerivedSource)) ? (-469766669) : (-469766683)); + break; + case 15: + num = ((!EqualityComparer.Default.Equals(NpcDataId, other.NpcDataId)) ? (-469766669) : (-469766686)); + break; + case 10: + num = (((object)other == null) ? (-469766669) : (-469766677)); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(NpcName, other.NpcName)) ? (-469766669) : (-469766680)); + break; + } + } + } + + bool IEquatable.Equals(WarpInfo? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _202B_202D_202D_202E_202C_206A_206C_206C_202D_200E_206F_202A_206B_206C_206F_202A_202E_200D_202D_200E_202B_200F_200C_206A_200E_200F_202D_206F_206A_206C_206F_206E_202E_200E_202A_202C_202C_202C_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder? _206C_200F_200E_202B_202B_206C_206F_206D_200D_206F_206F_202B_202B_202D_202E_202C_202D_202A_206F_200C_202D_206B_202A_200F_206C_206E_200B_202B_200B_202C_202E_200C_206C_200E_200B_202D_200D_202C_206D_206F_202E() + { + return new StringBuilder(); + } + + static StringBuilder? _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _202B_206B_202B_206F_202A_202A_202B_202E_206C_202C_206E_202D_202D_200D_200C_200D_202B_202B_202E_202A_206A_202A_206B_206C_202B_202E_200F_202C_206F_206C_206A_200F_200F_206D_200E_206C_202C_206A_206F_200C_202E(StringBuilder? P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string? _200C_206F_202B_206F_206D_202B_202B_202A_202C_206F_200B_202D_206E_200C_206A_206A_202D_200D_202E_206F_206F_202E_202A_202A_206F_206B_206C_200D_206E_200C_202D_202E_202B_206B_200F_202C_206F_202B_202E_206E_202E(object? P_0) + { + return P_0.ToString(); + } + + static void _202E_206E_202D_202B_200D_206D_202B_206D_200E_206D_206C_202E_200E_206D_200C_200E_206D_202E_206E_200E_202E_200B_200F_206A_202E_206F_202A_202C_200F_206A_206A_202B_206F_202D_202A_202D_200F_202A_206A_206D_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder? _202B_206E_202A_206C_206E_202D_206E_200C_206F_200C_206F_206E_206D_202D_206D_202D_202E_202E_202A_206A_206F_206B_202A_206A_200E_200E_206B_206D_200E_202E_206E_200D_202D_206F_206F_200D_202E_206D_202C_206D_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _206A_200D_202A_200D_206F_206F_202B_206D_200E_202E_206D_206C_200D_202C_202A_200C_200D_202B_206A_200F_206C_206E_202E_206D_202B_206C_200F_200F_202E_202B_200D_202E_206B_206A_206A_200B_202C_200C_202D_206F_202E(Type? P_0, Type? P_1) + { + return P_0 == P_1; + } + } + + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass39_0 + { + public ExcelSheet arrayEventHandlers; + + public IDataManager dataManager; + + public ExcelSheet levelSheet; + + internal IEnumerable? _003CBuildSnapshot_003Eb__4(uint handlerId) + { + ArrayEventHandler? rowOrDefault = arrayEventHandlers.GetRowOrDefault(handlerId); + int num = (rowOrDefault.HasValue ? (-2031263627) : (-2031263628)); + while (true) + { + int num2 = num; + int num3 = -2031263627; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return (from x in rowOrDefault.GetValueOrDefault().Data + where x.RowId != 0 + select x.RowId).ToList(); + case 1: + return null; + case 2: + goto IL_00c3; + } + continue; + IL_00c3: + num = -2031263628; + } + } + + internal (ushort TerritoryId, Vector3 Position)? _003CBuildSnapshot_003Eb__6(uint popId) + { + Level? rowOrDefault = levelSheet.GetRowOrDefault(popId); + int num = (rowOrDefault.HasValue ? (-1803587058) : (-1803587059)); + while (true) + { + int num2 = num; + int num3 = -1803587060; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + return ((ushort)rowOrDefault.Value.Territory.RowId, new Vector3(rowOrDefault.Value.X, rowOrDefault.Value.Y, rowOrDefault.Value.Z)); + case 1: + return null; + case 0: + goto IL_00bc; + } + continue; + IL_00bc: + num = -1803587059; + } + } + + static bool _202E_202A_206E_202C_206B_206A_202E_202D_206D_206C_200F_206B_200E_202D_202E_206D_200C_206D_206E_202D_200E_206A_206E_200B_206C_206E_200F_200E_200C_200E_206E_200F_200C_206C_206B_206D_206A_206E_200E_206D_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + } + + 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 = _202E_200E_206C_202E_202C_200E_202B_202D_206B_206E_202C_200F_200E_200D_206A_206F_200B_206E_200E_206C_202D_206E_206D_206A_202B_200D_206F_200D_200E_206C_202C_206E_202E_202A_206E_200D_206C_202B_202A_200D_202E(); + + 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() + { + int num = ((_npcPositionCache != null) ? 690668671 : 690668670); + while (true) + { + int num2 = num; + int num3 = 690668671; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_004c; + case 1: + return false; + case 0: + { + object applyLock = _applyLock; + bool flag = false; + try + { + _200F_206E_200B_206B_202A_202C_200B_206E_206B_200F_200E_202E_200D_206C_200D_206D_202C_200F_206D_200B_200F_202E_202A_200B_206D_200D_202C_202A_206B_202C_200F_200D_202B_202D_200F_202D_202B_202C_206F_202E_202E(applyLock, ref flag); + num = ((!_current.DerivedSourcesPending) ? (-1198875736) : (-1198875733)); + while (true) + { + int num5 = num; + num3 = -1198875735; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 3: + num = -1198875733; + break; + case 2: + num = (_202B_200B_206B_200C_200D_202A_206B_202A_206A_200C_206C_206A_200C_200F_206E_200F_200E_206D_202A_202D_202E_202E_200C_200D_200B_200E_206B_206B_206B_200B_200E_202C_206C_202B_206C_202B_200F_200E_202B_202D_202E(_npcPositionCache) ? (-1198875735) : (-1198875736)); + break; + case 1: + return false; + case 0: + _current = BuildSnapshot(); + return true; + } + } + } + finally + { + num = ((!flag) ? (-242398341) : (-242398344)); + while (true) + { + int num8 = num; + num3 = -242398343; + num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -242398344; + break; + case 1: + _206B_202E_206F_200C_200F_206D_202A_206E_206E_206D_202D_200C_200F_206A_200B_202C_202E_206E_206C_202E_206F_200B_206B_206F_200E_206A_206A_200D_202E_206C_202C_200F_200B_206E_200E_200B_202D_202B_200F_202E(applyLock); + num = -242398341; + break; + case 2: + goto end_IL_0137; + } + continue; + end_IL_0137: + break; + } + } + } + } + continue; + IL_004c: + num = 690668670; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private Snapshot BuildSnapshot() + { + IDataManager dataManager = _dataManager; + SmartNavDataOptions dataOptions = _dataOptions; + NpcPositionCache npcPositionCache = _npcPositionCache; + ILogger logger = _logger; + bool flag = _202B_200B_206B_200C_200D_202A_206B_202A_206A_200C_206C_206A_200C_200F_206E_200F_200E_206D_202A_202D_202E_202E_200C_200D_200B_200E_206B_206B_206B_200B_200E_202C_206C_202B_206C_202B_200F_200E_202B_202D_202E(npcPositionCache); + int num = (flag ? (-539051135) : (-539051134)); + object obj; + while (true) + { + int num2 = num; + int num3 = -539051136; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 0: + goto IL_007a; + case 2: + obj = (Func)((uint _) => ((ushort TerritoryId, Vector3 Position, bool FestivalOnly)?)null); + break; + case 1: + obj = new Func(npcPositionCache.TryGetPlacement); + break; + } + break; + IL_007a: + num = -539051134; + } + Func getPlacement = (Func)obj; + List list = new List(); + HashSet hashSet = new HashSet(); + DirectoryInfo? devSourceDirectory = dataOptions.DevSourceDirectory; + (IReadOnlyList, IReadOnlyDictionary) tuple = _206E_202B_202A_200D_206D_202D_202B_202C_200B_200E_202C_200C_206B_202D_202D_202C_202A_202B_200D_206B_202E_200B_202B_206F_206E_206A_202B_200C_202A_202C_200D_200B_206F_202B_206C_202C_200B_206F_200E_206B_202E((devSourceDirectory != null) ? _202B_206F_206A_200E_200C_202E_202D_202C_200F_202C_202C_206E_200C_206C_206A_206D_206B_200F_206E_200B_202E_206C_200C_200B_202A_200F_206A_200F_202D_206E_202E_202E_206A_206F_202E_200B_202A_206F_202B_206A_202E((FileSystemInfo)devSourceDirectory) : null); + IReadOnlyList item = tuple.Item1; + IReadOnlyDictionary item2 = tuple.Item2; + IEnumerator enumerator = item.GetEnumerator(); + try + { + num = 1091070719; + while (true) + { + int num5 = num; + int num3 = 1091070718; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = 1091070719; + break; + case 2: + { + uint current = enumerator.Current; + hashSet.Add(current); + num = 1091070719; + break; + } + case 1: + num = (_200B_206F_206C_202E_202E_202D_200E_202C_206B_206D_202C_200B_206E_200D_200D_206B_200D_202A_206D_200B_206F_202D_200F_202B_202B_202D_202A_206B_206B_200B_200C_202D_200F_206A_202C_206B_206C_206C_206E_202D_202E((IEnumerator)enumerator) ? 1091070716 : 1091070717); + break; + case 3: + goto end_IL_0116; + } + continue; + end_IL_0116: + break; + } + } + finally + { + num = ((enumerator == null) ? 866852118 : 866852117); + while (true) + { + int num8 = num; + int num3 = 866852119; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 866852117; + break; + case 2: + _200B_200D_202B_202C_200D_206D_206C_200F_202C_200F_200D_200F_206B_202E_202C_206F_206A_200C_206B_202D_206F_202B_206E_206E_200E_206F_200C_202E_200E_200B_206A_202C_206C_206D_200F_206B_200B_202A_202E_200F_202E((IDisposable)enumerator); + num = 866852118; + break; + case 1: + goto end_IL_01bb; + } + continue; + end_IL_01bb: + break; + } + } + IEnumerator> enumerator2 = item2.GetEnumerator(); + WarpDestinationEntry value; + try + { + num = -296082524; + while (true) + { + int num9 = num; + int num3 = -296082521; + int num4 = num9; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = (_200B_206F_206C_202E_202E_202D_200E_202C_206B_206D_202C_200B_206E_200D_200D_206B_200D_202A_206D_200B_206F_202D_200F_202B_202B_202D_202A_206B_206B_200B_200C_202D_200F_206A_202C_206B_206C_206C_206E_202D_202E((IEnumerator)enumerator2) ? (-296082522) : (-296082521)); + break; + case 1: + { + enumerator2.Current.Deconstruct(out var _, out value); + WarpDestinationEntry item3 = value; + list.Add(item3); + num = -296082524; + break; + } + case 2: + num = -296082524; + break; + case 0: + goto end_IL_021c; + } + continue; + end_IL_021c: + break; + } + } + finally + { + num = ((enumerator2 == null) ? 208700910 : 208700909); + while (true) + { + int num10 = num; + int num3 = 208700911; + int num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 0: + num = 208700909; + break; + case 2: + _200B_200D_202B_202C_200D_206D_206C_200F_202C_200F_200D_200F_206B_202E_202C_206F_206A_200C_206B_202D_206F_202B_206E_206E_200E_206F_200C_202E_200E_200B_206A_202C_206C_206D_200F_206B_200B_202A_202E_200F_202E((IDisposable)enumerator2); + num = 208700910; + break; + case 1: + goto end_IL_02cd; + } + continue; + end_IL_02cd: + break; + } + } + num = ((dataOptions.UserOverrideDirectory == null) ? (-616875928) : (-616875925)); + uint? num17 = default(uint?); + WarpDestinationEntry current2 = default(WarpDestinationEntry); + WarpDestinationEntry current3 = default(WarpDestinationEntry); + ExcelSheet arrayEventHandlers; + Warp current6 = default(Warp); + ushort num35 = default(ushort); + ushort num40 = default(ushort); + Vector3 sourcePosition = default(Vector3); + uint? npcDataId = default(uint?); + string npcName = default(string); + WarpDestinationEntry warpDestinationEntry = default(WarpDestinationEntry); + bool derivedSource = default(bool); + List list2 = default(List); + WarpCondition? valueNullable = default(WarpCondition?); + List<(uint, ushort, Vector3)> list3 = default(List<(uint, ushort, Vector3)>); + string text = default(string); + string text2 = default(string); + bool requireAllQuests = default(bool); + int gilCost = default(int); + ushort requiredClassLevel = default(ushort); + ETerritoryIntendedUse value4 = default(ETerritoryIntendedUse); + ExcelSheet levelSheet; + uint num46 = default(uint); + WarpInfo warpInfo = default(WarpInfo); + Vector3? destPosition = default(Vector3?); + uint[] array = default(uint[]); + WarpDestinationEntry warpDestinationEntry2 = default(WarpDestinationEntry); + Vector3? vector = default(Vector3?); + bool derivedArrival = default(bool); + WarpDestinationEntry value8 = default(WarpDestinationEntry); + WarpDestinationEntry value7 = default(WarpDestinationEntry); + uint value6 = default(uint); + WarpInfo warpInfo4 = default(WarpInfo); + (uint, uint) item4 = default((uint, uint)); + WarpInfo warpInfo3 = default(WarpInfo); + WarpDestinationEntry warpDestinationEntry3 = default(WarpDestinationEntry); + List list5 = default(List); + (uint, ushort, Vector3) current7 = default((uint, ushort, Vector3)); + ETerritoryIntendedUse value11 = default(ETerritoryIntendedUse); + while (true) + { + int num13 = num; + int num3 = -616875927; + int num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 0: + num = -616875925; + break; + case 2: + LoadWarpOverridesFrom(_206B_206F_200C_206F_206C_202D_202A_206D_200D_206E_202D_206F_200F_206D_202A_202C_200E_200C_200B_202D_206D_202B_200B_200E_200F_200F_200C_200E_206D_202B_202B_206A_200F_200B_202A_202B_206E_202E_206A_206E_202E(_202B_206F_206A_200E_200C_202E_202D_202C_200F_202C_202C_206E_200C_206C_206A_206D_206B_200F_206E_200B_202E_206C_200C_200B_202A_200F_206A_200F_202D_206E_202E_202E_206A_206F_202E_200B_202A_206F_202B_206A_202E((FileSystemInfo)dataOptions.UserOverrideDirectory), global::_003CModule_003E._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(-1598187262)), list, hashSet); + num = -616875928; + break; + case 1: + { + Dictionary<(uint, uint), WarpDestinationEntry> dictionary = new Dictionary<(uint, uint), WarpDestinationEntry>(); + Dictionary dictionary2 = new Dictionary(); + using (List.Enumerator enumerator3 = list.GetEnumerator()) + { + num = 1236181802; + while (true) + { + int num16 = num; + num3 = 1236181801; + num4 = num16; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + { + uint valueOrDefault = num17.GetValueOrDefault(); + dictionary[(_206F_200B_200D_200C_202D_202B_200C_202A_202B_200C_200C_206F_206F_202D_200E_206B_200D_206B_200D_202B_206E_200F_202E_202E_200B_200F_200D_200C_200C_206B_200C_202A_202B_202A_202A_206E_206E_202D_202C_200D_202E(current2), valueOrDefault)] = current2; + num = 1236181802; + break; + } + case 2: + dictionary2[_206F_200B_200D_200C_202D_202B_200C_202A_202B_200C_200C_206F_206F_202D_200E_206B_200D_206B_200D_202B_206E_200F_202E_202E_200B_200F_200D_200C_200C_206B_200C_202A_202B_202A_202A_206E_206E_202D_202C_200D_202E(current2)] = current2; + num = 1236181802; + break; + case 3: + num = (enumerator3.MoveNext() ? 1236181804 : 1236181800); + break; + case 5: + current2 = enumerator3.Current; + num17 = _202B_206D_206C_206C_206E_200F_202E_206D_200E_200C_206E_206A_200D_200E_206A_200C_206E_202C_206A_200E_202B_202C_200B_202B_206E_206D_202C_206F_202D_202A_206F_206A_206F_206A_200B_206B_202A_206C_200E_200C_202E(current2); + num = ((!num17.HasValue) ? 1236181803 : 1236181805); + break; + case 0: + num = 1236181802; + break; + case 1: + goto end_IL_03ca; + } + continue; + end_IL_03ca: + break; + } + } + HashSet hashSet2 = new HashSet(); + using (List.Enumerator enumerator3 = list.GetEnumerator()) + { + num = 2031466588; + while (true) + { + int num18 = num; + num3 = 2031466586; + num4 = num18; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + hashSet2.Add(_206F_206B_200F_206C_202C_202C_200C_206F_206A_202A_206F_206E_206D_206D_206B_206F_206D_202D_200E_202B_200D_206D_200B_200F_206A_202A_206C_206C_200D_206C_202A_202D_206F_202D_200E_202A_206D_202C_202C_202E_202E(current3)); + num = 2031466588; + break; + case 6: + num = (enumerator3.MoveNext() ? 2031466584 : 2031466590); + break; + case 3: + num = ((_206F_206B_200F_206C_202C_202C_200C_206F_206A_202A_206F_206E_206D_206D_206B_206F_206D_202D_200E_202B_200D_206D_200B_200F_206A_202A_206C_206C_200D_206C_202A_202D_206F_202D_200E_202A_206D_202C_202C_202E_202E(current3) <= 0) ? 2031466588 : 2031466586); + break; + case 2: + current3 = enumerator3.Current; + num = ((_206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(current3) <= 0) ? 2031466585 : 2031466587); + break; + case 5: + num = 2031466588; + break; + case 1: + hashSet2.Add(_206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(current3)); + num = 2031466585; + break; + case 4: + goto end_IL_04df; + } + continue; + end_IL_04df: + break; + } + } + 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; + arrayEventHandlers = dataManager.GetExcelSheet(); + Func> arrayMemberLookup = delegate(uint handlerId) + { + ArrayEventHandler? rowOrDefault = arrayEventHandlers.GetRowOrDefault(handlerId); + int num60 = (rowOrDefault.HasValue ? (-2031263627) : (-2031263628)); + while (true) + { + int num61 = num60; + int num62 = -2031263627; + int num63 = num61; + int num64 = num63 + num62; + int num65 = num63 & num62; + switch (num64 - (num65 + num65)) + { + case 0: + return (from x in rowOrDefault.GetValueOrDefault().Data + where x.RowId != 0 + select x.RowId).ToList(); + case 1: + return (IEnumerable?)null; + case 2: + goto IL_00c3; + } + continue; + IL_00c3: + num60 = -2031263628; + } + }; + foreach (ENpcBase item6 in dataManager.GetExcelSheet()) + { + using Collection.Enumerator enumerator5 = item6.ENpcData.GetEnumerator(); + num = 1868823740; + while (true) + { + int num19 = num; + num3 = 1868823740; + num4 = num19; + int num20 = num4 + num3; + int num21 = num4 & num3; + switch (num20 - (num21 + num21)) + { + case 0: + num = (enumerator5.MoveNext() ? 1868823741 : 1868823743); + break; + case 1: + AddWarpFronter(dictionary4, enumerator5.Current.RowId, item6.RowId, arrayMemberLookup, ref nestedArraysSkipped); + num = 1868823740; + break; + case 2: + num = 1868823740; + break; + case 3: + goto end_IL_06ec; + } + continue; + end_IL_06ec: + break; + } + } + using (ExcelSheet.Enumerator enumerator6 = dataManager.GetExcelSheet().GetEnumerator()) + { + num = 1015784097; + while (true) + { + int num22 = num; + num3 = 1015784097; + num4 = num22; + int num23 = num4 + num3; + int num24 = num4 & num3; + switch (num23 - (num24 + num24)) + { + case 0: + num = (enumerator6.MoveNext() ? 1015784096 : 1015784098); + break; + case 1: + { + EObj current5 = enumerator6.Current; + AddWarpFronter(dictionary4, current5.Data.RowId, current5.RowId, arrayMemberLookup, ref nestedArraysSkipped); + num = 1015784097; + break; + } + case 2: + num = 1015784097; + break; + case 3: + goto end_IL_07d7; + } + continue; + end_IL_07d7: + break; + } + } + num = ((nestedArraysSkipped <= 0) ? (-762848955) : (-762848956)); + while (true) + { + int num25 = num; + num3 = -762848955; + num4 = num25; + int num26 = num4 + num3; + int num27 = num4 & num3; + switch (num26 - (num27 + num27)) + { + case 2: + num = -762848956; + break; + case 1: + _206E_202D_202C_200E_200B_206C_206F_202C_206A_202A_202E_200B_206B_200B_200C_206C_202E_200C_202D_206B_206F_202A_206F_202C_200C_200E_200B_200D_206B_200B_206E_206E_206B_206A_202A_206E_202E_202B_202C_206F_202E((ILogger)logger, global::_003CModule_003E._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(-1287740097), new object[1] { nestedArraysSkipped }); + num = -762848955; + break; + case 0: + { + Dictionary dictionary5 = new Dictionary(); + Dictionary dictionary6 = new Dictionary(); + Dictionary> dictionary7 = new Dictionary>(); + int num28 = 0; + int num29 = 0; + int num30 = 0; + int num31 = 0; + IEnumerator enumerator7 = (from x in dataManager.GetExcelSheet() + where x.RowId != 0 + select x).GetEnumerator(); + (uint, uint) key2; + try + { + while (true) + { + IL_0c47: + if (_200B_206F_206C_202E_202E_202D_200E_202C_206B_206D_202C_200B_206E_200D_200D_206B_200D_202A_206D_200B_206F_202D_200F_202B_202B_202D_202A_206B_206B_200B_200C_202D_200F_206A_202C_206B_206C_206C_206E_202D_202E((IEnumerator)enumerator7)) + { + current6 = enumerator7.Current; + int num32 = num28; + num3 = 1; + num4 = num32; + int num33 = num4 ^ num3; + int num34 = num4 & num3; + num28 = num33 + (num34 + num34); + num35 = (ushort)current6.TerritoryType.RowId; + if (num35 == 0) + { + int num36 = num29; + num3 = 1; + num4 = num36; + num29 = (num4 | num3) + (num4 & num3); + continue; + } + if (dictionary3.TryGetValue(num35, out var value2) && NonNavigableIntendedUses.Contains(value2) && !hashSet2.Contains(num35)) + { + int num37 = num31; + num3 = 1; + num4 = num37; + int num38 = num4 ^ num3; + int num39 = num4 & num3; + num31 = num38 + (num39 + num39); + continue; + } + dictionary6[current6.RowId] = current6.PopRange.RowId; + num40 = 0; + sourcePosition = Vector3.Zero; + npcDataId = null; + npcName = null; + if (dictionary2.TryGetValue(current6.RowId, out var value3)) + { + num40 = _206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(value3); + sourcePosition = _200F_202B_200E_200C_206A_202E_206D_206B_200B_200C_206C_206E_202A_200F_200E_200F_200B_202B_200B_206F_200E_202D_202C_206C_200E_202E_206C_202C_200B_200C_206F_206C_206D_202B_206E_206B_206D_200D_206B_202B_202E(value3); + npcDataId = _202B_206D_206C_206C_206E_200F_202E_206D_200E_200C_206E_206A_200D_200E_206A_200C_206E_202C_206A_200E_202B_202C_200B_202B_206E_206D_202C_206F_202D_202A_206F_206A_206F_206A_200B_206B_202A_206C_200E_200C_202E(value3); + } + if (num40 == 0) + { + using Dictionary<(uint, uint), WarpDestinationEntry>.Enumerator enumerator8 = dictionary.GetEnumerator(); + num = -1191632534; + while (true) + { + int num41 = num; + num3 = -1191632533; + num4 = num41; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = -1191632534; + break; + case 0: + num40 = _206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(warpDestinationEntry); + sourcePosition = _200F_202B_200E_200C_206A_202E_206D_206B_200B_200C_206C_206E_202A_200F_200E_200F_200B_202B_200B_206F_200E_202D_202C_206C_200E_202E_206C_202C_200B_200C_206F_206C_206D_202B_206E_206B_206D_200D_206B_202B_202E(warpDestinationEntry); + npcDataId = _202B_206D_206C_206C_206E_200F_202E_206D_200E_200C_206E_206A_200D_200E_206A_200C_206E_202C_206A_200E_202B_202C_200B_202B_206E_206D_202C_206F_202D_202A_206F_206A_206F_206A_200B_206B_202A_206C_200E_200C_202E(warpDestinationEntry); + goto end_IL_0a8e; + case 2: + { + enumerator8.Current.Deconstruct(out key2, out value); + (uint, uint) tuple2 = key2; + warpDestinationEntry = value; + num = ((tuple2.Item1 != current6.RowId) ? (-1191632534) : (-1191632529)); + break; + } + case 1: + num = (enumerator8.MoveNext() ? (-1191632535) : (-1191632536)); + break; + case 4: + num = ((_206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(warpDestinationEntry) <= 0) ? (-1191632534) : (-1191632533)); + break; + case 3: + goto end_IL_0a8e; + } + continue; + end_IL_0a8e: + break; + } + } + derivedSource = false; + num = ((num40 != 0) ? (-788834391) : (-788834390)); + } + else + { + num = -788834381; + } + while (true) + { + int num42 = num; + num3 = -788834371; + num4 = num42; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 1: + break; + case 25: + list2.Add(valueNullable.Value.RequiredQuest4.RowId); + num = -788834383; + continue; + case 23: + list3 = ResolveDerivedSources(current6.RowId, dictionary4, getPlacement); + num = ((list3.Count <= 0) ? (-788834391) : (-788834370)); + continue; + case 7: + text = current6.Name.ExtractText(); + num = ((!_206A_202D_200C_206F_206A_206C_206C_202B_206C_200E_206A_200E_206A_200C_206E_206C_200F_206F_202A_206E_202B_200D_206F_206F_200B_206A_206B_200D_200B_202C_206A_202C_202E_206A_206D_202E_206A_200E_206C_202A_202E(text)) ? (-788834369) : (-788834392)); + continue; + case 16: + num = ((valueNullable.Value.RequiredQuest4.RowId == 0) ? (-788834383) : (-788834396)); + continue; + case 20: + num = ((num40 <= 0) ? (-788834385) : (-788834379)); + continue; + case 10: + text2 = null; + num = -788834376; + continue; + case 17: + num = ((valueNullable.Value.RequiredQuest2.RowId == 0) ? (-788834386) : (-788834380)); + continue; + case 12: + requireAllQuests = valueNullable.Value.CompleteParam == 1; + num = -788834374; + continue; + case 9: + list2.Add(valueNullable.Value.RequiredQuest2.RowId); + num = -788834386; + continue; + case 6: + num = -788834390; + continue; + case 2: + text2 = current6.Question.ExtractText(); + num = ((!_206A_202D_200C_206F_206A_206C_206C_202B_206C_200E_206A_200E_206A_200C_206E_206C_200F_206F_202A_206E_202B_200D_206F_206F_200B_206A_206B_200D_200B_202C_206A_202C_202E_206A_206D_202E_206A_200E_206C_202A_202E(text2)) ? (-788834376) : (-788834377)); + continue; + case 18: + gilCost = 0; + requiredClassLevel = 0; + list2 = new List(); + requireAllQuests = true; + valueNullable = current6.WarpCondition.ValueNullable; + num = ((!valueNullable.HasValue) ? (-788834374) : (-788834395)); + continue; + case 21: + text = null; + num = -788834369; + continue; + case 4: + num = ((!NonNavigableIntendedUses.Contains(value4)) ? (-788834385) : (-788834378)); + continue; + case 3: + { + (uint, ushort, Vector3) tuple3 = list3[0]; + num40 = tuple3.Item2; + sourcePosition = tuple3.Item3; + npcDataId = tuple3.Item1; + npcName = ResolveObjectName(tuple3.Item1); + derivedSource = true; + num = ((list3.Count <= 1) ? (-788834391) : (-788834371)); + continue; + } + case 8: + num = ((!dictionary3.TryGetValue(num40, out value4)) ? (-788834385) : (-788834375)); + continue; + case 13: + list2.Add(valueNullable.Value.RequiredQuest1.RowId); + num = -788834388; + continue; + case 24: + gilCost = valueNullable.Value.Gil; + requiredClassLevel = valueNullable.Value.ClassLevel; + num = ((valueNullable.Value.RequiredQuest1.RowId == 0) ? (-788834388) : (-788834384)); + continue; + case 19: + num = ((valueNullable.Value.RequiredQuest3.RowId == 0) ? (-788834387) : (-788834382)); + continue; + case 22: + { + int num43 = num30; + num3 = 1; + num4 = num43; + num30 = (num4 | num3) + (num4 & num3); + num = -788834372; + continue; + } + case 15: + list2.Add(valueNullable.Value.RequiredQuest3.RowId); + num = -788834387; + continue; + case 0: + dictionary7[current6.RowId] = list3; + num = -788834391; + continue; + case 11: + num = (hashSet2.Contains(num40) ? (-788834385) : (-788834389)); + continue; + case 5: + dictionary5[current6.RowId] = new WarpInfo(current6.RowId, text, text2, num40, sourcePosition, npcDataId, npcName, num35, null, gilCost, list2.ToArray(), null, requiredClassLevel, derivedSource, requireAllQuests); + num = -788834372; + continue; + case 14: + goto end_IL_0bbf; + } + goto IL_0c47; + continue; + end_IL_0bbf: + break; + } + break; + } + } + finally + { + num = ((enumerator7 == null) ? (-2087080931) : (-2087080930)); + while (true) + { + int num44 = num; + num3 = -2087080932; + num4 = num44; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -2087080930; + break; + case 1: + goto end_IL_10ea; + case 2: + _200B_200D_202B_202C_200D_206D_206C_200F_202C_200F_200D_200F_206B_202E_202C_206F_206A_200C_206B_202D_206F_202B_206E_206E_200E_206F_200C_202E_200E_200B_206A_202C_206C_206D_200F_206B_200B_202A_202E_200F_202E((IDisposable)enumerator7); + num = -2087080931; + break; + } + continue; + end_IL_10ea: + break; + } + } + List list4 = new List(); + Dictionary dictionary8 = new Dictionary(); + HashSet<(uint, uint)> hashSet3 = new HashSet<(uint, uint)>(); + levelSheet = dataManager.GetExcelSheet(); + Func levelLookup = delegate(uint popId) + { + Level? rowOrDefault = levelSheet.GetRowOrDefault(popId); + int num60 = (rowOrDefault.HasValue ? (-1803587058) : (-1803587059)); + while (true) + { + int num61 = num60; + int num62 = -1803587060; + int num63 = num61; + switch ((num63 | num62) - (num63 & num62)) + { + case 2: + return ((ushort)rowOrDefault.Value.Territory.RowId, new Vector3(rowOrDefault.Value.X, rowOrDefault.Value.Y, rowOrDefault.Value.Z)); + case 1: + return ((ushort TerritoryId, Vector3 Position)?)null; + case 0: + goto IL_00bc; + } + continue; + IL_00bc: + num60 = -1803587059; + } + }; + DirectoryInfo? devSourceDirectory2 = dataOptions.DevSourceDirectory; + DerivedArrivalFile derivedArrivalFile = _200E_202D_206A_202D_206A_206C_206F_206B_200F_200C_202E_200F_200B_200C_206A_206F_206C_200E_202C_206B_206C_200B_206A_200F_206B_202B_202D_200B_206A_200F_206A_202E_202D_202A_202C_200B_202B_200D_200B_206E_202E((devSourceDirectory2 != null) ? _202B_206F_206A_200E_200C_202E_202D_202C_200F_202C_202C_206E_200C_206C_206A_206D_206B_200F_206E_200B_202E_206C_200C_200B_202A_200F_206A_200F_202D_206E_202E_202E_206A_206F_202E_200B_202A_206F_202B_206A_202E((FileSystemInfo)devSourceDirectory2) : null); + num = (_206A_202D_200C_206F_206A_206C_206C_202B_206C_200E_206A_200E_206A_200C_206E_206C_200F_206F_202A_206E_202B_200D_206F_206F_200B_206A_206B_200D_200B_202C_206A_202C_202E_206A_206D_202E_206A_200E_206C_202A_202E(_202D_202B_200E_200C_200F_200C_206F_206D_206D_206C_206E_200F_200B_200C_206F_202B_206E_202A_202B_206E_206E_206F_202E_200C_206C_200E_206B_202E_200F_202B_206A_200F_200E_206D_206D_200D_200E_206C_202A_200C_202E(derivedArrivalFile)) ? (-1202914817) : (-1202914824)); + while (true) + { + int num45 = num; + num3 = -1202914820; + num4 = num45; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _206E_202D_202C_200E_200B_206C_206F_202C_206A_202A_202E_200B_206B_200B_200C_206C_202E_200C_202D_206B_206F_202A_206F_202C_200C_200E_200B_200D_206B_200B_206E_206E_206B_206A_202A_206E_202E_202B_202C_206F_202E((ILogger)logger, global::_003CModule_003E._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(-174820420), new object[2] + { + _202D_202B_200E_200C_200F_200C_206F_206D_206D_206C_206E_200F_200B_200C_206F_202B_206E_202A_202B_206E_206E_206F_202E_200C_206C_200E_206B_202E_200F_202B_206A_200F_200E_206D_206D_200D_200E_206C_202A_200C_202E(derivedArrivalFile), + dataOptions.GameVersion + }); + num = -1202914817; + break; + case 4: + num = (_206A_202D_200C_206F_206A_206C_206C_202B_206C_200E_206A_200E_206A_200C_206E_206C_200F_206F_202A_206E_202B_200D_206F_206F_200B_206A_206B_200D_200B_202C_206A_202C_202E_206A_206D_202E_206A_200E_206C_202A_202E(dataOptions.GameVersion) ? (-1202914817) : (-1202914819)); + break; + case 1: + num = ((!_202A_206C_206D_206F_200B_202C_202E_200C_206E_206C_202E_202C_200F_200F_202A_202A_206F_200E_200D_202C_202A_200E_202E_202D_206B_202A_200C_202E_206F_206F_200C_206C_206D_206D_202E_206F_206D_202A_206F_202D_202E(_202D_202B_200E_200C_200F_200C_206F_206D_206D_206C_206E_200F_200B_200C_206F_202B_206E_202A_202B_206E_206E_206F_202E_200C_206C_200E_206B_202E_200F_202B_206A_200F_200E_206D_206D_200D_200E_206C_202A_200C_202E(derivedArrivalFile), dataOptions.GameVersion)) ? (-1202914817) : (-1202914818)); + break; + case 0: + num = -1202914824; + break; + case 3: + { + uint key3; + using (Dictionary.Enumerator enumerator9 = dictionary5.GetEnumerator()) + { + while (true) + { + IL_151e: + if (enumerator9.MoveNext()) + { + enumerator9.Current.Deconstruct(out key3, out var value5); + num46 = key3; + warpInfo = value5; + destPosition = null; + array = null; + using (Dictionary<(uint, uint), WarpDestinationEntry>.Enumerator enumerator8 = dictionary.GetEnumerator()) + { + num = -1453011060; + while (true) + { + int num47 = num; + num3 = -1453011061; + num4 = num47; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + array = _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(warpDestinationEntry2).ToArray(); + num = -1453011060; + break; + case 0: + destPosition = _206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(warpDestinationEntry2); + num = -1453011063; + break; + case 6: + num = ((!(_206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(warpDestinationEntry2) != Vector3.Zero)) ? (-1453011063) : (-1453011061)); + break; + case 2: + num = ((array != null) ? (-1453011060) : (-1453011057)); + break; + case 5: + num = ((list5.Count <= 0) ? (-1453011060) : (-1453011069)); + break; + case 7: + num = (enumerator8.MoveNext() ? (-1453011070) : (-1453011071)); + break; + case 1: + num = (destPosition.HasValue ? (-1453011063) : (-1453011059)); + break; + case 9: + { + enumerator8.Current.Deconstruct(out key2, out value); + (uint, uint) tuple4 = key2; + warpDestinationEntry2 = value; + num = ((tuple4.Item1 != num46) ? (-1453011060) : (-1453011062)); + break; + } + case 4: + list5 = _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(warpDestinationEntry2); + num = ((list5 == null) ? (-1453011060) : (-1453011058)); + break; + case 3: + num = -1453011060; + break; + case 10: + goto end_IL_12d3; + } + continue; + end_IL_12d3: + break; + } + } + num = (destPosition.HasValue ? 322550405 : 322550421); + } + else + { + num = 322550414; + } + while (true) + { + int num48 = num; + num3 = 322550405; + num4 = num48; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 12: + break; + case 0: + num = ((array != null) ? 322550403 : 322550408); + continue; + case 2: + destPosition = vector; + derivedArrival = true; + num = 322550412; + continue; + case 9: + { + WarpInfo warpInfo2 = warpInfo with + { + DestPosition = destPosition, + AvailableDuringMsqIds = array, + DerivedArrival = derivedArrival + }; + list4.Add(warpInfo2); + dictionary8[num46] = warpInfo2; + num17 = warpInfo.NpcDataId; + num = ((!num17.HasValue) ? 322550409 : 322550402); + continue; + } + case 13: + num = ((!dictionary2.TryGetValue(num46, out value8)) ? 322550403 : 322550401); + continue; + case 15: + destPosition = _206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(value7); + num = 322550405; + continue; + case 16: + num = ((!dictionary2.TryGetValue(num46, out value7)) ? 322550405 : 322550415); + continue; + case 17: + num = ((list5.Count <= 0) ? 322550403 : 322550411); + continue; + case 10: + num = ((!(_206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(value7) != Vector3.Zero)) ? 322550405 : 322550410); + continue; + case 7: + { + uint valueOrDefault2 = num17.GetValueOrDefault(); + hashSet3.Add((num46, valueOrDefault2)); + num = 322550409; + continue; + } + case 5: + num = 322550421; + continue; + case 8: + num = ((value6 == 0) ? 322550412 : 322550404); + continue; + case 4: + list5 = _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(value8); + num = ((list5 == null) ? 322550403 : 322550420); + continue; + case 6: + derivedArrival = false; + num = (destPosition.HasValue ? 322550412 : 322550406); + continue; + case 14: + array = _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(value8).ToArray(); + num = 322550403; + continue; + case 1: + vector = ResolveDerivedArrival(value6, warpInfo.DestTerritoryId, _202C_206D_206C_200E_206C_202C_206A_202B_200E_206C_200B_200B_206D_202A_202B_206E_206F_206B_202A_200C_202B_206A_206D_200F_206E_202A_202B_206B_200E_200C_200C_200B_206C_200D_206A_202C_202A_202B_206D_206C_202E(derivedArrivalFile).GetValueOrDefault(num46), levelLookup); + num = ((!vector.HasValue) ? 322550412 : 322550407); + continue; + case 3: + num = ((!dictionary6.TryGetValue(num46, out value6)) ? 322550412 : 322550413); + continue; + case 11: + goto end_IL_14b6; + } + goto IL_151e; + continue; + end_IL_14b6: + break; + } + break; + } + } + using (Dictionary<(uint, uint), WarpDestinationEntry>.Enumerator enumerator8 = dictionary.GetEnumerator()) + { + num = 1428496538; + while (true) + { + int num49 = num; + num3 = 1428496536; + num4 = num49; + int num50 = num4 + num3; + int num51 = num4 & num3; + Vector3? vector2; + Vector3? destPosition2; + uint item5; + string? name; + string? question; + ushort sourceTerritoryId; + Vector3 sourcePosition2; + uint? npcDataId2; + ushort destTerritoryId; + int gilCost2; + uint[] requiredQuestIds; + switch (num50 - (num51 + num51)) + { + case 1: + warpInfo4 = dictionary5[item4.Item1]; + warpInfo3 = dictionary8[item4.Item1]; + num = ((_206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(warpDestinationEntry3) != Vector3.Zero) ? 1428496542 : 1428496536); + break; + case 7: + num = (hashSet3.Contains(item4) ? 1428496538 : 1428496537); + break; + case 0: + vector2 = warpInfo3.DestPosition; + goto IL_18d3; + case 2: + num = (enumerator8.MoveNext() ? 1428496539 : 1428496541); + break; + case 6: + vector2 = _206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(warpDestinationEntry3); + goto IL_18d3; + case 3: + enumerator8.Current.Deconstruct(out key2, out value); + item4 = key2; + warpDestinationEntry3 = value; + num = ((!dictionary5.ContainsKey(item4.Item1)) ? 1428496538 : 1428496543); + break; + case 4: + num = 1428496538; + break; + case 5: + goto end_IL_17d5; + IL_18d3: + destPosition2 = vector2; + item5 = item4.Item1; + name = warpInfo4.Name; + question = warpInfo4.Question; + sourceTerritoryId = _206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(warpDestinationEntry3); + sourcePosition2 = _200F_202B_200E_200C_206A_202E_206D_206B_200B_200C_206C_206E_202A_200F_200E_200F_200B_202B_200B_206F_200E_202D_202C_206C_200E_202E_206C_202C_200B_200C_206F_206C_206D_202B_206E_206B_206D_200D_206B_202B_202E(warpDestinationEntry3); + npcDataId2 = _202B_206D_206C_206C_206E_200F_202E_206D_200E_200C_206E_206A_200D_200E_206A_200C_206E_202C_206A_200E_202B_202C_200B_202B_206E_206D_202C_206F_202D_202A_206F_206A_206F_206A_200B_206B_202A_206C_200E_200C_202E(warpDestinationEntry3); + destTerritoryId = warpInfo4.DestTerritoryId; + gilCost2 = warpInfo4.GilCost; + requiredQuestIds = warpInfo4.RequiredQuestIds; + list5 = _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(warpDestinationEntry3); + list4.Add(new WarpInfo(item5, name, question, sourceTerritoryId, sourcePosition2, npcDataId2, null, destTerritoryId, destPosition2, gilCost2, requiredQuestIds, (list5 != null && list5.Count > 0) ? _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(warpDestinationEntry3).ToArray() : null, warpInfo4.RequiredClassLevel, DerivedSource: false, warpInfo4.RequireAllQuests, _206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(warpDestinationEntry3) == Vector3.Zero && warpInfo3.DerivedArrival)); + hashSet3.Add(item4); + num = 1428496538; + break; + } + continue; + end_IL_17d5: + break; + } + } + foreach (KeyValuePair> item7 in dictionary7) + { + item7.Deconstruct(out key3, out var value9); + uint num52 = key3; + List<(uint, ushort, Vector3)> list6 = value9; + if (!dictionary8.TryGetValue(num52, out var value10)) + { + continue; + } + using List<(uint, ushort, Vector3)>.Enumerator enumerator11 = list6.GetEnumerator(); + num = -909189203; + while (true) + { + int num53 = num; + num3 = -909189201; + num4 = num53; + int num54 = num4 + num3; + int num55 = num4 & num3; + switch (num54 - (num55 + num55)) + { + case 5: + list4.Add(value10 with + { + SourceTerritoryId = current7.Item2, + SourcePosition = current7.Item3, + NpcDataId = current7.Item1, + NpcName = ResolveObjectName(current7.Item1), + DerivedSource = true + }); + num = -909189203; + break; + case 7: + num = ((!NonNavigableIntendedUses.Contains(value11)) ? (-909189206) : (-909189202)); + break; + case 6: + num = -909189203; + break; + case 2: + num = (enumerator11.MoveNext() ? (-909189204) : (-909189205)); + break; + case 1: + num = ((!hashSet2.Contains(current7.Item2)) ? (-909189203) : (-909189206)); + break; + case 0: + num = ((!dictionary3.TryGetValue(current7.Item2, out value11)) ? (-909189206) : (-909189208)); + break; + case 3: + current7 = enumerator11.Current; + num = ((!hashSet3.Add((num52, current7.Item1))) ? (-909189203) : (-909189201)); + break; + case 4: + goto end_IL_1a4f; + } + continue; + end_IL_1a4f: + break; + } + } + int num56 = list4.Count((WarpInfo w) => w.DestPosition.HasValue); + int num57 = list4.Count((WarpInfo w) => w.SourceTerritoryId == 0); + int num58 = list4.Count((WarpInfo w) => w.DerivedSource); + int num59 = list4.Count((WarpInfo w) => w.DerivedArrival); + _200E_202A_206B_202A_200B_202B_202E_202A_200B_206E_206D_206D_206C_206F_200E_200D_202C_202C_200F_206D_200B_206B_202C_206B_206A_202B_206E_202B_200B_206D_206C_206D_202E_202E_200D_202A_200B_206E_202B_206C_202E((ILogger)logger, global::_003CModule_003E._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(-1204221542), new object[8] + { + num28, + list4.Count, + dictionary8.Count, + num56, + num58, + num59, + num57, + flag ? global::_003CModule_003E._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(-1568919776) : global::_003CModule_003E._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(1048379339) + }); + _200E_202A_206B_202A_200B_202B_202E_202A_200B_206E_206D_206D_206C_206F_200E_200D_202C_202C_200F_206D_200B_206B_202C_206B_206A_202B_206E_202B_200B_206D_206C_206D_202E_202E_200D_202A_200B_206E_202B_206C_202E((ILogger)logger, global::_003CModule_003E._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(-64023076), new object[4] { num29, hashSet.Count, num30, num31 }); + return new Snapshot(list4, dictionary8, hashSet, num28, list4.Count, num56, num57, num58, num59, num29, num30, num31, !flag); + } + } + } + } + } + } + } + } + } + string? ResolveObjectName(uint objectId) + { + ENpcResident? rowOrDefault = dataManager.GetExcelSheet().GetRowOrDefault(objectId); + int num60 = ((!rowOrDefault.HasValue) ? (-389697121) : (-389697126)); + string text3 = default(string); + EObjName? rowOrDefault2 = default(EObjName?); + string text4 = default(string); + while (true) + { + int num61 = num60; + int num62 = -389697122; + int num63 = num61; + switch ((num63 | num62) - (num63 & num62)) + { + case 6: + num60 = -389697126; + break; + case 5: + text3 = rowOrDefault2.Value.Singular.ExtractText(); + num60 = (_003C_003Ec__DisplayClass39_0._202E_202A_206E_202C_206B_206A_202E_202D_206D_206C_200F_206B_200E_202D_202E_206D_200C_206D_206E_202D_200E_206A_206E_200B_206C_206E_200F_200E_200C_200E_206E_200F_200C_206C_206B_206D_206A_206E_200E_206D_202E(text3) ? (-389697122) : (-389697123)); + break; + case 3: + return text3; + case 4: + text4 = rowOrDefault.Value.Singular.ExtractText(); + num60 = (_003C_003Ec__DisplayClass39_0._202E_202A_206E_202C_206B_206A_202E_202D_206D_206C_200F_206B_200E_202D_202E_206D_200C_206D_206E_202D_200E_206A_206E_200B_206C_206E_200F_200E_200C_200E_206E_200F_200C_206C_206B_206D_206A_206E_200E_206D_202E(text4) ? (-389697121) : (-389697124)); + break; + case 2: + return text4; + case 1: + rowOrDefault2 = dataManager.GetExcelSheet().GetRowOrDefault(objectId); + num60 = ((!rowOrDefault2.HasValue) ? (-389697122) : (-389697125)); + break; + case 0: + return null; + } + } + } + } + + internal static void AddWarpFronter(Dictionary> index, uint handlerId, uint fronterObjectId, Func?> arrayMemberLookup, ref int nestedArraysSkipped) + { + int num = ((handlerId != 0) ? (-1948350651) : (-1948350649)); + uint num9 = default(uint); + IEnumerable enumerable = default(IEnumerable); + uint current = default(uint); + while (true) + { + int num2 = num; + int num3 = -1948350653; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1948350649; + break; + case 3: + AddFronterEntry(index, handlerId, fronterObjectId); + return; + case 4: + return; + case 6: + num9 = handlerId >> 16; + num = ((num9 != 2) ? (-1948350652) : (-1948350656)); + break; + case 1: + return; + case 7: + if (num9 == 13) + { + num = -1948350655; + break; + } + return; + case 2: + enumerable = arrayMemberLookup(handlerId); + num = ((enumerable != null) ? (-1948350650) : (-1948350654)); + break; + case 5: + { + IEnumerator enumerator = enumerable.GetEnumerator(); + try + { + num = 145017122; + while (true) + { + int num5 = num; + num3 = 145017123; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + nestedArraysSkipped++; + num = 145017122; + break; + case 4: + current = enumerator.Current; + num = ((current >> 16 != 2) ? 145017123 : 145017121); + break; + case 1: + num = (_200B_206F_206C_202E_202E_202D_200E_202C_206B_206D_202C_200B_206E_200D_200D_206B_200D_202A_206D_200B_206F_202D_200F_202B_202B_202D_202A_206B_206B_200B_200C_202D_200F_206A_202C_206B_206C_206C_206E_202D_202E((IEnumerator)enumerator) ? 145017127 : 145017120); + break; + case 2: + AddFronterEntry(index, current, fronterObjectId); + num = 145017122; + break; + case 6: + num = 145017122; + break; + case 0: + num = ((current >> 16 != 13) ? 145017122 : 145017126); + break; + case 3: + return; + } + } + } + finally + { + num = ((enumerator == null) ? (-2062162633) : (-2062162636)); + while (true) + { + int num6 = num; + num3 = -2062162635; + num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 0: + num = -2062162636; + break; + case 2: + goto end_IL_01e8; + case 1: + _200B_200D_202B_202C_200D_206D_206C_200F_202C_200F_200D_200F_206B_202E_202C_206F_206A_200C_206B_202D_206F_202B_206E_206E_200E_206F_200C_202E_200E_200B_206A_202C_206C_206D_200F_206B_200B_202A_202E_200F_202E((IDisposable)enumerator); + num = -2062162633; + break; + } + continue; + end_IL_01e8: + break; + } + } + } + } + } + } + + private static void AddFronterEntry(Dictionary> index, uint warpRowId, uint fronterObjectId) + { + List value; + int num = (index.TryGetValue(warpRowId, out value) ? 1144046997 : 1144046998); + while (true) + { + int num2 = num; + int num3 = 1144046997; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + value.Add(fronterObjectId); + num = 1144046999; + break; + case 0: + num = (value.Contains(fronterObjectId) ? 1144046999 : 1144046996); + break; + case 3: + value = (index[warpRowId] = new List()); + num = 1144046997; + break; + case 4: + num = 1144046998; + break; + case 2: + return; + } + } + } + + internal static Vector3? ResolveDerivedArrival(uint popRangeId, ushort destTerritoryId, DerivedArrivalEntry? embedded, Func levelLookup) + { + int num = ((popRangeId != 0) ? 693111575 : 693111576); + (ushort, Vector3) valueOrDefault = default((ushort, Vector3)); + (ushort, Vector3)? tuple = default((ushort, Vector3)?); + while (true) + { + int num2 = num; + int num3 = 693111569; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + num = ((_200D_202A_202B_206E_202C_202D_206A_200C_206D_200B_206E_206D_206D_206F_206C_202E_200C_200B_202E_202A_206D_202D_200C_200E_206C_200D_202B_206E_200D_202A_206C_202D_200C_206F_206C_200B_202C_202A_200D_200D_202E(embedded) != popRangeId) ? 693111569 : 693111570); + break; + case 9: + return null; + case 6: + num = ((embedded == null) ? 693111569 : 693111577); + break; + case 3: + num = ((_206A_202E_202A_206A_206B_206F_202D_206B_202E_200B_202B_202A_200C_202A_202C_206C_200E_202C_202B_206E_206E_200F_200F_206D_206F_202E_202E_206E_206D_200F_202E_202B_206B_202E_206D_200B_206A_202A_206C_206E_202E(embedded) != destTerritoryId) ? 693111569 : 693111571); + break; + case 1: + return valueOrDefault.Item2; + case 5: + valueOrDefault = tuple.GetValueOrDefault(); + num = ((valueOrDefault.Item1 != destTerritoryId) ? 693111573 : 693111568); + break; + case 4: + return null; + case 2: + return new Vector3(_202B_202C_206E_202A_200E_200B_206C_202E_200F_206A_202A_206C_202A_200E_206C_200E_206B_206A_206F_200B_200E_206B_202D_206C_206B_202C_206E_200B_200C_200F_200C_202E_202E_206F_202A_206E_200B_206E_200C_202A_202E(embedded), _206E_200D_202A_206C_202E_200C_206A_202C_200B_200D_200D_202B_206F_200E_202A_206A_200E_200D_206A_200B_206A_200B_202E_200F_206C_202A_200D_200D_206C_202A_200F_202D_206A_206D_200E_206E_200D_200F_200C_202B_202E(embedded), _200D_202B_202D_206B_206B_206C_200C_202A_202C_202C_202D_206D_206C_206F_206E_200C_206F_200D_202B_200C_206F_206A_200D_200C_202B_200F_202C_200B_200E_206C_202D_206B_202B_200B_202C_206D_206A_200E_206F_200E_202E(embedded)); + case 7: + num = 693111576; + break; + case 0: + tuple = levelLookup(popRangeId); + num = ((!tuple.HasValue) ? 693111573 : 693111572); + break; + } + } + } + + 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)>(); + int num = (fronterIndex.TryGetValue(warpRowId, out List value) ? 337465769 : 337465770); + uint current = default(uint); + (ushort, Vector3, bool) valueOrDefault = default((ushort, Vector3, bool)); + (ushort, Vector3, bool)? tuple = default((ushort, Vector3, bool)?); + while (true) + { + int num2 = num; + int num3 = 337465768; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0058; + case 2: + return list; + case 1: + { + IEnumerator enumerator = value.Order().GetEnumerator(); + try + { + num = -304547261; + while (true) + { + int num5 = num; + num3 = -304547258; + num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + list.Add((current, valueOrDefault.Item1, valueOrDefault.Item2)); + num = -304547261; + break; + case 5: + num = (_200B_206F_206C_202E_202E_202D_200E_202C_206B_206D_202C_200B_206E_200D_200D_206B_200D_202A_206D_200B_206F_202D_200F_202B_202B_202D_202A_206B_206B_200B_200C_202D_200F_206A_202C_206B_206C_206C_206E_202D_202E((IEnumerator)enumerator) ? (-304547257) : (-304547258)); + break; + case 4: + num = -304547261; + break; + case 2: + valueOrDefault = tuple.GetValueOrDefault(); + num = (valueOrDefault.Item3 ? (-304547261) : (-304547259)); + break; + case 1: + current = enumerator.Current; + tuple = getPlacement(current); + num = ((!tuple.HasValue) ? (-304547261) : (-304547260)); + break; + case 0: + return list; + } + } + } + finally + { + num = ((enumerator == null) ? (-1914934886) : (-1914934885)); + while (true) + { + int num6 = num; + num3 = -1914934886; + num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 2: + num = -1914934885; + break; + case 1: + _200B_200D_202B_202C_200D_206D_206C_200F_202C_200F_200D_200F_206B_202E_202C_206F_206A_200C_206B_202D_206F_202B_206E_206E_200E_206F_200C_202E_200E_200B_206A_202C_206C_206D_200F_206B_200B_202A_202E_200F_202E((IDisposable)enumerator); + num = -1914934886; + break; + case 0: + goto end_IL_018f; + } + continue; + end_IL_018f: + break; + } + } + } + } + continue; + IL_0058: + num = 337465770; + } + } + + private static void LoadWarpOverridesFrom(string path, List target, HashSet skippedIds) + { + int num = (_202D_200C_206F_206C_206F_200D_200D_206C_202A_200F_200F_200F_206F_200E_200F_206C_206A_202A_202B_206F_200C_202D_200E_202D_202A_202C_206F_206F_202B_200F_202C_202C_206E_206E_200C_202E_202A_206B_206A_200D_202E(path) ? 1659706856 : 1659706857); + WarpDestinationOverrides warpDestinationOverrides = default(WarpDestinationOverrides); + while (true) + { + int num2 = num; + int num3 = 1659706856; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + return; + case 0: + warpDestinationOverrides = JsonSerializer.Deserialize(_206E_200E_206F_200E_200E_202B_202E_202B_200F_206A_200D_200D_202A_206A_206A_206E_202E_202B_202D_200E_202D_202C_202E_206A_202B_206F_206D_202C_202C_202C_206C_200D_200E_200D_202E_206B_206C_206A_206A_206D_202E(path)); + num = ((warpDestinationOverrides != null) ? 1659706858 : 1659706860); + break; + case 1: + return; + case 3: + num = 1659706857; + break; + case 2: + { + using (List.Enumerator enumerator = _206A_202C_206C_202C_200E_200F_202D_206C_200E_200D_206E_200C_206B_200F_202E_202C_206C_200B_202E_200E_206F_206A_206D_202B_202E_206D_206E_202B_206F_202C_206F_206A_200B_200C_206E_200D_206D_206F_202B_206F_202E(warpDestinationOverrides).GetEnumerator()) + { + num = 1865429245; + while (true) + { + int num5 = num; + num3 = 1865429247; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = 1865429245; + break; + case 2: + num = (enumerator.MoveNext() ? 1865429246 : 1865429244); + break; + case 1: + { + uint current = enumerator.Current; + skippedIds.Add(current); + num = 1865429245; + break; + } + case 3: + goto end_IL_00a8; + } + continue; + end_IL_00a8: + break; + } + } + using Dictionary.Enumerator enumerator2 = _202C_206A_200C_200D_200F_206C_200C_202B_202A_202B_202B_206E_206D_206D_202C_202E_202D_200D_206F_206E_200B_202A_200E_200E_206B_202D_200B_202A_206C_206C_200D_206F_202A_206B_202B_202E_202E_202D_202E_206B_202E(warpDestinationOverrides).GetEnumerator(); + num = 1971888332; + while (true) + { + int num8 = num; + num3 = 1971888334; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + num = (enumerator2.MoveNext() ? 1971888333 : 1971888335); + break; + case 3: + var (_, item) = (KeyValuePair)(ref enumerator2.Current); + target.Add(item); + num = 1971888332; + break; + case 0: + num = 1971888332; + break; + case 1: + return; + } + } + } + } + } + } + + static object _202E_200E_206C_202E_202C_200E_202B_202D_206B_206E_202C_200F_200E_200D_206A_206F_200B_206E_200E_206C_202D_206E_206D_206A_202B_200D_206F_200D_200E_206C_202C_206E_202E_202A_206E_200D_206C_202B_202A_200D_202E() + { + return new object(); + } + + static void _200F_206E_200B_206B_202A_202C_200B_206E_206B_200F_200E_202E_200D_206C_200D_206D_202C_200F_206D_200B_200F_202E_202A_200B_206D_200D_202C_202A_206B_202C_200F_200D_202B_202D_200F_202D_202B_202C_206F_202E_202E(object P_0, ref bool P_1) + { + Monitor.Enter(P_0, ref P_1); + } + + static bool _202B_200B_206B_200C_200D_202A_206B_202A_206A_200C_206C_206A_200C_200F_206E_200F_200E_206D_202A_202D_202E_202E_200C_200D_200B_200E_206B_206B_206B_200B_200E_202C_206C_202B_206C_202B_200F_200E_202B_202D_202E(NpcPositionCache P_0) + { + return P_0.IsBuilt; + } + + static void _206B_202E_206F_200C_200F_206D_202A_206E_206E_206D_202D_200C_200F_206A_200B_202C_202E_206E_206C_202E_206F_200B_206B_206F_200E_206A_206A_200D_202E_206C_202C_200F_200B_206E_200E_200B_202D_202B_200F_202E(object P_0) + { + Monitor.Exit(P_0); + } + + static string _202B_206F_206A_200E_200C_202E_202D_202C_200F_202C_202C_206E_200C_206C_206A_206D_206B_200F_206E_200B_202E_206C_200C_200B_202A_200F_206A_200F_202D_206E_202E_202E_206A_206F_202E_200B_202A_206F_202B_206A_202E(FileSystemInfo P_0) + { + return P_0.FullName; + } + + static (IReadOnlyList, IReadOnlyDictionary) _206E_202B_202A_200D_206D_202D_202B_202C_200B_200E_202C_200C_206B_202D_202D_202C_202A_202B_200D_206B_202E_200B_202B_206F_206E_206A_202B_200C_202A_202C_200D_200B_206F_202B_206C_202C_200B_206F_200E_206B_202E(string P_0) + { + return AssemblyWarpDestinationLoader.GetOverrides(P_0); + } + + static bool _200B_206F_206C_202E_202E_202D_200E_202C_206B_206D_202C_200B_206E_200D_200D_206B_200D_202A_206D_200B_206F_202D_200F_202B_202B_202D_202A_206B_206B_200B_200C_202D_200F_206A_202C_206B_206C_206C_206E_202D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _200B_200D_202B_202C_200D_206D_206C_200F_202C_200F_200D_200F_206B_202E_202C_206F_206A_200C_206B_202D_206F_202B_206E_206E_200E_206F_200C_202E_200E_200B_206A_202C_206C_206D_200F_206B_200B_202A_202E_200F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static string _206B_206F_200C_206F_206C_202D_202A_206D_200D_206E_202D_206F_200F_206D_202A_202C_200E_200C_200B_202D_206D_202B_200B_200E_200F_200F_200C_200E_206D_202B_202B_206A_200F_200B_202A_202B_206E_202E_206A_206E_202E(string P_0, string P_1) + { + return Path.Combine(P_0, P_1); + } + + static uint? _202B_206D_206C_206C_206E_200F_202E_206D_200E_200C_206E_206A_200D_200E_206A_200C_206E_202C_206A_200E_202B_202C_200B_202B_206E_206D_202C_206F_202D_202A_206F_206A_206F_206A_200B_206B_202A_206C_200E_200C_202E(WarpDestinationEntry P_0) + { + return P_0.NpcDataId; + } + + static uint _206F_200B_200D_200C_202D_202B_200C_202A_202B_200C_200C_206F_206F_202D_200E_206B_200D_206B_200D_202B_206E_200F_202E_202E_200B_200F_200D_200C_200C_206B_200C_202A_202B_202A_202A_206E_206E_202D_202C_200D_202E(WarpDestinationEntry P_0) + { + return P_0.WarpRowId; + } + + static ushort _206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(WarpDestinationEntry P_0) + { + return P_0.SourceTerritoryId; + } + + static ushort _206F_206B_200F_206C_202C_202C_200C_206F_206A_202A_206F_206E_206D_206D_206B_206F_206D_202D_200E_202B_200D_206D_200B_200F_206A_202A_206C_206C_200D_206C_202A_202D_206F_202D_200E_202A_206D_202C_202C_202E_202E(WarpDestinationEntry P_0) + { + return P_0.DestTerritoryId; + } + + static void _206E_202D_202C_200E_200B_206C_206F_202C_206A_202A_202E_200B_206B_200B_200C_206C_202E_200C_202D_206B_206F_202A_206F_202C_200C_200E_200B_200D_206B_200B_206E_206E_206B_206A_202A_206E_202E_202B_202C_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static Vector3 _200F_202B_200E_200C_206A_202E_206D_206B_200B_200C_206C_206E_202A_200F_200E_200F_200B_202B_200B_206F_200E_202D_202C_206C_200E_202E_206C_202C_200B_200C_206F_206C_206D_202B_206E_206B_206D_200D_206B_202B_202E(WarpDestinationEntry P_0) + { + return P_0.SourcePosition; + } + + static bool _206A_202D_200C_206F_206A_206C_206C_202B_206C_200E_206A_200E_206A_200C_206E_206C_200F_206F_202A_206E_202B_200D_206F_206F_200B_206A_206B_200D_200B_202C_206A_202C_202E_206A_206D_202E_206A_200E_206C_202A_202E(string P_0) + { + return string.IsNullOrEmpty(P_0); + } + + static DerivedArrivalFile _200E_202D_206A_202D_206A_206C_206F_206B_200F_200C_202E_200F_200B_200C_206A_206F_206C_200E_202C_206B_206C_200B_206A_200F_206B_202B_202D_200B_206A_200F_206A_202E_202D_202A_202C_200B_202B_200D_200B_206E_202E(string P_0) + { + return AssemblyDerivedArrivalLoader.GetArrivals(P_0); + } + + static string _202D_202B_200E_200C_200F_200C_206F_206D_206D_206C_206E_200F_200B_200C_206F_202B_206E_202A_202B_206E_206E_206F_202E_200C_206C_200E_206B_202E_200F_202B_206A_200F_200E_206D_206D_200D_200E_206C_202A_200C_202E(DerivedArrivalFile P_0) + { + return P_0.GameVersion; + } + + static bool _202A_206C_206D_206F_200B_202C_202E_200C_206E_206C_202E_202C_200F_200F_202A_202A_206F_200E_200D_202C_202A_200E_202E_202D_206B_202A_200C_202E_206F_206F_200C_206C_206D_206D_202E_206F_206D_202A_206F_202D_202E(string P_0, string P_1) + { + return P_0 != P_1; + } + + static Vector3 _206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(WarpDestinationEntry P_0) + { + return P_0.DestPosition; + } + + static List _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(WarpDestinationEntry P_0) + { + return P_0.AvailableDuringMsqIds; + } + + static Dictionary _202C_206D_206C_200E_206C_202C_206A_202B_200E_206C_200B_200B_206D_202A_202B_206E_206F_206B_202A_200C_202B_206A_206D_200F_206E_202A_202B_206B_200E_200C_200C_200B_206C_200D_206A_202C_202A_202B_206D_206C_202E(DerivedArrivalFile P_0) + { + return P_0.Arrivals; + } + + static void _200E_202A_206B_202A_200B_202B_202E_202A_200B_206E_206D_206D_206C_206F_200E_200D_202C_202C_200F_206D_200B_206B_202C_206B_206A_202B_206E_202B_200B_206D_206C_206D_202E_202E_200D_202A_200B_206E_202B_206C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static uint _200D_202A_202B_206E_202C_202D_206A_200C_206D_200B_206E_206D_206D_206F_206C_202E_200C_200B_202E_202A_206D_202D_200C_200E_206C_200D_202B_206E_200D_202A_206C_202D_200C_206F_206C_200B_202C_202A_200D_200D_202E(DerivedArrivalEntry P_0) + { + return P_0.PopRangeId; + } + + static ushort _206A_202E_202A_206A_206B_206F_202D_206B_202E_200B_202B_202A_200C_202A_202C_206C_200E_202C_202B_206E_206E_200F_200F_206D_206F_202E_202E_206E_206D_200F_202E_202B_206B_202E_206D_200B_206A_202A_206C_206E_202E(DerivedArrivalEntry P_0) + { + return P_0.TerritoryId; + } + + static float _202B_202C_206E_202A_200E_200B_206C_202E_200F_206A_202A_206C_202A_200E_206C_200E_206B_206A_206F_200B_200E_206B_202D_206C_206B_202C_206E_200B_200C_200F_200C_202E_202E_206F_202A_206E_200B_206E_200C_202A_202E(DerivedArrivalEntry P_0) + { + return P_0.X; + } + + static float _206E_200D_202A_206C_202E_200C_206A_202C_200B_200D_200D_202B_206F_200E_202A_206A_200E_200D_206A_200B_206A_200B_202E_200F_206C_202A_200D_200D_206C_202A_200F_202D_206A_206D_200E_206E_200D_200F_200C_202B_202E(DerivedArrivalEntry P_0) + { + return P_0.Y; + } + + static float _200D_202B_202D_206B_206B_206C_200C_202A_202C_202C_202D_206D_206C_206F_206E_200C_206F_200D_202B_200C_206F_206A_200D_200C_202B_200F_202C_200B_200E_206C_202D_206B_202B_200B_202C_206D_206A_200E_206F_200E_202E(DerivedArrivalEntry P_0) + { + return P_0.Z; + } + + static bool _202D_200C_206F_206C_206F_200D_200D_206C_202A_200F_200F_200F_206F_200E_200F_206C_206A_202A_202B_206F_200C_202D_200E_202D_202A_202C_206F_206F_202B_200F_202C_202C_206E_206E_200C_202E_202A_206B_206A_200D_202E(string P_0) + { + return File.Exists(P_0); + } + + static string _206E_200E_206F_200E_200E_202B_202E_202B_200F_206A_200D_200D_202A_206A_206A_206E_202E_202B_202D_200E_202D_202C_202E_206A_202B_206F_206D_202C_202C_202C_206C_200D_200E_200D_202E_206B_206C_206A_206A_206D_202E(string P_0) + { + return File.ReadAllText(P_0); + } + + static List _206A_202C_206C_202C_200E_200F_202D_206C_200E_200D_206E_200C_206B_200F_202E_202C_206C_200B_202E_200E_206F_206A_206D_202B_202E_206D_206E_202B_206F_202C_206F_206A_200B_200C_206E_200D_206D_206F_202B_206F_202E(WarpDestinationOverrides P_0) + { + return P_0.SkippedWarpIds; + } + + static Dictionary _202C_206A_200C_200D_200F_206C_200C_202B_202A_202B_202B_206E_206D_206D_202C_202E_202D_200D_206F_206E_200B_202A_200E_200E_206B_202D_200B_202A_206C_206C_200D_206F_202A_206B_202B_202E_202E_202D_202E_206B_202E(WarpDestinationOverrides P_0) + { + return P_0.Destinations; + } +} diff --git a/SmartNav/SmartNav.Data/ZoneBoundaryDerivation.cs b/SmartNav/SmartNav.Data/ZoneBoundaryDerivation.cs new file mode 100644 index 00000000..154a1782 --- /dev/null +++ b/SmartNav/SmartNav.Data/ZoneBoundaryDerivation.cs @@ -0,0 +1,920 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +using Microsoft.Extensions.Logging; +using SmartNav.Model.Navigation; + +namespace SmartNav.Data; + +internal static class ZoneBoundaryDerivation +{ + [Serializable] + [CompilerGenerated] + private sealed class _003C_003Ec + { + public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec(); + + public static Func _003C_003E9__1_1; + + public static Func, (ushort, ushort)> _003C_003E9__1_2; + + public static Func, List> _003C_003E9__1_3; + + public static Func _003C_003E9__1_4; + + public static Func<(float Distance, int GateIdx, int OverrideIdx), float> _003C_003E9__1_5; + + internal (ushort, ushort) _003CApplyOverrides_003Eb__1_1(ZoneBoundary b) + { + return _003CApplyOverrides_003Eg__PairKey_007C1_0(_206D_206F_200D_206F_206B_202C_206B_206C_200F_206E_202A_202E_202B_202E_200D_206A_200D_202A_206A_202D_200D_200B_206E_200F_202C_202D_206A_200F_200C_206C_206B_206C_200B_202D_202C_202C_200C_200C_200C_202E_202E(_200B_202E_206E_206E_206E_202A_202D_202A_202D_206A_206F_202B_200C_206B_206C_200E_206D_202B_200D_200B_202B_206F_206C_202B_206B_200C_206A_206E_202D_200F_206C_200B_206C_200E_202A_202C_202B_206B_200D_202C_202E(b)), _206D_206F_200D_206F_206B_202C_206B_206C_200F_206E_202A_202E_202B_202E_200D_206A_200D_202A_206A_202D_200D_200B_206E_200F_202C_202D_206A_200F_200C_206C_206B_206C_200B_202D_202C_202C_200C_200C_200C_202E_202E(_202B_206C_206B_202E_202D_200C_200F_200C_206D_200C_206F_202B_200F_200C_206E_200C_200E_202E_206E_202B_206E_202A_206A_200D_200D_206B_202D_202D_200D_202E_206D_202E_202E_206C_202D_202E_200C_202E_200C_200F_202E(b))); + } + + internal (ushort, ushort) _003CApplyOverrides_003Eb__1_2(IGrouping<(ushort, ushort), ZoneBoundary> g) + { + return g.Key; + } + + internal List _003CApplyOverrides_003Eb__1_3(IGrouping<(ushort, ushort), ZoneBoundary> g) + { + return g.ToList(); + } + + internal (ushort TerritoryA, ushort TerritoryB) _003CApplyOverrides_003Eb__1_4(ZoneBoundaryPositionOverride o) + { + return (TerritoryA: o.TerritoryA, TerritoryB: o.TerritoryB); + } + + internal float _003CApplyOverrides_003Eb__1_5((float Distance, int GateIdx, int OverrideIdx) c) + { + return c.Distance; + } + + static BoundarySide _200B_202E_206E_206E_206E_202A_202D_202A_202D_206A_206F_202B_200C_206B_206C_200E_206D_202B_200D_200B_202B_206F_206C_202B_206B_200C_206A_206E_202D_200F_206C_200B_206C_200E_202A_202C_202B_206B_200D_202C_202E(ZoneBoundary P_0) + { + return P_0.Side1; + } + + static ushort _206D_206F_200D_206F_206B_202C_206B_206C_200F_206E_202A_202E_202B_202E_200D_206A_200D_202A_206A_202D_200D_200B_206E_200F_202C_202D_206A_200F_200C_206C_206B_206C_200B_202D_202C_202C_200C_200C_200C_202E_202E(BoundarySide P_0) + { + return P_0.TerritoryId; + } + + static BoundarySide _202B_206C_206B_202E_202D_200C_200F_200C_206D_200C_206F_202B_200F_200C_206E_200C_200E_202E_206E_202B_206E_202A_206A_200D_200D_206B_202D_202D_200D_202E_206D_202E_202E_206C_202D_202E_200C_202E_200C_200F_202E(ZoneBoundary P_0) + { + return P_0.Side2; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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(); + IEnumerator enumerator = exitRanges.GetEnumerator(); + try + { + ExitRangeEntry current = default(ExitRangeEntry); + Vector3? vector = default(Vector3?); + ExitRangeEntry exitRangeEntry = default(ExitRangeEntry); + ExitRangeEntry current2 = default(ExitRangeEntry); + ExitRangeEntry exitRangeEntry2 = default(ExitRangeEntry); + ExitRangeEntry current3 = default(ExitRangeEntry); + PopRangeEntry value2 = default(PopRangeEntry); + float num12 = default(float); + Vector3? vector3 = default(Vector3?); + while (true) + { + int num; + if (_202D_202B_200E_200D_200F_206B_200E_202A_206C_200F_200C_202B_202A_200E_206D_206C_200D_202D_206D_206B_206A_200D_206C_200D_206A_202C_202A_206B_206E_206B_200D_202C_200F_206C_206E_202C_206B_206D_200F_206A_202E((IEnumerator)enumerator)) + { + current = enumerator.Current; + if (hashSet.Contains((current.SourceTerritoryId, current.InstanceId)) || current.DestTerritoryId == 0) + { + continue; + } + vector = null; + if (popRangeIndex.TryGetValue((current.DestTerritoryId, current.DestInstanceId), out PopRangeEntry value)) + { + vector = value.Position; + } + exitRangeEntry = null; + IEnumerator enumerator2 = exitRanges.GetEnumerator(); + try + { + num = 2034045205; + while (true) + { + int num2 = num; + int num3 = 2034045207; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 10: + num = 2034045205; + break; + case 9: + num = ((current2.DestInstanceId == 0) ? 2034045207 : 2034045215); + break; + case 6: + num = ((current2.ReturnInstanceId == 0) ? 2034045205 : 2034045202); + break; + case 0: + num = ((current.DestInstanceId == 0) ? 2034045201 : 2034045211); + break; + case 8: + num = ((current2.DestInstanceId == current.ReturnInstanceId) ? 2034045212 : 2034045207); + break; + case 5: + num = ((current2.ReturnInstanceId != current.InstanceId) ? 2034045205 : 2034045212); + break; + case 4: + num = ((current2.DestTerritoryId != current.SourceTerritoryId) ? 2034045205 : 2034045204); + break; + case 7: + current2 = enumerator2.Current; + num = ((current2.SourceTerritoryId != current.DestTerritoryId) ? 2034045205 : 2034045203); + break; + case 3: + num = (hashSet.Contains((current2.SourceTerritoryId, current2.InstanceId)) ? 2034045205 : 2034045214); + break; + case 2: + num = (_202D_202B_200E_200D_200F_206B_200E_202A_206C_200F_200C_202B_202A_200E_206D_206C_200D_202D_206D_206B_206A_200D_206C_200D_206A_202C_202A_206B_206E_206B_200D_202C_200F_206C_206E_202C_206B_206D_200F_206A_202E((IEnumerator)enumerator2) ? 2034045200 : 2034045206); + break; + case 11: + exitRangeEntry = current2; + goto end_IL_009f; + case 12: + num = ((current.DestInstanceId == current2.ReturnInstanceId) ? 2034045212 : 2034045201); + break; + case 1: + goto end_IL_009f; + } + continue; + end_IL_009f: + break; + } + } + finally + { + num = ((enumerator2 == null) ? 704950987 : 704950984); + while (true) + { + int num7 = num; + int num3 = 704950985; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 704950984; + break; + case 1: + _206C_206E_202B_206F_206C_206F_202B_206E_206C_200B_200B_206E_206E_202C_206E_202D_200B_202D_202B_202C_200F_202B_200F_206E_206B_206D_206E_206D_206C_200F_200D_200E_206C_206B_206C_202D_206A_206C_200C_206C_202E((IDisposable)enumerator2); + num = 704950987; + break; + case 2: + goto end_IL_02e0; + } + continue; + end_IL_02e0: + break; + } + } + if (!(exitRangeEntry == null)) + { + goto IL_07b3; + } + float num8 = float.MaxValue; + exitRangeEntry2 = null; + enumerator2 = exitRanges.GetEnumerator(); + try + { + num = 1641010271; + while (true) + { + int num9 = num; + int num3 = 1641010266; + int num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 6: + num = ((!popRangeIndex.TryGetValue((current.SourceTerritoryId, current3.DestInstanceId), out value2)) ? 1641010256 : 1641010267); + break; + case 4: + current3 = enumerator2.Current; + num = ((current3.SourceTerritoryId != current.DestTerritoryId) ? 1641010271 : 1641010258); + break; + case 5: + num = (_202D_202B_200E_200D_200F_206B_200E_202A_206C_200F_200C_202B_202A_200E_206D_206C_200D_202D_206D_206B_206A_200D_206C_200D_206A_202C_202A_206B_206E_206B_200D_202C_200F_206C_206E_202C_206B_206D_200F_206A_202E((IEnumerator)enumerator2) ? 1641010270 : 1641010269); + break; + case 1: + num12 = Vector3.Distance(current.SourcePosition, value2.Position); + num = ((!(num12 < num8)) ? 1641010271 : 1641010259); + break; + case 0: + num = 1641010271; + break; + case 2: + exitRangeEntry2 = current3; + num = 1641010271; + break; + case 3: + num = (hashSet.Contains((current3.SourceTerritoryId, current3.InstanceId)) ? 1641010271 : 1641010268); + break; + case 10: + num = (((object)exitRangeEntry2 != null) ? 1641010271 : 1641010264); + break; + case 8: + num = ((current3.DestTerritoryId != current.SourceTerritoryId) ? 1641010271 : 1641010265); + break; + case 9: + num8 = num12; + exitRangeEntry = current3; + num = 1641010271; + break; + case 7: + goto end_IL_0357; + } + continue; + end_IL_0357: + break; + } + } + finally + { + num = ((enumerator2 == null) ? (-564357358) : (-564357359)); + while (true) + { + int num13 = num; + int num3 = -564357357; + int num4 = num13; + int num14 = num4 + num3; + int num15 = num4 & num3; + switch (num14 - (num15 + num15)) + { + case 0: + num = -564357359; + break; + case 1: + goto end_IL_053f; + case 2: + _206C_206E_202B_206F_206C_206F_202B_206E_206C_200B_200B_206E_206E_202C_206E_202D_200B_202D_202B_202C_200F_202B_200F_206E_206B_206D_206E_206D_206C_200F_200D_200E_206C_206B_206C_202D_206A_206C_200C_206C_202E((IDisposable)enumerator2); + num = -564357358; + break; + } + continue; + end_IL_053f: + break; + } + } + num = (((object)exitRangeEntry != null) ? (-267048228) : (-267048233)); + } + else + { + num = -267048227; + } + goto IL_05ac; + IL_07b3: + num = (((object)exitRangeEntry != null) ? (-267048226) : (-267048232)); + goto IL_05ac; + IL_05ac: + while (true) + { + int num16 = num; + int num3 = -267048226; + int num4 = num16; + Vector3? vector2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = -267048233; + break; + case 6: + vector2 = vector; + goto IL_061f; + case 0: + vector2 = exitRangeEntry.SourcePosition; + goto IL_061f; + case 7: + list2.Add(current); + num = -267048234; + break; + case 1: + goto IL_0659; + case 8: + goto end_IL_05ac; + case 2: + goto IL_07b3; + case 9: + exitRangeEntry = exitRangeEntry2; + num = -267048228; + break; + case 5: + hashSet.Add((exitRangeEntry.SourceTerritoryId, exitRangeEntry.InstanceId)); + num = -267048234; + break; + case 3: + goto end_IL_079b; + IL_061f: + vector3 = vector2; + num = (vector3.HasValue ? (-267048225) : (-267048231)); + break; + } + continue; + IL_0659: + ZoneBoundary zoneBoundary = _202E_200D_206B_202D_206A_206B_200F_202B_200B_206D_202C_206E_206F_206B_206B_202C_202E_202A_202B_200D_200B_200E_202A_202A_206F_202C_206F_206B_200C_200C_200C_206C_200B_202D_200D_206F_202D_200F_200B_206C_202E(); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1989489141)); + defaultInterpolatedStringHandler.AppendFormatted(current.SourceTerritoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-642304930)); + defaultInterpolatedStringHandler.AppendFormatted(current.DestTerritoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-493592002)); + defaultInterpolatedStringHandler.AppendFormatted(current.InstanceId); + _202D_202C_206F_206A_202B_200E_206C_206C_206F_202B_202B_206B_206D_206F_206A_202E_202D_206A_200F_200B_206E_200B_200D_206C_206B_202C_202B_206D_206B_206A_202B_206E_202B_202E_202D_200E_200D_206A_200B_206B_202E(zoneBoundary, defaultInterpolatedStringHandler.ToStringAndClear()); + BoundarySide boundarySide = _202A_202A_202B_206F_200B_200B_206A_206F_206A_202A_206A_200B_200B_200F_202B_206C_200C_206F_200B_206C_200E_200B_202A_200E_200C_200C_202A_200D_206F_206C_202D_202E_202B_202C_200B_200E_206B_202D_202D_206F_202E(); + _202A_202A_200F_206F_206B_206B_206D_206B_200B_200B_206F_200D_206F_202D_200B_200F_202D_206A_202A_200B_206A_200F_206A_200B_200C_200B_202A_200C_206F_200C_200C_200C_202D_200F_200C_202E_202A_200D_202A_202A_202E(boundarySide, current.SourceTerritoryId); + _200C_202D_200E_202A_202C_206D_200D_202C_200D_202E_202E_206B_206D_202E_202B_206A_200E_202A_202B_200F_202C_206C_206B_200B_200B_200D_202A_206A_206A_202E_200F_206B_206C_202E_200C_206A_200D_202A_202C_200D_202E(boundarySide, current.SourcePosition); + _200C_206F_200C_202B_206A_202A_206E_200F_202E_200E_202A_200D_200B_202D_200B_202A_202B_206B_206A_200B_206F_202C_202C_202C_202C_206D_202E_202E_200B_202A_206E_202B_206B_206A_202C_202E_202E_206F_206E_200F_202E(boundarySide, TriggerOf(current)); + _206E_206D_200C_200F_202C_202D_200F_206F_200D_206E_202E_202B_200D_206E_202D_200D_200B_202B_202B_202E_202E_200F_206F_200C_202A_200B_206B_202E_206A_202C_202D_206E_206F_202E_200F_200B_202D_206A_206C_200C_202E(zoneBoundary, boundarySide); + BoundarySide boundarySide2 = _202A_202A_202B_206F_200B_200B_206A_206F_206A_202A_206A_200B_200B_200F_202B_206C_200C_206F_200B_206C_200E_200B_202A_200E_200C_200C_202A_200D_206F_206C_202D_202E_202B_202C_200B_200E_206B_202D_202D_206F_202E(); + _202A_202A_200F_206F_206B_206B_206D_206B_200B_200B_206F_200D_206F_202D_200B_200F_202D_206A_202A_200B_206A_200F_206A_200B_200C_200B_202A_200C_206F_200C_200C_200C_202D_200F_200C_202E_202A_200D_202A_202A_202E(boundarySide2, current.DestTerritoryId); + _200C_202D_200E_202A_202C_206D_200D_202C_200D_202E_202E_206B_206D_202E_202B_206A_200E_202A_202B_200F_202C_206C_206B_200B_200B_200D_202A_206A_206A_202E_200F_206B_206C_202E_200C_206A_200D_202A_202C_200D_202E(boundarySide2, vector3.Value); + _200C_206F_200C_202B_206A_202A_206E_200F_202E_200E_202A_200D_200B_202D_200B_202A_202B_206B_206A_200B_206F_202C_202C_202C_202C_206D_202E_202E_200B_202A_206E_202B_206B_206A_202C_202E_202E_206F_206E_200F_202E(boundarySide2, (exitRangeEntry == null) ? null : TriggerOf(exitRangeEntry)); + _206C_202E_202B_200D_202A_200C_200C_206A_200C_202C_206E_206A_200C_206F_206B_206E_206B_206E_206E_206E_206A_200E_200E_206D_206C_206F_200D_202A_202D_200E_202A_200C_200B_206E_200C_206C_200B_206A_200C_202A_202E(zoneBoundary, boundarySide2); + _202D_202D_206F_202D_206F_202C_206C_202C_206D_206D_202C_206D_200B_206E_206A_202E_206E_202B_202A_206D_202E_206F_202D_200F_200D_206C_202B_200C_206A_206E_202C_206F_202D_202D_200F_202E_200C_202B_200F_200F_202E(zoneBoundary, exitRangeEntry == null); + list.Add(zoneBoundary); + hashSet.Add((current.SourceTerritoryId, current.InstanceId)); + num = ((!(exitRangeEntry != null)) ? (-267048234) : (-267048229)); + continue; + end_IL_05ac: + break; + } + continue; + end_IL_079b: + break; + } + } + finally + { + int num = ((enumerator == null) ? (-1091399177) : (-1091399180)); + while (true) + { + int num17 = num; + int num3 = -1091399178; + int num4 = num17; + int num18 = num4 + num3; + int num19 = num4 & num3; + switch (num18 - (num19 + num19)) + { + case 0: + num = -1091399180; + break; + case 2: + _206C_206E_202B_206F_206C_206F_202B_206E_206C_200B_200B_206E_206E_202C_206E_202D_200B_202D_202B_202C_200F_202B_200F_206E_206B_206D_206E_206D_206C_200F_200D_200E_206C_206B_206C_202D_206A_206C_200C_206C_202E((IDisposable)enumerator); + num = -1091399177; + break; + case 1: + goto end_IL_082c; + } + continue; + end_IL_082c: + break; + } + } + HashSet<(ushort, ushort)> hashSet2 = new HashSet<(ushort, ushort)>(); + using (List.Enumerator enumerator3 = list.GetEnumerator()) + { + int num = 1178177588; + while (true) + { + int num20 = num; + int num3 = 1178177589; + int num4 = num20; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = 1178177588; + break; + case 2: + { + ZoneBoundary current4 = enumerator3.Current; + hashSet2.Add((_202D_202A_206E_206F_206B_202A_206A_206D_206B_202B_202A_200B_206C_200D_202E_202B_200F_200D_202A_202A_202A_206E_200E_206E_206D_206B_200F_200E_202E_200B_200D_200D_200E_206B_206B_200E_200C_202D_200F_206D_202E(_206B_206B_202B_206E_206D_200E_200E_202A_206F_206E_206A_202E_200D_206C_202C_202E_206F_206E_202B_206F_200F_206C_200C_200B_200B_206E_202D_200E_200F_202E_206D_202B_202D_206E_202E_202A_206E_202A_200D_206B_202E(current4)), _202D_202A_206E_206F_206B_202A_206A_206D_206B_202B_202A_200B_206C_200D_202E_202B_200F_200D_202A_202A_202A_206E_200E_206E_206D_206B_200F_200E_202E_200B_200D_200D_200E_206B_206B_200E_200C_202D_200F_206D_202E(_206E_206F_202C_202D_200E_202C_200B_206D_206C_206F_202A_206E_200D_206D_202B_200E_200E_200D_202C_202D_206B_202A_202B_200B_200B_202B_202C_206A_202A_206A_206E_202D_200F_202D_206C_206E_206B_200B_206D_206B_202E(current4)))); + hashSet2.Add((_202D_202A_206E_206F_206B_202A_206A_206D_206B_202B_202A_200B_206C_200D_202E_202B_200F_200D_202A_202A_202A_206E_200E_206E_206D_206B_200F_200E_202E_200B_200D_200D_200E_206B_206B_200E_200C_202D_200F_206D_202E(_206E_206F_202C_202D_200E_202C_200B_206D_206C_206F_202A_206E_200D_206D_202B_200E_200E_200D_202C_202D_206B_202A_202B_200B_200B_202B_202C_206A_202A_206A_206E_202D_200F_202D_206C_206E_206B_200B_206D_206B_202E(current4)), _202D_202A_206E_206F_206B_202A_206A_206D_206B_202B_202A_200B_206C_200D_202E_202B_200F_200D_202A_202A_202A_206E_200E_206E_206D_206B_200F_200E_202E_200B_200D_200D_200E_206B_206B_200E_200C_202D_200F_206D_202E(_206B_206B_202B_206E_206D_200E_200E_202A_206F_206E_206A_202E_200D_206C_202C_202E_206F_206E_202B_206F_200F_206C_200C_200B_200B_206E_202D_200E_200F_202E_206D_202B_202D_206E_202E_202A_206E_202A_200D_206B_202E(current4)))); + num = 1178177588; + break; + } + case 1: + num = (enumerator3.MoveNext() ? 1178177591 : 1178177589); + break; + case 0: + goto end_IL_0894; + } + continue; + end_IL_0894: + break; + } + } + using List.Enumerator enumerator4 = list2.GetEnumerator(); + int num = -784506281; + ExitRangeEntry current5 = default(ExitRangeEntry); + while (true) + { + int num21 = num; + int num3 = -784506286; + int num4 = num21; + int num22 = num4 + num3; + int num23 = num4 & num3; + switch (num22 - (num23 + num23)) + { + case 2: + _200D_206A_206E_206E_202D_206D_206C_202A_200E_202B_200D_200E_206A_200C_202E_206D_202E_200B_200B_206A_200B_206D_206E_202E_200D_202C_200E_200B_200B_206F_206E_206E_200F_202D_200B_200B_206E_206F_206C_202B_202E(logger, global::_003CModule_003E._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(1622363206), new object[4] { current5.InstanceId, current5.SourceTerritoryId, current5.DestTerritoryId, current5.DestInstanceId }); + num = -784506281; + break; + case 5: + num = (enumerator4.MoveNext() ? (-784506285) : (-784506287)); + break; + case 1: + current5 = enumerator4.Current; + num = ((!hashSet2.Contains((current5.SourceTerritoryId, current5.DestTerritoryId))) ? (-784506288) : (-784506282)); + break; + case 0: + num = -784506281; + break; + case 4: + _202D_200E_200D_200C_206C_200C_200E_202E_206E_202A_200B_200C_206A_200E_206B_200C_200E_200C_200B_206E_206A_206D_202E_200B_200B_202B_202D_206D_202E_202A_202C_200C_206F_202E_206C_202D_202D_206F_206E_206F_202E(logger, global::_003CModule_003E._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(-566963400), new object[3] { current5.InstanceId, current5.SourceTerritoryId, current5.DestTerritoryId }); + num = -784506281; + break; + case 3: + return list; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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); + int num; + using (List.Enumerator enumerator = boundaries.GetEnumerator()) + { + num = -1561912476; + ZoneBoundary current = default(ZoneBoundary); + while (true) + { + int num2 = num; + int num3 = -1561912474; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _206D_200F_200E_202B_202D_200F_206D_200C_200C_200E_206E_202C_202D_206A_206C_200F_200E_206C_206A_206F_206A_200C_206E_206D_202B_206F_200C_206E_200C_202A_202C_206A_200D_206C_200C_206B_200D_202A_200C_206E_202E(current, true); + num = -1561912476; + break; + case 1: + current = enumerator.Current; + num = ((!hashSet.Contains(PairKey(_202D_202A_206E_206F_206B_202A_206A_206D_206B_202B_202A_200B_206C_200D_202E_202B_200F_200D_202A_202A_202A_206E_200E_206E_206D_206B_200F_200E_202E_200B_200D_200D_200E_206B_206B_200E_200C_202D_200F_206D_202E(_206B_206B_202B_206E_206D_200E_200E_202A_206F_206E_206A_202E_200D_206C_202C_202E_206F_206E_202B_206F_200F_206C_200C_200B_200B_206E_202D_200E_200F_202E_206D_202B_202D_206E_202E_202A_206E_202A_200D_206B_202E(current)), _202D_202A_206E_206F_206B_202A_206A_206D_206B_202B_202A_200B_206C_200D_202E_202B_200F_200D_202A_202A_202A_206E_200E_206E_206D_206B_200F_200E_202E_200B_200D_200D_200E_206B_206B_200E_200C_202D_200F_206D_202E(_206E_206F_202C_202D_200E_202C_200B_206D_206C_206F_202A_206E_200D_206D_202B_200E_200E_200D_202C_202D_206B_202A_202B_200B_200B_202B_202C_206A_202A_206A_206E_202D_200F_202D_206C_206E_206B_200B_206D_206B_202E(current))))) ? (-1561912476) : (-1561912474)); + break; + case 2: + num = (enumerator.MoveNext() ? (-1561912473) : (-1561912475)); + break; + case 4: + num = -1561912476; + break; + case 3: + goto end_IL_001a; + } + continue; + end_IL_001a: + break; + } + } + Dictionary<(ushort, ushort), List> dictionary = (from b in boundaries + group b by PairKey(_003C_003Ec._206D_206F_200D_206F_206B_202C_206B_206C_200F_206E_202A_202E_202B_202E_200D_206A_200D_202A_206A_202D_200D_200B_206E_200F_202C_202D_206A_200F_200C_206C_206B_206C_200B_202D_202C_202C_200C_200C_200C_202E_202E(_003C_003Ec._200B_202E_206E_206E_206E_202A_202D_202A_202D_206A_206F_202B_200C_206B_206C_200E_206D_202B_200D_200B_202B_206F_206C_202B_206B_200C_206A_206E_202D_200F_206C_200B_206C_200E_202A_202C_202B_206B_200D_202C_202E(b)), _003C_003Ec._206D_206F_200D_206F_206B_202C_206B_206C_200F_206E_202A_202E_202B_202E_200D_206A_200D_202A_206A_202D_200D_200B_206E_200F_202C_202D_206A_200F_200C_206C_206B_206C_200B_202D_202C_202C_200C_200C_200C_202E_202E(_003C_003Ec._202B_206C_206B_202E_202D_200C_200F_200C_206D_200C_206F_202B_200F_200C_206E_200C_200E_202E_206E_202B_206E_202A_206A_200D_200D_206B_202D_202D_200D_202E_206D_202E_202E_206C_202D_202E_200C_202E_200C_200F_202E(b)))).ToDictionary((IGrouping<(ushort, ushort), ZoneBoundary> g) => g.Key, (IGrouping<(ushort, ushort), ZoneBoundary> g) => g.ToList()); + int num7 = 0; + IEnumerator> enumerator2 = (from o in positionOverrides + group o by (TerritoryA: o.TerritoryA, TerritoryB: o.TerritoryB)).GetEnumerator(); + try + { + List list = default(List); + bool[] array2 = default(bool[]); + (float, int, int) current3 = default((float, int, int)); + int num14 = default(int); + while (true) + { + IL_0519: + if (_202D_202B_200E_200D_200F_206B_200E_202A_206C_200F_200C_202B_202A_200E_206D_206C_200D_202D_206D_206B_206A_200D_206C_200D_206A_202C_202A_206B_206E_206B_200D_202C_200F_206C_206E_202C_206B_206D_200F_206A_202E((IEnumerator)enumerator2)) + { + IGrouping<(ushort, ushort), ZoneBoundaryPositionOverride> current2 = enumerator2.Current; + list = current2.ToList(); + if (!dictionary.TryGetValue(current2.Key, out var value)) + { + num7 += list.Count; + _200D_206A_206E_206E_202D_206D_206C_202A_200E_202B_200D_200E_206A_200C_202E_206D_202E_200B_200B_206A_200B_206D_206E_202E_200D_202C_200E_200B_200B_206F_206E_206E_200F_202D_200B_200B_206E_206F_206C_202B_202E(logger, global::_003CModule_003E._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(-1356546708), new object[3] + { + current2.Key.Item1, + current2.Key.Item2, + list.Count + }); + continue; + } + List<(float, int, int)> list2 = new List<(float, int, int)>(); + int num8 = 0; + while (num8 < value.Count) + { + int num3; + int num4; + for (int num9 = 0; num9 < list.Count; num9 = (num4 | num3) + (num4 & num3)) + { + list2.Add((OverrideDistance(value[num8], list[num9]), num8, num9)); + int num10 = num9; + num3 = 1; + num4 = num10; + } + int num11 = num8; + num3 = 1; + num4 = num11; + num8 = (num4 | num3) + (num4 & num3); + } + bool[] array = new bool[value.Count]; + array2 = new bool[list.Count]; + IEnumerator<(float, int, int)> enumerator3 = list2.OrderBy<(float, int, int), float>(((float Distance, int GateIdx, int OverrideIdx) c) => c.Distance).GetEnumerator(); + try + { + num = -397486009; + while (true) + { + int num12 = num; + int num3 = -397486013; + int num4 = num12; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -397486009; + break; + case 5: + num = (array2[current3.Item3] ? (-397486009) : (-397486015)); + break; + case 4: + num = (_202D_202B_200E_200D_200F_206B_200E_202A_206C_200F_200C_202B_202A_200E_206D_206C_200D_202D_206D_206B_206A_200D_206C_200D_206A_202C_202A_206B_206E_206B_200D_202C_200F_206C_206E_202C_206B_206D_200F_206A_202E((IEnumerator)enumerator3) ? (-397486014) : (-397486013)); + break; + case 2: + { + array[current3.Item2] = true; + array2[current3.Item3] = true; + ZoneBoundary zoneBoundary = value[current3.Item2]; + ZoneBoundaryPositionOverride zoneBoundaryPositionOverride = list[current3.Item3]; + bool flag = _202D_202A_206E_206F_206B_202A_206A_206D_206B_202B_202A_200B_206C_200D_202E_202B_200F_200D_202A_202A_202A_206E_200E_206E_206D_206B_200F_200E_202E_200B_200D_200D_200E_206B_206B_200E_200C_202D_200F_206D_202E(_206B_206B_202B_206E_206D_200E_200E_202A_206F_206E_206A_202E_200D_206C_202C_202E_206F_206E_202B_206F_200F_206C_200C_200B_200B_206E_202D_200E_200F_202E_206D_202B_202D_206E_202E_202A_206E_202A_200D_206B_202E(zoneBoundary)) == zoneBoundaryPositionOverride.TerritoryA; + _200C_202D_200E_202A_202C_206D_200D_202C_200D_202E_202E_206B_206D_202E_202B_206A_200E_202A_202B_200F_202C_206C_206B_200B_200B_200D_202A_206A_206A_202E_200F_206B_206C_202E_200C_206A_200D_202A_202C_200D_202E(_206B_206B_202B_206E_206D_200E_200E_202A_206F_206E_206A_202E_200D_206C_202C_202E_206F_206E_202B_206F_200F_206C_200C_200B_200B_206E_202D_200E_200F_202E_206D_202B_202D_206E_202E_202A_206E_202A_200D_206B_202E(zoneBoundary), flag ? zoneBoundaryPositionOverride.PositionA : zoneBoundaryPositionOverride.PositionB); + _200C_202D_200E_202A_202C_206D_200D_202C_200D_202E_202E_206B_206D_202E_202B_206A_200E_202A_202B_200F_202C_206C_206B_200B_200B_200D_202A_206A_206A_202E_200F_206B_206C_202E_200C_206A_200D_202A_202C_200D_202E(_206E_206F_202C_202D_200E_202C_200B_206D_206C_206F_202A_206E_200D_206D_202B_200E_200E_200D_202C_202D_206B_202A_202B_200B_200B_202B_202C_206A_202A_206A_206E_202D_200F_202D_206C_206E_206B_200B_206D_206B_202E(zoneBoundary), flag ? zoneBoundaryPositionOverride.PositionB : zoneBoundaryPositionOverride.PositionA); + num = -397486009; + break; + } + case 1: + current3 = enumerator3.Current; + num = (array[current3.Item2] ? (-397486009) : (-397486010)); + break; + case 0: + goto end_IL_02f4; + } + continue; + end_IL_02f4: + break; + } + } + finally + { + num = ((enumerator3 == null) ? 386803249 : 386803248); + while (true) + { + int num13 = num; + int num3 = 386803249; + int num4 = num13; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 386803248; + break; + case 0: + goto end_IL_0476; + case 1: + _206C_206E_202B_206F_206C_206F_202B_206E_206C_200B_200B_206E_206E_202C_206E_202D_200B_202D_202B_202C_200F_202B_200F_206E_206B_206D_206E_206D_206C_200F_200D_200E_206C_206B_206C_202D_206A_206C_200C_206C_202E((IDisposable)enumerator3); + num = 386803249; + break; + } + continue; + end_IL_0476: + break; + } + } + num14 = 0; + num = -1707302670; + } + else + { + num = -1707302671; + } + while (true) + { + int num15 = num; + int num3 = -1707302671; + int num4 = num15; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 5: + num = -1707302670; + continue; + case 2: + break; + case 1: + { + int num19 = num14; + num3 = 1; + num4 = num19; + int num20 = num4 ^ num3; + int num21 = num4 & num3; + num14 = num20 + (num21 + num21); + num = -1707302670; + continue; + } + case 4: + num = (array2[num14] ? (-1707302672) : (-1707302665)); + continue; + case 3: + num = ((num14 < list.Count) ? (-1707302667) : (-1707302669)); + continue; + case 6: + { + int num16 = num7; + num3 = 1; + num4 = num16; + int num17 = num4 ^ num3; + int num18 = num4 & num3; + num7 = num17 + (num18 + num18); + num = -1707302672; + continue; + } + case 0: + goto end_IL_04d1; + } + goto IL_0519; + continue; + end_IL_04d1: + break; + } + break; + } + } + finally + { + num = ((enumerator2 == null) ? (-284585100) : (-284585099)); + while (true) + { + int num22 = num; + int num3 = -284585100; + int num4 = num22; + int num23 = num4 + num3; + int num24 = num4 & num3; + switch (num23 - (num24 + num24)) + { + case 0: + goto end_IL_05df; + case 1: + _206C_206E_202B_206F_206C_206F_202B_206E_206C_200B_200B_206E_206E_202C_206E_202D_200B_202D_202B_202C_200F_202B_200F_206E_206B_206D_206E_206D_206C_200F_200D_200E_206C_206B_206C_202D_206A_206C_200C_206C_202E((IDisposable)enumerator2); + num = -284585100; + break; + case 2: + num = -284585099; + break; + } + continue; + end_IL_05df: + break; + } + } + num = ((num7 <= 0) ? 1969313430 : 1969313429); + while (true) + { + int num25 = num; + int num3 = 1969313428; + int num4 = num25; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1969313429; + break; + case 2: + return; + case 1: + _200D_206A_206E_206E_202D_206D_206C_202A_200E_202B_200D_200E_206A_200C_202E_206D_202E_200B_200B_206A_200B_206D_206E_202E_200D_202C_200E_200B_200B_206F_206E_206E_200F_202D_200B_200B_206E_206F_206C_202B_202E(logger, global::_003CModule_003E._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(-1309944593), new object[1] { num7 }); + num = 1969313430; + break; + } + } + static (ushort, ushort) PairKey(ushort a, ushort b) + { + int num26 = ((a <= b) ? 1834815279 : 1834815278); + while (true) + { + int num27 = num26; + int num28 = 1834815279; + int num29 = num27; + int num30 = num29 + num28; + int num31 = num29 & num28; + switch (num30 - (num31 + num31)) + { + case 2: + goto IL_0044; + case 1: + return (b, a); + case 0: + return (a, b); + } + continue; + IL_0044: + num26 = 1834815278; + } + } + } + + private static TriggerBox? TriggerOf(ExitRangeEntry exit) + { + int num = ((exit.HalfExtents == Vector3.Zero) ? 1355373667 : 1355373664); + while (true) + { + int num2 = num; + int num3 = 1355373666; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0052; + case 1: + return null; + case 2: + return _202A_200B_206C_200F_202B_206B_200C_202D_202D_202D_200B_206E_206F_202C_206F_206D_202B_200E_206A_206D_206A_206A_206C_206C_202E_202D_202C_206B_206B_200C_202A_206A_202B_200B_206E_206A_206A_202C_200C_200D_202E(exit.SourcePosition, exit.Rotation, exit.HalfExtents); + } + continue; + IL_0052: + num = 1355373664; + } + } + + private static float OverrideDistance(ZoneBoundary gate, ZoneBoundaryPositionOverride ovr) + { + int num = ((_202D_202A_206E_206F_206B_202A_206A_206D_206B_202B_202A_200B_206C_200D_202E_202B_200F_200D_202A_202A_202A_206E_200E_206E_206D_206B_200F_200E_202E_200B_200D_200D_200E_206B_206B_200E_200C_202D_200F_206D_202E(_206B_206B_202B_206E_206D_200E_200E_202A_206F_206E_206A_202E_200D_206C_202C_202E_206F_206E_202B_206F_200F_206C_200C_200B_200B_206E_202D_200E_200F_202E_206D_202B_202D_206E_202E_202A_206E_202A_200D_206B_202E(gate)) == ovr.TerritoryA) ? (-1856097741) : (-1856097744)); + while (true) + { + int num2 = num; + int num3 = -1856097743; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0053; + case 1: + return Vector3.Distance(_202B_200F_206F_202D_200E_206B_206F_206F_202B_200D_202B_202D_202B_202A_206E_206E_200F_206E_206A_206E_202D_200D_202B_206F_200F_206C_200E_206D_200F_202E_206C_202C_200F_202E_206F_200B_200E_206C_206E_202C_202E(_206B_206B_202B_206E_206D_200E_200E_202A_206F_206E_206A_202E_200D_206C_202C_202E_206F_206E_202B_206F_200F_206C_200C_200B_200B_206E_202D_200E_200F_202E_206D_202B_202D_206E_202E_202A_206E_202A_200D_206B_202E(gate)), ovr.PositionB) + Vector3.Distance(_202B_200F_206F_202D_200E_206B_206F_206F_202B_200D_202B_202D_202B_202A_206E_206E_200F_206E_206A_206E_202D_200D_202B_206F_200F_206C_200E_206D_200F_202E_206C_202C_200F_202E_206F_200B_200E_206C_206E_202C_202E(_206E_206F_202C_202D_200E_202C_200B_206D_206C_206F_202A_206E_200D_206D_202B_200E_200E_200D_202C_202D_206B_202A_202B_200B_200B_202B_202C_206A_202A_206A_206E_202D_200F_202D_206C_206E_206B_200B_206D_206B_202E(gate)), ovr.PositionA); + case 2: + return Vector3.Distance(_202B_200F_206F_202D_200E_206B_206F_206F_202B_200D_202B_202D_202B_202A_206E_206E_200F_206E_206A_206E_202D_200D_202B_206F_200F_206C_200E_206D_200F_202E_206C_202C_200F_202E_206F_200B_200E_206C_206E_202C_202E(_206B_206B_202B_206E_206D_200E_200E_202A_206F_206E_206A_202E_200D_206C_202C_202E_206F_206E_202B_206F_200F_206C_200C_200B_200B_206E_202D_200E_200F_202E_206D_202B_202D_206E_202E_202A_206E_202A_200D_206B_202E(gate)), ovr.PositionA) + Vector3.Distance(_202B_200F_206F_202D_200E_206B_206F_206F_202B_200D_202B_202D_202B_202A_206E_206E_200F_206E_206A_206E_202D_200D_202B_206F_200F_206C_200E_206D_200F_202E_206C_202C_200F_202E_206F_200B_200E_206C_206E_202C_202E(_206E_206F_202C_202D_200E_202C_200B_206D_206C_206F_202A_206E_200D_206D_202B_200E_200E_200D_202C_202D_206B_202A_202B_200B_200B_202B_202C_206A_202A_206A_206E_202D_200F_202D_206C_206E_206B_200B_206D_206B_202E(gate)), ovr.PositionB); + } + continue; + IL_0053: + num = -1856097744; + } + } + + [CompilerGenerated] + internal static (ushort, ushort) _003CApplyOverrides_003Eg__PairKey_007C1_0(ushort a, ushort b) + { + int num = ((a <= b) ? 1834815279 : 1834815278); + while (true) + { + int num2 = num; + int num3 = 1834815279; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0044; + case 1: + return (b, a); + case 0: + return (a, b); + } + continue; + IL_0044: + num = 1834815278; + } + } + + static bool _202D_202B_200E_200D_200F_206B_200E_202A_206C_200F_200C_202B_202A_200E_206D_206C_200D_202D_206D_206B_206A_200D_206C_200D_206A_202C_202A_206B_206E_206B_200D_202C_200F_206C_206E_202C_206B_206D_200F_206A_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206C_206E_202B_206F_206C_206F_202B_206E_206C_200B_200B_206E_206E_202C_206E_202D_200B_202D_202B_202C_200F_202B_200F_206E_206B_206D_206E_206D_206C_200F_200D_200E_206C_206B_206C_202D_206A_206C_200C_206C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static ZoneBoundary _202E_200D_206B_202D_206A_206B_200F_202B_200B_206D_202C_206E_206F_206B_206B_202C_202E_202A_202B_200D_200B_200E_202A_202A_206F_202C_206F_206B_200C_200C_200C_206C_200B_202D_200D_206F_202D_200F_200B_206C_202E() + { + return new ZoneBoundary(); + } + + static void _202D_202C_206F_206A_202B_200E_206C_206C_206F_202B_202B_206B_206D_206F_206A_202E_202D_206A_200F_200B_206E_200B_200D_206C_206B_202C_202B_206D_206B_206A_202B_206E_202B_202E_202D_200E_200D_206A_200B_206B_202E(ZoneBoundary P_0, string P_1) + { + P_0.Id = P_1; + } + + static BoundarySide _202A_202A_202B_206F_200B_200B_206A_206F_206A_202A_206A_200B_200B_200F_202B_206C_200C_206F_200B_206C_200E_200B_202A_200E_200C_200C_202A_200D_206F_206C_202D_202E_202B_202C_200B_200E_206B_202D_202D_206F_202E() + { + return new BoundarySide(); + } + + static void _202A_202A_200F_206F_206B_206B_206D_206B_200B_200B_206F_200D_206F_202D_200B_200F_202D_206A_202A_200B_206A_200F_206A_200B_200C_200B_202A_200C_206F_200C_200C_200C_202D_200F_200C_202E_202A_200D_202A_202A_202E(BoundarySide P_0, ushort P_1) + { + P_0.TerritoryId = P_1; + } + + static void _200C_202D_200E_202A_202C_206D_200D_202C_200D_202E_202E_206B_206D_202E_202B_206A_200E_202A_202B_200F_202C_206C_206B_200B_200B_200D_202A_206A_206A_202E_200F_206B_206C_202E_200C_206A_200D_202A_202C_200D_202E(BoundarySide P_0, Vector3 P_1) + { + P_0.Position = P_1; + } + + static void _200C_206F_200C_202B_206A_202A_206E_200F_202E_200E_202A_200D_200B_202D_200B_202A_202B_206B_206A_200B_206F_202C_202C_202C_202C_206D_202E_202E_200B_202A_206E_202B_206B_206A_202C_202E_202E_206F_206E_200F_202E(BoundarySide P_0, TriggerBox P_1) + { + P_0.Trigger = P_1; + } + + static void _206E_206D_200C_200F_202C_202D_200F_206F_200D_206E_202E_202B_200D_206E_202D_200D_200B_202B_202B_202E_202E_200F_206F_200C_202A_200B_206B_202E_206A_202C_202D_206E_206F_202E_200F_200B_202D_206A_206C_200C_202E(ZoneBoundary P_0, BoundarySide P_1) + { + P_0.Side1 = P_1; + } + + static void _206C_202E_202B_200D_202A_200C_200C_206A_200C_202C_206E_206A_200C_206F_206B_206E_206B_206E_206E_206E_206A_200E_200E_206D_206C_206F_200D_202A_202D_200E_202A_200C_200B_206E_200C_206C_200B_206A_200C_202A_202E(ZoneBoundary P_0, BoundarySide P_1) + { + P_0.Side2 = P_1; + } + + static void _202D_202D_206F_202D_206F_202C_206C_202C_206D_206D_202C_206D_200B_206E_206A_202E_206E_202B_202A_206D_202E_206F_202D_200F_200D_206C_202B_200C_206A_206E_202C_206F_202D_202D_200F_202E_200C_202B_200F_200F_202E(ZoneBoundary P_0, bool P_1) + { + P_0.OneWay = P_1; + } + + static BoundarySide _206B_206B_202B_206E_206D_200E_200E_202A_206F_206E_206A_202E_200D_206C_202C_202E_206F_206E_202B_206F_200F_206C_200C_200B_200B_206E_202D_200E_200F_202E_206D_202B_202D_206E_202E_202A_206E_202A_200D_206B_202E(ZoneBoundary P_0) + { + return P_0.Side1; + } + + static ushort _202D_202A_206E_206F_206B_202A_206A_206D_206B_202B_202A_200B_206C_200D_202E_202B_200F_200D_202A_202A_202A_206E_200E_206E_206D_206B_200F_200E_202E_200B_200D_200D_200E_206B_206B_200E_200C_202D_200F_206D_202E(BoundarySide P_0) + { + return P_0.TerritoryId; + } + + static BoundarySide _206E_206F_202C_202D_200E_202C_200B_206D_206C_206F_202A_206E_200D_206D_202B_200E_200E_200D_202C_202D_206B_202A_202B_200B_200B_202B_202C_206A_202A_206A_206E_202D_200F_202D_206C_206E_206B_200B_206D_206B_202E(ZoneBoundary P_0) + { + return P_0.Side2; + } + + static void _202D_200E_200D_200C_206C_200C_200E_202E_206E_202A_200B_200C_206A_200E_206B_200C_200E_200C_200B_206E_206A_206D_202E_200B_200B_202B_202D_206D_202E_202A_202C_200C_206F_202E_206C_202D_202D_206F_206E_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static void _200D_206A_206E_206E_202D_206D_206C_202A_200E_202B_200D_200E_206A_200C_202E_206D_202E_200B_200B_206A_200B_206D_206E_202E_200D_202C_200E_200B_200B_206F_206E_206E_200F_202D_200B_200B_206E_206F_206C_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _206D_200F_200E_202B_202D_200F_206D_200C_200C_200E_206E_202C_202D_206A_206C_200F_200E_206C_206A_206F_206A_200C_206E_206D_202B_206F_200C_206E_200C_202A_202C_206A_200D_206C_200C_206B_200D_202A_200C_206E_202E(ZoneBoundary P_0, bool P_1) + { + P_0.RequiresFlying = P_1; + } + + static TriggerBox _202A_200B_206C_200F_202B_206B_200C_202D_202D_202D_200B_206E_206F_202C_206F_206D_202B_200E_206A_206D_206A_206A_206C_206C_202E_202D_202C_206B_206B_200C_202A_206A_202B_200B_206E_206A_206A_202C_200C_200D_202E(Vector3 P_0, Vector3 P_1, Vector3 P_2) + { + return new TriggerBox(P_0, P_1, P_2); + } + + static Vector3 _202B_200F_206F_202D_200E_206B_206F_206F_202B_200D_202B_202D_202B_202A_206E_206E_200F_206E_206A_206E_202D_200D_202B_206F_200F_206C_200E_206D_200F_202E_206C_202C_200F_202E_206F_200B_200E_206C_206E_202C_202E(BoundarySide P_0) + { + return P_0.Position; + } +} diff --git a/SmartNav/SmartNav.Data/ZoneBoundaryOverrides.cs b/SmartNav/SmartNav.Data/ZoneBoundaryOverrides.cs new file mode 100644 index 00000000..08214705 --- /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 00000000..10d9f28a --- /dev/null +++ b/SmartNav/SmartNav.Data/ZoneBoundaryPositionOverride.cs @@ -0,0 +1,145 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; + +namespace SmartNav.Data; + +internal sealed record ZoneBoundaryPositionOverride(ushort TerritoryA, ushort TerritoryB, Vector3 PositionA, Vector3 PositionB) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202A_206A_200B_206E_206E_206B_200B_206A_200E_200B_206B_206A_206C_206C_206D_200D_206E_200E_200D_200C_202E_200B_202E_202A_200B_200C_200E_200B_200F_202C_206E_200C_200C_202B_206C_206D_202A_200C_200E_200C_202E(typeof(ZoneBoundaryPositionOverride).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_202D_202A_206A_206F_206D_200B_206E_200C_206D_206A_200E_200F_200C_202B_202C_206A_206B_202A_206B_200B_206A_202D_206D_206A_206F_200D_202C_206B_206A_200D_200C_200C_206C_202D_200C_200B_200E_202C_202E_202E(); + _206C_206E_206B_206A_200E_200F_202A_200E_200D_200E_202A_200D_202D_200B_206D_200E_206A_200F_202B_202A_202D_206A_200B_206E_202C_206E_206A_206D_200E_200C_202B_202A_206F_200C_202E_206F_206E_206C_202B_206E_202E(stringBuilder, global::_003CModule_003E._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(128434039)); + _206C_206E_206B_206A_200E_200F_202A_200E_200D_200E_202A_200D_202D_200B_206D_200E_206A_200F_202B_202A_202D_206A_200B_206E_202C_206E_206A_206D_200E_200C_202B_202A_206F_200C_202E_206F_206E_206C_202B_206E_202E(stringBuilder, global::_003CModule_003E._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(1547267250)); + int num = ((!PrintMembers(stringBuilder)) ? 377403111 : 377403110); + while (true) + { + int num2 = num; + int num3 = 377403111; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 377403110; + break; + case 1: + _200B_206D_206F_200B_200B_206F_202D_206A_200C_202E_202B_200F_200D_200C_200F_202C_206E_202D_206F_200D_202A_202D_206B_200B_200B_200E_202C_202C_206E_202B_200C_206E_206D_202E_202C_200D_200D_206E_206E_206E_202E(stringBuilder, ' '); + num = 377403111; + break; + case 0: + _200B_206D_206F_200B_200B_206F_202D_206A_200C_202E_202B_200F_200D_200C_200F_202C_206E_202D_206F_200D_202A_202D_206B_200B_200B_200E_202C_202C_206E_202B_200C_206E_206D_202E_202C_200D_200D_206E_206E_206E_202E(stringBuilder, '}'); + return _206F_206A_202C_202C_206E_206D_202C_202C_200C_200C_200E_202B_206E_206E_202A_200D_206C_206D_206B_202C_202B_200B_200C_206F_206C_202D_200B_206C_202A_202C_202E_202E_206B_200B_200B_206D_206A_206B_200F_206E_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200D_206B_200F_200E_206C_202A_202A_200F_206F_200C_200C_202A_200B_202C_200D_202C_206E_202A_202D_202D_206E_200B_206C_200E_206D_202D_202D_206E_202C_206A_202E_200C_206A_200C_200E_206B_202B_206D_206B_202A_202E(); + _206C_206E_206B_206A_200E_200F_202A_200E_200D_200E_202A_200D_202D_200B_206D_200E_206A_200F_202B_202A_202D_206A_200B_206E_202C_206E_206A_206D_200E_200C_202B_202A_206F_200C_202E_206F_206E_206C_202B_206E_202E(builder, global::_003CModule_003E._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(-1709044676)); + _206C_206E_206B_206A_200E_200F_202A_200E_200D_200E_202A_200D_202D_200B_206D_200E_206A_200F_202B_202A_202D_206A_200B_206E_202C_206E_206A_206D_200E_200C_202B_202A_206F_200C_202E_206F_206E_206C_202B_206E_202E(builder, TerritoryA.ToString()); + _206C_206E_206B_206A_200E_200F_202A_200E_200D_200E_202A_200D_202D_200B_206D_200E_206A_200F_202B_202A_202D_206A_200B_206E_202C_206E_206A_206D_200E_200C_202B_202A_206F_200C_202E_206F_206E_206C_202B_206E_202E(builder, global::_003CModule_003E._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(1792963311)); + _206C_206E_206B_206A_200E_200F_202A_200E_200D_200E_202A_200D_202D_200B_206D_200E_206A_200F_202B_202A_202D_206A_200B_206E_202C_206E_206A_206D_200E_200C_202B_202A_206F_200C_202E_206F_206E_206C_202B_206E_202E(builder, TerritoryB.ToString()); + _206C_206E_206B_206A_200E_200F_202A_200E_200D_200E_202A_200D_202D_200B_206D_200E_206A_200F_202B_202A_202D_206A_200B_206E_202C_206E_206A_206D_200E_200C_202B_202A_206F_200C_202E_206F_206E_206C_202B_206E_202E(builder, global::_003CModule_003E._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(1559417746)); + _206C_206E_206B_206A_200E_200F_202A_200E_200D_200E_202A_200D_202D_200B_206D_200E_206A_200F_202B_202A_202D_206A_200B_206E_202C_206E_206A_206D_200E_200C_202B_202A_206F_200C_202E_206F_206E_206C_202B_206E_202E(builder, PositionA.ToString()); + _206C_206E_206B_206A_200E_200F_202A_200E_200D_200E_202A_200D_202D_200B_206D_200E_206A_200F_202B_202A_202D_206A_200B_206E_202C_206E_206A_206D_200E_200C_202B_202A_206F_200C_202E_206F_206E_206C_202B_206E_202E(builder, global::_003CModule_003E._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(900245019)); + _206C_206E_206B_206A_200E_200F_202A_200E_200D_200E_202A_200D_202D_200B_206D_200E_206A_200F_202B_202A_202D_206A_200B_206E_202C_206E_206A_206D_200E_200C_202B_202A_206F_200C_202E_206F_206E_206C_202B_206E_202E(builder, PositionB.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(ZoneBoundaryPositionOverride? other) + { + int num = (((object)this == other) ? 975251074 : 975251072); + while (true) + { + int num2 = num; + int num3 = 975251074; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = ((!EqualityComparer.Default.Equals(TerritoryA, other.TerritoryA)) ? 975251073 : 975251077); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(TerritoryB, other.TerritoryB)) ? 975251073 : 975251076); + break; + case 1: + num = ((!_202C_202A_200E_200C_206D_206A_206D_202C_206C_206A_200D_200C_202C_202B_202D_200E_202B_200D_202B_202C_202C_200C_200F_200B_202B_200C_202E_202D_202E_200E_200F_200F_202D_206B_206D_202C_206E_200E_206E_202A_202E(EqualityContract, other.EqualityContract)) ? 975251073 : 975251078); + break; + case 0: + return true; + case 2: + num = (((object)other == null) ? 975251073 : 975251075); + break; + case 5: + num = 975251072; + break; + case 8: + return EqualityComparer.Default.Equals(PositionB, other.PositionB); + case 3: + return false; + case 6: + num = ((!EqualityComparer.Default.Equals(PositionA, other.PositionA)) ? 975251073 : 975251082); + break; + } + } + } + + bool IEquatable.Equals(ZoneBoundaryPositionOverride? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202A_206A_200B_206E_206E_206B_200B_206A_200E_200B_206B_206A_206C_206C_206D_200D_206E_200E_200D_200C_202E_200B_202E_202A_200B_200C_200E_200B_200F_202C_206E_200C_200C_202B_206C_206D_202A_200C_200E_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202A_202D_202A_206A_206F_206D_200B_206E_200C_206D_206A_200E_200F_200C_202B_202C_206A_206B_202A_206B_200B_206A_202D_206D_206A_206F_200D_202C_206B_206A_200D_200C_200C_206C_202D_200C_200B_200E_202C_202E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206C_206E_206B_206A_200E_200F_202A_200E_200D_200E_202A_200D_202D_200B_206D_200E_206A_200F_202B_202A_202D_206A_200B_206E_202C_206E_206A_206D_200E_200C_202B_202A_206F_200C_202E_206F_206E_206C_202B_206E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200B_206D_206F_200B_200B_206F_202D_206A_200C_202E_202B_200F_200D_200C_200F_202C_206E_202D_206F_200D_202A_202D_206B_200B_200B_200E_202C_202C_206E_202B_200C_206E_206D_202E_202C_200D_200D_206E_206E_206E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206F_206A_202C_202C_206E_206D_202C_202C_200C_200C_200E_202B_206E_206E_202A_200D_206C_206D_206B_202C_202B_200B_200C_206F_206C_202D_200B_206C_202A_202C_202E_202E_206B_200B_200B_206D_206A_206B_200F_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200D_206B_200F_200E_206C_202A_202A_200F_206F_200C_200C_202A_200B_202C_200D_202C_206E_202A_202D_202D_206E_200B_206C_200E_206D_202D_202D_206E_202C_206A_202E_200C_206A_200C_200E_206B_202B_206D_206B_202A_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static bool _202C_202A_200E_200C_206D_206A_206D_202C_206C_206A_200D_200C_202C_202B_202D_200E_202B_200D_202B_202C_202C_200C_200F_200B_202B_200C_202E_202D_202E_200E_200F_200F_202D_206B_206D_202C_206E_200E_206E_202A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/SmartNav/SmartNav.Data/ZoneSubRegionService.cs b/SmartNav/SmartNav.Data/ZoneSubRegionService.cs new file mode 100644 index 00000000..2a16d438 --- /dev/null +++ b/SmartNav/SmartNav.Data/ZoneSubRegionService.cs @@ -0,0 +1,199 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Runtime.CompilerServices; +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; + + [MethodImpl(MethodImplOptions.NoInlining)] + public ZoneSubRegionService(SmartNavDataOptions dataOptions, ILogger logger) + { + DirectoryInfo? devSourceDirectory = dataOptions.DevSourceDirectory; + IEnumerator> enumerator = _206A_202C_202C_200B_206D_202D_200F_200F_200B_206E_200C_202B_200F_206E_206B_202E_202E_202C_200E_200E_206A_206D_202A_200C_200C_202D_206D_202E_200E_200C_206A_202E_200D_200F_202D_206A_206D_206F_200E_206C_202E((devSourceDirectory != null) ? _200D_202A_206E_200F_202A_206C_206B_206C_206E_206A_202C_206F_206B_202C_202E_206C_200C_200F_200F_200D_206A_206B_206F_206B_206D_202A_202E_200F_202C_206D_200B_206B_206A_200C_200F_202A_202A_200E_200C_202B_202E((FileSystemInfo)devSourceDirectory) : null).GetEnumerator(); + try + { + while (_206A_200B_200B_206A_202C_202D_202D_202D_206F_206A_200F_206C_206F_202A_200D_202E_200D_200F_200B_200F_206D_202C_200E_200D_200B_206E_206B_206E_200E_206D_202E_200D_202C_206C_206C_202B_206B_206B_206B_206D_202E((IEnumerator)enumerator)) + { + var (s, value) = (KeyValuePair)(ref enumerator.Current); + if (uint.TryParse(s, out var result)) + { + _regions[result] = value; + } + } + } + finally + { + if (enumerator != null) + { + _202E_202A_202C_202A_206F_202E_200B_206E_202D_206F_200D_202E_206D_202D_206A_206F_202B_200D_202C_202D_200D_200B_206A_200E_202C_206C_200D_202B_206D_202D_200D_202E_202A_202B_202A_206F_200D_206C_200E_206B_202E((IDisposable)enumerator); + } + } + _200E_202C_200B_200F_202C_200D_206B_200B_202A_206F_206B_202B_206F_200C_202E_200D_200B_202B_200C_206A_206D_206B_202A_202B_200C_200B_202D_206E_202D_202E_206E_206E_200B_200D_200F_200E_200E_206D_200E_200F_202E((ILogger)logger, global::_003CModule_003E._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(-1099723978), new object[1] { _regions.Count }); + } + + public bool HasSubRegions(uint territoryId) + { + return _regions.ContainsKey(territoryId); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public string? GetSubRegionId(uint territoryId, float x, float y, float z) + { + int num = (_regions.TryGetValue(territoryId, out TerritorySubRegions value) ? 728841310 : 728841311); + SubRegionDefinition current = default(SubRegionDefinition); + while (true) + { + int num2 = num; + int num3 = 728841310; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0057; + case 1: + return null; + case 0: + { + using (List.Enumerator enumerator = _206C_202E_200E_202E_206C_206D_206C_202E_202E_206A_200C_206F_206C_202A_202A_206A_200D_200F_206C_200D_202D_202B_206C_206F_200F_202D_206F_200E_202D_202E_202E_202D_202C_202E_202D_206E_200B_206B_202D_206A_202E(value).GetEnumerator()) + { + num = 607334794; + while (true) + { + int num5 = num; + num3 = 607334794; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = (enumerator.MoveNext() ? 607334798 : 607334792); + break; + case 4: + current = enumerator.Current; + num = ((!_202E_200C_202A_206E_206C_202E_206F_202B_200F_202C_206E_202E_206D_200D_202B_200D_202C_206C_202B_206B_206A_202C_200D_200D_202B_202C_202D_200B_200C_200C_200D_202B_202B_202A_200F_206B_206F_206E_202D_202D_202E(current, x, y, z)) ? 607334794 : 607334795); + break; + case 3: + num = 607334794; + break; + case 1: + return _206D_200C_202E_206A_206F_200B_202D_202B_206D_206E_206E_200F_206C_206E_206E_200F_202D_206E_202E_206C_206E_202E_202B_202A_206E_206B_202C_202D_200E_202B_200F_206E_200B_202A_200C_206E_200C_202C_202B_200F_202E(current); + case 2: + goto end_IL_007d; + } + continue; + end_IL_007d: + break; + } + } + return global::_003CModule_003E._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(-1484802432); + } + } + continue; + IL_0057: + num = 728841311; + } + } + + public IReadOnlyList? GetSubRegions(uint territoryId) + { + TerritorySubRegions value; + int num = (_regions.TryGetValue(territoryId, out value) ? 1403983688 : 1403983691); + while (true) + { + int num2 = num; + int num3 = 1403983689; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004e; + case 2: + return null; + case 1: + return _206C_202E_200E_202E_206C_206D_206C_202E_202E_206A_200C_206F_206C_202A_202A_206A_200D_200F_206C_200D_202D_202B_206C_206F_200F_202D_206F_200E_202D_202E_202E_202D_202C_202E_202D_206E_200B_206B_202D_206A_202E(value); + } + continue; + IL_004e: + num = 1403983691; + } + } + + public IReadOnlyList? GetConnectors(uint territoryId) + { + TerritorySubRegions value; + int num = (_regions.TryGetValue(territoryId, out value) ? 240767514 : 240767513); + while (true) + { + int num2 = num; + int num3 = 240767515; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004e; + case 1: + return _202B_202E_206A_206C_202D_200B_202B_206A_202E_200E_200C_206D_206D_200E_206C_206E_206D_200D_206F_206C_206D_202D_200E_206F_202E_202E_200E_200F_202A_202E_206D_202A_200F_202E_200D_202A_206A_202D_202A_206E_202E(value); + case 2: + return null; + } + continue; + IL_004e: + num = 240767513; + } + } + + static string _200D_202A_206E_200F_202A_206C_206B_206C_206E_206A_202C_206F_206B_202C_202E_206C_200C_200F_200F_200D_206A_206B_206F_206B_206D_202A_202E_200F_202C_206D_200B_206B_206A_200C_200F_202A_202A_200E_200C_202B_202E(FileSystemInfo P_0) + { + return P_0.FullName; + } + + static IReadOnlyDictionary _206A_202C_202C_200B_206D_202D_200F_200F_200B_206E_200C_202B_200F_206E_206B_202E_202E_202C_200E_200E_206A_206D_202A_200C_200C_202D_206D_202E_200E_200C_206A_202E_200D_200F_202D_206A_206D_206F_200E_206C_202E(string P_0) + { + return AssemblyZoneSubRegionLoader.GetRegions(P_0); + } + + static bool _206A_200B_200B_206A_202C_202D_202D_202D_206F_206A_200F_206C_206F_202A_200D_202E_200D_200F_200B_200F_206D_202C_200E_200D_200B_206E_206B_206E_200E_206D_202E_200D_202C_206C_206C_202B_206B_206B_206B_206D_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202E_202A_202C_202A_206F_202E_200B_206E_202D_206F_200D_202E_206D_202D_206A_206F_202B_200D_202C_202D_200D_200B_206A_200E_202C_206C_200D_202B_206D_202D_200D_202E_202A_202B_202A_206F_200D_206C_200E_206B_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static void _200E_202C_200B_200F_202C_200D_206B_200B_202A_206F_206B_202B_206F_200C_202E_200D_200B_202B_200C_206A_206D_206B_202A_202B_200C_200B_202D_206E_202D_202E_206E_206E_200B_200D_200F_200E_200E_206D_200E_200F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static List _206C_202E_200E_202E_206C_206D_206C_202E_202E_206A_200C_206F_206C_202A_202A_206A_200D_200F_206C_200D_202D_202B_206C_206F_200F_202D_206F_200E_202D_202E_202E_202D_202C_202E_202D_206E_200B_206B_202D_206A_202E(TerritorySubRegions P_0) + { + return P_0.SubRegions; + } + + static bool _202E_200C_202A_206E_206C_202E_206F_202B_200F_202C_206E_202E_206D_200D_202B_200D_202C_206C_202B_206B_206A_202C_200D_200D_202B_202C_202D_200B_200C_200C_200D_202B_202B_202A_200F_206B_206F_206E_202D_202D_202E(SubRegionDefinition P_0, float P_1, float P_2, float P_3) + { + return P_0.Contains(P_1, P_2, P_3); + } + + static string _206D_200C_202E_206A_206F_200B_202D_202B_206D_206E_206E_200F_206C_206E_206E_200F_202D_206E_202E_206C_206E_202E_202B_202A_206E_206B_202C_202D_200E_202B_200F_206E_200B_202A_200C_206E_200C_202C_202B_200F_202E(SubRegionDefinition P_0) + { + return P_0.Id; + } + + static List _202B_202E_206A_206C_202D_200B_202B_206A_202E_200E_200C_206D_206D_200E_206C_206E_206D_200D_206F_206C_206D_202D_200E_206F_202E_202E_200E_200F_202A_202E_206D_202A_200F_202E_200D_202A_206A_202D_202A_206E_202E(TerritorySubRegions P_0) + { + return P_0.Connectors; + } +} diff --git a/SmartNav/SmartNav.Graph/NavEdge.cs b/SmartNav/SmartNav.Graph/NavEdge.cs new file mode 100644 index 00000000..d3763003 --- /dev/null +++ b/SmartNav/SmartNav.Graph/NavEdge.cs @@ -0,0 +1,156 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace SmartNav.Graph; + +public sealed record NavEdge(string FromNodeId, string ToNodeId, NavEdgeType EdgeType, float TimeCostSeconds, int GilCost) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_200D_200E_206F_200E_206D_206A_200E_206A_202E_202A_202C_206F_206D_200E_200E_202C_206F_200E_206C_202D_200F_206D_200E_206A_206F_202A_206F_202A_206D_202B_200D_206B_206E_200E_200C_206A_206D_200E_200D_202E(typeof(NavEdge).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202E_206C_206D_200D_200B_206C_200D_200B_200F_200E_202E_206B_206A_206A_206D_206C_200D_206B_206A_200F_202B_202E_200F_202E_202B_202C_206A_200E_200F_206E_202B_206A_200F_202E_206B_206C_200C_206D_206F_202B_202E(); + _202E_206F_202A_202D_200B_206F_206B_200F_202E_206E_206A_200F_200B_202A_206F_202B_206D_202E_202A_202B_202B_200E_206F_200B_202D_200B_200D_202B_200F_200E_200B_206B_206F_202D_206E_202B_200D_202E_200B_200C_202E(stringBuilder, global::_003CModule_003E._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(-524076477)); + _202E_206F_202A_202D_200B_206F_206B_200F_202E_206E_206A_200F_200B_202A_206F_202B_206D_202E_202A_202B_202B_200E_206F_200B_202D_200B_200D_202B_200F_200E_200B_206B_206F_202D_206E_202B_200D_202E_200B_200C_202E(stringBuilder, global::_003CModule_003E._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(-979564187)); + int num = ((!PrintMembers(stringBuilder)) ? 1302447791 : 1302447790); + while (true) + { + int num2 = num; + int num3 = 1302447791; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1302447790; + break; + case 0: + _206A_206F_202C_202A_200C_206B_202B_202A_206A_202E_202B_200C_202D_200D_202D_206E_206F_206D_200B_202C_200C_202D_206D_200E_202B_200C_200C_200F_202C_202C_206E_200C_206E_202A_202E_202D_206F_200C_202B_202E_202E(stringBuilder, '}'); + return _206F_202B_200C_200E_206F_206D_202A_200F_200C_202D_200E_206B_206E_200B_206B_206F_206E_200F_206E_206C_200D_206F_206F_206C_202A_200D_200C_206D_206E_200E_206E_202E_202D_206B_200C_206C_206A_202D_206F_206E_202E((object)stringBuilder); + case 1: + _206A_206F_202C_202A_200C_206B_202B_202A_206A_202E_202B_200C_202D_200D_202D_206E_206F_206D_200B_202C_200C_202D_206D_200E_202B_200C_200C_200F_202C_202C_206E_200C_206E_202A_202E_202D_206F_200C_202B_202E_202E(stringBuilder, ' '); + num = 1302447791; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200C_202C_206D_202B_202A_206C_206C_202A_200E_202B_206E_202D_202A_206B_202D_202D_206B_206A_202B_206F_206B_206A_206C_200C_202A_206B_206E_202A_206B_200C_200E_200C_206C_202A_202C_202C_200B_200C_200E_206B_202E(); + _202E_206F_202A_202D_200B_206F_206B_200F_202E_206E_206A_200F_200B_202A_206F_202B_206D_202E_202A_202B_202B_200E_206F_200B_202D_200B_200D_202B_200F_200E_200B_206B_206F_202D_206E_202B_200D_202E_200B_200C_202E(builder, global::_003CModule_003E._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(-117326766)); + _200B_200F_200E_206A_206B_202A_206E_206C_200B_202B_206D_200B_202A_202C_206A_200B_206E_206A_200D_202B_206D_200E_206C_200D_200D_200E_206F_206B_206F_202B_206E_202D_206E_206B_206F_200E_200E_206D_206F_200C_202E(builder, (object)FromNodeId); + _202E_206F_202A_202D_200B_206F_206B_200F_202E_206E_206A_200F_200B_202A_206F_202B_206D_202E_202A_202B_202B_200E_206F_200B_202D_200B_200D_202B_200F_200E_200B_206B_206F_202D_206E_202B_200D_202E_200B_200C_202E(builder, global::_003CModule_003E._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(1889543298)); + _200B_200F_200E_206A_206B_202A_206E_206C_200B_202B_206D_200B_202A_202C_206A_200B_206E_206A_200D_202B_206D_200E_206C_200D_200D_200E_206F_206B_206F_202B_206E_202D_206E_206B_206F_200E_200E_206D_206F_200C_202E(builder, (object)ToNodeId); + _202E_206F_202A_202D_200B_206F_206B_200F_202E_206E_206A_200F_200B_202A_206F_202B_206D_202E_202A_202B_202B_200E_206F_200B_202D_200B_200D_202B_200F_200E_200B_206B_206F_202D_206E_202B_200D_202E_200B_200C_202E(builder, global::_003CModule_003E._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(323881500)); + _202E_206F_202A_202D_200B_206F_206B_200F_202E_206E_206A_200F_200B_202A_206F_202B_206D_202E_202A_202B_202B_200E_206F_200B_202D_200B_200D_202B_200F_200E_200B_206B_206F_202D_206E_202B_200D_202E_200B_200C_202E(builder, EdgeType.ToString()); + _202E_206F_202A_202D_200B_206F_206B_200F_202E_206E_206A_200F_200B_202A_206F_202B_206D_202E_202A_202B_202B_200E_206F_200B_202D_200B_200D_202B_200F_200E_200B_206B_206F_202D_206E_202B_200D_202E_200B_200C_202E(builder, global::_003CModule_003E._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(682092795)); + _202E_206F_202A_202D_200B_206F_206B_200F_202E_206E_206A_200F_200B_202A_206F_202B_206D_202E_202A_202B_202B_200E_206F_200B_202D_200B_200D_202B_200F_200E_200B_206B_206F_202D_206E_202B_200D_202E_200B_200C_202E(builder, TimeCostSeconds.ToString()); + _202E_206F_202A_202D_200B_206F_206B_200F_202E_206E_206A_200F_200B_202A_206F_202B_206D_202E_202A_202B_202B_200E_206F_200B_202D_200B_200D_202B_200F_200E_200B_206B_206F_202D_206E_202B_200D_202E_200B_200C_202E(builder, global::_003CModule_003E._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(-492476942)); + _202E_206F_202A_202D_200B_206F_206B_200F_202E_206E_206A_200F_200B_202A_206F_202B_206D_202E_202A_202B_202B_200E_206F_200B_202D_200B_200D_202B_200F_200E_200B_206B_206F_202D_206E_202B_200D_202E_200B_200C_202E(builder, GilCost.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(NavEdge? other) + { + int num = (((object)this == other) ? 1316647872 : 1316647875); + while (true) + { + int num2 = num; + int num3 = 1316647876; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + num = ((!EqualityComparer.Default.Equals(ToNodeId, other.ToNodeId)) ? 1316647876 : 1316647877); + break; + case 7: + num = (((object)other == null) ? 1316647876 : 1316647874); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(FromNodeId, other.FromNodeId)) ? 1316647876 : 1316647884); + break; + case 6: + num = ((!_200F_206D_202D_206A_202D_202E_200C_200F_206F_200B_206A_202B_200C_202D_202A_206C_202B_202C_200D_202E_202B_200C_206A_206A_206A_200B_206C_202B_206C_200E_206D_206B_202E_200E_202A_200B_202C_206B_202B_202D_202E(EqualityContract, other.EqualityContract)) ? 1316647876 : 1316647873); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(EdgeType, other.EdgeType)) ? 1316647876 : 1316647885); + break; + case 4: + return true; + case 3: + return EqualityComparer.Default.Equals(GilCost, other.GilCost); + case 9: + num = ((!EqualityComparer.Default.Equals(TimeCostSeconds, other.TimeCostSeconds)) ? 1316647876 : 1316647879); + break; + case 2: + num = 1316647875; + break; + case 0: + return false; + } + } + } + + bool IEquatable.Equals(NavEdge? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_200D_200E_206F_200E_206D_206A_200E_206A_202E_202A_202C_206F_206D_200E_200E_202C_206F_200E_206C_202D_200F_206D_200E_206A_206F_202A_206F_202A_206D_202B_200D_206B_206E_200E_200C_206A_206D_200E_200D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202E_206C_206D_200D_200B_206C_200D_200B_200F_200E_202E_206B_206A_206A_206D_206C_200D_206B_206A_200F_202B_202E_200F_202E_202B_202C_206A_200E_200F_206E_202B_206A_200F_202E_206B_206C_200C_206D_206F_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_206F_202A_202D_200B_206F_206B_200F_202E_206E_206A_200F_200B_202A_206F_202B_206D_202E_202A_202B_202B_200E_206F_200B_202D_200B_200D_202B_200F_200E_200B_206B_206F_202D_206E_202B_200D_202E_200B_200C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_206F_202C_202A_200C_206B_202B_202A_206A_202E_202B_200C_202D_200D_202D_206E_206F_206D_200B_202C_200C_202D_206D_200E_202B_200C_200C_200F_202C_202C_206E_200C_206E_202A_202E_202D_206F_200C_202B_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206F_202B_200C_200E_206F_206D_202A_200F_200C_202D_200E_206B_206E_200B_206B_206F_206E_200F_206E_206C_200D_206F_206F_206C_202A_200D_200C_206D_206E_200E_206E_202E_202D_206B_200C_206C_206A_202D_206F_206E_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200C_202C_206D_202B_202A_206C_206C_202A_200E_202B_206E_202D_202A_206B_202D_202D_206B_206A_202B_206F_206B_206A_206C_200C_202A_206B_206E_202A_206B_200C_200E_200C_206C_202A_202C_202C_200B_200C_200E_206B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200B_200F_200E_206A_206B_202A_206E_206C_200B_202B_206D_200B_202A_202C_206A_200B_206E_206A_200D_202B_206D_200E_206C_200D_200D_200E_206F_206B_206F_202B_206E_202D_206E_206B_206F_200E_200E_206D_206F_200C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200F_206D_202D_206A_202D_202E_200C_200F_206F_200B_206A_202B_200C_202D_202A_206C_202B_202C_200D_202E_202B_200C_206A_206A_206A_200B_206C_202B_206C_200E_206D_206B_202E_200E_202A_200B_202C_206B_202B_202D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/SmartNav/SmartNav.Graph/NavEdgeType.cs b/SmartNav/SmartNav.Graph/NavEdgeType.cs new file mode 100644 index 00000000..ed97d7b4 --- /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 00000000..195ce989 --- /dev/null +++ b/SmartNav/SmartNav.Graph/NavGraph.cs @@ -0,0 +1,303 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; + +namespace SmartNav.Graph; + +public sealed class NavGraph +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass11_0 + { + public NavEdge edge; + + internal bool _003CReplaceEdge_003Eb__0(NavEdge e) + { + int num = ((!_206D_200B_200F_202D_206A_206D_206E_202E_200C_202D_200B_206A_206D_200B_206B_200E_202B_202C_202C_202B_200F_206A_202A_202C_202C_200F_206D_202C_200F_206E_200B_200C_206B_202A_202A_206D_206C_200C_200B_206D_202E(e.ToNodeId, edge.ToNodeId)) ? 1864125654 : 1864125653); + while (true) + { + int num2 = num; + int num3 = 1864125655; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0056; + case 2: + return e.EdgeType == edge.EdgeType; + case 1: + return false; + } + continue; + IL_0056: + num = 1864125653; + } + } + + static bool _206D_200B_200F_202D_206A_206D_206E_202E_200C_202D_200B_206A_206D_200B_206B_200E_202B_202C_202C_202B_200F_206A_202A_202C_202C_200F_206D_202C_200F_206E_200B_200C_206B_202A_202A_206D_206C_200C_200B_206D_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + } + + 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; + using Dictionary>.ValueCollection.Enumerator enumerator = _adjacency.Values.GetEnumerator(); + int num2 = 165728447; + while (true) + { + int num3 = num2; + int num4 = 165728444; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 3: + num2 = (enumerator.MoveNext() ? 165728445 : 165728446); + break; + case 1: + { + List current = enumerator.Current; + num += current.Count; + num2 = 165728447; + break; + } + case 0: + num2 = 165728447; + break; + case 2: + return num; + } + } + } + } + + public void AddNode(NavNode node) + { + bool num = !_nodes.ContainsKey(node.Id); + _nodes[node.Id] = node; + int num2 = ((!num) ? (-2079391440) : (-2079391437)); + List value = default(List); + while (true) + { + int num3 = num2; + int num4 = -2079391439; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -2079391437; + break; + case 4: + value.Add(node.Id); + num2 = -2079391440; + break; + case 3: + value = new List(); + _territoryIndex[node.TerritoryId] = value; + num2 = -2079391435; + break; + case 2: + _adjacency[node.Id] = new List(); + num2 = (_territoryIndex.TryGetValue(node.TerritoryId, out value) ? (-2079391435) : (-2079391438)); + break; + case 1: + return; + } + } + } + + public void AddEdge(NavEdge edge) + { + List value; + int num = (_adjacency.TryGetValue(edge.FromNodeId, out value) ? (-2081875728) : (-2081875725)); + while (true) + { + int num2 = num; + int num3 = -2081875726; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -2081875725; + break; + case 2: + value.Add(edge); + return; + case 1: + value = new List(); + _adjacency[edge.FromNodeId] = value; + num = -2081875728; + break; + } + } + } + + public void ReplaceEdge(NavEdge edge) + { + List value; + int num = (_adjacency.TryGetValue(edge.FromNodeId, out value) ? (-1414739437) : (-1414739440)); + while (true) + { + int num2 = num; + int num3 = -1414739438; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + value.RemoveAll(delegate(NavEdge e) + { + int num5 = ((!_003C_003Ec__DisplayClass11_0._206D_200B_200F_202D_206A_206D_206E_202E_200C_202D_200B_206A_206D_200B_206B_200E_202B_202C_202C_202B_200F_206A_202A_202C_202C_200F_206D_202C_200F_206E_200B_200C_206B_202A_202A_206D_206C_200C_200B_206D_202E(e.ToNodeId, edge.ToNodeId)) ? 1864125654 : 1864125653); + while (true) + { + int num6 = num5; + int num7 = 1864125655; + int num8 = num6; + switch ((num8 | num7) - (num8 & num7)) + { + case 0: + goto IL_0056; + case 2: + return e.EdgeType == edge.EdgeType; + case 1: + return false; + } + continue; + IL_0056: + num5 = 1864125653; + } + }); + value.Add(edge); + return; + case 2: + value = new List(); + _adjacency[edge.FromNodeId] = value; + num = -1414739437; + break; + case 0: + num = -1414739440; + break; + } + } + } + + public void RemoveEdges(string fromNodeId, Predicate predicate) + { + List value; + int num = ((!_adjacency.TryGetValue(fromNodeId, out value)) ? 1405127907 : 1405127904); + while (true) + { + int num2 = num; + int num3 = 1405127906; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1405127904; + break; + case 1: + return; + case 2: + value.RemoveAll(predicate); + num = 1405127907; + break; + } + } + } + + public NavNode? GetNode(string nodeId) + { + NavNode value; + int num = (_nodes.TryGetValue(nodeId, out value) ? 640244294 : 640244295); + while (true) + { + int num2 = num; + int num3 = 640244294; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return value; + case 1: + return null; + case 2: + goto IL_0054; + } + continue; + IL_0054: + num = 640244295; + } + } + + public IReadOnlyList GetEdges(string nodeId) + { + List value; + int num = (_adjacency.TryGetValue(nodeId, out value) ? 577743021 : 577743022); + while (true) + { + int num2 = num; + int num3 = 577743023; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + return value; + case 1: + return new List(); + case 0: + goto IL_0058; + } + continue; + IL_0058: + num = 577743022; + } + } + + public IReadOnlyList GetNodesInTerritory(uint territoryId) + { + List value; + int num = (_territoryIndex.TryGetValue(territoryId, out value) ? 111271957 : 111271958); + while (true) + { + int num2 = num; + int num3 = 111271959; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_004e; + case 1: + return new List(); + case 2: + return value; + } + continue; + IL_004e: + num = 111271958; + } + } +} diff --git a/SmartNav/SmartNav.Graph/NavNode.cs b/SmartNav/SmartNav.Graph/NavNode.cs new file mode 100644 index 00000000..a77b5dc5 --- /dev/null +++ b/SmartNav/SmartNav.Graph/NavNode.cs @@ -0,0 +1,1615 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +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 + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_200D_200B_202B_206E_202A_200E_200B_206E_206F_202C_202C_200E_206C_200D_200C_206F_206A_200B_200F_206D_200D_206B_202C_206D_206B_206B_202A_206A_200C_202E_200C_206D_206D_202D_202B_202A_200C_206C_200F_202E(typeof(AetheryteNode).TypeHandle); + } + } + + public EAetheryteLocation Aetheryte { get; init; } + + public override string Label => Aetheryte.ToString(); + + [MethodImpl(MethodImplOptions.NoInlining)] + public AetheryteNode(EAetheryteLocation Aetheryte, uint TerritoryId, Vector3 Position) + { + this.Aetheryte = Aetheryte; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-980256187)); + defaultInterpolatedStringHandler.AppendFormatted((int)Aetheryte); + base._002Ector(defaultInterpolatedStringHandler.ToStringAndClear(), TerritoryId, Position); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_206A_200F_206A_202E_202B_206E_206D_200D_206D_206A_206A_200D_200C_202E_206A_200E_200D_202E_202B_202C_206D_206D_200B_200E_206A_202E_200D_200D_202C_206A_202C_206B_202A_202A_200C_202C_202A_200B_200D_202E(); + _206E_200F_206F_206F_202D_200E_206C_200C_202D_206D_206B_206D_206D_202A_202D_206B_202A_200B_200C_202A_200D_202C_202B_200D_202B_206C_200E_200F_206B_206B_202E_202B_206D_200F_206D_206F_200E_206E_206D_206F_202E(stringBuilder, global::_003CModule_003E._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(-1485406646)); + _206E_200F_206F_206F_202D_200E_206C_200C_202D_206D_206B_206D_206D_202A_202D_206B_202A_200B_200C_202A_200D_202C_202B_200D_202B_206C_200E_200F_206B_206B_202E_202B_206D_200F_206D_206F_200E_206E_206D_206F_202E(stringBuilder, global::_003CModule_003E._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(1886515922)); + int num = ((!PrintMembers(stringBuilder)) ? (-1372731699) : (-1372731698)); + while (true) + { + int num2 = num; + int num3 = -1372731700; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _206D_200D_202D_202B_202D_206F_200E_206E_200E_206E_200F_202D_206B_202C_206B_200B_200D_206A_206B_202A_202C_206B_206B_206E_206D_200C_206E_200D_200B_200D_202B_200C_206B_202D_206B_202C_202B_202A_206C_202A_202E(stringBuilder, '}'); + return _202A_202E_206B_200D_200B_206B_202D_202A_206E_206C_202C_202E_206A_206F_202E_200B_206B_200D_206E_206F_206C_200F_206A_206F_200B_200F_202D_202B_206E_206E_206A_202C_200B_202A_206F_202B_200F_200D_206B_206C_202E((object)stringBuilder); + case 2: + _206D_200D_202D_202B_202D_206F_200E_206E_200E_206E_200F_202D_206B_202C_206B_200B_200D_206A_206B_202A_202C_206B_206B_206E_206D_200C_206E_200D_200B_200D_202B_200C_206B_202D_206B_202C_202B_202A_206C_202A_202E(stringBuilder, ' '); + num = -1372731699; + break; + case 0: + num = -1372731698; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 1376880192 : 1376880195); + while (true) + { + int num2 = num; + int num3 = 1376880193; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1376880195; + break; + case 2: + _206E_200F_206F_206F_202D_200E_206C_200C_202D_206D_206B_206D_206D_202A_202D_206B_202A_200B_200C_202A_200D_202C_202B_200D_202B_206C_200E_200F_206B_206B_202E_202B_206D_200F_206D_206F_200E_206E_206D_206F_202E(builder, global::_003CModule_003E._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(-1584690827)); + num = 1376880192; + break; + case 1: + _206E_200F_206F_206F_202D_200E_206C_200C_202D_206D_206B_206D_206D_202A_202D_206B_202A_200B_200C_202A_200D_202C_202B_200D_202B_206C_200E_200F_206B_206B_202E_202B_206D_200F_206D_206F_200E_206E_206D_206F_202E(builder, global::_003CModule_003E._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(-1843848623)); + _206E_200F_206F_206F_202D_200E_206C_200C_202D_206D_206B_206D_206D_202A_202D_206B_202A_200B_200C_202A_200D_202C_202B_200D_202B_206C_200E_200F_206B_206B_202E_202B_206D_200F_206D_206F_200E_206E_206D_206F_202E(builder, Aetheryte.ToString()); + return true; + } + } + } + + [CompilerGenerated] + public bool Equals(AetheryteNode? other) + { + int num = (((object)this == other) ? 346069447 : 346069445); + while (true) + { + int num2 = num; + int num3 = 346069444; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = 346069445; + break; + case 2: + return false; + case 0: + return EqualityComparer.Default.Equals(Aetheryte, other.Aetheryte); + case 3: + return true; + case 1: + num = ((!base.Equals(other)) ? 346069446 : 346069444); + break; + } + } + } + + bool IEquatable.Equals(AetheryteNode? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [CompilerGenerated] + public void Deconstruct(out EAetheryteLocation Aetheryte, out uint TerritoryId, out Vector3 Position) + { + Aetheryte = this.Aetheryte; + TerritoryId = base.TerritoryId; + Position = base.Position; + } + + static Type _202E_200D_200B_202B_206E_202A_200E_200B_206E_206F_202C_202C_200E_206C_200D_200C_206F_206A_200B_200F_206D_200D_206B_202C_206D_206B_206B_202A_206A_200C_202E_200C_206D_206D_202D_202B_202A_200C_206C_200F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202A_206A_200F_206A_202E_202B_206E_206D_200D_206D_206A_206A_200D_200C_202E_206A_200E_200D_202E_202B_202C_206D_206D_200B_200E_206A_202E_200D_200D_202C_206A_202C_206B_202A_202A_200C_202C_202A_200B_200D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206E_200F_206F_206F_202D_200E_206C_200C_202D_206D_206B_206D_206D_202A_202D_206B_202A_200B_200C_202A_200D_202C_202B_200D_202B_206C_200E_200F_206B_206B_202E_202B_206D_200F_206D_206F_200E_206E_206D_206F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_200D_202D_202B_202D_206F_200E_206E_200E_206E_200F_202D_206B_202C_206B_200B_200D_206A_206B_202A_202C_206B_206B_206E_206D_200C_206E_200D_200B_200D_202B_200C_206B_202D_206B_202C_202B_202A_206C_202A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202A_202E_206B_200D_200B_206B_202D_202A_206E_206C_202C_202E_206A_206F_202E_200B_206B_200D_206E_206F_206C_200F_206A_206F_200B_200F_202D_202B_206E_206E_206A_202C_200B_202A_206F_202B_200F_200D_206B_206C_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _206C_200E_200E_206F_206C_200D_200D_202A_206A_200D_202D_202A_202D_206B_200C_200E_200F_206A_206D_202D_200E_206B_202A_206D_202C_206A_202A_206C_200E_200E_202A_200D_200C_206F_206C_202C_202D_200C_202D_200C_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record AethernetNode : NavNode + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206F_200B_202C_206C_206B_200E_202A_200C_202B_206F_200E_200B_200C_206B_206B_202D_202D_206C_200D_202D_206F_206B_206A_200C_200E_202D_200F_200E_202D_206B_206B_206C_200B_200F_200D_206C_200F_200B_200D_206C_202E(typeof(AethernetNode).TypeHandle); + } + } + + public EAetheryteLocation Aethernet { get; init; } + + public EAetheryteLocation ParentAetheryte { get; init; } + + public override string Label => Aethernet.ToString(); + + [MethodImpl(MethodImplOptions.NoInlining)] + public AethernetNode(EAetheryteLocation Aethernet, uint TerritoryId, Vector3 Position, EAetheryteLocation ParentAetheryte) + { + this.Aethernet = Aethernet; + this.ParentAetheryte = ParentAetheryte; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1430819075)); + defaultInterpolatedStringHandler.AppendFormatted((int)Aethernet); + base._002Ector(defaultInterpolatedStringHandler.ToStringAndClear(), TerritoryId, Position); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200F_206C_206A_202A_200F_200F_200F_206C_202D_200B_206F_206D_202C_202C_200B_202C_200E_200E_206E_202B_206C_202A_200D_202E_206B_206A_206E_200D_206C_200B_206A_206D_206F_200E_206C_202B_200D_202B_200E_202B_202E(); + _200D_200E_202E_206C_206A_200F_202D_202E_202D_200D_200E_200F_200F_202D_202B_202C_206C_206D_200D_206B_200D_202D_206E_206F_206D_200F_206F_200B_206E_206A_206C_200E_206F_206E_206F_206F_206D_200E_200E_206A_202E(stringBuilder, global::_003CModule_003E._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(645503319)); + _200D_200E_202E_206C_206A_200F_202D_202E_202D_200D_200E_200F_200F_202D_202B_202C_206C_206D_200D_206B_200D_202D_206E_206F_206D_200F_206F_200B_206E_206A_206C_200E_206F_206E_206F_206F_206D_200E_200E_206A_202E(stringBuilder, global::_003CModule_003E._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(1886515922)); + int num = ((!PrintMembers(stringBuilder)) ? 1761676226 : 1761676225); + while (true) + { + int num2 = num; + int num3 = 1761676227; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _202C_206F_202C_206B_202C_202D_200D_202A_206B_206F_202A_200E_206C_202A_206B_206E_200F_200C_202A_206D_206D_202D_200B_202D_202E_202B_202A_200D_200B_202B_206C_200B_200C_202D_200D_200D_202B_200C_202B_206C_202E(stringBuilder, '}'); + return _202E_206C_206B_200C_200B_206E_200B_206E_206C_202D_200D_206D_206E_202B_206F_206A_206C_206D_202D_206C_206A_206A_206D_206D_206B_200D_206A_206D_202E_200F_202B_202D_206A_200F_202E_206C_206C_206B_206F_206B_202E((object)stringBuilder); + case 2: + _202C_206F_202C_206B_202C_202D_200D_202A_206B_206F_202A_200E_206C_202A_206B_206E_200F_200C_202A_206D_206D_202D_200B_202D_202E_202B_202A_200D_200B_202B_206C_200B_200C_202D_200D_200D_202B_200C_202B_206C_202E(stringBuilder, ' '); + num = 1761676226; + break; + case 0: + num = 1761676225; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? (-1711944682) : (-1711944683)); + while (true) + { + int num2 = num; + int num3 = -1711944681; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1711944683; + break; + case 2: + _200D_200E_202E_206C_206A_200F_202D_202E_202D_200D_200E_200F_200F_202D_202B_202C_206C_206D_200D_206B_200D_202D_206E_206F_206D_200F_206F_200B_206E_206A_206C_200E_206F_206E_206F_206F_206D_200E_200E_206A_202E(builder, global::_003CModule_003E._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(-1735617534)); + num = -1711944682; + break; + case 1: + _200D_200E_202E_206C_206A_200F_202D_202E_202D_200D_200E_200F_200F_202D_202B_202C_206C_206D_200D_206B_200D_202D_206E_206F_206D_200F_206F_200B_206E_206A_206C_200E_206F_206E_206F_206F_206D_200E_200E_206A_202E(builder, global::_003CModule_003E._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(-1717054096)); + _200D_200E_202E_206C_206A_200F_202D_202E_202D_200D_200E_200F_200F_202D_202B_202C_206C_206D_200D_206B_200D_202D_206E_206F_206D_200F_206F_200B_206E_206A_206C_200E_206F_206E_206F_206F_206D_200E_200E_206A_202E(builder, Aethernet.ToString()); + _200D_200E_202E_206C_206A_200F_202D_202E_202D_200D_200E_200F_200F_202D_202B_202C_206C_206D_200D_206B_200D_202D_206E_206F_206D_200F_206F_200B_206E_206A_206C_200E_206F_206E_206F_206F_206D_200E_200E_206A_202E(builder, global::_003CModule_003E._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(-77039164)); + _200D_200E_202E_206C_206A_200F_202D_202E_202D_200D_200E_200F_200F_202D_202B_202C_206C_206D_200D_206B_200D_202D_206E_206F_206D_200F_206F_200B_206E_206A_206C_200E_206F_206E_206F_206F_206D_200E_200E_206A_202E(builder, ParentAetheryte.ToString()); + return true; + } + } + } + + [CompilerGenerated] + public bool Equals(AethernetNode? other) + { + int num = (((object)this == other) ? (-1733424681) : (-1733424685)); + while (true) + { + int num2 = num; + int num3 = -1733424686; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + return true; + case 2: + num = ((!EqualityComparer.Default.Equals(Aethernet, other.Aethernet)) ? (-1733424686) : (-1733424687)); + break; + case 3: + return EqualityComparer.Default.Equals(ParentAetheryte, other.ParentAetheryte); + case 1: + num = ((!base.Equals(other)) ? (-1733424686) : (-1733424688)); + break; + case 0: + return false; + case 4: + num = -1733424685; + break; + } + } + } + + bool IEquatable.Equals(AethernetNode? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [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; + } + + static Type _206F_200B_202C_206C_206B_200E_202A_200C_202B_206F_200E_200B_200C_206B_206B_202D_202D_206C_200D_202D_206F_206B_206A_200C_200E_202D_200F_200E_202D_206B_206B_206C_200B_200F_200D_206C_200F_200B_200D_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200F_206C_206A_202A_200F_200F_200F_206C_202D_200B_206F_206D_202C_202C_200B_202C_200E_200E_206E_202B_206C_202A_200D_202E_206B_206A_206E_200D_206C_200B_206A_206D_206F_200E_206C_202B_200D_202B_200E_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200D_200E_202E_206C_206A_200F_202D_202E_202D_200D_200E_200F_200F_202D_202B_202C_206C_206D_200D_206B_200D_202D_206E_206F_206D_200F_206F_200B_206E_206A_206C_200E_206F_206E_206F_206F_206D_200E_200E_206A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202C_206F_202C_206B_202C_202D_200D_202A_206B_206F_202A_200E_206C_202A_206B_206E_200F_200C_202A_206D_206D_202D_200B_202D_202E_202B_202A_200D_200B_202B_206C_200B_200C_202D_200D_200D_202B_200C_202B_206C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202E_206C_206B_200C_200B_206E_200B_206E_206C_202D_200D_206D_206E_202B_206F_206A_206C_206D_202D_206C_206A_206A_206D_206D_206B_200D_206A_206D_202E_200F_202B_202D_206A_200F_202E_206C_206C_206B_206F_206B_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _200E_200B_200D_200F_202C_206F_200F_202D_202A_206C_200E_200E_200B_200B_202C_200E_200C_202D_206E_206E_206E_200C_200C_206C_200B_202C_206E_202E_202A_200D_206E_202B_200B_206C_206B_206D_206F_202E_202E_202B_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record ZoneBoundaryNode : NavNode + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _200E_200C_206D_202A_200D_200D_200C_200E_202A_200C_200E_202A_202C_200B_202A_200F_200F_206C_206D_206B_202E_200B_206A_206D_206C_202C_200C_200C_200B_206A_206E_202B_206B_200D_206D_202A_202D_200E_206E_202E(typeof(ZoneBoundaryNode).TypeHandle); + } + } + + 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 + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return _202C_202B_206A_202D_206D_200F_202E_202C_206A_206A_202D_200F_200C_202D_200D_200E_202E_200B_202A_206E_202D_206B_206C_202E_200F_206F_202C_200E_202C_206B_206B_202D_200B_206C_202B_206A_200E_206E_202C_202B_202E(global::_003CModule_003E._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(1109447646), BoundaryId, global::_003CModule_003E._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(998949340)); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-699242314)); + defaultInterpolatedStringHandler.AppendFormatted(BoundaryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-286212766)); + defaultInterpolatedStringHandler.AppendFormatted(TerritoryId); + base._002Ector(defaultInterpolatedStringHandler.ToStringAndClear(), TerritoryId, Position); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202E_206A_206B_206A_202B_206C_202A_202B_206E_206A_206C_206B_206F_200E_206C_206A_202D_202B_200E_206C_200F_200E_200D_200B_202A_200E_202A_200C_200E_200D_200E_200B_206B_202D_206E_206A_202C_200E_206D_200C_202E(); + _206E_206A_206C_200C_206D_206E_206C_202E_200B_200E_202D_202C_200E_206F_200D_200F_206C_200B_200B_202D_206D_206B_202D_206A_202D_206B_206F_202E_200B_206D_200D_206D_200F_206D_206A_200D_202D_200E_206A_206C_202E(stringBuilder, global::_003CModule_003E._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(586794401)); + _206E_206A_206C_200C_206D_206E_206C_202E_200B_200E_202D_202C_200E_206F_200D_200F_206C_200B_200B_202D_206D_206B_202D_206A_202D_206B_206F_202E_200B_206D_200D_206D_200F_206D_206A_200D_202D_200E_206A_206C_202E(stringBuilder, global::_003CModule_003E._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(1120247710)); + int num = ((!PrintMembers(stringBuilder)) ? 670681123 : 670681120); + while (true) + { + int num2 = num; + int num3 = 670681121; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 670681120; + break; + case 1: + _206D_200F_202D_202C_202D_202C_206C_202A_202E_206E_202C_202C_206D_206A_200D_206C_206E_200D_200E_206A_202B_200E_200B_202D_200C_206E_206C_200D_206E_202D_202D_200D_206E_206E_202B_202C_206F_202C_202A_200F_202E(stringBuilder, ' '); + num = 670681123; + break; + case 2: + _206D_200F_202D_202C_202D_202C_206C_202A_202E_206E_202C_202C_206D_206A_200D_206C_206E_200D_200E_206A_202B_200E_200B_202D_200C_206E_206C_200D_206E_202D_202D_200D_206E_206E_202B_202C_206F_202C_202A_200F_202E(stringBuilder, '}'); + return _206E_206F_200E_200C_202A_206D_202E_200C_202C_200D_206B_200D_206A_206B_200B_206E_200B_200C_206B_206C_202A_206A_206B_200B_202C_206F_206C_200E_200E_206B_202B_202C_200F_206D_200C_200E_200E_202C_202A_206B_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 1187079342 : 1187079343); + while (true) + { + int num2 = num; + int num3 = 1187079342; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _206E_206A_206C_200C_206D_206E_206C_202E_200B_200E_202D_202C_200E_206F_200D_200F_206C_200B_200B_202D_206D_206B_202D_206A_202D_206B_206F_202E_200B_206D_200D_206D_200F_206D_206A_200D_202D_200E_206A_206C_202E(builder, global::_003CModule_003E._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(-1310304385)); + _206A_202A_200B_206F_200B_202E_206C_200C_206B_200E_206E_206C_206B_206D_202C_200E_200B_206B_206E_206C_206A_206F_206E_202E_206C_200F_206E_206D_202A_206F_202B_206C_206A_202B_202B_200E_200F_202E_200C_202E(builder, (object)BoundaryId); + _206E_206A_206C_200C_206D_206E_206C_202E_200B_200E_202D_202C_200E_206F_200D_200F_206C_200B_200B_202D_206D_206B_202D_206A_202D_206B_206F_202E_200B_206D_200D_206D_200F_206D_206A_200D_202D_200E_206A_206C_202E(builder, global::_003CModule_003E._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(404562551)); + _206A_202A_200B_206F_200B_202E_206C_200C_206B_200E_206E_206C_206B_206D_202C_200E_200B_206B_206E_206C_206A_206F_206E_202E_206C_200F_206E_206D_202A_206F_202B_206C_206A_202B_202B_200E_200F_202E_200C_202E(builder, (object)PairedNodeId); + _206E_206A_206C_200C_206D_206E_206C_202E_200B_200E_202D_202C_200E_206F_200D_200F_206C_200B_200B_202D_206D_206B_202D_206A_202D_206B_206F_202E_200B_206D_200D_206D_200F_206D_206A_200D_202D_200E_206A_206C_202E(builder, global::_003CModule_003E._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(-129640998)); + _206E_206A_206C_200C_206D_206E_206C_202E_200B_200E_202D_202C_200E_206F_200D_200F_206C_200B_200B_202D_206D_206B_202D_206A_202D_206B_206F_202E_200B_206D_200D_206D_200F_206D_206A_200D_202D_200E_206A_206C_202E(builder, RequiresFlying.ToString()); + _206E_206A_206C_200C_206D_206E_206C_202E_200B_200E_202D_202C_200E_206F_200D_200F_206C_200B_200B_202D_206D_206B_202D_206A_202D_206B_206F_202E_200B_206D_200D_206D_200F_206D_206A_200D_202D_200E_206A_206C_202E(builder, global::_003CModule_003E._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(-19022085)); + _206E_206A_206C_200C_206D_206E_206C_202E_200B_200E_202D_202C_200E_206F_200D_200F_206C_200B_200B_202D_206D_206B_202D_206A_202D_206B_206F_202E_200B_206D_200D_206D_200F_206D_206A_200D_202D_200E_206A_206C_202E(builder, RequiredQuestId.ToString()); + _206E_206A_206C_200C_206D_206E_206C_202E_200B_200E_202D_202C_200E_206F_200D_200F_206C_200B_200B_202D_206D_206B_202D_206A_202D_206B_206F_202E_200B_206D_200D_206D_200F_206D_206A_200D_202D_200E_206A_206C_202E(builder, global::_003CModule_003E._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(-1049678914)); + _206A_202A_200B_206F_200B_202E_206C_200C_206B_200E_206E_206C_206B_206D_202C_200E_200B_206B_206E_206C_206A_206F_206E_202E_206C_200F_206E_206D_202A_206F_202B_206C_206A_202B_202B_200E_200F_202E_200C_202E(builder, (object)Trigger); + return true; + case 1: + _206E_206A_206C_200C_206D_206E_206C_202E_200B_200E_202D_202C_200E_206F_200D_200F_206C_200B_200B_202D_206D_206B_202D_206A_202D_206B_206F_202E_200B_206D_200D_206D_200F_206D_206A_200D_202D_200E_206A_206C_202E(builder, global::_003CModule_003E._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(-1735617534)); + num = 1187079342; + break; + case 2: + num = 1187079343; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(ZoneBoundaryNode? other) + { + int num = (((object)this == other) ? 1762989533 : 1762989534); + while (true) + { + int num2 = num; + int num3 = 1762989531; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = ((!EqualityComparer.Default.Equals(BoundaryId, other.BoundaryId)) ? 1762989532 : 1762989531); + break; + case 5: + num = ((!base.Equals(other)) ? 1762989532 : 1762989529); + break; + case 7: + return false; + case 8: + num = 1762989534; + break; + case 0: + num = ((!EqualityComparer.Default.Equals(PairedNodeId, other.PairedNodeId)) ? 1762989532 : 1762989528); + break; + case 6: + return true; + case 1: + num = ((!EqualityComparer.Default.Equals(RequiredQuestId, other.RequiredQuestId)) ? 1762989532 : 1762989535); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(RequiresFlying, other.RequiresFlying)) ? 1762989532 : 1762989530); + break; + case 4: + return EqualityComparer.Default.Equals(Trigger, other.Trigger); + } + } + } + + bool IEquatable.Equals(ZoneBoundaryNode? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [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; + } + + static Type _200E_200C_206D_202A_200D_200D_200C_200E_202A_200C_200E_202A_202C_200B_202A_200F_200F_206C_206D_206B_202E_200B_206A_206D_206C_202C_200C_200C_200B_206A_206E_202B_206B_200D_206D_202A_202D_200E_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static string _202C_202B_206A_202D_206D_200F_202E_202C_206A_206A_202D_200F_200C_202D_200D_200E_202E_200B_202A_206E_202D_206B_206C_202E_200F_206F_202C_200E_202C_206B_206B_202D_200B_206C_202B_206A_200E_206E_202C_202B_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static StringBuilder _202E_206A_206B_206A_202B_206C_202A_202B_206E_206A_206C_206B_206F_200E_206C_206A_202D_202B_200E_206C_200F_200E_200D_200B_202A_200E_202A_200C_200E_200D_200E_200B_206B_202D_206E_206A_202C_200E_206D_200C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206E_206A_206C_200C_206D_206E_206C_202E_200B_200E_202D_202C_200E_206F_200D_200F_206C_200B_200B_202D_206D_206B_202D_206A_202D_206B_206F_202E_200B_206D_200D_206D_200F_206D_206A_200D_202D_200E_206A_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206D_200F_202D_202C_202D_202C_206C_202A_202E_206E_202C_202C_206D_206A_200D_206C_206E_200D_200E_206A_202B_200E_200B_202D_200C_206E_206C_200D_206E_202D_202D_200D_206E_206E_202B_202C_206F_202C_202A_200F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206E_206F_200E_200C_202A_206D_202E_200C_202C_200D_206B_200D_206A_206B_200B_206E_200B_200C_206B_206C_202A_206A_206B_200B_202C_206F_206C_200E_200E_206B_202B_202C_200F_206D_200C_200E_200E_202C_202A_206B_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _206A_202A_200B_206F_200B_202E_206C_200C_206B_200E_206E_206C_206B_206D_202C_200E_200B_206B_206E_206C_206A_206F_206E_202E_206C_200F_206E_206D_202A_206F_202B_206C_206A_202B_202B_200E_200F_202E_200C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206D_200C_200C_206A_200B_200F_206F_202A_200B_206A_200C_202A_202A_206F_206A_200C_202C_202D_200C_206C_202A_202A_206D_200B_202C_202B_206F_200F_206A_200C_202D_202B_200C_200C_200C_206A_200B_202E_206F_202D_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record WarpNode : NavNode + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_206D_200E_200E_206E_206F_200C_200D_200C_200E_200B_202E_200B_200E_206E_206D_200E_202A_202C_206A_200C_206E_200D_202D_200E_202C_206C_206E_200F_200B_206D_206B_206E_202B_200B_200F_200F_200D_206D_206C_202E(typeof(WarpNode).TypeHandle); + } + } + + 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 + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1730029279)); + defaultInterpolatedStringHandler.AppendFormatted(WarpRowId); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + 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; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 6); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1220390922)); + defaultInterpolatedStringHandler.AppendFormatted(WarpRowId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-286212766)); + defaultInterpolatedStringHandler.AppendFormatted(NpcDataId.GetValueOrDefault()); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(376013902)); + defaultInterpolatedStringHandler.AppendFormatted(TerritoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-136850898)); + defaultInterpolatedStringHandler.AppendFormatted(Position.X, global::_003CModule_003E._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(-640541805)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(376013902)); + defaultInterpolatedStringHandler.AppendFormatted(Position.Y, global::_003CModule_003E._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(285114899)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-286212766)); + defaultInterpolatedStringHandler.AppendFormatted(Position.Z, global::_003CModule_003E._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(285114899)); + base._002Ector(defaultInterpolatedStringHandler.ToStringAndClear(), TerritoryId, Position); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202B_202B_206C_206D_206D_200F_200E_206E_200E_200F_200C_206F_200E_206C_206B_200D_202B_202D_206A_202C_206F_206B_202B_206F_206F_202A_202B_206F_200C_200B_206F_206C_206C_206A_202A_202B_206D_200F_206B_202E_202E(); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(stringBuilder, global::_003CModule_003E._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(975218546)); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(stringBuilder, global::_003CModule_003E._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(-169322018)); + int num = ((!PrintMembers(stringBuilder)) ? 233217275 : 233217272); + while (true) + { + int num2 = num; + int num3 = 233217273; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 233217272; + break; + case 2: + _206C_202E_206B_206F_200B_206D_200C_202E_200D_206E_200B_200C_202D_200B_206C_206D_200C_206C_206D_202A_200F_200C_206C_200C_202C_202B_206A_206F_200D_202D_202B_206E_206A_202C_200B_202B_202D_200F_206F_206D_202E(stringBuilder, '}'); + return _200F_206B_200E_206A_206A_200D_200E_200D_206C_200C_206E_202B_200B_202B_202B_200F_202A_206C_202E_202C_200F_200D_206C_206D_206A_202D_202C_206A_206F_206E_206E_202C_206B_206B_202D_202B_206C_206D_200F_202B_202E((object)stringBuilder); + case 1: + _206C_202E_206B_206F_200B_206D_200C_202E_200D_206E_200B_200C_202D_200B_206C_206D_200C_206C_206D_202A_200F_200C_206C_200C_202C_202B_206A_206F_200D_202D_202B_206E_206A_202C_200B_202B_202D_200F_206F_206D_202E(stringBuilder, ' '); + num = 233217275; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? (-1453356101) : (-1453356104)); + while (true) + { + int num2 = num; + int num3 = -1453356103; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, global::_003CModule_003E._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(1020632027)); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, WarpRowId.ToString()); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, global::_003CModule_003E._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(554799412)); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, NpcDataId.ToString()); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, global::_003CModule_003E._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(-804506538)); + _200B_206C_206F_206A_202B_206E_202E_206B_200E_202B_202A_206A_200E_202D_202C_202E_200B_200F_200B_206A_200F_202A_200B_206E_202C_200B_200F_206D_206E_206E_200C_200C_200C_206B_202D_206B_206E_202E_200B_202D_202E(builder, (object)RequiredQuestIds); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, global::_003CModule_003E._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(353108370)); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, GilCost.ToString()); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, global::_003CModule_003E._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(-822611509)); + _200B_206C_206F_206A_202B_206E_202E_206B_200E_202B_202A_206A_200E_202D_202C_202E_200B_200F_200B_206A_200F_202A_200B_206E_202C_200B_200F_206D_206E_206E_200C_200C_200C_206B_202D_206B_206E_202E_200B_202D_202E(builder, (object)AvailableDuringMsqIds); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, global::_003CModule_003E._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(1419894811)); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, RequiredClassLevel.ToString()); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, global::_003CModule_003E._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(-2077824329)); + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, RequireAllQuests.ToString()); + return true; + case 1: + _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(builder, global::_003CModule_003E._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(-1113468835)); + num = -1453356101; + break; + case 0: + num = -1453356104; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(WarpNode? other) + { + int num = (((object)this == other) ? (-1614053652) : (-1614053664)); + while (true) + { + int num2 = num; + int num3 = -1614053654; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -1614053664; + break; + case 5: + return false; + case 4: + num = ((!EqualityComparer.Default.Equals(RequiredQuestIds, other.RequiredQuestIds)) ? (-1614053649) : (-1614053654)); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(RequiredClassLevel, other.RequiredClassLevel)) ? (-1614053649) : (-1614053651)); + break; + case 10: + num = ((!base.Equals(other)) ? (-1614053649) : (-1614053656)); + break; + case 6: + return true; + case 1: + num = ((!EqualityComparer.Default.Equals(AvailableDuringMsqIds, other.AvailableDuringMsqIds)) ? (-1614053649) : (-1614053662)); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(WarpRowId, other.WarpRowId)) ? (-1614053649) : (-1614053661)); + break; + case 0: + num = ((!EqualityComparer.Default.Equals(GilCost, other.GilCost)) ? (-1614053649) : (-1614053653)); + break; + case 9: + num = ((!EqualityComparer.Default.Equals(NpcDataId, other.NpcDataId)) ? (-1614053649) : (-1614053650)); + break; + case 7: + return EqualityComparer.Default.Equals(RequireAllQuests, other.RequireAllQuests); + } + } + } + + bool IEquatable.Equals(WarpNode? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [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; + } + + static Type _202E_206D_200E_200E_206E_206F_200C_200D_200C_200E_200B_202E_200B_200E_206E_206D_200E_202A_202C_206A_200C_206E_200D_202D_200E_202C_206C_206E_200F_200B_206D_206B_206E_202B_200B_200F_200F_200D_206D_206C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202B_202B_206C_206D_206D_200F_200E_206E_200E_200F_200C_206F_200E_206C_206B_200D_202B_202D_206A_202C_206F_206B_202B_206F_206F_202A_202B_206F_200C_200B_206F_206C_206C_206A_202A_202B_206D_200F_206B_202E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206B_206A_206A_206E_206E_200D_202E_202B_206F_200E_202D_206B_206C_206B_206B_202E_200C_200C_200C_200F_200E_206A_202E_206D_200C_206D_200D_200D_200D_200F_202A_202B_202A_200D_200C_206E_200C_200D_200E_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206C_202E_206B_206F_200B_206D_200C_202E_200D_206E_200B_200C_202D_200B_206C_206D_200C_206C_206D_202A_200F_200C_206C_200C_202C_202B_206A_206F_200D_202D_202B_206E_206A_202C_200B_202B_202D_200F_206F_206D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_206B_200E_206A_206A_200D_200E_200D_206C_200C_206E_202B_200B_202B_202B_200F_202A_206C_202E_202C_200F_200D_206C_206D_206A_202D_202C_206A_206F_206E_206E_202C_206B_206B_202D_202B_206C_206D_200F_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _200B_206C_206F_206A_202B_206E_202E_206B_200E_202B_202A_206A_200E_202D_202C_202E_200B_200F_200B_206A_200F_202A_200B_206E_202C_200B_200F_206D_206E_206E_200C_200C_200C_206B_202D_206B_206E_202E_200B_202D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206A_202A_206B_200E_200C_200F_202D_202A_200F_206B_200D_200E_200F_206D_202C_206E_200F_206C_206E_202A_206B_202E_200E_202D_202C_202C_202E_206B_202C_200B_206B_200D_206B_200D_200C_206D_202E_206E_206D_202D_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record ChocoboTaxiNode : NavNode + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _200C_202A_200C_202B_200C_206B_202B_206D_206B_206C_206E_202C_206B_200C_206A_206A_202D_206F_202C_202B_206B_206C_206B_202A_200C_206E_206B_206B_206A_202D_206A_206C_206A_200E_200E_202E_206E_200C_200D_202B_202E(typeof(ChocoboTaxiNode).TypeHandle); + } + } + + public uint StandRowId { get; init; } + + public uint NpcDataId { get; init; } + + public override string Label + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(944775830)); + defaultInterpolatedStringHandler.AppendFormatted(StandRowId); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public ChocoboTaxiNode(uint StandRowId, uint TerritoryId, Vector3 Position, uint NpcDataId) + { + this.StandRowId = StandRowId; + this.NpcDataId = NpcDataId; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1222129299)); + defaultInterpolatedStringHandler.AppendFormatted(StandRowId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(376013902)); + defaultInterpolatedStringHandler.AppendFormatted(TerritoryId); + base._002Ector(defaultInterpolatedStringHandler.ToStringAndClear(), TerritoryId, Position); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202B_202A_206A_202A_206A_206F_202A_202D_200F_206E_206E_202C_206C_206C_200C_206C_200C_200B_206D_206F_206B_200D_202E_202A_206A_200D_202D_202E_202D_202C_200B_200C_206F_206D_202B_200C_200B_202D_200E_206B_202E(); + _200B_202A_206B_206A_202D_200B_202E_206B_206F_200E_200E_202E_202D_200C_200D_200B_206B_206E_206F_206B_200C_206F_200B_206F_206D_206B_200D_200F_202B_206E_200D_200B_202C_202C_200F_206A_200E_202C_202A_206D_202E(stringBuilder, global::_003CModule_003E._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(613920348)); + _200B_202A_206B_206A_202D_200B_202E_206B_206F_200E_200E_202E_202D_200C_200D_200B_206B_206E_206F_206B_200C_206F_200B_206F_206D_206B_200D_200F_202B_206E_200D_200B_202C_202C_200F_206A_200E_202C_202A_206D_202E(stringBuilder, global::_003CModule_003E._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(1547267250)); + int num = ((!PrintMembers(stringBuilder)) ? 590040144 : 590040147); + while (true) + { + int num2 = num; + int num3 = 590040145; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 590040147; + break; + case 2: + _202E_206F_202D_206D_200C_202E_206C_202E_202C_200C_206E_202E_200D_206D_202E_206C_202B_206B_206C_206C_200B_202C_206E_206D_202B_206B_206E_202E_202D_202B_202B_202B_206E_206F_206F_202B_200D_206F_202E_206E_202E(stringBuilder, ' '); + num = 590040144; + break; + case 1: + _202E_206F_202D_206D_200C_202E_206C_202E_202C_200C_206E_202E_200D_206D_202E_206C_202B_206B_206C_206C_200B_202C_206E_206D_202B_206B_206E_202E_202D_202B_202B_202B_206E_206F_206F_202B_200D_206F_202E_206E_202E(stringBuilder, '}'); + return _206D_200D_200C_200B_202D_202E_200E_202A_202E_206D_206F_202D_202B_200D_200F_200E_200F_206A_206D_206D_206B_200C_202D_202C_202D_200F_206E_206E_202D_200F_200D_200E_200D_200C_202C_200C_202A_202B_200D_202B_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 973932099 : 973932096); + while (true) + { + int num2 = num; + int num3 = 973932097; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 973932096; + break; + case 1: + _200B_202A_206B_206A_202D_200B_202E_206B_206F_200E_200E_202E_202D_200C_200D_200B_206B_206E_206F_206B_200C_206F_200B_206F_206D_206B_200D_200F_202B_206E_200D_200B_202C_202C_200F_206A_200E_202C_202A_206D_202E(builder, global::_003CModule_003E._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(520781629)); + num = 973932099; + break; + case 2: + _200B_202A_206B_206A_202D_200B_202E_206B_206F_200E_200E_202E_202D_200C_200D_200B_206B_206E_206F_206B_200C_206F_200B_206F_206D_206B_200D_200F_202B_206E_200D_200B_202C_202C_200F_206A_200E_202C_202A_206D_202E(builder, global::_003CModule_003E._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(-1862745090)); + _200B_202A_206B_206A_202D_200B_202E_206B_206F_200E_200E_202E_202D_200C_200D_200B_206B_206E_206F_206B_200C_206F_200B_206F_206D_206B_200D_200F_202B_206E_200D_200B_202C_202C_200F_206A_200E_202C_202A_206D_202E(builder, StandRowId.ToString()); + _200B_202A_206B_206A_202D_200B_202E_206B_206F_200E_200E_202E_202D_200C_200D_200B_206B_206E_206F_206B_200C_206F_200B_206F_206D_206B_200D_200F_202B_206E_200D_200B_202C_202C_200F_206A_200E_202C_202A_206D_202E(builder, global::_003CModule_003E._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(554799412)); + _200B_202A_206B_206A_202D_200B_202E_206B_206F_200E_200E_202E_202D_200C_200D_200B_206B_206E_206F_206B_200C_206F_200B_206F_206D_206B_200D_200F_202B_206E_200D_200B_202C_202C_200F_206A_200E_202C_202A_206D_202E(builder, NpcDataId.ToString()); + return true; + } + } + } + + [CompilerGenerated] + public bool Equals(ChocoboTaxiNode? other) + { + int num = (((object)this == other) ? (-659902032) : (-659902028)); + while (true) + { + int num2 = num; + int num3 = -659902027; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = ((!EqualityComparer.Default.Equals(StandRowId, other.StandRowId)) ? (-659902027) : (-659902025)); + break; + case 5: + return true; + case 4: + num = -659902028; + break; + case 1: + num = ((!base.Equals(other)) ? (-659902027) : (-659902026)); + break; + case 2: + return EqualityComparer.Default.Equals(NpcDataId, other.NpcDataId); + case 0: + return false; + } + } + } + + bool IEquatable.Equals(ChocoboTaxiNode? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [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; + } + + static Type _200C_202A_200C_202B_200C_206B_202B_206D_206B_206C_206E_202C_206B_200C_206A_206A_202D_206F_202C_202B_206B_206C_206B_202A_200C_206E_206B_206B_206A_202D_206A_206C_206A_200E_200E_202E_206E_200C_200D_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202B_202A_206A_202A_206A_206F_202A_202D_200F_206E_206E_202C_206C_206C_200C_206C_200C_200B_206D_206F_206B_200D_202E_202A_206A_200D_202D_202E_202D_202C_200B_200C_206F_206D_202B_200C_200B_202D_200E_206B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200B_202A_206B_206A_202D_200B_202E_206B_206F_200E_200E_202E_202D_200C_200D_200B_206B_206E_206F_206B_200C_206F_200B_206F_206D_206B_200D_200F_202B_206E_200D_200B_202C_202C_200F_206A_200E_202C_202A_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202E_206F_202D_206D_200C_202E_206C_202E_202C_200C_206E_202E_200D_206D_202E_206C_202B_206B_206C_206C_200B_202C_206E_206D_202B_206B_206E_202E_202D_202B_202B_202B_206E_206F_206F_202B_200D_206F_202E_206E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206D_200D_200C_200B_202D_202E_200E_202A_202E_206D_206F_202D_202B_200D_200F_200E_200F_206A_206D_206D_206B_200C_202D_202C_202D_200F_206E_206E_202D_200F_200D_200E_200D_200C_202C_200C_202A_202B_200D_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _200C_200B_200E_202B_206B_206E_206E_206A_200D_202C_206E_200C_202B_206E_202A_200F_202A_202D_206A_200D_202E_200E_206A_200F_202B_206F_202A_202D_200F_202E_200F_200D_200B_206D_200F_202A_202A_202D_200B_200F_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record SubRegionConnectorNode : NavNode + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206C_202D_206E_200D_202C_200F_202B_202A_202D_200D_206D_206B_200B_206F_202D_206E_202A_200C_200D_202A_206C_200B_200E_202D_206F_202B_200C_202A_206D_202B_202A_202A_200B_202E_202E_202E_206D_200D_202E_202E_202E(typeof(SubRegionConnectorNode).TypeHandle); + } + } + + public string SubRegionId { get; init; } + + public int ConnectorIndex { get; init; } + + public SubRegionConnectorKind Kind { get; init; } + + public override string Label + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + return _202E_206E_206D_202C_200F_200F_206C_206D_200D_200B_200E_200D_206A_200E_200F_200C_200E_206F_206B_206A_200D_200F_200E_200E_206F_200C_206F_202E_200F_206D_202C_200E_200E_206E_202C_206A_202E_206E_206A_206D_202E(global::_003CModule_003E._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(-1545521953), SubRegionId, global::_003CModule_003E._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(998949340)); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public SubRegionConnectorNode(uint TerritoryId, Vector3 Position, string SubRegionId, int ConnectorIndex, SubRegionConnectorKind Kind = SubRegionConnectorKind.Pad) + { + this.SubRegionId = SubRegionId; + this.ConnectorIndex = ConnectorIndex; + this.Kind = Kind; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(12, 3); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(2126027042)); + defaultInterpolatedStringHandler.AppendFormatted(TerritoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(960996185)); + defaultInterpolatedStringHandler.AppendFormatted(ConnectorIndex); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-286212766)); + defaultInterpolatedStringHandler.AppendFormatted(SubRegionId); + base._002Ector(defaultInterpolatedStringHandler.ToStringAndClear(), TerritoryId, Position); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200E_200B_200B_206C_202C_200F_200D_200C_200C_202E_200F_200B_200C_206F_200B_200E_206D_200B_206C_206D_202E_202E_200C_206D_206B_206B_200F_200C_200E_206F_202C_206E_200E_206E_202A_200B_200E_206A_202D_202A_202E(); + _206F_206B_202B_206E_200E_202D_200D_206D_206C_202A_206E_200B_200F_200D_202B_206F_202B_206B_200B_202A_202B_200C_202E_206C_206F_206C_200D_202A_202E_202C_202D_202E_200C_206D_202C_200F_206C_202B_200D_202E_202E(stringBuilder, global::_003CModule_003E._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(952806469)); + _206F_206B_202B_206E_200E_202D_200D_206D_206C_202A_206E_200B_200F_200D_202B_206F_202B_206B_200B_202A_202B_200C_202E_206C_206F_206C_200D_202A_202E_202C_202D_202E_200C_206D_202C_200F_206C_202B_200D_202E_202E(stringBuilder, global::_003CModule_003E._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(-979564187)); + int num = ((!PrintMembers(stringBuilder)) ? 1284783278 : 1284783277); + while (true) + { + int num2 = num; + int num3 = 1284783279; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _206A_200E_206A_202A_200C_206F_206C_206F_200B_200B_200E_200E_206C_202A_202A_206D_200C_202A_206E_202D_202E_206A_200F_206D_202C_202B_202D_200B_206C_200D_200F_206E_200F_202B_200E_206C_200D_200F_206A_202E(stringBuilder, '}'); + return _200E_200F_200F_206C_206A_206B_206C_202B_202C_200C_202C_200C_206B_206F_202A_206B_206D_202D_206B_200D_200C_200F_200F_200F_206D_202D_202B_206C_202E_206B_200C_200C_206A_206F_202C_206A_206F_200C_200B_202D_202E((object)stringBuilder); + case 2: + _206A_200E_206A_202A_200C_206F_206C_206F_200B_200B_200E_200E_206C_202A_202A_206D_200C_202A_206E_202D_202E_206A_200F_206D_202C_202B_202D_200B_206C_200D_200F_206E_200F_202B_200E_206C_200D_200F_206A_202E(stringBuilder, ' '); + num = 1284783278; + break; + case 0: + num = 1284783277; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 950981017 : 950981018); + while (true) + { + int num2 = num; + int num3 = 950981019; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 950981018; + break; + case 2: + _206F_206B_202B_206E_200E_202D_200D_206D_206C_202A_206E_200B_200F_200D_202B_206F_202B_206B_200B_202A_202B_200C_202E_206C_206F_206C_200D_202A_202E_202C_202D_202E_200C_206D_202C_200F_206C_202B_200D_202E_202E(builder, global::_003CModule_003E._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(-1212839402)); + _206A_206D_206D_200F_206D_200B_200B_200D_200D_202D_202D_206E_200F_206A_206F_202C_206B_202D_206E_200E_202A_200D_202E_202B_206E_200C_200F_202A_206E_200C_200D_202E_206E_200B_200D_200B_206F_206C_202C_206D_202E(builder, (object)SubRegionId); + _206F_206B_202B_206E_200E_202D_200D_206D_206C_202A_206E_200B_200F_200D_202B_206F_202B_206B_200B_202A_202B_200C_202E_206C_206F_206C_200D_202A_202E_202C_202D_202E_200C_206D_202C_200F_206C_202B_200D_202E_202E(builder, global::_003CModule_003E._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(719570479)); + _206F_206B_202B_206E_200E_202D_200D_206D_206C_202A_206E_200B_200F_200D_202B_206F_202B_206B_200B_202A_202B_200C_202E_206C_206F_206C_200D_202A_202E_202C_202D_202E_200C_206D_202C_200F_206C_202B_200D_202E_202E(builder, ConnectorIndex.ToString()); + _206F_206B_202B_206E_200E_202D_200D_206D_206C_202A_206E_200B_200F_200D_202B_206F_202B_206B_200B_202A_202B_200C_202E_206C_206F_206C_200D_202A_202E_202C_202D_202E_200C_206D_202C_200F_206C_202B_200D_202E_202E(builder, global::_003CModule_003E._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(-1170933717)); + _206F_206B_202B_206E_200E_202D_200D_206D_206C_202A_206E_200B_200F_200D_202B_206F_202B_206B_200B_202A_202B_200C_202E_206C_206F_206C_200D_202A_202E_202C_202D_202E_200C_206D_202C_200F_206C_202B_200D_202E_202E(builder, Kind.ToString()); + return true; + case 1: + _206F_206B_202B_206E_200E_202D_200D_206D_206C_202A_206E_200B_200F_200D_202B_206F_202B_206B_200B_202A_202B_200C_202E_206C_206F_206C_200D_202A_202E_202C_202D_202E_200C_206D_202C_200F_206C_202B_200D_202E_202E(builder, global::_003CModule_003E._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(-1584690827)); + num = 950981017; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(SubRegionConnectorNode? other) + { + int num = (((object)this == other) ? (-1558239083) : (-1558239087)); + while (true) + { + int num2 = num; + int num3 = -1558239085; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + return EqualityComparer.Default.Equals(Kind, other.Kind); + case 2: + num = ((!base.Equals(other)) ? (-1558239085) : (-1558239081)); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(ConnectorIndex, other.ConnectorIndex)) ? (-1558239085) : (-1558239086)); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(SubRegionId, other.SubRegionId)) ? (-1558239085) : (-1558239082)); + break; + case 3: + num = -1558239087; + break; + case 0: + return false; + case 6: + return true; + } + } + } + + bool IEquatable.Equals(SubRegionConnectorNode? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [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; + } + + static Type _206C_202D_206E_200D_202C_200F_202B_202A_202D_200D_206D_206B_200B_206F_202D_206E_202A_200C_200D_202A_206C_200B_200E_202D_206F_202B_200C_202A_206D_202B_202A_202A_200B_202E_202E_202E_206D_200D_202E_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static string _202E_206E_206D_202C_200F_200F_206C_206D_200D_200B_200E_200D_206A_200E_200F_200C_200E_206F_206B_206A_200D_200F_200E_200E_206F_200C_206F_202E_200F_206D_202C_200E_200E_206E_202C_206A_202E_206E_206A_206D_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static StringBuilder _200E_200B_200B_206C_202C_200F_200D_200C_200C_202E_200F_200B_200C_206F_200B_200E_206D_200B_206C_206D_202E_202E_200C_206D_206B_206B_200F_200C_200E_206F_202C_206E_200E_206E_202A_200B_200E_206A_202D_202A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206F_206B_202B_206E_200E_202D_200D_206D_206C_202A_206E_200B_200F_200D_202B_206F_202B_206B_200B_202A_202B_200C_202E_206C_206F_206C_200D_202A_202E_202C_202D_202E_200C_206D_202C_200F_206C_202B_200D_202E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_200E_206A_202A_200C_206F_206C_206F_200B_200B_200E_200E_206C_202A_202A_206D_200C_202A_206E_202D_202E_206A_200F_206D_202C_202B_202D_200B_206C_200D_200F_206E_200F_202B_200E_206C_200D_200F_206A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200E_200F_200F_206C_206A_206B_206C_202B_202C_200C_202C_200C_206B_206F_202A_206B_206D_202D_206B_200D_200C_200F_200F_200F_206D_202D_202B_206C_202E_206B_200C_200C_206A_206F_202C_206A_206F_200C_200B_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _206A_206D_206D_200F_206D_200B_200B_200D_200D_202D_202D_206E_200F_206A_206F_202C_206B_202D_206E_200E_202A_200D_202E_202B_206E_200C_200F_202A_206E_200C_200D_202E_206E_200B_200D_200B_206F_206C_202C_206D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _200C_206F_202C_202C_206F_200C_206F_202E_206C_200F_206A_202E_202D_200B_206F_206F_200E_200F_200C_202C_202C_200E_206F_200F_206F_200C_202A_202C_202A_202B_206A_206A_206A_206A_200F_206A_206D_202A_206F_202D_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record TicketNode : NavNode + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _200D_206C_200B_202E_206A_200B_202C_202B_200D_202E_206F_200B_200F_206D_200F_200F_200C_202C_202D_206F_206C_206E_206A_206C_206B_200C_202D_206A_206F_202E_202B_202C_206A_200B_200D_200E_206E_206D_200B_206D_202E(typeof(TicketNode).TypeHandle); + } + } + + public uint ItemId { get; init; } + + public override string Label + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(7, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-563207380)); + defaultInterpolatedStringHandler.AppendFormatted(ItemId); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public TicketNode(uint ItemId, uint TerritoryId, Vector3 Position) + { + this.ItemId = ItemId; + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1008041231)); + defaultInterpolatedStringHandler.AppendFormatted(ItemId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-968357598)); + defaultInterpolatedStringHandler.AppendFormatted(TerritoryId); + base._002Ector(defaultInterpolatedStringHandler.ToStringAndClear(), TerritoryId, Position); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202B_206E_206E_200D_202D_202C_200D_206F_202A_202B_206E_206E_202D_206D_202A_202B_200C_202A_206E_206A_200B_200E_202E_206B_206D_202D_202E_206C_202B_202B_202B_202A_202C_206E_202D_206E_202E_200E_206C_202C_202E(); + _206D_206C_206D_206E_202C_202B_202B_200C_206C_200B_206B_200E_200D_200E_206E_200C_206C_202D_206E_200B_206B_206F_206F_200D_206F_206B_200E_202E_206D_200C_202B_200C_200F_206B_206B_200C_206F_206F_206D_206D_202E(stringBuilder, global::_003CModule_003E._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(1284211481)); + _206D_206C_206D_206E_202C_202B_202B_200C_206C_200B_206B_200E_200D_200E_206E_200C_206C_202D_206E_200B_206B_206F_206F_200D_206F_206B_200E_202E_206D_200C_202B_200C_200F_206B_206B_200C_206F_206F_206D_206D_202E(stringBuilder, global::_003CModule_003E._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(1547267250)); + int num = ((!PrintMembers(stringBuilder)) ? 1054078675 : 1054078672); + while (true) + { + int num2 = num; + int num3 = 1054078674; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1054078672; + break; + case 2: + _200B_206F_202D_206E_206E_200F_200E_202C_202D_202A_206A_206F_206E_206F_206C_202B_202C_202D_200C_202A_202B_200D_202E_206F_206E_206A_202E_206F_206C_200F_202A_200E_202E_206D_202C_206D_200B_206B_200F_200C_202E(stringBuilder, ' '); + num = 1054078675; + break; + case 1: + _200B_206F_202D_206E_206E_200F_200E_202C_202D_202A_206A_206F_206E_206F_206C_202B_202C_202D_200C_202A_202B_200D_202E_206F_206E_206A_202E_206F_206C_200F_202A_200E_202E_206D_202C_206D_200B_206B_200F_200C_202E(stringBuilder, '}'); + return _206A_206B_200B_206E_206C_202B_200F_206F_206A_200E_202B_206C_206E_200D_202A_206D_202D_206F_200D_202B_200B_206D_202E_206B_200F_200E_202C_200B_206F_202A_200B_206C_202A_202A_200C_200E_206C_200D_200F_206B_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 342150993 : 342150992); + while (true) + { + int num2 = num; + int num3 = 342150993; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _206D_206C_206D_206E_202C_202B_202B_200C_206C_200B_206B_200E_200D_200E_206E_200C_206C_202D_206E_200B_206B_206F_206F_200D_206F_206B_200E_202E_206D_200C_202B_200C_200F_206B_206B_200C_206F_206F_206D_206D_202E(builder, global::_003CModule_003E._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(1694792627)); + _206D_206C_206D_206E_202C_202B_202B_200C_206C_200B_206B_200E_200D_200E_206E_200C_206C_202D_206E_200B_206B_206F_206F_200D_206F_206B_200E_202E_206D_200C_202B_200C_200F_206B_206B_200C_206F_206F_206D_206D_202E(builder, ItemId.ToString()); + return true; + case 1: + _206D_206C_206D_206E_202C_202B_202B_200C_206C_200B_206B_200E_200D_200E_206E_200C_206C_202D_206E_200B_206B_206F_206F_200D_206F_206B_200E_202E_206D_200C_202B_200C_200F_206B_206B_200C_206F_206F_206D_206D_202E(builder, global::_003CModule_003E._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(520781629)); + num = 342150993; + break; + case 2: + num = 342150992; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(TicketNode? other) + { + int num = (((object)this == other) ? (-184917179) : (-184917184)); + while (true) + { + int num2 = num; + int num3 = -184917183; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -184917184; + break; + case 1: + num = ((!base.Equals(other)) ? (-184917183) : (-184917182)); + break; + case 3: + return EqualityComparer.Default.Equals(ItemId, other.ItemId); + case 0: + return false; + case 4: + return true; + } + } + } + + bool IEquatable.Equals(TicketNode? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [CompilerGenerated] + public void Deconstruct(out uint ItemId, out uint TerritoryId, out Vector3 Position) + { + ItemId = this.ItemId; + TerritoryId = base.TerritoryId; + Position = base.Position; + } + + static Type _200D_206C_200B_202E_206A_200B_202C_202B_200D_202E_206F_200B_200F_206D_200F_200F_200C_202C_202D_206F_206C_206E_206A_206C_206B_200C_202D_206A_206F_202E_202B_202C_206A_200B_200D_200E_206E_206D_200B_206D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202B_206E_206E_200D_202D_202C_200D_206F_202A_202B_206E_206E_202D_206D_202A_202B_200C_202A_206E_206A_200B_200E_202E_206B_206D_202D_202E_206C_202B_202B_202B_202A_202C_206E_202D_206E_202E_200E_206C_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206D_206C_206D_206E_202C_202B_202B_200C_206C_200B_206B_200E_200D_200E_206E_200C_206C_202D_206E_200B_206B_206F_206F_200D_206F_206B_200E_202E_206D_200C_202B_200C_200F_206B_206B_200C_206F_206F_206D_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200B_206F_202D_206E_206E_200F_200E_202C_202D_202A_206A_206F_206E_206F_206C_202B_202C_202D_200C_202A_202B_200D_202E_206F_206E_206A_202E_206F_206C_200F_202A_200E_202E_206D_202C_206D_200B_206B_200F_200C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206A_206B_200B_206E_206C_202B_200F_206F_206A_200E_202B_206C_206E_200D_202A_206D_202D_206F_200D_202B_200B_206D_202E_206B_200F_200E_202C_200B_206F_202A_200B_206C_202A_202A_200C_200E_206C_200D_200F_206B_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _202C_206D_200B_202D_202D_200E_206C_202B_206E_200C_206B_202A_206A_206D_206D_200F_202C_200C_202A_202B_206B_206C_202D_200B_206E_206C_200E_200F_202A_206F_200F_206F_206D_200E_206F_202D_206E_202D_200C_200F_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record PositionNode : NavNode + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206A_206C_206F_206D_206F_200F_202E_206F_200B_206D_202B_206E_200D_206E_206F_202E_206C_206E_200B_206A_200F_206C_202C_206E_200E_206C_202D_200D_202B_200D_200D_206F_200F_206F_206D_202B_200B_206E_206C_202B_202E(typeof(PositionNode).TypeHandle); + } + } + + public override string Label + { + [MethodImpl(MethodImplOptions.NoInlining)] + get + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(13, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1142645933)); + defaultInterpolatedStringHandler.AppendFormatted(base.Position.X, global::_003CModule_003E._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(362137046)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(1789050939)); + defaultInterpolatedStringHandler.AppendFormatted(base.Position.Z, global::_003CModule_003E._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(362137046)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-494077548)); + return defaultInterpolatedStringHandler.ToStringAndClear(); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public PositionNode(uint TerritoryId, Vector3 Position) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(7, 4); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2022016874)); + defaultInterpolatedStringHandler.AppendFormatted(TerritoryId); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-968357598)); + defaultInterpolatedStringHandler.AppendFormatted(Position.X, global::_003CModule_003E._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(-640541805)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-286212766)); + defaultInterpolatedStringHandler.AppendFormatted(Position.Y, global::_003CModule_003E._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(-640541805)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-136850898)); + defaultInterpolatedStringHandler.AppendFormatted(Position.Z, global::_003CModule_003E._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(978384048)); + base._002Ector(defaultInterpolatedStringHandler.ToStringAndClear(), TerritoryId, Position); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200B_202C_202C_206A_200B_206C_206A_200C_200C_206E_202C_200C_200F_206E_200C_202D_202D_200C_202E_206C_200C_202A_200F_202C_200D_200D_200C_202D_202E_200B_200F_200D_206F_200D_202C_200B_202A_206E_202E_200C_202E(); + _202B_200D_200F_200D_200C_200D_206F_202D_206D_206A_206A_206D_200B_200B_202D_206F_206E_206E_202E_206B_200C_200D_206A_206A_206E_206E_200F_200C_206C_206C_200F_200E_206C_202A_202D_202A_206B_200C_200B_202A_202E(stringBuilder, global::_003CModule_003E._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(-1140203769)); + _202B_200D_200F_200D_200C_200D_206F_202D_206D_206A_206A_206D_200B_200B_202D_206F_206E_206E_202E_206B_200C_200D_206A_206A_206E_206E_200F_200C_206C_206C_200F_200E_206C_202A_202D_202A_206B_200C_200B_202A_202E(stringBuilder, global::_003CModule_003E._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(-979564187)); + int num = ((!PrintMembers(stringBuilder)) ? (-501789777) : (-501789780)); + while (true) + { + int num2 = num; + int num3 = -501789778; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -501789780; + break; + case 1: + _206B_200B_206B_200D_206F_206A_206A_202B_202E_200E_202C_202E_202A_206F_202C_200C_202D_200F_200F_206C_202E_200F_200C_206F_206C_200C_206F_200B_200E_206A_206C_206F_202E_202B_200E_206F_202C_206C_206C_200D_202E(stringBuilder, '}'); + return _206E_200E_206A_206B_202C_202E_200F_202A_206E_202C_206C_206E_200D_200C_206A_200C_202C_202A_206C_200D_200F_206F_206C_202A_202A_206E_206C_206F_202A_206A_206D_202D_200E_200F_200B_200F_202B_200D_202E_202D_202E((object)stringBuilder); + case 2: + _206B_200B_206B_200D_206F_206A_206A_202B_202E_200E_202C_202E_202A_206F_202C_200C_202D_200F_200F_206C_202E_200F_200C_206F_206C_200C_206F_200B_200E_206A_206C_206F_202E_202B_200E_206F_202C_206C_206C_200D_202E(stringBuilder, ' '); + num = -501789777; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(PositionNode? other) + { + int num = (((object)this == other) ? (-1213911154) : (-1213911153)); + while (true) + { + int num2 = num; + int num3 = -1213911154; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0044; + case 1: + return base.Equals(other); + case 0: + return true; + } + continue; + IL_0044: + num = -1213911153; + } + } + + bool IEquatable.Equals(PositionNode? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [CompilerGenerated] + public void Deconstruct(out uint TerritoryId, out Vector3 Position) + { + TerritoryId = base.TerritoryId; + Position = base.Position; + } + + static Type _206A_206C_206F_206D_206F_200F_202E_206F_200B_206D_202B_206E_200D_206E_206F_202E_206C_206E_200B_206A_200F_206C_202C_206E_200E_206C_202D_200D_202B_200D_200D_206F_200F_206F_206D_202B_200B_206E_206C_202B_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200B_202C_202C_206A_200B_206C_206A_200C_200C_206E_202C_200C_200F_206E_200C_202D_202D_200C_202E_206C_200C_202A_200F_202C_200D_200D_200C_202D_202E_200B_200F_200D_206F_200D_202C_200B_202A_206E_202E_200C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202B_200D_200F_200D_200C_200D_206F_202D_206D_206A_206A_206D_200B_200B_202D_206F_206E_206E_202E_206B_200C_200D_206A_206A_206E_206E_200F_200C_206C_206C_200F_200E_206C_202A_202D_202A_206B_200C_200B_202A_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_200B_206B_200D_206F_206A_206A_202B_202E_200E_202C_202E_202A_206F_202C_200C_202D_200F_200F_206C_202E_200F_200C_206F_206C_200C_206F_200B_200E_206A_206C_206F_202E_202B_200E_206F_202C_206C_206C_200D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206E_200E_206A_206B_202C_202E_200F_202A_206E_202C_206C_206E_200D_200C_206A_200C_202C_202A_206C_200D_200F_206F_206C_202A_202A_206E_206C_206F_202A_206A_206D_202D_200E_200F_200B_200F_202B_200D_202E_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _202D_202A_202E_206C_200E_206A_200B_206B_206C_200C_200C_206C_206B_202C_200D_200E_206A_200B_206C_202A_200B_206B_200B_206F_206D_202C_200E_202A_206A_202A_206A_206D_200F_206F_200C_202C_202E_206A_202C_200C_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + protected virtual Type EqualityContract + { + [CompilerGenerated] + get + { + return _200E_202D_206D_200D_206E_200D_206E_206E_202D_206C_200C_206A_206E_200C_202E_202E_202D_206D_200C_206D_206D_200F_200E_200B_200B_200D_206A_202C_206E_206C_202E_202D_202B_206C_206D_206E_202D_206C_206C_200F_202E(typeof(NavNode).TypeHandle); + } + } + + public abstract string Label { get; } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206A_206B_206A_200C_206E_206E_202E_206F_206E_206D_206A_200B_202D_206D_200E_206C_206A_206B_200C_200E_200C_200D_206A_206A_200B_202A_206D_206D_200E_206C_206D_202A_200C_202C_202A_206A_206C_206D_202B_206C_202E(); + _200E_200F_200D_202B_202A_202B_202B_206E_206D_202D_206D_200B_200B_202D_206E_206B_206E_206B_206F_202B_200B_200F_200E_206E_200C_202D_200F_202A_200D_206E_202D_200B_200B_202D_206C_206D_206F_202B_200B_206D_202E(stringBuilder, global::_003CModule_003E._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(1771580269)); + _200E_200F_200D_202B_202A_202B_202B_206E_206D_202D_206D_200B_200B_202D_206E_206B_206E_206B_206F_202B_200B_200F_200E_206E_200C_202D_200F_202A_200D_206E_202D_200B_200B_202D_206C_206D_206F_202B_200B_206D_202E(stringBuilder, global::_003CModule_003E._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(1886515922)); + int num = ((!PrintMembers(stringBuilder)) ? 1763600103 : 1763600100); + while (true) + { + int num2 = num; + int num3 = 1763600102; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 1763600100; + break; + case 1: + _206C_200B_200E_206B_206F_202A_200C_200E_206C_202A_200E_206B_200F_202C_206A_206E_200B_206D_200E_206D_200C_200C_200D_200C_202C_206F_200F_200B_206B_202E_202E_202B_206A_206B_200B_206B_206A_202E_200D_206A_202E(stringBuilder, '}'); + return _206C_206A_200C_202C_200C_206C_200E_202B_206A_200E_200D_206B_200B_202B_200F_206B_206C_206B_200F_206B_206E_200D_202C_206C_202A_202D_202E_200C_206F_200B_200F_200C_206F_206E_206C_200C_202C_206D_202B_200D_202E((object)stringBuilder); + case 2: + _206C_200B_200E_206B_206F_202A_200C_200E_206C_202A_200E_206B_200F_202C_206A_206E_200B_206D_200E_206D_200C_200C_200D_200C_202C_206F_200F_200B_206B_202E_202E_202B_206A_206B_200B_206B_206A_202E_200D_206A_202E(stringBuilder, ' '); + num = 1763600103; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected virtual bool PrintMembers(StringBuilder builder) + { + _206E_202C_202C_202E_206B_200D_200E_202E_206B_206B_202E_206A_202D_200C_206E_202A_206F_200F_202E_206C_206D_200C_202E_202C_200B_206C_200E_206A_206A_200C_200E_200B_206C_202B_202D_200D_200C_202C_202C_206C_202E(); + _200E_200F_200D_202B_202A_202B_202B_206E_206D_202D_206D_200B_200B_202D_206E_206B_206E_206B_206F_202B_200B_200F_200E_206E_200C_202D_200F_202A_200D_206E_202D_200B_200B_202D_206C_206D_206F_202B_200B_206D_202E(builder, global::_003CModule_003E._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(1765352694)); + _202B_200D_206D_200F_206B_200D_202E_202B_202C_200D_206F_200E_206C_200B_202C_206B_202E_206D_206A_206C_202A_202C_200D_202D_202B_202D_200B_206B_200E_202A_200F_206B_206F_200B_202A_206A_202D_200C_206F_206B_202E(builder, (object)Id); + _200E_200F_200D_202B_202A_202B_202B_206E_206D_202D_206D_200B_200B_202D_206E_206B_206E_206B_206F_202B_200B_200F_200E_206E_200C_202D_200F_202A_200D_206E_202D_200B_200B_202D_206C_206D_206F_202B_200B_206D_202E(builder, global::_003CModule_003E._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(-1370916953)); + _200E_200F_200D_202B_202A_202B_202B_206E_206D_202D_206D_200B_200B_202D_206E_206B_206E_206B_206F_202B_200B_200F_200E_206E_200C_202D_200F_202A_200D_206E_202D_200B_200B_202D_206C_206D_206F_202B_200B_206D_202E(builder, TerritoryId.ToString()); + _200E_200F_200D_202B_202A_202B_202B_206E_206D_202D_206D_200B_200B_202D_206E_206B_206E_206B_206F_202B_200B_200F_200E_206E_200C_202D_200F_202A_200D_206E_202D_200B_200B_202D_206C_206D_206F_202B_200B_206D_202E(builder, global::_003CModule_003E._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(-1811452076)); + _200E_200F_200D_202B_202A_202B_202B_206E_206D_202D_206D_200B_200B_202D_206E_206B_206E_206B_206F_202B_200B_200F_200E_206E_200C_202D_200F_202A_200D_206E_202D_200B_200B_202D_206C_206D_206F_202B_200B_206D_202E(builder, Position.ToString()); + _200E_200F_200D_202B_202A_202B_202B_206E_206D_202D_206D_200B_200B_202D_206E_206B_206E_206B_206F_202B_200B_200F_200E_206E_200C_202D_200F_202A_200D_206E_202D_200B_200B_202D_206C_206D_206F_202B_200B_206D_202E(builder, global::_003CModule_003E._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(-743080443)); + _202B_200D_206D_200F_206B_200D_202E_202B_202C_200D_206F_200E_206C_200B_202C_206B_202E_206D_206A_206C_202A_202C_200D_202D_202B_202D_200B_206B_200E_202A_200F_206B_206F_200B_202A_206A_202D_200C_206F_206B_202E(builder, (object)Label); + return true; + } + + [CompilerGenerated] + public virtual bool Equals(NavNode? other) + { + int num = (((object)this == other) ? 164514831 : 164514827); + while (true) + { + int num2 = num; + int num3 = 164514829; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + num = ((!_202C_202B_206E_206A_202D_206E_202A_206A_206B_206F_200E_200D_200B_202A_202D_200F_200E_200F_202C_200E_206D_202E_200F_206B_206C_206E_200B_200F_200D_200D_200F_202A_202E_202C_202B_202D_202B_202B_202E(EqualityContract, other.EqualityContract)) ? 164514828 : 164514825); + break; + case 2: + return true; + case 3: + num = 164514827; + break; + case 0: + num = ((!EqualityComparer.Default.Equals(TerritoryId, other.TerritoryId)) ? 164514828 : 164514824); + break; + case 1: + return false; + case 4: + num = ((!EqualityComparer.Default.Equals(Id, other.Id)) ? 164514828 : 164514829); + break; + case 6: + num = (((object)other == null) ? 164514828 : 164514826); + break; + case 5: + return EqualityComparer.Default.Equals(Position, other.Position); + } + } + } + + bool IEquatable.Equals(NavNode? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200E_202D_206D_200D_206E_200D_206E_206E_202D_206C_200C_206A_206E_200C_202E_202E_202D_206D_200C_206D_206D_200F_200E_200B_200B_200D_206A_202C_206E_206C_202E_202D_202B_206C_206D_206E_202D_206C_206C_200F_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206A_206B_206A_200C_206E_206E_202E_206F_206E_206D_206A_200B_202D_206D_200E_206C_206A_206B_200C_200E_200C_200D_206A_206A_200B_202A_206D_206D_200E_206C_206D_202A_200C_202C_202A_206A_206C_206D_202B_206C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200E_200F_200D_202B_202A_202B_202B_206E_206D_202D_206D_200B_200B_202D_206E_206B_206E_206B_206F_202B_200B_200F_200E_206E_200C_202D_200F_202A_200D_206E_202D_200B_200B_202D_206C_206D_206F_202B_200B_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206C_200B_200E_206B_206F_202A_200C_200E_206C_202A_200E_206B_200F_202C_206A_206E_200B_206D_200E_206D_200C_200C_200D_200C_202C_206F_200F_200B_206B_202E_202E_202B_206A_206B_200B_206B_206A_202E_200D_206A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_206A_200C_202C_200C_206C_200E_202B_206A_200E_200D_206B_200B_202B_200F_206B_206C_206B_200F_206B_206E_200D_202C_206C_202A_202D_202E_200C_206F_200B_200F_200C_206F_206E_206C_200C_202C_206D_202B_200D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _206E_202C_202C_202E_206B_200D_200E_202E_206B_206B_202E_206A_202D_200C_206E_202A_206F_200F_202E_206C_206D_200C_202E_202C_200B_206C_200E_206A_206A_200C_200E_200B_206C_202B_202D_200D_200C_202C_202C_206C_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _202B_200D_206D_200F_206B_200D_202E_202B_202C_200D_206F_200E_206C_200B_202C_206B_202E_206D_206A_206C_202A_202C_200D_202D_202B_202D_200B_206B_200E_202A_200F_206B_206F_200B_202A_206A_202D_200C_206F_206B_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _202C_202B_206E_206A_202D_206E_202A_206A_206B_206F_200E_200D_200B_202A_202D_200F_200E_200F_202C_200E_206D_202E_200F_206B_206C_206E_200B_200F_200D_200D_200F_202A_202E_202C_202B_202D_202B_202B_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/SmartNav/SmartNav.csproj b/SmartNav/SmartNav.csproj new file mode 100644 index 00000000..c50361de --- /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\Lumina.Excel.dll + + + ..\..\LLib.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\FFXIVClientStructs.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 00000000..fd77bd89 --- /dev/null +++ b/SmartNav/SmartNav/CostCalculator.cs @@ -0,0 +1,83 @@ +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) + { + int num = (territoryInfo.CanUseMount(territoryId) ? (-1627784527) : (-1627784525)); + float num7 = default(float); + while (true) + { + int num2 = num; + int num3 = -1627784522; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 8: + { + float num8 = _200D_202D_202A_202D_202B_206A_202A_202A_206F_200B_206C_206F_202A_206D_202C_206D_202A_206C_202C_202D_200E_202A_200D_206F_200B_200B_206F_206C_202E_206D_202D_206D_206E_200E_200C_206E_206E_206B_202C_202C_202E(playerState.GetMountSpeedLevel(territoryId)); + return num7 / num8 + 1f; + } + case 7: + num = ((!playerState.MountUnlocked) ? (-1627784528) : (-1627784521)); + break; + case 4: + num7 = Estimate2DDistance(from, to) * 1.3f; + num = (playerState.MountUnlocked ? (-1627784514) : (-1627784524)); + break; + case 1: + if (playerState.IsFlyingUnlocked(territoryId)) + { + num = -1627784523; + break; + } + goto case 6; + case 5: + return Estimate2DDistance(from, to) * 1.1f / 7.8f; + case 0: + num = -1627784525; + break; + case 2: + return num7 / 6f; + case 6: + num = -1627784526; + break; + case 3: + return Vector3.Distance(from, to) / 20f + 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 _202B_202B_206C_206D_200B_206B_206C_202B_200B_206E_200E_200E_200F_206F_206C_200D_206C_206A_202E_202B_200E_206F_202B_202B_206E_200D_202A_202D_200E_202E_206A_200C_202E_200D_202E_206D_200B_200C_206D_202E_202E(num * num + num2 * num2); + } + + static float _200D_202D_202A_202D_202B_206A_202A_202A_206F_200B_206C_206F_202A_206D_202C_206D_202A_206C_202C_202D_200E_202A_200D_206F_200B_200B_206F_206C_202E_206D_202D_206D_206E_200E_200C_206E_206E_206B_202C_202C_202E(int P_0) + { + return MovementData.Speeds.GetMountGroundSpeed(P_0); + } + + static float _202B_202B_206C_206D_200B_206B_206C_202B_200B_206E_200E_200E_200F_206F_206C_200D_206C_206A_202E_202B_200E_206F_202B_202B_206E_200D_202A_202D_200E_202E_206A_200C_202E_200D_202E_206D_200B_200C_206D_202E_202E(float P_0) + { + return MathF.Sqrt(P_0); + } +} diff --git a/SmartNav/SmartNav/IPlayerContext.cs b/SmartNav/SmartNav/IPlayerContext.cs new file mode 100644 index 00000000..3311834c --- /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 00000000..8bb5a26c --- /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 00000000..8c57dfaf --- /dev/null +++ b/SmartNav/SmartNav/NavGraphBuilder.cs @@ -0,0 +1,1033 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +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; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public NavGraph Build() + { + NavGraph navGraph = new NavGraph(); + AddAetheryteNodes(navGraph); + AddAethernetEdges(navGraph); + AddZoneBoundaryNodes(navGraph); + AddWarpNodes(navGraph); + AddSubRegionConnectorNodes(navGraph); + _200D_206F_200E_200E_206F_202A_200E_206E_200F_202B_200B_206C_206E_200F_206C_202B_202B_200D_200F_206C_206A_202C_206D_206B_202C_206E_200E_202D_202C_200F_200E_206B_202B_206F_202D_202C_206B_202D_206A_202A_202E((ILogger)_logger, global::_003CModule_003E._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(657022072), new object[2] { navGraph.NodeCount, navGraph.EdgeCount }); + return navGraph; + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void AddAetheryteNodes(NavGraph graph) + { + IEnumerator> enumerator = _aetheryteData.Locations.GetEnumerator(); + try + { + int num = 2034033446; + EAetheryteLocation eAetheryteLocation = default(EAetheryteLocation); + ushort value = default(ushort); + Vector3 position = default(Vector3); + while (true) + { + int num2 = num; + int num3 = 2034033443; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = 2034033446; + break; + case 6: + num = ((!_206E_202A_202A_200D_206E_200C_200B_206C_206F_202E_200C_206E_206A_206E_202A_206D_200C_202A_200D_202B_202B_206F_206C_206C_206C_200B_202C_202B_200B_206F_202A_202E_202C_202B_200D_202D_206E_202B_200E_202E(eAetheryteLocation)) ? 2034033443 : 2034033447); + break; + case 0: + { + EAetheryteLocation parentAetheryte = FindParentAetheryte(eAetheryteLocation); + graph.AddNode(new NavNode.AethernetNode(eAetheryteLocation, value, position, parentAetheryte)); + num = 2034033446; + break; + } + case 2: + { + enumerator.Current.Deconstruct(out var key, out var value2); + eAetheryteLocation = key; + position = value2; + num = ((!_aetheryteData.TerritoryIds.TryGetValue(eAetheryteLocation, out value)) ? 2034033446 : 2034033445); + break; + } + case 5: + num = (_206C_200C_206C_202E_200E_206A_200C_200F_206E_206B_200E_206C_206C_206F_202B_200C_206E_202B_200D_206F_202E_206E_200C_200B_200E_200E_202E_200C_202E_200B_202B_202D_206F_206F_206A_206D_206B_206B_206C_206F_202E((IEnumerator)enumerator) ? 2034033441 : 2034033442); + break; + case 4: + graph.AddNode(new NavNode.AetheryteNode(eAetheryteLocation, value, position)); + num = 2034033446; + break; + case 1: + goto end_IL_001d; + } + continue; + end_IL_001d: + break; + } + } + finally + { + int num = ((enumerator == null) ? 1399376806 : 1399376805); + while (true) + { + int num7 = num; + int num3 = 1399376804; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1399376805; + break; + case 2: + goto end_IL_0159; + case 1: + _206C_206E_206D_200B_206E_202A_202B_200B_202B_202A_206B_200D_202B_202A_206E_202C_206A_206E_202A_200F_200D_200E_202D_206C_202D_206C_202E_200F_200E_200F_202C_200F_206A_200B_202A_206A_202E_206A_202D_206F_202E((IDisposable)enumerator); + num = 1399376806; + break; + } + continue; + end_IL_0159: + break; + } + } + _200D_206F_200E_200E_206F_202A_200E_206E_200F_202B_200B_206C_206E_200F_206C_202B_202B_200D_200F_206C_206A_202C_206D_206B_202C_206E_200E_202D_202C_200F_200E_206B_202B_206F_202D_202C_206B_202D_206A_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-1881698), new object[1] { graph.NodeCount }); + } + + private EAetheryteLocation FindParentAetheryte(EAetheryteLocation aethernet) + { + int num = (_aetheryteData.AethernetGroups.TryGetValue(aethernet, out var value) ? (-326015895) : (-326015894)); + EAetheryteLocation eAetheryteLocation = default(EAetheryteLocation); + while (true) + { + int num2 = num; + int num3 = -326015896; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_005e; + case 2: + return EAetheryteLocation.None; + case 1: + { + IEnumerator> enumerator = _aetheryteData.AethernetGroups.GetEnumerator(); + try + { + num = -719267663; + while (true) + { + int num7 = num; + num3 = -719267664; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 3: + num = ((!_206E_202A_202A_200D_206E_200C_200B_206C_206F_202E_200C_206E_206A_206E_202A_206D_200C_202A_200D_202B_202B_206F_206C_206C_206C_200B_202C_202B_200B_206F_202A_202E_202C_202B_200D_202D_206E_202B_200E_202E(eAetheryteLocation)) ? (-719267663) : (-719267662)); + break; + case 4: + { + enumerator.Current.Deconstruct(out var key, out var value2); + eAetheryteLocation = key; + num = ((value2 != value) ? (-719267663) : (-719267661)); + break; + } + case 0: + num = -719267663; + break; + case 2: + return eAetheryteLocation; + case 1: + num = (_206C_200C_206C_202E_200E_206A_200C_200F_206E_206B_200E_206C_206C_206F_202B_200C_206E_202B_200D_206F_202E_206E_200C_200B_200E_200E_202E_200C_202E_200B_202B_202D_206F_206F_206A_206D_206B_206B_206C_206F_202E((IEnumerator)enumerator) ? (-719267660) : (-719267659)); + break; + case 5: + goto end_IL_0089; + } + continue; + end_IL_0089: + break; + } + } + finally + { + num = ((enumerator == null) ? 1291922987 : 1291922984); + while (true) + { + int num10 = num; + num3 = 1291922985; + num4 = num10; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1291922984; + break; + case 1: + _206C_206E_206D_200B_206E_202A_202B_200B_202B_202A_206B_200D_202B_202A_206E_202C_206A_206E_202A_200F_200D_200E_202D_206C_202D_206C_202E_200F_200E_200F_202C_200F_206A_200B_202A_206A_202E_206A_202D_206F_202E((IDisposable)enumerator); + num = 1291922987; + break; + case 2: + goto end_IL_0181; + } + continue; + end_IL_0181: + break; + } + } + return EAetheryteLocation.None; + } + } + continue; + IL_005e: + num = -326015894; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void AddAethernetEdges(NavGraph graph) + { + Dictionary> dictionary = new Dictionary>(); + IEnumerator enumerator = graph.Nodes.Values.GetEnumerator(); + try + { + int num = -250279135; + List value2 = default(List); + ushort value = default(ushort); + NavNode current = default(NavNode); + NavNode.AetheryteNode aetheryteNode = default(NavNode.AetheryteNode); + NavNode.AethernetNode aethernetNode = default(NavNode.AethernetNode); + while (true) + { + int num2 = num; + int num3 = -250279125; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + value2 = (dictionary[value] = new List()); + num = -250279126; + break; + case 9: + current = enumerator.Current; + value = 0; + aetheryteNode = current as NavNode.AetheryteNode; + num = (((object)aetheryteNode == null) ? (-250279128) : (-250279133)); + break; + case 4: + num = (dictionary.TryGetValue(value, out value2) ? (-250279126) : (-250279125)); + break; + case 8: + _aetheryteData.AethernetGroups.TryGetValue(aetheryteNode.Aetheryte, out value); + num = -250279123; + break; + case 6: + num = ((value == 0) ? (-250279135) : (-250279121)); + break; + case 3: + aethernetNode = current as NavNode.AethernetNode; + num = (((object)aethernetNode == null) ? (-250279123) : (-250279124)); + break; + case 10: + num = (_206C_200C_206C_202E_200E_206A_200C_200F_206E_206B_200E_206C_206C_206F_202B_200C_206E_202B_200D_206F_202E_206E_200C_200B_200E_200E_202E_200C_202E_200B_202B_202D_206F_206F_206A_206D_206B_206B_206C_206F_202E((IEnumerator)enumerator) ? (-250279134) : (-250279127)); + break; + case 1: + value2.Add(current); + num = -250279135; + break; + case 5: + num = -250279135; + break; + case 7: + _aetheryteData.AethernetGroups.TryGetValue(aethernetNode.Aethernet, out value); + num = -250279123; + break; + case 2: + goto end_IL_0023; + } + continue; + end_IL_0023: + break; + } + } + finally + { + int num = ((enumerator == null) ? (-924795166) : (-924795165)); + while (true) + { + int num7 = num; + int num3 = -924795166; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -924795165; + break; + case 1: + _206C_206E_206D_200B_206E_202A_202B_200B_202B_202A_206B_200D_202B_202A_206E_202C_206A_206E_202A_200F_200D_200E_202D_206C_202D_206C_202E_200F_200E_200F_202C_200F_206A_200B_202A_206A_202E_206A_202D_206F_202E((IDisposable)enumerator); + num = -924795166; + break; + case 0: + goto end_IL_01de; + } + continue; + end_IL_01de: + break; + } + } + int num8 = 0; + using (Dictionary>.Enumerator enumerator2 = dictionary.GetEnumerator()) + { + int num = -381431416; + int num14 = default(int); + List list2 = default(List); + int num12 = default(int); + EAetheryteLocation? aethernetParticipant = default(EAetheryteLocation?); + while (true) + { + int num9 = num; + int num3 = -381431411; + int num4 = num9; + int num10 = num4 + num3; + int num11 = num4 & num3; + switch (num10 - (num11 + num11)) + { + case 12: + num = ((num14 < list2.Count) ? (-381431414) : (-381431415)); + break; + case 14: + { + int num17 = num12; + num3 = 1; + num4 = num17; + int num18 = num4 ^ num3; + int num19 = num4 & num3; + num14 = num18 + (num19 + num19); + num = -381431423; + break; + } + case 6: + { + EAetheryteLocation valueOrDefault2 = aethernetParticipant.GetValueOrDefault(); + num = ((!HasInteractableShard(valueOrDefault2)) ? (-381431419) : (-381431420)); + break; + } + case 2: + aethernetParticipant = GetAethernetParticipant(list2[num14]); + num = ((!aethernetParticipant.HasValue) ? (-381431419) : (-381431413)); + break; + case 5: + num = (enumerator2.MoveNext() ? (-381431417) : (-381431410)); + break; + case 11: + num = ((num12 < list2.Count) ? (-381431421) : (-381431416)); + break; + case 1: + { + graph.AddEdge(new NavEdge(list2[num12].Id, list2[num14].Id, NavEdgeType.AethernetHop, 0f, 0)); + int num24 = num8; + num3 = 1; + num4 = num24; + num8 = (num4 | num3) + (num4 & num3); + num = -381431409; + break; + } + case 4: + { + int num21 = num12; + num3 = 1; + num4 = num21; + int num22 = num4 ^ num3; + int num23 = num4 & num3; + num12 = num22 + (num23 + num23); + num = -381431418; + break; + } + case 0: + num = -381431416; + break; + case 9: + { + graph.AddEdge(new NavEdge(list2[num14].Id, list2[num12].Id, NavEdgeType.AethernetHop, 0f, 0)); + int num20 = num8; + num3 = 1; + num4 = num20; + num8 = (num4 | num3) + (num4 & num3); + num = -381431419; + break; + } + case 7: + aethernetParticipant = GetAethernetParticipant(list2[num12]); + num = ((!aethernetParticipant.HasValue) ? (-381431409) : (-381431424)); + break; + case 13: + { + EAetheryteLocation valueOrDefault = aethernetParticipant.GetValueOrDefault(); + num = ((!HasInteractableShard(valueOrDefault)) ? (-381431409) : (-381431412)); + break; + } + case 8: + { + int num13 = num14; + num3 = 1; + num4 = num13; + int num15 = num4 ^ num3; + int num16 = num4 & num3; + num14 = num15 + (num16 + num16); + num = -381431423; + break; + } + case 10: + { + enumerator2.Current.Deconstruct(out var _, out var value3); + list2 = value3; + num12 = 0; + num = -381431418; + break; + } + case 3: + goto end_IL_023f; + } + continue; + end_IL_023f: + break; + } + } + _200D_206F_200E_200E_206F_202A_200E_206E_200F_202B_200B_206C_206E_200F_206C_202B_202B_200D_200F_206C_206A_202C_206D_206B_202C_206E_200E_202D_202C_200F_200E_206B_202B_206F_202D_202C_206B_202D_206A_202A_202E((ILogger)_logger, global::_003CModule_003E._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(387174688), new object[2] { num8, dictionary.Count }); + } + + private static EAetheryteLocation? GetAethernetParticipant(NavNode node) + { + NavNode.AetheryteNode aetheryteNode = node as NavNode.AetheryteNode; + int num = (((object)aetheryteNode != null) ? (-160602075) : (-160602078)); + NavNode.AethernetNode aethernetNode = default(NavNode.AethernetNode); + EAetheryteLocation? result = default(EAetheryteLocation?); + while (true) + { + int num2 = num; + int num3 = -160602077; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -160602078; + break; + case 1: + aethernetNode = node as NavNode.AethernetNode; + num = (((object)aethernetNode != null) ? (-160602077) : (-160602074)); + break; + case 6: + result = aetheryteNode.Aetheryte; + num = -160602080; + break; + case 0: + result = aethernetNode.Aethernet; + num = -160602080; + break; + case 4: + result = null; + num = -160602080; + break; + case 3: + return result; + case 5: + num = -160602073; + break; + } + } + } + + private bool HasInteractableShard(EAetheryteLocation aetheryte) + { + int num = (_aetheryteData.IsCityAetheryte(aetheryte) ? (-621220771) : (-621220770)); + ushort value = default(ushort); + while (true) + { + int num2 = num; + int num3 = -621220772; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = -621220770; + break; + case 5: + return value == 886; + case 0: + return false; + case 4: + num = ((!_aetheryteData.TerritoryIds.TryGetValue(aetheryte, out value)) ? (-621220772) : (-621220775)); + break; + case 1: + return true; + case 2: + num = ((!_aetheryteData.IsGoldSaucerAetheryte(aetheryte)) ? (-621220776) : (-621220771)); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void AddZoneBoundaryNodes(NavGraph graph) + { + IReadOnlyList boundaries = _boundarySource.GetBoundaries(); + int num = 0; + int num2 = 0; + IEnumerator enumerator = boundaries.GetEnumerator(); + try + { + int num3 = -1183918559; + ZoneBoundary current = default(ZoneBoundary); + NavNode.ZoneBoundaryNode zoneBoundaryNode2 = default(NavNode.ZoneBoundaryNode); + NavNode.ZoneBoundaryNode zoneBoundaryNode = default(NavNode.ZoneBoundaryNode); + while (true) + { + int num4 = num3; + int num5 = -1183918557; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 6: + num3 = -1183918559; + break; + case 2: + num3 = (_206C_200C_206C_202E_200E_206A_200C_200F_206E_206B_200E_206C_206C_206F_202B_200C_206E_202B_200D_206F_202E_206E_200C_200B_200E_200E_202E_200C_202E_200B_202B_202D_206F_206F_206A_206D_206B_206B_206C_206F_202E((IEnumerator)enumerator) ? (-1183918558) : (-1183918553)); + break; + case 1: + current = enumerator.Current; + num3 = ((_206D_206D_200E_202C_200F_202B_202B_206C_206A_200D_202D_202B_202A_202D_200D_202E_206D_206F_206F_200C_206C_200D_200F_200C_202E_200E_200D_206E_200D_202C_206F_206B_202E_206C_200F_206F_200C_200D_202B_202E_202E(_206A_206D_200D_200D_202D_206E_206E_200B_206D_206D_202E_200B_200C_206E_206C_200B_206A_200B_206A_200F_202A_200B_200E_200C_200B_206E_200E_200B_206B_202D_202D_200D_206C_200F_206D_200D_200C_206A_200F_202B_202E(current)) != _206D_206D_200E_202C_200F_202B_202B_206C_206A_200D_202D_202B_202A_202D_200D_202E_206D_206F_206F_200C_206C_200D_200F_200C_202E_200E_200D_206E_200D_202C_206F_206B_202E_206C_200F_206F_200C_200D_202B_202E_202E(_206E_202E_200D_206B_202E_202E_206C_206E_202E_206D_206B_202B_206E_202D_206F_202C_206E_202D_200C_202B_206A_202C_200F_200E_206A_200B_202D_200B_200C_206B_206B_206C_200C_202A_206A_202A_200E_200D_206C_200E_202E(current))) ? (-1183918560) : (-1183918554)); + break; + case 3: + { + string boundaryId = _206D_206B_206C_206B_206A_200B_200E_202D_206A_206E_206D_200D_200D_206F_206B_202C_202B_206D_206D_200C_202A_200E_202E_200C_202E_202C_206E_206A_206E_200D_200E_206E_202B_202C_200B_202E_200B_202E_206D_202E(current); + ushort territoryId = _206D_206D_200E_202C_200F_202B_202B_206C_206A_200D_202D_202B_202A_202D_200D_202E_206D_206F_206F_200C_206C_200D_200F_200C_202E_200E_200D_206E_200D_202C_206F_206B_202E_206C_200F_206F_200C_200D_202B_202E_202E(_206A_206D_200D_200D_202D_206E_206E_200B_206D_206D_202E_200B_200C_206E_206C_200B_206A_200B_206A_200F_202A_200B_200E_200C_200B_206E_200E_200B_206B_202D_202D_200D_206C_200F_206D_200D_200C_206A_200F_202B_202E(current)); + Vector3 position = _202C_206E_206A_202A_206C_200D_202A_206A_202E_200C_200D_202A_202C_206C_206B_206A_202A_200C_206E_206C_206F_200B_202E_200D_200C_206A_206C_206C_206D_202B_206B_202C_200E_202E_202A_206C_200B_200B_206D_206C_202E(_206A_206D_200D_200D_202D_206E_206E_200B_206D_206D_202E_200B_200C_206E_206C_200B_206A_200B_206A_200F_202A_200B_200E_200C_200B_206E_200E_200B_206B_202D_202D_200D_206C_200F_206D_200D_200C_206A_200F_202B_202E(current)); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(537411549)); + defaultInterpolatedStringHandler.AppendFormatted(_206D_206B_206C_206B_206A_200B_200E_202D_206A_206E_206D_200D_200D_206F_206B_202C_202B_206D_206D_200C_202A_200E_202E_200C_202E_202C_206E_206A_206E_200D_200E_206E_202B_202C_200B_202E_200B_202E_206D_202E(current)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-286212766)); + defaultInterpolatedStringHandler.AppendFormatted(_206D_206D_200E_202C_200F_202B_202B_206C_206A_200D_202D_202B_202A_202D_200D_202E_206D_206F_206F_200C_206C_200D_200F_200C_202E_200E_200D_206E_200D_202C_206F_206B_202E_206C_200F_206F_200C_200D_202B_202E_202E(_206E_202E_200D_206B_202E_202E_206C_206E_202E_206D_206B_202B_206E_202D_206F_202C_206E_202D_200C_202B_206A_202C_200F_200E_206A_200B_202D_200B_200C_206B_206B_206C_200C_202A_206A_202A_200E_200D_206C_200E_202E(current))); + zoneBoundaryNode2 = new NavNode.ZoneBoundaryNode(boundaryId, territoryId, position, defaultInterpolatedStringHandler.ToStringAndClear(), _206A_202B_200E_206C_206C_202C_206B_206A_206B_202B_200D_202B_206A_206D_200F_200C_202C_202D_206D_202E_202A_206F_200F_202A_200B_202D_200E_202B_200E_200B_206E_206A_206C_206A_202A_206D_200B_202A_202B_202B_202E(current), _200D_206B_206C_202C_200F_200E_200E_200D_202D_206F_206E_206A_202D_200F_202B_202C_206D_202C_202B_202D_202A_202B_202E_200D_206B_206F_206C_202B_202A_202A_206E_206B_200B_200C_202B_200F_200C_200D_200F_206F_202E(current), _202B_206E_202B_202E_200B_206F_200B_202B_202B_206D_202A_202A_200D_200C_202A_202D_200F_202B_206D_202D_202C_202B_206F_202D_202B_200D_200C_206F_206E_206C_206E_202B_200F_206B_206D_206D_206A_200B_200B_206A_202E(_206A_206D_200D_200D_202D_206E_206E_200B_206D_206D_202E_200B_200C_206E_206C_200B_206A_200B_206A_200F_202A_200B_200E_200C_200B_206E_200E_200B_206B_202D_202D_200D_206C_200F_206D_200D_200C_206A_200F_202B_202E(current))); + string boundaryId2 = _206D_206B_206C_206B_206A_200B_200E_202D_206A_206E_206D_200D_200D_206F_206B_202C_202B_206D_206D_200C_202A_200E_202E_200C_202E_202C_206E_206A_206E_200D_200E_206E_202B_202C_200B_202E_200B_202E_206D_202E(current); + ushort territoryId2 = _206D_206D_200E_202C_200F_202B_202B_206C_206A_200D_202D_202B_202A_202D_200D_202E_206D_206F_206F_200C_206C_200D_200F_200C_202E_200E_200D_206E_200D_202C_206F_206B_202E_206C_200F_206F_200C_200D_202B_202E_202E(_206E_202E_200D_206B_202E_202E_206C_206E_202E_206D_206B_202B_206E_202D_206F_202C_206E_202D_200C_202B_206A_202C_200F_200E_206A_200B_202D_200B_200C_206B_206B_206C_200C_202A_206A_202A_200E_200D_206C_200E_202E(current)); + Vector3 position2 = _202C_206E_206A_202A_206C_200D_202A_206A_202E_200C_200D_202A_202C_206C_206B_206A_202A_200C_206E_206C_206F_200B_202E_200D_200C_206A_206C_206C_206D_202B_206B_202C_200E_202E_202A_206C_200B_200B_206D_206C_202E(_206E_202E_200D_206B_202E_202E_206C_206E_202E_206D_206B_202B_206E_202D_206F_202C_206E_202D_200C_202B_206A_202C_200F_200E_206A_200B_202D_200B_200C_206B_206B_206C_200C_202A_206A_202A_200E_200D_206C_200E_202E(current)); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(10, 2); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-699242314)); + defaultInterpolatedStringHandler2.AppendFormatted(_206D_206B_206C_206B_206A_200B_200E_202D_206A_206E_206D_200D_200D_206F_206B_202C_202B_206D_206D_200C_202A_200E_202E_200C_202E_202C_206E_206A_206E_200D_200E_206E_202B_202C_200B_202E_200B_202E_206D_202E(current)); + defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._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(-286212766)); + defaultInterpolatedStringHandler2.AppendFormatted(_206D_206D_200E_202C_200F_202B_202B_206C_206A_200D_202D_202B_202A_202D_200D_202E_206D_206F_206F_200C_206C_200D_200F_200C_202E_200E_200D_206E_200D_202C_206F_206B_202E_206C_200F_206F_200C_200D_202B_202E_202E(_206A_206D_200D_200D_202D_206E_206E_200B_206D_206D_202E_200B_200C_206E_206C_200B_206A_200B_206A_200F_202A_200B_200E_200C_200B_206E_200E_200B_206B_202D_202D_200D_206C_200F_206D_200D_200C_206A_200F_202B_202E(current))); + zoneBoundaryNode = new NavNode.ZoneBoundaryNode(boundaryId2, territoryId2, position2, defaultInterpolatedStringHandler2.ToStringAndClear(), _206A_202B_200E_206C_206C_202C_206B_206A_206B_202B_200D_202B_206A_206D_200F_200C_202C_202D_206D_202E_202A_206F_200F_202A_200B_202D_200E_202B_200E_200B_206E_206A_206C_206A_202A_206D_200B_202A_202B_202B_202E(current), _200D_206B_206C_202C_200F_200E_200E_200D_202D_206F_206E_206A_202D_200F_202B_202C_206D_202C_202B_202D_202A_202B_202E_200D_206B_206F_206C_202B_202A_202A_206E_206B_200B_200C_202B_200F_200C_200D_200F_206F_202E(current), _202B_206E_202B_202E_200B_206F_200B_202B_202B_206D_202A_202A_200D_200C_202A_202D_200F_202B_206D_202D_202C_202B_206F_202D_202B_200D_200C_206F_206E_206C_206E_202B_200F_206B_206D_206D_206A_200B_200B_206A_202E(_206E_202E_200D_206B_202E_202E_206C_206E_202E_206D_206B_202B_206E_202D_206F_202C_206E_202D_200C_202B_206A_202C_200F_200E_206A_200B_202D_200B_200C_206B_206B_206C_200C_202A_206A_202A_200E_200D_206C_200E_202E(current))); + graph.AddNode(zoneBoundaryNode2); + graph.AddNode(zoneBoundaryNode); + int num10 = num; + num5 = 2; + num6 = num10; + int num11 = num6 ^ num5; + int num12 = num6 & num5; + num = num11 + (num12 + num12); + graph.AddEdge(new NavEdge(zoneBoundaryNode2.Id, zoneBoundaryNode.Id, NavEdgeType.ZoneBoundary, 2f, 0)); + int num13 = num2; + num5 = 1; + num6 = num13; + int num14 = num6 ^ num5; + int num15 = num6 & num5; + num2 = num14 + (num15 + num15); + num3 = (_200D_202E_200B_200C_202E_206B_200D_202C_202C_200D_202C_202D_200B_206A_200E_206F_206E_206D_200D_202B_200D_206A_206A_200F_200F_206A_206A_206E_202E_206B_200E_202B_202D_206C_206A_202E_202C_200E_206F_200F_202E(current) ? (-1183918559) : (-1183918557)); + break; + } + case 0: + { + graph.AddEdge(new NavEdge(zoneBoundaryNode.Id, zoneBoundaryNode2.Id, NavEdgeType.ZoneBoundary, 2f, 0)); + int num9 = num2; + num5 = 1; + num6 = num9; + num2 = (num6 | num5) + (num6 & num5); + num3 = -1183918559; + break; + } + case 5: + _206F_200E_206A_202C_206D_200D_206C_200E_200E_202A_206E_206E_200F_206D_200E_200C_202B_200F_202C_206A_206F_206C_200F_200E_206A_206D_200D_206B_202A_206F_202D_200F_202C_206D_206C_202C_206A_202C_200C_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-568839808), new object[2] + { + _206D_206B_206C_206B_206A_200B_200E_202D_206A_206E_206D_200D_200D_206F_206B_202C_202B_206D_206D_200C_202A_200E_202E_200C_202E_202C_206E_206A_206E_200D_200E_206E_202B_202C_200B_202E_200B_202E_206D_202E(current), + _206D_206D_200E_202C_200F_202B_202B_206C_206A_200D_202D_202B_202A_202D_200D_202E_206D_206F_206F_200C_206C_200D_200F_200C_202E_200E_200D_206E_200D_202C_206F_206B_202E_206C_200F_206F_200C_200D_202B_202E_202E(_206A_206D_200D_200D_202D_206E_206E_200B_206D_206D_202E_200B_200C_206E_206C_200B_206A_200B_206A_200F_202A_200B_200E_200C_200B_206E_200E_200B_206B_202D_202D_200D_206C_200F_206D_200D_200C_206A_200F_202B_202E(current)) + }); + num3 = -1183918559; + break; + case 4: + goto end_IL_0021; + } + continue; + end_IL_0021: + break; + } + } + finally + { + int num3 = ((enumerator == null) ? (-1939360855) : (-1939360856)); + while (true) + { + int num16 = num3; + int num5 = -1939360855; + int num6 = num16; + switch ((num6 | num5) - (num6 & num5)) + { + case 2: + num3 = -1939360856; + break; + case 0: + goto end_IL_02ff; + case 1: + _206C_206E_206D_200B_206E_202A_202B_200B_202B_202A_206B_200D_202B_202A_206E_202C_206A_206E_202A_200F_200D_200E_202D_206C_202D_206C_202E_200F_200E_200F_202C_200F_206A_200B_202A_206A_202E_206A_202D_206F_202E((IDisposable)enumerator); + num3 = -1939360855; + break; + } + continue; + end_IL_02ff: + break; + } + } + _200D_206F_200E_200E_206F_202A_200E_206E_200F_202B_200B_206C_206E_200F_206C_202B_202B_200D_200F_206C_206A_202C_206D_206B_202C_206E_200E_202D_202C_200F_200E_206B_202B_206F_202D_202C_206B_202D_206A_202A_202E((ILogger)_logger, global::_003CModule_003E._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(2007378728), new object[2] { num, num2 }); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void AddWarpNodes(NavGraph graph) + { + int num = 0; + int num2 = 0; + int num3 = 0; + int num4 = 0; + IEnumerator enumerator = _warpDataService.Warps.GetEnumerator(); + try + { + int num5 = -1488329845; + Vector3? destPosition = default(Vector3?); + NavNode.WarpNode warpNode2 = default(NavNode.WarpNode); + WarpDataService.WarpInfo current = default(WarpDataService.WarpInfo); + NavNode.WarpNode warpNode = default(NavNode.WarpNode); + while (true) + { + int num6 = num5; + int num7 = -1488329841; + int num8 = num6; + switch ((num8 | num7) - (num8 & num7)) + { + case 7: + { + int num12 = num3; + num7 = 1; + num8 = num12; + num3 = (num8 | num7) + (num8 & num7); + num5 = -1488329845; + break; + } + case 10: + { + Vector3 valueOrDefault = destPosition.GetValueOrDefault(); + warpNode2 = new NavNode.WarpNode(current.RowId, current.DestTerritoryId, valueOrDefault, null, current.RequiredQuestIds, 0, current.AvailableDuringMsqIds, current.RequiredClassLevel, current.RequireAllQuests); + num5 = ((!_202C_206C_206A_200B_206F_202D_200C_206A_200E_206B_206F_206E_200C_202A_202B_206E_200C_202E_202D_206B_206E_202D_200E_206E_200B_200C_202B_202B_202C_206B_206C_202D_200D_206D_206C_200F_206C_206F_206D_202C_202E(warpNode2.Id, warpNode.Id)) ? (-1488329850) : (-1488329847)); + break; + } + case 2: + { + int num18 = num4; + num7 = 1; + num8 = num18; + int num19 = num8 ^ num7; + int num20 = num8 & num7; + num4 = num19 + (num20 + num20); + num5 = -1488329845; + break; + } + case 9: + { + graph.AddNode(warpNode2); + int num16 = num; + num7 = 1; + num8 = num16; + num = (num8 | num7) + (num8 & num7); + graph.AddEdge(new NavEdge(warpNode.Id, warpNode2.Id, NavEdgeType.Warp, 2f, current.GilCost)); + int num17 = num2; + num7 = 1; + num8 = num17; + num2 = (num8 | num7) + (num8 & num7); + num5 = -1488329845; + break; + } + case 3: + current = enumerator.Current; + num5 = (_warpDataService.SkippedWarpIds.Contains(current.RowId) ? (-1488329845) : (-1488329846)); + break; + case 6: + { + _206F_200E_206A_202C_206D_200D_206C_200E_200E_202A_206E_206E_200F_206D_200E_200C_202B_200F_202C_206A_206F_206C_200F_200E_206A_206D_200D_206B_202A_206F_202D_200F_202C_206D_206C_202C_206A_202C_200C_206F_202E((ILogger)_logger, global::_003CModule_003E._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(-1069269509), new object[2] { current.RowId, warpNode.Id }); + int num9 = num3; + num7 = 1; + num8 = num9; + int num10 = num8 ^ num7; + int num11 = num8 & num7; + num3 = num10 + (num11 + num11); + num5 = -1488329845; + break; + } + case 8: + { + warpNode = new NavNode.WarpNode(current.RowId, current.SourceTerritoryId, current.SourcePosition, current.NpcDataId, current.RequiredQuestIds, current.GilCost, current.AvailableDuringMsqIds, current.RequiredClassLevel, current.RequireAllQuests); + graph.AddNode(warpNode); + int num13 = num; + num7 = 1; + num8 = num13; + int num14 = num8 ^ num7; + int num15 = num8 & num7; + num = num14 + (num15 + num15); + destPosition = current.DestPosition; + num5 = ((!destPosition.HasValue) ? (-1488329848) : (-1488329851)); + break; + } + case 5: + num5 = ((current.SourceTerritoryId != 0) ? (-1488329849) : (-1488329843)); + break; + case 4: + num5 = (_206C_200C_206C_202E_200E_206A_200C_200F_206E_206B_200E_206C_206C_206F_202B_200C_206E_202B_200D_206F_202E_206E_200C_200B_200E_200E_202E_200C_202E_200B_202B_202D_206F_206F_206A_206D_206B_206B_206C_206F_202E((IEnumerator)enumerator) ? (-1488329844) : (-1488329842)); + break; + case 0: + num5 = -1488329845; + break; + case 1: + goto end_IL_0026; + } + continue; + end_IL_0026: + break; + } + } + finally + { + int num5 = ((enumerator == null) ? (-1858874036) : (-1858874035)); + while (true) + { + int num21 = num5; + int num7 = -1858874036; + int num8 = num21; + int num22 = num8 + num7; + int num23 = num8 & num7; + switch (num22 - (num23 + num23)) + { + case 2: + num5 = -1858874035; + break; + case 0: + goto end_IL_031d; + case 1: + _206C_206E_206D_200B_206E_202A_202B_200B_202B_202A_206B_200D_202B_202A_206E_202C_206A_206E_202A_200F_200D_200E_202D_206C_202D_206C_202E_200F_200E_200F_202C_200F_206A_200B_202A_206A_202E_206A_202D_206F_202E((IDisposable)enumerator); + num5 = -1858874036; + break; + } + continue; + end_IL_031d: + break; + } + } + _200D_206F_200E_200E_206F_202A_200E_206E_200F_202B_200B_206C_206E_200F_206C_202B_202B_200D_200F_206C_206A_202C_206D_206B_202C_206E_200E_202D_202C_200F_200E_206B_202B_206F_202D_202C_206B_202D_206A_202A_202E((ILogger)_logger, global::_003CModule_003E._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(1235670639), new object[4] { num, num2, num3, num4 }); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void AddSubRegionConnectorNodes(NavGraph graph) + { + int num = 0; + int num2 = 0; + IEnumerator> enumerator = _zoneSubRegionService.AllRegions.GetEnumerator(); + int num3; + try + { + num3 = -1049806291; + int num9 = default(int); + uint territoryId = default(uint); + List list = default(List); + NavNode.SubRegionConnectorNode subRegionConnectorNode2 = default(NavNode.SubRegionConnectorNode); + NavNode.SubRegionConnectorNode subRegionConnectorNode = default(NavNode.SubRegionConnectorNode); + SubRegionConnector subRegionConnector = default(SubRegionConnector); + while (true) + { + int num4 = num3; + int num5 = -1049806294; + int num6 = num4; + int num7 = num6 + num5; + int num8 = num6 & num5; + switch (num7 - (num8 + num8)) + { + case 7: + num3 = (_206C_200C_206C_202E_200E_206A_200C_200F_206E_206B_200E_206C_206C_206F_202B_200C_206E_202B_200D_206F_202E_206E_200C_200B_200E_200E_202E_200C_202E_200B_202B_202D_206F_206F_206A_206D_206B_206B_206C_206F_202E((IEnumerator)enumerator) ? (-1049806296) : (-1049806292)); + break; + case 5: + { + int num13 = num9; + num5 = 1; + num6 = num13; + int num14 = num6 ^ num5; + int num15 = num6 & num5; + num9 = num14 + (num15 + num15); + num3 = -1049806290; + break; + } + case 2: + { + enumerator.Current.Deconstruct(out var key, out var value); + territoryId = key; + list = _200E_202E_206C_200C_200F_206C_202E_200D_202A_200F_200E_200F_202C_202B_202E_202E_202A_206F_206F_206A_200B_206C_206E_202B_206C_200D_206B_202E_206A_200E_206B_202D_206E_200F_200B_206A_202E_200E_200F_206A_202E(value); + num9 = 0; + num3 = -1049806290; + break; + } + case 3: + { + graph.AddEdge(new NavEdge(subRegionConnectorNode2.Id, subRegionConnectorNode.Id, NavEdgeType.SubRegionTransport, _202E_200B_200C_200D_206E_200F_202D_202E_200C_206A_200B_200C_202D_200C_206B_206E_200B_206D_200B_202C_202B_200D_202D_202E_202C_200E_200E_200B_200D_202C_200B_206A_202A_200E_200E_202E_202B_202C_200E_200E_202E(subRegionConnector), 0)); + int num12 = num2; + num5 = 1; + num6 = num12; + num2 = (num6 | num5) + (num6 & num5); + num3 = -1049806289; + break; + } + case 4: + num3 = ((num9 < list.Count) ? (-1049806293) : (-1049806291)); + break; + case 1: + { + subRegionConnector = list[num9]; + subRegionConnectorNode = new NavNode.SubRegionConnectorNode(territoryId, _200F_200E_200E_206C_206F_202D_202A_202C_206F_206F_202D_200C_206A_202D_206B_202D_202C_200E_202A_202C_200D_206E_202B_206F_202C_202D_206F_202C_200F_200C_206C_200E_206C_200E_206D_206D_202A_202D_206D_202A_202E(subRegionConnector), _200D_200C_202B_202E_202D_206D_206F_206E_202E_202D_202D_206F_206C_202A_202B_200E_202A_206E_206F_202D_200C_206B_206F_206E_200C_202A_200E_202C_206A_200B_206D_206D_206C_200E_202D_200C_206F_206F_206E_206F_202E(subRegionConnector), num9, _202A_202A_202D_202A_200F_206B_206B_206E_202B_200B_206C_206F_200D_202E_200E_206A_202C_206C_206D_206F_202A_202C_206A_202B_206E_200C_202A_206E_202D_200C_202C_200F_200F_206A_202A_202D_200D_202C_202D_206D_202E(subRegionConnector)); + graph.AddNode(subRegionConnectorNode); + subRegionConnectorNode2 = new NavNode.SubRegionConnectorNode(territoryId, _202A_206C_200F_206E_200C_206F_200E_200B_202B_202C_206B_206E_200E_206A_206E_206A_206E_206E_206A_200F_206A_200B_206D_202E_200D_202C_202A_200F_202C_202E_202D_206E_200E_200C_206A_200B_200E_202E_206B_206C_202E(subRegionConnector), _202A_200E_200C_206E_202E_206D_202C_202E_206A_200F_206A_200D_202A_202E_202D_206C_202C_206D_200B_200E_202B_202A_202C_202D_200E_206B_206B_206E_200D_206B_200D_200B_206E_202A_206C_206C_206F_206E_202E_202D_202E(subRegionConnector), num9 + list.Count, _202A_202A_202D_202A_200F_206B_206B_206E_202B_200B_206C_206F_200D_202E_200E_206A_202C_206C_206D_206F_202A_202C_206A_202B_206E_200C_202A_206E_202D_200C_202C_200F_200F_206A_202A_202D_200D_202C_202D_206D_202E(subRegionConnector)); + graph.AddNode(subRegionConnectorNode2); + int num10 = num; + num5 = 2; + num6 = num10; + num = (num6 | num5) + (num6 & num5); + graph.AddEdge(new NavEdge(subRegionConnectorNode.Id, subRegionConnectorNode2.Id, NavEdgeType.SubRegionTransport, _202E_200B_200C_200D_206E_200F_202D_202E_200C_206A_200B_200C_202D_200C_206B_206E_200B_206D_200B_202C_202B_200D_202D_202E_202C_200E_200E_200B_200D_202C_200B_206A_202A_200E_200E_202E_202B_202C_200E_200E_202E(subRegionConnector), 0)); + int num11 = num2; + num5 = 1; + num6 = num11; + num2 = (num6 | num5) + (num6 & num5); + num3 = ((!_206A_202B_200C_202C_202C_206F_202D_200E_200D_200D_200B_206E_206A_206A_206C_206D_206F_206D_202D_200F_200E_200B_206E_206A_200F_206C_200C_200D_206D_206B_206C_202B_200B_206E_202E_200B_206F_202D_206F_206C_202E(subRegionConnector)) ? (-1049806289) : (-1049806295)); + break; + } + case 0: + num3 = -1049806291; + break; + case 6: + goto end_IL_0021; + } + continue; + end_IL_0021: + break; + } + } + finally + { + num3 = ((enumerator == null) ? 1756470352 : 1756470355); + while (true) + { + int num16 = num3; + int num5 = 1756470353; + int num6 = num16; + int num17 = num6 + num5; + int num18 = num6 & num5; + switch (num17 - (num18 + num18)) + { + case 1: + goto end_IL_0236; + case 2: + _206C_206E_206D_200B_206E_202A_202B_200B_202B_202A_206B_200D_202B_202A_206E_202C_206A_206E_202A_200F_200D_200E_202D_206C_202D_206C_202E_200F_200E_200F_202C_200F_206A_200B_202A_206A_202E_206A_202D_206F_202E((IDisposable)enumerator); + num3 = 1756470352; + break; + case 0: + num3 = 1756470355; + break; + } + continue; + end_IL_0236: + break; + } + } + num3 = ((num <= 0) ? (-368100620) : (-368100619)); + while (true) + { + int num19 = num3; + int num5 = -368100620; + int num6 = num19; + int num20 = num6 + num5; + int num21 = num6 & num5; + switch (num20 - (num21 + num21)) + { + case 2: + num3 = -368100619; + break; + case 1: + _200D_206F_200E_200E_206F_202A_200E_206E_200F_202B_200B_206C_206E_200F_206C_202B_202B_200D_200F_206C_206A_202C_206D_206B_202C_206E_200E_202D_202C_200F_200E_206B_202B_206F_202D_202C_206B_202D_206A_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-1957227425), new object[2] { num, num2 }); + num3 = -368100620; + break; + case 0: + return; + } + } + } + + static void _200D_206F_200E_200E_206F_202A_200E_206E_200F_202B_200B_206C_206E_200F_206C_202B_202B_200D_200F_206C_206A_202C_206D_206B_202C_206E_200E_202D_202C_200F_200E_206B_202B_206F_202D_202C_206B_202D_206A_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206E_202A_202A_200D_206E_200C_200B_206C_206F_202E_200C_206E_206A_206E_202A_206D_200C_202A_200D_202B_202B_206F_206C_206C_206C_200B_202C_202B_200B_206F_202A_202E_202C_202B_200D_202D_206E_202B_200E_202E(EAetheryteLocation P_0) + { + return AetheryteConverter.IsLargeAetheryte(P_0); + } + + static bool _206C_200C_206C_202E_200E_206A_200C_200F_206E_206B_200E_206C_206C_206F_202B_200C_206E_202B_200D_206F_202E_206E_200C_200B_200E_200E_202E_200C_202E_200B_202B_202D_206F_206F_206A_206D_206B_206B_206C_206F_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206C_206E_206D_200B_206E_202A_202B_200B_202B_202A_206B_200D_202B_202A_206E_202C_206A_206E_202A_200F_200D_200E_202D_206C_202D_206C_202E_200F_200E_200F_202C_200F_206A_200B_202A_206A_202E_206A_202D_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static BoundarySide _206A_206D_200D_200D_202D_206E_206E_200B_206D_206D_202E_200B_200C_206E_206C_200B_206A_200B_206A_200F_202A_200B_200E_200C_200B_206E_200E_200B_206B_202D_202D_200D_206C_200F_206D_200D_200C_206A_200F_202B_202E(ZoneBoundary P_0) + { + return P_0.Side1; + } + + static ushort _206D_206D_200E_202C_200F_202B_202B_206C_206A_200D_202D_202B_202A_202D_200D_202E_206D_206F_206F_200C_206C_200D_200F_200C_202E_200E_200D_206E_200D_202C_206F_206B_202E_206C_200F_206F_200C_200D_202B_202E_202E(BoundarySide P_0) + { + return P_0.TerritoryId; + } + + static BoundarySide _206E_202E_200D_206B_202E_202E_206C_206E_202E_206D_206B_202B_206E_202D_206F_202C_206E_202D_200C_202B_206A_202C_200F_200E_206A_200B_202D_200B_200C_206B_206B_206C_200C_202A_206A_202A_200E_200D_206C_200E_202E(ZoneBoundary P_0) + { + return P_0.Side2; + } + + static string _206D_206B_206C_206B_206A_200B_200E_202D_206A_206E_206D_200D_200D_206F_206B_202C_202B_206D_206D_200C_202A_200E_202E_200C_202E_202C_206E_206A_206E_200D_200E_206E_202B_202C_200B_202E_200B_202E_206D_202E(ZoneBoundary P_0) + { + return P_0.Id; + } + + static void _206F_200E_206A_202C_206D_200D_206C_200E_200E_202A_206E_206E_200F_206D_200E_200C_202B_200F_202C_206A_206F_206C_200F_200E_206A_206D_200D_206B_202A_206F_202D_200F_202C_206D_206C_202C_206A_202C_200C_206F_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static Vector3 _202C_206E_206A_202A_206C_200D_202A_206A_202E_200C_200D_202A_202C_206C_206B_206A_202A_200C_206E_206C_206F_200B_202E_200D_200C_206A_206C_206C_206D_202B_206B_202C_200E_202E_202A_206C_200B_200B_206D_206C_202E(BoundarySide P_0) + { + return P_0.Position; + } + + static bool _206A_202B_200E_206C_206C_202C_206B_206A_206B_202B_200D_202B_206A_206D_200F_200C_202C_202D_206D_202E_202A_206F_200F_202A_200B_202D_200E_202B_200E_200B_206E_206A_206C_206A_202A_206D_200B_202A_202B_202B_202E(ZoneBoundary P_0) + { + return P_0.RequiresFlying; + } + + static uint? _200D_206B_206C_202C_200F_200E_200E_200D_202D_206F_206E_206A_202D_200F_202B_202C_206D_202C_202B_202D_202A_202B_202E_200D_206B_206F_206C_202B_202A_202A_206E_206B_200B_200C_202B_200F_200C_200D_200F_206F_202E(ZoneBoundary P_0) + { + return P_0.RequiredQuest; + } + + static TriggerBox _202B_206E_202B_202E_200B_206F_200B_202B_202B_206D_202A_202A_200D_200C_202A_202D_200F_202B_206D_202D_202C_202B_206F_202D_202B_200D_200C_206F_206E_206C_206E_202B_200F_206B_206D_206D_206A_200B_200B_206A_202E(BoundarySide P_0) + { + return P_0.Trigger; + } + + static bool _200D_202E_200B_200C_202E_206B_200D_202C_202C_200D_202C_202D_200B_206A_200E_206F_206E_206D_200D_202B_200D_206A_206A_200F_200F_206A_206A_206E_202E_206B_200E_202B_202D_206C_206A_202E_202C_200E_206F_200F_202E(ZoneBoundary P_0) + { + return P_0.OneWay; + } + + static bool _202C_206C_206A_200B_206F_202D_200C_206A_200E_206B_206F_206E_200C_202A_202B_206E_200C_202E_202D_206B_206E_202D_200E_206E_200B_200C_202B_202B_202C_206B_206C_202D_200D_206D_206C_200F_206C_206F_206D_202C_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static List _200E_202E_206C_200C_200F_206C_202E_200D_202A_200F_200E_200F_202C_202B_202E_202E_202A_206F_206F_206A_200B_206C_206E_202B_206C_200D_206B_202E_206A_200E_206B_202D_206E_200F_200B_206A_202E_200E_200F_206A_202E(TerritorySubRegions P_0) + { + return P_0.Connectors; + } + + static Vector3 _200F_200E_200E_206C_206F_202D_202A_202C_206F_206F_202D_200C_206A_202D_206B_202D_202C_200E_202A_202C_200D_206E_202B_206F_202C_202D_206F_202C_200F_200C_206C_200E_206C_200E_206D_206D_202A_202D_206D_202A_202E(SubRegionConnector P_0) + { + return P_0.SourcePosition; + } + + static string _200D_200C_202B_202E_202D_206D_206F_206E_202E_202D_202D_206F_206C_202A_202B_200E_202A_206E_206F_202D_200C_206B_206F_206E_200C_202A_200E_202C_206A_200B_206D_206D_206C_200E_202D_200C_206F_206F_206E_206F_202E(SubRegionConnector P_0) + { + return P_0.SourceSubRegion; + } + + static SubRegionConnectorKind _202A_202A_202D_202A_200F_206B_206B_206E_202B_200B_206C_206F_200D_202E_200E_206A_202C_206C_206D_206F_202A_202C_206A_202B_206E_200C_202A_206E_202D_200C_202C_200F_200F_206A_202A_202D_200D_202C_202D_206D_202E(SubRegionConnector P_0) + { + return P_0.Kind; + } + + static Vector3 _202A_206C_200F_206E_200C_206F_200E_200B_202B_202C_206B_206E_200E_206A_206E_206A_206E_206E_206A_200F_206A_200B_206D_202E_200D_202C_202A_200F_202C_202E_202D_206E_200E_200C_206A_200B_200E_202E_206B_206C_202E(SubRegionConnector P_0) + { + return P_0.DestPosition; + } + + static string _202A_200E_200C_206E_202E_206D_202C_202E_206A_200F_206A_200D_202A_202E_202D_206C_202C_206D_200B_200E_202B_202A_202C_202D_200E_206B_206B_206E_200D_206B_200D_200B_206E_202A_206C_206C_206F_206E_202E_202D_202E(SubRegionConnector P_0) + { + return P_0.DestSubRegion; + } + + static float _202E_200B_200C_200D_206E_200F_202D_202E_200C_206A_200B_200C_202D_200C_206B_206E_200B_206D_200B_202C_202B_200D_202D_202E_202C_200E_200E_200B_200D_202C_200B_206A_202A_200E_200E_202E_202B_202C_200E_200E_202E(SubRegionConnector P_0) + { + return P_0.TimeCostSeconds; + } + + static bool _206A_202B_200C_202C_202C_206F_202D_200E_200D_200D_200B_206E_206A_206A_206C_206D_206F_206D_202D_200F_200E_200B_206E_206A_200F_206C_200C_200D_206D_206B_206C_202B_200B_206E_202E_200B_206F_202D_206F_206C_202E(SubRegionConnector P_0) + { + return P_0.Bidirectional; + } +} diff --git a/SmartNav/SmartNav/NavGraphView.cs b/SmartNav/SmartNav/NavGraphView.cs new file mode 100644 index 00000000..4459c420 --- /dev/null +++ b/SmartNav/SmartNav/NavGraphView.cs @@ -0,0 +1,1710 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.CompilerServices; +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) + { + int num = ((playerState.CurrentTerritoryId != destinationTerritoryId) ? 851259110 : 851259111); + while (true) + { + int num2 = num; + int num3 = 851259110; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + goto IL_0049; + case 1: + return CreateSameZoneQueryGraph(staticGraph, playerState, destinationTerritoryId, destinationPosition); + case 0: + return CreateCrossZoneQueryGraph(staticGraph, playerState, destinationTerritoryId, destinationPosition); + } + continue; + IL_0049: + num = 851259111; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private (NavGraph EffectiveGraph, string OriginId, string DestinationId) CreateSameZoneQueryGraph(NavGraph staticGraph, PlayerNavState playerState, uint territoryId, Vector3 destinationPosition) + { + NavGraph navGraph = new NavGraph(); + HashSet hashSet = new HashSet(); + IEnumerator enumerator = staticGraph.Nodes.Values.GetEnumerator(); + int num; + try + { + NavEdge current2 = default(NavEdge); + while (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator)) + { + NavNode current = enumerator.Current; + if (current.TerritoryId != territoryId) + { + continue; + } + IEnumerator enumerator2 = staticGraph.GetEdges(current.Id).GetEnumerator(); + try + { + num = -617250015; + while (true) + { + int num2 = num; + int num3 = -617250012; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -617250015; + break; + case 1: + { + NavNode? node = staticGraph.GetNode(current2.ToNodeId); + num = (((object)node == null || node.TerritoryId != territoryId) ? (-617250015) : (-617250010)); + break; + } + case 5: + num = (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator2) ? (-617250016) : (-617250009)); + break; + case 4: + current2 = enumerator2.Current; + num = ((current2.EdgeType != NavEdgeType.Warp) ? (-617250015) : (-617250011)); + break; + case 2: + hashSet.Add(current2.FromNodeId); + hashSet.Add(current2.ToNodeId); + num = -617250015; + break; + case 3: + goto end_IL_0059; + } + continue; + end_IL_0059: + break; + } + } + finally + { + num = ((enumerator2 == null) ? 1553981208 : 1553981211); + while (true) + { + int num5 = num; + int num3 = 1553981210; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = 1553981211; + break; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator2); + num = 1553981208; + break; + case 2: + goto end_IL_017a; + } + continue; + end_IL_017a: + break; + } + } + } + } + finally + { + num = ((enumerator == null) ? 2134888700 : 2134888703); + while (true) + { + int num8 = num; + int num3 = 2134888702; + int num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 2: + goto end_IL_01f8; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator); + num = 2134888700; + break; + case 0: + num = 2134888703; + break; + } + continue; + end_IL_01f8: + break; + } + } + List list = new List(); + enumerator = staticGraph.Nodes.Values.GetEnumerator(); + try + { + num = 352472166; + NavNode current3 = default(NavNode); + NavNode.AetheryteNode aetheryteNode = default(NavNode.AetheryteNode); + NavNode.WarpNode warpNode = default(NavNode.WarpNode); + NavNode.AethernetNode aethernetNode = default(NavNode.AethernetNode); + uint[] availableDuringMsqIds = default(uint[]); + while (true) + { + int num11 = num; + int num3 = 352472174; + int num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 13: + navGraph.AddNode(current3); + list.Add(aetheryteNode); + num = 352472166; + break; + case 15: + navGraph.AddNode(current3); + num = 352472166; + break; + case 3: + warpNode = current3 as NavNode.WarpNode; + num = (((object)warpNode == null) ? 352472186 : 352472165); + break; + case 14: + num = ((!playerState.IsAetheryteUnlocked(aethernetNode.Aethernet)) ? 352472166 : 352472190); + break; + case 20: + navGraph.AddNode(current3); + num = 352472166; + break; + case 19: + num = 352472166; + break; + case 4: + availableDuringMsqIds = warpNode.AvailableDuringMsqIds; + num = ((availableDuringMsqIds == null) ? 352472172 : 352472187); + break; + case 7: + current3 = enumerator.Current; + num = ((current3.TerritoryId != territoryId) ? 352472166 : 352472174); + break; + case 1: + num = ((warpNode.RequiredClassLevel > playerState.CurrentLevel) ? 352472166 : 352472164); + break; + case 2: + num = ((!hashSet.Contains(warpNode.Id)) ? 352472166 : 352472161); + break; + case 9: + num = ((!playerState.IsAetheryteUnlocked(aetheryteNode.Aetheryte)) ? 352472166 : 352472163); + break; + case 18: + aetheryteNode = current3 as NavNode.AetheryteNode; + num = (((object)aetheryteNode == null) ? 352472162 : 352472167); + break; + case 0: + num = ((current3 is NavNode.ZoneBoundaryNode) ? 352472166 : 352472188); + break; + case 5: + num = ((!playerState.CurrentMsqQuestId.HasValue) ? 352472166 : 352472191); + break; + case 10: + num = ((!WarpQuestGateSatisfied(warpNode, playerState)) ? 352472166 : 352472170); + break; + case 17: + num = ((!availableDuringMsqIds.Contains(playerState.CurrentMsqQuestId.Value)) ? 352472166 : 352472172); + break; + case 21: + num = ((availableDuringMsqIds.Length <= 0) ? 352472172 : 352472171); + break; + case 16: + navGraph.AddNode(current3); + num = 352472166; + break; + case 12: + aethernetNode = current3 as NavNode.AethernetNode; + num = (((object)aethernetNode == null) ? 352472173 : 352472160); + break; + case 11: + num = (warpFailureTracker.IsBlacklisted(warpNode.WarpRowId) ? 352472166 : 352472175); + break; + case 8: + num = (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator) ? 352472169 : 352472168); + break; + case 6: + goto end_IL_026a; + } + continue; + end_IL_026a: + break; + } + } + finally + { + num = ((enumerator == null) ? (-1533943948) : (-1533943945)); + while (true) + { + int num14 = num; + int num3 = -1533943947; + int num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) + { + case 0: + num = -1533943945; + break; + case 1: + goto end_IL_05ff; + case 2: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator); + num = -1533943948; + break; + } + continue; + end_IL_05ff: + break; + } + } + 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); + num = ((!_202D_206F_202C_200B_206E_200E_200C_200D_202A_202B_206B_206B_200B_202A_202B_202C_206B_202C_200E_200F_202E_206C_202D_206B_202E_202E_202C_206E_202C_206B_200F_200D_200B_206E_206F_206B_206B_202E_200C_202A_202E(positionNode2.Id, positionNode.Id)) ? 1977419108 : 1977419113); + while (true) + { + int num17 = num; + int num3 = 1977419105; + int num4 = num17; + int num18 = num4 + num3; + int num19 = num4 & num3; + switch (num18 - (num19 + num19)) + { + case 1: + num = ((playerState == null) ? 1977419106 : 1977419107); + break; + case 2: + num = ((!playerState.TeleportUnlocked) ? 1977419106 : 1977419110); + break; + case 3: + AddTicketTeleportEdges(navGraph, positionNode, playerState, territoryId); + AddWarpWithinZoneEdges(navGraph, playerState); + AddConnectorWithinZoneEdges(navGraph, playerState); + _206B_206A_206F_206B_200C_200D_200C_206E_206F_202E_200E_206D_206C_206D_202B_202D_200C_202E_202C_206C_200D_206D_200B_200B_200E_200C_206C_202E_200B_202D_200C_206A_206E_202D_206F_202B_206E_200D_202D_202B_202E((ILogger)logger, global::_003CModule_003E._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(-305562461), new object[2] { navGraph.NodeCount, navGraph.EdgeCount }); + return (EffectiveGraph: navGraph, OriginId: positionNode.Id, DestinationId: positionNode2.Id); + case 7: + num = ((!playerState.ReturnAvailable) ? 1977419106 : 1977419111); + break; + case 4: + AddTeleportEdgesFromOrigin(navGraph, positionNode, list, playerState); + num = 1977419104; + break; + case 6: + AddReturnEdge(navGraph, positionNode, playerState); + num = 1977419106; + break; + case 5: + AddWithinZoneEdgesFrom(navGraph, positionNode, playerState); + AddWithinZoneEdgesTo(navGraph, positionNode2, playerState); + num = ((!playerState.TeleportUnlocked) ? 1977419104 : 1977419109); + break; + case 8: + navGraph.AddNode(positionNode2); + num = 1977419108; + break; + case 0: + num = 1977419113; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private (NavGraph EffectiveGraph, string OriginId, string DestinationId) CreateCrossZoneQueryGraph(NavGraph staticGraph, PlayerNavState playerState, uint destinationTerritoryId, Vector3 destinationPosition) + { + NavGraph navGraph = new NavGraph(); + List list = new List(); + IEnumerator enumerator = staticGraph.Nodes.Values.GetEnumerator(); + int num; + try + { + num = -608712639; + NavNode.WarpNode warpNode = default(NavNode.WarpNode); + NavNode current = default(NavNode); + NavNode.AetheryteNode aetheryteNode = default(NavNode.AetheryteNode); + uint[] availableDuringMsqIds = default(uint[]); + uint? num5 = default(uint?); + NavNode.ZoneBoundaryNode zoneBoundaryNode = default(NavNode.ZoneBoundaryNode); + NavNode.AethernetNode aethernetNode = default(NavNode.AethernetNode); + while (true) + { + int num2 = num; + int num3 = -608712618; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + warpNode = current as NavNode.WarpNode; + num = (((object)warpNode == null) ? (-608712609) : (-608712613)); + break; + case 18: + current = enumerator.Current; + num = ((territoryInfo.GetExVersion(current.TerritoryId) > playerState.MaxExpansion) ? (-608712639) : (-608712615)); + break; + case 8: + navGraph.AddNode(current); + list.Add(aetheryteNode); + num = -608712639; + break; + case 20: + navGraph.AddNode(current); + num = -608712639; + break; + case 23: + num = (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator) ? (-608712636) : (-608712635)); + break; + case 12: + navGraph.AddNode(current); + num = -608712639; + break; + case 11: + num = ((availableDuringMsqIds.Length <= 0) ? (-608712623) : (-608712616)); + break; + case 14: + num5 = playerState.CurrentMsqQuestId; + num = ((!num5.HasValue) ? (-608712639) : (-608712618)); + break; + case 6: + num = ((!WarpQuestGateSatisfied(warpNode, playerState)) ? (-608712639) : (-608712640)); + break; + case 10: + num5 = zoneBoundaryNode.RequiredQuestId; + num = ((!num5.HasValue) ? (-608712638) : (-608712633)); + break; + case 9: + navGraph.AddNode(current); + num = -608712639; + break; + case 22: + availableDuringMsqIds = warpNode.AvailableDuringMsqIds; + num = ((availableDuringMsqIds == null) ? (-608712623) : (-608712611)); + break; + case 15: + aetheryteNode = current as NavNode.AetheryteNode; + num = (((object)aetheryteNode == null) ? (-608712621) : (-608712634)); + break; + case 13: + num = (warpFailureTracker.IsBlacklisted(warpNode.WarpRowId) ? (-608712639) : (-608712617)); + break; + case 1: + num = ((warpNode.RequiredClassLevel > playerState.CurrentLevel) ? (-608712639) : (-608712624)); + break; + case 0: + { + uint[] source = availableDuringMsqIds; + num5 = playerState.CurrentMsqQuestId; + num = ((!source.Contains(num5.Value)) ? (-608712639) : (-608712623)); + break; + } + case 7: + navGraph.AddNode(current); + num = -608712639; + break; + case 3: + zoneBoundaryNode = current as NavNode.ZoneBoundaryNode; + num = (((object)zoneBoundaryNode == null) ? (-608712622) : (-608712612)); + break; + case 16: + num = ((!playerState.IsAetheryteUnlocked(aetheryteNode.Aetheryte)) ? (-608712639) : (-608712610)); + break; + case 17: + { + uint valueOrDefault = num5.GetValueOrDefault(); + num = ((!playerState.IsQuestComplete(valueOrDefault)) ? (-608712639) : (-608712638)); + break; + } + case 2: + num = -608712639; + break; + case 5: + aethernetNode = current as NavNode.AethernetNode; + num = (((object)aethernetNode == null) ? (-608712619) : (-608712637)); + break; + case 21: + num = ((!playerState.IsAetheryteUnlocked(aethernetNode.Aethernet)) ? (-608712639) : (-608712614)); + break; + case 19: + goto end_IL_002a; + } + continue; + end_IL_002a: + break; + } + } + finally + { + num = ((enumerator == null) ? 1459189528 : 1459189531); + while (true) + { + int num6 = num; + int num3 = 1459189530; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1459189531; + break; + case 2: + goto end_IL_041e; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator); + num = 1459189528; + break; + } + continue; + end_IL_041e: + break; + } + } + 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); + num = ((!_202D_206F_202C_200B_206E_200E_200C_200D_202A_202B_206B_206B_200B_202A_202B_202C_206B_202C_200E_200F_202E_206C_202D_206B_202E_202E_202C_206E_202C_206B_200F_200D_200B_206E_206F_206B_206B_202E_200C_202A_202E(positionNode2.Id, positionNode.Id)) ? 1956503777 : 1956503780); + while (true) + { + int num7 = num; + int num3 = 1956503781; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 7: + num = ((!playerState.TeleportUnlocked) ? 1956503789 : 1956503783); + break; + case 4: + AddWithinZoneEdgesFrom(navGraph, positionNode, playerState); + AddWithinZoneEdgesTo(navGraph, positionNode2, playerState); + num = ((!playerState.TeleportUnlocked) ? 1956503779 : 1956503776); + break; + case 3: + AddReturnEdge(navGraph, positionNode, playerState); + num = 1956503789; + break; + case 1: + navGraph.AddNode(positionNode2); + num = 1956503777; + break; + case 5: + AddTeleportEdgesFromOrigin(navGraph, positionNode, list, playerState); + num = 1956503779; + break; + case 0: + num = 1956503780; + break; + case 6: + num = ((playerState == null) ? 1956503789 : 1956503778); + break; + case 8: + AddTicketTeleportEdges(navGraph, positionNode, playerState, null); + RecomputeAethernetCosts(navGraph); + AddBoundaryWithinZoneEdges(navGraph, playerState); + AddWarpWithinZoneEdges(navGraph, playerState); + AddConnectorWithinZoneEdges(navGraph, playerState); + _206B_206A_206F_206B_200C_200D_200C_206E_206F_202E_200E_206D_206C_206D_202B_202D_200C_202E_202C_206C_200D_206D_200B_200B_200E_200C_206C_202E_200B_202D_200C_206A_206E_202D_206F_202B_206E_200D_202D_202B_202E((ILogger)logger, global::_003CModule_003E._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(-1776596717), new object[2] { navGraph.NodeCount, navGraph.EdgeCount }); + return (EffectiveGraph: navGraph, OriginId: positionNode.Id, DestinationId: positionNode2.Id); + case 2: + num = ((!playerState.ReturnAvailable) ? 1956503789 : 1956503782); + break; + } + } + } + + private static bool WarpQuestGateSatisfied(NavNode.WarpNode warpNode, PlayerNavState playerState) + { + int num = ((warpNode.RequiredQuestIds.Length != 0) ? (-1021069975) : (-1021069970)); + while (true) + { + int num2 = num; + int num3 = -1021069971; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + return warpNode.RequiredQuestIds.All(playerState.IsQuestComplete); + case 4: + num = (warpNode.RequireAllQuests ? (-1021069971) : (-1021069972)); + break; + case 1: + return warpNode.RequiredQuestIds.Any(playerState.IsQuestComplete); + case 3: + return true; + case 2: + num = -1021069970; + break; + } + } + } + + private static void PruneUncrossableFlyingBoundaries(NavGraph queryGraph, PlayerNavState playerState) + { + IEnumerator enumerator = queryGraph.Nodes.Values.GetEnumerator(); + try + { + int num = 1561411569; + NavNode.ZoneBoundaryNode zoneBoundaryNode = default(NavNode.ZoneBoundaryNode); + while (true) + { + int num2 = num; + int num3 = 1561411575; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 3: + num = ((!zoneBoundaryNode.RequiresFlying) ? 1561411569 : 1561411574); + break; + case 4: + zoneBoundaryNode = enumerator.Current as NavNode.ZoneBoundaryNode; + num = (((object)zoneBoundaryNode == null) ? 1561411569 : 1561411572); + break; + case 0: + num = 1561411569; + break; + case 1: + num = (playerState.IsFlyingUnlocked(zoneBoundaryNode.TerritoryId) ? 1561411569 : 1561411570); + break; + case 5: + queryGraph.RemoveEdges(zoneBoundaryNode.Id, (NavEdge e) => e.EdgeType == NavEdgeType.ZoneBoundary); + num = 1561411569; + break; + case 6: + num = (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator) ? 1561411571 : 1561411573); + break; + case 2: + return; + } + } + } + finally + { + int num = ((enumerator == null) ? (-1966182711) : (-1966182710)); + while (true) + { + int num7 = num; + int num3 = -1966182709; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = -1966182710; + break; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator); + num = -1966182711; + break; + case 2: + goto end_IL_014c; + } + continue; + end_IL_014c: + break; + } + } + } + + private static void CopyStaticEdges(NavGraph queryGraph, NavGraph staticGraph) + { + IEnumerator enumerator = queryGraph.Nodes.Values.GetEnumerator(); + try + { + NavEdge current2 = default(NavEdge); + while (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator)) + { + NavNode current = enumerator.Current; + IEnumerator enumerator2 = staticGraph.GetEdges(current.Id).GetEnumerator(); + try + { + int num = 30778255; + while (true) + { + int num2 = num; + int num3 = 30778255; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator2) ? 30778251 : 30778254); + break; + case 2: + queryGraph.AddEdge(current2); + num = 30778255; + break; + case 4: + current2 = enumerator2.Current; + num = ((!(queryGraph.GetNode(current2.ToNodeId) != null)) ? 30778255 : 30778253); + break; + case 3: + num = 30778255; + break; + case 1: + goto end_IL_003b; + } + continue; + end_IL_003b: + break; + } + } + finally + { + int num = ((enumerator2 == null) ? 975603848 : 975603851); + while (true) + { + int num7 = num; + int num3 = 975603850; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 975603851; + break; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator2); + num = 975603848; + break; + case 2: + goto end_IL_010c; + } + continue; + end_IL_010c: + break; + } + } + } + } + finally + { + int num = ((enumerator == null) ? 1159160104 : 1159160107); + while (true) + { + int num8 = num; + int num3 = 1159160106; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1159160107; + break; + case 2: + goto end_IL_0185; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator); + num = 1159160104; + break; + } + continue; + end_IL_0185: + break; + } + } + } + + private void AddWithinZoneEdgesFrom(NavGraph queryGraph, NavNode origin, PlayerNavState playerState) + { + IEnumerator enumerator = queryGraph.GetNodesInTerritory(origin.TerritoryId).GetEnumerator(); + try + { + int num = -845739614; + NavNode node = default(NavNode); + string current = default(string); + while (true) + { + int num2 = num; + int num3 = -845739616; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + { + float timeCostSeconds = costCalculator.EstimateWithinZoneTravelTime(origin.Position, node.Position, origin.TerritoryId, playerState); + queryGraph.AddEdge(new NavEdge(origin.Id, current, NavEdgeType.WithinZone, timeCostSeconds, 0)); + num = -845739614; + break; + } + case 1: + num = ((!AreNodesConnectedWithinZone(origin, node, origin.TerritoryId)) ? (-845739614) : (-845739610)); + break; + case 5: + num = -845739614; + break; + case 4: + current = enumerator.Current; + num = (_206D_206B_202A_200E_200B_206E_202E_206E_206E_206E_202B_200B_200F_202E_202E_200E_200F_202C_200C_202A_206B_200C_202D_200E_206C_206E_200F_202E_200B_200D_206C_200C_206F_206A_202D_200D_200E_200E_202D_202E(current, origin.Id) ? (-845739614) : (-845739616)); + break; + case 0: + node = queryGraph.GetNode(current); + num = ((node == null) ? (-845739614) : (-845739615)); + break; + case 2: + num = (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator) ? (-845739612) : (-845739613)); + break; + case 3: + return; + } + } + } + finally + { + int num = ((enumerator == null) ? (-1480647069) : (-1480647070)); + while (true) + { + int num7 = num; + int num3 = -1480647069; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto end_IL_0175; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator); + num = -1480647069; + break; + case 2: + num = -1480647070; + break; + } + continue; + end_IL_0175: + break; + } + } + } + + private void AddWithinZoneEdgesTo(NavGraph queryGraph, NavNode destination, PlayerNavState playerState) + { + IEnumerator enumerator = queryGraph.GetNodesInTerritory(destination.TerritoryId).GetEnumerator(); + try + { + int num = 1437904752; + string current = default(string); + NavNode node = default(NavNode); + while (true) + { + int num2 = num; + int num3 = 1437904757; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1437904752; + break; + case 3: + current = enumerator.Current; + num = (_206D_206B_202A_200E_200B_206E_202E_206E_206E_206E_202B_200B_200F_202E_202E_200E_200F_202C_200C_202A_206B_200C_202D_200E_206C_206E_200F_202E_200B_200D_206C_200C_206F_206A_202D_200D_200E_200E_202D_202E(current, destination.Id) ? 1437904752 : 1437904757); + break; + case 6: + { + float timeCostSeconds = costCalculator.EstimateWithinZoneTravelTime(node.Position, destination.Position, destination.TerritoryId, playerState); + queryGraph.AddEdge(new NavEdge(current, destination.Id, NavEdgeType.WithinZone, timeCostSeconds, 0)); + num = 1437904752; + break; + } + case 5: + num = (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator) ? 1437904758 : 1437904753); + break; + case 0: + node = queryGraph.GetNode(current); + num = ((node == null) ? 1437904752 : 1437904756); + break; + case 1: + num = ((!AreNodesConnectedWithinZone(node, destination, destination.TerritoryId)) ? 1437904752 : 1437904755); + break; + case 4: + return; + } + } + } + finally + { + int num = ((enumerator == null) ? 594834347 : 594834346); + while (true) + { + int num5 = num; + int num3 = 594834347; + int num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 2: + num = 594834346; + break; + case 0: + goto end_IL_0173; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator); + num = 594834347; + break; + } + continue; + end_IL_0173: + break; + } + } + } + + private void AddTeleportEdgesFromOrigin(NavGraph queryGraph, NavNode origin, List largeAetherytes, PlayerNavState playerState) + { + float num = CostCalculator.EstimateTeleportTime(); + int num2 = ((!playerState.PreferFreeTravel) ? (-1195937511) : (-1195937512)); + int num8; + while (true) + { + int num3 = num2; + int num4 = -1195937511; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + default: + continue; + case 2: + goto IL_0058; + case 1: + num8 = ((!territoryInfo.CanUseMount(playerState.CurrentTerritoryId)) ? 1 : 0); + break; + case 0: + num8 = 0; + break; + } + break; + IL_0058: + num2 = -1195937512; + } + bool flag = (byte)num8 != 0; + using List.Enumerator enumerator = largeAetherytes.GetEnumerator(); + num2 = -745052022; + float num10 = default(float); + int num11 = default(int); + NavNode.AetheryteNode current = default(NavNode.AetheryteNode); + while (true) + { + int num9 = num2; + int num4 = -745052019; + int num5 = num9; + switch ((num5 | num4) - (num5 & num4)) + { + case 2: + num10 = num; + num2 = ((!flag) ? (-745052020) : (-745052023)); + break; + case 8: + num11 = EstimateTeleportGilCost(current.Aetheryte, playerState); + num2 = ((!playerState.CanAffordTeleport(num11)) ? (-745052022) : (-745052017)); + break; + case 0: + num2 = -745052022; + break; + case 6: + current = enumerator.Current; + num2 = ((current.Aetheryte != playerState.HomeAetheryte) ? (-745052027) : (-745052024)); + break; + case 9: + num10 *= 10f; + num2 = -745052020; + break; + case 7: + num2 = (enumerator.MoveNext() ? (-745052021) : (-745052018)); + break; + case 1: + queryGraph.AddEdge(new NavEdge(origin.Id, current.Id, NavEdgeType.Teleport, num10, num11)); + num2 = -745052022; + break; + case 4: + num2 = ((num11 <= 0) ? (-745052020) : (-745052028)); + break; + case 5: + num2 = (playerState.ReturnAvailable ? (-745052022) : (-745052027)); + break; + case 3: + return; + } + } + } + + private void AddTicketTeleportEdges(NavGraph queryGraph, NavNode origin, PlayerNavState playerState, uint? restrictToTerritory) + { + int num = ((playerState.AvailableTeleportTickets.Count != 0) ? 532905786 : 532905785); + TeleportTicketService.TeleportTicket current = default(TeleportTicketService.TeleportTicket); + NavNode.TicketNode ticketNode = default(NavNode.TicketNode); + while (true) + { + int num2 = num; + int num3 = 532905787; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0056; + case 2: + return; + case 1: + { + IEnumerator enumerator = teleportTicketService.Tickets.GetEnumerator(); + try + { + num = -129183693; + while (true) + { + int num7 = num; + num3 = -129183693; + num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 9: + num = ((current.TerritoryId != restrictToTerritory) ? (-129183693) : (-129183696)); + break; + case 1: + ticketNode = new NavNode.TicketNode(current.ItemId, current.TerritoryId, current.Position); + num = ((!(queryGraph.GetNode(ticketNode.Id) == null)) ? (-129183691) : (-129183695)); + break; + case 4: + num = -129183693; + break; + case 5: + num = ((!restrictToTerritory.HasValue) ? (-129183696) : (-129183686)); + break; + case 6: + queryGraph.AddEdge(new NavEdge(origin.Id, ticketNode.Id, NavEdgeType.TicketTeleport, CostCalculator.EstimateTeleportTime(), 0)); + AddWithinZoneEdgesFrom(queryGraph, ticketNode, playerState); + num = -129183693; + break; + case 0: + num = (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator) ? (-129183692) : (-129183685)); + break; + case 7: + current = enumerator.Current; + num = ((!playerState.AvailableTeleportTickets.Contains(current.ItemId)) ? (-129183693) : (-129183690)); + break; + case 3: + num = ((territoryInfo.GetExVersion(current.TerritoryId) > playerState.MaxExpansion) ? (-129183693) : (-129183694)); + break; + case 2: + queryGraph.AddNode(ticketNode); + num = -129183691; + break; + case 8: + return; + } + } + } + finally + { + num = ((enumerator == null) ? 1931890800 : 1931890803); + while (true) + { + int num10 = num; + num3 = 1931890802; + num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 2: + goto end_IL_026d; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator); + num = 1931890800; + break; + case 0: + num = 1931890803; + break; + } + continue; + end_IL_026d: + break; + } + } + } + } + continue; + IL_0056: + num = 532905785; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static void AddReturnEdge(NavGraph queryGraph, NavNode origin, PlayerNavState playerState) + { + int num = ((playerState.HomeAetheryte != EAetheryteLocation.None) ? 410582311 : 410582309); + string text = default(string); + while (true) + { + int num2 = num; + int num3 = 410582308; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 410582309; + break; + case 2: + queryGraph.AddEdge(new NavEdge(origin.Id, text, NavEdgeType.Return, CostCalculator.EstimateTeleportTime(), 0)); + return; + case 3: + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(10, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(623658432)); + defaultInterpolatedStringHandler.AppendFormatted((int)playerState.HomeAetheryte); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + num = ((!(queryGraph.GetNode(text) == null)) ? 410582310 : 410582304); + break; + } + case 1: + return; + case 4: + return; + } + } + } + + private static void RecomputeAethernetCosts(NavGraph queryGraph) + { + List list = new List(); + IEnumerator> enumerator = queryGraph.Nodes.GetEnumerator(); + try + { + NavEdge current = default(NavEdge); + while (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator)) + { + enumerator.Current.Deconstruct(out var key, out var _); + string nodeId = key; + IEnumerator enumerator2 = queryGraph.GetEdges(nodeId).GetEnumerator(); + try + { + int num = -1315650651; + while (true) + { + int num2 = num; + int num3 = -1315650655; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = -1315650651; + break; + case 2: + num = ((current.TimeCostSeconds != 0f) ? (-1315650651) : (-1315650655)); + break; + case 0: + { + float timeCostSeconds = CostCalculator.EstimateAethernetHopTime(); + list.Add(new NavEdge(current.FromNodeId, current.ToNodeId, NavEdgeType.AethernetHop, timeCostSeconds, 0)); + num = -1315650651; + break; + } + case 4: + num = (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator2) ? (-1315650656) : (-1315650654)); + break; + case 1: + current = enumerator2.Current; + num = ((current.EdgeType != NavEdgeType.AethernetHop) ? (-1315650651) : (-1315650653)); + break; + case 3: + goto end_IL_0046; + } + continue; + end_IL_0046: + break; + } + } + finally + { + int num = ((enumerator2 == null) ? 1575360777 : 1575360778); + while (true) + { + int num5 = num; + int num3 = 1575360779; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0159; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator2); + num = 1575360777; + break; + case 0: + num = 1575360778; + break; + } + continue; + end_IL_0159: + break; + } + } + } + } + finally + { + int num = ((enumerator == null) ? (-258534269) : (-258534272)); + while (true) + { + int num6 = num; + int num3 = -258534270; + int num4 = num6; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -258534272; + break; + case 2: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator); + num = -258534269; + break; + case 1: + goto end_IL_01d3; + } + continue; + end_IL_01d3: + break; + } + } + using List.Enumerator enumerator3 = list.GetEnumerator(); + int num = -1541576202; + while (true) + { + int num7 = num; + int num3 = -1541576203; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1541576202; + break; + case 3: + num = (enumerator3.MoveNext() ? (-1541576201) : (-1541576204)); + break; + case 2: + { + NavEdge current2 = enumerator3.Current; + queryGraph.ReplaceEdge(current2); + num = -1541576202; + break; + } + case 1: + return; + } + } + } + + private void AddBoundaryWithinZoneEdges(NavGraph queryGraph, PlayerNavState playerState) + { + IEnumerator enumerator = queryGraph.Nodes.Values.GetEnumerator(); + try + { + NavNode node = default(NavNode); + string current = default(string); + while (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator)) + { + if (!(enumerator.Current is NavNode.ZoneBoundaryNode zoneBoundaryNode)) + { + continue; + } + IEnumerator enumerator2 = queryGraph.GetNodesInTerritory(zoneBoundaryNode.TerritoryId).GetEnumerator(); + try + { + int num = 678629672; + while (true) + { + int num2 = num; + int num3 = 678629672; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator2) ? 678629664 : 678629675); + break; + case 5: + { + 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(current, zoneBoundaryNode.Id, NavEdgeType.WithinZone, timeCostSeconds, 0)); + queryGraph.AddEdge(new NavEdge(zoneBoundaryNode.Id, current, NavEdgeType.WithinZone, timeCostSeconds2, 0)); + num = 678629672; + break; + } + case 4: + num = ((_202B_200E_206B_200C_200F_202B_202D_200C_206E_200B_206C_200B_200D_202A_200D_206B_200E_206A_206B_202E_206A_200F_206A_200D_202D_202A_206A_206D_206E_202C_202C_206F_200F_202E_206B_200E_200F_202C_206D_200E_202E(zoneBoundaryNode.Id, current) >= 0) ? 678629672 : 678629679); + break; + case 1: + node = queryGraph.GetNode(current); + num = ((node == null) ? 678629672 : 678629674); + break; + case 6: + num = 678629672; + break; + case 2: + num = ((!(node is NavNode.ZoneBoundaryNode)) ? 678629679 : 678629676); + break; + case 8: + current = enumerator2.Current; + num = (_206D_206B_202A_200E_200B_206E_202E_206E_206E_206E_202B_200B_200F_202E_202E_200E_200F_202C_200C_202A_206B_200C_202D_200E_206C_206E_200F_202E_200B_200D_206C_200C_206F_206A_202D_200D_200E_200E_202D_202E(current, zoneBoundaryNode.Id) ? 678629672 : 678629673); + break; + case 7: + num = ((!AreNodesConnectedWithinZone(zoneBoundaryNode, node, zoneBoundaryNode.TerritoryId)) ? 678629672 : 678629677); + break; + case 3: + goto end_IL_0046; + } + continue; + end_IL_0046: + break; + } + } + finally + { + int num = ((enumerator2 == null) ? 947622411 : 947622408); + while (true) + { + int num7 = num; + int num3 = 947622409; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 947622408; + break; + case 2: + goto end_IL_0230; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator2); + num = 947622411; + break; + } + continue; + end_IL_0230: + break; + } + } + } + } + finally + { + int num = ((enumerator == null) ? 920604177 : 920604178); + while (true) + { + int num8 = num; + int num3 = 920604179; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 920604178; + break; + case 2: + goto end_IL_02a9; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator); + num = 920604177; + break; + } + continue; + end_IL_02a9: + break; + } + } + } + + private void AddWarpWithinZoneEdges(NavGraph queryGraph, PlayerNavState playerState) + { + IEnumerator enumerator = queryGraph.Nodes.Values.GetEnumerator(); + try + { + NavNode node = default(NavNode); + string current = default(string); + while (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator)) + { + if (!(enumerator.Current is NavNode.WarpNode warpNode)) + { + continue; + } + IEnumerator enumerator2 = queryGraph.GetNodesInTerritory(warpNode.TerritoryId).GetEnumerator(); + try + { + int num = 1985395046; + while (true) + { + int num2 = num; + int num3 = 1985395046; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 8: + num = ((!(node is NavNode.WarpNode)) ? 1985395043 : 1985395040); + break; + case 7: + current = enumerator2.Current; + num = (_206D_206B_202A_200E_200B_206E_202E_206E_206E_206E_202B_200B_200F_202E_202E_200E_200F_202C_200C_202A_206B_200C_202D_200E_206C_206E_200F_202E_200B_200D_206C_200C_206F_206A_202D_200D_200E_200E_202D_202E(current, warpNode.Id) ? 1985395046 : 1985395045); + break; + case 2: + num = 1985395046; + break; + case 3: + node = queryGraph.GetNode(current); + num = ((node == null) ? 1985395046 : 1985395054); + break; + case 0: + num = (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator2) ? 1985395041 : 1985395042); + break; + case 1: + { + 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(current, warpNode.Id, NavEdgeType.WithinZone, timeCostSeconds, 0)); + queryGraph.AddEdge(new NavEdge(warpNode.Id, current, NavEdgeType.WithinZone, timeCostSeconds2, 0)); + num = 1985395046; + break; + } + case 5: + num = ((node is NavNode.ZoneBoundaryNode) ? 1985395046 : 1985395055); + break; + case 6: + num = ((_202B_200E_206B_200C_200F_202B_202D_200C_206E_200B_206C_200B_200D_202A_200D_206B_200E_206A_206B_202E_206A_200F_206A_200D_202D_202A_206A_206D_206E_202C_202C_206F_200F_202E_206B_200E_200F_202C_206D_200E_202E(warpNode.Id, current) >= 0) ? 1985395046 : 1985395043); + break; + case 9: + num = ((!AreNodesConnectedWithinZone(warpNode, node, warpNode.TerritoryId)) ? 1985395046 : 1985395047); + break; + case 4: + goto end_IL_0046; + } + continue; + end_IL_0046: + break; + } + } + finally + { + int num = ((enumerator2 == null) ? (-1883846692) : (-1883846689)); + while (true) + { + int num5 = num; + int num3 = -1883846690; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto end_IL_0256; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator2); + num = -1883846692; + break; + case 0: + num = -1883846689; + break; + } + continue; + end_IL_0256: + break; + } + } + } + } + finally + { + int num = ((enumerator == null) ? 1643037069 : 1643037070); + while (true) + { + int num6 = num; + int num3 = 1643037071; + int num4 = num6; + int num7 = num4 + num3; + int num8 = num4 & num3; + switch (num7 - (num8 + num8)) + { + case 0: + num = 1643037070; + break; + case 2: + goto end_IL_02cf; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator); + num = 1643037069; + break; + } + continue; + end_IL_02cf: + break; + } + } + } + + private void AddConnectorWithinZoneEdges(NavGraph queryGraph, PlayerNavState playerState) + { + IEnumerator enumerator = queryGraph.Nodes.Values.GetEnumerator(); + try + { + bool flag = default(bool); + NavNode node = default(NavNode); + string current = default(string); + while (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator)) + { + if (!(enumerator.Current is NavNode.SubRegionConnectorNode subRegionConnectorNode)) + { + continue; + } + IEnumerator enumerator2 = queryGraph.GetNodesInTerritory(subRegionConnectorNode.TerritoryId).GetEnumerator(); + try + { + int num = -20087948; + while (true) + { + int num2 = num; + int num3 = -20087938; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 11: + flag = false; + num = -20087938; + break; + case 3: + { + 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(current, subRegionConnectorNode.Id, NavEdgeType.WithinZone, timeCostSeconds, 0)); + queryGraph.AddEdge(new NavEdge(subRegionConnectorNode.Id, current, NavEdgeType.WithinZone, timeCostSeconds2, 0)); + num = -20087948; + break; + } + case 6: + num = ((node is NavNode.ZoneBoundaryNode) ? (-20087937) : (-20087943)); + break; + case 8: + node = queryGraph.GetNode(current); + num = ((node == null) ? (-20087948) : (-20087940)); + break; + case 12: + num = ((_202B_200E_206B_200C_200F_202B_202D_200C_206E_200B_206C_200B_200D_202A_200D_206B_200E_206A_206B_202E_206A_200F_206A_200D_202D_202A_206A_206D_206E_202C_202C_206F_200F_202E_206B_200E_200F_202C_206D_200E_202E(subRegionConnectorNode.Id, current) >= 0) ? (-20087948) : (-20087944)); + break; + case 4: + current = enumerator2.Current; + num = (_206D_206B_202A_200E_200B_206E_202E_206E_206E_206E_202B_200B_200F_202E_202E_200E_200F_202C_200C_202A_206B_200C_202D_200E_206C_206E_200F_202E_200B_200D_206C_200C_206F_206A_202D_200D_200E_200E_202D_202E(current, subRegionConnectorNode.Id) ? (-20087948) : (-20087946)); + break; + case 10: + num = (_202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E((IEnumerator)enumerator2) ? (-20087942) : (-20087941)); + break; + case 7: + num = ((!(node is NavNode.WarpNode)) ? (-20087947) : (-20087937)); + break; + case 0: + num = (flag ? (-20087948) : (-20087949)); + break; + case 1: + flag = true; + num = -20087938; + break; + case 9: + num = -20087948; + break; + case 2: + num = ((!(node is NavNode.SubRegionConnectorNode)) ? (-20087944) : (-20087950)); + break; + case 13: + num = ((!AreNodesConnectedWithinZone(subRegionConnectorNode, node, subRegionConnectorNode.TerritoryId)) ? (-20087948) : (-20087939)); + break; + case 5: + goto end_IL_0046; + } + continue; + end_IL_0046: + break; + } + } + finally + { + int num = ((enumerator2 == null) ? 1921938678 : 1921938679); + while (true) + { + int num7 = num; + int num3 = 1921938678; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 2: + num = 1921938679; + break; + case 0: + goto end_IL_02c9; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator2); + num = 1921938678; + break; + } + continue; + end_IL_02c9: + break; + } + } + } + } + finally + { + int num = ((enumerator == null) ? (-1456790234) : (-1456790235)); + while (true) + { + int num10 = num; + int num3 = -1456790236; + int num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + case 2: + goto end_IL_0344; + case 1: + _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E((IDisposable)enumerator); + num = -1456790234; + break; + case 0: + num = -1456790235; + break; + } + continue; + end_IL_0344: + break; + } + } + } + + private bool AreNodesConnectedWithinZone(NavNode a, NavNode b, uint territoryId) + { + int num = (zoneSubRegionService.HasSubRegions(territoryId) ? 257099617 : 257099621); + NavNode.SubRegionConnectorNode subRegionConnectorNode2 = default(NavNode.SubRegionConnectorNode); + string text2 = default(string); + string text = default(string); + NavNode.SubRegionConnectorNode subRegionConnectorNode = default(NavNode.SubRegionConnectorNode); + while (true) + { + int num2 = num; + int num3 = 257099617; + int num4 = num2; + string subRegionId2; + string subRegionId; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 7: + num = 257099621; + continue; + case 3: + subRegionId2 = zoneSubRegionService.GetSubRegionId(territoryId, a.Position.X, a.Position.Y, a.Position.Z); + goto IL_00c1; + case 8: + subRegionId2 = subRegionConnectorNode2.SubRegionId; + goto IL_00c1; + case 0: + subRegionConnectorNode2 = a as NavNode.SubRegionConnectorNode; + num = (((object)subRegionConnectorNode2 != null) ? 257099625 : 257099618); + continue; + case 9: + return true; + case 4: + return true; + case 1: + subRegionId = zoneSubRegionService.GetSubRegionId(territoryId, b.Position.X, b.Position.Y, b.Position.Z); + break; + case 5: + return _206D_206B_202A_200E_200B_206E_202E_206E_206E_206E_202B_200B_200F_202E_202E_200E_200F_202C_200C_202A_206B_200C_202D_200E_206C_206E_200F_202E_200B_200D_206C_200C_206F_206A_202D_200D_200E_200E_202D_202E(text2, text); + case 6: + num = ((text != null) ? 257099620 : 257099624); + continue; + case 2: + { + subRegionId = subRegionConnectorNode.SubRegionId; + break; + } + IL_00c1: + text2 = subRegionId2; + subRegionConnectorNode = b as NavNode.SubRegionConnectorNode; + num = (((object)subRegionConnectorNode != null) ? 257099619 : 257099616); + continue; + } + text = subRegionId; + num = ((text2 == null) ? 257099624 : 257099623); + } + } + + private static int EstimateTeleportGilCost(EAetheryteLocation aetheryte, PlayerNavState playerState) + { + return playerState.GetTeleportCost(aetheryte); + } + + static bool _202B_202B_200F_206B_206A_206A_200E_206A_200E_206C_206A_200E_200F_206A_200C_200D_202B_202D_206B_202B_200B_200F_202E_202E_206C_206A_200B_206E_202D_206B_202B_206C_200E_200D_206F_206D_202A_200F_202D_202A_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206E_200F_206F_202C_202C_206E_206C_200F_202A_200F_200F_202B_200B_200D_200D_206A_200D_206F_206A_200E_202D_202D_202A_200D_206F_206C_206B_200D_200C_206B_202E_200B_202D_202C_206D_206C_206A_206D_206F_200E_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _202D_206F_202C_200B_206E_200E_200C_200D_202A_202B_206B_206B_200B_202A_202B_202C_206B_202C_200E_200F_202E_206C_202D_206B_202E_202E_202C_206E_202C_206B_200F_200D_200B_206E_206F_206B_206B_202E_200C_202A_202E(string P_0, string P_1) + { + return P_0 != P_1; + } + + static void _206B_206A_206F_206B_200C_200D_200C_206E_206F_202E_200E_206D_206C_206D_202B_202D_200C_202E_202C_206C_200D_206D_200B_200B_200E_200C_206C_202E_200B_202D_200C_206A_206E_202D_206F_202B_206E_200D_202D_202B_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206D_206B_202A_200E_200B_206E_202E_206E_206E_206E_202B_200B_200F_202E_202E_200E_200F_202C_200C_202A_206B_200C_202D_200E_206C_206E_200F_202E_200B_200D_206C_200C_206F_206A_202D_200D_200E_200E_202D_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static int _202B_200E_206B_200C_200F_202B_202D_200C_206E_200B_206C_200B_200D_202A_200D_206B_200E_206A_206B_202E_206A_200F_206A_200D_202D_202A_206A_206D_206E_202C_202C_206F_200F_202E_206B_200E_200F_202C_206D_200E_202E(string P_0, string P_1) + { + return string.CompareOrdinal(P_0, P_1); + } +} diff --git a/SmartNav/SmartNav/NavInstruction.cs b/SmartNav/SmartNav/NavInstruction.cs new file mode 100644 index 00000000..f5f8120a --- /dev/null +++ b/SmartNav/SmartNav/NavInstruction.cs @@ -0,0 +1,1481 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +using SmartNav.Model; + +namespace SmartNav; + +public abstract record NavInstruction +{ + public sealed record Teleport(EAetheryteLocation Target, ushort ExpectedTerritory) : NavInstruction() + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _202B_206A_202A_202E_206C_200C_206B_202D_200D_200F_206B_200E_202C_202B_206E_202A_202A_200C_200D_206D_202B_202C_206F_206F_202E_200C_206D_206C_202A_200C_206A_202B_202B_206B_206D_200E_206C_202A_202B_202D_202E(typeof(Teleport).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200B_202C_206B_206A_206A_200F_200C_200F_202A_200F_200C_206D_200C_206E_206A_206C_202D_206E_202D_206E_206D_202D_206C_202D_202C_206F_206C_202C_206F_200B_200D_200D_202C_202A_200B_200F_206A_206E_200F_206C_202E(); + _200E_202B_202C_202C_200F_206F_200F_200B_206A_202C_200F_206D_202E_200F_206F_202C_202D_206A_206B_206D_200F_206D_206D_206D_206E_206F_206F_200B_206D_202A_206A_202A_200F_202B_202C_200D_202A_200C_206E_206C_202E(stringBuilder, global::_003CModule_003E._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(520762376)); + _200E_202B_202C_202C_200F_206F_200F_200B_206A_202C_200F_206D_202E_200F_206F_202C_202D_206A_206B_206D_200F_206D_206D_206D_206E_206F_206F_200B_206D_202A_206A_202A_200F_202B_202C_200D_202A_200C_206E_206C_202E(stringBuilder, global::_003CModule_003E._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(1886515922)); + int num = ((!PrintMembers(stringBuilder)) ? (-334069347) : (-334069346)); + while (true) + { + int num2 = num; + int num3 = -334069348; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -334069346; + break; + case 1: + _206F_200D_206B_200B_202C_206B_206B_206B_200D_200B_206A_202E_202C_202A_202E_206B_202C_200B_202B_206D_202A_202A_206A_200D_202C_202E_200C_206C_206E_202A_206B_206E_202C_202E_200D_206C_202E_200E_202E_200C_202E(stringBuilder, '}'); + return _206C_200B_202E_200E_206F_200D_202B_200D_200E_200F_206D_200B_202E_206A_202C_206F_206B_200B_202A_206A_202B_200F_200E_206A_202A_202C_202E_200C_206B_200C_202E_206C_206C_200C_202A_206F_200E_202A_206E_200E_202E((object)stringBuilder); + case 2: + _206F_200D_206B_200B_202C_206B_206B_206B_200D_200B_206A_202E_202C_202A_202E_206B_202C_200B_202B_206D_202A_202A_206A_200D_202C_202E_200C_206C_206E_202A_206B_206E_202C_202E_200D_206C_202E_200E_202E_200C_202E(stringBuilder, ' '); + num = -334069347; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? (-955478791) : (-955478790)); + while (true) + { + int num2 = num; + int num3 = -955478792; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _200E_202B_202C_202C_200F_206F_200F_200B_206A_202C_200F_206D_202E_200F_206F_202C_202D_206A_206B_206D_200F_206D_206D_206D_206E_206F_206F_200B_206D_202A_206A_202A_200F_202B_202C_200D_202A_200C_206E_206C_202E(builder, global::_003CModule_003E._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(-882810597)); + _200E_202B_202C_202C_200F_206F_200F_200B_206A_202C_200F_206D_202E_200F_206F_202C_202D_206A_206B_206D_200F_206D_206D_206D_206E_206F_206F_200B_206D_202A_206A_202A_200F_202B_202C_200D_202A_200C_206E_206C_202E(builder, Target.ToString()); + _200E_202B_202C_202C_200F_206F_200F_200B_206A_202C_200F_206D_202E_200F_206F_202C_202D_206A_206B_206D_200F_206D_206D_206D_206E_206F_206F_200B_206D_202A_206A_202A_200F_202B_202C_200D_202A_200C_206E_206C_202E(builder, global::_003CModule_003E._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(-647095476)); + _200E_202B_202C_202C_200F_206F_200F_200B_206A_202C_200F_206D_202E_200F_206F_202C_202D_206A_206B_206D_200F_206D_206D_206D_206E_206F_206F_200B_206D_202A_206A_202A_200F_202B_202C_200D_202A_200C_206E_206C_202E(builder, ExpectedTerritory.ToString()); + return true; + case 2: + _200E_202B_202C_202C_200F_206F_200F_200B_206A_202C_200F_206D_202E_200F_206F_202C_202D_206A_206B_206D_200F_206D_206D_206D_206E_206F_206F_200B_206D_202A_206A_202A_200F_202B_202C_200D_202A_200C_206E_206C_202E(builder, global::_003CModule_003E._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(-1735617534)); + num = -955478791; + break; + case 0: + num = -955478790; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(Teleport? other) + { + int num = (((object)this == other) ? (-1930487852) : (-1930487849)); + while (true) + { + int num2 = num; + int num3 = -1930487852; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + num = -1930487849; + break; + case 0: + return true; + case 2: + num = ((!EqualityComparer.Default.Equals(Target, other.Target)) ? (-1930487856) : (-1930487851)); + break; + case 3: + num = ((!base.Equals(other)) ? (-1930487856) : (-1930487850)); + break; + case 4: + return false; + case 1: + return EqualityComparer.Default.Equals(ExpectedTerritory, other.ExpectedTerritory); + } + } + } + + bool IEquatable.Equals(Teleport? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202B_206A_202A_202E_206C_200C_206B_202D_200D_200F_206B_200E_202C_202B_206E_202A_202A_200C_200D_206D_202B_202C_206F_206F_202E_200C_206D_206C_202A_200C_206A_202B_202B_206B_206D_200E_206C_202A_202B_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200B_202C_206B_206A_206A_200F_200C_200F_202A_200F_200C_206D_200C_206E_206A_206C_202D_206E_202D_206E_206D_202D_206C_202D_202C_206F_206C_202C_206F_200B_200D_200D_202C_202A_200B_200F_206A_206E_200F_206C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200E_202B_202C_202C_200F_206F_200F_200B_206A_202C_200F_206D_202E_200F_206F_202C_202D_206A_206B_206D_200F_206D_206D_206D_206E_206F_206F_200B_206D_202A_206A_202A_200F_202B_202C_200D_202A_200C_206E_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206F_200D_206B_200B_202C_206B_206B_206B_200D_200B_206A_202E_202C_202A_202E_206B_202C_200B_202B_206D_202A_202A_206A_200D_202C_202E_200C_206C_206E_202A_206B_206E_202C_202E_200D_206C_202E_200E_202E_200C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_200B_202E_200E_206F_200D_202B_200D_200E_200F_206D_200B_202E_206A_202C_206F_206B_200B_202A_206A_202B_200F_200E_206A_202A_202C_202E_200C_206B_200C_202E_206C_206C_200C_202A_206F_200E_202A_206E_200E_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _200E_200E_200C_206C_200E_200C_206E_206B_200B_206D_206F_200E_206B_202A_200D_206F_200B_200E_206B_200C_200D_202C_206F_202E_200E_206E_200C_202B_200E_200C_202C_206D_200E_206D_206B_200B_206C_206A_200F_200E_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record AethernetHop(EAetheryteLocation From, EAetheryteLocation To) : NavInstruction() + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_200E_202D_206F_202C_202D_200E_206A_200C_206A_206A_200D_206A_202D_206C_206F_206C_200E_200F_200C_206F_200E_206F_202D_200D_202B_202C_200D_200B_202A_202A_200E_200E_200C_206E_200F_200B_202D_200F_200C_202E(typeof(AethernetHop).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_206D_202B_200E_200E_200C_206D_206B_200B_202A_200D_200B_200E_206F_206E_206A_206F_206C_206F_206A_200F_200F_200B_200C_206C_202B_200F_200C_200B_206C_206E_200C_202E_200F_206F_202A_200F_202D_202E_202A_202E(); + _200D_202E_206C_206F_206C_200D_202C_202B_206D_202E_202E_202A_202B_206E_206B_202D_200E_200F_202A_200E_200C_206D_206E_202B_206C_206F_200E_200E_206F_206C_200B_200C_200B_202E_202D_200E_206E_202B_206C_206C_202E(stringBuilder, global::_003CModule_003E._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(646727576)); + _200D_202E_206C_206F_206C_200D_202C_202B_206D_202E_202E_202A_202B_206E_206B_202D_200E_200F_202A_200E_200C_206D_206E_202B_206C_206F_200E_200E_206F_206C_200B_200C_200B_202E_202D_200E_206E_202B_206C_206C_202E(stringBuilder, global::_003CModule_003E._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(1120247710)); + int num = ((!PrintMembers(stringBuilder)) ? 731190541 : 731190540); + while (true) + { + int num2 = num; + int num3 = 731190541; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _206E_202B_206F_202B_200F_200E_200C_200F_206E_206F_200B_206D_206A_200F_200F_206B_200D_202B_202A_202E_202E_206C_200E_202A_206D_206A_200B_206F_206B_202E_200E_206E_200E_206B_202C_206C_202A_200C_206C_202D_202E(stringBuilder, '}'); + return _200B_200F_200E_206C_206B_202C_200D_206A_206B_202C_200E_200F_200F_200D_200C_206D_200E_206C_200B_200C_206B_200E_202E_200D_206A_200E_206A_200C_202C_202D_200B_206A_200D_202C_202E_202C_202A_200F_200B_200E_202E((object)stringBuilder); + case 1: + _206E_202B_206F_202B_200F_200E_200C_200F_206E_206F_200B_206D_206A_200F_200F_206B_200D_202B_202A_202E_202E_206C_200E_202A_206D_206A_200B_206F_206B_202E_200E_206E_200E_206B_202C_206C_202A_200C_206C_202D_202E(stringBuilder, ' '); + num = 731190541; + break; + case 2: + num = 731190540; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 262222259 : 262222258); + while (true) + { + int num2 = num; + int num3 = 262222259; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 262222258; + break; + case 1: + _200D_202E_206C_206F_206C_200D_202C_202B_206D_202E_202E_202A_202B_206E_206B_202D_200E_200F_202A_200E_200C_206D_206E_202B_206C_206F_200E_200E_206F_206C_200B_200C_200B_202E_202D_200E_206E_202B_206C_206C_202E(builder, global::_003CModule_003E._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(520781629)); + num = 262222259; + break; + case 0: + _200D_202E_206C_206F_206C_200D_202C_202B_206D_202E_202E_202A_202B_206E_206B_202D_200E_200F_202A_200E_200C_206D_206E_202B_206C_206F_200E_200E_206F_206C_200B_200C_200B_202E_202D_200E_206E_202B_206C_206C_202E(builder, global::_003CModule_003E._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(-1585380673)); + _200D_202E_206C_206F_206C_200D_202C_202B_206D_202E_202E_202A_202B_206E_206B_202D_200E_200F_202A_200E_200C_206D_206E_202B_206C_206F_200E_200E_206F_206C_200B_200C_200B_202E_202D_200E_206E_202B_206C_206C_202E(builder, From.ToString()); + _200D_202E_206C_206F_206C_200D_202C_202B_206D_202E_202E_202A_202B_206E_206B_202D_200E_200F_202A_200E_200C_206D_206E_202B_206C_206F_200E_200E_206F_206C_200B_200C_200B_202E_202D_200E_206E_202B_206C_206C_202E(builder, global::_003CModule_003E._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(-1504115831)); + _200D_202E_206C_206F_206C_200D_202C_202B_206D_202E_202E_202A_202B_206E_206B_202D_200E_200F_202A_200E_200C_206D_206E_202B_206C_206F_200E_200E_206F_206C_200B_200C_200B_202E_202D_200E_206E_202B_206C_206C_202E(builder, To.ToString()); + return true; + } + } + } + + [CompilerGenerated] + public bool Equals(AethernetHop? other) + { + int num = (((object)this == other) ? 1340176582 : 1340176578); + while (true) + { + int num2 = num; + int num3 = 1340176583; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 4: + num = ((!EqualityComparer.Default.Equals(From, other.From)) ? 1340176583 : 1340176581); + break; + case 5: + num = ((!base.Equals(other)) ? 1340176583 : 1340176579); + break; + case 3: + num = 1340176578; + break; + case 0: + return false; + case 1: + return true; + case 2: + return EqualityComparer.Default.Equals(To, other.To); + } + } + } + + bool IEquatable.Equals(AethernetHop? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_200E_202D_206F_202C_202D_200E_206A_200C_206A_206A_200D_206A_202D_206C_206F_206C_200E_200F_200C_206F_200E_206F_202D_200D_202B_202C_200D_200B_202A_202A_200E_200E_200C_206E_200F_200B_202D_200F_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206F_206D_202B_200E_200E_200C_206D_206B_200B_202A_200D_200B_200E_206F_206E_206A_206F_206C_206F_206A_200F_200F_200B_200C_206C_202B_200F_200C_200B_206C_206E_200C_202E_200F_206F_202A_200F_202D_202E_202A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200D_202E_206C_206F_206C_200D_202C_202B_206D_202E_202E_202A_202B_206E_206B_202D_200E_200F_202A_200E_200C_206D_206E_202B_206C_206F_200E_200E_206F_206C_200B_200C_200B_202E_202D_200E_206E_202B_206C_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206E_202B_206F_202B_200F_200E_200C_200F_206E_206F_200B_206D_206A_200F_200F_206B_200D_202B_202A_202E_202E_206C_200E_202A_206D_206A_200B_206F_206B_202E_200E_206E_200E_206B_202C_206C_202A_200C_206C_202D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_200F_200E_206C_206B_202C_200D_206A_206B_202C_200E_200F_200F_200D_200C_206D_200E_206C_200B_200C_206B_200E_202E_200D_206A_200E_206A_200C_202C_202D_200B_206A_200D_202C_202E_202C_202A_200F_200B_200E_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _200C_206A_202D_202A_200B_202A_202D_206B_206D_200E_200E_200D_202A_206F_202B_200D_202A_202C_200D_202D_200D_202E_200F_202C_200D_206A_206C_206D_200B_206D_202D_206E_202C_202A_200E_206A_206A_202B_206D_206C_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + 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() + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_202B_202C_200E_202B_200D_202C_206F_202E_200D_202D_202B_202D_202E_206B_206C_200B_200C_206E_200E_202B_206F_200E_202E_206C_206F_206D_202E_200C_206B_206C_206F_200B_202D_206F_202B_200D_202B_200E_200C_202E(typeof(Move).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200C_200E_202D_200E_206B_202E_206B_202E_200D_206E_206F_202D_206C_202B_206E_206A_200D_206A_206A_206A_200D_206F_202E_200F_200E_206F_202E_202C_202E_200E_206E_202B_206F_200D_206B_206D_200B_206B_202A_206A_202E(); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(stringBuilder, global::_003CModule_003E._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(-1783373874)); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(stringBuilder, global::_003CModule_003E._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(-979564187)); + int num = ((!PrintMembers(stringBuilder)) ? 184319925 : 184319924); + while (true) + { + int num2 = num; + int num3 = 184319925; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 184319924; + break; + case 1: + _206F_206F_200E_202D_202B_206B_202D_206E_206B_202E_206A_202A_202D_202E_200B_200F_200B_202C_200B_200C_202E_200D_200C_206C_206E_200D_202D_202E_202A_206B_200D_200C_206D_200C_206D_206C_202E_200C_202D_206A_202E(stringBuilder, ' '); + num = 184319925; + break; + case 0: + _206F_206F_200E_202D_202B_206B_202D_206E_206B_202E_206A_202A_202D_202E_200B_200F_200B_202C_200B_200C_202E_200D_200C_206C_206E_200D_202D_202E_202A_206B_200D_200C_206D_200C_206D_206C_202E_200C_202D_206A_202E(stringBuilder, '}'); + return _200B_206E_202E_206F_200E_202C_206B_200E_202D_200C_202A_200D_202A_202E_206F_200B_206A_202A_206E_200F_202D_206F_200B_200C_200E_202B_200B_202D_206C_200C_200D_202C_202A_200F_200D_206C_206B_202D_200F_206C_202E((object?)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? (-1550275483) : (-1550275484)); + while (true) + { + int num2 = num; + int num3 = -1550275483; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(1301726024)); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, Territory.ToString()); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(-14976604)); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, Position.ToString()); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(579183541)); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, Fly.ToString()); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(1438832715)); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, LandAtTarget.ToString()); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(1925162850)); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, StopDistance.ToString()); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(-1217334372)); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, DataId.ToString()); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(961640576)); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, Mount.ToString()); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(-87396488)); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, DisableNavmesh.ToString()); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(-977259030)); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, AllowZoneTransition.ToString()); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(515549831)); + _206F_206D_206B_202A_206A_200E_206E_206E_200C_200F_200C_206F_206A_202A_200C_200B_206C_206F_202C_206B_202A_206D_206D_206D_200B_202E_202D_206C_206A_202C_200E_202C_202A_200D_206F_202E_206C_206B_200E_200C_202E(builder, (object?)TargetNodeId); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(1412207095)); + _206F_206D_206B_202A_206A_200E_206E_206E_200C_200F_200C_206F_206A_202A_200C_200B_206C_206F_202C_206B_202A_206D_206D_206D_200B_202E_202D_206C_206A_202C_200E_202C_202A_200D_206F_202E_206C_206B_200E_200C_202E(builder, (object?)ApproachNodeId); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(1726787616)); + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, IsFinal.ToString()); + return true; + case 1: + _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(builder, global::_003CModule_003E._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(-1735617534)); + num = -1550275483; + break; + case 2: + num = -1550275484; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(Move? other) + { + int num = (((object)this == other) ? (-1381192085) : (-1381192092)); + while (true) + { + int num2 = num; + int num3 = -1381192088; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = ((!EqualityComparer.Default.Equals(DisableNavmesh, other.DisableNavmesh)) ? (-1381192095) : (-1381192090)); + break; + case 11: + num = ((!EqualityComparer.Default.Equals(Position, other.Position)) ? (-1381192095) : (-1381192086)); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(ApproachNodeId, other.ApproachNodeId)) ? (-1381192095) : (-1381192089)); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(TargetNodeId, other.TargetNodeId)) ? (-1381192095) : (-1381192087)); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(Mount, other.Mount)) ? (-1381192095) : (-1381192088)); + break; + case 3: + return true; + case 14: + num = ((!EqualityComparer.Default.Equals(AllowZoneTransition, other.AllowZoneTransition)) ? (-1381192095) : (-1381192081)); + break; + case 9: + return false; + case 4: + num = ((!EqualityComparer.Default.Equals(LandAtTarget, other.LandAtTarget)) ? (-1381192095) : (-1381192096)); + break; + case 13: + num = ((!EqualityComparer.Default.Equals(DataId, other.DataId)) ? (-1381192095) : (-1381192082)); + break; + case 10: + num = -1381192092; + break; + case 2: + num = ((!EqualityComparer.Default.Equals(Fly, other.Fly)) ? (-1381192095) : (-1381192084)); + break; + case 5: + num = ((!EqualityComparer.Default.Equals(Territory, other.Territory)) ? (-1381192095) : (-1381192093)); + break; + case 15: + return EqualityComparer.Default.Equals(IsFinal, other.IsFinal); + case 8: + num = ((!EqualityComparer.Default.Equals(StopDistance, other.StopDistance)) ? (-1381192095) : (-1381192091)); + break; + case 12: + num = ((!base.Equals(other)) ? (-1381192095) : (-1381192083)); + break; + } + } + } + + bool IEquatable.Equals(Move? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type? _200F_202B_202C_200E_202B_200D_202C_206F_202E_200D_202D_202B_202D_202E_206B_206C_200B_200C_206E_200E_202B_206F_200E_202E_206C_206F_206D_202E_200C_206B_206C_206F_200B_202D_206F_202B_200D_202B_200E_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder? _200C_200E_202D_200E_206B_202E_206B_202E_200D_206E_206F_202D_206C_202B_206E_206A_200D_206A_206A_206A_200D_206F_202E_200F_200E_206F_202E_202C_202E_200E_206E_202B_206F_200D_206B_206D_200B_206B_202A_206A_202E() + { + return new StringBuilder(); + } + + static StringBuilder? _200B_202A_202B_200D_200D_206B_206A_206F_206A_202C_200D_202C_206C_202D_206C_202C_202B_200B_206C_200C_206A_200E_200F_200F_202C_202E_200C_202E_206C_202B_200D_200F_202A_200B_200D_200D_200E_202B_200D_202E_202E(StringBuilder? P_0, string? P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder? _206F_206F_200E_202D_202B_206B_202D_206E_206B_202E_206A_202A_202D_202E_200B_200F_200B_202C_200B_200C_202E_200D_200C_206C_206E_200D_202D_202E_202A_206B_200D_200C_206D_200C_206D_206C_202E_200C_202D_206A_202E(StringBuilder? P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string? _200B_206E_202E_206F_200E_202C_206B_200E_202D_200C_202A_200D_202A_202E_206F_200B_206A_202A_206E_200F_202D_206F_200B_200C_200E_202B_200B_202D_206C_200C_200D_202C_202A_200F_200D_206C_206B_202D_200F_206C_202E(object? P_0) + { + return P_0.ToString(); + } + + static StringBuilder? _206F_206D_206B_202A_206A_200E_206E_206E_200C_200F_200C_206F_206A_202A_200C_200B_206C_206F_202C_206B_202A_206D_206D_206D_200B_202E_202D_206C_206A_202C_200E_202C_202A_200D_206F_202E_206C_206B_200E_200C_202E(StringBuilder? P_0, object? P_1) + { + return P_0.Append(P_1); + } + + static bool _200B_200C_200E_200B_206C_206C_206F_202E_202E_206C_202C_200B_206B_200F_200D_202C_206E_200C_200D_200F_202E_200C_202C_206D_200F_206F_206E_200B_206C_206A_202E_202C_200C_202B_202B_200F_206C_200F_200B_200F_202E(object? P_0, object? P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record Land : NavInstruction + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206C_206B_206B_200D_200C_206A_200C_202B_202A_206F_206B_206A_202E_206D_206D_206E_200D_206B_202C_200F_206A_200B_206C_200B_206F_206B_206F_200B_202D_202D_202A_200C_202E_200C_206C_206C_202A_206C_202C_206E_202E(typeof(Land).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206B_202A_206D_202A_202E_200F_202E_200F_206D_200B_200E_200C_200E_200D_200F_200D_202C_206D_200E_200D_200B_202B_206F_206E_200B_202A_202C_200C_206C_200E_200D_206A_206F_200B_206F_200B_206E_200F_202D_202A_202E(); + _206F_202B_202C_202E_200D_206B_206B_200E_202E_200F_206C_200D_206F_206A_206E_200F_202A_200C_200E_200C_200F_202E_202A_206F_206E_202B_206E_206F_200C_200C_200E_202E_202D_202E_202C_200C_206B_202C_202A_202D_202E(stringBuilder, global::_003CModule_003E._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(-2144595044)); + _206F_202B_202C_202E_200D_206B_206B_200E_202E_200F_206C_200D_206F_206A_206E_200F_202A_200C_200E_200C_200F_202E_202A_206F_206E_202B_206E_206F_200C_200C_200E_202E_202D_202E_202C_200C_206B_202C_202A_202D_202E(stringBuilder, global::_003CModule_003E._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(-979564187)); + int num = ((!PrintMembers(stringBuilder)) ? (-1706563255) : (-1706563254)); + while (true) + { + int num2 = num; + int num3 = -1706563256; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _200E_202B_200B_200E_202C_202D_202D_206F_202E_206C_202A_200B_202D_200B_206F_202D_206F_200B_206E_206A_200D_206E_202E_206F_202E_202D_202C_202E_200B_206F_202D_206C_206F_202A_202E_200F_206B_206D_200E_202E(stringBuilder, '}'); + return _202A_202B_200D_206D_200D_206A_206D_206A_200B_202A_206E_202E_206B_200D_206D_202B_206B_200B_200C_206E_206E_206A_206B_206C_206C_200E_202B_200F_206A_206B_200C_206F_200D_206D_200C_202D_202E_202A_206F_206F_202E((object)stringBuilder); + case 2: + _200E_202B_200B_200E_202C_202D_202D_206F_202E_206C_202A_200B_202D_200B_206F_202D_206F_200B_206E_206A_200D_206E_202E_206F_202E_202D_202C_202E_200B_206F_202D_206C_206F_202A_202E_200F_206B_206D_200E_202E(stringBuilder, ' '); + num = -1706563255; + break; + case 0: + num = -1706563254; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(Land? other) + { + int num = (((object)this == other) ? 56353034 : 56353033); + while (true) + { + int num2 = num; + int num3 = 56353035; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0042; + case 2: + return base.Equals(other); + case 1: + return true; + } + continue; + IL_0042: + num = 56353033; + } + } + + bool IEquatable.Equals(Land? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206C_206B_206B_200D_200C_206A_200C_202B_202A_206F_206B_206A_202E_206D_206D_206E_200D_206B_202C_200F_206A_200B_206C_200B_206F_206B_206F_200B_202D_202D_202A_200C_202E_200C_206C_206C_202A_206C_202C_206E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206B_202A_206D_202A_202E_200F_202E_200F_206D_200B_200E_200C_200E_200D_200F_200D_202C_206D_200E_200D_200B_202B_206F_206E_200B_202A_202C_200C_206C_200E_200D_206A_206F_200B_206F_200B_206E_200F_202D_202A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206F_202B_202C_202E_200D_206B_206B_200E_202E_200F_206C_200D_206F_206A_206E_200F_202A_200C_200E_200C_200F_202E_202A_206F_206E_202B_206E_206F_200C_200C_200E_202E_202D_202E_202C_200C_206B_202C_202A_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200E_202B_200B_200E_202C_202D_202D_206F_202E_206C_202A_200B_202D_200B_206F_202D_206F_200B_206E_206A_200D_206E_202E_206F_202E_202D_202C_202E_200B_206F_202D_206C_206F_202A_202E_200F_206B_206D_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202A_202B_200D_206D_200D_206A_206D_206A_200B_202A_206E_202E_206B_200D_206D_202B_206B_200B_200C_206E_206E_206A_206B_206C_206C_200E_202B_200F_206A_206B_200C_206F_200D_206D_200C_202D_202E_202A_206F_206F_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _206F_202A_202A_206A_200F_206C_200F_200F_200D_206D_206B_200F_200E_206B_200D_206F_206D_202B_202C_202C_200B_200D_206C_202E_200F_206B_202D_202B_200C_206B_200F_200C_202B_200E_200E_200B_206B_202B_200F_206B_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record Unmount : NavInstruction + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _200F_202C_202C_206B_202D_206A_206B_206B_206D_202D_202E_202B_206F_200E_206F_200C_206B_206A_206E_206B_200F_206B_206E_202E_200D_202C_200B_206D_200C_206E_206E_206F_206C_206F_206F_202B_206A_206F_200C_202D_202E(typeof(Unmount).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200E_202B_206D_200B_206D_202D_202D_200C_200B_202A_200B_202C_202D_202D_206D_202A_200E_202D_206C_206C_202D_200B_206B_200B_206A_206F_202B_206C_206B_206B_206E_200D_200B_202D_202A_206F_202C_206D_206A_202C_202E(); + _202A_200E_200E_206F_200C_200E_202D_200B_200E_200B_200F_202A_200C_206F_206F_202E_200C_202C_200E_206D_200D_206D_206F_200B_206E_206B_202A_200D_206F_200D_202E_206F_202D_200D_202B_200C_206C_202E_200B_206C_202E(stringBuilder, global::_003CModule_003E._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(1982914453)); + _202A_200E_200E_206F_200C_200E_202D_200B_200E_200B_200F_202A_200C_206F_206F_202E_200C_202C_200E_206D_200D_206D_206F_200B_206E_206B_202A_200D_206F_200D_202E_206F_202D_200D_202B_200C_206C_202E_200B_206C_202E(stringBuilder, global::_003CModule_003E._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(-169322018)); + int num = ((!PrintMembers(stringBuilder)) ? (-986476098) : (-986476099)); + while (true) + { + int num2 = num; + int num3 = -986476100; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -986476099; + break; + case 1: + _200C_206A_206E_202B_202C_202C_200B_200E_200B_202E_206D_206F_202C_200B_202A_206A_202E_200B_206F_202C_206F_206B_206F_206B_206C_206C_206B_202B_200F_200B_206E_206D_206C_206E_202B_206F_206E_200B_206B_202B_202E(stringBuilder, ' '); + num = -986476098; + break; + case 2: + _200C_206A_206E_202B_202C_202C_200B_200E_200B_202E_206D_206F_202C_200B_202A_206A_202E_200B_206F_202C_206F_206B_206F_206B_206C_206C_206B_202B_200F_200B_206E_206D_206C_206E_202B_206F_206E_200B_206B_202B_202E(stringBuilder, '}'); + return _206C_202A_200F_202E_202B_206D_200D_200D_200F_202B_202A_200B_200F_202C_206D_206E_202D_202A_206E_200F_206B_200D_200D_206F_206F_206A_200F_200F_200D_206C_200B_202A_202B_202B_202E_206A_206E_200D_200B_200E_202E((object)stringBuilder); + } + } + } + + [CompilerGenerated] + public bool Equals(Unmount? other) + { + int num = (((object)this == other) ? 967887402 : 967887403); + while (true) + { + int num2 = num; + int num3 = 967887402; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return true; + case 1: + return base.Equals(other); + case 2: + goto IL_004c; + } + continue; + IL_004c: + num = 967887403; + } + } + + bool IEquatable.Equals(Unmount? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200F_202C_202C_206B_202D_206A_206B_206B_206D_202D_202E_202B_206F_200E_206F_200C_206B_206A_206E_206B_200F_206B_206E_202E_200D_202C_200B_206D_200C_206E_206E_206F_206C_206F_206F_202B_206A_206F_200C_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200E_202B_206D_200B_206D_202D_202D_200C_200B_202A_200B_202C_202D_202D_206D_202A_200E_202D_206C_206C_202D_200B_206B_200B_206A_206F_202B_206C_206B_206B_206E_200D_200B_202D_202A_206F_202C_206D_206A_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202A_200E_200E_206F_200C_200E_202D_200B_200E_200B_200F_202A_200C_206F_206F_202E_200C_202C_200E_206D_200D_206D_206F_200B_206E_206B_202A_200D_206F_200D_202E_206F_202D_200D_202B_200C_206C_202E_200B_206C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200C_206A_206E_202B_202C_202C_200B_200E_200B_202E_206D_206F_202C_200B_202A_206A_202E_200B_206F_202C_206F_206B_206F_206B_206C_206C_206B_202B_200F_200B_206E_206D_206C_206E_202B_206F_206E_200B_206B_202B_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_202A_200F_202E_202B_206D_200D_200D_200F_202B_202A_200B_200F_202C_206D_206E_202D_202A_206E_200F_206B_200D_200D_206F_206F_206A_200F_200F_200D_206C_200B_202A_202B_202B_202E_206A_206E_200D_200B_200E_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _200D_206A_202A_206F_200C_202C_206E_206B_206F_202D_206F_206C_202A_206C_202C_200E_202B_202A_202D_202B_200B_200E_202C_200C_202E_206C_206C_206C_202A_202A_202C_206C_202A_202B_206B_206D_206B_200C_206D_206F_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record WaitForTerritory(IReadOnlyList Acceptable, string Description) : NavInstruction() + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206D_202D_206C_202B_202D_206B_200E_202B_206F_200D_202B_202D_200D_200D_206F_206C_202E_202C_202D_202E_206E_206D_202E_206A_202B_202B_202E_200B_206F_202D_202B_200E_202C_206B_206A_200F_202D_200C_206D_202D_202E(typeof(WaitForTerritory).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_202E_200E_202B_200C_200B_200C_200D_202A_206E_202D_200E_202E_200D_202E_202E_200B_206B_206E_202E_200E_202E_206B_202C_206F_202D_202E_206F_206C_202D_206B_206A_200F_200F_202D_200C_202A_200D_200C_200C_202E(); + _206D_200F_200B_202A_206A_206F_200E_206F_202D_200C_202A_200D_206D_206E_202E_206E_202B_200D_202C_202A_200C_202D_206F_206D_206B_206D_202A_200C_202D_206B_202B_206E_200C_200B_206D_206E_200F_206C_206A_206F_202E(stringBuilder, global::_003CModule_003E._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(66948926)); + _206D_200F_200B_202A_206A_206F_200E_206F_202D_200C_202A_200D_206D_206E_202E_206E_202B_200D_202C_202A_200C_202D_206F_206D_206B_206D_202A_200C_202D_206B_202B_206E_200C_200B_206D_206E_200F_206C_206A_206F_202E(stringBuilder, global::_003CModule_003E._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(1120247710)); + int num = ((!PrintMembers(stringBuilder)) ? 322249372 : 322249375); + while (true) + { + int num2 = num; + int num3 = 322249373; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 322249375; + break; + case 2: + _202A_206B_202E_202C_206B_202B_202B_200B_206A_206A_202E_206B_200C_202D_206A_202C_200F_202D_202C_202E_200F_200E_206C_200B_200B_202A_202D_206A_206B_200F_200E_202D_206D_202D_206C_202D_202A_206C_206A_206C_202E(stringBuilder, ' '); + num = 322249372; + break; + case 1: + _202A_206B_202E_202C_206B_202B_202B_200B_206A_206A_202E_206B_200C_202D_206A_202C_200F_202D_202C_202E_200F_200E_206C_200B_200B_202A_202D_206A_206B_200F_200E_202D_206D_202D_206C_202D_202A_206C_206A_206C_202E(stringBuilder, '}'); + return _206B_202C_206D_200E_202C_202B_200B_206C_206A_206B_202D_200E_200C_200E_206B_202C_206B_202C_206B_206F_206A_202C_200B_202B_200F_206A_206F_206A_206D_200F_206C_206C_200B_202D_206C_202E_206C_200C_202B_202C_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? (-276328762) : (-276328763)); + while (true) + { + int num2 = num; + int num3 = -276328764; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -276328763; + break; + case 1: + _206D_200F_200B_202A_206A_206F_200E_206F_202D_200C_202A_200D_206D_206E_202E_206E_202B_200D_202C_202A_200C_202D_206F_206D_206B_206D_202A_200C_202D_206B_202B_206E_200C_200B_206D_206E_200F_206C_206A_206F_202E(builder, global::_003CModule_003E._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(-1735617534)); + num = -276328762; + break; + case 2: + _206D_200F_200B_202A_206A_206F_200E_206F_202D_200C_202A_200D_206D_206E_202E_206E_202B_200D_202C_202A_200C_202D_206F_206D_206B_206D_202A_200C_202D_206B_202B_206E_200C_200B_206D_206E_200F_206C_206A_206F_202E(builder, global::_003CModule_003E._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(-632488350)); + _202E_200F_202B_202D_206F_202D_202E_202B_200D_202B_206D_200D_206D_206F_202E_206B_200F_200C_206B_206A_200F_206B_200F_206D_206A_206D_202D_200C_202A_206F_206D_202B_200F_202C_206A_206B_202E_206F_202A_202D_202E(builder, (object)Acceptable); + _206D_200F_200B_202A_206A_206F_200E_206F_202D_200C_202A_200D_206D_206E_202E_206E_202B_200D_202C_202A_200C_202D_206F_206D_206B_206D_202A_200C_202D_206B_202B_206E_200C_200B_206D_206E_200F_206C_206A_206F_202E(builder, global::_003CModule_003E._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(-1652180292)); + _202E_200F_202B_202D_206F_202D_202E_202B_200D_202B_206D_200D_206D_206F_202E_206B_200F_200C_206B_206A_200F_206B_200F_206D_206A_206D_202D_200C_202A_206F_206D_202B_200F_202C_206A_206B_202E_206F_202A_202D_202E(builder, (object)Description); + return true; + } + } + } + + [CompilerGenerated] + public bool Equals(WaitForTerritory? other) + { + int num = (((object)this == other) ? (-116518482) : (-116518483)); + while (true) + { + int num2 = num; + int num3 = -116518484; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return EqualityComparer.Default.Equals(Description, other.Description); + case 1: + num = ((!base.Equals(other)) ? (-116518488) : (-116518481)); + break; + case 3: + num = ((!EqualityComparer>.Default.Equals(Acceptable, other.Acceptable)) ? (-116518488) : (-116518484)); + break; + case 5: + num = -116518483; + break; + case 4: + return false; + case 2: + return true; + } + } + } + + bool IEquatable.Equals(WaitForTerritory? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206D_202D_206C_202B_202D_206B_200E_202B_206F_200D_202B_202D_200D_200D_206F_206C_202E_202C_202D_202E_206E_206D_202E_206A_202B_202B_202E_200B_206F_202D_202B_200E_202C_206B_206A_200F_202D_200C_206D_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202A_202E_200E_202B_200C_200B_200C_200D_202A_206E_202D_200E_202E_200D_202E_202E_200B_206B_206E_202E_200E_202E_206B_202C_206F_202D_202E_206F_206C_202D_206B_206A_200F_200F_202D_200C_202A_200D_200C_200C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206D_200F_200B_202A_206A_206F_200E_206F_202D_200C_202A_200D_206D_206E_202E_206E_202B_200D_202C_202A_200C_202D_206F_206D_206B_206D_202A_200C_202D_206B_202B_206E_200C_200B_206D_206E_200F_206C_206A_206F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202A_206B_202E_202C_206B_202B_202B_200B_206A_206A_202E_206B_200C_202D_206A_202C_200F_202D_202C_202E_200F_200E_206C_200B_200B_202A_202D_206A_206B_200F_200E_202D_206D_202D_206C_202D_202A_206C_206A_206C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206B_202C_206D_200E_202C_202B_200B_206C_206A_206B_202D_200E_200C_200E_206B_202C_206B_202C_206B_206F_206A_202C_200B_202B_200F_206A_206F_206A_206D_200F_206C_206C_200B_202D_206C_202E_206C_200C_202B_202C_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _202E_200F_202B_202D_206F_202D_202E_202B_200D_202B_206D_200D_206D_206F_202E_206B_200F_200C_206B_206A_200F_206B_200F_206D_206A_206D_202D_200C_202A_206F_206D_202B_200F_202C_206A_206B_202E_206F_202A_202D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206A_200E_202C_200F_202B_200D_200B_200F_202C_206D_206C_206B_200E_202C_200D_200B_202C_206B_202A_200C_206B_200B_202D_200F_200F_206B_206F_202C_206C_202B_200D_202C_200F_202A_206E_202B_206B_202C_202E_202D_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record WaitForNavmesh : NavInstruction + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206C_202D_200F_200B_206F_206C_206E_202D_206A_206B_200C_200D_202A_200F_200F_206A_200E_202E_206A_206D_202B_206C_206F_206D_202C_200E_202D_206F_202E_200F_200B_202A_200E_206F_206E_206D_200F_200F_200C_202E_202E(typeof(WaitForNavmesh).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202D_202B_206E_200E_202B_200C_206B_202E_200C_200B_206F_200C_206F_202E_206B_202B_200E_200B_206D_202E_200B_202B_206C_202B_200B_206D_206F_200E_206B_206E_202C_206A_206B_206B_206B_202A_200B_206A_200C_202B_202E(); + _200B_200C_202A_202A_200D_202C_206B_200B_206D_200E_202E_200D_202B_202E_202E_200F_206B_200B_206D_202C_202C_200D_202E_200C_202A_202C_202B_200D_202D_206F_202E_200F_200E_200D_200F_200F_206D_202A_202E_202C_202E(stringBuilder, global::_003CModule_003E._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(-814720200)); + _200B_200C_202A_202A_200D_202C_206B_200B_206D_200E_202E_200D_202B_202E_202E_200F_206B_200B_206D_202C_202C_200D_202E_200C_202A_202C_202B_200D_202D_206F_202E_200F_200E_200D_200F_200F_206D_202A_202E_202C_202E(stringBuilder, global::_003CModule_003E._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(-979564187)); + int num = ((!PrintMembers(stringBuilder)) ? 1083442519 : 1083442516); + while (true) + { + int num2 = num; + int num3 = 1083442518; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _206B_202B_206E_200B_206D_202C_200F_200B_202D_206C_200B_200B_200F_206D_202A_202B_200F_202D_202C_202B_206D_200E_202E_202C_206C_200F_200C_206C_200F_206A_206F_200D_202A_200F_206E_202B_206C_200B_200D_200E_202E(stringBuilder, '}'); + return _200F_206D_200B_200F_200C_202A_206D_202A_200B_206A_200B_206B_200C_202D_206E_200F_206F_200B_202C_202D_200B_206B_206F_200E_200C_206D_206A_200B_206A_202D_200F_206F_202E_206E_202E_206A_206C_202C_206A_202E((object)stringBuilder); + case 2: + _206B_202B_206E_200B_206D_202C_200F_200B_202D_206C_200B_200B_200F_206D_202A_202B_200F_202D_202C_202B_206D_200E_202E_202C_206C_200F_200C_206C_200F_206A_206F_200D_202A_200F_206E_202B_206C_200B_200D_200E_202E(stringBuilder, ' '); + num = 1083442519; + break; + case 0: + num = 1083442516; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(WaitForNavmesh? other) + { + int num = (((object)this == other) ? 192095984 : 192095987); + while (true) + { + int num2 = num; + int num3 = 192095985; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return true; + case 2: + return base.Equals(other); + case 0: + goto IL_004c; + } + continue; + IL_004c: + num = 192095987; + } + } + + bool IEquatable.Equals(WaitForNavmesh? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206C_202D_200F_200B_206F_206C_206E_202D_206A_206B_200C_200D_202A_200F_200F_206A_200E_202E_206A_206D_202B_206C_206F_206D_202C_200E_202D_206F_202E_200F_200B_202A_200E_206F_206E_206D_200F_200F_200C_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202D_202B_206E_200E_202B_200C_206B_202E_200C_200B_206F_200C_206F_202E_206B_202B_200E_200B_206D_202E_200B_202B_206C_202B_200B_206D_206F_200E_206B_206E_202C_206A_206B_206B_206B_202A_200B_206A_200C_202B_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200B_200C_202A_202A_200D_202C_206B_200B_206D_200E_202E_200D_202B_202E_202E_200F_206B_200B_206D_202C_202C_200D_202E_200C_202A_202C_202B_200D_202D_206F_202E_200F_200E_200D_200F_200F_206D_202A_202E_202C_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206B_202B_206E_200B_206D_202C_200F_200B_202D_206C_200B_200B_200F_206D_202A_202B_200F_202D_202C_202B_206D_200E_202E_202C_206C_200F_200C_206C_200F_206A_206F_200D_202A_200F_206E_202B_206C_200B_200D_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_206D_200B_200F_200C_202A_206D_202A_200B_206A_200B_206B_200C_202D_206E_200F_206F_200B_202C_202D_200B_206B_206F_200E_200C_206D_206A_200B_206A_202D_200F_206F_202E_206E_202E_206A_206C_202C_206A_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _206C_206E_202A_206D_202C_206B_202B_202B_202C_206E_202C_200C_200F_206A_206E_200C_202D_202D_200F_206D_202A_200D_206A_200D_206A_200B_206B_206A_206C_206E_206E_200F_202E_202B_206E_202E_206D_200B_200F_206C_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record InteractWarp(uint NpcDataId, uint WarpRowId, ushort FromTerritory, ushort ToTerritory) : NavInstruction() + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _200B_202A_206C_206F_202A_200D_206A_202B_206C_206F_202B_206D_200B_200B_202B_202D_206C_200D_206F_200B_206E_206B_206B_200F_200E_202B_202A_206E_200E_206B_202B_206B_202B_202D_200F_206D_206B_202B_206A_202E(typeof(InteractWarp).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202C_206C_202E_206A_202B_200C_202A_200B_206C_200C_200F_200B_206D_202B_206C_206C_206B_202A_206C_206F_206C_202D_202D_202D_206A_202E_206D_206F_206A_200B_202B_206E_202B_202B_202B_202D_202A_200E_200B_202E_202E(); + _202E_206B_206A_206B_202A_200E_206E_202E_202A_202D_206E_206F_206B_206A_206D_202A_200E_206D_202C_202C_200B_200D_206A_206A_202E_200E_200E_200E_206B_202C_206D_202D_200E_206F_206F_200D_202B_200B_200E_202D_202E(stringBuilder, global::_003CModule_003E._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(-1147188911)); + _202E_206B_206A_206B_202A_200E_206E_202E_202A_202D_206E_206F_206B_206A_206D_202A_200E_206D_202C_202C_200B_200D_206A_206A_202E_200E_200E_200E_206B_202C_206D_202D_200E_206F_206F_200D_202B_200B_200E_202D_202E(stringBuilder, global::_003CModule_003E._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(-169322018)); + int num = ((!PrintMembers(stringBuilder)) ? (-399761928) : (-399761925)); + while (true) + { + int num2 = num; + int num3 = -399761927; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -399761925; + break; + case 2: + _206A_202D_202E_202A_202C_200D_200E_200B_200D_206F_206D_202E_202B_200B_206B_206A_202D_206B_206C_202C_202C_202E_206E_206B_202B_206B_206C_206B_206F_202E_200B_200C_206B_200E_202E_206A_206D_202E_206E_200F_202E(stringBuilder, ' '); + num = -399761928; + break; + case 1: + _206A_202D_202E_202A_202C_200D_200E_200B_200D_206F_206D_202E_202B_200B_206B_206A_202D_206B_206C_202C_202C_202E_206E_206B_202B_206B_206C_206B_206F_202E_200B_200C_206B_200E_202E_206A_206D_202E_206E_200F_202E(stringBuilder, '}'); + return _200E_202B_200E_200B_200B_200D_200B_200C_200D_202B_200E_206A_200F_206F_206C_202B_206C_202C_202D_200D_202B_206E_202E_202D_206E_206E_200C_206E_206E_206A_206F_200B_206F_200E_200C_206A_202A_200B_202A_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 1383636572 : 1383636575); + while (true) + { + int num2 = num; + int num3 = 1383636574; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _202E_206B_206A_206B_202A_200E_206E_202E_202A_202D_206E_206F_206B_206A_206D_202A_200E_206D_202C_202C_200B_200D_206A_206A_202E_200E_200E_200E_206B_202C_206D_202D_200E_206F_206F_200D_202B_200B_200E_202D_202E(builder, global::_003CModule_003E._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(312121302)); + _202E_206B_206A_206B_202A_200E_206E_202E_202A_202D_206E_206F_206B_206A_206D_202A_200E_206D_202C_202C_200B_200D_206A_206A_202E_200E_200E_200E_206B_202C_206D_202D_200E_206F_206F_200D_202B_200B_200E_202D_202E(builder, NpcDataId.ToString()); + _202E_206B_206A_206B_202A_200E_206E_202E_202A_202D_206E_206F_206B_206A_206D_202A_200E_206D_202C_202C_200B_200D_206A_206A_202E_200E_200E_200E_206B_202C_206D_202D_200E_206F_206F_200D_202B_200B_200E_202D_202E(builder, global::_003CModule_003E._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(-1903510194)); + _202E_206B_206A_206B_202A_200E_206E_202E_202A_202D_206E_206F_206B_206A_206D_202A_200E_206D_202C_202C_200B_200D_206A_206A_202E_200E_200E_200E_206B_202C_206D_202D_200E_206F_206F_200D_202B_200B_200E_202D_202E(builder, WarpRowId.ToString()); + _202E_206B_206A_206B_202A_200E_206E_202E_202A_202D_206E_206F_206B_206A_206D_202A_200E_206D_202C_202C_200B_200D_206A_206A_202E_200E_200E_200E_206B_202C_206D_202D_200E_206F_206F_200D_202B_200B_200E_202D_202E(builder, global::_003CModule_003E._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(-149782778)); + _202E_206B_206A_206B_202A_200E_206E_202E_202A_202D_206E_206F_206B_206A_206D_202A_200E_206D_202C_202C_200B_200D_206A_206A_202E_200E_200E_200E_206B_202C_206D_202D_200E_206F_206F_200D_202B_200B_200E_202D_202E(builder, FromTerritory.ToString()); + _202E_206B_206A_206B_202A_200E_206E_202E_202A_202D_206E_206F_206B_206A_206D_202A_200E_206D_202C_202C_200B_200D_206A_206A_202E_200E_200E_200E_206B_202C_206D_202D_200E_206F_206F_200D_202B_200B_200E_202D_202E(builder, global::_003CModule_003E._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(883191091)); + _202E_206B_206A_206B_202A_200E_206E_202E_202A_202D_206E_206F_206B_206A_206D_202A_200E_206D_202C_202C_200B_200D_206A_206A_202E_200E_200E_200E_206B_202C_206D_202D_200E_206F_206F_200D_202B_200B_200E_202D_202E(builder, ToTerritory.ToString()); + return true; + case 1: + _202E_206B_206A_206B_202A_200E_206E_202E_202A_202D_206E_206F_206B_206A_206D_202A_200E_206D_202C_202C_200B_200D_206A_206A_202E_200E_200E_200E_206B_202C_206D_202D_200E_206F_206F_200D_202B_200B_200E_202D_202E(builder, global::_003CModule_003E._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(-1735617534)); + num = 1383636572; + break; + case 0: + num = 1383636575; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(InteractWarp? other) + { + int num = (((object)this == other) ? 589898297 : 589898296); + while (true) + { + int num2 = num; + int num3 = 589898298; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 7: + num = ((!EqualityComparer.Default.Equals(FromTerritory, other.FromTerritory)) ? 589898300 : 589898298); + break; + case 1: + num = ((!EqualityComparer.Default.Equals(NpcDataId, other.NpcDataId)) ? 589898300 : 589898303); + break; + case 2: + num = ((!base.Equals(other)) ? 589898300 : 589898299); + break; + case 6: + return false; + case 0: + return EqualityComparer.Default.Equals(ToTerritory, other.ToTerritory); + case 5: + num = ((!EqualityComparer.Default.Equals(WarpRowId, other.WarpRowId)) ? 589898300 : 589898301); + break; + case 4: + num = 589898296; + break; + case 3: + return true; + } + } + } + + bool IEquatable.Equals(InteractWarp? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _200B_202A_206C_206F_202A_200D_206A_202B_206C_206F_202B_206D_200B_200B_202B_202D_206C_200D_206F_200B_206E_206B_206B_200F_200E_202B_202A_206E_200E_206B_202B_206B_202B_202D_200F_206D_206B_202B_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202C_206C_202E_206A_202B_200C_202A_200B_206C_200C_200F_200B_206D_202B_206C_206C_206B_202A_206C_206F_206C_202D_202D_202D_206A_202E_206D_206F_206A_200B_202B_206E_202B_202B_202B_202D_202A_200E_200B_202E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_206B_206A_206B_202A_200E_206E_202E_202A_202D_206E_206F_206B_206A_206D_202A_200E_206D_202C_202C_200B_200D_206A_206A_202E_200E_200E_200E_206B_202C_206D_202D_200E_206F_206F_200D_202B_200B_200E_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206A_202D_202E_202A_202C_200D_200E_200B_200D_206F_206D_202E_202B_200B_206B_206A_202D_206B_206C_202C_202C_202E_206E_206B_202B_206B_206C_206B_206F_202E_200B_200C_206B_200E_202E_206A_206D_202E_206E_200F_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200E_202B_200E_200B_200B_200D_200B_200C_200D_202B_200E_206A_200F_206F_206C_202B_206C_202C_202D_200D_202B_206E_202E_202D_206E_206E_200C_206E_206E_206A_206F_200B_206F_200E_200C_206A_202A_200B_202A_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _202B_206C_202E_206F_200F_202E_202A_206F_206A_200B_206F_200F_202D_200D_206C_200E_206E_200D_202A_202D_202C_200F_206C_202D_202E_202A_202B_206A_200E_200D_200C_202B_206E_206F_206B_206A_202A_200E_206F_202D_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record UseTeleportTicket(uint ItemId, ushort Territory) : NavInstruction() + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _202D_200D_206F_202A_202D_206A_206E_200D_200F_206D_200D_200E_202D_200B_206E_202C_200F_202C_206E_206E_206B_200F_200D_200D_206B_200C_202D_206E_202B_206C_206E_200C_206A_206B_206A_206A_202E_206C_202D_200C_202E(typeof(UseTeleportTicket).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_202B_200C_206D_200B_202D_206D_202A_200B_206F_202E_206A_206A_200F_200C_206B_200F_206D_206F_206C_206F_202E_206F_206F_202A_206D_206F_206D_202B_206B_202A_206A_202E_202E_200E_202D_200D_206B_202C_200D_202E(); + _202E_200D_200F_200D_202E_202B_202B_200B_202E_202D_206C_202A_206D_200E_206F_206E_202B_202E_200B_200C_206F_206F_206E_206B_200E_202B_200B_200E_202E_206B_206E_200C_202E_200F_202D_202A_206B_202C_202E_200D_202E(stringBuilder, global::_003CModule_003E._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(606270569)); + _202E_200D_200F_200D_202E_202B_202B_200B_202E_202D_206C_202A_206D_200E_206F_206E_202B_202E_200B_200C_206F_206F_206E_206B_200E_202B_200B_200E_202E_206B_206E_200C_202E_200F_202D_202A_206B_202C_202E_200D_202E(stringBuilder, global::_003CModule_003E._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(-169322018)); + int num = ((!PrintMembers(stringBuilder)) ? 2026509155 : 2026509152); + while (true) + { + int num2 = num; + int num3 = 2026509154; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 2026509152; + break; + case 1: + _202D_200C_202E_206A_200E_206D_200B_206A_206B_202C_206E_202B_206C_200D_202C_200C_200D_200E_202B_202A_206E_202A_206B_200E_206F_206B_206E_206A_202C_202B_200F_206B_206A_200D_200F_206E_206A_202E_206B_200C_202E(stringBuilder, '}'); + return _202B_206C_202A_206D_202C_206A_200B_200E_202D_202B_206A_200C_206F_206C_206B_206D_206E_206E_202E_206F_200D_206A_200D_200D_206D_202A_206C_206D_202A_206F_206D_200D_202B_206E_202E_202B_206A_200E_202E_202D_202E((object)stringBuilder); + case 2: + _202D_200C_202E_206A_200E_206D_200B_206A_206B_202C_206E_202B_206C_200D_202C_200C_200D_200E_202B_202A_206E_202A_206B_200E_206F_206B_206E_206A_202C_202B_200F_206B_206A_200D_200F_206E_206A_202E_206B_200C_202E(stringBuilder, ' '); + num = 2026509155; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 1289841688 : 1289841689); + while (true) + { + int num2 = num; + int num3 = 1289841688; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 1289841689; + break; + case 1: + _202E_200D_200F_200D_202E_202B_202B_200B_202E_202D_206C_202A_206D_200E_206F_206E_202B_202E_200B_200C_206F_206F_206E_206B_200E_202B_200B_200E_202E_206B_206E_200C_202E_200F_202D_202A_206B_202C_202E_200D_202E(builder, global::_003CModule_003E._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(-1735617534)); + num = 1289841688; + break; + case 0: + _202E_200D_200F_200D_202E_202B_202B_200B_202E_202D_206C_202A_206D_200E_206F_206E_202B_202E_200B_200C_206F_206F_206E_206B_200E_202B_200B_200E_202E_206B_206E_200C_202E_200F_202D_202A_206B_202C_202E_200D_202E(builder, global::_003CModule_003E._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(825996996)); + _202E_200D_200F_200D_202E_202B_202B_200B_202E_202D_206C_202A_206D_200E_206F_206E_202B_202E_200B_200C_206F_206F_206E_206B_200E_202B_200B_200E_202E_206B_206E_200C_202E_200F_202D_202A_206B_202C_202E_200D_202E(builder, ItemId.ToString()); + _202E_200D_200F_200D_202E_202B_202B_200B_202E_202D_206C_202A_206D_200E_206F_206E_202B_202E_200B_200C_206F_206F_206E_206B_200E_202B_200B_200E_202E_206B_206E_200C_202E_200F_202D_202A_206B_202C_202E_200D_202E(builder, global::_003CModule_003E._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(1553900028)); + _202E_200D_200F_200D_202E_202B_202B_200B_202E_202D_206C_202A_206D_200E_206F_206E_202B_202E_200B_200C_206F_206F_206E_206B_200E_202B_200B_200E_202E_206B_206E_200C_202E_200F_202D_202A_206B_202C_202E_200D_202E(builder, Territory.ToString()); + return true; + } + } + } + + [CompilerGenerated] + public bool Equals(UseTeleportTicket? other) + { + int num = (((object)this == other) ? (-307246510) : (-307246506)); + while (true) + { + int num2 = num; + int num3 = -307246509; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = ((!EqualityComparer.Default.Equals(ItemId, other.ItemId)) ? (-307246505) : (-307246512)); + break; + case 3: + return EqualityComparer.Default.Equals(Territory, other.Territory); + case 1: + return true; + case 4: + return false; + case 5: + num = ((!base.Equals(other)) ? (-307246505) : (-307246509)); + break; + case 2: + num = -307246506; + break; + } + } + } + + bool IEquatable.Equals(UseTeleportTicket? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202D_200D_206F_202A_202D_206A_206E_200D_200F_206D_200D_200E_202D_200B_206E_202C_200F_202C_206E_206E_206B_200F_200D_200D_206B_200C_202D_206E_202B_206C_206E_200C_206A_206B_206A_206A_202E_206C_202D_200C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202A_202B_200C_206D_200B_202D_206D_202A_200B_206F_202E_206A_206A_200F_200C_206B_200F_206D_206F_206C_206F_202E_206F_206F_202A_206D_206F_206D_202B_206B_202A_206A_202E_202E_200E_202D_200D_206B_202C_200D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_200D_200F_200D_202E_202B_202B_200B_202E_202D_206C_202A_206D_200E_206F_206E_202B_202E_200B_200C_206F_206F_206E_206B_200E_202B_200B_200E_202E_206B_206E_200C_202E_200F_202D_202A_206B_202C_202E_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202D_200C_202E_206A_200E_206D_200B_206A_206B_202C_206E_202B_206C_200D_202C_200C_200D_200E_202B_202A_206E_202A_206B_200E_206F_206B_206E_206A_202C_202B_200F_206B_206A_200D_200F_206E_206A_202E_206B_200C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202B_206C_202A_206D_202C_206A_200B_200E_202D_202B_206A_200C_206F_206C_206B_206D_206E_206E_202E_206F_200D_206A_200D_200D_206D_202A_206C_206D_202A_206F_206D_200D_202B_206E_202E_202B_206A_200E_202E_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _200E_206F_206B_202D_200F_202E_202A_202B_206E_200F_206B_200F_206A_200C_200E_202E_200B_202D_206C_206E_202A_202B_202A_202B_206B_206B_200E_202B_200D_202A_206C_200F_206B_206F_206F_200F_206A_200C_200C_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record SubRegionTransport(Vector3 From, Vector3 To, ushort Territory) : NavInstruction() + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206F_202D_200F_200C_200E_206B_206B_202E_206F_202D_206E_206B_202D_202A_202E_200B_206A_202B_200E_200F_200C_206F_200B_206B_206D_202D_202E_200C_200F_200D_202B_202B_206D_200F_206E_200C_206C_206E_206C_206A_202E(typeof(SubRegionTransport).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206F_200B_202A_206F_200D_202C_202E_202D_202A_200E_202B_206C_200B_202A_206B_206D_206F_202C_202C_200D_200C_206D_202C_200C_200E_200E_206F_206A_202C_206F_202B_200B_206D_202A_206C_202A_202E_202D_202B_206C_202E(); + _206E_206F_202D_202E_202E_202C_200F_206F_206F_200D_200E_206D_200C_202C_206B_202B_200C_206C_200C_206D_200B_202B_206B_202B_206E_206C_206E_200B_202C_200F_202D_206C_200E_202C_202B_206C_200F_200E_200F_200F_202E(stringBuilder, global::_003CModule_003E._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(1176937111)); + _206E_206F_202D_202E_202E_202C_200F_206F_206F_200D_200E_206D_200C_202C_206B_202B_200C_206C_200C_206D_200B_202B_206B_202B_206E_206C_206E_200B_202C_200F_202D_206C_200E_202C_202B_206C_200F_200E_200F_200F_202E(stringBuilder, global::_003CModule_003E._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(-979564187)); + int num = ((!PrintMembers(stringBuilder)) ? 281305733 : 281305732); + while (true) + { + int num2 = num; + int num3 = 281305733; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 281305732; + break; + case 0: + _202A_206F_200E_202B_200E_200E_206F_202E_202D_200F_206C_202B_202D_202D_206D_202E_202D_206A_202A_202A_200E_200B_202D_206D_206E_206A_200B_206B_202C_200B_200E_206D_202A_202B_206F_200B_202C_200E_200C_200C_202E(stringBuilder, '}'); + return _200E_206C_202E_200C_200D_206A_200C_206F_200D_206A_206A_206D_200C_200E_202C_200C_202E_206F_206C_206B_200E_202B_202D_202A_202C_206C_206B_206A_202E_206E_202B_202A_206B_206B_200C_202D_202B_200D_206A_200D_202E((object)stringBuilder); + case 1: + _202A_206F_200E_202B_200E_200E_206F_202E_202D_200F_206C_202B_202D_202D_206D_202E_202D_206A_202A_202A_200E_200B_202D_206D_206E_206A_200B_206B_202C_200B_200E_206D_202A_202B_206F_200B_202C_200E_200C_200C_202E(stringBuilder, ' '); + num = 281305733; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? (-47435612) : (-47435609)); + while (true) + { + int num2 = num; + int num3 = -47435611; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + _206E_206F_202D_202E_202E_202C_200F_206F_206F_200D_200E_206D_200C_202C_206B_202B_200C_206C_200C_206D_200B_202B_206B_202B_206E_206C_206E_200B_202C_200F_202D_206C_200E_202C_202B_206C_200F_200E_200F_200F_202E(builder, global::_003CModule_003E._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(583039296)); + _206E_206F_202D_202E_202E_202C_200F_206F_206F_200D_200E_206D_200C_202C_206B_202B_200C_206C_200C_206D_200B_202B_206B_202B_206E_206C_206E_200B_202C_200F_202D_206C_200E_202C_202B_206C_200F_200E_200F_200F_202E(builder, From.ToString()); + _206E_206F_202D_202E_202E_202C_200F_206F_206F_200D_200E_206D_200C_202C_206B_202B_200C_206C_200C_206D_200B_202B_206B_202B_206E_206C_206E_200B_202C_200F_202D_206C_200E_202C_202B_206C_200F_200E_200F_200F_202E(builder, global::_003CModule_003E._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(-1504115831)); + _206E_206F_202D_202E_202E_202C_200F_206F_206F_200D_200E_206D_200C_202C_206B_202B_200C_206C_200C_206D_200B_202B_206B_202B_206E_206C_206E_200B_202C_200F_202D_206C_200E_202C_202B_206C_200F_200E_200F_200F_202E(builder, To.ToString()); + _206E_206F_202D_202E_202E_202C_200F_206F_206F_200D_200E_206D_200C_202C_206B_202B_200C_206C_200C_206D_200B_202B_206B_202B_206E_206C_206E_200B_202C_200F_202D_206C_200E_202C_202B_206C_200F_200E_200F_200F_202E(builder, global::_003CModule_003E._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(424038719)); + _206E_206F_202D_202E_202E_202C_200F_206F_206F_200D_200E_206D_200C_202C_206B_202B_200C_206C_200C_206D_200B_202B_206B_202B_206E_206C_206E_200B_202C_200F_202D_206C_200E_202C_202B_206C_200F_200E_200F_200F_202E(builder, Territory.ToString()); + return true; + case 2: + _206E_206F_202D_202E_202E_202C_200F_206F_206F_200D_200E_206D_200C_202C_206B_202B_200C_206C_200C_206D_200B_202B_206B_202B_206E_206C_206E_200B_202C_200F_202D_206C_200E_202C_202B_206C_200F_200E_200F_200F_202E(builder, global::_003CModule_003E._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(-1735617534)); + num = -47435612; + break; + case 0: + num = -47435609; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(SubRegionTransport? other) + { + int num = (((object)this == other) ? (-1244234066) : (-1244234072)); + while (true) + { + int num2 = num; + int num3 = -1244234067; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1244234072; + break; + case 4: + num = ((!EqualityComparer.Default.Equals(From, other.From)) ? (-1244234069) : (-1244234065)); + break; + case 2: + num = ((!EqualityComparer.Default.Equals(To, other.To)) ? (-1244234069) : (-1244234068)); + break; + case 5: + num = ((!base.Equals(other)) ? (-1244234069) : (-1244234071)); + break; + case 1: + return EqualityComparer.Default.Equals(Territory, other.Territory); + case 3: + return true; + case 6: + return false; + } + } + } + + bool IEquatable.Equals(SubRegionTransport? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206F_202D_200F_200C_200E_206B_206B_202E_206F_202D_206E_206B_202D_202A_202E_200B_206A_202B_200E_200F_200C_206F_200B_206B_206D_202D_202E_200C_200F_200D_202B_202B_206D_200F_206E_200C_206C_206E_206C_206A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206F_200B_202A_206F_200D_202C_202E_202D_202A_200E_202B_206C_200B_202A_206B_206D_206F_202C_202C_200D_200C_206D_202C_200C_200E_200E_206F_206A_202C_206F_202B_200B_206D_202A_206C_202A_202E_202D_202B_206C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206E_206F_202D_202E_202E_202C_200F_206F_206F_200D_200E_206D_200C_202C_206B_202B_200C_206C_200C_206D_200B_202B_206B_202B_206E_206C_206E_200B_202C_200F_202D_206C_200E_202C_202B_206C_200F_200E_200F_200F_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202A_206F_200E_202B_200E_200E_206F_202E_202D_200F_206C_202B_202D_202D_206D_202E_202D_206A_202A_202A_200E_200B_202D_206D_206E_206A_200B_206B_202C_200B_200E_206D_202A_202B_206F_200B_202C_200E_200C_200C_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200E_206C_202E_200C_200D_206A_200C_206F_200D_206A_206A_206D_200C_200E_202C_200C_202E_206F_206C_206B_200E_202B_202D_202A_202C_206C_206B_206A_202E_206E_202B_202A_206B_206B_200C_202D_202B_200D_206A_200D_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _206D_200E_206C_200C_202E_200D_202A_202B_200D_202A_200C_206A_202D_202A_202D_206E_202E_200C_206D_206C_200B_206B_200F_206C_200F_202A_202A_200F_206B_200E_206C_202B_206C_202D_206F_200E_202B_206A_202E_206B_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + protected virtual Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_202C_200D_202D_200D_206A_202E_206E_206B_202A_202A_202B_200B_200C_202C_206C_200B_206E_206C_206F_206D_206A_200C_200D_202A_206E_200F_202A_202A_202E_206C_206D_206D_202C_206D_200D_202E_206B_206E_202D_202E(typeof(NavInstruction).TypeHandle); + } + } + + private NavInstruction() + { + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200B_206B_206F_202B_206B_202D_206D_206D_206E_206E_206F_202B_206A_206E_206B_200F_202D_200F_206B_200C_202A_200B_200D_206D_206D_206D_206B_200D_202C_200B_206A_202C_200E_200E_200F_206C_200D_206C_200E_206C_202E(); + _202E_200F_206F_202D_200C_206A_206C_200D_202C_202C_206B_202C_200C_206F_206C_206D_206B_202D_200E_202E_206A_202E_202C_200E_200F_200D_202C_206A_202E_206D_202D_206F_202A_206B_206D_202D_200E_206C_206D_206B_202E(stringBuilder, global::_003CModule_003E._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(983817871)); + _202E_200F_206F_202D_200C_206A_206C_200D_202C_202C_206B_202C_200C_206F_206C_206D_206B_202D_200E_202E_206A_202E_202C_200E_200F_200D_202C_206A_202E_206D_202D_206F_202A_206B_206D_202D_200E_206C_206D_206B_202E(stringBuilder, global::_003CModule_003E._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(1120247710)); + int num = ((!PrintMembers(stringBuilder)) ? (-354215280) : (-354215279)); + while (true) + { + int num2 = num; + int num3 = -354215280; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _202B_202A_200B_206C_200B_202E_202C_202C_202B_202C_206B_206E_202B_200B_206E_200C_200D_206F_200E_200F_200C_202C_206A_202B_200E_206D_200F_202B_200C_206C_206C_206D_200B_206B_200E_202B_200C_206E_206E_206E_202E(stringBuilder, '}'); + return _202D_206C_206B_206A_202C_206F_200C_206D_202E_202E_206A_202E_202D_206F_202E_202B_202A_206F_200D_202A_202C_202B_202B_202A_206B_206F_200F_206F_206D_200C_206D_206B_206E_206C_206C_202D_206D_200D_200E_200E_202E((object)stringBuilder); + case 1: + _202B_202A_200B_206C_200B_202E_202C_202C_202B_202C_206B_206E_202B_200B_206E_200C_200D_206F_200E_200F_200C_202C_206A_202B_200E_206D_200F_202B_200C_206C_206C_206D_200B_206B_200E_202B_200C_206E_206E_206E_202E(stringBuilder, ' '); + num = -354215280; + break; + case 2: + num = -354215279; + break; + } + } + } + + [CompilerGenerated] + public virtual bool Equals(NavInstruction? other) + { + int num = (((object)this == other) ? 1638669967 : 1638669964); + while (true) + { + int num2 = num; + int num3 = 1638669967; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 4: + num = 1638669964; + break; + case 1: + return _202C_206E_206C_202D_206C_200B_206B_202C_200B_200C_206B_200E_206E_202B_202C_200C_206E_206F_200B_200D_200C_202B_202A_202E_200B_206B_202E_200C_206A_206D_202E_206E_206E_202A_206E_200C_206E_206C_202B_206D_202E(EqualityContract, other.EqualityContract); + case 2: + return false; + case 0: + return true; + case 3: + num = (((object)other == null) ? 1638669965 : 1638669966); + break; + } + } + } + + bool IEquatable.Equals(NavInstruction? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_202C_200D_202D_200D_206A_202E_206E_206B_202A_202A_202B_200B_200C_202C_206C_200B_206E_206C_206F_206D_206A_200C_200D_202A_206E_200F_202A_202A_202E_206C_206D_206D_202C_206D_200D_202E_206B_206E_202D_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200B_206B_206F_202B_206B_202D_206D_206D_206E_206E_206F_202B_206A_206E_206B_200F_202D_200F_206B_200C_202A_200B_200D_206D_206D_206D_206B_200D_202C_200B_206A_202C_200E_200E_200F_206C_200D_206C_200E_206C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_200F_206F_202D_200C_206A_206C_200D_202C_202C_206B_202C_200C_206F_206C_206D_206B_202D_200E_202E_206A_202E_202C_200E_200F_200D_202C_206A_202E_206D_202D_206F_202A_206B_206D_202D_200E_206C_206D_206B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202B_202A_200B_206C_200B_202E_202C_202C_202B_202C_206B_206E_202B_200B_206E_200C_200D_206F_200E_200F_200C_202C_206A_202B_200E_206D_200F_202B_200C_206C_206C_206D_200B_206B_200E_202B_200C_206E_206E_206E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202D_206C_206B_206A_202C_206F_200C_206D_202E_202E_206A_202E_202D_206F_202E_202B_202A_206F_200D_202A_202C_202B_202B_202A_206B_206F_200F_206F_206D_200C_206D_206B_206E_206C_206C_202D_206D_200D_200E_200E_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _202C_206E_206C_202D_206C_200B_206B_202C_200B_200C_206B_200E_206E_202B_202C_200C_206E_206F_200B_200D_200C_202B_202A_202E_200B_206B_202E_200C_206A_206D_202E_206E_206E_202A_206E_200C_206E_206C_202B_206D_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/SmartNav/SmartNav/NavRouter.cs b/SmartNav/SmartNav/NavRouter.cs new file mode 100644 index 00000000..3182fe51 --- /dev/null +++ b/SmartNav/SmartNav/NavRouter.cs @@ -0,0 +1,743 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Text; +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); + int num2 = ((num == 0) ? (-471116150) : (-471116149)); + int num6 = default(int); + while (true) + { + int num3 = num2; + int num4 = -471116152; + int num5 = num3; + switch ((num5 | num4) - (num5 & num4)) + { + case 0: + num2 = -471116149; + break; + case 1: + return Hops.CompareTo(other.Hops); + case 3: + return num; + case 4: + return num6; + case 2: + num6 = Gil.CompareTo(other.Gil); + num2 = ((num6 == 0) ? (-471116151) : (-471116148)); + break; + } + } + } + + int IComparable.CompareTo(RouteCost other) + { + //ILSpy generated this explicit interface implementation from .override directive in CompareTo + return this.CompareTo(other); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202B_206A_200B_202B_202E_200C_202A_206A_202D_202A_202E_206F_206D_200E_206F_200B_202A_200B_206E_202D_202E_206A_200B_206E_202B_206F_202A_202C_206C_206D_206C_200B_200F_202C_202E_206A_200E_206A_202B_206C_202E(); + _202E_206D_206C_202B_200B_202C_206C_202C_206A_202B_202B_206B_200F_202E_202D_206A_202C_202A_206F_206D_202E_202E_206A_200D_202C_202A_206F_202A_200F_202C_206F_202C_206D_202B_200E_200E_200C_206E_202A_200D_202E(stringBuilder, global::_003CModule_003E._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(1818956806)); + _202E_206D_206C_202B_200B_202C_206C_202C_206A_202B_202B_206B_200F_202E_202D_206A_202C_202A_206F_206D_202E_202E_206A_200D_202C_202A_206F_202A_200F_202C_206F_202C_206D_202B_200E_200E_200C_206E_202A_200D_202E(stringBuilder, global::_003CModule_003E._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(-169322018)); + int num = ((!PrintMembers(stringBuilder)) ? 1574210164 : 1574210167); + while (true) + { + int num2 = num; + int num3 = 1574210166; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _202E_206C_200F_206A_200C_202C_200B_200E_206F_202D_206C_202A_206B_206C_202B_202B_200F_206C_200C_206F_200C_200D_202E_202E_206F_202C_200D_202B_202E_206C_206C_206B_206C_202A_200D_206A_206C_202A_206A_206A_202E(stringBuilder, '}'); + return _202D_202E_206C_200F_202B_200B_206E_200C_202D_206F_202D_200D_202C_200E_202E_202B_206E_206A_200D_206D_206C_200D_200B_202B_206B_202D_202C_200D_202A_200F_206A_202A_200C_200D_200F_200C_202B_206A_202A_202B_202E((object)stringBuilder); + case 1: + _202E_206C_200F_206A_200C_202C_200B_200E_206F_202D_206C_202A_206B_206C_202B_202B_200F_206C_200C_206F_200C_200D_202E_202E_206F_202C_200D_202B_202E_206C_206C_206B_206C_202A_200D_206A_206C_202A_206A_206A_202E(stringBuilder, ' '); + num = 1574210164; + break; + case 0: + num = 1574210167; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_206D_206C_202B_200B_202C_206C_202C_206A_202B_202B_206B_200F_202E_202D_206A_202C_202A_206F_206D_202E_202E_206A_200D_202C_202A_206F_202A_200F_202C_206F_202C_206D_202B_200E_200E_200C_206E_202A_200D_202E(builder, global::_003CModule_003E._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(193985830)); + _202E_206D_206C_202B_200B_202C_206C_202C_206A_202B_202B_206B_200F_202E_202D_206A_202C_202A_206F_206D_202E_202E_206A_200D_202C_202A_206F_202A_200F_202C_206F_202C_206D_202B_200E_200E_200C_206E_202A_200D_202E(builder, Time.ToString()); + _202E_206D_206C_202B_200B_202C_206C_202C_206A_202B_202B_206B_200F_202E_202D_206A_202C_202A_206F_206D_202E_202E_206A_200D_202C_202A_206F_202A_200F_202C_206F_202C_206D_202B_200E_200E_200C_206E_202A_200D_202E(builder, global::_003CModule_003E._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(-143137433)); + _202E_206D_206C_202B_200B_202C_206C_202C_206A_202B_202B_206B_200F_202E_202D_206A_202C_202A_206F_206D_202E_202E_206A_200D_202C_202A_206F_202A_200F_202C_206F_202C_206D_202B_200E_200E_200C_206E_202A_200D_202E(builder, Gil.ToString()); + _202E_206D_206C_202B_200B_202C_206C_202C_206A_202B_202B_206B_200F_202E_202D_206A_202C_202A_206F_206D_202E_202E_206A_200D_202C_202A_206F_202A_200F_202C_206F_202C_206D_202B_200E_200E_200C_206E_202A_200D_202E(builder, global::_003CModule_003E._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(-304888681)); + _202E_206D_206C_202B_200B_202C_206C_202C_206A_202B_202B_206B_200F_202E_202D_206A_202C_202A_206F_206D_202E_202E_206A_200D_202C_202A_206F_202A_200F_202C_206F_202C_206D_202B_200E_200E_200C_206E_202A_200D_202E(builder, Hops.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(RouteCost other) + { + int num = ((!EqualityComparer.Default.Equals(Time, other.Time)) ? (-631091536) : (-631091534)); + while (true) + { + int num2 = num; + int num3 = -631091536; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + num = -631091534; + break; + case 1: + return EqualityComparer.Default.Equals(Hops, other.Hops); + case 2: + num = ((!EqualityComparer.Default.Equals(Gil, other.Gil)) ? (-631091536) : (-631091535)); + break; + case 0: + return false; + } + } + } + + bool IEquatable.Equals(RouteCost other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static StringBuilder _202B_206A_200B_202B_202E_200C_202A_206A_202D_202A_202E_206F_206D_200E_206F_200B_202A_200B_206E_202D_202E_206A_200B_206E_202B_206F_202A_202C_206C_206D_206C_200B_200F_202C_202E_206A_200E_206A_202B_206C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202E_206D_206C_202B_200B_202C_206C_202C_206A_202B_202B_206B_200F_202E_202D_206A_202C_202A_206F_206D_202E_202E_206A_200D_202C_202A_206F_202A_200F_202C_206F_202C_206D_202B_200E_200E_200C_206E_202A_200D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202E_206C_200F_206A_200C_202C_200B_200E_206F_202D_206C_202A_206B_206C_202B_202B_200F_206C_200C_206F_200C_200D_202E_202E_206F_202C_200D_202B_202E_206C_206C_206B_206C_202A_200D_206A_206C_202A_206A_206A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202D_202E_206C_200F_202B_200B_206E_200C_202D_206F_202D_200D_202C_200E_202E_202B_206E_206A_200D_206D_206C_200D_200B_202B_206B_202D_202C_200D_202A_200F_206A_202A_200C_200D_200F_200C_202B_206A_202A_202B_202E(object P_0) + { + return P_0.ToString(); + } + } + + 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); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public RouteResult FindRoute(PlayerNavState playerState, uint destinationTerritoryId, Vector3 destinationPosition, IReadOnlySet? penalizedTargets = null) + { + (NavGraph EffectiveGraph, string OriginId, string DestinationId) tuple = _graphView.CreateQueryGraph(StaticGraph, playerState, destinationTerritoryId, destinationPosition); + NavGraph item = tuple.EffectiveGraph; + string item2 = tuple.OriginId; + string item3 = tuple.DestinationId; + int num = ((item.GetNode(item2) == null) ? (-322814782) : (-322814778)); + List<(string, NavEdge)> list = default(List<(string, NavEdge)>); + while (true) + { + int num2 = num; + int num3 = -322814777; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + _202C_200E_200B_200F_200E_202A_200F_206E_206E_206E_200E_202B_202A_200B_202E_200E_206A_206E_200D_200B_200C_202C_202C_202A_202E_200D_200F_200F_206C_200B_206A_202B_200B_206A_200E_200E_206A_202A_202A_206E_202E((ILogger)_logger, global::_003CModule_003E._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(599235747), new object[2] { item2, destinationTerritoryId }); + return RouteResult.Empty; + case 3: + list = Dijkstra(item, item2, item3, penalizedTargets); + num = ((list != null) ? (-322814781) : (-322814777)); + break; + case 5: + _202C_200E_200B_200F_200E_202A_200F_206E_206E_206E_200E_202B_202A_200B_202E_200E_206A_206E_200D_200B_200C_202C_202C_202A_202E_200D_200F_200F_206C_200B_206A_202B_200B_206A_200E_200E_206A_202A_202A_206E_202E((ILogger)_logger, global::_003CModule_003E._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(310385065), Array.Empty()); + return RouteResult.Empty; + case 1: + num = ((!(item.GetNode(item3) == null)) ? (-322814780) : (-322814782)); + break; + case 4: + return BuildRouteResult(item, list, playerState); + case 2: + num = -322814778; + break; + } + } + } + + 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)); + IEnumerator enumerator = graph.Nodes.Keys.GetEnumerator(); + try + { + int num = 1145583331; + string current = default(string); + while (true) + { + int num2 = num; + int num3 = 1145583330; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 5: + dictionary2[current] = null; + num = 1145583331; + break; + case 3: + dictionary[current] = RouteCost.Max; + num = 1145583335; + break; + case 4: + current = enumerator.Current; + num = ((!_206C_206C_206F_202B_206E_202D_206B_200C_202E_202A_202B_206E_200D_206A_200D_202C_202A_206E_206A_206F_200C_200B_206F_202A_202C_206F_206D_202D_206D_200C_206E_206C_206F_200E_202A_202B_206C_206D_202D_206A_202E(current, startId)) ? 1145583335 : 1145583329); + break; + case 0: + num = 1145583331; + break; + case 1: + num = (_202E_202B_206E_206A_202D_206A_206D_202D_206B_206E_200E_202C_206E_202D_206B_202C_206D_202A_200B_206F_206E_200D_206E_200D_202C_200C_202D_206B_206E_200D_206B_200E_206C_200F_202B_200B_202B_200B_200D_206B_202E((IEnumerator)enumerator) ? 1145583334 : 1145583328); + break; + case 2: + goto end_IL_0058; + } + continue; + end_IL_0058: + break; + } + } + finally + { + int num = ((enumerator == null) ? (-807240815) : (-807240814)); + while (true) + { + int num7 = num; + int num3 = -807240816; + int num4 = num7; + int num8 = num4 + num3; + int num9 = num4 & num3; + switch (num8 - (num9 + num9)) + { + case 0: + num = -807240814; + break; + case 1: + goto end_IL_014b; + case 2: + _206C_206D_206D_200F_206D_202B_202A_206A_200D_206D_206E_202B_206C_202C_202C_200C_206F_200F_202B_200B_200E_206A_202B_206F_206A_202D_200F_200F_206A_202E_200E_202B_200C_206F_200B_206E_200C_202E_206A_206F_202E((IDisposable)enumerator); + num = -807240815; + break; + } + continue; + end_IL_014b: + break; + } + } + NavEdge current2 = default(NavEdge); + RouteCost routeCost = default(RouteCost); + List<(string, NavEdge)> list = default(List<(string, NavEdge)>); + (string, NavEdge)? tuple = default((string, NavEdge)?); + string text2 = default(string); + (string, NavEdge)? value = default((string, NavEdge)?); + while (true) + { + int num; + if (priorityQueue.Count > 0) + { + string text = priorityQueue.Dequeue(); + if (!_202C_200F_206E_202A_200E_206D_206B_202E_200D_200B_202A_202A_206A_200F_202A_206F_202C_206C_200E_206D_202E_202A_200B_202C_202D_206A_206E_202E_200F_206B_202B_200E_206A_206D_202C_202B_200C_202E_206E_202E(text, endId)) + { + num = -1852685480; + while (true) + { + int num10 = num; + int num3 = -1852685479; + int num4 = num10; + int num11 = num4 + num3; + int num12 = num4 & num3; + switch (num11 - (num12 + num12)) + { + default: + continue; + case 0: + num = -1852685480; + continue; + case 1: + if (hashSet.Add(text)) + { + num = -1852685477; + continue; + } + break; + case 2: + { + IEnumerator enumerator2 = graph.GetEdges(text).GetEnumerator(); + try + { + num = -890864952; + while (true) + { + int num13 = num; + num3 = -890864947; + num4 = num13; + float num14; + switch ((num4 | num3) - (num4 & num3)) + { + default: + continue; + case 9: + num = -890864952; + continue; + case 2: + num14 = 0f; + break; + case 1: + num = (penalizedTargets.Contains(current2.ToNodeId) ? (-890864946) : (-890864945)); + continue; + case 8: + current2 = enumerator2.Current; + num = (hashSet.Contains(current2.ToNodeId) ? (-890864952) : (-890864950)); + continue; + case 4: + dictionary[current2.ToNodeId] = routeCost; + dictionary2[current2.ToNodeId] = (text, current2); + priorityQueue.Enqueue(current2.ToNodeId, routeCost); + num = -890864952; + continue; + case 7: + num = ((graph.GetNode(current2.ToNodeId) == null) ? (-890864952) : (-890864947)); + continue; + case 0: + num = ((penalizedTargets == null) ? (-890864945) : (-890864948)); + continue; + case 5: + num = (_202E_202B_206E_206A_202D_206A_206D_202D_206B_206E_200E_202C_206E_202D_206B_202C_206D_202A_200B_206F_206E_200D_206E_200D_202C_200C_202D_206B_206E_200D_206B_200E_206C_200F_202B_200B_202B_200B_200D_206B_202E((IEnumerator)enumerator2) ? (-890864955) : (-890864949)); + continue; + case 3: + num14 = 1000000f; + break; + case 6: + goto end_IL_0228; + } + float penalty = num14; + routeCost = dictionary[text].Add(current2, penalty); + num = ((routeCost.CompareTo(dictionary[current2.ToNodeId]) >= 0) ? (-890864952) : (-890864951)); + continue; + end_IL_0228: + break; + } + } + finally + { + num = ((enumerator2 == null) ? (-1559785427) : (-1559785428)); + while (true) + { + int num15 = num; + num3 = -1559785427; + num4 = num15; + int num16 = num4 + num3; + int num17 = num4 & num3; + switch (num16 - (num17 + num17)) + { + case 0: + goto end_IL_041a; + case 1: + _206C_206D_206D_200F_206D_202B_202A_206A_200D_206D_206E_202B_206C_202C_202C_200C_206F_200F_202B_200B_200E_206A_202B_206F_206A_202D_200F_200F_206A_202E_200E_202B_200C_206F_200B_206E_200C_202E_206A_206F_202E((IDisposable)enumerator2); + num = -1559785427; + break; + case 2: + num = -1559785428; + break; + } + continue; + end_IL_041a: + break; + } + } + break; + } + } + break; + } + continue; + } + goto IL_055e; + } + num = 1361377681; + goto IL_0480; + IL_055e: + num = ((!(dictionary[endId] == RouteCost.Max)) ? 1361377683 : 1361377691); + goto IL_0480; + IL_0480: + while (true) + { + int num18 = num; + int num3 = 1361377682; + int num4 = num18; + int num19 = num4 + num3; + int num20 = num4 & num3; + object obj2; + (string, NavEdge)? obj; + switch (num19 - (num20 + num20)) + { + default: + continue; + case 10: + list.Reverse(); + return list; + case 6: + obj2 = tuple.GetValueOrDefault().Item1; + goto IL_04e4; + case 1: + list = new List<(string, NavEdge)>(); + text2 = endId; + num = 1361377690; + continue; + case 4: + obj = value; + goto IL_050a; + case 9: + return null; + case 3: + break; + case 5: + num = (dictionary2.TryGetValue(text2, out value) ? 1361377686 : 1361377680); + continue; + case 8: + num = ((text2 != null) ? 1361377687 : 1361377688); + continue; + case 7: + obj2 = null; + goto IL_04e4; + case 2: + obj = null; + goto IL_050a; + case 0: + { + num = 1361377681; + continue; + } + IL_04e4: + text2 = (string)obj2; + num = 1361377690; + continue; + IL_050a: + tuple = obj; + list.Add((text2, tuple?.Item2)); + num = (tuple.HasValue ? 1361377684 : 1361377685); + continue; + } + break; + } + goto IL_055e; + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private RouteResult BuildRouteResult(NavGraph graph, List<(string NodeId, NavEdge? ViaEdge)> path, PlayerNavState playerState) + { + List list = new List(); + float num = 0f; + int num2 = 0; + int num3 = 1; + int num4 = -1379840966; + NavNode node = default(NavNode); + NavEdge item2 = default(NavEdge); + NavNode node2 = default(NavNode); + NavEdgeType edgeType = default(NavEdgeType); + bool flag2 = default(bool); + int num11 = default(int); + while (true) + { + int num5 = num4; + int num6 = -1379840964; + int num7 = num5; + int num8 = num7 + num6; + int num9 = num7 & num6; + switch (num8 - (num9 + num9)) + { + case 13: + node = graph.GetNode(item2.FromNodeId); + node2 = graph.GetNode(item2.ToNodeId); + edgeType = item2.EdgeType; + num4 = ((edgeType == NavEdgeType.WithinZone) ? (-1379840963) : (-1379840964)); + break; + case 8: + { + bool flag = flag2; + RouteSegment item = new RouteSegment(item2.EdgeType, node, node2, item2.TimeCostSeconds, item2.GilCost, GetTeleportTarget(node2), GetAethernetLocation(node), GetAethernetLocation(node2), flag && IsFlyingSegment(node, playerState)); + list.Add(item); + num += item2.TimeCostSeconds; + num2 += item2.GilCost; + num4 = -1379840962; + break; + } + case 11: + num4 = -1379840966; + break; + case 3: + return new RouteResult(list, num, num2); + case 4: + flag2 = false; + num4 = -1379840972; + break; + case 9: + num11 = 0; + num4 = -1379840976; + break; + case 7: + { + RouteSegment routeSegment = list[num11]; + string text = FormatNodeLabel(routeSegment.From); + string text2 = FormatNodeLabel(routeSegment.To); + ILogger logger = _logger; + string text3 = global::_003CModule_003E._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(-1568494376); + object[] array = new object[6]; + int num12 = num11; + num6 = 1; + num7 = num12; + array[0] = (num7 | num6) + (num7 & num6); + array[1] = routeSegment.EdgeType; + array[2] = text; + array[3] = text2; + array[4] = routeSegment.TimeCost; + array[5] = routeSegment.GilCost; + _206E_200F_202A_200D_206F_206C_200E_200F_206A_202B_202D_202A_202A_206D_200D_202D_200B_200F_202B_206A_206E_202A_202E_206F_202E_202A_200D_206A_202D_200F_206D_206E_200D_202E_202B_206C_206D_202D_202A_202E((ILogger)logger, text3, array); + int num13 = num11; + num6 = 1; + num7 = num13; + int num14 = num7 ^ num6; + int num15 = num7 & num6; + num11 = num14 + (num15 + num15); + num4 = -1379840976; + break; + } + case 0: + num4 = (((uint)(edgeType - 3) > 1u) ? (-1379840968) : (-1379840963)); + break; + case 12: + num4 = ((num11 < list.Count) ? (-1379840965) : (-1379840961)); + break; + case 5: + _206E_200F_202A_200D_206F_206C_200E_200F_206A_202B_202D_202A_202A_206D_200D_202D_200B_200F_202B_206A_206E_202A_202E_206F_202E_202A_200D_206A_202D_200F_206D_206E_200D_202E_202B_206C_206D_202D_202A_202E((ILogger)_logger, global::_003CModule_003E._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(-876283160), new object[3] { list.Count, num, num2 }); + num4 = ((!_206E_202B_202B_206F_200C_200D_206E_202D_202C_206E_206B_200D_206F_202C_200D_206A_200F_206D_202D_200B_200E_206F_202C_200B_200B_206D_200D_202A_206D_206E_206A_202C_202A_200F_200D_202D_200C_206A_202B_200E_202E((ILogger)_logger, LogLevel.Debug)) ? (-1379840961) : (-1379840971)); + break; + case 10: + item2 = path[num3].ViaEdge; + num4 = ((item2 == null) ? (-1379840962) : (-1379840975)); + break; + case 2: + { + int num10 = num3; + num6 = 1; + num7 = num10; + num3 = (num7 | num6) + (num7 & num6); + num4 = -1379840966; + break; + } + case 1: + flag2 = true; + num4 = -1379840972; + break; + case 6: + num4 = ((num3 < path.Count) ? (-1379840970) : (-1379840967)); + break; + } + } + } + + private static EAetheryteLocation? GetTeleportTarget(NavNode node) + { + NavNode.AetheryteNode aetheryteNode = node as NavNode.AetheryteNode; + int num = (((object)aetheryteNode == null) ? 580580720 : 580580722); + EAetheryteLocation? result = default(EAetheryteLocation?); + while (true) + { + int num2 = num; + int num3 = 580580721; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = 580580722; + break; + case 1: + result = null; + num = 580580723; + break; + case 3: + result = aetheryteNode.Aetheryte; + num = 580580723; + break; + case 2: + return result; + } + } + } + + private static EAetheryteLocation? GetAethernetLocation(NavNode node) + { + NavNode.AetheryteNode aetheryteNode = node as NavNode.AetheryteNode; + int num = (((object)aetheryteNode != null) ? (-1554241774) : (-1554241770)); + EAetheryteLocation? result = default(EAetheryteLocation?); + NavNode.AethernetNode aethernetNode = default(NavNode.AethernetNode); + while (true) + { + int num2 = num; + int num3 = -1554241772; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 6: + result = aetheryteNode.Aetheryte; + num = -1554241776; + break; + case 4: + return result; + case 2: + aethernetNode = node as NavNode.AethernetNode; + num = (((object)aethernetNode != null) ? (-1554241769) : (-1554241771)); + break; + case 5: + result = null; + num = -1554241776; + break; + case 0: + num = -1554241770; + break; + case 3: + result = aethernetNode.Aethernet; + num = -1554241776; + break; + case 1: + num = -1554241775; + break; + } + } + } + + private static bool IsFlyingSegment(NavNode from, PlayerNavState playerState) + { + return playerState.IsFlyingUnlocked(from.TerritoryId); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private string FormatNodeLabel(NavNode node) + { + string text = _territoryInfo.GetName(node.TerritoryId); + if (text == null) + { + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 1); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-907107096)); + defaultInterpolatedStringHandler.AppendFormatted(node.TerritoryId); + text = defaultInterpolatedStringHandler.ToStringAndClear(); + } + string text2 = text; + return _206C_206A_200F_202B_202D_206B_206D_206A_206E_206E_200E_200B_206D_206B_206A_206E_202B_206F_200E_202A_200F_202C_200E_202E_202D_200D_200B_200D_200C_206A_200F_206A_206F_200F_200C_206D_200D_200B_202D_202A_202E(node.Label, global::_003CModule_003E._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(-546241467), text2, global::_003CModule_003E._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(998949340)); + } + + static void _202C_200E_200B_200F_200E_202A_200F_206E_206E_206E_200E_202B_202A_200B_202E_200E_206A_206E_200D_200B_200C_202C_202C_202A_202E_200D_200F_200F_206C_200B_206A_202B_200B_206A_200E_200E_206A_202A_202A_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static bool _206C_206C_206F_202B_206E_202D_206B_200C_202E_202A_202B_206E_200D_206A_200D_202C_202A_206E_206A_206F_200C_200B_206F_202A_202C_206F_206D_202D_206D_200C_206E_206C_206F_200E_202A_202B_206C_206D_202D_206A_202E(string P_0, string P_1) + { + return P_0 != P_1; + } + + static bool _202E_202B_206E_206A_202D_206A_206D_202D_206B_206E_200E_202C_206E_202D_206B_202C_206D_202A_200B_206F_206E_200D_206E_200D_202C_200C_202D_206B_206E_200D_206B_200E_206C_200F_202B_200B_202B_200B_200D_206B_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _206C_206D_206D_200F_206D_202B_202A_206A_200D_206D_206E_202B_206C_202C_202C_200C_206F_200F_202B_200B_200E_206A_202B_206F_206A_202D_200F_200F_206A_202E_200E_202B_200C_206F_200B_206E_200C_202E_206A_206F_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _202C_200F_206E_202A_200E_206D_206B_202E_200D_200B_202A_202A_206A_200F_202A_206F_202C_206C_200E_206D_202E_202A_200B_202C_202D_206A_206E_202E_200F_206B_202B_200E_206A_206D_202C_202B_200C_202E_206E_202E(string P_0, string P_1) + { + return P_0 == P_1; + } + + static void _206E_200F_202A_200D_206F_206C_200E_200F_206A_202B_202D_202A_202A_206D_200D_202D_200B_200F_202B_206A_206E_202A_202E_206F_202E_202A_200D_206A_202D_200F_206D_206E_200D_202E_202B_206C_206D_202D_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _206E_202B_202B_206F_200C_200D_206E_202D_202C_206E_206B_200D_206F_202C_200D_206A_200F_206D_202D_200B_200E_206F_202C_200B_200B_206D_200D_202A_206D_206E_206A_202C_202A_200F_200D_202D_200C_206A_202B_200E_202E(ILogger P_0, LogLevel P_1) + { + return P_0.IsEnabled(P_1); + } + + static string _206C_206A_200F_202B_202D_206B_206D_206A_206E_206E_200E_200B_206D_206B_206A_206E_202B_206F_200E_202A_200F_202C_200E_202E_202D_200D_200B_200D_200C_206A_200F_206A_206F_200F_200C_206D_200D_200B_202D_202A_202E(string P_0, string P_1, string P_2, string P_3) + { + return P_0 + P_1 + P_2 + P_3; + } +} diff --git a/SmartNav/SmartNav/PlayerNavState.cs b/SmartNav/SmartNav/PlayerNavState.cs new file mode 100644 index 00000000..c4269e9d --- /dev/null +++ b/SmartNav/SmartNav/PlayerNavState.cs @@ -0,0 +1,144 @@ +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) + { + int num = ((gilCost == 0) ? (-1679548290) : (-1679548289)); + while (true) + { + int num2 = num; + int num3 = -1679548290; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + goto IL_0041; + case 0: + return true; + case 1: + return Gil - gilCost >= GilReserve; + } + continue; + IL_0041: + num = -1679548289; + } + } + + public int GetTeleportCost(EAetheryteLocation aetheryte) + { + int value; + int num = (TeleportCosts.TryGetValue(aetheryte, out value) ? 1986787901 : 1986787902); + while (true) + { + int num2 = num; + int num3 = 1986787900; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0050; + case 2: + return 999; + case 1: + return value; + } + continue; + IL_0050: + num = 1986787902; + } + } + + public bool IsAetheryteUnlocked(EAetheryteLocation aetheryte) + { + return UnlockedAetherytes.Contains(aetheryte); + } + + public bool IsFlyingUnlocked(uint territoryId) + { + return FlyingUnlockedTerritories.Contains(territoryId); + } + + public int GetMountSpeedLevel(uint territoryId) + { + int value; + int num = (MountSpeedLevels.TryGetValue(territoryId, out value) ? (-743814756) : (-743814753)); + while (true) + { + int num2 = num; + int num3 = -743814754; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0050; + case 1: + return 0; + case 2: + return value; + } + continue; + IL_0050: + num = -743814753; + } + } + + 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 00000000..4fce80d1 --- /dev/null +++ b/SmartNav/SmartNav/PlayerNavStateBuilder.cs @@ -0,0 +1,626 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Numerics; +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 = _206E_202E_200C_206A_202C_202C_206E_202E_206C_202A_206D_202D_206B_206B_202B_206D_206C_206C_206D_206A_206E_200F_206A_206C_200D_206B_200E_206A_206E_206B_206D_202B_202A_206F_202A_202B_202D_202C_206E_202A_202E(objectTable, 0); + int num = ((gameObject != null) ? 1190878108 : 1190878111); + EAetheryteLocation current2 = default(EAetheryteLocation); + EAetheryteLocation current3 = default(EAetheryteLocation); + while (true) + { + int num2 = num; + int num3 = 1190878109; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + goto IL_0057; + case 2: + return null; + case 1: + { + HashSet hashSet = new HashSet(); + Dictionary dictionary = new Dictionary(); + EAetheryteLocation homeAetheryte = (EAetheryteLocation)_200D_200E_202C_202E_206F_200E_202C_206F_200F_200C_206C_200D_200F_200E_202B_200C_202B_200F_200C_200F_206D_206F_202B_206B_202D_200E_200D_206E_206F_202E_206D_202C_202B_200C_200B_206D_206D_202A_206E_206B_202E(); + EAetheryteLocation? freeAetheryte = null; + byte maxExpansion = _202A_200E_200B_200F_206A_202C_202A_206D_202C_206A_202C_206F_202C_202B_206E_206A_202A_200E_200D_206C_202B_200D_206E_200D_206D_200F_206A_202D_202C_206F_200D_200C_206B_206B_206A_206E_200E_200E_206A_202B_202E(); + IEnumerator enumerator = aetheryteList.GetEnumerator(); + try + { + num = -2145786572; + while (true) + { + int num5 = num; + num3 = -2145786572; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 0: + num = (_200F_200B_206B_200F_200E_202B_200F_202B_206B_202D_202A_206E_200F_200E_202E_206C_206D_202E_206F_202E_206B_202D_202D_202B_202D_202C_202C_206E_202C_200D_202A_200E_206D_200B_202E_200F_206E_206E_200D_206C_202E((IEnumerator)enumerator) ? (-2145786571) : (-2145786570)); + break; + case 1: + { + IAetheryteEntry current = enumerator.Current; + EAetheryteLocation eAetheryteLocation = (EAetheryteLocation)_200C_200D_202E_202B_206B_202A_206C_202E_206D_202D_206A_206A_202A_206F_202D_200F_202A_206B_206A_206F_200B_202C_206E_206B_200D_200D_200E_206B_202C_206D_206A_200F_202B_202A_200D_202B_206C_206D_200F_200D_202E(current); + hashSet.Add(eAetheryteLocation); + dictionary[eAetheryteLocation] = (int)_202B_206D_202D_200B_200B_200C_206B_200E_200B_202A_200D_206E_202D_200B_206F_206B_200D_202E_200E_206E_202E_200D_206F_206D_206A_200F_206E_200C_202D_202D_206C_206D_202E_200B_200D_206F_202D_200B_206E_200D_202E(current); + num = -2145786572; + break; + } + case 3: + num = -2145786572; + break; + case 2: + goto end_IL_009f; + } + continue; + end_IL_009f: + break; + } + } + finally + { + num = ((enumerator == null) ? 1827327183 : 1827327180); + while (true) + { + int num8 = num; + num3 = 1827327181; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num = 1827327180; + break; + case 1: + _202B_200E_206C_200E_200E_206E_202B_200C_202B_200B_206D_202E_200C_200F_206C_202D_200D_202A_200E_206B_202B_206B_202A_200C_206D_200D_206E_202C_202B_206E_206A_200B_206D_200E_202A_202D_200B_206F_200C_202E((IDisposable)enumerator); + num = 1827327183; + break; + case 2: + goto end_IL_015b; + } + continue; + end_IL_015b: + break; + } + } + IEnumerator enumerator2 = aetheryteData.Locations.Keys.GetEnumerator(); + try + { + num = 463235074; + while (true) + { + int num11 = num; + num3 = 463235072; + num4 = num11; + int num12 = num4 + num3; + int num13 = num4 & num3; + switch (num12 - (num13 + num13)) + { + case 2: + num = (_200F_200B_206B_200F_200E_202B_200F_202B_206B_202D_202A_206E_200F_200E_202E_206C_206D_202E_206F_202E_206B_202D_202D_202B_202D_202C_202C_206E_202C_200D_202A_200E_206D_200B_202E_200F_206E_206E_200D_206C_202E((IEnumerator)enumerator2) ? 463235076 : 463235073); + break; + case 4: + current2 = enumerator2.Current; + num = ((!playerContext.IsAetheryteUnlocked(current2)) ? 463235074 : 463235072); + break; + case 0: + hashSet.Add(current2); + num = 463235074; + break; + case 3: + num = 463235074; + break; + case 1: + goto end_IL_01cc; + } + continue; + end_IL_01cc: + break; + } + } + finally + { + num = ((enumerator2 == null) ? 1430009245 : 1430009244); + while (true) + { + int num14 = num; + num3 = 1430009245; + num4 = num14; + int num15 = num4 + num3; + int num16 = num4 & num3; + switch (num15 - (num16 + num16)) + { + case 2: + num = 1430009244; + break; + case 1: + _202B_200E_206C_200E_200E_206E_202B_200C_202B_200B_206D_202E_200C_200F_206C_202D_200D_202A_200E_206B_202B_206B_202A_200C_206D_200D_206E_202C_202B_206E_206A_200B_206D_200E_202A_202D_200B_206F_200C_202E((IDisposable)enumerator2); + num = 1430009245; + break; + case 0: + goto end_IL_029e; + } + continue; + end_IL_029e: + break; + } + } + using (HashSet.Enumerator enumerator3 = hashSet.GetEnumerator()) + { + num = 1372900048; + while (true) + { + int num17 = num; + num3 = 1372900048; + num4 = num17; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + { + EAetheryteLocation value = current3; + freeAetheryte = value; + num = 1372900050; + break; + } + case 2: + dictionary[current3] = 0; + num = 1372900048; + break; + case 3: + { + EAetheryteLocation value = freeAetheryte.GetValueOrDefault(); + num = (freeAetheryte.HasValue ? 1372900050 : 1372900049); + break; + } + case 0: + num = (enumerator3.MoveNext() ? 1372900054 : 1372900052); + break; + case 6: + current3 = enumerator3.Current; + num = ((!_206D_200C_206C_206D_200F_202A_206C_206D_200D_200E_202C_206D_200C_202E_200C_202E_200E_202C_206F_206C_206A_206C_200B_202E_202C_206B_200E_200B_202D_206D_200F_202D_200C_200E_200C_200F_200B_202C_206C_200D_202E((uint)current3)) ? 1372900048 : 1372900051); + break; + case 5: + num = 1372900048; + break; + case 4: + goto end_IL_0300; + } + continue; + end_IL_0300: + break; + } + } + int currentGil = GetCurrentGil(); + HashSet flyingUnlockedTerritories = BuildFlyingUnlockedSet(); + Dictionary mountSpeedLevels = BuildMountSpeedLevels(); + PlayerNavState obj = new PlayerNavState + { + CurrentTerritoryId = _206F_206D_202D_206C_202E_200E_202A_206C_206C_206D_202D_200B_202D_202C_200C_202D_202C_206D_200E_206D_202C_206A_200B_202D_200B_206C_200B_200C_200E_206E_200E_200F_206E_202B_202E_206A_200C_206A_206E_206B_202E(clientState), + CurrentPosition = _206E_206B_200F_200B_206D_202B_202E_200E_200C_202D_200E_202B_200F_206D_200B_206A_206C_206D_206A_202B_202C_206E_206E_202C_206B_202C_206B_200C_200C_206D_206C_202D_206B_206B_206C_202D_202B_206D_202E(gameObject), + Gil = currentGil, + GilReserve = (gilReserveOverride ?? playerContext.GilReserve), + TeleportUnlocked = playerContext.IsTeleportUnlocked(), + ReturnAvailable = playerContext.IsReturnAvailable(), + MountUnlocked = _202C_200C_202D_206E_206F_202A_200C_202C_206D_206E_202E_200E_206A_200E_202C_200F_206D_200E_200D_202C_202C_202A_200F_202E_206A_206E_206A_206A_206C_202B_206B_206A_200B_202E_206E_200B_202D_202B_206C_200F_202E(), + UnlockedAetherytes = hashSet, + HomeAetheryte = homeAetheryte, + FreeAetheryte = freeAetheryte, + TeleportCosts = dictionary, + FlyingUnlockedTerritories = flyingUnlockedTerritories, + MountSpeedLevels = mountSpeedLevels, + MaxExpansion = maxExpansion + }; + ICharacter obj2 = gameObject as ICharacter; + obj.CurrentLevel = ((obj2 != null) ? _200B_202C_202B_202D_206F_206B_206C_200F_206D_206E_200D_200B_202D_202E_202B_202C_206A_206C_202A_200D_202B_206E_200E_206F_202E_206E_200F_200D_200E_206C_202C_206C_202A_202E_206B_200F_206E_202B_202E_202E_202E(obj2) : 0); + obj.CurrentMsqQuestId = playerContext.CurrentMsqQuestId; + obj.PreferFreeTravel = playerContext.PreferFreeTravel; + obj.QuestCompleteChecker = delegate(uint rowId) + { + int num18 = 65535; + return QuestManager.IsQuestComplete((ushort)((rowId | (uint)num18) - (rowId ^ (uint)num18))); + }; + obj.QuestSequenceChecker = delegate(uint rowId) + { + int num18 = 65535; + return QuestManager.GetQuestSequence((ushort)((rowId | (uint)num18) - (rowId ^ (uint)num18))); + }; + obj.AvailableTeleportTickets = BuildAvailableTeleportTickets(); + return obj; + } + } + continue; + IL_0057: + num = 1190878111; + } + } + + private unsafe HashSet BuildAvailableTeleportTickets() + { + HashSet hashSet = new HashSet(); + int num = (playerContext.UseTeleportTickets ? 339924904 : 339924909); + InventoryManager* ptr = default(InventoryManager*); + TeleportTicketService.TeleportTicket current = default(TeleportTicketService.TeleportTicket); + while (true) + { + int num2 = num; + int num3 = 339924908; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + return hashSet; + case 4: + ptr = InventoryManager.Instance(); + num = ((ptr != null) ? 339924911 : 339924908); + break; + case 1: + return hashSet; + case 2: + num = 339924909; + break; + case 3: + { + byte b = _206E_202C_202E_206F_206F_200B_206B_202E_200C_200E_202D_206B_206F_200D_200F_206A_206C_200C_200E_202C_206D_200D_202D_202D_206D_206C_200D_200F_202C_200C_206B_202D_206F_202B_206A_200C_202D_200E_206A_202B_202E(); + IEnumerator enumerator = teleportTicketService.Tickets.GetEnumerator(); + try + { + num = 1253116756; + while (true) + { + int num5 = num; + num3 = 1253116758; + num4 = num5; + int num6 = num4 + num3; + int num7 = num4 & num3; + switch (num6 - (num7 + num7)) + { + case 5: + num = 1253116756; + break; + case 3: + num = ((ptr->GetInventoryItemCount(current.ItemId, isHq: false, checkEquipped: true, checkArmory: true, 0) <= 0) ? 1253116756 : 1253116752); + break; + case 0: + num = ((current.RequiredGrandCompany != b) ? 1253116756 : 1253116754); + break; + case 8: + num = ((!QuestManager.IsQuestComplete((ushort)(current.RequiredQuestId & 0xFFFF))) ? 1253116756 : 1253116757); + break; + case 2: + num = (_200F_200B_206B_200F_200E_202B_200F_202B_206B_202D_202A_206E_200F_200E_202E_206C_206D_202E_206F_202E_206B_202D_202D_202B_202D_202C_202C_206E_202C_200D_202A_200E_206D_200B_202E_200F_206E_206E_200D_206C_202E((IEnumerator)enumerator) ? 1253116759 : 1253116753); + break; + case 4: + num = ((current.RequiredQuestId == 0) ? 1253116757 : 1253116766); + break; + case 6: + hashSet.Add(current.ItemId); + num = 1253116756; + break; + case 1: + current = enumerator.Current; + num = ((current.RequiredGrandCompany == 0) ? 1253116754 : 1253116758); + break; + case 7: + return hashSet; + } + } + } + finally + { + num = ((enumerator == null) ? (-2039650) : (-2039651)); + while (true) + { + int num8 = num; + num3 = -2039649; + num4 = num8; + int num9 = num4 + num3; + int num10 = num4 & num3; + switch (num9 - (num10 + num10)) + { + case 0: + num = -2039651; + break; + case 2: + _202B_200E_206C_200E_200E_206E_202B_200C_202B_200B_206D_202E_200C_200F_206C_202D_200D_202A_200E_206B_202B_206B_202A_200C_206D_200D_206E_202C_202B_206E_206A_200B_206D_200E_202A_202D_200B_206F_200C_202E((IDisposable)enumerator); + num = -2039650; + break; + case 1: + goto end_IL_0241; + } + continue; + end_IL_0241: + break; + } + } + } + } + } + } + + private HashSet BuildFlyingUnlockedSet() + { + HashSet hashSet = new HashSet(); + HashSet hashSet2 = new HashSet(); + IEnumerator enumerator = aetheryteData.Locations.Keys.GetEnumerator(); + try + { + int num = -1033431506; + ushort value = default(ushort); + while (true) + { + int num2 = num; + int num3 = -1033431507; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + hashSet.Add(value); + num = -1033431506; + break; + case 3: + num = (_200F_200B_206B_200F_200E_202B_200F_202B_206B_202D_202A_206E_200F_200E_202E_206C_206D_202E_206F_202E_206B_202D_202D_202B_202D_202C_202C_206E_202C_200D_202A_200E_206D_200B_202E_200F_206E_206E_200D_206C_202E((IEnumerator)enumerator) ? (-1033431511) : (-1033431507)); + break; + case 1: + num = ((!playerContext.IsFlyingUnlocked(value)) ? (-1033431506) : (-1033431505)); + break; + case 4: + { + EAetheryteLocation current = enumerator.Current; + num = ((!aetheryteData.TerritoryIds.TryGetValue(current, out value)) ? (-1033431506) : (-1033431512)); + break; + } + case 6: + num = -1033431506; + break; + case 5: + num = ((!hashSet2.Add(value)) ? (-1033431506) : (-1033431508)); + break; + case 0: + return hashSet; + } + } + } + finally + { + int num = ((enumerator == null) ? 115549312 : 115549315); + while (true) + { + int num5 = num; + int num3 = 115549313; + int num4 = num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 115549315; + break; + case 1: + goto end_IL_0157; + case 2: + _202B_200E_206C_200E_200E_206E_202B_200C_202B_200B_206D_202E_200C_200F_206C_202D_200D_202A_200E_206B_202B_206B_202A_200C_206D_200D_206E_202C_202B_206E_206A_200B_206D_200E_202A_202D_200B_206F_200C_202E((IDisposable)enumerator); + num = 115549312; + break; + } + continue; + end_IL_0157: + break; + } + } + } + + private unsafe Dictionary BuildMountSpeedLevels() + { + Dictionary dictionary = new Dictionary(); + ExcelSheet excelSheet = dataManager.GetExcelSheet(); + int num = ((excelSheet != null) ? 2051337213 : 2051337214); + MountSpeed value = default(MountSpeed); + TerritoryType current = default(TerritoryType); + int num8 = default(int); + while (true) + { + int num2 = num; + int num3 = 2051337215; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0068; + case 1: + return dictionary; + case 2: + { + UIState* ptr = UIState.Instance(); + using ExcelSheet.Enumerator enumerator = excelSheet.GetEnumerator(); + num = 667862093; + while (true) + { + int num7 = num; + num3 = 667862084; + num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 667862093; + break; + case 0: + value = current.MountSpeed.Value; + num8 = 0; + num = ((value.Quest.RowId == 0) ? 667862082 : 667862080); + break; + case 6: + num = ((value.Unknown0 == 0) ? 667862087 : 667862083); + break; + case 14: + dictionary[current.RowId] = num8; + num = 667862093; + break; + case 8: + num = ((current.MountSpeed.RowId == 0) ? 667862093 : 667862084); + break; + case 7: + num = ((ptr == null) ? 667862087 : 667862095); + break; + case 9: + num = (enumerator.MoveNext() ? 667862088 : 667862094); + break; + case 3: + num = ((num8 <= 0) ? 667862093 : 667862090); + break; + case 12: + current = enumerator.Current; + num = ((current.RowId == 0) ? 667862093 : 667862092); + break; + case 5: + { + int num12 = num8; + num3 = 1; + num4 = num12; + num8 = (num4 | num3) + (num4 & num3); + num = 667862087; + break; + } + case 1: + num = ((!ptr->IsUnlockLinkUnlockedOrQuestCompleted(value.Quest.RowId, 0)) ? 667862082 : 667862089); + break; + case 11: + num = ((!ptr->IsUnlockLinkUnlockedOrQuestCompleted(value.Unknown0, 0)) ? 667862087 : 667862081); + break; + case 13: + { + int num9 = num8; + num3 = 1; + num4 = num9; + int num10 = num4 ^ num3; + int num11 = num4 & num3; + num8 = num10 + (num11 + num11); + num = 667862082; + break; + } + case 4: + num = ((ptr == null) ? 667862082 : 667862085); + break; + case 10: + return dictionary; + } + } + } + } + continue; + IL_0068: + num = 2051337214; + } + } + + private unsafe static int GetCurrentGil() + { + InventoryManager* ptr = InventoryManager.Instance(); + int num = ((ptr != null) ? (-57715473) : (-57715476)); + while (true) + { + int num2 = num; + int num3 = -57715475; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_004b; + case 1: + return 0; + case 2: + return ptr->GetItemCountInContainer(1u, InventoryType.Currency, isHq: false, 0); + } + continue; + IL_004b: + num = -57715476; + } + } + + static IGameObject _206E_202E_200C_206A_202C_202C_206E_202E_206C_202A_206D_202D_206B_206B_202B_206D_206C_206C_206D_206A_206E_200F_206A_206C_200D_206B_200E_206A_206E_206B_206D_202B_202A_206F_202A_202B_202D_202C_206E_202A_202E(IObjectTable P_0, int P_1) + { + return P_0[P_1]; + } + + static uint _200D_200E_202C_202E_206F_200E_202C_206F_200F_200C_206C_200D_200F_200E_202B_200C_202B_200F_200C_200F_206D_206F_202B_206B_202D_200E_200D_206E_206F_202E_206D_202C_202B_200C_200B_206D_206D_202A_206E_206B_202E() + { + return PlayerStateHelper.GetHomeAetheryteId(); + } + + static byte _202A_200E_200B_200F_206A_202C_202A_206D_202C_206A_202C_206F_202C_202B_206E_206A_202A_200E_200D_206C_202B_200D_206E_200D_206D_200F_206A_202D_202C_206F_200D_200C_206B_206B_206A_206E_200E_200E_206A_202B_202E() + { + return PlayerStateHelper.GetMaxExpansion(); + } + + static uint _200C_200D_202E_202B_206B_202A_206C_202E_206D_202D_206A_206A_202A_206F_202D_200F_202A_206B_206A_206F_200B_202C_206E_206B_200D_200D_200E_206B_202C_206D_206A_200F_202B_202A_200D_202B_206C_206D_200F_200D_202E(IAetheryteEntry P_0) + { + return P_0.AetheryteId; + } + + static uint _202B_206D_202D_200B_200B_200C_206B_200E_200B_202A_200D_206E_202D_200B_206F_206B_200D_202E_200E_206E_202E_200D_206F_206D_206A_200F_206E_200C_202D_202D_206C_206D_202E_200B_200D_206F_202D_200B_206E_200D_202E(IAetheryteEntry P_0) + { + return P_0.GilCost; + } + + static bool _200F_200B_206B_200F_200E_202B_200F_202B_206B_202D_202A_206E_200F_200E_202E_206C_206D_202E_206F_202E_206B_202D_202D_202B_202D_202C_202C_206E_202C_200D_202A_200E_206D_200B_202E_200F_206E_206E_200D_206C_202E(IEnumerator P_0) + { + return P_0.MoveNext(); + } + + static void _202B_200E_206C_200E_200E_206E_202B_200C_202B_200B_206D_202E_200C_200F_206C_202D_200D_202A_200E_206B_202B_206B_202A_200C_206D_200D_206E_202C_202B_206E_206A_200B_206D_200E_202A_202D_200B_206F_200C_202E(IDisposable P_0) + { + P_0.Dispose(); + } + + static bool _206D_200C_206C_206D_200F_202A_206C_206D_200D_200E_202C_206D_200C_202E_200C_202E_200E_202C_206F_206C_206A_206C_200B_202E_202C_206B_200E_200B_202D_206D_200F_202D_200C_200E_200C_200F_200B_202C_206C_200D_202E(uint P_0) + { + return PlayerStateHelper.IsFreeAetheryte(P_0); + } + + static uint _206F_206D_202D_206C_202E_200E_202A_206C_206C_206D_202D_200B_202D_202C_200C_202D_202C_206D_200E_206D_202C_206A_200B_202D_200B_206C_200B_200C_200E_206E_200E_200F_206E_202B_202E_206A_200C_206A_206E_206B_202E(IClientState P_0) + { + return P_0.TerritoryType; + } + + static Vector3 _206E_206B_200F_200B_206D_202B_202E_200E_200C_202D_200E_202B_200F_206D_200B_206A_206C_206D_206A_202B_202C_206E_206E_202C_206B_202C_206B_200C_200C_206D_206C_202D_206B_206B_206C_202D_202B_206D_202E(IGameObject P_0) + { + return P_0.Position; + } + + static bool _202C_200C_202D_206E_206F_202A_200C_202C_206D_206E_202E_200E_206A_200E_202C_200F_206D_200E_200D_202C_202C_202A_200F_202E_206A_206E_206A_206A_206C_202B_206B_206A_200B_202E_206E_200B_202D_202B_206C_200F_202E() + { + return PlayerStateHelper.IsAnyMountUnlocked(); + } + + static byte _200B_202C_202B_202D_206F_206B_206C_200F_206D_206E_200D_200B_202D_202E_202B_202C_206A_206C_202A_200D_202B_206E_200E_206F_202E_206E_200F_200D_200E_206C_202C_206C_202A_202E_206B_200F_206E_202B_202E_202E_202E(ICharacter P_0) + { + return P_0.Level; + } + + static byte _206E_202C_202E_206F_206F_200B_206B_202E_200C_200E_202D_206B_206F_200D_200F_206A_206C_200C_200E_202C_206D_200D_202D_202D_206D_206C_200D_200F_202C_200C_206B_202D_206F_202B_206A_200C_202D_200E_206A_202B_202E() + { + return GrandCompanyHelper.GetGrandCompanyId(); + } +} diff --git a/SmartNav/SmartNav/ReRouteDecision.cs b/SmartNav/SmartNav/ReRouteDecision.cs new file mode 100644 index 00000000..60626b31 --- /dev/null +++ b/SmartNav/SmartNav/ReRouteDecision.cs @@ -0,0 +1,462 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace SmartNav; + +public abstract record ReRouteDecision +{ + public sealed record Replan(IReadOnlyList Instructions) : ReRouteDecision() + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_200B_206E_202C_200E_202C_200B_200E_206A_200B_206E_206A_202C_202E_202B_202E_202D_202E_206B_206B_200E_206E_200C_202A_202C_200F_206B_202E_206B_200F_202A_200F_200D_202C_200D_202D_200D_200E_206F_202C_202E(typeof(Replan).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206A_200D_206A_202D_200E_202C_202C_206C_200C_206C_206F_202B_202D_200C_202B_202A_206D_206D_200C_206A_200B_202D_206E_206C_206B_200C_202E_206B_202C_202B_200E_200E_206E_206A_200B_200C_206F_200E_206E_202C_202E(); + _200B_206A_206F_206B_200B_200C_200D_206E_206C_206D_200D_200E_200C_202C_200C_200E_202B_202B_206B_206D_202D_200B_202A_206C_200C_202B_206C_202A_200E_206F_202C_202D_202E_206B_200F_200F_202C_202C_200E_202E(stringBuilder, global::_003CModule_003E._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(901484357)); + _200B_206A_206F_206B_200B_200C_200D_206E_206C_206D_200D_200E_200C_202C_200C_200E_202B_202B_206B_206D_202D_200B_202A_206C_200C_202B_206C_202A_200E_206F_202C_202D_202E_206B_200F_200F_202C_202C_200E_202E(stringBuilder, global::_003CModule_003E._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(1886515922)); + int num = ((!PrintMembers(stringBuilder)) ? 1327623448 : 1327623451); + while (true) + { + int num2 = num; + int num3 = 1327623450; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1327623451; + break; + case 2: + _200E_202E_206D_202A_206F_200E_206A_200D_206F_206B_200F_202C_206D_206A_206C_202C_206E_206E_202C_206F_200C_202E_206F_200F_202A_202D_206D_202B_200D_202A_202A_202E_206B_202D_200E_206A_202B_200F_206C_206E_202E(stringBuilder, '}'); + return _206F_206A_202A_206A_200C_200F_200F_206E_202E_202A_206A_200C_206D_206B_200B_200B_200E_202B_206D_202A_206C_202D_202B_206B_206D_202D_206A_202A_200D_206F_200B_202E_202D_202B_206E_200B_200F_206A_202D_206B_202E((object)stringBuilder); + case 1: + _200E_202E_206D_202A_206F_200E_206A_200D_206F_206B_200F_202C_206D_206A_206C_202C_206E_206E_202C_206F_200C_202E_206F_200F_202A_202D_206D_202B_200D_202A_202A_202E_206B_202D_200E_206A_202B_200F_206C_206E_202E(stringBuilder, ' '); + num = 1327623448; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + protected override bool PrintMembers(StringBuilder builder) + { + int num = ((!base.PrintMembers(builder)) ? 1920917747 : 1920917746); + while (true) + { + int num2 = num; + int num3 = 1920917747; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1920917746; + break; + case 0: + _200B_206A_206F_206B_200B_200C_200D_206E_206C_206D_200D_200E_200C_202C_200C_200E_202B_202B_206B_206D_202D_200B_202A_206C_200C_202B_206C_202A_200E_206F_202C_202D_202E_206B_200F_200F_202C_202C_200E_202E(builder, global::_003CModule_003E._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(-15988092)); + _200D_200D_200F_200C_200D_202C_206F_206F_200C_206F_200E_202A_200F_202C_200F_206D_200D_200F_200E_202C_202D_202B_206E_200F_200B_206D_202A_206C_206A_202B_200B_206B_206C_200B_206E_202B_200E_206B_202C_206C_202E(builder, (object)Instructions); + return true; + case 1: + _200B_206A_206F_206B_200B_200C_200D_206E_206C_206D_200D_200E_200C_202C_200C_200E_202B_202B_206B_206D_202D_200B_202A_206C_200C_202B_206C_202A_200E_206F_202C_202D_202E_206B_200F_200F_202C_202C_200E_202E(builder, global::_003CModule_003E._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(520781629)); + num = 1920917747; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(Replan? other) + { + int num = (((object)this == other) ? (-1432120076) : (-1432120078)); + while (true) + { + int num2 = num; + int num3 = -1432120080; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return EqualityComparer>.Default.Equals(Instructions, other.Instructions); + case 4: + return true; + case 3: + num = -1432120078; + break; + case 0: + return false; + case 2: + num = ((!base.Equals(other)) ? (-1432120080) : (-1432120079)); + break; + } + } + } + + bool IEquatable.Equals(Replan? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202E_200B_206E_202C_200E_202C_200B_200E_206A_200B_206E_206A_202C_202E_202B_202E_202D_202E_206B_206B_200E_206E_200C_202A_202C_200F_206B_202E_206B_200F_202A_200F_200D_202C_200D_202D_200D_200E_206F_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206A_200D_206A_202D_200E_202C_202C_206C_200C_206C_206F_202B_202D_200C_202B_202A_206D_206D_200C_206A_200B_202D_206E_206C_206B_200C_202E_206B_202C_202B_200E_200E_206E_206A_200B_200C_206F_200E_206E_202C_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200B_206A_206F_206B_200B_200C_200D_206E_206C_206D_200D_200E_200C_202C_200C_200E_202B_202B_206B_206D_202D_200B_202A_206C_200C_202B_206C_202A_200E_206F_202C_202D_202E_206B_200F_200F_202C_202C_200E_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200E_202E_206D_202A_206F_200E_206A_200D_206F_206B_200F_202C_206D_206A_206C_202C_206E_206E_202C_206F_200C_202E_206F_200F_202A_202D_206D_202B_200D_202A_202A_202E_206B_202D_200E_206A_202B_200F_206C_206E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206F_206A_202A_206A_200C_200F_200F_206E_202E_202A_206A_200C_206D_206B_200B_200B_200E_202B_206D_202A_206C_202D_202B_206B_206D_202D_206A_202A_200D_206F_200B_202E_202D_202B_206E_200B_200F_206A_202D_206B_202E(object P_0) + { + return P_0.ToString(); + } + + static StringBuilder _200D_200D_200F_200C_200D_202C_206F_206F_200C_206F_200E_202A_200F_202C_200F_206D_200D_200F_200E_202C_202D_202B_206E_200F_200B_206D_202A_206C_206A_202B_200B_206B_206C_200B_206E_202B_200E_206B_202C_206C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206B_206F_202E_200D_200E_200E_200E_206B_206E_202E_206D_200C_206E_200E_206C_200D_202E_200F_200C_200B_202E_206B_206D_200C_206B_206C_206B_206C_206C_202E_206F_200C_200C_200B_202D_206D_202C_202B_206F_200E_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record SkipMovement : ReRouteDecision + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_206D_202D_206C_202A_206C_202B_200F_202E_200F_206B_206B_206B_202D_200D_200E_206F_200B_206F_206A_206D_206D_206D_206E_206A_206A_206C_200E_206C_206A_206A_202B_202E_206E_206E_200D_200B_206B_206E_202E_202E(typeof(SkipMovement).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206D_202A_200E_200F_202D_200C_200C_200B_206E_202C_206F_206F_206F_200D_206C_206C_200E_200D_202E_206B_200E_202A_206A_206B_200F_200B_202E_200F_200B_200B_202B_206B_202E_200E_202B_206D_202B_206C_202A_202A_202E(); + _206F_206C_202E_202E_200E_200C_200B_206F_206E_200E_200D_206C_200D_206E_200F_200E_200C_206A_200D_206D_202D_206D_202D_200D_202E_200D_206E_206D_200E_206D_202B_202A_206E_202D_206A_200E_200D_202D_206C_206D_202E(stringBuilder, global::_003CModule_003E._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(-187513109)); + _206F_206C_202E_202E_200E_200C_200B_206F_206E_200E_200D_206C_200D_206E_200F_200E_200C_206A_200D_206D_202D_206D_202D_200D_202E_200D_206E_206D_200E_206D_202B_202A_206E_202D_206A_200E_200D_202D_206C_206D_202E(stringBuilder, global::_003CModule_003E._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(1120247710)); + int num = ((!PrintMembers(stringBuilder)) ? 321527536 : 321527539); + while (true) + { + int num2 = num; + int num3 = 321527537; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + _206C_202D_202A_200B_202D_200B_200D_200E_202B_202E_206E_202B_202B_202B_206C_200D_200B_206A_206A_206A_202E_200B_200C_206F_206B_200C_202B_206D_206E_200C_206F_202B_206A_200D_206E_202B_202A_202E_202B_206E_202E(stringBuilder, '}'); + return _206D_200B_206A_202A_206E_202B_206E_206C_206E_206C_206B_206B_200F_206A_202B_200D_200F_206C_202E_200D_200F_206A_200F_206C_202A_200F_200E_202E_200E_202D_202A_202A_206B_206E_202C_202A_200B_202B_206A_202D_202E((object)stringBuilder); + case 2: + _206C_202D_202A_200B_202D_200B_200D_200E_202B_202E_206E_202B_202B_202B_206C_200D_200B_206A_206A_206A_202E_200B_200C_206F_206B_200C_202B_206D_206E_200C_206F_202B_206A_200D_206E_202B_202A_202E_202B_206E_202E(stringBuilder, ' '); + num = 321527536; + break; + case 0: + num = 321527539; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(SkipMovement? other) + { + int num = (((object)this == other) ? (-1667378002) : (-1667378003)); + while (true) + { + int num2 = num; + int num3 = -1667378001; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 1: + return true; + case 2: + return base.Equals(other); + case 0: + goto IL_004c; + } + continue; + IL_004c: + num = -1667378003; + } + } + + bool IEquatable.Equals(SkipMovement? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_206D_202D_206C_202A_206C_202B_200F_202E_200F_206B_206B_206B_202D_200D_200E_206F_200B_206F_206A_206D_206D_206D_206E_206A_206A_206C_200E_206C_206A_206A_202B_202E_206E_206E_200D_200B_206B_206E_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206D_202A_200E_200F_202D_200C_200C_200B_206E_202C_206F_206F_206F_200D_206C_206C_200E_200D_202E_206B_200E_202A_206A_206B_200F_200B_202E_200F_200B_200B_202B_206B_202E_200E_202B_206D_202B_206C_202A_202A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206F_206C_202E_202E_200E_200C_200B_206F_206E_200E_200D_206C_200D_206E_200F_200E_200C_206A_200D_206D_202D_206D_202D_200D_202E_200D_206E_206D_200E_206D_202B_202A_206E_202D_206A_200E_200D_202D_206C_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206C_202D_202A_200B_202D_200B_200D_200E_202B_202E_206E_202B_202B_202B_206C_200D_200B_206A_206A_206A_202E_200B_200C_206F_206B_200C_202B_206D_206E_200C_206F_202B_206A_200D_206E_202B_202A_202E_202B_206E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206D_200B_206A_202A_206E_202B_206E_206C_206E_206C_206B_206B_200F_206A_202B_200D_200F_206C_202E_200D_200F_206A_200F_206C_202A_200F_200E_202E_200E_202D_202A_202A_206B_206E_202C_202A_200B_202B_206A_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _202B_206B_200F_200B_206E_200D_202C_200C_200C_200B_200D_202B_200B_206A_202D_200D_200E_202A_206D_206A_206C_200E_200F_206A_206D_206D_206E_206E_200E_200C_206E_200B_200D_206C_206D_202B_206E_202B_206B_206A_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + public sealed record GiveUp : ReRouteDecision + { + [CompilerGenerated] + protected override Type EqualityContract + { + [CompilerGenerated] + get + { + return _202D_200F_206C_200B_200C_206D_200C_200C_206A_206C_202E_206D_202C_206D_202A_206C_202D_206A_206C_200D_200E_206E_200D_206A_200E_206C_206D_202E_202C_200B_202B_206A_202C_206C_200D_206E_202B_206B_206C_202A_202E(typeof(GiveUp).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _200D_200D_202E_200D_200F_202B_206D_206F_206D_200B_206B_202D_202A_206A_202C_206D_200D_200F_202D_206C_200E_206F_202A_206A_200B_206D_200D_200C_200E_200C_202B_206F_202C_202E_206A_206C_200E_206C_202C_202A_202E(); + _200D_202D_202A_202C_206D_202E_206E_206E_202A_206D_200C_200C_200E_200C_206D_200B_202E_206B_206E_206B_200C_200B_206C_206E_206E_202C_202D_202A_200C_200E_200C_200B_202B_206F_206D_202B_202B_200C_200B_202D_202E(stringBuilder, global::_003CModule_003E._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(1991461839)); + _200D_202D_202A_202C_206D_202E_206E_206E_202A_206D_200C_200C_200E_200C_206D_200B_202E_206B_206E_206B_200C_200B_206C_206E_206E_202C_202D_202A_200C_200E_200C_200B_202B_206F_206D_202B_202B_200C_200B_202D_202E(stringBuilder, global::_003CModule_003E._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(1547267250)); + int num = ((!PrintMembers(stringBuilder)) ? (-1750477906) : (-1750477905)); + while (true) + { + int num2 = num; + int num3 = -1750477906; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + _200D_202E_206D_202B_202C_200B_206F_206B_200C_202A_202B_200E_200B_200D_200D_200F_202E_206A_200B_206A_202D_200B_206D_200F_206C_202D_202D_202D_206C_200C_206F_206B_200F_200D_206A_206E_200C_206D_200B_200E_202E(stringBuilder, '}'); + return _200F_202C_206C_202B_200F_206A_202E_206E_206A_202A_200C_202D_202C_206B_200E_202A_202A_206B_206C_206D_200C_200B_202D_202D_206E_200B_206D_200C_206C_206C_206C_206F_200C_202B_206E_206A_206E_206E_206E_202B_202E((object)stringBuilder); + case 1: + _200D_202E_206D_202B_202C_200B_206F_206B_200C_202A_202B_200E_200B_200D_200D_200F_202E_206A_200B_206A_202D_200B_206D_200F_206C_202D_202D_202D_206C_200C_206F_206B_200F_200D_206A_206E_200C_206D_200B_200E_202E(stringBuilder, ' '); + num = -1750477906; + break; + case 2: + num = -1750477905; + break; + } + } + } + + [CompilerGenerated] + public bool Equals(GiveUp? other) + { + int num = (((object)this == other) ? 639070582 : 639070581); + while (true) + { + int num2 = num; + int num3 = 639070583; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + goto IL_0044; + case 2: + return base.Equals(other); + case 1: + return true; + } + continue; + IL_0044: + num = 639070581; + } + } + + bool IEquatable.Equals(GiveUp? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202D_200F_206C_200B_200C_206D_200C_200C_206A_206C_202E_206D_202C_206D_202A_206C_202D_206A_206C_200D_200E_206E_200D_206A_200E_206C_206D_202E_202C_200B_202B_206A_202C_206C_200D_206E_202B_206B_206C_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _200D_200D_202E_200D_200F_202B_206D_206F_206D_200B_206B_202D_202A_206A_202C_206D_200D_200F_202D_206C_200E_206F_202A_206A_200B_206D_200D_200C_200E_200C_202B_206F_202C_202E_206A_206C_200E_206C_202C_202A_202E() + { + return new StringBuilder(); + } + + static StringBuilder _200D_202D_202A_202C_206D_202E_206E_206E_202A_206D_200C_200C_200E_200C_206D_200B_202E_206B_206E_206B_200C_200B_206C_206E_206E_202C_202D_202A_200C_200E_200C_200B_202B_206F_206D_202B_202B_200C_200B_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200D_202E_206D_202B_202C_200B_206F_206B_200C_202A_202B_200E_200B_200D_200D_200F_202E_206A_200B_206A_202D_200B_206D_200F_206C_202D_202D_202D_206C_200C_206F_206B_200F_200D_206A_206E_200C_206D_200B_200E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200F_202C_206C_202B_200F_206A_202E_206E_206A_202A_200C_202D_202C_206B_200E_202A_202A_206B_206C_206D_200C_200B_202D_202D_206E_200B_206D_200C_206C_206C_206C_206F_200C_202B_206E_206A_206E_206E_206E_202B_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _202C_206A_206B_200D_202E_206D_202A_200C_206E_206A_206A_202D_206B_200E_202E_206B_200F_200C_202A_206A_200D_206C_200D_206C_206F_202C_202B_206D_206C_200C_202D_202E_200C_202C_206A_200D_200F_202B_202E_202D_202E(object P_0, object P_1) + { + return P_0.Equals(P_1); + } + } + + [CompilerGenerated] + protected virtual Type EqualityContract + { + [CompilerGenerated] + get + { + return _202E_206B_206C_202D_206F_200C_202B_206F_200B_202A_202B_206C_202C_202A_200F_200D_200F_206E_206A_206D_206F_200B_206D_200D_202B_206B_206D_206F_200E_206E_200D_206A_206B_202D_206D_206E_206E_200D_200E_202E_202E(typeof(ReRouteDecision).TypeHandle); + } + } + + private ReRouteDecision() + { + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206E_206A_206F_200B_202A_200E_206E_200E_200C_202A_206F_202C_206C_206F_206E_206F_206C_206D_202D_202C_206A_202E_206A_200C_202C_200D_200B_206B_200F_200B_206F_202E_202D_200C_200E_200B_202B_202A_200C_200D_202E(); + _206A_206E_202D_200D_202B_206E_202A_200C_206D_200B_200F_200E_206A_206A_202B_206E_206C_200D_206C_206C_200D_200E_200C_200B_206D_206D_200C_206C_202D_206A_200E_206F_200F_200C_200B_202A_200C_200B_200B_202D_202E(stringBuilder, global::_003CModule_003E._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(-1884726920)); + _206A_206E_202D_200D_202B_206E_202A_200C_206D_200B_200F_200E_206A_206A_202B_206E_206C_200D_206C_206C_200D_200E_200C_200B_206D_206D_200C_206C_202D_206A_200E_206F_200F_200C_200B_202A_200C_200B_200B_202D_202E(stringBuilder, global::_003CModule_003E._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(1120247710)); + int num = ((!PrintMembers(stringBuilder)) ? 1070703260 : 1070703263); + while (true) + { + int num2 = num; + int num3 = 1070703262; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + _206C_202E_202A_206A_206A_202E_200B_200F_202A_200F_202A_200E_206E_202E_202A_200E_200C_206F_206D_202A_200F_206C_200B_206D_202E_206E_206C_206A_206D_206D_206A_206E_202C_206C_206B_200B_206B_200C_200B_202E_202E(stringBuilder, '}'); + return _200B_206A_200E_202D_206A_202B_200D_202E_200B_200C_202B_200F_206E_200B_200E_200B_202E_202D_200F_206A_206D_200C_202C_206B_206B_202A_202E_200C_206D_206E_200E_200F_200B_200F_200D_206E_202B_200F_202A_202E((object)stringBuilder); + case 1: + _206C_202E_202A_206A_206A_202E_200B_200F_202A_200F_202A_200E_206E_202E_202A_200E_200C_206F_206D_202A_200F_206C_200B_206D_202E_206E_206C_206A_206D_206D_206A_206E_202C_206C_206B_200B_206B_200C_200B_202E_202E(stringBuilder, ' '); + num = 1070703260; + break; + case 0: + num = 1070703263; + break; + } + } + } + + [CompilerGenerated] + public virtual bool Equals(ReRouteDecision? other) + { + int num = (((object)this == other) ? (-390682939) : (-390682942)); + while (true) + { + int num2 = num; + int num3 = -390682938; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -390682942; + break; + case 1: + return _206C_206C_200B_200B_200B_206C_200C_200E_206B_202D_200D_200F_202E_202E_202C_206B_202C_200C_200E_202E_206C_200F_206B_206F_202B_206D_202E_200E_202B_202B_200E_202E_206A_200E_200B_206F_200D_206A_206A_202E(EqualityContract, other.EqualityContract); + case 4: + num = (((object)other == null) ? (-390682940) : (-390682937)); + break; + case 2: + return false; + case 3: + return true; + } + } + } + + bool IEquatable.Equals(ReRouteDecision? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _202E_206B_206C_202D_206F_200C_202B_206F_200B_202A_202B_206C_202C_202A_200F_200D_200F_206E_206A_206D_206F_200B_206D_200D_202B_206B_206D_206F_200E_206E_200D_206A_206B_202D_206D_206E_206E_200D_200E_202E_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206E_206A_206F_200B_202A_200E_206E_200E_200C_202A_206F_202C_206C_206F_206E_206F_206C_206D_202D_202C_206A_202E_206A_200C_202C_200D_200B_206B_200F_200B_206F_202E_202D_200C_200E_200B_202B_202A_200C_200D_202E() + { + return new StringBuilder(); + } + + static StringBuilder _206A_206E_202D_200D_202B_206E_202A_200C_206D_200B_200F_200E_206A_206A_202B_206E_206C_200D_206C_206C_200D_200E_200C_200B_206D_206D_200C_206C_202D_206A_200E_206F_200F_200C_200B_202A_200C_200B_200B_202D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _206C_202E_202A_206A_206A_202E_200B_200F_202A_200F_202A_200E_206E_202E_202A_200E_200C_206F_206D_202A_200F_206C_200B_206D_202E_206E_206C_206A_206D_206D_206A_206E_202C_206C_206B_200B_206B_200C_200B_202E_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _200B_206A_200E_202D_206A_202B_200D_202E_200B_200C_202B_200F_206E_200B_200E_200B_202E_202D_200F_206A_206D_200C_202C_206B_206B_202A_202E_200C_206D_206E_200E_200F_200B_200F_200D_206E_202B_200F_202A_202E(object P_0) + { + return P_0.ToString(); + } + + static bool _206C_206C_200B_200B_200B_206C_200C_200E_206B_202D_200D_200F_202E_202E_202C_206B_202C_200C_200E_202E_206C_200F_206B_206F_202B_206D_202E_200E_202B_202B_200E_202E_206A_200E_200B_206F_200D_206A_206A_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/SmartNav/SmartNav/ReRoutePolicy.cs b/SmartNav/SmartNav/ReRoutePolicy.cs new file mode 100644 index 00000000..c941caea --- /dev/null +++ b/SmartNav/SmartNav/ReRoutePolicy.cs @@ -0,0 +1,188 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +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; + + [MethodImpl(MethodImplOptions.NoInlining)] + public void SetDestination(uint territoryId, Vector3 position) + { + int num = ((!_hasDestination) ? 887432114 : 887432119); + while (true) + { + int num2 = num; + int num3 = 887432118; + int num4 = num2; + int num5; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num5 = ((Vector3.DistanceSquared(_destinationPosition, position) < 1f) ? 1 : 0); + goto IL_00d1; + case 2: + _202D_206B_200F_202E_206E_206B_202D_202D_206F_200B_206B_206F_200E_206E_200B_202E_206B_200F_202A_206F_206B_202A_202C_202D_206A_206B_200C_202B_206B_200D_206D_200E_206E_202A_202D_206C_202D_200B_202D_200C_202E((ILogger)logger, global::_003CModule_003E._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(1448570799), new object[2] { territoryId, position }); + return; + case 5: + num = 887432119; + break; + case 1: + num = ((_destinationTerritoryId != territoryId) ? 887432114 : 887432118); + break; + case 4: + num5 = 0; + goto IL_00d1; + case 3: + { + warpFailureTracker.Reset(); + num = 887432116; + break; + } + IL_00d1: + _destinationTerritoryId = territoryId; + _destinationPosition = position; + _hasDestination = true; + _reRouteCount = 0; + _penalizedTargets.Clear(); + num = ((num5 != 0) ? 887432116 : 887432117); + break; + } + } + } + + public void ClearDestination() + { + _hasDestination = false; + _reRouteCount = 0; + _penalizedTargets.Clear(); + warpFailureTracker.Reset(); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public ReRouteDecision HandleMovementFailure(string? failedTargetNodeId, string? failedApproachNodeId, bool hasPreservedTasks) + { + int num = ((failedTargetNodeId == null) ? 1235919696 : 1235919704); + RouteResult routeResult = default(RouteResult); + PlayerNavState playerNavState = default(PlayerNavState); + while (true) + { + int num2 = num; + int num3 = 1235919696; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 1: + routeResult = navRouter.FindRoute(playerNavState, _destinationTerritoryId, _destinationPosition, _penalizedTargets); + num = ((routeResult.Segments.Count != 0) ? 1235919700 : 1235919698); + break; + case 4: + { + int reRouteCount2 = _reRouteCount; + num3 = 1; + num4 = reRouteCount2; + int num8 = num4 ^ num3; + int num9 = num4 & num3; + _reRouteCount = num8 + (num9 + num9); + _200D_202E_200C_202A_206E_206D_206B_200F_202B_202B_200E_202E_202A_206E_202D_202A_200F_206D_206E_206E_200E_202C_200C_206A_200C_200E_206E_202A_206C_200C_206F_206D_202B_206B_206C_202C_200D_206F_202D_202E_202E((ILogger)logger, global::_003CModule_003E._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(-2130024542), new object[4] + { + _reRouteCount, + 3, + routeResult.Segments.Count, + routeResult.TotalTimeCost + }); + return new ReRouteDecision.Replan(instructionBuilder.Build(routeResult, _destinationTerritoryId)); + } + case 10: + num = ((_reRouteCount < 3) ? 1235919702 : 1235919709); + break; + case 3: + _200D_202A_206C_202A_202E_200E_202A_202B_202D_200D_202D_206F_206D_200F_206F_200B_200F_200D_206D_202D_206E_206E_200C_206C_200F_206A_206A_200D_202D_200B_206D_200E_206E_202D_200B_206A_206E_200B_202A_202C_202E((ILogger)logger, global::_003CModule_003E._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(-1773659142), Array.Empty()); + return new ReRouteDecision.GiveUp(); + case 12: + { + bool num7 = playerNavState.CurrentTerritoryId != _destinationTerritoryId; + num3 = (hasPreservedTasks ? 1 : 0); + num4 = (num7 ? 1 : 0); + num = (((num4 | num3) - (num4 ^ num3) == 0) ? 1235919697 : 1235919710); + break; + } + case 7: + num = 1235919704; + break; + case 2: + _200D_202A_206C_202A_202E_200E_202A_202B_202D_200D_202D_206F_206D_200F_206F_200B_200F_200D_206D_202D_206E_206E_200C_206C_200F_206A_206A_200D_202D_200B_206D_200E_206E_202D_200B_206A_206E_200B_202A_202C_202E((ILogger)logger, global::_003CModule_003E._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(399693509), new object[1] { _destinationTerritoryId }); + return new ReRouteDecision.GiveUp(); + case 13: + _200D_202A_206C_202A_202E_200E_202A_202B_202D_200D_202D_206F_206D_200F_206F_200B_200F_200D_206D_202D_206E_206E_200C_206C_200F_206A_206A_200D_202D_200B_206D_200E_206E_202D_200B_206A_206E_200B_202A_202C_202E((ILogger)logger, global::_003CModule_003E._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(-1940106289), new object[2] { _reRouteCount, 3 }); + return new ReRouteDecision.GiveUp(); + case 8: + _penalizedTargets.Add(failedTargetNodeId); + num = ((!_200D_202D_200B_206B_206D_202C_206C_206C_206F_206E_200E_200D_202A_202B_202D_200F_200F_200F_206E_206E_200F_200B_202A_200B_206C_206B_206A_200F_200C_206C_200E_206A_202D_200E_206E_206A_202B_202A_202E_206D_202E(failedTargetNodeId, global::_003CModule_003E._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(-1541648262), StringComparison.Ordinal)) ? 1235919696 : 1235919705); + break; + case 11: + _200D_202A_206C_202A_202E_200E_202A_202B_202D_200D_202D_206F_206D_200F_206F_200B_200F_200D_206D_202D_206E_206E_200C_206C_200F_206A_206A_200D_202D_200B_206D_200E_206E_202D_200B_206A_206E_200B_202A_202C_202E((ILogger)logger, global::_003CModule_003E._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(466466716), Array.Empty()); + return new ReRouteDecision.GiveUp(); + case 6: + playerNavState = playerNavStateBuilder.Build(); + num = ((playerNavState != null) ? 1235919708 : 1235919699); + break; + case 0: + num = (_hasDestination ? 1235919706 : 1235919707); + break; + case 5: + _penalizedTargets.Add(failedApproachNodeId); + num = 1235919696; + break; + case 14: + { + int reRouteCount = _reRouteCount; + num3 = 1; + num4 = reRouteCount; + _reRouteCount = (num4 | num3) + (num4 & num3); + _200D_202E_200C_202A_206E_206D_206B_200F_202B_202B_200E_202E_202A_206E_202D_202A_200F_206D_206E_206E_200E_202C_200C_206A_200C_200E_206E_202A_206C_200C_206F_206D_202B_206B_206C_202C_200D_206F_202D_202E_202E((ILogger)logger, global::_003CModule_003E._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(303219870), new object[3] { _reRouteCount, playerNavState.CurrentTerritoryId, _destinationTerritoryId }); + return new ReRouteDecision.SkipMovement(); + } + case 9: + num = ((failedApproachNodeId == null) ? 1235919696 : 1235919701); + break; + } + } + } + + static void _202D_206B_200F_202E_206E_206B_202D_202D_206F_200B_206B_206F_200E_206E_200B_202E_206B_200F_202A_206F_206B_202A_202C_202D_206A_206B_200C_202B_206B_200D_206D_200E_206E_202A_202D_206C_202D_200B_202D_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogDebug(P_1, P_2); + } + + static bool _200D_202D_200B_206B_206D_202C_206C_206C_206F_206E_200E_200D_202A_202B_202D_200F_200F_200F_206E_206E_200F_200B_202A_200B_206C_206B_206A_200F_200C_206C_200E_206A_202D_200E_206E_206A_202B_202A_202E_206D_202E(string P_0, string P_1, StringComparison P_2) + { + return P_0.StartsWith(P_1, P_2); + } + + static void _200D_202A_206C_202A_202E_200E_202A_202B_202D_200D_202D_206F_206D_200F_206F_200B_200F_200D_206D_202D_206E_206E_200C_206C_200F_206A_206A_200D_202D_200B_206D_200E_206E_202D_200B_206A_206E_200B_202A_202C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _200D_202E_200C_202A_206E_206D_206B_200F_202B_202B_200E_202E_202A_206E_202D_202A_200F_206D_206E_206E_200E_202C_200C_206A_200C_200E_206E_202A_206C_200C_206F_206D_202B_206B_206C_202C_200D_206F_202D_202E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogInformation(P_1, P_2); + } +} diff --git a/SmartNav/SmartNav/RouteInstructionBuilder.cs b/SmartNav/SmartNav/RouteInstructionBuilder.cs new file mode 100644 index 00000000..0f00a5e9 --- /dev/null +++ b/SmartNav/SmartNav/RouteInstructionBuilder.cs @@ -0,0 +1,512 @@ +using System; +using System.Collections.Generic; +using System.Numerics; +using System.Runtime.CompilerServices; +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(); + int num = 0; + int num2 = -1441158643; + RouteSegment routeSegment = default(RouteSegment); + while (true) + { + int num3 = num2; + int num4 = -1441158642; + int num5 = num3; + int num6 = num5 + num4; + int num7 = num5 & num4; + switch (num6 - (num7 + num7)) + { + case 4: + { + int num10 = num; + num4 = 1; + num5 = num10; + num = (num5 | num4) + (num5 & num4); + num2 = -1441158643; + break; + } + case 6: + { + RouteSegment seg = routeSegment; + object previous; + if (num <= 0) + { + previous = null; + } + else + { + IReadOnlyList segments = route.Segments; + int num9 = num; + num4 = 1; + num5 = num9; + previous = segments[~(~num5 + num4)]; + } + BuildSegment(list, seg, (RouteSegment?)previous, num, route.Segments.Count, destinationTerritory, disableNavmesh); + num2 = -1441158646; + break; + } + case 5: + { + IReadOnlyList segments2 = route.Segments; + int num11 = num; + num4 = 1; + num5 = num11; + num2 = ((segments2[(num5 | num4) + (num5 & num4)].EdgeType == NavEdgeType.ZoneBoundary) ? (-1441158646) : (-1441158648)); + break; + } + case 1: + { + int num8 = num; + num4 = 1; + num5 = num8; + num2 = (((num5 | num4) + (num5 & num4) >= route.Segments.Count) ? (-1441158648) : (-1441158645)); + break; + } + case 0: + return list; + case 7: + num2 = -1441158643; + break; + case 2: + routeSegment = route.Segments[num]; + num2 = ((routeSegment.EdgeType != NavEdgeType.WithinZone) ? (-1441158648) : (-1441158641)); + break; + case 3: + num2 = ((num < route.Segments.Count) ? (-1441158644) : (-1441158642)); + break; + } + } + } + + private static bool TryComputeApproach(TriggerBox trigger, Vector3 walkTo, Vector3? origin, out Vector3 approach) + { + approach = default(Vector3); + int num = (origin.HasValue ? 1645228260 : 1645228262); + bool flag = default(bool); + Matrix4x4 matrix = default(Matrix4x4); + Vector3 vector2 = default(Vector3); + float num7 = default(float); + while (true) + { + int num2 = num; + int num3 = 1645228263; + int num4 = num2; + float num8; + Vector3 normal; + float num5; + float num6; + Vector3 vector; + switch ((num4 | num3) - (num4 & num3)) + { + case 3: + flag = _202D_200F_202D_206F_206E_200B_202A_206C_206B_202B_200F_200C_206F_206E_200D_202E_206B_202B_200C_206F_200B_202D_202D_206C_202A_206C_200C_206B_202B_200C_206C_206A_202C_202B_202B_200C_206C_200E_202B_206E_202E(trigger).X <= _202D_200F_202D_206F_206E_200B_202A_206C_206B_202B_200F_200C_206F_206E_200D_202E_206B_202B_200C_206F_200B_202D_202D_206C_202A_206C_200C_206B_202B_200C_206C_206A_202C_202B_202B_200C_206C_200E_202B_206E_202E(trigger).Z; + num = (flag ? 1645228259 : 1645228257); + break; + case 4: + num8 = _202D_200F_202D_206F_206E_200B_202A_206C_206B_202B_200F_200C_206F_206E_200D_202E_206B_202B_200C_206F_200B_202D_202D_206C_202A_206C_200C_206B_202B_200C_206C_206A_202C_202B_202B_200C_206C_200E_202B_206E_202E(trigger).X; + goto IL_00c4; + case 6: + num8 = _202D_200F_202D_206F_206E_200B_202A_206C_206B_202B_200F_200C_206F_206E_200D_202E_206B_202B_200C_206F_200B_202D_202D_206C_202A_206C_200C_206B_202B_200C_206C_206A_202C_202B_202B_200C_206C_200E_202B_206E_202E(trigger).Z; + goto IL_00c4; + case 2: + matrix = Matrix4x4.CreateFromYawPitchRoll(_206D_202C_200C_202D_206B_200C_200B_206C_202C_202C_202B_206C_202B_200C_202D_206A_202B_202C_202D_200C_206E_202A_206D_206E_200B_206C_206F_200C_206D_200C_202D_206C_200D_206A_206D_206E_202C_206E_206D_202E(trigger).Y, _206D_202C_200C_202D_206B_200C_200B_206C_202C_202C_202B_206C_202B_200C_202D_206A_202B_202C_202D_200C_206E_202A_206D_206E_200B_206C_206F_200C_206D_200C_202D_206C_200D_206A_206D_206E_202C_206E_206D_202E(trigger).X, _206D_202C_200C_202D_206B_200C_200B_206C_202C_202C_202B_206C_202B_200C_202D_206A_202B_202C_202D_200C_206E_202A_206D_206E_200B_206C_206F_200C_206D_200C_202D_206C_200D_206A_206D_206E_202C_206E_206D_202E(trigger).Z); + num = (flag ? 1645228258 : 1645228263); + break; + case 12: + vector2 = Vector3.Normalize(vector2); + num = ((Vector3.Dot(origin.Value - _202E_202E_200B_202A_206D_200C_202C_206F_202E_202D_200B_202A_206C_202D_206C_200F_202A_206D_202C_202D_206E_206C_200D_202B_206E_202E_202D_200C_206F_200F_202D_200B_200C_200D_202B_206E_200E_202B_206B_206F_202E(trigger), vector2) >= 0f) ? 1645228270 : 1645228271); + break; + case 11: + return false; + case 7: + num = 1645228262; + break; + case 0: + normal = Vector3.UnitZ; + goto IL_021a; + case 8: + num5 = -1f; + goto IL_01cf; + case 9: + num5 = 1f; + goto IL_01cf; + case 10: + return false; + case 5: + normal = Vector3.UnitX; + goto IL_021a; + case 1: + { + return false; + } + IL_01cf: + num6 = num5; + vector = _202E_202E_200B_202A_206D_200C_202C_206F_202E_202D_200B_202A_206C_202D_206C_200F_202A_206D_202C_202D_206E_206C_200D_202B_206E_202E_202D_200C_206F_200F_202D_200B_200C_200D_202B_206E_200E_202B_206B_206F_202E(trigger) + vector2 * num6 * (num7 + 5f); + approach = new Vector3(vector.X, walkTo.Y, vector.Z); + return true; + IL_021a: + vector2 = Vector3.TransformNormal(normal, matrix); + vector2.Y = 0f; + num = ((!(vector2.LengthSquared() < 0.01f)) ? 1645228267 : 1645228268); + break; + IL_00c4: + num7 = num8; + num = ((!(_202D_200F_202D_206F_206E_200B_202A_206C_206B_202B_200F_200C_206F_206E_200D_202E_206B_202B_200C_206F_200B_202D_202D_206C_202A_206C_200C_206B_202B_200C_206C_206A_202C_202B_202B_200C_206C_200E_202B_206E_202E(trigger).Y < num7)) ? 1645228261 : 1645228269); + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private void BuildSegment(List instructions, RouteSegment seg, RouteSegment? previous, int index, int segmentCount, uint destinationTerritory, bool disableNavmesh) + { + switch (seg.EdgeType) + { + case NavEdgeType.TicketTeleport: + goto IL_01d4; + case NavEdgeType.WithinZone: + goto IL_027e; + case NavEdgeType.Warp: + goto IL_044c; + case NavEdgeType.ChocoboTaxi: + goto IL_06b0; + case NavEdgeType.Teleport: + case NavEdgeType.Return: + goto IL_078c; + case NavEdgeType.ZoneBoundary: + goto IL_07b7; + case NavEdgeType.SubRegionTransport: + goto IL_08c6; + case NavEdgeType.AethernetHop: + goto IL_0afd; + } + int num = 807288899; + goto IL_003d; + IL_044c: + uint territoryId = seg.From.TerritoryId; + uint territoryId2 = seg.To.TerritoryId; + _206F_206D_206C_202A_200C_206F_202C_206D_200B_206D_202E_200E_206C_206F_202B_200E_202B_200B_200B_202B_206F_206F_202C_206E_202A_206A_200B_206B_202E_202E_202D_206D_202D_200B_200F_206A_202D_202E_206E_202E((ILogger)logger, global::_003CModule_003E._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(699118114), new object[2] + { + territoryInfo.GetNameAndId(territoryId), + territoryInfo.GetNameAndId(territoryId2) + }); + NavNode.WarpNode warpNode = seg.From as NavNode.WarpNode; + num = (((object)warpNode == null) ? 807288921 : 807288909); + goto IL_003d; + IL_003d: + uint territoryId6 = default(uint); + ushort value = default(ushort); + uint territoryId5 = default(uint); + Vector3 approach = default(Vector3); + uint? num8 = default(uint?); + uint territoryId4 = default(uint); + bool flag = default(bool); + NavNode.WarpNode warpNode2 = default(NavNode.WarpNode); + NavNode.TicketNode ticketNode = default(NavNode.TicketNode); + uint territoryId3 = default(uint); + NavNode.SubRegionConnectorNode subRegionConnectorNode = default(NavNode.SubRegionConnectorNode); + TriggerBox trigger = default(TriggerBox); + NavNode.ZoneBoundaryNode zoneBoundaryNode = default(NavNode.ZoneBoundaryNode); + int num3; + int num4; + while (true) + { + int num2 = num; + num3 = 807288896; + num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + int num9; + int num7; + ushort expectedTerritory; + switch (num5 - (num6 + num6)) + { + case 25: + _200E_200E_200B_206E_206C_200C_200B_200E_206E_206D_200D_200D_200C_206F_202B_202C_206A_206A_202E_206F_202B_200D_200F_206B_200D_200D_206B_206B_202E_206F_202E_206A_200F_202B_202E_200F_206B_206E_202B_200C_202E((ILogger)logger, global::_003CModule_003E._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(-1406522576), new object[2] + { + territoryInfo.GetNameAndId(territoryId), + territoryInfo.GetNameAndId(territoryId2) + }); + return; + case 15: + _200E_200E_200B_206E_206C_200C_200B_200E_206E_206D_200D_200D_200C_206F_202B_202C_206A_206A_202E_206F_202B_200D_200F_206B_200D_200D_206B_206B_202E_206F_202E_206A_200F_202B_202E_200F_206B_206E_202B_200C_202E((ILogger)logger, global::_003CModule_003E._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(-399339980), Array.Empty()); + return; + case 32: + num = 807288899; + break; + case 30: + _206F_206D_206C_202A_200C_206F_202C_206D_200B_206D_202E_200E_206C_206F_202B_200E_202B_200B_200B_202B_206F_206F_202C_206E_202A_206A_200B_206B_202E_202E_202D_206D_202D_200B_200F_206A_202D_202E_206E_202E((ILogger)logger, global::_003CModule_003E._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(-1015089511), new object[2] + { + seg.AethernetFrom.Value, + seg.AethernetTo.Value + }); + instructions.Add(new NavInstruction.WaitForNavmesh()); + instructions.Add(new NavInstruction.AethernetHop(seg.AethernetFrom.Value, seg.AethernetTo.Value)); + return; + case 0: + goto end_IL_003d; + case 6: + goto IL_0200; + case 34: + num9 = ((seg.To.TerritoryId == destinationTerritory) ? 1 : 0); + goto IL_0562; + case 16: + instructions.Add(new NavInstruction.WaitForTerritory(new global::_003C_003Ez__ReadOnlySingleElementList(territoryId6), _200D_200B_202E_206A_202B_200E_202E_206D_206E_200C_200E_202B_206B_200F_206A_200D_206E_206D_206D_200D_206B_200C_206A_200D_202C_202C_206B_202D_206A_202B_202B_206A_200C_206A_202B_206B_206E_206B_206F_200F_202E(global::_003CModule_003E._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(-2121195380), territoryInfo.GetNameAndId(territoryId6), global::_003CModule_003E._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(-2010692120)))); + return; + case 21: + goto IL_027e; + case 19: + goto IL_02b8; + case 20: + num7 = value; + goto IL_02e1; + case 7: + goto IL_032e; + case 17: + { + instructions.Add(new NavInstruction.Move((ushort)territoryId5, approach, Fly: true, LandAtTarget: true, 3f, null, null, DisableNavmesh: false, AllowZoneTransition: true, seg.From.Id, null, IsFinal: false)); + ushort territory2 = (ushort)territoryId5; + Vector3 position2 = seg.From.Position; + float? stopDistance2 = 0f; + num8 = null; + instructions.Add(new NavInstruction.Move(territory2, position2, Fly: false, LandAtTarget: false, stopDistance2, num8, null, DisableNavmesh: false, AllowZoneTransition: true, seg.From.Id, null, IsFinal: false)); + num = 807288912; + break; + } + case 31: + return; + case 2: + { + ushort territory = (ushort)territoryId5; + Vector3 position = seg.From.Position; + bool fly = seg.Fly; + bool fly2 = seg.Fly; + float? stopDistance = 0f; + num8 = null; + instructions.Add(new NavInstruction.Move(territory, position, fly, fly2, stopDistance, num8, null, DisableNavmesh: false, AllowZoneTransition: true, seg.From.Id, null, IsFinal: false)); + num = 807288912; + break; + } + case 12: + goto IL_044c; + case 24: + { + uint valueOrDefault = num8.GetValueOrDefault(); + instructions.Add(new NavInstruction.InteractWarp(valueOrDefault, warpNode.WarpRowId, (ushort)territoryId, (ushort)territoryId2)); + return; + } + case 1: + { + uint? dataId = num8; + instructions.Add(new NavInstruction.Move((ushort)territoryId4, 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)); + return; + } + case 5: + num9 = 0; + goto IL_0562; + case 37: + goto IL_0609; + case 28: + instructions.Add(new NavInstruction.WaitForNavmesh()); + num = 807288933; + break; + case 29: + num8 = warpNode2.NpcDataId; + num = 807288897; + break; + case 23: + goto IL_0661; + case 18: + goto IL_0685; + case 10: + goto IL_06b0; + case 14: + _206F_206D_206C_202A_200C_206F_202C_206D_200B_206D_202E_200E_206C_206F_202B_200E_202B_200B_200B_202B_206F_206F_202C_206E_202A_206A_200B_206B_202E_202E_202D_206D_202D_200B_200F_206A_202D_202E_206E_202E((ILogger)logger, global::_003CModule_003E._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(630015669), new object[2] + { + 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), _200D_200B_202E_206A_202B_200E_202E_206D_206E_200C_200E_202B_206B_200F_206A_200D_206E_206D_206D_200D_206B_200C_206A_200D_202C_202C_206B_202D_206A_202B_202B_206A_200C_206A_202B_206B_206E_206B_206F_200F_202E(global::_003CModule_003E._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(-2762116), territoryInfo.GetNameAndId(ticketNode.TerritoryId), global::_003CModule_003E._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(-2010692120)))); + return; + case 8: + goto IL_078c; + case 11: + goto IL_07b7; + case 22: + goto IL_08c6; + case 36: + instructions.Add(new NavInstruction.Move((ushort)territoryId3, seg.To.Position, Fly: false, LandAtTarget: false, 3f, null, false, DisableNavmesh: true, AllowZoneTransition: false, seg.To.Id, seg.From.Id, IsFinal: false)); + return; + case 9: + goto IL_0a00; + case 27: + goto IL_0a3d; + case 35: + num8 = null; + num = 807288897; + break; + case 13: + goto IL_0aab; + case 33: + instructions.Add(new NavInstruction.SubRegionTransport(seg.From.Position, seg.To.Position, (ushort)territoryId3)); + return; + case 4: + goto IL_0afd; + case 26: + num7 = (ushort)seg.To.TerritoryId; + goto IL_02e1; + case 3: + { + num = 807288906; + break; + } + IL_02e1: + expectedTerritory = (ushort)num7; + _206F_206D_206C_202A_200C_206F_202C_206D_200B_206D_202E_200E_206C_206F_202B_200E_202B_200B_200B_202B_206F_206F_202C_206E_202A_206A_200B_206B_202E_202E_202D_206D_202D_200B_200F_206A_202D_202E_206E_202E((ILogger)logger, global::_003CModule_003E._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(1751938459), new object[1] { seg.TeleportTarget.Value }); + instructions.Add(new NavInstruction.Teleport(seg.TeleportTarget.Value, expectedTerritory)); + return; + IL_0562: + flag = (byte)num9 != 0; + _206F_206D_206C_202A_200C_206F_202C_206D_200B_206D_202E_200E_206C_206F_202B_200E_202B_200B_200B_202B_206F_206F_202C_206E_202A_206A_200B_206B_202E_202E_202D_206D_202D_200B_200F_206A_202D_202E_206E_202E((ILogger)logger, global::_003CModule_003E._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(363490105), new object[2] + { + territoryInfo.GetNameAndId(territoryId4), + flag ? global::_003CModule_003E._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(988567605) : global::_003CModule_003E._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(-1568919776) + }); + instructions.Add(new NavInstruction.WaitForTerritory(new global::_003C_003Ez__ReadOnlySingleElementList(territoryId4), _200D_200B_202E_206A_202B_200E_202E_206D_206E_200C_200E_202B_206B_200F_206A_200D_206E_206D_206D_200D_206B_200C_206A_200D_202C_202C_206B_202D_206A_202B_202B_206A_200C_206A_202B_206B_206E_206B_206F_200F_202E(global::_003CModule_003E._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(-2762116), territoryInfo.GetNameAndId(territoryId4), global::_003CModule_003E._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(-2010692120)))); + num = (disableNavmesh ? 807288933 : 807288924); + break; + } + continue; + IL_0aab: + num8 = warpNode.NpcDataId; + num = ((!num8.HasValue) ? 807288921 : 807288920); + continue; + IL_0a00: + num = (aetheryteData.TerritoryIds.TryGetValue(seg.TeleportTarget.Value, out value) ? 807288916 : 807288922); + continue; + IL_0200: + num = ((subRegionConnectorNode.Kind != SubRegionConnectorKind.Move) ? 807288929 : 807288932); + continue; + IL_0a3d: + num = ((!TryComputeApproach(trigger, seg.From.Position, previous?.From.Position, out approach)) ? 807288898 : 807288913); + continue; + IL_0685: + num = ((!seg.AethernetTo.HasValue) ? 807288927 : 807288926); + continue; + IL_0609: + warpNode2 = seg.To as NavNode.WarpNode; + num = (((object)warpNode2 == null) ? 807288931 : 807288925); + continue; + IL_032e: + zoneBoundaryNode = seg.From as NavNode.ZoneBoundaryNode; + num = (((object)zoneBoundaryNode == null) ? 807288898 : 807288919); + continue; + IL_02b8: + trigger = zoneBoundaryNode.Trigger; + num = (((object)trigger == null) ? 807288898 : 807288923); + continue; + IL_0661: + num = (zoneBoundaryNode.RequiresFlying ? 807288898 : 807288915); + continue; + end_IL_003d: + break; + } + goto IL_01d4; + IL_01d4: + ticketNode = seg.To as NavNode.TicketNode; + num = (((object)ticketNode != null) ? 807288910 : 807288911); + goto IL_003d; + IL_0afd: + num = ((!seg.AethernetFrom.HasValue) ? 807288927 : 807288914); + goto IL_003d; + IL_027e: + territoryId4 = seg.From.TerritoryId; + num3 = 1; + num4 = segmentCount; + num = ((index != ~(~num4 + num3)) ? 807288901 : 807288930); + goto IL_003d; + IL_06b0: + _200E_200E_200B_206E_206C_200C_200B_200E_206E_206D_200D_200D_200C_206F_202B_202C_206A_206A_202E_206F_202B_200D_200F_206B_200D_200D_206B_206B_202E_206F_202E_206A_200F_202B_202E_200F_206B_206E_202B_200C_202E((ILogger)logger, global::_003CModule_003E._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(968645964), new object[1] { seg.EdgeType }); + num = 807288927; + goto IL_003d; + IL_07b7: + territoryId5 = seg.From.TerritoryId; + territoryId6 = seg.To.TerritoryId; + _206F_206D_206C_202A_200C_206F_202C_206D_200B_206D_202E_200E_206C_206F_202B_200E_202B_200B_200B_202B_206F_206F_202C_206E_202A_206A_200B_206B_202E_202E_202D_206D_202D_200B_200F_206A_202D_202E_206E_202E((ILogger)logger, global::_003CModule_003E._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(-940746981), new object[2] + { + territoryInfo.GetNameAndId(territoryId5), + territoryInfo.GetNameAndId(territoryId6) + }); + global::_003C_003Ez__ReadOnlyArray acceptable = new global::_003C_003Ez__ReadOnlyArray(new uint[2] { territoryId5, territoryId6 }); + DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(21, 2); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2121195380)); + defaultInterpolatedStringHandler.AppendFormatted(territoryInfo.GetNameAndId(territoryId5)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-1654880308)); + defaultInterpolatedStringHandler.AppendFormatted(territoryInfo.GetNameAndId(territoryId6)); + defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._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(-2010692120)); + instructions.Add(new NavInstruction.WaitForTerritory(acceptable, defaultInterpolatedStringHandler.ToStringAndClear())); + instructions.Add(new NavInstruction.WaitForNavmesh()); + num = ((!seg.Fly) ? 807288898 : 807288903); + goto IL_003d; + IL_078c: + num = ((!seg.TeleportTarget.HasValue) ? 807288927 : 807288905); + goto IL_003d; + IL_08c6: + territoryId3 = seg.From.TerritoryId; + _206F_206D_206C_202A_200C_206F_202C_206D_200B_206D_202E_200E_206C_206F_202B_200E_202B_200B_200B_202B_206F_206F_202C_206E_202A_206A_200B_206B_202E_202E_202D_206D_202D_200B_200F_206A_202D_202E_206E_202E((ILogger)logger, global::_003CModule_003E._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(713062435), new object[1] { territoryInfo.GetNameAndId(territoryId3) }); + instructions.Add(new NavInstruction.WaitForTerritory(new global::_003C_003Ez__ReadOnlySingleElementList(territoryId3), _200D_200B_202E_206A_202B_200E_202E_206D_206E_200C_200E_202B_206B_200F_206A_200D_206E_206D_206D_200D_206B_200C_206A_200D_202C_202C_206B_202D_206A_202B_202B_206A_200C_206A_202B_206B_206E_206B_206F_200F_202E(global::_003CModule_003E._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(71095156), territoryInfo.GetNameAndId(territoryId3), global::_003CModule_003E._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(998949340)))); + instructions.Add(new NavInstruction.WaitForNavmesh()); + ushort territory3 = (ushort)territoryId3; + Vector3 position3 = seg.From.Position; + float? stopDistance3 = 0f; + num8 = null; + instructions.Add(new NavInstruction.Move(territory3, position3, Fly: false, LandAtTarget: false, stopDistance3, num8, false, DisableNavmesh: false, AllowZoneTransition: false, seg.From.Id, null, IsFinal: false)); + subRegionConnectorNode = seg.From as NavNode.SubRegionConnectorNode; + num = (((object)subRegionConnectorNode == null) ? 807288929 : 807288902); + goto IL_003d; + } + + static Vector3 _202D_200F_202D_206F_206E_200B_202A_206C_206B_202B_200F_200C_206F_206E_200D_202E_206B_202B_200C_206F_200B_202D_202D_206C_202A_206C_200C_206B_202B_200C_206C_206A_202C_202B_202B_200C_206C_200E_202B_206E_202E(TriggerBox P_0) + { + return P_0.HalfExtents; + } + + static Vector3 _206D_202C_200C_202D_206B_200C_200B_206C_202C_202C_202B_206C_202B_200C_202D_206A_202B_202C_202D_200C_206E_202A_206D_206E_200B_206C_206F_200C_206D_200C_202D_206C_200D_206A_206D_206E_202C_206E_206D_202E(TriggerBox P_0) + { + return P_0.RotationRadians; + } + + static Vector3 _202E_202E_200B_202A_206D_200C_202C_206F_202E_202D_200B_202A_206C_202D_206C_200F_202A_206D_202C_202D_206E_206C_200D_202B_206E_202E_202D_200C_206F_200F_202D_200B_200C_200D_202B_206E_200E_202B_206B_206F_202E(TriggerBox P_0) + { + return P_0.Translation; + } + + static void _206F_206D_206C_202A_200C_206F_202C_206D_200B_206D_202E_200E_206C_206F_202B_200E_202B_200B_200B_202B_206F_206F_202C_206E_202A_206A_200B_206B_202E_202E_202D_206D_202D_200B_200F_206A_202D_202E_206E_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogTrace(P_1, P_2); + } + + static string _200D_200B_202E_206A_202B_200E_202E_206D_206E_200C_200E_202B_206B_200F_206A_200D_206E_206D_206D_200D_206B_200C_206A_200D_202C_202C_206B_202D_206A_202B_202B_206A_200C_206A_202B_206B_206E_206B_206F_200F_202E(string P_0, string P_1, string P_2) + { + return P_0 + P_1 + P_2; + } + + static void _200E_200E_200B_206E_206C_200C_200B_200E_206E_206D_200D_200D_200C_206F_202B_202C_206A_206A_202E_206F_202B_200D_200F_206B_200D_200D_206B_206B_202E_206F_202E_206A_200F_202B_202E_200F_206B_206E_202B_200C_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } +} diff --git a/SmartNav/SmartNav/RouteResult.cs b/SmartNav/SmartNav/RouteResult.cs new file mode 100644 index 00000000..f252a4e8 --- /dev/null +++ b/SmartNav/SmartNav/RouteResult.cs @@ -0,0 +1,156 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; + +namespace SmartNav; + +public sealed record RouteResult(IReadOnlyList Segments, float TotalTimeCost, int TotalGilCost) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _202A_202E_200E_206E_206D_200C_200B_206A_200D_206B_200F_200C_200C_202B_202E_202D_200B_200E_202A_206F_200F_202D_202A_202C_202A_200C_206C_206A_200C_206C_206B_200D_200E_202E_202A_206F_200C_202D_200B_202C_202E(typeof(RouteResult).TypeHandle); + } + } + + public static readonly RouteResult Empty = new RouteResult(Array.Empty(), 0f, 0); + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _202A_206D_202D_200B_202E_202E_202D_206C_200C_200E_206D_200E_206D_202C_200B_202B_206A_202C_206F_206A_206E_206C_202D_200D_200C_200F_206D_200C_202C_202B_202A_200B_206A_202E_206E_202C_200D_206B_200C_206E_202E(); + _202A_206B_202A_200E_206D_202B_202E_202D_206F_200D_206F_202A_206E_202D_202E_200D_206F_206F_202E_200F_200E_202B_200F_206C_202C_200C_202E_202E_202B_206D_206E_200E_206E_202E_202B_202D_200E_202D_200D_206D_202E(stringBuilder, global::_003CModule_003E._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(-577380167)); + _202A_206B_202A_200E_206D_202B_202E_202D_206F_200D_206F_202A_206E_202D_202E_200D_206F_206F_202E_200F_200E_202B_200F_206C_202C_200C_202E_202E_202B_206D_206E_200E_206E_202E_202B_202D_200E_202D_200D_206D_202E(stringBuilder, global::_003CModule_003E._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(1547267250)); + int num = ((!PrintMembers(stringBuilder)) ? (-6444735) : (-6444734)); + while (true) + { + int num2 = num; + int num3 = -6444733; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -6444734; + break; + case 2: + _202D_202C_200F_200E_206C_200D_206B_202A_200C_200B_206E_202A_200B_200D_202A_206C_200C_200C_202C_206C_202D_202B_206D_206A_202E_200C_200D_200F_200B_202A_206A_206D_202B_206F_200B_200F_202B_206F_206F_206A_202E(stringBuilder, '}'); + return _206C_200C_200C_202B_200C_200B_200B_200C_206B_200D_206A_206B_206A_206B_202D_206C_200C_206B_202E_200C_200E_206D_206B_202D_200F_202D_200F_202E_206C_206D_202E_206D_206E_206C_202D_206A_200D_200D_202E_202D_202E((object)stringBuilder); + case 1: + _202D_202C_200F_200E_206C_200D_206B_202A_200C_200B_206E_202A_200B_200D_202A_206C_200C_200C_202C_206C_202D_202B_206D_206A_202E_200C_200D_200F_200B_202A_206A_206D_202B_206F_200B_200F_202B_206F_206F_206A_202E(stringBuilder, ' '); + num = -6444735; + break; + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _202E_206B_202C_206E_202E_206C_206A_200F_200C_206A_200D_206D_202C_202C_202A_206B_200C_206A_206E_200C_200D_200C_202E_200E_200E_206E_202E_200F_206B_202A_206E_206D_206E_202A_202A_206C_202E_206D_200B_202B_202E(); + _202A_206B_202A_200E_206D_202B_202E_202D_206F_200D_206F_202A_206E_202D_202E_200D_206F_206F_202E_200F_200E_202B_200F_206C_202C_200C_202E_202E_202B_206D_206E_200E_206E_202E_202B_202D_200E_202D_200D_206D_202E(builder, global::_003CModule_003E._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(-1058882453)); + _200E_200E_206D_206A_206A_200B_206C_200B_200B_200B_206B_200C_206B_202C_200D_202A_206A_200C_200C_202B_202E_200B_202D_202A_206C_200C_202E_206C_202D_206A_202C_200C_206D_200C_200E_206B_200C_202D_206B_206D_202E(builder, (object)Segments); + _202A_206B_202A_200E_206D_202B_202E_202D_206F_200D_206F_202A_206E_202D_202E_200D_206F_206F_202E_200F_200E_202B_200F_206C_202C_200C_202E_202E_202B_206D_206E_200E_206E_202E_202B_202D_200E_202D_200D_206D_202E(builder, global::_003CModule_003E._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(-36131857)); + _202A_206B_202A_200E_206D_202B_202E_202D_206F_200D_206F_202A_206E_202D_202E_200D_206F_206F_202E_200F_200E_202B_200F_206C_202C_200C_202E_202E_202B_206D_206E_200E_206E_202E_202B_202D_200E_202D_200D_206D_202E(builder, TotalTimeCost.ToString()); + _202A_206B_202A_200E_206D_202B_202E_202D_206F_200D_206F_202A_206E_202D_202E_200D_206F_206F_202E_200F_200E_202B_200F_206C_202C_200C_202E_202E_202B_206D_206E_200E_206E_202E_202B_202D_200E_202D_200D_206D_202E(builder, global::_003CModule_003E._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(-169019911)); + _202A_206B_202A_200E_206D_202B_202E_202D_206F_200D_206F_202A_206E_202D_202E_200D_206F_206F_202E_200F_200E_202B_200F_206C_202C_200C_202E_202E_202B_206D_206E_200E_206E_202E_202B_202D_200E_202D_200D_206D_202E(builder, TotalGilCost.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(RouteResult? other) + { + int num = (((object)this == other) ? (-1895963469) : (-1895963465)); + while (true) + { + int num2 = num; + int num3 = -1895963466; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = -1895963465; + break; + case 6: + return EqualityComparer.Default.Equals(TotalGilCost, other.TotalGilCost); + case 4: + num = ((!_206F_200F_202B_206C_200B_202A_200E_202A_206F_200D_202B_202D_202B_200C_202B_202C_206C_206A_202C_206C_206D_200B_206F_200E_202D_202C_202D_200E_202A_202A_206E_206F_202E_200B_206B_206C_206D_206B_202E_200F_202E(EqualityContract, other.EqualityContract)) ? (-1895963467) : (-1895963466)); + break; + case 5: + return true; + case 7: + num = ((!EqualityComparer.Default.Equals(TotalTimeCost, other.TotalTimeCost)) ? (-1895963467) : (-1895963472)); + break; + case 0: + num = ((!EqualityComparer>.Default.Equals(Segments, other.Segments)) ? (-1895963467) : (-1895963471)); + break; + case 3: + return false; + case 1: + num = (((object)other == null) ? (-1895963467) : (-1895963470)); + break; + } + } + } + + bool IEquatable.Equals(RouteResult? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + [CompilerGenerated] + private RouteResult(RouteResult original) + { + Segments = original.Segments; + TotalTimeCost = original.TotalTimeCost; + TotalGilCost = original.TotalGilCost; + } + + static Type _202A_202E_200E_206E_206D_200C_200B_206A_200D_206B_200F_200C_200C_202B_202E_202D_200B_200E_202A_206F_200F_202D_202A_202C_202A_200C_206C_206A_200C_206C_206B_200D_200E_202E_202A_206F_200C_202D_200B_202C_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _202A_206D_202D_200B_202E_202E_202D_206C_200C_200E_206D_200E_206D_202C_200B_202B_206A_202C_206F_206A_206E_206C_202D_200D_200C_200F_206D_200C_202C_202B_202A_200B_206A_202E_206E_202C_200D_206B_200C_206E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202A_206B_202A_200E_206D_202B_202E_202D_206F_200D_206F_202A_206E_202D_202E_200D_206F_206F_202E_200F_200E_202B_200F_206C_202C_200C_202E_202E_202B_206D_206E_200E_206E_202E_202B_202D_200E_202D_200D_206D_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _202D_202C_200F_200E_206C_200D_206B_202A_200C_200B_206E_202A_200B_200D_202A_206C_200C_200C_202C_206C_202D_202B_206D_206A_202E_200C_200D_200F_200B_202A_206A_206D_202B_206F_200B_200F_202B_206F_206F_206A_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _206C_200C_200C_202B_200C_200B_200B_200C_206B_200D_206A_206B_206A_206B_202D_206C_200C_206B_202E_200C_200E_206D_206B_202D_200F_202D_200F_202E_206C_206D_202E_206D_206E_206C_202D_206A_200D_200D_202E_202D_202E(object P_0) + { + return P_0.ToString(); + } + + static void _202E_206B_202C_206E_202E_206C_206A_200F_200C_206A_200D_206D_202C_202C_202A_206B_200C_206A_206E_200C_200D_200C_202E_200E_200E_206E_202E_200F_206B_202A_206E_206D_206E_202A_202A_206C_202E_206D_200B_202B_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _200E_200E_206D_206A_206A_200B_206C_200B_200B_200B_206B_200C_206B_202C_200D_202A_206A_200C_200C_202B_202E_200B_202D_202A_206C_200C_202E_206C_202D_206A_202C_200C_206D_200C_200E_206B_200C_202D_206B_206D_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206F_200F_202B_206C_200B_202A_200E_202A_206F_200D_202B_202D_202B_200C_202B_202C_206C_206A_202C_206C_206D_200B_206F_200E_202D_202C_202D_200E_202A_202A_206E_206F_202E_200B_206B_206C_206D_206B_202E_200F_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/SmartNav/SmartNav/RouteSegment.cs b/SmartNav/SmartNav/RouteSegment.cs new file mode 100644 index 00000000..2fe35262 --- /dev/null +++ b/SmartNav/SmartNav/RouteSegment.cs @@ -0,0 +1,176 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Text; +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) +{ + [CompilerGenerated] + private Type EqualityContract + { + [CompilerGenerated] + get + { + return _206E_202B_206E_200F_200F_206A_202D_202C_200D_200C_200D_206E_206E_206D_206C_206A_206B_202D_202A_200B_200C_206F_200D_202E_206C_202A_200F_206A_202D_206A_200D_202D_200C_206B_206B_200C_202C_206B_206E_202A_202E(typeof(RouteSegment).TypeHandle); + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + public override string ToString() + { + StringBuilder stringBuilder = _206A_200B_206F_202E_202E_200B_200C_202A_202D_202C_202E_202C_202E_200E_200B_202B_200C_202D_202D_206E_206A_200B_206F_206B_200C_206C_200B_202C_200D_202C_206E_202E_202E_206B_206A_200E_206D_202D_202D_200E_202E(); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(stringBuilder, global::_003CModule_003E._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(604182264)); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(stringBuilder, global::_003CModule_003E._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(1886515922)); + int num = ((!PrintMembers(stringBuilder)) ? 113490331 : 113490328); + while (true) + { + int num2 = num; + int num3 = 113490330; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 113490328; + break; + case 2: + _200E_202D_206B_206F_206F_206F_200C_202E_202D_200F_206B_202B_200D_206E_202C_202B_206F_206F_206F_200B_200D_200D_200F_202D_206F_200C_202A_200F_200B_206B_202A_202A_202C_200F_202A_200D_206A_202D_200D_202D_202E(stringBuilder, ' '); + num = 113490331; + break; + case 1: + _200E_202D_206B_206F_206F_206F_200C_202E_202D_200F_206B_202B_200D_206E_202C_202B_206F_206F_206F_200B_200D_200D_200F_202D_206F_200C_202A_200F_200B_206B_202A_202A_202C_200F_202A_200D_206A_202D_200D_202D_202E(stringBuilder, '}'); + return _202C_206B_202C_202D_202A_206E_206C_202D_200D_206D_206F_202C_206C_206A_206D_200B_200F_202E_202B_202D_200D_200C_202C_202C_202E_206A_200D_206A_202B_202B_202C_202A_206A_206E_202E_200D_202D_200B_200F_202A_202E((object)stringBuilder); + } + } + } + + [MethodImpl(MethodImplOptions.NoInlining)] + [CompilerGenerated] + private bool PrintMembers(StringBuilder builder) + { + _200E_206C_206D_200D_206C_200B_202C_202C_206A_200B_200D_206B_206D_206D_202C_206B_206F_200D_200F_206D_206D_202A_200F_202B_200C_202B_202C_206B_206B_200B_202B_202C_202B_202A_200D_200F_200F_200E_202D_206E_202E(); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, global::_003CModule_003E._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(-1357100031)); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, EdgeType.ToString()); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, global::_003CModule_003E._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(-813710077)); + _206D_202D_202D_206E_200B_200F_200C_200D_202A_200B_200C_206A_200F_202C_200E_206E_200F_200C_202E_200E_206D_202E_200B_206B_206B_200D_206D_202D_200C_206D_206B_206E_200C_202A_206E_206F_206F_200D_202E_200C_202E(builder, (object)From); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, global::_003CModule_003E._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(-865901425)); + _206D_202D_202D_206E_200B_200F_200C_200D_202A_200B_200C_206A_200F_202C_200E_206E_200F_200C_202E_200E_206D_202E_200B_206B_206B_200D_206D_202D_200C_206D_206B_206E_200C_202A_206E_206F_206F_200D_202E_200C_202E(builder, (object)To); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, global::_003CModule_003E._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(1456359759)); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, TimeCost.ToString()); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, global::_003CModule_003E._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(777403998)); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, GilCost.ToString()); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, global::_003CModule_003E._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(1828871146)); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, TeleportTarget.ToString()); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, global::_003CModule_003E._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(448663852)); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, AethernetFrom.ToString()); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, global::_003CModule_003E._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(-874714194)); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, AethernetTo.ToString()); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, global::_003CModule_003E._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(-1888043309)); + _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(builder, Fly.ToString()); + return true; + } + + [CompilerGenerated] + public bool Equals(RouteSegment? other) + { + int num = (((object)this == other) ? 128949533 : 128949523); + while (true) + { + int num2 = num; + int num3 = 128949535; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 5: + num = 128949523; + break; + case 2: + return true; + case 10: + num = ((!EqualityComparer.Default.Equals(TimeCost, other.TimeCost)) ? 128949534 : 128949527); + break; + case 8: + num = ((!EqualityComparer.Default.Equals(GilCost, other.GilCost)) ? 128949534 : 128949535); + break; + case 12: + num = (((object)other == null) ? 128949534 : 128949526); + break; + case 4: + num = ((!EqualityComparer.Default.Equals(AethernetFrom, other.AethernetFrom)) ? 128949534 : 128949522); + break; + case 3: + num = ((!EqualityComparer.Default.Equals(EdgeType, other.EdgeType)) ? 128949534 : 128949528); + break; + case 1: + return false; + case 0: + num = ((!EqualityComparer.Default.Equals(TeleportTarget, other.TeleportTarget)) ? 128949534 : 128949531); + break; + case 6: + num = ((!EqualityComparer.Default.Equals(To, other.To)) ? 128949534 : 128949525); + break; + case 7: + num = ((!EqualityComparer.Default.Equals(From, other.From)) ? 128949534 : 128949529); + break; + case 11: + return EqualityComparer.Default.Equals(Fly, other.Fly); + case 13: + num = ((!EqualityComparer.Default.Equals(AethernetTo, other.AethernetTo)) ? 128949534 : 128949524); + break; + case 9: + num = ((!_206C_200B_200C_206F_206A_202A_202E_200B_202C_200B_200B_206D_202E_206E_206A_202E_206C_200B_200B_200C_202E_202B_206B_206F_206B_206B_200F_206C_206C_206F_206A_206A_206A_200E_206C_200C_200E_200C_202E_202E_202E(EqualityContract, other.EqualityContract)) ? 128949534 : 128949532); + break; + } + } + } + + bool IEquatable.Equals(RouteSegment? other) + { + //ILSpy generated this explicit interface implementation from .override directive in Equals + return this.Equals(other); + } + + static Type _206E_202B_206E_200F_200F_206A_202D_202C_200D_200C_200D_206E_206E_206D_206C_206A_206B_202D_202A_200B_200C_206F_200D_202E_206C_202A_200F_206A_202D_206A_200D_202D_200C_206B_206B_200C_202C_206B_206E_202A_202E(RuntimeTypeHandle P_0) + { + return Type.GetTypeFromHandle(P_0); + } + + static StringBuilder _206A_200B_206F_202E_202E_200B_200C_202A_202D_202C_202E_202C_202E_200E_200B_202B_200C_202D_202D_206E_206A_200B_206F_206B_200C_206C_200B_202C_200D_202C_206E_202E_202E_206B_206A_200E_206D_202D_202D_200E_202E() + { + return new StringBuilder(); + } + + static StringBuilder _202C_200D_200D_206F_200E_202D_202E_200F_202E_202D_206E_202C_202B_200F_202B_200F_206D_202D_202D_200E_202A_206E_206D_206E_202A_202A_202E_200E_202C_200D_200B_206B_200E_200C_206B_200F_200F_202A_206E_206B_202E(StringBuilder P_0, string P_1) + { + return P_0.Append(P_1); + } + + static StringBuilder _200E_202D_206B_206F_206F_206F_200C_202E_202D_200F_206B_202B_200D_206E_202C_202B_206F_206F_206F_200B_200D_200D_200F_202D_206F_200C_202A_200F_200B_206B_202A_202A_202C_200F_202A_200D_206A_202D_200D_202D_202E(StringBuilder P_0, char P_1) + { + return P_0.Append(P_1); + } + + static string _202C_206B_202C_202D_202A_206E_206C_202D_200D_206D_206F_202C_206C_206A_206D_200B_200F_202E_202B_202D_200D_200C_202C_202C_202E_206A_200D_206A_202B_202B_202C_202A_206A_206E_202E_200D_202D_200B_200F_202A_202E(object P_0) + { + return P_0.ToString(); + } + + static void _200E_206C_206D_200D_206C_200B_202C_202C_206A_200B_200D_206B_206D_206D_202C_206B_206F_200D_200F_206D_206D_202A_200F_202B_200C_202B_202C_206B_206B_200B_202B_202C_202B_202A_200D_200F_200F_200E_202D_206E_202E() + { + RuntimeHelpers.EnsureSufficientExecutionStack(); + } + + static StringBuilder _206D_202D_202D_206E_200B_200F_200C_200D_202A_200B_200C_206A_200F_202C_200E_206E_200F_200C_202E_200E_206D_202E_200B_206B_206B_200D_206D_202D_200C_206D_206B_206E_200C_202A_206E_206F_206F_200D_202E_200C_202E(StringBuilder P_0, object P_1) + { + return P_0.Append(P_1); + } + + static bool _206C_200B_200C_206F_206A_202A_202E_200B_202C_200B_200B_206D_202E_206E_206A_202E_206C_200B_200B_200C_202E_202B_206B_206F_206B_206B_200F_206C_206C_206F_206A_206A_206A_200E_206C_200C_200E_200C_202E_202E_202E(Type P_0, Type P_1) + { + return P_0 == P_1; + } +} diff --git a/SmartNav/SmartNav/WarpFailureTracker.cs b/SmartNav/SmartNav/WarpFailureTracker.cs new file mode 100644 index 00000000..5522114c --- /dev/null +++ b/SmartNav/SmartNav/WarpFailureTracker.cs @@ -0,0 +1,234 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Threading; +using Microsoft.Extensions.Logging; + +namespace SmartNav; + +public sealed class WarpFailureTracker(ILogger logger) +{ + private const int BlacklistThreshold = 3; + + private readonly object _gate = _202B_206F_206C_202E_206C_200B_206F_206A_206D_200E_200D_200B_200C_200B_200C_206D_206F_202A_200E_206A_200F_206A_206B_200F_206F_200D_202B_206C_206F_200E_206D_206F_202E_200C_200B_206C_202D_200F_200F_200C_202E(); + + private readonly Dictionary _consecutiveFailures = new Dictionary(); + + private readonly HashSet _blacklisted = new HashSet(); + + [MethodImpl(MethodImplOptions.NoInlining)] + public bool RecordAttempt(uint warpRowId) + { + object gate = _gate; + bool flag = false; + try + { + _206C_200C_200F_206A_202B_200C_206B_206C_202E_202A_206F_206C_200E_200B_202C_206C_206A_200D_202C_202E_206F_202E_202C_200C_206B_206C_206A_202E_206C_206B_206A_206D_200F_200D_202E_206A_200F_200E_206D_200E_202E(gate, ref flag); + int num = ((!_blacklisted.Contains(warpRowId)) ? (-1875615629) : (-1875615627)); + int num7 = default(int); + while (true) + { + int num2 = num; + int num3 = -1875615625; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 0: + num = -1875615627; + break; + case 4: + num7 = _consecutiveFailures.GetValueOrDefault(warpRowId) + 1; + _consecutiveFailures[warpRowId] = num7; + num = ((num7 >= 3) ? (-1875615628) : (-1875615626)); + break; + case 1: + return false; + case 2: + return false; + case 3: + _blacklisted.Add(warpRowId); + _202B_202C_206C_206E_206E_200F_200F_206F_202A_206D_206D_206B_206C_206C_200D_206A_202C_206F_206F_206F_200D_200B_200B_200B_206C_202E_206C_202A_202C_200F_200F_200C_206E_200E_202C_200E_200C_202C_200C_202A_202E((ILogger)logger, global::_003CModule_003E._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(1267719469), new object[2] { warpRowId, num7 }); + return true; + } + } + } + finally + { + int num = ((!flag) ? (-1114779348) : (-1114779345)); + while (true) + { + int num8 = num; + int num3 = -1114779347; + int num4 = num8; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -1114779345; + break; + case 1: + goto end_IL_013c; + case 2: + _206C_200E_200B_202C_202A_200C_206E_206A_206E_206D_202B_202E_200C_202D_202E_200D_202A_202C_202E_200E_202C_206E_206D_202E_206F_202B_206B_200B_202E_202E_206C_202A_202B_206C_206F_202C_202E_206F_206E_202A_202E(gate); + num = -1114779348; + break; + } + continue; + end_IL_013c: + break; + } + } + } + + public void RecordSuccess(uint warpRowId) + { + object gate = _gate; + bool flag = false; + try + { + _206C_200C_200F_206A_202B_200C_206B_206C_202E_202A_206F_206C_200E_200B_202C_206C_206A_200D_202C_202E_206F_202E_202C_200C_206B_206C_206A_202E_206C_206B_206A_206D_200F_200D_202E_206A_200F_200E_206D_200E_202E(gate, ref flag); + _consecutiveFailures.Remove(warpRowId); + _blacklisted.Remove(warpRowId); + } + finally + { + int num = ((!flag) ? 903611662 : 903611663); + while (true) + { + int num2 = num; + int num3 = 903611662; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 2: + num = 903611663; + break; + case 1: + _206C_200E_200B_202C_202A_200C_206E_206A_206E_206D_202B_202E_200C_202D_202E_200D_202A_202C_202E_200E_202C_206E_206D_202E_206F_202B_206B_200B_202E_202E_206C_202A_202B_206C_206F_202C_202E_206F_206E_202A_202E(gate); + num = 903611662; + break; + case 0: + goto end_IL_004c; + } + continue; + end_IL_004c: + break; + } + } + } + + public bool IsBlacklisted(uint warpRowId) + { + object gate = _gate; + bool flag = false; + try + { + _206C_200C_200F_206A_202B_200C_206B_206C_202E_202A_206F_206C_200E_200B_202C_206C_206A_200D_202C_202E_206F_202E_202C_200C_206B_206C_206A_202E_206C_206B_206A_206D_200F_200D_202E_206A_200F_200E_206D_200E_202E(gate, ref flag); + return _blacklisted.Contains(warpRowId); + } + finally + { + int num = ((!flag) ? (-120992941) : (-120992944)); + while (true) + { + int num2 = num; + int num3 = -120992943; + int num4 = num2; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = -120992944; + break; + case 1: + _206C_200E_200B_202C_202A_200C_206E_206A_206E_206D_202B_202E_200C_202D_202E_200D_202A_202C_202E_200E_202C_206E_206D_202E_206F_202B_206B_200B_202E_202E_206C_202A_202B_206C_206F_202C_202E_206F_206E_202A_202E(gate); + num = -120992941; + break; + case 2: + goto end_IL_003f; + } + continue; + end_IL_003f: + break; + } + } + } + + public void Reset() + { + object gate = _gate; + bool flag = false; + try + { + _206C_200C_200F_206A_202B_200C_206B_206C_202E_202A_206F_206C_200E_200B_202C_206C_206A_200D_202C_202E_206F_202E_202C_200C_206B_206C_206A_202E_206C_206B_206A_206D_200F_200D_202E_206A_200F_200E_206D_200E_202E(gate, ref flag); + int num = ((_consecutiveFailures.Count != 0) ? 1048906019 : 1048906018); + while (true) + { + int num2 = num; + int num3 = 1048906019; + int num4 = num2; + int num5 = num4 + num3; + int num6 = num4 & num3; + switch (num5 - (num6 + num6)) + { + case 2: + num = 1048906018; + break; + case 1: + num = ((_blacklisted.Count != 0) ? 1048906019 : 1048906016); + break; + case 3: + return; + case 0: + _consecutiveFailures.Clear(); + _blacklisted.Clear(); + return; + } + } + } + finally + { + int num = ((!flag) ? 1457557147 : 1457557144); + while (true) + { + int num7 = num; + int num3 = 1457557146; + int num4 = num7; + switch ((num4 | num3) - (num4 & num3)) + { + case 0: + num = 1457557144; + break; + case 1: + goto end_IL_00dd; + case 2: + _206C_200E_200B_202C_202A_200C_206E_206A_206E_206D_202B_202E_200C_202D_202E_200D_202A_202C_202E_200E_202C_206E_206D_202E_206F_202B_206B_200B_202E_202E_206C_202A_202B_206C_206F_202C_202E_206F_206E_202A_202E(gate); + num = 1457557147; + break; + } + continue; + end_IL_00dd: + break; + } + } + } + + static object _202B_206F_206C_202E_206C_200B_206F_206A_206D_200E_200D_200B_200C_200B_200C_206D_206F_202A_200E_206A_200F_206A_206B_200F_206F_200D_202B_206C_206F_200E_206D_206F_202E_200C_200B_206C_202D_200F_200F_200C_202E() + { + return new object(); + } + + static void _206C_200C_200F_206A_202B_200C_206B_206C_202E_202A_206F_206C_200E_200B_202C_206C_206A_200D_202C_202E_206F_202E_202C_200C_206B_206C_206A_202E_206C_206B_206A_206D_200F_200D_202E_206A_200F_200E_206D_200E_202E(object P_0, ref bool P_1) + { + Monitor.Enter(P_0, ref P_1); + } + + static void _202B_202C_206C_206E_206E_200F_200F_206F_202A_206D_206D_206B_206C_206C_200D_206A_202C_206F_206F_206F_200D_200B_200B_200B_206C_202E_206C_202A_202C_200F_200F_200C_206E_200E_202C_200E_200C_202C_200C_202A_202E(ILogger P_0, string P_1, object[] P_2) + { + P_0.LogWarning(P_1, P_2); + } + + static void _206C_200E_200B_202C_202A_200C_206E_206A_206E_206D_202B_202E_200C_202D_202E_200D_202A_202C_202E_200E_202C_206E_206D_202E_206F_202B_206B_200B_202E_202E_206C_202A_202B_206C_206F_202C_202E_206F_206E_202A_202E(object P_0) + { + Monitor.Exit(P_0); + } +}